@gofynd/fdk-client-javascript 3.1.0-beta.1 → 3.2.0

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 (304) hide show
  1. package/README.md +1 -1
  2. package/package.json +2 -2
  3. package/sdk/application/ApplicationClient.d.ts +2 -0
  4. package/sdk/application/ApplicationClient.js +2 -0
  5. package/sdk/application/Cart/CartApplicationClient.d.ts +81 -101
  6. package/sdk/application/Cart/CartApplicationClient.js +173 -511
  7. package/sdk/application/Catalog/CatalogApplicationClient.d.ts +110 -110
  8. package/sdk/application/Catalog/CatalogApplicationClient.js +214 -447
  9. package/sdk/application/Common/CommonApplicationClient.d.ts +4 -4
  10. package/sdk/application/Common/CommonApplicationClient.js +4 -19
  11. package/sdk/application/Communication/CommunicationApplicationClient.d.ts +3 -43
  12. package/sdk/application/Communication/CommunicationApplicationClient.js +4 -214
  13. package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +41 -54
  14. package/sdk/application/Configuration/ConfigurationApplicationClient.js +39 -192
  15. package/sdk/application/Content/ContentApplicationClient.d.ts +61 -61
  16. package/sdk/application/Content/ContentApplicationClient.js +183 -366
  17. package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +2 -2
  18. package/sdk/application/FileStorage/FileStorageApplicationClient.js +11 -30
  19. package/sdk/application/Finance/FinanceApplicationClient.d.ts +29 -0
  20. package/sdk/application/Finance/FinanceApplicationClient.js +111 -0
  21. package/sdk/application/Lead/LeadApplicationClient.d.ts +6 -6
  22. package/sdk/application/Lead/LeadApplicationClient.js +24 -55
  23. package/sdk/application/Logistic/LogisticApplicationClient.d.ts +28 -117
  24. package/sdk/application/Logistic/LogisticApplicationClient.js +99 -492
  25. package/sdk/application/Order/OrderApplicationClient.d.ts +31 -51
  26. package/sdk/application/Order/OrderApplicationClient.js +89 -293
  27. package/sdk/application/Payment/PaymentApplicationClient.d.ts +108 -218
  28. package/sdk/application/Payment/PaymentApplicationClient.js +100 -1081
  29. package/sdk/application/Rewards/RewardsApplicationClient.d.ts +14 -14
  30. package/sdk/application/Rewards/RewardsApplicationClient.js +13 -66
  31. package/sdk/application/Share/ShareApplicationClient.d.ts +11 -11
  32. package/sdk/application/Share/ShareApplicationClient.js +35 -89
  33. package/sdk/application/Theme/ThemeApplicationClient.d.ts +5 -25
  34. package/sdk/application/Theme/ThemeApplicationClient.js +24 -150
  35. package/sdk/application/User/UserApplicationClient.d.ts +23 -13
  36. package/sdk/application/User/UserApplicationClient.js +49 -407
  37. package/sdk/application/Webhook/WebhookApplicationClient.d.ts +4 -4
  38. package/sdk/application/Webhook/WebhookApplicationClient.js +4 -11
  39. package/sdk/common/Utility.d.ts +1 -1
  40. package/sdk/common/Utility.js +10 -7
  41. package/sdk/common/Validator.d.ts +1 -0
  42. package/sdk/common/Validator.js +20 -0
  43. package/sdk/common/utils.d.ts +0 -1
  44. package/sdk/common/utils.js +0 -14
  45. package/sdk/partner/FileStorage/FileStoragePartnerClient.d.ts +10 -54
  46. package/sdk/partner/FileStorage/FileStoragePartnerClient.js +32 -364
  47. package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +54 -1
  48. package/sdk/partner/FileStorage/FileStoragePartnerModel.js +43 -0
  49. package/sdk/partner/FileStorage/FileStoragePartnerValidator.d.ts +1 -5
  50. package/sdk/partner/FileStorage/FileStoragePartnerValidator.js +4 -35
  51. package/sdk/partner/Lead/LeadPartnerClient.d.ts +5 -5
  52. package/sdk/partner/Lead/LeadPartnerClient.js +4 -4
  53. package/sdk/partner/Lead/LeadPartnerModel.d.ts +52 -98
  54. package/sdk/partner/Lead/LeadPartnerModel.js +76 -100
  55. package/sdk/partner/Lead/LeadPartnerValidator.js +1 -1
  56. package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +172 -41
  57. package/sdk/partner/Logistics/LogisticsPartnerClient.js +1222 -85
  58. package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +1921 -297
  59. package/sdk/partner/Logistics/LogisticsPartnerModel.js +973 -258
  60. package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +13 -1
  61. package/sdk/partner/Logistics/LogisticsPartnerValidator.js +148 -16
  62. package/sdk/partner/PartnerClient.d.ts +0 -6
  63. package/sdk/partner/PartnerClient.js +0 -9
  64. package/sdk/partner/Theme/ThemePartnerClient.d.ts +21 -63
  65. package/sdk/partner/Theme/ThemePartnerClient.js +67 -392
  66. package/sdk/partner/Theme/ThemePartnerModel.d.ts +72 -104
  67. package/sdk/partner/Theme/ThemePartnerModel.js +75 -101
  68. package/sdk/partner/Theme/ThemePartnerValidator.d.ts +1 -5
  69. package/sdk/partner/Theme/ThemePartnerValidator.js +12 -42
  70. package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +18 -18
  71. package/sdk/partner/Webhook/WebhookPartnerClient.js +18 -18
  72. package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +673 -189
  73. package/sdk/partner/Webhook/WebhookPartnerModel.js +270 -159
  74. package/sdk/partner/Webhook/WebhookPartnerValidator.js +3 -3
  75. package/sdk/partner/index.d.ts +0 -3
  76. package/sdk/partner/index.js +0 -6
  77. package/sdk/platform/Analytics/AnalyticsPlatformApplicationValidator.d.ts +4 -1
  78. package/sdk/platform/Analytics/AnalyticsPlatformApplicationValidator.js +1 -1
  79. package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +3 -3
  80. package/sdk/platform/Analytics/AnalyticsPlatformModel.js +3 -3
  81. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +2 -32
  82. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +3 -243
  83. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +49 -145
  84. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +20 -171
  85. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +1 -39
  86. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +0 -35
  87. package/sdk/platform/Billing/BillingPlatformClient.d.ts +12 -12
  88. package/sdk/platform/Billing/BillingPlatformClient.js +15 -15
  89. package/sdk/platform/Billing/BillingPlatformModel.d.ts +443 -388
  90. package/sdk/platform/Billing/BillingPlatformModel.js +280 -263
  91. package/sdk/platform/Billing/BillingPlatformValidator.d.ts +16 -18
  92. package/sdk/platform/Billing/BillingPlatformValidator.js +8 -9
  93. package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +172 -251
  94. package/sdk/platform/Cart/CartPlatformApplicationClient.js +577 -648
  95. package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +270 -165
  96. package/sdk/platform/Cart/CartPlatformApplicationValidator.js +192 -108
  97. package/sdk/platform/Cart/CartPlatformModel.d.ts +4554 -3154
  98. package/sdk/platform/Cart/CartPlatformModel.js +1935 -2854
  99. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +380 -976
  100. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +2004 -6464
  101. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +161 -1082
  102. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +80 -884
  103. package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +568 -325
  104. package/sdk/platform/Catalog/CatalogPlatformClient.js +1560 -1162
  105. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +9772 -7871
  106. package/sdk/platform/Catalog/CatalogPlatformModel.js +6978 -9516
  107. package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +231 -240
  108. package/sdk/platform/Catalog/CatalogPlatformValidator.js +180 -188
  109. package/sdk/platform/Common/CommonPlatformClient.d.ts +6 -5
  110. package/sdk/platform/Common/CommonPlatformClient.js +6 -5
  111. package/sdk/platform/Common/CommonPlatformModel.d.ts +19 -25
  112. package/sdk/platform/Common/CommonPlatformModel.js +11 -14
  113. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +240 -376
  114. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +589 -874
  115. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +139 -170
  116. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +126 -145
  117. package/sdk/platform/Communication/CommunicationPlatformClient.d.ts +3 -56
  118. package/sdk/platform/Communication/CommunicationPlatformClient.js +4 -307
  119. package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +330 -502
  120. package/sdk/platform/Communication/CommunicationPlatformModel.js +376 -610
  121. package/sdk/platform/Communication/CommunicationPlatformValidator.d.ts +3 -62
  122. package/sdk/platform/Communication/CommunicationPlatformValidator.js +2 -48
  123. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +72 -100
  124. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +88 -146
  125. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +270 -241
  126. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +248 -226
  127. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +20 -31
  128. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +20 -25
  129. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +117 -332
  130. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +409 -1470
  131. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +55 -158
  132. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +41 -163
  133. package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +65 -142
  134. package/sdk/platform/Configuration/ConfigurationPlatformClient.js +103 -568
  135. package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +562 -1289
  136. package/sdk/platform/Configuration/ConfigurationPlatformModel.js +368 -1037
  137. package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +34 -80
  138. package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +24 -79
  139. package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +302 -248
  140. package/sdk/platform/Content/ContentPlatformApplicationClient.js +1292 -773
  141. package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +330 -218
  142. package/sdk/platform/Content/ContentPlatformApplicationValidator.js +325 -208
  143. package/sdk/platform/Content/ContentPlatformClient.d.ts +279 -118
  144. package/sdk/platform/Content/ContentPlatformClient.js +1617 -492
  145. package/sdk/platform/Content/ContentPlatformModel.d.ts +2391 -924
  146. package/sdk/platform/Content/ContentPlatformModel.js +1314 -970
  147. package/sdk/platform/Content/ContentPlatformValidator.d.ts +272 -134
  148. package/sdk/platform/Content/ContentPlatformValidator.js +295 -118
  149. package/sdk/platform/Discount/DiscountPlatformClient.d.ts +53 -43
  150. package/sdk/platform/Discount/DiscountPlatformClient.js +53 -43
  151. package/sdk/platform/Discount/DiscountPlatformModel.d.ts +383 -110
  152. package/sdk/platform/Discount/DiscountPlatformModel.js +117 -108
  153. package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +56 -36
  154. package/sdk/platform/Discount/DiscountPlatformValidator.js +29 -19
  155. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +4 -163
  156. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +4 -1078
  157. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +5 -141
  158. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +4 -177
  159. package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +8 -8
  160. package/sdk/platform/FileStorage/FileStoragePlatformClient.js +8 -8
  161. package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +30 -1123
  162. package/sdk/platform/FileStorage/FileStoragePlatformModel.js +24 -1135
  163. package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +6 -6
  164. package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +6 -6
  165. package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +17 -17
  166. package/sdk/platform/Lead/LeadPlatformApplicationClient.js +33 -33
  167. package/sdk/platform/Lead/LeadPlatformApplicationValidator.d.ts +19 -19
  168. package/sdk/platform/Lead/LeadPlatformApplicationValidator.js +14 -14
  169. package/sdk/platform/Lead/LeadPlatformClient.d.ts +24 -4
  170. package/sdk/platform/Lead/LeadPlatformClient.js +160 -4
  171. package/sdk/platform/Lead/LeadPlatformModel.d.ts +60 -140
  172. package/sdk/platform/Lead/LeadPlatformModel.js +81 -162
  173. package/sdk/platform/Lead/LeadPlatformValidator.d.ts +29 -3
  174. package/sdk/platform/Lead/LeadPlatformValidator.js +28 -2
  175. package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +19 -98
  176. package/sdk/platform/Order/OrderPlatformApplicationClient.js +27 -662
  177. package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +91 -118
  178. package/sdk/platform/Order/OrderPlatformApplicationValidator.js +32 -127
  179. package/sdk/platform/Order/OrderPlatformClient.d.ts +406 -403
  180. package/sdk/platform/Order/OrderPlatformClient.js +1200 -1343
  181. package/sdk/platform/Order/OrderPlatformModel.d.ts +8665 -4505
  182. package/sdk/platform/Order/OrderPlatformModel.js +4088 -3601
  183. package/sdk/platform/Order/OrderPlatformValidator.d.ts +666 -442
  184. package/sdk/platform/Order/OrderPlatformValidator.js +353 -312
  185. package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +6 -4
  186. package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +9 -7
  187. package/sdk/platform/Partner/PartnerPlatformModel.d.ts +67 -19
  188. package/sdk/platform/Partner/PartnerPlatformModel.js +26 -17
  189. package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +135 -382
  190. package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +937 -2452
  191. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +100 -306
  192. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +74 -305
  193. package/sdk/platform/Payment/PaymentPlatformClient.d.ts +56 -66
  194. package/sdk/platform/Payment/PaymentPlatformClient.js +124 -269
  195. package/sdk/platform/Payment/PaymentPlatformModel.d.ts +1307 -3536
  196. package/sdk/platform/Payment/PaymentPlatformModel.js +1389 -3692
  197. package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +35 -64
  198. package/sdk/platform/Payment/PaymentPlatformValidator.js +34 -60
  199. package/sdk/platform/PlatformClient.d.ts +0 -2
  200. package/sdk/platform/PlatformClient.js +0 -4
  201. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +2 -2
  202. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +2 -2
  203. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +2 -2
  204. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.js +2 -2
  205. package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +12 -12
  206. package/sdk/platform/Rewards/RewardsPlatformModel.js +10 -10
  207. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +64 -136
  208. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +111 -521
  209. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +75 -117
  210. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +50 -105
  211. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +160 -149
  212. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +766 -545
  213. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +6196 -3978
  214. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +3181 -3895
  215. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +294 -220
  216. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +205 -149
  217. package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +16 -4
  218. package/sdk/platform/Share/SharePlatformApplicationClient.js +86 -8
  219. package/sdk/platform/Share/SharePlatformApplicationValidator.d.ts +23 -6
  220. package/sdk/platform/Share/SharePlatformApplicationValidator.js +16 -3
  221. package/sdk/platform/Share/SharePlatformModel.d.ts +53 -9
  222. package/sdk/platform/Share/SharePlatformModel.js +45 -5
  223. package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +17 -37
  224. package/sdk/platform/Theme/ThemePlatformApplicationClient.js +66 -204
  225. package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +25 -26
  226. package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +20 -31
  227. package/sdk/platform/Theme/ThemePlatformClient.d.ts +8 -18
  228. package/sdk/platform/Theme/ThemePlatformClient.js +8 -85
  229. package/sdk/platform/Theme/ThemePlatformModel.d.ts +17 -425
  230. package/sdk/platform/Theme/ThemePlatformModel.js +23 -329
  231. package/sdk/platform/Theme/ThemePlatformValidator.d.ts +3 -7
  232. package/sdk/platform/Theme/ThemePlatformValidator.js +2 -9
  233. package/sdk/platform/User/UserPlatformApplicationClient.d.ts +81 -18
  234. package/sdk/platform/User/UserPlatformApplicationClient.js +491 -27
  235. package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +126 -10
  236. package/sdk/platform/User/UserPlatformApplicationValidator.js +92 -7
  237. package/sdk/platform/User/UserPlatformModel.d.ts +317 -218
  238. package/sdk/platform/User/UserPlatformModel.js +253 -210
  239. package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +25 -78
  240. package/sdk/platform/Webhook/WebhookPlatformClient.js +75 -470
  241. package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +813 -426
  242. package/sdk/platform/Webhook/WebhookPlatformModel.js +446 -395
  243. package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +10 -55
  244. package/sdk/platform/Webhook/WebhookPlatformValidator.js +12 -72
  245. package/sdk/platform/index.d.ts +0 -1
  246. package/sdk/platform/index.js +0 -2
  247. package/sdk/public/Catalog/CatalogPublicClient.d.ts +22 -0
  248. package/sdk/public/Catalog/CatalogPublicClient.js +133 -0
  249. package/sdk/public/Catalog/CatalogPublicModel.d.ts +158 -0
  250. package/sdk/public/Catalog/CatalogPublicModel.js +116 -0
  251. package/sdk/public/Catalog/CatalogPublicValidator.d.ts +55 -0
  252. package/sdk/public/Catalog/CatalogPublicValidator.js +35 -0
  253. package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +4 -14
  254. package/sdk/public/Configuration/ConfigurationPublicClient.js +10 -113
  255. package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +46 -114
  256. package/sdk/public/Configuration/ConfigurationPublicModel.js +32 -117
  257. package/sdk/public/Configuration/ConfigurationPublicValidator.d.ts +1 -11
  258. package/sdk/public/Configuration/ConfigurationPublicValidator.js +0 -12
  259. package/sdk/public/Content/ContentPublicClient.d.ts +36 -25
  260. package/sdk/public/Content/ContentPublicClient.js +254 -280
  261. package/sdk/public/Content/ContentPublicModel.d.ts +151 -38
  262. package/sdk/public/Content/ContentPublicModel.js +98 -44
  263. package/sdk/public/Content/ContentPublicValidator.d.ts +18 -17
  264. package/sdk/public/Content/ContentPublicValidator.js +26 -19
  265. package/sdk/public/Partner/PartnerPublicClient.d.ts +1 -1
  266. package/sdk/public/Partner/PartnerPublicClient.js +6 -11
  267. package/sdk/public/Partner/PartnerPublicModel.d.ts +248 -72
  268. package/sdk/public/Partner/PartnerPublicModel.js +81 -71
  269. package/sdk/public/Partner/PartnerPublicValidator.d.ts +2 -2
  270. package/sdk/public/Partner/PartnerPublicValidator.js +1 -1
  271. package/sdk/public/PublicClient.d.ts +2 -0
  272. package/sdk/public/PublicClient.js +4 -0
  273. package/sdk/public/Webhook/WebhookPublicClient.d.ts +8 -8
  274. package/sdk/public/Webhook/WebhookPublicClient.js +9 -48
  275. package/sdk/public/Webhook/WebhookPublicModel.d.ts +215 -67
  276. package/sdk/public/Webhook/WebhookPublicModel.js +66 -61
  277. package/sdk/public/Webhook/WebhookPublicValidator.d.ts +4 -4
  278. package/sdk/public/Webhook/WebhookPublicValidator.js +4 -4
  279. package/sdk/public/index.d.ts +1 -0
  280. package/sdk/public/index.js +2 -0
  281. package/sdk/partner/Authorization/AuthorizationPartnerClient.d.ts +0 -66
  282. package/sdk/partner/Authorization/AuthorizationPartnerClient.js +0 -431
  283. package/sdk/partner/Authorization/AuthorizationPartnerModel.d.ts +0 -231
  284. package/sdk/partner/Authorization/AuthorizationPartnerModel.js +0 -152
  285. package/sdk/partner/Authorization/AuthorizationPartnerValidator.d.ts +0 -8
  286. package/sdk/partner/Authorization/AuthorizationPartnerValidator.js +0 -39
  287. package/sdk/partner/Catalog/CatalogPartnerClient.d.ts +0 -26
  288. package/sdk/partner/Catalog/CatalogPartnerClient.js +0 -173
  289. package/sdk/partner/Catalog/CatalogPartnerModel.d.ts +0 -238
  290. package/sdk/partner/Catalog/CatalogPartnerModel.js +0 -248
  291. package/sdk/partner/Catalog/CatalogPartnerValidator.d.ts +0 -5
  292. package/sdk/partner/Catalog/CatalogPartnerValidator.js +0 -19
  293. package/sdk/partner/Payment/PaymentPartnerClient.d.ts +0 -116
  294. package/sdk/partner/Payment/PaymentPartnerClient.js +0 -857
  295. package/sdk/partner/Payment/PaymentPartnerModel.d.ts +0 -388
  296. package/sdk/partner/Payment/PaymentPartnerModel.js +0 -442
  297. package/sdk/partner/Payment/PaymentPartnerValidator.d.ts +0 -14
  298. package/sdk/partner/Payment/PaymentPartnerValidator.js +0 -74
  299. package/sdk/platform/Finance/FinancePlatformClient.d.ts +0 -320
  300. package/sdk/platform/Finance/FinancePlatformClient.js +0 -2333
  301. package/sdk/platform/Finance/FinancePlatformModel.d.ts +0 -2895
  302. package/sdk/platform/Finance/FinancePlatformModel.js +0 -2150
  303. package/sdk/platform/Finance/FinancePlatformValidator.d.ts +0 -284
  304. package/sdk/platform/Finance/FinancePlatformValidator.js +0 -354
