@gofynd/fdk-client-javascript 1.4.1 → 1.4.2-beta.10

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 (265) hide show
  1. package/README.md +1 -1
  2. package/package.json +3 -2
  3. package/sdk/application/ApplicationClient.js +20 -0
  4. package/sdk/application/Cart/CartApplicationClient.d.ts +1 -1
  5. package/sdk/application/Cart/CartApplicationClient.js +3 -5
  6. package/sdk/application/Cart/CartApplicationModel.d.ts +1634 -1742
  7. package/sdk/application/Cart/CartApplicationModel.js +1388 -1464
  8. package/sdk/application/Cart/CartApplicationValidator.d.ts +0 -4
  9. package/sdk/application/Cart/CartApplicationValidator.js +0 -4
  10. package/sdk/application/Catalog/CatalogApplicationClient.d.ts +6 -3
  11. package/sdk/application/Catalog/CatalogApplicationClient.js +20 -7
  12. package/sdk/application/Catalog/CatalogApplicationModel.d.ts +1917 -1917
  13. package/sdk/application/Catalog/CatalogApplicationModel.js +1613 -1613
  14. package/sdk/application/Catalog/CatalogApplicationValidator.d.ts +14 -0
  15. package/sdk/application/Catalog/CatalogApplicationValidator.js +6 -0
  16. package/sdk/application/Common/CommonApplicationModel.d.ts +235 -235
  17. package/sdk/application/Common/CommonApplicationModel.js +172 -172
  18. package/sdk/application/Communication/CommunicationApplicationModel.d.ts +72 -72
  19. package/sdk/application/Communication/CommunicationApplicationModel.js +64 -64
  20. package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +1492 -1626
  21. package/sdk/application/Configuration/ConfigurationApplicationModel.js +1038 -1180
  22. package/sdk/application/Content/ContentApplicationClient.d.ts +0 -36
  23. package/sdk/application/Content/ContentApplicationClient.js +0 -246
  24. package/sdk/application/Content/ContentApplicationModel.d.ts +546 -753
  25. package/sdk/application/Content/ContentApplicationModel.js +565 -817
  26. package/sdk/application/Content/ContentApplicationValidator.d.ts +1 -40
  27. package/sdk/application/Content/ContentApplicationValidator.js +0 -41
  28. package/sdk/application/FileStorage/FileStorageApplicationModel.d.ts +79 -79
  29. package/sdk/application/FileStorage/FileStorageApplicationModel.js +84 -84
  30. package/sdk/application/Lead/LeadApplicationModel.d.ts +417 -417
  31. package/sdk/application/Lead/LeadApplicationModel.js +301 -301
  32. package/sdk/application/Logistic/LogisticApplicationClient.d.ts +0 -67
  33. package/sdk/application/Logistic/LogisticApplicationClient.js +0 -547
  34. package/sdk/application/Logistic/LogisticApplicationModel.d.ts +257 -712
  35. package/sdk/application/Logistic/LogisticApplicationModel.js +267 -755
  36. package/sdk/application/Logistic/LogisticApplicationValidator.d.ts +1 -211
  37. package/sdk/application/Logistic/LogisticApplicationValidator.js +0 -131
  38. package/sdk/application/Order/OrderApplicationClient.d.ts +3 -3
  39. package/sdk/application/Order/OrderApplicationClient.js +8 -32
  40. package/sdk/application/Order/OrderApplicationModel.d.ts +845 -853
  41. package/sdk/application/Order/OrderApplicationModel.js +816 -824
  42. package/sdk/application/Order/OrderApplicationValidator.d.ts +0 -20
  43. package/sdk/application/Order/OrderApplicationValidator.js +0 -8
  44. package/sdk/application/Payment/PaymentApplicationClient.d.ts +2 -46
  45. package/sdk/application/Payment/PaymentApplicationClient.js +10 -341
  46. package/sdk/application/Payment/PaymentApplicationModel.d.ts +1892 -2199
  47. package/sdk/application/Payment/PaymentApplicationModel.js +1235 -1506
  48. package/sdk/application/Payment/PaymentApplicationValidator.d.ts +14 -59
  49. package/sdk/application/Payment/PaymentApplicationValidator.js +10 -64
  50. package/sdk/application/PosCart/PosCartApplicationModel.d.ts +1396 -1429
  51. package/sdk/application/PosCart/PosCartApplicationModel.js +1233 -1257
  52. package/sdk/application/Rewards/RewardsApplicationModel.d.ts +214 -214
  53. package/sdk/application/Rewards/RewardsApplicationModel.js +211 -211
  54. package/sdk/application/Share/ShareApplicationModel.d.ts +114 -114
  55. package/sdk/application/Share/ShareApplicationModel.js +121 -121
  56. package/sdk/application/Theme/ThemeApplicationClient.d.ts +1 -1
  57. package/sdk/application/Theme/ThemeApplicationClient.js +3 -7
  58. package/sdk/application/Theme/ThemeApplicationModel.d.ts +783 -969
  59. package/sdk/application/Theme/ThemeApplicationModel.js +571 -867
  60. package/sdk/application/Theme/ThemeApplicationValidator.d.ts +0 -10
  61. package/sdk/application/Theme/ThemeApplicationValidator.js +0 -4
  62. package/sdk/application/User/UserApplicationClient.d.ts +0 -33
  63. package/sdk/application/User/UserApplicationClient.js +0 -239
  64. package/sdk/application/User/UserApplicationModel.d.ts +753 -768
  65. package/sdk/application/User/UserApplicationModel.js +731 -755
  66. package/sdk/application/User/UserApplicationValidator.d.ts +1 -34
  67. package/sdk/application/User/UserApplicationValidator.js +0 -36
  68. package/sdk/common/Clickstream.d.ts +1 -0
  69. package/sdk/common/Clickstream.js +254 -0
  70. package/sdk/common/Utility.js +1 -4
  71. package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +72 -60
  72. package/sdk/partner/FileStorage/FileStoragePartnerModel.js +70 -58
  73. package/sdk/partner/PartnerClient.d.ts +0 -6
  74. package/sdk/partner/PartnerClient.js +0 -9
  75. package/sdk/partner/Theme/ThemePartnerClient.d.ts +0 -10
  76. package/sdk/partner/Theme/ThemePartnerClient.js +0 -80
  77. package/sdk/partner/Theme/ThemePartnerModel.d.ts +1178 -1153
  78. package/sdk/partner/Theme/ThemePartnerModel.js +830 -974
  79. package/sdk/partner/Theme/ThemePartnerValidator.d.ts +0 -1
  80. package/sdk/partner/Theme/ThemePartnerValidator.js +0 -9
  81. package/sdk/partner/index.d.ts +0 -3
  82. package/sdk/partner/index.js +0 -6
  83. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +2 -2
  84. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +123 -123
  85. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +109 -109
  86. package/sdk/platform/Billing/BillingPlatformClient.d.ts +1 -11
  87. package/sdk/platform/Billing/BillingPlatformClient.js +3 -110
  88. package/sdk/platform/Billing/BillingPlatformModel.d.ts +734 -800
  89. package/sdk/platform/Billing/BillingPlatformModel.js +732 -810
  90. package/sdk/platform/Billing/BillingPlatformValidator.d.ts +4 -43
  91. package/sdk/platform/Billing/BillingPlatformValidator.js +2 -29
  92. package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +11 -1
  93. package/sdk/platform/Cart/CartPlatformApplicationClient.js +81 -7
  94. package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +13 -5
  95. package/sdk/platform/Cart/CartPlatformApplicationValidator.js +12 -4
  96. package/sdk/platform/Cart/CartPlatformModel.d.ts +3223 -3328
  97. package/sdk/platform/Cart/CartPlatformModel.js +2875 -2946
  98. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +11 -15
  99. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +21 -52
  100. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +0 -27
  101. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +0 -11
  102. package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +15 -27
  103. package/sdk/platform/Catalog/CatalogPlatformClient.js +93 -189
  104. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +617 -920
  105. package/sdk/platform/Catalog/CatalogPlatformModel.js +584 -919
  106. package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +27 -41
  107. package/sdk/platform/Catalog/CatalogPlatformValidator.js +19 -31
  108. package/sdk/platform/Common/CommonPlatformModel.d.ts +255 -255
  109. package/sdk/platform/Common/CommonPlatformModel.js +187 -187
  110. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +37 -139
  111. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +52 -737
  112. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +3 -133
  113. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +1 -113
  114. package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +1079 -1228
  115. package/sdk/platform/Communication/CommunicationPlatformModel.js +1090 -1262
  116. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +2 -8
  117. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +4 -32
  118. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +629 -658
  119. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +641 -675
  120. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +0 -14
  121. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +0 -6
  122. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +8 -8
  123. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +4 -4
  124. package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +2992 -3231
  125. package/sdk/platform/Configuration/ConfigurationPlatformModel.js +2092 -2303
  126. package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +2 -2
  127. package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +2 -2
  128. package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +0 -391
  129. package/sdk/platform/Content/ContentPlatformApplicationClient.js +1074 -3656
  130. package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +1 -351
  131. package/sdk/platform/Content/ContentPlatformApplicationValidator.js +0 -410
  132. package/sdk/platform/Content/ContentPlatformModel.d.ts +972 -2071
  133. package/sdk/platform/Content/ContentPlatformModel.js +1039 -2355
  134. package/sdk/platform/Discount/DiscountPlatformClient.d.ts +2 -2
  135. package/sdk/platform/Discount/DiscountPlatformClient.js +2 -2
  136. package/sdk/platform/Discount/DiscountPlatformModel.d.ts +174 -259
  137. package/sdk/platform/Discount/DiscountPlatformModel.js +163 -257
  138. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +6 -16
  139. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +8 -117
  140. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +4 -55
  141. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +2 -39
  142. package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +821 -892
  143. package/sdk/platform/FileStorage/FileStoragePlatformModel.js +833 -901
  144. package/sdk/platform/Finance/FinancePlatformClient.d.ts +0 -33
  145. package/sdk/platform/Finance/FinancePlatformClient.js +0 -240
  146. package/sdk/platform/Finance/FinancePlatformModel.d.ts +910 -1056
  147. package/sdk/platform/Finance/FinancePlatformModel.js +884 -1070
  148. package/sdk/platform/Finance/FinancePlatformValidator.d.ts +1 -38
  149. package/sdk/platform/Finance/FinancePlatformValidator.js +0 -38
  150. package/sdk/platform/Inventory/InventoryPlatformModel.d.ts +942 -942
  151. package/sdk/platform/Inventory/InventoryPlatformModel.js +1003 -1003
  152. package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +28 -38
  153. package/sdk/platform/Lead/LeadPlatformApplicationClient.js +56 -137
  154. package/sdk/platform/Lead/LeadPlatformApplicationValidator.d.ts +29 -41
  155. package/sdk/platform/Lead/LeadPlatformApplicationValidator.js +21 -33
  156. package/sdk/platform/Lead/LeadPlatformModel.d.ts +601 -610
  157. package/sdk/platform/Lead/LeadPlatformModel.js +457 -471
  158. package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +1 -11
  159. package/sdk/platform/Order/OrderPlatformApplicationClient.js +1 -93
  160. package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +1 -28
  161. package/sdk/platform/Order/OrderPlatformApplicationValidator.js +0 -18
  162. package/sdk/platform/Order/OrderPlatformClient.d.ts +22 -143
  163. package/sdk/platform/Order/OrderPlatformClient.js +160 -1190
  164. package/sdk/platform/Order/OrderPlatformModel.d.ts +4451 -5275
  165. package/sdk/platform/Order/OrderPlatformModel.js +4039 -4994
  166. package/sdk/platform/Order/OrderPlatformValidator.d.ts +21 -257
  167. package/sdk/platform/Order/OrderPlatformValidator.js +15 -216
  168. package/sdk/platform/Partner/PartnerPlatformModel.d.ts +22 -22
  169. package/sdk/platform/Partner/PartnerPlatformModel.js +22 -22
  170. package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +13 -119
  171. package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +40 -750
  172. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +7 -143
  173. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +6 -133
  174. package/sdk/platform/Payment/PaymentPlatformClient.d.ts +1 -1
  175. package/sdk/platform/Payment/PaymentPlatformClient.js +1 -1
  176. package/sdk/platform/Payment/PaymentPlatformModel.d.ts +2067 -2929
  177. package/sdk/platform/Payment/PaymentPlatformModel.js +1427 -2090
  178. package/sdk/platform/PlatformApplicationClient.d.ts +2 -2
  179. package/sdk/platform/PlatformApplicationClient.js +4 -4
  180. package/sdk/platform/PlatformClient.d.ts +2 -4
  181. package/sdk/platform/PlatformClient.js +4 -8
  182. package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +204 -204
  183. package/sdk/platform/Rewards/RewardsPlatformModel.js +199 -199
  184. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +66 -142
  185. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +147 -645
  186. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +63 -131
  187. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +47 -126
  188. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +105 -217
  189. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +349 -1138
  190. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +990 -1589
  191. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +986 -1702
  192. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +133 -382
  193. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +102 -266
  194. package/sdk/platform/Share/SharePlatformModel.d.ts +147 -147
  195. package/sdk/platform/Share/SharePlatformModel.js +139 -139
  196. package/sdk/platform/Theme/ThemePlatformClient.d.ts +1 -11
  197. package/sdk/platform/Theme/ThemePlatformClient.js +3 -87
  198. package/sdk/platform/Theme/ThemePlatformModel.d.ts +765 -1133
  199. package/sdk/platform/Theme/ThemePlatformModel.js +561 -1009
  200. package/sdk/platform/Theme/ThemePlatformValidator.d.ts +4 -28
  201. package/sdk/platform/Theme/ThemePlatformValidator.js +2 -21
  202. package/sdk/platform/User/UserPlatformApplicationClient.d.ts +1 -116
  203. package/sdk/platform/User/UserPlatformApplicationClient.js +86 -932
  204. package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +7 -224
  205. package/sdk/platform/User/UserPlatformApplicationValidator.js +5 -173
  206. package/sdk/platform/User/UserPlatformModel.d.ts +428 -765
  207. package/sdk/platform/User/UserPlatformModel.js +428 -679
  208. package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +37 -45
  209. package/sdk/platform/Webhook/WebhookPlatformClient.js +57 -61
  210. package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +403 -448
  211. package/sdk/platform/Webhook/WebhookPlatformModel.js +309 -369
  212. package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +10 -7
  213. package/sdk/platform/Webhook/WebhookPlatformValidator.js +6 -6
  214. package/sdk/platform/index.d.ts +1 -1
  215. package/sdk/platform/index.js +2 -2
  216. package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +237 -237
  217. package/sdk/public/Configuration/ConfigurationPublicModel.js +174 -174
  218. package/sdk/public/Inventory/InventoryPublicModel.d.ts +237 -237
  219. package/sdk/public/Inventory/InventoryPublicModel.js +257 -257
  220. package/sdk/public/Partner/PartnerPublicModel.d.ts +104 -104
  221. package/sdk/public/Partner/PartnerPublicModel.js +113 -113
  222. package/sdk/public/PublicClient.d.ts +0 -4
  223. package/sdk/public/PublicClient.js +0 -8
  224. package/sdk/public/Webhook/WebhookPublicClient.d.ts +0 -33
  225. package/sdk/public/Webhook/WebhookPublicClient.js +0 -242
  226. package/sdk/public/Webhook/WebhookPublicModel.d.ts +15 -161
  227. package/sdk/public/Webhook/WebhookPublicModel.js +13 -189
  228. package/sdk/public/Webhook/WebhookPublicValidator.d.ts +1 -23
  229. package/sdk/public/Webhook/WebhookPublicValidator.js +0 -31
  230. package/sdk/public/index.d.ts +0 -2
  231. package/sdk/public/index.js +0 -4
  232. package/sdk/partner/Lead/LeadPartnerClient.d.ts +0 -125
  233. package/sdk/partner/Lead/LeadPartnerClient.js +0 -785
  234. package/sdk/partner/Lead/LeadPartnerModel.d.ts +0 -1127
  235. package/sdk/partner/Lead/LeadPartnerModel.js +0 -896
  236. package/sdk/partner/Lead/LeadPartnerValidator.d.ts +0 -12
  237. package/sdk/partner/Lead/LeadPartnerValidator.js +0 -67
  238. package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +0 -155
  239. package/sdk/partner/Logistics/LogisticsPartnerClient.js +0 -1195
  240. package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +0 -372
  241. package/sdk/partner/Logistics/LogisticsPartnerModel.js +0 -442
  242. package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +0 -16
  243. package/sdk/partner/Logistics/LogisticsPartnerValidator.js +0 -123
  244. package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +0 -99
  245. package/sdk/partner/Webhook/WebhookPartnerClient.js +0 -753
  246. package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +0 -566
  247. package/sdk/partner/Webhook/WebhookPartnerModel.js +0 -583
  248. package/sdk/partner/Webhook/WebhookPartnerValidator.d.ts +0 -12
  249. package/sdk/partner/Webhook/WebhookPartnerValidator.js +0 -74
  250. package/sdk/platform/Content/ContentPlatformClient.d.ts +0 -277
  251. package/sdk/platform/Content/ContentPlatformClient.js +0 -2011
  252. package/sdk/platform/Content/ContentPlatformValidator.d.ts +0 -247
  253. package/sdk/platform/Content/ContentPlatformValidator.js +0 -319
  254. package/sdk/public/Billing/BillingPublicClient.d.ts +0 -23
  255. package/sdk/public/Billing/BillingPublicClient.js +0 -116
  256. package/sdk/public/Billing/BillingPublicModel.d.ts +0 -92
  257. package/sdk/public/Billing/BillingPublicModel.js +0 -96
  258. package/sdk/public/Billing/BillingPublicValidator.d.ts +0 -18
  259. package/sdk/public/Billing/BillingPublicValidator.js +0 -19
  260. package/sdk/public/Content/ContentPublicClient.d.ts +0 -22
  261. package/sdk/public/Content/ContentPublicClient.js +0 -114
  262. package/sdk/public/Content/ContentPublicModel.d.ts +0 -53
  263. package/sdk/public/Content/ContentPublicModel.js +0 -60
  264. package/sdk/public/Content/ContentPublicValidator.d.ts +0 -18
  265. package/sdk/public/Content/ContentPublicValidator.js +0 -19
