@gofynd/fdk-client-javascript 1.6.3 → 3.0.0-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 (298) hide show
  1. package/README.md +1 -1
  2. package/package.json +1 -1
  3. package/sdk/application/ApplicationClient.d.ts +0 -2
  4. package/sdk/application/ApplicationClient.js +0 -2
  5. package/sdk/application/Cart/CartApplicationClient.d.ts +113 -93
  6. package/sdk/application/Cart/CartApplicationClient.js +270 -139
  7. package/sdk/application/Catalog/CatalogApplicationClient.d.ts +110 -110
  8. package/sdk/application/Catalog/CatalogApplicationClient.js +122 -138
  9. package/sdk/application/Common/CommonApplicationClient.d.ts +4 -4
  10. package/sdk/application/Common/CommonApplicationClient.js +3 -3
  11. package/sdk/application/Communication/CommunicationApplicationClient.d.ts +43 -3
  12. package/sdk/application/Communication/CommunicationApplicationClient.js +190 -3
  13. package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +71 -36
  14. package/sdk/application/Configuration/ConfigurationApplicationClient.js +103 -29
  15. package/sdk/application/Content/ContentApplicationClient.d.ts +51 -21
  16. package/sdk/application/Content/ContentApplicationClient.js +197 -36
  17. package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +6 -6
  18. package/sdk/application/FileStorage/FileStorageApplicationClient.js +3 -3
  19. package/sdk/application/Lead/LeadApplicationClient.d.ts +3 -3
  20. package/sdk/application/Lead/LeadApplicationClient.js +3 -3
  21. package/sdk/application/Logistic/LogisticApplicationClient.d.ts +79 -64
  22. package/sdk/application/Logistic/LogisticApplicationClient.js +246 -264
  23. package/sdk/application/Order/OrderApplicationClient.d.ts +44 -24
  24. package/sdk/application/Order/OrderApplicationClient.js +140 -21
  25. package/sdk/application/Payment/PaymentApplicationClient.d.ts +211 -111
  26. package/sdk/application/Payment/PaymentApplicationClient.js +610 -109
  27. package/sdk/application/Rewards/RewardsApplicationClient.d.ts +13 -13
  28. package/sdk/application/Rewards/RewardsApplicationClient.js +7 -7
  29. package/sdk/application/Share/ShareApplicationClient.d.ts +7 -7
  30. package/sdk/application/Share/ShareApplicationClient.js +14 -14
  31. package/sdk/application/Theme/ThemeApplicationClient.d.ts +23 -3
  32. package/sdk/application/Theme/ThemeApplicationClient.js +103 -5
  33. package/sdk/application/User/UserApplicationClient.d.ts +13 -23
  34. package/sdk/application/User/UserApplicationClient.js +9 -57
  35. package/sdk/application/Webhook/WebhookApplicationClient.d.ts +4 -4
  36. package/sdk/application/Webhook/WebhookApplicationClient.js +3 -3
  37. package/sdk/partner/Authorization/AuthorizationPartnerClient.d.ts +66 -0
  38. package/sdk/partner/Authorization/AuthorizationPartnerClient.js +431 -0
  39. package/sdk/partner/Authorization/AuthorizationPartnerModel.d.ts +231 -0
  40. package/sdk/partner/Authorization/AuthorizationPartnerModel.js +152 -0
  41. package/sdk/partner/Authorization/AuthorizationPartnerValidator.d.ts +8 -0
  42. package/sdk/partner/Authorization/AuthorizationPartnerValidator.js +39 -0
  43. package/sdk/partner/Catalog/CatalogPartnerClient.d.ts +26 -0
  44. package/sdk/partner/Catalog/CatalogPartnerClient.js +173 -0
  45. package/sdk/partner/Catalog/CatalogPartnerModel.d.ts +238 -0
  46. package/sdk/partner/Catalog/CatalogPartnerModel.js +248 -0
  47. package/sdk/partner/Catalog/CatalogPartnerValidator.d.ts +5 -0
  48. package/sdk/partner/Catalog/CatalogPartnerValidator.js +19 -0
  49. package/sdk/partner/FileStorage/FileStoragePartnerClient.d.ts +12 -22
  50. package/sdk/partner/FileStorage/FileStoragePartnerClient.js +12 -87
  51. package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +33 -99
  52. package/sdk/partner/FileStorage/FileStoragePartnerModel.js +25 -84
  53. package/sdk/partner/FileStorage/FileStoragePartnerValidator.d.ts +0 -1
  54. package/sdk/partner/FileStorage/FileStoragePartnerValidator.js +4 -10
  55. package/sdk/partner/Lead/LeadPartnerClient.d.ts +5 -5
  56. package/sdk/partner/Lead/LeadPartnerClient.js +4 -4
  57. package/sdk/partner/Lead/LeadPartnerModel.d.ts +100 -49
  58. package/sdk/partner/Lead/LeadPartnerModel.js +100 -74
  59. package/sdk/partner/Lead/LeadPartnerValidator.js +1 -1
  60. package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +33 -160
  61. package/sdk/partner/Logistics/LogisticsPartnerClient.js +66 -1180
  62. package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +288 -1685
  63. package/sdk/partner/Logistics/LogisticsPartnerModel.js +226 -824
  64. package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +1 -13
  65. package/sdk/partner/Logistics/LogisticsPartnerValidator.js +14 -141
  66. package/sdk/partner/PartnerClient.d.ts +6 -0
  67. package/sdk/partner/PartnerClient.js +9 -0
  68. package/sdk/partner/Payment/PaymentPartnerClient.d.ts +116 -0
  69. package/sdk/partner/Payment/PaymentPartnerClient.js +857 -0
  70. package/sdk/partner/Payment/PaymentPartnerModel.d.ts +388 -0
  71. package/sdk/partner/Payment/PaymentPartnerModel.js +442 -0
  72. package/sdk/partner/Payment/PaymentPartnerValidator.d.ts +14 -0
  73. package/sdk/partner/Payment/PaymentPartnerValidator.js +74 -0
  74. package/sdk/partner/Theme/ThemePartnerClient.d.ts +63 -21
  75. package/sdk/partner/Theme/ThemePartnerClient.js +396 -71
  76. package/sdk/partner/Theme/ThemePartnerModel.d.ts +104 -72
  77. package/sdk/partner/Theme/ThemePartnerModel.js +101 -75
  78. package/sdk/partner/Theme/ThemePartnerValidator.d.ts +5 -1
  79. package/sdk/partner/Theme/ThemePartnerValidator.js +42 -12
  80. package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +18 -18
  81. package/sdk/partner/Webhook/WebhookPartnerClient.js +18 -18
  82. package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +191 -612
  83. package/sdk/partner/Webhook/WebhookPartnerModel.js +159 -234
  84. package/sdk/partner/Webhook/WebhookPartnerValidator.js +3 -3
  85. package/sdk/partner/index.d.ts +3 -0
  86. package/sdk/partner/index.js +6 -0
  87. package/sdk/platform/Analytics/AnalyticsPlatformApplicationValidator.d.ts +1 -4
  88. package/sdk/platform/Analytics/AnalyticsPlatformApplicationValidator.js +1 -1
  89. package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +5 -0
  90. package/sdk/platform/Analytics/AnalyticsPlatformModel.js +3 -1
  91. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +32 -2
  92. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +243 -3
  93. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +145 -49
  94. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +171 -20
  95. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +39 -1
  96. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +35 -0
  97. package/sdk/platform/Billing/BillingPlatformClient.d.ts +406 -15
  98. package/sdk/platform/Billing/BillingPlatformClient.js +3214 -76
  99. package/sdk/platform/Billing/BillingPlatformModel.d.ts +3798 -459
  100. package/sdk/platform/Billing/BillingPlatformModel.js +2577 -342
  101. package/sdk/platform/Billing/BillingPlatformValidator.d.ts +465 -24
  102. package/sdk/platform/Billing/BillingPlatformValidator.js +490 -14
  103. package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +284 -205
  104. package/sdk/platform/Cart/CartPlatformApplicationClient.js +671 -553
  105. package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +165 -165
  106. package/sdk/platform/Cart/CartPlatformApplicationValidator.js +108 -132
  107. package/sdk/platform/Cart/CartPlatformModel.d.ts +3136 -4788
  108. package/sdk/platform/Cart/CartPlatformModel.js +2850 -2031
  109. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +1015 -419
  110. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +6450 -2010
  111. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +1121 -230
  112. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +919 -127
  113. package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +372 -574
  114. package/sdk/platform/Catalog/CatalogPlatformClient.js +1238 -1317
  115. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +8351 -9825
  116. package/sdk/platform/Catalog/CatalogPlatformModel.js +9662 -6881
  117. package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +288 -235
  118. package/sdk/platform/Catalog/CatalogPlatformValidator.js +241 -183
  119. package/sdk/platform/Common/CommonPlatformClient.d.ts +5 -6
  120. package/sdk/platform/Common/CommonPlatformClient.js +5 -6
  121. package/sdk/platform/Common/CommonPlatformModel.d.ts +9 -9
  122. package/sdk/platform/Common/CommonPlatformModel.js +6 -6
  123. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +374 -234
  124. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +875 -583
  125. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +170 -139
  126. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +145 -126
  127. package/sdk/platform/Communication/CommunicationPlatformClient.d.ts +56 -3
  128. package/sdk/platform/Communication/CommunicationPlatformClient.js +307 -4
  129. package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +424 -252
  130. package/sdk/platform/Communication/CommunicationPlatformModel.js +540 -320
  131. package/sdk/platform/Communication/CommunicationPlatformValidator.d.ts +62 -3
  132. package/sdk/platform/Communication/CommunicationPlatformValidator.js +48 -2
  133. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +68 -99
  134. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +84 -140
  135. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +238 -256
  136. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +222 -244
  137. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +20 -20
  138. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +20 -20
  139. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +333 -118
  140. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +1470 -409
  141. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +158 -55
  142. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +163 -41
  143. package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +151 -61
  144. package/sdk/platform/Configuration/ConfigurationPlatformClient.js +595 -101
  145. package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +1199 -462
  146. package/sdk/platform/Configuration/ConfigurationPlatformModel.js +1008 -321
  147. package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +80 -34
  148. package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +79 -24
  149. package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +253 -140
  150. package/sdk/platform/Content/ContentPlatformApplicationClient.js +1087 -458
  151. package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +221 -178
  152. package/sdk/platform/Content/ContentPlatformApplicationValidator.js +220 -157
  153. package/sdk/platform/Content/ContentPlatformClient.d.ts +124 -123
  154. package/sdk/platform/Content/ContentPlatformClient.js +459 -379
  155. package/sdk/platform/Content/ContentPlatformModel.d.ts +833 -1307
  156. package/sdk/platform/Content/ContentPlatformModel.js +893 -582
  157. package/sdk/platform/Content/ContentPlatformValidator.d.ts +140 -150
  158. package/sdk/platform/Content/ContentPlatformValidator.js +131 -135
  159. package/sdk/platform/Discount/DiscountPlatformClient.d.ts +60 -36
  160. package/sdk/platform/Discount/DiscountPlatformClient.js +85 -36
  161. package/sdk/platform/Discount/DiscountPlatformModel.d.ts +46 -47
  162. package/sdk/platform/Discount/DiscountPlatformModel.js +42 -46
  163. package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +2 -2
  164. package/sdk/platform/Discount/DiscountPlatformValidator.js +2 -2
  165. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +18 -15
  166. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +24 -22
  167. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +4 -4
  168. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +4 -4
  169. package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +8 -8
  170. package/sdk/platform/FileStorage/FileStoragePlatformClient.js +8 -8
  171. package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +75 -86
  172. package/sdk/platform/FileStorage/FileStoragePlatformModel.js +60 -74
  173. package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +6 -6
  174. package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +6 -6
  175. package/sdk/platform/Finance/FinancePlatformClient.d.ts +320 -0
  176. package/sdk/platform/Finance/FinancePlatformClient.js +2333 -0
  177. package/sdk/platform/Finance/FinancePlatformModel.d.ts +2895 -0
  178. package/sdk/platform/Finance/FinancePlatformModel.js +2150 -0
  179. package/sdk/platform/Finance/FinancePlatformValidator.d.ts +284 -0
  180. package/sdk/platform/Finance/FinancePlatformValidator.js +354 -0
  181. package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +17 -17
  182. package/sdk/platform/Lead/LeadPlatformApplicationClient.js +33 -33
  183. package/sdk/platform/Lead/LeadPlatformApplicationValidator.d.ts +19 -19
  184. package/sdk/platform/Lead/LeadPlatformApplicationValidator.js +14 -14
  185. package/sdk/platform/Lead/LeadPlatformClient.d.ts +4 -24
  186. package/sdk/platform/Lead/LeadPlatformClient.js +4 -160
  187. package/sdk/platform/Lead/LeadPlatformModel.d.ts +142 -57
  188. package/sdk/platform/Lead/LeadPlatformModel.js +162 -79
  189. package/sdk/platform/Lead/LeadPlatformValidator.d.ts +3 -29
  190. package/sdk/platform/Lead/LeadPlatformValidator.js +2 -28
  191. package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +94 -25
  192. package/sdk/platform/Order/OrderPlatformApplicationClient.js +600 -57
  193. package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +115 -115
  194. package/sdk/platform/Order/OrderPlatformApplicationValidator.js +120 -43
  195. package/sdk/platform/Order/OrderPlatformClient.d.ts +502 -293
  196. package/sdk/platform/Order/OrderPlatformClient.js +1466 -913
  197. package/sdk/platform/Order/OrderPlatformModel.d.ts +4111 -9093
  198. package/sdk/platform/Order/OrderPlatformModel.js +3202 -4230
  199. package/sdk/platform/Order/OrderPlatformValidator.d.ts +445 -612
  200. package/sdk/platform/Order/OrderPlatformValidator.js +316 -326
  201. package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +4 -6
  202. package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +7 -9
  203. package/sdk/platform/Partner/PartnerPlatformModel.d.ts +9 -9
  204. package/sdk/platform/Partner/PartnerPlatformModel.js +7 -7
  205. package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +382 -135
  206. package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +2453 -935
  207. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +306 -93
  208. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +305 -70
  209. package/sdk/platform/Payment/PaymentPlatformClient.d.ts +66 -56
  210. package/sdk/platform/Payment/PaymentPlatformClient.js +269 -124
  211. package/sdk/platform/Payment/PaymentPlatformModel.d.ts +3525 -1313
  212. package/sdk/platform/Payment/PaymentPlatformModel.js +3813 -1511
  213. package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +64 -35
  214. package/sdk/platform/Payment/PaymentPlatformValidator.js +60 -34
  215. package/sdk/platform/PlatformClient.d.ts +2 -0
  216. package/sdk/platform/PlatformClient.js +4 -0
  217. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +2 -2
  218. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +2 -2
  219. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +2 -2
  220. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.js +2 -2
  221. package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +14 -9
  222. package/sdk/platform/Rewards/RewardsPlatformModel.js +10 -8
  223. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +344 -56
  224. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +2180 -302
  225. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +380 -54
  226. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +336 -37
  227. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +127 -213
  228. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +538 -1306
  229. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +3429 -2979
  230. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +3642 -1785
  231. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +218 -392
  232. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +151 -290
  233. package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +4 -16
  234. package/sdk/platform/Share/SharePlatformApplicationClient.js +8 -86
  235. package/sdk/platform/Share/SharePlatformApplicationValidator.d.ts +6 -23
  236. package/sdk/platform/Share/SharePlatformApplicationValidator.js +3 -16
  237. package/sdk/platform/Share/SharePlatformModel.d.ts +6 -50
  238. package/sdk/platform/Share/SharePlatformModel.js +3 -43
  239. package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +26 -4
  240. package/sdk/platform/Theme/ThemePlatformApplicationClient.js +157 -10
  241. package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +21 -10
  242. package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +23 -6
  243. package/sdk/platform/Theme/ThemePlatformClient.d.ts +18 -8
  244. package/sdk/platform/Theme/ThemePlatformClient.js +85 -8
  245. package/sdk/platform/Theme/ThemePlatformModel.d.ts +425 -17
  246. package/sdk/platform/Theme/ThemePlatformModel.js +329 -23
  247. package/sdk/platform/Theme/ThemePlatformValidator.d.ts +7 -3
  248. package/sdk/platform/Theme/ThemePlatformValidator.js +9 -2
  249. package/sdk/platform/User/UserPlatformApplicationClient.d.ts +22 -12
  250. package/sdk/platform/User/UserPlatformApplicationClient.js +91 -12
  251. package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +15 -3
  252. package/sdk/platform/User/UserPlatformApplicationValidator.js +14 -2
  253. package/sdk/platform/User/UserPlatformModel.d.ts +223 -59
  254. package/sdk/platform/User/UserPlatformModel.js +204 -65
  255. package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +78 -25
  256. package/sdk/platform/Webhook/WebhookPlatformClient.js +470 -75
  257. package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +434 -758
  258. package/sdk/platform/Webhook/WebhookPlatformModel.js +395 -410
  259. package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +55 -10
  260. package/sdk/platform/Webhook/WebhookPlatformValidator.js +72 -12
  261. package/sdk/platform/index.d.ts +1 -0
  262. package/sdk/platform/index.js +2 -0
  263. package/sdk/public/Billing/BillingPublicClient.d.ts +56 -0
  264. package/sdk/public/Billing/BillingPublicClient.js +397 -0
  265. package/sdk/public/Billing/BillingPublicModel.d.ts +919 -0
  266. package/sdk/public/Billing/BillingPublicModel.js +560 -0
  267. package/sdk/public/Billing/BillingPublicValidator.d.ts +43 -0
  268. package/sdk/public/Billing/BillingPublicValidator.js +50 -0
  269. package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +14 -4
  270. package/sdk/public/Configuration/ConfigurationPublicClient.js +97 -9
  271. package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +102 -40
  272. package/sdk/public/Configuration/ConfigurationPublicModel.js +111 -29
  273. package/sdk/public/Configuration/ConfigurationPublicValidator.d.ts +11 -1
  274. package/sdk/public/Configuration/ConfigurationPublicValidator.js +12 -0
  275. package/sdk/public/Content/ContentPublicClient.d.ts +22 -0
  276. package/sdk/public/Content/ContentPublicClient.js +183 -0
  277. package/sdk/public/Content/ContentPublicModel.d.ts +38 -1
  278. package/sdk/public/Content/ContentPublicModel.js +47 -1
  279. package/sdk/public/Content/ContentPublicValidator.d.ts +17 -1
  280. package/sdk/public/Content/ContentPublicValidator.js +19 -0
  281. package/sdk/public/PublicClient.d.ts +2 -2
  282. package/sdk/public/PublicClient.js +2 -2
  283. package/sdk/public/Webhook/WebhookPublicClient.d.ts +8 -8
  284. package/sdk/public/Webhook/WebhookPublicClient.js +8 -8
  285. package/sdk/public/Webhook/WebhookPublicModel.d.ts +67 -215
  286. package/sdk/public/Webhook/WebhookPublicModel.js +61 -66
  287. package/sdk/public/Webhook/WebhookPublicValidator.d.ts +4 -4
  288. package/sdk/public/Webhook/WebhookPublicValidator.js +4 -4
  289. package/sdk/public/index.d.ts +1 -1
  290. package/sdk/public/index.js +1 -1
  291. package/sdk/application/Finance/FinanceApplicationClient.d.ts +0 -29
  292. package/sdk/application/Finance/FinanceApplicationClient.js +0 -126
  293. package/sdk/public/Catalog/CatalogPublicClient.d.ts +0 -22
  294. package/sdk/public/Catalog/CatalogPublicClient.js +0 -138
  295. package/sdk/public/Catalog/CatalogPublicModel.d.ts +0 -155
  296. package/sdk/public/Catalog/CatalogPublicModel.js +0 -116
  297. package/sdk/public/Catalog/CatalogPublicValidator.d.ts +0 -55
  298. package/sdk/public/Catalog/CatalogPublicValidator.js +0 -35
