@gofynd/fdk-client-javascript 1.4.14 → 1.4.15-beta.2

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 (294) 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 +53 -60
  6. package/sdk/application/Cart/CartApplicationClient.js +53 -130
  7. package/sdk/application/Cart/CartApplicationModel.d.ts +143 -489
  8. package/sdk/application/Cart/CartApplicationModel.js +159 -380
  9. package/sdk/application/Cart/CartApplicationValidator.d.ts +19 -38
  10. package/sdk/application/Cart/CartApplicationValidator.js +18 -34
  11. package/sdk/application/Catalog/CatalogApplicationClient.d.ts +68 -88
  12. package/sdk/application/Catalog/CatalogApplicationClient.js +94 -114
  13. package/sdk/application/Catalog/CatalogApplicationModel.d.ts +142 -194
  14. package/sdk/application/Catalog/CatalogApplicationModel.js +133 -171
  15. package/sdk/application/Common/CommonApplicationClient.d.ts +2 -3
  16. package/sdk/application/Common/CommonApplicationClient.js +5 -6
  17. package/sdk/application/Common/CommonApplicationModel.d.ts +9 -9
  18. package/sdk/application/Common/CommonApplicationModel.js +6 -6
  19. package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +27 -34
  20. package/sdk/application/Configuration/ConfigurationApplicationClient.js +27 -34
  21. package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +57 -45
  22. package/sdk/application/Configuration/ConfigurationApplicationModel.js +47 -35
  23. package/sdk/application/Configuration/ConfigurationApplicationValidator.d.ts +2 -2
  24. package/sdk/application/Configuration/ConfigurationApplicationValidator.js +2 -2
  25. package/sdk/application/Content/ContentApplicationClient.d.ts +33 -23
  26. package/sdk/application/Content/ContentApplicationClient.js +75 -54
  27. package/sdk/application/Content/ContentApplicationModel.d.ts +37 -93
  28. package/sdk/application/Content/ContentApplicationModel.js +32 -83
  29. package/sdk/application/Content/ContentApplicationValidator.d.ts +17 -23
  30. package/sdk/application/Content/ContentApplicationValidator.js +10 -15
  31. package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +8 -9
  32. package/sdk/application/FileStorage/FileStorageApplicationClient.js +13 -14
  33. package/sdk/application/FileStorage/FileStorageApplicationModel.d.ts +25 -23
  34. package/sdk/application/FileStorage/FileStorageApplicationModel.js +18 -16
  35. package/sdk/application/FileStorage/FileStorageApplicationValidator.d.ts +6 -6
  36. package/sdk/application/FileStorage/FileStorageApplicationValidator.js +6 -6
  37. package/sdk/application/Lead/LeadApplicationClient.d.ts +3 -2
  38. package/sdk/application/Lead/LeadApplicationClient.js +3 -2
  39. package/sdk/application/Lead/LeadApplicationModel.d.ts +11 -11
  40. package/sdk/application/Lead/LeadApplicationModel.js +19 -19
  41. package/sdk/application/Logistic/LogisticApplicationClient.d.ts +16 -39
  42. package/sdk/application/Logistic/LogisticApplicationClient.js +21 -189
  43. package/sdk/application/Logistic/LogisticApplicationModel.d.ts +173 -532
  44. package/sdk/application/Logistic/LogisticApplicationModel.js +139 -409
  45. package/sdk/application/Logistic/LogisticApplicationValidator.d.ts +9 -54
  46. package/sdk/application/Logistic/LogisticApplicationValidator.js +8 -42
  47. package/sdk/application/Order/OrderApplicationClient.d.ts +10 -24
  48. package/sdk/application/Order/OrderApplicationClient.js +13 -96
  49. package/sdk/application/Order/OrderApplicationModel.d.ts +120 -436
  50. package/sdk/application/Order/OrderApplicationModel.js +81 -279
  51. package/sdk/application/Order/OrderApplicationValidator.d.ts +3 -17
  52. package/sdk/application/Order/OrderApplicationValidator.js +2 -15
  53. package/sdk/application/Payment/PaymentApplicationClient.d.ts +99 -96
  54. package/sdk/application/Payment/PaymentApplicationClient.js +114 -111
  55. package/sdk/application/Payment/PaymentApplicationModel.d.ts +289 -293
  56. package/sdk/application/Payment/PaymentApplicationModel.js +241 -243
  57. package/sdk/application/Payment/PaymentApplicationValidator.d.ts +46 -46
  58. package/sdk/application/Payment/PaymentApplicationValidator.js +46 -46
  59. package/sdk/application/Rewards/RewardsApplicationClient.d.ts +16 -13
  60. package/sdk/application/Rewards/RewardsApplicationClient.js +22 -19
  61. package/sdk/application/Rewards/RewardsApplicationModel.d.ts +37 -37
  62. package/sdk/application/Rewards/RewardsApplicationModel.js +29 -29
  63. package/sdk/application/Rewards/RewardsApplicationValidator.d.ts +6 -6
  64. package/sdk/application/Rewards/RewardsApplicationValidator.js +6 -6
  65. package/sdk/application/Share/ShareApplicationModel.js +1 -1
  66. package/sdk/application/Theme/ThemeApplicationClient.d.ts +2 -2
  67. package/sdk/application/Theme/ThemeApplicationClient.js +6 -8
  68. package/sdk/application/Theme/ThemeApplicationModel.d.ts +17 -48
  69. package/sdk/application/Theme/ThemeApplicationModel.js +22 -42
  70. package/sdk/application/Theme/ThemeApplicationValidator.d.ts +3 -16
  71. package/sdk/application/Theme/ThemeApplicationValidator.js +2 -9
  72. package/sdk/application/User/UserApplicationClient.d.ts +10 -10
  73. package/sdk/application/User/UserApplicationClient.js +10 -10
  74. package/sdk/application/User/UserApplicationModel.d.ts +17 -17
  75. package/sdk/application/User/UserApplicationModel.js +16 -16
  76. package/sdk/application/User/UserApplicationValidator.d.ts +2 -2
  77. package/sdk/application/User/UserApplicationValidator.js +2 -2
  78. package/sdk/application/Webhook/WebhookApplicationClient.d.ts +4 -4
  79. package/sdk/application/Webhook/WebhookApplicationClient.js +4 -4
  80. package/sdk/application/Webhook/WebhookApplicationModel.d.ts +9 -11
  81. package/sdk/application/Webhook/WebhookApplicationModel.js +6 -8
  82. package/sdk/application/Webhook/WebhookApplicationValidator.d.ts +2 -2
  83. package/sdk/application/Webhook/WebhookApplicationValidator.js +2 -2
  84. package/sdk/application/index.d.ts +0 -1
  85. package/sdk/application/index.js +0 -2
  86. package/sdk/partner/FileStorage/FileStoragePartnerClient.d.ts +12 -86
  87. package/sdk/partner/FileStorage/FileStoragePartnerClient.js +24 -582
  88. package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +19 -116
  89. package/sdk/partner/FileStorage/FileStoragePartnerModel.js +14 -121
  90. package/sdk/partner/FileStorage/FileStoragePartnerValidator.d.ts +1 -8
  91. package/sdk/partner/FileStorage/FileStoragePartnerValidator.js +4 -51
  92. package/sdk/partner/Lead/LeadPartnerClient.d.ts +2 -2
  93. package/sdk/partner/Lead/LeadPartnerClient.js +2 -2
  94. package/sdk/partner/Lead/LeadPartnerModel.d.ts +5 -5
  95. package/sdk/partner/Lead/LeadPartnerModel.js +15 -15
  96. package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +20 -126
  97. package/sdk/partner/Logistics/LogisticsPartnerClient.js +20 -970
  98. package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +85 -767
  99. package/sdk/partner/Logistics/LogisticsPartnerModel.js +76 -429
  100. package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +0 -10
  101. package/sdk/partner/Logistics/LogisticsPartnerValidator.js +6 -120
  102. package/sdk/partner/Theme/ThemePartnerClient.d.ts +10 -8
  103. package/sdk/partner/Theme/ThemePartnerClient.js +16 -14
  104. package/sdk/partner/Theme/ThemePartnerModel.d.ts +37 -96
  105. package/sdk/partner/Theme/ThemePartnerModel.js +36 -90
  106. package/sdk/partner/Theme/ThemePartnerValidator.js +4 -4
  107. package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +18 -28
  108. package/sdk/partner/Webhook/WebhookPartnerClient.js +18 -103
  109. package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +179 -612
  110. package/sdk/partner/Webhook/WebhookPartnerModel.js +150 -253
  111. package/sdk/partner/Webhook/WebhookPartnerValidator.d.ts +0 -1
  112. package/sdk/partner/Webhook/WebhookPartnerValidator.js +3 -11
  113. package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.d.ts +4 -5
  114. package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.js +8 -14
  115. package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +9 -59
  116. package/sdk/platform/Analytics/AnalyticsPlatformModel.js +4 -40
  117. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +32 -2
  118. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +243 -3
  119. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +130 -11
  120. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +152 -12
  121. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +39 -1
  122. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +35 -0
  123. package/sdk/platform/Billing/BillingPlatformClient.d.ts +12 -12
  124. package/sdk/platform/Billing/BillingPlatformClient.js +15 -15
  125. package/sdk/platform/Billing/BillingPlatformModel.d.ts +388 -443
  126. package/sdk/platform/Billing/BillingPlatformModel.js +263 -280
  127. package/sdk/platform/Billing/BillingPlatformValidator.d.ts +18 -16
  128. package/sdk/platform/Billing/BillingPlatformValidator.js +9 -8
  129. package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +103 -134
  130. package/sdk/platform/Cart/CartPlatformApplicationClient.js +112 -407
  131. package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +65 -111
  132. package/sdk/platform/Cart/CartPlatformApplicationValidator.js +44 -106
  133. package/sdk/platform/Cart/CartPlatformModel.d.ts +1321 -4975
  134. package/sdk/platform/Cart/CartPlatformModel.js +1226 -1922
  135. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +183 -208
  136. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +358 -383
  137. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +126 -122
  138. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +68 -66
  139. package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +118 -141
  140. package/sdk/platform/Catalog/CatalogPlatformClient.js +170 -193
  141. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +1751 -1501
  142. package/sdk/platform/Catalog/CatalogPlatformModel.js +1224 -1393
  143. package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +18 -18
  144. package/sdk/platform/Catalog/CatalogPlatformValidator.js +18 -18
  145. package/sdk/platform/Common/CommonPlatformClient.d.ts +2 -3
  146. package/sdk/platform/Common/CommonPlatformClient.js +2 -3
  147. package/sdk/platform/Common/CommonPlatformModel.d.ts +9 -9
  148. package/sdk/platform/Common/CommonPlatformModel.js +6 -6
  149. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +17 -16
  150. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +17 -16
  151. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +8 -8
  152. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +8 -8
  153. package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +33 -43
  154. package/sdk/platform/Communication/CommunicationPlatformModel.js +34 -38
  155. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +42 -46
  156. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +43 -47
  157. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +223 -223
  158. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +212 -210
  159. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +12 -12
  160. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +12 -12
  161. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +33 -46
  162. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +54 -67
  163. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +18 -18
  164. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +18 -18
  165. package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +24 -45
  166. package/sdk/platform/Configuration/ConfigurationPlatformClient.js +30 -134
  167. package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +124 -283
  168. package/sdk/platform/Configuration/ConfigurationPlatformModel.js +94 -219
  169. package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +9 -37
  170. package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +8 -27
  171. package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +141 -124
  172. package/sdk/platform/Content/ContentPlatformApplicationClient.js +422 -449
  173. package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +141 -179
  174. package/sdk/platform/Content/ContentPlatformApplicationValidator.js +130 -168
  175. package/sdk/platform/Content/ContentPlatformClient.d.ts +106 -142
  176. package/sdk/platform/Content/ContentPlatformClient.js +336 -523
  177. package/sdk/platform/Content/ContentPlatformModel.d.ts +395 -1241
  178. package/sdk/platform/Content/ContentPlatformModel.js +390 -521
  179. package/sdk/platform/Content/ContentPlatformValidator.d.ts +117 -168
  180. package/sdk/platform/Content/ContentPlatformValidator.js +108 -162
  181. package/sdk/platform/Discount/DiscountPlatformClient.d.ts +12 -14
  182. package/sdk/platform/Discount/DiscountPlatformClient.js +12 -14
  183. package/sdk/platform/Discount/DiscountPlatformModel.d.ts +13 -13
  184. package/sdk/platform/Discount/DiscountPlatformModel.js +12 -12
  185. package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +2 -2
  186. package/sdk/platform/Discount/DiscountPlatformValidator.js +2 -2
  187. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +36 -94
  188. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +60 -462
  189. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +15 -62
  190. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +13 -75
  191. package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +19 -19
  192. package/sdk/platform/FileStorage/FileStoragePlatformClient.js +21 -21
  193. package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +101 -370
  194. package/sdk/platform/FileStorage/FileStoragePlatformModel.js +84 -313
  195. package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +6 -6
  196. package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +6 -6
  197. package/sdk/platform/Finance/FinancePlatformClient.d.ts +320 -0
  198. package/sdk/platform/Finance/FinancePlatformClient.js +2333 -0
  199. package/sdk/platform/Finance/FinancePlatformModel.d.ts +2890 -0
  200. package/sdk/platform/Finance/FinancePlatformModel.js +2148 -0
  201. package/sdk/platform/Finance/FinancePlatformValidator.d.ts +284 -0
  202. package/sdk/platform/Finance/FinancePlatformValidator.js +354 -0
  203. package/sdk/platform/Lead/LeadPlatformClient.d.ts +2 -2
  204. package/sdk/platform/Lead/LeadPlatformClient.js +2 -2
  205. package/sdk/platform/Lead/LeadPlatformModel.d.ts +5 -5
  206. package/sdk/platform/Lead/LeadPlatformModel.js +16 -16
  207. package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +4 -15
  208. package/sdk/platform/Order/OrderPlatformApplicationClient.js +5 -83
  209. package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +4 -25
  210. package/sdk/platform/Order/OrderPlatformApplicationValidator.js +3 -16
  211. package/sdk/platform/Order/OrderPlatformClient.d.ts +97 -178
  212. package/sdk/platform/Order/OrderPlatformClient.js +245 -597
  213. package/sdk/platform/Order/OrderPlatformModel.d.ts +3071 -5449
  214. package/sdk/platform/Order/OrderPlatformModel.js +1656 -3501
  215. package/sdk/platform/Order/OrderPlatformValidator.d.ts +190 -237
  216. package/sdk/platform/Order/OrderPlatformValidator.js +105 -153
  217. package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +4 -6
  218. package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +7 -9
  219. package/sdk/platform/Partner/PartnerPlatformModel.d.ts +9 -9
  220. package/sdk/platform/Partner/PartnerPlatformModel.js +8 -8
  221. package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +106 -94
  222. package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +146 -131
  223. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +93 -64
  224. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +70 -62
  225. package/sdk/platform/Payment/PaymentPlatformClient.d.ts +20 -20
  226. package/sdk/platform/Payment/PaymentPlatformClient.js +20 -20
  227. package/sdk/platform/Payment/PaymentPlatformModel.d.ts +507 -386
  228. package/sdk/platform/Payment/PaymentPlatformModel.js +376 -323
  229. package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +10 -10
  230. package/sdk/platform/Payment/PaymentPlatformValidator.js +10 -10
  231. package/sdk/platform/PlatformClient.d.ts +2 -0
  232. package/sdk/platform/PlatformClient.js +4 -0
  233. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +2 -2
  234. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +2 -2
  235. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +2 -2
  236. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.js +2 -2
  237. package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +9 -9
  238. package/sdk/platform/Rewards/RewardsPlatformModel.js +8 -8
  239. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +35 -45
  240. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +38 -117
  241. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +13 -22
  242. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +12 -24
  243. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +46 -40
  244. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +64 -58
  245. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +396 -620
  246. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +326 -501
  247. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +8 -8
  248. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +8 -8
  249. package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +2 -2
  250. package/sdk/platform/Share/SharePlatformApplicationClient.js +2 -2
  251. package/sdk/platform/Share/SharePlatformModel.d.ts +5 -36
  252. package/sdk/platform/Share/SharePlatformModel.js +4 -27
  253. package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +3 -3
  254. package/sdk/platform/Theme/ThemePlatformApplicationClient.js +4 -8
  255. package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +0 -5
  256. package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +0 -2
  257. package/sdk/platform/Theme/ThemePlatformModel.d.ts +11 -37
  258. package/sdk/platform/Theme/ThemePlatformModel.js +15 -33
  259. package/sdk/platform/User/UserPlatformApplicationClient.d.ts +12 -12
  260. package/sdk/platform/User/UserPlatformApplicationClient.js +12 -12
  261. package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +2 -2
  262. package/sdk/platform/User/UserPlatformApplicationValidator.js +2 -2
  263. package/sdk/platform/User/UserPlatformModel.d.ts +21 -21
  264. package/sdk/platform/User/UserPlatformModel.js +23 -23
  265. package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +78 -25
  266. package/sdk/platform/Webhook/WebhookPlatformClient.js +470 -75
  267. package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +427 -720
  268. package/sdk/platform/Webhook/WebhookPlatformModel.js +386 -410
  269. package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +55 -10
  270. package/sdk/platform/Webhook/WebhookPlatformValidator.js +72 -12
  271. package/sdk/platform/index.d.ts +1 -0
  272. package/sdk/platform/index.js +2 -0
  273. package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +2 -3
  274. package/sdk/public/Configuration/ConfigurationPublicClient.js +5 -6
  275. package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +9 -9
  276. package/sdk/public/Configuration/ConfigurationPublicModel.js +6 -6
  277. package/sdk/public/Content/ContentPublicClient.d.ts +2 -112
  278. package/sdk/public/Content/ContentPublicClient.js +5 -791
  279. package/sdk/public/Content/ContentPublicModel.d.ts +3 -549
  280. package/sdk/public/Content/ContentPublicModel.js +3 -649
  281. package/sdk/public/Content/ContentPublicValidator.d.ts +3 -69
  282. package/sdk/public/Content/ContentPublicValidator.js +2 -88
  283. package/sdk/public/Webhook/WebhookPublicClient.d.ts +8 -8
  284. package/sdk/public/Webhook/WebhookPublicClient.js +8 -8
  285. package/sdk/public/Webhook/WebhookPublicModel.d.ts +21 -21
  286. package/sdk/public/Webhook/WebhookPublicModel.js +15 -15
  287. package/sdk/public/Webhook/WebhookPublicValidator.d.ts +4 -4
  288. package/sdk/public/Webhook/WebhookPublicValidator.js +4 -4
  289. package/sdk/application/Finance/FinanceApplicationClient.d.ts +0 -36
  290. package/sdk/application/Finance/FinanceApplicationClient.js +0 -202
  291. package/sdk/application/Finance/FinanceApplicationModel.d.ts +0 -289
  292. package/sdk/application/Finance/FinanceApplicationModel.js +0 -208
  293. package/sdk/application/Finance/FinanceApplicationValidator.d.ts +0 -25
  294. package/sdk/application/Finance/FinanceApplicationValidator.js +0 -31