@@ -1,159 +1,136 @@
1
1
  export = CompanyProfilePlatformModel;
2
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} [sector]
15
- * @property {string} [state]
16
- * @property {string} [state_code]
17
- */
18
- /**
19
- * @typedef AverageOrderProcessingTime
20
- * @property {number} [duration]
21
- * @property {string} [duration_type]
22
- */
23
- /**
24
- * @typedef BrandBannerSerializer
25
- * @property {string} landscape
26
- * @property {string} portrait
3
+ * @typedef CompanyTaxesSerializer
4
+ * @property {string} [effective_date]
5
+ * @property {number} [rate]
6
+ * @property {boolean} [enable]
27
7
  */
28
8
  /**
29
- * @typedef BulkLocationSerializer
30
- * @property {LocationSerializer[]} [data]
9
+ * @typedef UserSerializer
10
+ * @property {string} [user_id]
11
+ * @property {string} [contact]
12
+ * @property {string} [username]
31
13
  */
32
14
  /**
33
- * @typedef BusinessCountryInfo
34
- * @property {string} country
35
- * @property {string} country_code
36
- * @property {CountryCurrencyInfo} currency
37
- * @property {string} timezone
15
+ * @typedef Website
16
+ * @property {string} [url]
38
17
  */
39
18
  /**
40
19
  * @typedef BusinessDetails
41
20
  * @property {Website} [website]
42
21
  */
43
22
  /**
44
- * @typedef CompanyBrandListSerializer
45
- * @property {CompanyBrandSerializer[]} [items]
46
- * @property {Page} [page]
23
+ * @typedef SellerPhoneNumber
24
+ * @property {number} country_code
25
+ * @property {string} number
47
26
  */