@@ -25,10 +25,10 @@ class Configuration {
25
25
  getOrderingStoreCookie:
26
26
  "/service/application/configuration/v1.0/ordering-store/select",
27
27
  getOrderingStores:
28
- "/service/application/configuration/v1.0/ordering-store/stores",
29
- getOwnerInfo: "/service/application/configuration/v1.0/about",
28
+ "/service/application/configuration/v2.0/ordering-store/stores",
29
+ getOwnerInfo: "/service/application/configuration/v2.0/about",
30
30
  getStoreDetailById:
31
- "/service/application/configuration/v1.0/ordering-store/stores/{store_id}",
31
+ "/service/application/configuration/v2.0/ordering-store/stores/{store_id}",
32
32
  removeOrderingStoreCookie:
33
33
  "/service/application/configuration/v1.0/ordering-store/select",
34
34
  };
@@ -51,9 +51,9 @@ class Configuration {
51
51
  /**
52
52
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
53
53
  * @param {import("../ApplicationAPIClient").Options} - Options
54
- * @returns {Promise<AppCurrencyResponseSchema>} - Success response
54
+ * @returns {Promise<AppCurrencyResponse>} - Success response
55
55
  * @name getAppCurrencies
56
- * @summary: Get currency configuration
56
+ * @summary: Retrieves app-specific currencies.
57
57
  * @description: Get currency configuration of the sales channel. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/configuration/getAppCurrencies/).
58
58
  */
59
59
  async getAppCurrencies(
@@ -96,9 +96,9 @@ class Configuration {
96
96
  /**
97
97
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
98
98
  * @param {import("../ApplicationAPIClient").Options} - Options
99
- * @returns {Promise<AppStaffListResponseSchema>} - Success response
99
+ * @returns {Promise<AppStaffListResponse>} - Success response
100
100
  * @name getAppStaffList
101
- * @summary: List staff members
101
+ * @summary: Lists app staff members.
102
102
  * @description: List all staff members of the sales channel. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/configuration/getAppStaffList/).
103
103
  */
104
104
  async getAppStaffList(
@@ -152,12 +152,56 @@ class Configuration {
152
152
  return response;
153
153
  }
154
154
 
155
+ /**
156
+ * @param {Object} arg - Arg object.
157
+ * @param {number} [arg.pageSize] - The number of items to retrieve in each page.
158
+ * @param {boolean} [arg.orderIncent] - Select `true` to retrieve the staff
159
+ * members eligible for getting incentives on orders.
160
+ * @param {number} [arg.orderingStore] - ID of the ordering store. Helps in
161
+ * retrieving staff members working at a particular ordering store.
162
+ * @param {string} [arg.user] - ID of the staff. Helps in retrieving the
163
+ * details of a particular staff member.
164
+ * @param {string} [arg.userName] - Username of the member.
165
+ * @returns {Paginator<AppStaffListResponse>}
166
+ * @summary: Lists app staff members.
167
+ * @description: List all staff members of the sales channel.
168
+ */
169
+ getAppStaffListPaginator({
170
+ pageSize,
171
+ orderIncent,
172
+ orderingStore,
173
+ user,
174
+ userName,
175
+ } = {}) {
176
+ const paginator = new Paginator();
177
+ const callback = async () => {
178
+ const pageId = paginator.nextId;
179
+ const pageNo = paginator.pageNo;
180
+ const pageType = "number";
181
+ const data = await this.getAppStaffList({
182
+ pageNo: pageNo,
183
+ pageSize: pageSize,
184
+ orderIncent: orderIncent,
185
+ orderingStore: orderingStore,
186
+ user: user,
187
+ userName: userName,
188
+ });
189
+ paginator.setPaginator({
190
+ hasNext: data.page.has_next ? true : false,
191
+ nextId: data.page.next_id,
192
+ });
193
+ return data;
194
+ };
195
+ paginator.setCallback(callback.bind(this));
196
+ return paginator;
197
+ }
198
+
155
199
  /**
156
200
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
157
201
  * @param {import("../ApplicationAPIClient").Options} - Options
158
- * @returns {Promise<AppStaffResponseSchema>} - Success response
202
+ * @returns {Promise<AppStaffResponse>} - Success response
159
203
  * @name getAppStaffs
160
- * @summary: Get staff member
204
+ * @summary: Fetches detailed staff info.
161
205
  * @description: Get a staff user including the names, employee code, incentive status, assigned ordering stores, and title of each staff added to the sales channel. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/configuration/getAppStaffs/).
162
206
  */
163
207
  async getAppStaffs(
@@ -207,7 +251,7 @@ class Configuration {
207
251
  * @param {import("../ApplicationAPIClient").Options} - Options
208
252
  * @returns {Promise<Application>} - Success response
209
253
  * @name getApplication
210
- * @summary: Get sales channel
254
+ * @summary: Fetches application details.
211
255
  * @description: Get details of the current sales channel. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/configuration/getApplication/).
212
256
  */
213
257
  async getApplication(
@@ -252,7 +296,7 @@ class Configuration {
252
296
  * @param {import("../ApplicationAPIClient").Options} - Options
253
297
  * @returns {Promise<ApplicationDetail>} - Success response
254
298
  * @name getBasicDetails
255
- * @summary: Get Sales channel
299
+ * @summary: Retrieves basic app info.
256
300
  * @description: Get basic details of the sales channel. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/configuration/getBasicDetails/).
257
301
  */
258
302
  async getBasicDetails(
@@ -297,7 +341,7 @@ class Configuration {
297
341
  * @param {import("../ApplicationAPIClient").Options} - Options
298
342
  * @returns {Promise<ApplicationInformation>} - Success response
299
343
  * @name getContactInfo
300
- * @summary: Get sales channel contact
344
+ * @summary: Retrieves contact details.
301
345
  * @description: Get contact details of the sales channel. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/configuration/getContactInfo/).
302
346
  */
303
347
  async getContactInfo(
@@ -340,9 +384,9 @@ class Configuration {
340
384
  /**
341
385
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
342
386
  * @param {import("../ApplicationAPIClient").Options} - Options
343
- * @returns {Promise<CurrenciesResponseSchema>} - Success response
387
+ * @returns {Promise<CurrenciesResponse>} - Success response
344
388
  * @name getCurrencies
345
- * @summary: List currencies
389
+ * @summary: Lists supported currencies.
346
390
  * @description: List available currencies. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/configuration/getCurrencies/).
347
391
  */
348
392
  async getCurrencies(
@@ -387,7 +431,7 @@ class Configuration {
387
431
  * @param {import("../ApplicationAPIClient").Options} - Options
388
432
  * @returns {Promise<Currency>} - Success response
389
433
  * @name getCurrencyById
390
- * @summary: Get a currency
434
+ * @summary: Fetches currency by ID.
391
435
  * @description: Get details of the currency. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/configuration/getCurrencyById/).
392
436
  */
393
437
  async getCurrencyById(
@@ -437,9 +481,9 @@ class Configuration {
437
481
  /**
438
482
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
439
483
  * @param {import("../ApplicationAPIClient").Options} - Options
440
- * @returns {Promise<AppFeatureResponseSchema>} - Success response
484
+ * @returns {Promise<AppFeatureResponse>} - Success response
441
485
  * @name getFeatures
442
- * @summary: Get sales channel features
486
+ * @summary: Fetches app features.
443
487
  * @description: Get configuration of the features of the sales channel. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/configuration/getFeatures/).
444
488
  */
445
489
  async getFeatures(
@@ -482,9 +526,9 @@ class Configuration {
482
526
  /**
483
527
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
484
528
  * @param {import("../ApplicationAPIClient").Options} - Options
485
- * @returns {Promise<AppTokenResponseSchema>} - Success response
529
+ * @returns {Promise<AppTokenResponse>} - Success response
486
530
  * @name getIntegrationTokens
487
- * @summary: Get API tokens
531
+ * @summary: Fetches API tokens.
488
532
  * @description: Get tools integration token of the sales channel. For example, Firebase, MoEngage, Segment, GTM, Freshchat, Safetynet, Google Map, and Facebook. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/configuration/getIntegrationTokens/).
489
533
  */
490
534
  async getIntegrationTokens(
@@ -527,9 +571,9 @@ class Configuration {
527
571
  /**
528
572
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
529
573
  * @param {import("../ApplicationAPIClient").Options} - Options
530
- * @returns {Promise<LanguageResponseSchema>} - Success response
574
+ * @returns {Promise<LanguageResponse>} - Success response
531
575
  * @name getLanguages
532
- * @summary: List languages
576
+ * @summary: Lists available languages.
533
577
  * @description: List available languages. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/configuration/getLanguages/).
534
578
  */
535
579
  async getLanguages(
@@ -572,9 +616,9 @@ class Configuration {
572
616
  /**
573
617
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
574
618
  * @param {import("../ApplicationAPIClient").Options} - Options
575
- * @returns {Promise<SuccessMessageResponseSchema>} - Success response
619
+ * @returns {Promise<SuccessMessageResponse>} - Success response
576
620
  * @name getOrderingStoreCookie
577
- * @summary: Create cookies
621
+ * @summary: Retrieves store selection cookie.
578
622
  * @description: Reset cookie of ordering store. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/configuration/getOrderingStoreCookie/).
579
623
  */
580
624
  async getOrderingStoreCookie(
@@ -619,7 +663,7 @@ class Configuration {
619
663
  * @param {import("../ApplicationAPIClient").Options} - Options
620
664
  * @returns {Promise<OrderingStores>} - Success response
621
665
  * @name getOrderingStores
622
- * @summary: List order-enabled selling locations
666
+ * @summary: Get all deployment stores
623
667
  * @description: Get details of all the deployment store locations where the sales channel will be used for order placement. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/configuration/getOrderingStores/).
624
668
  */
625
669
  async getOrderingStores(
@@ -662,12 +706,42 @@ class Configuration {
662
706
  return response;
663
707
  }
664
708
 
709
+ /**
710
+ * @param {Object} arg - Arg object.
711
+ * @param {number} [arg.pageSize] - The number of items to retrieve in each
712
+ * page. Default value is 10.
713
+ * @param {string} [arg.q] - Store code or name of the ordering store.
714
+ * @returns {Paginator<OrderingStores>}
715
+ * @summary: Get all deployment stores
716
+ * @description: Get details of all the deployment store locations where the sales channel will be used for order placement.
717
+ */
718
+ getOrderingStoresPaginator({ pageSize, q } = {}) {
719
+ const paginator = new Paginator();
720
+ const callback = async () => {
721
+ const pageId = paginator.nextId;
722
+ const pageNo = paginator.pageNo;
723
+ const pageType = "number";
724
+ const data = await this.getOrderingStores({
725
+ pageNo: pageNo,
726
+ pageSize: pageSize,
727
+ q: q,
728
+ });
729
+ paginator.setPaginator({
730
+ hasNext: data.page.has_next ? true : false,
731
+ nextId: data.page.next_id,
732
+ });
733
+ return data;
734
+ };
735
+ paginator.setCallback(callback.bind(this));
736
+ return paginator;
737
+ }
738
+
665
739
  /**
666
740
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
667
741
  * @param {import("../ApplicationAPIClient").Options} - Options
668
- * @returns {Promise<ApplicationAboutResponseSchema>} - Success response
742
+ * @returns {Promise<ApplicationAboutResponse>} - Success response
669
743
  * @name getOwnerInfo
670
- * @summary: Get sales channel owner
744
+ * @summary: Get sales channel, owner and seller information
671
745
  * @description: Get details of the sales channel owner. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/configuration/getOwnerInfo/).
672
746
  */
673
747
  async getOwnerInfo(
@@ -712,7 +786,7 @@ class Configuration {
712
786
  * @param {import("../ApplicationAPIClient").Options} - Options
713
787
  * @returns {Promise<OrderingStore>} - Success response
714
788
  * @name getStoreDetailById
715
- * @summary: Get a selling location
789
+ * @summary: Get ordering store details
716
790
  * @description: Get details of a selling location (store) by its ID. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/configuration/getStoreDetailById/).
717
791
  */
718
792
  async getStoreDetailById(
@@ -762,9 +836,9 @@ class Configuration {
762
836
  /**
763
837
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
764
838
  * @param {import("../ApplicationAPIClient").Options} - Options
765
- * @returns {Promise<SuccessMessageResponseSchema>} - Success response
839
+ * @returns {Promise<SuccessMessageResponse>} - Success response
766
840
  * @name removeOrderingStoreCookie
767
- * @summary: Delete store cookie
841
+ * @summary: Deletes store cookie.
768
842
  * @description: Delete store cookie. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/configuration/removeOrderingStoreCookie/).
769
843
  */
770
844
  async removeOrderingStoreCookie(
@@ -6,8 +6,11 @@ declare class Content {
6
6
  getAnnouncements: string;
7
7
  getBlog: string;
8
8
  getBlogs: string;
9
- getCustomFieldsByResourceId: string;
10
- getCustomObjectBySlug: string;
9
+ getCustomFieldDefinition: string;
10
+ getCustomFieldDefinitions: string;
11
+ getCustomFields: string;
12
+ getCustomObject: string;
13
+ getCustomObjects: string;
11
14
  getDataLoaders: string;
12
15
  getFaqBySlug: string;
13
16
  getFaqCategories: string;
@@ -43,34 +46,61 @@ declare class Content {
43
46
  * @summary: Get a blog
44
47
  * @description: Get information related to a specific blog such as it's contents, author, publish date, SEO related information. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getBlog/).
45
48
  */
46
- getBlog({ slug, rootId, preview, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<BlogSchema>;
49
+ getBlog({ slug, rootId, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<BlogSchema>;
47
50
  /**
48
51
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
49
52
  * @param {import("../ApplicationAPIClient").Options} - Options
50
- * @returns {Promise<BlogGetDetails>} - Success response
53
+ * @returns {Promise<BlogGetResponse>} - Success response
51
54
  * @name getBlogs
52
55
  * @summary: List blogs
53
56
  * @description: List all the blogs against an application. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getBlogs/).
54
57
  */
55
- getBlogs({ pageNo, pageSize, tags, search, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<BlogGetDetails>;
58
+ getBlogs({ pageNo, pageSize, tags, search, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<BlogGetResponse>;
59
+ /**
60
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
61
+ * @param {import("../ApplicationAPIClient").Options} - Options
62
+ * @returns {Promise<CustomFieldDefinitionDetailResSchema>} - Success response
63
+ * @name getCustomFieldDefinition
64
+ * @summary: Get custom fields definition by id
65
+ * @description: Use this API to retrieve the definitions of custom fields using definition_id. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getCustomFieldDefinition/).
66
+ */
67
+ getCustomFieldDefinition({ id, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<CustomFieldDefinitionDetailResSchema>;
68
+ /**
69
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
70
+ * @param {import("../ApplicationAPIClient").Options} - Options
71
+ * @returns {Promise<CustomFieldDefinitionsSchema>} - Success response
72
+ * @name getCustomFieldDefinitions
73
+ * @summary: Get custom fields definitions
74
+ * @description: Use this API to retrieve the definitions of custom fields. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getCustomFieldDefinitions/).
75
+ */
76
+ getCustomFieldDefinitions({ requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<CustomFieldDefinitionsSchema>;
56
77
  /**
57
78
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
58
79
  * @param {import("../ApplicationAPIClient").Options} - Options
59
80
  * @returns {Promise<CustomFieldsResponseByResourceIdSchema>} - Success response
60
- * @name getCustomFieldsByResourceId
61
- * @summary: Get list of custom fields of given resource and resource slug
62
- * @description: Retrieves a list of custom fields attached to a particular resource by using the resource and resource slug. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getCustomFieldsByResourceId/).
81
+ * @name getCustomFields
82
+ * @summary: Get list of custom fields of given resource
83
+ * @description: Use this API to retrieve the custom fields for given resource and resource_ids in param - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getCustomFields/).
63
84
  */
64
- getCustomFieldsByResourceId({ resource, resourceSlug, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<CustomFieldsResponseByResourceIdSchema>;
85
+ getCustomFields({ resource, resourceIds, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<CustomFieldsResponseByResourceIdSchema>;
65
86
  /**
66
87
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
67
88
  * @param {import("../ApplicationAPIClient").Options} - Options
68
89
  * @returns {Promise<CustomObjectByIdSchema>} - Success response
69
- * @name getCustomObjectBySlug
70
- * @summary: Get custom object details
71
- * @description: Details of a custom object entry can be obtained using this endpoint. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getCustomObjectBySlug/).
90
+ * @name getCustomObject
91
+ * @summary: Get custom object
92
+ * @description: Details of custom objects, their field details, definitions, and references can be obtained using this endpoint. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getCustomObject/).
93
+ */
94
+ getCustomObject({ id, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<CustomObjectByIdSchema>;
95
+ /**
96
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
97
+ * @param {import("../ApplicationAPIClient").Options} - Options
98
+ * @returns {Promise<CustomObjectsSchema>} - Success response
99
+ * @name getCustomObjects
100
+ * @summary: Get list of custom objects
101
+ * @description: Use this API to retrieve the custom objects. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getCustomObjects/).
72
102
  */
73
- getCustomObjectBySlug({ definitionSlug, slug, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<CustomObjectByIdSchema>;
103
+ getCustomObjects({ pageNo, pageSize, definitionId, type, ids, search, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<CustomObjectsSchema>;
74
104
  /**
75
105
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
76
106
  * @param {import("../ApplicationAPIClient").Options} - Options
@@ -131,7 +161,7 @@ declare class Content {
131
161
  * @returns {Promise<LandingPageSchema>} - Success response
132
162
  * @name getLandingPage
133
163
  * @summary: Get a landing page
134
- * @description: Get content of the application's landing page. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getLandingPage/).
164
+ * @description: Gets the content of the application's landing page. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getLandingPage/).
135
165
  */
136
166
  getLandingPage({ requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<LandingPageSchema>;
137
167
  /**
@@ -146,30 +176,30 @@ declare class Content {
146
176
  /**
147
177
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
148
178
  * @param {import("../ApplicationAPIClient").Options} - Options
149
- * @returns {Promise<NavigationGetDetails>} - Success response
179
+ * @returns {Promise<NavigationGetResponse>} - Success response
150
180
  * @name getNavigations
151
181
  * @summary: List navigation items
152
182
  * @description: Get the navigation link items which can be powered to generate menus on application's website or equivalent mobile apps. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getNavigations/).
153
183
  */
154
- getNavigations({ pageNo, pageSize, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<NavigationGetDetails>;
184
+ getNavigations({ pageNo, pageSize, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<NavigationGetResponse>;
155
185
  /**
156
186
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
157
187
  * @param {import("../ApplicationAPIClient").Options} - Options
158
188
  * @returns {Promise<PageSchema>} - Success response
159
189
  * @name getPage
160
- * @summary: Get a page
161
- * @description: Get detailed information for a specific page within the theme. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getPage/).
190
+ * @summary: Get page by slug
191
+ * @description: Get detailed information about a specific page using its slug. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getPage/).
162
192
  */
163
193
  getPage({ slug, rootId, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<PageSchema>;
164
194
  /**
165
195
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
166
196
  * @param {import("../ApplicationAPIClient").Options} - Options
167
- * @returns {Promise<PageGetDetails>} - Success response
197
+ * @returns {Promise<PageGetResponse>} - Success response
168
198
  * @name getPages
169
199
  * @summary: Lists pages
170
- * @description: Lists all Custom Pages. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getPages/).
200
+ * @description: Lists all Custom Pages - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getPages/).
171
201
  */
172
- getPages({ pageNo, pageSize, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<PageGetDetails>;
202
+ getPages({ pageNo, pageSize, requestHeaders }?: object, { responseHeaders }?: import("../ApplicationAPIClient").Options): Promise<PageGetResponse>;
173
203
  /**
174
204
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
175
205
  * @param {import("../ApplicationAPIClient").Options} - Options