@gofynd/fdk-client-javascript 1.4.15-beta.1 → 1.4.15-beta.11

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 (150) hide show
  1. package/README.md +2 -2
  2. package/application.d.ts +1 -2
  3. package/application.js +2 -3
  4. package/index.d.ts +1 -2
  5. package/index.js +7 -1
  6. package/package.json +3 -4
  7. package/sdk/application/ApplicationClient.js +0 -18
  8. package/sdk/application/Cart/CartApplicationClient.d.ts +55 -90
  9. package/sdk/application/Cart/CartApplicationClient.js +60 -1185
  10. package/sdk/application/Catalog/CatalogApplicationClient.d.ts +90 -142
  11. package/sdk/application/Catalog/CatalogApplicationClient.js +187 -1293
  12. package/sdk/application/Common/CommonApplicationClient.d.ts +4 -8
  13. package/sdk/application/Common/CommonApplicationClient.js +5 -89
  14. package/sdk/application/Communication/CommunicationApplicationClient.d.ts +6 -19
  15. package/sdk/application/Communication/CommunicationApplicationClient.js +6 -145
  16. package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +32 -73
  17. package/sdk/application/Configuration/ConfigurationApplicationClient.js +31 -718
  18. package/sdk/application/Content/ContentApplicationClient.d.ts +46 -78
  19. package/sdk/application/Content/ContentApplicationClient.js +77 -914
  20. package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +6 -11
  21. package/sdk/application/FileStorage/FileStorageApplicationClient.js +19 -125
  22. package/sdk/application/Lead/LeadApplicationClient.d.ts +10 -18
  23. package/sdk/application/Lead/LeadApplicationClient.js +32 -202
  24. package/sdk/application/Logistic/LogisticApplicationClient.d.ts +22 -39
  25. package/sdk/application/Logistic/LogisticApplicationClient.js +50 -478
  26. package/sdk/application/Order/OrderApplicationClient.d.ts +22 -42
  27. package/sdk/application/Order/OrderApplicationClient.js +86 -472
  28. package/sdk/application/Payment/PaymentApplicationClient.d.ts +92 -212
  29. package/sdk/application/Payment/PaymentApplicationClient.js +57 -2102
  30. package/sdk/application/Rewards/RewardsApplicationClient.d.ts +14 -28
  31. package/sdk/application/Rewards/RewardsApplicationClient.js +16 -305
  32. package/sdk/application/Share/ShareApplicationClient.d.ts +14 -24
  33. package/sdk/application/Share/ShareApplicationClient.js +34 -294
  34. package/sdk/application/Theme/ThemeApplicationClient.d.ts +8 -14
  35. package/sdk/application/Theme/ThemeApplicationClient.js +28 -162
  36. package/sdk/application/User/UserApplicationClient.d.ts +85 -136
  37. package/sdk/application/User/UserApplicationClient.js +45 -1815
  38. package/sdk/application/Webhook/WebhookApplicationClient.d.ts +2 -5
  39. package/sdk/application/Webhook/WebhookApplicationClient.js +4 -47
  40. package/sdk/application/index.d.ts +0 -18
  41. package/sdk/application/index.js +0 -33
  42. package/sdk/common/Utility.d.ts +1 -1
  43. package/sdk/common/Utility.js +10 -7
  44. package/sdk/common/Validator.d.ts +1 -0
  45. package/sdk/common/Validator.js +20 -0
  46. package/sdk/common/utils.d.ts +0 -1
  47. package/sdk/common/utils.js +0 -14
  48. package/sdk/partner/OAuthClient.js +1 -0
  49. package/sdk/partner/Theme/ThemePartnerModel.d.ts +3 -40
  50. package/sdk/partner/Theme/ThemePartnerModel.js +2 -24
  51. package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +39 -1
  52. package/sdk/platform/Cart/CartPlatformApplicationClient.js +247 -1
  53. package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +33 -1
  54. package/sdk/platform/Cart/CartPlatformApplicationValidator.js +37 -0
  55. package/sdk/platform/Cart/CartPlatformModel.d.ts +193 -1
  56. package/sdk/platform/Cart/CartPlatformModel.js +132 -0
  57. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +0 -7
  58. package/sdk/platform/Catalog/CatalogPlatformModel.js +1 -4
  59. package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +14 -0
  60. package/sdk/platform/Configuration/ConfigurationPlatformModel.js +6 -0
  61. package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +0 -10
  62. package/sdk/platform/Order/OrderPlatformApplicationClient.js +0 -92
  63. package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +1 -28
  64. package/sdk/platform/Order/OrderPlatformApplicationValidator.js +0 -18
  65. package/sdk/platform/Order/OrderPlatformClient.d.ts +10 -0
  66. package/sdk/platform/Order/OrderPlatformClient.js +99 -0
  67. package/sdk/platform/Order/OrderPlatformModel.d.ts +7 -0
  68. package/sdk/platform/Order/OrderPlatformModel.js +3 -0
  69. package/sdk/platform/Order/OrderPlatformValidator.d.ts +33 -1
  70. package/sdk/platform/Order/OrderPlatformValidator.js +20 -0
  71. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +1 -1
  72. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +4 -4
  73. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +56 -19
  74. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +42 -18
  75. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +3 -3
  76. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +2 -2
  77. package/sdk/platform/Theme/ThemePlatformModel.d.ts +3 -40
  78. package/sdk/platform/Theme/ThemePlatformModel.js +2 -24
  79. package/sdk/public/Configuration/ConfigurationPublicClient.js +5 -2
  80. package/sdk/public/Content/ContentPublicClient.d.ts +1 -1
  81. package/sdk/public/Content/ContentPublicClient.js +14 -2
  82. package/sdk/public/Partner/PartnerPublicClient.d.ts +1 -1
  83. package/sdk/public/Partner/PartnerPublicClient.js +14 -2
  84. package/sdk/public/Webhook/WebhookPublicClient.js +5 -2
  85. package/sdk/application/Cart/CartApplicationModel.d.ts +0 -3994
  86. package/sdk/application/Cart/CartApplicationModel.js +0 -2497
  87. package/sdk/application/Cart/CartApplicationValidator.d.ts +0 -769
  88. package/sdk/application/Cart/CartApplicationValidator.js +0 -530
  89. package/sdk/application/Catalog/CatalogApplicationModel.d.ts +0 -3857
  90. package/sdk/application/Catalog/CatalogApplicationModel.js +0 -2629
  91. package/sdk/application/Catalog/CatalogApplicationValidator.d.ts +0 -791
  92. package/sdk/application/Catalog/CatalogApplicationValidator.js +0 -551
  93. package/sdk/application/Common/CommonApplicationModel.d.ts +0 -449
  94. package/sdk/application/Common/CommonApplicationModel.js +0 -308
  95. package/sdk/application/Common/CommonApplicationValidator.d.ts +0 -46
  96. package/sdk/application/Common/CommonApplicationValidator.js +0 -38
  97. package/sdk/application/Communication/CommunicationApplicationModel.d.ts +0 -293
  98. package/sdk/application/Communication/CommunicationApplicationModel.js +0 -201
  99. package/sdk/application/Communication/CommunicationApplicationValidator.d.ts +0 -29
  100. package/sdk/application/Communication/CommunicationApplicationValidator.js +0 -38
  101. package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +0 -2556
  102. package/sdk/application/Configuration/ConfigurationApplicationModel.js +0 -1887
  103. package/sdk/application/Configuration/ConfigurationApplicationValidator.d.ts +0 -179
  104. package/sdk/application/Configuration/ConfigurationApplicationValidator.js +0 -176
  105. package/sdk/application/Content/ContentApplicationModel.d.ts +0 -2133
  106. package/sdk/application/Content/ContentApplicationModel.js +0 -1589
  107. package/sdk/application/Content/ContentApplicationValidator.d.ts +0 -284
  108. package/sdk/application/Content/ContentApplicationValidator.js +0 -264
  109. package/sdk/application/FileStorage/FileStorageApplicationModel.d.ts +0 -272
  110. package/sdk/application/FileStorage/FileStorageApplicationModel.js +0 -190
  111. package/sdk/application/FileStorage/FileStorageApplicationValidator.d.ts +0 -56
  112. package/sdk/application/FileStorage/FileStorageApplicationValidator.js +0 -53
  113. package/sdk/application/Lead/LeadApplicationModel.d.ts +0 -590
  114. package/sdk/application/Lead/LeadApplicationModel.js +0 -480
  115. package/sdk/application/Lead/LeadApplicationValidator.d.ts +0 -68
  116. package/sdk/application/Lead/LeadApplicationValidator.js +0 -71
  117. package/sdk/application/Logistic/LogisticApplicationModel.d.ts +0 -1675
  118. package/sdk/application/Logistic/LogisticApplicationModel.js +0 -1121
  119. package/sdk/application/Logistic/LogisticApplicationValidator.d.ts +0 -254
  120. package/sdk/application/Logistic/LogisticApplicationValidator.js +0 -190
  121. package/sdk/application/Order/OrderApplicationModel.d.ts +0 -2296
  122. package/sdk/application/Order/OrderApplicationModel.js +0 -1471
  123. package/sdk/application/Order/OrderApplicationValidator.d.ts +0 -265
  124. package/sdk/application/Order/OrderApplicationValidator.js +0 -197
  125. package/sdk/application/Payment/PaymentApplicationModel.d.ts +0 -4058
  126. package/sdk/application/Payment/PaymentApplicationModel.js +0 -2630
  127. package/sdk/application/Payment/PaymentApplicationValidator.d.ts +0 -576
  128. package/sdk/application/Payment/PaymentApplicationValidator.js +0 -594
  129. package/sdk/application/Rewards/RewardsApplicationModel.d.ts +0 -365
  130. package/sdk/application/Rewards/RewardsApplicationModel.js +0 -396
  131. package/sdk/application/Rewards/RewardsApplicationValidator.d.ts +0 -73
  132. package/sdk/application/Rewards/RewardsApplicationValidator.js +0 -84
  133. package/sdk/application/Share/ShareApplicationModel.d.ts +0 -339
  134. package/sdk/application/Share/ShareApplicationModel.js +0 -234
  135. package/sdk/application/Share/ShareApplicationValidator.d.ts +0 -90
  136. package/sdk/application/Share/ShareApplicationValidator.js +0 -91
  137. package/sdk/application/Theme/ThemeApplicationModel.d.ts +0 -1713
  138. package/sdk/application/Theme/ThemeApplicationModel.js +0 -1426
  139. package/sdk/application/Theme/ThemeApplicationValidator.d.ts +0 -66
  140. package/sdk/application/Theme/ThemeApplicationValidator.js +0 -58
  141. package/sdk/application/User/UserApplicationModel.d.ts +0 -1943
  142. package/sdk/application/User/UserApplicationModel.js +0 -1382
  143. package/sdk/application/User/UserApplicationValidator.d.ts +0 -560
  144. package/sdk/application/User/UserApplicationValidator.js +0 -573
  145. package/sdk/application/Webhook/WebhookApplicationModel.d.ts +0 -52
  146. package/sdk/application/Webhook/WebhookApplicationModel.js +0 -46
  147. package/sdk/application/Webhook/WebhookApplicationValidator.d.ts +0 -16
  148. package/sdk/application/Webhook/WebhookApplicationValidator.js +0 -19
  149. package/sdk/common/Clickstream.d.ts +0 -1
  150. package/sdk/common/Clickstream.js +0 -464
