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

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 (241) 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 +304 -114
  7. package/sdk/application/Catalog/CatalogApplicationClient.d.ts +58 -59
  8. package/sdk/application/Catalog/CatalogApplicationClient.js +437 -30
  9. package/sdk/application/Common/CommonApplicationClient.d.ts +2 -2
  10. package/sdk/application/Common/CommonApplicationClient.js +22 -1
  11. package/sdk/application/Communication/CommunicationApplicationClient.js +29 -0
  12. package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +20 -20
  13. package/sdk/application/Configuration/ConfigurationApplicationClient.js +157 -10
  14. package/sdk/application/Content/ContentApplicationClient.d.ts +30 -19
  15. package/sdk/application/Content/ContentApplicationClient.js +297 -28
  16. package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +8 -8
  17. package/sdk/application/FileStorage/FileStorageApplicationClient.js +50 -7
  18. package/sdk/application/Lead/LeadApplicationClient.d.ts +2 -2
  19. package/sdk/application/Lead/LeadApplicationClient.js +74 -1
  20. package/sdk/application/Logistic/LogisticApplicationClient.d.ts +15 -35
  21. package/sdk/application/Logistic/LogisticApplicationClient.js +159 -87
  22. package/sdk/application/Order/OrderApplicationClient.d.ts +12 -22
  23. package/sdk/application/Order/OrderApplicationClient.js +195 -47
  24. package/sdk/application/Payment/PaymentApplicationClient.d.ts +87 -87
  25. package/sdk/application/Payment/PaymentApplicationClient.js +473 -46
  26. package/sdk/application/Rewards/RewardsApplicationClient.d.ts +13 -13
  27. package/sdk/application/Rewards/RewardsApplicationClient.js +75 -7
  28. package/sdk/application/Share/ShareApplicationClient.js +96 -0
  29. package/sdk/application/Theme/ThemeApplicationClient.d.ts +2 -2
  30. package/sdk/application/Theme/ThemeApplicationClient.js +66 -4
  31. package/sdk/application/User/UserApplicationClient.d.ts +10 -10
  32. package/sdk/application/User/UserApplicationClient.js +418 -6
  33. package/sdk/application/Webhook/WebhookApplicationClient.d.ts +4 -4
  34. package/sdk/application/Webhook/WebhookApplicationClient.js +16 -3
  35. package/sdk/partner/FileStorage/FileStoragePartnerClient.d.ts +12 -86
  36. package/sdk/partner/FileStorage/FileStoragePartnerClient.js +24 -582
  37. package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +19 -116
  38. package/sdk/partner/FileStorage/FileStoragePartnerModel.js +14 -121
  39. package/sdk/partner/FileStorage/FileStoragePartnerValidator.d.ts +1 -8
  40. package/sdk/partner/FileStorage/FileStoragePartnerValidator.js +4 -51
  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 +20 -126
  46. package/sdk/partner/Logistics/LogisticsPartnerClient.js +20 -970
  47. package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +167 -1200
  48. package/sdk/partner/Logistics/LogisticsPartnerModel.js +160 -571
  49. package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +0 -10
  50. package/sdk/partner/Logistics/LogisticsPartnerValidator.js +7 -121
  51. package/sdk/partner/OAuthClient.js +1 -0
  52. package/sdk/partner/Theme/ThemePartnerClient.d.ts +10 -8
  53. package/sdk/partner/Theme/ThemePartnerClient.js +16 -14
  54. package/sdk/partner/Theme/ThemePartnerModel.d.ts +39 -135
  55. package/sdk/partner/Theme/ThemePartnerModel.js +38 -114
  56. package/sdk/partner/Theme/ThemePartnerValidator.js +4 -4
  57. package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +18 -28
  58. package/sdk/partner/Webhook/WebhookPartnerClient.js +18 -103
  59. package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +179 -612
  60. package/sdk/partner/Webhook/WebhookPartnerModel.js +150 -253
  61. package/sdk/partner/Webhook/WebhookPartnerValidator.d.ts +0 -1
  62. package/sdk/partner/Webhook/WebhookPartnerValidator.js +3 -11
  63. package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.d.ts +4 -5
  64. package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.js +8 -14
  65. package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +9 -59
  66. package/sdk/platform/Analytics/AnalyticsPlatformModel.js +4 -40
  67. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +32 -2
  68. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +243 -3
  69. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +130 -11
  70. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +152 -12
  71. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +39 -1
  72. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +35 -0
  73. package/sdk/platform/Billing/BillingPlatformClient.d.ts +12 -12
  74. package/sdk/platform/Billing/BillingPlatformClient.js +15 -15
  75. package/sdk/platform/Billing/BillingPlatformModel.d.ts +388 -443
  76. package/sdk/platform/Billing/BillingPlatformModel.js +263 -280
  77. package/sdk/platform/Billing/BillingPlatformValidator.d.ts +18 -16
  78. package/sdk/platform/Billing/BillingPlatformValidator.js +9 -8
  79. package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +103 -134
  80. package/sdk/platform/Cart/CartPlatformApplicationClient.js +115 -419
  81. package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +65 -118
  82. package/sdk/platform/Cart/CartPlatformApplicationValidator.js +44 -109
  83. package/sdk/platform/Cart/CartPlatformModel.d.ts +1298 -5037
  84. package/sdk/platform/Cart/CartPlatformModel.js +1217 -1976
  85. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +183 -209
  86. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +400 -457
  87. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +142 -185
  88. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +78 -96
  89. package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +117 -154
  90. package/sdk/platform/Catalog/CatalogPlatformClient.js +172 -292
  91. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +1647 -6385
  92. package/sdk/platform/Catalog/CatalogPlatformModel.js +1680 -3217
  93. package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +31 -72
  94. package/sdk/platform/Catalog/CatalogPlatformValidator.js +24 -50
  95. package/sdk/platform/Common/CommonPlatformClient.d.ts +2 -3
  96. package/sdk/platform/Common/CommonPlatformClient.js +2 -3
  97. package/sdk/platform/Common/CommonPlatformModel.d.ts +9 -9
  98. package/sdk/platform/Common/CommonPlatformModel.js +6 -6
  99. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +17 -16
  100. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +17 -16
  101. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +8 -8
  102. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +8 -8
  103. package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +33 -43
  104. package/sdk/platform/Communication/CommunicationPlatformModel.js +34 -38
  105. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +42 -46
  106. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +43 -47
  107. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +223 -223
  108. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +212 -210
  109. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +12 -12
  110. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +12 -12
  111. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +33 -46
  112. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +54 -67
  113. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +18 -18
  114. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +18 -18
  115. package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +24 -45
  116. package/sdk/platform/Configuration/ConfigurationPlatformClient.js +30 -134
  117. package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +131 -283
  118. package/sdk/platform/Configuration/ConfigurationPlatformModel.js +97 -219
  119. package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +9 -37
  120. package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +8 -27
  121. package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +141 -124
  122. package/sdk/platform/Content/ContentPlatformApplicationClient.js +422 -449
  123. package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +141 -179
  124. package/sdk/platform/Content/ContentPlatformApplicationValidator.js +130 -168
  125. package/sdk/platform/Content/ContentPlatformClient.d.ts +106 -142
  126. package/sdk/platform/Content/ContentPlatformClient.js +336 -523
  127. package/sdk/platform/Content/ContentPlatformModel.d.ts +395 -1241
  128. package/sdk/platform/Content/ContentPlatformModel.js +390 -521
  129. package/sdk/platform/Content/ContentPlatformValidator.d.ts +117 -168
  130. package/sdk/platform/Content/ContentPlatformValidator.js +108 -162
  131. package/sdk/platform/Discount/DiscountPlatformClient.d.ts +12 -14
  132. package/sdk/platform/Discount/DiscountPlatformClient.js +12 -14
  133. package/sdk/platform/Discount/DiscountPlatformModel.d.ts +13 -13
  134. package/sdk/platform/Discount/DiscountPlatformModel.js +12 -12
  135. package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +2 -2
  136. package/sdk/platform/Discount/DiscountPlatformValidator.js +2 -2
  137. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +36 -94
  138. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +60 -462
  139. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +15 -62
  140. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +13 -75
  141. package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +19 -19
  142. package/sdk/platform/FileStorage/FileStoragePlatformClient.js +21 -21
  143. package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +101 -370
  144. package/sdk/platform/FileStorage/FileStoragePlatformModel.js +84 -313
  145. package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +6 -6
  146. package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +6 -6
  147. package/sdk/platform/Finance/FinancePlatformClient.d.ts +320 -0
  148. package/sdk/platform/Finance/FinancePlatformClient.js +2333 -0
  149. package/sdk/platform/Finance/FinancePlatformModel.d.ts +2890 -0
  150. package/sdk/platform/Finance/FinancePlatformModel.js +2148 -0
  151. package/sdk/platform/Finance/FinancePlatformValidator.d.ts +284 -0
  152. package/sdk/platform/Finance/FinancePlatformValidator.js +354 -0
  153. package/sdk/platform/Lead/LeadPlatformClient.d.ts +2 -2
  154. package/sdk/platform/Lead/LeadPlatformClient.js +2 -2
  155. package/sdk/platform/Lead/LeadPlatformModel.d.ts +5 -5
  156. package/sdk/platform/Lead/LeadPlatformModel.js +16 -16
  157. package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +6 -17
  158. package/sdk/platform/Order/OrderPlatformApplicationClient.js +7 -85
  159. package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +24 -95
  160. package/sdk/platform/Order/OrderPlatformApplicationValidator.js +19 -39
  161. package/sdk/platform/Order/OrderPlatformClient.d.ts +96 -153
  162. package/sdk/platform/Order/OrderPlatformClient.js +198 -416
  163. package/sdk/platform/Order/OrderPlatformModel.d.ts +1286 -7619
  164. package/sdk/platform/Order/OrderPlatformModel.js +1265 -3922
  165. package/sdk/platform/Order/OrderPlatformValidator.d.ts +109 -270
  166. package/sdk/platform/Order/OrderPlatformValidator.js +77 -135
  167. package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +4 -6
  168. package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +7 -9
  169. package/sdk/platform/Partner/PartnerPlatformModel.d.ts +9 -9
  170. package/sdk/platform/Partner/PartnerPlatformModel.js +8 -8
  171. package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +105 -93
  172. package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +141 -129
  173. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +48 -48
  174. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +48 -48
  175. package/sdk/platform/Payment/PaymentPlatformClient.d.ts +20 -20
  176. package/sdk/platform/Payment/PaymentPlatformClient.js +20 -20
  177. package/sdk/platform/Payment/PaymentPlatformModel.d.ts +319 -333
  178. package/sdk/platform/Payment/PaymentPlatformModel.js +278 -288
  179. package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +8 -8
  180. package/sdk/platform/Payment/PaymentPlatformValidator.js +8 -8
  181. package/sdk/platform/PlatformClient.d.ts +2 -0
  182. package/sdk/platform/PlatformClient.js +4 -0
  183. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +2 -2
  184. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +2 -2
  185. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +2 -2
  186. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.js +2 -2
  187. package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +9 -9
  188. package/sdk/platform/Rewards/RewardsPlatformModel.js +8 -8
  189. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +36 -46
  190. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +41 -132
  191. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +17 -46
  192. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +14 -34
  193. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +46 -40
  194. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +64 -58
  195. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +612 -1845
  196. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +554 -886
  197. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +46 -42
  198. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +28 -26
  199. package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +2 -2
  200. package/sdk/platform/Share/SharePlatformApplicationClient.js +2 -2
  201. package/sdk/platform/Share/SharePlatformModel.d.ts +5 -36
  202. package/sdk/platform/Share/SharePlatformModel.js +4 -27
  203. package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +3 -3
  204. package/sdk/platform/Theme/ThemePlatformApplicationClient.js +4 -8
  205. package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +0 -5
  206. package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +0 -2
  207. package/sdk/platform/Theme/ThemePlatformModel.d.ts +13 -76
  208. package/sdk/platform/Theme/ThemePlatformModel.js +17 -57
  209. package/sdk/platform/User/UserPlatformApplicationClient.d.ts +12 -12
  210. package/sdk/platform/User/UserPlatformApplicationClient.js +12 -12
  211. package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +2 -2
  212. package/sdk/platform/User/UserPlatformApplicationValidator.js +2 -2
  213. package/sdk/platform/User/UserPlatformModel.d.ts +21 -21
  214. package/sdk/platform/User/UserPlatformModel.js +23 -23
  215. package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +78 -25
  216. package/sdk/platform/Webhook/WebhookPlatformClient.js +470 -75
  217. package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +427 -720
  218. package/sdk/platform/Webhook/WebhookPlatformModel.js +386 -410
  219. package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +55 -10
  220. package/sdk/platform/Webhook/WebhookPlatformValidator.js +72 -12
  221. package/sdk/platform/index.d.ts +1 -0
  222. package/sdk/platform/index.js +2 -0
  223. package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +2 -3
  224. package/sdk/public/Configuration/ConfigurationPublicClient.js +21 -6
  225. package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +9 -9
  226. package/sdk/public/Configuration/ConfigurationPublicModel.js +6 -6
  227. package/sdk/public/Content/ContentPublicClient.d.ts +2 -112
  228. package/sdk/public/Content/ContentPublicClient.js +20 -791
  229. package/sdk/public/Content/ContentPublicModel.d.ts +3 -549
  230. package/sdk/public/Content/ContentPublicModel.js +3 -649
  231. package/sdk/public/Content/ContentPublicValidator.d.ts +3 -69
  232. package/sdk/public/Content/ContentPublicValidator.js +2 -88
  233. package/sdk/public/Partner/PartnerPublicClient.js +15 -0
  234. package/sdk/public/Webhook/WebhookPublicClient.d.ts +8 -8
  235. package/sdk/public/Webhook/WebhookPublicClient.js +48 -8
  236. package/sdk/public/Webhook/WebhookPublicModel.d.ts +21 -21
  237. package/sdk/public/Webhook/WebhookPublicModel.js +15 -15
  238. package/sdk/public/Webhook/WebhookPublicValidator.d.ts +4 -4
  239. package/sdk/public/Webhook/WebhookPublicValidator.js +4 -4
  240. package/sdk/application/Finance/FinanceApplicationClient.d.ts +0 -29
  241. package/sdk/application/Finance/FinanceApplicationClient.js +0 -105
