@gofynd/fdk-client-javascript 1.4.15-beta.3 → 1.4.15-beta.5

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 (241) hide show
  1. package/README.md +1 -1
  2. package/package.json +1 -1
  3. package/sdk/application/ApplicationClient.d.ts +0 -2
  4. package/sdk/application/ApplicationClient.js +0 -2
  5. package/sdk/application/Cart/CartApplicationClient.d.ts +48 -68
  6. package/sdk/application/Cart/CartApplicationClient.js +304 -114
  7. package/sdk/application/Catalog/CatalogApplicationClient.d.ts +58 -59
  8. package/sdk/application/Catalog/CatalogApplicationClient.js +437 -30
  9. package/sdk/application/Common/CommonApplicationClient.d.ts +2 -2
  10. package/sdk/application/Common/CommonApplicationClient.js +22 -1
  11. package/sdk/application/Communication/CommunicationApplicationClient.js +29 -0
  12. package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +20 -20
  13. package/sdk/application/Configuration/ConfigurationApplicationClient.js +157 -10
  14. package/sdk/application/Content/ContentApplicationClient.d.ts +30 -19
  15. package/sdk/application/Content/ContentApplicationClient.js +297 -28
  16. package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +8 -8
  17. package/sdk/application/FileStorage/FileStorageApplicationClient.js +50 -7
  18. package/sdk/application/Lead/LeadApplicationClient.d.ts +2 -2
  19. package/sdk/application/Lead/LeadApplicationClient.js +74 -1
  20. package/sdk/application/Logistic/LogisticApplicationClient.d.ts +15 -35
  21. package/sdk/application/Logistic/LogisticApplicationClient.js +159 -87
  22. package/sdk/application/Order/OrderApplicationClient.d.ts +12 -22
  23. package/sdk/application/Order/OrderApplicationClient.js +195 -47
  24. package/sdk/application/Payment/PaymentApplicationClient.d.ts +87 -87
  25. package/sdk/application/Payment/PaymentApplicationClient.js +473 -46
  26. package/sdk/application/Rewards/RewardsApplicationClient.d.ts +13 -13
  27. package/sdk/application/Rewards/RewardsApplicationClient.js +75 -7
  28. package/sdk/application/Share/ShareApplicationClient.js +96 -0
  29. package/sdk/application/Theme/ThemeApplicationClient.d.ts +2 -2
  30. package/sdk/application/Theme/ThemeApplicationClient.js +66 -4
  31. package/sdk/application/User/UserApplicationClient.d.ts +10 -10
  32. package/sdk/application/User/UserApplicationClient.js +418 -6
  33. package/sdk/application/Webhook/WebhookApplicationClient.d.ts +4 -4
  34. package/sdk/application/Webhook/WebhookApplicationClient.js +16 -3
  35. package/sdk/partner/FileStorage/FileStoragePartnerClient.d.ts +12 -86
  36. package/sdk/partner/FileStorage/FileStoragePartnerClient.js +24 -582
  37. package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +19 -116
  38. package/sdk/partner/FileStorage/FileStoragePartnerModel.js +14 -121
  39. package/sdk/partner/FileStorage/FileStoragePartnerValidator.d.ts +1 -8
  40. package/sdk/partner/FileStorage/FileStoragePartnerValidator.js +4 -51
  41. package/sdk/partner/Lead/LeadPartnerClient.d.ts +2 -2
  42. package/sdk/partner/Lead/LeadPartnerClient.js +2 -2
  43. package/sdk/partner/Lead/LeadPartnerModel.d.ts +5 -5
  44. package/sdk/partner/Lead/LeadPartnerModel.js +15 -15
  45. package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +20 -126
  46. package/sdk/partner/Logistics/LogisticsPartnerClient.js +20 -970
  47. package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +167 -1200
  48. package/sdk/partner/Logistics/LogisticsPartnerModel.js +160 -571
  49. package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +0 -10
  50. package/sdk/partner/Logistics/LogisticsPartnerValidator.js +7 -121
  51. package/sdk/partner/OAuthClient.js +1 -0
  52. package/sdk/partner/Theme/ThemePartnerClient.d.ts +10 -8
  53. package/sdk/partner/Theme/ThemePartnerClient.js +16 -14
  54. package/sdk/partner/Theme/ThemePartnerModel.d.ts +39 -135
  55. package/sdk/partner/Theme/ThemePartnerModel.js +38 -114
  56. package/sdk/partner/Theme/ThemePartnerValidator.js +4 -4
  57. package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +18 -28
  58. package/sdk/partner/Webhook/WebhookPartnerClient.js +18 -103
  59. package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +179 -612
  60. package/sdk/partner/Webhook/WebhookPartnerModel.js +150 -253
  61. package/sdk/partner/Webhook/WebhookPartnerValidator.d.ts +0 -1
  62. package/sdk/partner/Webhook/WebhookPartnerValidator.js +3 -11
  63. package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.d.ts +4 -5
  64. package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.js +8 -14
  65. package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +9 -59
  66. package/sdk/platform/Analytics/AnalyticsPlatformModel.js +4 -40
  67. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +32 -2
  68. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +243 -3
  69. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +130 -11
  70. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +152 -12
  71. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +39 -1
  72. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +35 -0
  73. package/sdk/platform/Billing/BillingPlatformClient.d.ts +12 -12
  74. package/sdk/platform/Billing/BillingPlatformClient.js +15 -15
  75. package/sdk/platform/Billing/BillingPlatformModel.d.ts +388 -443
  76. package/sdk/platform/Billing/BillingPlatformModel.js +263 -280
  77. package/sdk/platform/Billing/BillingPlatformValidator.d.ts +18 -16
  78. package/sdk/platform/Billing/BillingPlatformValidator.js +9 -8
  79. package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +103 -134
  80. package/sdk/platform/Cart/CartPlatformApplicationClient.js +115 -419
  81. package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +65 -118
  82. package/sdk/platform/Cart/CartPlatformApplicationValidator.js +44 -109
  83. package/sdk/platform/Cart/CartPlatformModel.d.ts +1298 -5037
  84. package/sdk/platform/Cart/CartPlatformModel.js +1217 -1976
  85. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +183 -209
  86. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +400 -457
  87. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +142 -185
  88. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +78 -96
  89. package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +117 -154
  90. package/sdk/platform/Catalog/CatalogPlatformClient.js +172 -292
  91. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +1647 -6385
  92. package/sdk/platform/Catalog/CatalogPlatformModel.js +1680 -3217
  93. package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +31 -72
  94. package/sdk/platform/Catalog/CatalogPlatformValidator.js +24 -50
  95. package/sdk/platform/Common/CommonPlatformClient.d.ts +2 -3
  96. package/sdk/platform/Common/CommonPlatformClient.js +2 -3
  97. package/sdk/platform/Common/CommonPlatformModel.d.ts +9 -9
  98. package/sdk/platform/Common/CommonPlatformModel.js +6 -6
  99. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +17 -16
  100. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +17 -16
  101. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +8 -8
  102. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +8 -8
  103. package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +33 -43
  104. package/sdk/platform/Communication/CommunicationPlatformModel.js +34 -38
  105. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +42 -46
  106. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +43 -47
  107. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +223 -223
  108. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +212 -210
  109. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +12 -12
  110. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +12 -12
  111. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +33 -46
  112. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +54 -67
  113. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +18 -18
  114. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +18 -18
  115. package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +24 -45
  116. package/sdk/platform/Configuration/ConfigurationPlatformClient.js +30 -134
  117. package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +131 -283
  118. package/sdk/platform/Configuration/ConfigurationPlatformModel.js +97 -219
  119. package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +9 -37
  120. package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +8 -27
  121. package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +141 -124
  122. package/sdk/platform/Content/ContentPlatformApplicationClient.js +422 -449
  123. package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +141 -179
  124. package/sdk/platform/Content/ContentPlatformApplicationValidator.js +130 -168
  125. package/sdk/platform/Content/ContentPlatformClient.d.ts +106 -142
  126. package/sdk/platform/Content/ContentPlatformClient.js +336 -523
  127. package/sdk/platform/Content/ContentPlatformModel.d.ts +395 -1241
  128. package/sdk/platform/Content/ContentPlatformModel.js +390 -521
  129. package/sdk/platform/Content/ContentPlatformValidator.d.ts +117 -168
  130. package/sdk/platform/Content/ContentPlatformValidator.js +108 -162
  131. package/sdk/platform/Discount/DiscountPlatformClient.d.ts +12 -14
  132. package/sdk/platform/Discount/DiscountPlatformClient.js +12 -14
  133. package/sdk/platform/Discount/DiscountPlatformModel.d.ts +13 -13
  134. package/sdk/platform/Discount/DiscountPlatformModel.js +12 -12
  135. package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +2 -2
  136. package/sdk/platform/Discount/DiscountPlatformValidator.js +2 -2
  137. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +36 -94
  138. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +60 -462
  139. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +15 -62
  140. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +13 -75
  141. package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +19 -19
  142. package/sdk/platform/FileStorage/FileStoragePlatformClient.js +21 -21
  143. package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +101 -370
  144. package/sdk/platform/FileStorage/FileStoragePlatformModel.js +84 -313
  145. package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +6 -6
  146. package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +6 -6
  147. package/sdk/platform/Finance/FinancePlatformClient.d.ts +320 -0
  148. package/sdk/platform/Finance/FinancePlatformClient.js +2333 -0
  149. package/sdk/platform/Finance/FinancePlatformModel.d.ts +2890 -0
  150. package/sdk/platform/Finance/FinancePlatformModel.js +2148 -0
  151. package/sdk/platform/Finance/FinancePlatformValidator.d.ts +284 -0
  152. package/sdk/platform/Finance/FinancePlatformValidator.js +354 -0
  153. package/sdk/platform/Lead/LeadPlatformClient.d.ts +2 -2
  154. package/sdk/platform/Lead/LeadPlatformClient.js +2 -2
  155. package/sdk/platform/Lead/LeadPlatformModel.d.ts +5 -5
  156. package/sdk/platform/Lead/LeadPlatformModel.js +16 -16
  157. package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +6 -17
  158. package/sdk/platform/Order/OrderPlatformApplicationClient.js +7 -85
  159. package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +24 -95
  160. package/sdk/platform/Order/OrderPlatformApplicationValidator.js +19 -39
  161. package/sdk/platform/Order/OrderPlatformClient.d.ts +96 -153
  162. package/sdk/platform/Order/OrderPlatformClient.js +198 -416
  163. package/sdk/platform/Order/OrderPlatformModel.d.ts +1286 -7619
  164. package/sdk/platform/Order/OrderPlatformModel.js +1265 -3922
  165. package/sdk/platform/Order/OrderPlatformValidator.d.ts +109 -270
  166. package/sdk/platform/Order/OrderPlatformValidator.js +77 -135
  167. package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +4 -6
  168. package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +7 -9
  169. package/sdk/platform/Partner/PartnerPlatformModel.d.ts +9 -9
  170. package/sdk/platform/Partner/PartnerPlatformModel.js +8 -8
  171. package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +105 -93
  172. package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +141 -129
  173. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +48 -48
  174. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +48 -48
  175. package/sdk/platform/Payment/PaymentPlatformClient.d.ts +20 -20
  176. package/sdk/platform/Payment/PaymentPlatformClient.js +20 -20
  177. package/sdk/platform/Payment/PaymentPlatformModel.d.ts +319 -333
  178. package/sdk/platform/Payment/PaymentPlatformModel.js +278 -288
  179. package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +8 -8
  180. package/sdk/platform/Payment/PaymentPlatformValidator.js +8 -8
  181. package/sdk/platform/PlatformClient.d.ts +2 -0
  182. package/sdk/platform/PlatformClient.js +4 -0
  183. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +2 -2
  184. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +2 -2
  185. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +2 -2
  186. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.js +2 -2
  187. package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +9 -9
  188. package/sdk/platform/Rewards/RewardsPlatformModel.js +8 -8
  189. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +36 -46
  190. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +41 -132
  191. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +17 -46
  192. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +14 -34
  193. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +46 -40
  194. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +64 -58
  195. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +612 -1845
  196. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +554 -886
  197. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +46 -42
  198. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +28 -26
  199. package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +2 -2
  200. package/sdk/platform/Share/SharePlatformApplicationClient.js +2 -2
  201. package/sdk/platform/Share/SharePlatformModel.d.ts +5 -36
  202. package/sdk/platform/Share/SharePlatformModel.js +4 -27
  203. package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +3 -3
  204. package/sdk/platform/Theme/ThemePlatformApplicationClient.js +4 -8
  205. package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +0 -5
  206. package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +0 -2
  207. package/sdk/platform/Theme/ThemePlatformModel.d.ts +13 -76
  208. package/sdk/platform/Theme/ThemePlatformModel.js +17 -57
  209. package/sdk/platform/User/UserPlatformApplicationClient.d.ts +12 -12
  210. package/sdk/platform/User/UserPlatformApplicationClient.js +12 -12
  211. package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +2 -2
  212. package/sdk/platform/User/UserPlatformApplicationValidator.js +2 -2
  213. package/sdk/platform/User/UserPlatformModel.d.ts +21 -21
  214. package/sdk/platform/User/UserPlatformModel.js +23 -23
  215. package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +78 -25
  216. package/sdk/platform/Webhook/WebhookPlatformClient.js +470 -75
  217. package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +427 -720
  218. package/sdk/platform/Webhook/WebhookPlatformModel.js +386 -410
  219. package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +55 -10
  220. package/sdk/platform/Webhook/WebhookPlatformValidator.js +72 -12
  221. package/sdk/platform/index.d.ts +1 -0
  222. package/sdk/platform/index.js +2 -0
  223. package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +2 -3
  224. package/sdk/public/Configuration/ConfigurationPublicClient.js +21 -6
  225. package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +9 -9
  226. package/sdk/public/Configuration/ConfigurationPublicModel.js +6 -6
  227. package/sdk/public/Content/ContentPublicClient.d.ts +2 -112
  228. package/sdk/public/Content/ContentPublicClient.js +20 -791
  229. package/sdk/public/Content/ContentPublicModel.d.ts +3 -549
  230. package/sdk/public/Content/ContentPublicModel.js +3 -649
  231. package/sdk/public/Content/ContentPublicValidator.d.ts +3 -69
  232. package/sdk/public/Content/ContentPublicValidator.js +2 -88
  233. package/sdk/public/Partner/PartnerPublicClient.js +15 -0
  234. package/sdk/public/Webhook/WebhookPublicClient.d.ts +8 -8
  235. package/sdk/public/Webhook/WebhookPublicClient.js +48 -8
  236. package/sdk/public/Webhook/WebhookPublicModel.d.ts +21 -21
  237. package/sdk/public/Webhook/WebhookPublicModel.js +15 -15
  238. package/sdk/public/Webhook/WebhookPublicValidator.d.ts +4 -4
  239. package/sdk/public/Webhook/WebhookPublicValidator.js +4 -4
  240. package/sdk/application/Finance/FinanceApplicationClient.d.ts +0 -29
  241. package/sdk/application/Finance/FinanceApplicationClient.js +0 -105
