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

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 +0 -2
  4. package/sdk/application/ApplicationClient.js +0 -2
  5. package/sdk/application/Cart/CartApplicationClient.d.ts +53 -60
  6. package/sdk/application/Cart/CartApplicationClient.js +53 -130
  7. package/sdk/application/Cart/CartApplicationModel.d.ts +143 -489
  8. package/sdk/application/Cart/CartApplicationModel.js +159 -380
  9. package/sdk/application/Cart/CartApplicationValidator.d.ts +19 -38
  10. package/sdk/application/Cart/CartApplicationValidator.js +18 -34
  11. package/sdk/application/Catalog/CatalogApplicationClient.d.ts +68 -88
  12. package/sdk/application/Catalog/CatalogApplicationClient.js +94 -114
  13. package/sdk/application/Catalog/CatalogApplicationModel.d.ts +142 -194
  14. package/sdk/application/Catalog/CatalogApplicationModel.js +133 -171
  15. package/sdk/application/Common/CommonApplicationClient.d.ts +2 -3
  16. package/sdk/application/Common/CommonApplicationClient.js +5 -6
  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 +27 -34
  20. package/sdk/application/Configuration/ConfigurationApplicationClient.js +27 -34
  21. package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +57 -45
  22. package/sdk/application/Configuration/ConfigurationApplicationModel.js +47 -35
  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 +33 -23
  26. package/sdk/application/Content/ContentApplicationClient.js +75 -54
  27. package/sdk/application/Content/ContentApplicationModel.d.ts +37 -93
  28. package/sdk/application/Content/ContentApplicationModel.js +32 -83
  29. package/sdk/application/Content/ContentApplicationValidator.d.ts +17 -23
  30. package/sdk/application/Content/ContentApplicationValidator.js +10 -15
  31. package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +8 -9
  32. package/sdk/application/FileStorage/FileStorageApplicationClient.js +13 -14
  33. package/sdk/application/FileStorage/FileStorageApplicationModel.d.ts +25 -23
  34. package/sdk/application/FileStorage/FileStorageApplicationModel.js +18 -16
  35. package/sdk/application/FileStorage/FileStorageApplicationValidator.d.ts +6 -6
  36. package/sdk/application/FileStorage/FileStorageApplicationValidator.js +6 -6
  37. package/sdk/application/Lead/LeadApplicationClient.d.ts +3 -2
  38. package/sdk/application/Lead/LeadApplicationClient.js +3 -2
  39. package/sdk/application/Lead/LeadApplicationModel.d.ts +11 -11
  40. package/sdk/application/Lead/LeadApplicationModel.js +19 -19
  41. package/sdk/application/Logistic/LogisticApplicationClient.d.ts +16 -39
  42. package/sdk/application/Logistic/LogisticApplicationClient.js +21 -189
  43. package/sdk/application/Logistic/LogisticApplicationModel.d.ts +173 -532
  44. package/sdk/application/Logistic/LogisticApplicationModel.js +139 -409
  45. package/sdk/application/Logistic/LogisticApplicationValidator.d.ts +9 -54
  46. package/sdk/application/Logistic/LogisticApplicationValidator.js +8 -42
  47. package/sdk/application/Order/OrderApplicationClient.d.ts +10 -24
  48. package/sdk/application/Order/OrderApplicationClient.js +13 -96
  49. package/sdk/application/Order/OrderApplicationModel.d.ts +120 -436
  50. package/sdk/application/Order/OrderApplicationModel.js +81 -279
  51. package/sdk/application/Order/OrderApplicationValidator.d.ts +3 -17
  52. package/sdk/application/Order/OrderApplicationValidator.js +2 -15
  53. package/sdk/application/Payment/PaymentApplicationClient.d.ts +99 -96
  54. package/sdk/application/Payment/PaymentApplicationClient.js +114 -111
  55. package/sdk/application/Payment/PaymentApplicationModel.d.ts +289 -293
  56. package/sdk/application/Payment/PaymentApplicationModel.js +241 -243
  57. package/sdk/application/Payment/PaymentApplicationValidator.d.ts +46 -46
  58. package/sdk/application/Payment/PaymentApplicationValidator.js +46 -46
  59. package/sdk/application/Rewards/RewardsApplicationClient.d.ts +16 -13
  60. package/sdk/application/Rewards/RewardsApplicationClient.js +22 -19
  61. package/sdk/application/Rewards/RewardsApplicationModel.d.ts +37 -37
  62. package/sdk/application/Rewards/RewardsApplicationModel.js +29 -29
  63. package/sdk/application/Rewards/RewardsApplicationValidator.d.ts +6 -6
  64. package/sdk/application/Rewards/RewardsApplicationValidator.js +6 -6
  65. package/sdk/application/Share/ShareApplicationModel.js +1 -1
  66. package/sdk/application/Theme/ThemeApplicationClient.d.ts +2 -2
  67. package/sdk/application/Theme/ThemeApplicationClient.js +6 -8
  68. package/sdk/application/Theme/ThemeApplicationModel.d.ts +17 -48
  69. package/sdk/application/Theme/ThemeApplicationModel.js +22 -42
  70. package/sdk/application/Theme/ThemeApplicationValidator.d.ts +3 -16
  71. package/sdk/application/Theme/ThemeApplicationValidator.js +2 -9
  72. package/sdk/application/User/UserApplicationClient.d.ts +10 -10
  73. package/sdk/application/User/UserApplicationClient.js +10 -10
  74. package/sdk/application/User/UserApplicationModel.d.ts +17 -17
  75. package/sdk/application/User/UserApplicationModel.js +16 -16
  76. package/sdk/application/User/UserApplicationValidator.d.ts +2 -2
  77. package/sdk/application/User/UserApplicationValidator.js +2 -2
  78. package/sdk/application/Webhook/WebhookApplicationClient.d.ts +4 -4
  79. package/sdk/application/Webhook/WebhookApplicationClient.js +4 -4
  80. package/sdk/application/Webhook/WebhookApplicationModel.d.ts +9 -11
  81. package/sdk/application/Webhook/WebhookApplicationModel.js +6 -8
  82. package/sdk/application/Webhook/WebhookApplicationValidator.d.ts +2 -2
  83. package/sdk/application/Webhook/WebhookApplicationValidator.js +2 -2
  84. package/sdk/application/index.d.ts +0 -1
  85. package/sdk/application/index.js +0 -2
  86. package/sdk/partner/FileStorage/FileStoragePartnerClient.d.ts +12 -86
  87. package/sdk/partner/FileStorage/FileStoragePartnerClient.js +24 -582
  88. package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +19 -116
  89. package/sdk/partner/FileStorage/FileStoragePartnerModel.js +14 -121
  90. package/sdk/partner/FileStorage/FileStoragePartnerValidator.d.ts +1 -8
  91. package/sdk/partner/FileStorage/FileStoragePartnerValidator.js +4 -51
  92. package/sdk/partner/Lead/LeadPartnerClient.d.ts +2 -2
  93. package/sdk/partner/Lead/LeadPartnerClient.js +2 -2
  94. package/sdk/partner/Lead/LeadPartnerModel.d.ts +5 -5
  95. package/sdk/partner/Lead/LeadPartnerModel.js +15 -15
  96. package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +20 -126
  97. package/sdk/partner/Logistics/LogisticsPartnerClient.js +20 -970
  98. package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +85 -767
  99. package/sdk/partner/Logistics/LogisticsPartnerModel.js +76 -429
  100. package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +0 -10
  101. package/sdk/partner/Logistics/LogisticsPartnerValidator.js +6 -120
  102. package/sdk/partner/Theme/ThemePartnerClient.d.ts +10 -8
  103. package/sdk/partner/Theme/ThemePartnerClient.js +16 -14
  104. package/sdk/partner/Theme/ThemePartnerModel.d.ts +37 -96
  105. package/sdk/partner/Theme/ThemePartnerModel.js +36 -90
  106. package/sdk/partner/Theme/ThemePartnerValidator.js +4 -4
  107. package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +18 -28
  108. package/sdk/partner/Webhook/WebhookPartnerClient.js +18 -103
  109. package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +179 -612
  110. package/sdk/partner/Webhook/WebhookPartnerModel.js +150 -253
  111. package/sdk/partner/Webhook/WebhookPartnerValidator.d.ts +0 -1
  112. package/sdk/partner/Webhook/WebhookPartnerValidator.js +3 -11
  113. package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.d.ts +4 -5
  114. package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.js +8 -14
  115. package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +9 -59
  116. package/sdk/platform/Analytics/AnalyticsPlatformModel.js +4 -40
  117. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +32 -2
  118. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +243 -3
  119. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +130 -11
  120. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +152 -12
  121. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +39 -1
  122. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +35 -0
  123. package/sdk/platform/Billing/BillingPlatformClient.d.ts +12 -12
  124. package/sdk/platform/Billing/BillingPlatformClient.js +15 -15
  125. package/sdk/platform/Billing/BillingPlatformModel.d.ts +388 -443
  126. package/sdk/platform/Billing/BillingPlatformModel.js +263 -280
  127. package/sdk/platform/Billing/BillingPlatformValidator.d.ts +18 -16
  128. package/sdk/platform/Billing/BillingPlatformValidator.js +9 -8
  129. package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +103 -134
  130. package/sdk/platform/Cart/CartPlatformApplicationClient.js +112 -407
  131. package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +65 -111
  132. package/sdk/platform/Cart/CartPlatformApplicationValidator.js +44 -106
  133. package/sdk/platform/Cart/CartPlatformModel.d.ts +1304 -4979
  134. package/sdk/platform/Cart/CartPlatformModel.js +1217 -1922
  135. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +183 -208
  136. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +358 -383
  137. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +126 -122
  138. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +68 -66
  139. package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +118 -141
  140. package/sdk/platform/Catalog/CatalogPlatformClient.js +170 -193
  141. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +1751 -1501
  142. package/sdk/platform/Catalog/CatalogPlatformModel.js +1224 -1393
  143. package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +18 -18
  144. package/sdk/platform/Catalog/CatalogPlatformValidator.js +18 -18
  145. package/sdk/platform/Common/CommonPlatformClient.d.ts +2 -3
  146. package/sdk/platform/Common/CommonPlatformClient.js +2 -3
  147. package/sdk/platform/Common/CommonPlatformModel.d.ts +9 -9
  148. package/sdk/platform/Common/CommonPlatformModel.js +6 -6
  149. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +17 -16
  150. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +17 -16
  151. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +8 -8
  152. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +8 -8
  153. package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +33 -43
  154. package/sdk/platform/Communication/CommunicationPlatformModel.js +34 -38
  155. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +42 -46
  156. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +43 -47
  157. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +223 -223
  158. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +212 -210
  159. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +12 -12
  160. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +12 -12
  161. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +33 -46
  162. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +54 -67
  163. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +18 -18
  164. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +18 -18
  165. package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +24 -45
  166. package/sdk/platform/Configuration/ConfigurationPlatformClient.js +30 -134
  167. package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +124 -283
  168. package/sdk/platform/Configuration/ConfigurationPlatformModel.js +94 -219
  169. package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +9 -37
  170. package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +8 -27
  171. package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +141 -124
  172. package/sdk/platform/Content/ContentPlatformApplicationClient.js +422 -449
  173. package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +141 -179
  174. package/sdk/platform/Content/ContentPlatformApplicationValidator.js +130 -168
  175. package/sdk/platform/Content/ContentPlatformClient.d.ts +106 -142
  176. package/sdk/platform/Content/ContentPlatformClient.js +336 -523
  177. package/sdk/platform/Content/ContentPlatformModel.d.ts +395 -1241
  178. package/sdk/platform/Content/ContentPlatformModel.js +390 -521
  179. package/sdk/platform/Content/ContentPlatformValidator.d.ts +117 -168
  180. package/sdk/platform/Content/ContentPlatformValidator.js +108 -162
  181. package/sdk/platform/Discount/DiscountPlatformClient.d.ts +12 -14
  182. package/sdk/platform/Discount/DiscountPlatformClient.js +12 -14
  183. package/sdk/platform/Discount/DiscountPlatformModel.d.ts +13 -13
  184. package/sdk/platform/Discount/DiscountPlatformModel.js +12 -12
  185. package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +2 -2
  186. package/sdk/platform/Discount/DiscountPlatformValidator.js +2 -2
  187. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +36 -94
  188. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +60 -462
  189. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +15 -62
  190. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +13 -75
  191. package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +19 -19
  192. package/sdk/platform/FileStorage/FileStoragePlatformClient.js +21 -21
  193. package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +101 -370
  194. package/sdk/platform/FileStorage/FileStoragePlatformModel.js +84 -313
  195. package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +6 -6
  196. package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +6 -6
  197. package/sdk/platform/Finance/FinancePlatformClient.d.ts +320 -0
  198. package/sdk/platform/Finance/FinancePlatformClient.js +2333 -0
  199. package/sdk/platform/Finance/FinancePlatformModel.d.ts +2890 -0
  200. package/sdk/platform/Finance/FinancePlatformModel.js +2148 -0
  201. package/sdk/platform/Finance/FinancePlatformValidator.d.ts +284 -0
  202. package/sdk/platform/Finance/FinancePlatformValidator.js +354 -0
  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 +4 -15
  208. package/sdk/platform/Order/OrderPlatformApplicationClient.js +5 -83
  209. package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +4 -25
  210. package/sdk/platform/Order/OrderPlatformApplicationValidator.js +3 -16
  211. package/sdk/platform/Order/OrderPlatformClient.d.ts +97 -178
  212. package/sdk/platform/Order/OrderPlatformClient.js +245 -597
  213. package/sdk/platform/Order/OrderPlatformModel.d.ts +3071 -5449
  214. package/sdk/platform/Order/OrderPlatformModel.js +1656 -3501
  215. package/sdk/platform/Order/OrderPlatformValidator.d.ts +190 -237
  216. package/sdk/platform/Order/OrderPlatformValidator.js +105 -153
  217. package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +4 -6
  218. package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +7 -9
  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 +106 -94
  222. package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +146 -131
  223. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +93 -64
  224. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +70 -62
  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 +507 -386
  228. package/sdk/platform/Payment/PaymentPlatformModel.js +376 -323
  229. package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +10 -10
  230. package/sdk/platform/Payment/PaymentPlatformValidator.js +10 -10
  231. package/sdk/platform/PlatformClient.d.ts +2 -0
  232. package/sdk/platform/PlatformClient.js +4 -0
  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 +35 -45
  240. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +38 -117
  241. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +13 -22
  242. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +12 -24
  243. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +46 -40
  244. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +64 -58
  245. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +341 -602
  246. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +284 -483
  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 +5 -36
  252. package/sdk/platform/Share/SharePlatformModel.js +4 -27
  253. package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +3 -3
  254. package/sdk/platform/Theme/ThemePlatformApplicationClient.js +4 -8
  255. package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +0 -5
  256. package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +0 -2
  257. package/sdk/platform/Theme/ThemePlatformModel.d.ts +11 -37
  258. package/sdk/platform/Theme/ThemePlatformModel.js +15 -33
  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 +78 -25
  266. package/sdk/platform/Webhook/WebhookPlatformClient.js +470 -75
  267. package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +427 -720
  268. package/sdk/platform/Webhook/WebhookPlatformModel.js +386 -410
  269. package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +55 -10
  270. package/sdk/platform/Webhook/WebhookPlatformValidator.js +72 -12
  271. package/sdk/platform/index.d.ts +1 -0
  272. package/sdk/platform/index.js +2 -0
  273. package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +2 -3
  274. package/sdk/public/Configuration/ConfigurationPublicClient.js +5 -6
  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 +2 -112
  278. package/sdk/public/Content/ContentPublicClient.js +5 -791
  279. package/sdk/public/Content/ContentPublicModel.d.ts +3 -549
  280. package/sdk/public/Content/ContentPublicModel.js +3 -649
  281. package/sdk/public/Content/ContentPublicValidator.d.ts +3 -69
  282. package/sdk/public/Content/ContentPublicValidator.js +2 -88
  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/application/Finance/FinanceApplicationClient.d.ts +0 -36
  290. package/sdk/application/Finance/FinanceApplicationClient.js +0 -202
  291. package/sdk/application/Finance/FinanceApplicationModel.d.ts +0 -289
  292. package/sdk/application/Finance/FinanceApplicationModel.js +0 -208
  293. package/sdk/application/Finance/FinanceApplicationValidator.d.ts +0 -25
  294. package/sdk/application/Finance/FinanceApplicationValidator.js +0 -31
