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<<83b109a37737dc7ce69dcc533770b816>>
|
|
9
9
|
* @lightSyntaxTransform
|
|
10
10
|
* @nogrep
|
|
11
11
|
*/
|
|
@@ -110,6 +110,36 @@ const node = function () {
|
|
|
110
110
|
"name": "viewer",
|
|
111
111
|
"plural": false,
|
|
112
112
|
"selections": [{
|
|
113
|
+
"alias": null,
|
|
114
|
+
"args": null,
|
|
115
|
+
"concreteType": "Settings",
|
|
116
|
+
"kind": "LinkedField",
|
|
117
|
+
"name": "settings",
|
|
118
|
+
"plural": false,
|
|
119
|
+
"selections": [{
|
|
120
|
+
"alias": null,
|
|
121
|
+
"args": null,
|
|
122
|
+
"kind": "ScalarField",
|
|
123
|
+
"name": "taxSystem",
|
|
124
|
+
"storageKey": null
|
|
125
|
+
}, {
|
|
126
|
+
"alias": null,
|
|
127
|
+
"args": null,
|
|
128
|
+
"concreteType": "StripeTaxSettings",
|
|
129
|
+
"kind": "LinkedField",
|
|
130
|
+
"name": "stripeTaxSettings",
|
|
131
|
+
"plural": false,
|
|
132
|
+
"selections": [{
|
|
133
|
+
"alias": null,
|
|
134
|
+
"args": null,
|
|
135
|
+
"kind": "ScalarField",
|
|
136
|
+
"name": "taxBehavior",
|
|
137
|
+
"storageKey": null
|
|
138
|
+
}],
|
|
139
|
+
"storageKey": null
|
|
140
|
+
}],
|
|
141
|
+
"storageKey": null
|
|
142
|
+
}, {
|
|
113
143
|
"alias": null,
|
|
114
144
|
"args": null,
|
|
115
145
|
"concreteType": "TaxCollection",
|
|
@@ -201,6 +231,11 @@ const node = function () {
|
|
|
201
231
|
"selections": v7 /*: any*/,
|
|
202
232
|
"type": "Bundle",
|
|
203
233
|
"abstractKey": null
|
|
234
|
+
}, {
|
|
235
|
+
"kind": "InlineFragment",
|
|
236
|
+
"selections": v7 /*: any*/,
|
|
237
|
+
"type": "CollectionBundle",
|
|
238
|
+
"abstractKey": null
|
|
204
239
|
}, {
|
|
205
240
|
"kind": "InlineFragment",
|
|
206
241
|
"selections": [v3 /*: any*/],
|
|
@@ -232,15 +267,15 @@ const node = function () {
|
|
|
232
267
|
}]
|
|
233
268
|
},
|
|
234
269
|
"params": {
|
|
235
|
-
"cacheID": "
|
|
270
|
+
"cacheID": "d041992636b9d237ec5a70cfcfa82b95",
|
|
236
271
|
"id": null,
|
|
237
272
|
"metadata": {},
|
|
238
273
|
"name": "StoreModalProductSummaryRefetchQuery",
|
|
239
274
|
"operationKind": "query",
|
|
240
|
-
"text": "query StoreModalProductSummaryRefetchQuery(\n $licenseOptions: [LicenseOptionsSpec] = []\n $orderVariables: [OrderVariableSelectionInput!] = []\n $selectedSkuIds: [ID!] = []\n) {\n viewer {\n ...StoreModalProductSummary_viewer_q09oc\n id\n }\n}\n\nfragment Price_price on Money {\n amount\n currency\n}\n\nfragment StoreModalProductSummary_viewer_q09oc on Viewer {\n taxCollections {\n taxName\n inclusive\n }\n orderVariables {\n id\n variableType\n name\n }\n precart(skuIds: $selectedSkuIds, licenseOptions: $licenseOptions, orderVariables: $orderVariables) {\n skus {\n price(licenseOptions: $licenseOptions, orderVariables: $orderVariables) {\n amount\n }\n product {\n __typename\n ... on FontCollection {\n totalStyles\n totalStylesPrice(licenseOptions: $licenseOptions, orderVariables: $orderVariables) {\n amount\n }\n }\n ... on Bundle {\n totalStyles\n totalStylesPrice(licenseOptions: $licenseOptions, orderVariables: $orderVariables) {\n amount\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n id\n }\n subtotal {\n ...Price_price\n amount\n currency\n }\n }\n}\n"
|
|
275
|
+
"text": "query StoreModalProductSummaryRefetchQuery(\n $licenseOptions: [LicenseOptionsSpec] = []\n $orderVariables: [OrderVariableSelectionInput!] = []\n $selectedSkuIds: [ID!] = []\n) {\n viewer {\n ...StoreModalProductSummary_viewer_q09oc\n id\n }\n}\n\nfragment Price_price on Money {\n amount\n currency\n}\n\nfragment StoreModalProductSummary_viewer_q09oc on Viewer {\n settings {\n taxSystem\n stripeTaxSettings {\n taxBehavior\n }\n }\n taxCollections {\n taxName\n inclusive\n }\n orderVariables {\n id\n variableType\n name\n }\n precart(skuIds: $selectedSkuIds, licenseOptions: $licenseOptions, orderVariables: $orderVariables) {\n skus {\n price(licenseOptions: $licenseOptions, orderVariables: $orderVariables) {\n amount\n }\n product {\n __typename\n ... on FontCollection {\n totalStyles\n totalStylesPrice(licenseOptions: $licenseOptions, orderVariables: $orderVariables) {\n amount\n }\n }\n ... on Bundle {\n totalStyles\n totalStylesPrice(licenseOptions: $licenseOptions, orderVariables: $orderVariables) {\n amount\n }\n }\n ... on CollectionBundle {\n totalStyles\n totalStylesPrice(licenseOptions: $licenseOptions, orderVariables: $orderVariables) {\n amount\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n id\n }\n subtotal {\n ...Price_price\n amount\n currency\n }\n }\n}\n"
|
|
241
276
|
}
|
|
242
277
|
};
|
|
243
278
|
}();
|
|
244
|
-
node.hash = "
|
|
279
|
+
node.hash = "81a5f120d76cbb84753d158a7ff38c19";
|
|
245
280
|
var _default = node;
|
|
246
281
|
exports.default = _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @generated SignedSource<<
|
|
2
|
+
* @generated SignedSource<<6e7a9494a6045792003c8da73703aca9>>
|
|
3
3
|
* @lightSyntaxTransform
|
|
4
4
|
* @nogrep
|
|
5
5
|
*/
|
|
@@ -22,6 +22,12 @@ export type StoreModalProductSummary_viewer$data = {
|
|
|
22
22
|
readonly totalStylesPrice: {
|
|
23
23
|
readonly amount: number;
|
|
24
24
|
} | null;
|
|
25
|
+
} | {
|
|
26
|
+
readonly __typename: "CollectionBundle";
|
|
27
|
+
readonly totalStyles: number | null;
|
|
28
|
+
readonly totalStylesPrice: {
|
|
29
|
+
readonly amount: number;
|
|
30
|
+
} | null;
|
|
25
31
|
} | {
|
|
26
32
|
readonly __typename: "FontCollection";
|
|
27
33
|
readonly totalStyles: number | null;
|
|
@@ -38,6 +44,12 @@ export type StoreModalProductSummary_viewer$data = {
|
|
|
38
44
|
readonly " $fragmentSpreads": FragmentRefs<"Price_price">;
|
|
39
45
|
} | null;
|
|
40
46
|
} | null;
|
|
47
|
+
readonly settings: {
|
|
48
|
+
readonly stripeTaxSettings: {
|
|
49
|
+
readonly taxBehavior: string | null;
|
|
50
|
+
} | null;
|
|
51
|
+
readonly taxSystem: string;
|
|
52
|
+
} | null;
|
|
41
53
|
readonly taxCollections: ReadonlyArray<{
|
|
42
54
|
readonly inclusive: boolean;
|
|
43
55
|
readonly taxName: string;
|
|
@@ -7,7 +7,7 @@ exports.default = void 0;
|
|
|
7
7
|
var _StoreModalProductSummaryRefetchQuery = _interopRequireDefault(require("./StoreModalProductSummaryRefetchQuery.graphql"));
|
|
8
8
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
9
9
|
/**
|
|
10
|
-
* @generated SignedSource<<
|
|
10
|
+
* @generated SignedSource<<6e7a9494a6045792003c8da73703aca9>>
|
|
11
11
|
* @lightSyntaxTransform
|
|
12
12
|
* @nogrep
|
|
13
13
|
*/
|
|
@@ -76,6 +76,36 @@ const node = function () {
|
|
|
76
76
|
},
|
|
77
77
|
"name": "StoreModalProductSummary_viewer",
|
|
78
78
|
"selections": [{
|
|
79
|
+
"alias": null,
|
|
80
|
+
"args": null,
|
|
81
|
+
"concreteType": "Settings",
|
|
82
|
+
"kind": "LinkedField",
|
|
83
|
+
"name": "settings",
|
|
84
|
+
"plural": false,
|
|
85
|
+
"selections": [{
|
|
86
|
+
"alias": null,
|
|
87
|
+
"args": null,
|
|
88
|
+
"kind": "ScalarField",
|
|
89
|
+
"name": "taxSystem",
|
|
90
|
+
"storageKey": null
|
|
91
|
+
}, {
|
|
92
|
+
"alias": null,
|
|
93
|
+
"args": null,
|
|
94
|
+
"concreteType": "StripeTaxSettings",
|
|
95
|
+
"kind": "LinkedField",
|
|
96
|
+
"name": "stripeTaxSettings",
|
|
97
|
+
"plural": false,
|
|
98
|
+
"selections": [{
|
|
99
|
+
"alias": null,
|
|
100
|
+
"args": null,
|
|
101
|
+
"kind": "ScalarField",
|
|
102
|
+
"name": "taxBehavior",
|
|
103
|
+
"storageKey": null
|
|
104
|
+
}],
|
|
105
|
+
"storageKey": null
|
|
106
|
+
}],
|
|
107
|
+
"storageKey": null
|
|
108
|
+
}, {
|
|
79
109
|
"alias": null,
|
|
80
110
|
"args": null,
|
|
81
111
|
"concreteType": "TaxCollection",
|
|
@@ -173,6 +203,11 @@ const node = function () {
|
|
|
173
203
|
"selections": v5 /*: any*/,
|
|
174
204
|
"type": "Bundle",
|
|
175
205
|
"abstractKey": null
|
|
206
|
+
}, {
|
|
207
|
+
"kind": "InlineFragment",
|
|
208
|
+
"selections": v5 /*: any*/,
|
|
209
|
+
"type": "CollectionBundle",
|
|
210
|
+
"abstractKey": null
|
|
176
211
|
}],
|
|
177
212
|
"storageKey": null
|
|
178
213
|
}],
|
|
@@ -203,6 +238,6 @@ const node = function () {
|
|
|
203
238
|
"abstractKey": null
|
|
204
239
|
};
|
|
205
240
|
}();
|
|
206
|
-
node.hash = "
|
|
241
|
+
node.hash = "81a5f120d76cbb84753d158a7ff38c19";
|
|
207
242
|
var _default = node;
|
|
208
243
|
exports.default = _default;
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
/**
|
|
8
|
-
* @generated SignedSource<<
|
|
8
|
+
* @generated SignedSource<<9f02f166c24b2885563fd63d495f5c4b>>
|
|
9
9
|
* @lightSyntaxTransform
|
|
10
10
|
* @nogrep
|
|
11
11
|
*/
|
|
@@ -228,7 +228,13 @@ const node = function () {
|
|
|
228
228
|
"kind": "LinkedField",
|
|
229
229
|
"name": "stripePaymentIntent",
|
|
230
230
|
"plural": false,
|
|
231
|
-
"selections": [
|
|
231
|
+
"selections": [{
|
|
232
|
+
"alias": null,
|
|
233
|
+
"args": null,
|
|
234
|
+
"kind": "ScalarField",
|
|
235
|
+
"name": "clientSecret",
|
|
236
|
+
"storageKey": null
|
|
237
|
+
}, v0 /*: any*/, {
|
|
232
238
|
"alias": null,
|
|
233
239
|
"args": null,
|
|
234
240
|
"kind": "ScalarField",
|
|
@@ -282,12 +288,12 @@ const node = function () {
|
|
|
282
288
|
}]
|
|
283
289
|
},
|
|
284
290
|
"params": {
|
|
285
|
-
"cacheID": "
|
|
291
|
+
"cacheID": "65d01a7f092f6475f3c8eab7f5c043b8",
|
|
286
292
|
"id": null,
|
|
287
293
|
"metadata": {},
|
|
288
294
|
"name": "StoreModalUnifiedCheckoutCompleteOrderMutation",
|
|
289
295
|
"operationKind": "mutation",
|
|
290
|
-
"text": "mutation StoreModalUnifiedCheckoutCompleteOrderMutation {\n completeOrder {\n order {\n ...StoreModalUnifiedCheckout_order\n id\n }\n }\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"
|
|
296
|
+
"text": "mutation StoreModalUnifiedCheckoutCompleteOrderMutation {\n completeOrder {\n order {\n ...StoreModalUnifiedCheckout_order\n id\n }\n }\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"
|
|
291
297
|
}
|
|
292
298
|
};
|
|
293
299
|
}();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @generated SignedSource<<
|
|
2
|
+
* @generated SignedSource<<f0014cb0692503ce71447168c17be688>>
|
|
3
3
|
* @lightSyntaxTransform
|
|
4
4
|
* @nogrep
|
|
5
5
|
*/
|
|
@@ -9,6 +9,7 @@ export type UpdateCustomerInput = {
|
|
|
9
9
|
email?: string | null;
|
|
10
10
|
name?: string | null;
|
|
11
11
|
newsletterOptIn?: boolean | null;
|
|
12
|
+
recaptchaToken?: string | null;
|
|
12
13
|
};
|
|
13
14
|
export type StoreModalUnifiedCheckoutUpdateCustomerMutation$variables = {
|
|
14
15
|
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<<f0014cb0692503ce71447168c17be688>>
|
|
9
9
|
* @lightSyntaxTransform
|
|
10
10
|
* @nogrep
|
|
11
11
|
*/
|
|
@@ -249,7 +249,13 @@ const node = function () {
|
|
|
249
249
|
"kind": "LinkedField",
|
|
250
250
|
"name": "stripePaymentIntent",
|
|
251
251
|
"plural": false,
|
|
252
|
-
"selections": [
|
|
252
|
+
"selections": [{
|
|
253
|
+
"alias": null,
|
|
254
|
+
"args": null,
|
|
255
|
+
"kind": "ScalarField",
|
|
256
|
+
"name": "clientSecret",
|
|
257
|
+
"storageKey": null
|
|
258
|
+
}, v6 /*: any*/, {
|
|
253
259
|
"alias": null,
|
|
254
260
|
"args": null,
|
|
255
261
|
"kind": "ScalarField",
|
|
@@ -303,12 +309,12 @@ const node = function () {
|
|
|
303
309
|
}]
|
|
304
310
|
},
|
|
305
311
|
"params": {
|
|
306
|
-
"cacheID": "
|
|
312
|
+
"cacheID": "82be445fa0db7e15cbaafa9de59386b1",
|
|
307
313
|
"id": null,
|
|
308
314
|
"metadata": {},
|
|
309
315
|
"name": "StoreModalUnifiedCheckoutUpdateCustomerMutation",
|
|
310
316
|
"operationKind": "mutation",
|
|
311
|
-
"text": "mutation StoreModalUnifiedCheckoutUpdateCustomerMutation(\n $input: UpdateCustomerInput!\n) {\n updateCustomer(input: $input) {\n order {\n ...StoreModalUnifiedCheckout_order\n id\n }\n errors {\n name\n email\n newsletterOptIn\n }\n }\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"
|
|
317
|
+
"text": "mutation StoreModalUnifiedCheckoutUpdateCustomerMutation(\n $input: UpdateCustomerInput!\n) {\n updateCustomer(input: $input) {\n order {\n ...StoreModalUnifiedCheckout_order\n id\n }\n errors {\n name\n email\n newsletterOptIn\n }\n }\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"
|
|
312
318
|
}
|
|
313
319
|
};
|
|
314
320
|
}();
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
/**
|
|
8
|
-
* @generated SignedSource<<
|
|
8
|
+
* @generated SignedSource<<685054dc89bcb4f7f25113b3cf5ae4cd>>
|
|
9
9
|
* @lightSyntaxTransform
|
|
10
10
|
* @nogrep
|
|
11
11
|
*/
|
|
@@ -109,34 +109,36 @@ const node = function () {
|
|
|
109
109
|
}],
|
|
110
110
|
"storageKey": null
|
|
111
111
|
},
|
|
112
|
-
v11 =
|
|
112
|
+
v11 = {
|
|
113
113
|
"alias": null,
|
|
114
114
|
"args": null,
|
|
115
115
|
"kind": "ScalarField",
|
|
116
116
|
"name": "amount",
|
|
117
117
|
"storageKey": null
|
|
118
|
-
},
|
|
118
|
+
},
|
|
119
|
+
v12 = {
|
|
119
120
|
"alias": null,
|
|
120
121
|
"args": null,
|
|
121
122
|
"kind": "ScalarField",
|
|
122
123
|
"name": "currency",
|
|
123
124
|
"storageKey": null
|
|
124
|
-
}
|
|
125
|
-
|
|
125
|
+
},
|
|
126
|
+
v13 = [v11 /*: any*/, v12 /*: any*/],
|
|
127
|
+
v14 = {
|
|
126
128
|
"alias": null,
|
|
127
129
|
"args": null,
|
|
128
130
|
"kind": "ScalarField",
|
|
129
131
|
"name": "name",
|
|
130
132
|
"storageKey": null
|
|
131
133
|
},
|
|
132
|
-
|
|
134
|
+
v15 = {
|
|
133
135
|
"alias": null,
|
|
134
136
|
"args": null,
|
|
135
137
|
"kind": "ScalarField",
|
|
136
138
|
"name": "id",
|
|
137
139
|
"storageKey": null
|
|
138
140
|
},
|
|
139
|
-
|
|
141
|
+
v16 = [v7 /*: any*/, {
|
|
140
142
|
"alias": null,
|
|
141
143
|
"args": null,
|
|
142
144
|
"kind": "ScalarField",
|
|
@@ -148,7 +150,7 @@ const node = function () {
|
|
|
148
150
|
"kind": "ScalarField",
|
|
149
151
|
"name": "addressFormatted",
|
|
150
152
|
"storageKey": null
|
|
151
|
-
}, v8 /*: any*/,
|
|
153
|
+
}, v8 /*: any*/, v14 /*: any*/, {
|
|
152
154
|
"alias": null,
|
|
153
155
|
"args": null,
|
|
154
156
|
"kind": "ScalarField",
|
|
@@ -241,7 +243,7 @@ const node = function () {
|
|
|
241
243
|
"kind": "LinkedField",
|
|
242
244
|
"name": "total",
|
|
243
245
|
"plural": false,
|
|
244
|
-
"selections":
|
|
246
|
+
"selections": v13 /*: any*/,
|
|
245
247
|
"storageKey": null
|
|
246
248
|
}, {
|
|
247
249
|
"alias": null,
|
|
@@ -250,13 +252,13 @@ const node = function () {
|
|
|
250
252
|
"kind": "LinkedField",
|
|
251
253
|
"name": "customer",
|
|
252
254
|
"plural": false,
|
|
253
|
-
"selections": [
|
|
255
|
+
"selections": [v14 /*: any*/, v7 /*: any*/, {
|
|
254
256
|
"alias": null,
|
|
255
257
|
"args": null,
|
|
256
258
|
"kind": "ScalarField",
|
|
257
259
|
"name": "newsletterOptIn",
|
|
258
260
|
"storageKey": null
|
|
259
|
-
},
|
|
261
|
+
}, v15 /*: any*/],
|
|
260
262
|
"storageKey": null
|
|
261
263
|
}, {
|
|
262
264
|
"alias": null,
|
|
@@ -271,7 +273,7 @@ const node = function () {
|
|
|
271
273
|
"kind": "LinkedField",
|
|
272
274
|
"name": "licenseeIdentity",
|
|
273
275
|
"plural": false,
|
|
274
|
-
"selections":
|
|
276
|
+
"selections": v16 /*: any*/,
|
|
275
277
|
"storageKey": null
|
|
276
278
|
}, {
|
|
277
279
|
"alias": null,
|
|
@@ -280,7 +282,7 @@ const node = function () {
|
|
|
280
282
|
"kind": "LinkedField",
|
|
281
283
|
"name": "billingIdentity",
|
|
282
284
|
"plural": false,
|
|
283
|
-
"selections":
|
|
285
|
+
"selections": v16 /*: any*/,
|
|
284
286
|
"storageKey": null
|
|
285
287
|
}, {
|
|
286
288
|
"alias": null,
|
|
@@ -289,7 +291,13 @@ const node = function () {
|
|
|
289
291
|
"kind": "LinkedField",
|
|
290
292
|
"name": "stripePaymentIntent",
|
|
291
293
|
"plural": false,
|
|
292
|
-
"selections":
|
|
294
|
+
"selections": [{
|
|
295
|
+
"alias": null,
|
|
296
|
+
"args": null,
|
|
297
|
+
"kind": "ScalarField",
|
|
298
|
+
"name": "clientSecret",
|
|
299
|
+
"storageKey": null
|
|
300
|
+
}, v11 /*: any*/, v12 /*: any*/],
|
|
293
301
|
"storageKey": null
|
|
294
302
|
}, {
|
|
295
303
|
"alias": null,
|
|
@@ -305,7 +313,7 @@ const node = function () {
|
|
|
305
313
|
"kind": "LinkedField",
|
|
306
314
|
"name": "orderVariable",
|
|
307
315
|
"plural": false,
|
|
308
|
-
"selections": [
|
|
316
|
+
"selections": [v15 /*: any*/, {
|
|
309
317
|
"alias": null,
|
|
310
318
|
"args": null,
|
|
311
319
|
"kind": "ScalarField",
|
|
@@ -320,7 +328,7 @@ const node = function () {
|
|
|
320
328
|
"kind": "LinkedField",
|
|
321
329
|
"name": "orderVariableOption",
|
|
322
330
|
"plural": false,
|
|
323
|
-
"selections": [
|
|
331
|
+
"selections": [v15 /*: any*/],
|
|
324
332
|
"storageKey": null
|
|
325
333
|
}, {
|
|
326
334
|
"alias": null,
|
|
@@ -328,7 +336,7 @@ const node = function () {
|
|
|
328
336
|
"kind": "ScalarField",
|
|
329
337
|
"name": "countryCode",
|
|
330
338
|
"storageKey": null
|
|
331
|
-
},
|
|
339
|
+
}, v15 /*: any*/],
|
|
332
340
|
"storageKey": null
|
|
333
341
|
}, {
|
|
334
342
|
"alias": null,
|
|
@@ -337,7 +345,7 @@ const node = function () {
|
|
|
337
345
|
"kind": "LinkedField",
|
|
338
346
|
"name": "subtotal",
|
|
339
347
|
"plural": false,
|
|
340
|
-
"selections":
|
|
348
|
+
"selections": v13 /*: any*/,
|
|
341
349
|
"storageKey": null
|
|
342
350
|
}, {
|
|
343
351
|
"alias": null,
|
|
@@ -353,7 +361,7 @@ const node = function () {
|
|
|
353
361
|
"kind": "LinkedField",
|
|
354
362
|
"name": "amount",
|
|
355
363
|
"plural": false,
|
|
356
|
-
"selections":
|
|
364
|
+
"selections": v13 /*: any*/,
|
|
357
365
|
"storageKey": null
|
|
358
366
|
}, {
|
|
359
367
|
"alias": null,
|
|
@@ -381,7 +389,7 @@ const node = function () {
|
|
|
381
389
|
"kind": "LinkedField",
|
|
382
390
|
"name": "creditAmount",
|
|
383
391
|
"plural": false,
|
|
384
|
-
"selections":
|
|
392
|
+
"selections": v13 /*: any*/,
|
|
385
393
|
"storageKey": null
|
|
386
394
|
}, {
|
|
387
395
|
"alias": null,
|
|
@@ -390,11 +398,11 @@ const node = function () {
|
|
|
390
398
|
"kind": "LinkedField",
|
|
391
399
|
"name": "creditAmountRemaining",
|
|
392
400
|
"plural": false,
|
|
393
|
-
"selections":
|
|
401
|
+
"selections": v13 /*: any*/,
|
|
394
402
|
"storageKey": null
|
|
395
|
-
},
|
|
403
|
+
}, v15 /*: any*/],
|
|
396
404
|
"storageKey": null
|
|
397
|
-
},
|
|
405
|
+
}, v15 /*: any*/],
|
|
398
406
|
"storageKey": null
|
|
399
407
|
}, {
|
|
400
408
|
"alias": null,
|
|
@@ -403,7 +411,7 @@ const node = function () {
|
|
|
403
411
|
"kind": "LinkedField",
|
|
404
412
|
"name": "discountedSubtotal",
|
|
405
413
|
"plural": false,
|
|
406
|
-
"selections":
|
|
414
|
+
"selections": v13 /*: any*/,
|
|
407
415
|
"storageKey": null
|
|
408
416
|
}, {
|
|
409
417
|
"alias": null,
|
|
@@ -418,7 +426,7 @@ const node = function () {
|
|
|
418
426
|
"kind": "LinkedField",
|
|
419
427
|
"name": "taxes",
|
|
420
428
|
"plural": false,
|
|
421
|
-
"selections":
|
|
429
|
+
"selections": v13 /*: any*/,
|
|
422
430
|
"storageKey": null
|
|
423
431
|
}, {
|
|
424
432
|
"alias": null,
|
|
@@ -432,19 +440,19 @@ const node = function () {
|
|
|
432
440
|
"kind": "ScalarField",
|
|
433
441
|
"name": "gstIncluded",
|
|
434
442
|
"storageKey": null
|
|
435
|
-
},
|
|
443
|
+
}, v15 /*: any*/],
|
|
436
444
|
"storageKey": null
|
|
437
445
|
}, v10 /*: any*/],
|
|
438
446
|
"storageKey": null
|
|
439
447
|
}]
|
|
440
448
|
},
|
|
441
449
|
"params": {
|
|
442
|
-
"cacheID": "
|
|
450
|
+
"cacheID": "b2ea44b9f707105547f48bff2cb91797",
|
|
443
451
|
"id": null,
|
|
444
452
|
"metadata": {},
|
|
445
453
|
"name": "StoreModalUnifiedCheckoutUpdateOrderMutation",
|
|
446
454
|
"operationKind": "mutation",
|
|
447
|
-
"text": "mutation StoreModalUnifiedCheckoutUpdateOrderMutation(\n $input: UpdateOrderInput!\n) {\n updateOrder(input: $input) {\n order {\n ...StoreModalUnifiedCheckout_order\n ...CartTotals_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 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"
|
|
455
|
+
"text": "mutation StoreModalUnifiedCheckoutUpdateOrderMutation(\n $input: UpdateOrderInput!\n) {\n updateOrder(input: $input) {\n order {\n ...StoreModalUnifiedCheckout_order\n ...CartTotals_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 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"
|
|
448
456
|
}
|
|
449
457
|
};
|
|
450
458
|
}();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @generated SignedSource<<
|
|
2
|
+
* @generated SignedSource<<8fa0a54b29f2a3fcf92bdd7366caa850>>
|
|
3
3
|
* @lightSyntaxTransform
|
|
4
4
|
* @nogrep
|
|
5
5
|
*/
|
|
@@ -54,6 +54,7 @@ export type StoreModalUnifiedCheckout_order$data = {
|
|
|
54
54
|
}> | null;
|
|
55
55
|
readonly stripePaymentIntent: {
|
|
56
56
|
readonly amount: number | null;
|
|
57
|
+
readonly clientSecret: string | null;
|
|
57
58
|
readonly currency: string | null;
|
|
58
59
|
} | null;
|
|
59
60
|
readonly total: {
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
/**
|
|
8
|
-
* @generated SignedSource<<
|
|
8
|
+
* @generated SignedSource<<8fa0a54b29f2a3fcf92bdd7366caa850>>
|
|
9
9
|
* @lightSyntaxTransform
|
|
10
10
|
* @nogrep
|
|
11
11
|
*/
|
|
@@ -174,7 +174,13 @@ const node = function () {
|
|
|
174
174
|
"kind": "LinkedField",
|
|
175
175
|
"name": "stripePaymentIntent",
|
|
176
176
|
"plural": false,
|
|
177
|
-
"selections": [
|
|
177
|
+
"selections": [{
|
|
178
|
+
"alias": null,
|
|
179
|
+
"args": null,
|
|
180
|
+
"kind": "ScalarField",
|
|
181
|
+
"name": "clientSecret",
|
|
182
|
+
"storageKey": null
|
|
183
|
+
}, v0 /*: any*/, {
|
|
178
184
|
"alias": null,
|
|
179
185
|
"args": null,
|
|
180
186
|
"kind": "ScalarField",
|
|
@@ -226,6 +232,6 @@ const node = function () {
|
|
|
226
232
|
"abstractKey": null
|
|
227
233
|
};
|
|
228
234
|
}();
|
|
229
|
-
node.hash = "
|
|
235
|
+
node.hash = "7c5503876a562732ebaead9b2ae97180";
|
|
230
236
|
var _default = node;
|
|
231
237
|
exports.default = _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @generated SignedSource<<
|
|
2
|
+
* @generated SignedSource<<7fdadb278562d0302596d82154638f19>>
|
|
3
3
|
* @lightSyntaxTransform
|
|
4
4
|
* @nogrep
|
|
5
5
|
*/
|
|
@@ -9,6 +9,7 @@ export type UpdateCustomerInput = {
|
|
|
9
9
|
email?: string | null;
|
|
10
10
|
name?: string | null;
|
|
11
11
|
newsletterOptIn?: boolean | null;
|
|
12
|
+
recaptchaToken?: string | null;
|
|
12
13
|
};
|
|
13
14
|
export type TestFontsFormUpdateCustomerMutation$variables = {
|
|
14
15
|
input: UpdateCustomerInput;
|