cloudcommerce 0.38.0 → 0.40.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 (211) hide show
  1. package/CHANGELOG.md +83 -0
  2. package/ecomplus-stores/barra-doce/functions/many/package.json +3 -3
  3. package/ecomplus-stores/barra-doce/functions/ssr/package.json +6 -6
  4. package/ecomplus-stores/barra-doce/functions/ssr/src/layouts/PageHeader.astro +3 -6
  5. package/ecomplus-stores/barra-doce/functions/with-apps/package.json +3 -3
  6. package/ecomplus-stores/barra-doce/package.json +2 -2
  7. package/package.json +6 -6
  8. package/packages/api/lib/api.d.ts +2 -2
  9. package/packages/api/package.json +1 -1
  10. package/packages/api/types/applications.d.ts +15 -0
  11. package/packages/api/types/authentications.d.ts +14 -0
  12. package/packages/api/types/brands.d.ts +17 -0
  13. package/packages/api/types/carts.d.ts +12 -0
  14. package/packages/api/types/categories.d.ts +17 -0
  15. package/packages/api/types/collections.d.ts +15 -0
  16. package/packages/api/types/customers.d.ts +12 -0
  17. package/packages/api/types/grids.d.ts +15 -0
  18. package/packages/api/types/orders.d.ts +15 -0
  19. package/packages/api/types/products.d.ts +17 -0
  20. package/packages/api/types/stores.d.ts +15 -0
  21. package/packages/api/types.d.ts +34 -8
  22. package/packages/apps/affilate-program/package.json +1 -1
  23. package/packages/apps/correios/package.json +2 -2
  24. package/packages/apps/custom-payment/package.json +1 -1
  25. package/packages/apps/custom-shipping/package.json +1 -1
  26. package/packages/apps/datafrete/package.json +2 -2
  27. package/packages/apps/discounts/package.json +2 -2
  28. package/packages/apps/emails/package.json +1 -1
  29. package/packages/apps/fb-conversions/package.json +1 -1
  30. package/packages/apps/flash-courier/package.json +1 -1
  31. package/packages/apps/frenet/package.json +1 -1
  32. package/packages/apps/galaxpay/package.json +1 -1
  33. package/packages/apps/google-analytics/package.json +1 -1
  34. package/packages/apps/jadlog/package.json +1 -1
  35. package/packages/apps/loyalty-points/package.json +2 -2
  36. package/packages/apps/mandae/package.json +2 -2
  37. package/packages/apps/melhor-envio/package.json +1 -1
  38. package/packages/apps/mercadopago/package.json +1 -1
  39. package/packages/apps/pagarme/package.json +1 -1
  40. package/packages/apps/pagarme-v5/package.json +2 -2
  41. package/packages/apps/paghiper/package.json +1 -1
  42. package/packages/apps/pix/package.json +1 -1
  43. package/packages/apps/tiny-erp/package.json +2 -2
  44. package/packages/apps/webhooks/package.json +1 -1
  45. package/packages/cli/config/firebase.json +1 -1
  46. package/packages/cli/package.json +1 -1
  47. package/packages/config/package.json +1 -1
  48. package/packages/emails/package.json +1 -1
  49. package/packages/eslint/package.json +5 -5
  50. package/packages/eslint/storefront.eslintrc.cjs +1 -0
  51. package/packages/events/package.json +1 -1
  52. package/packages/feeds/package.json +1 -1
  53. package/packages/firebase/package.json +2 -2
  54. package/packages/i18n/lib/en_us/i19anyPrice.txt +1 -0
  55. package/packages/i18n/lib/en_us/i19filterOut.txt +1 -0
  56. package/packages/i18n/lib/en_us/i19loadMoreProducts.txt +1 -0
  57. package/packages/i18n/lib/en_us/i19noProductsFound.txt +1 -0
  58. package/packages/i18n/lib/en_us/i19noProductsFoundFor$1.txt +1 -0
  59. package/packages/i18n/lib/en_us/i19noProductsInBrandMsg.txt +1 -0
  60. package/packages/i18n/lib/en_us/i19noProductsInCategoryMsg.txt +1 -0
  61. package/packages/i18n/lib/en_us.d.ts +8 -3
  62. package/packages/i18n/lib/en_us.js +8 -3
  63. package/packages/i18n/lib/en_us.js.map +1 -1
  64. package/packages/i18n/lib/pt_br/i19anyPrice.txt +1 -0
  65. package/packages/i18n/lib/pt_br/i19filterOut.txt +1 -0
  66. package/packages/i18n/lib/pt_br/i19loadMoreProducts.txt +1 -0
  67. package/packages/i18n/lib/pt_br/i19noItemSelected.txt +1 -1
  68. package/packages/i18n/lib/pt_br/i19noProductsFoundFor$1.txt +1 -0
  69. package/packages/i18n/lib/pt_br/i19noProductsInBrandMsg.txt +1 -0
  70. package/packages/i18n/lib/pt_br/i19noProductsInCategoryMsg.txt +1 -0
  71. package/packages/i18n/lib/pt_br.d.ts +9 -4
  72. package/packages/i18n/lib/pt_br.js +9 -4
  73. package/packages/i18n/lib/pt_br.js.map +1 -1
  74. package/packages/i18n/package.json +1 -1
  75. package/packages/i18n/src/en_us.ts +8 -3
  76. package/packages/i18n/src/pt_br.ts +9 -4
  77. package/packages/modules/package.json +2 -2
  78. package/packages/passport/package.json +1 -1
  79. package/packages/ssr/events.js +0 -0
  80. package/packages/ssr/package.json +6 -6
  81. package/packages/storefront/dist/client/_astro/AccountPage.Osc6ffV0.js +1 -0
  82. package/packages/storefront/dist/client/_astro/{CartSidebar.1kUFk9Xn.js → CartSidebar.LrfpXG2B.js} +1 -1
  83. package/packages/storefront/dist/client/_astro/HeroSlider.Zf6kCaqD.js +1 -0
  84. package/packages/storefront/dist/client/_astro/PitchBar.N4d9fV8H.js +1 -0
  85. package/packages/storefront/dist/client/_astro/{Prices.PuQc6C7F.js → Prices.eQ9Vd255.js} +1 -1
  86. package/packages/storefront/dist/client/_astro/ProductDetails.Ln_jf57U.js +7 -0
  87. package/packages/storefront/dist/client/_astro/ProductShelf.X389bv9S.js +1 -0
  88. package/packages/storefront/dist/client/_astro/ProductShelf.vj6lVDCr.js +1 -0
  89. package/packages/storefront/dist/client/_astro/{QuantitySelector.YNmWjN8y.js → QuantitySelector.qSJQlvTe.js} +1 -1
  90. package/packages/storefront/dist/client/_astro/SearchModal.BrVoDBvg.js +1 -0
  91. package/packages/storefront/dist/client/_astro/SearchShowcase.KAz3nwco.js +1 -0
  92. package/packages/storefront/dist/client/_astro/ShopHeader.mFKGzhIu.js +7 -0
  93. package/packages/storefront/dist/client/_astro/_plugin-vue_export-helper._suIQ7WC.js +1 -0
  94. package/packages/storefront/dist/client/_astro/_slug_.cfRx-rdA.css +1 -0
  95. package/packages/storefront/dist/client/_astro/client.PdegUP6S.js +1 -0
  96. package/packages/storefront/dist/client/_astro/{customer-session._VkzXnXT.js → customer-session.KkTHFOXl.js} +1 -1
  97. package/packages/storefront/dist/client/_astro/ecom-icon_12falx.png +0 -0
  98. package/packages/storefront/dist/client/_astro/ecom-icon_15pqnO.png +0 -0
  99. package/packages/storefront/dist/client/_astro/ecom-icon_t3guw.png +0 -0
  100. package/packages/storefront/dist/client/_astro/ecom-utils.Ld2zf-Ve.js +1 -0
  101. package/packages/storefront/dist/client/_astro/{format-money.FMQXgKHB.js → format-money.Axn0YFLJ.js} +1 -1
  102. package/packages/storefront/dist/client/_astro/grid-title.GntHOijE.js +1 -0
  103. package/packages/storefront/dist/client/_astro/headphone_T2Jjc.avif +0 -0
  104. package/packages/storefront/dist/client/_astro/headphone_Z1CG18r.webp +0 -0
  105. package/packages/storefront/dist/client/_astro/{hoisted._FbzheVm.js → hoisted.3ec9NcvP.js} +1 -1
  106. package/packages/storefront/dist/client/_astro/{hoisted.B6fKrLPR.js → hoisted.UnTlypMd.js} +1 -1
  107. package/packages/storefront/dist/client/_astro/{i18n.m7SpISxy.js → i18n.3-NUtxYq.js} +1 -1
  108. package/packages/storefront/dist/client/_astro/{img.zh-Drf-O.js → img.pozlYdd3.js} +1 -1
  109. package/packages/storefront/dist/client/_astro/{index.XrHFaN2F.js → index.TkCbiY_p.js} +1 -1
  110. package/packages/storefront/dist/client/_astro/{index.5PN-EYMS.js → index.m6fK0JXC.js} +1 -1
  111. package/packages/storefront/dist/client/_astro/logo_1UBsBq.webp +0 -0
  112. package/packages/storefront/dist/client/_astro/logo_Z1K5PE9.png +0 -0
  113. package/packages/storefront/dist/client/_astro/logo_Z1KIIl1.avif +0 -0
  114. package/packages/storefront/dist/client/_astro/{modules-info.sD0tdb2b.js → modules-info.mmwB1qIJ.js} +1 -1
  115. package/packages/storefront/dist/client/_astro/name.49dZlpDx.js +1 -0
  116. package/packages/storefront/dist/client/_astro/passion_LHbe9.webp +0 -0
  117. package/packages/storefront/dist/client/_astro/passion_Z23MeUb.avif +0 -0
  118. package/packages/storefront/dist/client/_astro/rect8589_1TtOHY.png +0 -0
  119. package/packages/storefront/dist/client/_astro/rect8589_1f5opX.webp +0 -0
  120. package/packages/storefront/dist/client/_astro/rect8589_IUskt.webp +0 -0
  121. package/packages/storefront/dist/client/_astro/rect8589_Uxfdf.png +0 -0
  122. package/packages/storefront/dist/client/_astro/rect8589_Z15uApA.png +0 -0
  123. package/packages/storefront/dist/client/_astro/rect8589_Z1Ap1Im.avif +0 -0
  124. package/packages/storefront/dist/client/_astro/rect8589_Z1JT1HB.webp +0 -0
  125. package/packages/storefront/dist/client/_astro/rect8589_ZY9mtN.avif +0 -0
  126. package/packages/storefront/dist/client/_astro/rect8589_tMFW0.avif +0 -0
  127. package/packages/storefront/dist/client/_astro/rect859_1TgQXS.avif +0 -0
  128. package/packages/storefront/dist/client/_astro/rect859_2Nm1z.avif +0 -0
  129. package/packages/storefront/dist/client/_astro/rect859_DIqwR.png +0 -0
  130. package/packages/storefront/dist/client/_astro/rect859_Z1IKDb2.png +0 -0
  131. package/packages/storefront/dist/client/_astro/rect859_Z29FI4V.webp +0 -0
  132. package/packages/storefront/dist/client/_astro/rect859_Z2kFHGk.avif +0 -0
  133. package/packages/storefront/dist/client/_astro/rect859_ZkpPFI.webp +0 -0
  134. package/packages/storefront/dist/client/_astro/rect859_jXzBi.png +0 -0
  135. package/packages/storefront/dist/client/_astro/rect859_x1l16.webp +0 -0
  136. package/packages/storefront/dist/client/_astro/rect89_1TSfW7.avif +0 -0
  137. package/packages/storefront/dist/client/_astro/rect89_Z1re32x.webp +0 -0
  138. package/packages/storefront/dist/client/_astro/sf-utils.yjuG8NjM.js +1 -0
  139. package/packages/storefront/dist/client/_astro/{shopping-cart.A-1jhlKi.js → shopping-cart.Ean2uW2R.js} +1 -1
  140. package/packages/storefront/dist/client/_astro/use-analytics.Y7amTmnr.js +1 -0
  141. package/packages/storefront/dist/client/_astro/{use-product-card.erbOV6Fv.js → use-product-card.zB4z32bC.js} +1 -1
  142. package/packages/storefront/dist/client/_astro/use-text-value.f9pDzruv.js +4 -0
  143. package/packages/storefront/dist/client/app/account/index.html +56 -0
  144. package/packages/storefront/dist/client/app/index.html +96 -0
  145. package/packages/storefront/dist/client/headset-gamer-corsair-hs40-raptor-ca-9011122-naap-vinho/index.html +107 -0
  146. package/packages/storefront/dist/client/index.html +120 -0
  147. package/packages/storefront/dist/client/macbook-apple-pro-15.4-intel-core-i7-2.6ghz-ram-16gb-ssd-512gb-mr972ll/a-prata/index.html +107 -0
  148. package/packages/storefront/dist/client/mouse-gamer-corsair-optico-harpoon-rgb-ch-9301011-na/index.html +107 -0
  149. package/packages/storefront/dist/client/teclado-gamer-fortrek-mecanico-k5-rgb-outemu-blue-preto/index.html +107 -0
  150. package/packages/storefront/dist/client/~fallback/index.html +74 -0
  151. package/packages/storefront/dist/server/chunks/{CartSidebar_hAgJQJgm.mjs → CartSidebar_gCUGFy65.mjs} +1 -1
  152. package/packages/storefront/dist/server/chunks/{SearchModal_eWb5SdQM.mjs → SearchModal_2uYZ9tHy.mjs} +4 -5
  153. package/packages/storefront/dist/server/chunks/{_.._S7DDBn_b.mjs → _.._FnNLvTNv.mjs} +1 -1
  154. package/packages/storefront/dist/server/chunks/{account_3ySmGzMc.mjs → account_iZ2QmK5E.mjs} +1 -1
  155. package/packages/storefront/dist/server/chunks/astro/{assets-service_QlOZG8ov.mjs → assets-service_TpUb271h.mjs} +58 -136
  156. package/packages/storefront/dist/server/chunks/{astro_zcC1GStV.mjs → astro_PpArQAsY.mjs} +4 -4
  157. package/packages/storefront/dist/server/chunks/{index_nIwq11oA.mjs → index_1q5IpD39.mjs} +1 -1
  158. package/packages/storefront/dist/server/chunks/{index_uAR5ZV4d.mjs → index_JEU6B2DI.mjs} +1 -1
  159. package/packages/storefront/dist/server/chunks/{node_2VvC7trl.mjs → node_wOa5hJmt.mjs} +1 -1
  160. package/packages/storefront/dist/server/chunks/pages/{__MSibDuuV.mjs → __cEcxuEWe.mjs} +1674 -422
  161. package/packages/storefront/dist/server/chunks/pages/{account_iG-YqJ5q.mjs → account_WliDuQOB.mjs} +2 -2
  162. package/packages/storefront/dist/server/chunks/pages/{index_BtDyKPh_.mjs → index_2bQLkQf-.mjs} +3 -3
  163. package/packages/storefront/dist/server/chunks/pages/{node_bKqL47eZ.mjs → node_ZaY4t9qW.mjs} +21 -2
  164. package/packages/storefront/dist/server/chunks/pages/{~fallback_73R5VA6j.mjs → ~fallback_TL5hPXF_.mjs} +2 -2
  165. package/packages/storefront/dist/server/chunks/{~fallback_7q1dqY4e.mjs → ~fallback_wxuqpDXG.mjs} +1 -1
  166. package/packages/storefront/dist/server/entry.mjs +34 -16
  167. package/packages/storefront/dist/server/{manifest_dSwvaOdW.mjs → manifest_YgAgEwvF.mjs} +17 -16
  168. package/packages/storefront/dist/server/renderers.mjs +14 -3
  169. package/packages/storefront/package.json +12 -12
  170. package/packages/storefront/src/helpers/sf-utils.ts +11 -0
  171. package/packages/storefront/src/lib/$storefront.d.ts +7 -1
  172. package/packages/storefront/src/lib/components/Drawer.vue +13 -8
  173. package/packages/storefront/src/lib/components/SharedData.astro +2 -2
  174. package/packages/storefront/src/lib/components/globals/ALink.vue +1 -1
  175. package/packages/storefront/src/lib/composables/use-breadcrumbs.ts +1 -1
  176. package/packages/storefront/src/lib/composables/use-pagination.ts +61 -0
  177. package/packages/storefront/src/lib/composables/use-product-shelf.ts +29 -19
  178. package/packages/storefront/src/lib/composables/use-search-filters.ts +271 -0
  179. package/packages/storefront/src/lib/composables/use-search-modal.ts +2 -11
  180. package/packages/storefront/src/lib/composables/use-search-showcase.ts +201 -0
  181. package/packages/storefront/src/lib/composables/use-shared-data.ts +10 -5
  182. package/packages/storefront/src/lib/composables/use-sku-selector.ts +3 -8
  183. package/packages/storefront/src/lib/layouts/use-page-header.ts +6 -3
  184. package/packages/storefront/src/lib/layouts/use-page-main.ts +50 -9
  185. package/packages/storefront/src/lib/state/search-engine.ts +22 -8
  186. package/packages/storefront/tsconfig.json +1 -1
  187. package/packages/test-base/package.json +1 -1
  188. package/packages/types/package.json +1 -1
  189. package/packages/i18n/lib/en_us/i19noProduct.txt +0 -1
  190. package/packages/i18n/lib/en_us/i19noResultsFor.txt +0 -1
  191. package/packages/i18n/lib/pt_br/i19noResultsFor.txt +0 -1
  192. package/packages/storefront/dist/client/_astro/AccountPage.j0C5JBLY.js +0 -1
  193. package/packages/storefront/dist/client/_astro/HeroSlider.tR1dVXyu.js +0 -1
  194. package/packages/storefront/dist/client/_astro/PitchBar.FelC04wE.js +0 -1
  195. package/packages/storefront/dist/client/_astro/ProductCard.ephJafAE.js +0 -1
  196. package/packages/storefront/dist/client/_astro/ProductDetails.B6Ih5MGf.js +0 -7
  197. package/packages/storefront/dist/client/_astro/ProductShelf.GESxuPZ_.js +0 -1
  198. package/packages/storefront/dist/client/_astro/SearchContainer.BzixfU3R.js +0 -1
  199. package/packages/storefront/dist/client/_astro/SearchModal.F7vbwxIv.js +0 -1
  200. package/packages/storefront/dist/client/_astro/ShopHeader.5vR1LgSW.js +0 -10
  201. package/packages/storefront/dist/client/_astro/_plugin-vue_export-helper.sk5AFsEV.js +0 -1
  202. package/packages/storefront/dist/client/_astro/_slug_.r8QHNfdw.css +0 -1
  203. package/packages/storefront/dist/client/_astro/client.RF8UxjZd.js +0 -1
  204. package/packages/storefront/dist/client/_astro/ecom-utils.gJYgRPRz.js +0 -1
  205. package/packages/storefront/dist/client/_astro/name.HU5l7TJo.js +0 -1
  206. package/packages/storefront/dist/client/_astro/sf-utils.5t7r9A2G.js +0 -1
  207. package/packages/storefront/dist/client/_astro/use-analytics.1EVxbrS7.js +0 -1
  208. package/packages/storefront/src/lib/composables/use-search-container.ts +0 -48
  209. /package/packages/i18n/lib/en_us/{i19relatedProduct.txt → i19relatedProducts.txt} +0 -0
  210. /package/packages/i18n/lib/pt_br/{i19noProduct.txt → i19noProductsFound.txt} +0 -0
  211. /package/packages/i18n/lib/pt_br/{i19relatedProduct.txt → i19relatedProducts.txt} +0 -0