@@ -1,12 +1,12 @@
1
1
  export = LogisticsPartnerModel;
2
2
  /**
3
- * @typedef BulkRegionServiceabilityTatDetails
3
+ * @typedef BulkRegionServiceabilityTatRequest
4
4
  * @property {string} country
5
5
  * @property {string} region
6
6
  * @property {string} type
7
7
  */
8
8
  /**
9
- * @typedef BulkRegionServiceabilityTatResultItemData
9
+ * @typedef BulkRegionServiceabilityTatResponseItemData
10
10
  * @property {string} [country]
11
11
  * @property {string} [region]
12
12
  * @property {string} [type]
@@ -16,19 +16,19 @@ export = LogisticsPartnerModel;
16
16
  * @property {string} [file_path]
17
17
  */
18
18
  /**
19
- * @typedef ErrorResult
19
+ * @typedef ErrorResponse
20
20
  * @property {string} value
21
21
  * @property {string} message
22
22
  * @property {string} type
23
23
  */
24
24
  /**
25
- * @typedef FailureResult
25
+ * @typedef FailureResponse
26
26
  * @property {boolean} success
27
- * @property {ErrorResult[]} error
27
+ * @property {ErrorResponse[]} error
28
28
  */
29
29
  /**
30
- * @typedef BulkRegionServiceabilityTatResult
31
- * @property {BulkRegionServiceabilityTatResultItemData[]} [items]
30
+ * @typedef BulkRegionServiceabilityTatResponse
31
+ * @property {BulkRegionServiceabilityTatResponseItemData[]} [items]
32
32
  * @property {Page} [page]
33
33
  */