48
27
  /**
49
- * @typedef CompanyBrandPostRequestSerializer
50
- * @property {number[]} brands
51
- * @property {number} company
52
- * @property {number} [uid]
28
+ * @typedef ContactDetails
29
+ * @property {string[]} [emails]
30
+ * @property {SellerPhoneNumber[]} [phone]
53
31
  */
54
32
  /**
55
- * @typedef CompanyBrandSerializer
56
- * @property {GetBrandResponseSerializer} [brand]
57
- * @property {CompanySerializer} [company]
58
- * @property {UserSerializer} [created_by]
59
- * @property {string} [created_on]
60
- * @property {UserSerializer} [modified_by]
61
- * @property {string} [modified_on]
62
- * @property {string} [reject_reason]
63
- * @property {string} [stage]
64
- * @property {number} [uid]
65
- * @property {UserSerializer} [verified_by]
66
- * @property {string} [verified_on]
67
- * @property {Object} [warnings]
33
+ * @typedef BusinessCountryInfo
34
+ * @property {string} [country_code]
35
+ * @property {string} [country]
68
36
  */
69
37
  /**
70
- * @typedef CompanyDetails
71
- * @property {CompanySocialAccounts[]} [socials]
72
- * @property {string} [website_url]
38
+ * @typedef Document
39
+ * @property {string} value
40
+ * @property {string} [legal_name]
41
+ * @property {boolean} [verified]
42
+ * @property {string} type
43
+ * @property {string} [url]
73
44
  */
74
45
  /**
75
- * @typedef CompanySerializer
46
+ * @typedef GetAddressSerializer
47
+ * @property {string} [landmark]
48
+ * @property {string} [country_code]
49
+ * @property {number} [pincode]
50
+ * @property {string} [address_type]
51
+ * @property {number} longitude
52
+ * @property {string} [country]
53
+ * @property {string} [address2]
54
+ * @property {string} [state]
55
+ * @property {string} [address1]
56
+ * @property {string} [city]
57
+ * @property {number} latitude
58
+ */
59
+ /**
60
+ * @typedef GetCompanyProfileSerializerResponse
61
+ * @property {string} [business_info]
62
+ * @property {CompanyTaxesSerializer[]} [taxes]
63
+ * @property {string} [business_type]
64
+ * @property {string} [name]
76
65
  * @property {Object} [_custom_json]
77
- * @property {GetAddressSerializer[]} [addresses]
78
- * @property {BusinessCountryInfo} [business_country_info]
79
- * @property {string} business_type
80
- * @property {string} company_type
66
+ * @property {string} [verified_on]
81
67
  * @property {UserSerializer} [created_by]
82
68
  * @property {string} [created_on]
83
- * @property {CompanyDetails} [details]
84
- * @property {string[]} [market_channels]
85
- * @property {UserSerializer} [modified_by]
69
+ * @property {Object} [warnings]
70
+ * @property {BusinessDetails} [business_details]
71
+ * @property {string} [mode]
72
+ * @property {ContactDetails} [contact_details]
73
+ * @property {BusinessCountryInfo} [business_country_info]
86
74
  * @property {string} [modified_on]
87
- * @property {string} [name]
88
- * @property {string[]} [notification_emails]
89
- * @property {string} [reject_reason]
75
+ * @property {number} uid
76
+ * @property {boolean} [franchise_enabled]
90
77
  * @property {string} [stage]
91
- * @property {number} [uid]
78
+ * @property {string} company_type
79
+ * @property {Document[]} [documents]
80
+ * @property {GetAddressSerializer[]} [addresses]
92
81
  * @property {UserSerializer} [verified_by]
93
- * @property {string} [verified_on]
94
- */
95
- /**
96
- * @typedef CompanySocialAccounts
97
- * @property {string} name
98
- * @property {string} url
82
+ * @property {string[]} [notification_emails]
83
+ * @property {UserSerializer} [modified_by]
99
84
  */
100
85
  /**
101
- * @typedef CompanyTaxesSerializer
102
- * @property {string} [effective_date]
103
- * @property {boolean} [enable]
104
- * @property {number} [rate]
86
+ * @typedef ErrorResponse
87
+ * @property {string} [message]
88
+ * @property {string} [code]
89
+ * @property {number} [status]
90
+ * @property {Object} [meta]
105
91
  */
106
92
  /**
107
93
  * @typedef CompanyTaxesSerializer1
108
94
  * @property {string} [effective_date]
109
- * @property {boolean} [enable]
110
95
  * @property {number} [rate]
111
- */
112
- /**
113
- * @typedef ContactDetails
114
- * @property {string[]} [emails]
115
- * @property {SellerPhoneNumber[]} [phone]
116
- */
117
- /**
118
- * @typedef CountryCurrencyInfo
119
- * @property {string} code
120
- * @property {string} name
121
- * @property {string} symbol
96
+ * @property {boolean} [enable]
122
97
  */
123
98
  /**
124
99
  * @typedef CreateUpdateAddressSerializer
100
+ * @property {string} [landmark]
101
+ * @property {string} [country_code]
102
+ * @property {number} pincode
125
103
  * @property {string} address_type
126
- * @property {string} address1
104
+ * @property {number} longitude
105
+ * @property {string} country
127
106
  * @property {string} [address2]
107
+ * @property {string} state
108
+ * @property {string} address1
128
109
  * @property {string} city
129
- * @property {string} country
130
- * @property {string} [country_code]
131
- * @property {string} [landmark]
132
110
  * @property {number} latitude
133
- * @property {number} longitude
134
- * @property {number} pincode
135
- * @property {string} state
136
111
  */
137
112
  /**
138
- * @typedef CreateUpdateBrandRequestSerializer
113
+ * @typedef UpdateCompany
114
+ * @property {boolean} [franchise_enabled]
115
+ * @property {string} [business_info]
116
+ * @property {Object} [warnings]
117
+ * @property {string} [company_type]
139
118
  * @property {Object} [_custom_json]
140
- * @property {Object} [_locale_language]
141
- * @property {BrandBannerSerializer} banner
142
- * @property {string} [brand_tier]
143
- * @property {number} [company_id]
144
- * @property {string} [description]
145
- * @property {string} logo
146
- * @property {string} name
147
- * @property {string[]} [synonyms]
148
- * @property {number} [uid]
119
+ * @property {CompanyTaxesSerializer1[]} [taxes]
120
+ * @property {BusinessDetails} [business_details]
121
+ * @property {Document[]} [documents]
122
+ * @property {string} [business_type]
123
+ * @property {CreateUpdateAddressSerializer[]} [addresses]
124
+ * @property {string[]} [notification_emails]
125
+ * @property {ContactDetails} [contact_details]
126
+ * @property {string} [reject_reason]
127
+ * @property {string} [name]
149
128
  */
150
129
  /**
151
- * @typedef Document
152
- * @property {string} [legal_name]
153
- * @property {string} type
154
- * @property {string} [url]
155
- * @property {string} value
156
- * @property {boolean} [verified]
130
+ * @typedef ProfileSuccessResponse
131
+ * @property {number} [uid]
132
+ * @property {string} [message]
133
+ * @property {boolean} [success]
157
134
  */
158
135
  /**
159
136
  * @typedef DocumentsObj
@@ -161,144 +138,127 @@ export = CompanyProfilePlatformModel;
161
138
  * @property {number} [verified]
162
139
  */
163
140
  /**
164
- * @typedef ErrorResponse
165
- * @property {string} [code]
166
- * @property {string} [message]
167
- * @property {Object} [meta]
168
- * @property {number} [status]
141
+ * @typedef MetricsSerializer
142
+ * @property {string} [stage]
143
+ * @property {DocumentsObj} [store]
144
+ * @property {DocumentsObj} [company_documents]
145
+ * @property {DocumentsObj} [store_documents]
146
+ * @property {DocumentsObj} [product]
147
+ * @property {number} [uid]
148
+ * @property {DocumentsObj} [brand]
169
149
  */
170
150
  /**
171
- * @typedef GetAddressSerializer
172
- * @property {string} [address_type]
173
- * @property {string} [address1]
174
- * @property {string} [address2]
175
- * @property {string} [city]
176
- * @property {string} [country]
177
- * @property {string} [country_code]
178
- * @property {string} [landmark]
179
- * @property {number} latitude
180
- * @property {number} longitude
181
- * @property {number} [pincode]
182
- * @property {string} [sector]
183
- * @property {string} [state]
184
- * @property {string} [state_code]
151
+ * @typedef BrandBannerSerializer
152
+ * @property {string} portrait
153
+ * @property {string} landscape
185
154
  */
186
155
  /**
187
156
  * @typedef GetBrandResponseSerializer
188
- * @property {Object} [_custom_json]
189
- * @property {Object} [_locale_language]
157
+ * @property {UserSerializer} [modified_by]
190
158
  * @property {BrandBannerSerializer} [banner]
159
+ * @property {string} name
160
+ * @property {Object} [_custom_json]
161
+ * @property {string} [verified_on]
191
162
  * @property {UserSerializer} [created_by]
192
163
  * @property {string} [created_on]
193
- * @property {string} [description]
194
- * @property {string} [logo]
164
+ * @property {Object} [warnings]
165
+ * @property {Object} [_locale_language]
195
166
  * @property {string} [mode]
196
- * @property {UserSerializer} [modified_by]
167
+ * @property {string[]} [synonyms]
197
168
  * @property {string} [modified_on]
198
- * @property {string} name
169
+ * @property {number} [uid]
199
170
  * @property {string} [reject_reason]
200
- * @property {string} [slug_key]
201
171
  * @property {string} [stage]
202
- * @property {string[]} [synonyms]
203
- * @property {number} [uid]
204
172
  * @property {UserSerializer} [verified_by]
205
- * @property {string} [verified_on]
206
- * @property {Object} [warnings]
173
+ * @property {string} [slug_key]
174
+ * @property {string} [logo]
175
+ * @property {string} [description]
207
176
  */
