@gofynd/fdk-client-javascript 1.4.16-beta.3 → 1.4.16-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 (242) 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 -117
  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 -51
  14. package/sdk/application/Content/ContentApplicationClient.js +56 -161
  15. package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +11 -9
  16. package/sdk/application/FileStorage/FileStorageApplicationClient.js +10 -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 -101
  21. package/sdk/application/Order/OrderApplicationClient.d.ts +12 -22
  22. package/sdk/application/Order/OrderApplicationClient.js +8 -56
  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/common/Utility.js +6 -3
  34. package/sdk/common/utils.d.ts +0 -1
  35. package/sdk/common/utils.js +0 -14
  36. package/sdk/partner/FileStorage/FileStoragePartnerClient.d.ts +12 -86
  37. package/sdk/partner/FileStorage/FileStoragePartnerClient.js +24 -582
  38. package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +21 -116
  39. package/sdk/partner/FileStorage/FileStoragePartnerModel.js +16 -121
  40. package/sdk/partner/FileStorage/FileStoragePartnerValidator.d.ts +1 -8
  41. package/sdk/partner/FileStorage/FileStoragePartnerValidator.js +4 -51
  42. package/sdk/partner/Lead/LeadPartnerClient.d.ts +2 -2
  43. package/sdk/partner/Lead/LeadPartnerClient.js +2 -2
  44. package/sdk/partner/Lead/LeadPartnerModel.d.ts +5 -5
  45. package/sdk/partner/Lead/LeadPartnerModel.js +15 -15
  46. package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +20 -126
  47. package/sdk/partner/Logistics/LogisticsPartnerClient.js +20 -970
  48. package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +167 -1200
  49. package/sdk/partner/Logistics/LogisticsPartnerModel.js +160 -571
  50. package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +0 -10
  51. package/sdk/partner/Logistics/LogisticsPartnerValidator.js +7 -121
  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 +37 -96
  55. package/sdk/partner/Theme/ThemePartnerModel.js +36 -90
  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 -121
  82. package/sdk/platform/Cart/CartPlatformApplicationValidator.js +44 -109
  83. package/sdk/platform/Cart/CartPlatformModel.d.ts +1294 -5068
  84. package/sdk/platform/Cart/CartPlatformModel.js +1217 -1992
  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 -6389
  92. package/sdk/platform/Catalog/CatalogPlatformModel.js +1681 -3222
  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 -204
  122. package/sdk/platform/Content/ContentPlatformApplicationClient.js +475 -1073
  123. package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +141 -253
  124. package/sdk/platform/Content/ContentPlatformApplicationValidator.js +130 -256
  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 +403 -1375
  128. package/sdk/platform/Content/ContentPlatformModel.js +394 -631
  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 +39 -95
  138. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +63 -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 +22 -20
  142. package/sdk/platform/FileStorage/FileStoragePlatformClient.js +24 -21
  143. package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +116 -370
  144. package/sdk/platform/FileStorage/FileStoragePlatformModel.js +104 -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 +68 -62
  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 +49 -45
  198. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +30 -28
  199. package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +5 -5
  200. package/sdk/platform/Share/SharePlatformApplicationClient.js +9 -9
  201. package/sdk/platform/Share/SharePlatformApplicationValidator.d.ts +6 -3
  202. package/sdk/platform/Share/SharePlatformApplicationValidator.js +2 -2
  203. package/sdk/platform/Share/SharePlatformModel.d.ts +7 -46
  204. package/sdk/platform/Share/SharePlatformModel.js +6 -31
  205. package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +3 -3
  206. package/sdk/platform/Theme/ThemePlatformApplicationClient.js +4 -8
  207. package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +0 -5
  208. package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +0 -2
  209. package/sdk/platform/Theme/ThemePlatformModel.d.ts +11 -37
  210. package/sdk/platform/Theme/ThemePlatformModel.js +15 -33
  211. package/sdk/platform/User/UserPlatformApplicationClient.d.ts +12 -12
  212. package/sdk/platform/User/UserPlatformApplicationClient.js +12 -12
  213. package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +2 -2
  214. package/sdk/platform/User/UserPlatformApplicationValidator.js +2 -2
  215. package/sdk/platform/User/UserPlatformModel.d.ts +21 -21
  216. package/sdk/platform/User/UserPlatformModel.js +23 -23
  217. package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +78 -25
  218. package/sdk/platform/Webhook/WebhookPlatformClient.js +470 -75
  219. package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +427 -720
  220. package/sdk/platform/Webhook/WebhookPlatformModel.js +386 -410
  221. package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +55 -10
  222. package/sdk/platform/Webhook/WebhookPlatformValidator.js +72 -12
  223. package/sdk/platform/index.d.ts +1 -0
  224. package/sdk/platform/index.js +2 -0
  225. package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +2 -3
  226. package/sdk/public/Configuration/ConfigurationPublicClient.js +5 -6
  227. package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +9 -9
  228. package/sdk/public/Configuration/ConfigurationPublicModel.js +6 -6
  229. package/sdk/public/Content/ContentPublicClient.d.ts +2 -112
  230. package/sdk/public/Content/ContentPublicClient.js +6 -810
  231. package/sdk/public/Content/ContentPublicModel.d.ts +3 -549
  232. package/sdk/public/Content/ContentPublicModel.js +3 -649
  233. package/sdk/public/Content/ContentPublicValidator.d.ts +3 -69
  234. package/sdk/public/Content/ContentPublicValidator.js +2 -88
  235. package/sdk/public/Webhook/WebhookPublicClient.d.ts +8 -8
  236. package/sdk/public/Webhook/WebhookPublicClient.js +8 -8
  237. package/sdk/public/Webhook/WebhookPublicModel.d.ts +21 -21
  238. package/sdk/public/Webhook/WebhookPublicModel.js +15 -15
  239. package/sdk/public/Webhook/WebhookPublicValidator.d.ts +4 -4
  240. package/sdk/public/Webhook/WebhookPublicValidator.js +4 -4
  241. package/sdk/application/Finance/FinanceApplicationClient.d.ts +0 -29
  242. package/sdk/application/Finance/FinanceApplicationClient.js +0 -111
