@gofynd/fdk-client-javascript 1.4.12 → 1.4.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (297) hide show
  1. package/README.md +1 -1
  2. package/package.json +2 -2
  3. package/sdk/application/ApplicationClient.d.ts +2 -0
  4. package/sdk/application/ApplicationClient.js +2 -0
  5. package/sdk/application/Cart/CartApplicationClient.d.ts +60 -53
  6. package/sdk/application/Cart/CartApplicationClient.js +130 -53
  7. package/sdk/application/Cart/CartApplicationModel.d.ts +489 -143
  8. package/sdk/application/Cart/CartApplicationModel.js +380 -159
  9. package/sdk/application/Cart/CartApplicationValidator.d.ts +38 -19
  10. package/sdk/application/Cart/CartApplicationValidator.js +34 -18
  11. package/sdk/application/Catalog/CatalogApplicationClient.d.ts +88 -68
  12. package/sdk/application/Catalog/CatalogApplicationClient.js +114 -94
  13. package/sdk/application/Catalog/CatalogApplicationModel.d.ts +194 -142
  14. package/sdk/application/Catalog/CatalogApplicationModel.js +171 -133
  15. package/sdk/application/Common/CommonApplicationClient.d.ts +3 -2
  16. package/sdk/application/Common/CommonApplicationClient.js +6 -5
  17. package/sdk/application/Common/CommonApplicationModel.d.ts +9 -9
  18. package/sdk/application/Common/CommonApplicationModel.js +6 -6
  19. package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +34 -27
  20. package/sdk/application/Configuration/ConfigurationApplicationClient.js +34 -27
  21. package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +45 -57
  22. package/sdk/application/Configuration/ConfigurationApplicationModel.js +35 -47
  23. package/sdk/application/Configuration/ConfigurationApplicationValidator.d.ts +2 -2
  24. package/sdk/application/Configuration/ConfigurationApplicationValidator.js +2 -2
  25. package/sdk/application/Content/ContentApplicationClient.d.ts +23 -33
  26. package/sdk/application/Content/ContentApplicationClient.js +54 -75
  27. package/sdk/application/Content/ContentApplicationModel.d.ts +96 -39
  28. package/sdk/application/Content/ContentApplicationModel.js +88 -34
  29. package/sdk/application/Content/ContentApplicationValidator.d.ts +23 -17
  30. package/sdk/application/Content/ContentApplicationValidator.js +15 -10
  31. package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +9 -8
  32. package/sdk/application/FileStorage/FileStorageApplicationClient.js +14 -13
  33. package/sdk/application/FileStorage/FileStorageApplicationModel.d.ts +23 -25
  34. package/sdk/application/FileStorage/FileStorageApplicationModel.js +16 -18
  35. package/sdk/application/FileStorage/FileStorageApplicationValidator.d.ts +6 -6
  36. package/sdk/application/FileStorage/FileStorageApplicationValidator.js +6 -6
  37. package/sdk/application/Finance/FinanceApplicationClient.d.ts +36 -0
  38. package/sdk/application/Finance/FinanceApplicationClient.js +202 -0
  39. package/sdk/application/Finance/FinanceApplicationModel.d.ts +289 -0
  40. package/sdk/application/Finance/FinanceApplicationModel.js +208 -0
  41. package/sdk/application/Finance/FinanceApplicationValidator.d.ts +25 -0
  42. package/sdk/application/Finance/FinanceApplicationValidator.js +31 -0
  43. package/sdk/application/Lead/LeadApplicationClient.d.ts +2 -3
  44. package/sdk/application/Lead/LeadApplicationClient.js +2 -3
  45. package/sdk/application/Lead/LeadApplicationModel.d.ts +11 -11
  46. package/sdk/application/Lead/LeadApplicationModel.js +19 -19
  47. package/sdk/application/Logistic/LogisticApplicationClient.d.ts +39 -16
  48. package/sdk/application/Logistic/LogisticApplicationClient.js +189 -21
  49. package/sdk/application/Logistic/LogisticApplicationModel.d.ts +532 -173
  50. package/sdk/application/Logistic/LogisticApplicationModel.js +409 -139
  51. package/sdk/application/Logistic/LogisticApplicationValidator.d.ts +54 -9
  52. package/sdk/application/Logistic/LogisticApplicationValidator.js +42 -8
  53. package/sdk/application/Order/OrderApplicationClient.d.ts +24 -10
  54. package/sdk/application/Order/OrderApplicationClient.js +96 -13
  55. package/sdk/application/Order/OrderApplicationModel.d.ts +434 -102
  56. package/sdk/application/Order/OrderApplicationModel.js +278 -73
  57. package/sdk/application/Order/OrderApplicationValidator.d.ts +17 -3
  58. package/sdk/application/Order/OrderApplicationValidator.js +15 -2
  59. package/sdk/application/Payment/PaymentApplicationClient.d.ts +96 -99
  60. package/sdk/application/Payment/PaymentApplicationClient.js +111 -114
  61. package/sdk/application/Payment/PaymentApplicationModel.d.ts +293 -289
  62. package/sdk/application/Payment/PaymentApplicationModel.js +243 -241
  63. package/sdk/application/Payment/PaymentApplicationValidator.d.ts +46 -46
  64. package/sdk/application/Payment/PaymentApplicationValidator.js +46 -46
  65. package/sdk/application/Rewards/RewardsApplicationClient.d.ts +13 -16
  66. package/sdk/application/Rewards/RewardsApplicationClient.js +19 -22
  67. package/sdk/application/Rewards/RewardsApplicationModel.d.ts +37 -37
  68. package/sdk/application/Rewards/RewardsApplicationModel.js +29 -29
  69. package/sdk/application/Rewards/RewardsApplicationValidator.d.ts +6 -6
  70. package/sdk/application/Rewards/RewardsApplicationValidator.js +6 -6
  71. package/sdk/application/Share/ShareApplicationModel.js +1 -1
  72. package/sdk/application/Theme/ThemeApplicationClient.d.ts +2 -2
  73. package/sdk/application/Theme/ThemeApplicationClient.js +8 -6
  74. package/sdk/application/Theme/ThemeApplicationModel.d.ts +51 -19
  75. package/sdk/application/Theme/ThemeApplicationModel.js +47 -24
  76. package/sdk/application/Theme/ThemeApplicationValidator.d.ts +16 -3
  77. package/sdk/application/Theme/ThemeApplicationValidator.js +9 -2
  78. package/sdk/application/User/UserApplicationClient.d.ts +10 -10
  79. package/sdk/application/User/UserApplicationClient.js +10 -10
  80. package/sdk/application/User/UserApplicationModel.d.ts +17 -17
  81. package/sdk/application/User/UserApplicationModel.js +16 -16
  82. package/sdk/application/User/UserApplicationValidator.d.ts +2 -2
  83. package/sdk/application/User/UserApplicationValidator.js +2 -2
  84. package/sdk/application/Webhook/WebhookApplicationClient.d.ts +4 -4
  85. package/sdk/application/Webhook/WebhookApplicationClient.js +4 -4
  86. package/sdk/application/Webhook/WebhookApplicationModel.d.ts +11 -9
  87. package/sdk/application/Webhook/WebhookApplicationModel.js +8 -6
  88. package/sdk/application/Webhook/WebhookApplicationValidator.d.ts +2 -2
  89. package/sdk/application/Webhook/WebhookApplicationValidator.js +2 -2
  90. package/sdk/application/index.d.ts +1 -0
  91. package/sdk/application/index.js +2 -0
  92. package/sdk/common/Clickstream.js +12 -0
  93. package/sdk/common/Constant.d.ts +5 -0
  94. package/sdk/common/Constant.js +5 -0
  95. package/sdk/partner/FileStorage/FileStoragePartnerClient.d.ts +86 -12
  96. package/sdk/partner/FileStorage/FileStoragePartnerClient.js +582 -24
  97. package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +116 -19
  98. package/sdk/partner/FileStorage/FileStoragePartnerModel.js +121 -14
  99. package/sdk/partner/FileStorage/FileStoragePartnerValidator.d.ts +8 -1
  100. package/sdk/partner/FileStorage/FileStoragePartnerValidator.js +51 -4
  101. package/sdk/partner/Lead/LeadPartnerClient.d.ts +2 -2
  102. package/sdk/partner/Lead/LeadPartnerClient.js +2 -2
  103. package/sdk/partner/Lead/LeadPartnerModel.d.ts +5 -5
  104. package/sdk/partner/Lead/LeadPartnerModel.js +15 -15
  105. package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +126 -20
  106. package/sdk/partner/Logistics/LogisticsPartnerClient.js +970 -20
  107. package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +767 -85
  108. package/sdk/partner/Logistics/LogisticsPartnerModel.js +429 -76
  109. package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +10 -0
  110. package/sdk/partner/Logistics/LogisticsPartnerValidator.js +120 -6
  111. package/sdk/partner/Theme/ThemePartnerClient.d.ts +8 -10
  112. package/sdk/partner/Theme/ThemePartnerClient.js +14 -16
  113. package/sdk/partner/Theme/ThemePartnerModel.d.ts +99 -39
  114. package/sdk/partner/Theme/ThemePartnerModel.js +95 -38
  115. package/sdk/partner/Theme/ThemePartnerValidator.js +4 -4
  116. package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +28 -18
  117. package/sdk/partner/Webhook/WebhookPartnerClient.js +103 -18
  118. package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +612 -179
  119. package/sdk/partner/Webhook/WebhookPartnerModel.js +253 -150
  120. package/sdk/partner/Webhook/WebhookPartnerValidator.d.ts +1 -0
  121. package/sdk/partner/Webhook/WebhookPartnerValidator.js +11 -3
  122. package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.d.ts +5 -4
  123. package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.js +14 -8
  124. package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +59 -9
  125. package/sdk/platform/Analytics/AnalyticsPlatformModel.js +40 -4
  126. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +2 -32
  127. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +3 -243
  128. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +11 -130
  129. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +12 -152
  130. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +1 -39
  131. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +0 -35
  132. package/sdk/platform/Billing/BillingPlatformClient.d.ts +12 -12
  133. package/sdk/platform/Billing/BillingPlatformClient.js +15 -15
  134. package/sdk/platform/Billing/BillingPlatformModel.d.ts +443 -388
  135. package/sdk/platform/Billing/BillingPlatformModel.js +280 -263
  136. package/sdk/platform/Billing/BillingPlatformValidator.d.ts +16 -18
  137. package/sdk/platform/Billing/BillingPlatformValidator.js +8 -9
  138. package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +134 -103
  139. package/sdk/platform/Cart/CartPlatformApplicationClient.js +407 -112
  140. package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +111 -65
  141. package/sdk/platform/Cart/CartPlatformApplicationValidator.js +106 -44
  142. package/sdk/platform/Cart/CartPlatformModel.d.ts +4978 -1303
  143. package/sdk/platform/Cart/CartPlatformModel.js +1922 -1217
  144. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +192 -164
  145. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +371 -343
  146. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +99 -99
  147. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +54 -54
  148. package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +139 -116
  149. package/sdk/platform/Catalog/CatalogPlatformClient.js +191 -168
  150. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +1374 -749
  151. package/sdk/platform/Catalog/CatalogPlatformModel.js +1241 -830
  152. package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +18 -18
  153. package/sdk/platform/Catalog/CatalogPlatformValidator.js +18 -18
  154. package/sdk/platform/Common/CommonPlatformClient.d.ts +3 -2
  155. package/sdk/platform/Common/CommonPlatformClient.js +3 -2
  156. package/sdk/platform/Common/CommonPlatformModel.d.ts +9 -9
  157. package/sdk/platform/Common/CommonPlatformModel.js +6 -6
  158. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +16 -17
  159. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +16 -17
  160. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +8 -8
  161. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +8 -8
  162. package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +43 -33
  163. package/sdk/platform/Communication/CommunicationPlatformModel.js +38 -34
  164. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +46 -42
  165. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +47 -43
  166. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +223 -223
  167. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +210 -212
  168. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +12 -12
  169. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +12 -12
  170. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +46 -33
  171. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +67 -54
  172. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +18 -18
  173. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +18 -18
  174. package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +45 -24
  175. package/sdk/platform/Configuration/ConfigurationPlatformClient.js +134 -30
  176. package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +283 -124
  177. package/sdk/platform/Configuration/ConfigurationPlatformModel.js +219 -94
  178. package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +37 -9
  179. package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +27 -8
  180. package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +124 -141
  181. package/sdk/platform/Content/ContentPlatformApplicationClient.js +449 -422
  182. package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +179 -141
  183. package/sdk/platform/Content/ContentPlatformApplicationValidator.js +168 -130
  184. package/sdk/platform/Content/ContentPlatformClient.d.ts +142 -106
  185. package/sdk/platform/Content/ContentPlatformClient.js +523 -336
  186. package/sdk/platform/Content/ContentPlatformModel.d.ts +1244 -397
  187. package/sdk/platform/Content/ContentPlatformModel.js +526 -392
  188. package/sdk/platform/Content/ContentPlatformValidator.d.ts +168 -117
  189. package/sdk/platform/Content/ContentPlatformValidator.js +162 -108
  190. package/sdk/platform/Discount/DiscountPlatformClient.d.ts +14 -12
  191. package/sdk/platform/Discount/DiscountPlatformClient.js +14 -12
  192. package/sdk/platform/Discount/DiscountPlatformModel.d.ts +13 -13
  193. package/sdk/platform/Discount/DiscountPlatformModel.js +12 -12
  194. package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +2 -2
  195. package/sdk/platform/Discount/DiscountPlatformValidator.js +2 -2
  196. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +94 -36
  197. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +462 -60
  198. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +62 -15
  199. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +75 -13
  200. package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +19 -19
  201. package/sdk/platform/FileStorage/FileStoragePlatformClient.js +21 -21
  202. package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +370 -101
  203. package/sdk/platform/FileStorage/FileStoragePlatformModel.js +313 -84
  204. package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +6 -6
  205. package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +6 -6
  206. package/sdk/platform/Lead/LeadPlatformClient.d.ts +2 -2
  207. package/sdk/platform/Lead/LeadPlatformClient.js +2 -2
  208. package/sdk/platform/Lead/LeadPlatformModel.d.ts +5 -5
  209. package/sdk/platform/Lead/LeadPlatformModel.js +16 -16
  210. package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +15 -4
  211. package/sdk/platform/Order/OrderPlatformApplicationClient.js +83 -5
  212. package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +25 -4
  213. package/sdk/platform/Order/OrderPlatformApplicationValidator.js +16 -3
  214. package/sdk/platform/Order/OrderPlatformClient.d.ts +138 -101
  215. package/sdk/platform/Order/OrderPlatformClient.js +267 -203
  216. package/sdk/platform/Order/OrderPlatformModel.d.ts +4497 -877
  217. package/sdk/platform/Order/OrderPlatformModel.js +2336 -812
  218. package/sdk/platform/Order/OrderPlatformValidator.d.ts +147 -50
  219. package/sdk/platform/Order/OrderPlatformValidator.js +75 -46
  220. package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +6 -4
  221. package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +9 -7
  222. package/sdk/platform/Partner/PartnerPlatformModel.d.ts +9 -9
  223. package/sdk/platform/Partner/PartnerPlatformModel.js +8 -8
  224. package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +93 -105
  225. package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +129 -141
  226. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +48 -48
  227. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +48 -48
  228. package/sdk/platform/Payment/PaymentPlatformClient.d.ts +20 -20
  229. package/sdk/platform/Payment/PaymentPlatformClient.js +20 -20
  230. package/sdk/platform/Payment/PaymentPlatformModel.d.ts +327 -313
  231. package/sdk/platform/Payment/PaymentPlatformModel.js +283 -273
  232. package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +8 -8
  233. package/sdk/platform/Payment/PaymentPlatformValidator.js +8 -8
  234. package/sdk/platform/PlatformClient.d.ts +0 -2
  235. package/sdk/platform/PlatformClient.js +0 -4
  236. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +2 -2
  237. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +2 -2
  238. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +2 -2
  239. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.js +2 -2
  240. package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +9 -9
  241. package/sdk/platform/Rewards/RewardsPlatformModel.js +8 -8
  242. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +45 -35
  243. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +117 -38
  244. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +22 -13
  245. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +24 -12
  246. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +40 -46
  247. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +58 -64
  248. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +602 -341
  249. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +483 -284
  250. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +8 -8
  251. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +8 -8
  252. package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +2 -2
  253. package/sdk/platform/Share/SharePlatformApplicationClient.js +2 -2
  254. package/sdk/platform/Share/SharePlatformModel.d.ts +36 -5
  255. package/sdk/platform/Share/SharePlatformModel.js +27 -4
  256. package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +3 -3
  257. package/sdk/platform/Theme/ThemePlatformApplicationClient.js +8 -4
  258. package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +5 -0
  259. package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +2 -0
  260. package/sdk/platform/Theme/ThemePlatformModel.d.ts +40 -13
  261. package/sdk/platform/Theme/ThemePlatformModel.js +38 -17
  262. package/sdk/platform/User/UserPlatformApplicationClient.d.ts +12 -12
  263. package/sdk/platform/User/UserPlatformApplicationClient.js +12 -12
  264. package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +2 -2
  265. package/sdk/platform/User/UserPlatformApplicationValidator.js +2 -2
  266. package/sdk/platform/User/UserPlatformModel.d.ts +21 -21
  267. package/sdk/platform/User/UserPlatformModel.js +23 -23
  268. package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +25 -78
  269. package/sdk/platform/Webhook/WebhookPlatformClient.js +75 -470
  270. package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +720 -427
  271. package/sdk/platform/Webhook/WebhookPlatformModel.js +410 -386
  272. package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +10 -55
  273. package/sdk/platform/Webhook/WebhookPlatformValidator.js +12 -72
  274. package/sdk/platform/index.d.ts +0 -1
  275. package/sdk/platform/index.js +0 -2
  276. package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +3 -2
  277. package/sdk/public/Configuration/ConfigurationPublicClient.js +6 -5
  278. package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +9 -9
  279. package/sdk/public/Configuration/ConfigurationPublicModel.js +6 -6
  280. package/sdk/public/Content/ContentPublicClient.d.ts +112 -2
  281. package/sdk/public/Content/ContentPublicClient.js +791 -5
  282. package/sdk/public/Content/ContentPublicModel.d.ts +549 -3
  283. package/sdk/public/Content/ContentPublicModel.js +649 -3
  284. package/sdk/public/Content/ContentPublicValidator.d.ts +69 -3
  285. package/sdk/public/Content/ContentPublicValidator.js +88 -2
  286. package/sdk/public/Webhook/WebhookPublicClient.d.ts +8 -8
  287. package/sdk/public/Webhook/WebhookPublicClient.js +8 -8
  288. package/sdk/public/Webhook/WebhookPublicModel.d.ts +21 -21
  289. package/sdk/public/Webhook/WebhookPublicModel.js +15 -15
  290. package/sdk/public/Webhook/WebhookPublicValidator.d.ts +4 -4
  291. package/sdk/public/Webhook/WebhookPublicValidator.js +4 -4
  292. package/sdk/platform/Finance/FinancePlatformClient.d.ts +0 -320
  293. package/sdk/platform/Finance/FinancePlatformClient.js +0 -2333
  294. package/sdk/platform/Finance/FinancePlatformModel.d.ts +0 -2890
  295. package/sdk/platform/Finance/FinancePlatformModel.js +0 -2148
  296. package/sdk/platform/Finance/FinancePlatformValidator.d.ts +0 -284
  297. 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
 
