@gofynd/fdk-client-javascript 1.2.0 → 1.3.0

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 (262) hide show
  1. package/README.md +44 -7
  2. package/package.json +1 -2
  3. package/sdk/application/ApplicationAPIClient.d.ts +3 -3
  4. package/sdk/application/ApplicationAPIClient.js +6 -4
  5. package/sdk/application/ApplicationClient.d.ts +2 -3
  6. package/sdk/application/ApplicationClient.js +1 -45
  7. package/sdk/application/ApplicationConfig.d.ts +46 -6
  8. package/sdk/application/ApplicationConfig.js +15 -16
  9. package/sdk/application/Cart/CartApplicationClient.d.ts +61 -33
  10. package/sdk/application/Cart/CartApplicationClient.js +225 -134
  11. package/sdk/application/Cart/CartApplicationModel.d.ts +4 -4
  12. package/sdk/application/Cart/CartApplicationModel.js +4 -4
  13. package/sdk/application/Catalog/CatalogApplicationClient.d.ts +61 -30
  14. package/sdk/application/Catalog/CatalogApplicationClient.js +234 -146
  15. package/sdk/application/Catalog/CatalogApplicationModel.d.ts +115 -13
  16. package/sdk/application/Catalog/CatalogApplicationModel.js +77 -12
  17. package/sdk/application/Common/CommonApplicationClient.d.ts +5 -3
  18. package/sdk/application/Common/CommonApplicationClient.js +13 -11
  19. package/sdk/application/Common/CommonApplicationModel.d.ts +3 -83
  20. package/sdk/application/Common/CommonApplicationModel.js +2 -58
  21. package/sdk/application/Communication/CommunicationApplicationClient.d.ts +9 -3
  22. package/sdk/application/Communication/CommunicationApplicationClient.js +25 -13
  23. package/sdk/application/Communication/CommunicationApplicationModel.d.ts +1 -34
  24. package/sdk/application/Communication/CommunicationApplicationModel.js +0 -36
  25. package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +46 -16
  26. package/sdk/application/Configuration/ConfigurationApplicationClient.js +144 -68
  27. package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +1 -219
  28. package/sdk/application/Configuration/ConfigurationApplicationModel.js +0 -226
  29. package/sdk/application/Content/ContentApplicationClient.d.ts +49 -21
  30. package/sdk/application/Content/ContentApplicationClient.js +159 -80
  31. package/sdk/application/Content/ContentApplicationModel.d.ts +5 -622
  32. package/sdk/application/Content/ContentApplicationModel.js +11 -763
  33. package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +6 -3
  34. package/sdk/application/FileStorage/FileStorageApplicationClient.js +20 -14
  35. package/sdk/application/FileStorage/FileStorageApplicationModel.d.ts +1 -152
  36. package/sdk/application/FileStorage/FileStorageApplicationModel.js +0 -180
  37. package/sdk/application/Lead/LeadApplicationClient.d.ts +14 -7
  38. package/sdk/application/Lead/LeadApplicationClient.js +50 -31
  39. package/sdk/application/Lead/LeadApplicationModel.d.ts +22 -741
  40. package/sdk/application/Lead/LeadApplicationModel.js +21 -481
  41. package/sdk/application/Logistic/LogisticApplicationClient.d.ts +11 -5
  42. package/sdk/application/Logistic/LogisticApplicationClient.js +41 -20
  43. package/sdk/application/Order/OrderApplicationClient.d.ts +24 -12
  44. package/sdk/application/Order/OrderApplicationClient.js +88 -56
  45. package/sdk/application/Payment/PaymentApplicationClient.d.ts +91 -42
  46. package/sdk/application/Payment/PaymentApplicationClient.js +293 -194
  47. package/sdk/application/Payment/PaymentApplicationModel.d.ts +36 -36
  48. package/sdk/application/Payment/PaymentApplicationModel.js +36 -36
  49. package/sdk/application/PosCart/PosCartApplicationClient.d.ts +59 -32
  50. package/sdk/application/PosCart/PosCartApplicationClient.js +214 -130
  51. package/sdk/application/PosCart/PosCartApplicationModel.d.ts +2 -2
  52. package/sdk/application/PosCart/PosCartApplicationModel.js +2 -2
  53. package/sdk/application/Rewards/RewardsApplicationClient.d.ts +16 -7
  54. package/sdk/application/Rewards/RewardsApplicationClient.js +56 -29
  55. package/sdk/application/Share/ShareApplicationClient.d.ts +15 -7
  56. package/sdk/application/Share/ShareApplicationClient.js +51 -31
  57. package/sdk/application/Share/ShareApplicationModel.d.ts +1 -33
  58. package/sdk/application/Share/ShareApplicationModel.js +0 -38
  59. package/sdk/application/Theme/ThemeApplicationClient.d.ts +9 -4
  60. package/sdk/application/Theme/ThemeApplicationClient.js +35 -18
  61. package/sdk/application/Theme/ThemeApplicationModel.d.ts +982 -312
  62. package/sdk/application/Theme/ThemeApplicationModel.js +621 -284
  63. package/sdk/application/User/UserApplicationClient.d.ts +74 -35
  64. package/sdk/application/User/UserApplicationClient.js +252 -161
  65. package/sdk/application/User/UserApplicationModel.d.ts +3 -401
  66. package/sdk/application/User/UserApplicationModel.js +2 -490
  67. package/sdk/common/AxiosHelper.js +1 -2
  68. package/sdk/common/FDKError.d.ts +3 -0
  69. package/sdk/common/FDKError.js +8 -0
  70. package/sdk/common/utils.d.ts +3 -0
  71. package/sdk/common/utils.js +29 -0
  72. package/sdk/partner/PartnerAPIClient.d.ts +5 -4
  73. package/sdk/partner/PartnerAPIClient.js +7 -4
  74. package/sdk/partner/PartnerClient.d.ts +2 -0
  75. package/sdk/partner/PartnerClient.js +3 -0
  76. package/sdk/partner/Theme/ThemePartnerClient.d.ts +299 -0
  77. package/sdk/partner/Theme/ThemePartnerClient.js +768 -0
  78. package/sdk/partner/Theme/ThemePartnerModel.d.ts +1706 -0
  79. package/sdk/partner/Theme/ThemePartnerModel.js +1409 -0
  80. package/sdk/partner/Theme/ThemePartnerValidator.d.ts +22 -0
  81. package/sdk/partner/Theme/ThemePartnerValidator.js +157 -0
  82. package/sdk/partner/index.d.ts +3 -1
  83. package/sdk/partner/index.js +3 -1
  84. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +8 -4
  85. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +38 -16
  86. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +1 -13
  87. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +0 -12
  88. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +10 -0
  89. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +4 -0
  90. package/sdk/platform/Billing/BillingPlatformClient.d.ts +59 -14
  91. package/sdk/platform/Billing/BillingPlatformClient.js +315 -64
  92. package/sdk/platform/Billing/BillingPlatformModel.d.ts +56 -196
  93. package/sdk/platform/Billing/BillingPlatformModel.js +63 -217
  94. package/sdk/platform/Billing/BillingPlatformValidator.d.ts +23 -1
  95. package/sdk/platform/Billing/BillingPlatformValidator.js +31 -0
  96. package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +124 -63
  97. package/sdk/platform/Cart/CartPlatformApplicationClient.js +431 -265
  98. package/sdk/platform/Cart/CartPlatformModel.d.ts +253 -53
  99. package/sdk/platform/Cart/CartPlatformModel.js +104 -54
  100. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +120 -53
  101. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +398 -247
  102. package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +155 -78
  103. package/sdk/platform/Catalog/CatalogPlatformClient.js +561 -355
  104. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +10 -12
  105. package/sdk/platform/Catalog/CatalogPlatformModel.js +10 -12
  106. package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +30 -0
  107. package/sdk/platform/Catalog/CatalogPlatformValidator.js +13 -0
  108. package/sdk/platform/Common/CommonPlatformClient.d.ts +5 -3
  109. package/sdk/platform/Common/CommonPlatformClient.js +13 -11
  110. package/sdk/platform/Common/CommonPlatformModel.d.ts +39 -64
  111. package/sdk/platform/Common/CommonPlatformModel.js +23 -57
  112. package/sdk/platform/Common/CommonPlatformValidator.d.ts +5 -10
  113. package/sdk/platform/Common/CommonPlatformValidator.js +3 -4
  114. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +370 -120
  115. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +2328 -888
  116. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +143 -24
  117. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +179 -15
  118. package/sdk/platform/Communication/CommunicationPlatformClient.d.ts +2 -1
  119. package/sdk/platform/Communication/CommunicationPlatformClient.js +6 -5
  120. package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +386 -308
  121. package/sdk/platform/Communication/CommunicationPlatformModel.js +415 -355
  122. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +38 -13
  123. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +171 -57
  124. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +53 -1
  125. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +54 -0
  126. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +5 -1
  127. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +7 -0
  128. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +96 -29
  129. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +311 -126
  130. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +5 -1
  131. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +7 -0
  132. package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +36 -18
  133. package/sdk/platform/Configuration/ConfigurationPlatformClient.js +121 -86
  134. package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +13 -180
  135. package/sdk/platform/Configuration/ConfigurationPlatformModel.js +5 -113
  136. package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +162 -70
  137. package/sdk/platform/Content/ContentPlatformApplicationClient.js +528 -309
  138. package/sdk/platform/Content/ContentPlatformModel.d.ts +9 -198
  139. package/sdk/platform/Content/ContentPlatformModel.js +8 -231
  140. package/sdk/platform/Discount/DiscountPlatformClient.d.ts +48 -11
  141. package/sdk/platform/Discount/DiscountPlatformClient.js +142 -48
  142. package/sdk/platform/Discount/DiscountPlatformModel.d.ts +40 -1
  143. package/sdk/platform/Discount/DiscountPlatformModel.js +27 -0
  144. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +84 -18
  145. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +486 -53
  146. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +71 -7
  147. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +81 -5
  148. package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +13 -18
  149. package/sdk/platform/FileStorage/FileStoragePlatformClient.js +58 -65
  150. package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +198 -71
  151. package/sdk/platform/FileStorage/FileStoragePlatformModel.js +212 -64
  152. package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +18 -10
  153. package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +11 -6
  154. package/sdk/platform/Finance/FinancePlatformClient.d.ts +177 -40
  155. package/sdk/platform/Finance/FinancePlatformClient.js +1028 -132
  156. package/sdk/platform/Finance/FinancePlatformModel.d.ts +670 -22
  157. package/sdk/platform/Finance/FinancePlatformModel.js +809 -23
  158. package/sdk/platform/Finance/FinancePlatformValidator.d.ts +111 -1
  159. package/sdk/platform/Finance/FinancePlatformValidator.js +134 -0
  160. package/sdk/platform/Inventory/InventoryPlatformClient.d.ts +24 -12
  161. package/sdk/platform/Inventory/InventoryPlatformClient.js +94 -52
  162. package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +27 -13
  163. package/sdk/platform/Lead/LeadPlatformApplicationClient.js +101 -55
  164. package/sdk/platform/Lead/LeadPlatformClient.d.ts +50 -39
  165. package/sdk/platform/Lead/LeadPlatformClient.js +171 -112
  166. package/sdk/platform/Lead/LeadPlatformModel.d.ts +32 -390
  167. package/sdk/platform/Lead/LeadPlatformModel.js +31 -214
  168. package/sdk/platform/Lead/LeadPlatformValidator.d.ts +33 -33
  169. package/sdk/platform/Lead/LeadPlatformValidator.js +23 -23
  170. package/sdk/platform/OAuthClient.js +6 -2
  171. package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +4 -2
  172. package/sdk/platform/Order/OrderPlatformApplicationClient.js +12 -10
  173. package/sdk/platform/Order/OrderPlatformClient.d.ts +165 -71
  174. package/sdk/platform/Order/OrderPlatformClient.js +738 -205
  175. package/sdk/platform/Order/OrderPlatformModel.d.ts +261 -3
  176. package/sdk/platform/Order/OrderPlatformModel.js +225 -2
  177. package/sdk/platform/Order/OrderPlatformValidator.d.ts +104 -3
  178. package/sdk/platform/Order/OrderPlatformValidator.js +85 -2
  179. package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +4 -22
  180. package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +12 -159
  181. package/sdk/platform/Partner/PartnerPlatformApplicationValidator.d.ts +1 -30
  182. package/sdk/platform/Partner/PartnerPlatformApplicationValidator.js +0 -26
  183. package/sdk/platform/Partner/PartnerPlatformModel.d.ts +1 -690
  184. package/sdk/platform/Partner/PartnerPlatformModel.js +0 -809
  185. package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +167 -32
  186. package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +793 -145
  187. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +91 -1
  188. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +91 -0
  189. package/sdk/platform/Payment/PaymentPlatformClient.d.ts +20 -10
  190. package/sdk/platform/Payment/PaymentPlatformClient.js +68 -47
  191. package/sdk/platform/Payment/PaymentPlatformModel.d.ts +549 -7
  192. package/sdk/platform/Payment/PaymentPlatformModel.js +305 -6
  193. package/sdk/platform/PlatformAPIClient.d.ts +3 -3
  194. package/sdk/platform/PlatformAPIClient.js +2 -2
  195. package/sdk/platform/PlatformClient.d.ts +2 -2
  196. package/sdk/platform/PlatformClient.js +4 -4
  197. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +28 -12
  198. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +90 -53
  199. package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +1 -12
  200. package/sdk/platform/Rewards/RewardsPlatformModel.js +0 -14
  201. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +62 -26
  202. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +210 -93
  203. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +20 -11
  204. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +23 -11
  205. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +36 -18
  206. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +142 -78
  207. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +12 -3
  208. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +14 -2
  209. package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +10 -26
  210. package/sdk/platform/Share/SharePlatformApplicationClient.js +36 -67
  211. package/sdk/platform/Share/SharePlatformModel.d.ts +4 -4
  212. package/sdk/platform/Share/SharePlatformModel.js +4 -4
  213. package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +127 -57
  214. package/sdk/platform/Theme/ThemePlatformApplicationClient.js +564 -189
  215. package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +63 -26
  216. package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +62 -22
  217. package/sdk/platform/Theme/ThemePlatformClient.d.ts +37 -0
  218. package/sdk/platform/Theme/ThemePlatformClient.js +235 -0
  219. package/sdk/platform/Theme/ThemePlatformModel.d.ts +1167 -261
  220. package/sdk/platform/Theme/ThemePlatformModel.js +801 -244
  221. package/sdk/platform/Theme/ThemePlatformValidator.d.ts +32 -0
  222. package/sdk/platform/Theme/ThemePlatformValidator.js +38 -0
  223. package/sdk/platform/User/UserPlatformApplicationClient.d.ts +35 -17
  224. package/sdk/platform/User/UserPlatformApplicationClient.js +132 -73
  225. package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +7 -0
  226. package/sdk/platform/User/UserPlatformApplicationValidator.js +3 -0
  227. package/sdk/platform/User/UserPlatformModel.d.ts +1 -738
  228. package/sdk/platform/User/UserPlatformModel.js +3 -899
  229. package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +120 -7
  230. package/sdk/platform/Webhook/WebhookPlatformClient.js +799 -41
  231. package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +476 -86
  232. package/sdk/platform/Webhook/WebhookPlatformModel.js +388 -89
  233. package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +96 -9
  234. package/sdk/platform/Webhook/WebhookPlatformValidator.js +117 -5
  235. package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +5 -3
  236. package/sdk/public/Configuration/ConfigurationPublicClient.js +13 -11
  237. package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +3 -106
  238. package/sdk/public/Configuration/ConfigurationPublicModel.js +2 -59
  239. package/sdk/public/Inventory/InventoryPublicClient.d.ts +12 -6
  240. package/sdk/public/Inventory/InventoryPublicClient.js +42 -27
  241. package/sdk/public/Partner/PartnerPublicClient.d.ts +22 -0
  242. package/sdk/public/Partner/PartnerPublicClient.js +110 -0
  243. package/sdk/public/Partner/PartnerPublicModel.d.ts +240 -0
  244. package/sdk/public/Partner/PartnerPublicModel.js +280 -0
  245. package/sdk/public/Partner/PartnerPublicValidator.d.ts +18 -0
  246. package/sdk/public/Partner/PartnerPublicValidator.js +19 -0
  247. package/sdk/public/PublicAPIClient.d.ts +14 -1
  248. package/sdk/public/PublicAPIClient.js +7 -1
  249. package/sdk/public/PublicClient.d.ts +2 -0
  250. package/sdk/public/PublicClient.js +4 -0
  251. package/sdk/public/Webhook/WebhookPublicClient.d.ts +5 -2
  252. package/sdk/public/Webhook/WebhookPublicClient.js +15 -9
  253. package/sdk/public/Webhook/WebhookPublicModel.d.ts +1 -191
  254. package/sdk/public/Webhook/WebhookPublicModel.js +0 -229
  255. package/sdk/public/index.d.ts +1 -0
  256. package/sdk/public/index.js +2 -0
  257. package/sdk/application/ApplicationModels.d.ts +0 -48
  258. package/sdk/application/ApplicationModels.js +0 -38
  259. package/sdk/platform/Partner/PartnerPlatformClient.d.ts +0 -106
  260. package/sdk/platform/Partner/PartnerPlatformClient.js +0 -878
  261. package/sdk/platform/Partner/PartnerPlatformValidator.d.ts +0 -208
  262. package/sdk/platform/Partner/PartnerPlatformValidator.js +0 -169
