@gofynd/fdk-client-javascript 1.1.6 → 1.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 (321) hide show
  1. package/README.md +12 -0
  2. package/index.js +0 -3
  3. package/package.json +1 -1
  4. package/sdk/application/ApplicationAPIClient.d.ts +15 -1
  5. package/sdk/application/ApplicationAPIClient.js +8 -1
  6. package/sdk/application/ApplicationClient.d.ts +37 -6
  7. package/sdk/application/ApplicationClient.js +31 -0
  8. package/sdk/application/ApplicationConfig.d.ts +52 -12
  9. package/sdk/application/ApplicationConfig.js +37 -2
  10. package/sdk/application/ApplicationModels.d.ts +46 -1
  11. package/sdk/application/ApplicationModels.js +18 -0
  12. package/sdk/application/Cart/CartApplicationClient.d.ts +172 -357
  13. package/sdk/application/Cart/CartApplicationClient.js +620 -483
  14. package/sdk/application/Cart/CartApplicationModel.d.ts +2054 -96
  15. package/sdk/application/Cart/CartApplicationModel.js +1224 -93
  16. package/sdk/application/Cart/CartApplicationValidator.d.ts +508 -30
  17. package/sdk/application/Cart/CartApplicationValidator.js +270 -15
  18. package/sdk/application/Catalog/CatalogApplicationClient.d.ts +234 -413
  19. package/sdk/application/Catalog/CatalogApplicationClient.js +777 -630
  20. package/sdk/application/Catalog/CatalogApplicationModel.d.ts +2218 -117
  21. package/sdk/application/Catalog/CatalogApplicationModel.js +1499 -170
  22. package/sdk/application/Catalog/CatalogApplicationValidator.d.ts +798 -31
  23. package/sdk/application/Catalog/CatalogApplicationValidator.js +318 -3
  24. package/sdk/application/Common/CommonApplicationClient.d.ts +14 -21
  25. package/sdk/application/Common/CommonApplicationClient.js +50 -33
  26. package/sdk/application/Common/CommonApplicationModel.d.ts +448 -19
  27. package/sdk/application/Common/CommonApplicationModel.js +224 -16
  28. package/sdk/application/Common/CommonApplicationValidator.d.ts +42 -4
  29. package/sdk/application/Common/CommonApplicationValidator.js +21 -3
  30. package/sdk/application/Communication/CommunicationApplicationClient.d.ts +25 -18
  31. package/sdk/application/Communication/CommunicationApplicationClient.js +74 -47
  32. package/sdk/application/Communication/CommunicationApplicationModel.d.ts +190 -14
  33. package/sdk/application/Communication/CommunicationApplicationModel.js +124 -7
  34. package/sdk/application/Communication/CommunicationApplicationValidator.d.ts +27 -4
  35. package/sdk/application/Communication/CommunicationApplicationValidator.js +21 -5
  36. package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +113 -112
  37. package/sdk/application/Configuration/ConfigurationApplicationClient.js +381 -260
  38. package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +2453 -110
  39. package/sdk/application/Configuration/ConfigurationApplicationModel.js +1254 -108
  40. package/sdk/application/Configuration/ConfigurationApplicationValidator.d.ts +160 -8
  41. package/sdk/application/Configuration/ConfigurationApplicationValidator.js +88 -4
  42. package/sdk/application/Content/ContentApplicationClient.d.ts +120 -138
  43. package/sdk/application/Content/ContentApplicationClient.js +409 -277
  44. package/sdk/application/Content/ContentApplicationModel.d.ts +1627 -105
  45. package/sdk/application/Content/ContentApplicationModel.js +1202 -109
  46. package/sdk/application/Content/ContentApplicationValidator.d.ts +214 -12
  47. package/sdk/application/Content/ContentApplicationValidator.js +113 -3
  48. package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +20 -29
  49. package/sdk/application/FileStorage/FileStorageApplicationClient.js +68 -47
  50. package/sdk/application/FileStorage/FileStorageApplicationModel.d.ts +299 -20
  51. package/sdk/application/FileStorage/FileStorageApplicationModel.js +209 -16
  52. package/sdk/application/FileStorage/FileStorageApplicationValidator.d.ts +55 -5
  53. package/sdk/application/FileStorage/FileStorageApplicationValidator.js +33 -6
  54. package/sdk/application/Lead/LeadApplicationClient.d.ts +50 -53
  55. package/sdk/application/Lead/LeadApplicationClient.js +169 -103
  56. package/sdk/application/Lead/LeadApplicationModel.d.ts +1405 -54
  57. package/sdk/application/Lead/LeadApplicationModel.js +619 -73
  58. package/sdk/application/Lead/LeadApplicationValidator.d.ts +91 -9
  59. package/sdk/application/Lead/LeadApplicationValidator.js +51 -6
  60. package/sdk/application/Logistic/LogisticApplicationClient.d.ts +34 -33
  61. package/sdk/application/Logistic/LogisticApplicationClient.js +110 -73
  62. package/sdk/application/Logistic/LogisticApplicationModel.d.ts +399 -28
  63. package/sdk/application/Logistic/LogisticApplicationModel.js +293 -24
  64. package/sdk/application/Logistic/LogisticApplicationValidator.d.ts +48 -6
  65. package/sdk/application/Logistic/LogisticApplicationValidator.js +34 -6
  66. package/sdk/application/Order/OrderApplicationClient.d.ts +81 -133
  67. package/sdk/application/Order/OrderApplicationClient.js +297 -217
  68. package/sdk/application/Order/OrderApplicationModel.d.ts +1101 -66
  69. package/sdk/application/Order/OrderApplicationModel.js +776 -57
  70. package/sdk/application/Order/OrderApplicationValidator.d.ts +249 -14
  71. package/sdk/application/Order/OrderApplicationValidator.js +114 -5
  72. package/sdk/application/Payment/PaymentApplicationClient.d.ts +341 -356
  73. package/sdk/application/Payment/PaymentApplicationClient.js +1077 -703
  74. package/sdk/application/Payment/PaymentApplicationModel.d.ts +3125 -99
  75. package/sdk/application/Payment/PaymentApplicationModel.js +1158 -62
  76. package/sdk/application/Payment/PaymentApplicationValidator.d.ts +494 -41
  77. package/sdk/application/Payment/PaymentApplicationValidator.js +297 -25
  78. package/sdk/application/PosCart/PosCartApplicationClient.d.ts +178 -350
  79. package/sdk/application/PosCart/PosCartApplicationClient.js +636 -491
  80. package/sdk/application/PosCart/PosCartApplicationModel.d.ts +1823 -89
  81. package/sdk/application/PosCart/PosCartApplicationModel.js +1117 -85
  82. package/sdk/application/PosCart/PosCartApplicationValidator.d.ts +480 -29
  83. package/sdk/application/PosCart/PosCartApplicationValidator.js +262 -15
  84. package/sdk/application/Rewards/RewardsApplicationClient.d.ts +49 -47
  85. package/sdk/application/Rewards/RewardsApplicationClient.js +160 -102
  86. package/sdk/application/Rewards/RewardsApplicationModel.d.ts +343 -22
  87. package/sdk/application/Rewards/RewardsApplicationModel.js +230 -15
  88. package/sdk/application/Rewards/RewardsApplicationValidator.d.ts +70 -7
  89. package/sdk/application/Rewards/RewardsApplicationValidator.js +45 -6
  90. package/sdk/application/Share/ShareApplicationClient.d.ts +44 -50
  91. package/sdk/application/Share/ShareApplicationClient.js +165 -97
  92. package/sdk/application/Share/ShareApplicationModel.d.ts +230 -15
  93. package/sdk/application/Share/ShareApplicationModel.js +154 -16
  94. package/sdk/application/Share/ShareApplicationValidator.d.ts +86 -8
  95. package/sdk/application/Share/ShareApplicationValidator.js +48 -4
  96. package/sdk/application/Theme/ThemeApplicationClient.d.ts +25 -27
  97. package/sdk/application/Theme/ThemeApplicationClient.js +83 -54
  98. package/sdk/application/Theme/ThemeApplicationModel.d.ts +621 -48
  99. package/sdk/application/Theme/ThemeApplicationModel.js +464 -40
  100. package/sdk/application/Theme/ThemeApplicationValidator.d.ts +49 -5
  101. package/sdk/application/Theme/ThemeApplicationValidator.js +26 -3
  102. package/sdk/application/User/UserApplicationClient.d.ts +219 -303
  103. package/sdk/application/User/UserApplicationClient.js +819 -522
  104. package/sdk/application/User/UserApplicationModel.d.ts +1390 -101
  105. package/sdk/application/User/UserApplicationModel.js +983 -44
  106. package/sdk/application/User/UserApplicationValidator.d.ts +457 -33
  107. package/sdk/application/User/UserApplicationValidator.js +265 -31
  108. package/sdk/common/AxiosHelper.js +8 -2
  109. package/sdk/common/Paginator.d.ts +27 -12
  110. package/sdk/common/Paginator.js +15 -0
  111. package/sdk/common/RequestSigner.js +0 -1
  112. package/sdk/partner/PartnerAPIClient.d.ts +15 -1
  113. package/sdk/partner/PartnerAPIClient.js +8 -1
  114. package/sdk/partner/PartnerClient.d.ts +20 -3
  115. package/sdk/partner/PartnerClient.js +17 -0
  116. package/sdk/partner/PartnerConfig.d.ts +40 -14
  117. package/sdk/partner/PartnerConfig.js +31 -6
  118. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +26 -25
  119. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +82 -53
  120. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +202 -17
  121. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +139 -10
  122. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +42 -5
  123. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +26 -4
  124. package/sdk/platform/Billing/BillingPlatformClient.d.ts +88 -97
  125. package/sdk/platform/Billing/BillingPlatformClient.js +310 -191
  126. package/sdk/platform/Billing/BillingPlatformModel.d.ts +1211 -68
  127. package/sdk/platform/Billing/BillingPlatformModel.js +824 -59
  128. package/sdk/platform/Billing/BillingPlatformValidator.d.ts +153 -12
  129. package/sdk/platform/Billing/BillingPlatformValidator.js +87 -8
  130. package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +392 -634
  131. package/sdk/platform/Cart/CartPlatformApplicationClient.js +1480 -957
  132. package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +827 -57
  133. package/sdk/platform/Cart/CartPlatformApplicationValidator.js +492 -34
  134. package/sdk/platform/Cart/CartPlatformModel.d.ts +3639 -175
  135. package/sdk/platform/Cart/CartPlatformModel.js +2368 -212
  136. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +438 -615
  137. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +1449 -984
  138. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +1081 -49
  139. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +482 -23
  140. package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +573 -824
  141. package/sdk/platform/Catalog/CatalogPlatformClient.js +1773 -1264
  142. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +6871 -326
  143. package/sdk/platform/Catalog/CatalogPlatformModel.js +4215 -349
  144. package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +1331 -71
  145. package/sdk/platform/Catalog/CatalogPlatformValidator.js +611 -30
  146. package/sdk/platform/Common/CommonPlatformClient.d.ts +14 -21
  147. package/sdk/platform/Common/CommonPlatformClient.js +48 -33
  148. package/sdk/platform/Common/CommonPlatformModel.d.ts +448 -19
  149. package/sdk/platform/Common/CommonPlatformModel.js +224 -16
  150. package/sdk/platform/Common/CommonPlatformValidator.d.ts +42 -4
  151. package/sdk/platform/Common/CommonPlatformValidator.js +21 -3
  152. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +457 -279
  153. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +1423 -553
  154. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +581 -42
  155. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +294 -22
  156. package/sdk/platform/Communication/CommunicationPlatformClient.d.ts +18 -5
  157. package/sdk/platform/Communication/CommunicationPlatformClient.js +58 -19
  158. package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +1630 -102
  159. package/sdk/platform/Communication/CommunicationPlatformModel.js +1150 -85
  160. package/sdk/platform/Communication/CommunicationPlatformValidator.d.ts +16 -3
  161. package/sdk/platform/Communication/CommunicationPlatformValidator.js +11 -3
  162. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +102 -111
  163. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +321 -225
  164. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +830 -43
  165. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +612 -78
  166. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +180 -13
  167. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +98 -10
  168. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +232 -212
  169. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +737 -438
  170. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +293 -22
  171. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +184 -17
  172. package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +166 -178
  173. package/sdk/platform/Configuration/ConfigurationPlatformClient.js +519 -310
  174. package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +4504 -188
  175. package/sdk/platform/Configuration/ConfigurationPlatformModel.js +2242 -204
  176. package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +332 -19
  177. package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +153 -10
  178. package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +495 -560
  179. package/sdk/platform/Content/ContentPlatformApplicationClient.js +1777 -987
  180. package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +872 -62
  181. package/sdk/platform/Content/ContentPlatformApplicationValidator.js +487 -35
  182. package/sdk/platform/Content/ContentPlatformModel.d.ts +1661 -108
  183. package/sdk/platform/Content/ContentPlatformModel.js +1217 -113
  184. package/sdk/platform/Discount/DiscountPlatformClient.d.ts +67 -101
  185. package/sdk/platform/Discount/DiscountPlatformClient.js +240 -176
  186. package/sdk/platform/Discount/DiscountPlatformModel.d.ts +242 -15
  187. package/sdk/platform/Discount/DiscountPlatformModel.js +162 -10
  188. package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +185 -13
  189. package/sdk/platform/Discount/DiscountPlatformValidator.js +88 -8
  190. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +32 -41
  191. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +106 -74
  192. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +77 -6
  193. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +41 -6
  194. package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +39 -54
  195. package/sdk/platform/FileStorage/FileStoragePlatformClient.js +124 -99
  196. package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +299 -20
  197. package/sdk/platform/FileStorage/FileStoragePlatformModel.js +207 -16
  198. package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +98 -8
  199. package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +54 -7
  200. package/sdk/platform/Finance/FinancePlatformClient.d.ts +85 -91
  201. package/sdk/platform/Finance/FinancePlatformClient.js +272 -180
  202. package/sdk/platform/Finance/FinancePlatformModel.d.ts +619 -50
  203. package/sdk/platform/Finance/FinancePlatformModel.js +458 -30
  204. package/sdk/platform/Finance/FinancePlatformValidator.d.ts +123 -15
  205. package/sdk/platform/Finance/FinancePlatformValidator.js +95 -16
  206. package/sdk/platform/Inventory/InventoryPlatformClient.d.ts +99 -97
  207. package/sdk/platform/Inventory/InventoryPlatformClient.js +288 -199
  208. package/sdk/platform/Inventory/InventoryPlatformModel.d.ts +1354 -61
  209. package/sdk/platform/Inventory/InventoryPlatformModel.js +916 -83
  210. package/sdk/platform/Inventory/InventoryPlatformValidator.d.ts +168 -12
  211. package/sdk/platform/Inventory/InventoryPlatformValidator.js +82 -6
  212. package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +86 -106
  213. package/sdk/platform/Lead/LeadPlatformApplicationClient.js +326 -186
  214. package/sdk/platform/Lead/LeadPlatformApplicationValidator.d.ts +180 -14
  215. package/sdk/platform/Lead/LeadPlatformApplicationValidator.js +94 -9
  216. package/sdk/platform/Lead/LeadPlatformClient.d.ts +75 -101
  217. package/sdk/platform/Lead/LeadPlatformClient.js +240 -174
  218. package/sdk/platform/Lead/LeadPlatformModel.d.ts +1403 -54
  219. package/sdk/platform/Lead/LeadPlatformModel.js +618 -73
  220. package/sdk/platform/Lead/LeadPlatformValidator.d.ts +173 -12
  221. package/sdk/platform/Lead/LeadPlatformValidator.js +85 -8
  222. package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +18 -14
  223. package/sdk/platform/Order/OrderPlatformApplicationClient.js +56 -29
  224. package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +26 -4
  225. package/sdk/platform/Order/OrderPlatformApplicationValidator.js +16 -3
  226. package/sdk/platform/Order/OrderPlatformClient.d.ts +343 -556
  227. package/sdk/platform/Order/OrderPlatformClient.js +969 -762
  228. package/sdk/platform/Order/OrderPlatformModel.d.ts +4967 -247
  229. package/sdk/platform/Order/OrderPlatformModel.js +3249 -259
  230. package/sdk/platform/Order/OrderPlatformValidator.d.ts +758 -37
  231. package/sdk/platform/Order/OrderPlatformValidator.js +351 -22
  232. package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +28 -36
  233. package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +103 -59
  234. package/sdk/platform/Partner/PartnerPlatformApplicationValidator.d.ts +66 -6
  235. package/sdk/platform/Partner/PartnerPlatformApplicationValidator.js +32 -4
  236. package/sdk/platform/Partner/PartnerPlatformClient.d.ts +68 -107
  237. package/sdk/platform/Partner/PartnerPlatformClient.js +253 -174
  238. package/sdk/platform/Partner/PartnerPlatformModel.d.ts +767 -45
  239. package/sdk/platform/Partner/PartnerPlatformModel.js +524 -41
  240. package/sdk/platform/Partner/PartnerPlatformValidator.d.ts +207 -13
  241. package/sdk/platform/Partner/PartnerPlatformValidator.js +87 -5
  242. package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +255 -260
  243. package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +860 -504
  244. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +348 -30
  245. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +221 -19
  246. package/sdk/platform/Payment/PaymentPlatformClient.d.ts +73 -73
  247. package/sdk/platform/Payment/PaymentPlatformClient.js +238 -154
  248. package/sdk/platform/Payment/PaymentPlatformModel.d.ts +2658 -93
  249. package/sdk/platform/Payment/PaymentPlatformModel.js +1035 -36
  250. package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +111 -11
  251. package/sdk/platform/Payment/PaymentPlatformValidator.js +68 -7
  252. package/sdk/platform/PlatformAPIClient.d.ts +16 -1
  253. package/sdk/platform/PlatformAPIClient.js +9 -1
  254. package/sdk/platform/PlatformApplicationClient.d.ts +22 -1798
  255. package/sdk/platform/PlatformApplicationClient.js +17 -1899
  256. package/sdk/platform/PlatformClient.d.ts +29 -12579
  257. package/sdk/platform/PlatformClient.js +26 -15085
  258. package/sdk/platform/PlatformConfig.d.ts +37 -11
  259. package/sdk/platform/PlatformConfig.js +32 -6
  260. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +80 -92
  261. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +307 -177
  262. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +149 -12
  263. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.js +82 -8
  264. package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +371 -23
  265. package/sdk/platform/Rewards/RewardsPlatformModel.js +246 -16
  266. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +120 -89
  267. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +349 -201
  268. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +128 -12
  269. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +85 -11
  270. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +148 -178
  271. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +454 -329
  272. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +1399 -96
  273. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +1022 -71
  274. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +280 -18
  275. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +134 -11
  276. package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +38 -47
  277. package/sdk/platform/Share/SharePlatformApplicationClient.js +137 -73
  278. package/sdk/platform/Share/SharePlatformApplicationValidator.d.ts +87 -7
  279. package/sdk/platform/Share/SharePlatformApplicationValidator.js +42 -5
  280. package/sdk/platform/Share/SharePlatformModel.d.ts +250 -16
  281. package/sdk/platform/Share/SharePlatformModel.js +165 -17
  282. package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +149 -183
  283. package/sdk/platform/Theme/ThemePlatformApplicationClient.js +579 -330
  284. package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +308 -24
  285. package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +162 -10
  286. package/sdk/platform/Theme/ThemePlatformModel.d.ts +621 -48
  287. package/sdk/platform/Theme/ThemePlatformModel.js +464 -40
  288. package/sdk/platform/User/UserPlatformApplicationClient.d.ts +119 -151
  289. package/sdk/platform/User/UserPlatformApplicationClient.js +411 -244
  290. package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +235 -18
  291. package/sdk/platform/User/UserPlatformApplicationValidator.js +126 -12
  292. package/sdk/platform/User/UserPlatformModel.d.ts +1390 -101
  293. package/sdk/platform/User/UserPlatformModel.js +983 -44
  294. package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +38 -47
  295. package/sdk/platform/Webhook/WebhookPlatformClient.js +137 -87
  296. package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +242 -16
  297. package/sdk/platform/Webhook/WebhookPlatformModel.js +167 -18
  298. package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +83 -7
  299. package/sdk/platform/Webhook/WebhookPlatformValidator.js +43 -5
  300. package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +14 -21
  301. package/sdk/public/Configuration/ConfigurationPublicClient.js +46 -33
  302. package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +473 -19
  303. package/sdk/public/Configuration/ConfigurationPublicModel.js +224 -16
  304. package/sdk/public/Configuration/ConfigurationPublicValidator.d.ts +42 -4
  305. package/sdk/public/Configuration/ConfigurationPublicValidator.js +21 -3
  306. package/sdk/public/Inventory/InventoryPublicClient.d.ts +48 -48
  307. package/sdk/public/Inventory/InventoryPublicClient.js +146 -98
  308. package/sdk/public/Inventory/InventoryPublicModel.d.ts +392 -21
  309. package/sdk/public/Inventory/InventoryPublicModel.js +267 -27
  310. package/sdk/public/Inventory/InventoryPublicValidator.d.ts +90 -8
  311. package/sdk/public/Inventory/InventoryPublicValidator.js +44 -4
  312. package/sdk/public/PublicClient.d.ts +19 -3
  313. package/sdk/public/PublicClient.js +16 -0
  314. package/sdk/public/PublicConfig.d.ts +27 -6
  315. package/sdk/public/PublicConfig.js +17 -1
  316. package/sdk/public/Webhook/WebhookPublicClient.d.ts +13 -11
  317. package/sdk/public/Webhook/WebhookPublicClient.js +42 -27
  318. package/sdk/public/Webhook/WebhookPublicModel.d.ts +242 -16
  319. package/sdk/public/Webhook/WebhookPublicModel.js +167 -18
  320. package/sdk/public/Webhook/WebhookPublicValidator.d.ts +18 -3
  321. package/sdk/public/Webhook/WebhookPublicValidator.js +14 -4
