fontdue-js 0.1.0-alpha3 → 0.1.0-alpha30

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 (147) hide show
  1. package/.nvmrc +1 -0
  2. package/BuyButton.d.ts +3 -0
  3. package/BuyButton.js +1 -0
  4. package/CartButton.d.ts +3 -0
  5. package/CartButton.js +1 -0
  6. package/FontdueProvider.d.ts +3 -0
  7. package/FontdueProvider.js +1 -0
  8. package/NewsletterSignup.d.ts +3 -0
  9. package/NewsletterSignup.js +1 -0
  10. package/README.md +30 -2
  11. package/StoreModal.d.ts +3 -0
  12. package/StoreModal.js +1 -0
  13. package/TestFontsForm.d.ts +3 -0
  14. package/TestFontsForm.js +1 -0
  15. package/TypeTester.d.ts +3 -0
  16. package/TypeTester.js +1 -0
  17. package/TypeTesters.d.ts +3 -0
  18. package/TypeTesters.js +1 -0
  19. package/dist/__generated__/CartOrderApplyCouponMutation.graphql.js +9 -2
  20. package/dist/__generated__/CartOrderCompleteOrderMutation.graphql.js +9 -2
  21. package/dist/__generated__/CartOrderRemoveDiscountMutation.graphql.js +9 -2
  22. package/dist/__generated__/CartOrderUpdateMutation.graphql.js +9 -2
  23. package/dist/__generated__/CartOrder_viewer.graphql.js +7 -3
  24. package/dist/__generated__/CartQuery.graphql.js +16 -5
  25. package/dist/__generated__/CartStateApplyCouponMutation.graphql.js +9 -2
  26. package/dist/__generated__/CartStateRemoveDiscountMutation.graphql.js +9 -2
  27. package/dist/__generated__/CartStateUpdateMutation.graphql.js +9 -2
  28. package/dist/__generated__/CartTotals_order.graphql.d.ts +1 -0
  29. package/dist/__generated__/CartTotals_order.graphql.js +7 -1
  30. package/dist/__generated__/CharacterViewer_Query.graphql.d.ts +16 -0
  31. package/dist/__generated__/CharacterViewer_Query.graphql.js +255 -0
  32. package/dist/__generated__/CharacterViewer_collection.graphql.d.ts +49 -0
  33. package/dist/__generated__/CharacterViewer_collection.graphql.js +135 -0
  34. package/dist/__generated__/CharacterViewer_family.graphql.d.ts +28 -0
  35. package/dist/__generated__/CharacterViewer_family.graphql.js +102 -0
  36. package/dist/__generated__/CheckoutUpdateCustomerMutation.graphql.js +9 -2
  37. package/dist/__generated__/CheckoutUpdateOrderMutation.graphql.js +9 -2
  38. package/dist/__generated__/PrecartAddToCartMutation.graphql.js +9 -2
  39. package/dist/__generated__/StoreModalCartQuery.graphql.js +9 -2
  40. package/dist/__generated__/StoreModalReviewCompleteOrderMutation.graphql.js +9 -2
  41. package/dist/__generated__/StoreModalReviewQuery.graphql.js +9 -2
  42. package/dist/__generated__/TestFontsFormUpdateCustomerMutation.graphql.js +9 -2
  43. package/dist/__generated__/TestFontsForm_Query.graphql.js +18 -9
  44. package/dist/__generated__/TestFontsForm_viewer.graphql.js +69 -57
  45. package/dist/__generated__/TypeTesterData_typeTester.graphql.d.ts +1 -0
  46. package/dist/__generated__/TypeTesterData_typeTester.graphql.js +48 -40
  47. package/dist/__generated__/TypeTesterFloatingToolbar_testers.graphql.d.ts +16 -0
  48. package/dist/__generated__/TypeTesterFloatingToolbar_testers.graphql.js +44 -0
  49. package/dist/__generated__/TypeTestersIDQuery.graphql.d.ts +2 -0
  50. package/dist/__generated__/TypeTestersIDQuery.graphql.js +155 -64
  51. package/dist/__generated__/TypeTestersSlugQuery.graphql.d.ts +2 -0
  52. package/dist/__generated__/TypeTestersSlugQuery.graphql.js +157 -66
  53. package/dist/__generated__/TypeTesters_collection.graphql.d.ts +7 -1
  54. package/dist/__generated__/TypeTesters_collection.graphql.js +49 -5
  55. package/dist/components/AddToCartBanner/index.js +2 -2
  56. package/dist/components/BuyButton/index.d.ts +3 -3
  57. package/dist/components/BuyButton/index.js +0 -18
  58. package/dist/components/Cart/AddressFields.js +2 -2
  59. package/dist/components/Cart/CartItem/VariableTextInput.js +1 -1
  60. package/dist/components/Cart/CartItem/index.js +5 -5
  61. package/dist/components/Cart/CartOrder.js +1 -1
  62. package/dist/components/Cart/CartTotals.js +3 -3
  63. package/dist/components/Cart/Checkout.js +4 -3
  64. package/dist/components/Cart/CustomerFields.js +55 -45
  65. package/dist/components/CharacterViewer/index.d.ts +6 -0
  66. package/dist/components/CharacterViewer/index.js +245 -0
  67. package/dist/components/Checkbox/index.d.ts +4 -0
  68. package/dist/components/{FontLoader → Checkbox}/index.js +17 -47
  69. package/dist/components/ConfigContext.d.ts +6 -0
  70. package/dist/components/CouponText/index.js +1 -1
  71. package/dist/components/Family/index.js +1 -1
  72. package/dist/components/FontStyle/index.js +1 -1
  73. package/dist/components/FontdueProvider/index.d.ts +2 -2
  74. package/dist/components/Icons/Align.d.ts +4 -0
  75. package/dist/components/Icons/Align.js +63 -0
  76. package/dist/components/Icons/CheckboxCrossed.d.ts +3 -0
  77. package/dist/components/Icons/CheckboxCrossed.js +30 -0
  78. package/dist/components/Icons/index.d.ts +1 -0
  79. package/dist/components/Icons/index.js +8 -0
  80. package/dist/components/NewsletterSignup/index.d.ts +2 -0
  81. package/dist/components/NewsletterSignup/index.js +4 -2
  82. package/dist/components/Price/index.js +1 -1
  83. package/dist/components/PriceBar/PriceBarSection.js +2 -2
  84. package/dist/components/Root/index.d.ts +4 -0
  85. package/dist/components/Root/index.js +94 -50
  86. package/dist/components/Root/productState.js +1 -1
  87. package/dist/components/Select/index.d.ts +11 -0
  88. package/dist/components/Select/index.js +44 -0
  89. package/dist/components/StoreModal/StoreModalCart.js +8 -3
  90. package/dist/components/StoreModal/StoreModalCheckout.js +6 -2
  91. package/dist/components/StoreModal/StoreModalFamilyButton.js +4 -4
  92. package/dist/components/StoreModal/StoreModalIndex.js +28 -16
  93. package/dist/components/StoreModal/StoreModalProduct.js +9 -3
  94. package/dist/components/StoreModal/createRouter.js +0 -1
  95. package/dist/components/StoreModal/types.d.ts +4 -0
  96. package/dist/components/StoreModal/types.js +5 -0
  97. package/dist/components/StoreModalProductLicenseSelection/LicenseElement.js +24 -12
  98. package/dist/components/StoreModalProductLicenseSelection/StoreModalProductLicense.js +1 -1
  99. package/dist/components/StoreModalProductLicenseSelection/index.js +1 -1
  100. package/dist/components/StoreModalProductSummary/index.js +3 -1
  101. package/dist/components/TestFontsForm/index.d.ts +2 -1
  102. package/dist/components/TestFontsForm/index.js +25 -28
  103. package/dist/components/ThemeConfig/index.js +1 -1
  104. package/dist/components/TypeTester/TypeTesterAlignButtons.d.ts +8 -0
  105. package/dist/components/TypeTester/TypeTesterAlignButtons.js +39 -0
  106. package/dist/components/TypeTester/TypeTesterContent.d.ts +7 -2
  107. package/dist/components/TypeTester/TypeTesterContent.js +22 -6
  108. package/dist/components/TypeTester/TypeTesterContext.d.ts +51 -7
  109. package/dist/components/TypeTester/TypeTesterContext.js +119 -9
  110. package/dist/components/TypeTester/TypeTesterFeatures.d.ts +1 -2
  111. package/dist/components/TypeTester/TypeTesterFeatures.js +113 -15
  112. package/dist/components/TypeTester/TypeTesterFeaturesButton.js +2 -1
  113. package/dist/components/TypeTester/TypeTesterFloatingToolbar.d.ts +8 -0
  114. package/dist/components/TypeTester/TypeTesterFloatingToolbar.js +93 -0
  115. package/dist/components/TypeTester/TypeTesterInput.js +1 -1
  116. package/dist/components/TypeTester/TypeTesterStandalone.d.ts +4 -0
  117. package/dist/components/TypeTester/TypeTesterStandalone.js +19 -7
  118. package/dist/components/TypeTester/TypeTesterState.d.ts +23 -25
  119. package/dist/components/TypeTester/TypeTesterState.js +69 -71
  120. package/dist/components/TypeTester/TypeTesterStyleSelect.js +20 -26
  121. package/dist/components/TypeTester/TypeTesterStyleSelectData.d.ts +1 -1
  122. package/dist/components/TypeTester/TypeTesterStyleSelectData.js +3 -1
  123. package/dist/components/TypeTester/TypeTesterToolbar.d.ts +9 -0
  124. package/dist/components/TypeTester/TypeTesterToolbar.js +57 -0
  125. package/dist/components/TypeTester/index.d.ts +20 -6
  126. package/dist/components/TypeTester/index.js +121 -112
  127. package/dist/components/TypeTester/types.d.ts +1 -0
  128. package/dist/components/TypeTester/useTypeTesterStyler.d.ts +4 -1
  129. package/dist/components/TypeTester/useTypeTesterStyler.js +24 -13
  130. package/dist/components/TypeTesterData/index.js +2 -1
  131. package/dist/components/TypeTesters/index.d.ts +9 -4
  132. package/dist/components/TypeTesters/index.js +80 -26
  133. package/dist/components/elements/EmptyCart/index.js +1 -3
  134. package/dist/components/elements/StoreModalIndexItem/index.js +18 -16
  135. package/dist/components/elements/StoreModalReviewConfirm/index.js +7 -1
  136. package/dist/components/elements/StoreModalReviewLayout/index.js +1 -1
  137. package/dist/components/useFontStyle.js +1 -1
  138. package/dist/relay-environment.js +1 -1
  139. package/dist/utils.js +3 -3
  140. package/dist/vanilla/FontStyle.js +1 -1
  141. package/fontdue.css +1654 -1059
  142. package/fontdue.css.map +1 -0
  143. package/package.json +14 -12
  144. package/useFontStyle.d.ts +3 -0
  145. package/useFontStyle.js +1 -0
  146. package/dist/index.js +0 -63
  147. package/dist/type-tester.js +0 -23
