@gofynd/fdk-client-javascript 1.6.4 → 3.1.0-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 (290) 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 +100 -80
  6. package/sdk/application/Cart/CartApplicationClient.js +257 -126
  7. package/sdk/application/Catalog/CatalogApplicationClient.d.ts +110 -110
  8. package/sdk/application/Catalog/CatalogApplicationClient.js +122 -138
  9. package/sdk/application/Common/CommonApplicationClient.d.ts +4 -4
  10. package/sdk/application/Common/CommonApplicationClient.js +3 -3
  11. package/sdk/application/Communication/CommunicationApplicationClient.d.ts +43 -3
  12. package/sdk/application/Communication/CommunicationApplicationClient.js +190 -3
  13. package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +71 -36
  14. package/sdk/application/Configuration/ConfigurationApplicationClient.js +103 -29
  15. package/sdk/application/Content/ContentApplicationClient.d.ts +61 -21
  16. package/sdk/application/Content/ContentApplicationClient.js +250 -36
  17. package/sdk/application/Lead/LeadApplicationClient.d.ts +3 -3
  18. package/sdk/application/Lead/LeadApplicationClient.js +3 -3
  19. package/sdk/application/Logistic/LogisticApplicationClient.d.ts +106 -57
  20. package/sdk/application/Logistic/LogisticApplicationClient.js +326 -208
  21. package/sdk/application/Order/OrderApplicationClient.d.ts +44 -24
  22. package/sdk/application/Order/OrderApplicationClient.js +140 -21
  23. package/sdk/application/Payment/PaymentApplicationClient.d.ts +211 -111
  24. package/sdk/application/Payment/PaymentApplicationClient.js +610 -109
  25. package/sdk/application/Rewards/RewardsApplicationClient.d.ts +13 -13
  26. package/sdk/application/Rewards/RewardsApplicationClient.js +7 -7
  27. package/sdk/application/Share/ShareApplicationClient.d.ts +7 -7
  28. package/sdk/application/Share/ShareApplicationClient.js +14 -14
  29. package/sdk/application/Theme/ThemeApplicationClient.d.ts +23 -3
  30. package/sdk/application/Theme/ThemeApplicationClient.js +103 -5
  31. package/sdk/application/User/UserApplicationClient.d.ts +13 -23
  32. package/sdk/application/User/UserApplicationClient.js +9 -57
  33. package/sdk/application/Webhook/WebhookApplicationClient.d.ts +4 -4
  34. package/sdk/application/Webhook/WebhookApplicationClient.js +3 -3
  35. package/sdk/partner/Authorization/AuthorizationPartnerClient.d.ts +66 -0
  36. package/sdk/partner/Authorization/AuthorizationPartnerClient.js +431 -0
  37. package/sdk/partner/Authorization/AuthorizationPartnerModel.d.ts +231 -0
  38. package/sdk/partner/Authorization/AuthorizationPartnerModel.js +152 -0
  39. package/sdk/partner/Authorization/AuthorizationPartnerValidator.d.ts +8 -0
  40. package/sdk/partner/Authorization/AuthorizationPartnerValidator.js +39 -0
  41. package/sdk/partner/Catalog/CatalogPartnerClient.d.ts +26 -0
  42. package/sdk/partner/Catalog/CatalogPartnerClient.js +173 -0
  43. package/sdk/partner/Catalog/CatalogPartnerModel.d.ts +238 -0
  44. package/sdk/partner/Catalog/CatalogPartnerModel.js +248 -0
  45. package/sdk/partner/Catalog/CatalogPartnerValidator.d.ts +5 -0
  46. package/sdk/partner/Catalog/CatalogPartnerValidator.js +19 -0
  47. package/sdk/partner/FileStorage/FileStoragePartnerClient.d.ts +0 -10
  48. package/sdk/partner/FileStorage/FileStoragePartnerClient.js +0 -75
  49. package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +1 -54
  50. package/sdk/partner/FileStorage/FileStoragePartnerModel.js +0 -43
  51. package/sdk/partner/FileStorage/FileStoragePartnerValidator.d.ts +0 -1
  52. package/sdk/partner/FileStorage/FileStoragePartnerValidator.js +0 -6
  53. package/sdk/partner/Lead/LeadPartnerClient.d.ts +5 -5
  54. package/sdk/partner/Lead/LeadPartnerClient.js +4 -4
  55. package/sdk/partner/Lead/LeadPartnerModel.d.ts +100 -49
  56. package/sdk/partner/Lead/LeadPartnerModel.js +100 -74
  57. package/sdk/partner/Lead/LeadPartnerValidator.js +1 -1
  58. package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +33 -160
  59. package/sdk/partner/Logistics/LogisticsPartnerClient.js +66 -1180
  60. package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +288 -1685
  61. package/sdk/partner/Logistics/LogisticsPartnerModel.js +226 -824
  62. package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +1 -13
  63. package/sdk/partner/Logistics/LogisticsPartnerValidator.js +14 -141
  64. package/sdk/partner/PartnerClient.d.ts +6 -0
  65. package/sdk/partner/PartnerClient.js +9 -0
  66. package/sdk/partner/Payment/PaymentPartnerClient.d.ts +116 -0
  67. package/sdk/partner/Payment/PaymentPartnerClient.js +857 -0
  68. package/sdk/partner/Payment/PaymentPartnerModel.d.ts +388 -0
  69. package/sdk/partner/Payment/PaymentPartnerModel.js +442 -0
  70. package/sdk/partner/Payment/PaymentPartnerValidator.d.ts +14 -0
  71. package/sdk/partner/Payment/PaymentPartnerValidator.js +74 -0
  72. package/sdk/partner/Theme/ThemePartnerClient.d.ts +63 -21
  73. package/sdk/partner/Theme/ThemePartnerClient.js +396 -71
  74. package/sdk/partner/Theme/ThemePartnerModel.d.ts +104 -72
  75. package/sdk/partner/Theme/ThemePartnerModel.js +101 -75
  76. package/sdk/partner/Theme/ThemePartnerValidator.d.ts +5 -1
  77. package/sdk/partner/Theme/ThemePartnerValidator.js +42 -12
  78. package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +18 -18
  79. package/sdk/partner/Webhook/WebhookPartnerClient.js +18 -18
  80. package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +191 -670
  81. package/sdk/partner/Webhook/WebhookPartnerModel.js +159 -268
  82. package/sdk/partner/Webhook/WebhookPartnerValidator.js +3 -3
  83. package/sdk/partner/index.d.ts +3 -0
  84. package/sdk/partner/index.js +6 -0
  85. package/sdk/platform/Analytics/AnalyticsPlatformApplicationValidator.d.ts +1 -4
  86. package/sdk/platform/Analytics/AnalyticsPlatformApplicationValidator.js +1 -1
  87. package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +5 -0
  88. package/sdk/platform/Analytics/AnalyticsPlatformModel.js +3 -1
  89. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +32 -2
  90. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +243 -3
  91. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +145 -49
  92. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +171 -20
  93. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +39 -1
  94. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +35 -0
  95. package/sdk/platform/Billing/BillingPlatformClient.d.ts +12 -12
  96. package/sdk/platform/Billing/BillingPlatformClient.js +15 -15
  97. package/sdk/platform/Billing/BillingPlatformModel.d.ts +388 -443
  98. package/sdk/platform/Billing/BillingPlatformModel.js +263 -280
  99. package/sdk/platform/Billing/BillingPlatformValidator.d.ts +18 -16
  100. package/sdk/platform/Billing/BillingPlatformValidator.js +9 -8
  101. package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +251 -172
  102. package/sdk/platform/Cart/CartPlatformApplicationClient.js +639 -521
  103. package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +165 -165
  104. package/sdk/platform/Cart/CartPlatformApplicationValidator.js +108 -132
  105. package/sdk/platform/Cart/CartPlatformModel.d.ts +3150 -4468
  106. package/sdk/platform/Cart/CartPlatformModel.js +2858 -1867
  107. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +976 -380
  108. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +6475 -2015
  109. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +1083 -162
  110. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +884 -80
  111. package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +325 -568
  112. package/sdk/platform/Catalog/CatalogPlatformClient.js +1162 -1562
  113. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +6008 -7688
  114. package/sdk/platform/Catalog/CatalogPlatformModel.js +9522 -6892
  115. package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +234 -227
  116. package/sdk/platform/Catalog/CatalogPlatformValidator.js +183 -177
  117. package/sdk/platform/Common/CommonPlatformClient.d.ts +5 -6
  118. package/sdk/platform/Common/CommonPlatformClient.js +5 -6
  119. package/sdk/platform/Common/CommonPlatformModel.d.ts +9 -9
  120. package/sdk/platform/Common/CommonPlatformModel.js +6 -6
  121. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +374 -238
  122. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +876 -588
  123. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +170 -139
  124. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +145 -126
  125. package/sdk/platform/Communication/CommunicationPlatformClient.d.ts +56 -3
  126. package/sdk/platform/Communication/CommunicationPlatformClient.js +307 -4
  127. package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +506 -270
  128. package/sdk/platform/Communication/CommunicationPlatformModel.js +611 -313
  129. package/sdk/platform/Communication/CommunicationPlatformValidator.d.ts +62 -3
  130. package/sdk/platform/Communication/CommunicationPlatformValidator.js +48 -2
  131. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +78 -77
  132. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +97 -91
  133. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +238 -256
  134. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +222 -244
  135. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +31 -20
  136. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +25 -20
  137. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +333 -118
  138. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +1470 -409
  139. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +158 -55
  140. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +163 -41
  141. package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +151 -61
  142. package/sdk/platform/Configuration/ConfigurationPlatformClient.js +595 -101
  143. package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +1206 -459
  144. package/sdk/platform/Configuration/ConfigurationPlatformModel.js +1011 -320
  145. package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +80 -34
  146. package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +79 -24
  147. package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +255 -140
  148. package/sdk/platform/Content/ContentPlatformApplicationClient.js +1095 -464
  149. package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +221 -178
  150. package/sdk/platform/Content/ContentPlatformApplicationValidator.js +220 -157
  151. package/sdk/platform/Content/ContentPlatformClient.d.ts +124 -123
  152. package/sdk/platform/Content/ContentPlatformClient.js +459 -379
  153. package/sdk/platform/Content/ContentPlatformModel.d.ts +871 -1315
  154. package/sdk/platform/Content/ContentPlatformModel.js +940 -599
  155. package/sdk/platform/Content/ContentPlatformValidator.d.ts +140 -150
  156. package/sdk/platform/Content/ContentPlatformValidator.js +131 -135
  157. package/sdk/platform/Discount/DiscountPlatformClient.d.ts +60 -36
  158. package/sdk/platform/Discount/DiscountPlatformClient.js +85 -36
  159. package/sdk/platform/Discount/DiscountPlatformModel.d.ts +46 -47
  160. package/sdk/platform/Discount/DiscountPlatformModel.js +42 -46
  161. package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +2 -2
  162. package/sdk/platform/Discount/DiscountPlatformValidator.js +2 -2
  163. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +18 -15
  164. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +24 -22
  165. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +4 -4
  166. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +4 -4
  167. package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +8 -8
  168. package/sdk/platform/FileStorage/FileStoragePlatformClient.js +8 -8
  169. package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +75 -86
  170. package/sdk/platform/FileStorage/FileStoragePlatformModel.js +60 -74
  171. package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +6 -6
  172. package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +6 -6
  173. package/sdk/platform/Finance/FinancePlatformClient.d.ts +320 -0
  174. package/sdk/platform/Finance/FinancePlatformClient.js +2333 -0
  175. package/sdk/platform/Finance/FinancePlatformModel.d.ts +2895 -0
  176. package/sdk/platform/Finance/FinancePlatformModel.js +2150 -0
  177. package/sdk/platform/Finance/FinancePlatformValidator.d.ts +284 -0
  178. package/sdk/platform/Finance/FinancePlatformValidator.js +354 -0
  179. package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +17 -17
  180. package/sdk/platform/Lead/LeadPlatformApplicationClient.js +33 -33
  181. package/sdk/platform/Lead/LeadPlatformApplicationValidator.d.ts +19 -19
  182. package/sdk/platform/Lead/LeadPlatformApplicationValidator.js +14 -14
  183. package/sdk/platform/Lead/LeadPlatformClient.d.ts +4 -24
  184. package/sdk/platform/Lead/LeadPlatformClient.js +4 -160
  185. package/sdk/platform/Lead/LeadPlatformModel.d.ts +142 -57
  186. package/sdk/platform/Lead/LeadPlatformModel.js +162 -79
  187. package/sdk/platform/Lead/LeadPlatformValidator.d.ts +3 -29
  188. package/sdk/platform/Lead/LeadPlatformValidator.js +2 -28
  189. package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +94 -25
  190. package/sdk/platform/Order/OrderPlatformApplicationClient.js +600 -57
  191. package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +115 -115
  192. package/sdk/platform/Order/OrderPlatformApplicationValidator.js +120 -43
  193. package/sdk/platform/Order/OrderPlatformClient.d.ts +486 -277
  194. package/sdk/platform/Order/OrderPlatformClient.js +1491 -938
  195. package/sdk/platform/Order/OrderPlatformModel.d.ts +4560 -8636
  196. package/sdk/platform/Order/OrderPlatformModel.js +3604 -4056
  197. package/sdk/platform/Order/OrderPlatformValidator.d.ts +445 -612
  198. package/sdk/platform/Order/OrderPlatformValidator.js +316 -326
  199. package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +4 -6
  200. package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +7 -9
  201. package/sdk/platform/Partner/PartnerPlatformModel.d.ts +9 -9
  202. package/sdk/platform/Partner/PartnerPlatformModel.js +7 -7
  203. package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +382 -135
  204. package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +2453 -935
  205. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +306 -93
  206. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +305 -70
  207. package/sdk/platform/Payment/PaymentPlatformClient.d.ts +66 -56
  208. package/sdk/platform/Payment/PaymentPlatformClient.js +269 -124
  209. package/sdk/platform/Payment/PaymentPlatformModel.d.ts +3531 -1292
  210. package/sdk/platform/Payment/PaymentPlatformModel.js +3813 -1504
  211. package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +64 -35
  212. package/sdk/platform/Payment/PaymentPlatformValidator.js +60 -34
  213. package/sdk/platform/PlatformClient.d.ts +2 -0
  214. package/sdk/platform/PlatformClient.js +4 -0
  215. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +2 -2
  216. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +2 -2
  217. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +2 -2
  218. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.js +2 -2
  219. package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +14 -9
  220. package/sdk/platform/Rewards/RewardsPlatformModel.js +10 -8
  221. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +344 -56
  222. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +2188 -302
  223. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +394 -54
  224. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +342 -37
  225. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +150 -212
  226. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +589 -1238
  227. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +3581 -2960
  228. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +3730 -1779
  229. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +230 -382
  230. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +164 -287
  231. package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +4 -16
  232. package/sdk/platform/Share/SharePlatformApplicationClient.js +8 -86
  233. package/sdk/platform/Share/SharePlatformApplicationValidator.d.ts +6 -23
  234. package/sdk/platform/Share/SharePlatformApplicationValidator.js +3 -16
  235. package/sdk/platform/Share/SharePlatformModel.d.ts +11 -50
  236. package/sdk/platform/Share/SharePlatformModel.js +5 -43
  237. package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +36 -16
  238. package/sdk/platform/Theme/ThemePlatformApplicationClient.js +201 -58
  239. package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +28 -17
  240. package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +33 -16
  241. package/sdk/platform/Theme/ThemePlatformClient.d.ts +18 -8
  242. package/sdk/platform/Theme/ThemePlatformClient.js +85 -8
  243. package/sdk/platform/Theme/ThemePlatformModel.d.ts +425 -17
  244. package/sdk/platform/Theme/ThemePlatformModel.js +329 -23
  245. package/sdk/platform/Theme/ThemePlatformValidator.d.ts +7 -3
  246. package/sdk/platform/Theme/ThemePlatformValidator.js +9 -2
  247. package/sdk/platform/User/UserPlatformApplicationClient.d.ts +18 -71
  248. package/sdk/platform/User/UserPlatformApplicationClient.js +27 -412
  249. package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +10 -114
  250. package/sdk/platform/User/UserPlatformApplicationValidator.js +7 -80
  251. package/sdk/platform/User/UserPlatformModel.d.ts +216 -264
  252. package/sdk/platform/User/UserPlatformModel.js +209 -216
  253. package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +78 -25
  254. package/sdk/platform/Webhook/WebhookPlatformClient.js +470 -75
  255. package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +428 -810
  256. package/sdk/platform/Webhook/WebhookPlatformModel.js +395 -444
  257. package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +55 -10
  258. package/sdk/platform/Webhook/WebhookPlatformValidator.js +72 -12
  259. package/sdk/platform/index.d.ts +1 -0
  260. package/sdk/platform/index.js +2 -0
  261. package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +14 -4
  262. package/sdk/public/Configuration/ConfigurationPublicClient.js +97 -9
  263. package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +102 -40
  264. package/sdk/public/Configuration/ConfigurationPublicModel.js +111 -29
  265. package/sdk/public/Configuration/ConfigurationPublicValidator.d.ts +11 -1
  266. package/sdk/public/Configuration/ConfigurationPublicValidator.js +12 -0
  267. package/sdk/public/Content/ContentPublicClient.d.ts +22 -0
  268. package/sdk/public/Content/ContentPublicClient.js +183 -0
  269. package/sdk/public/Content/ContentPublicModel.d.ts +38 -1
  270. package/sdk/public/Content/ContentPublicModel.js +47 -1
  271. package/sdk/public/Content/ContentPublicValidator.d.ts +17 -1
  272. package/sdk/public/Content/ContentPublicValidator.js +19 -0
  273. package/sdk/public/PublicClient.d.ts +0 -2
  274. package/sdk/public/PublicClient.js +0 -4
  275. package/sdk/public/Webhook/WebhookPublicClient.d.ts +8 -8
  276. package/sdk/public/Webhook/WebhookPublicClient.js +8 -8
  277. package/sdk/public/Webhook/WebhookPublicModel.d.ts +67 -215
  278. package/sdk/public/Webhook/WebhookPublicModel.js +61 -66
  279. package/sdk/public/Webhook/WebhookPublicValidator.d.ts +4 -4
  280. package/sdk/public/Webhook/WebhookPublicValidator.js +4 -4
  281. package/sdk/public/index.d.ts +0 -1
  282. package/sdk/public/index.js +0 -2
  283. package/sdk/application/Finance/FinanceApplicationClient.d.ts +0 -29
  284. package/sdk/application/Finance/FinanceApplicationClient.js +0 -126
  285. package/sdk/public/Catalog/CatalogPublicClient.d.ts +0 -22
  286. package/sdk/public/Catalog/CatalogPublicClient.js +0 -138
  287. package/sdk/public/Catalog/CatalogPublicModel.d.ts +0 -155
  288. package/sdk/public/Catalog/CatalogPublicModel.js +0 -116
  289. package/sdk/public/Catalog/CatalogPublicValidator.d.ts +0 -55
  290. package/sdk/public/Catalog/CatalogPublicValidator.js +0 -35
