@gofynd/fdk-client-javascript 3.0.0-beta.1 → 3.0.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 (310) hide show
  1. package/README.md +1 -1
  2. package/package.json +1 -1
  3. package/sdk/application/ApplicationClient.d.ts +2 -0
  4. package/sdk/application/ApplicationClient.js +2 -0
  5. package/sdk/application/Cart/CartApplicationClient.d.ts +93 -113
  6. package/sdk/application/Cart/CartApplicationClient.js +157 -530
  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 +65 -55
  16. package/sdk/application/Content/ContentApplicationClient.js +211 -341
  17. package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +6 -6
  18. package/sdk/application/FileStorage/FileStorageApplicationClient.js +14 -33
  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 +32 -87
  24. package/sdk/application/Logistic/LogisticApplicationClient.js +126 -383
  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 +18 -62
  46. package/sdk/partner/FileStorage/FileStoragePartnerClient.js +40 -372
  47. package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +99 -33
  48. package/sdk/partner/FileStorage/FileStoragePartnerModel.js +84 -25
  49. package/sdk/partner/FileStorage/FileStoragePartnerValidator.d.ts +1 -5
  50. package/sdk/partner/FileStorage/FileStoragePartnerValidator.js +7 -38
  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 +15 -406
  88. package/sdk/platform/Billing/BillingPlatformClient.js +76 -3214
  89. package/sdk/platform/Billing/BillingPlatformModel.d.ts +459 -3798
  90. package/sdk/platform/Billing/BillingPlatformModel.js +338 -2573
  91. package/sdk/platform/Billing/BillingPlatformValidator.d.ts +24 -465
  92. package/sdk/platform/Billing/BillingPlatformValidator.js +14 -490
  93. package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +205 -284
  94. package/sdk/platform/Cart/CartPlatformApplicationClient.js +554 -672
  95. package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +165 -165
  96. package/sdk/platform/Cart/CartPlatformApplicationValidator.js +132 -108
  97. package/sdk/platform/Cart/CartPlatformModel.d.ts +4865 -3148
  98. package/sdk/platform/Cart/CartPlatformModel.js +2071 -2854
  99. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +419 -1015
  100. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +2004 -6444
  101. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +226 -1117
  102. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +127 -919
  103. package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +574 -372
  104. package/sdk/platform/Catalog/CatalogPlatformClient.js +1315 -1238
  105. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +9334 -7634
  106. package/sdk/platform/Catalog/CatalogPlatformModel.js +6980 -9652
  107. package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +239 -294
  108. package/sdk/platform/Catalog/CatalogPlatformValidator.js +186 -246
  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 +236 -376
  114. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +579 -868
  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 +314 -422
  120. package/sdk/platform/Communication/CommunicationPlatformModel.js +382 -538
  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 -68
  124. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +88 -84
  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 -20
  128. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +20 -20
  129. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +118 -333
  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 +565 -1282
  136. package/sdk/platform/Configuration/ConfigurationPlatformModel.js +369 -1034
  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 -246
  140. package/sdk/platform/Content/ContentPlatformApplicationClient.js +1297 -776
  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 +2374 -877
  146. package/sdk/platform/Content/ContentPlatformModel.js +1304 -930
  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 +421 -418
  180. package/sdk/platform/Order/OrderPlatformClient.js +1194 -1350
  181. package/sdk/platform/Order/OrderPlatformModel.d.ts +9145 -4107
  182. package/sdk/platform/Order/OrderPlatformModel.js +4257 -3197
  183. package/sdk/platform/Order/OrderPlatformValidator.d.ts +641 -442
  184. package/sdk/platform/Order/OrderPlatformValidator.js +341 -311
  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 +934 -2452
  191. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +93 -306
  192. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +70 -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 +1327 -3529
  196. package/sdk/platform/Payment/PaymentPlatformModel.js +1397 -3693
  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 -513
  209. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +75 -103
  210. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +50 -99
  211. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +162 -127
  212. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +775 -435
  213. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +6250 -3861
  214. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +3178 -3798
  215. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +295 -199
  216. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +205 -133
  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 -4
  222. package/sdk/platform/Share/SharePlatformModel.js +45 -3
  223. package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +4 -26
  224. package/sdk/platform/Theme/ThemePlatformApplicationClient.js +10 -157
  225. package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +10 -21
  226. package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +6 -23
  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 -2
  272. package/sdk/public/PublicClient.js +2 -2
  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 -1
  280. package/sdk/public/index.js +1 -1
  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
  305. package/sdk/public/Billing/BillingPublicClient.d.ts +0 -56
  306. package/sdk/public/Billing/BillingPublicClient.js +0 -397
  307. package/sdk/public/Billing/BillingPublicModel.d.ts +0 -919
  308. package/sdk/public/Billing/BillingPublicModel.js +0 -560
  309. package/sdk/public/Billing/BillingPublicValidator.d.ts +0 -43
  310. package/sdk/public/Billing/BillingPublicValidator.js +0 -50