34
34
  /**
@@ -42,178 +42,14 @@ export = LogisticsPartnerModel;
42
42
  * @property {number} [size] - The number of items per page.
43
43
  */
44
44
  /**
45
- * @typedef RegionTatItemResult
46
- * @property {RegionTatResult[]} items
47
- * @property {Page} page
48
- */
49
- /**
50
- * @typedef RegionServiceabilityItemResult
51
- * @property {RegionServiceabilityResult[]} items
52
- * @property {Page} page
53
- */
54
- /**
55
- * @typedef ServiceabilityDetailsResult
56
- * @property {boolean} [first_mile] - Boolean value indicating whether
57
- * first-mile service is available or not.
58
- * @property {boolean} [last_mile] - Boolean value indicating whether last-mile
59
- * service is available or not.
60
- * @property {number} [cod_limit] - Limit on the amount of cash on delivery
61
- * (COD) payments allowed in the specified region.
62
- * @property {boolean} [doorstep_return] - Indicates if doorstep return service
63
- * is available. This refers to the ability to return items directly from the
64
- * customer's doorstep.
65
- * @property {boolean} [doorstep_qc] - Indicates if doorstep quality check
66
- * service is available. This refers to the ability to perform quality checks
67
- * on items at the customer's doorstep.
68
- * @property {string} [pickup_cutoff] - Time of day by which pickups must be
69
- * scheduled to be processed on the same day.
70
- * @property {boolean} [installation] - Boolean value indicating whether
71
- * installation services are available in the specified region or not.
72
- * @property {string} [id] - Unique identifier for the serviceability record.
73
- */
74
- /**
75
- * @typedef ServiceabilityDetails
76
- * @property {boolean} [first_mile] - Boolean value indicating whether
77
- * first-mile service is available or not.
78
- * @property {boolean} [last_mile] - Boolean value indicating whether last-mile
79
- * service is available or not.
80
- * @property {number} [cod_limit] - Limit on the amount of cash on delivery
81
- * (COD) payments allowed in the specified region.
82
- * @property {boolean} [doorstep_return] - Indicates if doorstep return service
83
- * is available. This refers to the ability to return items directly from the
84
- * customer's doorstep.
85
- * @property {boolean} [doorstep_qc] - Indicates if doorstep quality check
86
- * service is available. This refers to the ability to perform quality checks
87
- * on items at the customer's doorstep.
88
- * @property {string} [pickup_cutoff] - Time of day by which pickups must be
89
- * scheduled to be processed on the same day.
90
- * @property {boolean} [installation] - Boolean value indicating whether
91
- * installation services are available in the specified region or not.
92
- */
93
- /**
94
- * @typedef RegionServiceabilityResult
95
- * @property {string} country_code - ISO2 code representing the country where
96
- * the serviceability is being specified.
97
- * @property {string} [state_code] - Code representing the state or province
98
- * within the country where the serviceability is being specified.
99
- * @property {string} [city_code] - Code representing the city within the state
100
- * where the serviceability is being specified.
101
- * @property {string} [sector_code] - Code representing a specific sector or
102
- * district within the city where the serviceability is being specified.
103
- * @property {string} [pincode] - Postal or ZIP code for the specific area
104
- * within the city where the serviceability is being specified.
105
- * @property {boolean} [first_mile] - Boolean value indicating whether
106
- * first-mile service is available or not.
107
- * @property {boolean} [last_mile] - Boolean value indicating whether last-mile
108
- * service is available or not.
109
- * @property {number} [cod_limit] - Limit on the amount of cash on delivery
110
- * (COD) payments allowed in the specified region.
111
- * @property {boolean} [doorstep_return] - Indicates if doorstep return service
112
- * is available. This refers to the ability to return items directly from the
113
- * customer's doorstep.
114
- * @property {boolean} [doorstep_qc] - Indicates if doorstep quality check
115
- * service is available. This refers to the ability to perform quality checks
116
- * on items at the customer's doorstep.
117
- * @property {string} [pickup_cutoff] - Time of day by which pickups must be
118
- * scheduled to be processed on the same day.
119
- * @property {boolean} [installation] - Boolean value indicating whether
120
- * installation services are available in the specified region or not.
121
- * @property {string} id - Unique identifier for the serviceability record.
122
- */
123
- /**
124
- * @typedef RegionServiceabilityDetails
125
- * @property {string} country_code - ISO2 code representing the country where
126
- * the serviceability is being specified.
127
- * @property {string} [state_code] - Code representing the state or province
128
- * within the country where the serviceability is being specified.
129
- * @property {string} [city_code] - Code representing the city within the state
130
- * where the serviceability is being specified.
131
- * @property {string} [sector_code] - Code representing a specific sector or
132
- * district within the city where the serviceability is being specified.
133
- * @property {string} [pincode] - Postal or ZIP code for the specific area
134
- * within the city where the serviceability is being specified.
135
- * @property {boolean} [first_mile] - Boolean value indicating whether
136
- * first-mile service is available or not.
137
- * @property {boolean} [last_mile] - Boolean value indicating whether last-mile
138
- * service is available or not.
139
- * @property {number} [cod_limit] - Limit on the amount of cash on delivery
140
- * (COD) payments allowed in the specified region.
141
- * @property {boolean} [doorstep_return] - Indicates if doorstep return service
142
- * is available. This refers to the ability to return items directly from the
143
- * customer's doorstep.
144
- * @property {boolean} [doorstep_qc] - Indicates if doorstep quality check
145
- * service is available. This refers to the ability to perform quality checks
146
- * on items at the customer's doorstep.
147
- * @property {string} [pickup_cutoff] - Time of day by which pickups must be
148
- * scheduled to be processed on the same day.
149
- * @property {boolean} [installation] - Boolean value indicating whether
150
- * installation services are available in the specified region or not.
151
- */
152
- /**
153
- * @typedef RegionTatDetails
154
- * @property {string} from_country_code - ISO2 code representing the country of
155
- * origin for the delivery.
156
- * @property {string} [from_state_code] - Code representing the state or
157
- * province of origin within the country.
158
- * @property {string} [from_city_code] - Code representing the city of origin
159
- * within the state.
160
- * @property {string} [from_sector_code] - Code representing a specific sector
161
- * or district within the city of origin.
162
- * @property {string} [from_pincode] - Postal or ZIP code of the origin area.
163
- * @property {string} to_country_code - ISO2 code representing the destination country.
164
- * @property {string} [to_state_code] - Code representing the state or province
165
- * of the destination within the country.
166
- * @property {string} [to_city_code] - Code representing the city of destination
167
- * within the state.
168
- * @property {string} [to_sector_code] - Code representing a specific sector or
169
- * district within the city of destination.
170
- * @property {string} [to_pincode] - Postal or ZIP code of the destination area.
171
- * @property {number} [max_delivery_time] - Maximum time required for delivery
172
- * from the origin to the destination in seconds.
173
- * @property {number} [min_delivery_time] - Minimum time required for delivery
174
- * from the origin to the destination in seconds.
175
- */
176
- /**
177
- * @typedef RegionTatUpdateDetails
178
- * @property {number} [max_delivery_time] - Maximum time required for delivery
179
- * from the origin to the destination in seconds.
180
- * @property {number} [min_delivery_time] - Minimum time required for delivery
181
- * from the origin to the destination in seconds.
182
- */
183
- /**
184
- * @typedef RegionTatResult
185
- * @property {string} from_country_code - ISO2 code representing the country of
186
- * origin for the delivery.
187
- * @property {string} [from_state_code] - Code representing the state or
188
- * province of origin within the country.
189
- * @property {string} [from_city_code] - Code representing the city of origin
190
- * within the state.
191
- * @property {string} [from_sector_code] - Code representing a specific sector
192
- * or district within the city of origin.
193
- * @property {string} [from_pincode] - Postal or ZIP code of the origin area.
194
- * @property {string} to_country_code - ISO2 code representing the destination country.
195
- * @property {string} [to_state_code] - Code representing the state or province
196
- * of the destination within the country.
197
- * @property {string} [to_city_code] - Code representing the city of destination
198
- * within the state.
199
- * @property {string} [to_sector_code] - Code representing a specific sector or
200
- * district within the city of destination.
201
- * @property {string} [to_pincode] - Postal or ZIP code of the destination area.
202
- * @property {number} [max_delivery_time] - Maximum time required for delivery
203
- * from the origin to the destination in seconds.
204
- * @property {number} [min_delivery_time] - Minimum time required for delivery
205
- * from the origin to the destination in seconds.
206
- * @property {string} id - Unique identifier for the delivery time record.
207
- */
208
- /**
209
- * @typedef BulkRegionJobDetails
45
+ * @typedef BulkRegionJobSerializer
210
46
  * @property {string} [file_path]
211
47
  * @property {string} country
212
48
  * @property {string} action
213
49
  * @property {string} region
214
50
  */