208
177
  /**
209
- * @typedef GetCompanyProfileSerializerResponse
178
+ * @typedef CreateUpdateBrandRequestSerializer
210
179
  * @property {Object} [_custom_json]
211
- * @property {GetAddressSerializer[]} [addresses]
212
- * @property {BusinessCountryInfo} [business_country_info]
213
- * @property {BusinessDetails} [business_details]
214
- * @property {string} [business_info]
215
- * @property {string} [business_type]
216
- * @property {string} company_type
217
- * @property {ContactDetails} [contact_details]
218
- * @property {UserSerializer} [created_by]
219
- * @property {string} [created_on]
220
- * @property {Document[]} [documents]
221
- * @property {boolean} [franchise_enabled]
222
- * @property {string} [mode]
223
- * @property {UserSerializer} [modified_by]
224
- * @property {string} [modified_on]
225
- * @property {string} [name]
226
- * @property {string[]} [notification_emails]
227
- * @property {string} [stage]
228
- * @property {CompanyTaxesSerializer[]} [taxes]
229
- * @property {number} uid
230
- * @property {UserSerializer} [verified_by]
231
- * @property {string} [verified_on]
232
- * @property {Object} [warnings]
180
+ * @property {Object} [_locale_language]
181
+ * @property {string[]} [synonyms]
182
+ * @property {number} [company_id]
183
+ * @property {string} [description]
184
+ * @property {string} logo
185
+ * @property {string} [brand_tier]
186
+ * @property {number} [uid]
187
+ * @property {BrandBannerSerializer} banner
188
+ * @property {string} name
233
189
  */
234
190
  /**
235
- * @typedef GetCompanySerializer
236
- * @property {GetAddressSerializer[]} [addresses]
237
- * @property {string} [business_type]
238
- * @property {string} [company_type]
239
- * @property {UserSerializer} [created_by]
240
- * @property {string} [created_on]
241
- * @property {UserSerializer} [modified_by]
242
- * @property {string} [modified_on]
243
- * @property {string} [name]
244
- * @property {string} [reject_reason]
245
- * @property {string} [stage]
246
- * @property {number} [uid]
247
- * @property {UserSerializer} [verified_by]
248
- * @property {string} [verified_on]
191
+ * @typedef CompanySocialAccounts
192
+ * @property {string} name
193
+ * @property {string} url
249
194
  */
250
195
  /**
251
- * @typedef GetLocationSerializer
196
+ * @typedef CompanyDetails
197
+ * @property {CompanySocialAccounts[]} [socials]
198
+ * @property {string} [website_url]
199
+ */
200
+ /**
201
+ * @typedef CompanySerializer
202
+ * @property {string} [stage]
252
203
  * @property {Object} [_custom_json]
253
- * @property {GetAddressSerializer} address
254
- * @property {boolean} [auto_assign_courier_partner]
255
- * @property {boolean} [auto_invoice]
256
- * @property {AverageOrderProcessingTime} [avg_order_processing_time]
257
- * @property {boolean} [bulk_shipment]
258
- * @property {string} code
259
- * @property {GetCompanySerializer} [company]
260
- * @property {SellerPhoneNumber[]} [contact_numbers]
261
- * @property {UserSerializer} [created_by]
204
+ * @property {string} [verified_on]
205
+ * @property {UserSerializer} [verified_by]
262
206
  * @property {string} [created_on]
263
- * @property {boolean} [credit_note]
264
- * @property {boolean} [default_order_acceptance_timing]
265
- * @property {string} display_name
266
- * @property {Document[]} [documents]
267
- * @property {InvoiceDetailsSerializer} [gst_credentials]
268
- * @property {HolidaySchemaSerializer[]} [holiday]
269
- * @property {LocationManagerSerializer} [manager]
270
- * @property {UserSerializer} [modified_by]
207
+ * @property {UserSerializer} [created_by]
208
+ * @property {string} company_type
271
209
  * @property {string} [modified_on]
272
- * @property {string} name
210
+ * @property {string[]} [market_channels]
211
+ * @property {string} business_type
212
+ * @property {GetAddressSerializer[]} [addresses]
273
213
  * @property {string[]} [notification_emails]
274
- * @property {LocationDayWiseSerializer[]} [order_acceptance_timing]
275
- * @property {string} [phone_number]
276
- * @property {ProductReturnConfigSerializer} [product_return_config]
277
- * @property {string} [stage]
278
- * @property {string} [store_type]
279
- * @property {string[]} [tags]
280
- * @property {LocationDayWiseSerializer[]} [timing]
214
+ * @property {CompanyDetails} [details]
215
+ * @property {BusinessCountryInfo} [business_country_info]
281
216
  * @property {number} [uid]
282
- * @property {UserSerializer} [verified_by]
217
+ * @property {string} [reject_reason]
218
+ * @property {string} [name]
219
+ * @property {UserSerializer} [modified_by]
220
+ */
221
+ /**
222
+ * @typedef CompanyBrandSerializer
223
+ * @property {string} [stage]
283
224
  * @property {string} [verified_on]
225
+ * @property {UserSerializer} [verified_by]
226
+ * @property {string} [created_on]
227
+ * @property {UserSerializer} [created_by]
228
+ * @property {CompanySerializer} [company]
284
229
  * @property {Object} [warnings]
230
+ * @property {string} [modified_on]
231
+ * @property {number} [uid]
232
+ * @property {string} [reject_reason]
233
+ * @property {GetBrandResponseSerializer} [brand]
234
+ * @property {UserSerializer} [modified_by]
285
235
  */
286
236
  /**
287
- * @typedef HolidayDateSerializer
288
- * @property {string} end_date
289
- * @property {string} start_date
237
+ * @typedef Page
238
+ * @property {number} [item_total]
239
+ * @property {string} [next_id]
240
+ * @property {boolean} [has_previous]
241
+ * @property {boolean} [has_next]
242
+ * @property {number} [current]
243
+ * @property {string} type
244
+ * @property {number} [size]
290
245
  */
291
246
  /**
292
- * @typedef HolidaySchemaSerializer
293
- * @property {HolidayDateSerializer} date
294
- * @property {string} holiday_type
295
- * @property {string} title
247
+ * @typedef CompanyBrandListSerializer
248
+ * @property {CompanyBrandSerializer[]} [items]
249
+ * @property {Page} [page]
250
+ */
251
+ /**
252
+ * @typedef CompanyBrandPostRequestSerializer
253
+ * @property {number} [uid]
254
+ * @property {number[]} brands
255
+ * @property {number} company
296
256
  */
297
257
  /**
298
258
  * @typedef InvoiceCredSerializer
259
+ * @property {string} [username]
299
260
  * @property {boolean} [enabled]
300
261
  * @property {string} [password]
301
- * @property {string} [username]
302
262
  */
303
263
  /**
304
264
  * @typedef InvoiceDetailsSerializer
@@ -306,16 +266,20 @@ export = CompanyProfilePlatformModel;
306
266
  * @property {InvoiceCredSerializer} [e_waybill]
307
267
  */
308
268
  /**
309
- * @typedef LocationDayWiseSerializer
310
- * @property {LocationTimingSerializer} [closing]
311
- * @property {boolean} open
312
- * @property {LocationTimingSerializer} [opening]
313
- * @property {string} weekday
314
- */
315
- /**
316
- * @typedef LocationListSerializer
317
- * @property {GetLocationSerializer[]} [items]
318
- * @property {Page} [page]
269
+ * @typedef GetCompanySerializer
270
+ * @property {string} [stage]
271
+ * @property {string} [verified_on]
272
+ * @property {UserSerializer} [verified_by]
273
+ * @property {string} [created_on]
274
+ * @property {UserSerializer} [created_by]
275
+ * @property {string} [company_type]
276
+ * @property {string} [modified_on]
277
+ * @property {string} [business_type]
278
+ * @property {GetAddressSerializer[]} [addresses]
279
+ * @property {number} [uid]
280
+ * @property {string} [reject_reason]
281
+ * @property {string} [name]
282
+ * @property {UserSerializer} [modified_by]
319
283
  */
320
284
  /**
321
285
  * @typedef LocationManagerSerializer
@@ -323,61 +287,28 @@ export = CompanyProfilePlatformModel;
323
287
  * @property {SellerPhoneNumber} mobile_no
324
288
  * @property {string} [name]
325
289
  */
326
- /**
327
- * @typedef LocationSerializer
328
- * @property {Object} [_custom_json]
329
- * @property {AddressSerializer} address
330
- * @property {boolean} [auto_assign_courier_partner]
331
- * @property {boolean} [auto_invoice]
332
- * @property {AverageOrderProcessingTime} [avg_order_processing_time]
333
- * @property {boolean} [bulk_shipment]
334
- * @property {string} code
335
- * @property {number} company
336
- * @property {SellerPhoneNumber[]} [contact_numbers]
337
- * @property {boolean} [credit_note]
338
- * @property {boolean} [default_order_acceptance_timing] - Flag to set
339
- * order_acceptance_timing as default timing
340
- * @property {string} display_name
341
- * @property {Document[]} documents
342
- * @property {InvoiceDetailsSerializer} [gst_credentials]
343
- * @property {HolidaySchemaSerializer[]} [holiday]
344
- * @property {LocationManagerSerializer} [manager]
345
- * @property {string} name
346
- * @property {string[]} [notification_emails]
347
- * @property {LocationDayWiseSerializer[]} [order_acceptance_timing] - Order
348
- * acceptance timing of the store
349
- * @property {ProductReturnConfigSerializer} [product_return_config]
350
- * @property {string} [stage]
351
- * @property {string} [store_type]
352
- * @property {string[]} [tags]
353
- * @property {LocationDayWiseSerializer[]} [timing]
354
- * @property {number} [uid]
355
- * @property {Object} [warnings]
356
- */
357
290
  /**
358
291
  * @typedef LocationTimingSerializer
359
292
  * @property {number} hour
360
293
  * @property {number} minute
361
294
  */
