@anker-in/shopify-sdk 1.2.0-beta.10 → 1.2.0-beta.11

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.
@@ -29,4 +29,16 @@ declare const articleWithMetafieldsFragment = "\n fragment articleWithMetafield
29
29
  declare const blogFragment = "\n fragment blog on Blog {\n id\n handle\n title\n seo {\n ...seo\n }\n }\n \n fragment seo on SEO {\n description\n title\n }\n\n";
30
30
  declare const blogWithMetafieldsFragment = "\n fragment blogWithMetafields on Blog {\n id\n handle\n title\n seo {\n ...seo\n }\n metafields(identifiers: $blogMetafieldIdentifiers) {\n ...metafield\n }\n }\n \n fragment seo on SEO {\n description\n title\n }\n\n \n fragment metafield on Metafield {\n value\n type\n description\n namespace\n key\n }\n\n";
31
31
 
32
- export { articleFragment, articleWithMetafieldsFragment, blogFragment, blogWithMetafieldsFragment, cartFragment, collectionFragment, imageFragment, metafieldFragment, metafieldFragmentStr, pageInfoFragment, productFragment, seoFragment, variantFragment };
32
+ /**
33
+ * Page GraphQL Fragments
34
+ */
35
+ declare const pageFragment = "\n fragment page on Page {\n id\n handle\n title\n body\n bodySummary\n createdAt\n updatedAt\n seo {\n ...seo\n }\n }\n \n fragment seo on SEO {\n description\n title\n }\n\n";
36
+ declare const pageWithMetafieldsFragment = "\n fragment pageWithMetafields on Page {\n id\n handle\n title\n body\n bodySummary\n createdAt\n updatedAt\n seo {\n ...seo\n }\n metafields(identifiers: $pageMetafieldIdentifiers) {\n ...metafield\n }\n }\n \n fragment seo on SEO {\n description\n title\n }\n\n \n fragment metafield on Metafield {\n value\n type\n description\n namespace\n key\n }\n\n";
37
+
38
+ /**
39
+ * Shop GraphQL Fragments
40
+ */
41
+ declare const shopFragment = "\n fragment shop on Shop {\n name\n description\n primaryDomain {\n url\n host\n }\n brand {\n logo {\n image {\n url\n }\n }\n colors {\n primary {\n background\n }\n secondary {\n background\n }\n }\n }\n }\n";
42
+ declare const shopWithMetafieldsFragment = "\n fragment shopWithMetafields on Shop {\n name\n description\n primaryDomain {\n url\n host\n }\n brand {\n logo {\n image {\n url\n }\n }\n colors {\n primary {\n background\n }\n secondary {\n background\n }\n }\n }\n metafields(identifiers: $shopMetafieldIdentifiers) {\n ...metafield\n }\n }\n \n fragment metafield on Metafield {\n value\n type\n description\n namespace\n key\n }\n\n";
43
+
44
+ export { articleFragment, articleWithMetafieldsFragment, blogFragment, blogWithMetafieldsFragment, cartFragment, collectionFragment, imageFragment, metafieldFragment, metafieldFragmentStr, pageFragment, pageInfoFragment, pageWithMetafieldsFragment, productFragment, seoFragment, shopFragment, shopWithMetafieldsFragment, variantFragment };
@@ -29,4 +29,16 @@ declare const articleWithMetafieldsFragment = "\n fragment articleWithMetafield
29
29
  declare const blogFragment = "\n fragment blog on Blog {\n id\n handle\n title\n seo {\n ...seo\n }\n }\n \n fragment seo on SEO {\n description\n title\n }\n\n";
30
30
  declare const blogWithMetafieldsFragment = "\n fragment blogWithMetafields on Blog {\n id\n handle\n title\n seo {\n ...seo\n }\n metafields(identifiers: $blogMetafieldIdentifiers) {\n ...metafield\n }\n }\n \n fragment seo on SEO {\n description\n title\n }\n\n \n fragment metafield on Metafield {\n value\n type\n description\n namespace\n key\n }\n\n";
31
31
 
