@gofynd/fdk-client-javascript 1.0.2 → 1.0.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 (310) hide show
  1. package/documentation/application/CART.md +5934 -4502
  2. package/documentation/application/CATALOG.md +6338 -7245
  3. package/documentation/application/COMMON.md +95 -222
  4. package/documentation/application/COMMUNICATION.md +106 -186
  5. package/documentation/application/CONFIGURATION.md +903 -1597
  6. package/documentation/application/CONTENT.md +557 -1279
  7. package/documentation/application/FILESTORAGE.md +84 -220
  8. package/documentation/application/LEAD.md +314 -660
  9. package/documentation/application/LOGISTIC.md +229 -305
  10. package/documentation/application/ORDER.md +642 -1137
  11. package/documentation/application/PAYMENT.md +2285 -3031
  12. package/documentation/application/POSCART.md +6079 -4642
  13. package/documentation/application/REWARDS.md +94 -248
  14. package/documentation/application/SHARE.md +152 -250
  15. package/documentation/application/THEME.md +952 -1235
  16. package/documentation/application/USER.md +1228 -1765
  17. package/documentation/platform/ANALYTICS.md +207 -349
  18. package/documentation/platform/AUDITTRAIL.md +121 -204
  19. package/documentation/platform/BILLING.md +865 -1376
  20. package/documentation/platform/CART.md +2814 -3662
  21. package/documentation/platform/CATALOG.md +14453 -17192
  22. package/documentation/platform/COMMON.md +95 -222
  23. package/documentation/platform/COMMUNICATION.md +1632 -2380
  24. package/documentation/platform/COMPANYPROFILE.md +572 -957
  25. package/documentation/platform/CONFIGURATION.md +3050 -4073
  26. package/documentation/platform/CONTENT.md +3438 -4172
  27. package/documentation/platform/DISCOUNT.md +140 -236
  28. package/documentation/platform/FILESTORAGE.md +187 -323
  29. package/documentation/platform/INVENTORY.md +268 -911
  30. package/documentation/platform/LEAD.md +2195 -2541
  31. package/documentation/platform/ORDER.md +3400 -5361
  32. package/documentation/platform/PARTNER.md +9 -36
  33. package/documentation/platform/PAYMENT.md +903 -1213
  34. package/documentation/platform/REWARDS.md +183 -347
  35. package/documentation/platform/SHARE.md +120 -213
  36. package/documentation/platform/THEME.md +12956 -13239
  37. package/documentation/platform/USER.md +975 -1120
  38. package/documentation/platform/WEBHOOK.md +78 -184
  39. package/documentation/public/CONFIGURATION.md +95 -222
  40. package/documentation/public/INVENTORY.md +100 -282
  41. package/documentation/public/WEBHOOK.md +27 -133
  42. package/package.json +1 -1
  43. package/sdk/application/Cart/CartApplicationClient.d.ts +243 -243
  44. package/sdk/application/Cart/CartApplicationClient.js +567 -567
  45. package/sdk/application/Cart/CartApplicationModel.d.ts +64 -63
  46. package/sdk/application/Cart/CartApplicationModel.js +489 -886
  47. package/sdk/application/Cart/CartApplicationValidator.d.ts +17 -17
  48. package/sdk/application/Cart/CartApplicationValidator.js +98 -98
  49. package/sdk/application/Catalog/CatalogApplicationClient.d.ts +358 -358
  50. package/sdk/application/Catalog/CatalogApplicationClient.js +1036 -1036
  51. package/sdk/application/Catalog/CatalogApplicationModel.d.ts +90 -90
  52. package/sdk/application/Catalog/CatalogApplicationModel.js +677 -1243
  53. package/sdk/application/Catalog/CatalogApplicationValidator.d.ts +19 -19
  54. package/sdk/application/Catalog/CatalogApplicationValidator.js +110 -110
  55. package/sdk/application/Common/CommonApplicationClient.d.ts +13 -13
  56. package/sdk/application/Common/CommonApplicationClient.js +38 -38
  57. package/sdk/application/Common/CommonApplicationModel.d.ts +12 -12
  58. package/sdk/application/Common/CommonApplicationModel.js +83 -160
  59. package/sdk/application/Common/CommonApplicationValidator.d.ts +1 -1
  60. package/sdk/application/Common/CommonApplicationValidator.js +6 -6
  61. package/sdk/application/Communication/CommunicationApplicationClient.d.ts +11 -11
  62. package/sdk/application/Communication/CommunicationApplicationClient.js +26 -26
  63. package/sdk/application/Communication/CommunicationApplicationModel.d.ts +6 -6
  64. package/sdk/application/Communication/CommunicationApplicationModel.js +38 -83
  65. package/sdk/application/Communication/CommunicationApplicationValidator.d.ts +1 -1
  66. package/sdk/application/Communication/CommunicationApplicationValidator.js +4 -4
  67. package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +116 -116
  68. package/sdk/application/Configuration/ConfigurationApplicationClient.js +330 -330
  69. package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +85 -85
  70. package/sdk/application/Configuration/ConfigurationApplicationModel.js +480 -851
  71. package/sdk/application/Configuration/ConfigurationApplicationValidator.d.ts +8 -8
  72. package/sdk/application/Configuration/ConfigurationApplicationValidator.js +33 -33
  73. package/sdk/application/Content/ContentApplicationClient.d.ts +67 -67
  74. package/sdk/application/Content/ContentApplicationClient.js +191 -191
  75. package/sdk/application/Content/ContentApplicationModel.d.ts +76 -76
  76. package/sdk/application/Content/ContentApplicationModel.js +467 -884
  77. package/sdk/application/Content/ContentApplicationValidator.d.ts +5 -5
  78. package/sdk/application/Content/ContentApplicationValidator.js +24 -24
  79. package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +25 -25
  80. package/sdk/application/FileStorage/FileStorageApplicationClient.js +59 -59
  81. package/sdk/application/FileStorage/FileStorageApplicationModel.d.ts +13 -13
  82. package/sdk/application/FileStorage/FileStorageApplicationModel.js +86 -169
  83. package/sdk/application/FileStorage/FileStorageApplicationValidator.d.ts +1 -1
  84. package/sdk/application/FileStorage/FileStorageApplicationValidator.js +7 -7
  85. package/sdk/application/Lead/LeadApplicationClient.d.ts +24 -24
  86. package/sdk/application/Lead/LeadApplicationClient.js +100 -100
  87. package/sdk/application/Lead/LeadApplicationModel.d.ts +35 -35
  88. package/sdk/application/Lead/LeadApplicationModel.js +267 -474
  89. package/sdk/application/Lead/LeadApplicationValidator.d.ts +2 -2
  90. package/sdk/application/Lead/LeadApplicationValidator.js +11 -11
  91. package/sdk/application/Logistic/LogisticApplicationClient.d.ts +30 -19
  92. package/sdk/application/Logistic/LogisticApplicationClient.js +110 -43
  93. package/sdk/application/Logistic/LogisticApplicationModel.d.ts +17 -14
  94. package/sdk/application/Logistic/LogisticApplicationModel.js +133 -201
  95. package/sdk/application/Logistic/LogisticApplicationValidator.d.ts +3 -2
  96. package/sdk/application/Logistic/LogisticApplicationValidator.js +14 -8
  97. package/sdk/application/Order/OrderApplicationClient.d.ts +85 -85
  98. package/sdk/application/Order/OrderApplicationClient.js +232 -232
  99. package/sdk/application/Order/OrderApplicationModel.d.ts +50 -50
  100. package/sdk/application/Order/OrderApplicationModel.js +352 -656
  101. package/sdk/application/Order/OrderApplicationValidator.d.ts +7 -7
  102. package/sdk/application/Order/OrderApplicationValidator.js +28 -28
  103. package/sdk/application/Payment/PaymentApplicationClient.d.ts +318 -318
  104. package/sdk/application/Payment/PaymentApplicationClient.js +739 -739
  105. package/sdk/application/Payment/PaymentApplicationModel.d.ts +72 -72
  106. package/sdk/application/Payment/PaymentApplicationModel.js +570 -1038
  107. package/sdk/application/Payment/PaymentApplicationValidator.d.ts +28 -28
  108. package/sdk/application/Payment/PaymentApplicationValidator.js +107 -107
  109. package/sdk/application/PosCart/PosCartApplicationClient.d.ts +254 -254
  110. package/sdk/application/PosCart/PosCartApplicationClient.js +617 -617
  111. package/sdk/application/PosCart/PosCartApplicationModel.d.ts +64 -63
  112. package/sdk/application/PosCart/PosCartApplicationModel.js +475 -871
  113. package/sdk/application/PosCart/PosCartApplicationValidator.d.ts +18 -18
  114. package/sdk/application/PosCart/PosCartApplicationValidator.js +103 -103
  115. package/sdk/application/Rewards/RewardsApplicationClient.d.ts +27 -27
  116. package/sdk/application/Rewards/RewardsApplicationClient.js +112 -112
  117. package/sdk/application/Rewards/RewardsApplicationModel.d.ts +14 -14
  118. package/sdk/application/Rewards/RewardsApplicationModel.js +96 -191
  119. package/sdk/application/Rewards/RewardsApplicationValidator.d.ts +3 -3
  120. package/sdk/application/Rewards/RewardsApplicationValidator.js +12 -12
  121. package/sdk/application/Share/ShareApplicationClient.d.ts +37 -37
  122. package/sdk/application/Share/ShareApplicationClient.js +84 -84
  123. package/sdk/application/Share/ShareApplicationModel.d.ts +8 -8
  124. package/sdk/application/Share/ShareApplicationModel.js +63 -123
  125. package/sdk/application/Share/ShareApplicationValidator.d.ts +4 -4
  126. package/sdk/application/Share/ShareApplicationValidator.js +12 -12
  127. package/sdk/application/Theme/ThemeApplicationClient.d.ts +8 -8
  128. package/sdk/application/Theme/ThemeApplicationClient.js +31 -31
  129. package/sdk/application/Theme/ThemeApplicationModel.d.ts +34 -34
  130. package/sdk/application/Theme/ThemeApplicationModel.js +190 -336
  131. package/sdk/application/Theme/ThemeApplicationValidator.d.ts +1 -1
  132. package/sdk/application/Theme/ThemeApplicationValidator.js +4 -4
  133. package/sdk/application/User/UserApplicationClient.d.ts +280 -280
  134. package/sdk/application/User/UserApplicationClient.js +581 -581
  135. package/sdk/application/User/UserApplicationModel.d.ts +79 -72
  136. package/sdk/application/User/UserApplicationModel.js +440 -689
  137. package/sdk/application/User/UserApplicationValidator.d.ts +24 -24
  138. package/sdk/application/User/UserApplicationValidator.js +89 -89
  139. package/sdk/common/AxiosHelper.js +1 -1
  140. package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.d.ts +51 -51
  141. package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.js +179 -179
  142. package/sdk/platform/Analytics/AnalyticsPlatformApplicationValidator.d.ts +6 -6
  143. package/sdk/platform/Analytics/AnalyticsPlatformApplicationValidator.js +20 -20
  144. package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +11 -11
  145. package/sdk/platform/Analytics/AnalyticsPlatformModel.js +95 -178
  146. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +10 -10
  147. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +41 -41
  148. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +10 -10
  149. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +50 -89
  150. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +1 -1
  151. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +6 -6
  152. package/sdk/platform/Billing/BillingPlatformClient.d.ts +60 -60
  153. package/sdk/platform/Billing/BillingPlatformClient.js +181 -181
  154. package/sdk/platform/Billing/BillingPlatformModel.d.ts +40 -40
  155. package/sdk/platform/Billing/BillingPlatformModel.js +342 -668
  156. package/sdk/platform/Billing/BillingPlatformValidator.d.ts +8 -8
  157. package/sdk/platform/Billing/BillingPlatformValidator.js +25 -25
  158. package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +168 -168
  159. package/sdk/platform/Cart/CartPlatformApplicationClient.js +553 -553
  160. package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +11 -11
  161. package/sdk/platform/Cart/CartPlatformApplicationValidator.js +63 -63
  162. package/sdk/platform/Cart/CartPlatformModel.d.ts +84 -83
  163. package/sdk/platform/Cart/CartPlatformModel.js +671 -1205
  164. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +632 -632
  165. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +1525 -1525
  166. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +40 -40
  167. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +174 -174
  168. package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +682 -682
  169. package/sdk/platform/Catalog/CatalogPlatformClient.js +1557 -1557
  170. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +291 -291
  171. package/sdk/platform/Catalog/CatalogPlatformModel.js +2127 -3904
  172. package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +66 -66
  173. package/sdk/platform/Catalog/CatalogPlatformValidator.js +229 -229
  174. package/sdk/platform/Common/CommonPlatformClient.d.ts +12 -12
  175. package/sdk/platform/Common/CommonPlatformClient.js +41 -41
  176. package/sdk/platform/Common/CommonPlatformModel.d.ts +12 -12
  177. package/sdk/platform/Common/CommonPlatformModel.js +83 -160
  178. package/sdk/platform/Common/CommonPlatformValidator.d.ts +1 -1
  179. package/sdk/platform/Common/CommonPlatformValidator.js +6 -6
  180. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +326 -326
  181. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +943 -943
  182. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +30 -30
  183. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +87 -87
  184. package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +67 -67
  185. package/sdk/platform/Communication/CommunicationPlatformModel.js +522 -974
  186. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +55 -55
  187. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +212 -212
  188. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +27 -27
  189. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +279 -542
  190. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +7 -7
  191. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +24 -24
  192. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +163 -153
  193. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +615 -552
  194. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +22 -21
  195. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +69 -63
  196. package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +125 -125
  197. package/sdk/platform/Configuration/ConfigurationPlatformClient.js +342 -342
  198. package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +148 -146
  199. package/sdk/platform/Configuration/ConfigurationPlatformModel.js +854 -1508
  200. package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +9 -9
  201. package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +38 -38
  202. package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +534 -534
  203. package/sdk/platform/Content/ContentPlatformApplicationClient.js +1324 -1324
  204. package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +50 -50
  205. package/sdk/platform/Content/ContentPlatformApplicationValidator.js +156 -156
  206. package/sdk/platform/Content/ContentPlatformModel.d.ts +78 -78
  207. package/sdk/platform/Content/ContentPlatformModel.js +484 -907
  208. package/sdk/platform/Discount/DiscountPlatformClient.d.ts +65 -65
  209. package/sdk/platform/Discount/DiscountPlatformClient.js +216 -216
  210. package/sdk/platform/Discount/DiscountPlatformModel.d.ts +7 -7
  211. package/sdk/platform/Discount/DiscountPlatformModel.js +60 -121
  212. package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +6 -6
  213. package/sdk/platform/Discount/DiscountPlatformValidator.js +29 -29
  214. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +24 -24
  215. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +58 -58
  216. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +1 -1
  217. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +8 -8
  218. package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +52 -52
  219. package/sdk/platform/FileStorage/FileStoragePlatformClient.js +123 -123
  220. package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +13 -13
  221. package/sdk/platform/FileStorage/FileStoragePlatformModel.js +86 -169
  222. package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +3 -3
  223. package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +11 -11
  224. package/sdk/platform/Inventory/InventoryPlatformClient.d.ts +63 -63
  225. package/sdk/platform/Inventory/InventoryPlatformClient.js +228 -228
  226. package/sdk/platform/Inventory/InventoryPlatformModel.d.ts +30 -30
  227. package/sdk/platform/Inventory/InventoryPlatformModel.js +497 -964
  228. package/sdk/platform/Inventory/InventoryPlatformValidator.d.ts +7 -7
  229. package/sdk/platform/Inventory/InventoryPlatformValidator.js +28 -28
  230. package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +73 -73
  231. package/sdk/platform/Lead/LeadPlatformApplicationClient.js +200 -200
  232. package/sdk/platform/Lead/LeadPlatformApplicationValidator.d.ts +7 -7
  233. package/sdk/platform/Lead/LeadPlatformApplicationValidator.js +28 -28
  234. package/sdk/platform/Lead/LeadPlatformClient.d.ts +80 -80
  235. package/sdk/platform/Lead/LeadPlatformClient.js +212 -212
  236. package/sdk/platform/Lead/LeadPlatformModel.d.ts +35 -35
  237. package/sdk/platform/Lead/LeadPlatformModel.js +267 -474
  238. package/sdk/platform/Lead/LeadPlatformValidator.d.ts +6 -6
  239. package/sdk/platform/Lead/LeadPlatformValidator.js +24 -24
  240. package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +10 -10
  241. package/sdk/platform/Order/OrderPlatformApplicationClient.js +65 -65
  242. package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +1 -1
  243. package/sdk/platform/Order/OrderPlatformApplicationValidator.js +6 -6
  244. package/sdk/platform/Order/OrderPlatformClient.d.ts +357 -357
  245. package/sdk/platform/Order/OrderPlatformClient.js +1035 -1035
  246. package/sdk/platform/Order/OrderPlatformModel.d.ts +198 -196
  247. package/sdk/platform/Order/OrderPlatformModel.js +1574 -2861
  248. package/sdk/platform/Order/OrderPlatformValidator.d.ts +32 -32
  249. package/sdk/platform/Order/OrderPlatformValidator.js +160 -160
  250. package/sdk/platform/Partner/PartnerPlatformModel.d.ts +1 -1
  251. package/sdk/platform/Partner/PartnerPlatformModel.js +10 -26
  252. package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +57 -57
  253. package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +167 -167
  254. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +6 -6
  255. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +23 -23
  256. package/sdk/platform/Payment/PaymentPlatformClient.d.ts +42 -42
  257. package/sdk/platform/Payment/PaymentPlatformClient.js +153 -153
  258. package/sdk/platform/Payment/PaymentPlatformModel.d.ts +27 -27
  259. package/sdk/platform/Payment/PaymentPlatformModel.js +222 -410
  260. package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +4 -4
  261. package/sdk/platform/Payment/PaymentPlatformValidator.js +21 -21
  262. package/sdk/platform/PlatformApplicationClient.d.ts +1496 -10325
  263. package/sdk/platform/PlatformApplicationClient.js +1584 -13899
  264. package/sdk/platform/PlatformClient.d.ts +7965 -7885
  265. package/sdk/platform/PlatformClient.js +8672 -10105
  266. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +83 -83
  267. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +275 -275
  268. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +8 -8
  269. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.js +34 -34
  270. package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +15 -15
  271. package/sdk/platform/Rewards/RewardsPlatformModel.js +92 -194
  272. package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +10 -10
  273. package/sdk/platform/Share/SharePlatformApplicationClient.js +59 -59
  274. package/sdk/platform/Share/SharePlatformApplicationValidator.d.ts +1 -1
  275. package/sdk/platform/Share/SharePlatformApplicationValidator.js +6 -6
  276. package/sdk/platform/Share/SharePlatformModel.d.ts +8 -8
  277. package/sdk/platform/Share/SharePlatformModel.js +60 -118
  278. package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +132 -132
  279. package/sdk/platform/Theme/ThemePlatformApplicationClient.js +310 -310
  280. package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +15 -15
  281. package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +44 -44
  282. package/sdk/platform/Theme/ThemePlatformModel.d.ts +34 -34
  283. package/sdk/platform/Theme/ThemePlatformModel.js +190 -336
  284. package/sdk/platform/User/UserPlatformApplicationClient.d.ts +136 -69
  285. package/sdk/platform/User/UserPlatformApplicationClient.js +505 -166
  286. package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +12 -7
  287. package/sdk/platform/User/UserPlatformApplicationValidator.js +61 -23
  288. package/sdk/platform/User/UserPlatformModel.d.ts +79 -72
  289. package/sdk/platform/User/UserPlatformModel.js +440 -689
  290. package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +31 -31
  291. package/sdk/platform/Webhook/WebhookPlatformClient.js +88 -88
  292. package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +7 -7
  293. package/sdk/platform/Webhook/WebhookPlatformModel.js +68 -136
  294. package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +3 -3
  295. package/sdk/platform/Webhook/WebhookPlatformValidator.js +14 -14
  296. package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +13 -13
  297. package/sdk/public/Configuration/ConfigurationPublicClient.js +38 -38
  298. package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +12 -12
  299. package/sdk/public/Configuration/ConfigurationPublicModel.js +85 -162
  300. package/sdk/public/Configuration/ConfigurationPublicValidator.d.ts +1 -1
  301. package/sdk/public/Configuration/ConfigurationPublicValidator.js +6 -6
  302. package/sdk/public/Inventory/InventoryPublicClient.d.ts +34 -34
  303. package/sdk/public/Inventory/InventoryPublicClient.js +113 -113
  304. package/sdk/public/Inventory/InventoryPublicModel.d.ts +10 -10
  305. package/sdk/public/Inventory/InventoryPublicModel.js +119 -245
  306. package/sdk/public/Inventory/InventoryPublicValidator.d.ts +3 -3
  307. package/sdk/public/Inventory/InventoryPublicValidator.js +15 -15
  308. package/sdk/public/Webhook/WebhookPublicModel.d.ts +7 -7
  309. package/sdk/public/Webhook/WebhookPublicModel.js +68 -136
  310. package/tests/application/catalog.spec.js +7 -0
