@ikas/storefront-api 5.0.0-beta.3 → 5.0.0-beta.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/__api/models/AbandonedCartFlow.d.ts +22 -19
- package/build/__api/models/AbandonedCartFlowCustomerFilter.d.ts +10 -10
- package/build/__api/models/AddItemToCartInput.d.ts +19 -16
- package/build/__api/models/AdditionalPrice.d.ts +13 -13
- package/build/__api/models/ApplicableProductFilterValue.d.ts +14 -13
- package/build/__api/models/AppliedProduct.d.ts +10 -10
- package/build/__api/models/AppliedProductInput.d.ts +10 -10
- package/build/__api/models/AvailableShippingMethod.d.ts +16 -14
- package/build/__api/models/Blog.d.ts +28 -28
- package/build/__api/models/BlogCategory.d.ts +14 -13
- package/build/__api/models/BlogCategoryPaginationResponse.d.ts +14 -14
- package/build/__api/models/BlogContent.d.ts +12 -12
- package/build/__api/models/BlogMetadata.d.ts +17 -17
- package/build/__api/models/BlogMetadataPaginationResponse.d.ts +14 -14
- package/build/__api/models/BlogMetadataTargetTypeEnumFilter.d.ts +13 -13
- package/build/__api/models/BlogPaginationResponse.d.ts +14 -14
- package/build/__api/models/BlogTag.d.ts +10 -10
- package/build/__api/models/BlogWriter.d.ts +10 -10
- package/build/__api/models/BooleanFilterInput.d.ts +9 -9
- package/build/__api/models/BundleProductInput.d.ts +12 -10
- package/build/__api/models/BundleProductModel.d.ts +17 -16
- package/build/__api/models/BundleSettingsModel.d.ts +12 -12
- package/build/__api/models/BuyX.d.ts +12 -12
- package/build/__api/models/BuyXThenGetY.d.ts +13 -13
- package/build/__api/models/Campaign.d.ts +34 -31
- package/build/__api/models/CampaignDateRangeField.d.ts +10 -10
- package/build/__api/models/CampaignFilter.d.ts +11 -11
- package/build/__api/models/CampaignMinMaxRangeField.d.ts +10 -10
- package/build/__api/models/CampaignOffer.d.ts +25 -22
- package/build/__api/models/CampaignOfferProduct.d.ts +23 -23
- package/build/__api/models/CampaignOfferProductTranslation.d.ts +11 -11
- package/build/__api/models/CampaignOfferTriggerSettings.d.ts +11 -11
- package/build/__api/models/CampaignTranslation.d.ts +10 -0
- package/build/__api/models/Cart.d.ts +32 -32
- package/build/__api/models/CartAcceptedOfferInput.d.ts +13 -0
- package/build/__api/models/CartCampaignOffer.d.ts +17 -17
- package/build/__api/models/CartLineItemInput.d.ts +12 -12
- package/build/__api/models/CartLineOptionInput.d.ts +11 -11
- package/build/__api/models/CartLineVariantInput.d.ts +12 -12
- package/build/__api/models/CartStorefrontRouting.d.ts +15 -15
- package/build/__api/models/CartStorefrontRoutingDynamicCurrencySettings.d.ts +11 -11
- package/build/__api/models/CartV2.d.ts +74 -71
- package/build/__api/models/CartV2CampaignOffer.d.ts +19 -19
- package/build/__api/models/Category.d.ts +27 -27
- package/build/__api/models/CategoryCondition.d.ts +12 -11
- package/build/__api/models/CategoryPaginationResponse.d.ts +14 -14
- package/build/__api/models/CategoryPathFilterInput.d.ts +9 -9
- package/build/__api/models/CategoryPathItem.d.ts +17 -17
- package/build/__api/models/CategoryTranslation.d.ts +11 -11
- package/build/__api/models/CheckStocksLineInput.d.ts +11 -11
- package/build/__api/models/CheckStocksLineInput.js +1 -1
- package/build/__api/models/CheckStocksLineResponse.d.ts +11 -11
- package/build/__api/models/CheckStocksResponse.d.ts +10 -10
- package/build/__api/models/Checkout.d.ts +44 -44
- package/build/__api/models/CheckoutCustomer.d.ts +19 -19
- package/build/__api/models/CheckoutCustomerInput.d.ts +13 -13
- package/build/__api/models/CheckoutCustomerInput.js +1 -1
- package/build/__api/models/CheckoutOption.d.ts +10 -10
- package/build/__api/models/CheckoutSettings.d.ts +26 -25
- package/build/__api/models/CheckoutSettingsPrice.d.ts +12 -11
- package/build/__api/models/City.d.ts +16 -16
- package/build/__api/models/Country.d.ts +24 -24
- package/build/__api/models/CreateAdyenSessionResponse.d.ts +12 -12
- package/build/__api/models/CreateCustomerEmailSubscriptionInput.d.ts +13 -13
- package/build/__api/models/CreateCustomerReviewInput.d.ts +20 -20
- package/build/__api/models/CreateKlarnaTokenResponse.d.ts +12 -12
- package/build/__api/models/CreatePaypalOrderResponse.d.ts +11 -0
- package/build/__api/models/CreateSaleTransactionMasterPassPaymentMethodDetail.d.ts +10 -10
- package/build/__api/models/CreateSaleTransactionWithCartInput.d.ts +15 -14
- package/build/__api/models/CreateSaleTransactionWithCheckoutInput.d.ts +15 -14
- package/build/__api/models/CreateStripePaymentIntentResponse.d.ts +12 -12
- package/build/__api/models/CurrencyRate.d.ts +15 -15
- package/build/__api/models/CurrencyRateData.d.ts +10 -10
- package/build/__api/models/Customer.d.ts +38 -35
- package/build/__api/models/CustomerAddress.d.ts +33 -31
- package/build/__api/models/CustomerAddressCity.d.ts +11 -11
- package/build/__api/models/CustomerAddressCityInput.d.ts +11 -11
- package/build/__api/models/CustomerAddressCityInput.js +1 -1
- package/build/__api/models/CustomerAddressCountry.d.ts +13 -13
- package/build/__api/models/CustomerAddressCountryInput.d.ts +13 -13
- package/build/__api/models/CustomerAddressCountryInput.js +1 -1
- package/build/__api/models/CustomerAddressDistrict.d.ts +11 -11
- package/build/__api/models/CustomerAddressDistrictInput.d.ts +11 -11
- package/build/__api/models/CustomerAddressDistrictInput.js +1 -1
- package/build/__api/models/CustomerAddressRegion.d.ts +10 -0
- package/build/__api/models/CustomerAddressRegionInput.d.ts +10 -0
- package/build/__api/models/CustomerAddressRegionInput.js +1 -0
- package/build/__api/models/CustomerAddressState.d.ts +11 -11
- package/build/__api/models/CustomerAddressStateInput.d.ts +11 -11
- package/build/__api/models/CustomerAddressStateInput.js +1 -1
- package/build/__api/models/CustomerAttribute.d.ts +20 -20
- package/build/__api/models/CustomerAttributeOption.d.ts +11 -11
- package/build/__api/models/CustomerAttributeOptionTranslation.d.ts +10 -10
- package/build/__api/models/CustomerAttributeSalesChannel.d.ts +13 -13
- package/build/__api/models/CustomerAttributeTranslation.d.ts +13 -13
- package/build/__api/models/CustomerAttributeValue.d.ts +11 -11
- package/build/__api/models/CustomerAttributeValueInput.d.ts +11 -11
- package/build/__api/models/CustomerAttributeValueInput.js +1 -1
- package/build/__api/models/CustomerCheckResponse.d.ts +9 -9
- package/build/__api/models/CustomerFavoriteProduct.d.ts +13 -11
- package/build/__api/models/CustomerLoginResponse.d.ts +12 -12
- package/build/__api/models/CustomerPriceListRule.d.ts +14 -0
- package/build/__api/models/CustomerPriceListRuleFilter.d.ts +11 -0
- package/build/__api/models/CustomerRefreshTokenResponse.d.ts +10 -10
- package/build/__api/models/CustomerReview.d.ts +25 -24
- package/build/__api/models/CustomerReviewSFPaginationResponse.d.ts +14 -14
- package/build/__api/models/CustomerReviewSummary.d.ts +15 -15
- package/build/__api/models/CustomerReviewSummaryPaginationResponse.d.ts +14 -14
- package/build/__api/models/CustomerReviewSummaryStar.d.ts +10 -10
- package/build/__api/models/CustomerSettings.d.ts +15 -13
- package/build/__api/models/CustomerSettingsPhoneValidationSettings.d.ts +10 -0
- package/build/__api/models/DateFilterInput.d.ts +16 -16
- package/build/__api/models/District.d.ts +16 -16
- package/build/__api/models/FixedDiscount.d.ts +14 -14
- package/build/__api/models/GetAvailableStockLocation.d.ts +14 -14
- package/build/__api/models/GetAvailableStockLocationAddress.d.ts +16 -16
- package/build/__api/models/GetAvailableStockLocationAddressCity.d.ts +11 -11
- package/build/__api/models/GetAvailableStockLocationsResponse.d.ts +10 -10
- package/build/__api/models/GetOrderLineFile.d.ts +9 -9
- package/build/__api/models/GetPaypalClientIdResponse.d.ts +11 -0
- package/build/__api/models/GetProductCampaignsInput.d.ts +11 -11
- package/build/__api/models/GetProductCampaignsResponse.d.ts +11 -11
- package/build/__api/models/GetProductOptionFileUrl.d.ts +11 -11
- package/build/__api/models/GetVariantStockLocation.d.ts +12 -12
- package/build/__api/models/GetVariantStockLocationListResponse.d.ts +10 -10
- package/build/__api/models/GetY.d.ts +13 -13
- package/build/__api/models/HTMLMetaData.d.ts +22 -22
- package/build/__api/models/HTMLMetaDataOverride.d.ts +13 -13
- package/build/__api/models/HTMLMetaDataTargetTypeEnumFilter.d.ts +13 -13
- package/build/__api/models/HTMLMetaDataTranslation.d.ts +12 -11
- package/build/__api/models/IndexPageSeoSetting.d.ts +16 -0
- package/build/__api/models/Invoice.d.ts +18 -18
- package/build/__api/models/ListCustomerReviewInput.d.ts +9 -9
- package/build/__api/models/LocalDeliverySettingsDayEstimatedDeliveryTime.d.ts +11 -0
- package/build/__api/models/LocationTranslations.d.ts +12 -12
- package/build/__api/models/MasterPassTokenResponse.d.ts +11 -11
- package/build/__api/models/MerchantAddress.d.ts +29 -29
- package/build/__api/models/MerchantAddressCity.d.ts +11 -11
- package/build/__api/models/MerchantAddressCountry.d.ts +13 -13
- package/build/__api/models/MerchantAddressDistrict.d.ts +11 -11
- package/build/__api/models/MerchantAddressState.d.ts +11 -11
- package/build/__api/models/MerchantSettings.d.ts +17 -17
- package/build/__api/models/MerchantSettingsCurrencyFormat.d.ts +15 -15
- package/build/__api/models/OrderAddress.d.ts +30 -30
- package/build/__api/models/OrderAddressCity.d.ts +11 -11
- package/build/__api/models/OrderAddressCityInput.d.ts +11 -11
- package/build/__api/models/OrderAddressCityInput.js +1 -1
- package/build/__api/models/OrderAddressCountry.d.ts +13 -13
- package/build/__api/models/OrderAddressCountryInput.d.ts +13 -13
- package/build/__api/models/OrderAddressCountryInput.js +1 -1
- package/build/__api/models/OrderAddressDistrict.d.ts +11 -11
- package/build/__api/models/OrderAddressDistrictInput.d.ts +11 -11
- package/build/__api/models/OrderAddressDistrictInput.js +1 -1
- package/build/__api/models/OrderAddressInput.d.ts +30 -30
- package/build/__api/models/OrderAddressInput.js +1 -1
- package/build/__api/models/OrderAddressRegion.d.ts +10 -0
- package/build/__api/models/OrderAddressRegionInput.d.ts +10 -0
- package/build/__api/models/OrderAddressRegionInput.js +1 -0
- package/build/__api/models/OrderAddressState.d.ts +11 -11
- package/build/__api/models/OrderAddressStateInput.d.ts +11 -11
- package/build/__api/models/OrderAddressStateInput.js +1 -1
- package/build/__api/models/OrderAdjustment.d.ts +19 -19
- package/build/__api/models/OrderAdjustmentAppliedOrderLine.d.ts +12 -12
- package/build/__api/models/OrderAdjustmentInput.d.ts +16 -16
- package/build/__api/models/OrderAttributeValue.d.ts +11 -0
- package/build/__api/models/OrderAttributeValueInput.d.ts +11 -0
- package/build/__api/models/OrderAttributeValueInput.js +1 -0
- package/build/__api/models/OrderCurrencyRate.d.ts +11 -11
- package/build/__api/models/OrderCustomer.d.ts +16 -16
- package/build/__api/models/OrderGiftPackageLine.d.ts +10 -10
- package/build/__api/models/OrderLineBaseUnit.d.ts +13 -13
- package/build/__api/models/OrderLineBundleVariant.d.ts +35 -34
- package/build/__api/models/OrderLineDiscount.d.ts +15 -15
- package/build/__api/models/OrderLineItem.d.ts +29 -29
- package/build/__api/models/OrderLineOption.d.ts +15 -15
- package/build/__api/models/OrderLineOptionValue.d.ts +11 -11
- package/build/__api/models/OrderLineVariant.d.ts +37 -36
- package/build/__api/models/OrderLineVariantBrand.d.ts +10 -10
- package/build/__api/models/OrderLineVariantBundleProductModel.d.ts +19 -18
- package/build/__api/models/OrderLineVariantCategory.d.ts +12 -12
- package/build/__api/models/OrderLineVariantCategoryPath.d.ts +10 -10
- package/build/__api/models/OrderLineVariantPrice.d.ts +15 -15
- package/build/__api/models/OrderLineVariantTag.d.ts +10 -10
- package/build/__api/models/OrderLineVariantUnit.d.ts +11 -11
- package/build/__api/models/OrderLineVariantUnitType.d.ts +10 -10
- package/build/__api/models/OrderLineVariantVariantValues.d.ts +13 -13
- package/build/__api/models/OrderPackage.d.ts +18 -18
- package/build/__api/models/OrderPaymentMethod.d.ts +14 -14
- package/build/__api/models/OrderRefundOrderLineInput.d.ts +10 -10
- package/build/__api/models/OrderRefundRequestInput.d.ts +13 -12
- package/build/__api/models/OrderRefundSettings.d.ts +14 -14
- package/build/__api/models/OrderSessionInfo.d.ts +25 -25
- package/build/__api/models/OrderSessionInfoTrafficSource.d.ts +11 -11
- package/build/__api/models/OrderSessionUTM.d.ts +13 -13
- package/build/__api/models/OrderSessionUserAgent.d.ts +12 -12
- package/build/__api/models/OrderShippingLine.d.ts +17 -17
- package/build/__api/models/OrderStorefrontRouting.d.ts +15 -15
- package/build/__api/models/OrderStorefrontRoutingDynamicCurrencySettings.d.ts +10 -10
- package/build/__api/models/OrderTaxLine.d.ts +10 -10
- package/build/__api/models/PaginationInput.d.ts +10 -10
- package/build/__api/models/PaymentGateway.d.ts +30 -30
- package/build/__api/models/PaymentGatewayPaymentMethod.d.ts +10 -10
- package/build/__api/models/PaymentGatewaySettings.d.ts +13 -13
- package/build/__api/models/PaymentGatewayTranslation.d.ts +11 -11
- package/build/__api/models/PaymentMethodDetailInput.d.ts +15 -15
- package/build/__api/models/ProductAttribute.d.ts +19 -19
- package/build/__api/models/ProductAttributeOption.d.ts +10 -10
- package/build/__api/models/ProductAttributeOptionTranslation.d.ts +10 -10
- package/build/__api/models/ProductAttributeTableCellData.d.ts +10 -10
- package/build/__api/models/ProductAttributeTableTemplate.d.ts +11 -11
- package/build/__api/models/ProductAttributeTranslation.d.ts +13 -13
- package/build/__api/models/ProductBackInStockRemind.d.ts +15 -15
- package/build/__api/models/ProductBackInStockRemindInput.d.ts +11 -11
- package/build/__api/models/ProductBrand.d.ts +19 -19
- package/build/__api/models/ProductBrandPaginationResponse.d.ts +14 -14
- package/build/__api/models/ProductBrandTranslation.d.ts +11 -11
- package/build/__api/models/ProductFacetCount.d.ts +11 -11
- package/build/__api/models/ProductFacetCountValue.d.ts +10 -10
- package/build/__api/models/ProductFile.d.ts +12 -0
- package/build/__api/models/ProductFilterData.d.ts +12 -12
- package/build/__api/models/ProductFilterDataFilter.d.ts +24 -24
- package/build/__api/models/ProductFilterSettings.d.ts +14 -14
- package/build/__api/models/ProductItem.d.ts +11 -11
- package/build/__api/models/ProductItemInput.d.ts +11 -11
- package/build/__api/models/ProductLastViewed.d.ts +12 -12
- package/build/__api/models/ProductLastViewedInput.d.ts +12 -12
- package/build/__api/models/ProductOption.d.ts +28 -28
- package/build/__api/models/ProductOptionDateSettings.d.ts +12 -12
- package/build/__api/models/ProductOptionFileSettings.d.ts +11 -11
- package/build/__api/models/ProductOptionSelectSettings.d.ts +14 -14
- package/build/__api/models/ProductOptionSelectValue.d.ts +16 -16
- package/build/__api/models/ProductOptionSelectValueOtherPrice.d.ts +11 -11
- package/build/__api/models/ProductOptionSelectValueTranslations.d.ts +10 -10
- package/build/__api/models/ProductOptionSet.d.ts +14 -14
- package/build/__api/models/ProductOptionSetTranslations.d.ts +11 -11
- package/build/__api/models/ProductOptionTextSettings.d.ts +10 -10
- package/build/__api/models/ProductOptionTranslations.d.ts +13 -13
- package/build/__api/models/ProductSearchCustomerReviewSummaries.d.ts +13 -13
- package/build/__api/models/ProductSearchResponse.d.ts +17 -17
- package/build/__api/models/ProductTagTranslation.d.ts +11 -11
- package/build/__api/models/ProductTranslation.d.ts +11 -11
- package/build/__api/models/ProductUnitTranslation.d.ts +11 -0
- package/build/__api/models/RaffleDateRangeField.d.ts +10 -10
- package/build/__api/models/RaffleMetadata.d.ts +17 -17
- package/build/__api/models/RaffleMetadataTargetTypeEnumFilter.d.ts +13 -13
- package/build/__api/models/RafflePaginationResponse.d.ts +14 -14
- package/build/__api/models/RaffleParticipants.d.ts +25 -25
- package/build/__api/models/RaffleParticipantsInput.d.ts +16 -16
- package/build/__api/models/RaffleVariantInformation.d.ts +10 -10
- package/build/__api/models/RetrieveInstallmentInfoInput.d.ts +12 -11
- package/build/__api/models/RetrieveInstallmentInfoResponse.d.ts +17 -17
- package/build/__api/models/SaveCartInput.d.ts +23 -21
- package/build/__api/models/SaveCartInput.js +1 -1
- package/build/__api/models/SaveCheckoutInput.d.ts +26 -26
- package/build/__api/models/SaveItemToCartInput.d.ts +20 -19
- package/build/__api/models/SaveMyCustomerAddressInput.d.ts +31 -29
- package/build/__api/models/SaveMyCustomerAddressInput.js +1 -1
- package/build/__api/models/SaveMyCustomerInput.d.ts +17 -17
- package/build/__api/models/SaveMyCustomerInput.js +1 -1
- package/build/__api/models/SearchCategory.d.ts +15 -15
- package/build/__api/models/SearchCategoryPath.d.ts +13 -13
- package/build/__api/models/SearchCategoryTranslation.d.ts +12 -0
- package/build/__api/models/SearchDynamicCurrencySettings.d.ts +10 -10
- package/build/__api/models/SearchHTMLMetaData.d.ts +18 -18
- package/build/__api/models/SearchHTMLMetaDataOverride.d.ts +13 -13
- package/build/__api/models/SearchInput.d.ts +35 -33
- package/build/__api/models/SearchInputFacetListInput.d.ts +12 -12
- package/build/__api/models/SearchInputFilterListInput.d.ts +14 -14
- package/build/__api/models/SearchInputOrderByInput.d.ts +11 -11
- package/build/__api/models/SearchProduct.d.ts +50 -42
- package/build/__api/models/SearchProductAttribute.d.ts +15 -15
- package/build/__api/models/SearchProductAttributeOption.d.ts +10 -10
- package/build/__api/models/SearchProductAttributeTableCellData.d.ts +10 -10
- package/build/__api/models/SearchProductAttributeTableTemplate.d.ts +11 -11
- package/build/__api/models/SearchProductAttributeValue.d.ts +14 -14
- package/build/__api/models/SearchProductBrand.d.ts +14 -13
- package/build/__api/models/SearchProductBrandTranslation.d.ts +12 -0
- package/build/__api/models/SearchProductCampaign.d.ts +19 -0
- package/build/__api/models/SearchProductCampaignBuyX.d.ts +10 -0
- package/build/__api/models/SearchProductCampaignBuyXThenGetY.d.ts +13 -0
- package/build/__api/models/SearchProductCampaignDateRangeField.d.ts +10 -0
- package/build/__api/models/SearchProductCampaignFixedDiscount.d.ts +9 -0
- package/build/__api/models/SearchProductCampaignGetY.d.ts +10 -0
- package/build/__api/models/SearchProductCampaignOffer.d.ts +9 -0
- package/build/__api/models/SearchProductCampaignPrice.d.ts +10 -0
- package/build/__api/models/SearchProductCustomerReviewStar.d.ts +10 -10
- package/build/__api/models/SearchProductGroup.d.ts +15 -0
- package/build/__api/models/SearchProductGroupTranslation.d.ts +11 -0
- package/build/__api/models/SearchProductGroupValueTranslation.d.ts +11 -0
- package/build/__api/models/SearchProductGroupValueType.d.ts +11 -0
- package/build/__api/models/SearchProductImage.d.ts +13 -12
- package/build/__api/models/SearchProductPrice.d.ts +18 -16
- package/build/__api/models/SearchProductProductBaseUnit.d.ts +13 -13
- package/build/__api/models/SearchProductProductUnit.d.ts +12 -10
- package/build/__api/models/SearchProductStockLocation.d.ts +10 -10
- package/build/__api/models/SearchProductTag.d.ts +12 -12
- package/build/__api/models/SearchProductVariantType.d.ts +12 -12
- package/build/__api/models/SearchVariant.d.ts +30 -29
- package/build/__api/models/SearchVariantType.d.ts +15 -15
- package/build/__api/models/SearchVariantValue.d.ts +12 -12
- package/build/__api/models/SearchVariationValueRelation.d.ts +10 -10
- package/build/__api/models/SocialLoginSettings.d.ts +14 -12
- package/build/__api/models/State.d.ts +15 -15
- package/build/__api/models/StockLocation.d.ts +18 -18
- package/build/__api/models/StockLocationAddress.d.ts +19 -19
- package/build/__api/models/StockLocationAddressCity.d.ts +11 -11
- package/build/__api/models/StockLocationAddressCountry.d.ts +11 -11
- package/build/__api/models/StockLocationAddressDistrict.d.ts +11 -11
- package/build/__api/models/StockLocationAddressState.d.ts +11 -11
- package/build/__api/models/Storefront.d.ts +41 -36
- package/build/__api/models/StorefrontB2BSettings.d.ts +12 -0
- package/build/__api/models/StorefrontDomain.d.ts +13 -13
- package/build/__api/models/StorefrontDynamicCurrencySettings.d.ts +11 -11
- package/build/__api/models/StorefrontFormCheckboxSettings.d.ts +12 -0
- package/build/__api/models/StorefrontFormCheckoutFooterPolicy.d.ts +10 -0
- package/build/__api/models/StorefrontFormCheckoutFooterSettings.d.ts +10 -0
- package/build/__api/models/StorefrontFormCheckoutSettings.d.ts +13 -0
- package/build/__api/models/StorefrontFormMailSettings.d.ts +12 -0
- package/build/__api/models/StorefrontFormSettings.d.ts +21 -0
- package/build/__api/models/StorefrontFormSettingsRouting.d.ts +9 -0
- package/build/__api/models/StorefrontLocalization.d.ts +12 -12
- package/build/__api/models/StorefrontMetaTemplate.d.ts +13 -13
- package/build/__api/models/StorefrontOrder.d.ts +51 -51
- package/build/__api/models/StorefrontPolicy.d.ts +16 -0
- package/build/__api/models/StorefrontPolicyRouting.d.ts +9 -0
- package/build/__api/models/StorefrontRaffle.d.ts +20 -20
- package/build/__api/models/StorefrontRouting.d.ts +18 -18
- package/build/__api/models/StorefrontShippingZone.d.ts +13 -0
- package/build/__api/models/StorefrontShippingZoneCity.d.ts +12 -0
- package/build/__api/models/StorefrontShippingZoneDistrict.d.ts +11 -0
- package/build/__api/models/StorefrontShippingZoneRegion.d.ts +10 -0
- package/build/__api/models/StorefrontShippingZoneState.d.ts +13 -0
- package/build/__api/models/StorefrontTheme.d.ts +15 -15
- package/build/__api/models/StorefrontTransaction.d.ts +28 -28
- package/build/__api/models/StringFilterInput.d.ts +13 -13
- package/build/__api/models/SubscribeToMarketingNotificationsInput.d.ts +12 -12
- package/build/__api/models/Town.d.ts +12 -12
- package/build/__api/models/TrackingInfo.d.ts +13 -13
- package/build/__api/models/TransactionError.d.ts +11 -11
- package/build/__api/models/TransactionInstallmentPrice.d.ts +13 -13
- package/build/__api/models/TransactionPaymentMethodDetail.d.ts +19 -19
- package/build/__api/models/TransactionResponse.d.ts +17 -16
- package/build/__api/models/UpdateCartCampaignOfferInput.d.ts +16 -14
- package/build/__api/models/VariantType.d.ts +16 -16
- package/build/__api/models/VariantTypeTranslation.d.ts +12 -12
- package/build/__api/models/VariantUnitModel.d.ts +11 -11
- package/build/__api/models/VariantValue.d.ts +12 -12
- package/build/__api/models/VariantValueTranslation.d.ts +10 -10
- package/build/__api/models/_base.d.ts +18 -18
- package/build/__api/models/_base.js +1 -1
- package/build/__api/mutations/activateCustomer.d.ts +7 -7
- package/build/__api/mutations/activateCustomer.js +1 -0
- package/build/__api/mutations/addCouponCodeToCheckout.d.ts +297 -290
- package/build/__api/mutations/addItemToCart.d.ts +351 -338
- package/build/__api/mutations/addItemToCart.js +1 -1
- package/build/__api/mutations/createAdyenPaymentSession.d.ts +13 -13
- package/build/__api/mutations/createAdyenPaymentSession.js +1 -1
- package/build/__api/mutations/createCustomerEmailSubscription.d.ts +75 -70
- package/build/__api/mutations/createCustomerReview.d.ts +28 -27
- package/build/__api/mutations/createCustomerReview.js +1 -1
- package/build/__api/mutations/createKlarnaClientToken.d.ts +13 -13
- package/build/__api/mutations/createKlarnaClientToken.js +1 -1
- package/build/__api/mutations/createOrderRefundRequest.d.ts +273 -271
- package/build/__api/mutations/createOrderRefundRequest.js +1 -1
- package/build/__api/mutations/createPaypalOrder.d.ts +12 -0
- package/build/__api/mutations/createPaypalOrder.js +1 -0
- package/build/__api/mutations/createSaleTransactionWithCart.d.ts +18 -17
- package/build/__api/mutations/createSaleTransactionWithCart.js +1 -1
- package/build/__api/mutations/createSaleTransactionWithCheckout.d.ts +18 -17
- package/build/__api/mutations/createStripePaymentIntent.d.ts +13 -13
- package/build/__api/mutations/createStripePaymentIntent.js +1 -1
- package/build/__api/mutations/customerForgotPassword.d.ts +8 -8
- package/build/__api/mutations/customerForgotPassword.js +1 -1
- package/build/__api/mutations/customerLogin.d.ts +85 -74
- package/build/__api/mutations/customerLogin.js +1 -1
- package/build/__api/mutations/customerRecoverPassword.d.ts +9 -9
- package/build/__api/mutations/customerRecoverPassword.js +1 -1
- package/build/__api/mutations/customerRefreshToken.d.ts +11 -11
- package/build/__api/mutations/customerRefreshToken.js +1 -1
- package/build/__api/mutations/deleteRaffleParticipantsList.d.ts +6 -6
- package/build/__api/mutations/getOrderLineFile.d.ts +7 -7
- package/build/__api/mutations/getOrderLineFile.js +1 -1
- package/build/__api/mutations/getPaypalClientId.d.ts +12 -0
- package/build/__api/mutations/getPaypalClientId.js +1 -0
- package/build/__api/mutations/registerCustomer.d.ts +93 -80
- package/build/__api/mutations/registerCustomer.js +1 -1
- package/build/__api/mutations/resendCustomerActivationMail.d.ts +7 -7
- package/build/__api/mutations/resendCustomerActivationMail.js +1 -0
- package/build/__api/mutations/resendCustomerPhoneVerificationCode.d.ts +7 -0
- package/build/__api/mutations/resendCustomerPhoneVerificationCode.js +1 -0
- package/build/__api/mutations/retrieveInstallmentInfo.d.ts +20 -20
- package/build/__api/mutations/retrieveInstallmentInfo.js +1 -1
- package/build/__api/mutations/saveCart.d.ts +351 -338
- package/build/__api/mutations/saveCart.js +1 -1
- package/build/__api/mutations/saveCartCouponCode.d.ts +351 -339
- package/build/__api/mutations/saveCartCouponCode.js +1 -1
- package/build/__api/mutations/saveCheckout.d.ts +297 -289
- package/build/__api/mutations/saveFavoriteProduct.d.ts +7 -7
- package/build/__api/mutations/saveFavoriteProduct.js +1 -1
- package/build/__api/mutations/saveItemToCart.d.ts +162 -159
- package/build/__api/mutations/saveLastViewedProducts.d.ts +20 -20
- package/build/__api/mutations/saveLastViewedProducts.js +1 -1
- package/build/__api/mutations/saveMyCustomer.d.ts +81 -70
- package/build/__api/mutations/saveMyCustomer.js +1 -1
- package/build/__api/mutations/saveProductBackInStockRemind.d.ts +19 -19
- package/build/__api/mutations/saveProductBackInStockRemind.js +1 -1
- package/build/__api/mutations/saveRaffleParticipant.d.ts +49 -49
- package/build/__api/mutations/saveRaffleParticipant.js +1 -1
- package/build/__api/mutations/sendContactFormToMerchant.d.ts +13 -12
- package/build/__api/mutations/sendContactFormToMerchant.js +1 -1
- package/build/__api/mutations/subscribeToMarketingNotifications.d.ts +7 -7
- package/build/__api/mutations/subscribeToMarketingNotifications.js +1 -1
- package/build/__api/mutations/updateCartCampaignOffer.d.ts +350 -338
- package/build/__api/mutations/updateCartCampaignOffer.js +1 -1
- package/build/__api/mutations/validateCustomerPhoneVerificationCode.d.ts +7 -0
- package/build/__api/mutations/validateCustomerPhoneVerificationCode.js +1 -0
- package/build/__api/queries/checkCartStocks.d.ts +13 -0
- package/build/__api/queries/checkCartStocks.js +1 -0
- package/build/__api/queries/checkCustomerEmail.d.ts +12 -12
- package/build/__api/queries/checkCustomerEmail.js +1 -1
- package/build/__api/queries/checkOrderStocks.d.ts +13 -13
- package/build/__api/queries/checkStocks.d.ts +13 -13
- package/build/__api/queries/checkStocks.js +1 -1
- package/build/__api/queries/customerSocialLogin.d.ts +83 -72
- package/build/__api/queries/customerSocialLogin.js +1 -1
- package/build/__api/queries/getAvailableShippingCountries.d.ts +6 -6
- package/build/__api/queries/getAvailableShippingCountries.js +1 -1
- package/build/__api/queries/getAvailableShippingZones.d.ts +23 -0
- package/build/__api/queries/getAvailableShippingZones.js +1 -0
- package/build/__api/queries/getAvailableStockLocations.d.ts +28 -28
- package/build/__api/queries/getAvailableStockLocations.js +1 -1
- package/build/__api/queries/getCart.d.ts +164 -161
- package/build/__api/queries/getCartById.d.ts +352 -339
- package/build/__api/queries/getCartById.js +1 -1
- package/build/__api/queries/getCheckoutByCartId.d.ts +297 -289
- package/build/__api/queries/getCheckoutById.d.ts +297 -289
- package/build/__api/queries/getCurrencyRate.d.ts +19 -19
- package/build/__api/queries/getCustomerOrders.d.ts +273 -271
- package/build/__api/queries/getCustomerOrders.js +1 -1
- package/build/__api/queries/getDigitalProductFileDownloadUrl.d.ts +7 -0
- package/build/__api/queries/getDigitalProductFileDownloadUrl.js +1 -0
- package/build/__api/queries/getLastViewedProducts.d.ts +20 -20
- package/build/__api/queries/getLastViewedProducts.js +1 -1
- package/build/__api/queries/getMasterPassRequestToken.d.ts +15 -15
- package/build/__api/queries/getMasterPassRequestToken.js +1 -1
- package/build/__api/queries/getMyCountry.d.ts +3 -3
- package/build/__api/queries/getMyCountry.js +1 -1
- package/build/__api/queries/getMyCustomer.d.ts +78 -67
- package/build/__api/queries/getMyCustomer.js +1 -1
- package/build/__api/queries/getOrder.d.ts +273 -271
- package/build/__api/queries/getOrderByEmail.d.ts +274 -272
- package/build/__api/queries/getOrderByEmail.js +1 -1
- package/build/__api/queries/getProductCampaigns.d.ts +51 -48
- package/build/__api/queries/getProductCampaigns.js +1 -1
- package/build/__api/queries/getProductFilterData.d.ts +175 -167
- package/build/__api/queries/getProductFilterData.js +1 -1
- package/build/__api/queries/getProductOptionFileUrl.d.ts +14 -14
- package/build/__api/queries/getProductOptionFileUrl.js +1 -1
- package/build/__api/queries/getRelatedProducts.d.ts +17 -17
- package/build/__api/queries/getRelatedProducts.js +1 -1
- package/build/__api/queries/getStorefront.d.ts +89 -72
- package/build/__api/queries/getStorefrontSettings.d.ts +3 -3
- package/build/__api/queries/getStorefrontSettings.js +1 -1
- package/build/__api/queries/getSuggestedProducts.d.ts +186 -165
- package/build/__api/queries/getSuggestedProducts.js +1 -1
- package/build/__api/queries/getVariantStockLocations.d.ts +30 -30
- package/build/__api/queries/getVariantStockLocations.js +1 -1
- package/build/__api/queries/isFavoriteProduct.d.ts +6 -6
- package/build/__api/queries/isFavoriteProduct.js +1 -1
- package/build/__api/queries/listBlog.d.ts +78 -76
- package/build/__api/queries/listBlog.js +1 -1
- package/build/__api/queries/listBlogCategory.d.ts +37 -35
- package/build/__api/queries/listBlogCategory.js +1 -1
- package/build/__api/queries/listBlogMetadata.d.ts +30 -30
- package/build/__api/queries/listBlogMetadata.js +1 -1
- package/build/__api/queries/listCampaignOffer.d.ts +41 -38
- package/build/__api/queries/listCampaignOffer.js +1 -0
- package/build/__api/queries/listCategory.d.ts +92 -89
- package/build/__api/queries/listCategory.js +1 -1
- package/build/__api/queries/listCheckoutSettings.d.ts +33 -31
- package/build/__api/queries/listCheckoutSettings.js +1 -1
- package/build/__api/queries/listCity.d.ts +25 -25
- package/build/__api/queries/listCity.js +1 -1
- package/build/__api/queries/listCountry.d.ts +36 -36
- package/build/__api/queries/listCountry.js +1 -1
- package/build/__api/queries/listCustomerAttribute.d.ts +29 -29
- package/build/__api/queries/listCustomerAttribute.js +1 -1
- package/build/__api/queries/listCustomerReviewSummary.d.ts +25 -25
- package/build/__api/queries/listCustomerReviewSummary.js +1 -1
- package/build/__api/queries/listCustomerReviews.d.ts +36 -35
- package/build/__api/queries/listCustomerReviews.js +1 -1
- package/build/__api/queries/listCustomerSettings.d.ts +20 -18
- package/build/__api/queries/listCustomerSettings.js +1 -1
- package/build/__api/queries/listDistrict.d.ts +26 -26
- package/build/__api/queries/listDistrict.js +1 -1
- package/build/__api/queries/listFavoriteProducts.d.ts +14 -12
- package/build/__api/queries/listFavoriteProducts.js +1 -1
- package/build/__api/queries/listHTMLMetaData.d.ts +36 -34
- package/build/__api/queries/listHTMLMetaData.js +1 -1
- package/build/__api/queries/listMerchantSettings.d.ts +50 -50
- package/build/__api/queries/listMerchantSettings.js +1 -1
- package/build/__api/queries/listOrderRefundSettings.d.ts +21 -21
- package/build/__api/queries/listOrderRefundSettings.js +1 -1
- package/build/__api/queries/listOrderTransactions.d.ts +45 -45
- package/build/__api/queries/listOrderTransactions.js +1 -1
- package/build/__api/queries/listPaymentGateway.d.ts +43 -42
- package/build/__api/queries/listPaymentGateway.js +1 -1
- package/build/__api/queries/listProductAttribute.d.ts +33 -33
- package/build/__api/queries/listProductAttribute.js +1 -1
- package/build/__api/queries/listProductBackInStockRemind.d.ts +24 -24
- package/build/__api/queries/listProductBackInStockRemind.js +1 -1
- package/build/__api/queries/listProductBrand.d.ts +52 -51
- package/build/__api/queries/listProductBrand.js +1 -1
- package/build/__api/queries/listProductFile.d.ts +16 -0
- package/build/__api/queries/listProductFile.js +1 -0
- package/build/__api/queries/listProductOptionSet.d.ts +61 -61
- package/build/__api/queries/listProductOptionSet.js +1 -1
- package/build/__api/queries/listRaffleMetadata.d.ts +26 -26
- package/build/__api/queries/listRaffleMetadata.js +1 -1
- package/build/__api/queries/listRaffleParticipants.d.ts +46 -46
- package/build/__api/queries/listRaffleParticipants.js +1 -1
- package/build/__api/queries/listState.d.ts +26 -26
- package/build/__api/queries/listState.js +1 -1
- package/build/__api/queries/listStockLocation.d.ts +35 -35
- package/build/__api/queries/listStockLocation.js +1 -1
- package/build/__api/queries/listStorefrontFormSettings.d.ts +38 -0
- package/build/__api/queries/listStorefrontPolicy.d.ts +24 -0
- package/build/__api/queries/listStorefrontRaffle.d.ts +44 -44
- package/build/__api/queries/listStorefrontRaffle.js +1 -1
- package/build/__api/queries/listTown.d.ts +20 -20
- package/build/__api/queries/listVariantType.d.ts +29 -29
- package/build/__api/queries/searchProducts.d.ts +209 -163
- package/build/__api/queries/searchProducts.js +1 -1
- package/build/__api/types/index.d.ts +3284 -2892
- package/build/__api/types/index.js +1 -1
- package/build/api/blog/index.d.ts +27 -27
- package/build/api/blog/index.js +1 -1
- package/build/api/brand/index.d.ts +11 -11
- package/build/api/brand/index.js +1 -1
- package/build/api/cart/index.d.ts +13 -13
- package/build/api/cart/index.js +1 -1
- package/build/api/category/index.d.ts +11 -11
- package/build/api/category/index.js +1 -1
- package/build/api/checkout/index.d.ts +33 -25
- package/build/api/checkout/index.js +1 -1
- package/build/api/customer/index.d.ts +277 -203
- package/build/api/customer/index.js +1 -1
- package/build/api/file-upload/index.d.ts +13 -11
- package/build/api/file-upload/index.js +1 -1
- package/build/api/html-meta-data/index.d.ts +5 -5
- package/build/api/html-meta-data/index.js +1 -1
- package/build/api/location/index.d.ts +14 -12
- package/build/api/location/index.js +1 -1
- package/build/api/masterpass/index.d.ts +3 -3
- package/build/api/masterpass/index.js +1 -1
- package/build/api/merchant/index.d.ts +5 -5
- package/build/api/merchant/index.js +1 -1
- package/build/api/product/index.d.ts +54 -51
- package/build/api/product/index.js +1 -1
- package/build/api/raffle/index.d.ts +16 -16
- package/build/api/raffle/index.js +1 -1
- package/build/api/storefront/index.d.ts +15 -14
- package/build/api/storefront/index.js +1 -1
- package/build/index.d.ts +24 -23
- package/build/index.js +1 -1
- package/build/node_modules/@ikas/fe-api-client/build/_virtual/_commonjsHelpers.js +1 -0
- package/build/node_modules/@ikas/fe-api-client/build/_virtual/axios-error-format.js +1 -0
- package/build/node_modules/@ikas/fe-api-client/build/_virtual/core.js +1 -0
- package/build/node_modules/@ikas/fe-api-client/build/_virtual/index.js +1 -0
- package/build/node_modules/@ikas/fe-api-client/build/config/index.js +1 -0
- package/build/node_modules/@ikas/fe-api-client/build/ext/@redtea/format-axios-error/axios-error-format.js +1 -0
- package/build/node_modules/@ikas/fe-api-client/build/ext/@redtea/format-axios-error/core.js +1 -0
- package/build/node_modules/@ikas/fe-api-client/build/ext/@redtea/format-axios-error/index.js +1 -0
- package/build/node_modules/@ikas/fe-api-client/build/ext/@redtea/format-axios-error/index.mjs.js +1 -0
- package/build/node_modules/@ikas/fe-api-client/build/ext/lodash/_Hash.js +1 -0
- package/build/node_modules/@ikas/fe-api-client/build/ext/lodash/_ListCache.js +1 -0
- package/build/node_modules/@ikas/fe-api-client/build/ext/lodash/_Map.js +1 -0
- package/build/node_modules/@ikas/fe-api-client/build/ext/lodash/_MapCache.js +1 -0
- package/build/node_modules/@ikas/fe-api-client/build/ext/lodash/_Symbol.js +1 -0
- package/build/node_modules/@ikas/fe-api-client/build/ext/lodash/_arrayMap.js +1 -0
- package/build/node_modules/@ikas/fe-api-client/build/ext/lodash/_assignValue.js +1 -0
- package/build/node_modules/@ikas/fe-api-client/build/ext/lodash/_assocIndexOf.js +1 -0
- package/build/node_modules/@ikas/fe-api-client/build/ext/lodash/_baseAssignValue.js +1 -0
- package/build/node_modules/@ikas/fe-api-client/build/ext/lodash/_baseGetTag.js +1 -0
- package/build/node_modules/@ikas/fe-api-client/build/ext/lodash/_baseIsNative.js +1 -0
- package/build/node_modules/@ikas/fe-api-client/build/ext/lodash/_baseSet.js +1 -0
- package/build/node_modules/@ikas/fe-api-client/build/ext/lodash/_baseToString.js +1 -0
- package/build/node_modules/@ikas/fe-api-client/build/ext/lodash/_castPath.js +1 -0
- package/build/node_modules/@ikas/fe-api-client/build/ext/lodash/_coreJsData.js +1 -0
- package/build/node_modules/@ikas/fe-api-client/build/ext/lodash/_defineProperty.js +1 -0
- package/build/node_modules/@ikas/fe-api-client/build/ext/lodash/_freeGlobal.js +1 -0
- package/build/node_modules/@ikas/fe-api-client/build/ext/lodash/_getMapData.js +1 -0
- package/build/node_modules/@ikas/fe-api-client/build/ext/lodash/_getNative.js +1 -0
- package/build/node_modules/@ikas/fe-api-client/build/ext/lodash/_getRawTag.js +1 -0
- package/build/node_modules/@ikas/fe-api-client/build/ext/lodash/_getValue.js +1 -0
- package/build/node_modules/@ikas/fe-api-client/build/ext/lodash/_hashClear.js +1 -0
- package/build/node_modules/@ikas/fe-api-client/build/ext/lodash/_hashDelete.js +1 -0
- package/build/node_modules/@ikas/fe-api-client/build/ext/lodash/_hashGet.js +1 -0
- package/build/node_modules/@ikas/fe-api-client/build/ext/lodash/_hashHas.js +1 -0
- package/build/node_modules/@ikas/fe-api-client/build/ext/lodash/_hashSet.js +1 -0
- package/build/node_modules/@ikas/fe-api-client/build/ext/lodash/_isIndex.js +1 -0
- package/build/node_modules/@ikas/fe-api-client/build/ext/lodash/_isKey.js +1 -0
- package/build/node_modules/@ikas/fe-api-client/build/ext/lodash/_isKeyable.js +1 -0
- package/build/node_modules/@ikas/fe-api-client/build/ext/lodash/_isMasked.js +1 -0
- package/build/node_modules/@ikas/fe-api-client/build/ext/lodash/_listCacheClear.js +1 -0
- package/build/node_modules/@ikas/fe-api-client/build/ext/lodash/_listCacheDelete.js +1 -0
- package/build/node_modules/@ikas/fe-api-client/build/ext/lodash/_listCacheGet.js +1 -0
- package/build/node_modules/@ikas/fe-api-client/build/ext/lodash/_listCacheHas.js +1 -0
- package/build/node_modules/@ikas/fe-api-client/build/ext/lodash/_listCacheSet.js +1 -0
- package/build/node_modules/@ikas/fe-api-client/build/ext/lodash/_mapCacheClear.js +1 -0
- package/build/node_modules/@ikas/fe-api-client/build/ext/lodash/_mapCacheDelete.js +1 -0
- package/build/node_modules/@ikas/fe-api-client/build/ext/lodash/_mapCacheGet.js +1 -0
- package/build/node_modules/@ikas/fe-api-client/build/ext/lodash/_mapCacheHas.js +1 -0
- package/build/node_modules/@ikas/fe-api-client/build/ext/lodash/_mapCacheSet.js +1 -0
- package/build/node_modules/@ikas/fe-api-client/build/ext/lodash/_memoizeCapped.js +1 -0
- package/build/node_modules/@ikas/fe-api-client/build/ext/lodash/_nativeCreate.js +1 -0
- package/build/node_modules/@ikas/fe-api-client/build/ext/lodash/_objectToString.js +1 -0
- package/build/node_modules/@ikas/fe-api-client/build/ext/lodash/_root.js +1 -0
- package/build/node_modules/@ikas/fe-api-client/build/ext/lodash/_stringToPath.js +1 -0
- package/build/node_modules/@ikas/fe-api-client/build/ext/lodash/_toKey.js +1 -0
- package/build/node_modules/@ikas/fe-api-client/build/ext/lodash/_toSource.js +1 -0
- package/build/node_modules/@ikas/fe-api-client/build/ext/lodash/eq.js +1 -0
- package/build/node_modules/@ikas/fe-api-client/build/ext/lodash/isArray.js +1 -0
- package/build/node_modules/@ikas/fe-api-client/build/ext/lodash/isFunction.js +1 -0
- package/build/node_modules/@ikas/fe-api-client/build/ext/lodash/isObject.js +1 -0
- package/build/node_modules/@ikas/fe-api-client/build/ext/lodash/isObjectLike.js +1 -0
- package/build/node_modules/@ikas/fe-api-client/build/ext/lodash/isSymbol.js +1 -0
- package/build/node_modules/@ikas/fe-api-client/build/ext/lodash/memoize.js +1 -0
- package/build/node_modules/@ikas/fe-api-client/build/ext/lodash/set.js +1 -0
- package/build/node_modules/@ikas/fe-api-client/build/ext/lodash/toString.js +1 -0
- package/build/node_modules/@ikas/fe-api-client/build/ext/tslib/tslib.es6.js +15 -0
- package/build/node_modules/@ikas/fe-api-client/build/helpers/generate-return-fields.js +1 -0
- package/build/node_modules/@ikas/fe-api-client/build/utils/api.js +1 -0
- package/build/node_modules/@ikas/fe-api-client/build/utils/fetch-query.js +1 -0
- package/package.json +22 -19
- package/build/__api/models/ShippingZoneRegion.d.ts +0 -10
- package/build/__api/models/ShippingZoneRegionInput.d.ts +0 -10
- package/build/__api/models/ShippingZoneRegionInput.js +0 -1
- package/build/ext/tslib/tslib.es6.js +0 -1
- package/build/index2.js +0 -1
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { ConfigType, APIResponse } from "@ikas/fe-api-client";
|
|
2
|
-
import { StringFilterInput, DateFilterInput, OrderRefundSettings } from "../types";
|
|
3
|
-
declare const listOrderRefundSettings: (variables: QueryParams, fields?: string[], config?: ConfigType) => Promise<APIResponse<OrderRefundSettings[]> | APIResponse<undefined>>;
|
|
4
|
-
export default listOrderRefundSettings;
|
|
5
|
-
export
|
|
6
|
-
id?: StringFilterInput | null;
|
|
7
|
-
includeDeleted?: boolean | null;
|
|
8
|
-
storefrontId?: StringFilterInput | null;
|
|
9
|
-
updatedAt?: DateFilterInput | null;
|
|
10
|
-
};
|
|
11
|
-
export declare enum ResponseField {
|
|
12
|
-
AUTO_APPROVE = "autoApprove",
|
|
13
|
-
CREATED_AT = "createdAt",
|
|
14
|
-
DELETED = "deleted",
|
|
15
|
-
ID = "id",
|
|
16
|
-
IS_ACTIVE_REFUND_SECTION = "isActiveRefundSection",
|
|
17
|
-
ORDER_REFUND_DAY_LIMIT = "orderRefundDayLimit",
|
|
18
|
-
REFUND_DESC = "refundDesc",
|
|
19
|
-
STOREFRONT_ID = "storefrontId",
|
|
20
|
-
UPDATED_AT = "updatedAt"
|
|
21
|
-
}
|
|
1
|
+
import { ConfigType, APIResponse } from "@ikas/fe-api-client";
|
|
2
|
+
import { StringFilterInput, DateFilterInput, OrderRefundSettings } from "../types";
|
|
3
|
+
declare const listOrderRefundSettings: (variables: QueryParams, fields?: string[], config?: ConfigType) => Promise<APIResponse<OrderRefundSettings[]> | APIResponse<undefined>>;
|
|
4
|
+
export default listOrderRefundSettings;
|
|
5
|
+
export type QueryParams = {
|
|
6
|
+
id?: StringFilterInput | null;
|
|
7
|
+
includeDeleted?: boolean | null;
|
|
8
|
+
storefrontId?: StringFilterInput | null;
|
|
9
|
+
updatedAt?: DateFilterInput | null;
|
|
10
|
+
};
|
|
11
|
+
export declare enum ResponseField {
|
|
12
|
+
AUTO_APPROVE = "autoApprove",
|
|
13
|
+
CREATED_AT = "createdAt",
|
|
14
|
+
DELETED = "deleted",
|
|
15
|
+
ID = "id",
|
|
16
|
+
IS_ACTIVE_REFUND_SECTION = "isActiveRefundSection",
|
|
17
|
+
ORDER_REFUND_DAY_LIMIT = "orderRefundDayLimit",
|
|
18
|
+
REFUND_DESC = "refundDesc",
|
|
19
|
+
STOREFRONT_ID = "storefrontId",
|
|
20
|
+
UPDATED_AT = "updatedAt"
|
|
21
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{APIResponse as t,handleAPIError as e}from"../../node_modules/@ikas/fe-api-client/build/utils/api.js";import n from"../../node_modules/@ikas/fe-api-client/build/utils/fetch-query.js";const d=async(d,i,o)=>{try{const{data:e,errors:s}=await n({operationName:"listOrderRefundSettings",config:o,variables:d,allReturnFields:r,fields:i,query:t=>`\n\t\t\t\tquery listOrderRefundSettings (\n\t\t\t\t\t$id: StringFilterInput,\n\t\t\t\t\t$includeDeleted: Boolean,\n\t\t\t\t\t$storefrontId: StringFilterInput,\n\t\t\t\t\t$updatedAt: DateFilterInput,\n\t\t\t\t) {\n\t\t\t\t\tlistOrderRefundSettings (\n\t\t\t\t\t\tid: $id,\n\t\t\t\t\t\tincludeDeleted: $includeDeleted,\n\t\t\t\t\t\tstorefrontId: $storefrontId,\n\t\t\t\t\t\tupdatedAt: $updatedAt,\n\t\t\t\t\t) ${t}\n\t\t\t\t}\n\t\t\t`});return new t(e?.listOrderRefundSettings,s)}catch(t){return e(t)}},r="{autoApprove createdAt deleted id isActiveRefundSection orderRefundDayLimit refundDesc storefrontId updatedAt }";var i;!function(t){t.AUTO_APPROVE="autoApprove",t.CREATED_AT="createdAt",t.DELETED="deleted",t.ID="id",t.IS_ACTIVE_REFUND_SECTION="isActiveRefundSection",t.ORDER_REFUND_DAY_LIMIT="orderRefundDayLimit",t.REFUND_DESC="refundDesc",t.STOREFRONT_ID="storefrontId",t.UPDATED_AT="updatedAt"}(i||(i={}));export{i as ResponseField,d as default};
|
|
@@ -1,45 +1,45 @@
|
|
|
1
|
-
import { ConfigType, APIResponse } from "@ikas/fe-api-client";
|
|
2
|
-
import { StringFilterInput, StorefrontTransaction } from "../types";
|
|
3
|
-
declare const listOrderTransactions: (variables: QueryParams, fields?: string[], config?: ConfigType) => Promise<APIResponse<StorefrontTransaction[]> | APIResponse<undefined>>;
|
|
4
|
-
export default listOrderTransactions;
|
|
5
|
-
export
|
|
6
|
-
checkoutId?: StringFilterInput | null;
|
|
7
|
-
id?: StringFilterInput | null;
|
|
8
|
-
orderId?: StringFilterInput | null;
|
|
9
|
-
};
|
|
10
|
-
export declare enum ResponseField {
|
|
11
|
-
AMOUNT = "amount",
|
|
12
|
-
CHECKOUT_ID = "checkoutId",
|
|
13
|
-
CREATED_AT = "createdAt",
|
|
14
|
-
CURRENCY_CODE = "currencyCode",
|
|
15
|
-
CURRENCY_SYMBOL = "currencySymbol",
|
|
16
|
-
CUSTOMER_ID = "customerId",
|
|
17
|
-
DELETED = "deleted",
|
|
18
|
-
ERROR__CODE = "error.code",
|
|
19
|
-
ERROR__DECLINE_CODE = "error.declineCode",
|
|
20
|
-
ERROR__MESSAGE = "error.message",
|
|
21
|
-
ID = "id",
|
|
22
|
-
ORDER_ID = "orderId",
|
|
23
|
-
PAYMENT_GATEWAY_CODE = "paymentGatewayCode",
|
|
24
|
-
PAYMENT_GATEWAY_ID = "paymentGatewayId",
|
|
25
|
-
PAYMENT_GATEWAY_NAME = "paymentGatewayName",
|
|
26
|
-
PAYMENT_METHOD = "paymentMethod",
|
|
27
|
-
PAYMENT_METHOD_DETAIL__BANK_NAME = "paymentMethodDetail.bankName",
|
|
28
|
-
PAYMENT_METHOD_DETAIL__BIN_NUMBER = "paymentMethodDetail.binNumber",
|
|
29
|
-
PAYMENT_METHOD_DETAIL__CARD_ASSOCIATION = "paymentMethodDetail.cardAssociation",
|
|
30
|
-
PAYMENT_METHOD_DETAIL__CARD_FAMILY = "paymentMethodDetail.cardFamily",
|
|
31
|
-
PAYMENT_METHOD_DETAIL__CARD_TYPE = "paymentMethodDetail.cardType",
|
|
32
|
-
PAYMENT_METHOD_DETAIL__INSTALLMENT__INSTALLMENT_COUNT = "paymentMethodDetail.installment.installmentCount",
|
|
33
|
-
PAYMENT_METHOD_DETAIL__INSTALLMENT__INSTALLMENT_PRICE = "paymentMethodDetail.installment.installmentPrice",
|
|
34
|
-
PAYMENT_METHOD_DETAIL__INSTALLMENT__ORIGINAL_RATE = "paymentMethodDetail.installment.originalRate",
|
|
35
|
-
PAYMENT_METHOD_DETAIL__INSTALLMENT__RATE = "paymentMethodDetail.installment.rate",
|
|
36
|
-
PAYMENT_METHOD_DETAIL__INSTALLMENT__TOTAL_PRICE = "paymentMethodDetail.installment.totalPrice",
|
|
37
|
-
PAYMENT_METHOD_DETAIL__LAST_FOUR_DIGITS = "paymentMethodDetail.lastFourDigits",
|
|
38
|
-
PAYMENT_METHOD_DETAIL__PAYMENT_METHOD_NAME = "paymentMethodDetail.paymentMethodName",
|
|
39
|
-
PAYMENT_METHOD_DETAIL__THREE_D_SECURE = "paymentMethodDetail.threeDSecure",
|
|
40
|
-
PROCESSED_AT = "processedAt",
|
|
41
|
-
REFUND_REASON = "refundReason",
|
|
42
|
-
STATUS = "status",
|
|
43
|
-
TYPE = "type",
|
|
44
|
-
UPDATED_AT = "updatedAt"
|
|
45
|
-
}
|
|
1
|
+
import { ConfigType, APIResponse } from "@ikas/fe-api-client";
|
|
2
|
+
import { StringFilterInput, StorefrontTransaction } from "../types";
|
|
3
|
+
declare const listOrderTransactions: (variables: QueryParams, fields?: string[], config?: ConfigType) => Promise<APIResponse<StorefrontTransaction[]> | APIResponse<undefined>>;
|
|
4
|
+
export default listOrderTransactions;
|
|
5
|
+
export type QueryParams = {
|
|
6
|
+
checkoutId?: StringFilterInput | null;
|
|
7
|
+
id?: StringFilterInput | null;
|
|
8
|
+
orderId?: StringFilterInput | null;
|
|
9
|
+
};
|
|
10
|
+
export declare enum ResponseField {
|
|
11
|
+
AMOUNT = "amount",
|
|
12
|
+
CHECKOUT_ID = "checkoutId",
|
|
13
|
+
CREATED_AT = "createdAt",
|
|
14
|
+
CURRENCY_CODE = "currencyCode",
|
|
15
|
+
CURRENCY_SYMBOL = "currencySymbol",
|
|
16
|
+
CUSTOMER_ID = "customerId",
|
|
17
|
+
DELETED = "deleted",
|
|
18
|
+
ERROR__CODE = "error.code",
|
|
19
|
+
ERROR__DECLINE_CODE = "error.declineCode",
|
|
20
|
+
ERROR__MESSAGE = "error.message",
|
|
21
|
+
ID = "id",
|
|
22
|
+
ORDER_ID = "orderId",
|
|
23
|
+
PAYMENT_GATEWAY_CODE = "paymentGatewayCode",
|
|
24
|
+
PAYMENT_GATEWAY_ID = "paymentGatewayId",
|
|
25
|
+
PAYMENT_GATEWAY_NAME = "paymentGatewayName",
|
|
26
|
+
PAYMENT_METHOD = "paymentMethod",
|
|
27
|
+
PAYMENT_METHOD_DETAIL__BANK_NAME = "paymentMethodDetail.bankName",
|
|
28
|
+
PAYMENT_METHOD_DETAIL__BIN_NUMBER = "paymentMethodDetail.binNumber",
|
|
29
|
+
PAYMENT_METHOD_DETAIL__CARD_ASSOCIATION = "paymentMethodDetail.cardAssociation",
|
|
30
|
+
PAYMENT_METHOD_DETAIL__CARD_FAMILY = "paymentMethodDetail.cardFamily",
|
|
31
|
+
PAYMENT_METHOD_DETAIL__CARD_TYPE = "paymentMethodDetail.cardType",
|
|
32
|
+
PAYMENT_METHOD_DETAIL__INSTALLMENT__INSTALLMENT_COUNT = "paymentMethodDetail.installment.installmentCount",
|
|
33
|
+
PAYMENT_METHOD_DETAIL__INSTALLMENT__INSTALLMENT_PRICE = "paymentMethodDetail.installment.installmentPrice",
|
|
34
|
+
PAYMENT_METHOD_DETAIL__INSTALLMENT__ORIGINAL_RATE = "paymentMethodDetail.installment.originalRate",
|
|
35
|
+
PAYMENT_METHOD_DETAIL__INSTALLMENT__RATE = "paymentMethodDetail.installment.rate",
|
|
36
|
+
PAYMENT_METHOD_DETAIL__INSTALLMENT__TOTAL_PRICE = "paymentMethodDetail.installment.totalPrice",
|
|
37
|
+
PAYMENT_METHOD_DETAIL__LAST_FOUR_DIGITS = "paymentMethodDetail.lastFourDigits",
|
|
38
|
+
PAYMENT_METHOD_DETAIL__PAYMENT_METHOD_NAME = "paymentMethodDetail.paymentMethodName",
|
|
39
|
+
PAYMENT_METHOD_DETAIL__THREE_D_SECURE = "paymentMethodDetail.threeDSecure",
|
|
40
|
+
PROCESSED_AT = "processedAt",
|
|
41
|
+
REFUND_REASON = "refundReason",
|
|
42
|
+
STATUS = "status",
|
|
43
|
+
TYPE = "type",
|
|
44
|
+
UPDATED_AT = "updatedAt"
|
|
45
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{APIResponse as t,handleAPIError as e}from"../../node_modules/@ikas/fe-api-client/build/utils/api.js";import a from"../../node_modules/@ikas/fe-api-client/build/utils/fetch-query.js";const n=async(n,r,E)=>{try{const{data:e,errors:T}=await a({operationName:"listOrderTransactions",config:E,variables:n,allReturnFields:_,fields:r,query:t=>`\n\t\t\t\tquery listOrderTransactions (\n\t\t\t\t\t$checkoutId: StringFilterInput,\n\t\t\t\t\t$id: StringFilterInput,\n\t\t\t\t\t$orderId: StringFilterInput,\n\t\t\t\t) {\n\t\t\t\t\tlistOrderTransactions (\n\t\t\t\t\t\tcheckoutId: $checkoutId,\n\t\t\t\t\t\tid: $id,\n\t\t\t\t\t\torderId: $orderId,\n\t\t\t\t\t) ${t}\n\t\t\t\t}\n\t\t\t`});return new t(e?.listOrderTransactions,T)}catch(t){return e(t)}},_="{amount checkoutId createdAt currencyCode currencySymbol customerId deleted error {code declineCode message } id orderId paymentGatewayCode paymentGatewayId paymentGatewayName paymentMethod paymentMethodDetail {bankName binNumber cardAssociation cardFamily cardType installment {installmentCount installmentPrice originalRate rate totalPrice } lastFourDigits paymentMethodName threeDSecure } processedAt refundReason status type updatedAt }";var r;!function(t){t.AMOUNT="amount",t.CHECKOUT_ID="checkoutId",t.CREATED_AT="createdAt",t.CURRENCY_CODE="currencyCode",t.CURRENCY_SYMBOL="currencySymbol",t.CUSTOMER_ID="customerId",t.DELETED="deleted",t.ERROR__CODE="error.code",t.ERROR__DECLINE_CODE="error.declineCode",t.ERROR__MESSAGE="error.message",t.ID="id",t.ORDER_ID="orderId",t.PAYMENT_GATEWAY_CODE="paymentGatewayCode",t.PAYMENT_GATEWAY_ID="paymentGatewayId",t.PAYMENT_GATEWAY_NAME="paymentGatewayName",t.PAYMENT_METHOD="paymentMethod",t.PAYMENT_METHOD_DETAIL__BANK_NAME="paymentMethodDetail.bankName",t.PAYMENT_METHOD_DETAIL__BIN_NUMBER="paymentMethodDetail.binNumber",t.PAYMENT_METHOD_DETAIL__CARD_ASSOCIATION="paymentMethodDetail.cardAssociation",t.PAYMENT_METHOD_DETAIL__CARD_FAMILY="paymentMethodDetail.cardFamily",t.PAYMENT_METHOD_DETAIL__CARD_TYPE="paymentMethodDetail.cardType",t.PAYMENT_METHOD_DETAIL__INSTALLMENT__INSTALLMENT_COUNT="paymentMethodDetail.installment.installmentCount",t.PAYMENT_METHOD_DETAIL__INSTALLMENT__INSTALLMENT_PRICE="paymentMethodDetail.installment.installmentPrice",t.PAYMENT_METHOD_DETAIL__INSTALLMENT__ORIGINAL_RATE="paymentMethodDetail.installment.originalRate",t.PAYMENT_METHOD_DETAIL__INSTALLMENT__RATE="paymentMethodDetail.installment.rate",t.PAYMENT_METHOD_DETAIL__INSTALLMENT__TOTAL_PRICE="paymentMethodDetail.installment.totalPrice",t.PAYMENT_METHOD_DETAIL__LAST_FOUR_DIGITS="paymentMethodDetail.lastFourDigits",t.PAYMENT_METHOD_DETAIL__PAYMENT_METHOD_NAME="paymentMethodDetail.paymentMethodName",t.PAYMENT_METHOD_DETAIL__THREE_D_SECURE="paymentMethodDetail.threeDSecure",t.PROCESSED_AT="processedAt",t.REFUND_REASON="refundReason",t.STATUS="status",t.TYPE="type",t.UPDATED_AT="updatedAt"}(r||(r={}));export{r as ResponseField,n as default};
|
|
@@ -1,42 +1,43 @@
|
|
|
1
|
-
import { ConfigType, APIResponse } from "@ikas/fe-api-client";
|
|
2
|
-
import { StringFilterInput, PaginationInput, PaymentGateway } from "../types";
|
|
3
|
-
declare const listPaymentGateway: (variables: QueryParams, fields?: string[], config?: ConfigType) => Promise<APIResponse<PaymentGateway[]> | APIResponse<undefined>>;
|
|
4
|
-
export default listPaymentGateway;
|
|
5
|
-
export
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
1
|
+
import { ConfigType, APIResponse } from "@ikas/fe-api-client";
|
|
2
|
+
import { StringFilterInput, PaginationInput, PaymentGateway } from "../types";
|
|
3
|
+
declare const listPaymentGateway: (variables: QueryParams, fields?: string[], config?: ConfigType) => Promise<APIResponse<PaymentGateway[]> | APIResponse<undefined>>;
|
|
4
|
+
export default listPaymentGateway;
|
|
5
|
+
export type QueryParams = {
|
|
6
|
+
cartId?: string | null;
|
|
7
|
+
id?: StringFilterInput | null;
|
|
8
|
+
includeDeleted?: boolean | null;
|
|
9
|
+
locale?: string | null;
|
|
10
|
+
pagination?: PaginationInput | null;
|
|
11
|
+
transactionAmount?: number | null;
|
|
12
|
+
};
|
|
13
|
+
export declare enum ResponseField {
|
|
14
|
+
ADDITIONAL_PRICES__AMOUNT = "additionalPrices.amount",
|
|
15
|
+
ADDITIONAL_PRICES__AMOUNT_TYPE = "additionalPrices.amountType",
|
|
16
|
+
ADDITIONAL_PRICES__NAME = "additionalPrices.name",
|
|
17
|
+
ADDITIONAL_PRICES__TYPE = "additionalPrices.type",
|
|
18
|
+
AVAILABLE_COUNTRIES = "availableCountries",
|
|
19
|
+
CODE = "code",
|
|
20
|
+
CREATED_AT = "createdAt",
|
|
21
|
+
DELETED = "deleted",
|
|
22
|
+
DESCRIPTION = "description",
|
|
23
|
+
ID = "id",
|
|
24
|
+
IS_PASSIVE = "isPassive",
|
|
25
|
+
LOGO_URL = "logoUrl",
|
|
26
|
+
MASTER_PASS_CLIENT_ID = "masterPassClientId",
|
|
27
|
+
NAME = "name",
|
|
28
|
+
PAYMENT_GATEWAY_PROVIDER_ID = "paymentGatewayProviderId",
|
|
29
|
+
PAYMENT_METHOD_TYPE = "paymentMethodType",
|
|
30
|
+
PAYMENT_METHODS__LOGO_URL = "paymentMethods.logoUrl",
|
|
31
|
+
PAYMENT_METHODS__NAME = "paymentMethods.name",
|
|
32
|
+
SETTINGS__LABEL = "settings.label",
|
|
33
|
+
SETTINGS__ORDER = "settings.order",
|
|
34
|
+
SETTINGS__TYPE = "settings.type",
|
|
35
|
+
SETTINGS__VALUE = "settings.value",
|
|
36
|
+
SUPPORTED_CURRENCIES = "supportedCurrencies",
|
|
37
|
+
TEST_MODE = "testMode",
|
|
38
|
+
TRANSLATIONS__DESCRIPTION = "translations.description",
|
|
39
|
+
TRANSLATIONS__LOCALE = "translations.locale",
|
|
40
|
+
TRANSLATIONS__NAME = "translations.name",
|
|
41
|
+
TYPE = "type",
|
|
42
|
+
UPDATED_AT = "updatedAt"
|
|
43
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{APIResponse as t,handleAPIError as e}from"../../node_modules/@ikas/fe-api-client/build/utils/api.js";import a from"../../node_modules/@ikas/fe-api-client/build/utils/fetch-query.js";const n=async(n,o,s)=>{try{const{data:e,errors:r}=await a({operationName:"listPaymentGateway",config:s,variables:n,allReturnFields:i,fields:o,query:t=>`\n\t\t\t\tquery listPaymentGateway (\n\t\t\t\t\t$cartId: String,\n\t\t\t\t\t$id: StringFilterInput,\n\t\t\t\t\t$includeDeleted: Boolean,\n\t\t\t\t\t$locale: String,\n\t\t\t\t\t$pagination: PaginationInput,\n\t\t\t\t\t$transactionAmount: Float,\n\t\t\t\t) {\n\t\t\t\t\tlistPaymentGateway (\n\t\t\t\t\t\tcartId: $cartId,\n\t\t\t\t\t\tid: $id,\n\t\t\t\t\t\tincludeDeleted: $includeDeleted,\n\t\t\t\t\t\tlocale: $locale,\n\t\t\t\t\t\tpagination: $pagination,\n\t\t\t\t\t\ttransactionAmount: $transactionAmount,\n\t\t\t\t\t) ${t}\n\t\t\t\t}\n\t\t\t`});return new t(e?.listPaymentGateway,r)}catch(t){return e(t)}},i="{additionalPrices {amount amountType name type } availableCountries code createdAt deleted description id isPassive logoUrl masterPassClientId name paymentGatewayProviderId paymentMethodType paymentMethods {logoUrl name } settings {label order type value } supportedCurrencies testMode translations {description locale name } type updatedAt }";var o;!function(t){t.ADDITIONAL_PRICES__AMOUNT="additionalPrices.amount",t.ADDITIONAL_PRICES__AMOUNT_TYPE="additionalPrices.amountType",t.ADDITIONAL_PRICES__NAME="additionalPrices.name",t.ADDITIONAL_PRICES__TYPE="additionalPrices.type",t.AVAILABLE_COUNTRIES="availableCountries",t.CODE="code",t.CREATED_AT="createdAt",t.DELETED="deleted",t.DESCRIPTION="description",t.ID="id",t.IS_PASSIVE="isPassive",t.LOGO_URL="logoUrl",t.MASTER_PASS_CLIENT_ID="masterPassClientId",t.NAME="name",t.PAYMENT_GATEWAY_PROVIDER_ID="paymentGatewayProviderId",t.PAYMENT_METHOD_TYPE="paymentMethodType",t.PAYMENT_METHODS__LOGO_URL="paymentMethods.logoUrl",t.PAYMENT_METHODS__NAME="paymentMethods.name",t.SETTINGS__LABEL="settings.label",t.SETTINGS__ORDER="settings.order",t.SETTINGS__TYPE="settings.type",t.SETTINGS__VALUE="settings.value",t.SUPPORTED_CURRENCIES="supportedCurrencies",t.TEST_MODE="testMode",t.TRANSLATIONS__DESCRIPTION="translations.description",t.TRANSLATIONS__LOCALE="translations.locale",t.TRANSLATIONS__NAME="translations.name",t.TYPE="type",t.UPDATED_AT="updatedAt"}(o||(o={}));export{o as ResponseField,n as default};
|
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
import { ConfigType, APIResponse } from "@ikas/fe-api-client";
|
|
2
|
-
import { StringFilterInput, DateFilterInput, ProductAttribute } from "../types";
|
|
3
|
-
declare const listProductAttribute: (variables: QueryParams, fields?: string[], config?: ConfigType) => Promise<APIResponse<ProductAttribute[]> | APIResponse<undefined>>;
|
|
4
|
-
export default listProductAttribute;
|
|
5
|
-
export
|
|
6
|
-
id?: StringFilterInput | null;
|
|
7
|
-
includeDeleted?: boolean | null;
|
|
8
|
-
name?: StringFilterInput | null;
|
|
9
|
-
updatedAt?: DateFilterInput | null;
|
|
10
|
-
};
|
|
11
|
-
export declare enum ResponseField {
|
|
12
|
-
CREATED_AT = "createdAt",
|
|
13
|
-
DELETED = "deleted",
|
|
14
|
-
DESCRIPTION = "description",
|
|
15
|
-
ID = "id",
|
|
16
|
-
NAME = "name",
|
|
17
|
-
OPTIONS__CREATED_AT = "options.createdAt",
|
|
18
|
-
OPTIONS__DELETED = "options.deleted",
|
|
19
|
-
OPTIONS__ID = "options.id",
|
|
20
|
-
OPTIONS__NAME = "options.name",
|
|
21
|
-
OPTIONS__UPDATED_AT = "options.updatedAt",
|
|
22
|
-
TABLE_TEMPLATE__COLUMNS__ID = "tableTemplate.columns.id",
|
|
23
|
-
TABLE_TEMPLATE__COLUMNS__NAME = "tableTemplate.columns.name",
|
|
24
|
-
TABLE_TEMPLATE__ROWS__ID = "tableTemplate.rows.id",
|
|
25
|
-
TABLE_TEMPLATE__ROWS__NAME = "tableTemplate.rows.name",
|
|
26
|
-
TRANSLATIONS__DESCRIPTION = "translations.description",
|
|
27
|
-
TRANSLATIONS__LOCALE = "translations.locale",
|
|
28
|
-
TRANSLATIONS__NAME = "translations.name",
|
|
29
|
-
TRANSLATIONS__OPTIONS__ID = "translations.options.id",
|
|
30
|
-
TRANSLATIONS__OPTIONS__NAME = "translations.options.name",
|
|
31
|
-
TYPE = "type",
|
|
32
|
-
UPDATED_AT = "updatedAt"
|
|
33
|
-
}
|
|
1
|
+
import { ConfigType, APIResponse } from "@ikas/fe-api-client";
|
|
2
|
+
import { StringFilterInput, DateFilterInput, ProductAttribute } from "../types";
|
|
3
|
+
declare const listProductAttribute: (variables: QueryParams, fields?: string[], config?: ConfigType) => Promise<APIResponse<ProductAttribute[]> | APIResponse<undefined>>;
|
|
4
|
+
export default listProductAttribute;
|
|
5
|
+
export type QueryParams = {
|
|
6
|
+
id?: StringFilterInput | null;
|
|
7
|
+
includeDeleted?: boolean | null;
|
|
8
|
+
name?: StringFilterInput | null;
|
|
9
|
+
updatedAt?: DateFilterInput | null;
|
|
10
|
+
};
|
|
11
|
+
export declare enum ResponseField {
|
|
12
|
+
CREATED_AT = "createdAt",
|
|
13
|
+
DELETED = "deleted",
|
|
14
|
+
DESCRIPTION = "description",
|
|
15
|
+
ID = "id",
|
|
16
|
+
NAME = "name",
|
|
17
|
+
OPTIONS__CREATED_AT = "options.createdAt",
|
|
18
|
+
OPTIONS__DELETED = "options.deleted",
|
|
19
|
+
OPTIONS__ID = "options.id",
|
|
20
|
+
OPTIONS__NAME = "options.name",
|
|
21
|
+
OPTIONS__UPDATED_AT = "options.updatedAt",
|
|
22
|
+
TABLE_TEMPLATE__COLUMNS__ID = "tableTemplate.columns.id",
|
|
23
|
+
TABLE_TEMPLATE__COLUMNS__NAME = "tableTemplate.columns.name",
|
|
24
|
+
TABLE_TEMPLATE__ROWS__ID = "tableTemplate.rows.id",
|
|
25
|
+
TABLE_TEMPLATE__ROWS__NAME = "tableTemplate.rows.name",
|
|
26
|
+
TRANSLATIONS__DESCRIPTION = "translations.description",
|
|
27
|
+
TRANSLATIONS__LOCALE = "translations.locale",
|
|
28
|
+
TRANSLATIONS__NAME = "translations.name",
|
|
29
|
+
TRANSLATIONS__OPTIONS__ID = "translations.options.id",
|
|
30
|
+
TRANSLATIONS__OPTIONS__NAME = "translations.options.name",
|
|
31
|
+
TYPE = "type",
|
|
32
|
+
UPDATED_AT = "updatedAt"
|
|
33
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{APIResponse as t,handleAPIError as e}from"../../node_modules/@ikas/fe-api-client/build/utils/api.js";import n from"../../node_modules/@ikas/fe-api-client/build/utils/fetch-query.js";const a=async(a,d,o)=>{try{const{data:e,errors:l}=await n({operationName:"listProductAttribute",config:o,variables:a,allReturnFields:i,fields:d,query:t=>`\n\t\t\t\tquery listProductAttribute (\n\t\t\t\t\t$id: StringFilterInput,\n\t\t\t\t\t$includeDeleted: Boolean,\n\t\t\t\t\t$name: StringFilterInput,\n\t\t\t\t\t$updatedAt: DateFilterInput,\n\t\t\t\t) {\n\t\t\t\t\tlistProductAttribute (\n\t\t\t\t\t\tid: $id,\n\t\t\t\t\t\tincludeDeleted: $includeDeleted,\n\t\t\t\t\t\tname: $name,\n\t\t\t\t\t\tupdatedAt: $updatedAt,\n\t\t\t\t\t) ${t}\n\t\t\t\t}\n\t\t\t`});return new t(e?.listProductAttribute,l)}catch(t){return e(t)}},i="{createdAt deleted description id name options {createdAt deleted id name updatedAt } tableTemplate {columns {id name } rows {id name } } translations {description locale name options {id name } } type updatedAt }";var d;!function(t){t.CREATED_AT="createdAt",t.DELETED="deleted",t.DESCRIPTION="description",t.ID="id",t.NAME="name",t.OPTIONS__CREATED_AT="options.createdAt",t.OPTIONS__DELETED="options.deleted",t.OPTIONS__ID="options.id",t.OPTIONS__NAME="options.name",t.OPTIONS__UPDATED_AT="options.updatedAt",t.TABLE_TEMPLATE__COLUMNS__ID="tableTemplate.columns.id",t.TABLE_TEMPLATE__COLUMNS__NAME="tableTemplate.columns.name",t.TABLE_TEMPLATE__ROWS__ID="tableTemplate.rows.id",t.TABLE_TEMPLATE__ROWS__NAME="tableTemplate.rows.name",t.TRANSLATIONS__DESCRIPTION="translations.description",t.TRANSLATIONS__LOCALE="translations.locale",t.TRANSLATIONS__NAME="translations.name",t.TRANSLATIONS__OPTIONS__ID="translations.options.id",t.TRANSLATIONS__OPTIONS__NAME="translations.options.name",t.TYPE="type",t.UPDATED_AT="updatedAt"}(d||(d={}));export{d as ResponseField,a as default};
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import { ConfigType, APIResponse } from "@ikas/fe-api-client";
|
|
2
|
-
import { StringFilterInput, DateFilterInput, ProductBackInStockRemind } from "../types";
|
|
3
|
-
declare const listProductBackInStockRemind: (variables: QueryParams, fields?: string[], config?: ConfigType) => Promise<APIResponse<ProductBackInStockRemind[]> | APIResponse<undefined>>;
|
|
4
|
-
export default listProductBackInStockRemind;
|
|
5
|
-
export
|
|
6
|
-
email?: StringFilterInput | null;
|
|
7
|
-
id?: StringFilterInput | null;
|
|
8
|
-
includeDeleted?: boolean | null;
|
|
9
|
-
productId?: StringFilterInput | null;
|
|
10
|
-
updatedAt?: DateFilterInput | null;
|
|
11
|
-
variantId?: StringFilterInput | null;
|
|
12
|
-
};
|
|
13
|
-
export declare enum ResponseField {
|
|
14
|
-
CREATED_AT = "createdAt",
|
|
15
|
-
CUSTOMER_ID = "customerId",
|
|
16
|
-
DELETED = "deleted",
|
|
17
|
-
EMAIL = "email",
|
|
18
|
-
ID = "id",
|
|
19
|
-
PRODUCT_ID = "productId",
|
|
20
|
-
STOREFRONT_ID = "storefrontId",
|
|
21
|
-
STOREFRONT_ROUTING_ID = "storefrontRoutingId",
|
|
22
|
-
UPDATED_AT = "updatedAt",
|
|
23
|
-
VARIANT_ID = "variantId"
|
|
24
|
-
}
|
|
1
|
+
import { ConfigType, APIResponse } from "@ikas/fe-api-client";
|
|
2
|
+
import { StringFilterInput, DateFilterInput, ProductBackInStockRemind } from "../types";
|
|
3
|
+
declare const listProductBackInStockRemind: (variables: QueryParams, fields?: string[], config?: ConfigType) => Promise<APIResponse<ProductBackInStockRemind[]> | APIResponse<undefined>>;
|
|
4
|
+
export default listProductBackInStockRemind;
|
|
5
|
+
export type QueryParams = {
|
|
6
|
+
email?: StringFilterInput | null;
|
|
7
|
+
id?: StringFilterInput | null;
|
|
8
|
+
includeDeleted?: boolean | null;
|
|
9
|
+
productId?: StringFilterInput | null;
|
|
10
|
+
updatedAt?: DateFilterInput | null;
|
|
11
|
+
variantId?: StringFilterInput | null;
|
|
12
|
+
};
|
|
13
|
+
export declare enum ResponseField {
|
|
14
|
+
CREATED_AT = "createdAt",
|
|
15
|
+
CUSTOMER_ID = "customerId",
|
|
16
|
+
DELETED = "deleted",
|
|
17
|
+
EMAIL = "email",
|
|
18
|
+
ID = "id",
|
|
19
|
+
PRODUCT_ID = "productId",
|
|
20
|
+
STOREFRONT_ID = "storefrontId",
|
|
21
|
+
STOREFRONT_ROUTING_ID = "storefrontRoutingId",
|
|
22
|
+
UPDATED_AT = "updatedAt",
|
|
23
|
+
VARIANT_ID = "variantId"
|
|
24
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{APIResponse as t,handleAPIError as e}from"../../node_modules/@ikas/fe-api-client/build/utils/api.js";import d from"../../node_modules/@ikas/fe-api-client/build/utils/fetch-query.js";const n=async(n,i,a)=>{try{const{data:e,errors:o}=await d({operationName:"listProductBackInStockRemind",config:a,variables:n,allReturnFields:r,fields:i,query:t=>`\n\t\t\t\tquery listProductBackInStockRemind (\n\t\t\t\t\t$email: StringFilterInput,\n\t\t\t\t\t$id: StringFilterInput,\n\t\t\t\t\t$includeDeleted: Boolean,\n\t\t\t\t\t$productId: StringFilterInput,\n\t\t\t\t\t$updatedAt: DateFilterInput,\n\t\t\t\t\t$variantId: StringFilterInput,\n\t\t\t\t) {\n\t\t\t\t\tlistProductBackInStockRemind (\n\t\t\t\t\t\temail: $email,\n\t\t\t\t\t\tid: $id,\n\t\t\t\t\t\tincludeDeleted: $includeDeleted,\n\t\t\t\t\t\tproductId: $productId,\n\t\t\t\t\t\tupdatedAt: $updatedAt,\n\t\t\t\t\t\tvariantId: $variantId,\n\t\t\t\t\t) ${t}\n\t\t\t\t}\n\t\t\t`});return new t(e?.listProductBackInStockRemind,o)}catch(t){return e(t)}},r="{createdAt customerId deleted email id productId storefrontId storefrontRoutingId updatedAt variantId }";var i;!function(t){t.CREATED_AT="createdAt",t.CUSTOMER_ID="customerId",t.DELETED="deleted",t.EMAIL="email",t.ID="id",t.PRODUCT_ID="productId",t.STOREFRONT_ID="storefrontId",t.STOREFRONT_ROUTING_ID="storefrontRoutingId",t.UPDATED_AT="updatedAt",t.VARIANT_ID="variantId"}(i||(i={}));export{i as ResponseField,n as default};
|
|
@@ -1,51 +1,52 @@
|
|
|
1
|
-
import { ConfigType, APIResponse } from "@ikas/fe-api-client";
|
|
2
|
-
import { StringFilterInput, PaginationInput, DateFilterInput, ProductBrandPaginationResponse } from "../types";
|
|
3
|
-
declare const listProductBrand: (variables: QueryParams, fields?: string[], config?: ConfigType) => Promise<APIResponse<ProductBrandPaginationResponse> | APIResponse<undefined>>;
|
|
4
|
-
export default listProductBrand;
|
|
5
|
-
export
|
|
6
|
-
id?: StringFilterInput | null;
|
|
7
|
-
includeDeleted?: boolean | null;
|
|
8
|
-
name?: StringFilterInput | null;
|
|
9
|
-
pagination?: PaginationInput | null;
|
|
10
|
-
search?: string | null;
|
|
11
|
-
sort?: string | null;
|
|
12
|
-
updatedAt?: DateFilterInput | null;
|
|
13
|
-
};
|
|
14
|
-
export declare enum ResponseField {
|
|
15
|
-
COUNT = "count",
|
|
16
|
-
DATA__CREATED_AT = "data.createdAt",
|
|
17
|
-
DATA__DELETED = "data.deleted",
|
|
18
|
-
DATA__DESCRIPTION = "data.description",
|
|
19
|
-
DATA__ID = "data.id",
|
|
20
|
-
DATA__IMAGE_ID = "data.imageId",
|
|
21
|
-
DATA__META_DATA__CANONICALS = "data.metaData.canonicals",
|
|
22
|
-
DATA__META_DATA__CREATED_AT = "data.metaData.createdAt",
|
|
23
|
-
DATA__META_DATA__DELETED = "data.metaData.deleted",
|
|
24
|
-
DATA__META_DATA__DESCRIPTION = "data.metaData.description",
|
|
25
|
-
DATA__META_DATA__DISABLE_INDEX = "data.metaData.disableIndex",
|
|
26
|
-
DATA__META_DATA__ID = "data.metaData.id",
|
|
27
|
-
DATA__META_DATA__METADATA_OVERRIDES__DESCRIPTION = "data.metaData.metadataOverrides.description",
|
|
28
|
-
DATA__META_DATA__METADATA_OVERRIDES__LANGUAGE = "data.metaData.metadataOverrides.language",
|
|
29
|
-
DATA__META_DATA__METADATA_OVERRIDES__PAGE_TITLE = "data.metaData.metadataOverrides.pageTitle",
|
|
30
|
-
DATA__META_DATA__METADATA_OVERRIDES__STOREFRONT_ID = "data.metaData.metadataOverrides.storefrontId",
|
|
31
|
-
DATA__META_DATA__METADATA_OVERRIDES__STOREFRONT_REGION_ID = "data.metaData.metadataOverrides.storefrontRegionId",
|
|
32
|
-
DATA__META_DATA__PAGE_TITLE = "data.metaData.pageTitle",
|
|
33
|
-
DATA__META_DATA__REDIRECT_TO = "data.metaData.redirectTo",
|
|
34
|
-
DATA__META_DATA__SLUG = "data.metaData.slug",
|
|
35
|
-
DATA__META_DATA__TARGET_ID = "data.metaData.targetId",
|
|
36
|
-
DATA__META_DATA__TARGET_TYPE = "data.metaData.targetType",
|
|
37
|
-
DATA__META_DATA__TRANSLATIONS__DESCRIPTION = "data.metaData.translations.description",
|
|
38
|
-
DATA__META_DATA__TRANSLATIONS__LOCALE = "data.metaData.translations.locale",
|
|
39
|
-
DATA__META_DATA__TRANSLATIONS__PAGE_TITLE = "data.metaData.translations.pageTitle",
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
1
|
+
import { ConfigType, APIResponse } from "@ikas/fe-api-client";
|
|
2
|
+
import { StringFilterInput, PaginationInput, DateFilterInput, ProductBrandPaginationResponse } from "../types";
|
|
3
|
+
declare const listProductBrand: (variables: QueryParams, fields?: string[], config?: ConfigType) => Promise<APIResponse<ProductBrandPaginationResponse> | APIResponse<undefined>>;
|
|
4
|
+
export default listProductBrand;
|
|
5
|
+
export type QueryParams = {
|
|
6
|
+
id?: StringFilterInput | null;
|
|
7
|
+
includeDeleted?: boolean | null;
|
|
8
|
+
name?: StringFilterInput | null;
|
|
9
|
+
pagination?: PaginationInput | null;
|
|
10
|
+
search?: string | null;
|
|
11
|
+
sort?: string | null;
|
|
12
|
+
updatedAt?: DateFilterInput | null;
|
|
13
|
+
};
|
|
14
|
+
export declare enum ResponseField {
|
|
15
|
+
COUNT = "count",
|
|
16
|
+
DATA__CREATED_AT = "data.createdAt",
|
|
17
|
+
DATA__DELETED = "data.deleted",
|
|
18
|
+
DATA__DESCRIPTION = "data.description",
|
|
19
|
+
DATA__ID = "data.id",
|
|
20
|
+
DATA__IMAGE_ID = "data.imageId",
|
|
21
|
+
DATA__META_DATA__CANONICALS = "data.metaData.canonicals",
|
|
22
|
+
DATA__META_DATA__CREATED_AT = "data.metaData.createdAt",
|
|
23
|
+
DATA__META_DATA__DELETED = "data.metaData.deleted",
|
|
24
|
+
DATA__META_DATA__DESCRIPTION = "data.metaData.description",
|
|
25
|
+
DATA__META_DATA__DISABLE_INDEX = "data.metaData.disableIndex",
|
|
26
|
+
DATA__META_DATA__ID = "data.metaData.id",
|
|
27
|
+
DATA__META_DATA__METADATA_OVERRIDES__DESCRIPTION = "data.metaData.metadataOverrides.description",
|
|
28
|
+
DATA__META_DATA__METADATA_OVERRIDES__LANGUAGE = "data.metaData.metadataOverrides.language",
|
|
29
|
+
DATA__META_DATA__METADATA_OVERRIDES__PAGE_TITLE = "data.metaData.metadataOverrides.pageTitle",
|
|
30
|
+
DATA__META_DATA__METADATA_OVERRIDES__STOREFRONT_ID = "data.metaData.metadataOverrides.storefrontId",
|
|
31
|
+
DATA__META_DATA__METADATA_OVERRIDES__STOREFRONT_REGION_ID = "data.metaData.metadataOverrides.storefrontRegionId",
|
|
32
|
+
DATA__META_DATA__PAGE_TITLE = "data.metaData.pageTitle",
|
|
33
|
+
DATA__META_DATA__REDIRECT_TO = "data.metaData.redirectTo",
|
|
34
|
+
DATA__META_DATA__SLUG = "data.metaData.slug",
|
|
35
|
+
DATA__META_DATA__TARGET_ID = "data.metaData.targetId",
|
|
36
|
+
DATA__META_DATA__TARGET_TYPE = "data.metaData.targetType",
|
|
37
|
+
DATA__META_DATA__TRANSLATIONS__DESCRIPTION = "data.metaData.translations.description",
|
|
38
|
+
DATA__META_DATA__TRANSLATIONS__LOCALE = "data.metaData.translations.locale",
|
|
39
|
+
DATA__META_DATA__TRANSLATIONS__PAGE_TITLE = "data.metaData.translations.pageTitle",
|
|
40
|
+
DATA__META_DATA__TRANSLATIONS__SLUG = "data.metaData.translations.slug",
|
|
41
|
+
DATA__META_DATA__UPDATED_AT = "data.metaData.updatedAt",
|
|
42
|
+
DATA__NAME = "data.name",
|
|
43
|
+
DATA__ORDER_TYPE = "data.orderType",
|
|
44
|
+
DATA__SALES_CHANNEL_IDS = "data.salesChannelIds",
|
|
45
|
+
DATA__TRANSLATIONS__DESCRIPTION = "data.translations.description",
|
|
46
|
+
DATA__TRANSLATIONS__LOCALE = "data.translations.locale",
|
|
47
|
+
DATA__TRANSLATIONS__NAME = "data.translations.name",
|
|
48
|
+
DATA__UPDATED_AT = "data.updatedAt",
|
|
49
|
+
HAS_NEXT = "hasNext",
|
|
50
|
+
LIMIT = "limit",
|
|
51
|
+
PAGE = "page"
|
|
52
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{APIResponse as t,handleAPIError as a}from"../../node_modules/@ikas/fe-api-client/build/utils/api.js";import A from"../../node_modules/@ikas/fe-api-client/build/utils/fetch-query.js";const e=async(e,T,d)=>{try{const{data:a,errors:n}=await A({operationName:"listProductBrand",config:d,variables:e,allReturnFields:_,fields:T,query:t=>`\n\t\t\t\tquery listProductBrand (\n\t\t\t\t\t$id: StringFilterInput,\n\t\t\t\t\t$includeDeleted: Boolean,\n\t\t\t\t\t$name: StringFilterInput,\n\t\t\t\t\t$pagination: PaginationInput,\n\t\t\t\t\t$search: String,\n\t\t\t\t\t$sort: String,\n\t\t\t\t\t$updatedAt: DateFilterInput,\n\t\t\t\t) {\n\t\t\t\t\tlistProductBrand (\n\t\t\t\t\t\tid: $id,\n\t\t\t\t\t\tincludeDeleted: $includeDeleted,\n\t\t\t\t\t\tname: $name,\n\t\t\t\t\t\tpagination: $pagination,\n\t\t\t\t\t\tsearch: $search,\n\t\t\t\t\t\tsort: $sort,\n\t\t\t\t\t\tupdatedAt: $updatedAt,\n\t\t\t\t\t) ${t}\n\t\t\t\t}\n\t\t\t`});return new t(a?.listProductBrand,n)}catch(t){return a(t)}},_="{count data {createdAt deleted description id imageId metaData {canonicals createdAt deleted description disableIndex id metadataOverrides {description language pageTitle storefrontId storefrontRegionId } pageTitle redirectTo slug targetId targetType translations {description locale pageTitle slug } updatedAt } name orderType salesChannelIds translations {description locale name } updatedAt } hasNext limit page }";var T;!function(t){t.COUNT="count",t.DATA__CREATED_AT="data.createdAt",t.DATA__DELETED="data.deleted",t.DATA__DESCRIPTION="data.description",t.DATA__ID="data.id",t.DATA__IMAGE_ID="data.imageId",t.DATA__META_DATA__CANONICALS="data.metaData.canonicals",t.DATA__META_DATA__CREATED_AT="data.metaData.createdAt",t.DATA__META_DATA__DELETED="data.metaData.deleted",t.DATA__META_DATA__DESCRIPTION="data.metaData.description",t.DATA__META_DATA__DISABLE_INDEX="data.metaData.disableIndex",t.DATA__META_DATA__ID="data.metaData.id",t.DATA__META_DATA__METADATA_OVERRIDES__DESCRIPTION="data.metaData.metadataOverrides.description",t.DATA__META_DATA__METADATA_OVERRIDES__LANGUAGE="data.metaData.metadataOverrides.language",t.DATA__META_DATA__METADATA_OVERRIDES__PAGE_TITLE="data.metaData.metadataOverrides.pageTitle",t.DATA__META_DATA__METADATA_OVERRIDES__STOREFRONT_ID="data.metaData.metadataOverrides.storefrontId",t.DATA__META_DATA__METADATA_OVERRIDES__STOREFRONT_REGION_ID="data.metaData.metadataOverrides.storefrontRegionId",t.DATA__META_DATA__PAGE_TITLE="data.metaData.pageTitle",t.DATA__META_DATA__REDIRECT_TO="data.metaData.redirectTo",t.DATA__META_DATA__SLUG="data.metaData.slug",t.DATA__META_DATA__TARGET_ID="data.metaData.targetId",t.DATA__META_DATA__TARGET_TYPE="data.metaData.targetType",t.DATA__META_DATA__TRANSLATIONS__DESCRIPTION="data.metaData.translations.description",t.DATA__META_DATA__TRANSLATIONS__LOCALE="data.metaData.translations.locale",t.DATA__META_DATA__TRANSLATIONS__PAGE_TITLE="data.metaData.translations.pageTitle",t.DATA__META_DATA__TRANSLATIONS__SLUG="data.metaData.translations.slug",t.DATA__META_DATA__UPDATED_AT="data.metaData.updatedAt",t.DATA__NAME="data.name",t.DATA__ORDER_TYPE="data.orderType",t.DATA__SALES_CHANNEL_IDS="data.salesChannelIds",t.DATA__TRANSLATIONS__DESCRIPTION="data.translations.description",t.DATA__TRANSLATIONS__LOCALE="data.translations.locale",t.DATA__TRANSLATIONS__NAME="data.translations.name",t.DATA__UPDATED_AT="data.updatedAt",t.HAS_NEXT="hasNext",t.LIMIT="limit",t.PAGE="page"}(T||(T={}));export{T as ResponseField,e as default};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { ConfigType, APIResponse } from "@ikas/fe-api-client";
|
|
2
|
+
import { StringFilterInput, ProductFile } from "../types";
|
|
3
|
+
declare const listProductFile: (variables: QueryParams, fields?: string[], config?: ConfigType) => Promise<APIResponse<ProductFile[]> | APIResponse<undefined>>;
|
|
4
|
+
export default listProductFile;
|
|
5
|
+
export type QueryParams = {
|
|
6
|
+
id: StringFilterInput;
|
|
7
|
+
};
|
|
8
|
+
export declare enum ResponseField {
|
|
9
|
+
CREATED_AT = "createdAt",
|
|
10
|
+
DELETED = "deleted",
|
|
11
|
+
ID = "id",
|
|
12
|
+
NAME = "name",
|
|
13
|
+
PRODUCT_ID = "productId",
|
|
14
|
+
UPDATED_AT = "updatedAt",
|
|
15
|
+
VARIANT_ID = "variantId"
|
|
16
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{APIResponse as t,handleAPIError as e}from"../../node_modules/@ikas/fe-api-client/build/utils/api.js";import i from"../../node_modules/@ikas/fe-api-client/build/utils/fetch-query.js";const d=async(d,a,n)=>{try{const{data:e,errors:l}=await i({operationName:"listProductFile",config:n,variables:d,allReturnFields:r,fields:a,query:t=>`\n\t\t\t\tquery listProductFile (\n\t\t\t\t\t$id: StringFilterInput!,\n\t\t\t\t) {\n\t\t\t\t\tlistProductFile (\n\t\t\t\t\t\tid: $id,\n\t\t\t\t\t) ${t}\n\t\t\t\t}\n\t\t\t`});return new t(e?.listProductFile,l)}catch(t){return e(t)}},r="{createdAt deleted id name productId updatedAt variantId }";var a;!function(t){t.CREATED_AT="createdAt",t.DELETED="deleted",t.ID="id",t.NAME="name",t.PRODUCT_ID="productId",t.UPDATED_AT="updatedAt",t.VARIANT_ID="variantId"}(a||(a={}));export{a as ResponseField,d as default};
|