@gofynd/fdk-client-javascript 1.4.13 → 1.4.14

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 (294) hide show
  1. package/README.md +1 -1
  2. package/package.json +1 -1
  3. package/sdk/application/ApplicationClient.d.ts +2 -0
  4. package/sdk/application/ApplicationClient.js +2 -0
  5. package/sdk/application/Cart/CartApplicationClient.d.ts +60 -53
  6. package/sdk/application/Cart/CartApplicationClient.js +130 -53
  7. package/sdk/application/Cart/CartApplicationModel.d.ts +489 -143
  8. package/sdk/application/Cart/CartApplicationModel.js +380 -159
  9. package/sdk/application/Cart/CartApplicationValidator.d.ts +38 -19
  10. package/sdk/application/Cart/CartApplicationValidator.js +34 -18
  11. package/sdk/application/Catalog/CatalogApplicationClient.d.ts +88 -68
  12. package/sdk/application/Catalog/CatalogApplicationClient.js +114 -94
  13. package/sdk/application/Catalog/CatalogApplicationModel.d.ts +194 -142
  14. package/sdk/application/Catalog/CatalogApplicationModel.js +171 -133
  15. package/sdk/application/Common/CommonApplicationClient.d.ts +3 -2
  16. package/sdk/application/Common/CommonApplicationClient.js +6 -5
  17. package/sdk/application/Common/CommonApplicationModel.d.ts +9 -9
  18. package/sdk/application/Common/CommonApplicationModel.js +6 -6
  19. package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +34 -27
  20. package/sdk/application/Configuration/ConfigurationApplicationClient.js +34 -27
  21. package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +45 -57
  22. package/sdk/application/Configuration/ConfigurationApplicationModel.js +35 -47
  23. package/sdk/application/Configuration/ConfigurationApplicationValidator.d.ts +2 -2
  24. package/sdk/application/Configuration/ConfigurationApplicationValidator.js +2 -2
  25. package/sdk/application/Content/ContentApplicationClient.d.ts +23 -33
  26. package/sdk/application/Content/ContentApplicationClient.js +54 -75
  27. package/sdk/application/Content/ContentApplicationModel.d.ts +93 -37
  28. package/sdk/application/Content/ContentApplicationModel.js +83 -32
  29. package/sdk/application/Content/ContentApplicationValidator.d.ts +23 -17
  30. package/sdk/application/Content/ContentApplicationValidator.js +15 -10
  31. package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +9 -8
  32. package/sdk/application/FileStorage/FileStorageApplicationClient.js +14 -13
  33. package/sdk/application/FileStorage/FileStorageApplicationModel.d.ts +23 -25
  34. package/sdk/application/FileStorage/FileStorageApplicationModel.js +16 -18
  35. package/sdk/application/FileStorage/FileStorageApplicationValidator.d.ts +6 -6
  36. package/sdk/application/FileStorage/FileStorageApplicationValidator.js +6 -6
  37. package/sdk/application/Finance/FinanceApplicationClient.d.ts +36 -0
  38. package/sdk/application/Finance/FinanceApplicationClient.js +202 -0
  39. package/sdk/application/Finance/FinanceApplicationModel.d.ts +289 -0
  40. package/sdk/application/Finance/FinanceApplicationModel.js +208 -0
  41. package/sdk/application/Finance/FinanceApplicationValidator.d.ts +25 -0
  42. package/sdk/application/Finance/FinanceApplicationValidator.js +31 -0
  43. package/sdk/application/Lead/LeadApplicationClient.d.ts +2 -3
  44. package/sdk/application/Lead/LeadApplicationClient.js +2 -3
  45. package/sdk/application/Lead/LeadApplicationModel.d.ts +11 -11
  46. package/sdk/application/Lead/LeadApplicationModel.js +19 -19
  47. package/sdk/application/Logistic/LogisticApplicationClient.d.ts +39 -16
  48. package/sdk/application/Logistic/LogisticApplicationClient.js +189 -21
  49. package/sdk/application/Logistic/LogisticApplicationModel.d.ts +532 -173
  50. package/sdk/application/Logistic/LogisticApplicationModel.js +409 -139
  51. package/sdk/application/Logistic/LogisticApplicationValidator.d.ts +54 -9
  52. package/sdk/application/Logistic/LogisticApplicationValidator.js +42 -8
  53. package/sdk/application/Order/OrderApplicationClient.d.ts +24 -10
  54. package/sdk/application/Order/OrderApplicationClient.js +96 -13
  55. package/sdk/application/Order/OrderApplicationModel.d.ts +434 -102
  56. package/sdk/application/Order/OrderApplicationModel.js +278 -73
  57. package/sdk/application/Order/OrderApplicationValidator.d.ts +17 -3
  58. package/sdk/application/Order/OrderApplicationValidator.js +15 -2
  59. package/sdk/application/Payment/PaymentApplicationClient.d.ts +96 -99
  60. package/sdk/application/Payment/PaymentApplicationClient.js +111 -114
  61. package/sdk/application/Payment/PaymentApplicationModel.d.ts +293 -289
  62. package/sdk/application/Payment/PaymentApplicationModel.js +243 -241
  63. package/sdk/application/Payment/PaymentApplicationValidator.d.ts +46 -46
  64. package/sdk/application/Payment/PaymentApplicationValidator.js +46 -46
  65. package/sdk/application/Rewards/RewardsApplicationClient.d.ts +13 -16
  66. package/sdk/application/Rewards/RewardsApplicationClient.js +19 -22
  67. package/sdk/application/Rewards/RewardsApplicationModel.d.ts +37 -37
  68. package/sdk/application/Rewards/RewardsApplicationModel.js +29 -29
  69. package/sdk/application/Rewards/RewardsApplicationValidator.d.ts +6 -6
  70. package/sdk/application/Rewards/RewardsApplicationValidator.js +6 -6
  71. package/sdk/application/Share/ShareApplicationModel.js +1 -1
  72. package/sdk/application/Theme/ThemeApplicationClient.d.ts +2 -2
  73. package/sdk/application/Theme/ThemeApplicationClient.js +8 -6
  74. package/sdk/application/Theme/ThemeApplicationModel.d.ts +48 -17
  75. package/sdk/application/Theme/ThemeApplicationModel.js +42 -22
  76. package/sdk/application/Theme/ThemeApplicationValidator.d.ts +16 -3
  77. package/sdk/application/Theme/ThemeApplicationValidator.js +9 -2
  78. package/sdk/application/User/UserApplicationClient.d.ts +10 -10
  79. package/sdk/application/User/UserApplicationClient.js +10 -10
  80. package/sdk/application/User/UserApplicationModel.d.ts +17 -17
  81. package/sdk/application/User/UserApplicationModel.js +16 -16
  82. package/sdk/application/User/UserApplicationValidator.d.ts +2 -2
  83. package/sdk/application/User/UserApplicationValidator.js +2 -2
  84. package/sdk/application/Webhook/WebhookApplicationClient.d.ts +4 -4
  85. package/sdk/application/Webhook/WebhookApplicationClient.js +4 -4
  86. package/sdk/application/Webhook/WebhookApplicationModel.d.ts +11 -9
  87. package/sdk/application/Webhook/WebhookApplicationModel.js +8 -6
  88. package/sdk/application/Webhook/WebhookApplicationValidator.d.ts +2 -2
  89. package/sdk/application/Webhook/WebhookApplicationValidator.js +2 -2
  90. package/sdk/application/index.d.ts +1 -0
  91. package/sdk/application/index.js +2 -0
  92. package/sdk/partner/FileStorage/FileStoragePartnerClient.d.ts +86 -12
  93. package/sdk/partner/FileStorage/FileStoragePartnerClient.js +582 -24
  94. package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +116 -19
  95. package/sdk/partner/FileStorage/FileStoragePartnerModel.js +121 -14
  96. package/sdk/partner/FileStorage/FileStoragePartnerValidator.d.ts +8 -1
  97. package/sdk/partner/FileStorage/FileStoragePartnerValidator.js +51 -4
  98. package/sdk/partner/Lead/LeadPartnerClient.d.ts +2 -2
  99. package/sdk/partner/Lead/LeadPartnerClient.js +2 -2
  100. package/sdk/partner/Lead/LeadPartnerModel.d.ts +5 -5
  101. package/sdk/partner/Lead/LeadPartnerModel.js +15 -15
  102. package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +126 -20
  103. package/sdk/partner/Logistics/LogisticsPartnerClient.js +970 -20
  104. package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +767 -85
  105. package/sdk/partner/Logistics/LogisticsPartnerModel.js +429 -76
  106. package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +10 -0
  107. package/sdk/partner/Logistics/LogisticsPartnerValidator.js +120 -6
  108. package/sdk/partner/Theme/ThemePartnerClient.d.ts +8 -10
  109. package/sdk/partner/Theme/ThemePartnerClient.js +14 -16
  110. package/sdk/partner/Theme/ThemePartnerModel.d.ts +96 -37
  111. package/sdk/partner/Theme/ThemePartnerModel.js +90 -36
  112. package/sdk/partner/Theme/ThemePartnerValidator.js +4 -4
  113. package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +28 -18
  114. package/sdk/partner/Webhook/WebhookPartnerClient.js +103 -18
  115. package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +612 -179
  116. package/sdk/partner/Webhook/WebhookPartnerModel.js +253 -150
  117. package/sdk/partner/Webhook/WebhookPartnerValidator.d.ts +1 -0
  118. package/sdk/partner/Webhook/WebhookPartnerValidator.js +11 -3
  119. package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.d.ts +5 -4
  120. package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.js +14 -8
  121. package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +59 -9
  122. package/sdk/platform/Analytics/AnalyticsPlatformModel.js +40 -4
  123. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +2 -32
  124. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +3 -243
  125. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +11 -130
  126. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +12 -152
  127. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +1 -39
  128. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +0 -35
  129. package/sdk/platform/Billing/BillingPlatformClient.d.ts +12 -12
  130. package/sdk/platform/Billing/BillingPlatformClient.js +15 -15
  131. package/sdk/platform/Billing/BillingPlatformModel.d.ts +443 -388
  132. package/sdk/platform/Billing/BillingPlatformModel.js +280 -263
  133. package/sdk/platform/Billing/BillingPlatformValidator.d.ts +16 -18
  134. package/sdk/platform/Billing/BillingPlatformValidator.js +8 -9
  135. package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +134 -103
  136. package/sdk/platform/Cart/CartPlatformApplicationClient.js +407 -112
  137. package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +111 -65
  138. package/sdk/platform/Cart/CartPlatformApplicationValidator.js +106 -44
  139. package/sdk/platform/Cart/CartPlatformModel.d.ts +4978 -1303
  140. package/sdk/platform/Cart/CartPlatformModel.js +1922 -1217
  141. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +208 -183
  142. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +383 -358
  143. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +122 -126
  144. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +66 -68
  145. package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +141 -118
  146. package/sdk/platform/Catalog/CatalogPlatformClient.js +193 -170
  147. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +1516 -1766
  148. package/sdk/platform/Catalog/CatalogPlatformModel.js +1393 -1224
  149. package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +18 -18
  150. package/sdk/platform/Catalog/CatalogPlatformValidator.js +18 -18
  151. package/sdk/platform/Common/CommonPlatformClient.d.ts +3 -2
  152. package/sdk/platform/Common/CommonPlatformClient.js +3 -2
  153. package/sdk/platform/Common/CommonPlatformModel.d.ts +9 -9
  154. package/sdk/platform/Common/CommonPlatformModel.js +6 -6
  155. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +16 -17
  156. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +16 -17
  157. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +8 -8
  158. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +8 -8
  159. package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +43 -33
  160. package/sdk/platform/Communication/CommunicationPlatformModel.js +38 -34
  161. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +46 -42
  162. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +47 -43
  163. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +223 -223
  164. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +210 -212
  165. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +12 -12
  166. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +12 -12
  167. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +46 -33
  168. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +67 -54
  169. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +18 -18
  170. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +18 -18
  171. package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +45 -24
  172. package/sdk/platform/Configuration/ConfigurationPlatformClient.js +134 -30
  173. package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +283 -124
  174. package/sdk/platform/Configuration/ConfigurationPlatformModel.js +219 -94
  175. package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +37 -9
  176. package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +27 -8
  177. package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +124 -141
  178. package/sdk/platform/Content/ContentPlatformApplicationClient.js +449 -422
  179. package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +179 -141
  180. package/sdk/platform/Content/ContentPlatformApplicationValidator.js +168 -130
  181. package/sdk/platform/Content/ContentPlatformClient.d.ts +142 -106
  182. package/sdk/platform/Content/ContentPlatformClient.js +523 -336
  183. package/sdk/platform/Content/ContentPlatformModel.d.ts +1241 -395
  184. package/sdk/platform/Content/ContentPlatformModel.js +521 -390
  185. package/sdk/platform/Content/ContentPlatformValidator.d.ts +168 -117
  186. package/sdk/platform/Content/ContentPlatformValidator.js +162 -108
  187. package/sdk/platform/Discount/DiscountPlatformClient.d.ts +14 -12
  188. package/sdk/platform/Discount/DiscountPlatformClient.js +14 -12
  189. package/sdk/platform/Discount/DiscountPlatformModel.d.ts +13 -13
  190. package/sdk/platform/Discount/DiscountPlatformModel.js +12 -12
  191. package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +2 -2
  192. package/sdk/platform/Discount/DiscountPlatformValidator.js +2 -2
  193. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +94 -36
  194. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +462 -60
  195. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +62 -15
  196. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +75 -13
  197. package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +19 -19
  198. package/sdk/platform/FileStorage/FileStoragePlatformClient.js +21 -21
  199. package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +370 -101
  200. package/sdk/platform/FileStorage/FileStoragePlatformModel.js +313 -84
  201. package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +6 -6
  202. package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +6 -6
  203. package/sdk/platform/Lead/LeadPlatformClient.d.ts +2 -2
  204. package/sdk/platform/Lead/LeadPlatformClient.js +2 -2
  205. package/sdk/platform/Lead/LeadPlatformModel.d.ts +5 -5
  206. package/sdk/platform/Lead/LeadPlatformModel.js +16 -16
  207. package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +15 -4
  208. package/sdk/platform/Order/OrderPlatformApplicationClient.js +83 -5
  209. package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +25 -4
  210. package/sdk/platform/Order/OrderPlatformApplicationValidator.js +16 -3
  211. package/sdk/platform/Order/OrderPlatformClient.d.ts +178 -97
  212. package/sdk/platform/Order/OrderPlatformClient.js +589 -229
  213. package/sdk/platform/Order/OrderPlatformModel.d.ts +5447 -3071
  214. package/sdk/platform/Order/OrderPlatformModel.js +3496 -1653
  215. package/sdk/platform/Order/OrderPlatformValidator.d.ts +241 -176
  216. package/sdk/platform/Order/OrderPlatformValidator.js +153 -97
  217. package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +6 -4
  218. package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +9 -7
  219. package/sdk/platform/Partner/PartnerPlatformModel.d.ts +9 -9
  220. package/sdk/platform/Partner/PartnerPlatformModel.js +8 -8
  221. package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +93 -105
  222. package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +129 -141
  223. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +48 -48
  224. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +48 -48
  225. package/sdk/platform/Payment/PaymentPlatformClient.d.ts +20 -20
  226. package/sdk/platform/Payment/PaymentPlatformClient.js +20 -20
  227. package/sdk/platform/Payment/PaymentPlatformModel.d.ts +327 -313
  228. package/sdk/platform/Payment/PaymentPlatformModel.js +283 -273
  229. package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +8 -8
  230. package/sdk/platform/Payment/PaymentPlatformValidator.js +8 -8
  231. package/sdk/platform/PlatformClient.d.ts +0 -2
  232. package/sdk/platform/PlatformClient.js +0 -4
  233. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +2 -2
  234. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +2 -2
  235. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +2 -2
  236. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.js +2 -2
  237. package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +9 -9
  238. package/sdk/platform/Rewards/RewardsPlatformModel.js +8 -8
  239. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +45 -35
  240. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +117 -38
  241. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +22 -13
  242. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +24 -12
  243. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +40 -46
  244. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +58 -64
  245. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +602 -341
  246. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +483 -284
  247. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +8 -8
  248. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +8 -8
  249. package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +2 -2
  250. package/sdk/platform/Share/SharePlatformApplicationClient.js +2 -2
  251. package/sdk/platform/Share/SharePlatformModel.d.ts +36 -5
  252. package/sdk/platform/Share/SharePlatformModel.js +27 -4
  253. package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +3 -3
  254. package/sdk/platform/Theme/ThemePlatformApplicationClient.js +8 -4
  255. package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +5 -0
  256. package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +2 -0
  257. package/sdk/platform/Theme/ThemePlatformModel.d.ts +37 -11
  258. package/sdk/platform/Theme/ThemePlatformModel.js +33 -15
  259. package/sdk/platform/User/UserPlatformApplicationClient.d.ts +12 -12
  260. package/sdk/platform/User/UserPlatformApplicationClient.js +12 -12
  261. package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +2 -2
  262. package/sdk/platform/User/UserPlatformApplicationValidator.js +2 -2
  263. package/sdk/platform/User/UserPlatformModel.d.ts +21 -21
  264. package/sdk/platform/User/UserPlatformModel.js +23 -23
  265. package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +25 -78
  266. package/sdk/platform/Webhook/WebhookPlatformClient.js +75 -470
  267. package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +720 -427
  268. package/sdk/platform/Webhook/WebhookPlatformModel.js +410 -386
  269. package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +10 -55
  270. package/sdk/platform/Webhook/WebhookPlatformValidator.js +12 -72
  271. package/sdk/platform/index.d.ts +0 -1
  272. package/sdk/platform/index.js +0 -2
  273. package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +3 -2
  274. package/sdk/public/Configuration/ConfigurationPublicClient.js +6 -5
  275. package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +9 -9
  276. package/sdk/public/Configuration/ConfigurationPublicModel.js +6 -6
  277. package/sdk/public/Content/ContentPublicClient.d.ts +112 -2
  278. package/sdk/public/Content/ContentPublicClient.js +791 -5
  279. package/sdk/public/Content/ContentPublicModel.d.ts +549 -3
  280. package/sdk/public/Content/ContentPublicModel.js +649 -3
  281. package/sdk/public/Content/ContentPublicValidator.d.ts +69 -3
  282. package/sdk/public/Content/ContentPublicValidator.js +88 -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 +21 -21
  286. package/sdk/public/Webhook/WebhookPublicModel.js +15 -15
  287. package/sdk/public/Webhook/WebhookPublicValidator.d.ts +4 -4
  288. package/sdk/public/Webhook/WebhookPublicValidator.js +4 -4
  289. package/sdk/platform/Finance/FinancePlatformClient.d.ts +0 -320
  290. package/sdk/platform/Finance/FinancePlatformClient.js +0 -2333
  291. package/sdk/platform/Finance/FinancePlatformModel.d.ts +0 -2890
  292. package/sdk/platform/Finance/FinancePlatformModel.js +0 -2148
  293. package/sdk/platform/Finance/FinancePlatformValidator.d.ts +0 -284
  294. package/sdk/platform/Finance/FinancePlatformValidator.js +0 -354