215
51
  /**
216
- * @typedef BulkRegionResultItemData
52
+ * @typedef BulkRegionResponseItemData
217
53
  * @property {string} file_path
218
54
  * @property {number} [failed]
219
55
  * @property {Object[]} [failed_records]
@@ -227,8 +63,8 @@ export = LogisticsPartnerModel;
227
63
  * @property {string} [error_file_path]
228
64
  */
229
65
  /**
230
- * @typedef BulkRegionResult
231
- * @property {BulkRegionResultItemData[]} items
66
+ * @typedef BulkRegionResponse
67
+ * @property {BulkRegionResponseItemData[]} items
232
68
  * @property {Page} page
233
69
  */
234
70
  /**
@@ -241,7 +77,7 @@ export = LogisticsPartnerModel;
241
77
  * @property {boolean} is_own_account
242
78
  */
243
79
  /**
244
- * @typedef CourierAccountDetailsBody
80
+ * @typedef CourierAccountRequestBody
245
81
  * @property {string} extension_id
246
82
  * @property {string} [account_id]
247
83
  * @property {string} scheme_id
@@ -250,17 +86,17 @@ export = LogisticsPartnerModel;
250
86
  * @property {boolean} is_own_account
251
87
  */
252
88
  /**
253
- * @typedef CourierPartnerAccountFailureResult
89
+ * @typedef CourierPartnerAccountFailureResponse
254
90
  * @property {boolean} success
255
- * @property {ErrorResult[]} error
91
+ * @property {ErrorResponse[]} error
256
92
  */
257
93
  /**
258
- * @typedef CompanyCourierPartnerAccountListResult
259
- * @property {CourierAccountResult[]} items
94
+ * @typedef CompanyCourierPartnerAccountListResponse
95
+ * @property {CourierAccountResponse[]} items
260
96
  * @property {Page} page
261
97
  */
262
98
  /**
263
- * @typedef CourierAccountResult
99
+ * @typedef CourierAccountResponse
264
100
  * @property {string} account_id
265
101
  * @property {string} scheme_id
266
102
  * @property {boolean} is_self_ship
@@ -282,7 +118,7 @@ export = LogisticsPartnerModel;
282
118
  * @property {CourierPartnerSchemeFeatures} feature
283
119
  */
284
120
  /**
285
- * @typedef CourierPartnerSchemeDetailsModel
121
+ * @typedef CourierPartnerSchemeRequestModel
286
122
  * @property {string} extension_id
287
123
  * @property {string} [scheme_id]
288
124
  * @property {string} name
@@ -296,47 +132,24 @@ export = LogisticsPartnerModel;
296
132
  */