package/.nvmrc ADDED
@@ -0,0 +1 @@
1
+ v14.13.1
package/BuyButton.d.ts ADDED
@@ -0,0 +1,3 @@
1
+ import BuyButton from './dist/components/BuyButton';
2
+ export * from './dist/components/BuyButton';
3
+ export default BuyButton;
package/BuyButton.js ADDED
@@ -0,0 +1 @@
1
+ module.exports = require('./dist/components/BuyButton');
@@ -0,0 +1,3 @@
1
+ import CartButton from './dist/components/CartButton';
2
+ export * from './dist/components/CartButton';
3
+ export default CartButton;
package/CartButton.js ADDED
@@ -0,0 +1 @@
1
+ module.exports = require('./dist/components/CartButton');
@@ -0,0 +1,3 @@
1
+ import FontdueProvider from './dist/components/FontdueProvider';
2
+ export * from './dist/components/FontdueProvider';
3
+ export default FontdueProvider;
@@ -0,0 +1 @@
1
+ module.exports = require('./dist/components/FontdueProvider');
@@ -0,0 +1,3 @@
1
+ import NewsletterSignup from './dist/components/NewsletterSignup';
2
+ export * from './dist/components/NewsletterSignup';
3
+ export default NewsletterSignup;
@@ -0,0 +1 @@
1
+ module.exports = require('./dist/components/NewsletterSignup');
package/README.md CHANGED
@@ -1,5 +1,33 @@
1
1
  # fontdue-js
2
2
 