32
- export { articleFragment, articleWithMetafieldsFragment, blogFragment, blogWithMetafieldsFragment, cartFragment, collectionFragment, imageFragment, metafieldFragment, metafieldFragmentStr, pageInfoFragment, productFragment, seoFragment, variantFragment };
32
+ /**
33
+ * Page GraphQL Fragments
34
+ */
35
+ declare const pageFragment = "\n fragment page on Page {\n id\n handle\n title\n body\n bodySummary\n createdAt\n updatedAt\n seo {\n ...seo\n }\n }\n \n fragment seo on SEO {\n description\n title\n }\n\n";
36
+ declare const pageWithMetafieldsFragment = "\n fragment pageWithMetafields on Page {\n id\n handle\n title\n body\n bodySummary\n createdAt\n updatedAt\n seo {\n ...seo\n }\n metafields(identifiers: $pageMetafieldIdentifiers) {\n ...metafield\n }\n }\n \n fragment seo on SEO {\n description\n title\n }\n\n \n fragment metafield on Metafield {\n value\n type\n description\n namespace\n key\n }\n\n";
37
+
38
+ /**
39
+ * Shop GraphQL Fragments
40
+ */
41
+ declare const shopFragment = "\n fragment shop on Shop {\n name\n description\n primaryDomain {\n url\n host\n }\n brand {\n logo {\n image {\n url\n }\n }\n colors {\n primary {\n background\n }\n secondary {\n background\n }\n }\n }\n }\n";
42
+ declare const shopWithMetafieldsFragment = "\n fragment shopWithMetafields on Shop {\n name\n description\n primaryDomain {\n url\n host\n }\n brand {\n logo {\n image {\n url\n }\n }\n colors {\n primary {\n background\n }\n secondary {\n background\n }\n }\n }\n metafields(identifiers: $shopMetafieldIdentifiers) {\n ...metafield\n }\n }\n \n fragment metafield on Metafield {\n value\n type\n description\n namespace\n key\n }\n\n";
43
+
44
+ export { articleFragment, articleWithMetafieldsFragment, blogFragment, blogWithMetafieldsFragment, cartFragment, collectionFragment, imageFragment, metafieldFragment, metafieldFragmentStr, pageFragment, pageInfoFragment, pageWithMetafieldsFragment, productFragment, seoFragment, shopFragment, shopWithMetafieldsFragment, variantFragment };
@@ -586,6 +586,110 @@ var blogWithMetafieldsFragment = (
586
586
  `
587
587
  );
588
588
 
589
+ // src/fragments/page.ts
590
+ var pageFragment = (
591
+ /* GraphQL */
592
+ `
593
+ fragment page on Page {
594
+ id
595
+ handle
596
+ title
597
+ body
598
+ bodySummary
599
+ createdAt
600
+ updatedAt
601
+ seo {
602
+ ...seo
603
+ }
604
+ }
605
+ ${seoFragment}
606
+ `
607
+ );
608
+ var pageWithMetafieldsFragment = (
609
+ /* GraphQL */
610
+ `
611
+ fragment pageWithMetafields on Page {
612
+ id
613
+ handle
614
+ title
615
+ body
616
+ bodySummary
617
+ createdAt
618
+ updatedAt
619
+ seo {
620
+ ...seo
621
+ }
622
+ metafields(identifiers: $pageMetafieldIdentifiers) {
623
+ ...metafield
624
+ }
625
+ }
626
+ ${seoFragment}
627
+ ${metafieldFragment}
628
+ `
629
+ );
630
+
631
+ // src/fragments/shop.ts
632
+ var shopFragment = (
633
+ /* GraphQL */
634
+ `
635
+ fragment shop on Shop {
636
+ name
637
+ description
638
+ primaryDomain {
639
+ url
640
+ host
641
+ }
642
+ brand {
643
+ logo {
644
+ image {
645
+ url
646
+ }
647
+ }
648
+ colors {
649
+ primary {
650
+ background
651
+ }
652
+ secondary {
653
+ background
654
+ }
655
+ }
656
+ }
657
+ }
658
+ `
659
+ );
660
+ var shopWithMetafieldsFragment = (
661
+ /* GraphQL */
662
+ `
663
+ fragment shopWithMetafields on Shop {
664
+ name
665
+ description
666
+ primaryDomain {
667
+ url
668
+ host
669
+ }
670
+ brand {
671
+ logo {
672
+ image {
673
+ url
674
+ }
675
+ }
676
+ colors {
677
+ primary {
678
+ background
679
+ }
680
+ secondary {
681
+ background
682
+ }
683
+ }
684
+ }
685
+ metafields(identifiers: $shopMetafieldIdentifiers) {
686
+ ...metafield
687
+ }
688
+ }
689
+ ${metafieldFragment}
690
+ `
691
+ );
692
+
589
693
  exports.articleFragment = articleFragment;
590
694
  exports.articleWithMetafieldsFragment = articleWithMetafieldsFragment;
591
695
  exports.blogFragment = blogFragment;
@@ -595,9 +699,13 @@ exports.collectionFragment = collectionFragment;
595
699
  exports.imageFragment = imageFragment;
596
700
  exports.metafieldFragment = metafieldFragment;
597
701
  exports.metafieldFragmentStr = metafieldFragmentStr;
702
+ exports.pageFragment = pageFragment;
598
703
  exports.pageInfoFragment = pageInfoFragment;
704
+ exports.pageWithMetafieldsFragment = pageWithMetafieldsFragment;
599
705
  exports.productFragment = productFragment;
600
706
  exports.seoFragment = seoFragment;
707
+ exports.shopFragment = shopFragment;
708
+ exports.shopWithMetafieldsFragment = shopWithMetafieldsFragment;
601
709
  exports.variantFragment = variantFragment;
602
710
  //# sourceMappingURL=index.js.map
603
711
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/fragments/image.ts","../../src/fragments/seo.ts","../../src/fragments/metafield.ts","../../src/fragments/variant.ts","../../src/fragments/product.ts","../../src/fragments/cart.ts","../../src/fragments/collection.ts","../../src/fragments/page-info.ts","../../src/fragments/blog.ts"],"names":[],"mappings":";;;AAAO,IAAM,aAAA;AAAA;AAAA,EAA8B;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACApC,IAAM,WAAA;AAAA;AAAA,EAA4B;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAlC,IAAM,iBAAA;AAAA;AAAA,EAAkC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAUxC,IAAM,oBAAA,GAAuB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACV7B,IAAM,eAAA;AAAA;AAAA,EAAgC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACGtC,IAAM,eAAA;AAAA;AAAA,EAAgC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;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WAAW;AAAA,EAAA,EACX,iBAAiB;AAAA;AAAA;AAGd,IAAM,YAAA;AAAA;AAAA,EAA6B;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAAA,EAStC,WAAW;AAAA;AAAA;AAGR,IAAM,0BAAA;AAAA;AAAA,EAA2C;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAAA,EAYpD,WAAW;AAAA,EAAA,EACX,iBAAiB;AAAA;AAAA","file":"index.js","sourcesContent":["export const imageFragment = /* GraphQL */ `\n fragment image on Image {\n url\n altText\n width\n height\n }\n`\n","export const seoFragment = /* GraphQL */ `\n fragment seo on SEO {\n description\n title\n }\n`\n","export const metafieldFragment = /* GraphQL */ `\n fragment metafield on Metafield {\n value\n type\n description\n namespace\n key\n }\n`\n\nexport const metafieldFragmentStr = `\n value\n type\n description\n namespace\n key\n`\n","export const variantFragment = /* GraphQL */ `\n fragment variant on ProductVariant {\n id\n sku\n title\n requiresShipping\n quantityAvailable\n currentlyNotInStock\n availableForSale\n barcode\n weight\n selectedOptions {\n name\n value\n }\n image {\n ...image\n }\n price {\n amount\n currencyCode\n }\n compareAtPrice {\n amount\n currencyCode\n }\n metafields(identifiers: $variantMetafieldIdentifiers) {\n ...metafield\n }\n sellingPlanAllocations(first: 10) {\n edges {\n node {\n sellingPlan {\n id\n name\n options {\n name\n value\n }\n }\n priceAdjustments {\n compareAtPrice {\n amount\n currencyCode\n }\n perDeliveryPrice {\n amount\n currencyCode\n }\n price {\n amount\n currencyCode\n }\n }\n }\n }\n }\n }\n`\n","/**\n * Product GraphQL Fragment\n */\nexport const productFragment = /* GraphQL */ `\n fragment product on Product {\n id\n handle\n availableForSale\n title\n description\n descriptionHtml\n options {\n id\n name\n values\n }\n productType\n vendor\n priceRange {\n maxVariantPrice {\n amount\n currencyCode\n }\n minVariantPrice {\n amount\n currencyCode\n }\n }\n compareAtPriceRange {\n minVariantPrice {\n amount\n currencyCode\n }\n }\n featuredImage {\n ...image\n }\n images(first: 250) {\n edges {\n node {\n ...image\n }\n }\n }\n metafields(identifiers: $productMetafieldIdentifiers) {\n ...metafield\n }\n media(first: 250) {\n edges {\n node {\n id\n mediaContentType\n ... on Video {\n id\n sources {\n format\n height\n mimeType\n url\n width\n }\n }\n ... on MediaImage {\n id\n image {\n altText\n url\n }\n }\n }\n }\n }\n seo {\n ...seo\n }\n tags\n createdAt\n updatedAt\n publishedAt\n requiresSellingPlan\n sellingPlanGroups(first: 250) {\n edges {\n node {\n name\n sellingPlans(first: 250) {\n edges {\n node {\n id\n name\n priceAdjustments {\n adjustmentValue {\n ... on SellingPlanFixedAmountPriceAdjustment {\n __typename\n adjustmentAmount {\n amount\n currencyCode\n }\n }\n ... on SellingPlanFixedPriceAdjustment {\n __typename\n price {\n amount\n currencyCode\n }\n }\n ... on SellingPlanPercentagePriceAdjustment {\n __typename\n adjustmentPercentage\n }\n }\n }\n options {\n name\n value\n }\n }\n }\n }\n }\n }\n }\n }\n`\n","import { imageFragment } from './image'\nimport { metafieldFragment } from './metafield'\nimport { productFragment } from './product'\nimport { seoFragment } from './seo'\n\nexport const cartFragment = /* GraphQL */ `\n fragment cart on Cart {\n id\n totalQuantity\n updatedAt\n createdAt\n checkoutUrl\n note\n attributes {\n key\n value\n }\n cost {\n checkoutChargeAmount {\n amount\n currencyCode\n }\n subtotalAmount {\n amount\n currencyCode\n }\n totalAmount {\n amount\n currencyCode\n }\n totalTaxAmount {\n amount\n currencyCode\n }\n totalDutyAmount {\n amount\n currencyCode\n }\n totalAmountEstimated\n totalTaxAmountEstimated\n totalDutyAmountEstimated\n subtotalAmountEstimated\n }\n buyerIdentity {\n email\n phone\n countryCode\n customer {\n email\n id\n }\n deliveryAddressPreferences {\n ... on MailingAddress {\n address1\n address2\n city\n province\n country\n zip\n firstName\n lastName\n }\n }\n }\n discountCodes {\n applicable\n code\n }\n discountAllocations {\n ... on CartCodeDiscountAllocation {\n code\n discountedAmount {\n amount\n currencyCode\n }\n }\n ... on CartAutomaticDiscountAllocation {\n title\n discountedAmount {\n amount\n currencyCode\n }\n }\n ... on CartCustomDiscountAllocation {\n title\n discountedAmount {\n amount\n currencyCode\n }\n }\n }\n deliveryGroups(first: 10) {\n nodes {\n ... on CartDeliveryGroup {\n id\n deliveryOptions {\n ... on CartDeliveryOption {\n code\n description\n deliveryMethodType\n handle\n title\n estimatedCost {\n amount\n currencyCode\n }\n }\n }\n deliveryAddress {\n ... on MailingAddress {\n address1\n address2\n city\n country\n zip\n }\n }\n selectedDeliveryOption {\n ... on CartDeliveryOption {\n code\n description\n deliveryMethodType\n handle\n title\n estimatedCost {\n amount\n currencyCode\n }\n }\n }\n }\n }\n }\n lines(first: 100) {\n edges {\n node {\n id\n quantity\n discountAllocations {\n ... on CartCodeDiscountAllocation {\n code\n discountedAmount {\n amount\n currencyCode\n }\n }\n ... on CartAutomaticDiscountAllocation {\n title\n discountedAmount {\n amount\n currencyCode\n }\n }\n ... on CartCustomDiscountAllocation {\n title\n discountedAmount {\n amount\n currencyCode\n }\n }\n }\n attributes {\n key\n value\n }\n cost {\n amountPerQuantity {\n amount\n currencyCode\n }\n compareAtAmountPerQuantity {\n amount\n currencyCode\n }\n subtotalAmount {\n amount\n currencyCode\n }\n totalAmount {\n amount\n currencyCode\n }\n }\n merchandise {\n ... on ProductVariant {\n id\n sku\n title\n quantityAvailable\n currentlyNotInStock\n availableForSale\n barcode\n weight\n selectedOptions {\n name\n value\n }\n image {\n ...image\n }\n price {\n amount\n currencyCode\n }\n compareAtPrice {\n amount\n currencyCode\n }\n metafields(identifiers: $variantMetafieldIdentifiers) {\n ...metafield\n }\n product {\n ...product\n }\n }\n }\n }\n }\n }\n totalQuantity\n }\n ${productFragment}\n ${imageFragment}\n ${seoFragment}\n ${metafieldFragment}\n`\n","/**\n * Collection GraphQL Fragment\n */\n\nimport { imageFragment } from './image'\nimport { seoFragment } from './seo'\n\nexport const collectionFragment = /* GraphQL */ `\n fragment collection on Collection {\n id\n handle\n title\n description\n descriptionHtml\n image {\n ...image\n }\n seo {\n ...seo\n }\n updatedAt\n }\n`\n","export const pageInfoFragment = /* GraphQL */ `\n fragment pageInfo on PageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n`\n","/**\n * Blog GraphQL Fragments\n */\n\nimport { imageFragment } from './image'\nimport { seoFragment } from './seo'\nimport { metafieldFragment } from './metafield'\n\nexport const articleFragment = /* GraphQL */ `\n fragment article on Article {\n id\n handle\n title\n content\n contentHtml\n excerpt\n excerptHtml\n publishedAt\n image {\n ...image\n }\n seo {\n ...seo\n }\n tags\n author {\n name\n }\n }\n ${imageFragment}\n ${seoFragment}\n`\n\nexport const articleWithMetafieldsFragment = /* GraphQL */ `\n fragment articleWithMetafields on Article {\n id\n handle\n title\n content\n contentHtml\n excerpt\n excerptHtml\n publishedAt\n image {\n ...image\n }\n seo {\n ...seo\n }\n tags\n author {\n name\n }\n metafields(identifiers: $articleMetafieldIdentifiers) {\n ...metafield\n }\n }\n ${imageFragment}\n ${seoFragment}\n ${metafieldFragment}\n`\n\nexport const blogFragment = /* GraphQL */ `\n fragment blog on Blog {\n id\n handle\n title\n seo {\n ...seo\n }\n }\n ${seoFragment}\n`\n\nexport const blogWithMetafieldsFragment = /* GraphQL */ `\n fragment blogWithMetafields on Blog {\n id\n handle\n title\n seo {\n ...seo\n }\n metafields(identifiers: $blogMetafieldIdentifiers) {\n ...metafield\n }\n }\n ${seoFragment}\n ${metafieldFragment}\n`\n"]}
1
+ {"version":3,"sources":["../../src/fragments/image.ts","../../src/fragments/seo.ts","../../src/fragments/metafield.ts","../../src/fragments/variant.ts","../../src/fragments/product.ts","../../src/fragments/cart.ts","../../src/fragments/collection.ts","../../src/fragments/page-info.ts","../../src/fragments/blog.ts","../../src/fragments/page.ts","../../src/fragments/shop.ts"],"names":[],"mappings":";;;AAAO,IAAM,aAAA;AAAA;AAAA,EAA8B;AAAA;AAAA;AAAA;AAAA;AAAA;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R,IAAM,0BAAA;AAAA;AAAA,EAA2C;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAAA,EAYpD,WAAW;AAAA,EAAA,EACX,iBAAiB;AAAA;AAAA;;;AChFd,IAAM,YAAA;AAAA;AAAA,EAA6B;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAAA,EAatC,WAAW;AAAA;AAAA;AAGR,IAAM,0BAAA;AAAA;AAAA,EAA2C;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAAA,EAgBpD,WAAW;AAAA,EAAA,EACX,iBAAiB;AAAA;AAAA;;;AClCd,IAAM,YAAA;AAAA;AAAA,EAA6B;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AA0BnC,IAAM,0BAAA;AAAA;AAAA,EAA2C;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAAA,EA2BpD,iBAAiB;AAAA;AAAA","file":"index.js","sourcesContent":["export const imageFragment = /* GraphQL */ `\n fragment image on Image {\n url\n altText\n width\n height\n }\n`\n","export const seoFragment = /* GraphQL */ `\n fragment seo on SEO {\n description\n title\n }\n`\n","export const metafieldFragment = /* GraphQL */ `\n fragment metafield on Metafield {\n value\n type\n description\n namespace\n key\n }\n`\n\nexport const metafieldFragmentStr = `\n value\n type\n description\n namespace\n key\n`\n","export const variantFragment = /* GraphQL */ `\n fragment variant on ProductVariant {\n id\n sku\n title\n requiresShipping\n quantityAvailable\n currentlyNotInStock\n availableForSale\n barcode\n weight\n selectedOptions {\n name\n value\n }\n image {\n ...image\n }\n price {\n amount\n currencyCode\n }\n compareAtPrice {\n amount\n currencyCode\n }\n metafields(identifiers: $variantMetafieldIdentifiers) {\n ...metafield\n }\n sellingPlanAllocations(first: 10) {\n edges {\n node {\n sellingPlan {\n id\n name\n options {\n name\n value\n }\n }\n priceAdjustments {\n compareAtPrice {\n amount\n currencyCode\n }\n perDeliveryPrice {\n amount\n currencyCode\n }\n price {\n amount\n currencyCode\n }\n }\n }\n }\n }\n }\n`\n","/**\n * Product GraphQL Fragment\n */\nexport const productFragment = /* GraphQL */ `\n fragment product on Product {\n id\n handle\n availableForSale\n title\n description\n descriptionHtml\n options {\n id\n name\n values\n }\n productType\n vendor\n priceRange {\n maxVariantPrice {\n amount\n currencyCode\n }\n minVariantPrice {\n amount\n currencyCode\n }\n }\n compareAtPriceRange {\n minVariantPrice {\n amount\n currencyCode\n }\n }\n featuredImage {\n ...image\n }\n images(first: 250) {\n edges {\n node {\n ...image\n }\n }\n }\n metafields(identifiers: $productMetafieldIdentifiers) {\n ...metafield\n }\n media(first: 250) {\n edges {\n node {\n id\n mediaContentType\n ... on Video {\n id\n sources {\n format\n height\n mimeType\n url\n width\n }\n }\n ... on MediaImage {\n id\n image {\n altText\n url\n }\n }\n }\n }\n }\n seo {\n ...seo\n }\n tags\n createdAt\n updatedAt\n publishedAt\n requiresSellingPlan\n sellingPlanGroups(first: 250) {\n edges {\n node {\n name\n sellingPlans(first: 250) {\n edges {\n node {\n id\n name\n priceAdjustments {\n adjustmentValue {\n ... on SellingPlanFixedAmountPriceAdjustment {\n __typename\n adjustmentAmount {\n amount\n currencyCode\n }\n }\n ... on SellingPlanFixedPriceAdjustment {\n __typename\n price {\n amount\n currencyCode\n }\n }\n ... on SellingPlanPercentagePriceAdjustment {\n __typename\n adjustmentPercentage\n }\n }\n }\n options {\n name\n value\n }\n }\n }\n }\n }\n }\n }\n }\n`\n","import { imageFragment } from './image'\nimport { metafieldFragment } from './metafield'\nimport { productFragment } from './product'\nimport { seoFragment } from './seo'\n\nexport const cartFragment = /* GraphQL */ `\n fragment cart on Cart {\n id\n totalQuantity\n updatedAt\n createdAt\n checkoutUrl\n note\n attributes {\n key\n value\n }\n cost {\n checkoutChargeAmount {\n amount\n currencyCode\n }\n subtotalAmount {\n amount\n currencyCode\n }\n totalAmount {\n amount\n currencyCode\n }\n totalTaxAmount {\n amount\n currencyCode\n }\n totalDutyAmount {\n amount\n currencyCode\n }\n totalAmountEstimated\n totalTaxAmountEstimated\n totalDutyAmountEstimated\n subtotalAmountEstimated\n }\n buyerIdentity {\n email\n phone\n countryCode\n customer {\n email\n id\n }\n deliveryAddressPreferences {\n ... on MailingAddress {\n address1\n address2\n city\n province\n country\n zip\n firstName\n lastName\n }\n }\n }\n discountCodes {\n applicable\n code\n }\n discountAllocations {\n ... on CartCodeDiscountAllocation {\n code\n discountedAmount {\n amount\n currencyCode\n }\n }\n ... on CartAutomaticDiscountAllocation {\n title\n discountedAmount {\n amount\n currencyCode\n }\n }\n ... on CartCustomDiscountAllocation {\n title\n discountedAmount {\n amount\n currencyCode\n }\n }\n }\n deliveryGroups(first: 10) {\n nodes {\n ... on CartDeliveryGroup {\n id\n deliveryOptions {\n ... on CartDeliveryOption {\n code\n description\n deliveryMethodType\n handle\n title\n estimatedCost {\n amount\n currencyCode\n }\n }\n }\n deliveryAddress {\n ... on MailingAddress {\n address1\n address2\n city\n country\n zip\n }\n }\n selectedDeliveryOption {\n ... on CartDeliveryOption {\n code\n description\n deliveryMethodType\n handle\n title\n estimatedCost {\n amount\n currencyCode\n }\n }\n }\n }\n }\n }\n lines(first: 100) {\n edges {\n node {\n id\n quantity\n discountAllocations {\n ... on CartCodeDiscountAllocation {\n code\n discountedAmount {\n amount\n currencyCode\n }\n }\n ... on CartAutomaticDiscountAllocation {\n title\n discountedAmount {\n amount\n currencyCode\n }\n }\n ... on CartCustomDiscountAllocation {\n title\n discountedAmount {\n amount\n currencyCode\n }\n }\n }\n attributes {\n key\n value\n }\n cost {\n amountPerQuantity {\n amount\n currencyCode\n }\n compareAtAmountPerQuantity {\n amount\n currencyCode\n }\n subtotalAmount {\n amount\n currencyCode\n }\n totalAmount {\n amount\n currencyCode\n }\n }\n merchandise {\n ... on ProductVariant {\n id\n sku\n title\n quantityAvailable\n currentlyNotInStock\n availableForSale\n barcode\n weight\n selectedOptions {\n name\n value\n }\n image {\n ...image\n }\n price {\n amount\n currencyCode\n }\n compareAtPrice {\n amount\n currencyCode\n }\n metafields(identifiers: $variantMetafieldIdentifiers) {\n ...metafield\n }\n product {\n ...product\n }\n }\n }\n }\n }\n }\n totalQuantity\n }\n ${productFragment}\n ${imageFragment}\n ${seoFragment}\n ${metafieldFragment}\n`\n","/**\n * Collection GraphQL Fragment\n */\n\nimport { imageFragment } from './image'\nimport { seoFragment } from './seo'\n\nexport const collectionFragment = /* GraphQL */ `\n fragment collection on Collection {\n id\n handle\n title\n description\n descriptionHtml\n image {\n ...image\n }\n seo {\n ...seo\n }\n updatedAt\n }\n`\n","export const pageInfoFragment = /* GraphQL */ `\n fragment pageInfo on PageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n`\n","/**\n * Blog GraphQL Fragments\n */\n\nimport { imageFragment } from './image'\nimport { seoFragment } from './seo'\nimport { metafieldFragment } from './metafield'\n\nexport const articleFragment = /* GraphQL */ `\n fragment article on Article {\n id\n handle\n title\n content\n contentHtml\n excerpt\n excerptHtml\n publishedAt\n image {\n ...image\n }\n seo {\n ...seo\n }\n tags\n author {\n name\n }\n }\n ${imageFragment}\n ${seoFragment}\n`\n\nexport const articleWithMetafieldsFragment = /* GraphQL */ `\n fragment articleWithMetafields on Article {\n id\n handle\n title\n content\n contentHtml\n excerpt\n excerptHtml\n publishedAt\n image {\n ...image\n }\n seo {\n ...seo\n }\n tags\n author {\n name\n }\n metafields(identifiers: $articleMetafieldIdentifiers) {\n ...metafield\n }\n }\n ${imageFragment}\n ${seoFragment}\n ${metafieldFragment}\n`\n\nexport const blogFragment = /* GraphQL */ `\n fragment blog on Blog {\n id\n handle\n title\n seo {\n ...seo\n }\n }\n ${seoFragment}\n`\n\nexport const blogWithMetafieldsFragment = /* GraphQL */ `\n fragment blogWithMetafields on Blog {\n id\n handle\n title\n seo {\n ...seo\n }\n metafields(identifiers: $blogMetafieldIdentifiers) {\n ...metafield\n }\n }\n ${seoFragment}\n ${metafieldFragment}\n`\n","/**\n * Page GraphQL Fragments\n */\n\nimport { seoFragment } from './seo'\nimport { metafieldFragment } from './metafield'\n\nexport const pageFragment = /* GraphQL */ `\n fragment page on Page {\n id\n handle\n title\n body\n bodySummary\n createdAt\n updatedAt\n seo {\n ...seo\n }\n }\n ${seoFragment}\n`\n\nexport const pageWithMetafieldsFragment = /* GraphQL */ `\n fragment pageWithMetafields on Page {\n id\n handle\n title\n body\n bodySummary\n createdAt\n updatedAt\n seo {\n ...seo\n }\n metafields(identifiers: $pageMetafieldIdentifiers) {\n ...metafield\n }\n }\n ${seoFragment}\n ${metafieldFragment}\n`\n","/**\n * Shop GraphQL Fragments\n */\n\nimport { metafieldFragment } from './metafield'\n\nexport const shopFragment = /* GraphQL */ `\n fragment shop on Shop {\n name\n description\n primaryDomain {\n url\n host\n }\n brand {\n logo {\n image {\n url\n }\n }\n colors {\n primary {\n background\n }\n secondary {\n background\n }\n }\n }\n }\n`\n\nexport const shopWithMetafieldsFragment = /* GraphQL */ `\n fragment shopWithMetafields on Shop {\n name\n description\n primaryDomain {\n url\n host\n }\n brand {\n logo {\n image {\n url\n }\n }\n colors {\n primary {\n background\n }\n secondary {\n background\n }\n }\n }\n metafields(identifiers: $shopMetafieldIdentifiers) {\n ...metafield\n }\n }\n ${metafieldFragment}\n`\n"]}
@@ -584,6 +584,110 @@ var blogWithMetafieldsFragment = (
584
584
  `
585
585
  );
