@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
@@ -3,17 +3,17 @@ export = ServiceabilityPlatformValidator;
3
3
  * @typedef BulkServiceabilityParam
4
4
  * @property {string} extensionId - Unique Identifier of CP Extension
5
5
  * @property {string} schemeId - Unique identifier of a scheme
6
- * @property {ServiceabilityPlatformModel.BulkRegionJobDetails} body
6
+ * @property {ServiceabilityPlatformModel.BulkRegionJobSerializer} body
7
7
  */
8
8
  /**
9
9
  * @typedef BulkTatParam
10
10
  * @property {string} extensionId - Unique Identifier of CP Extension
11
11
  * @property {string} schemeId - Unique identifier of a scheme
12
- * @property {ServiceabilityPlatformModel.BulkRegionJobDetails} body
12
+ * @property {ServiceabilityPlatformModel.BulkRegionJobSerializer} body
13
13
  */
14
14
  /**
15
15
  * @typedef CreateCourierPartnerAccountParam
16
- * @property {ServiceabilityPlatformModel.CourierAccountDetailsBody} body
16
+ * @property {ServiceabilityPlatformModel.CourierAccountRequestBody} body
17
17
  */
18
18
  /**
19
19
  * @typedef CreatePackageMaterialParam
@@ -71,7 +71,7 @@ export = ServiceabilityPlatformValidator;
71
71
  */
72
72
  /**
73
73
  * @typedef GetOptimalLocationsParam
74
- * @property {ServiceabilityPlatformModel.OptimlLocationsDetailsSchema} body
74
+ * @property {ServiceabilityPlatformModel.OptimlLocationsRequestSchema} body
75
75
  */
76
76
  /**
77
77
  * @typedef GetPackageMaterialListParam
@@ -219,7 +219,7 @@ type BulkServiceabilityParam = {
219
219
  * - Unique identifier of a scheme
220
220
  */
221
221
  schemeId: string;
222
- body: ServiceabilityPlatformModel.BulkRegionJobDetails;
222
+ body: ServiceabilityPlatformModel.BulkRegionJobSerializer;
223
223
  };
224
224
  type BulkTatParam = {
225
225
  /**
@@ -230,10 +230,10 @@ type BulkTatParam = {
230
230
  * - Unique identifier of a scheme
231
231
  */
232
232
  schemeId: string;
233
- body: ServiceabilityPlatformModel.BulkRegionJobDetails;
233
+ body: ServiceabilityPlatformModel.BulkRegionJobSerializer;
234
234
  };
235
235
  type CreateCourierPartnerAccountParam = {
236
- body: ServiceabilityPlatformModel.CourierAccountDetailsBody;
236
+ body: ServiceabilityPlatformModel.CourierAccountRequestBody;
237
237
  };