3
- [Fontdue.js](https://docs.fontdue.com) components for use in React projects.
3
+ This package exports [Fontdue.js](https://docs.fontdue.com) componnets for React projects.
4
4
 
5
- This is currently alpha software.
5
+ ## Usage
6
+
7
+ 1. Wrap the root of your project with the [`FontdueProvider`](#fontdueprovider) component. For example in a Next.js app, add it to your `_app.tsx`.
8
+ 2. Replace the `url` property with your Fontdue store URL.
9
+ 3. Render the [`StoreModal`](#storemodal) component so that is it available on every page.
10
+ 4. Import the `fontdue-js/fontdue.css` CSS file. (This example uses Next.js)
11
+
12
+ ```tsx
13
+ import type { AppProps } from 'next/app';
14
+ import Head from 'next/head';
15
+ import React from 'react';
16
+ import FontdueProvider from 'fontdue-js/dist/components/FontdueProvider';
17
+ import StoreModal from 'fontdue-js/dist/components/StoreModal';
18
+ import 'fontdue-js/fontdue.css';
19
+
20
+ function MyApp({ Component, pageProps }: AppProps) {
21
+ return (
22
+ <React.Fragment>
23
+ <FontdueProvider url="https://example.fontdue.com" config={{}}>
24
+ <Component {...pageProps} />
25
+
26
+ <StoreModal />
27
+ </FontdueProvider>
28
+ </React.Fragment>
29
+ );
30
+ }
31
+
32
+ export default MyApp;
33
+ ```
@@ -0,0 +1,3 @@
1
+ import StoreModal from './dist/components/StoreModal';
2
+ export * from './dist/components/StoreModal';
3
+ export default StoreModal;
package/StoreModal.js ADDED
@@ -0,0 +1 @@
1
+ module.exports = require('./dist/components/StoreModal');
@@ -0,0 +1,3 @@
1
+ import TestFontsForm from './dist/components/TestFontsForm';
2
+ export * from './dist/components/TestFontsForm';
3
+ export default TestFontsForm;
@@ -0,0 +1 @@
1
+ module.exports = require('./dist/components/TestFontsForm');
@@ -0,0 +1,3 @@
1
+ import TypeTesterStandalone from './dist/components/TypeTester/TypeTesterStandalone';
2
+ export * from './dist/components/TypeTester/TypeTesterStandalone';
3
+ export default TypeTesterStandalone;
package/TypeTester.js ADDED
@@ -0,0 +1 @@
1
+ module.exports = require('./dist/components/TypeTester/TypeTesterStandalone');
@@ -0,0 +1,3 @@
1
+ import TypeTesters from './dist/components/TypeTesters';
2
+ export * from './dist/components/TypeTesters';
3
+ export default TypeTesters;
package/TypeTesters.js ADDED
@@ -0,0 +1 @@
1
+ module.exports = require('./dist/components/TypeTesters');
@@ -167,6 +167,7 @@ fragment CartTotals_order on Order {
167
167
  ...Price_price
168
168
  }
169
169
  isVatTax
170
+ gstIncluded
170
171
  }
171
172
 
172
173
  fragment Checkout_order on Order {
@@ -696,6 +697,12 @@ const node = function () {
696
697
  "kind": "ScalarField",
697
698
  "name": "isVatTax",
698
699
  "storageKey": null
700
+ }, {
701
+ "alias": null,
702
+ "args": null,
703
+ "kind": "ScalarField",
704
+ "name": "gstIncluded",
705
+ "storageKey": null
699
706
  }, {
700
707
  "alias": null,
701
708
  "args": null,
@@ -994,12 +1001,12 @@ const node = function () {
994
1001
  }]
995
1002
  },
996
1003
  "params": {
997
- "cacheID": "462dcaebd35a230c9ec981fb34235916",
1004
+ "cacheID": "5f276290a3daf13c2f37cac95572d49a",
998
1005
  "id": null,
999
1006
  "metadata": {},
1000
1007
  "name": "CartOrderApplyCouponMutation",
1001
1008
  "operationKind": "mutation",
1002
- "text": "mutation CartOrderApplyCouponMutation(\n $input: ApplyCouponInput!\n) {\n applyCoupon(input: $input) {\n order {\n ...CartOrder_order\n id\n }\n }\n}\n\nfragment CartItem_node on OrderItem {\n id\n price {\n ...Price_price\n }\n sku {\n price {\n ...Price_price\n }\n product {\n __typename\n __isSkuProduct: __typename\n ...CollectionAa_product\n ...FontStyle_fontStyle\n ... on FontStyle {\n family {\n name\n cssUrl\n id\n }\n name\n }\n ... on Bundle {\n name\n }\n ... on FontCollection {\n name\n totalStyles\n featureStyle {\n family {\n cssUrl\n id\n }\n id\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n id\n }\n licenseSelections {\n id\n license {\n id\n name\n multiplier\n }\n variable: licenseVariable {\n id\n variableType\n ...VariableTableAmounts_variable\n }\n option: licenseOption {\n id\n amount\n multiplier\n name\n ...VariableTableAmounts_option\n }\n variableText\n }\n}\n\nfragment CartOrder_order on Order {\n ...Checkout_order\n ...Download_order\n ...CouponCodeInput_order\n ...CartTotals_order\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 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 clientSecret\n }\n canCompleteWithCoupon\n completedWithCoupon\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 taxes {\n ...Price_price\n }\n isVatTax\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 phone\n street\n locality\n sublocality\n country\n administrativeArea\n zip\n vatNumber\n }\n licenseeIdentity {\n name\n organization\n email\n phone\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 families: children(collectionTypes: [FAMILY]) {\n fontStyles {\n ...FontStyle_fontStyle\n id\n }\n id\n }\n }\n ... on Bundle {\n fontStyles {\n ...FontStyle_fontStyle\n id\n }\n }\n}\n\nfragment CouponCodeInput_order on Order {\n id\n}\n\nfragment CouponText_coupon on Coupon {\n type\n percentAmount\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"
1009
+ "text": "mutation CartOrderApplyCouponMutation(\n $input: ApplyCouponInput!\n) {\n applyCoupon(input: $input) {\n order {\n ...CartOrder_order\n id\n }\n }\n}\n\nfragment CartItem_node on OrderItem {\n id\n price {\n ...Price_price\n }\n sku {\n price {\n ...Price_price\n }\n product {\n __typename\n __isSkuProduct: __typename\n ...CollectionAa_product\n ...FontStyle_fontStyle\n ... on FontStyle {\n family {\n name\n cssUrl\n id\n }\n name\n }\n ... on Bundle {\n name\n }\n ... on FontCollection {\n name\n totalStyles\n featureStyle {\n family {\n cssUrl\n id\n }\n id\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n id\n }\n licenseSelections {\n id\n license {\n id\n name\n multiplier\n }\n variable: licenseVariable {\n id\n variableType\n ...VariableTableAmounts_variable\n }\n option: licenseOption {\n id\n amount\n multiplier\n name\n ...VariableTableAmounts_option\n }\n variableText\n }\n}\n\nfragment CartOrder_order on Order {\n ...Checkout_order\n ...Download_order\n ...CouponCodeInput_order\n ...CartTotals_order\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 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 clientSecret\n }\n canCompleteWithCoupon\n completedWithCoupon\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 taxes {\n ...Price_price\n }\n isVatTax\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 phone\n street\n locality\n sublocality\n country\n administrativeArea\n zip\n vatNumber\n }\n licenseeIdentity {\n name\n organization\n email\n phone\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 families: children(collectionTypes: [FAMILY]) {\n fontStyles {\n ...FontStyle_fontStyle\n id\n }\n id\n }\n }\n ... on Bundle {\n fontStyles {\n ...FontStyle_fontStyle\n id\n }\n }\n}\n\nfragment CouponCodeInput_order on Order {\n id\n}\n\nfragment CouponText_coupon on Coupon {\n type\n percentAmount\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"
1003
1010
  }
1004
1011
  };
1005
1012
  }();
@@ -166,6 +166,7 @@ fragment CartTotals_order on Order {
166
166
  ...Price_price
167
167
  }
168
168
  isVatTax
169
+ gstIncluded
169
170
  }
170
171
 
171
172
  fragment Checkout_order on Order {
@@ -686,6 +687,12 @@ const node = function () {
686
687
  "kind": "ScalarField",
687
688
  "name": "isVatTax",
688
689
  "storageKey": null
690
+ }, {
691
+ "alias": null,
692
+ "args": null,
693
+ "kind": "ScalarField",
694
+ "name": "gstIncluded",
695
+ "storageKey": null
689
696
  }, {
690
697
  "alias": null,
691
698
  "args": null,
@@ -986,12 +993,12 @@ const node = function () {
986
993
  }]
987
994
  },
