@gofynd/fdk-client-javascript 1.4.15-beta.2 → 1.4.15

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 (314) hide show
  1. package/README.md +2 -2
  2. package/application.d.ts +1 -2
  3. package/application.js +2 -3
  4. package/index.d.ts +1 -2
  5. package/index.js +7 -1
  6. package/package.json +2 -3
  7. package/sdk/application/ApplicationClient.d.ts +2 -0
  8. package/sdk/application/ApplicationClient.js +2 -18
  9. package/sdk/application/Cart/CartApplicationClient.d.ts +75 -90
  10. package/sdk/application/Cart/CartApplicationClient.js +108 -1199
  11. package/sdk/application/Catalog/CatalogApplicationClient.d.ts +81 -142
  12. package/sdk/application/Catalog/CatalogApplicationClient.js +41 -1344
  13. package/sdk/application/Common/CommonApplicationClient.d.ts +4 -8
  14. package/sdk/application/Common/CommonApplicationClient.js +2 -92
  15. package/sdk/application/Communication/CommunicationApplicationClient.d.ts +6 -19
  16. package/sdk/application/Communication/CommunicationApplicationClient.js +3 -148
  17. package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +32 -73
  18. package/sdk/application/Configuration/ConfigurationApplicationClient.js +16 -727
  19. package/sdk/application/Content/ContentApplicationClient.d.ts +48 -111
  20. package/sdk/application/Content/ContentApplicationClient.js +43 -1065
  21. package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +8 -13
  22. package/sdk/application/FileStorage/FileStorageApplicationClient.js +8 -138
  23. package/sdk/application/Finance/FinanceApplicationClient.d.ts +29 -0
  24. package/sdk/application/Finance/FinanceApplicationClient.js +105 -0
  25. package/sdk/application/Lead/LeadApplicationClient.d.ts +10 -18
  26. package/sdk/application/Lead/LeadApplicationClient.js +5 -217
  27. package/sdk/application/Logistic/LogisticApplicationClient.d.ts +42 -39
  28. package/sdk/application/Logistic/LogisticApplicationClient.js +91 -493
  29. package/sdk/application/Order/OrderApplicationClient.d.ts +36 -46
  30. package/sdk/application/Order/OrderApplicationClient.js +52 -507
  31. package/sdk/application/Payment/PaymentApplicationClient.d.ts +103 -213
  32. package/sdk/application/Payment/PaymentApplicationClient.js +84 -2105
  33. package/sdk/application/Rewards/RewardsApplicationClient.d.ts +15 -29
  34. package/sdk/application/Rewards/RewardsApplicationClient.js +8 -312
  35. package/sdk/application/Share/ShareApplicationClient.d.ts +14 -24
  36. package/sdk/application/Share/ShareApplicationClient.js +7 -309
  37. package/sdk/application/Theme/ThemeApplicationClient.d.ts +8 -14
  38. package/sdk/application/Theme/ThemeApplicationClient.js +8 -176
  39. package/sdk/application/User/UserApplicationClient.d.ts +87 -138
  40. package/sdk/application/User/UserApplicationClient.js +44 -1820
  41. package/sdk/application/Webhook/WebhookApplicationClient.d.ts +4 -7
  42. package/sdk/application/Webhook/WebhookApplicationClient.js +3 -52
  43. package/sdk/application/index.d.ts +0 -18
  44. package/sdk/application/index.js +0 -33
  45. package/sdk/partner/FileStorage/FileStoragePartnerClient.d.ts +86 -12
  46. package/sdk/partner/FileStorage/FileStoragePartnerClient.js +582 -24
  47. package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +116 -19
  48. package/sdk/partner/FileStorage/FileStoragePartnerModel.js +121 -14
  49. package/sdk/partner/FileStorage/FileStoragePartnerValidator.d.ts +8 -1
  50. package/sdk/partner/FileStorage/FileStoragePartnerValidator.js +51 -4
  51. package/sdk/partner/Lead/LeadPartnerClient.d.ts +2 -2
  52. package/sdk/partner/Lead/LeadPartnerClient.js +2 -2
  53. package/sdk/partner/Lead/LeadPartnerModel.d.ts +5 -5
  54. package/sdk/partner/Lead/LeadPartnerModel.js +15 -15
  55. package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +157 -30
  56. package/sdk/partner/Logistics/LogisticsPartnerClient.js +1177 -56
  57. package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +1662 -249
  58. package/sdk/partner/Logistics/LogisticsPartnerModel.js +774 -162
  59. package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +13 -1
  60. package/sdk/partner/Logistics/LogisticsPartnerValidator.js +141 -12
  61. package/sdk/partner/Theme/ThemePartnerClient.d.ts +8 -10
  62. package/sdk/partner/Theme/ThemePartnerClient.js +14 -16
  63. package/sdk/partner/Theme/ThemePartnerModel.d.ts +96 -37
  64. package/sdk/partner/Theme/ThemePartnerModel.js +90 -36
  65. package/sdk/partner/Theme/ThemePartnerValidator.js +4 -4
  66. package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +28 -18
  67. package/sdk/partner/Webhook/WebhookPartnerClient.js +103 -18
  68. package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +612 -179
  69. package/sdk/partner/Webhook/WebhookPartnerModel.js +253 -150
  70. package/sdk/partner/Webhook/WebhookPartnerValidator.d.ts +1 -0
  71. package/sdk/partner/Webhook/WebhookPartnerValidator.js +11 -3
  72. package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.d.ts +5 -4
  73. package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.js +14 -8
  74. package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +59 -9
  75. package/sdk/platform/Analytics/AnalyticsPlatformModel.js +40 -4
  76. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +2 -32
  77. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +3 -243
  78. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +11 -130
  79. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +12 -152
  80. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +1 -39
  81. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +0 -35
  82. package/sdk/platform/Billing/BillingPlatformClient.d.ts +12 -12
  83. package/sdk/platform/Billing/BillingPlatformClient.js +15 -15
  84. package/sdk/platform/Billing/BillingPlatformModel.d.ts +443 -388
  85. package/sdk/platform/Billing/BillingPlatformModel.js +280 -263
  86. package/sdk/platform/Billing/BillingPlatformValidator.d.ts +16 -18
  87. package/sdk/platform/Billing/BillingPlatformValidator.js +8 -9
  88. package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +134 -103
  89. package/sdk/platform/Cart/CartPlatformApplicationClient.js +407 -112
  90. package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +111 -65
  91. package/sdk/platform/Cart/CartPlatformApplicationValidator.js +106 -44
  92. package/sdk/platform/Cart/CartPlatformModel.d.ts +5060 -1300
  93. package/sdk/platform/Cart/CartPlatformModel.js +1985 -1217
  94. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +209 -183
  95. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +452 -395
  96. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +185 -142
  97. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +96 -78
  98. package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +178 -117
  99. package/sdk/platform/Catalog/CatalogPlatformClient.js +468 -172
  100. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +6554 -1772
  101. package/sdk/platform/Catalog/CatalogPlatformModel.js +3264 -1690
  102. package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +116 -31
  103. package/sdk/platform/Catalog/CatalogPlatformValidator.js +85 -24
  104. package/sdk/platform/Common/CommonPlatformClient.d.ts +3 -2
  105. package/sdk/platform/Common/CommonPlatformClient.js +3 -2
  106. package/sdk/platform/Common/CommonPlatformModel.d.ts +9 -9
  107. package/sdk/platform/Common/CommonPlatformModel.js +6 -6
  108. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +16 -17
  109. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +16 -17
  110. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +8 -8
  111. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +8 -8
  112. package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +43 -33
  113. package/sdk/platform/Communication/CommunicationPlatformModel.js +38 -34
  114. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +46 -42
  115. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +47 -43
  116. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +223 -223
  117. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +210 -212
  118. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +12 -12
  119. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +12 -12
  120. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +46 -33
  121. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +67 -54
  122. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +18 -18
  123. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +18 -18
  124. package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +45 -24
  125. package/sdk/platform/Configuration/ConfigurationPlatformClient.js +134 -30
  126. package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +283 -124
  127. package/sdk/platform/Configuration/ConfigurationPlatformModel.js +219 -94
  128. package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +37 -9
  129. package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +27 -8
  130. package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +122 -191
  131. package/sdk/platform/Content/ContentPlatformApplicationClient.js +447 -831
  132. package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +174 -220
  133. package/sdk/platform/Content/ContentPlatformApplicationValidator.js +164 -199
  134. package/sdk/platform/Content/ContentPlatformClient.d.ts +142 -106
  135. package/sdk/platform/Content/ContentPlatformClient.js +523 -336
  136. package/sdk/platform/Content/ContentPlatformModel.d.ts +1233 -476
  137. package/sdk/platform/Content/ContentPlatformModel.js +514 -487
  138. package/sdk/platform/Content/ContentPlatformValidator.d.ts +168 -117
  139. package/sdk/platform/Content/ContentPlatformValidator.js +162 -108
  140. package/sdk/platform/Discount/DiscountPlatformClient.d.ts +14 -12
  141. package/sdk/platform/Discount/DiscountPlatformClient.js +14 -12
  142. package/sdk/platform/Discount/DiscountPlatformModel.d.ts +13 -13
  143. package/sdk/platform/Discount/DiscountPlatformModel.js +12 -12
  144. package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +2 -2
  145. package/sdk/platform/Discount/DiscountPlatformValidator.js +2 -2
  146. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +94 -36
  147. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +462 -60
  148. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +62 -15
  149. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +75 -13
  150. package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +19 -19
  151. package/sdk/platform/FileStorage/FileStoragePlatformClient.js +21 -21
  152. package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +370 -101
  153. package/sdk/platform/FileStorage/FileStoragePlatformModel.js +313 -84
  154. package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +6 -6
  155. package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +6 -6
  156. package/sdk/platform/Lead/LeadPlatformClient.d.ts +2 -2
  157. package/sdk/platform/Lead/LeadPlatformClient.js +2 -2
  158. package/sdk/platform/Lead/LeadPlatformModel.d.ts +5 -5
  159. package/sdk/platform/Lead/LeadPlatformModel.js +16 -16
  160. package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +17 -6
  161. package/sdk/platform/Order/OrderPlatformApplicationClient.js +85 -7
  162. package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +95 -24
  163. package/sdk/platform/Order/OrderPlatformApplicationValidator.js +39 -19
  164. package/sdk/platform/Order/OrderPlatformClient.d.ts +153 -96
  165. package/sdk/platform/Order/OrderPlatformClient.js +424 -198
  166. package/sdk/platform/Order/OrderPlatformModel.d.ts +7747 -1342
  167. package/sdk/platform/Order/OrderPlatformModel.js +3960 -1262
  168. package/sdk/platform/Order/OrderPlatformValidator.d.ts +292 -109
  169. package/sdk/platform/Order/OrderPlatformValidator.js +145 -77
  170. package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +6 -4
  171. package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +9 -7
  172. package/sdk/platform/Partner/PartnerPlatformModel.d.ts +9 -9
  173. package/sdk/platform/Partner/PartnerPlatformModel.js +8 -8
  174. package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +93 -105
  175. package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +129 -141
  176. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +48 -48
  177. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +48 -48
  178. package/sdk/platform/Payment/PaymentPlatformClient.d.ts +20 -20
  179. package/sdk/platform/Payment/PaymentPlatformClient.js +20 -20
  180. package/sdk/platform/Payment/PaymentPlatformModel.d.ts +333 -319
  181. package/sdk/platform/Payment/PaymentPlatformModel.js +288 -278
  182. package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +8 -8
  183. package/sdk/platform/Payment/PaymentPlatformValidator.js +8 -8
  184. package/sdk/platform/PlatformClient.d.ts +0 -2
  185. package/sdk/platform/PlatformClient.js +0 -4
  186. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +2 -2
  187. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +2 -2
  188. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +2 -2
  189. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.js +2 -2
  190. package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +9 -9
  191. package/sdk/platform/Rewards/RewardsPlatformModel.js +8 -8
  192. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +46 -36
  193. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +132 -41
  194. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +46 -17
  195. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +34 -14
  196. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +132 -44
  197. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +681 -64
  198. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +2458 -650
  199. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +1266 -572
  200. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +176 -47
  201. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +134 -28
  202. package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +2 -2
  203. package/sdk/platform/Share/SharePlatformApplicationClient.js +2 -2
  204. package/sdk/platform/Share/SharePlatformModel.d.ts +36 -5
  205. package/sdk/platform/Share/SharePlatformModel.js +27 -4
  206. package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +3 -3
  207. package/sdk/platform/Theme/ThemePlatformApplicationClient.js +8 -4
  208. package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +5 -0
  209. package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +2 -0
  210. package/sdk/platform/Theme/ThemePlatformModel.d.ts +37 -11
  211. package/sdk/platform/Theme/ThemePlatformModel.js +33 -15
  212. package/sdk/platform/User/UserPlatformApplicationClient.d.ts +12 -12
  213. package/sdk/platform/User/UserPlatformApplicationClient.js +12 -12
  214. package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +2 -2
  215. package/sdk/platform/User/UserPlatformApplicationValidator.js +2 -2
  216. package/sdk/platform/User/UserPlatformModel.d.ts +21 -21
  217. package/sdk/platform/User/UserPlatformModel.js +23 -23
  218. package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +25 -78
  219. package/sdk/platform/Webhook/WebhookPlatformClient.js +75 -470
  220. package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +720 -427
  221. package/sdk/platform/Webhook/WebhookPlatformModel.js +410 -386
  222. package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +10 -55
  223. package/sdk/platform/Webhook/WebhookPlatformValidator.js +12 -72
  224. package/sdk/platform/index.d.ts +0 -1
  225. package/sdk/platform/index.js +0 -2
  226. package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +3 -2
  227. package/sdk/public/Configuration/ConfigurationPublicClient.js +10 -7
  228. package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +9 -9
  229. package/sdk/public/Configuration/ConfigurationPublicModel.js +6 -6
  230. package/sdk/public/Content/ContentPublicClient.d.ts +112 -2
  231. package/sdk/public/Content/ContentPublicClient.js +795 -7
  232. package/sdk/public/Content/ContentPublicModel.d.ts +549 -3
  233. package/sdk/public/Content/ContentPublicModel.js +649 -3
  234. package/sdk/public/Content/ContentPublicValidator.d.ts +69 -3
  235. package/sdk/public/Content/ContentPublicValidator.js +88 -2
  236. package/sdk/public/Partner/PartnerPublicClient.js +4 -2
  237. package/sdk/public/Webhook/WebhookPublicClient.d.ts +8 -8
  238. package/sdk/public/Webhook/WebhookPublicClient.js +12 -10
  239. package/sdk/public/Webhook/WebhookPublicModel.d.ts +21 -21
  240. package/sdk/public/Webhook/WebhookPublicModel.js +15 -15
  241. package/sdk/public/Webhook/WebhookPublicValidator.d.ts +4 -4
  242. package/sdk/public/Webhook/WebhookPublicValidator.js +4 -4
  243. package/sdk/application/Cart/CartApplicationModel.d.ts +0 -3994
  244. package/sdk/application/Cart/CartApplicationModel.js +0 -2497
  245. package/sdk/application/Cart/CartApplicationValidator.d.ts +0 -769
  246. package/sdk/application/Cart/CartApplicationValidator.js +0 -530
  247. package/sdk/application/Catalog/CatalogApplicationModel.d.ts +0 -3857
  248. package/sdk/application/Catalog/CatalogApplicationModel.js +0 -2629
  249. package/sdk/application/Catalog/CatalogApplicationValidator.d.ts +0 -791
  250. package/sdk/application/Catalog/CatalogApplicationValidator.js +0 -551
  251. package/sdk/application/Common/CommonApplicationModel.d.ts +0 -449
  252. package/sdk/application/Common/CommonApplicationModel.js +0 -308
  253. package/sdk/application/Common/CommonApplicationValidator.d.ts +0 -46
  254. package/sdk/application/Common/CommonApplicationValidator.js +0 -38
  255. package/sdk/application/Communication/CommunicationApplicationModel.d.ts +0 -293
  256. package/sdk/application/Communication/CommunicationApplicationModel.js +0 -201
  257. package/sdk/application/Communication/CommunicationApplicationValidator.d.ts +0 -29
  258. package/sdk/application/Communication/CommunicationApplicationValidator.js +0 -38
  259. package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +0 -2556
  260. package/sdk/application/Configuration/ConfigurationApplicationModel.js +0 -1887
  261. package/sdk/application/Configuration/ConfigurationApplicationValidator.d.ts +0 -179
  262. package/sdk/application/Configuration/ConfigurationApplicationValidator.js +0 -176
  263. package/sdk/application/Content/ContentApplicationModel.d.ts +0 -2133
  264. package/sdk/application/Content/ContentApplicationModel.js +0 -1589
  265. package/sdk/application/Content/ContentApplicationValidator.d.ts +0 -284
  266. package/sdk/application/Content/ContentApplicationValidator.js +0 -264
  267. package/sdk/application/FileStorage/FileStorageApplicationModel.d.ts +0 -272
  268. package/sdk/application/FileStorage/FileStorageApplicationModel.js +0 -190
  269. package/sdk/application/FileStorage/FileStorageApplicationValidator.d.ts +0 -56
  270. package/sdk/application/FileStorage/FileStorageApplicationValidator.js +0 -53
  271. package/sdk/application/Lead/LeadApplicationModel.d.ts +0 -590
  272. package/sdk/application/Lead/LeadApplicationModel.js +0 -480
  273. package/sdk/application/Lead/LeadApplicationValidator.d.ts +0 -68
  274. package/sdk/application/Lead/LeadApplicationValidator.js +0 -71
  275. package/sdk/application/Logistic/LogisticApplicationModel.d.ts +0 -1675
  276. package/sdk/application/Logistic/LogisticApplicationModel.js +0 -1121
  277. package/sdk/application/Logistic/LogisticApplicationValidator.d.ts +0 -254
  278. package/sdk/application/Logistic/LogisticApplicationValidator.js +0 -190
  279. package/sdk/application/Order/OrderApplicationModel.d.ts +0 -2296
  280. package/sdk/application/Order/OrderApplicationModel.js +0 -1471
  281. package/sdk/application/Order/OrderApplicationValidator.d.ts +0 -265
  282. package/sdk/application/Order/OrderApplicationValidator.js +0 -197
  283. package/sdk/application/Payment/PaymentApplicationModel.d.ts +0 -4058
  284. package/sdk/application/Payment/PaymentApplicationModel.js +0 -2630
  285. package/sdk/application/Payment/PaymentApplicationValidator.d.ts +0 -576
  286. package/sdk/application/Payment/PaymentApplicationValidator.js +0 -594
  287. package/sdk/application/Rewards/RewardsApplicationModel.d.ts +0 -365
  288. package/sdk/application/Rewards/RewardsApplicationModel.js +0 -396
  289. package/sdk/application/Rewards/RewardsApplicationValidator.d.ts +0 -73
  290. package/sdk/application/Rewards/RewardsApplicationValidator.js +0 -84
  291. package/sdk/application/Share/ShareApplicationModel.d.ts +0 -339
  292. package/sdk/application/Share/ShareApplicationModel.js +0 -234
  293. package/sdk/application/Share/ShareApplicationValidator.d.ts +0 -90
  294. package/sdk/application/Share/ShareApplicationValidator.js +0 -91
  295. package/sdk/application/Theme/ThemeApplicationModel.d.ts +0 -1713
  296. package/sdk/application/Theme/ThemeApplicationModel.js +0 -1426
  297. package/sdk/application/Theme/ThemeApplicationValidator.d.ts +0 -66
  298. package/sdk/application/Theme/ThemeApplicationValidator.js +0 -58
  299. package/sdk/application/User/UserApplicationModel.d.ts +0 -1943
  300. package/sdk/application/User/UserApplicationModel.js +0 -1382
  301. package/sdk/application/User/UserApplicationValidator.d.ts +0 -560
  302. package/sdk/application/User/UserApplicationValidator.js +0 -573
  303. package/sdk/application/Webhook/WebhookApplicationModel.d.ts +0 -52
  304. package/sdk/application/Webhook/WebhookApplicationModel.js +0 -46
  305. package/sdk/application/Webhook/WebhookApplicationValidator.d.ts +0 -16
  306. package/sdk/application/Webhook/WebhookApplicationValidator.js +0 -19
  307. package/sdk/common/Clickstream.d.ts +0 -1
  308. package/sdk/common/Clickstream.js +0 -464
  309. package/sdk/platform/Finance/FinancePlatformClient.d.ts +0 -320
  310. package/sdk/platform/Finance/FinancePlatformClient.js +0 -2333
  311. package/sdk/platform/Finance/FinancePlatformModel.d.ts +0 -2890
  312. package/sdk/platform/Finance/FinancePlatformModel.js +0 -2148
  313. package/sdk/platform/Finance/FinancePlatformValidator.d.ts +0 -284
  314. package/sdk/platform/Finance/FinancePlatformValidator.js +0 -354
