@gofynd/fdk-client-javascript 1.4.15-beta.3 → 1.4.15-beta.4

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 (238) hide show
  1. package/README.md +1 -1
  2. package/package.json +1 -1
  3. package/sdk/application/ApplicationClient.d.ts +0 -2
  4. package/sdk/application/ApplicationClient.js +0 -2
  5. package/sdk/application/Cart/CartApplicationClient.d.ts +48 -68
  6. package/sdk/application/Cart/CartApplicationClient.js +27 -114
  7. package/sdk/application/Catalog/CatalogApplicationClient.d.ts +58 -59
  8. package/sdk/application/Catalog/CatalogApplicationClient.js +29 -30
  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 +30 -19
  14. package/sdk/application/Content/ContentApplicationClient.js +54 -28
  15. package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +8 -8
  16. package/sdk/application/FileStorage/FileStorageApplicationClient.js +7 -7
  17. package/sdk/application/Lead/LeadApplicationClient.d.ts +2 -2
  18. package/sdk/application/Lead/LeadApplicationClient.js +1 -1
  19. package/sdk/application/Logistic/LogisticApplicationClient.d.ts +15 -35
  20. package/sdk/application/Logistic/LogisticApplicationClient.js +8 -89
  21. package/sdk/application/Order/OrderApplicationClient.d.ts +12 -22
  22. package/sdk/application/Order/OrderApplicationClient.js +8 -47
  23. package/sdk/application/Payment/PaymentApplicationClient.d.ts +87 -87
  24. package/sdk/application/Payment/PaymentApplicationClient.js +46 -46
  25. package/sdk/application/Rewards/RewardsApplicationClient.d.ts +13 -13
  26. package/sdk/application/Rewards/RewardsApplicationClient.js +7 -7
  27. package/sdk/application/Theme/ThemeApplicationClient.d.ts +2 -2
  28. package/sdk/application/Theme/ThemeApplicationClient.js +2 -4
  29. package/sdk/application/User/UserApplicationClient.d.ts +10 -10
  30. package/sdk/application/User/UserApplicationClient.js +6 -6
  31. package/sdk/application/Webhook/WebhookApplicationClient.d.ts +4 -4
  32. package/sdk/application/Webhook/WebhookApplicationClient.js +3 -3
  33. package/sdk/partner/FileStorage/FileStoragePartnerClient.d.ts +12 -86
  34. package/sdk/partner/FileStorage/FileStoragePartnerClient.js +24 -582
  35. package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +19 -116
  36. package/sdk/partner/FileStorage/FileStoragePartnerModel.js +14 -121
  37. package/sdk/partner/FileStorage/FileStoragePartnerValidator.d.ts +1 -8
  38. package/sdk/partner/FileStorage/FileStoragePartnerValidator.js +4 -51
  39. package/sdk/partner/Lead/LeadPartnerClient.d.ts +2 -2
  40. package/sdk/partner/Lead/LeadPartnerClient.js +2 -2
  41. package/sdk/partner/Lead/LeadPartnerModel.d.ts +5 -5
  42. package/sdk/partner/Lead/LeadPartnerModel.js +15 -15
  43. package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +20 -126
  44. package/sdk/partner/Logistics/LogisticsPartnerClient.js +20 -970
  45. package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +167 -1200
  46. package/sdk/partner/Logistics/LogisticsPartnerModel.js +160 -571
  47. package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +0 -10
  48. package/sdk/partner/Logistics/LogisticsPartnerValidator.js +7 -121
  49. package/sdk/partner/OAuthClient.js +1 -0
  50. package/sdk/partner/Theme/ThemePartnerClient.d.ts +10 -8
  51. package/sdk/partner/Theme/ThemePartnerClient.js +16 -14
  52. package/sdk/partner/Theme/ThemePartnerModel.d.ts +37 -96
  53. package/sdk/partner/Theme/ThemePartnerModel.js +36 -90
  54. package/sdk/partner/Theme/ThemePartnerValidator.js +4 -4
  55. package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +18 -28
  56. package/sdk/partner/Webhook/WebhookPartnerClient.js +18 -103
  57. package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +179 -612
  58. package/sdk/partner/Webhook/WebhookPartnerModel.js +150 -253
  59. package/sdk/partner/Webhook/WebhookPartnerValidator.d.ts +0 -1
  60. package/sdk/partner/Webhook/WebhookPartnerValidator.js +3 -11
  61. package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.d.ts +4 -5
  62. package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.js +8 -14
  63. package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +9 -59
  64. package/sdk/platform/Analytics/AnalyticsPlatformModel.js +4 -40
  65. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +32 -2
  66. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +243 -3
  67. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +130 -11
  68. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +152 -12
  69. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +39 -1
  70. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +35 -0
  71. package/sdk/platform/Billing/BillingPlatformClient.d.ts +12 -12
  72. package/sdk/platform/Billing/BillingPlatformClient.js +15 -15
  73. package/sdk/platform/Billing/BillingPlatformModel.d.ts +388 -443
  74. package/sdk/platform/Billing/BillingPlatformModel.js +263 -280
  75. package/sdk/platform/Billing/BillingPlatformValidator.d.ts +18 -16
  76. package/sdk/platform/Billing/BillingPlatformValidator.js +9 -8
  77. package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +103 -134
  78. package/sdk/platform/Cart/CartPlatformApplicationClient.js +115 -419
  79. package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +65 -118
  80. package/sdk/platform/Cart/CartPlatformApplicationValidator.js +44 -109
  81. package/sdk/platform/Cart/CartPlatformModel.d.ts +1298 -5037
  82. package/sdk/platform/Cart/CartPlatformModel.js +1217 -1976
  83. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +183 -209
  84. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +400 -457
  85. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +142 -185
  86. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +78 -96
  87. package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +117 -154
  88. package/sdk/platform/Catalog/CatalogPlatformClient.js +172 -292
  89. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +1647 -6385
  90. package/sdk/platform/Catalog/CatalogPlatformModel.js +1680 -3217
  91. package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +31 -72
  92. package/sdk/platform/Catalog/CatalogPlatformValidator.js +24 -50
  93. package/sdk/platform/Common/CommonPlatformClient.d.ts +2 -3
  94. package/sdk/platform/Common/CommonPlatformClient.js +2 -3
  95. package/sdk/platform/Common/CommonPlatformModel.d.ts +9 -9
  96. package/sdk/platform/Common/CommonPlatformModel.js +6 -6
  97. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +17 -16
  98. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +17 -16
  99. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +8 -8
  100. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +8 -8
  101. package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +33 -43
  102. package/sdk/platform/Communication/CommunicationPlatformModel.js +34 -38
  103. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +42 -46
  104. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +43 -47
  105. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +223 -223
  106. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +212 -210
  107. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +12 -12
  108. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +12 -12
  109. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +33 -46
  110. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +54 -67
  111. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +18 -18
  112. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +18 -18
  113. package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +24 -45
  114. package/sdk/platform/Configuration/ConfigurationPlatformClient.js +30 -134
  115. package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +131 -283
  116. package/sdk/platform/Configuration/ConfigurationPlatformModel.js +97 -219
  117. package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +9 -37
  118. package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +8 -27
  119. package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +141 -124
  120. package/sdk/platform/Content/ContentPlatformApplicationClient.js +422 -449
  121. package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +141 -179
  122. package/sdk/platform/Content/ContentPlatformApplicationValidator.js +130 -168
  123. package/sdk/platform/Content/ContentPlatformClient.d.ts +106 -142
  124. package/sdk/platform/Content/ContentPlatformClient.js +336 -523
  125. package/sdk/platform/Content/ContentPlatformModel.d.ts +395 -1241
  126. package/sdk/platform/Content/ContentPlatformModel.js +390 -521
  127. package/sdk/platform/Content/ContentPlatformValidator.d.ts +117 -168
  128. package/sdk/platform/Content/ContentPlatformValidator.js +108 -162
  129. package/sdk/platform/Discount/DiscountPlatformClient.d.ts +12 -14
  130. package/sdk/platform/Discount/DiscountPlatformClient.js +12 -14
  131. package/sdk/platform/Discount/DiscountPlatformModel.d.ts +13 -13
  132. package/sdk/platform/Discount/DiscountPlatformModel.js +12 -12
  133. package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +2 -2
  134. package/sdk/platform/Discount/DiscountPlatformValidator.js +2 -2
  135. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +36 -94
  136. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +60 -462
  137. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +15 -62
  138. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +13 -75
  139. package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +19 -19
  140. package/sdk/platform/FileStorage/FileStoragePlatformClient.js +21 -21
  141. package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +101 -370
  142. package/sdk/platform/FileStorage/FileStoragePlatformModel.js +84 -313
  143. package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +6 -6
  144. package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +6 -6
  145. package/sdk/platform/Finance/FinancePlatformClient.d.ts +320 -0
  146. package/sdk/platform/Finance/FinancePlatformClient.js +2333 -0
  147. package/sdk/platform/Finance/FinancePlatformModel.d.ts +2890 -0
  148. package/sdk/platform/Finance/FinancePlatformModel.js +2148 -0
  149. package/sdk/platform/Finance/FinancePlatformValidator.d.ts +284 -0
  150. package/sdk/platform/Finance/FinancePlatformValidator.js +354 -0
  151. package/sdk/platform/Lead/LeadPlatformClient.d.ts +2 -2
  152. package/sdk/platform/Lead/LeadPlatformClient.js +2 -2
  153. package/sdk/platform/Lead/LeadPlatformModel.d.ts +5 -5
  154. package/sdk/platform/Lead/LeadPlatformModel.js +16 -16
  155. package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +6 -17
  156. package/sdk/platform/Order/OrderPlatformApplicationClient.js +7 -85
  157. package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +24 -95
  158. package/sdk/platform/Order/OrderPlatformApplicationValidator.js +19 -39
  159. package/sdk/platform/Order/OrderPlatformClient.d.ts +96 -153
  160. package/sdk/platform/Order/OrderPlatformClient.js +198 -416
  161. package/sdk/platform/Order/OrderPlatformModel.d.ts +1286 -7619
  162. package/sdk/platform/Order/OrderPlatformModel.js +1265 -3922
  163. package/sdk/platform/Order/OrderPlatformValidator.d.ts +109 -270
  164. package/sdk/platform/Order/OrderPlatformValidator.js +77 -135
  165. package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +4 -6
  166. package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +7 -9
  167. package/sdk/platform/Partner/PartnerPlatformModel.d.ts +9 -9
  168. package/sdk/platform/Partner/PartnerPlatformModel.js +8 -8
  169. package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +105 -93
  170. package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +141 -129
  171. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +48 -48
  172. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +48 -48
  173. package/sdk/platform/Payment/PaymentPlatformClient.d.ts +20 -20
  174. package/sdk/platform/Payment/PaymentPlatformClient.js +20 -20
  175. package/sdk/platform/Payment/PaymentPlatformModel.d.ts +319 -333
  176. package/sdk/platform/Payment/PaymentPlatformModel.js +278 -288
  177. package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +8 -8
  178. package/sdk/platform/Payment/PaymentPlatformValidator.js +8 -8
  179. package/sdk/platform/PlatformClient.d.ts +2 -0
  180. package/sdk/platform/PlatformClient.js +4 -0
  181. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +2 -2
  182. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +2 -2
  183. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +2 -2
  184. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.js +2 -2
  185. package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +9 -9
  186. package/sdk/platform/Rewards/RewardsPlatformModel.js +8 -8
  187. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +36 -46
  188. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +41 -132
  189. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +17 -46
  190. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +14 -34
  191. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +46 -40
  192. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +64 -58
  193. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +612 -1845
  194. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +554 -886
  195. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +46 -42
  196. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +28 -26
  197. package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +2 -2
  198. package/sdk/platform/Share/SharePlatformApplicationClient.js +2 -2
  199. package/sdk/platform/Share/SharePlatformModel.d.ts +5 -36
  200. package/sdk/platform/Share/SharePlatformModel.js +4 -27
  201. package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +3 -3
  202. package/sdk/platform/Theme/ThemePlatformApplicationClient.js +4 -8
  203. package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +0 -5
  204. package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +0 -2
  205. package/sdk/platform/Theme/ThemePlatformModel.d.ts +11 -37
  206. package/sdk/platform/Theme/ThemePlatformModel.js +15 -33
  207. package/sdk/platform/User/UserPlatformApplicationClient.d.ts +12 -12
  208. package/sdk/platform/User/UserPlatformApplicationClient.js +12 -12
  209. package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +2 -2
  210. package/sdk/platform/User/UserPlatformApplicationValidator.js +2 -2
  211. package/sdk/platform/User/UserPlatformModel.d.ts +21 -21
  212. package/sdk/platform/User/UserPlatformModel.js +23 -23
  213. package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +78 -25
  214. package/sdk/platform/Webhook/WebhookPlatformClient.js +470 -75
  215. package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +427 -720
  216. package/sdk/platform/Webhook/WebhookPlatformModel.js +386 -410
  217. package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +55 -10
  218. package/sdk/platform/Webhook/WebhookPlatformValidator.js +72 -12
  219. package/sdk/platform/index.d.ts +1 -0
  220. package/sdk/platform/index.js +2 -0
  221. package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +2 -3
  222. package/sdk/public/Configuration/ConfigurationPublicClient.js +5 -6
  223. package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +9 -9
  224. package/sdk/public/Configuration/ConfigurationPublicModel.js +6 -6
  225. package/sdk/public/Content/ContentPublicClient.d.ts +2 -112
  226. package/sdk/public/Content/ContentPublicClient.js +5 -791
  227. package/sdk/public/Content/ContentPublicModel.d.ts +3 -549
  228. package/sdk/public/Content/ContentPublicModel.js +3 -649
  229. package/sdk/public/Content/ContentPublicValidator.d.ts +3 -69
  230. package/sdk/public/Content/ContentPublicValidator.js +2 -88
  231. package/sdk/public/Webhook/WebhookPublicClient.d.ts +8 -8
  232. package/sdk/public/Webhook/WebhookPublicClient.js +8 -8
  233. package/sdk/public/Webhook/WebhookPublicModel.d.ts +21 -21
  234. package/sdk/public/Webhook/WebhookPublicModel.js +15 -15
  235. package/sdk/public/Webhook/WebhookPublicValidator.d.ts +4 -4
  236. package/sdk/public/Webhook/WebhookPublicValidator.js +4 -4
  237. package/sdk/application/Finance/FinanceApplicationClient.d.ts +0 -29
  238. package/sdk/application/Finance/FinanceApplicationClient.js +0 -105
