@gofynd/fdk-client-javascript 1.4.2-beta.1 → 1.4.2-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 (265) hide show
  1. package/README.md +1 -1
  2. package/package.json +3 -2
  3. package/sdk/application/ApplicationClient.js +20 -0
  4. package/sdk/application/Cart/CartApplicationClient.d.ts +1 -1
  5. package/sdk/application/Cart/CartApplicationClient.js +3 -5
  6. package/sdk/application/Cart/CartApplicationModel.d.ts +1634 -1742
  7. package/sdk/application/Cart/CartApplicationModel.js +1388 -1464
  8. package/sdk/application/Cart/CartApplicationValidator.d.ts +0 -4
  9. package/sdk/application/Cart/CartApplicationValidator.js +0 -4
  10. package/sdk/application/Catalog/CatalogApplicationClient.d.ts +6 -3
  11. package/sdk/application/Catalog/CatalogApplicationClient.js +20 -7
  12. package/sdk/application/Catalog/CatalogApplicationModel.d.ts +1917 -1917
  13. package/sdk/application/Catalog/CatalogApplicationModel.js +1613 -1613
  14. package/sdk/application/Catalog/CatalogApplicationValidator.d.ts +14 -0
  15. package/sdk/application/Catalog/CatalogApplicationValidator.js +6 -0
  16. package/sdk/application/Common/CommonApplicationModel.d.ts +235 -235
  17. package/sdk/application/Common/CommonApplicationModel.js +172 -172
  18. package/sdk/application/Communication/CommunicationApplicationModel.d.ts +72 -72
  19. package/sdk/application/Communication/CommunicationApplicationModel.js +64 -64
  20. package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +1492 -1626
  21. package/sdk/application/Configuration/ConfigurationApplicationModel.js +1038 -1180
  22. package/sdk/application/Content/ContentApplicationClient.d.ts +0 -36
  23. package/sdk/application/Content/ContentApplicationClient.js +0 -246
  24. package/sdk/application/Content/ContentApplicationModel.d.ts +546 -753
  25. package/sdk/application/Content/ContentApplicationModel.js +565 -817
  26. package/sdk/application/Content/ContentApplicationValidator.d.ts +1 -40
  27. package/sdk/application/Content/ContentApplicationValidator.js +0 -41
  28. package/sdk/application/FileStorage/FileStorageApplicationModel.d.ts +79 -79
  29. package/sdk/application/FileStorage/FileStorageApplicationModel.js +84 -84
  30. package/sdk/application/Lead/LeadApplicationModel.d.ts +417 -417
  31. package/sdk/application/Lead/LeadApplicationModel.js +301 -301
  32. package/sdk/application/Logistic/LogisticApplicationClient.d.ts +0 -67
  33. package/sdk/application/Logistic/LogisticApplicationClient.js +0 -547
  34. package/sdk/application/Logistic/LogisticApplicationModel.d.ts +257 -712
  35. package/sdk/application/Logistic/LogisticApplicationModel.js +267 -755
  36. package/sdk/application/Logistic/LogisticApplicationValidator.d.ts +1 -211
  37. package/sdk/application/Logistic/LogisticApplicationValidator.js +0 -131
  38. package/sdk/application/Order/OrderApplicationClient.d.ts +3 -3
  39. package/sdk/application/Order/OrderApplicationClient.js +8 -32
  40. package/sdk/application/Order/OrderApplicationModel.d.ts +845 -853
  41. package/sdk/application/Order/OrderApplicationModel.js +816 -824
  42. package/sdk/application/Order/OrderApplicationValidator.d.ts +0 -20
  43. package/sdk/application/Order/OrderApplicationValidator.js +0 -8
  44. package/sdk/application/Payment/PaymentApplicationClient.d.ts +2 -46
  45. package/sdk/application/Payment/PaymentApplicationClient.js +10 -341
  46. package/sdk/application/Payment/PaymentApplicationModel.d.ts +1892 -2199
  47. package/sdk/application/Payment/PaymentApplicationModel.js +1235 -1506
  48. package/sdk/application/Payment/PaymentApplicationValidator.d.ts +14 -59
  49. package/sdk/application/Payment/PaymentApplicationValidator.js +10 -64
  50. package/sdk/application/PosCart/PosCartApplicationModel.d.ts +1396 -1429
  51. package/sdk/application/PosCart/PosCartApplicationModel.js +1233 -1257
  52. package/sdk/application/Rewards/RewardsApplicationModel.d.ts +214 -214
  53. package/sdk/application/Rewards/RewardsApplicationModel.js +211 -211
  54. package/sdk/application/Share/ShareApplicationModel.d.ts +114 -114
  55. package/sdk/application/Share/ShareApplicationModel.js +121 -121
  56. package/sdk/application/Theme/ThemeApplicationClient.d.ts +1 -1
  57. package/sdk/application/Theme/ThemeApplicationClient.js +3 -7
  58. package/sdk/application/Theme/ThemeApplicationModel.d.ts +783 -969
  59. package/sdk/application/Theme/ThemeApplicationModel.js +571 -867
  60. package/sdk/application/Theme/ThemeApplicationValidator.d.ts +0 -10
  61. package/sdk/application/Theme/ThemeApplicationValidator.js +0 -4
  62. package/sdk/application/User/UserApplicationClient.d.ts +0 -33
  63. package/sdk/application/User/UserApplicationClient.js +0 -239
  64. package/sdk/application/User/UserApplicationModel.d.ts +753 -768
  65. package/sdk/application/User/UserApplicationModel.js +731 -755
  66. package/sdk/application/User/UserApplicationValidator.d.ts +1 -34
  67. package/sdk/application/User/UserApplicationValidator.js +0 -36
  68. package/sdk/common/Clickstream.d.ts +1 -0
  69. package/sdk/common/Clickstream.js +254 -0
  70. package/sdk/common/Utility.js +1 -4
  71. package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +72 -60
  72. package/sdk/partner/FileStorage/FileStoragePartnerModel.js +70 -58
  73. package/sdk/partner/PartnerClient.d.ts +0 -6
  74. package/sdk/partner/PartnerClient.js +0 -9
  75. package/sdk/partner/Theme/ThemePartnerClient.d.ts +0 -10
  76. package/sdk/partner/Theme/ThemePartnerClient.js +0 -80
  77. package/sdk/partner/Theme/ThemePartnerModel.d.ts +1178 -1153
  78. package/sdk/partner/Theme/ThemePartnerModel.js +830 -974
  79. package/sdk/partner/Theme/ThemePartnerValidator.d.ts +0 -1
  80. package/sdk/partner/Theme/ThemePartnerValidator.js +0 -9
  81. package/sdk/partner/index.d.ts +0 -3
  82. package/sdk/partner/index.js +0 -6
  83. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +2 -2
  84. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +123 -123
  85. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +109 -109
  86. package/sdk/platform/Billing/BillingPlatformClient.d.ts +1 -11
  87. package/sdk/platform/Billing/BillingPlatformClient.js +3 -110
  88. package/sdk/platform/Billing/BillingPlatformModel.d.ts +734 -800
  89. package/sdk/platform/Billing/BillingPlatformModel.js +732 -810
  90. package/sdk/platform/Billing/BillingPlatformValidator.d.ts +4 -43
  91. package/sdk/platform/Billing/BillingPlatformValidator.js +2 -29
  92. package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +11 -1
  93. package/sdk/platform/Cart/CartPlatformApplicationClient.js +81 -7
  94. package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +13 -5
  95. package/sdk/platform/Cart/CartPlatformApplicationValidator.js +12 -4
  96. package/sdk/platform/Cart/CartPlatformModel.d.ts +3223 -3328
  97. package/sdk/platform/Cart/CartPlatformModel.js +2875 -2946
  98. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +11 -15
  99. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +21 -52
  100. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +0 -27
  101. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +0 -11
  102. package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +15 -27
  103. package/sdk/platform/Catalog/CatalogPlatformClient.js +93 -189
  104. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +617 -920
  105. package/sdk/platform/Catalog/CatalogPlatformModel.js +584 -919
  106. package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +27 -41
  107. package/sdk/platform/Catalog/CatalogPlatformValidator.js +19 -31
  108. package/sdk/platform/Common/CommonPlatformModel.d.ts +255 -255
  109. package/sdk/platform/Common/CommonPlatformModel.js +187 -187
  110. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +37 -139
  111. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +52 -737
  112. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +3 -133
  113. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +1 -113
  114. package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +1079 -1228
  115. package/sdk/platform/Communication/CommunicationPlatformModel.js +1090 -1262
  116. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +2 -8
  117. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +4 -32
  118. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +629 -658
  119. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +641 -675
  120. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +0 -14
  121. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +0 -6
  122. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +8 -8
  123. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +4 -4
  124. package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +2992 -3231
  125. package/sdk/platform/Configuration/ConfigurationPlatformModel.js +2092 -2303
  126. package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +2 -2
  127. package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +2 -2
  128. package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +0 -391
  129. package/sdk/platform/Content/ContentPlatformApplicationClient.js +1074 -3656
  130. package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +1 -351
  131. package/sdk/platform/Content/ContentPlatformApplicationValidator.js +0 -410
  132. package/sdk/platform/Content/ContentPlatformModel.d.ts +972 -2071
  133. package/sdk/platform/Content/ContentPlatformModel.js +1039 -2355
  134. package/sdk/platform/Discount/DiscountPlatformClient.d.ts +2 -2
  135. package/sdk/platform/Discount/DiscountPlatformClient.js +2 -2
  136. package/sdk/platform/Discount/DiscountPlatformModel.d.ts +174 -259
  137. package/sdk/platform/Discount/DiscountPlatformModel.js +163 -257
  138. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +6 -16
  139. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +8 -117
  140. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +4 -55
  141. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +2 -39
  142. package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +821 -892
  143. package/sdk/platform/FileStorage/FileStoragePlatformModel.js +833 -901
  144. package/sdk/platform/Finance/FinancePlatformClient.d.ts +0 -33
  145. package/sdk/platform/Finance/FinancePlatformClient.js +0 -240
  146. package/sdk/platform/Finance/FinancePlatformModel.d.ts +910 -1056
  147. package/sdk/platform/Finance/FinancePlatformModel.js +884 -1070
  148. package/sdk/platform/Finance/FinancePlatformValidator.d.ts +1 -38
  149. package/sdk/platform/Finance/FinancePlatformValidator.js +0 -38
  150. package/sdk/platform/Inventory/InventoryPlatformModel.d.ts +942 -942
  151. package/sdk/platform/Inventory/InventoryPlatformModel.js +1003 -1003
  152. package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +28 -38
  153. package/sdk/platform/Lead/LeadPlatformApplicationClient.js +56 -137
  154. package/sdk/platform/Lead/LeadPlatformApplicationValidator.d.ts +29 -41
  155. package/sdk/platform/Lead/LeadPlatformApplicationValidator.js +21 -33
  156. package/sdk/platform/Lead/LeadPlatformModel.d.ts +601 -610
  157. package/sdk/platform/Lead/LeadPlatformModel.js +457 -471
  158. package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +1 -11
  159. package/sdk/platform/Order/OrderPlatformApplicationClient.js +1 -93
  160. package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +1 -28
  161. package/sdk/platform/Order/OrderPlatformApplicationValidator.js +0 -18
  162. package/sdk/platform/Order/OrderPlatformClient.d.ts +22 -143
  163. package/sdk/platform/Order/OrderPlatformClient.js +160 -1190
  164. package/sdk/platform/Order/OrderPlatformModel.d.ts +4451 -5275
  165. package/sdk/platform/Order/OrderPlatformModel.js +4039 -4994
  166. package/sdk/platform/Order/OrderPlatformValidator.d.ts +21 -257
  167. package/sdk/platform/Order/OrderPlatformValidator.js +15 -216
  168. package/sdk/platform/Partner/PartnerPlatformModel.d.ts +22 -22
  169. package/sdk/platform/Partner/PartnerPlatformModel.js +22 -22
  170. package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +13 -119
  171. package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +40 -750
  172. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +7 -143
  173. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +6 -133
  174. package/sdk/platform/Payment/PaymentPlatformClient.d.ts +1 -1
  175. package/sdk/platform/Payment/PaymentPlatformClient.js +1 -1
  176. package/sdk/platform/Payment/PaymentPlatformModel.d.ts +2067 -2929
  177. package/sdk/platform/Payment/PaymentPlatformModel.js +1427 -2090
  178. package/sdk/platform/PlatformApplicationClient.d.ts +2 -2
  179. package/sdk/platform/PlatformApplicationClient.js +4 -4
  180. package/sdk/platform/PlatformClient.d.ts +2 -4
  181. package/sdk/platform/PlatformClient.js +4 -8
  182. package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +204 -204
  183. package/sdk/platform/Rewards/RewardsPlatformModel.js +199 -199
  184. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +66 -142
  185. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +147 -645
  186. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +63 -131
  187. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +47 -126
  188. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +105 -217
  189. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +349 -1138
  190. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +989 -1588
  191. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +977 -1695
  192. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +133 -382
  193. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +102 -266
  194. package/sdk/platform/Share/SharePlatformModel.d.ts +147 -147
  195. package/sdk/platform/Share/SharePlatformModel.js +139 -139
  196. package/sdk/platform/Theme/ThemePlatformClient.d.ts +1 -11
  197. package/sdk/platform/Theme/ThemePlatformClient.js +3 -87
  198. package/sdk/platform/Theme/ThemePlatformModel.d.ts +765 -1133
  199. package/sdk/platform/Theme/ThemePlatformModel.js +561 -1009
  200. package/sdk/platform/Theme/ThemePlatformValidator.d.ts +4 -28
  201. package/sdk/platform/Theme/ThemePlatformValidator.js +2 -21
  202. package/sdk/platform/User/UserPlatformApplicationClient.d.ts +1 -116
  203. package/sdk/platform/User/UserPlatformApplicationClient.js +86 -932
  204. package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +7 -224
  205. package/sdk/platform/User/UserPlatformApplicationValidator.js +5 -173
  206. package/sdk/platform/User/UserPlatformModel.d.ts +428 -765
  207. package/sdk/platform/User/UserPlatformModel.js +428 -679
  208. package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +37 -45
  209. package/sdk/platform/Webhook/WebhookPlatformClient.js +57 -61
  210. package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +403 -448
  211. package/sdk/platform/Webhook/WebhookPlatformModel.js +309 -369
  212. package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +10 -7
  213. package/sdk/platform/Webhook/WebhookPlatformValidator.js +6 -6
  214. package/sdk/platform/index.d.ts +1 -1
  215. package/sdk/platform/index.js +2 -2
  216. package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +237 -237
  217. package/sdk/public/Configuration/ConfigurationPublicModel.js +174 -174
  218. package/sdk/public/Inventory/InventoryPublicModel.d.ts +237 -237
  219. package/sdk/public/Inventory/InventoryPublicModel.js +257 -257
  220. package/sdk/public/Partner/PartnerPublicModel.d.ts +104 -104
  221. package/sdk/public/Partner/PartnerPublicModel.js +113 -113
  222. package/sdk/public/PublicClient.d.ts +0 -4
  223. package/sdk/public/PublicClient.js +0 -8
  224. package/sdk/public/Webhook/WebhookPublicClient.d.ts +0 -33
  225. package/sdk/public/Webhook/WebhookPublicClient.js +0 -242
  226. package/sdk/public/Webhook/WebhookPublicModel.d.ts +15 -161
  227. package/sdk/public/Webhook/WebhookPublicModel.js +13 -189
  228. package/sdk/public/Webhook/WebhookPublicValidator.d.ts +1 -23
  229. package/sdk/public/Webhook/WebhookPublicValidator.js +0 -31
  230. package/sdk/public/index.d.ts +0 -2
  231. package/sdk/public/index.js +0 -4
  232. package/sdk/partner/Lead/LeadPartnerClient.d.ts +0 -125
  233. package/sdk/partner/Lead/LeadPartnerClient.js +0 -785
  234. package/sdk/partner/Lead/LeadPartnerModel.d.ts +0 -1127
  235. package/sdk/partner/Lead/LeadPartnerModel.js +0 -896
  236. package/sdk/partner/Lead/LeadPartnerValidator.d.ts +0 -12
  237. package/sdk/partner/Lead/LeadPartnerValidator.js +0 -67
  238. package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +0 -155
  239. package/sdk/partner/Logistics/LogisticsPartnerClient.js +0 -1195
  240. package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +0 -372
  241. package/sdk/partner/Logistics/LogisticsPartnerModel.js +0 -442
  242. package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +0 -16
  243. package/sdk/partner/Logistics/LogisticsPartnerValidator.js +0 -123
  244. package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +0 -99
  245. package/sdk/partner/Webhook/WebhookPartnerClient.js +0 -753
  246. package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +0 -566
  247. package/sdk/partner/Webhook/WebhookPartnerModel.js +0 -583
  248. package/sdk/partner/Webhook/WebhookPartnerValidator.d.ts +0 -12
  249. package/sdk/partner/Webhook/WebhookPartnerValidator.js +0 -74
  250. package/sdk/platform/Content/ContentPlatformClient.d.ts +0 -277
  251. package/sdk/platform/Content/ContentPlatformClient.js +0 -2011
  252. package/sdk/platform/Content/ContentPlatformValidator.d.ts +0 -247
  253. package/sdk/platform/Content/ContentPlatformValidator.js +0 -319
  254. package/sdk/public/Billing/BillingPublicClient.d.ts +0 -23
  255. package/sdk/public/Billing/BillingPublicClient.js +0 -116
  256. package/sdk/public/Billing/BillingPublicModel.d.ts +0 -92
  257. package/sdk/public/Billing/BillingPublicModel.js +0 -96
  258. package/sdk/public/Billing/BillingPublicValidator.d.ts +0 -18
  259. package/sdk/public/Billing/BillingPublicValidator.js +0 -19
  260. package/sdk/public/Content/ContentPublicClient.d.ts +0 -22
  261. package/sdk/public/Content/ContentPublicClient.js +0 -114
  262. package/sdk/public/Content/ContentPublicModel.d.ts +0 -53
  263. package/sdk/public/Content/ContentPublicModel.js +0 -60
  264. package/sdk/public/Content/ContentPublicValidator.d.ts +0 -18
  265. package/sdk/public/Content/ContentPublicValidator.js +0 -19
