@gofynd/fdk-client-javascript 1.4.13 → 1.4.14

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 (294) hide show
  1. package/README.md +1 -1
  2. package/package.json +1 -1
  3. package/sdk/application/ApplicationClient.d.ts +2 -0
  4. package/sdk/application/ApplicationClient.js +2 -0
  5. package/sdk/application/Cart/CartApplicationClient.d.ts +60 -53
  6. package/sdk/application/Cart/CartApplicationClient.js +130 -53
  7. package/sdk/application/Cart/CartApplicationModel.d.ts +489 -143
  8. package/sdk/application/Cart/CartApplicationModel.js +380 -159
  9. package/sdk/application/Cart/CartApplicationValidator.d.ts +38 -19
  10. package/sdk/application/Cart/CartApplicationValidator.js +34 -18
  11. package/sdk/application/Catalog/CatalogApplicationClient.d.ts +88 -68
  12. package/sdk/application/Catalog/CatalogApplicationClient.js +114 -94
  13. package/sdk/application/Catalog/CatalogApplicationModel.d.ts +194 -142
  14. package/sdk/application/Catalog/CatalogApplicationModel.js +171 -133
  15. package/sdk/application/Common/CommonApplicationClient.d.ts +3 -2
  16. package/sdk/application/Common/CommonApplicationClient.js +6 -5
  17. package/sdk/application/Common/CommonApplicationModel.d.ts +9 -9
  18. package/sdk/application/Common/CommonApplicationModel.js +6 -6
  19. package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +34 -27
  20. package/sdk/application/Configuration/ConfigurationApplicationClient.js +34 -27
  21. package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +45 -57
  22. package/sdk/application/Configuration/ConfigurationApplicationModel.js +35 -47
  23. package/sdk/application/Configuration/ConfigurationApplicationValidator.d.ts +2 -2
  24. package/sdk/application/Configuration/ConfigurationApplicationValidator.js +2 -2
  25. package/sdk/application/Content/ContentApplicationClient.d.ts +23 -33
  26. package/sdk/application/Content/ContentApplicationClient.js +54 -75
  27. package/sdk/application/Content/ContentApplicationModel.d.ts +93 -37
  28. package/sdk/application/Content/ContentApplicationModel.js +83 -32
  29. package/sdk/application/Content/ContentApplicationValidator.d.ts +23 -17
  30. package/sdk/application/Content/ContentApplicationValidator.js +15 -10
  31. package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +9 -8
  32. package/sdk/application/FileStorage/FileStorageApplicationClient.js +14 -13
  33. package/sdk/application/FileStorage/FileStorageApplicationModel.d.ts +23 -25
  34. package/sdk/application/FileStorage/FileStorageApplicationModel.js +16 -18
  35. package/sdk/application/FileStorage/FileStorageApplicationValidator.d.ts +6 -6
  36. package/sdk/application/FileStorage/FileStorageApplicationValidator.js +6 -6
  37. package/sdk/application/Finance/FinanceApplicationClient.d.ts +36 -0
  38. package/sdk/application/Finance/FinanceApplicationClient.js +202 -0
  39. package/sdk/application/Finance/FinanceApplicationModel.d.ts +289 -0
  40. package/sdk/application/Finance/FinanceApplicationModel.js +208 -0
  41. package/sdk/application/Finance/FinanceApplicationValidator.d.ts +25 -0
  42. package/sdk/application/Finance/FinanceApplicationValidator.js +31 -0
  43. package/sdk/application/Lead/LeadApplicationClient.d.ts +2 -3
  44. package/sdk/application/Lead/LeadApplicationClient.js +2 -3
  45. package/sdk/application/Lead/LeadApplicationModel.d.ts +11 -11
  46. package/sdk/application/Lead/LeadApplicationModel.js +19 -19
  47. package/sdk/application/Logistic/LogisticApplicationClient.d.ts +39 -16
  48. package/sdk/application/Logistic/LogisticApplicationClient.js +189 -21
  49. package/sdk/application/Logistic/LogisticApplicationModel.d.ts +532 -173
  50. package/sdk/application/Logistic/LogisticApplicationModel.js +409 -139
  51. package/sdk/application/Logistic/LogisticApplicationValidator.d.ts +54 -9
  52. package/sdk/application/Logistic/LogisticApplicationValidator.js +42 -8
  53. package/sdk/application/Order/OrderApplicationClient.d.ts +24 -10
  54. package/sdk/application/Order/OrderApplicationClient.js +96 -13
  55. package/sdk/application/Order/OrderApplicationModel.d.ts +434 -102
  56. package/sdk/application/Order/OrderApplicationModel.js +278 -73
  57. package/sdk/application/Order/OrderApplicationValidator.d.ts +17 -3
  58. package/sdk/application/Order/OrderApplicationValidator.js +15 -2
  59. package/sdk/application/Payment/PaymentApplicationClient.d.ts +96 -99
  60. package/sdk/application/Payment/PaymentApplicationClient.js +111 -114
  61. package/sdk/application/Payment/PaymentApplicationModel.d.ts +293 -289
  62. package/sdk/application/Payment/PaymentApplicationModel.js +243 -241
  63. package/sdk/application/Payment/PaymentApplicationValidator.d.ts +46 -46
  64. package/sdk/application/Payment/PaymentApplicationValidator.js +46 -46
  65. package/sdk/application/Rewards/RewardsApplicationClient.d.ts +13 -16
  66. package/sdk/application/Rewards/RewardsApplicationClient.js +19 -22
  67. package/sdk/application/Rewards/RewardsApplicationModel.d.ts +37 -37
  68. package/sdk/application/Rewards/RewardsApplicationModel.js +29 -29
  69. package/sdk/application/Rewards/RewardsApplicationValidator.d.ts +6 -6
  70. package/sdk/application/Rewards/RewardsApplicationValidator.js +6 -6
  71. package/sdk/application/Share/ShareApplicationModel.js +1 -1
  72. package/sdk/application/Theme/ThemeApplicationClient.d.ts +2 -2
  73. package/sdk/application/Theme/ThemeApplicationClient.js +8 -6
  74. package/sdk/application/Theme/ThemeApplicationModel.d.ts +48 -17
  75. package/sdk/application/Theme/ThemeApplicationModel.js +42 -22
  76. package/sdk/application/Theme/ThemeApplicationValidator.d.ts +16 -3
  77. package/sdk/application/Theme/ThemeApplicationValidator.js +9 -2
  78. package/sdk/application/User/UserApplicationClient.d.ts +10 -10
  79. package/sdk/application/User/UserApplicationClient.js +10 -10
  80. package/sdk/application/User/UserApplicationModel.d.ts +17 -17
  81. package/sdk/application/User/UserApplicationModel.js +16 -16
  82. package/sdk/application/User/UserApplicationValidator.d.ts +2 -2
  83. package/sdk/application/User/UserApplicationValidator.js +2 -2
  84. package/sdk/application/Webhook/WebhookApplicationClient.d.ts +4 -4
  85. package/sdk/application/Webhook/WebhookApplicationClient.js +4 -4
  86. package/sdk/application/Webhook/WebhookApplicationModel.d.ts +11 -9
  87. package/sdk/application/Webhook/WebhookApplicationModel.js +8 -6
  88. package/sdk/application/Webhook/WebhookApplicationValidator.d.ts +2 -2
  89. package/sdk/application/Webhook/WebhookApplicationValidator.js +2 -2
  90. package/sdk/application/index.d.ts +1 -0
  91. package/sdk/application/index.js +2 -0
  92. package/sdk/partner/FileStorage/FileStoragePartnerClient.d.ts +86 -12
  93. package/sdk/partner/FileStorage/FileStoragePartnerClient.js +582 -24
  94. package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +116 -19
  95. package/sdk/partner/FileStorage/FileStoragePartnerModel.js +121 -14
  96. package/sdk/partner/FileStorage/FileStoragePartnerValidator.d.ts +8 -1
  97. package/sdk/partner/FileStorage/FileStoragePartnerValidator.js +51 -4
  98. package/sdk/partner/Lead/LeadPartnerClient.d.ts +2 -2
  99. package/sdk/partner/Lead/LeadPartnerClient.js +2 -2
  100. package/sdk/partner/Lead/LeadPartnerModel.d.ts +5 -5
  101. package/sdk/partner/Lead/LeadPartnerModel.js +15 -15
  102. package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +126 -20
  103. package/sdk/partner/Logistics/LogisticsPartnerClient.js +970 -20
  104. package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +767 -85
  105. package/sdk/partner/Logistics/LogisticsPartnerModel.js +429 -76
  106. package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +10 -0
  107. package/sdk/partner/Logistics/LogisticsPartnerValidator.js +120 -6
  108. package/sdk/partner/Theme/ThemePartnerClient.d.ts +8 -10
  109. package/sdk/partner/Theme/ThemePartnerClient.js +14 -16
  110. package/sdk/partner/Theme/ThemePartnerModel.d.ts +96 -37
  111. package/sdk/partner/Theme/ThemePartnerModel.js +90 -36
  112. package/sdk/partner/Theme/ThemePartnerValidator.js +4 -4
  113. package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +28 -18
  114. package/sdk/partner/Webhook/WebhookPartnerClient.js +103 -18
  115. package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +612 -179
  116. package/sdk/partner/Webhook/WebhookPartnerModel.js +253 -150
  117. package/sdk/partner/Webhook/WebhookPartnerValidator.d.ts +1 -0
  118. package/sdk/partner/Webhook/WebhookPartnerValidator.js +11 -3
  119. package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.d.ts +5 -4
  120. package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.js +14 -8
  121. package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +59 -9
  122. package/sdk/platform/Analytics/AnalyticsPlatformModel.js +40 -4
  123. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +2 -32
  124. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +3 -243
  125. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +11 -130
  126. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +12 -152
  127. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +1 -39
  128. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +0 -35
  129. package/sdk/platform/Billing/BillingPlatformClient.d.ts +12 -12
  130. package/sdk/platform/Billing/BillingPlatformClient.js +15 -15
  131. package/sdk/platform/Billing/BillingPlatformModel.d.ts +443 -388
  132. package/sdk/platform/Billing/BillingPlatformModel.js +280 -263
  133. package/sdk/platform/Billing/BillingPlatformValidator.d.ts +16 -18
  134. package/sdk/platform/Billing/BillingPlatformValidator.js +8 -9
  135. package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +134 -103
  136. package/sdk/platform/Cart/CartPlatformApplicationClient.js +407 -112
  137. package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +111 -65
  138. package/sdk/platform/Cart/CartPlatformApplicationValidator.js +106 -44
  139. package/sdk/platform/Cart/CartPlatformModel.d.ts +4978 -1303
  140. package/sdk/platform/Cart/CartPlatformModel.js +1922 -1217
  141. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +208 -183
  142. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +383 -358
  143. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +122 -126
  144. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +66 -68
  145. package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +141 -118
  146. package/sdk/platform/Catalog/CatalogPlatformClient.js +193 -170
  147. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +1516 -1766
  148. package/sdk/platform/Catalog/CatalogPlatformModel.js +1393 -1224
  149. package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +18 -18
  150. package/sdk/platform/Catalog/CatalogPlatformValidator.js +18 -18
  151. package/sdk/platform/Common/CommonPlatformClient.d.ts +3 -2
  152. package/sdk/platform/Common/CommonPlatformClient.js +3 -2
  153. package/sdk/platform/Common/CommonPlatformModel.d.ts +9 -9
  154. package/sdk/platform/Common/CommonPlatformModel.js +6 -6
  155. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +16 -17
  156. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +16 -17
  157. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +8 -8
  158. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +8 -8
  159. package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +43 -33
  160. package/sdk/platform/Communication/CommunicationPlatformModel.js +38 -34
  161. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +46 -42
  162. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +47 -43
  163. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +223 -223
  164. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +210 -212
  165. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +12 -12
  166. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +12 -12
  167. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +46 -33
  168. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +67 -54
  169. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +18 -18
  170. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +18 -18
  171. package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +45 -24
  172. package/sdk/platform/Configuration/ConfigurationPlatformClient.js +134 -30
  173. package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +283 -124
  174. package/sdk/platform/Configuration/ConfigurationPlatformModel.js +219 -94
  175. package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +37 -9
  176. package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +27 -8
  177. package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +124 -141
  178. package/sdk/platform/Content/ContentPlatformApplicationClient.js +449 -422
  179. package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +179 -141
  180. package/sdk/platform/Content/ContentPlatformApplicationValidator.js +168 -130
  181. package/sdk/platform/Content/ContentPlatformClient.d.ts +142 -106
  182. package/sdk/platform/Content/ContentPlatformClient.js +523 -336
  183. package/sdk/platform/Content/ContentPlatformModel.d.ts +1241 -395
  184. package/sdk/platform/Content/ContentPlatformModel.js +521 -390
  185. package/sdk/platform/Content/ContentPlatformValidator.d.ts +168 -117
  186. package/sdk/platform/Content/ContentPlatformValidator.js +162 -108
  187. package/sdk/platform/Discount/DiscountPlatformClient.d.ts +14 -12
  188. package/sdk/platform/Discount/DiscountPlatformClient.js +14 -12
  189. package/sdk/platform/Discount/DiscountPlatformModel.d.ts +13 -13
  190. package/sdk/platform/Discount/DiscountPlatformModel.js +12 -12
  191. package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +2 -2
  192. package/sdk/platform/Discount/DiscountPlatformValidator.js +2 -2
  193. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +94 -36
  194. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +462 -60
  195. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +62 -15
  196. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +75 -13
  197. package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +19 -19
  198. package/sdk/platform/FileStorage/FileStoragePlatformClient.js +21 -21
  199. package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +370 -101
  200. package/sdk/platform/FileStorage/FileStoragePlatformModel.js +313 -84
  201. package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +6 -6
  202. package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +6 -6
  203. package/sdk/platform/Lead/LeadPlatformClient.d.ts +2 -2
  204. package/sdk/platform/Lead/LeadPlatformClient.js +2 -2
  205. package/sdk/platform/Lead/LeadPlatformModel.d.ts +5 -5
  206. package/sdk/platform/Lead/LeadPlatformModel.js +16 -16
  207. package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +15 -4
  208. package/sdk/platform/Order/OrderPlatformApplicationClient.js +83 -5
  209. package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +25 -4
  210. package/sdk/platform/Order/OrderPlatformApplicationValidator.js +16 -3
  211. package/sdk/platform/Order/OrderPlatformClient.d.ts +178 -97
  212. package/sdk/platform/Order/OrderPlatformClient.js +589 -229
  213. package/sdk/platform/Order/OrderPlatformModel.d.ts +5447 -3071
  214. package/sdk/platform/Order/OrderPlatformModel.js +3496 -1653
  215. package/sdk/platform/Order/OrderPlatformValidator.d.ts +241 -176
  216. package/sdk/platform/Order/OrderPlatformValidator.js +153 -97
  217. package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +6 -4
  218. package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +9 -7
  219. package/sdk/platform/Partner/PartnerPlatformModel.d.ts +9 -9
  220. package/sdk/platform/Partner/PartnerPlatformModel.js +8 -8
  221. package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +93 -105
  222. package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +129 -141
  223. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +48 -48
  224. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +48 -48
  225. package/sdk/platform/Payment/PaymentPlatformClient.d.ts +20 -20
  226. package/sdk/platform/Payment/PaymentPlatformClient.js +20 -20
  227. package/sdk/platform/Payment/PaymentPlatformModel.d.ts +327 -313
  228. package/sdk/platform/Payment/PaymentPlatformModel.js +283 -273
  229. package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +8 -8
  230. package/sdk/platform/Payment/PaymentPlatformValidator.js +8 -8
  231. package/sdk/platform/PlatformClient.d.ts +0 -2
  232. package/sdk/platform/PlatformClient.js +0 -4
  233. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +2 -2
  234. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +2 -2
  235. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +2 -2
  236. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.js +2 -2
  237. package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +9 -9
  238. package/sdk/platform/Rewards/RewardsPlatformModel.js +8 -8
  239. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +45 -35
  240. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +117 -38
  241. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +22 -13
  242. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +24 -12
  243. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +40 -46
  244. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +58 -64
  245. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +602 -341
  246. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +483 -284
  247. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +8 -8
  248. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +8 -8
  249. package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +2 -2
  250. package/sdk/platform/Share/SharePlatformApplicationClient.js +2 -2
  251. package/sdk/platform/Share/SharePlatformModel.d.ts +36 -5
  252. package/sdk/platform/Share/SharePlatformModel.js +27 -4
  253. package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +3 -3
  254. package/sdk/platform/Theme/ThemePlatformApplicationClient.js +8 -4
  255. package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +5 -0
  256. package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +2 -0
  257. package/sdk/platform/Theme/ThemePlatformModel.d.ts +37 -11
  258. package/sdk/platform/Theme/ThemePlatformModel.js +33 -15
  259. package/sdk/platform/User/UserPlatformApplicationClient.d.ts +12 -12
  260. package/sdk/platform/User/UserPlatformApplicationClient.js +12 -12
  261. package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +2 -2
  262. package/sdk/platform/User/UserPlatformApplicationValidator.js +2 -2
  263. package/sdk/platform/User/UserPlatformModel.d.ts +21 -21
  264. package/sdk/platform/User/UserPlatformModel.js +23 -23
  265. package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +25 -78
  266. package/sdk/platform/Webhook/WebhookPlatformClient.js +75 -470
  267. package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +720 -427
  268. package/sdk/platform/Webhook/WebhookPlatformModel.js +410 -386
  269. package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +10 -55
  270. package/sdk/platform/Webhook/WebhookPlatformValidator.js +12 -72
  271. package/sdk/platform/index.d.ts +0 -1
  272. package/sdk/platform/index.js +0 -2
  273. package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +3 -2
  274. package/sdk/public/Configuration/ConfigurationPublicClient.js +6 -5
  275. package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +9 -9
  276. package/sdk/public/Configuration/ConfigurationPublicModel.js +6 -6
  277. package/sdk/public/Content/ContentPublicClient.d.ts +112 -2
  278. package/sdk/public/Content/ContentPublicClient.js +791 -5
  279. package/sdk/public/Content/ContentPublicModel.d.ts +549 -3
  280. package/sdk/public/Content/ContentPublicModel.js +649 -3
  281. package/sdk/public/Content/ContentPublicValidator.d.ts +69 -3
  282. package/sdk/public/Content/ContentPublicValidator.js +88 -2
  283. package/sdk/public/Webhook/WebhookPublicClient.d.ts +8 -8
  284. package/sdk/public/Webhook/WebhookPublicClient.js +8 -8
  285. package/sdk/public/Webhook/WebhookPublicModel.d.ts +21 -21
  286. package/sdk/public/Webhook/WebhookPublicModel.js +15 -15
  287. package/sdk/public/Webhook/WebhookPublicValidator.d.ts +4 -4
  288. package/sdk/public/Webhook/WebhookPublicValidator.js +4 -4
  289. package/sdk/platform/Finance/FinancePlatformClient.d.ts +0 -320
  290. package/sdk/platform/Finance/FinancePlatformClient.js +0 -2333
  291. package/sdk/platform/Finance/FinancePlatformModel.d.ts +0 -2890
  292. package/sdk/platform/Finance/FinancePlatformModel.js +0 -2148
  293. package/sdk/platform/Finance/FinancePlatformValidator.d.ts +0 -284
  294. package/sdk/platform/Finance/FinancePlatformValidator.js +0 -354