@@ -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.CourierPartnerRuleResult>}
24
+ * @returns {Promise<ServiceabilityPlatformModel.CourierPartnerRuleResponse>}
25
25
  * - Success response
26
26
  *
27
27
  * @name createCourierPartnerRule
28
- * @summary: Create courier rule
28
+ * @summary: Create rourier 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.CourierPartnerRuleResult().validate(
82
+ } = ServiceabilityPlatformModel.CourierPartnerRuleResponse().validate(
83
83
  responseData,
84
84
  { abortEarly: false, allowUnknown: true }
85
85
  );
@@ -104,8 +104,9 @@ 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.StoreRuleResultSchema>} -
108
- * Success response
107
+ * @returns {Promise<ServiceabilityPlatformModel.StoreRuleResponseSchema>}
108
+ * - Success response
109
+ *
109
110
  * @name createStoreRules
110
111
  * @summary: Create store rule
111
112
  * @description: Create a rule within the order routing rules - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/createStoreRules/).
@@ -161,7 +162,7 @@ class Serviceability {
161
162
 
162
163
  const {
163
164
  error: res_error,
164
- } = ServiceabilityPlatformModel.StoreRuleResultSchema().validate(
165
+ } = ServiceabilityPlatformModel.StoreRuleResponseSchema().validate(
165
166
  responseData,
166
167
  { abortEarly: false, allowUnknown: true }
167
168
  );
@@ -342,7 +343,7 @@ class Serviceability {
342
343
  *
343
344
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
344
345
  * @param {import("../PlatformAPIClient").Options} - Options
345
- * @returns {Promise<ServiceabilityPlatformModel.ApplicationSelfShipConfigResult>}
346
+ * @returns {Promise<ServiceabilityPlatformModel.ApplicationSelfShipConfigResponse>}
346
347
  * - Success response
347
348
  *
348
349
  * @name getApplicationServiceabilitySelfShipment
@@ -396,7 +397,7 @@ class Serviceability {
396
397
 
397
398
  const {
398
399
  error: res_error,
399
- } = ServiceabilityPlatformModel.ApplicationSelfShipConfigResult().validate(
400
+ } = ServiceabilityPlatformModel.ApplicationSelfShipConfigResponse().validate(
400
401
  responseData,
401
402
  { abortEarly: false, allowUnknown: true }
402
403
  );
@@ -421,7 +422,7 @@ class Serviceability {
421
422
  *
422
423
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
423
424
  * @param {import("../PlatformAPIClient").Options} - Options
424
- * @returns {Promise<ServiceabilityPlatformModel.CourierPartnerRuleResult>}
425
+ * @returns {Promise<ServiceabilityPlatformModel.CourierPartnerRuleResponse>}
425
426
  * - Success response
426
427
  *
427
428
  * @name getCourierPartnerRule
@@ -479,7 +480,7 @@ class Serviceability {
479
480
 
480
481
  const {
481
482
  error: res_error,
482
- } = ServiceabilityPlatformModel.CourierPartnerRuleResult().validate(
483
+ } = ServiceabilityPlatformModel.CourierPartnerRuleResponse().validate(
483
484
  responseData,
484
485
  { abortEarly: false, allowUnknown: true }
485
486
  );
@@ -504,7 +505,7 @@ class Serviceability {
504
505
  *
505
506
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
506
507
  * @param {import("../PlatformAPIClient").Options} - Options
507
- * @returns {Promise<ServiceabilityPlatformModel.CourierPartnerRulesListResult>}
508
+ * @returns {Promise<ServiceabilityPlatformModel.CourierPartnerRulesListResponse>}
508
509
  * - Success response
509
510
  *
510
511
  * @name getCourierPartnerRules
@@ -569,7 +570,7 @@ class Serviceability {
569
570
 
570
571
  const {
571
572
  error: res_error,
572
- } = ServiceabilityPlatformModel.CourierPartnerRulesListResult().validate(
573
+ } = ServiceabilityPlatformModel.CourierPartnerRulesListResponse().validate(
573
574
  responseData,
574
575
  { abortEarly: false, allowUnknown: true }
575
576
  );
@@ -588,89 +589,6 @@ class Serviceability {
588
589
  return response;
589
590
  }
590
591
 
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
-
674
592
  /**
675
593
  * @param {ServiceabilityPlatformApplicationValidator.GetStoreRuleParam} arg
676
594
  * - Arg object
@@ -759,8 +677,9 @@ class Serviceability {
759
677
  *
760
678
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
761
679
  * @param {import("../PlatformAPIClient").Options} - Options
762
- * @returns {Promise<ServiceabilityPlatformModel.GetStoreRulesApiResult>} -
763
- * Success response
680
+ * @returns {Promise<ServiceabilityPlatformModel.GetStoreRulesApiResponse>}
681
+ * - Success response
682
+ *
764
683
  * @name getStoreRules
765
684
  * @summary: Get store rules
766
685
  * @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/).
@@ -823,7 +742,7 @@ class Serviceability {
823
742
 
824
743
  const {
825
744
  error: res_error,
826
- } = ServiceabilityPlatformModel.GetStoreRulesApiResult().validate(
745
+ } = ServiceabilityPlatformModel.GetStoreRulesApiResponse().validate(
827
746
  responseData,
828
747
  { abortEarly: false, allowUnknown: true }
829
748
  );
@@ -930,7 +849,7 @@ class Serviceability {
930
849
  *
931
850
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
932
851
  * @param {import("../PlatformAPIClient").Options} - Options
933
- * @returns {Promise<ServiceabilityPlatformModel.ApplicationSelfShipConfigResult>}
852
+ * @returns {Promise<ServiceabilityPlatformModel.ApplicationSelfShipConfigResponse>}
934
853
  * - Success response
935
854
  *
936
855
  * @name patchApplicationServiceabilitySelfShipment
@@ -988,7 +907,7 @@ class Serviceability {
988
907
 
989
908
  const {
990
909
  error: res_error,
991
- } = ServiceabilityPlatformModel.ApplicationSelfShipConfigResult().validate(
910
+ } = ServiceabilityPlatformModel.ApplicationSelfShipConfigResponse().validate(
992
911
  responseData,
993
912
  { abortEarly: false, allowUnknown: true }
994
913
  );
@@ -1095,7 +1014,7 @@ class Serviceability {
1095
1014
  *
1096
1015
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
1097
1016
  * @param {import("../PlatformAPIClient").Options} - Options
1098
- * @returns {Promise<ServiceabilityPlatformModel.RulePriorityResult>} -
1017
+ * @returns {Promise<ServiceabilityPlatformModel.RulePriorityResponse>} -
1099
1018
  * Success response
1100
1019
  * @name updateCourierPartnerRulePriority
1101
1020
  * @summary: Update courier partner rule priority
@@ -1152,7 +1071,7 @@ class Serviceability {
1152
1071
 
1153
1072
  const {
1154
1073
  error: res_error,
1155
- } = ServiceabilityPlatformModel.RulePriorityResult().validate(
1074
+ } = ServiceabilityPlatformModel.RulePriorityResponse().validate(
1156
1075
  responseData,
1157
1076
  { abortEarly: false, allowUnknown: true }
1158
1077
  );
@@ -1177,7 +1096,7 @@ class Serviceability {
1177
1096
  *
1178
1097
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
1179
1098
  * @param {import("../PlatformAPIClient").Options} - Options
1180
- * @returns {Promise<ServiceabilityPlatformModel.CourierPartnerRuleResult>}
1099
+ * @returns {Promise<ServiceabilityPlatformModel.CourierPartnerRuleResponse>}
1181
1100
  * - Success response
1182
1101
  *
1183
1102
  * @name updateCourierRule
@@ -1237,7 +1156,7 @@ class Serviceability {
1237
1156
 
1238
1157
  const {
1239
1158
  error: res_error,
1240
- } = ServiceabilityPlatformModel.CourierPartnerRuleResult().validate(
1159
+ } = ServiceabilityPlatformModel.CourierPartnerRuleResponse().validate(
1241
1160
  responseData,
1242
1161
  { abortEarly: false, allowUnknown: true }
1243
1162
  );
@@ -1262,7 +1181,7 @@ class Serviceability {
1262
1181
  *
1263
1182
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
1264
1183
  * @param {import("../PlatformAPIClient").Options} - Options
1265
- * @returns {Promise<ServiceabilityPlatformModel.PincodeMopUpdateAuditHistoryResultData>}
1184
+ * @returns {Promise<ServiceabilityPlatformModel.PincodeMopUpdateAuditHistoryResponseData>}
1266
1185
  * - Success response
1267
1186
  *
1268
1187
  * @name updatePincodeAuditHistory
@@ -1270,7 +1189,7 @@ class Serviceability {
1270
1189
  * @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/).
1271
1190
  */
1272
1191
  async updatePincodeAuditHistory(
1273
- { body, pageNumber, pageSize, requestHeaders } = { requestHeaders: {} },
1192
+ { body, requestHeaders } = { requestHeaders: {} },
1274
1193
  { responseHeaders } = { responseHeaders: false }
1275
1194
  ) {
1276
1195
  const {
@@ -1278,8 +1197,6 @@ class Serviceability {
1278
1197
  } = ServiceabilityPlatformApplicationValidator.updatePincodeAuditHistory().validate(
1279
1198
  {
1280
1199
  body,
1281
- pageNumber,
1282
- pageSize,
1283
1200
  },
1284
1201
  { abortEarly: false, allowUnknown: true }
1285
1202
  );
@@ -1293,8 +1210,6 @@ class Serviceability {
1293
1210
  } = ServiceabilityPlatformApplicationValidator.updatePincodeAuditHistory().validate(
1294
1211
  {
1295
1212
  body,
1296
- pageNumber,
1297
- pageSize,
1298
1213
  },
1299
1214
  { abortEarly: false, allowUnknown: false }
1300
1215
  );
@@ -1306,8 +1221,6 @@ class Serviceability {
1306
1221
  }
1307
1222
 
1308
1223
  const query_params = {};
1309
- query_params["page_number"] = pageNumber;
1310
- query_params["page_size"] = pageSize;
1311
1224
 
1312
1225
  const response = await PlatformAPIClient.execute(
1313
1226
  this.config,
@@ -1326,7 +1239,7 @@ class Serviceability {
1326
1239
 
1327
1240
  const {
1328
1241
  error: res_error,
1329
- } = ServiceabilityPlatformModel.PincodeMopUpdateAuditHistoryResultData().validate(
1242
+ } = ServiceabilityPlatformModel.PincodeMopUpdateAuditHistoryResponseData().validate(
1330
1243
  responseData,
1331
1244
  { abortEarly: false, allowUnknown: true }
1332
1245
  );
@@ -1351,8 +1264,9 @@ class Serviceability {
1351
1264
  *
1352
1265
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
1353
1266
  * @param {import("../PlatformAPIClient").Options} - Options
1354
- * @returns {Promise<ServiceabilityPlatformModel.PincodeBulkViewResult>} -
1355
- * Success response
1267
+ * @returns {Promise<ServiceabilityPlatformModel.PincodeBulkViewResponse>}
1268
+ * - Success response
1269
+ *
1356
1270
  * @name updatePincodeBulkView
1357
1271
  * @summary: Bulk update pincode COD support
1358
1272
  * @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/).
@@ -1408,7 +1322,7 @@ class Serviceability {
1408
1322
 
1409
1323
  const {
1410
1324
  error: res_error,
1411
- } = ServiceabilityPlatformModel.PincodeBulkViewResult().validate(
1325
+ } = ServiceabilityPlatformModel.PincodeBulkViewResponse().validate(
1412
1326
  responseData,
1413
1327
  { abortEarly: false, allowUnknown: true }
1414
1328
  );
@@ -1433,7 +1347,7 @@ class Serviceability {
1433
1347
  *
1434
1348
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
1435
1349
  * @param {import("../PlatformAPIClient").Options} - Options
1436
- * @returns {Promise<ServiceabilityPlatformModel.PincodeCodStatusListingResult>}
1350
+ * @returns {Promise<ServiceabilityPlatformModel.PincodeCodStatusListingResponse>}
1437
1351
  * - Success response
1438
1352
  *
1439
1353
  * @name updatePincodeCoDListing
@@ -1441,7 +1355,7 @@ class Serviceability {
1441
1355
  * @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/).
1442
1356
  */
1443
1357
  async updatePincodeCoDListing(
1444
- { body, pageNumber, pageSize, requestHeaders } = { requestHeaders: {} },
1358
+ { body, requestHeaders } = { requestHeaders: {} },
1445
1359
  { responseHeaders } = { responseHeaders: false }
1446
1360
  ) {
1447
1361
  const {
@@ -1449,8 +1363,6 @@ class Serviceability {
1449
1363
  } = ServiceabilityPlatformApplicationValidator.updatePincodeCoDListing().validate(
1450
1364
  {
1451
1365
  body,
1452
- pageNumber,
1453
- pageSize,
1454
1366
  },
1455
1367
  { abortEarly: false, allowUnknown: true }
1456
1368
  );
@@ -1464,8 +1376,6 @@ class Serviceability {
1464
1376
  } = ServiceabilityPlatformApplicationValidator.updatePincodeCoDListing().validate(
1465
1377
  {
1466
1378
  body,
1467
- pageNumber,
1468
- pageSize,
1469
1379
  },
1470
1380
  { abortEarly: false, allowUnknown: false }
1471
1381
  );
@@ -1477,8 +1387,6 @@ class Serviceability {
1477
1387
  }
1478
1388
 
1479
1389
  const query_params = {};
1480
- query_params["page_number"] = pageNumber;
1481
- query_params["page_size"] = pageSize;
1482
1390
 
1483
1391
  const response = await PlatformAPIClient.execute(
1484
1392
  this.config,
@@ -1497,7 +1405,7 @@ class Serviceability {
1497
1405
 
1498
1406
  const {
1499
1407
  error: res_error,
1500
- } = ServiceabilityPlatformModel.PincodeCodStatusListingResult().validate(
1408
+ } = ServiceabilityPlatformModel.PincodeCodStatusListingResponse().validate(
1501
1409
  responseData,
1502
1410
  { abortEarly: false, allowUnknown: true }
1503
1411
  );
@@ -1522,7 +1430,8 @@ class Serviceability {
1522
1430
  *
1523
1431
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
1524
1432
  * @param {import("../PlatformAPIClient").Options} - Options
1525
- * @returns {Promise<ServiceabilityPlatformModel.PincodeMOPResult>} - Success response
1433
+ * @returns {Promise<ServiceabilityPlatformModel.PincodeMOPresponse>} -
1434
+ * Success response
1526
1435
  * @name updatePincodeMopView
1527
1436
  * @summary: Update pincode COD support
1528
1437
  * @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/).
@@ -1578,10 +1487,10 @@ class Serviceability {
1578
1487
 
1579
1488
  const {
1580
1489
  error: res_error,
1581
- } = ServiceabilityPlatformModel.PincodeMOPResult().validate(responseData, {
1582
- abortEarly: false,
1583
- allowUnknown: true,
1584
- });
1490
+ } = ServiceabilityPlatformModel.PincodeMOPresponse().validate(
1491
+ responseData,
1492
+ { abortEarly: false, allowUnknown: true }
1493
+ );
1585
1494
 
1586
1495
  if (res_error) {
1587
1496
  if (this.config.options.strictResponseCheck === true) {
@@ -1603,7 +1512,7 @@ class Serviceability {
1603
1512
  *
1604
1513
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
1605
1514
  * @param {import("../PlatformAPIClient").Options} - Options
1606
- * @returns {Promise<ServiceabilityPlatformModel.StoreRuleUpdateResultSchema>}
1515
+ * @returns {Promise<ServiceabilityPlatformModel.StoreRuleUpdateResponseSchema>}
1607
1516
  * - Success response
1608
1517
  *
1609
1518
  * @name updateStoreRules
@@ -1663,7 +1572,7 @@ class Serviceability {
1663
1572
 
1664
1573
  const {
1665
1574
  error: res_error,
1666
- } = ServiceabilityPlatformModel.StoreRuleUpdateResultSchema().validate(
1575
+ } = ServiceabilityPlatformModel.StoreRuleUpdateResponseSchema().validate(
1667
1576
  responseData,
1668
1577
  { abortEarly: false, allowUnknown: true }
1669
1578
  );
@@ -5,14 +5,14 @@ export = ServiceabilityPlatformApplicationValidator;
5
5
  */
6
6
  /**
7
7
  * @typedef CreateStoreRulesParam
8
- * @property {ServiceabilityPlatformModel.CreateStoreRuleDetailsSchema} body
8
+ * @property {ServiceabilityPlatformModel.CreateStoreRuleRequestSchema} 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 - Unique identifier of the courier partner rule
15
+ * @property {string} ruleId - A `rule_id` is a unique identifier for a rule.
16
16
  */
17
17
  /**
18
18
  * @typedef GetCourierPartnerRulesParam
@@ -20,10 +20,6 @@ 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
- */
27
23
  /**
28
24
  * @typedef GetStoreRuleParam
29
25
  * @property {string} ruleUid - A `rule_uid` is a unique identifier for a
@@ -41,7 +37,7 @@ export = ServiceabilityPlatformApplicationValidator;
41
37
  */
42
38
  /**
43
39
  * @typedef PatchApplicationServiceabilitySelfShipmentParam
44
- * @property {ServiceabilityPlatformModel.SelfShipResult} body
40
+ * @property {ServiceabilityPlatformModel.SelfShipResponse} body
45
41
  */
46
42
  /**
47
43
  * @typedef UpdateApplicationConfigurationParam
@@ -49,18 +45,16 @@ export = ServiceabilityPlatformApplicationValidator;
49
45
  */
50
46
  /**
51
47
  * @typedef UpdateCourierPartnerRulePriorityParam
52
- * @property {ServiceabilityPlatformModel.RulePriorityDetails} body
48
+ * @property {ServiceabilityPlatformModel.RulePriorityRequest} body
53
49
  */
54
50
  /**
55
51
  * @typedef UpdateCourierRuleParam
56
- * @property {string} ruleId - Unique identifier of the courier partner rule.
52
+ * @property {string} ruleId - A `rule_id` is a unique identifier for a particular Dp.
57
53
  * @property {ServiceabilityPlatformModel.CourierPartnerRule} body
58
54
  */
59
55
  /**
60
56
  * @typedef UpdatePincodeAuditHistoryParam
61
- * @property {number} [pageNumber] - Page number to be fetched.
62
- * @property {number} [pageSize] - Determines the items to be displayed in a page
63
- * @property {ServiceabilityPlatformModel.PincodeMopUpdateAuditHistoryDetails} body
57
+ * @property {ServiceabilityPlatformModel.PincodeMopUpdateAuditHistoryRequest} body
64
58
  */
65
59
  /**
66
60
  * @typedef UpdatePincodeBulkViewParam
@@ -68,9 +62,7 @@ export = ServiceabilityPlatformApplicationValidator;
68
62
  */
69
63
  /**
70
64
  * @typedef UpdatePincodeCoDListingParam
71
- * @property {number} [pageNumber] - Page number to be fetched.
72
- * @property {number} [pageSize] - Determines the items to be displayed in a page
73
- * @property {ServiceabilityPlatformModel.PincodeCodStatusListingDetails} body
65
+ * @property {ServiceabilityPlatformModel.PincodeCodStatusListingRequest} body
74
66
  */
75
67
  /**
76
68
  * @typedef UpdatePincodeMopViewParam
@@ -80,7 +72,7 @@ export = ServiceabilityPlatformApplicationValidator;
80
72
  * @typedef UpdateStoreRulesParam
81
73
  * @property {string} ruleUid - A `rule_uid` is a unique identifier for a
82
74
  * particular rule object.
83
- * @property {ServiceabilityPlatformModel.CreateStoreRuleDetailsSchema} body
75
+ * @property {ServiceabilityPlatformModel.CreateStoreRuleRequestSchema} body
84
76
  */
85
77
  /**
86
78
  * @typedef UpdateStoreRulesConfigParam
@@ -101,8 +93,6 @@ declare class ServiceabilityPlatformApplicationValidator {
101
93
  static getCourierPartnerRule(): GetCourierPartnerRuleParam;
102
94
  /** @returns {GetCourierPartnerRulesParam} */
103
95
  static getCourierPartnerRules(): GetCourierPartnerRulesParam;
104
- /** @returns {GetCourierPartnersParam} */
105
- static getCourierPartners(): GetCourierPartnersParam;
106
96
  /** @returns {GetStoreRuleParam} */
107
97
  static getStoreRule(): GetStoreRuleParam;
108
98
  /** @returns {GetStoreRulesParam} */
@@ -131,17 +121,17 @@ declare class ServiceabilityPlatformApplicationValidator {
131
121
  static updateStoreRulesConfig(): UpdateStoreRulesConfigParam;
132
122
  }
133
123
  declare namespace ServiceabilityPlatformApplicationValidator {
134
- export { CreateCourierPartnerRuleParam, CreateStoreRulesParam, GetApplicationConfigParam, GetApplicationConfigurationParam, GetApplicationServiceabilitySelfShipmentParam, GetCourierPartnerRuleParam, GetCourierPartnerRulesParam, GetCourierPartnersParam, GetStoreRuleParam, GetStoreRulesParam, InsertApplicationConfigParam, PatchApplicationServiceabilitySelfShipmentParam, UpdateApplicationConfigurationParam, UpdateCourierPartnerRulePriorityParam, UpdateCourierRuleParam, UpdatePincodeAuditHistoryParam, UpdatePincodeBulkViewParam, UpdatePincodeCoDListingParam, UpdatePincodeMopViewParam, UpdateStoreRulesParam, UpdateStoreRulesConfigParam };
124
+ export { CreateCourierPartnerRuleParam, CreateStoreRulesParam, GetApplicationConfigParam, GetApplicationConfigurationParam, GetApplicationServiceabilitySelfShipmentParam, GetCourierPartnerRuleParam, GetCourierPartnerRulesParam, GetStoreRuleParam, GetStoreRulesParam, InsertApplicationConfigParam, PatchApplicationServiceabilitySelfShipmentParam, UpdateApplicationConfigurationParam, UpdateCourierPartnerRulePriorityParam, UpdateCourierRuleParam, UpdatePincodeAuditHistoryParam, UpdatePincodeBulkViewParam, UpdatePincodeCoDListingParam, UpdatePincodeMopViewParam, UpdateStoreRulesParam, UpdateStoreRulesConfigParam };
135
125
  }
136
126
  type CreateCourierPartnerRuleParam = {
137
127
  body: ServiceabilityPlatformModel.CourierPartnerRule;
138
128
  };
139
129
  type CreateStoreRulesParam = {
140
- body: ServiceabilityPlatformModel.CreateStoreRuleDetailsSchema;
130
+ body: ServiceabilityPlatformModel.CreateStoreRuleRequestSchema;
141
131
  };
142
132
  type GetCourierPartnerRuleParam = {
143
133
  /**
144
- * - Unique identifier of the courier partner rule
134
+ * - A `rule_id` is a unique identifier for a rule.
145
135
  */
146
136
  ruleId: string;
147
137
  };
@@ -159,9 +149,6 @@ type GetCourierPartnerRulesParam = {
159
149
  */
160
150
  status?: string;
161
151
  };
162
- type GetCourierPartnersParam = {
163
- body: ServiceabilityPlatformModel.ShipmentCourierPartnerDetails;
164
- };
165
152
  type GetStoreRuleParam = {
166
153
  /**
167
154
  * - A `rule_uid` is a unique identifier for a
@@ -178,45 +165,29 @@ type InsertApplicationConfigParam = {
178
165
  body: ServiceabilityPlatformModel.StoreRuleConfigData;
179
166
  };
180
167
  type PatchApplicationServiceabilitySelfShipmentParam = {
181
- body: ServiceabilityPlatformModel.SelfShipResult;
168
+ body: ServiceabilityPlatformModel.SelfShipResponse;
182
169
  };
183
170
  type UpdateApplicationConfigurationParam = {
184
171
  body: ServiceabilityPlatformModel.ApplicationConfig;
185
172
  };
186
173
  type UpdateCourierPartnerRulePriorityParam = {
187
- body: ServiceabilityPlatformModel.RulePriorityDetails;
174
+ body: ServiceabilityPlatformModel.RulePriorityRequest;
188
175
  };
189
176
  type UpdateCourierRuleParam = {
190
177
  /**
191
- * - Unique identifier of the courier partner rule.
178
+ * - A `rule_id` is a unique identifier for a particular Dp.
192
179
  */
193
180
  ruleId: string;
194
181
  body: ServiceabilityPlatformModel.CourierPartnerRule;
195
182
  };
196
183
  type UpdatePincodeAuditHistoryParam = {
197
- /**
198
- * - Page number to be fetched.
199
- */
200
- pageNumber?: number;
201
- /**
202
- * - Determines the items to be displayed in a page
203
- */
204
- pageSize?: number;
205
- body: ServiceabilityPlatformModel.PincodeMopUpdateAuditHistoryDetails;
184
+ body: ServiceabilityPlatformModel.PincodeMopUpdateAuditHistoryRequest;
206
185
  };
207
186
  type UpdatePincodeBulkViewParam = {
208
187
  body: ServiceabilityPlatformModel.PincodeMopBulkData;
209
188
  };
210
189
  type UpdatePincodeCoDListingParam = {
211
- /**
212
- * - Page number to be fetched.
213
- */
214
- pageNumber?: number;
215
- /**
216
- * - Determines the items to be displayed in a page
217
- */
218
- pageSize?: number;
219
- body: ServiceabilityPlatformModel.PincodeCodStatusListingDetails;
190
+ body: ServiceabilityPlatformModel.PincodeCodStatusListingRequest;
220
191
  };
221
192
  type UpdatePincodeMopViewParam = {
222
193
  body: ServiceabilityPlatformModel.PincodeMopData;
@@ -227,7 +198,7 @@ type UpdateStoreRulesParam = {
227
198
  * particular rule object.
228
199
  */
229
200
  ruleUid: string;
230
- body: ServiceabilityPlatformModel.CreateStoreRuleDetailsSchema;
201
+ body: ServiceabilityPlatformModel.CreateStoreRuleRequestSchema;
231
202
  };
232
203
  type UpdateStoreRulesConfigParam = {
233
204
  body: ServiceabilityPlatformModel.StoreRuleConfigData;