@@ -1,19 +1,66 @@
1
1
  export = ServiceabilityPlatformValidator;
2
+ /**
3
+ * @typedef BulkServiceabilityParam
4
+ * @property {string} extensionId - Unique Identifier of courier partner extension.
5
+ * @property {string} schemeId - Unique identifier for the scheme, used to fetch
6
+ * or modify scheme details.
7
+ * @property {ServiceabilityPlatformModel.BulkRegionJobDetails} body
8
+ */
9
+ /**
10
+ * @typedef BulkTatParam
11
+ * @property {string} extensionId - Unique Identifier of courier partner extension.
12
+ * @property {string} schemeId - Unique identifier for the scheme, used to fetch
13
+ * or modify scheme details.
14
+ * @property {ServiceabilityPlatformModel.BulkRegionJobDetails} body
15
+ */
2
16
  /**
3
17
  * @typedef CreateCourierPartnerAccountParam
4
- * @property {ServiceabilityPlatformModel.CourierAccount} body
18
+ * @property {ServiceabilityPlatformModel.CourierAccountDetailsBody} body
19
+ */
20
+ /**
21
+ * @typedef CreateCourierPartnerSchemeParam
22
+ * @property {ServiceabilityPlatformModel.CourierPartnerSchemeDetailsModel} body
5
23
  */
