@gofynd/fdk-client-javascript 3.1.0-beta.1 → 3.2.0

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 (304) hide show
  1. package/README.md +1 -1
  2. package/package.json +2 -2
  3. package/sdk/application/ApplicationClient.d.ts +2 -0
  4. package/sdk/application/ApplicationClient.js +2 -0
  5. package/sdk/application/Cart/CartApplicationClient.d.ts +81 -101
  6. package/sdk/application/Cart/CartApplicationClient.js +173 -511
  7. package/sdk/application/Catalog/CatalogApplicationClient.d.ts +110 -110
  8. package/sdk/application/Catalog/CatalogApplicationClient.js +214 -447
  9. package/sdk/application/Common/CommonApplicationClient.d.ts +4 -4
  10. package/sdk/application/Common/CommonApplicationClient.js +4 -19
  11. package/sdk/application/Communication/CommunicationApplicationClient.d.ts +3 -43
  12. package/sdk/application/Communication/CommunicationApplicationClient.js +4 -214
  13. package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +41 -54
  14. package/sdk/application/Configuration/ConfigurationApplicationClient.js +39 -192
  15. package/sdk/application/Content/ContentApplicationClient.d.ts +61 -61
  16. package/sdk/application/Content/ContentApplicationClient.js +183 -366
  17. package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +2 -2
  18. package/sdk/application/FileStorage/FileStorageApplicationClient.js +11 -30
  19. package/sdk/application/Finance/FinanceApplicationClient.d.ts +29 -0
  20. package/sdk/application/Finance/FinanceApplicationClient.js +111 -0
  21. package/sdk/application/Lead/LeadApplicationClient.d.ts +6 -6
  22. package/sdk/application/Lead/LeadApplicationClient.js +24 -55
  23. package/sdk/application/Logistic/LogisticApplicationClient.d.ts +28 -117
  24. package/sdk/application/Logistic/LogisticApplicationClient.js +99 -492
  25. package/sdk/application/Order/OrderApplicationClient.d.ts +31 -51
  26. package/sdk/application/Order/OrderApplicationClient.js +89 -293
  27. package/sdk/application/Payment/PaymentApplicationClient.d.ts +108 -218
  28. package/sdk/application/Payment/PaymentApplicationClient.js +100 -1081
  29. package/sdk/application/Rewards/RewardsApplicationClient.d.ts +14 -14
  30. package/sdk/application/Rewards/RewardsApplicationClient.js +13 -66
  31. package/sdk/application/Share/ShareApplicationClient.d.ts +11 -11
  32. package/sdk/application/Share/ShareApplicationClient.js +35 -89
  33. package/sdk/application/Theme/ThemeApplicationClient.d.ts +5 -25
  34. package/sdk/application/Theme/ThemeApplicationClient.js +24 -150
  35. package/sdk/application/User/UserApplicationClient.d.ts +23 -13
  36. package/sdk/application/User/UserApplicationClient.js +49 -407
  37. package/sdk/application/Webhook/WebhookApplicationClient.d.ts +4 -4
  38. package/sdk/application/Webhook/WebhookApplicationClient.js +4 -11
  39. package/sdk/common/Utility.d.ts +1 -1
  40. package/sdk/common/Utility.js +10 -7
  41. package/sdk/common/Validator.d.ts +1 -0
  42. package/sdk/common/Validator.js +20 -0
  43. package/sdk/common/utils.d.ts +0 -1
  44. package/sdk/common/utils.js +0 -14
  45. package/sdk/partner/FileStorage/FileStoragePartnerClient.d.ts +10 -54
  46. package/sdk/partner/FileStorage/FileStoragePartnerClient.js +32 -364
  47. package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +54 -1
  48. package/sdk/partner/FileStorage/FileStoragePartnerModel.js +43 -0
  49. package/sdk/partner/FileStorage/FileStoragePartnerValidator.d.ts +1 -5
  50. package/sdk/partner/FileStorage/FileStoragePartnerValidator.js +4 -35
  51. package/sdk/partner/Lead/LeadPartnerClient.d.ts +5 -5
  52. package/sdk/partner/Lead/LeadPartnerClient.js +4 -4
  53. package/sdk/partner/Lead/LeadPartnerModel.d.ts +52 -98
  54. package/sdk/partner/Lead/LeadPartnerModel.js +76 -100
  55. package/sdk/partner/Lead/LeadPartnerValidator.js +1 -1
  56. package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +172 -41
  57. package/sdk/partner/Logistics/LogisticsPartnerClient.js +1222 -85
  58. package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +1921 -297
  59. package/sdk/partner/Logistics/LogisticsPartnerModel.js +973 -258
  60. package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +13 -1
  61. package/sdk/partner/Logistics/LogisticsPartnerValidator.js +148 -16
  62. package/sdk/partner/PartnerClient.d.ts +0 -6
  63. package/sdk/partner/PartnerClient.js +0 -9
  64. package/sdk/partner/Theme/ThemePartnerClient.d.ts +21 -63
  65. package/sdk/partner/Theme/ThemePartnerClient.js +67 -392
  66. package/sdk/partner/Theme/ThemePartnerModel.d.ts +72 -104
  67. package/sdk/partner/Theme/ThemePartnerModel.js +75 -101
  68. package/sdk/partner/Theme/ThemePartnerValidator.d.ts +1 -5
  69. package/sdk/partner/Theme/ThemePartnerValidator.js +12 -42
  70. package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +18 -18
  71. package/sdk/partner/Webhook/WebhookPartnerClient.js +18 -18
  72. package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +673 -189
  73. package/sdk/partner/Webhook/WebhookPartnerModel.js +270 -159
  74. package/sdk/partner/Webhook/WebhookPartnerValidator.js +3 -3
  75. package/sdk/partner/index.d.ts +0 -3
  76. package/sdk/partner/index.js +0 -6
  77. package/sdk/platform/Analytics/AnalyticsPlatformApplicationValidator.d.ts +4 -1
  78. package/sdk/platform/Analytics/AnalyticsPlatformApplicationValidator.js +1 -1
  79. package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +3 -3
  80. package/sdk/platform/Analytics/AnalyticsPlatformModel.js +3 -3
  81. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +2 -32
  82. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +3 -243
  83. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +49 -145
  84. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +20 -171
  85. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +1 -39
  86. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +0 -35
  87. package/sdk/platform/Billing/BillingPlatformClient.d.ts +12 -12
  88. package/sdk/platform/Billing/BillingPlatformClient.js +15 -15
  89. package/sdk/platform/Billing/BillingPlatformModel.d.ts +443 -388
  90. package/sdk/platform/Billing/BillingPlatformModel.js +280 -263
  91. package/sdk/platform/Billing/BillingPlatformValidator.d.ts +16 -18
  92. package/sdk/platform/Billing/BillingPlatformValidator.js +8 -9
  93. package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +172 -251
  94. package/sdk/platform/Cart/CartPlatformApplicationClient.js +577 -648
  95. package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +270 -165
  96. package/sdk/platform/Cart/CartPlatformApplicationValidator.js +192 -108
  97. package/sdk/platform/Cart/CartPlatformModel.d.ts +4554 -3154
  98. package/sdk/platform/Cart/CartPlatformModel.js +1935 -2854
  99. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +380 -976
  100. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +2004 -6464
  101. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +161 -1082
  102. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +80 -884
  103. package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +568 -325
  104. package/sdk/platform/Catalog/CatalogPlatformClient.js +1560 -1162
  105. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +9772 -7871
  106. package/sdk/platform/Catalog/CatalogPlatformModel.js +6978 -9516
  107. package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +231 -240
  108. package/sdk/platform/Catalog/CatalogPlatformValidator.js +180 -188
  109. package/sdk/platform/Common/CommonPlatformClient.d.ts +6 -5
  110. package/sdk/platform/Common/CommonPlatformClient.js +6 -5
  111. package/sdk/platform/Common/CommonPlatformModel.d.ts +19 -25
  112. package/sdk/platform/Common/CommonPlatformModel.js +11 -14
  113. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +240 -376
  114. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +589 -874
  115. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +139 -170
  116. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +126 -145
  117. package/sdk/platform/Communication/CommunicationPlatformClient.d.ts +3 -56
  118. package/sdk/platform/Communication/CommunicationPlatformClient.js +4 -307
  119. package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +330 -502
  120. package/sdk/platform/Communication/CommunicationPlatformModel.js +376 -610
  121. package/sdk/platform/Communication/CommunicationPlatformValidator.d.ts +3 -62
  122. package/sdk/platform/Communication/CommunicationPlatformValidator.js +2 -48
  123. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +72 -100
  124. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +88 -146
  125. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +270 -241
  126. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +248 -226
  127. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +20 -31
  128. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +20 -25
  129. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +117 -332
  130. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +409 -1470
  131. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +55 -158
  132. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +41 -163
  133. package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +65 -142
  134. package/sdk/platform/Configuration/ConfigurationPlatformClient.js +103 -568
  135. package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +562 -1289
  136. package/sdk/platform/Configuration/ConfigurationPlatformModel.js +368 -1037
  137. package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +34 -80
  138. package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +24 -79
  139. package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +302 -248
  140. package/sdk/platform/Content/ContentPlatformApplicationClient.js +1292 -773
  141. package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +330 -218
  142. package/sdk/platform/Content/ContentPlatformApplicationValidator.js +325 -208
  143. package/sdk/platform/Content/ContentPlatformClient.d.ts +279 -118
  144. package/sdk/platform/Content/ContentPlatformClient.js +1617 -492
  145. package/sdk/platform/Content/ContentPlatformModel.d.ts +2391 -924
  146. package/sdk/platform/Content/ContentPlatformModel.js +1314 -970
  147. package/sdk/platform/Content/ContentPlatformValidator.d.ts +272 -134
  148. package/sdk/platform/Content/ContentPlatformValidator.js +295 -118
  149. package/sdk/platform/Discount/DiscountPlatformClient.d.ts +53 -43
  150. package/sdk/platform/Discount/DiscountPlatformClient.js +53 -43
  151. package/sdk/platform/Discount/DiscountPlatformModel.d.ts +383 -110
  152. package/sdk/platform/Discount/DiscountPlatformModel.js +117 -108
  153. package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +56 -36
  154. package/sdk/platform/Discount/DiscountPlatformValidator.js +29 -19
  155. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +4 -163
  156. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +4 -1078
  157. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +5 -141
  158. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +4 -177
  159. package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +8 -8
  160. package/sdk/platform/FileStorage/FileStoragePlatformClient.js +8 -8
  161. package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +30 -1123
  162. package/sdk/platform/FileStorage/FileStoragePlatformModel.js +24 -1135
  163. package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +6 -6
  164. package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +6 -6
  165. package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +17 -17
  166. package/sdk/platform/Lead/LeadPlatformApplicationClient.js +33 -33
  167. package/sdk/platform/Lead/LeadPlatformApplicationValidator.d.ts +19 -19
  168. package/sdk/platform/Lead/LeadPlatformApplicationValidator.js +14 -14
  169. package/sdk/platform/Lead/LeadPlatformClient.d.ts +24 -4
  170. package/sdk/platform/Lead/LeadPlatformClient.js +160 -4
  171. package/sdk/platform/Lead/LeadPlatformModel.d.ts +60 -140
  172. package/sdk/platform/Lead/LeadPlatformModel.js +81 -162
  173. package/sdk/platform/Lead/LeadPlatformValidator.d.ts +29 -3
  174. package/sdk/platform/Lead/LeadPlatformValidator.js +28 -2
  175. package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +19 -98
  176. package/sdk/platform/Order/OrderPlatformApplicationClient.js +27 -662
  177. package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +91 -118
  178. package/sdk/platform/Order/OrderPlatformApplicationValidator.js +32 -127
  179. package/sdk/platform/Order/OrderPlatformClient.d.ts +406 -403
  180. package/sdk/platform/Order/OrderPlatformClient.js +1200 -1343
  181. package/sdk/platform/Order/OrderPlatformModel.d.ts +8665 -4505
  182. package/sdk/platform/Order/OrderPlatformModel.js +4088 -3601
  183. package/sdk/platform/Order/OrderPlatformValidator.d.ts +666 -442
  184. package/sdk/platform/Order/OrderPlatformValidator.js +353 -312
  185. package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +6 -4
  186. package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +9 -7
  187. package/sdk/platform/Partner/PartnerPlatformModel.d.ts +67 -19
  188. package/sdk/platform/Partner/PartnerPlatformModel.js +26 -17
  189. package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +135 -382
  190. package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +937 -2452
  191. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +100 -306
  192. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +74 -305
  193. package/sdk/platform/Payment/PaymentPlatformClient.d.ts +56 -66
  194. package/sdk/platform/Payment/PaymentPlatformClient.js +124 -269
  195. package/sdk/platform/Payment/PaymentPlatformModel.d.ts +1307 -3536
  196. package/sdk/platform/Payment/PaymentPlatformModel.js +1389 -3692
  197. package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +35 -64
  198. package/sdk/platform/Payment/PaymentPlatformValidator.js +34 -60
  199. package/sdk/platform/PlatformClient.d.ts +0 -2
  200. package/sdk/platform/PlatformClient.js +0 -4
  201. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +2 -2
  202. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +2 -2
  203. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +2 -2
  204. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.js +2 -2
  205. package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +12 -12
  206. package/sdk/platform/Rewards/RewardsPlatformModel.js +10 -10
  207. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +64 -136
  208. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +111 -521
  209. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +75 -117
  210. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +50 -105
  211. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +160 -149
  212. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +766 -545
  213. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +6196 -3978
  214. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +3181 -3895
  215. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +294 -220
  216. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +205 -149
  217. package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +16 -4
  218. package/sdk/platform/Share/SharePlatformApplicationClient.js +86 -8
  219. package/sdk/platform/Share/SharePlatformApplicationValidator.d.ts +23 -6
  220. package/sdk/platform/Share/SharePlatformApplicationValidator.js +16 -3
  221. package/sdk/platform/Share/SharePlatformModel.d.ts +53 -9
  222. package/sdk/platform/Share/SharePlatformModel.js +45 -5
  223. package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +17 -37
  224. package/sdk/platform/Theme/ThemePlatformApplicationClient.js +66 -204
  225. package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +25 -26
  226. package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +20 -31
  227. package/sdk/platform/Theme/ThemePlatformClient.d.ts +8 -18
  228. package/sdk/platform/Theme/ThemePlatformClient.js +8 -85
  229. package/sdk/platform/Theme/ThemePlatformModel.d.ts +17 -425
  230. package/sdk/platform/Theme/ThemePlatformModel.js +23 -329
  231. package/sdk/platform/Theme/ThemePlatformValidator.d.ts +3 -7
  232. package/sdk/platform/Theme/ThemePlatformValidator.js +2 -9
  233. package/sdk/platform/User/UserPlatformApplicationClient.d.ts +81 -18
  234. package/sdk/platform/User/UserPlatformApplicationClient.js +491 -27
  235. package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +126 -10
  236. package/sdk/platform/User/UserPlatformApplicationValidator.js +92 -7
  237. package/sdk/platform/User/UserPlatformModel.d.ts +317 -218
  238. package/sdk/platform/User/UserPlatformModel.js +253 -210
  239. package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +25 -78
  240. package/sdk/platform/Webhook/WebhookPlatformClient.js +75 -470
  241. package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +813 -426
  242. package/sdk/platform/Webhook/WebhookPlatformModel.js +446 -395
  243. package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +10 -55
  244. package/sdk/platform/Webhook/WebhookPlatformValidator.js +12 -72
  245. package/sdk/platform/index.d.ts +0 -1
  246. package/sdk/platform/index.js +0 -2
  247. package/sdk/public/Catalog/CatalogPublicClient.d.ts +22 -0
  248. package/sdk/public/Catalog/CatalogPublicClient.js +133 -0
  249. package/sdk/public/Catalog/CatalogPublicModel.d.ts +158 -0
  250. package/sdk/public/Catalog/CatalogPublicModel.js +116 -0
  251. package/sdk/public/Catalog/CatalogPublicValidator.d.ts +55 -0
  252. package/sdk/public/Catalog/CatalogPublicValidator.js +35 -0
  253. package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +4 -14
  254. package/sdk/public/Configuration/ConfigurationPublicClient.js +10 -113
  255. package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +46 -114
  256. package/sdk/public/Configuration/ConfigurationPublicModel.js +32 -117
  257. package/sdk/public/Configuration/ConfigurationPublicValidator.d.ts +1 -11
  258. package/sdk/public/Configuration/ConfigurationPublicValidator.js +0 -12
  259. package/sdk/public/Content/ContentPublicClient.d.ts +36 -25
  260. package/sdk/public/Content/ContentPublicClient.js +254 -280
  261. package/sdk/public/Content/ContentPublicModel.d.ts +151 -38
  262. package/sdk/public/Content/ContentPublicModel.js +98 -44
  263. package/sdk/public/Content/ContentPublicValidator.d.ts +18 -17
  264. package/sdk/public/Content/ContentPublicValidator.js +26 -19
  265. package/sdk/public/Partner/PartnerPublicClient.d.ts +1 -1
  266. package/sdk/public/Partner/PartnerPublicClient.js +6 -11
  267. package/sdk/public/Partner/PartnerPublicModel.d.ts +248 -72
  268. package/sdk/public/Partner/PartnerPublicModel.js +81 -71
  269. package/sdk/public/Partner/PartnerPublicValidator.d.ts +2 -2
  270. package/sdk/public/Partner/PartnerPublicValidator.js +1 -1
  271. package/sdk/public/PublicClient.d.ts +2 -0
  272. package/sdk/public/PublicClient.js +4 -0
  273. package/sdk/public/Webhook/WebhookPublicClient.d.ts +8 -8
  274. package/sdk/public/Webhook/WebhookPublicClient.js +9 -48
  275. package/sdk/public/Webhook/WebhookPublicModel.d.ts +215 -67
  276. package/sdk/public/Webhook/WebhookPublicModel.js +66 -61
  277. package/sdk/public/Webhook/WebhookPublicValidator.d.ts +4 -4
  278. package/sdk/public/Webhook/WebhookPublicValidator.js +4 -4
  279. package/sdk/public/index.d.ts +1 -0
  280. package/sdk/public/index.js +2 -0
  281. package/sdk/partner/Authorization/AuthorizationPartnerClient.d.ts +0 -66
  282. package/sdk/partner/Authorization/AuthorizationPartnerClient.js +0 -431
  283. package/sdk/partner/Authorization/AuthorizationPartnerModel.d.ts +0 -231
  284. package/sdk/partner/Authorization/AuthorizationPartnerModel.js +0 -152
  285. package/sdk/partner/Authorization/AuthorizationPartnerValidator.d.ts +0 -8
  286. package/sdk/partner/Authorization/AuthorizationPartnerValidator.js +0 -39
  287. package/sdk/partner/Catalog/CatalogPartnerClient.d.ts +0 -26
  288. package/sdk/partner/Catalog/CatalogPartnerClient.js +0 -173
  289. package/sdk/partner/Catalog/CatalogPartnerModel.d.ts +0 -238
  290. package/sdk/partner/Catalog/CatalogPartnerModel.js +0 -248
  291. package/sdk/partner/Catalog/CatalogPartnerValidator.d.ts +0 -5
  292. package/sdk/partner/Catalog/CatalogPartnerValidator.js +0 -19
  293. package/sdk/partner/Payment/PaymentPartnerClient.d.ts +0 -116
  294. package/sdk/partner/Payment/PaymentPartnerClient.js +0 -857
  295. package/sdk/partner/Payment/PaymentPartnerModel.d.ts +0 -388
  296. package/sdk/partner/Payment/PaymentPartnerModel.js +0 -442
  297. package/sdk/partner/Payment/PaymentPartnerValidator.d.ts +0 -14
  298. package/sdk/partner/Payment/PaymentPartnerValidator.js +0 -74
  299. package/sdk/platform/Finance/FinancePlatformClient.d.ts +0 -320
  300. package/sdk/platform/Finance/FinancePlatformClient.js +0 -2333
  301. package/sdk/platform/Finance/FinancePlatformModel.d.ts +0 -2895
  302. package/sdk/platform/Finance/FinancePlatformModel.js +0 -2150
  303. package/sdk/platform/Finance/FinancePlatformValidator.d.ts +0 -284
  304. package/sdk/platform/Finance/FinancePlatformValidator.js +0 -354
