@gofynd/fdk-client-javascript 1.6.3 → 3.0.0-beta.1

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