@@ -181,7 +181,7 @@ const Joi = require("joi");
181
181
  */
182
182
 
183
183
  /**
184
- * @typedef ErrorResponseSchema
184
+ * @typedef ErrorResponse
185
185
  * @property {string} [error] - A brief description of the error.
186
186
  */
187
187
 
@@ -296,14 +296,14 @@ const Joi = require("joi");
296
296
  */
297
297
 
298
298
  /**
299
- * @typedef ProductsComparisonResponseSchema
299
+ * @typedef ProductsComparisonResponse
300
300
  * @property {ProductDetail[]} [items] - List of product details for comparison.
301
301
  * @property {AttributeMetadata[]} [attributes_metadata] - Metadata about
302
302
  * attributes used for comparing products.
303
303
  */
304
304
 
305
305
  /**
306
- * @typedef ProductCompareResponseSchema
306
+ * @typedef ProductCompareResponse
307
307
  * @property {string} [title] - Title or name of the comparison.
308
308
  * @property {ProductDetail[]} [items] - List of product details for comparison.
309
309
  * @property {AttributeMetadata[]} [attributes_metadata] - Metadata about
@@ -312,12 +312,12 @@ const Joi = require("joi");
312
312
  */
313
313
 
314
314
  /**
315
- * @typedef ProductFrequentlyComparedSimilarResponseSchema
316
- * @property {ProductCompareResponseSchema} [similars]
315
+ * @typedef ProductFrequentlyComparedSimilarResponse
316
+ * @property {ProductCompareResponse} [similars]
317
317
  */