988
995
  "params": {
989
- "cacheID": "e64ae0f155b0e0028842770d79884de6",
996
+ "cacheID": "4fbcd447d226f9ea662410efc57a8e44",
990
997
  "id": null,
991
998
  "metadata": {},
992
999
  "name": "CartOrderCompleteOrderMutation",
993
1000
  "operationKind": "mutation",
994
- "text": "mutation CartOrderCompleteOrderMutation {\n completeOrder {\n order {\n ...CartOrder_order\n id\n }\n requiresAction\n }\n}\n\nfragment CartItem_node on OrderItem {\n id\n price {\n ...Price_price\n }\n sku {\n price {\n ...Price_price\n }\n product {\n __typename\n __isSkuProduct: __typename\n ...CollectionAa_product\n ...FontStyle_fontStyle\n ... on FontStyle {\n family {\n name\n cssUrl\n id\n }\n name\n }\n ... on Bundle {\n name\n }\n ... on FontCollection {\n name\n totalStyles\n featureStyle {\n family {\n cssUrl\n id\n }\n id\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n id\n }\n licenseSelections {\n id\n license {\n id\n name\n multiplier\n }\n variable: licenseVariable {\n id\n variableType\n ...VariableTableAmounts_variable\n }\n option: licenseOption {\n id\n amount\n multiplier\n name\n ...VariableTableAmounts_option\n }\n variableText\n }\n}\n\nfragment CartOrder_order on Order {\n ...Checkout_order\n ...Download_order\n ...CouponCodeInput_order\n ...CartTotals_order\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 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 clientSecret\n }\n canCompleteWithCoupon\n completedWithCoupon\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 taxes {\n ...Price_price\n }\n isVatTax\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 phone\n street\n locality\n sublocality\n country\n administrativeArea\n zip\n vatNumber\n }\n licenseeIdentity {\n name\n organization\n email\n phone\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 families: children(collectionTypes: [FAMILY]) {\n fontStyles {\n ...FontStyle_fontStyle\n id\n }\n id\n }\n }\n ... on Bundle {\n fontStyles {\n ...FontStyle_fontStyle\n id\n }\n }\n}\n\nfragment CouponCodeInput_order on Order {\n id\n}\n\nfragment CouponText_coupon on Coupon {\n type\n percentAmount\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"
1001
+ "text": "mutation CartOrderCompleteOrderMutation {\n completeOrder {\n order {\n ...CartOrder_order\n id\n }\n requiresAction\n }\n}\n\nfragment CartItem_node on OrderItem {\n id\n price {\n ...Price_price\n }\n sku {\n price {\n ...Price_price\n }\n product {\n __typename\n __isSkuProduct: __typename\n ...CollectionAa_product\n ...FontStyle_fontStyle\n ... on FontStyle {\n family {\n name\n cssUrl\n id\n }\n name\n }\n ... on Bundle {\n name\n }\n ... on FontCollection {\n name\n totalStyles\n featureStyle {\n family {\n cssUrl\n id\n }\n id\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n id\n }\n licenseSelections {\n id\n license {\n id\n name\n multiplier\n }\n variable: licenseVariable {\n id\n variableType\n ...VariableTableAmounts_variable\n }\n option: licenseOption {\n id\n amount\n multiplier\n name\n ...VariableTableAmounts_option\n }\n variableText\n }\n}\n\nfragment CartOrder_order on Order {\n ...Checkout_order\n ...Download_order\n ...CouponCodeInput_order\n ...CartTotals_order\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 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 clientSecret\n }\n canCompleteWithCoupon\n completedWithCoupon\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 taxes {\n ...Price_price\n }\n isVatTax\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 phone\n street\n locality\n sublocality\n country\n administrativeArea\n zip\n vatNumber\n }\n licenseeIdentity {\n name\n organization\n email\n phone\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 families: children(collectionTypes: [FAMILY]) {\n fontStyles {\n ...FontStyle_fontStyle\n id\n }\n id\n }\n }\n ... on Bundle {\n fontStyles {\n ...FontStyle_fontStyle\n id\n }\n }\n}\n\nfragment CouponCodeInput_order on Order {\n id\n}\n\nfragment CouponText_coupon on Coupon {\n type\n percentAmount\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"
995
1002
  }
996
1003
  };
997
1004
  }();
@@ -165,6 +165,7 @@ fragment CartTotals_order on Order {
165
165
  ...Price_price
166
166
  }
167
167
  isVatTax
168
+ gstIncluded
168
169
  }
169
170
 
170
171
  fragment Checkout_order on Order {
@@ -676,6 +677,12 @@ const node = function () {
676
677
  "kind": "ScalarField",
677
678
  "name": "isVatTax",
678
679
  "storageKey": null
680
+ }, {
681
+ "alias": null,
682
+ "args": null,
683
+ "kind": "ScalarField",
684
+ "name": "gstIncluded",
685
+ "storageKey": null
679
686
  }, {
680
687
  "alias": null,
681
688
  "args": null,
@@ -974,12 +981,12 @@ const node = function () {
974
981
  }]
975
982
  },
976
983
  "params": {
977
- "cacheID": "73de223ade6d729f6b81cf1a8a10de24",
984
+ "cacheID": "49d4ce604267dc51fd45bad88e584910",
978
985
  "id": null,
979
986
  "metadata": {},
980
987
  "name": "CartOrderRemoveDiscountMutation",
981
988
  "operationKind": "mutation",
982
- "text": "mutation CartOrderRemoveDiscountMutation {\n removeDiscount {\n order {\n ...CartOrder_order\n id\n }\n }\n}\n\nfragment CartItem_node on OrderItem {\n id\n price {\n ...Price_price\n }\n sku {\n price {\n ...Price_price\n }\n product {\n __typename\n __isSkuProduct: __typename\n ...CollectionAa_product\n ...FontStyle_fontStyle\n ... on FontStyle {\n family {\n name\n cssUrl\n id\n }\n name\n }\n ... on Bundle {\n name\n }\n ... on FontCollection {\n name\n totalStyles\n featureStyle {\n family {\n cssUrl\n id\n }\n id\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n id\n }\n licenseSelections {\n id\n license {\n id\n name\n multiplier\n }\n variable: licenseVariable {\n id\n variableType\n ...VariableTableAmounts_variable\n }\n option: licenseOption {\n id\n amount\n multiplier\n name\n ...VariableTableAmounts_option\n }\n variableText\n }\n}\n\nfragment CartOrder_order on Order {\n ...Checkout_order\n ...Download_order\n ...CouponCodeInput_order\n ...CartTotals_order\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 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 clientSecret\n }\n canCompleteWithCoupon\n completedWithCoupon\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 taxes {\n ...Price_price\n }\n isVatTax\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 phone\n street\n locality\n sublocality\n country\n administrativeArea\n zip\n vatNumber\n }\n licenseeIdentity {\n name\n organization\n email\n phone\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 families: children(collectionTypes: [FAMILY]) {\n fontStyles {\n ...FontStyle_fontStyle\n id\n }\n id\n }\n }\n ... on Bundle {\n fontStyles {\n ...FontStyle_fontStyle\n id\n }\n }\n}\n\nfragment CouponCodeInput_order on Order {\n id\n}\n\nfragment CouponText_coupon on Coupon {\n type\n percentAmount\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"
989
+ "text": "mutation CartOrderRemoveDiscountMutation {\n removeDiscount {\n order {\n ...CartOrder_order\n id\n }\n }\n}\n\nfragment CartItem_node on OrderItem {\n id\n price {\n ...Price_price\n }\n sku {\n price {\n ...Price_price\n }\n product {\n __typename\n __isSkuProduct: __typename\n ...CollectionAa_product\n ...FontStyle_fontStyle\n ... on FontStyle {\n family {\n name\n cssUrl\n id\n }\n name\n }\n ... on Bundle {\n name\n }\n ... on FontCollection {\n name\n totalStyles\n featureStyle {\n family {\n cssUrl\n id\n }\n id\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n id\n }\n licenseSelections {\n id\n license {\n id\n name\n multiplier\n }\n variable: licenseVariable {\n id\n variableType\n ...VariableTableAmounts_variable\n }\n option: licenseOption {\n id\n amount\n multiplier\n name\n ...VariableTableAmounts_option\n }\n variableText\n }\n}\n\nfragment CartOrder_order on Order {\n ...Checkout_order\n ...Download_order\n ...CouponCodeInput_order\n ...CartTotals_order\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 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 clientSecret\n }\n canCompleteWithCoupon\n completedWithCoupon\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 taxes {\n ...Price_price\n }\n isVatTax\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 phone\n street\n locality\n sublocality\n country\n administrativeArea\n zip\n vatNumber\n }\n licenseeIdentity {\n name\n organization\n email\n phone\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 families: children(collectionTypes: [FAMILY]) {\n fontStyles {\n ...FontStyle_fontStyle\n id\n }\n id\n }\n }\n ... on Bundle {\n fontStyles {\n ...FontStyle_fontStyle\n id\n }\n }\n}\n\nfragment CouponCodeInput_order on Order {\n id\n}\n\nfragment CouponText_coupon on Coupon {\n type\n percentAmount\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"
983
990
  }