@@ -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,66 +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
56
- */
57
- /**
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
94
+ * @typedef GetCourierPartnerSchemeParam
95
+ * @property {string} schemeId - Unique identifier for the scheme, used to fetch
96
+ * or modify scheme details.
62
97
  */
63
98
  /**
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.
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.
77
107
  */
78
108
  /**
79
- * @typedef GetLocalityParam
80
- * @property {string} localityType - A `locality_type` contains value
81
- * geographical division.
82
- * @property {string} localityValue - A `locality_value` contains a specific
83
- * name of the locality.
84
- * @property {string} [country] - A `country` contains a specific value of the
85
- * country iso2 code.
86
- * @property {string} [state] - A `state` contains a specific value of the
87
- * state, province.
88
- * @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
89
113
  */
90
114
  /**
91
115
  * @typedef GetOptimalLocationsParam
@@ -93,9 +117,10 @@ export = ServiceabilityPlatformValidator;
93
117
  */
94
118
  /**
95
119
  * @typedef GetPackageMaterialListParam
96
- * @property {number} [pageNo] - Index of the item to start returning with
120
+ * @property {number} [pageNo] - The current page number for paginated results.
97
121
  * @property {number} [pageSize] - Determines the items to be displayed in a page
98
- * @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.
99
124
  * @property {string} [size] - Filters items based on given size
100
125
  * @property {string} [packageType] - Filters items based on given package_type
101
126
  */
@@ -104,37 +129,42 @@ export = ServiceabilityPlatformValidator;
104
129
  * @property {string} ruleId - A `package_material_rule_id` is a unique
105
130
  * identifier for a Package Material Rule
106
131
  */
107
- /**
108
- * @typedef GetPackageMaterialRuleDetailsParam
109
- * @property {string} ruleId - A `package_material_rule_id` is a unique
110
- * identifier for a Package Material Rule
111
- * @property {number} [pageNo] - Index of the item to start returning with
112
- * @property {number} [pageSize] - Determines the items to be displayed in a page
113
- * @property {string} [isActive] - Filters items based on given is_active
114
- */
115
132
  /**
116
133
  * @typedef GetPackageMaterialsParam
117
134
  * @property {string} packageMaterialId - A `package_material_id` is a unique
118
135
  * identifier for a Package Material
119
136
  */
120
137
  /**
121
- * @typedef UpdateCompanyConfigurationParam
122
- * @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
123
142
  */
143
+ /** @typedef GetSelfShipDetailsParam */
124
144
  /**
125
- * @typedef UpdateCompanySelfShipParam
126
- * @property {ServiceabilityPlatformModel.CompanySelfShip} body
145
+ * @typedef SampleFileServiceabilityParam
146
+ * @property {ServiceabilityPlatformModel.BulkRegionServiceabilityTatDetails} body
147
+ */
148
+ /**
149
+ * @typedef UpdateCompanyConfigurationParam
150
+ * @property {ServiceabilityPlatformModel.CompanyConfigurationSchema} body
127
151
  */
128
152
  /**
129
153
  * @typedef UpdateCourierPartnerAccountParam
130
154
  * @property {string} accountId - Unique ID of courier account
131
- * @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
132
162
  */