@@ -1,12 +1,12 @@
1
1
  export = CompanyProfilePlatformModel;
2
2
  /**
3
- * @typedef CompanyTaxesSerializer
3
+ * @typedef CompanyTaxesSchema
4
4
  * @property {string} [effective_date]
5
5
  * @property {number} [rate]
6
6
  * @property {boolean} [enable]
7
7
  */
8
8
  /**
9
- * @typedef UserSerializer
9
+ * @typedef UserSchema
10
10
  * @property {string} [user_id]
11
11
  * @property {string} [contact]
12
12
  * @property {string} [username]
@@ -51,7 +51,7 @@ export = CompanyProfilePlatformModel;
51
51
  * @property {string} [url]
52
52
  */
53
53
  /**
54
- * @typedef GetAddressSerializer
54
+ * @typedef GetAddressSchema
55
55
  * @property {string} [landmark]
56
56
  * @property {string} [country_code]
57
57
  * @property {string} [pincode]
@@ -67,14 +67,14 @@ export = CompanyProfilePlatformModel;
67
67
  * @property {number} latitude
68
68
  */
69
69
  /**
70
- * @typedef GetCompanyProfileSerializerResponse
70
+ * @typedef GetCompanyProfileSerializerResponseSchema
71
71
  * @property {string} [business_info]
72
- * @property {CompanyTaxesSerializer[]} [taxes]
72
+ * @property {CompanyTaxesSchema[]} [taxes]
73
73
  * @property {string} [business_type]
74
74
  * @property {string} [name]
75
75
  * @property {Object} [_custom_json]
76
76
  * @property {string} [verified_on]
77
- * @property {UserSerializer} [created_by]
77
+ * @property {UserSchema} [created_by]
78
78
  * @property {string} [created_on]
79
79
  * @property {Object} [warnings]
80
80
  * @property {BusinessDetails} [business_details]
@@ -87,30 +87,29 @@ export = CompanyProfilePlatformModel;
87
87
  * @property {string} [stage]
88
88
  * @property {string} company_type
89
89
  * @property {Document[]} [documents]
90
- * @property {GetAddressSerializer[]} [addresses]
91
- * @property {UserSerializer} [verified_by]
90
+ * @property {GetAddressSchema[]} [addresses]
91
+ * @property {UserSchema} [verified_by]
92
92
  * @property {string[]} [notification_emails]
93
- * @property {UserSerializer} [modified_by]
93
+ * @property {UserSchema} [modified_by]
94
94
  */
