@gofynd/fdk-client-javascript 1.4.15-beta.2 → 1.4.15-beta.3

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 (314) hide show
  1. package/README.md +2 -2
  2. package/application.d.ts +1 -2
  3. package/application.js +2 -3
  4. package/index.d.ts +1 -2
  5. package/index.js +7 -1
  6. package/package.json +2 -3
  7. package/sdk/application/ApplicationClient.d.ts +2 -0
  8. package/sdk/application/ApplicationClient.js +2 -18
  9. package/sdk/application/Cart/CartApplicationClient.d.ts +75 -90
  10. package/sdk/application/Cart/CartApplicationClient.js +111 -1200
  11. package/sdk/application/Catalog/CatalogApplicationClient.d.ts +81 -142
  12. package/sdk/application/Catalog/CatalogApplicationClient.js +41 -1344
  13. package/sdk/application/Common/CommonApplicationClient.d.ts +4 -8
  14. package/sdk/application/Common/CommonApplicationClient.js +2 -92
  15. package/sdk/application/Communication/CommunicationApplicationClient.d.ts +6 -19
  16. package/sdk/application/Communication/CommunicationApplicationClient.js +3 -148
  17. package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +32 -73
  18. package/sdk/application/Configuration/ConfigurationApplicationClient.js +16 -727
  19. package/sdk/application/Content/ContentApplicationClient.d.ts +52 -95
  20. package/sdk/application/Content/ContentApplicationClient.js +46 -990
  21. package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +8 -13
  22. package/sdk/application/FileStorage/FileStorageApplicationClient.js +8 -138
  23. package/sdk/application/Finance/FinanceApplicationClient.d.ts +29 -0
  24. package/sdk/application/Finance/FinanceApplicationClient.js +105 -0
  25. package/sdk/application/Lead/LeadApplicationClient.d.ts +10 -18
  26. package/sdk/application/Lead/LeadApplicationClient.js +5 -217
  27. package/sdk/application/Logistic/LogisticApplicationClient.d.ts +42 -39
  28. package/sdk/application/Logistic/LogisticApplicationClient.js +89 -493
  29. package/sdk/application/Order/OrderApplicationClient.d.ts +36 -46
  30. package/sdk/application/Order/OrderApplicationClient.js +52 -507
  31. package/sdk/application/Payment/PaymentApplicationClient.d.ts +93 -213
  32. package/sdk/application/Payment/PaymentApplicationClient.js +49 -2109
  33. package/sdk/application/Rewards/RewardsApplicationClient.d.ts +15 -29
  34. package/sdk/application/Rewards/RewardsApplicationClient.js +8 -312
  35. package/sdk/application/Share/ShareApplicationClient.d.ts +14 -24
  36. package/sdk/application/Share/ShareApplicationClient.js +7 -309
  37. package/sdk/application/Theme/ThemeApplicationClient.d.ts +8 -14
  38. package/sdk/application/Theme/ThemeApplicationClient.js +8 -176
  39. package/sdk/application/User/UserApplicationClient.d.ts +87 -138
  40. package/sdk/application/User/UserApplicationClient.js +44 -1820
  41. package/sdk/application/Webhook/WebhookApplicationClient.d.ts +4 -7
  42. package/sdk/application/Webhook/WebhookApplicationClient.js +3 -52
  43. package/sdk/application/index.d.ts +0 -18
  44. package/sdk/application/index.js +0 -33
  45. package/sdk/partner/FileStorage/FileStoragePartnerClient.d.ts +86 -12
  46. package/sdk/partner/FileStorage/FileStoragePartnerClient.js +582 -24
  47. package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +116 -19
  48. package/sdk/partner/FileStorage/FileStoragePartnerModel.js +121 -14
  49. package/sdk/partner/FileStorage/FileStoragePartnerValidator.d.ts +8 -1
  50. package/sdk/partner/FileStorage/FileStoragePartnerValidator.js +51 -4
  51. package/sdk/partner/Lead/LeadPartnerClient.d.ts +2 -2
  52. package/sdk/partner/Lead/LeadPartnerClient.js +2 -2
  53. package/sdk/partner/Lead/LeadPartnerModel.d.ts +5 -5
  54. package/sdk/partner/Lead/LeadPartnerModel.js +15 -15
  55. package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +126 -20
  56. package/sdk/partner/Logistics/LogisticsPartnerClient.js +970 -20
  57. package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +1200 -167
  58. package/sdk/partner/Logistics/LogisticsPartnerModel.js +571 -160
  59. package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +10 -0
  60. package/sdk/partner/Logistics/LogisticsPartnerValidator.js +121 -7
  61. package/sdk/partner/Theme/ThemePartnerClient.d.ts +8 -10
  62. package/sdk/partner/Theme/ThemePartnerClient.js +14 -16
  63. package/sdk/partner/Theme/ThemePartnerModel.d.ts +96 -37
  64. package/sdk/partner/Theme/ThemePartnerModel.js +90 -36
  65. package/sdk/partner/Theme/ThemePartnerValidator.js +4 -4
  66. package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +28 -18
  67. package/sdk/partner/Webhook/WebhookPartnerClient.js +103 -18
  68. package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +612 -179
  69. package/sdk/partner/Webhook/WebhookPartnerModel.js +253 -150
  70. package/sdk/partner/Webhook/WebhookPartnerValidator.d.ts +1 -0
  71. package/sdk/partner/Webhook/WebhookPartnerValidator.js +11 -3
  72. package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.d.ts +5 -4
  73. package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.js +14 -8
  74. package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +59 -9
  75. package/sdk/platform/Analytics/AnalyticsPlatformModel.js +40 -4
  76. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +2 -32
  77. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +3 -243
  78. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +11 -130
  79. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +12 -152
  80. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +1 -39
  81. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +0 -35
  82. package/sdk/platform/Billing/BillingPlatformClient.d.ts +12 -12
  83. package/sdk/platform/Billing/BillingPlatformClient.js +15 -15
  84. package/sdk/platform/Billing/BillingPlatformModel.d.ts +443 -388
  85. package/sdk/platform/Billing/BillingPlatformModel.js +280 -263
  86. package/sdk/platform/Billing/BillingPlatformValidator.d.ts +16 -18
  87. package/sdk/platform/Billing/BillingPlatformValidator.js +8 -9
  88. package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +134 -103
  89. package/sdk/platform/Cart/CartPlatformApplicationClient.js +419 -115
  90. package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +118 -65
  91. package/sdk/platform/Cart/CartPlatformApplicationValidator.js +109 -44
  92. package/sdk/platform/Cart/CartPlatformModel.d.ts +5046 -1300
  93. package/sdk/platform/Cart/CartPlatformModel.js +1979 -1217
  94. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +209 -183
  95. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +452 -395
  96. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +185 -142
  97. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +96 -78
  98. package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +154 -117
  99. package/sdk/platform/Catalog/CatalogPlatformClient.js +292 -172
  100. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +6506 -1775
  101. package/sdk/platform/Catalog/CatalogPlatformModel.js +3224 -1690
  102. package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +72 -31
  103. package/sdk/platform/Catalog/CatalogPlatformValidator.js +50 -24
  104. package/sdk/platform/Common/CommonPlatformClient.d.ts +3 -2
  105. package/sdk/platform/Common/CommonPlatformClient.js +3 -2
  106. package/sdk/platform/Common/CommonPlatformModel.d.ts +9 -9
  107. package/sdk/platform/Common/CommonPlatformModel.js +6 -6
  108. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +16 -17
  109. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +16 -17
  110. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +8 -8
  111. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +8 -8
  112. package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +43 -33
  113. package/sdk/platform/Communication/CommunicationPlatformModel.js +38 -34
  114. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +46 -42
  115. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +47 -43
  116. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +223 -223
  117. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +210 -212
  118. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +12 -12
  119. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +12 -12
  120. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +46 -33
  121. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +67 -54
  122. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +18 -18
  123. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +18 -18
  124. package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +45 -24
  125. package/sdk/platform/Configuration/ConfigurationPlatformClient.js +134 -30
  126. package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +283 -124
  127. package/sdk/platform/Configuration/ConfigurationPlatformModel.js +219 -94
  128. package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +37 -9
  129. package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +27 -8
  130. package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +124 -141
  131. package/sdk/platform/Content/ContentPlatformApplicationClient.js +449 -422
  132. package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +179 -141
  133. package/sdk/platform/Content/ContentPlatformApplicationValidator.js +168 -130
  134. package/sdk/platform/Content/ContentPlatformClient.d.ts +142 -106
  135. package/sdk/platform/Content/ContentPlatformClient.js +523 -336
  136. package/sdk/platform/Content/ContentPlatformModel.d.ts +1241 -395
  137. package/sdk/platform/Content/ContentPlatformModel.js +521 -390
  138. package/sdk/platform/Content/ContentPlatformValidator.d.ts +168 -117
  139. package/sdk/platform/Content/ContentPlatformValidator.js +162 -108
  140. package/sdk/platform/Discount/DiscountPlatformClient.d.ts +14 -12
  141. package/sdk/platform/Discount/DiscountPlatformClient.js +14 -12
  142. package/sdk/platform/Discount/DiscountPlatformModel.d.ts +13 -13
  143. package/sdk/platform/Discount/DiscountPlatformModel.js +12 -12
  144. package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +2 -2
  145. package/sdk/platform/Discount/DiscountPlatformValidator.js +2 -2
  146. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +94 -36
  147. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +462 -60
  148. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +62 -15
  149. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +75 -13
  150. package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +19 -19
  151. package/sdk/platform/FileStorage/FileStoragePlatformClient.js +21 -21
  152. package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +370 -101
  153. package/sdk/platform/FileStorage/FileStoragePlatformModel.js +313 -84
  154. package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +6 -6
  155. package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +6 -6
  156. package/sdk/platform/Lead/LeadPlatformClient.d.ts +2 -2
  157. package/sdk/platform/Lead/LeadPlatformClient.js +2 -2
  158. package/sdk/platform/Lead/LeadPlatformModel.d.ts +5 -5
  159. package/sdk/platform/Lead/LeadPlatformModel.js +16 -16
  160. package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +17 -6
  161. package/sdk/platform/Order/OrderPlatformApplicationClient.js +85 -7
  162. package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +95 -24
  163. package/sdk/platform/Order/OrderPlatformApplicationValidator.js +39 -19
  164. package/sdk/platform/Order/OrderPlatformClient.d.ts +153 -96
  165. package/sdk/platform/Order/OrderPlatformClient.js +416 -198
  166. package/sdk/platform/Order/OrderPlatformModel.d.ts +7602 -1269
  167. package/sdk/platform/Order/OrderPlatformModel.js +3926 -1269
  168. package/sdk/platform/Order/OrderPlatformValidator.d.ts +270 -109
  169. package/sdk/platform/Order/OrderPlatformValidator.js +135 -77
  170. package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +6 -4
  171. package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +9 -7
  172. package/sdk/platform/Partner/PartnerPlatformModel.d.ts +9 -9
  173. package/sdk/platform/Partner/PartnerPlatformModel.js +8 -8
  174. package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +93 -105
  175. package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +129 -141
  176. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +48 -48
  177. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +48 -48
  178. package/sdk/platform/Payment/PaymentPlatformClient.d.ts +20 -20
  179. package/sdk/platform/Payment/PaymentPlatformClient.js +20 -20
  180. package/sdk/platform/Payment/PaymentPlatformModel.d.ts +333 -319
  181. package/sdk/platform/Payment/PaymentPlatformModel.js +288 -278
  182. package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +8 -8
  183. package/sdk/platform/Payment/PaymentPlatformValidator.js +8 -8
  184. package/sdk/platform/PlatformClient.d.ts +0 -2
  185. package/sdk/platform/PlatformClient.js +0 -4
  186. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +2 -2
  187. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +2 -2
  188. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +2 -2
  189. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.js +2 -2
  190. package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +9 -9
  191. package/sdk/platform/Rewards/RewardsPlatformModel.js +8 -8
  192. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +46 -36
  193. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +132 -41
  194. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +46 -17
  195. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +34 -14
  196. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +40 -46
  197. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +58 -64
  198. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +1842 -609
  199. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +886 -554
  200. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +42 -46
  201. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +26 -28
  202. package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +2 -2
  203. package/sdk/platform/Share/SharePlatformApplicationClient.js +2 -2
  204. package/sdk/platform/Share/SharePlatformModel.d.ts +36 -5
  205. package/sdk/platform/Share/SharePlatformModel.js +27 -4
  206. package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +3 -3
  207. package/sdk/platform/Theme/ThemePlatformApplicationClient.js +8 -4
  208. package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +5 -0
  209. package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +2 -0
  210. package/sdk/platform/Theme/ThemePlatformModel.d.ts +37 -11
  211. package/sdk/platform/Theme/ThemePlatformModel.js +33 -15
  212. package/sdk/platform/User/UserPlatformApplicationClient.d.ts +12 -12
  213. package/sdk/platform/User/UserPlatformApplicationClient.js +12 -12
  214. package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +2 -2
  215. package/sdk/platform/User/UserPlatformApplicationValidator.js +2 -2
  216. package/sdk/platform/User/UserPlatformModel.d.ts +21 -21
  217. package/sdk/platform/User/UserPlatformModel.js +23 -23
  218. package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +25 -78
  219. package/sdk/platform/Webhook/WebhookPlatformClient.js +75 -470
  220. package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +720 -427
  221. package/sdk/platform/Webhook/WebhookPlatformModel.js +410 -386
  222. package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +10 -55
  223. package/sdk/platform/Webhook/WebhookPlatformValidator.js +12 -72
  224. package/sdk/platform/index.d.ts +0 -1
  225. package/sdk/platform/index.js +0 -2
  226. package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +3 -2
  227. package/sdk/public/Configuration/ConfigurationPublicClient.js +10 -7
  228. package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +9 -9
  229. package/sdk/public/Configuration/ConfigurationPublicModel.js +6 -6
  230. package/sdk/public/Content/ContentPublicClient.d.ts +112 -2
  231. package/sdk/public/Content/ContentPublicClient.js +795 -7
  232. package/sdk/public/Content/ContentPublicModel.d.ts +549 -3
  233. package/sdk/public/Content/ContentPublicModel.js +649 -3
  234. package/sdk/public/Content/ContentPublicValidator.d.ts +69 -3
  235. package/sdk/public/Content/ContentPublicValidator.js +88 -2
  236. package/sdk/public/Partner/PartnerPublicClient.js +4 -2
  237. package/sdk/public/Webhook/WebhookPublicClient.d.ts +8 -8
  238. package/sdk/public/Webhook/WebhookPublicClient.js +12 -10
  239. package/sdk/public/Webhook/WebhookPublicModel.d.ts +21 -21
  240. package/sdk/public/Webhook/WebhookPublicModel.js +15 -15
  241. package/sdk/public/Webhook/WebhookPublicValidator.d.ts +4 -4
  242. package/sdk/public/Webhook/WebhookPublicValidator.js +4 -4
  243. package/sdk/application/Cart/CartApplicationModel.d.ts +0 -3994
  244. package/sdk/application/Cart/CartApplicationModel.js +0 -2497
  245. package/sdk/application/Cart/CartApplicationValidator.d.ts +0 -769
  246. package/sdk/application/Cart/CartApplicationValidator.js +0 -530
  247. package/sdk/application/Catalog/CatalogApplicationModel.d.ts +0 -3857
  248. package/sdk/application/Catalog/CatalogApplicationModel.js +0 -2629
  249. package/sdk/application/Catalog/CatalogApplicationValidator.d.ts +0 -791
  250. package/sdk/application/Catalog/CatalogApplicationValidator.js +0 -551
  251. package/sdk/application/Common/CommonApplicationModel.d.ts +0 -449
  252. package/sdk/application/Common/CommonApplicationModel.js +0 -308
  253. package/sdk/application/Common/CommonApplicationValidator.d.ts +0 -46
  254. package/sdk/application/Common/CommonApplicationValidator.js +0 -38
  255. package/sdk/application/Communication/CommunicationApplicationModel.d.ts +0 -293
  256. package/sdk/application/Communication/CommunicationApplicationModel.js +0 -201
  257. package/sdk/application/Communication/CommunicationApplicationValidator.d.ts +0 -29
  258. package/sdk/application/Communication/CommunicationApplicationValidator.js +0 -38
  259. package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +0 -2556
  260. package/sdk/application/Configuration/ConfigurationApplicationModel.js +0 -1887
  261. package/sdk/application/Configuration/ConfigurationApplicationValidator.d.ts +0 -179
  262. package/sdk/application/Configuration/ConfigurationApplicationValidator.js +0 -176
  263. package/sdk/application/Content/ContentApplicationModel.d.ts +0 -2133
  264. package/sdk/application/Content/ContentApplicationModel.js +0 -1589
  265. package/sdk/application/Content/ContentApplicationValidator.d.ts +0 -284
  266. package/sdk/application/Content/ContentApplicationValidator.js +0 -264
  267. package/sdk/application/FileStorage/FileStorageApplicationModel.d.ts +0 -272
  268. package/sdk/application/FileStorage/FileStorageApplicationModel.js +0 -190
  269. package/sdk/application/FileStorage/FileStorageApplicationValidator.d.ts +0 -56
  270. package/sdk/application/FileStorage/FileStorageApplicationValidator.js +0 -53
  271. package/sdk/application/Lead/LeadApplicationModel.d.ts +0 -590
  272. package/sdk/application/Lead/LeadApplicationModel.js +0 -480
  273. package/sdk/application/Lead/LeadApplicationValidator.d.ts +0 -68
  274. package/sdk/application/Lead/LeadApplicationValidator.js +0 -71
  275. package/sdk/application/Logistic/LogisticApplicationModel.d.ts +0 -1675
  276. package/sdk/application/Logistic/LogisticApplicationModel.js +0 -1121
  277. package/sdk/application/Logistic/LogisticApplicationValidator.d.ts +0 -254
  278. package/sdk/application/Logistic/LogisticApplicationValidator.js +0 -190
  279. package/sdk/application/Order/OrderApplicationModel.d.ts +0 -2296
  280. package/sdk/application/Order/OrderApplicationModel.js +0 -1471
  281. package/sdk/application/Order/OrderApplicationValidator.d.ts +0 -265
  282. package/sdk/application/Order/OrderApplicationValidator.js +0 -197
  283. package/sdk/application/Payment/PaymentApplicationModel.d.ts +0 -4058
  284. package/sdk/application/Payment/PaymentApplicationModel.js +0 -2630
  285. package/sdk/application/Payment/PaymentApplicationValidator.d.ts +0 -576
  286. package/sdk/application/Payment/PaymentApplicationValidator.js +0 -594
  287. package/sdk/application/Rewards/RewardsApplicationModel.d.ts +0 -365
  288. package/sdk/application/Rewards/RewardsApplicationModel.js +0 -396
  289. package/sdk/application/Rewards/RewardsApplicationValidator.d.ts +0 -73
  290. package/sdk/application/Rewards/RewardsApplicationValidator.js +0 -84
  291. package/sdk/application/Share/ShareApplicationModel.d.ts +0 -339
  292. package/sdk/application/Share/ShareApplicationModel.js +0 -234
  293. package/sdk/application/Share/ShareApplicationValidator.d.ts +0 -90
  294. package/sdk/application/Share/ShareApplicationValidator.js +0 -91
  295. package/sdk/application/Theme/ThemeApplicationModel.d.ts +0 -1713
  296. package/sdk/application/Theme/ThemeApplicationModel.js +0 -1426
  297. package/sdk/application/Theme/ThemeApplicationValidator.d.ts +0 -66
  298. package/sdk/application/Theme/ThemeApplicationValidator.js +0 -58
  299. package/sdk/application/User/UserApplicationModel.d.ts +0 -1943
  300. package/sdk/application/User/UserApplicationModel.js +0 -1382
  301. package/sdk/application/User/UserApplicationValidator.d.ts +0 -560
  302. package/sdk/application/User/UserApplicationValidator.js +0 -573
  303. package/sdk/application/Webhook/WebhookApplicationModel.d.ts +0 -52
  304. package/sdk/application/Webhook/WebhookApplicationModel.js +0 -46
  305. package/sdk/application/Webhook/WebhookApplicationValidator.d.ts +0 -16
  306. package/sdk/application/Webhook/WebhookApplicationValidator.js +0 -19
  307. package/sdk/common/Clickstream.d.ts +0 -1
  308. package/sdk/common/Clickstream.js +0 -464
  309. package/sdk/platform/Finance/FinancePlatformClient.d.ts +0 -320
  310. package/sdk/platform/Finance/FinancePlatformClient.js +0 -2333
  311. package/sdk/platform/Finance/FinancePlatformModel.d.ts +0 -2890
  312. package/sdk/platform/Finance/FinancePlatformModel.js +0 -2148
  313. package/sdk/platform/Finance/FinancePlatformValidator.d.ts +0 -284
  314. package/sdk/platform/Finance/FinancePlatformValidator.js +0 -354