@@ -9,7 +9,7 @@ const ServiceabilityPlatformModel = require("./ServiceabilityPlatformModel");
9
9
 
10
10
  /**
11
11
  * @typedef CreateStoreRulesParam
12
- * @property {ServiceabilityPlatformModel.CreateStoreRuleDetailsSchema} body
12
+ * @property {ServiceabilityPlatformModel.CreateStoreRuleRequestSchema} body
13
13
  */
14
14
 
15
15
  /** @typedef GetApplicationConfigParam */
@@ -20,7 +20,7 @@ const ServiceabilityPlatformModel = require("./ServiceabilityPlatformModel");
20
20
 
21
21
  /**
22
22
  * @typedef GetCourierPartnerRuleParam
23
- * @property {string} ruleId - Unique identifier of the courier partner rule
23
+ * @property {string} ruleId - A `rule_id` is a unique identifier for a rule.
24
24
  */
25
25
 
26
26
  /**
@@ -30,11 +30,6 @@ const ServiceabilityPlatformModel = require("./ServiceabilityPlatformModel");
30
30
  * @property {string} [status] - Filter rules based on rule status
31
31
  */
32
32
 
33
- /**
34
- * @typedef GetCourierPartnersParam
35
- * @property {ServiceabilityPlatformModel.ShipmentCourierPartnerDetails} body
36
- */
37
-
38
33
  /**
39
34
  * @typedef GetStoreRuleParam
40
35
  * @property {string} ruleUid - A `rule_uid` is a unique identifier for a
@@ -55,7 +50,7 @@ const ServiceabilityPlatformModel = require("./ServiceabilityPlatformModel");
55
50
 
56
51
  /**
57
52
  * @typedef PatchApplicationServiceabilitySelfShipmentParam
58
- * @property {ServiceabilityPlatformModel.SelfShipResult} body
53
+ * @property {ServiceabilityPlatformModel.SelfShipResponse} body
59
54
  */
