@faststore/core 3.46.0 → 3.47.0

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 (45) hide show
  1. package/.next/BUILD_ID +1 -1
  2. package/.next/build-manifest.json +22 -22
  3. package/.next/cache/.tsbuildinfo +1 -1
  4. package/.next/cache/config.json +3 -3
  5. package/.next/cache/webpack/client-production/0.pack +0 -0
  6. package/.next/cache/webpack/client-production/index.pack +0 -0
  7. package/.next/cache/webpack/server-production/0.pack +0 -0
  8. package/.next/cache/webpack/server-production/index.pack +0 -0
  9. package/.next/prerender-manifest.js +1 -1
  10. package/.next/prerender-manifest.json +1 -1
  11. package/.next/react-loadable-manifest.json +1 -1
  12. package/.next/routes-manifest.json +1 -1
  13. package/.next/server/chunks/4559.js +2 -2
  14. package/.next/server/chunks/5636.js +2 -2
  15. package/.next/server/functions-config-manifest.json +1 -1
  16. package/.next/server/middleware-build-manifest.js +1 -1
  17. package/.next/server/middleware-react-loadable-manifest.js +1 -1
  18. package/.next/server/pages/account/orders/[id].js +1 -1
  19. package/.next/server/pages/api/graphql.js +2 -2
  20. package/.next/server/pages/en-US/404.html +2 -2
  21. package/.next/server/pages/en-US/500.html +2 -2
  22. package/.next/server/pages/en-US/account/403.html +2 -2
  23. package/.next/server/pages/en-US/account/404.html +2 -2
  24. package/.next/server/pages/en-US/checkout.html +2 -2
  25. package/.next/server/pages/en-US/login.html +2 -2
  26. package/.next/server/pages/en-US/s.html +2 -2
  27. package/.next/server/pages/en-US.html +2 -2
  28. package/.next/server/pages-manifest.json +1 -1
  29. package/.next/static/chunks/{1552.8751332da83cadc5.js → 1552.2705dd1ff3aee879.js} +1 -1
  30. package/.next/static/chunks/pages/account/orders/{[id]-8ab11c6c528911e9.js → [id]-987267efe897728e.js} +1 -1
  31. package/.next/static/chunks/{webpack-889c9cccd383a436.js → webpack-5eeb0e7a0a92b041.js} +1 -1
  32. package/.next/static/{ptJ56QsnBqlWtpbKOLiri → qls88JfGKl9N9ILYbbCWR}/_buildManifest.js +1 -1
  33. package/.next/trace +129 -129
  34. package/.turbo/turbo-build.log +8 -8
  35. package/.turbo/turbo-test.log +5 -5
  36. package/@generated/gql.ts +4 -4
  37. package/@generated/graphql.ts +75 -601
  38. package/@generated/persisted-documents.json +2 -2
  39. package/@generated/schema.graphql +43 -2
  40. package/CHANGELOG.md +6 -0
  41. package/package.json +3 -3
  42. package/src/components/account/orders/MyAccountOrderDetails/MyAccountOrderDetails.tsx +3 -2
  43. package/src/pages/account/orders/[id].tsx +30 -523
  44. package/src/pages/account/orders/index.tsx +0 -56
  45. /package/.next/static/{ptJ56QsnBqlWtpbKOLiri → qls88JfGKl9N9ILYbbCWR}/_ssgManifest.js +0 -0