6
24
  /**
7
25
  * @typedef CreatePackageMaterialParam
8
- * @property {number} [pageNo] - Index of the item to start returning with
26
+ * @property {number} [pageNo] - The current page number for paginated results.
9
27
  * @property {ServiceabilityPlatformModel.PackageMaterial} body
10
28
  */
11
29
  /**
12
30
  * @typedef CreatePackageMaterialRuleParam
13
- * @property {ServiceabilityPlatformModel.PackageRuleRequest} body
31
+ * @property {ServiceabilityPlatformModel.PackageRule} body
32
+ */
33
+ /**
34
+ * @typedef GetBulkServiceabilityParam
35
+ * @property {string} extensionId - Unique Identifier of courier partner extension.
36
+ * @property {string} schemeId - Unique identifier for the scheme, used to fetch
37
+ * or modify scheme details.
38
+ * @property {number} [pageNo] - The current page number for paginated results.
39
+ * @property {number} [pageSize] - Determines the items to be displayed in a page
40
+ * @property {string} [batchId] - Unique identifier of bulk job
41
+ * @property {string} [action] - Import or export bulk type
42
+ * @property {string} [status] - Status of the bulk actions
43
+ * @property {string} [country] - Country for which bulk job is initiated
44
+ * @property {string} [region] - Region for which bulk job is initiated
45
+ * @property {string} [startDate] - Fetch job history after a particule date
46
+ * @property {string} [endDate] - Fetch job history before a particule date
47
+ */
48
+ /**
49
+ * @typedef GetBulkTatParam
50
+ * @property {string} extensionId - Unique Identifier of courier partner extension.
51
+ * @property {string} schemeId - Unique identifier for the scheme, used to fetch
52
+ * or modify scheme details.
53
+ * @property {number} [pageNo] - The current page number for paginated results.
54
+ * @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
14
62
  */
