fontdue-js 2.16.1 → 2.17.1
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 +11 -0
- package/dist/__generated__/AddressFieldsRefetchQuery.graphql.d.ts +1 -1
- package/dist/__generated__/AddressFieldsRefetchQuery.graphql.js +25 -4
- package/dist/__generated__/AddressFields_viewer.graphql.d.ts +5 -1
- package/dist/__generated__/AddressFields_viewer.graphql.js +23 -2
- package/dist/__generated__/CartOrderCompleteOrderMutation.graphql.d.ts +1 -1
- package/dist/__generated__/CartOrderCompleteOrderMutation.graphql.js +10 -4
- package/dist/__generated__/CartOrderRemoveDiscountMutation.graphql.d.ts +1 -1
- package/dist/__generated__/CartOrderRemoveDiscountMutation.graphql.js +10 -4
- package/dist/__generated__/CartOrderUpdateMutation.graphql.d.ts +3 -2
- package/dist/__generated__/CartOrderUpdateMutation.graphql.js +10 -4
- package/dist/__generated__/CartQuery.graphql.d.ts +1 -1
- package/dist/__generated__/CartQuery.graphql.js +22 -4
- package/dist/__generated__/CartStateRemoveDiscountMutation.graphql.d.ts +1 -1
- package/dist/__generated__/CartStateRemoveDiscountMutation.graphql.js +43 -4
- package/dist/__generated__/CartStateUpdateMutation.graphql.d.ts +4 -3
- package/dist/__generated__/CartStateUpdateMutation.graphql.js +75 -54
- package/dist/__generated__/CartState_order.graphql.d.ts +2 -1
- package/dist/__generated__/CartState_order.graphql.js +8 -2
- package/dist/__generated__/CheckoutUpdateCustomerMutation.graphql.d.ts +1 -1
- package/dist/__generated__/CheckoutUpdateCustomerMutation.graphql.js +10 -4
- package/dist/__generated__/CheckoutUpdateOrderMutation.graphql.d.ts +5 -4
- package/dist/__generated__/CheckoutUpdateOrderMutation.graphql.js +10 -4
- package/dist/__generated__/Checkout_UpdateOrderErrors.graphql.d.ts +3 -3
- package/dist/__generated__/Checkout_UpdateOrderErrors.graphql.js +3 -3
- package/dist/__generated__/Checkout_identity.graphql.d.ts +2 -2
- package/dist/__generated__/Checkout_identity.graphql.js +3 -3
- package/dist/__generated__/Checkout_order.graphql.d.ts +3 -3
- package/dist/__generated__/Checkout_order.graphql.js +2 -2
- package/dist/__generated__/CouponCodeInputApplyCouponMutation.graphql.d.ts +1 -1
- package/dist/__generated__/CouponCodeInputApplyCouponMutation.graphql.js +43 -4
- package/dist/__generated__/CustomerLoginFormLoginMutation.graphql.d.ts +4 -1
- package/dist/__generated__/CustomerLoginFormLoginMutation.graphql.js +1 -1
- package/dist/__generated__/FontFamiliesQuery.graphql.d.ts +2 -1
- package/dist/__generated__/FontFamiliesQuery.graphql.js +1 -1
- package/dist/__generated__/OrderVariableSelectionReduxRefetchQuery.graphql.d.ts +26 -0
- package/dist/__generated__/OrderVariableSelectionReduxRefetchQuery.graphql.js +154 -0
- package/dist/__generated__/OrderVariableSelectionRedux_viewer.graphql.d.ts +6 -1
- package/dist/__generated__/OrderVariableSelectionRedux_viewer.graphql.js +48 -5
- package/dist/__generated__/OrderVariableSelection_variables.graphql.d.ts +5 -1
- package/dist/__generated__/OrderVariableSelection_variables.graphql.js +41 -17
- package/dist/__generated__/PrecartAddToCartMutation.graphql.d.ts +2 -1
- package/dist/__generated__/PrecartAddToCartMutation.graphql.js +10 -4
- package/dist/__generated__/PriceBarSectionRefetchQuery.graphql.d.ts +2 -1
- package/dist/__generated__/PriceBarSectionRefetchQuery.graphql.js +1 -1
- package/dist/__generated__/StoreModalCartQuery.graphql.d.ts +8 -2
- package/dist/__generated__/StoreModalCartQuery.graphql.js +171 -114
- package/dist/__generated__/StoreModalIndexItem_fontCollection.graphql.d.ts +2 -1
- package/dist/__generated__/StoreModalIndexItem_fontCollection.graphql.js +8 -2
- package/dist/__generated__/StoreModalIndexQuery.graphql.d.ts +1 -1
- package/dist/__generated__/StoreModalIndexQuery.graphql.js +9 -3
- package/dist/__generated__/StoreModalOrderVariableSelectionHookQuery.graphql.d.ts +26 -0
- package/dist/__generated__/StoreModalOrderVariableSelectionRefetchQuery.graphql.d.ts +26 -0
- package/dist/__generated__/StoreModalOrderVariableSelection_order.graphql.d.ts +30 -0
- package/dist/__generated__/StoreModalOrderVariableSelection_order.graphql.js +98 -0
- package/dist/__generated__/StoreModalOrderVariableSelection_viewer.graphql.d.ts +1 -16
- package/dist/__generated__/StoreModalOrderVariableSelection_viewer.graphql.js +40 -104
- package/dist/__generated__/StoreModalProductContent_viewer.graphql.d.ts +30 -0
- package/dist/__generated__/StoreModalProductQuery.graphql.d.ts +2 -1
- package/dist/__generated__/StoreModalProductQuery.graphql.js +90 -63
- package/dist/__generated__/StoreModalProductRefetchQuery.graphql.d.ts +2 -1
- package/dist/__generated__/StoreModalProductRefetchQuery.graphql.js +1 -1
- package/dist/__generated__/StoreModalProductSummaryAddToCartMutation.graphql.d.ts +2 -1
- package/dist/__generated__/StoreModalProductSummaryAddToCartMutation.graphql.js +1 -1
- package/dist/__generated__/StoreModalProductSummaryRefetchQuery.graphql.d.ts +2 -1
- package/dist/__generated__/StoreModalProductSummaryRefetchQuery.graphql.js +1 -1
- package/dist/__generated__/StoreModalProductViewerRefetchQuery.graphql.d.ts +31 -0
- package/dist/__generated__/StoreModalUnifiedCheckoutCompleteOrderMutation.graphql.d.ts +1 -1
- package/dist/__generated__/StoreModalUnifiedCheckoutCompleteOrderMutation.graphql.js +43 -4
- package/dist/__generated__/StoreModalUnifiedCheckoutUpdateCustomerMutation.graphql.d.ts +6 -1
- package/dist/__generated__/StoreModalUnifiedCheckoutUpdateCustomerMutation.graphql.js +74 -24
- package/dist/__generated__/StoreModalUnifiedCheckoutUpdateOrderMutation.graphql.d.ts +5 -4
- package/dist/__generated__/StoreModalUnifiedCheckoutUpdateOrderMutation.graphql.js +43 -4
- package/dist/__generated__/StoreModalUnifiedCheckout_order.graphql.d.ts +13 -3
- package/dist/__generated__/StoreModalUnifiedCheckout_order.graphql.js +50 -4
- package/dist/__generated__/StoreModalUnifiedCheckout_viewer.graphql.d.ts +2 -1
- package/dist/__generated__/StoreModalUnifiedCheckout_viewer.graphql.js +8 -2
- package/dist/__generated__/TestFontsFormUpdateCustomerMutation.graphql.d.ts +1 -1
- package/dist/__generated__/TestFontsFormUpdateCustomerMutation.graphql.js +10 -4
- package/dist/__generated__/TypeTesterStandaloneChangedStylesQuery.graphql.d.ts +2 -1
- package/dist/__generated__/TypeTesterStandaloneChangedStylesQuery.graphql.js +9 -3
- package/dist/__generated__/TypeTesterStandaloneQuery.graphql.d.ts +1 -1
- package/dist/__generated__/TypeTesterStandaloneQuery.graphql.js +30 -14
- package/dist/__generated__/TypeTesterStyleSelectData_fontStyle.graphql.d.ts +2 -1
- package/dist/__generated__/TypeTesterStyleSelectData_fontStyle.graphql.js +8 -2
- package/dist/__generated__/TypeTesterStyleSelectData_viewer.graphql.d.ts +4 -1
- package/dist/__generated__/TypeTesterStyleSelectData_viewer.graphql.js +17 -2
- package/dist/__generated__/TypeTesterStyleSelect_family.graphql.d.ts +33 -0
- package/dist/__generated__/TypeTesterStyleSelect_fontStyle.graphql.d.ts +27 -0
- package/dist/__generated__/TypeTestersChangedStylesQuery.graphql.d.ts +2 -1
- package/dist/__generated__/TypeTestersChangedStylesQuery.graphql.js +9 -3
- package/dist/__generated__/TypeTestersIDQuery.graphql.d.ts +1 -1
- package/dist/__generated__/TypeTestersIDQuery.graphql.js +53 -37
- package/dist/__generated__/TypeTestersRefetchQuery.graphql.d.ts +2 -1
- package/dist/__generated__/TypeTestersRefetchQuery.graphql.js +9 -3
- package/dist/__generated__/TypeTestersSlugQuery.graphql.d.ts +1 -1
- package/dist/__generated__/TypeTestersSlugQuery.graphql.js +53 -37
- package/dist/components/Cart/AddressFields.d.ts +3 -2
- package/dist/components/Cart/AddressFields.js +45 -47
- package/dist/components/Cart/CartState.js +2 -2
- package/dist/components/Cart/CartTotals.d.ts +5 -2
- package/dist/components/Cart/CartTotals.js +24 -10
- package/dist/components/Cart/Checkout.js +33 -6
- package/dist/components/Cart/CustomerFields.d.ts +5 -0
- package/dist/components/Cart/CustomerFields.js +11 -3
- package/dist/components/Cart/types.d.ts +1 -1
- package/dist/components/ConfigContext.d.ts +10 -0
- package/dist/components/ConfigContext.js +4 -1
- package/dist/components/OrderVariableSelection/OrderVariableSelectionRedux.js +30 -1
- package/dist/components/OrderVariableSelection/index.d.ts +3 -1
- package/dist/components/OrderVariableSelection/index.js +31 -11
- package/dist/components/StoreModal/StoreModalCart.js +9 -6
- package/dist/components/StoreModal/StoreModalIndexItem.js +3 -3
- package/dist/components/StoreModal/StoreModalOrderVariableSelection.d.ts +3 -1
- package/dist/components/StoreModal/StoreModalOrderVariableSelection.js +25 -6
- package/dist/components/StoreModal/StoreModalProduct.js +1 -1
- package/dist/components/StoreModal/StoreModalStyleButton.js +1 -8
- package/dist/components/StripeProvider/index.js +5 -3
- package/dist/components/TypeTester/TypeTesterStyleSelectData.js +12 -3
- package/dist/components/elements/StoreModalUnifiedCheckout.d.ts +60 -1
- package/dist/components/elements/StoreModalUnifiedCheckout.js +425 -208
- package/dist/fontdue.css +36 -10
- package/dist/reducer.d.ts +1 -0
- package/dist/utils/interpolateOrderVariableDescription.d.ts +36 -0
- package/dist/utils/interpolateOrderVariableDescription.test.d.ts +1 -0
- package/dist/utils.d.ts +1 -0
- package/dist/utils.js +11 -2
- package/package.json +2 -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<<bd9b59eeebfe16cdf470a0f12de93f0b>>
|
|
9
9
|
* @lightSyntaxTransform
|
|
10
10
|
* @nogrep
|
|
11
11
|
*/
|
|
@@ -113,7 +113,7 @@ const node = function () {
|
|
|
113
113
|
"alias": null,
|
|
114
114
|
"args": null,
|
|
115
115
|
"kind": "ScalarField",
|
|
116
|
-
"name": "
|
|
116
|
+
"name": "phoneNullable",
|
|
117
117
|
"storageKey": null
|
|
118
118
|
}, {
|
|
119
119
|
"alias": null,
|
|
@@ -152,18 +152,25 @@ const node = function () {
|
|
|
152
152
|
"name": "zip",
|
|
153
153
|
"storageKey": null
|
|
154
154
|
}],
|
|
155
|
-
v9 =
|
|
156
|
-
|
|
155
|
+
v9 = {
|
|
156
|
+
"alias": null,
|
|
157
|
+
"args": null,
|
|
158
|
+
"kind": "ScalarField",
|
|
159
|
+
"name": "variableType",
|
|
160
|
+
"storageKey": null
|
|
161
|
+
},
|
|
162
|
+
v10 = [v7 /*: any*/],
|
|
163
|
+
v11 = {
|
|
157
164
|
"alias": null,
|
|
158
165
|
"args": null,
|
|
159
166
|
"concreteType": "LicenseOption",
|
|
160
167
|
"kind": "LinkedField",
|
|
161
168
|
"name": "licenseOptions",
|
|
162
169
|
"plural": true,
|
|
163
|
-
"selections":
|
|
170
|
+
"selections": v10 /*: any*/,
|
|
164
171
|
"storageKey": null
|
|
165
172
|
},
|
|
166
|
-
|
|
173
|
+
v12 = {
|
|
167
174
|
"alias": null,
|
|
168
175
|
"args": null,
|
|
169
176
|
"concreteType": "Money",
|
|
@@ -173,14 +180,14 @@ const node = function () {
|
|
|
173
180
|
"selections": v4 /*: any*/,
|
|
174
181
|
"storageKey": null
|
|
175
182
|
},
|
|
176
|
-
|
|
183
|
+
v13 = {
|
|
177
184
|
"alias": null,
|
|
178
185
|
"args": null,
|
|
179
186
|
"kind": "ScalarField",
|
|
180
187
|
"name": "cssFamily",
|
|
181
188
|
"storageKey": null
|
|
182
189
|
},
|
|
183
|
-
|
|
190
|
+
v14 = {
|
|
184
191
|
"alias": null,
|
|
185
192
|
"args": null,
|
|
186
193
|
"kind": "ScalarField",
|
|
@@ -219,6 +226,10 @@ const node = function () {
|
|
|
219
226
|
"args": null,
|
|
220
227
|
"kind": "FragmentSpread",
|
|
221
228
|
"name": "CartTotals_order"
|
|
229
|
+
}, {
|
|
230
|
+
"args": null,
|
|
231
|
+
"kind": "FragmentSpread",
|
|
232
|
+
"name": "StoreModalOrderVariableSelection_order"
|
|
222
233
|
}, {
|
|
223
234
|
"alias": null,
|
|
224
235
|
"args": null,
|
|
@@ -328,6 +339,49 @@ const node = function () {
|
|
|
328
339
|
"plural": false,
|
|
329
340
|
"selections": v4 /*: any*/,
|
|
330
341
|
"storageKey": null
|
|
342
|
+
}, {
|
|
343
|
+
"alias": null,
|
|
344
|
+
"args": null,
|
|
345
|
+
"concreteType": "OrderVariableSelection",
|
|
346
|
+
"kind": "LinkedField",
|
|
347
|
+
"name": "orderVariableSelections",
|
|
348
|
+
"plural": true,
|
|
349
|
+
"selections": [{
|
|
350
|
+
"alias": null,
|
|
351
|
+
"args": null,
|
|
352
|
+
"concreteType": "OrderVariable",
|
|
353
|
+
"kind": "LinkedField",
|
|
354
|
+
"name": "orderVariable",
|
|
355
|
+
"plural": false,
|
|
356
|
+
"selections": [v7 /*: any*/, v9 /*: any*/, v5 /*: any*/],
|
|
357
|
+
"storageKey": null
|
|
358
|
+
}, {
|
|
359
|
+
"alias": null,
|
|
360
|
+
"args": null,
|
|
361
|
+
"concreteType": "OrderVariableOption",
|
|
362
|
+
"kind": "LinkedField",
|
|
363
|
+
"name": "orderVariableOption",
|
|
364
|
+
"plural": false,
|
|
365
|
+
"selections": [v7 /*: any*/, v3 /*: any*/],
|
|
366
|
+
"storageKey": null
|
|
367
|
+
}, {
|
|
368
|
+
"alias": null,
|
|
369
|
+
"args": null,
|
|
370
|
+
"kind": "ScalarField",
|
|
371
|
+
"name": "countryCode",
|
|
372
|
+
"storageKey": null
|
|
373
|
+
}, v7 /*: any*/, {
|
|
374
|
+
"alias": null,
|
|
375
|
+
"args": [{
|
|
376
|
+
"kind": "Literal",
|
|
377
|
+
"name": "format",
|
|
378
|
+
"value": "HTML"
|
|
379
|
+
}],
|
|
380
|
+
"kind": "ScalarField",
|
|
381
|
+
"name": "orderVariableDescription",
|
|
382
|
+
"storageKey": "orderVariableDescription(format:\"HTML\")"
|
|
383
|
+
}],
|
|
384
|
+
"storageKey": null
|
|
331
385
|
}, v7 /*: any*/, {
|
|
332
386
|
"alias": null,
|
|
333
387
|
"args": null,
|
|
@@ -382,13 +436,7 @@ const node = function () {
|
|
|
382
436
|
"kind": "ScalarField",
|
|
383
437
|
"name": "units",
|
|
384
438
|
"storageKey": null
|
|
385
|
-
}, v5 /*: any*/,
|
|
386
|
-
"alias": null,
|
|
387
|
-
"args": null,
|
|
388
|
-
"kind": "ScalarField",
|
|
389
|
-
"name": "variableType",
|
|
390
|
-
"storageKey": null
|
|
391
|
-
}, v10 /*: any*/],
|
|
439
|
+
}, v5 /*: any*/, v9 /*: any*/, v11 /*: any*/],
|
|
392
440
|
"storageKey": null
|
|
393
441
|
}, {
|
|
394
442
|
"alias": null,
|
|
@@ -413,14 +461,14 @@ const node = function () {
|
|
|
413
461
|
"storageKey": null
|
|
414
462
|
}, v7 /*: any*/],
|
|
415
463
|
"storageKey": null
|
|
416
|
-
},
|
|
464
|
+
}, v12 /*: any*/, {
|
|
417
465
|
"alias": null,
|
|
418
466
|
"args": null,
|
|
419
467
|
"concreteType": "Sku",
|
|
420
468
|
"kind": "LinkedField",
|
|
421
469
|
"name": "sku",
|
|
422
470
|
"plural": false,
|
|
423
|
-
"selections": [
|
|
471
|
+
"selections": [v12 /*: any*/, {
|
|
424
472
|
"alias": null,
|
|
425
473
|
"args": null,
|
|
426
474
|
"concreteType": null,
|
|
@@ -445,14 +493,14 @@ const node = function () {
|
|
|
445
493
|
"kind": "LinkedField",
|
|
446
494
|
"name": "featureStyle",
|
|
447
495
|
"plural": false,
|
|
448
|
-
"selections": [
|
|
496
|
+
"selections": [v13 /*: any*/, v5 /*: any*/, v7 /*: any*/, {
|
|
449
497
|
"alias": null,
|
|
450
498
|
"args": null,
|
|
451
499
|
"concreteType": "FontCollection",
|
|
452
500
|
"kind": "LinkedField",
|
|
453
501
|
"name": "family",
|
|
454
502
|
"plural": false,
|
|
455
|
-
"selections": [
|
|
503
|
+
"selections": [v14 /*: any*/, v7 /*: any*/],
|
|
456
504
|
"storageKey": null
|
|
457
505
|
}],
|
|
458
506
|
"storageKey": null
|
|
@@ -480,21 +528,21 @@ const node = function () {
|
|
|
480
528
|
"kind": "LinkedField",
|
|
481
529
|
"name": "fontStyles",
|
|
482
530
|
"plural": true,
|
|
483
|
-
"selections": [
|
|
531
|
+
"selections": [v13 /*: any*/, v5 /*: any*/, v7 /*: any*/],
|
|
484
532
|
"storageKey": null
|
|
485
533
|
}, v5 /*: any*/],
|
|
486
534
|
"type": "Bundle",
|
|
487
535
|
"abstractKey": null
|
|
488
536
|
}, {
|
|
489
537
|
"kind": "InlineFragment",
|
|
490
|
-
"selections": [
|
|
538
|
+
"selections": [v13 /*: any*/, v5 /*: any*/, {
|
|
491
539
|
"alias": null,
|
|
492
540
|
"args": null,
|
|
493
541
|
"concreteType": "FontCollection",
|
|
494
542
|
"kind": "LinkedField",
|
|
495
543
|
"name": "family",
|
|
496
544
|
"plural": false,
|
|
497
|
-
"selections": [v5 /*: any*/,
|
|
545
|
+
"selections": [v5 /*: any*/, v14 /*: any*/, v7 /*: any*/],
|
|
498
546
|
"storageKey": null
|
|
499
547
|
}, {
|
|
500
548
|
"alias": null,
|
|
@@ -524,7 +572,7 @@ const node = function () {
|
|
|
524
572
|
"kind": "LinkedField",
|
|
525
573
|
"name": "licenseVariables",
|
|
526
574
|
"plural": true,
|
|
527
|
-
"selections": [v7 /*: any*/,
|
|
575
|
+
"selections": [v7 /*: any*/, v11 /*: any*/],
|
|
528
576
|
"storageKey": null
|
|
529
577
|
}],
|
|
530
578
|
"storageKey": null
|
|
@@ -533,7 +581,7 @@ const node = function () {
|
|
|
533
581
|
"abstractKey": "__isLicenseable"
|
|
534
582
|
}, {
|
|
535
583
|
"kind": "InlineFragment",
|
|
536
|
-
"selections":
|
|
584
|
+
"selections": v10 /*: any*/,
|
|
537
585
|
"type": "Node",
|
|
538
586
|
"abstractKey": "__isNode"
|
|
539
587
|
}],
|
|
@@ -542,33 +590,6 @@ const node = function () {
|
|
|
542
590
|
"storageKey": null
|
|
543
591
|
}],
|
|
544
592
|
"storageKey": null
|
|
545
|
-
}, {
|
|
546
|
-
"alias": null,
|
|
547
|
-
"args": null,
|
|
548
|
-
"concreteType": "OrderVariableSelection",
|
|
549
|
-
"kind": "LinkedField",
|
|
550
|
-
"name": "orderVariableSelections",
|
|
551
|
-
"plural": true,
|
|
552
|
-
"selections": [{
|
|
553
|
-
"alias": null,
|
|
554
|
-
"args": null,
|
|
555
|
-
"concreteType": "OrderVariable",
|
|
556
|
-
"kind": "LinkedField",
|
|
557
|
-
"name": "orderVariable",
|
|
558
|
-
"plural": false,
|
|
559
|
-
"selections": v9 /*: any*/,
|
|
560
|
-
"storageKey": null
|
|
561
|
-
}, {
|
|
562
|
-
"alias": null,
|
|
563
|
-
"args": null,
|
|
564
|
-
"concreteType": "OrderVariableOption",
|
|
565
|
-
"kind": "LinkedField",
|
|
566
|
-
"name": "orderVariableOption",
|
|
567
|
-
"plural": false,
|
|
568
|
-
"selections": v9 /*: any*/,
|
|
569
|
-
"storageKey": null
|
|
570
|
-
}, v7 /*: any*/],
|
|
571
|
-
"storageKey": null
|
|
572
593
|
}, {
|
|
573
594
|
"alias": null,
|
|
574
595
|
"args": null,
|
|
@@ -678,15 +699,15 @@ const node = function () {
|
|
|
678
699
|
}]
|
|
679
700
|
},
|
|
680
701
|
"params": {
|
|
681
|
-
"cacheID": "
|
|
702
|
+
"cacheID": "073d870af039acc02649efd6bcfd9d3a",
|
|
682
703
|
"id": null,
|
|
683
704
|
"metadata": {},
|
|
684
705
|
"name": "CartStateUpdateMutation",
|
|
685
706
|
"operationKind": "mutation",
|
|
686
|
-
"text": "mutation CartStateUpdateMutation(\n $input: UpdateOrderInput!\n) {\n updateOrder(input: $input) {\n order {\n ...StoreModalUnifiedCheckout_order\n ...CartState_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 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 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 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 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 FontStyle_fontStyle on FontStyle {\n cssFamily\n name\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
|
|
707
|
+
"text": "mutation CartStateUpdateMutation(\n $input: UpdateOrderInput!\n) {\n updateOrder(input: $input) {\n order {\n ...StoreModalUnifiedCheckout_order\n ...CartState_order\n ...CartTotals_order\n ...StoreModalOrderVariableSelection_order\n orderItems {\n ...CartItem_node\n id\n }\n id\n }\n errors {\n orderItems {\n licenseSelections\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 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 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 FontStyle_fontStyle on FontStyle {\n cssFamily\n name\n}\n\nfragment Price_price on Money {\n amount\n currency\n}\n\nfragment StoreModalOrderVariableSelection_order on Order {\n id\n orderVariableSelections {\n orderVariable {\n id\n name\n variableType\n }\n orderVariableDescription(format: HTML)\n orderVariableOption {\n id\n amount\n }\n countryCode\n id\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\nfragment VariableTableAmounts_option on LicenseOption {\n amounts\n}\n\nfragment VariableTableAmounts_variable on LicenseVariable {\n units\n}\n"
|
|
687
708
|
}
|
|
688
709
|
};
|
|
689
710
|
}();
|
|
690
|
-
node.hash = "
|
|
711
|
+
node.hash = "07a639cd3bfbfa0d797f6b8380603859";
|
|
691
712
|
var _default = node;
|
|
692
713
|
exports.default = _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @generated SignedSource<<
|
|
2
|
+
* @generated SignedSource<<b49d218c5f67e25a39b78c637633013e>>
|
|
3
3
|
* @lightSyntaxTransform
|
|
4
4
|
* @nogrep
|
|
5
5
|
*/
|
|
@@ -23,6 +23,7 @@ export type CartState_order$data = {
|
|
|
23
23
|
}> | null;
|
|
24
24
|
}> | null;
|
|
25
25
|
readonly orderVariableSelections: ReadonlyArray<{
|
|
26
|
+
readonly countryCode: string | null;
|
|
26
27
|
readonly orderVariable: {
|
|
27
28
|
readonly id: string;
|
|
28
29
|
};
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
/**
|
|
8
|
-
* @generated SignedSource<<
|
|
8
|
+
* @generated SignedSource<<b49d218c5f67e25a39b78c637633013e>>
|
|
9
9
|
* @lightSyntaxTransform
|
|
10
10
|
* @nogrep
|
|
11
11
|
*/
|
|
@@ -104,6 +104,12 @@ const node = function () {
|
|
|
104
104
|
"plural": false,
|
|
105
105
|
"selections": v1 /*: any*/,
|
|
106
106
|
"storageKey": null
|
|
107
|
+
}, {
|
|
108
|
+
"alias": null,
|
|
109
|
+
"args": null,
|
|
110
|
+
"kind": "ScalarField",
|
|
111
|
+
"name": "countryCode",
|
|
112
|
+
"storageKey": null
|
|
107
113
|
}],
|
|
108
114
|
"storageKey": null
|
|
109
115
|
}],
|
|
@@ -111,6 +117,6 @@ const node = function () {
|
|
|
111
117
|
"abstractKey": null
|
|
112
118
|
};
|
|
113
119
|
}();
|
|
114
|
-
node.hash = "
|
|
120
|
+
node.hash = "43fd3d7af7ffe0b50a192674fde8286c";
|
|
115
121
|
var _default = node;
|
|
116
122
|
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<<5b33039777785dad78832cc2ef2cb324>>
|
|
9
9
|
* @lightSyntaxTransform
|
|
10
10
|
* @nogrep
|
|
11
11
|
*/
|
|
@@ -56,7 +56,7 @@ const node = function () {
|
|
|
56
56
|
"alias": null,
|
|
57
57
|
"args": null,
|
|
58
58
|
"kind": "ScalarField",
|
|
59
|
-
"name": "
|
|
59
|
+
"name": "phoneNullable",
|
|
60
60
|
"storageKey": null
|
|
61
61
|
}, {
|
|
62
62
|
"alias": null,
|
|
@@ -626,6 +626,12 @@ const node = function () {
|
|
|
626
626
|
"plural": false,
|
|
627
627
|
"selections": v8 /*: any*/,
|
|
628
628
|
"storageKey": null
|
|
629
|
+
}, {
|
|
630
|
+
"alias": null,
|
|
631
|
+
"args": null,
|
|
632
|
+
"kind": "ScalarField",
|
|
633
|
+
"name": "countryCode",
|
|
634
|
+
"storageKey": null
|
|
629
635
|
}, v4 /*: any*/],
|
|
630
636
|
"storageKey": null
|
|
631
637
|
}, {
|
|
@@ -680,12 +686,12 @@ const node = function () {
|
|
|
680
686
|
}]
|
|
681
687
|
},
|
|
682
688
|
"params": {
|
|
683
|
-
"cacheID": "
|
|
689
|
+
"cacheID": "6848b2edb1fe3947150f0de921815579",
|
|
684
690
|
"id": null,
|
|
685
691
|
"metadata": {},
|
|
686
692
|
"name": "CheckoutUpdateCustomerMutation",
|
|
687
693
|
"operationKind": "mutation",
|
|
688
|
-
"text": "mutation CheckoutUpdateCustomerMutation(\n $input: UpdateCustomerInput!\n) {\n updateCustomer(input: $input) {\n order {\n ...CartOrder_order\n id\n }\n }\n}\n\nfragment CartItemAdditionalLicenses_licenses on License {\n id\n name\n}\n\nfragment CartItemAdditionalLicenses_orderItem on OrderItem {\n licenseSelections {\n license {\n id\n }\n id\n }\n}\n\nfragment CartItemLicense_selection on LicenseSelection {\n id\n license {\n id\n name\n licenseVariables {\n id\n ...CartItemVariable_variable\n }\n }\n licenseVariable {\n id\n }\n ...CartItemVariable_selection\n}\n\nfragment CartItemProduct_product on SkuProduct {\n __isSkuProduct: __typename\n __typename\n ...CollectionAa_product\n ...FontStyle_fontStyle\n ... on FontStyle {\n family {\n name\n cssUrl\n id\n }\n name\n variableInstances {\n name\n }\n }\n ... on Bundle {\n name\n }\n ... on FontCollection {\n name\n isVariableFont\n totalStyles\n featureStyle {\n family {\n cssUrl\n id\n }\n id\n }\n }\n}\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 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
|
|
694
|
+
"text": "mutation CheckoutUpdateCustomerMutation(\n $input: UpdateCustomerInput!\n) {\n updateCustomer(input: $input) {\n order {\n ...CartOrder_order\n id\n }\n }\n}\n\nfragment CartItemAdditionalLicenses_licenses on License {\n id\n name\n}\n\nfragment CartItemAdditionalLicenses_orderItem on OrderItem {\n licenseSelections {\n license {\n id\n }\n id\n }\n}\n\nfragment CartItemLicense_selection on LicenseSelection {\n id\n license {\n id\n name\n licenseVariables {\n id\n ...CartItemVariable_variable\n }\n }\n licenseVariable {\n id\n }\n ...CartItemVariable_selection\n}\n\nfragment CartItemProduct_product on SkuProduct {\n __isSkuProduct: __typename\n __typename\n ...CollectionAa_product\n ...FontStyle_fontStyle\n ... on FontStyle {\n family {\n name\n cssUrl\n id\n }\n name\n variableInstances {\n name\n }\n }\n ... on Bundle {\n name\n }\n ... on FontCollection {\n name\n isVariableFont\n totalStyles\n featureStyle {\n family {\n cssUrl\n id\n }\n id\n }\n }\n}\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"
|
|
689
695
|
}
|
|
690
696
|
};
|
|
691
697
|
}();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @generated SignedSource<<
|
|
2
|
+
* @generated SignedSource<<22a096a12dbab759ea6bc08dbfd2b502>>
|
|
3
3
|
* @lightSyntaxTransform
|
|
4
4
|
* @nogrep
|
|
5
5
|
*/
|
|
@@ -26,6 +26,7 @@ export type LicenseSelectionInput = {
|
|
|
26
26
|
variableText?: string | null;
|
|
27
27
|
};
|
|
28
28
|
export type OrderVariableSelectionInput = {
|
|
29
|
+
countryCode?: string | null;
|
|
29
30
|
orderVariableId: string;
|
|
30
31
|
orderVariableOptionId?: string | null;
|
|
31
32
|
};
|
|
@@ -36,7 +37,7 @@ export type IdentityInput = {
|
|
|
36
37
|
locality?: string | null;
|
|
37
38
|
name: string;
|
|
38
39
|
organization?: string | null;
|
|
39
|
-
phone
|
|
40
|
+
phone?: string | null;
|
|
40
41
|
sortingCode?: string | null;
|
|
41
42
|
street?: string | null;
|
|
42
43
|
sublocality?: string | null;
|
|
@@ -53,7 +54,7 @@ export type CheckoutUpdateOrderMutation$data = {
|
|
|
53
54
|
readonly administrativeArea: ReadonlyArray<string | null> | null;
|
|
54
55
|
readonly email: ReadonlyArray<string | null> | null;
|
|
55
56
|
readonly locality: ReadonlyArray<string | null> | null;
|
|
56
|
-
readonly
|
|
57
|
+
readonly phoneNullable: ReadonlyArray<string | null> | null;
|
|
57
58
|
readonly sublocality: ReadonlyArray<string | null> | null;
|
|
58
59
|
readonly vatNumber: ReadonlyArray<string | null> | null;
|
|
59
60
|
readonly zip: ReadonlyArray<string | null> | null;
|
|
@@ -62,7 +63,7 @@ export type CheckoutUpdateOrderMutation$data = {
|
|
|
62
63
|
readonly administrativeArea: ReadonlyArray<string | null> | null;
|
|
63
64
|
readonly email: ReadonlyArray<string | null> | null;
|
|
64
65
|
readonly locality: ReadonlyArray<string | null> | null;
|
|
65
|
-
readonly
|
|
66
|
+
readonly phoneNullable: ReadonlyArray<string | null> | null;
|
|
66
67
|
readonly sublocality: ReadonlyArray<string | null> | null;
|
|
67
68
|
readonly vatNumber: ReadonlyArray<string | null> | null;
|
|
68
69
|
readonly zip: ReadonlyArray<string | null> | null;
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
/**
|
|
8
|
-
* @generated SignedSource<<
|
|
8
|
+
* @generated SignedSource<<22a096a12dbab759ea6bc08dbfd2b502>>
|
|
9
9
|
* @lightSyntaxTransform
|
|
10
10
|
* @nogrep
|
|
11
11
|
*/
|
|
@@ -36,7 +36,7 @@ const node = function () {
|
|
|
36
36
|
"alias": null,
|
|
37
37
|
"args": null,
|
|
38
38
|
"kind": "ScalarField",
|
|
39
|
-
"name": "
|
|
39
|
+
"name": "phoneNullable",
|
|
40
40
|
"storageKey": null
|
|
41
41
|
},
|
|
42
42
|
v4 = {
|
|
@@ -667,6 +667,12 @@ const node = function () {
|
|
|
667
667
|
"plural": false,
|
|
668
668
|
"selections": v16 /*: any*/,
|
|
669
669
|
"storageKey": null
|
|
670
|
+
}, {
|
|
671
|
+
"alias": null,
|
|
672
|
+
"args": null,
|
|
673
|
+
"kind": "ScalarField",
|
|
674
|
+
"name": "countryCode",
|
|
675
|
+
"storageKey": null
|
|
670
676
|
}, v12 /*: any*/],
|
|
671
677
|
"storageKey": null
|
|
672
678
|
}, {
|
|
@@ -721,12 +727,12 @@ const node = function () {
|
|
|
721
727
|
}]
|
|
722
728
|
},
|
|
723
729
|
"params": {
|
|
724
|
-
"cacheID": "
|
|
730
|
+
"cacheID": "dbbef342e1fab6ce86eaca0054d69bc0",
|
|
725
731
|
"id": null,
|
|
726
732
|
"metadata": {},
|
|
727
733
|
"name": "CheckoutUpdateOrderMutation",
|
|
728
734
|
"operationKind": "mutation",
|
|
729
|
-
"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
|
|
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"
|
|
730
736
|
}
|
|
731
737
|
};
|
|
732
738
|
}();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @generated SignedSource<<
|
|
2
|
+
* @generated SignedSource<<cf42b6a1c07eda83ca66b112b2f061cc>>
|
|
3
3
|
* @lightSyntaxTransform
|
|
4
4
|
* @nogrep
|
|
5
5
|
*/
|
|
@@ -10,7 +10,7 @@ export type Checkout_UpdateOrderErrors$data = {
|
|
|
10
10
|
readonly administrativeArea: ReadonlyArray<string | null> | null;
|
|
11
11
|
readonly email: ReadonlyArray<string | null> | null;
|
|
12
12
|
readonly locality: ReadonlyArray<string | null> | null;
|
|
13
|
-
readonly
|
|
13
|
+
readonly phoneNullable: ReadonlyArray<string | null> | null;
|
|
14
14
|
readonly sublocality: ReadonlyArray<string | null> | null;
|
|
15
15
|
readonly vatNumber: ReadonlyArray<string | null> | null;
|
|
16
16
|
readonly zip: ReadonlyArray<string | null> | null;
|
|
@@ -19,7 +19,7 @@ export type Checkout_UpdateOrderErrors$data = {
|
|
|
19
19
|
readonly administrativeArea: ReadonlyArray<string | null> | null;
|
|
20
20
|
readonly email: ReadonlyArray<string | null> | null;
|
|
21
21
|
readonly locality: ReadonlyArray<string | null> | null;
|
|
22
|
-
readonly
|
|
22
|
+
readonly phoneNullable: ReadonlyArray<string | null> | null;
|
|
23
23
|
readonly sublocality: ReadonlyArray<string | null> | null;
|
|
24
24
|
readonly vatNumber: ReadonlyArray<string | null> | null;
|
|
25
25
|
readonly zip: ReadonlyArray<string | null> | null;
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
/**
|
|
8
|
-
* @generated SignedSource<<
|
|
8
|
+
* @generated SignedSource<<cf42b6a1c07eda83ca66b112b2f061cc>>
|
|
9
9
|
* @lightSyntaxTransform
|
|
10
10
|
* @nogrep
|
|
11
11
|
*/
|
|
@@ -25,7 +25,7 @@ const node = function () {
|
|
|
25
25
|
"alias": null,
|
|
26
26
|
"args": null,
|
|
27
27
|
"kind": "ScalarField",
|
|
28
|
-
"name": "
|
|
28
|
+
"name": "phoneNullable",
|
|
29
29
|
"storageKey": null
|
|
30
30
|
}, {
|
|
31
31
|
"alias": null,
|
|
@@ -92,6 +92,6 @@ const node = function () {
|
|
|
92
92
|
"abstractKey": null
|
|
93
93
|
};
|
|
94
94
|
}();
|
|
95
|
-
node.hash = "
|
|
95
|
+
node.hash = "15a33f6b0c5a3de7f1b1dee6982f12ff";
|
|
96
96
|
var _default = node;
|
|
97
97
|
exports.default = _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @generated SignedSource<<
|
|
2
|
+
* @generated SignedSource<<90c25dfda2a1c99f6c30f5f4f52c6f1b>>
|
|
3
3
|
* @lightSyntaxTransform
|
|
4
4
|
* @nogrep
|
|
5
5
|
*/
|
|
@@ -12,7 +12,7 @@ export type Checkout_identity$data = {
|
|
|
12
12
|
readonly locality: string | null;
|
|
13
13
|
readonly name: string;
|
|
14
14
|
readonly organization: string | null;
|
|
15
|
-
readonly
|
|
15
|
+
readonly phoneNullable: string | null;
|
|
16
16
|
readonly street: string | null;
|
|
17
17
|
readonly sublocality: string | null;
|
|
18
18
|
readonly vatNumber: string | null;
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
/**
|
|
8
|
-
* @generated SignedSource<<
|
|
8
|
+
* @generated SignedSource<<90c25dfda2a1c99f6c30f5f4f52c6f1b>>
|
|
9
9
|
* @lightSyntaxTransform
|
|
10
10
|
* @nogrep
|
|
11
11
|
*/
|
|
@@ -41,7 +41,7 @@ const node = {
|
|
|
41
41
|
"alias": null,
|
|
42
42
|
"args": null,
|
|
43
43
|
"kind": "ScalarField",
|
|
44
|
-
"name": "
|
|
44
|
+
"name": "phoneNullable",
|
|
45
45
|
"storageKey": null
|
|
46
46
|
}, {
|
|
47
47
|
"alias": null,
|
|
@@ -89,6 +89,6 @@ const node = {
|
|
|
89
89
|
"type": "Identity",
|
|
90
90
|
"abstractKey": null
|
|
91
91
|
};
|
|
92
|
-
node.hash = "
|
|
92
|
+
node.hash = "bd574bf28c2ab018312eb3f033fabb73";
|
|
93
93
|
var _default = node;
|
|
94
94
|
exports.default = _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @generated SignedSource<<
|
|
2
|
+
* @generated SignedSource<<649a414bca855aaa5da0e97a07d35b05>>
|
|
3
3
|
* @lightSyntaxTransform
|
|
4
4
|
* @nogrep
|
|
5
5
|
*/
|
|
@@ -13,7 +13,7 @@ export type Checkout_order$data = {
|
|
|
13
13
|
readonly locality: string | null;
|
|
14
14
|
readonly name: string;
|
|
15
15
|
readonly organization: string | null;
|
|
16
|
-
readonly
|
|
16
|
+
readonly phoneNullable: string | null;
|
|
17
17
|
readonly street: string | null;
|
|
18
18
|
readonly sublocality: string | null;
|
|
19
19
|
readonly vatNumber: string | null;
|
|
@@ -32,7 +32,7 @@ export type Checkout_order$data = {
|
|
|
32
32
|
readonly locality: string | null;
|
|
33
33
|
readonly name: string;
|
|
34
34
|
readonly organization: string | null;
|
|
35
|
-
readonly
|
|
35
|
+
readonly phoneNullable: string | null;
|
|
36
36
|
readonly street: string | null;
|
|
37
37
|
readonly sublocality: string | null;
|
|
38
38
|
readonly vatNumber: string | null;
|