@@ -9,8 +9,8 @@ export = ServiceabilityPlatformApplicationValidator;
9
9
  * identifier of a particular delivery partner.
10
10
  */
11
11
  /** @typedef GetApplicationServiceabilityParam */
12
- /** @typedef GetApplicationServiceabilitySelfShipmentParam */
13
12
  /** @typedef GetDpApplicationRulesParam */
13
+ /** @typedef GetSelfShipParam */
14
14
  /**
15
15
  * @typedef GetZoneFromPincodeViewParam
16
16
  * @property {ServiceabilityPlatformModel.GetZoneFromPincodeViewRequest} body
@@ -23,8 +23,8 @@ export = ServiceabilityPlatformApplicationValidator;
23
23
  * @property {string} [q] - Search with name as a free text
24
24
  */
25
25
  /**
26
- * @typedef PatchApplicationServiceabilitySelfShipmentParam
27
- * @property {ServiceabilityPlatformModel.SelfShipResponse} body
26
+ * @typedef UpdateApplicationServiceabilityParam
27
+ * @property {ServiceabilityPlatformModel.ServiceabilityPayloadSchema} body
28
28
  */
29
29
  /**
30
30
  * @typedef UpdatePincodeAuditHistoryParam
@@ -42,6 +42,10 @@ export = ServiceabilityPlatformApplicationValidator;
42
42
  * @typedef UpdatePincodeMopViewParam
43
43
  * @property {ServiceabilityPlatformModel.PincodeMopData} body
44
44
  */