984
991
  };
985
992
  }();
@@ -172,6 +172,7 @@ fragment CartTotals_order on Order {
172
172
  ...Price_price
173
173
  }
174
174
  isVatTax
175
+ gstIncluded
175
176
  }
176
177
 
177
178
  fragment Checkout_order on Order {
@@ -728,6 +729,12 @@ const node = function () {
728
729
  "kind": "ScalarField",
729
730
  "name": "isVatTax",
730
731
  "storageKey": null
732
+ }, {
733
+ "alias": null,
734
+ "args": null,
735
+ "kind": "ScalarField",
736
+ "name": "gstIncluded",
737
+ "storageKey": null
731
738
  }, {
732
739
  "alias": null,
733
740
  "args": null,
@@ -1028,12 +1035,12 @@ const node = function () {
1028
1035
  }]
1029
1036
  },
1030
1037
  "params": {
1031
- "cacheID": "ac9d15ab2ddb02533cbae3d4242527c5",
1038
+ "cacheID": "76e1eeee28e4dd09a6af4bedcfc55e62",
1032
1039
  "id": null,
1033
1040
  "metadata": {},
1034
1041
  "name": "CartOrderUpdateMutation",
1035
1042
  "operationKind": "mutation",
1036
- "text": "mutation CartOrderUpdateMutation(\n $input: UpdateOrderInput!\n) {\n updateOrder(input: $input) {\n order {\n ...CartOrder_order\n id\n }\n errors {\n orderItems {\n licenseSelections\n }\n }\n }\n}\n\nfragment CartItem_node on OrderItem {\n id\n price {\n ...Price_price\n }\n sku {\n price {\n ...Price_price\n }\n product {\n __typename\n __isSkuProduct: __typename\n ...CollectionAa_product\n ...FontStyle_fontStyle\n ... on FontStyle {\n family {\n name\n cssUrl\n id\n }\n name\n }\n ... on Bundle {\n name\n }\n ... on FontCollection {\n name\n totalStyles\n featureStyle {\n family {\n cssUrl\n id\n }\n id\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n id\n }\n licenseSelections {\n id\n license {\n id\n name\n multiplier\n }\n variable: licenseVariable {\n id\n variableType\n ...VariableTableAmounts_variable\n }\n option: licenseOption {\n id\n amount\n multiplier\n name\n ...VariableTableAmounts_option\n }\n variableText\n }\n}\n\nfragment CartOrder_order on Order {\n ...Checkout_order\n ...Download_order\n ...CouponCodeInput_order\n ...CartTotals_order\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 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 clientSecret\n }\n canCompleteWithCoupon\n completedWithCoupon\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 taxes {\n ...Price_price\n }\n isVatTax\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 phone\n street\n locality\n sublocality\n country\n administrativeArea\n zip\n vatNumber\n }\n licenseeIdentity {\n name\n organization\n email\n phone\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 families: children(collectionTypes: [FAMILY]) {\n fontStyles {\n ...FontStyle_fontStyle\n id\n }\n id\n }\n }\n ... on Bundle {\n fontStyles {\n ...FontStyle_fontStyle\n id\n }\n }\n}\n\nfragment CouponCodeInput_order on Order {\n id\n}\n\nfragment CouponText_coupon on Coupon {\n type\n percentAmount\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"
1043
+ "text": "mutation CartOrderUpdateMutation(\n $input: UpdateOrderInput!\n) {\n updateOrder(input: $input) {\n order {\n ...CartOrder_order\n id\n }\n errors {\n orderItems {\n licenseSelections\n }\n }\n }\n}\n\nfragment CartItem_node on OrderItem {\n id\n price {\n ...Price_price\n }\n sku {\n price {\n ...Price_price\n }\n product {\n __typename\n __isSkuProduct: __typename\n ...CollectionAa_product\n ...FontStyle_fontStyle\n ... on FontStyle {\n family {\n name\n cssUrl\n id\n }\n name\n }\n ... on Bundle {\n name\n }\n ... on FontCollection {\n name\n totalStyles\n featureStyle {\n family {\n cssUrl\n id\n }\n id\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n id\n }\n licenseSelections {\n id\n license {\n id\n name\n multiplier\n }\n variable: licenseVariable {\n id\n variableType\n ...VariableTableAmounts_variable\n }\n option: licenseOption {\n id\n amount\n multiplier\n name\n ...VariableTableAmounts_option\n }\n variableText\n }\n}\n\nfragment CartOrder_order on Order {\n ...Checkout_order\n ...Download_order\n ...CouponCodeInput_order\n ...CartTotals_order\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 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 clientSecret\n }\n canCompleteWithCoupon\n completedWithCoupon\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 taxes {\n ...Price_price\n }\n isVatTax\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 phone\n street\n locality\n sublocality\n country\n administrativeArea\n zip\n vatNumber\n }\n licenseeIdentity {\n name\n organization\n email\n phone\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 families: children(collectionTypes: [FAMILY]) {\n fontStyles {\n ...FontStyle_fontStyle\n id\n }\n id\n }\n }\n ... on Bundle {\n fontStyles {\n ...FontStyle_fontStyle\n id\n }\n }\n}\n\nfragment CouponCodeInput_order on Order {\n id\n}\n\nfragment CouponText_coupon on Coupon {\n type\n percentAmount\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"
1037
1044
  }
1038
1045
  };
1039
1046
  }();
