fontdue-js 2.17.2 → 2.18.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/dist/__generated__/CartItemProduct_product.graphql.d.ts +1 -1
- package/dist/__generated__/CartItemProduct_product.graphql.js +16 -10
- package/dist/__generated__/CartOrderCompleteOrderMutation.graphql.d.ts +1 -1
- package/dist/__generated__/CartOrderCompleteOrderMutation.graphql.js +16 -10
- package/dist/__generated__/CartOrderRemoveDiscountMutation.graphql.d.ts +1 -1
- package/dist/__generated__/CartOrderRemoveDiscountMutation.graphql.js +16 -10
- package/dist/__generated__/CartOrderUpdateMutation.graphql.d.ts +1 -1
- package/dist/__generated__/CartOrderUpdateMutation.graphql.js +16 -10
- package/dist/__generated__/CartQuery.graphql.d.ts +1 -1
- package/dist/__generated__/CartQuery.graphql.js +16 -10
- package/dist/__generated__/CartStateRemoveDiscountMutation.graphql.d.ts +1 -1
- package/dist/__generated__/CartStateRemoveDiscountMutation.graphql.js +37 -29
- package/dist/__generated__/CartStateUpdateMutation.graphql.d.ts +1 -1
- package/dist/__generated__/CartStateUpdateMutation.graphql.js +79 -66
- package/dist/__generated__/CheckoutUpdateCustomerMutation.graphql.d.ts +2 -1
- package/dist/__generated__/CheckoutUpdateCustomerMutation.graphql.js +16 -10
- package/dist/__generated__/CheckoutUpdateOrderMutation.graphql.d.ts +1 -1
- package/dist/__generated__/CheckoutUpdateOrderMutation.graphql.js +16 -10
- package/dist/__generated__/CouponCodeInputApplyCouponMutation.graphql.d.ts +1 -1
- package/dist/__generated__/CouponCodeInputApplyCouponMutation.graphql.js +37 -29
- package/dist/__generated__/NewsletterSignupQuery.graphql.d.ts +3 -1
- package/dist/__generated__/NewsletterSignupQuery.graphql.js +16 -4
- package/dist/__generated__/NewsletterSignupUpdateCustomerMutation.graphql.d.ts +2 -1
- package/dist/__generated__/NewsletterSignupUpdateCustomerMutation.graphql.js +1 -1
- package/dist/__generated__/PrecartAddToCartMutation.graphql.d.ts +1 -1
- package/dist/__generated__/PrecartAddToCartMutation.graphql.js +21 -15
- package/dist/__generated__/StoreModalCartQuery.graphql.d.ts +1 -1
- package/dist/__generated__/StoreModalCartQuery.graphql.js +27 -21
- package/dist/__generated__/StoreModalProductQuery.graphql.d.ts +1 -1
- package/dist/__generated__/StoreModalProductQuery.graphql.js +117 -79
- package/dist/__generated__/StoreModalProductSummaryRefetchQuery.graphql.d.ts +1 -1
- package/dist/__generated__/StoreModalProductSummaryRefetchQuery.graphql.js +39 -4
- package/dist/__generated__/StoreModalProductSummary_viewer.graphql.d.ts +13 -1
- package/dist/__generated__/StoreModalProductSummary_viewer.graphql.js +37 -2
- package/dist/__generated__/StoreModalUnifiedCheckoutCompleteOrderMutation.graphql.d.ts +1 -1
- package/dist/__generated__/StoreModalUnifiedCheckoutCompleteOrderMutation.graphql.js +10 -4
- package/dist/__generated__/StoreModalUnifiedCheckoutUpdateCustomerMutation.graphql.d.ts +2 -1
- package/dist/__generated__/StoreModalUnifiedCheckoutUpdateCustomerMutation.graphql.js +10 -4
- package/dist/__generated__/StoreModalUnifiedCheckoutUpdateOrderMutation.graphql.d.ts +1 -1
- package/dist/__generated__/StoreModalUnifiedCheckoutUpdateOrderMutation.graphql.js +36 -28
- package/dist/__generated__/StoreModalUnifiedCheckout_order.graphql.d.ts +2 -1
- package/dist/__generated__/StoreModalUnifiedCheckout_order.graphql.js +9 -3
- package/dist/__generated__/TestFontsFormUpdateCustomerMutation.graphql.d.ts +2 -1
- package/dist/__generated__/TestFontsFormUpdateCustomerMutation.graphql.js +16 -10
- package/dist/__generated__/TestFontsForm_Query.graphql.d.ts +3 -1
- package/dist/__generated__/TestFontsForm_Query.graphql.js +16 -4
- package/dist/__generated__/productState_Query.graphql.d.ts +29 -1
- package/dist/__generated__/productState_Query.graphql.js +24 -5
- package/dist/__generated__/productState_collectionBundle.graphql.d.ts +41 -0
- package/dist/__generated__/productState_collectionBundle.graphql.js +88 -0
- package/dist/__generated__/productState_node.graphql.d.ts +29 -1
- package/dist/__generated__/productState_node.graphql.js +20 -2
- package/dist/components/Cart/CartItem/CartItemProduct.js +3 -3
- package/dist/components/CharacterViewer/index.js +22 -2
- package/dist/components/NewsletterSignup/index.js +62 -19
- package/dist/components/Root/productState.js +35 -7
- package/dist/components/StoreModalProductSummary/index.js +21 -9
- package/dist/components/StripeProvider/index.d.ts +1 -2
- package/dist/components/StripeProvider/index.js +7 -10
- package/dist/components/TestFontsForm/index.js +60 -12
- package/dist/components/elements/StoreModalUnifiedCheckout.js +4 -4
- package/dist/relay/environment.js +5 -1
- package/package.json +3 -1
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
/**
|
|
8
|
-
* @generated SignedSource<<
|
|
8
|
+
* @generated SignedSource<<f671b39cf4f420b4d69634de898546e0>>
|
|
9
9
|
* @lightSyntaxTransform
|
|
10
10
|
* @nogrep
|
|
11
11
|
*/
|
|
@@ -202,6 +202,13 @@ const node = function () {
|
|
|
202
202
|
"kind": "ScalarField",
|
|
203
203
|
"name": "cssUrl",
|
|
204
204
|
"storageKey": null
|
|
205
|
+
},
|
|
206
|
+
v21 = {
|
|
207
|
+
"alias": null,
|
|
208
|
+
"args": null,
|
|
209
|
+
"kind": "ScalarField",
|
|
210
|
+
"name": "totalStyles",
|
|
211
|
+
"storageKey": null
|
|
205
212
|
};
|
|
206
213
|
return {
|
|
207
214
|
"fragment": {
|
|
@@ -562,13 +569,7 @@ const node = function () {
|
|
|
562
569
|
"kind": "ScalarField",
|
|
563
570
|
"name": "isVariableFont",
|
|
564
571
|
"storageKey": null
|
|
565
|
-
},
|
|
566
|
-
"alias": null,
|
|
567
|
-
"args": null,
|
|
568
|
-
"kind": "ScalarField",
|
|
569
|
-
"name": "totalStyles",
|
|
570
|
-
"storageKey": null
|
|
571
|
-
}],
|
|
572
|
+
}, v21 /*: any*/],
|
|
572
573
|
"type": "FontCollection",
|
|
573
574
|
"abstractKey": null
|
|
574
575
|
}, {
|
|
@@ -608,6 +609,11 @@ const node = function () {
|
|
|
608
609
|
}],
|
|
609
610
|
"type": "FontStyle",
|
|
610
611
|
"abstractKey": null
|
|
612
|
+
}, {
|
|
613
|
+
"kind": "InlineFragment",
|
|
614
|
+
"selections": [v11 /*: any*/, v21 /*: any*/],
|
|
615
|
+
"type": "CollectionBundle",
|
|
616
|
+
"abstractKey": null
|
|
611
617
|
}, {
|
|
612
618
|
"kind": "InlineFragment",
|
|
613
619
|
"selections": [{
|
|
@@ -727,12 +733,12 @@ const node = function () {
|
|
|
727
733
|
}]
|
|
728
734
|
},
|
|
729
735
|
"params": {
|
|
730
|
-
"cacheID": "
|
|
736
|
+
"cacheID": "d744ab7c533f1b42a83f88c0a9ce62fb",
|
|
731
737
|
"id": null,
|
|
732
738
|
"metadata": {},
|
|
733
739
|
"name": "CheckoutUpdateOrderMutation",
|
|
734
740
|
"operationKind": "mutation",
|
|
735
|
-
"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}\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"
|
|
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"
|
|
736
742
|
}
|
|
737
743
|
};
|
|
738
744
|
}();
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
/**
|
|
8
|
-
* @generated SignedSource<<
|
|
8
|
+
* @generated SignedSource<<2cbb64cd8b13f0e360422cbc1cda4121>>
|
|
9
9
|
* @lightSyntaxTransform
|
|
10
10
|
* @nogrep
|
|
11
11
|
*/
|
|
@@ -25,41 +25,43 @@ const node = function () {
|
|
|
25
25
|
"name": "input",
|
|
26
26
|
"variableName": "input"
|
|
27
27
|
}],
|
|
28
|
-
v2 =
|
|
28
|
+
v2 = {
|
|
29
29
|
"alias": null,
|
|
30
30
|
"args": null,
|
|
31
31
|
"kind": "ScalarField",
|
|
32
32
|
"name": "amount",
|
|
33
33
|
"storageKey": null
|
|
34
|
-
},
|
|
34
|
+
},
|
|
35
|
+
v3 = {
|
|
35
36
|
"alias": null,
|
|
36
37
|
"args": null,
|
|
37
38
|
"kind": "ScalarField",
|
|
38
39
|
"name": "currency",
|
|
39
40
|
"storageKey": null
|
|
40
|
-
}
|
|
41
|
-
|
|
41
|
+
},
|
|
42
|
+
v4 = [v2 /*: any*/, v3 /*: any*/],
|
|
43
|
+
v5 = {
|
|
42
44
|
"alias": null,
|
|
43
45
|
"args": null,
|
|
44
46
|
"kind": "ScalarField",
|
|
45
47
|
"name": "name",
|
|
46
48
|
"storageKey": null
|
|
47
49
|
},
|
|
48
|
-
|
|
50
|
+
v6 = {
|
|
49
51
|
"alias": null,
|
|
50
52
|
"args": null,
|
|
51
53
|
"kind": "ScalarField",
|
|
52
54
|
"name": "email",
|
|
53
55
|
"storageKey": null
|
|
54
56
|
},
|
|
55
|
-
|
|
57
|
+
v7 = {
|
|
56
58
|
"alias": null,
|
|
57
59
|
"args": null,
|
|
58
60
|
"kind": "ScalarField",
|
|
59
61
|
"name": "id",
|
|
60
62
|
"storageKey": null
|
|
61
63
|
},
|
|
62
|
-
|
|
64
|
+
v8 = [v6 /*: any*/, {
|
|
63
65
|
"alias": null,
|
|
64
66
|
"args": null,
|
|
65
67
|
"kind": "ScalarField",
|
|
@@ -77,7 +79,7 @@ const node = function () {
|
|
|
77
79
|
"kind": "ScalarField",
|
|
78
80
|
"name": "vatNumber",
|
|
79
81
|
"storageKey": null
|
|
80
|
-
},
|
|
82
|
+
}, v5 /*: any*/, {
|
|
81
83
|
"alias": null,
|
|
82
84
|
"args": null,
|
|
83
85
|
"kind": "ScalarField",
|
|
@@ -200,7 +202,7 @@ const node = function () {
|
|
|
200
202
|
"kind": "LinkedField",
|
|
201
203
|
"name": "total",
|
|
202
204
|
"plural": false,
|
|
203
|
-
"selections":
|
|
205
|
+
"selections": v4 /*: any*/,
|
|
204
206
|
"storageKey": null
|
|
205
207
|
}, {
|
|
206
208
|
"alias": null,
|
|
@@ -209,13 +211,13 @@ const node = function () {
|
|
|
209
211
|
"kind": "LinkedField",
|
|
210
212
|
"name": "customer",
|
|
211
213
|
"plural": false,
|
|
212
|
-
"selections": [
|
|
214
|
+
"selections": [v5 /*: any*/, v6 /*: any*/, {
|
|
213
215
|
"alias": null,
|
|
214
216
|
"args": null,
|
|
215
217
|
"kind": "ScalarField",
|
|
216
218
|
"name": "newsletterOptIn",
|
|
217
219
|
"storageKey": null
|
|
218
|
-
},
|
|
220
|
+
}, v7 /*: any*/],
|
|
219
221
|
"storageKey": null
|
|
220
222
|
}, {
|
|
221
223
|
"alias": null,
|
|
@@ -230,7 +232,7 @@ const node = function () {
|
|
|
230
232
|
"kind": "LinkedField",
|
|
231
233
|
"name": "licenseeIdentity",
|
|
232
234
|
"plural": false,
|
|
233
|
-
"selections":
|
|
235
|
+
"selections": v8 /*: any*/,
|
|
234
236
|
"storageKey": null
|
|
235
237
|
}, {
|
|
236
238
|
"alias": null,
|
|
@@ -239,7 +241,7 @@ const node = function () {
|
|
|
239
241
|
"kind": "LinkedField",
|
|
240
242
|
"name": "billingIdentity",
|
|
241
243
|
"plural": false,
|
|
242
|
-
"selections":
|
|
244
|
+
"selections": v8 /*: any*/,
|
|
243
245
|
"storageKey": null
|
|
244
246
|
}, {
|
|
245
247
|
"alias": null,
|
|
@@ -248,7 +250,13 @@ const node = function () {
|
|
|
248
250
|
"kind": "LinkedField",
|
|
249
251
|
"name": "stripePaymentIntent",
|
|
250
252
|
"plural": false,
|
|
251
|
-
"selections":
|
|
253
|
+
"selections": [{
|
|
254
|
+
"alias": null,
|
|
255
|
+
"args": null,
|
|
256
|
+
"kind": "ScalarField",
|
|
257
|
+
"name": "clientSecret",
|
|
258
|
+
"storageKey": null
|
|
259
|
+
}, v2 /*: any*/, v3 /*: any*/],
|
|
252
260
|
"storageKey": null
|
|
253
261
|
}, {
|
|
254
262
|
"alias": null,
|
|
@@ -264,7 +272,7 @@ const node = function () {
|
|
|
264
272
|
"kind": "LinkedField",
|
|
265
273
|
"name": "orderVariable",
|
|
266
274
|
"plural": false,
|
|
267
|
-
"selections": [
|
|
275
|
+
"selections": [v7 /*: any*/, {
|
|
268
276
|
"alias": null,
|
|
269
277
|
"args": null,
|
|
270
278
|
"kind": "ScalarField",
|
|
@@ -279,7 +287,7 @@ const node = function () {
|
|
|
279
287
|
"kind": "LinkedField",
|
|
280
288
|
"name": "orderVariableOption",
|
|
281
289
|
"plural": false,
|
|
282
|
-
"selections": [
|
|
290
|
+
"selections": [v7 /*: any*/],
|
|
283
291
|
"storageKey": null
|
|
284
292
|
}, {
|
|
285
293
|
"alias": null,
|
|
@@ -287,7 +295,7 @@ const node = function () {
|
|
|
287
295
|
"kind": "ScalarField",
|
|
288
296
|
"name": "countryCode",
|
|
289
297
|
"storageKey": null
|
|
290
|
-
},
|
|
298
|
+
}, v7 /*: any*/],
|
|
291
299
|
"storageKey": null
|
|
292
300
|
}, {
|
|
293
301
|
"alias": null,
|
|
@@ -296,7 +304,7 @@ const node = function () {
|
|
|
296
304
|
"kind": "LinkedField",
|
|
297
305
|
"name": "subtotal",
|
|
298
306
|
"plural": false,
|
|
299
|
-
"selections":
|
|
307
|
+
"selections": v4 /*: any*/,
|
|
300
308
|
"storageKey": null
|
|
301
309
|
}, {
|
|
302
310
|
"alias": null,
|
|
@@ -312,7 +320,7 @@ const node = function () {
|
|
|
312
320
|
"kind": "LinkedField",
|
|
313
321
|
"name": "amount",
|
|
314
322
|
"plural": false,
|
|
315
|
-
"selections":
|
|
323
|
+
"selections": v4 /*: any*/,
|
|
316
324
|
"storageKey": null
|
|
317
325
|
}, {
|
|
318
326
|
"alias": null,
|
|
@@ -340,7 +348,7 @@ const node = function () {
|
|
|
340
348
|
"kind": "LinkedField",
|
|
341
349
|
"name": "creditAmount",
|
|
342
350
|
"plural": false,
|
|
343
|
-
"selections":
|
|
351
|
+
"selections": v4 /*: any*/,
|
|
344
352
|
"storageKey": null
|
|
345
353
|
}, {
|
|
346
354
|
"alias": null,
|
|
@@ -349,11 +357,11 @@ const node = function () {
|
|
|
349
357
|
"kind": "LinkedField",
|
|
350
358
|
"name": "creditAmountRemaining",
|
|
351
359
|
"plural": false,
|
|
352
|
-
"selections":
|
|
360
|
+
"selections": v4 /*: any*/,
|
|
353
361
|
"storageKey": null
|
|
354
|
-
},
|
|
362
|
+
}, v7 /*: any*/],
|
|
355
363
|
"storageKey": null
|
|
356
|
-
},
|
|
364
|
+
}, v7 /*: any*/],
|
|
357
365
|
"storageKey": null
|
|
358
366
|
}, {
|
|
359
367
|
"alias": null,
|
|
@@ -362,7 +370,7 @@ const node = function () {
|
|
|
362
370
|
"kind": "LinkedField",
|
|
363
371
|
"name": "discountedSubtotal",
|
|
364
372
|
"plural": false,
|
|
365
|
-
"selections":
|
|
373
|
+
"selections": v4 /*: any*/,
|
|
366
374
|
"storageKey": null
|
|
367
375
|
}, {
|
|
368
376
|
"alias": null,
|
|
@@ -377,7 +385,7 @@ const node = function () {
|
|
|
377
385
|
"kind": "LinkedField",
|
|
378
386
|
"name": "taxes",
|
|
379
387
|
"plural": false,
|
|
380
|
-
"selections":
|
|
388
|
+
"selections": v4 /*: any*/,
|
|
381
389
|
"storageKey": null
|
|
382
390
|
}, {
|
|
383
391
|
"alias": null,
|
|
@@ -391,19 +399,19 @@ const node = function () {
|
|
|
391
399
|
"kind": "ScalarField",
|
|
392
400
|
"name": "gstIncluded",
|
|
393
401
|
"storageKey": null
|
|
394
|
-
},
|
|
402
|
+
}, v7 /*: any*/],
|
|
395
403
|
"storageKey": null
|
|
396
404
|
}],
|
|
397
405
|
"storageKey": null
|
|
398
406
|
}]
|
|
399
407
|
},
|
|
400
408
|
"params": {
|
|
401
|
-
"cacheID": "
|
|
409
|
+
"cacheID": "f4545c48b060a65cace53d8694947d06",
|
|
402
410
|
"id": null,
|
|
403
411
|
"metadata": {},
|
|
404
412
|
"name": "CouponCodeInputApplyCouponMutation",
|
|
405
413
|
"operationKind": "mutation",
|
|
406
|
-
"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 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"
|
|
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"
|
|
407
415
|
}
|
|
408
416
|
};
|
|
409
417
|
}();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @generated SignedSource<<
|
|
2
|
+
* @generated SignedSource<<df066f03356b79ae4bf564f868eab4ab>>
|
|
3
3
|
* @lightSyntaxTransform
|
|
4
4
|
* @nogrep
|
|
5
5
|
*/
|
|
@@ -10,6 +10,8 @@ export type NewsletterSignupQuery$data = {
|
|
|
10
10
|
readonly settings: {
|
|
11
11
|
readonly newsletterOptInLabel: string | null;
|
|
12
12
|
readonly newsletterSuccessLabel: string | null;
|
|
13
|
+
readonly recaptchaEnabled: boolean;
|
|
14
|
+
readonly recaptchaSiteKey: string | null;
|
|
13
15
|
} | null;
|
|
14
16
|
};
|
|
15
17
|
};
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
/**
|
|
8
|
-
* @generated SignedSource<<
|
|
8
|
+
* @generated SignedSource<<df066f03356b79ae4bf564f868eab4ab>>
|
|
9
9
|
* @lightSyntaxTransform
|
|
10
10
|
* @nogrep
|
|
11
11
|
*/
|
|
@@ -39,6 +39,18 @@ const node = function () {
|
|
|
39
39
|
"kind": "ScalarField",
|
|
40
40
|
"name": "newsletterSuccessLabel",
|
|
41
41
|
"storageKey": "newsletterSuccessLabel(format:\"HTML\")"
|
|
42
|
+
}, {
|
|
43
|
+
"alias": null,
|
|
44
|
+
"args": null,
|
|
45
|
+
"kind": "ScalarField",
|
|
46
|
+
"name": "recaptchaEnabled",
|
|
47
|
+
"storageKey": null
|
|
48
|
+
}, {
|
|
49
|
+
"alias": null,
|
|
50
|
+
"args": null,
|
|
51
|
+
"kind": "ScalarField",
|
|
52
|
+
"name": "recaptchaSiteKey",
|
|
53
|
+
"storageKey": null
|
|
42
54
|
}],
|
|
43
55
|
"storageKey": null
|
|
44
56
|
};
|
|
@@ -84,15 +96,15 @@ const node = function () {
|
|
|
84
96
|
}]
|
|
85
97
|
},
|
|
86
98
|
"params": {
|
|
87
|
-
"cacheID": "
|
|
99
|
+
"cacheID": "15efe914f968e3d924a148b551942978",
|
|
88
100
|
"id": null,
|
|
89
101
|
"metadata": {},
|
|
90
102
|
"name": "NewsletterSignupQuery",
|
|
91
103
|
"operationKind": "query",
|
|
92
|
-
"text": "query NewsletterSignupQuery {\n viewer {\n settings {\n newsletterOptInLabel(format: HTML)\n newsletterSuccessLabel(format: HTML)\n }\n id\n }\n}\n"
|
|
104
|
+
"text": "query NewsletterSignupQuery {\n viewer {\n settings {\n newsletterOptInLabel(format: HTML)\n newsletterSuccessLabel(format: HTML)\n recaptchaEnabled\n recaptchaSiteKey\n }\n id\n }\n}\n"
|
|
93
105
|
}
|
|
94
106
|
};
|
|
95
107
|
}();
|
|
96
|
-
node.hash = "
|
|
108
|
+
node.hash = "24b303198a6038318723fc0124548862";
|
|
97
109
|
var _default = node;
|
|
98
110
|
exports.default = _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @generated SignedSource<<
|
|
2
|
+
* @generated SignedSource<<bd1eb06f06d0656884453a2e619618a7>>
|
|
3
3
|
* @lightSyntaxTransform
|
|
4
4
|
* @nogrep
|
|
5
5
|
*/
|
|
@@ -8,6 +8,7 @@ export type UpdateCustomerInput = {
|
|
|
8
8
|
email?: string | null;
|
|
9
9
|
name?: string | null;
|
|
10
10
|
newsletterOptIn?: boolean | null;
|
|
11
|
+
recaptchaToken?: string | null;
|
|
11
12
|
};
|
|
12
13
|
export type NewsletterSignupUpdateCustomerMutation$variables = {
|
|
13
14
|
input: UpdateCustomerInput;
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
/**
|
|
8
|
-
* @generated SignedSource<<
|
|
8
|
+
* @generated SignedSource<<2a7cb2730127db0f7b09ebd2ed4c5b7a>>
|
|
9
9
|
* @lightSyntaxTransform
|
|
10
10
|
* @nogrep
|
|
11
11
|
*/
|
|
@@ -89,19 +89,26 @@ const node = function () {
|
|
|
89
89
|
"storageKey": null
|
|
90
90
|
},
|
|
91
91
|
v11 = {
|
|
92
|
+
"alias": null,
|
|
93
|
+
"args": null,
|
|
94
|
+
"kind": "ScalarField",
|
|
95
|
+
"name": "totalStyles",
|
|
96
|
+
"storageKey": null
|
|
97
|
+
},
|
|
98
|
+
v12 = {
|
|
92
99
|
"alias": null,
|
|
93
100
|
"args": null,
|
|
94
101
|
"kind": "ScalarField",
|
|
95
102
|
"name": "email",
|
|
96
103
|
"storageKey": null
|
|
97
104
|
},
|
|
98
|
-
|
|
105
|
+
v13 = [v3 /*: any*/, {
|
|
99
106
|
"alias": null,
|
|
100
107
|
"args": null,
|
|
101
108
|
"kind": "ScalarField",
|
|
102
109
|
"name": "organization",
|
|
103
110
|
"storageKey": null
|
|
104
|
-
},
|
|
111
|
+
}, v12 /*: any*/, {
|
|
105
112
|
"alias": null,
|
|
106
113
|
"args": null,
|
|
107
114
|
"kind": "ScalarField",
|
|
@@ -370,13 +377,7 @@ const node = function () {
|
|
|
370
377
|
"kind": "ScalarField",
|
|
371
378
|
"name": "isVariableFont",
|
|
372
379
|
"storageKey": null
|
|
373
|
-
},
|
|
374
|
-
"alias": null,
|
|
375
|
-
"args": null,
|
|
376
|
-
"kind": "ScalarField",
|
|
377
|
-
"name": "totalStyles",
|
|
378
|
-
"storageKey": null
|
|
379
|
-
}],
|
|
380
|
+
}, v11 /*: any*/],
|
|
380
381
|
"type": "FontCollection",
|
|
381
382
|
"abstractKey": null
|
|
382
383
|
}, {
|
|
@@ -416,6 +417,11 @@ const node = function () {
|
|
|
416
417
|
}],
|
|
417
418
|
"type": "FontStyle",
|
|
418
419
|
"abstractKey": null
|
|
420
|
+
}, {
|
|
421
|
+
"kind": "InlineFragment",
|
|
422
|
+
"selections": [v3 /*: any*/, v11 /*: any*/],
|
|
423
|
+
"type": "CollectionBundle",
|
|
424
|
+
"abstractKey": null
|
|
419
425
|
}, {
|
|
420
426
|
"kind": "InlineFragment",
|
|
421
427
|
"selections": [{
|
|
@@ -472,7 +478,7 @@ const node = function () {
|
|
|
472
478
|
"kind": "LinkedField",
|
|
473
479
|
"name": "customer",
|
|
474
480
|
"plural": false,
|
|
475
|
-
"selections": [v3 /*: any*/,
|
|
481
|
+
"selections": [v3 /*: any*/, v12 /*: any*/, {
|
|
476
482
|
"alias": null,
|
|
477
483
|
"args": null,
|
|
478
484
|
"kind": "ScalarField",
|
|
@@ -493,7 +499,7 @@ const node = function () {
|
|
|
493
499
|
"kind": "LinkedField",
|
|
494
500
|
"name": "billingIdentity",
|
|
495
501
|
"plural": false,
|
|
496
|
-
"selections":
|
|
502
|
+
"selections": v13 /*: any*/,
|
|
497
503
|
"storageKey": null
|
|
498
504
|
}, {
|
|
499
505
|
"alias": null,
|
|
@@ -502,7 +508,7 @@ const node = function () {
|
|
|
502
508
|
"kind": "LinkedField",
|
|
503
509
|
"name": "licenseeIdentity",
|
|
504
510
|
"plural": false,
|
|
505
|
-
"selections":
|
|
511
|
+
"selections": v13 /*: any*/,
|
|
506
512
|
"storageKey": null
|
|
507
513
|
}, {
|
|
508
514
|
"alias": null,
|
|
@@ -709,12 +715,12 @@ const node = function () {
|
|
|
709
715
|
}]
|
|
710
716
|
},
|
|
711
717
|
"params": {
|
|
712
|
-
"cacheID": "
|
|
718
|
+
"cacheID": "c8d29cf4fbdf2dc1100d6b82f286cf90",
|
|
713
719
|
"id": null,
|
|
714
720
|
"metadata": {},
|
|
715
721
|
"name": "PrecartAddToCartMutation",
|
|
716
722
|
"operationKind": "mutation",
|
|
717
|
-
"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}\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"
|
|
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"
|
|
718
724
|
}
|
|
719
725
|
};
|
|
720
726
|
}();
|