60
55
 
61
56
  /**
@@ -65,20 +60,18 @@ const ServiceabilityPlatformModel = require("./ServiceabilityPlatformModel");
65
60
 
66
61
  /**
67
62
  * @typedef UpdateCourierPartnerRulePriorityParam
68
- * @property {ServiceabilityPlatformModel.RulePriorityDetails} body
63
+ * @property {ServiceabilityPlatformModel.RulePriorityRequest} body
69
64
  */
70
65
 
71
66
  /**
72
67
  * @typedef UpdateCourierRuleParam
73
- * @property {string} ruleId - Unique identifier of the courier partner rule.
68
+ * @property {string} ruleId - A `rule_id` is a unique identifier for a particular Dp.
74
69
  * @property {ServiceabilityPlatformModel.CourierPartnerRule} body
75
70
  */
76
71
 
77
72
  /**
78
73
  * @typedef UpdatePincodeAuditHistoryParam
79
- * @property {number} [pageNumber] - Page number to be fetched.
80
- * @property {number} [pageSize] - Determines the items to be displayed in a page
81
- * @property {ServiceabilityPlatformModel.PincodeMopUpdateAuditHistoryDetails} body
74
+ * @property {ServiceabilityPlatformModel.PincodeMopUpdateAuditHistoryRequest} body
82
75
  */
