@faststore/core 3.68.1 → 3.69.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 (42) hide show
  1. package/.next/BUILD_ID +1 -1
  2. package/.next/build-manifest.json +3 -3
  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/routes-manifest.json +1 -1
  12. package/.next/server/chunks/2778.js +1 -1
  13. package/.next/server/chunks/3918.js +1 -1
  14. package/.next/server/chunks/9563.js +2 -2
  15. package/.next/server/chunks/9630.js +1 -1
  16. package/.next/server/middleware-build-manifest.js +1 -1
  17. package/.next/server/pages/account/orders/[id].js +1 -1
  18. package/.next/server/pages/api/graphql.js +2 -2
  19. package/.next/server/pages/en-US/404.html +1 -1
  20. package/.next/server/pages/en-US/500.html +1 -1
  21. package/.next/server/pages/en-US/checkout.html +1 -1
  22. package/.next/server/pages/en-US/login.html +1 -1
  23. package/.next/server/pages/en-US/s.html +1 -1
  24. package/.next/server/pages/en-US.html +1 -1
  25. package/.next/server/pages-manifest.json +1 -1
  26. package/.next/static/{xNn8gOkRDimAnfL8TiLx0 → 8LqJdo90qttH83UstKDej}/_buildManifest.js +1 -1
  27. package/.next/static/chunks/pages/account/orders/{[id]-a2f44ba3963b81cd.js → [id]-f513624f550cc11e.js} +1 -1
  28. package/.next/trace +135 -135
  29. package/.turbo/turbo-build.log +8 -8
  30. package/.turbo/turbo-test.log +5 -5
  31. package/@generated/gql.ts +2 -2
  32. package/@generated/graphql.ts +20 -1
  33. package/@generated/persisted-documents.json +1 -1
  34. package/@generated/schema.graphql +18 -0
  35. package/CHANGELOG.md +12 -0
  36. package/package.json +3 -3
  37. package/src/components/account/orders/MyAccountOrderDetails/MyAccountOrderActions/MyAccountOrderActions.tsx +2 -1
  38. package/src/components/account/orders/MyAccountOrderDetails/MyAccountOrderDetails.tsx +6 -3
  39. package/src/components/account/orders/MyAccountOrderDetails/MyAccountOrderedByCard/MyAccountOrderedByCard.tsx +7 -2
  40. package/src/components/account/orders/MyAccountOrderDetails/MyAccountStatusCard/MyAccountStatusCard.tsx +17 -17
  41. package/src/pages/account/orders/[id].tsx +4 -0
  42. /package/.next/static/{xNn8gOkRDimAnfL8TiLx0 → 8LqJdo90qttH83UstKDej}/_ssgManifest.js +0 -0
@@ -1,23 +1,23 @@
1
1
 
2
- > @faststore/core@3.68.0 prebuild /home/runner/work/faststore/faststore/packages/core
2
+ > @faststore/core@3.68.2 prebuild /home/runner/work/faststore/faststore/packages/core
3
3
  > na run partytown && na run generate
4
4
 
5
5
 
6
- > @faststore/core@3.68.0 partytown /home/runner/work/faststore/faststore/packages/core
6
+ > @faststore/core@3.68.2 partytown /home/runner/work/faststore/faststore/packages/core
7
7
  > partytown copylib ./public/~partytown
8
8
 
9
9
  Partytown lib copied to: /home/runner/work/faststore/faststore/packages/core/public/~partytown
10
10
 
11
- > @faststore/core@3.68.0 generate /home/runner/work/faststore/faststore/packages/core
11
+ > @faststore/core@3.68.2 generate /home/runner/work/faststore/faststore/packages/core
12
12
  > na run generate:schema && na run generate:codegen && na run format:generated
13
13
 
14
14
 
15
- > @faststore/core@3.68.0 generate:schema /home/runner/work/faststore/faststore/packages/core
15
+ > @faststore/core@3.68.2 generate:schema /home/runner/work/faststore/faststore/packages/core
16
16
  > tsx src/server/generator/generateGraphQLSchemaFile.ts
17
17
 
18
18
  Schema GraphQL file generated successfully
19
19
 
20
- > @faststore/core@3.68.0 generate:codegen /home/runner/work/faststore/faststore/packages/core
20
+ > @faststore/core@3.68.2 generate:codegen /home/runner/work/faststore/faststore/packages/core
21
21
  > graphql-codegen
22
22
 
23
23
  [STARTED] Parse Configuration
@@ -37,11 +37,11 @@ Running lifecycle hook "afterStart" scripts...
37
37
  [CLI] Loading Documents
38
38
  [CLI] Generating output
39
39
 
40
- > @faststore/core@3.68.0 format:generated /home/runner/work/faststore/faststore/packages/core
40
+ > @faststore/core@3.68.2 format:generated /home/runner/work/faststore/faststore/packages/core
41
41
  > prettier --write "@generated/**/*.{ts,js,tsx,jsx,json}" --loglevel error
