cloudcommerce 0.0.23 → 0.0.26

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 (46) hide show
  1. package/.eslintrc.cjs +1 -0
  2. package/CHANGELOG.md +22 -0
  3. package/CONTRIBUTING.md +4 -2
  4. package/package.json +11 -7
  5. package/packages/api/lib/types/applications.d.ts +100 -91
  6. package/packages/api/lib/types/authentications.d.ts +10 -0
  7. package/packages/api/lib/types/brands.d.ts +9 -0
  8. package/packages/api/lib/types/carts.d.ts +16 -0
  9. package/packages/api/lib/types/categories.d.ts +9 -0
  10. package/packages/api/lib/types/collections.d.ts +8 -0
  11. package/packages/api/lib/types/customers.d.ts +28 -0
  12. package/packages/api/lib/types/grids.d.ts +8 -0
  13. package/packages/api/lib/types/orders.d.ts +287 -222
  14. package/packages/api/lib/types/products.d.ts +69 -0
  15. package/packages/api/lib/types/stores.d.ts +3 -0
  16. package/packages/api/package.json +1 -1
  17. package/packages/api/src/types/applications.d.ts +100 -91
  18. package/packages/api/src/types/authentications.d.ts +10 -0
  19. package/packages/api/src/types/brands.d.ts +9 -0
  20. package/packages/api/src/types/carts.d.ts +16 -0
  21. package/packages/api/src/types/categories.d.ts +9 -0
  22. package/packages/api/src/types/collections.d.ts +8 -0
  23. package/packages/api/src/types/customers.d.ts +28 -0
  24. package/packages/api/src/types/grids.d.ts +8 -0
  25. package/packages/api/src/types/orders.d.ts +287 -222
  26. package/packages/api/src/types/products.d.ts +69 -0
  27. package/packages/api/src/types/stores.d.ts +3 -0
  28. package/packages/apps/discounts/package.json +1 -1
  29. package/packages/cli/lib/index.js +27 -1
  30. package/packages/cli/package.json +1 -1
  31. package/packages/cli/src/index.ts +35 -1
  32. package/packages/firebase/config.js +5 -0
  33. package/packages/firebase/lib/config.js +26 -0
  34. package/packages/firebase/lib/config.js.map +1 -0
  35. package/packages/firebase/lib/defaults.js +8 -0
  36. package/packages/firebase/lib/defaults.js.map +1 -0
  37. package/packages/firebase/lib/index.js +27 -0
  38. package/packages/firebase/lib/index.js.map +1 -0
  39. package/packages/firebase/package.json +10 -4
  40. package/packages/firebase/src/config.ts +29 -0
  41. package/packages/firebase/src/defaults.ts +7 -0
  42. package/packages/firebase/src/index.ts +26 -0
  43. package/packages/firebase/tsconfig.json +3 -0
  44. package/packages/storefront/package.json +2 -2
  45. package/pnpm-lock.yaml +294 -63
  46. package/packages/firebase/src/index.js +0 -0
@@ -64,6 +64,8 @@ export interface Customers {
64
64
  };
65
65
  /**
66
66
  * Providers for OAuth authentication
67
+ *
68
+ * @maxItems 20
67
69
  */
68
70
  oauth_providers?: {
69
71
  /**
@@ -85,6 +87,8 @@ export interface Customers {
85
87
  main_email: string;
86
88
  /**
87
89
  * Customer email addresses list
90
+ *
91
+ * @maxItems 20
88
92
  */
89
93
  emails?: {
90
94
  /**
@@ -148,10 +152,14 @@ export interface Customers {
148
152
  pronoun?: 'he' | 'she';
149
153
  /**
150
154
  * User profile pictures
155
+ *
156
+ * @maxItems 20
151
157
  */
152
158
  photos?: string[];
153
159
  /**
154
160
  * List of customer phone numbers
161
+ *
162
+ * @maxItems 20
155
163
  */
156
164
  phones?: {
157
165
  /**
@@ -193,6 +201,8 @@ export interface Customers {
193
201
  corporate_name?: string;
194
202
  /**
195
203
  * List of customer shipping addresses
204
+ *
205
+ * @maxItems 40
196
206
  */
197
207
  addresses?: {
198
208
  /**
@@ -271,14 +281,20 @@ export interface Customers {
271
281
  }[];
272
282
  /**
273
283
  * Products marked as favorites
284
+ *
285
+ * @maxItems 3000
274
286
  */
275
287
  favorites?: string[];
276
288
  /**
277
289
  * Last products visited by the customer
290
+ *
291
+ * @maxItems 100
278
292
  */
279
293
  last_visited_products?: string[];
280
294
  /**
281
295
  * Last terms searched on shop by the customer
296
+ *
297
+ * @maxItems 100
282
298
  */
283
299
  last_searched_terms?: string[];
284
300
  /**
@@ -299,6 +315,8 @@ export interface Customers {
299
315
  orders_total_value?: number;
300
316
  /**
301
317
  * List of customer accumulated loyalty points by program and expiration
318
+ *
319
+ * @maxItems 1000
302
320
  */
303
321
  loyalty_points_entries?: {
304
322
  /**
@@ -340,6 +358,8 @@ export interface Customers {
340
358
  total_cancelled?: number;
341
359
  /**
342
360
  * List of customer orders
361
+ *
362
+ * @maxItems 1000
343
363
  */
344
364
  orders?: {
345
365
  /**
@@ -406,6 +426,8 @@ export interface Customers {
406
426
  }[];
407
427
  /**
408
428
  * List of customer saved credit cards
429
+ *
430
+ * @maxItems 40
409
431
  */
410
432
  credit_cards?: {
411
433
  /**
@@ -444,6 +466,8 @@ export interface Customers {
444
466
  }[];
445
467
  /**
446
468
  * List of custom attributes
469
+ *
470
+ * @maxItems 100
447
471
  */
448
472
  metafields?: {
449
473
  /**
@@ -463,6 +487,8 @@ export interface Customers {
463
487
  }[];
464
488
  /**
465
489
  * List of custom attributes
490
+ *
491
+ * @maxItems 100
466
492
  */
467
493
  hidden_metafields?: {
468
494
  /**
@@ -482,6 +508,8 @@ export interface Customers {
482
508
  }[];
483
509
  /**
484
510
  * Flags to associate additional info
511
+ *
512
+ * @maxItems 10
485
513
  */
486
514
  flags?: string[];
487
515
  /**
@@ -37,6 +37,8 @@ export interface Grids {
37
37
  grid_id?: string;
38
38
  /**
39
39
  * Pre-defined options for this grid, used in specifications, customization and variations
40
+ *
41
+ * @maxItems 3000
40
42
  */
41
43
  options?: {
42
44
  /**
@@ -82,6 +84,8 @@ export interface Grids {
82
84
  };
83
85
  /**
84
86
  * Option color palette (if the grid involves colors), starting by main color
87
+ *
88
+ * @maxItems 6
85
89
  */
86
90
  colors?: string[];
87
91
  /**
@@ -121,6 +125,8 @@ export interface Grids {
121
125
  };
122
126
  /**
123
127
  * List of custom attributes
128
+ *
129
+ * @maxItems 100
124
130
  */
125
131
  metafields?: {
126
132
  /**
@@ -140,6 +146,8 @@ export interface Grids {
140
146
  }[];
141
147
  /**
142
148
  * Flags to associate additional info
149
+ *
150
+ * @maxItems 10
143
151
  */
144
152
  flags?: string[];
145
153
  /**