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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (237) hide show
  1. package/README.md +1 -1
  2. package/package.json +1 -1
  3. package/sdk/application/ApplicationClient.d.ts +2 -0
  4. package/sdk/application/ApplicationClient.js +2 -0
  5. package/sdk/application/Cart/CartApplicationClient.d.ts +68 -48
  6. package/sdk/application/Cart/CartApplicationClient.js +130 -27
  7. package/sdk/application/Catalog/CatalogApplicationClient.d.ts +59 -58
  8. package/sdk/application/Catalog/CatalogApplicationClient.js +30 -29
  9. package/sdk/application/Common/CommonApplicationClient.d.ts +2 -2
  10. package/sdk/application/Common/CommonApplicationClient.js +1 -1
  11. package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +20 -20
  12. package/sdk/application/Configuration/ConfigurationApplicationClient.js +10 -10
  13. package/sdk/application/Content/ContentApplicationClient.d.ts +19 -30
  14. package/sdk/application/Content/ContentApplicationClient.js +40 -60
  15. package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +8 -8
  16. package/sdk/application/FileStorage/FileStorageApplicationClient.js +7 -7
  17. package/sdk/application/Finance/FinanceApplicationClient.d.ts +29 -0
  18. package/sdk/application/Finance/FinanceApplicationClient.js +126 -0
  19. package/sdk/application/Lead/LeadApplicationClient.d.ts +2 -2
  20. package/sdk/application/Lead/LeadApplicationClient.js +1 -1
  21. package/sdk/application/Logistic/LogisticApplicationClient.d.ts +35 -15
  22. package/sdk/application/Logistic/LogisticApplicationClient.js +118 -8
  23. package/sdk/application/Order/OrderApplicationClient.d.ts +22 -12
  24. package/sdk/application/Order/OrderApplicationClient.js +62 -8
  25. package/sdk/application/Payment/PaymentApplicationClient.d.ts +87 -87
  26. package/sdk/application/Payment/PaymentApplicationClient.js +65 -46
  27. package/sdk/application/Rewards/RewardsApplicationClient.d.ts +13 -13
  28. package/sdk/application/Rewards/RewardsApplicationClient.js +7 -7
  29. package/sdk/application/Theme/ThemeApplicationClient.d.ts +2 -2
  30. package/sdk/application/Theme/ThemeApplicationClient.js +4 -2
  31. package/sdk/application/User/UserApplicationClient.d.ts +10 -10
  32. package/sdk/application/User/UserApplicationClient.js +6 -6
  33. package/sdk/application/Webhook/WebhookApplicationClient.d.ts +4 -4
  34. package/sdk/application/Webhook/WebhookApplicationClient.js +3 -3
  35. package/sdk/partner/FileStorage/FileStoragePartnerClient.d.ts +86 -12
  36. package/sdk/partner/FileStorage/FileStoragePartnerClient.js +582 -24
  37. package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +116 -19
  38. package/sdk/partner/FileStorage/FileStoragePartnerModel.js +121 -14
  39. package/sdk/partner/FileStorage/FileStoragePartnerValidator.d.ts +8 -1
  40. package/sdk/partner/FileStorage/FileStoragePartnerValidator.js +51 -4
  41. package/sdk/partner/Lead/LeadPartnerClient.d.ts +2 -2
  42. package/sdk/partner/Lead/LeadPartnerClient.js +2 -2
  43. package/sdk/partner/Lead/LeadPartnerModel.d.ts +5 -5
  44. package/sdk/partner/Lead/LeadPartnerModel.js +15 -15
  45. package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +126 -20
  46. package/sdk/partner/Logistics/LogisticsPartnerClient.js +970 -20
  47. package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +1200 -167
  48. package/sdk/partner/Logistics/LogisticsPartnerModel.js +571 -160
  49. package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +10 -0
  50. package/sdk/partner/Logistics/LogisticsPartnerValidator.js +121 -7
  51. package/sdk/partner/Theme/ThemePartnerClient.d.ts +8 -10
  52. package/sdk/partner/Theme/ThemePartnerClient.js +14 -16
  53. package/sdk/partner/Theme/ThemePartnerModel.d.ts +96 -37
  54. package/sdk/partner/Theme/ThemePartnerModel.js +90 -36
  55. package/sdk/partner/Theme/ThemePartnerValidator.js +4 -4
  56. package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +28 -18
  57. package/sdk/partner/Webhook/WebhookPartnerClient.js +103 -18
  58. package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +612 -179
  59. package/sdk/partner/Webhook/WebhookPartnerModel.js +253 -150
  60. package/sdk/partner/Webhook/WebhookPartnerValidator.d.ts +1 -0
  61. package/sdk/partner/Webhook/WebhookPartnerValidator.js +11 -3
  62. package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.d.ts +5 -4
  63. package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.js +14 -8
  64. package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +59 -9
  65. package/sdk/platform/Analytics/AnalyticsPlatformModel.js +40 -4
  66. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +2 -32
  67. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +3 -243
  68. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +11 -130
  69. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +12 -152
  70. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +1 -39
  71. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +0 -35
  72. package/sdk/platform/Billing/BillingPlatformClient.d.ts +12 -12
  73. package/sdk/platform/Billing/BillingPlatformClient.js +15 -15
  74. package/sdk/platform/Billing/BillingPlatformModel.d.ts +443 -388
  75. package/sdk/platform/Billing/BillingPlatformModel.js +280 -263
  76. package/sdk/platform/Billing/BillingPlatformValidator.d.ts +16 -18
  77. package/sdk/platform/Billing/BillingPlatformValidator.js +8 -9
  78. package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +134 -103
  79. package/sdk/platform/Cart/CartPlatformApplicationClient.js +419 -115
  80. package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +121 -65
  81. package/sdk/platform/Cart/CartPlatformApplicationValidator.js +109 -44
  82. package/sdk/platform/Cart/CartPlatformModel.d.ts +5039 -1300
  83. package/sdk/platform/Cart/CartPlatformModel.js +1976 -1217
  84. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +209 -183
  85. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +452 -395
  86. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +185 -142
  87. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +96 -78
  88. package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +154 -117
  89. package/sdk/platform/Catalog/CatalogPlatformClient.js +292 -172
  90. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +6941 -2203
  91. package/sdk/platform/Catalog/CatalogPlatformModel.js +3224 -1687
  92. package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +72 -31
  93. package/sdk/platform/Catalog/CatalogPlatformValidator.js +50 -24
  94. package/sdk/platform/Common/CommonPlatformClient.d.ts +3 -2
  95. package/sdk/platform/Common/CommonPlatformClient.js +3 -2
  96. package/sdk/platform/Common/CommonPlatformModel.d.ts +9 -9
  97. package/sdk/platform/Common/CommonPlatformModel.js +6 -6
  98. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +16 -17
  99. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +16 -17
  100. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +8 -8
  101. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +8 -8
  102. package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +43 -33
  103. package/sdk/platform/Communication/CommunicationPlatformModel.js +38 -34
  104. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +46 -42
  105. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +47 -43
  106. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +223 -223
  107. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +210 -212
  108. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +12 -12
  109. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +12 -12
  110. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +46 -33
  111. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +67 -54
  112. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +18 -18
  113. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +18 -18
  114. package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +45 -24
  115. package/sdk/platform/Configuration/ConfigurationPlatformClient.js +134 -30
  116. package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +283 -124
  117. package/sdk/platform/Configuration/ConfigurationPlatformModel.js +219 -94
  118. package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +37 -9
  119. package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +27 -8
  120. package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +124 -141
  121. package/sdk/platform/Content/ContentPlatformApplicationClient.js +449 -422
  122. package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +179 -141
  123. package/sdk/platform/Content/ContentPlatformApplicationValidator.js +168 -130
  124. package/sdk/platform/Content/ContentPlatformClient.d.ts +142 -106
  125. package/sdk/platform/Content/ContentPlatformClient.js +523 -336
  126. package/sdk/platform/Content/ContentPlatformModel.d.ts +1241 -395
  127. package/sdk/platform/Content/ContentPlatformModel.js +521 -390
  128. package/sdk/platform/Content/ContentPlatformValidator.d.ts +168 -117
  129. package/sdk/platform/Content/ContentPlatformValidator.js +162 -108
  130. package/sdk/platform/Discount/DiscountPlatformClient.d.ts +14 -12
  131. package/sdk/platform/Discount/DiscountPlatformClient.js +14 -12
  132. package/sdk/platform/Discount/DiscountPlatformModel.d.ts +13 -13
  133. package/sdk/platform/Discount/DiscountPlatformModel.js +12 -12
  134. package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +2 -2
  135. package/sdk/platform/Discount/DiscountPlatformValidator.js +2 -2
  136. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +94 -36
  137. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +462 -60
  138. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +62 -15
  139. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +75 -13
  140. package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +19 -19
  141. package/sdk/platform/FileStorage/FileStoragePlatformClient.js +21 -21
  142. package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +370 -101
  143. package/sdk/platform/FileStorage/FileStoragePlatformModel.js +313 -84
  144. package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +6 -6
  145. package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +6 -6
  146. package/sdk/platform/Lead/LeadPlatformClient.d.ts +2 -2
  147. package/sdk/platform/Lead/LeadPlatformClient.js +2 -2
  148. package/sdk/platform/Lead/LeadPlatformModel.d.ts +5 -5
  149. package/sdk/platform/Lead/LeadPlatformModel.js +16 -16
  150. package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +17 -6
  151. package/sdk/platform/Order/OrderPlatformApplicationClient.js +85 -7
  152. package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +95 -24
  153. package/sdk/platform/Order/OrderPlatformApplicationValidator.js +39 -19
  154. package/sdk/platform/Order/OrderPlatformClient.d.ts +153 -96
  155. package/sdk/platform/Order/OrderPlatformClient.js +416 -198
  156. package/sdk/platform/Order/OrderPlatformModel.d.ts +7602 -1269
  157. package/sdk/platform/Order/OrderPlatformModel.js +3926 -1269
  158. package/sdk/platform/Order/OrderPlatformValidator.d.ts +270 -109
  159. package/sdk/platform/Order/OrderPlatformValidator.js +135 -77
  160. package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +6 -4
  161. package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +9 -7
  162. package/sdk/platform/Partner/PartnerPlatformModel.d.ts +9 -9
  163. package/sdk/platform/Partner/PartnerPlatformModel.js +8 -8
  164. package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +93 -105
  165. package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +129 -141
  166. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +48 -48
  167. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +48 -48
  168. package/sdk/platform/Payment/PaymentPlatformClient.d.ts +20 -20
  169. package/sdk/platform/Payment/PaymentPlatformClient.js +20 -20
  170. package/sdk/platform/Payment/PaymentPlatformModel.d.ts +333 -319
  171. package/sdk/platform/Payment/PaymentPlatformModel.js +288 -278
  172. package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +8 -8
  173. package/sdk/platform/Payment/PaymentPlatformValidator.js +8 -8
  174. package/sdk/platform/PlatformClient.d.ts +0 -2
  175. package/sdk/platform/PlatformClient.js +0 -4
  176. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +2 -2
  177. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +2 -2
  178. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +2 -2
  179. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.js +2 -2
  180. package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +9 -9
  181. package/sdk/platform/Rewards/RewardsPlatformModel.js +8 -8
  182. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +48 -38
  183. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +134 -43
  184. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +46 -17
  185. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +34 -14
  186. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +38 -44
  187. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +56 -62
  188. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +1842 -609
  189. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +886 -554
  190. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +42 -46
  191. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +26 -28
  192. package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +2 -2
  193. package/sdk/platform/Share/SharePlatformApplicationClient.js +2 -2
  194. package/sdk/platform/Share/SharePlatformModel.d.ts +36 -5
  195. package/sdk/platform/Share/SharePlatformModel.js +27 -4
  196. package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +3 -3
  197. package/sdk/platform/Theme/ThemePlatformApplicationClient.js +8 -4
  198. package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +5 -0
  199. package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +2 -0
  200. package/sdk/platform/Theme/ThemePlatformModel.d.ts +37 -11
  201. package/sdk/platform/Theme/ThemePlatformModel.js +33 -15
  202. package/sdk/platform/User/UserPlatformApplicationClient.d.ts +12 -12
  203. package/sdk/platform/User/UserPlatformApplicationClient.js +12 -12
  204. package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +2 -2
  205. package/sdk/platform/User/UserPlatformApplicationValidator.js +2 -2
  206. package/sdk/platform/User/UserPlatformModel.d.ts +21 -21
  207. package/sdk/platform/User/UserPlatformModel.js +23 -23
  208. package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +25 -78
  209. package/sdk/platform/Webhook/WebhookPlatformClient.js +75 -470
  210. package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +720 -427
  211. package/sdk/platform/Webhook/WebhookPlatformModel.js +410 -386
  212. package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +10 -55
  213. package/sdk/platform/Webhook/WebhookPlatformValidator.js +12 -72
  214. package/sdk/platform/index.d.ts +0 -1
  215. package/sdk/platform/index.js +0 -2
  216. package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +3 -2
  217. package/sdk/public/Configuration/ConfigurationPublicClient.js +6 -5
  218. package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +9 -9
  219. package/sdk/public/Configuration/ConfigurationPublicModel.js +6 -6
  220. package/sdk/public/Content/ContentPublicClient.d.ts +112 -2
  221. package/sdk/public/Content/ContentPublicClient.js +895 -8
  222. package/sdk/public/Content/ContentPublicModel.d.ts +549 -3
  223. package/sdk/public/Content/ContentPublicModel.js +649 -3
  224. package/sdk/public/Content/ContentPublicValidator.d.ts +69 -3
  225. package/sdk/public/Content/ContentPublicValidator.js +88 -2
  226. package/sdk/public/Webhook/WebhookPublicClient.d.ts +8 -8
  227. package/sdk/public/Webhook/WebhookPublicClient.js +8 -8
  228. package/sdk/public/Webhook/WebhookPublicModel.d.ts +21 -21
  229. package/sdk/public/Webhook/WebhookPublicModel.js +15 -15
  230. package/sdk/public/Webhook/WebhookPublicValidator.d.ts +4 -4
  231. package/sdk/public/Webhook/WebhookPublicValidator.js +4 -4
  232. package/sdk/platform/Finance/FinancePlatformClient.d.ts +0 -320
  233. package/sdk/platform/Finance/FinancePlatformClient.js +0 -2333
  234. package/sdk/platform/Finance/FinancePlatformModel.d.ts +0 -2890
  235. package/sdk/platform/Finance/FinancePlatformModel.js +0 -2148
  236. package/sdk/platform/Finance/FinancePlatformValidator.d.ts +0 -284
  237. package/sdk/platform/Finance/FinancePlatformValidator.js +0 -354