297
133
  /**
298
134
  * @typedef CourierPartnerSchemeFeatures
299
- * @property {boolean} [doorstep_qc] - Indicates if the courier partner offers
300
- * doorstep quality check services.
301
- * @property {boolean} [qr] - Specifies whether the courier partner supports QR
302
- * code-based operations.
303
- * @property {boolean} [mps] - Denotes if the courier partner supports
304
- * multi-part shipment services.
305
- * @property {boolean} [ndr] - Indicates if the Non-Delivery Report (NDR)
306
- * feature is supported by the courier partner.
307
- * @property {number} [ndr_attempts] - Number of attempts allowed for resolving
308
- * Non-Delivery Reports (NDR).
309
- * @property {boolean} [dangerous_goods] - Specifies if the courier partner
310
- * handles the transportation of dangerous goods.
311
- * @property {boolean} [fragile_goods] - Indicates whether the courier partner
312
- * manages the shipment of fragile goods.
313
- * @property {boolean} [restricted_goods] - Indicates if the courier partner
314
- * handles restricted goods, as per regulatory guidelines.
315
- * @property {boolean} [cold_storage_goods] - Denotes if the courier partner
316
- * provides cold storage facilities for goods.
317
- * @property {boolean} [doorstep_exchange] - Indicates if the courier partner
318
- * supports doorstep exchange services.
319
- * @property {boolean} [doorstep_return] - Specifies if the courier partner
320
- * offers doorstep return services.
321
- * @property {boolean} [product_installation] - Indicates if the courier partner
322
- * provides product installation services upon delivery.
323
- * @property {boolean} [openbox_delivery] - Specifies whether the courier
324
- * partner supports open-box delivery, allowing customers to inspect goods
325
- * before accepting.
326
- * @property {string} [status_updates] - Describes the type of status updates
327
- * provided by the courier partner (e.g., real-time, periodic).
328
- * @property {boolean} [multi_pick_single_drop] - Indicates if the courier
329
- * partner supports multiple pickups to a single drop location.
330
- * @property {boolean} [single_pick_multi_drop] - Indicates whether the courier
331
- * partner supports single pickup to multiple drop locations.
332
- * @property {boolean} [multi_pick_multi_drop] - Denotes if the courier partner
333
- * offers services for multiple pickups to multiple drop locations.
334
- * @property {boolean} [ewaybill] - Specifies if the courier partner requires or
335
- * supports the generation of e-waybills for shipments.
336
- * @property {number} [qc_shipment_item_quantity] - Defines the maximum quantity
337
- * of items allowed in a quality check shipment.
338
- * @property {number} [non_qc_shipment_item_quantity] - Defines the maximum
339
- * quantity of items allowed in a non-quality check shipment.
135
+ * @property {boolean} [doorstep_qc]
136
+ * @property {boolean} [qr]
137
+ * @property {boolean} [mps]
138
+ * @property {boolean} [ndr]
139
+ * @property {number} [ndr_attempts]
140
+ * @property {boolean} [dangerous_goods]
141
+ * @property {boolean} [fragile_goods]
142
+ * @property {boolean} [restricted_goods]
143
+ * @property {boolean} [cold_storage_goods]
144
+ * @property {boolean} [doorstep_exchange]
145
+ * @property {boolean} [doorstep_return]
146
+ * @property {boolean} [product_installation]
147
+ * @property {boolean} [openbox_delivery]
148
+ * @property {string} [status_updates]
149
+ * @property {boolean} [multi_pick_single_drop]
150
+ * @property {boolean} [single_pick_multi_drop]
151
+ * @property {boolean} [multi_pick_multi_drop]
152
+ * @property {boolean} [ewaybill]
340
153
  */
341
154
  /**
342
155
  * @typedef ArithmeticOperations
@@ -346,7 +159,7 @@ export = LogisticsPartnerModel;
346
159
  * @property {number} [gte]
347
160
  */
348
161
  /**
349
- * @typedef CourierPartnerSchemeUpdateDetails
162
+ * @typedef CourierPartnerSchemeUpdateRequest
350
163
  * @property {string} name
351
164
  * @property {ArithmeticOperations} weight
352
165
  * @property {string} transport_type
@@ -375,39 +188,27 @@ export = LogisticsPartnerModel;
375
188
  * @property {string} [latitude]
376
189
  * @property {string} [longitude]
377
190
  * @property {string} [display_name]
378
- * @property {boolean} [has_next_hierarchy] - More detailed hierarchical data is
379
- * available, meaning states, cities, or other regions within the country have
380
- * been populated in the system.
381
191
  */
382
192
  /**
383
193
  * @typedef HierarchyItems
384
194
  * @property {string} [display_name]
385
195
  * @property {string} [slug]
386
196
  */
387
- /**
388
- * @typedef ValidationError
389
- * @property {string} message - A brief description of the error encountered.
390
- * @property {string} field - The field in the request that caused the error.
391
- */
392
- /**
393
- * @typedef StandardError
394
- * @property {string} message - A brief description of the error.
395
- */
396
197
  declare class LogisticsPartnerModel {
397
198
  }
398
199
  declare namespace LogisticsPartnerModel {
399
- export { BulkRegionServiceabilityTatDetails, BulkRegionServiceabilityTatResultItemData, ErrorResult, FailureResult, BulkRegionServiceabilityTatResult, Page, RegionTatItemResult, RegionServiceabilityItemResult, ServiceabilityDetailsResult, ServiceabilityDetails, RegionServiceabilityResult, RegionServiceabilityDetails, RegionTatDetails, RegionTatUpdateDetails, RegionTatResult, BulkRegionJobDetails, BulkRegionResultItemData, BulkRegionResult, CourierAccount, CourierAccountDetailsBody, CourierPartnerAccountFailureResult, CompanyCourierPartnerAccountListResult, CourierAccountResult, CourierPartnerSchemeModel, CourierPartnerSchemeDetailsModel, CourierPartnerSchemeFeatures, ArithmeticOperations, CourierPartnerSchemeUpdateDetails, GetCountries, GetCountriesItems, HierarchyItems, ValidationError, StandardError };
200
+ export { BulkRegionServiceabilityTatRequest, BulkRegionServiceabilityTatResponseItemData, ErrorResponse, FailureResponse, BulkRegionServiceabilityTatResponse, Page, BulkRegionJobSerializer, BulkRegionResponseItemData, BulkRegionResponse, CourierAccount, CourierAccountRequestBody, CourierPartnerAccountFailureResponse, CompanyCourierPartnerAccountListResponse, CourierAccountResponse, CourierPartnerSchemeModel, CourierPartnerSchemeRequestModel, CourierPartnerSchemeFeatures, ArithmeticOperations, CourierPartnerSchemeUpdateRequest, GetCountries, GetCountriesItems, HierarchyItems };
400
201
  }