586
586
 
587
- export { articleFragment, articleWithMetafieldsFragment, blogFragment, blogWithMetafieldsFragment, cartFragment, collectionFragment, imageFragment, metafieldFragment, metafieldFragmentStr, pageInfoFragment, productFragment, seoFragment, variantFragment };
587
+ // src/fragments/page.ts
588
+ var pageFragment = (
589
+ /* GraphQL */
590
+ `
591
+ fragment page on Page {
592
+ id
593
+ handle
594
+ title
595
+ body
596
+ bodySummary
597
+ createdAt
598
+ updatedAt
599
+ seo {
600
+ ...seo
601
+ }
602
+ }
603
+ ${seoFragment}
604
+ `
605
+ );
606
+ var pageWithMetafieldsFragment = (
607
+ /* GraphQL */
608
+ `
609
+ fragment pageWithMetafields on Page {
610
+ id
611
+ handle
612
+ title
613
+ body
614
+ bodySummary
615
+ createdAt
616
+ updatedAt
617
+ seo {
618
+ ...seo
619
+ }
620
+ metafields(identifiers: $pageMetafieldIdentifiers) {
621
+ ...metafield
622
+ }
623
+ }
624
+ ${seoFragment}
625
+ ${metafieldFragment}
626
+ `
627
+ );
628
+
629
+ // src/fragments/shop.ts
630
+ var shopFragment = (
631
+ /* GraphQL */
632
+ `
633
+ fragment shop on Shop {
634
+ name
635
+ description
636
+ primaryDomain {
637
+ url
638
+ host
639
+ }
640
+ brand {
641
+ logo {
642
+ image {
643
+ url
644
+ }
645
+ }
646
+ colors {
647
+ primary {
648
+ background
649
+ }
650
+ secondary {
651
+ background
652
+ }
653
+ }
654
+ }
655
+ }
656
+ `
657
+ );
658
+ var shopWithMetafieldsFragment = (
659
+ /* GraphQL */
660
+ `
661
+ fragment shopWithMetafields on Shop {
662
+ name
663
+ description
664
+ primaryDomain {
665
+ url
666
+ host
667
+ }
668
+ brand {
669
+ logo {
670
+ image {
671
+ url
672
+ }
673
+ }
674
+ colors {
675
+ primary {
676
+ background
677
+ }
678
+ secondary {
679
+ background
680
+ }
681
+ }
682
+ }
683
+ metafields(identifiers: $shopMetafieldIdentifiers) {
684
+ ...metafield
685
+ }
686
+ }
687
+ ${metafieldFragment}
688
+ `
689
+ );
690
+
691
+ export { articleFragment, articleWithMetafieldsFragment, blogFragment, blogWithMetafieldsFragment, cartFragment, collectionFragment, imageFragment, metafieldFragment, metafieldFragmentStr, pageFragment, pageInfoFragment, pageWithMetafieldsFragment, productFragment, seoFragment, shopFragment, shopWithMetafieldsFragment, variantFragment };
588
692
  //# sourceMappingURL=index.mjs.map