@@ -1,24 +1,21 @@
1
1
  export = LogisticApplicationModel;
2
2
  /**
3
- * @typedef CountryEntityResponse
3
+ * @typedef PincodeParentsResponse
4
+ * @property {string} [sub_type]
4
5
  * @property {string} [display_name]
5
- * @property {boolean} [is_active]
6
- * @property {LogisticsResponse} [logistics]
7
- * @property {CountryMetaResponse} [meta]
8
6
  * @property {string} [name]
9
- * @property {string} [parent_id]
10
- * @property {string} [sub_type]
11
- * @property {string} [type]
12
7
  * @property {string} [uid]
13
8
  */
14
9
  /**
15
- * @typedef CountryHierarchy
16
- * @property {string} [name]
17
- * @property {string} [slug]
10
+ * @typedef PincodeMetaResponse
11
+ * @property {string} [zone]
12
+ * @property {number} [internal_zone_id]
18
13
  */
19
14
  /**
20
- * @typedef CountryListResponse
21
- * @property {CountryEntityResponse[]} [results]
15
+ * @typedef PincodeErrorSchemaResponse
16
+ * @property {string} [message]
17
+ * @property {string} [value]
18
+ * @property {string} [type]
22
19
  */
23
20
  /**
24
21
  * @typedef CountryMetaResponse
@@ -26,388 +23,191 @@ export = LogisticApplicationModel;
26
23
  * @property {string} [isd_code]
27
24
  */
