{"version":3,"sources":["../../src/restaurants-postpaapi-v1-configuration-pos-tpa.universal.ts","../../src/restaurants-postpaapi-v1-configuration-pos-tpa.http.ts","../../src/restaurants-postpaapi-v1-configuration-pos-tpa.public.ts","../../src/restaurants-postpaapi-v1-configuration-pos-tpa.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 ambassadorWixRestaurantsPostpaapiV1Configuration from './restaurants-postpaapi-v1-configuration-pos-tpa.http.js';\n\nexport interface Configuration {\n  /**\n   * Configuration ID for the location on the Wix site.\n   * @format GUID\n   */\n  _id?: string | null;\n  /**\n   * The corresponding Wix location for the configuration, as defined for the Wix site using the Business Info's [Locations](https://dev.wix.com/api/rest/business-info/locations) and/or [Site Properties](https://dev.wix.com/api/rest/business-info/site-properties) APIs,\n   * or using [Dashboard Settings](https://www.wix.com/my-account/site-selector/?buttonText=Select%20Site&title=Select%20a%20Site&autoSelectOnSingleSite=true&actionUrl=https:%2F%2Fwww.wix.com%2Fdashboard%2F%7B%7BmetaSiteId%7D%7D%2Fsettings/business-info).\n   */\n  location?: Location;\n  /**\n   * Restaurant catalog ID.\n   * @format GUID\n   */\n  catalogId?: string;\n  /** Whether a configuration is archived. */\n  archived?: boolean;\n  /** Whether a configuration is enabled. */\n  enabled?: boolean;\n  /**\n   * URL linking to the POS integration settings in the Dashboard\n   * if an online POS ordering app is installed.\n   */\n  integrationSettingsUrl?: string | null;\n}\n\nexport interface Location {\n  /** The Wix location [name](https://dev.wix.com/api/rest/business-info/locations/location-object). */\n  name?: string;\n}\n\nexport interface GetConfigurationRequest {\n  /**\n   * Configuration ID.\n   * @format GUID\n   */\n  _id: string;\n}\n\nexport interface GetConfigurationResponse {\n  /** The merchant's location configuration on Wix. */\n  configuration?: Configuration;\n}\n\nexport interface ListConfigurationsRequest {}\n\nexport interface ListConfigurationsResponse {\n  /** The merchant's configurations (locations) on Wix. */\n  configurations?: Configuration[];\n}\n\nexport interface DisconnectAccountRequest {\n  /**\n   * The app's definition ID.\n   * @format GUID\n   */\n  appDefId?: string;\n  /** The ID for the account between the merchant and the POS service provider. */\n  accountId: string;\n}\n\nexport interface DisconnectAccountResponse {}\n\nexport interface DisconnectConfigurationRequest {\n  /**\n   * The ID of the merchant's location configuration on Wix.\n   * @format GUID\n   */\n  configurationId: string;\n}\n\nexport interface DisconnectConfigurationResponse {}\n\n/**\n * This endpoint gets a location configuration by ID on the Wix site.\n * @param _id - Configuration ID.\n * @internal\n * @documentationMaturity preview\n * @requiredField _id\n * @permissionId WIX_RESTAURANTS.READ_POS\n * @applicableIdentity APP\n * @returns The merchant's location configuration on Wix.\n * @fqn com.wixpress.restaurants.postpaapi.RestaurantsPosTpaApi.GetConfiguration\n */\nexport async function getConfiguration(\n  _id: string\n): Promise<\n  NonNullablePaths<\n    Configuration,\n    `location.name` | `catalogId` | `archived` | `enabled`,\n    1\n  >\n> {\n  // @ts-ignore\n  const { httpClient, sideEffects } = arguments[1] as {\n    httpClient: HttpClient;\n    sideEffects?: any;\n  };\n\n  const payload = renameKeysFromSDKRequestToRESTRequest({ id: _id });\n\n  const reqOpts =\n    ambassadorWixRestaurantsPostpaapiV1Configuration.getConfiguration(payload);\n\n  sideEffects?.onSiteCall?.();\n  try {\n    const result = await httpClient.request(reqOpts);\n    sideEffects?.onSuccess?.(result);\n\n    return renameKeysFromRESTResponseToSDKResponse(result.data)?.configuration!;\n  } catch (err: any) {\n    const transformedError = sdkTransformError(\n      err,\n      {\n        spreadPathsToArguments: {},\n        explicitPathsToArguments: { id: '$[0]' },\n        singleArgumentUnchanged: false,\n      },\n      ['_id']\n    );\n    sideEffects?.onError?.(err);\n\n    throw transformedError;\n  }\n}\n\n/**\n * This endpoint retrieves a list of location configurations on the Wix site.\n * @internal\n * @documentationMaturity preview\n * @permissionId WIX_RESTAURANTS.READ_POS\n * @applicableIdentity APP\n * @fqn com.wixpress.restaurants.postpaapi.RestaurantsPosTpaApi.ListConfigurations\n */\nexport async function listConfigurations(): Promise<\n  NonNullablePaths<\n    ListConfigurationsResponse,\n    | `configurations`\n    | `configurations.${number}.location.name`\n    | `configurations.${number}.catalogId`\n    | `configurations.${number}.archived`\n    | `configurations.${number}.enabled`,\n    3\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    ambassadorWixRestaurantsPostpaapiV1Configuration.listConfigurations(\n      payload\n    );\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 * This endpoint disconnects the account between the merchant and the POS service provider.\n *\n * The account is not deleted. You can reconnect to the account using the POS integration settings in the Dashboard.\n *\n * Call the [List Account IDs](https://dev.wix.com/api/rest/wix-restaurants/point-of-sale-integration/pos-connectivity-spi/list-account-ids) SPI endpoint to retrieve a list of existing account IDs.\n * @param accountId - The ID for the account between the merchant and the POS service provider.\n * @internal\n * @documentationMaturity preview\n * @requiredField accountId\n * @permissionId WIX_RESTAURANTS.WRITE_POS\n * @fqn com.wixpress.restaurants.postpaapi.RestaurantsPosTpaApi.DisconnectAccount\n */\nexport async function disconnectAccount(\n  accountId: string,\n  options?: DisconnectAccountOptions\n): Promise<void> {\n  // @ts-ignore\n  const { httpClient, sideEffects } = arguments[2] as {\n    httpClient: HttpClient;\n    sideEffects?: any;\n  };\n\n  const payload = renameKeysFromSDKRequestToRESTRequest({\n    accountId: accountId,\n    appDefId: options?.appDefId,\n  });\n\n  const reqOpts =\n    ambassadorWixRestaurantsPostpaapiV1Configuration.disconnectAccount(payload);\n\n  sideEffects?.onSiteCall?.();\n  try {\n    const result = await httpClient.request(reqOpts);\n    sideEffects?.onSuccess?.(result);\n  } catch (err: any) {\n    const transformedError = sdkTransformError(\n      err,\n      {\n        spreadPathsToArguments: {},\n        explicitPathsToArguments: {\n          accountId: '$[0]',\n          appDefId: '$[1].appDefId',\n        },\n        singleArgumentUnchanged: false,\n      },\n      ['accountId', 'options']\n    );\n    sideEffects?.onError?.(err);\n\n    throw transformedError;\n  }\n}\n\nexport interface DisconnectAccountOptions {\n  /**\n   * The app's definition ID.\n   * @format GUID\n   */\n  appDefId?: string;\n}\n\n/**\n * This endpoint disconnects the Wix location configuration from a POS service provider's location.\n *\n * The configuration is not deleted. You can reconnect to the configuration using the POS integration settings in the Dashboard.\n *\n * Call the [List Configurations](https://dev.wix.com/api/rest/wix-restaurants/point-of-sale-integration/pos-connectivity-api/list-configurations) SPI endpoint to retrieve a list of existing configuration IDs.\n * @param configurationId - The ID of the merchant's location configuration on Wix.\n * @internal\n * @documentationMaturity preview\n * @requiredField configurationId\n * @permissionId WIX_RESTAURANTS.WRITE_POS\n * @fqn com.wixpress.restaurants.postpaapi.RestaurantsPosTpaApi.DisconnectConfiguration\n */\nexport async function disconnectConfiguration(\n  configurationId: string\n): Promise<void> {\n  // @ts-ignore\n  const { httpClient, sideEffects } = arguments[1] as {\n    httpClient: HttpClient;\n    sideEffects?: any;\n  };\n\n  const payload = renameKeysFromSDKRequestToRESTRequest({\n    configurationId: configurationId,\n  });\n\n  const reqOpts =\n    ambassadorWixRestaurantsPostpaapiV1Configuration.disconnectConfiguration(\n      payload\n    );\n\n  sideEffects?.onSiteCall?.();\n  try {\n    const result = await httpClient.request(reqOpts);\n    sideEffects?.onSuccess?.(result);\n  } catch (err: any) {\n    const transformedError = sdkTransformError(\n      err,\n      {\n        spreadPathsToArguments: {},\n        explicitPathsToArguments: { configurationId: '$[0]' },\n        singleArgumentUnchanged: false,\n      },\n      ['configurationId']\n    );\n    sideEffects?.onError?.(err);\n\n    throw transformedError;\n  }\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 resolveComWixpressRestaurantsPostpaapiRestaurantsPosTpaApiUrl(\n  opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n  const domainToMappings = {};\n\n  return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_restaurants_pos-tpa';\n\n/** This endpoint gets a location configuration by ID on the Wix site. */\nexport function getConfiguration(payload: object): RequestOptionsFactory<any> {\n  function __getConfiguration({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.restaurants.postpaapi.v1.configuration',\n      method: 'GET' as any,\n      methodFqn:\n        'com.wixpress.restaurants.postpaapi.RestaurantsPosTpaApi.GetConfiguration',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveComWixpressRestaurantsPostpaapiRestaurantsPosTpaApiUrl({\n        protoPath: '/v1/pos-integration/configurations/{id}',\n        data: payload,\n        host,\n      }),\n      params: toURLSearchParams(payload),\n    };\n\n    return metadata;\n  }\n\n  return __getConfiguration;\n}\n\n/** This endpoint retrieves a list of location configurations on the Wix site. */\nexport function listConfigurations(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __listConfigurations({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.restaurants.postpaapi.v1.configuration',\n      method: 'GET' as any,\n      methodFqn:\n        'com.wixpress.restaurants.postpaapi.RestaurantsPosTpaApi.ListConfigurations',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveComWixpressRestaurantsPostpaapiRestaurantsPosTpaApiUrl({\n        protoPath: '/v1/pos-integration/configurations',\n        data: payload,\n        host,\n      }),\n      params: toURLSearchParams(payload),\n    };\n\n    return metadata;\n  }\n\n  return __listConfigurations;\n}\n\n/**\n * This endpoint disconnects the account between the merchant and the POS service provider.\n *\n * The account is not deleted. You can reconnect to the account using the POS integration settings in the Dashboard.\n *\n * Call the [List Account IDs](https://dev.wix.com/api/rest/wix-restaurants/point-of-sale-integration/pos-connectivity-spi/list-account-ids) SPI endpoint to retrieve a list of existing account IDs.\n */\nexport function disconnectAccount(payload: object): RequestOptionsFactory<any> {\n  function __disconnectAccount({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.restaurants.postpaapi.v1.configuration',\n      method: 'POST' as any,\n      methodFqn:\n        'com.wixpress.restaurants.postpaapi.RestaurantsPosTpaApi.DisconnectAccount',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveComWixpressRestaurantsPostpaapiRestaurantsPosTpaApiUrl({\n        protoPath: '/v1/pos-integration/accounts/{accountId}/disconnect',\n        data: payload,\n        host,\n      }),\n      data: payload,\n    };\n\n    return metadata;\n  }\n\n  return __disconnectAccount;\n}\n\n/**\n * This endpoint disconnects the Wix location configuration from a POS service provider's location.\n *\n * The configuration is not deleted. You can reconnect to the configuration using the POS integration settings in the Dashboard.\n *\n * Call the [List Configurations](https://dev.wix.com/api/rest/wix-restaurants/point-of-sale-integration/pos-connectivity-api/list-configurations) SPI endpoint to retrieve a list of existing configuration IDs.\n */\nexport function disconnectConfiguration(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __disconnectConfiguration({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.restaurants.postpaapi.v1.configuration',\n      method: 'POST' as any,\n      methodFqn:\n        'com.wixpress.restaurants.postpaapi.RestaurantsPosTpaApi.DisconnectConfiguration',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveComWixpressRestaurantsPostpaapiRestaurantsPosTpaApiUrl({\n        protoPath:\n          '/v1/pos-integration/configurations/{configurationId}/disconnect',\n        data: payload,\n        host,\n      }),\n      data: payload,\n    };\n\n    return metadata;\n  }\n\n  return __disconnectConfiguration;\n}\n","import { HttpClient, NonNullablePaths } from '@wix/sdk-types';\nimport {\n  Configuration,\n  DisconnectAccountOptions,\n  ListConfigurationsResponse,\n  disconnectAccount as universalDisconnectAccount,\n  disconnectConfiguration as universalDisconnectConfiguration,\n  getConfiguration as universalGetConfiguration,\n  listConfigurations as universalListConfigurations,\n} from './restaurants-postpaapi-v1-configuration-pos-tpa.universal.js';\n\nexport const __metadata = { PACKAGE_NAME: '@wix/restaurants' };\n\n/** @internal */\nexport function getConfiguration(\n  httpClient: HttpClient\n): GetConfigurationSignature {\n  return (_id: string) =>\n    universalGetConfiguration(\n      _id,\n      // @ts-ignore\n      { httpClient }\n    );\n}\n\ninterface GetConfigurationSignature {\n  /**\n   * This endpoint gets a location configuration by ID on the Wix site.\n   * @param - Configuration ID.\n   * @returns The merchant's location configuration on Wix.\n   */\n  (_id: string): Promise<\n    NonNullablePaths<\n      Configuration,\n      `location.name` | `catalogId` | `archived` | `enabled`,\n      1\n    >\n  >;\n}\n\n/** @internal */\nexport function listConfigurations(\n  httpClient: HttpClient\n): ListConfigurationsSignature {\n  return () =>\n    universalListConfigurations(\n      // @ts-ignore\n      { httpClient }\n    );\n}\n\ninterface ListConfigurationsSignature {\n  /**\n   * This endpoint retrieves a list of location configurations on the Wix site.\n   */\n  (): Promise<\n    NonNullablePaths<\n      ListConfigurationsResponse,\n      | `configurations`\n      | `configurations.${number}.location.name`\n      | `configurations.${number}.catalogId`\n      | `configurations.${number}.archived`\n      | `configurations.${number}.enabled`,\n      3\n    >\n  >;\n}\n\n/** @internal */\nexport function disconnectAccount(\n  httpClient: HttpClient\n): DisconnectAccountSignature {\n  return (accountId: string, options?: DisconnectAccountOptions) =>\n    universalDisconnectAccount(\n      accountId,\n      options,\n      // @ts-ignore\n      { httpClient }\n    );\n}\n\ninterface DisconnectAccountSignature {\n  /**\n   * This endpoint disconnects the account between the merchant and the POS service provider.\n   *\n   * The account is not deleted. You can reconnect to the account using the POS integration settings in the Dashboard.\n   *\n   * Call the [List Account IDs](https://dev.wix.com/api/rest/wix-restaurants/point-of-sale-integration/pos-connectivity-spi/list-account-ids) SPI endpoint to retrieve a list of existing account IDs.\n   * @param - The ID for the account between the merchant and the POS service provider.\n   */\n  (accountId: string, options?: DisconnectAccountOptions): Promise<void>;\n}\n\n/** @internal */\nexport function disconnectConfiguration(\n  httpClient: HttpClient\n): DisconnectConfigurationSignature {\n  return (configurationId: string) =>\n    universalDisconnectConfiguration(\n      configurationId,\n      // @ts-ignore\n      { httpClient }\n    );\n}\n\ninterface DisconnectConfigurationSignature {\n  /**\n   * This endpoint disconnects the Wix location configuration from a POS service provider's location.\n   *\n   * The configuration is not deleted. You can reconnect to the configuration using the POS integration settings in the Dashboard.\n   *\n   * Call the [List Configurations](https://dev.wix.com/api/rest/wix-restaurants/point-of-sale-integration/pos-connectivity-api/list-configurations) SPI endpoint to retrieve a list of existing configuration IDs.\n   * @param - The ID of the merchant's location configuration on Wix.\n   */\n  (configurationId: string): Promise<void>;\n}\n\nexport {\n  Configuration,\n  DisconnectAccountOptions,\n  DisconnectAccountRequest,\n  DisconnectAccountResponse,\n  DisconnectConfigurationRequest,\n  DisconnectConfigurationResponse,\n  GetConfigurationRequest,\n  GetConfigurationResponse,\n  ListConfigurationsRequest,\n  ListConfigurationsResponse,\n  Location,\n} from './restaurants-postpaapi-v1-configuration-pos-tpa.universal.js';\n","import {\n  getConfiguration as publicGetConfiguration,\n  listConfigurations as publicListConfigurations,\n  disconnectAccount as publicDisconnectAccount,\n  disconnectConfiguration as publicDisconnectConfiguration,\n} from './restaurants-postpaapi-v1-configuration-pos-tpa.public.js';\nimport { createRESTModule } from '@wix/sdk-runtime/rest-modules';\nimport { BuildRESTFunction, MaybeContext } from '@wix/sdk-types';\n\n/** @internal */\nexport const getConfiguration: MaybeContext<\n  BuildRESTFunction<typeof publicGetConfiguration> &\n    typeof publicGetConfiguration\n> = /*#__PURE__*/ createRESTModule(publicGetConfiguration);\n/** @internal */\nexport const listConfigurations: MaybeContext<\n  BuildRESTFunction<typeof publicListConfigurations> &\n    typeof publicListConfigurations\n> = /*#__PURE__*/ createRESTModule(publicListConfigurations);\n/** @internal */\nexport const disconnectAccount: MaybeContext<\n  BuildRESTFunction<typeof publicDisconnectAccount> &\n    typeof publicDisconnectAccount\n> = /*#__PURE__*/ createRESTModule(publicDisconnectAccount);\n/** @internal */\nexport const disconnectConfiguration: MaybeContext<\n  BuildRESTFunction<typeof publicDisconnectConfiguration> &\n    typeof publicDisconnectConfiguration\n> = /*#__PURE__*/ createRESTModule(publicDisconnectConfiguration);\n\nexport {\n  Configuration,\n  Location,\n  GetConfigurationRequest,\n  GetConfigurationResponse,\n  ListConfigurationsRequest,\n  ListConfigurationsResponse,\n  DisconnectAccountRequest,\n  DisconnectAccountResponse,\n  DisconnectConfigurationRequest,\n  DisconnectConfigurationResponse,\n  DisconnectAccountOptions,\n} from './restaurants-postpaapi-v1-configuration-pos-tpa.universal.js';\n"],"mappings":";AAAA,SAAS,kBAAkB,yBAAyB;AACpD;AAAA,EACE;AAAA,EACA;AAAA,OACK;;;ACJP,SAAS,yBAAyB;AAClC,SAAS,kBAAkB;AAI3B,SAAS,8DACP,MACA;AACA,QAAM,mBAAmB,CAAC;AAE1B,SAAO,WAAW,OAAO,OAAO,MAAM,EAAE,iBAAiB,CAAC,CAAC;AAC7D;AAEA,IAAM,eAAe;AAGd,SAAS,iBAAiB,SAA6C;AAC5E,WAAS,mBAAmB,EAAE,KAAK,GAAQ;AACzC,UAAM,WAAW;AAAA,MACf,YAAY;AAAA,MACZ,QAAQ;AAAA,MACR,WACE;AAAA,MACF,aAAa;AAAA,MACb,kBAAkB;AAAA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AACJ;AAoBO,SAASC,mBACd,YAC4B;AAC5B,SAAO,CAAC,WAAmB,YACzBA;AAAA,IACE;AAAA,IACA;AAAA;AAAA,IAEA,EAAE,WAAW;AAAA,EACf;AACJ;AAeO,SAASC,yBACd,YACkC;AAClC,SAAO,CAAC,oBACNA;AAAA,IACE;AAAA;AAAA,IAEA,EAAE,WAAW;AAAA,EACf;AACJ;;;ACjGA,SAAS,wBAAwB;AAI1B,IAAMC,oBAGK,iCAAiBA,iBAAsB;AAElD,IAAMC,sBAGK,iCAAiBA,mBAAwB;AAEpD,IAAMC,qBAGK,iCAAiBA,kBAAuB;AAEnD,IAAMC,2BAGK,iCAAiBA,wBAA6B;","names":["getConfiguration","listConfigurations","disconnectAccount","disconnectConfiguration","getConfiguration","listConfigurations","disconnectAccount","disconnectConfiguration","getConfiguration","listConfigurations","disconnectAccount","disconnectConfiguration"]}