589
693
  //# sourceMappingURL=index.mjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/fragments/image.ts","../../src/fragments/seo.ts","../../src/fragments/metafield.ts","../../src/fragments/variant.ts","../../src/fragments/product.ts","../../src/fragments/cart.ts","../../src/fragments/collection.ts","../../src/fragments/page-info.ts","../../src/fragments/blog.ts"],"names":[],"mappings":";AAAO,IAAM,aAAA;AAAA;AAAA,EAA8B;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACApC,IAAM,WAAA;AAAA;AAAA,EAA4B;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAlC,IAAM,iBAAA;AAAA;AAAA,EAAkC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAUxC,IAAM,oBAAA,GAAuB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACV7B,IAAM,eAAA;AAAA;AAAA,EAAgC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACGtC,IAAM,eAAA;AAAA;AAAA,EAAgC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAA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AA;AAAA,EAAA,EAqBzC,aAAa;AAAA,EAAA,EACb,WAAW;AAAA;AAAA;AAGR,IAAM,6BAAA;AAAA;AAAA,EAA8C;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAAA,EAwBvD,aAAa;AAAA,EAAA,EACb,WAAW;AAAA,EAAA,EACX,iBAAiB;AAAA;AAAA;AAGd,IAAM,YAAA;AAAA;AAAA,EAA6B;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAAA,EAStC,WAAW;AAAA;AAAA;AAGR,IAAM,0BAAA;AAAA;AAAA,EAA2C;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAAA,EAYpD,WAAW;AAAA,EAAA,EACX,iBAAiB;AAAA;AAAA","file":"index.mjs","sourcesContent":["export const imageFragment = /* GraphQL */ `\n fragment image on Image {\n url\n altText\n width\n height\n }\n`\n","export const seoFragment = /* GraphQL */ `\n fragment seo on SEO {\n description\n title\n }\n`\n","export const metafieldFragment = /* GraphQL */ `\n fragment metafield on Metafield {\n value\n type\n description\n namespace\n key\n }\n`\n\nexport const metafieldFragmentStr = `\n value\n type\n description\n namespace\n key\n`\n","export const variantFragment = /* GraphQL */ `\n fragment variant on ProductVariant {\n id\n sku\n title\n requiresShipping\n quantityAvailable\n currentlyNotInStock\n availableForSale\n barcode\n weight\n selectedOptions {\n name\n value\n }\n image {\n ...image\n }\n price {\n amount\n currencyCode\n }\n compareAtPrice {\n amount\n currencyCode\n }\n metafields(identifiers: $variantMetafieldIdentifiers) {\n ...metafield\n }\n sellingPlanAllocations(first: 10) {\n edges {\n node {\n sellingPlan {\n id\n name\n options {\n name\n value\n }\n }\n priceAdjustments {\n compareAtPrice {\n amount\n currencyCode\n }\n perDeliveryPrice {\n amount\n currencyCode\n }\n price {\n amount\n currencyCode\n }\n }\n }\n }\n }\n }\n`\n","/**\n * Product GraphQL Fragment\n */\nexport const productFragment = /* GraphQL */ `\n fragment product on Product {\n id\n handle\n availableForSale\n title\n description\n descriptionHtml\n options {\n id\n name\n values\n }\n productType\n vendor\n priceRange {\n maxVariantPrice {\n amount\n currencyCode\n }\n minVariantPrice {\n amount\n currencyCode\n }\n }\n compareAtPriceRange {\n minVariantPrice {\n amount\n currencyCode\n }\n }\n featuredImage {\n ...image\n }\n images(first: 250) {\n edges {\n node {\n ...image\n }\n }\n }\n metafields(identifiers: $productMetafieldIdentifiers) {\n ...metafield\n }\n media(first: 250) {\n edges {\n node {\n id\n mediaContentType\n ... on Video {\n id\n sources {\n format\n height\n mimeType\n url\n width\n }\n }\n ... on MediaImage {\n id\n image {\n altText\n url\n }\n }\n }\n }\n }\n seo {\n ...seo\n }\n tags\n createdAt\n updatedAt\n publishedAt\n requiresSellingPlan\n sellingPlanGroups(first: 250) {\n edges {\n node {\n name\n sellingPlans(first: 250) {\n edges {\n node {\n id\n name\n priceAdjustments {\n adjustmentValue {\n ... on SellingPlanFixedAmountPriceAdjustment {\n __typename\n adjustmentAmount {\n amount\n currencyCode\n }\n }\n ... on SellingPlanFixedPriceAdjustment {\n __typename\n price {\n amount\n currencyCode\n }\n }\n ... on SellingPlanPercentagePriceAdjustment {\n __typename\n adjustmentPercentage\n }\n }\n }\n options {\n name\n value\n }\n }\n }\n }\n }\n }\n }\n }\n`\n","import { imageFragment } from './image'\nimport { metafieldFragment } from './metafield'\nimport { productFragment } from './product'\nimport { seoFragment } from './seo'\n\nexport const cartFragment = /* GraphQL */ `\n fragment cart on Cart {\n id\n totalQuantity\n updatedAt\n createdAt\n checkoutUrl\n note\n attributes {\n key\n value\n }\n cost {\n checkoutChargeAmount {\n amount\n currencyCode\n }\n subtotalAmount {\n amount\n currencyCode\n }\n totalAmount {\n amount\n currencyCode\n }\n totalTaxAmount {\n amount\n currencyCode\n }\n totalDutyAmount {\n amount\n currencyCode\n }\n totalAmountEstimated\n totalTaxAmountEstimated\n totalDutyAmountEstimated\n subtotalAmountEstimated\n }\n buyerIdentity {\n email\n phone\n countryCode\n customer {\n email\n id\n }\n deliveryAddressPreferences {\n ... on MailingAddress {\n address1\n address2\n city\n province\n country\n zip\n firstName\n lastName\n }\n }\n }\n discountCodes {\n applicable\n code\n }\n discountAllocations {\n ... on CartCodeDiscountAllocation {\n code\n discountedAmount {\n amount\n currencyCode\n }\n }\n ... on CartAutomaticDiscountAllocation {\n title\n discountedAmount {\n amount\n currencyCode\n }\n }\n ... on CartCustomDiscountAllocation {\n title\n discountedAmount {\n amount\n currencyCode\n }\n }\n }\n deliveryGroups(first: 10) {\n nodes {\n ... on CartDeliveryGroup {\n id\n deliveryOptions {\n ... on CartDeliveryOption {\n code\n description\n deliveryMethodType\n handle\n title\n estimatedCost {\n amount\n currencyCode\n }\n }\n }\n deliveryAddress {\n ... on MailingAddress {\n address1\n address2\n city\n country\n zip\n }\n }\n selectedDeliveryOption {\n ... on CartDeliveryOption {\n code\n description\n deliveryMethodType\n handle\n title\n estimatedCost {\n amount\n currencyCode\n }\n }\n }\n }\n }\n }\n lines(first: 100) {\n edges {\n node {\n id\n quantity\n discountAllocations {\n ... on CartCodeDiscountAllocation {\n code\n discountedAmount {\n amount\n currencyCode\n }\n }\n ... on CartAutomaticDiscountAllocation {\n title\n discountedAmount {\n amount\n currencyCode\n }\n }\n ... on CartCustomDiscountAllocation {\n title\n discountedAmount {\n amount\n currencyCode\n }\n }\n }\n attributes {\n key\n value\n }\n cost {\n amountPerQuantity {\n amount\n currencyCode\n }\n compareAtAmountPerQuantity {\n amount\n currencyCode\n }\n subtotalAmount {\n amount\n currencyCode\n }\n totalAmount {\n amount\n currencyCode\n }\n }\n merchandise {\n ... on ProductVariant {\n id\n sku\n title\n quantityAvailable\n currentlyNotInStock\n availableForSale\n barcode\n weight\n selectedOptions {\n name\n value\n }\n image {\n ...image\n }\n price {\n amount\n currencyCode\n }\n compareAtPrice {\n amount\n currencyCode\n }\n metafields(identifiers: $variantMetafieldIdentifiers) {\n ...metafield\n }\n product {\n ...product\n }\n }\n }\n }\n }\n }\n totalQuantity\n }\n ${productFragment}\n ${imageFragment}\n ${seoFragment}\n ${metafieldFragment}\n`\n","/**\n * Collection GraphQL Fragment\n */\n\nimport { imageFragment } from './image'\nimport { seoFragment } from './seo'\n\nexport const collectionFragment = /* GraphQL */ `\n fragment collection on Collection {\n id\n handle\n title\n description\n descriptionHtml\n image {\n ...image\n }\n seo {\n ...seo\n }\n updatedAt\n }\n`\n","export const pageInfoFragment = /* GraphQL */ `\n fragment pageInfo on PageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n`\n","/**\n * Blog GraphQL Fragments\n */\n\nimport { imageFragment } from './image'\nimport { seoFragment } from './seo'\nimport { metafieldFragment } from './metafield'\n\nexport const articleFragment = /* GraphQL */ `\n fragment article on Article {\n id\n handle\n title\n content\n contentHtml\n excerpt\n excerptHtml\n publishedAt\n image {\n ...image\n }\n seo {\n ...seo\n }\n tags\n author {\n name\n }\n }\n ${imageFragment}\n ${seoFragment}\n`\n\nexport const articleWithMetafieldsFragment = /* GraphQL */ `\n fragment articleWithMetafields on Article {\n id\n handle\n title\n content\n contentHtml\n excerpt\n excerptHtml\n publishedAt\n image {\n ...image\n }\n seo {\n ...seo\n }\n tags\n author {\n name\n }\n metafields(identifiers: $articleMetafieldIdentifiers) {\n ...metafield\n }\n }\n ${imageFragment}\n ${seoFragment}\n ${metafieldFragment}\n`\n\nexport const blogFragment = /* GraphQL */ `\n fragment blog on Blog {\n id\n handle\n title\n seo {\n ...seo\n }\n }\n ${seoFragment}\n`\n\nexport const blogWithMetafieldsFragment = /* GraphQL */ `\n fragment blogWithMetafields on Blog {\n id\n handle\n title\n seo {\n ...seo\n }\n metafields(identifiers: $blogMetafieldIdentifiers) {\n ...metafield\n }\n }\n ${seoFragment}\n ${metafieldFragment}\n`\n"]}
1
+ {"version":3,"sources":["../../src/fragments/image.ts","../../src/fragments/seo.ts","../../src/fragments/metafield.ts","../../src/fragments/variant.ts","../../src/fragments/product.ts","../../src/fragments/cart.ts","../../src/fragments/collection.ts","../../src/fragments/page-info.ts","../../src/fragments/blog.ts","../../src/fragments/page.ts","../../src/fragments/shop.ts"],"names":[],"mappings":";AAAO,IAAM,aAAA;AAAA;AAAA,EAA8B;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACApC,IAAM,WAAA;AAAA;AAAA,EAA4B;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAlC,IAAM,iBAAA;AAAA;AAAA,EAAkC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAUxC,IAAM,oBAAA,GAAuB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACV7B,IAAM,eAAA;AAAA;AAAA,EAAgC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACGtC,IAAM,eAAA;AAAA;AAAA,EAAgC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAA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esContent":["export const imageFragment = /* GraphQL */ `\n fragment image on Image {\n url\n altText\n width\n height\n }\n`\n","export const seoFragment = /* GraphQL */ `\n fragment seo on SEO {\n description\n title\n }\n`\n","export const metafieldFragment = /* GraphQL */ `\n fragment metafield on Metafield {\n value\n type\n description\n namespace\n key\n }\n`\n\nexport const metafieldFragmentStr = `\n value\n type\n description\n namespace\n key\n`\n","export const variantFragment = /* GraphQL */ `\n fragment variant on ProductVariant {\n id\n sku\n title\n requiresShipping\n quantityAvailable\n currentlyNotInStock\n availableForSale\n barcode\n weight\n selectedOptions {\n name\n value\n }\n image {\n ...image\n }\n price {\n amount\n currencyCode\n }\n compareAtPrice {\n amount\n currencyCode\n }\n metafields(identifiers: $variantMetafieldIdentifiers) {\n ...metafield\n }\n sellingPlanAllocations(first: 10) {\n edges {\n node {\n sellingPlan {\n id\n name\n options {\n name\n value\n }\n }\n priceAdjustments {\n compareAtPrice {\n amount\n currencyCode\n }\n perDeliveryPrice {\n amount\n currencyCode\n }\n price {\n amount\n currencyCode\n }\n }\n }\n }\n }\n }\n`\n","/**\n * Product GraphQL Fragment\n */\nexport const productFragment = /* GraphQL */ `\n fragment product on Product {\n id\n handle\n availableForSale\n title\n description\n descriptionHtml\n options {\n id\n name\n values\n }\n productType\n vendor\n priceRange {\n maxVariantPrice {\n amount\n currencyCode\n }\n minVariantPrice {\n amount\n currencyCode\n }\n }\n compareAtPriceRange {\n minVariantPrice {\n amount\n currencyCode\n }\n }\n featuredImage {\n ...image\n }\n images(first: 250) {\n edges {\n node {\n ...image\n }\n }\n }\n metafields(identifiers: $productMetafieldIdentifiers) {\n ...metafield\n }\n media(first: 250) {\n edges {\n node {\n id\n mediaContentType\n ... on Video {\n id\n sources {\n format\n height\n mimeType\n url\n width\n }\n }\n ... on MediaImage {\n id\n image {\n altText\n url\n }\n }\n }\n }\n }\n seo {\n ...seo\n }\n tags\n createdAt\n updatedAt\n publishedAt\n requiresSellingPlan\n sellingPlanGroups(first: 250) {\n edges {\n node {\n name\n sellingPlans(first: 250) {\n edges {\n node {\n id\n name\n priceAdjustments {\n adjustmentValue {\n ... on SellingPlanFixedAmountPriceAdjustment {\n __typename\n adjustmentAmount {\n amount\n currencyCode\n }\n }\n ... on SellingPlanFixedPriceAdjustment {\n __typename\n price {\n amount\n currencyCode\n }\n }\n ... on SellingPlanPercentagePriceAdjustment {\n __typename\n adjustmentPercentage\n }\n }\n }\n options {\n name\n value\n }\n }\n }\n }\n }\n }\n }\n }\n`\n","import { imageFragment } from './image'\nimport { metafieldFragment } from './metafield'\nimport { productFragment } from './product'\nimport { seoFragment } from './seo'\n\nexport const cartFragment = /* GraphQL */ `\n fragment cart on Cart {\n id\n totalQuantity\n updatedAt\n createdAt\n checkoutUrl\n note\n attributes {\n key\n value\n }\n cost {\n checkoutChargeAmount {\n amount\n currencyCode\n }\n subtotalAmount {\n amount\n currencyCode\n }\n totalAmount {\n amount\n currencyCode\n }\n totalTaxAmount {\n amount\n currencyCode\n }\n totalDutyAmount {\n amount\n currencyCode\n }\n totalAmountEstimated\n totalTaxAmountEstimated\n totalDutyAmountEstimated\n subtotalAmountEstimated\n }\n buyerIdentity {\n email\n phone\n countryCode\n customer {\n email\n id\n }\n deliveryAddressPreferences {\n ... on MailingAddress {\n address1\n address2\n city\n province\n country\n zip\n firstName\n lastName\n }\n }\n }\n discountCodes {\n applicable\n code\n }\n discountAllocations {\n ... on CartCodeDiscountAllocation {\n code\n discountedAmount {\n amount\n currencyCode\n }\n }\n ... on CartAutomaticDiscountAllocation {\n title\n discountedAmount {\n amount\n currencyCode\n }\n }\n ... on CartCustomDiscountAllocation {\n title\n discountedAmount {\n amount\n currencyCode\n }\n }\n }\n deliveryGroups(first: 10) {\n nodes {\n ... on CartDeliveryGroup {\n id\n deliveryOptions {\n ... on CartDeliveryOption {\n code\n description\n deliveryMethodType\n handle\n title\n estimatedCost {\n amount\n currencyCode\n }\n }\n }\n deliveryAddress {\n ... on MailingAddress {\n address1\n address2\n city\n country\n zip\n }\n }\n selectedDeliveryOption {\n ... on CartDeliveryOption {\n code\n description\n deliveryMethodType\n handle\n title\n estimatedCost {\n amount\n currencyCode\n }\n }\n }\n }\n }\n }\n lines(first: 100) {\n edges {\n node {\n id\n quantity\n discountAllocations {\n ... on CartCodeDiscountAllocation {\n code\n discountedAmount {\n amount\n currencyCode\n }\n }\n ... on CartAutomaticDiscountAllocation {\n title\n discountedAmount {\n amount\n currencyCode\n }\n }\n ... on CartCustomDiscountAllocation {\n title\n discountedAmount {\n amount\n currencyCode\n }\n }\n }\n attributes {\n key\n value\n }\n cost {\n amountPerQuantity {\n amount\n currencyCode\n }\n compareAtAmountPerQuantity {\n amount\n currencyCode\n }\n subtotalAmount {\n amount\n currencyCode\n }\n totalAmount {\n amount\n currencyCode\n }\n }\n merchandise {\n ... on ProductVariant {\n id\n sku\n title\n quantityAvailable\n currentlyNotInStock\n availableForSale\n barcode\n weight\n selectedOptions {\n name\n value\n }\n image {\n ...image\n }\n price {\n amount\n currencyCode\n }\n compareAtPrice {\n amount\n currencyCode\n }\n metafields(identifiers: $variantMetafieldIdentifiers) {\n ...metafield\n }\n product {\n ...product\n }\n }\n }\n }\n }\n }\n totalQuantity\n }\n ${productFragment}\n ${imageFragment}\n ${seoFragment}\n ${metafieldFragment}\n`\n","/**\n * Collection GraphQL Fragment\n */\n\nimport { imageFragment } from './image'\nimport { seoFragment } from './seo'\n\nexport const collectionFragment = /* GraphQL */ `\n fragment collection on Collection {\n id\n handle\n title\n description\n descriptionHtml\n image {\n ...image\n }\n seo {\n ...seo\n }\n updatedAt\n }\n`\n","export const pageInfoFragment = /* GraphQL */ `\n fragment pageInfo on PageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n`\n","/**\n * Blog GraphQL Fragments\n */\n\nimport { imageFragment } from './image'\nimport { seoFragment } from './seo'\nimport { metafieldFragment } from './metafield'\n\nexport const articleFragment = /* GraphQL */ `\n fragment article on Article {\n id\n handle\n title\n content\n contentHtml\n excerpt\n excerptHtml\n publishedAt\n image {\n ...image\n }\n seo {\n ...seo\n }\n tags\n author {\n name\n }\n }\n ${imageFragment}\n ${seoFragment}\n`\n\nexport const articleWithMetafieldsFragment = /* GraphQL */ `\n fragment articleWithMetafields on Article {\n id\n handle\n title\n content\n contentHtml\n excerpt\n excerptHtml\n publishedAt\n image {\n ...image\n }\n seo {\n ...seo\n }\n tags\n author {\n name\n }\n metafields(identifiers: $articleMetafieldIdentifiers) {\n ...metafield\n }\n }\n ${imageFragment}\n ${seoFragment}\n ${metafieldFragment}\n`\n\nexport const blogFragment = /* GraphQL */ `\n fragment blog on Blog {\n id\n handle\n title\n seo {\n ...seo\n }\n }\n ${seoFragment}\n`\n\nexport const blogWithMetafieldsFragment = /* GraphQL */ `\n fragment blogWithMetafields on Blog {\n id\n handle\n title\n seo {\n ...seo\n }\n metafields(identifiers: $blogMetafieldIdentifiers) {\n ...metafield\n }\n }\n ${seoFragment}\n ${metafieldFragment}\n`\n","/**\n * Page GraphQL Fragments\n */\n\nimport { seoFragment } from './seo'\nimport { metafieldFragment } from './metafield'\n\nexport const pageFragment = /* GraphQL */ `\n fragment page on Page {\n id\n handle\n title\n body\n bodySummary\n createdAt\n updatedAt\n seo {\n ...seo\n }\n }\n ${seoFragment}\n`\n\nexport const pageWithMetafieldsFragment = /* GraphQL */ `\n fragment pageWithMetafields on Page {\n id\n handle\n title\n body\n bodySummary\n createdAt\n updatedAt\n seo {\n ...seo\n }\n metafields(identifiers: $pageMetafieldIdentifiers) {\n ...metafield\n }\n }\n ${seoFragment}\n ${metafieldFragment}\n`\n","/**\n * Shop GraphQL Fragments\n */\n\nimport { metafieldFragment } from './metafield'\n\nexport const shopFragment = /* GraphQL */ `\n fragment shop on Shop {\n name\n description\n primaryDomain {\n url\n host\n }\n brand {\n logo {\n image {\n url\n }\n }\n colors {\n primary {\n background\n }\n secondary {\n background\n }\n }\n }\n }\n`\n\nexport const shopWithMetafieldsFragment = /* GraphQL */ `\n fragment shopWithMetafields on Shop {\n name\n description\n primaryDomain {\n url\n host\n }\n brand {\n logo {\n image {\n url\n }\n }\n colors {\n primary {\n background\n }\n secondary {\n background\n }\n }\n }\n metafields(identifiers: $shopMetafieldIdentifiers) {\n ...metafield\n }\n }\n ${metafieldFragment}\n`\n"]}
package/dist/index.d.mts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { ShopifyClient } from './client/index.mjs';
2
2
  export { FetchOptions, GraphQLError, GraphQLRequest, GraphQLResponse, createShopifyClient } from './client/index.mjs';