@@ -1,16 +1,16 @@
1
1
  export = CompanyProfileValidator;
2
2
  declare class CompanyProfileValidator {
3
3
  static cbsOnboardGet(): any;
4
- static updateCompany(): any;
5
- static getCompanyMetrics(): any;
6
- static getBrand(): any;
7
- static editBrand(): any;
8
4
  static createBrand(): any;
9
- static getBrands(): any;
10
5
  static createCompanyBrandMapping(): any;
11
- static getLocations(): any;
12
6
  static createLocation(): any;
7
+ static createLocationBulk(): any;
8
+ static editBrand(): any;
9
+ static getBrand(): any;
10
+ static getBrands(): any;
11
+ static getCompanyMetrics(): any;
13
12
  static getLocationDetail(): any;
13
+ static getLocations(): any;
14
+ static updateCompany(): any;
14
15
  static updateLocation(): any;
15
- static createLocationBulk(): any;
16
16
  }
@@ -6,19 +6,27 @@ class CompanyProfileValidator {
6
6
  return Joi.object({}).required();
7
7
  }
8
8
 
9
- static updateCompany() {
9
+ static createBrand() {
10
10
  return Joi.object({
11
- body: CompanyProfileModel.UpdateCompany().required(),
11
+ body: CompanyProfileModel.CreateUpdateBrandRequestSerializer().required(),
12
12
  }).required();
13
13
  }
14
14
 
15
- static getCompanyMetrics() {
16
- return Joi.object({}).required();
15
+ static createCompanyBrandMapping() {
16
+ return Joi.object({
17
+ body: CompanyProfileModel.CompanyBrandPostRequestSerializer().required(),
18
+ }).required();
17
19
  }
18
20
 
19
- static getBrand() {
21
+ static createLocation() {
20
22
  return Joi.object({
21
- brandId: Joi.string().allow("").required(),
23
+ body: CompanyProfileModel.LocationSerializer().required(),
24
+ }).required();
25
+ }
26
+
27
+ static createLocationBulk() {
28
+ return Joi.object({
29
+ body: CompanyProfileModel.BulkLocationSerializer().required(),
22
30
  }).required();
23
31
  }
24
32
 
@@ -29,9 +37,9 @@ class CompanyProfileValidator {
29
37
  }).required();
30
38
  }
31
39
 
32
- static createBrand() {
40
+ static getBrand() {
33
41
  return Joi.object({
34
- body: CompanyProfileModel.CreateUpdateBrandRequestSerializer().required(),
42
+ brandId: Joi.string().allow("").required(),
35
43
  }).required();
36
44
  }
37
45
 
@@ -43,9 +51,13 @@ class CompanyProfileValidator {
43
51
  }).required();
44
52
  }