45
+ /**
46
+ * @typedef UpdateSelfShipParam
47
+ * @property {ServiceabilityPlatformModel.SelfShipResponse} body
48
+ */
45
49
  /**
46
50
  * @typedef UpsertDpApplicationRulesParam
47
51
  * @property {ServiceabilityPlatformModel.DPApplicationRuleRequest} body
@@ -53,16 +57,16 @@ declare class ServiceabilityPlatformApplicationValidator {
53
57
  static deleteAppDp(): DeleteAppDpParam;
54
58
  /** @returns {GetApplicationServiceabilityParam} */
55
59
  static getApplicationServiceability(): any;
56
- /** @returns {GetApplicationServiceabilitySelfShipmentParam} */
57
- static getApplicationServiceabilitySelfShipment(): any;
58
60
  /** @returns {GetDpApplicationRulesParam} */
59
61
  static getDpApplicationRules(): any;
62
+ /** @returns {GetSelfShipParam} */
63
+ static getSelfShip(): any;
60
64
  /** @returns {GetZoneFromPincodeViewParam} */
61
65
  static getZoneFromPincodeView(): GetZoneFromPincodeViewParam;
62
66
  /** @returns {GetZonesFromApplicationIdViewParam} */
63
67
  static getZonesFromApplicationIdView(): GetZonesFromApplicationIdViewParam;
