fontdue-js 2.18.3 → 2.19.0

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.
Files changed (77) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/dist/__generated__/AddToCartBannerQuery.graphql.d.ts +1 -1
  3. package/dist/__generated__/AddToCartBannerQuery.graphql.js +22 -7
  4. package/dist/__generated__/AddToCartBanner_item.graphql.d.ts +10 -1
  5. package/dist/__generated__/AddToCartBanner_item.graphql.js +19 -4
  6. package/dist/__generated__/AddToCartBanner_order.graphql.d.ts +10 -1
  7. package/dist/__generated__/AddToCartBanner_order.graphql.js +18 -3
  8. package/dist/__generated__/CartItemProduct_product.graphql.d.ts +4 -1
  9. package/dist/__generated__/CartItemProduct_product.graphql.js +15 -5
  10. package/dist/__generated__/CartOrderCompleteOrderMutation.graphql.d.ts +1 -1
  11. package/dist/__generated__/CartOrderCompleteOrderMutation.graphql.js +27 -5
  12. package/dist/__generated__/CartOrderRemoveDiscountMutation.graphql.d.ts +1 -1
  13. package/dist/__generated__/CartOrderRemoveDiscountMutation.graphql.js +27 -5
  14. package/dist/__generated__/CartOrderUpdateMutation.graphql.d.ts +1 -1
  15. package/dist/__generated__/CartOrderUpdateMutation.graphql.js +27 -5
  16. package/dist/__generated__/CartQuery.graphql.d.ts +1 -1
  17. package/dist/__generated__/CartQuery.graphql.js +72 -49
  18. package/dist/__generated__/CartStateRemoveDiscountMutation.graphql.d.ts +1 -1
  19. package/dist/__generated__/CartStateRemoveDiscountMutation.graphql.js +15 -3
  20. package/dist/__generated__/CartStateUpdateMutation.graphql.d.ts +1 -1
  21. package/dist/__generated__/CartStateUpdateMutation.graphql.js +27 -5
  22. package/dist/__generated__/CartTotals_order.graphql.d.ts +3 -1
  23. package/dist/__generated__/CartTotals_order.graphql.js +14 -2
  24. package/dist/__generated__/CheckoutUpdateCustomerMutation.graphql.d.ts +1 -1
  25. package/dist/__generated__/CheckoutUpdateCustomerMutation.graphql.js +27 -5
  26. package/dist/__generated__/CheckoutUpdateOrderMutation.graphql.d.ts +1 -1
  27. package/dist/__generated__/CheckoutUpdateOrderMutation.graphql.js +27 -5
  28. package/dist/__generated__/CouponCodeInputApplyCouponMutation.graphql.d.ts +1 -1
  29. package/dist/__generated__/CouponCodeInputApplyCouponMutation.graphql.js +15 -3
  30. package/dist/__generated__/CustomerLoginFormQuery.graphql.d.ts +20 -0
  31. package/dist/__generated__/CustomerLoginFormQuery.graphql.js +91 -0
  32. package/dist/__generated__/PrecartAddToCartMutation.graphql.d.ts +1 -1
  33. package/dist/__generated__/PrecartAddToCartMutation.graphql.js +32 -10
  34. package/dist/__generated__/PrecartClearCartMutation.graphql.d.ts +61 -0
  35. package/dist/__generated__/PrecartClearCartMutation.graphql.js +81 -0
  36. package/dist/__generated__/StoreModalCartQuery.graphql.d.ts +1 -1
  37. package/dist/__generated__/StoreModalCartQuery.graphql.js +67 -44
  38. package/dist/__generated__/StoreModalCheckoutQuery.graphql.d.ts +1 -1
  39. package/dist/__generated__/StoreModalCheckoutQuery.graphql.js +18 -17
  40. package/dist/__generated__/StoreModalFamily_collection.graphql.d.ts +2 -1
  41. package/dist/__generated__/StoreModalFamily_collection.graphql.js +9 -3
  42. package/dist/__generated__/StoreModalProductQuery.graphql.d.ts +1 -1
  43. package/dist/__generated__/StoreModalProductQuery.graphql.js +10 -4
  44. package/dist/__generated__/StoreModalProductRefetchQuery.graphql.d.ts +1 -1
  45. package/dist/__generated__/StoreModalProductRefetchQuery.graphql.js +10 -4
  46. package/dist/__generated__/StoreModalProductSummaryClearCartMutation.graphql.d.ts +61 -0
  47. package/dist/__generated__/StoreModalProductSummaryClearCartMutation.graphql.js +81 -0
  48. package/dist/__generated__/StoreModalUnifiedCheckoutUpdateOrderMutation.graphql.d.ts +1 -1
  49. package/dist/__generated__/StoreModalUnifiedCheckoutUpdateOrderMutation.graphql.js +15 -3
  50. package/dist/__generated__/StripeProvider_viewer.graphql.d.ts +2 -1
  51. package/dist/__generated__/StripeProvider_viewer.graphql.js +78 -75
  52. package/dist/__generated__/TestFontsFormUpdateCustomerMutation.graphql.d.ts +1 -1
  53. package/dist/__generated__/TestFontsFormUpdateCustomerMutation.graphql.js +27 -5
  54. package/dist/components/AddToCartBanner/index.js +7 -1
  55. package/dist/components/Cart/CartItem/CartItemProduct.js +3 -2
  56. package/dist/components/Cart/CartTotals.js +7 -7
  57. package/dist/components/CharacterViewer/index.js +53 -37
  58. package/dist/components/ConfigContext.d.ts +10 -0
  59. package/dist/components/ConfigContext.js +7 -2
  60. package/dist/components/CorsErrorModal.d.ts +1 -0
  61. package/dist/components/CorsErrorModal.js +99 -0
  62. package/dist/components/CustomerLoginForm/index.js +12 -4
  63. package/dist/components/OrderVariableSelection/OrderVariableSelectionRedux.js +2 -1
  64. package/dist/components/Precart/index.js +30 -4
  65. package/dist/components/StoreModal/StoreModalFamily.js +2 -2
  66. package/dist/components/StoreModalProductSummary/index.js +35 -4
  67. package/dist/components/StripeProvider/index.js +5 -4
  68. package/dist/components/TypeTester/index.d.ts +5 -0
  69. package/dist/components/TypeTester/index.js +2 -1
  70. package/dist/components/TypeTester/useTypeTesterStyler.d.ts +7 -1
  71. package/dist/components/TypeTester/useTypeTesterStyler.js +8 -2
  72. package/dist/corsError.d.ts +5 -0
  73. package/dist/corsError.js +55 -0
  74. package/dist/fontdue.css +61 -3
  75. package/dist/relay/environment.js +33 -19
  76. package/fontdue.css +197 -121
  77. package/package.json +1 -1
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.default = void 0;
7
7
  /**
8
- * @generated SignedSource<<f642c5e201c9916f3ab6cbc62d8f1cfa>>
8
+ * @generated SignedSource<<7035d4b9006eb5fe8945b586758b9868>>
9
9
  * @lightSyntaxTransform
10
10
  * @nogrep
11
11
  */
@@ -168,6 +168,16 @@ const node = function () {
168
168
  "kind": "ScalarField",
169
169
  "name": "totalStyles",
170
170
  "storageKey": null
171
+ },
172
+ v14 = {
173
+ "alias": null,
174
+ "args": null,
175
+ "concreteType": "FontCollection",
176
+ "kind": "LinkedField",
177
+ "name": "fontCollection",
178
+ "plural": false,
179
+ "selections": [v2 /*: any*/, v4 /*: any*/],
180
+ "storageKey": null
171
181
  };
172
182
  return {
173
183
  "fragment": {
@@ -388,6 +398,18 @@ const node = function () {
388
398
  "kind": "ScalarField",
389
399
  "name": "taxName",
390
400
  "storageKey": null
401
+ }, {
402
+ "alias": null,
403
+ "args": null,
404
+ "kind": "ScalarField",
405
+ "name": "taxNotApplicable",
406
+ "storageKey": null
407
+ }, {
408
+ "alias": null,
409
+ "args": null,
410
+ "kind": "ScalarField",
411
+ "name": "taxNotApplicableReason",
412
+ "storageKey": null
391
413
  }, {
392
414
  "alias": null,
393
415
  "args": null,
@@ -542,7 +564,7 @@ const node = function () {
542
564
  "plural": true,
543
565
  "selections": [v11 /*: any*/, v2 /*: any*/, v4 /*: any*/],
544
566
  "storageKey": null
545
- }, v2 /*: any*/],
567
+ }, v2 /*: any*/, v14 /*: any*/],
546
568
  "type": "Bundle",
