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AE1B,QAAI,OAAO,WAAW,aAAa;AAC/B,YAAM,IAAI,kBAAkB,sCAAsC;AAAA,IACtE;AACA,QAAI,OAAO,eAAe,aAAa;AACnC,YAAM,IAAI,kBAAkB,0CAA0C;AAAA,IAC1E;AAEA,UAAM,UAAU,yCAAyC,QAAQ,YAAY,MAAM,EAAE,QAAQ,gBAAgB,UAAU;AACvH,UAAM,UAAmB,CAAC;AAC1B,UAAM,MAAM,IAAI,IAAI,KAAK,OAAO,OAAO,WAAW,OAAO;AAEzD,UAAM,aAA2C;AAAA,MAC7C,gBAAgB;AAAA,IACpB;AAEA,WAAO,KAAK,OAAO;AAAA,MACf;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,IACJ;AAAA,EACJ;AACJ","sourcesContent":["import { AppwriteException, Client, type Payload, UploadProgress } from '../client';\nimport type { Models } from '../models';\n\nimport { Framework } from '../enums/framework';\nimport { BuildRuntime } from '../enums/build-runtime';\nimport { Adapter } from '../enums/adapter';\nimport { TemplateReferenceType } from '../enums/template-reference-type';\nimport { VCSReferenceType } from '../enums/vcs-reference-type';\nimport { DeploymentDownloadType } from '../enums/deployment-download-type';\n\nexport class Sites {\n client: Client;\n\n constructor(client: Client) {\n this.client = client;\n }\n\n /**\n * Get a list of all the project's sites. You can use the query params to filter your results.\n *\n * @param {string[]} params.queries - Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https://appwrite.io/docs/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: name, enabled, framework, deploymentId, buildCommand, installCommand, outputDirectory, installationId\n * @param {string} params.search - Search term to filter your list results. Max length: 256 chars.\n * @param {boolean} params.total - When set to false, the total count returned will be 0 and will not be calculated.\n * @throws {AppwriteException}\n * @returns {Promise<Models.SiteList>}\n */\n list(params?: { queries?: string[], search?: string, total?: boolean }): Promise<Models.SiteList>;\n /**\n * Get a list of all the project's sites. You can use the query params to filter your results.\n *\n * @param {string[]} queries - Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https://appwrite.io/docs/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: name, enabled, framework, deploymentId, buildCommand, installCommand, outputDirectory, installationId\n * @param {string} search - Search term to filter your list results. Max length: 256 chars.\n * @param {boolean} total - When set to false, the total count returned will be 0 and will not be calculated.\n * @throws {AppwriteException}\n * @returns {Promise<Models.SiteList>}\n * @deprecated Use the object parameter style method for a better developer experience.\n */\n list(queries?: string[], search?: string, total?: boolean): Promise<Models.SiteList>;\n list(\n paramsOrFirst?: { queries?: string[], search?: string, total?: boolean } | string[],\n ...rest: [(string)?, (boolean)?] \n ): Promise<Models.SiteList> {\n let params: { queries?: string[], search?: string, total?: boolean };\n \n if (!paramsOrFirst || (paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {\n params = (paramsOrFirst || {}) as { queries?: string[], search?: string, total?: boolean };\n } else {\n params = {\n queries: paramsOrFirst as string[],\n search: rest[0] as string,\n total: rest[1] as boolean \n };\n }\n \n const queries = params.queries;\n const search = params.search;\n const total = params.total;\n\n\n const apiPath = '/sites';\n const payload: Payload = {};\n if (typeof queries !== 'undefined') {\n payload['queries'] = queries;\n }\n if (typeof search !== 'undefined') {\n payload['search'] = search;\n }\n if (typeof total !== 'undefined') {\n payload['total'] = total;\n }\n const uri = new URL(this.client.config.endpoint + apiPath);\n\n const apiHeaders: { [header: string]: string } = {\n }\n\n return this.client.call(\n 'get',\n uri,\n apiHeaders,\n payload,\n );\n }\n\n /**\n * Create a new site.\n *\n * @param {string} params.siteId - Site ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.\n * @param {string} params.name - Site name. Max length: 128 chars.\n * @param {Framework} params.framework - Sites framework.\n * @param {BuildRuntime} params.buildRuntime - Runtime to use during build step.\n * @param {boolean} params.enabled - Is site enabled? When set to 'disabled', users cannot access the site but Server SDKs with and API key can still access the site. No data is lost when this is toggled.\n * @param {boolean} params.logging - When disabled, request logs will exclude logs and errors, and site responses will be slightly faster.\n * @param {number} params.timeout - Maximum request time in seconds.\n * @param {string} params.installCommand - Install Command.\n * @param {string} params.buildCommand - Build Command.\n * @param {string} params.outputDirectory - Output Directory for site.\n * @param {Adapter} params.adapter - Framework adapter defining rendering strategy. Allowed values are: static, ssr\n * @param {string} params.installationId - Appwrite Installation ID for VCS (Version Control System) deployment.\n * @param {string} params.fallbackFile - Fallback file for single page application sites.\n * @param {string} params.providerRepositoryId - Repository ID of the repo linked to the site.\n * @param {string} params.providerBranch - Production branch for the repo linked to the site.\n * @param {boolean} params.providerSilentMode - Is the VCS (Version Control System) connection in silent mode for the repo linked to the site? In silent mode, comments will not be made on commits and pull requests.\n * @param {string} params.providerRootDirectory - Path to site code in the linked repo.\n * @param {string} params.specification - Framework specification for the site and builds.\n * @throws {AppwriteException}\n * @returns {Promise<Models.Site>}\n */\n create(params: { siteId: string, name: string, framework: Framework, buildRuntime: BuildRuntime, enabled?: boolean, logging?: boolean, timeout?: number, installCommand?: string, buildCommand?: string, outputDirectory?: string, adapter?: Adapter, installationId?: string, fallbackFile?: string, providerRepositoryId?: string, providerBranch?: string, providerSilentMode?: boolean, providerRootDirectory?: string, specification?: string }): Promise<Models.Site>;\n /**\n * Create a new site.\n *\n * @param {string} siteId - Site ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.\n * @param {string} name - Site name. Max length: 128 chars.\n * @param {Framework} framework - Sites framework.\n * @param {BuildRuntime} buildRuntime - Runtime to use during build step.\n * @param {boolean} enabled - Is site enabled? When set to 'disabled', users cannot access the site but Server SDKs with and API key can still access the site. No data is lost when this is toggled.\n * @param {boolean} logging - When disabled, request logs will exclude logs and errors, and site responses will be slightly faster.\n * @param {number} timeout - Maximum request time in seconds.\n * @param {string} installCommand - Install Command.\n * @param {string} buildCommand - Build Command.\n * @param {string} outputDirectory - Output Directory for site.\n * @param {Adapter} adapter - Framework adapter defining rendering strategy. Allowed values are: static, ssr\n * @param {string} installationId - Appwrite Installation ID for VCS (Version Control System) deployment.\n * @param {string} fallbackFile - Fallback file for single page application sites.\n * @param {string} providerRepositoryId - Repository ID of the repo linked to the site.\n * @param {string} providerBranch - Production branch for the repo linked to the site.\n * @param {boolean} providerSilentMode - Is the VCS (Version Control System) connection in silent mode for the repo linked to the site? In silent mode, comments will not be made on commits and pull requests.\n * @param {string} providerRootDirectory - Path to site code in the linked repo.\n * @param {string} specification - Framework specification for the site and builds.\n * @throws {AppwriteException}\n * @returns {Promise<Models.Site>}\n * @deprecated Use the object parameter style method for a better developer experience.\n */\n create(siteId: string, name: string, framework: Framework, buildRuntime: BuildRuntime, enabled?: boolean, logging?: boolean, timeout?: number, installCommand?: string, buildCommand?: string, outputDirectory?: string, adapter?: Adapter, installationId?: string, fallbackFile?: string, providerRepositoryId?: string, providerBranch?: string, providerSilentMode?: boolean, providerRootDirectory?: string, specification?: string): Promise<Models.Site>;\n create(\n paramsOrFirst: { siteId: string, name: string, framework: Framework, buildRuntime: BuildRuntime, enabled?: boolean, logging?: boolean, timeout?: number, installCommand?: string, buildCommand?: string, outputDirectory?: string, adapter?: Adapter, installationId?: string, fallbackFile?: string, providerRepositoryId?: string, providerBranch?: string, providerSilentMode?: boolean, providerRootDirectory?: string, specification?: string } | string,\n ...rest: [(string)?, (Framework)?, (BuildRuntime)?, (boolean)?, (boolean)?, (number)?, (string)?, (string)?, (string)?, (Adapter)?, (string)?, (string)?, (string)?, (string)?, (boolean)?, (string)?, (string)?] \n ): Promise<Models.Site> {\n let params: { siteId: string, name: string, framework: Framework, buildRuntime: BuildRuntime, enabled?: boolean, logging?: boolean, timeout?: number, installCommand?: string, buildCommand?: string, outputDirectory?: string, adapter?: Adapter, installationId?: string, fallbackFile?: string, providerRepositoryId?: string, providerBranch?: string, providerSilentMode?: boolean, providerRootDirectory?: string, specification?: string };\n \n if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {\n params = (paramsOrFirst || {}) as { siteId: string, name: string, framework: Framework, buildRuntime: BuildRuntime, enabled?: boolean, logging?: boolean, timeout?: number, installCommand?: string, buildCommand?: string, outputDirectory?: string, adapter?: Adapter, installationId?: string, fallbackFile?: string, providerRepositoryId?: string, providerBranch?: string, providerSilentMode?: boolean, providerRootDirectory?: string, specification?: string };\n } else {\n params = {\n siteId: paramsOrFirst as string,\n name: rest[0] as string,\n framework: rest[1] as Framework,\n buildRuntime: rest[2] as BuildRuntime,\n enabled: rest[3] as boolean,\n logging: rest[4] as boolean,\n timeout: rest[5] as number,\n installCommand: rest[6] as string,\n buildCommand: rest[7] as string,\n outputDirectory: rest[8] as string,\n adapter: rest[9] as Adapter,\n installationId: rest[10] as string,\n fallbackFile: rest[11] as string,\n providerRepositoryId: rest[12] as string,\n providerBranch: rest[13] as string,\n providerSilentMode: rest[14] as boolean,\n providerRootDirectory: rest[15] as string,\n specification: rest[16] as string \n };\n }\n \n const siteId = params.siteId;\n const name = params.name;\n const framework = params.framework;\n const buildRuntime = params.buildRuntime;\n const enabled = params.enabled;\n const logging = params.logging;\n const timeout = params.timeout;\n const installCommand = params.installCommand;\n const buildCommand = params.buildCommand;\n const outputDirectory = params.outputDirectory;\n const adapter = params.adapter;\n const installationId = params.installationId;\n const fallbackFile = params.fallbackFile;\n const providerRepositoryId = params.providerRepositoryId;\n const providerBranch = params.providerBranch;\n const providerSilentMode = params.providerSilentMode;\n const providerRootDirectory = params.providerRootDirectory;\n const specification = params.specification;\n\n if (typeof siteId === 'undefined') {\n throw new AppwriteException('Missing required parameter: \"siteId\"');\n }\n if (typeof name === 'undefined') {\n throw new AppwriteException('Missing required parameter: \"name\"');\n }\n if (typeof framework === 'undefined') {\n throw new AppwriteException('Missing required parameter: \"framework\"');\n }\n if (typeof buildRuntime === 'undefined') {\n throw new AppwriteException('Missing required parameter: \"buildRuntime\"');\n }\n\n const apiPath = '/sites';\n const payload: Payload = {};\n if (typeof siteId !== 'undefined') {\n payload['siteId'] = siteId;\n }\n if (typeof name !== 'undefined') {\n payload['name'] = name;\n }\n if (typeof framework !== 'undefined') {\n payload['framework'] = framework;\n }\n if (typeof enabled !== 'undefined') {\n payload['enabled'] = enabled;\n }\n if (typeof logging !== 'undefined') {\n payload['logging'] = logging;\n }\n if (typeof timeout !== 'undefined') {\n payload['timeout'] = timeout;\n }\n if (typeof installCommand !== 'undefined') {\n payload['installCommand'] = installCommand;\n }\n if (typeof buildCommand !== 'undefined') {\n payload['buildCommand'] = buildCommand;\n }\n if (typeof outputDirectory !== 'undefined') {\n payload['outputDirectory'] = outputDirectory;\n }\n if (typeof buildRuntime !== 'undefined') {\n payload['buildRuntime'] = buildRuntime;\n }\n if (typeof adapter !== 'undefined') {\n payload['adapter'] = adapter;\n }\n if (typeof installationId !== 'undefined') {\n payload['installationId'] = installationId;\n }\n if (typeof fallbackFile !== 'undefined') {\n payload['fallbackFile'] = fallbackFile;\n }\n if (typeof providerRepositoryId !== 'undefined') {\n payload['providerRepositoryId'] = providerRepositoryId;\n }\n if (typeof providerBranch !== 'undefined') {\n payload['providerBranch'] = providerBranch;\n }\n if (typeof providerSilentMode !== 'undefined') {\n payload['providerSilentMode'] = providerSilentMode;\n }\n if (typeof providerRootDirectory !== 'undefined') {\n payload['providerRootDirectory'] = providerRootDirectory;\n }\n if (typeof specification !== 'undefined') {\n payload['specification'] = specification;\n }\n const uri = new URL(this.client.config.endpoint + apiPath);\n\n const apiHeaders: { [header: string]: string } = {\n 'content-type': 'application/json',\n }\n\n return this.client.call(\n 'post',\n uri,\n apiHeaders,\n payload,\n );\n }\n\n /**\n * Get a list of all frameworks that are currently available on the server instance.\n *\n * @throws {AppwriteException}\n * @returns {Promise<Models.FrameworkList>}\n */\n listFrameworks(): Promise<Models.FrameworkList> {\n\n const apiPath = '/sites/frameworks';\n const payload: Payload = {};\n const uri = new URL(this.client.config.endpoint + apiPath);\n\n const apiHeaders: { [header: string]: string } = {\n }\n\n return this.client.call(\n 'get',\n uri,\n apiHeaders,\n payload,\n );\n }\n\n /**\n * List allowed site specifications for this instance.\n *\n * @throws {AppwriteException}\n * @returns {Promise<Models.SpecificationList>}\n */\n listSpecifications(): Promise<Models.SpecificationList> {\n\n const apiPath = '/sites/specifications';\n const payload: Payload = {};\n const uri = new URL(this.client.config.endpoint + apiPath);\n\n const apiHeaders: { [header: string]: string } = {\n }\n\n return this.client.call(\n 'get',\n uri,\n apiHeaders,\n payload,\n );\n }\n\n /**\n * Get a site by its unique ID.\n *\n * @param {string} params.siteId - Site ID.\n * @throws {AppwriteException}\n * @returns {Promise<Models.Site>}\n */\n get(params: { siteId: string }): Promise<Models.Site>;\n /**\n * Get a site by its unique ID.\n *\n * @param {string} siteId - Site ID.\n * @throws {AppwriteException}\n * @returns {Promise<Models.Site>}\n * @deprecated Use the object parameter style method for a better developer experience.\n */\n get(siteId: string): Promise<Models.Site>;\n get(\n paramsOrFirst: { siteId: string } | string \n ): Promise<Models.Site> {\n let params: { siteId: string };\n \n if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {\n params = (paramsOrFirst || {}) as { siteId: string };\n } else {\n params = {\n siteId: paramsOrFirst as string \n };\n }\n \n const siteId = params.siteId;\n\n if (typeof siteId === 'undefined') {\n throw new AppwriteException('Missing required parameter: \"siteId\"');\n }\n\n const apiPath = '/sites/{siteId}'.replace('{siteId}', siteId);\n const payload: Payload = {};\n const uri = new URL(this.client.config.endpoint + apiPath);\n\n const apiHeaders: { [header: string]: string } = {\n }\n\n return this.client.call(\n 'get',\n uri,\n apiHeaders,\n payload,\n );\n }\n\n /**\n * Update site by its unique ID.\n *\n * @param {string} params.siteId - Site ID.\n * @param {string} params.name - Site name. Max length: 128 chars.\n * @param {Framework} params.framework - Sites framework.\n * @param {boolean} params.enabled - Is site enabled? When set to 'disabled', users cannot access the site but Server SDKs with and API key can still access the site. No data is lost when this is toggled.\n * @param {boolean} params.logging - When disabled, request logs will exclude logs and errors, and site responses will be slightly faster.\n * @param {number} params.timeout - Maximum request time in seconds.\n * @param {string} params.installCommand - Install Command.\n * @param {string} params.buildCommand - Build Command.\n * @param {string} params.outputDirectory - Output Directory for site.\n * @param {BuildRuntime} params.buildRuntime - Runtime to use during build step.\n * @param {Adapter} params.adapter - Framework adapter defining rendering strategy. Allowed values are: static, ssr\n * @param {string} params.fallbackFile - Fallback file for single page application sites.\n * @param {string} params.installationId - Appwrite Installation ID for VCS (Version Control System) deployment.\n * @param {string} params.providerRepositoryId - Repository ID of the repo linked to the site.\n * @param {string} params.providerBranch - Production branch for the repo linked to the site.\n * @param {boolean} params.providerSilentMode - Is the VCS (Version Control System) connection in silent mode for the repo linked to the site? In silent mode, comments will not be made on commits and pull requests.\n * @param {string} params.providerRootDirectory - Path to site code in the linked repo.\n * @param {string} params.specification - Framework specification for the site and builds.\n * @throws {AppwriteException}\n * @returns {Promise<Models.Site>}\n */\n update(params: { siteId: string, name: string, framework: Framework, enabled?: boolean, logging?: boolean, timeout?: number, installCommand?: string, buildCommand?: string, outputDirectory?: string, buildRuntime?: BuildRuntime, adapter?: Adapter, fallbackFile?: string, installationId?: string, providerRepositoryId?: string, providerBranch?: string, providerSilentMode?: boolean, providerRootDirectory?: string, specification?: string }): Promise<Models.Site>;\n /**\n * Update site by its unique ID.\n *\n * @param {string} siteId - Site ID.\n * @param {string} name - Site name. Max length: 128 chars.\n * @param {Framework} framework - Sites framework.\n * @param {boolean} enabled - Is site enabled? When set to 'disabled', users cannot access the site but Server SDKs with and API key can still access the site. No data is lost when this is toggled.\n * @param {boolean} logging - When disabled, request logs will exclude logs and errors, and site responses will be slightly faster.\n * @param {number} timeout - Maximum request time in seconds.\n * @param {string} installCommand - Install Command.\n * @param {string} buildCommand - Build Command.\n * @param {string} outputDirectory - Output Directory for site.\n * @param {BuildRuntime} buildRuntime - Runtime to use during build step.\n * @param {Adapter} adapter - Framework adapter defining rendering strategy. Allowed values are: static, ssr\n * @param {string} fallbackFile - Fallback file for single page application sites.\n * @param {string} installationId - Appwrite Installation ID for VCS (Version Control System) deployment.\n * @param {string} providerRepositoryId - Repository ID of the repo linked to the site.\n * @param {string} providerBranch - Production branch for the repo linked to the site.\n * @param {boolean} providerSilentMode - Is the VCS (Version Control System) connection in silent mode for the repo linked to the site? In silent mode, comments will not be made on commits and pull requests.\n * @param {string} providerRootDirectory - Path to site code in the linked repo.\n * @param {string} specification - Framework specification for the site and builds.\n * @throws {AppwriteException}\n * @returns {Promise<Models.Site>}\n * @deprecated Use the object parameter style method for a better developer experience.\n */\n update(siteId: string, name: string, framework: Framework, enabled?: boolean, logging?: boolean, timeout?: number, installCommand?: string, buildCommand?: string, outputDirectory?: string, buildRuntime?: BuildRuntime, adapter?: Adapter, fallbackFile?: string, installationId?: string, providerRepositoryId?: string, providerBranch?: string, providerSilentMode?: boolean, providerRootDirectory?: string, specification?: string): Promise<Models.Site>;\n update(\n paramsOrFirst: { siteId: string, name: string, framework: Framework, enabled?: boolean, logging?: boolean, timeout?: number, installCommand?: string, buildCommand?: string, outputDirectory?: string, buildRuntime?: BuildRuntime, adapter?: Adapter, fallbackFile?: string, installationId?: string, providerRepositoryId?: string, providerBranch?: string, providerSilentMode?: boolean, providerRootDirectory?: string, specification?: string } | string,\n ...rest: [(string)?, (Framework)?, (boolean)?, (boolean)?, (number)?, (string)?, (string)?, (string)?, (BuildRuntime)?, (Adapter)?, (string)?, (string)?, (string)?, (string)?, (boolean)?, (string)?, (string)?] \n ): Promise<Models.Site> {\n let params: { siteId: string, name: string, framework: Framework, enabled?: boolean, logging?: boolean, timeout?: number, installCommand?: string, buildCommand?: string, outputDirectory?: string, buildRuntime?: BuildRuntime, adapter?: Adapter, fallbackFile?: string, installationId?: string, providerRepositoryId?: string, providerBranch?: string, providerSilentMode?: boolean, providerRootDirectory?: string, specification?: string };\n \n if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {\n params = (paramsOrFirst || {}) as { siteId: string, name: string, framework: Framework, enabled?: boolean, logging?: boolean, timeout?: number, installCommand?: string, buildCommand?: string, outputDirectory?: string, buildRuntime?: BuildRuntime, adapter?: Adapter, fallbackFile?: string, installationId?: string, providerRepositoryId?: string, providerBranch?: string, providerSilentMode?: boolean, providerRootDirectory?: string, specification?: string };\n } else {\n params = {\n siteId: paramsOrFirst as string,\n name: rest[0] as string,\n framework: rest[1] as Framework,\n enabled: rest[2] as boolean,\n logging: rest[3] as boolean,\n timeout: rest[4] as number,\n installCommand: rest[5] as string,\n buildCommand: rest[6] as string,\n outputDirectory: rest[7] as string,\n buildRuntime: rest[8] as BuildRuntime,\n adapter: rest[9] as Adapter,\n fallbackFile: rest[10] as string,\n installationId: rest[11] as string,\n providerRepositoryId: rest[12] as string,\n providerBranch: rest[13] as string,\n providerSilentMode: rest[14] as boolean,\n providerRootDirectory: rest[15] as string,\n specification: rest[16] as string \n };\n }\n \n const siteId = params.siteId;\n const name = params.name;\n const framework = params.framework;\n const enabled = params.enabled;\n const logging = params.logging;\n const timeout = params.timeout;\n const installCommand = params.installCommand;\n const buildCommand = params.buildCommand;\n const outputDirectory = params.outputDirectory;\n const buildRuntime = params.buildRuntime;\n const adapter = params.adapter;\n const fallbackFile = params.fallbackFile;\n const installationId = params.installationId;\n const providerRepositoryId = params.providerRepositoryId;\n const providerBranch = params.providerBranch;\n const providerSilentMode = params.providerSilentMode;\n const providerRootDirectory = params.providerRootDirectory;\n const specification = params.specification;\n\n if (typeof siteId === 'undefined') {\n throw new AppwriteException('Missing required parameter: \"siteId\"');\n }\n if (typeof name === 'undefined') {\n throw new AppwriteException('Missing required parameter: \"name\"');\n }\n if (typeof framework === 'undefined') {\n throw new AppwriteException('Missing required parameter: \"framework\"');\n }\n\n const apiPath = '/sites/{siteId}'.replace('{siteId}', siteId);\n const payload: Payload = {};\n if (typeof name !== 'undefined') {\n payload['name'] = name;\n }\n if (typeof framework !== 'undefined') {\n payload['framework'] = framework;\n }\n if (typeof enabled !== 'undefined') {\n payload['enabled'] = enabled;\n }\n if (typeof logging !== 'undefined') {\n payload['logging'] = logging;\n }\n if (typeof timeout !== 'undefined') {\n payload['timeout'] = timeout;\n }\n if (typeof installCommand !== 'undefined') {\n payload['installCommand'] = installCommand;\n }\n if (typeof buildCommand !== 'undefined') {\n payload['buildCommand'] = buildCommand;\n }\n if (typeof outputDirectory !== 'undefined') {\n payload['outputDirectory'] = outputDirectory;\n }\n if (typeof buildRuntime !== 'undefined') {\n payload['buildRuntime'] = buildRuntime;\n }\n if (typeof adapter !== 'undefined') {\n payload['adapter'] = adapter;\n }\n if (typeof fallbackFile !== 'undefined') {\n payload['fallbackFile'] = fallbackFile;\n }\n if (typeof installationId !== 'undefined') {\n payload['installationId'] = installationId;\n }\n if (typeof providerRepositoryId !== 'undefined') {\n payload['providerRepositoryId'] = providerRepositoryId;\n }\n if (typeof providerBranch !== 'undefined') {\n payload['providerBranch'] = providerBranch;\n }\n if (typeof providerSilentMode !== 'undefined') {\n payload['providerSilentMode'] = providerSilentMode;\n }\n if (typeof providerRootDirectory !== 'undefined') {\n payload['providerRootDirectory'] = providerRootDirectory;\n }\n if (typeof specification !== 'undefined') {\n payload['specification'] = specification;\n }\n const uri = new URL(this.client.config.endpoint + apiPath);\n\n const apiHeaders: { [header: string]: string } = {\n 'content-type': 'application/json',\n }\n\n return this.client.call(\n 'put',\n uri,\n apiHeaders,\n payload,\n );\n }\n\n /**\n * Delete a site by its unique ID.\n *\n * @param {string} params.siteId - Site ID.\n * @throws {AppwriteException}\n * @returns {Promise<{}>}\n */\n delete(params: { siteId: string }): Promise<{}>;\n /**\n * Delete a site by its unique ID.\n *\n * @param {string} siteId - Site ID.\n * @throws {AppwriteException}\n * @returns {Promise<{}>}\n * @deprecated Use the object parameter style method for a better developer experience.\n */\n delete(siteId: string): Promise<{}>;\n delete(\n paramsOrFirst: { siteId: string } | string \n ): Promise<{}> {\n let params: { siteId: string };\n \n if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {\n params = (paramsOrFirst || {}) as { siteId: string };\n } else {\n params = {\n siteId: paramsOrFirst as string \n };\n }\n \n const siteId = params.siteId;\n\n if (typeof siteId === 'undefined') {\n throw new AppwriteException('Missing required parameter: \"siteId\"');\n }\n\n const apiPath = '/sites/{siteId}'.replace('{siteId}', siteId);\n const payload: Payload = {};\n const uri = new URL(this.client.config.endpoint + apiPath);\n\n const apiHeaders: { [header: string]: string } = {\n 'content-type': 'application/json',\n }\n\n return this.client.call(\n 'delete',\n uri,\n apiHeaders,\n payload,\n );\n }\n\n /**\n * Update the site active deployment. Use this endpoint to switch the code deployment that should be used when visitor opens your site.\n *\n * @param {string} params.siteId - Site ID.\n * @param {string} params.deploymentId - Deployment ID.\n * @throws {AppwriteException}\n * @returns {Promise<Models.Site>}\n */\n updateSiteDeployment(params: { siteId: string, deploymentId: string }): Promise<Models.Site>;\n /**\n * Update the site active deployment. Use this endpoint to switch the code deployment that should be used when visitor opens your site.\n *\n * @param {string} siteId - Site ID.\n * @param {string} deploymentId - Deployment ID.\n * @throws {AppwriteException}\n * @returns {Promise<Models.Site>}\n * @deprecated Use the object parameter style method for a better developer experience.\n */\n updateSiteDeployment(siteId: string, deploymentId: string): Promise<Models.Site>;\n updateSiteDeployment(\n paramsOrFirst: { siteId: string, deploymentId: string } | string,\n ...rest: [(string)?] \n ): Promise<Models.Site> {\n let params: { siteId: string, deploymentId: string };\n \n if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {\n params = (paramsOrFirst || {}) as { siteId: string, deploymentId: string };\n } else {\n params = {\n siteId: paramsOrFirst as string,\n deploymentId: rest[0] as string \n };\n }\n \n const siteId = params.siteId;\n const deploymentId = params.deploymentId;\n\n if (typeof siteId === 'undefined') {\n throw new AppwriteException('Missing required parameter: \"siteId\"');\n }\n if (typeof deploymentId === 'undefined') {\n throw new AppwriteException('Missing required parameter: \"deploymentId\"');\n }\n\n const apiPath = '/sites/{siteId}/deployment'.replace('{siteId}', siteId);\n const payload: Payload = {};\n if (typeof deploymentId !== 'undefined') {\n payload['deploymentId'] = deploymentId;\n }\n const uri = new URL(this.client.config.endpoint + apiPath);\n\n const apiHeaders: { [header: string]: string } = {\n 'content-type': 'application/json',\n }\n\n return this.client.call(\n 'patch',\n uri,\n apiHeaders,\n payload,\n );\n }\n\n /**\n * Get a list of all the site's code deployments. You can use the query params to filter your results.\n *\n * @param {string} params.siteId - Site ID.\n * @param {string[]} params.queries - Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https://appwrite.io/docs/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: buildSize, sourceSize, totalSize, buildDuration, status, activate, type\n * @param {string} params.search - Search term to filter your list results. Max length: 256 chars.\n * @param {boolean} params.total - When set to false, the total count returned will be 0 and will not be calculated.\n * @throws {AppwriteException}\n * @returns {Promise<Models.DeploymentList>}\n */\n listDeployments(params: { siteId: string, queries?: string[], search?: string, total?: boolean }): Promise<Models.DeploymentList>;\n /**\n * Get a list of all the site's code deployments. You can use the query params to filter your results.\n *\n * @param {string} siteId - Site ID.\n * @param {string[]} queries - Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https://appwrite.io/docs/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: buildSize, sourceSize, totalSize, buildDuration, status, activate, type\n * @param {string} search - Search term to filter your list results. Max length: 256 chars.\n * @param {boolean} total - When set to false, the total count returned will be 0 and will not be calculated.\n * @throws {AppwriteException}\n * @returns {Promise<Models.DeploymentList>}\n * @deprecated Use the object parameter style method for a better developer experience.\n */\n listDeployments(siteId: string, queries?: string[], search?: string, total?: boolean): Promise<Models.DeploymentList>;\n listDeployments(\n paramsOrFirst: { siteId: string, queries?: string[], search?: string, total?: boolean } | string,\n ...rest: [(string[])?, (string)?, (boolean)?] \n ): Promise<Models.DeploymentList> {\n let params: { siteId: string, queries?: string[], search?: string, total?: boolean };\n \n if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {\n params = (paramsOrFirst || {}) as { siteId: string, queries?: string[], search?: string, total?: boolean };\n } else {\n params = {\n siteId: paramsOrFirst as string,\n queries: rest[0] as string[],\n search: rest[1] as string,\n total: rest[2] as boolean \n };\n }\n \n const siteId = params.siteId;\n const queries = params.queries;\n const search = params.search;\n const total = params.total;\n\n if (typeof siteId === 'undefined') {\n throw new AppwriteException('Missing required parameter: \"siteId\"');\n }\n\n const apiPath = '/sites/{siteId}/deployments'.replace('{siteId}', siteId);\n const payload: Payload = {};\n if (typeof queries !== 'undefined') {\n payload['queries'] = queries;\n }\n if (typeof search !== 'undefined') {\n payload['search'] = search;\n }\n if (typeof total !== 'undefined') {\n payload['total'] = total;\n }\n const uri = new URL(this.client.config.endpoint + apiPath);\n\n const apiHeaders: { [header: string]: string } = {\n }\n\n return this.client.call(\n 'get',\n uri,\n apiHeaders,\n payload,\n );\n }\n\n /**\n * Create a new site code deployment. Use this endpoint to upload a new version of your site code. To activate your newly uploaded code, you'll need to update the site's deployment to use your new deployment ID.\n *\n * @param {string} params.siteId - Site ID.\n * @param {File} params.code - Gzip file with your code package. When used with the Appwrite CLI, pass the path to your code directory, and the CLI will automatically package your code. Use a path that is within the current directory.\n * @param {boolean} params.activate - Automatically activate the deployment when it is finished building.\n * @param {string} params.installCommand - Install Commands.\n * @param {string} params.buildCommand - Build Commands.\n * @param {string} params.outputDirectory - Output Directory.\n * @throws {AppwriteException}\n * @returns {Promise<Models.Deployment>}\n */\n createDeployment(params: { siteId: string, code: File, activate: boolean, installCommand?: string, buildCommand?: string, outputDirectory?: string , onProgress?: (progress: UploadProgress) => void }): Promise<Models.Deployment>;\n /**\n * Create a new site code deployment. Use this endpoint to upload a new version of your site code. To activate your newly uploaded code, you'll need to update the site's deployment to use your new deployment ID.\n *\n * @param {string} siteId - Site ID.\n * @param {File} code - Gzip file with your code package. When used with the Appwrite CLI, pass the path to your code directory, and the CLI will automatically package your code. Use a path that is within the current directory.\n * @param {boolean} activate - Automatically activate the deployment when it is finished building.\n * @param {string} installCommand - Install Commands.\n * @param {string} buildCommand - Build Commands.\n * @param {string} outputDirectory - Output Directory.\n * @throws {AppwriteException}\n * @returns {Promise<Models.Deployment>}\n * @deprecated Use the object parameter style method for a better developer experience.\n */\n createDeployment(siteId: string, code: File, activate: boolean, installCommand?: string, buildCommand?: string, outputDirectory?: string, onProgress?: (progress: UploadProgress) => void): Promise<Models.Deployment>;\n createDeployment(\n paramsOrFirst: { siteId: string, code: File, activate: boolean, installCommand?: string, buildCommand?: string, outputDirectory?: string, onProgress?: (progress: UploadProgress) => void } | string,\n ...rest: [(File)?, (boolean)?, (string)?, (string)?, (string)?,((progress: UploadProgress) => void)?] \n ): Promise<Models.Deployment> {\n let params: { siteId: string, code: File, activate: boolean, installCommand?: string, buildCommand?: string, outputDirectory?: string };\n let onProgress: ((progress: UploadProgress) => void);\n \n if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {\n params = (paramsOrFirst || {}) as { siteId: string, code: File, activate: boolean, installCommand?: string, buildCommand?: string, outputDirectory?: string };\n onProgress = paramsOrFirst?.onProgress as ((progress: UploadProgress) => void);\n } else {\n params = {\n siteId: paramsOrFirst as string,\n code: rest[0] as File,\n activate: rest[1] as boolean,\n installCommand: rest[2] as string,\n buildCommand: rest[3] as string,\n outputDirectory: rest[4] as string \n };\n onProgress = rest[5] as ((progress: UploadProgress) => void);\n }\n \n const siteId = params.siteId;\n const code = params.code;\n const activate = params.activate;\n const installCommand = params.installCommand;\n const buildCommand = params.buildCommand;\n const outputDirectory = params.outputDirectory;\n\n if (typeof siteId === 'undefined') {\n throw new AppwriteException('Missing required parameter: \"siteId\"');\n }\n if (typeof code === 'undefined') {\n throw new AppwriteException('Missing required parameter: \"code\"');\n }\n if (typeof activate === 'undefined') {\n throw new AppwriteException('Missing required parameter: \"activate\"');\n }\n\n const apiPath = '/sites/{siteId}/deployments'.replace('{siteId}', siteId);\n const payload: Payload = {};\n if (typeof installCommand !== 'undefined') {\n payload['installCommand'] = installCommand;\n }\n if (typeof buildCommand !== 'undefined') {\n payload['buildCommand'] = buildCommand;\n }\n if (typeof outputDirectory !== 'undefined') {\n payload['outputDirectory'] = outputDirectory;\n }\n if (typeof code !== 'undefined') {\n payload['code'] = code;\n }\n if (typeof activate !== 'undefined') {\n payload['activate'] = activate;\n }\n const uri = new URL(this.client.config.endpoint + apiPath);\n\n const apiHeaders: { [header: string]: string } = {\n 'content-type': 'multipart/form-data',\n }\n\n return this.client.chunkedUpload(\n 'post',\n uri,\n apiHeaders,\n payload,\n onProgress\n );\n }\n\n /**\n * Create a new build for an existing site deployment. This endpoint allows you to rebuild a deployment with the updated site configuration, including its commands and output directory if they have been modified. The build process will be queued and executed asynchronously. The original deployment's code will be preserved and used for the new build.\n *\n * @param {string} params.siteId - Site ID.\n * @param {string} params.deploymentId - Deployment ID.\n * @throws {AppwriteException}\n * @returns {Promise<Models.Deployment>}\n */\n createDuplicateDeployment(params: { siteId: string, deploymentId: string }): Promise<Models.Deployment>;\n /**\n * Create a new build for an existing site deployment. This endpoint allows you to rebuild a deployment with the updated site configuration, including its commands and output directory if they have been modified. The build process will be queued and executed asynchronously. The original deployment's code will be preserved and used for the new build.\n *\n * @param {string} siteId - Site ID.\n * @param {string} deploymentId - Deployment ID.\n * @throws {AppwriteException}\n * @returns {Promise<Models.Deployment>}\n * @deprecated Use the object parameter style method for a better developer experience.\n */\n createDuplicateDeployment(siteId: string, deploymentId: string): Promise<Models.Deployment>;\n createDuplicateDeployment(\n paramsOrFirst: { siteId: string, deploymentId: string } | string,\n ...rest: [(string)?] \n ): Promise<Models.Deployment> {\n let params: { siteId: string, deploymentId: string };\n \n if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {\n params = (paramsOrFirst || {}) as { siteId: string, deploymentId: string };\n } else {\n params = {\n siteId: paramsOrFirst as string,\n deploymentId: rest[0] as string \n };\n }\n \n const siteId = params.siteId;\n const deploymentId = params.deploymentId;\n\n if (typeof siteId === 'undefined') {\n throw new AppwriteException('Missing required parameter: \"siteId\"');\n }\n if (typeof deploymentId === 'undefined') {\n throw new AppwriteException('Missing required parameter: \"deploymentId\"');\n }\n\n const apiPath = '/sites/{siteId}/deployments/duplicate'.replace('{siteId}', siteId);\n const payload: Payload = {};\n if (typeof deploymentId !== 'undefined') {\n payload['deploymentId'] = deploymentId;\n }\n const uri = new URL(this.client.config.endpoint + apiPath);\n\n const apiHeaders: { [header: string]: string } = {\n 'content-type': 'application/json',\n }\n\n return this.client.call(\n 'post',\n uri,\n apiHeaders,\n payload,\n );\n }\n\n /**\n * Create a deployment based on a template.\n * \n * Use this endpoint with combination of [listTemplates](https://appwrite.io/docs/products/sites/templates) to find the template details.\n *\n * @param {string} params.siteId - Site ID.\n * @param {string} params.repository - Repository name of the template.\n * @param {string} params.owner - The name of the owner of the template.\n * @param {string} params.rootDirectory - Path to site code in the template repo.\n * @param {TemplateReferenceType} params.type - Type for the reference provided. Can be commit, branch, or tag\n * @param {string} params.reference - Reference value, can be a commit hash, branch name, or release tag\n * @param {boolean} params.activate - Automatically activate the deployment when it is finished building.\n * @throws {AppwriteException}\n * @returns {Promise<Models.Deployment>}\n */\n createTemplateDeployment(params: { siteId: string, repository: string, owner: string, rootDirectory: string, type: TemplateReferenceType, reference: string, activate?: boolean }): Promise<Models.Deployment>;\n /**\n * Create a deployment based on a template.\n * \n * Use this endpoint with combination of [listTemplates](https://appwrite.io/docs/products/sites/templates) to find the template details.\n *\n * @param {string} siteId - Site ID.\n * @param {string} repository - Repository name of the template.\n * @param {string} owner - The name of the owner of the template.\n * @param {string} rootDirectory - Path to site code in the template repo.\n * @param {TemplateReferenceType} type - Type for the reference provided. Can be commit, branch, or tag\n * @param {string} reference - Reference value, can be a commit hash, branch name, or release tag\n * @param {boolean} activate - Automatically activate the deployment when it is finished building.\n * @throws {AppwriteException}\n * @returns {Promise<Models.Deployment>}\n * @deprecated Use the object parameter style method for a better developer experience.\n */\n createTemplateDeployment(siteId: string, repository: string, owner: string, rootDirectory: string, type: TemplateReferenceType, reference: string, activate?: boolean): Promise<Models.Deployment>;\n createTemplateDeployment(\n paramsOrFirst: { siteId: string, repository: string, owner: string, rootDirectory: string, type: TemplateReferenceType, reference: string, activate?: boolean } | string,\n ...rest: [(string)?, (string)?, (string)?, (TemplateReferenceType)?, (string)?, (boolean)?] \n ): Promise<Models.Deployment> {\n let params: { siteId: string, repository: string, owner: string, rootDirectory: string, type: TemplateReferenceType, reference: string, activate?: boolean };\n \n if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {\n params = (paramsOrFirst || {}) as { siteId: string, repository: string, owner: string, rootDirectory: string, type: TemplateReferenceType, reference: string, activate?: boolean };\n } else {\n params = {\n siteId: paramsOrFirst as string,\n repository: rest[0] as string,\n owner: rest[1] as string,\n rootDirectory: rest[2] as string,\n type: rest[3] as TemplateReferenceType,\n reference: rest[4] as string,\n activate: rest[5] as boolean \n };\n }\n \n const siteId = params.siteId;\n const repository = params.repository;\n const owner = params.owner;\n const rootDirectory = params.rootDirectory;\n const type = params.type;\n const reference = params.reference;\n const activate = params.activate;\n\n if (typeof siteId === 'undefined') {\n throw new AppwriteException('Missing required parameter: \"siteId\"');\n }\n if (typeof repository === 'undefined') {\n throw new AppwriteException('Missing required parameter: \"repository\"');\n }\n if (typeof owner === 'undefined') {\n throw new AppwriteException('Missing required parameter: \"owner\"');\n }\n if (typeof rootDirectory === 'undefined') {\n throw new AppwriteException('Missing required parameter: \"rootDirectory\"');\n }\n if (typeof type === 'undefined') {\n throw new AppwriteException('Missing required parameter: \"type\"');\n }\n if (typeof reference === 'undefined') {\n throw new AppwriteException('Missing required parameter: \"reference\"');\n }\n\n const apiPath = '/sites/{siteId}/deployments/template'.replace('{siteId}', siteId);\n const payload: Payload = {};\n if (typeof repository !== 'undefined') {\n payload['repository'] = repository;\n }\n if (typeof owner !== 'undefined') {\n payload['owner'] = owner;\n }\n if (typeof rootDirectory !== 'undefined') {\n payload['rootDirectory'] = rootDirectory;\n }\n if (typeof type !== 'undefined') {\n payload['type'] = type;\n }\n if (typeof reference !== 'undefined') {\n payload['reference'] = reference;\n }\n if (typeof activate !== 'undefined') {\n payload['activate'] = activate;\n }\n const uri = new URL(this.client.config.endpoint + apiPath);\n\n const apiHeaders: { [header: string]: string } = {\n 'content-type': 'application/json',\n }\n\n return this.client.call(\n 'post',\n uri,\n apiHeaders,\n payload,\n );\n }\n\n /**\n * Create a deployment when a site is connected to VCS.\n * \n * This endpoint lets you create deployment from a branch, commit, or a tag.\n *\n * @param {string} params.siteId - Site ID.\n * @param {VCSReferenceType} params.type - Type of reference passed. Allowed values are: branch, commit\n * @param {string} params.reference - VCS reference to create deployment from. Depending on type this can be: branch name, commit hash\n * @param {boolean} params.activate - Automatically activate the deployment when it is finished building.\n * @throws {AppwriteException}\n * @returns {Promise<Models.Deployment>}\n */\n createVcsDeployment(params: { siteId: string, type: VCSReferenceType, reference: string, activate?: boolean }): Promise<Models.Deployment>;\n /**\n * Create a deployment when a site is connected to VCS.\n * \n * This endpoint lets you create deployment from a branch, commit, or a tag.\n *\n * @param {string} siteId - Site ID.\n * @param {VCSReferenceType} type - Type of reference passed. Allowed values are: branch, commit\n * @param {string} reference - VCS reference to create deployment from. Depending on type this can be: branch name, commit hash\n * @param {boolean} activate - Automatically activate the deployment when it is finished building.\n * @throws {AppwriteException}\n * @returns {Promise<Models.Deployment>}\n * @deprecated Use the object parameter style method for a better developer experience.\n */\n createVcsDeployment(siteId: string, type: VCSReferenceType, reference: string, activate?: boolean): Promise<Models.Deployment>;\n createVcsDeployment(\n paramsOrFirst: { siteId: string, type: VCSReferenceType, reference: string, activate?: boolean } | string,\n ...rest: [(VCSReferenceType)?, (string)?, (boolean)?] \n ): Promise<Models.Deployment> {\n let params: { siteId: string, type: VCSReferenceType, reference: string, activate?: boolean };\n \n if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {\n params = (paramsOrFirst || {}) as { siteId: string, type: VCSReferenceType, reference: string, activate?: boolean };\n } else {\n params = {\n siteId: paramsOrFirst as string,\n type: rest[0] as VCSReferenceType,\n reference: rest[1] as string,\n activate: rest[2] as boolean \n };\n }\n \n const siteId = params.siteId;\n const type = params.type;\n const reference = params.reference;\n const activate = params.activate;\n\n if (typeof siteId === 'undefined') {\n throw new AppwriteException('Missing required parameter: \"siteId\"');\n }\n if (typeof type === 'undefined') {\n throw new AppwriteException('Missing required parameter: \"type\"');\n }\n if (typeof reference === 'undefined') {\n throw new AppwriteException('Missing required parameter: \"reference\"');\n }\n\n const apiPath = '/sites/{siteId}/deployments/vcs'.replace('{siteId}', siteId);\n const payload: Payload = {};\n if (typeof type !== 'undefined') {\n payload['type'] = type;\n }\n if (typeof reference !== 'undefined') {\n payload['reference'] = reference;\n }\n if (typeof activate !== 'undefined') {\n payload['activate'] = activate;\n }\n const uri = new URL(this.client.config.endpoint + apiPath);\n\n const apiHeaders: { [header: string]: string } = {\n 'content-type': 'application/json',\n }\n\n return this.client.call(\n 'post',\n uri,\n apiHeaders,\n payload,\n );\n }\n\n /**\n * Get a site deployment by its unique ID.\n *\n * @param {string} params.siteId - Site ID.\n * @param {string} params.deploymentId - Deployment ID.\n * @throws {AppwriteException}\n * @returns {Promise<Models.Deployment>}\n */\n getDeployment(params: { siteId: string, deploymentId: string }): Promise<Models.Deployment>;\n /**\n * Get a site deployment by its unique ID.\n *\n * @param {string} siteId - Site ID.\n * @param {string} deploymentId - Deployment ID.\n * @throws {AppwriteException}\n * @returns {Promise<Models.Deployment>}\n * @deprecated Use the object parameter style method for a better developer experience.\n */\n getDeployment(siteId: string, deploymentId: string): Promise<Models.Deployment>;\n getDeployment(\n paramsOrFirst: { siteId: string, deploymentId: string } | string,\n ...rest: [(string)?] \n ): Promise<Models.Deployment> {\n let params: { siteId: string, deploymentId: string };\n \n if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {\n params = (paramsOrFirst || {}) as { siteId: string, deploymentId: string };\n } else {\n params = {\n siteId: paramsOrFirst as string,\n deploymentId: rest[0] as string \n };\n }\n \n const siteId = params.siteId;\n const deploymentId = params.deploymentId;\n\n if (typeof siteId === 'undefined') {\n throw new AppwriteException('Missing required parameter: \"siteId\"');\n }\n if (typeof deploymentId === 'undefined') {\n throw new AppwriteException('Missing required parameter: \"deploymentId\"');\n }\n\n const apiPath = '/sites/{siteId}/deployments/{deploymentId}'.replace('{siteId}', siteId).replace('{deploymentId}', deploymentId);\n const payload: Payload = {};\n const uri = new URL(this.client.config.endpoint + apiPath);\n\n const apiHeaders: { [header: string]: string } = {\n }\n\n return this.client.call(\n 'get',\n uri,\n apiHeaders,\n payload,\n );\n }\n\n /**\n * Delete a site deployment by its unique ID.\n *\n * @param {string} params.siteId - Site ID.\n * @param {string} params.deploymentId - Deployment ID.\n * @throws {AppwriteException}\n * @returns {Promise<{}>}\n */\n deleteDeployment(params: { siteId: string, deploymentId: string }): Promise<{}>;\n /**\n * Delete a site deployment by its unique ID.\n *\n * @param {string} siteId - Site ID.\n * @param {string} deploymentId - Deployment ID.\n * @throws {AppwriteException}\n * @returns {Promise<{}>}\n * @deprecated Use the object parameter style method for a better developer experience.\n */\n deleteDeployment(siteId: string, deploymentId: string): Promise<{}>;\n deleteDeployment(\n paramsOrFirst: { siteId: string, deploymentId: string } | string,\n ...rest: [(string)?] \n ): Promise<{}> {\n let params: { siteId: string, deploymentId: string };\n \n if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {\n params = (paramsOrFirst || {}) as { siteId: string, deploymentId: string };\n } else {\n params = {\n siteId: paramsOrFirst as string,\n deploymentId: rest[0] as string \n };\n }\n \n const siteId = params.siteId;\n const deploymentId = params.deploymentId;\n\n if (typeof siteId === 'undefined') {\n throw new AppwriteException('Missing required parameter: \"siteId\"');\n }\n if (typeof deploymentId === 'undefined') {\n throw new AppwriteException('Missing required parameter: \"deploymentId\"');\n }\n\n const apiPath = '/sites/{siteId}/deployments/{deploymentId}'.replace('{siteId}', siteId).replace('{deploymentId}', deploymentId);\n const payload: Payload = {};\n const uri = new URL(this.client.config.endpoint + apiPath);\n\n const apiHeaders: { [header: string]: string } = {\n 'content-type': 'application/json',\n }\n\n return this.client.call(\n 'delete',\n uri,\n apiHeaders,\n payload,\n );\n }\n\n /**\n * Get a site deployment content by its unique ID. The endpoint response return with a 'Content-Disposition: attachment' header that tells the browser to start downloading the file to user downloads directory.\n *\n * @param {string} params.siteId - Site ID.\n * @param {string} params.deploymentId - Deployment ID.\n * @param {DeploymentDownloadType} params.type - Deployment file to download. Can be: \"source\", \"output\".\n * @throws {AppwriteException}\n * @returns {Promise<ArrayBuffer>}\n */\n getDeploymentDownload(params: { siteId: string, deploymentId: string, type?: DeploymentDownloadType }): Promise<ArrayBuffer>;\n /**\n * Get a site deployment content by its unique ID. The endpoint response return with a 'Content-Disposition: attachment' header that tells the browser to start downloading the file to user downloads directory.\n *\n * @param {string} siteId - Site ID.\n * @param {string} deploymentId - Deployment ID.\n * @param {DeploymentDownloadType} type - Deployment file to download. Can be: \"source\", \"output\".\n * @throws {AppwriteException}\n * @returns {Promise<ArrayBuffer>}\n * @deprecated Use the object parameter style method for a better developer experience.\n */\n getDeploymentDownload(siteId: string, deploymentId: string, type?: DeploymentDownloadType): Promise<ArrayBuffer>;\n getDeploymentDownload(\n paramsOrFirst: { siteId: string, deploymentId: string, type?: DeploymentDownloadType } | string,\n ...rest: [(string)?, (DeploymentDownloadType)?] \n ): Promise<ArrayBuffer> {\n let params: { siteId: string, deploymentId: string, type?: DeploymentDownloadType };\n \n if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {\n params = (paramsOrFirst || {}) as { siteId: string, deploymentId: string, type?: DeploymentDownloadType };\n } else {\n params = {\n siteId: paramsOrFirst as string,\n deploymentId: rest[0] as string,\n type: rest[1] as DeploymentDownloadType \n };\n }\n \n const siteId = params.siteId;\n const deploymentId = params.deploymentId;\n const type = params.type;\n\n if (typeof siteId === 'undefined') {\n throw new AppwriteException('Missing required parameter: \"siteId\"');\n }\n if (typeof deploymentId === 'undefined') {\n throw new AppwriteException('Missing required parameter: \"deploymentId\"');\n }\n\n const apiPath = '/sites/{siteId}/deployments/{deploymentId}/download'.replace('{siteId}', siteId).replace('{deploymentId}', deploymentId);\n const payload: Payload = {};\n if (typeof type !== 'undefined') {\n payload['type'] = type;\n }\n const uri = new URL(this.client.config.endpoint + apiPath);\n\n const apiHeaders: { [header: string]: string } = {\n }\n\n return this.client.call(\n 'get',\n uri,\n apiHeaders,\n payload,\n 'arrayBuffer'\n );\n }\n\n /**\n * Cancel an ongoing site deployment build. If the build is already in progress, it will be stopped and marked as canceled. If the build hasn't started yet, it will be marked as canceled without executing. You cannot cancel builds that have already completed (status 'ready') or failed. The response includes the final build status and details.\n *\n * @param {string} params.siteId - Site ID.\n * @param {string} params.deploymentId - Deployment ID.\n * @throws {AppwriteException}\n * @returns {Promise<Models.Deployment>}\n */\n updateDeploymentStatus(params: { siteId: string, deploymentId: string }): Promise<Models.Deployment>;\n /**\n * Cancel an ongoing site deployment build. If the build is already in progress, it will be stopped and marked as canceled. If the build hasn't started yet, it will be marked as canceled without executing. You cannot cancel builds that have already completed (status 'ready') or failed. The response includes the final build status and details.\n *\n * @param {string} siteId - Site ID.\n * @param {string} deploymentId - Deployment ID.\n * @throws {AppwriteException}\n * @returns {Promise<Models.Deployment>}\n * @deprecated Use the object parameter style method for a better developer experience.\n */\n updateDeploymentStatus(siteId: string, deploymentId: string): Promise<Models.Deployment>;\n updateDeploymentStatus(\n paramsOrFirst: { siteId: string, deploymentId: string } | string,\n ...rest: [(string)?] \n ): Promise<Models.Deployment> {\n let params: { siteId: string, deploymentId: string };\n \n if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {\n params = (paramsOrFirst || {}) as { siteId: string, deploymentId: string };\n } else {\n params = {\n siteId: paramsOrFirst as string,\n deploymentId: rest[0] as string \n };\n }\n \n const siteId = params.siteId;\n const deploymentId = params.deploymentId;\n\n if (typeof siteId === 'undefined') {\n throw new AppwriteException('Missing required parameter: \"siteId\"');\n }\n if (typeof deploymentId === 'undefined') {\n throw new AppwriteException('Missing required parameter: \"deploymentId\"');\n }\n\n const apiPath = '/sites/{siteId}/deployments/{deploymentId}/status'.replace('{siteId}', siteId).replace('{deploymentId}', deploymentId);\n const payload: Payload = {};\n const uri = new URL(this.client.config.endpoint + apiPath);\n\n const apiHeaders: { [header: string]: string } = {\n 'content-type': 'application/json',\n }\n\n return this.client.call(\n 'patch',\n uri,\n apiHeaders,\n payload,\n );\n }\n\n /**\n * Get a list of all site logs. You can use the query params to filter your results.\n *\n * @param {string} params.siteId - Site ID.\n * @param {string[]} params.queries - Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https://appwrite.io/docs/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: trigger, status, responseStatusCode, duration, requestMethod, requestPath, deploymentId\n * @param {boolean} params.total - When set to false, the total count returned will be 0 and will not be calculated.\n * @throws {AppwriteException}\n * @returns {Promise<Models.ExecutionList>}\n */\n listLogs(params: { siteId: string, queries?: string[], total?: boolean }): Promise<Models.ExecutionList>;\n /**\n * Get a list of all site logs. You can use the query params to filter your results.\n *\n * @param {string} siteId - Site ID.\n * @param {string[]} queries - Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https://appwrite.io/docs/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: trigger, status, responseStatusCode, duration, requestMethod, requestPath, deploymentId\n * @param {boolean} total - When set to false, the total count returned will be 0 and will not be calculated.\n * @throws {AppwriteException}\n * @returns {Promise<Models.ExecutionList>}\n * @deprecated Use the object parameter style method for a better developer experience.\n */\n listLogs(siteId: string, queries?: string[], total?: boolean): Promise<Models.ExecutionList>;\n listLogs(\n paramsOrFirst: { siteId: string, queries?: string[], total?: boolean } | string,\n ...rest: [(string[])?, (boolean)?] \n ): Promise<Models.ExecutionList> {\n let params: { siteId: string, queries?: string[], total?: boolean };\n \n if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {\n params = (paramsOrFirst || {}) as { siteId: string, queries?: string[], total?: boolean };\n } else {\n params = {\n siteId: paramsOrFirst as string,\n queries: rest[0] as string[],\n total: rest[1] as boolean \n };\n }\n \n const siteId = params.siteId;\n const queries = params.queries;\n const total = params.total;\n\n if (typeof siteId === 'undefined') {\n throw new AppwriteException('Missing required parameter: \"siteId\"');\n }\n\n const apiPath = '/sites/{siteId}/logs'.replace('{siteId}', siteId);\n const payload: Payload = {};\n if (typeof queries !== 'undefined') {\n payload['queries'] = queries;\n }\n if (typeof total !== 'undefined') {\n payload['total'] = total;\n }\n const uri = new URL(this.client.config.endpoint + apiPath);\n\n const apiHeaders: { [header: string]: string } = {\n }\n\n return this.client.call(\n 'get',\n uri,\n apiHeaders,\n payload,\n );\n }\n\n /**\n * Get a site request log by its unique ID.\n *\n * @param {string} params.siteId - Site ID.\n * @param {string} params.logId - Log ID.\n * @throws {AppwriteException}\n * @returns {Promise<Models.Execution>}\n */\n getLog(params: { siteId: string, logId: string }): Promise<Models.Execution>;\n /**\n * Get a site request log by its unique ID.\n *\n * @param {string} siteId - Site ID.\n * @param {string} logId - Log ID.\n * @throws {AppwriteException}\n * @returns {Promise<Models.Execution>}\n * @deprecated Use the object parameter style method for a better developer experience.\n */\n getLog(siteId: string, logId: string): Promise<Models.Execution>;\n getLog(\n paramsOrFirst: { siteId: string, logId: string } | string,\n ...rest: [(string)?] \n ): Promise<Models.Execution> {\n let params: { siteId: string, logId: string };\n \n if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {\n params = (paramsOrFirst || {}) as { siteId: string, logId: string };\n } else {\n params = {\n siteId: paramsOrFirst as string,\n logId: rest[0] as string \n };\n }\n \n const siteId = params.siteId;\n const logId = params.logId;\n\n if (typeof siteId === 'undefined') {\n throw new AppwriteException('Missing required parameter: \"siteId\"');\n }\n if (typeof logId === 'undefined') {\n throw new AppwriteException('Missing required parameter: \"logId\"');\n }\n\n const apiPath = '/sites/{siteId}/logs/{logId}'.replace('{siteId}', siteId).replace('{logId}', logId);\n const payload: Payload = {};\n const uri = new URL(this.client.config.endpoint + apiPath);\n\n const apiHeaders: { [header: string]: string } = {\n }\n\n return this.client.call(\n 'get',\n uri,\n apiHeaders,\n payload,\n );\n }\n\n /**\n * Delete a site log by its unique ID.\n *\n * @param {string} params.siteId - Site ID.\n * @param {string} params.logId - Log ID.\n * @throws {AppwriteException}\n * @returns {Promise<{}>}\n */\n deleteLog(params: { siteId: string, logId: string }): Promise<{}>;\n /**\n * Delete a site log by its unique ID.\n *\n * @param {string} siteId - Site ID.\n * @param {string} logId - Log ID.\n * @throws {AppwriteException}\n * @returns {Promise<{}>}\n * @deprecated Use the object parameter style method for a better developer experience.\n */\n deleteLog(siteId: string, logId: string): Promise<{}>;\n deleteLog(\n paramsOrFirst: { siteId: string, logId: string } | string,\n ...rest: [(string)?] \n ): Promise<{}> {\n let params: { siteId: string, logId: string };\n \n if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {\n params = (paramsOrFirst || {}) as { siteId: string, logId: string };\n } else {\n params = {\n siteId: paramsOrFirst as string,\n logId: rest[0] as string \n };\n }\n \n const siteId = params.siteId;\n const logId = params.logId;\n\n if (typeof siteId === 'undefined') {\n throw new AppwriteException('Missing required parameter: \"siteId\"');\n }\n if (typeof logId === 'undefined') {\n throw new AppwriteException('Missing required parameter: \"logId\"');\n }\n\n const apiPath = '/sites/{siteId}/logs/{logId}'.replace('{siteId}', siteId).replace('{logId}', logId);\n const payload: Payload = {};\n const uri = new URL(this.client.config.endpoint + apiPath);\n\n const apiHeaders: { [header: string]: string } = {\n 'content-type': 'application/json',\n }\n\n return this.client.call(\n 'delete',\n uri,\n apiHeaders,\n payload,\n );\n }\n\n /**\n * Get a list of all variables of a specific site.\n *\n * @param {string} params.siteId - Site unique ID.\n * @throws {AppwriteException}\n * @returns {Promise<Models.VariableList>}\n */\n listVariables(params: { siteId: string }): Promise<Models.VariableList>;\n /**\n * Get a list of all variables of a specific site.\n *\n * @param {string} siteId - Site unique ID.\n * @throws {AppwriteException}\n * @returns {Promise<Models.VariableList>}\n * @deprecated Use the object parameter style method for a better developer experience.\n */\n listVariables(siteId: string): Promise<Models.VariableList>;\n listVariables(\n paramsOrFirst: { siteId: string } | string \n ): Promise<Models.VariableList> {\n let params: { siteId: string };\n \n if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {\n params = (paramsOrFirst || {}) as { siteId: string };\n } else {\n params = {\n siteId: paramsOrFirst as string \n };\n }\n \n const siteId = params.siteId;\n\n if (typeof siteId === 'undefined') {\n throw new AppwriteException('Missing required parameter: \"siteId\"');\n }\n\n const apiPath = '/sites/{siteId}/variables'.replace('{siteId}', siteId);\n const payload: Payload = {};\n const uri = new URL(this.client.config.endpoint + apiPath);\n\n const apiHeaders: { [header: string]: string } = {\n }\n\n return this.client.call(\n 'get',\n uri,\n apiHeaders,\n payload,\n );\n }\n\n /**\n * Create a new site variable. These variables can be accessed during build and runtime (server-side rendering) as environment variables.\n *\n * @param {string} params.siteId - Site unique ID.\n * @param {string} params.key - Variable key. Max length: 255 chars.\n * @param {string} params.value - Variable value. Max length: 8192 chars.\n * @param {boolean} params.secret - Secret variables can be updated or deleted, but only sites can read them during build and runtime.\n * @throws {AppwriteException}\n * @returns {Promise<Models.Variable>}\n */\n createVariable(params: { siteId: string, key: string, value: string, secret?: boolean }): Promise<Models.Variable>;\n /**\n * Create a new site variable. These variables can be accessed during build and runtime (server-side rendering) as environment variables.\n *\n * @param {string} siteId - Site unique ID.\n * @param {string} key - Variable key. Max length: 255 chars.\n * @param {string} value - Variable value. Max length: 8192 chars.\n * @param {boolean} secret - Secret variables can be updated or deleted, but only sites can read them during build and runtime.\n * @throws {AppwriteException}\n * @returns {Promise<Models.Variable>}\n * @deprecated Use the object parameter style method for a better developer experience.\n */\n createVariable(siteId: string, key: string, value: string, secret?: boolean): Promise<Models.Variable>;\n createVariable(\n paramsOrFirst: { siteId: string, key: string, value: string, secret?: boolean } | string,\n ...rest: [(string)?, (string)?, (boolean)?] \n ): Promise<Models.Variable> {\n let params: { siteId: string, key: string, value: string, secret?: boolean };\n \n if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {\n params = (paramsOrFirst || {}) as { siteId: string, key: string, value: string, secret?: boolean };\n } else {\n params = {\n siteId: paramsOrFirst as string,\n key: rest[0] as string,\n value: rest[1] as string,\n secret: rest[2] as boolean \n };\n }\n \n const siteId = params.siteId;\n const key = params.key;\n const value = params.value;\n const secret = params.secret;\n\n if (typeof siteId === 'undefined') {\n throw new AppwriteException('Missing required parameter: \"siteId\"');\n }\n if (typeof key === 'undefined') {\n throw new AppwriteException('Missing required parameter: \"key\"');\n }\n if (typeof value === 'undefined') {\n throw new AppwriteException('Missing required parameter: \"value\"');\n }\n\n const apiPath = '/sites/{siteId}/variables'.replace('{siteId}', siteId);\n const payload: Payload = {};\n if (typeof key !== 'undefined') {\n payload['key'] = key;\n }\n if (typeof value !== 'undefined') {\n payload['value'] = value;\n }\n if (typeof secret !== 'undefined') {\n payload['secret'] = secret;\n }\n const uri = new URL(this.client.config.endpoint + apiPath);\n\n const apiHeaders: { [header: string]: string } = {\n 'content-type': 'application/json',\n }\n\n return this.client.call(\n 'post',\n uri,\n apiHeaders,\n payload,\n );\n }\n\n /**\n * Get a variable by its unique ID.\n *\n * @param {string} params.siteId - Site unique ID.\n * @param {string} params.variableId - Variable unique ID.\n * @throws {AppwriteException}\n * @returns {Promise<Models.Variable>}\n */\n getVariable(params: { siteId: string, variableId: string }): Promise<Models.Variable>;\n /**\n * Get a variable by its unique ID.\n *\n * @param {string} siteId - Site unique ID.\n * @param {string} variableId - Variable unique ID.\n * @throws {AppwriteException}\n * @returns {Promise<Models.Variable>}\n * @deprecated Use the object parameter style method for a better developer experience.\n */\n getVariable(siteId: string, variableId: string): Promise<Models.Variable>;\n getVariable(\n paramsOrFirst: { siteId: string, variableId: string } | string,\n ...rest: [(string)?] \n ): Promise<Models.Variable> {\n let params: { siteId: string, variableId: string };\n \n if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {\n params = (paramsOrFirst || {}) as { siteId: string, variableId: string };\n } else {\n params = {\n siteId: paramsOrFirst as string,\n variableId: rest[0] as string \n };\n }\n \n const siteId = params.siteId;\n const variableId = params.variableId;\n\n if (typeof siteId === 'undefined') {\n throw new AppwriteException('Missing required parameter: \"siteId\"');\n }\n if (typeof variableId === 'undefined') {\n throw new AppwriteException('Missing required parameter: \"variableId\"');\n }\n\n const apiPath = '/sites/{siteId}/variables/{variableId}'.replace('{siteId}', siteId).replace('{variableId}', variableId);\n const payload: Payload = {};\n const uri = new URL(this.client.config.endpoint + apiPath);\n\n const apiHeaders: { [header: string]: string } = {\n }\n\n return this.client.call(\n 'get',\n uri,\n apiHeaders,\n payload,\n );\n }\n\n /**\n * Update variable by its unique ID.\n *\n * @param {string} params.siteId - Site unique ID.\n * @param {string} params.variableId - Variable unique ID.\n * @param {string} params.key - Variable key. Max length: 255 chars.\n * @param {string} params.value - Variable value. Max length: 8192 chars.\n * @param {boolean} params.secret - Secret variables can be updated or deleted, but only sites can read them during build and runtime.\n * @throws {AppwriteException}\n * @returns {Promise<Models.Variable>}\n */\n updateVariable(params: { siteId: string, variableId: string, key: string, value?: string, secret?: boolean }): Promise<Models.Variable>;\n /**\n * Update variable by its unique ID.\n *\n * @param {string} siteId - Site unique ID.\n * @param {string} variableId - Variable unique ID.\n * @param {string} key - Variable key. Max length: 255 chars.\n * @param {string} value - Variable value. Max length: 8192 chars.\n * @param {boolean} secret - Secret variables can be updated or deleted, but only sites can read them during build and runtime.\n * @throws {AppwriteException}\n * @returns {Promise<Models.Variable>}\n * @deprecated Use the object parameter style method for a better developer experience.\n */\n updateVariable(siteId: string, variableId: string, key: string, value?: string, secret?: boolean): Promise<Models.Variable>;\n updateVariable(\n paramsOrFirst: { siteId: string, variableId: string, key: string, value?: string, secret?: boolean } | string,\n ...rest: [(string)?, (string)?, (string)?, (boolean)?] \n ): Promise<Models.Variable> {\n let params: { siteId: string, variableId: string, key: string, value?: string, secret?: boolean };\n \n if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {\n params = (paramsOrFirst || {}) as { siteId: string, variableId: string, key: string, value?: string, secret?: boolean };\n } else {\n params = {\n siteId: paramsOrFirst as string,\n variableId: rest[0] as string,\n key: rest[1] as string,\n value: rest[2] as string,\n secret: rest[3] as boolean \n };\n }\n \n const siteId = params.siteId;\n const variableId = params.variableId;\n const key = params.key;\n const value = params.value;\n const secret = params.secret;\n\n if (typeof siteId === 'undefined') {\n throw new AppwriteException('Missing required parameter: \"siteId\"');\n }\n if (typeof variableId === 'undefined') {\n throw new AppwriteException('Missing required parameter: \"variableId\"');\n }\n if (typeof key === 'undefined') {\n throw new AppwriteException('Missing required parameter: \"key\"');\n }\n\n const apiPath = '/sites/{siteId}/variables/{variableId}'.replace('{siteId}', siteId).replace('{variableId}', variableId);\n const payload: Payload = {};\n if (typeof key !== 'undefined') {\n payload['key'] = key;\n }\n if (typeof value !== 'undefined') {\n payload['value'] = value;\n }\n if (typeof secret !== 'undefined') {\n payload['secret'] = secret;\n }\n const uri = new URL(this.client.config.endpoint + apiPath);\n\n const apiHeaders: { [header: string]: string } = {\n 'content-type': 'application/json',\n }\n\n return this.client.call(\n 'put',\n uri,\n apiHeaders,\n payload,\n );\n }\n\n /**\n * Delete a variable by its unique ID.\n *\n * @param {string} params.siteId - Site unique ID.\n * @param {string} params.variableId - Variable unique ID.\n * @throws {AppwriteException}\n * @returns {Promise<{}>}\n */\n deleteVariable(params: { siteId: string, variableId: string }): Promise<{}>;\n /**\n * Delete a variable by its unique ID.\n *\n * @param {string} siteId - Site unique ID.\n * @param {string} variableId - Variable unique ID.\n * @throws {AppwriteException}\n * @returns {Promise<{}>}\n * @deprecated Use the object parameter style method for a better developer experience.\n */\n deleteVariable(siteId: string, variableId: string): Promise<{}>;\n deleteVariable(\n paramsOrFirst: { siteId: string, variableId: string } | string,\n ...rest: [(string)?] \n ): Promise<{}> {\n let params: { siteId: string, variableId: string };\n \n if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {\n params = (paramsOrFirst || {}) as { siteId: string, variableId: string };\n } else {\n params = {\n siteId: paramsOrFirst as string,\n variableId: rest[0] as string \n };\n }\n \n const siteId = params.siteId;\n const variableId = params.variableId;\n\n if (typeof siteId === 'undefined') {\n throw new AppwriteException('Missing required parameter: \"siteId\"');\n }\n if (typeof variableId === 'undefined') {\n throw new AppwriteException('Missing required parameter: \"variableId\"');\n }\n\n const apiPath = '/sites/{siteId}/variables/{variableId}'.replace('{siteId}', siteId).replace('{variableId}', variableId);\n const payload: Payload = {};\n const uri = new URL(this.client.config.endpoint + apiPath);\n\n const apiHeaders: { [header: string]: string } = {\n 'content-type': 'application/json',\n }\n\n return this.client.call(\n 'delete',\n uri,\n apiHeaders,\n payload,\n );\n }\n}\n"]}