@gofynd/fdk-client-javascript 1.4.16-beta.4 → 1.4.16-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 (239) 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 +118 -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 +51 -30
  14. package/sdk/application/Content/ContentApplicationClient.js +161 -56
  15. package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +9 -11
  16. package/sdk/application/FileStorage/FileStorageApplicationClient.js +7 -10
  17. package/sdk/application/Finance/FinanceApplicationClient.d.ts +29 -0
  18. package/sdk/application/Finance/FinanceApplicationClient.js +111 -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 +101 -8
  23. package/sdk/application/Order/OrderApplicationClient.d.ts +22 -12
  24. package/sdk/application/Order/OrderApplicationClient.js +56 -8
  25. package/sdk/application/Payment/PaymentApplicationClient.d.ts +87 -87
  26. package/sdk/application/Payment/PaymentApplicationClient.js +46 -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 -21
  38. package/sdk/partner/FileStorage/FileStoragePartnerModel.js +121 -16
  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 +5070 -1296
  83. package/sdk/platform/Cart/CartPlatformModel.js +1992 -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 +6512 -1770
  91. package/sdk/platform/Catalog/CatalogPlatformModel.js +3228 -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 +204 -141
  121. package/sdk/platform/Content/ContentPlatformApplicationClient.js +1076 -478
  122. package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +253 -141
  123. package/sdk/platform/Content/ContentPlatformApplicationValidator.js +256 -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 +1372 -400
  127. package/sdk/platform/Content/ContentPlatformModel.js +631 -394
  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 +95 -39
  137. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +462 -63
  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 +20 -22
  141. package/sdk/platform/FileStorage/FileStoragePlatformClient.js +21 -24
  142. package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +370 -116
  143. package/sdk/platform/FileStorage/FileStoragePlatformModel.js +313 -104
  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 +7607 -1267
  157. package/sdk/platform/Order/OrderPlatformModel.js +3929 -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 +46 -36
  183. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +132 -41
  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 +40 -46
  187. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +58 -64
  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 +5 -5
  193. package/sdk/platform/Share/SharePlatformApplicationClient.js +9 -9
  194. package/sdk/platform/Share/SharePlatformApplicationValidator.d.ts +3 -6
  195. package/sdk/platform/Share/SharePlatformApplicationValidator.js +2 -2
  196. package/sdk/platform/Share/SharePlatformModel.d.ts +46 -7
  197. package/sdk/platform/Share/SharePlatformModel.js +31 -6
  198. package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +3 -3
  199. package/sdk/platform/Theme/ThemePlatformApplicationClient.js +8 -4
  200. package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +5 -0
  201. package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +2 -0
  202. package/sdk/platform/Theme/ThemePlatformModel.d.ts +37 -11
  203. package/sdk/platform/Theme/ThemePlatformModel.js +33 -15
  204. package/sdk/platform/User/UserPlatformApplicationClient.d.ts +12 -12
  205. package/sdk/platform/User/UserPlatformApplicationClient.js +12 -12
  206. package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +2 -2
  207. package/sdk/platform/User/UserPlatformApplicationValidator.js +2 -2
  208. package/sdk/platform/User/UserPlatformModel.d.ts +21 -21
  209. package/sdk/platform/User/UserPlatformModel.js +23 -23
  210. package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +25 -78
  211. package/sdk/platform/Webhook/WebhookPlatformClient.js +75 -470
  212. package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +720 -427
  213. package/sdk/platform/Webhook/WebhookPlatformModel.js +410 -386
  214. package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +10 -55
  215. package/sdk/platform/Webhook/WebhookPlatformValidator.js +12 -72
  216. package/sdk/platform/index.d.ts +0 -1
  217. package/sdk/platform/index.js +0 -2
  218. package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +3 -2
  219. package/sdk/public/Configuration/ConfigurationPublicClient.js +6 -5
  220. package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +9 -9
  221. package/sdk/public/Configuration/ConfigurationPublicModel.js +6 -6
  222. package/sdk/public/Content/ContentPublicClient.d.ts +112 -2
  223. package/sdk/public/Content/ContentPublicClient.js +810 -6
  224. package/sdk/public/Content/ContentPublicModel.d.ts +549 -3
  225. package/sdk/public/Content/ContentPublicModel.js +649 -3
  226. package/sdk/public/Content/ContentPublicValidator.d.ts +69 -3
  227. package/sdk/public/Content/ContentPublicValidator.js +88 -2
  228. package/sdk/public/Webhook/WebhookPublicClient.d.ts +8 -8
  229. package/sdk/public/Webhook/WebhookPublicClient.js +8 -8
  230. package/sdk/public/Webhook/WebhookPublicModel.d.ts +21 -21
  231. package/sdk/public/Webhook/WebhookPublicModel.js +15 -15
  232. package/sdk/public/Webhook/WebhookPublicValidator.d.ts +4 -4
  233. package/sdk/public/Webhook/WebhookPublicValidator.js +4 -4
  234. package/sdk/platform/Finance/FinancePlatformClient.d.ts +0 -320
  235. package/sdk/platform/Finance/FinancePlatformClient.js +0 -2333
  236. package/sdk/platform/Finance/FinancePlatformModel.d.ts +0 -2890
  237. package/sdk/platform/Finance/FinancePlatformModel.js +0 -2148
  238. package/sdk/platform/Finance/FinancePlatformValidator.d.ts +0 -284
  239. 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
  );