@@ -1,31 +1,7 @@
1
1
  const Joi = require("joi");
2
2
 
3
- /**
4
- * @typedef CurrencyExchangeResponseV2
5
- * @property {string} base - The 3-letter ISO 4217 code representing the base currency.
6
- * @property {string} base_currency_name - The name of the base currency.
7
- * @property {number} ttl_seconds - Time in seconds for which the exchange rates
8
- * are valid.
9
- * @property {CurrencyExchangeItem[]} items - List of exchange rates and currency details.
10
- * @property {number} total - Total number of currency exchange items.
11
- */
12
-
13
- /**
14
- * @typedef CurrencyExchangeItem
15
- * @property {string} currency_code - 3-letter ISO 4217 exchange currency code.
16
- * @property {string} name - Name of the exchange currency
17
- * @property {number} rate - Exchange rate of the currency with respect to the
18
- * base currency.
19
- * @property {string} country_code - ISO 3166 country code.
20
- * @property {string} country_name - Name of the country using this currency.
21
- * @property {string} subunit - The name of the subunit for the currency.
22
- * @property {number} decimal_digits - Number of decimal digits the currency supports.
23
- * @property {string} symbol - The symbol of the currency.
24
- */
25
-
26
3
  /**
27
4
  * @typedef ApplicationInventory
28
- * @property {SearchConfig} [search]
29
5
  * @property {AppInventoryConfig} [inventory]
30
6
  * @property {AuthenticationConfig} [authentication]
31
7
  * @property {ArticleAssignmentConfig} [article_assignment]
@@ -60,25 +36,6 @@ const Joi = require("joi");
60
36
  * @property {boolean} [enabled]
61
37
  */
