@gofynd/fdk-client-javascript 1.6.3 → 3.0.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (298) hide show
  1. package/README.md +1 -1
  2. package/package.json +1 -1
  3. package/sdk/application/ApplicationClient.d.ts +0 -2
  4. package/sdk/application/ApplicationClient.js +0 -2
  5. package/sdk/application/Cart/CartApplicationClient.d.ts +113 -93
  6. package/sdk/application/Cart/CartApplicationClient.js +270 -139
  7. package/sdk/application/Catalog/CatalogApplicationClient.d.ts +110 -110
  8. package/sdk/application/Catalog/CatalogApplicationClient.js +122 -138
  9. package/sdk/application/Common/CommonApplicationClient.d.ts +4 -4
  10. package/sdk/application/Common/CommonApplicationClient.js +3 -3
  11. package/sdk/application/Communication/CommunicationApplicationClient.d.ts +43 -3
  12. package/sdk/application/Communication/CommunicationApplicationClient.js +190 -3
  13. package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +71 -36
  14. package/sdk/application/Configuration/ConfigurationApplicationClient.js +103 -29
  15. package/sdk/application/Content/ContentApplicationClient.d.ts +51 -21
  16. package/sdk/application/Content/ContentApplicationClient.js +197 -36
  17. package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +6 -6
  18. package/sdk/application/FileStorage/FileStorageApplicationClient.js +3 -3
  19. package/sdk/application/Lead/LeadApplicationClient.d.ts +3 -3
  20. package/sdk/application/Lead/LeadApplicationClient.js +3 -3
  21. package/sdk/application/Logistic/LogisticApplicationClient.d.ts +79 -64
  22. package/sdk/application/Logistic/LogisticApplicationClient.js +246 -264
  23. package/sdk/application/Order/OrderApplicationClient.d.ts +44 -24
  24. package/sdk/application/Order/OrderApplicationClient.js +140 -21
  25. package/sdk/application/Payment/PaymentApplicationClient.d.ts +211 -111
  26. package/sdk/application/Payment/PaymentApplicationClient.js +610 -109
  27. package/sdk/application/Rewards/RewardsApplicationClient.d.ts +13 -13
  28. package/sdk/application/Rewards/RewardsApplicationClient.js +7 -7
  29. package/sdk/application/Share/ShareApplicationClient.d.ts +7 -7
  30. package/sdk/application/Share/ShareApplicationClient.js +14 -14
  31. package/sdk/application/Theme/ThemeApplicationClient.d.ts +23 -3
  32. package/sdk/application/Theme/ThemeApplicationClient.js +103 -5
  33. package/sdk/application/User/UserApplicationClient.d.ts +13 -23
  34. package/sdk/application/User/UserApplicationClient.js +9 -57
  35. package/sdk/application/Webhook/WebhookApplicationClient.d.ts +4 -4
  36. package/sdk/application/Webhook/WebhookApplicationClient.js +3 -3
  37. package/sdk/partner/Authorization/AuthorizationPartnerClient.d.ts +66 -0
  38. package/sdk/partner/Authorization/AuthorizationPartnerClient.js +431 -0
  39. package/sdk/partner/Authorization/AuthorizationPartnerModel.d.ts +231 -0
  40. package/sdk/partner/Authorization/AuthorizationPartnerModel.js +152 -0
  41. package/sdk/partner/Authorization/AuthorizationPartnerValidator.d.ts +8 -0
  42. package/sdk/partner/Authorization/AuthorizationPartnerValidator.js +39 -0
  43. package/sdk/partner/Catalog/CatalogPartnerClient.d.ts +26 -0
  44. package/sdk/partner/Catalog/CatalogPartnerClient.js +173 -0
  45. package/sdk/partner/Catalog/CatalogPartnerModel.d.ts +238 -0
  46. package/sdk/partner/Catalog/CatalogPartnerModel.js +248 -0
  47. package/sdk/partner/Catalog/CatalogPartnerValidator.d.ts +5 -0
  48. package/sdk/partner/Catalog/CatalogPartnerValidator.js +19 -0
  49. package/sdk/partner/FileStorage/FileStoragePartnerClient.d.ts +12 -22
  50. package/sdk/partner/FileStorage/FileStoragePartnerClient.js +12 -87
  51. package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +33 -99
  52. package/sdk/partner/FileStorage/FileStoragePartnerModel.js +25 -84
  53. package/sdk/partner/FileStorage/FileStoragePartnerValidator.d.ts +0 -1
  54. package/sdk/partner/FileStorage/FileStoragePartnerValidator.js +4 -10
  55. package/sdk/partner/Lead/LeadPartnerClient.d.ts +5 -5
  56. package/sdk/partner/Lead/LeadPartnerClient.js +4 -4
  57. package/sdk/partner/Lead/LeadPartnerModel.d.ts +100 -49
  58. package/sdk/partner/Lead/LeadPartnerModel.js +100 -74
  59. package/sdk/partner/Lead/LeadPartnerValidator.js +1 -1
  60. package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +33 -160
  61. package/sdk/partner/Logistics/LogisticsPartnerClient.js +66 -1180
  62. package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +288 -1685
  63. package/sdk/partner/Logistics/LogisticsPartnerModel.js +226 -824
  64. package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +1 -13
  65. package/sdk/partner/Logistics/LogisticsPartnerValidator.js +14 -141
  66. package/sdk/partner/PartnerClient.d.ts +6 -0
  67. package/sdk/partner/PartnerClient.js +9 -0
  68. package/sdk/partner/Payment/PaymentPartnerClient.d.ts +116 -0
  69. package/sdk/partner/Payment/PaymentPartnerClient.js +857 -0
  70. package/sdk/partner/Payment/PaymentPartnerModel.d.ts +388 -0
  71. package/sdk/partner/Payment/PaymentPartnerModel.js +442 -0
  72. package/sdk/partner/Payment/PaymentPartnerValidator.d.ts +14 -0
  73. package/sdk/partner/Payment/PaymentPartnerValidator.js +74 -0
  74. package/sdk/partner/Theme/ThemePartnerClient.d.ts +63 -21
  75. package/sdk/partner/Theme/ThemePartnerClient.js +396 -71
  76. package/sdk/partner/Theme/ThemePartnerModel.d.ts +104 -72
  77. package/sdk/partner/Theme/ThemePartnerModel.js +101 -75
  78. package/sdk/partner/Theme/ThemePartnerValidator.d.ts +5 -1
  79. package/sdk/partner/Theme/ThemePartnerValidator.js +42 -12
  80. package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +18 -18
  81. package/sdk/partner/Webhook/WebhookPartnerClient.js +18 -18
  82. package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +191 -612
  83. package/sdk/partner/Webhook/WebhookPartnerModel.js +159 -234
  84. package/sdk/partner/Webhook/WebhookPartnerValidator.js +3 -3
  85. package/sdk/partner/index.d.ts +3 -0
  86. package/sdk/partner/index.js +6 -0
  87. package/sdk/platform/Analytics/AnalyticsPlatformApplicationValidator.d.ts +1 -4
  88. package/sdk/platform/Analytics/AnalyticsPlatformApplicationValidator.js +1 -1
  89. package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +5 -0
  90. package/sdk/platform/Analytics/AnalyticsPlatformModel.js +3 -1
  91. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +32 -2
  92. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +243 -3
  93. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +145 -49
  94. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +171 -20
  95. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +39 -1
  96. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +35 -0
  97. package/sdk/platform/Billing/BillingPlatformClient.d.ts +406 -15
  98. package/sdk/platform/Billing/BillingPlatformClient.js +3214 -76
  99. package/sdk/platform/Billing/BillingPlatformModel.d.ts +3798 -459
  100. package/sdk/platform/Billing/BillingPlatformModel.js +2577 -342
  101. package/sdk/platform/Billing/BillingPlatformValidator.d.ts +465 -24
  102. package/sdk/platform/Billing/BillingPlatformValidator.js +490 -14
  103. package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +284 -205
  104. package/sdk/platform/Cart/CartPlatformApplicationClient.js +671 -553
  105. package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +165 -165
  106. package/sdk/platform/Cart/CartPlatformApplicationValidator.js +108 -132
  107. package/sdk/platform/Cart/CartPlatformModel.d.ts +3136 -4788
  108. package/sdk/platform/Cart/CartPlatformModel.js +2850 -2031
  109. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +1015 -419
  110. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +6450 -2010
  111. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +1121 -230
  112. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +919 -127
  113. package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +372 -574
  114. package/sdk/platform/Catalog/CatalogPlatformClient.js +1238 -1317
  115. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +8351 -9825
  116. package/sdk/platform/Catalog/CatalogPlatformModel.js +9662 -6881
  117. package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +288 -235
  118. package/sdk/platform/Catalog/CatalogPlatformValidator.js +241 -183
  119. package/sdk/platform/Common/CommonPlatformClient.d.ts +5 -6
  120. package/sdk/platform/Common/CommonPlatformClient.js +5 -6
  121. package/sdk/platform/Common/CommonPlatformModel.d.ts +9 -9
  122. package/sdk/platform/Common/CommonPlatformModel.js +6 -6
  123. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +374 -234
  124. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +875 -583
  125. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +170 -139
  126. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +145 -126
  127. package/sdk/platform/Communication/CommunicationPlatformClient.d.ts +56 -3
  128. package/sdk/platform/Communication/CommunicationPlatformClient.js +307 -4
  129. package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +424 -252
  130. package/sdk/platform/Communication/CommunicationPlatformModel.js +540 -320
  131. package/sdk/platform/Communication/CommunicationPlatformValidator.d.ts +62 -3
  132. package/sdk/platform/Communication/CommunicationPlatformValidator.js +48 -2
  133. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +68 -99
  134. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +84 -140
  135. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +238 -256
  136. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +222 -244
  137. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +20 -20
  138. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +20 -20
  139. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +333 -118
  140. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +1470 -409
  141. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +158 -55
  142. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +163 -41
  143. package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +151 -61
  144. package/sdk/platform/Configuration/ConfigurationPlatformClient.js +595 -101
  145. package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +1199 -462
  146. package/sdk/platform/Configuration/ConfigurationPlatformModel.js +1008 -321
  147. package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +80 -34
  148. package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +79 -24
  149. package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +253 -140
  150. package/sdk/platform/Content/ContentPlatformApplicationClient.js +1087 -458
  151. package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +221 -178
  152. package/sdk/platform/Content/ContentPlatformApplicationValidator.js +220 -157
  153. package/sdk/platform/Content/ContentPlatformClient.d.ts +124 -123
  154. package/sdk/platform/Content/ContentPlatformClient.js +459 -379
  155. package/sdk/platform/Content/ContentPlatformModel.d.ts +833 -1307
  156. package/sdk/platform/Content/ContentPlatformModel.js +893 -582
  157. package/sdk/platform/Content/ContentPlatformValidator.d.ts +140 -150
  158. package/sdk/platform/Content/ContentPlatformValidator.js +131 -135
  159. package/sdk/platform/Discount/DiscountPlatformClient.d.ts +60 -36
  160. package/sdk/platform/Discount/DiscountPlatformClient.js +85 -36
  161. package/sdk/platform/Discount/DiscountPlatformModel.d.ts +46 -47
  162. package/sdk/platform/Discount/DiscountPlatformModel.js +42 -46
  163. package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +2 -2
  164. package/sdk/platform/Discount/DiscountPlatformValidator.js +2 -2
  165. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +18 -15
  166. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +24 -22
  167. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +4 -4
  168. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +4 -4
  169. package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +8 -8
  170. package/sdk/platform/FileStorage/FileStoragePlatformClient.js +8 -8
  171. package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +75 -86
  172. package/sdk/platform/FileStorage/FileStoragePlatformModel.js +60 -74
  173. package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +6 -6
  174. package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +6 -6
  175. package/sdk/platform/Finance/FinancePlatformClient.d.ts +320 -0
  176. package/sdk/platform/Finance/FinancePlatformClient.js +2333 -0
  177. package/sdk/platform/Finance/FinancePlatformModel.d.ts +2895 -0
  178. package/sdk/platform/Finance/FinancePlatformModel.js +2150 -0
  179. package/sdk/platform/Finance/FinancePlatformValidator.d.ts +284 -0
  180. package/sdk/platform/Finance/FinancePlatformValidator.js +354 -0
  181. package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +17 -17
  182. package/sdk/platform/Lead/LeadPlatformApplicationClient.js +33 -33
  183. package/sdk/platform/Lead/LeadPlatformApplicationValidator.d.ts +19 -19
  184. package/sdk/platform/Lead/LeadPlatformApplicationValidator.js +14 -14
  185. package/sdk/platform/Lead/LeadPlatformClient.d.ts +4 -24
  186. package/sdk/platform/Lead/LeadPlatformClient.js +4 -160
  187. package/sdk/platform/Lead/LeadPlatformModel.d.ts +142 -57
  188. package/sdk/platform/Lead/LeadPlatformModel.js +162 -79
  189. package/sdk/platform/Lead/LeadPlatformValidator.d.ts +3 -29
  190. package/sdk/platform/Lead/LeadPlatformValidator.js +2 -28
  191. package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +94 -25
  192. package/sdk/platform/Order/OrderPlatformApplicationClient.js +600 -57
  193. package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +115 -115
  194. package/sdk/platform/Order/OrderPlatformApplicationValidator.js +120 -43
  195. package/sdk/platform/Order/OrderPlatformClient.d.ts +502 -293
  196. package/sdk/platform/Order/OrderPlatformClient.js +1466 -913
  197. package/sdk/platform/Order/OrderPlatformModel.d.ts +4111 -9093
  198. package/sdk/platform/Order/OrderPlatformModel.js +3202 -4230
  199. package/sdk/platform/Order/OrderPlatformValidator.d.ts +445 -612
  200. package/sdk/platform/Order/OrderPlatformValidator.js +316 -326
  201. package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +4 -6
  202. package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +7 -9
  203. package/sdk/platform/Partner/PartnerPlatformModel.d.ts +9 -9
  204. package/sdk/platform/Partner/PartnerPlatformModel.js +7 -7
  205. package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +382 -135
  206. package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +2453 -935
  207. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +306 -93
  208. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +305 -70
  209. package/sdk/platform/Payment/PaymentPlatformClient.d.ts +66 -56
  210. package/sdk/platform/Payment/PaymentPlatformClient.js +269 -124
  211. package/sdk/platform/Payment/PaymentPlatformModel.d.ts +3525 -1313
  212. package/sdk/platform/Payment/PaymentPlatformModel.js +3813 -1511
  213. package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +64 -35
  214. package/sdk/platform/Payment/PaymentPlatformValidator.js +60 -34
  215. package/sdk/platform/PlatformClient.d.ts +2 -0
  216. package/sdk/platform/PlatformClient.js +4 -0
  217. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +2 -2
  218. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +2 -2
  219. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +2 -2
  220. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.js +2 -2
  221. package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +14 -9
  222. package/sdk/platform/Rewards/RewardsPlatformModel.js +10 -8
  223. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +344 -56
  224. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +2180 -302
  225. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +380 -54
  226. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +336 -37
  227. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +127 -213
  228. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +538 -1306
  229. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +3429 -2979
  230. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +3642 -1785
  231. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +218 -392
  232. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +151 -290
  233. package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +4 -16
  234. package/sdk/platform/Share/SharePlatformApplicationClient.js +8 -86
  235. package/sdk/platform/Share/SharePlatformApplicationValidator.d.ts +6 -23
  236. package/sdk/platform/Share/SharePlatformApplicationValidator.js +3 -16
  237. package/sdk/platform/Share/SharePlatformModel.d.ts +6 -50
  238. package/sdk/platform/Share/SharePlatformModel.js +3 -43
  239. package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +26 -4
  240. package/sdk/platform/Theme/ThemePlatformApplicationClient.js +157 -10
  241. package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +21 -10
  242. package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +23 -6
  243. package/sdk/platform/Theme/ThemePlatformClient.d.ts +18 -8
  244. package/sdk/platform/Theme/ThemePlatformClient.js +85 -8
  245. package/sdk/platform/Theme/ThemePlatformModel.d.ts +425 -17
  246. package/sdk/platform/Theme/ThemePlatformModel.js +329 -23
  247. package/sdk/platform/Theme/ThemePlatformValidator.d.ts +7 -3
  248. package/sdk/platform/Theme/ThemePlatformValidator.js +9 -2
  249. package/sdk/platform/User/UserPlatformApplicationClient.d.ts +22 -12
  250. package/sdk/platform/User/UserPlatformApplicationClient.js +91 -12
  251. package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +15 -3
  252. package/sdk/platform/User/UserPlatformApplicationValidator.js +14 -2
  253. package/sdk/platform/User/UserPlatformModel.d.ts +223 -59
  254. package/sdk/platform/User/UserPlatformModel.js +204 -65
  255. package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +78 -25
  256. package/sdk/platform/Webhook/WebhookPlatformClient.js +470 -75
  257. package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +434 -758
  258. package/sdk/platform/Webhook/WebhookPlatformModel.js +395 -410
  259. package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +55 -10
  260. package/sdk/platform/Webhook/WebhookPlatformValidator.js +72 -12
  261. package/sdk/platform/index.d.ts +1 -0
  262. package/sdk/platform/index.js +2 -0
  263. package/sdk/public/Billing/BillingPublicClient.d.ts +56 -0
  264. package/sdk/public/Billing/BillingPublicClient.js +397 -0
  265. package/sdk/public/Billing/BillingPublicModel.d.ts +919 -0
  266. package/sdk/public/Billing/BillingPublicModel.js +560 -0
  267. package/sdk/public/Billing/BillingPublicValidator.d.ts +43 -0
  268. package/sdk/public/Billing/BillingPublicValidator.js +50 -0
  269. package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +14 -4
  270. package/sdk/public/Configuration/ConfigurationPublicClient.js +97 -9
  271. package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +102 -40
  272. package/sdk/public/Configuration/ConfigurationPublicModel.js +111 -29
  273. package/sdk/public/Configuration/ConfigurationPublicValidator.d.ts +11 -1
  274. package/sdk/public/Configuration/ConfigurationPublicValidator.js +12 -0
  275. package/sdk/public/Content/ContentPublicClient.d.ts +22 -0
  276. package/sdk/public/Content/ContentPublicClient.js +183 -0
  277. package/sdk/public/Content/ContentPublicModel.d.ts +38 -1
  278. package/sdk/public/Content/ContentPublicModel.js +47 -1
  279. package/sdk/public/Content/ContentPublicValidator.d.ts +17 -1
  280. package/sdk/public/Content/ContentPublicValidator.js +19 -0
  281. package/sdk/public/PublicClient.d.ts +2 -2
  282. package/sdk/public/PublicClient.js +2 -2
  283. package/sdk/public/Webhook/WebhookPublicClient.d.ts +8 -8
  284. package/sdk/public/Webhook/WebhookPublicClient.js +8 -8
  285. package/sdk/public/Webhook/WebhookPublicModel.d.ts +67 -215
  286. package/sdk/public/Webhook/WebhookPublicModel.js +61 -66
  287. package/sdk/public/Webhook/WebhookPublicValidator.d.ts +4 -4
  288. package/sdk/public/Webhook/WebhookPublicValidator.js +4 -4
  289. package/sdk/public/index.d.ts +1 -1
  290. package/sdk/public/index.js +1 -1
  291. package/sdk/application/Finance/FinanceApplicationClient.d.ts +0 -29
  292. package/sdk/application/Finance/FinanceApplicationClient.js +0 -126
  293. package/sdk/public/Catalog/CatalogPublicClient.d.ts +0 -22
  294. package/sdk/public/Catalog/CatalogPublicClient.js +0 -138
  295. package/sdk/public/Catalog/CatalogPublicModel.d.ts +0 -155
  296. package/sdk/public/Catalog/CatalogPublicModel.js +0 -116
  297. package/sdk/public/Catalog/CatalogPublicValidator.d.ts +0 -55
  298. package/sdk/public/Catalog/CatalogPublicValidator.js +0 -35
