Globus SDK for JavaScript
    Preparing search index...
    • Create a Globus Connect Server Manager client. This client is used to create a SDK context that is bound to a specific Globus Connect Server.

      Parameters

      Returns {
          collections: {
              create: (
                  ...args: [
                      options: {
                          payload: | {
                              allow_guest_collections?: boolean;
                              authentication_timeout_mins?: number;
                              collection_base_path: string;
                              collection_type: "mapped"
                              | "guest";
                              connector_id?: string;
                              contact_email?: string | null;
                              contact_info?: string | null;
                              DATA_TYPE: "collection#1.0.0";
                              default_directory?: string;
                              deleted?: boolean;
                              department?: string | null;
                              description?: string | null;
                              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?: string | null;
                              keywords?: (...)[];
                              manager_url?: string;
                              mapped_collection_id?: string;
                              organization?: string;
                              policies?:
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ...; project?: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | {
                                      DATA_TYPE: ...;
                                      sharing_groups_allow?: ...;
                                      sharing_groups_deny?: ...;
                                  }
                                  | {
                                      DATA_TYPE: ...;
                                      sharing_groups_allow?: ...;
                                      sharing_groups_deny?: ...;
                                  };
                              public: boolean;
                              root_path?: string;
                              sharing_restrict_paths?: unknown;
                              storage_gateway_id?: string;
                              tlsftp_url?: string;
                              user_credential_id?: string;
                          }
                          | {
                              allow_guest_collections?: boolean;
                              authentication_timeout_mins?: number;
                              collection_base_path: string;
                              collection_type: "mapped"
                              | "guest";
                              connector_id?: string;
                              contact_email?: string | null;
                              contact_info?: string | null;
                              DATA_TYPE: "collection#1.1.0";
                              default_directory?: string;
                              deleted?: boolean;
                              department?: string | null;
                              description?: string | null;
                              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?: string | null;
                              keywords?: (...)[];
                              manager_url?: string;
                              mapped_collection_id?: string;
                              organization?: string;
                              policies?:
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ...; project?: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | {
                                      DATA_TYPE: ...;
                                      sharing_groups_allow?: ...;
                                      sharing_groups_deny?: ...;
                                  }
                                  | {
                                      DATA_TYPE: ...;
                                      sharing_groups_allow?: ...;
                                      sharing_groups_deny?: ...;
                                  };
                              public: boolean;
                              root_path?: string;
                              sharing_restrict_paths?: unknown;
                              storage_gateway_id?: string;
                              tlsftp_url?: string;
                              user_credential_id?: string;
                              user_message?: string
                              | null;
                              user_message_link?: string | null;
                          }
                          | {
                              allow_guest_collections?: boolean;
                              authentication_timeout_mins?: number;
                              collection_base_path: string;
                              collection_type: "mapped"
                              | "guest";
                              connector_id?: string;
                              contact_email?: string | null;
                              contact_info?: string | null;
                              DATA_TYPE: "collection#1.2.0";
                              default_directory?: string;
                              deleted?: boolean;
                              department?: string | null;
                              description?: string | null;
                              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?: string | null;
                              keywords?: (...)[];
                              manager_url?: string;
                              mapped_collection_id?: string;
                              organization?: string;
                              policies?:
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ...; project?: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | {
                                      DATA_TYPE: ...;
                                      sharing_groups_allow?: ...;
                                      sharing_groups_deny?: ...;
                                  }
                                  | {
                                      DATA_TYPE: ...;
                                      sharing_groups_allow?: ...;
                                      sharing_groups_deny?: ...;
                                  };
                              public: boolean;
                              root_path?: string;
                              sharing_restrict_paths?: unknown;
                              sharing_users_allow?: (...)[]
                              | null;
                              sharing_users_deny?: (...)[] | null;
                              storage_gateway_id?: string;
                              tlsftp_url?: string;
                              user_credential_id?: string;
                              user_message?: string | null;
                              user_message_link?: string | null;
                          }
                          | {
                              allow_guest_collections?: boolean;
                              authentication_timeout_mins?: number;
                              collection_base_path: string;
                              collection_type: "mapped"
                              | "guest";
                              connector_id?: string;
                              contact_email?: string | null;
                              contact_info?: string | null;
                              DATA_TYPE: "collection#1.3.0";
                              default_directory?: string;
                              deleted?: boolean;
                              department?: string | null;
                              description?: string | null;
                              disable_verify?: boolean;
                              display_name: string;
                              domain?: {
                                  certificate?: ...;
                                  certificate_chain?: ...;
                                  certificate_chain_path?: ...;
                                  certificate_path?: ...;
                                  DATA_TYPE: ...;
                                  domain_name: ...;
                                  private_key?: ...;
                                  private_key_path?: ...;
                                  wildcard: ...;
                              };
                              domain_name?: string;
                              enable_https?: boolean;
                              force_encryption?: boolean;
                              high_assurance?: boolean;
                              https_url?: string;
                              id?: string;
                              identity_id?: string;
                              info_link?: string
                              | null;
                              keywords?: (...)[];
                              manager_url?: string;
                              mapped_collection_id?: string;
                              organization?: string;
                              policies?:
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ...; project?: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | {
                                      DATA_TYPE: ...;
                                      sharing_groups_allow?: ...;
                                      sharing_groups_deny?: ...;
                                  }
                                  | {
                                      DATA_TYPE: ...;
                                      sharing_groups_allow?: ...;
                                      sharing_groups_deny?: ...;
                                  };
                              public: boolean;
                              root_path?: string;
                              sharing_restrict_paths?: unknown;
                              sharing_users_allow?: (...)[]
                              | null;
                              sharing_users_deny?: (...)[] | null;
                              storage_gateway_id?: string;
                              tlsftp_url?: string;
                              user_credential_id?: string;
                              user_message?: string | null;
                              user_message_link?: string | null;
                          }
                          | {
                              allow_guest_collections?: boolean;
                              authentication_timeout_mins?: number;
                              collection_base_path: string;
                              collection_type: "mapped"
                              | "guest";
                              connector_id?: string;
                              contact_email?: string | null;
                              contact_info?: string | null;
                              DATA_TYPE: "collection#1.4.0";
                              default_directory?: string;
                              deleted?: boolean;
                              department?: string | null;
                              description?: string | null;
                              disable_verify?: boolean;
                              display_name: string;
                              domain?: {
                                  certificate?: ...;
                                  certificate_chain?: ...;
                                  certificate_chain_path?: ...;
                                  certificate_path?: ...;
                                  DATA_TYPE: ...;
                                  domain_name: ...;
                                  private_key?: ...;
                                  private_key_path?: ...;
                                  wildcard: ...;
                              };
                              domain_name?: string;
                              enable_https?: boolean;
                              force_encryption?: boolean;
                              force_verify?: boolean;
                              high_assurance?: boolean;
                              https_url?: string;
                              id?: string;
                              identity_id?: string;
                              info_link?: string
                              | null;
                              keywords?: (...)[];
                              manager_url?: string;
                              mapped_collection_id?: string;
                              organization?: string;
                              policies?:
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ...; project?: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | {
                                      DATA_TYPE: ...;
                                      sharing_groups_allow?: ...;
                                      sharing_groups_deny?: ...;
                                  }
                                  | {
                                      DATA_TYPE: ...;
                                      sharing_groups_allow?: ...;
                                      sharing_groups_deny?: ...;
                                  };
                              public: boolean;
                              require_mfa?: boolean;
                              root_path?: string;
                              sharing_restrict_paths?: unknown;
                              sharing_users_allow?: (...)[]
                              | null;
                              sharing_users_deny?: (...)[] | null;
                              storage_gateway_id?: string;
                              tlsftp_url?: string;
                              user_credential_id?: string;
                              user_message?: string | null;
                              user_message_link?: string | null;
                          }
                          | {
                              allow_guest_collections?: boolean;
                              authentication_timeout_mins?: number;
                              collection_base_path: string;
                              collection_type: "mapped"
                              | "guest";
                              connector_id?: string;
                              contact_email?: string | null;
                              contact_info?: string | null;
                              DATA_TYPE: "collection#1.5.0";
                              default_directory?: string;
                              deleted?: boolean;
                              department?: string | null;
                              description?: string | null;
                              disable_anonymous_writes?: boolean;
                              disable_verify?: boolean;
                              display_name: string;
                              domain?: {
                                  certificate?: ...;
                                  certificate_chain?: ...;
                                  certificate_chain_path?: ...;
                                  certificate_path?: ...;
                                  DATA_TYPE: ...;
                                  domain_name: ...;
                                  private_key?: ...;
                                  private_key_path?: ...;
                                  wildcard: ...;
                              };
                              domain_name?: string;
                              enable_https?: boolean;
                              force_encryption?: boolean;
                              force_verify?: boolean;
                              high_assurance?: boolean;
                              https_url?: string;
                              id?: string;
                              identity_id?: string;
                              info_link?: string
                              | null;
                              keywords?: (...)[];
                              manager_url?: string;
                              mapped_collection_id?: string;
                              organization?: string;
                              policies?:
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ...; project?: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | {
                                      DATA_TYPE: ...;
                                      sharing_groups_allow?: ...;
                                      sharing_groups_deny?: ...;
                                  }
                                  | {
                                      DATA_TYPE: ...;
                                      sharing_groups_allow?: ...;
                                      sharing_groups_deny?: ...;
                                  };
                              public: boolean;
                              require_mfa?: boolean;
                              root_path?: string;
                              sharing_restrict_paths?: unknown;
                              sharing_users_allow?: (...)[]
                              | null;
                              sharing_users_deny?: (...)[] | null;
                              storage_gateway_id?: string;
                              tlsftp_url?: string;
                              user_credential_id?: string;
                              user_message?: string | null;
                              user_message_link?: string | null;
                          }
                          | {
                              allow_guest_collections?: boolean;
                              authentication_timeout_mins?: number;
                              collection_base_path: string;
                              collection_type: "mapped"
                              | "guest";
                              connector_id?: string;
                              contact_email?: string | null;
                              contact_info?: string | null;
                              DATA_TYPE: "collection#1.6.0";
                              default_directory?: string;
                              deleted?: boolean;
                              department?: string | null;
                              description?: string | null;
                              disable_anonymous_writes?: boolean;
                              disable_verify?: boolean;
                              display_name: string;
                              domain?: {
                                  certificate?: ...;
                                  certificate_chain?: ...;
                                  certificate_chain_path?: ...;
                                  certificate_path?: ...;
                                  DATA_TYPE: ...;
                                  domain_name: ...;
                                  private_key?: ...;
                                  private_key_path?: ...;
                                  wildcard: ...;
                              };
                              domain_name?: string;
                              enable_https?: boolean;
                              force_encryption?: boolean;
                              force_verify?: boolean;
                              guest_auth_policy_id?: string
                              | null;
                              high_assurance?: boolean;
                              https_url?: string;
                              id?: string;
                              identity_id?: string;
                              info_link?: string | null;
                              keywords?: (...)[];
                              manager_url?: string;
                              mapped_collection_id?: string;
                              organization?: string;
                              policies?:
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ...; project?: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | {
                                      DATA_TYPE: ...;
                                      sharing_groups_allow?: ...;
                                      sharing_groups_deny?: ...;
                                  }
                                  | {
                                      DATA_TYPE: ...;
                                      sharing_groups_allow?: ...;
                                      sharing_groups_deny?: ...;
                                  };
                              public: boolean;
                              require_mfa?: boolean;
                              root_path?: string;
                              sharing_restrict_paths?: unknown;
                              sharing_users_allow?: (...)[]
                              | null;
                              sharing_users_deny?: (...)[] | null;
                              storage_gateway_id?: string;
                              tlsftp_url?: string;
                              user_credential_id?: string;
                              user_message?: string | null;
                              user_message_link?: string | null;
                          }
                          | {
                              allow_guest_collections?: boolean;
                              authentication_timeout_mins?: number;
                              collection_base_path: string;
                              collection_type: "mapped"
                              | "guest";
                              connector_id?: string;
                              contact_email?: string | null;
                              contact_info?: string | null;
                              DATA_TYPE: "collection#1.7.0";
                              default_directory?: string;
                              deleted?: boolean;
                              department?: string | null;
                              description?: string | null;
                              disable_anonymous_writes?: boolean;
                              disable_verify?: boolean;
                              display_name: string;
                              domain?: {
                                  certificate?: ...;
                                  certificate_chain?: ...;
                                  certificate_chain_path?: ...;
                                  certificate_path?: ...;
                                  DATA_TYPE: ...;
                                  domain_name: ...;
                                  private_key?: ...;
                                  private_key_path?: ...;
                                  wildcard: ...;
                              };
                              domain_name?: string;
                              enable_https?: boolean;
                              force_encryption?: boolean;
                              force_verify?: boolean;
                              guest_auth_policy_id?: string
                              | null;
                              high_assurance?: boolean;
                              https_url?: string;
                              id?: string;
                              identity_id?: string;
                              info_link?: string | null;
                              keywords?: (...)[];
                              manager_url?: string;
                              mapped_collection_id?: string;
                              organization?: string;
                              policies?:
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ...; project?: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | {
                                      DATA_TYPE: ...;
                                      sharing_groups_allow?: ...;
                                      sharing_groups_deny?: ...;
                                  }
                                  | {
                                      DATA_TYPE: ...;
                                      sharing_groups_allow?: ...;
                                      sharing_groups_deny?: ...;
                                  };
                              public: boolean;
                              require_mfa?: boolean;
                              root_path?: string;
                              sharing_restrict_paths?: unknown;
                              sharing_users_allow?: (...)[]
                              | null;
                              sharing_users_deny?: (...)[] | null;
                              storage_gateway_id?: string;
                              tlsftp_url?: string;
                              user_credential_id?: string;
                              user_message?: string | null;
                              user_message_link?: string | null;
                          }
                          | {
                              allow_guest_collections?: boolean;
                              authentication_timeout_mins?: number;
                              collection_base_path: string;
                              collection_type: "mapped"
                              | "guest";
                              connector_id?: string;
                              contact_email?: string | null;
                              contact_info?: string | null;
                              DATA_TYPE: "collection#1.8.0";
                              default_directory?: string;
                              delete_protected?: boolean;
                              deleted?: boolean;
                              department?: string | null;
                              description?: string | null;
                              disable_anonymous_writes?: boolean;
                              disable_verify?: boolean;
                              display_name: string;
                              domain?: {
                                  certificate?: ...;
                                  certificate_chain?: ...;
                                  certificate_chain_path?: ...;
                                  certificate_path?: ...;
                                  DATA_TYPE: ...;
                                  domain_name: ...;
                                  private_key?: ...;
                                  private_key_path?: ...;
                                  wildcard: ...;
                              };
                              domain_name?: string;
                              enable_https?: boolean;
                              force_encryption?: boolean;
                              force_verify?: boolean;
                              guest_auth_policy_id?: string
                              | null;
                              high_assurance?: boolean;
                              https_url?: string;
                              id?: string;
                              identity_id?: string;
                              info_link?: string | null;
                              keywords?: (...)[];
                              manager_url?: string;
                              mapped_collection_id?: string;
                              organization?: string;
                              policies?:
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ...; project?: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | {
                                      DATA_TYPE: ...;
                                      sharing_groups_allow?: ...;
                                      sharing_groups_deny?: ...;
                                  }
                                  | {
                                      DATA_TYPE: ...;
                                      sharing_groups_allow?: ...;
                                      sharing_groups_deny?: ...;
                                  };
                              public: boolean;
                              require_mfa?: boolean;
                              root_path?: string;
                              sharing_restrict_paths?: unknown;
                              sharing_users_allow?: (...)[]
                              | null;
                              sharing_users_deny?: (...)[] | null;
                              storage_gateway_id?: string;
                              tlsftp_url?: string;
                              user_credential_id?: string;
                              user_message?: string | null;
                              user_message_link?: string | null;
                          }
                          | {
                              allow_guest_collections?: boolean;
                              authentication_timeout_mins?: number;
                              collection_base_path: string;
                              collection_type: "mapped"
                              | "guest";
                              connector_id?: string;
                              contact_email?: string | null;
                              contact_info?: string | null;
                              created_at?: string | null;
                              DATA_TYPE: "collection#1.9.0";
                              default_directory?: string;
                              delete_protected?: boolean;
                              deleted?: boolean;
                              department?: string | null;
                              description?: string | null;
                              disable_anonymous_writes?: boolean;
                              disable_verify?: boolean;
                              display_name: string;
                              domain?: {
                                  certificate?: ...;
                                  certificate_chain?: ...;
                                  certificate_chain_path?: ...;
                                  certificate_path?: ...;
                                  DATA_TYPE: ...;
                                  domain_name: ...;
                                  private_key?: ...;
                                  private_key_path?: ...;
                                  wildcard: ...;
                              };
                              domain_name?: string;
                              enable_https?: boolean;
                              force_encryption?: boolean;
                              force_verify?: boolean;
                              guest_auth_policy_id?: string
                              | null;
                              high_assurance?: boolean;
                              https_url?: string;
                              id?: string;
                              identity_id?: string;
                              info_link?: string | null;
                              keywords?: (...)[];
                              last_access?: string | null;
                              manager_url?: string;
                              mapped_collection_id?: string;
                              organization?: string;
                              policies?:
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ...; project?: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | {
                                      DATA_TYPE: ...;
                                      sharing_groups_allow?: ...;
                                      sharing_groups_deny?: ...;
                                  }
                                  | {
                                      DATA_TYPE: ...;
                                      sharing_groups_allow?: ...;
                                      sharing_groups_deny?: ...;
                                  };
                              public: boolean;
                              require_mfa?: boolean;
                              root_path?: string;
                              sharing_restrict_paths?: unknown;
                              sharing_users_allow?: (...)[]
                              | null;
                              sharing_users_deny?: (...)[] | null;
                              storage_gateway_id?: string;
                              tlsftp_url?: string;
                              user_credential_id?: string;
                              user_message?: string | null;
                              user_message_link?: string | null;
                          }
                          | {
                              acl_expiration_mins?: number
                              | null;
                              allow_guest_collections?: boolean;
                              authentication_timeout_mins?: number;
                              collection_base_path: string;
                              collection_type: "mapped" | "guest";
                              connector_id?: string;
                              contact_email?: string | null;
                              contact_info?: string | null;
                              created_at?: string | null;
                              DATA_TYPE: "collection#1.10.0";
                              default_directory?: string;
                              delete_protected?: boolean;
                              deleted?: boolean;
                              department?: string | null;
                              description?: string | null;
                              disable_anonymous_writes?: boolean;
                              disable_verify?: boolean;
                              display_name: string;
                              domain?: {
                                  certificate?: ...;
                                  certificate_chain?: ...;
                                  certificate_chain_path?: ...;
                                  certificate_path?: ...;
                                  DATA_TYPE: ...;
                                  domain_name: ...;
                                  private_key?: ...;
                                  private_key_path?: ...;
                                  wildcard: ...;
                              };
                              domain_name?: string;
                              enable_https?: boolean;
                              force_encryption?: boolean;
                              force_verify?: boolean;
                              guest_auth_policy_id?: string
                              | null;
                              high_assurance?: boolean;
                              https_url?: string;
                              id?: string;
                              identity_id?: string;
                              info_link?: string | null;
                              keywords?: (...)[];
                              last_access?: string | null;
                              manager_url?: string;
                              mapped_collection_id?: string;
                              organization?: string;
                              policies?:
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ...; project?: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | {
                                      DATA_TYPE: ...;
                                      sharing_groups_allow?: ...;
                                      sharing_groups_deny?: ...;
                                  }
                                  | {
                                      DATA_TYPE: ...;
                                      sharing_groups_allow?: ...;
                                      sharing_groups_deny?: ...;
                                  };
                              public: boolean;
                              require_mfa?: boolean;
                              root_path?: string;
                              sharing_restrict_paths?: unknown;
                              sharing_users_allow?: (...)[]
                              | null;
                              sharing_users_deny?: (...)[] | null;
                              storage_gateway_id?: string;
                              tlsftp_url?: string;
                              user_credential_id?: string;
                              user_message?: string | null;
                              user_message_link?: string | null;
                          }
                          | {
                              acl_expiration_mins?: number
                              | null;
                              allow_guest_collections?: boolean;
                              authentication_timeout_mins?: number;
                              collection_base_path: string;
                              collection_type: "mapped" | "guest";
                              connector_id?: string;
                              contact_email?: string | null;
                              contact_info?: string | null;
                              created_at?: string | null;
                              DATA_TYPE: "collection#1.11.0";
                              default_directory?: string;
                              delete_protected?: boolean;
                              deleted?: boolean;
                              department?: string | null;
                              description?: string | null;
                              disable_anonymous_writes?: boolean;
                              disable_verify?: boolean;
                              display_name: string;
                              domain?: {
                                  certificate?: ...;
                                  certificate_chain?: ...;
                                  certificate_chain_path?: ...;
                                  certificate_path?: ...;
                                  DATA_TYPE: ...;
                                  domain_name: ...;
                                  private_key?: ...;
                                  private_key_path?: ...;
                                  wildcard: ...;
                              };
                              domain_name?: string;
                              enable_https?: boolean;
                              force_encryption?: boolean;
                              force_verify?: boolean;
                              guest_auth_policy_id?: string
                              | null;
                              high_assurance?: boolean;
                              https_url?: string;
                              id?: string;
                              identity_id?: string;
                              info_link?: string | null;
                              keywords?: (...)[];
                              last_access?: string | null;
                              manager_url?: string;
                              mapped_collection_id?: string;
                              organization?: string;
                              policies?:
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ...; project?: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | {
                                      DATA_TYPE: ...;
                                      sharing_groups_allow?: ...;
                                      sharing_groups_deny?: ...;
                                  }
                                  | {
                                      DATA_TYPE: ...;
                                      sharing_groups_allow?: ...;
                                      sharing_groups_deny?: ...;
                                  };
                              public: boolean;
                              require_mfa?: boolean;
                              root_path?: string;
                              sharing_restrict_paths?: unknown;
                              sharing_users_allow?: (...)[]
                              | null;
                              sharing_users_deny?: (...)[] | null;
                              storage_gateway_id?: string;
                              tlsftp_url?: string;
                              user_credential_id?: string;
                              user_message?: string | null;
                              user_message_link?: string | null;
                          }
                          | {
                              acl_expiration_mins?: number
                              | null;
                              allow_guest_collections?: boolean;
                              authentication_timeout_mins?: number;
                              collection_base_path: string;
                              collection_type: "mapped" | "guest";
                              connector_id?: string;
                              contact_email?: string | null;
                              contact_info?: string | null;
                              created_at?: string | null;
                              DATA_TYPE: "collection#1.12.0";
                              default_directory?: string;
                              delete_protected?: boolean;
                              deleted?: boolean;
                              department?: string | null;
                              description?: string | null;
                              disable_anonymous_writes?: boolean;
                              disable_verify?: boolean;
                              display_name: string;
                              domain?: {
                                  certificate?: ...;
                                  certificate_chain?: ...;
                                  certificate_chain_path?: ...;
                                  certificate_path?: ...;
                                  DATA_TYPE: ...;
                                  domain_name: ...;
                                  private_key?: ...;
                                  private_key_path?: ...;
                                  wildcard: ...;
                              };
                              domain_name?: string;
                              enable_https?: boolean;
                              force_encryption?: boolean;
                              force_verify?: boolean;
                              guest_auth_policy_id?: string
                              | null;
                              high_assurance?: boolean;
                              https_url?: string;
                              id?: string;
                              identity_id?: string;
                              info_link?: string | null;
                              keywords?: (...)[];
                              last_access?: string | null;
                              manager_url?: string;
                              mapped_collection_id?: string;
                              organization?: string;
                              policies?:
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ...; project?: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | {
                                      DATA_TYPE: ...;
                                      sharing_groups_allow?: ...;
                                      sharing_groups_deny?: ...;
                                  }
                                  | {
                                      DATA_TYPE: ...;
                                      sharing_groups_allow?: ...;
                                      sharing_groups_deny?: ...;
                                  };
                              public: boolean;
                              require_mfa?: boolean;
                              restrict_transfers_to_high_assurance?: | "inbound"
                              | "outbound"
                              | "all"
                              | null;
                              root_path?: string;
                              sharing_restrict_paths?: unknown;
                              sharing_users_allow?: (...)[]
                              | null;
                              sharing_users_deny?: (...)[] | null;
                              storage_gateway_id?: string;
                              tlsftp_url?: string;
                              user_credential_id?: string;
                              user_message?: string | null;
                              user_message_link?: string | null;
                          }
                          | {
                              acl_expiration_mins?: number
                              | null;
                              allow_guest_collections?: boolean;
                              authentication_timeout_mins?: number;
                              auto_delete_timeout?: number | null;
                              collection_base_path: string;
                              collection_type: "mapped" | "guest";
                              connector_id?: string;
                              contact_email?: string | null;
                              contact_info?: string | null;
                              created_at?: string | null;
                              DATA_TYPE: "collection#1.13.0";
                              default_directory?: string;
                              delete_protected?: boolean;
                              deleted?: boolean;
                              department?: string | null;
                              description?: string | null;
                              disable_anonymous_writes?: boolean;
                              disable_verify?: boolean;
                              display_name: string;
                              domain?: {
                                  certificate?: ...;
                                  certificate_chain?: ...;
                                  certificate_chain_path?: ...;
                                  certificate_path?: ...;
                                  DATA_TYPE: ...;
                                  domain_name: ...;
                                  private_key?: ...;
                                  private_key_path?: ...;
                                  wildcard: ...;
                              };
                              domain_name?: string;
                              enable_https?: boolean;
                              force_encryption?: boolean;
                              force_verify?: boolean;
                              guest_auth_policy_id?: string
                              | null;
                              high_assurance?: boolean;
                              https_url?: string;
                              id?: string;
                              identity_id?: string;
                              info_link?: string | null;
                              keywords?: (...)[];
                              last_access?: string | null;
                              manager_url?: string;
                              mapped_collection_id?: string;
                              organization?: string;
                              policies?:
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ...; project?: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | {
                                      DATA_TYPE: ...;
                                      sharing_groups_allow?: ...;
                                      sharing_groups_deny?: ...;
                                  }
                                  | {
                                      DATA_TYPE: ...;
                                      sharing_groups_allow?: ...;
                                      sharing_groups_deny?: ...;
                                  };
                              public: boolean;
                              require_mfa?: boolean;
                              restrict_transfers_to_high_assurance?: | "inbound"
                              | "outbound"
                              | "all"
                              | null;
                              root_path?: string;
                              sharing_restrict_paths?: unknown;
                              sharing_users_allow?: (...)[]
                              | null;
                              sharing_users_deny?: (...)[] | null;
                              skip_auto_delete?: boolean;
                              storage_gateway_id?: string;
                              tlsftp_url?: string;
                              user_credential_id?: string;
                              user_message?: string | null;
                              user_message_link?: string | null;
                          }
                          | {
                              acl_expiration_mins?: number
                              | null;
                              activity_notification_policy?: { status: ...; transfer_use: ... };
                              allow_guest_collections?: boolean;
                              authentication_timeout_mins?: number;
                              auto_delete_timeout?: number | null;
                              collection_base_path: string;
                              collection_type: "mapped" | "guest";
                              connector_id?: string;
                              contact_email?: string | null;
                              contact_info?: string | null;
                              created_at?: string | null;
                              DATA_TYPE: "collection#1.14.0";
                              default_directory?: string;
                              delete_protected?: boolean;
                              deleted?: boolean;
                              department?: string | null;
                              description?: string | null;
                              disable_anonymous_writes?: boolean;
                              disable_verify?: boolean;
                              display_name: string;
                              domain?: {
                                  certificate?: ...;
                                  certificate_chain?: ...;
                                  certificate_chain_path?: ...;
                                  certificate_path?: ...;
                                  DATA_TYPE: ...;
                                  domain_name: ...;
                                  private_key?: ...;
                                  private_key_path?: ...;
                                  wildcard: ...;
                              };
                              domain_name?: string;
                              enable_https?: boolean;
                              force_encryption?: boolean;
                              force_verify?: boolean;
                              guest_auth_policy_id?: string
                              | null;
                              high_assurance?: boolean;
                              https_url?: string;
                              id?: string;
                              identity_id?: string;
                              info_link?: string | null;
                              keywords?: (...)[];
                              last_access?: string | null;
                              manager_url?: string;
                              mapped_collection_id?: string;
                              organization?: string;
                              policies?:
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ...; project?: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | {
                                      DATA_TYPE: ...;
                                      sharing_groups_allow?: ...;
                                      sharing_groups_deny?: ...;
                                  }
                                  | {
                                      DATA_TYPE: ...;
                                      sharing_groups_allow?: ...;
                                      sharing_groups_deny?: ...;
                                  };
                              public: boolean;
                              require_mfa?: boolean;
                              restrict_transfers_to_high_assurance?: | "inbound"
                              | "outbound"
                              | "all"
                              | null;
                              root_path?: string;
                              sharing_restrict_paths?: unknown;
                              sharing_users_allow?: (...)[]
                              | null;
                              sharing_users_deny?: (...)[] | null;
                              skip_auto_delete?: boolean;
                              storage_gateway_id?: string;
                              subscription_admin_verified?: boolean;
                              tlsftp_url?: string;
                              user_credential_id?: string;
                              user_message?: string | null;
                              user_message_link?: string | null;
                          }
                          | {
                              acl_expiration_mins?: number
                              | null;
                              activity_notification_policy?: { status: ...; transfer_use: ... };
                              allow_guest_collections?: boolean;
                              associated_flow_policy?: unknown;
                              authentication_timeout_mins?: number;
                              auto_delete_timeout?: number | null;
                              collection_base_path: string;
                              collection_type: "mapped" | "guest";
                              connector_id?: string;
                              contact_email?: string | null;
                              contact_info?: string | null;
                              created_at?: string | null;
                              DATA_TYPE: "collection#1.15.0";
                              default_directory?: string;
                              delete_protected?: boolean;
                              deleted?: boolean;
                              department?: string | null;
                              description?: string | null;
                              disable_anonymous_writes?: boolean;
                              disable_verify?: boolean;
                              display_name: string;
                              domain?: {
                                  certificate?: ...;
                                  certificate_chain?: ...;
                                  certificate_chain_path?: ...;
                                  certificate_path?: ...;
                                  DATA_TYPE: ...;
                                  domain_name: ...;
                                  private_key?: ...;
                                  private_key_path?: ...;
                                  wildcard: ...;
                              };
                              domain_name?: string;
                              enable_https?: boolean;
                              force_encryption?: boolean;
                              force_verify?: boolean;
                              guest_auth_policy_id?: string
                              | null;
                              high_assurance?: boolean;
                              https_url?: string;
                              id?: string;
                              identity_id?: string;
                              info_link?: string | null;
                              keywords?: (...)[];
                              last_access?: string | null;
                              manager_url?: string;
                              mapped_collection_id?: string;
                              organization?: string;
                              policies?:
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ...; project?: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | {
                                      DATA_TYPE: ...;
                                      sharing_groups_allow?: ...;
                                      sharing_groups_deny?: ...;
                                  }
                                  | {
                                      DATA_TYPE: ...;
                                      sharing_groups_allow?: ...;
                                      sharing_groups_deny?: ...;
                                  };
                              public: boolean;
                              require_mfa?: boolean;
                              restrict_transfers_to_high_assurance?: | "inbound"
                              | "outbound"
                              | "all"
                              | null;
                              root_path?: string;
                              sharing_restrict_paths?: unknown;
                              sharing_users_allow?: (...)[]
                              | null;
                              sharing_users_deny?: (...)[] | null;
                              skip_auto_delete?: boolean;
                              storage_gateway_id?: string;
                              subscription_admin_verified?: boolean;
                              tlsftp_url?: string;
                              user_credential_id?: string;
                              user_message?: string | null;
                              user_message_link?: string | null;
                          }
                          | {
                              acl_expiration_mins?: number
                              | null;
                              activity_notification_policy?: { status: ...; transfer_use: ... };
                              allow_guest_collections?: boolean;
                              associated_flow_policy?: unknown;
                              authentication_timeout_mins?: number;
                              auto_delete_timeout?: number | null;
                              collection_base_path: string;
                              collection_type: "mapped" | "guest";
                              connector_id?: string;
                              contact_email?: string | null;
                              contact_info?: string | null;
                              created_at?: string | null;
                              DATA_TYPE: "collection#1.16.0";
                              default_directory?: string;
                              delete_protected?: boolean;
                              deleted?: boolean;
                              department?: string | null;
                              description?: string | null;
                              disable_anonymous_writes?: boolean;
                              disable_verify?: boolean;
                              display_name: string;
                              domain?: {
                                  certificate?: ...;
                                  certificate_chain?: ...;
                                  certificate_chain_path?: ...;
                                  certificate_path?: ...;
                                  DATA_TYPE: ...;
                                  domain_name: ...;
                                  private_key?: ...;
                                  private_key_path?: ...;
                                  wildcard: ...;
                              };
                              domain_name?: string;
                              enable_https?: boolean;
                              force_encryption?: boolean;
                              force_verify?: boolean;
                              guest_auth_policy_id?: string
                              | null;
                              high_assurance?: boolean;
                              https_methods?: (...)[];
                              https_url?: string;
                              id?: string;
                              identity_id?: string;
                              info_link?: string | null;
                              keywords?: (...)[];
                              last_access?: string | null;
                              manager_url?: string;
                              mapped_collection_id?: string;
                              organization?: string;
                              policies?:
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ...; project?: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | {
                                      DATA_TYPE: ...;
                                      sharing_groups_allow?: ...;
                                      sharing_groups_deny?: ...;
                                  }
                                  | {
                                      DATA_TYPE: ...;
                                      sharing_groups_allow?: ...;
                                      sharing_groups_deny?: ...;
                                  };
                              preserve_modtime?: "inbound"
                              | "outbound"
                              | "all"
                              | null;
                              public: boolean;
                              require_mfa?: boolean;
                              restrict_transfers_to_high_assurance?:
                                  | "inbound"
                                  | "outbound"
                                  | "all"
                                  | null;
                              root_path?: string;
                              sharing_restrict_paths?: unknown;
                              sharing_users_allow?: (...)[]
                              | null;
                              sharing_users_deny?: (...)[] | null;
                              skip_auto_delete?: boolean;
                              storage_gateway_id?: string;
                              subscription_admin_verified?: boolean;
                              tlsftp_url?: string;
                              user_credential_id?: string;
                              user_message?: string | null;
                              user_message_link?: string | null;
                          };
                      } & {
                          headers?: Headers;
                          query?: {
                              [key: string]: | string
                              | number
                              | boolean
                              | (...)[]
                              | null
                              | undefined;
                          };
                      },
                      sdkOptions?: SDKOptions,
                  ],
              ) => Promise<
                  JSONFetchResponse<
                      {
                          code?: "success";
                          data?: (
                              | {
                                  allow_guest_collections?: ...;
                                  authentication_timeout_mins?: ...;
                                  collection_base_path: ...;
                                  collection_type: ...;
                                  connector_id?: ...;
                                  contact_email?: ...;
                                  contact_info?: ...;
                                  DATA_TYPE: ...;
                                  default_directory?: ...;
                                  deleted?: ...;
                                  department?: ...;
                                  description?: ...;
                                  disable_verify?: ...;
                                  display_name: ...;
                                  domain_name?: ...;
                                  force_encryption?: ...;
                                  high_assurance?: ...;
                                  https_url?: ...;
                                  id?: ...;
                                  identity_id?: ...;
                                  info_link?: ...;
                                  keywords?: ...;
                                  manager_url?: ...;
                                  mapped_collection_id?: ...;
                                  organization?: ...;
                                  policies?: ...;
                                  public: ...;
                                  root_path?: ...;
                                  sharing_restrict_paths?: ...;
                                  storage_gateway_id?: ...;
                                  tlsftp_url?: ...;
                                  user_credential_id?: ...;
                              }
                              | {
                                  allow_guest_collections?: ...;
                                  authentication_timeout_mins?: ...;
                                  collection_base_path: ...;
                                  collection_type: ...;
                                  connector_id?: ...;
                                  contact_email?: ...;
                                  contact_info?: ...;
                                  DATA_TYPE: ...;
                                  default_directory?: ...;
                                  deleted?: ...;
                                  department?: ...;
                                  description?: ...;
                                  disable_verify?: ...;
                                  display_name: ...;
                                  domain_name?: ...;
                                  enable_https?: ...;
                                  force_encryption?: ...;
                                  high_assurance?: ...;
                                  https_url?: ...;
                                  id?: ...;
                                  identity_id?: ...;
                                  info_link?: ...;
                                  keywords?: ...;
                                  manager_url?: ...;
                                  mapped_collection_id?: ...;
                                  organization?: ...;
                                  policies?: ...;
                                  public: ...;
                                  root_path?: ...;
                                  sharing_restrict_paths?: ...;
                                  storage_gateway_id?: ...;
                                  tlsftp_url?: ...;
                                  user_credential_id?: ...;
                                  user_message?: ...;
                                  user_message_link?: ...;
                              }
                              | {
                                  allow_guest_collections?: ...;
                                  authentication_timeout_mins?: ...;
                                  collection_base_path: ...;
                                  collection_type: ...;
                                  connector_id?: ...;
                                  contact_email?: ...;
                                  contact_info?: ...;
                                  DATA_TYPE: ...;
                                  default_directory?: ...;
                                  deleted?: ...;
                                  department?: ...;
                                  description?: ...;
                                  disable_verify?: ...;
                                  display_name: ...;
                                  domain_name?: ...;
                                  enable_https?: ...;
                                  force_encryption?: ...;
                                  high_assurance?: ...;
                                  https_url?: ...;
                                  id?: ...;
                                  identity_id?: ...;
                                  info_link?: ...;
                                  keywords?: ...;
                                  manager_url?: ...;
                                  mapped_collection_id?: ...;
                                  organization?: ...;
                                  policies?: ...;
                                  public: ...;
                                  root_path?: ...;
                                  sharing_restrict_paths?: ...;
                                  sharing_users_allow?: ...;
                                  sharing_users_deny?: ...;
                                  storage_gateway_id?: ...;
                                  tlsftp_url?: ...;
                                  user_credential_id?: ...;
                                  user_message?: ...;
                                  user_message_link?: ...;
                              }
                              | {
                                  allow_guest_collections?: ...;
                                  authentication_timeout_mins?: ...;
                                  collection_base_path: ...;
                                  collection_type: ...;
                                  connector_id?: ...;
                                  contact_email?: ...;
                                  contact_info?: ...;
                                  DATA_TYPE: ...;
                                  default_directory?: ...;
                                  deleted?: ...;
                                  department?: ...;
                                  description?: ...;
                                  disable_verify?: ...;
                                  display_name: ...;
                                  domain?: ...;
                                  domain_name?: ...;
                                  enable_https?: ...;
                                  force_encryption?: ...;
                                  high_assurance?: ...;
                                  https_url?: ...;
                                  id?: ...;
                                  identity_id?: ...;
                                  info_link?: ...;
                                  keywords?: ...;
                                  manager_url?: ...;
                                  mapped_collection_id?: ...;
                                  organization?: ...;
                                  policies?: ...;
                                  public: ...;
                                  root_path?: ...;
                                  sharing_restrict_paths?: ...;
                                  sharing_users_allow?: ...;
                                  sharing_users_deny?: ...;
                                  storage_gateway_id?: ...;
                                  tlsftp_url?: ...;
                                  user_credential_id?: ...;
                                  user_message?: ...;
                                  user_message_link?: ...;
                              }
                              | {
                                  allow_guest_collections?: ...;
                                  authentication_timeout_mins?: ...;
                                  collection_base_path: ...;
                                  collection_type: ...;
                                  connector_id?: ...;
                                  contact_email?: ...;
                                  contact_info?: ...;
                                  DATA_TYPE: ...;
                                  default_directory?: ...;
                                  deleted?: ...;
                                  department?: ...;
                                  description?: ...;
                                  disable_verify?: ...;
                                  display_name: ...;
                                  domain?: ...;
                                  domain_name?: ...;
                                  enable_https?: ...;
                                  force_encryption?: ...;
                                  force_verify?: ...;
                                  high_assurance?: ...;
                                  https_url?: ...;
                                  id?: ...;
                                  identity_id?: ...;
                                  info_link?: ...;
                                  keywords?: ...;
                                  manager_url?: ...;
                                  mapped_collection_id?: ...;
                                  organization?: ...;
                                  policies?: ...;
                                  public: ...;
                                  require_mfa?: ...;
                                  root_path?: ...;
                                  sharing_restrict_paths?: ...;
                                  sharing_users_allow?: ...;
                                  sharing_users_deny?: ...;
                                  storage_gateway_id?: ...;
                                  tlsftp_url?: ...;
                                  user_credential_id?: ...;
                                  user_message?: ...;
                                  user_message_link?: ...;
                              }
                              | {
                                  allow_guest_collections?: ...;
                                  authentication_timeout_mins?: ...;
                                  collection_base_path: ...;
                                  collection_type: ...;
                                  connector_id?: ...;
                                  contact_email?: ...;
                                  contact_info?: ...;
                                  DATA_TYPE: ...;
                                  default_directory?: ...;
                                  deleted?: ...;
                                  department?: ...;
                                  description?: ...;
                                  disable_anonymous_writes?: ...;
                                  disable_verify?: ...;
                                  display_name: ...;
                                  domain?: ...;
                                  domain_name?: ...;
                                  enable_https?: ...;
                                  force_encryption?: ...;
                                  force_verify?: ...;
                                  high_assurance?: ...;
                                  https_url?: ...;
                                  id?: ...;
                                  identity_id?: ...;
                                  info_link?: ...;
                                  keywords?: ...;
                                  manager_url?: ...;
                                  mapped_collection_id?: ...;
                                  organization?: ...;
                                  policies?: ...;
                                  public: ...;
                                  require_mfa?: ...;
                                  root_path?: ...;
                                  sharing_restrict_paths?: ...;
                                  sharing_users_allow?: ...;
                                  sharing_users_deny?: ...;
                                  storage_gateway_id?: ...;
                                  tlsftp_url?: ...;
                                  user_credential_id?: ...;
                                  user_message?: ...;
                                  user_message_link?: ...;
                              }
                              | {
                                  allow_guest_collections?: ...;
                                  authentication_timeout_mins?: ...;
                                  collection_base_path: ...;
                                  collection_type: ...;
                                  connector_id?: ...;
                                  contact_email?: ...;
                                  contact_info?: ...;
                                  DATA_TYPE: ...;
                                  default_directory?: ...;
                                  deleted?: ...;
                                  department?: ...;
                                  description?: ...;
                                  disable_anonymous_writes?: ...;
                                  disable_verify?: ...;
                                  display_name: ...;
                                  domain?: ...;
                                  domain_name?: ...;
                                  enable_https?: ...;
                                  force_encryption?: ...;
                                  force_verify?: ...;
                                  guest_auth_policy_id?: ...;
                                  high_assurance?: ...;
                                  https_url?: ...;
                                  id?: ...;
                                  identity_id?: ...;
                                  info_link?: ...;
                                  keywords?: ...;
                                  manager_url?: ...;
                                  mapped_collection_id?: ...;
                                  organization?: ...;
                                  policies?: ...;
                                  public: ...;
                                  require_mfa?: ...;
                                  root_path?: ...;
                                  sharing_restrict_paths?: ...;
                                  sharing_users_allow?: ...;
                                  sharing_users_deny?: ...;
                                  storage_gateway_id?: ...;
                                  tlsftp_url?: ...;
                                  user_credential_id?: ...;
                                  user_message?: ...;
                                  user_message_link?: ...;
                              }
                              | {
                                  allow_guest_collections?: ...;
                                  authentication_timeout_mins?: ...;
                                  collection_base_path: ...;
                                  collection_type: ...;
                                  connector_id?: ...;
                                  contact_email?: ...;
                                  contact_info?: ...;
                                  DATA_TYPE: ...;
                                  default_directory?: ...;
                                  deleted?: ...;
                                  department?: ...;
                                  description?: ...;
                                  disable_anonymous_writes?: ...;
                                  disable_verify?: ...;
                                  display_name: ...;
                                  domain?: ...;
                                  domain_name?: ...;
                                  enable_https?: ...;
                                  force_encryption?: ...;
                                  force_verify?: ...;
                                  guest_auth_policy_id?: ...;
                                  high_assurance?: ...;
                                  https_url?: ...;
                                  id?: ...;
                                  identity_id?: ...;
                                  info_link?: ...;
                                  keywords?: ...;
                                  manager_url?: ...;
                                  mapped_collection_id?: ...;
                                  organization?: ...;
                                  policies?: ...;
                                  public: ...;
                                  require_mfa?: ...;
                                  root_path?: ...;
                                  sharing_restrict_paths?: ...;
                                  sharing_users_allow?: ...;
                                  sharing_users_deny?: ...;
                                  storage_gateway_id?: ...;
                                  tlsftp_url?: ...;
                                  user_credential_id?: ...;
                                  user_message?: ...;
                                  user_message_link?: ...;
                              }
                              | {
                                  allow_guest_collections?: ...;
                                  authentication_timeout_mins?: ...;
                                  collection_base_path: ...;
                                  collection_type: ...;
                                  connector_id?: ...;
                                  contact_email?: ...;
                                  contact_info?: ...;
                                  DATA_TYPE: ...;
                                  default_directory?: ...;
                                  delete_protected?: ...;
                                  deleted?: ...;
                                  department?: ...;
                                  description?: ...;
                                  disable_anonymous_writes?: ...;
                                  disable_verify?: ...;
                                  display_name: ...;
                                  domain?: ...;
                                  domain_name?: ...;
                                  enable_https?: ...;
                                  force_encryption?: ...;
                                  force_verify?: ...;
                                  guest_auth_policy_id?: ...;
                                  high_assurance?: ...;
                                  https_url?: ...;
                                  id?: ...;
                                  identity_id?: ...;
                                  info_link?: ...;
                                  keywords?: ...;
                                  manager_url?: ...;
                                  mapped_collection_id?: ...;
                                  organization?: ...;
                                  policies?: ...;
                                  public: ...;
                                  require_mfa?: ...;
                                  root_path?: ...;
                                  sharing_restrict_paths?: ...;
                                  sharing_users_allow?: ...;
                                  sharing_users_deny?: ...;
                                  storage_gateway_id?: ...;
                                  tlsftp_url?: ...;
                                  user_credential_id?: ...;
                                  user_message?: ...;
                                  user_message_link?: ...;
                              }
                              | {
                                  allow_guest_collections?: ...;
                                  authentication_timeout_mins?: ...;
                                  collection_base_path: ...;
                                  collection_type: ...;
                                  connector_id?: ...;
                                  contact_email?: ...;
                                  contact_info?: ...;
                                  created_at?: ...;
                                  DATA_TYPE: ...;
                                  default_directory?: ...;
                                  delete_protected?: ...;
                                  deleted?: ...;
                                  department?: ...;
                                  description?: ...;
                                  disable_anonymous_writes?: ...;
                                  disable_verify?: ...;
                                  display_name: ...;
                                  domain?: ...;
                                  domain_name?: ...;
                                  enable_https?: ...;
                                  force_encryption?: ...;
                                  force_verify?: ...;
                                  guest_auth_policy_id?: ...;
                                  high_assurance?: ...;
                                  https_url?: ...;
                                  id?: ...;
                                  identity_id?: ...;
                                  info_link?: ...;
                                  keywords?: ...;
                                  last_access?: ...;
                                  manager_url?: ...;
                                  mapped_collection_id?: ...;
                                  organization?: ...;
                                  policies?: ...;
                                  public: ...;
                                  require_mfa?: ...;
                                  root_path?: ...;
                                  sharing_restrict_paths?: ...;
                                  sharing_users_allow?: ...;
                                  sharing_users_deny?: ...;
                                  storage_gateway_id?: ...;
                                  tlsftp_url?: ...;
                                  user_credential_id?: ...;
                                  user_message?: ...;
                                  user_message_link?: ...;
                              }
                              | {
                                  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?: ...;
                              }
                              | {
                                  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_methods?: ...;
                                  https_url?: ...;
                                  id?: ...;
                                  identity_id?: ...;
                                  info_link?: ...;
                                  keywords?: ...;
                                  last_access?: ...;
                                  manager_url?: ...;
                                  mapped_collection_id?: ...;
                                  organization?: ...;
                                  policies?: ...;
                                  preserve_modtime?: ...;
                                  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?: string | null;
                              message?: string;
                          }
                          | {
                              authorization_parameters?: { [key: string]: unknown }
                              | null;
                              code: string;
                              data?: Record<(...), (...)>[];
                              DATA_TYPE: "result#1.1.0";
                              detail?: unknown;
                              has_next_page: boolean;
                              http_response_code: number;
                              marker?: string | null;
                              message?: string;
                          }
                      ),
                  >,
              >;
              get: (
                  ...args: [
                      collection_id: string,
                      options?: { query?: { include?: (...)[] } } & {
                          headers?: Headers;
                          query?: {
                              [key: string]:
                                  | string
                                  | number
                                  | boolean
                                  | (...)[]
                                  | null
                                  | undefined;
                          };
                      },
                      sdkOptions?: SDKOptions,
                  ],
              ) => Promise<
                  JSONFetchResponse<
                      {
                          code?: "success";
                          data?: (
                              | {
                                  allow_guest_collections?: ...;
                                  authentication_timeout_mins?: ...;
                                  collection_base_path: ...;
                                  collection_type: ...;
                                  connector_id?: ...;
                                  contact_email?: ...;
                                  contact_info?: ...;
                                  DATA_TYPE: ...;
                                  default_directory?: ...;
                                  deleted?: ...;
                                  department?: ...;
                                  description?: ...;
                                  disable_verify?: ...;
                                  display_name: ...;
                                  domain_name?: ...;
                                  force_encryption?: ...;
                                  high_assurance?: ...;
                                  https_url?: ...;
                                  id?: ...;
                                  identity_id?: ...;
                                  info_link?: ...;
                                  keywords?: ...;
                                  manager_url?: ...;
                                  mapped_collection_id?: ...;
                                  organization?: ...;
                                  policies?: ...;
                                  public: ...;
                                  root_path?: ...;
                                  sharing_restrict_paths?: ...;
                                  storage_gateway_id?: ...;
                                  tlsftp_url?: ...;
                                  user_credential_id?: ...;
                              }
                              | {
                                  allow_guest_collections?: ...;
                                  authentication_timeout_mins?: ...;
                                  collection_base_path: ...;
                                  collection_type: ...;
                                  connector_id?: ...;
                                  contact_email?: ...;
                                  contact_info?: ...;
                                  DATA_TYPE: ...;
                                  default_directory?: ...;
                                  deleted?: ...;
                                  department?: ...;
                                  description?: ...;
                                  disable_verify?: ...;
                                  display_name: ...;
                                  domain_name?: ...;
                                  enable_https?: ...;
                                  force_encryption?: ...;
                                  high_assurance?: ...;
                                  https_url?: ...;
                                  id?: ...;
                                  identity_id?: ...;
                                  info_link?: ...;
                                  keywords?: ...;
                                  manager_url?: ...;
                                  mapped_collection_id?: ...;
                                  organization?: ...;
                                  policies?: ...;
                                  public: ...;
                                  root_path?: ...;
                                  sharing_restrict_paths?: ...;
                                  storage_gateway_id?: ...;
                                  tlsftp_url?: ...;
                                  user_credential_id?: ...;
                                  user_message?: ...;
                                  user_message_link?: ...;
                              }
                              | {
                                  allow_guest_collections?: ...;
                                  authentication_timeout_mins?: ...;
                                  collection_base_path: ...;
                                  collection_type: ...;
                                  connector_id?: ...;
                                  contact_email?: ...;
                                  contact_info?: ...;
                                  DATA_TYPE: ...;
                                  default_directory?: ...;
                                  deleted?: ...;
                                  department?: ...;
                                  description?: ...;
                                  disable_verify?: ...;
                                  display_name: ...;
                                  domain_name?: ...;
                                  enable_https?: ...;
                                  force_encryption?: ...;
                                  high_assurance?: ...;
                                  https_url?: ...;
                                  id?: ...;
                                  identity_id?: ...;
                                  info_link?: ...;
                                  keywords?: ...;
                                  manager_url?: ...;
                                  mapped_collection_id?: ...;
                                  organization?: ...;
                                  policies?: ...;
                                  public: ...;
                                  root_path?: ...;
                                  sharing_restrict_paths?: ...;
                                  sharing_users_allow?: ...;
                                  sharing_users_deny?: ...;
                                  storage_gateway_id?: ...;
                                  tlsftp_url?: ...;
                                  user_credential_id?: ...;
                                  user_message?: ...;
                                  user_message_link?: ...;
                              }
                              | {
                                  allow_guest_collections?: ...;
                                  authentication_timeout_mins?: ...;
                                  collection_base_path: ...;
                                  collection_type: ...;
                                  connector_id?: ...;
                                  contact_email?: ...;
                                  contact_info?: ...;
                                  DATA_TYPE: ...;
                                  default_directory?: ...;
                                  deleted?: ...;
                                  department?: ...;
                                  description?: ...;
                                  disable_verify?: ...;
                                  display_name: ...;
                                  domain?: ...;
                                  domain_name?: ...;
                                  enable_https?: ...;
                                  force_encryption?: ...;
                                  high_assurance?: ...;
                                  https_url?: ...;
                                  id?: ...;
                                  identity_id?: ...;
                                  info_link?: ...;
                                  keywords?: ...;
                                  manager_url?: ...;
                                  mapped_collection_id?: ...;
                                  organization?: ...;
                                  policies?: ...;
                                  public: ...;
                                  root_path?: ...;
                                  sharing_restrict_paths?: ...;
                                  sharing_users_allow?: ...;
                                  sharing_users_deny?: ...;
                                  storage_gateway_id?: ...;
                                  tlsftp_url?: ...;
                                  user_credential_id?: ...;
                                  user_message?: ...;
                                  user_message_link?: ...;
                              }
                              | {
                                  allow_guest_collections?: ...;
                                  authentication_timeout_mins?: ...;
                                  collection_base_path: ...;
                                  collection_type: ...;
                                  connector_id?: ...;
                                  contact_email?: ...;
                                  contact_info?: ...;
                                  DATA_TYPE: ...;
                                  default_directory?: ...;
                                  deleted?: ...;
                                  department?: ...;
                                  description?: ...;
                                  disable_verify?: ...;
                                  display_name: ...;
                                  domain?: ...;
                                  domain_name?: ...;
                                  enable_https?: ...;
                                  force_encryption?: ...;
                                  force_verify?: ...;
                                  high_assurance?: ...;
                                  https_url?: ...;
                                  id?: ...;
                                  identity_id?: ...;
                                  info_link?: ...;
                                  keywords?: ...;
                                  manager_url?: ...;
                                  mapped_collection_id?: ...;
                                  organization?: ...;
                                  policies?: ...;
                                  public: ...;
                                  require_mfa?: ...;
                                  root_path?: ...;
                                  sharing_restrict_paths?: ...;
                                  sharing_users_allow?: ...;
                                  sharing_users_deny?: ...;
                                  storage_gateway_id?: ...;
                                  tlsftp_url?: ...;
                                  user_credential_id?: ...;
                                  user_message?: ...;
                                  user_message_link?: ...;
                              }
                              | {
                                  allow_guest_collections?: ...;
                                  authentication_timeout_mins?: ...;
                                  collection_base_path: ...;
                                  collection_type: ...;
                                  connector_id?: ...;
                                  contact_email?: ...;
                                  contact_info?: ...;
                                  DATA_TYPE: ...;
                                  default_directory?: ...;
                                  deleted?: ...;
                                  department?: ...;
                                  description?: ...;
                                  disable_anonymous_writes?: ...;
                                  disable_verify?: ...;
                                  display_name: ...;
                                  domain?: ...;
                                  domain_name?: ...;
                                  enable_https?: ...;
                                  force_encryption?: ...;
                                  force_verify?: ...;
                                  high_assurance?: ...;
                                  https_url?: ...;
                                  id?: ...;
                                  identity_id?: ...;
                                  info_link?: ...;
                                  keywords?: ...;
                                  manager_url?: ...;
                                  mapped_collection_id?: ...;
                                  organization?: ...;
                                  policies?: ...;
                                  public: ...;
                                  require_mfa?: ...;
                                  root_path?: ...;
                                  sharing_restrict_paths?: ...;
                                  sharing_users_allow?: ...;
                                  sharing_users_deny?: ...;
                                  storage_gateway_id?: ...;
                                  tlsftp_url?: ...;
                                  user_credential_id?: ...;
                                  user_message?: ...;
                                  user_message_link?: ...;
                              }
                              | {
                                  allow_guest_collections?: ...;
                                  authentication_timeout_mins?: ...;
                                  collection_base_path: ...;
                                  collection_type: ...;
                                  connector_id?: ...;
                                  contact_email?: ...;
                                  contact_info?: ...;
                                  DATA_TYPE: ...;
                                  default_directory?: ...;
                                  deleted?: ...;
                                  department?: ...;
                                  description?: ...;
                                  disable_anonymous_writes?: ...;
                                  disable_verify?: ...;
                                  display_name: ...;
                                  domain?: ...;
                                  domain_name?: ...;
                                  enable_https?: ...;
                                  force_encryption?: ...;
                                  force_verify?: ...;
                                  guest_auth_policy_id?: ...;
                                  high_assurance?: ...;
                                  https_url?: ...;
                                  id?: ...;
                                  identity_id?: ...;
                                  info_link?: ...;
                                  keywords?: ...;
                                  manager_url?: ...;
                                  mapped_collection_id?: ...;
                                  organization?: ...;
                                  policies?: ...;
                                  public: ...;
                                  require_mfa?: ...;
                                  root_path?: ...;
                                  sharing_restrict_paths?: ...;
                                  sharing_users_allow?: ...;
                                  sharing_users_deny?: ...;
                                  storage_gateway_id?: ...;
                                  tlsftp_url?: ...;
                                  user_credential_id?: ...;
                                  user_message?: ...;
                                  user_message_link?: ...;
                              }
                              | {
                                  allow_guest_collections?: ...;
                                  authentication_timeout_mins?: ...;
                                  collection_base_path: ...;
                                  collection_type: ...;
                                  connector_id?: ...;
                                  contact_email?: ...;
                                  contact_info?: ...;
                                  DATA_TYPE: ...;
                                  default_directory?: ...;
                                  deleted?: ...;
                                  department?: ...;
                                  description?: ...;
                                  disable_anonymous_writes?: ...;
                                  disable_verify?: ...;
                                  display_name: ...;
                                  domain?: ...;
                                  domain_name?: ...;
                                  enable_https?: ...;
                                  force_encryption?: ...;
                                  force_verify?: ...;
                                  guest_auth_policy_id?: ...;
                                  high_assurance?: ...;
                                  https_url?: ...;
                                  id?: ...;
                                  identity_id?: ...;
                                  info_link?: ...;
                                  keywords?: ...;
                                  manager_url?: ...;
                                  mapped_collection_id?: ...;
                                  organization?: ...;
                                  policies?: ...;
                                  public: ...;
                                  require_mfa?: ...;
                                  root_path?: ...;
                                  sharing_restrict_paths?: ...;
                                  sharing_users_allow?: ...;
                                  sharing_users_deny?: ...;
                                  storage_gateway_id?: ...;
                                  tlsftp_url?: ...;
                                  user_credential_id?: ...;
                                  user_message?: ...;
                                  user_message_link?: ...;
                              }
                              | {
                                  allow_guest_collections?: ...;
                                  authentication_timeout_mins?: ...;
                                  collection_base_path: ...;
                                  collection_type: ...;
                                  connector_id?: ...;
                                  contact_email?: ...;
                                  contact_info?: ...;
                                  DATA_TYPE: ...;
                                  default_directory?: ...;
                                  delete_protected?: ...;
                                  deleted?: ...;
                                  department?: ...;
                                  description?: ...;
                                  disable_anonymous_writes?: ...;
                                  disable_verify?: ...;
                                  display_name: ...;
                                  domain?: ...;
                                  domain_name?: ...;
                                  enable_https?: ...;
                                  force_encryption?: ...;
                                  force_verify?: ...;
                                  guest_auth_policy_id?: ...;
                                  high_assurance?: ...;
                                  https_url?: ...;
                                  id?: ...;
                                  identity_id?: ...;
                                  info_link?: ...;
                                  keywords?: ...;
                                  manager_url?: ...;
                                  mapped_collection_id?: ...;
                                  organization?: ...;
                                  policies?: ...;
                                  public: ...;
                                  require_mfa?: ...;
                                  root_path?: ...;
                                  sharing_restrict_paths?: ...;
                                  sharing_users_allow?: ...;
                                  sharing_users_deny?: ...;
                                  storage_gateway_id?: ...;
                                  tlsftp_url?: ...;
                                  user_credential_id?: ...;
                                  user_message?: ...;
                                  user_message_link?: ...;
                              }
                              | {
                                  allow_guest_collections?: ...;
                                  authentication_timeout_mins?: ...;
                                  collection_base_path: ...;
                                  collection_type: ...;
                                  connector_id?: ...;
                                  contact_email?: ...;
                                  contact_info?: ...;
                                  created_at?: ...;
                                  DATA_TYPE: ...;
                                  default_directory?: ...;
                                  delete_protected?: ...;
                                  deleted?: ...;
                                  department?: ...;
                                  description?: ...;
                                  disable_anonymous_writes?: ...;
                                  disable_verify?: ...;
                                  display_name: ...;
                                  domain?: ...;
                                  domain_name?: ...;
                                  enable_https?: ...;
                                  force_encryption?: ...;
                                  force_verify?: ...;
                                  guest_auth_policy_id?: ...;
                                  high_assurance?: ...;
                                  https_url?: ...;
                                  id?: ...;
                                  identity_id?: ...;
                                  info_link?: ...;
                                  keywords?: ...;
                                  last_access?: ...;
                                  manager_url?: ...;
                                  mapped_collection_id?: ...;
                                  organization?: ...;
                                  policies?: ...;
                                  public: ...;
                                  require_mfa?: ...;
                                  root_path?: ...;
                                  sharing_restrict_paths?: ...;
                                  sharing_users_allow?: ...;
                                  sharing_users_deny?: ...;
                                  storage_gateway_id?: ...;
                                  tlsftp_url?: ...;
                                  user_credential_id?: ...;
                                  user_message?: ...;
                                  user_message_link?: ...;
                              }
                              | {
                                  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?: ...;
                              }
                              | {
                                  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_methods?: ...;
                                  https_url?: ...;
                                  id?: ...;
                                  identity_id?: ...;
                                  info_link?: ...;
                                  keywords?: ...;
                                  last_access?: ...;
                                  manager_url?: ...;
                                  mapped_collection_id?: ...;
                                  organization?: ...;
                                  policies?: ...;
                                  preserve_modtime?: ...;
                                  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?: string | null;
                              message?: string;
                          }
                          | {
                              authorization_parameters?: { [key: string]: unknown }
                              | null;
                              code: string;
                              data?: Record<(...), (...)>[];
                              DATA_TYPE: "result#1.1.0";
                              detail?: unknown;
                              has_next_page: boolean;
                              http_response_code: number;
                              marker?: string | null;
                              message?: string;
                          }
                      ),
                  >,
              >;
              getAll: (
                  ...args: [
                      options?: {
                          query?: {
                              filter?: (...)[];
                              include?: (...)[];
                              mapped_collection_id?: string;
                              marker?: string;
                              page_size?: number;
                              storage_gateway_id?: string;
                          };
                      } & {
                          headers?: Headers;
                          query?: {
                              [key: string]: | string
                              | number
                              | boolean
                              | (...)[]
                              | null
                              | undefined;
                          };
                      },
                      sdkOptions?: SDKOptions,
                  ],
              ) => Promise<
                  JSONFetchResponse<
                      {
                          code?: "success";
                          data?: (
                              | {
                                  allow_guest_collections?: ...;
                                  authentication_timeout_mins?: ...;
                                  collection_base_path: ...;
                                  collection_type: ...;
                                  connector_id?: ...;
                                  contact_email?: ...;
                                  contact_info?: ...;
                                  DATA_TYPE: ...;
                                  default_directory?: ...;
                                  deleted?: ...;
                                  department?: ...;
                                  description?: ...;
                                  disable_verify?: ...;
                                  display_name: ...;
                                  domain_name?: ...;
                                  force_encryption?: ...;
                                  high_assurance?: ...;
                                  https_url?: ...;
                                  id?: ...;
                                  identity_id?: ...;
                                  info_link?: ...;
                                  keywords?: ...;
                                  manager_url?: ...;
                                  mapped_collection_id?: ...;
                                  organization?: ...;
                                  policies?: ...;
                                  public: ...;
                                  root_path?: ...;
                                  sharing_restrict_paths?: ...;
                                  storage_gateway_id?: ...;
                                  tlsftp_url?: ...;
                                  user_credential_id?: ...;
                              }
                              | {
                                  allow_guest_collections?: ...;
                                  authentication_timeout_mins?: ...;
                                  collection_base_path: ...;
                                  collection_type: ...;
                                  connector_id?: ...;
                                  contact_email?: ...;
                                  contact_info?: ...;
                                  DATA_TYPE: ...;
                                  default_directory?: ...;
                                  deleted?: ...;
                                  department?: ...;
                                  description?: ...;
                                  disable_verify?: ...;
                                  display_name: ...;
                                  domain_name?: ...;
                                  enable_https?: ...;
                                  force_encryption?: ...;
                                  high_assurance?: ...;
                                  https_url?: ...;
                                  id?: ...;
                                  identity_id?: ...;
                                  info_link?: ...;
                                  keywords?: ...;
                                  manager_url?: ...;
                                  mapped_collection_id?: ...;
                                  organization?: ...;
                                  policies?: ...;
                                  public: ...;
                                  root_path?: ...;
                                  sharing_restrict_paths?: ...;
                                  storage_gateway_id?: ...;
                                  tlsftp_url?: ...;
                                  user_credential_id?: ...;
                                  user_message?: ...;
                                  user_message_link?: ...;
                              }
                              | {
                                  allow_guest_collections?: ...;
                                  authentication_timeout_mins?: ...;
                                  collection_base_path: ...;
                                  collection_type: ...;
                                  connector_id?: ...;
                                  contact_email?: ...;
                                  contact_info?: ...;
                                  DATA_TYPE: ...;
                                  default_directory?: ...;
                                  deleted?: ...;
                                  department?: ...;
                                  description?: ...;
                                  disable_verify?: ...;
                                  display_name: ...;
                                  domain_name?: ...;
                                  enable_https?: ...;
                                  force_encryption?: ...;
                                  high_assurance?: ...;
                                  https_url?: ...;
                                  id?: ...;
                                  identity_id?: ...;
                                  info_link?: ...;
                                  keywords?: ...;
                                  manager_url?: ...;
                                  mapped_collection_id?: ...;
                                  organization?: ...;
                                  policies?: ...;
                                  public: ...;
                                  root_path?: ...;
                                  sharing_restrict_paths?: ...;
                                  sharing_users_allow?: ...;
                                  sharing_users_deny?: ...;
                                  storage_gateway_id?: ...;
                                  tlsftp_url?: ...;
                                  user_credential_id?: ...;
                                  user_message?: ...;
                                  user_message_link?: ...;
                              }
                              | {
                                  allow_guest_collections?: ...;
                                  authentication_timeout_mins?: ...;
                                  collection_base_path: ...;
                                  collection_type: ...;
                                  connector_id?: ...;
                                  contact_email?: ...;
                                  contact_info?: ...;
                                  DATA_TYPE: ...;
                                  default_directory?: ...;
                                  deleted?: ...;
                                  department?: ...;
                                  description?: ...;
                                  disable_verify?: ...;
                                  display_name: ...;
                                  domain?: ...;
                                  domain_name?: ...;
                                  enable_https?: ...;
                                  force_encryption?: ...;
                                  high_assurance?: ...;
                                  https_url?: ...;
                                  id?: ...;
                                  identity_id?: ...;
                                  info_link?: ...;
                                  keywords?: ...;
                                  manager_url?: ...;
                                  mapped_collection_id?: ...;
                                  organization?: ...;
                                  policies?: ...;
                                  public: ...;
                                  root_path?: ...;
                                  sharing_restrict_paths?: ...;
                                  sharing_users_allow?: ...;
                                  sharing_users_deny?: ...;
                                  storage_gateway_id?: ...;
                                  tlsftp_url?: ...;
                                  user_credential_id?: ...;
                                  user_message?: ...;
                                  user_message_link?: ...;
                              }
                              | {
                                  allow_guest_collections?: ...;
                                  authentication_timeout_mins?: ...;
                                  collection_base_path: ...;
                                  collection_type: ...;
                                  connector_id?: ...;
                                  contact_email?: ...;
                                  contact_info?: ...;
                                  DATA_TYPE: ...;
                                  default_directory?: ...;
                                  deleted?: ...;
                                  department?: ...;
                                  description?: ...;
                                  disable_verify?: ...;
                                  display_name: ...;
                                  domain?: ...;
                                  domain_name?: ...;
                                  enable_https?: ...;
                                  force_encryption?: ...;
                                  force_verify?: ...;
                                  high_assurance?: ...;
                                  https_url?: ...;
                                  id?: ...;
                                  identity_id?: ...;
                                  info_link?: ...;
                                  keywords?: ...;
                                  manager_url?: ...;
                                  mapped_collection_id?: ...;
                                  organization?: ...;
                                  policies?: ...;
                                  public: ...;
                                  require_mfa?: ...;
                                  root_path?: ...;
                                  sharing_restrict_paths?: ...;
                                  sharing_users_allow?: ...;
                                  sharing_users_deny?: ...;
                                  storage_gateway_id?: ...;
                                  tlsftp_url?: ...;
                                  user_credential_id?: ...;
                                  user_message?: ...;
                                  user_message_link?: ...;
                              }
                              | {
                                  allow_guest_collections?: ...;
                                  authentication_timeout_mins?: ...;
                                  collection_base_path: ...;
                                  collection_type: ...;
                                  connector_id?: ...;
                                  contact_email?: ...;
                                  contact_info?: ...;
                                  DATA_TYPE: ...;
                                  default_directory?: ...;
                                  deleted?: ...;
                                  department?: ...;
                                  description?: ...;
                                  disable_anonymous_writes?: ...;
                                  disable_verify?: ...;
                                  display_name: ...;
                                  domain?: ...;
                                  domain_name?: ...;
                                  enable_https?: ...;
                                  force_encryption?: ...;
                                  force_verify?: ...;
                                  high_assurance?: ...;
                                  https_url?: ...;
                                  id?: ...;
                                  identity_id?: ...;
                                  info_link?: ...;
                                  keywords?: ...;
                                  manager_url?: ...;
                                  mapped_collection_id?: ...;
                                  organization?: ...;
                                  policies?: ...;
                                  public: ...;
                                  require_mfa?: ...;
                                  root_path?: ...;
                                  sharing_restrict_paths?: ...;
                                  sharing_users_allow?: ...;
                                  sharing_users_deny?: ...;
                                  storage_gateway_id?: ...;
                                  tlsftp_url?: ...;
                                  user_credential_id?: ...;
                                  user_message?: ...;
                                  user_message_link?: ...;
                              }
                              | {
                                  allow_guest_collections?: ...;
                                  authentication_timeout_mins?: ...;
                                  collection_base_path: ...;
                                  collection_type: ...;
                                  connector_id?: ...;
                                  contact_email?: ...;
                                  contact_info?: ...;
                                  DATA_TYPE: ...;
                                  default_directory?: ...;
                                  deleted?: ...;
                                  department?: ...;
                                  description?: ...;
                                  disable_anonymous_writes?: ...;
                                  disable_verify?: ...;
                                  display_name: ...;
                                  domain?: ...;
                                  domain_name?: ...;
                                  enable_https?: ...;
                                  force_encryption?: ...;
                                  force_verify?: ...;
                                  guest_auth_policy_id?: ...;
                                  high_assurance?: ...;
                                  https_url?: ...;
                                  id?: ...;
                                  identity_id?: ...;
                                  info_link?: ...;
                                  keywords?: ...;
                                  manager_url?: ...;
                                  mapped_collection_id?: ...;
                                  organization?: ...;
                                  policies?: ...;
                                  public: ...;
                                  require_mfa?: ...;
                                  root_path?: ...;
                                  sharing_restrict_paths?: ...;
                                  sharing_users_allow?: ...;
                                  sharing_users_deny?: ...;
                                  storage_gateway_id?: ...;
                                  tlsftp_url?: ...;
                                  user_credential_id?: ...;
                                  user_message?: ...;
                                  user_message_link?: ...;
                              }
                              | {
                                  allow_guest_collections?: ...;
                                  authentication_timeout_mins?: ...;
                                  collection_base_path: ...;
                                  collection_type: ...;
                                  connector_id?: ...;
                                  contact_email?: ...;
                                  contact_info?: ...;
                                  DATA_TYPE: ...;
                                  default_directory?: ...;
                                  deleted?: ...;
                                  department?: ...;
                                  description?: ...;
                                  disable_anonymous_writes?: ...;
                                  disable_verify?: ...;
                                  display_name: ...;
                                  domain?: ...;
                                  domain_name?: ...;
                                  enable_https?: ...;
                                  force_encryption?: ...;
                                  force_verify?: ...;
                                  guest_auth_policy_id?: ...;
                                  high_assurance?: ...;
                                  https_url?: ...;
                                  id?: ...;
                                  identity_id?: ...;
                                  info_link?: ...;
                                  keywords?: ...;
                                  manager_url?: ...;
                                  mapped_collection_id?: ...;
                                  organization?: ...;
                                  policies?: ...;
                                  public: ...;
                                  require_mfa?: ...;
                                  root_path?: ...;
                                  sharing_restrict_paths?: ...;
                                  sharing_users_allow?: ...;
                                  sharing_users_deny?: ...;
                                  storage_gateway_id?: ...;
                                  tlsftp_url?: ...;
                                  user_credential_id?: ...;
                                  user_message?: ...;
                                  user_message_link?: ...;
                              }
                              | {
                                  allow_guest_collections?: ...;
                                  authentication_timeout_mins?: ...;
                                  collection_base_path: ...;
                                  collection_type: ...;
                                  connector_id?: ...;
                                  contact_email?: ...;
                                  contact_info?: ...;
                                  DATA_TYPE: ...;
                                  default_directory?: ...;
                                  delete_protected?: ...;
                                  deleted?: ...;
                                  department?: ...;
                                  description?: ...;
                                  disable_anonymous_writes?: ...;
                                  disable_verify?: ...;
                                  display_name: ...;
                                  domain?: ...;
                                  domain_name?: ...;
                                  enable_https?: ...;
                                  force_encryption?: ...;
                                  force_verify?: ...;
                                  guest_auth_policy_id?: ...;
                                  high_assurance?: ...;
                                  https_url?: ...;
                                  id?: ...;
                                  identity_id?: ...;
                                  info_link?: ...;
                                  keywords?: ...;
                                  manager_url?: ...;
                                  mapped_collection_id?: ...;
                                  organization?: ...;
                                  policies?: ...;
                                  public: ...;
                                  require_mfa?: ...;
                                  root_path?: ...;
                                  sharing_restrict_paths?: ...;
                                  sharing_users_allow?: ...;
                                  sharing_users_deny?: ...;
                                  storage_gateway_id?: ...;
                                  tlsftp_url?: ...;
                                  user_credential_id?: ...;
                                  user_message?: ...;
                                  user_message_link?: ...;
                              }
                              | {
                                  allow_guest_collections?: ...;
                                  authentication_timeout_mins?: ...;
                                  collection_base_path: ...;
                                  collection_type: ...;
                                  connector_id?: ...;
                                  contact_email?: ...;
                                  contact_info?: ...;
                                  created_at?: ...;
                                  DATA_TYPE: ...;
                                  default_directory?: ...;
                                  delete_protected?: ...;
                                  deleted?: ...;
                                  department?: ...;
                                  description?: ...;
                                  disable_anonymous_writes?: ...;
                                  disable_verify?: ...;
                                  display_name: ...;
                                  domain?: ...;
                                  domain_name?: ...;
                                  enable_https?: ...;
                                  force_encryption?: ...;
                                  force_verify?: ...;
                                  guest_auth_policy_id?: ...;
                                  high_assurance?: ...;
                                  https_url?: ...;
                                  id?: ...;
                                  identity_id?: ...;
                                  info_link?: ...;
                                  keywords?: ...;
                                  last_access?: ...;
                                  manager_url?: ...;
                                  mapped_collection_id?: ...;
                                  organization?: ...;
                                  policies?: ...;
                                  public: ...;
                                  require_mfa?: ...;
                                  root_path?: ...;
                                  sharing_restrict_paths?: ...;
                                  sharing_users_allow?: ...;
                                  sharing_users_deny?: ...;
                                  storage_gateway_id?: ...;
                                  tlsftp_url?: ...;
                                  user_credential_id?: ...;
                                  user_message?: ...;
                                  user_message_link?: ...;
                              }
                              | {
                                  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?: ...;
                              }
                              | {
                                  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_methods?: ...;
                                  https_url?: ...;
                                  id?: ...;
                                  identity_id?: ...;
                                  info_link?: ...;
                                  keywords?: ...;
                                  last_access?: ...;
                                  manager_url?: ...;
                                  mapped_collection_id?: ...;
                                  organization?: ...;
                                  policies?: ...;
                                  preserve_modtime?: ...;
                                  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?: string | null;
                              message?: string;
                          }
                          | {
                              authorization_parameters?: { [key: string]: unknown }
                              | null;
                              code: string;
                              data?: Record<(...), (...)>[];
                              DATA_TYPE: "result#1.1.0";
                              detail?: unknown;
                              has_next_page: boolean;
                              http_response_code: number;
                              marker?: string | null;
                              message?: string;
                          }
                      ),
                  >,
              >;
              next: {
                  create: (
                      ...args: [
                          params: {
                              request: {
                                  data: | {
                                      allow_guest_collections?: (...)
                                      | (...)
                                      | (...);
                                      authentication_timeout_mins?: (...) | (...);
                                      collection_base_path: string;
                                      collection_type: (...) | (...);
                                      connector_id?: (...) | (...);
                                      contact_email?: (...) | (...) | (...);
                                      contact_info?: (...) | (...) | (...);
                                      DATA_TYPE: "collection#1.0.0";
                                      default_directory?: (...) | (...);
                                      deleted?: (...) | (...) | (...);
                                      department?: (...) | (...) | (...);
                                      description?: (...) | (...) | (...);
                                      disable_verify?: (...) | (...) | (...);
                                      display_name: string;
                                      domain_name?: (...) | (...);
                                      force_encryption?: (...) | (...) | (...);
                                      high_assurance?: (...) | (...) | (...);
                                      https_url?: (...) | (...);
                                      id?: (...) | (...);
                                      identity_id?: (...) | (...);
                                      info_link?: (...) | (...) | (...);
                                      keywords?: (...) | (...);
                                      manager_url?: (...) | (...);
                                      mapped_collection_id?: (...) | (...);
                                      organization?: (...) | (...);
                                      policies?:
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...);
                                      public: boolean;
                                      root_path?: (...) | (...);
                                      sharing_restrict_paths?: unknown;
                                      storage_gateway_id?: (...) | (...);
                                      tlsftp_url?: (...) | (...);
                                      user_credential_id?: (...) | (...);
                                  }
                                  | {
                                      allow_guest_collections?: (...)
                                      | (...)
                                      | (...);
                                      authentication_timeout_mins?: (...) | (...);
                                      collection_base_path: string;
                                      collection_type: (...) | (...);
                                      connector_id?: (...) | (...);
                                      contact_email?: (...) | (...) | (...);
                                      contact_info?: (...) | (...) | (...);
                                      DATA_TYPE: "collection#1.1.0";
                                      default_directory?: (...) | (...);
                                      deleted?: (...) | (...) | (...);
                                      department?: (...) | (...) | (...);
                                      description?: (...) | (...) | (...);
                                      disable_verify?: (...) | (...) | (...);
                                      display_name: string;
                                      domain_name?: (...) | (...);
                                      enable_https?: (...) | (...) | (...);
                                      force_encryption?: (...) | (...) | (...);
                                      high_assurance?: (...) | (...) | (...);
                                      https_url?: (...) | (...);
                                      id?: (...) | (...);
                                      identity_id?: (...) | (...);
                                      info_link?: (...) | (...) | (...);
                                      keywords?: (...) | (...);
                                      manager_url?: (...) | (...);
                                      mapped_collection_id?: (...) | (...);
                                      organization?: (...) | (...);
                                      policies?:
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...);
                                      public: boolean;
                                      root_path?: (...) | (...);
                                      sharing_restrict_paths?: unknown;
                                      storage_gateway_id?: (...) | (...);
                                      tlsftp_url?: (...) | (...);
                                      user_credential_id?: (...) | (...);
                                      user_message?: (...) | (...) | (...);
                                      user_message_link?: (...) | (...) | (...);
                                  }
                                  | {
                                      allow_guest_collections?: (...)
                                      | (...)
                                      | (...);
                                      authentication_timeout_mins?: (...) | (...);
                                      collection_base_path: string;
                                      collection_type: (...) | (...);
                                      connector_id?: (...) | (...);
                                      contact_email?: (...) | (...) | (...);
                                      contact_info?: (...) | (...) | (...);
                                      DATA_TYPE: "collection#1.2.0";
                                      default_directory?: (...) | (...);
                                      deleted?: (...) | (...) | (...);
                                      department?: (...) | (...) | (...);
                                      description?: (...) | (...) | (...);
                                      disable_verify?: (...) | (...) | (...);
                                      display_name: string;
                                      domain_name?: (...) | (...);
                                      enable_https?: (...) | (...) | (...);
                                      force_encryption?: (...) | (...) | (...);
                                      high_assurance?: (...) | (...) | (...);
                                      https_url?: (...) | (...);
                                      id?: (...) | (...);
                                      identity_id?: (...) | (...);
                                      info_link?: (...) | (...) | (...);
                                      keywords?: (...) | (...);
                                      manager_url?: (...) | (...);
                                      mapped_collection_id?: (...) | (...);
                                      organization?: (...) | (...);
                                      policies?:
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...);
                                      public: boolean;
                                      root_path?: (...) | (...);
                                      sharing_restrict_paths?: unknown;
                                      sharing_users_allow?: (...) | (...) | (...);
                                      sharing_users_deny?: (...) | (...) | (...);
                                      storage_gateway_id?: (...) | (...);
                                      tlsftp_url?: (...) | (...);
                                      user_credential_id?: (...) | (...);
                                      user_message?: (...) | (...) | (...);
                                      user_message_link?: (...) | (...) | (...);
                                  }
                                  | {
                                      allow_guest_collections?: (...)
                                      | (...)
                                      | (...);
                                      authentication_timeout_mins?: (...) | (...);
                                      collection_base_path: string;
                                      collection_type: (...) | (...);
                                      connector_id?: (...) | (...);
                                      contact_email?: (...) | (...) | (...);
                                      contact_info?: (...) | (...) | (...);
                                      DATA_TYPE: "collection#1.3.0";
                                      default_directory?: (...) | (...);
                                      deleted?: (...) | (...) | (...);
                                      department?: (...) | (...) | (...);
                                      description?: (...) | (...) | (...);
                                      disable_verify?: (...) | (...) | (...);
                                      display_name: string;
                                      domain?: (...) | (...);
                                      domain_name?: (...) | (...);
                                      enable_https?: (...) | (...) | (...);
                                      force_encryption?: (...) | (...) | (...);
                                      high_assurance?: (...) | (...) | (...);
                                      https_url?: (...) | (...);
                                      id?: (...) | (...);
                                      identity_id?: (...) | (...);
                                      info_link?: (...) | (...) | (...);
                                      keywords?: (...) | (...);
                                      manager_url?: (...) | (...);
                                      mapped_collection_id?: (...) | (...);
                                      organization?: (...) | (...);
                                      policies?:
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...);
                                      public: boolean;
                                      root_path?: (...) | (...);
                                      sharing_restrict_paths?: unknown;
                                      sharing_users_allow?: (...) | (...) | (...);
                                      sharing_users_deny?: (...) | (...) | (...);
                                      storage_gateway_id?: (...) | (...);
                                      tlsftp_url?: (...) | (...);
                                      user_credential_id?: (...) | (...);
                                      user_message?: (...) | (...) | (...);
                                      user_message_link?: (...) | (...) | (...);
                                  }
                                  | {
                                      allow_guest_collections?: (...)
                                      | (...)
                                      | (...);
                                      authentication_timeout_mins?: (...) | (...);
                                      collection_base_path: string;
                                      collection_type: (...) | (...);
                                      connector_id?: (...) | (...);
                                      contact_email?: (...) | (...) | (...);
                                      contact_info?: (...) | (...) | (...);
                                      DATA_TYPE: "collection#1.4.0";
                                      default_directory?: (...) | (...);
                                      deleted?: (...) | (...) | (...);
                                      department?: (...) | (...) | (...);
                                      description?: (...) | (...) | (...);
                                      disable_verify?: (...) | (...) | (...);
                                      display_name: string;
                                      domain?: (...) | (...);
                                      domain_name?: (...) | (...);
                                      enable_https?: (...) | (...) | (...);
                                      force_encryption?: (...) | (...) | (...);
                                      force_verify?: (...) | (...) | (...);
                                      high_assurance?: (...) | (...) | (...);
                                      https_url?: (...) | (...);
                                      id?: (...) | (...);
                                      identity_id?: (...) | (...);
                                      info_link?: (...) | (...) | (...);
                                      keywords?: (...) | (...);
                                      manager_url?: (...) | (...);
                                      mapped_collection_id?: (...) | (...);
                                      organization?: (...) | (...);
                                      policies?:
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...);
                                      public: boolean;
                                      require_mfa?: (...) | (...) | (...);
                                      root_path?: (...) | (...);
                                      sharing_restrict_paths?: unknown;
                                      sharing_users_allow?: (...) | (...) | (...);
                                      sharing_users_deny?: (...) | (...) | (...);
                                      storage_gateway_id?: (...) | (...);
                                      tlsftp_url?: (...) | (...);
                                      user_credential_id?: (...) | (...);
                                      user_message?: (...) | (...) | (...);
                                      user_message_link?: (...) | (...) | (...);
                                  }
                                  | {
                                      allow_guest_collections?: (...)
                                      | (...)
                                      | (...);
                                      authentication_timeout_mins?: (...) | (...);
                                      collection_base_path: string;
                                      collection_type: (...) | (...);
                                      connector_id?: (...) | (...);
                                      contact_email?: (...) | (...) | (...);
                                      contact_info?: (...) | (...) | (...);
                                      DATA_TYPE: "collection#1.5.0";
                                      default_directory?: (...) | (...);
                                      deleted?: (...) | (...) | (...);
                                      department?: (...) | (...) | (...);
                                      description?: (...) | (...) | (...);
                                      disable_anonymous_writes?: (...) | (...) | (...);
                                      disable_verify?: (...) | (...) | (...);
                                      display_name: string;
                                      domain?: (...) | (...);
                                      domain_name?: (...) | (...);
                                      enable_https?: (...) | (...) | (...);
                                      force_encryption?: (...) | (...) | (...);
                                      force_verify?: (...) | (...) | (...);
                                      high_assurance?: (...) | (...) | (...);
                                      https_url?: (...) | (...);
                                      id?: (...) | (...);
                                      identity_id?: (...) | (...);
                                      info_link?: (...) | (...) | (...);
                                      keywords?: (...) | (...);
                                      manager_url?: (...) | (...);
                                      mapped_collection_id?: (...) | (...);
                                      organization?: (...) | (...);
                                      policies?:
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...);
                                      public: boolean;
                                      require_mfa?: (...) | (...) | (...);
                                      root_path?: (...) | (...);
                                      sharing_restrict_paths?: unknown;
                                      sharing_users_allow?: (...) | (...) | (...);
                                      sharing_users_deny?: (...) | (...) | (...);
                                      storage_gateway_id?: (...) | (...);
                                      tlsftp_url?: (...) | (...);
                                      user_credential_id?: (...) | (...);
                                      user_message?: (...) | (...) | (...);
                                      user_message_link?: (...) | (...) | (...);
                                  }
                                  | {
                                      allow_guest_collections?: (...)
                                      | (...)
                                      | (...);
                                      authentication_timeout_mins?: (...) | (...);
                                      collection_base_path: string;
                                      collection_type: (...) | (...);
                                      connector_id?: (...) | (...);
                                      contact_email?: (...) | (...) | (...);
                                      contact_info?: (...) | (...) | (...);
                                      DATA_TYPE: "collection#1.6.0";
                                      default_directory?: (...) | (...);
                                      deleted?: (...) | (...) | (...);
                                      department?: (...) | (...) | (...);
                                      description?: (...) | (...) | (...);
                                      disable_anonymous_writes?: (...) | (...) | (...);
                                      disable_verify?: (...) | (...) | (...);
                                      display_name: string;
                                      domain?: (...) | (...);
                                      domain_name?: (...) | (...);
                                      enable_https?: (...) | (...) | (...);
                                      force_encryption?: (...) | (...) | (...);
                                      force_verify?: (...) | (...) | (...);
                                      guest_auth_policy_id?: (...) | (...) | (...);
                                      high_assurance?: (...) | (...) | (...);
                                      https_url?: (...) | (...);
                                      id?: (...) | (...);
                                      identity_id?: (...) | (...);
                                      info_link?: (...) | (...) | (...);
                                      keywords?: (...) | (...);
                                      manager_url?: (...) | (...);
                                      mapped_collection_id?: (...) | (...);
                                      organization?: (...) | (...);
                                      policies?:
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...);
                                      public: boolean;
                                      require_mfa?: (...) | (...) | (...);
                                      root_path?: (...) | (...);
                                      sharing_restrict_paths?: unknown;
                                      sharing_users_allow?: (...) | (...) | (...);
                                      sharing_users_deny?: (...) | (...) | (...);
                                      storage_gateway_id?: (...) | (...);
                                      tlsftp_url?: (...) | (...);
                                      user_credential_id?: (...) | (...);
                                      user_message?: (...) | (...) | (...);
                                      user_message_link?: (...) | (...) | (...);
                                  }
                                  | {
                                      allow_guest_collections?: (...)
                                      | (...)
                                      | (...);
                                      authentication_timeout_mins?: (...) | (...);
                                      collection_base_path: string;
                                      collection_type: (...) | (...);
                                      connector_id?: (...) | (...);
                                      contact_email?: (...) | (...) | (...);
                                      contact_info?: (...) | (...) | (...);
                                      DATA_TYPE: "collection#1.7.0";
                                      default_directory?: (...) | (...);
                                      deleted?: (...) | (...) | (...);
                                      department?: (...) | (...) | (...);
                                      description?: (...) | (...) | (...);
                                      disable_anonymous_writes?: (...) | (...) | (...);
                                      disable_verify?: (...) | (...) | (...);
                                      display_name: string;
                                      domain?: (...) | (...);
                                      domain_name?: (...) | (...);
                                      enable_https?: (...) | (...) | (...);
                                      force_encryption?: (...) | (...) | (...);
                                      force_verify?: (...) | (...) | (...);
                                      guest_auth_policy_id?: (...) | (...) | (...);
                                      high_assurance?: (...) | (...) | (...);
                                      https_url?: (...) | (...);
                                      id?: (...) | (...);
                                      identity_id?: (...) | (...);
                                      info_link?: (...) | (...) | (...);
                                      keywords?: (...) | (...);
                                      manager_url?: (...) | (...);
                                      mapped_collection_id?: (...) | (...);
                                      organization?: (...) | (...);
                                      policies?:
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...);
                                      public: boolean;
                                      require_mfa?: (...) | (...) | (...);
                                      root_path?: (...) | (...);
                                      sharing_restrict_paths?: unknown;
                                      sharing_users_allow?: (...) | (...) | (...);
                                      sharing_users_deny?: (...) | (...) | (...);
                                      storage_gateway_id?: (...) | (...);
                                      tlsftp_url?: (...) | (...);
                                      user_credential_id?: (...) | (...);
                                      user_message?: (...) | (...) | (...);
                                      user_message_link?: (...) | (...) | (...);
                                  }
                                  | {
                                      allow_guest_collections?: (...)
                                      | (...)
                                      | (...);
                                      authentication_timeout_mins?: (...) | (...);
                                      collection_base_path: string;
                                      collection_type: (...) | (...);
                                      connector_id?: (...) | (...);
                                      contact_email?: (...) | (...) | (...);
                                      contact_info?: (...) | (...) | (...);
                                      DATA_TYPE: "collection#1.8.0";
                                      default_directory?: (...) | (...);
                                      delete_protected?: (...) | (...) | (...);
                                      deleted?: (...) | (...) | (...);
                                      department?: (...) | (...) | (...);
                                      description?: (...) | (...) | (...);
                                      disable_anonymous_writes?: (...) | (...) | (...);
                                      disable_verify?: (...) | (...) | (...);
                                      display_name: string;
                                      domain?: (...) | (...);
                                      domain_name?: (...) | (...);
                                      enable_https?: (...) | (...) | (...);
                                      force_encryption?: (...) | (...) | (...);
                                      force_verify?: (...) | (...) | (...);
                                      guest_auth_policy_id?: (...) | (...) | (...);
                                      high_assurance?: (...) | (...) | (...);
                                      https_url?: (...) | (...);
                                      id?: (...) | (...);
                                      identity_id?: (...) | (...);
                                      info_link?: (...) | (...) | (...);
                                      keywords?: (...) | (...);
                                      manager_url?: (...) | (...);
                                      mapped_collection_id?: (...) | (...);
                                      organization?: (...) | (...);
                                      policies?:
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...);
                                      public: boolean;
                                      require_mfa?: (...) | (...) | (...);
                                      root_path?: (...) | (...);
                                      sharing_restrict_paths?: unknown;
                                      sharing_users_allow?: (...) | (...) | (...);
                                      sharing_users_deny?: (...) | (...) | (...);
                                      storage_gateway_id?: (...) | (...);
                                      tlsftp_url?: (...) | (...);
                                      user_credential_id?: (...) | (...);
                                      user_message?: (...) | (...) | (...);
                                      user_message_link?: (...) | (...) | (...);
                                  }
                                  | {
                                      allow_guest_collections?: (...)
                                      | (...)
                                      | (...);
                                      authentication_timeout_mins?: (...) | (...);
                                      collection_base_path: string;
                                      collection_type: (...) | (...);
                                      connector_id?: (...) | (...);
                                      contact_email?: (...) | (...) | (...);
                                      contact_info?: (...) | (...) | (...);
                                      created_at?: (...) | (...) | (...);
                                      DATA_TYPE: "collection#1.9.0";
                                      default_directory?: (...) | (...);
                                      delete_protected?: (...) | (...) | (...);
                                      deleted?: (...) | (...) | (...);
                                      department?: (...) | (...) | (...);
                                      description?: (...) | (...) | (...);
                                      disable_anonymous_writes?: (...) | (...) | (...);
                                      disable_verify?: (...) | (...) | (...);
                                      display_name: string;
                                      domain?: (...) | (...);
                                      domain_name?: (...) | (...);
                                      enable_https?: (...) | (...) | (...);
                                      force_encryption?: (...) | (...) | (...);
                                      force_verify?: (...) | (...) | (...);
                                      guest_auth_policy_id?: (...) | (...) | (...);
                                      high_assurance?: (...) | (...) | (...);
                                      https_url?: (...) | (...);
                                      id?: (...) | (...);
                                      identity_id?: (...) | (...);
                                      info_link?: (...) | (...) | (...);
                                      keywords?: (...) | (...);
                                      last_access?: (...) | (...) | (...);
                                      manager_url?: (...) | (...);
                                      mapped_collection_id?: (...) | (...);
                                      organization?: (...) | (...);
                                      policies?:
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...);
                                      public: boolean;
                                      require_mfa?: (...) | (...) | (...);
                                      root_path?: (...) | (...);
                                      sharing_restrict_paths?: unknown;
                                      sharing_users_allow?: (...) | (...) | (...);
                                      sharing_users_deny?: (...) | (...) | (...);
                                      storage_gateway_id?: (...) | (...);
                                      tlsftp_url?: (...) | (...);
                                      user_credential_id?: (...) | (...);
                                      user_message?: (...) | (...) | (...);
                                      user_message_link?: (...) | (...) | (...);
                                  }
                                  | {
                                      acl_expiration_mins?: (...)
                                      | (...)
                                      | (...);
                                      allow_guest_collections?: (...) | (...) | (...);
                                      authentication_timeout_mins?: (...) | (...);
                                      collection_base_path: string;
                                      collection_type: (...) | (...);
                                      connector_id?: (...) | (...);
                                      contact_email?: (...) | (...) | (...);
                                      contact_info?: (...) | (...) | (...);
                                      created_at?: (...) | (...) | (...);
                                      DATA_TYPE: "collection#1.10.0";
                                      default_directory?: (...) | (...);
                                      delete_protected?: (...) | (...) | (...);
                                      deleted?: (...) | (...) | (...);
                                      department?: (...) | (...) | (...);
                                      description?: (...) | (...) | (...);
                                      disable_anonymous_writes?: (...) | (...) | (...);
                                      disable_verify?: (...) | (...) | (...);
                                      display_name: string;
                                      domain?: (...) | (...);
                                      domain_name?: (...) | (...);
                                      enable_https?: (...) | (...) | (...);
                                      force_encryption?: (...) | (...) | (...);
                                      force_verify?: (...) | (...) | (...);
                                      guest_auth_policy_id?: (...) | (...) | (...);
                                      high_assurance?: (...) | (...) | (...);
                                      https_url?: (...) | (...);
                                      id?: (...) | (...);
                                      identity_id?: (...) | (...);
                                      info_link?: (...) | (...) | (...);
                                      keywords?: (...) | (...);
                                      last_access?: (...) | (...) | (...);
                                      manager_url?: (...) | (...);
                                      mapped_collection_id?: (...) | (...);
                                      organization?: (...) | (...);
                                      policies?:
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...);
                                      public: boolean;
                                      require_mfa?: (...) | (...) | (...);
                                      root_path?: (...) | (...);
                                      sharing_restrict_paths?: unknown;
                                      sharing_users_allow?: (...) | (...) | (...);
                                      sharing_users_deny?: (...) | (...) | (...);
                                      storage_gateway_id?: (...) | (...);
                                      tlsftp_url?: (...) | (...);
                                      user_credential_id?: (...) | (...);
                                      user_message?: (...) | (...) | (...);
                                      user_message_link?: (...) | (...) | (...);
                                  }
                                  | {
                                      acl_expiration_mins?: (...)
                                      | (...)
                                      | (...);
                                      allow_guest_collections?: (...) | (...) | (...);
                                      authentication_timeout_mins?: (...) | (...);
                                      collection_base_path: string;
                                      collection_type: (...) | (...);
                                      connector_id?: (...) | (...);
                                      contact_email?: (...) | (...) | (...);
                                      contact_info?: (...) | (...) | (...);
                                      created_at?: (...) | (...) | (...);
                                      DATA_TYPE: "collection#1.11.0";
                                      default_directory?: (...) | (...);
                                      delete_protected?: (...) | (...) | (...);
                                      deleted?: (...) | (...) | (...);
                                      department?: (...) | (...) | (...);
                                      description?: (...) | (...) | (...);
                                      disable_anonymous_writes?: (...) | (...) | (...);
                                      disable_verify?: (...) | (...) | (...);
                                      display_name: string;
                                      domain?: (...) | (...);
                                      domain_name?: (...) | (...);
                                      enable_https?: (...) | (...) | (...);
                                      force_encryption?: (...) | (...) | (...);
                                      force_verify?: (...) | (...) | (...);
                                      guest_auth_policy_id?: (...) | (...) | (...);
                                      high_assurance?: (...) | (...) | (...);
                                      https_url?: (...) | (...);
                                      id?: (...) | (...);
                                      identity_id?: (...) | (...);
                                      info_link?: (...) | (...) | (...);
                                      keywords?: (...) | (...);
                                      last_access?: (...) | (...) | (...);
                                      manager_url?: (...) | (...);
                                      mapped_collection_id?: (...) | (...);
                                      organization?: (...) | (...);
                                      policies?:
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...);
                                      public: boolean;
                                      require_mfa?: (...) | (...) | (...);
                                      root_path?: (...) | (...);
                                      sharing_restrict_paths?: unknown;
                                      sharing_users_allow?: (...) | (...) | (...);
                                      sharing_users_deny?: (...) | (...) | (...);
                                      storage_gateway_id?: (...) | (...);
                                      tlsftp_url?: (...) | (...);
                                      user_credential_id?: (...) | (...);
                                      user_message?: (...) | (...) | (...);
                                      user_message_link?: (...) | (...) | (...);
                                  }
                                  | {
                                      acl_expiration_mins?: (...)
                                      | (...)
                                      | (...);
                                      allow_guest_collections?: (...) | (...) | (...);
                                      authentication_timeout_mins?: (...) | (...);
                                      collection_base_path: string;
                                      collection_type: (...) | (...);
                                      connector_id?: (...) | (...);
                                      contact_email?: (...) | (...) | (...);
                                      contact_info?: (...) | (...) | (...);
                                      created_at?: (...) | (...) | (...);
                                      DATA_TYPE: "collection#1.12.0";
                                      default_directory?: (...) | (...);
                                      delete_protected?: (...) | (...) | (...);
                                      deleted?: (...) | (...) | (...);
                                      department?: (...) | (...) | (...);
                                      description?: (...) | (...) | (...);
                                      disable_anonymous_writes?: (...) | (...) | (...);
                                      disable_verify?: (...) | (...) | (...);
                                      display_name: string;
                                      domain?: (...) | (...);
                                      domain_name?: (...) | (...);
                                      enable_https?: (...) | (...) | (...);
                                      force_encryption?: (...) | (...) | (...);
                                      force_verify?: (...) | (...) | (...);
                                      guest_auth_policy_id?: (...) | (...) | (...);
                                      high_assurance?: (...) | (...) | (...);
                                      https_url?: (...) | (...);
                                      id?: (...) | (...);
                                      identity_id?: (...) | (...);
                                      info_link?: (...) | (...) | (...);
                                      keywords?: (...) | (...);
                                      last_access?: (...) | (...) | (...);
                                      manager_url?: (...) | (...);
                                      mapped_collection_id?: (...) | (...);
                                      organization?: (...) | (...);
                                      policies?:
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...);
                                      public: boolean;
                                      require_mfa?: (...) | (...) | (...);
                                      restrict_transfers_to_high_assurance?:
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...);
                                      root_path?: (...) | (...);
                                      sharing_restrict_paths?: unknown;
                                      sharing_users_allow?: (...) | (...) | (...);
                                      sharing_users_deny?: (...) | (...) | (...);
                                      storage_gateway_id?: (...) | (...);
                                      tlsftp_url?: (...) | (...);
                                      user_credential_id?: (...) | (...);
                                      user_message?: (...) | (...) | (...);
                                      user_message_link?: (...) | (...) | (...);
                                  }
                                  | {
                                      acl_expiration_mins?: (...)
                                      | (...)
                                      | (...);
                                      allow_guest_collections?: (...) | (...) | (...);
                                      authentication_timeout_mins?: (...) | (...);
                                      auto_delete_timeout?: (...) | (...) | (...);
                                      collection_base_path: string;
                                      collection_type: (...) | (...);
                                      connector_id?: (...) | (...);
                                      contact_email?: (...) | (...) | (...);
                                      contact_info?: (...) | (...) | (...);
                                      created_at?: (...) | (...) | (...);
                                      DATA_TYPE: "collection#1.13.0";
                                      default_directory?: (...) | (...);
                                      delete_protected?: (...) | (...) | (...);
                                      deleted?: (...) | (...) | (...);
                                      department?: (...) | (...) | (...);
                                      description?: (...) | (...) | (...);
                                      disable_anonymous_writes?: (...) | (...) | (...);
                                      disable_verify?: (...) | (...) | (...);
                                      display_name: string;
                                      domain?: (...) | (...);
                                      domain_name?: (...) | (...);
                                      enable_https?: (...) | (...) | (...);
                                      force_encryption?: (...) | (...) | (...);
                                      force_verify?: (...) | (...) | (...);
                                      guest_auth_policy_id?: (...) | (...) | (...);
                                      high_assurance?: (...) | (...) | (...);
                                      https_url?: (...) | (...);
                                      id?: (...) | (...);
                                      identity_id?: (...) | (...);
                                      info_link?: (...) | (...) | (...);
                                      keywords?: (...) | (...);
                                      last_access?: (...) | (...) | (...);
                                      manager_url?: (...) | (...);
                                      mapped_collection_id?: (...) | (...);
                                      organization?: (...) | (...);
                                      policies?:
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...);
                                      public: boolean;
                                      require_mfa?: (...) | (...) | (...);
                                      restrict_transfers_to_high_assurance?:
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...);
                                      root_path?: (...) | (...);
                                      sharing_restrict_paths?: unknown;
                                      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: string;
                                      collection_type: (...) | (...);
                                      connector_id?: (...) | (...);
                                      contact_email?: (...) | (...) | (...);
                                      contact_info?: (...) | (...) | (...);
                                      created_at?: (...) | (...) | (...);
                                      DATA_TYPE: "collection#1.14.0";
                                      default_directory?: (...) | (...);
                                      delete_protected?: (...) | (...) | (...);
                                      deleted?: (...) | (...) | (...);
                                      department?: (...) | (...) | (...);
                                      description?: (...) | (...) | (...);
                                      disable_anonymous_writes?: (...) | (...) | (...);
                                      disable_verify?: (...) | (...) | (...);
                                      display_name: string;
                                      domain?: (...) | (...);
                                      domain_name?: (...) | (...);
                                      enable_https?: (...) | (...) | (...);
                                      force_encryption?: (...) | (...) | (...);
                                      force_verify?: (...) | (...) | (...);
                                      guest_auth_policy_id?: (...) | (...) | (...);
                                      high_assurance?: (...) | (...) | (...);
                                      https_url?: (...) | (...);
                                      id?: (...) | (...);
                                      identity_id?: (...) | (...);
                                      info_link?: (...) | (...) | (...);
                                      keywords?: (...) | (...);
                                      last_access?: (...) | (...) | (...);
                                      manager_url?: (...) | (...);
                                      mapped_collection_id?: (...) | (...);
                                      organization?: (...) | (...);
                                      policies?:
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...);
                                      public: boolean;
                                      require_mfa?: (...) | (...) | (...);
                                      restrict_transfers_to_high_assurance?:
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...);
                                      root_path?: (...) | (...);
                                      sharing_restrict_paths?: unknown;
                                      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?: unknown;
                                      authentication_timeout_mins?: (...) | (...);
                                      auto_delete_timeout?: (...) | (...) | (...);
                                      collection_base_path: string;
                                      collection_type: (...) | (...);
                                      connector_id?: (...) | (...);
                                      contact_email?: (...) | (...) | (...);
                                      contact_info?: (...) | (...) | (...);
                                      created_at?: (...) | (...) | (...);
                                      DATA_TYPE: "collection#1.15.0";
                                      default_directory?: (...) | (...);
                                      delete_protected?: (...) | (...) | (...);
                                      deleted?: (...) | (...) | (...);
                                      department?: (...) | (...) | (...);
                                      description?: (...) | (...) | (...);
                                      disable_anonymous_writes?: (...) | (...) | (...);
                                      disable_verify?: (...) | (...) | (...);
                                      display_name: string;
                                      domain?: (...) | (...);
                                      domain_name?: (...) | (...);
                                      enable_https?: (...) | (...) | (...);
                                      force_encryption?: (...) | (...) | (...);
                                      force_verify?: (...) | (...) | (...);
                                      guest_auth_policy_id?: (...) | (...) | (...);
                                      high_assurance?: (...) | (...) | (...);
                                      https_url?: (...) | (...);
                                      id?: (...) | (...);
                                      identity_id?: (...) | (...);
                                      info_link?: (...) | (...) | (...);
                                      keywords?: (...) | (...);
                                      last_access?: (...) | (...) | (...);
                                      manager_url?: (...) | (...);
                                      mapped_collection_id?: (...) | (...);
                                      organization?: (...) | (...);
                                      policies?:
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...);
                                      public: boolean;
                                      require_mfa?: (...) | (...) | (...);
                                      restrict_transfers_to_high_assurance?:
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...);
                                      root_path?: (...) | (...);
                                      sharing_restrict_paths?: unknown;
                                      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?: unknown;
                                      authentication_timeout_mins?: (...) | (...);
                                      auto_delete_timeout?: (...) | (...) | (...);
                                      collection_base_path: string;
                                      collection_type: (...) | (...);
                                      connector_id?: (...) | (...);
                                      contact_email?: (...) | (...) | (...);
                                      contact_info?: (...) | (...) | (...);
                                      created_at?: (...) | (...) | (...);
                                      DATA_TYPE: "collection#1.16.0";
                                      default_directory?: (...) | (...);
                                      delete_protected?: (...) | (...) | (...);
                                      deleted?: (...) | (...) | (...);
                                      department?: (...) | (...) | (...);
                                      description?: (...) | (...) | (...);
                                      disable_anonymous_writes?: (...) | (...) | (...);
                                      disable_verify?: (...) | (...) | (...);
                                      display_name: string;
                                      domain?: (...) | (...);
                                      domain_name?: (...) | (...);
                                      enable_https?: (...) | (...) | (...);
                                      force_encryption?: (...) | (...) | (...);
                                      force_verify?: (...) | (...) | (...);
                                      guest_auth_policy_id?: (...) | (...) | (...);
                                      high_assurance?: (...) | (...) | (...);
                                      https_methods?: (...) | (...);
                                      https_url?: (...) | (...);
                                      id?: (...) | (...);
                                      identity_id?: (...) | (...);
                                      info_link?: (...) | (...) | (...);
                                      keywords?: (...) | (...);
                                      last_access?: (...) | (...) | (...);
                                      manager_url?: (...) | (...);
                                      mapped_collection_id?: (...) | (...);
                                      organization?: (...) | (...);
                                      policies?:
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...);
                                      preserve_modtime?: (...) | (...) | (...) | (...) | (...);
                                      public: boolean;
                                      require_mfa?: (...) | (...) | (...);
                                      restrict_transfers_to_high_assurance?:
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...);
                                      root_path?: (...) | (...);
                                      sharing_restrict_paths?: unknown;
                                      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?: (...) | (...) | (...);
                                  };
                              };
                          } & ServiceMethodPayload,
                      ],
                  ) => Promise<
                      JSONFetchResponse<
                          {
                              code?: "success";
                              data?: (
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                              )[];
                          } & (
                              | {
                                  code: string;
                                  data?: (...)[];
                                  DATA_TYPE: "result#1.0.0";
                                  detail?: unknown;
                                  has_next_page: boolean;
                                  http_response_code: number;
                                  marker?: string | null;
                                  message?: string;
                              }
                              | {
                                  authorization_parameters?: { [key: ...]: ... }
                                  | null;
                                  code: string;
                                  data?: (...)[];
                                  DATA_TYPE: "result#1.1.0";
                                  detail?: unknown;
                                  has_next_page: boolean;
                                  http_response_code: number;
                                  marker?: string | null;
                                  message?: string;
                              }
                          ),
                      >,
                  >;
                  get: (
                      ...args: [
                          params: { collection_id: string } & {
                              request?: { data?: undefined; query?: { include?: ... } };
                          } & ServiceMethodPayload,
                      ],
                  ) => Promise<
                      JSONFetchResponse<
                          {
                              code?: "success";
                              data?: (
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                              )[];
                          } & (
                              | {
                                  code: string;
                                  data?: (...)[];
                                  DATA_TYPE: "result#1.0.0";
                                  detail?: unknown;
                                  has_next_page: boolean;
                                  http_response_code: number;
                                  marker?: string | null;
                                  message?: string;
                              }
                              | {
                                  authorization_parameters?: { [key: ...]: ... }
                                  | null;
                                  code: string;
                                  data?: (...)[];
                                  DATA_TYPE: "result#1.1.0";
                                  detail?: unknown;
                                  has_next_page: boolean;
                                  http_response_code: number;
                                  marker?: string | null;
                                  message?: string;
                              }
                          ),
                      >,
                  >;
                  getAll: (
                      ...args: [
                          params?: { request?: { data?: undefined; query?: (...)
                          | (...) } } & ServiceMethodPayload,
                      ],
                  ) => Promise<
                      JSONFetchResponse<
                          {
                              code?: "success";
                              data?: (
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                              )[];
                          } & (
                              | {
                                  code: string;
                                  data?: (...)[];
                                  DATA_TYPE: "result#1.0.0";
                                  detail?: unknown;
                                  has_next_page: boolean;
                                  http_response_code: number;
                                  marker?: string | null;
                                  message?: string;
                              }
                              | {
                                  authorization_parameters?: { [key: ...]: ... }
                                  | null;
                                  code: string;
                                  data?: (...)[];
                                  DATA_TYPE: "result#1.1.0";
                                  detail?: unknown;
                                  has_next_page: boolean;
                                  http_response_code: number;
                                  marker?: string | null;
                                  message?: string;
                              }
                          ),
                      >,
                  >;
                  patch: (
                      ...args: [
                          params: { collection_id: string } & {
                              request: {
                                  data: Partial<
                                      | {
                                          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?: ...;
                                      }
                                      | {
                                          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_methods?: ...;
                                          https_url?: ...;
                                          id?: ...;
                                          identity_id?: ...;
                                          info_link?: ...;
                                          keywords?: ...;
                                          last_access?: ...;
                                          manager_url?: ...;
                                          mapped_collection_id?: ...;
                                          organization?: ...;
                                          policies?: ...;
                                          preserve_modtime?: ...;
                                          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?: ...;
                                      },
                                  >;
                              };
                          } & ServiceMethodPayload,
                      ],
                  ) => Promise<
                      JSONFetchResponse<
                          | {
                              code: string;
                              data?: Record<(...), (...)>[];
                              DATA_TYPE: "result#1.0.0";
                              detail?: unknown;
                              has_next_page: boolean;
                              http_response_code: number;
                              marker?: string | null;
                              message?: string;
                          }
                          | {
                              authorization_parameters?: { [key: string]: unknown }
                              | null;
                              code: string;
                              data?: Record<(...), (...)>[];
                              DATA_TYPE: "result#1.1.0";
                              detail?: unknown;
                              has_next_page: boolean;
                              http_response_code: number;
                              marker?: string | null;
                              message?: string;
                          },
                      >,
                  >;
                  remove: (
                      ...args: [
                          params: { collection_id: string } & {
                              request?: { data?: undefined; query?: undefined };
                          } & ServiceMethodPayload,
                      ],
                  ) => Promise<
                      JSONFetchResponse<
                          | {
                              code: string;
                              data?: Record<(...), (...)>[];
                              DATA_TYPE: "result#1.0.0";
                              detail?: unknown;
                              has_next_page: boolean;
                              http_response_code: number;
                              marker?: string | null;
                              message?: string;
                          }
                          | {
                              authorization_parameters?: { [key: string]: unknown }
                              | null;
                              code: string;
                              data?: Record<(...), (...)>[];
                              DATA_TYPE: "result#1.1.0";
                              detail?: unknown;
                              has_next_page: boolean;
                              http_response_code: number;
                              marker?: string | null;
                              message?: string;
                          },
                      >,
                  >;
                  resetOwnerString: (
                      ...args: [
                          params: { collection_id: string } & {
                              request?: { data?: undefined; query?: undefined };
                          } & ServiceMethodPayload,
                      ],
                  ) => Promise<
                      JSONFetchResponse<
                          | {
                              code: string;
                              data?: Record<(...), (...)>[];
                              DATA_TYPE: "result#1.0.0";
                              detail?: unknown;
                              has_next_page: boolean;
                              http_response_code: number;
                              marker?: string | null;
                              message?: string;
                          }
                          | {
                              authorization_parameters?: { [key: string]: unknown }
                              | null;
                              code: string;
                              data?: Record<(...), (...)>[];
                              DATA_TYPE: "result#1.1.0";
                              detail?: unknown;
                              has_next_page: boolean;
                              http_response_code: number;
                              marker?: string | null;
                              message?: string;
                          },
                      >,
                  >;
                  update: (
                      ...args: [
                          params: { collection_id: string } & {
                              request: {
                                  data:
                                      | {
                                          allow_guest_collections?: (...)
                                          | (...)
                                          | (...);
                                          authentication_timeout_mins?: (...) | (...);
                                          collection_base_path: string;
                                          collection_type: (...) | (...);
                                          connector_id?: (...) | (...);
                                          contact_email?: (...) | (...) | (...);
                                          contact_info?: (...) | (...) | (...);
                                          DATA_TYPE: "collection#1.0.0";
                                          default_directory?: (...) | (...);
                                          deleted?: (...) | (...) | (...);
                                          department?: (...) | (...) | (...);
                                          description?: (...) | (...) | (...);
                                          disable_verify?: (...) | (...) | (...);
                                          display_name: string;
                                          domain_name?: (...) | (...);
                                          force_encryption?: (...) | (...) | (...);
                                          high_assurance?: (...) | (...) | (...);
                                          https_url?: (...) | (...);
                                          id?: (...) | (...);
                                          identity_id?: (...) | (...);
                                          info_link?: (...) | (...) | (...);
                                          keywords?: (...) | (...);
                                          manager_url?: (...) | (...);
                                          mapped_collection_id?: (...) | (...);
                                          organization?: (...) | (...);
                                          policies?:
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...);
                                          public: boolean;
                                          root_path?: (...) | (...);
                                          sharing_restrict_paths?: unknown;
                                          storage_gateway_id?: (...) | (...);
                                          tlsftp_url?: (...) | (...);
                                          user_credential_id?: (...) | (...);
                                      }
                                      | {
                                          allow_guest_collections?: (...)
                                          | (...)
                                          | (...);
                                          authentication_timeout_mins?: (...) | (...);
                                          collection_base_path: string;
                                          collection_type: (...) | (...);
                                          connector_id?: (...) | (...);
                                          contact_email?: (...) | (...) | (...);
                                          contact_info?: (...) | (...) | (...);
                                          DATA_TYPE: "collection#1.1.0";
                                          default_directory?: (...) | (...);
                                          deleted?: (...) | (...) | (...);
                                          department?: (...) | (...) | (...);
                                          description?: (...) | (...) | (...);
                                          disable_verify?: (...) | (...) | (...);
                                          display_name: string;
                                          domain_name?: (...) | (...);
                                          enable_https?: (...) | (...) | (...);
                                          force_encryption?: (...) | (...) | (...);
                                          high_assurance?: (...) | (...) | (...);
                                          https_url?: (...) | (...);
                                          id?: (...) | (...);
                                          identity_id?: (...) | (...);
                                          info_link?: (...) | (...) | (...);
                                          keywords?: (...) | (...);
                                          manager_url?: (...) | (...);
                                          mapped_collection_id?: (...) | (...);
                                          organization?: (...) | (...);
                                          policies?:
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...);
                                          public: boolean;
                                          root_path?: (...) | (...);
                                          sharing_restrict_paths?: unknown;
                                          storage_gateway_id?: (...) | (...);
                                          tlsftp_url?: (...) | (...);
                                          user_credential_id?: (...) | (...);
                                          user_message?: (...) | (...) | (...);
                                          user_message_link?: (...) | (...) | (...);
                                      }
                                      | {
                                          allow_guest_collections?: (...)
                                          | (...)
                                          | (...);
                                          authentication_timeout_mins?: (...) | (...);
                                          collection_base_path: string;
                                          collection_type: (...) | (...);
                                          connector_id?: (...) | (...);
                                          contact_email?: (...) | (...) | (...);
                                          contact_info?: (...) | (...) | (...);
                                          DATA_TYPE: "collection#1.2.0";
                                          default_directory?: (...) | (...);
                                          deleted?: (...) | (...) | (...);
                                          department?: (...) | (...) | (...);
                                          description?: (...) | (...) | (...);
                                          disable_verify?: (...) | (...) | (...);
                                          display_name: string;
                                          domain_name?: (...) | (...);
                                          enable_https?: (...) | (...) | (...);
                                          force_encryption?: (...) | (...) | (...);
                                          high_assurance?: (...) | (...) | (...);
                                          https_url?: (...) | (...);
                                          id?: (...) | (...);
                                          identity_id?: (...) | (...);
                                          info_link?: (...) | (...) | (...);
                                          keywords?: (...) | (...);
                                          manager_url?: (...) | (...);
                                          mapped_collection_id?: (...) | (...);
                                          organization?: (...) | (...);
                                          policies?:
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...);
                                          public: boolean;
                                          root_path?: (...) | (...);
                                          sharing_restrict_paths?: unknown;
                                          sharing_users_allow?: (...) | (...) | (...);
                                          sharing_users_deny?: (...) | (...) | (...);
                                          storage_gateway_id?: (...) | (...);
                                          tlsftp_url?: (...) | (...);
                                          user_credential_id?: (...) | (...);
                                          user_message?: (...) | (...) | (...);
                                          user_message_link?: (...) | (...) | (...);
                                      }
                                      | {
                                          allow_guest_collections?: (...)
                                          | (...)
                                          | (...);
                                          authentication_timeout_mins?: (...) | (...);
                                          collection_base_path: string;
                                          collection_type: (...) | (...);
                                          connector_id?: (...) | (...);
                                          contact_email?: (...) | (...) | (...);
                                          contact_info?: (...) | (...) | (...);
                                          DATA_TYPE: "collection#1.3.0";
                                          default_directory?: (...) | (...);
                                          deleted?: (...) | (...) | (...);
                                          department?: (...) | (...) | (...);
                                          description?: (...) | (...) | (...);
                                          disable_verify?: (...) | (...) | (...);
                                          display_name: string;
                                          domain?: (...) | (...);
                                          domain_name?: (...) | (...);
                                          enable_https?: (...) | (...) | (...);
                                          force_encryption?: (...) | (...) | (...);
                                          high_assurance?: (...) | (...) | (...);
                                          https_url?: (...) | (...);
                                          id?: (...) | (...);
                                          identity_id?: (...) | (...);
                                          info_link?: (...) | (...) | (...);
                                          keywords?: (...) | (...);
                                          manager_url?: (...) | (...);
                                          mapped_collection_id?: (...) | (...);
                                          organization?: (...) | (...);
                                          policies?:
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...);
                                          public: boolean;
                                          root_path?: (...) | (...);
                                          sharing_restrict_paths?: unknown;
                                          sharing_users_allow?: (...) | (...) | (...);
                                          sharing_users_deny?: (...) | (...) | (...);
                                          storage_gateway_id?: (...) | (...);
                                          tlsftp_url?: (...) | (...);
                                          user_credential_id?: (...) | (...);
                                          user_message?: (...) | (...) | (...);
                                          user_message_link?: (...) | (...) | (...);
                                      }
                                      | {
                                          allow_guest_collections?: (...)
                                          | (...)
                                          | (...);
                                          authentication_timeout_mins?: (...) | (...);
                                          collection_base_path: string;
                                          collection_type: (...) | (...);
                                          connector_id?: (...) | (...);
                                          contact_email?: (...) | (...) | (...);
                                          contact_info?: (...) | (...) | (...);
                                          DATA_TYPE: "collection#1.4.0";
                                          default_directory?: (...) | (...);
                                          deleted?: (...) | (...) | (...);
                                          department?: (...) | (...) | (...);
                                          description?: (...) | (...) | (...);
                                          disable_verify?: (...) | (...) | (...);
                                          display_name: string;
                                          domain?: (...) | (...);
                                          domain_name?: (...) | (...);
                                          enable_https?: (...) | (...) | (...);
                                          force_encryption?: (...) | (...) | (...);
                                          force_verify?: (...) | (...) | (...);
                                          high_assurance?: (...) | (...) | (...);
                                          https_url?: (...) | (...);
                                          id?: (...) | (...);
                                          identity_id?: (...) | (...);
                                          info_link?: (...) | (...) | (...);
                                          keywords?: (...) | (...);
                                          manager_url?: (...) | (...);
                                          mapped_collection_id?: (...) | (...);
                                          organization?: (...) | (...);
                                          policies?:
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...);
                                          public: boolean;
                                          require_mfa?: (...) | (...) | (...);
                                          root_path?: (...) | (...);
                                          sharing_restrict_paths?: unknown;
                                          sharing_users_allow?: (...) | (...) | (...);
                                          sharing_users_deny?: (...) | (...) | (...);
                                          storage_gateway_id?: (...) | (...);
                                          tlsftp_url?: (...) | (...);
                                          user_credential_id?: (...) | (...);
                                          user_message?: (...) | (...) | (...);
                                          user_message_link?: (...) | (...) | (...);
                                      }
                                      | {
                                          allow_guest_collections?: (...)
                                          | (...)
                                          | (...);
                                          authentication_timeout_mins?: (...) | (...);
                                          collection_base_path: string;
                                          collection_type: (...) | (...);
                                          connector_id?: (...) | (...);
                                          contact_email?: (...) | (...) | (...);
                                          contact_info?: (...) | (...) | (...);
                                          DATA_TYPE: "collection#1.5.0";
                                          default_directory?: (...) | (...);
                                          deleted?: (...) | (...) | (...);
                                          department?: (...) | (...) | (...);
                                          description?: (...) | (...) | (...);
                                          disable_anonymous_writes?: (...) | (...) | (...);
                                          disable_verify?: (...) | (...) | (...);
                                          display_name: string;
                                          domain?: (...) | (...);
                                          domain_name?: (...) | (...);
                                          enable_https?: (...) | (...) | (...);
                                          force_encryption?: (...) | (...) | (...);
                                          force_verify?: (...) | (...) | (...);
                                          high_assurance?: (...) | (...) | (...);
                                          https_url?: (...) | (...);
                                          id?: (...) | (...);
                                          identity_id?: (...) | (...);
                                          info_link?: (...) | (...) | (...);
                                          keywords?: (...) | (...);
                                          manager_url?: (...) | (...);
                                          mapped_collection_id?: (...) | (...);
                                          organization?: (...) | (...);
                                          policies?:
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...);
                                          public: boolean;
                                          require_mfa?: (...) | (...) | (...);
                                          root_path?: (...) | (...);
                                          sharing_restrict_paths?: unknown;
                                          sharing_users_allow?: (...) | (...) | (...);
                                          sharing_users_deny?: (...) | (...) | (...);
                                          storage_gateway_id?: (...) | (...);
                                          tlsftp_url?: (...) | (...);
                                          user_credential_id?: (...) | (...);
                                          user_message?: (...) | (...) | (...);
                                          user_message_link?: (...) | (...) | (...);
                                      }
                                      | {
                                          allow_guest_collections?: (...)
                                          | (...)
                                          | (...);
                                          authentication_timeout_mins?: (...) | (...);
                                          collection_base_path: string;
                                          collection_type: (...) | (...);
                                          connector_id?: (...) | (...);
                                          contact_email?: (...) | (...) | (...);
                                          contact_info?: (...) | (...) | (...);
                                          DATA_TYPE: "collection#1.6.0";
                                          default_directory?: (...) | (...);
                                          deleted?: (...) | (...) | (...);
                                          department?: (...) | (...) | (...);
                                          description?: (...) | (...) | (...);
                                          disable_anonymous_writes?: (...) | (...) | (...);
                                          disable_verify?: (...) | (...) | (...);
                                          display_name: string;
                                          domain?: (...) | (...);
                                          domain_name?: (...) | (...);
                                          enable_https?: (...) | (...) | (...);
                                          force_encryption?: (...) | (...) | (...);
                                          force_verify?: (...) | (...) | (...);
                                          guest_auth_policy_id?: (...) | (...) | (...);
                                          high_assurance?: (...) | (...) | (...);
                                          https_url?: (...) | (...);
                                          id?: (...) | (...);
                                          identity_id?: (...) | (...);
                                          info_link?: (...) | (...) | (...);
                                          keywords?: (...) | (...);
                                          manager_url?: (...) | (...);
                                          mapped_collection_id?: (...) | (...);
                                          organization?: (...) | (...);
                                          policies?:
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...);
                                          public: boolean;
                                          require_mfa?: (...) | (...) | (...);
                                          root_path?: (...) | (...);
                                          sharing_restrict_paths?: unknown;
                                          sharing_users_allow?: (...) | (...) | (...);
                                          sharing_users_deny?: (...) | (...) | (...);
                                          storage_gateway_id?: (...) | (...);
                                          tlsftp_url?: (...) | (...);
                                          user_credential_id?: (...) | (...);
                                          user_message?: (...) | (...) | (...);
                                          user_message_link?: (...) | (...) | (...);
                                      }
                                      | {
                                          allow_guest_collections?: (...)
                                          | (...)
                                          | (...);
                                          authentication_timeout_mins?: (...) | (...);
                                          collection_base_path: string;
                                          collection_type: (...) | (...);
                                          connector_id?: (...) | (...);
                                          contact_email?: (...) | (...) | (...);
                                          contact_info?: (...) | (...) | (...);
                                          DATA_TYPE: "collection#1.7.0";
                                          default_directory?: (...) | (...);
                                          deleted?: (...) | (...) | (...);
                                          department?: (...) | (...) | (...);
                                          description?: (...) | (...) | (...);
                                          disable_anonymous_writes?: (...) | (...) | (...);
                                          disable_verify?: (...) | (...) | (...);
                                          display_name: string;
                                          domain?: (...) | (...);
                                          domain_name?: (...) | (...);
                                          enable_https?: (...) | (...) | (...);
                                          force_encryption?: (...) | (...) | (...);
                                          force_verify?: (...) | (...) | (...);
                                          guest_auth_policy_id?: (...) | (...) | (...);
                                          high_assurance?: (...) | (...) | (...);
                                          https_url?: (...) | (...);
                                          id?: (...) | (...);
                                          identity_id?: (...) | (...);
                                          info_link?: (...) | (...) | (...);
                                          keywords?: (...) | (...);
                                          manager_url?: (...) | (...);
                                          mapped_collection_id?: (...) | (...);
                                          organization?: (...) | (...);
                                          policies?:
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...);
                                          public: boolean;
                                          require_mfa?: (...) | (...) | (...);
                                          root_path?: (...) | (...);
                                          sharing_restrict_paths?: unknown;
                                          sharing_users_allow?: (...) | (...) | (...);
                                          sharing_users_deny?: (...) | (...) | (...);
                                          storage_gateway_id?: (...) | (...);
                                          tlsftp_url?: (...) | (...);
                                          user_credential_id?: (...) | (...);
                                          user_message?: (...) | (...) | (...);
                                          user_message_link?: (...) | (...) | (...);
                                      }
                                      | {
                                          allow_guest_collections?: (...)
                                          | (...)
                                          | (...);
                                          authentication_timeout_mins?: (...) | (...);
                                          collection_base_path: string;
                                          collection_type: (...) | (...);
                                          connector_id?: (...) | (...);
                                          contact_email?: (...) | (...) | (...);
                                          contact_info?: (...) | (...) | (...);
                                          DATA_TYPE: "collection#1.8.0";
                                          default_directory?: (...) | (...);
                                          delete_protected?: (...) | (...) | (...);
                                          deleted?: (...) | (...) | (...);
                                          department?: (...) | (...) | (...);
                                          description?: (...) | (...) | (...);
                                          disable_anonymous_writes?: (...) | (...) | (...);
                                          disable_verify?: (...) | (...) | (...);
                                          display_name: string;
                                          domain?: (...) | (...);
                                          domain_name?: (...) | (...);
                                          enable_https?: (...) | (...) | (...);
                                          force_encryption?: (...) | (...) | (...);
                                          force_verify?: (...) | (...) | (...);
                                          guest_auth_policy_id?: (...) | (...) | (...);
                                          high_assurance?: (...) | (...) | (...);
                                          https_url?: (...) | (...);
                                          id?: (...) | (...);
                                          identity_id?: (...) | (...);
                                          info_link?: (...) | (...) | (...);
                                          keywords?: (...) | (...);
                                          manager_url?: (...) | (...);
                                          mapped_collection_id?: (...) | (...);
                                          organization?: (...) | (...);
                                          policies?:
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...);
                                          public: boolean;
                                          require_mfa?: (...) | (...) | (...);
                                          root_path?: (...) | (...);
                                          sharing_restrict_paths?: unknown;
                                          sharing_users_allow?: (...) | (...) | (...);
                                          sharing_users_deny?: (...) | (...) | (...);
                                          storage_gateway_id?: (...) | (...);
                                          tlsftp_url?: (...) | (...);
                                          user_credential_id?: (...) | (...);
                                          user_message?: (...) | (...) | (...);
                                          user_message_link?: (...) | (...) | (...);
                                      }
                                      | {
                                          allow_guest_collections?: (...)
                                          | (...)
                                          | (...);
                                          authentication_timeout_mins?: (...) | (...);
                                          collection_base_path: string;
                                          collection_type: (...) | (...);
                                          connector_id?: (...) | (...);
                                          contact_email?: (...) | (...) | (...);
                                          contact_info?: (...) | (...) | (...);
                                          created_at?: (...) | (...) | (...);
                                          DATA_TYPE: "collection#1.9.0";
                                          default_directory?: (...) | (...);
                                          delete_protected?: (...) | (...) | (...);
                                          deleted?: (...) | (...) | (...);
                                          department?: (...) | (...) | (...);
                                          description?: (...) | (...) | (...);
                                          disable_anonymous_writes?: (...) | (...) | (...);
                                          disable_verify?: (...) | (...) | (...);
                                          display_name: string;
                                          domain?: (...) | (...);
                                          domain_name?: (...) | (...);
                                          enable_https?: (...) | (...) | (...);
                                          force_encryption?: (...) | (...) | (...);
                                          force_verify?: (...) | (...) | (...);
                                          guest_auth_policy_id?: (...) | (...) | (...);
                                          high_assurance?: (...) | (...) | (...);
                                          https_url?: (...) | (...);
                                          id?: (...) | (...);
                                          identity_id?: (...) | (...);
                                          info_link?: (...) | (...) | (...);
                                          keywords?: (...) | (...);
                                          last_access?: (...) | (...) | (...);
                                          manager_url?: (...) | (...);
                                          mapped_collection_id?: (...) | (...);
                                          organization?: (...) | (...);
                                          policies?:
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...);
                                          public: boolean;
                                          require_mfa?: (...) | (...) | (...);
                                          root_path?: (...) | (...);
                                          sharing_restrict_paths?: unknown;
                                          sharing_users_allow?: (...) | (...) | (...);
                                          sharing_users_deny?: (...) | (...) | (...);
                                          storage_gateway_id?: (...) | (...);
                                          tlsftp_url?: (...) | (...);
                                          user_credential_id?: (...) | (...);
                                          user_message?: (...) | (...) | (...);
                                          user_message_link?: (...) | (...) | (...);
                                      }
                                      | {
                                          acl_expiration_mins?: (...)
                                          | (...)
                                          | (...);
                                          allow_guest_collections?: (...) | (...) | (...);
                                          authentication_timeout_mins?: (...) | (...);
                                          collection_base_path: string;
                                          collection_type: (...) | (...);
                                          connector_id?: (...) | (...);
                                          contact_email?: (...) | (...) | (...);
                                          contact_info?: (...) | (...) | (...);
                                          created_at?: (...) | (...) | (...);
                                          DATA_TYPE: "collection#1.10.0";
                                          default_directory?: (...) | (...);
                                          delete_protected?: (...) | (...) | (...);
                                          deleted?: (...) | (...) | (...);
                                          department?: (...) | (...) | (...);
                                          description?: (...) | (...) | (...);
                                          disable_anonymous_writes?: (...) | (...) | (...);
                                          disable_verify?: (...) | (...) | (...);
                                          display_name: string;
                                          domain?: (...) | (...);
                                          domain_name?: (...) | (...);
                                          enable_https?: (...) | (...) | (...);
                                          force_encryption?: (...) | (...) | (...);
                                          force_verify?: (...) | (...) | (...);
                                          guest_auth_policy_id?: (...) | (...) | (...);
                                          high_assurance?: (...) | (...) | (...);
                                          https_url?: (...) | (...);
                                          id?: (...) | (...);
                                          identity_id?: (...) | (...);
                                          info_link?: (...) | (...) | (...);
                                          keywords?: (...) | (...);
                                          last_access?: (...) | (...) | (...);
                                          manager_url?: (...) | (...);
                                          mapped_collection_id?: (...) | (...);
                                          organization?: (...) | (...);
                                          policies?:
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...);
                                          public: boolean;
                                          require_mfa?: (...) | (...) | (...);
                                          root_path?: (...) | (...);
                                          sharing_restrict_paths?: unknown;
                                          sharing_users_allow?: (...) | (...) | (...);
                                          sharing_users_deny?: (...) | (...) | (...);
                                          storage_gateway_id?: (...) | (...);
                                          tlsftp_url?: (...) | (...);
                                          user_credential_id?: (...) | (...);
                                          user_message?: (...) | (...) | (...);
                                          user_message_link?: (...) | (...) | (...);
                                      }
                                      | {
                                          acl_expiration_mins?: (...)
                                          | (...)
                                          | (...);
                                          allow_guest_collections?: (...) | (...) | (...);
                                          authentication_timeout_mins?: (...) | (...);
                                          collection_base_path: string;
                                          collection_type: (...) | (...);
                                          connector_id?: (...) | (...);
                                          contact_email?: (...) | (...) | (...);
                                          contact_info?: (...) | (...) | (...);
                                          created_at?: (...) | (...) | (...);
                                          DATA_TYPE: "collection#1.11.0";
                                          default_directory?: (...) | (...);
                                          delete_protected?: (...) | (...) | (...);
                                          deleted?: (...) | (...) | (...);
                                          department?: (...) | (...) | (...);
                                          description?: (...) | (...) | (...);
                                          disable_anonymous_writes?: (...) | (...) | (...);
                                          disable_verify?: (...) | (...) | (...);
                                          display_name: string;
                                          domain?: (...) | (...);
                                          domain_name?: (...) | (...);
                                          enable_https?: (...) | (...) | (...);
                                          force_encryption?: (...) | (...) | (...);
                                          force_verify?: (...) | (...) | (...);
                                          guest_auth_policy_id?: (...) | (...) | (...);
                                          high_assurance?: (...) | (...) | (...);
                                          https_url?: (...) | (...);
                                          id?: (...) | (...);
                                          identity_id?: (...) | (...);
                                          info_link?: (...) | (...) | (...);
                                          keywords?: (...) | (...);
                                          last_access?: (...) | (...) | (...);
                                          manager_url?: (...) | (...);
                                          mapped_collection_id?: (...) | (...);
                                          organization?: (...) | (...);
                                          policies?:
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...);
                                          public: boolean;
                                          require_mfa?: (...) | (...) | (...);
                                          root_path?: (...) | (...);
                                          sharing_restrict_paths?: unknown;
                                          sharing_users_allow?: (...) | (...) | (...);
                                          sharing_users_deny?: (...) | (...) | (...);
                                          storage_gateway_id?: (...) | (...);
                                          tlsftp_url?: (...) | (...);
                                          user_credential_id?: (...) | (...);
                                          user_message?: (...) | (...) | (...);
                                          user_message_link?: (...) | (...) | (...);
                                      }
                                      | {
                                          acl_expiration_mins?: (...)
                                          | (...)
                                          | (...);
                                          allow_guest_collections?: (...) | (...) | (...);
                                          authentication_timeout_mins?: (...) | (...);
                                          collection_base_path: string;
                                          collection_type: (...) | (...);
                                          connector_id?: (...) | (...);
                                          contact_email?: (...) | (...) | (...);
                                          contact_info?: (...) | (...) | (...);
                                          created_at?: (...) | (...) | (...);
                                          DATA_TYPE: "collection#1.12.0";
                                          default_directory?: (...) | (...);
                                          delete_protected?: (...) | (...) | (...);
                                          deleted?: (...) | (...) | (...);
                                          department?: (...) | (...) | (...);
                                          description?: (...) | (...) | (...);
                                          disable_anonymous_writes?: (...) | (...) | (...);
                                          disable_verify?: (...) | (...) | (...);
                                          display_name: string;
                                          domain?: (...) | (...);
                                          domain_name?: (...) | (...);
                                          enable_https?: (...) | (...) | (...);
                                          force_encryption?: (...) | (...) | (...);
                                          force_verify?: (...) | (...) | (...);
                                          guest_auth_policy_id?: (...) | (...) | (...);
                                          high_assurance?: (...) | (...) | (...);
                                          https_url?: (...) | (...);
                                          id?: (...) | (...);
                                          identity_id?: (...) | (...);
                                          info_link?: (...) | (...) | (...);
                                          keywords?: (...) | (...);
                                          last_access?: (...) | (...) | (...);
                                          manager_url?: (...) | (...);
                                          mapped_collection_id?: (...) | (...);
                                          organization?: (...) | (...);
                                          policies?:
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...);
                                          public: boolean;
                                          require_mfa?: (...) | (...) | (...);
                                          restrict_transfers_to_high_assurance?:
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...);
                                          root_path?: (...) | (...);
                                          sharing_restrict_paths?: unknown;
                                          sharing_users_allow?: (...) | (...) | (...);
                                          sharing_users_deny?: (...) | (...) | (...);
                                          storage_gateway_id?: (...) | (...);
                                          tlsftp_url?: (...) | (...);
                                          user_credential_id?: (...) | (...);
                                          user_message?: (...) | (...) | (...);
                                          user_message_link?: (...) | (...) | (...);
                                      }
                                      | {
                                          acl_expiration_mins?: (...)
                                          | (...)
                                          | (...);
                                          allow_guest_collections?: (...) | (...) | (...);
                                          authentication_timeout_mins?: (...) | (...);
                                          auto_delete_timeout?: (...) | (...) | (...);
                                          collection_base_path: string;
                                          collection_type: (...) | (...);
                                          connector_id?: (...) | (...);
                                          contact_email?: (...) | (...) | (...);
                                          contact_info?: (...) | (...) | (...);
                                          created_at?: (...) | (...) | (...);
                                          DATA_TYPE: "collection#1.13.0";
                                          default_directory?: (...) | (...);
                                          delete_protected?: (...) | (...) | (...);
                                          deleted?: (...) | (...) | (...);
                                          department?: (...) | (...) | (...);
                                          description?: (...) | (...) | (...);
                                          disable_anonymous_writes?: (...) | (...) | (...);
                                          disable_verify?: (...) | (...) | (...);
                                          display_name: string;
                                          domain?: (...) | (...);
                                          domain_name?: (...) | (...);
                                          enable_https?: (...) | (...) | (...);
                                          force_encryption?: (...) | (...) | (...);
                                          force_verify?: (...) | (...) | (...);
                                          guest_auth_policy_id?: (...) | (...) | (...);
                                          high_assurance?: (...) | (...) | (...);
                                          https_url?: (...) | (...);
                                          id?: (...) | (...);
                                          identity_id?: (...) | (...);
                                          info_link?: (...) | (...) | (...);
                                          keywords?: (...) | (...);
                                          last_access?: (...) | (...) | (...);
                                          manager_url?: (...) | (...);
                                          mapped_collection_id?: (...) | (...);
                                          organization?: (...) | (...);
                                          policies?:
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...);
                                          public: boolean;
                                          require_mfa?: (...) | (...) | (...);
                                          restrict_transfers_to_high_assurance?:
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...);
                                          root_path?: (...) | (...);
                                          sharing_restrict_paths?: unknown;
                                          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: string;
                                          collection_type: (...) | (...);
                                          connector_id?: (...) | (...);
                                          contact_email?: (...) | (...) | (...);
                                          contact_info?: (...) | (...) | (...);
                                          created_at?: (...) | (...) | (...);
                                          DATA_TYPE: "collection#1.14.0";
                                          default_directory?: (...) | (...);
                                          delete_protected?: (...) | (...) | (...);
                                          deleted?: (...) | (...) | (...);
                                          department?: (...) | (...) | (...);
                                          description?: (...) | (...) | (...);
                                          disable_anonymous_writes?: (...) | (...) | (...);
                                          disable_verify?: (...) | (...) | (...);
                                          display_name: string;
                                          domain?: (...) | (...);
                                          domain_name?: (...) | (...);
                                          enable_https?: (...) | (...) | (...);
                                          force_encryption?: (...) | (...) | (...);
                                          force_verify?: (...) | (...) | (...);
                                          guest_auth_policy_id?: (...) | (...) | (...);
                                          high_assurance?: (...) | (...) | (...);
                                          https_url?: (...) | (...);
                                          id?: (...) | (...);
                                          identity_id?: (...) | (...);
                                          info_link?: (...) | (...) | (...);
                                          keywords?: (...) | (...);
                                          last_access?: (...) | (...) | (...);
                                          manager_url?: (...) | (...);
                                          mapped_collection_id?: (...) | (...);
                                          organization?: (...) | (...);
                                          policies?:
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...);
                                          public: boolean;
                                          require_mfa?: (...) | (...) | (...);
                                          restrict_transfers_to_high_assurance?:
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...);
                                          root_path?: (...) | (...);
                                          sharing_restrict_paths?: unknown;
                                          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?: unknown;
                                          authentication_timeout_mins?: (...) | (...);
                                          auto_delete_timeout?: (...) | (...) | (...);
                                          collection_base_path: string;
                                          collection_type: (...) | (...);
                                          connector_id?: (...) | (...);
                                          contact_email?: (...) | (...) | (...);
                                          contact_info?: (...) | (...) | (...);
                                          created_at?: (...) | (...) | (...);
                                          DATA_TYPE: "collection#1.15.0";
                                          default_directory?: (...) | (...);
                                          delete_protected?: (...) | (...) | (...);
                                          deleted?: (...) | (...) | (...);
                                          department?: (...) | (...) | (...);
                                          description?: (...) | (...) | (...);
                                          disable_anonymous_writes?: (...) | (...) | (...);
                                          disable_verify?: (...) | (...) | (...);
                                          display_name: string;
                                          domain?: (...) | (...);
                                          domain_name?: (...) | (...);
                                          enable_https?: (...) | (...) | (...);
                                          force_encryption?: (...) | (...) | (...);
                                          force_verify?: (...) | (...) | (...);
                                          guest_auth_policy_id?: (...) | (...) | (...);
                                          high_assurance?: (...) | (...) | (...);
                                          https_url?: (...) | (...);
                                          id?: (...) | (...);
                                          identity_id?: (...) | (...);
                                          info_link?: (...) | (...) | (...);
                                          keywords?: (...) | (...);
                                          last_access?: (...) | (...) | (...);
                                          manager_url?: (...) | (...);
                                          mapped_collection_id?: (...) | (...);
                                          organization?: (...) | (...);
                                          policies?:
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...);
                                          public: boolean;
                                          require_mfa?: (...) | (...) | (...);
                                          restrict_transfers_to_high_assurance?:
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...);
                                          root_path?: (...) | (...);
                                          sharing_restrict_paths?: unknown;
                                          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?: unknown;
                                          authentication_timeout_mins?: (...) | (...);
                                          auto_delete_timeout?: (...) | (...) | (...);
                                          collection_base_path: string;
                                          collection_type: (...) | (...);
                                          connector_id?: (...) | (...);
                                          contact_email?: (...) | (...) | (...);
                                          contact_info?: (...) | (...) | (...);
                                          created_at?: (...) | (...) | (...);
                                          DATA_TYPE: "collection#1.16.0";
                                          default_directory?: (...) | (...);
                                          delete_protected?: (...) | (...) | (...);
                                          deleted?: (...) | (...) | (...);
                                          department?: (...) | (...) | (...);
                                          description?: (...) | (...) | (...);
                                          disable_anonymous_writes?: (...) | (...) | (...);
                                          disable_verify?: (...) | (...) | (...);
                                          display_name: string;
                                          domain?: (...) | (...);
                                          domain_name?: (...) | (...);
                                          enable_https?: (...) | (...) | (...);
                                          force_encryption?: (...) | (...) | (...);
                                          force_verify?: (...) | (...) | (...);
                                          guest_auth_policy_id?: (...) | (...) | (...);
                                          high_assurance?: (...) | (...) | (...);
                                          https_methods?: (...) | (...);
                                          https_url?: (...) | (...);
                                          id?: (...) | (...);
                                          identity_id?: (...) | (...);
                                          info_link?: (...) | (...) | (...);
                                          keywords?: (...) | (...);
                                          last_access?: (...) | (...) | (...);
                                          manager_url?: (...) | (...);
                                          mapped_collection_id?: (...) | (...);
                                          organization?: (...) | (...);
                                          policies?:
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...);
                                          preserve_modtime?: (...) | (...) | (...) | (...) | (...);
                                          public: boolean;
                                          require_mfa?: (...) | (...) | (...);
                                          restrict_transfers_to_high_assurance?:
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...);
                                          root_path?: (...) | (...);
                                          sharing_restrict_paths?: unknown;
                                          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?: (...) | (...) | (...);
                                      };
                              };
                          } & ServiceMethodPayload,
                      ],
                  ) => Promise<
                      JSONFetchResponse<
                          | {
                              code: string;
                              data?: Record<(...), (...)>[];
                              DATA_TYPE: "result#1.0.0";
                              detail?: unknown;
                              has_next_page: boolean;
                              http_response_code: number;
                              marker?: string | null;
                              message?: string;
                          }
                          | {
                              authorization_parameters?: { [key: string]: unknown }
                              | null;
                              code: string;
                              data?: Record<(...), (...)>[];
                              DATA_TYPE: "result#1.1.0";
                              detail?: unknown;
                              has_next_page: boolean;
                              http_response_code: number;
                              marker?: string | null;
                              message?: string;
                          },
                      >,
                  >;
                  updateOwnerString: (
                      ...args: [
                          params: { collection_id: string } & {
                              request: { data: Partial<(...)[(...)]["application/json"]> };
                          } & ServiceMethodPayload,
                      ],
                  ) => Promise<
                      JSONFetchResponse<
                          | {
                              code: string;
                              data?: Record<(...), (...)>[];
                              DATA_TYPE: "result#1.0.0";
                              detail?: unknown;
                              has_next_page: boolean;
                              http_response_code: number;
                              marker?: string | null;
                              message?: string;
                          }
                          | {
                              authorization_parameters?: { [key: string]: unknown }
                              | null;
                              code: string;
                              data?: Record<(...), (...)>[];
                              DATA_TYPE: "result#1.1.0";
                              detail?: unknown;
                              has_next_page: boolean;
                              http_response_code: number;
                              marker?: string | null;
                              message?: string;
                          },
                      >,
                  >;
              };
              patch: (
                  ...args: [
                      collection_id: string,
                      options: {
                          payload: Partial<
                              | {
                                  allow_guest_collections?: (...)
                                  | (...)
                                  | (...);
                                  authentication_timeout_mins?: (...) | (...);
                                  collection_base_path: string;
                                  collection_type: (...) | (...);
                                  connector_id?: (...) | (...);
                                  contact_email?: (...) | (...) | (...);
                                  contact_info?: (...) | (...) | (...);
                                  DATA_TYPE: "collection#1.0.0";
                                  default_directory?: (...) | (...);
                                  deleted?: (...) | (...) | (...);
                                  department?: (...) | (...) | (...);
                                  description?: (...) | (...) | (...);
                                  disable_verify?: (...) | (...) | (...);
                                  display_name: string;
                                  domain_name?: (...) | (...);
                                  force_encryption?: (...) | (...) | (...);
                                  high_assurance?: (...) | (...) | (...);
                                  https_url?: (...) | (...);
                                  id?: (...) | (...);
                                  identity_id?: (...) | (...);
                                  info_link?: (...) | (...) | (...);
                                  keywords?: (...) | (...);
                                  manager_url?: (...) | (...);
                                  mapped_collection_id?: (...) | (...);
                                  organization?: (...) | (...);
                                  policies?:
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...);
                                  public: boolean;
                                  root_path?: (...) | (...);
                                  sharing_restrict_paths?: unknown;
                                  storage_gateway_id?: (...) | (...);
                                  tlsftp_url?: (...) | (...);
                                  user_credential_id?: (...) | (...);
                              }
                              | {
                                  allow_guest_collections?: (...)
                                  | (...)
                                  | (...);
                                  authentication_timeout_mins?: (...) | (...);
                                  collection_base_path: string;
                                  collection_type: (...) | (...);
                                  connector_id?: (...) | (...);
                                  contact_email?: (...) | (...) | (...);
                                  contact_info?: (...) | (...) | (...);
                                  DATA_TYPE: "collection#1.1.0";
                                  default_directory?: (...) | (...);
                                  deleted?: (...) | (...) | (...);
                                  department?: (...) | (...) | (...);
                                  description?: (...) | (...) | (...);
                                  disable_verify?: (...) | (...) | (...);
                                  display_name: string;
                                  domain_name?: (...) | (...);
                                  enable_https?: (...) | (...) | (...);
                                  force_encryption?: (...) | (...) | (...);
                                  high_assurance?: (...) | (...) | (...);
                                  https_url?: (...) | (...);
                                  id?: (...) | (...);
                                  identity_id?: (...) | (...);
                                  info_link?: (...) | (...) | (...);
                                  keywords?: (...) | (...);
                                  manager_url?: (...) | (...);
                                  mapped_collection_id?: (...) | (...);
                                  organization?: (...) | (...);
                                  policies?:
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...);
                                  public: boolean;
                                  root_path?: (...) | (...);
                                  sharing_restrict_paths?: unknown;
                                  storage_gateway_id?: (...) | (...);
                                  tlsftp_url?: (...) | (...);
                                  user_credential_id?: (...) | (...);
                                  user_message?: (...) | (...) | (...);
                                  user_message_link?: (...) | (...) | (...);
                              }
                              | {
                                  allow_guest_collections?: (...)
                                  | (...)
                                  | (...);
                                  authentication_timeout_mins?: (...) | (...);
                                  collection_base_path: string;
                                  collection_type: (...) | (...);
                                  connector_id?: (...) | (...);
                                  contact_email?: (...) | (...) | (...);
                                  contact_info?: (...) | (...) | (...);
                                  DATA_TYPE: "collection#1.2.0";
                                  default_directory?: (...) | (...);
                                  deleted?: (...) | (...) | (...);
                                  department?: (...) | (...) | (...);
                                  description?: (...) | (...) | (...);
                                  disable_verify?: (...) | (...) | (...);
                                  display_name: string;
                                  domain_name?: (...) | (...);
                                  enable_https?: (...) | (...) | (...);
                                  force_encryption?: (...) | (...) | (...);
                                  high_assurance?: (...) | (...) | (...);
                                  https_url?: (...) | (...);
                                  id?: (...) | (...);
                                  identity_id?: (...) | (...);
                                  info_link?: (...) | (...) | (...);
                                  keywords?: (...) | (...);
                                  manager_url?: (...) | (...);
                                  mapped_collection_id?: (...) | (...);
                                  organization?: (...) | (...);
                                  policies?:
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...);
                                  public: boolean;
                                  root_path?: (...) | (...);
                                  sharing_restrict_paths?: unknown;
                                  sharing_users_allow?: (...) | (...) | (...);
                                  sharing_users_deny?: (...) | (...) | (...);
                                  storage_gateway_id?: (...) | (...);
                                  tlsftp_url?: (...) | (...);
                                  user_credential_id?: (...) | (...);
                                  user_message?: (...) | (...) | (...);
                                  user_message_link?: (...) | (...) | (...);
                              }
                              | {
                                  allow_guest_collections?: (...)
                                  | (...)
                                  | (...);
                                  authentication_timeout_mins?: (...) | (...);
                                  collection_base_path: string;
                                  collection_type: (...) | (...);
                                  connector_id?: (...) | (...);
                                  contact_email?: (...) | (...) | (...);
                                  contact_info?: (...) | (...) | (...);
                                  DATA_TYPE: "collection#1.3.0";
                                  default_directory?: (...) | (...);
                                  deleted?: (...) | (...) | (...);
                                  department?: (...) | (...) | (...);
                                  description?: (...) | (...) | (...);
                                  disable_verify?: (...) | (...) | (...);
                                  display_name: string;
                                  domain?: (...) | (...);
                                  domain_name?: (...) | (...);
                                  enable_https?: (...) | (...) | (...);
                                  force_encryption?: (...) | (...) | (...);
                                  high_assurance?: (...) | (...) | (...);
                                  https_url?: (...) | (...);
                                  id?: (...) | (...);
                                  identity_id?: (...) | (...);
                                  info_link?: (...) | (...) | (...);
                                  keywords?: (...) | (...);
                                  manager_url?: (...) | (...);
                                  mapped_collection_id?: (...) | (...);
                                  organization?: (...) | (...);
                                  policies?:
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...);
                                  public: boolean;
                                  root_path?: (...) | (...);
                                  sharing_restrict_paths?: unknown;
                                  sharing_users_allow?: (...) | (...) | (...);
                                  sharing_users_deny?: (...) | (...) | (...);
                                  storage_gateway_id?: (...) | (...);
                                  tlsftp_url?: (...) | (...);
                                  user_credential_id?: (...) | (...);
                                  user_message?: (...) | (...) | (...);
                                  user_message_link?: (...) | (...) | (...);
                              }
                              | {
                                  allow_guest_collections?: (...)
                                  | (...)
                                  | (...);
                                  authentication_timeout_mins?: (...) | (...);
                                  collection_base_path: string;
                                  collection_type: (...) | (...);
                                  connector_id?: (...) | (...);
                                  contact_email?: (...) | (...) | (...);
                                  contact_info?: (...) | (...) | (...);
                                  DATA_TYPE: "collection#1.4.0";
                                  default_directory?: (...) | (...);
                                  deleted?: (...) | (...) | (...);
                                  department?: (...) | (...) | (...);
                                  description?: (...) | (...) | (...);
                                  disable_verify?: (...) | (...) | (...);
                                  display_name: string;
                                  domain?: (...) | (...);
                                  domain_name?: (...) | (...);
                                  enable_https?: (...) | (...) | (...);
                                  force_encryption?: (...) | (...) | (...);
                                  force_verify?: (...) | (...) | (...);
                                  high_assurance?: (...) | (...) | (...);
                                  https_url?: (...) | (...);
                                  id?: (...) | (...);
                                  identity_id?: (...) | (...);
                                  info_link?: (...) | (...) | (...);
                                  keywords?: (...) | (...);
                                  manager_url?: (...) | (...);
                                  mapped_collection_id?: (...) | (...);
                                  organization?: (...) | (...);
                                  policies?:
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...);
                                  public: boolean;
                                  require_mfa?: (...) | (...) | (...);
                                  root_path?: (...) | (...);
                                  sharing_restrict_paths?: unknown;
                                  sharing_users_allow?: (...) | (...) | (...);
                                  sharing_users_deny?: (...) | (...) | (...);
                                  storage_gateway_id?: (...) | (...);
                                  tlsftp_url?: (...) | (...);
                                  user_credential_id?: (...) | (...);
                                  user_message?: (...) | (...) | (...);
                                  user_message_link?: (...) | (...) | (...);
                              }
                              | {
                                  allow_guest_collections?: (...)
                                  | (...)
                                  | (...);
                                  authentication_timeout_mins?: (...) | (...);
                                  collection_base_path: string;
                                  collection_type: (...) | (...);
                                  connector_id?: (...) | (...);
                                  contact_email?: (...) | (...) | (...);
                                  contact_info?: (...) | (...) | (...);
                                  DATA_TYPE: "collection#1.5.0";
                                  default_directory?: (...) | (...);
                                  deleted?: (...) | (...) | (...);
                                  department?: (...) | (...) | (...);
                                  description?: (...) | (...) | (...);
                                  disable_anonymous_writes?: (...) | (...) | (...);
                                  disable_verify?: (...) | (...) | (...);
                                  display_name: string;
                                  domain?: (...) | (...);
                                  domain_name?: (...) | (...);
                                  enable_https?: (...) | (...) | (...);
                                  force_encryption?: (...) | (...) | (...);
                                  force_verify?: (...) | (...) | (...);
                                  high_assurance?: (...) | (...) | (...);
                                  https_url?: (...) | (...);
                                  id?: (...) | (...);
                                  identity_id?: (...) | (...);
                                  info_link?: (...) | (...) | (...);
                                  keywords?: (...) | (...);
                                  manager_url?: (...) | (...);
                                  mapped_collection_id?: (...) | (...);
                                  organization?: (...) | (...);
                                  policies?:
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...);
                                  public: boolean;
                                  require_mfa?: (...) | (...) | (...);
                                  root_path?: (...) | (...);
                                  sharing_restrict_paths?: unknown;
                                  sharing_users_allow?: (...) | (...) | (...);
                                  sharing_users_deny?: (...) | (...) | (...);
                                  storage_gateway_id?: (...) | (...);
                                  tlsftp_url?: (...) | (...);
                                  user_credential_id?: (...) | (...);
                                  user_message?: (...) | (...) | (...);
                                  user_message_link?: (...) | (...) | (...);
                              }
                              | {
                                  allow_guest_collections?: (...)
                                  | (...)
                                  | (...);
                                  authentication_timeout_mins?: (...) | (...);
                                  collection_base_path: string;
                                  collection_type: (...) | (...);
                                  connector_id?: (...) | (...);
                                  contact_email?: (...) | (...) | (...);
                                  contact_info?: (...) | (...) | (...);
                                  DATA_TYPE: "collection#1.6.0";
                                  default_directory?: (...) | (...);
                                  deleted?: (...) | (...) | (...);
                                  department?: (...) | (...) | (...);
                                  description?: (...) | (...) | (...);
                                  disable_anonymous_writes?: (...) | (...) | (...);
                                  disable_verify?: (...) | (...) | (...);
                                  display_name: string;
                                  domain?: (...) | (...);
                                  domain_name?: (...) | (...);
                                  enable_https?: (...) | (...) | (...);
                                  force_encryption?: (...) | (...) | (...);
                                  force_verify?: (...) | (...) | (...);
                                  guest_auth_policy_id?: (...) | (...) | (...);
                                  high_assurance?: (...) | (...) | (...);
                                  https_url?: (...) | (...);
                                  id?: (...) | (...);
                                  identity_id?: (...) | (...);
                                  info_link?: (...) | (...) | (...);
                                  keywords?: (...) | (...);
                                  manager_url?: (...) | (...);
                                  mapped_collection_id?: (...) | (...);
                                  organization?: (...) | (...);
                                  policies?:
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...);
                                  public: boolean;
                                  require_mfa?: (...) | (...) | (...);
                                  root_path?: (...) | (...);
                                  sharing_restrict_paths?: unknown;
                                  sharing_users_allow?: (...) | (...) | (...);
                                  sharing_users_deny?: (...) | (...) | (...);
                                  storage_gateway_id?: (...) | (...);
                                  tlsftp_url?: (...) | (...);
                                  user_credential_id?: (...) | (...);
                                  user_message?: (...) | (...) | (...);
                                  user_message_link?: (...) | (...) | (...);
                              }
                              | {
                                  allow_guest_collections?: (...)
                                  | (...)
                                  | (...);
                                  authentication_timeout_mins?: (...) | (...);
                                  collection_base_path: string;
                                  collection_type: (...) | (...);
                                  connector_id?: (...) | (...);
                                  contact_email?: (...) | (...) | (...);
                                  contact_info?: (...) | (...) | (...);
                                  DATA_TYPE: "collection#1.7.0";
                                  default_directory?: (...) | (...);
                                  deleted?: (...) | (...) | (...);
                                  department?: (...) | (...) | (...);
                                  description?: (...) | (...) | (...);
                                  disable_anonymous_writes?: (...) | (...) | (...);
                                  disable_verify?: (...) | (...) | (...);
                                  display_name: string;
                                  domain?: (...) | (...);
                                  domain_name?: (...) | (...);
                                  enable_https?: (...) | (...) | (...);
                                  force_encryption?: (...) | (...) | (...);
                                  force_verify?: (...) | (...) | (...);
                                  guest_auth_policy_id?: (...) | (...) | (...);
                                  high_assurance?: (...) | (...) | (...);
                                  https_url?: (...) | (...);
                                  id?: (...) | (...);
                                  identity_id?: (...) | (...);
                                  info_link?: (...) | (...) | (...);
                                  keywords?: (...) | (...);
                                  manager_url?: (...) | (...);
                                  mapped_collection_id?: (...) | (...);
                                  organization?: (...) | (...);
                                  policies?:
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...);
                                  public: boolean;
                                  require_mfa?: (...) | (...) | (...);
                                  root_path?: (...) | (...);
                                  sharing_restrict_paths?: unknown;
                                  sharing_users_allow?: (...) | (...) | (...);
                                  sharing_users_deny?: (...) | (...) | (...);
                                  storage_gateway_id?: (...) | (...);
                                  tlsftp_url?: (...) | (...);
                                  user_credential_id?: (...) | (...);
                                  user_message?: (...) | (...) | (...);
                                  user_message_link?: (...) | (...) | (...);
                              }
                              | {
                                  allow_guest_collections?: (...)
                                  | (...)
                                  | (...);
                                  authentication_timeout_mins?: (...) | (...);
                                  collection_base_path: string;
                                  collection_type: (...) | (...);
                                  connector_id?: (...) | (...);
                                  contact_email?: (...) | (...) | (...);
                                  contact_info?: (...) | (...) | (...);
                                  DATA_TYPE: "collection#1.8.0";
                                  default_directory?: (...) | (...);
                                  delete_protected?: (...) | (...) | (...);
                                  deleted?: (...) | (...) | (...);
                                  department?: (...) | (...) | (...);
                                  description?: (...) | (...) | (...);
                                  disable_anonymous_writes?: (...) | (...) | (...);
                                  disable_verify?: (...) | (...) | (...);
                                  display_name: string;
                                  domain?: (...) | (...);
                                  domain_name?: (...) | (...);
                                  enable_https?: (...) | (...) | (...);
                                  force_encryption?: (...) | (...) | (...);
                                  force_verify?: (...) | (...) | (...);
                                  guest_auth_policy_id?: (...) | (...) | (...);
                                  high_assurance?: (...) | (...) | (...);
                                  https_url?: (...) | (...);
                                  id?: (...) | (...);
                                  identity_id?: (...) | (...);
                                  info_link?: (...) | (...) | (...);
                                  keywords?: (...) | (...);
                                  manager_url?: (...) | (...);
                                  mapped_collection_id?: (...) | (...);
                                  organization?: (...) | (...);
                                  policies?:
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...);
                                  public: boolean;
                                  require_mfa?: (...) | (...) | (...);
                                  root_path?: (...) | (...);
                                  sharing_restrict_paths?: unknown;
                                  sharing_users_allow?: (...) | (...) | (...);
                                  sharing_users_deny?: (...) | (...) | (...);
                                  storage_gateway_id?: (...) | (...);
                                  tlsftp_url?: (...) | (...);
                                  user_credential_id?: (...) | (...);
                                  user_message?: (...) | (...) | (...);
                                  user_message_link?: (...) | (...) | (...);
                              }
                              | {
                                  allow_guest_collections?: (...)
                                  | (...)
                                  | (...);
                                  authentication_timeout_mins?: (...) | (...);
                                  collection_base_path: string;
                                  collection_type: (...) | (...);
                                  connector_id?: (...) | (...);
                                  contact_email?: (...) | (...) | (...);
                                  contact_info?: (...) | (...) | (...);
                                  created_at?: (...) | (...) | (...);
                                  DATA_TYPE: "collection#1.9.0";
                                  default_directory?: (...) | (...);
                                  delete_protected?: (...) | (...) | (...);
                                  deleted?: (...) | (...) | (...);
                                  department?: (...) | (...) | (...);
                                  description?: (...) | (...) | (...);
                                  disable_anonymous_writes?: (...) | (...) | (...);
                                  disable_verify?: (...) | (...) | (...);
                                  display_name: string;
                                  domain?: (...) | (...);
                                  domain_name?: (...) | (...);
                                  enable_https?: (...) | (...) | (...);
                                  force_encryption?: (...) | (...) | (...);
                                  force_verify?: (...) | (...) | (...);
                                  guest_auth_policy_id?: (...) | (...) | (...);
                                  high_assurance?: (...) | (...) | (...);
                                  https_url?: (...) | (...);
                                  id?: (...) | (...);
                                  identity_id?: (...) | (...);
                                  info_link?: (...) | (...) | (...);
                                  keywords?: (...) | (...);
                                  last_access?: (...) | (...) | (...);
                                  manager_url?: (...) | (...);
                                  mapped_collection_id?: (...) | (...);
                                  organization?: (...) | (...);
                                  policies?:
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...);
                                  public: boolean;
                                  require_mfa?: (...) | (...) | (...);
                                  root_path?: (...) | (...);
                                  sharing_restrict_paths?: unknown;
                                  sharing_users_allow?: (...) | (...) | (...);
                                  sharing_users_deny?: (...) | (...) | (...);
                                  storage_gateway_id?: (...) | (...);
                                  tlsftp_url?: (...) | (...);
                                  user_credential_id?: (...) | (...);
                                  user_message?: (...) | (...) | (...);
                                  user_message_link?: (...) | (...) | (...);
                              }
                              | {
                                  acl_expiration_mins?: (...)
                                  | (...)
                                  | (...);
                                  allow_guest_collections?: (...) | (...) | (...);
                                  authentication_timeout_mins?: (...) | (...);
                                  collection_base_path: string;
                                  collection_type: (...) | (...);
                                  connector_id?: (...) | (...);
                                  contact_email?: (...) | (...) | (...);
                                  contact_info?: (...) | (...) | (...);
                                  created_at?: (...) | (...) | (...);
                                  DATA_TYPE: "collection#1.10.0";
                                  default_directory?: (...) | (...);
                                  delete_protected?: (...) | (...) | (...);
                                  deleted?: (...) | (...) | (...);
                                  department?: (...) | (...) | (...);
                                  description?: (...) | (...) | (...);
                                  disable_anonymous_writes?: (...) | (...) | (...);
                                  disable_verify?: (...) | (...) | (...);
                                  display_name: string;
                                  domain?: (...) | (...);
                                  domain_name?: (...) | (...);
                                  enable_https?: (...) | (...) | (...);
                                  force_encryption?: (...) | (...) | (...);
                                  force_verify?: (...) | (...) | (...);
                                  guest_auth_policy_id?: (...) | (...) | (...);
                                  high_assurance?: (...) | (...) | (...);
                                  https_url?: (...) | (...);
                                  id?: (...) | (...);
                                  identity_id?: (...) | (...);
                                  info_link?: (...) | (...) | (...);
                                  keywords?: (...) | (...);
                                  last_access?: (...) | (...) | (...);
                                  manager_url?: (...) | (...);
                                  mapped_collection_id?: (...) | (...);
                                  organization?: (...) | (...);
                                  policies?:
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...);
                                  public: boolean;
                                  require_mfa?: (...) | (...) | (...);
                                  root_path?: (...) | (...);
                                  sharing_restrict_paths?: unknown;
                                  sharing_users_allow?: (...) | (...) | (...);
                                  sharing_users_deny?: (...) | (...) | (...);
                                  storage_gateway_id?: (...) | (...);
                                  tlsftp_url?: (...) | (...);
                                  user_credential_id?: (...) | (...);
                                  user_message?: (...) | (...) | (...);
                                  user_message_link?: (...) | (...) | (...);
                              }
                              | {
                                  acl_expiration_mins?: (...)
                                  | (...)
                                  | (...);
                                  allow_guest_collections?: (...) | (...) | (...);
                                  authentication_timeout_mins?: (...) | (...);
                                  collection_base_path: string;
                                  collection_type: (...) | (...);
                                  connector_id?: (...) | (...);
                                  contact_email?: (...) | (...) | (...);
                                  contact_info?: (...) | (...) | (...);
                                  created_at?: (...) | (...) | (...);
                                  DATA_TYPE: "collection#1.11.0";
                                  default_directory?: (...) | (...);
                                  delete_protected?: (...) | (...) | (...);
                                  deleted?: (...) | (...) | (...);
                                  department?: (...) | (...) | (...);
                                  description?: (...) | (...) | (...);
                                  disable_anonymous_writes?: (...) | (...) | (...);
                                  disable_verify?: (...) | (...) | (...);
                                  display_name: string;
                                  domain?: (...) | (...);
                                  domain_name?: (...) | (...);
                                  enable_https?: (...) | (...) | (...);
                                  force_encryption?: (...) | (...) | (...);
                                  force_verify?: (...) | (...) | (...);
                                  guest_auth_policy_id?: (...) | (...) | (...);
                                  high_assurance?: (...) | (...) | (...);
                                  https_url?: (...) | (...);
                                  id?: (...) | (...);
                                  identity_id?: (...) | (...);
                                  info_link?: (...) | (...) | (...);
                                  keywords?: (...) | (...);
                                  last_access?: (...) | (...) | (...);
                                  manager_url?: (...) | (...);
                                  mapped_collection_id?: (...) | (...);
                                  organization?: (...) | (...);
                                  policies?:
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...);
                                  public: boolean;
                                  require_mfa?: (...) | (...) | (...);
                                  root_path?: (...) | (...);
                                  sharing_restrict_paths?: unknown;
                                  sharing_users_allow?: (...) | (...) | (...);
                                  sharing_users_deny?: (...) | (...) | (...);
                                  storage_gateway_id?: (...) | (...);
                                  tlsftp_url?: (...) | (...);
                                  user_credential_id?: (...) | (...);
                                  user_message?: (...) | (...) | (...);
                                  user_message_link?: (...) | (...) | (...);
                              }
                              | {
                                  acl_expiration_mins?: (...)
                                  | (...)
                                  | (...);
                                  allow_guest_collections?: (...) | (...) | (...);
                                  authentication_timeout_mins?: (...) | (...);
                                  collection_base_path: string;
                                  collection_type: (...) | (...);
                                  connector_id?: (...) | (...);
                                  contact_email?: (...) | (...) | (...);
                                  contact_info?: (...) | (...) | (...);
                                  created_at?: (...) | (...) | (...);
                                  DATA_TYPE: "collection#1.12.0";
                                  default_directory?: (...) | (...);
                                  delete_protected?: (...) | (...) | (...);
                                  deleted?: (...) | (...) | (...);
                                  department?: (...) | (...) | (...);
                                  description?: (...) | (...) | (...);
                                  disable_anonymous_writes?: (...) | (...) | (...);
                                  disable_verify?: (...) | (...) | (...);
                                  display_name: string;
                                  domain?: (...) | (...);
                                  domain_name?: (...) | (...);
                                  enable_https?: (...) | (...) | (...);
                                  force_encryption?: (...) | (...) | (...);
                                  force_verify?: (...) | (...) | (...);
                                  guest_auth_policy_id?: (...) | (...) | (...);
                                  high_assurance?: (...) | (...) | (...);
                                  https_url?: (...) | (...);
                                  id?: (...) | (...);
                                  identity_id?: (...) | (...);
                                  info_link?: (...) | (...) | (...);
                                  keywords?: (...) | (...);
                                  last_access?: (...) | (...) | (...);
                                  manager_url?: (...) | (...);
                                  mapped_collection_id?: (...) | (...);
                                  organization?: (...) | (...);
                                  policies?:
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...);
                                  public: boolean;
                                  require_mfa?: (...) | (...) | (...);
                                  restrict_transfers_to_high_assurance?:
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...);
                                  root_path?: (...) | (...);
                                  sharing_restrict_paths?: unknown;
                                  sharing_users_allow?: (...) | (...) | (...);
                                  sharing_users_deny?: (...) | (...) | (...);
                                  storage_gateway_id?: (...) | (...);
                                  tlsftp_url?: (...) | (...);
                                  user_credential_id?: (...) | (...);
                                  user_message?: (...) | (...) | (...);
                                  user_message_link?: (...) | (...) | (...);
                              }
                              | {
                                  acl_expiration_mins?: (...)
                                  | (...)
                                  | (...);
                                  allow_guest_collections?: (...) | (...) | (...);
                                  authentication_timeout_mins?: (...) | (...);
                                  auto_delete_timeout?: (...) | (...) | (...);
                                  collection_base_path: string;
                                  collection_type: (...) | (...);
                                  connector_id?: (...) | (...);
                                  contact_email?: (...) | (...) | (...);
                                  contact_info?: (...) | (...) | (...);
                                  created_at?: (...) | (...) | (...);
                                  DATA_TYPE: "collection#1.13.0";
                                  default_directory?: (...) | (...);
                                  delete_protected?: (...) | (...) | (...);
                                  deleted?: (...) | (...) | (...);
                                  department?: (...) | (...) | (...);
                                  description?: (...) | (...) | (...);
                                  disable_anonymous_writes?: (...) | (...) | (...);
                                  disable_verify?: (...) | (...) | (...);
                                  display_name: string;
                                  domain?: (...) | (...);
                                  domain_name?: (...) | (...);
                                  enable_https?: (...) | (...) | (...);
                                  force_encryption?: (...) | (...) | (...);
                                  force_verify?: (...) | (...) | (...);
                                  guest_auth_policy_id?: (...) | (...) | (...);
                                  high_assurance?: (...) | (...) | (...);
                                  https_url?: (...) | (...);
                                  id?: (...) | (...);
                                  identity_id?: (...) | (...);
                                  info_link?: (...) | (...) | (...);
                                  keywords?: (...) | (...);
                                  last_access?: (...) | (...) | (...);
                                  manager_url?: (...) | (...);
                                  mapped_collection_id?: (...) | (...);
                                  organization?: (...) | (...);
                                  policies?:
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...);
                                  public: boolean;
                                  require_mfa?: (...) | (...) | (...);
                                  restrict_transfers_to_high_assurance?:
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...);
                                  root_path?: (...) | (...);
                                  sharing_restrict_paths?: unknown;
                                  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: string;
                                  collection_type: (...) | (...);
                                  connector_id?: (...) | (...);
                                  contact_email?: (...) | (...) | (...);
                                  contact_info?: (...) | (...) | (...);
                                  created_at?: (...) | (...) | (...);
                                  DATA_TYPE: "collection#1.14.0";
                                  default_directory?: (...) | (...);
                                  delete_protected?: (...) | (...) | (...);
                                  deleted?: (...) | (...) | (...);
                                  department?: (...) | (...) | (...);
                                  description?: (...) | (...) | (...);
                                  disable_anonymous_writes?: (...) | (...) | (...);
                                  disable_verify?: (...) | (...) | (...);
                                  display_name: string;
                                  domain?: (...) | (...);
                                  domain_name?: (...) | (...);
                                  enable_https?: (...) | (...) | (...);
                                  force_encryption?: (...) | (...) | (...);
                                  force_verify?: (...) | (...) | (...);
                                  guest_auth_policy_id?: (...) | (...) | (...);
                                  high_assurance?: (...) | (...) | (...);
                                  https_url?: (...) | (...);
                                  id?: (...) | (...);
                                  identity_id?: (...) | (...);
                                  info_link?: (...) | (...) | (...);
                                  keywords?: (...) | (...);
                                  last_access?: (...) | (...) | (...);
                                  manager_url?: (...) | (...);
                                  mapped_collection_id?: (...) | (...);
                                  organization?: (...) | (...);
                                  policies?:
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...);
                                  public: boolean;
                                  require_mfa?: (...) | (...) | (...);
                                  restrict_transfers_to_high_assurance?:
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...);
                                  root_path?: (...) | (...);
                                  sharing_restrict_paths?: unknown;
                                  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?: unknown;
                                  authentication_timeout_mins?: (...) | (...);
                                  auto_delete_timeout?: (...) | (...) | (...);
                                  collection_base_path: string;
                                  collection_type: (...) | (...);
                                  connector_id?: (...) | (...);
                                  contact_email?: (...) | (...) | (...);
                                  contact_info?: (...) | (...) | (...);
                                  created_at?: (...) | (...) | (...);
                                  DATA_TYPE: "collection#1.15.0";
                                  default_directory?: (...) | (...);
                                  delete_protected?: (...) | (...) | (...);
                                  deleted?: (...) | (...) | (...);
                                  department?: (...) | (...) | (...);
                                  description?: (...) | (...) | (...);
                                  disable_anonymous_writes?: (...) | (...) | (...);
                                  disable_verify?: (...) | (...) | (...);
                                  display_name: string;
                                  domain?: (...) | (...);
                                  domain_name?: (...) | (...);
                                  enable_https?: (...) | (...) | (...);
                                  force_encryption?: (...) | (...) | (...);
                                  force_verify?: (...) | (...) | (...);
                                  guest_auth_policy_id?: (...) | (...) | (...);
                                  high_assurance?: (...) | (...) | (...);
                                  https_url?: (...) | (...);
                                  id?: (...) | (...);
                                  identity_id?: (...) | (...);
                                  info_link?: (...) | (...) | (...);
                                  keywords?: (...) | (...);
                                  last_access?: (...) | (...) | (...);
                                  manager_url?: (...) | (...);
                                  mapped_collection_id?: (...) | (...);
                                  organization?: (...) | (...);
                                  policies?:
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...);
                                  public: boolean;
                                  require_mfa?: (...) | (...) | (...);
                                  restrict_transfers_to_high_assurance?:
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...);
                                  root_path?: (...) | (...);
                                  sharing_restrict_paths?: unknown;
                                  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?: unknown;
                                  authentication_timeout_mins?: (...) | (...);
                                  auto_delete_timeout?: (...) | (...) | (...);
                                  collection_base_path: string;
                                  collection_type: (...) | (...);
                                  connector_id?: (...) | (...);
                                  contact_email?: (...) | (...) | (...);
                                  contact_info?: (...) | (...) | (...);
                                  created_at?: (...) | (...) | (...);
                                  DATA_TYPE: "collection#1.16.0";
                                  default_directory?: (...) | (...);
                                  delete_protected?: (...) | (...) | (...);
                                  deleted?: (...) | (...) | (...);
                                  department?: (...) | (...) | (...);
                                  description?: (...) | (...) | (...);
                                  disable_anonymous_writes?: (...) | (...) | (...);
                                  disable_verify?: (...) | (...) | (...);
                                  display_name: string;
                                  domain?: (...) | (...);
                                  domain_name?: (...) | (...);
                                  enable_https?: (...) | (...) | (...);
                                  force_encryption?: (...) | (...) | (...);
                                  force_verify?: (...) | (...) | (...);
                                  guest_auth_policy_id?: (...) | (...) | (...);
                                  high_assurance?: (...) | (...) | (...);
                                  https_methods?: (...) | (...);
                                  https_url?: (...) | (...);
                                  id?: (...) | (...);
                                  identity_id?: (...) | (...);
                                  info_link?: (...) | (...) | (...);
                                  keywords?: (...) | (...);
                                  last_access?: (...) | (...) | (...);
                                  manager_url?: (...) | (...);
                                  mapped_collection_id?: (...) | (...);
                                  organization?: (...) | (...);
                                  policies?:
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...);
                                  preserve_modtime?: (...) | (...) | (...) | (...) | (...);
                                  public: boolean;
                                  require_mfa?: (...) | (...) | (...);
                                  restrict_transfers_to_high_assurance?:
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...);
                                  root_path?: (...) | (...);
                                  sharing_restrict_paths?: unknown;
                                  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?: (...) | (...) | (...);
                              },
                          >;
                      } & {
                          headers?: Headers;
                          query?: {
                              [key: string]: | string
                              | number
                              | boolean
                              | (...)[]
                              | null
                              | undefined;
                          };
                      },
                      sdkOptions?: SDKOptions,
                  ],
              ) => Promise<
                  JSONFetchResponse<
                      | {
                          code: string;
                          data?: Record<string, unknown>[];
                          DATA_TYPE: "result#1.0.0";
                          detail?: unknown;
                          has_next_page: boolean;
                          http_response_code: number;
                          marker?: string | null;
                          message?: string;
                      }
                      | {
                          authorization_parameters?: { [key: string]: unknown }
                          | null;
                          code: string;
                          data?: Record<string, unknown>[];
                          DATA_TYPE: "result#1.1.0";
                          detail?: unknown;
                          has_next_page: boolean;
                          http_response_code: number;
                          marker?: string | null;
                          message?: string;
                      },
                  >,
              >;
              remove: (
                  ...args: [
                      collection_id: string,
                      options?: { payload?: undefined; query?: undefined } & {
                          headers?: Headers;
                          query?: {
                              [key: string]:
                                  | string
                                  | number
                                  | boolean
                                  | (...)[]
                                  | null
                                  | undefined;
                          };
                      },
                      sdkOptions?: SDKOptions,
                  ],
              ) => Promise<
                  JSONFetchResponse<
                      | {
                          code: string;
                          data?: Record<string, unknown>[];
                          DATA_TYPE: "result#1.0.0";
                          detail?: unknown;
                          has_next_page: boolean;
                          http_response_code: number;
                          marker?: string | null;
                          message?: string;
                      }
                      | {
                          authorization_parameters?: { [key: string]: unknown }
                          | null;
                          code: string;
                          data?: Record<string, unknown>[];
                          DATA_TYPE: "result#1.1.0";
                          detail?: unknown;
                          has_next_page: boolean;
                          http_response_code: number;
                          marker?: string | null;
                          message?: string;
                      },
                  >,
              >;
              resetOwnerString: (
                  ...args: [
                      collection_id: string,
                      options: {
                          headers?: Headers;
                          query?: {
                              [key: string]: | string
                              | number
                              | boolean
                              | ((...) | (...) | (...) | (...))[]
                              | null
                              | undefined;
                          };
                      },
                      sdkOptions?: SDKOptions,
                  ],
              ) => Promise<
                  JSONFetchResponse<
                      | {
                          code: string;
                          data?: Record<string, unknown>[];
                          DATA_TYPE: "result#1.0.0";
                          detail?: unknown;
                          has_next_page: boolean;
                          http_response_code: number;
                          marker?: string | null;
                          message?: string;
                      }
                      | {
                          authorization_parameters?: { [key: string]: unknown }
                          | null;
                          code: string;
                          data?: Record<string, unknown>[];
                          DATA_TYPE: "result#1.1.0";
                          detail?: unknown;
                          has_next_page: boolean;
                          http_response_code: number;
                          marker?: string | null;
                          message?: string;
                      },
                  >,
              >;
              update: (
                  ...args: [
                      collection_id: string,
                      options: {
                          payload: | {
                              allow_guest_collections?: boolean;
                              authentication_timeout_mins?: number;
                              collection_base_path: string;
                              collection_type: "mapped"
                              | "guest";
                              connector_id?: string;
                              contact_email?: string | null;
                              contact_info?: string | null;
                              DATA_TYPE: "collection#1.0.0";
                              default_directory?: string;
                              deleted?: boolean;
                              department?: string | null;
                              description?: string | null;
                              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?: string | null;
                              keywords?: (...)[];
                              manager_url?: string;
                              mapped_collection_id?: string;
                              organization?: string;
                              policies?:
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ...; project?: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | {
                                      DATA_TYPE: ...;
                                      sharing_groups_allow?: ...;
                                      sharing_groups_deny?: ...;
                                  }
                                  | {
                                      DATA_TYPE: ...;
                                      sharing_groups_allow?: ...;
                                      sharing_groups_deny?: ...;
                                  };
                              public: boolean;
                              root_path?: string;
                              sharing_restrict_paths?: unknown;
                              storage_gateway_id?: string;
                              tlsftp_url?: string;
                              user_credential_id?: string;
                          }
                          | {
                              allow_guest_collections?: boolean;
                              authentication_timeout_mins?: number;
                              collection_base_path: string;
                              collection_type: "mapped"
                              | "guest";
                              connector_id?: string;
                              contact_email?: string | null;
                              contact_info?: string | null;
                              DATA_TYPE: "collection#1.1.0";
                              default_directory?: string;
                              deleted?: boolean;
                              department?: string | null;
                              description?: string | null;
                              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?: string | null;
                              keywords?: (...)[];
                              manager_url?: string;
                              mapped_collection_id?: string;
                              organization?: string;
                              policies?:
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ...; project?: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | {
                                      DATA_TYPE: ...;
                                      sharing_groups_allow?: ...;
                                      sharing_groups_deny?: ...;
                                  }
                                  | {
                                      DATA_TYPE: ...;
                                      sharing_groups_allow?: ...;
                                      sharing_groups_deny?: ...;
                                  };
                              public: boolean;
                              root_path?: string;
                              sharing_restrict_paths?: unknown;
                              storage_gateway_id?: string;
                              tlsftp_url?: string;
                              user_credential_id?: string;
                              user_message?: string
                              | null;
                              user_message_link?: string | null;
                          }
                          | {
                              allow_guest_collections?: boolean;
                              authentication_timeout_mins?: number;
                              collection_base_path: string;
                              collection_type: "mapped"
                              | "guest";
                              connector_id?: string;
                              contact_email?: string | null;
                              contact_info?: string | null;
                              DATA_TYPE: "collection#1.2.0";
                              default_directory?: string;
                              deleted?: boolean;
                              department?: string | null;
                              description?: string | null;
                              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?: string | null;
                              keywords?: (...)[];
                              manager_url?: string;
                              mapped_collection_id?: string;
                              organization?: string;
                              policies?:
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ...; project?: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | {
                                      DATA_TYPE: ...;
                                      sharing_groups_allow?: ...;
                                      sharing_groups_deny?: ...;
                                  }
                                  | {
                                      DATA_TYPE: ...;
                                      sharing_groups_allow?: ...;
                                      sharing_groups_deny?: ...;
                                  };
                              public: boolean;
                              root_path?: string;
                              sharing_restrict_paths?: unknown;
                              sharing_users_allow?: (...)[]
                              | null;
                              sharing_users_deny?: (...)[] | null;
                              storage_gateway_id?: string;
                              tlsftp_url?: string;
                              user_credential_id?: string;
                              user_message?: string | null;
                              user_message_link?: string | null;
                          }
                          | {
                              allow_guest_collections?: boolean;
                              authentication_timeout_mins?: number;
                              collection_base_path: string;
                              collection_type: "mapped"
                              | "guest";
                              connector_id?: string;
                              contact_email?: string | null;
                              contact_info?: string | null;
                              DATA_TYPE: "collection#1.3.0";
                              default_directory?: string;
                              deleted?: boolean;
                              department?: string | null;
                              description?: string | null;
                              disable_verify?: boolean;
                              display_name: string;
                              domain?: {
                                  certificate?: ...;
                                  certificate_chain?: ...;
                                  certificate_chain_path?: ...;
                                  certificate_path?: ...;
                                  DATA_TYPE: ...;
                                  domain_name: ...;
                                  private_key?: ...;
                                  private_key_path?: ...;
                                  wildcard: ...;
                              };
                              domain_name?: string;
                              enable_https?: boolean;
                              force_encryption?: boolean;
                              high_assurance?: boolean;
                              https_url?: string;
                              id?: string;
                              identity_id?: string;
                              info_link?: string
                              | null;
                              keywords?: (...)[];
                              manager_url?: string;
                              mapped_collection_id?: string;
                              organization?: string;
                              policies?:
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ...; project?: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | {
                                      DATA_TYPE: ...;
                                      sharing_groups_allow?: ...;
                                      sharing_groups_deny?: ...;
                                  }
                                  | {
                                      DATA_TYPE: ...;
                                      sharing_groups_allow?: ...;
                                      sharing_groups_deny?: ...;
                                  };
                              public: boolean;
                              root_path?: string;
                              sharing_restrict_paths?: unknown;
                              sharing_users_allow?: (...)[]
                              | null;
                              sharing_users_deny?: (...)[] | null;
                              storage_gateway_id?: string;
                              tlsftp_url?: string;
                              user_credential_id?: string;
                              user_message?: string | null;
                              user_message_link?: string | null;
                          }
                          | {
                              allow_guest_collections?: boolean;
                              authentication_timeout_mins?: number;
                              collection_base_path: string;
                              collection_type: "mapped"
                              | "guest";
                              connector_id?: string;
                              contact_email?: string | null;
                              contact_info?: string | null;
                              DATA_TYPE: "collection#1.4.0";
                              default_directory?: string;
                              deleted?: boolean;
                              department?: string | null;
                              description?: string | null;
                              disable_verify?: boolean;
                              display_name: string;
                              domain?: {
                                  certificate?: ...;
                                  certificate_chain?: ...;
                                  certificate_chain_path?: ...;
                                  certificate_path?: ...;
                                  DATA_TYPE: ...;
                                  domain_name: ...;
                                  private_key?: ...;
                                  private_key_path?: ...;
                                  wildcard: ...;
                              };
                              domain_name?: string;
                              enable_https?: boolean;
                              force_encryption?: boolean;
                              force_verify?: boolean;
                              high_assurance?: boolean;
                              https_url?: string;
                              id?: string;
                              identity_id?: string;
                              info_link?: string
                              | null;
                              keywords?: (...)[];
                              manager_url?: string;
                              mapped_collection_id?: string;
                              organization?: string;
                              policies?:
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ...; project?: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | {
                                      DATA_TYPE: ...;
                                      sharing_groups_allow?: ...;
                                      sharing_groups_deny?: ...;
                                  }
                                  | {
                                      DATA_TYPE: ...;
                                      sharing_groups_allow?: ...;
                                      sharing_groups_deny?: ...;
                                  };
                              public: boolean;
                              require_mfa?: boolean;
                              root_path?: string;
                              sharing_restrict_paths?: unknown;
                              sharing_users_allow?: (...)[]
                              | null;
                              sharing_users_deny?: (...)[] | null;
                              storage_gateway_id?: string;
                              tlsftp_url?: string;
                              user_credential_id?: string;
                              user_message?: string | null;
                              user_message_link?: string | null;
                          }
                          | {
                              allow_guest_collections?: boolean;
                              authentication_timeout_mins?: number;
                              collection_base_path: string;
                              collection_type: "mapped"
                              | "guest";
                              connector_id?: string;
                              contact_email?: string | null;
                              contact_info?: string | null;
                              DATA_TYPE: "collection#1.5.0";
                              default_directory?: string;
                              deleted?: boolean;
                              department?: string | null;
                              description?: string | null;
                              disable_anonymous_writes?: boolean;
                              disable_verify?: boolean;
                              display_name: string;
                              domain?: {
                                  certificate?: ...;
                                  certificate_chain?: ...;
                                  certificate_chain_path?: ...;
                                  certificate_path?: ...;
                                  DATA_TYPE: ...;
                                  domain_name: ...;
                                  private_key?: ...;
                                  private_key_path?: ...;
                                  wildcard: ...;
                              };
                              domain_name?: string;
                              enable_https?: boolean;
                              force_encryption?: boolean;
                              force_verify?: boolean;
                              high_assurance?: boolean;
                              https_url?: string;
                              id?: string;
                              identity_id?: string;
                              info_link?: string
                              | null;
                              keywords?: (...)[];
                              manager_url?: string;
                              mapped_collection_id?: string;
                              organization?: string;
                              policies?:
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ...; project?: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | {
                                      DATA_TYPE: ...;
                                      sharing_groups_allow?: ...;
                                      sharing_groups_deny?: ...;
                                  }
                                  | {
                                      DATA_TYPE: ...;
                                      sharing_groups_allow?: ...;
                                      sharing_groups_deny?: ...;
                                  };
                              public: boolean;
                              require_mfa?: boolean;
                              root_path?: string;
                              sharing_restrict_paths?: unknown;
                              sharing_users_allow?: (...)[]
                              | null;
                              sharing_users_deny?: (...)[] | null;
                              storage_gateway_id?: string;
                              tlsftp_url?: string;
                              user_credential_id?: string;
                              user_message?: string | null;
                              user_message_link?: string | null;
                          }
                          | {
                              allow_guest_collections?: boolean;
                              authentication_timeout_mins?: number;
                              collection_base_path: string;
                              collection_type: "mapped"
                              | "guest";
                              connector_id?: string;
                              contact_email?: string | null;
                              contact_info?: string | null;
                              DATA_TYPE: "collection#1.6.0";
                              default_directory?: string;
                              deleted?: boolean;
                              department?: string | null;
                              description?: string | null;
                              disable_anonymous_writes?: boolean;
                              disable_verify?: boolean;
                              display_name: string;
                              domain?: {
                                  certificate?: ...;
                                  certificate_chain?: ...;
                                  certificate_chain_path?: ...;
                                  certificate_path?: ...;
                                  DATA_TYPE: ...;
                                  domain_name: ...;
                                  private_key?: ...;
                                  private_key_path?: ...;
                                  wildcard: ...;
                              };
                              domain_name?: string;
                              enable_https?: boolean;
                              force_encryption?: boolean;
                              force_verify?: boolean;
                              guest_auth_policy_id?: string
                              | null;
                              high_assurance?: boolean;
                              https_url?: string;
                              id?: string;
                              identity_id?: string;
                              info_link?: string | null;
                              keywords?: (...)[];
                              manager_url?: string;
                              mapped_collection_id?: string;
                              organization?: string;
                              policies?:
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ...; project?: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | {
                                      DATA_TYPE: ...;
                                      sharing_groups_allow?: ...;
                                      sharing_groups_deny?: ...;
                                  }
                                  | {
                                      DATA_TYPE: ...;
                                      sharing_groups_allow?: ...;
                                      sharing_groups_deny?: ...;
                                  };
                              public: boolean;
                              require_mfa?: boolean;
                              root_path?: string;
                              sharing_restrict_paths?: unknown;
                              sharing_users_allow?: (...)[]
                              | null;
                              sharing_users_deny?: (...)[] | null;
                              storage_gateway_id?: string;
                              tlsftp_url?: string;
                              user_credential_id?: string;
                              user_message?: string | null;
                              user_message_link?: string | null;
                          }
                          | {
                              allow_guest_collections?: boolean;
                              authentication_timeout_mins?: number;
                              collection_base_path: string;
                              collection_type: "mapped"
                              | "guest";
                              connector_id?: string;
                              contact_email?: string | null;
                              contact_info?: string | null;
                              DATA_TYPE: "collection#1.7.0";
                              default_directory?: string;
                              deleted?: boolean;
                              department?: string | null;
                              description?: string | null;
                              disable_anonymous_writes?: boolean;
                              disable_verify?: boolean;
                              display_name: string;
                              domain?: {
                                  certificate?: ...;
                                  certificate_chain?: ...;
                                  certificate_chain_path?: ...;
                                  certificate_path?: ...;
                                  DATA_TYPE: ...;
                                  domain_name: ...;
                                  private_key?: ...;
                                  private_key_path?: ...;
                                  wildcard: ...;
                              };
                              domain_name?: string;
                              enable_https?: boolean;
                              force_encryption?: boolean;
                              force_verify?: boolean;
                              guest_auth_policy_id?: string
                              | null;
                              high_assurance?: boolean;
                              https_url?: string;
                              id?: string;
                              identity_id?: string;
                              info_link?: string | null;
                              keywords?: (...)[];
                              manager_url?: string;
                              mapped_collection_id?: string;
                              organization?: string;
                              policies?:
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ...; project?: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | {
                                      DATA_TYPE: ...;
                                      sharing_groups_allow?: ...;
                                      sharing_groups_deny?: ...;
                                  }
                                  | {
                                      DATA_TYPE: ...;
                                      sharing_groups_allow?: ...;
                                      sharing_groups_deny?: ...;
                                  };
                              public: boolean;
                              require_mfa?: boolean;
                              root_path?: string;
                              sharing_restrict_paths?: unknown;
                              sharing_users_allow?: (...)[]
                              | null;
                              sharing_users_deny?: (...)[] | null;
                              storage_gateway_id?: string;
                              tlsftp_url?: string;
                              user_credential_id?: string;
                              user_message?: string | null;
                              user_message_link?: string | null;
                          }
                          | {
                              allow_guest_collections?: boolean;
                              authentication_timeout_mins?: number;
                              collection_base_path: string;
                              collection_type: "mapped"
                              | "guest";
                              connector_id?: string;
                              contact_email?: string | null;
                              contact_info?: string | null;
                              DATA_TYPE: "collection#1.8.0";
                              default_directory?: string;
                              delete_protected?: boolean;
                              deleted?: boolean;
                              department?: string | null;
                              description?: string | null;
                              disable_anonymous_writes?: boolean;
                              disable_verify?: boolean;
                              display_name: string;
                              domain?: {
                                  certificate?: ...;
                                  certificate_chain?: ...;
                                  certificate_chain_path?: ...;
                                  certificate_path?: ...;
                                  DATA_TYPE: ...;
                                  domain_name: ...;
                                  private_key?: ...;
                                  private_key_path?: ...;
                                  wildcard: ...;
                              };
                              domain_name?: string;
                              enable_https?: boolean;
                              force_encryption?: boolean;
                              force_verify?: boolean;
                              guest_auth_policy_id?: string
                              | null;
                              high_assurance?: boolean;
                              https_url?: string;
                              id?: string;
                              identity_id?: string;
                              info_link?: string | null;
                              keywords?: (...)[];
                              manager_url?: string;
                              mapped_collection_id?: string;
                              organization?: string;
                              policies?:
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ...; project?: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | {
                                      DATA_TYPE: ...;
                                      sharing_groups_allow?: ...;
                                      sharing_groups_deny?: ...;
                                  }
                                  | {
                                      DATA_TYPE: ...;
                                      sharing_groups_allow?: ...;
                                      sharing_groups_deny?: ...;
                                  };
                              public: boolean;
                              require_mfa?: boolean;
                              root_path?: string;
                              sharing_restrict_paths?: unknown;
                              sharing_users_allow?: (...)[]
                              | null;
                              sharing_users_deny?: (...)[] | null;
                              storage_gateway_id?: string;
                              tlsftp_url?: string;
                              user_credential_id?: string;
                              user_message?: string | null;
                              user_message_link?: string | null;
                          }
                          | {
                              allow_guest_collections?: boolean;
                              authentication_timeout_mins?: number;
                              collection_base_path: string;
                              collection_type: "mapped"
                              | "guest";
                              connector_id?: string;
                              contact_email?: string | null;
                              contact_info?: string | null;
                              created_at?: string | null;
                              DATA_TYPE: "collection#1.9.0";
                              default_directory?: string;
                              delete_protected?: boolean;
                              deleted?: boolean;
                              department?: string | null;
                              description?: string | null;
                              disable_anonymous_writes?: boolean;
                              disable_verify?: boolean;
                              display_name: string;
                              domain?: {
                                  certificate?: ...;
                                  certificate_chain?: ...;
                                  certificate_chain_path?: ...;
                                  certificate_path?: ...;
                                  DATA_TYPE: ...;
                                  domain_name: ...;
                                  private_key?: ...;
                                  private_key_path?: ...;
                                  wildcard: ...;
                              };
                              domain_name?: string;
                              enable_https?: boolean;
                              force_encryption?: boolean;
                              force_verify?: boolean;
                              guest_auth_policy_id?: string
                              | null;
                              high_assurance?: boolean;
                              https_url?: string;
                              id?: string;
                              identity_id?: string;
                              info_link?: string | null;
                              keywords?: (...)[];
                              last_access?: string | null;
                              manager_url?: string;
                              mapped_collection_id?: string;
                              organization?: string;
                              policies?:
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ...; project?: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | {
                                      DATA_TYPE: ...;
                                      sharing_groups_allow?: ...;
                                      sharing_groups_deny?: ...;
                                  }
                                  | {
                                      DATA_TYPE: ...;
                                      sharing_groups_allow?: ...;
                                      sharing_groups_deny?: ...;
                                  };
                              public: boolean;
                              require_mfa?: boolean;
                              root_path?: string;
                              sharing_restrict_paths?: unknown;
                              sharing_users_allow?: (...)[]
                              | null;
                              sharing_users_deny?: (...)[] | null;
                              storage_gateway_id?: string;
                              tlsftp_url?: string;
                              user_credential_id?: string;
                              user_message?: string | null;
                              user_message_link?: string | null;
                          }
                          | {
                              acl_expiration_mins?: number
                              | null;
                              allow_guest_collections?: boolean;
                              authentication_timeout_mins?: number;
                              collection_base_path: string;
                              collection_type: "mapped" | "guest";
                              connector_id?: string;
                              contact_email?: string | null;
                              contact_info?: string | null;
                              created_at?: string | null;
                              DATA_TYPE: "collection#1.10.0";
                              default_directory?: string;
                              delete_protected?: boolean;
                              deleted?: boolean;
                              department?: string | null;
                              description?: string | null;
                              disable_anonymous_writes?: boolean;
                              disable_verify?: boolean;
                              display_name: string;
                              domain?: {
                                  certificate?: ...;
                                  certificate_chain?: ...;
                                  certificate_chain_path?: ...;
                                  certificate_path?: ...;
                                  DATA_TYPE: ...;
                                  domain_name: ...;
                                  private_key?: ...;
                                  private_key_path?: ...;
                                  wildcard: ...;
                              };
                              domain_name?: string;
                              enable_https?: boolean;
                              force_encryption?: boolean;
                              force_verify?: boolean;
                              guest_auth_policy_id?: string
                              | null;
                              high_assurance?: boolean;
                              https_url?: string;
                              id?: string;
                              identity_id?: string;
                              info_link?: string | null;
                              keywords?: (...)[];
                              last_access?: string | null;
                              manager_url?: string;
                              mapped_collection_id?: string;
                              organization?: string;
                              policies?:
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ...; project?: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | {
                                      DATA_TYPE: ...;
                                      sharing_groups_allow?: ...;
                                      sharing_groups_deny?: ...;
                                  }
                                  | {
                                      DATA_TYPE: ...;
                                      sharing_groups_allow?: ...;
                                      sharing_groups_deny?: ...;
                                  };
                              public: boolean;
                              require_mfa?: boolean;
                              root_path?: string;
                              sharing_restrict_paths?: unknown;
                              sharing_users_allow?: (...)[]
                              | null;
                              sharing_users_deny?: (...)[] | null;
                              storage_gateway_id?: string;
                              tlsftp_url?: string;
                              user_credential_id?: string;
                              user_message?: string | null;
                              user_message_link?: string | null;
                          }
                          | {
                              acl_expiration_mins?: number
                              | null;
                              allow_guest_collections?: boolean;
                              authentication_timeout_mins?: number;
                              collection_base_path: string;
                              collection_type: "mapped" | "guest";
                              connector_id?: string;
                              contact_email?: string | null;
                              contact_info?: string | null;
                              created_at?: string | null;
                              DATA_TYPE: "collection#1.11.0";
                              default_directory?: string;
                              delete_protected?: boolean;
                              deleted?: boolean;
                              department?: string | null;
                              description?: string | null;
                              disable_anonymous_writes?: boolean;
                              disable_verify?: boolean;
                              display_name: string;
                              domain?: {
                                  certificate?: ...;
                                  certificate_chain?: ...;
                                  certificate_chain_path?: ...;
                                  certificate_path?: ...;
                                  DATA_TYPE: ...;
                                  domain_name: ...;
                                  private_key?: ...;
                                  private_key_path?: ...;
                                  wildcard: ...;
                              };
                              domain_name?: string;
                              enable_https?: boolean;
                              force_encryption?: boolean;
                              force_verify?: boolean;
                              guest_auth_policy_id?: string
                              | null;
                              high_assurance?: boolean;
                              https_url?: string;
                              id?: string;
                              identity_id?: string;
                              info_link?: string | null;
                              keywords?: (...)[];
                              last_access?: string | null;
                              manager_url?: string;
                              mapped_collection_id?: string;
                              organization?: string;
                              policies?:
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ...; project?: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | {
                                      DATA_TYPE: ...;
                                      sharing_groups_allow?: ...;
                                      sharing_groups_deny?: ...;
                                  }
                                  | {
                                      DATA_TYPE: ...;
                                      sharing_groups_allow?: ...;
                                      sharing_groups_deny?: ...;
                                  };
                              public: boolean;
                              require_mfa?: boolean;
                              root_path?: string;
                              sharing_restrict_paths?: unknown;
                              sharing_users_allow?: (...)[]
                              | null;
                              sharing_users_deny?: (...)[] | null;
                              storage_gateway_id?: string;
                              tlsftp_url?: string;
                              user_credential_id?: string;
                              user_message?: string | null;
                              user_message_link?: string | null;
                          }
                          | {
                              acl_expiration_mins?: number
                              | null;
                              allow_guest_collections?: boolean;
                              authentication_timeout_mins?: number;
                              collection_base_path: string;
                              collection_type: "mapped" | "guest";
                              connector_id?: string;
                              contact_email?: string | null;
                              contact_info?: string | null;
                              created_at?: string | null;
                              DATA_TYPE: "collection#1.12.0";
                              default_directory?: string;
                              delete_protected?: boolean;
                              deleted?: boolean;
                              department?: string | null;
                              description?: string | null;
                              disable_anonymous_writes?: boolean;
                              disable_verify?: boolean;
                              display_name: string;
                              domain?: {
                                  certificate?: ...;
                                  certificate_chain?: ...;
                                  certificate_chain_path?: ...;
                                  certificate_path?: ...;
                                  DATA_TYPE: ...;
                                  domain_name: ...;
                                  private_key?: ...;
                                  private_key_path?: ...;
                                  wildcard: ...;
                              };
                              domain_name?: string;
                              enable_https?: boolean;
                              force_encryption?: boolean;
                              force_verify?: boolean;
                              guest_auth_policy_id?: string
                              | null;
                              high_assurance?: boolean;
                              https_url?: string;
                              id?: string;
                              identity_id?: string;
                              info_link?: string | null;
                              keywords?: (...)[];
                              last_access?: string | null;
                              manager_url?: string;
                              mapped_collection_id?: string;
                              organization?: string;
                              policies?:
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ...; project?: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | {
                                      DATA_TYPE: ...;
                                      sharing_groups_allow?: ...;
                                      sharing_groups_deny?: ...;
                                  }
                                  | {
                                      DATA_TYPE: ...;
                                      sharing_groups_allow?: ...;
                                      sharing_groups_deny?: ...;
                                  };
                              public: boolean;
                              require_mfa?: boolean;
                              restrict_transfers_to_high_assurance?: | "inbound"
                              | "outbound"
                              | "all"
                              | null;
                              root_path?: string;
                              sharing_restrict_paths?: unknown;
                              sharing_users_allow?: (...)[]
                              | null;
                              sharing_users_deny?: (...)[] | null;
                              storage_gateway_id?: string;
                              tlsftp_url?: string;
                              user_credential_id?: string;
                              user_message?: string | null;
                              user_message_link?: string | null;
                          }
                          | {
                              acl_expiration_mins?: number
                              | null;
                              allow_guest_collections?: boolean;
                              authentication_timeout_mins?: number;
                              auto_delete_timeout?: number | null;
                              collection_base_path: string;
                              collection_type: "mapped" | "guest";
                              connector_id?: string;
                              contact_email?: string | null;
                              contact_info?: string | null;
                              created_at?: string | null;
                              DATA_TYPE: "collection#1.13.0";
                              default_directory?: string;
                              delete_protected?: boolean;
                              deleted?: boolean;
                              department?: string | null;
                              description?: string | null;
                              disable_anonymous_writes?: boolean;
                              disable_verify?: boolean;
                              display_name: string;
                              domain?: {
                                  certificate?: ...;
                                  certificate_chain?: ...;
                                  certificate_chain_path?: ...;
                                  certificate_path?: ...;
                                  DATA_TYPE: ...;
                                  domain_name: ...;
                                  private_key?: ...;
                                  private_key_path?: ...;
                                  wildcard: ...;
                              };
                              domain_name?: string;
                              enable_https?: boolean;
                              force_encryption?: boolean;
                              force_verify?: boolean;
                              guest_auth_policy_id?: string
                              | null;
                              high_assurance?: boolean;
                              https_url?: string;
                              id?: string;
                              identity_id?: string;
                              info_link?: string | null;
                              keywords?: (...)[];
                              last_access?: string | null;
                              manager_url?: string;
                              mapped_collection_id?: string;
                              organization?: string;
                              policies?:
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ...; project?: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | {
                                      DATA_TYPE: ...;
                                      sharing_groups_allow?: ...;
                                      sharing_groups_deny?: ...;
                                  }
                                  | {
                                      DATA_TYPE: ...;
                                      sharing_groups_allow?: ...;
                                      sharing_groups_deny?: ...;
                                  };
                              public: boolean;
                              require_mfa?: boolean;
                              restrict_transfers_to_high_assurance?: | "inbound"
                              | "outbound"
                              | "all"
                              | null;
                              root_path?: string;
                              sharing_restrict_paths?: unknown;
                              sharing_users_allow?: (...)[]
                              | null;
                              sharing_users_deny?: (...)[] | null;
                              skip_auto_delete?: boolean;
                              storage_gateway_id?: string;
                              tlsftp_url?: string;
                              user_credential_id?: string;
                              user_message?: string | null;
                              user_message_link?: string | null;
                          }
                          | {
                              acl_expiration_mins?: number
                              | null;
                              activity_notification_policy?: { status: ...; transfer_use: ... };
                              allow_guest_collections?: boolean;
                              authentication_timeout_mins?: number;
                              auto_delete_timeout?: number | null;
                              collection_base_path: string;
                              collection_type: "mapped" | "guest";
                              connector_id?: string;
                              contact_email?: string | null;
                              contact_info?: string | null;
                              created_at?: string | null;
                              DATA_TYPE: "collection#1.14.0";
                              default_directory?: string;
                              delete_protected?: boolean;
                              deleted?: boolean;
                              department?: string | null;
                              description?: string | null;
                              disable_anonymous_writes?: boolean;
                              disable_verify?: boolean;
                              display_name: string;
                              domain?: {
                                  certificate?: ...;
                                  certificate_chain?: ...;
                                  certificate_chain_path?: ...;
                                  certificate_path?: ...;
                                  DATA_TYPE: ...;
                                  domain_name: ...;
                                  private_key?: ...;
                                  private_key_path?: ...;
                                  wildcard: ...;
                              };
                              domain_name?: string;
                              enable_https?: boolean;
                              force_encryption?: boolean;
                              force_verify?: boolean;
                              guest_auth_policy_id?: string
                              | null;
                              high_assurance?: boolean;
                              https_url?: string;
                              id?: string;
                              identity_id?: string;
                              info_link?: string | null;
                              keywords?: (...)[];
                              last_access?: string | null;
                              manager_url?: string;
                              mapped_collection_id?: string;
                              organization?: string;
                              policies?:
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ...; project?: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | {
                                      DATA_TYPE: ...;
                                      sharing_groups_allow?: ...;
                                      sharing_groups_deny?: ...;
                                  }
                                  | {
                                      DATA_TYPE: ...;
                                      sharing_groups_allow?: ...;
                                      sharing_groups_deny?: ...;
                                  };
                              public: boolean;
                              require_mfa?: boolean;
                              restrict_transfers_to_high_assurance?: | "inbound"
                              | "outbound"
                              | "all"
                              | null;
                              root_path?: string;
                              sharing_restrict_paths?: unknown;
                              sharing_users_allow?: (...)[]
                              | null;
                              sharing_users_deny?: (...)[] | null;
                              skip_auto_delete?: boolean;
                              storage_gateway_id?: string;
                              subscription_admin_verified?: boolean;
                              tlsftp_url?: string;
                              user_credential_id?: string;
                              user_message?: string | null;
                              user_message_link?: string | null;
                          }
                          | {
                              acl_expiration_mins?: number
                              | null;
                              activity_notification_policy?: { status: ...; transfer_use: ... };
                              allow_guest_collections?: boolean;
                              associated_flow_policy?: unknown;
                              authentication_timeout_mins?: number;
                              auto_delete_timeout?: number | null;
                              collection_base_path: string;
                              collection_type: "mapped" | "guest";
                              connector_id?: string;
                              contact_email?: string | null;
                              contact_info?: string | null;
                              created_at?: string | null;
                              DATA_TYPE: "collection#1.15.0";
                              default_directory?: string;
                              delete_protected?: boolean;
                              deleted?: boolean;
                              department?: string | null;
                              description?: string | null;
                              disable_anonymous_writes?: boolean;
                              disable_verify?: boolean;
                              display_name: string;
                              domain?: {
                                  certificate?: ...;
                                  certificate_chain?: ...;
                                  certificate_chain_path?: ...;
                                  certificate_path?: ...;
                                  DATA_TYPE: ...;
                                  domain_name: ...;
                                  private_key?: ...;
                                  private_key_path?: ...;
                                  wildcard: ...;
                              };
                              domain_name?: string;
                              enable_https?: boolean;
                              force_encryption?: boolean;
                              force_verify?: boolean;
                              guest_auth_policy_id?: string
                              | null;
                              high_assurance?: boolean;
                              https_url?: string;
                              id?: string;
                              identity_id?: string;
                              info_link?: string | null;
                              keywords?: (...)[];
                              last_access?: string | null;
                              manager_url?: string;
                              mapped_collection_id?: string;
                              organization?: string;
                              policies?:
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ...; project?: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | {
                                      DATA_TYPE: ...;
                                      sharing_groups_allow?: ...;
                                      sharing_groups_deny?: ...;
                                  }
                                  | {
                                      DATA_TYPE: ...;
                                      sharing_groups_allow?: ...;
                                      sharing_groups_deny?: ...;
                                  };
                              public: boolean;
                              require_mfa?: boolean;
                              restrict_transfers_to_high_assurance?: | "inbound"
                              | "outbound"
                              | "all"
                              | null;
                              root_path?: string;
                              sharing_restrict_paths?: unknown;
                              sharing_users_allow?: (...)[]
                              | null;
                              sharing_users_deny?: (...)[] | null;
                              skip_auto_delete?: boolean;
                              storage_gateway_id?: string;
                              subscription_admin_verified?: boolean;
                              tlsftp_url?: string;
                              user_credential_id?: string;
                              user_message?: string | null;
                              user_message_link?: string | null;
                          }
                          | {
                              acl_expiration_mins?: number
                              | null;
                              activity_notification_policy?: { status: ...; transfer_use: ... };
                              allow_guest_collections?: boolean;
                              associated_flow_policy?: unknown;
                              authentication_timeout_mins?: number;
                              auto_delete_timeout?: number | null;
                              collection_base_path: string;
                              collection_type: "mapped" | "guest";
                              connector_id?: string;
                              contact_email?: string | null;
                              contact_info?: string | null;
                              created_at?: string | null;
                              DATA_TYPE: "collection#1.16.0";
                              default_directory?: string;
                              delete_protected?: boolean;
                              deleted?: boolean;
                              department?: string | null;
                              description?: string | null;
                              disable_anonymous_writes?: boolean;
                              disable_verify?: boolean;
                              display_name: string;
                              domain?: {
                                  certificate?: ...;
                                  certificate_chain?: ...;
                                  certificate_chain_path?: ...;
                                  certificate_path?: ...;
                                  DATA_TYPE: ...;
                                  domain_name: ...;
                                  private_key?: ...;
                                  private_key_path?: ...;
                                  wildcard: ...;
                              };
                              domain_name?: string;
                              enable_https?: boolean;
                              force_encryption?: boolean;
                              force_verify?: boolean;
                              guest_auth_policy_id?: string
                              | null;
                              high_assurance?: boolean;
                              https_methods?: (...)[];
                              https_url?: string;
                              id?: string;
                              identity_id?: string;
                              info_link?: string | null;
                              keywords?: (...)[];
                              last_access?: string | null;
                              manager_url?: string;
                              mapped_collection_id?: string;
                              organization?: string;
                              policies?:
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ...; project?: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | { DATA_TYPE: ... }
                                  | {
                                      DATA_TYPE: ...;
                                      sharing_groups_allow?: ...;
                                      sharing_groups_deny?: ...;
                                  }
                                  | {
                                      DATA_TYPE: ...;
                                      sharing_groups_allow?: ...;
                                      sharing_groups_deny?: ...;
                                  };
                              preserve_modtime?: "inbound"
                              | "outbound"
                              | "all"
                              | null;
                              public: boolean;
                              require_mfa?: boolean;
                              restrict_transfers_to_high_assurance?:
                                  | "inbound"
                                  | "outbound"
                                  | "all"
                                  | null;
                              root_path?: string;
                              sharing_restrict_paths?: unknown;
                              sharing_users_allow?: (...)[]
                              | null;
                              sharing_users_deny?: (...)[] | null;
                              skip_auto_delete?: boolean;
                              storage_gateway_id?: string;
                              subscription_admin_verified?: boolean;
                              tlsftp_url?: string;
                              user_credential_id?: string;
                              user_message?: string | null;
                              user_message_link?: string | null;
                          };
                      } & {
                          headers?: Headers;
                          query?: {
                              [key: string]: | string
                              | number
                              | boolean
                              | (...)[]
                              | null
                              | undefined;
                          };
                      },
                      sdkOptions?: SDKOptions,
                  ],
              ) => Promise<
                  JSONFetchResponse<
                      | {
                          code: string;
                          data?: Record<string, unknown>[];
                          DATA_TYPE: "result#1.0.0";
                          detail?: unknown;
                          has_next_page: boolean;
                          http_response_code: number;
                          marker?: string | null;
                          message?: string;
                      }
                      | {
                          authorization_parameters?: { [key: string]: unknown }
                          | null;
                          code: string;
                          data?: Record<string, unknown>[];
                          DATA_TYPE: "result#1.1.0";
                          detail?: unknown;
                          has_next_page: boolean;
                          http_response_code: number;
                          marker?: string | null;
                          message?: string;
                      },
                  >,
              >;
              updateOwnerString: (
                  ...args: [
                      collection_id: string,
                      options: {
                          payload: Partial<(...)[(...)]["content"]["application/json"]>;
                      } & {
                          headers?: Headers;
                          query?: {
                              [key: string]: | string
                              | number
                              | boolean
                              | (...)[]
                              | null
                              | undefined;
                          };
                      },
                      sdkOptions?: SDKOptions,
                  ],
              ) => Promise<
                  JSONFetchResponse<
                      | {
                          code: string;
                          data?: Record<string, unknown>[];
                          DATA_TYPE: "result#1.0.0";
                          detail?: unknown;
                          has_next_page: boolean;
                          http_response_code: number;
                          marker?: string | null;
                          message?: string;
                      }
                      | {
                          authorization_parameters?: { [key: string]: unknown }
                          | null;
                          code: string;
                          data?: Record<string, unknown>[];
                          DATA_TYPE: "result#1.1.0";
                          detail?: unknown;
                          has_next_page: boolean;
                          http_response_code: number;
                          marker?: string | null;
                          message?: string;
                      },
                  >,
              >;
          };
          configuration: GCSConfiguration;
          endpoint: {
              get: (
                  ...args: [
                      options?: { payload?: undefined; query?: undefined } & {
                          headers?: Headers;
                          query?: {
                              [key: string]:
                                  | string
                                  | number
                                  | boolean
                                  | (...)[]
                                  | null
                                  | undefined;
                          };
                      },
                      sdkOptions?: SDKOptions,
                  ],
              ) => Promise<
                  JSONFetchResponse<
                      {
                          code?: "success";
                          data?: (
                              | {
                                  allow_udt?: ...;
                                  contact_email?: ...;
                                  contact_info?: ...;
                                  DATA_TYPE: ...;
                                  department?: ...;
                                  description?: ...;
                                  display_name: ...;
                                  gcs_manager_url?: ...;
                                  id?: ...;
                                  info_link?: ...;
                                  keywords?: ...;
                                  max_concurrency?: ...;
                                  max_parallelism?: ...;
                                  network_use: ...;
                                  organization?: ...;
                                  preferred_concurrency?: ...;
                                  preferred_parallelism?: ...;
                                  public: ...;
                                  subscription_id?: ...;
                              }
                              | {
                                  allow_udt?: ...;
                                  contact_email?: ...;
                                  contact_info?: ...;
                                  DATA_TYPE: ...;
                                  department?: ...;
                                  description?: ...;
                                  display_name: ...;
                                  gcs_manager_url?: ...;
                                  gridftp_control_channel_port?: ...;
                                  id?: ...;
                                  info_link?: ...;
                                  keywords?: ...;
                                  max_concurrency?: ...;
                                  max_parallelism?: ...;
                                  network_use: ...;
                                  organization?: ...;
                                  preferred_concurrency?: ...;
                                  preferred_parallelism?: ...;
                                  public: ...;
                                  subscription_id?: ...;
                              }
                              | {
                                  allow_udt?: ...;
                                  contact_email?: ...;
                                  contact_info?: ...;
                                  DATA_TYPE: ...;
                                  department?: ...;
                                  description?: ...;
                                  display_name: ...;
                                  earliest_last_access?: ...;
                                  gcs_manager_url?: ...;
                                  gridftp_control_channel_port?: ...;
                                  id?: ...;
                                  info_link?: ...;
                                  keywords?: ...;
                                  max_concurrency?: ...;
                                  max_parallelism?: ...;
                                  network_use: ...;
                                  organization?: ...;
                                  preferred_concurrency?: ...;
                                  preferred_parallelism?: ...;
                                  public: ...;
                                  subscription_id?: ...;
                              }
                          )[];
                      } & (
                          | {
                              code: string;
                              data?: Record<(...), (...)>[];
                              DATA_TYPE: "result#1.0.0";
                              detail?: unknown;
                              has_next_page: boolean;
                              http_response_code: number;
                              marker?: string | null;
                              message?: string;
                          }
                          | {
                              authorization_parameters?: { [key: string]: unknown }
                              | null;
                              code: string;
                              data?: Record<(...), (...)>[];
                              DATA_TYPE: "result#1.1.0";
                              detail?: unknown;
                              has_next_page: boolean;
                              http_response_code: number;
                              marker?: string | null;
                              message?: string;
                          }
                      ),
                  >,
              >;
              next: {
                  get: (
                      ...args: [
                          params?: { request?: { data?: undefined; query?: undefined } } & ServiceMethodPayload,
                      ],
                  ) => Promise<
                      JSONFetchResponse<
                          { code?: "success"; data?: ((...) | (...) | (...))[] } & (
                              | {
                                  code: string;
                                  data?: (...)[];
                                  DATA_TYPE: "result#1.0.0";
                                  detail?: unknown;
                                  has_next_page: boolean;
                                  http_response_code: number;
                                  marker?: string | null;
                                  message?: string;
                              }
                              | {
                                  authorization_parameters?: { [key: ...]: ... }
                                  | null;
                                  code: string;
                                  data?: (...)[];
                                  DATA_TYPE: "result#1.1.0";
                                  detail?: unknown;
                                  has_next_page: boolean;
                                  http_response_code: number;
                                  marker?: string | null;
                                  message?: string;
                              }
                          ),
                      >,
                  >;
                  patch: (
                      ...args: [
                          params: {
                              request: {
                                  data: | Record<string, unknown>
                                  | {
                                      allow_udt?: (...) | (...) | (...);
                                      contact_email?: (...) | (...);
                                      contact_info?: (...) | (...);
                                      DATA_TYPE: "endpoint#1.0.0";
                                      department?: (...) | (...);
                                      description?: (...) | (...);
                                      display_name: string;
                                      gcs_manager_url?: (...) | (...);
                                      id?: (...) | (...);
                                      info_link?: (...) | (...);
                                      keywords?: (...) | (...);
                                      max_concurrency?: (...) | (...);
                                      max_parallelism?: (...) | (...);
                                      network_use: (...) | (...) | (...) | (...);
                                      organization?: (...) | (...);
                                      preferred_concurrency?: (...) | (...);
                                      preferred_parallelism?: (...) | (...);
                                      public: boolean;
                                      subscription_id?: (...) | (...) | (...);
                                  }
                                  | {
                                      allow_udt?: (...)
                                      | (...)
                                      | (...);
                                      contact_email?: (...) | (...);
                                      contact_info?: (...) | (...);
                                      DATA_TYPE: "endpoint#1.1.0";
                                      department?: (...) | (...);
                                      description?: (...) | (...);
                                      display_name: string;
                                      gcs_manager_url?: (...) | (...);
                                      gridftp_control_channel_port?: (...) | (...) | (...);
                                      id?: (...) | (...);
                                      info_link?: (...) | (...);
                                      keywords?: (...) | (...);
                                      max_concurrency?: (...) | (...);
                                      max_parallelism?: (...) | (...);
                                      network_use: (...) | (...) | (...) | (...);
                                      organization?: (...) | (...);
                                      preferred_concurrency?: (...) | (...);
                                      preferred_parallelism?: (...) | (...);
                                      public: boolean;
                                      subscription_id?: (...) | (...) | (...);
                                  }
                                  | {
                                      allow_udt?: (...)
                                      | (...)
                                      | (...);
                                      contact_email?: (...) | (...);
                                      contact_info?: (...) | (...);
                                      DATA_TYPE: "endpoint#1.2.0";
                                      department?: (...) | (...);
                                      description?: (...) | (...);
                                      display_name: string;
                                      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: boolean;
                                      subscription_id?: (...) | (...) | (...);
                                  };
                              };
                          } & ServiceMethodPayload,
                      ],
                  ) => Promise<
                      JSONFetchResponse<
                          { code?: "success"; data?: ((...) | (...) | (...))[] } & (
                              | {
                                  code: string;
                                  data?: (...)[];
                                  DATA_TYPE: "result#1.0.0";
                                  detail?: unknown;
                                  has_next_page: boolean;
                                  http_response_code: number;
                                  marker?: string | null;
                                  message?: string;
                              }
                              | {
                                  authorization_parameters?: { [key: ...]: ... }
                                  | null;
                                  code: string;
                                  data?: (...)[];
                                  DATA_TYPE: "result#1.1.0";
                                  detail?: unknown;
                                  has_next_page: boolean;
                                  http_response_code: number;
                                  marker?: string | null;
                                  message?: string;
                              }
                          ),
                      >,
                  >;
                  resetOwnerString: (
                      ...args: [
                          params?: { request?: { data?: undefined; query?: undefined } } & ServiceMethodPayload,
                      ],
                  ) => Promise<
                      JSONFetchResponse<
                          | {
                              code: string;
                              data?: Record<(...), (...)>[];
                              DATA_TYPE: "result#1.0.0";
                              detail?: unknown;
                              has_next_page: boolean;
                              http_response_code: number;
                              marker?: string | null;
                              message?: string;
                          }
                          | {
                              authorization_parameters?: { [key: string]: unknown }
                              | null;
                              code: string;
                              data?: Record<(...), (...)>[];
                              DATA_TYPE: "result#1.1.0";
                              detail?: unknown;
                              has_next_page: boolean;
                              http_response_code: number;
                              marker?: string | null;
                              message?: string;
                          },
                      >,
                  >;
                  update: (
                      ...args: [
                          params: {
                              request: {
                                  data: Partial<
                                      | {
                                          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?: ...;
                                      },
                                  >;
                              };
                          } & ServiceMethodPayload,
                      ],
                  ) => Promise<
                      JSONFetchResponse<
                          { code?: "success"; data?: ((...) | (...) | (...))[] } & (
                              | {
                                  code: string;
                                  data?: (...)[];
                                  DATA_TYPE: "result#1.0.0";
                                  detail?: unknown;
                                  has_next_page: boolean;
                                  http_response_code: number;
                                  marker?: string | null;
                                  message?: string;
                              }
                              | {
                                  authorization_parameters?: { [key: ...]: ... }
                                  | null;
                                  code: string;
                                  data?: (...)[];
                                  DATA_TYPE: "result#1.1.0";
                                  detail?: unknown;
                                  has_next_page: boolean;
                                  http_response_code: number;
                                  marker?: string | null;
                                  message?: string;
                              }
                          ),
                      >,
                  >;
                  updateOwner: (
                      ...args: [
                          params: {
                              request: {
                                  data: { DATA_TYPE: "endpoint_owner#1.0.0"; identity_id: string };
                              };
                          } & ServiceMethodPayload,
                      ],
                  ) => Promise<
                      JSONFetchResponse<
                          | {
                              code: string;
                              data?: Record<(...), (...)>[];
                              DATA_TYPE: "result#1.0.0";
                              detail?: unknown;
                              has_next_page: boolean;
                              http_response_code: number;
                              marker?: string | null;
                              message?: string;
                          }
                          | {
                              authorization_parameters?: { [key: string]: unknown }
                              | null;
                              code: string;
                              data?: Record<(...), (...)>[];
                              DATA_TYPE: "result#1.1.0";
                              detail?: unknown;
                              has_next_page: boolean;
                              http_response_code: number;
                              marker?: string | null;
                              message?: string;
                          },
                      >,
                  >;
                  updateOwnerString: (
                      ...args: [
                          params: {
                              request: {
                                  data: { DATA_TYPE: "owner_string#1.0.0"; identity_id?: string };
                              };
                          } & ServiceMethodPayload,
                      ],
                  ) => Promise<
                      JSONFetchResponse<
                          | {
                              code: string;
                              data?: Record<(...), (...)>[];
                              DATA_TYPE: "result#1.0.0";
                              detail?: unknown;
                              has_next_page: boolean;
                              http_response_code: number;
                              marker?: string | null;
                              message?: string;
                          }
                          | {
                              authorization_parameters?: { [key: string]: unknown }
                              | null;
                              code: string;
                              data?: Record<(...), (...)>[];
                              DATA_TYPE: "result#1.1.0";
                              detail?: unknown;
                              has_next_page: boolean;
                              http_response_code: number;
                              marker?: string | null;
                              message?: string;
                          },
                      >,
                  >;
                  updateSubscriptionId: (
                      ...args: [
                          params: {
                              request: {
                                  data: {
                                      DATA_TYPE: "endpoint_subscription#1.0.0";
                                      subscription_id: string
                                      | null;
                                  };
                              };
                          } & ServiceMethodPayload,
                      ],
                  ) => Promise<
                      JSONFetchResponse<
                          | {
                              code: string;
                              data?: Record<(...), (...)>[];
                              DATA_TYPE: "result#1.0.0";
                              detail?: unknown;
                              has_next_page: boolean;
                              http_response_code: number;
                              marker?: string | null;
                              message?: string;
                          }
                          | {
                              authorization_parameters?: { [key: string]: unknown }
                              | null;
                              code: string;
                              data?: Record<(...), (...)>[];
                              DATA_TYPE: "result#1.1.0";
                              detail?: unknown;
                              has_next_page: boolean;
                              http_response_code: number;
                              marker?: string | null;
                              message?: string;
                          },
                      >,
                  >;
              };
              patch: (
                  ...args: [
                      options?: {
                          payload: | Record<string, unknown>
                          | {
                              allow_udt?: boolean;
                              contact_email?: string;
                              contact_info?: string;
                              DATA_TYPE: "endpoint#1.0.0";
                              department?: string;
                              description?: string;
                              display_name: string;
                              gcs_manager_url?: string;
                              id?: string;
                              info_link?: string;
                              keywords?: (...)[];
                              max_concurrency?: number;
                              max_parallelism?: number;
                              network_use: "normal" | "minimal" | "aggressive" | "custom";
                              organization?: string;
                              preferred_concurrency?: number;
                              preferred_parallelism?: number;
                              public: boolean;
                              subscription_id?: string | null;
                          }
                          | {
                              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?: number
                              | null;
                              id?: string;
                              info_link?: string;
                              keywords?: (...)[];
                              max_concurrency?: number;
                              max_parallelism?: number;
                              network_use: "normal" | "minimal" | "aggressive" | "custom";
                              organization?: string;
                              preferred_concurrency?: number;
                              preferred_parallelism?: number;
                              public: boolean;
                              subscription_id?: string | null;
                          }
                          | {
                              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?: number
                              | null;
                              id?: string;
                              info_link?: string;
                              keywords?: (...)[];
                              max_concurrency?: number;
                              max_parallelism?: number;
                              network_use: "normal" | "minimal" | "aggressive" | "custom";
                              organization?: string;
                              preferred_concurrency?: number;
                              preferred_parallelism?: number;
                              public: boolean;
                              subscription_id?: string | null;
                          };
                      } & {
                          headers?: Headers;
                          query?: {
                              [key: string]: | string
                              | number
                              | boolean
                              | (...)[]
                              | null
                              | undefined;
                          };
                      },
                      sdkOptions?: SDKOptions,
                  ],
              ) => Promise<
                  JSONFetchResponse<
                      {
                          code?: "success";
                          data?: (
                              | {
                                  allow_udt?: ...;
                                  contact_email?: ...;
                                  contact_info?: ...;
                                  DATA_TYPE: ...;
                                  department?: ...;
                                  description?: ...;
                                  display_name: ...;
                                  gcs_manager_url?: ...;
                                  id?: ...;
                                  info_link?: ...;
                                  keywords?: ...;
                                  max_concurrency?: ...;
                                  max_parallelism?: ...;
                                  network_use: ...;
                                  organization?: ...;
                                  preferred_concurrency?: ...;
                                  preferred_parallelism?: ...;
                                  public: ...;
                                  subscription_id?: ...;
                              }
                              | {
                                  allow_udt?: ...;
                                  contact_email?: ...;
                                  contact_info?: ...;
                                  DATA_TYPE: ...;
                                  department?: ...;
                                  description?: ...;
                                  display_name: ...;
                                  gcs_manager_url?: ...;
                                  gridftp_control_channel_port?: ...;
                                  id?: ...;
                                  info_link?: ...;
                                  keywords?: ...;
                                  max_concurrency?: ...;
                                  max_parallelism?: ...;
                                  network_use: ...;
                                  organization?: ...;
                                  preferred_concurrency?: ...;
                                  preferred_parallelism?: ...;
                                  public: ...;
                                  subscription_id?: ...;
                              }
                              | {
                                  allow_udt?: ...;
                                  contact_email?: ...;
                                  contact_info?: ...;
                                  DATA_TYPE: ...;
                                  department?: ...;
                                  description?: ...;
                                  display_name: ...;
                                  earliest_last_access?: ...;
                                  gcs_manager_url?: ...;
                                  gridftp_control_channel_port?: ...;
                                  id?: ...;
                                  info_link?: ...;
                                  keywords?: ...;
                                  max_concurrency?: ...;
                                  max_parallelism?: ...;
                                  network_use: ...;
                                  organization?: ...;
                                  preferred_concurrency?: ...;
                                  preferred_parallelism?: ...;
                                  public: ...;
                                  subscription_id?: ...;
                              }
                          )[];
                      } & (
                          | {
                              code: string;
                              data?: Record<(...), (...)>[];
                              DATA_TYPE: "result#1.0.0";
                              detail?: unknown;
                              has_next_page: boolean;
                              http_response_code: number;
                              marker?: string | null;
                              message?: string;
                          }
                          | {
                              authorization_parameters?: { [key: string]: unknown }
                              | null;
                              code: string;
                              data?: Record<(...), (...)>[];
                              DATA_TYPE: "result#1.1.0";
                              detail?: unknown;
                              has_next_page: boolean;
                              http_response_code: number;
                              marker?: string | null;
                              message?: string;
                          }
                      ),
                  >,
              >;
              resetOwnerString: (
                  ...args: [
                      options: {
                          headers?: Headers;
                          query?: {
                              [key: string]: | string
                              | number
                              | boolean
                              | ((...) | (...) | (...) | (...))[]
                              | null
                              | undefined;
                          };
                      },
                      sdkOptions?: SDKOptions,
                  ],
              ) => Promise<
                  JSONFetchResponse<
                      | {
                          code: string;
                          data?: Record<string, unknown>[];
                          DATA_TYPE: "result#1.0.0";
                          detail?: unknown;
                          has_next_page: boolean;
                          http_response_code: number;
                          marker?: string | null;
                          message?: string;
                      }
                      | {
                          authorization_parameters?: { [key: string]: unknown }
                          | null;
                          code: string;
                          data?: Record<string, unknown>[];
                          DATA_TYPE: "result#1.1.0";
                          detail?: unknown;
                          has_next_page: boolean;
                          http_response_code: number;
                          marker?: string | null;
                          message?: string;
                      },
                  >,
              >;
              update: (
                  ...args: [
                      options?: {
                          payload: Partial<
                              | {
                                  allow_udt?: (...)
                                  | (...)
                                  | (...);
                                  contact_email?: (...) | (...);
                                  contact_info?: (...) | (...);
                                  DATA_TYPE: "endpoint#1.0.0";
                                  department?: (...) | (...);
                                  description?: (...) | (...);
                                  display_name: string;
                                  gcs_manager_url?: (...) | (...);
                                  id?: (...) | (...);
                                  info_link?: (...) | (...);
                                  keywords?: (...) | (...);
                                  max_concurrency?: (...) | (...);
                                  max_parallelism?: (...) | (...);
                                  network_use: (...) | (...) | (...) | (...);
                                  organization?: (...) | (...);
                                  preferred_concurrency?: (...) | (...);
                                  preferred_parallelism?: (...) | (...);
                                  public: boolean;
                                  subscription_id?: (...) | (...) | (...);
                              }
                              | {
                                  allow_udt?: (...)
                                  | (...)
                                  | (...);
                                  contact_email?: (...) | (...);
                                  contact_info?: (...) | (...);
                                  DATA_TYPE: "endpoint#1.1.0";
                                  department?: (...) | (...);
                                  description?: (...) | (...);
                                  display_name: string;
                                  gcs_manager_url?: (...) | (...);
                                  gridftp_control_channel_port?: (...) | (...) | (...);
                                  id?: (...) | (...);
                                  info_link?: (...) | (...);
                                  keywords?: (...) | (...);
                                  max_concurrency?: (...) | (...);
                                  max_parallelism?: (...) | (...);
                                  network_use: (...) | (...) | (...) | (...);
                                  organization?: (...) | (...);
                                  preferred_concurrency?: (...) | (...);
                                  preferred_parallelism?: (...) | (...);
                                  public: boolean;
                                  subscription_id?: (...) | (...) | (...);
                              }
                              | {
                                  allow_udt?: (...)
                                  | (...)
                                  | (...);
                                  contact_email?: (...) | (...);
                                  contact_info?: (...) | (...);
                                  DATA_TYPE: "endpoint#1.2.0";
                                  department?: (...) | (...);
                                  description?: (...) | (...);
                                  display_name: string;
                                  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: boolean;
                                  subscription_id?: (...) | (...) | (...);
                              },
                          >;
                      } & {
                          headers?: Headers;
                          query?: {
                              [key: string]: | string
                              | number
                              | boolean
                              | (...)[]
                              | null
                              | undefined;
                          };
                      },
                      sdkOptions?: SDKOptions,
                  ],
              ) => Promise<
                  JSONFetchResponse<
                      {
                          code?: "success";
                          data?: (
                              | {
                                  allow_udt?: ...;
                                  contact_email?: ...;
                                  contact_info?: ...;
                                  DATA_TYPE: ...;
                                  department?: ...;
                                  description?: ...;
                                  display_name: ...;
                                  gcs_manager_url?: ...;
                                  id?: ...;
                                  info_link?: ...;
                                  keywords?: ...;
                                  max_concurrency?: ...;
                                  max_parallelism?: ...;
                                  network_use: ...;
                                  organization?: ...;
                                  preferred_concurrency?: ...;
                                  preferred_parallelism?: ...;
                                  public: ...;
                                  subscription_id?: ...;
                              }
                              | {
                                  allow_udt?: ...;
                                  contact_email?: ...;
                                  contact_info?: ...;
                                  DATA_TYPE: ...;
                                  department?: ...;
                                  description?: ...;
                                  display_name: ...;
                                  gcs_manager_url?: ...;
                                  gridftp_control_channel_port?: ...;
                                  id?: ...;
                                  info_link?: ...;
                                  keywords?: ...;
                                  max_concurrency?: ...;
                                  max_parallelism?: ...;
                                  network_use: ...;
                                  organization?: ...;
                                  preferred_concurrency?: ...;
                                  preferred_parallelism?: ...;
                                  public: ...;
                                  subscription_id?: ...;
                              }
                              | {
                                  allow_udt?: ...;
                                  contact_email?: ...;
                                  contact_info?: ...;
                                  DATA_TYPE: ...;
                                  department?: ...;
                                  description?: ...;
                                  display_name: ...;
                                  earliest_last_access?: ...;
                                  gcs_manager_url?: ...;
                                  gridftp_control_channel_port?: ...;
                                  id?: ...;
                                  info_link?: ...;
                                  keywords?: ...;
                                  max_concurrency?: ...;
                                  max_parallelism?: ...;
                                  network_use: ...;
                                  organization?: ...;
                                  preferred_concurrency?: ...;
                                  preferred_parallelism?: ...;
                                  public: ...;
                                  subscription_id?: ...;
                              }
                          )[];
                      } & (
                          | {
                              code: string;
                              data?: Record<(...), (...)>[];
                              DATA_TYPE: "result#1.0.0";
                              detail?: unknown;
                              has_next_page: boolean;
                              http_response_code: number;
                              marker?: string | null;
                              message?: string;
                          }
                          | {
                              authorization_parameters?: { [key: string]: unknown }
                              | null;
                              code: string;
                              data?: Record<(...), (...)>[];
                              DATA_TYPE: "result#1.1.0";
                              detail?: unknown;
                              has_next_page: boolean;
                              http_response_code: number;
                              marker?: string | null;
                              message?: string;
                          }
                      ),
                  >,
              >;
              updateOwner: (
                  ...args: [
                      options?: {
                          payload: { DATA_TYPE: "endpoint_owner#1.0.0"; identity_id: string };
                      } & {
                          headers?: Headers;
                          query?: {
                              [key: string]: | string
                              | number
                              | boolean
                              | (...)[]
                              | null
                              | undefined;
                          };
                      },
                      sdkOptions?: SDKOptions,
                  ],
              ) => Promise<
                  JSONFetchResponse<
                      | {
                          code: string;
                          data?: Record<string, unknown>[];
                          DATA_TYPE: "result#1.0.0";
                          detail?: unknown;
                          has_next_page: boolean;
                          http_response_code: number;
                          marker?: string | null;
                          message?: string;
                      }
                      | {
                          authorization_parameters?: { [key: string]: unknown }
                          | null;
                          code: string;
                          data?: Record<string, unknown>[];
                          DATA_TYPE: "result#1.1.0";
                          detail?: unknown;
                          has_next_page: boolean;
                          http_response_code: number;
                          marker?: string | null;
                          message?: string;
                      },
                  >,
              >;
              updateOwnerString: (
                  ...args: [
                      options?: {
                          payload: { DATA_TYPE: "owner_string#1.0.0"; identity_id?: string };
                      } & {
                          headers?: Headers;
                          query?: {
                              [key: string]: | string
                              | number
                              | boolean
                              | (...)[]
                              | null
                              | undefined;
                          };
                      },
                      sdkOptions?: SDKOptions,
                  ],
              ) => Promise<
                  JSONFetchResponse<
                      | {
                          code: string;
                          data?: Record<string, unknown>[];
                          DATA_TYPE: "result#1.0.0";
                          detail?: unknown;
                          has_next_page: boolean;
                          http_response_code: number;
                          marker?: string | null;
                          message?: string;
                      }
                      | {
                          authorization_parameters?: { [key: string]: unknown }
                          | null;
                          code: string;
                          data?: Record<string, unknown>[];
                          DATA_TYPE: "result#1.1.0";
                          detail?: unknown;
                          has_next_page: boolean;
                          http_response_code: number;
                          marker?: string | null;
                          message?: string;
                      },
                  >,
              >;
              updateSubscriptionId: (
                  ...args: [
                      options?: {
                          payload: {
                              DATA_TYPE: "endpoint_subscription#1.0.0";
                              subscription_id: string
                              | null;
                          };
                      } & {
                          headers?: Headers;
                          query?: {
                              [key: string]: | string
                              | number
                              | boolean
                              | (...)[]
                              | null
                              | undefined;
                          };
                      },
                      sdkOptions?: SDKOptions,
                  ],
              ) => Promise<
                  JSONFetchResponse<
                      | {
                          code: string;
                          data?: Record<string, unknown>[];
                          DATA_TYPE: "result#1.0.0";
                          detail?: unknown;
                          has_next_page: boolean;
                          http_response_code: number;
                          marker?: string | null;
                          message?: string;
                      }
                      | {
                          authorization_parameters?: { [key: string]: unknown }
                          | null;
                          code: string;
                          data?: Record<string, unknown>[];
                          DATA_TYPE: "result#1.1.0";
                          detail?: unknown;
                          has_next_page: boolean;
                          http_response_code: number;
                          marker?: string | null;
                          message?: string;
                      },
                  >,
              >;
          };
          https: {
              get: (
                  ...args: [
                      path: string,
                      options?: { query?: { download?: boolean } } & {
                          headers?: Headers;
                          query?: {
                              [key: string]:
                                  | string
                                  | number
                                  | boolean
                                  | (...)[]
                                  | null
                                  | undefined;
                          };
                      },
                      sdkOptions?: SDKOptions,
                  ],
              ) => Promise<Response>;
              remove: (
                  ...args: [
                      path: string,
                      options?: { payload?: undefined; query?: undefined } & {
                          headers?: Headers;
                          query?: {
                              [key: string]:
                                  | string
                                  | number
                                  | boolean
                                  | (...)[]
                                  | null
                                  | undefined;
                          };
                      },
                      sdkOptions?: SDKOptions,
                  ],
              ) => Promise<Response>;
              update: (
                  ...args: [
                      path: string,
                      options: { payload?: undefined; query?: undefined } & {
                          headers?: Headers;
                          query?: {
                              [key: string]:
                                  | string
                                  | number
                                  | boolean
                                  | (...)[]
                                  | null
                                  | undefined;
                          };
                      },
                      sdkOptions?: SDKOptions,
                  ],
              ) => Promise<Response>;
          };
          nodes: {
              create: (
                  ...args: [
                      options: {
                          payload: | {
                              DATA_TYPE: "node#1.0.0";
                              id?: string;
                              incoming_port_range?: (...)[];
                              ip_addresses: string[];
                              outgoing_port_range?: (...)[];
                              status: "active" | "inactive";
                          }
                          | {
                              data_interface?: string
                              | null;
                              DATA_TYPE: "node#1.1.0";
                              id?: string;
                              incoming_port_range?: (...)[];
                              ip_addresses: string[];
                              outgoing_port_range?: (...)[];
                              status: "active" | "inactive";
                          }
                          | {
                              data_interface?: string
                              | null;
                              data_interface6?: string | null;
                              DATA_TYPE: "node#1.2.0";
                              id?: string;
                              incoming_port_range?: (...)[];
                              ip_addresses: string[];
                              outgoing_port_range?: (...)[];
                              status: "active" | "inactive";
                          }
                          | {
                              data_interface?: string
                              | null;
                              data_interface6?: string | null;
                              DATA_TYPE: "node#1.3.0";
                              id?: string;
                              incoming_port_range?: (...)[];
                              internal_stream_port_range?: (...)[];
                              ip_addresses: string[];
                              lan_addresses?: (...)[];
                              outgoing_port_range?: (...)[];
                              status: "active" | "inactive";
                          };
                      } & {
                          headers?: Headers;
                          query?: {
                              [key: string]: | string
                              | number
                              | boolean
                              | (...)[]
                              | null
                              | undefined;
                          };
                      },
                      sdkOptions?: SDKOptions,
                  ],
              ) => Promise<
                  JSONFetchResponse<
                      {
                          code?: "success";
                          data?: (
                              | {
                                  DATA_TYPE: ...;
                                  id?: ...;
                                  incoming_port_range?: ...;
                                  ip_addresses: ...;
                                  outgoing_port_range?: ...;
                                  status: ...;
                              }
                              | {
                                  data_interface?: ...;
                                  DATA_TYPE: ...;
                                  id?: ...;
                                  incoming_port_range?: ...;
                                  ip_addresses: ...;
                                  outgoing_port_range?: ...;
                                  status: ...;
                              }
                              | {
                                  data_interface?: ...;
                                  data_interface6?: ...;
                                  DATA_TYPE: ...;
                                  id?: ...;
                                  incoming_port_range?: ...;
                                  ip_addresses: ...;
                                  outgoing_port_range?: ...;
                                  status: ...;
                              }
                              | {
                                  data_interface?: ...;
                                  data_interface6?: ...;
                                  DATA_TYPE: ...;
                                  id?: ...;
                                  incoming_port_range?: ...;
                                  internal_stream_port_range?: ...;
                                  ip_addresses: ...;
                                  lan_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?: string | null;
                              message?: string;
                          }
                          | {
                              authorization_parameters?: { [key: string]: unknown }
                              | null;
                              code: string;
                              data?: Record<(...), (...)>[];
                              DATA_TYPE: "result#1.1.0";
                              detail?: unknown;
                              has_next_page: boolean;
                              http_response_code: number;
                              marker?: string | null;
                              message?: string;
                          }
                      ),
                  >,
              >;
              get: (
                  ...args: [
                      node_id: string,
                      options?: { payload?: undefined; query?: undefined } & {
                          headers?: Headers;
                          query?: {
                              [key: string]:
                                  | string
                                  | number
                                  | boolean
                                  | (...)[]
                                  | null
                                  | undefined;
                          };
                      },
                      sdkOptions?: SDKOptions,
                  ],
              ) => Promise<
                  JSONFetchResponse<
                      {
                          code?: "success";
                          data?: (
                              | {
                                  DATA_TYPE: ...;
                                  id?: ...;
                                  incoming_port_range?: ...;
                                  ip_addresses: ...;
                                  outgoing_port_range?: ...;
                                  status: ...;
                              }
                              | {
                                  data_interface?: ...;
                                  DATA_TYPE: ...;
                                  id?: ...;
                                  incoming_port_range?: ...;
                                  ip_addresses: ...;
                                  outgoing_port_range?: ...;
                                  status: ...;
                              }
                              | {
                                  data_interface?: ...;
                                  data_interface6?: ...;
                                  DATA_TYPE: ...;
                                  id?: ...;
                                  incoming_port_range?: ...;
                                  ip_addresses: ...;
                                  outgoing_port_range?: ...;
                                  status: ...;
                              }
                              | {
                                  data_interface?: ...;
                                  data_interface6?: ...;
                                  DATA_TYPE: ...;
                                  id?: ...;
                                  incoming_port_range?: ...;
                                  internal_stream_port_range?: ...;
                                  ip_addresses: ...;
                                  lan_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?: string | null;
                              message?: string;
                          }
                          | {
                              authorization_parameters?: { [key: string]: unknown }
                              | null;
                              code: string;
                              data?: Record<(...), (...)>[];
                              DATA_TYPE: "result#1.1.0";
                              detail?: unknown;
                              has_next_page: boolean;
                              http_response_code: number;
                              marker?: string | null;
                              message?: string;
                          }
                      ),
                  >,
              >;
              getAll: (
                  ...args: [
                      options?: { query?: { marker?: string; page_size?: number } } & {
                          headers?: Headers;
                          query?: {
                              [key: string]:
                                  | string
                                  | number
                                  | boolean
                                  | (...)[]
                                  | null
                                  | undefined;
                          };
                      },
                      sdkOptions?: SDKOptions,
                  ],
              ) => Promise<
                  JSONFetchResponse<
                      {
                          code?: "success";
                          data?: (
                              | {
                                  DATA_TYPE: ...;
                                  id?: ...;
                                  incoming_port_range?: ...;
                                  ip_addresses: ...;
                                  outgoing_port_range?: ...;
                                  status: ...;
                              }
                              | {
                                  data_interface?: ...;
                                  DATA_TYPE: ...;
                                  id?: ...;
                                  incoming_port_range?: ...;
                                  ip_addresses: ...;
                                  outgoing_port_range?: ...;
                                  status: ...;
                              }
                              | {
                                  data_interface?: ...;
                                  data_interface6?: ...;
                                  DATA_TYPE: ...;
                                  id?: ...;
                                  incoming_port_range?: ...;
                                  ip_addresses: ...;
                                  outgoing_port_range?: ...;
                                  status: ...;
                              }
                              | {
                                  data_interface?: ...;
                                  data_interface6?: ...;
                                  DATA_TYPE: ...;
                                  id?: ...;
                                  incoming_port_range?: ...;
                                  internal_stream_port_range?: ...;
                                  ip_addresses: ...;
                                  lan_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?: string | null;
                              message?: string;
                          }
                          | {
                              authorization_parameters?: { [key: string]: unknown }
                              | null;
                              code: string;
                              data?: Record<(...), (...)>[];
                              DATA_TYPE: "result#1.1.0";
                              detail?: unknown;
                              has_next_page: boolean;
                              http_response_code: number;
                              marker?: string | null;
                              message?: string;
                          }
                      ),
                  >,
              >;
              next: {
                  create: (
                      ...args: [
                          params: {
                              request: {
                                  data: | {
                                      DATA_TYPE: "node#1.0.0";
                                      id?: (...)
                                      | (...);
                                      incoming_port_range?: (...) | (...);
                                      ip_addresses: (...)[];
                                      outgoing_port_range?: (...) | (...);
                                      status: (...) | (...);
                                  }
                                  | {
                                      data_interface?: (...)
                                      | (...)
                                      | (...);
                                      DATA_TYPE: "node#1.1.0";
                                      id?: (...) | (...);
                                      incoming_port_range?: (...) | (...);
                                      ip_addresses: (...)[];
                                      outgoing_port_range?: (...) | (...);
                                      status: (...) | (...);
                                  }
                                  | {
                                      data_interface?: (...)
                                      | (...)
                                      | (...);
                                      data_interface6?: (...) | (...) | (...);
                                      DATA_TYPE: "node#1.2.0";
                                      id?: (...) | (...);
                                      incoming_port_range?: (...) | (...);
                                      ip_addresses: (...)[];
                                      outgoing_port_range?: (...) | (...);
                                      status: (...) | (...);
                                  }
                                  | {
                                      data_interface?: (...)
                                      | (...)
                                      | (...);
                                      data_interface6?: (...) | (...) | (...);
                                      DATA_TYPE: "node#1.3.0";
                                      id?: (...) | (...);
                                      incoming_port_range?: (...) | (...);
                                      internal_stream_port_range?: (...) | (...);
                                      ip_addresses: (...)[];
                                      lan_addresses?: (...) | (...);
                                      outgoing_port_range?: (...) | (...);
                                      status: (...) | (...);
                                  };
                              };
                          } & ServiceMethodPayload,
                      ],
                  ) => Promise<
                      JSONFetchResponse<
                          { code?: "success"; data?: ((...) | (...) | (...) | (...))[] } & (
                              | {
                                  code: string;
                                  data?: (...)[];
                                  DATA_TYPE: "result#1.0.0";
                                  detail?: unknown;
                                  has_next_page: boolean;
                                  http_response_code: number;
                                  marker?: string | null;
                                  message?: string;
                              }
                              | {
                                  authorization_parameters?: { [key: ...]: ... }
                                  | null;
                                  code: string;
                                  data?: (...)[];
                                  DATA_TYPE: "result#1.1.0";
                                  detail?: unknown;
                                  has_next_page: boolean;
                                  http_response_code: number;
                                  marker?: string | null;
                                  message?: string;
                              }
                          ),
                      >,
                  >;
                  get: (
                      ...args: [
                          params: { node_id: string } & {
                              request?: { data?: undefined; query?: undefined };
                          } & ServiceMethodPayload,
                      ],
                  ) => Promise<
                      JSONFetchResponse<
                          { code?: "success"; data?: ((...) | (...) | (...) | (...))[] } & (
                              | {
                                  code: string;
                                  data?: (...)[];
                                  DATA_TYPE: "result#1.0.0";
                                  detail?: unknown;
                                  has_next_page: boolean;
                                  http_response_code: number;
                                  marker?: string | null;
                                  message?: string;
                              }
                              | {
                                  authorization_parameters?: { [key: ...]: ... }
                                  | null;
                                  code: string;
                                  data?: (...)[];
                                  DATA_TYPE: "result#1.1.0";
                                  detail?: unknown;
                                  has_next_page: boolean;
                                  http_response_code: number;
                                  marker?: string | null;
                                  message?: string;
                              }
                          ),
                      >,
                  >;
                  getAll: (
                      ...args: [
                          params?: { request?: { data?: undefined; query?: (...)
                          | (...) } } & ServiceMethodPayload,
                      ],
                  ) => Promise<
                      JSONFetchResponse<
                          { code?: "success"; data?: ((...) | (...) | (...) | (...))[] } & (
                              | {
                                  code: string;
                                  data?: (...)[];
                                  DATA_TYPE: "result#1.0.0";
                                  detail?: unknown;
                                  has_next_page: boolean;
                                  http_response_code: number;
                                  marker?: string | null;
                                  message?: string;
                              }
                              | {
                                  authorization_parameters?: { [key: ...]: ... }
                                  | null;
                                  code: string;
                                  data?: (...)[];
                                  DATA_TYPE: "result#1.1.0";
                                  detail?: unknown;
                                  has_next_page: boolean;
                                  http_response_code: number;
                                  marker?: string | null;
                                  message?: string;
                              }
                          ),
                      >,
                  >;
                  patch: (
                      ...args: [
                          params: { node_id: string } & {
                              request: {
                                  data: Partial<
                                      | {
                                          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: ...;
                                      }
                                      | {
                                          data_interface?: ...;
                                          data_interface6?: ...;
                                          DATA_TYPE: ...;
                                          id?: ...;
                                          incoming_port_range?: ...;
                                          internal_stream_port_range?: ...;
                                          ip_addresses: ...;
                                          lan_addresses?: ...;
                                          outgoing_port_range?: ...;
                                          status: ...;
                                      },
                                  >;
                              };
                          } & ServiceMethodPayload,
                      ],
                  ) => Promise<
                      JSONFetchResponse<
                          { code?: "success"; data?: ((...) | (...) | (...) | (...))[] } & (
                              | {
                                  code: string;
                                  data?: (...)[];
                                  DATA_TYPE: "result#1.0.0";
                                  detail?: unknown;
                                  has_next_page: boolean;
                                  http_response_code: number;
                                  marker?: string | null;
                                  message?: string;
                              }
                              | {
                                  authorization_parameters?: { [key: ...]: ... }
                                  | null;
                                  code: string;
                                  data?: (...)[];
                                  DATA_TYPE: "result#1.1.0";
                                  detail?: unknown;
                                  has_next_page: boolean;
                                  http_response_code: number;
                                  marker?: string | null;
                                  message?: string;
                              }
                          ),
                      >,
                  >;
                  remove: (
                      ...args: [
                          params: { node_id: string } & {
                              request?: { data?: undefined; query?: undefined };
                          } & ServiceMethodPayload,
                      ],
                  ) => Promise<
                      JSONFetchResponse<
                          | {
                              code: string;
                              data?: Record<(...), (...)>[];
                              DATA_TYPE: "result#1.0.0";
                              detail?: unknown;
                              has_next_page: boolean;
                              http_response_code: number;
                              marker?: string | null;
                              message?: string;
                          }
                          | {
                              authorization_parameters?: { [key: string]: unknown }
                              | null;
                              code: string;
                              data?: Record<(...), (...)>[];
                              DATA_TYPE: "result#1.1.0";
                              detail?: unknown;
                              has_next_page: boolean;
                              http_response_code: number;
                              marker?: string | null;
                              message?: string;
                          },
                      >,
                  >;
                  update: (
                      ...args: [
                          params: { node_id: string } & {
                              request: {
                                  data:
                                      | {
                                          DATA_TYPE: "node#1.0.0";
                                          id?: (...)
                                          | (...);
                                          incoming_port_range?: (...) | (...);
                                          ip_addresses: (...)[];
                                          outgoing_port_range?: (...) | (...);
                                          status: (...) | (...);
                                      }
                                      | {
                                          data_interface?: (...)
                                          | (...)
                                          | (...);
                                          DATA_TYPE: "node#1.1.0";
                                          id?: (...) | (...);
                                          incoming_port_range?: (...) | (...);
                                          ip_addresses: (...)[];
                                          outgoing_port_range?: (...) | (...);
                                          status: (...) | (...);
                                      }
                                      | {
                                          data_interface?: (...)
                                          | (...)
                                          | (...);
                                          data_interface6?: (...) | (...) | (...);
                                          DATA_TYPE: "node#1.2.0";
                                          id?: (...) | (...);
                                          incoming_port_range?: (...) | (...);
                                          ip_addresses: (...)[];
                                          outgoing_port_range?: (...) | (...);
                                          status: (...) | (...);
                                      }
                                      | {
                                          data_interface?: (...)
                                          | (...)
                                          | (...);
                                          data_interface6?: (...) | (...) | (...);
                                          DATA_TYPE: "node#1.3.0";
                                          id?: (...) | (...);
                                          incoming_port_range?: (...) | (...);
                                          internal_stream_port_range?: (...) | (...);
                                          ip_addresses: (...)[];
                                          lan_addresses?: (...) | (...);
                                          outgoing_port_range?: (...) | (...);
                                          status: (...) | (...);
                                      };
                              };
                          } & ServiceMethodPayload,
                      ],
                  ) => Promise<
                      JSONFetchResponse<
                          { code?: "success"; data?: ((...) | (...) | (...) | (...))[] } & (
                              | {
                                  code: string;
                                  data?: (...)[];
                                  DATA_TYPE: "result#1.0.0";
                                  detail?: unknown;
                                  has_next_page: boolean;
                                  http_response_code: number;
                                  marker?: string | null;
                                  message?: string;
                              }
                              | {
                                  authorization_parameters?: { [key: ...]: ... }
                                  | null;
                                  code: string;
                                  data?: (...)[];
                                  DATA_TYPE: "result#1.1.0";
                                  detail?: unknown;
                                  has_next_page: boolean;
                                  http_response_code: number;
                                  marker?: string | null;
                                  message?: string;
                              }
                          ),
                      >,
                  >;
              };
              patch: (
                  ...args: [
                      node_id: string,
                      options: {
                          payload: Partial<
                              | {
                                  DATA_TYPE: "node#1.0.0";
                                  id?: (...)
                                  | (...);
                                  incoming_port_range?: (...) | (...);
                                  ip_addresses: (...)[];
                                  outgoing_port_range?: (...) | (...);
                                  status: (...) | (...);
                              }
                              | {
                                  data_interface?: (...)
                                  | (...)
                                  | (...);
                                  DATA_TYPE: "node#1.1.0";
                                  id?: (...) | (...);
                                  incoming_port_range?: (...) | (...);
                                  ip_addresses: (...)[];
                                  outgoing_port_range?: (...) | (...);
                                  status: (...) | (...);
                              }
                              | {
                                  data_interface?: (...)
                                  | (...)
                                  | (...);
                                  data_interface6?: (...) | (...) | (...);
                                  DATA_TYPE: "node#1.2.0";
                                  id?: (...) | (...);
                                  incoming_port_range?: (...) | (...);
                                  ip_addresses: (...)[];
                                  outgoing_port_range?: (...) | (...);
                                  status: (...) | (...);
                              }
                              | {
                                  data_interface?: (...)
                                  | (...)
                                  | (...);
                                  data_interface6?: (...) | (...) | (...);
                                  DATA_TYPE: "node#1.3.0";
                                  id?: (...) | (...);
                                  incoming_port_range?: (...) | (...);
                                  internal_stream_port_range?: (...) | (...);
                                  ip_addresses: (...)[];
                                  lan_addresses?: (...) | (...);
                                  outgoing_port_range?: (...) | (...);
                                  status: (...) | (...);
                              },
                          >;
                      } & {
                          headers?: Headers;
                          query?: {
                              [key: string]: | string
                              | number
                              | boolean
                              | (...)[]
                              | null
                              | undefined;
                          };
                      },
                      sdkOptions?: SDKOptions,
                  ],
              ) => Promise<
                  JSONFetchResponse<
                      {
                          code?: "success";
                          data?: (
                              | {
                                  DATA_TYPE: ...;
                                  id?: ...;
                                  incoming_port_range?: ...;
                                  ip_addresses: ...;
                                  outgoing_port_range?: ...;
                                  status: ...;
                              }
                              | {
                                  data_interface?: ...;
                                  DATA_TYPE: ...;
                                  id?: ...;
                                  incoming_port_range?: ...;
                                  ip_addresses: ...;
                                  outgoing_port_range?: ...;
                                  status: ...;
                              }
                              | {
                                  data_interface?: ...;
                                  data_interface6?: ...;
                                  DATA_TYPE: ...;
                                  id?: ...;
                                  incoming_port_range?: ...;
                                  ip_addresses: ...;
                                  outgoing_port_range?: ...;
                                  status: ...;
                              }
                              | {
                                  data_interface?: ...;
                                  data_interface6?: ...;
                                  DATA_TYPE: ...;
                                  id?: ...;
                                  incoming_port_range?: ...;
                                  internal_stream_port_range?: ...;
                                  ip_addresses: ...;
                                  lan_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?: string | null;
                              message?: string;
                          }
                          | {
                              authorization_parameters?: { [key: string]: unknown }
                              | null;
                              code: string;
                              data?: Record<(...), (...)>[];
                              DATA_TYPE: "result#1.1.0";
                              detail?: unknown;
                              has_next_page: boolean;
                              http_response_code: number;
                              marker?: string | null;
                              message?: string;
                          }
                      ),
                  >,
              >;
              remove: (
                  ...args: [
                      node_id: string,
                      options?: { payload?: undefined; query?: undefined } & {
                          headers?: Headers;
                          query?: {
                              [key: string]:
                                  | string
                                  | number
                                  | boolean
                                  | (...)[]
                                  | null
                                  | undefined;
                          };
                      },
                      sdkOptions?: SDKOptions,
                  ],
              ) => Promise<
                  JSONFetchResponse<
                      | {
                          code: string;
                          data?: Record<string, unknown>[];
                          DATA_TYPE: "result#1.0.0";
                          detail?: unknown;
                          has_next_page: boolean;
                          http_response_code: number;
                          marker?: string | null;
                          message?: string;
                      }
                      | {
                          authorization_parameters?: { [key: string]: unknown }
                          | null;
                          code: string;
                          data?: Record<string, unknown>[];
                          DATA_TYPE: "result#1.1.0";
                          detail?: unknown;
                          has_next_page: boolean;
                          http_response_code: number;
                          marker?: string | null;
                          message?: string;
                      },
                  >,
              >;
              update: (
                  ...args: [
                      node_id: string,
                      options: {
                          payload: | {
                              DATA_TYPE: "node#1.0.0";
                              id?: string;
                              incoming_port_range?: (...)[];
                              ip_addresses: string[];
                              outgoing_port_range?: (...)[];
                              status: "active" | "inactive";
                          }
                          | {
                              data_interface?: string
                              | null;
                              DATA_TYPE: "node#1.1.0";
                              id?: string;
                              incoming_port_range?: (...)[];
                              ip_addresses: string[];
                              outgoing_port_range?: (...)[];
                              status: "active" | "inactive";
                          }
                          | {
                              data_interface?: string
                              | null;
                              data_interface6?: string | null;
                              DATA_TYPE: "node#1.2.0";
                              id?: string;
                              incoming_port_range?: (...)[];
                              ip_addresses: string[];
                              outgoing_port_range?: (...)[];
                              status: "active" | "inactive";
                          }
                          | {
                              data_interface?: string
                              | null;
                              data_interface6?: string | null;
                              DATA_TYPE: "node#1.3.0";
                              id?: string;
                              incoming_port_range?: (...)[];
                              internal_stream_port_range?: (...)[];
                              ip_addresses: string[];
                              lan_addresses?: (...)[];
                              outgoing_port_range?: (...)[];
                              status: "active" | "inactive";
                          };
                      } & {
                          headers?: Headers;
                          query?: {
                              [key: string]: | string
                              | number
                              | boolean
                              | (...)[]
                              | null
                              | undefined;
                          };
                      },
                      sdkOptions?: SDKOptions,
                  ],
              ) => Promise<
                  JSONFetchResponse<
                      {
                          code?: "success";
                          data?: (
                              | {
                                  DATA_TYPE: ...;
                                  id?: ...;
                                  incoming_port_range?: ...;
                                  ip_addresses: ...;
                                  outgoing_port_range?: ...;
                                  status: ...;
                              }
                              | {
                                  data_interface?: ...;
                                  DATA_TYPE: ...;
                                  id?: ...;
                                  incoming_port_range?: ...;
                                  ip_addresses: ...;
                                  outgoing_port_range?: ...;
                                  status: ...;
                              }
                              | {
                                  data_interface?: ...;
                                  data_interface6?: ...;
                                  DATA_TYPE: ...;
                                  id?: ...;
                                  incoming_port_range?: ...;
                                  ip_addresses: ...;
                                  outgoing_port_range?: ...;
                                  status: ...;
                              }
                              | {
                                  data_interface?: ...;
                                  data_interface6?: ...;
                                  DATA_TYPE: ...;
                                  id?: ...;
                                  incoming_port_range?: ...;
                                  internal_stream_port_range?: ...;
                                  ip_addresses: ...;
                                  lan_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?: string | null;
                              message?: string;
                          }
                          | {
                              authorization_parameters?: { [key: string]: unknown }
                              | null;
                              code: string;
                              data?: Record<(...), (...)>[];
                              DATA_TYPE: "result#1.1.0";
                              detail?: unknown;
                              has_next_page: boolean;
                              http_response_code: number;
                              marker?: string | null;
                              message?: string;
                          }
                      ),
                  >,
              >;
          };
          roles: {
              create: (
                  ...args: [
                      options: {
                          payload: {
                              collection?: string
                              | null;
                              DATA_TYPE: "role#1.0.0";
                              id?: string;
                              principal: string;
                              role:
                                  | "owner"
                                  | "administrator"
                                  | "access_manager"
                                  | "activity_manager"
                                  | "activity_monitor"
                                  | "access_monitor";
                          };
                      } & {
                          headers?: Headers;
                          query?: {
                              [key: string]: | string
                              | number
                              | boolean
                              | (...)[]
                              | null
                              | undefined;
                          };
                      },
                      sdkOptions?: SDKOptions,
                  ],
              ) => Promise<
                  JSONFetchResponse<
                      {
                          code?: "success";
                          data?: {
                              collection?: (...)
                              | (...)
                              | (...);
                              DATA_TYPE: "role#1.0.0";
                              id?: (...) | (...);
                              principal: string;
                              role: (...) | (...) | (...) | (...) | (...) | (...);
                          }[];
                      } & (
                          | {
                              code: string;
                              data?: Record<(...), (...)>[];
                              DATA_TYPE: "result#1.0.0";
                              detail?: unknown;
                              has_next_page: boolean;
                              http_response_code: number;
                              marker?: string | null;
                              message?: string;
                          }
                          | {
                              authorization_parameters?: { [key: string]: unknown }
                              | null;
                              code: string;
                              data?: Record<(...), (...)>[];
                              DATA_TYPE: "result#1.1.0";
                              detail?: unknown;
                              has_next_page: boolean;
                              http_response_code: number;
                              marker?: string | null;
                              message?: string;
                          }
                      ),
                  >,
              >;
              get: (
                  ...args: [
                      role_id: string,
                      options?: { payload?: undefined; query?: undefined } & {
                          headers?: Headers;
                          query?: {
                              [key: string]:
                                  | string
                                  | number
                                  | boolean
                                  | (...)[]
                                  | null
                                  | undefined;
                          };
                      },
                      sdkOptions?: SDKOptions,
                  ],
              ) => Promise<
                  JSONFetchResponse<
                      {
                          code?: "success";
                          data?: {
                              collection?: (...)
                              | (...)
                              | (...);
                              DATA_TYPE: "role#1.0.0";
                              id?: (...) | (...);
                              principal: string;
                              role: (...) | (...) | (...) | (...) | (...) | (...);
                          }[];
                      } & (
                          | {
                              code: string;
                              data?: Record<(...), (...)>[];
                              DATA_TYPE: "result#1.0.0";
                              detail?: unknown;
                              has_next_page: boolean;
                              http_response_code: number;
                              marker?: string | null;
                              message?: string;
                          }
                          | {
                              authorization_parameters?: { [key: string]: unknown }
                              | null;
                              code: string;
                              data?: Record<(...), (...)>[];
                              DATA_TYPE: "result#1.1.0";
                              detail?: unknown;
                              has_next_page: boolean;
                              http_response_code: number;
                              marker?: string | null;
                              message?: string;
                          }
                      ),
                  >,
              >;
              getAll: (
                  ...args: [
                      options?: {
                          query?: {
                              collection_id?: string;
                              include?: (...)[];
                              marker?: string;
                              page_size?: number;
                          };
                      } & {
                          headers?: Headers;
                          query?: {
                              [key: string]: | string
                              | number
                              | boolean
                              | (...)[]
                              | null
                              | undefined;
                          };
                      },
                      sdkOptions?: SDKOptions,
                  ],
              ) => Promise<
                  JSONFetchResponse<
                      {
                          code?: "success";
                          data?: {
                              collection?: (...)
                              | (...)
                              | (...);
                              DATA_TYPE: "role#1.0.0";
                              id?: (...) | (...);
                              principal: string;
                              role: (...) | (...) | (...) | (...) | (...) | (...);
                          }[];
                      } & (
                          | {
                              code: string;
                              data?: Record<(...), (...)>[];
                              DATA_TYPE: "result#1.0.0";
                              detail?: unknown;
                              has_next_page: boolean;
                              http_response_code: number;
                              marker?: string | null;
                              message?: string;
                          }
                          | {
                              authorization_parameters?: { [key: string]: unknown }
                              | null;
                              code: string;
                              data?: Record<(...), (...)>[];
                              DATA_TYPE: "result#1.1.0";
                              detail?: unknown;
                              has_next_page: boolean;
                              http_response_code: number;
                              marker?: string | null;
                              message?: string;
                          }
                      ),
                  >,
              >;
              next: {
                  create: (
                      ...args: [
                          params: {
                              request: {
                                  data: {
                                      collection?: string
                                      | null;
                                      DATA_TYPE: "role#1.0.0";
                                      id?: string;
                                      principal: string;
                                      role:
                                          | "owner"
                                          | "administrator"
                                          | "access_manager"
                                          | "activity_manager"
                                          | "activity_monitor"
                                          | "access_monitor";
                                  };
                              };
                          } & ServiceMethodPayload,
                      ],
                  ) => Promise<
                      JSONFetchResponse<
                          {
                              code?: "success";
                              data?: {
                                  collection?: ...;
                                  DATA_TYPE: ...;
                                  id?: ...;
                                  principal: ...;
                                  role: ...;
                              }[];
                          } & (
                              | {
                                  code: string;
                                  data?: (...)[];
                                  DATA_TYPE: "result#1.0.0";
                                  detail?: unknown;
                                  has_next_page: boolean;
                                  http_response_code: number;
                                  marker?: string | null;
                                  message?: string;
                              }
                              | {
                                  authorization_parameters?: { [key: ...]: ... }
                                  | null;
                                  code: string;
                                  data?: (...)[];
                                  DATA_TYPE: "result#1.1.0";
                                  detail?: unknown;
                                  has_next_page: boolean;
                                  http_response_code: number;
                                  marker?: string | null;
                                  message?: string;
                              }
                          ),
                      >,
                  >;
                  get: (
                      ...args: [
                          params: { role_id: string } & {
                              request?: { data?: undefined; query?: undefined };
                          } & ServiceMethodPayload,
                      ],
                  ) => Promise<
                      JSONFetchResponse<
                          {
                              code?: "success";
                              data?: {
                                  collection?: ...;
                                  DATA_TYPE: ...;
                                  id?: ...;
                                  principal: ...;
                                  role: ...;
                              }[];
                          } & (
                              | {
                                  code: string;
                                  data?: (...)[];
                                  DATA_TYPE: "result#1.0.0";
                                  detail?: unknown;
                                  has_next_page: boolean;
                                  http_response_code: number;
                                  marker?: string | null;
                                  message?: string;
                              }
                              | {
                                  authorization_parameters?: { [key: ...]: ... }
                                  | null;
                                  code: string;
                                  data?: (...)[];
                                  DATA_TYPE: "result#1.1.0";
                                  detail?: unknown;
                                  has_next_page: boolean;
                                  http_response_code: number;
                                  marker?: string | null;
                                  message?: string;
                              }
                          ),
                      >,
                  >;
                  getAll: (
                      ...args: [
                          params?: { request?: { data?: undefined; query?: (...)
                          | (...) } } & ServiceMethodPayload,
                      ],
                  ) => Promise<
                      JSONFetchResponse<
                          {
                              code?: "success";
                              data?: {
                                  collection?: ...;
                                  DATA_TYPE: ...;
                                  id?: ...;
                                  principal: ...;
                                  role: ...;
                              }[];
                          } & (
                              | {
                                  code: string;
                                  data?: (...)[];
                                  DATA_TYPE: "result#1.0.0";
                                  detail?: unknown;
                                  has_next_page: boolean;
                                  http_response_code: number;
                                  marker?: string | null;
                                  message?: string;
                              }
                              | {
                                  authorization_parameters?: { [key: ...]: ... }
                                  | null;
                                  code: string;
                                  data?: (...)[];
                                  DATA_TYPE: "result#1.1.0";
                                  detail?: unknown;
                                  has_next_page: boolean;
                                  http_response_code: number;
                                  marker?: string | null;
                                  message?: string;
                              }
                          ),
                      >,
                  >;
                  remove: (
                      ...args: [
                          params: { role_id: string } & {
                              request?: { data?: undefined; query?: undefined };
                          } & ServiceMethodPayload,
                      ],
                  ) => Promise<
                      JSONFetchResponse<
                          | {
                              code: string;
                              data?: Record<(...), (...)>[];
                              DATA_TYPE: "result#1.0.0";
                              detail?: unknown;
                              has_next_page: boolean;
                              http_response_code: number;
                              marker?: string | null;
                              message?: string;
                          }
                          | {
                              authorization_parameters?: { [key: string]: unknown }
                              | null;
                              code: string;
                              data?: Record<(...), (...)>[];
                              DATA_TYPE: "result#1.1.0";
                              detail?: unknown;
                              has_next_page: boolean;
                              http_response_code: number;
                              marker?: string | null;
                              message?: string;
                          },
                      >,
                  >;
              };
              remove: (
                  ...args: [
                      role_id: string,
                      options?: { payload?: undefined; query?: undefined } & {
                          headers?: Headers;
                          query?: {
                              [key: string]:
                                  | string
                                  | number
                                  | boolean
                                  | (...)[]
                                  | null
                                  | undefined;
                          };
                      },
                      sdkOptions?: SDKOptions,
                  ],
              ) => Promise<
                  JSONFetchResponse<
                      | {
                          code: string;
                          data?: Record<string, unknown>[];
                          DATA_TYPE: "result#1.0.0";
                          detail?: unknown;
                          has_next_page: boolean;
                          http_response_code: number;
                          marker?: string | null;
                          message?: string;
                      }
                      | {
                          authorization_parameters?: { [key: string]: unknown }
                          | null;
                          code: string;
                          data?: Record<string, unknown>[];
                          DATA_TYPE: "result#1.1.0";
                          detail?: unknown;
                          has_next_page: boolean;
                          http_response_code: number;
                          marker?: string | null;
                          message?: string;
                      },
                  >,
              >;
          };
          storageGateways: {
              create: (
                  ...args: [
                      options: {
                          payload: | {
                              allowed_domains?: (...)[];
                              authentication_assurance_timeout?: number | null;
                              authentication_timeout_mins?: number | null;
                              connector_id?: string;
                              DATA_TYPE: "storage_gateway#1.0.0";
                              deleted?: boolean;
                              display_name?: string;
                              high_assurance?: boolean | null;
                              id?: string;
                              identity_mappings?: (...)[] | null;
                              load_dsi_module?: string | null;
                              policies?:
                                  | {
                                      DATA_TYPE: ...;
                                      s3_buckets?: ...;
                                      s3_endpoint?: ...;
                                      s3_user_credential_required?: ...;
                                  }
                                  | {
                                      DATA_TYPE: ...;
                                      s3_buckets?: ...;
                                      s3_endpoint?: ...;
                                      s3_requester_pays?: ...;
                                      s3_user_credential_required?: ...;
                                  }
                                  | {
                                      DATA_TYPE: ...;
                                      s3_allow_multi_keys?: ...;
                                      s3_buckets?: ...;
                                      s3_endpoint?: ...;
                                      s3_requester_pays?: ...;
                                      s3_user_credential_required?: ...;
                                  }
                                  | {
                                      DATA_TYPE: ...;
                                      s3_allow_multi_keys?: ...;
                                      s3_buckets?: ...;
                                      s3_endpoint?: ...;
                                      s3_requester_pays?: ...;
                                      s3_restore?: ...;
                                      s3_storage_class?: ...;
                                      s3_user_credential_required?: ...;
                                  }
                                  | {
                                      account: ...;
                                      adls: ...;
                                      auth_callback?: ...;
                                      auth_type: ...;
                                      client_id: ...;
                                      DATA_TYPE: ...;
                                      secret: ...;
                                      tenant: ...;
                                      user_credential_required?: ...;
                                  }
                                  | {
                                      account: ...;
                                      adls: ...;
                                      allow_any_account?: ...;
                                      auth_callback?: ...;
                                      auth_type: ...;
                                      client_id: ...;
                                      DATA_TYPE: ...;
                                      secret: ...;
                                      tenant: ...;
                                      user_credential_required?: ...;
                                  }
                                  | { bp_access_id_file?: ...; DATA_TYPE: ...; s3_endpoint?: ... }
                                  | { boxAppSettings: ...; DATA_TYPE: ...; enterpriseID: ... }
                                  | {
                                      auth_callback?: ...;
                                      boxAppSettings?: ...;
                                      client_id?: ...;
                                      DATA_TYPE: ...;
                                      enterpriseID?: ...;
                                      secret?: ...;
                                      user_api_rate_limit?: ...;
                                      user_credential_required?: ...;
                                  }
                                  | {
                                      allow_any_account?: ...;
                                      auth_callback?: ...;
                                      boxAppSettings?: ...;
                                      client_id?: ...;
                                      DATA_TYPE: ...;
                                      enterpriseID?: ...;
                                      secret?: ...;
                                      user_api_rate_limit?: ...;
                                      user_credential_required?: ...;
                                  }
                                  | {
                                      ceph_admin_key_id?: ...;
                                      ceph_admin_secret_key?: ...;
                                      DATA_TYPE: ...;
                                      s3_buckets?: ...;
                                      s3_endpoint?: ...;
                                  }
                                  | {
                                      allow_any_account?: ...;
                                      auth_callback?: ...;
                                      client_id: ...;
                                      DATA_TYPE: ...;
                                      secret: ...;
                                      user_api_rate_limit?: ...;
                                  }
                                  | {
                                      auth_callback?: ...;
                                      buckets?: ...;
                                      client_id: ...;
                                      DATA_TYPE: ...;
                                      projects?: ...;
                                      secret: ...;
                                      service_account_key?: ...;
                                      user_credential_required?: ...;
                                  }
                                  | {
                                      allow_any_account?: ...;
                                      auth_callback?: ...;
                                      buckets?: ...;
                                      client_id: ...;
                                      DATA_TYPE: ...;
                                      projects?: ...;
                                      secret: ...;
                                      service_account_key?: ...;
                                      user_credential_required?: ...;
                                  }
                                  | {
                                      auth_callback?: ...;
                                      client_id: ...;
                                      DATA_TYPE: ...;
                                      secret: ...;
                                      user_api_rate_quota?: ...;
                                  }
                                  | {
                                      allow_any_account?: ...;
                                      auth_callback?: ...;
                                      client_id: ...;
                                      DATA_TYPE: ...;
                                      secret: ...;
                                      user_api_rate_quota?: ...;
                                  }
                                  | {
                                      authentication_mech: ...;
                                      authenticator: ...;
                                      DATA_TYPE: ...;
                                      uda_checksum: ...;
                                  }
                                  | {
                                      authentication_mech: ...;
                                      authenticator: ...;
                                      DATA_TYPE: ...;
                                      login_name?: ...;
                                      uda_checksum: ...;
                                  }
                                  | {
                                      DATA_TYPE: ...;
                                      environment?: ...;
                                      irods_authentication_file?: ...;
                                      irods_environment_file: ...;
                                  }
                                  | {
                                      auth_callback?: ...;
                                      client_id: ...;
                                      DATA_TYPE: ...;
                                      secret: ...;
                                      tenant?: ...;
                                      user_api_rate_limit?: ...;
                                  }
                                  | {
                                      allow_any_account?: ...;
                                      auth_callback?: ...;
                                      client_id: ...;
                                      DATA_TYPE: ...;
                                      secret: ...;
                                      tenant?: ...;
                                      user_api_rate_limit?: ...;
                                  }
                                  | { DATA_TYPE: ...; groups_allow?: ...; groups_deny?: ... }
                                  | {
                                      DATA_TYPE: ...;
                                      environment?: ...;
                                      groups_allow?: ...;
                                      groups_deny?: ...;
                                      stage_app: ...;
                                  };
                              process_user?: string
                              | null;
                              require_high_assurance?: boolean | null;
                              restrict_paths?: unknown;
                              users_allow?: (...)[] | null;
                              users_deny?: (...)[] | null;
                          }
                          | {
                              allowed_domains?: (...)[];
                              authentication_assurance_timeout?: number | null;
                              authentication_timeout_mins?: number | null;
                              connector_id?: string;
                              DATA_TYPE: "storage_gateway#1.1.0";
                              deleted?: boolean;
                              display_name?: string;
                              high_assurance?: boolean | null;
                              id?: string;
                              identity_mappings?: (...)[] | null;
                              load_dsi_module?: string | null;
                              policies?:
                                  | {
                                      DATA_TYPE: ...;
                                      s3_buckets?: ...;
                                      s3_endpoint?: ...;
                                      s3_user_credential_required?: ...;
                                  }
                                  | {
                                      DATA_TYPE: ...;
                                      s3_buckets?: ...;
                                      s3_endpoint?: ...;
                                      s3_requester_pays?: ...;
                                      s3_user_credential_required?: ...;
                                  }
                                  | {
                                      DATA_TYPE: ...;
                                      s3_allow_multi_keys?: ...;
                                      s3_buckets?: ...;
                                      s3_endpoint?: ...;
                                      s3_requester_pays?: ...;
                                      s3_user_credential_required?: ...;
                                  }
                                  | {
                                      DATA_TYPE: ...;
                                      s3_allow_multi_keys?: ...;
                                      s3_buckets?: ...;
                                      s3_endpoint?: ...;
                                      s3_requester_pays?: ...;
                                      s3_restore?: ...;
                                      s3_storage_class?: ...;
                                      s3_user_credential_required?: ...;
                                  }
                                  | {
                                      account: ...;
                                      adls: ...;
                                      auth_callback?: ...;
                                      auth_type: ...;
                                      client_id: ...;
                                      DATA_TYPE: ...;
                                      secret: ...;
                                      tenant: ...;
                                      user_credential_required?: ...;
                                  }
                                  | {
                                      account: ...;
                                      adls: ...;
                                      allow_any_account?: ...;
                                      auth_callback?: ...;
                                      auth_type: ...;
                                      client_id: ...;
                                      DATA_TYPE: ...;
                                      secret: ...;
                                      tenant: ...;
                                      user_credential_required?: ...;
                                  }
                                  | { bp_access_id_file?: ...; DATA_TYPE: ...; s3_endpoint?: ... }
                                  | { boxAppSettings: ...; DATA_TYPE: ...; enterpriseID: ... }
                                  | {
                                      auth_callback?: ...;
                                      boxAppSettings?: ...;
                                      client_id?: ...;
                                      DATA_TYPE: ...;
                                      enterpriseID?: ...;
                                      secret?: ...;
                                      user_api_rate_limit?: ...;
                                      user_credential_required?: ...;
                                  }
                                  | {
                                      allow_any_account?: ...;
                                      auth_callback?: ...;
                                      boxAppSettings?: ...;
                                      client_id?: ...;
                                      DATA_TYPE: ...;
                                      enterpriseID?: ...;
                                      secret?: ...;
                                      user_api_rate_limit?: ...;
                                      user_credential_required?: ...;
                                  }
                                  | {
                                      ceph_admin_key_id?: ...;
                                      ceph_admin_secret_key?: ...;
                                      DATA_TYPE: ...;
                                      s3_buckets?: ...;
                                      s3_endpoint?: ...;
                                  }
                                  | {
                                      allow_any_account?: ...;
                                      auth_callback?: ...;
                                      client_id: ...;
                                      DATA_TYPE: ...;
                                      secret: ...;
                                      user_api_rate_limit?: ...;
                                  }
                                  | {
                                      auth_callback?: ...;
                                      buckets?: ...;
                                      client_id: ...;
                                      DATA_TYPE: ...;
                                      projects?: ...;
                                      secret: ...;
                                      service_account_key?: ...;
                                      user_credential_required?: ...;
                                  }
                                  | {
                                      allow_any_account?: ...;
                                      auth_callback?: ...;
                                      buckets?: ...;
                                      client_id: ...;
                                      DATA_TYPE: ...;
                                      projects?: ...;
                                      secret: ...;
                                      service_account_key?: ...;
                                      user_credential_required?: ...;
                                  }
                                  | {
                                      auth_callback?: ...;
                                      client_id: ...;
                                      DATA_TYPE: ...;
                                      secret: ...;
                                      user_api_rate_quota?: ...;
                                  }
                                  | {
                                      allow_any_account?: ...;
                                      auth_callback?: ...;
                                      client_id: ...;
                                      DATA_TYPE: ...;
                                      secret: ...;
                                      user_api_rate_quota?: ...;
                                  }
                                  | {
                                      authentication_mech: ...;
                                      authenticator: ...;
                                      DATA_TYPE: ...;
                                      uda_checksum: ...;
                                  }
                                  | {
                                      authentication_mech: ...;
                                      authenticator: ...;
                                      DATA_TYPE: ...;
                                      login_name?: ...;
                                      uda_checksum: ...;
                                  }
                                  | {
                                      DATA_TYPE: ...;
                                      environment?: ...;
                                      irods_authentication_file?: ...;
                                      irods_environment_file: ...;
                                  }
                                  | {
                                      auth_callback?: ...;
                                      client_id: ...;
                                      DATA_TYPE: ...;
                                      secret: ...;
                                      tenant?: ...;
                                      user_api_rate_limit?: ...;
                                  }
                                  | {
                                      allow_any_account?: ...;
                                      auth_callback?: ...;
                                      client_id: ...;
                                      DATA_TYPE: ...;
                                      secret: ...;
                                      tenant?: ...;
                                      user_api_rate_limit?: ...;
                                  }
                                  | { DATA_TYPE: ...; groups_allow?: ...; groups_deny?: ... }
                                  | {
                                      DATA_TYPE: ...;
                                      environment?: ...;
                                      groups_allow?: ...;
                                      groups_deny?: ...;
                                      stage_app: ...;
                                  };
                              process_user?: string
                              | null;
                              require_high_assurance?: boolean | null;
                              require_mfa: boolean;
                              restrict_paths?: unknown;
                              users_allow?: (...)[] | null;
                              users_deny?: (...)[] | null;
                          }
                          | {
                              admin_managed_credentials: boolean;
                              allowed_domains?: (...)[];
                              authentication_assurance_timeout?: number | null;
                              authentication_timeout_mins?: number | null;
                              connector_id?: string;
                              DATA_TYPE: "storage_gateway#1.2.0";
                              deleted?: boolean;
                              display_name?: string;
                              high_assurance?: boolean | null;
                              id?: string;
                              identity_mappings?: (...)[] | null;
                              load_dsi_module?: string | null;
                              policies?:
                                  | {
                                      DATA_TYPE: ...;
                                      s3_buckets?: ...;
                                      s3_endpoint?: ...;
                                      s3_user_credential_required?: ...;
                                  }
                                  | {
                                      DATA_TYPE: ...;
                                      s3_buckets?: ...;
                                      s3_endpoint?: ...;
                                      s3_requester_pays?: ...;
                                      s3_user_credential_required?: ...;
                                  }
                                  | {
                                      DATA_TYPE: ...;
                                      s3_allow_multi_keys?: ...;
                                      s3_buckets?: ...;
                                      s3_endpoint?: ...;
                                      s3_requester_pays?: ...;
                                      s3_user_credential_required?: ...;
                                  }
                                  | {
                                      DATA_TYPE: ...;
                                      s3_allow_multi_keys?: ...;
                                      s3_buckets?: ...;
                                      s3_endpoint?: ...;
                                      s3_requester_pays?: ...;
                                      s3_restore?: ...;
                                      s3_storage_class?: ...;
                                      s3_user_credential_required?: ...;
                                  }
                                  | {
                                      account: ...;
                                      adls: ...;
                                      auth_callback?: ...;
                                      auth_type: ...;
                                      client_id: ...;
                                      DATA_TYPE: ...;
                                      secret: ...;
                                      tenant: ...;
                                      user_credential_required?: ...;
                                  }
                                  | {
                                      account: ...;
                                      adls: ...;
                                      allow_any_account?: ...;
                                      auth_callback?: ...;
                                      auth_type: ...;
                                      client_id: ...;
                                      DATA_TYPE: ...;
                                      secret: ...;
                                      tenant: ...;
                                      user_credential_required?: ...;
                                  }
                                  | { bp_access_id_file?: ...; DATA_TYPE: ...; s3_endpoint?: ... }
                                  | { boxAppSettings: ...; DATA_TYPE: ...; enterpriseID: ... }
                                  | {
                                      auth_callback?: ...;
                                      boxAppSettings?: ...;
                                      client_id?: ...;
                                      DATA_TYPE: ...;
                                      enterpriseID?: ...;
                                      secret?: ...;
                                      user_api_rate_limit?: ...;
                                      user_credential_required?: ...;
                                  }
                                  | {
                                      allow_any_account?: ...;
                                      auth_callback?: ...;
                                      boxAppSettings?: ...;
                                      client_id?: ...;
                                      DATA_TYPE: ...;
                                      enterpriseID?: ...;
                                      secret?: ...;
                                      user_api_rate_limit?: ...;
                                      user_credential_required?: ...;
                                  }
                                  | {
                                      ceph_admin_key_id?: ...;
                                      ceph_admin_secret_key?: ...;
                                      DATA_TYPE: ...;
                                      s3_buckets?: ...;
                                      s3_endpoint?: ...;
                                  }
                                  | {
                                      allow_any_account?: ...;
                                      auth_callback?: ...;
                                      client_id: ...;
                                      DATA_TYPE: ...;
                                      secret: ...;
                                      user_api_rate_limit?: ...;
                                  }
                                  | {
                                      auth_callback?: ...;
                                      buckets?: ...;
                                      client_id: ...;
                                      DATA_TYPE: ...;
                                      projects?: ...;
                                      secret: ...;
                                      service_account_key?: ...;
                                      user_credential_required?: ...;
                                  }
                                  | {
                                      allow_any_account?: ...;
                                      auth_callback?: ...;
                                      buckets?: ...;
                                      client_id: ...;
                                      DATA_TYPE: ...;
                                      projects?: ...;
                                      secret: ...;
                                      service_account_key?: ...;
                                      user_credential_required?: ...;
                                  }
                                  | {
                                      auth_callback?: ...;
                                      client_id: ...;
                                      DATA_TYPE: ...;
                                      secret: ...;
                                      user_api_rate_quota?: ...;
                                  }
                                  | {
                                      allow_any_account?: ...;
                                      auth_callback?: ...;
                                      client_id: ...;
                                      DATA_TYPE: ...;
                                      secret: ...;
                                      user_api_rate_quota?: ...;
                                  }
                                  | {
                                      authentication_mech: ...;
                                      authenticator: ...;
                                      DATA_TYPE: ...;
                                      uda_checksum: ...;
                                  }
                                  | {
                                      authentication_mech: ...;
                                      authenticator: ...;
                                      DATA_TYPE: ...;
                                      login_name?: ...;
                                      uda_checksum: ...;
                                  }
                                  | {
                                      DATA_TYPE: ...;
                                      environment?: ...;
                                      irods_authentication_file?: ...;
                                      irods_environment_file: ...;
                                  }
                                  | {
                                      auth_callback?: ...;
                                      client_id: ...;
                                      DATA_TYPE: ...;
                                      secret: ...;
                                      tenant?: ...;
                                      user_api_rate_limit?: ...;
                                  }
                                  | {
                                      allow_any_account?: ...;
                                      auth_callback?: ...;
                                      client_id: ...;
                                      DATA_TYPE: ...;
                                      secret: ...;
                                      tenant?: ...;
                                      user_api_rate_limit?: ...;
                                  }
                                  | { DATA_TYPE: ...; groups_allow?: ...; groups_deny?: ... }
                                  | {
                                      DATA_TYPE: ...;
                                      environment?: ...;
                                      groups_allow?: ...;
                                      groups_deny?: ...;
                                      stage_app: ...;
                                  };
                              process_user?: string
                              | null;
                              require_high_assurance?: boolean | null;
                              require_mfa: boolean;
                              restrict_paths?: unknown;
                              users_allow?: (...)[] | null;
                              users_deny?: (...)[] | null;
                          }
                          | {
                              admin_managed_credentials: boolean;
                              allowed_domains?: (...)[];
                              authentication_assurance_timeout?: number | null;
                              authentication_timeout_mins?: number | null;
                              connector_id?: string;
                              DATA_TYPE: "storage_gateway#1.3.0";
                              deleted?: boolean;
                              display_name?: string;
                              high_assurance?: boolean | null;
                              id?: string;
                              identity_mappings?: (...)[] | null;
                              load_dsi_module?: string | null;
                              max_concurrency?: number;
                              max_parallelism?: number;
                              network_use?: "normal" | "minimal" | "aggressive" | "custom" | null;
                              policies?:
                                  | {
                                      DATA_TYPE: ...;
                                      s3_buckets?: ...;
                                      s3_endpoint?: ...;
                                      s3_user_credential_required?: ...;
                                  }
                                  | {
                                      DATA_TYPE: ...;
                                      s3_buckets?: ...;
                                      s3_endpoint?: ...;
                                      s3_requester_pays?: ...;
                                      s3_user_credential_required?: ...;
                                  }
                                  | {
                                      DATA_TYPE: ...;
                                      s3_allow_multi_keys?: ...;
                                      s3_buckets?: ...;
                                      s3_endpoint?: ...;
                                      s3_requester_pays?: ...;
                                      s3_user_credential_required?: ...;
                                  }
                                  | {
                                      DATA_TYPE: ...;
                                      s3_allow_multi_keys?: ...;
                                      s3_buckets?: ...;
                                      s3_endpoint?: ...;
                                      s3_requester_pays?: ...;
                                      s3_restore?: ...;
                                      s3_storage_class?: ...;
                                      s3_user_credential_required?: ...;
                                  }
                                  | {
                                      account: ...;
                                      adls: ...;
                                      auth_callback?: ...;
                                      auth_type: ...;
                                      client_id: ...;
                                      DATA_TYPE: ...;
                                      secret: ...;
                                      tenant: ...;
                                      user_credential_required?: ...;
                                  }
                                  | {
                                      account: ...;
                                      adls: ...;
                                      allow_any_account?: ...;
                                      auth_callback?: ...;
                                      auth_type: ...;
                                      client_id: ...;
                                      DATA_TYPE: ...;
                                      secret: ...;
                                      tenant: ...;
                                      user_credential_required?: ...;
                                  }
                                  | { bp_access_id_file?: ...; DATA_TYPE: ...; s3_endpoint?: ... }
                                  | { boxAppSettings: ...; DATA_TYPE: ...; enterpriseID: ... }
                                  | {
                                      auth_callback?: ...;
                                      boxAppSettings?: ...;
                                      client_id?: ...;
                                      DATA_TYPE: ...;
                                      enterpriseID?: ...;
                                      secret?: ...;
                                      user_api_rate_limit?: ...;
                                      user_credential_required?: ...;
                                  }
                                  | {
                                      allow_any_account?: ...;
                                      auth_callback?: ...;
                                      boxAppSettings?: ...;
                                      client_id?: ...;
                                      DATA_TYPE: ...;
                                      enterpriseID?: ...;
                                      secret?: ...;
                                      user_api_rate_limit?: ...;
                                      user_credential_required?: ...;
                                  }
                                  | {
                                      ceph_admin_key_id?: ...;
                                      ceph_admin_secret_key?: ...;
                                      DATA_TYPE: ...;
                                      s3_buckets?: ...;
                                      s3_endpoint?: ...;
                                  }
                                  | {
                                      allow_any_account?: ...;
                                      auth_callback?: ...;
                                      client_id: ...;
                                      DATA_TYPE: ...;
                                      secret: ...;
                                      user_api_rate_limit?: ...;
                                  }
                                  | {
                                      auth_callback?: ...;
                                      buckets?: ...;
                                      client_id: ...;
                                      DATA_TYPE: ...;
                                      projects?: ...;
                                      secret: ...;
                                      service_account_key?: ...;
                                      user_credential_required?: ...;
                                  }
                                  | {
                                      allow_any_account?: ...;
                                      auth_callback?: ...;
                                      buckets?: ...;
                                      client_id: ...;
                                      DATA_TYPE: ...;
                                      projects?: ...;
                                      secret: ...;
                                      service_account_key?: ...;
                                      user_credential_required?: ...;
                                  }
                                  | {
                                      auth_callback?: ...;
                                      client_id: ...;
                                      DATA_TYPE: ...;
                                      secret: ...;
                                      user_api_rate_quota?: ...;
                                  }
                                  | {
                                      allow_any_account?: ...;
                                      auth_callback?: ...;
                                      client_id: ...;
                                      DATA_TYPE: ...;
                                      secret: ...;
                                      user_api_rate_quota?: ...;
                                  }
                                  | {
                                      authentication_mech: ...;
                                      authenticator: ...;
                                      DATA_TYPE: ...;
                                      uda_checksum: ...;
                                  }
                                  | {
                                      authentication_mech: ...;
                                      authenticator: ...;
                                      DATA_TYPE: ...;
                                      login_name?: ...;
                                      uda_checksum: ...;
                                  }
                                  | {
                                      DATA_TYPE: ...;
                                      environment?: ...;
                                      irods_authentication_file?: ...;
                                      irods_environment_file: ...;
                                  }
                                  | {
                                      auth_callback?: ...;
                                      client_id: ...;
                                      DATA_TYPE: ...;
                                      secret: ...;
                                      tenant?: ...;
                                      user_api_rate_limit?: ...;
                                  }
                                  | {
                                      allow_any_account?: ...;
                                      auth_callback?: ...;
                                      client_id: ...;
                                      DATA_TYPE: ...;
                                      secret: ...;
                                      tenant?: ...;
                                      user_api_rate_limit?: ...;
                                  }
                                  | { DATA_TYPE: ...; groups_allow?: ...; groups_deny?: ... }
                                  | {
                                      DATA_TYPE: ...;
                                      environment?: ...;
                                      groups_allow?: ...;
                                      groups_deny?: ...;
                                      stage_app: ...;
                                  };
                              preferred_concurrency?: number;
                              preferred_parallelism?: number;
                              process_user?: string
                              | null;
                              require_high_assurance?: boolean | null;
                              require_mfa: boolean;
                              restrict_paths?: unknown;
                              users_allow?: (...)[] | null;
                              users_deny?: (...)[] | null;
                          };
                      } & {
                          headers?: Headers;
                          query?: {
                              [key: string]: | string
                              | number
                              | boolean
                              | (...)[]
                              | null
                              | undefined;
                          };
                      },
                      sdkOptions?: SDKOptions,
                  ],
              ) => Promise<
                  JSONFetchResponse<
                      {
                          code?: "success";
                          data?: (
                              | {
                                  allowed_domains?: ...;
                                  authentication_assurance_timeout?: ...;
                                  authentication_timeout_mins?: ...;
                                  connector_id?: ...;
                                  DATA_TYPE: ...;
                                  deleted?: ...;
                                  display_name?: ...;
                                  high_assurance?: ...;
                                  id?: ...;
                                  identity_mappings?: ...;
                                  load_dsi_module?: ...;
                                  policies?: ...;
                                  process_user?: ...;
                                  require_high_assurance?: ...;
                                  restrict_paths?: ...;
                                  users_allow?: ...;
                                  users_deny?: ...;
                              }
                              | {
                                  allowed_domains?: ...;
                                  authentication_assurance_timeout?: ...;
                                  authentication_timeout_mins?: ...;
                                  connector_id?: ...;
                                  DATA_TYPE: ...;
                                  deleted?: ...;
                                  display_name?: ...;
                                  high_assurance?: ...;
                                  id?: ...;
                                  identity_mappings?: ...;
                                  load_dsi_module?: ...;
                                  policies?: ...;
                                  process_user?: ...;
                                  require_high_assurance?: ...;
                                  require_mfa: ...;
                                  restrict_paths?: ...;
                                  users_allow?: ...;
                                  users_deny?: ...;
                              }
                              | {
                                  admin_managed_credentials: ...;
                                  allowed_domains?: ...;
                                  authentication_assurance_timeout?: ...;
                                  authentication_timeout_mins?: ...;
                                  connector_id?: ...;
                                  DATA_TYPE: ...;
                                  deleted?: ...;
                                  display_name?: ...;
                                  high_assurance?: ...;
                                  id?: ...;
                                  identity_mappings?: ...;
                                  load_dsi_module?: ...;
                                  policies?: ...;
                                  process_user?: ...;
                                  require_high_assurance?: ...;
                                  require_mfa: ...;
                                  restrict_paths?: ...;
                                  users_allow?: ...;
                                  users_deny?: ...;
                              }
                              | {
                                  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?: string | null;
                              message?: string;
                          }
                          | {
                              authorization_parameters?: { [key: string]: unknown }
                              | null;
                              code: string;
                              data?: Record<(...), (...)>[];
                              DATA_TYPE: "result#1.1.0";
                              detail?: unknown;
                              has_next_page: boolean;
                              http_response_code: number;
                              marker?: string | null;
                              message?: string;
                          }
                      ),
                  >,
              >;
              get: (
                  ...args: [
                      storage_gateway_id: string,
                      options?: { query?: { include?: (...)[] } } & {
                          headers?: Headers;
                          query?: {
                              [key: string]:
                                  | string
                                  | number
                                  | boolean
                                  | (...)[]
                                  | null
                                  | undefined;
                          };
                      },
                      sdkOptions?: SDKOptions,
                  ],
              ) => Promise<
                  JSONFetchResponse<
                      {
                          code?: "success";
                          data?: (
                              | {
                                  allowed_domains?: ...;
                                  authentication_assurance_timeout?: ...;
                                  authentication_timeout_mins?: ...;
                                  connector_id?: ...;
                                  DATA_TYPE: ...;
                                  deleted?: ...;
                                  display_name?: ...;
                                  high_assurance?: ...;
                                  id?: ...;
                                  identity_mappings?: ...;
                                  load_dsi_module?: ...;
                                  policies?: ...;
                                  process_user?: ...;
                                  require_high_assurance?: ...;
                                  restrict_paths?: ...;
                                  users_allow?: ...;
                                  users_deny?: ...;
                              }
                              | {
                                  allowed_domains?: ...;
                                  authentication_assurance_timeout?: ...;
                                  authentication_timeout_mins?: ...;
                                  connector_id?: ...;
                                  DATA_TYPE: ...;
                                  deleted?: ...;
                                  display_name?: ...;
                                  high_assurance?: ...;
                                  id?: ...;
                                  identity_mappings?: ...;
                                  load_dsi_module?: ...;
                                  policies?: ...;
                                  process_user?: ...;
                                  require_high_assurance?: ...;
                                  require_mfa: ...;
                                  restrict_paths?: ...;
                                  users_allow?: ...;
                                  users_deny?: ...;
                              }
                              | {
                                  admin_managed_credentials: ...;
                                  allowed_domains?: ...;
                                  authentication_assurance_timeout?: ...;
                                  authentication_timeout_mins?: ...;
                                  connector_id?: ...;
                                  DATA_TYPE: ...;
                                  deleted?: ...;
                                  display_name?: ...;
                                  high_assurance?: ...;
                                  id?: ...;
                                  identity_mappings?: ...;
                                  load_dsi_module?: ...;
                                  policies?: ...;
                                  process_user?: ...;
                                  require_high_assurance?: ...;
                                  require_mfa: ...;
                                  restrict_paths?: ...;
                                  users_allow?: ...;
                                  users_deny?: ...;
                              }
                              | {
                                  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?: string | null;
                              message?: string;
                          }
                          | {
                              authorization_parameters?: { [key: string]: unknown }
                              | null;
                              code: string;
                              data?: Record<(...), (...)>[];
                              DATA_TYPE: "result#1.1.0";
                              detail?: unknown;
                              has_next_page: boolean;
                              http_response_code: number;
                              marker?: string | null;
                              message?: string;
                          }
                      ),
                  >,
              >;
              getAll: (
                  ...args: [
                      options?: {
                          query?: { include?: (...)[]; marker?: string; page_size?: number };
                      } & {
                          headers?: Headers;
                          query?: {
                              [key: string]: | string
                              | number
                              | boolean
                              | (...)[]
                              | null
                              | undefined;
                          };
                      },
                      sdkOptions?: SDKOptions,
                  ],
              ) => Promise<
                  JSONFetchResponse<
                      {
                          code?: "success";
                          data?: (
                              | {
                                  allowed_domains?: ...;
                                  authentication_assurance_timeout?: ...;
                                  authentication_timeout_mins?: ...;
                                  connector_id?: ...;
                                  DATA_TYPE: ...;
                                  deleted?: ...;
                                  display_name?: ...;
                                  high_assurance?: ...;
                                  id?: ...;
                                  identity_mappings?: ...;
                                  load_dsi_module?: ...;
                                  policies?: ...;
                                  process_user?: ...;
                                  require_high_assurance?: ...;
                                  restrict_paths?: ...;
                                  users_allow?: ...;
                                  users_deny?: ...;
                              }
                              | {
                                  allowed_domains?: ...;
                                  authentication_assurance_timeout?: ...;
                                  authentication_timeout_mins?: ...;
                                  connector_id?: ...;
                                  DATA_TYPE: ...;
                                  deleted?: ...;
                                  display_name?: ...;
                                  high_assurance?: ...;
                                  id?: ...;
                                  identity_mappings?: ...;
                                  load_dsi_module?: ...;
                                  policies?: ...;
                                  process_user?: ...;
                                  require_high_assurance?: ...;
                                  require_mfa: ...;
                                  restrict_paths?: ...;
                                  users_allow?: ...;
                                  users_deny?: ...;
                              }
                              | {
                                  admin_managed_credentials: ...;
                                  allowed_domains?: ...;
                                  authentication_assurance_timeout?: ...;
                                  authentication_timeout_mins?: ...;
                                  connector_id?: ...;
                                  DATA_TYPE: ...;
                                  deleted?: ...;
                                  display_name?: ...;
                                  high_assurance?: ...;
                                  id?: ...;
                                  identity_mappings?: ...;
                                  load_dsi_module?: ...;
                                  policies?: ...;
                                  process_user?: ...;
                                  require_high_assurance?: ...;
                                  require_mfa: ...;
                                  restrict_paths?: ...;
                                  users_allow?: ...;
                                  users_deny?: ...;
                              }
                              | {
                                  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?: string | null;
                              message?: string;
                          }
                          | {
                              authorization_parameters?: { [key: string]: unknown }
                              | null;
                              code: string;
                              data?: Record<(...), (...)>[];
                              DATA_TYPE: "result#1.1.0";
                              detail?: unknown;
                              has_next_page: boolean;
                              http_response_code: number;
                              marker?: string | null;
                              message?: string;
                          }
                      ),
                  >,
              >;
              next: {
                  create: (
                      ...args: [
                          params: {
                              request: {
                                  data: | {
                                      allowed_domains?: (...)
                                      | (...);
                                      authentication_assurance_timeout?: (...) | (...) | (...);
                                      authentication_timeout_mins?: (...) | (...) | (...);
                                      connector_id?: (...) | (...);
                                      DATA_TYPE: "storage_gateway#1.0.0";
                                      deleted?: (...) | (...) | (...);
                                      display_name?: (...) | (...);
                                      high_assurance?: (...) | (...) | (...) | (...);
                                      id?: (...) | (...);
                                      identity_mappings?: (...) | (...) | (...);
                                      load_dsi_module?: (...) | (...) | (...);
                                      policies?:
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...);
                                      process_user?: (...) | (...) | (...);
                                      require_high_assurance?: (...) | (...) | (...) | (...);
                                      restrict_paths?: unknown;
                                      users_allow?: (...) | (...) | (...);
                                      users_deny?: (...) | (...) | (...);
                                  }
                                  | {
                                      allowed_domains?: (...)
                                      | (...);
                                      authentication_assurance_timeout?: (...) | (...) | (...);
                                      authentication_timeout_mins?: (...) | (...) | (...);
                                      connector_id?: (...) | (...);
                                      DATA_TYPE: "storage_gateway#1.1.0";
                                      deleted?: (...) | (...) | (...);
                                      display_name?: (...) | (...);
                                      high_assurance?: (...) | (...) | (...) | (...);
                                      id?: (...) | (...);
                                      identity_mappings?: (...) | (...) | (...);
                                      load_dsi_module?: (...) | (...) | (...);
                                      policies?:
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...);
                                      process_user?: (...) | (...) | (...);
                                      require_high_assurance?: (...) | (...) | (...) | (...);
                                      require_mfa: boolean;
                                      restrict_paths?: unknown;
                                      users_allow?: (...) | (...) | (...);
                                      users_deny?: (...) | (...) | (...);
                                  }
                                  | {
                                      admin_managed_credentials: boolean;
                                      allowed_domains?: (...)
                                      | (...);
                                      authentication_assurance_timeout?: (...) | (...) | (...);
                                      authentication_timeout_mins?: (...) | (...) | (...);
                                      connector_id?: (...) | (...);
                                      DATA_TYPE: "storage_gateway#1.2.0";
                                      deleted?: (...) | (...) | (...);
                                      display_name?: (...) | (...);
                                      high_assurance?: (...) | (...) | (...) | (...);
                                      id?: (...) | (...);
                                      identity_mappings?: (...) | (...) | (...);
                                      load_dsi_module?: (...) | (...) | (...);
                                      policies?:
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...);
                                      process_user?: (...) | (...) | (...);
                                      require_high_assurance?: (...) | (...) | (...) | (...);
                                      require_mfa: boolean;
                                      restrict_paths?: unknown;
                                      users_allow?: (...) | (...) | (...);
                                      users_deny?: (...) | (...) | (...);
                                  }
                                  | {
                                      admin_managed_credentials: boolean;
                                      allowed_domains?: (...)
                                      | (...);
                                      authentication_assurance_timeout?: (...) | (...) | (...);
                                      authentication_timeout_mins?: (...) | (...) | (...);
                                      connector_id?: (...) | (...);
                                      DATA_TYPE: "storage_gateway#1.3.0";
                                      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: boolean;
                                      restrict_paths?: unknown;
                                      users_allow?: (...) | (...) | (...);
                                      users_deny?: (...) | (...) | (...);
                                  };
                              };
                          } & ServiceMethodPayload,
                      ],
                  ) => Promise<
                      JSONFetchResponse<
                          { code?: "success"; data?: ((...) | (...) | (...) | (...))[] } & (
                              | {
                                  code: string;
                                  data?: (...)[];
                                  DATA_TYPE: "result#1.0.0";
                                  detail?: unknown;
                                  has_next_page: boolean;
                                  http_response_code: number;
                                  marker?: string | null;
                                  message?: string;
                              }
                              | {
                                  authorization_parameters?: { [key: ...]: ... }
                                  | null;
                                  code: string;
                                  data?: (...)[];
                                  DATA_TYPE: "result#1.1.0";
                                  detail?: unknown;
                                  has_next_page: boolean;
                                  http_response_code: number;
                                  marker?: string | null;
                                  message?: string;
                              }
                          ),
                      >,
                  >;
                  get: (
                      ...args: [
                          params: { storage_gateway_id: string } & {
                              request?: { data?: undefined; query?: { include?: ... } };
                          } & ServiceMethodPayload,
                      ],
                  ) => Promise<
                      JSONFetchResponse<
                          { code?: "success"; data?: ((...) | (...) | (...) | (...))[] } & (
                              | {
                                  code: string;
                                  data?: (...)[];
                                  DATA_TYPE: "result#1.0.0";
                                  detail?: unknown;
                                  has_next_page: boolean;
                                  http_response_code: number;
                                  marker?: string | null;
                                  message?: string;
                              }
                              | {
                                  authorization_parameters?: { [key: ...]: ... }
                                  | null;
                                  code: string;
                                  data?: (...)[];
                                  DATA_TYPE: "result#1.1.0";
                                  detail?: unknown;
                                  has_next_page: boolean;
                                  http_response_code: number;
                                  marker?: string | null;
                                  message?: string;
                              }
                          ),
                      >,
                  >;
                  getAll: (
                      ...args: [
                          params?: { request?: { data?: undefined; query?: (...)
                          | (...) } } & ServiceMethodPayload,
                      ],
                  ) => Promise<
                      JSONFetchResponse<
                          { code?: "success"; data?: ((...) | (...) | (...) | (...))[] } & (
                              | {
                                  code: string;
                                  data?: (...)[];
                                  DATA_TYPE: "result#1.0.0";
                                  detail?: unknown;
                                  has_next_page: boolean;
                                  http_response_code: number;
                                  marker?: string | null;
                                  message?: string;
                              }
                              | {
                                  authorization_parameters?: { [key: ...]: ... }
                                  | null;
                                  code: string;
                                  data?: (...)[];
                                  DATA_TYPE: "result#1.1.0";
                                  detail?: unknown;
                                  has_next_page: boolean;
                                  http_response_code: number;
                                  marker?: string | null;
                                  message?: string;
                              }
                          ),
                      >,
                  >;
                  patch: (
                      ...args: [
                          params: { storage_gateway_id: string } & {
                              request: {
                                  data: Partial<
                                      | {
                                          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?: ...;
                                      },
                                  >;
                              };
                          } & ServiceMethodPayload,
                      ],
                  ) => Promise<
                      JSONFetchResponse<
                          { code?: "success"; data?: ((...) | (...) | (...) | (...))[] } & (
                              | {
                                  code: string;
                                  data?: (...)[];
                                  DATA_TYPE: "result#1.0.0";
                                  detail?: unknown;
                                  has_next_page: boolean;
                                  http_response_code: number;
                                  marker?: string | null;
                                  message?: string;
                              }
                              | {
                                  authorization_parameters?: { [key: ...]: ... }
                                  | null;
                                  code: string;
                                  data?: (...)[];
                                  DATA_TYPE: "result#1.1.0";
                                  detail?: unknown;
                                  has_next_page: boolean;
                                  http_response_code: number;
                                  marker?: string | null;
                                  message?: string;
                              }
                          ),
                      >,
                  >;
                  remove: (
                      ...args: [
                          params: { storage_gateway_id: string } & {
                              request?: { data?: undefined; query?: undefined };
                          } & ServiceMethodPayload,
                      ],
                  ) => Promise<
                      JSONFetchResponse<
                          | {
                              code: string;
                              data?: Record<(...), (...)>[];
                              DATA_TYPE: "result#1.0.0";
                              detail?: unknown;
                              has_next_page: boolean;
                              http_response_code: number;
                              marker?: string | null;
                              message?: string;
                          }
                          | {
                              authorization_parameters?: { [key: string]: unknown }
                              | null;
                              code: string;
                              data?: Record<(...), (...)>[];
                              DATA_TYPE: "result#1.1.0";
                              detail?: unknown;
                              has_next_page: boolean;
                              http_response_code: number;
                              marker?: string | null;
                              message?: string;
                          },
                      >,
                  >;
                  update: (
                      ...args: [
                          params: { storage_gateway_id: string } & {
                              request: {
                                  data:
                                      | {
                                          allowed_domains?: (...)
                                          | (...);
                                          authentication_assurance_timeout?: (...) | (...) | (...);
                                          authentication_timeout_mins?: (...) | (...) | (...);
                                          connector_id?: (...) | (...);
                                          DATA_TYPE: "storage_gateway#1.0.0";
                                          deleted?: (...) | (...) | (...);
                                          display_name?: (...) | (...);
                                          high_assurance?: (...) | (...) | (...) | (...);
                                          id?: (...) | (...);
                                          identity_mappings?: (...) | (...) | (...);
                                          load_dsi_module?: (...) | (...) | (...);
                                          policies?:
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...);
                                          process_user?: (...) | (...) | (...);
                                          require_high_assurance?: (...) | (...) | (...) | (...);
                                          restrict_paths?: unknown;
                                          users_allow?: (...) | (...) | (...);
                                          users_deny?: (...) | (...) | (...);
                                      }
                                      | {
                                          allowed_domains?: (...)
                                          | (...);
                                          authentication_assurance_timeout?: (...) | (...) | (...);
                                          authentication_timeout_mins?: (...) | (...) | (...);
                                          connector_id?: (...) | (...);
                                          DATA_TYPE: "storage_gateway#1.1.0";
                                          deleted?: (...) | (...) | (...);
                                          display_name?: (...) | (...);
                                          high_assurance?: (...) | (...) | (...) | (...);
                                          id?: (...) | (...);
                                          identity_mappings?: (...) | (...) | (...);
                                          load_dsi_module?: (...) | (...) | (...);
                                          policies?:
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...);
                                          process_user?: (...) | (...) | (...);
                                          require_high_assurance?: (...) | (...) | (...) | (...);
                                          require_mfa: boolean;
                                          restrict_paths?: unknown;
                                          users_allow?: (...) | (...) | (...);
                                          users_deny?: (...) | (...) | (...);
                                      }
                                      | {
                                          admin_managed_credentials: boolean;
                                          allowed_domains?: (...)
                                          | (...);
                                          authentication_assurance_timeout?: (...) | (...) | (...);
                                          authentication_timeout_mins?: (...) | (...) | (...);
                                          connector_id?: (...) | (...);
                                          DATA_TYPE: "storage_gateway#1.2.0";
                                          deleted?: (...) | (...) | (...);
                                          display_name?: (...) | (...);
                                          high_assurance?: (...) | (...) | (...) | (...);
                                          id?: (...) | (...);
                                          identity_mappings?: (...) | (...) | (...);
                                          load_dsi_module?: (...) | (...) | (...);
                                          policies?:
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...)
                                              | (...);
                                          process_user?: (...) | (...) | (...);
                                          require_high_assurance?: (...) | (...) | (...) | (...);
                                          require_mfa: boolean;
                                          restrict_paths?: unknown;
                                          users_allow?: (...) | (...) | (...);
                                          users_deny?: (...) | (...) | (...);
                                      }
                                      | {
                                          admin_managed_credentials: boolean;
                                          allowed_domains?: (...)
                                          | (...);
                                          authentication_assurance_timeout?: (...) | (...) | (...);
                                          authentication_timeout_mins?: (...) | (...) | (...);
                                          connector_id?: (...) | (...);
                                          DATA_TYPE: "storage_gateway#1.3.0";
                                          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: boolean;
                                          restrict_paths?: unknown;
                                          users_allow?: (...) | (...) | (...);
                                          users_deny?: (...) | (...) | (...);
                                      };
                              };
                          } & ServiceMethodPayload,
                      ],
                  ) => Promise<
                      JSONFetchResponse<
                          { code?: "success"; data?: ((...) | (...) | (...) | (...))[] } & (
                              | {
                                  code: string;
                                  data?: (...)[];
                                  DATA_TYPE: "result#1.0.0";
                                  detail?: unknown;
                                  has_next_page: boolean;
                                  http_response_code: number;
                                  marker?: string | null;
                                  message?: string;
                              }
                              | {
                                  authorization_parameters?: { [key: ...]: ... }
                                  | null;
                                  code: string;
                                  data?: (...)[];
                                  DATA_TYPE: "result#1.1.0";
                                  detail?: unknown;
                                  has_next_page: boolean;
                                  http_response_code: number;
                                  marker?: string | null;
                                  message?: string;
                              }
                          ),
                      >,
                  >;
              };
              patch: (
                  ...args: [
                      storage_gateway_id: string,
                      options: {
                          payload: Partial<
                              | {
                                  allowed_domains?: (...)
                                  | (...);
                                  authentication_assurance_timeout?: (...) | (...) | (...);
                                  authentication_timeout_mins?: (...) | (...) | (...);
                                  connector_id?: (...) | (...);
                                  DATA_TYPE: "storage_gateway#1.0.0";
                                  deleted?: (...) | (...) | (...);
                                  display_name?: (...) | (...);
                                  high_assurance?: (...) | (...) | (...) | (...);
                                  id?: (...) | (...);
                                  identity_mappings?: (...) | (...) | (...);
                                  load_dsi_module?: (...) | (...) | (...);
                                  policies?:
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...);
                                  process_user?: (...) | (...) | (...);
                                  require_high_assurance?: (...) | (...) | (...) | (...);
                                  restrict_paths?: unknown;
                                  users_allow?: (...) | (...) | (...);
                                  users_deny?: (...) | (...) | (...);
                              }
                              | {
                                  allowed_domains?: (...)
                                  | (...);
                                  authentication_assurance_timeout?: (...) | (...) | (...);
                                  authentication_timeout_mins?: (...) | (...) | (...);
                                  connector_id?: (...) | (...);
                                  DATA_TYPE: "storage_gateway#1.1.0";
                                  deleted?: (...) | (...) | (...);
                                  display_name?: (...) | (...);
                                  high_assurance?: (...) | (...) | (...) | (...);
                                  id?: (...) | (...);
                                  identity_mappings?: (...) | (...) | (...);
                                  load_dsi_module?: (...) | (...) | (...);
                                  policies?:
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...);
                                  process_user?: (...) | (...) | (...);
                                  require_high_assurance?: (...) | (...) | (...) | (...);
                                  require_mfa: boolean;
                                  restrict_paths?: unknown;
                                  users_allow?: (...) | (...) | (...);
                                  users_deny?: (...) | (...) | (...);
                              }
                              | {
                                  admin_managed_credentials: boolean;
                                  allowed_domains?: (...)
                                  | (...);
                                  authentication_assurance_timeout?: (...) | (...) | (...);
                                  authentication_timeout_mins?: (...) | (...) | (...);
                                  connector_id?: (...) | (...);
                                  DATA_TYPE: "storage_gateway#1.2.0";
                                  deleted?: (...) | (...) | (...);
                                  display_name?: (...) | (...);
                                  high_assurance?: (...) | (...) | (...) | (...);
                                  id?: (...) | (...);
                                  identity_mappings?: (...) | (...) | (...);
                                  load_dsi_module?: (...) | (...) | (...);
                                  policies?:
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...);
                                  process_user?: (...) | (...) | (...);
                                  require_high_assurance?: (...) | (...) | (...) | (...);
                                  require_mfa: boolean;
                                  restrict_paths?: unknown;
                                  users_allow?: (...) | (...) | (...);
                                  users_deny?: (...) | (...) | (...);
                              }
                              | {
                                  admin_managed_credentials: boolean;
                                  allowed_domains?: (...)
                                  | (...);
                                  authentication_assurance_timeout?: (...) | (...) | (...);
                                  authentication_timeout_mins?: (...) | (...) | (...);
                                  connector_id?: (...) | (...);
                                  DATA_TYPE: "storage_gateway#1.3.0";
                                  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: boolean;
                                  restrict_paths?: unknown;
                                  users_allow?: (...) | (...) | (...);
                                  users_deny?: (...) | (...) | (...);
                              },
                          >;
                      } & {
                          headers?: Headers;
                          query?: {
                              [key: string]: | string
                              | number
                              | boolean
                              | (...)[]
                              | null
                              | undefined;
                          };
                      },
                      sdkOptions?: SDKOptions,
                  ],
              ) => Promise<
                  JSONFetchResponse<
                      {
                          code?: "success";
                          data?: (
                              | {
                                  allowed_domains?: ...;
                                  authentication_assurance_timeout?: ...;
                                  authentication_timeout_mins?: ...;
                                  connector_id?: ...;
                                  DATA_TYPE: ...;
                                  deleted?: ...;
                                  display_name?: ...;
                                  high_assurance?: ...;
                                  id?: ...;
                                  identity_mappings?: ...;
                                  load_dsi_module?: ...;
                                  policies?: ...;
                                  process_user?: ...;
                                  require_high_assurance?: ...;
                                  restrict_paths?: ...;
                                  users_allow?: ...;
                                  users_deny?: ...;
                              }
                              | {
                                  allowed_domains?: ...;
                                  authentication_assurance_timeout?: ...;
                                  authentication_timeout_mins?: ...;
                                  connector_id?: ...;
                                  DATA_TYPE: ...;
                                  deleted?: ...;
                                  display_name?: ...;
                                  high_assurance?: ...;
                                  id?: ...;
                                  identity_mappings?: ...;
                                  load_dsi_module?: ...;
                                  policies?: ...;
                                  process_user?: ...;
                                  require_high_assurance?: ...;
                                  require_mfa: ...;
                                  restrict_paths?: ...;
                                  users_allow?: ...;
                                  users_deny?: ...;
                              }
                              | {
                                  admin_managed_credentials: ...;
                                  allowed_domains?: ...;
                                  authentication_assurance_timeout?: ...;
                                  authentication_timeout_mins?: ...;
                                  connector_id?: ...;
                                  DATA_TYPE: ...;
                                  deleted?: ...;
                                  display_name?: ...;
                                  high_assurance?: ...;
                                  id?: ...;
                                  identity_mappings?: ...;
                                  load_dsi_module?: ...;
                                  policies?: ...;
                                  process_user?: ...;
                                  require_high_assurance?: ...;
                                  require_mfa: ...;
                                  restrict_paths?: ...;
                                  users_allow?: ...;
                                  users_deny?: ...;
                              }
                              | {
                                  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?: string | null;
                              message?: string;
                          }
                          | {
                              authorization_parameters?: { [key: string]: unknown }
                              | null;
                              code: string;
                              data?: Record<(...), (...)>[];
                              DATA_TYPE: "result#1.1.0";
                              detail?: unknown;
                              has_next_page: boolean;
                              http_response_code: number;
                              marker?: string | null;
                              message?: string;
                          }
                      ),
                  >,
              >;
              remove: (
                  ...args: [
                      storage_gateway_id: string,
                      options?: { payload?: undefined; query?: undefined } & {
                          headers?: Headers;
                          query?: {
                              [key: string]:
                                  | string
                                  | number
                                  | boolean
                                  | (...)[]
                                  | null
                                  | undefined;
                          };
                      },
                      sdkOptions?: SDKOptions,
                  ],
              ) => Promise<
                  JSONFetchResponse<
                      | {
                          code: string;
                          data?: Record<string, unknown>[];
                          DATA_TYPE: "result#1.0.0";
                          detail?: unknown;
                          has_next_page: boolean;
                          http_response_code: number;
                          marker?: string | null;
                          message?: string;
                      }
                      | {
                          authorization_parameters?: { [key: string]: unknown }
                          | null;
                          code: string;
                          data?: Record<string, unknown>[];
                          DATA_TYPE: "result#1.1.0";
                          detail?: unknown;
                          has_next_page: boolean;
                          http_response_code: number;
                          marker?: string | null;
                          message?: string;
                      },
                  >,
              >;
              update: (
                  ...args: [
                      storage_gateway_id: string,
                      options: {
                          payload: | {
                              allowed_domains?: (...)[];
                              authentication_assurance_timeout?: number | null;
                              authentication_timeout_mins?: number | null;
                              connector_id?: string;
                              DATA_TYPE: "storage_gateway#1.0.0";
                              deleted?: boolean;
                              display_name?: string;
                              high_assurance?: boolean | null;
                              id?: string;
                              identity_mappings?: (...)[] | null;
                              load_dsi_module?: string | null;
                              policies?:
                                  | {
                                      DATA_TYPE: ...;
                                      s3_buckets?: ...;
                                      s3_endpoint?: ...;
                                      s3_user_credential_required?: ...;
                                  }
                                  | {
                                      DATA_TYPE: ...;
                                      s3_buckets?: ...;
                                      s3_endpoint?: ...;
                                      s3_requester_pays?: ...;
                                      s3_user_credential_required?: ...;
                                  }
                                  | {
                                      DATA_TYPE: ...;
                                      s3_allow_multi_keys?: ...;
                                      s3_buckets?: ...;
                                      s3_endpoint?: ...;
                                      s3_requester_pays?: ...;
                                      s3_user_credential_required?: ...;
                                  }
                                  | {
                                      DATA_TYPE: ...;
                                      s3_allow_multi_keys?: ...;
                                      s3_buckets?: ...;
                                      s3_endpoint?: ...;
                                      s3_requester_pays?: ...;
                                      s3_restore?: ...;
                                      s3_storage_class?: ...;
                                      s3_user_credential_required?: ...;
                                  }
                                  | {
                                      account: ...;
                                      adls: ...;
                                      auth_callback?: ...;
                                      auth_type: ...;
                                      client_id: ...;
                                      DATA_TYPE: ...;
                                      secret: ...;
                                      tenant: ...;
                                      user_credential_required?: ...;
                                  }
                                  | {
                                      account: ...;
                                      adls: ...;
                                      allow_any_account?: ...;
                                      auth_callback?: ...;
                                      auth_type: ...;
                                      client_id: ...;
                                      DATA_TYPE: ...;
                                      secret: ...;
                                      tenant: ...;
                                      user_credential_required?: ...;
                                  }
                                  | { bp_access_id_file?: ...; DATA_TYPE: ...; s3_endpoint?: ... }
                                  | { boxAppSettings: ...; DATA_TYPE: ...; enterpriseID: ... }
                                  | {
                                      auth_callback?: ...;
                                      boxAppSettings?: ...;
                                      client_id?: ...;
                                      DATA_TYPE: ...;
                                      enterpriseID?: ...;
                                      secret?: ...;
                                      user_api_rate_limit?: ...;
                                      user_credential_required?: ...;
                                  }
                                  | {
                                      allow_any_account?: ...;
                                      auth_callback?: ...;
                                      boxAppSettings?: ...;
                                      client_id?: ...;
                                      DATA_TYPE: ...;
                                      enterpriseID?: ...;
                                      secret?: ...;
                                      user_api_rate_limit?: ...;
                                      user_credential_required?: ...;
                                  }
                                  | {
                                      ceph_admin_key_id?: ...;
                                      ceph_admin_secret_key?: ...;
                                      DATA_TYPE: ...;
                                      s3_buckets?: ...;
                                      s3_endpoint?: ...;
                                  }
                                  | {
                                      allow_any_account?: ...;
                                      auth_callback?: ...;
                                      client_id: ...;
                                      DATA_TYPE: ...;
                                      secret: ...;
                                      user_api_rate_limit?: ...;
                                  }
                                  | {
                                      auth_callback?: ...;
                                      buckets?: ...;
                                      client_id: ...;
                                      DATA_TYPE: ...;
                                      projects?: ...;
                                      secret: ...;
                                      service_account_key?: ...;
                                      user_credential_required?: ...;
                                  }
                                  | {
                                      allow_any_account?: ...;
                                      auth_callback?: ...;
                                      buckets?: ...;
                                      client_id: ...;
                                      DATA_TYPE: ...;
                                      projects?: ...;
                                      secret: ...;
                                      service_account_key?: ...;
                                      user_credential_required?: ...;
                                  }
                                  | {
                                      auth_callback?: ...;
                                      client_id: ...;
                                      DATA_TYPE: ...;
                                      secret: ...;
                                      user_api_rate_quota?: ...;
                                  }
                                  | {
                                      allow_any_account?: ...;
                                      auth_callback?: ...;
                                      client_id: ...;
                                      DATA_TYPE: ...;
                                      secret: ...;
                                      user_api_rate_quota?: ...;
                                  }
                                  | {
                                      authentication_mech: ...;
                                      authenticator: ...;
                                      DATA_TYPE: ...;
                                      uda_checksum: ...;
                                  }
                                  | {
                                      authentication_mech: ...;
                                      authenticator: ...;
                                      DATA_TYPE: ...;
                                      login_name?: ...;
                                      uda_checksum: ...;
                                  }
                                  | {
                                      DATA_TYPE: ...;
                                      environment?: ...;
                                      irods_authentication_file?: ...;
                                      irods_environment_file: ...;
                                  }
                                  | {
                                      auth_callback?: ...;
                                      client_id: ...;
                                      DATA_TYPE: ...;
                                      secret: ...;
                                      tenant?: ...;
                                      user_api_rate_limit?: ...;
                                  }
                                  | {
                                      allow_any_account?: ...;
                                      auth_callback?: ...;
                                      client_id: ...;
                                      DATA_TYPE: ...;
                                      secret: ...;
                                      tenant?: ...;
                                      user_api_rate_limit?: ...;
                                  }
                                  | { DATA_TYPE: ...; groups_allow?: ...; groups_deny?: ... }
                                  | {
                                      DATA_TYPE: ...;
                                      environment?: ...;
                                      groups_allow?: ...;
                                      groups_deny?: ...;
                                      stage_app: ...;
                                  };
                              process_user?: string
                              | null;
                              require_high_assurance?: boolean | null;
                              restrict_paths?: unknown;
                              users_allow?: (...)[] | null;
                              users_deny?: (...)[] | null;
                          }
                          | {
                              allowed_domains?: (...)[];
                              authentication_assurance_timeout?: number | null;
                              authentication_timeout_mins?: number | null;
                              connector_id?: string;
                              DATA_TYPE: "storage_gateway#1.1.0";
                              deleted?: boolean;
                              display_name?: string;
                              high_assurance?: boolean | null;
                              id?: string;
                              identity_mappings?: (...)[] | null;
                              load_dsi_module?: string | null;
                              policies?:
                                  | {
                                      DATA_TYPE: ...;
                                      s3_buckets?: ...;
                                      s3_endpoint?: ...;
                                      s3_user_credential_required?: ...;
                                  }
                                  | {
                                      DATA_TYPE: ...;
                                      s3_buckets?: ...;
                                      s3_endpoint?: ...;
                                      s3_requester_pays?: ...;
                                      s3_user_credential_required?: ...;
                                  }
                                  | {
                                      DATA_TYPE: ...;
                                      s3_allow_multi_keys?: ...;
                                      s3_buckets?: ...;
                                      s3_endpoint?: ...;
                                      s3_requester_pays?: ...;
                                      s3_user_credential_required?: ...;
                                  }
                                  | {
                                      DATA_TYPE: ...;
                                      s3_allow_multi_keys?: ...;
                                      s3_buckets?: ...;
                                      s3_endpoint?: ...;
                                      s3_requester_pays?: ...;
                                      s3_restore?: ...;
                                      s3_storage_class?: ...;
                                      s3_user_credential_required?: ...;
                                  }
                                  | {
                                      account: ...;
                                      adls: ...;
                                      auth_callback?: ...;
                                      auth_type: ...;
                                      client_id: ...;
                                      DATA_TYPE: ...;
                                      secret: ...;
                                      tenant: ...;
                                      user_credential_required?: ...;
                                  }
                                  | {
                                      account: ...;
                                      adls: ...;
                                      allow_any_account?: ...;
                                      auth_callback?: ...;
                                      auth_type: ...;
                                      client_id: ...;
                                      DATA_TYPE: ...;
                                      secret: ...;
                                      tenant: ...;
                                      user_credential_required?: ...;
                                  }
                                  | { bp_access_id_file?: ...; DATA_TYPE: ...; s3_endpoint?: ... }
                                  | { boxAppSettings: ...; DATA_TYPE: ...; enterpriseID: ... }
                                  | {
                                      auth_callback?: ...;
                                      boxAppSettings?: ...;
                                      client_id?: ...;
                                      DATA_TYPE: ...;
                                      enterpriseID?: ...;
                                      secret?: ...;
                                      user_api_rate_limit?: ...;
                                      user_credential_required?: ...;
                                  }
                                  | {
                                      allow_any_account?: ...;
                                      auth_callback?: ...;
                                      boxAppSettings?: ...;
                                      client_id?: ...;
                                      DATA_TYPE: ...;
                                      enterpriseID?: ...;
                                      secret?: ...;
                                      user_api_rate_limit?: ...;
                                      user_credential_required?: ...;
                                  }
                                  | {
                                      ceph_admin_key_id?: ...;
                                      ceph_admin_secret_key?: ...;
                                      DATA_TYPE: ...;
                                      s3_buckets?: ...;
                                      s3_endpoint?: ...;
                                  }
                                  | {
                                      allow_any_account?: ...;
                                      auth_callback?: ...;
                                      client_id: ...;
                                      DATA_TYPE: ...;
                                      secret: ...;
                                      user_api_rate_limit?: ...;
                                  }
                                  | {
                                      auth_callback?: ...;
                                      buckets?: ...;
                                      client_id: ...;
                                      DATA_TYPE: ...;
                                      projects?: ...;
                                      secret: ...;
                                      service_account_key?: ...;
                                      user_credential_required?: ...;
                                  }
                                  | {
                                      allow_any_account?: ...;
                                      auth_callback?: ...;
                                      buckets?: ...;
                                      client_id: ...;
                                      DATA_TYPE: ...;
                                      projects?: ...;
                                      secret: ...;
                                      service_account_key?: ...;
                                      user_credential_required?: ...;
                                  }
                                  | {
                                      auth_callback?: ...;
                                      client_id: ...;
                                      DATA_TYPE: ...;
                                      secret: ...;
                                      user_api_rate_quota?: ...;
                                  }
                                  | {
                                      allow_any_account?: ...;
                                      auth_callback?: ...;
                                      client_id: ...;
                                      DATA_TYPE: ...;
                                      secret: ...;
                                      user_api_rate_quota?: ...;
                                  }
                                  | {
                                      authentication_mech: ...;
                                      authenticator: ...;
                                      DATA_TYPE: ...;
                                      uda_checksum: ...;
                                  }
                                  | {
                                      authentication_mech: ...;
                                      authenticator: ...;
                                      DATA_TYPE: ...;
                                      login_name?: ...;
                                      uda_checksum: ...;
                                  }
                                  | {
                                      DATA_TYPE: ...;
                                      environment?: ...;
                                      irods_authentication_file?: ...;
                                      irods_environment_file: ...;
                                  }
                                  | {
                                      auth_callback?: ...;
                                      client_id: ...;
                                      DATA_TYPE: ...;
                                      secret: ...;
                                      tenant?: ...;
                                      user_api_rate_limit?: ...;
                                  }
                                  | {
                                      allow_any_account?: ...;
                                      auth_callback?: ...;
                                      client_id: ...;
                                      DATA_TYPE: ...;
                                      secret: ...;
                                      tenant?: ...;
                                      user_api_rate_limit?: ...;
                                  }
                                  | { DATA_TYPE: ...; groups_allow?: ...; groups_deny?: ... }
                                  | {
                                      DATA_TYPE: ...;
                                      environment?: ...;
                                      groups_allow?: ...;
                                      groups_deny?: ...;
                                      stage_app: ...;
                                  };
                              process_user?: string
                              | null;
                              require_high_assurance?: boolean | null;
                              require_mfa: boolean;
                              restrict_paths?: unknown;
                              users_allow?: (...)[] | null;
                              users_deny?: (...)[] | null;
                          }
                          | {
                              admin_managed_credentials: boolean;
                              allowed_domains?: (...)[];
                              authentication_assurance_timeout?: number | null;
                              authentication_timeout_mins?: number | null;
                              connector_id?: string;
                              DATA_TYPE: "storage_gateway#1.2.0";
                              deleted?: boolean;
                              display_name?: string;
                              high_assurance?: boolean | null;
                              id?: string;
                              identity_mappings?: (...)[] | null;
                              load_dsi_module?: string | null;
                              policies?:
                                  | {
                                      DATA_TYPE: ...;
                                      s3_buckets?: ...;
                                      s3_endpoint?: ...;
                                      s3_user_credential_required?: ...;
                                  }
                                  | {
                                      DATA_TYPE: ...;
                                      s3_buckets?: ...;
                                      s3_endpoint?: ...;
                                      s3_requester_pays?: ...;
                                      s3_user_credential_required?: ...;
                                  }
                                  | {
                                      DATA_TYPE: ...;
                                      s3_allow_multi_keys?: ...;
                                      s3_buckets?: ...;
                                      s3_endpoint?: ...;
                                      s3_requester_pays?: ...;
                                      s3_user_credential_required?: ...;
                                  }
                                  | {
                                      DATA_TYPE: ...;
                                      s3_allow_multi_keys?: ...;
                                      s3_buckets?: ...;
                                      s3_endpoint?: ...;
                                      s3_requester_pays?: ...;
                                      s3_restore?: ...;
                                      s3_storage_class?: ...;
                                      s3_user_credential_required?: ...;
                                  }
                                  | {
                                      account: ...;
                                      adls: ...;
                                      auth_callback?: ...;
                                      auth_type: ...;
                                      client_id: ...;
                                      DATA_TYPE: ...;
                                      secret: ...;
                                      tenant: ...;
                                      user_credential_required?: ...;
                                  }
                                  | {
                                      account: ...;
                                      adls: ...;
                                      allow_any_account?: ...;
                                      auth_callback?: ...;
                                      auth_type: ...;
                                      client_id: ...;
                                      DATA_TYPE: ...;
                                      secret: ...;
                                      tenant: ...;
                                      user_credential_required?: ...;
                                  }
                                  | { bp_access_id_file?: ...; DATA_TYPE: ...; s3_endpoint?: ... }
                                  | { boxAppSettings: ...; DATA_TYPE: ...; enterpriseID: ... }
                                  | {
                                      auth_callback?: ...;
                                      boxAppSettings?: ...;
                                      client_id?: ...;
                                      DATA_TYPE: ...;
                                      enterpriseID?: ...;
                                      secret?: ...;
                                      user_api_rate_limit?: ...;
                                      user_credential_required?: ...;
                                  }
                                  | {
                                      allow_any_account?: ...;
                                      auth_callback?: ...;
                                      boxAppSettings?: ...;
                                      client_id?: ...;
                                      DATA_TYPE: ...;
                                      enterpriseID?: ...;
                                      secret?: ...;
                                      user_api_rate_limit?: ...;
                                      user_credential_required?: ...;
                                  }
                                  | {
                                      ceph_admin_key_id?: ...;
                                      ceph_admin_secret_key?: ...;
                                      DATA_TYPE: ...;
                                      s3_buckets?: ...;
                                      s3_endpoint?: ...;
                                  }
                                  | {
                                      allow_any_account?: ...;
                                      auth_callback?: ...;
                                      client_id: ...;
                                      DATA_TYPE: ...;
                                      secret: ...;
                                      user_api_rate_limit?: ...;
                                  }
                                  | {
                                      auth_callback?: ...;
                                      buckets?: ...;
                                      client_id: ...;
                                      DATA_TYPE: ...;
                                      projects?: ...;
                                      secret: ...;
                                      service_account_key?: ...;
                                      user_credential_required?: ...;
                                  }
                                  | {
                                      allow_any_account?: ...;
                                      auth_callback?: ...;
                                      buckets?: ...;
                                      client_id: ...;
                                      DATA_TYPE: ...;
                                      projects?: ...;
                                      secret: ...;
                                      service_account_key?: ...;
                                      user_credential_required?: ...;
                                  }
                                  | {
                                      auth_callback?: ...;
                                      client_id: ...;
                                      DATA_TYPE: ...;
                                      secret: ...;
                                      user_api_rate_quota?: ...;
                                  }
                                  | {
                                      allow_any_account?: ...;
                                      auth_callback?: ...;
                                      client_id: ...;
                                      DATA_TYPE: ...;
                                      secret: ...;
                                      user_api_rate_quota?: ...;
                                  }
                                  | {
                                      authentication_mech: ...;
                                      authenticator: ...;
                                      DATA_TYPE: ...;
                                      uda_checksum: ...;
                                  }
                                  | {
                                      authentication_mech: ...;
                                      authenticator: ...;
                                      DATA_TYPE: ...;
                                      login_name?: ...;
                                      uda_checksum: ...;
                                  }
                                  | {
                                      DATA_TYPE: ...;
                                      environment?: ...;
                                      irods_authentication_file?: ...;
                                      irods_environment_file: ...;
                                  }
                                  | {
                                      auth_callback?: ...;
                                      client_id: ...;
                                      DATA_TYPE: ...;
                                      secret: ...;
                                      tenant?: ...;
                                      user_api_rate_limit?: ...;
                                  }
                                  | {
                                      allow_any_account?: ...;
                                      auth_callback?: ...;
                                      client_id: ...;
                                      DATA_TYPE: ...;
                                      secret: ...;
                                      tenant?: ...;
                                      user_api_rate_limit?: ...;
                                  }
                                  | { DATA_TYPE: ...; groups_allow?: ...; groups_deny?: ... }
                                  | {
                                      DATA_TYPE: ...;
                                      environment?: ...;
                                      groups_allow?: ...;
                                      groups_deny?: ...;
                                      stage_app: ...;
                                  };
                              process_user?: string
                              | null;
                              require_high_assurance?: boolean | null;
                              require_mfa: boolean;
                              restrict_paths?: unknown;
                              users_allow?: (...)[] | null;
                              users_deny?: (...)[] | null;
                          }
                          | {
                              admin_managed_credentials: boolean;
                              allowed_domains?: (...)[];
                              authentication_assurance_timeout?: number | null;
                              authentication_timeout_mins?: number | null;
                              connector_id?: string;
                              DATA_TYPE: "storage_gateway#1.3.0";
                              deleted?: boolean;
                              display_name?: string;
                              high_assurance?: boolean | null;
                              id?: string;
                              identity_mappings?: (...)[] | null;
                              load_dsi_module?: string | null;
                              max_concurrency?: number;
                              max_parallelism?: number;
                              network_use?: "normal" | "minimal" | "aggressive" | "custom" | null;
                              policies?:
                                  | {
                                      DATA_TYPE: ...;
                                      s3_buckets?: ...;
                                      s3_endpoint?: ...;
                                      s3_user_credential_required?: ...;
                                  }
                                  | {
                                      DATA_TYPE: ...;
                                      s3_buckets?: ...;
                                      s3_endpoint?: ...;
                                      s3_requester_pays?: ...;
                                      s3_user_credential_required?: ...;
                                  }
                                  | {
                                      DATA_TYPE: ...;
                                      s3_allow_multi_keys?: ...;
                                      s3_buckets?: ...;
                                      s3_endpoint?: ...;
                                      s3_requester_pays?: ...;
                                      s3_user_credential_required?: ...;
                                  }
                                  | {
                                      DATA_TYPE: ...;
                                      s3_allow_multi_keys?: ...;
                                      s3_buckets?: ...;
                                      s3_endpoint?: ...;
                                      s3_requester_pays?: ...;
                                      s3_restore?: ...;
                                      s3_storage_class?: ...;
                                      s3_user_credential_required?: ...;
                                  }
                                  | {
                                      account: ...;
                                      adls: ...;
                                      auth_callback?: ...;
                                      auth_type: ...;
                                      client_id: ...;
                                      DATA_TYPE: ...;
                                      secret: ...;
                                      tenant: ...;
                                      user_credential_required?: ...;
                                  }
                                  | {
                                      account: ...;
                                      adls: ...;
                                      allow_any_account?: ...;
                                      auth_callback?: ...;
                                      auth_type: ...;
                                      client_id: ...;
                                      DATA_TYPE: ...;
                                      secret: ...;
                                      tenant: ...;
                                      user_credential_required?: ...;
                                  }
                                  | { bp_access_id_file?: ...; DATA_TYPE: ...; s3_endpoint?: ... }
                                  | { boxAppSettings: ...; DATA_TYPE: ...; enterpriseID: ... }
                                  | {
                                      auth_callback?: ...;
                                      boxAppSettings?: ...;
                                      client_id?: ...;
                                      DATA_TYPE: ...;
                                      enterpriseID?: ...;
                                      secret?: ...;
                                      user_api_rate_limit?: ...;
                                      user_credential_required?: ...;
                                  }
                                  | {
                                      allow_any_account?: ...;
                                      auth_callback?: ...;
                                      boxAppSettings?: ...;
                                      client_id?: ...;
                                      DATA_TYPE: ...;
                                      enterpriseID?: ...;
                                      secret?: ...;
                                      user_api_rate_limit?: ...;
                                      user_credential_required?: ...;
                                  }
                                  | {
                                      ceph_admin_key_id?: ...;
                                      ceph_admin_secret_key?: ...;
                                      DATA_TYPE: ...;
                                      s3_buckets?: ...;
                                      s3_endpoint?: ...;
                                  }
                                  | {
                                      allow_any_account?: ...;
                                      auth_callback?: ...;
                                      client_id: ...;
                                      DATA_TYPE: ...;
                                      secret: ...;
                                      user_api_rate_limit?: ...;
                                  }
                                  | {
                                      auth_callback?: ...;
                                      buckets?: ...;
                                      client_id: ...;
                                      DATA_TYPE: ...;
                                      projects?: ...;
                                      secret: ...;
                                      service_account_key?: ...;
                                      user_credential_required?: ...;
                                  }
                                  | {
                                      allow_any_account?: ...;
                                      auth_callback?: ...;
                                      buckets?: ...;
                                      client_id: ...;
                                      DATA_TYPE: ...;
                                      projects?: ...;
                                      secret: ...;
                                      service_account_key?: ...;
                                      user_credential_required?: ...;
                                  }
                                  | {
                                      auth_callback?: ...;
                                      client_id: ...;
                                      DATA_TYPE: ...;
                                      secret: ...;
                                      user_api_rate_quota?: ...;
                                  }
                                  | {
                                      allow_any_account?: ...;
                                      auth_callback?: ...;
                                      client_id: ...;
                                      DATA_TYPE: ...;
                                      secret: ...;
                                      user_api_rate_quota?: ...;
                                  }
                                  | {
                                      authentication_mech: ...;
                                      authenticator: ...;
                                      DATA_TYPE: ...;
                                      uda_checksum: ...;
                                  }
                                  | {
                                      authentication_mech: ...;
                                      authenticator: ...;
                                      DATA_TYPE: ...;
                                      login_name?: ...;
                                      uda_checksum: ...;
                                  }
                                  | {
                                      DATA_TYPE: ...;
                                      environment?: ...;
                                      irods_authentication_file?: ...;
                                      irods_environment_file: ...;
                                  }
                                  | {
                                      auth_callback?: ...;
                                      client_id: ...;
                                      DATA_TYPE: ...;
                                      secret: ...;
                                      tenant?: ...;
                                      user_api_rate_limit?: ...;
                                  }
                                  | {
                                      allow_any_account?: ...;
                                      auth_callback?: ...;
                                      client_id: ...;
                                      DATA_TYPE: ...;
                                      secret: ...;
                                      tenant?: ...;
                                      user_api_rate_limit?: ...;
                                  }
                                  | { DATA_TYPE: ...; groups_allow?: ...; groups_deny?: ... }
                                  | {
                                      DATA_TYPE: ...;
                                      environment?: ...;
                                      groups_allow?: ...;
                                      groups_deny?: ...;
                                      stage_app: ...;
                                  };
                              preferred_concurrency?: number;
                              preferred_parallelism?: number;
                              process_user?: string
                              | null;
                              require_high_assurance?: boolean | null;
                              require_mfa: boolean;
                              restrict_paths?: unknown;
                              users_allow?: (...)[] | null;
                              users_deny?: (...)[] | null;
                          };
                      } & {
                          headers?: Headers;
                          query?: {
                              [key: string]: | string
                              | number
                              | boolean
                              | (...)[]
                              | null
                              | undefined;
                          };
                      },
                      sdkOptions?: SDKOptions,
                  ],
              ) => Promise<
                  JSONFetchResponse<
                      {
                          code?: "success";
                          data?: (
                              | {
                                  allowed_domains?: ...;
                                  authentication_assurance_timeout?: ...;
                                  authentication_timeout_mins?: ...;
                                  connector_id?: ...;
                                  DATA_TYPE: ...;
                                  deleted?: ...;
                                  display_name?: ...;
                                  high_assurance?: ...;
                                  id?: ...;
                                  identity_mappings?: ...;
                                  load_dsi_module?: ...;
                                  policies?: ...;
                                  process_user?: ...;
                                  require_high_assurance?: ...;
                                  restrict_paths?: ...;
                                  users_allow?: ...;
                                  users_deny?: ...;
                              }
                              | {
                                  allowed_domains?: ...;
                                  authentication_assurance_timeout?: ...;
                                  authentication_timeout_mins?: ...;
                                  connector_id?: ...;
                                  DATA_TYPE: ...;
                                  deleted?: ...;
                                  display_name?: ...;
                                  high_assurance?: ...;
                                  id?: ...;
                                  identity_mappings?: ...;
                                  load_dsi_module?: ...;
                                  policies?: ...;
                                  process_user?: ...;
                                  require_high_assurance?: ...;
                                  require_mfa: ...;
                                  restrict_paths?: ...;
                                  users_allow?: ...;
                                  users_deny?: ...;
                              }
                              | {
                                  admin_managed_credentials: ...;
                                  allowed_domains?: ...;
                                  authentication_assurance_timeout?: ...;
                                  authentication_timeout_mins?: ...;
                                  connector_id?: ...;
                                  DATA_TYPE: ...;
                                  deleted?: ...;
                                  display_name?: ...;
                                  high_assurance?: ...;
                                  id?: ...;
                                  identity_mappings?: ...;
                                  load_dsi_module?: ...;
                                  policies?: ...;
                                  process_user?: ...;
                                  require_high_assurance?: ...;
                                  require_mfa: ...;
                                  restrict_paths?: ...;
                                  users_allow?: ...;
                                  users_deny?: ...;
                              }
                              | {
                                  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?: string | null;
                              message?: string;
                          }
                          | {
                              authorization_parameters?: { [key: string]: unknown }
                              | null;
                              code: string;
                              data?: Record<(...), (...)>[];
                              DATA_TYPE: "result#1.1.0";
                              detail?: unknown;
                              has_next_page: boolean;
                              http_response_code: number;
                              marker?: string | null;
                              message?: string;
                          }
                      ),
                  >,
              >;
          };
          userCredentials: {
              create: (
                  ...args: [
                      options: {
                          payload: {
                              connector_id?: string;
                              DATA_TYPE: "user_credential#1.0.0";
                              deleted?: boolean;
                              display_name?: string
                              | null;
                              home_directory?: string;
                              id?: string;
                              identity_id?: string;
                              invalid?: boolean;
                              policies?:
                                  | {
                                      DATA_TYPE: "s3_user_credential_policies#1.0.0";
                                      s3_key_id?: (...)
                                      | (...)
                                      | (...);
                                      s3_secret_key?: (...) | (...) | (...);
                                  }
                                  | {
                                      DATA_TYPE: "s3_user_credential_policies#1.1.0";
                                      s3_key_id?: (...)
                                      | (...)
                                      | (...);
                                      s3_requester_pays?: (...) | (...) | (...);
                                      s3_secret_key?: (...) | (...) | (...);
                                  }
                                  | {
                                      DATA_TYPE: "s3_user_credential_policies#1.2.0";
                                      s3_key_id?: (...)
                                      | (...)
                                      | (...);
                                      s3_multi_keys?: (...) | (...) | (...);
                                      s3_requester_pays?: (...) | (...) | (...);
                                      s3_secret_key?: (...) | (...) | (...);
                                  }
                                  | {
                                      access_token?: (...)
                                      | (...)
                                      | (...);
                                      DATA_TYPE: "azure_blob_user_credential_policies#1.0.0";
                                      email?: (...) | (...) | (...);
                                      refresh_token?: (...) | (...) | (...);
                                      scopes?: (...) | (...);
                                      sub?: (...) | (...) | (...);
                                      tid?: (...) | (...);
                                      token_expiry?: (...) | (...);
                                  }
                                  | {
                                      access_id?: (...)
                                      | (...);
                                      DATA_TYPE: "blackpearl_user_credential_policies#1.0.0";
                                      secret_key?: (...) | (...);
                                  }
                                  | { DATA_TYPE: "box_user_credential_policies#1.0.0" }
                                  | {
                                      access_token?: (...) | (...) | (...);
                                      DATA_TYPE: "box_user_credential_policies#1.1.0";
                                      email?: (...) | (...) | (...);
                                      max_upload?: (...) | (...);
                                      refresh_token?: (...) | (...) | (...);
                                      scopes?: (...) | (...);
                                      sub?: (...) | (...) | (...);
                                      token_expiry?: (...) | (...);
                                  }
                                  | { DATA_TYPE: "ceph_user_credential_policies#1.0.0" }
                                  | {
                                      access_token?: (...) | (...) | (...);
                                      DATA_TYPE: "dropbox_user_credential_policies#1.0.0";
                                      email?: (...) | (...) | (...);
                                      refresh_token?: (...) | (...) | (...);
                                      root_info?: (...) | (...);
                                      scopes?: (...) | (...);
                                      sub?: (...) | (...) | (...);
                                      token_expiry?: (...) | (...);
                                  }
                                  | {
                                      access_token?: (...)
                                      | (...)
                                      | (...);
                                      DATA_TYPE: "google_cloud_storage_user_credential_policies#1.0.0";
                                      email?: (...) | (...);
                                      projects?: (...) | (...);
                                      refresh_token?: (...) | (...) | (...);
                                      scopes?: (...) | (...);
                                      sub?: (...) | (...);
                                      token_expiry?: (...) | (...);
                                  }
                                  | {
                                      access_token?: (...)
                                      | (...)
                                      | (...);
                                      DATA_TYPE: "google_drive_user_credential_policies#1.0.0";
                                      email?: (...) | (...) | (...);
                                      refresh_token?: (...) | (...) | (...);
                                      scopes?: (...) | (...);
                                      sub?: (...) | (...) | (...);
                                      token_expiry?: (...) | (...);
                                  }
                                  | { DATA_TYPE: "hpss_user_credential_policies#1.0.0" }
                                  | { DATA_TYPE: "irods_user_credential_policies#1.0.0" }
                                  | {
                                      access_token?: (...) | (...) | (...);
                                      DATA_TYPE: "onedrive_user_credential_policies#1.0.0";
                                      email?: (...) | (...) | (...);
                                      refresh_token?: (...) | (...) | (...);
                                      scopes?: (...) | (...);
                                      sub?: (...) | (...) | (...);
                                      tid?: (...) | (...);
                                      token_expiry?: (...) | (...);
                                  }
                                  | { DATA_TYPE: "posix_user_credential_policies#1.0.0" }
                                  | { DATA_TYPE: "posix_staging_user_credential_policies#1.0.0" };
                              provisioned?: boolean;
                              storage_gateway_id?: string;
                              username?: string;
                          };
                      } & {
                          headers?: Headers;
                          query?: {
                              [key: string]: | string
                              | number
                              | boolean
                              | (...)[]
                              | null
                              | undefined;
                          };
                      },
                      sdkOptions?: SDKOptions,
                  ],
              ) => Promise<
                  JSONFetchResponse<
                      {
                          code?: "success";
                          data?: {
                              connector_id?: (...)
                              | (...);
                              DATA_TYPE: "user_credential#1.0.0";
                              deleted?: (...) | (...) | (...);
                              display_name?: (...) | (...) | (...);
                              home_directory?: (...) | (...);
                              id?: (...) | (...);
                              identity_id?: (...) | (...);
                              invalid?: (...) | (...) | (...);
                              policies?:
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...);
                              provisioned?: (...) | (...) | (...);
                              storage_gateway_id?: (...) | (...);
                              username?: (...) | (...);
                          }[];
                      } & (
                          | {
                              code: string;
                              data?: Record<(...), (...)>[];
                              DATA_TYPE: "result#1.0.0";
                              detail?: unknown;
                              has_next_page: boolean;
                              http_response_code: number;
                              marker?: string | null;
                              message?: string;
                          }
                          | {
                              authorization_parameters?: { [key: string]: unknown }
                              | null;
                              code: string;
                              data?: Record<(...), (...)>[];
                              DATA_TYPE: "result#1.1.0";
                              detail?: unknown;
                              has_next_page: boolean;
                              http_response_code: number;
                              marker?: string | null;
                              message?: string;
                          }
                      ),
                  >,
              >;
              get: (
                  ...args: [
                      user_credential_id: string,
                      options?: { payload?: undefined; query?: undefined } & {
                          headers?: Headers;
                          query?: {
                              [key: string]:
                                  | string
                                  | number
                                  | boolean
                                  | (...)[]
                                  | null
                                  | undefined;
                          };
                      },
                      sdkOptions?: SDKOptions,
                  ],
              ) => Promise<
                  JSONFetchResponse<
                      {
                          code?: "success";
                          data?: (
                              | {
                                  allow_guest_collections?: ...;
                                  authentication_timeout_mins?: ...;
                                  collection_base_path: ...;
                                  collection_type: ...;
                                  connector_id?: ...;
                                  contact_email?: ...;
                                  contact_info?: ...;
                                  DATA_TYPE: ...;
                                  default_directory?: ...;
                                  deleted?: ...;
                                  department?: ...;
                                  description?: ...;
                                  disable_verify?: ...;
                                  display_name: ...;
                                  domain_name?: ...;
                                  force_encryption?: ...;
                                  high_assurance?: ...;
                                  https_url?: ...;
                                  id?: ...;
                                  identity_id?: ...;
                                  info_link?: ...;
                                  keywords?: ...;
                                  manager_url?: ...;
                                  mapped_collection_id?: ...;
                                  organization?: ...;
                                  policies?: ...;
                                  public: ...;
                                  root_path?: ...;
                                  sharing_restrict_paths?: ...;
                                  storage_gateway_id?: ...;
                                  tlsftp_url?: ...;
                                  user_credential_id?: ...;
                              }
                              | {
                                  allow_guest_collections?: ...;
                                  authentication_timeout_mins?: ...;
                                  collection_base_path: ...;
                                  collection_type: ...;
                                  connector_id?: ...;
                                  contact_email?: ...;
                                  contact_info?: ...;
                                  DATA_TYPE: ...;
                                  default_directory?: ...;
                                  deleted?: ...;
                                  department?: ...;
                                  description?: ...;
                                  disable_verify?: ...;
                                  display_name: ...;
                                  domain_name?: ...;
                                  enable_https?: ...;
                                  force_encryption?: ...;
                                  high_assurance?: ...;
                                  https_url?: ...;
                                  id?: ...;
                                  identity_id?: ...;
                                  info_link?: ...;
                                  keywords?: ...;
                                  manager_url?: ...;
                                  mapped_collection_id?: ...;
                                  organization?: ...;
                                  policies?: ...;
                                  public: ...;
                                  root_path?: ...;
                                  sharing_restrict_paths?: ...;
                                  storage_gateway_id?: ...;
                                  tlsftp_url?: ...;
                                  user_credential_id?: ...;
                                  user_message?: ...;
                                  user_message_link?: ...;
                              }
                              | {
                                  allow_guest_collections?: ...;
                                  authentication_timeout_mins?: ...;
                                  collection_base_path: ...;
                                  collection_type: ...;
                                  connector_id?: ...;
                                  contact_email?: ...;
                                  contact_info?: ...;
                                  DATA_TYPE: ...;
                                  default_directory?: ...;
                                  deleted?: ...;
                                  department?: ...;
                                  description?: ...;
                                  disable_verify?: ...;
                                  display_name: ...;
                                  domain_name?: ...;
                                  enable_https?: ...;
                                  force_encryption?: ...;
                                  high_assurance?: ...;
                                  https_url?: ...;
                                  id?: ...;
                                  identity_id?: ...;
                                  info_link?: ...;
                                  keywords?: ...;
                                  manager_url?: ...;
                                  mapped_collection_id?: ...;
                                  organization?: ...;
                                  policies?: ...;
                                  public: ...;
                                  root_path?: ...;
                                  sharing_restrict_paths?: ...;
                                  sharing_users_allow?: ...;
                                  sharing_users_deny?: ...;
                                  storage_gateway_id?: ...;
                                  tlsftp_url?: ...;
                                  user_credential_id?: ...;
                                  user_message?: ...;
                                  user_message_link?: ...;
                              }
                              | {
                                  allow_guest_collections?: ...;
                                  authentication_timeout_mins?: ...;
                                  collection_base_path: ...;
                                  collection_type: ...;
                                  connector_id?: ...;
                                  contact_email?: ...;
                                  contact_info?: ...;
                                  DATA_TYPE: ...;
                                  default_directory?: ...;
                                  deleted?: ...;
                                  department?: ...;
                                  description?: ...;
                                  disable_verify?: ...;
                                  display_name: ...;
                                  domain?: ...;
                                  domain_name?: ...;
                                  enable_https?: ...;
                                  force_encryption?: ...;
                                  high_assurance?: ...;
                                  https_url?: ...;
                                  id?: ...;
                                  identity_id?: ...;
                                  info_link?: ...;
                                  keywords?: ...;
                                  manager_url?: ...;
                                  mapped_collection_id?: ...;
                                  organization?: ...;
                                  policies?: ...;
                                  public: ...;
                                  root_path?: ...;
                                  sharing_restrict_paths?: ...;
                                  sharing_users_allow?: ...;
                                  sharing_users_deny?: ...;
                                  storage_gateway_id?: ...;
                                  tlsftp_url?: ...;
                                  user_credential_id?: ...;
                                  user_message?: ...;
                                  user_message_link?: ...;
                              }
                              | {
                                  allow_guest_collections?: ...;
                                  authentication_timeout_mins?: ...;
                                  collection_base_path: ...;
                                  collection_type: ...;
                                  connector_id?: ...;
                                  contact_email?: ...;
                                  contact_info?: ...;
                                  DATA_TYPE: ...;
                                  default_directory?: ...;
                                  deleted?: ...;
                                  department?: ...;
                                  description?: ...;
                                  disable_verify?: ...;
                                  display_name: ...;
                                  domain?: ...;
                                  domain_name?: ...;
                                  enable_https?: ...;
                                  force_encryption?: ...;
                                  force_verify?: ...;
                                  high_assurance?: ...;
                                  https_url?: ...;
                                  id?: ...;
                                  identity_id?: ...;
                                  info_link?: ...;
                                  keywords?: ...;
                                  manager_url?: ...;
                                  mapped_collection_id?: ...;
                                  organization?: ...;
                                  policies?: ...;
                                  public: ...;
                                  require_mfa?: ...;
                                  root_path?: ...;
                                  sharing_restrict_paths?: ...;
                                  sharing_users_allow?: ...;
                                  sharing_users_deny?: ...;
                                  storage_gateway_id?: ...;
                                  tlsftp_url?: ...;
                                  user_credential_id?: ...;
                                  user_message?: ...;
                                  user_message_link?: ...;
                              }
                              | {
                                  allow_guest_collections?: ...;
                                  authentication_timeout_mins?: ...;
                                  collection_base_path: ...;
                                  collection_type: ...;
                                  connector_id?: ...;
                                  contact_email?: ...;
                                  contact_info?: ...;
                                  DATA_TYPE: ...;
                                  default_directory?: ...;
                                  deleted?: ...;
                                  department?: ...;
                                  description?: ...;
                                  disable_anonymous_writes?: ...;
                                  disable_verify?: ...;
                                  display_name: ...;
                                  domain?: ...;
                                  domain_name?: ...;
                                  enable_https?: ...;
                                  force_encryption?: ...;
                                  force_verify?: ...;
                                  high_assurance?: ...;
                                  https_url?: ...;
                                  id?: ...;
                                  identity_id?: ...;
                                  info_link?: ...;
                                  keywords?: ...;
                                  manager_url?: ...;
                                  mapped_collection_id?: ...;
                                  organization?: ...;
                                  policies?: ...;
                                  public: ...;
                                  require_mfa?: ...;
                                  root_path?: ...;
                                  sharing_restrict_paths?: ...;
                                  sharing_users_allow?: ...;
                                  sharing_users_deny?: ...;
                                  storage_gateway_id?: ...;
                                  tlsftp_url?: ...;
                                  user_credential_id?: ...;
                                  user_message?: ...;
                                  user_message_link?: ...;
                              }
                              | {
                                  allow_guest_collections?: ...;
                                  authentication_timeout_mins?: ...;
                                  collection_base_path: ...;
                                  collection_type: ...;
                                  connector_id?: ...;
                                  contact_email?: ...;
                                  contact_info?: ...;
                                  DATA_TYPE: ...;
                                  default_directory?: ...;
                                  deleted?: ...;
                                  department?: ...;
                                  description?: ...;
                                  disable_anonymous_writes?: ...;
                                  disable_verify?: ...;
                                  display_name: ...;
                                  domain?: ...;
                                  domain_name?: ...;
                                  enable_https?: ...;
                                  force_encryption?: ...;
                                  force_verify?: ...;
                                  guest_auth_policy_id?: ...;
                                  high_assurance?: ...;
                                  https_url?: ...;
                                  id?: ...;
                                  identity_id?: ...;
                                  info_link?: ...;
                                  keywords?: ...;
                                  manager_url?: ...;
                                  mapped_collection_id?: ...;
                                  organization?: ...;
                                  policies?: ...;
                                  public: ...;
                                  require_mfa?: ...;
                                  root_path?: ...;
                                  sharing_restrict_paths?: ...;
                                  sharing_users_allow?: ...;
                                  sharing_users_deny?: ...;
                                  storage_gateway_id?: ...;
                                  tlsftp_url?: ...;
                                  user_credential_id?: ...;
                                  user_message?: ...;
                                  user_message_link?: ...;
                              }
                              | {
                                  allow_guest_collections?: ...;
                                  authentication_timeout_mins?: ...;
                                  collection_base_path: ...;
                                  collection_type: ...;
                                  connector_id?: ...;
                                  contact_email?: ...;
                                  contact_info?: ...;
                                  DATA_TYPE: ...;
                                  default_directory?: ...;
                                  deleted?: ...;
                                  department?: ...;
                                  description?: ...;
                                  disable_anonymous_writes?: ...;
                                  disable_verify?: ...;
                                  display_name: ...;
                                  domain?: ...;
                                  domain_name?: ...;
                                  enable_https?: ...;
                                  force_encryption?: ...;
                                  force_verify?: ...;
                                  guest_auth_policy_id?: ...;
                                  high_assurance?: ...;
                                  https_url?: ...;
                                  id?: ...;
                                  identity_id?: ...;
                                  info_link?: ...;
                                  keywords?: ...;
                                  manager_url?: ...;
                                  mapped_collection_id?: ...;
                                  organization?: ...;
                                  policies?: ...;
                                  public: ...;
                                  require_mfa?: ...;
                                  root_path?: ...;
                                  sharing_restrict_paths?: ...;
                                  sharing_users_allow?: ...;
                                  sharing_users_deny?: ...;
                                  storage_gateway_id?: ...;
                                  tlsftp_url?: ...;
                                  user_credential_id?: ...;
                                  user_message?: ...;
                                  user_message_link?: ...;
                              }
                              | {
                                  allow_guest_collections?: ...;
                                  authentication_timeout_mins?: ...;
                                  collection_base_path: ...;
                                  collection_type: ...;
                                  connector_id?: ...;
                                  contact_email?: ...;
                                  contact_info?: ...;
                                  DATA_TYPE: ...;
                                  default_directory?: ...;
                                  delete_protected?: ...;
                                  deleted?: ...;
                                  department?: ...;
                                  description?: ...;
                                  disable_anonymous_writes?: ...;
                                  disable_verify?: ...;
                                  display_name: ...;
                                  domain?: ...;
                                  domain_name?: ...;
                                  enable_https?: ...;
                                  force_encryption?: ...;
                                  force_verify?: ...;
                                  guest_auth_policy_id?: ...;
                                  high_assurance?: ...;
                                  https_url?: ...;
                                  id?: ...;
                                  identity_id?: ...;
                                  info_link?: ...;
                                  keywords?: ...;
                                  manager_url?: ...;
                                  mapped_collection_id?: ...;
                                  organization?: ...;
                                  policies?: ...;
                                  public: ...;
                                  require_mfa?: ...;
                                  root_path?: ...;
                                  sharing_restrict_paths?: ...;
                                  sharing_users_allow?: ...;
                                  sharing_users_deny?: ...;
                                  storage_gateway_id?: ...;
                                  tlsftp_url?: ...;
                                  user_credential_id?: ...;
                                  user_message?: ...;
                                  user_message_link?: ...;
                              }
                              | {
                                  allow_guest_collections?: ...;
                                  authentication_timeout_mins?: ...;
                                  collection_base_path: ...;
                                  collection_type: ...;
                                  connector_id?: ...;
                                  contact_email?: ...;
                                  contact_info?: ...;
                                  created_at?: ...;
                                  DATA_TYPE: ...;
                                  default_directory?: ...;
                                  delete_protected?: ...;
                                  deleted?: ...;
                                  department?: ...;
                                  description?: ...;
                                  disable_anonymous_writes?: ...;
                                  disable_verify?: ...;
                                  display_name: ...;
                                  domain?: ...;
                                  domain_name?: ...;
                                  enable_https?: ...;
                                  force_encryption?: ...;
                                  force_verify?: ...;
                                  guest_auth_policy_id?: ...;
                                  high_assurance?: ...;
                                  https_url?: ...;
                                  id?: ...;
                                  identity_id?: ...;
                                  info_link?: ...;
                                  keywords?: ...;
                                  last_access?: ...;
                                  manager_url?: ...;
                                  mapped_collection_id?: ...;
                                  organization?: ...;
                                  policies?: ...;
                                  public: ...;
                                  require_mfa?: ...;
                                  root_path?: ...;
                                  sharing_restrict_paths?: ...;
                                  sharing_users_allow?: ...;
                                  sharing_users_deny?: ...;
                                  storage_gateway_id?: ...;
                                  tlsftp_url?: ...;
                                  user_credential_id?: ...;
                                  user_message?: ...;
                                  user_message_link?: ...;
                              }
                              | {
                                  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?: ...;
                              }
                              | {
                                  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_methods?: ...;
                                  https_url?: ...;
                                  id?: ...;
                                  identity_id?: ...;
                                  info_link?: ...;
                                  keywords?: ...;
                                  last_access?: ...;
                                  manager_url?: ...;
                                  mapped_collection_id?: ...;
                                  organization?: ...;
                                  policies?: ...;
                                  preserve_modtime?: ...;
                                  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?: string | null;
                              message?: string;
                          }
                          | {
                              authorization_parameters?: { [key: string]: unknown }
                              | null;
                              code: string;
                              data?: Record<(...), (...)>[];
                              DATA_TYPE: "result#1.1.0";
                              detail?: unknown;
                              has_next_page: boolean;
                              http_response_code: number;
                              marker?: string | null;
                              message?: string;
                          }
                      ),
                  >,
              >;
              getAll: (
                  ...args: [
                      options?: {
                          query?: {
                              include?: (...)[];
                              marker?: string;
                              page_size?: number;
                              storage_gateway?: string;
                          };
                      } & {
                          headers?: Headers;
                          query?: {
                              [key: string]: | string
                              | number
                              | boolean
                              | (...)[]
                              | null
                              | undefined;
                          };
                      },
                      sdkOptions?: SDKOptions,
                  ],
              ) => Promise<
                  JSONFetchResponse<
                      {
                          code?: "success";
                          data?: {
                              connector_id?: (...)
                              | (...);
                              DATA_TYPE: "user_credential#1.0.0";
                              deleted?: (...) | (...) | (...);
                              display_name?: (...) | (...) | (...);
                              home_directory?: (...) | (...);
                              id?: (...) | (...);
                              identity_id?: (...) | (...);
                              invalid?: (...) | (...) | (...);
                              policies?:
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...);
                              provisioned?: (...) | (...) | (...);
                              storage_gateway_id?: (...) | (...);
                              username?: (...) | (...);
                          }[];
                      } & (
                          | {
                              code: string;
                              data?: Record<(...), (...)>[];
                              DATA_TYPE: "result#1.0.0";
                              detail?: unknown;
                              has_next_page: boolean;
                              http_response_code: number;
                              marker?: string | null;
                              message?: string;
                          }
                          | {
                              authorization_parameters?: { [key: string]: unknown }
                              | null;
                              code: string;
                              data?: Record<(...), (...)>[];
                              DATA_TYPE: "result#1.1.0";
                              detail?: unknown;
                              has_next_page: boolean;
                              http_response_code: number;
                              marker?: string | null;
                              message?: string;
                          }
                      ),
                  >,
              >;
              next: {
                  create: (
                      ...args: [
                          params: {
                              request: {
                                  data: {
                                      connector_id?: string;
                                      DATA_TYPE: "user_credential#1.0.0";
                                      deleted?: boolean;
                                      display_name?: string
                                      | null;
                                      home_directory?: string;
                                      id?: string;
                                      identity_id?: string;
                                      invalid?: boolean;
                                      policies?:
                                          | { DATA_TYPE: ...; s3_key_id?: ...; s3_secret_key?: ... }
                                          | {
                                              DATA_TYPE: ...;
                                              s3_key_id?: ...;
                                              s3_requester_pays?: ...;
                                              s3_secret_key?: ...;
                                          }
                                          | {
                                              DATA_TYPE: ...;
                                              s3_key_id?: ...;
                                              s3_multi_keys?: ...;
                                              s3_requester_pays?: ...;
                                              s3_secret_key?: ...;
                                          }
                                          | {
                                              access_token?: ...;
                                              DATA_TYPE: ...;
                                              email?: ...;
                                              refresh_token?: ...;
                                              scopes?: ...;
                                              sub?: ...;
                                              tid?: ...;
                                              token_expiry?: ...;
                                          }
                                          | { access_id?: ...; DATA_TYPE: ...; secret_key?: ... }
                                          | { DATA_TYPE: ... }
                                          | {
                                              access_token?: ...;
                                              DATA_TYPE: ...;
                                              email?: ...;
                                              max_upload?: ...;
                                              refresh_token?: ...;
                                              scopes?: ...;
                                              sub?: ...;
                                              token_expiry?: ...;
                                          }
                                          | { DATA_TYPE: ... }
                                          | {
                                              access_token?: ...;
                                              DATA_TYPE: ...;
                                              email?: ...;
                                              refresh_token?: ...;
                                              root_info?: ...;
                                              scopes?: ...;
                                              sub?: ...;
                                              token_expiry?: ...;
                                          }
                                          | {
                                              access_token?: ...;
                                              DATA_TYPE: ...;
                                              email?: ...;
                                              projects?: ...;
                                              refresh_token?: ...;
                                              scopes?: ...;
                                              sub?: ...;
                                              token_expiry?: ...;
                                          }
                                          | {
                                              access_token?: ...;
                                              DATA_TYPE: ...;
                                              email?: ...;
                                              refresh_token?: ...;
                                              scopes?: ...;
                                              sub?: ...;
                                              token_expiry?: ...;
                                          }
                                          | { DATA_TYPE: ... }
                                          | { DATA_TYPE: ... }
                                          | {
                                              access_token?: ...;
                                              DATA_TYPE: ...;
                                              email?: ...;
                                              refresh_token?: ...;
                                              scopes?: ...;
                                              sub?: ...;
                                              tid?: ...;
                                              token_expiry?: ...;
                                          }
                                          | { DATA_TYPE: ... }
                                          | { DATA_TYPE: ... };
                                      provisioned?: boolean;
                                      storage_gateway_id?: string;
                                      username?: string;
                                  };
                              };
                          } & ServiceMethodPayload,
                      ],
                  ) => Promise<
                      JSONFetchResponse<
                          {
                              code?: "success";
                              data?: {
                                  connector_id?: ...;
                                  DATA_TYPE: ...;
                                  deleted?: ...;
                                  display_name?: ...;
                                  home_directory?: ...;
                                  id?: ...;
                                  identity_id?: ...;
                                  invalid?: ...;
                                  policies?: ...;
                                  provisioned?: ...;
                                  storage_gateway_id?: ...;
                                  username?: ...;
                              }[];
                          } & (
                              | {
                                  code: string;
                                  data?: (...)[];
                                  DATA_TYPE: "result#1.0.0";
                                  detail?: unknown;
                                  has_next_page: boolean;
                                  http_response_code: number;
                                  marker?: string | null;
                                  message?: string;
                              }
                              | {
                                  authorization_parameters?: { [key: ...]: ... }
                                  | null;
                                  code: string;
                                  data?: (...)[];
                                  DATA_TYPE: "result#1.1.0";
                                  detail?: unknown;
                                  has_next_page: boolean;
                                  http_response_code: number;
                                  marker?: string | null;
                                  message?: string;
                              }
                          ),
                      >,
                  >;
                  get: (
                      ...args: [
                          params: { user_credential_id: string } & {
                              request?: { data?: undefined; query?: undefined };
                          } & ServiceMethodPayload,
                      ],
                  ) => Promise<
                      JSONFetchResponse<
                          {
                              code?: "success";
                              data?: {
                                  connector_id?: ...;
                                  DATA_TYPE: ...;
                                  deleted?: ...;
                                  display_name?: ...;
                                  home_directory?: ...;
                                  id?: ...;
                                  identity_id?: ...;
                                  invalid?: ...;
                                  policies?: ...;
                                  provisioned?: ...;
                                  storage_gateway_id?: ...;
                                  username?: ...;
                              }[];
                          } & (
                              | {
                                  code: string;
                                  data?: (...)[];
                                  DATA_TYPE: "result#1.0.0";
                                  detail?: unknown;
                                  has_next_page: boolean;
                                  http_response_code: number;
                                  marker?: string | null;
                                  message?: string;
                              }
                              | {
                                  authorization_parameters?: { [key: ...]: ... }
                                  | null;
                                  code: string;
                                  data?: (...)[];
                                  DATA_TYPE: "result#1.1.0";
                                  detail?: unknown;
                                  has_next_page: boolean;
                                  http_response_code: number;
                                  marker?: string | null;
                                  message?: string;
                              }
                          ),
                      >,
                  >;
                  getAll: (
                      ...args: [
                          params?: { request?: { data?: undefined; query?: (...)
                          | (...) } } & ServiceMethodPayload,
                      ],
                  ) => Promise<
                      JSONFetchResponse<
                          {
                              code?: "success";
                              data?: {
                                  connector_id?: ...;
                                  DATA_TYPE: ...;
                                  deleted?: ...;
                                  display_name?: ...;
                                  home_directory?: ...;
                                  id?: ...;
                                  identity_id?: ...;
                                  invalid?: ...;
                                  policies?: ...;
                                  provisioned?: ...;
                                  storage_gateway_id?: ...;
                                  username?: ...;
                              }[];
                          } & (
                              | {
                                  code: string;
                                  data?: (...)[];
                                  DATA_TYPE: "result#1.0.0";
                                  detail?: unknown;
                                  has_next_page: boolean;
                                  http_response_code: number;
                                  marker?: string | null;
                                  message?: string;
                              }
                              | {
                                  authorization_parameters?: { [key: ...]: ... }
                                  | null;
                                  code: string;
                                  data?: (...)[];
                                  DATA_TYPE: "result#1.1.0";
                                  detail?: unknown;
                                  has_next_page: boolean;
                                  http_response_code: number;
                                  marker?: string | null;
                                  message?: string;
                              }
                          ),
                      >,
                  >;
                  patch: (
                      ...args: [
                          params: { user_credential_id: string } & {
                              request: { data: Partial<(...)[(...)]["application/json"]> };
                          } & ServiceMethodPayload,
                      ],
                  ) => Promise<
                      JSONFetchResponse<
                          {
                              code?: "success";
                              data?: {
                                  connector_id?: ...;
                                  DATA_TYPE: ...;
                                  deleted?: ...;
                                  display_name?: ...;
                                  home_directory?: ...;
                                  id?: ...;
                                  identity_id?: ...;
                                  invalid?: ...;
                                  policies?: ...;
                                  provisioned?: ...;
                                  storage_gateway_id?: ...;
                                  username?: ...;
                              }[];
                          } & (
                              | {
                                  code: string;
                                  data?: (...)[];
                                  DATA_TYPE: "result#1.0.0";
                                  detail?: unknown;
                                  has_next_page: boolean;
                                  http_response_code: number;
                                  marker?: string | null;
                                  message?: string;
                              }
                              | {
                                  authorization_parameters?: { [key: ...]: ... }
                                  | null;
                                  code: string;
                                  data?: (...)[];
                                  DATA_TYPE: "result#1.1.0";
                                  detail?: unknown;
                                  has_next_page: boolean;
                                  http_response_code: number;
                                  marker?: string | null;
                                  message?: string;
                              }
                          ),
                      >,
                  >;
                  remove: (
                      ...args: [
                          params: { user_credential_id: string } & {
                              request?: { data?: undefined; query?: undefined };
                          } & ServiceMethodPayload,
                      ],
                  ) => Promise<
                      JSONFetchResponse<
                          | {
                              code: string;
                              data?: Record<(...), (...)>[];
                              DATA_TYPE: "result#1.0.0";
                              detail?: unknown;
                              has_next_page: boolean;
                              http_response_code: number;
                              marker?: string | null;
                              message?: string;
                          }
                          | {
                              authorization_parameters?: { [key: string]: unknown }
                              | null;
                              code: string;
                              data?: Record<(...), (...)>[];
                              DATA_TYPE: "result#1.1.0";
                              detail?: unknown;
                              has_next_page: boolean;
                              http_response_code: number;
                              marker?: string | null;
                              message?: string;
                          },
                      >,
                  >;
                  update: (
                      ...args: [
                          params: { user_credential_id: string } & {
                              request: {
                                  data: {
                                      connector_id?: string;
                                      DATA_TYPE: "user_credential#1.0.0";
                                      deleted?: boolean;
                                      display_name?: string | null;
                                      home_directory?: string;
                                      id?: string;
                                      identity_id?: string;
                                      invalid?: boolean;
                                      policies?:
                                          | { DATA_TYPE: ...; s3_key_id?: ...; s3_secret_key?: ... }
                                          | {
                                              DATA_TYPE: ...;
                                              s3_key_id?: ...;
                                              s3_requester_pays?: ...;
                                              s3_secret_key?: ...;
                                          }
                                          | {
                                              DATA_TYPE: ...;
                                              s3_key_id?: ...;
                                              s3_multi_keys?: ...;
                                              s3_requester_pays?: ...;
                                              s3_secret_key?: ...;
                                          }
                                          | {
                                              access_token?: ...;
                                              DATA_TYPE: ...;
                                              email?: ...;
                                              refresh_token?: ...;
                                              scopes?: ...;
                                              sub?: ...;
                                              tid?: ...;
                                              token_expiry?: ...;
                                          }
                                          | { access_id?: ...; DATA_TYPE: ...; secret_key?: ... }
                                          | { DATA_TYPE: ... }
                                          | {
                                              access_token?: ...;
                                              DATA_TYPE: ...;
                                              email?: ...;
                                              max_upload?: ...;
                                              refresh_token?: ...;
                                              scopes?: ...;
                                              sub?: ...;
                                              token_expiry?: ...;
                                          }
                                          | { DATA_TYPE: ... }
                                          | {
                                              access_token?: ...;
                                              DATA_TYPE: ...;
                                              email?: ...;
                                              refresh_token?: ...;
                                              root_info?: ...;
                                              scopes?: ...;
                                              sub?: ...;
                                              token_expiry?: ...;
                                          }
                                          | {
                                              access_token?: ...;
                                              DATA_TYPE: ...;
                                              email?: ...;
                                              projects?: ...;
                                              refresh_token?: ...;
                                              scopes?: ...;
                                              sub?: ...;
                                              token_expiry?: ...;
                                          }
                                          | {
                                              access_token?: ...;
                                              DATA_TYPE: ...;
                                              email?: ...;
                                              refresh_token?: ...;
                                              scopes?: ...;
                                              sub?: ...;
                                              token_expiry?: ...;
                                          }
                                          | { DATA_TYPE: ... }
                                          | { DATA_TYPE: ... }
                                          | {
                                              access_token?: ...;
                                              DATA_TYPE: ...;
                                              email?: ...;
                                              refresh_token?: ...;
                                              scopes?: ...;
                                              sub?: ...;
                                              tid?: ...;
                                              token_expiry?: ...;
                                          }
                                          | { DATA_TYPE: ... }
                                          | { DATA_TYPE: ... };
                                      provisioned?: boolean;
                                      storage_gateway_id?: string;
                                      username?: string;
                                  };
                              };
                          } & ServiceMethodPayload,
                      ],
                  ) => Promise<
                      JSONFetchResponse<
                          {
                              code?: "success";
                              data?: {
                                  connector_id?: ...;
                                  DATA_TYPE: ...;
                                  deleted?: ...;
                                  display_name?: ...;
                                  home_directory?: ...;
                                  id?: ...;
                                  identity_id?: ...;
                                  invalid?: ...;
                                  policies?: ...;
                                  provisioned?: ...;
                                  storage_gateway_id?: ...;
                                  username?: ...;
                              }[];
                          } & (
                              | {
                                  code: string;
                                  data?: (...)[];
                                  DATA_TYPE: "result#1.0.0";
                                  detail?: unknown;
                                  has_next_page: boolean;
                                  http_response_code: number;
                                  marker?: string | null;
                                  message?: string;
                              }
                              | {
                                  authorization_parameters?: { [key: ...]: ... }
                                  | null;
                                  code: string;
                                  data?: (...)[];
                                  DATA_TYPE: "result#1.1.0";
                                  detail?: unknown;
                                  has_next_page: boolean;
                                  http_response_code: number;
                                  marker?: string | null;
                                  message?: string;
                              }
                          ),
                      >,
                  >;
              };
              patch: (
                  ...args: [
                      user_credential_id: string,
                      options: {
                          payload: Partial<(...)[(...)]["content"]["application/json"]>;
                      } & {
                          headers?: Headers;
                          query?: {
                              [key: string]: | string
                              | number
                              | boolean
                              | (...)[]
                              | null
                              | undefined;
                          };
                      },
                      sdkOptions?: SDKOptions,
                  ],
              ) => Promise<
                  JSONFetchResponse<
                      {
                          code?: "success";
                          data?: {
                              connector_id?: (...)
                              | (...);
                              DATA_TYPE: "user_credential#1.0.0";
                              deleted?: (...) | (...) | (...);
                              display_name?: (...) | (...) | (...);
                              home_directory?: (...) | (...);
                              id?: (...) | (...);
                              identity_id?: (...) | (...);
                              invalid?: (...) | (...) | (...);
                              policies?:
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...);
                              provisioned?: (...) | (...) | (...);
                              storage_gateway_id?: (...) | (...);
                              username?: (...) | (...);
                          }[];
                      } & (
                          | {
                              code: string;
                              data?: Record<(...), (...)>[];
                              DATA_TYPE: "result#1.0.0";
                              detail?: unknown;
                              has_next_page: boolean;
                              http_response_code: number;
                              marker?: string | null;
                              message?: string;
                          }
                          | {
                              authorization_parameters?: { [key: string]: unknown }
                              | null;
                              code: string;
                              data?: Record<(...), (...)>[];
                              DATA_TYPE: "result#1.1.0";
                              detail?: unknown;
                              has_next_page: boolean;
                              http_response_code: number;
                              marker?: string | null;
                              message?: string;
                          }
                      ),
                  >,
              >;
              remove: (
                  ...args: [
                      user_credential_id: string,
                      options?: { payload?: undefined; query?: undefined } & {
                          headers?: Headers;
                          query?: {
                              [key: string]:
                                  | string
                                  | number
                                  | boolean
                                  | (...)[]
                                  | null
                                  | undefined;
                          };
                      },
                      sdkOptions?: SDKOptions,
                  ],
              ) => Promise<
                  JSONFetchResponse<
                      | {
                          code: string;
                          data?: Record<string, unknown>[];
                          DATA_TYPE: "result#1.0.0";
                          detail?: unknown;
                          has_next_page: boolean;
                          http_response_code: number;
                          marker?: string | null;
                          message?: string;
                      }
                      | {
                          authorization_parameters?: { [key: string]: unknown }
                          | null;
                          code: string;
                          data?: Record<string, unknown>[];
                          DATA_TYPE: "result#1.1.0";
                          detail?: unknown;
                          has_next_page: boolean;
                          http_response_code: number;
                          marker?: string | null;
                          message?: string;
                      },
                  >,
              >;
              update: (
                  ...args: [
                      user_credential_id: string,
                      options: {
                          payload: {
                              connector_id?: string;
                              DATA_TYPE: "user_credential#1.0.0";
                              deleted?: boolean;
                              display_name?: string
                              | null;
                              home_directory?: string;
                              id?: string;
                              identity_id?: string;
                              invalid?: boolean;
                              policies?:
                                  | {
                                      DATA_TYPE: "s3_user_credential_policies#1.0.0";
                                      s3_key_id?: (...)
                                      | (...)
                                      | (...);
                                      s3_secret_key?: (...) | (...) | (...);
                                  }
                                  | {
                                      DATA_TYPE: "s3_user_credential_policies#1.1.0";
                                      s3_key_id?: (...)
                                      | (...)
                                      | (...);
                                      s3_requester_pays?: (...) | (...) | (...);
                                      s3_secret_key?: (...) | (...) | (...);
                                  }
                                  | {
                                      DATA_TYPE: "s3_user_credential_policies#1.2.0";
                                      s3_key_id?: (...)
                                      | (...)
                                      | (...);
                                      s3_multi_keys?: (...) | (...) | (...);
                                      s3_requester_pays?: (...) | (...) | (...);
                                      s3_secret_key?: (...) | (...) | (...);
                                  }
                                  | {
                                      access_token?: (...)
                                      | (...)
                                      | (...);
                                      DATA_TYPE: "azure_blob_user_credential_policies#1.0.0";
                                      email?: (...) | (...) | (...);
                                      refresh_token?: (...) | (...) | (...);
                                      scopes?: (...) | (...);
                                      sub?: (...) | (...) | (...);
                                      tid?: (...) | (...);
                                      token_expiry?: (...) | (...);
                                  }
                                  | {
                                      access_id?: (...)
                                      | (...);
                                      DATA_TYPE: "blackpearl_user_credential_policies#1.0.0";
                                      secret_key?: (...) | (...);
                                  }
                                  | { DATA_TYPE: "box_user_credential_policies#1.0.0" }
                                  | {
                                      access_token?: (...) | (...) | (...);
                                      DATA_TYPE: "box_user_credential_policies#1.1.0";
                                      email?: (...) | (...) | (...);
                                      max_upload?: (...) | (...);
                                      refresh_token?: (...) | (...) | (...);
                                      scopes?: (...) | (...);
                                      sub?: (...) | (...) | (...);
                                      token_expiry?: (...) | (...);
                                  }
                                  | { DATA_TYPE: "ceph_user_credential_policies#1.0.0" }
                                  | {
                                      access_token?: (...) | (...) | (...);
                                      DATA_TYPE: "dropbox_user_credential_policies#1.0.0";
                                      email?: (...) | (...) | (...);
                                      refresh_token?: (...) | (...) | (...);
                                      root_info?: (...) | (...);
                                      scopes?: (...) | (...);
                                      sub?: (...) | (...) | (...);
                                      token_expiry?: (...) | (...);
                                  }
                                  | {
                                      access_token?: (...)
                                      | (...)
                                      | (...);
                                      DATA_TYPE: "google_cloud_storage_user_credential_policies#1.0.0";
                                      email?: (...) | (...);
                                      projects?: (...) | (...);
                                      refresh_token?: (...) | (...) | (...);
                                      scopes?: (...) | (...);
                                      sub?: (...) | (...);
                                      token_expiry?: (...) | (...);
                                  }
                                  | {
                                      access_token?: (...)
                                      | (...)
                                      | (...);
                                      DATA_TYPE: "google_drive_user_credential_policies#1.0.0";
                                      email?: (...) | (...) | (...);
                                      refresh_token?: (...) | (...) | (...);
                                      scopes?: (...) | (...);
                                      sub?: (...) | (...) | (...);
                                      token_expiry?: (...) | (...);
                                  }
                                  | { DATA_TYPE: "hpss_user_credential_policies#1.0.0" }
                                  | { DATA_TYPE: "irods_user_credential_policies#1.0.0" }
                                  | {
                                      access_token?: (...) | (...) | (...);
                                      DATA_TYPE: "onedrive_user_credential_policies#1.0.0";
                                      email?: (...) | (...) | (...);
                                      refresh_token?: (...) | (...) | (...);
                                      scopes?: (...) | (...);
                                      sub?: (...) | (...) | (...);
                                      tid?: (...) | (...);
                                      token_expiry?: (...) | (...);
                                  }
                                  | { DATA_TYPE: "posix_user_credential_policies#1.0.0" }
                                  | { DATA_TYPE: "posix_staging_user_credential_policies#1.0.0" };
                              provisioned?: boolean;
                              storage_gateway_id?: string;
                              username?: string;
                          };
                      } & {
                          headers?: Headers;
                          query?: {
                              [key: string]: | string
                              | number
                              | boolean
                              | (...)[]
                              | null
                              | undefined;
                          };
                      },
                      sdkOptions?: SDKOptions,
                  ],
              ) => Promise<
                  JSONFetchResponse<
                      {
                          code?: "success";
                          data?: {
                              connector_id?: (...)
                              | (...);
                              DATA_TYPE: "user_credential#1.0.0";
                              deleted?: (...) | (...) | (...);
                              display_name?: (...) | (...) | (...);
                              home_directory?: (...) | (...);
                              id?: (...) | (...);
                              identity_id?: (...) | (...);
                              invalid?: (...) | (...) | (...);
                              policies?:
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...);
                              provisioned?: (...) | (...) | (...);
                              storage_gateway_id?: (...) | (...);
                              username?: (...) | (...);
                          }[];
                      } & (
                          | {
                              code: string;
                              data?: Record<(...), (...)>[];
                              DATA_TYPE: "result#1.0.0";
                              detail?: unknown;
                              has_next_page: boolean;
                              http_response_code: number;
                              marker?: string | null;
                              message?: string;
                          }
                          | {
                              authorization_parameters?: { [key: string]: unknown }
                              | null;
                              code: string;
                              data?: Record<(...), (...)>[];
                              DATA_TYPE: "result#1.1.0";
                              detail?: unknown;
                              has_next_page: boolean;
                              http_response_code: number;
                              marker?: string | null;
                              message?: string;
                          }
                      ),
                  >,
              >;
          };
          versioning: {
              info: (
                  ...args: never,
              ) => Promise<
                  JSONFetchResponse<
                      {
                          code?: "success";
                          data?: (
                              | { DATA_TYPE: ...; display_name: ...; id: ...; version?: ... }
                              | {
                                  DATA_TYPE: ...;
                                  display_name: ...;
                                  id: ...;
                                  is_baa?: ...;
                                  is_ha?: ...;
                                  version?: ...;
                              }
                              | {
                                  api_version?: ...;
                                  client_id?: ...;
                                  DATA_TYPE: ...;
                                  domain_name?: ...;
                                  endpoint_id?: ...;
                                  manager_version?: ...;
                              }
                          )[];
                      } & (
                          | {
                              code: string;
                              data?: Record<(...), (...)>[];
                              DATA_TYPE: "result#1.0.0";
                              detail?: unknown;
                              has_next_page: boolean;
                              http_response_code: number;
                              marker?: string | null;
                              message?: string;
                          }
                          | {
                              authorization_parameters?: { [key: string]: unknown }
                              | null;
                              code: string;
                              data?: Record<(...), (...)>[];
                              DATA_TYPE: "result#1.1.0";
                              detail?: unknown;
                              has_next_page: boolean;
                              http_response_code: number;
                              marker?: string | null;
                              message?: string;
                          }
                      ),
                  >,
              >;
              next: {
                  info: (
                      ...args: [
                          params?: { request?: { data?: undefined; query?: undefined } } & ServiceMethodPayload,
                      ],
                  ) => Promise<
                      JSONFetchResponse<
                          { code?: "success"; data?: ((...) | (...) | (...))[] } & (
                              | {
                                  code: string;
                                  data?: (...)[];
                                  DATA_TYPE: "result#1.0.0";
                                  detail?: unknown;
                                  has_next_page: boolean;
                                  http_response_code: number;
                                  marker?: string | null;
                                  message?: string;
                              }
                              | {
                                  authorization_parameters?: { [key: ...]: ... }
                                  | null;
                                  code: string;
                                  data?: (...)[];
                                  DATA_TYPE: "result#1.1.0";
                                  detail?: unknown;
                                  has_next_page: boolean;
                                  http_response_code: number;
                                  marker?: string | null;
                                  message?: string;
                              }
                          ),
                      >,
                  >;
              };
          };
      }