@@ -69,540 +69,29 @@ const query = gql(`
69
69
  query ServerOrderDetailsQuery($orderId: String!) {
70
70
  userOrder(orderId: $orderId) {
71
71
  orderId
72
- sequence
73
- marketplaceOrderId
74
- marketplaceServicesEndpoint
75
- sellerOrderId
76
- origin
77
- affiliateId
78
- salesChannel
79
- merchantName
80
72
  status
81
- workflowIsInError
82
73
  statusDescription
83
- value
84
- creationDate
85
- lastChange
86
- orderGroup
87
- giftRegistryData
88
- marketingData
89
- callCenterOperatorData
90
- followUpEmail
91
- lastMessage
92
- hostname
93
- invoiceData
94
- changesAttachment
95
- openTextField
96
- roundingError
97
- orderFormId
98
- commercialConditionData
99
- isCompleted
100
- customData {
101
- customApps {
102
- fields {
103
- cartEtag
104
- }
105
- id
106
- major
107
- }
108
- }
109
74
  allowCancellation
110
- allowEdition
111
- isCheckedIn
112
- authorizedDate
113
- invoicedDate
114
- cancelReason
115
- subscriptionData
116
- taxData
117
- checkedInPickupPointId
118
- cancellationData {
119
- RequestedByUser
120
- RequestedBySystem
121
- RequestedBySellerNotification
122
- RequestedByPaymentNotification
123
- Reason
124
- CancellationDate
125
- }
126
- cancellationRequests {
127
- id
128
- reason
129
- cancellationRequestDate
130
- requestedByUser
131
- deniedBySeller
132
- deniedBySellerReason
133
- cancellationRequestDenyDate
134
- }
135
- clientPreferencesData {
136
- locale
137
- optinNewsLetter
138
- }
139
- itemMetadata {
140
- Items {
141
- Id
142
- Seller
143
- Name
144
- SkuName
145
- ProductId
146
- RefId
147
- Ean
148
- ImageUrl
149
- DetailUrl
150
- AssemblyOptions {
151
- Id
152
- Name
153
- Required
154
- }
155
- }
156
- }
157
- marketplace {
158
- baseURL
159
- isCertified
160
- name
161
- }
162
75
  storePreferencesData {
163
- countryCode
164
76
  currencyCode
165
- currencyLocale
166
- currencySymbol
167
- timeZone
168
- currencyFormatInfo {
169
- CurrencyDecimalDigits
170
- CurrencyDecimalSeparator
171
- CurrencyGroupSeparator
172
- CurrencyGroupSize
173
- StartsWithCurrencySymbol
174
- }
175
- }
176
- sellers {
177
- id
178
- name
179
- logo
180
- fulfillmentEndpoint
181
- }
182
- packageAttachment {
183
- packages {
184
- courier
185
- courierStatus {
186
- data {
187
- city
188
- description
189
- lastChange
190
- state
191
- }
192
- finished
193
- status
194
- }
195
- invoiceNumber
196
- invoiceUrl
197
- invoiceValue
198
- extraValue
199
- issuanceDate
200
- items {
201
- description
202
- itemIndex
203
- price
204
- quantity
205
- }
206
- trackingNumber
207
- trackingUrl
208
- invoiceKey
209
- type
210
- restitutions {
211
- Refund {
212
- value
213
- items {
214
- useFreight
215
- isCompensation
216
- compensationValue
217
- itemIndex
218
- id
219
- quantity
220
- price
221
- description
222
- unitMultiplier
223
- }
224
- }
225
- GiftCard {
226
- value
227
- items {
228
- useFreight
229
- isCompensation
230
- compensationValue
231
- itemIndex
232
- id
233
- quantity
234
- price
235
- description
236
- unitMultiplier
237
- }
238
- }
239
- }
240
- }
241
- }
242
- paymentData {
243
- transactions {
244
- isActive
245
- transactionId
246
- merchantName
247
- payments {
248
- id
249
- paymentSystem
250
- paymentSystemName
251
- value
252
- installments
253
- referenceValue
254
- cardHolder
255
- cardNumber
256
- firstDigits
257
- lastDigits
258
- cvv2
259
- expireMonth
260
- expireYear
261
- url
262
- giftCardId
263
- giftCardName
264
- giftCardCaption
265
- redemptionCode
266
- group
267
- tid
268
- dueDate
269
- connectorResponses {
270
- Message
271
- ReturnCode
272
- Tid
273
- authId
274
- }
275
- giftCardProvider
276
- giftCardAsDiscount
277
- koinUrl
278
- accountId
279
- parentAccountId
280
- bankIssuedInvoiceIdentificationNumber
281
- bankIssuedInvoiceIdentificationNumberFormatted
282
- bankIssuedInvoiceBarCodeNumber
283
- bankIssuedInvoiceBarCodeType
284
- billingAddress
285
- paymentOrigin
286
- }
287
- }
288
- giftCards
289
- }
290
- shippingData {
291
- id
292
- trackingHints
293
- contactInformation {
294
- id
295
- email
296
- firstName
297
- lastName
298
- document
299
- documentType
300
- phone
301
- }
302
- availableAddresses {
303
- addressId
304
- versionId
305
- entityId
306
- addressType
307
- receiverName
308
- street
309
- number
310
- complement
311
- neighborhood
312
- postalCode
313
- city
314
- state
315
- country
316
- reference
317
- geoCoordinates
318
- }
319
- selectedAddresses {
320
- addressId
321
- versionId
322
- entityId
323
- addressType
324
- receiverName
325
- street
326
- number
327
- complement
328
- neighborhood
329
- postalCode
330
- city
331
- state
332
- country
333
- reference
334
- geoCoordinates
335
- }
336
- logisticsInfo {
337
- itemIndex
338
- itemId
339
- selectedDeliveryChannel
340
- selectedSla
341
- lockTTL
342
- price
343
- listPrice
344
- sellingPrice
345
- deliveryWindow {
346
- startDateUtc
347
- endDateUtc
348
- price
349
- }
350
- deliveryCompany
351
- shippingEstimate
352
- shippingEstimateDate
353
- deliveryChannel
354
- addressId
355
- versionId
356
- entityId
357
- polygonName
358
- pickupPointId
359
- transitTime
360
- pickupStoreInfo {
361
- additionalInfo
362
- address {
363
- addressType
364
- receiverName
365
- addressId
366
- versionId
367
- entityId
368
- postalCode
369
- city
370
- state
371
- country
372
- street
373
- number
374
- neighborhood
375
- complement
376
- reference
377
- geoCoordinates
378
- }
379
- dockId
380
- friendlyName
381
- isPickupStore
382
- }
383
- deliveryChannels {
384
- id
385
- stockBalance
386
- }
387
- deliveryIds {
388
- courierId
389
- courierName
390
- dockId
391
- quantity
392
- warehouseId
393
- accountCarrierName
394
- kitItemDetails
395
- }
396
- shipsTo
397
- slas {
398
- id
399
- name
400
- shippingEstimate
401
- shippingEstimateDate
402
- deliveryWindow {
403
- startDateUtc
404
- endDateUtc
405
- price
406
- }
407
- listPrice
408
- price
409
- deliveryChannel
410
- polygonName
411
- lockTTL
412
- pickupPointId
413
- transitTime
414
- pickupDistance
415
- pickupStoreInfo {
416
- additionalInfo
417
- address {
418
- addressType
419
- receiverName
420
- addressId
421
- versionId
422
- entityId
423
- postalCode
424
- city
425
- state
426
- country
427
- street
428
- number
429
- neighborhood
430
- complement
431
- reference
432
- geoCoordinates
433
- }
434
- dockId
435
- friendlyName
436
- isPickupStore
437
- }
438
- deliveryIds {
439
- courierId
440
- courierName
441
- dockId
442
- quantity
443
- warehouseId
444
- accountCarrierName
445
- kitItemDetails
446
- }
447
- availableDeliveryWindows {
448
- startDateUtc
449
- endDateUtc
450
- price
451
- }
452
- }
453
- }
454
- address {
455
- addressType
456
- receiverName
457
- addressId
458
- versionId
459
- entityId
460
- postalCode
461
- city
462
- state
463
- country
464
- street
465
- number
466
- neighborhood
467
- complement
468
- reference
469
- geoCoordinates
470
- }
471
- }
472
- ratesAndBenefitsData {
473
- id
474
- rateAndBenefitsIdentifiers {
475
- id
476
- additionalInfo
477
- description
478
- featured
479
- name
480
- }
481
77
  }
482
78
  clientProfileData {
483
- id
484
- email
485
79
  firstName
486
80
  lastName
487
- documentType
488
- document
81
+ email
489
82
  phone
490
83
  corporateName
491
- tradeName
492
- corporateDocument
493
- stateInscription
494
- corporatePhone
495
84
  isCorporate
496
- userProfileId
497
- userProfileVersion
498
- customerClass
499
- customerCode
500
85
  }
501
- items {
502
- uniqueId
86
+ customFields {
87
+ type
503
88
  id
504
- productId
505
- ean
506
- lockId
507
- quantity
508
- seller
509
- name
510
- refId
511
- price
512
- listPrice
513
- manualPrice
514
- manualPriceAppliedBy
515
- imageUrl
516
- detailUrl
517
- sellerSku
518
- priceValidUntil
519
- commission
520
- tax
521
- preSaleDate
522
- measurementUnit
523
- unitMultiplier
524
- sellingPrice
525
- isGift
526
- shippingPrice
527
- rewardValue
528
- freightCommission
529
- taxCode
530
- parentItemIndex
531
- parentAssemblyBinding
532
- callCenterOperator
533
- serialNumbers
534
- costPrice
535
- assemblies
536
- priceDefinition {
537
- calculatedSellingPrice
538
- total
539
- reason
540
- sellingPrices {
541
- value
542
- quantity
543
- }
544
- }
545
- additionalInfo {
546
- brandName
547
- brandId
548
- categoriesIds
549
- productClusterId
550
- commercialConditionId
551
- offeringInfo
552
- offeringType
553
- offeringTypeId
554
- dimension {
555
- cubicweight
556
- height
557
- length
558
- weight
559
- width
560
- }
561
- categories {
562
- id
563
- name
564
- }
565
- }
566
- attachmentOfferings {
567
- name
568
- required
569
- }
570
- offerings {
571
- type
572
- id
573
- name
574
- price
575
- }
576
- params
577
- bundleItems {
578
- ...UserOrderItemsFragment
579
- attachments {
580
- name
581
- content
582
- }
583
- }
584
- components {
585
- ...UserOrderItemsFragment
586
- }
587
- priceTags {
89
+ fields {
588
90
  name
589
91
  value
590
- rawValue
591
- isPercentual
592
- }
593
- attachments {
594
- name
595
- content
596
- }
597
- itemAttachment {
598
- name
92
+ refId
599
93
  }
600
94
  }
601
- totals {
602
- id
603
- name
604
- value
605
- }
606
95
  deliveryOptionsData {
607
96
  deliveryOptions {
608
97
  selectedSla
@@ -676,15 +165,33 @@ const query = gql(`
676
165
  name
677
166
  }