@@ -1,104 +1,101 @@
1
1
  export = ServiceabilityPlatformValidator;
2
2
  /**
3
- * @typedef BulkServiceabilityParam
4
- * @property {string} extensionId - Unique Identifier of courier partner extension.
5
- * @property {string} schemeId - Unique identifier of courier partner scheme.
6
- * @property {ServiceabilityPlatformModel.BulkRegionJobDetails} body
3
+ * @typedef CreateCourierPartnerAccountParam
4
+ * @property {ServiceabilityPlatformModel.CourierAccount} body
7
5
  */
8
6
  /**
9
- * @typedef BulkTatParam
10
- * @property {string} extensionId - Unique Identifier of courier partner extension.
11
- * @property {string} schemeId - Unique identifier of courier partner scheme.
12
- * @property {ServiceabilityPlatformModel.BulkRegionJobDetails} body
7
+ * @typedef CreatePackageMaterialParam
8
+ * @property {number} [pageNo] - Index of the item to start returning with
9
+ * @property {ServiceabilityPlatformModel.PackageMaterial} body
13
10
  */
14
11
  /**
15
- * @typedef CreateCourierPartnerAccountParam
16
- * @property {ServiceabilityPlatformModel.CourierAccountDetailsBody} body
12
+ * @typedef CreatePackageMaterialRuleParam
13
+ * @property {ServiceabilityPlatformModel.PackageRuleRequest} body
17
14
  */