83
76
 
84
77
  /**
@@ -88,9 +81,7 @@ const ServiceabilityPlatformModel = require("./ServiceabilityPlatformModel");
88
81
 
89
82
  /**
90
83
  * @typedef UpdatePincodeCoDListingParam
91
- * @property {number} [pageNumber] - Page number to be fetched.
92
- * @property {number} [pageSize] - Determines the items to be displayed in a page
93
- * @property {ServiceabilityPlatformModel.PincodeCodStatusListingDetails} body
84
+ * @property {ServiceabilityPlatformModel.PincodeCodStatusListingRequest} body
94
85
  */
95
86
 
96
87
  /**
@@ -102,7 +93,7 @@ const ServiceabilityPlatformModel = require("./ServiceabilityPlatformModel");
102
93
  * @typedef UpdateStoreRulesParam
103
94
  * @property {string} ruleUid - A `rule_uid` is a unique identifier for a
104
95
  * particular rule object.
105
- * @property {ServiceabilityPlatformModel.CreateStoreRuleDetailsSchema} body
96
+ * @property {ServiceabilityPlatformModel.CreateStoreRuleRequestSchema} body
106
97
  */
107
98
 
108
99
  /**
@@ -121,7 +112,7 @@ class ServiceabilityPlatformApplicationValidator {
121
112
  /** @returns {CreateStoreRulesParam} */
122
113
  static createStoreRules() {
123
114
  return Joi.object({
124
- body: ServiceabilityPlatformModel.CreateStoreRuleDetailsSchema().required(),
115
+ body: ServiceabilityPlatformModel.CreateStoreRuleRequestSchema().required(),
125
116
  }).required();
126
117
  }
127
118
 
@@ -156,13 +147,6 @@ class ServiceabilityPlatformApplicationValidator {
156
147
  }).required();
157
148
  }
158
149
 
159
- /** @returns {GetCourierPartnersParam} */
160
- static getCourierPartners() {
161
- return Joi.object({
162
- body: ServiceabilityPlatformModel.ShipmentCourierPartnerDetails().required(),
163
- }).required();
164
- }
165
-
166
150
  /** @returns {GetStoreRuleParam} */