95
95
  /**
96
- * @typedef ErrorResponse
97
- * @property {number} [code]
98
- * @property {string} [error]
99
- * @property {string} [message]
100
- * @property {Object} [meta]
101
- * @property {number} [status]
96
+ * @typedef ErrorResponseSchema
97
+ * @property {string} [message] - A descriptive message providing details about
98
+ * the error, intended to convey the nature and context of the issue.
99
+ * @property {Object} [error] - An object containing additional error details,
100
+ * which may vary depending on the error type.
102
101
  */
103
102
  /**
104
- * @typedef CompanyTaxesSerializer1
103
+ * @typedef CompanyRequestTaxesSchema
105
104
  * @property {string} [effective_date]
106
105
  * @property {number} [rate]
107
106
  * @property {boolean} [enable]
108
107
  */
109
108
  /**
110
- * @typedef CreateUpdateAddressSerializer
109
+ * @typedef CreateUpdateAddressSchema
111
110
  * @property {string} [landmark]
112
111
  * @property {string} [country_code]
113
- * @property {string} [pincode]
112
+ * @property {string} pincode
114
113
  * @property {string} address_type
115
114
  * @property {number} longitude
116
115
  * @property {string} country
@@ -127,20 +126,19 @@ export = CompanyProfilePlatformModel;
127
126
  * @property {Object} [warnings]
128
127
  * @property {string} [company_type]
129
128
  * @property {Object} [_custom_json]
130
- * @property {CompanyTaxesSerializer1[]} [taxes]
129
+ * @property {CompanyRequestTaxesSchema[]} [taxes]
131
130
  * @property {BusinessDetails} [business_details]
132
131
  * @property {Document[]} [documents]
133
132
  * @property {string} [business_type]
134
- * @property {CreateUpdateAddressSerializer[]} [addresses]
133
+ * @property {CreateUpdateAddressSchema[]} [addresses]
135
134
  * @property {string[]} [notification_emails]
136
135
  * @property {ContactDetails} [contact_details]
137
136
  * @property {string} [reject_reason]
138
137
  * @property {string} [name]
139
138
  */
140
139
  /**
141
- * @typedef ProfileSuccessResponse
140
+ * @typedef ProfileSuccessResponseSchema
142
141
  * @property {number} [uid]
143
- * @property {Object[]} [data]
144
142
  * @property {string} [message]
145
143
  * @property {boolean} [success]
146
144
  */
@@ -150,7 +148,7 @@ export = CompanyProfilePlatformModel;
150
148
  * @property {number} [verified]
151
149
  */