@@ -1,12 +1,12 @@
1
1
  export = LogisticApplicationModel;
2
2
  /**
3
- * @typedef GetStoreResponse
4
- * @property {StoreItemResponse[]} [items] - List of locations, each containing
3
+ * @typedef GetStoreResult
4
+ * @property {StoreItemResult[]} [items] - List of locations, each containing
5
5
  * detailed information about individual location.
6
6
  * @property {Page} [page]
7
7
  */
8
8
  /**
9
- * @typedef StoreItemResponse
9
+ * @typedef StoreItemResult
10
10
  * @property {number} [id] - A unique identifier for the location.
11
11
  * @property {string} [store_type] - The type of store, indicating the nature of
12
12
  * the store, such as retail or warehouse.
@@ -24,7 +24,7 @@ export = LogisticApplicationModel;
24
24
  * store location.
25
25
  */
26
26
  /**
27
- * @typedef ValidateAddressRequest
27
+ * @typedef ValidateAddressDetails
28
28
  * @property {string} [address] - Complete address, combining address line 1,
29
29
  * address line 2, area, landmark, sector, city, state, and pincode.
30
30
  * @property {string} [address1] - First line of the address, typically
@@ -44,7 +44,7 @@ export = LogisticApplicationModel;
44
44
  * @property {string} [email] - Recipient's email address.
45
45
  */