@@ -23,10 +23,14 @@ const node = {
23
23
  "plural": false,
24
24
  "selections": [{
25
25
  "alias": null,
26
- "args": null,
26
+ "args": [{
27
+ "kind": "Literal",
28
+ "name": "format",
29
+ "value": "HTML"
30
+ }],
27
31
  "kind": "ScalarField",
28
32
  "name": "eulaAgreementLabel",
29
- "storageKey": null
33
+ "storageKey": "eulaAgreementLabel(format:\"HTML\")"
30
34
  }],
31
35
  "storageKey": null
32
36
  }, {
@@ -45,6 +49,6 @@ const node = {
45
49
  "type": "Viewer",
46
50
  "abstractKey": null
47
51
  };
48
- node.hash = '36c43f66f63cc09172ea336dfb04663d';
52
+ node.hash = '43e3f6416c11542af964035f3c40bade';
49
53
  var _default = node;
50
54
  exports.default = _default;
@@ -165,7 +165,7 @@ fragment CartOrder_viewer on Viewer {
165
165
  ...CartItem_viewer
166
166
  ...Checkout_viewer
167
167
  settings {
168
- eulaAgreementLabel
168
+ eulaAgreementLabel(format: HTML)
169
169
  }
170
170
  }
171
171
 
@@ -195,6 +195,7 @@ fragment CartTotals_order on Order {
195
195
  ...Price_price
196
196
  }
197
197
  isVatTax
198
+ gstIncluded
198
199
  }
199
200
 
200
201
  fragment Cart_viewer on Viewer {
@@ -565,10 +566,14 @@ const node = function () {
565
566
  "storageKey": null
566
567
  }, {
567
568
  "alias": null,
568
- "args": null,
569
+ "args": [{
570
+ "kind": "Literal",
571
+ "name": "format",
572
+ "value": "HTML"
573
+ }],
569
574
  "kind": "ScalarField",
570
575
  "name": "eulaAgreementLabel",
571
- "storageKey": null
576
+ "storageKey": "eulaAgreementLabel(format:\"HTML\")"
572
577
  }],
573
578
  "storageKey": null
574
579
  }, {
@@ -853,6 +858,12 @@ const node = function () {
853
858
  "kind": "ScalarField",
854
859
  "name": "isVatTax",
855
860
  "storageKey": null
861
+ }, {
862
+ "alias": null,
863
+ "args": null,
864
+ "kind": "ScalarField",
865
+ "name": "gstIncluded",
866
+ "storageKey": null
856
867
  }, {
857
868
  "alias": null,
858
869
  "args": null,
@@ -1153,12 +1164,12 @@ const node = function () {
1153
1164
  }]
1154
1165
  },
1155
1166
  "params": {
1156
- "cacheID": "28649606897980b0116e51fb9bf61619",
1167
+ "cacheID": "6d2cccc94493648a20e0b16441b2cdc6",
1157
1168
  "id": null,
1158
1169
  "metadata": {},
1159
1170
  "name": "CartQuery",
1160
1171
  "operationKind": "query",
1161
- "text": "query CartQuery {\n viewer {\n ...Cart_viewer\n id\n }\n}\n\nfragment AddressFields_viewer on Viewer {\n countries {\n code\n name\n }\n}\n\nfragment CartItem_node on OrderItem {\n id\n price {\n ...Price_price\n }\n sku {\n price {\n ...Price_price\n }\n product {\n __typename\n __isSkuProduct: __typename\n ...CollectionAa_product\n ...FontStyle_fontStyle\n ... on FontStyle {\n family {\n name\n cssUrl\n id\n }\n name\n }\n ... on Bundle {\n name\n }\n ... on FontCollection {\n name\n totalStyles\n featureStyle {\n family {\n cssUrl\n id\n }\n id\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n id\n }\n licenseSelections {\n id\n license {\n id\n name\n multiplier\n }\n variable: licenseVariable {\n id\n variableType\n ...VariableTableAmounts_variable\n }\n option: licenseOption {\n id\n amount\n multiplier\n name\n ...VariableTableAmounts_option\n }\n variableText\n }\n}\n\nfragment CartItem_viewer on Viewer {\n licenses(licenseTypes: [RETAIL]) {\n id\n name\n variables: licenseVariables {\n id\n name\n variableType\n options: licenseOptions {\n id\n amount\n name\n }\n }\n }\n}\n\nfragment CartOrder_order on Order {\n ...Checkout_order\n ...Download_order\n ...CouponCodeInput_order\n ...CartTotals_order\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 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 clientSecret\n }\n canCompleteWithCoupon\n completedWithCoupon\n}\n\nfragment CartOrder_viewer on Viewer {\n ...CartItem_viewer\n ...Checkout_viewer\n settings {\n eulaAgreementLabel\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 taxes {\n ...Price_price\n }\n isVatTax\n}\n\nfragment Cart_viewer on Viewer {\n ...StripeProvider_viewer\n ...CartOrder_viewer\n currentOrder {\n ...CartOrder_order\n id\n }\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 phone\n street\n locality\n sublocality\n country\n administrativeArea\n zip\n vatNumber\n }\n licenseeIdentity {\n name\n organization\n email\n phone\n street\n locality\n sublocality\n country\n administrativeArea\n zip\n vatNumber\n }\n licenseeIsBillingIdentity\n}\n\nfragment Checkout_viewer on Viewer {\n ...AddressFields_viewer\n settings {\n uiFontName\n newsletterOptInLabel\n }\n themeConfig {\n customProperties\n }\n}\n\nfragment CollectionAa_product on SkuProduct {\n __isSkuProduct: __typename\n __typename\n ... on FontCollection {\n featureStyle {\n ...FontStyle_fontStyle\n id\n }\n families: children(collectionTypes: [FAMILY]) {\n fontStyles {\n ...FontStyle_fontStyle\n id\n }\n id\n }\n }\n ... on Bundle {\n fontStyles {\n ...FontStyle_fontStyle\n id\n }\n }\n}\n\nfragment CouponCodeInput_order on Order {\n id\n}\n\nfragment CouponText_coupon on Coupon {\n type\n percentAmount\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 StripeProvider_viewer on Viewer {\n settings {\n uiFontUrl\n }\n stripeCredentials {\n stripePublishableKey\n }\n}\n\nfragment VariableTableAmounts_option on LicenseOption {\n amounts\n}\n\nfragment VariableTableAmounts_variable on LicenseVariable {\n units\n}\n"
1172
+ "text": "query CartQuery {\n viewer {\n ...Cart_viewer\n id\n }\n}\n\nfragment AddressFields_viewer on Viewer {\n countries {\n code\n name\n }\n}\n\nfragment CartItem_node on OrderItem {\n id\n price {\n ...Price_price\n }\n sku {\n price {\n ...Price_price\n }\n product {\n __typename\n __isSkuProduct: __typename\n ...CollectionAa_product\n ...FontStyle_fontStyle\n ... on FontStyle {\n family {\n name\n cssUrl\n id\n }\n name\n }\n ... on Bundle {\n name\n }\n ... on FontCollection {\n name\n totalStyles\n featureStyle {\n family {\n cssUrl\n id\n }\n id\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n id\n }\n licenseSelections {\n id\n license {\n id\n name\n multiplier\n }\n variable: licenseVariable {\n id\n variableType\n ...VariableTableAmounts_variable\n }\n option: licenseOption {\n id\n amount\n multiplier\n name\n ...VariableTableAmounts_option\n }\n variableText\n }\n}\n\nfragment CartItem_viewer on Viewer {\n licenses(licenseTypes: [RETAIL]) {\n id\n name\n variables: licenseVariables {\n id\n name\n variableType\n options: licenseOptions {\n id\n amount\n name\n }\n }\n }\n}\n\nfragment CartOrder_order on Order {\n ...Checkout_order\n ...Download_order\n ...CouponCodeInput_order\n ...CartTotals_order\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 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 clientSecret\n }\n canCompleteWithCoupon\n completedWithCoupon\n}\n\nfragment CartOrder_viewer on Viewer {\n ...CartItem_viewer\n ...Checkout_viewer\n settings {\n eulaAgreementLabel(format: HTML)\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 taxes {\n ...Price_price\n }\n isVatTax\n gstIncluded\n}\n\nfragment Cart_viewer on Viewer {\n ...StripeProvider_viewer\n ...CartOrder_viewer\n currentOrder {\n ...CartOrder_order\n id\n }\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 phone\n street\n locality\n sublocality\n country\n administrativeArea\n zip\n vatNumber\n }\n licenseeIdentity {\n name\n organization\n email\n phone\n street\n locality\n sublocality\n country\n administrativeArea\n zip\n vatNumber\n }\n licenseeIsBillingIdentity\n}\n\nfragment Checkout_viewer on Viewer {\n ...AddressFields_viewer\n settings {\n uiFontName\n newsletterOptInLabel\n }\n themeConfig {\n customProperties\n }\n}\n\nfragment CollectionAa_product on SkuProduct {\n __isSkuProduct: __typename\n __typename\n ... on FontCollection {\n featureStyle {\n ...FontStyle_fontStyle\n id\n }\n families: children(collectionTypes: [FAMILY]) {\n fontStyles {\n ...FontStyle_fontStyle\n id\n }\n id\n }\n }\n ... on Bundle {\n fontStyles {\n ...FontStyle_fontStyle\n id\n }\n }\n}\n\nfragment CouponCodeInput_order on Order {\n id\n}\n\nfragment CouponText_coupon on Coupon {\n type\n percentAmount\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 StripeProvider_viewer on Viewer {\n settings {\n uiFontUrl\n }\n stripeCredentials {\n stripePublishableKey\n }\n}\n\nfragment VariableTableAmounts_option on LicenseOption {\n amounts\n}\n\nfragment VariableTableAmounts_variable on LicenseVariable {\n units\n}\n"
1162
1173
  }
