@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,2034 +0,0 @@
1
- export = LogisticApplicationModel;
2
- /**
3
- * @typedef GetStoreResult
4
- * @property {StoreItemResult[]} [items] - List of locations, each containing
5
- * detailed information about individual location.
6
- * @property {Page} [page]
7
- */
8
- /**
9
- * @typedef StoreItemResult
10
- * @property {number} [id] - A unique identifier for the location.
11
- * @property {string} [store_type] - The type of store, indicating the nature of
12
- * the store, such as retail or warehouse.
13
- * @property {string} [fulfillment_type] - The method of fulfillment used by the
14
- * store, such as shipping, pickup, or delivery.
15
- * @property {number} [processing_time] - The average time taken by the store to
16
- * process orders, measured in minutes.
17
- * @property {string[]} [tags] - List of tags associated with the store for
18
- * categorization and search purposes.
19
- * @property {number} [company_id] - The unique identifier of the company that
20
- * owns the store.
21
- * @property {number} [latitude] - The geographical latitude coordinate of the
22
- * store location.
23
- * @property {number} [longitude] - The geographical longitude coordinate of the
24
- * store location.
25
- */
26
- /**
27
- * @typedef ValidateAddressDetails
28
- * @property {string} [address] - Complete address, combining address line 1,
29
- * address line 2, area, landmark, sector, city, state, and pincode.
30
- * @property {string} [address1] - First line of the address, typically
31
- * containing street or building information.
32
- * @property {string} [address2] - Second line of the address, which can be used
33
- * for additional address details if needed.
34
- * @property {string} [area] - Locality or area associated with the address.
35
- * @property {string} [landmark] - Prominent nearby landmark that aids in
36
- * locating the address.
37
- * @property {string} [pincode] - Postal code or PIN code of the address area.
38
- * @property {string} [sector] - Specifies the sector or district of the address
39
- * if applicable.
40
- * @property {string} [city] - Denote the city or municipality of the address.
41
- * @property {string} [state] - Indicates the state or province of the address.
42
- * @property {string} [name] - Recipient's name associated with the address.
43
- * @property {string} [phone] - Recipient's contact phone number.
44
- * @property {string} [email] - Recipient's email address.
45
- */
46
- /**
47
- * @typedef PincodeParentsResult
48
- * @property {string} [sub_type] - Specific type of locality hierarchy the
49
- * pincode belongs to (e.g., city, state, country).
50
- * @property {string} [display_name] - User-friendly version of the geographical
51
- * data, which may be more descriptive or formatted differently.
52
- * @property {string} [name] - The actual geographical data, such as country
53
- * names (India), state names (Maharashtra), pin codes (400603), city names
54
- * (Dubai), or local sectors (Deira).
55
- * @property {string} [uid] - Unique identifier for the locality.
56
- */
57
- /**
58
- * @typedef PincodeMetaResult
59
- * @property {string} [zone] - Geographical region to which the pincode belongs,
60
- * often used to categorize or group pincodes for regional management or
61
- * postal purposes.
62
- * @property {number} [internal_zone_id] - A unique identifier used within the
63
- * system to track or reference the specific zone associated with the pincode.
64
- */
65
- /**
66
- * @typedef PincodeErrorSchemaResult
67
- * @property {string} [message] - A user-readable description of the error,
68
- * explaining what went wrong.
69
- * @property {string} [value] - A specific code or identifier related to the
70
- * error, used for referencing or categorizing the error.
71
- * @property {string} [type] - The classification of the error, indicating the
72
- * kind of issue.
73
- */
74
- /**
75
- * @typedef CountryMetaResult
76
- * @property {string} [country_code] - The ISO 3166-1 alpha-2 code representing
77
- * the country (e.g., "IN" for India, "US" for the United States).
78
- * @property {string} [isd_code] - The International Subscriber Dialing (ISD)
79
- * code, also known as the country dialing code, used for making international
80
- * phone calls to the country (e.g., "+91" for India, "+1" for the United States).
81
- */
82
- /**
83
- * @typedef PincodeLatLongData
84
- * @property {string} [type] - Specifies the type of geographical feature or
85
- * data, typically "Point" for coordinates in geographic data systems.
86
- * @property {string[]} [coordinates] - Contains the latitude and longitude
87
- * values representing the precise location. The format is usually an array
88
- * with two values: [longitude, latitude].
89
- */
90
- /**
91
- * @typedef PincodeDataResult
92
- * @property {PincodeParentsResult[]} [parents] - List of object representing a
93
- * collection of geographical locations, each associated with specific
94
- * hierarchical data such as cities, states, or countries.
95
- * @property {PincodeMetaResult} [meta]
96
- * @property {string} [display_name] - User-friendly version of the geographical
97
- * data, which may be more descriptive or formatted differently.
98
- * @property {PincodeErrorSchemaResult} error
99
- * @property {CountryMetaResult} [meta_code]
100
- * @property {PincodeLatLongData} [lat_long]
101
- * @property {string} [sub_type] - Indicates the specific type of locality
102
- * hierarchy the pincode belongs to (e.g., city, state, country).
103
- * @property {string} [name] - The actual geographical data, such as country
104
- * names (India), state names (Maharashtra), pin codes (400603), city names
105
- * (Dubai), or local sectors (Deira).
106
- * @property {string} [uid] - This field stands for "Unique Identifier," a
107
- * unique value assigned to each instance to ensure differentiation and reference.
108
- */
109
- /**
110
- * @typedef PincodeDetails
111
- * @property {boolean} success - Indicates whether the API request was
112
- * successful (true) or failed (false).
113
- * @property {PincodeDataResult[]} [data] - Contains the actual response data
114
- * when the request is successful, providing details like pincode information
115
- * or related data.
116
- * @property {PincodeErrorSchemaResult} error
117
- */
118
- /**
119
- * @typedef TATCategoryDetails
120
- * @property {string} [level] - Specifies the hierarchical level of the category
121
- * (e.g., country, state, city).
122
- * @property {number} [id] - Represents the unique identifier for the category
123
- * at the specified level.
124
- */
125
- /**
126
- * @typedef TATArticlesDetails
127
- * @property {TATCategoryDetails} [category]
128
- * @property {string} [manufacturing_time_unit] - The unit of measurement for
129
- * the manufacturing time, such as hours or days.
130
- * @property {number} [manufacturing_time] - The amount of time required to
131
- * manufacture the article, specified in the unit given by `manufacturing_time_unit`.
132
- */
133
- /**
134
- * @typedef TATLocationDetailsDetails
135
- * @property {number} [fulfillment_id] - A unique identifier of the fulfilling location.
136
- * @property {string} [from_pincode] - The postal code of the location from
137
- * which the fulfillment originates.
138
- * @property {TATArticlesDetails[]} [articles] - List of articles included in
139
- * the fulfillment request, which provides details about the items to be
140
- * processed or shipped.
141
- */
142
- /**
143
- * @typedef TATViewDetails
144
- * @property {string} [to_pincode] - The postal code of the destination location
145
- * where the fulfillment or shipment is headed.
146
- * @property {string} [source] - The origin or source of the request, indicating
147
- * where the data or action is coming from.
148
- * @property {string} [action] - The specific operation or request being made,
149
- * such as viewing, updating, or managing data.
150
- * @property {string} [identifier] - A unique ID used to reference or track the
151
- * specific request or item within the system.
152
- * @property {TATLocationDetailsDetails[]} [location_details] - Locations
153
- * involved in the request, including details about both the source and destination.
154
- * @property {string} [journey] - Indicates the direction of the request or
155
- * shipment. It can either be "forward" (from the source to the destination)
156
- * or "return" (from the destination back to the source).
157
- */
158
- /**
159
- * @typedef TATErrorSchemaResult
160
- * @property {string} [message] - A user-readable description of the error,
161
- * explaining what went wrong.
162
- * @property {string} [value] - A specific code or identifier related to the
163
- * error, used for referencing or categorizing the error.
164
- * @property {string} [type] - The classification of the error, indicating the
165
- * kind of issue.
166
- */
167
- /**
168
- * @typedef TATTimestampResult
169
- * @property {number} [min] - The earliest possible timestamp.
170
- * @property {number} [max] - The latest possible timestamp.
171
- */
172
- /**
173
- * @typedef TATFormattedResult
174
- * @property {string} [min] - The earliest possible timestamp.
175
- * @property {string} [max] - The latest possible timestamp.
176
- */
177
- /**
178
- * @typedef TATPromiseResult
179
- * @property {TATTimestampResult} [timestamp]
180
- * @property {TATFormattedResult} [formatted]
181
- */
182
- /**
183
- * @typedef TATArticlesResult
184
- * @property {string} [manufacturing_time_unit] - The unit of measurement for
185
- * the manufacturing time such as hours or days.
186
- * @property {TATErrorSchemaResult} [error]
187
- * @property {boolean} [is_cod_available] - Indicates whether Cash on Delivery
188
- * (COD) is available for the articles.
189
- * @property {TATPromiseResult} [promise]
190
- * @property {number} [manufacturing_time] - The time required to manufacture
191
- * the articles, measured in the unit specified by manufacturing_time_unit.
192
- * @property {TATCategoryDetails} [category]
193
- * @property {number} [_manufacturing_time_seconds] - The manufacturing time
194
- * converted into seconds.
195
- */
196
- /**
197
- * @typedef TATLocationDetailsResult
198
- * @property {number} [fulfillment_id] - A unique identifier of the fulfilling location.
199
- * @property {string} [from_pincode] - The postal code of the location from
200
- * which the fulfillment originates.
201
- * @property {TATArticlesResult[]} [articles] - List of articles included in the
202
- * fulfillment request, which provides details about the items to be processed
203
- * or shipped.
204
- */
205
- /**
206
- * @typedef TATViewResult
207
- * @property {string} [to_pincode] - The postal code of the destination location
208
- * where the fulfillment or shipment is headed.
209
- * @property {string} [request_uuid] - A unique identifier for the request.
210
- * @property {string} [payment_mode] - The mode of payment used for the transaction.
211
- * @property {boolean} [success] - Whether the request was successful (true/false).
212
- * @property {TATErrorSchemaResult} [error]
213
- * @property {boolean} [is_cod_available] - Whether Cash on Delivery (COD) is
214
- * available for the request.
215
- * @property {string} [source] - The origin or source of the request.
216
- * @property {string} [action] - The action performed or requested (e.g.,
217
- * forward, return).
218
- * @property {string} [stormbreaker_uuid] - A unique identifier related to the
219
- * stormbreaker process.
220
- * @property {string} [to_city] - The city corresponding to the destination pincode.
221
- * @property {string} [identifier] - A unique identifier for the request or transaction.
222
- * @property {TATLocationDetailsResult[]} [location_details] - Location involved
223
- * in the request.
224
- * @property {string} [journey] - Type of journey, either forward or return.
225
- */
226
- /**
227
- * @typedef DP
228
- * @property {number} fm_priority - First Mile Priority; focuses on the initial
229
- * segment of the logistics process, from the point of origin to the first
230
- * distribution center.
231
- * @property {number} lm_priority - Last Mile Priority; deals with the final
232
- * stage of the delivery process, where goods are delivered from the
233
- * distribution center to the final destination.
234
- * @property {number} rvp_priority - Reverse Pickup Priority; pertains to the
235
- * process of collecting goods from the customer for return or exchange.
236
- * @property {string} payment_mode - The method of payment used for
237
- * transactions, such as credit card, debit card, cash on delivery, etc.
238
- * @property {string[]} operations - Refers to the various activities and
239
- * processes involved in managing and executing the delivery and logistics operations.
240
- * @property {string} [area_code] - A code that identifies a specific geographic
241
- * area, often used for sorting and routing deliveries.
242
- * @property {boolean} [assign_dp_from_sb] - Indicates whether the delivery
243
- * partner (DP) is assigned from stormbreaker service.
244
- * @property {string} [internal_account_id] - An identifier used internally to
245
- * track accounts or entities within the organization's system.
246
- * @property {string} [external_account_id] - An identifier used to reference
247
- * accounts or entities outside the organization's system, such as partner accounts.
248
- * @property {string} [transport_mode] - The method of transportation used for
249
- * delivering goods, such as road, rail, air, or sea.
250
- */
251
- /**
252
- * @typedef LogisticsResult
253
- * @property {DP} [dp]
254
- */
255
- /**
256
- * @typedef CountryEntityResult
257
- * @property {CountryMetaResult} [meta]
258
- * @property {LogisticsResult} [logistics]
259
- * @property {string} [display_name] - User-friendly version of the geographical
260
- * data, which may be more descriptive or formatted differently.
261
- * @property {string} [type] - Specifies the type of geographical feature or
262
- * data, typically "Point" for coordinates in geographic data systems.
263
- * @property {boolean} [is_active] - Whether the country entity is currently
264
- * active or not.
265
- * @property {string} [parent_id] - Identifier for the parent of the current locality.
266
- * @property {string} [sub_type] - Specific type of locality hierarchy the
267
- * pincode belongs to (e.g., city, state, country).
268
- * @property {string} [name] - Country name.
269
- * @property {string} [uid] - Unique identifier for the country.
270
- */
271
- /**
272
- * @typedef CountryListResult
273
- * @property {CountryEntityResult[]} [results] - A list of country entities,
274
- * each containing details about individual countries.
275
- */
276
- /**
277
- * @typedef GetZoneFromPincodeViewDetails
278
- * @property {string} pincode - The postal code or ZIP code used to pinpoint a
279
- * specific geographic area or location.
280
- * @property {string} country - The country where the pincode is located.
281
- */
282
- /**
283
- * @typedef GetZoneFromPincodeViewResult
284
- * @property {string} serviceability_type - Specifies the type of serviceability
285
- * for the given pincode, indicating whether it's deliverable or serviceable
286
- * under certain conditions.
287
- * @property {string[]} zones - Lists the zones associated with the pincode,
288
- * detailing the geographical or logistical zones for service.
289
- */
290
- /**
291
- * @typedef ReAssignStoreDetails
292
- * @property {Object} configuration - Specifies the configuration settings or
293
- * parameters for the store reassignment.
294
- * @property {string} to_pincode - The postal code of the destination location
295
- * where the fulfillment or shipment is headed.
296
- * @property {number[]} ignored_locations - Locations that should be excluded
297
- * from the reassignment process.
298
- * @property {string} identifier - A unique identifier for the reassignment request.
299
- * @property {Object[]} articles - List of articles or items involved in the
300
- * store reassignment.
301
- */
302
- /**
303
- * @typedef ReAssignStoreResult
304
- * @property {string} to_pincode - The postal code of the destination location
305
- * where the fulfillment or shipment is headed.
306
- * @property {string} pystormbreaker_uuid - A unique identifier for tracking the
307
- * reassignment operation.
308
- * @property {boolean} success - Whether the reassignment was successful or not.
309
- * @property {Object} error - Details about any errors encountered during the
310
- * reassignment.
311
- * @property {Object[]} [assigned_stores] - List of stores that have been
312
- * successfully reassigned.
313
- */
314
- /**
315
- * @typedef CountryHierarchy
316
- * @property {string} [name] - It represent a country name.
317
- * @property {string} [slug] - A URL-friendly version of the name, often used
318
- * for referencing or querying purposes.
319
- */
320
- /**
321
- * @typedef CurrencyObject
322
- * @property {string} [code] - The currency code, typically a three-letter ISO
323
- * code (e.g., "USD" for US Dollar).
324
- * @property {string} [name] - It represent a country name.
325
- * @property {string} [symbol] - The symbol used to represent the currency
326
- * (e.g., "$" for US Dollar).
327
- */
328
- /**
329
- * @typedef CountryObject
330
- * @property {string} [id] - Unique identifier for the country.
331
- * @property {string} [name] - It represent a country name.
332
- * @property {string} [display_name] - User-friendly version of the geographical
333
- * data, which may be more descriptive or formatted differently.
334
- * @property {string} [iso2] - Two-letter ISO code representing the country.
335
- * @property {string} [iso3] - Three-letter ISO code representing the country.
336
- * @property {string[]} [timezones] - List of time zones used in the country
337
- * (e.g., ["America/New_York", "America/Los_Angeles"]).
338
- * @property {CountryHierarchy[]} [hierarchy] - Levels within the country (e.g.,
339
- * states, cities) and their slugs (e.g., [{"name": "State", "slug": "state"},
340
- * {"name": "City", "slug": "city"}]).
341
- * @property {string} [phone_code] - International dialing code for the country
342
- * (e.g., "+1").
343
- * @property {string} [latitude] - Geographical latitude of the country (e.g., "37.0902").
344
- * @property {string} [longitude] - Geographical longitude of the country (e.g.,
345
- * "-95.7129").
346
- * @property {CurrencyObject} [currency]
347
- * @property {string} [type] - Indicates the type of object (e.g., "country").
348
- */
349
- /**
350
- * @typedef GetCountries
351
- * @property {CountryObject[]} [items] - List of countries, each containing
352
- * detailed information about individual country.
353
- * @property {Page} [page]
354
- */
355
- /**
356
- * @typedef GetOneOrAllPath
357
- * @property {string} [locality_type] - Specifies the type of locality to be
358
- * retrieved, such as city, state, or pincode (e.g., "city", "state", "pincode").
359
- * @property {string} [locality_value] - The specific value of the locality
360
- * being queried, such as the name of the city or the pincode (e.g., "Mumbai",
361
- * "400093").
362
- */
363
- /**
364
- * @typedef GetOneOrAllQuery
365
- * @property {string} [country] - The name of the country to filter the results.
366
- * @property {string} [state] - The name of the state within the specified country.
367
- * @property {string} [city] - The name of the city within the specified state.
368
- * @property {string} [sector] - The name of the sector or area within the specified city.
369
- */
370
- /**
371
- * @typedef GetOneOrAllParams
372
- * @property {GetOneOrAllPath} [path]
373
- * @property {GetOneOrAllQuery} [query]
374
- */
375
- /**
376
- * @typedef GetOneOrAll
377
- * @property {string} [operation_id] - Identifier for the specific operation or
378
- * query being performed.
379
- * @property {GetOneOrAllParams} [params]
380
- */
381
- /**
382
- * @typedef LengthValidation
383
- * @property {number} [min] - The minimum number of characters or digits allowed.
384
- * @property {number} [max] - The maximum number of characters or digits allowed.
385
- */
386
- /**
387
- * @typedef FieldValidationRegex
388
- * @property {string} [value] - Regular expression pattern used to validate the field.
389
- * @property {LengthValidation} [length]
390
- */
391
- /**
392
- * @typedef FieldValidation
393
- * @property {string} [type] - Specifies the validation method, such as regex
394
- * for regular expression validation.
395
- * @property {FieldValidationRegex} [regex]
396
- */
397
- /**
398
- * @typedef GetCountryFieldsAddressValues
399
- * @property {GetOneOrAll} [get_one]
400
- * @property {GetOneOrAll} [get_all]
401
- */
402
- /**
403
- * @typedef GetCountryFieldsAddress
404
- * @property {string} display_name - User-friendly version of the geographical
405
- * data, which may be more descriptive or formatted differently.
406
- * @property {string} slug - URL-friendly version of the name, often used for
407
- * referencing or querying purposes.
408
- * @property {boolean} required - Indicates whether the field is mandatory for
409
- * the user to fill out.
410
- * @property {boolean} [edit] - Specifies if the field can be edited by the user.
411
- * @property {string} input - Defines the type of input control used for the
412
- * field (e.g., textbox).
413
- * @property {FieldValidation} [validation]
414
- * @property {GetCountryFieldsAddressValues} [values]
415
- * @property {string} [error_text] - The message shown to the user if the input
416
- * does not meet the validation criteria.
417
- */
418
- /**
419
- * @typedef GetCountryFieldsAddressTemplate
420
- * @property {string} checkout_form - The format used to display or collect
421
- * address information during checkout.
422
- * @property {string} store_os_form - The format used for address entry or
423
- * display in the store's operating system.
424
- * @property {string} default_display - The general format for displaying
425
- * address information.
426
- */
427
- /**
428
- * @typedef GetCountryFields
429
- * @property {GetCountryFieldsAddress[]} address - Specifies the fields and
430
- * attributes related to address information, including display names, input
431
- * types, and validation rules. This section defines the details needed for
432
- * address collection and formatting.
433
- * @property {string[]} serviceability_fields - Lists the specific address
434
- * fields used to determine whether a location is serviceable. These fields
435
- * are crucial for validating service coverage and availability.
436
- * @property {GetCountryFieldsAddressTemplate} address_template
437
- */
438
- /**
439
- * @typedef GetCountry
440
- * @property {string} [id] - Unique identifier for the country.
441
- * @property {string} [name] - It represent a country name.
442
- * @property {string} [display_name] - User-friendly version of the geographical
443
- * data, which may be more descriptive or formatted differently.
444
- * @property {string} [iso2] - Two-letter ISO code representing the country.
445
- * @property {string} [iso3] - Three-letter ISO code representing the country.
446
- * @property {string[]} [timezones] - List of time zones used in the country
447
- * (e.g., ["America/New_York", "America/Los_Angeles"]).
448
- * @property {CountryHierarchy[]} [hierarchy] - Levels within the country (e.g.,
449
- * states, cities) and their slugs (e.g., [{"name": "State", "slug": "state"},
450
- * {"name": "City", "slug": "city"}]).
451
- * @property {string} [phone_code] - International dialing code for the country
452
- * (e.g., "+1").
453
- * @property {string} [latitude] - Geographical latitude of the country (e.g., "37.0902").
454
- * @property {string} [longitude] - Geographical longitude of the country (e.g.,
455
- * "-95.7129").
456
- * @property {CurrencyObject} [currency]
457
- * @property {string} [type] - Indicates the type of object (e.g., "country").
458
- * @property {GetCountryFields} [fields]
459
- */
460
- /**
461
- * @typedef Page
462
- * @property {number} [item_total] - The total number of items on the page.
463
- * @property {string} [next_id] - The identifier for the next page.
464
- * @property {boolean} [has_previous] - Indicates whether there is a previous page.
465
- * @property {boolean} [has_next] - Indicates whether there is a next page.
466
- * @property {number} [current] - The current page number.
467
- * @property {string} type - The type of the page, such as 'PageType'.
468
- * @property {number} [size] - The number of items per page.
469
- */
470
- /**
471
- * @typedef Localities
472
- * @property {string} [id] - A unique identifier for the locality.
473
- * @property {string} [name] - The actual geographical data, such as country
474
- * names (India), state names (Maharashtra), pin codes (400603), city names
475
- * (Dubai), or local sectors (Deira).
476
- * @property {Object} [custom_meta] - Custom meta to store custom json against hierarchy.
477
- * @property {string} [display_name] - User-friendly version of the geographical
478
- * data, which may be more descriptive or formatted differently.
479
- * @property {string[]} [parent_ids] - Identifiers for the parent of the current locality.
480
- * @property {string} [type] - Specifies the category of the address component,
481
- * such as pincode, state, city, country, or sector.
482
- * @property {LocalityParent[]} [localities] - Representing the localities that
483
- * are associated with or contained within the current locality. It provides
484
- * detailed information about the parent localities, including their names,
485
- * identifiers, and hierarchical relationships.
486
- */
487
- /**
488
- * @typedef LocalityParent
489
- * @property {string} [id] - A unique identifier for the locality.
490
- * @property {string} [name] - The actual geographical data, such as country
491
- * names (India), state names (Maharashtra), pin codes (400603), city names
492
- * (Dubai), or local sectors (Deira).
493
- * @property {string} [display_name] - User-friendly version of the geographical
494
- * data, which may be more descriptive or formatted differently.
495
- * @property {string} [code] - Code assigned to a locality, which is unique to
496
- * its immediate parent.
497
- * @property {Object} [custom_meta] - Custom meta to store custom json against hierarchy.
498
- * @property {string[]} [parent_ids] - Identifiers for the parent of the current locality.
499
- * @property {string} [type] - Specifies the category of the address component,
500
- * such as pincode, state, city, country, or sector.
501
- */
502
- /**
503
- * @typedef GetLocalities
504
- * @property {Localities[]} [items] - List of localities, each containing
505
- * detailed information about individual locality.
506
- * @property {Page} [page]
507
- */
508
- /**
509
- * @typedef GetLocality
510
- * @property {string} [id] - A unique identifier for the locality.
511
- * @property {string} [name] - The actual geographical data, such as country
512
- * names (India), state names (Maharashtra), pin codes (400603), city names
513
- * (Dubai), or local sectors (Deira).
514
- * @property {string} [display_name] - User-friendly version of the geographical
515
- * data, which may be more descriptive or formatted differently.
516
- * @property {string} [code] - Code assigned to a locality, which is unique to
517
- * its immediate parent.
518
- * @property {Object} [custom_meta] - Custom meta to store custom json against hierarchy.
519
- * @property {string[]} [parent_ids] - Identifiers for the parent of the current locality.
520
- * @property {string} [type] - Specifies the category of the address component,
521
- * such as pincode, state, city, country, or sector.
522
- * @property {LocalityParent[]} [localities] - Representing the localities that
523
- * are associated with or contained within the current locality. It provides
524
- * detailed information about the parent localities, including their names,
525
- * identifiers, and hierarchical relationships.
526
- */
527
- /**
528
- * @typedef ShipmentsArticles
529
- * @property {number} [item_id] - Unique identifier of the item.
530
- * @property {number} [category_id] - Unique identifier of the category.
531
- * @property {number} [brand_id] - Unique identifier of the brand.
532
- * @property {number} [department_id] - Unique identifier of the department.
533
- * @property {string[]} [tags] - Tags associated with the item.
534
- */
535
- /**
536
- * @typedef ShipmentDimension
537
- * @property {number} height - Height of the shipment in centimeters.
538
- * @property {number} length - Length of the shipment in centimeters.
539
- * @property {number} width - Width of the shipment in centimeters.
540
- */
541
- /**
542
- * @typedef Shipments
543
- * @property {string} [id] - Unique identifier of the shipment.
544
- * @property {number} [location_id] - Unique identifier of the selling location.
545
- * @property {string[]} [location_tags] - Tags associated with the selling location.
546
- * @property {number} [shipment_weight] - Weight of the shipment.
547
- * @property {number} [shipment_volumetric_weight] - Volumetric weight of the shipment.
548
- * @property {number} [shipment_cost] - Total Cost of the shipment.
549
- * @property {ShipmentDimension} [shipment_dimension]
550
- * @property {string[]} [courier_partner_schemes] - A List of courier schemes.
551
- * @property {ShipmentsArticles[]} [articles] - List of articles in the shipment.
552
- */
553
- /**
554
- * @typedef ShipmentCourierPartnerDetails
555
- * @property {ShipmentsCourierPartnersServiceability} from_location
556
- * @property {ShipmentsCourierPartnersServiceability} to_location
557
- * @property {Shipments[]} [shipments] - List of shipments.
558
- * @property {string} [journey] - Journey type of the shipment forward or return.
559
- * @property {string} [payment_mode] - Payment mode opted for the shipment.
560
- */
561
- /**
562
- * @typedef CourierPartnerPromise
563
- * @property {string} min - The earliest possible timestamp.
564
- * @property {string} max - The latest possible timestamp.
565
- */
566
- /**
567
- * @typedef CourierPartners
568
- * @property {string} [extension_id] - Unique identifier of courier partner extension.
569
- * @property {string} [scheme_id] - Unique identifier of courier partner scheme.
570
- * @property {string} [name] - Name of the courier partner.
571
- * @property {CourierPartnerPromise} [delivery_promise]
572
- */
573
- /**
574
- * @typedef ShipmentCourierPartners
575
- * @property {string} [id] - Unique identifier of the shipment.
576
- * @property {CourierPartners[]} [courier_partners] - Courier partners of the shipment.
577
- */
578
- /**
579
- * @typedef ShipmentCourierPartnerResult
580
- * @property {CourierPartners[]} [courier_partners]
581
- * @property {ShipmentCourierPartners[]} [shipments]
582
- */
583
- /**
584
- * @typedef ShipmentsCourierPartnersServiceability
585
- * @property {string} [pincode] - Postal code or PIN code of the address area.
586
- * @property {string} [sector_code] - Specifies the sector or district code of
587
- * the address if applicable.
588
- * @property {string} [state_code] - Indicates the state or province code of the address.
589
- * @property {string} [city_code] - Denote the city or municipality code of the address.
590
- * @property {string} country_code - ISO2 code for the country of the address.
591
- */
592
- /**
593
- * @typedef ServiceabilityLocation
594
- * @property {string} longitude - Geographical longitude coordinate of the location.
595
- * @property {string} latitude - Geographical latitude coordinate of the location.
596
- */
597
- /**
598
- * @typedef GetPromiseDetails
599
- * @property {StorePromise[]} [items] - List of delivery promises for each store.
600
- * @property {Promise} [delivery_promise]
601
- * @property {Page} [page]
602
- */
603
- /**
604
- * @typedef StorePromise
605
- * @property {number} [uid] - Unique identifier of a store.
606
- * @property {string} [code] - Code assigned to a store.
607
- * @property {string} [name] - Name of a store.
608
- * @property {Promise} [delivery_promise]
609
- */
610
- /**
611
- * @typedef Promise
612
- * @property {string} [min] - Earliest delivery time.
613
- * @property {string} [max] - Latest delivery time.
614
- */
615
- /**
616
- * @typedef ErrorResult
617
- * @property {string} [error] - Error code identifying the type of error.
618
- * @property {string} [message] - User-friendly explanation of what went wrong.
619
- */
620
- /**
621
- * @typedef ValidationError
622
- * @property {string} message - A brief description of the error encountered.
623
- * @property {string} field - The field in the request that caused the error.
624
- */
625
- /**
626
- * @typedef StandardError
627
- * @property {string} message - A brief description of the error.
628
- */
629
- declare class LogisticApplicationModel {
630
- }
631
- declare namespace LogisticApplicationModel {
632
- export { GetStoreResult, StoreItemResult, ValidateAddressDetails, PincodeParentsResult, PincodeMetaResult, PincodeErrorSchemaResult, CountryMetaResult, PincodeLatLongData, PincodeDataResult, PincodeDetails, TATCategoryDetails, TATArticlesDetails, TATLocationDetailsDetails, TATViewDetails, TATErrorSchemaResult, TATTimestampResult, TATFormattedResult, TATPromiseResult, TATArticlesResult, TATLocationDetailsResult, TATViewResult, DP, LogisticsResult, CountryEntityResult, CountryListResult, GetZoneFromPincodeViewDetails, GetZoneFromPincodeViewResult, ReAssignStoreDetails, ReAssignStoreResult, CountryHierarchy, CurrencyObject, CountryObject, GetCountries, GetOneOrAllPath, GetOneOrAllQuery, GetOneOrAllParams, GetOneOrAll, LengthValidation, FieldValidationRegex, FieldValidation, GetCountryFieldsAddressValues, GetCountryFieldsAddress, GetCountryFieldsAddressTemplate, GetCountryFields, GetCountry, Page, Localities, LocalityParent, GetLocalities, GetLocality, ShipmentsArticles, ShipmentDimension, Shipments, ShipmentCourierPartnerDetails, CourierPartnerPromise, CourierPartners, ShipmentCourierPartners, ShipmentCourierPartnerResult, ShipmentsCourierPartnersServiceability, ServiceabilityLocation, GetPromiseDetails, StorePromise, Promise, ErrorResult, ValidationError, StandardError };
633
- }
634
- /** @returns {GetStoreResult} */
635
- declare function GetStoreResult(): GetStoreResult;
636
- type GetStoreResult = {
637
- /**
638
- * - List of locations, each containing
639
- * detailed information about individual location.
640
- */
641
- items?: StoreItemResult[];
642
- page?: Page;
643
- };
644
- /** @returns {StoreItemResult} */
645
- declare function StoreItemResult(): StoreItemResult;
646
- type StoreItemResult = {
647
- /**
648
- * - A unique identifier for the location.
649
- */
650
- id?: number;
651
- /**
652
- * - The type of store, indicating the nature of
653
- * the store, such as retail or warehouse.
654
- */
655
- store_type?: string;
656
- /**
657
- * - The method of fulfillment used by the
658
- * store, such as shipping, pickup, or delivery.
659
- */
660
- fulfillment_type?: string;
661
- /**
662
- * - The average time taken by the store to
663
- * process orders, measured in minutes.
664
- */
665
- processing_time?: number;
666
- /**
667
- * - List of tags associated with the store for
668
- * categorization and search purposes.
669
- */
670
- tags?: string[];
671
- /**
672
- * - The unique identifier of the company that
673
- * owns the store.
674
- */
675
- company_id?: number;
676
- /**
677
- * - The geographical latitude coordinate of the
678
- * store location.
679
- */
680
- latitude?: number;
681
- /**
682
- * - The geographical longitude coordinate of the
683
- * store location.
684
- */
685
- longitude?: number;
686
- };
687
- /** @returns {ValidateAddressDetails} */
688
- declare function ValidateAddressDetails(): ValidateAddressDetails;
689
- type ValidateAddressDetails = {
690
- /**
691
- * - Complete address, combining address line 1,
692
- * address line 2, area, landmark, sector, city, state, and pincode.
693
- */
694
- address?: string;
695
- /**
696
- * - First line of the address, typically
697
- * containing street or building information.
698
- */
699
- address1?: string;
700
- /**
701
- * - Second line of the address, which can be used
702
- * for additional address details if needed.
703
- */
704
- address2?: string;
705
- /**
706
- * - Locality or area associated with the address.
707
- */
708
- area?: string;
709
- /**
710
- * - Prominent nearby landmark that aids in
711
- * locating the address.
712
- */
713
- landmark?: string;
714
- /**
715
- * - Postal code or PIN code of the address area.
716
- */
717
- pincode?: string;
718
- /**
719
- * - Specifies the sector or district of the address
720
- * if applicable.
721
- */
722
- sector?: string;
723
- /**
724
- * - Denote the city or municipality of the address.
725
- */
726
- city?: string;
727
- /**
728
- * - Indicates the state or province of the address.
729
- */
730
- state?: string;
731
- /**
732
- * - Recipient's name associated with the address.
733
- */
734
- name?: string;
735
- /**
736
- * - Recipient's contact phone number.
737
- */
738
- phone?: string;
739
- /**
740
- * - Recipient's email address.
741
- */
742
- email?: string;
743
- };
744
- /** @returns {PincodeParentsResult} */
745
- declare function PincodeParentsResult(): PincodeParentsResult;
746
- type PincodeParentsResult = {
747
- /**
748
- * - Specific type of locality hierarchy the
749
- * pincode belongs to (e.g., city, state, country).
750
- */
751
- sub_type?: string;
752
- /**
753
- * - User-friendly version of the geographical
754
- * data, which may be more descriptive or formatted differently.
755
- */
756
- display_name?: string;
757
- /**
758
- * - The actual geographical data, such as country
759
- * names (India), state names (Maharashtra), pin codes (400603), city names
760
- * (Dubai), or local sectors (Deira).
761
- */
762
- name?: string;
763
- /**
764
- * - Unique identifier for the locality.
765
- */
766
- uid?: string;
767
- };
768
- /** @returns {PincodeMetaResult} */
769
- declare function PincodeMetaResult(): PincodeMetaResult;
770
- type PincodeMetaResult = {
771
- /**
772
- * - Geographical region to which the pincode belongs,
773
- * often used to categorize or group pincodes for regional management or
774
- * postal purposes.
775
- */
776
- zone?: string;
777
- /**
778
- * - A unique identifier used within the
779
- * system to track or reference the specific zone associated with the pincode.
780
- */
781
- internal_zone_id?: number;
782
- };
783
- /** @returns {PincodeErrorSchemaResult} */
784
- declare function PincodeErrorSchemaResult(): PincodeErrorSchemaResult;
785
- type PincodeErrorSchemaResult = {
786
- /**
787
- * - A user-readable description of the error,
788
- * explaining what went wrong.
789
- */
790
- message?: string;
791
- /**
792
- * - A specific code or identifier related to the
793
- * error, used for referencing or categorizing the error.
794
- */
795
- value?: string;
796
- /**
797
- * - The classification of the error, indicating the
798
- * kind of issue.
799
- */
800
- type?: string;
801
- };
802
- /** @returns {CountryMetaResult} */
803
- declare function CountryMetaResult(): CountryMetaResult;
804
- type CountryMetaResult = {
805
- /**
806
- * - The ISO 3166-1 alpha-2 code representing
807
- * the country (e.g., "IN" for India, "US" for the United States).
808
- */
809
- country_code?: string;
810
- /**
811
- * - The International Subscriber Dialing (ISD)
812
- * code, also known as the country dialing code, used for making international
813
- * phone calls to the country (e.g., "+91" for India, "+1" for the United States).
814
- */
815
- isd_code?: string;
816
- };
817
- /** @returns {PincodeLatLongData} */
818
- declare function PincodeLatLongData(): PincodeLatLongData;
819
- type PincodeLatLongData = {
820
- /**
821
- * - Specifies the type of geographical feature or
822
- * data, typically "Point" for coordinates in geographic data systems.
823
- */
824
- type?: string;
825
- /**
826
- * - Contains the latitude and longitude
827
- * values representing the precise location. The format is usually an array
828
- * with two values: [longitude, latitude].
829
- */
830
- coordinates?: string[];
831
- };
832
- /** @returns {PincodeDataResult} */
833
- declare function PincodeDataResult(): PincodeDataResult;
834
- type PincodeDataResult = {
835
- /**
836
- * - List of object representing a
837
- * collection of geographical locations, each associated with specific
838
- * hierarchical data such as cities, states, or countries.
839
- */
840
- parents?: PincodeParentsResult[];
841
- meta?: PincodeMetaResult;
842
- /**
843
- * - User-friendly version of the geographical
844
- * data, which may be more descriptive or formatted differently.
845
- */
846
- display_name?: string;
847
- error: PincodeErrorSchemaResult;
848
- meta_code?: CountryMetaResult;
849
- lat_long?: PincodeLatLongData;
850
- /**
851
- * - Indicates the specific type of locality
852
- * hierarchy the pincode belongs to (e.g., city, state, country).
853
- */
854
- sub_type?: string;
855
- /**
856
- * - The actual geographical data, such as country
857
- * names (India), state names (Maharashtra), pin codes (400603), city names
858
- * (Dubai), or local sectors (Deira).
859
- */
860
- name?: string;
861
- /**
862
- * - This field stands for "Unique Identifier," a
863
- * unique value assigned to each instance to ensure differentiation and reference.
864
- */
865
- uid?: string;
866
- };
867
- /** @returns {PincodeDetails} */
868
- declare function PincodeDetails(): PincodeDetails;
869
- type PincodeDetails = {
870
- /**
871
- * - Indicates whether the API request was
872
- * successful (true) or failed (false).
873
- */
874
- success: boolean;
875
- /**
876
- * - Contains the actual response data
877
- * when the request is successful, providing details like pincode information
878
- * or related data.
879
- */
880
- data?: PincodeDataResult[];
881
- error: PincodeErrorSchemaResult;
882
- };
883
- /** @returns {TATCategoryDetails} */
884
- declare function TATCategoryDetails(): TATCategoryDetails;
885
- type TATCategoryDetails = {
886
- /**
887
- * - Specifies the hierarchical level of the category
888
- * (e.g., country, state, city).
889
- */
890
- level?: string;
891
- /**
892
- * - Represents the unique identifier for the category
893
- * at the specified level.
894
- */
895
- id?: number;
896
- };
897
- /** @returns {TATArticlesDetails} */
898
- declare function TATArticlesDetails(): TATArticlesDetails;
899
- type TATArticlesDetails = {
900
- category?: TATCategoryDetails;
901
- /**
902
- * - The unit of measurement for
903
- * the manufacturing time, such as hours or days.
904
- */
905
- manufacturing_time_unit?: string;
906
- /**
907
- * - The amount of time required to
908
- * manufacture the article, specified in the unit given by `manufacturing_time_unit`.
909
- */
910
- manufacturing_time?: number;
911
- };
912
- /** @returns {TATLocationDetailsDetails} */
913
- declare function TATLocationDetailsDetails(): TATLocationDetailsDetails;
914
- type TATLocationDetailsDetails = {
915
- /**
916
- * - A unique identifier of the fulfilling location.
917
- */
918
- fulfillment_id?: number;
919
- /**
920
- * - The postal code of the location from
921
- * which the fulfillment originates.
922
- */
923
- from_pincode?: string;
924
- /**
925
- * - List of articles included in
926
- * the fulfillment request, which provides details about the items to be
927
- * processed or shipped.
928
- */
929
- articles?: TATArticlesDetails[];
930
- };
931
- /** @returns {TATViewDetails} */
932
- declare function TATViewDetails(): TATViewDetails;
933
- type TATViewDetails = {
934
- /**
935
- * - The postal code of the destination location
936
- * where the fulfillment or shipment is headed.
937
- */
938
- to_pincode?: string;
939
- /**
940
- * - The origin or source of the request, indicating
941
- * where the data or action is coming from.
942
- */
943
- source?: string;
944
- /**
945
- * - The specific operation or request being made,
946
- * such as viewing, updating, or managing data.
947
- */
948
- action?: string;
949
- /**
950
- * - A unique ID used to reference or track the
951
- * specific request or item within the system.
952
- */
953
- identifier?: string;
954
- /**
955
- * - Locations
956
- * involved in the request, including details about both the source and destination.
957
- */
958
- location_details?: TATLocationDetailsDetails[];
959
- /**
960
- * - Indicates the direction of the request or
961
- * shipment. It can either be "forward" (from the source to the destination)
962
- * or "return" (from the destination back to the source).
963
- */
964
- journey?: string;
965
- };
966
- /** @returns {TATErrorSchemaResult} */
967
- declare function TATErrorSchemaResult(): TATErrorSchemaResult;
968
- type TATErrorSchemaResult = {
969
- /**
970
- * - A user-readable description of the error,
971
- * explaining what went wrong.
972
- */
973
- message?: string;
974
- /**
975
- * - A specific code or identifier related to the
976
- * error, used for referencing or categorizing the error.
977
- */
978
- value?: string;
979
- /**
980
- * - The classification of the error, indicating the
981
- * kind of issue.
982
- */
983
- type?: string;
984
- };
985
- /** @returns {TATTimestampResult} */
986
- declare function TATTimestampResult(): TATTimestampResult;
987
- type TATTimestampResult = {
988
- /**
989
- * - The earliest possible timestamp.
990
- */
991
- min?: number;
992
- /**
993
- * - The latest possible timestamp.
994
- */
995
- max?: number;
996
- };
997
- /** @returns {TATFormattedResult} */
998
- declare function TATFormattedResult(): TATFormattedResult;
999
- type TATFormattedResult = {
1000
- /**
1001
- * - The earliest possible timestamp.
1002
- */
1003
- min?: string;
1004
- /**
1005
- * - The latest possible timestamp.
1006
- */
1007
- max?: string;
1008
- };
1009
- /** @returns {TATPromiseResult} */
1010
- declare function TATPromiseResult(): TATPromiseResult;
1011
- type TATPromiseResult = {
1012
- timestamp?: TATTimestampResult;
1013
- formatted?: TATFormattedResult;
1014
- };
1015
- /** @returns {TATArticlesResult} */
1016
- declare function TATArticlesResult(): TATArticlesResult;
1017
- type TATArticlesResult = {
1018
- /**
1019
- * - The unit of measurement for
1020
- * the manufacturing time such as hours or days.
1021
- */
1022
- manufacturing_time_unit?: string;
1023
- error?: TATErrorSchemaResult;
1024
- /**
1025
- * - Indicates whether Cash on Delivery
1026
- * (COD) is available for the articles.
1027
- */
1028
- is_cod_available?: boolean;
1029
- promise?: TATPromiseResult;
1030
- /**
1031
- * - The time required to manufacture
1032
- * the articles, measured in the unit specified by manufacturing_time_unit.
1033
- */
1034
- manufacturing_time?: number;
1035
- category?: TATCategoryDetails;
1036
- /**
1037
- * - The manufacturing time
1038
- * converted into seconds.
1039
- */
1040
- _manufacturing_time_seconds?: number;
1041
- };
1042
- /** @returns {TATLocationDetailsResult} */
1043
- declare function TATLocationDetailsResult(): TATLocationDetailsResult;
1044
- type TATLocationDetailsResult = {
1045
- /**
1046
- * - A unique identifier of the fulfilling location.
1047
- */
1048
- fulfillment_id?: number;
1049
- /**
1050
- * - The postal code of the location from
1051
- * which the fulfillment originates.
1052
- */
1053
- from_pincode?: string;
1054
- /**
1055
- * - List of articles included in the
1056
- * fulfillment request, which provides details about the items to be processed
1057
- * or shipped.
1058
- */
1059
- articles?: TATArticlesResult[];
1060
- };
1061
- /** @returns {TATViewResult} */
1062
- declare function TATViewResult(): TATViewResult;
1063
- type TATViewResult = {
1064
- /**
1065
- * - The postal code of the destination location
1066
- * where the fulfillment or shipment is headed.
1067
- */
1068
- to_pincode?: string;
1069
- /**
1070
- * - A unique identifier for the request.
1071
- */
1072
- request_uuid?: string;
1073
- /**
1074
- * - The mode of payment used for the transaction.
1075
- */
1076
- payment_mode?: string;
1077
- /**
1078
- * - Whether the request was successful (true/false).
1079
- */
1080
- success?: boolean;
1081
- error?: TATErrorSchemaResult;
1082
- /**
1083
- * - Whether Cash on Delivery (COD) is
1084
- * available for the request.
1085
- */
1086
- is_cod_available?: boolean;
1087
- /**
1088
- * - The origin or source of the request.
1089
- */
1090
- source?: string;
1091
- /**
1092
- * - The action performed or requested (e.g.,
1093
- * forward, return).
1094
- */
1095
- action?: string;
1096
- /**
1097
- * - A unique identifier related to the
1098
- * stormbreaker process.
1099
- */
1100
- stormbreaker_uuid?: string;
1101
- /**
1102
- * - The city corresponding to the destination pincode.
1103
- */
1104
- to_city?: string;
1105
- /**
1106
- * - A unique identifier for the request or transaction.
1107
- */
1108
- identifier?: string;
1109
- /**
1110
- * - Location involved
1111
- * in the request.
1112
- */
1113
- location_details?: TATLocationDetailsResult[];
1114
- /**
1115
- * - Type of journey, either forward or return.
1116
- */
1117
- journey?: string;
1118
- };
1119
- /** @returns {DP} */
1120
- declare function DP(): DP;
1121
- type DP = {
1122
- /**
1123
- * - First Mile Priority; focuses on the initial
1124
- * segment of the logistics process, from the point of origin to the first
1125
- * distribution center.
1126
- */
1127
- fm_priority: number;
1128
- /**
1129
- * - Last Mile Priority; deals with the final
1130
- * stage of the delivery process, where goods are delivered from the
1131
- * distribution center to the final destination.
1132
- */
1133
- lm_priority: number;
1134
- /**
1135
- * - Reverse Pickup Priority; pertains to the
1136
- * process of collecting goods from the customer for return or exchange.
1137
- */
1138
- rvp_priority: number;
1139
- /**
1140
- * - The method of payment used for
1141
- * transactions, such as credit card, debit card, cash on delivery, etc.
1142
- */
1143
- payment_mode: string;
1144
- /**
1145
- * - Refers to the various activities and
1146
- * processes involved in managing and executing the delivery and logistics operations.
1147
- */
1148
- operations: string[];
1149
- /**
1150
- * - A code that identifies a specific geographic
1151
- * area, often used for sorting and routing deliveries.
1152
- */
1153
- area_code?: string;
1154
- /**
1155
- * - Indicates whether the delivery
1156
- * partner (DP) is assigned from stormbreaker service.
1157
- */
1158
- assign_dp_from_sb?: boolean;
1159
- /**
1160
- * - An identifier used internally to
1161
- * track accounts or entities within the organization's system.
1162
- */
1163
- internal_account_id?: string;
1164
- /**
1165
- * - An identifier used to reference
1166
- * accounts or entities outside the organization's system, such as partner accounts.
1167
- */
1168
- external_account_id?: string;
1169
- /**
1170
- * - The method of transportation used for
1171
- * delivering goods, such as road, rail, air, or sea.
1172
- */
1173
- transport_mode?: string;
1174
- };
1175
- /** @returns {LogisticsResult} */
1176
- declare function LogisticsResult(): LogisticsResult;
1177
- type LogisticsResult = {
1178
- dp?: DP;
1179
- };
1180
- /** @returns {CountryEntityResult} */
1181
- declare function CountryEntityResult(): CountryEntityResult;
1182
- type CountryEntityResult = {
1183
- meta?: CountryMetaResult;
1184
- logistics?: LogisticsResult;
1185
- /**
1186
- * - User-friendly version of the geographical
1187
- * data, which may be more descriptive or formatted differently.
1188
- */
1189
- display_name?: string;
1190
- /**
1191
- * - Specifies the type of geographical feature or
1192
- * data, typically "Point" for coordinates in geographic data systems.
1193
- */
1194
- type?: string;
1195
- /**
1196
- * - Whether the country entity is currently
1197
- * active or not.
1198
- */
1199
- is_active?: boolean;
1200
- /**
1201
- * - Identifier for the parent of the current locality.
1202
- */
1203
- parent_id?: string;
1204
- /**
1205
- * - Specific type of locality hierarchy the
1206
- * pincode belongs to (e.g., city, state, country).
1207
- */
1208
- sub_type?: string;
1209
- /**
1210
- * - Country name.
1211
- */
1212
- name?: string;
1213
- /**
1214
- * - Unique identifier for the country.
1215
- */
1216
- uid?: string;
1217
- };
1218
- /** @returns {CountryListResult} */
1219
- declare function CountryListResult(): CountryListResult;
1220
- type CountryListResult = {
1221
- /**
1222
- * - A list of country entities,
1223
- * each containing details about individual countries.
1224
- */
1225
- results?: CountryEntityResult[];
1226
- };
1227
- /** @returns {GetZoneFromPincodeViewDetails} */
1228
- declare function GetZoneFromPincodeViewDetails(): GetZoneFromPincodeViewDetails;
1229
- type GetZoneFromPincodeViewDetails = {
1230
- /**
1231
- * - The postal code or ZIP code used to pinpoint a
1232
- * specific geographic area or location.
1233
- */
1234
- pincode: string;
1235
- /**
1236
- * - The country where the pincode is located.
1237
- */
1238
- country: string;
1239
- };
1240
- /** @returns {GetZoneFromPincodeViewResult} */
1241
- declare function GetZoneFromPincodeViewResult(): GetZoneFromPincodeViewResult;
1242
- type GetZoneFromPincodeViewResult = {
1243
- /**
1244
- * - Specifies the type of serviceability
1245
- * for the given pincode, indicating whether it's deliverable or serviceable
1246
- * under certain conditions.
1247
- */
1248
- serviceability_type: string;
1249
- /**
1250
- * - Lists the zones associated with the pincode,
1251
- * detailing the geographical or logistical zones for service.
1252
- */
1253
- zones: string[];
1254
- };
1255
- /** @returns {ReAssignStoreDetails} */
1256
- declare function ReAssignStoreDetails(): ReAssignStoreDetails;
1257
- type ReAssignStoreDetails = {
1258
- /**
1259
- * - Specifies the configuration settings or
1260
- * parameters for the store reassignment.
1261
- */
1262
- configuration: any;
1263
- /**
1264
- * - The postal code of the destination location
1265
- * where the fulfillment or shipment is headed.
1266
- */
1267
- to_pincode: string;
1268
- /**
1269
- * - Locations that should be excluded
1270
- * from the reassignment process.
1271
- */
1272
- ignored_locations: number[];
1273
- /**
1274
- * - A unique identifier for the reassignment request.
1275
- */
1276
- identifier: string;
1277
- /**
1278
- * - List of articles or items involved in the
1279
- * store reassignment.
1280
- */
1281
- articles: any[];
1282
- };
1283
- /** @returns {ReAssignStoreResult} */
1284
- declare function ReAssignStoreResult(): ReAssignStoreResult;
1285
- type ReAssignStoreResult = {
1286
- /**
1287
- * - The postal code of the destination location
1288
- * where the fulfillment or shipment is headed.
1289
- */
1290
- to_pincode: string;
1291
- /**
1292
- * - A unique identifier for tracking the
1293
- * reassignment operation.
1294
- */
1295
- pystormbreaker_uuid: string;
1296
- /**
1297
- * - Whether the reassignment was successful or not.
1298
- */
1299
- success: boolean;
1300
- /**
1301
- * - Details about any errors encountered during the
1302
- * reassignment.
1303
- */
1304
- error: any;
1305
- /**
1306
- * - List of stores that have been
1307
- * successfully reassigned.
1308
- */
1309
- assigned_stores?: any[];
1310
- };
1311
- /** @returns {CountryHierarchy} */
1312
- declare function CountryHierarchy(): CountryHierarchy;
1313
- type CountryHierarchy = {
1314
- /**
1315
- * - It represent a country name.
1316
- */
1317
- name?: string;
1318
- /**
1319
- * - A URL-friendly version of the name, often used
1320
- * for referencing or querying purposes.
1321
- */
1322
- slug?: string;
1323
- };
1324
- /** @returns {CurrencyObject} */
1325
- declare function CurrencyObject(): CurrencyObject;
1326
- type CurrencyObject = {
1327
- /**
1328
- * - The currency code, typically a three-letter ISO
1329
- * code (e.g., "USD" for US Dollar).
1330
- */
1331
- code?: string;
1332
- /**
1333
- * - It represent a country name.
1334
- */
1335
- name?: string;
1336
- /**
1337
- * - The symbol used to represent the currency
1338
- * (e.g., "$" for US Dollar).
1339
- */
1340
- symbol?: string;
1341
- };
1342
- /** @returns {CountryObject} */
1343
- declare function CountryObject(): CountryObject;
1344
- type CountryObject = {
1345
- /**
1346
- * - Unique identifier for the country.
1347
- */
1348
- id?: string;
1349
- /**
1350
- * - It represent a country name.
1351
- */
1352
- name?: string;
1353
- /**
1354
- * - User-friendly version of the geographical
1355
- * data, which may be more descriptive or formatted differently.
1356
- */
1357
- display_name?: string;
1358
- /**
1359
- * - Two-letter ISO code representing the country.
1360
- */
1361
- iso2?: string;
1362
- /**
1363
- * - Three-letter ISO code representing the country.
1364
- */
1365
- iso3?: string;
1366
- /**
1367
- * - List of time zones used in the country
1368
- * (e.g., ["America/New_York", "America/Los_Angeles"]).
1369
- */
1370
- timezones?: string[];
1371
- /**
1372
- * - Levels within the country (e.g.,
1373
- * states, cities) and their slugs (e.g., [{"name": "State", "slug": "state"},
1374
- * {"name": "City", "slug": "city"}]).
1375
- */
1376
- hierarchy?: CountryHierarchy[];
1377
- /**
1378
- * - International dialing code for the country
1379
- * (e.g., "+1").
1380
- */
1381
- phone_code?: string;
1382
- /**
1383
- * - Geographical latitude of the country (e.g., "37.0902").
1384
- */
1385
- latitude?: string;
1386
- /**
1387
- * - Geographical longitude of the country (e.g.,
1388
- * "-95.7129").
1389
- */
1390
- longitude?: string;
1391
- currency?: CurrencyObject;
1392
- /**
1393
- * - Indicates the type of object (e.g., "country").
1394
- */
1395
- type?: string;
1396
- };
1397
- /** @returns {GetCountries} */
1398
- declare function GetCountries(): GetCountries;
1399
- type GetCountries = {
1400
- /**
1401
- * - List of countries, each containing
1402
- * detailed information about individual country.
1403
- */
1404
- items?: CountryObject[];
1405
- page?: Page;
1406
- };
1407
- /** @returns {GetOneOrAllPath} */
1408
- declare function GetOneOrAllPath(): GetOneOrAllPath;
1409
- type GetOneOrAllPath = {
1410
- /**
1411
- * - Specifies the type of locality to be
1412
- * retrieved, such as city, state, or pincode (e.g., "city", "state", "pincode").
1413
- */
1414
- locality_type?: string;
1415
- /**
1416
- * - The specific value of the locality
1417
- * being queried, such as the name of the city or the pincode (e.g., "Mumbai",
1418
- * "400093").
1419
- */
1420
- locality_value?: string;
1421
- };
1422
- /** @returns {GetOneOrAllQuery} */
1423
- declare function GetOneOrAllQuery(): GetOneOrAllQuery;
1424
- type GetOneOrAllQuery = {
1425
- /**
1426
- * - The name of the country to filter the results.
1427
- */
1428
- country?: string;
1429
- /**
1430
- * - The name of the state within the specified country.
1431
- */
1432
- state?: string;
1433
- /**
1434
- * - The name of the city within the specified state.
1435
- */
1436
- city?: string;
1437
- /**
1438
- * - The name of the sector or area within the specified city.
1439
- */
1440
- sector?: string;
1441
- };
1442
- /** @returns {GetOneOrAllParams} */
1443
- declare function GetOneOrAllParams(): GetOneOrAllParams;
1444
- type GetOneOrAllParams = {
1445
- path?: GetOneOrAllPath;
1446
- query?: GetOneOrAllQuery;
1447
- };
1448
- /** @returns {GetOneOrAll} */
1449
- declare function GetOneOrAll(): GetOneOrAll;
1450
- type GetOneOrAll = {
1451
- /**
1452
- * - Identifier for the specific operation or
1453
- * query being performed.
1454
- */
1455
- operation_id?: string;
1456
- params?: GetOneOrAllParams;
1457
- };
1458
- /** @returns {LengthValidation} */
1459
- declare function LengthValidation(): LengthValidation;
1460
- type LengthValidation = {
1461
- /**
1462
- * - The minimum number of characters or digits allowed.
1463
- */
1464
- min?: number;
1465
- /**
1466
- * - The maximum number of characters or digits allowed.
1467
- */
1468
- max?: number;
1469
- };
1470
- /** @returns {FieldValidationRegex} */
1471
- declare function FieldValidationRegex(): FieldValidationRegex;
1472
- type FieldValidationRegex = {
1473
- /**
1474
- * - Regular expression pattern used to validate the field.
1475
- */
1476
- value?: string;
1477
- length?: LengthValidation;
1478
- };
1479
- /** @returns {FieldValidation} */
1480
- declare function FieldValidation(): FieldValidation;
1481
- type FieldValidation = {
1482
- /**
1483
- * - Specifies the validation method, such as regex
1484
- * for regular expression validation.
1485
- */
1486
- type?: string;
1487
- regex?: FieldValidationRegex;
1488
- };
1489
- /** @returns {GetCountryFieldsAddressValues} */
1490
- declare function GetCountryFieldsAddressValues(): GetCountryFieldsAddressValues;
1491
- type GetCountryFieldsAddressValues = {
1492
- get_one?: GetOneOrAll;
1493
- get_all?: GetOneOrAll;
1494
- };
1495
- /** @returns {GetCountryFieldsAddress} */
1496
- declare function GetCountryFieldsAddress(): GetCountryFieldsAddress;
1497
- type GetCountryFieldsAddress = {
1498
- /**
1499
- * - User-friendly version of the geographical
1500
- * data, which may be more descriptive or formatted differently.
1501
- */
1502
- display_name: string;
1503
- /**
1504
- * - URL-friendly version of the name, often used for
1505
- * referencing or querying purposes.
1506
- */
1507
- slug: string;
1508
- /**
1509
- * - Indicates whether the field is mandatory for
1510
- * the user to fill out.
1511
- */
1512
- required: boolean;
1513
- /**
1514
- * - Specifies if the field can be edited by the user.
1515
- */
1516
- edit?: boolean;
1517
- /**
1518
- * - Defines the type of input control used for the
1519
- * field (e.g., textbox).
1520
- */
1521
- input: string;
1522
- validation?: FieldValidation;
1523
- values?: GetCountryFieldsAddressValues;
1524
- /**
1525
- * - The message shown to the user if the input
1526
- * does not meet the validation criteria.
1527
- */
1528
- error_text?: string;
1529
- };
1530
- /** @returns {GetCountryFieldsAddressTemplate} */
1531
- declare function GetCountryFieldsAddressTemplate(): GetCountryFieldsAddressTemplate;
1532
- type GetCountryFieldsAddressTemplate = {
1533
- /**
1534
- * - The format used to display or collect
1535
- * address information during checkout.
1536
- */
1537
- checkout_form: string;
1538
- /**
1539
- * - The format used for address entry or
1540
- * display in the store's operating system.
1541
- */
1542
- store_os_form: string;
1543
- /**
1544
- * - The general format for displaying
1545
- * address information.
1546
- */
1547
- default_display: string;
1548
- };
1549
- /** @returns {GetCountryFields} */
1550
- declare function GetCountryFields(): GetCountryFields;
1551
- type GetCountryFields = {
1552
- /**
1553
- * - Specifies the fields and
1554
- * attributes related to address information, including display names, input
1555
- * types, and validation rules. This section defines the details needed for
1556
- * address collection and formatting.
1557
- */
1558
- address: GetCountryFieldsAddress[];
1559
- /**
1560
- * - Lists the specific address
1561
- * fields used to determine whether a location is serviceable. These fields
1562
- * are crucial for validating service coverage and availability.
1563
- */
1564
- serviceability_fields: string[];
1565
- address_template: GetCountryFieldsAddressTemplate;
1566
- };
1567
- /** @returns {GetCountry} */
1568
- declare function GetCountry(): GetCountry;
1569
- type GetCountry = {
1570
- /**
1571
- * - Unique identifier for the country.
1572
- */
1573
- id?: string;
1574
- /**
1575
- * - It represent a country name.
1576
- */
1577
- name?: string;
1578
- /**
1579
- * - User-friendly version of the geographical
1580
- * data, which may be more descriptive or formatted differently.
1581
- */
1582
- display_name?: string;
1583
- /**
1584
- * - Two-letter ISO code representing the country.
1585
- */
1586
- iso2?: string;
1587
- /**
1588
- * - Three-letter ISO code representing the country.
1589
- */
1590
- iso3?: string;
1591
- /**
1592
- * - List of time zones used in the country
1593
- * (e.g., ["America/New_York", "America/Los_Angeles"]).
1594
- */
1595
- timezones?: string[];
1596
- /**
1597
- * - Levels within the country (e.g.,
1598
- * states, cities) and their slugs (e.g., [{"name": "State", "slug": "state"},
1599
- * {"name": "City", "slug": "city"}]).
1600
- */
1601
- hierarchy?: CountryHierarchy[];
1602
- /**
1603
- * - International dialing code for the country
1604
- * (e.g., "+1").
1605
- */
1606
- phone_code?: string;
1607
- /**
1608
- * - Geographical latitude of the country (e.g., "37.0902").
1609
- */
1610
- latitude?: string;
1611
- /**
1612
- * - Geographical longitude of the country (e.g.,
1613
- * "-95.7129").
1614
- */
1615
- longitude?: string;
1616
- currency?: CurrencyObject;
1617
- /**
1618
- * - Indicates the type of object (e.g., "country").
1619
- */
1620
- type?: string;
1621
- fields?: GetCountryFields;
1622
- };
1623
- /** @returns {Page} */
1624
- declare function Page(): Page;
1625
- type Page = {
1626
- /**
1627
- * - The total number of items on the page.
1628
- */
1629
- item_total?: number;
1630
- /**
1631
- * - The identifier for the next page.
1632
- */
1633
- next_id?: string;
1634
- /**
1635
- * - Indicates whether there is a previous page.
1636
- */
1637
- has_previous?: boolean;
1638
- /**
1639
- * - Indicates whether there is a next page.
1640
- */
1641
- has_next?: boolean;
1642
- /**
1643
- * - The current page number.
1644
- */
1645
- current?: number;
1646
- /**
1647
- * - The type of the page, such as 'PageType'.
1648
- */
1649
- type: string;
1650
- /**
1651
- * - The number of items per page.
1652
- */
1653
- size?: number;
1654
- };
1655
- /** @returns {Localities} */
1656
- declare function Localities(): Localities;
1657
- type Localities = {
1658
- /**
1659
- * - A unique identifier for the locality.
1660
- */
1661
- id?: string;
1662
- /**
1663
- * - The actual geographical data, such as country
1664
- * names (India), state names (Maharashtra), pin codes (400603), city names
1665
- * (Dubai), or local sectors (Deira).
1666
- */
1667
- name?: string;
1668
- /**
1669
- * - Custom meta to store custom json against hierarchy.
1670
- */
1671
- custom_meta?: any;
1672
- /**
1673
- * - User-friendly version of the geographical
1674
- * data, which may be more descriptive or formatted differently.
1675
- */
1676
- display_name?: string;
1677
- /**
1678
- * - Identifiers for the parent of the current locality.
1679
- */
1680
- parent_ids?: string[];
1681
- /**
1682
- * - Specifies the category of the address component,
1683
- * such as pincode, state, city, country, or sector.
1684
- */
1685
- type?: string;
1686
- /**
1687
- * - Representing the localities that
1688
- * are associated with or contained within the current locality. It provides
1689
- * detailed information about the parent localities, including their names,
1690
- * identifiers, and hierarchical relationships.
1691
- */
1692
- localities?: LocalityParent[];
1693
- };
1694
- /** @returns {LocalityParent} */
1695
- declare function LocalityParent(): LocalityParent;
1696
- type LocalityParent = {
1697
- /**
1698
- * - A unique identifier for the locality.
1699
- */
1700
- id?: string;
1701
- /**
1702
- * - The actual geographical data, such as country
1703
- * names (India), state names (Maharashtra), pin codes (400603), city names
1704
- * (Dubai), or local sectors (Deira).
1705
- */
1706
- name?: string;
1707
- /**
1708
- * - User-friendly version of the geographical
1709
- * data, which may be more descriptive or formatted differently.
1710
- */
1711
- display_name?: string;
1712
- /**
1713
- * - Code assigned to a locality, which is unique to
1714
- * its immediate parent.
1715
- */
1716
- code?: string;
1717
- /**
1718
- * - Custom meta to store custom json against hierarchy.
1719
- */
1720
- custom_meta?: any;
1721
- /**
1722
- * - Identifiers for the parent of the current locality.
1723
- */
1724
- parent_ids?: string[];
1725
- /**
1726
- * - Specifies the category of the address component,
1727
- * such as pincode, state, city, country, or sector.
1728
- */
1729
- type?: string;
1730
- };
1731
- /** @returns {GetLocalities} */
1732
- declare function GetLocalities(): GetLocalities;
1733
- type GetLocalities = {
1734
- /**
1735
- * - List of localities, each containing
1736
- * detailed information about individual locality.
1737
- */
1738
- items?: Localities[];
1739
- page?: Page;
1740
- };
1741
- /** @returns {GetLocality} */
1742
- declare function GetLocality(): GetLocality;
1743
- type GetLocality = {
1744
- /**
1745
- * - A unique identifier for the locality.
1746
- */
1747
- id?: string;
1748
- /**
1749
- * - The actual geographical data, such as country
1750
- * names (India), state names (Maharashtra), pin codes (400603), city names
1751
- * (Dubai), or local sectors (Deira).
1752
- */
1753
- name?: string;
1754
- /**
1755
- * - User-friendly version of the geographical
1756
- * data, which may be more descriptive or formatted differently.
1757
- */
1758
- display_name?: string;
1759
- /**
1760
- * - Code assigned to a locality, which is unique to
1761
- * its immediate parent.
1762
- */
1763
- code?: string;
1764
- /**
1765
- * - Custom meta to store custom json against hierarchy.
1766
- */
1767
- custom_meta?: any;
1768
- /**
1769
- * - Identifiers for the parent of the current locality.
1770
- */
1771
- parent_ids?: string[];
1772
- /**
1773
- * - Specifies the category of the address component,
1774
- * such as pincode, state, city, country, or sector.
1775
- */
1776
- type?: string;
1777
- /**
1778
- * - Representing the localities that
1779
- * are associated with or contained within the current locality. It provides
1780
- * detailed information about the parent localities, including their names,
1781
- * identifiers, and hierarchical relationships.
1782
- */
1783
- localities?: LocalityParent[];
1784
- };
1785
- /** @returns {ShipmentsArticles} */
1786
- declare function ShipmentsArticles(): ShipmentsArticles;
1787
- type ShipmentsArticles = {
1788
- /**
1789
- * - Unique identifier of the item.
1790
- */
1791
- item_id?: number;
1792
- /**
1793
- * - Unique identifier of the category.
1794
- */
1795
- category_id?: number;
1796
- /**
1797
- * - Unique identifier of the brand.
1798
- */
1799
- brand_id?: number;
1800
- /**
1801
- * - Unique identifier of the department.
1802
- */
1803
- department_id?: number;
1804
- /**
1805
- * - Tags associated with the item.
1806
- */
1807
- tags?: string[];
1808
- };
1809
- /** @returns {ShipmentDimension} */
1810
- declare function ShipmentDimension(): ShipmentDimension;
1811
- type ShipmentDimension = {
1812
- /**
1813
- * - Height of the shipment in centimeters.
1814
- */
1815
- height: number;
1816
- /**
1817
- * - Length of the shipment in centimeters.
1818
- */
1819
- length: number;
1820
- /**
1821
- * - Width of the shipment in centimeters.
1822
- */
1823
- width: number;
1824
- };
1825
- /** @returns {Shipments} */
1826
- declare function Shipments(): Shipments;
1827
- type Shipments = {
1828
- /**
1829
- * - Unique identifier of the shipment.
1830
- */
1831
- id?: string;
1832
- /**
1833
- * - Unique identifier of the selling location.
1834
- */
1835
- location_id?: number;
1836
- /**
1837
- * - Tags associated with the selling location.
1838
- */
1839
- location_tags?: string[];
1840
- /**
1841
- * - Weight of the shipment.
1842
- */
1843
- shipment_weight?: number;
1844
- /**
1845
- * - Volumetric weight of the shipment.
1846
- */
1847
- shipment_volumetric_weight?: number;
1848
- /**
1849
- * - Total Cost of the shipment.
1850
- */
1851
- shipment_cost?: number;
1852
- shipment_dimension?: ShipmentDimension;
1853
- /**
1854
- * - A List of courier schemes.
1855
- */
1856
- courier_partner_schemes?: string[];
1857
- /**
1858
- * - List of articles in the shipment.
1859
- */
1860
- articles?: ShipmentsArticles[];
1861
- };
1862
- /** @returns {ShipmentCourierPartnerDetails} */
1863
- declare function ShipmentCourierPartnerDetails(): ShipmentCourierPartnerDetails;
1864
- type ShipmentCourierPartnerDetails = {
1865
- from_location: ShipmentsCourierPartnersServiceability;
1866
- to_location: ShipmentsCourierPartnersServiceability;
1867
- /**
1868
- * - List of shipments.
1869
- */
1870
- shipments?: Shipments[];
1871
- /**
1872
- * - Journey type of the shipment forward or return.
1873
- */
1874
- journey?: string;
1875
- /**
1876
- * - Payment mode opted for the shipment.
1877
- */
1878
- payment_mode?: string;
1879
- };
1880
- /** @returns {CourierPartnerPromise} */
1881
- declare function CourierPartnerPromise(): CourierPartnerPromise;
1882
- type CourierPartnerPromise = {
1883
- /**
1884
- * - The earliest possible timestamp.
1885
- */
1886
- min: string;
1887
- /**
1888
- * - The latest possible timestamp.
1889
- */
1890
- max: string;
1891
- };
1892
- /** @returns {CourierPartners} */
1893
- declare function CourierPartners(): CourierPartners;
1894
- type CourierPartners = {
1895
- /**
1896
- * - Unique identifier of courier partner extension.
1897
- */
1898
- extension_id?: string;
1899
- /**
1900
- * - Unique identifier of courier partner scheme.
1901
- */
1902
- scheme_id?: string;
1903
- /**
1904
- * - Name of the courier partner.
1905
- */
1906
- name?: string;
1907
- delivery_promise?: CourierPartnerPromise;
1908
- };
1909
- /** @returns {ShipmentCourierPartners} */
1910
- declare function ShipmentCourierPartners(): ShipmentCourierPartners;
1911
- type ShipmentCourierPartners = {
1912
- /**
1913
- * - Unique identifier of the shipment.
1914
- */
1915
- id?: string;
1916
- /**
1917
- * - Courier partners of the shipment.
1918
- */
1919
- courier_partners?: CourierPartners[];
1920
- };
1921
- /** @returns {ShipmentCourierPartnerResult} */
1922
- declare function ShipmentCourierPartnerResult(): ShipmentCourierPartnerResult;
1923
- type ShipmentCourierPartnerResult = {
1924
- courier_partners?: CourierPartners[];
1925
- shipments?: ShipmentCourierPartners[];
1926
- };
1927
- /** @returns {ShipmentsCourierPartnersServiceability} */
1928
- declare function ShipmentsCourierPartnersServiceability(): ShipmentsCourierPartnersServiceability;
1929
- type ShipmentsCourierPartnersServiceability = {
1930
- /**
1931
- * - Postal code or PIN code of the address area.
1932
- */
1933
- pincode?: string;
1934
- /**
1935
- * - Specifies the sector or district code of
1936
- * the address if applicable.
1937
- */
1938
- sector_code?: string;
1939
- /**
1940
- * - Indicates the state or province code of the address.
1941
- */
1942
- state_code?: string;
1943
- /**
1944
- * - Denote the city or municipality code of the address.
1945
- */
1946
- city_code?: string;
1947
- /**
1948
- * - ISO2 code for the country of the address.
1949
- */
1950
- country_code: string;
1951
- };
1952
- /** @returns {ServiceabilityLocation} */
1953
- declare function ServiceabilityLocation(): ServiceabilityLocation;
1954
- type ServiceabilityLocation = {
1955
- /**
1956
- * - Geographical longitude coordinate of the location.
1957
- */
1958
- longitude: string;
1959
- /**
1960
- * - Geographical latitude coordinate of the location.
1961
- */
1962
- latitude: string;
1963
- };
1964
- /** @returns {GetPromiseDetails} */
1965
- declare function GetPromiseDetails(): GetPromiseDetails;
1966
- type GetPromiseDetails = {
1967
- /**
1968
- * - List of delivery promises for each store.
1969
- */
1970
- items?: StorePromise[];
1971
- delivery_promise?: Promise;
1972
- page?: Page;
1973
- };
1974
- /** @returns {StorePromise} */
1975
- declare function StorePromise(): StorePromise;
1976
- type StorePromise = {
1977
- /**
1978
- * - Unique identifier of a store.
1979
- */
1980
- uid?: number;
1981
- /**
1982
- * - Code assigned to a store.
1983
- */
1984
- code?: string;
1985
- /**
1986
- * - Name of a store.
1987
- */
1988
- name?: string;
1989
- delivery_promise?: Promise;
1990
- };
1991
- /** @returns {Promise} */
1992
- declare function Promise(): Promise;
1993
- type Promise = {
1994
- /**
1995
- * - Earliest delivery time.
1996
- */
1997
- min?: string;
1998
- /**
1999
- * - Latest delivery time.
2000
- */
2001
- max?: string;
2002
- };
2003
- /** @returns {ErrorResult} */
2004
- declare function ErrorResult(): ErrorResult;
2005
- type ErrorResult = {
2006
- /**
2007
- * - Error code identifying the type of error.
2008
- */
2009
- error?: string;
2010
- /**
2011
- * - User-friendly explanation of what went wrong.
2012
- */
2013
- message?: string;
2014
- };
2015
- /** @returns {ValidationError} */
2016
- declare function ValidationError(): ValidationError;
2017
- type ValidationError = {
2018
- /**
2019
- * - A brief description of the error encountered.
2020
- */
2021
- message: string;
2022
- /**
2023
- * - The field in the request that caused the error.
2024
- */
2025
- field: string;
2026
- };
2027
- /** @returns {StandardError} */
2028
- declare function StandardError(): StandardError;
2029
- type StandardError = {
2030
- /**
2031
- * - A brief description of the error.
2032
- */
2033
- message: string;
2034
- };