152
150
  /**
153
- * @typedef MetricsSerializer
151
+ * @typedef MetricsSchema
154
152
  * @property {string} [stage]
155
153
  * @property {DocumentsObj} [store]
156
154
  * @property {DocumentsObj} [company_documents]
@@ -160,18 +158,18 @@ export = CompanyProfilePlatformModel;
160
158
  * @property {DocumentsObj} [brand]
161
159
  */
162
160
  /**
163
- * @typedef BrandBannerSerializer
161
+ * @typedef BrandBannerSchema
164
162
  * @property {string} portrait
165
163
  * @property {string} landscape
166
164
  */
167
165
  /**
168
- * @typedef GetBrandResponseSerializer
169
- * @property {UserSerializer} [modified_by]
170
- * @property {BrandBannerSerializer} [banner]
166
+ * @typedef GetBrandResponseSchema
167
+ * @property {UserSchema} [modified_by]
168
+ * @property {BrandBannerSchema} [banner]
171
169
  * @property {string} name
172
170
  * @property {Object} [_custom_json]
173
171
  * @property {string} [verified_on]
174
- * @property {UserSerializer} [created_by]
172
+ * @property {UserSchema} [created_by]
175
173
  * @property {string} [created_on]
176
174
  * @property {Object} [warnings]
177
175
  * @property {Object} [_locale_language]
@@ -181,13 +179,13 @@ export = CompanyProfilePlatformModel;
181
179
  * @property {number} [uid]
182
180
  * @property {string} [reject_reason]
183
181
  * @property {string} [stage]
184
- * @property {UserSerializer} [verified_by]
182
+ * @property {UserSchema} [verified_by]
185
183
  * @property {string} [slug_key]
186
184
  * @property {string} [logo]
187
185
  * @property {string} [description]
188
186
  */
189
187
  /**
190
- * @typedef CreateUpdateBrandRequestSerializer
188
+ * @typedef CreateBrandRequestSchema
191
189
  * @property {Object} [_custom_json]
192
190
  * @property {Object} [_locale_language]
193
191
  * @property {string[]} [synonyms]
@@ -196,10 +194,23 @@ export = CompanyProfilePlatformModel;
196
194
  * @property {string} logo
197
195
  * @property {string} [brand_tier]
198
196
  * @property {number} [uid]
199
- * @property {BrandBannerSerializer} banner
197
+ * @property {BrandBannerSchema} banner
200
198
  * @property {string} name
201
199
  * @property {string} [slug_key]
202
200
  */
201
+ /**
202
+ * @typedef UpdateBrandRequestSchema
203
+ * @property {Object} [_custom_json]
204
+ * @property {Object} [_locale_language]
205
+ * @property {string[]} [synonyms]
206
+ * @property {number} [company_id]
207
+ * @property {string} [description]
208
+ * @property {string} logo
209
+ * @property {string} [brand_tier]
210
+ * @property {number} [uid]
211
+ * @property {BrandBannerSchema} banner
212
+ * @property {string} name
213
+ */
203
214
  /**
204
215
  * @typedef CompanySocialAccounts
205
216
  * @property {string} name
@@ -211,40 +222,40 @@ export = CompanyProfilePlatformModel;
211
222
  * @property {string} [website_url]
212
223
  */
213
224
  /**
214
- * @typedef CompanySerializer
225
+ * @typedef CompanySchema
215
226
  * @property {string} [stage]
216
227
  * @property {Object} [_custom_json]
217
228
  * @property {string} [verified_on]
218
- * @property {UserSerializer} [verified_by]
229
+ * @property {UserSchema} [verified_by]
219
230
  * @property {string} [created_on]
220
- * @property {UserSerializer} [created_by]
231
+ * @property {UserSchema} [created_by]
221
232
  * @property {string} company_type
222
233
  * @property {string} [modified_on]
223
234
  * @property {string[]} [market_channels]
224
- * @property {string} [business_type]
225
- * @property {GetAddressSerializer[]} [addresses]
235
+ * @property {string} business_type
236
+ * @property {GetAddressSchema[]} [addresses]
226
237
  * @property {string[]} [notification_emails]
227
238
  * @property {CompanyDetails} [details]
228
239
  * @property {BusinessCountryInfo} [business_country_info]
229
240
  * @property {number} [uid]
230
241
  * @property {string} [reject_reason]
231
242
  * @property {string} [name]
232
- * @property {UserSerializer} [modified_by]
243
+ * @property {UserSchema} [modified_by]
233
244
  */
234
245
  /**
235
- * @typedef CompanyBrandSerializer
246
+ * @typedef CompanyBrandSchema
236
247
  * @property {string} [stage]
237
248
  * @property {string} [verified_on]
238
- * @property {UserSerializer} [verified_by]
249
+ * @property {UserSchema} [verified_by]
239
250
  * @property {string} [created_on]
240
- * @property {UserSerializer} [created_by]
241
- * @property {CompanySerializer} [company]
251
+ * @property {UserSchema} [created_by]
252
+ * @property {CompanySchema} [company]
242
253
  * @property {Object} [warnings]
243
254
  * @property {string} [modified_on]
244
255
  * @property {number} [uid]
245
256
  * @property {string} [reject_reason]
246
- * @property {GetBrandResponseSerializer} [brand]
247
- * @property {UserSerializer} [modified_by]
257
+ * @property {GetBrandResponseSchema} [brand]
258
+ * @property {UserSchema} [modified_by]
248
259
  */
249
260
  /**
250
261
  * @typedef Page
@@ -255,123 +266,123 @@ export = CompanyProfilePlatformModel;
255
266
  * @property {number} [current] - The current page number.
256
267
  * @property {string} type - The type of the page, such as 'PageType'.
257
268
  * @property {number} [size] - The number of items per page.
258
- * @property {number} [total] - Total number of items.
269
+ * @property {number} [page_size] - The number of items per page.
259
270
  */
260
271
  /**
261
- * @typedef CompanyBrandListSerializer
262
- * @property {CompanyBrandSerializer[]} [items]
272
+ * @typedef CompanyBrandListSchema
273
+ * @property {CompanyBrandSchema[]} [items]
263
274
  * @property {Page} [page]
264
275
  */
265
276
  /**
266
- * @typedef CompanyBrandPostRequestSerializer
277
+ * @typedef CompanyBrandPostRequestSchema
267
278
  * @property {number} [uid]
268
279
  * @property {number[]} brands
269
280
  * @property {number} company
270
281
  */
271
282
  /**
272
- * @typedef InvoiceCredSerializer
283
+ * @typedef InvoiceCredSchema
273
284
  * @property {string} [username]
274
285
  * @property {boolean} [enabled]
275
286
  * @property {string} [password]
276
287
  */
277
288
  /**
278
- * @typedef InvoiceDetailsSerializer
279
- * @property {InvoiceCredSerializer} [e_invoice]
280
- * @property {InvoiceCredSerializer} [e_waybill]
289
+ * @typedef InvoiceDetailsSchema
290
+ * @property {InvoiceCredSchema} [e_invoice]
291
+ * @property {InvoiceCredSchema} [e_waybill]
281
292
  */
282
293
  /**
283
- * @typedef GetCompanySerializer
294
+ * @typedef GetCompanySchema
284
295
  * @property {string} [stage]
285
296
  * @property {string} [verified_on]
286
- * @property {UserSerializer} [verified_by]
297
+ * @property {UserSchema} [verified_by]
287
298
  * @property {string} [created_on]
288
- * @property {UserSerializer} [created_by]
299
+ * @property {UserSchema} [created_by]
289
300
  * @property {string} [company_type]
290
301
  * @property {string} [modified_on]
291
302
  * @property {string} [business_type]
292
- * @property {GetAddressSerializer[]} [addresses]
303
+ * @property {GetAddressSchema[]} [addresses]
293
304
  * @property {number} [uid]
294
305
  * @property {string} [reject_reason]
295
306
  * @property {string} [name]
296
- * @property {UserSerializer} [modified_by]
307
+ * @property {UserSchema} [modified_by]
297
308
  */
298
309
  /**
299
- * @typedef LocationManagerSerializer
310
+ * @typedef LocationManagerSchema
300
311
  * @property {string} [email]
301
312
  * @property {SellerPhoneNumber} mobile_no
302
313
  * @property {string} [name]
303
314
  */
304
315
  /**
305
- * @typedef LocationTimingSerializer
316
+ * @typedef LocationTimingSchema
306
317
  * @property {number} hour
307
318
  * @property {number} minute
308
319
  */