1163
1174
  };
1164
1175
  }();
@@ -49,6 +49,7 @@ fragment CartTotals_order on Order {
49
49
  ...Price_price
50
50
  }
51
51
  isVatTax
52
+ gstIncluded
52
53
  }
53
54
 
54
55
  fragment CouponCodeInput_order on Order {
@@ -271,6 +272,12 @@ const node = function () {
271
272
  "kind": "ScalarField",
272
273
  "name": "isVatTax",
273
274
  "storageKey": null
275
+ }, {
276
+ "alias": null,
277
+ "args": null,
278
+ "kind": "ScalarField",
279
+ "name": "gstIncluded",
280
+ "storageKey": null
274
281
  }],
275
282
  "storageKey": null
276
283
  }],
@@ -278,12 +285,12 @@ const node = function () {
278
285
  }]
279
286
  },
280
287
  "params": {
281
- "cacheID": "82b82899a4c70d062c890dad47919468",
288
+ "cacheID": "aea5ec8259351db00cffabf915914cf2",
282
289
  "id": null,
283
290
  "metadata": {},
284
291
  "name": "CartStateApplyCouponMutation",
285
292
  "operationKind": "mutation",
286
- "text": "mutation CartStateApplyCouponMutation(\n $input: ApplyCouponInput!\n) {\n applyCoupon(input: $input) {\n order {\n ...CouponCodeInput_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 taxes {\n ...Price_price\n }\n isVatTax\n}\n\nfragment CouponCodeInput_order on Order {\n id\n}\n\nfragment CouponText_coupon on Coupon {\n type\n percentAmount\n creditAmountRemaining {\n amount\n currency\n }\n}\n\nfragment Price_price on Money {\n amount\n currency\n}\n"
293
+ "text": "mutation CartStateApplyCouponMutation(\n $input: ApplyCouponInput!\n) {\n applyCoupon(input: $input) {\n order {\n ...CouponCodeInput_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 taxes {\n ...Price_price\n }\n isVatTax\n gstIncluded\n}\n\nfragment CouponCodeInput_order on Order {\n id\n}\n\nfragment CouponText_coupon on Coupon {\n type\n percentAmount\n creditAmountRemaining {\n amount\n currency\n }\n}\n\nfragment Price_price on Money {\n amount\n currency\n}\n"
287
294
  }
288
295
  };
289
296
  }();
@@ -47,6 +47,7 @@ fragment CartTotals_order on Order {
47
47
  ...Price_price
48
48
  }
49
49
  isVatTax
50
+ gstIncluded
50
51
  }
51
52
 
52
53
  fragment CouponCodeInput_order on Order {
@@ -251,6 +252,12 @@ const node = function () {
251
252
  "kind": "ScalarField",
252
253
  "name": "isVatTax",
253
254
  "storageKey": null
255
+ }, {
256
+ "alias": null,
257
+ "args": null,
258
+ "kind": "ScalarField",
259
+ "name": "gstIncluded",
260
+ "storageKey": null
254
261
  }],
255
262
  "storageKey": null
256
263
  }],
@@ -258,12 +265,12 @@ const node = function () {
258
265
  }]
259
266
  },
260
267
  "params": {
261
- "cacheID": "d2ee26170e53418300065654de0072ca",
268
+ "cacheID": "eded25cbb8765902fba05cc57e6e9b7f",
262
269
  "id": null,
263
270
  "metadata": {},
264
271
  "name": "CartStateRemoveDiscountMutation",
265
272
  "operationKind": "mutation",
266
- "text": "mutation CartStateRemoveDiscountMutation {\n removeDiscount {\n order {\n ...CouponCodeInput_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 taxes {\n ...Price_price\n }\n isVatTax\n}\n\nfragment CouponCodeInput_order on Order {\n id\n}\n\nfragment CouponText_coupon on Coupon {\n type\n percentAmount\n creditAmountRemaining {\n amount\n currency\n }\n}\n\nfragment Price_price on Money {\n amount\n currency\n}\n"
273
+ "text": "mutation CartStateRemoveDiscountMutation {\n removeDiscount {\n order {\n ...CouponCodeInput_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 taxes {\n ...Price_price\n }\n isVatTax\n gstIncluded\n}\n\nfragment CouponCodeInput_order on Order {\n id\n}\n\nfragment CouponText_coupon on Coupon {\n type\n percentAmount\n creditAmountRemaining {\n amount\n currency\n }\n}\n\nfragment Price_price on Money {\n amount\n currency\n}\n"
267
274
  }
268
275
  };
269
276
  }();
@@ -144,6 +144,7 @@ fragment CartTotals_order on Order {
144
144
  ...Price_price
145
145
  }
146
146
  isVatTax
147
+ gstIncluded
147
148
  }
