{"version":3,"sources":["../../src/assets-v1-site-script-scripts.universal.ts","../../src/assets-v1-site-script-scripts.http.ts","../../src/assets-v1-site-script-scripts.public.ts","../../src/assets-v1-site-script-scripts.context.ts"],"sourcesContent":["import { transformError as sdkTransformError } from '@wix/sdk-runtime/transform-error';\nimport {\n  renameKeysFromSDKRequestToRESTRequest,\n  renameKeysFromRESTResponseToSDKResponse,\n} from '@wix/sdk-runtime/rename-all-nested-keys';\nimport { HttpClient, NonNullablePaths } from '@wix/sdk-types';\nimport * as ambassadorWixAssetsV1SiteScript from './assets-v1-site-script-scripts.http.js';\n\nexport interface SiteScript {\n  /**\n   * Position where the script is placed on the page.\n   * @readonly\n   */\n  position?: PositionOnPageWithLiterals;\n  /**\n   * Script HTML\n   * @readonly\n   * @maxLength 15000\n   */\n  html?: string;\n}\n\nexport enum PositionOnPage {\n  UNKNOWN_POSITION = 'UNKNOWN_POSITION',\n  /** HEAD position */\n  HEAD = 'HEAD',\n  /** BODY_START position */\n  BODY_START = 'BODY_START',\n  /** BODY_END position */\n  BODY_END = 'BODY_END',\n}\n\n/** @enumType */\nexport type PositionOnPageWithLiterals =\n  | PositionOnPage\n  | 'UNKNOWN_POSITION'\n  | 'HEAD'\n  | 'BODY_START'\n  | 'BODY_END';\n\nexport interface ListSiteScriptsRequest {\n  /**\n   * Full canonical URL of the page where SEO tags should be resolved.\n   * When provided together with `page_name`, the response includes SEO tags\n   * for the page as additional HEAD-position site scripts.\n   * @maxLength 2048\n   */\n  pageUrl?: string | null;\n  /**\n   * Page name identifier matching the page in the Wix site structure.\n   * Required together with `page_url` to resolve SEO tags.\n   * @maxLength 255\n   */\n  pageName?: string | null;\n}\n\nexport interface ListSiteScriptsResponse {\n  /** List of site scripts. */\n  siteScripts?: SiteScript[];\n}\n\nexport interface GetEssentialPropertiesRequest {}\n\nexport interface GetEssentialPropertiesResponse {\n  /** Properties of the site */\n  properties?: EssentialProperties;\n}\n\nexport interface EssentialProperties {\n  /** Site locale. */\n  locale?: Locale;\n  /**\n   * Site language.\n   * Two-letter language code in [ISO 639-1 alpha-2](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) format.\n   * @format LANGUAGE\n   */\n  language?: string | null;\n  /**\n   * Site currency format used to bill customers.\n   * Three-letter currency code in [ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format.\n   * @format CURRENCY\n   */\n  paymentCurrency?: string | null;\n  /**\n   * Timezone in `America/New_York` format.\n   * @maxLength 50\n   */\n  timeZone?: string | null;\n  /** Multilingual settings. */\n  multilingual?: Multilingual;\n}\n\nexport interface Locale {\n  /**\n   * Two-letter language code in [ISO 639-1 alpha-2](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) format.\n   * @format LANGUAGE\n   */\n  languageCode?: string;\n  /**\n   * Two-letter country code in [ISO-3166 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements) format.\n   * @format COUNTRY\n   */\n  country?: string;\n}\n\nexport interface Multilingual {\n  /** Auto redirect. */\n  autoRedirect?: boolean;\n  /**\n   * Supported languages.\n   * @maxSize 100\n   */\n  supportedLanguages?: SupportedLanguage[];\n}\n\nexport interface SupportedLanguage {\n  /**\n   * Language code.\n   * @format LANGUAGE\n   */\n  languageCode?: string;\n  /**\n   * Country code.\n   * @format COUNTRY\n   */\n  countryCode?: string;\n  /** Is primary language. */\n  isPrimary?: boolean;\n  /** Is visitor primary language. */\n  isVisitorPrimary?: boolean;\n  /** Locale. */\n  locale?: Locale;\n  /** How the language will be resolved. For internal use. */\n  resolutionMethod?: ResolutionMethodWithLiterals;\n}\n\nexport enum ResolutionMethod {\n  QUERY_PARAM = 'QUERY_PARAM',\n  SUBDOMAIN = 'SUBDOMAIN',\n  SUBDIRECTORY = 'SUBDIRECTORY',\n}\n\n/** @enumType */\nexport type ResolutionMethodWithLiterals =\n  | ResolutionMethod\n  | 'QUERY_PARAM'\n  | 'SUBDOMAIN'\n  | 'SUBDIRECTORY';\n\nexport interface GetSiteMetadataRequest {\n  /**\n   * Full canonical URL of the page where SEO tags should be resolved.\n   * When provided together with `page_name`, the response includes SEO tags\n   * for the page as additional HEAD-position site scripts.\n   * @maxLength 2048\n   */\n  pageUrl?: string | null;\n  /**\n   * Page name identifier matching the page in the Wix site structure.\n   * Required together with `page_url` to resolve SEO tags.\n   * @maxLength 255\n   */\n  pageName?: string | null;\n}\n\nexport interface GetSiteMetadataResponse {\n  /** List of site scripts. */\n  siteScripts?: SiteScript[];\n  /** Essential properties of the site. */\n  properties?: EssentialProperties;\n}\n\n/**\n * Retrieves a list of up to 100 site scripts\n * @public\n * @documentationMaturity preview\n * @permissionId SITE_SCRIPTS.READ\n * @fqn wix.assets.scripts.v1.SiteScriptsService.ListSiteScripts\n */\nexport async function listSiteScripts(\n  options?: ListSiteScriptsOptions\n): Promise<\n  NonNullablePaths<\n    ListSiteScriptsResponse,\n    | `siteScripts`\n    | `siteScripts.${number}.position`\n    | `siteScripts.${number}.html`,\n    4\n  >\n> {\n  // @ts-ignore\n  const { httpClient, sideEffects } = arguments[1] as {\n    httpClient: HttpClient;\n    sideEffects?: any;\n  };\n\n  const payload = renameKeysFromSDKRequestToRESTRequest({\n    pageUrl: options?.pageUrl,\n    pageName: options?.pageName,\n  });\n\n  const reqOpts = ambassadorWixAssetsV1SiteScript.listSiteScripts(payload);\n\n  sideEffects?.onSiteCall?.();\n  try {\n    const result = await httpClient.request(reqOpts);\n    sideEffects?.onSuccess?.(result);\n\n    return renameKeysFromRESTResponseToSDKResponse(result.data)!;\n  } catch (err: any) {\n    const transformedError = sdkTransformError(\n      err,\n      {\n        spreadPathsToArguments: {},\n        explicitPathsToArguments: {\n          pageUrl: '$[0].pageUrl',\n          pageName: '$[0].pageName',\n        },\n        singleArgumentUnchanged: false,\n      },\n      ['options']\n    );\n    sideEffects?.onError?.(err);\n\n    throw transformedError;\n  }\n}\n\nexport interface ListSiteScriptsOptions {\n  /**\n   * Full canonical URL of the page where SEO tags should be resolved.\n   * When provided together with `page_name`, the response includes SEO tags\n   * for the page as additional HEAD-position site scripts.\n   * @maxLength 2048\n   */\n  pageUrl?: string | null;\n  /**\n   * Page name identifier matching the page in the Wix site structure.\n   * Required together with `page_url` to resolve SEO tags.\n   * @maxLength 255\n   */\n  pageName?: string | null;\n}\n\n/**\n * Retrieves the essential properties of the site\n * @public\n * @documentationMaturity preview\n * @permissionId SITE_SCRIPTS.READ\n * @fqn wix.assets.scripts.v1.SiteScriptsService.GetEssentialProperties\n */\nexport async function getEssentialProperties(): Promise<\n  NonNullablePaths<\n    GetEssentialPropertiesResponse,\n    | `properties.locale.languageCode`\n    | `properties.locale.country`\n    | `properties.multilingual.autoRedirect`\n    | `properties.multilingual.supportedLanguages`\n    | `properties.multilingual.supportedLanguages.${number}.languageCode`\n    | `properties.multilingual.supportedLanguages.${number}.countryCode`\n    | `properties.multilingual.supportedLanguages.${number}.isPrimary`\n    | `properties.multilingual.supportedLanguages.${number}.isVisitorPrimary`\n    | `properties.multilingual.supportedLanguages.${number}.resolutionMethod`,\n    6\n  >\n> {\n  // @ts-ignore\n  const { httpClient, sideEffects } = arguments[0] as {\n    httpClient: HttpClient;\n    sideEffects?: any;\n  };\n\n  const payload = renameKeysFromSDKRequestToRESTRequest({});\n\n  const reqOpts =\n    ambassadorWixAssetsV1SiteScript.getEssentialProperties(payload);\n\n  sideEffects?.onSiteCall?.();\n  try {\n    const result = await httpClient.request(reqOpts);\n    sideEffects?.onSuccess?.(result);\n\n    return renameKeysFromRESTResponseToSDKResponse(result.data)!;\n  } catch (err: any) {\n    const transformedError = sdkTransformError(\n      err,\n      {\n        spreadPathsToArguments: {},\n        explicitPathsToArguments: {},\n        singleArgumentUnchanged: false,\n      },\n      []\n    );\n    sideEffects?.onError?.(err);\n\n    throw transformedError;\n  }\n}\n\n/**\n * Retrieves site metadata including both site scripts and essential properties\n * @public\n * @documentationMaturity preview\n * @permissionId SITE_SCRIPTS.READ\n * @fqn wix.assets.scripts.v1.SiteScriptsService.GetSiteMetadata\n */\nexport async function getSiteMetadata(\n  options?: GetSiteMetadataOptions\n): Promise<\n  NonNullablePaths<\n    GetSiteMetadataResponse,\n    | `siteScripts`\n    | `siteScripts.${number}.position`\n    | `siteScripts.${number}.html`\n    | `properties.locale.languageCode`\n    | `properties.locale.country`\n    | `properties.multilingual.autoRedirect`\n    | `properties.multilingual.supportedLanguages`\n    | `properties.multilingual.supportedLanguages.${number}.languageCode`\n    | `properties.multilingual.supportedLanguages.${number}.countryCode`\n    | `properties.multilingual.supportedLanguages.${number}.isPrimary`\n    | `properties.multilingual.supportedLanguages.${number}.isVisitorPrimary`\n    | `properties.multilingual.supportedLanguages.${number}.resolutionMethod`,\n    6\n  >\n> {\n  // @ts-ignore\n  const { httpClient, sideEffects } = arguments[1] as {\n    httpClient: HttpClient;\n    sideEffects?: any;\n  };\n\n  const payload = renameKeysFromSDKRequestToRESTRequest({\n    pageUrl: options?.pageUrl,\n    pageName: options?.pageName,\n  });\n\n  const reqOpts = ambassadorWixAssetsV1SiteScript.getSiteMetadata(payload);\n\n  sideEffects?.onSiteCall?.();\n  try {\n    const result = await httpClient.request(reqOpts);\n    sideEffects?.onSuccess?.(result);\n\n    return renameKeysFromRESTResponseToSDKResponse(result.data)!;\n  } catch (err: any) {\n    const transformedError = sdkTransformError(\n      err,\n      {\n        spreadPathsToArguments: {},\n        explicitPathsToArguments: {\n          pageUrl: '$[0].pageUrl',\n          pageName: '$[0].pageName',\n        },\n        singleArgumentUnchanged: false,\n      },\n      ['options']\n    );\n    sideEffects?.onError?.(err);\n\n    throw transformedError;\n  }\n}\n\nexport interface GetSiteMetadataOptions {\n  /**\n   * Full canonical URL of the page where SEO tags should be resolved.\n   * When provided together with `page_name`, the response includes SEO tags\n   * for the page as additional HEAD-position site scripts.\n   * @maxLength 2048\n   */\n  pageUrl?: string | null;\n  /**\n   * Page name identifier matching the page in the Wix site structure.\n   * Required together with `page_url` to resolve SEO tags.\n   * @maxLength 255\n   */\n  pageName?: string | null;\n}\n","import { toURLSearchParams } from '@wix/sdk-runtime/rest-modules';\nimport { resolveUrl } from '@wix/sdk-runtime/rest-modules';\nimport { ResolveUrlOpts } from '@wix/sdk-runtime/rest-modules';\nimport { RequestOptionsFactory } from '@wix/sdk-types';\n\nfunction resolveWixAssetsScriptsV1SiteScriptsServiceUrl(\n  opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n  const domainToMappings = {\n    'bo._base_domain_': [\n      {\n        srcPath: '/_api/site-scripts',\n        destPath: '',\n      },\n    ],\n    'wixbo.ai': [\n      {\n        srcPath: '/_api/site-scripts',\n        destPath: '',\n      },\n    ],\n    'wix-bo.com': [\n      {\n        srcPath: '/_api/site-scripts',\n        destPath: '',\n      },\n    ],\n    'www.wixapis.com': [\n      {\n        srcPath: '/assets/scripts/v1/site-scripts',\n        destPath: '/v1/site-scripts',\n      },\n    ],\n  };\n\n  return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_headless-site-assets_scripts';\n\n/** Retrieves a list of up to 100 site scripts */\nexport function listSiteScripts(payload: object): RequestOptionsFactory<any> {\n  function __listSiteScripts({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.assets.v1.site_script',\n      method: 'GET' as any,\n      methodFqn: 'wix.assets.scripts.v1.SiteScriptsService.ListSiteScripts',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixAssetsScriptsV1SiteScriptsServiceUrl({\n        protoPath: '/v1/site-scripts',\n        data: payload,\n        host,\n      }),\n      params: toURLSearchParams(payload),\n    };\n\n    return metadata;\n  }\n\n  return __listSiteScripts;\n}\n\n/** Retrieves the essential properties of the site */\nexport function getEssentialProperties(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __getEssentialProperties({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.assets.v1.site_script',\n      method: 'GET' as any,\n      methodFqn:\n        'wix.assets.scripts.v1.SiteScriptsService.GetEssentialProperties',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixAssetsScriptsV1SiteScriptsServiceUrl({\n        protoPath: '/v1/site-scripts/essentials',\n        data: payload,\n        host,\n      }),\n      params: toURLSearchParams(payload),\n    };\n\n    return metadata;\n  }\n\n  return __getEssentialProperties;\n}\n\n/** Retrieves site metadata including both site scripts and essential properties */\nexport function getSiteMetadata(payload: object): RequestOptionsFactory<any> {\n  function __getSiteMetadata({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.assets.v1.site_script',\n      method: 'GET' as any,\n      methodFqn: 'wix.assets.scripts.v1.SiteScriptsService.GetSiteMetadata',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixAssetsScriptsV1SiteScriptsServiceUrl({\n        protoPath: '/v1/site-scripts/metadata',\n        data: payload,\n        host,\n      }),\n      params: toURLSearchParams(payload),\n    };\n\n    return metadata;\n  }\n\n  return __getSiteMetadata;\n}\n","import { HttpClient, NonNullablePaths } from '@wix/sdk-types';\nimport {\n  GetEssentialPropertiesResponse,\n  GetSiteMetadataOptions,\n  GetSiteMetadataResponse,\n  ListSiteScriptsOptions,\n  ListSiteScriptsResponse,\n  getEssentialProperties as universalGetEssentialProperties,\n  getSiteMetadata as universalGetSiteMetadata,\n  listSiteScripts as universalListSiteScripts,\n} from './assets-v1-site-script-scripts.universal.js';\n\nexport const __metadata = { PACKAGE_NAME: '@wix/headless-site-assets' };\n\nexport function listSiteScripts(\n  httpClient: HttpClient\n): ListSiteScriptsSignature {\n  return (options?: ListSiteScriptsOptions) =>\n    universalListSiteScripts(\n      options,\n      // @ts-ignore\n      { httpClient }\n    );\n}\n\ninterface ListSiteScriptsSignature {\n  /**\n   * Retrieves a list of up to 100 site scripts\n   */\n  (options?: ListSiteScriptsOptions): Promise<\n    NonNullablePaths<\n      ListSiteScriptsResponse,\n      | `siteScripts`\n      | `siteScripts.${number}.position`\n      | `siteScripts.${number}.html`,\n      4\n    >\n  >;\n}\n\nexport function getEssentialProperties(\n  httpClient: HttpClient\n): GetEssentialPropertiesSignature {\n  return () =>\n    universalGetEssentialProperties(\n      // @ts-ignore\n      { httpClient }\n    );\n}\n\ninterface GetEssentialPropertiesSignature {\n  /**\n   * Retrieves the essential properties of the site\n   */\n  (): Promise<\n    NonNullablePaths<\n      GetEssentialPropertiesResponse,\n      | `properties.locale.languageCode`\n      | `properties.locale.country`\n      | `properties.multilingual.autoRedirect`\n      | `properties.multilingual.supportedLanguages`\n      | `properties.multilingual.supportedLanguages.${number}.languageCode`\n      | `properties.multilingual.supportedLanguages.${number}.countryCode`\n      | `properties.multilingual.supportedLanguages.${number}.isPrimary`\n      | `properties.multilingual.supportedLanguages.${number}.isVisitorPrimary`\n      | `properties.multilingual.supportedLanguages.${number}.resolutionMethod`,\n      6\n    >\n  >;\n}\n\nexport function getSiteMetadata(\n  httpClient: HttpClient\n): GetSiteMetadataSignature {\n  return (options?: GetSiteMetadataOptions) =>\n    universalGetSiteMetadata(\n      options,\n      // @ts-ignore\n      { httpClient }\n    );\n}\n\ninterface GetSiteMetadataSignature {\n  /**\n   * Retrieves site metadata including both site scripts and essential properties\n   */\n  (options?: GetSiteMetadataOptions): Promise<\n    NonNullablePaths<\n      GetSiteMetadataResponse,\n      | `siteScripts`\n      | `siteScripts.${number}.position`\n      | `siteScripts.${number}.html`\n      | `properties.locale.languageCode`\n      | `properties.locale.country`\n      | `properties.multilingual.autoRedirect`\n      | `properties.multilingual.supportedLanguages`\n      | `properties.multilingual.supportedLanguages.${number}.languageCode`\n      | `properties.multilingual.supportedLanguages.${number}.countryCode`\n      | `properties.multilingual.supportedLanguages.${number}.isPrimary`\n      | `properties.multilingual.supportedLanguages.${number}.isVisitorPrimary`\n      | `properties.multilingual.supportedLanguages.${number}.resolutionMethod`,\n      6\n    >\n  >;\n}\n\nexport {\n  EssentialProperties,\n  GetEssentialPropertiesRequest,\n  GetEssentialPropertiesResponse,\n  GetSiteMetadataOptions,\n  GetSiteMetadataRequest,\n  GetSiteMetadataResponse,\n  ListSiteScriptsOptions,\n  ListSiteScriptsRequest,\n  ListSiteScriptsResponse,\n  Locale,\n  Multilingual,\n  PositionOnPage,\n  ResolutionMethod,\n  SiteScript,\n  SupportedLanguage,\n} from './assets-v1-site-script-scripts.universal.js';\n","import {\n  listSiteScripts as publicListSiteScripts,\n  getEssentialProperties as publicGetEssentialProperties,\n  getSiteMetadata as publicGetSiteMetadata,\n} from './assets-v1-site-script-scripts.public.js';\nimport { createRESTModule } from '@wix/sdk-runtime/rest-modules';\nimport { BuildRESTFunction, MaybeContext } from '@wix/sdk-types';\n\nexport const listSiteScripts: MaybeContext<\n  BuildRESTFunction<typeof publicListSiteScripts> & typeof publicListSiteScripts\n> = /*#__PURE__*/ createRESTModule(publicListSiteScripts);\nexport const getEssentialProperties: MaybeContext<\n  BuildRESTFunction<typeof publicGetEssentialProperties> &\n    typeof publicGetEssentialProperties\n> = /*#__PURE__*/ createRESTModule(publicGetEssentialProperties);\nexport const getSiteMetadata: MaybeContext<\n  BuildRESTFunction<typeof publicGetSiteMetadata> & typeof publicGetSiteMetadata\n> = /*#__PURE__*/ createRESTModule(publicGetSiteMetadata);\n\nexport {\n  PositionOnPage,\n  ResolutionMethod,\n} from './assets-v1-site-script-scripts.universal.js';\nexport {\n  SiteScript,\n  ListSiteScriptsRequest,\n  ListSiteScriptsResponse,\n  GetEssentialPropertiesRequest,\n  GetEssentialPropertiesResponse,\n  EssentialProperties,\n  Locale,\n  Multilingual,\n  SupportedLanguage,\n  GetSiteMetadataRequest,\n  GetSiteMetadataResponse,\n  ListSiteScriptsOptions,\n  GetSiteMetadataOptions,\n} from './assets-v1-site-script-scripts.universal.js';\nexport {\n  PositionOnPageWithLiterals,\n  ResolutionMethodWithLiterals,\n} from './assets-v1-site-script-scripts.universal.js';\n"],"mappings":";AAAA,SAAS,kBAAkB,yBAAyB;AACpD;AAAA,EACE;AAAA,EACA;A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;AACA,iBAAa,UAAU,GAAG;AAE1B,UAAM;AAAA,EACR;AACF;;;AE5VO,SAASC,iBACd,YAC0B;AAC1B,SAAO,CAAC,YACNA;AAAA,IACE;AAAA;AAAA,IAEA,EAAE,WAAW;AAAA,EACf;AACJ;AAiBO,SAASC,wBACd,YACiC;AACjC,SAAO,MACLA;AAAA;AAAA,IAEE,EAAE,WAAW;AAAA,EACf;AACJ;AAuBO,SAASC,iBACd,YAC0B;AAC1B,SAAO,CAAC,YACNA;AAAA,IACE;AAAA;AAAA,IAEA,EAAE,WAAW;AAAA,EACf;AACJ;;;AC3EA,SAAS,wBAAwB;AAG1B,IAAMC,mBAEK,iCAAiBA,gBAAqB;AACjD,IAAMC,0BAGK,iCAAiBA,uBAA4B;AACxD,IAAMC,mBAEK,iCAAiBA,gBAAqB;","names":["PositionOnPage","ResolutionMethod","listSiteScripts","getEssentialProperties","getSiteMetadata","listSiteScripts","getEssentialProperties","getSiteMetadata","listSiteScripts","getEssentialProperties","getSiteMetadata"]}