@@ -30,11 +30,15 @@ type ResourceAndFind = ResourceAndId
30
30
  | 'authentications/me';
31
31
  type ResourceOpQuery = Resource | `${Resource}?${string}`;
32
32
 
33
- type SearchOpQuery = 'search/v1'
34
- | `search/v1?${string}`
33
+ type SearchV1OpQuery = 'search/v1'
34
+ | `search/v1?${string}`;
35
+ type SearchOpQuery = SearchV1OpQuery
35
36
  | 'search/_els'
36
37
  | `search/_els?${string}`;
37
38
 
39
+ type SearchHistoryOpQuery = 'search/v1/history'
40
+ | `search/v1/history?${string}`;
41
+
38
42
  type EventsEndpoint = `events/${Resource}`
39
43
  | `events/${ResourceAndId}`
40
44
  | 'events/me';
@@ -44,6 +48,7 @@ type Endpoint = ResourceOpQuery
44
48
  | `${ResourceAndFind}/${string}`
45
49
  | `slugs/${string}`
46
50
  | SearchOpQuery
51
+ | SearchHistoryOpQuery
47
52
  | EventsEndpoint
48
53
  | 'login'
49
54
  | 'authenticate'
@@ -72,7 +77,10 @@ type Config = {
72
77
  buckets?: boolean,
73
78
  verbose?: boolean,
74
79
  concise?: boolean,
75
- params?: Record<string, string | number | boolean | string[] | number[]> | string,
80
+ params?: string | Record<
81
+ string,
82
+ string | number | boolean | string[] | number[] | undefined,
83
+ >,
76
84
  headers?: Headers | Record<string, string>,
77
85
  timeout?: number,
78
86
  maxRetries?: number,
@@ -284,9 +292,9 @@ type SearchItem<Fields extends null | string[] | '*' = '*'> = Omit<(
284
292
 
285
293
  type SearchResult<
286
294
  TEndpoint extends SearchOpQuery | 'v1' | 'els',
287
- Fields extends string[] | null = TEndpoint extends 'search/v1' | 'v1' ? null : '*',
295
+ Fields extends string[] | null = TEndpoint extends SearchV1OpQuery | 'v1' ? null : '*',
288
296
  > =
289
- TEndpoint extends 'search/v1' | `search/v1?${string}` | 'v1' ? {
297
+ TEndpoint extends SearchV1OpQuery | 'v1' ? {
290
298
  result: SearchItem<Fields>[],
291
299
  meta: BaseListResultMeta & {
292
300
  count?: number,
@@ -302,10 +310,10 @@ type SearchResult<
302
310
  avg: null | number,
303
311
  count: number,
304
312
  }>,
305
- 'brands/name'?: {
313
+ 'brands.name'?: {
306
314
  [key: string]: number,
307
315
  },
308
- 'categories/name'?: {
316
+ 'categories.name'?: {
309
317
  [key: string]: number,
310
318
  },
311
319
  specs?: {
@@ -325,6 +333,21 @@ type SearchResult<
325
333
  } :
326
334
  never;
327
335
 
336
+ type SearchHistoryResult = {
337
+ result: Array<{
338
+ terms: string[];
339
+ hits_count?: number;
340
+ counted_at?: string;
341
+ }>,
342
+ meta: {
343
+ offset: number,
344
+ limit: number,
345
+ query: {
346
+ terms?: any,
347
+ },
348
+ },
349
+ };
350
+
328
351
  type EventFieldsByEndpoint<TEndpoint extends EventsEndpoint> =
329
352
  TEndpoint extends `events/${Resource}` ? {
330
353
  resource_id: ResourceId,
@@ -358,7 +381,7 @@ type EventsResult<TEndpoint extends EventsEndpoint> = {
358
381
 
359
382
  type ResponseBody<
360
383
  TConfig extends Config,
361
- ListFields extends string[] | null = TConfig['endpoint'] extends Resource | 'search/v1'
384
+ ListFields extends string[] | null = TConfig['endpoint'] extends Resource | SearchV1OpQuery
362
385
  ? TConfig['params']['fields'] extends string ? '*'
363
386
  : TConfig['fields'] extends readonly string[] ? TConfig['fields']
364
387
  : null
@@ -380,10 +403,13 @@ type ResponseBody<
380
403
  TConfig['endpoint'] extends `orders/${ResourceId}` ? Orders :
381
404
  TConfig['endpoint'] extends `customers/${ResourceId}` ? Customers :
382
405
  TConfig['endpoint'] extends `stores/${ResourceId}` ? Stores :
406
+ TConfig['endpoint'] extends 'stores/me' ? Stores :
383
407
  TConfig['endpoint'] extends `applications/${ResourceId}` ? Applications :
384
408
  TConfig['endpoint'] extends `authentications/${ResourceId}` ? Authentications :
409
+ TConfig['endpoint'] extends 'authentications/me' ? Authentications :
385
410
  TConfig['endpoint'] extends ResourceOpQuery ? ResourceListResult<TConfig['endpoint'], ListFields> :
386
411
  TConfig['endpoint'] extends SearchOpQuery ? SearchResult<TConfig['endpoint'], ListFields> :
412
+ TConfig['endpoint'] extends SearchHistoryOpQuery ? SearchHistoryResult :
387
413
  TConfig['endpoint'] extends EventsEndpoint ? EventsResult<TConfig['endpoint']> :
388
414
  any;
389
415
 
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/app-affilate-program",
3
3
  "type": "module",
4
- "version": "0.38.0",
4
+ "version": "0.40.0",
5
5
  "description": "E-Com Plus Cloud Commerce app for simple affiliate program",
6
6
  "main": "lib/index.js",
7
7
  "repository": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/app-correios",
3
3
  "type": "module",
4
- "version": "0.38.0",
4
+ "version": "0.40.0",
5
5
  "description": "E-Com Plus Cloud Commerce app for Correios shipping calculation",
6
6
  "main": "lib/index.js",
7
7
  "exports": {
@@ -26,7 +26,7 @@
26
26
  "dependencies": {
27
27
  "@cloudcommerce/api": "workspace:*",
28
28
  "@cloudcommerce/firebase": "workspace:*",
29
- "@google-cloud/pubsub": "^4.0.7",
29
+ "@google-cloud/pubsub": "^4.1.0",
30
30
  "axios": "^1.6.2",
31
31
  "firebase-admin": "^11.11.1",
32
32
  "firebase-functions": "^4.5.0"
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/app-custom-payment",
3
3
  "type": "module",
4
- "version": "0.38.0",
4
+ "version": "0.40.0",
5
5
  "description": "E-Com Plus Cloud Commerce app for simple custom payment methods",
6
6
  "main": "lib/index.js",
7
7
  "repository": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/app-custom-shipping",
3
3
  "type": "module",
4
- "version": "0.38.0",
4
+ "version": "0.40.0",
5
5
  "description": "E-Com Plus Cloud Commerce app for custom shipping methods",
6
6
  "main": "lib/custom-shipping.js",
7
7
  "repository": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/app-datafrete",
3
3
  "type": "module",
4
- "version": "0.38.0",
4
+ "version": "0.40.0",
5
5
  "description": "E-Com Plus Cloud Commerce app to integrate Datafrete shipping gateway ",
6
6
  "main": "lib/datafrete.js",
7
7
  "exports": {
@@ -25,7 +25,7 @@
25
25
  "dependencies": {
26
26
  "@cloudcommerce/api": "workspace:*",
27
27
  "@cloudcommerce/firebase": "workspace:*",
28
- "@ecomplus/utils": "1.5.0-rc.5",
28
+ "@ecomplus/utils": "1.5.0-rc.6",
29
29
  "axios": "^1.6.2",
30
30
  "firebase-admin": "^11.11.1",
31
31
  "firebase-functions": "^4.5.0"
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/app-discounts",
3
3
  "type": "module",
4
- "version": "0.38.0",
4
+ "version": "0.40.0",
5
5
  "description": "E-Com Plus Cloud Commerce app for complex discount rules",
6
6
  "main": "lib/discounts.js",
7
7
  "repository": {
@@ -20,7 +20,7 @@
20
20
  },
21
21
  "dependencies": {
22
22
  "@cloudcommerce/api": "workspace:*",
23
- "@ecomplus/utils": "1.5.0-rc.5"
23
+ "@ecomplus/utils": "1.5.0-rc.6"
24
24
  },
25
25
  "devDependencies": {
26
26
  "@cloudcommerce/types": "workspace:*"
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/app-emails",
3
3
  "type": "module",
4
- "version": "0.38.0",
4
+ "version": "0.40.0",
5
5
  "description": "E-Com Plus Cloud Commerce default transactional email app",
6
6
  "main": "lib/index.js",
7
7
  "repository": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/app-fb-conversions",
3
3
  "type": "module",
4
- "version": "0.38.0",
4
+ "version": "0.40.0",
5
5
  "description": "E-Com Plus Cloud Commerce app to send carts/orders to Facebook Conversions API",
6
6
  "main": "lib/index.js",
7
7
  "repository": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/app-flash-courier",
3
3
  "type": "module",
4
- "version": "0.38.0",
4
+ "version": "0.40.0",
5
5
  "description": "E-Com Plus Cloud Commerce app to integrate Flash Courier",
6
6
  "main": "lib/index.js",
7
7
  "exports": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/app-frenet",
3
3
  "type": "module",
4
- "version": "0.38.0",
4
+ "version": "0.40.0",
5
5
  "description": "E-Com Plus Cloud Commerce app for Frenet shipping calculation",
6
6
  "main": "lib/frenet.js",
7
7
  "exports": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/app-galaxpay",
3
3
  "type": "module",
4
- "version": "0.38.0",
4
+ "version": "0.40.0",
5
5
  "description": "E-Com Plus Cloud Commerce app to integrate Galax Pay for recurring payments",
6
6
  "main": "lib/galaxpay.js",
7
7
  "exports": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/app-google-analytics",
3
3
  "type": "module",
4
- "version": "0.38.0",
4
+ "version": "0.40.0",
5
5
  "description": "E-Com Plus Cloud Commerce app to send carts/orders events to GA Measurement Protocol",
6
6
  "main": "lib/index.js",
7
7
  "repository": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/app-jadlog",
3
3
  "type": "module",
4
- "version": "0.38.0",
4
+ "version": "0.40.0",
5
5
  "description": "E-Com Plus Cloud Commerce app for Jadlog shipping calculation",
6
6
  "main": "lib/index.js",
7
7
  "repository": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/app-loyalty-points",
3
3
  "type": "module",
4
- "version": "0.38.0",
4
+ "version": "0.40.0",
5
5
  "description": "E-Com Plus Cloud Commerce app to handle simple loyalty points programs",
6
6
  "main": "lib/loyalty-points.js",
7
7
  "exports": {
@@ -26,7 +26,7 @@
26
26
  "dependencies": {
27
27
  "@cloudcommerce/api": "workspace:*",
28
28
  "@cloudcommerce/firebase": "workspace:*",
29
- "@ecomplus/utils": "1.5.0-rc.5"
29
+ "@ecomplus/utils": "1.5.0-rc.6"
30
30
  },
31
31
  "devDependencies": {
32
32
  "@cloudcommerce/test-base": "workspace:*",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/app-mandae",
3
3
  "type": "module",
4
- "version": "0.38.0",
4
+ "version": "0.40.0",
5
5
  "description": "E-Com Plus Cloud Commerce app to integrate Mandaê shipping intermediator",
6
6
  "main": "lib/index.js",
7
7
  "repository": {
@@ -20,7 +20,7 @@
20
20
  },
21
21
  "dependencies": {
22
22
  "@cloudcommerce/api": "workspace:*",
23
- "@ecomplus/utils": "1.5.0-rc.5",
23
+ "@ecomplus/utils": "1.5.0-rc.6",
24
24
  "axios": "^1.6.2",
25
25
  "firebase-functions": "^4.5.0"
26
26
  },
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/app-melhor-envio",
3
3
  "type": "module",
4
- "version": "0.38.0",
4
+ "version": "0.40.0",
5
5
  "description": "E-Com Plus Cloud Commerce app to integrate Melhor Envio",
6
6
  "main": "lib/index.js",
7
7
  "exports": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/app-mercadopago",
3
3
  "type": "module",
4
- "version": "0.38.0",
4
+ "version": "0.40.0",
5
5
  "description": "E-Com Plus Cloud Commerce app to integrate Mercado Pago",
6
6
  "main": "lib/mercadopago.js",
7
7
  "exports": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/app-pagarme",
3
3
  "type": "module",
4
- "version": "0.38.0",
4
+ "version": "0.40.0",
5
5
  "description": "E-Com Plus Cloud Commerce app to integrate Pagar.me",
6
6
  "main": "lib/pagarme.js",
7
7
  "exports": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/app-pagarme-v5",
3
3
  "type": "module",
4
- "version": "0.38.0",
4
+ "version": "0.40.0",
5
5
  "description": "E-Com Plus Cloud Commerce app to integrate Pagar.me API v5 with recurring payments",
6
6
  "main": "lib/index.js",
7
7
  "exports": {
@@ -26,7 +26,7 @@
26
26
  "dependencies": {
27
27
  "@cloudcommerce/api": "workspace:*",
28
28
  "@cloudcommerce/firebase": "workspace:*",
29
- "@ecomplus/utils": "1.5.0-rc.5",
29
+ "@ecomplus/utils": "1.5.0-rc.6",
30
30
  "axios": "^1.6.2",
31
31
  "firebase-admin": "^11.11.1",
32
32
  "firebase-functions": "^4.5.0"
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/app-paghiper",
3
3
  "type": "module",
4
- "version": "0.38.0",
4
+ "version": "0.40.0",
5
5
  "description": "E-Com Plus Cloud Commerce app to integrate PagHiper",
6
6
  "main": "lib/paghiper.js",
7
7
  "exports": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/app-pix",
3
3
  "type": "module",
4
- "version": "0.38.0",
4
+ "version": "0.40.0",
5
5
  "description": "E-Com Plus Cloud Commerce app to integrate Pix API (Bacen)",
6
6
  "main": "lib/pix.js",
7
7
  "exports": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/app-tiny-erp",
3
3
  "type": "module",
4
- "version": "0.38.0",
4
+ "version": "0.40.0",
5
5
  "description": "E-Com Plus Cloud Commerce app for Tiny ERP",
6
6
  "main": "lib/tiny-erp.js",
7
7
  "repository": {
@@ -21,7 +21,7 @@
21
21
  "dependencies": {
22
22
  "@cloudcommerce/api": "workspace:*",
23
23
  "@cloudcommerce/firebase": "workspace:*",
24
- "@ecomplus/utils": "1.5.0-rc.5",
24
+ "@ecomplus/utils": "1.5.0-rc.6",
25
25
  "axios": "^1.6.2",
26
26
  "firebase-admin": "^11.11.1",
27
27
  "firebase-functions": "^4.5.0",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/app-webhooks",
3
3
  "type": "module",
4
- "version": "0.38.0",
4
+ "version": "0.40.0",
5
5
  "description": "E-Com Plus Cloud Commerce app for general order webhooks",
6
6
  "main": "lib/index.js",
7
7
  "repository": {
@@ -72,7 +72,7 @@
72
72
  "region": "us-east4"
73
73
  },
74
74
  {
75
- "source": "/repos/**/{git,contents,issues,branches,pulls,commits}/**",
75
+ "source": "/_api/repos/**/{git,contents,issues,branches,pulls,commits}/**",
76
76
  "function": "feeds",
77
77
  "region": "us-east4"
78
78
  },
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/cli",
3
3
  "type": "module",
4
- "version": "0.38.0",
4
+ "version": "0.40.0",
5
5
  "description": "E-Com Plus Cloud Commerce CLI tools",
6
6
  "bin": {
7
7
  "cloudcommerce": "./bin/run.mjs"
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/config",
3
3
  "type": "module",
4
- "version": "0.38.0",
4
+ "version": "0.40.0",
5
5
  "description": "E-Com Plus Cloud Commerce base config",
6
6
  "main": "lib/config.js",
7
7
  "exports": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/emails",
3
3
  "type": "module",
4
- "version": "0.38.0",
4
+ "version": "0.40.0",
5
5
  "description": "E-Com Plus Cloud Commerce email sender",
6
6
  "main": "lib/index.js",
7
7
  "types": "lib/index.d.ts",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/eslint",
3
3
  "type": "module",
4
- "version": "0.38.0",
4
+ "version": "0.40.0",
5
5
  "description": "E-Com Plus Cloud Commerce ESLint config",
6
6
  "main": "lib/index.js",
7
7
  "repository": {
@@ -19,11 +19,11 @@
19
19
  "build": "echo '@ecomplus/eslint'"
20
20
  },
21
21
  "dependencies": {
22
- "@typescript-eslint/eslint-plugin": "^6.13.2",
23
- "@typescript-eslint/parser": "^6.13.2",
24
- "eslint": "^8.55.0",
22
+ "@typescript-eslint/eslint-plugin": "^6.16.0",
23
+ "@typescript-eslint/parser": "^6.16.0",
24
+ "eslint": "^8.56.0",
25
25
  "eslint-config-airbnb-base": "^15.0.0",
26
- "eslint-plugin-import": "^2.29.0",
26
+ "eslint-plugin-import": "^2.29.1",
27
27
  "eslint-plugin-tailwindcss": "3.13.0",
28
28
  "eslint-plugin-vue": "^9.19.2"
29
29
  }
@@ -29,6 +29,7 @@ module.exports = {
29
29
  'Countdown',
30
30
  'Collapse',
31
31
  'Accordion',
32
+ 'Pagination',
32
33
  ],
33
34
  }],
34
35
  'tailwindcss/no-custom-classname': 'off',
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/events",
3
3
  "type": "module",
4
- "version": "0.38.0",
4
+ "version": "0.40.0",
5
5
  "description": "E-Com Plus Cloud Commerce app events",
6
6
  "main": "lib/index.js",
7
7
  "exports": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/feeds",
3
3
  "type": "module",
4
- "version": "0.38.0",
4
+ "version": "0.40.0",
5
5
  "description": "E-Com Plus Cloud Commerce catalog feeds",
6
6
  "main": "lib/index.js",
7
7
  "exports": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/firebase",
3
3
  "type": "module",
4
- "version": "0.38.0",
4
+ "version": "0.40.0",
5
5
  "description": "E-Com Plus Cloud Commerce on Firebase",
6
6
  "main": "lib/index.js",
7
7
  "types": "lib/index.d.ts",
@@ -31,7 +31,7 @@
31
31
  "dependencies": {
32
32
  "@cloudcommerce/api": "workspace:*",
33
33
  "@cloudcommerce/config": "workspace:*",
34
- "@google-cloud/pubsub": "^4.0.7",
34
+ "@google-cloud/pubsub": "^4.1.0",
35
35
  "firebase-admin": "^11.11.1",
36
36
  "firebase-functions": "^4.5.0",
37
37
  "source-map-support": "^0.5.21"
@@ -0,0 +1 @@
1
+ Any price
@@ -0,0 +1 @@
1
+ Filter out
@@ -0,0 +1 @@
1
+ Load more products
@@ -0,0 +1 @@
1
+ No products found
@@ -0,0 +1 @@
1
+ No products found for $1
@@ -0,0 +1 @@
1
+ There are no products from this brand.
@@ -0,0 +1 @@
1
+ There are no products in this category.
@@ -49,6 +49,7 @@ export declare const i19alt = "Alt tag";
49
49
  export declare const i19amount = "Amount";
50
50
  export declare const i19another = "Another";
51
51
  export declare const i19anyPaymentMethodMsg = "Any available payment method.";
52
+ export declare const i19anyPrice = "Any price";
52
53
  export declare const i19api = "Api";
53
54
  export declare const i19app = "App";
54
55
  export declare const i19appAlreadyInstalledMsg = "The application is already installed, do you want to duplicate it?";
@@ -322,6 +323,7 @@ export declare const i19female = "Female";
322
323
  export declare const i19field = "Field";
323
324
  export declare const i19files = "Files";
324
325
  export declare const i19filter = "Filter";
326
+ export declare const i19filterOut = "Filter out";
325
327
  export declare const i19filterProducts = "Filter products";
326
328
  export declare const i19filterResults = "Filter results";
327
329
  export declare const i19finalPrice = "Final price";
@@ -451,6 +453,7 @@ export declare const i19listOfPayments = "List of payments";
451
453
  export declare const i19listSubscriptionInvoices = "List subscription invoices";
452
454
  export declare const i19load = "Load";
453
455
  export declare const i19loadMore = "Load more";
456
+ export declare const i19loadMoreProducts = "Load more products";
454
457
  export declare const i19loading = "Loading";
455
458
  export declare const i19loadDataErrorMsg = "Unable to load API data, please check your connection.";
456
459
  export declare const i19loadProductErrorMsg = "Unable to load product information, please check your internet connection.";
@@ -534,9 +537,11 @@ export declare const i19noNewOrdersMsg = "No new orders for now.";
534
537
  export declare const i19noNumber = "No number";
535
538
  export declare const i19noOrder = "No order found";
536
539
  export declare const i19noPrice = "No price";
537
- export declare const i19noProduct = "No product found";
540
+ export declare const i19noProductsInBrandMsg = "There are no products from this brand.";
541
+ export declare const i19noProductsInCategoryMsg = "There are no products in this category.";
542
+ export declare const i19noProductsFound = "No products found";
543
+ export declare const i19noProductsFoundFor$1 = "No products found for $1";
538
544
  export declare const i19noProfileFoundWithEmail = "No profile found with email";
539
- export declare const i19noResultsFor = "No results for";
540
545
  export declare const i19normal = "Normal";
541
546
  export declare const i19noSavedFavoritesMsg = "You don't have any products saved as favorites yet.";
542
547
  export declare const i19notConfigured = "Not configured";
@@ -706,7 +711,7 @@ export declare const i19registerToBuy = "Register to buy";
706
711
  export declare const i19registerToBuyMsg = "Complete your registration to proceed with the purchase";
707
712
  export declare const i19registration = "Registration";
708
713
  export declare const i19relatedApps = "Related apps";
709
- export declare const i19relatedProduct = "Related products";
714
+ export declare const i19relatedProducts = "Related products";
710
715
  export declare const i19relatedSearch = "Related search items";
711
716
  export declare const i19releases = "Releases";
712
717
  export declare const i19relevance = "Relevance";
@@ -50,6 +50,7 @@ export const i19alt = 'Alt tag';
50
50
  export const i19amount = 'Amount';
51
51
  export const i19another = 'Another';
52
52
  export const i19anyPaymentMethodMsg = 'Any available payment method.';
53
+ export const i19anyPrice = 'Any price';
53
54
  export const i19api = 'Api';
54
55
  export const i19app = 'App';
55
56
  export const i19appAlreadyInstalledMsg = 'The application is already installed, do you want to duplicate it?';
@@ -323,6 +324,7 @@ export const i19female = 'Female';
323
324
  export const i19field = 'Field';
324
325
  export const i19files = 'Files';
325
326
  export const i19filter = 'Filter';
327
+ export const i19filterOut = 'Filter out';
326
328
  export const i19filterProducts = 'Filter products';
327
329
  export const i19filterResults = 'Filter results';
328
330
  export const i19finalPrice = 'Final price';
@@ -452,6 +454,7 @@ export const i19listOfPayments = 'List of payments';
452
454
  export const i19listSubscriptionInvoices = 'List subscription invoices';
453
455
  export const i19load = 'Load';
454
456
  export const i19loadMore = 'Load more';
457
+ export const i19loadMoreProducts = 'Load more products';
455
458
  export const i19loading = 'Loading';
456
459
  export const i19loadDataErrorMsg = 'Unable to load API data, please check your connection.';
457
460
  export const i19loadProductErrorMsg = 'Unable to load product information, please check your internet connection.';
@@ -535,9 +538,11 @@ export const i19noNewOrdersMsg = 'No new orders for now.';
535
538
  export const i19noNumber = 'No number';
536
539
  export const i19noOrder = 'No order found';
537
540
  export const i19noPrice = 'No price';
538
- export const i19noProduct = 'No product found';
541
+ export const i19noProductsInBrandMsg = 'There are no products from this brand.';
542
+ export const i19noProductsInCategoryMsg = 'There are no products in this category.';
543
+ export const i19noProductsFound = 'No products found';
544
+ export const i19noProductsFoundFor$1 = 'No products found for $1';
539
545
  export const i19noProfileFoundWithEmail = 'No profile found with email';
540
- export const i19noResultsFor = 'No results for';
541
546
  export const i19normal = 'Normal';
542
547
  export const i19noSavedFavoritesMsg = 'You don\'t have any products saved as favorites yet.';
543
548
  export const i19notConfigured = 'Not configured';
@@ -707,7 +712,7 @@ export const i19registerToBuy = 'Register to buy';
707
712
  export const i19registerToBuyMsg = 'Complete your registration to proceed with the purchase';
708
713
  export const i19registration = 'Registration';
709
714
  export const i19relatedApps = 'Related apps';
710
- export const i19relatedProduct = 'Related products';
715
+ export const i19relatedProducts = 'Related products';
711
716
  export const i19relatedSearch = 'Related search items';
712
717
  export const i19releases = 'Releases';
713
718
  export const i19relevance = 'Relevance';