15
+ /** @typedef GetCompanyConfigurationParam */
16
+ /** @typedef GetCompanySelfShipParam */
18
17
  /**
19
- * @typedef CreateCourierPartnerSchemeParam
20
- * @property {ServiceabilityPlatformModel.CourierPartnerSchemeV2DetailsModel} body
18
+ * @typedef GetCountriesParam
19
+ * @property {boolean} [onboard] - Only fetch countries which allowed for
20
+ * onboard on Platform.
21
+ * @property {number} [pageNo] - The page number to navigate through the given
22
+ * set of results. Default value is 1.
23
+ * @property {number} [pageSize] - The number of items to retrieve in each page.
24
+ * Default value is 12
25
+ * @property {string} [q] - The search string to search in the list of countries by name.
26
+ * @property {string} [hierarchy] - The search filter to filter countries based
27
+ * on their available hierarchy.
21
28
  */
22
29
  /**
23
- * @typedef CreatePackageMaterialParam
24
- * @property {ServiceabilityPlatformModel.PackageMaterial} body
30
+ * @typedef GetCountryParam
31
+ * @property {string} countryIsoCode - The `country_iso_code` is ISO-2 (alpha-2)
32
+ * code for the country.
25
33
  */
26
34
  /**
27
- * @typedef CreatePackageMaterialRuleParam
28
- * @property {ServiceabilityPlatformModel.PackageRule} body
35
+ * @typedef GetCourierPartnerAccountParam
36
+ * @property {string} accountId - Unique ID of courier account
29
37
  */