401
- /** @returns {BulkRegionServiceabilityTatDetails} */
402
- declare function BulkRegionServiceabilityTatDetails(): BulkRegionServiceabilityTatDetails;
403
- type BulkRegionServiceabilityTatDetails = {
202
+ /** @returns {BulkRegionServiceabilityTatRequest} */
203
+ declare function BulkRegionServiceabilityTatRequest(): BulkRegionServiceabilityTatRequest;
204
+ type BulkRegionServiceabilityTatRequest = {
404
205
  country: string;
405
206
  region: string;
406
207
  type: string;
407
208
  };
408
- /** @returns {BulkRegionServiceabilityTatResultItemData} */
409
- declare function BulkRegionServiceabilityTatResultItemData(): BulkRegionServiceabilityTatResultItemData;
410
- type BulkRegionServiceabilityTatResultItemData = {
209
+ /** @returns {BulkRegionServiceabilityTatResponseItemData} */
210
+ declare function BulkRegionServiceabilityTatResponseItemData(): BulkRegionServiceabilityTatResponseItemData;
211
+ type BulkRegionServiceabilityTatResponseItemData = {
411
212
  country?: string;
412
213
  region?: string;
413
214
  type?: string;
@@ -416,23 +217,23 @@ type BulkRegionServiceabilityTatResultItemData = {
416
217
  failed_records?: any[];
417
218
  file_path?: string;
418
219
  };
419
- /** @returns {ErrorResult} */
420
- declare function ErrorResult(): ErrorResult;
421
- type ErrorResult = {
220
+ /** @returns {ErrorResponse} */
221
+ declare function ErrorResponse(): ErrorResponse;
222
+ type ErrorResponse = {
422
223
  value: string;
423
224
  message: string;
424
225
  type: string;
425
226
  };
426
- /** @returns {FailureResult} */
427
- declare function FailureResult(): FailureResult;
428
- type FailureResult = {
227
+ /** @returns {FailureResponse} */
228
+ declare function FailureResponse(): FailureResponse;
229
+ type FailureResponse = {
429
230
  success: boolean;
430
- error: ErrorResult[];
231
+ error: ErrorResponse[];
431
232
  };
432
- /** @returns {BulkRegionServiceabilityTatResult} */
433
- declare function BulkRegionServiceabilityTatResult(): BulkRegionServiceabilityTatResult;
434
- type BulkRegionServiceabilityTatResult = {
435
- items?: BulkRegionServiceabilityTatResultItemData[];
233
+ /** @returns {BulkRegionServiceabilityTatResponse} */
234
+ declare function BulkRegionServiceabilityTatResponse(): BulkRegionServiceabilityTatResponse;
235
+ type BulkRegionServiceabilityTatResponse = {
236
+ items?: BulkRegionServiceabilityTatResponseItemData[];
436
237
  page?: Page;
437
238
  };
438
239
  /** @returns {Page} */
@@ -467,391 +268,17 @@ type Page = {
467
268
  */
468
269
  size?: number;
469
270
  };
470
- /** @returns {RegionTatItemResult} */
471
- declare function RegionTatItemResult(): RegionTatItemResult;
472
- type RegionTatItemResult = {
473
- items: RegionTatResult[];
474
- page: Page;
475
- };
476
- /** @returns {RegionServiceabilityItemResult} */
477
- declare function RegionServiceabilityItemResult(): RegionServiceabilityItemResult;
478
- type RegionServiceabilityItemResult = {
479
- items: RegionServiceabilityResult[];
480
- page: Page;
481
- };
482
- /** @returns {ServiceabilityDetailsResult} */
483
- declare function ServiceabilityDetailsResult(): ServiceabilityDetailsResult;
484
- type ServiceabilityDetailsResult = {
485
- /**
486
- * - Boolean value indicating whether
487
- * first-mile service is available or not.
488
- */
489
- first_mile?: boolean;
490
- /**
491
- * - Boolean value indicating whether last-mile
492
- * service is available or not.
493
- */
494
- last_mile?: boolean;
495
- /**
496
- * - Limit on the amount of cash on delivery
497
- * (COD) payments allowed in the specified region.
498
- */
499
- cod_limit?: number;
500
- /**
501
- * - Indicates if doorstep return service
502
- * is available. This refers to the ability to return items directly from the
503
- * customer's doorstep.
504
- */
505
- doorstep_return?: boolean;
506
- /**
507
- * - Indicates if doorstep quality check
508
- * service is available. This refers to the ability to perform quality checks
509
- * on items at the customer's doorstep.
510
- */
511
- doorstep_qc?: boolean;
512
- /**
513
- * - Time of day by which pickups must be
514
- * scheduled to be processed on the same day.
515
- */
516
- pickup_cutoff?: string;
517
- /**
518
- * - Boolean value indicating whether
519
- * installation services are available in the specified region or not.
520
- */
521
- installation?: boolean;
522
- /**
523
- * - Unique identifier for the serviceability record.
524
- */
525
- id?: string;
526
- };
527
- /** @returns {ServiceabilityDetails} */
528
- declare function ServiceabilityDetails(): ServiceabilityDetails;
529
- type ServiceabilityDetails = {
530
- /**
531
- * - Boolean value indicating whether
532
- * first-mile service is available or not.
533
- */
534
- first_mile?: boolean;
535
- /**
536
- * - Boolean value indicating whether last-mile
537
- * service is available or not.
538
- */
539
- last_mile?: boolean;
540
- /**
541
- * - Limit on the amount of cash on delivery
542
- * (COD) payments allowed in the specified region.
543
- */
544
- cod_limit?: number;
545
- /**
546
- * - Indicates if doorstep return service
547
- * is available. This refers to the ability to return items directly from the
548
- * customer's doorstep.
549
- */
550
- doorstep_return?: boolean;
551
- /**
552
- * - Indicates if doorstep quality check
553
- * service is available. This refers to the ability to perform quality checks
554
- * on items at the customer's doorstep.
555
- */
556
- doorstep_qc?: boolean;
557
- /**
558
- * - Time of day by which pickups must be
559
- * scheduled to be processed on the same day.
560
- */
561
- pickup_cutoff?: string;
562
- /**
563
- * - Boolean value indicating whether
564
- * installation services are available in the specified region or not.
565
- */
566
- installation?: boolean;
567
- };
568
- /** @returns {RegionServiceabilityResult} */
569
- declare function RegionServiceabilityResult(): RegionServiceabilityResult;
570
- type RegionServiceabilityResult = {
571
- /**
572
- * - ISO2 code representing the country where
573
- * the serviceability is being specified.
574
- */
575
- country_code: string;
576
- /**
577
- * - Code representing the state or province
578
- * within the country where the serviceability is being specified.
579
- */
580
- state_code?: string;
581
- /**
582
- * - Code representing the city within the state
583
- * where the serviceability is being specified.
584
- */
585
- city_code?: string;
586
- /**
587
- * - Code representing a specific sector or
588
- * district within the city where the serviceability is being specified.
589
- */
590
- sector_code?: string;
591
- /**
592
- * - Postal or ZIP code for the specific area
593
- * within the city where the serviceability is being specified.
594
- */
595
- pincode?: string;
596
- /**
597
- * - Boolean value indicating whether
598
- * first-mile service is available or not.
599
- */
600
- first_mile?: boolean;
601
- /**
602
- * - Boolean value indicating whether last-mile
603
- * service is available or not.
604
- */
605
- last_mile?: boolean;
606
- /**
607
- * - Limit on the amount of cash on delivery
608
- * (COD) payments allowed in the specified region.
609
- */
610
- cod_limit?: number;
611
- /**
612
- * - Indicates if doorstep return service
613
- * is available. This refers to the ability to return items directly from the
614
- * customer's doorstep.
615
- */
616
- doorstep_return?: boolean;
617
- /**
618
- * - Indicates if doorstep quality check
619
- * service is available. This refers to the ability to perform quality checks
620
- * on items at the customer's doorstep.
621
- */
622
- doorstep_qc?: boolean;
623
- /**
624
- * - Time of day by which pickups must be
625
- * scheduled to be processed on the same day.
626
- */
627
- pickup_cutoff?: string;
628
- /**
629
- * - Boolean value indicating whether
630
- * installation services are available in the specified region or not.
631
- */
632
- installation?: boolean;
633
- /**
634
- * - Unique identifier for the serviceability record.
635
- */
636
- id: string;
637
- };
638
- /** @returns {RegionServiceabilityDetails} */
639
- declare function RegionServiceabilityDetails(): RegionServiceabilityDetails;
640
- type RegionServiceabilityDetails = {
641
- /**
642
- * - ISO2 code representing the country where
643
- * the serviceability is being specified.
644
- */
645
- country_code: string;
646
- /**
647
- * - Code representing the state or province
648
- * within the country where the serviceability is being specified.
649
- */
650
- state_code?: string;
651
- /**
652
- * - Code representing the city within the state
653
- * where the serviceability is being specified.
654
- */
655
- city_code?: string;
656
- /**
657
- * - Code representing a specific sector or
658
- * district within the city where the serviceability is being specified.
659
- */
660
- sector_code?: string;
661
- /**
662
- * - Postal or ZIP code for the specific area
663
- * within the city where the serviceability is being specified.
664
- */
665
- pincode?: string;
666
- /**
667
- * - Boolean value indicating whether
668
- * first-mile service is available or not.
669
- */
670
- first_mile?: boolean;
671
- /**
672
- * - Boolean value indicating whether last-mile
673
- * service is available or not.
674
- */
675
- last_mile?: boolean;
676
- /**
677
- * - Limit on the amount of cash on delivery
678
- * (COD) payments allowed in the specified region.
679
- */
680
- cod_limit?: number;
681
- /**
682
- * - Indicates if doorstep return service
683
- * is available. This refers to the ability to return items directly from the
684
- * customer's doorstep.
685
- */
686
- doorstep_return?: boolean;
687
- /**
688
- * - Indicates if doorstep quality check
689
- * service is available. This refers to the ability to perform quality checks
690
- * on items at the customer's doorstep.
691
- */
692
- doorstep_qc?: boolean;
693
- /**
694
- * - Time of day by which pickups must be
695
- * scheduled to be processed on the same day.
696
- */
697
- pickup_cutoff?: string;
698
- /**
699
- * - Boolean value indicating whether
700
- * installation services are available in the specified region or not.
701
- */
702
- installation?: boolean;
703
- };
704
- /** @returns {RegionTatDetails} */
705
- declare function RegionTatDetails(): RegionTatDetails;
706
- type RegionTatDetails = {
707
- /**
708
- * - ISO2 code representing the country of
709
- * origin for the delivery.
710
- */
711
- from_country_code: string;
712
- /**
713
- * - Code representing the state or
714
- * province of origin within the country.
715
- */
716
- from_state_code?: string;
717
- /**
718
- * - Code representing the city of origin
719
- * within the state.
720
- */
721
- from_city_code?: string;
722
- /**
723
- * - Code representing a specific sector
724
- * or district within the city of origin.
725
- */
726
- from_sector_code?: string;
727
- /**
728
- * - Postal or ZIP code of the origin area.
729
- */
730
- from_pincode?: string;
731
- /**
732
- * - ISO2 code representing the destination country.
733
- */
734
- to_country_code: string;
735
- /**
736
- * - Code representing the state or province
737
- * of the destination within the country.
738
- */
739
- to_state_code?: string;
740
- /**
741
- * - Code representing the city of destination
742
- * within the state.
743
- */
744
- to_city_code?: string;
745
- /**
746
- * - Code representing a specific sector or
747
- * district within the city of destination.
748
- */
749
- to_sector_code?: string;
750
- /**
751
- * - Postal or ZIP code of the destination area.
752
- */
753
- to_pincode?: string;
754
- /**
755
- * - Maximum time required for delivery
756
- * from the origin to the destination in seconds.
757
- */
758
- max_delivery_time?: number;
759
- /**
760
- * - Minimum time required for delivery
761
- * from the origin to the destination in seconds.
762
- */
763
- min_delivery_time?: number;
764
- };
765
- /** @returns {RegionTatUpdateDetails} */
766
- declare function RegionTatUpdateDetails(): RegionTatUpdateDetails;
767
- type RegionTatUpdateDetails = {
768
- /**
769
- * - Maximum time required for delivery
770
- * from the origin to the destination in seconds.
771
- */
772
- max_delivery_time?: number;
773
- /**
774
- * - Minimum time required for delivery
775
- * from the origin to the destination in seconds.
776
- */
777
- min_delivery_time?: number;
778
- };
779
- /** @returns {RegionTatResult} */
780
- declare function RegionTatResult(): RegionTatResult;
781
- type RegionTatResult = {
782
- /**
783
- * - ISO2 code representing the country of
784
- * origin for the delivery.
785
- */
786
- from_country_code: string;
787
- /**
788
- * - Code representing the state or
789
- * province of origin within the country.
790
- */
791
- from_state_code?: string;
792
- /**
793
- * - Code representing the city of origin
794
- * within the state.
795
- */
796
- from_city_code?: string;
797
- /**
798
- * - Code representing a specific sector
799
- * or district within the city of origin.
800
- */
801
- from_sector_code?: string;
802
- /**
803
- * - Postal or ZIP code of the origin area.
804
- */
805
- from_pincode?: string;
806
- /**
807
- * - ISO2 code representing the destination country.
808
- */
809
- to_country_code: string;
810
- /**
811
- * - Code representing the state or province
812
- * of the destination within the country.
813
- */
814
- to_state_code?: string;
815
- /**
816
- * - Code representing the city of destination
817
- * within the state.
818
- */
819
- to_city_code?: string;
820
- /**
821
- * - Code representing a specific sector or
822
- * district within the city of destination.
823
- */
824
- to_sector_code?: string;
825
- /**
826
- * - Postal or ZIP code of the destination area.
827
- */
828
- to_pincode?: string;
829
- /**
830
- * - Maximum time required for delivery
831
- * from the origin to the destination in seconds.
832
- */
833
- max_delivery_time?: number;
834
- /**
835
- * - Minimum time required for delivery
836
- * from the origin to the destination in seconds.
837
- */
838
- min_delivery_time?: number;
839
- /**
840
- * - Unique identifier for the delivery time record.
841
- */
842
- id: string;
843
- };
844
- /** @returns {BulkRegionJobDetails} */
845
- declare function BulkRegionJobDetails(): BulkRegionJobDetails;
846
- type BulkRegionJobDetails = {
271
+ /** @returns {BulkRegionJobSerializer} */
272
+ declare function BulkRegionJobSerializer(): BulkRegionJobSerializer;
273
+ type BulkRegionJobSerializer = {
847
274
  file_path?: string;
848
275
  country: string;
849
276
  action: string;
850
277
  region: string;
851
278
  };
852
- /** @returns {BulkRegionResultItemData} */
853
- declare function BulkRegionResultItemData(): BulkRegionResultItemData;
854
- type BulkRegionResultItemData = {
279
+ /** @returns {BulkRegionResponseItemData} */
280
+ declare function BulkRegionResponseItemData(): BulkRegionResponseItemData;
281
+ type BulkRegionResponseItemData = {
855
282
  file_path: string;
856
283
  failed?: number;
857
284
  failed_records?: any[];
@@ -864,10 +291,10 @@ type BulkRegionResultItemData = {
864
291
  total?: number;
865
292
  error_file_path?: string;
866
293
  };
867
- /** @returns {BulkRegionResult} */
868
- declare function BulkRegionResult(): BulkRegionResult;
869
- type BulkRegionResult = {
870
- items: BulkRegionResultItemData[];
294
+ /** @returns {BulkRegionResponse} */
295
+ declare function BulkRegionResponse(): BulkRegionResponse;
296
+ type BulkRegionResponse = {
297
+ items: BulkRegionResponseItemData[];
871
298
  page: Page;
872
299
  };
873
300
  /** @returns {CourierAccount} */
@@ -880,9 +307,9 @@ type CourierAccount = {
880
307
  stage: string;
881
308
  is_own_account: boolean;
882
309
  };
883
- /** @returns {CourierAccountDetailsBody} */
884
- declare function CourierAccountDetailsBody(): CourierAccountDetailsBody;
885
- type CourierAccountDetailsBody = {
310
+ /** @returns {CourierAccountRequestBody} */
311
+ declare function CourierAccountRequestBody(): CourierAccountRequestBody;
312
+ type CourierAccountRequestBody = {
886
313
  extension_id: string;
887
314
  account_id?: string;
888
315
  scheme_id: string;
@@ -890,21 +317,21 @@ type CourierAccountDetailsBody = {
890
317
  stage: string;
891
318
  is_own_account: boolean;
892
319
  };
893
- /** @returns {CourierPartnerAccountFailureResult} */
894
- declare function CourierPartnerAccountFailureResult(): CourierPartnerAccountFailureResult;
895
- type CourierPartnerAccountFailureResult = {
320
+ /** @returns {CourierPartnerAccountFailureResponse} */
321
+ declare function CourierPartnerAccountFailureResponse(): CourierPartnerAccountFailureResponse;
322
+ type CourierPartnerAccountFailureResponse = {
896
323
  success: boolean;
897
- error: ErrorResult[];
324
+ error: ErrorResponse[];
898
325
  };
899
- /** @returns {CompanyCourierPartnerAccountListResult} */
900
- declare function CompanyCourierPartnerAccountListResult(): CompanyCourierPartnerAccountListResult;
901
- type CompanyCourierPartnerAccountListResult = {
902
- items: CourierAccountResult[];
326
+ /** @returns {CompanyCourierPartnerAccountListResponse} */
327
+ declare function CompanyCourierPartnerAccountListResponse(): CompanyCourierPartnerAccountListResponse;
328
+ type CompanyCourierPartnerAccountListResponse = {
329
+ items: CourierAccountResponse[];
903
330
  page: Page;
904
331
  };
905
- /** @returns {CourierAccountResult} */
906
- declare function CourierAccountResult(): CourierAccountResult;
907
- type CourierAccountResult = {
332
+ /** @returns {CourierAccountResponse} */
333
+ declare function CourierAccountResponse(): CourierAccountResponse;
334
+ type CourierAccountResponse = {
908
335
  account_id: string;
909
336
  scheme_id: string;
910
337
  is_self_ship: boolean;
@@ -926,9 +353,9 @@ type CourierPartnerSchemeModel = {
926
353
  stage: string;
927
354
  feature: CourierPartnerSchemeFeatures;
928
355
  };
929
- /** @returns {CourierPartnerSchemeDetailsModel} */
930
- declare function CourierPartnerSchemeDetailsModel(): CourierPartnerSchemeDetailsModel;
931
- type CourierPartnerSchemeDetailsModel = {
356
+ /** @returns {CourierPartnerSchemeRequestModel} */
357
+ declare function CourierPartnerSchemeRequestModel(): CourierPartnerSchemeRequestModel;
358
+ type CourierPartnerSchemeRequestModel = {
932
359
  extension_id: string;
933
360
  scheme_id?: string;
934
361
  name: string;
@@ -943,107 +370,24 @@ type CourierPartnerSchemeDetailsModel = {
943
370
  /** @returns {CourierPartnerSchemeFeatures} */
944
371
  declare function CourierPartnerSchemeFeatures(): CourierPartnerSchemeFeatures;
945
372
  type CourierPartnerSchemeFeatures = {
946
- /**
947
- * - Indicates if the courier partner offers
948
- * doorstep quality check services.
949
- */
950
373
  doorstep_qc?: boolean;
951
- /**
952
- * - Specifies whether the courier partner supports QR
953
- * code-based operations.
954
- */
955
374
  qr?: boolean;
956
- /**
957
- * - Denotes if the courier partner supports
958
- * multi-part shipment services.
959
- */
960
375
  mps?: boolean;
961
- /**
962
- * - Indicates if the Non-Delivery Report (NDR)
963
- * feature is supported by the courier partner.
964
- */
965
376
  ndr?: boolean;
966
- /**
967
- * - Number of attempts allowed for resolving
968
- * Non-Delivery Reports (NDR).
969
- */
970
377
  ndr_attempts?: number;
971
- /**
972
- * - Specifies if the courier partner
973
- * handles the transportation of dangerous goods.
974
- */
975
378
  dangerous_goods?: boolean;
976
- /**
977
- * - Indicates whether the courier partner
978
- * manages the shipment of fragile goods.
979
- */
980
379
  fragile_goods?: boolean;
981
- /**
982
- * - Indicates if the courier partner
983
- * handles restricted goods, as per regulatory guidelines.
984
- */
985
380
  restricted_goods?: boolean;
986
- /**
987
- * - Denotes if the courier partner
988
- * provides cold storage facilities for goods.
989
- */
990
381
  cold_storage_goods?: boolean;
991
- /**
992
- * - Indicates if the courier partner
993
- * supports doorstep exchange services.
994
- */
995
382
  doorstep_exchange?: boolean;
996
- /**
997
- * - Specifies if the courier partner
998
- * offers doorstep return services.
999
- */
1000
383
  doorstep_return?: boolean;
1001
- /**
1002
- * - Indicates if the courier partner
1003
- * provides product installation services upon delivery.
1004
- */
1005
384
  product_installation?: boolean;
1006
- /**
1007
- * - Specifies whether the courier
1008
- * partner supports open-box delivery, allowing customers to inspect goods
1009
- * before accepting.
1010
- */
1011
385
  openbox_delivery?: boolean;
1012
- /**
1013
- * - Describes the type of status updates
1014
- * provided by the courier partner (e.g., real-time, periodic).
1015
- */
1016
386
  status_updates?: string;
1017
- /**
1018
- * - Indicates if the courier
1019
- * partner supports multiple pickups to a single drop location.
1020
- */
1021
387
  multi_pick_single_drop?: boolean;
1022
- /**
1023
- * - Indicates whether the courier
1024
- * partner supports single pickup to multiple drop locations.
1025
- */
1026
388
  single_pick_multi_drop?: boolean;
1027
- /**
1028
- * - Denotes if the courier partner
1029
- * offers services for multiple pickups to multiple drop locations.
1030
- */
1031
389
  multi_pick_multi_drop?: boolean;
1032
- /**
1033
- * - Specifies if the courier partner requires or
1034
- * supports the generation of e-waybills for shipments.
1035
- */
1036
390
  ewaybill?: boolean;
1037
- /**
1038
- * - Defines the maximum quantity
1039
- * of items allowed in a quality check shipment.
1040
- */
1041
- qc_shipment_item_quantity?: number;
1042
- /**
1043
- * - Defines the maximum
1044
- * quantity of items allowed in a non-quality check shipment.
1045
- */
1046
- non_qc_shipment_item_quantity?: number;
1047
391
  };
1048
392
  /** @returns {ArithmeticOperations} */
1049
393
  declare function ArithmeticOperations(): ArithmeticOperations;
@@ -1053,9 +397,9 @@ type ArithmeticOperations = {
1053
397
  lte?: number;
1054
398
  gte?: number;
1055
399
  };
1056
- /** @returns {CourierPartnerSchemeUpdateDetails} */
1057
- declare function CourierPartnerSchemeUpdateDetails(): CourierPartnerSchemeUpdateDetails;
1058
- type CourierPartnerSchemeUpdateDetails = {
400
+ /** @returns {CourierPartnerSchemeUpdateRequest} */
401
+ declare function CourierPartnerSchemeUpdateRequest(): CourierPartnerSchemeUpdateRequest;
402
+ type CourierPartnerSchemeUpdateRequest = {
1059
403
  name: string;
1060
404
  weight: ArithmeticOperations;
1061
405
  transport_type: string;
@@ -1086,12 +430,6 @@ type GetCountriesItems = {
1086
430
  latitude?: string;
1087
431
  longitude?: string;
1088
432
  display_name?: string;
1089
- /**
1090
- * - More detailed hierarchical data is
1091
- * available, meaning states, cities, or other regions within the country have
1092
- * been populated in the system.
1093
- */
1094
- has_next_hierarchy?: boolean;
1095
433
  };
1096
434
  /** @returns {HierarchyItems} */
1097
435
  declare function HierarchyItems(): HierarchyItems;
@@ -1099,23 +437,3 @@ type HierarchyItems = {
1099
437
  display_name?: string;
1100
438
  slug?: string;
1101
439
  };
1102
- /** @returns {ValidationError} */
1103
- declare function ValidationError(): ValidationError;
1104
- type ValidationError = {
1105
- /**
1106
- * - A brief description of the error encountered.
1107
- */
1108
- message: string;
1109
- /**
1110
- * - The field in the request that caused the error.
1111
- */
1112
- field: string;
1113
- };
1114
- /** @returns {StandardError} */
1115
- declare function StandardError(): StandardError;
1116
- type StandardError = {
1117
- /**
1118
- * - A brief description of the error.
1119
- */
1120
- message: string;
1121
- };