@@ -1,179 +0,0 @@
1
- export = ConfigurationApplicationValidator;
2
- /** @typedef GetAppCurrenciesParam */
3
- /**
4
- * @typedef GetAppStaffListParam
5
- * @property {number} [pageNo] - The page number to navigate through the given
6
- * set of results. Default value is 1.
7
- * @property {number} [pageSize] - The number of items to retrieve in each page.
8
- * @property {boolean} [orderIncent] - Select `true` to retrieve the staff
9
- * members eligible for getting incentives on orders.
10
- * @property {number} [orderingStore] - ID of the ordering store. Helps in
11
- * retrieving staff members working at a particular ordering store.
12
- * @property {string} [user] - ID of the staff. Helps in retrieving the details
13
- * of a particular staff member.
14
- * @property {string} [userName] - Username of the member.
15
- */
16
- /**
17
- * @typedef GetAppStaffsParam
18
- * @property {boolean} [orderIncent] - Select `true` to retrieve the staff
19
- * members eligible for getting incentives on orders.
20
- * @property {number} [orderingStore] - ID of the ordering store. Helps in
21
- * retrieving staff members working at a particular ordering store.
22
- * @property {string} [user] - ID of the staff. Helps in retrieving the details
23
- * of a particular staff member.
24
- */
25
- /** @typedef GetApplicationParam */
26
- /** @typedef GetBasicDetailsParam */
27
- /** @typedef GetContactInfoParam */
28
- /** @typedef GetCurrenciesParam */
29
- /**
30
- * @typedef GetCurrencyByIdParam
31
- * @property {string} id - ID assigned to the currency.
32
- */
33
- /** @typedef GetFeaturesParam */
34
- /** @typedef GetIntegrationTokensParam */
35
- /** @typedef GetLanguagesParam */
36
- /**
37
- * @typedef GetOrderingStoreCookieParam
38
- * @property {ConfigurationApplicationModel.OrderingStoreSelectRequest} body
39
- */
40
- /**
41
- * @typedef GetOrderingStoresParam
42
- * @property {number} [pageNo] - The page number to navigate through the given
43
- * set of results. Default value is 1.
44
- * @property {number} [pageSize] - The number of items to retrieve in each page.
45
- * Default value is 10.
46
- * @property {string} [q] - Store code or name of the ordering store.
47
- */
48
- /** @typedef GetOwnerInfoParam */
49
- /**
50
- * @typedef GetStoreDetailByIdParam
51
- * @property {number} storeId - Unique identifier for a store.
52
- */
53
- /** @typedef RemoveOrderingStoreCookieParam */
54
- declare class ConfigurationApplicationValidator {
55
- /** @returns {GetAppCurrenciesParam} */
56
- static getAppCurrencies(): any;
57
- /** @returns {GetAppStaffListParam} */
58
- static getAppStaffList(): GetAppStaffListParam;
59
- /** @returns {GetAppStaffsParam} */
60
- static getAppStaffs(): GetAppStaffsParam;
61
- /** @returns {GetApplicationParam} */
62
- static getApplication(): any;
63
- /** @returns {GetBasicDetailsParam} */
64
- static getBasicDetails(): any;
65
- /** @returns {GetContactInfoParam} */
66
- static getContactInfo(): any;
67
- /** @returns {GetCurrenciesParam} */
68
- static getCurrencies(): any;
69
- /** @returns {GetCurrencyByIdParam} */
70
- static getCurrencyById(): GetCurrencyByIdParam;
71
- /** @returns {GetFeaturesParam} */
72
- static getFeatures(): any;
73
- /** @returns {GetIntegrationTokensParam} */
74
- static getIntegrationTokens(): any;
75
- /** @returns {GetLanguagesParam} */
76
- static getLanguages(): any;
77
- /** @returns {GetOrderingStoreCookieParam} */
78
- static getOrderingStoreCookie(): GetOrderingStoreCookieParam;
79
- /** @returns {GetOrderingStoresParam} */
80
- static getOrderingStores(): GetOrderingStoresParam;
81
- /** @returns {GetOwnerInfoParam} */
82
- static getOwnerInfo(): any;
83
- /** @returns {GetStoreDetailByIdParam} */
84
- static getStoreDetailById(): GetStoreDetailByIdParam;
85
- /** @returns {RemoveOrderingStoreCookieParam} */
86
- static removeOrderingStoreCookie(): any;
87
- }
88
- declare namespace ConfigurationApplicationValidator {
89
- export { GetAppCurrenciesParam, GetAppStaffListParam, GetAppStaffsParam, GetApplicationParam, GetBasicDetailsParam, GetContactInfoParam, GetCurrenciesParam, GetCurrencyByIdParam, GetFeaturesParam, GetIntegrationTokensParam, GetLanguagesParam, GetOrderingStoreCookieParam, GetOrderingStoresParam, GetOwnerInfoParam, GetStoreDetailByIdParam, RemoveOrderingStoreCookieParam };
90
- }
91
- type GetAppStaffListParam = {
92
- /**
93
- * - The page number to navigate through the given
94
- * set of results. Default value is 1.
95
- */
96
- pageNo?: number;
97
- /**
98
- * - The number of items to retrieve in each page.
99
- */
100
- pageSize?: number;
101
- /**
102
- * - Select `true` to retrieve the staff
103
- * members eligible for getting incentives on orders.
104
- */
105
- orderIncent?: boolean;
106
- /**
107
- * - ID of the ordering store. Helps in
108
- * retrieving staff members working at a particular ordering store.
109
- */
110
- orderingStore?: number;
111
- /**
112
- * - ID of the staff. Helps in retrieving the details
113
- * of a particular staff member.
114
- */
115
- user?: string;
116
- /**
117
- * - Username of the member.
118
- */
119
- userName?: string;
120
- };
121
- type GetAppStaffsParam = {
122
- /**
123
- * - Select `true` to retrieve the staff
124
- * members eligible for getting incentives on orders.
125
- */
126
- orderIncent?: boolean;
127
- /**
128
- * - ID of the ordering store. Helps in
129
- * retrieving staff members working at a particular ordering store.
130
- */
131
- orderingStore?: number;
132
- /**
133
- * - ID of the staff. Helps in retrieving the details
134
- * of a particular staff member.
135
- */
136
- user?: string;
137
- };
138
- type GetCurrencyByIdParam = {
139
- /**
140
- * - ID assigned to the currency.
141
- */
142
- id: string;
143
- };
144
- type GetOrderingStoreCookieParam = {
145
- body: ConfigurationApplicationModel.OrderingStoreSelectRequest;
146
- };
147
- type GetOrderingStoresParam = {
148
- /**
149
- * - The page number to navigate through the given
150
- * set of results. Default value is 1.
151
- */
152
- pageNo?: number;
153
- /**
154
- * - The number of items to retrieve in each page.
155
- * Default value is 10.
156
- */
157
- pageSize?: number;
158
- /**
159
- * - Store code or name of the ordering store.
160
- */
161
- q?: string;
162
- };
163
- type GetStoreDetailByIdParam = {
164
- /**
165
- * - Unique identifier for a store.
166
- */
167
- storeId: number;
168
- };
169
- type GetAppCurrenciesParam = any;
170
- type GetApplicationParam = any;
171
- type GetBasicDetailsParam = any;
172
- type GetContactInfoParam = any;
173
- type GetCurrenciesParam = any;
174
- type GetFeaturesParam = any;
175
- type GetIntegrationTokensParam = any;
176
- type GetLanguagesParam = any;
177
- type GetOwnerInfoParam = any;
178
- type RemoveOrderingStoreCookieParam = any;
179
- import ConfigurationApplicationModel = require("./ConfigurationApplicationModel");
@@ -1,176 +0,0 @@
1
- const Joi = require("joi");
2
-
3
- const ConfigurationApplicationModel = require("./ConfigurationApplicationModel");
4
-
5
- /** @typedef GetAppCurrenciesParam */
6
-
7
- /**
8
- * @typedef GetAppStaffListParam
9
- * @property {number} [pageNo] - The page number to navigate through the given
10
- * set of results. Default value is 1.
11
- * @property {number} [pageSize] - The number of items to retrieve in each page.
12
- * @property {boolean} [orderIncent] - Select `true` to retrieve the staff
13
- * members eligible for getting incentives on orders.
14
- * @property {number} [orderingStore] - ID of the ordering store. Helps in
15
- * retrieving staff members working at a particular ordering store.
16
- * @property {string} [user] - ID of the staff. Helps in retrieving the details
17
- * of a particular staff member.
18
- * @property {string} [userName] - Username of the member.
19
- */
20
-
21
- /**
22
- * @typedef GetAppStaffsParam
23
- * @property {boolean} [orderIncent] - Select `true` to retrieve the staff
24
- * members eligible for getting incentives on orders.
25
- * @property {number} [orderingStore] - ID of the ordering store. Helps in
26
- * retrieving staff members working at a particular ordering store.
27
- * @property {string} [user] - ID of the staff. Helps in retrieving the details
28
- * of a particular staff member.
29
- */
30
-
31
- /** @typedef GetApplicationParam */
32
-
33
- /** @typedef GetBasicDetailsParam */
34
-
35
- /** @typedef GetContactInfoParam */
36
-
37
- /** @typedef GetCurrenciesParam */
38
-
39
- /**
40
- * @typedef GetCurrencyByIdParam
41
- * @property {string} id - ID assigned to the currency.
42
- */
43
-
44
- /** @typedef GetFeaturesParam */
45
-
46
- /** @typedef GetIntegrationTokensParam */
47
-
48
- /** @typedef GetLanguagesParam */
49
-
50
- /**
51
- * @typedef GetOrderingStoreCookieParam
52
- * @property {ConfigurationApplicationModel.OrderingStoreSelectRequest} body
53
- */
54
-
55
- /**
56
- * @typedef GetOrderingStoresParam
57
- * @property {number} [pageNo] - The page number to navigate through the given
58
- * set of results. Default value is 1.
59
- * @property {number} [pageSize] - The number of items to retrieve in each page.
60
- * Default value is 10.
61
- * @property {string} [q] - Store code or name of the ordering store.
62
- */
63
-
64
- /** @typedef GetOwnerInfoParam */
65
-
66
- /**
67
- * @typedef GetStoreDetailByIdParam
68
- * @property {number} storeId - Unique identifier for a store.
69
- */
70
-
71
- /** @typedef RemoveOrderingStoreCookieParam */
72
-
73
- class ConfigurationApplicationValidator {
74
- /** @returns {GetAppCurrenciesParam} */
75
- static getAppCurrencies() {
76
- return Joi.object({});
77
- }
78
-
79
- /** @returns {GetAppStaffListParam} */
80
- static getAppStaffList() {
81
- return Joi.object({
82
- pageNo: Joi.number(),
83
- pageSize: Joi.number(),
84
- orderIncent: Joi.boolean(),
85
- orderingStore: Joi.number(),
86
- user: Joi.string().allow(""),
87
- userName: Joi.string().allow(""),
88
- });
89
- }
90
-
91
- /** @returns {GetAppStaffsParam} */
92
- static getAppStaffs() {
93
- return Joi.object({
94
- orderIncent: Joi.boolean(),
95
- orderingStore: Joi.number(),
96
- user: Joi.string().allow(""),
97
- });
98
- }
99
-
100
- /** @returns {GetApplicationParam} */
101
- static getApplication() {
102
- return Joi.object({});
103
- }
104
-
105
- /** @returns {GetBasicDetailsParam} */
106
- static getBasicDetails() {
107
- return Joi.object({});
108
- }
109
-
110
- /** @returns {GetContactInfoParam} */
111
- static getContactInfo() {
112
- return Joi.object({});
113
- }
114
-
115
- /** @returns {GetCurrenciesParam} */
116
- static getCurrencies() {
117
- return Joi.object({});
118
- }
119
-
120
- /** @returns {GetCurrencyByIdParam} */
121
- static getCurrencyById() {
122
- return Joi.object({
123
- id: Joi.string().allow("").required(),
124
- }).required();
125
- }
126
-
127
- /** @returns {GetFeaturesParam} */
128
- static getFeatures() {
129
- return Joi.object({});
130
- }
131
-
132
- /** @returns {GetIntegrationTokensParam} */
133
- static getIntegrationTokens() {
134
- return Joi.object({});
135
- }
136
-
137
- /** @returns {GetLanguagesParam} */
138
- static getLanguages() {
139
- return Joi.object({});
140
- }
141
-
142
- /** @returns {GetOrderingStoreCookieParam} */
143
- static getOrderingStoreCookie() {
144
- return Joi.object({
145
- body: ConfigurationApplicationModel.OrderingStoreSelectRequest().required(),
146
- }).required();
147
- }
148
-
149
- /** @returns {GetOrderingStoresParam} */
150
- static getOrderingStores() {
151
- return Joi.object({
152
- pageNo: Joi.number(),
153
- pageSize: Joi.number(),
154
- q: Joi.string().allow(""),
155
- });
156
- }
157
-
158
- /** @returns {GetOwnerInfoParam} */
159
- static getOwnerInfo() {
160
- return Joi.object({});
161
- }
162
-
163
- /** @returns {GetStoreDetailByIdParam} */
164
- static getStoreDetailById() {
165
- return Joi.object({
166
- storeId: Joi.number().required(),
167
- }).required();
168
- }
169
-
170
- /** @returns {RemoveOrderingStoreCookieParam} */
171
- static removeOrderingStoreCookie() {
172
- return Joi.object({});
173
- }
174
- }
175
-
176
- module.exports = ConfigurationApplicationValidator;