64
- /** @returns {PatchApplicationServiceabilitySelfShipmentParam} */
65
- static patchApplicationServiceabilitySelfShipment(): PatchApplicationServiceabilitySelfShipmentParam;
68
+ /** @returns {UpdateApplicationServiceabilityParam} */
69
+ static updateApplicationServiceability(): UpdateApplicationServiceabilityParam;
66
70
  /** @returns {UpdatePincodeAuditHistoryParam} */
67
71
  static updatePincodeAuditHistory(): UpdatePincodeAuditHistoryParam;
68
72
  /** @returns {UpdatePincodeBulkViewParam} */
@@ -71,11 +75,13 @@ declare class ServiceabilityPlatformApplicationValidator {
71
75
  static updatePincodeCoDListing(): UpdatePincodeCoDListingParam;
72
76
  /** @returns {UpdatePincodeMopViewParam} */
73
77
  static updatePincodeMopView(): UpdatePincodeMopViewParam;
78
+ /** @returns {UpdateSelfShipParam} */
79
+ static updateSelfShip(): UpdateSelfShipParam;
74
80
  /** @returns {UpsertDpApplicationRulesParam} */
75
81
  static upsertDpApplicationRules(): UpsertDpApplicationRulesParam;
76
82
  }
77
83
  declare namespace ServiceabilityPlatformApplicationValidator {
78
- export { AddAppDpParam, DeleteAppDpParam, GetApplicationServiceabilityParam, GetApplicationServiceabilitySelfShipmentParam, GetDpApplicationRulesParam, GetZoneFromPincodeViewParam, GetZonesFromApplicationIdViewParam, PatchApplicationServiceabilitySelfShipmentParam, UpdatePincodeAuditHistoryParam, UpdatePincodeBulkViewParam, UpdatePincodeCoDListingParam, UpdatePincodeMopViewParam, UpsertDpApplicationRulesParam };
84
+ export { AddAppDpParam, DeleteAppDpParam, GetApplicationServiceabilityParam, GetDpApplicationRulesParam, GetSelfShipParam, GetZoneFromPincodeViewParam, GetZonesFromApplicationIdViewParam, UpdateApplicationServiceabilityParam, UpdatePincodeAuditHistoryParam, UpdatePincodeBulkViewParam, UpdatePincodeCoDListingParam, UpdatePincodeMopViewParam, UpdateSelfShipParam, UpsertDpApplicationRulesParam };
79
85
  }