133
163
  /**
134
164
  * @typedef UpdatePackageMaterialRuleParam
135
165
  * @property {string} ruleId - A `package_material_rule_id` is a unique
136
166
  * identifier for a Package Material Rule
137
- * @property {ServiceabilityPlatformModel.PackageRuleRequest} body
167
+ * @property {ServiceabilityPlatformModel.PackageRule} body
138
168
  */
139
169
  /**
140
170
  * @typedef UpdatePackageMaterialsParam
@@ -143,76 +173,203 @@ export = ServiceabilityPlatformValidator;
143
173
  * @property {ServiceabilityPlatformModel.PackageMaterial} body
144
174
  */
145
175
  /**
146
- * @typedef ValidateAddressParam
147
- * @property {string} countryIsoCode - The ISO code of the country.
148
- * @property {string} templateName - The type of address form.
149
- * @property {ServiceabilityPlatformModel.ValidateAddressRequest} body
176
+ * @typedef UpdateSelfShipDetailsParam
177
+ * @property {ServiceabilityPlatformModel.SelfshipSchema} body
150
178
  */
151
179
  declare class ServiceabilityPlatformValidator {
180
+ /** @returns {BulkServiceabilityParam} */
181
+ static bulkServiceability(): BulkServiceabilityParam;
182
+ /** @returns {BulkTatParam} */
183
+ static bulkTat(): BulkTatParam;
152
184
  /** @returns {CreateCourierPartnerAccountParam} */
153
185
  static createCourierPartnerAccount(): CreateCourierPartnerAccountParam;
186
+ /** @returns {CreateCourierPartnerSchemeParam} */
187
+ static createCourierPartnerScheme(): CreateCourierPartnerSchemeParam;
154
188
  /** @returns {CreatePackageMaterialParam} */
155
189
  static createPackageMaterial(): CreatePackageMaterialParam;
156
190
  /** @returns {CreatePackageMaterialRuleParam} */
157
191
  static createPackageMaterialRule(): CreatePackageMaterialRuleParam;
192
+ /** @returns {GetBulkServiceabilityParam} */
193
+ static getBulkServiceability(): GetBulkServiceabilityParam;
194
+ /** @returns {GetBulkTatParam} */
195
+ static getBulkTat(): GetBulkTatParam;
158
196
  /** @returns {GetCompanyConfigurationParam} */
159
197
  static getCompanyConfiguration(): any;
160
- /** @returns {GetCompanySelfShipParam} */
161
- static getCompanySelfShip(): any;
162
198
  /** @returns {GetCountriesParam} */
163
199
  static getCountries(): GetCountriesParam;
164
- /** @returns {GetCountryParam} */
165
- static getCountry(): GetCountryParam;
166
200
  /** @returns {GetCourierPartnerAccountParam} */
167
201
  static getCourierPartnerAccount(): GetCourierPartnerAccountParam;
168
202
  /** @returns {GetCourierPartnerAccountsParam} */
169
203
  static getCourierPartnerAccounts(): GetCourierPartnerAccountsParam;
204
+ /** @returns {GetCourierPartnerSchemeParam} */
205
+ static getCourierPartnerScheme(): GetCourierPartnerSchemeParam;
206
+ /** @returns {GetCourierPartnerSchemesParam} */
207
+ static getCourierPartnerSchemes(): GetCourierPartnerSchemesParam;
170
208
  /** @returns {GetInstalledCourierPartnerExtensionsParam} */
171
209
  static getInstalledCourierPartnerExtensions(): GetInstalledCourierPartnerExtensionsParam;
172
- /** @returns {GetListPackageMaterialRuleDetailsParam} */
173
- static getListPackageMaterialRuleDetails(): GetListPackageMaterialRuleDetailsParam;
174
- /** @returns {GetLocalitiesParam} */
175
- static getLocalities(): GetLocalitiesParam;
176
- /** @returns {GetLocalityParam} */
177
- static getLocality(): GetLocalityParam;
178
210
  /** @returns {GetOptimalLocationsParam} */
179
211
  static getOptimalLocations(): GetOptimalLocationsParam;
180
212
  /** @returns {GetPackageMaterialListParam} */
181
213
  static getPackageMaterialList(): GetPackageMaterialListParam;
182
214
  /** @returns {GetPackageMaterialRuleParam} */
183
215
  static getPackageMaterialRule(): GetPackageMaterialRuleParam;
184
- /** @returns {GetPackageMaterialRuleDetailsParam} */
185
- static getPackageMaterialRuleDetails(): GetPackageMaterialRuleDetailsParam;
186
216
  /** @returns {GetPackageMaterialsParam} */
187
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;
188
224
  /** @returns {UpdateCompanyConfigurationParam} */
189
225
  static updateCompanyConfiguration(): UpdateCompanyConfigurationParam;
190
- /** @returns {UpdateCompanySelfShipParam} */
191
- static updateCompanySelfShip(): UpdateCompanySelfShipParam;
192
226
  /** @returns {UpdateCourierPartnerAccountParam} */
193
227
  static updateCourierPartnerAccount(): UpdateCourierPartnerAccountParam;
228
+ /** @returns {UpdateCourierPartnerSchemeParam} */
229
+ static updateCourierPartnerScheme(): UpdateCourierPartnerSchemeParam;
194
230
  /** @returns {UpdatePackageMaterialRuleParam} */
195
231
  static updatePackageMaterialRule(): UpdatePackageMaterialRuleParam;
196
232
  /** @returns {UpdatePackageMaterialsParam} */
197
233
  static updatePackageMaterials(): UpdatePackageMaterialsParam;
198
- /** @returns {ValidateAddressParam} */
199
- static validateAddress(): ValidateAddressParam;
234
+ /** @returns {UpdateSelfShipDetailsParam} */
235
+ static updateSelfShipDetails(): UpdateSelfShipDetailsParam;
200
236
  }