@@ -1,2296 +0,0 @@
1
- export = OrderApplicationModel;
2
- /**
3
- * @typedef OrderPage
4
- * @property {string} [type] - Specifies type of pagination. If it is 'cursor'
5
- * based or 'number' based.
6
- * @property {number} [item_total] - Total number of items available across all
7
- * pages. It provides a count of all the items that match the query criteria,
8
- * regardless of pagination.
9
- * @property {number} [current] - Specifies the current page number. It helps in
10
- * identifying the position within the paginated results.
11
- * @property {number} [size] - Represents the number of items on the current
12
- * page. It indicates how many items are included in each page of the
13
- * paginated response.
14
- * @property {boolean} [has_next] - Indicates whether there is a next page
15
- * available. It is true if a next page exists and false if the current page
16
- * is the last one.
17
- */
18
- /**
19
- * @typedef UserInfo
20
- * @property {string} [first_name] - First name of the user.
21
- * @property {string} [gender] - Gender of the user.
22
- * @property {string} [name] - Full name of the user (including first and last names).
23
- * @property {string} [last_name] - Last name of the user.
24
- * @property {string} [mobile] - Mobile number of the user.
25
- * @property {string} [email] - Email address of the user.
26
- */
27
- /**
28
- * @typedef BreakupValues
29
- * @property {number} [value] - The numerical value associated with the entity.
30
- * @property {string} [currency_symbol] - Symbol representing the currency used
31
- * for the value.
32
- * @property {string} [name] - The official name of the entity.
33
- * @property {string} [display] - The name of the entity as it should be displayed.
34
- * @property {string} [currency_code] - The international currency code
35
- * representing the currency used for the value.
36
- */
37
- /**
38
- * @typedef ShipmentPayment
39
- * @property {string} [mop] - Abbreviation or code for the payment mode.
40
- * @property {string} [payment_mode] - The specific payment mode used.
41
- * @property {string} [status] - The current status of the payment.
42
- * @property {string} [mode] - The payment mode.
43
- * @property {string} [logo] - URL of the logo representing the payment mode.
44
- * @property {string} [display_name] - The name to be displayed for the payment mode.
45
- */
46
- /**
47
- * @typedef ShipmentPaymentInfo
48
- * @property {string} [mop] - Stands for "Mode of Payment". This is a short code
49
- * (like "COD" for Cash On Delivery) that represents the payment method used.
50
- * @property {string} [payment_mode] - Information about the payment mode,
51
- * indicates whether COD or PREPAID.
52
- * @property {string} [status] - Indicates the current status of the payment,
53
- * Paid or Unpaid.
54
- * @property {string} [mode] - Information about the payment source. For eg, NB_ICICI.
55
- * @property {string} [logo] - A URL to an image representing the payment method.
56
- * @property {string} [display_name] - The name of the payment method as it
57
- * should be displayed to the user.
58
- * @property {number} [amount] - Amount paid using this payment method.
59
- */
60
- /**
61
- * @typedef ShipmentUserInfo
62
- * @property {string} [first_name] - The unique identifier of the store.
63
- * @property {string} [gender] - A code associated with the store.
64
- * @property {string} [name] - The name of the store.
65
- * @property {string} [last_name] - The name of the company associated with the store.
66
- * @property {string} [mobile] - The identifier of the company associated with the store.
67
- * @property {string} [email] - Email address of the user.
68
- */
69
- /**
70
- * @typedef FulfillingStore
71
- * @property {number} [id] - The unique identifier of the store.
72
- * @property {string} [code] - A code associated with the store.
73
- * @property {string} [name] - The name of the store.
74
- * @property {string} [company_name] - The name of the company associated with the store.
75
- * @property {number} [company_id] - The identifier of the company associated
76
- * with the store.
77
- */
78
- /**
79
- * @typedef ShipmentStatus
80
- * @property {string} [value] - The internal or code value representing the
81
- * shipment status.
82
- * @property {string} [title] - The title or display name representing the
83
- * shipment status.
84
- * @property {string} [hex_code] - The hexadecimal color code associated with
85
- * the shipment status.
86
- */
87
- /**
88
- * @typedef Invoice
89
- * @property {string} [invoice_url] - URL providing access to the invoice.
90
- * @property {string} [updated_date] - The date and time when the invoice was
91
- * last updated.
92
- * @property {string} [label_url] - URL providing access to the invoice label.
93
- */
94
- /**
95
- * @typedef NestedTrackingDetails
96
- * @property {boolean} [is_passed] - Indicates whether the tracking event has
97
- * passed or occurred.
98
- * @property {string} [time] - The time associated with the tracking event.
99
- * @property {boolean} [is_current] - Indicates whether the tracking event is
100
- * the current or active status.
101
- * @property {string} [status] - The status of the tracking event.
102
- */
103
- /**
104
- * @typedef TrackingDetails
105
- * @property {string} [value] - Current value or state of the process.
106
- * @property {boolean} [is_current] - Indicates whether the tracking event is
107
- * the current or active status.
108
- * @property {boolean} [is_passed] - Indicates whether the tracking event has
109
- * passed or occurred.
110
- * @property {string} [status] - The status of the tracking event.
111
- * @property {string} [time] - The time associated with the tracking event.
112
- * @property {string} [created_ts] - Timestamp when this status was created.
113
- * @property {NestedTrackingDetails[]} [tracking_details] - Nested tracking details.
114
- */
115
- /**
116
- * @typedef TimeStampData
117
- * @property {string} [min] - The minimum timestamp value.
118
- * @property {string} [max] - The maximum timestamp value.
119
- */
120
- /**
121
- * @typedef Promise
122
- * @property {boolean} [show_promise] - Indicates whether the promise details
123
- * should be shown.
124
- * @property {TimeStampData} [timestamp]
125
- */
126
- /**
127
- * @typedef ShipmentTotalDetails
128
- * @property {number} [pieces] - The total number of pieces included.
129
- * @property {number} [total_price] - The total price of the order or item.
130
- * @property {number} [sizes] - The number of different sizes included.
131
- */
132
- /**
133
- * @typedef Prices
134
- * @property {number} [delivery_charge] - The delivery charge for the order.
135
- * @property {number} [coupon_value] - The value of the coupon applied.
136
- * @property {number} [brand_calculated_amount] - The amount calculated by the brand.
137
- * @property {number} [value_of_good] - The value of the goods before tax and
138
- * other charges.
139
- * @property {number} [price_marked] - The original marked price of the item.
140
- * @property {number} [coupon_effective_discount] - The effective discount from coupons.
141
- * @property {string} [currency_symbol] - The symbol of the currency used.
142
- * @property {number} [discount] - The discount applied to the item.
143
- * @property {number} [gst_tax_percentage] - The GST tax percentage applied.
144
- * @property {number} [cod_charges] - The cash on delivery charges, if applicable.
145
- * @property {number} [amount_paid] - The total amount paid by the customer.
146
- * @property {boolean} [added_to_fynd_cash] - Indicates if the refund amount was
147
- * added to Fynd Cash.
148
- * @property {number} [transfer_price] - The transfer price of the item.
149
- * @property {number} [cashback_applied] - The amount of cashback applied.
150
- * @property {number} [price_effective] - The effective price after all adjustments.
151
- * @property {number} [cashback] - The cashback amount earned.
152
- * @property {number} [refund_credit] - The amount credited for refund .
153
- * @property {number} [amount_paid_roundoff] - The rounded-off amount paid by
154
- * the customer.
155
- * @property {number} [promotion_effective_discount] - The effective discount
156
- * from promotions.
157
- * @property {number} [refund_amount] - The amount refunded to the customer.
158
- * @property {string} [currency_code] - The code of the currency used.
159
- * @property {number} [fynd_credits] - The amount of Fynd credits used.
160
- * @property {number} [amount_to_be_collected] - The total amount that needs to
161
- * be collected from the customer.
162
- */
163
- /**
164
- * @typedef ItemBrand
165
- * @property {string} [logo] - The URL of the brand's logo.
166
- * @property {string} [name] - The name of the brand.
167
- */
168
- /**
169
- * @typedef Item
170
- * @property {string[]} [image] - An array of URLs pointing to images of the item.
171
- * @property {string[]} [l1_categories] - An array of level 1 categories to
172
- * which the item belongs.
173
- * @property {string[]} [l2_category] - An array of level 2 categories to which
174
- * the item belongs.
175
- * @property {number} [l2_category_id] - ID representing the level 2 category
176
- * classification of the item
177
- * @property {ItemBrand} [brand]
178
- * @property {string} [seller_identifier] - The identifier for the seller .
179
- * @property {string} [code] - The code or SKU of the item.
180
- * @property {number} [id] - The unique identifier of the item.
181
- * @property {string} [name] - The name of the item.
182
- * @property {string} [l3_category_name] - The level 3 category name.
183
- * @property {string} [slug_key] - A unique key or identifier for the item slug.
184
- * @property {string[]} [l2_categories] - An array of level 2 categories the
185
- * item belongs to.
186
- * @property {string} [size] - The size of the item.
187
- * @property {Object} [attributes] - An object containing various attributes of the item.
188
- */
189
- /**
190
- * @typedef AppliedFreeArticles
191
- * @property {string} [article_id] - The unique identifier for the article.
192
- * @property {Object} [free_gift_item_details] - An object containing details
193
- * about the free gift item.
194
- * @property {string} [parent_item_identifier] - The identifier for the parent
195
- * item to which this free article is related.
196
- * @property {number} [quantity] - The quantity of the free article.
197
- */
198
- /**
199
- * @typedef AppliedPromos
200
- * @property {boolean} [mrp_promotion] - Indicates if the promotion is applied to the MRP.
201
- * @property {string} [promotion_name] - The name of the promotion .
202
- * @property {number} [article_quantity] - The quantity of articles required to
203
- * qualify for the promotion.
204
- * @property {string} [promo_id] - The unique identifier for the promotion.
205
- * @property {number} [amount] - The discount amount provided by the promotion.
206
- * @property {string} [promotion_type] - The type of promotion.
207
- * @property {AppliedFreeArticles[]} [applied_free_articles] - An array
208
- * containing details of free articles applied under the promotion.
209
- */
210
- /**
211
- * @typedef Identifiers
212
- * @property {string} [ean] - The European Article Number (EAN) of the item.
213
- * @property {string} [sku_code] - The Stock Keeping Unit (SKU) code of the item.
214
- */
215
- /**
216
- * @typedef FinancialBreakup
217
- * @property {number} [coupon_value] - The value of the coupon applied.
218
- * @property {number} [delivery_charge] - The delivery charge for the order.
219
- * @property {number} [brand_calculated_amount] - The amount calculated by the brand.
220
- * @property {number} [value_of_good] - The value of the goods before tax and
221
- * other charges.
222
- * @property {number} [price_marked] - The original marked price of the item.
223
- * @property {number} [coupon_effective_discount] - The effective discount from coupons.
224
- * @property {string} [hsn_code] - The HSN (Harmonized System of Nomenclature)
225
- * code of the item.
226
- * @property {number} [discount] - The discount applied to the item.
227
- * @property {number} [gst_tax_percentage] - The GST tax percentage applied .
228
- * @property {number} [cod_charges] - The cash on delivery charges, if applicable.
229
- * @property {number} [amount_paid] - The total amount paid by the customer.
230
- * @property {boolean} [added_to_fynd_cash] - Indicates if the refund amount was
231
- * added to Fynd Cash.
232
- * @property {string} [size] - The size of the item .
233
- * @property {number} [transfer_price] - The transfer price of the item.
234
- * @property {number} [cashback_applied] - The amount of cashback applied.
235
- * @property {number} [price_effective] - The effective price after all adjustments.
236
- * @property {number} [cashback] - The cashback amount earned.
237
- * @property {number} [refund_credit] - The amount credited for refund .
238
- * @property {number} [amount_paid_roundoff] - The rounded-off amount paid by
239
- * the customer.
240
- * @property {number} [total_units] - The total number of units purchased.
241
- * @property {Identifiers} [identifiers]
242
- * @property {string} [gst_tag] - The GST tag indicating the type of GST applied.
243
- * @property {string} [item_name] - The name of the item.
244
- * @property {number} [promotion_effective_discount] - The effective discount
245
- * from promotions.
246
- * @property {number} [gst_fee] - The GST fee applied to the item.
247
- * @property {number} [refund_amount] - The amount refunded to the customer.
248
- * @property {number} [fynd_credits] - The amount of Fynd credits used.
249
- * @property {number} [amount_to_be_collected] - The total amount that needs to
250
- * be collected from the customer.
251
- */
252
- /**
253
- * @typedef CurrentStatus
254
- * @property {string} [updated_at] - The date and time when the status was last updated.
255
- * @property {string} [name] - The name or label indicating the current state or status.
256
- * @property {string} [status] - The current status of the bag.
257
- * @property {string} [journey_type] - The type of journey for the shipment,
258
- * indicating the direction of the shipment.
259
- */
260
- /**
261
- * @typedef Bags
262
- * @property {string} [delivery_date] - The date and time when the item is
263
- * expected to be delivered .
264
- * @property {number} [line_number] - The line number of the item in the order.
265
- * @property {string} [currency_symbol] - The symbol of the currency used.
266
- * @property {Item} [item]
267
- * @property {AppliedPromos[]} [applied_promos] - An array containing
268
- * information about applied promotions.
269
- * @property {number} [quantity] - The quantity of the item.
270
- * @property {Prices} [prices]
271
- * @property {boolean} [can_cancel] - Indicates if the item can be canceled.
272
- * @property {boolean} [can_return] - Indicates if the item can be returned.
273
- * @property {number} [id] - The unique identifier for the order item.
274
- * @property {string} [returnable_date] - The last date and time by which the
275
- * item can be returned.
276
- * @property {FinancialBreakup[]} [financial_breakup] - An array containing
277
- * financial details of the item.
278
- * @property {Object} [parent_promo_bags] - An object containing details of
279
- * parent promotional bags.
280
- * @property {Object} [meta] - An object containing metadata for the item.
281
- * @property {string} [currency_code] - The code of the currency used.
282
- * @property {string} [seller_identifier] - The identifier for the seller.
283
- * @property {CurrentStatus} [current_status]
284
- * @property {Article} [article]
285
- */
286
- /**
287
- * @typedef FulfillingCompany
288
- * @property {number} [id] - The unique identifier for the fulfilling company.
289
- * @property {string} [name] - The name of the fulfilling company.
290
- */
291
- /**
292
- * @typedef Article
293
- * @property {string[]} [tags] - An array of tags associated with the article.
294
- */
295
- /**
296
- * @typedef Address
297
- * @property {string} [pincode] - The postal code of the address.
298
- * @property {string} [phone] - The phone number of the person associated with
299
- * the address.
300
- * @property {number} [latitude] - The latitude coordinate.
301
- * @property {string} [address2] - The secondary line of the address.
302
- * @property {string} [landmark] - A nearby landmark.
303
- * @property {string} [area] - The area or locality.
304
- * @property {string} [city] - The city of the address.
305
- * @property {string} [address] - The full address.
306
- * @property {string} [address_type] - The type of address.
307
- * @property {number} [longitude] - The longitude coordinate.
308
- * @property {string} [country_iso_code] - The ISO code for the country.
309
- * @property {string} [state] - The state of the address.
310
- * @property {string} [created_at] - The date and time when the address was created.
311
- * @property {string} [address1] - The primary line of the address.
312
- * @property {string} [display_address] - The formatted display address,
313
- * typically used for printing or displaying in user interfaces.
314
- * @property {string} [name] - The name of the person associated with the address.
315
- * @property {string} [contact_person] - The name of the contact person.
316
- * @property {string} [address_category] - The category of the address.
317
- * @property {string} [email] - The email address.
318
- * @property {string} [country_phone_code] - The country phone code.
319
- * @property {string} [version] - The version of the address format.
320
- * @property {string} [updated_at] - The date and time when the address was last updated .
321
- * @property {string} [country] - The country of the address.
322
- */
323
- /**
324
- * @typedef Shipments
325
- * @property {ShipmentPayment} [payment]
326
- * @property {ShipmentPaymentInfo[]} [payment_info] - Array of objects
327
- * containing payment methods used for placing an order. Each object will
328
- * provide information about corresponding payment method with relevant details.
329
- * @property {string} [order_type] - The type of order.
330
- * @property {string} [gstin_code] - The GSTIN code for the shipment.
331
- * @property {boolean} [show_download_invoice] - Indicates if the download
332
- * invoice option should be shown.
333
- * @property {boolean} [can_cancel] - Indicates if the shipment can be canceled.
334
- * @property {ShipmentUserInfo} [user_info]
335
- * @property {string} [shipment_id] - The unique identifier for the shipment.
336
- * @property {FulfillingStore} [fulfilling_store]
337
- * @property {Object[]} [custom_meta] - An object containing custom metadata for
338
- * the shipment.
339
- * @property {ShipmentStatus} [shipment_status]
340
- * @property {string} [comment] - Any comments related to the shipment.
341
- * @property {Invoice} [invoice]
342
- * @property {boolean} [show_track_link] - Indicates if the track link should be shown.
343
- * @property {Object} [refund_details] - An object containing details of any refunds.
344
- * @property {BreakupValues[]} [breakup_values] - An array containing the
345
- * breakup of various charges and discounts.
346
- * @property {Object} [can_break] - An object containing details about the
347
- * breakability of the shipment.
348
- * @property {string} [traking_no] - The tracking number for the shipment.
349
- * @property {TrackingDetails[]} [tracking_details] - An array containing
350
- * details of the tracking history of the shipment.
351
- * @property {Promise} [promise]
352
- * @property {number} [total_bags] - The total number of bags in the shipment.
353
- * @property {ShipmentTotalDetails} [total_details]
354
- * @property {Prices} [prices]
355
- * @property {string} [returnable_date] - The last date by which the item can be returned.
356
- * @property {string} [shipment_created_at] - The date and time when the
357
- * shipment was created.
358
- * @property {string} [shipment_created_ts] - The timestamp when the shipment was created.
359
- * @property {Object} [size_info] - An object containing size information for
360
- * the items in the shipment.
361
- * @property {Bags[]} [bags] - An array containing details about the individual
362
- * bags in the shipment.
363
- * @property {string} [dp_name] - The name of the delivery partner.
364
- * @property {string} [awb_no] - The airway bill number for the shipment.
365
- * @property {boolean} [beneficiary_details] - Indicates if there are any
366
- * beneficiary details.
367
- * @property {FulfillingCompany} [fulfilling_company]
368
- * @property {boolean} [can_return] - Indicates if the shipment can be returned.
369
- * @property {Address} [delivery_address]
370
- * @property {Address} [billing_address]
371
- * @property {string} [track_url] - The URL for tracking the shipment.
372
- * @property {string} [order_id] - The unique identifier for the order.
373
- * @property {string} [need_help_url] - The URL for customer support or help.
374
- * @property {Object} [return_meta] - An object containing metadata about the
375
- * return process.
376
- * @property {string} [delivery_date] - The expected delivery date.
377
- * @property {OrderRequest} [order]
378
- */
379
- /**
380
- * @typedef BagsForReorderArticleAssignment
381
- * @property {string} [strategy] - The strategy used for article assignment.
382
- * @property {string} [level] - The level at which the article assignment is made.
383
- */
384
- /**
385
- * @typedef BagsForReorder
386
- * @property {string} [item_size] - The size of the item.
387
- * @property {number} [quantity] - The quantity of the item.
388
- * @property {number} [store_id] - The identifier for the store.
389
- * @property {BagsForReorderArticleAssignment} [article_assignment]
390
- * @property {number} [seller_id] - The identifier for the seller.
391
- * @property {number} [item_id] - The unique identifier for the item.
392
- */
393
- /**
394
- * @typedef OrderSchema
395
- * @property {number} [total_shipments_in_order] - The total number of shipments
396
- * in the order.
397
- * @property {string} [gstin_code] - The GSTIN code for the shipment.
398
- * @property {UserInfo} [user_info]
399
- * @property {BreakupValues[]} [breakup_values] - An array containing the
400
- * breakup of various charges and discounts.
401
- * @property {string} [order_created_time] - The date and time when the order was created.
402
- * @property {string} [order_created_ts] - The timestamp when the order was created.
403
- * @property {string} [order_id] - The unique identifier for the order.
404
- * @property {Shipments[]} [shipments] - An array containing details of
405
- * individual shipments within the order.
406
- * @property {BagsForReorder[]} [bags_for_reorder] - An array containing details
407
- * of bags available for reorder.
408
- * @property {Object} [meta] - An object containing additional metadata for the order.
409
- */
410
- /**
411
- * @typedef OrderStatuses
412
- * @property {number} [value] - The value representing the selection.
413
- * @property {boolean} [is_selected] - Indicates whether this option is
414
- * currently selected.
415
- * @property {string} [display] - The text to display .
416
- */
417
- /**
418
- * @typedef OrderFilters
419
- * @property {OrderStatuses[]} [statuses] - An array containing the order statuses.
420
- */
421
- /**
422
- * @typedef OrderList
423
- * @property {OrderPage} [page]
424
- * @property {OrderSchema[]} [items] - List of orders, each containing detailed
425
- * information about individual orders and their respective shipments.
426
- * @property {OrderFilters} [filters]
427
- */
428
- /**
429
- * @typedef ApefaceApiError
430
- * @property {string} [message] - Contains any message related to the operation.
431
- * @property {boolean} [success] - Indicates if the operation was successful.
432
- */
433
- /**
434
- * @typedef OrderById
435
- * @property {OrderSchema} [order]
436
- */
437
- /**
438
- * @typedef ShipmentById
439
- * @property {Shipments} [shipment]
440
- */
441
- /**
442
- * @typedef ResponseGetInvoiceShipment
443
- * @property {string} presigned_type - Type of presigned URL.
444
- * @property {boolean} success - Indicates if the operation was successful .
445
- * @property {string} shipment_id - Identifier for the shipment.
446
- * @property {string} presigned_url - The presigned URL for accessing the
447
- * shipment data, obtained from the response data.
448
- */
449
- /**
450
- * @typedef Track
451
- * @property {string} [account_name] - The name of the account handling the shipment.
452
- * @property {string} [shipment_type] - The type of shipment.
453
- * @property {string} [status] - The current status of the shipment.
454
- * @property {string} [last_location_recieved_at] - The last known location of
455
- * the shipment.
456
- * @property {string} [updated_time] - The timestamp of the last update.
457
- * @property {string} [updated_at] - The date and time when the shipment was last updated.
458
- * @property {string} [reason] - The reason or additional information about the shipment.
459
- * @property {string} [awb] - The Air Waybill (AWB) number for the shipment.
460
- */
461
- /**
462
- * @typedef ShipmentTrack
463
- * @property {Track[]} [results] - A array containing tracking details.
464
- */
465
- /**
466
- * @typedef CustomerDetailsResponse
467
- * @property {string} [phone] - Customer's phone number.
468
- * @property {string} [shipment_id] - Unique identifier of the shipment.
469
- * @property {string} [name] - Customer's name.
470
- * @property {string} [order_id] - Unique identifier of the order.
471
- * @property {string} [country] - Country of the customer.
472
- */
473
- /**
474
- * @typedef SendOtpToCustomerResponse
475
- * @property {string} [request_id] - Unique identifier for the request.
476
- * @property {string} [message] - Message indicating the result of the request.
477
- * @property {boolean} [success] - Indicates whether the request was successful.
478
- * @property {number} [resend_timer] - Time in seconds before the OTP can be resent.
479
- */
480
- /**
481
- * @typedef VerifyOtp
482
- * @property {string} [otp_code] - The OTP code provided by the user for verification.
483
- * @property {string} [request_id] - Unique identifier for the request.
484
- */
485
- /**
486
- * @typedef VerifyOtpResponse
487
- * @property {boolean} [success] - Indicates whether the request was successful.
488
- */
489
- /**
490
- * @typedef BagReasonMeta
491
- * @property {boolean} [show_text_area] - Indicates whether to display a text
492
- * box on the front end.
493
- */
494
- /**
495
- * @typedef QuestionSet
496
- * @property {number} [id] - The unique identifier for the question.
497
- * @property {string} [display_name] - The text displayed for the question.
498
- */
499
- /**
500
- * @typedef BagReasons
501
- * @property {string[]} [qc_type] - A list of quality check types.
502
- * @property {number} [id] - The unique identifier.
503
- * @property {string} [display_name] - The text displayed.
504
- * @property {BagReasonMeta} [meta]
505
- * @property {QuestionSet[]} [question_set] - A list of questions for delivery partner.
506
- * @property {BagReasons[]} [reasons] - A list of reasons.
507
- */
508
- /**
509
- * @typedef ShipmentBagReasons
510
- * @property {BagReasons[]} [reasons] - A list of shipment's bag reasons.
511
- * @property {boolean} [success] - Indicates if the operation was successful.
512
- */
513
- /**
514
- * @typedef ShipmentReason
515
- * @property {number} [priority] - The priority level of the reason.
516
- * @property {boolean} [show_text_area] - A flag indicating whether to show a
517
- * textbox on the frontend.
518
- * @property {number} [reason_id] - The unique identifier for the reason.
519
- * @property {string} [feedback_type] - The type of feedback.
520
- * @property {string} [reason_text] - The text describing the reason.
521
- * @property {string} [flow] - The process flow related to the reason.
522
- */
523
- /**
524
- * @typedef ShipmentReasons
525
- * @property {ShipmentReason[]} [reasons] - A list of shipment reasons.
526
- */
527
- /**
528
- * @typedef ProductsReasonsData
529
- * @property {number} [reason_id] - The unique identifier for the reason.
530
- * @property {string} [reason_text] - The text describing the reason.
531
- */
532
- /**
533
- * @typedef ProductsReasonsFilters
534
- * @property {number} [line_number] - The specific line item of bag.
535
- * @property {number} [quantity] - The quantity of the product.
536
- * @property {string} [identifier] - The unique identifier for the product.
537
- */
538
- /**
539
- * @typedef ProductsReasons
540
- * @property {ProductsReasonsData} [data]
541
- * @property {ProductsReasonsFilters[]} [filters] - Criteria applied to filter
542
- * the products.
543
- */
544
- /**
545
- * @typedef EntityReasonData
546
- * @property {number} [reason_id] - The unique identifier for the reason.
547
- * @property {string} [reason_text] - The text describing the reason.
548
- */
549
- /**
550
- * @typedef EntitiesReasons
551
- * @property {EntityReasonData} [data]
552
- * @property {Object[]} [filters] - Criteria applied to filter the shipment.
553
- */
554
- /**
555
- * @typedef ReasonsData
556
- * @property {ProductsReasons[]} [products] - Reasons data for bags.
557
- * @property {EntitiesReasons[]} [entities] - Reasons data for shipments.
558
- */
559
- /**
560
- * @typedef Products
561
- * @property {number} [line_number] - The specific line item of bag.
562
- * @property {number} [quantity] - The quantity of the product.
563
- * @property {string} [identifier] - The unique identifier for the product.
564
- */
565
- /**
566
- * @typedef ProductsDataUpdatesFilters
567
- * @property {number} [line_number] - The specific line item of bag.
568
- * @property {string} [identifier] - The quantity of the product.
569
- */
570
- /**
571
- * @typedef ProductsDataUpdates
572
- * @property {Object} [data] - Information about the data to be updated.
573
- * @property {ProductsDataUpdatesFilters[]} [filters] - Criteria applied to
574
- * filter the products.
575
- */
576
- /**
577
- * @typedef EntitiesDataUpdates
578
- * @property {Object} [data] - Information about the data to be updated.
579
- * @property {Object[]} [filters] - Criteria applied to filter the shipments.
580
- */
581
- /**
582
- * @typedef DataUpdates
583
- * @property {ProductsDataUpdates[]} [products] - Data updates for bags.
584
- * @property {EntitiesDataUpdates[]} [entities] - Data updates for shipments.
585
- */
586
- /**
587
- * @typedef ShipmentsRequest
588
- * @property {ReasonsData} [reasons]
589
- * @property {Products[]} [products] - Specific bag to be updated.
590
- * @property {DataUpdates} [data_updates]
591
- * @property {string} identifier - The unique identifier for request which is
592
- * the shipment_id.
593
- */
594
- /**
595
- * @typedef StatuesRequest
596
- * @property {ShipmentsRequest[]} [shipments] - A list containing information
597
- * about shipments.
598
- * @property {string} [exclude_bags_next_state] - State to be change for
599
- * Remaining Bag/Products.
600
- * @property {string} [status] - The status to which the entity is to be transitioned.
601
- */
602
- /**
603
- * @typedef OrderRequest
604
- * @property {Object} [meta] - Metadata for the order.
605
- */
606
- /**
607
- * @typedef UpdateShipmentStatusRequest
608
- * @property {StatuesRequest[]} [statuses] - An array containing different status details.
609
- * @property {boolean} [task] - Indicates whether the task is active or required.
610
- * @property {boolean} [lock_after_transition] - Indicates whether the status
611
- * should be locked after the transition.
612
- * @property {boolean} [force_transition] - Indicates whether the transition
613
- * should be forced.
614
- * @property {boolean} [unlock_before_transition] - Indicates whether the status
615
- * should be unlocked before the transition.
616
- */
617
- /**
618
- * @typedef StatusesBodyResponse
619
- * @property {Object[]} [shipments] - List of shipments.
620
- */
621
- /**
622
- * @typedef ShipmentApplicationStatusResponse
623
- * @property {StatusesBodyResponse[]} [statuses] - An array containing different
624
- * status options of shipments.
625
- */
626
- /**
627
- * @typedef ErrorResponse
628
- * @property {string} [code] - The HTTP status code of the response.
629
- * @property {string} [message] - A message providing details about the response.
630
- * @property {number} [status] - An additional code providing more context about
631
- * the response.
632
- * @property {string} [exception] - Details of any exception that occurred.
633
- * @property {string} [stack_trace] - The stack trace of any exception that occurred.
634
- */
635
- declare class OrderApplicationModel {
636
- }
637
- declare namespace OrderApplicationModel {
638
- export { OrderPage, UserInfo, BreakupValues, ShipmentPayment, ShipmentPaymentInfo, ShipmentUserInfo, FulfillingStore, ShipmentStatus, Invoice, NestedTrackingDetails, TrackingDetails, TimeStampData, Promise, ShipmentTotalDetails, Prices, ItemBrand, Item, AppliedFreeArticles, AppliedPromos, Identifiers, FinancialBreakup, CurrentStatus, Bags, FulfillingCompany, Article, Address, Shipments, BagsForReorderArticleAssignment, BagsForReorder, OrderSchema, OrderStatuses, OrderFilters, OrderList, ApefaceApiError, OrderById, ShipmentById, ResponseGetInvoiceShipment, Track, ShipmentTrack, CustomerDetailsResponse, SendOtpToCustomerResponse, VerifyOtp, VerifyOtpResponse, BagReasonMeta, QuestionSet, BagReasons, ShipmentBagReasons, ShipmentReason, ShipmentReasons, ProductsReasonsData, ProductsReasonsFilters, ProductsReasons, EntityReasonData, EntitiesReasons, ReasonsData, Products, ProductsDataUpdatesFilters, ProductsDataUpdates, EntitiesDataUpdates, DataUpdates, ShipmentsRequest, StatuesRequest, OrderRequest, UpdateShipmentStatusRequest, StatusesBodyResponse, ShipmentApplicationStatusResponse, ErrorResponse };
639
- }
640
- /** @returns {OrderPage} */
641
- declare function OrderPage(): OrderPage;
642
- type OrderPage = {
643
- /**
644
- * - Specifies type of pagination. If it is 'cursor'
645
- * based or 'number' based.
646
- */
647
- type?: string;
648
- /**
649
- * - Total number of items available across all
650
- * pages. It provides a count of all the items that match the query criteria,
651
- * regardless of pagination.
652
- */
653
- item_total?: number;
654
- /**
655
- * - Specifies the current page number. It helps in
656
- * identifying the position within the paginated results.
657
- */
658
- current?: number;
659
- /**
660
- * - Represents the number of items on the current
661
- * page. It indicates how many items are included in each page of the
662
- * paginated response.
663
- */
664
- size?: number;
665
- /**
666
- * - Indicates whether there is a next page
667
- * available. It is true if a next page exists and false if the current page
668
- * is the last one.
669
- */
670
- has_next?: boolean;
671
- };
672
- /** @returns {UserInfo} */
673
- declare function UserInfo(): UserInfo;
674
- type UserInfo = {
675
- /**
676
- * - First name of the user.
677
- */
678
- first_name?: string;
679
- /**
680
- * - Gender of the user.
681
- */
682
- gender?: string;
683
- /**
684
- * - Full name of the user (including first and last names).
685
- */
686
- name?: string;
687
- /**
688
- * - Last name of the user.
689
- */
690
- last_name?: string;
691
- /**
692
- * - Mobile number of the user.
693
- */
694
- mobile?: string;
695
- /**
696
- * - Email address of the user.
697
- */
698
- email?: string;
699
- };
700
- /** @returns {BreakupValues} */
701
- declare function BreakupValues(): BreakupValues;
702
- type BreakupValues = {
703
- /**
704
- * - The numerical value associated with the entity.
705
- */
706
- value?: number;
707
- /**
708
- * - Symbol representing the currency used
709
- * for the value.
710
- */
711
- currency_symbol?: string;
712
- /**
713
- * - The official name of the entity.
714
- */
715
- name?: string;
716
- /**
717
- * - The name of the entity as it should be displayed.
718
- */
719
- display?: string;
720
- /**
721
- * - The international currency code
722
- * representing the currency used for the value.
723
- */
724
- currency_code?: string;
725
- };
726
- /** @returns {ShipmentPayment} */
727
- declare function ShipmentPayment(): ShipmentPayment;
728
- type ShipmentPayment = {
729
- /**
730
- * - Abbreviation or code for the payment mode.
731
- */
732
- mop?: string;
733
- /**
734
- * - The specific payment mode used.
735
- */
736
- payment_mode?: string;
737
- /**
738
- * - The current status of the payment.
739
- */
740
- status?: string;
741
- /**
742
- * - The payment mode.
743
- */
744
- mode?: string;
745
- /**
746
- * - URL of the logo representing the payment mode.
747
- */
748
- logo?: string;
749
- /**
750
- * - The name to be displayed for the payment mode.
751
- */
752
- display_name?: string;
753
- };
754
- /** @returns {ShipmentPaymentInfo} */
755
- declare function ShipmentPaymentInfo(): ShipmentPaymentInfo;
756
- type ShipmentPaymentInfo = {
757
- /**
758
- * - Stands for "Mode of Payment". This is a short code
759
- * (like "COD" for Cash On Delivery) that represents the payment method used.
760
- */
761
- mop?: string;
762
- /**
763
- * - Information about the payment mode,
764
- * indicates whether COD or PREPAID.
765
- */
766
- payment_mode?: string;
767
- /**
768
- * - Indicates the current status of the payment,
769
- * Paid or Unpaid.
770
- */
771
- status?: string;
772
- /**
773
- * - Information about the payment source. For eg, NB_ICICI.
774
- */
775
- mode?: string;
776
- /**
777
- * - A URL to an image representing the payment method.
778
- */
779
- logo?: string;
780
- /**
781
- * - The name of the payment method as it
782
- * should be displayed to the user.
783
- */
784
- display_name?: string;
785
- /**
786
- * - Amount paid using this payment method.
787
- */
788
- amount?: number;
789
- };
790
- /** @returns {ShipmentUserInfo} */
791
- declare function ShipmentUserInfo(): ShipmentUserInfo;
792
- type ShipmentUserInfo = {
793
- /**
794
- * - The unique identifier of the store.
795
- */
796
- first_name?: string;
797
- /**
798
- * - A code associated with the store.
799
- */
800
- gender?: string;
801
- /**
802
- * - The name of the store.
803
- */
804
- name?: string;
805
- /**
806
- * - The name of the company associated with the store.
807
- */
808
- last_name?: string;
809
- /**
810
- * - The identifier of the company associated with the store.
811
- */
812
- mobile?: string;
813
- /**
814
- * - Email address of the user.
815
- */
816
- email?: string;
817
- };
818
- /** @returns {FulfillingStore} */
819
- declare function FulfillingStore(): FulfillingStore;
820
- type FulfillingStore = {
821
- /**
822
- * - The unique identifier of the store.
823
- */
824
- id?: number;
825
- /**
826
- * - A code associated with the store.
827
- */
828
- code?: string;
829
- /**
830
- * - The name of the store.
831
- */
832
- name?: string;
833
- /**
834
- * - The name of the company associated with the store.
835
- */
836
- company_name?: string;
837
- /**
838
- * - The identifier of the company associated
839
- * with the store.
840
- */
841
- company_id?: number;
842
- };
843
- /** @returns {ShipmentStatus} */
844
- declare function ShipmentStatus(): ShipmentStatus;
845
- type ShipmentStatus = {
846
- /**
847
- * - The internal or code value representing the
848
- * shipment status.
849
- */
850
- value?: string;
851
- /**
852
- * - The title or display name representing the
853
- * shipment status.
854
- */
855
- title?: string;
856
- /**
857
- * - The hexadecimal color code associated with
858
- * the shipment status.
859
- */
860
- hex_code?: string;
861
- };
862
- /** @returns {Invoice} */
863
- declare function Invoice(): Invoice;
864
- type Invoice = {
865
- /**
866
- * - URL providing access to the invoice.
867
- */
868
- invoice_url?: string;
869
- /**
870
- * - The date and time when the invoice was
871
- * last updated.
872
- */
873
- updated_date?: string;
874
- /**
875
- * - URL providing access to the invoice label.
876
- */
877
- label_url?: string;
878
- };
879
- /** @returns {NestedTrackingDetails} */
880
- declare function NestedTrackingDetails(): NestedTrackingDetails;
881
- type NestedTrackingDetails = {
882
- /**
883
- * - Indicates whether the tracking event has
884
- * passed or occurred.
885
- */
886
- is_passed?: boolean;
887
- /**
888
- * - The time associated with the tracking event.
889
- */
890
- time?: string;
891
- /**
892
- * - Indicates whether the tracking event is
893
- * the current or active status.
894
- */
895
- is_current?: boolean;
896
- /**
897
- * - The status of the tracking event.
898
- */
899
- status?: string;
900
- };
901
- /** @returns {TrackingDetails} */
902
- declare function TrackingDetails(): TrackingDetails;
903
- type TrackingDetails = {
904
- /**
905
- * - Current value or state of the process.
906
- */
907
- value?: string;
908
- /**
909
- * - Indicates whether the tracking event is
910
- * the current or active status.
911
- */
912
- is_current?: boolean;
913
- /**
914
- * - Indicates whether the tracking event has
915
- * passed or occurred.
916
- */
917
- is_passed?: boolean;
918
- /**
919
- * - The status of the tracking event.
920
- */
921
- status?: string;
922
- /**
923
- * - The time associated with the tracking event.
924
- */
925
- time?: string;
926
- /**
927
- * - Timestamp when this status was created.
928
- */
929
- created_ts?: string;
930
- /**
931
- * - Nested tracking details.
932
- */
933
- tracking_details?: NestedTrackingDetails[];
934
- };
935
- /** @returns {TimeStampData} */
936
- declare function TimeStampData(): TimeStampData;
937
- type TimeStampData = {
938
- /**
939
- * - The minimum timestamp value.
940
- */
941
- min?: string;
942
- /**
943
- * - The maximum timestamp value.
944
- */
945
- max?: string;
946
- };
947
- /** @returns {Promise} */
948
- declare function Promise(): Promise;
949
- type Promise = {
950
- /**
951
- * - Indicates whether the promise details
952
- * should be shown.
953
- */
954
- show_promise?: boolean;
955
- timestamp?: TimeStampData;
956
- };
957
- /** @returns {ShipmentTotalDetails} */
958
- declare function ShipmentTotalDetails(): ShipmentTotalDetails;
959
- type ShipmentTotalDetails = {
960
- /**
961
- * - The total number of pieces included.
962
- */
963
- pieces?: number;
964
- /**
965
- * - The total price of the order or item.
966
- */
967
- total_price?: number;
968
- /**
969
- * - The number of different sizes included.
970
- */
971
- sizes?: number;
972
- };
973
- /** @returns {Prices} */
974
- declare function Prices(): Prices;
975
- type Prices = {
976
- /**
977
- * - The delivery charge for the order.
978
- */
979
- delivery_charge?: number;
980
- /**
981
- * - The value of the coupon applied.
982
- */
983
- coupon_value?: number;
984
- /**
985
- * - The amount calculated by the brand.
986
- */
987
- brand_calculated_amount?: number;
988
- /**
989
- * - The value of the goods before tax and
990
- * other charges.
991
- */
992
- value_of_good?: number;
993
- /**
994
- * - The original marked price of the item.
995
- */
996
- price_marked?: number;
997
- /**
998
- * - The effective discount from coupons.
999
- */
1000
- coupon_effective_discount?: number;
1001
- /**
1002
- * - The symbol of the currency used.
1003
- */
1004
- currency_symbol?: string;
1005
- /**
1006
- * - The discount applied to the item.
1007
- */
1008
- discount?: number;
1009
- /**
1010
- * - The GST tax percentage applied.
1011
- */
1012
- gst_tax_percentage?: number;
1013
- /**
1014
- * - The cash on delivery charges, if applicable.
1015
- */
1016
- cod_charges?: number;
1017
- /**
1018
- * - The total amount paid by the customer.
1019
- */
1020
- amount_paid?: number;
1021
- /**
1022
- * - Indicates if the refund amount was
1023
- * added to Fynd Cash.
1024
- */
1025
- added_to_fynd_cash?: boolean;
1026
- /**
1027
- * - The transfer price of the item.
1028
- */
1029
- transfer_price?: number;
1030
- /**
1031
- * - The amount of cashback applied.
1032
- */
1033
- cashback_applied?: number;
1034
- /**
1035
- * - The effective price after all adjustments.
1036
- */
1037
- price_effective?: number;
1038
- /**
1039
- * - The cashback amount earned.
1040
- */
1041
- cashback?: number;
1042
- /**
1043
- * - The amount credited for refund .
1044
- */
1045
- refund_credit?: number;
1046
- /**
1047
- * - The rounded-off amount paid by
1048
- * the customer.
1049
- */
1050
- amount_paid_roundoff?: number;
1051
- /**
1052
- * - The effective discount
1053
- * from promotions.
1054
- */
1055
- promotion_effective_discount?: number;
1056
- /**
1057
- * - The amount refunded to the customer.
1058
- */
1059
- refund_amount?: number;
1060
- /**
1061
- * - The code of the currency used.
1062
- */
1063
- currency_code?: string;
1064
- /**
1065
- * - The amount of Fynd credits used.
1066
- */
1067
- fynd_credits?: number;
1068
- /**
1069
- * - The total amount that needs to
1070
- * be collected from the customer.
1071
- */
1072
- amount_to_be_collected?: number;
1073
- };
1074
- /** @returns {ItemBrand} */
1075
- declare function ItemBrand(): ItemBrand;
1076
- type ItemBrand = {
1077
- /**
1078
- * - The URL of the brand's logo.
1079
- */
1080
- logo?: string;
1081
- /**
1082
- * - The name of the brand.
1083
- */
1084
- name?: string;
1085
- };
1086
- /** @returns {Item} */
1087
- declare function Item(): Item;
1088
- type Item = {
1089
- /**
1090
- * - An array of URLs pointing to images of the item.
1091
- */
1092
- image?: string[];
1093
- /**
1094
- * - An array of level 1 categories to
1095
- * which the item belongs.
1096
- */
1097
- l1_categories?: string[];
1098
- /**
1099
- * - An array of level 2 categories to which
1100
- * the item belongs.
1101
- */
1102
- l2_category?: string[];
1103
- /**
1104
- * - ID representing the level 2 category
1105
- * classification of the item
1106
- */
1107
- l2_category_id?: number;
1108
- brand?: ItemBrand;
1109
- /**
1110
- * - The identifier for the seller .
1111
- */
1112
- seller_identifier?: string;
1113
- /**
1114
- * - The code or SKU of the item.
1115
- */
1116
- code?: string;
1117
- /**
1118
- * - The unique identifier of the item.
1119
- */
1120
- id?: number;
1121
- /**
1122
- * - The name of the item.
1123
- */
1124
- name?: string;
1125
- /**
1126
- * - The level 3 category name.
1127
- */
1128
- l3_category_name?: string;
1129
- /**
1130
- * - A unique key or identifier for the item slug.
1131
- */
1132
- slug_key?: string;
1133
- /**
1134
- * - An array of level 2 categories the
1135
- * item belongs to.
1136
- */
1137
- l2_categories?: string[];
1138
- /**
1139
- * - The size of the item.
1140
- */
1141
- size?: string;
1142
- /**
1143
- * - An object containing various attributes of the item.
1144
- */
1145
- attributes?: any;
1146
- };
1147
- /** @returns {AppliedFreeArticles} */
1148
- declare function AppliedFreeArticles(): AppliedFreeArticles;
1149
- type AppliedFreeArticles = {
1150
- /**
1151
- * - The unique identifier for the article.
1152
- */
1153
- article_id?: string;
1154
- /**
1155
- * - An object containing details
1156
- * about the free gift item.
1157
- */
1158
- free_gift_item_details?: any;
1159
- /**
1160
- * - The identifier for the parent
1161
- * item to which this free article is related.
1162
- */
1163
- parent_item_identifier?: string;
1164
- /**
1165
- * - The quantity of the free article.
1166
- */
1167
- quantity?: number;
1168
- };
1169
- /** @returns {AppliedPromos} */
1170
- declare function AppliedPromos(): AppliedPromos;
1171
- type AppliedPromos = {
1172
- /**
1173
- * - Indicates if the promotion is applied to the MRP.
1174
- */
1175
- mrp_promotion?: boolean;
1176
- /**
1177
- * - The name of the promotion .
1178
- */
1179
- promotion_name?: string;
1180
- /**
1181
- * - The quantity of articles required to
1182
- * qualify for the promotion.
1183
- */
1184
- article_quantity?: number;
1185
- /**
1186
- * - The unique identifier for the promotion.
1187
- */
1188
- promo_id?: string;
1189
- /**
1190
- * - The discount amount provided by the promotion.
1191
- */
1192
- amount?: number;
1193
- /**
1194
- * - The type of promotion.
1195
- */
1196
- promotion_type?: string;
1197
- /**
1198
- * - An array
1199
- * containing details of free articles applied under the promotion.
1200
- */
1201
- applied_free_articles?: AppliedFreeArticles[];
1202
- };
1203
- /** @returns {Identifiers} */
1204
- declare function Identifiers(): Identifiers;
1205
- type Identifiers = {
1206
- /**
1207
- * - The European Article Number (EAN) of the item.
1208
- */
1209
- ean?: string;
1210
- /**
1211
- * - The Stock Keeping Unit (SKU) code of the item.
1212
- */
1213
- sku_code?: string;
1214
- };
1215
- /** @returns {FinancialBreakup} */
1216
- declare function FinancialBreakup(): FinancialBreakup;
1217
- type FinancialBreakup = {
1218
- /**
1219
- * - The value of the coupon applied.
1220
- */
1221
- coupon_value?: number;
1222
- /**
1223
- * - The delivery charge for the order.
1224
- */
1225
- delivery_charge?: number;
1226
- /**
1227
- * - The amount calculated by the brand.
1228
- */
1229
- brand_calculated_amount?: number;
1230
- /**
1231
- * - The value of the goods before tax and
1232
- * other charges.
1233
- */
1234
- value_of_good?: number;
1235
- /**
1236
- * - The original marked price of the item.
1237
- */
1238
- price_marked?: number;
1239
- /**
1240
- * - The effective discount from coupons.
1241
- */
1242
- coupon_effective_discount?: number;
1243
- /**
1244
- * - The HSN (Harmonized System of Nomenclature)
1245
- * code of the item.
1246
- */
1247
- hsn_code?: string;
1248
- /**
1249
- * - The discount applied to the item.
1250
- */
1251
- discount?: number;
1252
- /**
1253
- * - The GST tax percentage applied .
1254
- */
1255
- gst_tax_percentage?: number;
1256
- /**
1257
- * - The cash on delivery charges, if applicable.
1258
- */
1259
- cod_charges?: number;
1260
- /**
1261
- * - The total amount paid by the customer.
1262
- */
1263
- amount_paid?: number;
1264
- /**
1265
- * - Indicates if the refund amount was
1266
- * added to Fynd Cash.
1267
- */
1268
- added_to_fynd_cash?: boolean;
1269
- /**
1270
- * - The size of the item .
1271
- */
1272
- size?: string;
1273
- /**
1274
- * - The transfer price of the item.
1275
- */
1276
- transfer_price?: number;
1277
- /**
1278
- * - The amount of cashback applied.
1279
- */
1280
- cashback_applied?: number;
1281
- /**
1282
- * - The effective price after all adjustments.
1283
- */
1284
- price_effective?: number;
1285
- /**
1286
- * - The cashback amount earned.
1287
- */
1288
- cashback?: number;
1289
- /**
1290
- * - The amount credited for refund .
1291
- */
1292
- refund_credit?: number;
1293
- /**
1294
- * - The rounded-off amount paid by
1295
- * the customer.
1296
- */
1297
- amount_paid_roundoff?: number;
1298
- /**
1299
- * - The total number of units purchased.
1300
- */
1301
- total_units?: number;
1302
- identifiers?: Identifiers;
1303
- /**
1304
- * - The GST tag indicating the type of GST applied.
1305
- */
1306
- gst_tag?: string;
1307
- /**
1308
- * - The name of the item.
1309
- */
1310
- item_name?: string;
1311
- /**
1312
- * - The effective discount
1313
- * from promotions.
1314
- */
1315
- promotion_effective_discount?: number;
1316
- /**
1317
- * - The GST fee applied to the item.
1318
- */
1319
- gst_fee?: number;
1320
- /**
1321
- * - The amount refunded to the customer.
1322
- */
1323
- refund_amount?: number;
1324
- /**
1325
- * - The amount of Fynd credits used.
1326
- */
1327
- fynd_credits?: number;
1328
- /**
1329
- * - The total amount that needs to
1330
- * be collected from the customer.
1331
- */
1332
- amount_to_be_collected?: number;
1333
- };
1334
- /** @returns {CurrentStatus} */
1335
- declare function CurrentStatus(): CurrentStatus;
1336
- type CurrentStatus = {
1337
- /**
1338
- * - The date and time when the status was last updated.
1339
- */
1340
- updated_at?: string;
1341
- /**
1342
- * - The name or label indicating the current state or status.
1343
- */
1344
- name?: string;
1345
- /**
1346
- * - The current status of the bag.
1347
- */
1348
- status?: string;
1349
- /**
1350
- * - The type of journey for the shipment,
1351
- * indicating the direction of the shipment.
1352
- */
1353
- journey_type?: string;
1354
- };
1355
- /** @returns {Bags} */
1356
- declare function Bags(): Bags;
1357
- type Bags = {
1358
- /**
1359
- * - The date and time when the item is
1360
- * expected to be delivered .
1361
- */
1362
- delivery_date?: string;
1363
- /**
1364
- * - The line number of the item in the order.
1365
- */
1366
- line_number?: number;
1367
- /**
1368
- * - The symbol of the currency used.
1369
- */
1370
- currency_symbol?: string;
1371
- item?: Item;
1372
- /**
1373
- * - An array containing
1374
- * information about applied promotions.
1375
- */
1376
- applied_promos?: AppliedPromos[];
1377
- /**
1378
- * - The quantity of the item.
1379
- */
1380
- quantity?: number;
1381
- prices?: Prices;
1382
- /**
1383
- * - Indicates if the item can be canceled.
1384
- */
1385
- can_cancel?: boolean;
1386
- /**
1387
- * - Indicates if the item can be returned.
1388
- */
1389
- can_return?: boolean;
1390
- /**
1391
- * - The unique identifier for the order item.
1392
- */
1393
- id?: number;
1394
- /**
1395
- * - The last date and time by which the
1396
- * item can be returned.
1397
- */
1398
- returnable_date?: string;
1399
- /**
1400
- * - An array containing
1401
- * financial details of the item.
1402
- */
1403
- financial_breakup?: FinancialBreakup[];
1404
- /**
1405
- * - An object containing details of
1406
- * parent promotional bags.
1407
- */
1408
- parent_promo_bags?: any;
1409
- /**
1410
- * - An object containing metadata for the item.
1411
- */
1412
- meta?: any;
1413
- /**
1414
- * - The code of the currency used.
1415
- */
1416
- currency_code?: string;
1417
- /**
1418
- * - The identifier for the seller.
1419
- */
1420
- seller_identifier?: string;
1421
- current_status?: CurrentStatus;
1422
- article?: Article;
1423
- };
1424
- /** @returns {FulfillingCompany} */
1425
- declare function FulfillingCompany(): FulfillingCompany;
1426
- type FulfillingCompany = {
1427
- /**
1428
- * - The unique identifier for the fulfilling company.
1429
- */
1430
- id?: number;
1431
- /**
1432
- * - The name of the fulfilling company.
1433
- */
1434
- name?: string;
1435
- };
1436
- /** @returns {Article} */
1437
- declare function Article(): Article;
1438
- type Article = {
1439
- /**
1440
- * - An array of tags associated with the article.
1441
- */
1442
- tags?: string[];
1443
- };
1444
- /** @returns {Address} */
1445
- declare function Address(): Address;
1446
- type Address = {
1447
- /**
1448
- * - The postal code of the address.
1449
- */
1450
- pincode?: string;
1451
- /**
1452
- * - The phone number of the person associated with
1453
- * the address.
1454
- */
1455
- phone?: string;
1456
- /**
1457
- * - The latitude coordinate.
1458
- */
1459
- latitude?: number;
1460
- /**
1461
- * - The secondary line of the address.
1462
- */
1463
- address2?: string;
1464
- /**
1465
- * - A nearby landmark.
1466
- */
1467
- landmark?: string;
1468
- /**
1469
- * - The area or locality.
1470
- */
1471
- area?: string;
1472
- /**
1473
- * - The city of the address.
1474
- */
1475
- city?: string;
1476
- /**
1477
- * - The full address.
1478
- */
1479
- address?: string;
1480
- /**
1481
- * - The type of address.
1482
- */
1483
- address_type?: string;
1484
- /**
1485
- * - The longitude coordinate.
1486
- */
1487
- longitude?: number;
1488
- /**
1489
- * - The ISO code for the country.
1490
- */
1491
- country_iso_code?: string;
1492
- /**
1493
- * - The state of the address.
1494
- */
1495
- state?: string;
1496
- /**
1497
- * - The date and time when the address was created.
1498
- */
1499
- created_at?: string;
1500
- /**
1501
- * - The primary line of the address.
1502
- */
1503
- address1?: string;
1504
- /**
1505
- * - The formatted display address,
1506
- * typically used for printing or displaying in user interfaces.
1507
- */
1508
- display_address?: string;
1509
- /**
1510
- * - The name of the person associated with the address.
1511
- */
1512
- name?: string;
1513
- /**
1514
- * - The name of the contact person.
1515
- */
1516
- contact_person?: string;
1517
- /**
1518
- * - The category of the address.
1519
- */
1520
- address_category?: string;
1521
- /**
1522
- * - The email address.
1523
- */
1524
- email?: string;
1525
- /**
1526
- * - The country phone code.
1527
- */
1528
- country_phone_code?: string;
1529
- /**
1530
- * - The version of the address format.
1531
- */
1532
- version?: string;
1533
- /**
1534
- * - The date and time when the address was last updated .
1535
- */
1536
- updated_at?: string;
1537
- /**
1538
- * - The country of the address.
1539
- */
1540
- country?: string;
1541
- };
1542
- /** @returns {Shipments} */
1543
- declare function Shipments(): Shipments;
1544
- type Shipments = {
1545
- payment?: ShipmentPayment;
1546
- /**
1547
- * - Array of objects
1548
- * containing payment methods used for placing an order. Each object will
1549
- * provide information about corresponding payment method with relevant details.
1550
- */
1551
- payment_info?: ShipmentPaymentInfo[];
1552
- /**
1553
- * - The type of order.
1554
- */
1555
- order_type?: string;
1556
- /**
1557
- * - The GSTIN code for the shipment.
1558
- */
1559
- gstin_code?: string;
1560
- /**
1561
- * - Indicates if the download
1562
- * invoice option should be shown.
1563
- */
1564
- show_download_invoice?: boolean;
1565
- /**
1566
- * - Indicates if the shipment can be canceled.
1567
- */
1568
- can_cancel?: boolean;
1569
- user_info?: ShipmentUserInfo;
1570
- /**
1571
- * - The unique identifier for the shipment.
1572
- */
1573
- shipment_id?: string;
1574
- fulfilling_store?: FulfillingStore;
1575
- /**
1576
- * - An object containing custom metadata for
1577
- * the shipment.
1578
- */
1579
- custom_meta?: any[];
1580
- shipment_status?: ShipmentStatus;
1581
- /**
1582
- * - Any comments related to the shipment.
1583
- */
1584
- comment?: string;
1585
- invoice?: Invoice;
1586
- /**
1587
- * - Indicates if the track link should be shown.
1588
- */
1589
- show_track_link?: boolean;
1590
- /**
1591
- * - An object containing details of any refunds.
1592
- */
1593
- refund_details?: any;
1594
- /**
1595
- * - An array containing the
1596
- * breakup of various charges and discounts.
1597
- */
1598
- breakup_values?: BreakupValues[];
1599
- /**
1600
- * - An object containing details about the
1601
- * breakability of the shipment.
1602
- */
1603
- can_break?: any;
1604
- /**
1605
- * - The tracking number for the shipment.
1606
- */
1607
- traking_no?: string;
1608
- /**
1609
- * - An array containing
1610
- * details of the tracking history of the shipment.
1611
- */
1612
- tracking_details?: TrackingDetails[];
1613
- promise?: Promise;
1614
- /**
1615
- * - The total number of bags in the shipment.
1616
- */
1617
- total_bags?: number;
1618
- total_details?: ShipmentTotalDetails;
1619
- prices?: Prices;
1620
- /**
1621
- * - The last date by which the item can be returned.
1622
- */
1623
- returnable_date?: string;
1624
- /**
1625
- * - The date and time when the
1626
- * shipment was created.
1627
- */
1628
- shipment_created_at?: string;
1629
- /**
1630
- * - The timestamp when the shipment was created.
1631
- */
1632
- shipment_created_ts?: string;
1633
- /**
1634
- * - An object containing size information for
1635
- * the items in the shipment.
1636
- */
1637
- size_info?: any;
1638
- /**
1639
- * - An array containing details about the individual
1640
- * bags in the shipment.
1641
- */
1642
- bags?: Bags[];
1643
- /**
1644
- * - The name of the delivery partner.
1645
- */
1646
- dp_name?: string;
1647
- /**
1648
- * - The airway bill number for the shipment.
1649
- */
1650
- awb_no?: string;
1651
- /**
1652
- * - Indicates if there are any
1653
- * beneficiary details.
1654
- */
1655
- beneficiary_details?: boolean;
1656
- fulfilling_company?: FulfillingCompany;
1657
- /**
1658
- * - Indicates if the shipment can be returned.
1659
- */
1660
- can_return?: boolean;
1661
- delivery_address?: Address;
1662
- billing_address?: Address;
1663
- /**
1664
- * - The URL for tracking the shipment.
1665
- */
1666
- track_url?: string;
1667
- /**
1668
- * - The unique identifier for the order.
1669
- */
1670
- order_id?: string;
1671
- /**
1672
- * - The URL for customer support or help.
1673
- */
1674
- need_help_url?: string;
1675
- /**
1676
- * - An object containing metadata about the
1677
- * return process.
1678
- */
1679
- return_meta?: any;
1680
- /**
1681
- * - The expected delivery date.
1682
- */
1683
- delivery_date?: string;
1684
- order?: OrderRequest;
1685
- };
1686
- /** @returns {BagsForReorderArticleAssignment} */
1687
- declare function BagsForReorderArticleAssignment(): BagsForReorderArticleAssignment;
1688
- type BagsForReorderArticleAssignment = {
1689
- /**
1690
- * - The strategy used for article assignment.
1691
- */
1692
- strategy?: string;
1693
- /**
1694
- * - The level at which the article assignment is made.
1695
- */
1696
- level?: string;
1697
- };
1698
- /** @returns {BagsForReorder} */
1699
- declare function BagsForReorder(): BagsForReorder;
1700
- type BagsForReorder = {
1701
- /**
1702
- * - The size of the item.
1703
- */
1704
- item_size?: string;
1705
- /**
1706
- * - The quantity of the item.
1707
- */
1708
- quantity?: number;
1709
- /**
1710
- * - The identifier for the store.
1711
- */
1712
- store_id?: number;
1713
- article_assignment?: BagsForReorderArticleAssignment;
1714
- /**
1715
- * - The identifier for the seller.
1716
- */
1717
- seller_id?: number;
1718
- /**
1719
- * - The unique identifier for the item.
1720
- */
1721
- item_id?: number;
1722
- };
1723
- /** @returns {OrderSchema} */
1724
- declare function OrderSchema(): OrderSchema;
1725
- type OrderSchema = {
1726
- /**
1727
- * - The total number of shipments
1728
- * in the order.
1729
- */
1730
- total_shipments_in_order?: number;
1731
- /**
1732
- * - The GSTIN code for the shipment.
1733
- */
1734
- gstin_code?: string;
1735
- user_info?: UserInfo;
1736
- /**
1737
- * - An array containing the
1738
- * breakup of various charges and discounts.
1739
- */
1740
- breakup_values?: BreakupValues[];
1741
- /**
1742
- * - The date and time when the order was created.
1743
- */
1744
- order_created_time?: string;
1745
- /**
1746
- * - The timestamp when the order was created.
1747
- */
1748
- order_created_ts?: string;
1749
- /**
1750
- * - The unique identifier for the order.
1751
- */
1752
- order_id?: string;
1753
- /**
1754
- * - An array containing details of
1755
- * individual shipments within the order.
1756
- */
1757
- shipments?: Shipments[];
1758
- /**
1759
- * - An array containing details
1760
- * of bags available for reorder.
1761
- */
1762
- bags_for_reorder?: BagsForReorder[];
1763
- /**
1764
- * - An object containing additional metadata for the order.
1765
- */
1766
- meta?: any;
1767
- };
1768
- /** @returns {OrderStatuses} */
1769
- declare function OrderStatuses(): OrderStatuses;
1770
- type OrderStatuses = {
1771
- /**
1772
- * - The value representing the selection.
1773
- */
1774
- value?: number;
1775
- /**
1776
- * - Indicates whether this option is
1777
- * currently selected.
1778
- */
1779
- is_selected?: boolean;
1780
- /**
1781
- * - The text to display .
1782
- */
1783
- display?: string;
1784
- };
1785
- /** @returns {OrderFilters} */
1786
- declare function OrderFilters(): OrderFilters;
1787
- type OrderFilters = {
1788
- /**
1789
- * - An array containing the order statuses.
1790
- */
1791
- statuses?: OrderStatuses[];
1792
- };
1793
- /** @returns {OrderList} */
1794
- declare function OrderList(): OrderList;
1795
- type OrderList = {
1796
- page?: OrderPage;
1797
- /**
1798
- * - List of orders, each containing detailed
1799
- * information about individual orders and their respective shipments.
1800
- */
1801
- items?: OrderSchema[];
1802
- filters?: OrderFilters;
1803
- };
1804
- /** @returns {ApefaceApiError} */
1805
- declare function ApefaceApiError(): ApefaceApiError;
1806
- type ApefaceApiError = {
1807
- /**
1808
- * - Contains any message related to the operation.
1809
- */
1810
- message?: string;
1811
- /**
1812
- * - Indicates if the operation was successful.
1813
- */
1814
- success?: boolean;
1815
- };
1816
- /** @returns {OrderById} */
1817
- declare function OrderById(): OrderById;
1818
- type OrderById = {
1819
- order?: OrderSchema;
1820
- };
1821
- /** @returns {ShipmentById} */
1822
- declare function ShipmentById(): ShipmentById;
1823
- type ShipmentById = {
1824
- shipment?: Shipments;
1825
- };
1826
- /** @returns {ResponseGetInvoiceShipment} */
1827
- declare function ResponseGetInvoiceShipment(): ResponseGetInvoiceShipment;
1828
- type ResponseGetInvoiceShipment = {
1829
- /**
1830
- * - Type of presigned URL.
1831
- */
1832
- presigned_type: string;
1833
- /**
1834
- * - Indicates if the operation was successful .
1835
- */
1836
- success: boolean;
1837
- /**
1838
- * - Identifier for the shipment.
1839
- */
1840
- shipment_id: string;
1841
- /**
1842
- * - The presigned URL for accessing the
1843
- * shipment data, obtained from the response data.
1844
- */
1845
- presigned_url: string;
1846
- };
1847
- /** @returns {Track} */
1848
- declare function Track(): Track;
1849
- type Track = {
1850
- /**
1851
- * - The name of the account handling the shipment.
1852
- */
1853
- account_name?: string;
1854
- /**
1855
- * - The type of shipment.
1856
- */
1857
- shipment_type?: string;
1858
- /**
1859
- * - The current status of the shipment.
1860
- */
1861
- status?: string;
1862
- /**
1863
- * - The last known location of
1864
- * the shipment.
1865
- */
1866
- last_location_recieved_at?: string;
1867
- /**
1868
- * - The timestamp of the last update.
1869
- */
1870
- updated_time?: string;
1871
- /**
1872
- * - The date and time when the shipment was last updated.
1873
- */
1874
- updated_at?: string;
1875
- /**
1876
- * - The reason or additional information about the shipment.
1877
- */
1878
- reason?: string;
1879
- /**
1880
- * - The Air Waybill (AWB) number for the shipment.
1881
- */
1882
- awb?: string;
1883
- };
1884
- /** @returns {ShipmentTrack} */
1885
- declare function ShipmentTrack(): ShipmentTrack;
1886
- type ShipmentTrack = {
1887
- /**
1888
- * - A array containing tracking details.
1889
- */
1890
- results?: Track[];
1891
- };
1892
- /** @returns {CustomerDetailsResponse} */
1893
- declare function CustomerDetailsResponse(): CustomerDetailsResponse;
1894
- type CustomerDetailsResponse = {
1895
- /**
1896
- * - Customer's phone number.
1897
- */
1898
- phone?: string;
1899
- /**
1900
- * - Unique identifier of the shipment.
1901
- */
1902
- shipment_id?: string;
1903
- /**
1904
- * - Customer's name.
1905
- */
1906
- name?: string;
1907
- /**
1908
- * - Unique identifier of the order.
1909
- */
1910
- order_id?: string;
1911
- /**
1912
- * - Country of the customer.
1913
- */
1914
- country?: string;
1915
- };
1916
- /** @returns {SendOtpToCustomerResponse} */
1917
- declare function SendOtpToCustomerResponse(): SendOtpToCustomerResponse;
1918
- type SendOtpToCustomerResponse = {
1919
- /**
1920
- * - Unique identifier for the request.
1921
- */
1922
- request_id?: string;
1923
- /**
1924
- * - Message indicating the result of the request.
1925
- */
1926
- message?: string;
1927
- /**
1928
- * - Indicates whether the request was successful.
1929
- */
1930
- success?: boolean;
1931
- /**
1932
- * - Time in seconds before the OTP can be resent.
1933
- */
1934
- resend_timer?: number;
1935
- };
1936
- /** @returns {VerifyOtp} */
1937
- declare function VerifyOtp(): VerifyOtp;
1938
- type VerifyOtp = {
1939
- /**
1940
- * - The OTP code provided by the user for verification.
1941
- */
1942
- otp_code?: string;
1943
- /**
1944
- * - Unique identifier for the request.
1945
- */
1946
- request_id?: string;
1947
- };
1948
- /** @returns {VerifyOtpResponse} */
1949
- declare function VerifyOtpResponse(): VerifyOtpResponse;
1950
- type VerifyOtpResponse = {
1951
- /**
1952
- * - Indicates whether the request was successful.
1953
- */
1954
- success?: boolean;
1955
- };
1956
- /** @returns {BagReasonMeta} */
1957
- declare function BagReasonMeta(): BagReasonMeta;
1958
- type BagReasonMeta = {
1959
- /**
1960
- * - Indicates whether to display a text
1961
- * box on the front end.
1962
- */
1963
- show_text_area?: boolean;
1964
- };
1965
- /** @returns {QuestionSet} */
1966
- declare function QuestionSet(): QuestionSet;
1967
- type QuestionSet = {
1968
- /**
1969
- * - The unique identifier for the question.
1970
- */
1971
- id?: number;
1972
- /**
1973
- * - The text displayed for the question.
1974
- */
1975
- display_name?: string;
1976
- };
1977
- /** @returns {BagReasons} */
1978
- declare function BagReasons(): BagReasons;
1979
- type BagReasons = {
1980
- /**
1981
- * - A list of quality check types.
1982
- */
1983
- qc_type?: string[];
1984
- /**
1985
- * - The unique identifier.
1986
- */
1987
- id?: number;
1988
- /**
1989
- * - The text displayed.
1990
- */
1991
- display_name?: string;
1992
- meta?: BagReasonMeta;
1993
- /**
1994
- * - A list of questions for delivery partner.
1995
- */
1996
- question_set?: QuestionSet[];
1997
- /**
1998
- * - A list of reasons.
1999
- */
2000
- reasons?: BagReasons[];
2001
- };
2002
- /** @returns {ShipmentBagReasons} */
2003
- declare function ShipmentBagReasons(): ShipmentBagReasons;
2004
- type ShipmentBagReasons = {
2005
- /**
2006
- * - A list of shipment's bag reasons.
2007
- */
2008
- reasons?: BagReasons[];
2009
- /**
2010
- * - Indicates if the operation was successful.
2011
- */
2012
- success?: boolean;
2013
- };
2014
- /** @returns {ShipmentReason} */
2015
- declare function ShipmentReason(): ShipmentReason;
2016
- type ShipmentReason = {
2017
- /**
2018
- * - The priority level of the reason.
2019
- */
2020
- priority?: number;
2021
- /**
2022
- * - A flag indicating whether to show a
2023
- * textbox on the frontend.
2024
- */
2025
- show_text_area?: boolean;
2026
- /**
2027
- * - The unique identifier for the reason.
2028
- */
2029
- reason_id?: number;
2030
- /**
2031
- * - The type of feedback.
2032
- */
2033
- feedback_type?: string;
2034
- /**
2035
- * - The text describing the reason.
2036
- */
2037
- reason_text?: string;
2038
- /**
2039
- * - The process flow related to the reason.
2040
- */
2041
- flow?: string;
2042
- };
2043
- /** @returns {ShipmentReasons} */
2044
- declare function ShipmentReasons(): ShipmentReasons;
2045
- type ShipmentReasons = {
2046
- /**
2047
- * - A list of shipment reasons.
2048
- */
2049
- reasons?: ShipmentReason[];
2050
- };
2051
- /** @returns {ProductsReasonsData} */
2052
- declare function ProductsReasonsData(): ProductsReasonsData;
2053
- type ProductsReasonsData = {
2054
- /**
2055
- * - The unique identifier for the reason.
2056
- */
2057
- reason_id?: number;
2058
- /**
2059
- * - The text describing the reason.
2060
- */
2061
- reason_text?: string;
2062
- };
2063
- /** @returns {ProductsReasonsFilters} */
2064
- declare function ProductsReasonsFilters(): ProductsReasonsFilters;
2065
- type ProductsReasonsFilters = {
2066
- /**
2067
- * - The specific line item of bag.
2068
- */
2069
- line_number?: number;
2070
- /**
2071
- * - The quantity of the product.
2072
- */
2073
- quantity?: number;
2074
- /**
2075
- * - The unique identifier for the product.
2076
- */
2077
- identifier?: string;
2078
- };
2079
- /** @returns {ProductsReasons} */
2080
- declare function ProductsReasons(): ProductsReasons;
2081
- type ProductsReasons = {
2082
- data?: ProductsReasonsData;
2083
- /**
2084
- * - Criteria applied to filter
2085
- * the products.
2086
- */
2087
- filters?: ProductsReasonsFilters[];
2088
- };
2089
- /** @returns {EntityReasonData} */
2090
- declare function EntityReasonData(): EntityReasonData;
2091
- type EntityReasonData = {
2092
- /**
2093
- * - The unique identifier for the reason.
2094
- */
2095
- reason_id?: number;
2096
- /**
2097
- * - The text describing the reason.
2098
- */
2099
- reason_text?: string;
2100
- };
2101
- /** @returns {EntitiesReasons} */
2102
- declare function EntitiesReasons(): EntitiesReasons;
2103
- type EntitiesReasons = {
2104
- data?: EntityReasonData;
2105
- /**
2106
- * - Criteria applied to filter the shipment.
2107
- */
2108
- filters?: any[];
2109
- };
2110
- /** @returns {ReasonsData} */
2111
- declare function ReasonsData(): ReasonsData;
2112
- type ReasonsData = {
2113
- /**
2114
- * - Reasons data for bags.
2115
- */
2116
- products?: ProductsReasons[];
2117
- /**
2118
- * - Reasons data for shipments.
2119
- */
2120
- entities?: EntitiesReasons[];
2121
- };
2122
- /** @returns {Products} */
2123
- declare function Products(): Products;
2124
- type Products = {
2125
- /**
2126
- * - The specific line item of bag.
2127
- */
2128
- line_number?: number;
2129
- /**
2130
- * - The quantity of the product.
2131
- */
2132
- quantity?: number;
2133
- /**
2134
- * - The unique identifier for the product.
2135
- */
2136
- identifier?: string;
2137
- };
2138
- /** @returns {ProductsDataUpdatesFilters} */
2139
- declare function ProductsDataUpdatesFilters(): ProductsDataUpdatesFilters;
2140
- type ProductsDataUpdatesFilters = {
2141
- /**
2142
- * - The specific line item of bag.
2143
- */
2144
- line_number?: number;
2145
- /**
2146
- * - The quantity of the product.
2147
- */
2148
- identifier?: string;
2149
- };
2150
- /** @returns {ProductsDataUpdates} */
2151
- declare function ProductsDataUpdates(): ProductsDataUpdates;
2152
- type ProductsDataUpdates = {
2153
- /**
2154
- * - Information about the data to be updated.
2155
- */
2156
- data?: any;
2157
- /**
2158
- * - Criteria applied to
2159
- * filter the products.
2160
- */
2161
- filters?: ProductsDataUpdatesFilters[];
2162
- };
2163
- /** @returns {EntitiesDataUpdates} */
2164
- declare function EntitiesDataUpdates(): EntitiesDataUpdates;
2165
- type EntitiesDataUpdates = {
2166
- /**
2167
- * - Information about the data to be updated.
2168
- */
2169
- data?: any;
2170
- /**
2171
- * - Criteria applied to filter the shipments.
2172
- */
2173
- filters?: any[];
2174
- };
2175
- /** @returns {DataUpdates} */
2176
- declare function DataUpdates(): DataUpdates;
2177
- type DataUpdates = {
2178
- /**
2179
- * - Data updates for bags.
2180
- */
2181
- products?: ProductsDataUpdates[];
2182
- /**
2183
- * - Data updates for shipments.
2184
- */
2185
- entities?: EntitiesDataUpdates[];
2186
- };
2187
- /** @returns {ShipmentsRequest} */
2188
- declare function ShipmentsRequest(): ShipmentsRequest;
2189
- type ShipmentsRequest = {
2190
- reasons?: ReasonsData;
2191
- /**
2192
- * - Specific bag to be updated.
2193
- */
2194
- products?: Products[];
2195
- data_updates?: DataUpdates;
2196
- /**
2197
- * - The unique identifier for request which is
2198
- * the shipment_id.
2199
- */
2200
- identifier: string;
2201
- };
2202
- /** @returns {StatuesRequest} */
2203
- declare function StatuesRequest(): StatuesRequest;
2204
- type StatuesRequest = {
2205
- /**
2206
- * - A list containing information
2207
- * about shipments.
2208
- */
2209
- shipments?: ShipmentsRequest[];
2210
- /**
2211
- * - State to be change for
2212
- * Remaining Bag/Products.
2213
- */
2214
- exclude_bags_next_state?: string;
2215
- /**
2216
- * - The status to which the entity is to be transitioned.
2217
- */
2218
- status?: string;
2219
- };
2220
- /** @returns {OrderRequest} */
2221
- declare function OrderRequest(): OrderRequest;
2222
- type OrderRequest = {
2223
- /**
2224
- * - Metadata for the order.
2225
- */
2226
- meta?: any;
2227
- };
2228
- /** @returns {UpdateShipmentStatusRequest} */
2229
- declare function UpdateShipmentStatusRequest(): UpdateShipmentStatusRequest;
2230
- type UpdateShipmentStatusRequest = {
2231
- /**
2232
- * - An array containing different status details.
2233
- */
2234
- statuses?: StatuesRequest[];
2235
- /**
2236
- * - Indicates whether the task is active or required.
2237
- */
2238
- task?: boolean;
2239
- /**
2240
- * - Indicates whether the status
2241
- * should be locked after the transition.
2242
- */
2243
- lock_after_transition?: boolean;
2244
- /**
2245
- * - Indicates whether the transition
2246
- * should be forced.
2247
- */
2248
- force_transition?: boolean;
2249
- /**
2250
- * - Indicates whether the status
2251
- * should be unlocked before the transition.
2252
- */
2253
- unlock_before_transition?: boolean;
2254
- };
2255
- /** @returns {StatusesBodyResponse} */
2256
- declare function StatusesBodyResponse(): StatusesBodyResponse;
2257
- type StatusesBodyResponse = {
2258
- /**
2259
- * - List of shipments.
2260
- */
2261
- shipments?: any[];
2262
- };
2263
- /** @returns {ShipmentApplicationStatusResponse} */
2264
- declare function ShipmentApplicationStatusResponse(): ShipmentApplicationStatusResponse;
2265
- type ShipmentApplicationStatusResponse = {
2266
- /**
2267
- * - An array containing different
2268
- * status options of shipments.
2269
- */
2270
- statuses?: StatusesBodyResponse[];
2271
- };
2272
- /** @returns {ErrorResponse} */
2273
- declare function ErrorResponse(): ErrorResponse;
2274
- type ErrorResponse = {
2275
- /**
2276
- * - The HTTP status code of the response.
2277
- */
2278
- code?: string;
2279
- /**
2280
- * - A message providing details about the response.
2281
- */
2282
- message?: string;
2283
- /**
2284
- * - An additional code providing more context about
2285
- * the response.
2286
- */
2287
- status?: number;
2288
- /**
2289
- * - Details of any exception that occurred.
2290
- */
2291
- exception?: string;
2292
- /**
2293
- * - The stack trace of any exception that occurred.
2294
- */
2295
- stack_trace?: string;
2296
- };