28
25
  /**
29
- * @typedef CountryObject
30
- * @property {CurrencyObject} [currency]
31
- * @property {string} [display_name]
32
- * @property {CountryHierarchy[]} [hierarchy]
33
- * @property {string} [id]
34
- * @property {string} [iso2]
35
- * @property {string} [iso3]
36
- * @property {string} [latitude]
37
- * @property {string} [longitude]
38
- * @property {string} [name]
39
- * @property {string} [phone_code]
40
- * @property {string[]} [timezones]
41
- * @property {string} [type]
42
- */
43
- /**
44
- * @typedef CurrencyObject
45
- * @property {string} [code]
46
- * @property {string} [name]
47
- * @property {string} [symbol]
48
- */
49
- /**
50
- * @typedef DP
51
- * @property {string} [area_code]
52
- * @property {boolean} [assign_dp_from_sb]
53
- * @property {string} [external_account_id]
54
- * @property {number} fm_priority
55
- * @property {string} [internal_account_id]
56
- * @property {number} lm_priority
57
- * @property {string[]} operations
58
- * @property {string} payment_mode
59
- * @property {number} rvp_priority
60
- * @property {string} [transport_mode]
61
- */
62
- /**
63
- * @typedef ErrorResponse
64
- * @property {string} [error]
65
- */
66
- /**
67
- * @typedef FieldValidation
68
- * @property {FieldValidationRegex} [regex]
26
+ * @typedef PincodeLatLongData
69
27
  * @property {string} [type]
28
+ * @property {string[]} [coordinates]
70
29
  */
71
30
  /**
72
- * @typedef FieldValidationRegex
73
- * @property {LengthValidation} [length]
74
- * @property {string} [value]
75
- */
76
- /**
77
- * @typedef GetCountries
78
- * @property {CountryObject[]} [items]
79
- * @property {Page} [page]
80
- */
81
- /**
82
- * @typedef GetCountry
83
- * @property {CurrencyObject} [currency]
31
+ * @typedef PincodeDataResponse
32
+ * @property {PincodeParentsResponse[]} [parents]
33
+ * @property {PincodeMetaResponse} [meta]
84
34
  * @property {string} [display_name]
85
- * @property {GetCountryFields} [fields]
86
- * @property {CountryHierarchy[]} [hierarchy]
87
- * @property {string} [id]
88
- * @property {string} [iso2]
89
- * @property {string} [iso3]
90
- * @property {string} [latitude]
91
- * @property {string} [longitude]
35
+ * @property {PincodeErrorSchemaResponse} error
36
+ * @property {CountryMetaResponse} [meta_code]
37
+ * @property {PincodeLatLongData} [lat_long]
38
+ * @property {string} [sub_type]
92
39
  * @property {string} [name]
93
- * @property {string} [phone_code]
94
- * @property {string[]} [timezones]
95
- * @property {string} [type]
40
+ * @property {string} [uid]
96
41
  */
97
42
  /**
98
- * @typedef GetCountryFields
99
- * @property {GetCountryFieldsAddress[]} address
100
- * @property {GetCountryFieldsAddressTemplate} address_template
101
- * @property {string[]} serviceability_fields
43
+ * @typedef PincodeApiResponse
44
+ * @property {boolean} success
45
+ * @property {PincodeDataResponse[]} [data]
46
+ * @property {PincodeErrorSchemaResponse} error
102
47
  */