547
569
  "abstractKey": null
548
570
  }, {
@@ -570,7 +592,7 @@ const node = function () {
570
592
  "abstractKey": null
571
593
  }, {
572
594
  "kind": "InlineFragment",
573
- "selections": [v2 /*: any*/, v13 /*: any*/],
595
+ "selections": [v2 /*: any*/, v13 /*: any*/, v14 /*: any*/],
574
596
  "type": "CollectionBundle",
575
597
  "abstractKey": null
576
598
  }, {
@@ -692,12 +714,12 @@ const node = function () {
692
714
  }]
693
715
  },
694
716
  "params": {
695
- "cacheID": "021cffe77873693b24a8a9ea3e01040c",
717
+ "cacheID": "12244b2c9601df6209f805896ebde2a4",
696
718
  "id": null,
697
719
  "metadata": {},
698
720
  "name": "CheckoutUpdateCustomerMutation",
699
721
  "operationKind": "mutation",
700
- "text": "mutation CheckoutUpdateCustomerMutation(\n $input: UpdateCustomerInput!\n) {\n updateCustomer(input: $input) {\n order {\n ...CartOrder_order\n id\n }\n }\n}\n\nfragment CartItemAdditionalLicenses_licenses on License {\n id\n name\n}\n\nfragment CartItemAdditionalLicenses_orderItem on OrderItem {\n licenseSelections {\n license {\n id\n }\n id\n }\n}\n\nfragment CartItemLicense_selection on LicenseSelection {\n id\n license {\n id\n name\n licenseVariables {\n id\n ...CartItemVariable_variable\n }\n }\n licenseVariable {\n id\n }\n ...CartItemVariable_selection\n}\n\nfragment CartItemProduct_product on SkuProduct {\n __isSkuProduct: __typename\n __typename\n ...CollectionAa_product\n ...FontStyle_fontStyle\n ... on FontStyle {\n family {\n name\n cssUrl\n id\n }\n name\n variableInstances {\n name\n }\n }\n ... on Bundle {\n name\n }\n ... on FontCollection {\n name\n isVariableFont\n totalStyles\n featureStyle {\n family {\n cssUrl\n id\n }\n id\n }\n }\n ... on CollectionBundle {\n name\n totalStyles\n }\n}\n\nfragment CartItemVariable_selection on LicenseSelection {\n id\n variableText\n license {\n id\n }\n licenseVariable {\n ...VariableTableAmounts_variable\n id\n name\n variableType\n licenseOptions {\n id\n }\n }\n licenseOption {\n ...VariableTableAmounts_option\n id\n name\n amount\n }\n}\n\nfragment CartItemVariable_variable on LicenseVariable {\n id\n licenseOptions {\n id\n name\n amount\n }\n}\n\nfragment CartItem_node on OrderItem {\n ...CartItemAdditionalLicenses_orderItem\n id\n price {\n ...Price_price\n }\n sku {\n price {\n ...Price_price\n }\n product {\n ...CartItemProduct_product\n __typename\n ... on Licenseable {\n __isLicenseable: __typename\n licenses {\n ...CartItemAdditionalLicenses_licenses\n id\n licenseVariables {\n id\n licenseOptions {\n id\n }\n }\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n id\n }\n licenseSelections {\n ...CartItemLicense_selection\n id\n license {\n id\n }\n licenseVariable {\n id\n }\n licenseOption {\n id\n }\n variableText\n }\n}\n\nfragment CartOrder_order on Order {\n ...Checkout_order\n ...Download_order\n ...CartTotals_order\n ...CartState_order\n id\n orderItems {\n ...CartItem_node\n id\n licenseSelections {\n license {\n id\n }\n licenseVariable {\n id\n variableType\n }\n licenseOption {\n id\n }\n variableText\n id\n }\n }\n orderVariableSelections {\n orderVariable {\n id\n }\n orderVariableOption {\n id\n }\n id\n }\n discount {\n id\n }\n customer {\n email\n name\n anonymous\n id\n }\n billingIdentity {\n ...IdentityBox_identity\n }\n licenseeIdentity {\n ...IdentityBox_identity\n }\n licenseeIsBillingIdentity\n stripePaymentMethod {\n card {\n last4\n brand\n }\n }\n stripePaymentIntent {\n status\n }\n canCompleteWithCoupon\n completedWithCoupon\n}\n\nfragment CartState_order on Order {\n id\n orderItems {\n id\n licenseSelections {\n license {\n id\n }\n licenseVariable {\n id\n }\n licenseOption {\n id\n }\n variableText\n id\n }\n }\n orderVariableSelections {\n orderVariable {\n id\n }\n orderVariableOption {\n id\n }\n countryCode\n id\n }\n}\n\nfragment CartTotals_order on Order {\n subtotal {\n ...Price_price\n }\n discount {\n amount {\n amount\n ...Price_price\n }\n coupon {\n ...CouponText_coupon\n id\n }\n id\n }\n discountedSubtotal {\n ...Price_price\n }\n total {\n amount\n ...Price_price\n }\n taxRate\n taxes {\n ...Price_price\n }\n taxName\n gstIncluded\n}\n\nfragment Checkout_order on Order {\n canCompleteWithCoupon\n customer {\n name\n email\n newsletterOptIn\n id\n }\n billingIdentity {\n name\n organization\n email\n phoneNullable\n street\n locality\n sublocality\n country\n administrativeArea\n zip\n vatNumber\n }\n licenseeIdentity {\n name\n organization\n email\n phoneNullable\n street\n locality\n sublocality\n country\n administrativeArea\n zip\n vatNumber\n }\n licenseeIsBillingIdentity\n}\n\nfragment CollectionAa_product on SkuProduct {\n __isSkuProduct: __typename\n __typename\n ... on FontCollection {\n featureStyle {\n ...FontStyle_fontStyle\n id\n }\n }\n ... on Bundle {\n fontStyles {\n ...FontStyle_fontStyle\n id\n }\n }\n}\n\nfragment CouponText_coupon on Coupon {\n type\n percentAmount\n creditAmount {\n amount\n currency\n }\n creditAmountRemaining {\n amount\n currency\n }\n}\n\nfragment Download_order on Order {\n id\n archiveUrl\n customer {\n email\n id\n }\n completedWithCoupon\n}\n\nfragment FontStyle_fontStyle on FontStyle {\n cssFamily\n name\n}\n\nfragment IdentityBox_identity on Identity {\n email\n phoneFormatted\n addressFormatted\n vatNumber\n}\n\nfragment Price_price on Money {\n amount\n currency\n}\n\nfragment VariableTableAmounts_option on LicenseOption {\n amounts\n}\n\nfragment VariableTableAmounts_variable on LicenseVariable {\n units\n}\n"
722
+ "text": "mutation CheckoutUpdateCustomerMutation(\n $input: UpdateCustomerInput!\n) {\n updateCustomer(input: $input) {\n order {\n ...CartOrder_order\n id\n }\n }\n}\n\nfragment CartItemAdditionalLicenses_licenses on License {\n id\n name\n}\n\nfragment CartItemAdditionalLicenses_orderItem on OrderItem {\n licenseSelections {\n license {\n id\n }\n id\n }\n}\n\nfragment CartItemLicense_selection on LicenseSelection {\n id\n license {\n id\n name\n licenseVariables {\n id\n ...CartItemVariable_variable\n }\n }\n licenseVariable {\n id\n }\n ...CartItemVariable_selection\n}\n\nfragment CartItemProduct_product on SkuProduct {\n __isSkuProduct: __typename\n __typename\n ...CollectionAa_product\n ...FontStyle_fontStyle\n ... on FontStyle {\n family {\n name\n cssUrl\n id\n }\n name\n variableInstances {\n name\n }\n }\n ... on Bundle {\n name\n fontCollection {\n name\n id\n }\n }\n ... on FontCollection {\n name\n isVariableFont\n totalStyles\n featureStyle {\n family {\n cssUrl\n id\n }\n id\n }\n }\n ... on CollectionBundle {\n name\n totalStyles\n fontCollection {\n name\n id\n }\n }\n}\n\nfragment CartItemVariable_selection on LicenseSelection {\n id\n variableText\n license {\n id\n }\n licenseVariable {\n ...VariableTableAmounts_variable\n id\n name\n variableType\n licenseOptions {\n id\n }\n }\n licenseOption {\n ...VariableTableAmounts_option\n id\n name\n amount\n }\n}\n\nfragment CartItemVariable_variable on LicenseVariable {\n id\n licenseOptions {\n id\n name\n amount\n }\n}\n\nfragment CartItem_node on OrderItem {\n ...CartItemAdditionalLicenses_orderItem\n id\n price {\n ...Price_price\n }\n sku {\n price {\n ...Price_price\n }\n product {\n ...CartItemProduct_product\n __typename\n ... on Licenseable {\n __isLicenseable: __typename\n licenses {\n ...CartItemAdditionalLicenses_licenses\n id\n licenseVariables {\n id\n licenseOptions {\n id\n }\n }\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n id\n }\n licenseSelections {\n ...CartItemLicense_selection\n id\n license {\n id\n }\n licenseVariable {\n id\n }\n licenseOption {\n id\n }\n variableText\n }\n}\n\nfragment CartOrder_order on Order {\n ...Checkout_order\n ...Download_order\n ...CartTotals_order\n ...CartState_order\n id\n orderItems {\n ...CartItem_node\n id\n licenseSelections {\n license {\n id\n }\n licenseVariable {\n id\n variableType\n }\n licenseOption {\n id\n }\n variableText\n id\n }\n }\n orderVariableSelections {\n orderVariable {\n id\n }\n orderVariableOption {\n id\n }\n id\n }\n discount {\n id\n }\n customer {\n email\n name\n anonymous\n id\n }\n billingIdentity {\n ...IdentityBox_identity\n }\n licenseeIdentity {\n ...IdentityBox_identity\n }\n licenseeIsBillingIdentity\n stripePaymentMethod {\n card {\n last4\n brand\n }\n }\n stripePaymentIntent {\n status\n }\n canCompleteWithCoupon\n completedWithCoupon\n}\n\nfragment CartState_order on Order {\n id\n orderItems {\n id\n licenseSelections {\n license {\n id\n }\n licenseVariable {\n id\n }\n licenseOption {\n id\n }\n variableText\n id\n }\n }\n orderVariableSelections {\n orderVariable {\n id\n }\n orderVariableOption {\n id\n }\n countryCode\n id\n }\n}\n\nfragment CartTotals_order on Order {\n subtotal {\n ...Price_price\n }\n discount {\n amount {\n amount\n ...Price_price\n }\n coupon {\n ...CouponText_coupon\n id\n }\n id\n }\n discountedSubtotal {\n ...Price_price\n }\n total {\n amount\n ...Price_price\n }\n taxRate\n taxes {\n ...Price_price\n }\n taxName\n taxNotApplicable\n taxNotApplicableReason\n gstIncluded\n}\n\nfragment Checkout_order on Order {\n canCompleteWithCoupon\n customer {\n name\n email\n newsletterOptIn\n id\n }\n billingIdentity {\n name\n organization\n email\n phoneNullable\n street\n locality\n sublocality\n country\n administrativeArea\n zip\n vatNumber\n }\n licenseeIdentity {\n name\n organization\n email\n phoneNullable\n street\n locality\n sublocality\n country\n administrativeArea\n zip\n vatNumber\n }\n licenseeIsBillingIdentity\n}\n\nfragment CollectionAa_product on SkuProduct {\n __isSkuProduct: __typename\n __typename\n ... on FontCollection {\n featureStyle {\n ...FontStyle_fontStyle\n id\n }\n }\n ... on Bundle {\n fontStyles {\n ...FontStyle_fontStyle\n id\n }\n }\n}\n\nfragment CouponText_coupon on Coupon {\n type\n percentAmount\n creditAmount {\n amount\n currency\n }\n creditAmountRemaining {\n amount\n currency\n }\n}\n\nfragment Download_order on Order {\n id\n archiveUrl\n customer {\n email\n id\n }\n completedWithCoupon\n}\n\nfragment FontStyle_fontStyle on FontStyle {\n cssFamily\n name\n}\n\nfragment IdentityBox_identity on Identity {\n email\n phoneFormatted\n addressFormatted\n vatNumber\n}\n\nfragment Price_price on Money {\n amount\n currency\n}\n\nfragment VariableTableAmounts_option on LicenseOption {\n amounts\n}\n\nfragment VariableTableAmounts_variable on LicenseVariable {\n units\n}\n"
701
723
  }
