@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,67 +1,1102 @@
1
- export = OrderModel;
2
- declare class OrderModel {
3
- static ApefaceApiError(): any;
4
- static AppliedFreeArticles(): any;
5
- static AppliedPromos(): any;
6
- static BagReasonMeta(): any;
7
- static BagReasons(): any;
8
- static Bags(): any;
9
- static BagsForReorder(): any;
10
- static BagsForReorderArticleAssignment(): any;
11
- static BreakupValues(): any;
12
- static CurrentStatus(): any;
13
- static CustomerDetailsResponse(): any;
14
- static DataUpdates(): any;
15
- static DeliveryAddress(): any;
16
- static EntitiesDataUpdates(): any;
17
- static EntitiesReasons(): any;
18
- static EntityReasonData(): any;
19
- static ErrorResponse(): any;
20
- static FinancialBreakup(): any;
21
- static FulfillingCompany(): any;
22
- static FulfillingStore(): any;
23
- static Identifiers(): any;
24
- static Invoice(): any;
25
- static Item(): any;
26
- static ItemBrand(): any;
27
- static NestedTrackingDetails(): any;
28
- static OrderById(): any;
29
- static OrderFilters(): any;
30
- static OrderList(): any;
31
- static OrderPage(): any;
32
- static OrderSchema(): any;
33
- static OrderStatuses(): any;
34
- static Prices(): any;
35
- static Products(): any;
36
- static ProductsDataUpdates(): any;
37
- static ProductsDataUpdatesFilters(): any;
38
- static ProductsReasons(): any;
39
- static ProductsReasonsData(): any;
40
- static ProductsReasonsFilters(): any;
41
- static Promise(): any;
42
- static QuestionSet(): any;
43
- static ReasonsData(): any;
44
- static ResponseGetInvoiceShipment(): any;
45
- static SendOtpToCustomerResponse(): any;
46
- static ShipmentApplicationStatusResponse(): any;
47
- static ShipmentBagReasons(): any;
48
- static ShipmentById(): any;
49
- static ShipmentPayment(): any;
50
- static ShipmentReason(): any;
51
- static ShipmentReasons(): any;
52
- static Shipments(): any;
53
- static ShipmentsRequest(): any;
54
- static ShipmentStatus(): any;
55
- static ShipmentTotalDetails(): any;
56
- static ShipmentTrack(): any;
57
- static ShipmentUserInfo(): any;
58
- static StatuesRequest(): any;
59
- static StatusesBodyResponse(): any;
60
- static TimeStampData(): any;
61
- static Track(): any;
62
- static TrackingDetails(): any;
63
- static UpdateShipmentStatusRequest(): any;
64
- static UserInfo(): any;
65
- static VerifyOtp(): any;
66
- static VerifyOtpResponse(): any;
1
+ export = OrderApplicationModel;
2
+ /**
3
+ * @typedef ApefaceApiError
4
+ * @property {string} [message]
5
+ * @property {boolean} [success]
6
+ */
7
+ /**
8
+ * @typedef AppliedFreeArticles
9
+ * @property {string} [article_id]
10
+ * @property {Object} [free_gift_item_details]
11
+ * @property {string} [parent_item_identifier]
12
+ * @property {number} [quantity]
13
+ */
14
+ /**
15
+ * @typedef AppliedPromos
16
+ * @property {number} [amount]
17
+ * @property {AppliedFreeArticles[]} [applied_free_articles]
18
+ * @property {number} [article_quantity]
19
+ * @property {boolean} [mrp_promotion]
20
+ * @property {string} [promo_id]
21
+ * @property {string} [promotion_name]
22
+ * @property {string} [promotion_type]
23
+ */
24
+ /**
25
+ * @typedef BagReasonMeta
26
+ * @property {boolean} [show_text_area]
27
+ */
28
+ /**
29
+ * @typedef BagReasons
30
+ * @property {string} [display_name]
31
+ * @property {number} [id]
32
+ * @property {BagReasonMeta} [meta]
33
+ * @property {string[]} [qc_type]
34
+ * @property {QuestionSet[]} [question_set]
35
+ * @property {BagReasons[]} [reasons]
36
+ */
37
+ /**
38
+ * @typedef Bags
39
+ * @property {AppliedPromos[]} [applied_promos]
40
+ * @property {boolean} [can_cancel]
41
+ * @property {boolean} [can_return]
42
+ * @property {string} [currency_code]
43
+ * @property {string} [currency_symbol]
44
+ * @property {CurrentStatus} [current_status]
45
+ * @property {string} [delivery_date]
46
+ * @property {FinancialBreakup[]} [financial_breakup]
47
+ * @property {number} [id]
48
+ * @property {Item} [item]
49
+ * @property {number} [line_number]
50
+ * @property {Object} [meta]
51
+ * @property {Object} [parent_promo_bags]
52
+ * @property {Prices} [prices]
53
+ * @property {number} [quantity]
54
+ * @property {string} [returnable_date]
55
+ * @property {string} [seller_identifier]
56
+ */
57
+ /**
58
+ * @typedef BagsForReorder
59
+ * @property {BagsForReorderArticleAssignment} [article_assignment]
60
+ * @property {number} [item_id]
61
+ * @property {string} [item_size]
62
+ * @property {number} [quantity]
63
+ * @property {number} [seller_id]
64
+ * @property {number} [store_id]
65
+ */
66
+ /**
67
+ * @typedef BagsForReorderArticleAssignment
68
+ * @property {string} [level]
69
+ * @property {string} [strategy]
70
+ */
71
+ /**
72
+ * @typedef BreakupValues
73
+ * @property {string} [currency_code]
74
+ * @property {string} [currency_symbol]
75
+ * @property {string} [display]
76
+ * @property {string} [name]
77
+ * @property {number} [value]
78
+ */
79
+ /**
80
+ * @typedef CurrentStatus
81
+ * @property {string} [journey_type]
82
+ * @property {string} [name]
83
+ * @property {string} [status]
84
+ * @property {string} [updated_at]
85
+ */
86
+ /**
87
+ * @typedef CustomerDetailsResponse
88
+ * @property {string} [country]
89
+ * @property {string} [name]
90
+ * @property {string} [order_id]
91
+ * @property {string} [phone]
92
+ * @property {string} [shipment_id]
93
+ */
94
+ /**
95
+ * @typedef DataUpdates
96
+ * @property {EntitiesDataUpdates[]} [entities]
97
+ * @property {ProductsDataUpdates[]} [products]
98
+ */
99
+ /**
100
+ * @typedef DeliveryAddress
101
+ * @property {string} [address]
102
+ * @property {string} [address_category]
103
+ * @property {string} [address_type]
104
+ * @property {string} [address1]
105
+ * @property {string} [address2]
106
+ * @property {string} [area]
107
+ * @property {string} [city]
108
+ * @property {string} [contact_person]
109
+ * @property {string} [country]
110
+ * @property {string} [country_iso_code]
111
+ * @property {string} [country_phone_code]
112
+ * @property {string} [created_at]
113
+ * @property {string} [email]
114
+ * @property {string} [landmark]
115
+ * @property {number} [latitude]
116
+ * @property {number} [longitude]
117
+ * @property {string} [name]
118
+ * @property {string} [phone]
119
+ * @property {string} [pincode]
120
+ * @property {string} [state]
121
+ * @property {string} [updated_at]
122
+ * @property {string} [version]
123
+ */
124
+ /**
125
+ * @typedef EntitiesDataUpdates
126
+ * @property {Object} [data]
127
+ * @property {Object[]} [filters]
128
+ */
129
+ /**
130
+ * @typedef EntitiesReasons
131
+ * @property {EntityReasonData} [data]
132
+ * @property {Object[]} [filters]
133
+ */
134
+ /**
135
+ * @typedef EntityReasonData
136
+ * @property {number} [reason_id]
137
+ * @property {string} [reason_text]
138
+ */
139
+ /**
140
+ * @typedef ErrorResponse
141
+ * @property {string} [code]
142
+ * @property {string} [exception]
143
+ * @property {string} [message]
144
+ * @property {string} [stack_trace]
145
+ * @property {number} [status]
146
+ */
147
+ /**
148
+ * @typedef FinancialBreakup
149
+ * @property {boolean} [added_to_fynd_cash]
150
+ * @property {number} [amount_paid]
151
+ * @property {number} [amount_paid_roundoff]
152
+ * @property {number} [brand_calculated_amount]
153
+ * @property {number} [cashback]
154
+ * @property {number} [cashback_applied]
155
+ * @property {number} [cod_charges]
156
+ * @property {number} [coupon_effective_discount]
157
+ * @property {number} [coupon_value]
158
+ * @property {number} [delivery_charge]
159
+ * @property {number} [discount]
160
+ * @property {number} [fynd_credits]
161
+ * @property {number} [gst_fee]
162
+ * @property {string} [gst_tag]
163
+ * @property {number} [gst_tax_percentage]
164
+ * @property {string} [hsn_code]
165
+ * @property {Identifiers} [identifiers]
166
+ * @property {string} [item_name]
167
+ * @property {number} [price_effective]
168
+ * @property {number} [price_marked]
169
+ * @property {number} [promotion_effective_discount]
170
+ * @property {number} [refund_amount]
171
+ * @property {number} [refund_credit]
172
+ * @property {string} [size]
173
+ * @property {number} [total_units]
174
+ * @property {number} [transfer_price]
175
+ * @property {number} [value_of_good]
176
+ */
177
+ /**
178
+ * @typedef FulfillingCompany
179
+ * @property {number} [id]
180
+ * @property {string} [name]
181
+ */
182
+ /**
183
+ * @typedef FulfillingStore
184
+ * @property {string} [code]
185
+ * @property {number} [company_id]
186
+ * @property {string} [company_name]
187
+ * @property {number} [id]
188
+ * @property {string} [name]
189
+ */
190
+ /**
191
+ * @typedef Identifiers
192
+ * @property {string} [ean]
193
+ * @property {string} [sku_code]
194
+ */
195
+ /**
196
+ * @typedef Invoice
197
+ * @property {string} [invoice_url]
198
+ * @property {string} [label_url]
199
+ * @property {string} [updated_date]
200
+ */
201
+ /**
202
+ * @typedef Item
203
+ * @property {ItemBrand} [brand]
204
+ * @property {string} [code]
205
+ * @property {number} [id]
206
+ * @property {string[]} [image]
207
+ * @property {string[]} [l1_categories]
208
+ * @property {string[]} [l2_categories]
209
+ * @property {string} [l3_category_name]
210
+ * @property {string} [name]
211
+ * @property {string} [seller_identifier]
212
+ * @property {string} [size]
213
+ * @property {string} [slug_key]
214
+ */
215
+ /**
216
+ * @typedef ItemBrand
217
+ * @property {string} [logo]
218
+ * @property {string} [name]
219
+ */
220
+ /**
221
+ * @typedef NestedTrackingDetails
222
+ * @property {boolean} [is_current]
223
+ * @property {boolean} [is_passed]
224
+ * @property {string} [status]
225
+ * @property {string} [time]
226
+ */
227
+ /**
228
+ * @typedef OrderById
229
+ * @property {OrderSchema} [order]
230
+ */
231
+ /**
232
+ * @typedef OrderFilters
233
+ * @property {OrderStatuses[]} [statuses]
234
+ */
235
+ /**
236
+ * @typedef OrderList
237
+ * @property {OrderFilters} [filters]
238
+ * @property {OrderSchema[]} [items]
239
+ * @property {OrderPage} [page]
240
+ */
241
+ /**
242
+ * @typedef OrderPage
243
+ * @property {number} [current]
244
+ * @property {boolean} [has_next]
245
+ * @property {number} [item_total]
246
+ * @property {number} [size]
247
+ * @property {string} [type]
248
+ */
249
+ /**
250
+ * @typedef OrderSchema
251
+ * @property {BagsForReorder[]} [bags_for_reorder]
252
+ * @property {BreakupValues[]} [breakup_values]
253
+ * @property {string} [order_created_time]
254
+ * @property {string} [order_id]
255
+ * @property {Shipments[]} [shipments]
256
+ * @property {number} [total_shipments_in_order]
257
+ * @property {UserInfo} [user_info]
258
+ */
259
+ /**
260
+ * @typedef OrderStatuses
261
+ * @property {string} [display]
262
+ * @property {boolean} [is_selected]
263
+ * @property {number} [value]
264
+ */
265
+ /**
266
+ * @typedef Prices
267
+ * @property {boolean} [added_to_fynd_cash]
268
+ * @property {number} [amount_paid]
269
+ * @property {number} [amount_paid_roundoff]
270
+ * @property {number} [brand_calculated_amount]
271
+ * @property {number} [cashback]
272
+ * @property {number} [cashback_applied]
273
+ * @property {number} [cod_charges]
274
+ * @property {number} [coupon_effective_discount]
275
+ * @property {number} [coupon_value]
276
+ * @property {string} [currency_code]
277
+ * @property {string} [currency_symbol]
278
+ * @property {number} [delivery_charge]
279
+ * @property {number} [discount]
280
+ * @property {number} [fynd_credits]
281
+ * @property {number} [gst_tax_percentage]
282
+ * @property {number} [price_effective]
283
+ * @property {number} [price_marked]
284
+ * @property {number} [promotion_effective_discount]
285
+ * @property {number} [refund_amount]
286
+ * @property {number} [refund_credit]
287
+ * @property {number} [transfer_price]
288
+ * @property {number} [value_of_good]
289
+ */
290
+ /**
291
+ * @typedef Products
292
+ * @property {string} [identifier]
293
+ * @property {number} [line_number]
294
+ * @property {number} [quantity]
295
+ */
296
+ /**
297
+ * @typedef ProductsDataUpdates
298
+ * @property {Object} [data]
299
+ * @property {ProductsDataUpdatesFilters[]} [filters]
300
+ */
301
+ /**
302
+ * @typedef ProductsDataUpdatesFilters
303
+ * @property {string} [identifier]
304
+ * @property {number} [line_number]
305
+ */
306
+ /**
307
+ * @typedef ProductsReasons
308
+ * @property {ProductsReasonsData} [data]
309
+ * @property {ProductsReasonsFilters[]} [filters]
310
+ */
311
+ /**
312
+ * @typedef ProductsReasonsData
313
+ * @property {number} [reason_id]
314
+ * @property {string} [reason_text]
315
+ */
316
+ /**
317
+ * @typedef ProductsReasonsFilters
318
+ * @property {string} [identifier]
319
+ * @property {number} [line_number]
320
+ * @property {number} [quantity]
321
+ */
322
+ /**
323
+ * @typedef Promise
324
+ * @property {boolean} [show_promise]
325
+ * @property {TimeStampData} [timestamp]
326
+ */
327
+ /**
328
+ * @typedef QuestionSet
329
+ * @property {string} [display_name]
330
+ * @property {number} [id]
331
+ */
332
+ /**
333
+ * @typedef ReasonsData
334
+ * @property {EntitiesReasons[]} [entities]
335
+ * @property {ProductsReasons[]} [products]
336
+ */
337
+ /**
338
+ * @typedef ResponseGetInvoiceShipment
339
+ * @property {string} presigned_type
340
+ * @property {string} presigned_url
341
+ * @property {string} shipment_id
342
+ * @property {boolean} success
343
+ */
344
+ /**
345
+ * @typedef SendOtpToCustomerResponse
346
+ * @property {string} [message]
347
+ * @property {string} [request_id]
348
+ * @property {number} [resend_timer]
349
+ * @property {boolean} [success]
350
+ */
351
+ /**
352
+ * @typedef ShipmentApplicationStatusResponse
353
+ * @property {StatusesBodyResponse[]} [statuses]
354
+ */
355
+ /**
356
+ * @typedef ShipmentBagReasons
357
+ * @property {BagReasons[]} [reasons]
358
+ * @property {boolean} [success]
359
+ */
360
+ /**
361
+ * @typedef ShipmentById
362
+ * @property {Shipments} [shipment]
363
+ */
364
+ /**
365
+ * @typedef ShipmentPayment
366
+ * @property {string} [display_name]
367
+ * @property {string} [logo]
368
+ * @property {string} [mode]
369
+ * @property {string} [mop]
370
+ * @property {string} [payment_mode]
371
+ * @property {string} [status]
372
+ */
373
+ /**
374
+ * @typedef ShipmentReason
375
+ * @property {string} [feedback_type]
376
+ * @property {string} [flow]
377
+ * @property {number} [priority]
378
+ * @property {number} [reason_id]
379
+ * @property {string} [reason_text]
380
+ * @property {boolean} [show_text_area]
381
+ */
382
+ /**
383
+ * @typedef ShipmentReasons
384
+ * @property {ShipmentReason[]} [reasons]
385
+ */
386
+ /**
387
+ * @typedef Shipments
388
+ * @property {string} [awb_no]
389
+ * @property {Bags[]} [bags]
390
+ * @property {boolean} [beneficiary_details]
391
+ * @property {BreakupValues[]} [breakup_values]
392
+ * @property {Object} [can_break]
393
+ * @property {boolean} [can_cancel]
394
+ * @property {boolean} [can_return]
395
+ * @property {string} [comment]
396
+ * @property {Object[]} [custom_meta]
397
+ * @property {DeliveryAddress} [delivery_address]
398
+ * @property {string} [delivery_date]
399
+ * @property {string} [dp_name]
400
+ * @property {FulfillingCompany} [fulfilling_company]
401
+ * @property {FulfillingStore} [fulfilling_store]
402
+ * @property {Invoice} [invoice]
403
+ * @property {string} [need_help_url]
404
+ * @property {string} [order_id]
405
+ * @property {string} [order_type]
406
+ * @property {ShipmentPayment} [payment]
407
+ * @property {Prices} [prices]
408
+ * @property {Promise} [promise]
409
+ * @property {Object} [refund_details]
410
+ * @property {Object} [return_meta]
411
+ * @property {string} [returnable_date]
412
+ * @property {string} [shipment_created_at]
413
+ * @property {string} [shipment_id]
414
+ * @property {ShipmentStatus} [shipment_status]
415
+ * @property {boolean} [show_download_invoice]
416
+ * @property {boolean} [show_track_link]
417
+ * @property {Object} [size_info]
418
+ * @property {number} [total_bags]
419
+ * @property {ShipmentTotalDetails} [total_details]
420
+ * @property {string} [track_url]
421
+ * @property {TrackingDetails[]} [tracking_details]
422
+ * @property {string} [traking_no]
423
+ * @property {ShipmentUserInfo} [user_info]
424
+ */
425
+ /**
426
+ * @typedef ShipmentsRequest
427
+ * @property {DataUpdates} [data_updates]
428
+ * @property {string} identifier
429
+ * @property {Products[]} [products]
430
+ * @property {ReasonsData} [reasons]
431
+ */
432
+ /**
433
+ * @typedef ShipmentStatus
434
+ * @property {string} [hex_code]
435
+ * @property {string} [title]
436
+ * @property {string} [value]
437
+ */
438
+ /**
439
+ * @typedef ShipmentTotalDetails
440
+ * @property {number} [pieces]
441
+ * @property {number} [sizes]
442
+ * @property {number} [total_price]
443
+ */
444
+ /**
445
+ * @typedef ShipmentTrack
446
+ * @property {Track[]} [results]
447
+ */
448
+ /**
449
+ * @typedef ShipmentUserInfo
450
+ * @property {string} [email]
451
+ * @property {string} [first_name]
452
+ * @property {string} [gender]
453
+ * @property {string} [last_name]
454
+ * @property {string} [mobile]
455
+ * @property {string} [name]
456
+ */
457
+ /**
458
+ * @typedef StatuesRequest
459
+ * @property {string} [exclude_bags_next_state]
460
+ * @property {ShipmentsRequest[]} [shipments]
461
+ * @property {string} [status]
462
+ */
463
+ /**
464
+ * @typedef StatusesBodyResponse
465
+ * @property {Object[]} [shipments]
466
+ */
467
+ /**
468
+ * @typedef TimeStampData
469
+ * @property {string} [max]
470
+ * @property {string} [min]
471
+ */
472
+ /**
473
+ * @typedef Track
474
+ * @property {string} [account_name]
475
+ * @property {string} [awb]
476
+ * @property {string} [last_location_recieved_at]
477
+ * @property {string} [reason]
478
+ * @property {string} [shipment_type]
479
+ * @property {string} [status]
480
+ * @property {string} [updated_at]
481
+ * @property {string} [updated_time]
482
+ */
483
+ /**
484
+ * @typedef TrackingDetails
485
+ * @property {boolean} [is_current]
486
+ * @property {boolean} [is_passed]
487
+ * @property {string} [status]
488
+ * @property {string} [time]
489
+ * @property {NestedTrackingDetails[]} [tracking_details]
490
+ * @property {string} [value]
491
+ */
492
+ /**
493
+ * @typedef UpdateShipmentStatusRequest
494
+ * @property {boolean} [force_transition]
495
+ * @property {boolean} [lock_after_transition]
496
+ * @property {StatuesRequest[]} [statuses]
497
+ * @property {boolean} [task]
498
+ * @property {boolean} [unlock_before_transition]
499
+ */
500
+ /**
501
+ * @typedef UserInfo
502
+ * @property {string} [email]
503
+ * @property {string} [first_name]
504
+ * @property {string} [gender]
505
+ * @property {string} [last_name]
506
+ * @property {string} [mobile]
507
+ * @property {string} [name]
508
+ */
509
+ /**
510
+ * @typedef VerifyOtp
511
+ * @property {string} [otp_code]
512
+ * @property {string} [request_id]
513
+ */
514
+ /**
515
+ * @typedef VerifyOtpResponse
516
+ * @property {boolean} [success]
517
+ */
518
+ declare class OrderApplicationModel {
67
519
  }
520
+ declare namespace OrderApplicationModel {
521
+ export { ApefaceApiError, AppliedFreeArticles, AppliedPromos, BagReasonMeta, BagReasons, Bags, BagsForReorder, BagsForReorderArticleAssignment, BreakupValues, CurrentStatus, CustomerDetailsResponse, DataUpdates, DeliveryAddress, EntitiesDataUpdates, EntitiesReasons, EntityReasonData, ErrorResponse, FinancialBreakup, FulfillingCompany, FulfillingStore, Identifiers, Invoice, Item, ItemBrand, NestedTrackingDetails, OrderById, OrderFilters, OrderList, OrderPage, OrderSchema, OrderStatuses, Prices, Products, ProductsDataUpdates, ProductsDataUpdatesFilters, ProductsReasons, ProductsReasonsData, ProductsReasonsFilters, Promise, QuestionSet, ReasonsData, ResponseGetInvoiceShipment, SendOtpToCustomerResponse, ShipmentApplicationStatusResponse, ShipmentBagReasons, ShipmentById, ShipmentPayment, ShipmentReason, ShipmentReasons, Shipments, ShipmentsRequest, ShipmentStatus, ShipmentTotalDetails, ShipmentTrack, ShipmentUserInfo, StatuesRequest, StatusesBodyResponse, TimeStampData, Track, TrackingDetails, UpdateShipmentStatusRequest, UserInfo, VerifyOtp, VerifyOtpResponse };
522
+ }
523
+ /** @returns {ApefaceApiError} */
524
+ declare function ApefaceApiError(): ApefaceApiError;
525
+ type ApefaceApiError = {
526
+ message?: string;
527
+ success?: boolean;
528
+ };
529
+ /** @returns {AppliedFreeArticles} */
530
+ declare function AppliedFreeArticles(): AppliedFreeArticles;
531
+ type AppliedFreeArticles = {
532
+ article_id?: string;
533
+ free_gift_item_details?: any;
534
+ parent_item_identifier?: string;
535
+ quantity?: number;
536
+ };
537
+ /** @returns {AppliedPromos} */
538
+ declare function AppliedPromos(): AppliedPromos;
539
+ type AppliedPromos = {
540
+ amount?: number;
541
+ applied_free_articles?: AppliedFreeArticles[];
542
+ article_quantity?: number;
543
+ mrp_promotion?: boolean;
544
+ promo_id?: string;
545
+ promotion_name?: string;
546
+ promotion_type?: string;
547
+ };
548
+ /** @returns {BagReasonMeta} */
549
+ declare function BagReasonMeta(): BagReasonMeta;
550
+ type BagReasonMeta = {
551
+ show_text_area?: boolean;
552
+ };
553
+ /** @returns {BagReasons} */
554
+ declare function BagReasons(): BagReasons;
555
+ type BagReasons = {
556
+ display_name?: string;
557
+ id?: number;
558
+ meta?: BagReasonMeta;
559
+ qc_type?: string[];
560
+ question_set?: QuestionSet[];
561
+ reasons?: BagReasons[];
562
+ };
563
+ /** @returns {Bags} */
564
+ declare function Bags(): Bags;
565
+ type Bags = {
566
+ applied_promos?: AppliedPromos[];
567
+ can_cancel?: boolean;
568
+ can_return?: boolean;
569
+ currency_code?: string;
570
+ currency_symbol?: string;
571
+ current_status?: CurrentStatus;
572
+ delivery_date?: string;
573
+ financial_breakup?: FinancialBreakup[];
574
+ id?: number;
575
+ item?: Item;
576
+ line_number?: number;
577
+ meta?: any;
578
+ parent_promo_bags?: any;
579
+ prices?: Prices;
580
+ quantity?: number;
581
+ returnable_date?: string;
582
+ seller_identifier?: string;
583
+ };
584
+ /** @returns {BagsForReorder} */
585
+ declare function BagsForReorder(): BagsForReorder;
586
+ type BagsForReorder = {
587
+ article_assignment?: BagsForReorderArticleAssignment;
588
+ item_id?: number;
589
+ item_size?: string;
590
+ quantity?: number;
591
+ seller_id?: number;
592
+ store_id?: number;
593
+ };
594
+ /** @returns {BagsForReorderArticleAssignment} */
595
+ declare function BagsForReorderArticleAssignment(): BagsForReorderArticleAssignment;
596
+ type BagsForReorderArticleAssignment = {
597
+ level?: string;
598
+ strategy?: string;
599
+ };
600
+ /** @returns {BreakupValues} */
601
+ declare function BreakupValues(): BreakupValues;
602
+ type BreakupValues = {
603
+ currency_code?: string;
604
+ currency_symbol?: string;
605
+ display?: string;
606
+ name?: string;
607
+ value?: number;
608
+ };
609
+ /** @returns {CurrentStatus} */
610
+ declare function CurrentStatus(): CurrentStatus;
611
+ type CurrentStatus = {
612
+ journey_type?: string;
613
+ name?: string;
614
+ status?: string;
615
+ updated_at?: string;
616
+ };
617
+ /** @returns {CustomerDetailsResponse} */
618
+ declare function CustomerDetailsResponse(): CustomerDetailsResponse;
619
+ type CustomerDetailsResponse = {
620
+ country?: string;
621
+ name?: string;
622
+ order_id?: string;
623
+ phone?: string;
624
+ shipment_id?: string;
625
+ };
626
+ /** @returns {DataUpdates} */
627
+ declare function DataUpdates(): DataUpdates;
628
+ type DataUpdates = {
629
+ entities?: EntitiesDataUpdates[];
630
+ products?: ProductsDataUpdates[];
631
+ };
632
+ /** @returns {DeliveryAddress} */
633
+ declare function DeliveryAddress(): DeliveryAddress;
634
+ type DeliveryAddress = {
635
+ address?: string;
636
+ address_category?: string;
637
+ address_type?: string;
638
+ address1?: string;
639
+ address2?: string;
640
+ area?: string;
641
+ city?: string;
642
+ contact_person?: string;
643
+ country?: string;
644
+ country_iso_code?: string;
645
+ country_phone_code?: string;
646
+ created_at?: string;
647
+ email?: string;
648
+ landmark?: string;
649
+ latitude?: number;
650
+ longitude?: number;
651
+ name?: string;
652
+ phone?: string;
653
+ pincode?: string;
654
+ state?: string;
655
+ updated_at?: string;
656
+ version?: string;
657
+ };
658
+ /** @returns {EntitiesDataUpdates} */
659
+ declare function EntitiesDataUpdates(): EntitiesDataUpdates;
660
+ type EntitiesDataUpdates = {
661
+ data?: any;
662
+ filters?: any[];
663
+ };
664
+ /** @returns {EntitiesReasons} */
665
+ declare function EntitiesReasons(): EntitiesReasons;
666
+ type EntitiesReasons = {
667
+ data?: EntityReasonData;
668
+ filters?: any[];
669
+ };
670
+ /** @returns {EntityReasonData} */
671
+ declare function EntityReasonData(): EntityReasonData;
672
+ type EntityReasonData = {
673
+ reason_id?: number;
674
+ reason_text?: string;
675
+ };
676
+ /** @returns {ErrorResponse} */
677
+ declare function ErrorResponse(): ErrorResponse;
678
+ type ErrorResponse = {
679
+ code?: string;
680
+ exception?: string;
681
+ message?: string;
682
+ stack_trace?: string;
683
+ status?: number;
684
+ };
685
+ /** @returns {FinancialBreakup} */
686
+ declare function FinancialBreakup(): FinancialBreakup;
687
+ type FinancialBreakup = {
688
+ added_to_fynd_cash?: boolean;
689
+ amount_paid?: number;
690
+ amount_paid_roundoff?: number;
691
+ brand_calculated_amount?: number;
692
+ cashback?: number;
693
+ cashback_applied?: number;
694
+ cod_charges?: number;
695
+ coupon_effective_discount?: number;
696
+ coupon_value?: number;
697
+ delivery_charge?: number;
698
+ discount?: number;
699
+ fynd_credits?: number;
700
+ gst_fee?: number;
701
+ gst_tag?: string;
702
+ gst_tax_percentage?: number;
703
+ hsn_code?: string;
704
+ identifiers?: Identifiers;
705
+ item_name?: string;
706
+ price_effective?: number;
707
+ price_marked?: number;
708
+ promotion_effective_discount?: number;
709
+ refund_amount?: number;
710
+ refund_credit?: number;
711
+ size?: string;
712
+ total_units?: number;
713
+ transfer_price?: number;
714
+ value_of_good?: number;
715
+ };
716
+ /** @returns {FulfillingCompany} */
717
+ declare function FulfillingCompany(): FulfillingCompany;
718
+ type FulfillingCompany = {
719
+ id?: number;
720
+ name?: string;
721
+ };
722
+ /** @returns {FulfillingStore} */
723
+ declare function FulfillingStore(): FulfillingStore;
724
+ type FulfillingStore = {
725
+ code?: string;
726
+ company_id?: number;
727
+ company_name?: string;
728
+ id?: number;
729
+ name?: string;
730
+ };
731
+ /** @returns {Identifiers} */
732
+ declare function Identifiers(): Identifiers;
733
+ type Identifiers = {
734
+ ean?: string;
735
+ sku_code?: string;
736
+ };
737
+ /** @returns {Invoice} */
738
+ declare function Invoice(): Invoice;
739
+ type Invoice = {
740
+ invoice_url?: string;
741
+ label_url?: string;
742
+ updated_date?: string;
743
+ };
744
+ /** @returns {Item} */
745
+ declare function Item(): Item;
746
+ type Item = {
747
+ brand?: ItemBrand;
748
+ code?: string;
749
+ id?: number;
750
+ image?: string[];
751
+ l1_categories?: string[];
752
+ l2_categories?: string[];
753
+ l3_category_name?: string;
754
+ name?: string;
755
+ seller_identifier?: string;
756
+ size?: string;
757
+ slug_key?: string;
758
+ };
759
+ /** @returns {ItemBrand} */
760
+ declare function ItemBrand(): ItemBrand;
761
+ type ItemBrand = {
762
+ logo?: string;
763
+ name?: string;
764
+ };
765
+ /** @returns {NestedTrackingDetails} */
766
+ declare function NestedTrackingDetails(): NestedTrackingDetails;
767
+ type NestedTrackingDetails = {
768
+ is_current?: boolean;
769
+ is_passed?: boolean;
770
+ status?: string;
771
+ time?: string;
772
+ };
773
+ /** @returns {OrderById} */
774
+ declare function OrderById(): OrderById;
775
+ type OrderById = {
776
+ order?: OrderSchema;
777
+ };
778
+ /** @returns {OrderFilters} */
779
+ declare function OrderFilters(): OrderFilters;
780
+ type OrderFilters = {
781
+ statuses?: OrderStatuses[];
782
+ };
783
+ /** @returns {OrderList} */
784
+ declare function OrderList(): OrderList;
785
+ type OrderList = {
786
+ filters?: OrderFilters;
787
+ items?: OrderSchema[];
788
+ page?: OrderPage;
789
+ };
790
+ /** @returns {OrderPage} */
791
+ declare function OrderPage(): OrderPage;
792
+ type OrderPage = {
793
+ current?: number;
794
+ has_next?: boolean;
795
+ item_total?: number;
796
+ size?: number;
797
+ type?: string;
798
+ };
799
+ /** @returns {OrderSchema} */
800
+ declare function OrderSchema(): OrderSchema;
801
+ type OrderSchema = {
802
+ bags_for_reorder?: BagsForReorder[];
803
+ breakup_values?: BreakupValues[];
804
+ order_created_time?: string;
805
+ order_id?: string;
806
+ shipments?: Shipments[];
807
+ total_shipments_in_order?: number;
808
+ user_info?: UserInfo;
809
+ };
810
+ /** @returns {OrderStatuses} */
811
+ declare function OrderStatuses(): OrderStatuses;
812
+ type OrderStatuses = {
813
+ display?: string;
814
+ is_selected?: boolean;
815
+ value?: number;
816
+ };
817
+ /** @returns {Prices} */
818
+ declare function Prices(): Prices;
819
+ type Prices = {
820
+ added_to_fynd_cash?: boolean;
821
+ amount_paid?: number;
822
+ amount_paid_roundoff?: number;
823
+ brand_calculated_amount?: number;
824
+ cashback?: number;
825
+ cashback_applied?: number;
826
+ cod_charges?: number;
827
+ coupon_effective_discount?: number;
828
+ coupon_value?: number;
829
+ currency_code?: string;
830
+ currency_symbol?: string;
831
+ delivery_charge?: number;
832
+ discount?: number;
833
+ fynd_credits?: number;
834
+ gst_tax_percentage?: number;
835
+ price_effective?: number;
836
+ price_marked?: number;
837
+ promotion_effective_discount?: number;
838
+ refund_amount?: number;
839
+ refund_credit?: number;
840
+ transfer_price?: number;
841
+ value_of_good?: number;
842
+ };
843
+ /** @returns {Products} */
844
+ declare function Products(): Products;
845
+ type Products = {
846
+ identifier?: string;
847
+ line_number?: number;
848
+ quantity?: number;
849
+ };
850
+ /** @returns {ProductsDataUpdates} */
851
+ declare function ProductsDataUpdates(): ProductsDataUpdates;
852
+ type ProductsDataUpdates = {
853
+ data?: any;
854
+ filters?: ProductsDataUpdatesFilters[];
855
+ };
856
+ /** @returns {ProductsDataUpdatesFilters} */
857
+ declare function ProductsDataUpdatesFilters(): ProductsDataUpdatesFilters;
858
+ type ProductsDataUpdatesFilters = {
859
+ identifier?: string;
860
+ line_number?: number;
861
+ };
862
+ /** @returns {ProductsReasons} */
863
+ declare function ProductsReasons(): ProductsReasons;
864
+ type ProductsReasons = {
865
+ data?: ProductsReasonsData;
866
+ filters?: ProductsReasonsFilters[];
867
+ };
868
+ /** @returns {ProductsReasonsData} */
869
+ declare function ProductsReasonsData(): ProductsReasonsData;
870
+ type ProductsReasonsData = {
871
+ reason_id?: number;
872
+ reason_text?: string;
873
+ };
874
+ /** @returns {ProductsReasonsFilters} */
875
+ declare function ProductsReasonsFilters(): ProductsReasonsFilters;
876
+ type ProductsReasonsFilters = {
877
+ identifier?: string;
878
+ line_number?: number;
879
+ quantity?: number;
880
+ };
881
+ /** @returns {Promise} */
882
+ declare function Promise(): Promise;
883
+ type Promise = {
884
+ show_promise?: boolean;
885
+ timestamp?: TimeStampData;
886
+ };
887
+ /** @returns {QuestionSet} */
888
+ declare function QuestionSet(): QuestionSet;
889
+ type QuestionSet = {
890
+ display_name?: string;
891
+ id?: number;
892
+ };
893
+ /** @returns {ReasonsData} */
894
+ declare function ReasonsData(): ReasonsData;
895
+ type ReasonsData = {
896
+ entities?: EntitiesReasons[];
897
+ products?: ProductsReasons[];
898
+ };
899
+ /** @returns {ResponseGetInvoiceShipment} */
900
+ declare function ResponseGetInvoiceShipment(): ResponseGetInvoiceShipment;
901
+ type ResponseGetInvoiceShipment = {
902
+ presigned_type: string;
903
+ presigned_url: string;
904
+ shipment_id: string;
905
+ success: boolean;
906
+ };
907
+ /** @returns {SendOtpToCustomerResponse} */
908
+ declare function SendOtpToCustomerResponse(): SendOtpToCustomerResponse;
909
+ type SendOtpToCustomerResponse = {
910
+ message?: string;
911
+ request_id?: string;
912
+ resend_timer?: number;
913
+ success?: boolean;
914
+ };
915
+ /** @returns {ShipmentApplicationStatusResponse} */
916
+ declare function ShipmentApplicationStatusResponse(): ShipmentApplicationStatusResponse;
917
+ type ShipmentApplicationStatusResponse = {
918
+ statuses?: StatusesBodyResponse[];
919
+ };
920
+ /** @returns {ShipmentBagReasons} */
921
+ declare function ShipmentBagReasons(): ShipmentBagReasons;
922
+ type ShipmentBagReasons = {
923
+ reasons?: BagReasons[];
924
+ success?: boolean;
925
+ };
926
+ /** @returns {ShipmentById} */
927
+ declare function ShipmentById(): ShipmentById;
928
+ type ShipmentById = {
929
+ shipment?: Shipments;
930
+ };
931
+ /** @returns {ShipmentPayment} */
932
+ declare function ShipmentPayment(): ShipmentPayment;
933
+ type ShipmentPayment = {
934
+ display_name?: string;
935
+ logo?: string;
936
+ mode?: string;
937
+ mop?: string;
938
+ payment_mode?: string;
939
+ status?: string;
940
+ };
941
+ /** @returns {ShipmentReason} */
942
+ declare function ShipmentReason(): ShipmentReason;
943
+ type ShipmentReason = {
944
+ feedback_type?: string;
945
+ flow?: string;
946
+ priority?: number;
947
+ reason_id?: number;
948
+ reason_text?: string;
949
+ show_text_area?: boolean;
950
+ };
951
+ /** @returns {ShipmentReasons} */
952
+ declare function ShipmentReasons(): ShipmentReasons;
953
+ type ShipmentReasons = {
954
+ reasons?: ShipmentReason[];
955
+ };
956
+ /** @returns {Shipments} */
957
+ declare function Shipments(): Shipments;
958
+ type Shipments = {
959
+ awb_no?: string;
960
+ bags?: Bags[];
961
+ beneficiary_details?: boolean;
962
+ breakup_values?: BreakupValues[];
963
+ can_break?: any;
964
+ can_cancel?: boolean;
965
+ can_return?: boolean;
966
+ comment?: string;
967
+ custom_meta?: any[];
968
+ delivery_address?: DeliveryAddress;
969
+ delivery_date?: string;
970
+ dp_name?: string;
971
+ fulfilling_company?: FulfillingCompany;
972
+ fulfilling_store?: FulfillingStore;
973
+ invoice?: Invoice;
974
+ need_help_url?: string;
975
+ order_id?: string;
976
+ order_type?: string;
977
+ payment?: ShipmentPayment;
978
+ prices?: Prices;
979
+ promise?: Promise;
980
+ refund_details?: any;
981
+ return_meta?: any;
982
+ returnable_date?: string;
983
+ shipment_created_at?: string;
984
+ shipment_id?: string;
985
+ shipment_status?: ShipmentStatus;
986
+ show_download_invoice?: boolean;
987
+ show_track_link?: boolean;
988
+ size_info?: any;
989
+ total_bags?: number;
990
+ total_details?: ShipmentTotalDetails;
991
+ track_url?: string;
992
+ tracking_details?: TrackingDetails[];
993
+ traking_no?: string;
994
+ user_info?: ShipmentUserInfo;
995
+ };
996
+ /** @returns {ShipmentsRequest} */
997
+ declare function ShipmentsRequest(): ShipmentsRequest;
998
+ type ShipmentsRequest = {
999
+ data_updates?: DataUpdates;
1000
+ identifier: string;
1001
+ products?: Products[];
1002
+ reasons?: ReasonsData;
1003
+ };
1004
+ /** @returns {ShipmentStatus} */
1005
+ declare function ShipmentStatus(): ShipmentStatus;
1006
+ type ShipmentStatus = {
1007
+ hex_code?: string;
1008
+ title?: string;
1009
+ value?: string;
1010
+ };
1011
+ /** @returns {ShipmentTotalDetails} */
1012
+ declare function ShipmentTotalDetails(): ShipmentTotalDetails;
1013
+ type ShipmentTotalDetails = {
1014
+ pieces?: number;
1015
+ sizes?: number;
1016
+ total_price?: number;
1017
+ };
1018
+ /** @returns {ShipmentTrack} */
1019
+ declare function ShipmentTrack(): ShipmentTrack;
1020
+ type ShipmentTrack = {
1021
+ results?: Track[];
1022
+ };
1023
+ /** @returns {ShipmentUserInfo} */
1024
+ declare function ShipmentUserInfo(): ShipmentUserInfo;
1025
+ type ShipmentUserInfo = {
1026
+ email?: string;
1027
+ first_name?: string;
1028
+ gender?: string;
1029
+ last_name?: string;
1030
+ mobile?: string;
1031
+ name?: string;
1032
+ };
1033
+ /** @returns {StatuesRequest} */
1034
+ declare function StatuesRequest(): StatuesRequest;
1035
+ type StatuesRequest = {
1036
+ exclude_bags_next_state?: string;
1037
+ shipments?: ShipmentsRequest[];
1038
+ status?: string;
1039
+ };
1040
+ /** @returns {StatusesBodyResponse} */
1041
+ declare function StatusesBodyResponse(): StatusesBodyResponse;
1042
+ type StatusesBodyResponse = {
1043
+ shipments?: any[];
1044
+ };
1045
+ /** @returns {TimeStampData} */
1046
+ declare function TimeStampData(): TimeStampData;
1047
+ type TimeStampData = {
1048
+ max?: string;
1049
+ min?: string;
1050
+ };
1051
+ /** @returns {Track} */
1052
+ declare function Track(): Track;
1053
+ type Track = {
1054
+ account_name?: string;
1055
+ awb?: string;
1056
+ last_location_recieved_at?: string;
1057
+ reason?: string;
1058
+ shipment_type?: string;
1059
+ status?: string;
1060
+ updated_at?: string;
1061
+ updated_time?: string;
1062
+ };
1063
+ /** @returns {TrackingDetails} */
1064
+ declare function TrackingDetails(): TrackingDetails;
1065
+ type TrackingDetails = {
1066
+ is_current?: boolean;
1067
+ is_passed?: boolean;
1068
+ status?: string;
1069
+ time?: string;
1070
+ tracking_details?: NestedTrackingDetails[];
1071
+ value?: string;
1072
+ };
1073
+ /** @returns {UpdateShipmentStatusRequest} */
1074
+ declare function UpdateShipmentStatusRequest(): UpdateShipmentStatusRequest;
1075
+ type UpdateShipmentStatusRequest = {
1076
+ force_transition?: boolean;
1077
+ lock_after_transition?: boolean;
1078
+ statuses?: StatuesRequest[];
1079
+ task?: boolean;
1080
+ unlock_before_transition?: boolean;
1081
+ };
1082
+ /** @returns {UserInfo} */
1083
+ declare function UserInfo(): UserInfo;
1084
+ type UserInfo = {
1085
+ email?: string;
1086
+ first_name?: string;
1087
+ gender?: string;
1088
+ last_name?: string;
1089
+ mobile?: string;
1090
+ name?: string;
1091
+ };
1092
+ /** @returns {VerifyOtp} */
1093
+ declare function VerifyOtp(): VerifyOtp;
1094
+ type VerifyOtp = {
1095
+ otp_code?: string;
1096
+ request_id?: string;
1097
+ };
1098
+ /** @returns {VerifyOtpResponse} */
1099
+ declare function VerifyOtpResponse(): VerifyOtpResponse;
1100
+ type VerifyOtpResponse = {
1101
+ success?: boolean;
1102
+ };