318
318
 
319
319
  /**
320
- * @typedef ProductVariantItemResponseSchema
320
+ * @typedef ProductVariantItemResponse
321
321
  * @property {number} [uid] - Unique identifier for the product variant.
322
322
  * @property {string} [color_name] - Name of the color for the variant.
323
323
  * @property {string} [color] - Color code or representation for the variant.
@@ -335,21 +335,21 @@ const Joi = require("joi");
335
335
  */
336
336
 
337
337
  /**
338
- * @typedef ProductVariantResponseSchema
338
+ * @typedef ProductVariantResponse
339
339
  * @property {string} [display_type] - The type of display for the product
340
340
  * variant (e.g., image, text, image, color).
341
341
  * @property {string} [header] - Header or title for the product variant section.
342
342
  * @property {string} [group_id] - Group ID used to group variants.
343
- * @property {ProductVariantItemResponseSchema[]} [items] - List of product variant items.
343
+ * @property {ProductVariantItemResponse[]} [items] - List of product variant items.
344
344
  * @property {string} [key] - Attribute identifier of the variant.
345
345
  * @property {string} [logo] - URL or path to the logo associated with the
346
346
  * product variant.
347
347
  */
348
348
 
349
349
  /**
350
- * @typedef ProductVariantsResponseSchema
351
- * @property {ProductVariantResponseSchema[]} [variants] - A list of product
352
- * variant responses, each detailing a specific variant.
350
+ * @typedef ProductVariantsResponse
351
+ * @property {ProductVariantResponse[]} [variants] - A list of product variant
352
+ * responses, each detailing a specific variant.
353
353
  */
354
354
 
355
355
  /**
@@ -390,11 +390,11 @@ const Joi = require("joi");
390
390
  * @property {CompanyDetail} [company]
391
391
  * @property {number} [item_id] - NA.
392
392
  * @property {Seller} [seller]
393
- * @property {Identifier} [identifier]
393
+ * @property {Object} [identifier] - NA.
394
394
  */
395
395
 
396
396
  /**
397
- * @typedef ProductStockStatusResponseSchema
397
+ * @typedef ProductStockStatusResponse
398
398
  * @property {ProductStockStatusItem[]} [items] - NA.
399
399
  */
400
400
 
@@ -416,10 +416,10 @@ const Joi = require("joi");
416
416
  */
417
417
 