46
46
  /**
47
- * @typedef PincodeParentsResponse
47
+ * @typedef PincodeParentsResult
48
48
  * @property {string} [sub_type] - Specific type of locality hierarchy the
49
49
  * pincode belongs to (e.g., city, state, country).
50
50
  * @property {string} [display_name] - User-friendly version of the geographical
@@ -55,7 +55,7 @@ export = LogisticApplicationModel;
55
55
  * @property {string} [uid] - Unique identifier for the locality.
56
56
  */
57
57
  /**
58
- * @typedef PincodeMetaResponse
58
+ * @typedef PincodeMetaResult
59
59
  * @property {string} [zone] - Geographical region to which the pincode belongs,
60
60
  * often used to categorize or group pincodes for regional management or
61
61
  * postal purposes.
@@ -63,7 +63,7 @@ export = LogisticApplicationModel;
63
63
  * system to track or reference the specific zone associated with the pincode.
64
64
  */
65
65
  /**
66
- * @typedef PincodeErrorSchemaResponse
66
+ * @typedef PincodeErrorSchemaResult
67
67
  * @property {string} [message] - A user-readable description of the error,
68
68
  * explaining what went wrong.
69
69
  * @property {string} [value] - A specific code or identifier related to the
@@ -72,7 +72,7 @@ export = LogisticApplicationModel;
72
72
  * kind of issue.
73
73
  */