@@ -1,6 +1,6 @@
1
1
  export = ConfigurationApplicationModel;
2
2
  /**
3
- * @typedef ApplicationAboutResponse
3
+ * @typedef ApplicationAboutResponseSchema
4
4
  * @property {ApplicationInfo} [application_info]
5
5
  */
6
6
  /**
@@ -61,20 +61,20 @@ export = ConfigurationApplicationModel;
61
61
  * @property {string} [code] - Unique code of supported language, e.g. hi-IN.
62
62
  */
63
63
  /**
64
- * @typedef LanguageResponse
64
+ * @typedef LanguageResponseSchema
65
65
  * @property {SupportedLanguage[]} [items] - List of supported languages.
66
66
  */
67
67
  /**
68
- * @typedef AppStaffResponse
68
+ * @typedef AppStaffResponseSchema
69
69
  * @property {AppStaff[]} [staff_users] - List of staff users.
70
70
  */
71
71
  /**
72
- * @typedef AppStaffListResponse
72
+ * @typedef AppStaffListResponseSchema
73
73
  * @property {Page} [page]
74
74
  * @property {AppStaff[]} [items] - List of staff users.
75
75
  */
76
76
  /**
77
- * @typedef OrderingStoreSelectRequest
77
+ * @typedef OrderingStoreSelectRequestSchema
78
78
  * @property {OrderingStoreSelect} ordering_store
79
79
  */
