fontdue-js 1.10.2 → 1.11.0-alpha2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (27) hide show
  1. package/dist/__generated__/CartQuery.graphql.js +134 -122
  2. package/dist/__generated__/StoreModalContainerQuery.graphql.d.ts +0 -2
  3. package/dist/__generated__/StoreModalContainerQuery.graphql.js +7 -35
  4. package/dist/__generated__/StoreModalReviewCompleteOrderMutation.graphql.js +71 -15
  5. package/dist/__generated__/StoreModalReviewQuery.graphql.d.ts +1 -1
  6. package/dist/__generated__/StoreModalReviewQuery.graphql.js +148 -51
  7. package/dist/__generated__/StoreModalReview_order.graphql.d.ts +9 -0
  8. package/dist/__generated__/StoreModalReview_order.graphql.js +67 -20
  9. package/dist/__generated__/StripeProvider_viewer.graphql.d.ts +5 -0
  10. package/dist/__generated__/StripeProvider_viewer.graphql.js +25 -1
  11. package/dist/components/Cart/Checkout.d.ts +2 -1
  12. package/dist/components/Cart/Checkout.js +14 -4
  13. package/dist/components/Cart/index.js +2 -1
  14. package/dist/components/FontdueProvider/index.d.ts +2 -1
  15. package/dist/components/FontdueProvider/index.js +3 -1
  16. package/dist/components/Root/index.js +1 -0
  17. package/dist/components/StoreModal/StoreModalCheckout.js +2 -1
  18. package/dist/components/StoreModal/StoreModalContainer.js +3 -6
  19. package/dist/components/StoreModal/StoreModalReview.js +70 -50
  20. package/dist/components/StripeProvider/index.d.ts +2 -1
  21. package/dist/components/StripeProvider/index.js +14 -4
  22. package/dist/components/elements/StoreModalReviewConfirm/index.d.ts +1 -0
  23. package/dist/components/elements/StoreModalReviewConfirm/index.js +3 -2
  24. package/dist/components/elements/StoreModalReviewLayout/index.js +1 -3
  25. package/dist/relay-environment.d.ts +1 -0
  26. package/dist/relay-environment.js +2 -1
  27. package/package.json +2 -2
@@ -94,6 +94,14 @@ fragment StoreModalReview_order on Order {
94
94
  id
95
95
  }
96
96
  billingIdentity {
97
+ name
98
+ email
99
+ phone
100
+ street
101
+ locality
102
+ administrativeArea
103
+ country
104
+ zip
97
105
  ...StoreModalReviewIdentity_identity
98
106
  }
99
107
  licenseeIdentity {
@@ -120,6 +128,7 @@ fragment StoreModalReview_order on Order {
120
128
  status
121
129
  clientSecret
122
130
  }
131
+ completeUrl
123
132
  }
124
133
  */
125
134
 
@@ -165,25 +174,34 @@ const node = function () {
165
174
  "name": "email",
166
175
  "storageKey": null
167
176
  },