74
74
  /**
75
- * @typedef CountryMetaResponse
75
+ * @typedef CountryMetaResult
76
76
  * @property {string} [country_code] - The ISO 3166-1 alpha-2 code representing
77
77
  * the country (e.g., "IN" for India, "US" for the United States).
78
78
  * @property {string} [isd_code] - The International Subscriber Dialing (ISD)
@@ -88,15 +88,15 @@ export = LogisticApplicationModel;
88
88
  * with two values: [longitude, latitude].
89
89
  */
90
90
  /**
91
- * @typedef PincodeDataResponse
92
- * @property {PincodeParentsResponse[]} [parents] - List of object representing
93
- * a collection of geographical locations, each associated with specific
91
+ * @typedef PincodeDataResult
92
+ * @property {PincodeParentsResult[]} [parents] - List of object representing a
93
+ * collection of geographical locations, each associated with specific
94
94
  * hierarchical data such as cities, states, or countries.
95
- * @property {PincodeMetaResponse} [meta]
95
+ * @property {PincodeMetaResult} [meta]
96
96
  * @property {string} [display_name] - User-friendly version of the geographical
97
97
  * data, which may be more descriptive or formatted differently.
98
- * @property {PincodeErrorSchemaResponse} error
99
- * @property {CountryMetaResponse} [meta_code]
98
+ * @property {PincodeErrorSchemaResult} error
99
+ * @property {CountryMetaResult} [meta_code]
100
100
  * @property {PincodeLatLongData} [lat_long]
101
101
  * @property {string} [sub_type] - Indicates the specific type of locality
102
102
  * hierarchy the pincode belongs to (e.g., city, state, country).
@@ -107,40 +107,40 @@ export = LogisticApplicationModel;
107
107
  * unique value assigned to each instance to ensure differentiation and reference.
108
108
  */
109
109
  /**
110
- * @typedef PincodeApiResponse
110
+ * @typedef PincodeDetails
111
111
  * @property {boolean} success - Indicates whether the API request was
112
112
  * successful (true) or failed (false).
113
- * @property {PincodeDataResponse[]} [data] - Contains the actual response data
113
+ * @property {PincodeDataResult[]} [data] - Contains the actual response data
114
114
  * when the request is successful, providing details like pincode information
115
115
  * or related data.
116
- * @property {PincodeErrorSchemaResponse} error
116
+ * @property {PincodeErrorSchemaResult} error
117
117
  */
118
118
  /**
119
- * @typedef TATCategoryRequest
119
+ * @typedef TATCategoryDetails
120
120
  * @property {string} [level] - Specifies the hierarchical level of the category
121
121
  * (e.g., country, state, city).
122
122
  * @property {number} [id] - Represents the unique identifier for the category
123
123
  * at the specified level.
124
124
  */
125
125
  /**
126
- * @typedef TATArticlesRequest
127
- * @property {TATCategoryRequest} [category]
126
+ * @typedef TATArticlesDetails
127
+ * @property {TATCategoryDetails} [category]
128
128
  * @property {string} [manufacturing_time_unit] - The unit of measurement for
129
129
  * the manufacturing time, such as hours or days.
130
130
  * @property {number} [manufacturing_time] - The amount of time required to
131
131
  * manufacture the article, specified in the unit given by `manufacturing_time_unit`.
132
132
  */
133
133
  /**
134
- * @typedef TATLocationDetailsRequest
134
+ * @typedef TATLocationDetailsDetails
135
135
  * @property {number} [fulfillment_id] - A unique identifier of the fulfilling location.
136
136
  * @property {string} [from_pincode] - The postal code of the location from
137
137
  * which the fulfillment originates.
138
- * @property {TATArticlesRequest[]} [articles] - List of articles included in
138
+ * @property {TATArticlesDetails[]} [articles] - List of articles included in
139
139
  * the fulfillment request, which provides details about the items to be
140
140
  * processed or shipped.
141
141
  */
142
142
  /**
143
- * @typedef TATViewRequest
143
+ * @typedef TATViewDetails
144
144
  * @property {string} [to_pincode] - The postal code of the destination location
145
145
  * where the fulfillment or shipment is headed.
146
146
  * @property {string} [source] - The origin or source of the request, indicating
@@ -149,14 +149,14 @@ export = LogisticApplicationModel;
149
149
  * such as viewing, updating, or managing data.
150
150
  * @property {string} [identifier] - A unique ID used to reference or track the
151
151
  * specific request or item within the system.
152
- * @property {TATLocationDetailsRequest[]} [location_details] - Locations
152
+ * @property {TATLocationDetailsDetails[]} [location_details] - Locations
153
153
  * involved in the request, including details about both the source and destination.
154
154
  * @property {string} [journey] - Indicates the direction of the request or
155
155
  * shipment. It can either be "forward" (from the source to the destination)
156
156
  * or "return" (from the destination back to the source).
157
157
  */
158
158
  /**
159
- * @typedef TATErrorSchemaResponse
159
+ * @typedef TATErrorSchemaResult
160
160
  * @property {string} [message] - A user-readable description of the error,
161
161
  * explaining what went wrong.
162
162
  * @property {string} [value] - A specific code or identifier related to the
@@ -165,51 +165,51 @@ export = LogisticApplicationModel;
165
165
  * kind of issue.
166
166
  */
167
167
  /**
168
- * @typedef TATTimestampResponse
168
+ * @typedef TATTimestampResult
169
169
  * @property {number} [min] - The earliest possible timestamp.
170
170
  * @property {number} [max] - The latest possible timestamp.
171
171
  */
172
172
  /**
173
- * @typedef TATFormattedResponse
173
+ * @typedef TATFormattedResult
174
174
  * @property {string} [min] - The earliest possible timestamp.
175
175
  * @property {string} [max] - The latest possible timestamp.
176
176
  */
177
177
  /**
178
- * @typedef TATPromiseResponse
179
- * @property {TATTimestampResponse} [timestamp]
180
- * @property {TATFormattedResponse} [formatted]
178
+ * @typedef TATPromiseResult
179
+ * @property {TATTimestampResult} [timestamp]
180
+ * @property {TATFormattedResult} [formatted]
181
181
  */
182
182
  /**
183
- * @typedef TATArticlesResponse
183
+ * @typedef TATArticlesResult
184
184
  * @property {string} [manufacturing_time_unit] - The unit of measurement for
185
185
  * the manufacturing time such as hours or days.
186
- * @property {TATErrorSchemaResponse} [error]
186
+ * @property {TATErrorSchemaResult} [error]
187
187
  * @property {boolean} [is_cod_available] - Indicates whether Cash on Delivery
188
188
  * (COD) is available for the articles.
189
- * @property {TATPromiseResponse} [promise]
189
+ * @property {TATPromiseResult} [promise]
190
190
  * @property {number} [manufacturing_time] - The time required to manufacture
191
191
  * the articles, measured in the unit specified by manufacturing_time_unit.
192
- * @property {TATCategoryRequest} [category]
192
+ * @property {TATCategoryDetails} [category]
193
193
  * @property {number} [_manufacturing_time_seconds] - The manufacturing time
194
194
  * converted into seconds.
195
195
  */