418
418
  /**
419
- * @typedef ProductVariantListingResponseSchema
419
+ * @typedef ProductVariantListingResponse
420
420
  * @property {string} [header] - Header or title for the product variant section.
421
- * @property {ProductVariantItemResponseSchema[]} [items] - List of Upto 5
422
- * product variant items.
421
+ * @property {ProductVariantItemResponse[]} [items] - List of Upto 5 product
422
+ * variant items.
423
423
  * @property {number} [total] - The total number of product variants available.
424
424
  * @property {string} [key] - Attribute identifier of the variant.
425
425
  * @property {string} [display_type] - The type of display for the product
@@ -464,8 +464,8 @@ const Joi = require("joi");
464
464
  * @property {boolean} [sellable] - Indicates whether the product is available for sale.
465
465
  * @property {Object} [attributes] - Additional attributes or characteristics of
466
466
  * the product.
467
- * @property {ProductVariantListingResponseSchema[]} [variants] - List of
468
- * product variants available for the product.
467
+ * @property {ProductVariantListingResponse[]} [variants] - List of product
468
+ * variants available for the product.
469
469
  * @property {string} [discount] - Discount details or percentage applied to the product.
470
470
  * @property {string[]} [tryouts] - List of tryout options available for the product.
471
471
  * @property {string[]} [identifiers] - List of seller identifiers for the product.
@@ -530,7 +530,7 @@ const Joi = require("joi");
530
530
  */
531
531
 
532
532
  /**
533
- * @typedef ProductListingResponseSchema
533
+ * @typedef ProductListingResponse
534
534
  * @property {ProductListingDetail[]} [items] - List of product details included
535
535
  * in the response.
536
536
  * @property {ProductFilters[]} [filters] - List of filters available for
@@ -564,13 +564,13 @@ const Joi = require("joi");
564
564
  */
565
565
 
566
566
  /**
567
- * @typedef BrandListingResponseSchema
567
+ * @typedef BrandListingResponse
568
568
  * @property {BrandItem[]} [items] - List of brand items included in the response.
569
569
  * @property {Page} page
570
570
  */
571
571
 
572
572
  /**
573
- * @typedef BrandDetailResponseSchema
573
+ * @typedef BrandDetailResponse
574
574
  * @property {Media} [logo]
575
575
  * @property {number} [uid] - The unique identifier for the brand.
576
576
  * @property {string} [description] - Detailed description of the brand,
@@ -646,13 +646,13 @@ const Joi = require("joi");
646
646
  */
647
647
 
648
648
  /**
649
- * @typedef CategoryListingResponseSchema
649
+ * @typedef CategoryListingResponse
650
650
  * @property {DepartmentCategoryTree[]} [data] - List of department category trees.
651
651
  * @property {DepartmentIdentifier[]} [departments] - List of departments.
652
652
  */
653
653
 
654
654
  /**
655
- * @typedef CategoryMetaResponseSchema
655
+ * @typedef CategoryMetaResponse
656
656
  * @property {Media} [logo]
657
657
  * @property {number} [uid] - Unique identifier for the category.
658
658
  * @property {ImageUrls} [banners]
@@ -662,7 +662,7 @@ const Joi = require("joi");
662
662
  */
663
663
 
664
664
  /**
665
- * @typedef HomeListingResponseSchema
665
+ * @typedef HomeListingResponse
666
666
  * @property {ProductListingDetail[]} [items] - List of product details
667
667
  * displayed on the home page.
668
668
  * @property {Page} page
@@ -682,7 +682,7 @@ const Joi = require("joi");
682
682
  */
683
683
 
684
684
  /**
685
- * @typedef DepartmentResponseSchema
685
+ * @typedef DepartmentResponse
686
686
  * @property {Department[]} [items] - List of department detail objects.
687
687
  */
688
688
 
@@ -698,7 +698,7 @@ const Joi = require("joi");
698
698
  */
699
699
 
700
700
  /**
701
- * @typedef AutoCompleteResponseSchema
701
+ * @typedef AutoCompleteResponse
702
702
  * @property {AutocompleteItem[]} [items] - List of autocomplete items suggested
703
703
  * based on user input.
704
704
  */
@@ -775,7 +775,7 @@ const Joi = require("joi");
775
775
  */
776
776
 
777
777
  /**
778
- * @typedef GetCollectionListingResponseSchema
778
+ * @typedef GetCollectionListingResponse
779
779
  * @property {GetCollectionDetailNest[]} [items] - An array of collection
780
780
  * details. Each item in the array represents a collection with various
781
781
  * attributes and configurations.
@@ -784,7 +784,7 @@ const Joi = require("joi");
784
784
  */
785
785
 
786
786
  /**
787
- * @typedef CollectionDetailResponseSchema
787
+ * @typedef CollectionDetailResponse
788
788
  * @property {boolean} [is_active] - Indicates whether the collection is active.
789
789
  * @property {string} [sort_on] - Criteria used to sort the items within the
790
790
  * collection, such as price, popularity, or newest first.
@@ -817,7 +817,7 @@ const Joi = require("joi");
817
817
  */
818
818
 
819
819
  /**
820
- * @typedef GetFollowListingResponseSchema
820
+ * @typedef GetFollowListingResponse
821
821
  * @property {ProductListingDetail[]} items - An array of product details that
822
822
  * the user is following. Each item includes information such as the product
823
823
  * name, price, and other attributes.
@@ -825,7 +825,7 @@ const Joi = require("joi");
825
825
  */
826
826
 
827
827
  /**
828
- * @typedef FollowPostResponseSchema
828
+ * @typedef FollowPostResponse
829
829
  * @property {string} message - A message indicating the result of the follow or
830
830
  * unfollow operation. This could be a confirmation message or an error message.
831
831
  * @property {string} id - A unique identifier for the follow operation, which
@@ -833,7 +833,7 @@ const Joi = require("joi");
833
833
  */
834
834
 
835
835
  /**
836
- * @typedef FollowerCountResponseSchema
836
+ * @typedef FollowerCountResponse
837
837
  * @property {number} [count] - The number of followers for the item. This count
838
838
  * indicates how many users are following the specified item.
839
839
  */
@@ -849,7 +849,7 @@ const Joi = require("joi");
849
849
  */
850
850
 
851
851
  /**
852
- * @typedef FollowIdsResponseSchema
852
+ * @typedef FollowIdsResponse
853
853
  * @property {FollowIdsData} [data]
854
854
  */
855
855
 
@@ -861,12 +861,6 @@ const Joi = require("joi");
861
861
  * For example, "Point" indicates a single point in a geographic coordinate system.
862
862
  */
863
863
 
864
- /**
865
- * @typedef StoreContact
866
- * @property {string} [number] - The contact number of the Store Manager.
867
- * @property {number} [country_code] - The country code for the contact number.
868
- */
869
-
870
864
  /**
871
865
  * @typedef Store
872
866
  * @property {number} [uid] - A unique identifier for the store.
@@ -881,11 +875,10 @@ const Joi = require("joi");
881
875
  * @property {LatLong} [lat_long]
882
876
  * @property {string} [name] - The name of the store.
883
877
  * @property {string[]} [tags] - The list of tags mapped to the store.
884
- * @property {StoreContact[]} [contacts] - List of contact numbers for the store.
885
878
  */
886
879
 
887
880
  /**
888
- * @typedef StoreListingResponseSchema
881
+ * @typedef StoreListingResponse
889
882
  * @property {Store[]} items - An array of store details. Each store includes
890
883
  * information such as name, address, and geographic coordinates.
891
884
  * @property {Page} page
@@ -926,14 +919,14 @@ const Joi = require("joi");
926
919
  */
927
920
 
928
921
  /**
929
- * @typedef StoreManagerSchema
922
+ * @typedef StoreManagerSerializer
930
923
  * @property {string} [name] - The name of the store manager.
931
924
  * @property {string} [email] - The email address of the store manager.
932
925
  * @property {SellerPhoneNumber} [mobile_no]
933
926
  */
934
927
 