168
- v5 = [v4 /*: any*/, {
177
+ v5 = {
178
+ "alias": null,
179
+ "args": null,
180
+ "kind": "ScalarField",
181
+ "name": "name",
182
+ "storageKey": null
183
+ },
184
+ v6 = {
169
185
  "alias": null,
170
186
  "args": null,
171
187
  "kind": "ScalarField",
172
188
  "name": "phoneFormatted",
173
189
  "storageKey": null
174
- }, {
190
+ },
191
+ v7 = {
175
192
  "alias": null,
176
193
  "args": null,
177
194
  "kind": "ScalarField",
178
195
  "name": "addressFormatted",
179
196
  "storageKey": null
180
- }, {
197
+ },
198
+ v8 = {
181
199
  "alias": null,
182
200
  "args": null,
183
201
  "kind": "ScalarField",
184
202
  "name": "vatNumber",
185
203
  "storageKey": null
186
- }];
204
+ };
187
205
  return {
188
206
  "fragment": {
189
207
  "argumentDefinitions": [],
@@ -357,13 +375,7 @@ const node = function () {
357
375
  "kind": "LinkedField",
358
376
  "name": "customer",
359
377
  "plural": false,
360
- "selections": [v4 /*: any*/, {
361
- "alias": null,
362
- "args": null,
363
- "kind": "ScalarField",
364
- "name": "name",
365
- "storageKey": null
366
- }, v3 /*: any*/],
378
+ "selections": [v4 /*: any*/, v5 /*: any*/, v3 /*: any*/],
367
379
 
368
380
  "storageKey": null
369
381
  }, {
@@ -373,7 +385,44 @@ const node = function () {
373
385
  "kind": "LinkedField",
374
386
  "name": "billingIdentity",
375
387
  "plural": false,
376
- "selections": v5 /*: any*/,
388
+ "selections": [v5 /*: any*/, v4 /*: any*/, {
389
+ "alias": null,
390
+ "args": null,
391
+ "kind": "ScalarField",
392
+ "name": "phone",
393
+ "storageKey": null
394
+ }, {
395
+ "alias": null,
396
+ "args": null,
397
+ "kind": "ScalarField",
398
+ "name": "street",
399
+ "storageKey": null
400
+ }, {
401
+ "alias": null,
402
+ "args": null,
403
+ "kind": "ScalarField",
404
+ "name": "locality",
405
+ "storageKey": null
406
+ }, {
407
+ "alias": null,
408
+ "args": null,
409
+ "kind": "ScalarField",
410
+ "name": "administrativeArea",
411
+ "storageKey": null
412
+ }, {
413
+ "alias": null,
414
+ "args": null,
415
+ "kind": "ScalarField",
416
+ "name": "country",
417
+ "storageKey": null
418
+ }, {
419
+ "alias": null,
420
+ "args": null,
421
+ "kind": "ScalarField",
422
+ "name": "zip",
423
+ "storageKey": null
424
+ }, v6 /*: any*/, v7 /*: any*/, v8 /*: any*/],
425
+
377
426
  "storageKey": null
378
427
  }, {
379
428
  "alias": null,
@@ -382,7 +431,8 @@ const node = function () {
382
431
  "kind": "LinkedField",
383
432
  "name": "licenseeIdentity",
384
433
  "plural": false,
385
- "selections": v5 /*: any*/,
434
+ "selections": [v4 /*: any*/, v6 /*: any*/, v7 /*: any*/, v8 /*: any*/],
435
+
386
436
  "storageKey": null
387
437
  }, {
388
438
  "alias": null,
@@ -484,6 +534,12 @@ const node = function () {
484
534
  "storageKey": null
485
535
  }, v0 /*: any*/],
486
536
 
537
+ "storageKey": null
538
+ }, {
539
+ "alias": null,
540
+ "args": null,
541
+ "kind": "ScalarField",
542
+ "name": "completeUrl",
487
543
  "storageKey": null
488
544
  }],
489
545
  "storageKey": null
@@ -493,12 +549,12 @@ const node = function () {
493
549
  }]
494
550
  },
