@gofynd/fdk-client-javascript 1.4.14 → 1.4.15-beta.10

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