45
53
 
46
- static createCompanyBrandMapping() {
54
+ static getCompanyMetrics() {
55
+ return Joi.object({}).required();
56
+ }
57
+
58
+ static getLocationDetail() {
47
59
  return Joi.object({
48
- body: CompanyProfileModel.CompanyBrandPostRequestSerializer().required(),
60
+ locationId: Joi.string().allow("").required(),
49
61
  }).required();
50
62
  }
51
63
 
@@ -60,15 +72,9 @@ class CompanyProfileValidator {
60
72
  }).required();
61
73
  }
62
74
 
63
- static createLocation() {
64
- return Joi.object({
65
- body: CompanyProfileModel.LocationSerializer().required(),
66
- }).required();
67
- }
68
-
69
- static getLocationDetail() {
75
+ static updateCompany() {
70
76
  return Joi.object({
71
- locationId: Joi.string().allow("").required(),
77
+ body: CompanyProfileModel.UpdateCompany().required(),
72
78
  }).required();
73
79
  }
74
80
 
@@ -78,11 +84,5 @@ class CompanyProfileValidator {
78
84
  body: CompanyProfileModel.LocationSerializer().required(),
79
85
  }).required();
80
86
  }
81
-
82
- static createLocationBulk() {
83
- return Joi.object({
84
- body: CompanyProfileModel.BulkLocationSerializer().required(),
85
- }).required();
86
- }
87
87
  }