103
48
  /**
104
- * @typedef GetCountryFieldsAddress
105
- * @property {string} display_name
106
- * @property {boolean} [edit]
107
- * @property {string} [error_text]
108
- * @property {string} input
109
- * @property {boolean} required
110
- * @property {string} slug
111
- * @property {FieldValidation} [validation]
112
- * @property {GetCountryFieldsAddressValues} [values]
49
+ * @typedef TATCategoryRequest
50
+ * @property {string} [level]
51
+ * @property {number} [id]
113
52
  */
114
53
  /**
115
- * @typedef GetCountryFieldsAddressTemplate
116
- * @property {string} checkout_form
117
- * @property {string} default_display
118
- * @property {string} store_os_form
54
+ * @typedef TATArticlesRequest
55
+ * @property {TATCategoryRequest} [category]
56
+ * @property {string} [manufacturing_time_unit]
57
+ * @property {number} [manufacturing_time]
119
58
  */
120
59
  /**
121
- * @typedef GetCountryFieldsAddressValues
122
- * @property {GetOneOrAll} [get_all]
123
- * @property {GetOneOrAll} [get_one]
60
+ * @typedef TATLocationDetailsRequest
61
+ * @property {number} [fulfillment_id]
62
+ * @property {string} [from_pincode]
63
+ * @property {TATArticlesRequest[]} [articles]
124
64
  */
125
65
  /**
126
- * @typedef GetLocalities
127
- * @property {Localities[]} [items]
128
- * @property {Page} [page]
66
+ * @typedef TATViewRequest
67
+ * @property {string} [to_pincode]
68
+ * @property {string} [source]
69
+ * @property {string} [action]
70
+ * @property {string} [identifier]
71
+ * @property {TATLocationDetailsRequest[]} [location_details]
72
+ * @property {string} [journey]
129
73
  */
130
74
  /**
131
- * @typedef GetLocality
132
- * @property {string} [display_name]
133
- * @property {string} [id]
134
- * @property {LocalityParent[]} [localities]
135
- * @property {string} [name]
136
- * @property {string[]} [parent_ids]
75
+ * @typedef TATErrorSchemaResponse
76
+ * @property {string} [message]
77
+ * @property {string} [value]
137
78
  * @property {string} [type]
138
79
  */
139
80
  /**
140
- * @typedef GetOneOrAll
141
- * @property {string} [operation_id]
142
- * @property {GetOneOrAllParams} [params]
143
- */
144
- /**
145
- * @typedef GetOneOrAllParams
146
- * @property {GetOneOrAllPath} [path]
147
- * @property {GetOneOrAllQuery} [query]
148
- */
149
- /**
150
- * @typedef GetOneOrAllPath
151
- * @property {string} [locality_type]
152
- * @property {string} [locality_value]
153
- */
154
- /**
155
- * @typedef GetOneOrAllQuery
156
- * @property {string} [city]
157
- * @property {string} [country]
158
- * @property {string} [sector]
159
- * @property {string} [state]
81
+ * @typedef TATTimestampResponse
82
+ * @property {number} [min]
83
+ * @property {number} [max]
160
84
  */
161
85
  /**
162
- * @typedef GetStoreResponse
163
- * @property {StoreItemResponse[]} [items]
164
- * @property {Page} [page]
86
+ * @typedef TATFormattedResponse
87
+ * @property {string} [min]
88
+ * @property {string} [max]
165
89
  */
166
90
  /**
167
- * @typedef GetZoneFromPincodeViewRequest
168
- * @property {string} country
169
- * @property {string} pincode
91
+ * @typedef TATPromiseResponse
92
+ * @property {TATTimestampResponse} [timestamp]
93
+ * @property {TATFormattedResponse} [formatted]
170
94
  */
171
95
  /**
172
- * @typedef GetZoneFromPincodeViewResponse
173
- * @property {string} serviceability_type
174
- * @property {string[]} zones
96
+ * @typedef TATArticlesResponse
97
+ * @property {string} [manufacturing_time_unit]
98
+ * @property {TATErrorSchemaResponse} [error]
99
+ * @property {boolean} [is_cod_available]
100
+ * @property {TATPromiseResponse} [promise]
101
+ * @property {number} [manufacturing_time]
102
+ * @property {TATCategoryRequest} [category]
103
+ * @property {number} [_manufacturing_time_seconds]
175
104
  */
176
105
  /**
177
- * @typedef LengthValidation
178
- * @property {number} [max]
179
- * @property {number} [min]
106
+ * @typedef TATLocationDetailsResponse
107
+ * @property {number} [fulfillment_id]
108
+ * @property {string} [from_pincode]
109
+ * @property {TATArticlesResponse[]} [articles]
180
110
  */
181
111
  /**
182
- * @typedef Localities
183
- * @property {string} [display_name]
184
- * @property {string} [id]
185
- * @property {string} [name]
186
- * @property {string[]} [parent_ids]
187
- * @property {string} [type]
112
+ * @typedef TATViewResponse
113
+ * @property {string} [to_pincode]
114
+ * @property {string} [request_uuid]
115
+ * @property {string} [payment_mode]
116
+ * @property {boolean} [success]
117
+ * @property {TATErrorSchemaResponse} [error]
118
+ * @property {boolean} [is_cod_available]
119
+ * @property {string} [source]
120
+ * @property {string} [action]
121
+ * @property {string} [stormbreaker_uuid]
122
+ * @property {string} [to_city]
123
+ * @property {string} [identifier]
124
+ * @property {TATLocationDetailsResponse[]} [location_details]
125
+ * @property {string} [journey]
188
126
  */
189
127
  /**
190
- * @typedef LocalityParent
191
- * @property {string} [display_name]
192
- * @property {string} [id]
193
- * @property {string} [name]
194
- * @property {string[]} [parent_ids]
195
- * @property {string} [type]
128
+ * @typedef DP
129
+ * @property {number} fm_priority
130
+ * @property {number} lm_priority
131
+ * @property {number} rvp_priority
132
+ * @property {string} payment_mode
133
+ * @property {string[]} operations
134
+ * @property {string} [area_code]
135
+ * @property {boolean} [assign_dp_from_sb]
136
+ * @property {string} [internal_account_id]
137
+ * @property {string} [external_account_id]
138
+ * @property {string} [transport_mode]
196
139
  */
197
140
  /**
198
141
  * @typedef LogisticsResponse
199
142
  * @property {Object} [dp]
200
143
  */
201
144
  /**
202
- * @typedef Page
203
- * @property {number} [current]
204
- * @property {boolean} [has_next]
205
- * @property {boolean} [has_previous]
206
- * @property {number} [item_total]
207
- * @property {string} [next_id]
208
- * @property {number} [size]
209
- * @property {string} type
210
- */
211
- /**
212
- * @typedef PincodeApiResponse
213
- * @property {PincodeDataResponse[]} [data]
214
- * @property {PincodeErrorSchemaResponse} error
215
- * @property {boolean} success
216
- */
217
- /**
218
- * @typedef PincodeDataResponse
145
+ * @typedef CountryEntityResponse
146
+ * @property {CountryMetaResponse} [meta]
147
+ * @property {LogisticsResponse} [logistics]
219
148
  * @property {string} [display_name]
220
- * @property {PincodeErrorSchemaResponse} error
221
- * @property {PincodeLatLongData} [lat_long]
222
- * @property {PincodeMetaResponse} [meta]
223
- * @property {CountryMetaResponse} [meta_code]
224
- * @property {string} [name]
225
- * @property {PincodeParentsResponse[]} [parents]
149
+ * @property {string} [type]
150
+ * @property {boolean} [is_active]
151
+ * @property {string} [parent_id]
226
152
  * @property {string} [sub_type]
153
+ * @property {string} [name]
227
154
  * @property {string} [uid]
228
155
  */