196
196
  /**
197
- * @typedef TATLocationDetailsResponse
197
+ * @typedef TATLocationDetailsResult
198
198
  * @property {number} [fulfillment_id] - A unique identifier of the fulfilling location.
199
199
  * @property {string} [from_pincode] - The postal code of the location from
200
200
  * which the fulfillment originates.
201
- * @property {TATArticlesResponse[]} [articles] - List of articles included in
202
- * the fulfillment request, which provides details about the items to be
203
- * processed or shipped.
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
204
  */
205
205
  /**
206
- * @typedef TATViewResponse
206
+ * @typedef TATViewResult
207
207
  * @property {string} [to_pincode] - The postal code of the destination location
208
208
  * where the fulfillment or shipment is headed.
209
209
  * @property {string} [request_uuid] - A unique identifier for the request.
210
210
  * @property {string} [payment_mode] - The mode of payment used for the transaction.
211
211
  * @property {boolean} [success] - Whether the request was successful (true/false).
212
- * @property {TATErrorSchemaResponse} [error]
212
+ * @property {TATErrorSchemaResult} [error]
213
213
  * @property {boolean} [is_cod_available] - Whether Cash on Delivery (COD) is
214
214
  * available for the request.
215
215
  * @property {string} [source] - The origin or source of the request.
@@ -219,8 +219,8 @@ export = LogisticApplicationModel;
219
219
  * stormbreaker process.
220
220
  * @property {string} [to_city] - The city corresponding to the destination pincode.
221
221
  * @property {string} [identifier] - A unique identifier for the request or transaction.
222
- * @property {TATLocationDetailsResponse[]} [location_details] - Location
223
- * involved in the request.
222
+ * @property {TATLocationDetailsResult[]} [location_details] - Location involved
223
+ * in the request.
224
224
  * @property {string} [journey] - Type of journey, either forward or return.
225
225
  */
226
226
  /**
@@ -249,14 +249,13 @@ export = LogisticApplicationModel;
249
249
  * delivering goods, such as road, rail, air, or sea.
250
250
  */
251
251
  /**
252
- * @typedef LogisticsResponse
253
- * @property {Object} [dp] - Provide entity responsible for handling the
254
- * delivery of goods.
252
+ * @typedef LogisticsResult
253
+ * @property {DP} [dp]
255
254
  */
256
255
  /**
257
- * @typedef CountryEntityResponse
258
- * @property {CountryMetaResponse} [meta]
259
- * @property {LogisticsResponse} [logistics]
256
+ * @typedef CountryEntityResult
257
+ * @property {CountryMetaResult} [meta]
258
+ * @property {LogisticsResult} [logistics]
260
259
  * @property {string} [display_name] - User-friendly version of the geographical
261
260
  * data, which may be more descriptive or formatted differently.
262
261
  * @property {string} [type] - Specifies the type of geographical feature or
@@ -270,18 +269,18 @@ export = LogisticApplicationModel;
270
269
  * @property {string} [uid] - Unique identifier for the country.
271
270
  */
272
271
  /**
273
- * @typedef CountryListResponse
274
- * @property {CountryEntityResponse[]} [results] - A list of country entities,
272
+ * @typedef CountryListResult
273
+ * @property {CountryEntityResult[]} [results] - A list of country entities,
275
274
  * each containing details about individual countries.
276
275
  */
277
276
  /**
278
- * @typedef GetZoneFromPincodeViewRequest
277
+ * @typedef GetZoneFromPincodeViewDetails
279
278
  * @property {string} pincode - The postal code or ZIP code used to pinpoint a
280
279
  * specific geographic area or location.
281
280
  * @property {string} country - The country where the pincode is located.
282
281
  */
283
282
  /**
284
- * @typedef GetZoneFromPincodeViewResponse
283
+ * @typedef GetZoneFromPincodeViewResult
285
284
  * @property {string} serviceability_type - Specifies the type of serviceability
286
285
  * for the given pincode, indicating whether it's deliverable or serviceable
287
286
  * under certain conditions.
@@ -289,7 +288,7 @@ export = LogisticApplicationModel;
289
288
  * detailing the geographical or logistical zones for service.
290
289
  */
291
290
  /**
292
- * @typedef ReAssignStoreRequest
291
+ * @typedef ReAssignStoreDetails
293
292
  * @property {Object} configuration - Specifies the configuration settings or
294
293
  * parameters for the store reassignment.
295
294
  * @property {string} to_pincode - The postal code of the destination location
@@ -301,7 +300,7 @@ export = LogisticApplicationModel;
301
300
  * store reassignment.
302
301
  */
303
302
  /**
304
- * @typedef ReAssignStoreResponse
303
+ * @typedef ReAssignStoreResult
305
304
  * @property {string} to_pincode - The postal code of the destination location
306
305
  * where the fulfillment or shipment is headed.
307
306
  * @property {string} pystormbreaker_uuid - A unique identifier for tracking the
@@ -474,6 +473,7 @@ export = LogisticApplicationModel;
474
473
  * @property {string} [name] - The actual geographical data, such as country
475
474
  * names (India), state names (Maharashtra), pin codes (400603), city names
476
475
  * (Dubai), or local sectors (Deira).
476
+ * @property {Object} [custom_meta] - Custom meta to store custom json against hierarchy.
477
477
  * @property {string} [display_name] - User-friendly version of the geographical
478
478
  * data, which may be more descriptive or formatted differently.
479
479
  * @property {string[]} [parent_ids] - Identifiers for the parent of the current locality.
@@ -492,6 +492,9 @@ export = LogisticApplicationModel;
492
492
  * (Dubai), or local sectors (Deira).
493
493
  * @property {string} [display_name] - User-friendly version of the geographical
494
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.
495
498
  * @property {string[]} [parent_ids] - Identifiers for the parent of the current locality.
496
499
  * @property {string} [type] - Specifies the category of the address component,
497
500
  * such as pincode, state, city, country, or sector.
@@ -510,6 +513,9 @@ export = LogisticApplicationModel;
510
513
  * (Dubai), or local sectors (Deira).
511
514
  * @property {string} [display_name] - User-friendly version of the geographical
512
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.
513
519
  * @property {string[]} [parent_ids] - Identifiers for the parent of the current locality.
514
520
  * @property {string} [type] - Specifies the category of the address component,
515
521
  * such as pincode, state, city, country, or sector.
@@ -519,28 +525,125 @@ export = LogisticApplicationModel;
519
525
  * identifiers, and hierarchical relationships.
520
526
  */
521
527
  /**
522
- * @typedef ErrorResponse
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
523
617
  * @property {string} [error] - Error code identifying the type of error.
524
618
  * @property {string} [message] - User-friendly explanation of what went wrong.
525
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
+ */
526
629
  declare class LogisticApplicationModel {
527
630
  }
528
631
  declare namespace LogisticApplicationModel {
529
- export { GetStoreResponse, StoreItemResponse, ValidateAddressRequest, PincodeParentsResponse, PincodeMetaResponse, PincodeErrorSchemaResponse, CountryMetaResponse, PincodeLatLongData, PincodeDataResponse, PincodeApiResponse, TATCategoryRequest, TATArticlesRequest, TATLocationDetailsRequest, TATViewRequest, TATErrorSchemaResponse, TATTimestampResponse, TATFormattedResponse, TATPromiseResponse, TATArticlesResponse, TATLocationDetailsResponse, TATViewResponse, DP, LogisticsResponse, CountryEntityResponse, CountryListResponse, GetZoneFromPincodeViewRequest, GetZoneFromPincodeViewResponse, ReAssignStoreRequest, ReAssignStoreResponse, CountryHierarchy, CurrencyObject, CountryObject, GetCountries, GetOneOrAllPath, GetOneOrAllQuery, GetOneOrAllParams, GetOneOrAll, LengthValidation, FieldValidationRegex, FieldValidation, GetCountryFieldsAddressValues, GetCountryFieldsAddress, GetCountryFieldsAddressTemplate, GetCountryFields, GetCountry, Page, Localities, LocalityParent, GetLocalities, GetLocality, ErrorResponse };
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 };
530
633
  }