702
724
  };
703
725
  }();
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @generated SignedSource<<f671b39cf4f420b4d69634de898546e0>>
2
+ * @generated SignedSource<<0bb5bde67d02dbd7939d5e8c504eba8b>>
3
3
  * @lightSyntaxTransform
4
4
  * @nogrep
5
5
  */
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.default = void 0;
7
7
  /**
8
- * @generated SignedSource<<f671b39cf4f420b4d69634de898546e0>>
8
+ * @generated SignedSource<<0bb5bde67d02dbd7939d5e8c504eba8b>>
9
9
  * @lightSyntaxTransform
10
10
  * @nogrep
11
11
  */
@@ -209,6 +209,16 @@ const node = function () {
209
209
  "kind": "ScalarField",
210
210
  "name": "totalStyles",
211
211
  "storageKey": null
212
+ },
213
+ v22 = {
214
+ "alias": null,
215
+ "args": null,
216
+ "concreteType": "FontCollection",
217
+ "kind": "LinkedField",
218
+ "name": "fontCollection",
219
+ "plural": false,
220
+ "selections": [v11 /*: any*/, v12 /*: any*/],
221
+ "storageKey": null
212
222
  };
213
223
  return {
214
224
  "fragment": {
@@ -429,6 +439,18 @@ const node = function () {
429
439
  "kind": "ScalarField",
430
440
  "name": "taxName",
431
441
  "storageKey": null
442
+ }, {
443
+ "alias": null,
444
+ "args": null,
445
+ "kind": "ScalarField",
446
+ "name": "taxNotApplicable",
447
+ "storageKey": null
448
+ }, {
449
+ "alias": null,
450
+ "args": null,
451
+ "kind": "ScalarField",
452
+ "name": "taxNotApplicableReason",
453
+ "storageKey": null
432
454
  }, {
433
455
  "alias": null,
434
456
  "args": null,
@@ -583,7 +605,7 @@ const node = function () {
583
605
  "plural": true,
584
606
  "selections": [v19 /*: any*/, v11 /*: any*/, v12 /*: any*/],
585
607
  "storageKey": null
586
- }, v11 /*: any*/],
608
+ }, v11 /*: any*/, v22 /*: any*/],
587
609
  "type": "Bundle",
588
610
  "abstractKey": null
589
611
  }, {
@@ -611,7 +633,7 @@ const node = function () {
611
633
  "abstractKey": null
612
634
  }, {
613
635
  "kind": "InlineFragment",
614
- "selections": [v11 /*: any*/, v21 /*: any*/],
636
+ "selections": [v11 /*: any*/, v21 /*: any*/, v22 /*: any*/],
615
637
  "type": "CollectionBundle",
616
638
  "abstractKey": null
617
639
  }, {
@@ -733,12 +755,12 @@ const node = function () {
733
755
  }]
734
756
  },