88
88
  module.exports = CompanyProfileValidator;
@@ -5,87 +5,24 @@ declare class Configuration {
5
5
  applicationId: any;
6
6
  /**
7
7
  * @param {Object} arg - Arg object.
8
- * @param {string} arg.platformType - Current platform name
9
- * @returns {Promise<MobileAppConfiguration>} - Success response
10
- * @summary: Get latest build config
11
- * @description: Get latest build config
12
- */
13
- getBuildConfig({ platformType }?: {
14
- platformType: string;
15
- }): Promise<MobileAppConfiguration>;
16
- /**
17
- * @param {Object} arg - Arg object.
18
- * @param {string} arg.platformType - Current platform name
19
- * @param {MobileAppConfigRequest} arg.body
20
- * @returns {Promise<MobileAppConfiguration>} - Success response
21
- * @summary: Update build config for next build
22
- * @description: Update build config for next build
23
- */
24
- updateBuildConfig({ platformType, body }?: {
25
- platformType: string;
26
- body: MobileAppConfigRequest;
27
- }): Promise<MobileAppConfiguration>;
28
- /**
29
- * @param {Object} arg - Arg object.
30
- * @param {string} arg.platformType - Current platform name
31
- * @returns {Promise<BuildVersionHistory>} - Success response
32
- * @summary: Get previous build versions
33
- * @description: Get previous build versions
34
- */
35
- getPreviousVersions({ platformType }?: {
36
- platformType: string;
37
- }): Promise<BuildVersionHistory>;
38
- /**
39
- * @param {Object} arg - Arg object.
40
- * @returns {Promise<AppFeatureResponse>} - Success response
41
- * @summary: Get features of application
42
- * @description: Get features of application
43
- */
44
- getAppFeatures({}?: any): Promise<AppFeatureResponse>;
45
- /**
46
- * @param {Object} arg - Arg object.
47
- * @param {AppFeatureRequest} arg.body
48
- * @returns {Promise<AppFeature>} - Success response
49
- * @summary: Update features of application
50
- * @description: Update features of application
51
- */
52
- updateAppFeatures({ body }?: {
53
- body: AppFeatureRequest;
54
- }): Promise<AppFeature>;
55
- /**
56
- * @param {Object} arg - Arg object.
57
- * @returns {Promise<ApplicationDetail>} - Success response
58
- * @summary: Get basic application details
59
- * @description: Get basic application details like name
60
- */
61
- getAppBasicDetails({}?: any): Promise<ApplicationDetail>;
62
- /**
63
- * @param {Object} arg - Arg object.
64
- * @param {ApplicationDetail} arg.body
65
- * @returns {Promise<ApplicationDetail>} - Success response
66
- * @summary: Add or update application's basic details
67
- * @description: Add or update application's basic details
68
- */
69
- updateAppBasicDetails({ body }?: {
70
- body: ApplicationDetail;
71
- }): Promise<ApplicationDetail>;
72
- /**
73
- * @param {Object} arg - Arg object.
74
- * @returns {Promise<ApplicationInformation>} - Success response
75
- * @summary: Get application information
76
- * @description: Get Application Current Information. This includes information about social links, address and contact information of company/seller/brand of the application.
8
+ * @param {DomainAddRequest} arg.body
9
+ * @returns {Promise<Domain>} - Success response
10
+ * @summary: Add new domain to application
11
+ * @description: Add new domain to application.
77
12
  */
78
- getAppContactInfo({}?: any): Promise<ApplicationInformation>;
13
+ addDomain({ body }?: {
14
+ body: DomainAddRequest;
15
+ }): Promise<Domain>;
79
16
  /**
80
17
  * @param {Object} arg - Arg object.
81
- * @param {ApplicationInformation} arg.body
82
- * @returns {Promise<ApplicationInformation>} - Success response
83
- * @summary: Get application information
84
- * @description: Save Application Current Information. This includes information about social links, address and contact information of an application.
18
+ * @param {UpdateDomainTypeRequest} arg.body
19
+ * @returns {Promise<DomainsResponse>} - Success response
20
+ * @summary: Change domain type
21
+ * @description: Change a domain to Primary or Shortlink domain
85
22
  */
86
- updateAppContactInfo({ body }?: {
87
- body: ApplicationInformation;
88
- }): Promise<ApplicationInformation>;
23
+ changeDomainType({ body }?: {
24
+ body: UpdateDomainTypeRequest;
25
+ }): Promise<DomainsResponse>;
89
26
  /**
90
27
  * @param {Object} arg - Arg object.
91
28
  * @returns {Promise<TokenResponse>} - Success response
@@ -95,14 +32,11 @@ declare class Configuration {
95
32
  getAppApiTokens({}?: any): Promise<TokenResponse>;
96
33
  /**
97
34
  * @param {Object} arg - Arg object.
98
- * @param {TokenResponse} arg.body
99
- * @returns {Promise<TokenResponse>} - Success response
100
- * @summary: Add social tokens
101
- * @description: Add social tokens.
35
+ * @returns {Promise<ApplicationDetail>} - Success response
36
+ * @summary: Get basic application details
37
+ * @description: Get basic application details like name
102
38
  */
103
- updateAppApiTokens({ body }?: {
104
- body: TokenResponse;
105
- }): Promise<TokenResponse>;
39
+ getAppBasicDetails({}?: any): Promise<ApplicationDetail>;
106
40
  /**
107
41
  * @param {Object} arg - Arg object.
108
42
  * @param {number} [arg.uid] - Uid of companies to be fetched
@@ -132,6 +66,27 @@ declare class Configuration {
132
66
  uid?: number;
133
67
  pageSize?: number;
134
68
  }): Paginator;
69
+ /**
70
+ * @param {Object} arg - Arg object.
71
+ * @returns {Promise<ApplicationInformation>} - Success response
72
+ * @summary: Get application information
73
+ * @description: Get Application Current Information. This includes information about social links, address and contact information of company/seller/brand of the application.
74
+ */
75
+ getAppContactInfo({}?: any): Promise<ApplicationInformation>;
76
+ /**
77
+ * @param {Object} arg - Arg object.
78
+ * @returns {Promise<AppSupportedCurrency>} - Success response
79
+ * @summary: Get application enabled currency list
80
+ * @description: Get application enabled currency list
81
+ */
82
+ getAppCurrencyConfig({}?: any): Promise<AppSupportedCurrency>;
83
+ /**
84
+ * @param {Object} arg - Arg object.
85
+ * @returns {Promise<AppFeatureResponse>} - Success response
86
+ * @summary: Get features of application
87
+ * @description: Get features of application
88
+ */
89
+ getAppFeatures({}?: any): Promise<AppFeatureResponse>;
135
90
  /**
136
91
  * @param {Object} arg - Arg object.
137
92
  * @param {number} [arg.pageNo] - Current page no
@@ -159,55 +114,52 @@ declare class Configuration {
159
114
  }): Paginator;
160
115
  /**
161
116
  * @param {Object} arg - Arg object.
162
- * @returns {Promise<ApplicationInventory>} - Success response
163
- * @summary: Get application configuration
164
- * @description: Get application configuration for various features and data
117
+ * @returns {Promise<AppCurrencyResponse>} - Success response
118
+ * @summary: Get currencies enabled in the application
119
+ * @description: Use this API to get a list of currencies allowed in the current application. Moreover, get the name, code, symbol, and the decimal digits of the currencies.
165
120
  */
166
- getInventoryConfig({}?: any): Promise<ApplicationInventory>;
121
+ getAppSupportedCurrency({}?: any): Promise<AppCurrencyResponse>;
167
122
  /**
168
123
  * @param {Object} arg - Arg object.
169
- * @param {ApplicationInventory} arg.body
170
- * @returns {Promise<ApplicationInventory>} - Success response
171
- * @summary: Update application configuration
172
- * @description: Update application configuration for various features and data
124
+ * @returns {Promise<Application>} - Success response
125
+ * @summary: Get application data from id
126
+ * @description: Get application data from id
173
127
  */
174
- updateInventoryConfig({ body }?: {
175
- body: ApplicationInventory;
176
- }): Promise<ApplicationInventory>;
128
+ getApplicationById({}?: any): Promise<Application>;
177
129
  /**
178
130
  * @param {Object} arg - Arg object.
179
- * @param {AppInventoryPartialUpdate} arg.body
180
- * @returns {Promise<ApplicationInventory>} - Success response
181
- * @summary: Partially update application configuration
182
- * @description: Partially update application configuration for various features and data
131
+ * @param {string} arg.platformType - Current platform name
132
+ * @returns {Promise<MobileAppConfiguration>} - Success response
133
+ * @summary: Get latest build config
134
+ * @description: Get latest build config
183
135
  */
184
- partiallyUpdateInventoryConfig({ body }?: {
185
- body: AppInventoryPartialUpdate;
186
- }): Promise<ApplicationInventory>;
136
+ getBuildConfig({ platformType }?: {
137
+ platformType: string;
138
+ }): Promise<MobileAppConfiguration>;
187
139
  /**
188
140
  * @param {Object} arg - Arg object.
189
- * @returns {Promise<AppSupportedCurrency>} - Success response
190
- * @summary: Get application enabled currency list
191
- * @description: Get application enabled currency list
141
+ * @param {DomainStatusRequest} arg.body
142
+ * @returns {Promise<DomainStatusResponse>} - Success response
143
+ * @summary: Get domain connected status.
144
+ * @description: Get domain connected status. Check if domain is live and mapped to appropriate IP to fynd servers.
192
145
  */
193
- getAppCurrencyConfig({}?: any): Promise<AppSupportedCurrency>;
146
+ getDomainStatus({ body }?: {
147
+ body: DomainStatusRequest;
148
+ }): Promise<DomainStatusResponse>;
194
149
  /**
195
150
  * @param {Object} arg - Arg object.
196
- * @param {AppSupportedCurrency} arg.body
197
- * @returns {Promise<AppSupportedCurrency>} - Success response
198
- * @summary: Add initial application supported currency
199
- * @description: Add initial application supported currency for various features and data. Default INR will be enabled.
151
+ * @returns {Promise<DomainsResponse>} - Success response
152
+ * @summary: Get attached domain list
153
+ * @description: Get attached domain list.
200
154
  */
201
- updateAppCurrencyConfig({ body }?: {
202
- body: AppSupportedCurrency;
203
- }): Promise<AppSupportedCurrency>;
155
+ getDomains({}?: any): Promise<DomainsResponse>;
204
156
  /**
205
157
  * @param {Object} arg - Arg object.
206
- * @returns {Promise<AppCurrencyResponse>} - Success response
207
- * @summary: Get currencies enabled in the application
208
- * @description: Use this API to get a list of currencies allowed in the current application. Moreover, get the name, code, symbol, and the decimal digits of the currencies.
158
+ * @returns {Promise<ApplicationInventory>} - Success response
159
+ * @summary: Get application configuration
160
+ * @description: Get application configuration for various features and data
209
161
  */
210
- getAppSupportedCurrency({}?: any): Promise<AppCurrencyResponse>;
162
+ getInventoryConfig({}?: any): Promise<ApplicationInventory>;
211
163
  /**
212
164
  * @param {Object} arg - Arg object.
213
165
  * @param {number} [arg.pageNo] - Current page no
@@ -239,14 +191,14 @@ declare class Configuration {
239
191
  }): Paginator;
240
192
  /**
241
193
  * @param {Object} arg - Arg object.
242
- * @param {OrderingStoreConfig} arg.body
243
- * @returns {Promise<DeploymentMeta>} - Success response
244
- * @summary: Add/Update ordering store config
245
- * @description: Add/Update ordering store config.
194
+ * @param {string} arg.platformType - Current platform name
195
+ * @returns {Promise<BuildVersionHistory>} - Success response
196
+ * @summary: Get previous build versions
197
+ * @description: Get previous build versions
246
198
  */
247
- updateOrderingStoreConfig({ body }?: {
248
- body: OrderingStoreConfig;
249
- }): Promise<DeploymentMeta>;
199
+ getPreviousVersions({ platformType }?: {
200
+ platformType: string;
201
+ }): Promise<BuildVersionHistory>;
250
202
  /**
251
203
  * @param {Object} arg - Arg object.
252
204
  * @param {number} [arg.pageNo] - The page number to navigate through the
@@ -281,21 +233,24 @@ declare class Configuration {
281
233
  }): Paginator;
282
234
  /**
283
235
  * @param {Object} arg - Arg object.
284
- * @returns {Promise<DomainsResponse>} - Success response
285
- * @summary: Get attached domain list
286
- * @description: Get attached domain list.
236
+ * @param {AppFeatureRequest} arg.body
237
+ * @returns {Promise<AppFeature>} - Success response
238
+ * @summary: Update features of application
239
+ * @description: Update features of application
287
240
  */
288
- getDomains({}?: any): Promise<DomainsResponse>;
241
+ modifyAppFeatures({ body }?: {
242
+ body: AppFeatureRequest;
243
+ }): Promise<AppFeature>;
289
244
  /**
290
245
  * @param {Object} arg - Arg object.
291
- * @param {DomainAddRequest} arg.body
292
- * @returns {Promise<Domain>} - Success response
293
- * @summary: Add new domain to application
294
- * @description: Add new domain to application.
246
+ * @param {AppInventoryPartialUpdate} arg.body
247
+ * @returns {Promise<ApplicationInventory>} - Success response
248
+ * @summary: Partially update application configuration
249
+ * @description: Partially update application configuration for various features and data
295
250
  */
296
- addDomain({ body }?: {
297
- body: DomainAddRequest;
298
- }): Promise<Domain>;
251
+ partiallyUpdateInventoryConfig({ body }?: {
252
+ body: AppInventoryPartialUpdate;
253
+ }): Promise<ApplicationInventory>;
299
254
  /**
300
255
  * @param {Object} arg - Arg object.
301
256
  * @param {string} arg.id - Domain _id
@@ -308,30 +263,85 @@ declare class Configuration {
308
263
  }): Promise<SuccessMessageResponse>;
309
264
  /**
310
265
  * @param {Object} arg - Arg object.
311
- * @param {UpdateDomainTypeRequest} arg.body
312
- * @returns {Promise<DomainsResponse>} - Success response
313
- * @summary: Change domain type
314
- * @description: Change a domain to Primary or Shortlink domain
266
+ * @param {TokenResponse} arg.body
267
+ * @returns {Promise<TokenResponse>} - Success response
268
+ * @summary: Add social tokens
269
+ * @description: Add social tokens.
315
270
  */
316
- changeDomainType({ body }?: {
317
- body: UpdateDomainTypeRequest;
318
- }): Promise<DomainsResponse>;
271
+ updateAppApiTokens({ body }?: {
272
+ body: TokenResponse;
273
+ }): Promise<TokenResponse>;
319
274
  /**
320
275
  * @param {Object} arg - Arg object.
321
- * @param {DomainStatusRequest} arg.body
322
- * @returns {Promise<DomainStatusResponse>} - Success response
323
- * @summary: Get domain connected status.
324
- * @description: Get domain connected status. Check if domain is live and mapped to appropriate IP to fynd servers.
276
+ * @param {ApplicationDetail} arg.body
277
+ * @returns {Promise<ApplicationDetail>} - Success response
278
+ * @summary: Add or update application's basic details
279
+ * @description: Add or update application's basic details
325
280
  */
326
- getDomainStatus({ body }?: {
327
- body: DomainStatusRequest;
328
- }): Promise<DomainStatusResponse>;
281
+ updateAppBasicDetails({ body }?: {
282
+ body: ApplicationDetail;
283
+ }): Promise<ApplicationDetail>;
329
284
  /**
330
285
  * @param {Object} arg - Arg object.
331
- * @returns {Promise<Application>} - Success response
332
- * @summary: Get application data from id
333
- * @description: Get application data from id
286
+ * @param {ApplicationInformation} arg.body
287
+ * @returns {Promise<ApplicationInformation>} - Success response
288
+ * @summary: Get application information
289
+ * @description: Save Application Current Information. This includes information about social links, address and contact information of an application.
334
290
  */
335
- getApplicationById({}?: any): Promise<Application>;
291
+ updateAppContactInfo({ body }?: {
292
+ body: ApplicationInformation;
293
+ }): Promise<ApplicationInformation>;
294
+ /**
295
+ * @param {Object} arg - Arg object.
296
+ * @param {AppSupportedCurrency} arg.body
297
+ * @returns {Promise<AppSupportedCurrency>} - Success response
298
+ * @summary: Add initial application supported currency
299
+ * @description: Add initial application supported currency for various features and data. Default INR will be enabled.
300
+ */
301
+ updateAppCurrencyConfig({ body }?: {
302
+ body: AppSupportedCurrency;
303
+ }): Promise<AppSupportedCurrency>;
304
+ /**
305
+ * @param {Object} arg - Arg object.
306
+ * @param {AppFeatureRequest} arg.body
307
+ * @returns {Promise<AppFeature>} - Success response
308
+ * @summary: Update features of application
309
+ * @description: Update features of application
310
+ */
311
+ updateAppFeatures({ body }?: {
312
+ body: AppFeatureRequest;
313
+ }): Promise<AppFeature>;
314
+ /**
315
+ * @param {Object} arg - Arg object.
316
+ * @param {string} arg.platformType - Current platform name
317
+ * @param {MobileAppConfigRequest} arg.body
318
+ * @returns {Promise<MobileAppConfiguration>} - Success response
319
+ * @summary: Update build config for next build
320
+ * @description: Update build config for next build
321
+ */
322
+ updateBuildConfig({ platformType, body }?: {
323
+ platformType: string;
324
+ body: MobileAppConfigRequest;
325
+ }): Promise<MobileAppConfiguration>;
326
+ /**
327
+ * @param {Object} arg - Arg object.
328
+ * @param {ApplicationInventory} arg.body
329
+ * @returns {Promise<ApplicationInventory>} - Success response
330
+ * @summary: Update application configuration
331
+ * @description: Update application configuration for various features and data
332
+ */
333
+ updateInventoryConfig({ body }?: {
334
+ body: ApplicationInventory;
335
+ }): Promise<ApplicationInventory>;
336
+ /**
337
+ * @param {Object} arg - Arg object.
338
+ * @param {OrderingStoreConfig} arg.body
339
+ * @returns {Promise<DeploymentMeta>} - Success response
340
+ * @summary: Add/Update ordering store config
341
+ * @description: Add/Update ordering store config.
342
+ */
343
+ updateOrderingStoreConfig({ body }?: {
344
+ body: OrderingStoreConfig;
345
+ }): Promise<DeploymentMeta>;
336
346
  }
337
347
  import Paginator = require("../../common/Paginator");