62
38
 
63
- /**
64
- * @typedef FstIdentification
65
- * @property {boolean} [enabled] - Indicates whether FST identification is
66
- * enabled for the application.
67
- */
68
-
69
- /**
70
- * @typedef QuerySuggestions
71
- * @property {boolean} [enabled] - Indicates whether query suggestions are enabled.
72
- * @property {number} [max_limit] - Specifies the maximum number of query
73
- * suggestions that can be returned.
74
- */
75
-
76
- /**
77
- * @typedef SearchConfig
78
- * @property {FstIdentification} [fst_identification]
79
- * @property {QuerySuggestions} [query_suggestions]
80
- */
81
-
82
39
  /**
83
40
  * @typedef AppInventoryConfig
84
41
  * @property {InventoryBrand} [brand]
@@ -97,6 +54,8 @@ const Joi = require("joi");
97
54
  * @property {Object[]} [company_store] - List of selling locations whose
98
55
  * inventory is available to the sales channel for displaying on the website
99
56
  * @property {number} [company_id]
57
+ * @property {boolean} [enable_zone_overlapping] - Power product listing with
58
+ * overlapping zones
100
59
  */
101
60
 
102
61
  /**
@@ -288,7 +247,6 @@ const Joi = require("joi");
288
247
 
289
248
  /**
290
249
  * @typedef AppInventoryPartialUpdate
291
- * @property {SearchConfig} [search]
292
250
  * @property {RewardPointsConfig} [reward_points]
293
251
  * @property {AppCartConfig} [cart]
294
252
  * @property {AppPaymentConfig} [payment]
@@ -305,19 +263,19 @@ const Joi = require("joi");
305
263
  */