@@ -4,6 +4,16 @@ declare class LogisticsValidator {
4
4
  static getSampleFileServiceabilityStatus(): any;
5
5
  static bulkTat(): any;
6
6
  static getBulkTat(): any;
7
+ static createDeliveryTime(): any;
8
+ static getDeliveryTimes(): any;
9
+ static getDeliveryTime(): any;
10
+ static updateDeliveryTime(): any;
11
+ static deleteDeliveryTime(): any;
12
+ static createServiceability(): any;
13
+ static getServiceabilities(): any;
14
+ static getServiceability(): any;
15
+ static updateServiceability(): any;
16
+ static deleteServiceability(): any;
7
17
  static bulkServiceability(): any;
8
18
  static getBulkServiceability(): any;
9
19
  static createCourierPartnerAccount(): any;
@@ -4,7 +4,7 @@ const LogisticsModel = require("./LogisticsPartnerModel");
4
4
  class LogisticsValidator {
5
5
  static sampleFileServiceability() {
6
6
  return Joi.object({
7
- body: LogisticsModel.BulkRegionServiceabilityTatRequest().required(),
7
+ body: LogisticsModel.BulkRegionServiceabilityTatDetails().required(),
8
8
  }).required();
9
9
  }
10
10
 
@@ -20,7 +20,7 @@ class LogisticsValidator {
20
20
  return Joi.object({
21
21
  extensionId: Joi.string().allow("").required(),
22
22
  schemeId: Joi.string().allow("").required(),
23
- body: LogisticsModel.BulkRegionJobSerializer().required(),
23
+ body: LogisticsModel.BulkRegionJobDetails().required(),
24
24
  }).required();
25
25
  }
26
26
 
@@ -40,11 +40,125 @@ class LogisticsValidator {
40
40
  }).required();
41
41
  }
