@ikas/storefront-api
Advanced tools
Comparing version 4.0.0-alpha.43 to 4.0.0-alpha.44
{ | ||
"name": "@ikas/storefront-api", | ||
"version": "4.0.0-alpha.43", | ||
"version": "4.0.0-alpha.44", | ||
"author": "Umut Ozan Yıldırım", | ||
@@ -24,4 +24,4 @@ "license": "ISC", | ||
"@rollup/plugin-commonjs": "^22.0.0", | ||
"@ikas/storefront-config": "^4.0.0-alpha.43", | ||
"@ikas/storefront-models": "^4.0.0-alpha.43", | ||
"@ikas/storefront-config": "^4.0.0-alpha.44", | ||
"@ikas/storefront-models": "^4.0.0-alpha.44", | ||
"@rollup/plugin-node-resolve": "^13.3.0", | ||
@@ -39,6 +39,6 @@ "prettier": "^2.2.1", | ||
"peerDependencies": { | ||
"@ikas/storefront-config": "^4.0.0-alpha.43", | ||
"@ikas/storefront-models": "^4.0.0-alpha.43", | ||
"@ikas/storefront-config": "^4.0.0-alpha.44", | ||
"@ikas/storefront-models": "^4.0.0-alpha.44", | ||
"axios": "^0.26.0" | ||
} | ||
} |
@@ -20,2 +20,3 @@ import { DeepReadonly } from "ts-essentials"; | ||
import { OrderLineItemData } from "./OrderLineItem"; | ||
import { OrderSessionInfoData } from "./OrderSessionInfo"; | ||
import { OrderShippingLineData } from "./OrderShippingLine"; | ||
@@ -58,2 +59,3 @@ import { OrderStorefrontRoutingData } from "./OrderStorefrontRouting"; | ||
salesChannelId: string; | ||
sessionInfo: OrderSessionInfoData | null; | ||
shippingAddress: OrderAddressData | null; | ||
@@ -134,2 +136,5 @@ shippingLines: OrderShippingLineData[] | null; | ||
this.salesChannelId = data.salesChannelId || ""; | ||
this.sessionInfo = data.sessionInfo | ||
? new OrderSessionInfoData(data.sessionInfo) | ||
: null; | ||
this.shippingAddress = data.shippingAddress | ||
@@ -136,0 +141,0 @@ ? new OrderAddressData(data.shippingAddress) |
@@ -6,2 +6,3 @@ import { DeepReadonly } from "ts-essentials"; | ||
in: string[] | null; | ||
nin: string[] | null; | ||
@@ -11,2 +12,3 @@ constructor(data: Partial<CategoryFilterInputData> = {}) { | ||
this.in = data.in || null; | ||
this.nin = data.nin || null; | ||
} | ||
@@ -13,0 +15,0 @@ } |
import { DeepReadonly } from "ts-essentials"; | ||
export class LocationTranslationsData { | ||
de: string | null; | ||
en: string; | ||
@@ -8,2 +9,3 @@ tr: string; | ||
constructor(data: Partial<LocationTranslationsData> = {}) { | ||
this.de = data.de || null; | ||
this.en = data.en || ""; | ||
@@ -10,0 +12,0 @@ this.tr = data.tr || ""; |
@@ -14,2 +14,3 @@ import { DeepReadonly } from "ts-essentials"; | ||
finalPrice: number | null; | ||
finalUnitPrice: number | null; | ||
options: OrderLineOptionData[] | null; | ||
@@ -23,2 +24,3 @@ originalOrderLineItemId: string | null; | ||
taxValue: number | null; | ||
unitPrice: number | null; | ||
variant: OrderLineVariantData; | ||
@@ -42,2 +44,6 @@ | ||
: null; | ||
this.finalUnitPrice = | ||
data.finalUnitPrice !== undefined && data.finalUnitPrice !== null | ||
? data.finalUnitPrice | ||
: null; | ||
this.options = data.options | ||
@@ -56,2 +62,6 @@ ? data.options.map((o) => new OrderLineOptionData(o)) | ||
: null; | ||
this.unitPrice = | ||
data.unitPrice !== undefined && data.unitPrice !== null | ||
? data.unitPrice | ||
: null; | ||
this.variant = data.variant | ||
@@ -58,0 +68,0 @@ ? new OrderLineVariantData(data.variant) |
import { DeepReadonly } from "ts-essentials"; | ||
import { OrderLineBaseUnitData } from "./OrderLineBaseUnit"; | ||
import { OrderLineVariantBrandData } from "./OrderLineVariantBrand"; | ||
import { OrderLineVariantCategoryData } from "./OrderLineVariantCategory"; | ||
import { OrderLineVariantPriceData } from "./OrderLineVariantPrice"; | ||
import { OrderLineVariantUnitData } from "./OrderLineVariantUnit"; | ||
import { OrderLineVariantVariantValuesData } from "./OrderLineVariantVariantValues"; | ||
@@ -9,2 +11,3 @@ | ||
barcodeList: string[] | null; | ||
baseUnit: OrderLineBaseUnitData | null; | ||
brand: OrderLineVariantBrandData | null; | ||
@@ -22,2 +25,3 @@ categories: OrderLineVariantCategoryData[] | null; | ||
type: number | null; | ||
unit: OrderLineVariantUnitData | null; | ||
variantValues: OrderLineVariantVariantValuesData[] | null; | ||
@@ -28,2 +32,5 @@ weight: number | null; | ||
this.barcodeList = data.barcodeList || null; | ||
this.baseUnit = data.baseUnit | ||
? new OrderLineBaseUnitData(data.baseUnit) | ||
: null; | ||
this.brand = data.brand ? new OrderLineVariantBrandData(data.brand) : null; | ||
@@ -49,2 +56,3 @@ this.categories = data.categories | ||
data.type !== undefined && data.type !== null ? data.type : null; | ||
this.unit = data.unit ? new OrderLineVariantUnitData(data.unit) : null; | ||
this.variantValues = data.variantValues | ||
@@ -51,0 +59,0 @@ ? data.variantValues.map((o) => new OrderLineVariantVariantValuesData(o)) |
@@ -10,2 +10,3 @@ import { DeepReadonly } from "ts-essentials"; | ||
sellPrice: number; | ||
unitPrice: number | null; | ||
@@ -25,2 +26,6 @@ constructor(data: Partial<OrderLineVariantPriceData> = {}) { | ||
this.sellPrice = data.sellPrice || 0; | ||
this.unitPrice = | ||
data.unitPrice !== undefined && data.unitPrice !== null | ||
? data.unitPrice | ||
: null; | ||
} | ||
@@ -27,0 +32,0 @@ } |
@@ -5,2 +5,3 @@ import { DeepReadonly } from "ts-essentials"; | ||
import { ProductAttributeValueData } from "./ProductAttributeValue"; | ||
import { ProductBaseUnitModelData } from "./ProductBaseUnitModel"; | ||
import { HTMLMetaDataData } from "./HTMLMetaData"; | ||
@@ -13,2 +14,3 @@ import { ProductVariantTypeData } from "./ProductVariantType"; | ||
attributes: ProductAttributeValueData[] | null; | ||
baseUnit: ProductBaseUnitModelData | null; | ||
brandId: string | null; | ||
@@ -38,2 +40,5 @@ categoryIds: string[] | null; | ||
: null; | ||
this.baseUnit = data.baseUnit | ||
? new ProductBaseUnitModelData(data.baseUnit) | ||
: null; | ||
this.brandId = data.brandId || null; | ||
@@ -40,0 +45,0 @@ this.categoryIds = data.categoryIds || null; |
@@ -18,3 +18,3 @@ import { DeepReadonly } from "ts-essentials"; | ||
phone: string | null; | ||
raffle: StorefrontRaffleData; | ||
raffle: StorefrontRaffleData | null; | ||
raffleId: string; | ||
@@ -41,5 +41,3 @@ status: RaffleParticipantStatusEnum | null; | ||
this.phone = data.phone || null; | ||
this.raffle = data.raffle | ||
? new StorefrontRaffleData(data.raffle) | ||
: new StorefrontRaffleData(); | ||
this.raffle = data.raffle ? new StorefrontRaffleData(data.raffle) : null; | ||
this.raffleId = data.raffleId || ""; | ||
@@ -46,0 +44,0 @@ this.status = data.status || null; |
@@ -6,2 +6,3 @@ import { DeepReadonly } from "ts-essentials"; | ||
import { SearchHTMLMetaDataData } from "./SearchHTMLMetaData"; | ||
import { ProductBaseUnitModelData } from "./ProductBaseUnitModel"; | ||
import { SearchProductVariantTypeData } from "./SearchProductVariantType"; | ||
@@ -23,2 +24,3 @@ import { SearchProductTagData } from "./SearchProductTag"; | ||
productOptionSetId: string | null; | ||
productUnit: ProductBaseUnitModelData | null; | ||
productVariantTypes: SearchProductVariantTypeData[]; | ||
@@ -52,2 +54,5 @@ salesChannelIds: string[] | null; | ||
this.productOptionSetId = data.productOptionSetId || null; | ||
this.productUnit = data.productUnit | ||
? new ProductBaseUnitModelData(data.productUnit) | ||
: null; | ||
this.productVariantTypes = data.productVariantTypes | ||
@@ -54,0 +59,0 @@ ? data.productVariantTypes.map((s) => new SearchProductVariantTypeData(s)) |
@@ -11,2 +11,3 @@ import { DeepReadonly } from "ts-essentials"; | ||
sellPrice: number; | ||
unitPrice: number | null; | ||
@@ -27,2 +28,6 @@ constructor(data: Partial<SearchProductPriceData> = {}) { | ||
this.sellPrice = data.sellPrice || 0; | ||
this.unitPrice = | ||
data.unitPrice !== undefined && data.unitPrice !== null | ||
? data.unitPrice | ||
: null; | ||
} | ||
@@ -29,0 +34,0 @@ } |
@@ -6,2 +6,3 @@ import { DeepReadonly } from "ts-essentials"; | ||
import { SearchProductStockLocationData } from "./SearchProductStockLocation"; | ||
import { VariantUnitModelData } from "./VariantUnitModel"; | ||
import { SearchVariationValueRelationData } from "./SearchVariationValueRelation"; | ||
@@ -20,2 +21,3 @@ | ||
stocks: SearchProductStockLocationData[] | null; | ||
unit: VariantUnitModelData | null; | ||
variantValues: SearchVariationValueRelationData[] | null; | ||
@@ -50,2 +52,3 @@ weight: number | null; | ||
: null; | ||
this.unit = data.unit ? new VariantUnitModelData(data.unit) : null; | ||
this.variantValues = data.variantValues | ||
@@ -52,0 +55,0 @@ ? data.variantValues.map((s) => new SearchVariationValueRelationData(s)) |
@@ -7,2 +7,4 @@ import { DeepReadonly } from "ts-essentials"; | ||
countryCodes: string[] | null; | ||
currencyCode: string | null; | ||
currencySymbol: string | null; | ||
domain: string | null; | ||
@@ -18,2 +20,4 @@ dynamicCurrencySettings: StorefrontDynamicCurrencySettingsData | null; | ||
this.countryCodes = data.countryCodes || null; | ||
this.currencyCode = data.currencyCode || null; | ||
this.currencySymbol = data.currencySymbol || null; | ||
this.domain = data.domain || null; | ||
@@ -20,0 +24,0 @@ this.dynamicCurrencySettings = data.dynamicCurrencySettings |
@@ -7,2 +7,3 @@ import { DeepReadonly } from "ts-essentials"; | ||
import { VariantStockData } from "./VariantStock"; | ||
import { VariantUnitModelData } from "./VariantUnitModel"; | ||
import { VariantValueRelationData } from "./VariantValueRelation"; | ||
@@ -20,2 +21,3 @@ | ||
stocks: VariantStockData[] | null; | ||
unit: VariantUnitModelData | null; | ||
variantValueIds: VariantValueRelationData[] | null; | ||
@@ -50,2 +52,3 @@ weight: number | null; | ||
: null; | ||
this.unit = data.unit ? new VariantUnitModelData(data.unit) : null; | ||
this.variantValueIds = data.variantValueIds | ||
@@ -52,0 +55,0 @@ ? data.variantValueIds.map((v) => new VariantValueRelationData(v)) |
@@ -48,3 +48,3 @@ import { | ||
const allReturnFields = | ||
"{abandonedCheckoutFlows {campaignId canApplicable couponId customerFilters {sendOnlyActiveAccount sendOnlySubscribedToEmail } flowId mailSendDate mailTranslationId recoverEmailStatus sendAfter } adjustments {amount amountType appliedOrderLines {amount appliedQuantity isAutoCreated orderLineId } campaignId campaignType couponId name order type } availableShippingMethods {price rateName shippingMethod shippingSettingsId shippingZoneRateId } billingAddress {addressLine1 addressLine2 city {code id name } company country {code id iso2 iso3 name } district {code id name } firstName id identityNumber isDefault lastName phone postalCode state {code id name } taxNumber taxOffice } cart {campaignOffers {appliedOrderLineId campaignOfferId campaignOfferProductId offerEndDate offerStartDate status targetPageTypes triggerSourceOrderLineId } createdAt createdBy currencyCode currencySymbol customerId deleted dueDate id itemCount items {createdAt currencyCode currencySymbol deleted discount {amount amountType campaignOfferId campaignOfferProductId maxApplicableQuantity reason } discountPrice finalPrice id options {name productOptionId productOptionsSetId type values {name price value } } originalOrderLineItemId price quantity status statusUpdatedAt stockLocationId taxValue updatedAt variant {barcodeList brand {id name } categories {categoryPath {id name } id name } id mainImageId name prices {buyPrice currency currencySymbol discountPrice priceListId sellPrice } productId sku slug tagIds taxValue type variantValues {order variantTypeId variantTypeName variantValueId variantValueName } weight } } merchantId priceListId salesChannelId status storefrontId storefrontRouting {domain dynamicCurrencySettings {roundingFormat targetCurrencyCode targetCurrencySymbol } id locale path priceListId } storefrontRoutingId storefrontThemeId taxLines {price rate } totalPrice updatedAt } cartId couponCode createdAt customer {accountStatus customerGroupIds email firstName id identityNumber lastName notificationsAccepted phone subscriptionStatus } deleted giftPackageLines {price taxValue } giftPackageNote id isGiftPackage merchantId note orderId orderNumber orderedAt recoverEmailStatus recoveryStatus shippingAddress {addressLine1 addressLine2 city {code id name } company country {code id iso2 iso3 name } district {code id name } firstName id identityNumber isDefault lastName phone postalCode state {code id name } taxNumber taxOffice } shippingLines {finalPrice isRefunded paymentMethod price shippingSettingsId shippingZoneRateId taxValue title } shippingMethod shippingSettingsId shippingZoneRateId status stockLocationId totalFinalPrice updatedAt }"; | ||
"{abandonedCheckoutFlows {campaignId canApplicable couponId customerFilters {sendOnlyActiveAccount sendOnlySubscribedToEmail } flowId mailSendDate mailTranslationId recoverEmailStatus sendAfter } adjustments {amount amountType appliedOrderLines {amount appliedQuantity isAutoCreated orderLineId } campaignId campaignType couponId name order type } availableShippingMethods {price rateName shippingMethod shippingSettingsId shippingZoneRateId } billingAddress {addressLine1 addressLine2 city {code id name } company country {code id iso2 iso3 name } district {code id name } firstName id identityNumber isDefault lastName phone postalCode state {code id name } taxNumber taxOffice } cart {campaignOffers {appliedOrderLineId campaignOfferId campaignOfferProductId offerEndDate offerStartDate status targetPageTypes triggerSourceOrderLineId } createdAt createdBy currencyCode currencySymbol customerId deleted dueDate id itemCount items {createdAt currencyCode currencySymbol deleted discount {amount amountType campaignOfferId campaignOfferProductId maxApplicableQuantity reason } discountPrice finalPrice finalUnitPrice id options {name productOptionId productOptionsSetId type values {name price value } } originalOrderLineItemId price quantity status statusUpdatedAt stockLocationId taxValue unitPrice updatedAt variant {barcodeList baseUnit {baseAmount type unit {id name } } brand {id name } categories {categoryPath {id name } id name } id mainImageId name prices {buyPrice currency currencySymbol discountPrice priceListId sellPrice unitPrice } productId sku slug tagIds taxValue type unit {amount type } variantValues {order variantTypeId variantTypeName variantValueId variantValueName } weight } } merchantId priceListId salesChannelId status storefrontId storefrontRouting {domain dynamicCurrencySettings {roundingFormat targetCurrencyCode targetCurrencySymbol } id locale path priceListId } storefrontRoutingId storefrontThemeId taxLines {price rate } totalPrice updatedAt } cartId couponCode createdAt customer {accountStatus customerGroupIds email firstName id identityNumber lastName notificationsAccepted phone subscriptionStatus } deleted giftPackageLines {price taxValue } giftPackageNote id isGiftPackage merchantId note orderId orderNumber orderedAt recoverEmailStatus recoveryStatus shippingAddress {addressLine1 addressLine2 city {code id name } company country {code id iso2 iso3 name } district {code id name } firstName id identityNumber isDefault lastName phone postalCode state {code id name } taxNumber taxOffice } shippingLines {finalPrice isRefunded paymentMethod price shippingSettingsId shippingZoneRateId taxValue title } shippingMethod shippingSettingsId shippingZoneRateId status stockLocationId totalFinalPrice updatedAt }"; | ||
@@ -134,2 +134,3 @@ export enum ResponseField { | ||
CART__ITEMS__FINAL_PRICE = "cart.items.finalPrice", | ||
CART__ITEMS__FINAL_UNIT_PRICE = "cart.items.finalUnitPrice", | ||
CART__ITEMS__ID = "cart.items.id", | ||
@@ -150,4 +151,9 @@ CART__ITEMS__OPTIONS__NAME = "cart.items.options.name", | ||
CART__ITEMS__TAX_VALUE = "cart.items.taxValue", | ||
CART__ITEMS__UNIT_PRICE = "cart.items.unitPrice", | ||
CART__ITEMS__UPDATED_AT = "cart.items.updatedAt", | ||
CART__ITEMS__VARIANT__BARCODE_LIST = "cart.items.variant.barcodeList", | ||
CART__ITEMS__VARIANT__BASE_UNIT__BASE_AMOUNT = "cart.items.variant.baseUnit.baseAmount", | ||
CART__ITEMS__VARIANT__BASE_UNIT__TYPE = "cart.items.variant.baseUnit.type", | ||
CART__ITEMS__VARIANT__BASE_UNIT__UNIT__ID = "cart.items.variant.baseUnit.unit.id", | ||
CART__ITEMS__VARIANT__BASE_UNIT__UNIT__NAME = "cart.items.variant.baseUnit.unit.name", | ||
CART__ITEMS__VARIANT__BRAND__ID = "cart.items.variant.brand.id", | ||
@@ -168,2 +174,3 @@ CART__ITEMS__VARIANT__BRAND__NAME = "cart.items.variant.brand.name", | ||
CART__ITEMS__VARIANT__PRICES__SELL_PRICE = "cart.items.variant.prices.sellPrice", | ||
CART__ITEMS__VARIANT__PRICES__UNIT_PRICE = "cart.items.variant.prices.unitPrice", | ||
CART__ITEMS__VARIANT__PRODUCT_ID = "cart.items.variant.productId", | ||
@@ -175,2 +182,4 @@ CART__ITEMS__VARIANT__SKU = "cart.items.variant.sku", | ||
CART__ITEMS__VARIANT__TYPE = "cart.items.variant.type", | ||
CART__ITEMS__VARIANT__UNIT__AMOUNT = "cart.items.variant.unit.amount", | ||
CART__ITEMS__VARIANT__UNIT__TYPE = "cart.items.variant.unit.type", | ||
CART__ITEMS__VARIANT__VARIANT_VALUES__ORDER = "cart.items.variant.variantValues.order", | ||
@@ -177,0 +186,0 @@ CART__ITEMS__VARIANT__VARIANT_VALUES__VARIANT_TYPE_ID = "cart.items.variant.variantValues.variantTypeId", |
@@ -45,3 +45,3 @@ import { | ||
const allReturnFields = | ||
"{abandonedCartFlows {campaignId canApplicable couponId customerFilters {sendOnlyActiveAccount sendOnlySubscribedToEmail } flowId mailSendDate mailTranslationId recoverEmailStatus sendAfter } availableShippingMethods {price rateName shippingMethod shippingSettingsId shippingZoneRateId } billingAddress {addressLine1 addressLine2 city {code id name } company country {code id iso2 iso3 name } district {code id name } firstName id identityNumber isDefault lastName phone postalCode state {code id name } taxNumber taxOffice } campaignOffers {appliedOrderLineId campaignOffer {availableSalesChannelIds createdAt deleted endDate followUpActionType id minimumRequiredCartAmount name offers {countdownMinutes description discountAmount discountType excludedVariantIdList id order productId showCriteria skipOfferIfProductExistsInCart title translations {description locale title } } startDate targetPageTypes triggerSettings {filterType valueList } type updatedAt } campaignOfferId campaignOfferProductId offerEndDate offerStartDate status targetPageTypes triggerSourceOrderLineId } cartId cartStatus checkoutId clientIp couponCode createdAt createdBy currencyCode currencyRates {code originalRate rate } currencySymbol customer {email firstName fullName id isGuestCheckout lastName notificationsAccepted phone } customerId deleted dueDate giftPackageLines {price taxValue } giftPackageNote host id isGiftPackage itemCount merchantId note orderAdjustments {amount amountType appliedOrderLines {amount appliedQuantity isAutoCreated orderLineId } campaignId campaignType couponId name order type } orderLineItems {createdAt currencyCode currencySymbol deleted discount {amount amountType campaignOfferId campaignOfferProductId maxApplicableQuantity reason } discountPrice finalPrice id options {name productOptionId productOptionsSetId type values {name price value } } originalOrderLineItemId price quantity status statusUpdatedAt stockLocationId taxValue updatedAt variant {barcodeList brand {id name } categories {categoryPath {id name } id name } id mainImageId name prices {buyPrice currency currencySymbol discountPrice priceListId sellPrice } productId sku slug tagIds taxValue type variantValues {order variantTypeId variantTypeName variantValueId variantValueName } weight } } orderNumber orderPackageStatus orderedAt priceListId recoverEmailStatus recoveryStatus salesChannelId shippingAddress {addressLine1 addressLine2 city {code id name } company country {code id iso2 iso3 name } district {code id name } firstName id identityNumber isDefault lastName phone postalCode state {code id name } taxNumber taxOffice } shippingLines {finalPrice isRefunded paymentMethod price shippingSettingsId shippingZoneRateId taxValue title } shippingMethod shippingSettingsId shippingZoneRateId status stockLocationId storefrontId storefrontRouting {domain dynamicCurrencySettings {roundingFormat targetCurrencyCode } id locale path priceListId } storefrontRoutingId storefrontThemeId taxLines {price rate } totalFinalPrice totalPrice updatedAt userAgent }"; | ||
"{abandonedCartFlows {campaignId canApplicable couponId customerFilters {sendOnlyActiveAccount sendOnlySubscribedToEmail } flowId mailSendDate mailTranslationId recoverEmailStatus sendAfter } availableShippingMethods {price rateName shippingMethod shippingSettingsId shippingZoneRateId } billingAddress {addressLine1 addressLine2 city {code id name } company country {code id iso2 iso3 name } district {code id name } firstName id identityNumber isDefault lastName phone postalCode state {code id name } taxNumber taxOffice } campaignOffers {appliedOrderLineId campaignOffer {availableSalesChannelIds createdAt deleted endDate followUpActionType id minimumRequiredCartAmount name offers {countdownMinutes description discountAmount discountType excludedVariantIdList id order productId showCriteria skipOfferIfProductExistsInCart title translations {description locale title } } startDate targetPageTypes triggerSettings {filterType valueList } type updatedAt } campaignOfferId campaignOfferProductId offerEndDate offerStartDate status targetPageTypes triggerSourceOrderLineId } cartId cartStatus checkoutId clientIp couponCode createdAt createdBy currencyCode currencyRates {code originalRate rate } currencySymbol customer {email firstName fullName id isGuestCheckout lastName notificationsAccepted phone } customerId deleted dueDate giftPackageLines {price taxValue } giftPackageNote host id isGiftPackage itemCount merchantId note orderAdjustments {amount amountType appliedOrderLines {amount appliedQuantity isAutoCreated orderLineId } campaignId campaignType couponId name order type } orderLineItems {createdAt currencyCode currencySymbol deleted discount {amount amountType campaignOfferId campaignOfferProductId maxApplicableQuantity reason } discountPrice finalPrice finalUnitPrice id options {name productOptionId productOptionsSetId type values {name price value } } originalOrderLineItemId price quantity status statusUpdatedAt stockLocationId taxValue unitPrice updatedAt variant {barcodeList baseUnit {baseAmount type unit {id name } } brand {id name } categories {categoryPath {id name } id name } id mainImageId name prices {buyPrice currency currencySymbol discountPrice priceListId sellPrice unitPrice } productId sku slug tagIds taxValue type unit {amount type } variantValues {order variantTypeId variantTypeName variantValueId variantValueName } weight } } orderNumber orderPackageStatus orderedAt priceListId recoverEmailStatus recoveryStatus salesChannelId sessionInfo {countryCode durationMS end host ip referer salesChannelId sessionId start storefrontId trafficSource {source type } userAgent {deviceType name os } utm {campaign content medium source term } visitorId } shippingAddress {addressLine1 addressLine2 city {code id name } company country {code id iso2 iso3 name } district {code id name } firstName id identityNumber isDefault lastName phone postalCode state {code id name } taxNumber taxOffice } shippingLines {finalPrice isRefunded paymentMethod price shippingSettingsId shippingZoneRateId taxValue title } shippingMethod shippingSettingsId shippingZoneRateId status stockLocationId storefrontId storefrontRouting {domain dynamicCurrencySettings {roundingFormat targetCurrencyCode } id locale path priceListId } storefrontRoutingId storefrontThemeId taxLines {price rate } totalFinalPrice totalPrice updatedAt userAgent }"; | ||
@@ -182,2 +182,3 @@ export enum ResponseField { | ||
ORDER_LINE_ITEMS__FINAL_PRICE = "orderLineItems.finalPrice", | ||
ORDER_LINE_ITEMS__FINAL_UNIT_PRICE = "orderLineItems.finalUnitPrice", | ||
ORDER_LINE_ITEMS__ID = "orderLineItems.id", | ||
@@ -198,4 +199,9 @@ ORDER_LINE_ITEMS__OPTIONS__NAME = "orderLineItems.options.name", | ||
ORDER_LINE_ITEMS__TAX_VALUE = "orderLineItems.taxValue", | ||
ORDER_LINE_ITEMS__UNIT_PRICE = "orderLineItems.unitPrice", | ||
ORDER_LINE_ITEMS__UPDATED_AT = "orderLineItems.updatedAt", | ||
ORDER_LINE_ITEMS__VARIANT__BARCODE_LIST = "orderLineItems.variant.barcodeList", | ||
ORDER_LINE_ITEMS__VARIANT__BASE_UNIT__BASE_AMOUNT = "orderLineItems.variant.baseUnit.baseAmount", | ||
ORDER_LINE_ITEMS__VARIANT__BASE_UNIT__TYPE = "orderLineItems.variant.baseUnit.type", | ||
ORDER_LINE_ITEMS__VARIANT__BASE_UNIT__UNIT__ID = "orderLineItems.variant.baseUnit.unit.id", | ||
ORDER_LINE_ITEMS__VARIANT__BASE_UNIT__UNIT__NAME = "orderLineItems.variant.baseUnit.unit.name", | ||
ORDER_LINE_ITEMS__VARIANT__BRAND__ID = "orderLineItems.variant.brand.id", | ||
@@ -216,2 +222,3 @@ ORDER_LINE_ITEMS__VARIANT__BRAND__NAME = "orderLineItems.variant.brand.name", | ||
ORDER_LINE_ITEMS__VARIANT__PRICES__SELL_PRICE = "orderLineItems.variant.prices.sellPrice", | ||
ORDER_LINE_ITEMS__VARIANT__PRICES__UNIT_PRICE = "orderLineItems.variant.prices.unitPrice", | ||
ORDER_LINE_ITEMS__VARIANT__PRODUCT_ID = "orderLineItems.variant.productId", | ||
@@ -223,2 +230,4 @@ ORDER_LINE_ITEMS__VARIANT__SKU = "orderLineItems.variant.sku", | ||
ORDER_LINE_ITEMS__VARIANT__TYPE = "orderLineItems.variant.type", | ||
ORDER_LINE_ITEMS__VARIANT__UNIT__AMOUNT = "orderLineItems.variant.unit.amount", | ||
ORDER_LINE_ITEMS__VARIANT__UNIT__TYPE = "orderLineItems.variant.unit.type", | ||
ORDER_LINE_ITEMS__VARIANT__VARIANT_VALUES__ORDER = "orderLineItems.variant.variantValues.order", | ||
@@ -237,2 +246,23 @@ ORDER_LINE_ITEMS__VARIANT__VARIANT_VALUES__VARIANT_TYPE_ID = "orderLineItems.variant.variantValues.variantTypeId", | ||
SALES_CHANNEL_ID = "salesChannelId", | ||
SESSION_INFO__COUNTRY_CODE = "sessionInfo.countryCode", | ||
SESSION_INFO__DURATION_M_S = "sessionInfo.durationMS", | ||
SESSION_INFO__END = "sessionInfo.end", | ||
SESSION_INFO__HOST = "sessionInfo.host", | ||
SESSION_INFO__IP = "sessionInfo.ip", | ||
SESSION_INFO__REFERER = "sessionInfo.referer", | ||
SESSION_INFO__SALES_CHANNEL_ID = "sessionInfo.salesChannelId", | ||
SESSION_INFO__SESSION_ID = "sessionInfo.sessionId", | ||
SESSION_INFO__START = "sessionInfo.start", | ||
SESSION_INFO__STOREFRONT_ID = "sessionInfo.storefrontId", | ||
SESSION_INFO__TRAFFIC_SOURCE__SOURCE = "sessionInfo.trafficSource.source", | ||
SESSION_INFO__TRAFFIC_SOURCE__TYPE = "sessionInfo.trafficSource.type", | ||
SESSION_INFO__USER_AGENT__DEVICE_TYPE = "sessionInfo.userAgent.deviceType", | ||
SESSION_INFO__USER_AGENT__NAME = "sessionInfo.userAgent.name", | ||
SESSION_INFO__USER_AGENT__OS = "sessionInfo.userAgent.os", | ||
SESSION_INFO__UTM__CAMPAIGN = "sessionInfo.utm.campaign", | ||
SESSION_INFO__UTM__CONTENT = "sessionInfo.utm.content", | ||
SESSION_INFO__UTM__MEDIUM = "sessionInfo.utm.medium", | ||
SESSION_INFO__UTM__SOURCE = "sessionInfo.utm.source", | ||
SESSION_INFO__UTM__TERM = "sessionInfo.utm.term", | ||
SESSION_INFO__VISITOR_ID = "sessionInfo.visitorId", | ||
SHIPPING_ADDRESS__ADDRESS_LINE1 = "shippingAddress.addressLine1", | ||
@@ -239,0 +269,0 @@ SHIPPING_ADDRESS__ADDRESS_LINE2 = "shippingAddress.addressLine2", |
@@ -48,3 +48,3 @@ import { | ||
const allReturnFields = | ||
"{billingAddress {addressLine1 addressLine2 city {code id name } company country {code id iso2 iso3 name } district {code id name } firstName id identityNumber isDefault lastName phone postalCode state {code id name } taxNumber taxOffice } cancelReason cancelledAt createdAt currencyCode currencyRates {code originalRate rate } currencySymbol customer {email firstName fullName id isGuestCheckout lastName notificationsAccepted phone } customerId deleted giftPackageLines {price taxValue } giftPackageNote id invoices {appId appName createdAt id invoiceNumber storeAppId type } isGiftPackage merchantId note orderAdjustments {amount amountType appliedOrderLines {amount appliedQuantity isAutoCreated orderLineId } campaignId campaignType couponId name order type } orderLineItems {createdAt currencyCode currencySymbol deleted discount {amount amountType campaignOfferId campaignOfferProductId maxApplicableQuantity reason } discountPrice finalPrice id options {name productOptionId productOptionsSetId type values {name price value } } originalOrderLineItemId price quantity status statusUpdatedAt stockLocationId taxValue updatedAt variant {barcodeList brand {id name } categories {categoryPath {id name } id name } id mainImageId name prices {buyPrice currency currencySymbol discountPrice priceListId sellPrice } productId sku slug tagIds taxValue type variantValues {order variantTypeId variantTypeName variantValueId variantValueName } weight } } orderNumber orderPackageStatus orderPackages {createdAt deleted errorMessage id note orderLineItemIds orderPackageFulfillStatus orderPackageNumber stockLocationId trackingInfo {barcode cargoCompany isSendNotification trackingLink trackingNumber } updatedAt } orderPaymentStatus orderTagIds orderedAt paymentMethods {paymentGatewayCode paymentGatewayId paymentGatewayName price type } shippingAddress {addressLine1 addressLine2 city {code id name } company country {code id iso2 iso3 name } district {code id name } firstName id identityNumber isDefault lastName phone postalCode state {code id name } taxNumber taxOffice } shippingLines {finalPrice isRefunded paymentMethod price shippingSettingsId shippingZoneRateId taxValue title } shippingMethod status taxLines {price rate } totalFinalPrice totalPrice updatedAt }"; | ||
"{billingAddress {addressLine1 addressLine2 city {code id name } company country {code id iso2 iso3 name } district {code id name } firstName id identityNumber isDefault lastName phone postalCode state {code id name } taxNumber taxOffice } cancelReason cancelledAt createdAt currencyCode currencyRates {code originalRate rate } currencySymbol customer {email firstName fullName id isGuestCheckout lastName notificationsAccepted phone } customerId deleted giftPackageLines {price taxValue } giftPackageNote id invoices {appId appName createdAt id invoiceNumber storeAppId type } isGiftPackage merchantId note orderAdjustments {amount amountType appliedOrderLines {amount appliedQuantity isAutoCreated orderLineId } campaignId campaignType couponId name order type } orderLineItems {createdAt currencyCode currencySymbol deleted discount {amount amountType campaignOfferId campaignOfferProductId maxApplicableQuantity reason } discountPrice finalPrice finalUnitPrice id options {name productOptionId productOptionsSetId type values {name price value } } originalOrderLineItemId price quantity status statusUpdatedAt stockLocationId taxValue unitPrice updatedAt variant {barcodeList baseUnit {baseAmount type unit {id name } } brand {id name } categories {categoryPath {id name } id name } id mainImageId name prices {buyPrice currency currencySymbol discountPrice priceListId sellPrice unitPrice } productId sku slug tagIds taxValue type unit {amount type } variantValues {order variantTypeId variantTypeName variantValueId variantValueName } weight } } orderNumber orderPackageStatus orderPackages {createdAt deleted errorMessage id note orderLineItemIds orderPackageFulfillStatus orderPackageNumber stockLocationId trackingInfo {barcode cargoCompany isSendNotification trackingLink trackingNumber } updatedAt } orderPaymentStatus orderTagIds orderedAt paymentMethods {paymentGatewayCode paymentGatewayId paymentGatewayName price type } shippingAddress {addressLine1 addressLine2 city {code id name } company country {code id iso2 iso3 name } district {code id name } firstName id identityNumber isDefault lastName phone postalCode state {code id name } taxNumber taxOffice } shippingLines {finalPrice isRefunded paymentMethod price shippingSettingsId shippingZoneRateId taxValue title } shippingMethod status taxLines {price rate } totalFinalPrice totalPrice updatedAt }"; | ||
@@ -134,2 +134,3 @@ export enum ResponseField { | ||
ORDER_LINE_ITEMS__FINAL_PRICE = "orderLineItems.finalPrice", | ||
ORDER_LINE_ITEMS__FINAL_UNIT_PRICE = "orderLineItems.finalUnitPrice", | ||
ORDER_LINE_ITEMS__ID = "orderLineItems.id", | ||
@@ -150,4 +151,9 @@ ORDER_LINE_ITEMS__OPTIONS__NAME = "orderLineItems.options.name", | ||
ORDER_LINE_ITEMS__TAX_VALUE = "orderLineItems.taxValue", | ||
ORDER_LINE_ITEMS__UNIT_PRICE = "orderLineItems.unitPrice", | ||
ORDER_LINE_ITEMS__UPDATED_AT = "orderLineItems.updatedAt", | ||
ORDER_LINE_ITEMS__VARIANT__BARCODE_LIST = "orderLineItems.variant.barcodeList", | ||
ORDER_LINE_ITEMS__VARIANT__BASE_UNIT__BASE_AMOUNT = "orderLineItems.variant.baseUnit.baseAmount", | ||
ORDER_LINE_ITEMS__VARIANT__BASE_UNIT__TYPE = "orderLineItems.variant.baseUnit.type", | ||
ORDER_LINE_ITEMS__VARIANT__BASE_UNIT__UNIT__ID = "orderLineItems.variant.baseUnit.unit.id", | ||
ORDER_LINE_ITEMS__VARIANT__BASE_UNIT__UNIT__NAME = "orderLineItems.variant.baseUnit.unit.name", | ||
ORDER_LINE_ITEMS__VARIANT__BRAND__ID = "orderLineItems.variant.brand.id", | ||
@@ -168,2 +174,3 @@ ORDER_LINE_ITEMS__VARIANT__BRAND__NAME = "orderLineItems.variant.brand.name", | ||
ORDER_LINE_ITEMS__VARIANT__PRICES__SELL_PRICE = "orderLineItems.variant.prices.sellPrice", | ||
ORDER_LINE_ITEMS__VARIANT__PRICES__UNIT_PRICE = "orderLineItems.variant.prices.unitPrice", | ||
ORDER_LINE_ITEMS__VARIANT__PRODUCT_ID = "orderLineItems.variant.productId", | ||
@@ -175,2 +182,4 @@ ORDER_LINE_ITEMS__VARIANT__SKU = "orderLineItems.variant.sku", | ||
ORDER_LINE_ITEMS__VARIANT__TYPE = "orderLineItems.variant.type", | ||
ORDER_LINE_ITEMS__VARIANT__UNIT__AMOUNT = "orderLineItems.variant.unit.amount", | ||
ORDER_LINE_ITEMS__VARIANT__UNIT__TYPE = "orderLineItems.variant.unit.type", | ||
ORDER_LINE_ITEMS__VARIANT__VARIANT_VALUES__ORDER = "orderLineItems.variant.variantValues.order", | ||
@@ -177,0 +186,0 @@ ORDER_LINE_ITEMS__VARIANT__VARIANT_VALUES__VARIANT_TYPE_ID = "orderLineItems.variant.variantValues.variantTypeId", |
@@ -45,3 +45,3 @@ import { | ||
const allReturnFields = | ||
"{abandonedCartFlows {campaignId canApplicable couponId customerFilters {sendOnlyActiveAccount sendOnlySubscribedToEmail } flowId mailSendDate mailTranslationId recoverEmailStatus sendAfter } availableShippingMethods {price rateName shippingMethod shippingSettingsId shippingZoneRateId } billingAddress {addressLine1 addressLine2 city {code id name } company country {code id iso2 iso3 name } district {code id name } firstName id identityNumber isDefault lastName phone postalCode state {code id name } taxNumber taxOffice } campaignOffers {appliedOrderLineId campaignOffer {availableSalesChannelIds createdAt deleted endDate followUpActionType id minimumRequiredCartAmount name offers {countdownMinutes description discountAmount discountType excludedVariantIdList id order productId showCriteria skipOfferIfProductExistsInCart title translations {description locale title } } startDate targetPageTypes triggerSettings {filterType valueList } type updatedAt } campaignOfferId campaignOfferProductId offerEndDate offerStartDate status targetPageTypes triggerSourceOrderLineId } cartId cartStatus checkoutId clientIp couponCode createdAt createdBy currencyCode currencyRates {code originalRate rate } currencySymbol customer {email firstName fullName id isGuestCheckout lastName notificationsAccepted phone } customerId deleted dueDate giftPackageLines {price taxValue } giftPackageNote host id isGiftPackage itemCount merchantId note orderAdjustments {amount amountType appliedOrderLines {amount appliedQuantity isAutoCreated orderLineId } campaignId campaignType couponId name order type } orderLineItems {createdAt currencyCode currencySymbol deleted discount {amount amountType campaignOfferId campaignOfferProductId maxApplicableQuantity reason } discountPrice finalPrice id options {name productOptionId productOptionsSetId type values {name price value } } originalOrderLineItemId price quantity status statusUpdatedAt stockLocationId taxValue updatedAt variant {barcodeList brand {id name } categories {categoryPath {id name } id name } id mainImageId name prices {buyPrice currency currencySymbol discountPrice priceListId sellPrice } productId sku slug tagIds taxValue type variantValues {order variantTypeId variantTypeName variantValueId variantValueName } weight } } orderNumber orderPackageStatus orderedAt priceListId recoverEmailStatus recoveryStatus salesChannelId shippingAddress {addressLine1 addressLine2 city {code id name } company country {code id iso2 iso3 name } district {code id name } firstName id identityNumber isDefault lastName phone postalCode state {code id name } taxNumber taxOffice } shippingLines {finalPrice isRefunded paymentMethod price shippingSettingsId shippingZoneRateId taxValue title } shippingMethod shippingSettingsId shippingZoneRateId status stockLocationId storefrontId storefrontRouting {domain dynamicCurrencySettings {roundingFormat targetCurrencyCode } id locale path priceListId } storefrontRoutingId storefrontThemeId taxLines {price rate } totalFinalPrice totalPrice updatedAt userAgent }"; | ||
"{abandonedCartFlows {campaignId canApplicable couponId customerFilters {sendOnlyActiveAccount sendOnlySubscribedToEmail } flowId mailSendDate mailTranslationId recoverEmailStatus sendAfter } availableShippingMethods {price rateName shippingMethod shippingSettingsId shippingZoneRateId } billingAddress {addressLine1 addressLine2 city {code id name } company country {code id iso2 iso3 name } district {code id name } firstName id identityNumber isDefault lastName phone postalCode state {code id name } taxNumber taxOffice } campaignOffers {appliedOrderLineId campaignOffer {availableSalesChannelIds createdAt deleted endDate followUpActionType id minimumRequiredCartAmount name offers {countdownMinutes description discountAmount discountType excludedVariantIdList id order productId showCriteria skipOfferIfProductExistsInCart title translations {description locale title } } startDate targetPageTypes triggerSettings {filterType valueList } type updatedAt } campaignOfferId campaignOfferProductId offerEndDate offerStartDate status targetPageTypes triggerSourceOrderLineId } cartId cartStatus checkoutId clientIp couponCode createdAt createdBy currencyCode currencyRates {code originalRate rate } currencySymbol customer {email firstName fullName id isGuestCheckout lastName notificationsAccepted phone } customerId deleted dueDate giftPackageLines {price taxValue } giftPackageNote host id isGiftPackage itemCount merchantId note orderAdjustments {amount amountType appliedOrderLines {amount appliedQuantity isAutoCreated orderLineId } campaignId campaignType couponId name order type } orderLineItems {createdAt currencyCode currencySymbol deleted discount {amount amountType campaignOfferId campaignOfferProductId maxApplicableQuantity reason } discountPrice finalPrice finalUnitPrice id options {name productOptionId productOptionsSetId type values {name price value } } originalOrderLineItemId price quantity status statusUpdatedAt stockLocationId taxValue unitPrice updatedAt variant {barcodeList baseUnit {baseAmount type unit {id name } } brand {id name } categories {categoryPath {id name } id name } id mainImageId name prices {buyPrice currency currencySymbol discountPrice priceListId sellPrice unitPrice } productId sku slug tagIds taxValue type unit {amount type } variantValues {order variantTypeId variantTypeName variantValueId variantValueName } weight } } orderNumber orderPackageStatus orderedAt priceListId recoverEmailStatus recoveryStatus salesChannelId sessionInfo {countryCode durationMS end host ip referer salesChannelId sessionId start storefrontId trafficSource {source type } userAgent {deviceType name os } utm {campaign content medium source term } visitorId } shippingAddress {addressLine1 addressLine2 city {code id name } company country {code id iso2 iso3 name } district {code id name } firstName id identityNumber isDefault lastName phone postalCode state {code id name } taxNumber taxOffice } shippingLines {finalPrice isRefunded paymentMethod price shippingSettingsId shippingZoneRateId taxValue title } shippingMethod shippingSettingsId shippingZoneRateId status stockLocationId storefrontId storefrontRouting {domain dynamicCurrencySettings {roundingFormat targetCurrencyCode } id locale path priceListId } storefrontRoutingId storefrontThemeId taxLines {price rate } totalFinalPrice totalPrice updatedAt userAgent }"; | ||
@@ -182,2 +182,3 @@ export enum ResponseField { | ||
ORDER_LINE_ITEMS__FINAL_PRICE = "orderLineItems.finalPrice", | ||
ORDER_LINE_ITEMS__FINAL_UNIT_PRICE = "orderLineItems.finalUnitPrice", | ||
ORDER_LINE_ITEMS__ID = "orderLineItems.id", | ||
@@ -198,4 +199,9 @@ ORDER_LINE_ITEMS__OPTIONS__NAME = "orderLineItems.options.name", | ||
ORDER_LINE_ITEMS__TAX_VALUE = "orderLineItems.taxValue", | ||
ORDER_LINE_ITEMS__UNIT_PRICE = "orderLineItems.unitPrice", | ||
ORDER_LINE_ITEMS__UPDATED_AT = "orderLineItems.updatedAt", | ||
ORDER_LINE_ITEMS__VARIANT__BARCODE_LIST = "orderLineItems.variant.barcodeList", | ||
ORDER_LINE_ITEMS__VARIANT__BASE_UNIT__BASE_AMOUNT = "orderLineItems.variant.baseUnit.baseAmount", | ||
ORDER_LINE_ITEMS__VARIANT__BASE_UNIT__TYPE = "orderLineItems.variant.baseUnit.type", | ||
ORDER_LINE_ITEMS__VARIANT__BASE_UNIT__UNIT__ID = "orderLineItems.variant.baseUnit.unit.id", | ||
ORDER_LINE_ITEMS__VARIANT__BASE_UNIT__UNIT__NAME = "orderLineItems.variant.baseUnit.unit.name", | ||
ORDER_LINE_ITEMS__VARIANT__BRAND__ID = "orderLineItems.variant.brand.id", | ||
@@ -216,2 +222,3 @@ ORDER_LINE_ITEMS__VARIANT__BRAND__NAME = "orderLineItems.variant.brand.name", | ||
ORDER_LINE_ITEMS__VARIANT__PRICES__SELL_PRICE = "orderLineItems.variant.prices.sellPrice", | ||
ORDER_LINE_ITEMS__VARIANT__PRICES__UNIT_PRICE = "orderLineItems.variant.prices.unitPrice", | ||
ORDER_LINE_ITEMS__VARIANT__PRODUCT_ID = "orderLineItems.variant.productId", | ||
@@ -223,2 +230,4 @@ ORDER_LINE_ITEMS__VARIANT__SKU = "orderLineItems.variant.sku", | ||
ORDER_LINE_ITEMS__VARIANT__TYPE = "orderLineItems.variant.type", | ||
ORDER_LINE_ITEMS__VARIANT__UNIT__AMOUNT = "orderLineItems.variant.unit.amount", | ||
ORDER_LINE_ITEMS__VARIANT__UNIT__TYPE = "orderLineItems.variant.unit.type", | ||
ORDER_LINE_ITEMS__VARIANT__VARIANT_VALUES__ORDER = "orderLineItems.variant.variantValues.order", | ||
@@ -237,2 +246,23 @@ ORDER_LINE_ITEMS__VARIANT__VARIANT_VALUES__VARIANT_TYPE_ID = "orderLineItems.variant.variantValues.variantTypeId", | ||
SALES_CHANNEL_ID = "salesChannelId", | ||
SESSION_INFO__COUNTRY_CODE = "sessionInfo.countryCode", | ||
SESSION_INFO__DURATION_M_S = "sessionInfo.durationMS", | ||
SESSION_INFO__END = "sessionInfo.end", | ||
SESSION_INFO__HOST = "sessionInfo.host", | ||
SESSION_INFO__IP = "sessionInfo.ip", | ||
SESSION_INFO__REFERER = "sessionInfo.referer", | ||
SESSION_INFO__SALES_CHANNEL_ID = "sessionInfo.salesChannelId", | ||
SESSION_INFO__SESSION_ID = "sessionInfo.sessionId", | ||
SESSION_INFO__START = "sessionInfo.start", | ||
SESSION_INFO__STOREFRONT_ID = "sessionInfo.storefrontId", | ||
SESSION_INFO__TRAFFIC_SOURCE__SOURCE = "sessionInfo.trafficSource.source", | ||
SESSION_INFO__TRAFFIC_SOURCE__TYPE = "sessionInfo.trafficSource.type", | ||
SESSION_INFO__USER_AGENT__DEVICE_TYPE = "sessionInfo.userAgent.deviceType", | ||
SESSION_INFO__USER_AGENT__NAME = "sessionInfo.userAgent.name", | ||
SESSION_INFO__USER_AGENT__OS = "sessionInfo.userAgent.os", | ||
SESSION_INFO__UTM__CAMPAIGN = "sessionInfo.utm.campaign", | ||
SESSION_INFO__UTM__CONTENT = "sessionInfo.utm.content", | ||
SESSION_INFO__UTM__MEDIUM = "sessionInfo.utm.medium", | ||
SESSION_INFO__UTM__SOURCE = "sessionInfo.utm.source", | ||
SESSION_INFO__UTM__TERM = "sessionInfo.utm.term", | ||
SESSION_INFO__VISITOR_ID = "sessionInfo.visitorId", | ||
SHIPPING_ADDRESS__ADDRESS_LINE1 = "shippingAddress.addressLine1", | ||
@@ -239,0 +269,0 @@ SHIPPING_ADDRESS__ADDRESS_LINE2 = "shippingAddress.addressLine2", |
@@ -48,3 +48,3 @@ import { | ||
const allReturnFields = | ||
"{abandonedCartFlows {campaignId canApplicable couponId customerFilters {sendOnlyActiveAccount sendOnlySubscribedToEmail } flowId mailSendDate mailTranslationId recoverEmailStatus sendAfter } availableShippingMethods {price rateName shippingMethod shippingSettingsId shippingZoneRateId } billingAddress {addressLine1 addressLine2 city {code id name } company country {code id iso2 iso3 name } district {code id name } firstName id identityNumber isDefault lastName phone postalCode state {code id name } taxNumber taxOffice } campaignOffers {appliedOrderLineId campaignOffer {availableSalesChannelIds createdAt deleted endDate followUpActionType id minimumRequiredCartAmount name offers {countdownMinutes description discountAmount discountType excludedVariantIdList id order productId showCriteria skipOfferIfProductExistsInCart title translations {description locale title } } startDate targetPageTypes triggerSettings {filterType valueList } type updatedAt } campaignOfferId campaignOfferProductId offerEndDate offerStartDate status targetPageTypes triggerSourceOrderLineId } cartId cartStatus checkoutId clientIp couponCode createdAt createdBy currencyCode currencyRates {code originalRate rate } currencySymbol customer {email firstName fullName id isGuestCheckout lastName notificationsAccepted phone } customerId deleted dueDate giftPackageLines {price taxValue } giftPackageNote host id isGiftPackage itemCount merchantId note orderAdjustments {amount amountType appliedOrderLines {amount appliedQuantity isAutoCreated orderLineId } campaignId campaignType couponId name order type } orderLineItems {createdAt currencyCode currencySymbol deleted discount {amount amountType campaignOfferId campaignOfferProductId maxApplicableQuantity reason } discountPrice finalPrice id options {name productOptionId productOptionsSetId type values {name price value } } originalOrderLineItemId price quantity status statusUpdatedAt stockLocationId taxValue updatedAt variant {barcodeList brand {id name } categories {categoryPath {id name } id name } id mainImageId name prices {buyPrice currency currencySymbol discountPrice priceListId sellPrice } productId sku slug tagIds taxValue type variantValues {order variantTypeId variantTypeName variantValueId variantValueName } weight } } orderNumber orderPackageStatus orderedAt priceListId recoverEmailStatus recoveryStatus salesChannelId shippingAddress {addressLine1 addressLine2 city {code id name } company country {code id iso2 iso3 name } district {code id name } firstName id identityNumber isDefault lastName phone postalCode state {code id name } taxNumber taxOffice } shippingLines {finalPrice isRefunded paymentMethod price shippingSettingsId shippingZoneRateId taxValue title } shippingMethod shippingSettingsId shippingZoneRateId status stockLocationId storefrontId storefrontRouting {domain dynamicCurrencySettings {roundingFormat targetCurrencyCode } id locale path priceListId } storefrontRoutingId storefrontThemeId taxLines {price rate } totalFinalPrice totalPrice updatedAt userAgent }"; | ||
"{abandonedCartFlows {campaignId canApplicable couponId customerFilters {sendOnlyActiveAccount sendOnlySubscribedToEmail } flowId mailSendDate mailTranslationId recoverEmailStatus sendAfter } availableShippingMethods {price rateName shippingMethod shippingSettingsId shippingZoneRateId } billingAddress {addressLine1 addressLine2 city {code id name } company country {code id iso2 iso3 name } district {code id name } firstName id identityNumber isDefault lastName phone postalCode state {code id name } taxNumber taxOffice } campaignOffers {appliedOrderLineId campaignOffer {availableSalesChannelIds createdAt deleted endDate followUpActionType id minimumRequiredCartAmount name offers {countdownMinutes description discountAmount discountType excludedVariantIdList id order productId showCriteria skipOfferIfProductExistsInCart title translations {description locale title } } startDate targetPageTypes triggerSettings {filterType valueList } type updatedAt } campaignOfferId campaignOfferProductId offerEndDate offerStartDate status targetPageTypes triggerSourceOrderLineId } cartId cartStatus checkoutId clientIp couponCode createdAt createdBy currencyCode currencyRates {code originalRate rate } currencySymbol customer {email firstName fullName id isGuestCheckout lastName notificationsAccepted phone } customerId deleted dueDate giftPackageLines {price taxValue } giftPackageNote host id isGiftPackage itemCount merchantId note orderAdjustments {amount amountType appliedOrderLines {amount appliedQuantity isAutoCreated orderLineId } campaignId campaignType couponId name order type } orderLineItems {createdAt currencyCode currencySymbol deleted discount {amount amountType campaignOfferId campaignOfferProductId maxApplicableQuantity reason } discountPrice finalPrice finalUnitPrice id options {name productOptionId productOptionsSetId type values {name price value } } originalOrderLineItemId price quantity status statusUpdatedAt stockLocationId taxValue unitPrice updatedAt variant {barcodeList baseUnit {baseAmount type unit {id name } } brand {id name } categories {categoryPath {id name } id name } id mainImageId name prices {buyPrice currency currencySymbol discountPrice priceListId sellPrice unitPrice } productId sku slug tagIds taxValue type unit {amount type } variantValues {order variantTypeId variantTypeName variantValueId variantValueName } weight } } orderNumber orderPackageStatus orderedAt priceListId recoverEmailStatus recoveryStatus salesChannelId sessionInfo {countryCode durationMS end host ip referer salesChannelId sessionId start storefrontId trafficSource {source type } userAgent {deviceType name os } utm {campaign content medium source term } visitorId } shippingAddress {addressLine1 addressLine2 city {code id name } company country {code id iso2 iso3 name } district {code id name } firstName id identityNumber isDefault lastName phone postalCode state {code id name } taxNumber taxOffice } shippingLines {finalPrice isRefunded paymentMethod price shippingSettingsId shippingZoneRateId taxValue title } shippingMethod shippingSettingsId shippingZoneRateId status stockLocationId storefrontId storefrontRouting {domain dynamicCurrencySettings {roundingFormat targetCurrencyCode } id locale path priceListId } storefrontRoutingId storefrontThemeId taxLines {price rate } totalFinalPrice totalPrice updatedAt userAgent }"; | ||
@@ -185,2 +185,3 @@ export enum ResponseField { | ||
ORDER_LINE_ITEMS__FINAL_PRICE = "orderLineItems.finalPrice", | ||
ORDER_LINE_ITEMS__FINAL_UNIT_PRICE = "orderLineItems.finalUnitPrice", | ||
ORDER_LINE_ITEMS__ID = "orderLineItems.id", | ||
@@ -201,4 +202,9 @@ ORDER_LINE_ITEMS__OPTIONS__NAME = "orderLineItems.options.name", | ||
ORDER_LINE_ITEMS__TAX_VALUE = "orderLineItems.taxValue", | ||
ORDER_LINE_ITEMS__UNIT_PRICE = "orderLineItems.unitPrice", | ||
ORDER_LINE_ITEMS__UPDATED_AT = "orderLineItems.updatedAt", | ||
ORDER_LINE_ITEMS__VARIANT__BARCODE_LIST = "orderLineItems.variant.barcodeList", | ||
ORDER_LINE_ITEMS__VARIANT__BASE_UNIT__BASE_AMOUNT = "orderLineItems.variant.baseUnit.baseAmount", | ||
ORDER_LINE_ITEMS__VARIANT__BASE_UNIT__TYPE = "orderLineItems.variant.baseUnit.type", | ||
ORDER_LINE_ITEMS__VARIANT__BASE_UNIT__UNIT__ID = "orderLineItems.variant.baseUnit.unit.id", | ||
ORDER_LINE_ITEMS__VARIANT__BASE_UNIT__UNIT__NAME = "orderLineItems.variant.baseUnit.unit.name", | ||
ORDER_LINE_ITEMS__VARIANT__BRAND__ID = "orderLineItems.variant.brand.id", | ||
@@ -219,2 +225,3 @@ ORDER_LINE_ITEMS__VARIANT__BRAND__NAME = "orderLineItems.variant.brand.name", | ||
ORDER_LINE_ITEMS__VARIANT__PRICES__SELL_PRICE = "orderLineItems.variant.prices.sellPrice", | ||
ORDER_LINE_ITEMS__VARIANT__PRICES__UNIT_PRICE = "orderLineItems.variant.prices.unitPrice", | ||
ORDER_LINE_ITEMS__VARIANT__PRODUCT_ID = "orderLineItems.variant.productId", | ||
@@ -226,2 +233,4 @@ ORDER_LINE_ITEMS__VARIANT__SKU = "orderLineItems.variant.sku", | ||
ORDER_LINE_ITEMS__VARIANT__TYPE = "orderLineItems.variant.type", | ||
ORDER_LINE_ITEMS__VARIANT__UNIT__AMOUNT = "orderLineItems.variant.unit.amount", | ||
ORDER_LINE_ITEMS__VARIANT__UNIT__TYPE = "orderLineItems.variant.unit.type", | ||
ORDER_LINE_ITEMS__VARIANT__VARIANT_VALUES__ORDER = "orderLineItems.variant.variantValues.order", | ||
@@ -240,2 +249,23 @@ ORDER_LINE_ITEMS__VARIANT__VARIANT_VALUES__VARIANT_TYPE_ID = "orderLineItems.variant.variantValues.variantTypeId", | ||
SALES_CHANNEL_ID = "salesChannelId", | ||
SESSION_INFO__COUNTRY_CODE = "sessionInfo.countryCode", | ||
SESSION_INFO__DURATION_M_S = "sessionInfo.durationMS", | ||
SESSION_INFO__END = "sessionInfo.end", | ||
SESSION_INFO__HOST = "sessionInfo.host", | ||
SESSION_INFO__IP = "sessionInfo.ip", | ||
SESSION_INFO__REFERER = "sessionInfo.referer", | ||
SESSION_INFO__SALES_CHANNEL_ID = "sessionInfo.salesChannelId", | ||
SESSION_INFO__SESSION_ID = "sessionInfo.sessionId", | ||
SESSION_INFO__START = "sessionInfo.start", | ||
SESSION_INFO__STOREFRONT_ID = "sessionInfo.storefrontId", | ||
SESSION_INFO__TRAFFIC_SOURCE__SOURCE = "sessionInfo.trafficSource.source", | ||
SESSION_INFO__TRAFFIC_SOURCE__TYPE = "sessionInfo.trafficSource.type", | ||
SESSION_INFO__USER_AGENT__DEVICE_TYPE = "sessionInfo.userAgent.deviceType", | ||
SESSION_INFO__USER_AGENT__NAME = "sessionInfo.userAgent.name", | ||
SESSION_INFO__USER_AGENT__OS = "sessionInfo.userAgent.os", | ||
SESSION_INFO__UTM__CAMPAIGN = "sessionInfo.utm.campaign", | ||
SESSION_INFO__UTM__CONTENT = "sessionInfo.utm.content", | ||
SESSION_INFO__UTM__MEDIUM = "sessionInfo.utm.medium", | ||
SESSION_INFO__UTM__SOURCE = "sessionInfo.utm.source", | ||
SESSION_INFO__UTM__TERM = "sessionInfo.utm.term", | ||
SESSION_INFO__VISITOR_ID = "sessionInfo.visitorId", | ||
SHIPPING_ADDRESS__ADDRESS_LINE1 = "shippingAddress.addressLine1", | ||
@@ -242,0 +272,0 @@ SHIPPING_ADDRESS__ADDRESS_LINE2 = "shippingAddress.addressLine2", |
@@ -45,3 +45,3 @@ import { | ||
const allReturnFields = | ||
"{abandonedCheckoutFlows {campaignId canApplicable couponId customerFilters {sendOnlyActiveAccount sendOnlySubscribedToEmail } flowId mailSendDate mailTranslationId recoverEmailStatus sendAfter } adjustments {amount amountType appliedOrderLines {amount appliedQuantity isAutoCreated orderLineId } campaignId campaignType couponId name order type } availableShippingMethods {price rateName shippingMethod shippingSettingsId shippingZoneRateId } billingAddress {addressLine1 addressLine2 city {code id name } company country {code id iso2 iso3 name } district {code id name } firstName id identityNumber isDefault lastName phone postalCode state {code id name } taxNumber taxOffice } cart {campaignOffers {appliedOrderLineId campaignOfferId campaignOfferProductId offerEndDate offerStartDate status targetPageTypes triggerSourceOrderLineId } createdAt createdBy currencyCode currencySymbol customerId deleted dueDate id itemCount items {createdAt currencyCode currencySymbol deleted discount {amount amountType campaignOfferId campaignOfferProductId maxApplicableQuantity reason } discountPrice finalPrice id options {name productOptionId productOptionsSetId type values {name price value } } originalOrderLineItemId price quantity status statusUpdatedAt stockLocationId taxValue updatedAt variant {barcodeList brand {id name } categories {categoryPath {id name } id name } id mainImageId name prices {buyPrice currency currencySymbol discountPrice priceListId sellPrice } productId sku slug tagIds taxValue type variantValues {order variantTypeId variantTypeName variantValueId variantValueName } weight } } merchantId priceListId salesChannelId status storefrontId storefrontRouting {domain dynamicCurrencySettings {roundingFormat targetCurrencyCode targetCurrencySymbol } id locale path priceListId } storefrontRoutingId storefrontThemeId taxLines {price rate } totalPrice updatedAt } cartId couponCode createdAt customer {accountStatus customerGroupIds email firstName id identityNumber lastName notificationsAccepted phone subscriptionStatus } deleted giftPackageLines {price taxValue } giftPackageNote id isGiftPackage merchantId note orderId orderNumber orderedAt recoverEmailStatus recoveryStatus shippingAddress {addressLine1 addressLine2 city {code id name } company country {code id iso2 iso3 name } district {code id name } firstName id identityNumber isDefault lastName phone postalCode state {code id name } taxNumber taxOffice } shippingLines {finalPrice isRefunded paymentMethod price shippingSettingsId shippingZoneRateId taxValue title } shippingMethod shippingSettingsId shippingZoneRateId status stockLocationId totalFinalPrice updatedAt }"; | ||
"{abandonedCheckoutFlows {campaignId canApplicable couponId customerFilters {sendOnlyActiveAccount sendOnlySubscribedToEmail } flowId mailSendDate mailTranslationId recoverEmailStatus sendAfter } adjustments {amount amountType appliedOrderLines {amount appliedQuantity isAutoCreated orderLineId } campaignId campaignType couponId name order type } availableShippingMethods {price rateName shippingMethod shippingSettingsId shippingZoneRateId } billingAddress {addressLine1 addressLine2 city {code id name } company country {code id iso2 iso3 name } district {code id name } firstName id identityNumber isDefault lastName phone postalCode state {code id name } taxNumber taxOffice } cart {campaignOffers {appliedOrderLineId campaignOfferId campaignOfferProductId offerEndDate offerStartDate status targetPageTypes triggerSourceOrderLineId } createdAt createdBy currencyCode currencySymbol customerId deleted dueDate id itemCount items {createdAt currencyCode currencySymbol deleted discount {amount amountType campaignOfferId campaignOfferProductId maxApplicableQuantity reason } discountPrice finalPrice finalUnitPrice id options {name productOptionId productOptionsSetId type values {name price value } } originalOrderLineItemId price quantity status statusUpdatedAt stockLocationId taxValue unitPrice updatedAt variant {barcodeList baseUnit {baseAmount type unit {id name } } brand {id name } categories {categoryPath {id name } id name } id mainImageId name prices {buyPrice currency currencySymbol discountPrice priceListId sellPrice unitPrice } productId sku slug tagIds taxValue type unit {amount type } variantValues {order variantTypeId variantTypeName variantValueId variantValueName } weight } } merchantId priceListId salesChannelId status storefrontId storefrontRouting {domain dynamicCurrencySettings {roundingFormat targetCurrencyCode targetCurrencySymbol } id locale path priceListId } storefrontRoutingId storefrontThemeId taxLines {price rate } totalPrice updatedAt } cartId couponCode createdAt customer {accountStatus customerGroupIds email firstName id identityNumber lastName notificationsAccepted phone subscriptionStatus } deleted giftPackageLines {price taxValue } giftPackageNote id isGiftPackage merchantId note orderId orderNumber orderedAt recoverEmailStatus recoveryStatus shippingAddress {addressLine1 addressLine2 city {code id name } company country {code id iso2 iso3 name } district {code id name } firstName id identityNumber isDefault lastName phone postalCode state {code id name } taxNumber taxOffice } shippingLines {finalPrice isRefunded paymentMethod price shippingSettingsId shippingZoneRateId taxValue title } shippingMethod shippingSettingsId shippingZoneRateId status stockLocationId totalFinalPrice updatedAt }"; | ||
@@ -131,2 +131,3 @@ export enum ResponseField { | ||
CART__ITEMS__FINAL_PRICE = "cart.items.finalPrice", | ||
CART__ITEMS__FINAL_UNIT_PRICE = "cart.items.finalUnitPrice", | ||
CART__ITEMS__ID = "cart.items.id", | ||
@@ -147,4 +148,9 @@ CART__ITEMS__OPTIONS__NAME = "cart.items.options.name", | ||
CART__ITEMS__TAX_VALUE = "cart.items.taxValue", | ||
CART__ITEMS__UNIT_PRICE = "cart.items.unitPrice", | ||
CART__ITEMS__UPDATED_AT = "cart.items.updatedAt", | ||
CART__ITEMS__VARIANT__BARCODE_LIST = "cart.items.variant.barcodeList", | ||
CART__ITEMS__VARIANT__BASE_UNIT__BASE_AMOUNT = "cart.items.variant.baseUnit.baseAmount", | ||
CART__ITEMS__VARIANT__BASE_UNIT__TYPE = "cart.items.variant.baseUnit.type", | ||
CART__ITEMS__VARIANT__BASE_UNIT__UNIT__ID = "cart.items.variant.baseUnit.unit.id", | ||
CART__ITEMS__VARIANT__BASE_UNIT__UNIT__NAME = "cart.items.variant.baseUnit.unit.name", | ||
CART__ITEMS__VARIANT__BRAND__ID = "cart.items.variant.brand.id", | ||
@@ -165,2 +171,3 @@ CART__ITEMS__VARIANT__BRAND__NAME = "cart.items.variant.brand.name", | ||
CART__ITEMS__VARIANT__PRICES__SELL_PRICE = "cart.items.variant.prices.sellPrice", | ||
CART__ITEMS__VARIANT__PRICES__UNIT_PRICE = "cart.items.variant.prices.unitPrice", | ||
CART__ITEMS__VARIANT__PRODUCT_ID = "cart.items.variant.productId", | ||
@@ -172,2 +179,4 @@ CART__ITEMS__VARIANT__SKU = "cart.items.variant.sku", | ||
CART__ITEMS__VARIANT__TYPE = "cart.items.variant.type", | ||
CART__ITEMS__VARIANT__UNIT__AMOUNT = "cart.items.variant.unit.amount", | ||
CART__ITEMS__VARIANT__UNIT__TYPE = "cart.items.variant.unit.type", | ||
CART__ITEMS__VARIANT__VARIANT_VALUES__ORDER = "cart.items.variant.variantValues.order", | ||
@@ -174,0 +183,0 @@ CART__ITEMS__VARIANT__VARIANT_VALUES__VARIANT_TYPE_ID = "cart.items.variant.variantValues.variantTypeId", |
@@ -45,3 +45,3 @@ import { | ||
const allReturnFields = | ||
"{campaignOffers {appliedOrderLineId campaignOfferId campaignOfferProductId offerEndDate offerStartDate status targetPageTypes triggerSourceOrderLineId } createdAt createdBy currencyCode currencySymbol customerId deleted dueDate id itemCount items {createdAt currencyCode currencySymbol deleted discount {amount amountType campaignOfferId campaignOfferProductId maxApplicableQuantity reason } discountPrice finalPrice id options {name productOptionId productOptionsSetId type values {name price value } } originalOrderLineItemId price quantity status statusUpdatedAt stockLocationId taxValue updatedAt variant {barcodeList brand {id name } categories {categoryPath {id name } id name } id mainImageId name prices {buyPrice currency currencySymbol discountPrice priceListId sellPrice } productId sku slug tagIds taxValue type variantValues {order variantTypeId variantTypeName variantValueId variantValueName } weight } } merchantId priceListId salesChannelId status storefrontId storefrontRouting {domain dynamicCurrencySettings {roundingFormat targetCurrencyCode targetCurrencySymbol } id locale path priceListId } storefrontRoutingId storefrontThemeId taxLines {price rate } totalPrice updatedAt }"; | ||
"{campaignOffers {appliedOrderLineId campaignOfferId campaignOfferProductId offerEndDate offerStartDate status targetPageTypes triggerSourceOrderLineId } createdAt createdBy currencyCode currencySymbol customerId deleted dueDate id itemCount items {createdAt currencyCode currencySymbol deleted discount {amount amountType campaignOfferId campaignOfferProductId maxApplicableQuantity reason } discountPrice finalPrice finalUnitPrice id options {name productOptionId productOptionsSetId type values {name price value } } originalOrderLineItemId price quantity status statusUpdatedAt stockLocationId taxValue unitPrice updatedAt variant {barcodeList baseUnit {baseAmount type unit {id name } } brand {id name } categories {categoryPath {id name } id name } id mainImageId name prices {buyPrice currency currencySymbol discountPrice priceListId sellPrice unitPrice } productId sku slug tagIds taxValue type unit {amount type } variantValues {order variantTypeId variantTypeName variantValueId variantValueName } weight } } merchantId priceListId salesChannelId status storefrontId storefrontRouting {domain dynamicCurrencySettings {roundingFormat targetCurrencyCode targetCurrencySymbol } id locale path priceListId } storefrontRoutingId storefrontThemeId taxLines {price rate } totalPrice updatedAt }"; | ||
@@ -78,2 +78,3 @@ export enum ResponseField { | ||
ITEMS__FINAL_PRICE = "items.finalPrice", | ||
ITEMS__FINAL_UNIT_PRICE = "items.finalUnitPrice", | ||
ITEMS__ID = "items.id", | ||
@@ -94,4 +95,9 @@ ITEMS__OPTIONS__NAME = "items.options.name", | ||
ITEMS__TAX_VALUE = "items.taxValue", | ||
ITEMS__UNIT_PRICE = "items.unitPrice", | ||
ITEMS__UPDATED_AT = "items.updatedAt", | ||
ITEMS__VARIANT__BARCODE_LIST = "items.variant.barcodeList", | ||
ITEMS__VARIANT__BASE_UNIT__BASE_AMOUNT = "items.variant.baseUnit.baseAmount", | ||
ITEMS__VARIANT__BASE_UNIT__TYPE = "items.variant.baseUnit.type", | ||
ITEMS__VARIANT__BASE_UNIT__UNIT__ID = "items.variant.baseUnit.unit.id", | ||
ITEMS__VARIANT__BASE_UNIT__UNIT__NAME = "items.variant.baseUnit.unit.name", | ||
ITEMS__VARIANT__BRAND__ID = "items.variant.brand.id", | ||
@@ -112,2 +118,3 @@ ITEMS__VARIANT__BRAND__NAME = "items.variant.brand.name", | ||
ITEMS__VARIANT__PRICES__SELL_PRICE = "items.variant.prices.sellPrice", | ||
ITEMS__VARIANT__PRICES__UNIT_PRICE = "items.variant.prices.unitPrice", | ||
ITEMS__VARIANT__PRODUCT_ID = "items.variant.productId", | ||
@@ -119,2 +126,4 @@ ITEMS__VARIANT__SKU = "items.variant.sku", | ||
ITEMS__VARIANT__TYPE = "items.variant.type", | ||
ITEMS__VARIANT__UNIT__AMOUNT = "items.variant.unit.amount", | ||
ITEMS__VARIANT__UNIT__TYPE = "items.variant.unit.type", | ||
ITEMS__VARIANT__VARIANT_VALUES__ORDER = "items.variant.variantValues.order", | ||
@@ -121,0 +130,0 @@ ITEMS__VARIANT__VARIANT_VALUES__VARIANT_TYPE_ID = "items.variant.variantValues.variantTypeId", |
@@ -45,3 +45,3 @@ import { | ||
const allReturnFields = | ||
"{abandonedCartFlows {campaignId canApplicable couponId customerFilters {sendOnlyActiveAccount sendOnlySubscribedToEmail } flowId mailSendDate mailTranslationId recoverEmailStatus sendAfter } availableShippingMethods {price rateName shippingMethod shippingSettingsId shippingZoneRateId } billingAddress {addressLine1 addressLine2 city {code id name } company country {code id iso2 iso3 name } district {code id name } firstName id identityNumber isDefault lastName phone postalCode state {code id name } taxNumber taxOffice } campaignOffers {appliedOrderLineId campaignOffer {availableSalesChannelIds createdAt deleted endDate followUpActionType id minimumRequiredCartAmount name offers {countdownMinutes description discountAmount discountType excludedVariantIdList id order productId showCriteria skipOfferIfProductExistsInCart title translations {description locale title } } startDate targetPageTypes triggerSettings {filterType valueList } type updatedAt } campaignOfferId campaignOfferProductId offerEndDate offerStartDate status targetPageTypes triggerSourceOrderLineId } cartId cartStatus checkoutId clientIp couponCode createdAt createdBy currencyCode currencyRates {code originalRate rate } currencySymbol customer {email firstName fullName id isGuestCheckout lastName notificationsAccepted phone } customerId deleted dueDate giftPackageLines {price taxValue } giftPackageNote host id isGiftPackage itemCount merchantId note orderAdjustments {amount amountType appliedOrderLines {amount appliedQuantity isAutoCreated orderLineId } campaignId campaignType couponId name order type } orderLineItems {createdAt currencyCode currencySymbol deleted discount {amount amountType campaignOfferId campaignOfferProductId maxApplicableQuantity reason } discountPrice finalPrice id options {name productOptionId productOptionsSetId type values {name price value } } originalOrderLineItemId price quantity status statusUpdatedAt stockLocationId taxValue updatedAt variant {barcodeList brand {id name } categories {categoryPath {id name } id name } id mainImageId name prices {buyPrice currency currencySymbol discountPrice priceListId sellPrice } productId sku slug tagIds taxValue type variantValues {order variantTypeId variantTypeName variantValueId variantValueName } weight } } orderNumber orderPackageStatus orderedAt priceListId recoverEmailStatus recoveryStatus salesChannelId shippingAddress {addressLine1 addressLine2 city {code id name } company country {code id iso2 iso3 name } district {code id name } firstName id identityNumber isDefault lastName phone postalCode state {code id name } taxNumber taxOffice } shippingLines {finalPrice isRefunded paymentMethod price shippingSettingsId shippingZoneRateId taxValue title } shippingMethod shippingSettingsId shippingZoneRateId status stockLocationId storefrontId storefrontRouting {domain dynamicCurrencySettings {roundingFormat targetCurrencyCode } id locale path priceListId } storefrontRoutingId storefrontThemeId taxLines {price rate } totalFinalPrice totalPrice updatedAt userAgent }"; | ||
"{abandonedCartFlows {campaignId canApplicable couponId customerFilters {sendOnlyActiveAccount sendOnlySubscribedToEmail } flowId mailSendDate mailTranslationId recoverEmailStatus sendAfter } availableShippingMethods {price rateName shippingMethod shippingSettingsId shippingZoneRateId } billingAddress {addressLine1 addressLine2 city {code id name } company country {code id iso2 iso3 name } district {code id name } firstName id identityNumber isDefault lastName phone postalCode state {code id name } taxNumber taxOffice } campaignOffers {appliedOrderLineId campaignOffer {availableSalesChannelIds createdAt deleted endDate followUpActionType id minimumRequiredCartAmount name offers {countdownMinutes description discountAmount discountType excludedVariantIdList id order productId showCriteria skipOfferIfProductExistsInCart title translations {description locale title } } startDate targetPageTypes triggerSettings {filterType valueList } type updatedAt } campaignOfferId campaignOfferProductId offerEndDate offerStartDate status targetPageTypes triggerSourceOrderLineId } cartId cartStatus checkoutId clientIp couponCode createdAt createdBy currencyCode currencyRates {code originalRate rate } currencySymbol customer {email firstName fullName id isGuestCheckout lastName notificationsAccepted phone } customerId deleted dueDate giftPackageLines {price taxValue } giftPackageNote host id isGiftPackage itemCount merchantId note orderAdjustments {amount amountType appliedOrderLines {amount appliedQuantity isAutoCreated orderLineId } campaignId campaignType couponId name order type } orderLineItems {createdAt currencyCode currencySymbol deleted discount {amount amountType campaignOfferId campaignOfferProductId maxApplicableQuantity reason } discountPrice finalPrice finalUnitPrice id options {name productOptionId productOptionsSetId type values {name price value } } originalOrderLineItemId price quantity status statusUpdatedAt stockLocationId taxValue unitPrice updatedAt variant {barcodeList baseUnit {baseAmount type unit {id name } } brand {id name } categories {categoryPath {id name } id name } id mainImageId name prices {buyPrice currency currencySymbol discountPrice priceListId sellPrice unitPrice } productId sku slug tagIds taxValue type unit {amount type } variantValues {order variantTypeId variantTypeName variantValueId variantValueName } weight } } orderNumber orderPackageStatus orderedAt priceListId recoverEmailStatus recoveryStatus salesChannelId sessionInfo {countryCode durationMS end host ip referer salesChannelId sessionId start storefrontId trafficSource {source type } userAgent {deviceType name os } utm {campaign content medium source term } visitorId } shippingAddress {addressLine1 addressLine2 city {code id name } company country {code id iso2 iso3 name } district {code id name } firstName id identityNumber isDefault lastName phone postalCode state {code id name } taxNumber taxOffice } shippingLines {finalPrice isRefunded paymentMethod price shippingSettingsId shippingZoneRateId taxValue title } shippingMethod shippingSettingsId shippingZoneRateId status stockLocationId storefrontId storefrontRouting {domain dynamicCurrencySettings {roundingFormat targetCurrencyCode } id locale path priceListId } storefrontRoutingId storefrontThemeId taxLines {price rate } totalFinalPrice totalPrice updatedAt userAgent }"; | ||
@@ -182,2 +182,3 @@ export enum ResponseField { | ||
ORDER_LINE_ITEMS__FINAL_PRICE = "orderLineItems.finalPrice", | ||
ORDER_LINE_ITEMS__FINAL_UNIT_PRICE = "orderLineItems.finalUnitPrice", | ||
ORDER_LINE_ITEMS__ID = "orderLineItems.id", | ||
@@ -198,4 +199,9 @@ ORDER_LINE_ITEMS__OPTIONS__NAME = "orderLineItems.options.name", | ||
ORDER_LINE_ITEMS__TAX_VALUE = "orderLineItems.taxValue", | ||
ORDER_LINE_ITEMS__UNIT_PRICE = "orderLineItems.unitPrice", | ||
ORDER_LINE_ITEMS__UPDATED_AT = "orderLineItems.updatedAt", | ||
ORDER_LINE_ITEMS__VARIANT__BARCODE_LIST = "orderLineItems.variant.barcodeList", | ||
ORDER_LINE_ITEMS__VARIANT__BASE_UNIT__BASE_AMOUNT = "orderLineItems.variant.baseUnit.baseAmount", | ||
ORDER_LINE_ITEMS__VARIANT__BASE_UNIT__TYPE = "orderLineItems.variant.baseUnit.type", | ||
ORDER_LINE_ITEMS__VARIANT__BASE_UNIT__UNIT__ID = "orderLineItems.variant.baseUnit.unit.id", | ||
ORDER_LINE_ITEMS__VARIANT__BASE_UNIT__UNIT__NAME = "orderLineItems.variant.baseUnit.unit.name", | ||
ORDER_LINE_ITEMS__VARIANT__BRAND__ID = "orderLineItems.variant.brand.id", | ||
@@ -216,2 +222,3 @@ ORDER_LINE_ITEMS__VARIANT__BRAND__NAME = "orderLineItems.variant.brand.name", | ||
ORDER_LINE_ITEMS__VARIANT__PRICES__SELL_PRICE = "orderLineItems.variant.prices.sellPrice", | ||
ORDER_LINE_ITEMS__VARIANT__PRICES__UNIT_PRICE = "orderLineItems.variant.prices.unitPrice", | ||
ORDER_LINE_ITEMS__VARIANT__PRODUCT_ID = "orderLineItems.variant.productId", | ||
@@ -223,2 +230,4 @@ ORDER_LINE_ITEMS__VARIANT__SKU = "orderLineItems.variant.sku", | ||
ORDER_LINE_ITEMS__VARIANT__TYPE = "orderLineItems.variant.type", | ||
ORDER_LINE_ITEMS__VARIANT__UNIT__AMOUNT = "orderLineItems.variant.unit.amount", | ||
ORDER_LINE_ITEMS__VARIANT__UNIT__TYPE = "orderLineItems.variant.unit.type", | ||
ORDER_LINE_ITEMS__VARIANT__VARIANT_VALUES__ORDER = "orderLineItems.variant.variantValues.order", | ||
@@ -237,2 +246,23 @@ ORDER_LINE_ITEMS__VARIANT__VARIANT_VALUES__VARIANT_TYPE_ID = "orderLineItems.variant.variantValues.variantTypeId", | ||
SALES_CHANNEL_ID = "salesChannelId", | ||
SESSION_INFO__COUNTRY_CODE = "sessionInfo.countryCode", | ||
SESSION_INFO__DURATION_M_S = "sessionInfo.durationMS", | ||
SESSION_INFO__END = "sessionInfo.end", | ||
SESSION_INFO__HOST = "sessionInfo.host", | ||
SESSION_INFO__IP = "sessionInfo.ip", | ||
SESSION_INFO__REFERER = "sessionInfo.referer", | ||
SESSION_INFO__SALES_CHANNEL_ID = "sessionInfo.salesChannelId", | ||
SESSION_INFO__SESSION_ID = "sessionInfo.sessionId", | ||
SESSION_INFO__START = "sessionInfo.start", | ||
SESSION_INFO__STOREFRONT_ID = "sessionInfo.storefrontId", | ||
SESSION_INFO__TRAFFIC_SOURCE__SOURCE = "sessionInfo.trafficSource.source", | ||
SESSION_INFO__TRAFFIC_SOURCE__TYPE = "sessionInfo.trafficSource.type", | ||
SESSION_INFO__USER_AGENT__DEVICE_TYPE = "sessionInfo.userAgent.deviceType", | ||
SESSION_INFO__USER_AGENT__NAME = "sessionInfo.userAgent.name", | ||
SESSION_INFO__USER_AGENT__OS = "sessionInfo.userAgent.os", | ||
SESSION_INFO__UTM__CAMPAIGN = "sessionInfo.utm.campaign", | ||
SESSION_INFO__UTM__CONTENT = "sessionInfo.utm.content", | ||
SESSION_INFO__UTM__MEDIUM = "sessionInfo.utm.medium", | ||
SESSION_INFO__UTM__SOURCE = "sessionInfo.utm.source", | ||
SESSION_INFO__UTM__TERM = "sessionInfo.utm.term", | ||
SESSION_INFO__VISITOR_ID = "sessionInfo.visitorId", | ||
SHIPPING_ADDRESS__ADDRESS_LINE1 = "shippingAddress.addressLine1", | ||
@@ -239,0 +269,0 @@ SHIPPING_ADDRESS__ADDRESS_LINE2 = "shippingAddress.addressLine2", |
@@ -51,3 +51,3 @@ import { | ||
const allReturnFields = | ||
"{campaignOffers {appliedOrderLineId campaignOfferId campaignOfferProductId offerEndDate offerStartDate status targetPageTypes triggerSourceOrderLineId } createdAt createdBy currencyCode currencySymbol customerId deleted dueDate id itemCount items {createdAt currencyCode currencySymbol deleted discount {amount amountType campaignOfferId campaignOfferProductId maxApplicableQuantity reason } discountPrice finalPrice id options {name productOptionId productOptionsSetId type values {name price value } } originalOrderLineItemId price quantity status statusUpdatedAt stockLocationId taxValue updatedAt variant {barcodeList brand {id name } categories {categoryPath {id name } id name } id mainImageId name prices {buyPrice currency currencySymbol discountPrice priceListId sellPrice } productId sku slug tagIds taxValue type variantValues {order variantTypeId variantTypeName variantValueId variantValueName } weight } } merchantId priceListId salesChannelId status storefrontId storefrontRouting {domain dynamicCurrencySettings {roundingFormat targetCurrencyCode targetCurrencySymbol } id locale path priceListId } storefrontRoutingId storefrontThemeId taxLines {price rate } totalPrice updatedAt }"; | ||
"{campaignOffers {appliedOrderLineId campaignOfferId campaignOfferProductId offerEndDate offerStartDate status targetPageTypes triggerSourceOrderLineId } createdAt createdBy currencyCode currencySymbol customerId deleted dueDate id itemCount items {createdAt currencyCode currencySymbol deleted discount {amount amountType campaignOfferId campaignOfferProductId maxApplicableQuantity reason } discountPrice finalPrice finalUnitPrice id options {name productOptionId productOptionsSetId type values {name price value } } originalOrderLineItemId price quantity status statusUpdatedAt stockLocationId taxValue unitPrice updatedAt variant {barcodeList baseUnit {baseAmount type unit {id name } } brand {id name } categories {categoryPath {id name } id name } id mainImageId name prices {buyPrice currency currencySymbol discountPrice priceListId sellPrice unitPrice } productId sku slug tagIds taxValue type unit {amount type } variantValues {order variantTypeId variantTypeName variantValueId variantValueName } weight } } merchantId priceListId salesChannelId status storefrontId storefrontRouting {domain dynamicCurrencySettings {roundingFormat targetCurrencyCode targetCurrencySymbol } id locale path priceListId } storefrontRoutingId storefrontThemeId taxLines {price rate } totalPrice updatedAt }"; | ||
@@ -84,2 +84,3 @@ export enum ResponseField { | ||
ITEMS__FINAL_PRICE = "items.finalPrice", | ||
ITEMS__FINAL_UNIT_PRICE = "items.finalUnitPrice", | ||
ITEMS__ID = "items.id", | ||
@@ -100,4 +101,9 @@ ITEMS__OPTIONS__NAME = "items.options.name", | ||
ITEMS__TAX_VALUE = "items.taxValue", | ||
ITEMS__UNIT_PRICE = "items.unitPrice", | ||
ITEMS__UPDATED_AT = "items.updatedAt", | ||
ITEMS__VARIANT__BARCODE_LIST = "items.variant.barcodeList", | ||
ITEMS__VARIANT__BASE_UNIT__BASE_AMOUNT = "items.variant.baseUnit.baseAmount", | ||
ITEMS__VARIANT__BASE_UNIT__TYPE = "items.variant.baseUnit.type", | ||
ITEMS__VARIANT__BASE_UNIT__UNIT__ID = "items.variant.baseUnit.unit.id", | ||
ITEMS__VARIANT__BASE_UNIT__UNIT__NAME = "items.variant.baseUnit.unit.name", | ||
ITEMS__VARIANT__BRAND__ID = "items.variant.brand.id", | ||
@@ -118,2 +124,3 @@ ITEMS__VARIANT__BRAND__NAME = "items.variant.brand.name", | ||
ITEMS__VARIANT__PRICES__SELL_PRICE = "items.variant.prices.sellPrice", | ||
ITEMS__VARIANT__PRICES__UNIT_PRICE = "items.variant.prices.unitPrice", | ||
ITEMS__VARIANT__PRODUCT_ID = "items.variant.productId", | ||
@@ -125,2 +132,4 @@ ITEMS__VARIANT__SKU = "items.variant.sku", | ||
ITEMS__VARIANT__TYPE = "items.variant.type", | ||
ITEMS__VARIANT__UNIT__AMOUNT = "items.variant.unit.amount", | ||
ITEMS__VARIANT__UNIT__TYPE = "items.variant.unit.type", | ||
ITEMS__VARIANT__VARIANT_VALUES__ORDER = "items.variant.variantValues.order", | ||
@@ -127,0 +136,0 @@ ITEMS__VARIANT__VARIANT_VALUES__VARIANT_TYPE_ID = "items.variant.variantValues.variantTypeId", |
@@ -48,3 +48,3 @@ import { | ||
const allReturnFields = | ||
"{abandonedCartFlows {campaignId canApplicable couponId customerFilters {sendOnlyActiveAccount sendOnlySubscribedToEmail } flowId mailSendDate mailTranslationId recoverEmailStatus sendAfter } availableShippingMethods {price rateName shippingMethod shippingSettingsId shippingZoneRateId } billingAddress {addressLine1 addressLine2 city {code id name } company country {code id iso2 iso3 name } district {code id name } firstName id identityNumber isDefault lastName phone postalCode state {code id name } taxNumber taxOffice } campaignOffers {appliedOrderLineId campaignOffer {availableSalesChannelIds createdAt deleted endDate followUpActionType id minimumRequiredCartAmount name offers {countdownMinutes description discountAmount discountType excludedVariantIdList id order productId showCriteria skipOfferIfProductExistsInCart title translations {description locale title } } startDate targetPageTypes triggerSettings {filterType valueList } type updatedAt } campaignOfferId campaignOfferProductId offerEndDate offerStartDate status targetPageTypes triggerSourceOrderLineId } cartId cartStatus checkoutId clientIp couponCode createdAt createdBy currencyCode currencyRates {code originalRate rate } currencySymbol customer {email firstName fullName id isGuestCheckout lastName notificationsAccepted phone } customerId deleted dueDate giftPackageLines {price taxValue } giftPackageNote host id isGiftPackage itemCount merchantId note orderAdjustments {amount amountType appliedOrderLines {amount appliedQuantity isAutoCreated orderLineId } campaignId campaignType couponId name order type } orderLineItems {createdAt currencyCode currencySymbol deleted discount {amount amountType campaignOfferId campaignOfferProductId maxApplicableQuantity reason } discountPrice finalPrice id options {name productOptionId productOptionsSetId type values {name price value } } originalOrderLineItemId price quantity status statusUpdatedAt stockLocationId taxValue updatedAt variant {barcodeList brand {id name } categories {categoryPath {id name } id name } id mainImageId name prices {buyPrice currency currencySymbol discountPrice priceListId sellPrice } productId sku slug tagIds taxValue type variantValues {order variantTypeId variantTypeName variantValueId variantValueName } weight } } orderNumber orderPackageStatus orderedAt priceListId recoverEmailStatus recoveryStatus salesChannelId shippingAddress {addressLine1 addressLine2 city {code id name } company country {code id iso2 iso3 name } district {code id name } firstName id identityNumber isDefault lastName phone postalCode state {code id name } taxNumber taxOffice } shippingLines {finalPrice isRefunded paymentMethod price shippingSettingsId shippingZoneRateId taxValue title } shippingMethod shippingSettingsId shippingZoneRateId status stockLocationId storefrontId storefrontRouting {domain dynamicCurrencySettings {roundingFormat targetCurrencyCode } id locale path priceListId } storefrontRoutingId storefrontThemeId taxLines {price rate } totalFinalPrice totalPrice updatedAt userAgent }"; | ||
"{abandonedCartFlows {campaignId canApplicable couponId customerFilters {sendOnlyActiveAccount sendOnlySubscribedToEmail } flowId mailSendDate mailTranslationId recoverEmailStatus sendAfter } availableShippingMethods {price rateName shippingMethod shippingSettingsId shippingZoneRateId } billingAddress {addressLine1 addressLine2 city {code id name } company country {code id iso2 iso3 name } district {code id name } firstName id identityNumber isDefault lastName phone postalCode state {code id name } taxNumber taxOffice } campaignOffers {appliedOrderLineId campaignOffer {availableSalesChannelIds createdAt deleted endDate followUpActionType id minimumRequiredCartAmount name offers {countdownMinutes description discountAmount discountType excludedVariantIdList id order productId showCriteria skipOfferIfProductExistsInCart title translations {description locale title } } startDate targetPageTypes triggerSettings {filterType valueList } type updatedAt } campaignOfferId campaignOfferProductId offerEndDate offerStartDate status targetPageTypes triggerSourceOrderLineId } cartId cartStatus checkoutId clientIp couponCode createdAt createdBy currencyCode currencyRates {code originalRate rate } currencySymbol customer {email firstName fullName id isGuestCheckout lastName notificationsAccepted phone } customerId deleted dueDate giftPackageLines {price taxValue } giftPackageNote host id isGiftPackage itemCount merchantId note orderAdjustments {amount amountType appliedOrderLines {amount appliedQuantity isAutoCreated orderLineId } campaignId campaignType couponId name order type } orderLineItems {createdAt currencyCode currencySymbol deleted discount {amount amountType campaignOfferId campaignOfferProductId maxApplicableQuantity reason } discountPrice finalPrice finalUnitPrice id options {name productOptionId productOptionsSetId type values {name price value } } originalOrderLineItemId price quantity status statusUpdatedAt stockLocationId taxValue unitPrice updatedAt variant {barcodeList baseUnit {baseAmount type unit {id name } } brand {id name } categories {categoryPath {id name } id name } id mainImageId name prices {buyPrice currency currencySymbol discountPrice priceListId sellPrice unitPrice } productId sku slug tagIds taxValue type unit {amount type } variantValues {order variantTypeId variantTypeName variantValueId variantValueName } weight } } orderNumber orderPackageStatus orderedAt priceListId recoverEmailStatus recoveryStatus salesChannelId sessionInfo {countryCode durationMS end host ip referer salesChannelId sessionId start storefrontId trafficSource {source type } userAgent {deviceType name os } utm {campaign content medium source term } visitorId } shippingAddress {addressLine1 addressLine2 city {code id name } company country {code id iso2 iso3 name } district {code id name } firstName id identityNumber isDefault lastName phone postalCode state {code id name } taxNumber taxOffice } shippingLines {finalPrice isRefunded paymentMethod price shippingSettingsId shippingZoneRateId taxValue title } shippingMethod shippingSettingsId shippingZoneRateId status stockLocationId storefrontId storefrontRouting {domain dynamicCurrencySettings {roundingFormat targetCurrencyCode } id locale path priceListId } storefrontRoutingId storefrontThemeId taxLines {price rate } totalFinalPrice totalPrice updatedAt userAgent }"; | ||
@@ -185,2 +185,3 @@ export enum ResponseField { | ||
ORDER_LINE_ITEMS__FINAL_PRICE = "orderLineItems.finalPrice", | ||
ORDER_LINE_ITEMS__FINAL_UNIT_PRICE = "orderLineItems.finalUnitPrice", | ||
ORDER_LINE_ITEMS__ID = "orderLineItems.id", | ||
@@ -201,4 +202,9 @@ ORDER_LINE_ITEMS__OPTIONS__NAME = "orderLineItems.options.name", | ||
ORDER_LINE_ITEMS__TAX_VALUE = "orderLineItems.taxValue", | ||
ORDER_LINE_ITEMS__UNIT_PRICE = "orderLineItems.unitPrice", | ||
ORDER_LINE_ITEMS__UPDATED_AT = "orderLineItems.updatedAt", | ||
ORDER_LINE_ITEMS__VARIANT__BARCODE_LIST = "orderLineItems.variant.barcodeList", | ||
ORDER_LINE_ITEMS__VARIANT__BASE_UNIT__BASE_AMOUNT = "orderLineItems.variant.baseUnit.baseAmount", | ||
ORDER_LINE_ITEMS__VARIANT__BASE_UNIT__TYPE = "orderLineItems.variant.baseUnit.type", | ||
ORDER_LINE_ITEMS__VARIANT__BASE_UNIT__UNIT__ID = "orderLineItems.variant.baseUnit.unit.id", | ||
ORDER_LINE_ITEMS__VARIANT__BASE_UNIT__UNIT__NAME = "orderLineItems.variant.baseUnit.unit.name", | ||
ORDER_LINE_ITEMS__VARIANT__BRAND__ID = "orderLineItems.variant.brand.id", | ||
@@ -219,2 +225,3 @@ ORDER_LINE_ITEMS__VARIANT__BRAND__NAME = "orderLineItems.variant.brand.name", | ||
ORDER_LINE_ITEMS__VARIANT__PRICES__SELL_PRICE = "orderLineItems.variant.prices.sellPrice", | ||
ORDER_LINE_ITEMS__VARIANT__PRICES__UNIT_PRICE = "orderLineItems.variant.prices.unitPrice", | ||
ORDER_LINE_ITEMS__VARIANT__PRODUCT_ID = "orderLineItems.variant.productId", | ||
@@ -226,2 +233,4 @@ ORDER_LINE_ITEMS__VARIANT__SKU = "orderLineItems.variant.sku", | ||
ORDER_LINE_ITEMS__VARIANT__TYPE = "orderLineItems.variant.type", | ||
ORDER_LINE_ITEMS__VARIANT__UNIT__AMOUNT = "orderLineItems.variant.unit.amount", | ||
ORDER_LINE_ITEMS__VARIANT__UNIT__TYPE = "orderLineItems.variant.unit.type", | ||
ORDER_LINE_ITEMS__VARIANT__VARIANT_VALUES__ORDER = "orderLineItems.variant.variantValues.order", | ||
@@ -240,2 +249,23 @@ ORDER_LINE_ITEMS__VARIANT__VARIANT_VALUES__VARIANT_TYPE_ID = "orderLineItems.variant.variantValues.variantTypeId", | ||
SALES_CHANNEL_ID = "salesChannelId", | ||
SESSION_INFO__COUNTRY_CODE = "sessionInfo.countryCode", | ||
SESSION_INFO__DURATION_M_S = "sessionInfo.durationMS", | ||
SESSION_INFO__END = "sessionInfo.end", | ||
SESSION_INFO__HOST = "sessionInfo.host", | ||
SESSION_INFO__IP = "sessionInfo.ip", | ||
SESSION_INFO__REFERER = "sessionInfo.referer", | ||
SESSION_INFO__SALES_CHANNEL_ID = "sessionInfo.salesChannelId", | ||
SESSION_INFO__SESSION_ID = "sessionInfo.sessionId", | ||
SESSION_INFO__START = "sessionInfo.start", | ||
SESSION_INFO__STOREFRONT_ID = "sessionInfo.storefrontId", | ||
SESSION_INFO__TRAFFIC_SOURCE__SOURCE = "sessionInfo.trafficSource.source", | ||
SESSION_INFO__TRAFFIC_SOURCE__TYPE = "sessionInfo.trafficSource.type", | ||
SESSION_INFO__USER_AGENT__DEVICE_TYPE = "sessionInfo.userAgent.deviceType", | ||
SESSION_INFO__USER_AGENT__NAME = "sessionInfo.userAgent.name", | ||
SESSION_INFO__USER_AGENT__OS = "sessionInfo.userAgent.os", | ||
SESSION_INFO__UTM__CAMPAIGN = "sessionInfo.utm.campaign", | ||
SESSION_INFO__UTM__CONTENT = "sessionInfo.utm.content", | ||
SESSION_INFO__UTM__MEDIUM = "sessionInfo.utm.medium", | ||
SESSION_INFO__UTM__SOURCE = "sessionInfo.utm.source", | ||
SESSION_INFO__UTM__TERM = "sessionInfo.utm.term", | ||
SESSION_INFO__VISITOR_ID = "sessionInfo.visitorId", | ||
SHIPPING_ADDRESS__ADDRESS_LINE1 = "shippingAddress.addressLine1", | ||
@@ -242,0 +272,0 @@ SHIPPING_ADDRESS__ADDRESS_LINE2 = "shippingAddress.addressLine2", |
@@ -45,3 +45,3 @@ import { | ||
const allReturnFields = | ||
"{abandonedCheckoutFlows {campaignId canApplicable couponId customerFilters {sendOnlyActiveAccount sendOnlySubscribedToEmail } flowId mailSendDate mailTranslationId recoverEmailStatus sendAfter } adjustments {amount amountType appliedOrderLines {amount appliedQuantity isAutoCreated orderLineId } campaignId campaignType couponId name order type } availableShippingMethods {price rateName shippingMethod shippingSettingsId shippingZoneRateId } billingAddress {addressLine1 addressLine2 city {code id name } company country {code id iso2 iso3 name } district {code id name } firstName id identityNumber isDefault lastName phone postalCode state {code id name } taxNumber taxOffice } cart {campaignOffers {appliedOrderLineId campaignOfferId campaignOfferProductId offerEndDate offerStartDate status targetPageTypes triggerSourceOrderLineId } createdAt createdBy currencyCode currencySymbol customerId deleted dueDate id itemCount items {createdAt currencyCode currencySymbol deleted discount {amount amountType campaignOfferId campaignOfferProductId maxApplicableQuantity reason } discountPrice finalPrice id options {name productOptionId productOptionsSetId type values {name price value } } originalOrderLineItemId price quantity status statusUpdatedAt stockLocationId taxValue updatedAt variant {barcodeList brand {id name } categories {categoryPath {id name } id name } id mainImageId name prices {buyPrice currency currencySymbol discountPrice priceListId sellPrice } productId sku slug tagIds taxValue type variantValues {order variantTypeId variantTypeName variantValueId variantValueName } weight } } merchantId priceListId salesChannelId status storefrontId storefrontRouting {domain dynamicCurrencySettings {roundingFormat targetCurrencyCode targetCurrencySymbol } id locale path priceListId } storefrontRoutingId storefrontThemeId taxLines {price rate } totalPrice updatedAt } cartId couponCode createdAt customer {accountStatus customerGroupIds email firstName id identityNumber lastName notificationsAccepted phone subscriptionStatus } deleted giftPackageLines {price taxValue } giftPackageNote id isGiftPackage merchantId note orderId orderNumber orderedAt recoverEmailStatus recoveryStatus shippingAddress {addressLine1 addressLine2 city {code id name } company country {code id iso2 iso3 name } district {code id name } firstName id identityNumber isDefault lastName phone postalCode state {code id name } taxNumber taxOffice } shippingLines {finalPrice isRefunded paymentMethod price shippingSettingsId shippingZoneRateId taxValue title } shippingMethod shippingSettingsId shippingZoneRateId status stockLocationId totalFinalPrice updatedAt }"; | ||
"{abandonedCheckoutFlows {campaignId canApplicable couponId customerFilters {sendOnlyActiveAccount sendOnlySubscribedToEmail } flowId mailSendDate mailTranslationId recoverEmailStatus sendAfter } adjustments {amount amountType appliedOrderLines {amount appliedQuantity isAutoCreated orderLineId } campaignId campaignType couponId name order type } availableShippingMethods {price rateName shippingMethod shippingSettingsId shippingZoneRateId } billingAddress {addressLine1 addressLine2 city {code id name } company country {code id iso2 iso3 name } district {code id name } firstName id identityNumber isDefault lastName phone postalCode state {code id name } taxNumber taxOffice } cart {campaignOffers {appliedOrderLineId campaignOfferId campaignOfferProductId offerEndDate offerStartDate status targetPageTypes triggerSourceOrderLineId } createdAt createdBy currencyCode currencySymbol customerId deleted dueDate id itemCount items {createdAt currencyCode currencySymbol deleted discount {amount amountType campaignOfferId campaignOfferProductId maxApplicableQuantity reason } discountPrice finalPrice finalUnitPrice id options {name productOptionId productOptionsSetId type values {name price value } } originalOrderLineItemId price quantity status statusUpdatedAt stockLocationId taxValue unitPrice updatedAt variant {barcodeList baseUnit {baseAmount type unit {id name } } brand {id name } categories {categoryPath {id name } id name } id mainImageId name prices {buyPrice currency currencySymbol discountPrice priceListId sellPrice unitPrice } productId sku slug tagIds taxValue type unit {amount type } variantValues {order variantTypeId variantTypeName variantValueId variantValueName } weight } } merchantId priceListId salesChannelId status storefrontId storefrontRouting {domain dynamicCurrencySettings {roundingFormat targetCurrencyCode targetCurrencySymbol } id locale path priceListId } storefrontRoutingId storefrontThemeId taxLines {price rate } totalPrice updatedAt } cartId couponCode createdAt customer {accountStatus customerGroupIds email firstName id identityNumber lastName notificationsAccepted phone subscriptionStatus } deleted giftPackageLines {price taxValue } giftPackageNote id isGiftPackage merchantId note orderId orderNumber orderedAt recoverEmailStatus recoveryStatus shippingAddress {addressLine1 addressLine2 city {code id name } company country {code id iso2 iso3 name } district {code id name } firstName id identityNumber isDefault lastName phone postalCode state {code id name } taxNumber taxOffice } shippingLines {finalPrice isRefunded paymentMethod price shippingSettingsId shippingZoneRateId taxValue title } shippingMethod shippingSettingsId shippingZoneRateId status stockLocationId totalFinalPrice updatedAt }"; | ||
@@ -131,2 +131,3 @@ export enum ResponseField { | ||
CART__ITEMS__FINAL_PRICE = "cart.items.finalPrice", | ||
CART__ITEMS__FINAL_UNIT_PRICE = "cart.items.finalUnitPrice", | ||
CART__ITEMS__ID = "cart.items.id", | ||
@@ -147,4 +148,9 @@ CART__ITEMS__OPTIONS__NAME = "cart.items.options.name", | ||
CART__ITEMS__TAX_VALUE = "cart.items.taxValue", | ||
CART__ITEMS__UNIT_PRICE = "cart.items.unitPrice", | ||
CART__ITEMS__UPDATED_AT = "cart.items.updatedAt", | ||
CART__ITEMS__VARIANT__BARCODE_LIST = "cart.items.variant.barcodeList", | ||
CART__ITEMS__VARIANT__BASE_UNIT__BASE_AMOUNT = "cart.items.variant.baseUnit.baseAmount", | ||
CART__ITEMS__VARIANT__BASE_UNIT__TYPE = "cart.items.variant.baseUnit.type", | ||
CART__ITEMS__VARIANT__BASE_UNIT__UNIT__ID = "cart.items.variant.baseUnit.unit.id", | ||
CART__ITEMS__VARIANT__BASE_UNIT__UNIT__NAME = "cart.items.variant.baseUnit.unit.name", | ||
CART__ITEMS__VARIANT__BRAND__ID = "cart.items.variant.brand.id", | ||
@@ -165,2 +171,3 @@ CART__ITEMS__VARIANT__BRAND__NAME = "cart.items.variant.brand.name", | ||
CART__ITEMS__VARIANT__PRICES__SELL_PRICE = "cart.items.variant.prices.sellPrice", | ||
CART__ITEMS__VARIANT__PRICES__UNIT_PRICE = "cart.items.variant.prices.unitPrice", | ||
CART__ITEMS__VARIANT__PRODUCT_ID = "cart.items.variant.productId", | ||
@@ -172,2 +179,4 @@ CART__ITEMS__VARIANT__SKU = "cart.items.variant.sku", | ||
CART__ITEMS__VARIANT__TYPE = "cart.items.variant.type", | ||
CART__ITEMS__VARIANT__UNIT__AMOUNT = "cart.items.variant.unit.amount", | ||
CART__ITEMS__VARIANT__UNIT__TYPE = "cart.items.variant.unit.type", | ||
CART__ITEMS__VARIANT__VARIANT_VALUES__ORDER = "cart.items.variant.variantValues.order", | ||
@@ -174,0 +183,0 @@ CART__ITEMS__VARIANT__VARIANT_VALUES__VARIANT_TYPE_ID = "cart.items.variant.variantValues.variantTypeId", |
@@ -45,3 +45,3 @@ import { | ||
const allReturnFields = | ||
"{abandonedCheckoutFlows {campaignId canApplicable couponId customerFilters {sendOnlyActiveAccount sendOnlySubscribedToEmail } flowId mailSendDate mailTranslationId recoverEmailStatus sendAfter } adjustments {amount amountType appliedOrderLines {amount appliedQuantity isAutoCreated orderLineId } campaignId campaignType couponId name order type } availableShippingMethods {price rateName shippingMethod shippingSettingsId shippingZoneRateId } billingAddress {addressLine1 addressLine2 city {code id name } company country {code id iso2 iso3 name } district {code id name } firstName id identityNumber isDefault lastName phone postalCode state {code id name } taxNumber taxOffice } cart {campaignOffers {appliedOrderLineId campaignOfferId campaignOfferProductId offerEndDate offerStartDate status targetPageTypes triggerSourceOrderLineId } createdAt createdBy currencyCode currencySymbol customerId deleted dueDate id itemCount items {createdAt currencyCode currencySymbol deleted discount {amount amountType campaignOfferId campaignOfferProductId maxApplicableQuantity reason } discountPrice finalPrice id options {name productOptionId productOptionsSetId type values {name price value } } originalOrderLineItemId price quantity status statusUpdatedAt stockLocationId taxValue updatedAt variant {barcodeList brand {id name } categories {categoryPath {id name } id name } id mainImageId name prices {buyPrice currency currencySymbol discountPrice priceListId sellPrice } productId sku slug tagIds taxValue type variantValues {order variantTypeId variantTypeName variantValueId variantValueName } weight } } merchantId priceListId salesChannelId status storefrontId storefrontRouting {domain dynamicCurrencySettings {roundingFormat targetCurrencyCode targetCurrencySymbol } id locale path priceListId } storefrontRoutingId storefrontThemeId taxLines {price rate } totalPrice updatedAt } cartId couponCode createdAt customer {accountStatus customerGroupIds email firstName id identityNumber lastName notificationsAccepted phone subscriptionStatus } deleted giftPackageLines {price taxValue } giftPackageNote id isGiftPackage merchantId note orderId orderNumber orderedAt recoverEmailStatus recoveryStatus shippingAddress {addressLine1 addressLine2 city {code id name } company country {code id iso2 iso3 name } district {code id name } firstName id identityNumber isDefault lastName phone postalCode state {code id name } taxNumber taxOffice } shippingLines {finalPrice isRefunded paymentMethod price shippingSettingsId shippingZoneRateId taxValue title } shippingMethod shippingSettingsId shippingZoneRateId status stockLocationId totalFinalPrice updatedAt }"; | ||
"{abandonedCheckoutFlows {campaignId canApplicable couponId customerFilters {sendOnlyActiveAccount sendOnlySubscribedToEmail } flowId mailSendDate mailTranslationId recoverEmailStatus sendAfter } adjustments {amount amountType appliedOrderLines {amount appliedQuantity isAutoCreated orderLineId } campaignId campaignType couponId name order type } availableShippingMethods {price rateName shippingMethod shippingSettingsId shippingZoneRateId } billingAddress {addressLine1 addressLine2 city {code id name } company country {code id iso2 iso3 name } district {code id name } firstName id identityNumber isDefault lastName phone postalCode state {code id name } taxNumber taxOffice } cart {campaignOffers {appliedOrderLineId campaignOfferId campaignOfferProductId offerEndDate offerStartDate status targetPageTypes triggerSourceOrderLineId } createdAt createdBy currencyCode currencySymbol customerId deleted dueDate id itemCount items {createdAt currencyCode currencySymbol deleted discount {amount amountType campaignOfferId campaignOfferProductId maxApplicableQuantity reason } discountPrice finalPrice finalUnitPrice id options {name productOptionId productOptionsSetId type values {name price value } } originalOrderLineItemId price quantity status statusUpdatedAt stockLocationId taxValue unitPrice updatedAt variant {barcodeList baseUnit {baseAmount type unit {id name } } brand {id name } categories {categoryPath {id name } id name } id mainImageId name prices {buyPrice currency currencySymbol discountPrice priceListId sellPrice unitPrice } productId sku slug tagIds taxValue type unit {amount type } variantValues {order variantTypeId variantTypeName variantValueId variantValueName } weight } } merchantId priceListId salesChannelId status storefrontId storefrontRouting {domain dynamicCurrencySettings {roundingFormat targetCurrencyCode targetCurrencySymbol } id locale path priceListId } storefrontRoutingId storefrontThemeId taxLines {price rate } totalPrice updatedAt } cartId couponCode createdAt customer {accountStatus customerGroupIds email firstName id identityNumber lastName notificationsAccepted phone subscriptionStatus } deleted giftPackageLines {price taxValue } giftPackageNote id isGiftPackage merchantId note orderId orderNumber orderedAt recoverEmailStatus recoveryStatus shippingAddress {addressLine1 addressLine2 city {code id name } company country {code id iso2 iso3 name } district {code id name } firstName id identityNumber isDefault lastName phone postalCode state {code id name } taxNumber taxOffice } shippingLines {finalPrice isRefunded paymentMethod price shippingSettingsId shippingZoneRateId taxValue title } shippingMethod shippingSettingsId shippingZoneRateId status stockLocationId totalFinalPrice updatedAt }"; | ||
@@ -131,2 +131,3 @@ export enum ResponseField { | ||
CART__ITEMS__FINAL_PRICE = "cart.items.finalPrice", | ||
CART__ITEMS__FINAL_UNIT_PRICE = "cart.items.finalUnitPrice", | ||
CART__ITEMS__ID = "cart.items.id", | ||
@@ -147,4 +148,9 @@ CART__ITEMS__OPTIONS__NAME = "cart.items.options.name", | ||
CART__ITEMS__TAX_VALUE = "cart.items.taxValue", | ||
CART__ITEMS__UNIT_PRICE = "cart.items.unitPrice", | ||
CART__ITEMS__UPDATED_AT = "cart.items.updatedAt", | ||
CART__ITEMS__VARIANT__BARCODE_LIST = "cart.items.variant.barcodeList", | ||
CART__ITEMS__VARIANT__BASE_UNIT__BASE_AMOUNT = "cart.items.variant.baseUnit.baseAmount", | ||
CART__ITEMS__VARIANT__BASE_UNIT__TYPE = "cart.items.variant.baseUnit.type", | ||
CART__ITEMS__VARIANT__BASE_UNIT__UNIT__ID = "cart.items.variant.baseUnit.unit.id", | ||
CART__ITEMS__VARIANT__BASE_UNIT__UNIT__NAME = "cart.items.variant.baseUnit.unit.name", | ||
CART__ITEMS__VARIANT__BRAND__ID = "cart.items.variant.brand.id", | ||
@@ -165,2 +171,3 @@ CART__ITEMS__VARIANT__BRAND__NAME = "cart.items.variant.brand.name", | ||
CART__ITEMS__VARIANT__PRICES__SELL_PRICE = "cart.items.variant.prices.sellPrice", | ||
CART__ITEMS__VARIANT__PRICES__UNIT_PRICE = "cart.items.variant.prices.unitPrice", | ||
CART__ITEMS__VARIANT__PRODUCT_ID = "cart.items.variant.productId", | ||
@@ -172,2 +179,4 @@ CART__ITEMS__VARIANT__SKU = "cart.items.variant.sku", | ||
CART__ITEMS__VARIANT__TYPE = "cart.items.variant.type", | ||
CART__ITEMS__VARIANT__UNIT__AMOUNT = "cart.items.variant.unit.amount", | ||
CART__ITEMS__VARIANT__UNIT__TYPE = "cart.items.variant.unit.type", | ||
CART__ITEMS__VARIANT__VARIANT_VALUES__ORDER = "cart.items.variant.variantValues.order", | ||
@@ -174,0 +183,0 @@ CART__ITEMS__VARIANT__VARIANT_VALUES__VARIANT_TYPE_ID = "cart.items.variant.variantValues.variantTypeId", |
@@ -45,3 +45,3 @@ import { | ||
const allReturnFields = | ||
"{billingAddress {addressLine1 addressLine2 city {code id name } company country {code id iso2 iso3 name } district {code id name } firstName id identityNumber isDefault lastName phone postalCode state {code id name } taxNumber taxOffice } cancelReason cancelledAt createdAt currencyCode currencyRates {code originalRate rate } currencySymbol customer {email firstName fullName id isGuestCheckout lastName notificationsAccepted phone } customerId deleted giftPackageLines {price taxValue } giftPackageNote id invoices {appId appName createdAt id invoiceNumber storeAppId type } isGiftPackage merchantId note orderAdjustments {amount amountType appliedOrderLines {amount appliedQuantity isAutoCreated orderLineId } campaignId campaignType couponId name order type } orderLineItems {createdAt currencyCode currencySymbol deleted discount {amount amountType campaignOfferId campaignOfferProductId maxApplicableQuantity reason } discountPrice finalPrice id options {name productOptionId productOptionsSetId type values {name price value } } originalOrderLineItemId price quantity status statusUpdatedAt stockLocationId taxValue updatedAt variant {barcodeList brand {id name } categories {categoryPath {id name } id name } id mainImageId name prices {buyPrice currency currencySymbol discountPrice priceListId sellPrice } productId sku slug tagIds taxValue type variantValues {order variantTypeId variantTypeName variantValueId variantValueName } weight } } orderNumber orderPackageStatus orderPackages {createdAt deleted errorMessage id note orderLineItemIds orderPackageFulfillStatus orderPackageNumber stockLocationId trackingInfo {barcode cargoCompany isSendNotification trackingLink trackingNumber } updatedAt } orderPaymentStatus orderTagIds orderedAt paymentMethods {paymentGatewayCode paymentGatewayId paymentGatewayName price type } shippingAddress {addressLine1 addressLine2 city {code id name } company country {code id iso2 iso3 name } district {code id name } firstName id identityNumber isDefault lastName phone postalCode state {code id name } taxNumber taxOffice } shippingLines {finalPrice isRefunded paymentMethod price shippingSettingsId shippingZoneRateId taxValue title } shippingMethod status taxLines {price rate } totalFinalPrice totalPrice updatedAt }"; | ||
"{billingAddress {addressLine1 addressLine2 city {code id name } company country {code id iso2 iso3 name } district {code id name } firstName id identityNumber isDefault lastName phone postalCode state {code id name } taxNumber taxOffice } cancelReason cancelledAt createdAt currencyCode currencyRates {code originalRate rate } currencySymbol customer {email firstName fullName id isGuestCheckout lastName notificationsAccepted phone } customerId deleted giftPackageLines {price taxValue } giftPackageNote id invoices {appId appName createdAt id invoiceNumber storeAppId type } isGiftPackage merchantId note orderAdjustments {amount amountType appliedOrderLines {amount appliedQuantity isAutoCreated orderLineId } campaignId campaignType couponId name order type } orderLineItems {createdAt currencyCode currencySymbol deleted discount {amount amountType campaignOfferId campaignOfferProductId maxApplicableQuantity reason } discountPrice finalPrice finalUnitPrice id options {name productOptionId productOptionsSetId type values {name price value } } originalOrderLineItemId price quantity status statusUpdatedAt stockLocationId taxValue unitPrice updatedAt variant {barcodeList baseUnit {baseAmount type unit {id name } } brand {id name } categories {categoryPath {id name } id name } id mainImageId name prices {buyPrice currency currencySymbol discountPrice priceListId sellPrice unitPrice } productId sku slug tagIds taxValue type unit {amount type } variantValues {order variantTypeId variantTypeName variantValueId variantValueName } weight } } orderNumber orderPackageStatus orderPackages {createdAt deleted errorMessage id note orderLineItemIds orderPackageFulfillStatus orderPackageNumber stockLocationId trackingInfo {barcode cargoCompany isSendNotification trackingLink trackingNumber } updatedAt } orderPaymentStatus orderTagIds orderedAt paymentMethods {paymentGatewayCode paymentGatewayId paymentGatewayName price type } shippingAddress {addressLine1 addressLine2 city {code id name } company country {code id iso2 iso3 name } district {code id name } firstName id identityNumber isDefault lastName phone postalCode state {code id name } taxNumber taxOffice } shippingLines {finalPrice isRefunded paymentMethod price shippingSettingsId shippingZoneRateId taxValue title } shippingMethod status taxLines {price rate } totalFinalPrice totalPrice updatedAt }"; | ||
@@ -131,2 +131,3 @@ export enum ResponseField { | ||
ORDER_LINE_ITEMS__FINAL_PRICE = "orderLineItems.finalPrice", | ||
ORDER_LINE_ITEMS__FINAL_UNIT_PRICE = "orderLineItems.finalUnitPrice", | ||
ORDER_LINE_ITEMS__ID = "orderLineItems.id", | ||
@@ -147,4 +148,9 @@ ORDER_LINE_ITEMS__OPTIONS__NAME = "orderLineItems.options.name", | ||
ORDER_LINE_ITEMS__TAX_VALUE = "orderLineItems.taxValue", | ||
ORDER_LINE_ITEMS__UNIT_PRICE = "orderLineItems.unitPrice", | ||
ORDER_LINE_ITEMS__UPDATED_AT = "orderLineItems.updatedAt", | ||
ORDER_LINE_ITEMS__VARIANT__BARCODE_LIST = "orderLineItems.variant.barcodeList", | ||
ORDER_LINE_ITEMS__VARIANT__BASE_UNIT__BASE_AMOUNT = "orderLineItems.variant.baseUnit.baseAmount", | ||
ORDER_LINE_ITEMS__VARIANT__BASE_UNIT__TYPE = "orderLineItems.variant.baseUnit.type", | ||
ORDER_LINE_ITEMS__VARIANT__BASE_UNIT__UNIT__ID = "orderLineItems.variant.baseUnit.unit.id", | ||
ORDER_LINE_ITEMS__VARIANT__BASE_UNIT__UNIT__NAME = "orderLineItems.variant.baseUnit.unit.name", | ||
ORDER_LINE_ITEMS__VARIANT__BRAND__ID = "orderLineItems.variant.brand.id", | ||
@@ -165,2 +171,3 @@ ORDER_LINE_ITEMS__VARIANT__BRAND__NAME = "orderLineItems.variant.brand.name", | ||
ORDER_LINE_ITEMS__VARIANT__PRICES__SELL_PRICE = "orderLineItems.variant.prices.sellPrice", | ||
ORDER_LINE_ITEMS__VARIANT__PRICES__UNIT_PRICE = "orderLineItems.variant.prices.unitPrice", | ||
ORDER_LINE_ITEMS__VARIANT__PRODUCT_ID = "orderLineItems.variant.productId", | ||
@@ -172,2 +179,4 @@ ORDER_LINE_ITEMS__VARIANT__SKU = "orderLineItems.variant.sku", | ||
ORDER_LINE_ITEMS__VARIANT__TYPE = "orderLineItems.variant.type", | ||
ORDER_LINE_ITEMS__VARIANT__UNIT__AMOUNT = "orderLineItems.variant.unit.amount", | ||
ORDER_LINE_ITEMS__VARIANT__UNIT__TYPE = "orderLineItems.variant.unit.type", | ||
ORDER_LINE_ITEMS__VARIANT__VARIANT_VALUES__ORDER = "orderLineItems.variant.variantValues.order", | ||
@@ -174,0 +183,0 @@ ORDER_LINE_ITEMS__VARIANT__VARIANT_VALUES__VARIANT_TYPE_ID = "orderLineItems.variant.variantValues.variantTypeId", |
@@ -45,3 +45,3 @@ import { | ||
const allReturnFields = | ||
"{billingAddress {addressLine1 addressLine2 city {code id name } company country {code id iso2 iso3 name } district {code id name } firstName id identityNumber isDefault lastName phone postalCode state {code id name } taxNumber taxOffice } cancelReason cancelledAt createdAt currencyCode currencyRates {code originalRate rate } currencySymbol customer {email firstName fullName id isGuestCheckout lastName notificationsAccepted phone } customerId deleted giftPackageLines {price taxValue } giftPackageNote id invoices {appId appName createdAt id invoiceNumber storeAppId type } isGiftPackage merchantId note orderAdjustments {amount amountType appliedOrderLines {amount appliedQuantity isAutoCreated orderLineId } campaignId campaignType couponId name order type } orderLineItems {createdAt currencyCode currencySymbol deleted discount {amount amountType campaignOfferId campaignOfferProductId maxApplicableQuantity reason } discountPrice finalPrice id options {name productOptionId productOptionsSetId type values {name price value } } originalOrderLineItemId price quantity status statusUpdatedAt stockLocationId taxValue updatedAt variant {barcodeList brand {id name } categories {categoryPath {id name } id name } id mainImageId name prices {buyPrice currency currencySymbol discountPrice priceListId sellPrice } productId sku slug tagIds taxValue type variantValues {order variantTypeId variantTypeName variantValueId variantValueName } weight } } orderNumber orderPackageStatus orderPackages {createdAt deleted errorMessage id note orderLineItemIds orderPackageFulfillStatus orderPackageNumber stockLocationId trackingInfo {barcode cargoCompany isSendNotification trackingLink trackingNumber } updatedAt } orderPaymentStatus orderTagIds orderedAt paymentMethods {paymentGatewayCode paymentGatewayId paymentGatewayName price type } shippingAddress {addressLine1 addressLine2 city {code id name } company country {code id iso2 iso3 name } district {code id name } firstName id identityNumber isDefault lastName phone postalCode state {code id name } taxNumber taxOffice } shippingLines {finalPrice isRefunded paymentMethod price shippingSettingsId shippingZoneRateId taxValue title } shippingMethod status taxLines {price rate } totalFinalPrice totalPrice updatedAt }"; | ||
"{billingAddress {addressLine1 addressLine2 city {code id name } company country {code id iso2 iso3 name } district {code id name } firstName id identityNumber isDefault lastName phone postalCode state {code id name } taxNumber taxOffice } cancelReason cancelledAt createdAt currencyCode currencyRates {code originalRate rate } currencySymbol customer {email firstName fullName id isGuestCheckout lastName notificationsAccepted phone } customerId deleted giftPackageLines {price taxValue } giftPackageNote id invoices {appId appName createdAt id invoiceNumber storeAppId type } isGiftPackage merchantId note orderAdjustments {amount amountType appliedOrderLines {amount appliedQuantity isAutoCreated orderLineId } campaignId campaignType couponId name order type } orderLineItems {createdAt currencyCode currencySymbol deleted discount {amount amountType campaignOfferId campaignOfferProductId maxApplicableQuantity reason } discountPrice finalPrice finalUnitPrice id options {name productOptionId productOptionsSetId type values {name price value } } originalOrderLineItemId price quantity status statusUpdatedAt stockLocationId taxValue unitPrice updatedAt variant {barcodeList baseUnit {baseAmount type unit {id name } } brand {id name } categories {categoryPath {id name } id name } id mainImageId name prices {buyPrice currency currencySymbol discountPrice priceListId sellPrice unitPrice } productId sku slug tagIds taxValue type unit {amount type } variantValues {order variantTypeId variantTypeName variantValueId variantValueName } weight } } orderNumber orderPackageStatus orderPackages {createdAt deleted errorMessage id note orderLineItemIds orderPackageFulfillStatus orderPackageNumber stockLocationId trackingInfo {barcode cargoCompany isSendNotification trackingLink trackingNumber } updatedAt } orderPaymentStatus orderTagIds orderedAt paymentMethods {paymentGatewayCode paymentGatewayId paymentGatewayName price type } shippingAddress {addressLine1 addressLine2 city {code id name } company country {code id iso2 iso3 name } district {code id name } firstName id identityNumber isDefault lastName phone postalCode state {code id name } taxNumber taxOffice } shippingLines {finalPrice isRefunded paymentMethod price shippingSettingsId shippingZoneRateId taxValue title } shippingMethod status taxLines {price rate } totalFinalPrice totalPrice updatedAt }"; | ||
@@ -131,2 +131,3 @@ export enum ResponseField { | ||
ORDER_LINE_ITEMS__FINAL_PRICE = "orderLineItems.finalPrice", | ||
ORDER_LINE_ITEMS__FINAL_UNIT_PRICE = "orderLineItems.finalUnitPrice", | ||
ORDER_LINE_ITEMS__ID = "orderLineItems.id", | ||
@@ -147,4 +148,9 @@ ORDER_LINE_ITEMS__OPTIONS__NAME = "orderLineItems.options.name", | ||
ORDER_LINE_ITEMS__TAX_VALUE = "orderLineItems.taxValue", | ||
ORDER_LINE_ITEMS__UNIT_PRICE = "orderLineItems.unitPrice", | ||
ORDER_LINE_ITEMS__UPDATED_AT = "orderLineItems.updatedAt", | ||
ORDER_LINE_ITEMS__VARIANT__BARCODE_LIST = "orderLineItems.variant.barcodeList", | ||
ORDER_LINE_ITEMS__VARIANT__BASE_UNIT__BASE_AMOUNT = "orderLineItems.variant.baseUnit.baseAmount", | ||
ORDER_LINE_ITEMS__VARIANT__BASE_UNIT__TYPE = "orderLineItems.variant.baseUnit.type", | ||
ORDER_LINE_ITEMS__VARIANT__BASE_UNIT__UNIT__ID = "orderLineItems.variant.baseUnit.unit.id", | ||
ORDER_LINE_ITEMS__VARIANT__BASE_UNIT__UNIT__NAME = "orderLineItems.variant.baseUnit.unit.name", | ||
ORDER_LINE_ITEMS__VARIANT__BRAND__ID = "orderLineItems.variant.brand.id", | ||
@@ -165,2 +171,3 @@ ORDER_LINE_ITEMS__VARIANT__BRAND__NAME = "orderLineItems.variant.brand.name", | ||
ORDER_LINE_ITEMS__VARIANT__PRICES__SELL_PRICE = "orderLineItems.variant.prices.sellPrice", | ||
ORDER_LINE_ITEMS__VARIANT__PRICES__UNIT_PRICE = "orderLineItems.variant.prices.unitPrice", | ||
ORDER_LINE_ITEMS__VARIANT__PRODUCT_ID = "orderLineItems.variant.productId", | ||
@@ -172,2 +179,4 @@ ORDER_LINE_ITEMS__VARIANT__SKU = "orderLineItems.variant.sku", | ||
ORDER_LINE_ITEMS__VARIANT__TYPE = "orderLineItems.variant.type", | ||
ORDER_LINE_ITEMS__VARIANT__UNIT__AMOUNT = "orderLineItems.variant.unit.amount", | ||
ORDER_LINE_ITEMS__VARIANT__UNIT__TYPE = "orderLineItems.variant.unit.type", | ||
ORDER_LINE_ITEMS__VARIANT__VARIANT_VALUES__ORDER = "orderLineItems.variant.variantValues.order", | ||
@@ -174,0 +183,0 @@ ORDER_LINE_ITEMS__VARIANT__VARIANT_VALUES__VARIANT_TYPE_ID = "orderLineItems.variant.variantValues.variantTypeId", |
@@ -48,3 +48,3 @@ import { | ||
const allReturnFields = | ||
"{billingAddress {addressLine1 addressLine2 city {code id name } company country {code id iso2 iso3 name } district {code id name } firstName id identityNumber isDefault lastName phone postalCode state {code id name } taxNumber taxOffice } cancelReason cancelledAt createdAt currencyCode currencyRates {code originalRate rate } currencySymbol customer {email firstName fullName id isGuestCheckout lastName notificationsAccepted phone } customerId deleted giftPackageLines {price taxValue } giftPackageNote id invoices {appId appName createdAt id invoiceNumber storeAppId type } isGiftPackage merchantId note orderAdjustments {amount amountType appliedOrderLines {amount appliedQuantity isAutoCreated orderLineId } campaignId campaignType couponId name order type } orderLineItems {createdAt currencyCode currencySymbol deleted discount {amount amountType campaignOfferId campaignOfferProductId maxApplicableQuantity reason } discountPrice finalPrice id options {name productOptionId productOptionsSetId type values {name price value } } originalOrderLineItemId price quantity status statusUpdatedAt stockLocationId taxValue updatedAt variant {barcodeList brand {id name } categories {categoryPath {id name } id name } id mainImageId name prices {buyPrice currency currencySymbol discountPrice priceListId sellPrice } productId sku slug tagIds taxValue type variantValues {order variantTypeId variantTypeName variantValueId variantValueName } weight } } orderNumber orderPackageStatus orderPackages {createdAt deleted errorMessage id note orderLineItemIds orderPackageFulfillStatus orderPackageNumber stockLocationId trackingInfo {barcode cargoCompany isSendNotification trackingLink trackingNumber } updatedAt } orderPaymentStatus orderTagIds orderedAt paymentMethods {paymentGatewayCode paymentGatewayId paymentGatewayName price type } shippingAddress {addressLine1 addressLine2 city {code id name } company country {code id iso2 iso3 name } district {code id name } firstName id identityNumber isDefault lastName phone postalCode state {code id name } taxNumber taxOffice } shippingLines {finalPrice isRefunded paymentMethod price shippingSettingsId shippingZoneRateId taxValue title } shippingMethod status taxLines {price rate } totalFinalPrice totalPrice updatedAt }"; | ||
"{billingAddress {addressLine1 addressLine2 city {code id name } company country {code id iso2 iso3 name } district {code id name } firstName id identityNumber isDefault lastName phone postalCode state {code id name } taxNumber taxOffice } cancelReason cancelledAt createdAt currencyCode currencyRates {code originalRate rate } currencySymbol customer {email firstName fullName id isGuestCheckout lastName notificationsAccepted phone } customerId deleted giftPackageLines {price taxValue } giftPackageNote id invoices {appId appName createdAt id invoiceNumber storeAppId type } isGiftPackage merchantId note orderAdjustments {amount amountType appliedOrderLines {amount appliedQuantity isAutoCreated orderLineId } campaignId campaignType couponId name order type } orderLineItems {createdAt currencyCode currencySymbol deleted discount {amount amountType campaignOfferId campaignOfferProductId maxApplicableQuantity reason } discountPrice finalPrice finalUnitPrice id options {name productOptionId productOptionsSetId type values {name price value } } originalOrderLineItemId price quantity status statusUpdatedAt stockLocationId taxValue unitPrice updatedAt variant {barcodeList baseUnit {baseAmount type unit {id name } } brand {id name } categories {categoryPath {id name } id name } id mainImageId name prices {buyPrice currency currencySymbol discountPrice priceListId sellPrice unitPrice } productId sku slug tagIds taxValue type unit {amount type } variantValues {order variantTypeId variantTypeName variantValueId variantValueName } weight } } orderNumber orderPackageStatus orderPackages {createdAt deleted errorMessage id note orderLineItemIds orderPackageFulfillStatus orderPackageNumber stockLocationId trackingInfo {barcode cargoCompany isSendNotification trackingLink trackingNumber } updatedAt } orderPaymentStatus orderTagIds orderedAt paymentMethods {paymentGatewayCode paymentGatewayId paymentGatewayName price type } shippingAddress {addressLine1 addressLine2 city {code id name } company country {code id iso2 iso3 name } district {code id name } firstName id identityNumber isDefault lastName phone postalCode state {code id name } taxNumber taxOffice } shippingLines {finalPrice isRefunded paymentMethod price shippingSettingsId shippingZoneRateId taxValue title } shippingMethod status taxLines {price rate } totalFinalPrice totalPrice updatedAt }"; | ||
@@ -134,2 +134,3 @@ export enum ResponseField { | ||
ORDER_LINE_ITEMS__FINAL_PRICE = "orderLineItems.finalPrice", | ||
ORDER_LINE_ITEMS__FINAL_UNIT_PRICE = "orderLineItems.finalUnitPrice", | ||
ORDER_LINE_ITEMS__ID = "orderLineItems.id", | ||
@@ -150,4 +151,9 @@ ORDER_LINE_ITEMS__OPTIONS__NAME = "orderLineItems.options.name", | ||
ORDER_LINE_ITEMS__TAX_VALUE = "orderLineItems.taxValue", | ||
ORDER_LINE_ITEMS__UNIT_PRICE = "orderLineItems.unitPrice", | ||
ORDER_LINE_ITEMS__UPDATED_AT = "orderLineItems.updatedAt", | ||
ORDER_LINE_ITEMS__VARIANT__BARCODE_LIST = "orderLineItems.variant.barcodeList", | ||
ORDER_LINE_ITEMS__VARIANT__BASE_UNIT__BASE_AMOUNT = "orderLineItems.variant.baseUnit.baseAmount", | ||
ORDER_LINE_ITEMS__VARIANT__BASE_UNIT__TYPE = "orderLineItems.variant.baseUnit.type", | ||
ORDER_LINE_ITEMS__VARIANT__BASE_UNIT__UNIT__ID = "orderLineItems.variant.baseUnit.unit.id", | ||
ORDER_LINE_ITEMS__VARIANT__BASE_UNIT__UNIT__NAME = "orderLineItems.variant.baseUnit.unit.name", | ||
ORDER_LINE_ITEMS__VARIANT__BRAND__ID = "orderLineItems.variant.brand.id", | ||
@@ -168,2 +174,3 @@ ORDER_LINE_ITEMS__VARIANT__BRAND__NAME = "orderLineItems.variant.brand.name", | ||
ORDER_LINE_ITEMS__VARIANT__PRICES__SELL_PRICE = "orderLineItems.variant.prices.sellPrice", | ||
ORDER_LINE_ITEMS__VARIANT__PRICES__UNIT_PRICE = "orderLineItems.variant.prices.unitPrice", | ||
ORDER_LINE_ITEMS__VARIANT__PRODUCT_ID = "orderLineItems.variant.productId", | ||
@@ -175,2 +182,4 @@ ORDER_LINE_ITEMS__VARIANT__SKU = "orderLineItems.variant.sku", | ||
ORDER_LINE_ITEMS__VARIANT__TYPE = "orderLineItems.variant.type", | ||
ORDER_LINE_ITEMS__VARIANT__UNIT__AMOUNT = "orderLineItems.variant.unit.amount", | ||
ORDER_LINE_ITEMS__VARIANT__UNIT__TYPE = "orderLineItems.variant.unit.type", | ||
ORDER_LINE_ITEMS__VARIANT__VARIANT_VALUES__ORDER = "orderLineItems.variant.variantValues.order", | ||
@@ -177,0 +186,0 @@ ORDER_LINE_ITEMS__VARIANT__VARIANT_VALUES__VARIANT_TYPE_ID = "orderLineItems.variant.variantValues.variantTypeId", |
@@ -45,3 +45,3 @@ import { | ||
const allReturnFields = | ||
"{analytics4Id createdAt deleted domains {createdAt deleted id isDefault merchantDomainId name redirectDomainName updatedAt } emailSettingsId fbAccessToken fbpId gtmId id localizations {createdAt deleted id isDefault locale name updatedAt } mainStorefrontThemeId name pickUpStockLocationIds routings {countryCodes createdAt deleted domain dynamicCurrencySettings {roundingFormat targetCurrencyCode targetCurrencySymbol } id locale path priceListId updatedAt } salesChannelId socialLoginSettings {apiKey apiSecret provider } status themes {createdAt deleted id isMainTheme name status themeId themeVersionId updatedAt } tiktokPixelId token universalAnalyticsId updatedAt }"; | ||
"{analytics4Id createdAt deleted domains {createdAt deleted id isDefault merchantDomainId name redirectDomainName updatedAt } emailSettingsId fbAccessToken fbpId gtmId id localizations {createdAt deleted id isDefault locale name updatedAt } mainStorefrontThemeId name pickUpStockLocationIds routings {countryCodes createdAt currencyCode currencySymbol deleted domain dynamicCurrencySettings {roundingFormat targetCurrencyCode targetCurrencySymbol } id locale path priceListId updatedAt } salesChannelId socialLoginSettings {apiKey apiSecret provider } status themes {createdAt deleted id isMainTheme name status themeId themeVersionId updatedAt } tiktokPixelId token universalAnalyticsId updatedAt }"; | ||
@@ -77,2 +77,4 @@ export enum ResponseField { | ||
ROUTINGS__CREATED_AT = "routings.createdAt", | ||
ROUTINGS__CURRENCY_CODE = "routings.currencyCode", | ||
ROUTINGS__CURRENCY_SYMBOL = "routings.currencySymbol", | ||
ROUTINGS__DELETED = "routings.deleted", | ||
@@ -79,0 +81,0 @@ ROUTINGS__DOMAIN = "routings.domain", |
@@ -27,2 +27,3 @@ import { | ||
$iso3: StringFilterInput, | ||
$locale: String, | ||
$search: String, | ||
@@ -36,2 +37,3 @@ $updatedAt: DateFilterInput, | ||
iso3: $iso3, | ||
locale: $locale, | ||
search: $search, | ||
@@ -57,2 +59,3 @@ updatedAt: $updatedAt, | ||
iso3?: StringFilterInput | null; | ||
locale?: string | null; | ||
search?: string | null; | ||
@@ -63,3 +66,3 @@ updatedAt?: DateFilterInput | null; | ||
const allReturnFields = | ||
"{capital createdAt currency currencyCode currencySymbol deleted emoji emojiString id iso2 iso3 locationTranslations {en tr } name native phoneCode region subregion updatedAt }"; | ||
"{capital createdAt currency currencyCode currencySymbol deleted emoji emojiString id iso2 iso3 locationTranslations {de en tr } name native phoneCode region subregion updatedAt }"; | ||
@@ -78,2 +81,3 @@ export enum ResponseField { | ||
ISO3 = "iso3", | ||
LOCATION_TRANSLATIONS__DE = "locationTranslations.de", | ||
LOCATION_TRANSLATIONS__EN = "locationTranslations.en", | ||
@@ -80,0 +84,0 @@ LOCATION_TRANSLATIONS__TR = "locationTranslations.tr", |
@@ -75,3 +75,3 @@ import { | ||
const allReturnFields = | ||
"{count data {attributes {imageIds productAttributeId productAttributeOptionId value } brandId categoryIds createdAt deleted description groupVariantsByVariantTypeId id maxQuantityPerCart metaData {canonicals createdAt deleted description disableIndex id metadataOverrides {description language pageTitle storefrontId storefrontRegionId } pageTitle redirectTo slug targetId targetType translations {description locale pageTitle } updatedAt } name productOptionSetId productVariantTypes {order variantTypeId variantValueIds } salesChannelIds shortDescription tagIds translations {description locale name } type updatedAt variants {attributes {imageIds productAttributeId productAttributeOptionId value } barcodeList createdAt deleted hsCode id images {imageId isMain isVideo order } isActive prices {buyPrice currency currencyCode currencySymbol discountPrice priceListId sellPrice } sellIfOutOfStock sku stocks {stockCount stockLocationId } updatedAt variantValueIds {variantTypeId variantValueId } weight } vendorId weight } hasNext limit page }"; | ||
"{count data {attributes {imageIds productAttributeId productAttributeOptionId value } baseUnit {baseAmount type unitId } brandId categoryIds createdAt deleted description groupVariantsByVariantTypeId id maxQuantityPerCart metaData {canonicals createdAt deleted description disableIndex id metadataOverrides {description language pageTitle storefrontId storefrontRegionId } pageTitle redirectTo slug targetId targetType translations {description locale pageTitle } updatedAt } name productOptionSetId productVariantTypes {order variantTypeId variantValueIds } salesChannelIds shortDescription tagIds translations {description locale name } type updatedAt variants {attributes {imageIds productAttributeId productAttributeOptionId value } barcodeList createdAt deleted hsCode id images {imageId isMain isVideo order } isActive prices {buyPrice currency currencyCode currencySymbol discountPrice priceListId sellPrice } sellIfOutOfStock sku stocks {stockCount stockLocationId } unit {amount type } updatedAt variantValueIds {variantTypeId variantValueId } weight } vendorId weight } hasNext limit page }"; | ||
@@ -84,2 +84,5 @@ export enum ResponseField { | ||
DATA__ATTRIBUTES__VALUE = "data.attributes.value", | ||
DATA__BASE_UNIT__BASE_AMOUNT = "data.baseUnit.baseAmount", | ||
DATA__BASE_UNIT__TYPE = "data.baseUnit.type", | ||
DATA__BASE_UNIT__UNIT_ID = "data.baseUnit.unitId", | ||
DATA__BRAND_ID = "data.brandId", | ||
@@ -151,2 +154,4 @@ DATA__CATEGORY_IDS = "data.categoryIds", | ||
DATA__VARIANTS__STOCKS__STOCK_LOCATION_ID = "data.variants.stocks.stockLocationId", | ||
DATA__VARIANTS__UNIT__AMOUNT = "data.variants.unit.amount", | ||
DATA__VARIANTS__UNIT__TYPE = "data.variants.unit.type", | ||
DATA__VARIANTS__UPDATED_AT = "data.variants.updatedAt", | ||
@@ -153,0 +158,0 @@ DATA__VARIANTS__VARIANT_VALUE_IDS__VARIANT_TYPE_ID = "data.variants.variantValueIds.variantTypeId", |
@@ -45,3 +45,3 @@ import { | ||
const allReturnFields = | ||
"{count data facets {id values {count id } } limit page results {attributes {imageIds productAttribute {id name tableTemplate {columns {id name } rows {id name } } translations {description locale name options {id name } } type } productAttributeOption {id name } value } brand {id name slug translations {description locale name } } categories {id name path {id name slug translations {description locale name } } slug translations {description locale name } } deleted description groupVariantsByVariantTypeId id metaData {canonicals description disableIndex metadataOverrides {description language pageTitle storefrontId storefrontRegionId } pageTitle redirectTo slug translations {description locale pageTitle } } name productOptionSetId productVariantTypes {order variantType {id name selectionType translations {locale name values {id name } } values {colorCode id name thumbnailImageId } } variantValueIds } salesChannelIds shortDescription tags {id name translations {description locale name } } translations {description locale name } type variants {attributes {imageIds productAttribute {id name tableTemplate {columns {id name } rows {id name } } translations {description locale name options {id name } } type } productAttributeOption {id name } value } barcodeList deleted id images {id isMain isVideo order } isActive prices {buyPrice currency currencyCode currencySymbol discountPrice priceListId sellPrice } sellIfOutOfStock sku stocks {stockCount stockLocationId } variantValues {variantTypeId variantValueId } weight } weight } totalCount }"; | ||
"{count data facets {id values {count id } } limit page results {attributes {imageIds productAttribute {id name tableTemplate {columns {id name } rows {id name } } translations {description locale name options {id name } } type } productAttributeOption {id name } value } brand {id name slug translations {description locale name } } categories {id name path {id name slug translations {description locale name } } slug translations {description locale name } } deleted description groupVariantsByVariantTypeId id metaData {canonicals description disableIndex metadataOverrides {description language pageTitle storefrontId storefrontRegionId } pageTitle redirectTo slug translations {description locale pageTitle } } name productOptionSetId productUnit {baseAmount type unitId } productVariantTypes {order variantType {id name selectionType translations {locale name values {id name } } values {colorCode id name thumbnailImageId } } variantValueIds } salesChannelIds shortDescription tags {id name translations {description locale name } } translations {description locale name } type variants {attributes {imageIds productAttribute {id name tableTemplate {columns {id name } rows {id name } } translations {description locale name options {id name } } type } productAttributeOption {id name } value } barcodeList deleted id images {id isMain isVideo order } isActive prices {buyPrice currency currencyCode currencySymbol discountPrice priceListId sellPrice unitPrice } sellIfOutOfStock sku stocks {stockCount stockLocationId } unit {amount type } variantValues {variantTypeId variantValueId } weight } weight } totalCount }"; | ||
@@ -110,2 +110,5 @@ export enum ResponseField { | ||
RESULTS__PRODUCT_OPTION_SET_ID = "results.productOptionSetId", | ||
RESULTS__PRODUCT_UNIT__BASE_AMOUNT = "results.productUnit.baseAmount", | ||
RESULTS__PRODUCT_UNIT__TYPE = "results.productUnit.type", | ||
RESULTS__PRODUCT_UNIT__UNIT_ID = "results.productUnit.unitId", | ||
RESULTS__PRODUCT_VARIANT_TYPES__ORDER = "results.productVariantTypes.order", | ||
@@ -166,2 +169,3 @@ RESULTS__PRODUCT_VARIANT_TYPES__VARIANT_TYPE__ID = "results.productVariantTypes.variantType.id", | ||
RESULTS__VARIANTS__PRICES__SELL_PRICE = "results.variants.prices.sellPrice", | ||
RESULTS__VARIANTS__PRICES__UNIT_PRICE = "results.variants.prices.unitPrice", | ||
RESULTS__VARIANTS__SELL_IF_OUT_OF_STOCK = "results.variants.sellIfOutOfStock", | ||
@@ -171,2 +175,4 @@ RESULTS__VARIANTS__SKU = "results.variants.sku", | ||
RESULTS__VARIANTS__STOCKS__STOCK_LOCATION_ID = "results.variants.stocks.stockLocationId", | ||
RESULTS__VARIANTS__UNIT__AMOUNT = "results.variants.unit.amount", | ||
RESULTS__VARIANTS__UNIT__TYPE = "results.variants.unit.type", | ||
RESULTS__VARIANTS__VARIANT_VALUES__VARIANT_TYPE_ID = "results.variants.variantValues.variantTypeId", | ||
@@ -173,0 +179,0 @@ RESULTS__VARIANTS__VARIANT_VALUES__VARIANT_VALUE_ID = "results.variants.variantValues.variantValueId", |
@@ -13,4 +13,7 @@ import { APIResponse } from "@ikas/fe-api-client"; | ||
IkasState, | ||
initIkasCountry, | ||
} from "@ikas/storefront-models"; | ||
import { IkasStorefrontConfig } from "@ikas/storefront-config"; | ||
export type { | ||
@@ -32,7 +35,13 @@ ListCountryQueryParams, | ||
.default; | ||
const response = await _listCountry(params); | ||
return new APIResponse( | ||
response.data as IkasCountry[] | undefined, | ||
response.graphQLErrors | ||
const response = await _listCountry({ | ||
...params, | ||
locale: params.locale || IkasStorefrontConfig.getCurrentLocale(), | ||
}); | ||
const data: IkasCountry[] | undefined = response.data as any[]; | ||
data.forEach((c) => | ||
initIkasCountry(c, IkasStorefrontConfig.getCurrentLocale()) | ||
); | ||
return new APIResponse(data, response.graphQLErrors); | ||
} | ||
@@ -39,0 +48,0 @@ |
@@ -22,2 +22,3 @@ import { APIResponse } from "@ikas/fe-api-client"; | ||
IkasProductAttributeType, | ||
IkasProductBaseUnit, | ||
IkasProductCampaign, | ||
@@ -27,2 +28,3 @@ IkasProductFilter, | ||
IkasProductPrice, | ||
IkasProductVariantUnit, | ||
initIkasProduct, | ||
@@ -259,2 +261,3 @@ initIkasProductAttribute, | ||
description: simple.description || "", | ||
baseUnit: simple.productUnit as unknown as IkasProductBaseUnit, | ||
metaData: | ||
@@ -301,2 +304,3 @@ { | ||
sellIfOutOfStock: v.sellIfOutOfStock || false, | ||
unit: v.unit as unknown as IkasProductVariantUnit, | ||
attributes: | ||
@@ -303,0 +307,0 @@ v.attributes?.map((a) => ({ |
Sorry, the diff of this file is too big to display
871397
384
20170