306
264
 
307
265
  /**
308
- * @typedef CompanyByBrandsRequestSchema
266
+ * @typedef CompanyByBrandsRequest
309
267
  * @property {number} brands - Brand UID
310
268
  * @property {string} [search_text] - A search field for finding a company by its name
311
269
  */
312
270
 
313
271
  /**
314
- * @typedef CompanyByBrandsResponseSchema
272
+ * @typedef CompanyByBrandsResponse
315
273
  * @property {BrandCompanyInfo[]} [items]
316
274
  * @property {Page} [page]
317
275
  */
318
276
 
319
277
  /**
320
- * @typedef StoreByBrandsRequestSchema
278
+ * @typedef StoreByBrandsRequest
321
279
  * @property {number} [company_id] - Current company ID for current company
322
280
  * stores only. Don't send in case cross-selling (franchise) is enabled.
323
281
  * @property {number} brands - Brand UID
@@ -325,7 +283,7 @@ const Joi = require("joi");
325
283
  */
326
284
 
327
285
  /**
328
- * @typedef StoreByBrandsResponseSchema
286
+ * @typedef StoreByBrandsResponse
329
287
  * @property {BrandStoreInfo[]} [items]
330
288
  * @property {Page} [page]
331
289
  */
@@ -353,12 +311,12 @@ const Joi = require("joi");
353
311
  */
354
312
 
355
313
  /**
356
- * @typedef BrandsByCompanyResponseSchema
314
+ * @typedef BrandsByCompanyResponse
357
315
  * @property {CompanyBrandInfo[]} [brands]
358
316
  */
359
317
 
360
318
  /**
361
- * @typedef ValidationFailedResponseSchema
319
+ * @typedef ValidationFailedResponse
362
320
  * @property {string} [message] - Response message for failed validation
363
321
  */
364
322
 
@@ -390,20 +348,20 @@ const Joi = require("joi");
390
348
  */
391
349
 
392
350
  /**
393
- * @typedef CreateApplicationRequestSchema
351
+ * @typedef CreateApplicationRequest
394
352
  * @property {App} [app]
395
353
  * @property {ApplicationInventory} [configuration]
396
354
  * @property {AppDomain} [domain]
397
355
  */
398
356
 
399
357
  /**
400
- * @typedef CreateAppResponseSchema
358
+ * @typedef CreateAppResponse
401
359
  * @property {Application} [app]
402
360
  * @property {ApplicationInventory} [configuration]
403
361
  */
404
362
 
405
363
  /**
406
- * @typedef ApplicationsResponseSchema
364
+ * @typedef ApplicationsResponse
407
365
  * @property {Application[]} [items]
408
366
  * @property {Page} [page]
409
367
  */
@@ -441,7 +399,7 @@ const Joi = require("joi");
441
399
  */
442
400
 
443
401
  /**
444
- * @typedef MobileAppConfigRequestSchema
402
+ * @typedef MobileAppConfigRequest
445
403
  * @property {string} [app_name] - Name of the mobile app
446
404
  * @property {LandingImage} [landing_image]
447
405
  * @property {SplashImage} [splash_image]
@@ -513,7 +471,7 @@ const Joi = require("joi");
513
471
  */
514
472
 
515
473
  /**
516
- * @typedef DomainAddRequestSchema
474
+ * @typedef DomainAddRequest
517
475
  * @property {DomainAdd} [domain]
518
476
  */
519
477
 
@@ -532,7 +490,7 @@ const Joi = require("joi");
532
490
  */
533
491
 
534
492
  /**
535
- * @typedef DomainsResponseSchema
493
+ * @typedef DomainsResponse
536
494
  * @property {Domain[]} [domains]
537
495
  */
538
496
 
@@ -550,14 +508,14 @@ const Joi = require("joi");
550
508
  */
551
509
 
552
510
  /**
553
- * @typedef UpdateDomainTypeRequestSchema
511
+ * @typedef UpdateDomainTypeRequest
554
512
  * @property {UpdateDomain} [domain]
555
513
  * @property {string} [action] - Shows domain is made primary domain for the
556
514
  * sales channel or shorlink is created for the sales channel domain
557
515
  */
558
516
 
559
517
  /**
560
- * @typedef DomainStatusRequestSchema
518
+ * @typedef DomainStatusRequest
561
519
  * @property {string} [domain_url] - URL of the domain, e.g. uniket.hostx0.de
562
520
  */
563
521
 
@@ -569,17 +527,16 @@ const Joi = require("joi");
569
527
  */
570
528
 
571
529
  /**
572
- * @typedef DomainStatusResponseSchema
530
+ * @typedef DomainStatusResponse
573
531
  * @property {boolean} [connected] - Check if domain is live and mapped to
574
532
  * appropriate IP of Fynd Servers
575
533
  * @property {DomainStatus[]} [status]
576
534
  */
577
535
 
578
536
  /**
579
- * @typedef DomainSuggestionsRequestSchema
537
+ * @typedef DomainSuggestionsRequest
580
538
  * @property {string} [domain_url] - Domain url
581
- * @property {boolean} [custom_domain] - Get suggestions for custom domains or
582
- * Fynd domains
539
+ * @property {boolean} [custom] - Get suggestions for custom domains or Fynd domains
583
540
  */
584
541
 
585
542
  /**
@@ -594,12 +551,12 @@ const Joi = require("joi");
594
551
  */
595
552
 
596
553
  /**
597
- * @typedef DomainSuggestionsResponseSchema
554
+ * @typedef DomainSuggestionsResponse
598
555
  * @property {DomainSuggestion[]} [domains] - Domain URL
599
556
  */
600
557
 
601
558
  /**
602
- * @typedef SuccessMessageResponseSchema
559
+ * @typedef SuccessMessageResponse
603
560
  * @property {boolean} [success] - Shows whether domain was deleted successfully
604
561
  * @property {string} [message] - Success message shown to the user (in a string format)
605
562
  */
@@ -621,7 +578,7 @@ const Joi = require("joi");
621
578
  */
622
579
 