15
63
  /** @typedef GetCompanyConfigurationParam */
16
- /** @typedef GetCompanySelfShipParam */
17
64
  /**
18
65
  * @typedef GetCountriesParam
19
66
  * @property {boolean} [onboard] - Only fetch countries which allowed for
@@ -26,72 +73,43 @@ export = ServiceabilityPlatformValidator;
26
73
  * @property {string} [hierarchy] - The search filter to filter countries based
27
74
  * on their available hierarchy.
28
75
  */
29
- /**
30
- * @typedef GetCountryParam
31
- * @property {string} countryIsoCode - The `country_iso_code` is ISO-2 (alpha-2)
32
- * code for the country.
33
- */
34
76
  /**
35
77
  * @typedef GetCourierPartnerAccountParam
36
78
  * @property {string} accountId - Unique ID of courier account
37
79
  */
38
80
  /**
39
81
  * @typedef GetCourierPartnerAccountsParam
40
- * @property {number} [pageNo] - Index of the item to start returning with
82
+ * @property {number} [pageNo] - The current page number for paginated results.
41
83
  * @property {number} [pageSize] - Determines the items to be displayed in a page
42
- * @property {string} [stage] - Stage of the account. enabled/disabled
84
+ * @property {string} [stage] - Stage of the account.
43
85
  * @property {string} [paymentMode] - Filters dp accounts based on payment mode
44
86
  * @property {string} [transportType] - Filters dp accounts based on transport_type
45
87
  * @property {string[]} [accountIds] - Filters dp accounts based on their ids
46
88
  * @property {boolean} [selfShip] - To filter self ship/non self ship dp accounts
47
- * @property {boolean} [ownAccount] - Filters seller owned or admin owned dp accounts
89
+ * @property {boolean} [ownAccount] - Filters seller owned or Fynd Managed dp accounts
48
90
  * @property {string} [q] - Filters dp accounts based on case sensitive partial
49
91
  * account name
50
92
  */
51
93
  /**
52
- * @typedef GetInstalledCourierPartnerExtensionsParam
53
- * @property {number} [pageNo] - Index of the item to start returning with
54
- * @property {number} [pageSize] - Determines the items to be displayed in a page
55
- * @property {string} [isInstalled] - Filter to get installed extensions only
94
+ * @typedef GetCourierPartnerSchemeParam
95
+ * @property {string} schemeId - Unique identifier for the scheme, used to fetch
96
+ * or modify scheme details.
56
97
  */