80
80
  /**
@@ -100,7 +100,7 @@ export = ConfigurationApplicationModel;
100
100
  * @property {string} [profile_pic_url] - Profile image hosted url of the staff member.
101
101
  */
102
102
  /**
103
- * @typedef AppTokenResponse
103
+ * @typedef AppTokenResponseSchema
104
104
  * @property {Tokens} [tokens]
105
105
  * @property {string} [_id] - The unique identifier (24-digit Mongo Object ID)
106
106
  * of the token.
@@ -398,7 +398,7 @@ export = ConfigurationApplicationModel;
398
398
  * value is false.
399
399
  */
400
400
  /**
401
- * @typedef AppFeatureResponse
401
+ * @typedef AppFeatureResponseSchema
402
402
  * @property {AppFeature} [feature]
403
403
  */
404
404
  /**
@@ -516,15 +516,11 @@ export = ConfigurationApplicationModel;
516
516
  * @property {string} [message] - Response message for not found.
517
517
  */
518
518
  /**
519
- * @typedef InvalidPayloadRequest
519
+ * @typedef InvalidPayloadRequestSchema
520
520
  * @property {string} [message] - Error message when request body payload is improper.
521
521
  */
522
522
  /**
523
- * @typedef UnhandledError
524
- * @property {string} [message] - Error message for unhandled errors.
525
- */
526
- /**
527
- * @typedef SuccessMessageResponse
523
+ * @typedef SuccessMessageResponseSchema
528
524
  * @property {string} [message] - Success message shown to the user (in a string format).
529
525
  */
