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