30
38
  /**
31
- * @typedef CreateZoneParam
32
- * @property {ServiceabilityPlatformModel.CreateZoneData} body
39
+ * @typedef GetCourierPartnerAccountsParam
40
+ * @property {number} [pageNo] - Index of the item to start returning with
41
+ * @property {number} [pageSize] - Determines the items to be displayed in a page
42
+ * @property {string} [stage] - Stage of the account. enabled/disabled
43
+ * @property {string} [paymentMode] - Filters dp accounts based on payment mode
44
+ * @property {string} [transportType] - Filters dp accounts based on transport_type
45
+ * @property {string[]} [accountIds] - Filters dp accounts based on their ids
46
+ * @property {boolean} [selfShip] - To filter self ship/non self ship dp accounts
47
+ * @property {boolean} [ownAccount] - Filters seller owned or admin owned dp accounts
48
+ * @property {string} [q] - Filters dp accounts based on case sensitive partial
49
+ * account name
33
50
  */
34
- /** @typedef GetAllStoresParam */
35
51
  /**
36
- * @typedef GetBulkServiceabilityParam
37
- * @property {string} extensionId - Unique Identifier of courier partner extension.
38
- * @property {string} schemeId - Unique identifier of courier partner scheme.
52
+ * @typedef GetInstalledCourierPartnerExtensionsParam
39
53
  * @property {number} [pageNo] - Index of the item to start returning with
40
54
  * @property {number} [pageSize] - Determines the items to be displayed in a page
41
- * @property {string} [batchId] - Unique identifier of bulk job
42
- * @property {string} [action] - Import or export bulk type
43
- * @property {string} [status] - Status of the bulk actions
44
- * @property {string} [country] - Country for which bulk job is initiated
45
- * @property {string} [region] - Region for which bulk job is initiated
46
- * @property {string} [startDate] - Fetch job history after a particule date
47
- * @property {string} [endDate] - Fetch job history before a particule date
55
+ * @property {string} [isInstalled] - Filter to get installed extensions only
48
56
  */
49
57
  /**
50
- * @typedef GetBulkTatParam
51
- * @property {string} extensionId - Unique Identifier of courier partner extension.
52
- * @property {string} schemeId - Unique identifier of courier partner scheme.
58
+ * @typedef GetListPackageMaterialRuleDetailsParam
53
59
  * @property {number} [pageNo] - Index of the item to start returning with
54
60
  * @property {number} [pageSize] - Determines the items to be displayed in a page
55
- * @property {string} [batchId] - Unique identifier of bulk job
56
- * @property {string} [action] - Import or export bulk type
57
- * @property {string} [status] - Status of the bulk actions
58
- * @property {string} [country] - Country for which bulk job is initiated
59
- * @property {string} [region] - Region for which bulk job is initiated
60
- * @property {string} [startDate] - Fetch job history after a particule date
61
- * @property {string} [endDate] - Fetch job history before a particule date
61
+ * @property {string} [isActive] - Filters items based on given is_active
62
62
  */
63
- /** @typedef GetCompanyConfigurationParam */
64
63
  /**
65
- * @typedef GetCountriesParam
66
- * @property {boolean} [onboarding] - Only fetch countries which allowed for
67
- * onboard on Platform.
64
+ * @typedef GetLocalitiesParam
65
+ * @property {string} localityType - A `locality_type` contains unique
66
+ * geographical division.
67
+ * @property {string} [country] - A `country` contains a specific value of the
68
+ * country iso2 code.
69
+ * @property {string} [state] - A `state` contains a specific value of the
70
+ * state, province.
71
+ * @property {string} [city] - A `city` contains a specific value of the city.
68
72
  * @property {number} [pageNo] - Page number.
69
73
  * @property {number} [pageSize] - Page size.
70
74
  * @property {string} [q] - Search.
71
- * @property {string} [hierarchy] - Fetch countries that has certain heirarchy present.
72
- */
73
- /**
74
- * @typedef GetCourierPartnerAccountParam
75
- * @property {string} accountId - Unique ID of courier partner account
75
+ * @property {string} [name] - Search for localities. Either provide a full name
76
+ * or a search term.
76
77
  */
77
78
  /**
78
- * @typedef GetCourierPartnerAccountsParam
79
- * @property {number} [pageNo] - Index of the item to start returning with
80
- * @property {number} [pageSize] - Determines the items to be displayed in a page
81
- * @property {string} [stage] - Stage of the account. enabled/disabled
82
- * @property {string} [paymentMode] - Filters dp accounts based on payment mode
83
- * @property {string} [transportType] - Filters dp accounts based on transport_type
79
+ * @typedef GetLocalitiesByPrefixParam
80
+ * @property {number} [pageNo] - Starting index of the items.
81
+ * @property {number} [pageSize] - Number of items per page.
82
+ * @property {string} [q] - Localities starting with the specified prefix.
84
83
  */
85
84
  /**
86
- * @typedef GetCourierPartnerSchemeParam
87
- * @property {string} schemeId - Unique Identifier of Scheme
88
- */
89
- /**
90
- * @typedef GetCourierPartnerSchemesParam
91
- * @property {string} [schemeType] - Indicates whether a scheme is created by an
92
- * admin for global purposes or customized for a specific company.
93
- * @property {string} [paymentMode] - Indicates payment mode for a scheme.
94
- * @property {string[]} [capabilities] - Indicates whether the scheme possesses
95
- * certain capabilities.
96
- * @property {string[]} [schemeIds] - List of scheme ids which need to be
97
- * returned in the response.
85
+ * @typedef GetLocalityParam
86
+ * @property {string} localityType - A `locality_type` contains value
87
+ * geographical division.
88
+ * @property {string} localityValue - A `locality_value` contains a specific
89
+ * name of the locality.
90
+ * @property {string} [country] - A `country` contains a specific value of the
91
+ * country iso2 code.
92
+ * @property {string} [state] - A `state` contains a specific value of the
93
+ * state, province.
94
+ * @property {string} [city] - A `city` contains a specific value of the city.
98
95
  */
99
96
  /**
100
97
  * @typedef GetOptimalLocationsParam
101
- * @property {ServiceabilityPlatformModel.OptimlLocationsDetailsSchema} body
98
+ * @property {ServiceabilityPlatformModel.OptimlLocationsRequestSchema} body
102
99
  */
103
100
  /**
104
101
  * @typedef GetPackageMaterialListParam
@@ -114,202 +111,157 @@ export = ServiceabilityPlatformValidator;
114
111
  * identifier for a Package Material Rule
115
112
  */
116
113
  /**
117
- * @typedef GetPackageMaterialRulesParam
114
+ * @typedef GetPackageMaterialRuleDetailsParam
115
+ * @property {string} ruleId - A `package_material_rule_id` is a unique
116
+ * identifier for a Package Material Rule
118
117
  * @property {number} [pageNo] - Index of the item to start returning with
119
118
  * @property {number} [pageSize] - Determines the items to be displayed in a page
120
119
  * @property {string} [isActive] - Filters items based on given is_active
121
120
  */