229
156
  /**
230
- * @typedef PincodeErrorSchemaResponse
231
- * @property {string} [message]
232
- * @property {string} [type]
233
- * @property {string} [value]
234
- */
235
- /**
236
- * @typedef PincodeLatLongData
237
- * @property {string[]} [coordinates]
238
- * @property {string} [type]
157
+ * @typedef CountryListResponse
158
+ * @property {CountryEntityResponse[]} [results]
239
159
  */
240
160
  /**
241
- * @typedef PincodeMetaResponse
242
- * @property {number} [internal_zone_id]
243
- * @property {string} [zone]
161
+ * @typedef GetZoneFromPincodeViewRequest
162
+ * @property {string} pincode
163
+ * @property {string} country
244
164
  */
245
165
  /**
246
- * @typedef PincodeParentsResponse
247
- * @property {string} [display_name]
248
- * @property {string} [name]
249
- * @property {string} [sub_type]
250
- * @property {string} [uid]
166
+ * @typedef GetZoneFromPincodeViewResponse
167
+ * @property {string} serviceability_type
168
+ * @property {string[]} zones
251
169
  */
252
170
  /**
253
171
  * @typedef ReAssignStoreRequest
254
- * @property {Object[]} articles
255
172
  * @property {Object} configuration
256
- * @property {string} identifier
257
- * @property {number[]} ignored_locations
258
173
  * @property {string} to_pincode
174
+ * @property {number[]} ignored_locations
175
+ * @property {string} identifier
176
+ * @property {Object[]} articles
259
177
  */
260
178
  /**
261
179
  * @typedef ReAssignStoreResponse
262
- * @property {Object[]} [assigned_stores]
263
- * @property {Object} error
180
+ * @property {string} to_pincode
264
181
  * @property {string} pystormbreaker_uuid
265
182
  * @property {boolean} success
266
- * @property {string} to_pincode
267
- */
268
- /**
269
- * @typedef StoreItemResponse
270
- * @property {number} [company_id]
271
- * @property {string} [fulfillment_type]
272
- * @property {number} [id]
273
- * @property {number} [latitude]
274
- * @property {number} [longitude]
275
- * @property {number} [processing_time]
276
- * @property {string} [store_type]
277
- * @property {string[]} [tags]
278
- */
279
- /**
280
- * @typedef TATArticlesRequest
281
- * @property {TATCategoryRequest} [category]
282
- * @property {number} [manufacturing_time]
283
- * @property {string} [manufacturing_time_unit]
284
- */
285
- /**
286
- * @typedef TATArticlesResponse
287
- * @property {number} [_manufacturing_time_seconds]
288
- * @property {TATCategoryRequest} [category]
289
- * @property {TATErrorSchemaResponse} [error]
290
- * @property {boolean} [is_cod_available]
291
- * @property {number} [manufacturing_time]
292
- * @property {string} [manufacturing_time_unit]
293
- * @property {TATPromiseResponse} [promise]
294
- */
295
- /**
296
- * @typedef TATCategoryRequest
297
- * @property {number} [id]
298
- * @property {string} [level]
299
- */
300
- /**
301
- * @typedef TATErrorSchemaResponse
302
- * @property {string} [message]
303
- * @property {string} [type]
304
- * @property {string} [value]
305
- */
306
- /**
307
- * @typedef TATFormattedResponse
308
- * @property {string} [max]
309
- * @property {string} [min]
310
- */
311
- /**
312
- * @typedef TATLocationDetailsRequest
313
- * @property {TATArticlesRequest[]} [articles]
314
- * @property {string} [from_pincode]
315
- * @property {number} [fulfillment_id]
316
- */
317
- /**
318
- * @typedef TATLocationDetailsResponse
319
- * @property {TATArticlesResponse[]} [articles]
320
- * @property {string} [from_pincode]
321
- * @property {number} [fulfillment_id]
322
- */
323
- /**
324
- * @typedef TATPromiseResponse
325
- * @property {TATFormattedResponse} [formatted]
326
- * @property {TATTimestampResponse} [timestamp]
327
- */
328
- /**
329
- * @typedef TATTimestampResponse
330
- * @property {number} [max]
331
- * @property {number} [min]
332
- */
333
- /**
334
- * @typedef TATViewRequest
335
- * @property {string} [action]
336
- * @property {string} [identifier]
337
- * @property {string} [journey]
338
- * @property {TATLocationDetailsRequest[]} [location_details]
339
- * @property {string} [source]
340
- * @property {string} [to_pincode]
341
- */
342
- /**
343
- * @typedef TATViewResponse
344
- * @property {string} [action]
345
- * @property {TATErrorSchemaResponse} [error]
346
- * @property {string} [identifier]
347
- * @property {boolean} [is_cod_available]
348
- * @property {string} [journey]
349
- * @property {TATLocationDetailsResponse[]} [location_details]
350
- * @property {string} [payment_mode]
351
- * @property {string} [request_uuid]
352
- * @property {string} [source]
353
- * @property {string} [stormbreaker_uuid]
354
- * @property {boolean} [success]
355
- * @property {string} [to_city]
356
- * @property {string} [to_pincode]
357
- */
358
- /**
359
- * @typedef ValidateAddressRequest
360
- * @property {string} [address] - A string representing the complete address,
361
- * combining address line 1, address line 2, area, landmark, sector, city,
362
- * state, and pincode. This provides a comprehensive view of the address details.
363
- * @property {string} [address1] - A string representing the first line of the
364
- * address, typically containing street or building information.
365
- * @property {string} [address2] - A string representing the second line of the
366
- * address, which can be used for additional address details if needed.
367
- * @property {string} [area] - A string specifying the locality or area
368
- * associated with the address.
369
- * @property {string} [city] - A string denoting the city or municipality of the address.
370
- * @property {string} [email] - A string containing the recipient's email address.
371
- * @property {string} [landmark] - A string representing a prominent nearby
372
- * landmark that aids in locating the address.
373
- * @property {string} [name] - A string representing the recipient's name or the
374
- * organization name associated with the address.
375
- * @property {string} [phone] - An integer representing the recipient's contact
376
- * phone number.
377
- * @property {string} [pincode] - A string indicating the postal code or PIN
378
- * code of the address area.
379
- * @property {string} [sector] - A string specifying the sector or district of
380
- * the address if applicable.
381
- * @property {string} [state] - A string indicating the state or province of the address.
183
+ * @property {Object} error
184
+ * @property {Object[]} [assigned_stores]
382
185
  */
383
186
  declare class LogisticApplicationModel {
384
187
  }
385
188
  declare namespace LogisticApplicationModel {
386
- export { CountryEntityResponse, CountryHierarchy, CountryListResponse, CountryMetaResponse, CountryObject, CurrencyObject, DP, ErrorResponse, FieldValidation, FieldValidationRegex, GetCountries, GetCountry, GetCountryFields, GetCountryFieldsAddress, GetCountryFieldsAddressTemplate, GetCountryFieldsAddressValues, GetLocalities, GetLocality, GetOneOrAll, GetOneOrAllParams, GetOneOrAllPath, GetOneOrAllQuery, GetStoreResponse, GetZoneFromPincodeViewRequest, GetZoneFromPincodeViewResponse, LengthValidation, Localities, LocalityParent, LogisticsResponse, Page, PincodeApiResponse, PincodeDataResponse, PincodeErrorSchemaResponse, PincodeLatLongData, PincodeMetaResponse, PincodeParentsResponse, ReAssignStoreRequest, ReAssignStoreResponse, StoreItemResponse, TATArticlesRequest, TATArticlesResponse, TATCategoryRequest, TATErrorSchemaResponse, TATFormattedResponse, TATLocationDetailsRequest, TATLocationDetailsResponse, TATPromiseResponse, TATTimestampResponse, TATViewRequest, TATViewResponse, ValidateAddressRequest };
189
+ export { 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 };
387
190
  }