3
- export { articleFragment, articleWithMetafieldsFragment, blogFragment, blogWithMetafieldsFragment, cartFragment, collectionFragment, imageFragment, metafieldFragment, metafieldFragmentStr, pageInfoFragment, productFragment, seoFragment, variantFragment } from './fragments/index.mjs';
3
+ export { articleFragment, articleWithMetafieldsFragment, blogFragment, blogWithMetafieldsFragment, cartFragment, collectionFragment, imageFragment, metafieldFragment, metafieldFragmentStr, pageFragment, pageInfoFragment, pageWithMetafieldsFragment, productFragment, seoFragment, shopFragment, shopWithMetafieldsFragment, variantFragment } from './fragments/index.mjs';
4
4
  export { getAllProductsPathsQuery, getCartQuery, getCollectionsByHandlesQuery, getProductQuery, getProductsByHandlesQuery, getProductsQuery } from './queries/index.mjs';
5
5
  export { addCartItemsMutation, createCartMutation, removeCartItemsMutation, updateBuyerIdentityMutation, updateCartAttributesMutation, updateCartDeliveryOptionsMutation, updateCartDiscountCodeMutation, updateCartItemsMutation } from './mutations/index.mjs';
6
6
  export * from '@anker-in/shopify-core';
@@ -11029,17 +11029,15 @@ declare function getCollections(client: ShopifyClient, options: GetCollectionsOp
11029
11029
  /**
11030
11030
  * 批量获取 Collections(支持 product 和 variant metafields)
11031
11031
  *
11032
- * @param locale - 语言区域
11033
- * @param handles - Collection handles 数组
11034
- * @param metafieldsIdentifiers - Metafields 标识符(collection/product/variant)
11032
+ * @param client - Shopify GraphQL client
11033
+ * @param options - Get collections by handles options
11035
11034
  * @returns Collections 数组
11036
11035
  *
11037
11036
  * @example
11038
11037
  * ```tsx
11039
- * const collections = await getCollectionsByHandles({
11040
- * locale: 'EN-US',
11038
+ * const collections = await getCollectionsByHandles(client, {
11041
11039
  * handles: ['power-banks', 'chargers'],
11042
- * metafieldsIdentifiers: {
11040
+ * metafieldIdentifiers: {
11043
11041
  * collection: collectionMetafieldIdentifiers,
11044
11042
  * product: productMetafieldIdentifiers,
11045
11043
  * variant: variantMetafieldIdentifiers,
@@ -11047,10 +11045,7 @@ declare function getCollections(client: ShopifyClient, options: GetCollectionsOp
11047
11045
  * })
11048
11046
  * ```
11049
11047
  */
11050
- declare const getCollectionsByHandles: ({ client, options, }: {
11051
- client: ShopifyClient;
11052
- options: GetCollectionsByHandlesOptions;
11053
- }) => Promise<(NormalizedCollection | undefined)[]>;
11048
+ declare function getCollectionsByHandles(client: ShopifyClient, options: GetCollectionsByHandlesOptions): Promise<(NormalizedCollection | undefined)[]>;
11054
11049
 
11055
11050
  /**
11056
11051
  * Blog API Types
@@ -11178,4 +11173,86 @@ declare function getArticles(client: ShopifyClient, options: GetArticlesOptions)
11178
11173
 
11179
11174
  declare function getArticlesInBlog(client: ShopifyClient, options: GetArticlesInBlogOptions): Promise<NormalizedArticle[]>;
11180
11175
 
11181
- export { type AddCartLinesOptions, type AddToCartMutation, type AddToCartMutationVariables, type ApiVersion, type ApplePayWalletContentInput, type ApplePayWalletHeaderInput, type AppliedGiftCard, type Article, type ArticleAuthor, type ArticleCommentsArgs, type ArticleConnection, type ArticleContentArgs, type ArticleEdge, type ArticleExcerptArgs, type ArticleFragment, type ArticleMetafieldArgs, type ArticleMetafieldsArgs, ArticleSortKeys, type ArticleWithMetafieldsFragment, type Attribute, type AttributeInput, type AutomaticDiscountApplication, type BaseCartLine, type BaseCartLineAttributeArgs, type BaseCartLineConnection, type BaseCartLineEdge, type Blog, type BlogArticleByHandleArgs, type BlogArticlesArgs, type BlogConnection, type BlogEdge, type BlogFragment, type BlogMetafieldArgs, type BlogMetafieldsArgs, BlogSortKeys, type BlogWithMetafieldsFragment, type Brand, type BrandColorGroup, type BrandColors, type BuyerIdentityInput, type BuyerInput, CardBrand, type Cart, type CartAPIOptions, type CartAddress, type CartAddressInput, type CartAttributeArgs, type CartAttributesUpdateMutation, type CartAttributesUpdateMutationVariables, type CartAttributesUpdatePayload, type CartAutomaticDiscountAllocation, type CartBillingAddressUpdatePayload, type CartBuyerIdentity, type CartBuyerIdentityInput, type CartBuyerIdentityUpdatePayload, CartCardSource, type CartCodeDiscountAllocation, type CartCompletionAction, type CartCompletionActionRequired, type CartCompletionAttemptResult, type CartCompletionFailed, type CartCompletionProcessing, type CartCompletionSuccess, type CartCookieAdapter, type CartCost, type CartCreatePayload, type CartCustomDiscountAllocation, type CartDelivery, type CartDeliveryAddress, type CartDeliveryAddressFormattedArgs, type CartDeliveryAddressInput, type CartDeliveryAddressesAddPayload, type CartDeliveryAddressesArgs, type CartDeliveryAddressesRemovePayload, type CartDeliveryAddressesUpdatePayload, type CartDeliveryCoordinatesPreference, type CartDeliveryCoordinatesPreferenceInput, type CartDeliveryGroup, type CartDeliveryGroupCartLinesArgs, type CartDeliveryGroupConnection, type CartDeliveryGroupEdge, CartDeliveryGroupType, type CartDeliveryGroupsArgs, type CartDeliveryInput, type CartDeliveryOption, type CartDeliveryPreference, type CartDeliveryPreferenceInput, type CartDirectPaymentMethodInput, type CartDiscountAllocation, type CartDiscountApplication, type CartDiscountCode, type CartDiscountCodesUpdateMutation, type CartDiscountCodesUpdateMutationVariables, type CartDiscountCodesUpdatePayload, CartErrorCode, type CartEstimatedCost, type CartFragment, type CartFreePaymentMethodInput, type CartGiftCardCodesRemovePayload, type CartGiftCardCodesUpdatePayload, type CartInput, type CartInputMetafieldInput, type CartLine, type CartLineAttributeArgs, type CartLineCost, type CartLineEstimatedCost, type CartLineInput, type CartLineUpdateInput, type CartLinesAddPayload, type CartLinesArgs, type CartLinesRemovePayload, type CartLinesUpdatePayload, type CartMetafieldArgs, type CartMetafieldDeleteInput, type CartMetafieldDeletePayload, type CartMetafieldsArgs, type CartMetafieldsSetInput, type CartMetafieldsSetPayload, type CartNoteUpdatePayload, type CartOperationError, type CartOperationResult, type CartPaymentInput, type CartPaymentUpdatePayload, type CartPreferences, type CartPreferencesInput, type CartPrepareForCompletionPayload, type CartPrepareForCompletionResult, type CartSelectableAddress, type CartSelectableAddressInput, type CartSelectableAddressUpdateInput, type CartSelectedDeliveryOptionInput, type CartSelectedDeliveryOptionsUpdatePayload, type CartStatusNotReady, type CartStatusReady, type CartSubmitForCompletionPayload, type CartSubmitForCompletionResult, type CartThrottled, type CartUserError, type CartWalletPaymentMethodInput, type CartWarning, CartWarningCode, type CategoryFilter, type Collection, type CollectionConnection, type CollectionDescriptionArgs, type CollectionEdge, type CollectionFragment, type CollectionMetafieldArgs, type CollectionMetafieldsArgs, type CollectionProductsArgs, CollectionSortKeys, type CollectionsConnection, type Comment, type CommentAuthor, type CommentConnection, type CommentContentArgs, type CommentEdge, type Company, type CompanyContact, type CompanyLocation, type CompanyLocationMetafieldArgs, type CompanyLocationMetafieldsArgs, type CompanyMetafieldArgs, type CompanyMetafieldsArgs, type CompletePaymentChallenge, type CompletionError, CompletionErrorCode, type ComponentizableCartLine, type ComponentizableCartLineAttributeArgs, type Count, CountPrecision, type Country, CountryCode, type CreateCartMutation, type CreateCartMutationVariables, type CreateCartOptions, CropRegion, type Currency, CurrencyCode, type Customer, type CustomerAccessToken, type CustomerAccessTokenCreateInput, type CustomerAccessTokenCreatePayload, type CustomerAccessTokenCreateWithMultipassPayload, type CustomerAccessTokenDeletePayload, type CustomerAccessTokenRenewPayload, type CustomerActivateByUrlPayload, type CustomerActivateInput, type CustomerActivatePayload, type CustomerAddressCreatePayload, type CustomerAddressDeletePayload, type CustomerAddressUpdatePayload, type CustomerAddressesArgs, type CustomerCreateInput, type CustomerCreatePayload, type CustomerDefaultAddressUpdatePayload, CustomerErrorCode, type CustomerMetafieldArgs, type CustomerMetafieldsArgs, type CustomerOrdersArgs, type CustomerRecoverPayload, type CustomerResetByUrlPayload, type CustomerResetInput, type CustomerResetPayload, type CustomerUpdateInput, type CustomerUpdatePayload, type CustomerUserError, type DeliveryAddress, type DeliveryAddressInput, DeliveryAddressValidationStrategy, DeliveryMethodType, DigitalWallet, type DiscountAllocation, type DiscountApplication, DiscountApplicationAllocationMethod, type DiscountApplicationConnection, type DiscountApplicationEdge, DiscountApplicationTargetSelection, DiscountApplicationTargetType, type DiscountCodeApplication, type DisplayableError, type Domain, type EditCartItemsMutation, type EditCartItemsMutationVariables, type Exact, type ExternalVideo, type Filter, FilterPresentation, FilterType, type FilterValue, type Fulfillment, type FulfillmentFulfillmentLineItemsArgs, type FulfillmentLineItem, type FulfillmentLineItemConnection, type FulfillmentLineItemEdge, type FulfillmentTrackingInfo, type FulfillmentTrackingInfoArgs, type GenericFile, type GeoCoordinateInput, type GetAllBlogsOptions, type GetAllProductPathsQuery, type GetAllProductPathsQueryVariables, type GetAllProductsOptions, type GetArticleOptions, type GetArticlesInBlogOptions, type GetArticlesOptions, type GetBlogOptions, type GetCartOptions, type GetCartQuery, type GetCartQueryVariables, type GetCollectionOptions, type GetCollectionsByHandlesOptions, type GetCollectionsOptions, type GetProductByHandleQuery, type GetProductByHandleQueryVariables, type GetProductOptions, type GetProductsByHandlesOptions, type GetProductsQuery, type GetProductsQueryVariables, type HasMetafields, type HasMetafieldsIdentifier, type HasMetafieldsMetafieldArgs, type HasMetafieldsMetafieldsArgs, type Image, type ImageConnection, ImageContentType, type ImageEdge, type ImageFragment, type ImageTransformInput, type ImageTransformedSrcArgs, type ImageUrlArgs, type InContextAnnotation, type InContextAnnotationType, type Incremental, type InputMaybe, type Language, LanguageCode, type Localization, type Location, type LocationAddress, type LocationConnection, type LocationEdge, type LocationMetafieldArgs, type LocationMetafieldsArgs, LocationSortKeys, type MailingAddress, type MailingAddressConnection, type MailingAddressEdge, type MailingAddressFormattedArgs, type MailingAddressInput, type MakeEmpty, type MakeMaybe, type MakeOptional, type ManualDiscountApplication, type Market, type MarketMetafieldArgs, type MarketMetafieldsArgs, type Maybe, type Media, type MediaConnection, MediaContentType, type MediaEdge, MediaHost, type MediaImage, type MediaPresentation, type MediaPresentationAsJsonArgs, MediaPresentationFormat, type Menu, type MenuItem, type MenuItemResource, MenuItemType, type Merchandise, type Metafield, MetafieldDeleteErrorCode, type MetafieldDeleteUserError, type MetafieldFilter, type MetafieldFragment, type MetafieldParentResource, type MetafieldReference, type MetafieldReferenceConnection, type MetafieldReferenceEdge, type MetafieldReferencesArgs, type MetafieldsSetUserError, MetafieldsSetUserErrorCode, type Metaobject, type MetaobjectConnection, type MetaobjectEdge, type MetaobjectField, type MetaobjectFieldArgs, type MetaobjectFieldReferencesArgs, type MetaobjectHandleInput, type MetaobjectSeo, type Model3d, type Model3dSource, type MoneyInput, type MoneyV2, type Mutation, type MutationCartAttributesUpdateArgs, type MutationCartBillingAddressUpdateArgs, type MutationCartBuyerIdentityUpdateArgs, type MutationCartCreateArgs, type MutationCartDeliveryAddressesAddArgs, type MutationCartDeliveryAddressesRemoveArgs, type MutationCartDeliveryAddressesUpdateArgs, type MutationCartDiscountCodesUpdateArgs, type MutationCartGiftCardCodesRemoveArgs, type MutationCartGiftCardCodesUpdateArgs, type MutationCartLinesAddArgs, type MutationCartLinesRemoveArgs, type MutationCartLinesUpdateArgs, type MutationCartMetafieldDeleteArgs, type MutationCartMetafieldsSetArgs, type MutationCartNoteUpdateArgs, type MutationCartPaymentUpdateArgs, type MutationCartPrepareForCompletionArgs, type MutationCartSelectedDeliveryOptionsUpdateArgs, type MutationCartSubmitForCompletionArgs, type MutationCustomerAccessTokenCreateArgs, type MutationCustomerAccessTokenCreateWithMultipassArgs, type MutationCustomerAccessTokenDeleteArgs, type MutationCustomerAccessTokenRenewArgs, type MutationCustomerActivateArgs, type MutationCustomerActivateByUrlArgs, type MutationCustomerAddressCreateArgs, type MutationCustomerAddressDeleteArgs, type MutationCustomerAddressUpdateArgs, type MutationCustomerCreateArgs, type MutationCustomerDefaultAddressUpdateArgs, type MutationCustomerRecoverArgs, type MutationCustomerResetArgs, type MutationCustomerResetByUrlArgs, type MutationCustomerUpdateArgs, type MutationShopPayPaymentRequestSessionCreateArgs, type MutationShopPayPaymentRequestSessionSubmitArgs, type Node, type NormalizedArticle, type NormalizedAttribute, type NormalizedBlog, type NormalizedCart, type NormalizedCollection, type NormalizedLineItem, type NormalizedProduct, type NormalizedProductVariant, type NormalizedProductsConnection, type NormalizedSellingPlanGroup, type OnlineStorePublishable, type Order, OrderCancelReason, type OrderConnection, type OrderDiscountApplicationsArgs, type OrderEdge, OrderFinancialStatus, OrderFulfillmentStatus, type OrderLineItem, type OrderLineItemConnection, type OrderLineItemEdge, type OrderLineItemsArgs, type OrderMetafieldArgs, type OrderMetafieldsArgs, OrderSortKeys, type OrderSuccessfulFulfillmentsArgs, type Page, type PageConnection, type PageEdge, type PageInfo, type PageInfoFragment, type PageMetafieldArgs, type PageMetafieldsArgs, PageSortKeys, type PaginatedSitemapResources, type PaymentSettings, PredictiveSearchLimitScope, type PredictiveSearchResult, PredictiveSearchType, PreferenceDeliveryMethodType, type PriceRangeFilter, type PricingPercentageValue, type PricingValue, type Product, type ProductAdjacentVariantsArgs, ProductCollectionSortKeys, type ProductCollectionsArgs, type ProductConnection, type ProductDescriptionArgs, type ProductEdge, type ProductFilter, type ProductFragment, ProductImageSortKeys, type ProductImagesArgs, type ProductMediaArgs, ProductMediaSortKeys, type ProductMetafieldArgs, type ProductMetafieldsArgs, type ProductOption, type ProductOptionValue, type ProductOptionValueSwatch, type ProductOptionsArgs, type ProductPriceRange, ProductRecommendationIntent, type ProductSelectedOrFirstAvailableVariantArgs, type ProductSellingPlanGroupsArgs, ProductSortKeys, type ProductVariant, type ProductVariantBySelectedOptionsArgs, type ProductVariantComponent, type ProductVariantComponentConnection, type ProductVariantComponentEdge, type ProductVariantComponentsArgs, type ProductVariantConnection, type ProductVariantEdge, type ProductVariantGroupedByArgs, type ProductVariantMetafieldArgs, type ProductVariantMetafieldsArgs, type ProductVariantQuantityPriceBreaksArgs, type ProductVariantSellingPlanAllocationsArgs, ProductVariantSortKeys, type ProductVariantStoreAvailabilityArgs, type ProductVariantsArgs, type PurchasingCompany, type QuantityPriceBreak, type QuantityPriceBreakConnection, type QuantityPriceBreakEdge, type QuantityRule, type QueryRoot, type QueryRootArticleArgs, type QueryRootArticlesArgs, type QueryRootBlogArgs, type QueryRootBlogByHandleArgs, type QueryRootBlogsArgs, type QueryRootCartArgs, type QueryRootCartCompletionAttemptArgs, type QueryRootCollectionArgs, type QueryRootCollectionByHandleArgs, type QueryRootCollectionsArgs, type QueryRootCustomerArgs, type QueryRootLocationsArgs, type QueryRootMenuArgs, type QueryRootMetaobjectArgs, type QueryRootMetaobjectsArgs, type QueryRootNodeArgs, type QueryRootNodesArgs, type QueryRootPageArgs, type QueryRootPageByHandleArgs, type QueryRootPagesArgs, type QueryRootPredictiveSearchArgs, type QueryRootProductArgs, type QueryRootProductByHandleArgs, type QueryRootProductRecommendationsArgs, type QueryRootProductTagsArgs, type QueryRootProductTypesArgs, type QueryRootProductsArgs, type QueryRootSearchArgs, type QueryRootSitemapArgs, type QueryRootUrlRedirectsArgs, type RemoveCartLinesOptions, type RemoveFromCartMutation, type RemoveFromCartMutationVariables, type Scalars, type ScriptDiscountApplication, SearchPrefixQueryType, type SearchQuerySuggestion, type SearchResultItem, type SearchResultItemConnection, type SearchResultItemEdge, SearchSortKeys, SearchType, SearchUnavailableProductsType, SearchableField, type SelectedOption, type SelectedOptionInput, type SellingPlan, type SellingPlanAllocation, type SellingPlanAllocationConnection, type SellingPlanAllocationEdge, type SellingPlanAllocationPriceAdjustment, type SellingPlanBillingPolicy, type SellingPlanCheckoutCharge, type SellingPlanCheckoutChargePercentageValue, SellingPlanCheckoutChargeType, type SellingPlanCheckoutChargeValue, type SellingPlanConnection, type SellingPlanDeliveryPolicy, type SellingPlanEdge, type SellingPlanFixedAmountPriceAdjustment, type SellingPlanFixedPriceAdjustment, type SellingPlanGroup, type SellingPlanGroupConnection, type SellingPlanGroupEdge, type SellingPlanGroupOption, type SellingPlanGroupSellingPlansArgs, SellingPlanInterval, type SellingPlanMetafieldArgs, type SellingPlanMetafieldsArgs, type SellingPlanOption, type SellingPlanPercentagePriceAdjustment, type SellingPlanPriceAdjustment, type SellingPlanPriceAdjustmentValue, type SellingPlanRecurringBillingPolicy, type SellingPlanRecurringDeliveryPolicy, type Seo, type SeoFragment, type Shop, type ShopMetafieldArgs, type ShopMetafieldsArgs, type ShopPayInstallmentsFinancingPlan, ShopPayInstallmentsFinancingPlanFrequency, type ShopPayInstallmentsFinancingPlanTerm, ShopPayInstallmentsLoan, type ShopPayInstallmentsPricing, type ShopPayInstallmentsProductVariantPricing, type ShopPayPaymentRequest, type ShopPayPaymentRequestContactField, type ShopPayPaymentRequestDeliveryMethod, type ShopPayPaymentRequestDeliveryMethodInput, ShopPayPaymentRequestDeliveryMethodType, type ShopPayPaymentRequestDiscount, type ShopPayPaymentRequestDiscountInput, type ShopPayPaymentRequestImage, type ShopPayPaymentRequestImageInput, type ShopPayPaymentRequestInput, type ShopPayPaymentRequestLineItem, type ShopPayPaymentRequestLineItemInput, type ShopPayPaymentRequestReceipt, type ShopPayPaymentRequestSession, type ShopPayPaymentRequestSessionCreatePayload, type ShopPayPaymentRequestSessionSubmitPayload, type ShopPayPaymentRequestShippingLine, type ShopPayPaymentRequestShippingLineInput, type ShopPayPaymentRequestTotalShippingPrice, type ShopPayPaymentRequestTotalShippingPriceInput, type ShopPayWalletContentInput, type ShopPolicy, type ShopPolicyWithDefault, ShopifyClient, type Sitemap, type SitemapImage, type SitemapResource, type SitemapResourceInterface, type SitemapResourceMetaobject, type SitemapResourcesArgs, SitemapType, type StoreAvailability, type StoreAvailabilityConnection, type StoreAvailabilityEdge, type StringConnection, type StringEdge, type SubmissionError, SubmissionErrorCode, type SubmitAlreadyAccepted, type SubmitFailed, type SubmitSuccess, type SubmitThrottled, type Swatch, type TaxonomyCategory, type TaxonomyMetafieldFilter, type Trackable, type UnitPriceMeasurement, UnitPriceMeasurementMeasuredType, UnitPriceMeasurementMeasuredUnit, UnitSystem, type UpdateBuyerIdentityOptions, type UpdateCartAttributesOptions, type UpdateCartCodesOptions, type UpdateCartDeliveryOptions, type UpdateCartDeliveryOptionsMutation, type UpdateCartDeliveryOptionsMutationVariables, type UpdateCartLinesOptions, type UrlRedirect, type UrlRedirectConnection, type UrlRedirectEdge, type UserError, type UserErrorsShopPayPaymentRequestSessionUserErrors, UserErrorsShopPayPaymentRequestSessionUserErrorsCode, type VariantFragment, type VariantOptionFilter, type Video, type VideoSource, WeightUnit, addCartLines, createCart, getAllBlogs, getAllCollections, getAllProducts, getArticle, getArticles, getArticlesInBlog, getBlog, getCart, getCollection, getCollections, getCollectionsByHandles, getProduct, getProducts, getProductsByHandles, normalizeArticle, normalizeBlog, normalizeCart, normalizeCollection, normalizeLineItem, normalizeProduct, removeCartLines, updateBuyerIdentity, updateCartAttributes, updateCartCodes, updateCartDeliveryOptions, updateCartLines };
11176
+ /**
11177
+ * Page API Types
11178
+ */
11179
+
11180
+ interface NormalizedPage {
11181
+ id: string;
11182
+ handle: string;
11183
+ title: string;
11184
+ body?: string;
11185
+ bodySummary?: string;
11186
+ createdAt: string;
11187
+ updatedAt: string;
11188
+ seo?: Seo;
11189
+ metafields?: Record<string, Metafield>;
11190
+ }
11191
+ interface GetPageOptions {
11192
+ handle: string;
11193
+ locale: string;
11194
+ graphqlQuery?: string;
11195
+ metafieldIdentifiers?: Array<{
11196
+ namespace: string;
11197
+ key: string;
11198
+ }>;
11199
+ }
11200
+
11201
+ /**
11202
+ * Get Page API
11203
+ */
11204
+
11205
+ declare function getPage(client: ShopifyClient, options: GetPageOptions): Promise<NormalizedPage | undefined>;
11206
+
11207
+ /**
11208
+ * Page Normalization Functions
11209
+ */
11210
+
11211
+ declare function normalizePage(page: any): NormalizedPage;
11212
+
11213
+ /**
11214
+ * Shop API Types
11215
+ */
11216
+
11217
+ interface NormalizedShop {
11218
+ name: string;
11219
+ description?: string;
11220
+ primaryDomain: {
11221
+ url: string;
11222
+ host: string;
11223
+ };
11224
+ brand?: {
11225
+ logo?: {
11226
+ image?: {
11227
+ url: string;
11228
+ };
11229
+ };
11230
+ colors?: {
11231
+ primary?: string;
11232
+ secondary?: string;
11233
+ };
11234
+ };
11235
+ metafields?: Record<string, Metafield>;
11236
+ }
11237
+ interface GetShopOptions {
11238
+ locale: string;
11239
+ graphqlQuery?: string;
11240
+ metafieldIdentifiers?: Array<{
11241
+ namespace: string;
11242
+ key: string;
11243
+ }>;
11244
+ }
11245
+
11246
+ /**
11247
+ * Get Shop API
11248
+ */
11249
+
11250
+ declare function getShop(client: ShopifyClient, options: GetShopOptions): Promise<NormalizedShop | undefined>;
11251
+
11252
+ /**
11253
+ * Shop Normalization Functions
11254
+ */
11255
+
11256
+ declare function normalizeShop(shop: any): NormalizedShop;
11257
+
11258
+ export { type AddCartLinesOptions, type AddToCartMutation, type AddToCartMutationVariables, type ApiVersion, type ApplePayWalletContentInput, type ApplePayWalletHeaderInput, type AppliedGiftCard, type Article, type ArticleAuthor, type ArticleCommentsArgs, type ArticleConnection, type ArticleContentArgs, type ArticleEdge, type ArticleExcerptArgs, type ArticleFragment, type ArticleMetafieldArgs, type ArticleMetafieldsArgs, ArticleSortKeys, type ArticleWithMetafieldsFragment, type Attribute, type AttributeInput, type AutomaticDiscountApplication, type BaseCartLine, type BaseCartLineAttributeArgs, type BaseCartLineConnection, type BaseCartLineEdge, type Blog, type BlogArticleByHandleArgs, type BlogArticlesArgs, type BlogConnection, type BlogEdge, type BlogFragment, type BlogMetafieldArgs, type BlogMetafieldsArgs, BlogSortKeys, type BlogWithMetafieldsFragment, type Brand, type BrandColorGroup, type BrandColors, type BuyerIdentityInput, type BuyerInput, CardBrand, type Cart, type CartAPIOptions, type CartAddress, type CartAddressInput, type CartAttributeArgs, type CartAttributesUpdateMutation, type CartAttributesUpdateMutationVariables, type CartAttributesUpdatePayload, type CartAutomaticDiscountAllocation, type CartBillingAddressUpdatePayload, type CartBuyerIdentity, type CartBuyerIdentityInput, type CartBuyerIdentityUpdatePayload, CartCardSource, type CartCodeDiscountAllocation, type CartCompletionAction, type CartCompletionActionRequired, type CartCompletionAttemptResult, type CartCompletionFailed, type CartCompletionProcessing, type CartCompletionSuccess, type CartCookieAdapter, type CartCost, type CartCreatePayload, type CartCustomDiscountAllocation, type CartDelivery, type CartDeliveryAddress, type CartDeliveryAddressFormattedArgs, type CartDeliveryAddressInput, type CartDeliveryAddressesAddPayload, type CartDeliveryAddressesArgs, type CartDeliveryAddressesRemovePayload, type CartDeliveryAddressesUpdatePayload, type CartDeliveryCoordinatesPreference, type CartDeliveryCoordinatesPreferenceInput, type CartDeliveryGroup, type CartDeliveryGroupCartLinesArgs, type CartDeliveryGroupConnection, type CartDeliveryGroupEdge, CartDeliveryGroupType, type CartDeliveryGroupsArgs, type CartDeliveryInput, type CartDeliveryOption, type CartDeliveryPreference, type CartDeliveryPreferenceInput, type CartDirectPaymentMethodInput, type CartDiscountAllocation, type CartDiscountApplication, type CartDiscountCode, type CartDiscountCodesUpdateMutation, type CartDiscountCodesUpdateMutationVariables, type CartDiscountCodesUpdatePayload, CartErrorCode, type CartEstimatedCost, type CartFragment, type CartFreePaymentMethodInput, type CartGiftCardCodesRemovePayload, type CartGiftCardCodesUpdatePayload, type CartInput, type CartInputMetafieldInput, type CartLine, type CartLineAttributeArgs, type CartLineCost, type CartLineEstimatedCost, type CartLineInput, type CartLineUpdateInput, type CartLinesAddPayload, type CartLinesArgs, type CartLinesRemovePayload, type CartLinesUpdatePayload, type CartMetafieldArgs, type CartMetafieldDeleteInput, type CartMetafieldDeletePayload, type CartMetafieldsArgs, type CartMetafieldsSetInput, type CartMetafieldsSetPayload, type CartNoteUpdatePayload, type CartOperationError, type CartOperationResult, type CartPaymentInput, type CartPaymentUpdatePayload, type CartPreferences, type CartPreferencesInput, type CartPrepareForCompletionPayload, type CartPrepareForCompletionResult, type CartSelectableAddress, type CartSelectableAddressInput, type CartSelectableAddressUpdateInput, type CartSelectedDeliveryOptionInput, type CartSelectedDeliveryOptionsUpdatePayload, type CartStatusNotReady, type CartStatusReady, type CartSubmitForCompletionPayload, type CartSubmitForCompletionResult, type CartThrottled, type CartUserError, type CartWalletPaymentMethodInput, type CartWarning, CartWarningCode, type CategoryFilter, type Collection, type CollectionConnection, type CollectionDescriptionArgs, type CollectionEdge, type CollectionFragment, type CollectionMetafieldArgs, type CollectionMetafieldsArgs, type CollectionProductsArgs, CollectionSortKeys, type CollectionsConnection, type Comment, type CommentAuthor, type CommentConnection, type CommentContentArgs, type CommentEdge, type Company, type CompanyContact, type CompanyLocation, type CompanyLocationMetafieldArgs, type CompanyLocationMetafieldsArgs, type CompanyMetafieldArgs, type CompanyMetafieldsArgs, type CompletePaymentChallenge, type CompletionError, CompletionErrorCode, type ComponentizableCartLine, type ComponentizableCartLineAttributeArgs, type Count, CountPrecision, type Country, CountryCode, type CreateCartMutation, type CreateCartMutationVariables, type CreateCartOptions, CropRegion, type Currency, CurrencyCode, type Customer, type CustomerAccessToken, type CustomerAccessTokenCreateInput, type CustomerAccessTokenCreatePayload, type CustomerAccessTokenCreateWithMultipassPayload, type CustomerAccessTokenDeletePayload, type CustomerAccessTokenRenewPayload, type CustomerActivateByUrlPayload, type CustomerActivateInput, type CustomerActivatePayload, type CustomerAddressCreatePayload, type CustomerAddressDeletePayload, type CustomerAddressUpdatePayload, type CustomerAddressesArgs, type CustomerCreateInput, type CustomerCreatePayload, type CustomerDefaultAddressUpdatePayload, CustomerErrorCode, type CustomerMetafieldArgs, type CustomerMetafieldsArgs, type CustomerOrdersArgs, type CustomerRecoverPayload, type CustomerResetByUrlPayload, type CustomerResetInput, type CustomerResetPayload, type CustomerUpdateInput, type CustomerUpdatePayload, type CustomerUserError, type DeliveryAddress, type DeliveryAddressInput, DeliveryAddressValidationStrategy, DeliveryMethodType, DigitalWallet, type DiscountAllocation, type DiscountApplication, DiscountApplicationAllocationMethod, type DiscountApplicationConnection, type DiscountApplicationEdge, DiscountApplicationTargetSelection, DiscountApplicationTargetType, type DiscountCodeApplication, type DisplayableError, type Domain, type EditCartItemsMutation, type EditCartItemsMutationVariables, type Exact, type ExternalVideo, type Filter, FilterPresentation, FilterType, type FilterValue, type Fulfillment, type FulfillmentFulfillmentLineItemsArgs, type FulfillmentLineItem, type FulfillmentLineItemConnection, type FulfillmentLineItemEdge, type FulfillmentTrackingInfo, type FulfillmentTrackingInfoArgs, type GenericFile, type GeoCoordinateInput, type GetAllBlogsOptions, type GetAllProductPathsQuery, type GetAllProductPathsQueryVariables, type GetAllProductsOptions, type GetArticleOptions, type GetArticlesInBlogOptions, type GetArticlesOptions, type GetBlogOptions, type GetCartOptions, type GetCartQuery, type GetCartQueryVariables, type GetCollectionOptions, type GetCollectionsByHandlesOptions, type GetCollectionsOptions, type GetPageOptions, type GetProductByHandleQuery, type GetProductByHandleQueryVariables, type GetProductOptions, type GetProductsByHandlesOptions, type GetProductsQuery, type GetProductsQueryVariables, type GetShopOptions, type HasMetafields, type HasMetafieldsIdentifier, type HasMetafieldsMetafieldArgs, type HasMetafieldsMetafieldsArgs, type Image, type ImageConnection, ImageContentType, type ImageEdge, type ImageFragment, type ImageTransformInput, type ImageTransformedSrcArgs, type ImageUrlArgs, type InContextAnnotation, type InContextAnnotationType, type Incremental, type InputMaybe, type Language, LanguageCode, type Localization, type Location, type LocationAddress, type LocationConnection, type LocationEdge, type LocationMetafieldArgs, type LocationMetafieldsArgs, LocationSortKeys, type MailingAddress, type MailingAddressConnection, type MailingAddressEdge, type MailingAddressFormattedArgs, type MailingAddressInput, type MakeEmpty, type MakeMaybe, type MakeOptional, type ManualDiscountApplication, type Market, type MarketMetafieldArgs, type MarketMetafieldsArgs, type Maybe, type Media, type MediaConnection, MediaContentType, type MediaEdge, MediaHost, type MediaImage, type MediaPresentation, type MediaPresentationAsJsonArgs, MediaPresentationFormat, type Menu, type MenuItem, type MenuItemResource, MenuItemType, type Merchandise, type Metafield, MetafieldDeleteErrorCode, type MetafieldDeleteUserError, type MetafieldFilter, type MetafieldFragment, type MetafieldParentResource, type MetafieldReference, type MetafieldReferenceConnection, type MetafieldReferenceEdge, type MetafieldReferencesArgs, type MetafieldsSetUserError, MetafieldsSetUserErrorCode, type Metaobject, type MetaobjectConnection, type MetaobjectEdge, type MetaobjectField, type MetaobjectFieldArgs, type MetaobjectFieldReferencesArgs, type MetaobjectHandleInput, type MetaobjectSeo, type Model3d, type Model3dSource, type MoneyInput, type MoneyV2, type Mutation, type MutationCartAttributesUpdateArgs, type MutationCartBillingAddressUpdateArgs, type MutationCartBuyerIdentityUpdateArgs, type MutationCartCreateArgs, type MutationCartDeliveryAddressesAddArgs, type MutationCartDeliveryAddressesRemoveArgs, type MutationCartDeliveryAddressesUpdateArgs, type MutationCartDiscountCodesUpdateArgs, type MutationCartGiftCardCodesRemoveArgs, type MutationCartGiftCardCodesUpdateArgs, type MutationCartLinesAddArgs, type MutationCartLinesRemoveArgs, type MutationCartLinesUpdateArgs, type MutationCartMetafieldDeleteArgs, type MutationCartMetafieldsSetArgs, type MutationCartNoteUpdateArgs, type MutationCartPaymentUpdateArgs, type MutationCartPrepareForCompletionArgs, type MutationCartSelectedDeliveryOptionsUpdateArgs, type MutationCartSubmitForCompletionArgs, type MutationCustomerAccessTokenCreateArgs, type MutationCustomerAccessTokenCreateWithMultipassArgs, type MutationCustomerAccessTokenDeleteArgs, type MutationCustomerAccessTokenRenewArgs, type MutationCustomerActivateArgs, type MutationCustomerActivateByUrlArgs, type MutationCustomerAddressCreateArgs, type MutationCustomerAddressDeleteArgs, type MutationCustomerAddressUpdateArgs, type MutationCustomerCreateArgs, type MutationCustomerDefaultAddressUpdateArgs, type MutationCustomerRecoverArgs, type MutationCustomerResetArgs, type MutationCustomerResetByUrlArgs, type MutationCustomerUpdateArgs, type MutationShopPayPaymentRequestSessionCreateArgs, type MutationShopPayPaymentRequestSessionSubmitArgs, type Node, type NormalizedArticle, type NormalizedAttribute, type NormalizedBlog, type NormalizedCart, type NormalizedCollection, type NormalizedLineItem, type NormalizedPage, type NormalizedProduct, type NormalizedProductVariant, type NormalizedProductsConnection, type NormalizedSellingPlanGroup, type NormalizedShop, type OnlineStorePublishable, type Order, OrderCancelReason, type OrderConnection, type OrderDiscountApplicationsArgs, type OrderEdge, OrderFinancialStatus, OrderFulfillmentStatus, type OrderLineItem, type OrderLineItemConnection, type OrderLineItemEdge, type OrderLineItemsArgs, type OrderMetafieldArgs, type OrderMetafieldsArgs, OrderSortKeys, type OrderSuccessfulFulfillmentsArgs, type Page, type PageConnection, type PageEdge, type PageInfo, type PageInfoFragment, type PageMetafieldArgs, type PageMetafieldsArgs, PageSortKeys, type PaginatedSitemapResources, type PaymentSettings, PredictiveSearchLimitScope, type PredictiveSearchResult, PredictiveSearchType, PreferenceDeliveryMethodType, type PriceRangeFilter, type PricingPercentageValue, type PricingValue, type Product, type ProductAdjacentVariantsArgs, ProductCollectionSortKeys, type ProductCollectionsArgs, type ProductConnection, type ProductDescriptionArgs, type ProductEdge, type ProductFilter, type ProductFragment, ProductImageSortKeys, type ProductImagesArgs, type ProductMediaArgs, ProductMediaSortKeys, type ProductMetafieldArgs, type ProductMetafieldsArgs, type ProductOption, type ProductOptionValue, type ProductOptionValueSwatch, type ProductOptionsArgs, type ProductPriceRange, ProductRecommendationIntent, type ProductSelectedOrFirstAvailableVariantArgs, type ProductSellingPlanGroupsArgs, ProductSortKeys, type ProductVariant, type ProductVariantBySelectedOptionsArgs, type ProductVariantComponent, type ProductVariantComponentConnection, type ProductVariantComponentEdge, type ProductVariantComponentsArgs, type ProductVariantConnection, type ProductVariantEdge, type ProductVariantGroupedByArgs, type ProductVariantMetafieldArgs, type ProductVariantMetafieldsArgs, type ProductVariantQuantityPriceBreaksArgs, type ProductVariantSellingPlanAllocationsArgs, ProductVariantSortKeys, type ProductVariantStoreAvailabilityArgs, type ProductVariantsArgs, type PurchasingCompany, type QuantityPriceBreak, type QuantityPriceBreakConnection, type QuantityPriceBreakEdge, type QuantityRule, type QueryRoot, type QueryRootArticleArgs, type QueryRootArticlesArgs, type QueryRootBlogArgs, type QueryRootBlogByHandleArgs, type QueryRootBlogsArgs, type QueryRootCartArgs, type QueryRootCartCompletionAttemptArgs, type QueryRootCollectionArgs, type QueryRootCollectionByHandleArgs, type QueryRootCollectionsArgs, type QueryRootCustomerArgs, type QueryRootLocationsArgs, type QueryRootMenuArgs, type QueryRootMetaobjectArgs, type QueryRootMetaobjectsArgs, type QueryRootNodeArgs, type QueryRootNodesArgs, type QueryRootPageArgs, type QueryRootPageByHandleArgs, type QueryRootPagesArgs, type QueryRootPredictiveSearchArgs, type QueryRootProductArgs, type QueryRootProductByHandleArgs, type QueryRootProductRecommendationsArgs, type QueryRootProductTagsArgs, type QueryRootProductTypesArgs, type QueryRootProductsArgs, type QueryRootSearchArgs, type QueryRootSitemapArgs, type QueryRootUrlRedirectsArgs, type RemoveCartLinesOptions, type RemoveFromCartMutation, type RemoveFromCartMutationVariables, type Scalars, type ScriptDiscountApplication, SearchPrefixQueryType, type SearchQuerySuggestion, type SearchResultItem, type SearchResultItemConnection, type SearchResultItemEdge, SearchSortKeys, SearchType, SearchUnavailableProductsType, SearchableField, type SelectedOption, type SelectedOptionInput, type SellingPlan, type SellingPlanAllocation, type SellingPlanAllocationConnection, type SellingPlanAllocationEdge, type SellingPlanAllocationPriceAdjustment, type SellingPlanBillingPolicy, type SellingPlanCheckoutCharge, type SellingPlanCheckoutChargePercentageValue, SellingPlanCheckoutChargeType, type SellingPlanCheckoutChargeValue, type SellingPlanConnection, type SellingPlanDeliveryPolicy, type SellingPlanEdge, type SellingPlanFixedAmountPriceAdjustment, type SellingPlanFixedPriceAdjustment, type SellingPlanGroup, type SellingPlanGroupConnection, type SellingPlanGroupEdge, type SellingPlanGroupOption, type SellingPlanGroupSellingPlansArgs, SellingPlanInterval, type SellingPlanMetafieldArgs, type SellingPlanMetafieldsArgs, type SellingPlanOption, type SellingPlanPercentagePriceAdjustment, type SellingPlanPriceAdjustment, type SellingPlanPriceAdjustmentValue, type SellingPlanRecurringBillingPolicy, type SellingPlanRecurringDeliveryPolicy, type Seo, type SeoFragment, type Shop, type ShopMetafieldArgs, type ShopMetafieldsArgs, type ShopPayInstallmentsFinancingPlan, ShopPayInstallmentsFinancingPlanFrequency, type ShopPayInstallmentsFinancingPlanTerm, ShopPayInstallmentsLoan, type ShopPayInstallmentsPricing, type ShopPayInstallmentsProductVariantPricing, type ShopPayPaymentRequest, type ShopPayPaymentRequestContactField, type ShopPayPaymentRequestDeliveryMethod, type ShopPayPaymentRequestDeliveryMethodInput, ShopPayPaymentRequestDeliveryMethodType, type ShopPayPaymentRequestDiscount, type ShopPayPaymentRequestDiscountInput, type ShopPayPaymentRequestImage, type ShopPayPaymentRequestImageInput, type ShopPayPaymentRequestInput, type ShopPayPaymentRequestLineItem, type ShopPayPaymentRequestLineItemInput, type ShopPayPaymentRequestReceipt, type ShopPayPaymentRequestSession, type ShopPayPaymentRequestSessionCreatePayload, type ShopPayPaymentRequestSessionSubmitPayload, type ShopPayPaymentRequestShippingLine, type ShopPayPaymentRequestShippingLineInput, type ShopPayPaymentRequestTotalShippingPrice, type ShopPayPaymentRequestTotalShippingPriceInput, type ShopPayWalletContentInput, type ShopPolicy, type ShopPolicyWithDefault, ShopifyClient, type Sitemap, type SitemapImage, type SitemapResource, type SitemapResourceInterface, type SitemapResourceMetaobject, type SitemapResourcesArgs, SitemapType, type StoreAvailability, type StoreAvailabilityConnection, type StoreAvailabilityEdge, type StringConnection, type StringEdge, type SubmissionError, SubmissionErrorCode, type SubmitAlreadyAccepted, type SubmitFailed, type SubmitSuccess, type SubmitThrottled, type Swatch, type TaxonomyCategory, type TaxonomyMetafieldFilter, type Trackable, type UnitPriceMeasurement, UnitPriceMeasurementMeasuredType, UnitPriceMeasurementMeasuredUnit, UnitSystem, type UpdateBuyerIdentityOptions, type UpdateCartAttributesOptions, type UpdateCartCodesOptions, type UpdateCartDeliveryOptions, type UpdateCartDeliveryOptionsMutation, type UpdateCartDeliveryOptionsMutationVariables, type UpdateCartLinesOptions, type UrlRedirect, type UrlRedirectConnection, type UrlRedirectEdge, type UserError, type UserErrorsShopPayPaymentRequestSessionUserErrors, UserErrorsShopPayPaymentRequestSessionUserErrorsCode, type VariantFragment, type VariantOptionFilter, type Video, type VideoSource, WeightUnit, addCartLines, createCart, getAllBlogs, getAllCollections, getAllProducts, getArticle, getArticles, getArticlesInBlog, getBlog, getCart, getCollection, getCollections, getCollectionsByHandles, getPage, getProduct, getProducts, getProductsByHandles, getShop, normalizeArticle, normalizeBlog, normalizeCart, normalizeCollection, normalizeLineItem, normalizePage, normalizeProduct, normalizeShop, removeCartLines, updateBuyerIdentity, updateCartAttributes, updateCartCodes, updateCartDeliveryOptions, updateCartLines };