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bestseller.commerce.online/external var \"ReactDOM\"?853b","webpack://bestseller.commerce.online/./src/actions/get-store-location-centiro.action.ts?10f5","webpack://bestseller.commerce.online/./src/actions/store-centiro-location.action.ts?6092","webpack://bestseller.commerce.online/./src/shared/functions/get-affiliation.ts?82a6","webpack://bestseller.commerce.online/./src/shared/functions/get-secret.ts?80af","webpack://bestseller.commerce.online/./src/actions/update-b2c-identity.action.ts?846b","webpack://bestseller.commerce.online/./src/modules/ext-product-page-summary/ext-product-page-summary.action.ts?ee9e","webpack://bestseller.commerce.online/./lib/__local__/module-registration.js?8a42","webpack://bestseller.commerce.online/./src/actions/get-media-locations-for-selected-variant.action.ts?5dc9","webpack://bestseller.commerce.online/./src/actions/get-feature-state.ts?fae2","webpack://bestseller.commerce.online/./src/actions/get-price-for-selected-variant.action.ts?c69d"],"sourcesContent":["module.exports = React;","module.exports = ReactDOM;","/*!\r\n * Copyright (c) Microsoft Corporation.\r\n * All rights reserved. See LICENSE in the project root for license information.\r\n */\r\n\r\nimport * as Msdyn365 from '@msdyn365-commerce/core';\r\nimport { bSGetCollectionPointsAsync } from '../custom-proxy/DataActionExtensions.g';\r\nimport { ICollectionPoint, ICollectionPoints, IOpeningHour } from '../custom-proxy/DataServiceEntities.g';\r\nimport { IFullOrgUnitAvailability } from '@msdyn365-commerce-modules/retail-actions';\r\nimport { OrgUnitAvailability, OrgUnitLocation } from '@msdyn365-commerce/retail-proxy';\r\n\r\nexport interface IFullOrgUnitAvailabilityExtended extends Omit {\r\n openingHours?: IOpeningHour[];\r\n OrgUnitAvailability?: OrgUnitAvailabilityExtended;\r\n}\r\n\r\nexport interface OrgUnitAvailabilityExtended extends Omit {\r\n OrgUnitLocation?: OrgUnitLocationExtended;\r\n}\r\n\r\nexport interface OrgUnitLocationExtended extends OrgUnitLocation {\r\n ExternalId?: string;\r\n}\r\n\r\n/**\r\n * GetStoreLocationCentiro Input Action\r\n */\r\nexport class GetStoreLocationCentiroInput implements Msdyn365.IActionInput {\r\n public CountryISOCode?: string;\r\n public City?: string;\r\n public PostalCode?: string;\r\n public Networks?: string;\r\n public StreetAddress?: string;\r\n public State?: string;\r\n public MaxDistance?: string;\r\n public MaxCollectionPoints?: string;\r\n\r\n constructor(\r\n CountryISOCode?: string,\r\n City?: string,\r\n PostalCode?: string,\r\n Networks?: string,\r\n StreetAddress?: string,\r\n State?: string,\r\n MaxDistance?: string,\r\n MaxCollectionPoints?: string\r\n ) {\r\n this.CountryISOCode = CountryISOCode;\r\n this.City = City;\r\n this.PostalCode = PostalCode;\r\n this.Networks = Networks;\r\n this.StreetAddress = StreetAddress;\r\n this.State = State;\r\n this.MaxDistance = MaxDistance;\r\n this.MaxCollectionPoints = MaxCollectionPoints;\r\n }\r\n public getCacheKey = () => `GetStoreLocationCentiro`;\r\n public getCacheObjectType = () => 'GetStoreLocationCentiro';\r\n public dataCacheType = (): Msdyn365.CacheType => 'none';\r\n}\r\n\r\n// TODO: Create a data model here or import one to capture the response of the action\r\nexport interface IGetStoreLocationCentiroData {\r\n collectionPoints: ICollectionPoint[];\r\n}\r\n\r\n/**\r\n * TODO: Use this function to create the input required to make the action call\r\n */\r\nconst createInput = (args: Msdyn365.ICreateActionContext): Msdyn365.IActionInput => {\r\n return new GetStoreLocationCentiroInput();\r\n};\r\n\r\n/**\r\n * TODO: Use this function to call your action and process the results as needed\r\n */\r\nasync function getStoreLocationCentiroAction(\r\n input: GetStoreLocationCentiroInput,\r\n ctx: Msdyn365.IActionContext\r\n): Promise {\r\n if (!input.Networks || !input.MaxDistance || !input.MaxCollectionPoints) {\r\n return [];\r\n }\r\n\r\n const deliveryAddressCentiro: ICollectionPoints = await bSGetCollectionPointsAsync(\r\n { callerContext: ctx, queryResultSettings: {} },\r\n input\r\n );\r\n\r\n if (deliveryAddressCentiro.hasError) {\r\n throw new Error(deliveryAddressCentiro.message);\r\n }\r\n\r\n const collectionPoints = deliveryAddressCentiro.collectionPoints;\r\n const mappedCollection: IFullOrgUnitAvailabilityExtended[] | undefined = collectionPoints?.map((collectionPoint: ICollectionPoint) => {\r\n const addressLines = [\r\n `${collectionPoint.street} ${collectionPoint.houseNumber}`,\r\n `${collectionPoint.city} ${collectionPoint.zipCode}`,\r\n collectionPoint.country,\r\n collectionPoint.address2\r\n ]\r\n .filter(line => line && line.trim().length > 0)\r\n .join(', ');\r\n return {\r\n OrgUnitAvailability: {\r\n OrgUnitLocation: {\r\n ChannelId: ctx.requestContext.channel?.RecordId,\r\n Latitude: collectionPoint.geoPoint?.latitude,\r\n Longitude: collectionPoint.geoPoint?.longitude,\r\n OrgUnitName: collectionPoint.name?.trim(),\r\n OrgUnitNumber: collectionPoint.name?.trim(),\r\n Address: addressLines,\r\n Street: collectionPoint.street?.trim(),\r\n StreetNumber: '',\r\n City: collectionPoint.city?.trim(),\r\n DistrictName: '',\r\n BuildingCompliment: '',\r\n Postbox: '',\r\n Zip: collectionPoint.zipCode?.trim(),\r\n County: '',\r\n CountyName: '',\r\n State: collectionPoint.state?.trim(),\r\n StateName: collectionPoint.state?.trim(),\r\n Country: collectionPoint.country?.trim(),\r\n Distance: collectionPoint.distance,\r\n InventoryLocationId: '',\r\n InventorySiteId: '',\r\n OpenFrom: 0,\r\n OpenTo: 0,\r\n ExternalId: collectionPoint.externalId\r\n }\r\n },\r\n openingHours: collectionPoint.openingHours\r\n };\r\n });\r\n return mappedCollection || [];\r\n}\r\n\r\nexport default Msdyn365.createObservableDataAction({\r\n action: >getStoreLocationCentiroAction,\r\n id: 'GetStoreLocationCentiro',\r\n input: createInput\r\n});\r\n","import {\r\n CacheType,\r\n createObservableDataAction,\r\n IAction,\r\n IActionContext,\r\n IActionInput,\r\n IAny,\r\n ICreateActionContext,\r\n IGeneric\r\n} from '@msdyn365-commerce/core';\r\nimport { OrgUnitLocationExtended } from './get-store-location-centiro.action';\r\n\r\nexport interface ICentiroDataAction {\r\n pickUpLocation?: OrgUnitLocationExtended;\r\n deliveryMode?: string;\r\n}\r\n\r\nexport class CentiroDataActionInput implements IActionInput {\r\n public getCacheKey = () => `CentiroDataAction`;\r\n public getCacheObjectType = () => 'CentiroDataAction';\r\n public dataCacheType = (): CacheType => 'request';\r\n}\r\n\r\nexport async function selectedModalAction(input: CentiroDataActionInput, ctx: IActionContext): Promise {\r\n return { pickUpLocation: undefined, deliveryMode: undefined };\r\n}\r\n\r\nconst createInput = (inputData: ICreateActionContext>): IActionInput => {\r\n return new CentiroDataActionInput();\r\n};\r\n\r\nexport default createObservableDataAction({\r\n action: >selectedModalAction,\r\n id: 'SetStoreLocationCentiro',\r\n input: createInput\r\n});\r\n","/**\r\n * Centralised location for checkout generic data updates\r\n */\r\nimport { AffiliationLoyaltyTier } from '@msdyn365-commerce/retail-proxy';\r\n\r\ninterface AffiliationId {\r\n locale: string;\r\n affiliationId: number;\r\n}\r\ninterface LoyaltyTierIds {\r\n locale: string;\r\n loyaltyTierIds: string;\r\n}\r\n\r\n/**\r\n * Generates the affiliationloyaltytiers for the current locale\r\n * @param locale\r\n * @param affiliationId\r\n * @param loyaltyTierIds\r\n * @returns AffiliationLoyaltyTier[]\r\n */\r\nexport const getAffiliation = (\r\n locale: string,\r\n affiliationIds: AffiliationId[],\r\n loyaltyTiersIds: LoyaltyTierIds[]\r\n): AffiliationLoyaltyTier[] => {\r\n var affiliation: AffiliationLoyaltyTier[] = [];\r\n\r\n const affiliationId = affiliationIds?.find(item => {\r\n return item.locale === locale;\r\n })?.affiliationId;\r\n\r\n const loyaltyTiers = loyaltyTiersIds.find(item => {\r\n return item.locale === locale;\r\n })?.loyaltyTierIds;\r\n\r\n const loyaltyTierIds = loyaltyTiers?.split('|') ?? [];\r\n loyaltyTierIds.forEach(tier => {\r\n affiliation.push({\r\n AffiliationId: Number(affiliationId),\r\n LoyaltyTierId: Number(tier)\r\n });\r\n });\r\n\r\n return affiliation;\r\n};\r\n","import * as Msdyn365 from '@msdyn365-commerce/core';\r\n\r\nexport const getSecretValue = async (secretKey: string, baseUrl: string): Promise => {\r\n return Msdyn365.msdyn365Commerce.secretManager?.getSecretValue(secretKey, baseUrl).then(secretValue => {\r\n if (secretValue && !secretValue.error && secretValue.value !== '') {\r\n return secretValue.value;\r\n }\r\n return undefined;\r\n });\r\n};\r\n","/*!\r\n * Copyright (c) Microsoft Corporation.\r\n * All rights reserved. See LICENSE in the project root for license information.\r\n */\r\nimport * as Msdyn365 from '@msdyn365-commerce/core';\r\nimport * as QueryString from 'querystring';\r\nimport jwtDecode, { JwtPayload } from 'jwt-decode';\r\nimport { getSecretValue } from '../shared/functions/get-secret';\r\n/**\r\n * UpdateB2cIdentity Input Action\r\n */\r\nexport class UpdateB2cIdentityInput implements Msdyn365.IActionInput {\r\n private _random: number;\r\n public token: string;\r\n public newEmailAddress: string;\r\n\r\n constructor(newEmailAddress: string, token: string) {\r\n this._random = Math.random();\r\n this.newEmailAddress = newEmailAddress;\r\n this.token = token;\r\n }\r\n\r\n // TODO: Determine if the results of this get action should cache the results and if so provide\r\n // a cache object type and an appropriate cache key\r\n public getCacheKey = () => `UpdateB2cIdentity${this._random}`;\r\n public getCacheObjectType = () => 'UpdateB2cIdentity';\r\n public dataCacheType = (): Msdyn365.CacheType => 'none';\r\n}\r\n\r\nexport interface IUpdateB2cIdentityData {\r\n success: boolean;\r\n error?: {\r\n reason: 'duplicate' | 'invalid' | 'other';\r\n message: string;\r\n };\r\n data: any;\r\n}\r\n\r\n/**\r\n * Creates input from the postdata\r\n */\r\nconst createInput = (ctx: Msdyn365.ICreateActionContext): UpdateB2cIdentityInput => {\r\n let {\r\n requestContext: {\r\n user: { token },\r\n // eslint-disable-next-line prefer-const\r\n postBody\r\n }\r\n } = ctx;\r\n let email = '';\r\n // postBody of the context should contain token and email needed to communicate with Graph API\r\n if (postBody?.content) {\r\n const content = JSON.parse(postBody.content.toString()) as UpdateB2cIdentityInput;\r\n // prefer token explicitly passed in\r\n token = content.token;\r\n email = content.newEmailAddress;\r\n }\r\n return new UpdateB2cIdentityInput(email, token);\r\n};\r\n\r\ninterface TokenResponse {\r\n token_type: string;\r\n access_token: string;\r\n}\r\ninterface GraphResponse {\r\n error?: {\r\n code: string;\r\n /**\r\n * duplicate email = \"A conflicting object with one or more of the specified property values is present in the directory.\"\r\n * invalid email = \"One or more properties contains invalid values.\"\r\n */\r\n message: string;\r\n details?: {\r\n code: string; //ConflictingObjects === duplicate email\r\n message: string;\r\n }[];\r\n };\r\n}\r\n\r\nasync function action(input: UpdateB2cIdentityInput, ctx: Msdyn365.IActionContext): Promise {\r\n const {\r\n requestContext: {\r\n apiSettings: { baseUrl }\r\n }\r\n } = ctx;\r\n // decode token to extract guid that points to user in AAD B2C\r\n const decoded: JwtPayload = jwtDecode(input.token);\r\n\r\n // secrets stored in key vault\r\n const secretPromises = [\r\n getSecretValue('ecom-36954-my-account-tenantId', baseUrl),\r\n getSecretValue('ecom-36954-my-account-applicationId', baseUrl),\r\n getSecretValue('ecom-36954-my-account-secret', baseUrl)\r\n ];\r\n\r\n // eslint-disable-next-line @typescript-eslint/no-floating-promises\r\n return Promise.all(secretPromises)\r\n .then(secrets => {\r\n return Msdyn365.sendRequest(\r\n `https://login.microsoft.com/${secrets[0]}/oauth2/token`,\r\n 'post',\r\n QueryString.stringify({\r\n grant_type: 'client_credentials',\r\n client_id: secrets[1],\r\n client_secret: secrets[2],\r\n resource: 'https://graph.microsoft.com'\r\n })\r\n );\r\n })\r\n .then(tokenResponse => {\r\n const url = new URL(decoded.iss!);\r\n const issuerDomain = url.hostname.substring(0, url.hostname.indexOf('.'));\r\n return Msdyn365.sendRequest(\r\n `https://graph.microsoft.com/v1.0/users/${decoded.sub}`,\r\n 'patch',\r\n JSON.stringify({\r\n identities: [\r\n {\r\n signInType: 'emailAddress',\r\n issuer: `${issuerDomain}.onmicrosoft.com`,\r\n issuerAssignedId: input.newEmailAddress\r\n }\r\n ]\r\n }),\r\n {\r\n headers: {\r\n 'Content-Type': 'application/json',\r\n Authorization: `Bearer ${tokenResponse.data.access_token}`\r\n }\r\n }\r\n );\r\n })\r\n .then(graphResponse => {\r\n const result: IUpdateB2cIdentityData = {\r\n success: graphResponse.status >= 200 && graphResponse.status < 300,\r\n data: graphResponse.data\r\n };\r\n if (!result.success && graphResponse.data.error) {\r\n result.error = {\r\n message: graphResponse.data.error.message,\r\n reason:\r\n graphResponse.data.error.message.indexOf('conflicting') >= 0\r\n ? 'duplicate'\r\n : graphResponse.data.error.message.indexOf('invalid values') >= 0\r\n ? 'invalid'\r\n : 'other'\r\n };\r\n }\r\n return result;\r\n });\r\n}\r\n\r\nexport default Msdyn365.createObservableDataAction({\r\n action: >action,\r\n id: 'UpdateB2cIdentity',\r\n input: createInput\r\n});\r\n","/*!\r\n * Copyright (c) Microsoft Corporation.\r\n * All rights reserved. See LICENSE in the project root for license information.\r\n */\r\n\r\n/* eslint-disable no-duplicate-imports */\r\nimport {\r\n CacheType,\r\n createObservableDataAction,\r\n getCatalogId,\r\n IAction,\r\n IActionContext,\r\n IActionInput,\r\n ICommerceApiSettings,\r\n ICreateActionContext,\r\n IRequestContext\r\n} from '@msdyn365-commerce/core';\r\nimport { ProductPrice, ProjectionDomain, SimpleProduct } from '@msdyn365-commerce/retail-proxy';\r\nimport {\r\n getActivePricesAsync,\r\n getAttributeValuesAsync,\r\n getByIdsAsync\r\n} from '@msdyn365-commerce/retail-proxy/dist/DataActions/ProductsDataActions.g';\r\nimport {\r\n ArrayExtensions,\r\n generateCacheKey,\r\n generateImageUrl,\r\n getProductUrlSync,\r\n getSelectedProductIdFromActionInput,\r\n QueryResultSettingsProxy,\r\n removeDomainQspFromUrl\r\n} from '@msdyn365-commerce-modules/retail-actions';\r\n\r\nimport { IPageSummaryData } from '@msdyn365-commerce-modules/page-summary';\r\nimport { IExtProductPageSummaryConfig } from './ext-product-page-summary.props.autogenerated';\r\n//import { getLocalizedStringsAsync } from '@msdyn365-commerce/retail-proxy/dist/DataActions/StoreOperationsDataActions.g';\r\n\r\n/**\r\n * Product Page Summary Input.\r\n */\r\nexport class ProductPageSummaryInput implements IActionInput {\r\n public apiSettings: ICommerceApiSettings;\r\n\r\n public config: IExtProductPageSummaryConfig;\r\n\r\n public productId: number;\r\n\r\n public catalogId?: number;\r\n\r\n public constructor(\r\n config: IExtProductPageSummaryConfig,\r\n apiSettings: ICommerceApiSettings,\r\n productId: number,\r\n requestContext?: IRequestContext\r\n ) {\r\n this.config = config || {};\r\n this.apiSettings = apiSettings;\r\n this.productId = productId;\r\n\r\n if (requestContext) {\r\n this.catalogId = getCatalogId(requestContext);\r\n }\r\n }\r\n\r\n public getCacheObjectType = (): string => 'ProductPageSummary';\r\n\r\n public getCacheKey = (): string =>\r\n generateCacheKey(\r\n this.apiSettings,\r\n { key: 'Key', value: 'ProductPageSummary' },\r\n { key: 'Title', value: this.config.title },\r\n { key: 'ProductId', value: this.productId },\r\n { key: 'CatalogId', value: this.catalogId }\r\n );\r\n\r\n public dataCacheType = (): CacheType => 'application';\r\n}\r\n\r\nexport interface IProductPageSummary extends IPageSummaryData {\r\n price?: number;\r\n productId?: number;\r\n masterProductId?: number;\r\n productBrand?: string;\r\n category?: string;\r\n}\r\n\r\nconst createInput = (args: ICreateActionContext) => {\r\n const productId = getSelectedProductIdFromActionInput(args);\r\n\r\n if (productId) {\r\n return new ProductPageSummaryInput(\r\n args.config,\r\n args.requestContext.apiSettings,\r\n +productId,\r\n args.requestContext\r\n );\r\n }\r\n throw new Error('Unable to create ProductPageSummaryAction input, no productId found on module config or query');\r\n};\r\n\r\ninterface Attributes {\r\n brand?: string;\r\n category?: string;\r\n}\r\n\r\n// Checks product attributes for the presence of brand attribute to extract the brand name for product metadata\r\nconst getProductAttributes = async (\r\n context: IActionContext,\r\n recordId: number,\r\n channelId: number,\r\n catalogId: number\r\n): Promise => {\r\n const productAttributes = await getAttributeValuesAsync(\r\n {\r\n callerContext: context,\r\n queryResultSettings: QueryResultSettingsProxy.getPagingFromInputDataOrDefaultValue(context)\r\n },\r\n recordId,\r\n channelId,\r\n catalogId\r\n );\r\n const attributes: Attributes = {};\r\n for (const productAttribute of productAttributes) {\r\n if (productAttribute.Name === 'Brand') {\r\n attributes.brand = productAttribute.TextValue;\r\n } else if (productAttribute.Name === 'Category') {\r\n attributes.category = productAttribute.TextValue;\r\n }\r\n }\r\n\r\n return attributes;\r\n};\r\n\r\nconst action = async (input: ProductPageSummaryInput, context: IActionContext): Promise => {\r\n const { config, productId, apiSettings } = input;\r\n let simpleProductsData: SimpleProduct[] | undefined;\r\n try {\r\n simpleProductsData = ArrayExtensions.validValues(\r\n await getByIdsAsync(\r\n {\r\n callerContext: context,\r\n queryResultSettings: QueryResultSettingsProxy.getPagingFromInputDataOrDefaultValue(context)\r\n },\r\n apiSettings.channelId,\r\n [productId],\r\n null,\r\n input.catalogId ?? 0\r\n )\r\n );\r\n } catch {\r\n // Do nothing, if there's an error we fall back to values defined from config\r\n }\r\n if (ArrayExtensions.hasElements(simpleProductsData)) {\r\n const simpleProductData = simpleProductsData[0];\r\n let productUrl: string | undefined;\r\n try {\r\n productUrl = getProductUrlSync(simpleProductData, context);\r\n const canonicalDomain = context.requestContext.canonicalDomain;\r\n if (productUrl && canonicalDomain) {\r\n productUrl = `https://${canonicalDomain}/${context.requestContext.locale}${productUrl}`.toLocaleLowerCase();\r\n productUrl = removeDomainQspFromUrl(productUrl, context.requestContext);\r\n } else {\r\n productUrl = undefined;\r\n }\r\n } catch {\r\n productUrl = undefined;\r\n }\r\n\r\n let productBrand: string | undefined;\r\n let category: string | undefined;\r\n try {\r\n const attributes = await getProductAttributes(context, productId, apiSettings.channelId, input.catalogId ?? 0);\r\n productBrand = attributes.brand;\r\n //Gets the first category, which is the Bestseller category\r\n category = attributes.category?.split(';')[0];\r\n } catch (e) {\r\n productBrand = undefined;\r\n category = undefined;\r\n }\r\n\r\n let productPrice: number | undefined;\r\n try {\r\n const projectDomain: ProjectionDomain = {\r\n ChannelId: +context.requestContext.apiSettings.channelId,\r\n CatalogId: input.catalogId ?? 0\r\n };\r\n\r\n productPrice = await getActivePricesAsync(\r\n { callerContext: context, queryResultSettings: QueryResultSettingsProxy.getPagingFromInputDataOrDefaultValue(context) },\r\n projectDomain,\r\n [productId],\r\n new Date(),\r\n context.requestContext.user.customerAccountNumber,\r\n undefined,\r\n true\r\n ).then((productPrices: ProductPrice[]) => {\r\n if (!ArrayExtensions.hasElements(productPrices)) {\r\n throw new Error('[ExtProductPageSummaryAction]Invalid response received from getActivePricesAsync');\r\n }\r\n return productPrices[0].CustomerContextualPrice;\r\n });\r\n } catch {\r\n productPrice = undefined;\r\n }\r\n\r\n return {\r\n title: simpleProductData.Name,\r\n description: simpleProductData.Description,\r\n sharingImageUrl: generateImageUrl(simpleProductData.PrimaryImageUrl, apiSettings),\r\n canonicalUrl: productUrl,\r\n faviconUrl: config && config.faviconUrl,\r\n productId: parseInt(simpleProductData.ItemId ?? '', 10),\r\n price: productPrice ?? simpleProductData.AdjustedPrice,\r\n productBrand,\r\n category\r\n };\r\n\r\n // If the action fails fallback to values defined from config\r\n } else if (config) {\r\n return {\r\n title: config.title,\r\n description: config.description,\r\n sharingImageUrl: config.sharingImage && config.sharingImage.src,\r\n faviconUrl: config && config.faviconUrl\r\n };\r\n }\r\n return {};\r\n};\r\n\r\nexport default createObservableDataAction({\r\n id: '@msdyn365-commerce-modules/page-summary/product-page-summary',\r\n action: >action,\r\n input: createInput\r\n});\r\n","const binding = { modules: {}, dataActions: {} };\n\n const registerActionId = (actionPath) => {\n if (binding.dataActions[actionPath] &&\n binding.dataActions[actionPath].default &&\n binding.dataActions[actionPath].default.prototype &&\n binding.dataActions[actionPath].default.prototype.id) {\n binding.dataActions[binding.dataActions[actionPath].default.prototype.id] = binding.dataActions[actionPath];\n } else {\n Object.keys(binding.dataActions[actionPath] || {}).forEach(exportName => {\n if (binding.dataActions[actionPath][exportName] &&\n binding.dataActions[actionPath][exportName].prototype &&\n binding.dataActions[actionPath][exportName].prototype.Action) {\n binding.dataActions[binding.dataActions[actionPath][exportName].prototype.id] = binding.dataActions[actionPath][exportName];\n }\n })\n }\n };\n\n const registerSanitizedActionPath = (sanitizedActionPath, dataAction) => {\n if (process.env.NODE_ENV === 'development') {\n if (!dataAction.default) {\n throw new Error('Data action path does not have a default export');\n }\n if (!(dataAction.default.prototype.id && binding.dataActions[dataAction.default.prototype.id]) || !binding.dataActions[sanitizedActionPath]) {\n binding.dataActions[sanitizedActionPath] = dataAction;\n }\n } else {\n binding.dataActions[sanitizedActionPath] = dataAction;\n if (!binding.dataActions[sanitizedActionPath].default) {\n throw new Error('Data action path ' + sanitizedActionPath + ' does not have a default export');\n }\n binding.dataActions[sanitizedActionPath].default.prototype.RegistrationId = sanitizedActionPath;\n if (binding.dataActions[sanitizedActionPath].default.prototype.id) {\n binding.dataActions[binding.dataActions[sanitizedActionPath].default.prototype.id] = sanitizedActionPath;\n }\n }\n };\n \n\n { \n const actionPath = 'actions/get-media-locations-for-selected-variant.action';\n binding.dataActions[actionPath] = require('partner/actions/get-media-locations-for-selected-variant.action');\n registerActionId(actionPath);\n }\n\n { \n const actionPath = 'actions/get-price-for-selected-variant.action';\n binding.dataActions[actionPath] = require('partner/actions/get-price-for-selected-variant.action');\n registerActionId(actionPath);\n }\n\n { \n const actionPath = 'actions/get-store-location-centiro.action';\n binding.dataActions[actionPath] = require('partner/actions/get-store-location-centiro.action');\n registerActionId(actionPath);\n }\n\n { \n const actionPath = 'actions/store-centiro-location.action';\n binding.dataActions[actionPath] = require('partner/actions/store-centiro-location.action');\n registerActionId(actionPath);\n }\n\n { \n const actionPath = 'actions/update-b2c-identity.action';\n binding.dataActions[actionPath] = require('partner/actions/update-b2c-identity.action');\n registerActionId(actionPath);\n }\n\n { \n const actionPath = 'modules/ext-product-page-summary/ext-product-page-summary.action';\n binding.dataActions[actionPath] = require('partner/modules/ext-product-page-summary/ext-product-page-summary.action');\n registerActionId(actionPath);\n }\n\n \n window.__bindings__ = window.__bindings__ || {};\n window.__bindings__.modules = {\n ...window.__bindings__.modules || {},\n ...binding.modules\n };\n \n window.__bindings__.packageDataActions = {};\n window.__bindings__.packageDataActions['__local__'] = {\n ...binding.dataActions\n };","/*!\r\n * Copyright (c) Microsoft Corporation.\r\n * All rights reserved. See LICENSE in the project root for license information.\r\n */\r\n\r\nimport {\r\n CacheType,\r\n createObservableDataAction,\r\n getCatalogId,\r\n getMediaLocationsForProductAction,\r\n IAction,\r\n IActionContext,\r\n IActionInput,\r\n IAny,\r\n ICreateActionContext,\r\n IGeneric,\r\n MediaLocationsInput\r\n} from '@msdyn365-commerce/core';\r\nimport { AsyncResult, MediaLocation, SimpleProduct } from '@msdyn365-commerce/retail-proxy';\r\nimport { getMediaLocationsAsync } from '@msdyn365-commerce/retail-proxy/dist/DataActions/ProductsDataActions.g';\r\n\r\nimport {\r\n getSelectedVariant,\r\n SelectedVariantInput,\r\n generateImageUrl,\r\n getSelectedProductIdFromActionInput,\r\n QueryResultSettingsProxy\r\n} from '@msdyn365-commerce-modules/retail-actions';\r\n\r\n/**\r\n * The action input class for the getMediaLocationsForSelectedVariant data action.\r\n */\r\nexport class MediaLocationsForSelectedVariantInput implements IActionInput {\r\n public productId: number;\r\n\r\n public channelId: number;\r\n\r\n public catalogId: number;\r\n\r\n public selectedProduct: SimpleProduct | undefined;\r\n\r\n constructor(productId: number, channelId: number, selectedProduct?: SimpleProduct, catalogId?: number) {\r\n this.productId = productId;\r\n this.channelId = channelId;\r\n this.catalogId = catalogId || 0;\r\n this.selectedProduct = selectedProduct;\r\n }\r\n\r\n public getCacheKey = () => 'MediaLocationsForSelectedVariant';\r\n\r\n public getCacheObjectType = () => 'MediaLocations';\r\n\r\n public dataCacheType = (): CacheType => 'none';\r\n}\r\n\r\n/**\r\n * The createInput method for the getMediaLocationsForSelectedVariant data action.\r\n * @param inputData The input data passed to the createInput method.\r\n */\r\nexport const createMediaLocationsForSelectedVariantInput = (\r\n inputData: ICreateActionContext>\r\n): MediaLocationsForSelectedVariantInput => {\r\n const productId = getSelectedProductIdFromActionInput(inputData);\r\n const catalogId = getCatalogId(inputData.requestContext);\r\n\r\n if (productId) {\r\n return new MediaLocationsForSelectedVariantInput(+productId, +inputData.requestContext.apiSettings.channelId, undefined, catalogId);\r\n }\r\n throw new Error('Unable to create MediaLocationsForSelectedVariantInput, no productId found on module config or query');\r\n};\r\n\r\n/**\r\n * The action method for the getMediaLocationsForSelectedVariant data action.\r\n * @param input\r\n * @param ctx\r\n */\r\nexport async function getMediaLocationsForSelectedVariantAction(\r\n input: MediaLocationsForSelectedVariantInput,\r\n ctx: IActionContext\r\n): Promise {\r\n return AsyncResult.resolve()\r\n .then(() => {\r\n const activeProduct: SimpleProduct | undefined = input.selectedProduct;\r\n\r\n if (!activeProduct) {\r\n const selectedVariantInput = new SelectedVariantInput(\r\n input.productId,\r\n input.channelId,\r\n undefined,\r\n undefined,\r\n ctx.requestContext\r\n );\r\n return getSelectedVariant(selectedVariantInput, ctx);\r\n }\r\n\r\n return activeProduct;\r\n })\r\n .then(productResult => {\r\n const activeProduct = productResult?.productVariant ?? productResult;\r\n\r\n if (activeProduct) {\r\n if (ctx.requestContext.app?.config?.OmniChannelMedia) {\r\n const mediaLocationsInput = new MediaLocationsInput(\r\n ctx.requestContext,\r\n activeProduct.RecordId,\r\n input.channelId,\r\n input.catalogId\r\n );\r\n return getMediaLocationsForProductAction(mediaLocationsInput, ctx);\r\n }\r\n return getMediaLocationsAsync(\r\n { callerContext: ctx, queryResultSettings: QueryResultSettingsProxy.getPagingFromInputDataOrDefaultValue(ctx) },\r\n activeProduct.RecordId,\r\n input.channelId,\r\n input.catalogId\r\n ).then(response => {\r\n return response.map(\r\n (mediaLocation: MediaLocation): MediaLocation => {\r\n mediaLocation.Uri = generateImageUrl(mediaLocation.Uri, ctx.requestContext.apiSettings);\r\n mediaLocation.AltText = mediaLocation.AltText ? mediaLocation.AltText : activeProduct.Name;\r\n if (!mediaLocation.Uri?.includes('images-eu-prod')) {\r\n mediaLocation.Uri = '';\r\n }\r\n return mediaLocation;\r\n }\r\n );\r\n });\r\n }\r\n\r\n return [];\r\n })\r\n .catch(error => {\r\n ctx.trace(error);\r\n ctx.telemetry.error(error.message);\r\n ctx.telemetry.debug('[getMediaLocationsForSelectedVariantAction]Error executing action');\r\n throw new Error('[getMediaLocationsForSelectedVariantAction]Error executing action');\r\n });\r\n}\r\n\r\n/**\r\n * The getMediaLocationsForSelectedVariant data action\r\n * Gets the currently selected variant for the page via the getSelectedVariant data action,\r\n * and then gets the media location information for the variant via the MediaLocations RetailServer API.\r\n */\r\nexport const getMediaLocationsForSelectedVariantActionDataAction = createObservableDataAction({\r\n id: '@msdyn365-commerce-modules/retail-actions/get-media-locations-for-selected-variant',\r\n action: >getMediaLocationsForSelectedVariantAction,\r\n input: createMediaLocationsForSelectedVariantInput\r\n});\r\n","/*!\r\n * Copyright (c) Microsoft Corporation.\r\n * All rights reserved. See LICENSE in the project root for license information.\r\n */\r\n\r\nimport {\r\n CacheType,\r\n createObservableDataAction,\r\n IAction,\r\n IActionContext,\r\n IActionInput,\r\n IAny,\r\n ICreateActionContext,\r\n IGeneric\r\n} from '@msdyn365-commerce/core';\r\nimport { FeatureState, StoreOperationsDataActions } from '@msdyn365-commerce/retail-proxy';\r\nimport { QueryResultSettingsProxy } from '@msdyn365-commerce-modules/retail-actions';\r\n\r\n/**\r\n * Input class for the getFeatureState data action.\r\n * The life time of the data action is 'application'.\r\n */\r\nexport class FeatureStateInput implements IActionInput {\r\n // Any additional feature names that needs to be checked in the code for enablement needs to be appended here:\r\n public readonly featureNames: string[] = [\r\n 'Dynamics.AX.Application.RetailAsyncAddressCreationFeature',\r\n 'Dynamics.AX.Application.RetailEnableAsyncCustomerEditFeature',\r\n 'Dynamics.AX.Application.RetailB2BEcommerceFeature',\r\n 'Dynamics.AX.Application.RetailDefaultOrderQuantityLimitsFeature',\r\n 'Dynamics.AX.Application.RetailMultiplePickupDeliveryModeFeature',\r\n 'Dynamics.AX.Application.RetailSearchPriceRangeFeature',\r\n 'Dynamics.AX.Application.RetailSalesAgreementPriceSupportFeature',\r\n 'Dynamics.AX.Application.ChannelMultipleCatalogsFeature',\r\n 'Dynamics.AX.Application.EcommerceQuantityLimitConfigurationsFeature'\r\n ];\r\n\r\n /**\r\n * Get Cache Key.\r\n * @returns - Cache key string.\r\n */\r\n public getCacheKey = (): string => 'FeatureState';\r\n\r\n /**\r\n * Get Cache type Name.\r\n * @returns - Cache name string.\r\n */\r\n public getCacheObjectType = (): string => 'FeatureState';\r\n\r\n /**\r\n * Get Cache type.\r\n * @returns - CacheType enum.\r\n */\r\n public dataCacheType = (): CacheType => 'application';\r\n}\r\n\r\n/**\r\n * CreateInput method for the getFeatureState method.\r\n * @param inputData -- The input data passed to the createInput method.\r\n * @returns - Input for data action.\r\n */\r\nexport const createGetFeatureStateInput = (inputData: ICreateActionContext>): IActionInput => {\r\n return new FeatureStateInput();\r\n};\r\n\r\n/**\r\n * The action method for the getFeatureState data action.\r\n * @param input -- The action input.\r\n * @param ctx -- The action context.\r\n * @returns -- Feature state.\r\n */\r\nexport async function getFeatureStateAction(input: FeatureStateInput, ctx: IActionContext): Promise {\r\n const featureState = await StoreOperationsDataActions.getFeatureStatesAsync(\r\n { callerContext: ctx, queryResultSettings: QueryResultSettingsProxy.getPagingFromInputDataOrDefaultValue(ctx) },\r\n input.featureNames\r\n );\r\n return featureState;\r\n}\r\n\r\n/**\r\n * The getFeatureState data action.\r\n * Gets the feature state via the read RetailServer API.\r\n * @returns Address information associated with the retrieved customer.\r\n */\r\nexport const getFeatureStateActionDataAction = createObservableDataAction({\r\n id: '@msdyn365-commerce-modules/retail-actions/get-feature-state',\r\n action: getFeatureStateAction as IAction,\r\n input: createGetFeatureStateInput\r\n});\r\n\r\nexport default getFeatureStateActionDataAction;\r\n","/*!\r\n * Copyright (c) Microsoft Corporation.\r\n * All rights reserved. See LICENSE in the project root for license information.\r\n */\r\n\r\nimport * as Msdyn365 from '@msdyn365-commerce/core';\r\n\r\nimport { FeatureState } from '@msdyn365-commerce/retail-proxy';\r\nimport { getActivePricesAsync } from '@msdyn365-commerce/retail-proxy/dist/DataActions/ProductsDataActions.g';\r\nimport {\r\n AffiliationLoyaltyTier,\r\n ProductPrice,\r\n ProductType,\r\n ProjectionDomain,\r\n SimpleProduct\r\n} from '@msdyn365-commerce/retail-proxy/dist/Entities/CommerceTypes.g';\r\nimport {\r\n getSelectedProductIdFromActionInput,\r\n getSelectedVariant,\r\n SelectedVariantInput,\r\n QueryResultSettingsProxy,\r\n ArrayExtensions\r\n} from '@msdyn365-commerce-modules/retail-actions';\r\nimport { FeatureStateInput, getFeatureStateActionDataAction } from './get-feature-state';\r\nimport { getAffiliation } from '../shared/functions/get-affiliation';\r\n\r\n/**\r\n * Input class for the GetPriceForSelectedVariant Data Action.\r\n */\r\nexport class PriceForSelectedVariantInput implements Msdyn365.IActionInput {\r\n public productId: number;\r\n\r\n public channelId: number;\r\n\r\n public selectedProduct: SimpleProduct | undefined;\r\n\r\n public customerId?: string;\r\n\r\n public constructor(productId: number, channelId: number, selectedProduct?: SimpleProduct, customerId?: string) {\r\n this.productId = productId;\r\n this.channelId = channelId;\r\n this.selectedProduct = selectedProduct;\r\n this.customerId = customerId ?? '';\r\n }\r\n\r\n public getCacheKey = (): string => 'PriceForSelectedVariant';\r\n\r\n public getCacheObjectType = (): string => 'Price';\r\n\r\n public dataCacheType = (): Msdyn365.CacheType => 'none';\r\n}\r\n\r\n/**\r\n * The createInput method for the GetPriceForSelectedVariantDataAction.\r\n * @param inputData - The input data for the createInput method.\r\n * @returns The PriceForSelectedVariantInput.\r\n */\r\nexport const createActivePriceForSelectedVariantInput = (\r\n inputData: Msdyn365.ICreateActionContext>\r\n): PriceForSelectedVariantInput => {\r\n const productId = getSelectedProductIdFromActionInput(inputData);\r\n\r\n if (productId) {\r\n return new PriceForSelectedVariantInput(+productId, +inputData.requestContext.apiSettings.channelId, undefined);\r\n }\r\n throw new Error('Unable to create PriceForSelectedVariantInput, no productId found on module config or query');\r\n};\r\n\r\n/**\r\n * The Action Method for the GetPriceForSelectedVariant Data Action\r\n * Pulls the currently selected variant from the cache using the getSelectedVariant data action, and gets it's current contextual price\r\n * via the getActivePrice RetailServer API.\r\n * @param input - The input.\r\n * @param ctx - The ctx.\r\n * @returns The Promise.\r\n */\r\nexport async function getPriceForSelectedVariantAction(\r\n input: PriceForSelectedVariantInput,\r\n ctx: Msdyn365.IActionContext\r\n): Promise {\r\n return Promise.resolve()\r\n .then(() => {\r\n const activeProduct: SimpleProduct | undefined = input.selectedProduct;\r\n\r\n if (!activeProduct) {\r\n const selectedVariantInput = new SelectedVariantInput(\r\n input.productId,\r\n input.channelId,\r\n undefined,\r\n undefined,\r\n ctx.requestContext\r\n );\r\n\r\n return getSelectedVariant(selectedVariantInput, ctx);\r\n }\r\n\r\n return activeProduct;\r\n })\r\n .then(async (productResult: SimpleProduct | null) => {\r\n const catalogId = Msdyn365.getCatalogId(ctx.requestContext);\r\n const projectDomain: ProjectionDomain = {\r\n ChannelId: +ctx.requestContext.apiSettings.channelId,\r\n CatalogId: catalogId\r\n };\r\n\r\n var affiliation: AffiliationLoyaltyTier[] = getAffiliation(\r\n ctx.requestContext.locale,\r\n ctx.requestContext.app.config.affiliationIds,\r\n ctx.requestContext.app.config.loyaltyTierIds\r\n );\r\n\r\n const activeProduct: SimpleProduct | undefined = productResult as SimpleProduct | undefined;\r\n if (activeProduct) {\r\n const featureStates: FeatureState[] = await getFeatureStateActionDataAction(new FeatureStateInput(), ctx);\r\n return getActivePricesAsync(\r\n { callerContext: ctx, queryResultSettings: QueryResultSettingsProxy.getPagingFromInputDataOrDefaultValue(ctx) },\r\n projectDomain,\r\n [activeProduct.RecordId],\r\n new Date(),\r\n input.customerId,\r\n affiliation,\r\n true,\r\n featureStates.find(featureState => featureState.Name === 'Dynamics.AX.Application.RetailSearchPriceRangeFeature')\r\n ?.IsEnabled &&\r\n (activeProduct.ProductTypeValue === ProductType.Master || activeProduct.ProductTypeValue === ProductType.KitMaster),\r\n featureStates.find(\r\n featureState => featureState.Name === 'Dynamics.AX.Application.RetailSalesAgreementPriceSupportFeature'\r\n )?.IsEnabled\r\n ).then((productPrices: ProductPrice[]) => {\r\n if (!ArrayExtensions.hasElements(productPrices)) {\r\n throw new Error('[getPriceForSelectedVariantAction]Invalid response recieved from getActivePricesAsync');\r\n }\r\n return productPrices[0];\r\n });\r\n }\r\n\r\n return null;\r\n })\r\n .catch((error: Error) => {\r\n ctx.trace(error.message);\r\n ctx.telemetry.exception(error);\r\n ctx.telemetry.debug('[getPriceForSelectedVariantAction]Error executing action');\r\n throw new Error('[getPriceForSelectedVariantAction]Error executing action');\r\n });\r\n}\r\n\r\nexport default Msdyn365.createObservableDataAction({\r\n action: getPriceForSelectedVariantAction as Msdyn365.IAction,\r\n id: '@msdyn365-commerce-modules/retail-actions/get-price-for-selected-variant',\r\n input: createActivePriceForSelectedVariantInput\r\n});\r\n"],"names":["module","exports","React","ReactDOM","GetStoreLocationCentiroInput","constructor","CountryISOCode","City","PostalCode","Networks","StreetAddress","State","MaxDistance","MaxCollectionPoints","getCacheKey","getCacheObjectType","dataCacheType","this","Msdyn365","action","async","input","ctx","deliveryAddressCentiro","bSGetCollectionPointsAsync","callerContext","queryResultSettings","hasError","Error","message","collectionPoints","map","collectionPoint","_ctx$requestContext$c","_collectionPoint$geoP","_collectionPoint$geoP2","_collectionPoint$name","_collectionPoint$name2","_collectionPoint$stre","_collectionPoint$city","_collectionPoint$zipC","_collectionPoint$stat","_collectionPoint$stat2","_collectionPoint$coun","addressLines","street","houseNumber","city","zipCode","country","address2","filter","line","trim","length","join","OrgUnitAvailability","OrgUnitLocation","ChannelId","requestContext","channel","RecordId","Latitude","geoPoint","latitude","Longitude","longitude","OrgUnitName","name","OrgUnitNumber","Address","Street","StreetNumber","DistrictName","BuildingCompliment","Postbox","Zip","County","CountyName","state","StateName","Country","Distance","distance","InventoryLocationId","InventorySiteId","OpenFrom","OpenTo","ExternalId","externalId","openingHours","id","args","CentiroDataActionInput","selectedModalAction","pickUpLocation","undefined","deliveryMode","createObservableDataAction","inputData","getAffiliation","locale","affiliationIds","loyaltyTiersIds","_affiliationIds$find","_loyaltyTiersIds$find","_loyaltyTiers$split","affiliation","affiliationId","find","item","loyaltyTiers","loyaltyTierIds","split","forEach","tier","push","AffiliationId","Number","LoyaltyTierId","getSecretValue","secretKey","baseUrl","_Msdyn365$msdyn365Com","secretManager","then","secretValue","error","value","UpdateB2cIdentityInput","newEmailAddress","token","_random","Math","random","apiSettings","decoded","jwtDecode","secretPromises","Promise","all","secrets","QueryString","grant_type","client_id","client_secret","resource","tokenResponse","url","URL","iss","issuerDomain","hostname","substring","indexOf","sub","JSON","stringify","identities","signInType","issuer","issuerAssignedId","headers","Authorization","data","access_token","graphResponse","result","success","status","reason","user","postBody","email","content","parse","toString","ProductPageSummaryInput","config","productId","generateCacheKey","key","title","catalogId","getCatalogId","context","simpleProductsData","_input$catalogId","ArrayExtensions","validValues","getByIdsAsync","QueryResultSettingsProxy","getPagingFromInputDataOrDefaultValue","channelId","_unused","hasElements","_simpleProductData$It","simpleProductData","productUrl","productBrand","category","productPrice","getProductUrlSync","canonicalDomain","toLocaleLowerCase","removeDomainQspFromUrl","_unused2","_input$catalogId2","_attributes$category","attributes","recordId","productAttributes","getAttributeValuesAsync","productAttribute","Name","brand","TextValue","getProductAttributes","e","_input$catalogId3","projectDomain","CatalogId","getActivePricesAsync","Date","customerAccountNumber","productPrices","CustomerContextualPrice","_unused3","description","Description","sharingImageUrl","generateImageUrl","PrimaryImageUrl","canonicalUrl","faviconUrl","parseInt","ItemId","price","AdjustedPrice","sharingImage","src","getSelectedProductIdFromActionInput","binding","modules","dataActions","registerActionId","actionPath","default","prototype","Object","keys","exportName","Action","require","window","__bindings__","_objectSpread","packageDataActions","MediaLocationsForSelectedVariantInput","selectedProduct","createMediaLocationsForSelectedVariantInput","getMediaLocationsForSelectedVariantAction","AsyncResult","resolve","activeProduct","selectedVariantInput","SelectedVariantInput","getSelectedVariant","productResult","_productResult$produc","productVariant","_ctx$requestContext$a","app","OmniChannelMedia","mediaLocationsInput","MediaLocationsInput","getMediaLocationsForProductAction","getMediaLocationsAsync","response","mediaLocation","_mediaLocation$Uri","Uri","AltText","includes","catch","trace","telemetry","debug","getMediaLocationsForSelectedVariantActionDataAction","FeatureStateInput","featureNames","getFeatureStateActionDataAction","StoreOperationsDataActions","PriceForSelectedVariantInput","customerId","createActivePriceForSelectedVariantInput","getPriceForSelectedVariantAction","_featureStates$find","_featureStates$find2","featureStates","featureState","IsEnabled","ProductTypeValue","ProductType","Master","KitMaster","exception"],"sourceRoot":""}