@@ -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.BulkRegionResponseItemData>}
21
+ * @returns {Promise<ServiceabilityPlatformModel.BulkRegionResultItemData>}
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.BulkRegionResponseItemData().validate(
85
+ } = ServiceabilityPlatformModel.BulkRegionResultItemData().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.BulkRegionResponseItemData>}
108
+ * @returns {Promise<ServiceabilityPlatformModel.BulkRegionResultItemData>}
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.BulkRegionResponseItemData().validate(
171
+ } = ServiceabilityPlatformModel.BulkRegionResultItemData().validate(
172
172
  responseData,
173
173
  { abortEarly: false, allowUnknown: true }
174
174
  );
@@ -276,9 +276,8 @@ 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.PackageMaterialResponse>}
280
- * - Success response
281
- *
279
+ * @returns {Promise<ServiceabilityPlatformModel.PackageMaterialResult>} -
280
+ * Success response
282
281
  * @name createPackageMaterial
283
282
  * @summary: Create packaging material
284
283
  * @description: Creates a packaging material - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/createPackageMaterial/).
@@ -336,7 +335,7 @@ class Serviceability {
336
335
 
337
336
  const {
338
337
  error: res_error,
339
- } = ServiceabilityPlatformModel.PackageMaterialResponse().validate(
338
+ } = ServiceabilityPlatformModel.PackageMaterialResult().validate(
340
339
  responseData,
341
340
  { abortEarly: false, allowUnknown: true }
342
341
  );
@@ -361,7 +360,7 @@ class Serviceability {
361
360
  *
362
361
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
363
362
  * @param {import("../PlatformAPIClient").Options} - Options
364
- * @returns {Promise<ServiceabilityPlatformModel.PackageRuleResponse>} -
363
+ * @returns {Promise<ServiceabilityPlatformModel.PackageRuleResult>} -
365
364
  * Success response
366
365
  * @name createPackageMaterialRule
367
366
  * @summary: Create packaging rule
@@ -420,10 +419,10 @@ class Serviceability {
420
419
 
421
420
  const {
422
421
  error: res_error,
423
- } = ServiceabilityPlatformModel.PackageRuleResponse().validate(
424
- responseData,
425
- { abortEarly: false, allowUnknown: true }
426
- );
422
+ } = ServiceabilityPlatformModel.PackageRuleResult().validate(responseData, {
423
+ abortEarly: false,
424
+ allowUnknown: true,
425
+ });
427
426
 
428
427
  if (res_error) {
429
428
  if (this.config.options.strictResponseCheck === true) {
@@ -443,7 +442,7 @@ class Serviceability {
443
442
  * @param {ServiceabilityPlatformValidator.CreateZoneParam} arg - Arg object
444
443
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
445
444
  * @param {import("../PlatformAPIClient").Options} - Options
446
- * @returns {Promise<ServiceabilityPlatformModel.ZoneResponse>} - Success response
445
+ * @returns {Promise<ServiceabilityPlatformModel.ZoneResult>} - Success response
447
446
  * @name createZone
448
447
  * @summary: Create zone
449
448
  * @description: Creates a delivery zone. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/createZone/).
@@ -499,7 +498,7 @@ class Serviceability {
499
498
 
500
499
  const {
501
500
  error: res_error,
502
- } = ServiceabilityPlatformModel.ZoneResponse().validate(responseData, {
501
+ } = ServiceabilityPlatformModel.ZoneResult().validate(responseData, {
503
502
  abortEarly: false,
504
503
  allowUnknown: true,
505
504
  });
@@ -522,7 +521,7 @@ class Serviceability {
522
521
  * @param {ServiceabilityPlatformValidator.GetAllStoresParam} arg - Arg object
523
522
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
524
523
  * @param {import("../PlatformAPIClient").Options} - Options
525
- * @returns {Promise<ServiceabilityPlatformModel.GetStoresViewResponse>} -
524
+ * @returns {Promise<ServiceabilityPlatformModel.GetStoresViewResult>} -
526
525
  * Success response
527
526
  * @name getAllStores
528
527
  * @summary: Get all stores
@@ -575,7 +574,7 @@ class Serviceability {
575
574
 
576
575
  const {
577
576
  error: res_error,
578
- } = ServiceabilityPlatformModel.GetStoresViewResponse().validate(
577
+ } = ServiceabilityPlatformModel.GetStoresViewResult().validate(
579
578
  responseData,
580
579
  { abortEarly: false, allowUnknown: true }
581
580
  );
@@ -600,8 +599,7 @@ class Serviceability {
600
599
  *
601
600
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
602
601
  * @param {import("../PlatformAPIClient").Options} - Options
603
- * @returns {Promise<ServiceabilityPlatformModel.BulkRegionResponse>} -
604
- * Success response
602
+ * @returns {Promise<ServiceabilityPlatformModel.BulkRegionResult>} - Success response
605
603
  * @name getBulkServiceability
606
604
  * @summary: Bulk update history
607
605
  * @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/).
@@ -701,10 +699,10 @@ class Serviceability {
701
699
 
702
700
  const {
703
701
  error: res_error,
704
- } = ServiceabilityPlatformModel.BulkRegionResponse().validate(
705
- responseData,
706
- { abortEarly: false, allowUnknown: true }
707
- );
702
+ } = ServiceabilityPlatformModel.BulkRegionResult().validate(responseData, {
703
+ abortEarly: false,
704
+ allowUnknown: true,
705
+ });
708
706
 
709
707
  if (res_error) {
710
708
  if (this.config.options.strictResponseCheck === true) {
@@ -724,8 +722,7 @@ class Serviceability {
724
722
  * @param {ServiceabilityPlatformValidator.GetBulkTatParam} arg - Arg object
725
723
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
726
724
  * @param {import("../PlatformAPIClient").Options} - Options
727
- * @returns {Promise<ServiceabilityPlatformModel.BulkRegionResponse>} -
728
- * Success response
725
+ * @returns {Promise<ServiceabilityPlatformModel.BulkRegionResult>} - Success response
729
726
  * @name getBulkTat
730
727
  * @summary: Locality TAT change history
731
728
  * @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/).
@@ -823,10 +820,10 @@ class Serviceability {
823
820
 
824
821
  const {
825
822
  error: res_error,
826
- } = ServiceabilityPlatformModel.BulkRegionResponse().validate(
827
- responseData,
828
- { abortEarly: false, allowUnknown: true }
829
- );
823
+ } = ServiceabilityPlatformModel.BulkRegionResult().validate(responseData, {
824
+ abortEarly: false,
825
+ allowUnknown: true,
826
+ });
830
827
 
831
828
  if (res_error) {
832
829
  if (this.config.options.strictResponseCheck === true) {
@@ -927,7 +924,7 @@ class Serviceability {
927
924
  *
928
925
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
929
926
  * @param {import("../PlatformAPIClient").Options} - Options
930
- * @returns {Promise<ServiceabilityPlatformModel.CourierAccountResponse>} -
927
+ * @returns {Promise<ServiceabilityPlatformModel.CourierAccountResult>} -
931
928
  * Success response
932
929
  * @name getCourierPartnerAccount
933
930
  * @summary: Get courier account
@@ -986,7 +983,7 @@ class Serviceability {
986
983
 
987
984
  const {
988
985
  error: res_error,
989
- } = ServiceabilityPlatformModel.CourierAccountResponse().validate(
986
+ } = ServiceabilityPlatformModel.CourierAccountResult().validate(
990
987
  responseData,
991
988
  { abortEarly: false, allowUnknown: true }
992
989
  );
@@ -1011,7 +1008,7 @@ class Serviceability {
1011
1008
  *
1012
1009
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
1013
1010
  * @param {import("../PlatformAPIClient").Options} - Options
1014
- * @returns {Promise<ServiceabilityPlatformModel.CompanyCourierPartnerAccountListResponse>}
1011
+ * @returns {Promise<ServiceabilityPlatformModel.CompanyCourierPartnerAccountListResult>}
1015
1012
  * - Success response
1016
1013
  *
1017
1014
  * @name getCourierPartnerAccounts
@@ -1086,7 +1083,7 @@ class Serviceability {
1086
1083
 
1087
1084
  const {
1088
1085
  error: res_error,
1089
- } = ServiceabilityPlatformModel.CompanyCourierPartnerAccountListResponse().validate(
1086
+ } = ServiceabilityPlatformModel.CompanyCourierPartnerAccountListResult().validate(
1090
1087
  responseData,
1091
1088
  { abortEarly: false, allowUnknown: true }
1092
1089
  );
@@ -1109,9 +1106,8 @@ class Serviceability {
1109
1106
  * @param {ServiceabilityPlatformValidator.GetOptimalLocationsParam} arg - Arg object
1110
1107
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
1111
1108
  * @param {import("../PlatformAPIClient").Options} - Options
1112
- * @returns {Promise<ServiceabilityPlatformModel.OptimalLocationsResponse>}
1113
- * - Success response
1114
- *
1109
+ * @returns {Promise<ServiceabilityPlatformModel.OptimalLocationsResult>} -
1110
+ * Success response
1115
1111
  * @name getOptimalLocations
1116
1112
  * @summary: Get selling locations
1117
1113
  * @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/).
@@ -1169,7 +1165,7 @@ class Serviceability {
1169
1165
 
1170
1166
  const {
1171
1167
  error: res_error,
1172
- } = ServiceabilityPlatformModel.OptimalLocationsResponse().validate(
1168
+ } = ServiceabilityPlatformModel.OptimalLocationsResult().validate(
1173
1169
  responseData,
1174
1170
  { abortEarly: false, allowUnknown: true }
1175
1171
  );
@@ -1293,7 +1289,7 @@ class Serviceability {
1293
1289
  *
1294
1290
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
1295
1291
  * @param {import("../PlatformAPIClient").Options} - Options
1296
- * @returns {Promise<ServiceabilityPlatformModel.PackageRuleResponse>} -
1292
+ * @returns {Promise<ServiceabilityPlatformModel.PackageRuleResult>} -
1297
1293
  * Success response
1298
1294
  * @name getPackageMaterialRule
1299
1295
  * @summary: Get packaging material rule
@@ -1352,10 +1348,10 @@ class Serviceability {
1352
1348
 
1353
1349
  const {
1354
1350
  error: res_error,
1355
- } = ServiceabilityPlatformModel.PackageRuleResponse().validate(
1356
- responseData,
1357
- { abortEarly: false, allowUnknown: true }
1358
- );
1351
+ } = ServiceabilityPlatformModel.PackageRuleResult().validate(responseData, {
1352
+ abortEarly: false,
1353
+ allowUnknown: true,
1354
+ });
1359
1355
 
1360
1356
  if (res_error) {
1361
1357
  if (this.config.options.strictResponseCheck === true) {
@@ -1467,9 +1463,8 @@ class Serviceability {
1467
1463
  * @param {ServiceabilityPlatformValidator.GetPackageMaterialsParam} arg - Arg object
1468
1464
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
1469
1465
  * @param {import("../PlatformAPIClient").Options} - Options
1470
- * @returns {Promise<ServiceabilityPlatformModel.PackageMaterialResponse>}
1471
- * - Success response
1472
- *
1466
+ * @returns {Promise<ServiceabilityPlatformModel.PackageMaterialResult>} -
1467
+ * Success response
1473
1468
  * @name getPackageMaterials
1474
1469
  * @summary: Get packaging material
1475
1470
  * @description: Retrieve a single packaging material - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/getPackageMaterials/).
@@ -1527,7 +1522,7 @@ class Serviceability {
1527
1522
 
1528
1523
  const {
1529
1524
  error: res_error,
1530
- } = ServiceabilityPlatformModel.PackageMaterialResponse().validate(
1525
+ } = ServiceabilityPlatformModel.PackageMaterialResult().validate(
1531
1526
  responseData,
1532
1527
  { abortEarly: false, allowUnknown: true }
1533
1528
  );
@@ -1803,7 +1798,7 @@ class Serviceability {
1803
1798
  *
1804
1799
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
1805
1800
  * @param {import("../PlatformAPIClient").Options} - Options
1806
- * @returns {Promise<ServiceabilityPlatformModel.CourierAccountResponse>} -
1801
+ * @returns {Promise<ServiceabilityPlatformModel.CourierAccountResult>} -
1807
1802
  * Success response
1808
1803
  * @name updateCourierPartnerAccount
1809
1804
  * @summary: Update courier account
@@ -1864,7 +1859,7 @@ class Serviceability {
1864
1859
 
1865
1860
  const {
1866
1861
  error: res_error,
1867
- } = ServiceabilityPlatformModel.CourierAccountResponse().validate(
1862
+ } = ServiceabilityPlatformModel.CourierAccountResult().validate(
1868
1863
  responseData,
1869
1864
  { abortEarly: false, allowUnknown: true }
1870
1865
  );
@@ -1889,7 +1884,7 @@ class Serviceability {
1889
1884
  *
1890
1885
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
1891
1886
  * @param {import("../PlatformAPIClient").Options} - Options
1892
- * @returns {Promise<ServiceabilityPlatformModel.PackageRuleResponse>} -
1887
+ * @returns {Promise<ServiceabilityPlatformModel.PackageRuleResult>} -
1893
1888
  * Success response
1894
1889
  * @name updatePackageMaterialRule
1895
1890
  * @summary: Update packaging rule
@@ -1950,10 +1945,10 @@ class Serviceability {
1950
1945
 
1951
1946
  const {
1952
1947
  error: res_error,
1953
- } = ServiceabilityPlatformModel.PackageRuleResponse().validate(
1954
- responseData,
1955
- { abortEarly: false, allowUnknown: true }
1956
- );
1948
+ } = ServiceabilityPlatformModel.PackageRuleResult().validate(responseData, {
1949
+ abortEarly: false,
1950
+ allowUnknown: true,
1951
+ });
1957
1952
 
1958
1953
  if (res_error) {
1959
1954
  if (this.config.options.strictResponseCheck === true) {
@@ -1975,9 +1970,8 @@ class Serviceability {
1975
1970
  *
1976
1971
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
1977
1972
  * @param {import("../PlatformAPIClient").Options} - Options
1978
- * @returns {Promise<ServiceabilityPlatformModel.PackageMaterialResponse>}
1979
- * - Success response
1980
- *
1973
+ * @returns {Promise<ServiceabilityPlatformModel.PackageMaterialResult>} -
1974
+ * Success response
1981
1975
  * @name updatePackageMaterials
1982
1976
  * @summary: Update packaging material
1983
1977
  * @description: Update an existing packaging material - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/updatePackageMaterials/).
@@ -2037,7 +2031,7 @@ class Serviceability {
2037
2031
 
2038
2032
  const {
2039
2033
  error: res_error,
2040
- } = ServiceabilityPlatformModel.PackageMaterialResponse().validate(
2034
+ } = ServiceabilityPlatformModel.PackageMaterialResult().validate(
2041
2035
  responseData,
2042
2036
  { abortEarly: false, allowUnknown: true }
2043
2037
  );
@@ -2150,7 +2144,7 @@ class Serviceability {
2150
2144
  * @param {ServiceabilityPlatformValidator.UpdateZoneByIdParam} arg - Arg object
2151
2145
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
2152
2146
  * @param {import("../PlatformAPIClient").Options} - Options
2153
- * @returns {Promise<ServiceabilityPlatformModel.ZoneSuccessResponse>} -
2147
+ * @returns {Promise<ServiceabilityPlatformModel.ZoneSuccessResult>} -
2154
2148
  * Success response
2155
2149
  * @name updateZoneById
2156
2150
  * @summary: Update a zone
@@ -2209,10 +2203,10 @@ class Serviceability {
2209
2203
 
2210
2204
  const {
2211
2205
  error: res_error,
2212
- } = ServiceabilityPlatformModel.ZoneSuccessResponse().validate(
2213
- responseData,
2214
- { abortEarly: false, allowUnknown: true }
2215
- );
2206
+ } = ServiceabilityPlatformModel.ZoneSuccessResult().validate(responseData, {
2207
+ abortEarly: false,
2208
+ allowUnknown: true,
2209
+ });
2216
2210
 
2217
2211
  if (res_error) {
2218
2212
  if (this.config.options.strictResponseCheck === true) {