57
98
  /**
58
- * @typedef GetListPackageMaterialRuleDetailsParam
59
- * @property {number} [pageNo] - Index of the item to start returning with
60
- * @property {number} [pageSize] - Determines the items to be displayed in a page
61
- * @property {string} [isActive] - Filters items based on given is_active
99
+ * @typedef GetCourierPartnerSchemesParam
100
+ * @property {string} [schemeType] - Indicates whether a scheme is created by an
101
+ * admin for global purposes or customized for a specific company.
102
+ * @property {string} [paymentMode] - Indicates payment mode for a scheme.
103
+ * @property {string[]} [capabilities] - Indicates whether the scheme possesses
104
+ * certain capabilities.
105
+ * @property {string[]} [schemeIds] - List of scheme ids which need to be
106
+ * returned in the response.
62
107
  */
63
108
  /**
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.
72
- * @property {number} [pageNo] - Page number.
73
- * @property {number} [pageSize] - Page size.
74
- * @property {string} [q] - Search.
75
- * @property {string} [name] - Search for localities. Either provide a full name
76
- * or a search term.
77
- */
78
- /**
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.
83
- */
84
- /**
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.
109
+ * @typedef GetInstalledCourierPartnerExtensionsParam
110
+ * @property {number} [pageNo] - The current page number for paginated results.
111
+ * @property {number} [pageSize] - Determines the items to be displayed in a page
112
+ * @property {string} [isInstalled] - Filter to get installed extensions only
95
113
  */
96
114
  /**
97
115
  * @typedef GetOptimalLocationsParam
@@ -99,9 +117,10 @@ export = ServiceabilityPlatformValidator;
99
117
  */
100
118
  /**
101
119
  * @typedef GetPackageMaterialListParam
102
- * @property {number} [pageNo] - Index of the item to start returning with
120
+ * @property {number} [pageNo] - The current page number for paginated results.
103
121
  * @property {number} [pageSize] - Determines the items to be displayed in a page
104
- * @property {string} [q] - Perform regex search on items matching name for given value
122
+ * @property {string} [q] - Used to search for matching results based on the
123
+ * provided input.
105
124
  * @property {string} [size] - Filters items based on given size
106
125
  * @property {string} [packageType] - Filters items based on given package_type
107
126
  */
@@ -110,37 +129,42 @@ export = ServiceabilityPlatformValidator;
110
129
  * @property {string} ruleId - A `package_material_rule_id` is a unique
111
130
  * identifier for a Package Material Rule
112
131
  */
113
- /**
114
- * @typedef GetPackageMaterialRuleDetailsParam
115
- * @property {string} ruleId - A `package_material_rule_id` is a unique
116
- * identifier for a Package Material Rule
117
- * @property {number} [pageNo] - Index of the item to start returning with
118
- * @property {number} [pageSize] - Determines the items to be displayed in a page
119
- * @property {string} [isActive] - Filters items based on given is_active
120
- */
121
132
  /**
122
133
  * @typedef GetPackageMaterialsParam
123
134
  * @property {string} packageMaterialId - A `package_material_id` is a unique
124
135
  * identifier for a Package Material
125
136
  */
126
137
  /**
127
- * @typedef UpdateCompanyConfigurationParam
128
- * @property {ServiceabilityPlatformModel.CompanyConfigurationShema} body
138
+ * @typedef GetSampleFileServiceabilityStatusParam
139
+ * @property {number} [pageNo] - The current page number for paginated results.
140
+ * @property {number} [pageSize] - Determines the items to be displayed in a page
141
+ * @property {string} [batchId] - Batch id of the execution
142
+ */
143
+ /** @typedef GetSelfShipDetailsParam */
144
+ /**
145
+ * @typedef SampleFileServiceabilityParam
146
+ * @property {ServiceabilityPlatformModel.BulkRegionServiceabilityTatDetails} body
129
147
  */
130
148
  /**
131
- * @typedef UpdateCompanySelfShipParam
132
- * @property {ServiceabilityPlatformModel.CompanySelfShip} body
149
+ * @typedef UpdateCompanyConfigurationParam
150
+ * @property {ServiceabilityPlatformModel.CompanyConfigurationSchema} body
133
151
  */
134
152
  /**
135
153
  * @typedef UpdateCourierPartnerAccountParam
136
154
  * @property {string} accountId - Unique ID of courier account
137
- * @property {ServiceabilityPlatformModel.CourierAccount} body
155
+ * @property {ServiceabilityPlatformModel.CourierAccountDetailsBody} body
156
+ */
157
+ /**
158
+ * @typedef UpdateCourierPartnerSchemeParam
159
+ * @property {string} schemeId - Unique identifier for the scheme, used to fetch
160
+ * or modify scheme details.
161
+ * @property {ServiceabilityPlatformModel.CourierPartnerSchemeUpdateDetailsSchema} body
138
162
  */
139
163
  /**
140
164
  * @typedef UpdatePackageMaterialRuleParam
141
165
  * @property {string} ruleId - A `package_material_rule_id` is a unique
142
166
  * identifier for a Package Material Rule
143
- * @property {ServiceabilityPlatformModel.PackageRuleRequest} body
167
+ * @property {ServiceabilityPlatformModel.PackageRule} body
144
168
  */
145
169
  /**
146
170
  * @typedef UpdatePackageMaterialsParam
@@ -149,78 +173,203 @@ export = ServiceabilityPlatformValidator;
149
173
  * @property {ServiceabilityPlatformModel.PackageMaterial} body
150
174
  */
151
175
  /**
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
176
+ * @typedef UpdateSelfShipDetailsParam
177
+ * @property {ServiceabilityPlatformModel.SelfshipSchema} body
156
178
  */