42
42
 
43
+ static createDeliveryTime() {
44
+ return Joi.object({
45
+ partnerOrgId: Joi.string().allow("").required(),
46
+ courierPartnerExtensionId: Joi.string().allow("").required(),
47
+ schemeId: Joi.string().allow("").required(),
48
+ body: LogisticsModel.RegionTatDetails().required(),
49
+ }).required();
50
+ }
51
+
52
+ static getDeliveryTimes() {
53
+ return Joi.object({
54
+ partnerOrgId: Joi.string().allow("").required(),
55
+ courierPartnerExtensionId: Joi.string().allow("").required(),
56
+ schemeId: Joi.string().allow("").required(),
57
+ pageNo: Joi.number(),
58
+ pageSize: Joi.number(),
59
+ fromCountryCode: Joi.string().allow(""),
60
+ fromStateCode: Joi.string().allow(""),
61
+ fromCityCode: Joi.string().allow(""),
62
+ fromSectorCode: Joi.string().allow(""),
63
+ fromPincode: Joi.string().allow(""),
64
+ toCountryCode: Joi.string().allow(""),
65
+ toStateCode: Joi.string().allow(""),
66
+ toCityCode: Joi.string().allow(""),
67
+ toSectorCode: Joi.string().allow(""),
68
+ toPincode: Joi.string().allow(""),
69
+ }).required();
70
+ }
71
+
72
+ static getDeliveryTime() {
73
+ return Joi.object({
74
+ partnerOrgId: Joi.string().allow("").required(),
75
+ courierPartnerExtensionId: Joi.string().allow("").required(),
76
+ schemeId: Joi.string().allow("").required(),
77
+ id: Joi.string().allow("").required(),
78
+ }).required();
79
+ }
80
+
81
+ static updateDeliveryTime() {
82
+ return Joi.object({
83
+ partnerOrgId: Joi.string().allow("").required(),
84
+ courierPartnerExtensionId: Joi.string().allow("").required(),
85
+ schemeId: Joi.string().allow("").required(),
86
+ id: Joi.string().allow("").required(),
87
+ body: LogisticsModel.RegionTatUpdateDetails().required(),
88
+ }).required();
89
+ }
90
+
91
+ static deleteDeliveryTime() {
92
+ return Joi.object({
93
+ partnerOrgId: Joi.string().allow("").required(),
94
+ courierPartnerExtensionId: Joi.string().allow("").required(),
95
+ schemeId: Joi.string().allow("").required(),
96
+ id: Joi.string().allow("").required(),
97
+ }).required();
98
+ }
99
+
100
+ static createServiceability() {
101
+ return Joi.object({
102
+ partnerOrgId: Joi.string().allow("").required(),
103
+ courierPartnerExtensionId: Joi.string().allow("").required(),
104
+ schemeId: Joi.string().allow("").required(),
105
+ body: LogisticsModel.RegionServiceabilityDetails().required(),
106
+ }).required();
107
+ }
108
+
109
+ static getServiceabilities() {
110
+ return Joi.object({
111
+ partnerOrgId: Joi.string().allow("").required(),
112
+ courierPartnerExtensionId: Joi.string().allow("").required(),
113
+ schemeId: Joi.string().allow("").required(),
114
+ pageNo: Joi.number(),
115
+ pageSize: Joi.number(),
116
+ countryCode: Joi.string().allow(""),
117
+ stateCode: Joi.string().allow(""),
118
+ cityCode: Joi.string().allow(""),
119
+ sectorCode: Joi.string().allow(""),
120
+ pincode: Joi.string().allow(""),
121
+ firstMile: Joi.boolean(),
122
+ lastMile: Joi.boolean(),
123
+ doorstepReturn: Joi.boolean(),
124
+ doorstepQc: Joi.boolean(),
125
+ installation: Joi.boolean(),
126
+ }).required();
127
+ }
128
+
129
+ static getServiceability() {
130
+ return Joi.object({
131
+ partnerOrgId: Joi.string().allow("").required(),
132
+ courierPartnerExtensionId: Joi.string().allow("").required(),
133
+ schemeId: Joi.string().allow("").required(),
134
+ id: Joi.string().allow("").required(),
135
+ }).required();
136
+ }
137
+
138
+ static updateServiceability() {
139
+ return Joi.object({
140
+ partnerOrgId: Joi.string().allow("").required(),
141
+ courierPartnerExtensionId: Joi.string().allow("").required(),
142
+ schemeId: Joi.string().allow("").required(),
143
+ id: Joi.string().allow("").required(),
144
+ body: LogisticsModel.ServiceabilityDetails().required(),
145
+ }).required();
146
+ }
147
+
148
+ static deleteServiceability() {
149
+ return Joi.object({
150
+ partnerOrgId: Joi.string().allow("").required(),
151
+ courierPartnerExtensionId: Joi.string().allow("").required(),
152
+ schemeId: Joi.string().allow("").required(),
153
+ id: Joi.string().allow("").required(),
154
+ }).required();
155
+ }
156
+
43
157
  static bulkServiceability() {
44
158
  return Joi.object({
45
159
  extensionId: Joi.string().allow("").required(),
46
160
  schemeId: Joi.string().allow("").required(),
47
- body: LogisticsModel.BulkRegionJobSerializer().required(),
161
+ body: LogisticsModel.BulkRegionJobDetails().required(),
48
162
  }).required();
49
163
  }