362
295
  /**
363
- * @typedef MetricsSerializer
364
- * @property {DocumentsObj} [brand]
365
- * @property {DocumentsObj} [company_documents]
366
- * @property {DocumentsObj} [product]
367
- * @property {string} [stage]
368
- * @property {DocumentsObj} [store]
369
- * @property {DocumentsObj} [store_documents]
370
- * @property {number} [uid]
296
+ * @typedef LocationDayWiseSerializer
297
+ * @property {boolean} open
298
+ * @property {string} weekday
299
+ * @property {LocationTimingSerializer} [opening]
300
+ * @property {LocationTimingSerializer} [closing]
371
301
  */
372
302
  /**
373
- * @typedef Page
374
- * @property {number} [current]
375
- * @property {boolean} [has_next]
376
- * @property {boolean} [has_previous]
377
- * @property {number} [item_total]
378
- * @property {string} [next_id]
379
- * @property {number} [size]
380
- * @property {string} type
303
+ * @typedef HolidayDateSerializer
304
+ * @property {string} end_date
305
+ * @property {string} start_date
306
+ */
307
+ /**
308
+ * @typedef HolidaySchemaSerializer
309
+ * @property {HolidayDateSerializer} date
310
+ * @property {string} title
311
+ * @property {string} holiday_type
381
312
  */
382
313
  /**
383
314
  * @typedef ProductReturnConfigSerializer
@@ -385,227 +316,255 @@ export = CompanyProfilePlatformModel;
385
316
  * @property {number} [store_uid]
386
317
  */
387
318
  /**
388
- * @typedef ProfileSuccessResponse
389
- * @property {string} [message]
390
- * @property {boolean} [success]
319
+ * @typedef GetLocationSerializer
320
+ * @property {string} code
321
+ * @property {string} [phone_number]
322
+ * @property {SellerPhoneNumber[]} [contact_numbers]
323
+ * @property {InvoiceDetailsSerializer} [gst_credentials]
324
+ * @property {string} name
325
+ * @property {Object} [_custom_json]
326
+ * @property {string} [verified_on]
327
+ * @property {UserSerializer} [created_by]
328
+ * @property {string} [created_on]
329
+ * @property {GetCompanySerializer} [company]
330
+ * @property {GetAddressSerializer} address
331
+ * @property {Object} [warnings]
332
+ * @property {string} [store_type]
333
+ * @property {LocationManagerSerializer} [manager]
334
+ * @property {boolean} [auto_invoice]
335
+ * @property {string} [modified_on]
391
336
  * @property {number} [uid]
337
+ * @property {LocationDayWiseSerializer[]} [timing]
338
+ * @property {string} [stage]
339
+ * @property {Document[]} [documents]
340
+ * @property {boolean} [credit_note]
341
+ * @property {HolidaySchemaSerializer[]} [holiday]
342
+ * @property {string} display_name
343
+ * @property {ProductReturnConfigSerializer} [product_return_config]
344
+ * @property {UserSerializer} [verified_by]
345
+ * @property {string[]} [notification_emails]
346
+ * @property {UserSerializer} [modified_by]
347
+ * @property {string[]} [tags]
348
+ * @property {boolean} [default_order_acceptance_timing]
349
+ * @property {LocationDayWiseSerializer[]} [order_acceptance_timing]
350
+ * @property {AverageOrderProcessingTime} [avg_order_processing_time]
351
+ * @property {boolean} [bulk_shipment]
392
352
  */
393
353
  /**
394
- * @typedef SellerPhoneNumber
395
- * @property {number} country_code
396
- * @property {string} number
397
- */
398
- /**
399
- * @typedef StoreTagsResponseSchema
400
- * @property {boolean} [success]
401
- * @property {string[]} [tags]
354
+ * @typedef LocationListSerializer
355
+ * @property {GetLocationSerializer[]} [items]
356
+ * @property {Page} [page]
402
357
  */
403
358
  /**
404
- * @typedef UpdateCompany
405
- * @property {Object} [_custom_json]
406
- * @property {CreateUpdateAddressSerializer[]} [addresses]
407
- * @property {BusinessDetails} [business_details]
408
- * @property {string} [business_info]
409
- * @property {string} [business_type]
410
- * @property {string} [company_type]
411
- * @property {ContactDetails} [contact_details]
359
+ * @typedef AddressSerializer
360
+ * @property {string} [landmark]
361
+ * @property {string} [country_code]
362
+ * @property {number} [pincode]
363
+ * @property {string} [address_type]
364
+ * @property {number} longitude
365
+ * @property {string} [country]
366
+ * @property {string} [address2]
367
+ * @property {string} [state]
368
+ * @property {string} [address1]
369
+ * @property {string} [city]
370
+ * @property {number} latitude
371
+ */
372
+ /**
373
+ * @typedef LocationSerializer
374
+ * @property {string} code
375
+ * @property {InvoiceDetailsSerializer} [gst_credentials]
376
+ * @property {SellerPhoneNumber[]} [contact_numbers]
377
+ * @property {string} name
378
+ * @property {Object} [_custom_json]
379
+ * @property {Object} [warnings]
380
+ * @property {AddressSerializer} address
381
+ * @property {number} company
382
+ * @property {string} [store_type]
383
+ * @property {LocationManagerSerializer} [manager]
384
+ * @property {boolean} [auto_invoice]
385
+ * @property {number} [uid]
386
+ * @property {LocationDayWiseSerializer[]} [timing]
387
+ * @property {string} [stage]
412
388
  * @property {Document[]} [documents]
413
- * @property {boolean} [franchise_enabled]
414
- * @property {string} [name]
389
+ * @property {boolean} [credit_note]
390
+ * @property {HolidaySchemaSerializer[]} [holiday]
391
+ * @property {ProductReturnConfigSerializer} [product_return_config]
392
+ * @property {string} display_name
415
393
  * @property {string[]} [notification_emails]
416
- * @property {string} [reject_reason]
417
- * @property {CompanyTaxesSerializer1[]} [taxes]
418
- * @property {Object} [warnings]
394
+ * @property {string[]} [tags]
395
+ * @property {boolean} [default_order_acceptance_timing] - Flag to set
396
+ * order_acceptance_timing as default timing
397
+ * @property {LocationDayWiseSerializer[]} [order_acceptance_timing] - Order
398
+ * acceptance timing of the store
399
+ * @property {AverageOrderProcessingTime} [avg_order_processing_time]
400
+ * @property {boolean} [bulk_shipment]
419
401
  */
420
402
  /**
421
- * @typedef UserSerializer
422
- * @property {string} [contact]
423
- * @property {string} [user_id]
424
- * @property {string} [username]
403
+ * @typedef BulkLocationSerializer
404
+ * @property {LocationSerializer[]} [data]
425
405
  */
426
406
  /**
427
- * @typedef Website
428
- * @property {string} [url]
407
+ * @typedef AverageOrderProcessingTime
408
+ * @property {number} [duration]
409
+ * @property {string} [duration_type]
410
+ */
411
+ /**
412
+ * @typedef StoreTagsResponseSchema
413
+ * @property {string[]} [tags]
414
+ * @property {boolean} [success]
429
415
  */
430
416
  declare class CompanyProfilePlatformModel {
431
417
  }
432
418
  declare namespace CompanyProfilePlatformModel {
433
- export { AddressSerializer, AverageOrderProcessingTime, BrandBannerSerializer, BulkLocationSerializer, BusinessCountryInfo, BusinessDetails, CompanyBrandListSerializer, CompanyBrandPostRequestSerializer, CompanyBrandSerializer, CompanyDetails, CompanySerializer, CompanySocialAccounts, CompanyTaxesSerializer, CompanyTaxesSerializer1, ContactDetails, CountryCurrencyInfo, CreateUpdateAddressSerializer, CreateUpdateBrandRequestSerializer, Document, DocumentsObj, ErrorResponse, GetAddressSerializer, GetBrandResponseSerializer, GetCompanyProfileSerializerResponse, GetCompanySerializer, GetLocationSerializer, HolidayDateSerializer, HolidaySchemaSerializer, InvoiceCredSerializer, InvoiceDetailsSerializer, LocationDayWiseSerializer, LocationListSerializer, LocationManagerSerializer, LocationSerializer, LocationTimingSerializer, MetricsSerializer, Page, ProductReturnConfigSerializer, ProfileSuccessResponse, SellerPhoneNumber, StoreTagsResponseSchema, UpdateCompany, UserSerializer, Website };
419
+ export { CompanyTaxesSerializer, UserSerializer, Website, BusinessDetails, SellerPhoneNumber, ContactDetails, 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 };
434
420
  }