735
757
  "params": {
736
- "cacheID": "d744ab7c533f1b42a83f88c0a9ce62fb",
758
+ "cacheID": "5baee900453ff67780617048f074aef2",
737
759
  "id": null,
738
760
  "metadata": {},
739
761
  "name": "CheckoutUpdateOrderMutation",
740
762
  "operationKind": "mutation",
741
- "text": "mutation CheckoutUpdateOrderMutation(\n $input: UpdateOrderInput!\n) {\n updateOrder(input: $input) {\n order {\n ...CartOrder_order\n id\n }\n errors {\n stripePaymentMethodId\n billingIdentity {\n zip\n phoneNullable\n administrativeArea\n locality\n sublocality\n email\n vatNumber\n }\n licenseeIdentity {\n zip\n phoneNullable\n administrativeArea\n locality\n sublocality\n email\n vatNumber\n }\n }\n }\n}\n\nfragment CartItemAdditionalLicenses_licenses on License {\n id\n name\n}\n\nfragment CartItemAdditionalLicenses_orderItem on OrderItem {\n licenseSelections {\n license {\n id\n }\n id\n }\n}\n\nfragment CartItemLicense_selection on LicenseSelection {\n id\n license {\n id\n name\n licenseVariables {\n id\n ...CartItemVariable_variable\n }\n }\n licenseVariable {\n id\n }\n ...CartItemVariable_selection\n}\n\nfragment CartItemProduct_product on SkuProduct {\n __isSkuProduct: __typename\n __typename\n ...CollectionAa_product\n ...FontStyle_fontStyle\n ... on FontStyle {\n family {\n name\n cssUrl\n id\n }\n name\n variableInstances {\n name\n }\n }\n ... on Bundle {\n name\n }\n ... on FontCollection {\n name\n isVariableFont\n totalStyles\n featureStyle {\n family {\n cssUrl\n id\n }\n id\n }\n }\n ... on CollectionBundle {\n name\n totalStyles\n }\n}\n\nfragment CartItemVariable_selection on LicenseSelection {\n id\n variableText\n license {\n id\n }\n licenseVariable {\n ...VariableTableAmounts_variable\n id\n name\n variableType\n licenseOptions {\n id\n }\n }\n licenseOption {\n ...VariableTableAmounts_option\n id\n name\n amount\n }\n}\n\nfragment CartItemVariable_variable on LicenseVariable {\n id\n licenseOptions {\n id\n name\n amount\n }\n}\n\nfragment CartItem_node on OrderItem {\n ...CartItemAdditionalLicenses_orderItem\n id\n price {\n ...Price_price\n }\n sku {\n price {\n ...Price_price\n }\n product {\n ...CartItemProduct_product\n __typename\n ... on Licenseable {\n __isLicenseable: __typename\n licenses {\n ...CartItemAdditionalLicenses_licenses\n id\n licenseVariables {\n id\n licenseOptions {\n id\n }\n }\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n id\n }\n licenseSelections {\n ...CartItemLicense_selection\n id\n license {\n id\n }\n licenseVariable {\n id\n }\n licenseOption {\n id\n }\n variableText\n }\n}\n\nfragment CartOrder_order on Order {\n ...Checkout_order\n ...Download_order\n ...CartTotals_order\n ...CartState_order\n id\n orderItems {\n ...CartItem_node\n id\n licenseSelections {\n license {\n id\n }\n licenseVariable {\n id\n variableType\n }\n licenseOption {\n id\n }\n variableText\n id\n }\n }\n orderVariableSelections {\n orderVariable {\n id\n }\n orderVariableOption {\n id\n }\n id\n }\n discount {\n id\n }\n customer {\n email\n name\n anonymous\n id\n }\n billingIdentity {\n ...IdentityBox_identity\n }\n licenseeIdentity {\n ...IdentityBox_identity\n }\n licenseeIsBillingIdentity\n stripePaymentMethod {\n card {\n last4\n brand\n }\n }\n stripePaymentIntent {\n status\n }\n canCompleteWithCoupon\n completedWithCoupon\n}\n\nfragment CartState_order on Order {\n id\n orderItems {\n id\n licenseSelections {\n license {\n id\n }\n licenseVariable {\n id\n }\n licenseOption {\n id\n }\n variableText\n id\n }\n }\n orderVariableSelections {\n orderVariable {\n id\n }\n orderVariableOption {\n id\n }\n countryCode\n id\n }\n}\n\nfragment CartTotals_order on Order {\n subtotal {\n ...Price_price\n }\n discount {\n amount {\n amount\n ...Price_price\n }\n coupon {\n ...CouponText_coupon\n id\n }\n id\n }\n discountedSubtotal {\n ...Price_price\n }\n total {\n amount\n ...Price_price\n }\n taxRate\n taxes {\n ...Price_price\n }\n taxName\n gstIncluded\n}\n\nfragment Checkout_order on Order {\n canCompleteWithCoupon\n customer {\n name\n email\n newsletterOptIn\n id\n }\n billingIdentity {\n name\n organization\n email\n phoneNullable\n street\n locality\n sublocality\n country\n administrativeArea\n zip\n vatNumber\n }\n licenseeIdentity {\n name\n organization\n email\n phoneNullable\n street\n locality\n sublocality\n country\n administrativeArea\n zip\n vatNumber\n }\n licenseeIsBillingIdentity\n}\n\nfragment CollectionAa_product on SkuProduct {\n __isSkuProduct: __typename\n __typename\n ... on FontCollection {\n featureStyle {\n ...FontStyle_fontStyle\n id\n }\n }\n ... on Bundle {\n fontStyles {\n ...FontStyle_fontStyle\n id\n }\n }\n}\n\nfragment CouponText_coupon on Coupon {\n type\n percentAmount\n creditAmount {\n amount\n currency\n }\n creditAmountRemaining {\n amount\n currency\n }\n}\n\nfragment Download_order on Order {\n id\n archiveUrl\n customer {\n email\n id\n }\n completedWithCoupon\n}\n\nfragment FontStyle_fontStyle on FontStyle {\n cssFamily\n name\n}\n\nfragment IdentityBox_identity on Identity {\n email\n phoneFormatted\n addressFormatted\n vatNumber\n}\n\nfragment Price_price on Money {\n amount\n currency\n}\n\nfragment VariableTableAmounts_option on LicenseOption {\n amounts\n}\n\nfragment VariableTableAmounts_variable on LicenseVariable {\n units\n}\n"
763
+ "text": "mutation CheckoutUpdateOrderMutation(\n $input: UpdateOrderInput!\n) {\n updateOrder(input: $input) {\n order {\n ...CartOrder_order\n id\n }\n errors {\n stripePaymentMethodId\n billingIdentity {\n zip\n phoneNullable\n administrativeArea\n locality\n sublocality\n email\n vatNumber\n }\n licenseeIdentity {\n zip\n phoneNullable\n administrativeArea\n locality\n sublocality\n email\n vatNumber\n }\n }\n }\n}\n\nfragment CartItemAdditionalLicenses_licenses on License {\n id\n name\n}\n\nfragment CartItemAdditionalLicenses_orderItem on OrderItem {\n licenseSelections {\n license {\n id\n }\n id\n }\n}\n\nfragment CartItemLicense_selection on LicenseSelection {\n id\n license {\n id\n name\n licenseVariables {\n id\n ...CartItemVariable_variable\n }\n }\n licenseVariable {\n id\n }\n ...CartItemVariable_selection\n}\n\nfragment CartItemProduct_product on SkuProduct {\n __isSkuProduct: __typename\n __typename\n ...CollectionAa_product\n ...FontStyle_fontStyle\n ... on FontStyle {\n family {\n name\n cssUrl\n id\n }\n name\n variableInstances {\n name\n }\n }\n ... on Bundle {\n name\n fontCollection {\n name\n id\n }\n }\n ... on FontCollection {\n name\n isVariableFont\n totalStyles\n featureStyle {\n family {\n cssUrl\n id\n }\n id\n }\n }\n ... on CollectionBundle {\n name\n totalStyles\n fontCollection {\n name\n id\n }\n }\n}\n\nfragment CartItemVariable_selection on LicenseSelection {\n id\n variableText\n license {\n id\n }\n licenseVariable {\n ...VariableTableAmounts_variable\n id\n name\n variableType\n licenseOptions {\n id\n }\n }\n licenseOption {\n ...VariableTableAmounts_option\n id\n name\n amount\n }\n}\n\nfragment CartItemVariable_variable on LicenseVariable {\n id\n licenseOptions {\n id\n name\n amount\n }\n}\n\nfragment CartItem_node on OrderItem {\n ...CartItemAdditionalLicenses_orderItem\n id\n price {\n ...Price_price\n }\n sku {\n price {\n ...Price_price\n }\n product {\n ...CartItemProduct_product\n __typename\n ... on Licenseable {\n __isLicenseable: __typename\n licenses {\n ...CartItemAdditionalLicenses_licenses\n id\n licenseVariables {\n id\n licenseOptions {\n id\n }\n }\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n id\n }\n licenseSelections {\n ...CartItemLicense_selection\n id\n license {\n id\n }\n licenseVariable {\n id\n }\n licenseOption {\n id\n }\n variableText\n }\n}\n\nfragment CartOrder_order on Order {\n ...Checkout_order\n ...Download_order\n ...CartTotals_order\n ...CartState_order\n id\n orderItems {\n ...CartItem_node\n id\n licenseSelections {\n license {\n id\n }\n licenseVariable {\n id\n variableType\n }\n licenseOption {\n id\n }\n variableText\n id\n }\n }\n orderVariableSelections {\n orderVariable {\n id\n }\n orderVariableOption {\n id\n }\n id\n }\n discount {\n id\n }\n customer {\n email\n name\n anonymous\n id\n }\n billingIdentity {\n ...IdentityBox_identity\n }\n licenseeIdentity {\n ...IdentityBox_identity\n }\n licenseeIsBillingIdentity\n stripePaymentMethod {\n card {\n last4\n brand\n }\n }\n stripePaymentIntent {\n status\n }\n canCompleteWithCoupon\n completedWithCoupon\n}\n\nfragment CartState_order on Order {\n id\n orderItems {\n id\n licenseSelections {\n license {\n id\n }\n licenseVariable {\n id\n }\n licenseOption {\n id\n }\n variableText\n id\n }\n }\n orderVariableSelections {\n orderVariable {\n id\n }\n orderVariableOption {\n id\n }\n countryCode\n id\n }\n}\n\nfragment CartTotals_order on Order {\n subtotal {\n ...Price_price\n }\n discount {\n amount {\n amount\n ...Price_price\n }\n coupon {\n ...CouponText_coupon\n id\n }\n id\n }\n discountedSubtotal {\n ...Price_price\n }\n total {\n amount\n ...Price_price\n }\n taxRate\n taxes {\n ...Price_price\n }\n taxName\n taxNotApplicable\n taxNotApplicableReason\n gstIncluded\n}\n\nfragment Checkout_order on Order {\n canCompleteWithCoupon\n customer {\n name\n email\n newsletterOptIn\n id\n }\n billingIdentity {\n name\n organization\n email\n phoneNullable\n street\n locality\n sublocality\n country\n administrativeArea\n zip\n vatNumber\n }\n licenseeIdentity {\n name\n organization\n email\n phoneNullable\n street\n locality\n sublocality\n country\n administrativeArea\n zip\n vatNumber\n }\n licenseeIsBillingIdentity\n}\n\nfragment CollectionAa_product on SkuProduct {\n __isSkuProduct: __typename\n __typename\n ... on FontCollection {\n featureStyle {\n ...FontStyle_fontStyle\n id\n }\n }\n ... on Bundle {\n fontStyles {\n ...FontStyle_fontStyle\n id\n }\n }\n}\n\nfragment CouponText_coupon on Coupon {\n type\n percentAmount\n creditAmount {\n amount\n currency\n }\n creditAmountRemaining {\n amount\n currency\n }\n}\n\nfragment Download_order on Order {\n id\n archiveUrl\n customer {\n email\n id\n }\n completedWithCoupon\n}\n\nfragment FontStyle_fontStyle on FontStyle {\n cssFamily\n name\n}\n\nfragment IdentityBox_identity on Identity {\n email\n phoneFormatted\n addressFormatted\n vatNumber\n}\n\nfragment Price_price on Money {\n amount\n currency\n}\n\nfragment VariableTableAmounts_option on LicenseOption {\n amounts\n}\n\nfragment VariableTableAmounts_variable on LicenseVariable {\n units\n}\n"
742
764
  }