@@ -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]
@@ -650,12 +672,13 @@ export = ThemePartnerModel;
650
672
  * | "register"
651
673
  * | "shipping-policy"
652
674
  * | "return-policy"
653
- * | "order-status"} PageType
675
+ * | "order-status"
676
+ * | "locate-us"} PageType
654
677
  */
655
678
  declare class ThemePartnerModel {
656
679
  }
657
680
  declare namespace ThemePartnerModel {
658
- 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 };
659
682
  }
660
683
  /** @returns {AvailablePageSchema} */
661
684
  declare function AvailablePageSchema(): AvailablePageSchema;
@@ -679,9 +702,9 @@ type AvailablePageSchema = {
679
702
  */
680
703
  updated_at?: string;
681
704
  };
682
- /** @returns {DraftExtensionSectionRequest} */
683
- declare function DraftExtensionSectionRequest(): DraftExtensionSectionRequest;
684
- type DraftExtensionSectionRequest = {
705
+ /** @returns {DraftExtensionSection} */
706
+ declare function DraftExtensionSection(): DraftExtensionSection;
707
+ type DraftExtensionSection = {
685
708
  extension_id?: string;
686
709
  bundle_name?: string;
687
710
  organization_id?: string;
@@ -690,14 +713,14 @@ type DraftExtensionSectionRequest = {
690
713
  type?: string;
691
714
  status?: string;
692
715
  };
693
- /** @returns {DraftExtensionSectionResponse} */
694
- declare function DraftExtensionSectionResponse(): DraftExtensionSectionResponse;
695
- type DraftExtensionSectionResponse = {
696
- sections?: SectionsResponse;
716
+ /** @returns {ExtensionSectionDraft} */
717
+ declare function ExtensionSectionDraft(): ExtensionSectionDraft;
718
+ type ExtensionSectionDraft = {
719
+ sections?: Sections;
697
720
  };
698
- /** @returns {SectionsResponse} */
699
- declare function SectionsResponse(): SectionsResponse;
700
- type SectionsResponse = {
721
+ /** @returns {Sections} */
722
+ declare function Sections(): Sections;
723
+ type Sections = {
701
724
  acknowledged?: boolean;
702
725
  matched_count?: number;
703
726
  modified_count?: number;
@@ -726,9 +749,9 @@ type AssetsExtension = {
726
749
  js?: string;
727
750
  css?: string;
728
751
  };
729
- /** @returns {PublishExtensionSectionRequest} */
730
- declare function PublishExtensionSectionRequest(): PublishExtensionSectionRequest;
731
- type PublishExtensionSectionRequest = {
752
+ /** @returns {PublishExtensionSection} */
753
+ declare function PublishExtensionSection(): PublishExtensionSection;
754
+ type PublishExtensionSection = {
732
755
  extension_id?: string;
733
756
  bundle_name?: string;
734
757
  organization_id?: string;
@@ -737,9 +760,9 @@ type PublishExtensionSectionRequest = {
737
760
  type?: string;
738
761
  status?: string;
739
762
  };
740
- /** @returns {ExtensionPreviewRequest} */
741
- declare function ExtensionPreviewRequest(): ExtensionPreviewRequest;
742
- type ExtensionPreviewRequest = {
763
+ /** @returns {PreviewExtension} */
764
+ declare function PreviewExtension(): PreviewExtension;
765
+ type PreviewExtension = {
743
766
  /**
744
767
  * - Application ID
745
768
  */
@@ -749,15 +772,15 @@ type ExtensionPreviewRequest = {
749
772
  */
750
773
  section_preview_hash?: string;
751
774
  };
752
- /** @returns {ExtensionPreviewResponse} */
753
- declare function ExtensionPreviewResponse(): ExtensionPreviewResponse;
754
- type ExtensionPreviewResponse = {
775
+ /** @returns {ExtensionPreview} */
776
+ declare function ExtensionPreview(): ExtensionPreview;
777
+ type ExtensionPreview = {
755
778
  message?: string;
756
779
  };
757
- /** @returns {PublishExtensionSectionResponse} */
758
- declare function PublishExtensionSectionResponse(): PublishExtensionSectionResponse;
759
- type PublishExtensionSectionResponse = {
760
- sections?: SectionsResponse;
780
+ /** @returns {ExtensionSectionPublish} */
781
+ declare function ExtensionSectionPublish(): ExtensionSectionPublish;
782
+ type ExtensionSectionPublish = {
783
+ sections?: Sections;
761
784
  };
762
785
  /** @returns {AvailablePageSectionMetaAttributes} */
763
786
  declare function AvailablePageSectionMetaAttributes(): AvailablePageSectionMetaAttributes;
@@ -817,7 +840,25 @@ type AvailablePageSchemaSections = {
817
840
  blocks?: any[];
818
841
  preset?: any;
819
842
  predicate?: AvailablePagePredicate;
820
- 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;
821
862
  };
822
863
  /** @returns {AvailablePageScreenPredicate} */
823
864
  declare function AvailablePageScreenPredicate(): AvailablePageScreenPredicate;
@@ -1142,7 +1183,7 @@ type ThemeRejectionReasons = {
1142
1183
  * - The status of the theme (e.g., rejected)
1143
1184
  */
1144
1185
  status: string;
1145
- rejection_reasons: any;
1186
+ rejection_reasons: RejectedMessages;
1146
1187
  /**
1147
1188
  * - The date and time when the theme rejection
1148
1189
  * reasons object was created
@@ -1154,6 +1195,25 @@ type ThemeRejectionReasons = {
1154
1195
  */
1155
1196
  updated_at?: string;
1156
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
+ };
1157
1217
  /** @returns {AllAvailablePageSchema} */
1158
1218
  declare function AllAvailablePageSchema(): AllAvailablePageSchema;
1159
1219
  type AllAvailablePageSchema = {
@@ -1835,4 +1895,4 @@ type ActionPage = {
1835
1895
  * @returns {PageType}
1836
1896
  */
1837
1897
  declare function PageType(): PageType;
1838
- type PageType = "about-us" | "addresses" | "blog" | "brands" | "cards" | "cart" | "categories" | "brand" | "category" | "collection" | "collections" | "custom" | "contact-us" | "external" | "faq" | "freshchat" | "home" | "notification-settings" | "orders" | "page" | "policy" | "product" | "product-request" | "products" | "profile" | "profile-order-shipment" | "profile-basic" | "profile-company" | "profile-emails" | "profile-phones" | "rate-us" | "refer-earn" | "settings" | "shared-cart" | "tnc" | "track-order" | "wishlist" | "sections" | "form" | "cart-delivery" | "cart-payment" | "cart-review" | "login" | "register" | "shipping-policy" | "return-policy" | "order-status";
1898
+ type PageType = "about-us" | "addresses" | "blog" | "brands" | "cards" | "cart" | "categories" | "brand" | "category" | "collection" | "collections" | "custom" | "contact-us" | "external" | "faq" | "freshchat" | "home" | "notification-settings" | "orders" | "page" | "policy" | "product" | "product-request" | "products" | "profile" | "profile-order-shipment" | "profile-basic" | "profile-company" | "profile-emails" | "profile-phones" | "rate-us" | "refer-earn" | "settings" | "shared-cart" | "tnc" | "track-order" | "wishlist" | "sections" | "form" | "cart-delivery" | "cart-payment" | "cart-review" | "login" | "register" | "shipping-policy" | "return-policy" | "order-status" | "locate-us";