@@ -1718,7 +1713,7 @@ class Serviceability {
1718
1713
  * @param {ServiceabilityPlatformValidator.GetZonesParam} arg - Arg object
1719
1714
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
1720
1715
  * @param {import("../PlatformAPIClient").Options} - Options
1721
- * @returns {Promise<ServiceabilityPlatformModel.ListViewResponse>} - Success response
1716
+ * @returns {Promise<ServiceabilityPlatformModel.ListViewResult>} - Success response
1722
1717
  * @name getZones
1723
1718
  * @summary: Get zones
1724
1719
  * @description: Retrieves a list of delivery zones. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/getZones/).
@@ -1814,7 +1809,7 @@ class Serviceability {
1814
1809
 
1815
1810
  const {
1816
1811
  error: res_error,
1817
- } = ServiceabilityPlatformModel.ListViewResponse().validate(responseData, {
1812
+ } = ServiceabilityPlatformModel.ListViewResult().validate(responseData, {
1818
1813
  abortEarly: false,
1819
1814
  allowUnknown: true,
1820
1815
  });
@@ -1922,7 +1917,7 @@ class Serviceability {
1922
1917
  *
1923
1918
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
1924
1919
  * @param {import("../PlatformAPIClient").Options} - Options
1925
- * @returns {Promise<ServiceabilityPlatformModel.CourierAccountResponse>} -
1920
+ * @returns {Promise<ServiceabilityPlatformModel.CourierAccountResult>} -
1926
1921
  * Success response
1927
1922
  * @name updateCourierPartnerAccount
1928
1923
  * @summary: Update courier account
@@ -1983,7 +1978,7 @@ class Serviceability {
1983
1978
 
1984
1979
  const {
1985
1980
  error: res_error,
1986
- } = ServiceabilityPlatformModel.CourierAccountResponse().validate(
1981
+ } = ServiceabilityPlatformModel.CourierAccountResult().validate(
1987
1982
  responseData,
1988
1983
  { abortEarly: false, allowUnknown: true }
1989
1984
  );
@@ -2008,7 +2003,7 @@ class Serviceability {
2008
2003
  *
2009
2004
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
2010
2005
  * @param {import("../PlatformAPIClient").Options} - Options
2011
- * @returns {Promise<ServiceabilityPlatformModel.PackageRuleResponse>} -
2006
+ * @returns {Promise<ServiceabilityPlatformModel.PackageRuleResult>} -
2012
2007
  * Success response
2013
2008
  * @name updatePackageMaterialRule
2014
2009
  * @summary: Update packaging rule
@@ -2069,10 +2064,10 @@ class Serviceability {
2069
2064
 
2070
2065
  const {
2071
2066
  error: res_error,
2072
- } = ServiceabilityPlatformModel.PackageRuleResponse().validate(
2073
- responseData,
2074
- { abortEarly: false, allowUnknown: true }
2075
- );
2067
+ } = ServiceabilityPlatformModel.PackageRuleResult().validate(responseData, {
2068
+ abortEarly: false,
2069
+ allowUnknown: true,
2070
+ });
2076
2071
 
2077
2072
  if (res_error) {
2078
2073
  if (this.config.options.strictResponseCheck === true) {
@@ -2094,9 +2089,8 @@ class Serviceability {
2094
2089
  *
2095
2090
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
2096
2091
  * @param {import("../PlatformAPIClient").Options} - Options
2097
- * @returns {Promise<ServiceabilityPlatformModel.PackageMaterialResponse>}
2098
- * - Success response
2099
- *
2092
+ * @returns {Promise<ServiceabilityPlatformModel.PackageMaterialResult>} -
2093
+ * Success response
2100
2094
  * @name updatePackageMaterials
2101
2095
  * @summary: Update packaging material
2102
2096
  * @description: Update an existing packaging material - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/updatePackageMaterials/).
@@ -2156,7 +2150,7 @@ class Serviceability {
2156
2150
 
2157
2151
  const {
2158
2152
  error: res_error,
2159
- } = ServiceabilityPlatformModel.PackageMaterialResponse().validate(
2153
+ } = ServiceabilityPlatformModel.PackageMaterialResult().validate(
2160
2154
  responseData,
2161
2155
  { abortEarly: false, allowUnknown: true }
2162
2156
  );
@@ -2269,7 +2263,7 @@ class Serviceability {
2269
2263
  * @param {ServiceabilityPlatformValidator.UpdateZoneByIdParam} arg - Arg object
2270
2264
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
2271
2265
  * @param {import("../PlatformAPIClient").Options} - Options
2272
- * @returns {Promise<ServiceabilityPlatformModel.ZoneSuccessResponse>} -
2266
+ * @returns {Promise<ServiceabilityPlatformModel.ZoneSuccessResult>} -
2273
2267
  * Success response
2274
2268
  * @name updateZoneById
2275
2269
  * @summary: Update a zone
@@ -2328,10 +2322,10 @@ class Serviceability {
2328
2322
 
2329
2323
  const {
2330
2324
  error: res_error,
2331
- } = ServiceabilityPlatformModel.ZoneSuccessResponse().validate(
2332
- responseData,
2333
- { abortEarly: false, allowUnknown: true }
2334
- );
2325
+ } = ServiceabilityPlatformModel.ZoneSuccessResult().validate(responseData, {
2326
+ abortEarly: false,
2327
+ allowUnknown: true,
2328
+ });
2335
2329
 
2336
2330
  if (res_error) {
2337
2331
  if (this.config.options.strictResponseCheck === true) {