50
164
 
@@ -67,7 +181,7 @@ class LogisticsValidator {
67
181
  static createCourierPartnerAccount() {
68
182
  return Joi.object({
69
183
  companyId: Joi.number().required(),
70
- body: LogisticsModel.CourierAccountRequestBody().required(),
184
+ body: LogisticsModel.CourierAccountDetailsBody().required(),
71
185
  }).required();
72
186
  }
73
187
 
@@ -86,7 +200,7 @@ class LogisticsValidator {
86
200
  return Joi.object({
87
201
  companyId: Joi.number().required(),
88
202
  accountId: Joi.string().allow("").required(),
89
- body: LogisticsModel.CourierAccount().required(),
203
+ body: LogisticsModel.CourierAccountUpdateDetails().required(),
90
204
  }).required();
91
205
  }
92
206
 
@@ -99,14 +213,14 @@ class LogisticsValidator {
99
213
 
100
214
  static createCourierPartnerScheme() {
101
215
  return Joi.object({
102
- body: LogisticsModel.CourierPartnerSchemeRequestModel().required(),
216
+ body: LogisticsModel.CourierPartnerSchemeDetailsModel().required(),
103
217
  }).required();
104
218
  }
105
219
 
106
220
  static updateCourierPartnerScheme() {
107
221
  return Joi.object({
108
222
  schemeId: Joi.string().allow("").required(),
109
- body: LogisticsModel.CourierPartnerSchemeUpdateRequest().required(),
223
+ body: LogisticsModel.CourierPartnerSchemeUpdateDetails().required(),
110
224
  }).required();
111
225
  }
112
226
 
@@ -176,44 +176,42 @@ declare class Theme {
176
176
  * @param {ThemePartnerValidator.CreateExtensionSectionDraftParam} arg - Arg object.
177
177
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
178
178
  * @param {import("../PartnerAPIClient").Options} - Options
179
- * @returns {Promise<ThemePartnerModel.DraftExtensionSectionResponse>} -
180
- * Success response
179
+ * @returns {Promise<ThemePartnerModel.ExtensionSectionDraft>} - Success response
181
180
  * @name createExtensionSectionDraft
182
181
  * @summary: Draft extension section
183
182
  * @description: Create a new draft for an extension section within the specified organization. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/partner/theme/createExtensionSectionDraft/).
184
183
  */
185
- createExtensionSectionDraft({ extensionId, body, requestHeaders }?: ThemePartnerValidator.CreateExtensionSectionDraftParam, { responseHeaders }?: object): Promise<ThemePartnerModel.DraftExtensionSectionResponse>;
184
+ createExtensionSectionDraft({ extensionId, body, requestHeaders }?: ThemePartnerValidator.CreateExtensionSectionDraftParam, { responseHeaders }?: object): Promise<ThemePartnerModel.ExtensionSectionDraft>;
186
185
  /**
187
186
  * @param {ThemePartnerValidator.PublishExtensionSectionsParam} arg - Arg object.
188
187
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
189
188
  * @param {import("../PartnerAPIClient").Options} - Options
190
- * @returns {Promise<ThemePartnerModel.PublishExtensionSectionResponse>} -
191
- * Success response
189
+ * @returns {Promise<ThemePartnerModel.ExtensionSectionPublish>} - Success response
192
190
  * @name publishExtensionSections
193
191
  * @summary: Publish an extension section
194
192
  * @description: Publish a draft extension section within the specified organization. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/partner/theme/publishExtensionSections/).
195
193
  */
196
- publishExtensionSections({ extensionId, body, requestHeaders }?: ThemePartnerValidator.PublishExtensionSectionsParam, { responseHeaders }?: object): Promise<ThemePartnerModel.PublishExtensionSectionResponse>;
194
+ publishExtensionSections({ extensionId, body, requestHeaders }?: ThemePartnerValidator.PublishExtensionSectionsParam, { responseHeaders }?: object): Promise<ThemePartnerModel.ExtensionSectionPublish>;
197
195
  /**
198
196
  * @param {ThemePartnerValidator.ApplyExtensionPreviewParam} arg - Arg object.
199
197
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
200
198
  * @param {import("../PartnerAPIClient").Options} - Options
201
- * @returns {Promise<ThemePartnerModel.ExtensionPreviewResponse>} - Success response
199
+ * @returns {Promise<ThemePartnerModel.ExtensionPreview>} - Success response
202
200
  * @name applyExtensionPreview
203
201
  * @summary: Start a Preview of Extension Section
204
202
  * @description: Use this API to start a local session for previewing the extension section binding. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/partner/theme/applyExtensionPreview/).
205
203
  */
206
- applyExtensionPreview({ extensionSectionId, body, requestHeaders }?: ThemePartnerValidator.ApplyExtensionPreviewParam, { responseHeaders }?: object): Promise<ThemePartnerModel.ExtensionPreviewResponse>;
204
+ applyExtensionPreview({ extensionSectionId, body, requestHeaders }?: ThemePartnerValidator.ApplyExtensionPreviewParam, { responseHeaders }?: object): Promise<ThemePartnerModel.ExtensionPreview>;
207
205
  /**
208
206
  * @param {ThemePartnerValidator.RemoveExtensionPreviewParam} arg - Arg object.
209
207
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
210
208
  * @param {import("../PartnerAPIClient").Options} - Options
211
- * @returns {Promise<ThemePartnerModel.ExtensionPreviewResponse>} - Success response
209
+ * @returns {Promise<ThemePartnerModel.ExtensionPreview>} - Success response
212
210
  * @name removeExtensionPreview
213
211
  * @summary: Close a Preview of Extension Section
214
212
  * @description: Use this API to close a local session for previewing the extension section binding - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/partner/theme/removeExtensionPreview/).
215
213
  */
216
- removeExtensionPreview({ extensionSectionId, body, requestHeaders }?: ThemePartnerValidator.RemoveExtensionPreviewParam, { responseHeaders }?: object): Promise<ThemePartnerModel.ExtensionPreviewResponse>;
214
+ removeExtensionPreview({ extensionSectionId, body, requestHeaders }?: ThemePartnerValidator.RemoveExtensionPreviewParam, { responseHeaders }?: object): Promise<ThemePartnerModel.ExtensionPreview>;
217
215
  /**
218
216
  * @param {ThemePartnerValidator.GetThemeRejectionReasonsParam} arg - Arg object.
219
217
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
@@ -1374,8 +1374,7 @@ class Theme {
1374
1374
  * @param {ThemePartnerValidator.CreateExtensionSectionDraftParam} arg - Arg object.
1375
1375
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
1376
1376
  * @param {import("../PartnerAPIClient").Options} - Options
1377
- * @returns {Promise<ThemePartnerModel.DraftExtensionSectionResponse>} -
1378
- * Success response
1377
+ * @returns {Promise<ThemePartnerModel.ExtensionSectionDraft>} - Success response
1379
1378
  * @name createExtensionSectionDraft
1380
1379
  * @summary: Draft extension section
1381
1380
  * @description: Create a new draft for an extension section within the specified organization. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/partner/theme/createExtensionSectionDraft/).
@@ -1433,10 +1432,10 @@ class Theme {
1433
1432
 
1434
1433
  const {
1435
1434
  error: res_error,
1436
- } = ThemePartnerModel.DraftExtensionSectionResponse().validate(
1437
- responseData,
1438
- { abortEarly: false, allowUnknown: true }
1439
- );
1435
+ } = ThemePartnerModel.ExtensionSectionDraft().validate(responseData, {
1436
+ abortEarly: false,
1437
+ allowUnknown: true,
1438
+ });
1440
1439
 
1441
1440
  if (res_error) {
1442
1441
  if (this.config.options.strictResponseCheck === true) {
@@ -1456,8 +1455,7 @@ class Theme {
1456
1455
  * @param {ThemePartnerValidator.PublishExtensionSectionsParam} arg - Arg object.
1457
1456
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
1458
1457
  * @param {import("../PartnerAPIClient").Options} - Options
1459
- * @returns {Promise<ThemePartnerModel.PublishExtensionSectionResponse>} -
1460
- * Success response
1458
+ * @returns {Promise<ThemePartnerModel.ExtensionSectionPublish>} - Success response
1461
1459
  * @name publishExtensionSections
1462
1460
  * @summary: Publish an extension section
1463
1461
  * @description: Publish a draft extension section within the specified organization. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/partner/theme/publishExtensionSections/).
@@ -1513,10 +1511,10 @@ class Theme {
1513
1511
 
1514
1512
  const {
1515
1513
  error: res_error,
1516
- } = ThemePartnerModel.PublishExtensionSectionResponse().validate(
1517
- responseData,
1518
- { abortEarly: false, allowUnknown: true }
1519
- );
1514
+ } = ThemePartnerModel.ExtensionSectionPublish().validate(responseData, {
1515
+ abortEarly: false,
1516
+ allowUnknown: true,
1517
+ });
1520
1518
 
1521
1519
  if (res_error) {
1522
1520
  if (this.config.options.strictResponseCheck === true) {
@@ -1536,7 +1534,7 @@ class Theme {
1536
1534
  * @param {ThemePartnerValidator.ApplyExtensionPreviewParam} arg - Arg object.
1537
1535
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
1538
1536
  * @param {import("../PartnerAPIClient").Options} - Options
1539
- * @returns {Promise<ThemePartnerModel.ExtensionPreviewResponse>} - Success response
1537
+ * @returns {Promise<ThemePartnerModel.ExtensionPreview>} - Success response
1540
1538
  * @name applyExtensionPreview
1541
1539
  * @summary: Start a Preview of Extension Section
1542
1540
  * @description: Use this API to start a local session for previewing the extension section binding. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/partner/theme/applyExtensionPreview/).
@@ -1592,7 +1590,7 @@ class Theme {
1592
1590
 
1593
1591
  const {
1594
1592
  error: res_error,
1595
- } = ThemePartnerModel.ExtensionPreviewResponse().validate(responseData, {
1593
+ } = ThemePartnerModel.ExtensionPreview().validate(responseData, {
1596
1594
  abortEarly: false,
1597
1595
  allowUnknown: true,
1598
1596
  });
@@ -1615,7 +1613,7 @@ class Theme {
1615
1613
  * @param {ThemePartnerValidator.RemoveExtensionPreviewParam} arg - Arg object.
1616
1614
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
1617
1615
  * @param {import("../PartnerAPIClient").Options} - Options
1618
- * @returns {Promise<ThemePartnerModel.ExtensionPreviewResponse>} - Success response
1616
+ * @returns {Promise<ThemePartnerModel.ExtensionPreview>} - Success response
1619
1617
  * @name removeExtensionPreview
1620
1618
  * @summary: Close a Preview of Extension Section
1621
1619
  * @description: Use this API to close a local session for previewing the extension section binding - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/partner/theme/removeExtensionPreview/).
@@ -1671,7 +1669,7 @@ class Theme {
1671
1669
 
1672
1670
  const {
1673
1671
  error: res_error,
1674
- } = ThemePartnerModel.ExtensionPreviewResponse().validate(responseData, {
1672
+ } = ThemePartnerModel.ExtensionPreview().validate(responseData, {
1675
1673
  abortEarly: false,
1676
1674
  allowUnknown: true,
1677
1675
  });
@@ -15,7 +15,7 @@ export = ThemePartnerModel;
15
15
  * @property {string} [updated_at] - The last update timestamp of the page
16
16
  */
17
17
  /**
18
- * @typedef DraftExtensionSectionRequest
18
+ * @typedef DraftExtensionSection
19
19
  * @property {string} [extension_id]
20
20
  * @property {string} [bundle_name]
21
21
  * @property {string} [organization_id]
@@ -25,11 +25,11 @@ export = ThemePartnerModel;
25
25
  * @property {string} [status]
26
26
  */
27
27
  /**
28
- * @typedef DraftExtensionSectionResponse
29
- * @property {SectionsResponse} [sections]
28
+ * @typedef ExtensionSectionDraft
29
+ * @property {Sections} [sections]
30
30
  */
31
31
  /**
32
- * @typedef SectionsResponse
32
+ * @typedef Sections
33
33
  * @property {boolean} [acknowledged]
34
34
  * @property {number} [matched_count]
35
35
  * @property {number} [modified_count]
@@ -56,7 +56,7 @@ export = ThemePartnerModel;
56
56
  * @property {string} [css]
57
57
  */
58
58
  /**
59
- * @typedef PublishExtensionSectionRequest
59
+ * @typedef PublishExtensionSection
60
60
  * @property {string} [extension_id]
61
61
  * @property {string} [bundle_name]
62
62
  * @property {string} [organization_id]
@@ -66,17 +66,17 @@ export = ThemePartnerModel;
66
66
  * @property {string} [status]
67
67
  */
68
68
  /**
69
- * @typedef ExtensionPreviewRequest
69
+ * @typedef PreviewExtension
70
70
  * @property {string} [application_id] - Application ID
71
71
  * @property {string} [section_preview_hash] - Hash for the section preview
72
72
  */
73
73
  /**
74
- * @typedef ExtensionPreviewResponse
74
+ * @typedef ExtensionPreview
75
75
  * @property {string} [message]
76
76
  */
77
77
  /**
78
- * @typedef PublishExtensionSectionResponse
79
- * @property {SectionsResponse} [sections]
78
+ * @typedef ExtensionSectionPublish
79
+ * @property {Sections} [sections]
80
80
  */
81
81
  /**
82
82
  * @typedef AvailablePageSectionMetaAttributes
@@ -125,7 +125,15 @@ export = ThemePartnerModel;
125
125
  * @property {Object[]} [blocks]
126
126
  * @property {Object} [preset]
127
127
  * @property {AvailablePagePredicate} [predicate]
128
- * @property {string} [source]
128
+ * @property {SectionSource} [__source]
129
+ */
130
+ /**
131
+ * @typedef SectionSource
132
+ * @property {string} [id] - The source id specifying the source of the section.
133
+ * @property {string} [bundle_name] - This is the extension binding name
134
+ * containing this section.
135
+ * @property {string} [type] - This is source type. It will either be
136
+ * themeBundle or extension.
129
137
  */
130
138
  /**
131
139
  * @typedef AvailablePageScreenPredicate
@@ -273,12 +281,26 @@ export = ThemePartnerModel;
273
281
  * @property {string} admin_id - The ID of the admin who rejected the theme
274
282
  * @property {string} user_id - The ID of the user who submitted the theme
275
283
  * @property {string} status - The status of the theme (e.g., rejected)
276
- * @property {Object} rejection_reasons
284
+ * @property {RejectedMessages} rejection_reasons
277
285
  * @property {string} [created_at] - The date and time when the theme rejection
278
286
  * reasons object was created
279
287
  * @property {string} [updated_at] - The date and time when the theme rejection
280
288
  * reasons object was last updated
281
289
  */
290
+ /**
291
+ * @typedef RejectedMessages
292
+ * @property {ThemeReviewRequestMessage} [theme_file]
293
+ * @property {ThemeReviewRequestMessage} [theme_details]
294
+ * @property {ThemeReviewRequestMessage} [theme_value_proposition]
295
+ * @property {ThemeReviewRequestMessage} [theme_attributes]
296
+ * @property {ThemeReviewRequestMessage} [theme_variations]
297
+ * @property {ThemeReviewRequestMessage} [theme_docs]
298
+ * @property {ThemeReviewRequestMessage} [theme_review]
299
+ */
300
+ /**
301
+ * @typedef ThemeReviewRequestMessage
302
+ * @property {string} [message] - Message Explaining what the issue is
303
+ */
282
304
  /**
283
305
  * @typedef AllAvailablePageSchema
284
306
  * @property {AvailablePageSchema[]} [pages]
@@ -656,7 +678,7 @@ export = ThemePartnerModel;
656
678
  declare class ThemePartnerModel {
657
679
  }
658
680
  declare namespace ThemePartnerModel {
659
- export { AvailablePageSchema, DraftExtensionSectionRequest, DraftExtensionSectionResponse, SectionsResponse, ExtensionSection, PropExtension, AssetsExtension, PublishExtensionSectionRequest, ExtensionPreviewRequest, ExtensionPreviewResponse, PublishExtensionSectionResponse, AvailablePageSectionMetaAttributes, AvailablePageSeo, SEOMetaItem, SEOMetaItems, SEOSitemap, SEObreadcrumb, Action, AvailablePageSchemaSections, AvailablePageScreenPredicate, AvailablePageUserPredicate, AvailablePageRoutePredicate, AvailablePagePlatformPredicate, AvailablePageSchedulePredicate, AvailablePagePredicate, MarketplaceThemeSchema, MarketplaceTheme, PaymentInfo, ContactInfo, CatalogSize, MarketplaceThemeImages, CarouselItem, ExploreInfo, Feature, FeatureItem, Highlight, Variation, Documentation, Comments, ThemeRejectionReasons, AllAvailablePageSchema, PaginationSchema, BlitzkriegApiErrorSchema, BlitzkriegInternalServerErrorSchema, ThemesSchema, Font, FontVariants, FontVariant, Config, ThemeConfiguration, OverlayPopup, DividerStrokeHighlight, UserAlerts, OrderTracking, ThemeConfigListPage, ThemeConfigListPageSettingsProps, CustomConfig, CustomProps, ThemeMeta, ThemePayment, Release, Images, Assets, UMDJs, CommonJS, CSS, SectionItem, GlobalSchema, Prop, Preset, Page, SectionProps, SectionPreset, ImagePickerProp, UrlProp, BlockProps, TextProp, CheckboxProp, RangeProp, Section, Block, Predicate, Screen, ThemeUserSchema, Route, UpdateThemeRequestBody, CreateNewTheme, ActionPage, PageType };
681
+ export { AvailablePageSchema, DraftExtensionSection, ExtensionSectionDraft, Sections, ExtensionSection, PropExtension, AssetsExtension, PublishExtensionSection, PreviewExtension, ExtensionPreview, ExtensionSectionPublish, AvailablePageSectionMetaAttributes, AvailablePageSeo, SEOMetaItem, SEOMetaItems, SEOSitemap, SEObreadcrumb, Action, AvailablePageSchemaSections, SectionSource, AvailablePageScreenPredicate, AvailablePageUserPredicate, AvailablePageRoutePredicate, AvailablePagePlatformPredicate, AvailablePageSchedulePredicate, AvailablePagePredicate, MarketplaceThemeSchema, MarketplaceTheme, PaymentInfo, ContactInfo, CatalogSize, MarketplaceThemeImages, CarouselItem, ExploreInfo, Feature, FeatureItem, Highlight, Variation, Documentation, Comments, ThemeRejectionReasons, RejectedMessages, ThemeReviewRequestMessage, AllAvailablePageSchema, PaginationSchema, BlitzkriegApiErrorSchema, BlitzkriegInternalServerErrorSchema, ThemesSchema, Font, FontVariants, FontVariant, Config, ThemeConfiguration, OverlayPopup, DividerStrokeHighlight, UserAlerts, OrderTracking, ThemeConfigListPage, ThemeConfigListPageSettingsProps, CustomConfig, CustomProps, ThemeMeta, ThemePayment, Release, Images, Assets, UMDJs, CommonJS, CSS, SectionItem, GlobalSchema, Prop, Preset, Page, SectionProps, SectionPreset, ImagePickerProp, UrlProp, BlockProps, TextProp, CheckboxProp, RangeProp, Section, Block, Predicate, Screen, ThemeUserSchema, Route, UpdateThemeRequestBody, CreateNewTheme, ActionPage, PageType };
660
682
  }
661
683
  /** @returns {AvailablePageSchema} */
662
684
  declare function AvailablePageSchema(): AvailablePageSchema;
@@ -680,9 +702,9 @@ type AvailablePageSchema = {
680
702
  */
681
703
  updated_at?: string;
682
704
  };
683
- /** @returns {DraftExtensionSectionRequest} */
684
- declare function DraftExtensionSectionRequest(): DraftExtensionSectionRequest;
685
- type DraftExtensionSectionRequest = {
705
+ /** @returns {DraftExtensionSection} */
706
+ declare function DraftExtensionSection(): DraftExtensionSection;
707
+ type DraftExtensionSection = {
686
708
  extension_id?: string;
687
709
  bundle_name?: string;
688
710
  organization_id?: string;
@@ -691,14 +713,14 @@ type DraftExtensionSectionRequest = {
691
713
  type?: string;
692
714
  status?: string;
693
715
  };
694
- /** @returns {DraftExtensionSectionResponse} */
695
- declare function DraftExtensionSectionResponse(): DraftExtensionSectionResponse;
696
- type DraftExtensionSectionResponse = {
697
- sections?: SectionsResponse;
716
+ /** @returns {ExtensionSectionDraft} */
717
+ declare function ExtensionSectionDraft(): ExtensionSectionDraft;
718
+ type ExtensionSectionDraft = {
719
+ sections?: Sections;
698
720
  };
699
- /** @returns {SectionsResponse} */
700
- declare function SectionsResponse(): SectionsResponse;
701
- type SectionsResponse = {
721
+ /** @returns {Sections} */
722
+ declare function Sections(): Sections;
723
+ type Sections = {
702
724
  acknowledged?: boolean;
703
725
  matched_count?: number;
704
726
  modified_count?: number;
@@ -727,9 +749,9 @@ type AssetsExtension = {
727
749
  js?: string;
728
750
  css?: string;
729
751
  };
730
- /** @returns {PublishExtensionSectionRequest} */
731
- declare function PublishExtensionSectionRequest(): PublishExtensionSectionRequest;
732
- type PublishExtensionSectionRequest = {
752
+ /** @returns {PublishExtensionSection} */
753
+ declare function PublishExtensionSection(): PublishExtensionSection;
754
+ type PublishExtensionSection = {
733
755
  extension_id?: string;
734
756
  bundle_name?: string;
735
757
  organization_id?: string;
@@ -738,9 +760,9 @@ type PublishExtensionSectionRequest = {
738
760
  type?: string;
739
761
  status?: string;
740
762
  };
741
- /** @returns {ExtensionPreviewRequest} */
742
- declare function ExtensionPreviewRequest(): ExtensionPreviewRequest;
743
- type ExtensionPreviewRequest = {
763
+ /** @returns {PreviewExtension} */
764
+ declare function PreviewExtension(): PreviewExtension;
765
+ type PreviewExtension = {
744
766
  /**
745
767
  * - Application ID
746
768
  */
@@ -750,15 +772,15 @@ type ExtensionPreviewRequest = {
750
772
  */
751
773
  section_preview_hash?: string;
752
774
  };
753
- /** @returns {ExtensionPreviewResponse} */
754
- declare function ExtensionPreviewResponse(): ExtensionPreviewResponse;
755
- type ExtensionPreviewResponse = {
775
+ /** @returns {ExtensionPreview} */
776
+ declare function ExtensionPreview(): ExtensionPreview;
777
+ type ExtensionPreview = {
756
778
  message?: string;
757
779
  };
758
- /** @returns {PublishExtensionSectionResponse} */
759
- declare function PublishExtensionSectionResponse(): PublishExtensionSectionResponse;
760
- type PublishExtensionSectionResponse = {
761
- sections?: SectionsResponse;
780
+ /** @returns {ExtensionSectionPublish} */
781
+ declare function ExtensionSectionPublish(): ExtensionSectionPublish;
782
+ type ExtensionSectionPublish = {
783
+ sections?: Sections;
762
784
  };
763
785
  /** @returns {AvailablePageSectionMetaAttributes} */
764
786
  declare function AvailablePageSectionMetaAttributes(): AvailablePageSectionMetaAttributes;
@@ -818,7 +840,25 @@ type AvailablePageSchemaSections = {
818
840
  blocks?: any[];
819
841
  preset?: any;
820
842
  predicate?: AvailablePagePredicate;
821
- source?: string;
843
+ __source?: SectionSource;
844
+ };
845
+ /** @returns {SectionSource} */
846
+ declare function SectionSource(): SectionSource;
847
+ type SectionSource = {
848
+ /**
849
+ * - The source id specifying the source of the section.
850
+ */
851
+ id?: string;
852
+ /**
853
+ * - This is the extension binding name
854
+ * containing this section.
855
+ */
856
+ bundle_name?: string;
857
+ /**
858
+ * - This is source type. It will either be
859
+ * themeBundle or extension.
860
+ */
861
+ type?: string;
822
862
  };
823
863
  /** @returns {AvailablePageScreenPredicate} */
824
864
  declare function AvailablePageScreenPredicate(): AvailablePageScreenPredicate;
@@ -1143,7 +1183,7 @@ type ThemeRejectionReasons = {
1143
1183
  * - The status of the theme (e.g., rejected)
1144
1184
  */
1145
1185
  status: string;
1146
- rejection_reasons: any;
1186
+ rejection_reasons: RejectedMessages;
1147
1187
  /**
1148
1188
  * - The date and time when the theme rejection
1149
1189
  * reasons object was created
@@ -1155,6 +1195,25 @@ type ThemeRejectionReasons = {
1155
1195
  */
1156
1196
  updated_at?: string;
1157
1197
  };
1198
+ /** @returns {RejectedMessages} */
1199
+ declare function RejectedMessages(): RejectedMessages;
1200
+ type RejectedMessages = {
1201
+ theme_file?: ThemeReviewRequestMessage;
1202
+ theme_details?: ThemeReviewRequestMessage;
1203
+ theme_value_proposition?: ThemeReviewRequestMessage;
1204
+ theme_attributes?: ThemeReviewRequestMessage;
1205
+ theme_variations?: ThemeReviewRequestMessage;
1206
+ theme_docs?: ThemeReviewRequestMessage;
1207
+ theme_review?: ThemeReviewRequestMessage;
1208
+ };
1209
+ /** @returns {ThemeReviewRequestMessage} */
1210
+ declare function ThemeReviewRequestMessage(): ThemeReviewRequestMessage;
1211
+ type ThemeReviewRequestMessage = {
1212
+ /**
1213
+ * - Message Explaining what the issue is
1214
+ */
1215
+ message?: string;
1216
+ };
1158
1217
  /** @returns {AllAvailablePageSchema} */
1159
1218
  declare function AllAvailablePageSchema(): AllAvailablePageSchema;
1160
1219
  type AllAvailablePageSchema = {