@shoppexio/storefront 1.0.109 → 1.0.110

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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.0.110
4
+
5
+ - `getShopReviewsPage()`: `ShopReviewsSummary` declares `verified` (the reviews among `total` written on a delivered order, the entries with `verified: true`) and `verified_average_score` (their own average, null when none is). A product's `feedback` (`ProductFeedback`) declares the same pair as `verified` and `verified_average`. All optional: absent until the API that sends them is deployed.
6
+ - `getStorefrontRecentSales()`: `StorefrontRecentSaleEntry` declares `product_uniqid`, the sold product's public id, to link the sale. Optional until the API that sends it is deployed.
7
+ - `Product` declares `warranty_period_days`: the warranty a buyer claims per purchase in their account, in days, null for none. Optional until the API that sends it is deployed.
8
+
3
9
  ## 1.0.109
4
10
 
5
11
  - Breaking: customer favorites are retired (PR #3838). The customer module drops `favorites`, `addFavorite` and `removeFavorite`, and the headless customer client drops `favorites`, `addFavorite` and `removeFavorite` with the `HeadlessCustomerFavorites` and `HeadlessCustomerFavoriteMutation` types: the API removes `/v1/customer/favorites`, so these calls would only answer 404.
@@ -19972,6 +19972,17 @@ var customerPortalAffiliateSummarySchema = external_exports.object({
19972
19972
  custom_links_require_approval: external_exports.boolean(),
19973
19973
  affiliate_codes_accepted_at_checkout: external_exports.boolean(),
19974
19974
  cash_payout_enabled: external_exports.boolean(),
19975
+ /** "Your rates" (`readAffiliateRatesSummary`); null until the main link is approved and active. */
19976
+ rates: external_exports.object({
19977
+ percent: external_exports.number(),
19978
+ disabled_products: external_exports.array(external_exports.string()),
19979
+ disabled_product_count: external_exports.number(),
19980
+ custom_rate_product_count: external_exports.number(),
19981
+ cap_usd: nullableStringSchema,
19982
+ minimum_order_usd: nullableStringSchema,
19983
+ binding_mode: external_exports.enum(["PER_ORDER", "LIFETIME_FIRST", "LIFETIME_LAST"]),
19984
+ binding_days: external_exports.number().nullable()
19985
+ }).nullable(),
19975
19986
  links: external_exports.array(customerPortalAffiliateLinkSchema),
19976
19987
  preferred_payout: external_exports.object({
19977
19988
  asset: external_exports.string(),
@@ -20310,4 +20321,4 @@ export {
20310
20321
  customerPortalNotificationPreferencesSchema,
20311
20322
  customerPortalAffiliateCreateLinkSchema
20312
20323
  };
20313
- //# sourceMappingURL=chunk-RA26HK3B.js.map
20324
+ //# sourceMappingURL=chunk-ZO3MHBVV.js.map