122
121
  /**
123
122
  * @typedef GetPackageMaterialsParam
124
- * @property {string} packageMaterialId - Unique identifier for a Package. Material
125
- */
126
- /**
127
- * @typedef GetSampleFileServiceabilityStatusParam
128
- * @property {number} [pageNo] - Index of the item to start returning with
129
- * @property {number} [pageSize] - Determines the items to be displayed in a page
130
- * @property {string} [batchId] - Batch id of the execution
131
- */
132
- /**
133
- * @typedef GetServiceabilityParam
134
- * @property {string} extensionId - Unique Identifier of courier partner extension.
135
- * @property {string} schemeId - Unique identifier of courier partner scheme.
136
- * @property {string} regionId - Unique identifier of a region
137
- */
138
- /**
139
- * @typedef GetZoneByIdParam
140
- * @property {string} zoneId - A `zone_id` is a unique identifier for a particular zone.
141
- */
142
- /**
143
- * @typedef GetZonesParam
144
- * @property {number} [pageNo] - Index of the item to start returning with
145
- * @property {number} [pageSize] - Determines the items to be displayed in a page
146
- * @property {boolean} [isActive] - Status of Zone (either active or inactive)
147
- * @property {string} [channelId] - Zones filtered by an application
148
- * @property {string} [q] - Search with name as a free text
149
- * @property {string} [countryIsoCode] - ISO2 code of the country
150
- * @property {string} [state] - State name
151
- * @property {string} [city] - City name
152
- * @property {string} [pincode] - Pincode value to search zones
153
- * @property {string} [sector] - Sector value to search zones
154
- */
155
- /**
156
- * @typedef SampleFileServiceabilityParam
157
- * @property {ServiceabilityPlatformModel.BulkRegionServiceabilityTatDetails} body
123
+ * @property {string} packageMaterialId - A `package_material_id` is a unique
124
+ * identifier for a Package Material
158
125
  */
159
126
  /**
160
127
  * @typedef UpdateCompanyConfigurationParam
161
- * @property {ServiceabilityPlatformModel.CompanyConfig} body
128
+ * @property {ServiceabilityPlatformModel.CompanyConfigurationShema} body
162
129
  */
163
130
  /**
164
- * @typedef UpdateCourierPartnerAccountParam
165
- * @property {string} accountId - Unique ID of courier partner account
166
- * @property {ServiceabilityPlatformModel.CourierAccountUpdateDetails} body
131
+ * @typedef UpdateCompanySelfShipParam
132
+ * @property {ServiceabilityPlatformModel.CompanySelfShip} body
167
133
  */
168
134
  /**
169
- * @typedef UpdateCourierPartnerSchemeParam
170
- * @property {string} schemeId - Unique Identifier of Scheme
171
- * @property {ServiceabilityPlatformModel.CourierPartnerSchemeV2UpdateDetails} body
135
+ * @typedef UpdateCourierPartnerAccountParam
136
+ * @property {string} accountId - Unique ID of courier account
137
+ * @property {ServiceabilityPlatformModel.CourierAccount} body
172
138
  */
173
139
  /**
174
140
  * @typedef UpdatePackageMaterialRuleParam
175
141
  * @property {string} ruleId - A `package_material_rule_id` is a unique
176
142
  * identifier for a Package Material Rule
177
- * @property {ServiceabilityPlatformModel.PackageRule} body
143
+ * @property {ServiceabilityPlatformModel.PackageRuleRequest} body
178
144
  */
179
145
  /**
180
146
  * @typedef UpdatePackageMaterialsParam
181
- * @property {string} packageMaterialId - Unique identifier for a Package. Material
147
+ * @property {string} packageMaterialId - A `package_material_id` is a unique
148
+ * identifier for a Package Material
182
149
  * @property {ServiceabilityPlatformModel.PackageMaterial} body
183
150
  */
184
151
  /**
185
- * @typedef UpdateServiceabilityParam
186
- * @property {string} extensionId - Unique Identifier of courier partner extension.
187
- * @property {string} schemeId - Unique identifier of courier partner scheme.
188
- * @property {string} regionId - Unique identifier of a region
189
- * @property {ServiceabilityPlatformModel.ServiceabilityModel} body
190
- */
191
- /**
192
- * @typedef UpdateZoneByIdParam
193
- * @property {string} zoneId - A `zone_id` is a unique identifier for a particular zone.
194
- * @property {ServiceabilityPlatformModel.UpdateZoneData} body
152
+ * @typedef ValidateAddressParam
153
+ * @property {string} countryIsoCode - The ISO code of the country.
154
+ * @property {string} templateName - The type of address form.
155
+ * @property {ServiceabilityPlatformModel.ValidateAddressRequest} body
195
156
  */