388
- /** @returns {CountryEntityResponse} */
389
- declare function CountryEntityResponse(): CountryEntityResponse;
390
- type CountryEntityResponse = {
191
+ /** @returns {PincodeParentsResponse} */
192
+ declare function PincodeParentsResponse(): PincodeParentsResponse;
193
+ type PincodeParentsResponse = {
194
+ sub_type?: string;
391
195
  display_name?: string;
392
- is_active?: boolean;
393
- logistics?: LogisticsResponse;
394
- meta?: CountryMetaResponse;
395
196
  name?: string;
396
- parent_id?: string;
397
- sub_type?: string;
398
- type?: string;
399
197
  uid?: string;
400
198
  };
401
- /** @returns {CountryHierarchy} */
402
- declare function CountryHierarchy(): CountryHierarchy;
403
- type CountryHierarchy = {
404
- name?: string;
405
- slug?: string;
199
+ /** @returns {PincodeMetaResponse} */
200
+ declare function PincodeMetaResponse(): PincodeMetaResponse;
201
+ type PincodeMetaResponse = {
202
+ zone?: string;
203
+ internal_zone_id?: number;
406
204
  };
407
- /** @returns {CountryListResponse} */
408
- declare function CountryListResponse(): CountryListResponse;
409
- type CountryListResponse = {
410
- results?: CountryEntityResponse[];
205
+ /** @returns {PincodeErrorSchemaResponse} */
206
+ declare function PincodeErrorSchemaResponse(): PincodeErrorSchemaResponse;
207
+ type PincodeErrorSchemaResponse = {
208
+ message?: string;
209
+ value?: string;
210
+ type?: string;
411
211
  };
412
212
  /** @returns {CountryMetaResponse} */
413
213
  declare function CountryMetaResponse(): CountryMetaResponse;
@@ -415,441 +215,186 @@ type CountryMetaResponse = {
415
215
  country_code?: string;
416
216
  isd_code?: string;
417
217
  };
418
- /** @returns {CountryObject} */
419
- declare function CountryObject(): CountryObject;
420
- type CountryObject = {
421
- currency?: CurrencyObject;
422
- display_name?: string;
423
- hierarchy?: CountryHierarchy[];
424
- id?: string;
425
- iso2?: string;
426
- iso3?: string;
427
- latitude?: string;
428
- longitude?: string;
429
- name?: string;
430
- phone_code?: string;
431
- timezones?: string[];
432
- type?: string;
433
- };
434
- /** @returns {CurrencyObject} */
435
- declare function CurrencyObject(): CurrencyObject;
436
- type CurrencyObject = {
437
- code?: string;
438
- name?: string;
439
- symbol?: string;
440
- };
441
- /** @returns {DP} */
442
- declare function DP(): DP;
443
- type DP = {
444
- area_code?: string;
445
- assign_dp_from_sb?: boolean;
446
- external_account_id?: string;
447
- fm_priority: number;
448
- internal_account_id?: string;
449
- lm_priority: number;
450
- operations: string[];
451
- payment_mode: string;
452
- rvp_priority: number;
453
- transport_mode?: string;
454
- };
455
- /** @returns {ErrorResponse} */
456
- declare function ErrorResponse(): ErrorResponse;
457
- type ErrorResponse = {
458
- error?: string;
459
- };
460
- /** @returns {FieldValidation} */
461
- declare function FieldValidation(): FieldValidation;
462
- type FieldValidation = {
463
- regex?: FieldValidationRegex;
464
- type?: string;
465
- };
466
- /** @returns {FieldValidationRegex} */
467
- declare function FieldValidationRegex(): FieldValidationRegex;
468
- type FieldValidationRegex = {
469
- length?: LengthValidation;
470
- value?: string;
471
- };
472
- /** @returns {GetCountries} */
473
- declare function GetCountries(): GetCountries;
474
- type GetCountries = {
475
- items?: CountryObject[];
476
- page?: Page;
477
- };
478
- /** @returns {GetCountry} */
479
- declare function GetCountry(): GetCountry;
480
- type GetCountry = {
481
- currency?: CurrencyObject;
482
- display_name?: string;
483
- fields?: GetCountryFields;
484
- hierarchy?: CountryHierarchy[];
485
- id?: string;
486
- iso2?: string;
487
- iso3?: string;
488
- latitude?: string;
489
- longitude?: string;
490
- name?: string;
491
- phone_code?: string;
492
- timezones?: string[];
493
- type?: string;
494
- };
495
- /** @returns {GetCountryFields} */
496
- declare function GetCountryFields(): GetCountryFields;
497
- type GetCountryFields = {
498
- address: GetCountryFieldsAddress[];
499
- address_template: GetCountryFieldsAddressTemplate;
500
- serviceability_fields: string[];
501
- };
502
- /** @returns {GetCountryFieldsAddress} */
503
- declare function GetCountryFieldsAddress(): GetCountryFieldsAddress;
504
- type GetCountryFieldsAddress = {
505
- display_name: string;
506
- edit?: boolean;
507
- error_text?: string;
508
- input: string;
509
- required: boolean;
510
- slug: string;
511
- validation?: FieldValidation;
512
- values?: GetCountryFieldsAddressValues;
513
- };
514
- /** @returns {GetCountryFieldsAddressTemplate} */
515
- declare function GetCountryFieldsAddressTemplate(): GetCountryFieldsAddressTemplate;
516
- type GetCountryFieldsAddressTemplate = {
517
- checkout_form: string;
518
- default_display: string;
519
- store_os_form: string;
520
- };
521
- /** @returns {GetCountryFieldsAddressValues} */
522
- declare function GetCountryFieldsAddressValues(): GetCountryFieldsAddressValues;
523
- type GetCountryFieldsAddressValues = {
524
- get_all?: GetOneOrAll;
525
- get_one?: GetOneOrAll;
526
- };
527
- /** @returns {GetLocalities} */
528
- declare function GetLocalities(): GetLocalities;
529
- type GetLocalities = {
530
- items?: Localities[];
531
- page?: Page;
532
- };
533
- /** @returns {GetLocality} */
534
- declare function GetLocality(): GetLocality;
535
- type GetLocality = {
536
- display_name?: string;
537
- id?: string;
538
- localities?: LocalityParent[];
539
- name?: string;
540
- parent_ids?: string[];
541
- type?: string;
542
- };
543
- /** @returns {GetOneOrAll} */
544
- declare function GetOneOrAll(): GetOneOrAll;
545
- type GetOneOrAll = {
546
- operation_id?: string;
547
- params?: GetOneOrAllParams;
548
- };
549
- /** @returns {GetOneOrAllParams} */
550
- declare function GetOneOrAllParams(): GetOneOrAllParams;
551
- type GetOneOrAllParams = {
552
- path?: GetOneOrAllPath;
553
- query?: GetOneOrAllQuery;
554
- };
555
- /** @returns {GetOneOrAllPath} */
556
- declare function GetOneOrAllPath(): GetOneOrAllPath;
557
- type GetOneOrAllPath = {
558
- locality_type?: string;
559
- locality_value?: string;
560
- };
561
- /** @returns {GetOneOrAllQuery} */
562
- declare function GetOneOrAllQuery(): GetOneOrAllQuery;
563
- type GetOneOrAllQuery = {
564
- city?: string;
565
- country?: string;
566
- sector?: string;
567
- state?: string;
568
- };
569
- /** @returns {GetStoreResponse} */
570
- declare function GetStoreResponse(): GetStoreResponse;
571
- type GetStoreResponse = {
572
- items?: StoreItemResponse[];
573
- page?: Page;
574
- };
575
- /** @returns {GetZoneFromPincodeViewRequest} */
576
- declare function GetZoneFromPincodeViewRequest(): GetZoneFromPincodeViewRequest;
577
- type GetZoneFromPincodeViewRequest = {
578
- country: string;
579
- pincode: string;
580
- };
581
- /** @returns {GetZoneFromPincodeViewResponse} */
582
- declare function GetZoneFromPincodeViewResponse(): GetZoneFromPincodeViewResponse;
583
- type GetZoneFromPincodeViewResponse = {
584
- serviceability_type: string;
585
- zones: string[];
586
- };
587
- /** @returns {LengthValidation} */
588
- declare function LengthValidation(): LengthValidation;
589
- type LengthValidation = {
590
- max?: number;
591
- min?: number;
592
- };
593
- /** @returns {Localities} */
594
- declare function Localities(): Localities;
595
- type Localities = {
596
- display_name?: string;
597
- id?: string;
598
- name?: string;
599
- parent_ids?: string[];
600
- type?: string;
601
- };
602
- /** @returns {LocalityParent} */
603
- declare function LocalityParent(): LocalityParent;
604
- type LocalityParent = {
605
- display_name?: string;
606
- id?: string;
607
- name?: string;
608
- parent_ids?: string[];
218
+ /** @returns {PincodeLatLongData} */
219
+ declare function PincodeLatLongData(): PincodeLatLongData;
220
+ type PincodeLatLongData = {
609
221
  type?: string;
610
- };
611
- /** @returns {LogisticsResponse} */
612
- declare function LogisticsResponse(): LogisticsResponse;
613
- type LogisticsResponse = {
614
- dp?: any;
615
- };
616
- /** @returns {Page} */
617
- declare function Page(): Page;
618
- type Page = {
619
- current?: number;
620
- has_next?: boolean;
621
- has_previous?: boolean;
622
- item_total?: number;
623
- next_id?: string;
624
- size?: number;
625
- type: string;
626
- };
627
- /** @returns {PincodeApiResponse} */
628
- declare function PincodeApiResponse(): PincodeApiResponse;
629
- type PincodeApiResponse = {
630
- data?: PincodeDataResponse[];
631
- error: PincodeErrorSchemaResponse;
632
- success: boolean;
222
+ coordinates?: string[];
633
223
  };
634
224
  /** @returns {PincodeDataResponse} */
635
225
  declare function PincodeDataResponse(): PincodeDataResponse;
636
226
  type PincodeDataResponse = {
227
+ parents?: PincodeParentsResponse[];
228
+ meta?: PincodeMetaResponse;
637
229
  display_name?: string;
638
230
  error: PincodeErrorSchemaResponse;
639
- lat_long?: PincodeLatLongData;
640
- meta?: PincodeMetaResponse;
641
231
  meta_code?: CountryMetaResponse;
642
- name?: string;
643
- parents?: PincodeParentsResponse[];
232
+ lat_long?: PincodeLatLongData;
644
233
  sub_type?: string;
645
- uid?: string;
646
- };
647
- /** @returns {PincodeErrorSchemaResponse} */
648
- declare function PincodeErrorSchemaResponse(): PincodeErrorSchemaResponse;
649
- type PincodeErrorSchemaResponse = {
650
- message?: string;
651
- type?: string;
652
- value?: string;
653
- };
654
- /** @returns {PincodeLatLongData} */
655
- declare function PincodeLatLongData(): PincodeLatLongData;
656
- type PincodeLatLongData = {
657
- coordinates?: string[];
658
- type?: string;
659
- };
660
- /** @returns {PincodeMetaResponse} */
661
- declare function PincodeMetaResponse(): PincodeMetaResponse;
662
- type PincodeMetaResponse = {
663
- internal_zone_id?: number;
664
- zone?: string;
665
- };
666
- /** @returns {PincodeParentsResponse} */
667
- declare function PincodeParentsResponse(): PincodeParentsResponse;
668
- type PincodeParentsResponse = {
669
- display_name?: string;
670
234
  name?: string;
671
- sub_type?: string;
672
235
  uid?: string;
673
236
  };
674
- /** @returns {ReAssignStoreRequest} */
675
- declare function ReAssignStoreRequest(): ReAssignStoreRequest;
676
- type ReAssignStoreRequest = {
677
- articles: any[];
678
- configuration: any;
679
- identifier: string;
680
- ignored_locations: number[];
681
- to_pincode: string;
682
- };
683
- /** @returns {ReAssignStoreResponse} */
684
- declare function ReAssignStoreResponse(): ReAssignStoreResponse;
685
- type ReAssignStoreResponse = {
686
- assigned_stores?: any[];
687
- error: any;
688
- pystormbreaker_uuid: string;
237
+ /** @returns {PincodeApiResponse} */
238
+ declare function PincodeApiResponse(): PincodeApiResponse;
239
+ type PincodeApiResponse = {
689
240
  success: boolean;
690
- to_pincode: string;
241
+ data?: PincodeDataResponse[];
242
+ error: PincodeErrorSchemaResponse;
691
243
  };
692
- /** @returns {StoreItemResponse} */
693
- declare function StoreItemResponse(): StoreItemResponse;
694
- type StoreItemResponse = {
695
- company_id?: number;
696
- fulfillment_type?: string;
244
+ /** @returns {TATCategoryRequest} */
245
+ declare function TATCategoryRequest(): TATCategoryRequest;
246
+ type TATCategoryRequest = {
247
+ level?: string;
697
248
  id?: number;
698
- latitude?: number;
699
- longitude?: number;
700
- processing_time?: number;
701
- store_type?: string;
702
- tags?: string[];
703
249
  };
704
250
  /** @returns {TATArticlesRequest} */
705
251
  declare function TATArticlesRequest(): TATArticlesRequest;
706
252
  type TATArticlesRequest = {
707
253
  category?: TATCategoryRequest;
708
- manufacturing_time?: number;
709
254
  manufacturing_time_unit?: string;
710
- };
711
- /** @returns {TATArticlesResponse} */
712
- declare function TATArticlesResponse(): TATArticlesResponse;
713
- type TATArticlesResponse = {
714
- _manufacturing_time_seconds?: number;
715
- category?: TATCategoryRequest;
716
- error?: TATErrorSchemaResponse;
717
- is_cod_available?: boolean;
718
255
  manufacturing_time?: number;
719
- manufacturing_time_unit?: string;
720
- promise?: TATPromiseResponse;
721
256
  };
722
- /** @returns {TATCategoryRequest} */
723
- declare function TATCategoryRequest(): TATCategoryRequest;
724
- type TATCategoryRequest = {
725
- id?: number;
726
- level?: string;
257
+ /** @returns {TATLocationDetailsRequest} */
258
+ declare function TATLocationDetailsRequest(): TATLocationDetailsRequest;
259
+ type TATLocationDetailsRequest = {
260
+ fulfillment_id?: number;
261
+ from_pincode?: string;
262
+ articles?: TATArticlesRequest[];
263
+ };
264
+ /** @returns {TATViewRequest} */
265
+ declare function TATViewRequest(): TATViewRequest;
266
+ type TATViewRequest = {
267
+ to_pincode?: string;
268
+ source?: string;
269
+ action?: string;
270
+ identifier?: string;
271
+ location_details?: TATLocationDetailsRequest[];
272
+ journey?: string;
727
273
  };
728
274
  /** @returns {TATErrorSchemaResponse} */
729
275
  declare function TATErrorSchemaResponse(): TATErrorSchemaResponse;
730
276
  type TATErrorSchemaResponse = {
731
277
  message?: string;
732
- type?: string;
733
278
  value?: string;
279
+ type?: string;
280
+ };
281
+ /** @returns {TATTimestampResponse} */
282
+ declare function TATTimestampResponse(): TATTimestampResponse;
283
+ type TATTimestampResponse = {
284
+ min?: number;
285
+ max?: number;
734
286
  };
735
287
  /** @returns {TATFormattedResponse} */
736
288
  declare function TATFormattedResponse(): TATFormattedResponse;
737
289
  type TATFormattedResponse = {
738
- max?: string;
739
290
  min?: string;
740
- };
741
- /** @returns {TATLocationDetailsRequest} */
742
- declare function TATLocationDetailsRequest(): TATLocationDetailsRequest;
743
- type TATLocationDetailsRequest = {
744
- articles?: TATArticlesRequest[];
745
- from_pincode?: string;
746
- fulfillment_id?: number;
747
- };
748
- /** @returns {TATLocationDetailsResponse} */
749
- declare function TATLocationDetailsResponse(): TATLocationDetailsResponse;
750
- type TATLocationDetailsResponse = {
751
- articles?: TATArticlesResponse[];
752
- from_pincode?: string;
753
- fulfillment_id?: number;
291
+ max?: string;
754
292
  };
755
293
  /** @returns {TATPromiseResponse} */
756
294
  declare function TATPromiseResponse(): TATPromiseResponse;
757
295
  type TATPromiseResponse = {
758
- formatted?: TATFormattedResponse;
759
296
  timestamp?: TATTimestampResponse;
297
+ formatted?: TATFormattedResponse;
760
298
  };
761
- /** @returns {TATTimestampResponse} */
762
- declare function TATTimestampResponse(): TATTimestampResponse;
763
- type TATTimestampResponse = {
764
- max?: number;
765
- min?: number;
299
+ /** @returns {TATArticlesResponse} */
300
+ declare function TATArticlesResponse(): TATArticlesResponse;
301
+ type TATArticlesResponse = {
302
+ manufacturing_time_unit?: string;
303
+ error?: TATErrorSchemaResponse;
304
+ is_cod_available?: boolean;
305
+ promise?: TATPromiseResponse;
306
+ manufacturing_time?: number;
307
+ category?: TATCategoryRequest;
308
+ _manufacturing_time_seconds?: number;
766
309
  };
767
- /** @returns {TATViewRequest} */
768
- declare function TATViewRequest(): TATViewRequest;
769
- type TATViewRequest = {
770
- action?: string;
771
- identifier?: string;
772
- journey?: string;
773
- location_details?: TATLocationDetailsRequest[];
774
- source?: string;
775
- to_pincode?: string;
310
+ /** @returns {TATLocationDetailsResponse} */
311
+ declare function TATLocationDetailsResponse(): TATLocationDetailsResponse;
312
+ type TATLocationDetailsResponse = {
313
+ fulfillment_id?: number;
314
+ from_pincode?: string;
315
+ articles?: TATArticlesResponse[];
776
316
  };
777
317
  /** @returns {TATViewResponse} */
778
318
  declare function TATViewResponse(): TATViewResponse;
779
319
  type TATViewResponse = {
780
- action?: string;
320
+ to_pincode?: string;
321
+ request_uuid?: string;
322
+ payment_mode?: string;
323
+ success?: boolean;
781
324
  error?: TATErrorSchemaResponse;
782
- identifier?: string;
783
325
  is_cod_available?: boolean;
784
- journey?: string;
785
- location_details?: TATLocationDetailsResponse[];
786
- payment_mode?: string;
787
- request_uuid?: string;
788
326
  source?: string;
327
+ action?: string;
789
328
  stormbreaker_uuid?: string;
790
- success?: boolean;
791
329
  to_city?: string;
792
- to_pincode?: string;
330
+ identifier?: string;
331
+ location_details?: TATLocationDetailsResponse[];
332
+ journey?: string;
333
+ };
334
+ /** @returns {DP} */
335
+ declare function DP(): DP;
336
+ type DP = {
337
+ fm_priority: number;
338
+ lm_priority: number;
339
+ rvp_priority: number;
340
+ payment_mode: string;
341
+ operations: string[];
342
+ area_code?: string;
343
+ assign_dp_from_sb?: boolean;
344
+ internal_account_id?: string;
345
+ external_account_id?: string;
346
+ transport_mode?: string;
347
+ };
348
+ /** @returns {LogisticsResponse} */
349
+ declare function LogisticsResponse(): LogisticsResponse;
350
+ type LogisticsResponse = {
351
+ dp?: any;
793
352
  };
794
- /** @returns {ValidateAddressRequest} */
795
- declare function ValidateAddressRequest(): ValidateAddressRequest;
796
- type ValidateAddressRequest = {
797
- /**
798
- * - A string representing the complete address,
799
- * combining address line 1, address line 2, area, landmark, sector, city,
800
- * state, and pincode. This provides a comprehensive view of the address details.
801
- */
802
- address?: string;
803
- /**
804
- * - A string representing the first line of the
805
- * address, typically containing street or building information.
806
- */
807
- address1?: string;
808
- /**
809
- * - A string representing the second line of the
810
- * address, which can be used for additional address details if needed.
811
- */
812
- address2?: string;
813
- /**
814
- * - A string specifying the locality or area
815
- * associated with the address.
816
- */
817
- area?: string;
818
- /**
819
- * - A string denoting the city or municipality of the address.
820
- */
821
- city?: string;
822
- /**
823
- * - A string containing the recipient's email address.
824
- */
825
- email?: string;
826
- /**
827
- * - A string representing a prominent nearby
828
- * landmark that aids in locating the address.
829
- */
830
- landmark?: string;
831
- /**
832
- * - A string representing the recipient's name or the
833
- * organization name associated with the address.
834
- */
353
+ /** @returns {CountryEntityResponse} */
354
+ declare function CountryEntityResponse(): CountryEntityResponse;
355
+ type CountryEntityResponse = {
356
+ meta?: CountryMetaResponse;
357
+ logistics?: LogisticsResponse;
358
+ display_name?: string;
359
+ type?: string;
360
+ is_active?: boolean;
361
+ parent_id?: string;
362
+ sub_type?: string;
835
363
  name?: string;
836
- /**
837
- * - An integer representing the recipient's contact
838
- * phone number.
839
- */
840
- phone?: string;
841
- /**
842
- * - A string indicating the postal code or PIN
843
- * code of the address area.
844
- */
845
- pincode?: string;
846
- /**
847
- * - A string specifying the sector or district of
848
- * the address if applicable.
849
- */
850
- sector?: string;
851
- /**
852
- * - A string indicating the state or province of the address.
853
- */
854
- state?: string;
364
+ uid?: string;
365
+ };
366
+ /** @returns {CountryListResponse} */
367
+ declare function CountryListResponse(): CountryListResponse;
368
+ type CountryListResponse = {
369
+ results?: CountryEntityResponse[];
370
+ };
371
+ /** @returns {GetZoneFromPincodeViewRequest} */
372
+ declare function GetZoneFromPincodeViewRequest(): GetZoneFromPincodeViewRequest;
373
+ type GetZoneFromPincodeViewRequest = {
374
+ pincode: string;
375
+ country: string;
376
+ };
377
+ /** @returns {GetZoneFromPincodeViewResponse} */
378
+ declare function GetZoneFromPincodeViewResponse(): GetZoneFromPincodeViewResponse;
379
+ type GetZoneFromPincodeViewResponse = {
380
+ serviceability_type: string;
381
+ zones: string[];
382
+ };
383
+ /** @returns {ReAssignStoreRequest} */
384
+ declare function ReAssignStoreRequest(): ReAssignStoreRequest;
385
+ type ReAssignStoreRequest = {
386
+ configuration: any;
387
+ to_pincode: string;
388
+ ignored_locations: number[];
389
+ identifier: string;
390
+ articles: any[];
391
+ };
392
+ /** @returns {ReAssignStoreResponse} */
393
+ declare function ReAssignStoreResponse(): ReAssignStoreResponse;
394
+ type ReAssignStoreResponse = {
395
+ to_pincode: string;
396
+ pystormbreaker_uuid: string;
397
+ success: boolean;
398
+ error: any;
399
+ assigned_stores?: any[];
855
400
  };