743
765
  };
744
766
  }();
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @generated SignedSource<<2cbb64cd8b13f0e360422cbc1cda4121>>
2
+ * @generated SignedSource<<7cae9e14dab0741729980aac27f83e4e>>
3
3
  * @lightSyntaxTransform
4
4
  * @nogrep
5
5
  */
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.default = void 0;
7
7
  /**
8
- * @generated SignedSource<<2cbb64cd8b13f0e360422cbc1cda4121>>
8
+ * @generated SignedSource<<7cae9e14dab0741729980aac27f83e4e>>
9
9
  * @lightSyntaxTransform
10
10
  * @nogrep
11
11
  */
@@ -393,6 +393,18 @@ const node = function () {
393
393
  "kind": "ScalarField",
394
394
  "name": "taxName",
395
395
  "storageKey": null
396
+ }, {
397
+ "alias": null,
398
+ "args": null,
399
+ "kind": "ScalarField",
400
+ "name": "taxNotApplicable",
401
+ "storageKey": null
402
+ }, {
403
+ "alias": null,
404
+ "args": null,
405
+ "kind": "ScalarField",
406
+ "name": "taxNotApplicableReason",
407
+ "storageKey": null
396
408
  }, {
397
409
  "alias": null,
398
410
  "args": null,
@@ -406,12 +418,12 @@ const node = function () {
406
418
  }]
407
419
  },
408
420
  "params": {
409
- "cacheID": "f4545c48b060a65cace53d8694947d06",
421
+ "cacheID": "e3319d996194d81ac950d31305795854",
410
422
  "id": null,
411
423
  "metadata": {},
412
424
  "name": "CouponCodeInputApplyCouponMutation",
413
425
  "operationKind": "mutation",
414
- "text": "mutation CouponCodeInputApplyCouponMutation(\n $input: ApplyCouponInput!\n) {\n applyCoupon(input: $input) {\n order {\n ...StoreModalUnifiedCheckout_order\n ...CartTotals_order\n id\n }\n }\n}\n\nfragment CartTotals_order on Order {\n subtotal {\n ...Price_price\n }\n discount {\n amount {\n amount\n ...Price_price\n }\n coupon {\n ...CouponText_coupon\n id\n }\n id\n }\n discountedSubtotal {\n ...Price_price\n }\n total {\n amount\n ...Price_price\n }\n taxRate\n taxes {\n ...Price_price\n }\n taxName\n gstIncluded\n}\n\nfragment CouponText_coupon on Coupon {\n type\n percentAmount\n creditAmount {\n amount\n currency\n }\n creditAmountRemaining {\n amount\n currency\n }\n}\n\nfragment Price_price on Money {\n amount\n currency\n}\n\nfragment StoreModalReviewIdentity_identity on Identity {\n email\n phoneFormatted\n addressFormatted\n vatNumber\n}\n\nfragment StoreModalUnifiedCheckout_order on Order {\n completeUrl\n canCompleteWithCoupon\n total {\n amount\n }\n customer {\n name\n email\n newsletterOptIn\n id\n }\n licenseeIsBillingIdentity\n licenseeIdentity {\n ...StoreModalReviewIdentity_identity\n name\n organization\n email\n phoneNullable\n street\n locality\n sublocality\n country\n administrativeArea\n zip\n vatNumber\n }\n billingIdentity {\n ...StoreModalReviewIdentity_identity\n name\n organization\n email\n phoneNullable\n street\n locality\n sublocality\n country\n administrativeArea\n zip\n vatNumber\n }\n stripePaymentIntent {\n clientSecret\n amount\n currency\n }\n orderVariableSelections {\n orderVariable {\n id\n variableType\n }\n orderVariableOption {\n id\n }\n countryCode\n id\n }\n}\n"
426
+ "text": "mutation CouponCodeInputApplyCouponMutation(\n $input: ApplyCouponInput!\n) {\n applyCoupon(input: $input) {\n order {\n ...StoreModalUnifiedCheckout_order\n ...CartTotals_order\n id\n }\n }\n}\n\nfragment CartTotals_order on Order {\n subtotal {\n ...Price_price\n }\n discount {\n amount {\n amount\n ...Price_price\n }\n coupon {\n ...CouponText_coupon\n id\n }\n id\n }\n discountedSubtotal {\n ...Price_price\n }\n total {\n amount\n ...Price_price\n }\n taxRate\n taxes {\n ...Price_price\n }\n taxName\n taxNotApplicable\n taxNotApplicableReason\n gstIncluded\n}\n\nfragment CouponText_coupon on Coupon {\n type\n percentAmount\n creditAmount {\n amount\n currency\n }\n creditAmountRemaining {\n amount\n currency\n }\n}\n\nfragment Price_price on Money {\n amount\n currency\n}\n\nfragment StoreModalReviewIdentity_identity on Identity {\n email\n phoneFormatted\n addressFormatted\n vatNumber\n}\n\nfragment StoreModalUnifiedCheckout_order on Order {\n completeUrl\n canCompleteWithCoupon\n total {\n amount\n }\n customer {\n name\n email\n newsletterOptIn\n id\n }\n licenseeIsBillingIdentity\n licenseeIdentity {\n ...StoreModalReviewIdentity_identity\n name\n organization\n email\n phoneNullable\n street\n locality\n sublocality\n country\n administrativeArea\n zip\n vatNumber\n }\n billingIdentity {\n ...StoreModalReviewIdentity_identity\n name\n organization\n email\n phoneNullable\n street\n locality\n sublocality\n country\n administrativeArea\n zip\n vatNumber\n }\n stripePaymentIntent {\n clientSecret\n amount\n currency\n }\n orderVariableSelections {\n orderVariable {\n id\n variableType\n }\n orderVariableOption {\n id\n }\n countryCode\n id\n }\n}\n"
415
427
  }