678
167
  }
679
- customFields {
680
- type
681
- id
682
- fields {
683
- name
684
- value
685
- refId
168
+ paymentData {
169
+ transactions {
170
+ isActive
171
+ payments {
172
+ id
173
+ paymentSystemName
174
+ value
175
+ installments
176
+ referenceValue
177
+ lastDigits
178
+ url
179
+ group
180
+ tid
181
+ connectorResponses {
182
+ authId
183
+ }
184
+ bankIssuedInvoiceIdentificationNumber
185
+ redemptionCode
186
+ paymentOrigin
187
+ }
686
188
  }
687
189
  }
190
+ totals {
191
+ id
192
+ name
193
+ value
194
+ }
688
195
  }
689
196
  }
690
197
  `)
@@ -91,38 +91,10 @@ const query = gql(`
91
91
  price
92
92
  }
93
93
  totalValue
94
- paymentNames
95
94
  status
96
95
  statusDescription
97
- marketPlaceOrderId
98
- sequence
99
- salesChannel
100
- affiliateId
101
- origin
102
- workflowInErrorState
103
- workflowInRetry
104
- lastMessageUnread
105
96
  ShippingEstimatedDate
106
- ShippingEstimatedDateMax
107
- ShippingEstimatedDateMin
108
- orderIsComplete
109
- listId
110
- listType
111
- authorizedDate
112
- callCenterOperatorName
113
- totalItems
114
97
  currencyCode
115
- hostname
116
- invoiceOutput
117
- invoiceInput
118
- lastChange
119
- isAllDelivered
120
- isAnyDelivered
121
- giftCardProviders
122
- orderFormId
123
- paymentApprovedDate
124
- readyForHandlingDate
125
- deliveryDates
126
98
  }
127
99
  paging {
128
100
  total
@@ -130,34 +102,6 @@ const query = gql(`
130
102
  currentPage
131
103
  perPage
132
104
  }
133
- stats {
134
- stats {
135
- totalValue {
136
- Count
137
- Max
138
- Mean
139
- Min
140
- Missing
141
- StdDev
142
- Sum
143
- SumOfSquares
144
- Facets
145
- }
146
- totalItems {
147
- Count
148
- Max
149
- Mean
150
- Min
151
- Missing
152
- StdDev
153
- Sum
154
- SumOfSquares
155
- Facets
156
- }
157
- }
158
- }
159
- facets
160
- reportRecordsLimit
161
105
  }
162
106
  }
163
107
  `)