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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (237) 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 +68 -48
  6. package/sdk/application/Cart/CartApplicationClient.js +130 -27
  7. package/sdk/application/Catalog/CatalogApplicationClient.d.ts +59 -58
  8. package/sdk/application/Catalog/CatalogApplicationClient.js +30 -29
  9. package/sdk/application/Common/CommonApplicationClient.d.ts +2 -2
  10. package/sdk/application/Common/CommonApplicationClient.js +1 -1
  11. package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +20 -20
  12. package/sdk/application/Configuration/ConfigurationApplicationClient.js +10 -10
  13. package/sdk/application/Content/ContentApplicationClient.d.ts +19 -30
  14. package/sdk/application/Content/ContentApplicationClient.js +40 -60
  15. package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +8 -8
  16. package/sdk/application/FileStorage/FileStorageApplicationClient.js +7 -7
  17. package/sdk/application/Finance/FinanceApplicationClient.d.ts +29 -0
  18. package/sdk/application/Finance/FinanceApplicationClient.js +126 -0
  19. package/sdk/application/Lead/LeadApplicationClient.d.ts +2 -2
  20. package/sdk/application/Lead/LeadApplicationClient.js +1 -1
  21. package/sdk/application/Logistic/LogisticApplicationClient.d.ts +35 -15
  22. package/sdk/application/Logistic/LogisticApplicationClient.js +118 -8
  23. package/sdk/application/Order/OrderApplicationClient.d.ts +22 -12
  24. package/sdk/application/Order/OrderApplicationClient.js +62 -8
  25. package/sdk/application/Payment/PaymentApplicationClient.d.ts +87 -87
  26. package/sdk/application/Payment/PaymentApplicationClient.js +65 -46
  27. package/sdk/application/Rewards/RewardsApplicationClient.d.ts +13 -13
  28. package/sdk/application/Rewards/RewardsApplicationClient.js +7 -7
  29. package/sdk/application/Theme/ThemeApplicationClient.d.ts +2 -2
  30. package/sdk/application/Theme/ThemeApplicationClient.js +4 -2
  31. package/sdk/application/User/UserApplicationClient.d.ts +10 -10
  32. package/sdk/application/User/UserApplicationClient.js +6 -6
  33. package/sdk/application/Webhook/WebhookApplicationClient.d.ts +4 -4
  34. package/sdk/application/Webhook/WebhookApplicationClient.js +3 -3
  35. package/sdk/partner/FileStorage/FileStoragePartnerClient.d.ts +86 -12
  36. package/sdk/partner/FileStorage/FileStoragePartnerClient.js +582 -24
  37. package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +116 -19
  38. package/sdk/partner/FileStorage/FileStoragePartnerModel.js +121 -14
  39. package/sdk/partner/FileStorage/FileStoragePartnerValidator.d.ts +8 -1
  40. package/sdk/partner/FileStorage/FileStoragePartnerValidator.js +51 -4
  41. package/sdk/partner/Lead/LeadPartnerClient.d.ts +2 -2
  42. package/sdk/partner/Lead/LeadPartnerClient.js +2 -2
  43. package/sdk/partner/Lead/LeadPartnerModel.d.ts +5 -5
  44. package/sdk/partner/Lead/LeadPartnerModel.js +15 -15
  45. package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +126 -20
  46. package/sdk/partner/Logistics/LogisticsPartnerClient.js +970 -20
  47. package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +1200 -167
  48. package/sdk/partner/Logistics/LogisticsPartnerModel.js +571 -160
  49. package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +10 -0
  50. package/sdk/partner/Logistics/LogisticsPartnerValidator.js +121 -7
  51. package/sdk/partner/Theme/ThemePartnerClient.d.ts +8 -10
  52. package/sdk/partner/Theme/ThemePartnerClient.js +14 -16
  53. package/sdk/partner/Theme/ThemePartnerModel.d.ts +96 -37
  54. package/sdk/partner/Theme/ThemePartnerModel.js +90 -36
  55. package/sdk/partner/Theme/ThemePartnerValidator.js +4 -4
  56. package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +28 -18
  57. package/sdk/partner/Webhook/WebhookPartnerClient.js +103 -18
  58. package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +612 -179
  59. package/sdk/partner/Webhook/WebhookPartnerModel.js +253 -150
  60. package/sdk/partner/Webhook/WebhookPartnerValidator.d.ts +1 -0
  61. package/sdk/partner/Webhook/WebhookPartnerValidator.js +11 -3
  62. package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.d.ts +5 -4
  63. package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.js +14 -8
  64. package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +59 -9
  65. package/sdk/platform/Analytics/AnalyticsPlatformModel.js +40 -4
  66. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +2 -32
  67. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +3 -243
  68. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +11 -130
  69. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +12 -152
  70. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +1 -39
  71. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +0 -35
  72. package/sdk/platform/Billing/BillingPlatformClient.d.ts +12 -12
  73. package/sdk/platform/Billing/BillingPlatformClient.js +15 -15
  74. package/sdk/platform/Billing/BillingPlatformModel.d.ts +443 -388
  75. package/sdk/platform/Billing/BillingPlatformModel.js +280 -263
  76. package/sdk/platform/Billing/BillingPlatformValidator.d.ts +16 -18
  77. package/sdk/platform/Billing/BillingPlatformValidator.js +8 -9
  78. package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +134 -103
  79. package/sdk/platform/Cart/CartPlatformApplicationClient.js +419 -115
  80. package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +121 -65
  81. package/sdk/platform/Cart/CartPlatformApplicationValidator.js +109 -44
  82. package/sdk/platform/Cart/CartPlatformModel.d.ts +5039 -1300
  83. package/sdk/platform/Cart/CartPlatformModel.js +1976 -1217
  84. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +209 -183
  85. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +452 -395
  86. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +185 -142
  87. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +96 -78
  88. package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +154 -117
  89. package/sdk/platform/Catalog/CatalogPlatformClient.js +292 -172
  90. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +6941 -2203
  91. package/sdk/platform/Catalog/CatalogPlatformModel.js +3224 -1687
  92. package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +72 -31
  93. package/sdk/platform/Catalog/CatalogPlatformValidator.js +50 -24
  94. package/sdk/platform/Common/CommonPlatformClient.d.ts +3 -2
  95. package/sdk/platform/Common/CommonPlatformClient.js +3 -2
  96. package/sdk/platform/Common/CommonPlatformModel.d.ts +9 -9
  97. package/sdk/platform/Common/CommonPlatformModel.js +6 -6
  98. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +16 -17
  99. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +16 -17
  100. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +8 -8
  101. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +8 -8
  102. package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +43 -33
  103. package/sdk/platform/Communication/CommunicationPlatformModel.js +38 -34
  104. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +46 -42
  105. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +47 -43
  106. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +223 -223
  107. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +210 -212
  108. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +12 -12
  109. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +12 -12
  110. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +46 -33
  111. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +67 -54
  112. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +18 -18
  113. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +18 -18
  114. package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +45 -24
  115. package/sdk/platform/Configuration/ConfigurationPlatformClient.js +134 -30
  116. package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +283 -124
  117. package/sdk/platform/Configuration/ConfigurationPlatformModel.js +219 -94
  118. package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +37 -9
  119. package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +27 -8
  120. package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +124 -141
  121. package/sdk/platform/Content/ContentPlatformApplicationClient.js +449 -422
  122. package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +179 -141
  123. package/sdk/platform/Content/ContentPlatformApplicationValidator.js +168 -130
  124. package/sdk/platform/Content/ContentPlatformClient.d.ts +142 -106
  125. package/sdk/platform/Content/ContentPlatformClient.js +523 -336
  126. package/sdk/platform/Content/ContentPlatformModel.d.ts +1241 -395
  127. package/sdk/platform/Content/ContentPlatformModel.js +521 -390
  128. package/sdk/platform/Content/ContentPlatformValidator.d.ts +168 -117
  129. package/sdk/platform/Content/ContentPlatformValidator.js +162 -108
  130. package/sdk/platform/Discount/DiscountPlatformClient.d.ts +14 -12
  131. package/sdk/platform/Discount/DiscountPlatformClient.js +14 -12
  132. package/sdk/platform/Discount/DiscountPlatformModel.d.ts +13 -13
  133. package/sdk/platform/Discount/DiscountPlatformModel.js +12 -12
  134. package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +2 -2
  135. package/sdk/platform/Discount/DiscountPlatformValidator.js +2 -2
  136. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +94 -36
  137. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +462 -60
  138. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +62 -15
  139. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +75 -13
  140. package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +19 -19
  141. package/sdk/platform/FileStorage/FileStoragePlatformClient.js +21 -21
  142. package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +370 -101
  143. package/sdk/platform/FileStorage/FileStoragePlatformModel.js +313 -84
  144. package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +6 -6
  145. package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +6 -6
  146. package/sdk/platform/Lead/LeadPlatformClient.d.ts +2 -2
  147. package/sdk/platform/Lead/LeadPlatformClient.js +2 -2
  148. package/sdk/platform/Lead/LeadPlatformModel.d.ts +5 -5
  149. package/sdk/platform/Lead/LeadPlatformModel.js +16 -16
  150. package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +17 -6
  151. package/sdk/platform/Order/OrderPlatformApplicationClient.js +85 -7
  152. package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +95 -24
  153. package/sdk/platform/Order/OrderPlatformApplicationValidator.js +39 -19
  154. package/sdk/platform/Order/OrderPlatformClient.d.ts +153 -96
  155. package/sdk/platform/Order/OrderPlatformClient.js +416 -198
  156. package/sdk/platform/Order/OrderPlatformModel.d.ts +7602 -1269
  157. package/sdk/platform/Order/OrderPlatformModel.js +3926 -1269
  158. package/sdk/platform/Order/OrderPlatformValidator.d.ts +270 -109
  159. package/sdk/platform/Order/OrderPlatformValidator.js +135 -77
  160. package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +6 -4
  161. package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +9 -7
  162. package/sdk/platform/Partner/PartnerPlatformModel.d.ts +9 -9
  163. package/sdk/platform/Partner/PartnerPlatformModel.js +8 -8
  164. package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +93 -105
  165. package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +129 -141
  166. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +48 -48
  167. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +48 -48
  168. package/sdk/platform/Payment/PaymentPlatformClient.d.ts +20 -20
  169. package/sdk/platform/Payment/PaymentPlatformClient.js +20 -20
  170. package/sdk/platform/Payment/PaymentPlatformModel.d.ts +333 -319
  171. package/sdk/platform/Payment/PaymentPlatformModel.js +288 -278
  172. package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +8 -8
  173. package/sdk/platform/Payment/PaymentPlatformValidator.js +8 -8
  174. package/sdk/platform/PlatformClient.d.ts +0 -2
  175. package/sdk/platform/PlatformClient.js +0 -4
  176. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +2 -2
  177. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +2 -2
  178. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +2 -2
  179. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.js +2 -2
  180. package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +9 -9
  181. package/sdk/platform/Rewards/RewardsPlatformModel.js +8 -8
  182. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +48 -38
  183. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +134 -43
  184. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +46 -17
  185. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +34 -14
  186. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +38 -44
  187. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +56 -62
  188. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +1842 -609
  189. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +886 -554
  190. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +42 -46
  191. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +26 -28
  192. package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +2 -2
  193. package/sdk/platform/Share/SharePlatformApplicationClient.js +2 -2
  194. package/sdk/platform/Share/SharePlatformModel.d.ts +36 -5
  195. package/sdk/platform/Share/SharePlatformModel.js +27 -4
  196. package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +3 -3
  197. package/sdk/platform/Theme/ThemePlatformApplicationClient.js +8 -4
  198. package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +5 -0
  199. package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +2 -0
  200. package/sdk/platform/Theme/ThemePlatformModel.d.ts +37 -11
  201. package/sdk/platform/Theme/ThemePlatformModel.js +33 -15
  202. package/sdk/platform/User/UserPlatformApplicationClient.d.ts +12 -12
  203. package/sdk/platform/User/UserPlatformApplicationClient.js +12 -12
  204. package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +2 -2
  205. package/sdk/platform/User/UserPlatformApplicationValidator.js +2 -2
  206. package/sdk/platform/User/UserPlatformModel.d.ts +21 -21
  207. package/sdk/platform/User/UserPlatformModel.js +23 -23
  208. package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +25 -78
  209. package/sdk/platform/Webhook/WebhookPlatformClient.js +75 -470
  210. package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +720 -427
  211. package/sdk/platform/Webhook/WebhookPlatformModel.js +410 -386
  212. package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +10 -55
  213. package/sdk/platform/Webhook/WebhookPlatformValidator.js +12 -72
  214. package/sdk/platform/index.d.ts +0 -1
  215. package/sdk/platform/index.js +0 -2
  216. package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +3 -2
  217. package/sdk/public/Configuration/ConfigurationPublicClient.js +6 -5
  218. package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +9 -9
  219. package/sdk/public/Configuration/ConfigurationPublicModel.js +6 -6
  220. package/sdk/public/Content/ContentPublicClient.d.ts +112 -2
  221. package/sdk/public/Content/ContentPublicClient.js +895 -8
  222. package/sdk/public/Content/ContentPublicModel.d.ts +549 -3
  223. package/sdk/public/Content/ContentPublicModel.js +649 -3
  224. package/sdk/public/Content/ContentPublicValidator.d.ts +69 -3
  225. package/sdk/public/Content/ContentPublicValidator.js +88 -2
  226. package/sdk/public/Webhook/WebhookPublicClient.d.ts +8 -8
  227. package/sdk/public/Webhook/WebhookPublicClient.js +8 -8
  228. package/sdk/public/Webhook/WebhookPublicModel.d.ts +21 -21
  229. package/sdk/public/Webhook/WebhookPublicModel.js +15 -15
  230. package/sdk/public/Webhook/WebhookPublicValidator.d.ts +4 -4
  231. package/sdk/public/Webhook/WebhookPublicValidator.js +4 -4
  232. package/sdk/platform/Finance/FinancePlatformClient.d.ts +0 -320
  233. package/sdk/platform/Finance/FinancePlatformClient.js +0 -2333
  234. package/sdk/platform/Finance/FinancePlatformModel.d.ts +0 -2890
  235. package/sdk/platform/Finance/FinancePlatformModel.js +0 -2148
  236. package/sdk/platform/Finance/FinancePlatformValidator.d.ts +0 -284
  237. package/sdk/platform/Finance/FinancePlatformValidator.js +0 -354