416
428
  };
417
429
  }();
@@ -0,0 +1,20 @@
1
+ /**
2
+ * @generated SignedSource<<edebc114f01c05329927a3d17e8bb00c>>
3
+ * @lightSyntaxTransform
4
+ * @nogrep
5
+ */
6
+ import { ConcreteRequest } from 'relay-runtime';
7
+ export type CustomerLoginFormQuery$variables = Record<PropertyKey, never>;
8
+ export type CustomerLoginFormQuery$data = {
9
+ readonly viewer: {
10
+ readonly settings: {
11
+ readonly customerLoginSubmittedLabel: string | null;
12
+ } | null;
13
+ };
14
+ };
15
+ export type CustomerLoginFormQuery = {
16
+ response: CustomerLoginFormQuery$data;
17
+ variables: CustomerLoginFormQuery$variables;
18
+ };
19
+ declare const node: ConcreteRequest;
20
+ export default node;
@@ -0,0 +1,91 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = void 0;
7
+ /**
8
+ * @generated SignedSource<<edebc114f01c05329927a3d17e8bb00c>>
9
+ * @lightSyntaxTransform
10
+ * @nogrep
11
+ */
12
+
13
+ /* tslint:disable */
14
+ /* eslint-disable */
15
+ // @ts-nocheck
16
+
17
+ const node = function () {
18
+ var v0 = {
19
+ "alias": null,
20
+ "args": null,
21
+ "concreteType": "Settings",
22
+ "kind": "LinkedField",
23
+ "name": "settings",
24
+ "plural": false,
25
+ "selections": [{
26
+ "alias": null,
27
+ "args": [{
28
+ "kind": "Literal",
29
+ "name": "format",
30
+ "value": "HTML"
31
+ }],
32
+ "kind": "ScalarField",
33
+ "name": "customerLoginSubmittedLabel",
34
+ "storageKey": "customerLoginSubmittedLabel(format:\"HTML\")"
35
+ }],
36
+ "storageKey": null
37
+ };
38
+ return {
39
+ "fragment": {
40
+ "argumentDefinitions": [],
41
+ "kind": "Fragment",
42
+ "metadata": null,
43
+ "name": "CustomerLoginFormQuery",
44
+ "selections": [{
45
+ "alias": null,
46
+ "args": null,
47
+ "concreteType": "Viewer",
48
+ "kind": "LinkedField",
49
+ "name": "viewer",
50
+ "plural": false,
51
+ "selections": [v0 /*: any*/],
52
+ "storageKey": null
53
+ }],
54
+ "type": "RootQueryType",
55
+ "abstractKey": null
56
+ },
57
+ "kind": "Request",
58
+ "operation": {
59
+ "argumentDefinitions": [],
60
+ "kind": "Operation",
61
+ "name": "CustomerLoginFormQuery",
62
+ "selections": [{
63
+ "alias": null,
64
+ "args": null,
65
+ "concreteType": "Viewer",
66
+ "kind": "LinkedField",
67
+ "name": "viewer",
68
+ "plural": false,
69
+ "selections": [v0 /*: any*/, {
70
+ "alias": null,
71
+ "args": null,
72
+ "kind": "ScalarField",
73
+ "name": "id",
74
+ "storageKey": null
75
+ }],
76
+ "storageKey": null
77
+ }]
78
+ },
79
+ "params": {
80
+ "cacheID": "2b3755da1e44df05799bc12ae115545e",
81
+ "id": null,
82
+ "metadata": {},
83
+ "name": "CustomerLoginFormQuery",
84
+ "operationKind": "query",
85
+ "text": "query CustomerLoginFormQuery {\n viewer {\n settings {\n customerLoginSubmittedLabel(format: HTML)\n }\n id\n }\n}\n"
86
+ }
87
+ };
88
+ }();
89
+ node.hash = "f32c7b0b485a2b2a02ddf2cbc5b87a3c";
90
+ var _default = node;
91
+ exports.default = _default;
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @generated SignedSource<<2a7cb2730127db0f7b09ebd2ed4c5b7a>>
2
+ * @generated SignedSource<<e15a7cf052f9722a718ccbc765c073fb>>
3
3
  * @lightSyntaxTransform
4
4
  * @nogrep
5
5
  */
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.default = void 0;
7
7
  /**
8
- * @generated SignedSource<<2a7cb2730127db0f7b09ebd2ed4c5b7a>>
8
+ * @generated SignedSource<<e15a7cf052f9722a718ccbc765c073fb>>
9
9
  * @lightSyntaxTransform
10
10
  * @nogrep
11
11
  */
@@ -96,19 +96,29 @@ const node = function () {
96
96
  "storageKey": null
97
97
  },
98
98
  v12 = {
99
+ "alias": null,
100
+ "args": null,
101
+ "concreteType": "FontCollection",
102
+ "kind": "LinkedField",
103
+ "name": "fontCollection",
104
+ "plural": false,
105
+ "selections": [v3 /*: any*/, v2 /*: any*/],
106
+ "storageKey": null
107
+ },
108
+ v13 = {
99
109
  "alias": null,
100
110
  "args": null,
101
111
  "kind": "ScalarField",
102
112
  "name": "email",
103
113
  "storageKey": null
104
114
  },