196
157
  declare class ServiceabilityPlatformValidator {
197
- /** @returns {BulkServiceabilityParam} */
198
- static bulkServiceability(): BulkServiceabilityParam;
199
- /** @returns {BulkTatParam} */
200
- static bulkTat(): BulkTatParam;
201
158
  /** @returns {CreateCourierPartnerAccountParam} */
202
159
  static createCourierPartnerAccount(): CreateCourierPartnerAccountParam;
203
- /** @returns {CreateCourierPartnerSchemeParam} */
204
- static createCourierPartnerScheme(): CreateCourierPartnerSchemeParam;
205
160
  /** @returns {CreatePackageMaterialParam} */
206
161
  static createPackageMaterial(): CreatePackageMaterialParam;
207
162
  /** @returns {CreatePackageMaterialRuleParam} */
208
163
  static createPackageMaterialRule(): CreatePackageMaterialRuleParam;
209
- /** @returns {CreateZoneParam} */
210
- static createZone(): CreateZoneParam;
211
- /** @returns {GetAllStoresParam} */
212
- static getAllStores(): any;
213
- /** @returns {GetBulkServiceabilityParam} */
214
- static getBulkServiceability(): GetBulkServiceabilityParam;
215
- /** @returns {GetBulkTatParam} */
216
- static getBulkTat(): GetBulkTatParam;
217
164
  /** @returns {GetCompanyConfigurationParam} */
218
165
  static getCompanyConfiguration(): any;
166
+ /** @returns {GetCompanySelfShipParam} */
167
+ static getCompanySelfShip(): any;
219
168
  /** @returns {GetCountriesParam} */
220
169
  static getCountries(): GetCountriesParam;
170
+ /** @returns {GetCountryParam} */
171
+ static getCountry(): GetCountryParam;
221
172
  /** @returns {GetCourierPartnerAccountParam} */
222
173
  static getCourierPartnerAccount(): GetCourierPartnerAccountParam;
223
174
  /** @returns {GetCourierPartnerAccountsParam} */
224
175
  static getCourierPartnerAccounts(): GetCourierPartnerAccountsParam;
225
- /** @returns {GetCourierPartnerSchemeParam} */
226
- static getCourierPartnerScheme(): GetCourierPartnerSchemeParam;
227
- /** @returns {GetCourierPartnerSchemesParam} */
228
- static getCourierPartnerSchemes(): GetCourierPartnerSchemesParam;
176
+ /** @returns {GetInstalledCourierPartnerExtensionsParam} */
177
+ static getInstalledCourierPartnerExtensions(): GetInstalledCourierPartnerExtensionsParam;
178
+ /** @returns {GetListPackageMaterialRuleDetailsParam} */
179
+ static getListPackageMaterialRuleDetails(): GetListPackageMaterialRuleDetailsParam;
180
+ /** @returns {GetLocalitiesParam} */
181
+ static getLocalities(): GetLocalitiesParam;
182
+ /** @returns {GetLocalitiesByPrefixParam} */
183
+ static getLocalitiesByPrefix(): GetLocalitiesByPrefixParam;
184
+ /** @returns {GetLocalityParam} */
185
+ static getLocality(): GetLocalityParam;
229
186
  /** @returns {GetOptimalLocationsParam} */
230
187
  static getOptimalLocations(): GetOptimalLocationsParam;
231
188
  /** @returns {GetPackageMaterialListParam} */
232
189
  static getPackageMaterialList(): GetPackageMaterialListParam;
233
190
  /** @returns {GetPackageMaterialRuleParam} */
234
191
  static getPackageMaterialRule(): GetPackageMaterialRuleParam;
235
- /** @returns {GetPackageMaterialRulesParam} */
236
- static getPackageMaterialRules(): GetPackageMaterialRulesParam;
192
+ /** @returns {GetPackageMaterialRuleDetailsParam} */
193
+ static getPackageMaterialRuleDetails(): GetPackageMaterialRuleDetailsParam;
237
194
  /** @returns {GetPackageMaterialsParam} */
238
195
  static getPackageMaterials(): GetPackageMaterialsParam;
239
- /** @returns {GetSampleFileServiceabilityStatusParam} */
240
- static getSampleFileServiceabilityStatus(): GetSampleFileServiceabilityStatusParam;
241
- /** @returns {GetServiceabilityParam} */
242
- static getServiceability(): GetServiceabilityParam;
243
- /** @returns {GetZoneByIdParam} */
244
- static getZoneById(): GetZoneByIdParam;
245
- /** @returns {GetZonesParam} */
246
- static getZones(): GetZonesParam;
247
- /** @returns {SampleFileServiceabilityParam} */
248
- static sampleFileServiceability(): SampleFileServiceabilityParam;
249
196
  /** @returns {UpdateCompanyConfigurationParam} */
250
197
  static updateCompanyConfiguration(): UpdateCompanyConfigurationParam;
198
+ /** @returns {UpdateCompanySelfShipParam} */
199
+ static updateCompanySelfShip(): UpdateCompanySelfShipParam;
251
200
  /** @returns {UpdateCourierPartnerAccountParam} */
252
201
  static updateCourierPartnerAccount(): UpdateCourierPartnerAccountParam;
253
- /** @returns {UpdateCourierPartnerSchemeParam} */
254
- static updateCourierPartnerScheme(): UpdateCourierPartnerSchemeParam;
255
202
  /** @returns {UpdatePackageMaterialRuleParam} */
256
203
  static updatePackageMaterialRule(): UpdatePackageMaterialRuleParam;
257
204
  /** @returns {UpdatePackageMaterialsParam} */
258
205
  static updatePackageMaterials(): UpdatePackageMaterialsParam;
259
- /** @returns {UpdateServiceabilityParam} */
260
- static updateServiceability(): UpdateServiceabilityParam;
261
- /** @returns {UpdateZoneByIdParam} */
262
- static updateZoneById(): UpdateZoneByIdParam;
206
+ /** @returns {ValidateAddressParam} */
207
+ static validateAddress(): ValidateAddressParam;
263
208
  }
264
209
  declare namespace ServiceabilityPlatformValidator {
265
- export { BulkServiceabilityParam, BulkTatParam, CreateCourierPartnerAccountParam, CreateCourierPartnerSchemeParam, CreatePackageMaterialParam, CreatePackageMaterialRuleParam, CreateZoneParam, GetAllStoresParam, GetBulkServiceabilityParam, GetBulkTatParam, GetCompanyConfigurationParam, GetCountriesParam, GetCourierPartnerAccountParam, GetCourierPartnerAccountsParam, GetCourierPartnerSchemeParam, GetCourierPartnerSchemesParam, GetOptimalLocationsParam, GetPackageMaterialListParam, GetPackageMaterialRuleParam, GetPackageMaterialRulesParam, GetPackageMaterialsParam, GetSampleFileServiceabilityStatusParam, GetServiceabilityParam, GetZoneByIdParam, GetZonesParam, SampleFileServiceabilityParam, UpdateCompanyConfigurationParam, UpdateCourierPartnerAccountParam, UpdateCourierPartnerSchemeParam, UpdatePackageMaterialRuleParam, UpdatePackageMaterialsParam, UpdateServiceabilityParam, UpdateZoneByIdParam };
210
+ export { CreateCourierPartnerAccountParam, CreatePackageMaterialParam, CreatePackageMaterialRuleParam, GetCompanyConfigurationParam, GetCompanySelfShipParam, GetCountriesParam, GetCountryParam, GetCourierPartnerAccountParam, GetCourierPartnerAccountsParam, GetInstalledCourierPartnerExtensionsParam, GetListPackageMaterialRuleDetailsParam, GetLocalitiesParam, GetLocalitiesByPrefixParam, GetLocalityParam, GetOptimalLocationsParam, GetPackageMaterialListParam, GetPackageMaterialRuleParam, GetPackageMaterialRuleDetailsParam, GetPackageMaterialsParam, UpdateCompanyConfigurationParam, UpdateCompanySelfShipParam, UpdateCourierPartnerAccountParam, UpdatePackageMaterialRuleParam, UpdatePackageMaterialsParam, ValidateAddressParam };
266
211
  }