238
238
  type CreatePackageMaterialParam = {
239
239
  body: ServiceabilityPlatformModel.PackageMaterial;
@@ -365,7 +365,7 @@ type GetCourierPartnerAccountsParam = {
365
365
  transportType?: string;
366
366
  };
367
367
  type GetOptimalLocationsParam = {
368
- body: ServiceabilityPlatformModel.OptimlLocationsDetailsSchema;
368
+ body: ServiceabilityPlatformModel.OptimlLocationsRequestSchema;
369
369
  };
370
370
  type GetPackageMaterialListParam = {
371
371
  /**
@@ -6,19 +6,19 @@ const ServiceabilityPlatformModel = require("./ServiceabilityPlatformModel");
6
6
  * @typedef BulkServiceabilityParam
7
7
  * @property {string} extensionId - Unique Identifier of CP Extension
8
8
  * @property {string} schemeId - Unique identifier of a scheme
9
- * @property {ServiceabilityPlatformModel.BulkRegionJobDetails} body
9
+ * @property {ServiceabilityPlatformModel.BulkRegionJobSerializer} body
10
10
  */
11
11
 
12
12
  /**
13
13
  * @typedef BulkTatParam
14
14
  * @property {string} extensionId - Unique Identifier of CP Extension
15
15
  * @property {string} schemeId - Unique identifier of a scheme
16
- * @property {ServiceabilityPlatformModel.BulkRegionJobDetails} body
16
+ * @property {ServiceabilityPlatformModel.BulkRegionJobSerializer} body
17
17
  */
18
18
 
19
19
  /**
20
20
  * @typedef CreateCourierPartnerAccountParam
21
- * @property {ServiceabilityPlatformModel.CourierAccountDetailsBody} body
21
+ * @property {ServiceabilityPlatformModel.CourierAccountRequestBody} body
22
22
  */
23
23
 
24
24
  /**
@@ -86,7 +86,7 @@ const ServiceabilityPlatformModel = require("./ServiceabilityPlatformModel");
86
86
 
87
87
  /**
88
88
  * @typedef GetOptimalLocationsParam
89
- * @property {ServiceabilityPlatformModel.OptimlLocationsDetailsSchema} body
89
+ * @property {ServiceabilityPlatformModel.OptimlLocationsRequestSchema} body
90
90
  */
91
91
 
92
92
  /**
@@ -188,7 +188,7 @@ class ServiceabilityPlatformValidator {
188
188
  return Joi.object({
189
189
  extensionId: Joi.string().allow("").required(),
190
190
  schemeId: Joi.string().allow("").required(),
191
- body: ServiceabilityPlatformModel.BulkRegionJobDetails().required(),
191
+ body: ServiceabilityPlatformModel.BulkRegionJobSerializer().required(),
192
192
  }).required();
193
193
  }
194
194
 
@@ -197,14 +197,14 @@ class ServiceabilityPlatformValidator {
197
197
  return Joi.object({
198
198
  extensionId: Joi.string().allow("").required(),
199
199
  schemeId: Joi.string().allow("").required(),
200
- body: ServiceabilityPlatformModel.BulkRegionJobDetails().required(),
200
+ body: ServiceabilityPlatformModel.BulkRegionJobSerializer().required(),
201
201
  }).required();
202
202
  }
203
203
 
204
204
  /** @returns {CreateCourierPartnerAccountParam} */
205
205
  static createCourierPartnerAccount() {
206
206
  return Joi.object({
207
- body: ServiceabilityPlatformModel.CourierAccountDetailsBody().required(),
207
+ body: ServiceabilityPlatformModel.CourierAccountRequestBody().required(),
208
208
  }).required();
209
209
  }
210
210
 
@@ -294,7 +294,7 @@ class ServiceabilityPlatformValidator {
294
294
  /** @returns {GetOptimalLocationsParam} */
295
295
  static getOptimalLocations() {
296
296
  return Joi.object({
297
- body: ServiceabilityPlatformModel.OptimlLocationsDetailsSchema().required(),
297
+ body: ServiceabilityPlatformModel.OptimlLocationsRequestSchema().required(),
298
298
  }).required();
299
299
  }
300
300
 
@@ -29,12 +29,12 @@ declare class Share {
29
29
  *
30
30
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
31
31
  * @param {import("../PlatformAPIClient").Options} - Options
32
- * @returns {Promise<SharePlatformModel.ClickStatsResult>} - Success response
32
+ * @returns {Promise<SharePlatformModel.ClickStatsResponse>} - Success response
33
33
  * @name getShortLinkClickStats
34
34
  * @summary: Get short link click statistics
35
35
  * @description: Retrieve statistics and analytics for clicks on a short link. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/share/getShortLinkClickStats/).
36
36
  */
37
- getShortLinkClickStats({ surlId, requestHeaders }?: SharePlatformApplicationValidator.GetShortLinkClickStatsParam, { responseHeaders }?: object): Promise<SharePlatformModel.ClickStatsResult>;
37
+ getShortLinkClickStats({ surlId, requestHeaders }?: SharePlatformApplicationValidator.GetShortLinkClickStatsParam, { responseHeaders }?: object): Promise<SharePlatformModel.ClickStatsResponse>;
38
38
  /**
39
39
  * @param {SharePlatformApplicationValidator.GetShortLinksParam} arg - Arg object
40
40
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
@@ -179,7 +179,7 @@ class Share {
179
179
  *
180
180
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
181
181
  * @param {import("../PlatformAPIClient").Options} - Options
182
- * @returns {Promise<SharePlatformModel.ClickStatsResult>} - Success response
182
+ * @returns {Promise<SharePlatformModel.ClickStatsResponse>} - Success response
183
183
  * @name getShortLinkClickStats
184
184
  * @summary: Get short link click statistics
185
185
  * @description: Retrieve statistics and analytics for clicks on a short link. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/share/getShortLinkClickStats/).
@@ -232,7 +232,7 @@ class Share {
232
232
 
233
233
  const {
234
234
  error: res_error,
235
- } = SharePlatformModel.ClickStatsResult().validate(responseData, {
235
+ } = SharePlatformModel.ClickStatsResponse().validate(responseData, {
236
236
  abortEarly: false,
237
237
  allowUnknown: true,
238
238
  });
@@ -1,6 +1,6 @@
1
1
  export = SharePlatformModel;
2
2
  /**
3
- * @typedef ClickStatsResult
3
+ * @typedef ClickStatsResponse
4
4
  * @property {ClickStatsItem[]} click_stats - An array of click statistics for
5
5
  * the short link.
6
6
  */
@@ -55,24 +55,12 @@ export = SharePlatformModel;
55
55
  * @property {Attribution} [attribution]
56
56
  * @property {SocialMediaTags} [social_media_tags]
57
57
  * @property {number} [count]
58
- * @property {shortLinkReqMeta} [meta]
59
- */
60
- /**
61
- * @typedef shortLinkReqMeta
62
- * @property {boolean} [for_sms] - For_sms flag specifies that the short-link
63
- * will be used in SMS communication and based on TRAI (Indian) guidelines,
64
- * the generated short-link must contain an active SMS HEADER; ex. DLFYND, GOFYND.
65
- * @property {string} [sms_header] - This field is used to override the sms
66
- * header to be used to generate a short-link for SMS communication in
67
- * compliance with TRAI guidelines, this should be used in conjunction with
68
- * for_sms flag set to true.
69
58
  */
70
59
  /**
71
60
  * @typedef UrlInfo
72
61
  * @property {string} [original]
73
62
  * @property {string} [hash]
74
63
  * @property {string} [short_url]
75
- * @property {string} [alias]
76
64
  */
77
65
  /**
78
66
  * @typedef ShortLinkRes
@@ -119,11 +107,11 @@ export = SharePlatformModel;
119
107
  declare class SharePlatformModel {
120
108
  }
121
109
  declare namespace SharePlatformModel {
122
- export { ClickStatsResult, ClickStatsItem, RedirectDevice, WebRedirect, Redirects, CampaignShortLink, Attribution, SocialMediaTags, ShortLinkReq, shortLinkReqMeta, UrlInfo, ShortLinkRes, Page, ShortLinkList, ErrorRes };
110
+ export { ClickStatsResponse, ClickStatsItem, RedirectDevice, WebRedirect, Redirects, CampaignShortLink, Attribution, SocialMediaTags, ShortLinkReq, UrlInfo, ShortLinkRes, Page, ShortLinkList, ErrorRes };
123
111
  }
124
- /** @returns {ClickStatsResult} */
125
- declare function ClickStatsResult(): ClickStatsResult;
126
- type ClickStatsResult = {
112
+ /** @returns {ClickStatsResponse} */
113
+ declare function ClickStatsResponse(): ClickStatsResponse;
114
+ type ClickStatsResponse = {
127
115
  /**
128
116
  * - An array of click statistics for
129
117
  * the short link.
@@ -204,24 +192,6 @@ type ShortLinkReq = {
204
192
  attribution?: Attribution;
205
193
  social_media_tags?: SocialMediaTags;
206
194
  count?: number;
207
- meta?: shortLinkReqMeta;
208
- };
209
- /** @returns {shortLinkReqMeta} */
210
- declare function shortLinkReqMeta(): shortLinkReqMeta;
211
- type shortLinkReqMeta = {
212
- /**
213
- * - For_sms flag specifies that the short-link
214
- * will be used in SMS communication and based on TRAI (Indian) guidelines,
215
- * the generated short-link must contain an active SMS HEADER; ex. DLFYND, GOFYND.
216
- */
217
- for_sms?: boolean;
218
- /**
219
- * - This field is used to override the sms
220
- * header to be used to generate a short-link for SMS communication in
221
- * compliance with TRAI guidelines, this should be used in conjunction with
222
- * for_sms flag set to true.
223
- */
224
- sms_header?: string;
225
195
  };
226
196
  /** @returns {UrlInfo} */
227
197
  declare function UrlInfo(): UrlInfo;
@@ -229,7 +199,6 @@ type UrlInfo = {
229
199
  original?: string;
230
200
  hash?: string;
231
201
  short_url?: string;
232
- alias?: string;
233
202
  };
234
203
  /** @returns {ShortLinkRes} */
235
204
  declare function ShortLinkRes(): ShortLinkRes;
@@ -1,7 +1,7 @@
1
1
  const Joi = require("joi");
2
2
 
3
3
  /**
4
- * @typedef ClickStatsResult
4
+ * @typedef ClickStatsResponse
5
5
  * @property {ClickStatsItem[]} click_stats - An array of click statistics for
6
6
  * the short link.
7
7
  */
@@ -64,18 +64,6 @@ const Joi = require("joi");
64
64
  * @property {Attribution} [attribution]
65
65
  * @property {SocialMediaTags} [social_media_tags]
66
66
  * @property {number} [count]
67
- * @property {shortLinkReqMeta} [meta]
68
- */
69
-
70
- /**
71
- * @typedef shortLinkReqMeta
72
- * @property {boolean} [for_sms] - For_sms flag specifies that the short-link
73
- * will be used in SMS communication and based on TRAI (Indian) guidelines,
74
- * the generated short-link must contain an active SMS HEADER; ex. DLFYND, GOFYND.
75
- * @property {string} [sms_header] - This field is used to override the sms
76
- * header to be used to generate a short-link for SMS communication in
77
- * compliance with TRAI guidelines, this should be used in conjunction with
78
- * for_sms flag set to true.
79
67
  */
80
68
 
81
69
  /**
@@ -83,7 +71,6 @@ const Joi = require("joi");
83
71
  * @property {string} [original]
84
72
  * @property {string} [hash]
85
73
  * @property {string} [short_url]
86
- * @property {string} [alias]
87
74
  */
88
75
 
89
76
  /**
@@ -133,8 +120,8 @@ const Joi = require("joi");
133
120
  */
134
121
 
135
122
  class SharePlatformModel {
136
- /** @returns {ClickStatsResult} */
137
- static ClickStatsResult() {
123
+ /** @returns {ClickStatsResponse} */
124
+ static ClickStatsResponse() {
138
125
  return Joi.object({
139
126
  click_stats: Joi.array()
140
127
  .items(SharePlatformModel.ClickStatsItem())
@@ -215,15 +202,6 @@ class SharePlatformModel {
215
202
  attribution: SharePlatformModel.Attribution(),
216
203
  social_media_tags: SharePlatformModel.SocialMediaTags(),
217
204
  count: Joi.number(),
218
- meta: SharePlatformModel.shortLinkReqMeta(),
219
- });
220
- }
221
-
222
- /** @returns {shortLinkReqMeta} */
223
- static shortLinkReqMeta() {
224
- return Joi.object({
225
- for_sms: Joi.boolean(),
226
- sms_header: Joi.string().allow(""),
227
205
  });
228
206
  }
229
207
 
@@ -233,7 +211,6 @@ class SharePlatformModel {
233
211
  original: Joi.string().allow(""),
234
212
  hash: Joi.string().allow(""),
235
213
  short_url: Joi.string().allow(""),
236
- alias: Joi.string().allow(""),
237
214
  });
238
215
  }
239
216
 
@@ -252,7 +229,7 @@ class SharePlatformModel {
252
229
  application: Joi.string().allow(""),
253
230
  user_id: Joi.string().allow(""),
254
231
  created_at: Joi.string().allow(""),
255
- meta: Joi.object().pattern(/\S/, Joi.any()),
232
+ meta: Joi.any(),
256
233
  updated_at: Joi.string().allow(""),
257
234
  personalized: Joi.boolean(),
258
235
  campaign: SharePlatformModel.CampaignShortLink(),
@@ -177,12 +177,12 @@ declare class Theme {
177
177
  * @param {ThemePlatformApplicationValidator.IsUpgradableParam} arg - Arg object
178
178
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
179
179
  * @param {import("../PlatformAPIClient").Options} - Options
180
- * @returns {Promise<ThemePlatformModel.ThemeUpgradable>} - Success response
180
+ * @returns {Promise<ThemePlatformModel.ThemeUpgradableResponse>} - Success response
181
181
  * @name isUpgradable
182
182
  * @summary: Check theme is upgradable
183
183
  * @description: Determine if a public theme is eligible for an upgrade to a new version after any new version released in marketplace. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/theme/isUpgradable/).
184
184
  */
185
- isUpgradable({ themeId, requestHeaders }?: ThemePlatformApplicationValidator.IsUpgradableParam, { responseHeaders }?: object): Promise<ThemePlatformModel.ThemeUpgradable>;
185
+ isUpgradable({ themeId, requestHeaders }?: ThemePlatformApplicationValidator.IsUpgradableParam, { responseHeaders }?: object): Promise<ThemePlatformModel.ThemeUpgradableResponse>;
186
186
  /**
187
187
  * @param {ThemePlatformApplicationValidator.UpdateMultiplePagesParam} arg
188
188
  * - Arg object
@@ -204,7 +204,7 @@ declare class Theme {
204
204
  * @summary: Update a page
205
205
  * @description: Modify and update the content of a page. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/theme/updatePage/).
206
206
  */
207
- updatePage({ themeId, pageValue, socketId, body, requestHeaders }?: ThemePlatformApplicationValidator.UpdatePageParam, { responseHeaders }?: object): Promise<ThemePlatformModel.AvailablePageSchema>;
207
+ updatePage({ themeId, pageValue, body, requestHeaders }?: ThemePlatformApplicationValidator.UpdatePageParam, { responseHeaders }?: object): Promise<ThemePlatformModel.AvailablePageSchema>;
208
208
  /**
209
209
  * @param {ThemePlatformApplicationValidator.UpdateThemeParam} arg - Arg object
210
210
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
@@ -1260,7 +1260,7 @@ class Theme {
1260
1260
  * @param {ThemePlatformApplicationValidator.IsUpgradableParam} arg - Arg object
1261
1261
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
1262
1262
  * @param {import("../PlatformAPIClient").Options} - Options
1263
- * @returns {Promise<ThemePlatformModel.ThemeUpgradable>} - Success response
1263
+ * @returns {Promise<ThemePlatformModel.ThemeUpgradableResponse>} - Success response
1264
1264
  * @name isUpgradable
1265
1265
  * @summary: Check theme is upgradable
1266
1266
  * @description: Determine if a public theme is eligible for an upgrade to a new version after any new version released in marketplace. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/theme/isUpgradable/).
@@ -1314,7 +1314,7 @@ class Theme {
1314
1314
 
1315
1315
  const {
1316
1316
  error: res_error,
1317
- } = ThemePlatformModel.ThemeUpgradable().validate(responseData, {
1317
+ } = ThemePlatformModel.ThemeUpgradableResponse().validate(responseData, {
1318
1318
  abortEarly: false,
1319
1319
  allowUnknown: true,
1320
1320
  });
@@ -1426,16 +1426,13 @@ class Theme {
1426
1426
  * @description: Modify and update the content of a page. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/theme/updatePage/).
1427
1427
  */
1428
1428
  async updatePage(
1429
- { themeId, pageValue, socketId, body, requestHeaders } = {
1430
- requestHeaders: {},
1431
- },
1429
+ { themeId, pageValue, body, requestHeaders } = { requestHeaders: {} },
1432
1430
  { responseHeaders } = { responseHeaders: false }
1433
1431
  ) {
1434
1432
  const { error } = ThemePlatformApplicationValidator.updatePage().validate(
1435
1433
  {
1436
1434
  themeId,
1437
1435
  pageValue,
1438
- socketId,
1439
1436
  body,
1440
1437
  },
1441
1438
  { abortEarly: false, allowUnknown: true }
@@ -1451,7 +1448,6 @@ class Theme {
1451
1448
  {
1452
1449
  themeId,
1453
1450
  pageValue,
1454
- socketId,
1455
1451
  body,
1456
1452
  },
1457
1453
  { abortEarly: false, allowUnknown: false }
@@ -1468,7 +1464,7 @@ class Theme {
1468
1464
  const response = await PlatformAPIClient.execute(
1469
1465
  this.config,
1470
1466
  "put",
1471
- `/service/platform/theme/v1.0/company/${this.config.companyId}/application/${this.applicationId}/${themeId}/${pageValue}/${socketId}`,
1467
+ `/service/platform/theme/v1.0/company/${this.config.companyId}/application/${this.applicationId}/${themeId}/${pageValue}`,
1472
1468
  query_params,
1473
1469
  body,
1474
1470
  requestHeaders,
@@ -68,7 +68,6 @@ export = ThemePlatformApplicationValidator;
68
68
  * @typedef UpdatePageParam
69
69
  * @property {string} themeId - ID of the theme
70
70
  * @property {string} pageValue - Value of the page to be updated
71
- * @property {string} socketId - Unique socket id for websocket
72
71
  * @property {ThemePlatformModel.AvailablePageSchema} body
73
72
  */
74
73
  /**
@@ -238,10 +237,6 @@ type UpdatePageParam = {
238
237
  * - Value of the page to be updated
239
238
  */
240
239
  pageValue: string;
241
- /**
242
- * - Unique socket id for websocket
243
- */
244
- socketId: string;
245
240
  body: ThemePlatformModel.AvailablePageSchema;
246
241
  };
247
242
  type UpdateThemeParam = {
@@ -89,7 +89,6 @@ const ThemePlatformModel = require("./ThemePlatformModel");
89
89
  * @typedef UpdatePageParam
90
90
  * @property {string} themeId - ID of the theme
91
91
  * @property {string} pageValue - Value of the page to be updated
92
- * @property {string} socketId - Unique socket id for websocket
93
92
  * @property {ThemePlatformModel.AvailablePageSchema} body
94
93
  */
95
94
 
@@ -239,7 +238,6 @@ class ThemePlatformApplicationValidator {
239
238
  return Joi.object({
240
239
  themeId: Joi.string().allow("").required(),
241
240
  pageValue: Joi.string().allow("").required(),
242
- socketId: Joi.string().allow("").required(),
243
241
  body: ThemePlatformModel.AvailablePageSchema().required(),
244
242
  }).required();
245
243
  }
@@ -135,15 +135,7 @@ export = ThemePlatformModel;
135
135
  * @property {Object[]} [blocks]
136
136
  * @property {Object} [preset]
137
137
  * @property {AvailablePagePredicate} [predicate]
138
- * @property {SectionSource} [__source]
139
- */
140
- /**
141
- * @typedef SectionSource
142
- * @property {string} [id] - The source id specifying the source of the section.
143
- * @property {string} [bundle_name] - This is the extension binding name
144
- * containing this section.
145
- * @property {string} [type] - This is source type. It will either be
146
- * themeBundle or extension.
138
+ * @property {string} [source]
147
139
  */
148
140
  /**
149
141
  * @typedef AvailablePagePredicate
@@ -245,7 +237,7 @@ export = ThemePlatformModel;
245
237
  * @property {string} [src]
246
238
  */
247
239
  /**
248
- * @typedef ThemeUpgradable
240
+ * @typedef ThemeUpgradableResponse
249
241
  * @property {boolean} [upgrade] - Indicates if the theme is upgradable or not
250
242
  * @property {ThemeVersions} [versions]
251
243
  * @property {string} [message] - A message describing the theme upgrade status
@@ -517,7 +509,7 @@ export = ThemePlatformModel;
517
509
  * @property {string} [applied_theme] - The version of the applied theme
518
510
  */
519
511
  /**
520
- * @typedef DummyTheme
512
+ * @typedef DummyResponse
521
513
  * @property {string} [message]
522
514
  */
523
515
  /**
@@ -598,7 +590,7 @@ export = ThemePlatformModel;
598
590
  declare class ThemePlatformModel {
599
591
  }
600
592
  declare namespace ThemePlatformModel {
601
- export { GetExtensionSectionRes, ExtensionSection, PropExtension, AssetsExtension, ThemeReq, CompanyThemeSchema, MarketplaceThemeId, CompanyThemeMeta, ThemePayment, ThemeImages, AvailablePageSchema, AvailablePageSectionMetaAttributes, SEOMetaItem, SEOMetaItems, SEOSitemap, SEObreadcrumb, Action, AvailablePageSeo, AvailablePageSchemaSections, SectionSource, AvailablePagePredicate, AvailablePageScreenPredicate, AvailablePageUserPredicate, AvailablePageRoutePredicate, AvailablePagePlatformPredicate, AvailablePageSchedulePredicate, AllAvailablePageSchema, AddThemeRequestSchema, FontsSchema, BlitzkriegApiErrorSchema, BlitzkriegInternalServerErrorSchema, FontsSchemaItems, FontsSchemaItemsFiles, ThemesSchema, ThemeUpgradable, UpdateThemeNameRequestBody, UpdateThemeRequestBody, Font, FontVariants, FontVariant, Config, ThemeConfiguration, OverlayPopup, DividerStrokeHighlight, UserAlerts, OrderTracking, ThemeConfigListPage, ThemeConfigListPageSettingsProps, CustomConfig, ThemeMeta, Release, Images, CustomProps, GlobalSchema, Prop, Assets, UMDJs, CommonJS, CSS, SectionItem, Preset, Page, Section, Block, Predicate, Screen, ThemeUserSchema, Route, SectionProps, SectionPreset, BlockProps, TextProp, CheckboxProp, RangeProp, ImagePickerProp, UrlProp, ThemeVersions, DummyTheme, AppliedThemes, CompanyPrivateTheme, ActionPage, PageType };
593
+ export { GetExtensionSectionRes, ExtensionSection, PropExtension, AssetsExtension, ThemeReq, CompanyThemeSchema, MarketplaceThemeId, CompanyThemeMeta, ThemePayment, ThemeImages, AvailablePageSchema, AvailablePageSectionMetaAttributes, SEOMetaItem, SEOMetaItems, SEOSitemap, SEObreadcrumb, Action, AvailablePageSeo, AvailablePageSchemaSections, AvailablePagePredicate, AvailablePageScreenPredicate, AvailablePageUserPredicate, AvailablePageRoutePredicate, AvailablePagePlatformPredicate, AvailablePageSchedulePredicate, AllAvailablePageSchema, AddThemeRequestSchema, FontsSchema, BlitzkriegApiErrorSchema, BlitzkriegInternalServerErrorSchema, FontsSchemaItems, FontsSchemaItemsFiles, ThemesSchema, ThemeUpgradableResponse, UpdateThemeNameRequestBody, UpdateThemeRequestBody, Font, FontVariants, FontVariant, Config, ThemeConfiguration, OverlayPopup, DividerStrokeHighlight, UserAlerts, OrderTracking, ThemeConfigListPage, ThemeConfigListPageSettingsProps, CustomConfig, ThemeMeta, Release, Images, CustomProps, GlobalSchema, Prop, Assets, UMDJs, CommonJS, CSS, SectionItem, Preset, Page, Section, Block, Predicate, Screen, ThemeUserSchema, Route, SectionProps, SectionPreset, BlockProps, TextProp, CheckboxProp, RangeProp, ImagePickerProp, UrlProp, ThemeVersions, DummyResponse, AppliedThemes, CompanyPrivateTheme, ActionPage, PageType };
602
594
  }
603
595
  /** @returns {GetExtensionSectionRes} */
604
596
  declare function GetExtensionSectionRes(): GetExtensionSectionRes;
@@ -815,25 +807,7 @@ type AvailablePageSchemaSections = {
815
807
  blocks?: any[];
816
808
  preset?: any;
817
809
  predicate?: AvailablePagePredicate;
818
- __source?: SectionSource;
819
- };
820
- /** @returns {SectionSource} */
821
- declare function SectionSource(): SectionSource;
822
- type SectionSource = {
823
- /**
824
- * - The source id specifying the source of the section.
825
- */
826
- id?: string;
827
- /**
828
- * - This is the extension binding name
829
- * containing this section.
830
- */
831
- bundle_name?: string;
832
- /**
833
- * - This is source type. It will either be
834
- * themeBundle or extension.
835
- */
836
- type?: string;
810
+ source?: string;
837
811
  };
838
812
  /** @returns {AvailablePagePredicate} */
839
813
  declare function AvailablePagePredicate(): AvailablePagePredicate;
@@ -1002,9 +976,9 @@ type ThemesSchema = {
1002
976
  company_id?: number;
1003
977
  src?: string;
1004
978
  };
1005
- /** @returns {ThemeUpgradable} */
1006
- declare function ThemeUpgradable(): ThemeUpgradable;
1007
- type ThemeUpgradable = {
979
+ /** @returns {ThemeUpgradableResponse} */
980
+ declare function ThemeUpgradableResponse(): ThemeUpgradableResponse;
981
+ type ThemeUpgradableResponse = {
1008
982
  /**
1009
983
  * - Indicates if the theme is upgradable or not
1010
984
  */
@@ -1563,9 +1537,9 @@ type ThemeVersions = {
1563
1537
  */
1564
1538
  applied_theme?: string;
1565
1539
  };
1566
- /** @returns {DummyTheme} */
1567
- declare function DummyTheme(): DummyTheme;
1568
- type DummyTheme = {
1540
+ /** @returns {DummyResponse} */
1541
+ declare function DummyResponse(): DummyResponse;
1542
+ type DummyResponse = {
1569
1543
  message?: string;
1570
1544
  };
1571
1545
  /** @returns {AppliedThemes} */
@@ -154,16 +154,7 @@ const Joi = require("joi");
154
154
  * @property {Object[]} [blocks]
155
155
  * @property {Object} [preset]
156
156
  * @property {AvailablePagePredicate} [predicate]
157
- * @property {SectionSource} [__source]
158
- */
159
-
160
- /**
161
- * @typedef SectionSource
162
- * @property {string} [id] - The source id specifying the source of the section.
163
- * @property {string} [bundle_name] - This is the extension binding name
164
- * containing this section.
165
- * @property {string} [type] - This is source type. It will either be
166
- * themeBundle or extension.
157
+ * @property {string} [source]
167
158
  */
168
159
 
169
160
  /**
@@ -280,7 +271,7 @@ const Joi = require("joi");
280
271
  */
281
272
 
282
273
  /**
283
- * @typedef ThemeUpgradable
274
+ * @typedef ThemeUpgradableResponse
284
275
  * @property {boolean} [upgrade] - Indicates if the theme is upgradable or not
285
276
  * @property {ThemeVersions} [versions]
286
277
  * @property {string} [message] - A message describing the theme upgrade status
@@ -595,7 +586,7 @@ const Joi = require("joi");
595
586
  */
596
587
 
597
588
  /**
598
- * @typedef DummyTheme
589
+ * @typedef DummyResponse
599
590
  * @property {string} [message]
600
591
  */
601
592
 
@@ -806,7 +797,7 @@ class ThemePlatformModel {
806
797
  /** @returns {AvailablePageSectionMetaAttributes} */
807
798
  static AvailablePageSectionMetaAttributes() {
808
799
  return Joi.object({
809
- attributes: Joi.object().pattern(/\S/, Joi.any()),
800
+ attributes: Joi.any(),
810
801
  });
811
802
  }
812
803
 
@@ -868,20 +859,11 @@ class ThemePlatformModel {
868
859
  return Joi.object({
869
860
  name: Joi.string().allow(""),
870
861
  label: Joi.string().allow(""),
871
- props: Joi.object().pattern(/\S/, Joi.any()),
862
+ props: Joi.any(),
872
863
  blocks: Joi.array().items(Joi.any()),
873
- preset: Joi.object().pattern(/\S/, Joi.any()),
864
+ preset: Joi.any(),
874
865
  predicate: ThemePlatformModel.AvailablePagePredicate(),
875
- __source: ThemePlatformModel.SectionSource(),
876
- });
877
- }
878
-
879
- /** @returns {SectionSource} */
880
- static SectionSource() {
881
- return Joi.object({
882
- id: Joi.string().allow(""),
883
- bundle_name: Joi.string().allow(""),
884
- type: Joi.string().allow(""),
866
+ source: Joi.string().allow(""),
885
867
  });
886
868
  }
887
869
 
@@ -919,7 +901,7 @@ class ThemePlatformModel {
919
901
  return Joi.object({
920
902
  selected: Joi.string().allow(""),
921
903
  exact_url: Joi.string().allow(""),
922
- query: Joi.object().pattern(/\S/, Joi.any()),
904
+ query: Joi.any(),
923
905
  });
924
906
  }
925
907
 
@@ -1015,7 +997,7 @@ class ThemePlatformModel {
1015
997
  name: Joi.string().allow(""),
1016
998
  template_theme_id: Joi.string().allow(""),
1017
999
  version: Joi.string().allow(""),
1018
- styles: Joi.object().pattern(/\S/, Joi.any()),
1000
+ styles: Joi.any(),
1019
1001
  created_at: Joi.string().allow(""),
1020
1002
  updated_at: Joi.string().allow(""),
1021
1003
  assets: ThemePlatformModel.Assets(),
@@ -1026,8 +1008,8 @@ class ThemePlatformModel {
1026
1008
  });
1027
1009
  }
1028
1010
 
1029
- /** @returns {ThemeUpgradable} */
1030
- static ThemeUpgradable() {
1011
+ /** @returns {ThemeUpgradableResponse} */
1012
+ static ThemeUpgradableResponse() {
1031
1013
  return Joi.object({
1032
1014
  upgrade: Joi.boolean(),
1033
1015
  versions: ThemePlatformModel.ThemeVersions(),
@@ -1093,7 +1075,7 @@ class ThemePlatformModel {
1093
1075
  static ThemeConfiguration() {
1094
1076
  return Joi.object({
1095
1077
  name: Joi.string().allow(""),
1096
- global_config: Joi.object().pattern(/\S/, Joi.any()),
1078
+ global_config: Joi.any(),
1097
1079
  page: Joi.array().items(ThemePlatformModel.ThemeConfigListPage()),
1098
1080
  });
1099
1081
  }
@@ -1145,7 +1127,7 @@ class ThemePlatformModel {
1145
1127
  /** @returns {ThemeConfigListPageSettingsProps} */
1146
1128
  static ThemeConfigListPageSettingsProps() {
1147
1129
  return Joi.object({
1148
- props: Joi.object().pattern(/\S/, Joi.any()),
1130
+ props: Joi.any(),
1149
1131
  });
1150
1132
  }
1151
1133
 
@@ -1424,8 +1406,8 @@ class ThemePlatformModel {
1424
1406
  });
1425
1407
  }
1426
1408
 
1427
- /** @returns {DummyTheme} */
1428
- static DummyTheme() {
1409
+ /** @returns {DummyResponse} */
1410
+ static DummyResponse() {
1429
1411
  return Joi.object({
1430
1412
  message: Joi.string().allow(""),
1431
1413
  });