@@ -18,7 +18,7 @@ class Serviceability {
18
18
  * @param {ServiceabilityPlatformValidator.BulkServiceabilityParam} 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 bulkServiceability
@@ -82,7 +82,7 @@ class Serviceability {
82
82
 
83
83
  const {
84
84
  error: res_error,
85
- } = ServiceabilityPlatformModel.BulkRegionResultItemData().validate(
85
+ } = ServiceabilityPlatformModel.BulkRegionResponseItemData().validate(
86
86
  responseData,
87
87
  { abortEarly: false, allowUnknown: true }
88
88
  );
@@ -105,7 +105,7 @@ class Serviceability {
105
105
  * @param {ServiceabilityPlatformValidator.BulkTatParam} arg - Arg object
106
106
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
107
107
  * @param {import("../PlatformAPIClient").Options} - Options
108
- * @returns {Promise<ServiceabilityPlatformModel.BulkRegionResultItemData>}
108
+ * @returns {Promise<ServiceabilityPlatformModel.BulkRegionResponseItemData>}
109
109
  * - Success response
110
110
  *
111
111
  * @name bulkTat
@@ -168,7 +168,7 @@ class Serviceability {
168
168
 
169
169
  const {
170
170
  error: res_error,
171
- } = ServiceabilityPlatformModel.BulkRegionResultItemData().validate(
171
+ } = ServiceabilityPlatformModel.BulkRegionResponseItemData().validate(
172
172
  responseData,
173
173
  { abortEarly: false, allowUnknown: true }
174
174
  );
@@ -276,8 +276,9 @@ class Serviceability {
276
276
  *
277
277
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
278
278
  * @param {import("../PlatformAPIClient").Options} - Options
279
- * @returns {Promise<ServiceabilityPlatformModel.PackageMaterialResult>} -
280
- * Success response
279
+ * @returns {Promise<ServiceabilityPlatformModel.PackageMaterialResponse>}
280
+ * - Success response
281
+ *
281
282
  * @name createPackageMaterial
282
283
  * @summary: Create packaging material
283
284
  * @description: Creates a packaging material - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/createPackageMaterial/).
@@ -335,7 +336,7 @@ class Serviceability {
335
336
 
336
337
  const {
337
338
  error: res_error,
338
- } = ServiceabilityPlatformModel.PackageMaterialResult().validate(
339
+ } = ServiceabilityPlatformModel.PackageMaterialResponse().validate(
339
340
  responseData,
340
341
  { abortEarly: false, allowUnknown: true }
341
342
  );
@@ -360,7 +361,7 @@ class Serviceability {
360
361
  *
361
362
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
362
363
  * @param {import("../PlatformAPIClient").Options} - Options
363
- * @returns {Promise<ServiceabilityPlatformModel.PackageRuleResult>} -
364
+ * @returns {Promise<ServiceabilityPlatformModel.PackageRuleResponse>} -
364
365
  * Success response
365
366
  * @name createPackageMaterialRule
366
367
  * @summary: Create packaging rule
@@ -419,10 +420,10 @@ class Serviceability {
419
420
 
420
421
  const {
421
422
  error: res_error,
422
- } = ServiceabilityPlatformModel.PackageRuleResult().validate(responseData, {
423
- abortEarly: false,
424
- allowUnknown: true,
425
- });
423
+ } = ServiceabilityPlatformModel.PackageRuleResponse().validate(
424
+ responseData,
425
+ { abortEarly: false, allowUnknown: true }
426
+ );
426
427
 
427
428
  if (res_error) {
428
429
  if (this.config.options.strictResponseCheck === true) {
@@ -442,7 +443,7 @@ class Serviceability {
442
443
  * @param {ServiceabilityPlatformValidator.CreateZoneParam} arg - Arg object
443
444
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
444
445
  * @param {import("../PlatformAPIClient").Options} - Options
445
- * @returns {Promise<ServiceabilityPlatformModel.ZoneResult>} - Success response
446
+ * @returns {Promise<ServiceabilityPlatformModel.ZoneResponse>} - Success response
446
447
  * @name createZone
447
448
  * @summary: Create zone
448
449
  * @description: Creates a delivery zone. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/createZone/).
@@ -498,7 +499,7 @@ class Serviceability {
498
499
 
499
500
  const {
500
501
  error: res_error,
501
- } = ServiceabilityPlatformModel.ZoneResult().validate(responseData, {
502
+ } = ServiceabilityPlatformModel.ZoneResponse().validate(responseData, {
502
503
  abortEarly: false,
503
504
  allowUnknown: true,
504
505
  });
@@ -521,7 +522,7 @@ class Serviceability {
521
522
  * @param {ServiceabilityPlatformValidator.GetAllStoresParam} arg - Arg object
522
523
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
523
524
  * @param {import("../PlatformAPIClient").Options} - Options
524
- * @returns {Promise<ServiceabilityPlatformModel.GetStoresViewResult>} -
525
+ * @returns {Promise<ServiceabilityPlatformModel.GetStoresViewResponse>} -
525
526
  * Success response
526
527
  * @name getAllStores
527
528
  * @summary: Get all stores
@@ -574,7 +575,7 @@ class Serviceability {
574
575
 
575
576
  const {
576
577
  error: res_error,
577
- } = ServiceabilityPlatformModel.GetStoresViewResult().validate(
578
+ } = ServiceabilityPlatformModel.GetStoresViewResponse().validate(
578
579
  responseData,
579
580
  { abortEarly: false, allowUnknown: true }
580
581
  );
@@ -599,7 +600,8 @@ class Serviceability {
599
600
  *
600
601
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
601
602
  * @param {import("../PlatformAPIClient").Options} - Options
602
- * @returns {Promise<ServiceabilityPlatformModel.BulkRegionResult>} - Success response
603
+ * @returns {Promise<ServiceabilityPlatformModel.BulkRegionResponse>} -
604
+ * Success response
603
605
  * @name getBulkServiceability
604
606
  * @summary: Bulk update history
605
607
  * @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/).
@@ -699,10 +701,10 @@ class Serviceability {
699
701
 
700
702
  const {
701
703
  error: res_error,
702
- } = ServiceabilityPlatformModel.BulkRegionResult().validate(responseData, {
703
- abortEarly: false,
704
- allowUnknown: true,
705
- });
704
+ } = ServiceabilityPlatformModel.BulkRegionResponse().validate(
705
+ responseData,
706
+ { abortEarly: false, allowUnknown: true }
707
+ );
706
708
 
707
709
  if (res_error) {
708
710
  if (this.config.options.strictResponseCheck === true) {
@@ -722,7 +724,8 @@ class Serviceability {
722
724
  * @param {ServiceabilityPlatformValidator.GetBulkTatParam} arg - Arg object
723
725
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
724
726
  * @param {import("../PlatformAPIClient").Options} - Options
725
- * @returns {Promise<ServiceabilityPlatformModel.BulkRegionResult>} - Success response
727
+ * @returns {Promise<ServiceabilityPlatformModel.BulkRegionResponse>} -
728
+ * Success response
726
729
  * @name getBulkTat
727
730
  * @summary: Locality TAT change history
728
731
  * @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/).
@@ -820,10 +823,10 @@ class Serviceability {
820
823
 
821
824
  const {
822
825
  error: res_error,
823
- } = ServiceabilityPlatformModel.BulkRegionResult().validate(responseData, {
824
- abortEarly: false,
825
- allowUnknown: true,
826
- });
826
+ } = ServiceabilityPlatformModel.BulkRegionResponse().validate(
827
+ responseData,
828
+ { abortEarly: false, allowUnknown: true }
829
+ );
827
830
 
828
831
  if (res_error) {
829
832
  if (this.config.options.strictResponseCheck === true) {
@@ -924,7 +927,7 @@ class Serviceability {
924
927
  *
925
928
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
926
929
  * @param {import("../PlatformAPIClient").Options} - Options
927
- * @returns {Promise<ServiceabilityPlatformModel.CourierAccountResult>} -
930
+ * @returns {Promise<ServiceabilityPlatformModel.CourierAccountResponse>} -
928
931
  * Success response
929
932
  * @name getCourierPartnerAccount
930
933
  * @summary: Get courier account
@@ -983,7 +986,7 @@ class Serviceability {
983
986
 
984
987
  const {
985
988
  error: res_error,
986
- } = ServiceabilityPlatformModel.CourierAccountResult().validate(
989
+ } = ServiceabilityPlatformModel.CourierAccountResponse().validate(
987
990
  responseData,
988
991
  { abortEarly: false, allowUnknown: true }
989
992
  );
@@ -1008,7 +1011,7 @@ class Serviceability {
1008
1011
  *
1009
1012
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
1010
1013
  * @param {import("../PlatformAPIClient").Options} - Options
1011
- * @returns {Promise<ServiceabilityPlatformModel.CompanyCourierPartnerAccountListResult>}
1014
+ * @returns {Promise<ServiceabilityPlatformModel.CompanyCourierPartnerAccountListResponse>}
1012
1015
  * - Success response
1013
1016
  *
1014
1017
  * @name getCourierPartnerAccounts
@@ -1083,7 +1086,7 @@ class Serviceability {
1083
1086
 
1084
1087
  const {
1085
1088
  error: res_error,
1086
- } = ServiceabilityPlatformModel.CompanyCourierPartnerAccountListResult().validate(
1089
+ } = ServiceabilityPlatformModel.CompanyCourierPartnerAccountListResponse().validate(
1087
1090
  responseData,
1088
1091
  { abortEarly: false, allowUnknown: true }
1089
1092
  );
@@ -1106,8 +1109,9 @@ class Serviceability {
1106
1109
  * @param {ServiceabilityPlatformValidator.GetOptimalLocationsParam} arg - Arg object
1107
1110
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
1108
1111
  * @param {import("../PlatformAPIClient").Options} - Options
1109
- * @returns {Promise<ServiceabilityPlatformModel.OptimalLocationsResult>} -
1110
- * Success response
1112
+ * @returns {Promise<ServiceabilityPlatformModel.OptimalLocationsResponse>}
1113
+ * - Success response
1114
+ *
1111
1115
  * @name getOptimalLocations
1112
1116
  * @summary: Get selling locations
1113
1117
  * @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/).
@@ -1165,7 +1169,7 @@ class Serviceability {
1165
1169
 
1166
1170
  const {
1167
1171
  error: res_error,
1168
- } = ServiceabilityPlatformModel.OptimalLocationsResult().validate(
1172
+ } = ServiceabilityPlatformModel.OptimalLocationsResponse().validate(
1169
1173
  responseData,
1170
1174
  { abortEarly: false, allowUnknown: true }
1171
1175
  );
@@ -1289,7 +1293,7 @@ class Serviceability {
1289
1293
  *
1290
1294
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
1291
1295
  * @param {import("../PlatformAPIClient").Options} - Options
1292
- * @returns {Promise<ServiceabilityPlatformModel.PackageRuleResult>} -
1296
+ * @returns {Promise<ServiceabilityPlatformModel.PackageRuleResponse>} -
1293
1297
  * Success response
1294
1298
  * @name getPackageMaterialRule
1295
1299
  * @summary: Get packaging material rule
@@ -1348,10 +1352,10 @@ class Serviceability {
1348
1352
 
1349
1353
  const {
1350
1354
  error: res_error,
1351
- } = ServiceabilityPlatformModel.PackageRuleResult().validate(responseData, {
1352
- abortEarly: false,
1353
- allowUnknown: true,
1354
- });
1355
+ } = ServiceabilityPlatformModel.PackageRuleResponse().validate(
1356
+ responseData,
1357
+ { abortEarly: false, allowUnknown: true }
1358
+ );
1355
1359
 
1356
1360
  if (res_error) {
1357
1361
  if (this.config.options.strictResponseCheck === true) {
@@ -1463,8 +1467,9 @@ class Serviceability {
1463
1467
  * @param {ServiceabilityPlatformValidator.GetPackageMaterialsParam} arg - Arg object
1464
1468
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
1465
1469
  * @param {import("../PlatformAPIClient").Options} - Options
1466
- * @returns {Promise<ServiceabilityPlatformModel.PackageMaterialResult>} -
1467
- * Success response
1470
+ * @returns {Promise<ServiceabilityPlatformModel.PackageMaterialResponse>}
1471
+ * - Success response
1472
+ *
1468
1473
  * @name getPackageMaterials
1469
1474
  * @summary: Get packaging material
1470
1475
  * @description: Retrieve a single packaging material - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/getPackageMaterials/).
@@ -1522,7 +1527,7 @@ class Serviceability {
1522
1527
 
1523
1528
  const {
1524
1529
  error: res_error,
1525
- } = ServiceabilityPlatformModel.PackageMaterialResult().validate(
1530
+ } = ServiceabilityPlatformModel.PackageMaterialResponse().validate(
1526
1531
  responseData,
1527
1532
  { abortEarly: false, allowUnknown: true }
1528
1533
  );
@@ -1713,7 +1718,7 @@ class Serviceability {
1713
1718
  * @param {ServiceabilityPlatformValidator.GetZonesParam} arg - Arg object
1714
1719
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
1715
1720
  * @param {import("../PlatformAPIClient").Options} - Options
1716
- * @returns {Promise<ServiceabilityPlatformModel.ListViewResult>} - Success response
1721
+ * @returns {Promise<ServiceabilityPlatformModel.ListViewResponse>} - Success response
1717
1722
  * @name getZones
1718
1723
  * @summary: Get zones
1719
1724
  * @description: Retrieves a list of delivery zones. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/getZones/).
@@ -1723,7 +1728,7 @@ class Serviceability {
1723
1728
  pageNo,
1724
1729
  pageSize,
1725
1730
  isActive,
1726
- applicationId,
1731
+ applicationIds,
1727
1732
  q,
1728
1733
  countryIsoCode,
1729
1734
  state,
@@ -1739,7 +1744,7 @@ class Serviceability {
1739
1744
  pageNo,
1740
1745
  pageSize,
1741
1746
  isActive,
1742
- applicationId,
1747
+ applicationIds,
1743
1748
  q,
1744
1749
  countryIsoCode,
1745
1750
  state,
@@ -1761,7 +1766,7 @@ class Serviceability {
1761
1766
  pageNo,
1762
1767
  pageSize,
1763
1768
  isActive,
1764
- applicationId,
1769
+ applicationIds,
1765
1770
  q,
1766
1771
  countryIsoCode,
1767
1772
  state,
@@ -1782,7 +1787,7 @@ class Serviceability {
1782
1787
  query_params["page_no"] = pageNo;
1783
1788
  query_params["page_size"] = pageSize;
1784
1789
  query_params["is_active"] = isActive;
1785
- query_params["application_id"] = applicationId;
1790
+ query_params["application_ids"] = applicationIds;
1786
1791
  query_params["q"] = q;
1787
1792
  query_params["country_iso_code"] = countryIsoCode;
1788
1793
  query_params["state"] = state;
@@ -1809,7 +1814,7 @@ class Serviceability {
1809
1814
 
1810
1815
  const {
1811
1816
  error: res_error,
1812
- } = ServiceabilityPlatformModel.ListViewResult().validate(responseData, {
1817
+ } = ServiceabilityPlatformModel.ListViewResponse().validate(responseData, {
1813
1818
  abortEarly: false,
1814
1819
  allowUnknown: true,
1815
1820
  });
@@ -1917,7 +1922,7 @@ class Serviceability {
1917
1922
  *
1918
1923
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
1919
1924
  * @param {import("../PlatformAPIClient").Options} - Options
1920
- * @returns {Promise<ServiceabilityPlatformModel.CourierAccountResult>} -
1925
+ * @returns {Promise<ServiceabilityPlatformModel.CourierAccountResponse>} -
1921
1926
  * Success response
1922
1927
  * @name updateCourierPartnerAccount
1923
1928
  * @summary: Update courier account
@@ -1978,7 +1983,7 @@ class Serviceability {
1978
1983
 
1979
1984
  const {
1980
1985
  error: res_error,
1981
- } = ServiceabilityPlatformModel.CourierAccountResult().validate(
1986
+ } = ServiceabilityPlatformModel.CourierAccountResponse().validate(
1982
1987
  responseData,
1983
1988
  { abortEarly: false, allowUnknown: true }
1984
1989
  );
@@ -2003,7 +2008,7 @@ class Serviceability {
2003
2008
  *
2004
2009
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
2005
2010
  * @param {import("../PlatformAPIClient").Options} - Options
2006
- * @returns {Promise<ServiceabilityPlatformModel.PackageRuleResult>} -
2011
+ * @returns {Promise<ServiceabilityPlatformModel.PackageRuleResponse>} -
2007
2012
  * Success response
2008
2013
  * @name updatePackageMaterialRule
2009
2014
  * @summary: Update packaging rule
@@ -2064,10 +2069,10 @@ class Serviceability {
2064
2069
 
2065
2070
  const {
2066
2071
  error: res_error,
2067
- } = ServiceabilityPlatformModel.PackageRuleResult().validate(responseData, {
2068
- abortEarly: false,
2069
- allowUnknown: true,
2070
- });
2072
+ } = ServiceabilityPlatformModel.PackageRuleResponse().validate(
2073
+ responseData,
2074
+ { abortEarly: false, allowUnknown: true }
2075
+ );
2071
2076
 
2072
2077
  if (res_error) {
2073
2078
  if (this.config.options.strictResponseCheck === true) {
@@ -2089,8 +2094,9 @@ class Serviceability {
2089
2094
  *
2090
2095
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
2091
2096
  * @param {import("../PlatformAPIClient").Options} - Options
2092
- * @returns {Promise<ServiceabilityPlatformModel.PackageMaterialResult>} -
2093
- * Success response
2097
+ * @returns {Promise<ServiceabilityPlatformModel.PackageMaterialResponse>}
2098
+ * - Success response
2099
+ *
2094
2100
  * @name updatePackageMaterials
2095
2101
  * @summary: Update packaging material
2096
2102
  * @description: Update an existing packaging material - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/updatePackageMaterials/).
@@ -2150,7 +2156,7 @@ class Serviceability {
2150
2156
 
2151
2157
  const {
2152
2158
  error: res_error,
2153
- } = ServiceabilityPlatformModel.PackageMaterialResult().validate(
2159
+ } = ServiceabilityPlatformModel.PackageMaterialResponse().validate(
2154
2160
  responseData,
2155
2161
  { abortEarly: false, allowUnknown: true }
2156
2162
  );
@@ -2263,7 +2269,7 @@ class Serviceability {
2263
2269
  * @param {ServiceabilityPlatformValidator.UpdateZoneByIdParam} arg - Arg object
2264
2270
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
2265
2271
  * @param {import("../PlatformAPIClient").Options} - Options
2266
- * @returns {Promise<ServiceabilityPlatformModel.ZoneSuccessResult>} -
2272
+ * @returns {Promise<ServiceabilityPlatformModel.ZoneSuccessResponse>} -
2267
2273
  * Success response
2268
2274
  * @name updateZoneById
2269
2275
  * @summary: Update a zone
@@ -2322,10 +2328,10 @@ class Serviceability {
2322
2328
 
2323
2329
  const {
2324
2330
  error: res_error,
2325
- } = ServiceabilityPlatformModel.ZoneSuccessResult().validate(responseData, {
2326
- abortEarly: false,
2327
- allowUnknown: true,
2328
- });
2331
+ } = ServiceabilityPlatformModel.ZoneSuccessResponse().validate(
2332
+ responseData,
2333
+ { abortEarly: false, allowUnknown: true }
2334
+ );
2329
2335
 
2330
2336
  if (res_error) {
2331
2337
  if (this.config.options.strictResponseCheck === true) {