157
179
  declare class ServiceabilityPlatformValidator {
180
+ /** @returns {BulkServiceabilityParam} */
181
+ static bulkServiceability(): BulkServiceabilityParam;
182
+ /** @returns {BulkTatParam} */
183
+ static bulkTat(): BulkTatParam;
158
184
  /** @returns {CreateCourierPartnerAccountParam} */
159
185
  static createCourierPartnerAccount(): CreateCourierPartnerAccountParam;
186
+ /** @returns {CreateCourierPartnerSchemeParam} */
187
+ static createCourierPartnerScheme(): CreateCourierPartnerSchemeParam;
160
188
  /** @returns {CreatePackageMaterialParam} */
161
189
  static createPackageMaterial(): CreatePackageMaterialParam;
162
190
  /** @returns {CreatePackageMaterialRuleParam} */
163
191
  static createPackageMaterialRule(): CreatePackageMaterialRuleParam;
192
+ /** @returns {GetBulkServiceabilityParam} */
193
+ static getBulkServiceability(): GetBulkServiceabilityParam;
194
+ /** @returns {GetBulkTatParam} */
195
+ static getBulkTat(): GetBulkTatParam;
164
196
  /** @returns {GetCompanyConfigurationParam} */
165
197
  static getCompanyConfiguration(): any;
166
- /** @returns {GetCompanySelfShipParam} */
167
- static getCompanySelfShip(): any;
168
198
  /** @returns {GetCountriesParam} */
169
199
  static getCountries(): GetCountriesParam;
170
- /** @returns {GetCountryParam} */
171
- static getCountry(): GetCountryParam;
172
200
  /** @returns {GetCourierPartnerAccountParam} */
173
201
  static getCourierPartnerAccount(): GetCourierPartnerAccountParam;
174
202
  /** @returns {GetCourierPartnerAccountsParam} */
175
203
  static getCourierPartnerAccounts(): GetCourierPartnerAccountsParam;
204
+ /** @returns {GetCourierPartnerSchemeParam} */
205
+ static getCourierPartnerScheme(): GetCourierPartnerSchemeParam;
206
+ /** @returns {GetCourierPartnerSchemesParam} */
207
+ static getCourierPartnerSchemes(): GetCourierPartnerSchemesParam;
176
208
  /** @returns {GetInstalledCourierPartnerExtensionsParam} */
177
209
  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;
186
210
  /** @returns {GetOptimalLocationsParam} */
187
211
  static getOptimalLocations(): GetOptimalLocationsParam;
188
212
  /** @returns {GetPackageMaterialListParam} */
189
213
  static getPackageMaterialList(): GetPackageMaterialListParam;
190
214
  /** @returns {GetPackageMaterialRuleParam} */
191
215
  static getPackageMaterialRule(): GetPackageMaterialRuleParam;
192
- /** @returns {GetPackageMaterialRuleDetailsParam} */
193
- static getPackageMaterialRuleDetails(): GetPackageMaterialRuleDetailsParam;
194
216
  /** @returns {GetPackageMaterialsParam} */
195
217
  static getPackageMaterials(): GetPackageMaterialsParam;
218
+ /** @returns {GetSampleFileServiceabilityStatusParam} */
219
+ static getSampleFileServiceabilityStatus(): GetSampleFileServiceabilityStatusParam;
220
+ /** @returns {GetSelfShipDetailsParam} */
221
+ static getSelfShipDetails(): any;
222
+ /** @returns {SampleFileServiceabilityParam} */
223
+ static sampleFileServiceability(): SampleFileServiceabilityParam;
196
224
  /** @returns {UpdateCompanyConfigurationParam} */
197
225
  static updateCompanyConfiguration(): UpdateCompanyConfigurationParam;
198
- /** @returns {UpdateCompanySelfShipParam} */
199
- static updateCompanySelfShip(): UpdateCompanySelfShipParam;
200
226
  /** @returns {UpdateCourierPartnerAccountParam} */
201
227
  static updateCourierPartnerAccount(): UpdateCourierPartnerAccountParam;
228
+ /** @returns {UpdateCourierPartnerSchemeParam} */
229
+ static updateCourierPartnerScheme(): UpdateCourierPartnerSchemeParam;
202
230
  /** @returns {UpdatePackageMaterialRuleParam} */
203
231
  static updatePackageMaterialRule(): UpdatePackageMaterialRuleParam;
204
232
  /** @returns {UpdatePackageMaterialsParam} */
205
233
  static updatePackageMaterials(): UpdatePackageMaterialsParam;
206
- /** @returns {ValidateAddressParam} */
207
- static validateAddress(): ValidateAddressParam;
234
+ /** @returns {UpdateSelfShipDetailsParam} */
235
+ static updateSelfShipDetails(): UpdateSelfShipDetailsParam;
208
236
  }
209
237
  declare namespace ServiceabilityPlatformValidator {
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 };
238
+ export { BulkServiceabilityParam, BulkTatParam, CreateCourierPartnerAccountParam, CreateCourierPartnerSchemeParam, CreatePackageMaterialParam, CreatePackageMaterialRuleParam, GetBulkServiceabilityParam, GetBulkTatParam, GetCompanyConfigurationParam, GetCountriesParam, GetCourierPartnerAccountParam, GetCourierPartnerAccountsParam, GetCourierPartnerSchemeParam, GetCourierPartnerSchemesParam, GetInstalledCourierPartnerExtensionsParam, GetOptimalLocationsParam, GetPackageMaterialListParam, GetPackageMaterialRuleParam, GetPackageMaterialsParam, GetSampleFileServiceabilityStatusParam, GetSelfShipDetailsParam, SampleFileServiceabilityParam, UpdateCompanyConfigurationParam, UpdateCourierPartnerAccountParam, UpdateCourierPartnerSchemeParam, UpdatePackageMaterialRuleParam, UpdatePackageMaterialsParam, UpdateSelfShipDetailsParam };
211
239
  }
240
+ type BulkServiceabilityParam = {
241
+ /**
242
+ * - Unique Identifier of courier partner extension.
243
+ */
244
+ extensionId: string;
245
+ /**
246
+ * - Unique identifier for the scheme, used to fetch
247
+ * or modify scheme details.
248
+ */
249
+ schemeId: string;
250
+ body: ServiceabilityPlatformModel.BulkRegionJobDetails;
251
+ };
252
+ type BulkTatParam = {
253
+ /**
254
+ * - Unique Identifier of courier partner extension.
255
+ */
256
+ extensionId: string;
257
+ /**
258
+ * - Unique identifier for the scheme, used to fetch
259
+ * or modify scheme details.
260
+ */
261
+ schemeId: string;
262
+ body: ServiceabilityPlatformModel.BulkRegionJobDetails;
263
+ };
212
264
  type CreateCourierPartnerAccountParam = {
213
- body: ServiceabilityPlatformModel.CourierAccount;
265
+ body: ServiceabilityPlatformModel.CourierAccountDetailsBody;
266
+ };
267
+ type CreateCourierPartnerSchemeParam = {
268
+ body: ServiceabilityPlatformModel.CourierPartnerSchemeDetailsModel;
214
269
  };