435
- /** @returns {AddressSerializer} */
436
- declare function AddressSerializer(): AddressSerializer;
437
- type AddressSerializer = {
438
- address_type?: string;
439
- address1?: string;
440
- address2?: string;
441
- city?: string;
442
- country?: string;
443
- country_code: string;
444
- landmark?: string;
445
- latitude: number;
446
- longitude: number;
447
- pincode?: number;
448
- sector?: string;
449
- state?: string;
450
- state_code?: string;
451
- };
452
- /** @returns {AverageOrderProcessingTime} */
453
- declare function AverageOrderProcessingTime(): AverageOrderProcessingTime;
454
- type AverageOrderProcessingTime = {
455
- duration?: number;
456
- duration_type?: string;
457
- };
458
- /** @returns {BrandBannerSerializer} */
459
- declare function BrandBannerSerializer(): BrandBannerSerializer;
460
- type BrandBannerSerializer = {
461
- landscape: string;
462
- portrait: string;
421
+ /** @returns {CompanyTaxesSerializer} */
422
+ declare function CompanyTaxesSerializer(): CompanyTaxesSerializer;
423
+ type CompanyTaxesSerializer = {
424
+ effective_date?: string;
425
+ rate?: number;
426
+ enable?: boolean;
463
427
  };
464
- /** @returns {BulkLocationSerializer} */
465
- declare function BulkLocationSerializer(): BulkLocationSerializer;
466
- type BulkLocationSerializer = {
467
- data?: LocationSerializer[];
428
+ /** @returns {UserSerializer} */
429
+ declare function UserSerializer(): UserSerializer;
430
+ type UserSerializer = {
431
+ user_id?: string;
432
+ contact?: string;
433
+ username?: string;
468
434
  };
469
- /** @returns {BusinessCountryInfo} */
470
- declare function BusinessCountryInfo(): BusinessCountryInfo;
471
- type BusinessCountryInfo = {
472
- country: string;
473
- country_code: string;
474
- currency: CountryCurrencyInfo;
475
- timezone: string;
435
+ /** @returns {Website} */
436
+ declare function Website(): Website;
437
+ type Website = {
438
+ url?: string;
476
439
  };
477
440
  /** @returns {BusinessDetails} */
478
441
  declare function BusinessDetails(): BusinessDetails;
479
442
  type BusinessDetails = {
480
443
  website?: Website;
481
444
  };
482
- /** @returns {CompanyBrandListSerializer} */
483
- declare function CompanyBrandListSerializer(): CompanyBrandListSerializer;
484
- type CompanyBrandListSerializer = {
485
- items?: CompanyBrandSerializer[];
486
- page?: Page;
445
+ /** @returns {SellerPhoneNumber} */
446
+ declare function SellerPhoneNumber(): SellerPhoneNumber;
447
+ type SellerPhoneNumber = {
448
+ country_code: number;
449
+ number: string;
487
450
  };
488
- /** @returns {CompanyBrandPostRequestSerializer} */
489
- declare function CompanyBrandPostRequestSerializer(): CompanyBrandPostRequestSerializer;
490
- type CompanyBrandPostRequestSerializer = {
491
- brands: number[];
492
- company: number;
493
- uid?: number;
451
+ /** @returns {ContactDetails} */
452
+ declare function ContactDetails(): ContactDetails;
453
+ type ContactDetails = {
454
+ emails?: string[];
455
+ phone?: SellerPhoneNumber[];
494
456
  };
495
- /** @returns {CompanyBrandSerializer} */
496
- declare function CompanyBrandSerializer(): CompanyBrandSerializer;
497
- type CompanyBrandSerializer = {
498
- brand?: GetBrandResponseSerializer;
499
- company?: CompanySerializer;
500
- created_by?: UserSerializer;
501
- created_on?: string;
502
- modified_by?: UserSerializer;
503
- modified_on?: string;
504
- reject_reason?: string;
505
- stage?: string;
506
- uid?: number;
507
- verified_by?: UserSerializer;
508
- verified_on?: string;
509
- warnings?: any;
457
+ /** @returns {BusinessCountryInfo} */
458
+ declare function BusinessCountryInfo(): BusinessCountryInfo;
459
+ type BusinessCountryInfo = {
460
+ country_code?: string;
461
+ country?: string;
510
462
  };
511
- /** @returns {CompanyDetails} */
512
- declare function CompanyDetails(): CompanyDetails;
513
- type CompanyDetails = {
514
- socials?: CompanySocialAccounts[];
515
- website_url?: string;
463
+ /** @returns {Document} */
464
+ declare function Document(): Document;
465
+ type Document = {
466
+ value: string;
467
+ legal_name?: string;
468
+ verified?: boolean;
469
+ type: string;
470
+ url?: string;
516
471
  };
517
- /** @returns {CompanySerializer} */
518
- declare function CompanySerializer(): CompanySerializer;
519
- type CompanySerializer = {
472
+ /** @returns {GetAddressSerializer} */
473
+ declare function GetAddressSerializer(): GetAddressSerializer;
474
+ type GetAddressSerializer = {
475
+ landmark?: string;
476
+ country_code?: string;
477
+ pincode?: number;
478
+ address_type?: string;
479
+ longitude: number;
480
+ country?: string;
481
+ address2?: string;
482
+ state?: string;
483
+ address1?: string;
484
+ city?: string;
485
+ latitude: number;
486
+ };
487
+ /** @returns {GetCompanyProfileSerializerResponse} */
488
+ declare function GetCompanyProfileSerializerResponse(): GetCompanyProfileSerializerResponse;
489
+ type GetCompanyProfileSerializerResponse = {
490
+ business_info?: string;
491
+ taxes?: CompanyTaxesSerializer[];
492
+ business_type?: string;
493
+ name?: string;
520
494
  _custom_json?: any;
521
- addresses?: GetAddressSerializer[];
522
- business_country_info?: BusinessCountryInfo;
523
- business_type: string;
524
- company_type: string;
495
+ verified_on?: string;
525
496
  created_by?: UserSerializer;
526
497
  created_on?: string;
527
- details?: CompanyDetails;
528
- market_channels?: string[];
529
- modified_by?: UserSerializer;
498
+ warnings?: any;
499
+ business_details?: BusinessDetails;
500
+ mode?: string;
501
+ contact_details?: ContactDetails;
502
+ business_country_info?: BusinessCountryInfo;
530
503
  modified_on?: string;
531
- name?: string;
532
- notification_emails?: string[];
533
- reject_reason?: string;
504
+ uid: number;
505
+ franchise_enabled?: boolean;
534
506
  stage?: string;
535
- uid?: number;
507
+ company_type: string;
508
+ documents?: Document[];
509
+ addresses?: GetAddressSerializer[];
536
510
  verified_by?: UserSerializer;
537
- verified_on?: string;
538
- };
539
- /** @returns {CompanySocialAccounts} */
540
- declare function CompanySocialAccounts(): CompanySocialAccounts;
541
- type CompanySocialAccounts = {
542
- name: string;
543
- url: string;
511
+ notification_emails?: string[];
512
+ modified_by?: UserSerializer;
544
513
  };
545
- /** @returns {CompanyTaxesSerializer} */
546
- declare function CompanyTaxesSerializer(): CompanyTaxesSerializer;
547
- type CompanyTaxesSerializer = {
548
- effective_date?: string;
549
- enable?: boolean;
550
- rate?: number;
514
+ /** @returns {ErrorResponse} */
515
+ declare function ErrorResponse(): ErrorResponse;
516
+ type ErrorResponse = {
517
+ message?: string;
518
+ code?: string;
519
+ status?: number;
520
+ meta?: any;
551
521
  };
552
522
  /** @returns {CompanyTaxesSerializer1} */
553
523
  declare function CompanyTaxesSerializer1(): CompanyTaxesSerializer1;
554
524
  type CompanyTaxesSerializer1 = {
555
525
  effective_date?: string;
556
- enable?: boolean;
557
526
  rate?: number;
558
- };
559
- /** @returns {ContactDetails} */
560
- declare function ContactDetails(): ContactDetails;
561
- type ContactDetails = {
562
- emails?: string[];
563
- phone?: SellerPhoneNumber[];
564
- };
565
- /** @returns {CountryCurrencyInfo} */
566
- declare function CountryCurrencyInfo(): CountryCurrencyInfo;
567
- type CountryCurrencyInfo = {
568
- code: string;
569
- name: string;
570
- symbol: string;
527
+ enable?: boolean;
571
528
  };
572
529
  /** @returns {CreateUpdateAddressSerializer} */
573
530
  declare function CreateUpdateAddressSerializer(): CreateUpdateAddressSerializer;
574
531
  type CreateUpdateAddressSerializer = {
532
+ landmark?: string;
533
+ country_code?: string;
534
+ pincode: number;
575
535
  address_type: string;
576
- address1: string;
536
+ longitude: number;
537
+ country: string;
577
538
  address2?: string;
539
+ state: string;
540
+ address1: string;
578
541
  city: string;
579
- country: string;
580
- country_code?: string;
581
- landmark?: string;
582
542
  latitude: number;
583
- longitude: number;
584
- pincode: number;
585
- state: string;
586
543
  };
587
- /** @returns {CreateUpdateBrandRequestSerializer} */
588
- declare function CreateUpdateBrandRequestSerializer(): CreateUpdateBrandRequestSerializer;
589
- type CreateUpdateBrandRequestSerializer = {
544
+ /** @returns {UpdateCompany} */
545
+ declare function UpdateCompany(): UpdateCompany;
546
+ type UpdateCompany = {
547
+ franchise_enabled?: boolean;
548
+ business_info?: string;
549
+ warnings?: any;
550
+ company_type?: string;
590
551
  _custom_json?: any;
591
- _locale_language?: any;
592
- banner: BrandBannerSerializer;
593
- brand_tier?: string;
594
- company_id?: number;
595
- description?: string;
596
- logo: string;
597
- name: string;
598
- synonyms?: string[];
599
- uid?: number;
552
+ taxes?: CompanyTaxesSerializer1[];
553
+ business_details?: BusinessDetails;
554
+ documents?: Document[];
555
+ business_type?: string;
556
+ addresses?: CreateUpdateAddressSerializer[];
557
+ notification_emails?: string[];
558
+ contact_details?: ContactDetails;
559
+ reject_reason?: string;
560
+ name?: string;
600
561
  };
601
- /** @returns {Document} */
602
- declare function Document(): Document;
603
- type Document = {
604
- legal_name?: string;
605
- type: string;
606
- url?: string;
607
- value: string;
608
- verified?: boolean;
562
+ /** @returns {ProfileSuccessResponse} */
563
+ declare function ProfileSuccessResponse(): ProfileSuccessResponse;
564
+ type ProfileSuccessResponse = {
565
+ uid?: number;
566
+ message?: string;
567
+ success?: boolean;
609
568
  };
610
569
  /** @returns {DocumentsObj} */
611
570
  declare function DocumentsObj(): DocumentsObj;
@@ -613,154 +572,140 @@ type DocumentsObj = {
613
572
  pending?: number;
614
573
  verified?: number;
615
574
  };
616
- /** @returns {ErrorResponse} */
617
- declare function ErrorResponse(): ErrorResponse;
618
- type ErrorResponse = {
619
- code?: string;
620
- message?: string;
621
- meta?: any;
622
- status?: number;
575
+ /** @returns {MetricsSerializer} */
576
+ declare function MetricsSerializer(): MetricsSerializer;
577
+ type MetricsSerializer = {
578
+ stage?: string;
579
+ store?: DocumentsObj;
580
+ company_documents?: DocumentsObj;
581
+ store_documents?: DocumentsObj;
582
+ product?: DocumentsObj;
583
+ uid?: number;
584
+ brand?: DocumentsObj;
623
585
  };
624
- /** @returns {GetAddressSerializer} */
625
- declare function GetAddressSerializer(): GetAddressSerializer;
626
- type GetAddressSerializer = {
627
- address_type?: string;
628
- address1?: string;
629
- address2?: string;
630
- city?: string;
631
- country?: string;
632
- country_code?: string;
633
- landmark?: string;
634
- latitude: number;
635
- longitude: number;
636
- pincode?: number;
637
- sector?: string;
638
- state?: string;
639
- state_code?: string;
586
+ /** @returns {BrandBannerSerializer} */
587
+ declare function BrandBannerSerializer(): BrandBannerSerializer;
588
+ type BrandBannerSerializer = {
589
+ portrait: string;
590
+ landscape: string;
640
591
  };
641
592
  /** @returns {GetBrandResponseSerializer} */
642
593
  declare function GetBrandResponseSerializer(): GetBrandResponseSerializer;
643
594
  type GetBrandResponseSerializer = {
644
- _custom_json?: any;
645
- _locale_language?: any;
595
+ modified_by?: UserSerializer;
646
596
  banner?: BrandBannerSerializer;
597
+ name: string;
598
+ _custom_json?: any;
599
+ verified_on?: string;
647
600
  created_by?: UserSerializer;
648
601
  created_on?: string;
649
- description?: string;
650
- logo?: string;
602
+ warnings?: any;
603
+ _locale_language?: any;
651
604
  mode?: string;
652
- modified_by?: UserSerializer;
605
+ synonyms?: string[];
653
606
  modified_on?: string;
654
- name: string;
607
+ uid?: number;
655
608
  reject_reason?: string;
656
- slug_key?: string;
657
609
  stage?: string;
658
- synonyms?: string[];
659
- uid?: number;
660
610
  verified_by?: UserSerializer;
661
- verified_on?: string;
662
- warnings?: any;
611
+ slug_key?: string;
612
+ logo?: string;
613
+ description?: string;
663
614
  };
664
- /** @returns {GetCompanyProfileSerializerResponse} */
665
- declare function GetCompanyProfileSerializerResponse(): GetCompanyProfileSerializerResponse;
666
- type GetCompanyProfileSerializerResponse = {
615
+ /** @returns {CreateUpdateBrandRequestSerializer} */
616
+ declare function CreateUpdateBrandRequestSerializer(): CreateUpdateBrandRequestSerializer;
617
+ type CreateUpdateBrandRequestSerializer = {
667
618
  _custom_json?: any;
668
- addresses?: GetAddressSerializer[];
669
- business_country_info?: BusinessCountryInfo;
670
- business_details?: BusinessDetails;
671
- business_info?: string;
672
- business_type?: string;
673
- company_type: string;
674
- contact_details?: ContactDetails;
675
- created_by?: UserSerializer;
676
- created_on?: string;
677
- documents?: Document[];
678
- franchise_enabled?: boolean;
679
- mode?: string;
680
- modified_by?: UserSerializer;
681
- modified_on?: string;
682
- name?: string;
683
- notification_emails?: string[];
619
+ _locale_language?: any;
620
+ synonyms?: string[];
621
+ company_id?: number;
622
+ description?: string;
623
+ logo: string;
624
+ brand_tier?: string;
625
+ uid?: number;
626
+ banner: BrandBannerSerializer;
627
+ name: string;
628
+ };
629
+ /** @returns {CompanySocialAccounts} */
630
+ declare function CompanySocialAccounts(): CompanySocialAccounts;
631
+ type CompanySocialAccounts = {
632
+ name: string;
633
+ url: string;
634
+ };
635
+ /** @returns {CompanyDetails} */
636
+ declare function CompanyDetails(): CompanyDetails;
637
+ type CompanyDetails = {
638
+ socials?: CompanySocialAccounts[];
639
+ website_url?: string;
640
+ };
641
+ /** @returns {CompanySerializer} */
642
+ declare function CompanySerializer(): CompanySerializer;
643
+ type CompanySerializer = {
684
644
  stage?: string;
685
- taxes?: CompanyTaxesSerializer[];
686
- uid: number;
687
- verified_by?: UserSerializer;
645
+ _custom_json?: any;
688
646
  verified_on?: string;
689
- warnings?: any;
690
- };
691
- /** @returns {GetCompanySerializer} */
692
- declare function GetCompanySerializer(): GetCompanySerializer;
693
- type GetCompanySerializer = {
694
- addresses?: GetAddressSerializer[];
695
- business_type?: string;
696
- company_type?: string;
697
- created_by?: UserSerializer;
647
+ verified_by?: UserSerializer;
698
648
  created_on?: string;
699
- modified_by?: UserSerializer;
649
+ created_by?: UserSerializer;
650
+ company_type: string;
700
651
  modified_on?: string;
701
- name?: string;
652
+ market_channels?: string[];
653
+ business_type: string;
654
+ addresses?: GetAddressSerializer[];
655
+ notification_emails?: string[];
656
+ details?: CompanyDetails;
657
+ business_country_info?: BusinessCountryInfo;
658
+ uid?: number;
702
659
  reject_reason?: string;
660
+ name?: string;
661
+ modified_by?: UserSerializer;
662
+ };
663
+ /** @returns {CompanyBrandSerializer} */
664
+ declare function CompanyBrandSerializer(): CompanyBrandSerializer;
665
+ type CompanyBrandSerializer = {
703
666
  stage?: string;
704
- uid?: number;
705
- verified_by?: UserSerializer;
706
667
  verified_on?: string;
707
- };
708
- /** @returns {GetLocationSerializer} */
709
- declare function GetLocationSerializer(): GetLocationSerializer;
710
- type GetLocationSerializer = {
711
- _custom_json?: any;
712
- address: GetAddressSerializer;
713
- auto_assign_courier_partner?: boolean;
714
- auto_invoice?: boolean;
715
- avg_order_processing_time?: AverageOrderProcessingTime;
716
- bulk_shipment?: boolean;
717
- code: string;
718
- company?: GetCompanySerializer;
719
- contact_numbers?: SellerPhoneNumber[];
720
- created_by?: UserSerializer;
668
+ verified_by?: UserSerializer;
721
669
  created_on?: string;
722
- credit_note?: boolean;
723
- default_order_acceptance_timing?: boolean;
724
- display_name: string;
725
- documents?: Document[];
726
- gst_credentials?: InvoiceDetailsSerializer;
727
- holiday?: HolidaySchemaSerializer[];
728
- manager?: LocationManagerSerializer;
729
- modified_by?: UserSerializer;
670
+ created_by?: UserSerializer;
671
+ company?: CompanySerializer;
672
+ warnings?: any;
730
673
  modified_on?: string;
731
- name: string;
732
- notification_emails?: string[];
733
- order_acceptance_timing?: LocationDayWiseSerializer[];
734
- phone_number?: string;
735
- product_return_config?: ProductReturnConfigSerializer;
736
- stage?: string;
737
- store_type?: string;
738
- tags?: string[];
739
- timing?: LocationDayWiseSerializer[];
740
674
  uid?: number;
741
- verified_by?: UserSerializer;
742
- verified_on?: string;
743
- warnings?: any;
675
+ reject_reason?: string;
676
+ brand?: GetBrandResponseSerializer;
677
+ modified_by?: UserSerializer;
678
+ };
679
+ /** @returns {Page} */
680
+ declare function Page(): Page;
681
+ type Page = {
682
+ item_total?: number;
683
+ next_id?: string;
684
+ has_previous?: boolean;
685
+ has_next?: boolean;
686
+ current?: number;
687
+ type: string;
688
+ size?: number;
744
689
  };
745
- /** @returns {HolidayDateSerializer} */
746
- declare function HolidayDateSerializer(): HolidayDateSerializer;
747
- type HolidayDateSerializer = {
748
- end_date: string;
749
- start_date: string;
690
+ /** @returns {CompanyBrandListSerializer} */
691
+ declare function CompanyBrandListSerializer(): CompanyBrandListSerializer;
692
+ type CompanyBrandListSerializer = {
693
+ items?: CompanyBrandSerializer[];
694
+ page?: Page;
750
695
  };
751
- /** @returns {HolidaySchemaSerializer} */
752
- declare function HolidaySchemaSerializer(): HolidaySchemaSerializer;
753
- type HolidaySchemaSerializer = {
754
- date: HolidayDateSerializer;
755
- holiday_type: string;
756
- title: string;
696
+ /** @returns {CompanyBrandPostRequestSerializer} */
697
+ declare function CompanyBrandPostRequestSerializer(): CompanyBrandPostRequestSerializer;
698
+ type CompanyBrandPostRequestSerializer = {
699
+ uid?: number;
700
+ brands: number[];
701
+ company: number;
757
702
  };
758
703
  /** @returns {InvoiceCredSerializer} */
759
704
  declare function InvoiceCredSerializer(): InvoiceCredSerializer;
760
705
  type InvoiceCredSerializer = {
706
+ username?: string;
761
707
  enabled?: boolean;
762
708
  password?: string;
763
- username?: string;
764
709
  };
765
710
  /** @returns {InvoiceDetailsSerializer} */
766
711
  declare function InvoiceDetailsSerializer(): InvoiceDetailsSerializer;
@@ -768,13 +713,98 @@ type InvoiceDetailsSerializer = {
768
713
  e_invoice?: InvoiceCredSerializer;
769
714
  e_waybill?: InvoiceCredSerializer;
770
715
  };
716
+ /** @returns {GetCompanySerializer} */
717
+ declare function GetCompanySerializer(): GetCompanySerializer;
718
+ type GetCompanySerializer = {
719
+ stage?: string;
720
+ verified_on?: string;
721
+ verified_by?: UserSerializer;
722
+ created_on?: string;
723
+ created_by?: UserSerializer;
724
+ company_type?: string;
725
+ modified_on?: string;
726
+ business_type?: string;
727
+ addresses?: GetAddressSerializer[];
728
+ uid?: number;
729
+ reject_reason?: string;
730
+ name?: string;
731
+ modified_by?: UserSerializer;
732
+ };
733
+ /** @returns {LocationManagerSerializer} */
734
+ declare function LocationManagerSerializer(): LocationManagerSerializer;
735
+ type LocationManagerSerializer = {
736
+ email?: string;
737
+ mobile_no: SellerPhoneNumber;
738
+ name?: string;
739
+ };
740
+ /** @returns {LocationTimingSerializer} */
741
+ declare function LocationTimingSerializer(): LocationTimingSerializer;
742
+ type LocationTimingSerializer = {
743
+ hour: number;
744
+ minute: number;
745
+ };
771
746
  /** @returns {LocationDayWiseSerializer} */
772
747
  declare function LocationDayWiseSerializer(): LocationDayWiseSerializer;
773
748
  type LocationDayWiseSerializer = {
774
- closing?: LocationTimingSerializer;
775
749
  open: boolean;
776
- opening?: LocationTimingSerializer;
777
750
  weekday: string;
751
+ opening?: LocationTimingSerializer;
752
+ closing?: LocationTimingSerializer;
753
+ };
754
+ /** @returns {HolidayDateSerializer} */
755
+ declare function HolidayDateSerializer(): HolidayDateSerializer;
756
+ type HolidayDateSerializer = {
757
+ end_date: string;
758
+ start_date: string;
759
+ };
760
+ /** @returns {HolidaySchemaSerializer} */
761
+ declare function HolidaySchemaSerializer(): HolidaySchemaSerializer;
762
+ type HolidaySchemaSerializer = {
763
+ date: HolidayDateSerializer;
764
+ title: string;
765
+ holiday_type: string;
766
+ };
767
+ /** @returns {ProductReturnConfigSerializer} */
768
+ declare function ProductReturnConfigSerializer(): ProductReturnConfigSerializer;
769
+ type ProductReturnConfigSerializer = {
770
+ on_same_store?: boolean;
771
+ store_uid?: number;
772
+ };
773
+ /** @returns {GetLocationSerializer} */
774
+ declare function GetLocationSerializer(): GetLocationSerializer;
775
+ type GetLocationSerializer = {
776
+ code: string;
777
+ phone_number?: string;
778
+ contact_numbers?: SellerPhoneNumber[];
779
+ gst_credentials?: InvoiceDetailsSerializer;
780
+ name: string;
781
+ _custom_json?: any;
782
+ verified_on?: string;
783
+ created_by?: UserSerializer;
784
+ created_on?: string;
785
+ company?: GetCompanySerializer;
786
+ address: GetAddressSerializer;
787
+ warnings?: any;
788
+ store_type?: string;
789
+ manager?: LocationManagerSerializer;
790
+ auto_invoice?: boolean;
791
+ modified_on?: string;
792
+ uid?: number;
793
+ timing?: LocationDayWiseSerializer[];
794
+ stage?: string;
795
+ documents?: Document[];
796
+ credit_note?: boolean;
797
+ holiday?: HolidaySchemaSerializer[];
798
+ display_name: string;
799
+ product_return_config?: ProductReturnConfigSerializer;
800
+ verified_by?: UserSerializer;
801
+ notification_emails?: string[];
802
+ modified_by?: UserSerializer;
803
+ tags?: string[];
804
+ default_order_acceptance_timing?: boolean;
805
+ order_acceptance_timing?: LocationDayWiseSerializer[];
806
+ avg_order_processing_time?: AverageOrderProcessingTime;
807
+ bulk_shipment?: boolean;
778
808
  };
779
809
  /** @returns {LocationListSerializer} */
780
810
  declare function LocationListSerializer(): LocationListSerializer;
@@ -782,131 +812,72 @@ type LocationListSerializer = {
782
812
  items?: GetLocationSerializer[];
783
813
  page?: Page;
784
814
  };
785
- /** @returns {LocationManagerSerializer} */
786
- declare function LocationManagerSerializer(): LocationManagerSerializer;
787
- type LocationManagerSerializer = {
788
- email?: string;
789
- mobile_no: SellerPhoneNumber;
790
- name?: string;
815
+ /** @returns {AddressSerializer} */
816
+ declare function AddressSerializer(): AddressSerializer;
817
+ type AddressSerializer = {
818
+ landmark?: string;
819
+ country_code?: string;
820
+ pincode?: number;
821
+ address_type?: string;
822
+ longitude: number;
823
+ country?: string;
824
+ address2?: string;
825
+ state?: string;
826
+ address1?: string;
827
+ city?: string;
828
+ latitude: number;
791
829
  };
792
830
  /** @returns {LocationSerializer} */
793
831
  declare function LocationSerializer(): LocationSerializer;
794
832
  type LocationSerializer = {
833
+ code: string;
834
+ gst_credentials?: InvoiceDetailsSerializer;
835
+ contact_numbers?: SellerPhoneNumber[];
836
+ name: string;
795
837
  _custom_json?: any;
838
+ warnings?: any;
796
839
  address: AddressSerializer;
797
- auto_assign_courier_partner?: boolean;
798
- auto_invoice?: boolean;
799
- avg_order_processing_time?: AverageOrderProcessingTime;
800
- bulk_shipment?: boolean;
801
- code: string;
802
840
  company: number;
803
- contact_numbers?: SellerPhoneNumber[];
841
+ store_type?: string;
842
+ manager?: LocationManagerSerializer;
843
+ auto_invoice?: boolean;
844
+ uid?: number;
845
+ timing?: LocationDayWiseSerializer[];
846
+ stage?: string;
847
+ documents?: Document[];
804
848
  credit_note?: boolean;
849
+ holiday?: HolidaySchemaSerializer[];
850
+ product_return_config?: ProductReturnConfigSerializer;
851
+ display_name: string;
852
+ notification_emails?: string[];
853
+ tags?: string[];
805
854
  /**
806
855
  * - Flag to set
807
856
  * order_acceptance_timing as default timing
808
857
  */
809
858
  default_order_acceptance_timing?: boolean;
810
- display_name: string;
811
- documents: Document[];
812
- gst_credentials?: InvoiceDetailsSerializer;
813
- holiday?: HolidaySchemaSerializer[];
814
- manager?: LocationManagerSerializer;
815
- name: string;
816
- notification_emails?: string[];
817
859
  /**
818
860
  * - Order
819
861
  * acceptance timing of the store
820
862
  */
821
863
  order_acceptance_timing?: LocationDayWiseSerializer[];
822
- product_return_config?: ProductReturnConfigSerializer;
823
- stage?: string;
824
- store_type?: string;
825
- tags?: string[];
826
- timing?: LocationDayWiseSerializer[];
827
- uid?: number;
828
- warnings?: any;
829
- };
830
- /** @returns {LocationTimingSerializer} */
831
- declare function LocationTimingSerializer(): LocationTimingSerializer;
832
- type LocationTimingSerializer = {
833
- hour: number;
834
- minute: number;
835
- };
836
- /** @returns {MetricsSerializer} */
837
- declare function MetricsSerializer(): MetricsSerializer;
838
- type MetricsSerializer = {
839
- brand?: DocumentsObj;
840
- company_documents?: DocumentsObj;
841
- product?: DocumentsObj;
842
- stage?: string;
843
- store?: DocumentsObj;
844
- store_documents?: DocumentsObj;
845
- uid?: number;
846
- };
847
- /** @returns {Page} */
848
- declare function Page(): Page;
849
- type Page = {
850
- current?: number;
851
- has_next?: boolean;
852
- has_previous?: boolean;
853
- item_total?: number;
854
- next_id?: string;
855
- size?: number;
856
- type: string;
857
- };
858
- /** @returns {ProductReturnConfigSerializer} */
859
- declare function ProductReturnConfigSerializer(): ProductReturnConfigSerializer;
860
- type ProductReturnConfigSerializer = {
861
- on_same_store?: boolean;
862
- store_uid?: number;
864
+ avg_order_processing_time?: AverageOrderProcessingTime;
865
+ bulk_shipment?: boolean;
863
866
  };
864
- /** @returns {ProfileSuccessResponse} */
865
- declare function ProfileSuccessResponse(): ProfileSuccessResponse;
866
- type ProfileSuccessResponse = {
867
- message?: string;
868
- success?: boolean;
869
- uid?: number;
867
+ /** @returns {BulkLocationSerializer} */
868
+ declare function BulkLocationSerializer(): BulkLocationSerializer;
869
+ type BulkLocationSerializer = {
870
+ data?: LocationSerializer[];
870
871
  };
871
- /** @returns {SellerPhoneNumber} */
872
- declare function SellerPhoneNumber(): SellerPhoneNumber;
873
- type SellerPhoneNumber = {
874
- country_code: number;
875
- number: string;
872
+ /** @returns {AverageOrderProcessingTime} */
873
+ declare function AverageOrderProcessingTime(): AverageOrderProcessingTime;
874
+ type AverageOrderProcessingTime = {
875
+ duration?: number;
876
+ duration_type?: string;
876
877
  };
877
878
  /** @returns {StoreTagsResponseSchema} */
878
879
  declare function StoreTagsResponseSchema(): StoreTagsResponseSchema;
879
880
  type StoreTagsResponseSchema = {
880
- success?: boolean;
881
881
  tags?: string[];
882
- };
883
- /** @returns {UpdateCompany} */
884
- declare function UpdateCompany(): UpdateCompany;
885
- type UpdateCompany = {
886
- _custom_json?: any;
887
- addresses?: CreateUpdateAddressSerializer[];
888
- business_details?: BusinessDetails;
889
- business_info?: string;
890
- business_type?: string;
891
- company_type?: string;
892
- contact_details?: ContactDetails;
893
- documents?: Document[];
894
- franchise_enabled?: boolean;
895
- name?: string;
896
- notification_emails?: string[];
897
- reject_reason?: string;
898
- taxes?: CompanyTaxesSerializer1[];
899
- warnings?: any;
900
- };
901
- /** @returns {UserSerializer} */
902
- declare function UserSerializer(): UserSerializer;
903
- type UserSerializer = {
904
- contact?: string;
905
- user_id?: string;
906
- username?: string;
907
- };
908
- /** @returns {Website} */
909
- declare function Website(): Website;
910
- type Website = {
911
- url?: string;
882
+ success?: boolean;
912
883
  };