309
320
  /**
310
- * @typedef LocationDayWiseSerializer
321
+ * @typedef LocationDayWiseSchema
311
322
  * @property {boolean} open
312
323
  * @property {string} weekday
313
- * @property {LocationTimingSerializer} [opening]
314
- * @property {LocationTimingSerializer} [closing]
324
+ * @property {LocationTimingSchema} [opening]
325
+ * @property {LocationTimingSchema} [closing]
315
326
  */
316
327
  /**
317
- * @typedef HolidayDateSerializer
328
+ * @typedef HolidayDateSchema
318
329
  * @property {string} end_date
319
330
  * @property {string} start_date
320
331
  */
321
332
  /**
322
- * @typedef HolidaySchemaSerializer
323
- * @property {HolidayDateSerializer} date
333
+ * @typedef HolidaySchemaSchema
334
+ * @property {HolidayDateSchema} date
324
335
  * @property {string} title
325
336
  * @property {string} holiday_type
326
337
  */
327
338
  /**
328
- * @typedef ProductReturnConfigSerializer
339
+ * @typedef ProductReturnConfigSchema
329
340
  * @property {boolean} [on_same_store]
330
341
  * @property {number} [store_uid]
331
342
  */
332
343
  /**
333
- * @typedef GetLocationSerializer
344
+ * @typedef GetLocationSchema
334
345
  * @property {string} code
335
346
  * @property {string} [phone_number]
336
347
  * @property {SellerPhoneNumber[]} [contact_numbers]
337
- * @property {InvoiceDetailsSerializer} [gst_credentials]
348
+ * @property {InvoiceDetailsSchema} [gst_credentials]
338
349
  * @property {string} name
339
350
  * @property {Object} [_custom_json]
340
351
  * @property {string} [verified_on]
341
- * @property {UserSerializer} [created_by]
352
+ * @property {UserSchema} [created_by]
342
353
  * @property {string} [created_on]
343
- * @property {GetCompanySerializer} [company]
344
- * @property {GetAddressSerializer} address
354
+ * @property {GetCompanySchema} [company]
355
+ * @property {GetAddressSchema} address
345
356
  * @property {Object} [warnings]
346
357
  * @property {string} [store_type]
347
- * @property {LocationManagerSerializer} [manager]
358
+ * @property {LocationManagerSchema} [manager]
348
359
  * @property {boolean} [auto_invoice]
349
360
  * @property {string} [modified_on]
350
361
  * @property {number} [uid]
351
- * @property {LocationDayWiseSerializer[]} [timing]
362
+ * @property {LocationDayWiseSchema[]} [timing]
352
363
  * @property {string} [stage]
353
364
  * @property {Document[]} [documents]
354
365
  * @property {boolean} [credit_note]
355
- * @property {HolidaySchemaSerializer[]} [holiday]
366
+ * @property {HolidaySchemaSchema[]} [holiday]
356
367
  * @property {string} display_name
357
- * @property {ProductReturnConfigSerializer} [product_return_config]
358
- * @property {UserSerializer} [verified_by]
368
+ * @property {ProductReturnConfigSchema} [product_return_config]
369
+ * @property {UserSchema} [verified_by]
359
370
  * @property {string[]} [notification_emails]
360
- * @property {UserSerializer} [modified_by]
371
+ * @property {UserSchema} [modified_by]
361
372
  * @property {string[]} [tags]
362
373
  * @property {boolean} [default_order_acceptance_timing]
363
- * @property {LocationDayWiseSerializer[]} [order_acceptance_timing]
374
+ * @property {LocationDayWiseSchema[]} [order_acceptance_timing]
364
375
  * @property {AverageOrderProcessingTime} [avg_order_processing_time]
365
376
  * @property {boolean} [bulk_shipment]
366
377
  * @property {boolean} [auto_assign_courier_partner]
367
378
  */
368
379
  /**
369
- * @typedef LocationListSerializer
370
- * @property {GetLocationSerializer[]} [items]
380
+ * @typedef LocationListSchema
381
+ * @property {GetLocationSchema[]} [items]
371
382
  * @property {Page} [page]
372
383
  */
373
384
  /**
374
- * @typedef AddressSerializer
385
+ * @typedef AddressSchema
375
386
  * @property {string} [landmark]
376
387
  * @property {string} country_code
377
388
  * @property {string} [pincode]
@@ -387,39 +398,39 @@ export = CompanyProfilePlatformModel;
387
398
  * @property {number} latitude
388
399
  */
389
400
  /**
390
- * @typedef LocationSerializer
401
+ * @typedef LocationSchema
391
402
  * @property {string} code
392
- * @property {InvoiceDetailsSerializer} [gst_credentials]
403
+ * @property {InvoiceDetailsSchema} [gst_credentials]
393
404
  * @property {SellerPhoneNumber[]} [contact_numbers]
394
405
  * @property {string} name
395
406
  * @property {Object} [_custom_json]
396
407
  * @property {Object} [warnings]
397
- * @property {AddressSerializer} address
408
+ * @property {AddressSchema} address
398
409
  * @property {number} company
399
410
  * @property {string} [store_type]
400
- * @property {LocationManagerSerializer} [manager]
411
+ * @property {LocationManagerSchema} [manager]
401
412
  * @property {boolean} [auto_invoice]
402
413
  * @property {number} [uid]
403
- * @property {LocationDayWiseSerializer[]} [timing]
414
+ * @property {LocationDayWiseSchema[]} [timing]
404
415
  * @property {string} [stage]
405
416
  * @property {Document[]} documents
406
417
  * @property {boolean} [credit_note]
407
- * @property {HolidaySchemaSerializer[]} [holiday]
408
- * @property {ProductReturnConfigSerializer} [product_return_config]
418
+ * @property {HolidaySchemaSchema[]} [holiday]
419
+ * @property {ProductReturnConfigSchema} [product_return_config]
409
420
  * @property {string} display_name
410
421
  * @property {string[]} [notification_emails]
411
422
  * @property {string[]} [tags]
412
423
  * @property {boolean} [default_order_acceptance_timing] - Flag to set
413
424
  * order_acceptance_timing as default timing
414
- * @property {LocationDayWiseSerializer[]} [order_acceptance_timing] - Order
425
+ * @property {LocationDayWiseSchema[]} [order_acceptance_timing] - Order
415
426
  * acceptance timing of the store
416
427
  * @property {AverageOrderProcessingTime} [avg_order_processing_time]
417
428
  * @property {boolean} [bulk_shipment]
418
429
  * @property {boolean} [auto_assign_courier_partner]
419
430
  */
420
431
  /**
421
- * @typedef BulkLocationSerializer
422
- * @property {LocationSerializer[]} [data]
432
+ * @typedef BulkLocationSchema
433
+ * @property {LocationSchema[]} [data]
423
434
  */