42
42
 
43
43
 
44
- > @faststore/core@3.68.0 build /home/runner/work/faststore/faststore/packages/core
44
+ > @faststore/core@3.68.2 build /home/runner/work/faststore/faststore/packages/core
45
45
  > next build
46
46
 
47
47
  ⚠ No build cache found. Please configure build caching for faster rebuilds. Read more: https://nextjs.org/docs/messages/no-cache
@@ -91,7 +91,7 @@ Route (pages) Size First Load JS
91
91
  ├ └ css/5347dbc8b71de47d.css 4.25 kB
92
92
  ├ λ /account/orders 8.94 kB 144 kB
93
93
  ├ └ css/3d41485722b4e3f5.css 12.1 kB
94
- ├ λ /account/orders/[id] 12 kB 147 kB
94
+ ├ λ /account/orders/[id] 12.1 kB 148 kB
95
95
  ├ └ css/ba1d8927d8745656.css 12.6 kB
96
96
  ├ λ /account/profile 1.79 kB 137 kB
97
97
  ├ └ css/831a1f72fe4b2d80.css 3.97 kB
@@ -1,14 +1,14 @@
1
1
 
2
- > @faststore/core@3.68.0 test /home/runner/work/faststore/faststore/packages/core
2
+ > @faststore/core@3.68.2 test /home/runner/work/faststore/faststore/packages/core
3
3
  > jest
4
4
 
5
- PASS test/utils/multipleTemplates.test.ts (26.798 s)
6
- PASS test/server/cms/global.test.ts (27.551 s)
5
+ PASS test/utils/multipleTemplates.test.ts (27.3 s)
6
+ PASS test/server/cms/global.test.ts (27.28 s)
7
7
  PASS test/server/cms/index.test.ts
8
- PASS test/server/index.test.ts (30.302 s)
8
+ PASS test/server/index.test.ts (30.687 s)
9
9
 
10
10
  Test Suites: 4 passed, 4 total
11
11
  Tests: 22 passed, 22 total
12
12
  Snapshots: 0 total
13
- Time: 31.715 s
13
+ Time: 31.814 s
14
14
  Ran all test suites.