530
526
  /**
@@ -723,7 +719,7 @@ export = ConfigurationApplicationModel;
723
719
  * where the sales channel is mapped.
724
720
  */
725
721
  /**
726
- * @typedef CurrenciesResponse
722
+ * @typedef CurrenciesResponseSchema
727
723
  * @property {Currency[]} [items] - A list of currency objects. Each object
728
724
  * represents a different currency.
729
725
  */
@@ -735,7 +731,7 @@ export = ConfigurationApplicationModel;
735
731
  * INR, EUR, USD.
736
732
  */
737
733
  /**
738
- * @typedef AppCurrencyResponse
734
+ * @typedef AppCurrencyResponseSchema
739
735
  * @property {string} [application] - Alphanumeric ID allotted to an application
740
736
  * (sales channel website) created within a business account.
741
737
  * @property {DefaultCurrency} [default_currency]
@@ -795,11 +791,11 @@ export = ConfigurationApplicationModel;
795
791
  declare class ConfigurationApplicationModel {
796
792
  }
797
793
  declare namespace ConfigurationApplicationModel {
798
- export { ApplicationAboutResponse, ApplicationInfo, CompanyInfo, OwnerInfo, SupportedLanguage, LanguageResponse, AppStaffResponse, AppStaffListResponse, OrderingStoreSelectRequest, OrderingStoreSelect, AppStaff, AppTokenResponse, Tokens, Firebase, Credentials, Ios, Android, Moengage, MoengageCredentials, Segment, SegmentCredentials, Gtm, GtmCredentials, Freshchat, FreshchatCredentials, Safetynet, SafetynetCredentials, FyndRewards, FyndRewardsCredentials, GoogleMap, GoogleMapCredentials, RewardPointsConfig, Credit, Debit, ProductDetailFeature, LaunchPage, LandingPageFeature, RegistrationPageFeature, AppFeature, HomePageFeature, CommonFeature, InternationalShipping, CommunicationOptinDialogFeature, DeploymentStoreSelectionFeature, ListingPriceFeature, ListingPageFeature, CurrencyFeature, RevenueEngineFeature, FeedbackFeature, CompareProductsFeature, CartFeature, QrFeature, PcrFeature, OrderFeature, AppFeatureResponse, Currency, Domain, ApplicationWebsite, ApplicationCors, ApplicationAuth, ApplicationRedirections, ApplicationMeta, SecureUrl, Application, TokenSchema, NotFound, InvalidPayloadRequest, UnhandledError, SuccessMessageResponse, CompanyAboutAddress, UserEmail, UserPhoneNumber, Page, ApplicationInformation, InformationAddress, InformationPhone, InformationSupportPhone, InformationSupportEmail, InformationLoc, InformationSupport, SocialLinks, FacebookLink, InstagramLink, TwitterLink, PinterestLink, GooglePlusLink, YoutubeLink, LinkedInLink, VimeoLink, BlogLink, Links, BusinessHighlights, ApplicationDetail, CurrenciesResponse, DefaultCurrency, AppCurrencyResponse, StoreLatLong, OptedStoreAddress, OrderingStore, OrderingStores };
794
+ export { ApplicationAboutResponseSchema, ApplicationInfo, CompanyInfo, OwnerInfo, SupportedLanguage, LanguageResponseSchema, AppStaffResponseSchema, AppStaffListResponseSchema, OrderingStoreSelectRequestSchema, OrderingStoreSelect, AppStaff, AppTokenResponseSchema, Tokens, Firebase, Credentials, Ios, Android, Moengage, MoengageCredentials, Segment, SegmentCredentials, Gtm, GtmCredentials, Freshchat, FreshchatCredentials, Safetynet, SafetynetCredentials, FyndRewards, FyndRewardsCredentials, GoogleMap, GoogleMapCredentials, RewardPointsConfig, Credit, Debit, ProductDetailFeature, LaunchPage, LandingPageFeature, RegistrationPageFeature, AppFeature, HomePageFeature, CommonFeature, InternationalShipping, CommunicationOptinDialogFeature, DeploymentStoreSelectionFeature, ListingPriceFeature, ListingPageFeature, CurrencyFeature, RevenueEngineFeature, FeedbackFeature, CompareProductsFeature, CartFeature, QrFeature, PcrFeature, OrderFeature, AppFeatureResponseSchema, Currency, Domain, ApplicationWebsite, ApplicationCors, ApplicationAuth, ApplicationRedirections, ApplicationMeta, SecureUrl, Application, TokenSchema, NotFound, InvalidPayloadRequestSchema, SuccessMessageResponseSchema, CompanyAboutAddress, UserEmail, UserPhoneNumber, Page, ApplicationInformation, InformationAddress, InformationPhone, InformationSupportPhone, InformationSupportEmail, InformationLoc, InformationSupport, SocialLinks, FacebookLink, InstagramLink, TwitterLink, PinterestLink, GooglePlusLink, YoutubeLink, LinkedInLink, VimeoLink, BlogLink, Links, BusinessHighlights, ApplicationDetail, CurrenciesResponseSchema, DefaultCurrency, AppCurrencyResponseSchema, StoreLatLong, OptedStoreAddress, OrderingStore, OrderingStores };
799
795
  }
800
- /** @returns {ApplicationAboutResponse} */
801
- declare function ApplicationAboutResponse(): ApplicationAboutResponse;
802
- type ApplicationAboutResponse = {
796
+ /** @returns {ApplicationAboutResponseSchema} */
797
+ declare function ApplicationAboutResponseSchema(): ApplicationAboutResponseSchema;
798
+ type ApplicationAboutResponseSchema = {
803
799
  application_info?: ApplicationInfo;
804
800
  };
805
801
  /** @returns {ApplicationInfo} */
@@ -944,34 +940,34 @@ type SupportedLanguage = {
944
940
  */
945
941
  code?: string;
946
942
  };
947
- /** @returns {LanguageResponse} */
948
- declare function LanguageResponse(): LanguageResponse;
949
- type LanguageResponse = {
943
+ /** @returns {LanguageResponseSchema} */
944
+ declare function LanguageResponseSchema(): LanguageResponseSchema;
945
+ type LanguageResponseSchema = {
950
946
  /**
951
947
  * - List of supported languages.
952
948
  */
953
949
  items?: SupportedLanguage[];
954
950
  };
955
- /** @returns {AppStaffResponse} */
956
- declare function AppStaffResponse(): AppStaffResponse;
957
- type AppStaffResponse = {
951
+ /** @returns {AppStaffResponseSchema} */
952
+ declare function AppStaffResponseSchema(): AppStaffResponseSchema;
953
+ type AppStaffResponseSchema = {
958
954
  /**
959
955
  * - List of staff users.
960
956
  */
961
957
  staff_users?: AppStaff[];
962
958
  };
963
- /** @returns {AppStaffListResponse} */
964
- declare function AppStaffListResponse(): AppStaffListResponse;
965
- type AppStaffListResponse = {
959
+ /** @returns {AppStaffListResponseSchema} */
960
+ declare function AppStaffListResponseSchema(): AppStaffListResponseSchema;
961
+ type AppStaffListResponseSchema = {
966
962
  page?: Page;
967
963
  /**
968
964
  * - List of staff users.
969
965
  */
970
966
  items?: AppStaff[];
971
967
  };
972
- /** @returns {OrderingStoreSelectRequest} */
973
- declare function OrderingStoreSelectRequest(): OrderingStoreSelectRequest;
974
- type OrderingStoreSelectRequest = {
968
+ /** @returns {OrderingStoreSelectRequestSchema} */
969
+ declare function OrderingStoreSelectRequestSchema(): OrderingStoreSelectRequestSchema;
970
+ type OrderingStoreSelectRequestSchema = {
975
971
  ordering_store: OrderingStoreSelect;
976
972
  };
977
973
  /** @returns {OrderingStoreSelect} */
@@ -1031,9 +1027,9 @@ type AppStaff = {
1031
1027
  */
1032
1028
  profile_pic_url?: string;
1033
1029
  };
1034
- /** @returns {AppTokenResponse} */
1035
- declare function AppTokenResponse(): AppTokenResponse;
1036
- type AppTokenResponse = {
1030
+ /** @returns {AppTokenResponseSchema} */
1031
+ declare function AppTokenResponseSchema(): AppTokenResponseSchema;
1032
+ type AppTokenResponseSchema = {
1037
1033
  tokens?: Tokens;
1038
1034
  /**
1039
1035
  * - The unique identifier (24-digit Mongo Object ID)
@@ -1594,9 +1590,9 @@ type OrderFeature = {
1594
1590
  */
1595
1591
  buy_again?: boolean;
1596
1592
  };
1597
- /** @returns {AppFeatureResponse} */
1598
- declare function AppFeatureResponse(): AppFeatureResponse;
1599
- type AppFeatureResponse = {
1593
+ /** @returns {AppFeatureResponseSchema} */
1594
+ declare function AppFeatureResponseSchema(): AppFeatureResponseSchema;
1595
+ type AppFeatureResponseSchema = {
1600
1596
  feature?: AppFeature;
1601
1597
  };
1602
1598
  /** @returns {Currency} */
@@ -1877,25 +1873,17 @@ type NotFound = {
1877
1873
  */
1878
1874
  message?: string;
1879
1875
  };
1880
- /** @returns {InvalidPayloadRequest} */
1881
- declare function InvalidPayloadRequest(): InvalidPayloadRequest;
1882
- type InvalidPayloadRequest = {
1876
+ /** @returns {InvalidPayloadRequestSchema} */
1877
+ declare function InvalidPayloadRequestSchema(): InvalidPayloadRequestSchema;
1878
+ type InvalidPayloadRequestSchema = {
1883
1879
  /**
1884
1880
  * - Error message when request body payload is improper.
1885
1881
  */
1886
1882
  message?: string;
1887
1883
  };
1888
- /** @returns {UnhandledError} */
1889
- declare function UnhandledError(): UnhandledError;
1890
- type UnhandledError = {
1891
- /**
1892
- * - Error message for unhandled errors.
1893
- */
1894
- message?: string;
1895
- };
1896
- /** @returns {SuccessMessageResponse} */
1897
- declare function SuccessMessageResponse(): SuccessMessageResponse;
1898
- type SuccessMessageResponse = {
1884
+ /** @returns {SuccessMessageResponseSchema} */
1885
+ declare function SuccessMessageResponseSchema(): SuccessMessageResponseSchema;
1886
+ type SuccessMessageResponseSchema = {
1899
1887
  /**
1900
1888
  * - Success message shown to the user (in a string format).
1901
1889
  */
@@ -2381,9 +2369,9 @@ type ApplicationDetail = {
2381
2369
  */
2382
2370
  company_id?: number;
2383
2371
  };
2384
- /** @returns {CurrenciesResponse} */
2385
- declare function CurrenciesResponse(): CurrenciesResponse;
2386
- type CurrenciesResponse = {
2372
+ /** @returns {CurrenciesResponseSchema} */
2373
+ declare function CurrenciesResponseSchema(): CurrenciesResponseSchema;
2374
+ type CurrenciesResponseSchema = {
2387
2375
  /**
2388
2376
  * - A list of currency objects. Each object
2389
2377
  * represents a different currency.
@@ -2404,9 +2392,9 @@ type DefaultCurrency = {
2404
2392
  */
2405
2393
  code?: string;
2406
2394
  };
2407
- /** @returns {AppCurrencyResponse} */
2408
- declare function AppCurrencyResponse(): AppCurrencyResponse;
2409
- type AppCurrencyResponse = {
2395
+ /** @returns {AppCurrencyResponseSchema} */
2396
+ declare function AppCurrencyResponseSchema(): AppCurrencyResponseSchema;
2397
+ type AppCurrencyResponseSchema = {
2410
2398
  /**
2411
2399
  * - Alphanumeric ID allotted to an application
2412
2400
  * (sales channel website) created within a business account.
@@ -1,7 +1,7 @@
1
1
  const Joi = require("joi");
2
2
 
3
3
  /**
4
- * @typedef ApplicationAboutResponse
4
+ * @typedef ApplicationAboutResponseSchema
5
5
  * @property {ApplicationInfo} [application_info]
6
6
  */
7
7
 
@@ -67,23 +67,23 @@ const Joi = require("joi");
67
67
  */
68
68
 
69
69
  /**
70
- * @typedef LanguageResponse
70
+ * @typedef LanguageResponseSchema
71
71
  * @property {SupportedLanguage[]} [items] - List of supported languages.
72
72
  */
73
73
 
74
74
  /**
75
- * @typedef AppStaffResponse
75
+ * @typedef AppStaffResponseSchema
76
76
  * @property {AppStaff[]} [staff_users] - List of staff users.
77
77
  */
78
78
 
79
79
  /**
80
- * @typedef AppStaffListResponse
80
+ * @typedef AppStaffListResponseSchema
81
81
  * @property {Page} [page]
82
82
  * @property {AppStaff[]} [items] - List of staff users.
83
83
  */
84
84
 
85
85
  /**
86
- * @typedef OrderingStoreSelectRequest
86
+ * @typedef OrderingStoreSelectRequestSchema
87
87
  * @property {OrderingStoreSelect} ordering_store
88
88
  */
89
89
 
@@ -112,7 +112,7 @@ const Joi = require("joi");
112
112
  */
113
113
 
114
114
  /**
115
- * @typedef AppTokenResponse
115
+ * @typedef AppTokenResponseSchema
116
116
  * @property {Tokens} [tokens]
117
117
  * @property {string} [_id] - The unique identifier (24-digit Mongo Object ID)
118
118
  * of the token.
@@ -453,7 +453,7 @@ const Joi = require("joi");
453
453
  */
454
454
 
455
455
  /**
456
- * @typedef AppFeatureResponse
456
+ * @typedef AppFeatureResponseSchema
457
457
  * @property {AppFeature} [feature]
458
458
  */
459
459
 
@@ -583,17 +583,12 @@ const Joi = require("joi");
583
583
  */
584
584
 
585
585
  /**
586
- * @typedef InvalidPayloadRequest
586
+ * @typedef InvalidPayloadRequestSchema
587
587
  * @property {string} [message] - Error message when request body payload is improper.
588
588
  */
589
589
 
590
590
  /**
591
- * @typedef UnhandledError
592
- * @property {string} [message] - Error message for unhandled errors.
593
- */
594
-
595
- /**
596
- * @typedef SuccessMessageResponse
591
+ * @typedef SuccessMessageResponseSchema
597
592
  * @property {string} [message] - Success message shown to the user (in a string format).
598
593
  */
599
594
 
@@ -817,7 +812,7 @@ const Joi = require("joi");
817
812
  */
818
813
 
819
814
  /**
820
- * @typedef CurrenciesResponse
815
+ * @typedef CurrenciesResponseSchema
821
816
  * @property {Currency[]} [items] - A list of currency objects. Each object
822
817
  * represents a different currency.
823
818
  */
@@ -831,7 +826,7 @@ const Joi = require("joi");
831
826
  */
832
827
 
833
828
  /**
834
- * @typedef AppCurrencyResponse
829
+ * @typedef AppCurrencyResponseSchema
835
830
  * @property {string} [application] - Alphanumeric ID allotted to an application
836
831
  * (sales channel website) created within a business account.
837
832
  * @property {DefaultCurrency} [default_currency]
@@ -894,8 +889,8 @@ const Joi = require("joi");
894
889
  */
895
890
 
896
891
  class ConfigurationApplicationModel {
897
- /** @returns {ApplicationAboutResponse} */
898
- static ApplicationAboutResponse() {
892
+ /** @returns {ApplicationAboutResponseSchema} */
893
+ static ApplicationAboutResponseSchema() {
899
894
  return Joi.object({
900
895
  application_info: ConfigurationApplicationModel.ApplicationInfo(),
901
896
  });
@@ -965,8 +960,8 @@ class ConfigurationApplicationModel {
965
960
  });
966
961
  }
967
962
 
968
- /** @returns {LanguageResponse} */
969
- static LanguageResponse() {
963
+ /** @returns {LanguageResponseSchema} */
964
+ static LanguageResponseSchema() {
970
965
  return Joi.object({
971
966
  items: Joi.array().items(
972
967
  ConfigurationApplicationModel.SupportedLanguage()
@@ -974,23 +969,23 @@ class ConfigurationApplicationModel {
974
969
  });
975
970
  }
976
971
 
977
- /** @returns {AppStaffResponse} */
978
- static AppStaffResponse() {
972
+ /** @returns {AppStaffResponseSchema} */
973
+ static AppStaffResponseSchema() {
979
974
  return Joi.object({
980
975
  staff_users: Joi.array().items(ConfigurationApplicationModel.AppStaff()),
981
976
  });
982
977
  }
983
978
 
984
- /** @returns {AppStaffListResponse} */
985
- static AppStaffListResponse() {
979
+ /** @returns {AppStaffListResponseSchema} */
980
+ static AppStaffListResponseSchema() {
986
981
  return Joi.object({
987
982
  page: ConfigurationApplicationModel.Page(),
988
983
  items: Joi.array().items(ConfigurationApplicationModel.AppStaff()),
989
984
  });
990
985
  }
991
986
 
992
- /** @returns {OrderingStoreSelectRequest} */
993
- static OrderingStoreSelectRequest() {
987
+ /** @returns {OrderingStoreSelectRequestSchema} */
988
+ static OrderingStoreSelectRequestSchema() {
994
989
  return Joi.object({
995
990
  ordering_store: ConfigurationApplicationModel.OrderingStoreSelect().required(),
996
991
  });
@@ -1019,8 +1014,8 @@ class ConfigurationApplicationModel {
1019
1014
  });
1020
1015
  }
1021
1016
 
1022
- /** @returns {AppTokenResponse} */
1023
- static AppTokenResponse() {
1017
+ /** @returns {AppTokenResponseSchema} */
1018
+ static AppTokenResponseSchema() {
1024
1019
  return Joi.object({
1025
1020
  tokens: ConfigurationApplicationModel.Tokens(),
1026
1021
  _id: Joi.string().allow(""),
@@ -1225,8 +1220,8 @@ class ConfigurationApplicationModel {
1225
1220
  static LaunchPage() {
1226
1221
  return Joi.object({
1227
1222
  page_type: Joi.string().allow(""),
1228
- params: Joi.any(),
1229
- query: Joi.any(),
1223
+ params: Joi.object().pattern(/\S/, Joi.any()),
1224
+ query: Joi.object().pattern(/\S/, Joi.any()),
1230
1225
  });
1231
1226
  }
1232
1227
 
@@ -1392,8 +1387,8 @@ class ConfigurationApplicationModel {
1392
1387
  });
1393
1388
  }
1394
1389
 
1395
- /** @returns {AppFeatureResponse} */
1396
- static AppFeatureResponse() {
1390
+ /** @returns {AppFeatureResponseSchema} */
1391
+ static AppFeatureResponseSchema() {
1397
1392
  return Joi.object({
1398
1393
  feature: ConfigurationApplicationModel.AppFeature(),
1399
1394
  });
@@ -1526,22 +1521,15 @@ class ConfigurationApplicationModel {
1526
1521
  });
1527
1522
  }
1528
1523
 
1529
- /** @returns {InvalidPayloadRequest} */
1530
- static InvalidPayloadRequest() {
1531
- return Joi.object({
1532
- message: Joi.string().allow(""),
1533
- });
1534
- }
1535
-
1536
- /** @returns {UnhandledError} */
1537
- static UnhandledError() {
1524
+ /** @returns {InvalidPayloadRequestSchema} */
1525
+ static InvalidPayloadRequestSchema() {
1538
1526
  return Joi.object({
1539
1527
  message: Joi.string().allow(""),
1540
1528
  });
1541
1529
  }
1542
1530
 
1543
- /** @returns {SuccessMessageResponse} */
1544
- static SuccessMessageResponse() {
1531
+ /** @returns {SuccessMessageResponseSchema} */
1532
+ static SuccessMessageResponseSchema() {
1545
1533
  return Joi.object({
1546
1534
  message: Joi.string().allow(""),
1547
1535
  });
@@ -1804,8 +1792,8 @@ class ConfigurationApplicationModel {
1804
1792
  });
1805
1793
  }
1806
1794
 
1807
- /** @returns {CurrenciesResponse} */
1808
- static CurrenciesResponse() {
1795
+ /** @returns {CurrenciesResponseSchema} */
1796
+ static CurrenciesResponseSchema() {
1809
1797
  return Joi.object({
1810
1798
  items: Joi.array().items(ConfigurationApplicationModel.Currency()),
1811
1799
  });
@@ -1819,8 +1807,8 @@ class ConfigurationApplicationModel {
1819
1807
  });
1820
1808
  }
1821
1809
 
1822
- /** @returns {AppCurrencyResponse} */
1823
- static AppCurrencyResponse() {
1810
+ /** @returns {AppCurrencyResponseSchema} */
1811
+ static AppCurrencyResponseSchema() {
1824
1812
  return Joi.object({
1825
1813
  application: Joi.string().allow(""),
1826
1814
  default_currency: ConfigurationApplicationModel.DefaultCurrency(),
@@ -35,7 +35,7 @@ export = ConfigurationApplicationValidator;
35
35
  /** @typedef GetLanguagesParam */
36
36
  /**
37
37
  * @typedef GetOrderingStoreCookieParam
38
- * @property {ConfigurationApplicationModel.OrderingStoreSelectRequest} body
38
+ * @property {ConfigurationApplicationModel.OrderingStoreSelectRequestSchema} body
39
39
  */
40
40
  /**
41
41
  * @typedef GetOrderingStoresParam
@@ -142,7 +142,7 @@ type GetCurrencyByIdParam = {
142
142
  id: string;
143
143
  };
144
144
  type GetOrderingStoreCookieParam = {
145
- body: ConfigurationApplicationModel.OrderingStoreSelectRequest;
145
+ body: ConfigurationApplicationModel.OrderingStoreSelectRequestSchema;
146
146
  };
147
147
  type GetOrderingStoresParam = {
148
148
  /**
@@ -49,7 +49,7 @@ const ConfigurationApplicationModel = require("./ConfigurationApplicationModel")
49
49
 
50
50
  /**
51
51
  * @typedef GetOrderingStoreCookieParam
52
- * @property {ConfigurationApplicationModel.OrderingStoreSelectRequest} body
52
+ * @property {ConfigurationApplicationModel.OrderingStoreSelectRequestSchema} body
53
53
  */
54
54
 
55
55
  /**
@@ -142,7 +142,7 @@ class ConfigurationApplicationValidator {
142
142
  /** @returns {GetOrderingStoreCookieParam} */
143
143
  static getOrderingStoreCookie() {
144
144
  return Joi.object({
145
- body: ConfigurationApplicationModel.OrderingStoreSelectRequest().required(),
145
+ body: ConfigurationApplicationModel.OrderingStoreSelectRequestSchema().required(),
146
146
  }).required();
147
147
  }
148
148
 
@@ -6,8 +6,8 @@ declare class Content {
6
6
  getAnnouncements: string;
7
7
  getBlog: string;
8
8
  getBlogs: string;
9
- getCustomFields: string;
10
- getCustomObject: string;
9
+ getCustomFieldsByResourceId: string;
10
+ getCustomObjectBySlug: string;
11
11
  getDataLoaders: string;
12
12
  getFaqBySlug: string;
13
13
  getFaqCategories: string;
@@ -49,40 +49,42 @@ declare class Content {
49
49
  * @summary: Get a blog
50
50
  * @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/).
51
51
  */
52
- getBlog({ slug, rootId, requestHeaders }?: ContentApplicationValidator.GetBlogParam, { responseHeaders }?: object): Promise<ContentApplicationModel.BlogSchema>;
52
+ getBlog({ slug, rootId, preview, requestHeaders }?: ContentApplicationValidator.GetBlogParam, { responseHeaders }?: object): Promise<ContentApplicationModel.BlogSchema>;
53
53
  /**
54
54
  * @param {ContentApplicationValidator.GetBlogsParam} arg - Arg object.
55
55
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
56
56
  * @param {import("../ApplicationAPIClient").Options} - Options
57
- * @returns {Promise<ContentApplicationModel.BlogGetResponse>} - Success response
57
+ * @returns {Promise<ContentApplicationModel.BlogGetDetails>} - Success response
58
58
  * @name getBlogs
59
59
  * @summary: List blogs
60
60
  * @description: List all the blogs against an application. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getBlogs/).
61
61
  */
62
- getBlogs({ pageNo, pageSize, tags, search, requestHeaders }?: ContentApplicationValidator.GetBlogsParam, { responseHeaders }?: object): Promise<ContentApplicationModel.BlogGetResponse>;
62
+ getBlogs({ pageNo, pageSize, tags, search, requestHeaders }?: ContentApplicationValidator.GetBlogsParam, { responseHeaders }?: object): Promise<ContentApplicationModel.BlogGetDetails>;
63
63
  /**
64
- * @param {ContentApplicationValidator.GetCustomFieldsParam} arg - Arg object.
64
+ * @param {ContentApplicationValidator.GetCustomFieldsByResourceIdParam} arg
65
+ * - Arg object.
66
+ *
65
67
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
66
68
  * @param {import("../ApplicationAPIClient").Options} - Options
67
69
  * @returns {Promise<ContentApplicationModel.CustomFieldsResponseByResourceIdSchema>}
68
70
  * - Success response
69
71
  *
70
- * @name getCustomFields
71
- * @summary: Get list of custom fields
72
- * @description: List custom fields attached to a particular resource by using the resource. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getCustomFields/).
72
+ * @name getCustomFieldsByResourceId
73
+ * @summary: Get list of custom fields of given resource and resource slug
74
+ * @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/).
73
75
  */
74
- getCustomFields({ resource, resourceId, requestHeaders }?: ContentApplicationValidator.GetCustomFieldsParam, { responseHeaders }?: object): Promise<ContentApplicationModel.CustomFieldsResponseByResourceIdSchema>;
76
+ getCustomFieldsByResourceId({ resource, resourceSlug, requestHeaders }?: ContentApplicationValidator.GetCustomFieldsByResourceIdParam, { responseHeaders }?: object): Promise<ContentApplicationModel.CustomFieldsResponseByResourceIdSchema>;
75
77
  /**
76
- * @param {ContentApplicationValidator.GetCustomObjectParam} arg - Arg object.
78
+ * @param {ContentApplicationValidator.GetCustomObjectBySlugParam} arg - Arg object.
77
79
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
78
80
  * @param {import("../ApplicationAPIClient").Options} - Options
79
81
  * @returns {Promise<ContentApplicationModel.CustomObjectByIdSchema>} -
80
82
  * Success response
81
- * @name getCustomObject
82
- * @summary: Get custom object
83
- * @description: Get 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/).
83
+ * @name getCustomObjectBySlug
84
+ * @summary: Get custom object details
85
+ * @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/).
84
86
  */
85
- getCustomObject({ metaobjectId, requestHeaders }?: ContentApplicationValidator.GetCustomObjectParam, { responseHeaders }?: object): Promise<ContentApplicationModel.CustomObjectByIdSchema>;
87
+ getCustomObjectBySlug({ definitionSlug, slug, requestHeaders }?: ContentApplicationValidator.GetCustomObjectBySlugParam, { responseHeaders }?: object): Promise<ContentApplicationModel.CustomObjectByIdSchema>;
86
88
  /**
87
89
  * @param {ContentApplicationValidator.GetDataLoadersParam} arg - Arg object.
88
90
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
@@ -169,13 +171,12 @@ declare class Content {
169
171
  * @param {ContentApplicationValidator.GetNavigationsParam} arg - Arg object.
170
172
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
171
173
  * @param {import("../ApplicationAPIClient").Options} - Options
172
- * @returns {Promise<ContentApplicationModel.NavigationGetResponse>} -
173
- * Success response
174
+ * @returns {Promise<ContentApplicationModel.NavigationGetDetails>} - Success response
174
175
  * @name getNavigations
175
176
  * @summary: List navigation items
176
177
  * @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/).
177
178
  */
178
- getNavigations({ pageNo, pageSize, requestHeaders }?: ContentApplicationValidator.GetNavigationsParam, { responseHeaders }?: object): Promise<ContentApplicationModel.NavigationGetResponse>;
179
+ getNavigations({ pageNo, pageSize, requestHeaders }?: ContentApplicationValidator.GetNavigationsParam, { responseHeaders }?: object): Promise<ContentApplicationModel.NavigationGetDetails>;
179
180
  /**
180
181
  * @param {ContentApplicationValidator.GetPageParam} arg - Arg object.
181
182
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
@@ -190,12 +191,12 @@ declare class Content {
190
191
  * @param {ContentApplicationValidator.GetPagesParam} arg - Arg object.
191
192
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
192
193
  * @param {import("../ApplicationAPIClient").Options} - Options
193
- * @returns {Promise<ContentApplicationModel.PageGetResponse>} - Success response
194
+ * @returns {Promise<ContentApplicationModel.PageGetDetails>} - Success response
194
195
  * @name getPages
195
196
  * @summary: Lists pages
196
197
  * @description: Lists all Custom Pages. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getPages/).
197
198
  */
198
- getPages({ pageNo, pageSize, requestHeaders }?: ContentApplicationValidator.GetPagesParam, { responseHeaders }?: object): Promise<ContentApplicationModel.PageGetResponse>;
199
+ getPages({ pageNo, pageSize, requestHeaders }?: ContentApplicationValidator.GetPagesParam, { responseHeaders }?: object): Promise<ContentApplicationModel.PageGetDetails>;
199
200
  /**
200
201
  * @param {ContentApplicationValidator.GetSEOConfigurationParam} arg - Arg object.
201
202
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
@@ -230,22 +231,12 @@ declare class Content {
230
231
  * @param {ContentApplicationValidator.GetSlideshowsParam} arg - Arg object.
231
232
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
232
233
  * @param {import("../ApplicationAPIClient").Options} - Options
233
- * @returns {Promise<ContentApplicationModel.SlideshowGetResponse>} - Success response
234
+ * @returns {Promise<ContentApplicationModel.SlideshowGetDetails>} - Success response
234
235
  * @name getSlideshows
235
236
  * @summary: List Slideshows
236
237
  * @description: List slideshows along with their details. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/content/getSlideshows/).
237
238
  */
238
- getSlideshows({ pageNo, pageSize, requestHeaders }?: ContentApplicationValidator.GetSlideshowsParam, { responseHeaders }?: object): Promise<ContentApplicationModel.SlideshowGetResponse>;
239
- /**
240
- * @param {Object} arg - Arg object.
241
- * @param {number} [arg.pageSize] - The number of items to retrieve in each page.
242
- * @returns {Paginator<ContentApplicationModel.SlideshowGetResponse>}
243
- * @summary: List Slideshows
244
- * @description: List slideshows along with their details.
245
- */
246
- getSlideshowsPaginator({ pageSize }?: {
247
- pageSize?: number;
248
- }): Paginator<ContentApplicationModel.SlideshowGetResponse>;
239
+ getSlideshows({ pageNo, pageSize, requestHeaders }?: ContentApplicationValidator.GetSlideshowsParam, { responseHeaders }?: object): Promise<ContentApplicationModel.SlideshowGetDetails>;
249
240
  /**
250
241
  * @param {ContentApplicationValidator.GetSupportInformationParam} arg - Arg object.
251
242
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
@@ -269,4 +260,3 @@ declare class Content {
269
260
  }
270
261
  import ContentApplicationModel = require("./ContentApplicationModel");
271
262
  import ContentApplicationValidator = require("./ContentApplicationValidator");
272
- import Paginator = require("../../common/Paginator");