201
237
  declare namespace ServiceabilityPlatformValidator {
202
- export { CreateCourierPartnerAccountParam, CreatePackageMaterialParam, CreatePackageMaterialRuleParam, GetCompanyConfigurationParam, GetCompanySelfShipParam, GetCountriesParam, GetCountryParam, GetCourierPartnerAccountParam, GetCourierPartnerAccountsParam, GetInstalledCourierPartnerExtensionsParam, GetListPackageMaterialRuleDetailsParam, GetLocalitiesParam, 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 };
203
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
+ };
204
264
  type CreateCourierPartnerAccountParam = {
205
- body: ServiceabilityPlatformModel.CourierAccount;
265
+ body: ServiceabilityPlatformModel.CourierAccountDetailsBody;
266
+ };
267
+ type CreateCourierPartnerSchemeParam = {
268
+ body: ServiceabilityPlatformModel.CourierPartnerSchemeDetailsModel;
206
269
  };
207
270
  type CreatePackageMaterialParam = {
208
271
  /**
209
- * - Index of the item to start returning with
272
+ * - The current page number for paginated results.
210
273
  */
211
274
  pageNo?: number;
212
275
  body: ServiceabilityPlatformModel.PackageMaterial;
213
276
  };
214
277
  type CreatePackageMaterialRuleParam = {
215
- 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;
216
373
  };
217
374
  type GetCountriesParam = {
218
375
  /**
@@ -240,13 +397,6 @@ type GetCountriesParam = {
240
397
  */
241
398
  hierarchy?: string;
242
399
  };
243
- type GetCountryParam = {
244
- /**
245
- * - The `country_iso_code` is ISO-2 (alpha-2)
246
- * code for the country.
247
- */
248
- countryIsoCode: string;
249
- };
250
400
  type GetCourierPartnerAccountParam = {
251
401
  /**
252
402
  * - Unique ID of courier account
@@ -255,7 +405,7 @@ type GetCourierPartnerAccountParam = {
255
405
  };
256
406
  type GetCourierPartnerAccountsParam = {
257
407
  /**
258
- * - Index of the item to start returning with
408
+ * - The current page number for paginated results.
259
409
  */
260
410
  pageNo?: number;
261
411
  /**
@@ -263,7 +413,7 @@ type GetCourierPartnerAccountsParam = {
263
413
  */
264
414
  pageSize?: number;
265
415
  /**
266
- * - Stage of the account. enabled/disabled
416
+ * - Stage of the account.
267
417
  */
268
418
  stage?: string;
269
419
  /**
@@ -283,7 +433,7 @@ type GetCourierPartnerAccountsParam = {
283
433
  */
284
434
  selfShip?: boolean;
285
435
  /**
286
- * - Filters seller owned or admin owned dp accounts
436
+ * - Filters seller owned or Fynd Managed dp accounts
287
437
  */
288
438
  ownAccount?: boolean;
289
439
  /**
@@ -292,104 +442,54 @@ type GetCourierPartnerAccountsParam = {
292
442
  */
293
443
  q?: string;
294
444
  };
