@vtex/faststore 0.0.1
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/CHANGELOG.md +18 -0
- package/LICENSE +21 -0
- package/README.md +95 -0
- package/dist/actions.json +334 -0
- package/dist/catalog.json +6615 -0
- package/dist/client.d.ts +17 -0
- package/dist/client.js +8 -0
- package/dist/components.d.ts +87 -0
- package/dist/components.js +87 -0
- package/dist/content-types.json +684 -0
- package/dist/core/dist/actions/mock-action.d.ts +24 -0
- package/dist/core/dist/actions/mock-action.js +28 -0
- package/dist/core/dist/actions/mock-action.js.map +1 -0
- package/dist/core/dist/actions/registry.d.ts +24 -0
- package/dist/core/dist/actions/registry.js +28 -0
- package/dist/core/dist/actions/registry.js.map +1 -0
- package/dist/core/dist/define-component.d.ts +100 -0
- package/dist/core/dist/define-component.js +8 -0
- package/dist/core/dist/define-component.js.map +1 -0
- package/dist/core/dist/define-content-type.d.ts +95 -0
- package/dist/core/dist/define-content-type.js +283 -0
- package/dist/core/dist/define-content-type.js.map +1 -0
- package/dist/core/dist/index.d.ts +7 -0
- package/dist/core/dist/index.js +5 -0
- package/dist/core/dist/schema/generated/schema.d.ts +28 -0
- package/dist/core/dist/types.d.ts +1 -0
- package/dist/docs/access-code-field.md +100 -0
- package/dist/docs/access-code-sign-in.md +174 -0
- package/dist/docs/account-entry-point.md +155 -0
- package/dist/docs/address-summary.md +50 -0
- package/dist/docs/buy-button.md +162 -0
- package/dist/docs/carousel.md +105 -0
- package/dist/docs/cart-item.md +162 -0
- package/dist/docs/cart-totalizer.md +197 -0
- package/dist/docs/cart.md +495 -0
- package/dist/docs/client-preferences.md +184 -0
- package/dist/docs/client-profile-form.md +192 -0
- package/dist/docs/client-profile.md +117 -0
- package/dist/docs/container.md +97 -0
- package/dist/docs/document-field.md +97 -0
- package/dist/docs/email-field.md +93 -0
- package/dist/docs/email-identification.md +102 -0
- package/dist/docs/footer-copyright.md +112 -0
- package/dist/docs/footer-link-group.md +162 -0
- package/dist/docs/footer-root.md +145 -0
- package/dist/docs/footer-social.md +151 -0
- package/dist/docs/free-shipping-progress.md +87 -0
- package/dist/docs/gallery.md +84 -0
- package/dist/docs/header-root.md +150 -0
- package/dist/docs/identity-edit.md +88 -0
- package/dist/docs/identity-summary.md +106 -0
- package/dist/docs/incentives.md +151 -0
- package/dist/docs/logo.md +135 -0
- package/dist/docs/meter.md +67 -0
- package/dist/docs/navigation-link-list.md +171 -0
- package/dist/docs/navigation-link.md +163 -0
- package/dist/docs/navigation-menu.md +264 -0
- package/dist/docs/payment-methods.md +139 -0
- package/dist/docs/phone-field.md +106 -0
- package/dist/docs/postal-code-field.md +126 -0
- package/dist/docs/pricing.md +499 -0
- package/dist/docs/product-gallery.md +409 -0
- package/dist/docs/product-information.md +295 -0
- package/dist/docs/product-list.md +170 -0
- package/dist/docs/product-quantity.md +88 -0
- package/dist/docs/product-shelf.md +141 -0
- package/dist/docs/promotion.md +109 -0
- package/dist/docs/region.md +225 -0
- package/dist/docs/session.md +123 -0
- package/dist/docs/shipping-address.md +390 -0
- package/dist/docs/shipping-simulator.md +147 -0
- package/dist/docs/sign-in-form.md +117 -0
- package/dist/docs/tabs.md +176 -0
- package/dist/docs/toast.md +124 -0
- package/dist/docs/variant-selector.md +450 -0
- package/dist/graphql/define-subgraph.d.ts +12 -0
- package/dist/graphql/define-subgraph.js +15 -0
- package/dist/graphql/define-subgraph.js.map +1 -0
- package/dist/graphql/gql.d.ts +10 -0
- package/dist/graphql/gql.js +16 -0
- package/dist/graphql/gql.js.map +1 -0
- package/dist/graphql/types.d.ts +88 -0
- package/dist/graphql.d.ts +4 -0
- package/dist/graphql.js +3 -0
- package/dist/index.d.ts +19 -0
- package/dist/index.js +5 -0
- package/dist/internal/client.d.ts +24 -0
- package/dist/internal/client.js +23 -0
- package/dist/internal/content.d.ts +2 -0
- package/dist/internal/content.js +2 -0
- package/dist/internal/server.d.ts +7 -0
- package/dist/internal/server.js +6 -0
- package/dist/matter/access-code-sign-in/access-code-sign-in.d.ts +111 -0
- package/dist/matter/access-code-sign-in/access-code-sign-in.js +387 -0
- package/dist/matter/access-code-sign-in/access-code-sign-in.js.map +1 -0
- package/dist/matter/account-entry-point/account-entry-point.d.ts +64 -0
- package/dist/matter/account-entry-point/account-entry-point.js +151 -0
- package/dist/matter/account-entry-point/account-entry-point.js.map +1 -0
- package/dist/matter/breadcrumb/breadcrumb.d.ts +40 -0
- package/dist/matter/breadcrumb/breadcrumb.js +155 -0
- package/dist/matter/breadcrumb/breadcrumb.js.map +1 -0
- package/dist/matter/buy-button/buy-button.d.ts +95 -0
- package/dist/matter/buy-button/buy-button.js +259 -0
- package/dist/matter/buy-button/buy-button.js.map +1 -0
- package/dist/matter/cart/cart-namespace.d.ts +48 -0
- package/dist/matter/cart/cart-namespace.js +50 -0
- package/dist/matter/cart/cart-namespace.js.map +1 -0
- package/dist/matter/cart/cart.d.ts +312 -0
- package/dist/matter/cart/cart.js +1034 -0
- package/dist/matter/cart/cart.js.map +1 -0
- package/dist/matter/cart-item/cart-item.d.ts +103 -0
- package/dist/matter/cart-item/cart-item.js +672 -0
- package/dist/matter/cart-item/cart-item.js.map +1 -0
- package/dist/matter/cart-item-compositions/cart-item-compositions.d.ts +49 -0
- package/dist/matter/cart-item-compositions/cart-item-compositions.js +165 -0
- package/dist/matter/cart-item-compositions/cart-item-compositions.js.map +1 -0
- package/dist/matter/cart-item-customizations/cart-item-customizations.d.ts +28 -0
- package/dist/matter/cart-item-customizations/cart-item-customizations.js +73 -0
- package/dist/matter/cart-item-customizations/cart-item-customizations.js.map +1 -0
- package/dist/matter/cart-item-discounts/cart-item-discounts.d.ts +33 -0
- package/dist/matter/cart-item-discounts/cart-item-discounts.js +70 -0
- package/dist/matter/cart-item-discounts/cart-item-discounts.js.map +1 -0
- package/dist/matter/cart-item-seller-info/cart-item-seller-info.d.ts +24 -0
- package/dist/matter/cart-item-seller-info/cart-item-seller-info.js +54 -0
- package/dist/matter/cart-item-seller-info/cart-item-seller-info.js.map +1 -0
- package/dist/matter/cart-item-variations/cart-item-variations.d.ts +27 -0
- package/dist/matter/cart-item-variations/cart-item-variations.js +69 -0
- package/dist/matter/cart-item-variations/cart-item-variations.js.map +1 -0
- package/dist/matter/cart-totalizer/cart-totalizer.d.ts +78 -0
- package/dist/matter/cart-totalizer/cart-totalizer.js +220 -0
- package/dist/matter/cart-totalizer/cart-totalizer.js.map +1 -0
- package/dist/matter/client-preferences/client-preferences.d.ts +50 -0
- package/dist/matter/client-preferences/client-preferences.js +206 -0
- package/dist/matter/client-preferences/client-preferences.js.map +1 -0
- package/dist/matter/client-profile/client-profile.d.ts +59 -0
- package/dist/matter/client-profile/client-profile.js +185 -0
- package/dist/matter/client-profile/client-profile.js.map +1 -0
- package/dist/matter/client-profile-form/client-profile-form.d.ts +126 -0
- package/dist/matter/client-profile-form/client-profile-form.js +660 -0
- package/dist/matter/client-profile-form/client-profile-form.js.map +1 -0
- package/dist/matter/delivery-options/delivery-options-accordion.d.ts +30 -0
- package/dist/matter/delivery-options/delivery-options-accordion.js +189 -0
- package/dist/matter/delivery-options/delivery-options-accordion.js.map +1 -0
- package/dist/matter/delivery-options/delivery-options-controller.d.ts +49 -0
- package/dist/matter/delivery-options/delivery-options-controller.js +203 -0
- package/dist/matter/delivery-options/delivery-options-controller.js.map +1 -0
- package/dist/matter/delivery-options/delivery-options.d.ts +31 -0
- package/dist/matter/delivery-options/delivery-options.js +103 -0
- package/dist/matter/delivery-options/delivery-options.js.map +1 -0
- package/dist/matter/delivery-options/use-delivery-option-selection.d.ts +9 -0
- package/dist/matter/delivery-options/use-delivery-option-selection.js +76 -0
- package/dist/matter/delivery-options/use-delivery-option-selection.js.map +1 -0
- package/dist/matter/email-identification/email-identification.d.ts +37 -0
- package/dist/matter/email-identification/email-identification.js +111 -0
- package/dist/matter/email-identification/email-identification.js.map +1 -0
- package/dist/matter/free-shipping-progress/free-shipping-progress.d.ts +44 -0
- package/dist/matter/free-shipping-progress/free-shipping-progress.js +170 -0
- package/dist/matter/free-shipping-progress/free-shipping-progress.js.map +1 -0
- package/dist/matter/identity-edit/identity-edit.d.ts +52 -0
- package/dist/matter/identity-edit/identity-edit.js +148 -0
- package/dist/matter/identity-edit/identity-edit.js.map +1 -0
- package/dist/matter/identity-summary/identity-summary.d.ts +128 -0
- package/dist/matter/identity-summary/identity-summary.js +344 -0
- package/dist/matter/identity-summary/identity-summary.js.map +1 -0
- package/dist/matter/pricing/pricing.d.ts +162 -0
- package/dist/matter/pricing/pricing.js +793 -0
- package/dist/matter/pricing/pricing.js.map +1 -0
- package/dist/matter/product-gallery/product-gallery.d.ts +23 -0
- package/dist/matter/product-gallery/product-gallery.js +188 -0
- package/dist/matter/product-gallery/product-gallery.js.map +1 -0
- package/dist/matter/product-information/product-information.d.ts +61 -0
- package/dist/matter/product-information/product-information.js +355 -0
- package/dist/matter/product-information/product-information.js.map +1 -0
- package/dist/matter/product-list/product-list.d.ts +86 -0
- package/dist/matter/product-list/product-list.js +342 -0
- package/dist/matter/product-list/product-list.js.map +1 -0
- package/dist/matter/product-quantity/product-quantity.d.ts +50 -0
- package/dist/matter/product-quantity/product-quantity.js +111 -0
- package/dist/matter/product-quantity/product-quantity.js.map +1 -0
- package/dist/matter/product-shelf/product-shelf.d.ts +125 -0
- package/dist/matter/product-shelf/product-shelf.js +376 -0
- package/dist/matter/product-shelf/product-shelf.js.map +1 -0
- package/dist/matter/region/region.d.ts +211 -0
- package/dist/matter/region/region.js +579 -0
- package/dist/matter/region/region.js.map +1 -0
- package/dist/matter/session/session.d.ts +58 -0
- package/dist/matter/session/session.js +112 -0
- package/dist/matter/session/session.js.map +1 -0
- package/dist/matter/shipping-address/country-descriptors.js +101 -0
- package/dist/matter/shipping-address/country-descriptors.js.map +1 -0
- package/dist/matter/shipping-address/shipping-address.d.ts +284 -0
- package/dist/matter/shipping-address/shipping-address.js +1036 -0
- package/dist/matter/shipping-address/shipping-address.js.map +1 -0
- package/dist/matter/shipping-simulator/shipping-simulator.d.ts +143 -0
- package/dist/matter/shipping-simulator/shipping-simulator.js +644 -0
- package/dist/matter/shipping-simulator/shipping-simulator.js.map +1 -0
- package/dist/matter/sign-in-form/sign-in-form.d.ts +79 -0
- package/dist/matter/sign-in-form/sign-in-form.js +226 -0
- package/dist/matter/sign-in-form/sign-in-form.js.map +1 -0
- package/dist/matter/variant-selector/variant-selector.d.ts +183 -0
- package/dist/matter/variant-selector/variant-selector.js +840 -0
- package/dist/matter/variant-selector/variant-selector.js.map +1 -0
- package/dist/message-locales.json +7 -0
- package/dist/particles/access-code-field/access-code-field.d.ts +33 -0
- package/dist/particles/access-code-field/access-code-field.js +95 -0
- package/dist/particles/access-code-field/access-code-field.js.map +1 -0
- package/dist/particles/accordion/accordion.d.ts +45 -0
- package/dist/particles/accordion/accordion.js +156 -0
- package/dist/particles/accordion/accordion.js.map +1 -0
- package/dist/particles/address-summary/address-summary.d.ts +50 -0
- package/dist/particles/address-summary/address-summary.js +129 -0
- package/dist/particles/address-summary/address-summary.js.map +1 -0
- package/dist/particles/badge/badge.d.ts +10 -0
- package/dist/particles/badge/badge.js +27 -0
- package/dist/particles/badge/badge.js.map +1 -0
- package/dist/particles/button/button.d.ts +18 -0
- package/dist/particles/button/button.js +37 -0
- package/dist/particles/button/button.js.map +1 -0
- package/dist/particles/carousel/carousel.d.ts +60 -0
- package/dist/particles/carousel/carousel.js +335 -0
- package/dist/particles/carousel/carousel.js.map +1 -0
- package/dist/particles/checkbox/checkbox.d.ts +40 -0
- package/dist/particles/checkbox/checkbox.js +82 -0
- package/dist/particles/checkbox/checkbox.js.map +1 -0
- package/dist/particles/container/container.d.ts +20 -0
- package/dist/particles/container/container.js +36 -0
- package/dist/particles/container/container.js.map +1 -0
- package/dist/particles/dialog/dialog.d.ts +54 -0
- package/dist/particles/dialog/dialog.js +192 -0
- package/dist/particles/dialog/dialog.js.map +1 -0
- package/dist/particles/document-field/document-field.d.ts +61 -0
- package/dist/particles/document-field/document-field.js +146 -0
- package/dist/particles/document-field/document-field.js.map +1 -0
- package/dist/particles/drawer/drawer.d.ts +52 -0
- package/dist/particles/drawer/drawer.js +183 -0
- package/dist/particles/drawer/drawer.js.map +1 -0
- package/dist/particles/email-field/email-field.d.ts +37 -0
- package/dist/particles/email-field/email-field.js +106 -0
- package/dist/particles/email-field/email-field.js.map +1 -0
- package/dist/particles/field/field.d.ts +50 -0
- package/dist/particles/field/field.js +133 -0
- package/dist/particles/field/field.js.map +1 -0
- package/dist/particles/fieldset/fieldset.d.ts +16 -0
- package/dist/particles/fieldset/fieldset.js +52 -0
- package/dist/particles/fieldset/fieldset.js.map +1 -0
- package/dist/particles/footer-copyright/footer-copyright.d.ts +32 -0
- package/dist/particles/footer-copyright/footer-copyright.js +50 -0
- package/dist/particles/footer-copyright/footer-copyright.js.map +1 -0
- package/dist/particles/footer-link-group/footer-link-group.d.ts +66 -0
- package/dist/particles/footer-link-group/footer-link-group.js +154 -0
- package/dist/particles/footer-link-group/footer-link-group.js.map +1 -0
- package/dist/particles/footer-root/footer-root.d.ts +21 -0
- package/dist/particles/footer-root/footer-root.js +38 -0
- package/dist/particles/footer-root/footer-root.js.map +1 -0
- package/dist/particles/footer-social/footer-social.d.ts +79 -0
- package/dist/particles/footer-social/footer-social.js +176 -0
- package/dist/particles/footer-social/footer-social.js.map +1 -0
- package/dist/particles/gallery/gallery.d.ts +181 -0
- package/dist/particles/gallery/gallery.js +920 -0
- package/dist/particles/gallery/gallery.js.map +1 -0
- package/dist/particles/header-root/header-root.d.ts +21 -0
- package/dist/particles/header-root/header-root.js +38 -0
- package/dist/particles/header-root/header-root.js.map +1 -0
- package/dist/particles/icon/icon.d.ts +22 -0
- package/dist/particles/icon/icon.js +48 -0
- package/dist/particles/icon/icon.js.map +1 -0
- package/dist/particles/image/image.d.ts +13 -0
- package/dist/particles/image/image.js +59 -0
- package/dist/particles/image/image.js.map +1 -0
- package/dist/particles/incentives/incentives.d.ts +85 -0
- package/dist/particles/incentives/incentives.js +200 -0
- package/dist/particles/incentives/incentives.js.map +1 -0
- package/dist/particles/input/input.d.ts +9 -0
- package/dist/particles/input/input.js +28 -0
- package/dist/particles/input/input.js.map +1 -0
- package/dist/particles/logo/logo.d.ts +55 -0
- package/dist/particles/logo/logo.js +96 -0
- package/dist/particles/logo/logo.js.map +1 -0
- package/dist/particles/menu/menu.d.ts +103 -0
- package/dist/particles/menu/menu.js +409 -0
- package/dist/particles/menu/menu.js.map +1 -0
- package/dist/particles/menubar/menubar.d.ts +18 -0
- package/dist/particles/menubar/menubar.js +42 -0
- package/dist/particles/menubar/menubar.js.map +1 -0
- package/dist/particles/meter/meter.d.ts +36 -0
- package/dist/particles/meter/meter.js +132 -0
- package/dist/particles/meter/meter.js.map +1 -0
- package/dist/particles/navigation-link/navigation-link.d.ts +43 -0
- package/dist/particles/navigation-link/navigation-link.js +82 -0
- package/dist/particles/navigation-link/navigation-link.js.map +1 -0
- package/dist/particles/navigation-link-list/navigation-link-list.d.ts +59 -0
- package/dist/particles/navigation-link-list/navigation-link-list.js +103 -0
- package/dist/particles/navigation-link-list/navigation-link-list.js.map +1 -0
- package/dist/particles/navigation-menu/navigation-menu.d.ts +78 -0
- package/dist/particles/navigation-menu/navigation-menu.js +295 -0
- package/dist/particles/navigation-menu/navigation-menu.js.map +1 -0
- package/dist/particles/number-field/number-field.d.ts +46 -0
- package/dist/particles/number-field/number-field.js +169 -0
- package/dist/particles/number-field/number-field.js.map +1 -0
- package/dist/particles/password-field/password-field.d.ts +31 -0
- package/dist/particles/password-field/password-field.js +109 -0
- package/dist/particles/password-field/password-field.js.map +1 -0
- package/dist/particles/payment-methods/payment-methods.d.ts +72 -0
- package/dist/particles/payment-methods/payment-methods.js +151 -0
- package/dist/particles/payment-methods/payment-methods.js.map +1 -0
- package/dist/particles/phone-field/phone-field.d.ts +67 -0
- package/dist/particles/phone-field/phone-field.js +250 -0
- package/dist/particles/phone-field/phone-field.js.map +1 -0
- package/dist/particles/popover/popover.d.ts +68 -0
- package/dist/particles/popover/popover.js +284 -0
- package/dist/particles/popover/popover.js.map +1 -0
- package/dist/particles/postal-code-field/postal-code-field.d.ts +75 -0
- package/dist/particles/postal-code-field/postal-code-field.js +169 -0
- package/dist/particles/postal-code-field/postal-code-field.js.map +1 -0
- package/dist/particles/promotion/promotion.d.ts +46 -0
- package/dist/particles/promotion/promotion.js +78 -0
- package/dist/particles/promotion/promotion.js.map +1 -0
- package/dist/particles/quantity-selector/quantity-selector.d.ts +30 -0
- package/dist/particles/quantity-selector/quantity-selector.js +116 -0
- package/dist/particles/quantity-selector/quantity-selector.js.map +1 -0
- package/dist/particles/radio/radio.d.ts +36 -0
- package/dist/particles/radio/radio.js +76 -0
- package/dist/particles/radio/radio.js.map +1 -0
- package/dist/particles/scroll-area/scroll-area.d.ts +36 -0
- package/dist/particles/scroll-area/scroll-area.js +145 -0
- package/dist/particles/scroll-area/scroll-area.js.map +1 -0
- package/dist/particles/select/select.d.ts +125 -0
- package/dist/particles/select/select.js +478 -0
- package/dist/particles/select/select.js.map +1 -0
- package/dist/particles/separator/separator.d.ts +12 -0
- package/dist/particles/separator/separator.js +33 -0
- package/dist/particles/separator/separator.js.map +1 -0
- package/dist/particles/shared/input-mask.d.ts +5 -0
- package/dist/particles/shared/input-mask.js +58 -0
- package/dist/particles/shared/input-mask.js.map +1 -0
- package/dist/particles/spinner/spinner.d.ts +13 -0
- package/dist/particles/spinner/spinner.js +31 -0
- package/dist/particles/spinner/spinner.js.map +1 -0
- package/dist/particles/switch/switch.d.ts +27 -0
- package/dist/particles/switch/switch.js +59 -0
- package/dist/particles/switch/switch.js.map +1 -0
- package/dist/particles/tabs/tabs.d.ts +45 -0
- package/dist/particles/tabs/tabs.js +164 -0
- package/dist/particles/tabs/tabs.js.map +1 -0
- package/dist/particles/text/text.d.ts +24 -0
- package/dist/particles/text/text.js +40 -0
- package/dist/particles/text/text.js.map +1 -0
- package/dist/particles/toast/toast.d.ts +83 -0
- package/dist/particles/toast/toast.js +194 -0
- package/dist/particles/toast/toast.js.map +1 -0
- package/dist/particles/toggle/toggle.d.ts +26 -0
- package/dist/particles/toggle/toggle.js +61 -0
- package/dist/particles/toggle/toggle.js.map +1 -0
- package/dist/particles/tooltip/tooltip.d.ts +61 -0
- package/dist/particles/tooltip/tooltip.js +240 -0
- package/dist/particles/tooltip/tooltip.js.map +1 -0
- package/dist/schema.graphql +2953 -0
- package/dist/sdk/actions/cart-action-provider.d.ts +19 -0
- package/dist/sdk/actions/cart-action-provider.js +23 -0
- package/dist/sdk/actions/cart-action-provider.js.map +1 -0
- package/dist/sdk/actions/identity-action-provider.d.ts +15 -0
- package/dist/sdk/actions/identity-action-provider.js +19 -0
- package/dist/sdk/actions/identity-action-provider.js.map +1 -0
- package/dist/sdk/actions/index.d.ts +7 -0
- package/dist/sdk/actions/index.js +6 -0
- package/dist/sdk/actions/inject-actions.d.ts +14 -0
- package/dist/sdk/actions/inject-actions.js +36 -0
- package/dist/sdk/actions/inject-actions.js.map +1 -0
- package/dist/sdk/actions/region-action-provider.d.ts +15 -0
- package/dist/sdk/actions/region-action-provider.js +19 -0
- package/dist/sdk/actions/region-action-provider.js.map +1 -0
- package/dist/sdk/actions/session-action-provider.d.ts +15 -0
- package/dist/sdk/actions/session-action-provider.js +19 -0
- package/dist/sdk/actions/session-action-provider.js.map +1 -0
- package/dist/sdk/actions/shipping-action-provider.d.ts +15 -0
- package/dist/sdk/actions/shipping-action-provider.js +19 -0
- package/dist/sdk/actions/shipping-action-provider.js.map +1 -0
- package/dist/sdk/actions/types.d.ts +21 -0
- package/dist/sdk/cache/storefront-cache.js +35 -0
- package/dist/sdk/cache/storefront-cache.js.map +1 -0
- package/dist/sdk/cart/operations.d.ts +31 -0
- package/dist/sdk/cart/operations.js +215 -0
- package/dist/sdk/cart/operations.js.map +1 -0
- package/dist/sdk/cart/optimistic.d.ts +24 -0
- package/dist/sdk/cart/optimistic.js +164 -0
- package/dist/sdk/cart/optimistic.js.map +1 -0
- package/dist/sdk/cart/use-cart-actions.d.ts +56 -0
- package/dist/sdk/cart/use-cart-actions.js +348 -0
- package/dist/sdk/cart/use-cart-actions.js.map +1 -0
- package/dist/sdk/cart/use-cart-validate-on-open.js +50 -0
- package/dist/sdk/cart/use-cart-validate-on-open.js.map +1 -0
- package/dist/sdk/cart/write-gate.js +54 -0
- package/dist/sdk/cart/write-gate.js.map +1 -0
- package/dist/sdk/client/assert-api-url.js +20 -0
- package/dist/sdk/client/assert-api-url.js.map +1 -0
- package/dist/sdk/client/create-client.d.ts +23 -0
- package/dist/sdk/client/create-client.js +46 -0
- package/dist/sdk/client/create-client.js.map +1 -0
- package/dist/sdk/client/fetch-page-data.d.ts +39 -0
- package/dist/sdk/client/fetch-page-data.js +33 -0
- package/dist/sdk/client/fetch-page-data.js.map +1 -0
- package/dist/sdk/client/register-preload-query.d.ts +24 -0
- package/dist/sdk/client/register-preload-query.js +33 -0
- package/dist/sdk/client/register-preload-query.js.map +1 -0
- package/dist/sdk/content/create-content-runtime.d.ts +68 -0
- package/dist/sdk/content/create-content-runtime.js +503 -0
- package/dist/sdk/content/create-content-runtime.js.map +1 -0
- package/dist/sdk/context/headers.d.ts +15 -0
- package/dist/sdk/context/headers.js +21 -0
- package/dist/sdk/context/headers.js.map +1 -0
- package/dist/sdk/context/storefront-context.d.ts +11 -0
- package/dist/sdk/context/storefront-context.js +29 -0
- package/dist/sdk/context/storefront-context.js.map +1 -0
- package/dist/sdk/data/data-override-context.d.ts +12 -0
- package/dist/sdk/data/data-override-context.js +19 -0
- package/dist/sdk/data/data-override-context.js.map +1 -0
- package/dist/sdk/data/entity-subscriber.js +28 -0
- package/dist/sdk/data/entity-subscriber.js.map +1 -0
- package/dist/sdk/data/hot-data-provider.d.ts +19 -0
- package/dist/sdk/data/hot-data-provider.js +33 -0
- package/dist/sdk/data/hot-data-provider.js.map +1 -0
- package/dist/sdk/data/index.d.ts +8 -0
- package/dist/sdk/data/index.js +8 -0
- package/dist/sdk/data/list-item-ref-context.d.ts +20 -0
- package/dist/sdk/data/list-item-ref-context.js +11 -0
- package/dist/sdk/data/list-item-ref-context.js.map +1 -0
- package/dist/sdk/data/multiple-reactive-data-provider.d.ts +32 -0
- package/dist/sdk/data/multiple-reactive-data-provider.js +20 -0
- package/dist/sdk/data/multiple-reactive-data-provider.js.map +1 -0
- package/dist/sdk/data/page-reactive-data-root.d.ts +53 -0
- package/dist/sdk/data/page-reactive-data-root.js +153 -0
- package/dist/sdk/data/page-reactive-data-root.js.map +1 -0
- package/dist/sdk/data/reactive-data-provider.d.ts +25 -0
- package/dist/sdk/data/reactive-data-provider.js +24 -0
- package/dist/sdk/data/reactive-data-provider.js.map +1 -0
- package/dist/sdk/data/reactive-list-item-data-provider.d.ts +26 -0
- package/dist/sdk/data/reactive-list-item-data-provider.js +42 -0
- package/dist/sdk/data/reactive-list-item-data-provider.js.map +1 -0
- package/dist/sdk/data/use-reactive-entity.js +40 -0
- package/dist/sdk/data/use-reactive-entity.js.map +1 -0
- package/dist/sdk/format/client.d.ts +12 -0
- package/dist/sdk/format/client.js +20 -0
- package/dist/sdk/format/client.js.map +1 -0
- package/dist/sdk/format/formatters.d.ts +32 -0
- package/dist/sdk/format/formatters.js +45 -0
- package/dist/sdk/format/formatters.js.map +1 -0
- package/dist/sdk/generated/fragment-types.js +23 -0
- package/dist/sdk/generated/fragment-types.js.map +1 -0
- package/dist/sdk/generated/gql.js +51 -0
- package/dist/sdk/generated/gql.js.map +1 -0
- package/dist/sdk/generated/graphql.d.ts +622 -0
- package/dist/sdk/generated/graphql.js +11917 -0
- package/dist/sdk/generated/graphql.js.map +1 -0
- package/dist/sdk/graphql-tag.d.ts +10 -0
- package/dist/sdk/graphql-tag.js +21 -0
- package/dist/sdk/graphql-tag.js.map +1 -0
- package/dist/sdk/i18n/client.d.ts +4 -0
- package/dist/sdk/i18n/client.js +4 -0
- package/dist/sdk/i18n/locales.d.ts +8 -0
- package/dist/sdk/i18n/locales.js +57 -0
- package/dist/sdk/i18n/locales.js.map +1 -0
- package/dist/sdk/i18n/messages/en-US.js +24 -0
- package/dist/sdk/i18n/messages/en-US.js.map +1 -0
- package/dist/sdk/i18n/messages/en-US.json +19 -0
- package/dist/sdk/i18n/messages/en-US.json.d.ts +23 -0
- package/dist/sdk/i18n/messages/es-ES.js +24 -0
- package/dist/sdk/i18n/messages/es-ES.js.map +1 -0
- package/dist/sdk/i18n/messages/es-ES.json +19 -0
- package/dist/sdk/i18n/messages/pt-BR.js +24 -0
- package/dist/sdk/i18n/messages/pt-BR.js.map +1 -0
- package/dist/sdk/i18n/messages/pt-BR.json +19 -0
- package/dist/sdk/i18n/provider.d.ts +1 -0
- package/dist/sdk/i18n/provider.js +30 -0
- package/dist/sdk/i18n/provider.js.map +1 -0
- package/dist/sdk/i18n/server.d.ts +28 -0
- package/dist/sdk/i18n/server.js +59 -0
- package/dist/sdk/i18n/server.js.map +1 -0
- package/dist/sdk/identity/operations.d.ts +34 -0
- package/dist/sdk/identity/operations.js +78 -0
- package/dist/sdk/identity/operations.js.map +1 -0
- package/dist/sdk/identity/use-identity-actions.d.ts +62 -0
- package/dist/sdk/identity/use-identity-actions.js +180 -0
- package/dist/sdk/identity/use-identity-actions.js.map +1 -0
- package/dist/sdk/provider/index.d.ts +2 -0
- package/dist/sdk/provider/index.js +2 -0
- package/dist/sdk/provider/storefront-provider.d.ts +32 -0
- package/dist/sdk/provider/storefront-provider.js +111 -0
- package/dist/sdk/provider/storefront-provider.js.map +1 -0
- package/dist/sdk/region/operations.d.ts +6 -0
- package/dist/sdk/region/region-operations.d.ts +30 -0
- package/dist/sdk/region/region-operations.js +23 -0
- package/dist/sdk/region/region-operations.js.map +1 -0
- package/dist/sdk/region/use-region-actions.d.ts +23 -0
- package/dist/sdk/region/use-region-actions.js +66 -0
- package/dist/sdk/region/use-region-actions.js.map +1 -0
- package/dist/sdk/seller.js +11 -0
- package/dist/sdk/seller.js.map +1 -0
- package/dist/sdk/session/auth-operations.d.ts +47 -0
- package/dist/sdk/session/auth-operations.js +79 -0
- package/dist/sdk/session/auth-operations.js.map +1 -0
- package/dist/sdk/session/operations.d.ts +6 -0
- package/dist/sdk/session/use-session-actions.d.ts +27 -0
- package/dist/sdk/session/use-session-actions.js +126 -0
- package/dist/sdk/session/use-session-actions.js.map +1 -0
- package/dist/sdk/shipping/cart-operations.d.ts +3 -0
- package/dist/sdk/shipping/cart-operations.js +33 -0
- package/dist/sdk/shipping/cart-operations.js.map +1 -0
- package/dist/sdk/shipping/operations.d.ts +3 -0
- package/dist/sdk/shipping/operations.js +33 -0
- package/dist/sdk/shipping/operations.js.map +1 -0
- package/dist/sdk/shipping/option-select-operations.d.ts +24 -0
- package/dist/sdk/shipping/option-select-operations.js +45 -0
- package/dist/sdk/shipping/option-select-operations.js.map +1 -0
- package/dist/sdk/shipping/request-timeout.js +41 -0
- package/dist/sdk/shipping/request-timeout.js.map +1 -0
- package/dist/sdk/shipping/shipping-operations.d.ts +38 -0
- package/dist/sdk/shipping/shipping-operations.js +77 -0
- package/dist/sdk/shipping/shipping-operations.js.map +1 -0
- package/dist/sdk/shipping/use-cart-shipping-simulation.d.ts +7 -0
- package/dist/sdk/shipping/use-cart-shipping-simulation.js +72 -0
- package/dist/sdk/shipping/use-cart-shipping-simulation.js.map +1 -0
- package/dist/sdk/shipping/use-shipping-actions.d.ts +27 -0
- package/dist/sdk/shipping/use-shipping-actions.js +113 -0
- package/dist/sdk/shipping/use-shipping-actions.js.map +1 -0
- package/dist/sdk/shipping/use-shipping-simulation.d.ts +7 -0
- package/dist/sdk/shipping/use-shipping-simulation.js +72 -0
- package/dist/sdk/shipping/use-shipping-simulation.js.map +1 -0
- package/dist/sdk/state/cart.d.ts +42 -0
- package/dist/sdk/state/cart.js +64 -0
- package/dist/sdk/state/cart.js.map +1 -0
- package/dist/sdk/state/index.js +3 -0
- package/dist/sdk/state/variant-selector.d.ts +17 -0
- package/dist/sdk/state/variant-selector.js +14 -0
- package/dist/sdk/state/variant-selector.js.map +1 -0
- package/dist/utils/safe-href.js +63 -0
- package/dist/utils/safe-href.js.map +1 -0
- package/package.json +84 -0
- package/src/styles/tailwind.css +32 -0
|
@@ -0,0 +1,622 @@
|
|
|
1
|
+
import "@graphql-typed-document-node/core";
|
|
2
|
+
//#region src/sdk/generated/graphql.d.ts
|
|
3
|
+
/**
|
|
4
|
+
* Stock availability status for a cart line. Mapped from the upstream
|
|
5
|
+
* order-form availability strings; UNKNOWN absorbs values we haven't classified.
|
|
6
|
+
*/
|
|
7
|
+
export type CartItemAvailability =
|
|
8
|
+
/** In stock and shippable. */
|
|
9
|
+
'AVAILABLE' |
|
|
10
|
+
/** Known to be out of stock. */
|
|
11
|
+
'OUT_OF_STOCK' |
|
|
12
|
+
/** Other known-bad states (cannot deliver, fulfillment unavailable, etc.). */
|
|
13
|
+
'UNAVAILABLE' |
|
|
14
|
+
/** Upstream returned a state we don't recognize yet. */
|
|
15
|
+
'UNKNOWN';
|
|
16
|
+
/** Error codes for cart item quantity decrease operations. */
|
|
17
|
+
export type CartItemQuantityDecreaseErrorCode =
|
|
18
|
+
/** The cart was not found. */
|
|
19
|
+
'CART_NOT_FOUND' |
|
|
20
|
+
/** The quantity must be a positive integer. */
|
|
21
|
+
'INVALID_QUANTITY' |
|
|
22
|
+
/** The provided variant ID is not a valid Variant Node ID. */
|
|
23
|
+
'INVALID_VARIANT_ID' |
|
|
24
|
+
/** The specified variant was not found in the cart. */
|
|
25
|
+
'ITEM_NOT_FOUND' |
|
|
26
|
+
/** No cart context was provided (x-order-form-id header/cookie). */
|
|
27
|
+
'MISSING_CART_CONTEXT';
|
|
28
|
+
/** Error codes for cart item quantity increase operations. */
|
|
29
|
+
export type CartItemQuantityIncreaseErrorCode =
|
|
30
|
+
/** The cart was not found. */
|
|
31
|
+
'CART_NOT_FOUND' |
|
|
32
|
+
/** The quantity must be a positive integer. */
|
|
33
|
+
'INVALID_QUANTITY' |
|
|
34
|
+
/** The provided variant ID is not a valid Variant Node ID. */
|
|
35
|
+
'INVALID_VARIANT_ID' |
|
|
36
|
+
/** The specified variant was not found in the cart. */
|
|
37
|
+
'ITEM_NOT_FOUND' |
|
|
38
|
+
/** No cart context was provided (x-order-form-id header/cookie). */
|
|
39
|
+
'MISSING_CART_CONTEXT';
|
|
40
|
+
/** Error codes for cart item remove operations. */
|
|
41
|
+
export type CartItemRemoveErrorCode =
|
|
42
|
+
/** The cart was not found. */
|
|
43
|
+
'CART_NOT_FOUND' |
|
|
44
|
+
/** The provided variant ID is not a valid Variant Node ID. */
|
|
45
|
+
'INVALID_VARIANT_ID' |
|
|
46
|
+
/** The specified variant was not found in the cart. */
|
|
47
|
+
'ITEM_NOT_FOUND' |
|
|
48
|
+
/** No cart context was provided (x-order-form-id header/cookie). */
|
|
49
|
+
'MISSING_CART_CONTEXT';
|
|
50
|
+
/**
|
|
51
|
+
* Input for simulating shipping for the whole active cart. Carries the
|
|
52
|
+
* destination only; items are sourced from the cart in the x-order-form-id
|
|
53
|
+
* context, so there is no variant, quantity, or seller.
|
|
54
|
+
*/
|
|
55
|
+
export type CartShippingSimulateInput = {
|
|
56
|
+
/** ISO 3166-1 alpha-3 country code (e.g. "BRA"). */
|
|
57
|
+
country: string;
|
|
58
|
+
/** Postal code of the delivery destination. */
|
|
59
|
+
postalCode: string;
|
|
60
|
+
};
|
|
61
|
+
/** ISO 4217 currency codes. Extend as needed. */
|
|
62
|
+
export type CurrencyCode =
|
|
63
|
+
/** Argentine Peso. */
|
|
64
|
+
'ARS' |
|
|
65
|
+
/** Brazilian Real. */
|
|
66
|
+
'BRL' |
|
|
67
|
+
/** Chilean Peso. */
|
|
68
|
+
'CLP' |
|
|
69
|
+
/** Colombian Peso. */
|
|
70
|
+
'COP' |
|
|
71
|
+
/** Euro. */
|
|
72
|
+
'EUR' |
|
|
73
|
+
/** British Pound Sterling. */
|
|
74
|
+
'GBP' |
|
|
75
|
+
/** Japanese Yen. */
|
|
76
|
+
'JPY' |
|
|
77
|
+
/** Mexican Peso. */
|
|
78
|
+
'MXN' |
|
|
79
|
+
/** Peruvian Sol. */
|
|
80
|
+
'PEN' |
|
|
81
|
+
/** United States Dollar. */
|
|
82
|
+
'USD';
|
|
83
|
+
/** Input for simulating shipping options for a single variant on a PDP. */
|
|
84
|
+
export type ShippingSimulateInput = {
|
|
85
|
+
/** ISO 3166-1 alpha-3 country code (e.g. "BRA"). */
|
|
86
|
+
country: string;
|
|
87
|
+
/** Postal code of the delivery destination. */
|
|
88
|
+
postalCode: string;
|
|
89
|
+
/** Quantity of the variant. Must be at least 1. */
|
|
90
|
+
quantity: number;
|
|
91
|
+
/** The seller's global Node ID responsible for the variant. */
|
|
92
|
+
seller: string;
|
|
93
|
+
/** The variant's global Node ID to simulate shipping for. */
|
|
94
|
+
variantId: string;
|
|
95
|
+
};
|
|
96
|
+
export type ProductGalleryDataFragment = {
|
|
97
|
+
productBySlug: {
|
|
98
|
+
__typename: 'Product';
|
|
99
|
+
id: string;
|
|
100
|
+
media: {
|
|
101
|
+
edges: Array<{
|
|
102
|
+
node: {
|
|
103
|
+
__typename: 'Image';
|
|
104
|
+
url: string;
|
|
105
|
+
altText: string | null;
|
|
106
|
+
} | {
|
|
107
|
+
__typename: 'Video';
|
|
108
|
+
url: string;
|
|
109
|
+
altText: string | null;
|
|
110
|
+
previewImage: {
|
|
111
|
+
url: string;
|
|
112
|
+
} | null;
|
|
113
|
+
};
|
|
114
|
+
}>;
|
|
115
|
+
};
|
|
116
|
+
} | null;
|
|
117
|
+
};
|
|
118
|
+
export type ProductInformationDataFragment = {
|
|
119
|
+
productBySlug: {
|
|
120
|
+
__typename: 'Product';
|
|
121
|
+
id: string;
|
|
122
|
+
title: string;
|
|
123
|
+
description: string | null;
|
|
124
|
+
descriptionHtml: string | null;
|
|
125
|
+
referenceId: string | null;
|
|
126
|
+
vendor: string | null;
|
|
127
|
+
brand: {
|
|
128
|
+
__typename: 'Brand';
|
|
129
|
+
id: string;
|
|
130
|
+
name: string;
|
|
131
|
+
} | null;
|
|
132
|
+
variants: {
|
|
133
|
+
edges: Array<{
|
|
134
|
+
node: {
|
|
135
|
+
__typename: 'Variant';
|
|
136
|
+
id: string;
|
|
137
|
+
sku: string;
|
|
138
|
+
name: string;
|
|
139
|
+
};
|
|
140
|
+
}>;
|
|
141
|
+
};
|
|
142
|
+
seo: {
|
|
143
|
+
title: string | null;
|
|
144
|
+
} | null;
|
|
145
|
+
} | null;
|
|
146
|
+
};
|
|
147
|
+
export type VariantSelectorDataFragment = {
|
|
148
|
+
productBySlug: {
|
|
149
|
+
__typename: 'Product';
|
|
150
|
+
id: string;
|
|
151
|
+
options: Array<{
|
|
152
|
+
name: string;
|
|
153
|
+
values: Array<string>;
|
|
154
|
+
}>;
|
|
155
|
+
variants: {
|
|
156
|
+
edges: Array<{
|
|
157
|
+
node: {
|
|
158
|
+
__typename: 'Variant';
|
|
159
|
+
id: string;
|
|
160
|
+
name: string;
|
|
161
|
+
sku: string;
|
|
162
|
+
availableForSale: boolean;
|
|
163
|
+
selectedOptions: Array<{
|
|
164
|
+
name: string;
|
|
165
|
+
value: string;
|
|
166
|
+
}>;
|
|
167
|
+
images: {
|
|
168
|
+
edges: Array<{
|
|
169
|
+
node: {
|
|
170
|
+
url: string;
|
|
171
|
+
altText: string | null;
|
|
172
|
+
};
|
|
173
|
+
}>;
|
|
174
|
+
};
|
|
175
|
+
};
|
|
176
|
+
}>;
|
|
177
|
+
};
|
|
178
|
+
} | null;
|
|
179
|
+
};
|
|
180
|
+
export type MoneyFragmentFragment = {
|
|
181
|
+
__typename: 'Money';
|
|
182
|
+
amount: number;
|
|
183
|
+
currencyCode: CurrencyCode;
|
|
184
|
+
};
|
|
185
|
+
export type CartItemFragmentFragment = {
|
|
186
|
+
__typename: 'CartItem';
|
|
187
|
+
id: string;
|
|
188
|
+
quantity: number;
|
|
189
|
+
gift: boolean;
|
|
190
|
+
price: {
|
|
191
|
+
__typename: 'Money';
|
|
192
|
+
amount: number;
|
|
193
|
+
currencyCode: CurrencyCode;
|
|
194
|
+
};
|
|
195
|
+
listPrice: {
|
|
196
|
+
__typename: 'Money';
|
|
197
|
+
amount: number;
|
|
198
|
+
currencyCode: CurrencyCode;
|
|
199
|
+
};
|
|
200
|
+
sellingPrice: {
|
|
201
|
+
__typename: 'Money';
|
|
202
|
+
amount: number;
|
|
203
|
+
currencyCode: CurrencyCode;
|
|
204
|
+
};
|
|
205
|
+
ownTotal: {
|
|
206
|
+
__typename: 'Money';
|
|
207
|
+
amount: number;
|
|
208
|
+
currencyCode: CurrencyCode;
|
|
209
|
+
};
|
|
210
|
+
total: {
|
|
211
|
+
__typename: 'Money';
|
|
212
|
+
amount: number;
|
|
213
|
+
currencyCode: CurrencyCode;
|
|
214
|
+
};
|
|
215
|
+
variant: {
|
|
216
|
+
__typename: 'CartVariant';
|
|
217
|
+
variantId: string;
|
|
218
|
+
sku: string;
|
|
219
|
+
name: string;
|
|
220
|
+
availability: CartItemAvailability;
|
|
221
|
+
image: {
|
|
222
|
+
url: string;
|
|
223
|
+
altText: string | null;
|
|
224
|
+
} | null;
|
|
225
|
+
};
|
|
226
|
+
product: {
|
|
227
|
+
__typename: 'CartProduct';
|
|
228
|
+
productId: string;
|
|
229
|
+
title: string;
|
|
230
|
+
detailUrl: string;
|
|
231
|
+
categories: Array<{
|
|
232
|
+
categoryId: string;
|
|
233
|
+
name: string;
|
|
234
|
+
}>;
|
|
235
|
+
brand: {
|
|
236
|
+
brandId: string;
|
|
237
|
+
name: string;
|
|
238
|
+
} | null;
|
|
239
|
+
};
|
|
240
|
+
};
|
|
241
|
+
export type CartFragmentFragment = {
|
|
242
|
+
__typename: 'Cart';
|
|
243
|
+
id: string;
|
|
244
|
+
items: Array<{
|
|
245
|
+
__typename: 'CartItem';
|
|
246
|
+
id: string;
|
|
247
|
+
quantity: number;
|
|
248
|
+
gift: boolean;
|
|
249
|
+
price: {
|
|
250
|
+
__typename: 'Money';
|
|
251
|
+
amount: number;
|
|
252
|
+
currencyCode: CurrencyCode;
|
|
253
|
+
};
|
|
254
|
+
listPrice: {
|
|
255
|
+
__typename: 'Money';
|
|
256
|
+
amount: number;
|
|
257
|
+
currencyCode: CurrencyCode;
|
|
258
|
+
};
|
|
259
|
+
sellingPrice: {
|
|
260
|
+
__typename: 'Money';
|
|
261
|
+
amount: number;
|
|
262
|
+
currencyCode: CurrencyCode;
|
|
263
|
+
};
|
|
264
|
+
ownTotal: {
|
|
265
|
+
__typename: 'Money';
|
|
266
|
+
amount: number;
|
|
267
|
+
currencyCode: CurrencyCode;
|
|
268
|
+
};
|
|
269
|
+
total: {
|
|
270
|
+
__typename: 'Money';
|
|
271
|
+
amount: number;
|
|
272
|
+
currencyCode: CurrencyCode;
|
|
273
|
+
};
|
|
274
|
+
variant: {
|
|
275
|
+
__typename: 'CartVariant';
|
|
276
|
+
variantId: string;
|
|
277
|
+
sku: string;
|
|
278
|
+
name: string;
|
|
279
|
+
availability: CartItemAvailability;
|
|
280
|
+
image: {
|
|
281
|
+
url: string;
|
|
282
|
+
altText: string | null;
|
|
283
|
+
} | null;
|
|
284
|
+
};
|
|
285
|
+
product: {
|
|
286
|
+
__typename: 'CartProduct';
|
|
287
|
+
productId: string;
|
|
288
|
+
title: string;
|
|
289
|
+
detailUrl: string;
|
|
290
|
+
categories: Array<{
|
|
291
|
+
categoryId: string;
|
|
292
|
+
name: string;
|
|
293
|
+
}>;
|
|
294
|
+
brand: {
|
|
295
|
+
brandId: string;
|
|
296
|
+
name: string;
|
|
297
|
+
} | null;
|
|
298
|
+
};
|
|
299
|
+
}>;
|
|
300
|
+
totalizers: Array<{
|
|
301
|
+
__typename: 'CartTotalizer';
|
|
302
|
+
id: string;
|
|
303
|
+
name: string;
|
|
304
|
+
value: {
|
|
305
|
+
__typename: 'Money';
|
|
306
|
+
amount: number;
|
|
307
|
+
currencyCode: CurrencyCode;
|
|
308
|
+
};
|
|
309
|
+
}>;
|
|
310
|
+
total: {
|
|
311
|
+
__typename: 'Money';
|
|
312
|
+
amount: number;
|
|
313
|
+
currencyCode: CurrencyCode;
|
|
314
|
+
};
|
|
315
|
+
messages: Array<{
|
|
316
|
+
__typename: 'CartMessage';
|
|
317
|
+
code: string | null;
|
|
318
|
+
text: string;
|
|
319
|
+
status: string;
|
|
320
|
+
}>;
|
|
321
|
+
appliedCoupons: Array<{
|
|
322
|
+
code: string;
|
|
323
|
+
isUnmatchedCondition: boolean;
|
|
324
|
+
}>;
|
|
325
|
+
};
|
|
326
|
+
export type CartItemRemoveMutation = {
|
|
327
|
+
cartItemRemove: {
|
|
328
|
+
__typename: 'CartItemRemovePayload';
|
|
329
|
+
cart: {
|
|
330
|
+
__typename: 'Cart';
|
|
331
|
+
id: string;
|
|
332
|
+
items: Array<{
|
|
333
|
+
__typename: 'CartItem';
|
|
334
|
+
id: string;
|
|
335
|
+
quantity: number;
|
|
336
|
+
gift: boolean;
|
|
337
|
+
price: {
|
|
338
|
+
__typename: 'Money';
|
|
339
|
+
amount: number;
|
|
340
|
+
currencyCode: CurrencyCode;
|
|
341
|
+
};
|
|
342
|
+
listPrice: {
|
|
343
|
+
__typename: 'Money';
|
|
344
|
+
amount: number;
|
|
345
|
+
currencyCode: CurrencyCode;
|
|
346
|
+
};
|
|
347
|
+
sellingPrice: {
|
|
348
|
+
__typename: 'Money';
|
|
349
|
+
amount: number;
|
|
350
|
+
currencyCode: CurrencyCode;
|
|
351
|
+
};
|
|
352
|
+
ownTotal: {
|
|
353
|
+
__typename: 'Money';
|
|
354
|
+
amount: number;
|
|
355
|
+
currencyCode: CurrencyCode;
|
|
356
|
+
};
|
|
357
|
+
total: {
|
|
358
|
+
__typename: 'Money';
|
|
359
|
+
amount: number;
|
|
360
|
+
currencyCode: CurrencyCode;
|
|
361
|
+
};
|
|
362
|
+
variant: {
|
|
363
|
+
__typename: 'CartVariant';
|
|
364
|
+
variantId: string;
|
|
365
|
+
sku: string;
|
|
366
|
+
name: string;
|
|
367
|
+
availability: CartItemAvailability;
|
|
368
|
+
image: {
|
|
369
|
+
url: string;
|
|
370
|
+
altText: string | null;
|
|
371
|
+
} | null;
|
|
372
|
+
};
|
|
373
|
+
product: {
|
|
374
|
+
__typename: 'CartProduct';
|
|
375
|
+
productId: string;
|
|
376
|
+
title: string;
|
|
377
|
+
detailUrl: string;
|
|
378
|
+
categories: Array<{
|
|
379
|
+
categoryId: string;
|
|
380
|
+
name: string;
|
|
381
|
+
}>;
|
|
382
|
+
brand: {
|
|
383
|
+
brandId: string;
|
|
384
|
+
name: string;
|
|
385
|
+
} | null;
|
|
386
|
+
};
|
|
387
|
+
}>;
|
|
388
|
+
totalizers: Array<{
|
|
389
|
+
__typename: 'CartTotalizer';
|
|
390
|
+
id: string;
|
|
391
|
+
name: string;
|
|
392
|
+
value: {
|
|
393
|
+
__typename: 'Money';
|
|
394
|
+
amount: number;
|
|
395
|
+
currencyCode: CurrencyCode;
|
|
396
|
+
};
|
|
397
|
+
}>;
|
|
398
|
+
total: {
|
|
399
|
+
__typename: 'Money';
|
|
400
|
+
amount: number;
|
|
401
|
+
currencyCode: CurrencyCode;
|
|
402
|
+
};
|
|
403
|
+
messages: Array<{
|
|
404
|
+
__typename: 'CartMessage';
|
|
405
|
+
code: string | null;
|
|
406
|
+
text: string;
|
|
407
|
+
status: string;
|
|
408
|
+
}>;
|
|
409
|
+
appliedCoupons: Array<{
|
|
410
|
+
code: string;
|
|
411
|
+
isUnmatchedCondition: boolean;
|
|
412
|
+
}>;
|
|
413
|
+
} | null;
|
|
414
|
+
userErrors: Array<{
|
|
415
|
+
code: CartItemRemoveErrorCode;
|
|
416
|
+
message: string;
|
|
417
|
+
}>;
|
|
418
|
+
};
|
|
419
|
+
};
|
|
420
|
+
export type CartItemQuantityIncreaseMutation = {
|
|
421
|
+
cartItemQuantityIncrease: {
|
|
422
|
+
__typename: 'CartItemQuantityIncreasePayload';
|
|
423
|
+
cart: {
|
|
424
|
+
__typename: 'Cart';
|
|
425
|
+
id: string;
|
|
426
|
+
items: Array<{
|
|
427
|
+
__typename: 'CartItem';
|
|
428
|
+
id: string;
|
|
429
|
+
quantity: number;
|
|
430
|
+
gift: boolean;
|
|
431
|
+
price: {
|
|
432
|
+
__typename: 'Money';
|
|
433
|
+
amount: number;
|
|
434
|
+
currencyCode: CurrencyCode;
|
|
435
|
+
};
|
|
436
|
+
listPrice: {
|
|
437
|
+
__typename: 'Money';
|
|
438
|
+
amount: number;
|
|
439
|
+
currencyCode: CurrencyCode;
|
|
440
|
+
};
|
|
441
|
+
sellingPrice: {
|
|
442
|
+
__typename: 'Money';
|
|
443
|
+
amount: number;
|
|
444
|
+
currencyCode: CurrencyCode;
|
|
445
|
+
};
|
|
446
|
+
ownTotal: {
|
|
447
|
+
__typename: 'Money';
|
|
448
|
+
amount: number;
|
|
449
|
+
currencyCode: CurrencyCode;
|
|
450
|
+
};
|
|
451
|
+
total: {
|
|
452
|
+
__typename: 'Money';
|
|
453
|
+
amount: number;
|
|
454
|
+
currencyCode: CurrencyCode;
|
|
455
|
+
};
|
|
456
|
+
variant: {
|
|
457
|
+
__typename: 'CartVariant';
|
|
458
|
+
variantId: string;
|
|
459
|
+
sku: string;
|
|
460
|
+
name: string;
|
|
461
|
+
availability: CartItemAvailability;
|
|
462
|
+
image: {
|
|
463
|
+
url: string;
|
|
464
|
+
altText: string | null;
|
|
465
|
+
} | null;
|
|
466
|
+
};
|
|
467
|
+
product: {
|
|
468
|
+
__typename: 'CartProduct';
|
|
469
|
+
productId: string;
|
|
470
|
+
title: string;
|
|
471
|
+
detailUrl: string;
|
|
472
|
+
categories: Array<{
|
|
473
|
+
categoryId: string;
|
|
474
|
+
name: string;
|
|
475
|
+
}>;
|
|
476
|
+
brand: {
|
|
477
|
+
brandId: string;
|
|
478
|
+
name: string;
|
|
479
|
+
} | null;
|
|
480
|
+
};
|
|
481
|
+
}>;
|
|
482
|
+
totalizers: Array<{
|
|
483
|
+
__typename: 'CartTotalizer';
|
|
484
|
+
id: string;
|
|
485
|
+
name: string;
|
|
486
|
+
value: {
|
|
487
|
+
__typename: 'Money';
|
|
488
|
+
amount: number;
|
|
489
|
+
currencyCode: CurrencyCode;
|
|
490
|
+
};
|
|
491
|
+
}>;
|
|
492
|
+
total: {
|
|
493
|
+
__typename: 'Money';
|
|
494
|
+
amount: number;
|
|
495
|
+
currencyCode: CurrencyCode;
|
|
496
|
+
};
|
|
497
|
+
messages: Array<{
|
|
498
|
+
__typename: 'CartMessage';
|
|
499
|
+
code: string | null;
|
|
500
|
+
text: string;
|
|
501
|
+
status: string;
|
|
502
|
+
}>;
|
|
503
|
+
appliedCoupons: Array<{
|
|
504
|
+
code: string;
|
|
505
|
+
isUnmatchedCondition: boolean;
|
|
506
|
+
}>;
|
|
507
|
+
} | null;
|
|
508
|
+
userErrors: Array<{
|
|
509
|
+
code: CartItemQuantityIncreaseErrorCode;
|
|
510
|
+
message: string;
|
|
511
|
+
}>;
|
|
512
|
+
};
|
|
513
|
+
};
|
|
514
|
+
export type CartItemQuantityDecreaseMutation = {
|
|
515
|
+
cartItemQuantityDecrease: {
|
|
516
|
+
__typename: 'CartItemQuantityDecreasePayload';
|
|
517
|
+
cart: {
|
|
518
|
+
__typename: 'Cart';
|
|
519
|
+
id: string;
|
|
520
|
+
items: Array<{
|
|
521
|
+
__typename: 'CartItem';
|
|
522
|
+
id: string;
|
|
523
|
+
quantity: number;
|
|
524
|
+
gift: boolean;
|
|
525
|
+
price: {
|
|
526
|
+
__typename: 'Money';
|
|
527
|
+
amount: number;
|
|
528
|
+
currencyCode: CurrencyCode;
|
|
529
|
+
};
|
|
530
|
+
listPrice: {
|
|
531
|
+
__typename: 'Money';
|
|
532
|
+
amount: number;
|
|
533
|
+
currencyCode: CurrencyCode;
|
|
534
|
+
};
|
|
535
|
+
sellingPrice: {
|
|
536
|
+
__typename: 'Money';
|
|
537
|
+
amount: number;
|
|
538
|
+
currencyCode: CurrencyCode;
|
|
539
|
+
};
|
|
540
|
+
ownTotal: {
|
|
541
|
+
__typename: 'Money';
|
|
542
|
+
amount: number;
|
|
543
|
+
currencyCode: CurrencyCode;
|
|
544
|
+
};
|
|
545
|
+
total: {
|
|
546
|
+
__typename: 'Money';
|
|
547
|
+
amount: number;
|
|
548
|
+
currencyCode: CurrencyCode;
|
|
549
|
+
};
|
|
550
|
+
variant: {
|
|
551
|
+
__typename: 'CartVariant';
|
|
552
|
+
variantId: string;
|
|
553
|
+
sku: string;
|
|
554
|
+
name: string;
|
|
555
|
+
availability: CartItemAvailability;
|
|
556
|
+
image: {
|
|
557
|
+
url: string;
|
|
558
|
+
altText: string | null;
|
|
559
|
+
} | null;
|
|
560
|
+
};
|
|
561
|
+
product: {
|
|
562
|
+
__typename: 'CartProduct';
|
|
563
|
+
productId: string;
|
|
564
|
+
title: string;
|
|
565
|
+
detailUrl: string;
|
|
566
|
+
categories: Array<{
|
|
567
|
+
categoryId: string;
|
|
568
|
+
name: string;
|
|
569
|
+
}>;
|
|
570
|
+
brand: {
|
|
571
|
+
brandId: string;
|
|
572
|
+
name: string;
|
|
573
|
+
} | null;
|
|
574
|
+
};
|
|
575
|
+
}>;
|
|
576
|
+
totalizers: Array<{
|
|
577
|
+
__typename: 'CartTotalizer';
|
|
578
|
+
id: string;
|
|
579
|
+
name: string;
|
|
580
|
+
value: {
|
|
581
|
+
__typename: 'Money';
|
|
582
|
+
amount: number;
|
|
583
|
+
currencyCode: CurrencyCode;
|
|
584
|
+
};
|
|
585
|
+
}>;
|
|
586
|
+
total: {
|
|
587
|
+
__typename: 'Money';
|
|
588
|
+
amount: number;
|
|
589
|
+
currencyCode: CurrencyCode;
|
|
590
|
+
};
|
|
591
|
+
messages: Array<{
|
|
592
|
+
__typename: 'CartMessage';
|
|
593
|
+
code: string | null;
|
|
594
|
+
text: string;
|
|
595
|
+
status: string;
|
|
596
|
+
}>;
|
|
597
|
+
appliedCoupons: Array<{
|
|
598
|
+
code: string;
|
|
599
|
+
isUnmatchedCondition: boolean;
|
|
600
|
+
}>;
|
|
601
|
+
} | null;
|
|
602
|
+
userErrors: Array<{
|
|
603
|
+
code: CartItemQuantityDecreaseErrorCode;
|
|
604
|
+
message: string;
|
|
605
|
+
}>;
|
|
606
|
+
};
|
|
607
|
+
};
|
|
608
|
+
export type RegionFragmentFragment = {
|
|
609
|
+
__typename: 'Region';
|
|
610
|
+
id: string;
|
|
611
|
+
postalCode: string | null;
|
|
612
|
+
city: string | null;
|
|
613
|
+
};
|
|
614
|
+
export type SessionFragmentFragment = {
|
|
615
|
+
__typename: 'Session';
|
|
616
|
+
id: string;
|
|
617
|
+
loggedIn: boolean;
|
|
618
|
+
canEditData: boolean;
|
|
619
|
+
isIdentified: boolean;
|
|
620
|
+
};
|
|
621
|
+
//#endregion
|
|
622
|
+
//# sourceMappingURL=graphql.d.ts.map
|