tango-app-api-analysis-zone 3.0.0-alpha.19 → 3.0.0-alpha.20

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tango-app-api-analysis-zone",
3
- "version": "3.0.0-alpha.19",
3
+ "version": "3.0.0-alpha.20",
4
4
  "description": "zone Analysis",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -19,8 +19,8 @@ export const validateZoneCardsV2Params = {
19
19
  export const validateTopPerformingZonesV2Schema = joi.object( {
20
20
  ...baseSchema,
21
21
  sortType: joi.string().required(),
22
- sortBy: joi.number().optional().allow( '' ),
23
- sort: joi.string().optional().allow( '' ),
22
+ limit: joi.number().required(),
23
+ offset: joi.number().required(),
24
24
  } );
25
25
 
26
26
  export const validateTopPerformingZonesV2Params = {
@@ -30,8 +30,8 @@ export const validateTopPerformingZonesV2Params = {
30
30
  export const validateTopPerformingStoresV2Schema = joi.object( {
31
31
  ...baseSchema,
32
32
  sortType: joi.string().required(),
33
- sortBy: joi.number().optional().allow( '' ),
34
- sort: joi.string().optional().allow( '' ),
33
+ limit: joi.number().required(),
34
+ offset: joi.number().required(),
35
35
  } );
36
36
 
37
37
  export const validateTopPerformingStoresV2Params = {
@@ -95,8 +95,8 @@ export const validateZoneCardsV2Params = {
95
95
  export const validateTopPerformingZonesV2Schema = joi.object( {
96
96
  ...baseSchema,
97
97
  sortType: joi.string().required(),
98
- sortBy: joi.number().optional().allow( '' ),
99
- sort: joi.string().optional().allow( '' ),
98
+ limit: joi.number().required(),
99
+ offset: joi.number().required(),
100
100
  } );
101
101
 
102
102
  export const validateTopPerformingZonesV2Params = {
@@ -106,8 +106,8 @@ export const validateTopPerformingZonesV2Params = {
106
106
  export const validateTopPerformingStoresV2Schema = joi.object( {
107
107
  ...baseSchema,
108
108
  sortType: joi.string().required(),
109
- sortBy: joi.number().optional().allow( '' ),
110
- sort: joi.string().optional().allow( '' ),
109
+ limit: joi.number().required(),
110
+ offset: joi.number().required(),
111
111
  } );
112
112
 
113
113
  export const validateTopPerformingStoresV2Params = {