531
- /** @returns {GetStoreResponse} */
532
- declare function GetStoreResponse(): GetStoreResponse;
533
- type GetStoreResponse = {
634
+ /** @returns {GetStoreResult} */
635
+ declare function GetStoreResult(): GetStoreResult;
636
+ type GetStoreResult = {
534
637
  /**
535
638
  * - List of locations, each containing
536
639
  * detailed information about individual location.
537
640
  */
538
- items?: StoreItemResponse[];
641
+ items?: StoreItemResult[];
539
642
  page?: Page;
540
643
  };
541
- /** @returns {StoreItemResponse} */
542
- declare function StoreItemResponse(): StoreItemResponse;
543
- type StoreItemResponse = {
644
+ /** @returns {StoreItemResult} */
645
+ declare function StoreItemResult(): StoreItemResult;
646
+ type StoreItemResult = {
544
647
  /**
545
648
  * - A unique identifier for the location.
546
649
  */
@@ -581,9 +684,9 @@ type StoreItemResponse = {
581
684
  */
582
685
  longitude?: number;
583
686
  };
584
- /** @returns {ValidateAddressRequest} */
585
- declare function ValidateAddressRequest(): ValidateAddressRequest;
586
- type ValidateAddressRequest = {
687
+ /** @returns {ValidateAddressDetails} */
688
+ declare function ValidateAddressDetails(): ValidateAddressDetails;
689
+ type ValidateAddressDetails = {
587
690
  /**
588
691
  * - Complete address, combining address line 1,
589
692
  * address line 2, area, landmark, sector, city, state, and pincode.
@@ -638,9 +741,9 @@ type ValidateAddressRequest = {
638
741
  */
639
742
  email?: string;
640
743
  };
641
- /** @returns {PincodeParentsResponse} */
642
- declare function PincodeParentsResponse(): PincodeParentsResponse;
643
- type PincodeParentsResponse = {
744
+ /** @returns {PincodeParentsResult} */
745
+ declare function PincodeParentsResult(): PincodeParentsResult;
746
+ type PincodeParentsResult = {
644
747
  /**
645
748
  * - Specific type of locality hierarchy the
646
749
  * pincode belongs to (e.g., city, state, country).
@@ -662,9 +765,9 @@ type PincodeParentsResponse = {
662
765
  */
663
766
  uid?: string;
664
767
  };
665
- /** @returns {PincodeMetaResponse} */
666
- declare function PincodeMetaResponse(): PincodeMetaResponse;
667
- type PincodeMetaResponse = {
768
+ /** @returns {PincodeMetaResult} */
769
+ declare function PincodeMetaResult(): PincodeMetaResult;
770
+ type PincodeMetaResult = {
668
771
  /**
669
772
  * - Geographical region to which the pincode belongs,
670
773
  * often used to categorize or group pincodes for regional management or
@@ -677,9 +780,9 @@ type PincodeMetaResponse = {
677
780
  */
678
781
  internal_zone_id?: number;
679
782
  };
680
- /** @returns {PincodeErrorSchemaResponse} */
681
- declare function PincodeErrorSchemaResponse(): PincodeErrorSchemaResponse;
682
- type PincodeErrorSchemaResponse = {
783
+ /** @returns {PincodeErrorSchemaResult} */
784
+ declare function PincodeErrorSchemaResult(): PincodeErrorSchemaResult;
785
+ type PincodeErrorSchemaResult = {
683
786
  /**
684
787
  * - A user-readable description of the error,
685
788
  * explaining what went wrong.
@@ -696,9 +799,9 @@ type PincodeErrorSchemaResponse = {
696
799
  */
697
800
  type?: string;
698
801
  };
699
- /** @returns {CountryMetaResponse} */
700
- declare function CountryMetaResponse(): CountryMetaResponse;
701
- type CountryMetaResponse = {
802
+ /** @returns {CountryMetaResult} */
803
+ declare function CountryMetaResult(): CountryMetaResult;
804
+ type CountryMetaResult = {
702
805
  /**
703
806
  * - The ISO 3166-1 alpha-2 code representing
704
807
  * the country (e.g., "IN" for India, "US" for the United States).
@@ -726,23 +829,23 @@ type PincodeLatLongData = {
726
829
  */
727
830
  coordinates?: string[];
728
831
  };
729
- /** @returns {PincodeDataResponse} */
730
- declare function PincodeDataResponse(): PincodeDataResponse;
731
- type PincodeDataResponse = {
832
+ /** @returns {PincodeDataResult} */
833
+ declare function PincodeDataResult(): PincodeDataResult;
834
+ type PincodeDataResult = {
732
835
  /**
733
- * - List of object representing
734
- * a collection of geographical locations, each associated with specific
836
+ * - List of object representing a
837
+ * collection of geographical locations, each associated with specific
735
838
  * hierarchical data such as cities, states, or countries.
736
839
  */
737
- parents?: PincodeParentsResponse[];
738
- meta?: PincodeMetaResponse;
840
+ parents?: PincodeParentsResult[];
841
+ meta?: PincodeMetaResult;
739
842
  /**
740
843
  * - User-friendly version of the geographical
741
844
  * data, which may be more descriptive or formatted differently.
742
845
  */
743
846
  display_name?: string;
744
- error: PincodeErrorSchemaResponse;
745
- meta_code?: CountryMetaResponse;
847
+ error: PincodeErrorSchemaResult;
848
+ meta_code?: CountryMetaResult;
746
849
  lat_long?: PincodeLatLongData;
747
850
  /**
748
851
  * - Indicates the specific type of locality
@@ -761,9 +864,9 @@ type PincodeDataResponse = {
761
864
  */
762
865
  uid?: string;
763
866
  };
764
- /** @returns {PincodeApiResponse} */
765
- declare function PincodeApiResponse(): PincodeApiResponse;
766
- type PincodeApiResponse = {
867
+ /** @returns {PincodeDetails} */
868
+ declare function PincodeDetails(): PincodeDetails;
869
+ type PincodeDetails = {
767
870
  /**
768
871
  * - Indicates whether the API request was
769
872
  * successful (true) or failed (false).
@@ -774,12 +877,12 @@ type PincodeApiResponse = {
774
877
  * when the request is successful, providing details like pincode information
775
878
  * or related data.
776
879
  */
777
- data?: PincodeDataResponse[];
778
- error: PincodeErrorSchemaResponse;
880
+ data?: PincodeDataResult[];
881
+ error: PincodeErrorSchemaResult;
779
882
  };
780
- /** @returns {TATCategoryRequest} */
781
- declare function TATCategoryRequest(): TATCategoryRequest;
782
- type TATCategoryRequest = {
883
+ /** @returns {TATCategoryDetails} */
884
+ declare function TATCategoryDetails(): TATCategoryDetails;
885
+ type TATCategoryDetails = {
783
886
  /**
784
887
  * - Specifies the hierarchical level of the category
785
888
  * (e.g., country, state, city).
@@ -791,10 +894,10 @@ type TATCategoryRequest = {
791
894
  */
792
895
  id?: number;
793
896
  };
794
- /** @returns {TATArticlesRequest} */
795
- declare function TATArticlesRequest(): TATArticlesRequest;
796
- type TATArticlesRequest = {
797
- category?: TATCategoryRequest;
897
+ /** @returns {TATArticlesDetails} */
898
+ declare function TATArticlesDetails(): TATArticlesDetails;
899
+ type TATArticlesDetails = {
900
+ category?: TATCategoryDetails;
798
901
  /**
799
902
  * - The unit of measurement for
800
903
  * the manufacturing time, such as hours or days.
@@ -806,9 +909,9 @@ type TATArticlesRequest = {
806
909
  */
807
910
  manufacturing_time?: number;
808
911
  };
809
- /** @returns {TATLocationDetailsRequest} */
810
- declare function TATLocationDetailsRequest(): TATLocationDetailsRequest;
811
- type TATLocationDetailsRequest = {
912
+ /** @returns {TATLocationDetailsDetails} */
913
+ declare function TATLocationDetailsDetails(): TATLocationDetailsDetails;
914
+ type TATLocationDetailsDetails = {
812
915
  /**
813
916
  * - A unique identifier of the fulfilling location.
814
917
  */
@@ -823,11 +926,11 @@ type TATLocationDetailsRequest = {
823
926
  * the fulfillment request, which provides details about the items to be
824
927
  * processed or shipped.
825
928
  */
826
- articles?: TATArticlesRequest[];
929
+ articles?: TATArticlesDetails[];
827
930
  };
828
- /** @returns {TATViewRequest} */
829
- declare function TATViewRequest(): TATViewRequest;
830
- type TATViewRequest = {
931
+ /** @returns {TATViewDetails} */
932
+ declare function TATViewDetails(): TATViewDetails;
933
+ type TATViewDetails = {
831
934
  /**
832
935
  * - The postal code of the destination location
833
936
  * where the fulfillment or shipment is headed.
@@ -852,7 +955,7 @@ type TATViewRequest = {
852
955
  * - Locations
853
956
  * involved in the request, including details about both the source and destination.
854
957
  */
855
- location_details?: TATLocationDetailsRequest[];
958
+ location_details?: TATLocationDetailsDetails[];
856
959
  /**
857
960
  * - Indicates the direction of the request or
858
961
  * shipment. It can either be "forward" (from the source to the destination)
@@ -860,9 +963,9 @@ type TATViewRequest = {
860
963
  */
861
964
  journey?: string;
862
965
  };
863
- /** @returns {TATErrorSchemaResponse} */
864
- declare function TATErrorSchemaResponse(): TATErrorSchemaResponse;
865
- type TATErrorSchemaResponse = {
966
+ /** @returns {TATErrorSchemaResult} */
967
+ declare function TATErrorSchemaResult(): TATErrorSchemaResult;
968
+ type TATErrorSchemaResult = {
866
969
  /**
867
970
  * - A user-readable description of the error,
868
971
  * explaining what went wrong.
@@ -879,9 +982,9 @@ type TATErrorSchemaResponse = {
879
982
  */
880
983
  type?: string;
881
984
  };
882
- /** @returns {TATTimestampResponse} */
883
- declare function TATTimestampResponse(): TATTimestampResponse;
884
- type TATTimestampResponse = {
985
+ /** @returns {TATTimestampResult} */
986
+ declare function TATTimestampResult(): TATTimestampResult;
987
+ type TATTimestampResult = {
885
988
  /**
886
989
  * - The earliest possible timestamp.
887
990
  */
@@ -891,9 +994,9 @@ type TATTimestampResponse = {
891
994
  */
892
995
  max?: number;
893
996
  };
894
- /** @returns {TATFormattedResponse} */
895
- declare function TATFormattedResponse(): TATFormattedResponse;
896
- type TATFormattedResponse = {
997
+ /** @returns {TATFormattedResult} */
998
+ declare function TATFormattedResult(): TATFormattedResult;
999
+ type TATFormattedResult = {
897
1000
  /**
898
1001
  * - The earliest possible timestamp.
899
1002
  */
@@ -903,42 +1006,42 @@ type TATFormattedResponse = {
903
1006
  */
904
1007
  max?: string;
905
1008
  };
906
- /** @returns {TATPromiseResponse} */
907
- declare function TATPromiseResponse(): TATPromiseResponse;
908
- type TATPromiseResponse = {
909
- timestamp?: TATTimestampResponse;
910
- formatted?: TATFormattedResponse;
1009
+ /** @returns {TATPromiseResult} */
1010
+ declare function TATPromiseResult(): TATPromiseResult;
1011
+ type TATPromiseResult = {
1012
+ timestamp?: TATTimestampResult;
1013
+ formatted?: TATFormattedResult;
911
1014
  };
912
- /** @returns {TATArticlesResponse} */
913
- declare function TATArticlesResponse(): TATArticlesResponse;
914
- type TATArticlesResponse = {
1015
+ /** @returns {TATArticlesResult} */
1016
+ declare function TATArticlesResult(): TATArticlesResult;
1017
+ type TATArticlesResult = {
915
1018
  /**
916
1019
  * - The unit of measurement for
917
1020
  * the manufacturing time such as hours or days.
918
1021
  */
919
1022
  manufacturing_time_unit?: string;
920
- error?: TATErrorSchemaResponse;
1023
+ error?: TATErrorSchemaResult;
921
1024
  /**
922
1025
  * - Indicates whether Cash on Delivery
923
1026
  * (COD) is available for the articles.
924
1027
  */
925
1028
  is_cod_available?: boolean;
926
- promise?: TATPromiseResponse;
1029
+ promise?: TATPromiseResult;
927
1030
  /**
928
1031
  * - The time required to manufacture
929
1032
  * the articles, measured in the unit specified by manufacturing_time_unit.
930
1033
  */
931
1034
  manufacturing_time?: number;
932
- category?: TATCategoryRequest;
1035
+ category?: TATCategoryDetails;
933
1036
  /**
934
1037
  * - The manufacturing time
935
1038
  * converted into seconds.
936
1039
  */
937
1040
  _manufacturing_time_seconds?: number;
938
1041
  };
939
- /** @returns {TATLocationDetailsResponse} */
940
- declare function TATLocationDetailsResponse(): TATLocationDetailsResponse;
941
- type TATLocationDetailsResponse = {
1042
+ /** @returns {TATLocationDetailsResult} */
1043
+ declare function TATLocationDetailsResult(): TATLocationDetailsResult;
1044
+ type TATLocationDetailsResult = {
942
1045
  /**
943
1046
  * - A unique identifier of the fulfilling location.
944
1047
  */
@@ -949,15 +1052,15 @@ type TATLocationDetailsResponse = {
949
1052
  */
950
1053
  from_pincode?: string;
951
1054
  /**
952
- * - List of articles included in
953
- * the fulfillment request, which provides details about the items to be
954
- * processed or shipped.
1055
+ * - List of articles included in the
1056
+ * fulfillment request, which provides details about the items to be processed
1057
+ * or shipped.
955
1058
  */
956
- articles?: TATArticlesResponse[];
1059
+ articles?: TATArticlesResult[];
957
1060
  };
958
- /** @returns {TATViewResponse} */
959
- declare function TATViewResponse(): TATViewResponse;
960
- type TATViewResponse = {
1061
+ /** @returns {TATViewResult} */
1062
+ declare function TATViewResult(): TATViewResult;
1063
+ type TATViewResult = {
961
1064
  /**
962
1065
  * - The postal code of the destination location
963
1066
  * where the fulfillment or shipment is headed.
@@ -975,7 +1078,7 @@ type TATViewResponse = {
975
1078
  * - Whether the request was successful (true/false).
976
1079
  */
977
1080
  success?: boolean;
978
- error?: TATErrorSchemaResponse;
1081
+ error?: TATErrorSchemaResult;
979
1082
  /**
980
1083
  * - Whether Cash on Delivery (COD) is
981
1084
  * available for the request.
@@ -1004,10 +1107,10 @@ type TATViewResponse = {
1004
1107
  */
1005
1108
  identifier?: string;
1006
1109
  /**
1007
- * - Location
1008
- * involved in the request.
1110
+ * - Location involved
1111
+ * in the request.
1009
1112
  */
1010
- location_details?: TATLocationDetailsResponse[];
1113
+ location_details?: TATLocationDetailsResult[];
1011
1114
  /**
1012
1115
  * - Type of journey, either forward or return.
1013
1116
  */
@@ -1069,20 +1172,16 @@ type DP = {
1069
1172
  */
1070
1173
  transport_mode?: string;
1071
1174
  };
1072
- /** @returns {LogisticsResponse} */
1073
- declare function LogisticsResponse(): LogisticsResponse;
1074
- type LogisticsResponse = {
1075
- /**
1076
- * - Provide entity responsible for handling the
1077
- * delivery of goods.
1078
- */
1079
- dp?: any;
1175
+ /** @returns {LogisticsResult} */
1176
+ declare function LogisticsResult(): LogisticsResult;
1177
+ type LogisticsResult = {
1178
+ dp?: DP;
1080
1179
  };
1081
- /** @returns {CountryEntityResponse} */
1082
- declare function CountryEntityResponse(): CountryEntityResponse;
1083
- type CountryEntityResponse = {
1084
- meta?: CountryMetaResponse;
1085
- logistics?: LogisticsResponse;
1180
+ /** @returns {CountryEntityResult} */
1181
+ declare function CountryEntityResult(): CountryEntityResult;
1182
+ type CountryEntityResult = {
1183
+ meta?: CountryMetaResult;
1184
+ logistics?: LogisticsResult;
1086
1185
  /**
1087
1186
  * - User-friendly version of the geographical
1088
1187
  * data, which may be more descriptive or formatted differently.
@@ -1116,18 +1215,18 @@ type CountryEntityResponse = {
1116
1215
  */
1117
1216
  uid?: string;
1118
1217
  };
1119
- /** @returns {CountryListResponse} */
1120
- declare function CountryListResponse(): CountryListResponse;
1121
- type CountryListResponse = {
1218
+ /** @returns {CountryListResult} */
1219
+ declare function CountryListResult(): CountryListResult;
1220
+ type CountryListResult = {
1122
1221
  /**
1123
1222
  * - A list of country entities,
1124
1223
  * each containing details about individual countries.
1125
1224
  */
1126
- results?: CountryEntityResponse[];
1225
+ results?: CountryEntityResult[];
1127
1226
  };
1128
- /** @returns {GetZoneFromPincodeViewRequest} */
1129
- declare function GetZoneFromPincodeViewRequest(): GetZoneFromPincodeViewRequest;
1130
- type GetZoneFromPincodeViewRequest = {
1227
+ /** @returns {GetZoneFromPincodeViewDetails} */
1228
+ declare function GetZoneFromPincodeViewDetails(): GetZoneFromPincodeViewDetails;
1229
+ type GetZoneFromPincodeViewDetails = {
1131
1230
  /**
1132
1231
  * - The postal code or ZIP code used to pinpoint a
1133
1232
  * specific geographic area or location.
@@ -1138,9 +1237,9 @@ type GetZoneFromPincodeViewRequest = {
1138
1237
  */
1139
1238
  country: string;
1140
1239
  };
1141
- /** @returns {GetZoneFromPincodeViewResponse} */
1142
- declare function GetZoneFromPincodeViewResponse(): GetZoneFromPincodeViewResponse;
1143
- type GetZoneFromPincodeViewResponse = {
1240
+ /** @returns {GetZoneFromPincodeViewResult} */
1241
+ declare function GetZoneFromPincodeViewResult(): GetZoneFromPincodeViewResult;
1242
+ type GetZoneFromPincodeViewResult = {
1144
1243
  /**
1145
1244
  * - Specifies the type of serviceability
1146
1245
  * for the given pincode, indicating whether it's deliverable or serviceable
@@ -1153,9 +1252,9 @@ type GetZoneFromPincodeViewResponse = {
1153
1252
  */
1154
1253
  zones: string[];
1155
1254
  };
1156
- /** @returns {ReAssignStoreRequest} */
1157
- declare function ReAssignStoreRequest(): ReAssignStoreRequest;
1158
- type ReAssignStoreRequest = {
1255
+ /** @returns {ReAssignStoreDetails} */
1256
+ declare function ReAssignStoreDetails(): ReAssignStoreDetails;
1257
+ type ReAssignStoreDetails = {
1159
1258
  /**
1160
1259
  * - Specifies the configuration settings or
1161
1260
  * parameters for the store reassignment.
@@ -1181,9 +1280,9 @@ type ReAssignStoreRequest = {
1181
1280
  */
1182
1281
  articles: any[];
1183
1282
  };
1184
- /** @returns {ReAssignStoreResponse} */
1185
- declare function ReAssignStoreResponse(): ReAssignStoreResponse;
1186
- type ReAssignStoreResponse = {
1283
+ /** @returns {ReAssignStoreResult} */
1284
+ declare function ReAssignStoreResult(): ReAssignStoreResult;
1285
+ type ReAssignStoreResult = {
1187
1286
  /**
1188
1287
  * - The postal code of the destination location
1189
1288
  * where the fulfillment or shipment is headed.
@@ -1566,6 +1665,10 @@ type Localities = {
1566
1665
  * (Dubai), or local sectors (Deira).
1567
1666
  */
1568
1667
  name?: string;
1668
+ /**
1669
+ * - Custom meta to store custom json against hierarchy.
1670
+ */
1671
+ custom_meta?: any;
1569
1672
  /**
1570
1673
  * - User-friendly version of the geographical
1571
1674
  * data, which may be more descriptive or formatted differently.
@@ -1606,6 +1709,15 @@ type LocalityParent = {
1606
1709
  * data, which may be more descriptive or formatted differently.
1607
1710
  */
1608
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;
1609
1721
  /**
1610
1722
  * - Identifiers for the parent of the current locality.
1611
1723
  */
@@ -1644,6 +1756,15 @@ type GetLocality = {
1644
1756
  * data, which may be more descriptive or formatted differently.
1645
1757
  */
1646
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;
1647
1768
  /**
1648
1769
  * - Identifiers for the parent of the current locality.
1649
1770
  */
@@ -1661,9 +1782,227 @@ type GetLocality = {
1661
1782
  */
1662
1783
  localities?: LocalityParent[];
1663
1784
  };
1664
- /** @returns {ErrorResponse} */
1665
- declare function ErrorResponse(): ErrorResponse;
1666
- type ErrorResponse = {
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 = {
1667
2006
  /**
1668
2007
  * - Error code identifying the type of error.
1669
2008
  */
@@ -1673,3 +2012,23 @@ type ErrorResponse = {
1673
2012
  */
1674
2013
  message?: string;
1675
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
+ };