105
- v13 = [v3 /*: any*/, {
115
+ v14 = [v3 /*: any*/, {
106
116
  "alias": null,
107
117
  "args": null,
108
118
  "kind": "ScalarField",
109
119
  "name": "organization",
110
120
  "storageKey": null
111
- }, v12 /*: any*/, {
121
+ }, v13 /*: any*/, {
112
122
  "alias": null,
113
123
  "args": null,
114
124
  "kind": "ScalarField",
@@ -391,7 +401,7 @@ const node = function () {
391
401
  "plural": true,
392
402
  "selections": [v9 /*: any*/, v3 /*: any*/, v2 /*: any*/],
393
403
  "storageKey": null
394
- }, v3 /*: any*/],
404
+ }, v3 /*: any*/, v12 /*: any*/],
395
405
  "type": "Bundle",
396
406
  "abstractKey": null
397
407
  }, {
@@ -419,7 +429,7 @@ const node = function () {
419
429
  "abstractKey": null
420
430
  }, {
421
431
  "kind": "InlineFragment",
422
- "selections": [v3 /*: any*/, v11 /*: any*/],
432
+ "selections": [v3 /*: any*/, v11 /*: any*/, v12 /*: any*/],
423
433
  "type": "CollectionBundle",
424
434
  "abstractKey": null
425
435
  }, {
@@ -478,7 +488,7 @@ const node = function () {
478
488
  "kind": "LinkedField",
479
489
  "name": "customer",
480
490
  "plural": false,
481
- "selections": [v3 /*: any*/, v12 /*: any*/, {
491
+ "selections": [v3 /*: any*/, v13 /*: any*/, {
482
492
  "alias": null,
483
493
  "args": null,
484
494
  "kind": "ScalarField",
@@ -499,7 +509,7 @@ const node = function () {
499
509
  "kind": "LinkedField",
500
510
  "name": "billingIdentity",
501
511
  "plural": false,
502
- "selections": v13 /*: any*/,
512
+ "selections": v14 /*: any*/,
503
513
  "storageKey": null
504
514
  }, {
505
515
  "alias": null,
@@ -508,7 +518,7 @@ const node = function () {
508
518
  "kind": "LinkedField",
509
519
  "name": "licenseeIdentity",
510
520
  "plural": false,
511
- "selections": v13 /*: any*/,
521
+ "selections": v14 /*: any*/,
512
522
  "storageKey": null
513
523
  }, {
514
524
  "alias": null,
@@ -624,6 +634,18 @@ const node = function () {
624
634
  "kind": "ScalarField",
625
635
  "name": "taxName",
626
636
  "storageKey": null
637
+ }, {
638
+ "alias": null,
639
+ "args": null,
640
+ "kind": "ScalarField",
641
+ "name": "taxNotApplicable",
642
+ "storageKey": null
643
+ }, {
644
+ "alias": null,
645
+ "args": null,
646
+ "kind": "ScalarField",
647
+ "name": "taxNotApplicableReason",
648
+ "storageKey": null
627
649
  }, {
628
650
  "alias": null,
629
651
  "args": null,
@@ -715,12 +737,12 @@ const node = function () {
715
737
  }]
716
738
  },
717
739
  "params": {
718
- "cacheID": "c8d29cf4fbdf2dc1100d6b82f286cf90",
740
+ "cacheID": "7fca7135098e546d84d027311ca99cd9",
719
741
  "id": null,
720
742
  "metadata": {},
721
743
  "name": "PrecartAddToCartMutation",
722
744
  "operationKind": "mutation",
723
- "text": "mutation PrecartAddToCartMutation(\n $input: CreateOrderItemsInput!\n) {\n createOrderItems(input: $input) {\n order {\n ...CartButton_order\n ...CartOrder_order\n ...AddToCartBanner_order\n id\n }\n }\n}\n\nfragment AddToCartBanner_order on Order {\n stripeCharge {\n paid\n }\n orderItems {\n id\n sku {\n product {\n __typename\n ... on FontCollection {\n name\n }\n ... on FontStyle {\n name\n family {\n name\n id\n }\n }\n ... on Bundle {\n name\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n id\n }\n }\n}\n\nfragment CartButton_order on Order {\n stripeCharge {\n paid\n }\n orderItems {\n id\n }\n subtotal {\n ...Price_price\n }\n}\n\nfragment CartItemAdditionalLicenses_licenses on License {\n id\n name\n}\n\nfragment CartItemAdditionalLicenses_orderItem on OrderItem {\n licenseSelections {\n license {\n id\n }\n id\n }\n}\n\nfragment CartItemLicense_selection on LicenseSelection {\n id\n license {\n id\n name\n licenseVariables {\n id\n ...CartItemVariable_variable\n }\n }\n licenseVariable {\n id\n }\n ...CartItemVariable_selection\n}\n\nfragment CartItemProduct_product on SkuProduct {\n __isSkuProduct: __typename\n __typename\n ...CollectionAa_product\n ...FontStyle_fontStyle\n ... on FontStyle {\n family {\n name\n cssUrl\n id\n }\n name\n variableInstances {\n name\n }\n }\n ... on Bundle {\n name\n }\n ... on FontCollection {\n name\n isVariableFont\n totalStyles\n featureStyle {\n family {\n cssUrl\n id\n }\n id\n }\n }\n ... on CollectionBundle {\n name\n totalStyles\n }\n}\n\nfragment CartItemVariable_selection on LicenseSelection {\n id\n variableText\n license {\n id\n }\n licenseVariable {\n ...VariableTableAmounts_variable\n id\n name\n variableType\n licenseOptions {\n id\n }\n }\n licenseOption {\n ...VariableTableAmounts_option\n id\n name\n amount\n }\n}\n\nfragment CartItemVariable_variable on LicenseVariable {\n id\n licenseOptions {\n id\n name\n amount\n }\n}\n\nfragment CartItem_node on OrderItem {\n ...CartItemAdditionalLicenses_orderItem\n id\n price {\n ...Price_price\n }\n sku {\n price {\n ...Price_price\n }\n product {\n ...CartItemProduct_product\n __typename\n ... on Licenseable {\n __isLicenseable: __typename\n licenses {\n ...CartItemAdditionalLicenses_licenses\n id\n licenseVariables {\n id\n licenseOptions {\n id\n }\n }\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n id\n }\n licenseSelections {\n ...CartItemLicense_selection\n id\n license {\n id\n }\n licenseVariable {\n id\n }\n licenseOption {\n id\n }\n variableText\n }\n}\n\nfragment CartOrder_order on Order {\n ...Checkout_order\n ...Download_order\n ...CartTotals_order\n ...CartState_order\n id\n orderItems {\n ...CartItem_node\n id\n licenseSelections {\n license {\n id\n }\n licenseVariable {\n id\n variableType\n }\n licenseOption {\n id\n }\n variableText\n id\n }\n }\n orderVariableSelections {\n orderVariable {\n id\n }\n orderVariableOption {\n id\n }\n id\n }\n discount {\n id\n }\n customer {\n email\n name\n anonymous\n id\n }\n billingIdentity {\n ...IdentityBox_identity\n }\n licenseeIdentity {\n ...IdentityBox_identity\n }\n licenseeIsBillingIdentity\n stripePaymentMethod {\n card {\n last4\n brand\n }\n }\n stripePaymentIntent {\n status\n }\n canCompleteWithCoupon\n completedWithCoupon\n}\n\nfragment CartState_order on Order {\n id\n orderItems {\n id\n licenseSelections {\n license {\n id\n }\n licenseVariable {\n id\n }\n licenseOption {\n id\n }\n variableText\n id\n }\n }\n orderVariableSelections {\n orderVariable {\n id\n }\n orderVariableOption {\n id\n }\n countryCode\n id\n }\n}\n\nfragment CartTotals_order on Order {\n subtotal {\n ...Price_price\n }\n discount {\n amount {\n amount\n ...Price_price\n }\n coupon {\n ...CouponText_coupon\n id\n }\n id\n }\n discountedSubtotal {\n ...Price_price\n }\n total {\n amount\n ...Price_price\n }\n taxRate\n taxes {\n ...Price_price\n }\n taxName\n gstIncluded\n}\n\nfragment Checkout_order on Order {\n canCompleteWithCoupon\n customer {\n name\n email\n newsletterOptIn\n id\n }\n billingIdentity {\n name\n organization\n email\n phoneNullable\n street\n locality\n sublocality\n country\n administrativeArea\n zip\n vatNumber\n }\n licenseeIdentity {\n name\n organization\n email\n phoneNullable\n street\n locality\n sublocality\n country\n administrativeArea\n zip\n vatNumber\n }\n licenseeIsBillingIdentity\n}\n\nfragment CollectionAa_product on SkuProduct {\n __isSkuProduct: __typename\n __typename\n ... on FontCollection {\n featureStyle {\n ...FontStyle_fontStyle\n id\n }\n }\n ... on Bundle {\n fontStyles {\n ...FontStyle_fontStyle\n id\n }\n }\n}\n\nfragment CouponText_coupon on Coupon {\n type\n percentAmount\n creditAmount {\n amount\n currency\n }\n creditAmountRemaining {\n amount\n currency\n }\n}\n\nfragment Download_order on Order {\n id\n archiveUrl\n customer {\n email\n id\n }\n completedWithCoupon\n}\n\nfragment FontStyle_fontStyle on FontStyle {\n cssFamily\n name\n}\n\nfragment IdentityBox_identity on Identity {\n email\n phoneFormatted\n addressFormatted\n vatNumber\n}\n\nfragment Price_price on Money {\n amount\n currency\n}\n\nfragment VariableTableAmounts_option on LicenseOption {\n amounts\n}\n\nfragment VariableTableAmounts_variable on LicenseVariable {\n units\n}\n"
745
+ "text": "mutation PrecartAddToCartMutation(\n $input: CreateOrderItemsInput!\n) {\n createOrderItems(input: $input) {\n order {\n ...CartButton_order\n ...CartOrder_order\n ...AddToCartBanner_order\n id\n }\n }\n}\n\nfragment AddToCartBanner_order on Order {\n stripeCharge {\n paid\n }\n orderItems {\n id\n sku {\n product {\n __typename\n ... on FontCollection {\n name\n }\n ... on FontStyle {\n name\n family {\n name\n id\n }\n }\n ... on Bundle {\n name\n fontCollection {\n name\n id\n }\n }\n ... on CollectionBundle {\n name\n fontCollection {\n name\n id\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n id\n }\n }\n}\n\nfragment CartButton_order on Order {\n stripeCharge {\n paid\n }\n orderItems {\n id\n }\n subtotal {\n ...Price_price\n }\n}\n\nfragment CartItemAdditionalLicenses_licenses on License {\n id\n name\n}\n\nfragment CartItemAdditionalLicenses_orderItem on OrderItem {\n licenseSelections {\n license {\n id\n }\n id\n }\n}\n\nfragment CartItemLicense_selection on LicenseSelection {\n id\n license {\n id\n name\n licenseVariables {\n id\n ...CartItemVariable_variable\n }\n }\n licenseVariable {\n id\n }\n ...CartItemVariable_selection\n}\n\nfragment CartItemProduct_product on SkuProduct {\n __isSkuProduct: __typename\n __typename\n ...CollectionAa_product\n ...FontStyle_fontStyle\n ... on FontStyle {\n family {\n name\n cssUrl\n id\n }\n name\n variableInstances {\n name\n }\n }\n ... on Bundle {\n name\n fontCollection {\n name\n id\n }\n }\n ... on FontCollection {\n name\n isVariableFont\n totalStyles\n featureStyle {\n family {\n cssUrl\n id\n }\n id\n }\n }\n ... on CollectionBundle {\n name\n totalStyles\n fontCollection {\n name\n id\n }\n }\n}\n\nfragment CartItemVariable_selection on LicenseSelection {\n id\n variableText\n license {\n id\n }\n licenseVariable {\n ...VariableTableAmounts_variable\n id\n name\n variableType\n licenseOptions {\n id\n }\n }\n licenseOption {\n ...VariableTableAmounts_option\n id\n name\n amount\n }\n}\n\nfragment CartItemVariable_variable on LicenseVariable {\n id\n licenseOptions {\n id\n name\n amount\n }\n}\n\nfragment CartItem_node on OrderItem {\n ...CartItemAdditionalLicenses_orderItem\n id\n price {\n ...Price_price\n }\n sku {\n price {\n ...Price_price\n }\n product {\n ...CartItemProduct_product\n __typename\n ... on Licenseable {\n __isLicenseable: __typename\n licenses {\n ...CartItemAdditionalLicenses_licenses\n id\n licenseVariables {\n id\n licenseOptions {\n id\n }\n }\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n id\n }\n licenseSelections {\n ...CartItemLicense_selection\n id\n license {\n id\n }\n licenseVariable {\n id\n }\n licenseOption {\n id\n }\n variableText\n }\n}\n\nfragment CartOrder_order on Order {\n ...Checkout_order\n ...Download_order\n ...CartTotals_order\n ...CartState_order\n id\n orderItems {\n ...CartItem_node\n id\n licenseSelections {\n license {\n id\n }\n licenseVariable {\n id\n variableType\n }\n licenseOption {\n id\n }\n variableText\n id\n }\n }\n orderVariableSelections {\n orderVariable {\n id\n }\n orderVariableOption {\n id\n }\n id\n }\n discount {\n id\n }\n customer {\n email\n name\n anonymous\n id\n }\n billingIdentity {\n ...IdentityBox_identity\n }\n licenseeIdentity {\n ...IdentityBox_identity\n }\n licenseeIsBillingIdentity\n stripePaymentMethod {\n card {\n last4\n brand\n }\n }\n stripePaymentIntent {\n status\n }\n canCompleteWithCoupon\n completedWithCoupon\n}\n\nfragment CartState_order on Order {\n id\n orderItems {\n id\n licenseSelections {\n license {\n id\n }\n licenseVariable {\n id\n }\n licenseOption {\n id\n }\n variableText\n id\n }\n }\n orderVariableSelections {\n orderVariable {\n id\n }\n orderVariableOption {\n id\n }\n countryCode\n id\n }\n}\n\nfragment CartTotals_order on Order {\n subtotal {\n ...Price_price\n }\n discount {\n amount {\n amount\n ...Price_price\n }\n coupon {\n ...CouponText_coupon\n id\n }\n id\n }\n discountedSubtotal {\n ...Price_price\n }\n total {\n amount\n ...Price_price\n }\n taxRate\n taxes {\n ...Price_price\n }\n taxName\n taxNotApplicable\n taxNotApplicableReason\n gstIncluded\n}\n\nfragment Checkout_order on Order {\n canCompleteWithCoupon\n customer {\n name\n email\n newsletterOptIn\n id\n }\n billingIdentity {\n name\n organization\n email\n phoneNullable\n street\n locality\n sublocality\n country\n administrativeArea\n zip\n vatNumber\n }\n licenseeIdentity {\n name\n organization\n email\n phoneNullable\n street\n locality\n sublocality\n country\n administrativeArea\n zip\n vatNumber\n }\n licenseeIsBillingIdentity\n}\n\nfragment CollectionAa_product on SkuProduct {\n __isSkuProduct: __typename\n __typename\n ... on FontCollection {\n featureStyle {\n ...FontStyle_fontStyle\n id\n }\n }\n ... on Bundle {\n fontStyles {\n ...FontStyle_fontStyle\n id\n }\n }\n}\n\nfragment CouponText_coupon on Coupon {\n type\n percentAmount\n creditAmount {\n amount\n currency\n }\n creditAmountRemaining {\n amount\n currency\n }\n}\n\nfragment Download_order on Order {\n id\n archiveUrl\n customer {\n email\n id\n }\n completedWithCoupon\n}\n\nfragment FontStyle_fontStyle on FontStyle {\n cssFamily\n name\n}\n\nfragment IdentityBox_identity on Identity {\n email\n phoneFormatted\n addressFormatted\n vatNumber\n}\n\nfragment Price_price on Money {\n amount\n currency\n}\n\nfragment VariableTableAmounts_option on LicenseOption {\n amounts\n}\n\nfragment VariableTableAmounts_variable on LicenseVariable {\n units\n}\n"
724
746
  }
725
747
  };
726
748
  }();
@@ -0,0 +1,61 @@
1
+ /**
2
+ * @generated SignedSource<<f2bbd4d6155d756aff429c422925d5d2>>
3
+ * @lightSyntaxTransform
4
+ * @nogrep
5
+ */
6
+ import { ConcreteRequest } from 'relay-runtime';
7
+ export type UpdateOrderInput = {
8
+ billingIdentity?: IdentityInput | null;
9
+ licenseeIdentity?: IdentityInput | null;
10
+ licenseeIsBillingIdentity?: boolean | null;
11
+ orderItems?: ReadonlyArray<OrderItemInput | null> | null;
12
+ orderVariableSelections?: ReadonlyArray<OrderVariableSelectionInput> | null;
13
+ stripePaymentMethodId?: string | null;
14
+ stripeTokenId?: string | null;
15
+ };
16
+ export type OrderItemInput = {
17
+ id: string;
18
+ licenseSelections: ReadonlyArray<LicenseSelectionInput | null>;
19
+ };
20
+ export type LicenseSelectionInput = {
21
+ id?: string | null;
22
+ licenseId: string;
23
+ licenseOptionId?: string | null;
24
+ licenseVariableId?: string | null;
25
+ variableText?: string | null;
26
+ };
27
+ export type OrderVariableSelectionInput = {
28
+ countryCode?: string | null;
29
+ orderVariableId: string;
30
+ orderVariableOptionId?: string | null;
31
+ };
32
+ export type IdentityInput = {
33
+ administrativeArea?: string | null;
34
+ country: string;
35
+ email: string;
36
+ locality?: string | null;
37
+ name: string;
38
+ organization?: string | null;
39
+ phone?: string | null;
40
+ sortingCode?: string | null;
41
+ street?: string | null;
42
+ sublocality?: string | null;
43
+ vatNumber?: string | null;
44
+ zip?: string | null;
45
+ };
46
+ export type PrecartClearCartMutation$variables = {
47
+ input: UpdateOrderInput;
48
+ };
49
+ export type PrecartClearCartMutation$data = {
50
+ readonly updateOrder: {
51
+ readonly order: {
52
+ readonly id: string;
53
+ } | null;
54
+ } | null;
55
+ };
56
+ export type PrecartClearCartMutation = {
57
+ response: PrecartClearCartMutation$data;
58
+ variables: PrecartClearCartMutation$variables;
59
+ };
60
+ declare const node: ConcreteRequest;
61
+ export default node;