267
- type BulkServiceabilityParam = {
212
+ type CreateCourierPartnerAccountParam = {
213
+ body: ServiceabilityPlatformModel.CourierAccount;
214
+ };
215
+ type CreatePackageMaterialParam = {
268
216
  /**
269
- * - Unique Identifier of courier partner extension.
217
+ * - Index of the item to start returning with
270
218
  */
271
- extensionId: string;
219
+ pageNo?: number;
220
+ body: ServiceabilityPlatformModel.PackageMaterial;
221
+ };
222
+ type CreatePackageMaterialRuleParam = {
223
+ body: ServiceabilityPlatformModel.PackageRuleRequest;
224
+ };
225
+ type GetCountriesParam = {
272
226
  /**
273
- * - Unique identifier of courier partner scheme.
227
+ * - Only fetch countries which allowed for
228
+ * onboard on Platform.
274
229
  */
275
- schemeId: string;
276
- body: ServiceabilityPlatformModel.BulkRegionJobDetails;
277
- };
278
- type BulkTatParam = {
230
+ onboard?: boolean;
279
231
  /**
280
- * - Unique Identifier of courier partner extension.
232
+ * - The page number to navigate through the given
233
+ * set of results. Default value is 1.
281
234
  */
282
- extensionId: string;
235
+ pageNo?: number;
283
236
  /**
284
- * - Unique identifier of courier partner scheme.
237
+ * - The number of items to retrieve in each page.
238
+ * Default value is 12
285
239
  */
286
- schemeId: string;
287
- body: ServiceabilityPlatformModel.BulkRegionJobDetails;
288
- };
289
- type CreateCourierPartnerAccountParam = {
290
- body: ServiceabilityPlatformModel.CourierAccountDetailsBody;
291
- };
292
- type CreateCourierPartnerSchemeParam = {
293
- body: ServiceabilityPlatformModel.CourierPartnerSchemeV2DetailsModel;
294
- };
295
- type CreatePackageMaterialParam = {
296
- body: ServiceabilityPlatformModel.PackageMaterial;
297
- };
298
- type CreatePackageMaterialRuleParam = {
299
- body: ServiceabilityPlatformModel.PackageRule;
300
- };
301
- type CreateZoneParam = {
302
- body: ServiceabilityPlatformModel.CreateZoneData;
240
+ pageSize?: number;
241
+ /**
242
+ * - The search string to search in the list of countries by name.
243
+ */
244
+ q?: string;
245
+ /**
246
+ * - The search filter to filter countries based
247
+ * on their available hierarchy.
248
+ */
249
+ hierarchy?: string;
303
250
  };
304
- type GetBulkServiceabilityParam = {
251
+ type GetCountryParam = {
305
252
  /**
306
- * - Unique Identifier of courier partner extension.
253
+ * - The `country_iso_code` is ISO-2 (alpha-2)
254
+ * code for the country.
307
255
  */
308
- extensionId: string;
256
+ countryIsoCode: string;
257
+ };
258
+ type GetCourierPartnerAccountParam = {
309
259
  /**
310
- * - Unique identifier of courier partner scheme.
260
+ * - Unique ID of courier account
311
261
  */
312
- schemeId: string;
262
+ accountId: string;
263
+ };
264
+ type GetCourierPartnerAccountsParam = {
313
265
  /**
314
266
  * - Index of the item to start returning with
315
267
  */
@@ -319,43 +271,36 @@ type GetBulkServiceabilityParam = {
319
271
  */
320
272
  pageSize?: number;
321
273
  /**
322
- * - Unique identifier of bulk job
274
+ * - Stage of the account. enabled/disabled
323
275
  */
324
- batchId?: string;
276
+ stage?: string;
325
277
  /**
326
- * - Import or export bulk type
278
+ * - Filters dp accounts based on payment mode
327
279
  */
328
- action?: string;
280
+ paymentMode?: string;
329
281
  /**
330
- * - Status of the bulk actions
282
+ * - Filters dp accounts based on transport_type
331
283
  */
332
- status?: string;
284
+ transportType?: string;
333
285
  /**
334
- * - Country for which bulk job is initiated
286
+ * - Filters dp accounts based on their ids
335
287
  */
336
- country?: string;
288
+ accountIds?: string[];
337
289
  /**
338
- * - Region for which bulk job is initiated
290
+ * - To filter self ship/non self ship dp accounts
339
291
  */
340
- region?: string;
292
+ selfShip?: boolean;
341
293
  /**
342
- * - Fetch job history after a particule date
294
+ * - Filters seller owned or admin owned dp accounts
343
295
  */
344
- startDate?: string;
296
+ ownAccount?: boolean;
345
297
  /**
346
- * - Fetch job history before a particule date
298
+ * - Filters dp accounts based on case sensitive partial
299
+ * account name
347
300
  */
348
- endDate?: string;
301
+ q?: string;
349
302
  };
350
- type GetBulkTatParam = {
351
- /**
352
- * - Unique Identifier of courier partner extension.
353
- */
354
- extensionId: string;
355
- /**
356
- * - Unique identifier of courier partner scheme.
357
- */
358
- schemeId: string;
303
+ type GetInstalledCourierPartnerExtensionsParam = {
359
304
  /**
360
305
  * - Index of the item to start returning with
361
306
  */
@@ -365,40 +310,44 @@ type GetBulkTatParam = {
365
310
  */
366
311
  pageSize?: number;
367
312
  /**
368
- * - Unique identifier of bulk job
313
+ * - Filter to get installed extensions only
369
314
  */
370
- batchId?: string;
315
+ isInstalled?: string;
316
+ };
317
+ type GetListPackageMaterialRuleDetailsParam = {
371
318
  /**
372
- * - Import or export bulk type
319
+ * - Index of the item to start returning with
373
320
  */
374
- action?: string;
321
+ pageNo?: number;
375
322
  /**
376
- * - Status of the bulk actions
323
+ * - Determines the items to be displayed in a page
377
324
  */
378
- status?: string;
325
+ pageSize?: number;
379
326
  /**
380
- * - Country for which bulk job is initiated
327
+ * - Filters items based on given is_active
381
328
  */
382
- country?: string;
329
+ isActive?: string;
330
+ };
331
+ type GetLocalitiesParam = {
383
332
  /**
384
- * - Region for which bulk job is initiated
333
+ * - A `locality_type` contains unique
334
+ * geographical division.
385
335
  */
386
- region?: string;
336
+ localityType: string;
387
337
  /**
388
- * - Fetch job history after a particule date
338
+ * - A `country` contains a specific value of the
339
+ * country iso2 code.
389
340
  */
390
- startDate?: string;
341
+ country?: string;
391
342
  /**
392
- * - Fetch job history before a particule date
343
+ * - A `state` contains a specific value of the
344
+ * state, province.
393
345
  */
394
- endDate?: string;
395
- };
396
- type GetCountriesParam = {
346
+ state?: string;
397
347
  /**
398
- * - Only fetch countries which allowed for
399
- * onboard on Platform.
348
+ * - A `city` contains a specific value of the city.
400
349
  */
401
- onboarding?: boolean;
350
+ city?: string;
402
351
  /**
403
352
  * - Page number.
404
353
  */
@@ -412,67 +361,53 @@ type GetCountriesParam = {
412
361
  */
413
362
  q?: string;
414
363
  /**
415
- * - Fetch countries that has certain heirarchy present.
364
+ * - Search for localities. Either provide a full name
365
+ * or a search term.
416
366
  */
417
- hierarchy?: string;
367
+ name?: string;
418
368
  };
419
- type GetCourierPartnerAccountParam = {
369
+ type GetLocalitiesByPrefixParam = {
420
370
  /**
421
- * - Unique ID of courier partner account
422
- */
423
- accountId: string;
424
- };
425
- type GetCourierPartnerAccountsParam = {
426
- /**
427
- * - Index of the item to start returning with
371
+ * - Starting index of the items.
428
372
  */
429
373
  pageNo?: number;
430
374
  /**
431
- * - Determines the items to be displayed in a page
375
+ * - Number of items per page.
432
376
  */
433
377
  pageSize?: number;
434
378
  /**
435
- * - Stage of the account. enabled/disabled
436
- */
437
- stage?: string;
438
- /**
439
- * - Filters dp accounts based on payment mode
379
+ * - Localities starting with the specified prefix.
440
380
  */
441
- paymentMode?: string;
442
- /**
443
- * - Filters dp accounts based on transport_type
444
- */
445
- transportType?: string;
381
+ q?: string;
446
382
  };
447
- type GetCourierPartnerSchemeParam = {
383
+ type GetLocalityParam = {
448
384
  /**
449
- * - Unique Identifier of Scheme
385
+ * - A `locality_type` contains value
386
+ * geographical division.
450
387
  */
451
- schemeId: string;
452
- };
453
- type GetCourierPartnerSchemesParam = {
388
+ localityType: string;
454
389
  /**
455
- * - Indicates whether a scheme is created by an
456
- * admin for global purposes or customized for a specific company.
390
+ * - A `locality_value` contains a specific
391
+ * name of the locality.
457
392
  */
458
- schemeType?: string;
393
+ localityValue: string;
459
394
  /**
460
- * - Indicates payment mode for a scheme.
395
+ * - A `country` contains a specific value of the
396
+ * country iso2 code.
461
397
  */
462
- paymentMode?: string;
398
+ country?: string;
463
399
  /**
464
- * - Indicates whether the scheme possesses
465
- * certain capabilities.
400
+ * - A `state` contains a specific value of the
401
+ * state, province.
466
402
  */
467
- capabilities?: string[];
403
+ state?: string;
468
404
  /**
469
- * - List of scheme ids which need to be
470
- * returned in the response.
405
+ * - A `city` contains a specific value of the city.
471
406
  */
472
- schemeIds?: string[];
407
+ city?: string;
473
408
  };
474
409
  type GetOptimalLocationsParam = {
475
- body: ServiceabilityPlatformModel.OptimlLocationsDetailsSchema;
410
+ body: ServiceabilityPlatformModel.OptimlLocationsRequestSchema;
476
411
  };
477
412
  type GetPackageMaterialListParam = {
478
413
  /**
@@ -503,7 +438,12 @@ type GetPackageMaterialRuleParam = {
503
438
  */
504
439
  ruleId: string;
505
440
  };
506
- type GetPackageMaterialRulesParam = {
441
+ type GetPackageMaterialRuleDetailsParam = {
442
+ /**
443
+ * - A `package_material_rule_id` is a unique
444
+ * identifier for a Package Material Rule
445
+ */
446
+ ruleId: string;
507
447
  /**
508
448
  * - Index of the item to start returning with
509
449
  */
@@ -519,105 +459,23 @@ type GetPackageMaterialRulesParam = {
519
459
  };
520
460
  type GetPackageMaterialsParam = {
521
461
  /**
522
- * - Unique identifier for a Package. Material
462
+ * - A `package_material_id` is a unique
463
+ * identifier for a Package Material
523
464
  */
524
465
  packageMaterialId: string;
525
466
  };
526
- type GetSampleFileServiceabilityStatusParam = {
527
- /**
528
- * - Index of the item to start returning with
529
- */
530
- pageNo?: number;
531
- /**
532
- * - Determines the items to be displayed in a page
533
- */
534
- pageSize?: number;
535
- /**
536
- * - Batch id of the execution
537
- */
538
- batchId?: string;
539
- };
540
- type GetServiceabilityParam = {
541
- /**
542
- * - Unique Identifier of courier partner extension.
543
- */
544
- extensionId: string;
545
- /**
546
- * - Unique identifier of courier partner scheme.
547
- */
548
- schemeId: string;
549
- /**
550
- * - Unique identifier of a region
551
- */
552
- regionId: string;
553
- };
554
- type GetZoneByIdParam = {
555
- /**
556
- * - A `zone_id` is a unique identifier for a particular zone.
557
- */
558
- zoneId: string;
559
- };
560
- type GetZonesParam = {
561
- /**
562
- * - Index of the item to start returning with
563
- */
564
- pageNo?: number;
565
- /**
566
- * - Determines the items to be displayed in a page
567
- */
568
- pageSize?: number;
569
- /**
570
- * - Status of Zone (either active or inactive)
571
- */
572
- isActive?: boolean;
573
- /**
574
- * - Zones filtered by an application
575
- */
576
- channelId?: string;
577
- /**
578
- * - Search with name as a free text
579
- */
580
- q?: string;
581
- /**
582
- * - ISO2 code of the country
583
- */
584
- countryIsoCode?: string;
585
- /**
586
- * - State name
587
- */
588
- state?: string;
589
- /**
590
- * - City name
591
- */
592
- city?: string;
593
- /**
594
- * - Pincode value to search zones
595
- */
596
- pincode?: string;
597
- /**
598
- * - Sector value to search zones
599
- */
600
- sector?: string;
601
- };
602
- type SampleFileServiceabilityParam = {
603
- body: ServiceabilityPlatformModel.BulkRegionServiceabilityTatDetails;
604
- };
605
467
  type UpdateCompanyConfigurationParam = {
606
- body: ServiceabilityPlatformModel.CompanyConfig;
468
+ body: ServiceabilityPlatformModel.CompanyConfigurationShema;
469
+ };
470
+ type UpdateCompanySelfShipParam = {
471
+ body: ServiceabilityPlatformModel.CompanySelfShip;
607
472
  };
608
473
  type UpdateCourierPartnerAccountParam = {
609
474
  /**
610
- * - Unique ID of courier partner account
475
+ * - Unique ID of courier account
611
476
  */
612
477
  accountId: string;
613
- body: ServiceabilityPlatformModel.CourierAccountUpdateDetails;
614
- };
615
- type UpdateCourierPartnerSchemeParam = {
616
- /**
617
- * - Unique Identifier of Scheme
618
- */
619
- schemeId: string;
620
- body: ServiceabilityPlatformModel.CourierPartnerSchemeV2UpdateDetails;
478
+ body: ServiceabilityPlatformModel.CourierAccount;
621
479
  };
622
480
  type UpdatePackageMaterialRuleParam = {
623
481
  /**
@@ -625,37 +483,27 @@ type UpdatePackageMaterialRuleParam = {
625
483
  * identifier for a Package Material Rule
626
484
  */
627
485
  ruleId: string;
628
- body: ServiceabilityPlatformModel.PackageRule;
486
+ body: ServiceabilityPlatformModel.PackageRuleRequest;
629
487
  };
630
488
  type UpdatePackageMaterialsParam = {
631
489
  /**
632
- * - Unique identifier for a Package. Material
490
+ * - A `package_material_id` is a unique
491
+ * identifier for a Package Material
633
492
  */
634
493
  packageMaterialId: string;
635
494
  body: ServiceabilityPlatformModel.PackageMaterial;
636
495
  };
637
- type UpdateServiceabilityParam = {
638
- /**
639
- * - Unique Identifier of courier partner extension.
640
- */
641
- extensionId: string;
496
+ type ValidateAddressParam = {
642
497
  /**
643
- * - Unique identifier of courier partner scheme.
498
+ * - The ISO code of the country.
644
499
  */
645
- schemeId: string;
646
- /**
647
- * - Unique identifier of a region
648
- */
649
- regionId: string;
650
- body: ServiceabilityPlatformModel.ServiceabilityModel;
651
- };
652
- type UpdateZoneByIdParam = {
500
+ countryIsoCode: string;
653
501
  /**
654
- * - A `zone_id` is a unique identifier for a particular zone.
502
+ * - The type of address form.
655
503
  */
656
- zoneId: string;
657
- body: ServiceabilityPlatformModel.UpdateZoneData;
504
+ templateName: string;
505
+ body: ServiceabilityPlatformModel.ValidateAddressRequest;
658
506
  };
659
- type GetAllStoresParam = any;
660
507
  type GetCompanyConfigurationParam = any;
508
+ type GetCompanySelfShipParam = any;
661
509
  import ServiceabilityPlatformModel = require("./ServiceabilityPlatformModel");