495
551
  "params": {
496
- "cacheID": "e9fc909c44347bded64b24dcf4cf6f95",
552
+ "cacheID": "aed5faf689fdfc1b2ad731c5058bc74d",
497
553
  "id": null,
498
554
  "metadata": {},
499
555
  "name": "StoreModalReviewCompleteOrderMutation",
500
556
  "operationKind": "mutation",
501
- "text": "mutation StoreModalReviewCompleteOrderMutation {\n completeOrder {\n order {\n ...StoreModalReview_order\n stripePaymentIntent {\n clientSecret\n }\n id\n }\n requiresAction\n }\n}\n\nfragment CartTotals_order on Order {\n subtotal {\n ...Price_price\n }\n discount {\n amount {\n amount\n ...Price_price\n }\n coupon {\n ...CouponText_coupon\n id\n }\n id\n }\n discountedSubtotal {\n ...Price_price\n }\n total {\n amount\n ...Price_price\n }\n taxes {\n ...Price_price\n }\n taxName\n gstIncluded\n}\n\nfragment CouponText_coupon on Coupon {\n type\n percentAmount\n creditAmountRemaining {\n amount\n currency\n }\n}\n\nfragment Price_price on Money {\n amount\n currency\n}\n\nfragment SKUPrice_sku on Sku {\n id\n price(licenseOptions: []) {\n amount\n ...Price_price\n }\n}\n\nfragment StoreModalDownload_order on Order {\n id\n archiveUrl\n}\n\nfragment StoreModalReviewIdentity_identity on Identity {\n email\n phoneFormatted\n addressFormatted\n vatNumber\n}\n\nfragment StoreModalReview_order on Order {\n ...CartTotals_order\n ...StoreModalDownload_order\n customer {\n email\n name\n id\n }\n billingIdentity {\n ...StoreModalReviewIdentity_identity\n }\n licenseeIdentity {\n ...StoreModalReviewIdentity_identity\n }\n licenseeIsBillingIdentity\n stripePaymentMethod {\n card {\n last4\n brandFormatted\n }\n }\n orderItems {\n id\n description\n sku {\n ...SKUPrice_sku\n id\n }\n }\n canCompleteWithCoupon\n completedWithCoupon\n stripePaymentIntent {\n status\n clientSecret\n }\n}\n"
557
+ "text": "mutation StoreModalReviewCompleteOrderMutation {\n completeOrder {\n order {\n ...StoreModalReview_order\n stripePaymentIntent {\n clientSecret\n }\n id\n }\n requiresAction\n }\n}\n\nfragment CartTotals_order on Order {\n subtotal {\n ...Price_price\n }\n discount {\n amount {\n amount\n ...Price_price\n }\n coupon {\n ...CouponText_coupon\n id\n }\n id\n }\n discountedSubtotal {\n ...Price_price\n }\n total {\n amount\n ...Price_price\n }\n taxes {\n ...Price_price\n }\n taxName\n gstIncluded\n}\n\nfragment CouponText_coupon on Coupon {\n type\n percentAmount\n creditAmountRemaining {\n amount\n currency\n }\n}\n\nfragment Price_price on Money {\n amount\n currency\n}\n\nfragment SKUPrice_sku on Sku {\n id\n price(licenseOptions: []) {\n amount\n ...Price_price\n }\n}\n\nfragment StoreModalDownload_order on Order {\n id\n archiveUrl\n}\n\nfragment StoreModalReviewIdentity_identity on Identity {\n email\n phoneFormatted\n addressFormatted\n vatNumber\n}\n\nfragment StoreModalReview_order on Order {\n ...CartTotals_order\n ...StoreModalDownload_order\n customer {\n email\n name\n id\n }\n billingIdentity {\n name\n email\n phone\n street\n locality\n administrativeArea\n country\n zip\n ...StoreModalReviewIdentity_identity\n }\n licenseeIdentity {\n ...StoreModalReviewIdentity_identity\n }\n licenseeIsBillingIdentity\n stripePaymentMethod {\n card {\n last4\n brandFormatted\n }\n }\n orderItems {\n id\n description\n sku {\n ...SKUPrice_sku\n id\n }\n }\n canCompleteWithCoupon\n completedWithCoupon\n stripePaymentIntent {\n status\n clientSecret\n }\n completeUrl\n}\n"
502
558
  }
503
559
  };
504
560
  }();
@@ -6,7 +6,7 @@ export declare type StoreModalReviewQueryResponse = {
6
6
  readonly currentOrder: {
7
7
  readonly " $fragmentRefs": FragmentRefs<"StoreModalReview_order">;
8
8
  } | null;
9
- readonly " $fragmentRefs": FragmentRefs<"StoreModalReview_viewer">;
9
+ readonly " $fragmentRefs": FragmentRefs<"StripeProvider_viewer" | "StoreModalReview_viewer">;
10
10
  };
11
11
  };