package/@generated/gql.ts CHANGED
@@ -44,7 +44,7 @@ const documents = {
44
44
  types.ServerProductQueryDocument,
45
45
  '\n fragment UserOrderItemsFragment on UserOrderItems {\n id\n name\n quantity\n sellingPrice\n unitMultiplier\n measurementUnit\n imageUrl\n detailUrl\n refId\n rewardValue\n }\n':
46
46
  types.UserOrderItemsFragmentFragmentDoc,
47
- '\n query ServerOrderDetailsQuery($orderId: String!) {\n userOrder(orderId: $orderId) {\n orderId\n status\n canProcessOrderAuthorization\n statusDescription\n allowCancellation\n ruleForAuthorization {\n orderAuthorizationId\n dimensionId\n rule {\n id\n name\n status\n doId\n authorizedEmails\n priority\n trigger {\n condition {\n conditionType\n description\n lessThan\n greatherThan\n expression\n }\n effect {\n description\n effectType\n funcPath\n }\n }\n timeout\n notification\n scoreInterval {\n accept\n deny\n }\n authorizationData {\n requireAllApprovals\n authorizers {\n id\n email\n type\n authorizationDate\n }\n }\n isUserAuthorized\n isUserNextAuthorizer\n }\n }\n storePreferencesData {\n currencyCode\n }\n clientProfileData {\n firstName\n lastName\n email\n phone\n corporateName\n isCorporate\n }\n customFields {\n type\n id\n fields {\n name\n value\n refId\n }\n }\n deliveryOptionsData {\n deliveryOptions {\n selectedSla\n deliveryChannel\n deliveryCompany\n deliveryWindow {\n startDateUtc\n endDateUtc\n price\n }\n shippingEstimate\n shippingEstimateDate\n friendlyShippingEstimate\n friendlyDeliveryOptionName\n seller\n address {\n addressType\n receiverName\n addressId\n versionId\n entityId\n postalCode\n city\n state\n country\n street\n number\n neighborhood\n complement\n reference\n geoCoordinates\n }\n pickupStoreInfo {\n additionalInfo\n address {\n addressType\n receiverName\n addressId\n versionId\n entityId\n postalCode\n city\n state\n country\n street\n number\n neighborhood\n complement\n reference\n geoCoordinates\n }\n dockId\n friendlyName\n isPickupStore\n }\n quantityOfDifferentItems\n total\n items {\n id\n uniqueId\n name\n quantity\n price\n imageUrl\n tax\n total\n }\n }\n contact {\n email\n phone\n name\n }\n }\n paymentData {\n transactions {\n isActive\n payments {\n id\n paymentSystemName\n value\n installments\n referenceValue\n lastDigits\n url\n group\n tid\n connectorResponses {\n authId\n }\n bankIssuedInvoiceIdentificationNumber\n redemptionCode\n paymentOrigin\n }\n }\n }\n totals {\n id\n name\n value\n }\n }\n accountName\n }\n':
47
+ '\n query ServerOrderDetailsQuery($orderId: String!) {\n userOrder(orderId: $orderId) {\n orderId\n status\n canProcessOrderAuthorization\n statusDescription\n allowCancellation\n ruleForAuthorization {\n orderAuthorizationId\n dimensionId\n rule {\n id\n name\n status\n doId\n authorizedEmails\n priority\n trigger {\n condition {\n conditionType\n description\n lessThan\n greatherThan\n expression\n }\n effect {\n description\n effectType\n funcPath\n }\n }\n timeout\n notification\n scoreInterval {\n accept\n deny\n }\n authorizationData {\n requireAllApprovals\n authorizers {\n id\n email\n type\n authorizationDate\n }\n }\n isUserAuthorized\n isUserNextAuthorizer\n }\n }\n storePreferencesData {\n currencyCode\n }\n clientProfileData {\n firstName\n lastName\n email\n phone\n corporateName\n isCorporate\n }\n customFields {\n type\n id\n fields {\n name\n value\n refId\n }\n }\n deliveryOptionsData {\n deliveryOptions {\n selectedSla\n deliveryChannel\n deliveryCompany\n deliveryWindow {\n startDateUtc\n endDateUtc\n price\n }\n shippingEstimate\n shippingEstimateDate\n friendlyShippingEstimate\n friendlyDeliveryOptionName\n seller\n address {\n addressType\n receiverName\n addressId\n versionId\n entityId\n postalCode\n city\n state\n country\n street\n number\n neighborhood\n complement\n reference\n geoCoordinates\n }\n pickupStoreInfo {\n additionalInfo\n address {\n addressType\n receiverName\n addressId\n versionId\n entityId\n postalCode\n city\n state\n country\n street\n number\n neighborhood\n complement\n reference\n geoCoordinates\n }\n dockId\n friendlyName\n isPickupStore\n }\n quantityOfDifferentItems\n total\n items {\n id\n uniqueId\n name\n quantity\n price\n imageUrl\n tax\n total\n }\n }\n contact {\n email\n phone\n name\n }\n }\n paymentData {\n transactions {\n isActive\n payments {\n id\n paymentSystemName\n value\n installments\n referenceValue\n lastDigits\n url\n group\n tid\n connectorResponses {\n authId\n }\n bankIssuedInvoiceIdentificationNumber\n redemptionCode\n paymentOrigin\n }\n }\n }\n totals {\n id\n name\n value\n }\n shopperName {\n firstName\n lastName\n }\n }\n accountName\n }\n':
48
48
  types.ServerOrderDetailsQueryDocument,
49
49
  '\n query ServerListOrdersQuery ($page: Int,$perPage: Int, $status: [String], $dateInitial: String, $dateFinal: String, $text: String, $clientEmail: String) {\n listUserOrders (page: $page, perPage: $perPage, status: $status, dateInitial: $dateInitial, dateFinal: $dateFinal, text: $text, clientEmail: $clientEmail) {\n list {\n orderId\n creationDate\n clientName\n items {\n seller\n quantity\n description\n ean\n refId\n id\n productId\n sellingPrice\n price\n }\n totalValue\n status\n statusDescription\n ShippingEstimatedDate\n currencyCode\n customFields {\n type\n value\n }\n }\n paging {\n total\n pages\n currentPage\n perPage\n }\n }\n accountName\n }\n':
50
50
  types.ServerListOrdersQueryDocument,
@@ -190,7 +190,7 @@ export function gql(
190
190
  * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
191
191
  */
192
192
  export function gql(
193
- source: '\n query ServerOrderDetailsQuery($orderId: String!) {\n userOrder(orderId: $orderId) {\n orderId\n status\n canProcessOrderAuthorization\n statusDescription\n allowCancellation\n ruleForAuthorization {\n orderAuthorizationId\n dimensionId\n rule {\n id\n name\n status\n doId\n authorizedEmails\n priority\n trigger {\n condition {\n conditionType\n description\n lessThan\n greatherThan\n expression\n }\n effect {\n description\n effectType\n funcPath\n }\n }\n timeout\n notification\n scoreInterval {\n accept\n deny\n }\n authorizationData {\n requireAllApprovals\n authorizers {\n id\n email\n type\n authorizationDate\n }\n }\n isUserAuthorized\n isUserNextAuthorizer\n }\n }\n storePreferencesData {\n currencyCode\n }\n clientProfileData {\n firstName\n lastName\n email\n phone\n corporateName\n isCorporate\n }\n customFields {\n type\n id\n fields {\n name\n value\n refId\n }\n }\n deliveryOptionsData {\n deliveryOptions {\n selectedSla\n deliveryChannel\n deliveryCompany\n deliveryWindow {\n startDateUtc\n endDateUtc\n price\n }\n shippingEstimate\n shippingEstimateDate\n friendlyShippingEstimate\n friendlyDeliveryOptionName\n seller\n address {\n addressType\n receiverName\n addressId\n versionId\n entityId\n postalCode\n city\n state\n country\n street\n number\n neighborhood\n complement\n reference\n geoCoordinates\n }\n pickupStoreInfo {\n additionalInfo\n address {\n addressType\n receiverName\n addressId\n versionId\n entityId\n postalCode\n city\n state\n country\n street\n number\n neighborhood\n complement\n reference\n geoCoordinates\n }\n dockId\n friendlyName\n isPickupStore\n }\n quantityOfDifferentItems\n total\n items {\n id\n uniqueId\n name\n quantity\n price\n imageUrl\n tax\n total\n }\n }\n contact {\n email\n phone\n name\n }\n }\n paymentData {\n transactions {\n isActive\n payments {\n id\n paymentSystemName\n value\n installments\n referenceValue\n lastDigits\n url\n group\n tid\n connectorResponses {\n authId\n }\n bankIssuedInvoiceIdentificationNumber\n redemptionCode\n paymentOrigin\n }\n }\n }\n totals {\n id\n name\n value\n }\n }\n accountName\n }\n'
193
+ source: '\n query ServerOrderDetailsQuery($orderId: String!) {\n userOrder(orderId: $orderId) {\n orderId\n status\n canProcessOrderAuthorization\n statusDescription\n allowCancellation\n ruleForAuthorization {\n orderAuthorizationId\n dimensionId\n rule {\n id\n name\n status\n doId\n authorizedEmails\n priority\n trigger {\n condition {\n conditionType\n description\n lessThan\n greatherThan\n expression\n }\n effect {\n description\n effectType\n funcPath\n }\n }\n timeout\n notification\n scoreInterval {\n accept\n deny\n }\n authorizationData {\n requireAllApprovals\n authorizers {\n id\n email\n type\n authorizationDate\n }\n }\n isUserAuthorized\n isUserNextAuthorizer\n }\n }\n storePreferencesData {\n currencyCode\n }\n clientProfileData {\n firstName\n lastName\n email\n phone\n corporateName\n isCorporate\n }\n customFields {\n type\n id\n fields {\n name\n value\n refId\n }\n }\n deliveryOptionsData {\n deliveryOptions {\n selectedSla\n deliveryChannel\n deliveryCompany\n deliveryWindow {\n startDateUtc\n endDateUtc\n price\n }\n shippingEstimate\n shippingEstimateDate\n friendlyShippingEstimate\n friendlyDeliveryOptionName\n seller\n address {\n addressType\n receiverName\n addressId\n versionId\n entityId\n postalCode\n city\n state\n country\n street\n number\n neighborhood\n complement\n reference\n geoCoordinates\n }\n pickupStoreInfo {\n additionalInfo\n address {\n addressType\n receiverName\n addressId\n versionId\n entityId\n postalCode\n city\n state\n country\n street\n number\n neighborhood\n complement\n reference\n geoCoordinates\n }\n dockId\n friendlyName\n isPickupStore\n }\n quantityOfDifferentItems\n total\n items {\n id\n uniqueId\n name\n quantity\n price\n imageUrl\n tax\n total\n }\n }\n contact {\n email\n phone\n name\n }\n }\n paymentData {\n transactions {\n isActive\n payments {\n id\n paymentSystemName\n value\n installments\n referenceValue\n lastDigits\n url\n group\n tid\n connectorResponses {\n authId\n }\n bankIssuedInvoiceIdentificationNumber\n redemptionCode\n paymentOrigin\n }\n }\n }\n totals {\n id\n name\n value\n }\n shopperName {\n firstName\n lastName\n }\n }\n accountName\n }\n'
194
194
  ): typeof import('./graphql').ServerOrderDetailsQueryDocument
195
195
  /**
196
196
  * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
@@ -1638,6 +1638,7 @@ export type UserOrder = {
1638
1638
  origin: Maybe<Scalars['String']['output']>
1639
1639
  packageAttachment: Maybe<UserOrderPackageAttachment>
1640
1640
  paymentData: Maybe<UserOrderPaymentData>
1641
+ purchaseAgentData: Maybe<UserOrderPurchaseAgentData>
1641
1642
  ratesAndBenefitsData: Maybe<UserOrderRatesAndBenefitsData>
1642
1643
  roundingError: Maybe<Scalars['Int']['output']>
1643
1644
  ruleForAuthorization: Maybe<ProcessOrderAuthorizationRule>
@@ -2212,6 +2213,17 @@ export type UserOrderPriceTag = {
2212
2213
  value: Maybe<Scalars['Float']['output']>
2213
2214
  }
2214
2215
 
2216
+ export type UserOrderPurchaseAgent = {
2217
+ persona: Maybe<Scalars['String']['output']>
2218
+ unitId: Maybe<Scalars['String']['output']>
2219
+ userId: Maybe<Scalars['String']['output']>
2220
+ versionId: Maybe<Scalars['String']['output']>
2221
+ }
2222
+
2223
+ export type UserOrderPurchaseAgentData = {
2224
+ purchaseAgents: Maybe<Array<Maybe<UserOrderPurchaseAgent>>>
2225
+ }
2226
+
2215
2227
  export type UserOrderRateAndBenefitsIdentifier = {
2216
2228
  additionalInfo: Maybe<Scalars['String']['output']>
2217
2229
  description: Maybe<Scalars['String']['output']>
@@ -2261,6 +2273,7 @@ export type UserOrderResult = {
2261
2273
  paymentData: Maybe<UserOrderPaymentData>
2262
2274
  ruleForAuthorization: Maybe<ProcessOrderAuthorizationRule>
2263
2275
  shippingData: Maybe<UserOrderShippingData>
2276
+ shopperName: Maybe<UserOrderShopperName>
2264
2277
  status: Maybe<Scalars['String']['output']>
2265
2278
  statusDescription: Maybe<Scalars['String']['output']>
2266
2279
  storePreferencesData: Maybe<UserOrderStorePreferencesData>
@@ -2282,6 +2295,11 @@ export type UserOrderShippingData = {
2282
2295
  trackingHints: Maybe<Scalars['String']['output']>
2283
2296
  }
2284
2297
 
2298
+ export type UserOrderShopperName = {
2299
+ firstName: Maybe<Scalars['String']['output']>
2300
+ lastName: Maybe<Scalars['String']['output']>
2301
+ }
2302
+
2285
2303
  export type UserOrderSlas = {
2286
2304
  availableDeliveryWindows: Maybe<Array<Maybe<UserOrderDeliveryWindow>>>
2287
2305
  deliveryChannel: Maybe<Scalars['String']['output']>
@@ -2771,6 +2789,7 @@ export type ServerOrderDetailsQueryQuery = {
2771
2789
  name: string | null
2772
2790
  value: number | null
2773
2791
  } | null> | null
2792
+ shopperName: { firstName: string | null; lastName: string | null } | null
2774
2793
  } | null
2775
2794
  }
2776
2795
 
@@ -3974,7 +3993,7 @@ export const ServerProductQueryDocument = {
3974
3993
  export const ServerOrderDetailsQueryDocument = {
3975
3994
  __meta__: {
3976
3995
  operationName: 'ServerOrderDetailsQuery',
3977
- operationHash: '4758ccbf776bfa5d9b9f15f92bee6ecb78706b20',
3996
+ operationHash: 'a1c862006d31528cb33bae9d21254d49239c2abb',
3978
3997
  },
3979
3998
  } as unknown as TypedDocumentString<
3980
3999
  ServerOrderDetailsQueryQuery,
@@ -2,7 +2,7 @@
2
2
  "47315a3cd26ddd9c7fa963778988464341b8193f": "query ServerAccountPageQuery { accountName }",
3
3
  "4b33c5c07f440dc7489e55619dc2211a13786e72": "fragment ServerCollectionPage on Query { collection(slug: $slug) { id } } query ServerCollectionPageQuery($slug: String!) { collection(slug: $slug) { breadcrumbList { itemListElement { item name position } } meta { selectedFacets { key value } } seo { description title } } ...ServerCollectionPage }",
4
4
  "46103bee661405bde706d72126fdbf9b0a0c9e6e": "fragment CartProductItem on StoreProduct { additionalProperty { name propertyID value valueReference } brand { name } gtin image { alternateName url } isVariantOf { name productGroupID skuVariants { activeVariations availableVariations slugsMap } } name sku unitMultiplier } fragment ProductDetailsFragment_product on StoreProduct { additionalProperty { name propertyID value valueReference } brand { name } description gtin image { alternateName url } isVariantOf { name productGroupID skuVariants { activeVariations availableVariations slugsMap } } name offers { lowPrice lowPriceWithTaxes offers { availability listPrice listPriceWithTaxes price priceWithTaxes seller { identifier } } } id: productID sku unitMultiplier ...CartProductItem } fragment ServerProduct on Query { product(locator: $locator) { id: productID } } query ServerProductQuery($locator: [IStoreSelectedFacet!]!) { product(locator: $locator) { brand { name } breadcrumbList { itemListElement { item name position } } description gtin image { alternateName url } isVariantOf { productGroupID } name offers { highPrice lowPrice lowPriceWithTaxes offers { availability itemCondition price priceCurrency priceValidUntil seller { identifier } } priceCurrency } id: productID releaseDate seo { canonical description title } sku ...ProductDetailsFragment_product } ...ServerProduct }",
5
- "4758ccbf776bfa5d9b9f15f92bee6ecb78706b20": "query ServerOrderDetailsQuery($orderId: String!) { accountName userOrder(orderId: $orderId) { allowCancellation canProcessOrderAuthorization clientProfileData { corporateName email firstName isCorporate lastName phone } customFields { fields { name refId value } id type } deliveryOptionsData { contact { email name phone } deliveryOptions { address { addressId addressType city complement country entityId geoCoordinates neighborhood number postalCode receiverName reference state street versionId } deliveryChannel deliveryCompany deliveryWindow { endDateUtc price startDateUtc } friendlyDeliveryOptionName friendlyShippingEstimate items { id imageUrl name price quantity tax total uniqueId } pickupStoreInfo { additionalInfo address { addressId addressType city complement country entityId geoCoordinates neighborhood number postalCode receiverName reference state street versionId } dockId friendlyName isPickupStore } quantityOfDifferentItems selectedSla seller shippingEstimate shippingEstimateDate total } } orderId paymentData { transactions { isActive payments { bankIssuedInvoiceIdentificationNumber connectorResponses { authId } group id installments lastDigits paymentOrigin paymentSystemName redemptionCode referenceValue tid url value } } } ruleForAuthorization { dimensionId orderAuthorizationId rule { authorizationData { authorizers { authorizationDate email id type } requireAllApprovals } authorizedEmails doId id isUserAuthorized isUserNextAuthorizer name notification priority scoreInterval { accept deny } status timeout trigger { condition { conditionType description expression greatherThan lessThan } effect { description effectType funcPath } } } } status statusDescription storePreferencesData { currencyCode } totals { id name value } } }",
5
+ "a1c862006d31528cb33bae9d21254d49239c2abb": "query ServerOrderDetailsQuery($orderId: String!) { accountName userOrder(orderId: $orderId) { allowCancellation canProcessOrderAuthorization clientProfileData { corporateName email firstName isCorporate lastName phone } customFields { fields { name refId value } id type } deliveryOptionsData { contact { email name phone } deliveryOptions { address { addressId addressType city complement country entityId geoCoordinates neighborhood number postalCode receiverName reference state street versionId } deliveryChannel deliveryCompany deliveryWindow { endDateUtc price startDateUtc } friendlyDeliveryOptionName friendlyShippingEstimate items { id imageUrl name price quantity tax total uniqueId } pickupStoreInfo { additionalInfo address { addressId addressType city complement country entityId geoCoordinates neighborhood number postalCode receiverName reference state street versionId } dockId friendlyName isPickupStore } quantityOfDifferentItems selectedSla seller shippingEstimate shippingEstimateDate total } } orderId paymentData { transactions { isActive payments { bankIssuedInvoiceIdentificationNumber connectorResponses { authId } group id installments lastDigits paymentOrigin paymentSystemName redemptionCode referenceValue tid url value } } } ruleForAuthorization { dimensionId orderAuthorizationId rule { authorizationData { authorizers { authorizationDate email id type } requireAllApprovals } authorizedEmails doId id isUserAuthorized isUserNextAuthorizer name notification priority scoreInterval { accept deny } status timeout trigger { condition { conditionType description expression greatherThan lessThan } effect { description effectType funcPath } } } } shopperName { firstName lastName } status statusDescription storePreferencesData { currencyCode } totals { id name value } } }",
6
6
  "ee84ac3f5b58c5e1950a927a42c5c1dd6012fcc4": "query ServerListOrdersQuery($clientEmail: String, $dateFinal: String, $dateInitial: String, $page: Int, $perPage: Int, $status: [String], $text: String) { accountName listUserOrders( page: $page perPage: $perPage status: $status dateInitial: $dateInitial dateFinal: $dateFinal text: $text clientEmail: $clientEmail ) { list { ShippingEstimatedDate clientName creationDate currencyCode customFields { type value } items { description ean id price productId quantity refId seller sellingPrice } orderId status statusDescription totalValue } paging { currentPage pages perPage total } } }",
7
7
  "0ed4b5db8fed122d8418195d01fb91b30261d587": "query ServerProfileQuery { accountName accountProfile { email id name } }",
8
8
  "9f24767f16e6e05c168336701a6c6c7b6b5dc1c6": "query ServerSecurityQuery { accountName }",
@@ -1605,6 +1605,18 @@ type UserOrder {
1605
1605
  customFields: [UserOrderCustomFieldsGrouped]
1606
1606
  canProcessOrderAuthorization: Boolean
1607
1607
  ruleForAuthorization: ProcessOrderAuthorizationRule
1608
+ purchaseAgentData: UserOrderPurchaseAgentData
1609
+ }
1610
+
1611
+ type UserOrderPurchaseAgentData {
1612
+ purchaseAgents: [UserOrderPurchaseAgent]
1613
+ }
1614
+
1615
+ type UserOrderPurchaseAgent {
1616
+ userId: String
1617
+ versionId: String
1618
+ persona: String
1619
+ unitId: String
1608
1620
  }
1609
1621
 
1610
1622
  type UserOrderResult {
@@ -1623,6 +1635,12 @@ type UserOrderResult {
1623
1635
  shippingData: UserOrderShippingData
1624
1636
  items: [UserOrderItems]
1625
1637
  ruleForAuthorization: ProcessOrderAuthorizationRule
1638
+ shopperName: UserOrderShopperName
1639
+ }
1640
+
1641
+ type UserOrderShopperName {
1642
+ firstName: String
1643
+ lastName: String
1626
1644
  }
1627
1645
 
1628
1646
  type UserOrderListResult {
package/CHANGELOG.md CHANGED
@@ -3,6 +3,18 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.69.0](https://github.com/vtex/faststore/compare/v3.68.2...v3.69.0) (2025-07-31)
7
+
8
+ ### Features
9
+
10
+ - add shopper name data to user order page ([#2967](https://github.com/vtex/faststore/issues/2967)) ([6b2eb05](https://github.com/vtex/faststore/commit/6b2eb05e6590363c1a91ff1e802784606a0b1917))
11
+
12
+ ## [3.68.2](https://github.com/vtex/faststore/compare/v3.68.1...v3.68.2) (2025-07-29)
13
+
14
+ ### Bug Fixes
15
+
16
+ - cancel order withAutCookie SFS-2684 ([#2954](https://github.com/vtex/faststore/issues/2954)) ([f0e4cca](https://github.com/vtex/faststore/commit/f0e4cca07932d02b884993a7fa7db83489f91ef2))
17
+
6
18
  ## [3.68.1](https://github.com/vtex/faststore/compare/v3.68.0...v3.68.1) (2025-07-29)
7
19
 
8
20
  ### Bug Fixes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@faststore/core",
3
- "version": "3.68.1",
3
+ "version": "3.69.0",
4
4
  "license": "MIT",
5
5
  "repository": "vtex/faststore",
6
6
  "browserslist": "supports es6-module and not dead",
@@ -44,7 +44,7 @@
44
44
  "@envelop/graphql-jit": "^8.0.3",
45
45
  "@envelop/parser-cache": "^6.0.2",
46
46
  "@envelop/validation-cache": "^6.0.2",
47
- "@faststore/api": "^3.68.1",
47
+ "@faststore/api": "^3.69.0",
48
48
  "@faststore/graphql-utils": "^3.56.1",
49
49
  "@faststore/lighthouse": "^3.56.1",
50
50
  "@faststore/sdk": "^3.68.0",
@@ -107,5 +107,5 @@
107
107
  "ts-jest": "29.1.1",
108
108
  "typescript": "5.3.2"
109
109
  },
110
- "gitHead": "370eb4ffefa51156f632ed08f2ac8ff54b95ca76"
110
+ "gitHead": "bab6d53b3cb4d5e02a913c74ecfe56006078e7fe"
111
111
  }
@@ -5,7 +5,6 @@ import {
5
5
  DropdownMenu,
6
6
  Icon as UIIcon,
7
7
  useUI,
8
- IconButton as UIIconButton,
9
8
  } from '@faststore/ui'
10
9
  import { useState } from 'react'
11
10
  import MyAccountOrderActionModal from 'src/components/account/orders/MyAccountOrderDetails/MyAccountOrderActionModal'
@@ -44,6 +43,8 @@ export default function MyAccountOrderActions({
44
43
  message: 'Order canceled successfully',
45
44
  icon: <UIIcon width={30} height={30} name="CircleWavyCheck" />,
46
45
  })
46
+
47
+ window.location.reload()
47
48
  } catch (error) {
48
49
  pushToast({
49
50
  status: 'ERROR',
@@ -1,18 +1,18 @@
1
1
  import { Icon as UIIcon, IconButton as UIIconButton } from '@faststore/ui'
2
2
  import MyAccountStatusCard from 'src/components/account/orders/MyAccountOrderDetails/MyAccountStatusCard'
3
+ import MyAccountBuyingPolicyAlert from './MyAccountBuyingPolicyAlert'
3
4
  import MyAccountDeliveryCard from './MyAccountDeliveryCard'
4
5
  import { MyAccountDeliveryOptionAccordion } from './MyAccountDeliveryOptionAccordion'
5
6
  import MyAccountOrderActions from './MyAccountOrderActions'
6
7
  import MyAccountOrderedByCard from './MyAccountOrderedByCard'
7
8
  import MyAccountPaymentCard from './MyAccountPaymentCard'
8
9
  import MyAccountSummaryCard from './MyAccountSummaryCard'
9
- import MyAccountBuyingPolicyAlert from './MyAccountBuyingPolicyAlert'
10
10
 
11
+ import type { ServerOrderDetailsQueryQuery } from '@generated/graphql'
11
12
  import type { OrderStatusKey } from 'src/utils/userOrderStatus'
12
13
  import MyAccountStatusBadge from '../../components/MyAccountStatusBadge'
13
14
  import MyAccountMoreInformationCard from './MyAccountMoreInformationCard'
14
15
  import styles from './section.module.scss'
15
- import type { ServerOrderDetailsQueryQuery } from '@generated/graphql'
16
16
 
17
17
  export interface MyAccountOrderDetailsProps {
18
18
  order: ServerOrderDetailsQueryQuery['userOrder']
@@ -66,7 +66,10 @@ export default function MyAccountOrderDetails({
66
66
  />
67
67
  )}
68
68
 
69
- <MyAccountOrderedByCard clientProfileData={order.clientProfileData} />
69
+ <MyAccountOrderedByCard
70
+ clientProfileData={order.clientProfileData}
71
+ shopperName={order.shopperName}
72
+ />
70
73
 
71
74
  <MyAccountDeliveryCard
72
75
  deliveryOptionsData={order.deliveryOptionsData}
@@ -11,13 +11,18 @@ interface MyAccountOrderedByCardProps {
11
11
  | 'corporateName'
12
12
  | 'isCorporate'
13
13
  >
14
+ shopperName: {
15
+ firstName: string
16
+ lastName: string
17
+ }
14
18
  }
15
19
 
16
20
  function MyAccountOrderedByCard({
17
21
  clientProfileData,
22
+ shopperName,
18
23
  }: MyAccountOrderedByCardProps) {
19
- const firstName = clientProfileData?.firstName
20
- const lastName = clientProfileData?.lastName
24
+ const firstName = shopperName?.firstName ?? clientProfileData?.firstName ?? ''
25
+ const lastName = shopperName?.lastName ?? clientProfileData?.lastName ?? ''
21
26
  const email = clientProfileData?.email
22
27
  const phone = clientProfileData?.phone
23
28
  const corporateName = clientProfileData?.corporateName
@@ -1,5 +1,5 @@
1
- import { Skeleton as UISkeleton, Icon as UIIcon } from '@faststore/ui'
2
- import { type ReactNode, useEffect, useRef } from 'react'
1
+ import { Icon as UIIcon, Skeleton as UISkeleton } from '@faststore/ui'
2
+ import { useRef, type ReactNode } from 'react'
3
3
  import MyAccountCard from 'src/components/account/components/MyAccountCard'
4
4
  import { orderStatusMap, type OrderStatusKey } from 'src/utils/userOrderStatus'
5
5
  import { useConnectorPositioning } from './useConnectorPositioning'
@@ -225,19 +225,11 @@ function MyAccountStatusCard({ status }: MyAccountStatusCardProps) {
225
225
  isFailed,
226
226
  })
227
227
 
228
- const stepLabel = isCanceled ? (
229
- step.key === 'payment' ? (
230
- currentStatusLabel
231
- ) : (
232
- <UISkeleton
233
- key={step.key}
234
- size={{ width: '100px', height: '14px' }}
235
- shimmer={false}
236
- />
237
- )
238
- ) : (
239
- step.label(stepStatus)
240
- )
228
+ const stepLabel = isCanceled
229
+ ? step.key === 'payment'
230
+ ? currentStatusLabel
231
+ : '—' // prevent hydration mismatch
232
+ : step.label(stepStatus)
241
233
 
242
234
  return {
243
235
  label: stepLabel,
@@ -250,13 +242,21 @@ function MyAccountStatusCard({ status }: MyAccountStatusCardProps) {
250
242
  <div data-fs-order-status-content ref={containerRef}>
251
243
  {steps.map((step, index) => (
252
244
  <div
253
- key={`${step.label}-${index}`}
245
+ key={`step-${index}`}
254
246
  data-fs-shipping-step
255
247
  data-fs-shipping-status={step.status}
256
248
  >
257
249
  <StepIcon status={step.status} isCanceled={isCanceled} />
258
250
  <div data-fs-shipping-step-content>
259
- <p data-fs-shipping-step-label>{step.label}</p>
251
+ {step.label === '—' ? (
252
+ <UISkeleton
253
+ key={`skeleton-${index}`}
254
+ size={{ width: '100px', height: '14px' }}
255
+ shimmer={false}
256
+ />
257
+ ) : (
258
+ <p data-fs-shipping-step-label>{step.label}</p>
259
+ )}
260
260
  {step.completedAt && (
261
261
  <div data-fs-shipping-step-details>
262
262
  <span data-fs-shipping-step-date>
@@ -249,6 +249,10 @@ const query = gql(`
249
249
  name
250
250
  value
251
251
  }
252
+ shopperName {
253
+ firstName
254
+ lastName
255
+ }
252
256
  }
253
257
  accountName
254
258
  }