@@ -1,44 +1,831 @@
1
- export = CompanyProfileModel;
2
- declare class CompanyProfileModel {
3
- static AddressSerializer(): any;
4
- static BrandBannerSerializer(): any;
5
- static BulkLocationSerializer(): any;
6
- static BusinessCountryInfo(): any;
7
- static BusinessDetails(): any;
8
- static CompanyBrandListSerializer(): any;
9
- static CompanyBrandPostRequestSerializer(): any;
10
- static CompanyBrandSerializer(): any;
11
- static CompanyDetails(): any;
12
- static CompanySerializer(): any;
13
- static CompanySocialAccounts(): any;
14
- static CompanyTaxesSerializer(): any;
15
- static CompanyTaxesSerializer1(): any;
16
- static ContactDetails(): any;
17
- static CreateUpdateAddressSerializer(): any;
18
- static CreateUpdateBrandRequestSerializer(): any;
19
- static Document(): any;
20
- static DocumentsObj(): any;
21
- static ErrorResponse(): any;
22
- static GetAddressSerializer(): any;
23
- static GetBrandResponseSerializer(): any;
24
- static GetCompanyProfileSerializerResponse(): any;
25
- static GetCompanySerializer(): any;
26
- static GetLocationSerializer(): any;
27
- static HolidayDateSerializer(): any;
28
- static HolidaySchemaSerializer(): any;
29
- static InvoiceCredSerializer(): any;
30
- static InvoiceDetailsSerializer(): any;
31
- static LocationDayWiseSerializer(): any;
32
- static LocationListSerializer(): any;
33
- static LocationManagerSerializer(): any;
34
- static LocationSerializer(): any;
35
- static LocationTimingSerializer(): any;
36
- static MetricsSerializer(): any;
37
- static Page(): any;
38
- static ProductReturnConfigSerializer(): any;
39
- static ProfileSuccessResponse(): any;
40
- static SellerPhoneNumber(): any;
41
- static UpdateCompany(): any;
42
- static UserSerializer(): any;
43
- static Website(): any;
1
+ export = CompanyProfilePlatformModel;
2
+ /**
3
+ * @typedef AddressSerializer
4
+ * @property {string} [address_type]
5
+ * @property {string} [address1]
6
+ * @property {string} [address2]
7
+ * @property {string} [city]
8
+ * @property {string} [country]
9
+ * @property {string} [country_code]
10
+ * @property {string} [landmark]
11
+ * @property {number} latitude
12
+ * @property {number} longitude
13
+ * @property {number} [pincode]
14
+ * @property {string} [state]
15
+ */
16
+ /**
17
+ * @typedef BrandBannerSerializer
18
+ * @property {string} landscape
19
+ * @property {string} portrait
20
+ */
21
+ /**
22
+ * @typedef BulkLocationSerializer
23
+ * @property {LocationSerializer[]} [data]
24
+ */
25
+ /**
26
+ * @typedef BusinessCountryInfo
27
+ * @property {string} [country]
28
+ * @property {string} [country_code]
29
+ */
30
+ /**
31
+ * @typedef BusinessDetails
32
+ * @property {Website} [website]
33
+ */
34
+ /**
35
+ * @typedef CompanyBrandListSerializer
36
+ * @property {CompanyBrandSerializer[]} [items]
37
+ * @property {Page} [page]
38
+ */
39
+ /**
40
+ * @typedef CompanyBrandPostRequestSerializer
41
+ * @property {number[]} brands
42
+ * @property {number} company
43
+ * @property {number} [uid]
44
+ */
45
+ /**
46
+ * @typedef CompanyBrandSerializer
47
+ * @property {GetBrandResponseSerializer} [brand]
48
+ * @property {CompanySerializer} [company]
49
+ * @property {UserSerializer} [created_by]
50
+ * @property {string} [created_on]
51
+ * @property {UserSerializer} [modified_by]
52
+ * @property {string} [modified_on]
53
+ * @property {string} [reject_reason]
54
+ * @property {string} [stage]
55
+ * @property {number} [uid]
56
+ * @property {UserSerializer} [verified_by]
57
+ * @property {string} [verified_on]
58
+ * @property {Object} [warnings]
59
+ */
60
+ /**
61
+ * @typedef CompanyDetails
62
+ * @property {CompanySocialAccounts[]} [socials]
63
+ * @property {string} [website_url]
64
+ */
65
+ /**
66
+ * @typedef CompanySerializer
67
+ * @property {Object} [_custom_json]
68
+ * @property {GetAddressSerializer[]} [addresses]
69
+ * @property {BusinessCountryInfo} [business_country_info]
70
+ * @property {string} business_type
71
+ * @property {string} company_type
72
+ * @property {UserSerializer} [created_by]
73
+ * @property {string} [created_on]
74
+ * @property {CompanyDetails} [details]
75
+ * @property {string[]} [market_channels]
76
+ * @property {UserSerializer} [modified_by]
77
+ * @property {string} [modified_on]
78
+ * @property {string} [name]
79
+ * @property {string[]} [notification_emails]
80
+ * @property {string} [reject_reason]
81
+ * @property {string} [stage]
82
+ * @property {number} [uid]
83
+ * @property {UserSerializer} [verified_by]
84
+ * @property {string} [verified_on]
85
+ */
86
+ /**
87
+ * @typedef CompanySocialAccounts
88
+ * @property {string} name
89
+ * @property {string} url
90
+ */
91
+ /**
92
+ * @typedef CompanyTaxesSerializer
93
+ * @property {string} [effective_date]
94
+ * @property {boolean} [enable]
95
+ * @property {number} [rate]
96
+ */
97
+ /**
98
+ * @typedef CompanyTaxesSerializer1
99
+ * @property {string} [effective_date]
100
+ * @property {boolean} [enable]
101
+ * @property {number} [rate]
102
+ */
103
+ /**
104
+ * @typedef ContactDetails
105
+ * @property {string[]} [emails]
106
+ * @property {SellerPhoneNumber[]} [phone]
107
+ */
108
+ /**
109
+ * @typedef CreateUpdateAddressSerializer
110
+ * @property {string} address_type
111
+ * @property {string} address1
112
+ * @property {string} [address2]
113
+ * @property {string} city
114
+ * @property {string} country
115
+ * @property {string} [country_code]
116
+ * @property {string} [landmark]
117
+ * @property {number} latitude
118
+ * @property {number} longitude
119
+ * @property {number} pincode
120
+ * @property {string} state
121
+ */
122
+ /**
123
+ * @typedef CreateUpdateBrandRequestSerializer
124
+ * @property {Object} [_custom_json]
125
+ * @property {Object} [_locale_language]
126
+ * @property {BrandBannerSerializer} banner
127
+ * @property {string} [brand_tier]
128
+ * @property {number} [company_id]
129
+ * @property {string} [description]
130
+ * @property {string} logo
131
+ * @property {string} name
132
+ * @property {string[]} [synonyms]
133
+ * @property {number} [uid]
134
+ */
135
+ /**
136
+ * @typedef Document
137
+ * @property {string} [legal_name]
138
+ * @property {string} type
139
+ * @property {string} [url]
140
+ * @property {string} value
141
+ * @property {boolean} [verified]
142
+ */
143
+ /**
144
+ * @typedef DocumentsObj
145
+ * @property {number} [pending]
146
+ * @property {number} [verified]
147
+ */
148
+ /**
149
+ * @typedef ErrorResponse
150
+ * @property {string} [code]
151
+ * @property {string} [message]
152
+ * @property {Object} [meta]
153
+ * @property {number} [status]
154
+ */
155
+ /**
156
+ * @typedef GetAddressSerializer
157
+ * @property {string} [address_type]
158
+ * @property {string} [address1]
159
+ * @property {string} [address2]
160
+ * @property {string} [city]
161
+ * @property {string} [country]
162
+ * @property {string} [country_code]
163
+ * @property {string} [landmark]
164
+ * @property {number} latitude
165
+ * @property {number} longitude
166
+ * @property {number} [pincode]
167
+ * @property {string} [state]
168
+ */
169
+ /**
170
+ * @typedef GetBrandResponseSerializer
171
+ * @property {Object} [_custom_json]
172
+ * @property {Object} [_locale_language]
173
+ * @property {BrandBannerSerializer} [banner]
174
+ * @property {UserSerializer} [created_by]
175
+ * @property {string} [created_on]
176
+ * @property {string} [description]
177
+ * @property {string} [logo]
178
+ * @property {string} [mode]
179
+ * @property {UserSerializer} [modified_by]
180
+ * @property {string} [modified_on]
181
+ * @property {string} name
182
+ * @property {string} [reject_reason]
183
+ * @property {string} [slug_key]
184
+ * @property {string} [stage]
185
+ * @property {string[]} [synonyms]
186
+ * @property {number} [uid]
187
+ * @property {UserSerializer} [verified_by]
188
+ * @property {string} [verified_on]
189
+ * @property {Object} [warnings]
190
+ */
191
+ /**
192
+ * @typedef GetCompanyProfileSerializerResponse
193
+ * @property {Object} [_custom_json]
194
+ * @property {GetAddressSerializer[]} [addresses]
195
+ * @property {BusinessCountryInfo} [business_country_info]
196
+ * @property {BusinessDetails} [business_details]
197
+ * @property {string} [business_info]
198
+ * @property {string} [business_type]
199
+ * @property {string} company_type
200
+ * @property {ContactDetails} [contact_details]
201
+ * @property {UserSerializer} [created_by]
202
+ * @property {string} [created_on]
203
+ * @property {Document[]} [documents]
204
+ * @property {boolean} [franchise_enabled]
205
+ * @property {string} [mode]
206
+ * @property {UserSerializer} [modified_by]
207
+ * @property {string} [modified_on]
208
+ * @property {string} [name]
209
+ * @property {string[]} [notification_emails]
210
+ * @property {string} [stage]
211
+ * @property {CompanyTaxesSerializer[]} [taxes]
212
+ * @property {number} uid
213
+ * @property {UserSerializer} [verified_by]
214
+ * @property {string} [verified_on]
215
+ * @property {Object} [warnings]
216
+ */
217
+ /**
218
+ * @typedef GetCompanySerializer
219
+ * @property {GetAddressSerializer[]} [addresses]
220
+ * @property {string} [business_type]
221
+ * @property {string} [company_type]
222
+ * @property {UserSerializer} [created_by]
223
+ * @property {string} [created_on]
224
+ * @property {UserSerializer} [modified_by]
225
+ * @property {string} [modified_on]
226
+ * @property {string} [name]
227
+ * @property {string} [reject_reason]
228
+ * @property {string} [stage]
229
+ * @property {number} [uid]
230
+ * @property {UserSerializer} [verified_by]
231
+ * @property {string} [verified_on]
232
+ */
233
+ /**
234
+ * @typedef GetLocationSerializer
235
+ * @property {Object} [_custom_json]
236
+ * @property {GetAddressSerializer} address
237
+ * @property {boolean} [auto_invoice]
238
+ * @property {string} code
239
+ * @property {GetCompanySerializer} [company]
240
+ * @property {SellerPhoneNumber[]} [contact_numbers]
241
+ * @property {UserSerializer} [created_by]
242
+ * @property {string} [created_on]
243
+ * @property {boolean} [credit_note]
244
+ * @property {string} display_name
245
+ * @property {Document[]} [documents]
246
+ * @property {InvoiceDetailsSerializer} [gst_credentials]
247
+ * @property {HolidaySchemaSerializer[]} [holiday]
248
+ * @property {LocationManagerSerializer} [manager]
249
+ * @property {UserSerializer} [modified_by]
250
+ * @property {string} [modified_on]
251
+ * @property {string} name
252
+ * @property {string[]} [notification_emails]
253
+ * @property {string} [phone_number]
254
+ * @property {ProductReturnConfigSerializer} [product_return_config]
255
+ * @property {string} [stage]
256
+ * @property {string} [store_type]
257
+ * @property {LocationDayWiseSerializer[]} [timing]
258
+ * @property {number} [uid]
259
+ * @property {UserSerializer} [verified_by]
260
+ * @property {string} [verified_on]
261
+ * @property {Object} [warnings]
262
+ */
263
+ /**
264
+ * @typedef HolidayDateSerializer
265
+ * @property {string} end_date
266
+ * @property {string} start_date
267
+ */
268
+ /**
269
+ * @typedef HolidaySchemaSerializer
270
+ * @property {HolidayDateSerializer} date
271
+ * @property {string} holiday_type
272
+ * @property {string} title
273
+ */
274
+ /**
275
+ * @typedef InvoiceCredSerializer
276
+ * @property {boolean} [enabled]
277
+ * @property {string} [password]
278
+ * @property {string} [username]
279
+ */
280
+ /**
281
+ * @typedef InvoiceDetailsSerializer
282
+ * @property {InvoiceCredSerializer} [e_invoice]
283
+ * @property {InvoiceCredSerializer} [e_waybill]
284
+ */
285
+ /**
286
+ * @typedef LocationDayWiseSerializer
287
+ * @property {LocationTimingSerializer} [closing]
288
+ * @property {boolean} open
289
+ * @property {LocationTimingSerializer} [opening]
290
+ * @property {string} weekday
291
+ */
292
+ /**
293
+ * @typedef LocationListSerializer
294
+ * @property {GetLocationSerializer[]} [items]
295
+ * @property {Page} [page]
296
+ */
297
+ /**
298
+ * @typedef LocationManagerSerializer
299
+ * @property {string} [email]
300
+ * @property {SellerPhoneNumber} mobile_no
301
+ * @property {string} [name]
302
+ */
303
+ /**
304
+ * @typedef LocationSerializer
305
+ * @property {Object} [_custom_json]
306
+ * @property {AddressSerializer} address
307
+ * @property {boolean} [auto_invoice]
308
+ * @property {string} code
309
+ * @property {number} company
310
+ * @property {SellerPhoneNumber[]} [contact_numbers]
311
+ * @property {boolean} [credit_note]
312
+ * @property {string} display_name
313
+ * @property {Document[]} [documents]
314
+ * @property {InvoiceDetailsSerializer} [gst_credentials]
315
+ * @property {HolidaySchemaSerializer[]} [holiday]
316
+ * @property {LocationManagerSerializer} [manager]
317
+ * @property {string} name
318
+ * @property {string[]} [notification_emails]
319
+ * @property {ProductReturnConfigSerializer} [product_return_config]
320
+ * @property {string} [stage]
321
+ * @property {string} [store_type]
322
+ * @property {LocationDayWiseSerializer[]} [timing]
323
+ * @property {number} [uid]
324
+ * @property {Object} [warnings]
325
+ */
326
+ /**
327
+ * @typedef LocationTimingSerializer
328
+ * @property {number} hour
329
+ * @property {number} minute
330
+ */
331
+ /**
332
+ * @typedef MetricsSerializer
333
+ * @property {DocumentsObj} [brand]
334
+ * @property {DocumentsObj} [company_documents]
335
+ * @property {DocumentsObj} [product]
336
+ * @property {string} [stage]
337
+ * @property {DocumentsObj} [store]
338
+ * @property {DocumentsObj} [store_documents]
339
+ * @property {number} [uid]
340
+ */
341
+ /**
342
+ * @typedef Page
343
+ * @property {number} [current]
344
+ * @property {boolean} [has_next]
345
+ * @property {boolean} [has_previous]
346
+ * @property {number} [item_total]
347
+ * @property {string} [next_id]
348
+ * @property {number} [size]
349
+ * @property {string} type
350
+ */
351
+ /**
352
+ * @typedef ProductReturnConfigSerializer
353
+ * @property {boolean} [on_same_store]
354
+ * @property {number} [store_uid]
355
+ */
356
+ /**
357
+ * @typedef ProfileSuccessResponse
358
+ * @property {string} [message]
359
+ * @property {boolean} [success]
360
+ * @property {number} [uid]
361
+ */
362
+ /**
363
+ * @typedef SellerPhoneNumber
364
+ * @property {number} country_code
365
+ * @property {string} number
366
+ */
367
+ /**
368
+ * @typedef UpdateCompany
369
+ * @property {Object} [_custom_json]
370
+ * @property {CreateUpdateAddressSerializer[]} [addresses]
371
+ * @property {BusinessDetails} [business_details]
372
+ * @property {string} [business_info]
373
+ * @property {string} [business_type]
374
+ * @property {string} [company_type]
375
+ * @property {ContactDetails} [contact_details]
376
+ * @property {Document[]} [documents]
377
+ * @property {boolean} [franchise_enabled]
378
+ * @property {string} [name]
379
+ * @property {string[]} [notification_emails]
380
+ * @property {string} [reject_reason]
381
+ * @property {CompanyTaxesSerializer1[]} [taxes]
382
+ * @property {Object} [warnings]
383
+ */
384
+ /**
385
+ * @typedef UserSerializer
386
+ * @property {string} [contact]
387
+ * @property {string} [user_id]
388
+ * @property {string} [username]
389
+ */
390
+ /**
391
+ * @typedef Website
392
+ * @property {string} [url]
393
+ */
394
+ declare class CompanyProfilePlatformModel {
44
395
  }
396
+ declare namespace CompanyProfilePlatformModel {
397
+ export { AddressSerializer, BrandBannerSerializer, BulkLocationSerializer, BusinessCountryInfo, BusinessDetails, CompanyBrandListSerializer, CompanyBrandPostRequestSerializer, CompanyBrandSerializer, CompanyDetails, CompanySerializer, CompanySocialAccounts, CompanyTaxesSerializer, CompanyTaxesSerializer1, ContactDetails, CreateUpdateAddressSerializer, CreateUpdateBrandRequestSerializer, Document, DocumentsObj, ErrorResponse, GetAddressSerializer, GetBrandResponseSerializer, GetCompanyProfileSerializerResponse, GetCompanySerializer, GetLocationSerializer, HolidayDateSerializer, HolidaySchemaSerializer, InvoiceCredSerializer, InvoiceDetailsSerializer, LocationDayWiseSerializer, LocationListSerializer, LocationManagerSerializer, LocationSerializer, LocationTimingSerializer, MetricsSerializer, Page, ProductReturnConfigSerializer, ProfileSuccessResponse, SellerPhoneNumber, UpdateCompany, UserSerializer, Website };
398
+ }
399
+ /** @returns {AddressSerializer} */
400
+ declare function AddressSerializer(): AddressSerializer;
401
+ type AddressSerializer = {
402
+ address_type?: string;
403
+ address1?: string;
404
+ address2?: string;
405
+ city?: string;
406
+ country?: string;
407
+ country_code?: string;
408
+ landmark?: string;
409
+ latitude: number;
410
+ longitude: number;
411
+ pincode?: number;
412
+ state?: string;
413
+ };
414
+ /** @returns {BrandBannerSerializer} */
415
+ declare function BrandBannerSerializer(): BrandBannerSerializer;
416
+ type BrandBannerSerializer = {
417
+ landscape: string;
418
+ portrait: string;
419
+ };
420
+ /** @returns {BulkLocationSerializer} */
421
+ declare function BulkLocationSerializer(): BulkLocationSerializer;
422
+ type BulkLocationSerializer = {
423
+ data?: LocationSerializer[];
424
+ };
425
+ /** @returns {BusinessCountryInfo} */
426
+ declare function BusinessCountryInfo(): BusinessCountryInfo;
427
+ type BusinessCountryInfo = {
428
+ country?: string;
429
+ country_code?: string;
430
+ };
431
+ /** @returns {BusinessDetails} */
432
+ declare function BusinessDetails(): BusinessDetails;
433
+ type BusinessDetails = {
434
+ website?: Website;
435
+ };
436
+ /** @returns {CompanyBrandListSerializer} */
437
+ declare function CompanyBrandListSerializer(): CompanyBrandListSerializer;
438
+ type CompanyBrandListSerializer = {
439
+ items?: CompanyBrandSerializer[];
440
+ page?: Page;
441
+ };
442
+ /** @returns {CompanyBrandPostRequestSerializer} */
443
+ declare function CompanyBrandPostRequestSerializer(): CompanyBrandPostRequestSerializer;
444
+ type CompanyBrandPostRequestSerializer = {
445
+ brands: number[];
446
+ company: number;
447
+ uid?: number;
448
+ };
449
+ /** @returns {CompanyBrandSerializer} */
450
+ declare function CompanyBrandSerializer(): CompanyBrandSerializer;
451
+ type CompanyBrandSerializer = {
452
+ brand?: GetBrandResponseSerializer;
453
+ company?: CompanySerializer;
454
+ created_by?: UserSerializer;
455
+ created_on?: string;
456
+ modified_by?: UserSerializer;
457
+ modified_on?: string;
458
+ reject_reason?: string;
459
+ stage?: string;
460
+ uid?: number;
461
+ verified_by?: UserSerializer;
462
+ verified_on?: string;
463
+ warnings?: any;
464
+ };
465
+ /** @returns {CompanyDetails} */
466
+ declare function CompanyDetails(): CompanyDetails;
467
+ type CompanyDetails = {
468
+ socials?: CompanySocialAccounts[];
469
+ website_url?: string;
470
+ };
471
+ /** @returns {CompanySerializer} */
472
+ declare function CompanySerializer(): CompanySerializer;
473
+ type CompanySerializer = {
474
+ _custom_json?: any;
475
+ addresses?: GetAddressSerializer[];
476
+ business_country_info?: BusinessCountryInfo;
477
+ business_type: string;
478
+ company_type: string;
479
+ created_by?: UserSerializer;
480
+ created_on?: string;
481
+ details?: CompanyDetails;
482
+ market_channels?: string[];
483
+ modified_by?: UserSerializer;
484
+ modified_on?: string;
485
+ name?: string;
486
+ notification_emails?: string[];
487
+ reject_reason?: string;
488
+ stage?: string;
489
+ uid?: number;
490
+ verified_by?: UserSerializer;
491
+ verified_on?: string;
492
+ };
493
+ /** @returns {CompanySocialAccounts} */
494
+ declare function CompanySocialAccounts(): CompanySocialAccounts;
495
+ type CompanySocialAccounts = {
496
+ name: string;
497
+ url: string;
498
+ };
499
+ /** @returns {CompanyTaxesSerializer} */
500
+ declare function CompanyTaxesSerializer(): CompanyTaxesSerializer;
501
+ type CompanyTaxesSerializer = {
502
+ effective_date?: string;
503
+ enable?: boolean;
504
+ rate?: number;
505
+ };
506
+ /** @returns {CompanyTaxesSerializer1} */
507
+ declare function CompanyTaxesSerializer1(): CompanyTaxesSerializer1;
508
+ type CompanyTaxesSerializer1 = {
509
+ effective_date?: string;
510
+ enable?: boolean;
511
+ rate?: number;
512
+ };
513
+ /** @returns {ContactDetails} */
514
+ declare function ContactDetails(): ContactDetails;
515
+ type ContactDetails = {
516
+ emails?: string[];
517
+ phone?: SellerPhoneNumber[];
518
+ };
519
+ /** @returns {CreateUpdateAddressSerializer} */
520
+ declare function CreateUpdateAddressSerializer(): CreateUpdateAddressSerializer;
521
+ type CreateUpdateAddressSerializer = {
522
+ address_type: string;
523
+ address1: string;
524
+ address2?: string;
525
+ city: string;
526
+ country: string;
527
+ country_code?: string;
528
+ landmark?: string;
529
+ latitude: number;
530
+ longitude: number;
531
+ pincode: number;
532
+ state: string;
533
+ };
534
+ /** @returns {CreateUpdateBrandRequestSerializer} */
535
+ declare function CreateUpdateBrandRequestSerializer(): CreateUpdateBrandRequestSerializer;
536
+ type CreateUpdateBrandRequestSerializer = {
537
+ _custom_json?: any;
538
+ _locale_language?: any;
539
+ banner: BrandBannerSerializer;
540
+ brand_tier?: string;
541
+ company_id?: number;
542
+ description?: string;
543
+ logo: string;
544
+ name: string;
545
+ synonyms?: string[];
546
+ uid?: number;
547
+ };
548
+ /** @returns {Document} */
549
+ declare function Document(): Document;
550
+ type Document = {
551
+ legal_name?: string;
552
+ type: string;
553
+ url?: string;
554
+ value: string;
555
+ verified?: boolean;
556
+ };
557
+ /** @returns {DocumentsObj} */
558
+ declare function DocumentsObj(): DocumentsObj;
559
+ type DocumentsObj = {
560
+ pending?: number;
561
+ verified?: number;
562
+ };
563
+ /** @returns {ErrorResponse} */
564
+ declare function ErrorResponse(): ErrorResponse;
565
+ type ErrorResponse = {
566
+ code?: string;
567
+ message?: string;
568
+ meta?: any;
569
+ status?: number;
570
+ };
571
+ /** @returns {GetAddressSerializer} */
572
+ declare function GetAddressSerializer(): GetAddressSerializer;
573
+ type GetAddressSerializer = {
574
+ address_type?: string;
575
+ address1?: string;
576
+ address2?: string;
577
+ city?: string;
578
+ country?: string;
579
+ country_code?: string;
580
+ landmark?: string;
581
+ latitude: number;
582
+ longitude: number;
583
+ pincode?: number;
584
+ state?: string;
585
+ };
586
+ /** @returns {GetBrandResponseSerializer} */
587
+ declare function GetBrandResponseSerializer(): GetBrandResponseSerializer;
588
+ type GetBrandResponseSerializer = {
589
+ _custom_json?: any;
590
+ _locale_language?: any;
591
+ banner?: BrandBannerSerializer;
592
+ created_by?: UserSerializer;
593
+ created_on?: string;
594
+ description?: string;
595
+ logo?: string;
596
+ mode?: string;
597
+ modified_by?: UserSerializer;
598
+ modified_on?: string;
599
+ name: string;
600
+ reject_reason?: string;
601
+ slug_key?: string;
602
+ stage?: string;
603
+ synonyms?: string[];
604
+ uid?: number;
605
+ verified_by?: UserSerializer;
606
+ verified_on?: string;
607
+ warnings?: any;
608
+ };
609
+ /** @returns {GetCompanyProfileSerializerResponse} */
610
+ declare function GetCompanyProfileSerializerResponse(): GetCompanyProfileSerializerResponse;
611
+ type GetCompanyProfileSerializerResponse = {
612
+ _custom_json?: any;
613
+ addresses?: GetAddressSerializer[];
614
+ business_country_info?: BusinessCountryInfo;
615
+ business_details?: BusinessDetails;
616
+ business_info?: string;
617
+ business_type?: string;
618
+ company_type: string;
619
+ contact_details?: ContactDetails;
620
+ created_by?: UserSerializer;
621
+ created_on?: string;
622
+ documents?: Document[];
623
+ franchise_enabled?: boolean;
624
+ mode?: string;
625
+ modified_by?: UserSerializer;
626
+ modified_on?: string;
627
+ name?: string;
628
+ notification_emails?: string[];
629
+ stage?: string;
630
+ taxes?: CompanyTaxesSerializer[];
631
+ uid: number;
632
+ verified_by?: UserSerializer;
633
+ verified_on?: string;
634
+ warnings?: any;
635
+ };
636
+ /** @returns {GetCompanySerializer} */
637
+ declare function GetCompanySerializer(): GetCompanySerializer;
638
+ type GetCompanySerializer = {
639
+ addresses?: GetAddressSerializer[];
640
+ business_type?: string;
641
+ company_type?: string;
642
+ created_by?: UserSerializer;
643
+ created_on?: string;
644
+ modified_by?: UserSerializer;
645
+ modified_on?: string;
646
+ name?: string;
647
+ reject_reason?: string;
648
+ stage?: string;
649
+ uid?: number;
650
+ verified_by?: UserSerializer;
651
+ verified_on?: string;
652
+ };
653
+ /** @returns {GetLocationSerializer} */
654
+ declare function GetLocationSerializer(): GetLocationSerializer;
655
+ type GetLocationSerializer = {
656
+ _custom_json?: any;
657
+ address: GetAddressSerializer;
658
+ auto_invoice?: boolean;
659
+ code: string;
660
+ company?: GetCompanySerializer;
661
+ contact_numbers?: SellerPhoneNumber[];
662
+ created_by?: UserSerializer;
663
+ created_on?: string;
664
+ credit_note?: boolean;
665
+ display_name: string;
666
+ documents?: Document[];
667
+ gst_credentials?: InvoiceDetailsSerializer;
668
+ holiday?: HolidaySchemaSerializer[];
669
+ manager?: LocationManagerSerializer;
670
+ modified_by?: UserSerializer;
671
+ modified_on?: string;
672
+ name: string;
673
+ notification_emails?: string[];
674
+ phone_number?: string;
675
+ product_return_config?: ProductReturnConfigSerializer;
676
+ stage?: string;
677
+ store_type?: string;
678
+ timing?: LocationDayWiseSerializer[];
679
+ uid?: number;
680
+ verified_by?: UserSerializer;
681
+ verified_on?: string;
682
+ warnings?: any;
683
+ };
684
+ /** @returns {HolidayDateSerializer} */
685
+ declare function HolidayDateSerializer(): HolidayDateSerializer;
686
+ type HolidayDateSerializer = {
687
+ end_date: string;
688
+ start_date: string;
689
+ };
690
+ /** @returns {HolidaySchemaSerializer} */
691
+ declare function HolidaySchemaSerializer(): HolidaySchemaSerializer;
692
+ type HolidaySchemaSerializer = {
693
+ date: HolidayDateSerializer;
694
+ holiday_type: string;
695
+ title: string;
696
+ };
697
+ /** @returns {InvoiceCredSerializer} */
698
+ declare function InvoiceCredSerializer(): InvoiceCredSerializer;
699
+ type InvoiceCredSerializer = {
700
+ enabled?: boolean;
701
+ password?: string;
702
+ username?: string;
703
+ };
704
+ /** @returns {InvoiceDetailsSerializer} */
705
+ declare function InvoiceDetailsSerializer(): InvoiceDetailsSerializer;
706
+ type InvoiceDetailsSerializer = {
707
+ e_invoice?: InvoiceCredSerializer;
708
+ e_waybill?: InvoiceCredSerializer;
709
+ };
710
+ /** @returns {LocationDayWiseSerializer} */
711
+ declare function LocationDayWiseSerializer(): LocationDayWiseSerializer;
712
+ type LocationDayWiseSerializer = {
713
+ closing?: LocationTimingSerializer;
714
+ open: boolean;
715
+ opening?: LocationTimingSerializer;
716
+ weekday: string;
717
+ };
718
+ /** @returns {LocationListSerializer} */
719
+ declare function LocationListSerializer(): LocationListSerializer;
720
+ type LocationListSerializer = {
721
+ items?: GetLocationSerializer[];
722
+ page?: Page;
723
+ };
724
+ /** @returns {LocationManagerSerializer} */
725
+ declare function LocationManagerSerializer(): LocationManagerSerializer;
726
+ type LocationManagerSerializer = {
727
+ email?: string;
728
+ mobile_no: SellerPhoneNumber;
729
+ name?: string;
730
+ };
731
+ /** @returns {LocationSerializer} */
732
+ declare function LocationSerializer(): LocationSerializer;
733
+ type LocationSerializer = {
734
+ _custom_json?: any;
735
+ address: AddressSerializer;
736
+ auto_invoice?: boolean;
737
+ code: string;
738
+ company: number;
739
+ contact_numbers?: SellerPhoneNumber[];
740
+ credit_note?: boolean;
741
+ display_name: string;
742
+ documents?: Document[];
743
+ gst_credentials?: InvoiceDetailsSerializer;
744
+ holiday?: HolidaySchemaSerializer[];
745
+ manager?: LocationManagerSerializer;
746
+ name: string;
747
+ notification_emails?: string[];
748
+ product_return_config?: ProductReturnConfigSerializer;
749
+ stage?: string;
750
+ store_type?: string;
751
+ timing?: LocationDayWiseSerializer[];
752
+ uid?: number;
753
+ warnings?: any;
754
+ };
755
+ /** @returns {LocationTimingSerializer} */
756
+ declare function LocationTimingSerializer(): LocationTimingSerializer;
757
+ type LocationTimingSerializer = {
758
+ hour: number;
759
+ minute: number;
760
+ };
761
+ /** @returns {MetricsSerializer} */
762
+ declare function MetricsSerializer(): MetricsSerializer;
763
+ type MetricsSerializer = {
764
+ brand?: DocumentsObj;
765
+ company_documents?: DocumentsObj;
766
+ product?: DocumentsObj;
767
+ stage?: string;
768
+ store?: DocumentsObj;
769
+ store_documents?: DocumentsObj;
770
+ uid?: number;
771
+ };
772
+ /** @returns {Page} */
773
+ declare function Page(): Page;
774
+ type Page = {
775
+ current?: number;
776
+ has_next?: boolean;
777
+ has_previous?: boolean;
778
+ item_total?: number;
779
+ next_id?: string;
780
+ size?: number;
781
+ type: string;
782
+ };
783
+ /** @returns {ProductReturnConfigSerializer} */
784
+ declare function ProductReturnConfigSerializer(): ProductReturnConfigSerializer;
785
+ type ProductReturnConfigSerializer = {
786
+ on_same_store?: boolean;
787
+ store_uid?: number;
788
+ };
789
+ /** @returns {ProfileSuccessResponse} */
790
+ declare function ProfileSuccessResponse(): ProfileSuccessResponse;
791
+ type ProfileSuccessResponse = {
792
+ message?: string;
793
+ success?: boolean;
794
+ uid?: number;
795
+ };
796
+ /** @returns {SellerPhoneNumber} */
797
+ declare function SellerPhoneNumber(): SellerPhoneNumber;
798
+ type SellerPhoneNumber = {
799
+ country_code: number;
800
+ number: string;
801
+ };
802
+ /** @returns {UpdateCompany} */
803
+ declare function UpdateCompany(): UpdateCompany;
804
+ type UpdateCompany = {
805
+ _custom_json?: any;
806
+ addresses?: CreateUpdateAddressSerializer[];
807
+ business_details?: BusinessDetails;
808
+ business_info?: string;
809
+ business_type?: string;
810
+ company_type?: string;
811
+ contact_details?: ContactDetails;
812
+ documents?: Document[];
813
+ franchise_enabled?: boolean;
814
+ name?: string;
815
+ notification_emails?: string[];
816
+ reject_reason?: string;
817
+ taxes?: CompanyTaxesSerializer1[];
818
+ warnings?: any;
819
+ };
820
+ /** @returns {UserSerializer} */
821
+ declare function UserSerializer(): UserSerializer;
822
+ type UserSerializer = {
823
+ contact?: string;
824
+ user_id?: string;
825
+ username?: string;
826
+ };
827
+ /** @returns {Website} */
828
+ declare function Website(): Website;
829
+ type Website = {
830
+ url?: string;
831
+ };