@@ -21,11 +21,11 @@ class Serviceability {
21
21
  *
22
22
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
23
23
  * @param {import("../PlatformAPIClient").Options} - Options
24
- * @returns {Promise<ServiceabilityPlatformModel.CourierPartnerRuleResponse>}
24
+ * @returns {Promise<ServiceabilityPlatformModel.CourierPartnerRuleResult>}
25
25
  * - Success response
26
26
  *
27
27
  * @name createCourierPartnerRule
28
- * @summary: Create rourier rule
28
+ * @summary: Create courier rule
29
29
  * @description: Creates a rule within the delivery configuration. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/createCourierPartnerRule/).
30
30
  */
31
31
  async createCourierPartnerRule(
@@ -79,7 +79,7 @@ class Serviceability {
79
79
 
80
80
  const {
81
81
  error: res_error,
82
- } = ServiceabilityPlatformModel.CourierPartnerRuleResponse().validate(
82
+ } = ServiceabilityPlatformModel.CourierPartnerRuleResult().validate(
83
83
  responseData,
84
84
  { abortEarly: false, allowUnknown: true }
85
85
  );
@@ -104,9 +104,8 @@ class Serviceability {
104
104
  *
105
105
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
106
106
  * @param {import("../PlatformAPIClient").Options} - Options
107
- * @returns {Promise<ServiceabilityPlatformModel.StoreRuleResponseSchema>}
108
- * - Success response
109
- *
107
+ * @returns {Promise<ServiceabilityPlatformModel.StoreRuleResultSchema>} -
108
+ * Success response
110
109
  * @name createStoreRules
111
110
  * @summary: Create store rule
112
111
  * @description: Create a rule within the order routing rules - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/createStoreRules/).
@@ -162,7 +161,7 @@ class Serviceability {
162
161
 
163
162
  const {
164
163
  error: res_error,
165
- } = ServiceabilityPlatformModel.StoreRuleResponseSchema().validate(
164
+ } = ServiceabilityPlatformModel.StoreRuleResultSchema().validate(
166
165
  responseData,
167
166
  { abortEarly: false, allowUnknown: true }
168
167
  );
@@ -343,7 +342,7 @@ class Serviceability {
343
342
  *
344
343
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
345
344
  * @param {import("../PlatformAPIClient").Options} - Options
346
- * @returns {Promise<ServiceabilityPlatformModel.ApplicationSelfShipConfigResponse>}
345
+ * @returns {Promise<ServiceabilityPlatformModel.ApplicationSelfShipConfigResult>}
347
346
  * - Success response
348
347
  *
349
348
  * @name getApplicationServiceabilitySelfShipment
@@ -397,7 +396,7 @@ class Serviceability {
397
396
 
398
397
  const {
399
398
  error: res_error,
400
- } = ServiceabilityPlatformModel.ApplicationSelfShipConfigResponse().validate(
399
+ } = ServiceabilityPlatformModel.ApplicationSelfShipConfigResult().validate(
401
400
  responseData,
402
401
  { abortEarly: false, allowUnknown: true }
403
402
  );
@@ -422,7 +421,7 @@ class Serviceability {
422
421
  *
423
422
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
424
423
  * @param {import("../PlatformAPIClient").Options} - Options
425
- * @returns {Promise<ServiceabilityPlatformModel.CourierPartnerRuleResponse>}
424
+ * @returns {Promise<ServiceabilityPlatformModel.CourierPartnerRuleResult>}
426
425
  * - Success response
427
426
  *
428
427
  * @name getCourierPartnerRule
@@ -480,7 +479,7 @@ class Serviceability {
480
479
 
481
480
  const {
482
481
  error: res_error,
483
- } = ServiceabilityPlatformModel.CourierPartnerRuleResponse().validate(
482
+ } = ServiceabilityPlatformModel.CourierPartnerRuleResult().validate(
484
483
  responseData,
485
484
  { abortEarly: false, allowUnknown: true }
486
485
  );
@@ -505,7 +504,7 @@ class Serviceability {
505
504
  *
506
505
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
507
506
  * @param {import("../PlatformAPIClient").Options} - Options
508
- * @returns {Promise<ServiceabilityPlatformModel.CourierPartnerRulesListResponse>}
507
+ * @returns {Promise<ServiceabilityPlatformModel.CourierPartnerRulesListResult>}
509
508
  * - Success response
510
509
  *
511
510
  * @name getCourierPartnerRules
@@ -570,7 +569,7 @@ class Serviceability {
570
569
 
571
570
  const {
572
571
  error: res_error,
573
- } = ServiceabilityPlatformModel.CourierPartnerRulesListResponse().validate(
572
+ } = ServiceabilityPlatformModel.CourierPartnerRulesListResult().validate(
574
573
  responseData,
575
574
  { abortEarly: false, allowUnknown: true }
576
575
  );
@@ -589,6 +588,89 @@ class Serviceability {
589
588
  return response;
590
589
  }
591
590
 
591
+ /**
592
+ * @param {ServiceabilityPlatformApplicationValidator.GetCourierPartnersParam} arg
593
+ * - Arg object
594
+ *
595
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
596
+ * @param {import("../PlatformAPIClient").Options} - Options
597
+ * @returns {Promise<ServiceabilityPlatformModel.ShipmentCourierPartnerResult>}
598
+ * - Success response
599
+ *
600
+ * @name getCourierPartners
601
+ * @summary: Serviceable Courier Partners.
602
+ * @description: Get all the serviceable courier partners of a destination and the shipments. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/getCourierPartners/).
603
+ */
604
+ async getCourierPartners(
605
+ { body, requestHeaders } = { requestHeaders: {} },
606
+ { responseHeaders } = { responseHeaders: false }
607
+ ) {
608
+ const {
609
+ error,
610
+ } = ServiceabilityPlatformApplicationValidator.getCourierPartners().validate(
611
+ {
612
+ body,
613
+ },
614
+ { abortEarly: false, allowUnknown: true }
615
+ );
616
+ if (error) {
617
+ return Promise.reject(new FDKClientValidationError(error));
618
+ }
619
+
620
+ // Showing warrnings if extra unknown parameters are found
621
+ const {
622
+ error: warrning,
623
+ } = ServiceabilityPlatformApplicationValidator.getCourierPartners().validate(
624
+ {
625
+ body,
626
+ },
627
+ { abortEarly: false, allowUnknown: false }
628
+ );
629
+ if (warrning) {
630
+ Logger({
631
+ level: "WARN",
632
+ message: `Parameter Validation warrnings for platform > Serviceability > getCourierPartners \n ${warrning}`,
633
+ });
634
+ }
635
+
636
+ const query_params = {};
637
+
638
+ const response = await PlatformAPIClient.execute(
639
+ this.config,
640
+ "post",
641
+ `/service/platform/logistics/v1.0/company/${this.config.companyId}/application/${this.applicationId}/shipment/courier-partners`,
642
+ query_params,
643
+ body,
644
+ requestHeaders,
645
+ { responseHeaders }
646
+ );
647
+
648
+ let responseData = response;
649
+ if (responseHeaders) {
650
+ responseData = response[0];
651
+ }
652
+
653
+ const {
654
+ error: res_error,
655
+ } = ServiceabilityPlatformModel.ShipmentCourierPartnerResult().validate(
656
+ responseData,
657
+ { abortEarly: false, allowUnknown: true }
658
+ );
659
+
660
+ if (res_error) {
661
+ if (this.config.options.strictResponseCheck === true) {
662
+ return Promise.reject(new FDKResponseValidationError(res_error));
663
+ } else {
664
+ Logger({
665
+ level: "WARN",
666
+ message: `Response Validation Warnings for platform > Serviceability > getCourierPartners \n ${res_error}`,
667
+ });
668
+ }
669
+ }
670
+
671
+ return response;
672
+ }
673
+
592
674
  /**
593
675
  * @param {ServiceabilityPlatformApplicationValidator.GetStoreRuleParam} arg
594
676
  * - Arg object
@@ -677,9 +759,8 @@ class Serviceability {
677
759
  *
678
760
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
679
761
  * @param {import("../PlatformAPIClient").Options} - Options
680
- * @returns {Promise<ServiceabilityPlatformModel.GetStoreRulesApiResponse>}
681
- * - Success response
682
- *
762
+ * @returns {Promise<ServiceabilityPlatformModel.GetStoreRulesApiResult>} -
763
+ * Success response
683
764
  * @name getStoreRules
684
765
  * @summary: Get store rules
685
766
  * @description: Retrieves an existing order routing setup for a single application - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/getStoreRules/).
@@ -742,7 +823,7 @@ class Serviceability {
742
823
 
743
824
  const {
744
825
  error: res_error,
745
- } = ServiceabilityPlatformModel.GetStoreRulesApiResponse().validate(
826
+ } = ServiceabilityPlatformModel.GetStoreRulesApiResult().validate(
746
827
  responseData,
747
828
  { abortEarly: false, allowUnknown: true }
748
829
  );
@@ -765,7 +846,7 @@ class Serviceability {
765
846
  * @param {ServiceabilityPlatformApplicationValidator.GetZonesParam} arg - Arg object
766
847
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
767
848
  * @param {import("../PlatformAPIClient").Options} - Options
768
- * @returns {Promise<ServiceabilityPlatformModel.ListViewResponse>} - Success response
849
+ * @returns {Promise<ServiceabilityPlatformModel.ListViewResult>} - Success response
769
850
  * @name getZones
770
851
  * @summary: Get zones
771
852
  * @description: Retrieves a list of delivery zones. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/getZones/).
@@ -860,7 +941,7 @@ class Serviceability {
860
941
 
861
942
  const {
862
943
  error: res_error,
863
- } = ServiceabilityPlatformModel.ListViewResponse().validate(responseData, {
944
+ } = ServiceabilityPlatformModel.ListViewResult().validate(responseData, {
864
945
  abortEarly: false,
865
946
  allowUnknown: true,
866
947
  });
@@ -967,7 +1048,7 @@ class Serviceability {
967
1048
  *
968
1049
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
969
1050
  * @param {import("../PlatformAPIClient").Options} - Options
970
- * @returns {Promise<ServiceabilityPlatformModel.ApplicationSelfShipConfigResponse>}
1051
+ * @returns {Promise<ServiceabilityPlatformModel.ApplicationSelfShipConfigResult>}
971
1052
  * - Success response
972
1053
  *
973
1054
  * @name patchApplicationServiceabilitySelfShipment
@@ -1025,7 +1106,7 @@ class Serviceability {
1025
1106
 
1026
1107
  const {
1027
1108
  error: res_error,
1028
- } = ServiceabilityPlatformModel.ApplicationSelfShipConfigResponse().validate(
1109
+ } = ServiceabilityPlatformModel.ApplicationSelfShipConfigResult().validate(
1029
1110
  responseData,
1030
1111
  { abortEarly: false, allowUnknown: true }
1031
1112
  );
@@ -1132,7 +1213,7 @@ class Serviceability {
1132
1213
  *
1133
1214
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
1134
1215
  * @param {import("../PlatformAPIClient").Options} - Options
1135
- * @returns {Promise<ServiceabilityPlatformModel.RulePriorityResponse>} -
1216
+ * @returns {Promise<ServiceabilityPlatformModel.RulePriorityResult>} -
1136
1217
  * Success response
1137
1218
  * @name updateCourierPartnerRulePriority
1138
1219
  * @summary: Update courier partner rule priority
@@ -1189,7 +1270,7 @@ class Serviceability {
1189
1270
 
1190
1271
  const {
1191
1272
  error: res_error,
1192
- } = ServiceabilityPlatformModel.RulePriorityResponse().validate(
1273
+ } = ServiceabilityPlatformModel.RulePriorityResult().validate(
1193
1274
  responseData,
1194
1275
  { abortEarly: false, allowUnknown: true }
1195
1276
  );
@@ -1214,7 +1295,7 @@ class Serviceability {
1214
1295
  *
1215
1296
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
1216
1297
  * @param {import("../PlatformAPIClient").Options} - Options
1217
- * @returns {Promise<ServiceabilityPlatformModel.CourierPartnerRuleResponse>}
1298
+ * @returns {Promise<ServiceabilityPlatformModel.CourierPartnerRuleResult>}
1218
1299
  * - Success response
1219
1300
  *
1220
1301
  * @name updateCourierRule
@@ -1274,7 +1355,7 @@ class Serviceability {
1274
1355
 
1275
1356
  const {
1276
1357
  error: res_error,
1277
- } = ServiceabilityPlatformModel.CourierPartnerRuleResponse().validate(
1358
+ } = ServiceabilityPlatformModel.CourierPartnerRuleResult().validate(
1278
1359
  responseData,
1279
1360
  { abortEarly: false, allowUnknown: true }
1280
1361
  );
@@ -1299,7 +1380,7 @@ class Serviceability {
1299
1380
  *
1300
1381
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
1301
1382
  * @param {import("../PlatformAPIClient").Options} - Options
1302
- * @returns {Promise<ServiceabilityPlatformModel.PincodeMopUpdateAuditHistoryResponseData>}
1383
+ * @returns {Promise<ServiceabilityPlatformModel.PincodeMopUpdateAuditHistoryResultData>}
1303
1384
  * - Success response
1304
1385
  *
1305
1386
  * @name updatePincodeAuditHistory
@@ -1307,7 +1388,7 @@ class Serviceability {
1307
1388
  * @description: Retrieves the history of changes made to cash on delivery settings for pincodes. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/updatePincodeAuditHistory/).
1308
1389
  */
1309
1390
  async updatePincodeAuditHistory(
1310
- { body, requestHeaders } = { requestHeaders: {} },
1391
+ { body, pageNumber, pageSize, requestHeaders } = { requestHeaders: {} },
1311
1392
  { responseHeaders } = { responseHeaders: false }
1312
1393
  ) {
1313
1394
  const {
@@ -1315,6 +1396,8 @@ class Serviceability {
1315
1396
  } = ServiceabilityPlatformApplicationValidator.updatePincodeAuditHistory().validate(
1316
1397
  {
1317
1398
  body,
1399
+ pageNumber,
1400
+ pageSize,
1318
1401
  },
1319
1402
  { abortEarly: false, allowUnknown: true }
1320
1403
  );
@@ -1328,6 +1411,8 @@ class Serviceability {
1328
1411
  } = ServiceabilityPlatformApplicationValidator.updatePincodeAuditHistory().validate(
1329
1412
  {
1330
1413
  body,
1414
+ pageNumber,
1415
+ pageSize,
1331
1416
  },
1332
1417
  { abortEarly: false, allowUnknown: false }
1333
1418
  );
@@ -1339,6 +1424,8 @@ class Serviceability {
1339
1424
  }
1340
1425
 
1341
1426
  const query_params = {};
1427
+ query_params["page_number"] = pageNumber;
1428
+ query_params["page_size"] = pageSize;
1342
1429
 
1343
1430
  const response = await PlatformAPIClient.execute(
1344
1431
  this.config,
@@ -1357,7 +1444,7 @@ class Serviceability {
1357
1444
 
1358
1445
  const {
1359
1446
  error: res_error,
1360
- } = ServiceabilityPlatformModel.PincodeMopUpdateAuditHistoryResponseData().validate(
1447
+ } = ServiceabilityPlatformModel.PincodeMopUpdateAuditHistoryResultData().validate(
1361
1448
  responseData,
1362
1449
  { abortEarly: false, allowUnknown: true }
1363
1450
  );
@@ -1382,9 +1469,8 @@ class Serviceability {
1382
1469
  *
1383
1470
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
1384
1471
  * @param {import("../PlatformAPIClient").Options} - Options
1385
- * @returns {Promise<ServiceabilityPlatformModel.PincodeBulkViewResponse>}
1386
- * - Success response
1387
- *
1472
+ * @returns {Promise<ServiceabilityPlatformModel.PincodeBulkViewResult>} -
1473
+ * Success response
1388
1474
  * @name updatePincodeBulkView
1389
1475
  * @summary: Bulk update pincode COD support
1390
1476
  * @description: Updates the cash on delivery settings for multiple specified pin codes simultaneously. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/updatePincodeBulkView/).
@@ -1440,7 +1526,7 @@ class Serviceability {
1440
1526
 
1441
1527
  const {
1442
1528
  error: res_error,
1443
- } = ServiceabilityPlatformModel.PincodeBulkViewResponse().validate(
1529
+ } = ServiceabilityPlatformModel.PincodeBulkViewResult().validate(
1444
1530
  responseData,
1445
1531
  { abortEarly: false, allowUnknown: true }
1446
1532
  );
@@ -1465,7 +1551,7 @@ class Serviceability {
1465
1551
  *
1466
1552
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
1467
1553
  * @param {import("../PlatformAPIClient").Options} - Options
1468
- * @returns {Promise<ServiceabilityPlatformModel.PincodeCodStatusListingResponse>}
1554
+ * @returns {Promise<ServiceabilityPlatformModel.PincodeCodStatusListingResult>}
1469
1555
  * - Success response
1470
1556
  *
1471
1557
  * @name updatePincodeCoDListing
@@ -1473,7 +1559,7 @@ class Serviceability {
1473
1559
  * @description: Retrieves a list of pincodes along with the count based on whether cash on delivery settings. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/updatePincodeCoDListing/).
1474
1560
  */
1475
1561
  async updatePincodeCoDListing(
1476
- { body, requestHeaders } = { requestHeaders: {} },
1562
+ { body, pageNumber, pageSize, requestHeaders } = { requestHeaders: {} },
1477
1563
  { responseHeaders } = { responseHeaders: false }
1478
1564
  ) {
1479
1565
  const {
@@ -1481,6 +1567,8 @@ class Serviceability {
1481
1567
  } = ServiceabilityPlatformApplicationValidator.updatePincodeCoDListing().validate(
1482
1568
  {
1483
1569
  body,
1570
+ pageNumber,
1571
+ pageSize,
1484
1572
  },
1485
1573
  { abortEarly: false, allowUnknown: true }
1486
1574
  );
@@ -1494,6 +1582,8 @@ class Serviceability {
1494
1582
  } = ServiceabilityPlatformApplicationValidator.updatePincodeCoDListing().validate(
1495
1583
  {
1496
1584
  body,
1585
+ pageNumber,
1586
+ pageSize,
1497
1587
  },
1498
1588
  { abortEarly: false, allowUnknown: false }
1499
1589
  );
@@ -1505,6 +1595,8 @@ class Serviceability {
1505
1595
  }
1506
1596
 
1507
1597
  const query_params = {};
1598
+ query_params["page_number"] = pageNumber;
1599
+ query_params["page_size"] = pageSize;
1508
1600
 
1509
1601
  const response = await PlatformAPIClient.execute(
1510
1602
  this.config,
@@ -1523,7 +1615,7 @@ class Serviceability {
1523
1615
 
1524
1616
  const {
1525
1617
  error: res_error,
1526
- } = ServiceabilityPlatformModel.PincodeCodStatusListingResponse().validate(
1618
+ } = ServiceabilityPlatformModel.PincodeCodStatusListingResult().validate(
1527
1619
  responseData,
1528
1620
  { abortEarly: false, allowUnknown: true }
1529
1621
  );
@@ -1548,8 +1640,7 @@ class Serviceability {
1548
1640
  *
1549
1641
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
1550
1642
  * @param {import("../PlatformAPIClient").Options} - Options
1551
- * @returns {Promise<ServiceabilityPlatformModel.PincodeMOPresponse>} -
1552
- * Success response
1643
+ * @returns {Promise<ServiceabilityPlatformModel.PincodeMOPResult>} - Success response
1553
1644
  * @name updatePincodeMopView
1554
1645
  * @summary: Update pincode COD support
1555
1646
  * @description: Modify and update views related to pincode MOP (Mode of Payment). - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/updatePincodeMopView/).
@@ -1605,10 +1696,10 @@ class Serviceability {
1605
1696
 
1606
1697
  const {
1607
1698
  error: res_error,
1608
- } = ServiceabilityPlatformModel.PincodeMOPresponse().validate(
1609
- responseData,
1610
- { abortEarly: false, allowUnknown: true }
1611
- );
1699
+ } = ServiceabilityPlatformModel.PincodeMOPResult().validate(responseData, {
1700
+ abortEarly: false,
1701
+ allowUnknown: true,
1702
+ });
1612
1703
 
1613
1704
  if (res_error) {
1614
1705
  if (this.config.options.strictResponseCheck === true) {
@@ -1630,7 +1721,7 @@ class Serviceability {
1630
1721
  *
1631
1722
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
1632
1723
  * @param {import("../PlatformAPIClient").Options} - Options
1633
- * @returns {Promise<ServiceabilityPlatformModel.StoreRuleUpdateResponseSchema>}
1724
+ * @returns {Promise<ServiceabilityPlatformModel.StoreRuleUpdateResultSchema>}
1634
1725
  * - Success response
1635
1726
  *
1636
1727
  * @name updateStoreRules
@@ -1690,7 +1781,7 @@ class Serviceability {
1690
1781
 
1691
1782
  const {
1692
1783
  error: res_error,
1693
- } = ServiceabilityPlatformModel.StoreRuleUpdateResponseSchema().validate(
1784
+ } = ServiceabilityPlatformModel.StoreRuleUpdateResultSchema().validate(
1694
1785
  responseData,
1695
1786
  { abortEarly: false, allowUnknown: true }
1696
1787
  );
@@ -5,14 +5,14 @@ export = ServiceabilityPlatformApplicationValidator;
5
5
  */
6
6
  /**
7
7
  * @typedef CreateStoreRulesParam
8
- * @property {ServiceabilityPlatformModel.CreateStoreRuleRequestSchema} body
8
+ * @property {ServiceabilityPlatformModel.CreateStoreRuleDetailsSchema} body
9
9
  */
10
10
  /** @typedef GetApplicationConfigParam */
11
11
  /** @typedef GetApplicationConfigurationParam */
12
12
  /** @typedef GetApplicationServiceabilitySelfShipmentParam */
13
13
  /**
14
14
  * @typedef GetCourierPartnerRuleParam
15
- * @property {string} ruleId - A `rule_id` is a unique identifier for a rule.
15
+ * @property {string} ruleId - Unique identifier of the courier partner rule
16
16
  */
17
17
  /**
18
18
  * @typedef GetCourierPartnerRulesParam
@@ -20,6 +20,10 @@ export = ServiceabilityPlatformApplicationValidator;
20
20
  * @property {number} [pageSize] - Determines the items to be displayed in a page
21
21
  * @property {string} [status] - Filter rules based on rule status
22
22
  */
23
+ /**
24
+ * @typedef GetCourierPartnersParam
25
+ * @property {ServiceabilityPlatformModel.ShipmentCourierPartnerDetails} body
26
+ */
23
27
  /**
24
28
  * @typedef GetStoreRuleParam
25
29
  * @property {string} ruleUid - A `rule_uid` is a unique identifier for a
@@ -49,7 +53,7 @@ export = ServiceabilityPlatformApplicationValidator;
49
53
  */
50
54
  /**
51
55
  * @typedef PatchApplicationServiceabilitySelfShipmentParam
52
- * @property {ServiceabilityPlatformModel.SelfShipResponse} body
56
+ * @property {ServiceabilityPlatformModel.SelfShipResult} body
53
57
  */
54
58
  /**
55
59
  * @typedef UpdateApplicationConfigurationParam
@@ -57,16 +61,18 @@ export = ServiceabilityPlatformApplicationValidator;
57
61
  */
58
62
  /**
59
63
  * @typedef UpdateCourierPartnerRulePriorityParam
60
- * @property {ServiceabilityPlatformModel.RulePriorityRequest} body
64
+ * @property {ServiceabilityPlatformModel.RulePriorityDetails} body
61
65
  */
62
66
  /**
63
67
  * @typedef UpdateCourierRuleParam
64
- * @property {string} ruleId - A `rule_id` is a unique identifier for a particular Dp.
68
+ * @property {string} ruleId - Unique identifier of the courier partner rule.
65
69
  * @property {ServiceabilityPlatformModel.CourierPartnerRule} body
66
70
  */
67
71
  /**
68
72
  * @typedef UpdatePincodeAuditHistoryParam
69
- * @property {ServiceabilityPlatformModel.PincodeMopUpdateAuditHistoryRequest} body
73
+ * @property {number} [pageNumber] - Page number to be fetched.
74
+ * @property {number} [pageSize] - Determines the items to be displayed in a page
75
+ * @property {ServiceabilityPlatformModel.PincodeMopUpdateAuditHistoryDetails} body
70
76
  */
71
77
  /**
72
78
  * @typedef UpdatePincodeBulkViewParam
@@ -74,7 +80,9 @@ export = ServiceabilityPlatformApplicationValidator;
74
80
  */
75
81
  /**
76
82
  * @typedef UpdatePincodeCoDListingParam
77
- * @property {ServiceabilityPlatformModel.PincodeCodStatusListingRequest} body
83
+ * @property {number} [pageNumber] - Page number to be fetched.
84
+ * @property {number} [pageSize] - Determines the items to be displayed in a page
85
+ * @property {ServiceabilityPlatformModel.PincodeCodStatusListingDetails} body
78
86
  */
79
87
  /**
80
88
  * @typedef UpdatePincodeMopViewParam
@@ -84,7 +92,7 @@ export = ServiceabilityPlatformApplicationValidator;
84
92
  * @typedef UpdateStoreRulesParam
85
93
  * @property {string} ruleUid - A `rule_uid` is a unique identifier for a
86
94
  * particular rule object.
87
- * @property {ServiceabilityPlatformModel.CreateStoreRuleRequestSchema} body
95
+ * @property {ServiceabilityPlatformModel.CreateStoreRuleDetailsSchema} body
88
96
  */
89
97
  /**
90
98
  * @typedef UpdateStoreRulesConfigParam
@@ -105,6 +113,8 @@ declare class ServiceabilityPlatformApplicationValidator {
105
113
  static getCourierPartnerRule(): GetCourierPartnerRuleParam;
106
114
  /** @returns {GetCourierPartnerRulesParam} */
107
115
  static getCourierPartnerRules(): GetCourierPartnerRulesParam;
116
+ /** @returns {GetCourierPartnersParam} */
117
+ static getCourierPartners(): GetCourierPartnersParam;
108
118
  /** @returns {GetStoreRuleParam} */
109
119
  static getStoreRule(): GetStoreRuleParam;
110
120
  /** @returns {GetStoreRulesParam} */
@@ -135,17 +145,17 @@ declare class ServiceabilityPlatformApplicationValidator {
135
145
  static updateStoreRulesConfig(): UpdateStoreRulesConfigParam;
136
146
  }
137
147
  declare namespace ServiceabilityPlatformApplicationValidator {
138
- export { CreateCourierPartnerRuleParam, CreateStoreRulesParam, GetApplicationConfigParam, GetApplicationConfigurationParam, GetApplicationServiceabilitySelfShipmentParam, GetCourierPartnerRuleParam, GetCourierPartnerRulesParam, GetStoreRuleParam, GetStoreRulesParam, GetZonesParam, InsertApplicationConfigParam, PatchApplicationServiceabilitySelfShipmentParam, UpdateApplicationConfigurationParam, UpdateCourierPartnerRulePriorityParam, UpdateCourierRuleParam, UpdatePincodeAuditHistoryParam, UpdatePincodeBulkViewParam, UpdatePincodeCoDListingParam, UpdatePincodeMopViewParam, UpdateStoreRulesParam, UpdateStoreRulesConfigParam };
148
+ export { CreateCourierPartnerRuleParam, CreateStoreRulesParam, GetApplicationConfigParam, GetApplicationConfigurationParam, GetApplicationServiceabilitySelfShipmentParam, GetCourierPartnerRuleParam, GetCourierPartnerRulesParam, GetCourierPartnersParam, GetStoreRuleParam, GetStoreRulesParam, GetZonesParam, InsertApplicationConfigParam, PatchApplicationServiceabilitySelfShipmentParam, UpdateApplicationConfigurationParam, UpdateCourierPartnerRulePriorityParam, UpdateCourierRuleParam, UpdatePincodeAuditHistoryParam, UpdatePincodeBulkViewParam, UpdatePincodeCoDListingParam, UpdatePincodeMopViewParam, UpdateStoreRulesParam, UpdateStoreRulesConfigParam };
139
149
  }
140
150
  type CreateCourierPartnerRuleParam = {
141
151
  body: ServiceabilityPlatformModel.CourierPartnerRule;
142
152
  };
143
153
  type CreateStoreRulesParam = {
144
- body: ServiceabilityPlatformModel.CreateStoreRuleRequestSchema;
154
+ body: ServiceabilityPlatformModel.CreateStoreRuleDetailsSchema;
145
155
  };
146
156
  type GetCourierPartnerRuleParam = {
147
157
  /**
148
- * - A `rule_id` is a unique identifier for a rule.
158
+ * - Unique identifier of the courier partner rule
149
159
  */
150
160
  ruleId: string;
151
161
  };
@@ -163,6 +173,9 @@ type GetCourierPartnerRulesParam = {
163
173
  */
164
174
  status?: string;
165
175
  };
176
+ type GetCourierPartnersParam = {
177
+ body: ServiceabilityPlatformModel.ShipmentCourierPartnerDetails;
178
+ };
166
179
  type GetStoreRuleParam = {
167
180
  /**
168
181
  * - A `rule_uid` is a unique identifier for a
@@ -217,29 +230,45 @@ type InsertApplicationConfigParam = {
217
230
  body: ServiceabilityPlatformModel.StoreRuleConfigData;
218
231
  };
219
232
  type PatchApplicationServiceabilitySelfShipmentParam = {
220
- body: ServiceabilityPlatformModel.SelfShipResponse;
233
+ body: ServiceabilityPlatformModel.SelfShipResult;
221
234
  };
222
235
  type UpdateApplicationConfigurationParam = {
223
236
  body: ServiceabilityPlatformModel.ApplicationConfig;
224
237
  };
225
238
  type UpdateCourierPartnerRulePriorityParam = {
226
- body: ServiceabilityPlatformModel.RulePriorityRequest;
239
+ body: ServiceabilityPlatformModel.RulePriorityDetails;
227
240
  };
228
241
  type UpdateCourierRuleParam = {
229
242
  /**
230
- * - A `rule_id` is a unique identifier for a particular Dp.
243
+ * - Unique identifier of the courier partner rule.
231
244
  */
232
245
  ruleId: string;
233
246
  body: ServiceabilityPlatformModel.CourierPartnerRule;
234
247
  };
235
248
  type UpdatePincodeAuditHistoryParam = {
236
- body: ServiceabilityPlatformModel.PincodeMopUpdateAuditHistoryRequest;
249
+ /**
250
+ * - Page number to be fetched.
251
+ */
252
+ pageNumber?: number;
253
+ /**
254
+ * - Determines the items to be displayed in a page
255
+ */
256
+ pageSize?: number;
257
+ body: ServiceabilityPlatformModel.PincodeMopUpdateAuditHistoryDetails;
237
258
  };
238
259
  type UpdatePincodeBulkViewParam = {
239
260
  body: ServiceabilityPlatformModel.PincodeMopBulkData;
240
261
  };
241
262
  type UpdatePincodeCoDListingParam = {
242
- body: ServiceabilityPlatformModel.PincodeCodStatusListingRequest;
263
+ /**
264
+ * - Page number to be fetched.
265
+ */
266
+ pageNumber?: number;
267
+ /**
268
+ * - Determines the items to be displayed in a page
269
+ */
270
+ pageSize?: number;
271
+ body: ServiceabilityPlatformModel.PincodeCodStatusListingDetails;
243
272
  };
244
273
  type UpdatePincodeMopViewParam = {
245
274
  body: ServiceabilityPlatformModel.PincodeMopData;
@@ -250,7 +279,7 @@ type UpdateStoreRulesParam = {
250
279
  * particular rule object.
251
280
  */
252
281
  ruleUid: string;
253
- body: ServiceabilityPlatformModel.CreateStoreRuleRequestSchema;
282
+ body: ServiceabilityPlatformModel.CreateStoreRuleDetailsSchema;
254
283
  };
255
284
  type UpdateStoreRulesConfigParam = {
256
285
  body: ServiceabilityPlatformModel.StoreRuleConfigData;