12
12
  export declare type StoreModalReviewQuery = {
@@ -11,6 +11,7 @@ exports.default = void 0;
11
11
  /*
12
12
  query StoreModalReviewQuery {
13
13
  viewer {
14
+ ...StripeProvider_viewer
14
15
  ...StoreModalReview_viewer
15
16
  currentOrder {
16
17
  ...StoreModalReview_order
@@ -92,6 +93,14 @@ fragment StoreModalReview_order on Order {
92
93
  id
93
94
  }
94
95
  billingIdentity {
96
+ name
97
+ email
98
+ phone
99
+ street
100
+ locality
101
+ administrativeArea
102
+ country
103
+ zip
95
104
  ...StoreModalReviewIdentity_identity
96
105
  }
97
106
  licenseeIdentity {
@@ -118,6 +127,7 @@ fragment StoreModalReview_order on Order {
118
127
  status
119
128
  clientSecret
120
129
  }
130
+ completeUrl
121
131
  }
122
132
 
123
133
  fragment StoreModalReview_viewer on Viewer {
@@ -125,10 +135,32 @@ fragment StoreModalReview_viewer on Viewer {
125
135
  eulaAgreementLabel(format: HTML)
126
136
  }
127
137
  }
138
+
139
+ fragment StripeProvider_viewer on Viewer {
140
+ settings {
141
+ uiFontUrl
142
+ }
143
+ stripeCredentials {
144
+ stripePublishableKey
145
+ }
146
+ currentOrder {
147
+ stripePaymentIntent {
148
+ clientSecret
149
+ }
150
+ id
151
+ }
152
+ }
128
153
  */
129
154
 
130
155
  const node = function () {
131
- var v0 = [{
156
+ var v0 = {
157
+ "alias": null,
158
+ "args": null,
159
+ "kind": "ScalarField",
160
+ "name": "id",
161
+ "storageKey": null
162
+ },
163
+ v1 = [{
132
164
  "alias": null,
133
165
  "args": null,
134
166
  "kind": "ScalarField",
@@ -141,39 +173,41 @@ const node = function () {
141
173
  "name": "currency",
142
174
  "storageKey": null
143
175
  }],
144
- v1 = {
176
+ v2 = {
145
177
  "alias": null,
146
178
  "args": null,
147
179
  "kind": "ScalarField",
148
- "name": "id",
180
+ "name": "email",
149
181
  "storageKey": null
150
182
  },
151
- v2 = {
183
+ v3 = {
152
184
  "alias": null,
153
185
  "args": null,
154
186
  "kind": "ScalarField",
155
- "name": "email",
187
+ "name": "name",
156
188
  "storageKey": null
157
189
  },
158
- v3 = [v2 /*: any*/, {
190
+ v4 = {
159
191
  "alias": null,
160
192
  "args": null,
161
193
  "kind": "ScalarField",
162
194
  "name": "phoneFormatted",
163
195
  "storageKey": null
164
- }, {
196
+ },
197
+ v5 = {
165
198
  "alias": null,
166
199
  "args": null,
167
200
  "kind": "ScalarField",
168
201
  "name": "addressFormatted",
169
202
  "storageKey": null
170
- }, {
203
+ },
204
+ v6 = {
171
205
  "alias": null,
172
206
  "args": null,
173
207
  "kind": "ScalarField",
174
208
  "name": "vatNumber",
175
209
  "storageKey": null
176
- }];
210
+ };
177
211
  return {
178
212
  "fragment": {
179
213
  "argumentDefinitions": [],
@@ -200,6 +234,10 @@ const node = function () {
200
234
  "name": "StoreModalReview_order"
201
235
  }],
202
236
  "storageKey": null
237
+ }, {
238
+ "args": null,
239
+ "kind": "FragmentSpread",
240
+ "name": "StripeProvider_viewer"
203
241
  }, {
204
242
  "args": null,
205
243
  "kind": "FragmentSpread",
@@ -230,6 +268,12 @@ const node = function () {
230
268
  "name": "settings",
231
269
  "plural": false,
232
270
  "selections": [{
271
+ "alias": null,
272
+ "args": null,
273
+ "kind": "ScalarField",
274
+ "name": "uiFontUrl",
275
+ "storageKey": null
276
+ }, {
233
277
  "alias": null,
234
278
  "args": [{
235
279
  "kind": "Literal",
@@ -241,6 +285,21 @@ const node = function () {
241
285
  "storageKey": "eulaAgreementLabel(format:\"HTML\")"
242
286
  }],
243
287
  "storageKey": null
288
+ }, {
289
+ "alias": null,
290
+ "args": null,
291
+ "concreteType": "StripeCredentials",
292
+ "kind": "LinkedField",
293
+ "name": "stripeCredentials",
294
+ "plural": false,
295
+ "selections": [{
296
+ "alias": null,
297
+ "args": null,
298
+ "kind": "ScalarField",
299
+ "name": "stripePublishableKey",
300
+ "storageKey": null
301
+ }],
302
+ "storageKey": null
244
303
  }, {
245
304
  "alias": null,
246
305
  "args": null,
@@ -249,13 +308,34 @@ const node = function () {
249
308
  "name": "currentOrder",
250
309
  "plural": false,
251
310
  "selections": [{
311
+ "alias": null,
312
+ "args": null,
313
+ "concreteType": "StripePaymentIntent",
314
+ "kind": "LinkedField",
315
+ "name": "stripePaymentIntent",
316
+ "plural": false,
317
+ "selections": [{
318
+ "alias": null,
319
+ "args": null,
320
+ "kind": "ScalarField",
321
+ "name": "clientSecret",
322
+ "storageKey": null
323
+ }, {
324
+ "alias": null,
325
+ "args": null,
326
+ "kind": "ScalarField",
327
+ "name": "status",
328
+ "storageKey": null
329
+ }],
330
+ "storageKey": null
331
+ }, v0 /*: any*/, {
252
332
  "alias": null,
253
333
  "args": null,
254
334
  "concreteType": "Money",
255
335
  "kind": "LinkedField",
256
336
  "name": "subtotal",
257
337
  "plural": false,
258
- "selections": v0 /*: any*/,
338
+ "selections": v1 /*: any*/,
259
339
  "storageKey": null
260
340
  }, {
261
341
  "alias": null,
@@ -271,7 +351,7 @@ const node = function () {
271
351
  "kind": "LinkedField",
272
352
  "name": "amount",
273
353
  "plural": false,
274
- "selections": v0 /*: any*/,
354
+ "selections": v1 /*: any*/,
275
355
  "storageKey": null
276
356
  }, {
277
357
  "alias": null,
@@ -299,12 +379,12 @@ const node = function () {
299
379
  "kind": "LinkedField",
300
380
  "name": "creditAmountRemaining",
301
381
  "plural": false,
302
- "selections": v0 /*: any*/,
382
+ "selections": v1 /*: any*/,
303
383
  "storageKey": null
304
- }, v1 /*: any*/],
384
+ }, v0 /*: any*/],
305
385
 
306
386
  "storageKey": null
307
- }, v1 /*: any*/],
387
+ }, v0 /*: any*/],
308
388
 
309
389
  "storageKey": null
310
390
  }, {
@@ -314,7 +394,7 @@ const node = function () {
314
394
  "kind": "LinkedField",
315
395
  "name": "discountedSubtotal",
316
396
  "plural": false,
317
- "selections": v0 /*: any*/,
397
+ "selections": v1 /*: any*/,
318
398
  "storageKey": null
319
399
  }, {
320
400
  "alias": null,
@@ -323,7 +403,7 @@ const node = function () {
323
403
  "kind": "LinkedField",
324
404
  "name": "total",
325
405
  "plural": false,
326
- "selections": v0 /*: any*/,
406
+ "selections": v1 /*: any*/,
327
407
  "storageKey": null
328
408
  }, {
329
409
  "alias": null,
@@ -332,7 +412,7 @@ const node = function () {
332
412
  "kind": "LinkedField",
333
413
  "name": "taxes",
334
414
  "plural": false,
335
- "selections": v0 /*: any*/,
415
+ "selections": v1 /*: any*/,
336
416
  "storageKey": null
337
417
  }, {
338
418
  "alias": null,
@@ -346,7 +426,7 @@ const node = function () {
346
426
  "kind": "ScalarField",
347
427
  "name": "gstIncluded",
348
428
  "storageKey": null
349
- }, v1 /*: any*/, {
429
+ }, {
350
430
  "alias": null,
351
431
  "args": null,
352
432
  "kind": "ScalarField",
@@ -359,13 +439,7 @@ const node = function () {
359
439
  "kind": "LinkedField",
360
440
  "name": "customer",
361
441
  "plural": false,
362
- "selections": [v2 /*: any*/, {
363
- "alias": null,
364
- "args": null,
365
- "kind": "ScalarField",
366
- "name": "name",
367
- "storageKey": null
368
- }, v1 /*: any*/],
442
+ "selections": [v2 /*: any*/, v3 /*: any*/, v0 /*: any*/],
369
443
 
370
444
  "storageKey": null
371
445
  }, {
@@ -375,7 +449,44 @@ const node = function () {
375
449
  "kind": "LinkedField",
376
450
  "name": "billingIdentity",
377
451
  "plural": false,
378
- "selections": v3 /*: any*/,
452
+ "selections": [v3 /*: any*/, v2 /*: any*/, {
453
+ "alias": null,
454
+ "args": null,
455
+ "kind": "ScalarField",
456
+ "name": "phone",
457
+ "storageKey": null
458
+ }, {
459
+ "alias": null,
460
+ "args": null,
461
+ "kind": "ScalarField",
462
+ "name": "street",
463
+ "storageKey": null
464
+ }, {
465
+ "alias": null,
466
+ "args": null,
467
+ "kind": "ScalarField",
468
+ "name": "locality",
469
+ "storageKey": null
470
+ }, {
471
+ "alias": null,
472
+ "args": null,
473
+ "kind": "ScalarField",
474
+ "name": "administrativeArea",
475
+ "storageKey": null
476
+ }, {
477
+ "alias": null,
478
+ "args": null,
479
+ "kind": "ScalarField",
480
+ "name": "country",
481
+ "storageKey": null
482
+ }, {
483
+ "alias": null,
484
+ "args": null,
485
+ "kind": "ScalarField",
486
+ "name": "zip",
487
+ "storageKey": null
488
+ }, v4 /*: any*/, v5 /*: any*/, v6 /*: any*/],
489
+
379
490
  "storageKey": null
380
491
  }, {
381
492
  "alias": null,
@@ -384,7 +495,8 @@ const node = function () {
384
495
  "kind": "LinkedField",
385
496
  "name": "licenseeIdentity",
386
497
  "plural": false,
387
- "selections": v3 /*: any*/,
498
+ "selections": [v2 /*: any*/, v4 /*: any*/, v5 /*: any*/, v6 /*: any*/],
499
+
388
500
  "storageKey": null
389
501
  }, {
390
502
  "alias": null,
@@ -429,7 +541,7 @@ const node = function () {
429
541
  "kind": "LinkedField",
430
542
  "name": "orderItems",
431
543
  "plural": true,
432
- "selections": [v1 /*: any*/, {
544
+ "selections": [v0 /*: any*/, {
433
545
  "alias": null,
434
546
  "args": null,
435
547
  "kind": "ScalarField",
@@ -442,7 +554,7 @@ const node = function () {
442
554
  "kind": "LinkedField",
443
555
  "name": "sku",
444
556
  "plural": false,
445
- "selections": [v1 /*: any*/, {
557
+ "selections": [v0 /*: any*/, {
446
558
  "alias": null,
447
559
  "args": [{
448
560
  "kind": "Literal",
@@ -453,7 +565,7 @@ const node = function () {
453
565
  "kind": "LinkedField",
454
566
  "name": "price",
455
567
  "plural": false,
456
- "selections": v0 /*: any*/,
568
+ "selections": v1 /*: any*/,
457
569
  "storageKey": "price(licenseOptions:[])"
458
570
  }],
459
571
  "storageKey": null
@@ -474,41 +586,26 @@ const node = function () {
474
586
  }, {
475
587
  "alias": null,
476
588
  "args": null,
477
- "concreteType": "StripePaymentIntent",
478
- "kind": "LinkedField",
479
- "name": "stripePaymentIntent",
480
- "plural": false,
481
- "selections": [{
482
- "alias": null,
483
- "args": null,
484
- "kind": "ScalarField",
485
- "name": "status",
486
- "storageKey": null
487
- }, {
488
- "alias": null,
489
- "args": null,
490
- "kind": "ScalarField",
491
- "name": "clientSecret",
492
- "storageKey": null
493
- }],
589
+ "kind": "ScalarField",
590
+ "name": "completeUrl",
494
591
  "storageKey": null
495
592
  }],
496
593
  "storageKey": null
497
- }, v1 /*: any*/],
594
+ }, v0 /*: any*/],
498
595
 
499
596
  "storageKey": null
500
597
  }]
501
598
  },
502
599
  "params": {
503
- "cacheID": "8c09dee3f2ba44c9c86dad551d259efa",
600
+ "cacheID": "37e9e6d6045b261100962b326b3de29a",
504
601
  "id": null,
505
602
  "metadata": {},
506
603
  "name": "StoreModalReviewQuery",
507
604
  "operationKind": "query",
508
- "text": "query StoreModalReviewQuery {\n viewer {\n ...StoreModalReview_viewer\n currentOrder {\n ...StoreModalReview_order\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 taxes {\n ...Price_price\n }\n taxName\n gstIncluded\n}\n\nfragment CouponText_coupon on Coupon {\n type\n percentAmount\n creditAmountRemaining {\n amount\n currency\n }\n}\n\nfragment Price_price on Money {\n amount\n currency\n}\n\nfragment SKUPrice_sku on Sku {\n id\n price(licenseOptions: []) {\n amount\n ...Price_price\n }\n}\n\nfragment StoreModalDownload_order on Order {\n id\n archiveUrl\n}\n\nfragment StoreModalReviewIdentity_identity on Identity {\n email\n phoneFormatted\n addressFormatted\n vatNumber\n}\n\nfragment StoreModalReview_order on Order {\n ...CartTotals_order\n ...StoreModalDownload_order\n customer {\n email\n name\n id\n }\n billingIdentity {\n ...StoreModalReviewIdentity_identity\n }\n licenseeIdentity {\n ...StoreModalReviewIdentity_identity\n }\n licenseeIsBillingIdentity\n stripePaymentMethod {\n card {\n last4\n brandFormatted\n }\n }\n orderItems {\n id\n description\n sku {\n ...SKUPrice_sku\n id\n }\n }\n canCompleteWithCoupon\n completedWithCoupon\n stripePaymentIntent {\n status\n clientSecret\n }\n}\n\nfragment StoreModalReview_viewer on Viewer {\n settings {\n eulaAgreementLabel(format: HTML)\n }\n}\n"
605
+ "text": "query StoreModalReviewQuery {\n viewer {\n ...StripeProvider_viewer\n ...StoreModalReview_viewer\n currentOrder {\n ...StoreModalReview_order\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 taxes {\n ...Price_price\n }\n taxName\n gstIncluded\n}\n\nfragment CouponText_coupon on Coupon {\n type\n percentAmount\n creditAmountRemaining {\n amount\n currency\n }\n}\n\nfragment Price_price on Money {\n amount\n currency\n}\n\nfragment SKUPrice_sku on Sku {\n id\n price(licenseOptions: []) {\n amount\n ...Price_price\n }\n}\n\nfragment StoreModalDownload_order on Order {\n id\n archiveUrl\n}\n\nfragment StoreModalReviewIdentity_identity on Identity {\n email\n phoneFormatted\n addressFormatted\n vatNumber\n}\n\nfragment StoreModalReview_order on Order {\n ...CartTotals_order\n ...StoreModalDownload_order\n customer {\n email\n name\n id\n }\n billingIdentity {\n name\n email\n phone\n street\n locality\n administrativeArea\n country\n zip\n ...StoreModalReviewIdentity_identity\n }\n licenseeIdentity {\n ...StoreModalReviewIdentity_identity\n }\n licenseeIsBillingIdentity\n stripePaymentMethod {\n card {\n last4\n brandFormatted\n }\n }\n orderItems {\n id\n description\n sku {\n ...SKUPrice_sku\n id\n }\n }\n canCompleteWithCoupon\n completedWithCoupon\n stripePaymentIntent {\n status\n clientSecret\n }\n completeUrl\n}\n\nfragment StoreModalReview_viewer on Viewer {\n settings {\n eulaAgreementLabel(format: HTML)\n }\n}\n\nfragment StripeProvider_viewer on Viewer {\n settings {\n uiFontUrl\n }\n stripeCredentials {\n stripePublishableKey\n }\n currentOrder {\n stripePaymentIntent {\n clientSecret\n }\n id\n }\n}\n"
509
606
  }
510
607
  };
511
608
  }();
512
- node.hash = '41e195913e09a2e7e2320c97d36faa7c';
609
+ node.hash = 'e0aed024d4a8ba04c42e455e63e8c373';
513
610
  var _default = node;
514
611
  exports.default = _default;
@@ -6,6 +6,14 @@ export declare type StoreModalReview_order = {
6
6
  readonly name: string | null;
7
7
  } | null;
8
8
  readonly billingIdentity: {
9
+ readonly name: string;
10
+ readonly email: string;
11
+ readonly phone: string;
12
+ readonly street: string | null;
13
+ readonly locality: string | null;
14
+ readonly administrativeArea: string | null;
15
+ readonly country: string;
16
+ readonly zip: string | null;
9
17
  readonly " $fragmentRefs": FragmentRefs<"StoreModalReviewIdentity_identity">;
10
18
  } | null;
11
19
  readonly licenseeIdentity: {
@@ -31,6 +39,7 @@ export declare type StoreModalReview_order = {
31
39
  readonly status: string | null;
32
40
  readonly clientSecret: string | null;
33
41
  } | null;
42
+ readonly completeUrl: string;
34
43
  readonly " $fragmentRefs": FragmentRefs<"CartTotals_order" | "StoreModalDownload_order">;
35
44
  readonly " $refType": "StoreModalReview_order";
36
45
  };