424
435
  /**
425
436
  * @typedef AverageOrderProcessingTime
@@ -434,18 +445,18 @@ export = CompanyProfilePlatformModel;
434
445
  declare class CompanyProfilePlatformModel {
435
446
  }
436
447
  declare namespace CompanyProfilePlatformModel {
437
- export { CompanyTaxesSerializer, UserSerializer, Website, BusinessDetails, SellerPhoneNumber, ContactDetails, CountryCurrencyInfo, BusinessCountryInfo, Document, GetAddressSerializer, GetCompanyProfileSerializerResponse, ErrorResponse, CompanyTaxesSerializer1, CreateUpdateAddressSerializer, UpdateCompany, ProfileSuccessResponse, DocumentsObj, MetricsSerializer, BrandBannerSerializer, GetBrandResponseSerializer, CreateUpdateBrandRequestSerializer, CompanySocialAccounts, CompanyDetails, CompanySerializer, CompanyBrandSerializer, Page, CompanyBrandListSerializer, CompanyBrandPostRequestSerializer, InvoiceCredSerializer, InvoiceDetailsSerializer, GetCompanySerializer, LocationManagerSerializer, LocationTimingSerializer, LocationDayWiseSerializer, HolidayDateSerializer, HolidaySchemaSerializer, ProductReturnConfigSerializer, GetLocationSerializer, LocationListSerializer, AddressSerializer, LocationSerializer, BulkLocationSerializer, AverageOrderProcessingTime, StoreTagsResponseSchema };
448
+ export { CompanyTaxesSchema, UserSchema, Website, BusinessDetails, SellerPhoneNumber, ContactDetails, CountryCurrencyInfo, BusinessCountryInfo, Document, GetAddressSchema, GetCompanyProfileSerializerResponseSchema, ErrorResponseSchema, CompanyRequestTaxesSchema, CreateUpdateAddressSchema, UpdateCompany, ProfileSuccessResponseSchema, DocumentsObj, MetricsSchema, BrandBannerSchema, GetBrandResponseSchema, CreateBrandRequestSchema, UpdateBrandRequestSchema, CompanySocialAccounts, CompanyDetails, CompanySchema, CompanyBrandSchema, Page, CompanyBrandListSchema, CompanyBrandPostRequestSchema, InvoiceCredSchema, InvoiceDetailsSchema, GetCompanySchema, LocationManagerSchema, LocationTimingSchema, LocationDayWiseSchema, HolidayDateSchema, HolidaySchemaSchema, ProductReturnConfigSchema, GetLocationSchema, LocationListSchema, AddressSchema, LocationSchema, BulkLocationSchema, AverageOrderProcessingTime, StoreTagsResponseSchema };
438
449
  }
439
- /** @returns {CompanyTaxesSerializer} */
440
- declare function CompanyTaxesSerializer(): CompanyTaxesSerializer;
441
- type CompanyTaxesSerializer = {
450
+ /** @returns {CompanyTaxesSchema} */
451
+ declare function CompanyTaxesSchema(): CompanyTaxesSchema;
452
+ type CompanyTaxesSchema = {
442
453
  effective_date?: string;
443
454
  rate?: number;
444
455
  enable?: boolean;
445
456
  };
446
- /** @returns {UserSerializer} */
447
- declare function UserSerializer(): UserSerializer;
448
- type UserSerializer = {
457
+ /** @returns {UserSchema} */
458
+ declare function UserSchema(): UserSchema;
459
+ type UserSchema = {
449
460
  user_id?: string;
450
461
  contact?: string;
451
462
  username?: string;
@@ -496,9 +507,9 @@ type Document = {
496
507
  type: string;
497
508
  url?: string;
498
509
  };
499
- /** @returns {GetAddressSerializer} */
500
- declare function GetAddressSerializer(): GetAddressSerializer;
501
- type GetAddressSerializer = {
510
+ /** @returns {GetAddressSchema} */
511
+ declare function GetAddressSchema(): GetAddressSchema;
512
+ type GetAddressSchema = {
502
513
  landmark?: string;
503
514
  country_code?: string;
504
515
  pincode?: string;
@@ -513,16 +524,16 @@ type GetAddressSerializer = {
513
524
  city?: string;
514
525
  latitude: number;
515
526
  };
516
- /** @returns {GetCompanyProfileSerializerResponse} */
517
- declare function GetCompanyProfileSerializerResponse(): GetCompanyProfileSerializerResponse;
518
- type GetCompanyProfileSerializerResponse = {
527
+ /** @returns {GetCompanyProfileSerializerResponseSchema} */
528
+ declare function GetCompanyProfileSerializerResponseSchema(): GetCompanyProfileSerializerResponseSchema;
529
+ type GetCompanyProfileSerializerResponseSchema = {
519
530
  business_info?: string;
520
- taxes?: CompanyTaxesSerializer[];
531
+ taxes?: CompanyTaxesSchema[];
521
532
  business_type?: string;
522
533
  name?: string;
523
534
  _custom_json?: any;
524
535
  verified_on?: string;
525
- created_by?: UserSerializer;
536
+ created_by?: UserSchema;
526
537
  created_on?: string;
527
538
  warnings?: any;
528
539
  business_details?: BusinessDetails;
@@ -535,33 +546,38 @@ type GetCompanyProfileSerializerResponse = {
535
546
  stage?: string;
536
547
  company_type: string;
537
548
  documents?: Document[];
538
- addresses?: GetAddressSerializer[];
539
- verified_by?: UserSerializer;
549
+ addresses?: GetAddressSchema[];
550
+ verified_by?: UserSchema;
540
551
  notification_emails?: string[];
541
- modified_by?: UserSerializer;
552
+ modified_by?: UserSchema;
542
553
  };
543
- /** @returns {ErrorResponse} */
544
- declare function ErrorResponse(): ErrorResponse;
545
- type ErrorResponse = {
546
- code?: number;
547
- error?: string;
554
+ /** @returns {ErrorResponseSchema} */
555
+ declare function ErrorResponseSchema(): ErrorResponseSchema;
556
+ type ErrorResponseSchema = {
557
+ /**
558
+ * - A descriptive message providing details about
559
+ * the error, intended to convey the nature and context of the issue.
560
+ */
548
561
  message?: string;
549
- meta?: any;
550
- status?: number;
562
+ /**
563
+ * - An object containing additional error details,
564
+ * which may vary depending on the error type.
565
+ */
566
+ error?: any;
551
567
  };
552
- /** @returns {CompanyTaxesSerializer1} */
553
- declare function CompanyTaxesSerializer1(): CompanyTaxesSerializer1;
554
- type CompanyTaxesSerializer1 = {
568
+ /** @returns {CompanyRequestTaxesSchema} */
569
+ declare function CompanyRequestTaxesSchema(): CompanyRequestTaxesSchema;
570
+ type CompanyRequestTaxesSchema = {
555
571
  effective_date?: string;
556
572
  rate?: number;
557
573
  enable?: boolean;
558
574
  };
559
- /** @returns {CreateUpdateAddressSerializer} */
560
- declare function CreateUpdateAddressSerializer(): CreateUpdateAddressSerializer;
561
- type CreateUpdateAddressSerializer = {
575
+ /** @returns {CreateUpdateAddressSchema} */
576
+ declare function CreateUpdateAddressSchema(): CreateUpdateAddressSchema;
577
+ type CreateUpdateAddressSchema = {
562
578
  landmark?: string;
563
579
  country_code?: string;
564
- pincode?: string;
580
+ pincode: string;
565
581
  address_type: string;
566
582
  longitude: number;
567
583
  country: string;
@@ -579,21 +595,20 @@ type UpdateCompany = {
579
595
  warnings?: any;
580
596
  company_type?: string;
581
597
  _custom_json?: any;
582
- taxes?: CompanyTaxesSerializer1[];
598
+ taxes?: CompanyRequestTaxesSchema[];
583
599
  business_details?: BusinessDetails;
584
600
  documents?: Document[];
585
601
  business_type?: string;
586
- addresses?: CreateUpdateAddressSerializer[];
602
+ addresses?: CreateUpdateAddressSchema[];
587
603
  notification_emails?: string[];
588
604
  contact_details?: ContactDetails;
589
605
  reject_reason?: string;
590
606
  name?: string;
591
607
  };
592
- /** @returns {ProfileSuccessResponse} */
593
- declare function ProfileSuccessResponse(): ProfileSuccessResponse;
594
- type ProfileSuccessResponse = {
608
+ /** @returns {ProfileSuccessResponseSchema} */
609
+ declare function ProfileSuccessResponseSchema(): ProfileSuccessResponseSchema;
610
+ type ProfileSuccessResponseSchema = {
595
611
  uid?: number;
596
- data?: any[];
597
612
  message?: string;
598
613
  success?: boolean;
599
614
  };
@@ -603,9 +618,9 @@ type DocumentsObj = {
603
618
  pending?: number;
604
619
  verified?: number;
605
620
  };
606
- /** @returns {MetricsSerializer} */
607
- declare function MetricsSerializer(): MetricsSerializer;
608
- type MetricsSerializer = {
621
+ /** @returns {MetricsSchema} */
622
+ declare function MetricsSchema(): MetricsSchema;
623
+ type MetricsSchema = {
609
624
  stage?: string;
610
625
  store?: DocumentsObj;
611
626
  company_documents?: DocumentsObj;
@@ -614,21 +629,21 @@ type MetricsSerializer = {
614
629
  uid?: number;
615
630
  brand?: DocumentsObj;
616
631
  };
617
- /** @returns {BrandBannerSerializer} */
618
- declare function BrandBannerSerializer(): BrandBannerSerializer;
619
- type BrandBannerSerializer = {
632
+ /** @returns {BrandBannerSchema} */
633
+ declare function BrandBannerSchema(): BrandBannerSchema;
634
+ type BrandBannerSchema = {
620
635
  portrait: string;
621
636
  landscape: string;
622
637
  };
623
- /** @returns {GetBrandResponseSerializer} */
624
- declare function GetBrandResponseSerializer(): GetBrandResponseSerializer;
625
- type GetBrandResponseSerializer = {
626
- modified_by?: UserSerializer;
627
- banner?: BrandBannerSerializer;
638
+ /** @returns {GetBrandResponseSchema} */
639
+ declare function GetBrandResponseSchema(): GetBrandResponseSchema;
640
+ type GetBrandResponseSchema = {
641
+ modified_by?: UserSchema;
642
+ banner?: BrandBannerSchema;
628
643
  name: string;
629
644
  _custom_json?: any;
630
645
  verified_on?: string;
631
- created_by?: UserSerializer;
646
+ created_by?: UserSchema;
632
647
  created_on?: string;
633
648
  warnings?: any;
634
649
  _locale_language?: any;
@@ -638,14 +653,14 @@ type GetBrandResponseSerializer = {
638
653
  uid?: number;
639
654
  reject_reason?: string;
640
655
  stage?: string;
641
- verified_by?: UserSerializer;
656
+ verified_by?: UserSchema;
642
657
  slug_key?: string;
643
658
  logo?: string;
644
659
  description?: string;
645
660
  };
646
- /** @returns {CreateUpdateBrandRequestSerializer} */
647
- declare function CreateUpdateBrandRequestSerializer(): CreateUpdateBrandRequestSerializer;
648
- type CreateUpdateBrandRequestSerializer = {
661
+ /** @returns {CreateBrandRequestSchema} */
662
+ declare function CreateBrandRequestSchema(): CreateBrandRequestSchema;
663
+ type CreateBrandRequestSchema = {
649
664
  _custom_json?: any;
650
665
  _locale_language?: any;
651
666
  synonyms?: string[];
@@ -654,10 +669,24 @@ type CreateUpdateBrandRequestSerializer = {
654
669
  logo: string;
655
670
  brand_tier?: string;
656
671
  uid?: number;
657
- banner: BrandBannerSerializer;
672
+ banner: BrandBannerSchema;
658
673
  name: string;
659
674
  slug_key?: string;
660
675
  };
676
+ /** @returns {UpdateBrandRequestSchema} */
677
+ declare function UpdateBrandRequestSchema(): UpdateBrandRequestSchema;
678
+ type UpdateBrandRequestSchema = {
679
+ _custom_json?: any;
680
+ _locale_language?: any;
681
+ synonyms?: string[];
682
+ company_id?: number;
683
+ description?: string;
684
+ logo: string;
685
+ brand_tier?: string;
686
+ uid?: number;
687
+ banner: BrandBannerSchema;
688
+ name: string;
689
+ };
661
690
  /** @returns {CompanySocialAccounts} */
662
691
  declare function CompanySocialAccounts(): CompanySocialAccounts;
663
692
  type CompanySocialAccounts = {
@@ -670,43 +699,43 @@ type CompanyDetails = {
670
699
  socials?: CompanySocialAccounts[];
671
700
  website_url?: string;
672
701
  };
673
- /** @returns {CompanySerializer} */
674
- declare function CompanySerializer(): CompanySerializer;
675
- type CompanySerializer = {
702
+ /** @returns {CompanySchema} */
703
+ declare function CompanySchema(): CompanySchema;
704
+ type CompanySchema = {
676
705
  stage?: string;
677
706
  _custom_json?: any;
678
707
  verified_on?: string;
679
- verified_by?: UserSerializer;
708
+ verified_by?: UserSchema;
680
709
  created_on?: string;
681
- created_by?: UserSerializer;
710
+ created_by?: UserSchema;
682
711
  company_type: string;
683
712
  modified_on?: string;
684
713
  market_channels?: string[];
685
- business_type?: string;
686
- addresses?: GetAddressSerializer[];
714
+ business_type: string;
715
+ addresses?: GetAddressSchema[];
687
716
  notification_emails?: string[];
688
717
  details?: CompanyDetails;
689
718
  business_country_info?: BusinessCountryInfo;
690
719
  uid?: number;
691
720
  reject_reason?: string;
692
721
  name?: string;
693
- modified_by?: UserSerializer;
722
+ modified_by?: UserSchema;
694
723
  };
695
- /** @returns {CompanyBrandSerializer} */
696
- declare function CompanyBrandSerializer(): CompanyBrandSerializer;
697
- type CompanyBrandSerializer = {
724
+ /** @returns {CompanyBrandSchema} */
725
+ declare function CompanyBrandSchema(): CompanyBrandSchema;
726
+ type CompanyBrandSchema = {
698
727
  stage?: string;
699
728
  verified_on?: string;
700
- verified_by?: UserSerializer;
729
+ verified_by?: UserSchema;
701
730
  created_on?: string;
702
- created_by?: UserSerializer;
703
- company?: CompanySerializer;
731
+ created_by?: UserSchema;
732
+ company?: CompanySchema;
704
733
  warnings?: any;
705
734
  modified_on?: string;
706
735
  uid?: number;
707
736
  reject_reason?: string;
708
- brand?: GetBrandResponseSerializer;
709
- modified_by?: UserSerializer;
737
+ brand?: GetBrandResponseSchema;
738
+ modified_by?: UserSchema;
710
739
  };
711
740
  /** @returns {Page} */
712
741
  declare function Page(): Page;
@@ -740,139 +769,139 @@ type Page = {
740
769
  */
741
770
  size?: number;
742
771
  /**
743
- * - Total number of items.
772
+ * - The number of items per page.
744
773
  */
745
- total?: number;
774
+ page_size?: number;
746
775
  };
747
- /** @returns {CompanyBrandListSerializer} */
748
- declare function CompanyBrandListSerializer(): CompanyBrandListSerializer;
749
- type CompanyBrandListSerializer = {
750
- items?: CompanyBrandSerializer[];
776
+ /** @returns {CompanyBrandListSchema} */
777
+ declare function CompanyBrandListSchema(): CompanyBrandListSchema;
778
+ type CompanyBrandListSchema = {
779
+ items?: CompanyBrandSchema[];
751
780
  page?: Page;
752
781
  };
753
- /** @returns {CompanyBrandPostRequestSerializer} */
754
- declare function CompanyBrandPostRequestSerializer(): CompanyBrandPostRequestSerializer;
755
- type CompanyBrandPostRequestSerializer = {
782
+ /** @returns {CompanyBrandPostRequestSchema} */
783
+ declare function CompanyBrandPostRequestSchema(): CompanyBrandPostRequestSchema;
784
+ type CompanyBrandPostRequestSchema = {
756
785
  uid?: number;
757
786
  brands: number[];
758
787
  company: number;
759
788
  };
760
- /** @returns {InvoiceCredSerializer} */
761
- declare function InvoiceCredSerializer(): InvoiceCredSerializer;
762
- type InvoiceCredSerializer = {
789
+ /** @returns {InvoiceCredSchema} */
790
+ declare function InvoiceCredSchema(): InvoiceCredSchema;
791
+ type InvoiceCredSchema = {
763
792
  username?: string;
764
793
  enabled?: boolean;
765
794
  password?: string;
766
795
  };
767
- /** @returns {InvoiceDetailsSerializer} */
768
- declare function InvoiceDetailsSerializer(): InvoiceDetailsSerializer;
769
- type InvoiceDetailsSerializer = {
770
- e_invoice?: InvoiceCredSerializer;
771
- e_waybill?: InvoiceCredSerializer;
796
+ /** @returns {InvoiceDetailsSchema} */
797
+ declare function InvoiceDetailsSchema(): InvoiceDetailsSchema;
798
+ type InvoiceDetailsSchema = {
799
+ e_invoice?: InvoiceCredSchema;
800
+ e_waybill?: InvoiceCredSchema;
772
801
  };
773
- /** @returns {GetCompanySerializer} */
774
- declare function GetCompanySerializer(): GetCompanySerializer;
775
- type GetCompanySerializer = {
802
+ /** @returns {GetCompanySchema} */
803
+ declare function GetCompanySchema(): GetCompanySchema;
804
+ type GetCompanySchema = {
776
805
  stage?: string;
777
806
  verified_on?: string;
778
- verified_by?: UserSerializer;
807
+ verified_by?: UserSchema;
779
808
  created_on?: string;
780
- created_by?: UserSerializer;
809
+ created_by?: UserSchema;
781
810
  company_type?: string;
782
811
  modified_on?: string;
783
812
  business_type?: string;
784
- addresses?: GetAddressSerializer[];
813
+ addresses?: GetAddressSchema[];
785
814
  uid?: number;
786
815
  reject_reason?: string;
787
816
  name?: string;
788
- modified_by?: UserSerializer;
817
+ modified_by?: UserSchema;
789
818
  };
790
- /** @returns {LocationManagerSerializer} */
791
- declare function LocationManagerSerializer(): LocationManagerSerializer;
792
- type LocationManagerSerializer = {
819
+ /** @returns {LocationManagerSchema} */
820
+ declare function LocationManagerSchema(): LocationManagerSchema;
821
+ type LocationManagerSchema = {
793
822
  email?: string;
794
823
  mobile_no: SellerPhoneNumber;
795
824
  name?: string;
796
825
  };
797
- /** @returns {LocationTimingSerializer} */
798
- declare function LocationTimingSerializer(): LocationTimingSerializer;
799
- type LocationTimingSerializer = {
826
+ /** @returns {LocationTimingSchema} */
827
+ declare function LocationTimingSchema(): LocationTimingSchema;
828
+ type LocationTimingSchema = {
800
829
  hour: number;
801
830
  minute: number;
802
831
  };
803
- /** @returns {LocationDayWiseSerializer} */
804
- declare function LocationDayWiseSerializer(): LocationDayWiseSerializer;
805
- type LocationDayWiseSerializer = {
832
+ /** @returns {LocationDayWiseSchema} */
833
+ declare function LocationDayWiseSchema(): LocationDayWiseSchema;
834
+ type LocationDayWiseSchema = {
806
835
  open: boolean;
807
836
  weekday: string;
808
- opening?: LocationTimingSerializer;
809
- closing?: LocationTimingSerializer;
837
+ opening?: LocationTimingSchema;
838
+ closing?: LocationTimingSchema;
810
839
  };
811
- /** @returns {HolidayDateSerializer} */
812
- declare function HolidayDateSerializer(): HolidayDateSerializer;
813
- type HolidayDateSerializer = {
840
+ /** @returns {HolidayDateSchema} */
841
+ declare function HolidayDateSchema(): HolidayDateSchema;
842
+ type HolidayDateSchema = {
814
843
  end_date: string;
815
844
  start_date: string;
816
845
  };
817
- /** @returns {HolidaySchemaSerializer} */
818
- declare function HolidaySchemaSerializer(): HolidaySchemaSerializer;
819
- type HolidaySchemaSerializer = {
820
- date: HolidayDateSerializer;
846
+ /** @returns {HolidaySchemaSchema} */
847
+ declare function HolidaySchemaSchema(): HolidaySchemaSchema;
848
+ type HolidaySchemaSchema = {
849
+ date: HolidayDateSchema;
821
850
  title: string;
822
851
  holiday_type: string;
823
852
  };
824
- /** @returns {ProductReturnConfigSerializer} */
825
- declare function ProductReturnConfigSerializer(): ProductReturnConfigSerializer;
826
- type ProductReturnConfigSerializer = {
853
+ /** @returns {ProductReturnConfigSchema} */
854
+ declare function ProductReturnConfigSchema(): ProductReturnConfigSchema;
855
+ type ProductReturnConfigSchema = {
827
856
  on_same_store?: boolean;
828
857
  store_uid?: number;
829
858
  };
830
- /** @returns {GetLocationSerializer} */
831
- declare function GetLocationSerializer(): GetLocationSerializer;
832
- type GetLocationSerializer = {
859
+ /** @returns {GetLocationSchema} */
860
+ declare function GetLocationSchema(): GetLocationSchema;
861
+ type GetLocationSchema = {
833
862
  code: string;
834
863
  phone_number?: string;
835
864
  contact_numbers?: SellerPhoneNumber[];
836
- gst_credentials?: InvoiceDetailsSerializer;
865
+ gst_credentials?: InvoiceDetailsSchema;
837
866
  name: string;
838
867
  _custom_json?: any;
839
868
  verified_on?: string;
840
- created_by?: UserSerializer;
869
+ created_by?: UserSchema;
841
870
  created_on?: string;
842
- company?: GetCompanySerializer;
843
- address: GetAddressSerializer;
871
+ company?: GetCompanySchema;
872
+ address: GetAddressSchema;
844
873
  warnings?: any;
845
874
  store_type?: string;
846
- manager?: LocationManagerSerializer;
875
+ manager?: LocationManagerSchema;
847
876
  auto_invoice?: boolean;
848
877
  modified_on?: string;
849
878
  uid?: number;
850
- timing?: LocationDayWiseSerializer[];
879
+ timing?: LocationDayWiseSchema[];
851
880
  stage?: string;
852
881
  documents?: Document[];
853
882
  credit_note?: boolean;
854
- holiday?: HolidaySchemaSerializer[];
883
+ holiday?: HolidaySchemaSchema[];
855
884
  display_name: string;
856
- product_return_config?: ProductReturnConfigSerializer;
857
- verified_by?: UserSerializer;
885
+ product_return_config?: ProductReturnConfigSchema;
886
+ verified_by?: UserSchema;
858
887
  notification_emails?: string[];
859
- modified_by?: UserSerializer;
888
+ modified_by?: UserSchema;
860
889
  tags?: string[];
861
890
  default_order_acceptance_timing?: boolean;
862
- order_acceptance_timing?: LocationDayWiseSerializer[];
891
+ order_acceptance_timing?: LocationDayWiseSchema[];
863
892
  avg_order_processing_time?: AverageOrderProcessingTime;
864
893
  bulk_shipment?: boolean;
865
894
  auto_assign_courier_partner?: boolean;
866
895
  };
867
- /** @returns {LocationListSerializer} */
868
- declare function LocationListSerializer(): LocationListSerializer;
869
- type LocationListSerializer = {
870
- items?: GetLocationSerializer[];
896
+ /** @returns {LocationListSchema} */
897
+ declare function LocationListSchema(): LocationListSchema;
898
+ type LocationListSchema = {
899
+ items?: GetLocationSchema[];
871
900
  page?: Page;
872
901
  };
873
- /** @returns {AddressSerializer} */
874
- declare function AddressSerializer(): AddressSerializer;
875
- type AddressSerializer = {
902
+ /** @returns {AddressSchema} */
903
+ declare function AddressSchema(): AddressSchema;
904
+ type AddressSchema = {
876
905
  landmark?: string;
877
906
  country_code: string;
878
907
  pincode?: string;
@@ -887,27 +916,27 @@ type AddressSerializer = {
887
916
  city?: string;
888
917
  latitude: number;
889
918
  };
890
- /** @returns {LocationSerializer} */
891
- declare function LocationSerializer(): LocationSerializer;
892
- type LocationSerializer = {
919
+ /** @returns {LocationSchema} */
920
+ declare function LocationSchema(): LocationSchema;
921
+ type LocationSchema = {
893
922
  code: string;
894
- gst_credentials?: InvoiceDetailsSerializer;
923
+ gst_credentials?: InvoiceDetailsSchema;
895
924
  contact_numbers?: SellerPhoneNumber[];
896
925
  name: string;
897
926
  _custom_json?: any;
898
927
  warnings?: any;
899
- address: AddressSerializer;
928
+ address: AddressSchema;
900
929
  company: number;
901
930
  store_type?: string;
902
- manager?: LocationManagerSerializer;
931
+ manager?: LocationManagerSchema;
903
932
  auto_invoice?: boolean;
904
933
  uid?: number;
905
- timing?: LocationDayWiseSerializer[];
934
+ timing?: LocationDayWiseSchema[];
906
935
  stage?: string;
907
936
  documents: Document[];
908
937
  credit_note?: boolean;
909
- holiday?: HolidaySchemaSerializer[];
910
- product_return_config?: ProductReturnConfigSerializer;
938
+ holiday?: HolidaySchemaSchema[];
939
+ product_return_config?: ProductReturnConfigSchema;
911
940
  display_name: string;
912
941
  notification_emails?: string[];
913
942
  tags?: string[];
@@ -920,15 +949,15 @@ type LocationSerializer = {
920
949
  * - Order
921
950
  * acceptance timing of the store
922
951
  */
923
- order_acceptance_timing?: LocationDayWiseSerializer[];
952
+ order_acceptance_timing?: LocationDayWiseSchema[];
924
953
  avg_order_processing_time?: AverageOrderProcessingTime;
925
954
  bulk_shipment?: boolean;
926
955
  auto_assign_courier_partner?: boolean;
927
956
  };
928
- /** @returns {BulkLocationSerializer} */
929
- declare function BulkLocationSerializer(): BulkLocationSerializer;
930
- type BulkLocationSerializer = {
931
- data?: LocationSerializer[];
957
+ /** @returns {BulkLocationSchema} */
958
+ declare function BulkLocationSchema(): BulkLocationSchema;
959
+ type BulkLocationSchema = {
960
+ data?: LocationSchema[];
932
961
  };
933
962
  /** @returns {AverageOrderProcessingTime} */
934
963
  declare function AverageOrderProcessingTime(): AverageOrderProcessingTime;