80
86
  type AddAppDpParam = {
81
87
  body: ServiceabilityPlatformModel.ApplicationCompanyDpViewRequest;
@@ -108,8 +114,8 @@ type GetZonesFromApplicationIdViewParam = {
108
114
  */
109
115
  q?: string;
110
116
  };
111
- type PatchApplicationServiceabilitySelfShipmentParam = {
112
- body: ServiceabilityPlatformModel.SelfShipResponse;
117
+ type UpdateApplicationServiceabilityParam = {
118
+ body: ServiceabilityPlatformModel.ServiceabilityPayloadSchema;
113
119
  };
114
120
  type UpdatePincodeAuditHistoryParam = {
115
121
  body: ServiceabilityPlatformModel.PincodeMopUpdateAuditHistoryRequest;
@@ -123,10 +129,13 @@ type UpdatePincodeCoDListingParam = {
123
129
  type UpdatePincodeMopViewParam = {
124
130
  body: ServiceabilityPlatformModel.PincodeMopData;
125
131
  };
132
+ type UpdateSelfShipParam = {
133
+ body: ServiceabilityPlatformModel.SelfShipResponse;
134
+ };
126
135
  type UpsertDpApplicationRulesParam = {
127
136
  body: ServiceabilityPlatformModel.DPApplicationRuleRequest;
128
137
  };
129
138
  type GetApplicationServiceabilityParam = any;
130
- type GetApplicationServiceabilitySelfShipmentParam = any;
131
139
  type GetDpApplicationRulesParam = any;
140
+ type GetSelfShipParam = any;
132
141
  import ServiceabilityPlatformModel = require("./ServiceabilityPlatformModel");
@@ -15,10 +15,10 @@ const ServiceabilityPlatformModel = require("./ServiceabilityPlatformModel");
15
15
 
16
16
  /** @typedef GetApplicationServiceabilityParam */
17
17
 
18
- /** @typedef GetApplicationServiceabilitySelfShipmentParam */
19
-
20
18
  /** @typedef GetDpApplicationRulesParam */
21
19
 
20
+ /** @typedef GetSelfShipParam */
21
+
22
22
  /**
23
23
  * @typedef GetZoneFromPincodeViewParam
24
24
  * @property {ServiceabilityPlatformModel.GetZoneFromPincodeViewRequest} body
@@ -33,8 +33,8 @@ const ServiceabilityPlatformModel = require("./ServiceabilityPlatformModel");
33
33
  */
34
34
 
35
35
  /**
36
- * @typedef PatchApplicationServiceabilitySelfShipmentParam
37
- * @property {ServiceabilityPlatformModel.SelfShipResponse} body
36
+ * @typedef UpdateApplicationServiceabilityParam
37
+ * @property {ServiceabilityPlatformModel.ServiceabilityPayloadSchema} body
38
38
  */
39
39
 
40
40
  /**
@@ -57,6 +57,11 @@ const ServiceabilityPlatformModel = require("./ServiceabilityPlatformModel");
57
57
  * @property {ServiceabilityPlatformModel.PincodeMopData} body
58
58
  */
59
59
 
60
+ /**
61
+ * @typedef UpdateSelfShipParam
62
+ * @property {ServiceabilityPlatformModel.SelfShipResponse} body
63
+ */
64
+
60
65
  /**
61
66
  * @typedef UpsertDpApplicationRulesParam
62
67
  * @property {ServiceabilityPlatformModel.DPApplicationRuleRequest} body
@@ -82,13 +87,13 @@ class ServiceabilityPlatformApplicationValidator {
82
87
  return Joi.object({}).required();
83
88
  }
84
89
 
85
- /** @returns {GetApplicationServiceabilitySelfShipmentParam} */
86
- static getApplicationServiceabilitySelfShipment() {
90
+ /** @returns {GetDpApplicationRulesParam} */
91
+ static getDpApplicationRules() {
87
92
  return Joi.object({}).required();
88
93
  }
89
94
 
90
- /** @returns {GetDpApplicationRulesParam} */
91
- static getDpApplicationRules() {
95
+ /** @returns {GetSelfShipParam} */
96
+ static getSelfShip() {
92
97
  return Joi.object({}).required();
93
98
  }
94
99
 
@@ -109,10 +114,10 @@ class ServiceabilityPlatformApplicationValidator {
109
114
  }).required();
110
115
  }
111
116
 
112
- /** @returns {PatchApplicationServiceabilitySelfShipmentParam} */
113
- static patchApplicationServiceabilitySelfShipment() {
117
+ /** @returns {UpdateApplicationServiceabilityParam} */
118
+ static updateApplicationServiceability() {
114
119
  return Joi.object({
115
- body: ServiceabilityPlatformModel.SelfShipResponse().required(),
120
+ body: ServiceabilityPlatformModel.ServiceabilityPayloadSchema().required(),
116
121
  }).required();
117
122
  }
118
123
 
@@ -144,6 +149,13 @@ class ServiceabilityPlatformApplicationValidator {
144
149
  }).required();
145
150
  }
146
151
 
152
+ /** @returns {UpdateSelfShipParam} */
153
+ static updateSelfShip() {
154
+ return Joi.object({
155
+ body: ServiceabilityPlatformModel.SelfShipResponse().required(),
156
+ }).required();
157
+ }
158
+
147
159
  /** @returns {UpsertDpApplicationRulesParam} */
148
160
  static upsertDpApplicationRules() {
149
161
  return Joi.object({
@@ -4,15 +4,17 @@ declare class Serviceability {
4
4
  config: any;
5
5
  /**
6
6
  * @param {ServiceabilityPlatformValidator.CreateZoneParam} arg - Arg object
7
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
7
8
  * @param {import("../PlatformAPIClient").Options} - Options
8
9
  * @returns {Promise<ServiceabilityPlatformModel.ZoneResponse>} - Success response
9
10
  * @name createZone
10
11
  * @summary: Creation of a new zone
11
12
  * @description: This API allows you to create a new zone with the specified information. A zone enables serviceability based on given pincodes or regions. By creating a zone and including specific pincodes or regions, you can ensure that the stores associated with the zone are serviceable for those added pincodes or regions. This functionality is particularly useful when you need to ensure serviceability for multiple pincodes or regions by grouping them into a single zone. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/createZone/).
12
13
  */
13
- createZone({ body }?: ServiceabilityPlatformValidator.CreateZoneParam, { headers }?: import("../PlatformAPIClient").Options): Promise<ServiceabilityPlatformModel.ZoneResponse>;
14
+ createZone({ body, requestHeaders }?: ServiceabilityPlatformValidator.CreateZoneParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.ZoneResponse>;
14
15
  /**
15
16
  * @param {ServiceabilityPlatformValidator.GetAllStoresParam} arg - Arg object
17
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
16
18
  * @param {import("../PlatformAPIClient").Options} - Options
17
19
  * @returns {Promise<ServiceabilityPlatformModel.GetStoresViewResponse>} -
18
20
  * Success response
@@ -20,9 +22,10 @@ declare class Serviceability {
20
22
  * @summary: GET stores data
21
23
  * @description: This API returns stores data. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/getAllStores/).
22
24
  */
23
- getAllStores({ headers }?: any): Promise<ServiceabilityPlatformModel.GetStoresViewResponse>;
25
+ getAllStores({ requestHeaders }?: any, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.GetStoresViewResponse>;
24
26
  /**
25
27
  * @param {ServiceabilityPlatformValidator.GetCompanyStoreViewParam} arg - Arg object
28
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
26
29
  * @param {import("../PlatformAPIClient").Options} - Options
27
30
  * @returns {Promise<ServiceabilityPlatformModel.CompanyStoreView_Response>}
28
31
  * - Success response
@@ -31,9 +34,10 @@ declare class Serviceability {
31
34
  * @summary: Company Store View of application.
32
35
  * @description: This API returns Company Store View of the application. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/getCompanyStoreView/).
33
36
  */
34
- getCompanyStoreView({ pageNumber, pageSize }?: ServiceabilityPlatformValidator.GetCompanyStoreViewParam, { headers }?: import("../PlatformAPIClient").Options): Promise<ServiceabilityPlatformModel.CompanyStoreView_Response>;
37
+ getCompanyStoreView({ pageNumber, pageSize, requestHeaders }?: ServiceabilityPlatformValidator.GetCompanyStoreViewParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.CompanyStoreView_Response>;
35
38
  /**
36
39
  * @param {ServiceabilityPlatformValidator.GetDpAccountParam} arg - Arg object
40
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
37
41
  * @param {import("../PlatformAPIClient").Options} - Options
38
42
  * @returns {Promise<ServiceabilityPlatformModel.CompanyDpAccountListResponse>}
39
43
  * - Success response
@@ -42,9 +46,10 @@ declare class Serviceability {
42
46
  * @summary: Getting DpAccount of a company from database.
43
47
  * @description: This API returns response DpAccount of a company from mongo database. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/getDpAccount/).
44
48
  */
45
- getDpAccount({ pageNumber, pageSize, stage, paymentMode, transportType }?: ServiceabilityPlatformValidator.GetDpAccountParam, { headers }?: import("../PlatformAPIClient").Options): Promise<ServiceabilityPlatformModel.CompanyDpAccountListResponse>;
49
+ getDpAccount({ pageNumber, pageSize, stage, paymentMode, transportType, requestHeaders, }?: ServiceabilityPlatformValidator.GetDpAccountParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.CompanyDpAccountListResponse>;
46
50
  /**
47
51
  * @param {ServiceabilityPlatformValidator.GetDpCompanyRulesParam} arg - Arg object
52
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
48
53
  * @param {import("../PlatformAPIClient").Options} - Options
49
54
  * @returns {Promise<ServiceabilityPlatformModel.DPCompanyRuleResponse>} -
50
55
  * Success response
@@ -52,9 +57,10 @@ declare class Serviceability {
52
57
  * @summary: Get All DpCompanyRules applied to company from database.
53
58
  * @description: This API returns response of all DpCompanyRules from mongo database. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/getDpCompanyRules/).
54
59
  */
55
- getDpCompanyRules({ headers }?: any): Promise<ServiceabilityPlatformModel.DPCompanyRuleResponse>;
60
+ getDpCompanyRules({ requestHeaders }?: any, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.DPCompanyRuleResponse>;
56
61
  /**
57
62
  * @param {ServiceabilityPlatformValidator.GetDpRuleInsertParam} arg - Arg object
63
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
58
64
  * @param {import("../PlatformAPIClient").Options} - Options
59
65
  * @returns {Promise<ServiceabilityPlatformModel.DpMultipleRuleSuccessResponse>}
60
66
  * - Success response
@@ -63,9 +69,10 @@ declare class Serviceability {
63
69
  * @summary: Fetching of DpRules from database.
64
70
  * @description: This API returns response of DpRules from mongo database. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/getDpRuleInsert/).
65
71
  */
66
- getDpRuleInsert({ pageNumber, pageSize }?: ServiceabilityPlatformValidator.GetDpRuleInsertParam, { headers }?: import("../PlatformAPIClient").Options): Promise<ServiceabilityPlatformModel.DpMultipleRuleSuccessResponse>;
72
+ getDpRuleInsert({ pageNumber, pageSize, requestHeaders }?: ServiceabilityPlatformValidator.GetDpRuleInsertParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.DpMultipleRuleSuccessResponse>;
67
73
  /**
68
74
  * @param {ServiceabilityPlatformValidator.GetDpRulesParam} arg - Arg object
75
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
69
76
  * @param {import("../PlatformAPIClient").Options} - Options
70
77
  * @returns {Promise<ServiceabilityPlatformModel.DpRuleSuccessResponse>} -
71
78
  * Success response
@@ -73,9 +80,10 @@ declare class Serviceability {
73
80
  * @summary: Fetching of DpRules from database.
74
81
  * @description: This API returns response of DpRules from mongo database. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/getDpRules/).
75
82
  */
76
- getDpRules({ ruleUid }?: ServiceabilityPlatformValidator.GetDpRulesParam, { headers }?: import("../PlatformAPIClient").Options): Promise<ServiceabilityPlatformModel.DpRuleSuccessResponse>;
83
+ getDpRules({ ruleUid, requestHeaders }?: ServiceabilityPlatformValidator.GetDpRulesParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.DpRuleSuccessResponse>;
77
84
  /**
78
85
  * @param {ServiceabilityPlatformValidator.GetEntityRegionViewParam} arg - Arg object
86
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
79
87
  * @param {import("../PlatformAPIClient").Options} - Options
80
88
  * @returns {Promise<ServiceabilityPlatformModel.EntityRegionView_Response>}
81
89
  * - Success response
@@ -84,18 +92,20 @@ declare class Serviceability {
84
92
  * @summary: Get country and state list
85
93
  * @description: This API returns response for Entity Region View. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/getEntityRegionView/).
86
94
  */
87
- getEntityRegionView({ body }?: ServiceabilityPlatformValidator.GetEntityRegionViewParam, { headers }?: import("../PlatformAPIClient").Options): Promise<ServiceabilityPlatformModel.EntityRegionView_Response>;
95
+ getEntityRegionView({ body, requestHeaders }?: ServiceabilityPlatformValidator.GetEntityRegionViewParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.EntityRegionView_Response>;
88
96
  /**
89
97
  * @param {ServiceabilityPlatformValidator.GetListViewParam} arg - Arg object
98
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
90
99
  * @param {import("../PlatformAPIClient").Options} - Options
91
100
  * @returns {Promise<ServiceabilityPlatformModel.ListViewResponse>} - Success response
92
101
  * @name getListView
93
102
  * @summary: Zone List of application.
94
103
  * @description: This API returns Zone List View of the application. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/getListView/).
95
104
  */
96
- getListView({ pageNumber, pageSize, name, isActive, channelIds, q }?: ServiceabilityPlatformValidator.GetListViewParam, { headers }?: import("../PlatformAPIClient").Options): Promise<ServiceabilityPlatformModel.ListViewResponse>;
105
+ getListView({ pageNumber, pageSize, name, isActive, channelIds, q, requestHeaders }?: ServiceabilityPlatformValidator.GetListViewParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.ListViewResponse>;
97
106
  /**
98
107
  * @param {ServiceabilityPlatformValidator.GetOptimalLocationsParam} arg - Arg object
108
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
99
109
  * @param {import("../PlatformAPIClient").Options} - Options
100
110
  * @returns {Promise<ServiceabilityPlatformModel.ReAssignStoreResponse>} -
101
111
  * Success response
@@ -103,9 +113,10 @@ declare class Serviceability {
103
113
  * @summary: Get serviceable store of the item
104
114
  * @description: This API returns serviceable store of the item. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/getOptimalLocations/).
105
115
  */
106
- getOptimalLocations({ body }?: ServiceabilityPlatformValidator.GetOptimalLocationsParam, { headers }?: import("../PlatformAPIClient").Options): Promise<ServiceabilityPlatformModel.ReAssignStoreResponse>;
116
+ getOptimalLocations({ body, requestHeaders }?: ServiceabilityPlatformValidator.GetOptimalLocationsParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.ReAssignStoreResponse>;
107
117
  /**
108
118
  * @param {ServiceabilityPlatformValidator.GetStoreParam} arg - Arg object
119
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
109
120
  * @param {import("../PlatformAPIClient").Options} - Options
110
121
  * @returns {Promise<ServiceabilityPlatformModel.GetStoresViewResponse>} -
111
122
  * Success response
@@ -113,9 +124,10 @@ declare class Serviceability {
113
124
  * @summary: GET stores data
114
125
  * @description: This API returns stores data. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/getStore/).
115
126
  */
116
- getStore({ storeUid }?: ServiceabilityPlatformValidator.GetStoreParam, { headers }?: import("../PlatformAPIClient").Options): Promise<ServiceabilityPlatformModel.GetStoresViewResponse>;
127
+ getStore({ storeUid, requestHeaders }?: ServiceabilityPlatformValidator.GetStoreParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.GetStoresViewResponse>;
117
128
  /**
118
129
  * @param {ServiceabilityPlatformValidator.GetZoneDataViewParam} arg - Arg object
130
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
119
131
  * @param {import("../PlatformAPIClient").Options} - Options
120
132
  * @returns {Promise<ServiceabilityPlatformModel.GetSingleZoneDataViewResponse>}
121
133
  * - Success response
@@ -124,18 +136,20 @@ declare class Serviceability {
124
136
  * @summary: Zone Data View of application.
125
137
  * @description: This API returns Zone Data View of the application. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/getZoneDataView/).
126
138
  */
127
- getZoneDataView({ zoneId }?: ServiceabilityPlatformValidator.GetZoneDataViewParam, { headers }?: import("../PlatformAPIClient").Options): Promise<ServiceabilityPlatformModel.GetSingleZoneDataViewResponse>;
139
+ getZoneDataView({ zoneId, requestHeaders }?: ServiceabilityPlatformValidator.GetZoneDataViewParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.GetSingleZoneDataViewResponse>;
128
140
  /**
129
141
  * @param {ServiceabilityPlatformValidator.GetZoneListViewParam} arg - Arg object
142
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
130
143
  * @param {import("../PlatformAPIClient").Options} - Options
131
144
  * @returns {Promise<ServiceabilityPlatformModel.ListViewResponse>} - Success response
132
145
  * @name getZoneListView
133
146
  * @summary: Zone List of application.
134
147
  * @description: This API returns Zone List View of the application. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/getZoneListView/).
135
148
  */
136
- getZoneListView({ pageNumber, pageNo, pageSize, name, isActive, channelIds, q, zoneId, }?: ServiceabilityPlatformValidator.GetZoneListViewParam, { headers }?: import("../PlatformAPIClient").Options): Promise<ServiceabilityPlatformModel.ListViewResponse>;
149
+ getZoneListView({ pageNumber, pageNo, pageSize, name, isActive, channelIds, q, zoneId, requestHeaders, }?: ServiceabilityPlatformValidator.GetZoneListViewParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.ListViewResponse>;
137
150
  /**
138
151
  * @param {ServiceabilityPlatformValidator.UpdateDpRuleParam} arg - Arg object
152
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
139
153
  * @param {import("../PlatformAPIClient").Options} - Options
140
154
  * @returns {Promise<ServiceabilityPlatformModel.DpRuleUpdateSuccessResponse>}
141
155
  * - Success response
@@ -144,11 +158,12 @@ declare class Serviceability {
144
158
  * @summary: Updating of DpRules from database.
145
159
  * @description: This API updates and returns response of DpRules from mongo database. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/updateDpRule/).
146
160
  */
147
- updateDpRule({ ruleUid, body }?: ServiceabilityPlatformValidator.UpdateDpRuleParam, { headers }?: import("../PlatformAPIClient").Options): Promise<ServiceabilityPlatformModel.DpRuleUpdateSuccessResponse>;
161
+ updateDpRule({ ruleUid, body, requestHeaders }?: ServiceabilityPlatformValidator.UpdateDpRuleParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.DpRuleUpdateSuccessResponse>;
148
162
  /**
149
163
  * @param {ServiceabilityPlatformValidator.UpdateZoneControllerViewParam} arg
150
164
  * - Arg object
151
165
  *
166
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
152
167
  * @param {import("../PlatformAPIClient").Options} - Options
153
168
  * @returns {Promise<ServiceabilityPlatformModel.ZoneSuccessResponse>} -
154
169
  * Success response
@@ -156,9 +171,10 @@ declare class Serviceability {
156
171
  * @summary: Updation of zone collections in database.
157
172
  * @description: This API returns response of updation of zone in mongo database. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/updateZoneControllerView/).
158
173
  */
159
- updateZoneControllerView({ zoneId, body }?: ServiceabilityPlatformValidator.UpdateZoneControllerViewParam, { headers }?: import("../PlatformAPIClient").Options): Promise<ServiceabilityPlatformModel.ZoneSuccessResponse>;
174
+ updateZoneControllerView({ zoneId, body, requestHeaders }?: ServiceabilityPlatformValidator.UpdateZoneControllerViewParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.ZoneSuccessResponse>;
160
175
  /**
161
176
  * @param {ServiceabilityPlatformValidator.UpsertDpAccountParam} arg - Arg object
177
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
162
178
  * @param {import("../PlatformAPIClient").Options} - Options
163
179
  * @returns {Promise<ServiceabilityPlatformModel.CompanyDpAccountResponse>}
164
180
  * - Success response
@@ -167,9 +183,10 @@ declare class Serviceability {
167
183
  * @summary: Upsertion of DpAccount in database.
168
184
  * @description: This API returns response of upsertion of DpAccount in mongo database. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/upsertDpAccount/).
169
185
  */
170
- upsertDpAccount({ body }?: ServiceabilityPlatformValidator.UpsertDpAccountParam, { headers }?: import("../PlatformAPIClient").Options): Promise<ServiceabilityPlatformModel.CompanyDpAccountResponse>;
186
+ upsertDpAccount({ body, requestHeaders }?: ServiceabilityPlatformValidator.UpsertDpAccountParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.CompanyDpAccountResponse>;
171
187
  /**
172
188
  * @param {ServiceabilityPlatformValidator.UpsertDpCompanyRulesParam} arg - Arg object
189
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
173
190
  * @param {import("../PlatformAPIClient").Options} - Options
174
191
  * @returns {Promise<ServiceabilityPlatformModel.DPCompanyRuleResponse>} -
175
192
  * Success response
@@ -177,9 +194,10 @@ declare class Serviceability {
177
194
  * @summary: Upsert of DpCompanyRules in database.
178
195
  * @description: This API returns response of upsert of DpCompanyRules in mongo database. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/upsertDpCompanyRules/).
179
196
  */
180
- upsertDpCompanyRules({ body }?: ServiceabilityPlatformValidator.UpsertDpCompanyRulesParam, { headers }?: import("../PlatformAPIClient").Options): Promise<ServiceabilityPlatformModel.DPCompanyRuleResponse>;
197
+ upsertDpCompanyRules({ body, requestHeaders }?: ServiceabilityPlatformValidator.UpsertDpCompanyRulesParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.DPCompanyRuleResponse>;
181
198
  /**
182
199
  * @param {ServiceabilityPlatformValidator.UpsertDpRulesParam} arg - Arg object
200
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
183
201
  * @param {import("../PlatformAPIClient").Options} - Options
184
202
  * @returns {Promise<ServiceabilityPlatformModel.DpRuleSuccessResponse>} -
185
203
  * Success response
@@ -187,7 +205,7 @@ declare class Serviceability {
187
205
  * @summary: Upsert of DpRules in database.
188
206
  * @description: This API returns response of upsert of DpRules in mongo database. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/serviceability/upsertDpRules/).
189
207
  */
190
- upsertDpRules({ body }?: ServiceabilityPlatformValidator.UpsertDpRulesParam, { headers }?: import("../PlatformAPIClient").Options): Promise<ServiceabilityPlatformModel.DpRuleSuccessResponse>;
208
+ upsertDpRules({ body, requestHeaders }?: ServiceabilityPlatformValidator.UpsertDpRulesParam, { responseHeaders }?: object): Promise<ServiceabilityPlatformModel.DpRuleSuccessResponse>;
191
209
  }
192
210
  import ServiceabilityPlatformValidator = require("./ServiceabilityPlatformValidator");
193
211
  import ServiceabilityPlatformModel = require("./ServiceabilityPlatformModel");