623
580
  /**
624
- * @typedef CompaniesResponseSchema
581
+ * @typedef CompaniesResponse
625
582
  * @property {AppInventoryCompanies[]} [items]
626
583
  * @property {Page} [page]
627
584
  */
@@ -635,7 +592,7 @@ const Joi = require("joi");
635
592
  */
636
593
 
637
594
  /**
638
- * @typedef StoresResponseSchema
595
+ * @typedef StoresResponse
639
596
  * @property {AppInventoryStores[]} [items]
640
597
  * @property {Page} [page]
641
598
  */
@@ -662,7 +619,7 @@ const Joi = require("joi");
662
619
  */
663
620
 
664
621
  /**
665
- * @typedef FilterOrderingStoreRequestSchema
622
+ * @typedef FilterOrderingStoreRequest
666
623
  * @property {boolean} [all_stores] - Allow all stores from the ordering stores
667
624
  * @property {number[]} [deployed_stores]
668
625
  * @property {string} [q] - Store code or name of the ordering store
@@ -689,7 +646,7 @@ const Joi = require("joi");
689
646
  */
690
647
 
691
648
  /**
692
- * @typedef OrderingStoreSelectRequestSchema
649
+ * @typedef OrderingStoreSelectRequest
693
650
  * @property {OrderingStoreSelect} ordering_store
694
651
  */
695
652
 
@@ -723,7 +680,7 @@ const Joi = require("joi");
723
680
  */
724
681
 
725
682
  /**
726
- * @typedef OptedApplicationResponseSchema
683
+ * @typedef OptedApplicationResponse
727
684
  * @property {string} [name] - Name of the other seller's sales channel
728
685
  * @property {string} [description] - Basic details about the other seller's sales channel
729
686
  * @property {string} [_id] - The unique identifier (24-digit Mongo Object ID)
@@ -780,7 +737,7 @@ const Joi = require("joi");
780
737
  */
781
738
 
782
739
  /**
783
- * @typedef TokenResponseSchema
740
+ * @typedef TokenResponse
784
741
  * @property {Tokens} [tokens]
785
742
  * @property {string} [_id] - The unique identifier (24-digit Mongo Object ID)
786
743
  * of the token
@@ -1122,12 +1079,12 @@ const Joi = require("joi");
1122
1079
  */
1123
1080
 
1124
1081
  /**
1125
- * @typedef AppFeatureRequestSchema
1082
+ * @typedef AppFeatureRequest
1126
1083
  * @property {AppFeature} [feature]
1127
1084
  */
1128
1085
 
1129
1086
  /**
1130
- * @typedef AppFeatureResponseSchema
1087
+ * @typedef AppFeatureResponse
1131
1088
  * @property {AppFeature} [feature]
1132
1089
  */
1133
1090
 
@@ -1288,7 +1245,7 @@ const Joi = require("joi");
1288
1245
  */
1289
1246
 
1290
1247
  /**
1291
- * @typedef InvalidPayloadRequestSchema
1248
+ * @typedef InvalidPayloadRequest
1292
1249
  * @property {string} [message] - Error message when request body payload is improper
1293
1250
  * @property {boolean} [success] - Flag for required not successfull.
1294
1251
  */
@@ -1476,12 +1433,12 @@ const Joi = require("joi");
1476
1433
  */
1477
1434
 
1478
1435
  /**
1479
- * @typedef CurrenciesResponseSchema
1436
+ * @typedef CurrenciesResponse
1480
1437
  * @property {Currency[]} [items]
1481
1438
  */
1482
1439
 
1483
1440
  /**
1484
- * @typedef AppCurrencyResponseSchema
1441
+ * @typedef AppCurrencyResponse
1485
1442
  * @property {string} [_id] - The unique identifier (24-digit Mongo Object ID)
1486
1443
  * of the currency configuration supported by the application
1487
1444
  * @property {string} [application] - Alphanumeric ID allotted to an application
@@ -1547,54 +1504,15 @@ const Joi = require("joi");
1547
1504
  */
1548
1505
 
1549
1506
  /**
1550
- * @typedef OrderingStoresResponseSchema
1507
+ * @typedef OrderingStoresResponse
1551
1508
  * @property {Page} [page]
1552
1509
  * @property {OrderingStore[]} [items]
1553
1510
  */
1554
1511
 