167
151
  static getStoreRule() {
168
152
  return Joi.object({
@@ -189,7 +173,7 @@ class ServiceabilityPlatformApplicationValidator {
189
173
  /** @returns {PatchApplicationServiceabilitySelfShipmentParam} */
190
174
  static patchApplicationServiceabilitySelfShipment() {
191
175
  return Joi.object({
192
- body: ServiceabilityPlatformModel.SelfShipResult().required(),
176
+ body: ServiceabilityPlatformModel.SelfShipResponse().required(),
193
177
  }).required();
194
178
  }
195
179
 
@@ -203,7 +187,7 @@ class ServiceabilityPlatformApplicationValidator {
203
187
  /** @returns {UpdateCourierPartnerRulePriorityParam} */
204
188
  static updateCourierPartnerRulePriority() {
205
189
  return Joi.object({
206
- body: ServiceabilityPlatformModel.RulePriorityDetails().required(),
190
+ body: ServiceabilityPlatformModel.RulePriorityRequest().required(),
207
191
  }).required();
208
192
  }
209
193
 
@@ -218,9 +202,7 @@ class ServiceabilityPlatformApplicationValidator {
218
202
  /** @returns {UpdatePincodeAuditHistoryParam} */
219
203
  static updatePincodeAuditHistory() {
220
204
  return Joi.object({
221
- pageNumber: Joi.number(),
222
- pageSize: Joi.number(),
223
- body: ServiceabilityPlatformModel.PincodeMopUpdateAuditHistoryDetails().required(),
205
+ body: ServiceabilityPlatformModel.PincodeMopUpdateAuditHistoryRequest().required(),
224
206
  }).required();
225
207
  }
226
208
 
@@ -234,9 +216,7 @@ class ServiceabilityPlatformApplicationValidator {
234
216
  /** @returns {UpdatePincodeCoDListingParam} */
235
217
  static updatePincodeCoDListing() {
236
218
  return Joi.object({
237
- pageNumber: Joi.number(),
238
- pageSize: Joi.number(),
239
- body: ServiceabilityPlatformModel.PincodeCodStatusListingDetails().required(),
219
+ body: ServiceabilityPlatformModel.PincodeCodStatusListingRequest().required(),
240
220
  }).required();
241
221
  }
242
222
 
@@ -251,7 +231,7 @@ class ServiceabilityPlatformApplicationValidator {
251
231
  static updateStoreRules() {
252
232
  return Joi.object({
253
233
  ruleUid: Joi.string().allow("").required(),
254
- body: ServiceabilityPlatformModel.CreateStoreRuleDetailsSchema().required(),
234
+ body: ServiceabilityPlatformModel.CreateStoreRuleRequestSchema().required(),
255
235
  }).required();
256
236
  }
257
237
 
@@ -6,19 +6,19 @@ declare class Serviceability {
6
6
  * @param {ServiceabilityPlatformValidator.BulkServiceabilityParam} arg - Arg object
7
7
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
8
8
  * @param {import("../PlatformAPIClient").Options} - Options
9
- * @returns {Promise<ServiceabilityPlatformModel.BulkRegionResultItemData>}
9
+ * @returns {Promise<ServiceabilityPlatformModel.BulkRegionResponseItemData>}
10
10
  * - Success response
11
11
  *
12
12
  * @name bulkServiceability
13
13
  * @summary: Bulk update serviceability of localities
14
14
  * @description: Bulk operations involve either new serviceability settings or updating existing ones in large quantities. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/bulkServiceability/).
15
15
  */
16
- bulkServiceability({ extensionId, schemeId, body, requestHeaders }?: ServiceabilityPlatformValidator.BulkServiceabilityParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.BulkRegionResultItemData>;
16
+ bulkServiceability({ extensionId, schemeId, body, requestHeaders }?: ServiceabilityPlatformValidator.BulkServiceabilityParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.BulkRegionResponseItemData>;
17
17
  /**
18
18
  * @param {ServiceabilityPlatformValidator.BulkTatParam} arg - Arg object
19
19
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
20
20
  * @param {import("../PlatformAPIClient").Options} - Options
21
- * @returns {Promise<ServiceabilityPlatformModel.BulkRegionResultItemData>}
21
+ * @returns {Promise<ServiceabilityPlatformModel.BulkRegionResponseItemData>}
22
22
  * - Success response
23
23
  *
24
24
  * @name bulkTat
@@ -26,7 +26,7 @@ declare class Serviceability {
26
26
  * @description: Updates locality wise TAT(Turn Around Time) for particular courier scheme using CSV file.
27
27
  * Export locality wise CSV files. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/bulkTat/).
28
28
  */
29
- bulkTat({ extensionId, schemeId, body, requestHeaders }?: ServiceabilityPlatformValidator.BulkTatParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.BulkRegionResultItemData>;
29
+ bulkTat({ extensionId, schemeId, body, requestHeaders }?: ServiceabilityPlatformValidator.BulkTatParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.BulkRegionResponseItemData>;
30
30
  /**
31
31
  * @param {ServiceabilityPlatformValidator.CreateCourierPartnerAccountParam} arg
32
32
  * - Arg object
@@ -45,69 +45,72 @@ declare class Serviceability {
45
45
  *
46
46
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
47
47
  * @param {import("../PlatformAPIClient").Options} - Options
48
- * @returns {Promise<ServiceabilityPlatformModel.PackageMaterialResult>} -
49
- * Success response
48
+ * @returns {Promise<ServiceabilityPlatformModel.PackageMaterialResponse>}
49
+ * - Success response
50
+ *
50
51
  * @name createPackageMaterial
51
52
  * @summary: Create packaging material
52
53
  * @description: Creates a packaging material - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/createPackageMaterial/).
53
54
  */
54
- createPackageMaterial({ body, requestHeaders }?: ServiceabilityPlatformValidator.CreatePackageMaterialParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.PackageMaterialResult>;
55
+ createPackageMaterial({ body, requestHeaders }?: ServiceabilityPlatformValidator.CreatePackageMaterialParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.PackageMaterialResponse>;
55
56
  /**
56
57
  * @param {ServiceabilityPlatformValidator.CreatePackageMaterialRuleParam} arg
57
58
  * - Arg object
58
59
  *
59
60
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
60
61
  * @param {import("../PlatformAPIClient").Options} - Options
61
- * @returns {Promise<ServiceabilityPlatformModel.PackageRuleResult>} -
62
+ * @returns {Promise<ServiceabilityPlatformModel.PackageRuleResponse>} -
62
63
  * Success response
63
64
  * @name createPackageMaterialRule
64
65
  * @summary: Create packaging rule
65
66
  * @description: Creates a packaging rule - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/createPackageMaterialRule/).
66
67
  */
67
- createPackageMaterialRule({ body, requestHeaders }?: ServiceabilityPlatformValidator.CreatePackageMaterialRuleParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.PackageRuleResult>;
68
+ createPackageMaterialRule({ body, requestHeaders }?: ServiceabilityPlatformValidator.CreatePackageMaterialRuleParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.PackageRuleResponse>;
68
69
  /**
69
70
  * @param {ServiceabilityPlatformValidator.CreateZoneParam} arg - Arg object
70
71
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
71
72
  * @param {import("../PlatformAPIClient").Options} - Options
72
- * @returns {Promise<ServiceabilityPlatformModel.ZoneResult>} - Success response
73
+ * @returns {Promise<ServiceabilityPlatformModel.ZoneResponse>} - Success response
73
74
  * @name createZone
74
75
  * @summary: Create zone
75
76
  * @description: Creates a delivery zone. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/createZone/).
76
77
  */
77
- createZone({ body, requestHeaders }?: ServiceabilityPlatformValidator.CreateZoneParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.ZoneResult>;
78
+ createZone({ body, requestHeaders }?: ServiceabilityPlatformValidator.CreateZoneParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.ZoneResponse>;
78
79
  /**
79
80
  * @param {ServiceabilityPlatformValidator.GetAllStoresParam} arg - Arg object
80
81
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
81
82
  * @param {import("../PlatformAPIClient").Options} - Options
82
- * @returns {Promise<ServiceabilityPlatformModel.GetStoresViewResult>} -
83
+ * @returns {Promise<ServiceabilityPlatformModel.GetStoresViewResponse>} -
83
84
  * Success response
84
85
  * @name getAllStores
85
86
  * @summary: Get all stores
86
87
  * @description: Retrieves a list of locations. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/getAllStores/).
87
88
  */
88
- getAllStores({ requestHeaders }?: any, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.GetStoresViewResult>;
89
+ getAllStores({ requestHeaders }?: any, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.GetStoresViewResponse>;
89
90
  /**
90
91
  * @param {ServiceabilityPlatformValidator.GetBulkServiceabilityParam} arg
91
92
  * - Arg object
92
93
  *
93
94
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
94
95
  * @param {import("../PlatformAPIClient").Options} - Options
95
- * @returns {Promise<ServiceabilityPlatformModel.BulkRegionResult>} - Success response
96
+ * @returns {Promise<ServiceabilityPlatformModel.BulkRegionResponse>} -
97
+ * Success response
96
98
  * @name getBulkServiceability
97
99
  * @summary: Bulk update history
98
100
  * @description: Retrieves the history of changes made to serviceability settings for a scheme. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/getBulkServiceability/).
99
101
  */
100
- getBulkServiceability({ extensionId, schemeId, pageNo, pageSize, batchId, action, status, country, region, startDate, endDate, requestHeaders, }?: ServiceabilityPlatformValidator.GetBulkServiceabilityParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.BulkRegionResult>;
102
+ getBulkServiceability({ extensionId, schemeId, pageNo, pageSize, batchId, action, status, country, region, startDate, endDate, requestHeaders, }?: ServiceabilityPlatformValidator.GetBulkServiceabilityParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.BulkRegionResponse>;
101
103
  /**
102
104
  * @param {ServiceabilityPlatformValidator.GetBulkTatParam} arg - Arg object
103
105
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
104
106
  * @param {import("../PlatformAPIClient").Options} - Options
105
- * @returns {Promise<ServiceabilityPlatformModel.BulkRegionResult>} - Success response
107
+ * @returns {Promise<ServiceabilityPlatformModel.BulkRegionResponse>} -
108
+ * Success response
106
109
  * @name getBulkTat
107
110
  * @summary: Locality TAT change history
108
111
  * @description: Retrieves the history of changes made to TAT(Turn Around Time) for scheme. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/getBulkTat/).
109
112
  */
110
- getBulkTat({ extensionId, schemeId, pageNo, pageSize, batchId, action, status, country, region, startDate, endDate, requestHeaders, }?: ServiceabilityPlatformValidator.GetBulkTatParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.BulkRegionResult>;
113
+ getBulkTat({ extensionId, schemeId, pageNo, pageSize, batchId, action, status, country, region, startDate, endDate, requestHeaders, }?: ServiceabilityPlatformValidator.GetBulkTatParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.BulkRegionResponse>;
111
114
  /**
112
115
  * @param {ServiceabilityPlatformValidator.GetCompanyConfigurationParam} arg
113
116
  * - Arg object
@@ -126,38 +129,39 @@ declare class Serviceability {
126
129
  *
127
130
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
128
131
  * @param {import("../PlatformAPIClient").Options} - Options
129
- * @returns {Promise<ServiceabilityPlatformModel.CourierAccountResult>} -
132
+ * @returns {Promise<ServiceabilityPlatformModel.CourierAccountResponse>} -
130
133
  * Success response
131
134
  * @name getCourierPartnerAccount
132
135
  * @summary: Get courier account
133
136
  * @description: Retrieves a single courier partner account. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/getCourierPartnerAccount/).
134
137
  */
135
- getCourierPartnerAccount({ accountId, requestHeaders }?: ServiceabilityPlatformValidator.GetCourierPartnerAccountParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.CourierAccountResult>;
138
+ getCourierPartnerAccount({ accountId, requestHeaders }?: ServiceabilityPlatformValidator.GetCourierPartnerAccountParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.CourierAccountResponse>;
136
139
  /**
137
140
  * @param {ServiceabilityPlatformValidator.GetCourierPartnerAccountsParam} arg
138
141
  * - Arg object
139
142
  *
140
143
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
141
144
  * @param {import("../PlatformAPIClient").Options} - Options
142
- * @returns {Promise<ServiceabilityPlatformModel.CompanyCourierPartnerAccountListResult>}
145
+ * @returns {Promise<ServiceabilityPlatformModel.CompanyCourierPartnerAccountListResponse>}
143
146
  * - Success response
144
147
  *
145
148
  * @name getCourierPartnerAccounts
146
149
  * @summary: List courier accounts
147
150
  * @description: Retrieves a list of courier partner accounts. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/getCourierPartnerAccounts/).
148
151
  */
149
- getCourierPartnerAccounts({ pageNo, pageSize, stage, paymentMode, transportType, requestHeaders }?: ServiceabilityPlatformValidator.GetCourierPartnerAccountsParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.CompanyCourierPartnerAccountListResult>;
152
+ getCourierPartnerAccounts({ pageNo, pageSize, stage, paymentMode, transportType, requestHeaders }?: ServiceabilityPlatformValidator.GetCourierPartnerAccountsParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.CompanyCourierPartnerAccountListResponse>;
150
153
  /**
151
154
  * @param {ServiceabilityPlatformValidator.GetOptimalLocationsParam} arg - Arg object
152
155
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
153
156
  * @param {import("../PlatformAPIClient").Options} - Options
154
- * @returns {Promise<ServiceabilityPlatformModel.OptimalLocationsResult>} -
155
- * Success response
157
+ * @returns {Promise<ServiceabilityPlatformModel.OptimalLocationsResponse>}
158
+ * - Success response
159
+ *
156
160
  * @name getOptimalLocations
157
161
  * @summary: Get selling locations
158
162
  * @description: Retrieves a list selling locations which are best suited to fullfil an order for a customer. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/getOptimalLocations/).
159
163
  */
160
- getOptimalLocations({ body, requestHeaders }?: ServiceabilityPlatformValidator.GetOptimalLocationsParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.OptimalLocationsResult>;
164
+ getOptimalLocations({ body, requestHeaders }?: ServiceabilityPlatformValidator.GetOptimalLocationsParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.OptimalLocationsResponse>;
161
165
  /**
162
166
  * @param {ServiceabilityPlatformValidator.GetPackageMaterialListParam} arg
163
167
  * - Arg object
@@ -177,13 +181,13 @@ declare class Serviceability {
177
181
  *
178
182
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
179
183
  * @param {import("../PlatformAPIClient").Options} - Options
180
- * @returns {Promise<ServiceabilityPlatformModel.PackageRuleResult>} -
184
+ * @returns {Promise<ServiceabilityPlatformModel.PackageRuleResponse>} -
181
185
  * Success response
182
186
  * @name getPackageMaterialRule
183
187
  * @summary: Get packaging material rule
184
188
  * @description: Retrieve packaging rule details. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/getPackageMaterialRule/).
185
189
  */
186
- getPackageMaterialRule({ ruleId, requestHeaders }?: ServiceabilityPlatformValidator.GetPackageMaterialRuleParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.PackageRuleResult>;
190
+ getPackageMaterialRule({ ruleId, requestHeaders }?: ServiceabilityPlatformValidator.GetPackageMaterialRuleParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.PackageRuleResponse>;
187
191
  /**
188
192
  * @param {ServiceabilityPlatformValidator.GetPackageMaterialRulesParam} arg
189
193
  * - Arg object
@@ -202,13 +206,14 @@ declare class Serviceability {
202
206
  * @param {ServiceabilityPlatformValidator.GetPackageMaterialsParam} arg - Arg object
203
207
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
204
208
  * @param {import("../PlatformAPIClient").Options} - Options
205
- * @returns {Promise<ServiceabilityPlatformModel.PackageMaterialResult>} -
206
- * Success response
209
+ * @returns {Promise<ServiceabilityPlatformModel.PackageMaterialResponse>}
210
+ * - Success response
211
+ *
207
212
  * @name getPackageMaterials
208
213
  * @summary: Get packaging material
209
214
  * @description: Retrieve a single packaging material - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/getPackageMaterials/).
210
215
  */
211
- getPackageMaterials({ packageMaterialId, requestHeaders }?: ServiceabilityPlatformValidator.GetPackageMaterialsParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.PackageMaterialResult>;
216
+ getPackageMaterials({ packageMaterialId, requestHeaders }?: ServiceabilityPlatformValidator.GetPackageMaterialsParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.PackageMaterialResponse>;
212
217
  /**
213
218
  * @param {ServiceabilityPlatformValidator.GetServiceabilityParam} arg - Arg object
214
219
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
@@ -235,12 +240,12 @@ declare class Serviceability {
235
240
  * @param {ServiceabilityPlatformValidator.GetZonesParam} arg - Arg object
236
241
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
237
242
  * @param {import("../PlatformAPIClient").Options} - Options
238
- * @returns {Promise<ServiceabilityPlatformModel.ListViewResult>} - Success response
243
+ * @returns {Promise<ServiceabilityPlatformModel.ListViewResponse>} - Success response
239
244
  * @name getZones
240
245
  * @summary: Get zones
241
246
  * @description: Retrieves a list of delivery zones. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/getZones/).
242
247
  */
243
- getZones({ pageNo, pageSize, isActive, channelId, q, countryIsoCode, state, city, pincode, sector, requestHeaders, }?: ServiceabilityPlatformValidator.GetZonesParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.ListViewResult>;
248
+ getZones({ pageNo, pageSize, isActive, channelId, q, countryIsoCode, state, city, pincode, sector, requestHeaders, }?: ServiceabilityPlatformValidator.GetZonesParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.ListViewResponse>;
244
249
  /**
245
250
  * @param {ServiceabilityPlatformValidator.UpdateCompanyConfigurationParam} arg
246
251
  * - Arg object
@@ -259,39 +264,40 @@ declare class Serviceability {
259
264
  *
260
265
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
261
266
  * @param {import("../PlatformAPIClient").Options} - Options
262
- * @returns {Promise<ServiceabilityPlatformModel.CourierAccountResult>} -
267
+ * @returns {Promise<ServiceabilityPlatformModel.CourierAccountResponse>} -
263
268
  * Success response
264
269
  * @name updateCourierPartnerAccount
265
270
  * @summary: Update courier account
266
271
  * @description: Updates an existing courier partner account. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/updateCourierPartnerAccount/).
267
272
  */
268
- updateCourierPartnerAccount({ accountId, body, requestHeaders }?: ServiceabilityPlatformValidator.UpdateCourierPartnerAccountParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.CourierAccountResult>;
273
+ updateCourierPartnerAccount({ accountId, body, requestHeaders }?: ServiceabilityPlatformValidator.UpdateCourierPartnerAccountParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.CourierAccountResponse>;
269
274
  /**
270
275
  * @param {ServiceabilityPlatformValidator.UpdatePackageMaterialRuleParam} arg
271
276
  * - Arg object
272
277
  *
273
278
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
274
279
  * @param {import("../PlatformAPIClient").Options} - Options
275
- * @returns {Promise<ServiceabilityPlatformModel.PackageRuleResult>} -
280
+ * @returns {Promise<ServiceabilityPlatformModel.PackageRuleResponse>} -
276
281
  * Success response
277
282
  * @name updatePackageMaterialRule
278
283
  * @summary: Update packaging rule
279
284
  * @description: Update an existing packaging rule - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/updatePackageMaterialRule/).
280
285
  */
281
- updatePackageMaterialRule({ ruleId, body, requestHeaders }?: ServiceabilityPlatformValidator.UpdatePackageMaterialRuleParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.PackageRuleResult>;
286
+ updatePackageMaterialRule({ ruleId, body, requestHeaders }?: ServiceabilityPlatformValidator.UpdatePackageMaterialRuleParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.PackageRuleResponse>;
282
287
  /**
283
288
  * @param {ServiceabilityPlatformValidator.UpdatePackageMaterialsParam} arg
284
289
  * - Arg object
285
290
  *
286
291
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
287
292
  * @param {import("../PlatformAPIClient").Options} - Options
288
- * @returns {Promise<ServiceabilityPlatformModel.PackageMaterialResult>} -
289
- * Success response
293
+ * @returns {Promise<ServiceabilityPlatformModel.PackageMaterialResponse>}
294
+ * - Success response
295
+ *
290
296
  * @name updatePackageMaterials
291
297
  * @summary: Update packaging material
292
298
  * @description: Update an existing packaging material - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/updatePackageMaterials/).
293
299
  */
294
- updatePackageMaterials({ packageMaterialId, body, requestHeaders }?: ServiceabilityPlatformValidator.UpdatePackageMaterialsParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.PackageMaterialResult>;
300
+ updatePackageMaterials({ packageMaterialId, body, requestHeaders }?: ServiceabilityPlatformValidator.UpdatePackageMaterialsParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.PackageMaterialResponse>;
295
301
  /**
296
302
  * @param {ServiceabilityPlatformValidator.UpdateServiceabilityParam} arg - Arg object
297
303
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
@@ -307,13 +313,13 @@ declare class Serviceability {
307
313
  * @param {ServiceabilityPlatformValidator.UpdateZoneByIdParam} arg - Arg object
308
314
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
309
315
  * @param {import("../PlatformAPIClient").Options} - Options
310
- * @returns {Promise<ServiceabilityPlatformModel.ZoneSuccessResult>} -
316
+ * @returns {Promise<ServiceabilityPlatformModel.ZoneSuccessResponse>} -
311
317
  * Success response
312
318
  * @name updateZoneById
313
319
  * @summary: Update a zone
314
320
  * @description: Update an existing delivery zone . - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/updateZoneById/).
315
321
  */
316
- updateZoneById({ zoneId, body, requestHeaders }?: ServiceabilityPlatformValidator.UpdateZoneByIdParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.ZoneSuccessResult>;
322
+ updateZoneById({ zoneId, body, requestHeaders }?: ServiceabilityPlatformValidator.UpdateZoneByIdParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.ZoneSuccessResponse>;
317
323
  }
318
324
  import ServiceabilityPlatformValidator = require("./ServiceabilityPlatformValidator");
319
325
  import ServiceabilityPlatformModel = require("./ServiceabilityPlatformModel");