@@ -2,6 +2,20 @@ export = Content;
2
2
  declare class Content {
3
3
  constructor(config: any);
4
4
  config: any;
5
+ /**
6
+ * @param {ContentPlatformValidator.CreateCustomFieldByResourceIdParam} arg
7
+ * - Arg object
8
+ *
9
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
10
+ * @param {import("../PlatformAPIClient").Options} - Options
11
+ * @returns {Promise<ContentPlatformModel.CustomFieldsResponseByResourceIdSchema>}
12
+ * - Success response
13
+ *
14
+ * @name createCustomFieldByResourceId
15
+ * @summary: Create custom field entries for gives resource and resource_id
16
+ * @description: Use this API to create the custom field entry for given resource and resource_id in param. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/createCustomFieldByResourceId/).
17
+ */
18
+ createCustomFieldByResourceId({ resource, resourceId, body, requestHeaders }?: ContentPlatformValidator.CreateCustomFieldByResourceIdParam, { responseHeaders }?: object): Promise<ContentPlatformModel.CustomFieldsResponseByResourceIdSchema>;
5
19
  /**
6
20
  * @param {ContentPlatformValidator.CreateCustomFieldDefinitionParam} arg - Arg object
7
21
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
@@ -10,71 +24,68 @@ declare class Content {
10
24
  * - Success response
11
25
  *
12
26
  * @name createCustomFieldDefinition
13
- * @summary: Create custom field definition for a given resource type
27
+ * @summary: Create custom field definition
14
28
  * @description: You can create custom fields definition to any resource so you can extend property of resource. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/createCustomFieldDefinition/).
15
29
  */
16
- createCustomFieldDefinition({ resource, body, requestHeaders }?: ContentPlatformValidator.CreateCustomFieldDefinitionParam, { responseHeaders }?: object): Promise<ContentPlatformModel.CustomFieldDefinitionDetailResSchema>;
30
+ createCustomFieldDefinition({ body, requestHeaders }?: ContentPlatformValidator.CreateCustomFieldDefinitionParam, { responseHeaders }?: object): Promise<ContentPlatformModel.CustomFieldDefinitionDetailResSchema>;
17
31
  /**
18
- * @param {ContentPlatformValidator.CreateCustomObjectBySlugParam} arg - Arg object
32
+ * @param {ContentPlatformValidator.CreateCustomObjectParam} arg - Arg object
19
33
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
20
34
  * @param {import("../PlatformAPIClient").Options} - Options
21
35
  * @returns {Promise<ContentPlatformModel.CustomObjectSchema>} - Success response
22
- * @name createCustomObjectBySlug
36
+ * @name createCustomObject
23
37
  * @summary: Create custom object entries
24
- * @description: Custom object entries against the custom object definition can be added using this API. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/createCustomObjectBySlug/).
38
+ * @description: Custom object entries against the custom object definition can be added using this API. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/createCustomObject/).
25
39
  */
26
- createCustomObjectBySlug({ definitionSlug, body, requestHeaders }?: ContentPlatformValidator.CreateCustomObjectBySlugParam, { responseHeaders }?: object): Promise<ContentPlatformModel.CustomObjectSchema>;
40
+ createCustomObject({ body, requestHeaders }?: ContentPlatformValidator.CreateCustomObjectParam, { responseHeaders }?: object): Promise<ContentPlatformModel.CustomObjectSchema>;
27
41
  /**
28
42
  * @param {ContentPlatformValidator.CreateCustomObjectDefinitionParam} arg
29
43
  * - Arg object
30
44
  *
31
45
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
32
46
  * @param {import("../PlatformAPIClient").Options} - Options
33
- * @returns {Promise<ContentPlatformModel.CustomObjectDefinitionSlugSchema>}
34
- * - Success response
35
- *
47
+ * @returns {Promise<ContentPlatformModel.CustomObjectDefinitionSchema>} -
48
+ * Success response
36
49
  * @name createCustomObjectDefinition
37
50
  * @summary: Create custom object definition
38
51
  * @description: Create a custom object that will have a collection of custom fields and can be used anywhere in the custom field for any resource. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/createCustomObjectDefinition/).
39
52
  */
40
- createCustomObjectDefinition({ body, requestHeaders }?: ContentPlatformValidator.CreateCustomObjectDefinitionParam, { responseHeaders }?: object): Promise<ContentPlatformModel.CustomObjectDefinitionSlugSchema>;
53
+ createCustomObjectDefinition({ body, requestHeaders }?: ContentPlatformValidator.CreateCustomObjectDefinitionParam, { responseHeaders }?: object): Promise<ContentPlatformModel.CustomObjectDefinitionSchema>;
41
54
  /**
42
- * @param {ContentPlatformValidator.DeleteCustomFieldDefinitionBySlugParam} arg
43
- * - Arg object
44
- *
55
+ * @param {ContentPlatformValidator.DeleteCustomFieldDefinitionParam} arg - Arg object
45
56
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
46
57
  * @param {import("../PlatformAPIClient").Options} - Options
47
58
  * @returns {Promise<ContentPlatformModel.CustomDataDeleteSchema>} - Success response
48
- * @name deleteCustomFieldDefinitionBySlug
59
+ * @name deleteCustomFieldDefinition
49
60
  * @summary: Delete custom fields definition
50
- * @description: Custom field definition and its assosiated custom fields value can be deleted using this api on the basis of definition id. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/deleteCustomFieldDefinitionBySlug/).
61
+ * @description: Custom field definition and its assosiated custom fields value can be deleted using this api on the basis of definition id. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/deleteCustomFieldDefinition/).
51
62
  */
52
- deleteCustomFieldDefinitionBySlug({ slug, resource, namespace, requestHeaders }?: ContentPlatformValidator.DeleteCustomFieldDefinitionBySlugParam, { responseHeaders }?: object): Promise<ContentPlatformModel.CustomDataDeleteSchema>;
63
+ deleteCustomFieldDefinition({ id, requestHeaders }?: ContentPlatformValidator.DeleteCustomFieldDefinitionParam, { responseHeaders }?: object): Promise<ContentPlatformModel.CustomDataDeleteSchema>;
53
64
  /**
54
- * @param {ContentPlatformValidator.DeleteCustomFieldsByResourceSlugParam} arg
65
+ * @param {ContentPlatformValidator.DeleteCustomFieldsByResourceIdParam} arg
55
66
  * - Arg object
56
67
  *
57
68
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
58
69
  * @param {import("../PlatformAPIClient").Options} - Options
59
70
  * @returns {Promise<ContentPlatformModel.CustomFieldsDeleteSchema>} -
60
71
  * Success response
61
- * @name deleteCustomFieldsByResourceSlug
62
- * @summary: delete custom fields of given resource and resource slug
63
- * @description: Use this API to delete the custom fields for given resource in param. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/deleteCustomFieldsByResourceSlug/).
72
+ * @name deleteCustomFieldsByResourceId
73
+ * @summary: Delete custom fields of given resource and resource id
74
+ * @description: Use this API to delete the custom fields for given resource in param. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/deleteCustomFieldsByResourceId/).
64
75
  */
65
- deleteCustomFieldsByResourceSlug({ resource, resourceSlug, ids, requestHeaders }?: ContentPlatformValidator.DeleteCustomFieldsByResourceSlugParam, { responseHeaders }?: object): Promise<ContentPlatformModel.CustomFieldsDeleteSchema>;
76
+ deleteCustomFieldsByResourceId({ resource, resourceId, ids, requestHeaders }?: ContentPlatformValidator.DeleteCustomFieldsByResourceIdParam, { responseHeaders }?: object): Promise<ContentPlatformModel.CustomFieldsDeleteSchema>;
66
77
  /**
67
- * @param {ContentPlatformValidator.DeleteCustomObjectBySlugParam} arg - Arg object
78
+ * @param {ContentPlatformValidator.DeleteCustomObjectParam} arg - Arg object
68
79
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
69
80
  * @param {import("../PlatformAPIClient").Options} - Options
70
81
  * @returns {Promise<ContentPlatformModel.CustomDataDeleteSchema>} - Success response
71
- * @name deleteCustomObjectBySlug
82
+ * @name deleteCustomObject
72
83
  * @summary: Delete custom object
73
- * @description: Custom object entries can be deleted by providing the delete ID using this endpoint. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/deleteCustomObjectBySlug/).
84
+ * @description: Custom object entries can be deleted by providing the delete ID using this endpoint. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/deleteCustomObject/).
74
85
  */
75
- deleteCustomObjectBySlug({ definitionSlug, slug, requestHeaders }?: ContentPlatformValidator.DeleteCustomObjectBySlugParam, { responseHeaders }?: object): Promise<ContentPlatformModel.CustomDataDeleteSchema>;
86
+ deleteCustomObject({ id, requestHeaders }?: ContentPlatformValidator.DeleteCustomObjectParam, { responseHeaders }?: object): Promise<ContentPlatformModel.CustomDataDeleteSchema>;
76
87
  /**
77
- * @param {ContentPlatformValidator.DeleteCustomObjectDefinitionBySlugParam} arg
88
+ * @param {ContentPlatformValidator.DeleteCustomObjectDefinitionParam} arg
78
89
  * - Arg object
79
90
  *
80
91
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
@@ -82,52 +93,35 @@ declare class Content {
82
93
  * @returns {Promise<ContentPlatformModel.CustomObjectDefinitionDeleteResponseSchema>}
83
94
  * - Success response
84
95
  *
85
- * @name deleteCustomObjectDefinitionBySlug
86
- * @summary: Delete custom object definition
87
- * @description: Custom object definitions can be deleted using this endpoint by providing the definition ID. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/deleteCustomObjectDefinitionBySlug/).
96
+ * @name deleteCustomObjectDefinition
97
+ * @summary: delete custom object definition
98
+ * @description: Custom object definitions can be deleted using this endpoint by providing the definition ID. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/deleteCustomObjectDefinition/).
88
99
  */
89
- deleteCustomObjectDefinitionBySlug({ slug, requestHeaders }?: ContentPlatformValidator.DeleteCustomObjectDefinitionBySlugParam, { responseHeaders }?: object): Promise<ContentPlatformModel.CustomObjectDefinitionDeleteResponseSchema>;
100
+ deleteCustomObjectDefinition({ id, requestHeaders }?: ContentPlatformValidator.DeleteCustomObjectDefinitionParam, { responseHeaders }?: object): Promise<ContentPlatformModel.CustomObjectDefinitionDeleteResponseSchema>;
90
101
  /**
91
- * @param {ContentPlatformValidator.ExportCustomObjectEntriesBySlugParam} arg
92
- * - Arg object
93
- *
102
+ * @param {ContentPlatformValidator.ExportCustomObjectEntriesParam} arg - Arg object
94
103
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
95
104
  * @param {import("../PlatformAPIClient").Options} - Options
96
105
  * @returns {Promise<ContentPlatformModel.CustomObjectBulkEntryInitiateDownload>}
97
106
  * - Success response
98
107
  *
99
- * @name exportCustomObjectEntriesBySlug
108
+ * @name exportCustomObjectEntries
100
109
  * @summary: Initiate download for bulk custom object entries
101
- * @description: Custom object bulk export of bulk entries can be perform using this endpoint. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/exportCustomObjectEntriesBySlug/).
102
- */
103
- exportCustomObjectEntriesBySlug({ slug, requestHeaders }?: ContentPlatformValidator.ExportCustomObjectEntriesBySlugParam, { responseHeaders }?: object): Promise<ContentPlatformModel.CustomObjectBulkEntryInitiateDownload>;
104
- /**
105
- * @param {ContentPlatformValidator.GetCustomFieldDefinitionByResourceParam} arg
106
- * - Arg object
107
- *
108
- * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
109
- * @param {import("../PlatformAPIClient").Options} - Options
110
- * @returns {Promise<ContentPlatformModel.CustomFieldDefinitionsSchema>} -
111
- * Success response
112
- * @name getCustomFieldDefinitionByResource
113
- * @summary: Get custom fields definitions for a given resource type
114
- * @description: Custom field definitions enable you to include data validation for custom fields, and enable sellers to add custom fields values for resources. With the help of this seller can retrive list of custom field definitions list. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/getCustomFieldDefinitionByResource/).
110
+ * @description: Custom object bulk export of bulk entries can be perform using this endpoint. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/exportCustomObjectEntries/).
115
111
  */
116
- getCustomFieldDefinitionByResource({ pageNo, pageSize, resource, types, search, slugs, namespaces, requestHeaders, }?: ContentPlatformValidator.GetCustomFieldDefinitionByResourceParam, { responseHeaders }?: object): Promise<ContentPlatformModel.CustomFieldDefinitionsSchema>;
112
+ exportCustomObjectEntries({ definitionId, requestHeaders }?: ContentPlatformValidator.ExportCustomObjectEntriesParam, { responseHeaders }?: object): Promise<ContentPlatformModel.CustomObjectBulkEntryInitiateDownload>;
117
113
  /**
118
- * @param {ContentPlatformValidator.GetCustomFieldDefinitionBySlugParam} arg
119
- * - Arg object
120
- *
114
+ * @param {ContentPlatformValidator.GetCustomFieldDefinitionParam} arg - Arg object
121
115
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
122
116
  * @param {import("../PlatformAPIClient").Options} - Options
123
- * @returns {Promise<ContentPlatformModel.MetaFieldDefinitionDetailResSchema>}
117
+ * @returns {Promise<ContentPlatformModel.CustomFieldDefinitionDetailResSchema>}
124
118
  * - Success response
125
119
  *
126
- * @name getCustomFieldDefinitionBySlug
127
- * @summary: Get custom fields definition by resource, slug and namespace
128
- * @description: Custom field definitions can be retrived from this using its slug, namespace and resource - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/getCustomFieldDefinitionBySlug/).
120
+ * @name getCustomFieldDefinition
121
+ * @summary: Get custom fields definition
122
+ * @description: Custom field definitions can be fetch using definition id. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/getCustomFieldDefinition/).
129
123
  */
130
- getCustomFieldDefinitionBySlug({ slug, resource, namespace, requestHeaders }?: ContentPlatformValidator.GetCustomFieldDefinitionBySlugParam, { responseHeaders }?: object): Promise<ContentPlatformModel.MetaFieldDefinitionDetailResSchema>;
124
+ getCustomFieldDefinition({ id, requestHeaders }?: ContentPlatformValidator.GetCustomFieldDefinitionParam, { responseHeaders }?: object): Promise<ContentPlatformModel.CustomFieldDefinitionDetailResSchema>;
131
125
  /**
132
126
  * @param {ContentPlatformValidator.GetCustomFieldDefinitionsParam} arg - Arg object
133
127
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
@@ -138,7 +132,17 @@ declare class Content {
138
132
  * @summary: Get custom fields definitions
139
133
  * @description: Custom field definitions enable you to include data validation for custom fields, and enable sellers to add custom fields values for resources. With the help of this seller can retrive list of custom field definitions list. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/getCustomFieldDefinitions/).
140
134
  */
141
- getCustomFieldDefinitions({ pageNo, pageSize, resources, types, search, slugs, namespaces, requestHeaders, }?: ContentPlatformValidator.GetCustomFieldDefinitionsParam, { responseHeaders }?: object): Promise<ContentPlatformModel.CustomFieldDefinitionsSchema>;
135
+ getCustomFieldDefinitions({ pageNo, pageSize, resources, types, search, slugs, requestHeaders }?: ContentPlatformValidator.GetCustomFieldDefinitionsParam, { responseHeaders }?: object): Promise<ContentPlatformModel.CustomFieldDefinitionsSchema>;
136
+ /**
137
+ * @param {ContentPlatformValidator.GetCustomFieldJobsParam} arg - Arg object
138
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
139
+ * @param {import("../PlatformAPIClient").Options} - Options
140
+ * @returns {Promise<ContentPlatformModel.CustomFieldBulkEntry>} - Success response
141
+ * @name getCustomFieldJobs
142
+ * @summary: Fetch bulk import and export job list.
143
+ * @description: Use this api to get list of jobs of bulk import and exports - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/getCustomFieldJobs/).
144
+ */
145
+ getCustomFieldJobs({ page, pageSize, actionType, requestHeaders }?: ContentPlatformValidator.GetCustomFieldJobsParam, { responseHeaders }?: object): Promise<ContentPlatformModel.CustomFieldBulkEntry>;
142
146
  /**
143
147
  * @param {ContentPlatformValidator.GetCustomFieldTypesParam} arg - Arg object
144
148
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
@@ -150,44 +154,49 @@ declare class Content {
150
154
  */
151
155
  getCustomFieldTypes({ requestHeaders }?: any, { responseHeaders }?: object): Promise<ContentPlatformModel.MetafieldTypesSchema>;
152
156
  /**
153
- * @param {ContentPlatformValidator.GetCustomFieldsByResourceSlugParam} arg
154
- * - Arg object
155
- *
157
+ * @param {ContentPlatformValidator.GetCustomFieldsParam} arg - Arg object
158
+ * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
159
+ * @param {import("../PlatformAPIClient").Options} - Options
160
+ * @returns {Promise<ContentPlatformModel.CustomFieldsResponseSchema>} -
161
+ * Success response
162
+ * @name getCustomFields
163
+ * @summary: Get list of custom fields of given resource
164
+ * @description: Retrieves a list of custom fields attached to a particular resource by using the resource. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/getCustomFields/).
165
+ */
166
+ getCustomFields({ resource, requestHeaders }?: ContentPlatformValidator.GetCustomFieldsParam, { responseHeaders }?: object): Promise<ContentPlatformModel.CustomFieldsResponseSchema>;
167
+ /**
168
+ * @param {ContentPlatformValidator.GetCustomFieldsByResourceIdParam} arg - Arg object
156
169
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
157
170
  * @param {import("../PlatformAPIClient").Options} - Options
158
171
  * @returns {Promise<ContentPlatformModel.CustomFieldsResponseByResourceIdSchema>}
159
172
  * - Success response
160
173
  *
161
- * @name getCustomFieldsByResourceSlug
162
- * @summary: Get list of custom fields of given resource and resource slug
163
- * @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/platform/content/getCustomFieldsByResourceSlug/).
174
+ * @name getCustomFieldsByResourceId
175
+ * @summary: Get list of custom fields of given resource and resource id
176
+ * @description: Retrieves a list of custom fields attached to a particular resource by using the resource and resource id. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/getCustomFieldsByResourceId/).
164
177
  */
165
- getCustomFieldsByResourceSlug({ resource, resourceSlug, requestHeaders }?: ContentPlatformValidator.GetCustomFieldsByResourceSlugParam, { responseHeaders }?: object): Promise<ContentPlatformModel.CustomFieldsResponseByResourceIdSchema>;
178
+ getCustomFieldsByResourceId({ resource, resourceId, requestHeaders }?: ContentPlatformValidator.GetCustomFieldsByResourceIdParam, { responseHeaders }?: object): Promise<ContentPlatformModel.CustomFieldsResponseByResourceIdSchema>;
166
179
  /**
167
- * @param {ContentPlatformValidator.GetCustomObjectBySlugParam} arg - Arg object
180
+ * @param {ContentPlatformValidator.GetCustomObjectParam} arg - Arg object
168
181
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
169
182
  * @param {import("../PlatformAPIClient").Options} - Options
170
- * @returns {Promise<ContentPlatformModel.CustomObjectBySlugSchema>} -
171
- * Success response
172
- * @name getCustomObjectBySlug
183
+ * @returns {Promise<ContentPlatformModel.CustomObjectByIdSchema>} - Success response
184
+ * @name getCustomObject
173
185
  * @summary: Get custom object details
174
- * @description: Details of a custom object entry can be obtained using this endpoint. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/getCustomObjectBySlug/).
186
+ * @description: Details of custom objects, their field details, definitions, and references can be obtained using this endpoint. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/getCustomObject/).
175
187
  */
176
- getCustomObjectBySlug({ definitionSlug, slug, requestHeaders }?: ContentPlatformValidator.GetCustomObjectBySlugParam, { responseHeaders }?: object): Promise<ContentPlatformModel.CustomObjectBySlugSchema>;
188
+ getCustomObject({ id, requestHeaders }?: ContentPlatformValidator.GetCustomObjectParam, { responseHeaders }?: object): Promise<ContentPlatformModel.CustomObjectByIdSchema>;
177
189
  /**
178
- * @param {ContentPlatformValidator.GetCustomObjectDefinitionBySlugParam} arg
179
- * - Arg object
180
- *
190
+ * @param {ContentPlatformValidator.GetCustomObjectDefinitionParam} arg - Arg object
181
191
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
182
192
  * @param {import("../PlatformAPIClient").Options} - Options
183
- * @returns {Promise<ContentPlatformModel.CustomObjectDefinitionSlugSchema>}
184
- * - Success response
185
- *
186
- * @name getCustomObjectDefinitionBySlug
193
+ * @returns {Promise<ContentPlatformModel.CustomObjectDefinitionSchema>} -
194
+ * Success response
195
+ * @name getCustomObjectDefinition
187
196
  * @summary: Get custom object definition
188
- * @description: Custom object definitions can be fetched using their custom object definition slug. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/getCustomObjectDefinitionBySlug/).
197
+ * @description: Custom object definitions can be fetched using their definition ID. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/getCustomObjectDefinition/).
189
198
  */
190
- getCustomObjectDefinitionBySlug({ slug, requestHeaders }?: ContentPlatformValidator.GetCustomObjectDefinitionBySlugParam, { responseHeaders }?: object): Promise<ContentPlatformModel.CustomObjectDefinitionSlugSchema>;
199
+ getCustomObjectDefinition({ id, requestHeaders }?: ContentPlatformValidator.GetCustomObjectDefinitionParam, { responseHeaders }?: object): Promise<ContentPlatformModel.CustomObjectDefinitionSchema>;
191
200
  /**
192
201
  * @param {ContentPlatformValidator.GetCustomObjectDefinitionsParam} arg - Arg object
193
202
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
@@ -196,19 +205,19 @@ declare class Content {
196
205
  * Success response
197
206
  * @name getCustomObjectDefinitions
198
207
  * @summary: Get custom object definitions
199
- * @description: Custom object definition lists can be obtained using this endpoint. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/getCustomObjectDefinitions/).
208
+ * @description: Custom object definition lists can be obtained using this endpoint - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/getCustomObjectDefinitions/).
200
209
  */
201
210
  getCustomObjectDefinitions({ pageNo, pageSize, search, requestHeaders }?: ContentPlatformValidator.GetCustomObjectDefinitionsParam, { responseHeaders }?: object): Promise<ContentPlatformModel.CustomObjectDefinitionsSchema>;
202
211
  /**
203
- * @param {ContentPlatformValidator.GetCustomObjectsBySlugParam} arg - Arg object
212
+ * @param {ContentPlatformValidator.GetCustomObjectsParam} arg - Arg object
204
213
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
205
214
  * @param {import("../PlatformAPIClient").Options} - Options
206
215
  * @returns {Promise<ContentPlatformModel.CustomObjectsSchema>} - Success response
207
- * @name getCustomObjectsBySlug
208
- * @summary: Get list of custom objects under a certain custom object definition
209
- * @description: Custom object entries can fetch using this endpoint. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/getCustomObjectsBySlug/).
216
+ * @name getCustomObjects
217
+ * @summary: Get list of custom objects
218
+ * @description: Custom object entries can fetch using this endpoint. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/getCustomObjects/).
210
219
  */
211
- getCustomObjectsBySlug({ pageNo, pageSize, definitionSlug, requestHeaders }?: ContentPlatformValidator.GetCustomObjectsBySlugParam, { responseHeaders }?: object): Promise<ContentPlatformModel.CustomObjectsSchema>;
220
+ getCustomObjects({ pageNo, pageSize, definitionId, requestHeaders }?: ContentPlatformValidator.GetCustomObjectsParam, { responseHeaders }?: object): Promise<ContentPlatformModel.CustomObjectsSchema>;
212
221
  /**
213
222
  * @param {ContentPlatformValidator.GetJobsParam} arg - Arg object
214
223
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
@@ -230,33 +239,29 @@ declare class Content {
230
239
  */
231
240
  getResources({ requestHeaders }?: any, { responseHeaders }?: object): Promise<ContentPlatformModel.ResourcesSchema>;
232
241
  /**
233
- * @param {ContentPlatformValidator.ImportCustomObjectEntriesBySlugParam} arg
234
- * - Arg object
235
- *
242
+ * @param {ContentPlatformValidator.ImportCustomObjectEntriesParam} arg - Arg object
236
243
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
237
244
  * @param {import("../PlatformAPIClient").Options} - Options
238
- * @returns {Promise<ContentPlatformModel.CustomObjectEntryBulkUploadDetails>}
245
+ * @returns {Promise<ContentPlatformModel.CustomObjectEntryBulkUploadResponse>}
239
246
  * - Success response
240
247
  *
241
- * @name importCustomObjectEntriesBySlug
248
+ * @name importCustomObjectEntries
242
249
  * @summary: Bulk custom object entries upload
243
- * @description: Custom object bulk import of bulk entries can be performed using this endpoint. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/importCustomObjectEntriesBySlug/).
250
+ * @description: Custom object bulk import of bulk entries can be performed using this endpoint. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/importCustomObjectEntries/).
244
251
  */
245
- importCustomObjectEntriesBySlug({ slug, body, requestHeaders }?: ContentPlatformValidator.ImportCustomObjectEntriesBySlugParam, { responseHeaders }?: object): Promise<ContentPlatformModel.CustomObjectEntryBulkUploadDetails>;
252
+ importCustomObjectEntries({ definitionId, body, requestHeaders }?: ContentPlatformValidator.ImportCustomObjectEntriesParam, { responseHeaders }?: object): Promise<ContentPlatformModel.CustomObjectEntryBulkUploadResponse>;
246
253
  /**
247
- * @param {ContentPlatformValidator.SampleCustomObjectBulkEntryBySlugParam} arg
248
- * - Arg object
249
- *
254
+ * @param {ContentPlatformValidator.SampleCustomObjectBulkEntryParam} arg - Arg object
250
255
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
251
256
  * @param {import("../PlatformAPIClient").Options} - Options
252
257
  * @returns {Promise<string>} - Success response
253
- * @name sampleCustomObjectBulkEntryBySlug
258
+ * @name sampleCustomObjectBulkEntry
254
259
  * @summary: Download sample for custom object bulk entry
255
- * @description: Sample files for custom object bulk import can be obtained from this endpoint. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/sampleCustomObjectBulkEntryBySlug/).
260
+ * @description: Sample files for custom object bulk import can be obtained from this endpoint. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/sampleCustomObjectBulkEntry/).
256
261
  */
257
- sampleCustomObjectBulkEntryBySlug({ slug, requestHeaders }?: ContentPlatformValidator.SampleCustomObjectBulkEntryBySlugParam, { responseHeaders }?: object): Promise<string>;
262
+ sampleCustomObjectBulkEntry({ definitionId, requestHeaders }?: ContentPlatformValidator.SampleCustomObjectBulkEntryParam, { responseHeaders }?: object): Promise<string>;
258
263
  /**
259
- * @param {ContentPlatformValidator.UpdateCustomFieldByResourceSlugParam} arg
264
+ * @param {ContentPlatformValidator.UpdateCustomFieldByResourceIdParam} arg
260
265
  * - Arg object
261
266
  *
262
267
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
@@ -264,50 +269,46 @@ declare class Content {
264
269
  * @returns {Promise<ContentPlatformModel.CustomFieldsResponseByResourceIdSchema>}
265
270
  * - Success response
266
271
  *
267
- * @name updateCustomFieldByResourceSlug
268
- * @summary: Update custom field entries for gives resource and resource slug
269
- * @description: You can add a custom field using this endpoint to any resource by providing the resource slug. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/updateCustomFieldByResourceSlug/).
272
+ * @name updateCustomFieldByResourceId
273
+ * @summary: Update custom field entries for gives resource and resource_id
274
+ * @description: You can edit a custom field using this endpoint to any resource by providing the resource ID. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/updateCustomFieldByResourceId/).
270
275
  */
271
- updateCustomFieldByResourceSlug({ resource, resourceSlug, body, requestHeaders }?: ContentPlatformValidator.UpdateCustomFieldByResourceSlugParam, { responseHeaders }?: object): Promise<ContentPlatformModel.CustomFieldsResponseByResourceIdSchema>;
276
+ updateCustomFieldByResourceId({ resource, resourceId, body, requestHeaders }?: ContentPlatformValidator.UpdateCustomFieldByResourceIdParam, { responseHeaders }?: object): Promise<ContentPlatformModel.CustomFieldsResponseByResourceIdSchema>;
272
277
  /**
273
- * @param {ContentPlatformValidator.UpdateCustomFieldDefinitionBySlugParam} arg
274
- * - Arg object
275
- *
278
+ * @param {ContentPlatformValidator.UpdateCustomFieldDefinitionParam} arg - Arg object
276
279
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
277
280
  * @param {import("../PlatformAPIClient").Options} - Options
278
281
  * @returns {Promise<ContentPlatformModel.CustomFieldDefinitionDetailResSchema>}
279
282
  * - Success response
280
283
  *
281
- * @name updateCustomFieldDefinitionBySlug
284
+ * @name updateCustomFieldDefinition
282
285
  * @summary: Update custom field definition
283
- * @description: Custom fields definition can be update using this api, You can update custom field definition name and description. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/updateCustomFieldDefinitionBySlug/).
286
+ * @description: Custom fields definition can be update using this api, You can update custom field definition name and description. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/updateCustomFieldDefinition/).
284
287
  */
285
- updateCustomFieldDefinitionBySlug({ slug, resource, namespace, body, requestHeaders }?: ContentPlatformValidator.UpdateCustomFieldDefinitionBySlugParam, { responseHeaders }?: object): Promise<ContentPlatformModel.CustomFieldDefinitionDetailResSchema>;
288
+ updateCustomFieldDefinition({ id, body, requestHeaders }?: ContentPlatformValidator.UpdateCustomFieldDefinitionParam, { responseHeaders }?: object): Promise<ContentPlatformModel.CustomFieldDefinitionDetailResSchema>;
286
289
  /**
287
- * @param {ContentPlatformValidator.UpdateCustomObjectBySlugParam} arg - Arg object
290
+ * @param {ContentPlatformValidator.UpdateCustomObjectParam} arg - Arg object
288
291
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
289
292
  * @param {import("../PlatformAPIClient").Options} - Options
290
- * @returns {Promise<ContentPlatformModel.CustomObjectBySlugSchema>} -
291
- * Success response
292
- * @name updateCustomObjectBySlug
293
+ * @returns {Promise<ContentPlatformModel.CustomObjectSchema>} - Success response
294
+ * @name updateCustomObject
293
295
  * @summary: Update custom object details
294
- * @description: Custom object entries can be updated using this endpoint. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/updateCustomObjectBySlug/).
296
+ * @description: Custom object entries can be updated using this endpoint. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/updateCustomObject/).
295
297
  */
296
- updateCustomObjectBySlug({ definitionSlug, slug, body, requestHeaders }?: ContentPlatformValidator.UpdateCustomObjectBySlugParam, { responseHeaders }?: object): Promise<ContentPlatformModel.CustomObjectBySlugSchema>;
298
+ updateCustomObject({ id, body, requestHeaders }?: ContentPlatformValidator.UpdateCustomObjectParam, { responseHeaders }?: object): Promise<ContentPlatformModel.CustomObjectSchema>;
297
299
  /**
298
- * @param {ContentPlatformValidator.UpdateCustomObjectDefinitionBySlugParam} arg
300
+ * @param {ContentPlatformValidator.UpdateCustomObjectDefinitionParam} arg
299
301
  * - Arg object
300
302
  *
301
303
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
302
304
  * @param {import("../PlatformAPIClient").Options} - Options
303
- * @returns {Promise<ContentPlatformModel.CustomObjectDefinitionSlugSchema>}
304
- * - Success response
305
- *
306
- * @name updateCustomObjectDefinitionBySlug
305
+ * @returns {Promise<ContentPlatformModel.CustomObjectDefinitionSchema>} -
306
+ * Success response
307
+ * @name updateCustomObjectDefinition
307
308
  * @summary: Update custom object definition
308
- * @description: Custom object definitions can be updated using this endpoint. You can update the name and description of the custom object and add more custom field definitions to the existing custom object. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/updateCustomObjectDefinitionBySlug/).
309
+ * @description: Custom object definitions can be updated using this endpoint. You can update the name and description of the custom object and add more custom field definitions to the existing custom object. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/content/updateCustomObjectDefinition/).
309
310
  */
310
- updateCustomObjectDefinitionBySlug({ slug, body, requestHeaders }?: ContentPlatformValidator.UpdateCustomObjectDefinitionBySlugParam, { responseHeaders }?: object): Promise<ContentPlatformModel.CustomObjectDefinitionSlugSchema>;
311
+ updateCustomObjectDefinition({ id, body, requestHeaders }?: ContentPlatformValidator.UpdateCustomObjectDefinitionParam, { responseHeaders }?: object): Promise<ContentPlatformModel.CustomObjectDefinitionSchema>;
311
312
  }
312
313
  import ContentPlatformValidator = require("./ContentPlatformValidator");
313
314
  import ContentPlatformModel = require("./ContentPlatformModel");