295
- type GetInstalledCourierPartnerExtensionsParam = {
296
- /**
297
- * - Index of the item to start returning with
298
- */
299
- pageNo?: number;
300
- /**
301
- * - Determines the items to be displayed in a page
302
- */
303
- pageSize?: number;
304
- /**
305
- * - Filter to get installed extensions only
306
- */
307
- isInstalled?: string;
308
- };
309
- type GetListPackageMaterialRuleDetailsParam = {
445
+ type GetCourierPartnerSchemeParam = {
310
446
  /**
311
- * - Index of the item to start returning with
447
+ * - Unique identifier for the scheme, used to fetch
448
+ * or modify scheme details.
312
449
  */
313
- pageNo?: number;
314
- /**
315
- * - Determines the items to be displayed in a page
316
- */
317
- pageSize?: number;
318
- /**
319
- * - Filters items based on given is_active
320
- */
321
- isActive?: string;
450
+ schemeId: string;
322
451
  };
323
- type GetLocalitiesParam = {
452
+ type GetCourierPartnerSchemesParam = {
324
453
  /**
325
- * - A `locality_type` contains unique
326
- * geographical division.
454
+ * - Indicates whether a scheme is created by an
455
+ * admin for global purposes or customized for a specific company.
327
456
  */
328
- localityType: string;
457
+ schemeType?: string;
329
458
  /**
330
- * - A `country` contains a specific value of the
331
- * country iso2 code.
459
+ * - Indicates payment mode for a scheme.
332
460
  */
333
- country?: string;
461
+ paymentMode?: string;
334
462
  /**
335
- * - A `state` contains a specific value of the
336
- * state, province.
463
+ * - Indicates whether the scheme possesses
464
+ * certain capabilities.
337
465
  */
338
- state?: string;
466
+ capabilities?: string[];
339
467
  /**
340
- * - A `city` contains a specific value of the city.
468
+ * - List of scheme ids which need to be
469
+ * returned in the response.
341
470
  */
342
- city?: string;
471
+ schemeIds?: string[];
472
+ };
473
+ type GetInstalledCourierPartnerExtensionsParam = {
343
474
  /**
344
- * - Page number.
475
+ * - The current page number for paginated results.
345
476
  */
346
477
  pageNo?: number;
347
478
  /**
348
- * - Page size.
479
+ * - Determines the items to be displayed in a page
349
480
  */
350
481
  pageSize?: number;
351
482
  /**
352
- * - Search.
353
- */
354
- q?: string;
355
- /**
356
- * - Search for localities. Either provide a full name
357
- * or a search term.
358
- */
359
- name?: string;
360
- };
361
- type GetLocalityParam = {
362
- /**
363
- * - A `locality_type` contains value
364
- * geographical division.
365
- */
366
- localityType: string;
367
- /**
368
- * - A `locality_value` contains a specific
369
- * name of the locality.
370
- */
371
- localityValue: string;
372
- /**
373
- * - A `country` contains a specific value of the
374
- * country iso2 code.
375
- */
376
- country?: string;
377
- /**
378
- * - A `state` contains a specific value of the
379
- * state, province.
380
- */
381
- state?: string;
382
- /**
383
- * - A `city` contains a specific value of the city.
483
+ * - Filter to get installed extensions only
384
484
  */
385
- city?: string;
485
+ isInstalled?: string;
386
486
  };
387
487
  type GetOptimalLocationsParam = {
388
488
  body: ServiceabilityPlatformModel.OptimlLocationsRequestSchema;
389
489
  };
390
490
  type GetPackageMaterialListParam = {
391
491
  /**
392
- * - Index of the item to start returning with
492
+ * - The current page number for paginated results.
393
493
  */
394
494
  pageNo?: number;
395
495
  /**
@@ -397,7 +497,8 @@ type GetPackageMaterialListParam = {
397
497
  */
398
498
  pageSize?: number;
399
499
  /**
400
- * - Perform regex search on items matching name for given value
500
+ * - Used to search for matching results based on the
501
+ * provided input.
401
502
  */
402
503
  q?: string;
403
504
  /**
@@ -416,14 +517,16 @@ type GetPackageMaterialRuleParam = {
416
517
  */
417
518
  ruleId: string;
418
519
  };
419
- type GetPackageMaterialRuleDetailsParam = {
520
+ type GetPackageMaterialsParam = {
420
521
  /**
421
- * - A `package_material_rule_id` is a unique
422
- * identifier for a Package Material Rule
522
+ * - A `package_material_id` is a unique
523
+ * identifier for a Package Material
423
524
  */
424
- ruleId: string;
525
+ packageMaterialId: string;
526
+ };
527
+ type GetSampleFileServiceabilityStatusParam = {
425
528
  /**
426
- * - Index of the item to start returning with
529
+ * - The current page number for paginated results.
427
530
  */
428
531
  pageNo?: number;
429
532
  /**
@@ -431,29 +534,30 @@ type GetPackageMaterialRuleDetailsParam = {
431
534
  */
432
535
  pageSize?: number;
433
536
  /**
434
- * - Filters items based on given is_active
537
+ * - Batch id of the execution
435
538
  */
436
- isActive?: string;
539
+ batchId?: string;
437
540
  };
438
- type GetPackageMaterialsParam = {
439
- /**
440
- * - A `package_material_id` is a unique
441
- * identifier for a Package Material
442
- */
443
- packageMaterialId: string;
541
+ type SampleFileServiceabilityParam = {
542
+ body: ServiceabilityPlatformModel.BulkRegionServiceabilityTatDetails;
444
543
  };
445
544
  type UpdateCompanyConfigurationParam = {
446
- body: ServiceabilityPlatformModel.CompanyConfigurationShema;
447
- };
448
- type UpdateCompanySelfShipParam = {
449
- body: ServiceabilityPlatformModel.CompanySelfShip;
545
+ body: ServiceabilityPlatformModel.CompanyConfigurationSchema;
450
546
  };
451
547
  type UpdateCourierPartnerAccountParam = {
452
548
  /**
453
549
  * - Unique ID of courier account
454
550
  */
455
551
  accountId: string;
456
- 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;
457
561
  };
458
562
  type UpdatePackageMaterialRuleParam = {
459
563
  /**
@@ -461,7 +565,7 @@ type UpdatePackageMaterialRuleParam = {
461
565
  * identifier for a Package Material Rule
462
566
  */
463
567
  ruleId: string;
464
- body: ServiceabilityPlatformModel.PackageRuleRequest;
568
+ body: ServiceabilityPlatformModel.PackageRule;
465
569
  };
466
570
  type UpdatePackageMaterialsParam = {
467
571
  /**
@@ -471,17 +575,9 @@ type UpdatePackageMaterialsParam = {
471
575
  packageMaterialId: string;
472
576
  body: ServiceabilityPlatformModel.PackageMaterial;
473
577
  };
474
- type ValidateAddressParam = {
475
- /**
476
- * - The ISO code of the country.
477
- */
478
- countryIsoCode: string;
479
- /**
480
- * - The type of address form.
481
- */
482
- templateName: string;
483
- body: ServiceabilityPlatformModel.ValidateAddressRequest;
578
+ type UpdateSelfShipDetailsParam = {
579
+ body: ServiceabilityPlatformModel.SelfshipSchema;
484
580
  };
485
581
  type GetCompanyConfigurationParam = any;
486
- type GetCompanySelfShipParam = any;
582
+ type GetSelfShipDetailsParam = any;
487
583
  import ServiceabilityPlatformModel = require("./ServiceabilityPlatformModel");