935
928
  /**
936
- * @typedef StoreAddressSchema
929
+ * @typedef StoreAddressSerializer
937
930
  * @property {number} [latitude] - The latitude of the store's location.
938
931
  * @property {string} [state] - The state where the store is located.
939
932
  * @property {string} [country] - The country where the store is located.
@@ -950,9 +943,9 @@ const Joi = require("joi");
950
943
  * @property {number} [uid] - The unique identifier for the application store.
951
944
  * @property {StoreDepartments[]} [departments] - A list of departments within the store.
952
945
  * @property {CompanyStore} [company]
953
- * @property {StoreManagerSchema} [manager]
946
+ * @property {StoreManagerSerializer} [manager]
954
947
  * @property {string} [store_code] - A unique code for identifying the store.
955
- * @property {StoreAddressSchema} [address]
948
+ * @property {StoreAddressSerializer} [address]
956
949
  * @property {string} [name] - The name of the store.
957
950
  * @property {SellerPhoneNumber[]} [contact_numbers] - A list of contact numbers
958
951
  * for the store.
@@ -984,11 +977,11 @@ const Joi = require("joi");
984
977
  * @property {number} [uid] - The unique identifier for the store.
985
978
  * @property {StoreDepartments[]} [departments] - A list of departments within the store.
986
979
  * @property {CompanyStore} [company]
987
- * @property {StoreManagerSchema} [manager]
980
+ * @property {StoreManagerSerializer} [manager]
988
981
  * @property {string} [store_code] - A unique code for identifying the store.
989
982
  * @property {StoreTiming[]} [timing] - The opening and closing times for the
990
983
  * store throughout the week.
991
- * @property {StoreAddressSchema} [address]
984
+ * @property {StoreAddressSerializer} [address]
992
985
  * @property {Object} [_custom_json] - Custom JSON data for the store.
993
986
  * @property {string} [name] - The name of the store.
994
987
  * @property {SellerPhoneNumber[]} [contact_numbers] - A list of contact numbers
@@ -1040,7 +1033,7 @@ const Joi = require("joi");
1040
1033
  * @property {Object[]} [images] - A list of image URLs for the product.
1041
1034
  * @property {Object} [slug] - The slug of the product.
1042
1035
  * @property {number} [rating] - The rating of the product.
1043
- * @property {Identifier} [identifier]
1036
+ * @property {Object} [identifier] - A dictionary of product identifiers.
1044
1037
  * @property {Object[]} [highlights] - A list of highlights for the product.
1045
1038
  * @property {number} [brand_uid] - The unique ID of the product's brand.
1046
1039
  */
@@ -1254,17 +1247,6 @@ const Joi = require("joi");
1254
1247
  * and filtering criteria applied to the sellers' data.
1255
1248
  */
1256
1249
 