215
270
  type CreatePackageMaterialParam = {
216
271
  /**
217
- * - Index of the item to start returning with
272
+ * - The current page number for paginated results.
218
273
  */
219
274
  pageNo?: number;
220
275
  body: ServiceabilityPlatformModel.PackageMaterial;
221
276
  };
222
277
  type CreatePackageMaterialRuleParam = {
223
- body: ServiceabilityPlatformModel.PackageRuleRequest;
278
+ body: ServiceabilityPlatformModel.PackageRule;
279
+ };
280
+ type GetBulkServiceabilityParam = {
281
+ /**
282
+ * - Unique Identifier of courier partner extension.
283
+ */
284
+ extensionId: string;
285
+ /**
286
+ * - Unique identifier for the scheme, used to fetch
287
+ * or modify scheme details.
288
+ */
289
+ schemeId: string;
290
+ /**
291
+ * - The current page number for paginated results.
292
+ */
293
+ pageNo?: number;
294
+ /**
295
+ * - Determines the items to be displayed in a page
296
+ */
297
+ pageSize?: number;
298
+ /**
299
+ * - Unique identifier of bulk job
300
+ */
301
+ batchId?: string;
302
+ /**
303
+ * - Import or export bulk type
304
+ */
305
+ action?: string;
306
+ /**
307
+ * - Status of the bulk actions
308
+ */
309
+ status?: string;
310
+ /**
311
+ * - Country for which bulk job is initiated
312
+ */
313
+ country?: string;
314
+ /**
315
+ * - Region for which bulk job is initiated
316
+ */
317
+ region?: string;
318
+ /**
319
+ * - Fetch job history after a particule date
320
+ */
321
+ startDate?: string;
322
+ /**
323
+ * - Fetch job history before a particule date
324
+ */
325
+ endDate?: string;
326
+ };
327
+ type GetBulkTatParam = {
328
+ /**
329
+ * - Unique Identifier of courier partner extension.
330
+ */
331
+ extensionId: string;
332
+ /**
333
+ * - Unique identifier for the scheme, used to fetch
334
+ * or modify scheme details.
335
+ */
336
+ schemeId: string;
337
+ /**
338
+ * - The current page number for paginated results.
339
+ */
340
+ pageNo?: number;
341
+ /**
342
+ * - Determines the items to be displayed in a page
343
+ */
344
+ pageSize?: number;
345
+ /**
346
+ * - Unique identifier of bulk job
347
+ */
348
+ batchId?: string;
349
+ /**
350
+ * - Import or export bulk type
351
+ */
352
+ action?: string;
353
+ /**
354
+ * - Status of the bulk actions
355
+ */
356
+ status?: string;
357
+ /**
358
+ * - Country for which bulk job is initiated
359
+ */
360
+ country?: string;
361
+ /**
362
+ * - Region for which bulk job is initiated
363
+ */
364
+ region?: string;
365
+ /**
366
+ * - Fetch job history after a particule date
367
+ */
368
+ startDate?: string;
369
+ /**
370
+ * - Fetch job history before a particule date
371
+ */
372
+ endDate?: string;
224
373
  };
225
374
  type GetCountriesParam = {
226
375
  /**
@@ -248,13 +397,6 @@ type GetCountriesParam = {
248
397
  */
249
398
  hierarchy?: string;
250
399
  };
251
- type GetCountryParam = {
252
- /**
253
- * - The `country_iso_code` is ISO-2 (alpha-2)
254
- * code for the country.
255
- */
256
- countryIsoCode: string;
257
- };
258
400
  type GetCourierPartnerAccountParam = {
259
401
  /**
260
402
  * - Unique ID of courier account
@@ -263,7 +405,7 @@ type GetCourierPartnerAccountParam = {
263
405
  };
264
406
  type GetCourierPartnerAccountsParam = {
265
407
  /**
266
- * - Index of the item to start returning with
408
+ * - The current page number for paginated results.
267
409
  */
268
410
  pageNo?: number;
269
411
  /**
@@ -271,7 +413,7 @@ type GetCourierPartnerAccountsParam = {
271
413
  */
272
414
  pageSize?: number;
273
415
  /**
274
- * - Stage of the account. enabled/disabled
416
+ * - Stage of the account.
275
417
  */
276
418
  stage?: string;
277
419
  /**
@@ -291,7 +433,7 @@ type GetCourierPartnerAccountsParam = {
291
433
  */
292
434
  selfShip?: boolean;
293
435
  /**
294
- * - Filters seller owned or admin owned dp accounts
436
+ * - Filters seller owned or Fynd Managed dp accounts
295
437
  */
296
438
  ownAccount?: boolean;
297
439
  /**
@@ -300,118 +442,54 @@ type GetCourierPartnerAccountsParam = {
300
442
  */
301
443
  q?: string;
302
444
  };