148
149
 
149
150
  fragment CollectionAa_product on SkuProduct {
@@ -751,6 +752,12 @@ const node = function () {
751
752
  "kind": "ScalarField",
752
753
  "name": "isVatTax",
753
754
  "storageKey": null
755
+ }, {
756
+ "alias": null,
757
+ "args": null,
758
+ "kind": "ScalarField",
759
+ "name": "gstIncluded",
760
+ "storageKey": null
754
761
  }],
755
762
  "storageKey": null
756
763
  }, v2
@@ -760,12 +767,12 @@ const node = function () {
760
767
  }]
761
768
  },
762
769
  "params": {
763
- "cacheID": "ff9a891d9eb3ce5acf7d2d62c0223ebc",
770
+ "cacheID": "962824d18d39679f4a548787a04d909e",
764
771
  "id": null,
765
772
  "metadata": {},
766
773
  "name": "CartStateUpdateMutation",
767
774
  "operationKind": "mutation",
768
- "text": "mutation CartStateUpdateMutation(\n $input: UpdateOrderInput!\n) {\n updateOrder(input: $input) {\n order {\n ...CartState_order\n ...CouponCodeInput_order\n ...CartTotals_order\n orderItems {\n ...CartItem_node\n id\n }\n id\n }\n errors {\n orderItems {\n licenseSelections\n }\n }\n }\n}\n\nfragment CartItem_node on OrderItem {\n id\n price {\n ...Price_price\n }\n sku {\n price {\n ...Price_price\n }\n product {\n __typename\n __isSkuProduct: __typename\n ...CollectionAa_product\n ...FontStyle_fontStyle\n ... on FontStyle {\n family {\n name\n cssUrl\n id\n }\n name\n }\n ... on Bundle {\n name\n }\n ... on FontCollection {\n name\n totalStyles\n featureStyle {\n family {\n cssUrl\n id\n }\n id\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n id\n }\n licenseSelections {\n id\n license {\n id\n name\n multiplier\n }\n variable: licenseVariable {\n id\n variableType\n ...VariableTableAmounts_variable\n }\n option: licenseOption {\n id\n amount\n multiplier\n name\n ...VariableTableAmounts_option\n }\n variableText\n }\n}\n\nfragment CartState_order on Order {\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}\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 taxes {\n ...Price_price\n }\n isVatTax\n}\n\nfragment CollectionAa_product on SkuProduct {\n __isSkuProduct: __typename\n __typename\n ... on FontCollection {\n featureStyle {\n ...FontStyle_fontStyle\n id\n }\n families: children(collectionTypes: [FAMILY]) {\n fontStyles {\n ...FontStyle_fontStyle\n id\n }\n id\n }\n }\n ... on Bundle {\n fontStyles {\n ...FontStyle_fontStyle\n id\n }\n }\n}\n\nfragment CouponCodeInput_order on Order {\n id\n}\n\nfragment CouponText_coupon on Coupon {\n type\n percentAmount\n creditAmountRemaining {\n amount\n currency\n }\n}\n\nfragment FontStyle_fontStyle on FontStyle {\n cssFamily\n name\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"
775
+ "text": "mutation CartStateUpdateMutation(\n $input: UpdateOrderInput!\n) {\n updateOrder(input: $input) {\n order {\n ...CartState_order\n ...CouponCodeInput_order\n ...CartTotals_order\n orderItems {\n ...CartItem_node\n id\n }\n id\n }\n errors {\n orderItems {\n licenseSelections\n }\n }\n }\n}\n\nfragment CartItem_node on OrderItem {\n id\n price {\n ...Price_price\n }\n sku {\n price {\n ...Price_price\n }\n product {\n __typename\n __isSkuProduct: __typename\n ...CollectionAa_product\n ...FontStyle_fontStyle\n ... on FontStyle {\n family {\n name\n cssUrl\n id\n }\n name\n }\n ... on Bundle {\n name\n }\n ... on FontCollection {\n name\n totalStyles\n featureStyle {\n family {\n cssUrl\n id\n }\n id\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n id\n }\n licenseSelections {\n id\n license {\n id\n name\n multiplier\n }\n variable: licenseVariable {\n id\n variableType\n ...VariableTableAmounts_variable\n }\n option: licenseOption {\n id\n amount\n multiplier\n name\n ...VariableTableAmounts_option\n }\n variableText\n }\n}\n\nfragment CartState_order on Order {\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}\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 taxes {\n ...Price_price\n }\n isVatTax\n gstIncluded\n}\n\nfragment CollectionAa_product on SkuProduct {\n __isSkuProduct: __typename\n __typename\n ... on FontCollection {\n featureStyle {\n ...FontStyle_fontStyle\n id\n }\n families: children(collectionTypes: [FAMILY]) {\n fontStyles {\n ...FontStyle_fontStyle\n id\n }\n id\n }\n }\n ... on Bundle {\n fontStyles {\n ...FontStyle_fontStyle\n id\n }\n }\n}\n\nfragment CouponCodeInput_order on Order {\n id\n}\n\nfragment CouponText_coupon on Coupon {\n type\n percentAmount\n creditAmountRemaining {\n amount\n currency\n }\n}\n\nfragment FontStyle_fontStyle on FontStyle {\n cssFamily\n name\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"
769
776
  }
770
777
  };
771
778
  }();
@@ -24,6 +24,7 @@ export declare type CartTotals_order = {
24
24
  readonly " $fragmentRefs": FragmentRefs<"Price_price">;
25
25
  } | null;
26
26
  readonly isVatTax: boolean | null;
27
+ readonly gstIncluded: boolean | null;
27
28
  readonly " $refType": "CartTotals_order";
28
29
  };
29
30
  export declare type CartTotals_order$data = CartTotals_order;
@@ -115,12 +115,18 @@ const node = function () {
115
115
  "kind": "ScalarField",
116
116
  "name": "isVatTax",
117
117
  "storageKey": null
118
+ }, {
119
+ "alias": null,
120
+ "args": null,
121
+ "kind": "ScalarField",
122
+ "name": "gstIncluded",
123
+ "storageKey": null
118
124
  }],
119
125
  "type": "Order",
120
126
  "abstractKey": null
121
127
  };
122
128
  }();
123
129
 
124
- node.hash = 'e4a0587e58d04c9f6ab6753a7d767740';
130
+ node.hash = 'b4e8ff4b5b5525af89e9f80a08a657e5';
125
131
  var _default = node;
126
132
  exports.default = _default;
@@ -0,0 +1,16 @@
1
+ import { ConcreteRequest } from "relay-runtime";
2
+ import { FragmentRefs } from "relay-runtime";
3
+ export declare type CharacterViewer_QueryVariables = {
4
+ collectionId: string;
5
+ };
6
+ export declare type CharacterViewer_QueryResponse = {
7
+ readonly node: {
8
+ readonly " $fragmentRefs": FragmentRefs<"CharacterViewer_collection">;
9
+ } | null;
10
+ };
11
+ export declare type CharacterViewer_Query = {
12
+ readonly response: CharacterViewer_QueryResponse;
13
+ readonly variables: CharacterViewer_QueryVariables;
14
+ };
15
+ declare const node: ConcreteRequest;
16
+ export default node;