1257
- /**
1258
- * @typedef Identifier
1259
- * @property {string} [ean] - The European Article Number (EAN) of the item.
1260
- * @property {string} [sku_code] - The Stock Keeping Unit (SKU) code of the item.
1261
- * @property {string} [alu] - The Alternative Lookup Product of the item.
1262
- * @property {string} [upc] - Universal Product Code of the item.
1263
- * @property {string} [isbn] - ISBN (International Standard Book Number) is a
1264
- * unique identifier used globally to identify books and other non-periodical
1265
- * publications
1266
- */
1267
-
1268
1250
  class CatalogApplicationModel {
1269
1251
  /** @returns {ProductDetailCustomOrder} */
1270
1252
  static ProductDetailCustomOrder() {
@@ -1296,8 +1278,8 @@ class CatalogApplicationModel {
1296
1278
  static ProductListingActionPage() {
1297
1279
  return Joi.object({
1298
1280
  type: Joi.string().allow(""),
1299
- query: Joi.object().pattern(/\S/, Joi.any()),
1300
- params: Joi.object().pattern(/\S/, Joi.any()),
1281
+ query: Joi.any(),
1282
+ params: Joi.any(),
1301
1283
  });
1302
1284
  }
1303
1285
 
@@ -1443,13 +1425,13 @@ class CatalogApplicationModel {
1443
1425
  color: Joi.string().allow(""),
1444
1426
  type: Joi.string().allow(""),
1445
1427
  product_online_date: Joi.string().allow(""),
1446
- _custom_json: Joi.object().pattern(/\S/, Joi.any()),
1428
+ _custom_json: Joi.any(),
1447
1429
  item_code: Joi.string().allow(""),
1448
1430
  name: Joi.string().allow(""),
1449
1431
  moq: CatalogApplicationModel.ApplicationItemMOQ(),
1450
1432
  short_description: Joi.string().allow(""),
1451
1433
  categories: Joi.array().items(CatalogApplicationModel.ProductBrand()),
1452
- attributes: Joi.object().pattern(/\S/, Joi.any()),
1434
+ attributes: Joi.any(),
1453
1435
  discount: Joi.string().allow(""),
1454
1436
  tryouts: Joi.array().items(Joi.string().allow("")),
1455
1437
  slug: Joi.string().allow("").required(),
@@ -1465,8 +1447,8 @@ class CatalogApplicationModel {
1465
1447
  });
1466
1448
  }
1467
1449
 
1468
- /** @returns {ErrorResponseSchema} */
1469
- static ErrorResponseSchema() {
1450
+ /** @returns {ErrorResponse} */
1451
+ static ErrorResponse() {
1470
1452
  return Joi.object({
1471
1453
  error: Joi.string().allow(""),
1472
1454
  });
@@ -1600,8 +1582,8 @@ class CatalogApplicationModel {
1600
1582
  });
1601
1583
  }
1602
1584
 
1603
- /** @returns {ProductsComparisonResponseSchema} */
1604
- static ProductsComparisonResponseSchema() {
1585
+ /** @returns {ProductsComparisonResponse} */
1586
+ static ProductsComparisonResponse() {
1605
1587
  return Joi.object({
1606
1588
  items: Joi.array().items(CatalogApplicationModel.ProductDetail()),
1607
1589
  attributes_metadata: Joi.array().items(
@@ -1610,8 +1592,8 @@ class CatalogApplicationModel {
1610
1592
  });
1611
1593
  }
1612
1594
 
1613
- /** @returns {ProductCompareResponseSchema} */
1614
- static ProductCompareResponseSchema() {
1595
+ /** @returns {ProductCompareResponse} */
1596
+ static ProductCompareResponse() {
1615
1597
  return Joi.object({
1616
1598
  title: Joi.string().allow(""),
1617
1599
  items: Joi.array().items(CatalogApplicationModel.ProductDetail()),
@@ -1622,15 +1604,15 @@ class CatalogApplicationModel {
1622
1604
  });
1623
1605
  }
1624
1606
 
1625
- /** @returns {ProductFrequentlyComparedSimilarResponseSchema} */
1626
- static ProductFrequentlyComparedSimilarResponseSchema() {
1607
+ /** @returns {ProductFrequentlyComparedSimilarResponse} */
1608
+ static ProductFrequentlyComparedSimilarResponse() {
1627
1609
  return Joi.object({
1628
- similars: CatalogApplicationModel.ProductCompareResponseSchema(),
1610
+ similars: CatalogApplicationModel.ProductCompareResponse(),
1629
1611
  });
1630
1612
  }
1631
1613
 
1632
- /** @returns {ProductVariantItemResponseSchema} */
1633
- static ProductVariantItemResponseSchema() {
1614
+ /** @returns {ProductVariantItemResponse} */
1615
+ static ProductVariantItemResponse() {
1634
1616
  return Joi.object({
1635
1617
  uid: Joi.number(),
1636
1618
  color_name: Joi.string().allow(""),
@@ -1648,25 +1630,25 @@ class CatalogApplicationModel {
1648
1630
  });
1649
1631
  }
1650
1632
 
1651
- /** @returns {ProductVariantResponseSchema} */
1652
- static ProductVariantResponseSchema() {
1633
+ /** @returns {ProductVariantResponse} */
1634
+ static ProductVariantResponse() {
1653
1635
  return Joi.object({
1654
1636
  display_type: Joi.string().allow(""),
1655
1637
  header: Joi.string().allow(""),
1656
1638
  group_id: Joi.string().allow(""),
1657
1639
  items: Joi.array().items(
1658
- CatalogApplicationModel.ProductVariantItemResponseSchema()
1640
+ CatalogApplicationModel.ProductVariantItemResponse()
1659
1641
  ),
1660
1642
  key: Joi.string().allow(""),
1661
1643
  logo: Joi.string().allow(""),
1662
1644
  });
1663
1645
  }
1664
1646
 
1665
- /** @returns {ProductVariantsResponseSchema} */
1666
- static ProductVariantsResponseSchema() {
1647
+ /** @returns {ProductVariantsResponse} */
1648
+ static ProductVariantsResponse() {
1667
1649
  return Joi.object({
1668
1650
  variants: Joi.array().items(
1669
- CatalogApplicationModel.ProductVariantResponseSchema()
1651
+ CatalogApplicationModel.ProductVariantResponse()
1670
1652
  ),
1671
1653
  });
1672
1654
  }
@@ -1718,12 +1700,12 @@ class CatalogApplicationModel {
1718
1700
  company: CatalogApplicationModel.CompanyDetail(),
1719
1701
  item_id: Joi.number(),
1720
1702
  seller: CatalogApplicationModel.Seller(),
1721
- identifier: CatalogApplicationModel.Identifier(),
1703
+ identifier: Joi.any(),
1722
1704
  });
1723
1705
  }
1724
1706
 
1725
- /** @returns {ProductStockStatusResponseSchema} */
1726
- static ProductStockStatusResponseSchema() {
1707
+ /** @returns {ProductStockStatusResponse} */
1708
+ static ProductStockStatusResponse() {
1727
1709
  return Joi.object({
1728
1710
  items: Joi.array().items(
1729
1711
  CatalogApplicationModel.ProductStockStatusItem()
@@ -1754,12 +1736,12 @@ class CatalogApplicationModel {
1754
1736
  });
1755
1737
  }
1756
1738
 
1757
- /** @returns {ProductVariantListingResponseSchema} */
1758
- static ProductVariantListingResponseSchema() {
1739
+ /** @returns {ProductVariantListingResponse} */
1740
+ static ProductVariantListingResponse() {
1759
1741
  return Joi.object({
1760
1742
  header: Joi.string().allow(""),
1761
1743
  items: Joi.array().items(
1762
- CatalogApplicationModel.ProductVariantItemResponseSchema()
1744
+ CatalogApplicationModel.ProductVariantItemResponse()
1763
1745
  ),
1764
1746
  total: Joi.number(),
1765
1747
  key: Joi.string().allow(""),
@@ -1793,16 +1775,16 @@ class CatalogApplicationModel {
1793
1775
  color: Joi.string().allow(""),
1794
1776
  type: Joi.string().allow(""),
1795
1777
  product_online_date: Joi.string().allow(""),
1796
- _custom_json: Joi.object().pattern(/\S/, Joi.any()),
1778
+ _custom_json: Joi.any(),
1797
1779
  item_code: Joi.string().allow(""),
1798
1780
  name: Joi.string().allow(""),
1799
1781
  moq: CatalogApplicationModel.ApplicationItemMOQ(),
1800
1782
  short_description: Joi.string().allow(""),
1801
1783
  categories: Joi.array().items(CatalogApplicationModel.ProductBrand()),
1802
1784
  sellable: Joi.boolean(),
1803
- attributes: Joi.object().pattern(/\S/, Joi.any()),
1785
+ attributes: Joi.any(),
1804
1786
  variants: Joi.array().items(
1805
- CatalogApplicationModel.ProductVariantListingResponseSchema()
1787
+ CatalogApplicationModel.ProductVariantListingResponse()
1806
1788
  ),
1807
1789
  discount: Joi.string().allow(""),
1808
1790
  tryouts: Joi.array().items(Joi.string().allow("")),
@@ -1868,8 +1850,8 @@ class CatalogApplicationModel {
1868
1850
  });
1869
1851
  }
1870
1852
 
1871
- /** @returns {ProductListingResponseSchema} */
1872
- static ProductListingResponseSchema() {
1853
+ /** @returns {ProductListingResponse} */
1854
+ static ProductListingResponse() {
1873
1855
  return Joi.object({
1874
1856
  items: Joi.array().items(CatalogApplicationModel.ProductListingDetail()),
1875
1857
  filters: Joi.array().items(CatalogApplicationModel.ProductFilters()),
@@ -1901,22 +1883,22 @@ class CatalogApplicationModel {
1901
1883
  });
1902
1884
  }
1903
1885
 
1904
- /** @returns {BrandListingResponseSchema} */
1905
- static BrandListingResponseSchema() {
1886
+ /** @returns {BrandListingResponse} */
1887
+ static BrandListingResponse() {
1906
1888
  return Joi.object({
1907
1889
  items: Joi.array().items(CatalogApplicationModel.BrandItem()),
1908
1890
  page: CatalogApplicationModel.Page().required(),
1909
1891
  });
1910
1892
  }
1911
1893
 
1912
- /** @returns {BrandDetailResponseSchema} */
1913
- static BrandDetailResponseSchema() {
1894
+ /** @returns {BrandDetailResponse} */
1895
+ static BrandDetailResponse() {
1914
1896
  return Joi.object({
1915
1897
  logo: CatalogApplicationModel.Media(),
1916
1898
  uid: Joi.number(),
1917
1899
  description: Joi.string().allow(""),
1918
1900
  banners: CatalogApplicationModel.ImageUrls(),
1919
- _custom_json: Joi.object().pattern(/\S/, Joi.any()),
1901
+ _custom_json: Joi.any(),
1920
1902
  name: Joi.string().allow(""),
1921
1903
  });
1922
1904
  }
@@ -1934,8 +1916,8 @@ class CatalogApplicationModel {
1934
1916
  return Joi.object({
1935
1917
  uid: Joi.number(),
1936
1918
  banners: CatalogApplicationModel.ImageUrls(),
1937
- childs: Joi.array().items(Joi.object().pattern(/\S/, Joi.any())),
1938
- _custom_json: Joi.object().pattern(/\S/, Joi.any()),
1919
+ childs: Joi.array().items(Joi.any()),
1920
+ _custom_json: Joi.any(),
1939
1921
  name: Joi.string().allow(""),
1940
1922
  slug: Joi.string().allow(""),
1941
1923
  action: CatalogApplicationModel.ProductListingAction(),
@@ -1948,7 +1930,7 @@ class CatalogApplicationModel {
1948
1930
  uid: Joi.number(),
1949
1931
  banners: CatalogApplicationModel.ImageUrls(),
1950
1932
  childs: Joi.array().items(CatalogApplicationModel.ThirdLevelChild()),
1951
- _custom_json: Joi.object().pattern(/\S/, Joi.any()),
1933
+ _custom_json: Joi.any(),
1952
1934
  name: Joi.string().allow(""),
1953
1935
  slug: Joi.string().allow(""),
1954
1936
  action: CatalogApplicationModel.ProductListingAction(),
@@ -1961,7 +1943,7 @@ class CatalogApplicationModel {
1961
1943
  uid: Joi.number(),
1962
1944
  banners: CatalogApplicationModel.ImageUrls(),
1963
1945
  childs: Joi.array().items(CatalogApplicationModel.SecondLevelChild()),
1964
- _custom_json: Joi.object().pattern(/\S/, Joi.any()),
1946
+ _custom_json: Joi.any(),
1965
1947
  name: Joi.string().allow(""),
1966
1948
  slug: Joi.string().allow(""),
1967
1949
  action: CatalogApplicationModel.ProductListingAction(),
@@ -1996,8 +1978,8 @@ class CatalogApplicationModel {
1996
1978
  });
1997
1979
  }
1998
1980
 
1999
- /** @returns {CategoryListingResponseSchema} */
2000
- static CategoryListingResponseSchema() {
1981
+ /** @returns {CategoryListingResponse} */
1982
+ static CategoryListingResponse() {
2001
1983
  return Joi.object({
2002
1984
  data: Joi.array().items(CatalogApplicationModel.DepartmentCategoryTree()),
2003
1985
  departments: Joi.array().items(
@@ -2006,19 +1988,19 @@ class CatalogApplicationModel {
2006
1988
  });
2007
1989
  }
2008
1990
 
2009
- /** @returns {CategoryMetaResponseSchema} */
2010
- static CategoryMetaResponseSchema() {
1991
+ /** @returns {CategoryMetaResponse} */
1992
+ static CategoryMetaResponse() {
2011
1993
  return Joi.object({
2012
1994
  logo: CatalogApplicationModel.Media(),
2013
1995
  uid: Joi.number(),
2014
1996
  banners: CatalogApplicationModel.ImageUrls(),
2015
- _custom_json: Joi.object().pattern(/\S/, Joi.any()),
1997
+ _custom_json: Joi.any(),
2016
1998
  name: Joi.string().allow(""),
2017
1999
  });
2018
2000
  }
2019
2001
 
2020
- /** @returns {HomeListingResponseSchema} */
2021
- static HomeListingResponseSchema() {
2002
+ /** @returns {HomeListingResponse} */
2003
+ static HomeListingResponse() {
2022
2004
  return Joi.object({
2023
2005
  items: Joi.array().items(CatalogApplicationModel.ProductListingDetail()),
2024
2006
  page: CatalogApplicationModel.Page().required(),
@@ -2037,8 +2019,8 @@ class CatalogApplicationModel {
2037
2019
  });
2038
2020
  }
2039
2021
 
2040
- /** @returns {DepartmentResponseSchema} */
2041
- static DepartmentResponseSchema() {
2022
+ /** @returns {DepartmentResponse} */
2023
+ static DepartmentResponse() {
2042
2024
  return Joi.object({
2043
2025
  items: Joi.array().items(CatalogApplicationModel.Department()),
2044
2026
  });
@@ -2050,13 +2032,13 @@ class CatalogApplicationModel {
2050
2032
  logo: CatalogApplicationModel.Media(),
2051
2033
  display: Joi.string().allow(""),
2052
2034
  type: Joi.string().allow(""),
2053
- _custom_json: Joi.object().pattern(/\S/, Joi.any()),
2035
+ _custom_json: Joi.any(),
2054
2036
  action: CatalogApplicationModel.ProductListingAction(),
2055
2037
  });
2056
2038
  }
2057
2039
 
2058
- /** @returns {AutoCompleteResponseSchema} */
2059
- static AutoCompleteResponseSchema() {
2040
+ /** @returns {AutoCompleteResponse} */
2041
+ static AutoCompleteResponse() {
2060
2042
  return Joi.object({
2061
2043
  items: Joi.array().items(CatalogApplicationModel.AutocompleteItem()),
2062
2044
  });
@@ -2077,18 +2059,18 @@ class CatalogApplicationModel {
2077
2059
  is_active: Joi.boolean(),
2078
2060
  uid: Joi.string().allow(""),
2079
2061
  sort_on: Joi.string().allow(""),
2080
- meta: Joi.object().pattern(/\S/, Joi.any()),
2062
+ meta: Joi.any(),
2081
2063
  banners: CatalogApplicationModel.ImageUrls(),
2082
- cron: Joi.object().pattern(/\S/, Joi.any()),
2083
- _schedule: Joi.object().pattern(/\S/, Joi.any()),
2064
+ cron: Joi.any(),
2065
+ _schedule: Joi.any(),
2084
2066
  query: Joi.array().items(CatalogApplicationModel.CollectionQuery()),
2085
2067
  description: Joi.string().allow(""),
2086
2068
  type: Joi.string().allow(""),
2087
- _custom_json: Joi.object().pattern(/\S/, Joi.any()),
2069
+ _custom_json: Joi.any(),
2088
2070
  name: Joi.string().allow(""),
2089
2071
  allow_sort: Joi.boolean(),
2090
2072
  visible_facets_keys: Joi.array().items(Joi.string().allow("")),
2091
- badge: Joi.object().pattern(/\S/, Joi.any()),
2073
+ badge: Joi.any(),
2092
2074
  slug: Joi.string().allow(""),
2093
2075
  action: CatalogApplicationModel.ProductListingAction(),
2094
2076
  allow_facets: Joi.boolean(),
@@ -2129,8 +2111,8 @@ class CatalogApplicationModel {
2129
2111
  });
2130
2112
  }
2131
2113
 
2132
- /** @returns {GetCollectionListingResponseSchema} */
2133
- static GetCollectionListingResponseSchema() {
2114
+ /** @returns {GetCollectionListingResponse} */
2115
+ static GetCollectionListingResponse() {
2134
2116
  return Joi.object({
2135
2117
  items: Joi.array().items(
2136
2118
  CatalogApplicationModel.GetCollectionDetailNest()
@@ -2140,23 +2122,23 @@ class CatalogApplicationModel {
2140
2122
  });
2141
2123
  }
2142
2124
 
2143
- /** @returns {CollectionDetailResponseSchema} */
2144
- static CollectionDetailResponseSchema() {
2125
+ /** @returns {CollectionDetailResponse} */
2126
+ static CollectionDetailResponse() {
2145
2127
  return Joi.object({
2146
2128
  is_active: Joi.boolean(),
2147
2129
  sort_on: Joi.string().allow(""),
2148
- meta: Joi.object().pattern(/\S/, Joi.any()),
2130
+ meta: Joi.any(),
2149
2131
  banners: CatalogApplicationModel.ImageUrls(),
2150
- cron: Joi.object().pattern(/\S/, Joi.any()),
2151
- _schedule: Joi.object().pattern(/\S/, Joi.any()),
2132
+ cron: Joi.any(),
2133
+ _schedule: Joi.any(),
2152
2134
  query: Joi.array().items(CatalogApplicationModel.CollectionQuery()),
2153
2135
  description: Joi.string().allow(""),
2154
2136
  type: Joi.string().allow(""),
2155
- _custom_json: Joi.object().pattern(/\S/, Joi.any()),
2137
+ _custom_json: Joi.any(),
2156
2138
  name: Joi.string().allow(""),
2157
2139
  allow_sort: Joi.boolean(),
2158
2140
  visible_facets_keys: Joi.array().items(Joi.string().allow("")),
2159
- badge: Joi.object().pattern(/\S/, Joi.any()),
2141
+ badge: Joi.any(),
2160
2142
  slug: Joi.string().allow(""),
2161
2143
  allow_facets: Joi.boolean(),
2162
2144
  logo: CatalogApplicationModel.Media(),
@@ -2166,8 +2148,8 @@ class CatalogApplicationModel {
2166
2148
  });
2167
2149
  }
2168
2150
 
2169
- /** @returns {GetFollowListingResponseSchema} */
2170
- static GetFollowListingResponseSchema() {
2151
+ /** @returns {GetFollowListingResponse} */
2152
+ static GetFollowListingResponse() {
2171
2153
  return Joi.object({
2172
2154
  items: Joi.array()
2173
2155
  .items(CatalogApplicationModel.ProductListingDetail())
@@ -2176,16 +2158,16 @@ class CatalogApplicationModel {
2176
2158
  });
2177
2159
  }
2178
2160
 
2179
- /** @returns {FollowPostResponseSchema} */
2180
- static FollowPostResponseSchema() {
2161
+ /** @returns {FollowPostResponse} */
2162
+ static FollowPostResponse() {
2181
2163
  return Joi.object({
2182
2164
  message: Joi.string().allow("").required(),
2183
2165
  id: Joi.string().allow("").required(),
2184
2166
  });
2185
2167
  }
2186
2168
 
2187
- /** @returns {FollowerCountResponseSchema} */
2188
- static FollowerCountResponseSchema() {
2169
+ /** @returns {FollowerCountResponse} */
2170
+ static FollowerCountResponse() {
2189
2171
  return Joi.object({
2190
2172
  count: Joi.number(),
2191
2173
  });
@@ -2200,8 +2182,8 @@ class CatalogApplicationModel {
2200
2182
  });
2201
2183
  }
2202
2184
 
2203
- /** @returns {FollowIdsResponseSchema} */
2204
- static FollowIdsResponseSchema() {
2185
+ /** @returns {FollowIdsResponse} */
2186
+ static FollowIdsResponse() {
2205
2187
  return Joi.object({
2206
2188
  data: CatalogApplicationModel.FollowIdsData(),
2207
2189
  });
@@ -2215,14 +2197,6 @@ class CatalogApplicationModel {
2215
2197
  });
2216
2198
  }
2217
2199
 
2218
- /** @returns {StoreContact} */
2219
- static StoreContact() {
2220
- return Joi.object({
2221
- number: Joi.string().allow(""),
2222
- country_code: Joi.number(),
2223
- });
2224
- }
2225
-
2226
2200
  /** @returns {Store} */
2227
2201
  static Store() {
2228
2202
  return Joi.object({
@@ -2237,12 +2211,11 @@ class CatalogApplicationModel {
2237
2211
  lat_long: CatalogApplicationModel.LatLong(),
2238
2212
  name: Joi.string().allow(""),
2239
2213
  tags: Joi.array().items(Joi.string().allow("")),
2240
- contacts: Joi.array().items(CatalogApplicationModel.StoreContact()),
2241
2214
  });
2242
2215
  }
2243
2216
 
2244
- /** @returns {StoreListingResponseSchema} */
2245
- static StoreListingResponseSchema() {
2217
+ /** @returns {StoreListingResponse} */
2218
+ static StoreListingResponse() {
2246
2219
  return Joi.object({
2247
2220
  items: Joi.array().items(CatalogApplicationModel.Store()).required(),
2248
2221
  page: CatalogApplicationModel.Page().required(),
@@ -2253,7 +2226,7 @@ class CatalogApplicationModel {
2253
2226
  static StoreDepartments() {
2254
2227
  return Joi.object({
2255
2228
  uid: Joi.number(),
2256
- logo: Joi.object().pattern(/\S/, Joi.any()),
2229
+ logo: Joi.any(),
2257
2230
  priority_order: Joi.number(),
2258
2231
  name: Joi.string().allow(""),
2259
2232
  slug: Joi.string().allow(""),
@@ -2278,8 +2251,8 @@ class CatalogApplicationModel {
2278
2251
  });
2279
2252
  }
2280
2253
 
2281
- /** @returns {StoreManagerSchema} */
2282
- static StoreManagerSchema() {
2254
+ /** @returns {StoreManagerSerializer} */
2255
+ static StoreManagerSerializer() {
2283
2256
  return Joi.object({
2284
2257
  name: Joi.string().allow(""),
2285
2258
  email: Joi.string().allow(""),
@@ -2287,8 +2260,8 @@ class CatalogApplicationModel {
2287
2260
  });
2288
2261
  }
2289
2262
 
2290
- /** @returns {StoreAddressSchema} */
2291
- static StoreAddressSchema() {
2263
+ /** @returns {StoreAddressSerializer} */
2264
+ static StoreAddressSerializer() {
2292
2265
  return Joi.object({
2293
2266
  latitude: Joi.number(),
2294
2267
  state: Joi.string().allow(""),
@@ -2310,9 +2283,9 @@ class CatalogApplicationModel {
2310
2283
  CatalogApplicationModel.StoreDepartments()
2311
2284
  ),
2312
2285
  company: CatalogApplicationModel.CompanyStore(),
2313
- manager: CatalogApplicationModel.StoreManagerSchema(),
2286
+ manager: CatalogApplicationModel.StoreManagerSerializer(),
2314
2287
  store_code: Joi.string().allow(""),
2315
- address: CatalogApplicationModel.StoreAddressSchema(),
2288
+ address: CatalogApplicationModel.StoreAddressSerializer(),
2316
2289
  name: Joi.string().allow(""),
2317
2290
  contact_numbers: Joi.array().items(
2318
2291
  CatalogApplicationModel.SellerPhoneNumber()
@@ -2323,7 +2296,7 @@ class CatalogApplicationModel {
2323
2296
  /** @returns {ApplicationStoreListing} */
2324
2297
  static ApplicationStoreListing() {
2325
2298
  return Joi.object({
2326
- filters: Joi.array().items(Joi.object().pattern(/\S/, Joi.any())),
2299
+ filters: Joi.array().items(Joi.any()),
2327
2300
  items: Joi.array().items(CatalogApplicationModel.AppStore()),
2328
2301
  page: CatalogApplicationModel.Page(),
2329
2302
  });
@@ -2355,11 +2328,11 @@ class CatalogApplicationModel {
2355
2328
  CatalogApplicationModel.StoreDepartments()
2356
2329
  ),
2357
2330
  company: CatalogApplicationModel.CompanyStore(),
2358
- manager: CatalogApplicationModel.StoreManagerSchema(),
2331
+ manager: CatalogApplicationModel.StoreManagerSerializer(),
2359
2332
  store_code: Joi.string().allow(""),
2360
2333
  timing: Joi.array().items(CatalogApplicationModel.StoreTiming()),
2361
- address: CatalogApplicationModel.StoreAddressSchema(),
2362
- _custom_json: Joi.object().pattern(/\S/, Joi.any()),
2334
+ address: CatalogApplicationModel.StoreAddressSerializer(),
2335
+ _custom_json: Joi.any(),
2363
2336
  name: Joi.string().allow(""),
2364
2337
  contact_numbers: Joi.array().items(
2365
2338
  CatalogApplicationModel.SellerPhoneNumber()
@@ -2408,18 +2381,18 @@ class CatalogApplicationModel {
2408
2381
  description: Joi.any(),
2409
2382
  out_of_stock: Joi.boolean(),
2410
2383
  hsn_code: Joi.number(),
2411
- grouped_attributes: Joi.object().pattern(/\S/, Joi.any()),
2384
+ grouped_attributes: Joi.any(),
2412
2385
  item_code: Joi.any(),
2413
2386
  name: Joi.any(),
2414
2387
  country_of_origin: Joi.any(),
2415
2388
  short_description: Joi.any(),
2416
- media: Joi.array().items(Joi.object().pattern(/\S/, Joi.any())),
2417
- attributes: Joi.object().pattern(/\S/, Joi.any()),
2389
+ media: Joi.array().items(Joi.any()),
2390
+ attributes: Joi.any(),
2418
2391
  is_set: Joi.boolean(),
2419
2392
  images: Joi.array().items(Joi.any()),
2420
2393
  slug: Joi.any(),
2421
2394
  rating: Joi.number(),
2422
- identifier: CatalogApplicationModel.Identifier(),
2395
+ identifier: Joi.any(),
2423
2396
  highlights: Joi.array().items(Joi.any()),
2424
2397
  brand_uid: Joi.number(),
2425
2398
  });
@@ -2445,7 +2418,7 @@ class CatalogApplicationModel {
2445
2418
  return Joi.object({
2446
2419
  logo: Joi.string().allow("").allow(null),
2447
2420
  is_active: Joi.boolean(),
2448
- meta: Joi.object().pattern(/\S/, Joi.any()),
2421
+ meta: Joi.any(),
2449
2422
  verified_by: CatalogApplicationModel.UserDetail(),
2450
2423
  created_on: Joi.string().allow("").required(),
2451
2424
  company_id: Joi.number(),
@@ -2652,16 +2625,5 @@ class CatalogApplicationModel {
2652
2625
  ),
2653
2626
  });
2654
2627
  }
2655
-
2656
- /** @returns {Identifier} */
2657
- static Identifier() {
2658
- return Joi.object({
2659
- ean: Joi.string().allow(""),
2660
- sku_code: Joi.string().allow(""),
2661
- alu: Joi.string().allow(""),
2662
- upc: Joi.string().allow(""),
2663
- isbn: Joi.string().allow(""),
2664
- });
2665
- }
2666
2628
  }
2667
2629
  module.exports = CatalogApplicationModel;