303
- type GetInstalledCourierPartnerExtensionsParam = {
304
- /**
305
- * - Index of the item to start returning with
306
- */
307
- pageNo?: number;
308
- /**
309
- * - Determines the items to be displayed in a page
310
- */
311
- pageSize?: number;
312
- /**
313
- * - Filter to get installed extensions only
314
- */
315
- isInstalled?: string;
316
- };
317
- type GetListPackageMaterialRuleDetailsParam = {
318
- /**
319
- * - Index of the item to start returning with
320
- */
321
- pageNo?: number;
322
- /**
323
- * - Determines the items to be displayed in a page
324
- */
325
- pageSize?: number;
445
+ type GetCourierPartnerSchemeParam = {
326
446
  /**
327
- * - Filters items based on given is_active
447
+ * - Unique identifier for the scheme, used to fetch
448
+ * or modify scheme details.
328
449
  */
329
- isActive?: string;
450
+ schemeId: string;
330
451
  };
331
- type GetLocalitiesParam = {
332
- /**
333
- * - A `locality_type` contains unique
334
- * geographical division.
335
- */
336
- localityType: string;
337
- /**
338
- * - A `country` contains a specific value of the
339
- * country iso2 code.
340
- */
341
- country?: string;
342
- /**
343
- * - A `state` contains a specific value of the
344
- * state, province.
345
- */
346
- state?: string;
347
- /**
348
- * - A `city` contains a specific value of the city.
349
- */
350
- city?: string;
452
+ type GetCourierPartnerSchemesParam = {
351
453
  /**
352
- * - Page number.
454
+ * - Indicates whether a scheme is created by an
455
+ * admin for global purposes or customized for a specific company.
353
456
  */
354
- pageNo?: number;
457
+ schemeType?: string;
355
458
  /**
356
- * - Page size.
459
+ * - Indicates payment mode for a scheme.
357
460
  */
358
- pageSize?: number;
461
+ paymentMode?: string;
359
462
  /**
360
- * - Search.
463
+ * - Indicates whether the scheme possesses
464
+ * certain capabilities.
361
465
  */
362
- q?: string;
466
+ capabilities?: string[];
363
467
  /**
364
- * - Search for localities. Either provide a full name
365
- * or a search term.
468
+ * - List of scheme ids which need to be
469
+ * returned in the response.
366
470
  */
367
- name?: string;
471
+ schemeIds?: string[];
368
472
  };
369
- type GetLocalitiesByPrefixParam = {
473
+ type GetInstalledCourierPartnerExtensionsParam = {
370
474
  /**
371
- * - Starting index of the items.
475
+ * - The current page number for paginated results.
372
476
  */
373
477
  pageNo?: number;
374
478
  /**
375
- * - Number of items per page.
479
+ * - Determines the items to be displayed in a page
376
480
  */
377
481
  pageSize?: number;
378
482
  /**
379
- * - Localities starting with the specified prefix.
380
- */
381
- q?: string;
382
- };
383
- type GetLocalityParam = {
384
- /**
385
- * - A `locality_type` contains value
386
- * geographical division.
387
- */
388
- localityType: string;
389
- /**
390
- * - A `locality_value` contains a specific
391
- * name of the locality.
392
- */
393
- localityValue: string;
394
- /**
395
- * - A `country` contains a specific value of the
396
- * country iso2 code.
397
- */
398
- country?: string;
399
- /**
400
- * - A `state` contains a specific value of the
401
- * state, province.
402
- */
403
- state?: string;
404
- /**
405
- * - A `city` contains a specific value of the city.
483
+ * - Filter to get installed extensions only
406
484
  */
407
- city?: string;
485
+ isInstalled?: string;
408
486
  };
409
487
  type GetOptimalLocationsParam = {
410
488
  body: ServiceabilityPlatformModel.OptimlLocationsRequestSchema;
411
489
  };
412
490
  type GetPackageMaterialListParam = {
413
491
  /**
414
- * - Index of the item to start returning with
492
+ * - The current page number for paginated results.
415
493
  */
416
494
  pageNo?: number;
417
495
  /**
@@ -419,7 +497,8 @@ type GetPackageMaterialListParam = {
419
497
  */
420
498
  pageSize?: number;
421
499
  /**
422
- * - Perform regex search on items matching name for given value
500
+ * - Used to search for matching results based on the
501
+ * provided input.
423
502
  */
424
503
  q?: string;
425
504
  /**
@@ -438,14 +517,16 @@ type GetPackageMaterialRuleParam = {
438
517
  */
439
518
  ruleId: string;
440
519
  };
441
- type GetPackageMaterialRuleDetailsParam = {
520
+ type GetPackageMaterialsParam = {
442
521
  /**
443
- * - A `package_material_rule_id` is a unique
444
- * identifier for a Package Material Rule
522
+ * - A `package_material_id` is a unique
523
+ * identifier for a Package Material
445
524
  */
446
- ruleId: string;
525
+ packageMaterialId: string;
526
+ };
527
+ type GetSampleFileServiceabilityStatusParam = {
447
528
  /**
448
- * - Index of the item to start returning with
529
+ * - The current page number for paginated results.
449
530
  */
450
531
  pageNo?: number;
451
532
  /**
@@ -453,29 +534,30 @@ type GetPackageMaterialRuleDetailsParam = {
453
534
  */
454
535
  pageSize?: number;
455
536
  /**
456
- * - Filters items based on given is_active
537
+ * - Batch id of the execution
457
538
  */
458
- isActive?: string;
539
+ batchId?: string;
459
540
  };
460
- type GetPackageMaterialsParam = {
461
- /**
462
- * - A `package_material_id` is a unique
463
- * identifier for a Package Material
464
- */
465
- packageMaterialId: string;
541
+ type SampleFileServiceabilityParam = {
542
+ body: ServiceabilityPlatformModel.BulkRegionServiceabilityTatDetails;
466
543
  };
467
544
  type UpdateCompanyConfigurationParam = {
468
- body: ServiceabilityPlatformModel.CompanyConfigurationShema;
469
- };
470
- type UpdateCompanySelfShipParam = {
471
- body: ServiceabilityPlatformModel.CompanySelfShip;
545
+ body: ServiceabilityPlatformModel.CompanyConfigurationSchema;
472
546
  };
473
547
  type UpdateCourierPartnerAccountParam = {
474
548
  /**
475
549
  * - Unique ID of courier account
476
550
  */
477
551
  accountId: string;
478
- body: ServiceabilityPlatformModel.CourierAccount;
552
+ body: ServiceabilityPlatformModel.CourierAccountDetailsBody;
553
+ };
554
+ type UpdateCourierPartnerSchemeParam = {
555
+ /**
556
+ * - Unique identifier for the scheme, used to fetch
557
+ * or modify scheme details.
558
+ */
559
+ schemeId: string;
560
+ body: ServiceabilityPlatformModel.CourierPartnerSchemeUpdateDetailsSchema;
479
561
  };
480
562
  type UpdatePackageMaterialRuleParam = {
481
563
  /**
@@ -483,7 +565,7 @@ type UpdatePackageMaterialRuleParam = {
483
565
  * identifier for a Package Material Rule
484
566
  */
485
567
  ruleId: string;
486
- body: ServiceabilityPlatformModel.PackageRuleRequest;
568
+ body: ServiceabilityPlatformModel.PackageRule;
487
569
  };
488
570
  type UpdatePackageMaterialsParam = {
489
571
  /**
@@ -493,17 +575,9 @@ type UpdatePackageMaterialsParam = {
493
575
  packageMaterialId: string;
494
576
  body: ServiceabilityPlatformModel.PackageMaterial;
495
577
  };
496
- type ValidateAddressParam = {
497
- /**
498
- * - The ISO code of the country.
499
- */
500
- countryIsoCode: string;
501
- /**
502
- * - The type of address form.
503
- */
504
- templateName: string;
505
- body: ServiceabilityPlatformModel.ValidateAddressRequest;
578
+ type UpdateSelfShipDetailsParam = {
579
+ body: ServiceabilityPlatformModel.SelfshipSchema;
506
580
  };
507
581
  type GetCompanyConfigurationParam = any;
508
- type GetCompanySelfShipParam = any;
582
+ type GetSelfShipDetailsParam = any;
509
583
  import ServiceabilityPlatformModel = require("./ServiceabilityPlatformModel");