1555
- /**
1556
- * @typedef ValidationErrors
1557
- * @property {ValidationError[]} errors
1558
- */
1559
-
1560
- /**
1561
- * @typedef ValidationError
1562
- * @property {string} message - A brief description of the error encountered.
1563
- * @property {string} field - The field in the request that caused the error.
1564
- */
1565
-
1566
1512
  class ConfigurationPlatformModel {
1567
- /** @returns {CurrencyExchangeResponseV2} */
1568
- static CurrencyExchangeResponseV2() {
1569
- return Joi.object({
1570
- base: Joi.string().allow("").required(),
1571
- base_currency_name: Joi.string().allow("").required(),
1572
- ttl_seconds: Joi.number().required(),
1573
- items: Joi.array()
1574
- .items(ConfigurationPlatformModel.CurrencyExchangeItem())
1575
- .required(),
1576
- total: Joi.number().required(),
1577
- });
1578
- }
1579
-
1580
- /** @returns {CurrencyExchangeItem} */
1581
- static CurrencyExchangeItem() {
1582
- return Joi.object({
1583
- currency_code: Joi.string().allow("").required(),
1584
- name: Joi.string().allow("").required(),
1585
- rate: Joi.number().required(),
1586
- country_code: Joi.string().allow("").required(),
1587
- country_name: Joi.string().allow("").required(),
1588
- subunit: Joi.string().allow("").required(),
1589
- decimal_digits: Joi.number().required(),
1590
- symbol: Joi.string().allow("").required(),
1591
- });
1592
- }
1593
-
1594
1513
  /** @returns {ApplicationInventory} */
1595
1514
  static ApplicationInventory() {
1596
1515
  return Joi.object({
1597
- search: ConfigurationPlatformModel.SearchConfig(),
1598
1516
  inventory: ConfigurationPlatformModel.AppInventoryConfig(),
1599
1517
  authentication: ConfigurationPlatformModel.AuthenticationConfig(),
1600
1518
  article_assignment: ConfigurationPlatformModel.ArticleAssignmentConfig(),
@@ -1626,29 +1544,6 @@ class ConfigurationPlatformModel {
1626
1544
  });
1627
1545
  }
1628
1546
 
1629
- /** @returns {FstIdentification} */
1630
- static FstIdentification() {
1631
- return Joi.object({
1632
- enabled: Joi.boolean(),
1633
- });
1634
- }
1635
-
1636
- /** @returns {QuerySuggestions} */
1637
- static QuerySuggestions() {
1638
- return Joi.object({
1639
- enabled: Joi.boolean(),
1640
- max_limit: Joi.number(),
1641
- });
1642
- }
1643
-
1644
- /** @returns {SearchConfig} */
1645
- static SearchConfig() {
1646
- return Joi.object({
1647
- fst_identification: ConfigurationPlatformModel.FstIdentification(),
1648
- query_suggestions: ConfigurationPlatformModel.QuerySuggestions(),
1649
- });
1650
- }
1651
-
1652
1547
  /** @returns {AppInventoryConfig} */
1653
1548
  static AppInventoryConfig() {
1654
1549
  return Joi.object({
@@ -1664,6 +1559,7 @@ class ConfigurationPlatformModel {
1664
1559
  image: Joi.array().items(Joi.string().allow("")),
1665
1560
  company_store: Joi.array().items(Joi.any()),
1666
1561
  company_id: Joi.number(),
1562
+ enable_zone_overlapping: Joi.boolean(),
1667
1563
  });
1668
1564
  }
1669
1565
 
@@ -1881,7 +1777,6 @@ class ConfigurationPlatformModel {
1881
1777
  /** @returns {AppInventoryPartialUpdate} */
1882
1778
  static AppInventoryPartialUpdate() {
1883
1779
  return Joi.object({
1884
- search: ConfigurationPlatformModel.SearchConfig(),
1885
1780
  reward_points: ConfigurationPlatformModel.RewardPointsConfig(),
1886
1781
  cart: ConfigurationPlatformModel.AppCartConfig(),
1887
1782
  payment: ConfigurationPlatformModel.AppPaymentConfig(),
@@ -1899,24 +1794,24 @@ class ConfigurationPlatformModel {
1899
1794
  });
1900
1795
  }
1901
1796
 
1902
- /** @returns {CompanyByBrandsRequestSchema} */
1903
- static CompanyByBrandsRequestSchema() {
1797
+ /** @returns {CompanyByBrandsRequest} */
1798
+ static CompanyByBrandsRequest() {
1904
1799
  return Joi.object({
1905
1800
  brands: Joi.number().required(),
1906
1801
  search_text: Joi.string().allow(""),
1907
1802
  });
1908
1803
  }
1909
1804
 
1910
- /** @returns {CompanyByBrandsResponseSchema} */
1911
- static CompanyByBrandsResponseSchema() {
1805
+ /** @returns {CompanyByBrandsResponse} */
1806
+ static CompanyByBrandsResponse() {
1912
1807
  return Joi.object({
1913
1808
  items: Joi.array().items(ConfigurationPlatformModel.BrandCompanyInfo()),
1914
1809
  page: ConfigurationPlatformModel.Page(),
1915
1810
  });
1916
1811
  }
1917
1812
 
1918
- /** @returns {StoreByBrandsRequestSchema} */
1919
- static StoreByBrandsRequestSchema() {
1813
+ /** @returns {StoreByBrandsRequest} */
1814
+ static StoreByBrandsRequest() {
1920
1815
  return Joi.object({
1921
1816
  company_id: Joi.number(),
1922
1817
  brands: Joi.number().required(),
@@ -1924,8 +1819,8 @@ class ConfigurationPlatformModel {
1924
1819
  });
1925
1820
  }
1926
1821
 
1927
- /** @returns {StoreByBrandsResponseSchema} */
1928
- static StoreByBrandsResponseSchema() {
1822
+ /** @returns {StoreByBrandsResponse} */
1823
+ static StoreByBrandsResponse() {
1929
1824
  return Joi.object({
1930
1825
  items: Joi.array().items(ConfigurationPlatformModel.BrandStoreInfo()),
1931
1826
  page: ConfigurationPlatformModel.Page(),
@@ -1955,15 +1850,15 @@ class ConfigurationPlatformModel {
1955
1850
  });
1956
1851
  }
1957
1852
 
1958
- /** @returns {BrandsByCompanyResponseSchema} */
1959
- static BrandsByCompanyResponseSchema() {
1853
+ /** @returns {BrandsByCompanyResponse} */
1854
+ static BrandsByCompanyResponse() {
1960
1855
  return Joi.object({
1961
1856
  brands: Joi.array().items(ConfigurationPlatformModel.CompanyBrandInfo()),
1962
1857
  });
1963
1858
  }
1964
1859
 
1965
- /** @returns {ValidationFailedResponseSchema} */
1966
- static ValidationFailedResponseSchema() {
1860
+ /** @returns {ValidationFailedResponse} */
1861
+ static ValidationFailedResponse() {
1967
1862
  return Joi.object({
1968
1863
  message: Joi.string().allow(""),
1969
1864
  });
@@ -2002,8 +1897,8 @@ class ConfigurationPlatformModel {
2002
1897
  });
2003
1898
  }
2004
1899
 
2005
- /** @returns {CreateApplicationRequestSchema} */
2006
- static CreateApplicationRequestSchema() {
1900
+ /** @returns {CreateApplicationRequest} */
1901
+ static CreateApplicationRequest() {
2007
1902
  return Joi.object({
2008
1903
  app: ConfigurationPlatformModel.App(),
2009
1904
  configuration: ConfigurationPlatformModel.ApplicationInventory(),
@@ -2011,16 +1906,16 @@ class ConfigurationPlatformModel {
2011
1906
  });
2012
1907
  }
2013
1908
 
2014
- /** @returns {CreateAppResponseSchema} */
2015
- static CreateAppResponseSchema() {
1909
+ /** @returns {CreateAppResponse} */
1910
+ static CreateAppResponse() {
2016
1911
  return Joi.object({
2017
1912
  app: ConfigurationPlatformModel.Application(),
2018
1913
  configuration: ConfigurationPlatformModel.ApplicationInventory(),
2019
1914
  });
2020
1915
  }
2021
1916
 
2022
- /** @returns {ApplicationsResponseSchema} */
2023
- static ApplicationsResponseSchema() {
1917
+ /** @returns {ApplicationsResponse} */
1918
+ static ApplicationsResponse() {
2024
1919
  return Joi.object({
2025
1920
  items: Joi.array().items(ConfigurationPlatformModel.Application()),
2026
1921
  page: ConfigurationPlatformModel.Page(),
@@ -2060,8 +1955,8 @@ class ConfigurationPlatformModel {
2060
1955
  });
2061
1956
  }
2062
1957
 
2063
- /** @returns {MobileAppConfigRequestSchema} */
2064
- static MobileAppConfigRequestSchema() {
1958
+ /** @returns {MobileAppConfigRequest} */
1959
+ static MobileAppConfigRequest() {
2065
1960
  return Joi.object({
2066
1961
  app_name: Joi.string().allow(""),
2067
1962
  landing_image: ConfigurationPlatformModel.LandingImage(),
@@ -2127,8 +2022,8 @@ class ConfigurationPlatformModel {
2127
2022
  });
2128
2023
  }
2129
2024
 
2130
- /** @returns {DomainAddRequestSchema} */
2131
- static DomainAddRequestSchema() {
2025
+ /** @returns {DomainAddRequest} */
2026
+ static DomainAddRequest() {
2132
2027
  return Joi.object({
2133
2028
  domain: ConfigurationPlatformModel.DomainAdd(),
2134
2029
  });
@@ -2147,8 +2042,8 @@ class ConfigurationPlatformModel {
2147
2042
  });
2148
2043
  }
2149
2044
 
2150
- /** @returns {DomainsResponseSchema} */
2151
- static DomainsResponseSchema() {
2045
+ /** @returns {DomainsResponse} */
2046
+ static DomainsResponse() {
2152
2047
  return Joi.object({
2153
2048
  domains: Joi.array().items(ConfigurationPlatformModel.Domain()),
2154
2049
  });
@@ -2165,16 +2060,16 @@ class ConfigurationPlatformModel {
2165
2060
  });
2166
2061
  }
2167
2062
 
2168
- /** @returns {UpdateDomainTypeRequestSchema} */
2169
- static UpdateDomainTypeRequestSchema() {
2063
+ /** @returns {UpdateDomainTypeRequest} */
2064
+ static UpdateDomainTypeRequest() {
2170
2065
  return Joi.object({
2171
2066
  domain: ConfigurationPlatformModel.UpdateDomain(),
2172
2067
  action: Joi.string().allow(""),
2173
2068
  });
2174
2069
  }
2175
2070
 
2176
- /** @returns {DomainStatusRequestSchema} */
2177
- static DomainStatusRequestSchema() {
2071
+ /** @returns {DomainStatusRequest} */
2072
+ static DomainStatusRequest() {
2178
2073
  return Joi.object({
2179
2074
  domain_url: Joi.string().allow(""),
2180
2075
  });
@@ -2188,19 +2083,19 @@ class ConfigurationPlatformModel {
2188
2083
  });
2189
2084
  }
2190
2085
 
2191
- /** @returns {DomainStatusResponseSchema} */
2192
- static DomainStatusResponseSchema() {
2086
+ /** @returns {DomainStatusResponse} */
2087
+ static DomainStatusResponse() {
2193
2088
  return Joi.object({
2194
2089
  connected: Joi.boolean(),
2195
2090
  status: Joi.array().items(ConfigurationPlatformModel.DomainStatus()),
2196
2091
  });
2197
2092
  }
2198
2093
 
2199
- /** @returns {DomainSuggestionsRequestSchema} */
2200
- static DomainSuggestionsRequestSchema() {
2094
+ /** @returns {DomainSuggestionsRequest} */
2095
+ static DomainSuggestionsRequest() {
2201
2096
  return Joi.object({
2202
2097
  domain_url: Joi.string().allow(""),
2203
- custom_domain: Joi.boolean(),
2098
+ custom: Joi.boolean(),
2204
2099
  });
2205
2100
  }
2206
2101
 
@@ -2215,15 +2110,15 @@ class ConfigurationPlatformModel {
2215
2110
  });
2216
2111
  }
2217
2112
 
2218
- /** @returns {DomainSuggestionsResponseSchema} */
2219
- static DomainSuggestionsResponseSchema() {
2113
+ /** @returns {DomainSuggestionsResponse} */
2114
+ static DomainSuggestionsResponse() {
2220
2115
  return Joi.object({
2221
2116
  domains: Joi.array().items(ConfigurationPlatformModel.DomainSuggestion()),
2222
2117
  });
2223
2118
  }
2224
2119
 
2225
- /** @returns {SuccessMessageResponseSchema} */
2226
- static SuccessMessageResponseSchema() {
2120
+ /** @returns {SuccessMessageResponse} */
2121
+ static SuccessMessageResponse() {
2227
2122
  return Joi.object({
2228
2123
  success: Joi.boolean(),
2229
2124
  message: Joi.string().allow(""),
@@ -2248,8 +2143,8 @@ class ConfigurationPlatformModel {
2248
2143
  });
2249
2144
  }
2250
2145
 
2251
- /** @returns {CompaniesResponseSchema} */
2252
- static CompaniesResponseSchema() {
2146
+ /** @returns {CompaniesResponse} */
2147
+ static CompaniesResponse() {
2253
2148
  return Joi.object({
2254
2149
  items: Joi.array().items(
2255
2150
  ConfigurationPlatformModel.AppInventoryCompanies()
@@ -2267,8 +2162,8 @@ class ConfigurationPlatformModel {
2267
2162
  });
2268
2163
  }
2269
2164
 
2270
- /** @returns {StoresResponseSchema} */
2271
- static StoresResponseSchema() {
2165
+ /** @returns {StoresResponse} */
2166
+ static StoresResponse() {
2272
2167
  return Joi.object({
2273
2168
  items: Joi.array().items(ConfigurationPlatformModel.AppInventoryStores()),
2274
2169
  page: ConfigurationPlatformModel.Page(),
@@ -2291,8 +2186,8 @@ class ConfigurationPlatformModel {
2291
2186
  });
2292
2187
  }
2293
2188
 
2294
- /** @returns {FilterOrderingStoreRequestSchema} */
2295
- static FilterOrderingStoreRequestSchema() {
2189
+ /** @returns {FilterOrderingStoreRequest} */
2190
+ static FilterOrderingStoreRequest() {
2296
2191
  return Joi.object({
2297
2192
  all_stores: Joi.boolean(),
2298
2193
  deployed_stores: Joi.array().items(Joi.number()),
@@ -2320,8 +2215,8 @@ class ConfigurationPlatformModel {
2320
2215
  });
2321
2216
  }
2322
2217
 
2323
- /** @returns {OrderingStoreSelectRequestSchema} */
2324
- static OrderingStoreSelectRequestSchema() {
2218
+ /** @returns {OrderingStoreSelectRequest} */
2219
+ static OrderingStoreSelectRequest() {
2325
2220
  return Joi.object({
2326
2221
  ordering_store: ConfigurationPlatformModel.OrderingStoreSelect().required(),
2327
2222
  });
@@ -2364,8 +2259,8 @@ class ConfigurationPlatformModel {
2364
2259
  });
2365
2260
  }
2366
2261
 
2367
- /** @returns {OptedApplicationResponseSchema} */
2368
- static OptedApplicationResponseSchema() {
2262
+ /** @returns {OptedApplicationResponse} */
2263
+ static OptedApplicationResponse() {
2369
2264
  return Joi.object({
2370
2265
  name: Joi.string().allow(""),
2371
2266
  description: Joi.string().allow(""),
@@ -2425,8 +2320,8 @@ class ConfigurationPlatformModel {
2425
2320
  });
2426
2321
  }
2427
2322
 
2428
- /** @returns {TokenResponseSchema} */
2429
- static TokenResponseSchema() {
2323
+ /** @returns {TokenResponse} */
2324
+ static TokenResponse() {
2430
2325
  return Joi.object({
2431
2326
  tokens: ConfigurationPlatformModel.Tokens(),
2432
2327
  _id: Joi.string().allow(""),
@@ -2632,8 +2527,8 @@ class ConfigurationPlatformModel {
2632
2527
  static LaunchPage() {
2633
2528
  return Joi.object({
2634
2529
  page_type: Joi.string().allow(""),
2635
- params: Joi.object().pattern(/\S/, Joi.any()),
2636
- query: Joi.object().pattern(/\S/, Joi.any()),
2530
+ params: Joi.any(),
2531
+ query: Joi.any(),
2637
2532
  });
2638
2533
  }
2639
2534
 
@@ -2799,15 +2694,15 @@ class ConfigurationPlatformModel {
2799
2694
  });
2800
2695
  }
2801
2696
 
2802
- /** @returns {AppFeatureRequestSchema} */
2803
- static AppFeatureRequestSchema() {
2697
+ /** @returns {AppFeatureRequest} */
2698
+ static AppFeatureRequest() {
2804
2699
  return Joi.object({
2805
2700
  feature: ConfigurationPlatformModel.AppFeature(),
2806
2701
  });
2807
2702
  }
2808
2703
 
2809
- /** @returns {AppFeatureResponseSchema} */
2810
- static AppFeatureResponseSchema() {
2704
+ /** @returns {AppFeatureResponse} */
2705
+ static AppFeatureResponse() {
2811
2706
  return Joi.object({
2812
2707
  feature: ConfigurationPlatformModel.AppFeature(),
2813
2708
  });
@@ -2969,8 +2864,8 @@ class ConfigurationPlatformModel {
2969
2864
  });
2970
2865
  }
2971
2866
 
2972
- /** @returns {InvalidPayloadRequestSchema} */
2973
- static InvalidPayloadRequestSchema() {
2867
+ /** @returns {InvalidPayloadRequest} */
2868
+ static InvalidPayloadRequest() {
2974
2869
  return Joi.object({
2975
2870
  message: Joi.string().allow(""),
2976
2871
  success: Joi.boolean(),
@@ -3198,15 +3093,15 @@ class ConfigurationPlatformModel {
3198
3093
  });
3199
3094
  }
3200
3095
 
3201
- /** @returns {CurrenciesResponseSchema} */
3202
- static CurrenciesResponseSchema() {
3096
+ /** @returns {CurrenciesResponse} */
3097
+ static CurrenciesResponse() {
3203
3098
  return Joi.object({
3204
3099
  items: Joi.array().items(ConfigurationPlatformModel.Currency()),
3205
3100
  });
3206
3101
  }
3207
3102
 
3208
- /** @returns {AppCurrencyResponseSchema} */
3209
- static AppCurrencyResponseSchema() {
3103
+ /** @returns {AppCurrencyResponse} */
3104
+ static AppCurrencyResponse() {
3210
3105
  return Joi.object({
3211
3106
  _id: Joi.string().allow(""),
3212
3107
  application: Joi.string().allow(""),
@@ -3273,29 +3168,12 @@ class ConfigurationPlatformModel {
3273
3168
  });
3274
3169
  }
3275
3170
 
3276
- /** @returns {OrderingStoresResponseSchema} */
3277
- static OrderingStoresResponseSchema() {
3171
+ /** @returns {OrderingStoresResponse} */
3172
+ static OrderingStoresResponse() {
3278
3173
  return Joi.object({
3279
3174
  page: ConfigurationPlatformModel.Page(),
3280
3175
  items: Joi.array().items(ConfigurationPlatformModel.OrderingStore()),
3281
3176
  });
3282
3177
  }
3283
-
3284
- /** @returns {ValidationErrors} */
3285
- static ValidationErrors() {
3286
- return Joi.object({
3287
- errors: Joi.array()
3288
- .items(ConfigurationPlatformModel.ValidationError())
3289
- .required(),
3290
- });
3291
- }
3292
-
3293
- /** @returns {ValidationError} */
3294
- static ValidationError() {
3295
- return Joi.object({
3296
- message: Joi.string().allow("").required(),
3297
- field: Joi.string().allow("").required(),
3298
- });
3299
- }
3300
3178
  }
3301
3179
  module.exports = ConfigurationPlatformModel;