@gofynd/fdk-client-javascript 1.1.6 → 1.2.0

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 (321) hide show
  1. package/README.md +12 -0
  2. package/index.js +0 -3
  3. package/package.json +1 -1
  4. package/sdk/application/ApplicationAPIClient.d.ts +15 -1
  5. package/sdk/application/ApplicationAPIClient.js +8 -1
  6. package/sdk/application/ApplicationClient.d.ts +37 -6
  7. package/sdk/application/ApplicationClient.js +31 -0
  8. package/sdk/application/ApplicationConfig.d.ts +52 -12
  9. package/sdk/application/ApplicationConfig.js +37 -2
  10. package/sdk/application/ApplicationModels.d.ts +46 -1
  11. package/sdk/application/ApplicationModels.js +18 -0
  12. package/sdk/application/Cart/CartApplicationClient.d.ts +172 -357
  13. package/sdk/application/Cart/CartApplicationClient.js +620 -483
  14. package/sdk/application/Cart/CartApplicationModel.d.ts +2054 -96
  15. package/sdk/application/Cart/CartApplicationModel.js +1224 -93
  16. package/sdk/application/Cart/CartApplicationValidator.d.ts +508 -30
  17. package/sdk/application/Cart/CartApplicationValidator.js +270 -15
  18. package/sdk/application/Catalog/CatalogApplicationClient.d.ts +234 -413
  19. package/sdk/application/Catalog/CatalogApplicationClient.js +777 -630
  20. package/sdk/application/Catalog/CatalogApplicationModel.d.ts +2218 -117
  21. package/sdk/application/Catalog/CatalogApplicationModel.js +1499 -170
  22. package/sdk/application/Catalog/CatalogApplicationValidator.d.ts +798 -31
  23. package/sdk/application/Catalog/CatalogApplicationValidator.js +318 -3
  24. package/sdk/application/Common/CommonApplicationClient.d.ts +14 -21
  25. package/sdk/application/Common/CommonApplicationClient.js +50 -33
  26. package/sdk/application/Common/CommonApplicationModel.d.ts +448 -19
  27. package/sdk/application/Common/CommonApplicationModel.js +224 -16
  28. package/sdk/application/Common/CommonApplicationValidator.d.ts +42 -4
  29. package/sdk/application/Common/CommonApplicationValidator.js +21 -3
  30. package/sdk/application/Communication/CommunicationApplicationClient.d.ts +25 -18
  31. package/sdk/application/Communication/CommunicationApplicationClient.js +74 -47
  32. package/sdk/application/Communication/CommunicationApplicationModel.d.ts +190 -14
  33. package/sdk/application/Communication/CommunicationApplicationModel.js +124 -7
  34. package/sdk/application/Communication/CommunicationApplicationValidator.d.ts +27 -4
  35. package/sdk/application/Communication/CommunicationApplicationValidator.js +21 -5
  36. package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +113 -112
  37. package/sdk/application/Configuration/ConfigurationApplicationClient.js +381 -260
  38. package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +2453 -110
  39. package/sdk/application/Configuration/ConfigurationApplicationModel.js +1254 -108
  40. package/sdk/application/Configuration/ConfigurationApplicationValidator.d.ts +160 -8
  41. package/sdk/application/Configuration/ConfigurationApplicationValidator.js +88 -4
  42. package/sdk/application/Content/ContentApplicationClient.d.ts +120 -138
  43. package/sdk/application/Content/ContentApplicationClient.js +409 -277
  44. package/sdk/application/Content/ContentApplicationModel.d.ts +1627 -105
  45. package/sdk/application/Content/ContentApplicationModel.js +1202 -109
  46. package/sdk/application/Content/ContentApplicationValidator.d.ts +214 -12
  47. package/sdk/application/Content/ContentApplicationValidator.js +113 -3
  48. package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +20 -29
  49. package/sdk/application/FileStorage/FileStorageApplicationClient.js +68 -47
  50. package/sdk/application/FileStorage/FileStorageApplicationModel.d.ts +299 -20
  51. package/sdk/application/FileStorage/FileStorageApplicationModel.js +209 -16
  52. package/sdk/application/FileStorage/FileStorageApplicationValidator.d.ts +55 -5
  53. package/sdk/application/FileStorage/FileStorageApplicationValidator.js +33 -6
  54. package/sdk/application/Lead/LeadApplicationClient.d.ts +50 -53
  55. package/sdk/application/Lead/LeadApplicationClient.js +169 -103
  56. package/sdk/application/Lead/LeadApplicationModel.d.ts +1405 -54
  57. package/sdk/application/Lead/LeadApplicationModel.js +619 -73
  58. package/sdk/application/Lead/LeadApplicationValidator.d.ts +91 -9
  59. package/sdk/application/Lead/LeadApplicationValidator.js +51 -6
  60. package/sdk/application/Logistic/LogisticApplicationClient.d.ts +34 -33
  61. package/sdk/application/Logistic/LogisticApplicationClient.js +110 -73
  62. package/sdk/application/Logistic/LogisticApplicationModel.d.ts +399 -28
  63. package/sdk/application/Logistic/LogisticApplicationModel.js +293 -24
  64. package/sdk/application/Logistic/LogisticApplicationValidator.d.ts +48 -6
  65. package/sdk/application/Logistic/LogisticApplicationValidator.js +34 -6
  66. package/sdk/application/Order/OrderApplicationClient.d.ts +81 -133
  67. package/sdk/application/Order/OrderApplicationClient.js +297 -217
  68. package/sdk/application/Order/OrderApplicationModel.d.ts +1101 -66
  69. package/sdk/application/Order/OrderApplicationModel.js +776 -57
  70. package/sdk/application/Order/OrderApplicationValidator.d.ts +249 -14
  71. package/sdk/application/Order/OrderApplicationValidator.js +114 -5
  72. package/sdk/application/Payment/PaymentApplicationClient.d.ts +341 -356
  73. package/sdk/application/Payment/PaymentApplicationClient.js +1077 -703
  74. package/sdk/application/Payment/PaymentApplicationModel.d.ts +3125 -99
  75. package/sdk/application/Payment/PaymentApplicationModel.js +1158 -62
  76. package/sdk/application/Payment/PaymentApplicationValidator.d.ts +494 -41
  77. package/sdk/application/Payment/PaymentApplicationValidator.js +297 -25
  78. package/sdk/application/PosCart/PosCartApplicationClient.d.ts +178 -350
  79. package/sdk/application/PosCart/PosCartApplicationClient.js +636 -491
  80. package/sdk/application/PosCart/PosCartApplicationModel.d.ts +1823 -89
  81. package/sdk/application/PosCart/PosCartApplicationModel.js +1117 -85
  82. package/sdk/application/PosCart/PosCartApplicationValidator.d.ts +480 -29
  83. package/sdk/application/PosCart/PosCartApplicationValidator.js +262 -15
  84. package/sdk/application/Rewards/RewardsApplicationClient.d.ts +49 -47
  85. package/sdk/application/Rewards/RewardsApplicationClient.js +160 -102
  86. package/sdk/application/Rewards/RewardsApplicationModel.d.ts +343 -22
  87. package/sdk/application/Rewards/RewardsApplicationModel.js +230 -15
  88. package/sdk/application/Rewards/RewardsApplicationValidator.d.ts +70 -7
  89. package/sdk/application/Rewards/RewardsApplicationValidator.js +45 -6
  90. package/sdk/application/Share/ShareApplicationClient.d.ts +44 -50
  91. package/sdk/application/Share/ShareApplicationClient.js +165 -97
  92. package/sdk/application/Share/ShareApplicationModel.d.ts +230 -15
  93. package/sdk/application/Share/ShareApplicationModel.js +154 -16
  94. package/sdk/application/Share/ShareApplicationValidator.d.ts +86 -8
  95. package/sdk/application/Share/ShareApplicationValidator.js +48 -4
  96. package/sdk/application/Theme/ThemeApplicationClient.d.ts +25 -27
  97. package/sdk/application/Theme/ThemeApplicationClient.js +83 -54
  98. package/sdk/application/Theme/ThemeApplicationModel.d.ts +621 -48
  99. package/sdk/application/Theme/ThemeApplicationModel.js +464 -40
  100. package/sdk/application/Theme/ThemeApplicationValidator.d.ts +49 -5
  101. package/sdk/application/Theme/ThemeApplicationValidator.js +26 -3
  102. package/sdk/application/User/UserApplicationClient.d.ts +219 -303
  103. package/sdk/application/User/UserApplicationClient.js +819 -522
  104. package/sdk/application/User/UserApplicationModel.d.ts +1390 -101
  105. package/sdk/application/User/UserApplicationModel.js +983 -44
  106. package/sdk/application/User/UserApplicationValidator.d.ts +457 -33
  107. package/sdk/application/User/UserApplicationValidator.js +265 -31
  108. package/sdk/common/AxiosHelper.js +8 -2
  109. package/sdk/common/Paginator.d.ts +27 -12
  110. package/sdk/common/Paginator.js +15 -0
  111. package/sdk/common/RequestSigner.js +0 -1
  112. package/sdk/partner/PartnerAPIClient.d.ts +15 -1
  113. package/sdk/partner/PartnerAPIClient.js +8 -1
  114. package/sdk/partner/PartnerClient.d.ts +20 -3
  115. package/sdk/partner/PartnerClient.js +17 -0
  116. package/sdk/partner/PartnerConfig.d.ts +40 -14
  117. package/sdk/partner/PartnerConfig.js +31 -6
  118. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +26 -25
  119. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +82 -53
  120. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +202 -17
  121. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +139 -10
  122. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +42 -5
  123. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +26 -4
  124. package/sdk/platform/Billing/BillingPlatformClient.d.ts +88 -97
  125. package/sdk/platform/Billing/BillingPlatformClient.js +310 -191
  126. package/sdk/platform/Billing/BillingPlatformModel.d.ts +1211 -68
  127. package/sdk/platform/Billing/BillingPlatformModel.js +824 -59
  128. package/sdk/platform/Billing/BillingPlatformValidator.d.ts +153 -12
  129. package/sdk/platform/Billing/BillingPlatformValidator.js +87 -8
  130. package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +392 -634
  131. package/sdk/platform/Cart/CartPlatformApplicationClient.js +1480 -957
  132. package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +827 -57
  133. package/sdk/platform/Cart/CartPlatformApplicationValidator.js +492 -34
  134. package/sdk/platform/Cart/CartPlatformModel.d.ts +3639 -175
  135. package/sdk/platform/Cart/CartPlatformModel.js +2368 -212
  136. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +438 -615
  137. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +1449 -984
  138. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +1081 -49
  139. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +482 -23
  140. package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +573 -824
  141. package/sdk/platform/Catalog/CatalogPlatformClient.js +1773 -1264
  142. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +6871 -326
  143. package/sdk/platform/Catalog/CatalogPlatformModel.js +4215 -349
  144. package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +1331 -71
  145. package/sdk/platform/Catalog/CatalogPlatformValidator.js +611 -30
  146. package/sdk/platform/Common/CommonPlatformClient.d.ts +14 -21
  147. package/sdk/platform/Common/CommonPlatformClient.js +48 -33
  148. package/sdk/platform/Common/CommonPlatformModel.d.ts +448 -19
  149. package/sdk/platform/Common/CommonPlatformModel.js +224 -16
  150. package/sdk/platform/Common/CommonPlatformValidator.d.ts +42 -4
  151. package/sdk/platform/Common/CommonPlatformValidator.js +21 -3
  152. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +457 -279
  153. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +1423 -553
  154. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +581 -42
  155. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +294 -22
  156. package/sdk/platform/Communication/CommunicationPlatformClient.d.ts +18 -5
  157. package/sdk/platform/Communication/CommunicationPlatformClient.js +58 -19
  158. package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +1630 -102
  159. package/sdk/platform/Communication/CommunicationPlatformModel.js +1150 -85
  160. package/sdk/platform/Communication/CommunicationPlatformValidator.d.ts +16 -3
  161. package/sdk/platform/Communication/CommunicationPlatformValidator.js +11 -3
  162. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +102 -111
  163. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +321 -225
  164. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +830 -43
  165. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +612 -78
  166. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +180 -13
  167. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +98 -10
  168. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +232 -212
  169. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +737 -438
  170. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +293 -22
  171. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +184 -17
  172. package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +166 -178
  173. package/sdk/platform/Configuration/ConfigurationPlatformClient.js +519 -310
  174. package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +4504 -188
  175. package/sdk/platform/Configuration/ConfigurationPlatformModel.js +2242 -204
  176. package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +332 -19
  177. package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +153 -10
  178. package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +495 -560
  179. package/sdk/platform/Content/ContentPlatformApplicationClient.js +1777 -987
  180. package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +872 -62
  181. package/sdk/platform/Content/ContentPlatformApplicationValidator.js +487 -35
  182. package/sdk/platform/Content/ContentPlatformModel.d.ts +1661 -108
  183. package/sdk/platform/Content/ContentPlatformModel.js +1217 -113
  184. package/sdk/platform/Discount/DiscountPlatformClient.d.ts +67 -101
  185. package/sdk/platform/Discount/DiscountPlatformClient.js +240 -176
  186. package/sdk/platform/Discount/DiscountPlatformModel.d.ts +242 -15
  187. package/sdk/platform/Discount/DiscountPlatformModel.js +162 -10
  188. package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +185 -13
  189. package/sdk/platform/Discount/DiscountPlatformValidator.js +88 -8
  190. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +32 -41
  191. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +106 -74
  192. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +77 -6
  193. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +41 -6
  194. package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +39 -54
  195. package/sdk/platform/FileStorage/FileStoragePlatformClient.js +124 -99
  196. package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +299 -20
  197. package/sdk/platform/FileStorage/FileStoragePlatformModel.js +207 -16
  198. package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +98 -8
  199. package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +54 -7
  200. package/sdk/platform/Finance/FinancePlatformClient.d.ts +85 -91
  201. package/sdk/platform/Finance/FinancePlatformClient.js +272 -180
  202. package/sdk/platform/Finance/FinancePlatformModel.d.ts +619 -50
  203. package/sdk/platform/Finance/FinancePlatformModel.js +458 -30
  204. package/sdk/platform/Finance/FinancePlatformValidator.d.ts +123 -15
  205. package/sdk/platform/Finance/FinancePlatformValidator.js +95 -16
  206. package/sdk/platform/Inventory/InventoryPlatformClient.d.ts +99 -97
  207. package/sdk/platform/Inventory/InventoryPlatformClient.js +288 -199
  208. package/sdk/platform/Inventory/InventoryPlatformModel.d.ts +1354 -61
  209. package/sdk/platform/Inventory/InventoryPlatformModel.js +916 -83
  210. package/sdk/platform/Inventory/InventoryPlatformValidator.d.ts +168 -12
  211. package/sdk/platform/Inventory/InventoryPlatformValidator.js +82 -6
  212. package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +86 -106
  213. package/sdk/platform/Lead/LeadPlatformApplicationClient.js +326 -186
  214. package/sdk/platform/Lead/LeadPlatformApplicationValidator.d.ts +180 -14
  215. package/sdk/platform/Lead/LeadPlatformApplicationValidator.js +94 -9
  216. package/sdk/platform/Lead/LeadPlatformClient.d.ts +75 -101
  217. package/sdk/platform/Lead/LeadPlatformClient.js +240 -174
  218. package/sdk/platform/Lead/LeadPlatformModel.d.ts +1403 -54
  219. package/sdk/platform/Lead/LeadPlatformModel.js +618 -73
  220. package/sdk/platform/Lead/LeadPlatformValidator.d.ts +173 -12
  221. package/sdk/platform/Lead/LeadPlatformValidator.js +85 -8
  222. package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +18 -14
  223. package/sdk/platform/Order/OrderPlatformApplicationClient.js +56 -29
  224. package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +26 -4
  225. package/sdk/platform/Order/OrderPlatformApplicationValidator.js +16 -3
  226. package/sdk/platform/Order/OrderPlatformClient.d.ts +343 -556
  227. package/sdk/platform/Order/OrderPlatformClient.js +969 -762
  228. package/sdk/platform/Order/OrderPlatformModel.d.ts +4967 -247
  229. package/sdk/platform/Order/OrderPlatformModel.js +3249 -259
  230. package/sdk/platform/Order/OrderPlatformValidator.d.ts +758 -37
  231. package/sdk/platform/Order/OrderPlatformValidator.js +351 -22
  232. package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +28 -36
  233. package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +103 -59
  234. package/sdk/platform/Partner/PartnerPlatformApplicationValidator.d.ts +66 -6
  235. package/sdk/platform/Partner/PartnerPlatformApplicationValidator.js +32 -4
  236. package/sdk/platform/Partner/PartnerPlatformClient.d.ts +68 -107
  237. package/sdk/platform/Partner/PartnerPlatformClient.js +253 -174
  238. package/sdk/platform/Partner/PartnerPlatformModel.d.ts +767 -45
  239. package/sdk/platform/Partner/PartnerPlatformModel.js +524 -41
  240. package/sdk/platform/Partner/PartnerPlatformValidator.d.ts +207 -13
  241. package/sdk/platform/Partner/PartnerPlatformValidator.js +87 -5
  242. package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +255 -260
  243. package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +860 -504
  244. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +348 -30
  245. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +221 -19
  246. package/sdk/platform/Payment/PaymentPlatformClient.d.ts +73 -73
  247. package/sdk/platform/Payment/PaymentPlatformClient.js +238 -154
  248. package/sdk/platform/Payment/PaymentPlatformModel.d.ts +2658 -93
  249. package/sdk/platform/Payment/PaymentPlatformModel.js +1035 -36
  250. package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +111 -11
  251. package/sdk/platform/Payment/PaymentPlatformValidator.js +68 -7
  252. package/sdk/platform/PlatformAPIClient.d.ts +16 -1
  253. package/sdk/platform/PlatformAPIClient.js +9 -1
  254. package/sdk/platform/PlatformApplicationClient.d.ts +22 -1798
  255. package/sdk/platform/PlatformApplicationClient.js +17 -1899
  256. package/sdk/platform/PlatformClient.d.ts +29 -12579
  257. package/sdk/platform/PlatformClient.js +26 -15085
  258. package/sdk/platform/PlatformConfig.d.ts +37 -11
  259. package/sdk/platform/PlatformConfig.js +32 -6
  260. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +80 -92
  261. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +307 -177
  262. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +149 -12
  263. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.js +82 -8
  264. package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +371 -23
  265. package/sdk/platform/Rewards/RewardsPlatformModel.js +246 -16
  266. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +120 -89
  267. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +349 -201
  268. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +128 -12
  269. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +85 -11
  270. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +148 -178
  271. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +454 -329
  272. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +1399 -96
  273. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +1022 -71
  274. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +280 -18
  275. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +134 -11
  276. package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +38 -47
  277. package/sdk/platform/Share/SharePlatformApplicationClient.js +137 -73
  278. package/sdk/platform/Share/SharePlatformApplicationValidator.d.ts +87 -7
  279. package/sdk/platform/Share/SharePlatformApplicationValidator.js +42 -5
  280. package/sdk/platform/Share/SharePlatformModel.d.ts +250 -16
  281. package/sdk/platform/Share/SharePlatformModel.js +165 -17
  282. package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +149 -183
  283. package/sdk/platform/Theme/ThemePlatformApplicationClient.js +579 -330
  284. package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +308 -24
  285. package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +162 -10
  286. package/sdk/platform/Theme/ThemePlatformModel.d.ts +621 -48
  287. package/sdk/platform/Theme/ThemePlatformModel.js +464 -40
  288. package/sdk/platform/User/UserPlatformApplicationClient.d.ts +119 -151
  289. package/sdk/platform/User/UserPlatformApplicationClient.js +411 -244
  290. package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +235 -18
  291. package/sdk/platform/User/UserPlatformApplicationValidator.js +126 -12
  292. package/sdk/platform/User/UserPlatformModel.d.ts +1390 -101
  293. package/sdk/platform/User/UserPlatformModel.js +983 -44
  294. package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +38 -47
  295. package/sdk/platform/Webhook/WebhookPlatformClient.js +137 -87
  296. package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +242 -16
  297. package/sdk/platform/Webhook/WebhookPlatformModel.js +167 -18
  298. package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +83 -7
  299. package/sdk/platform/Webhook/WebhookPlatformValidator.js +43 -5
  300. package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +14 -21
  301. package/sdk/public/Configuration/ConfigurationPublicClient.js +46 -33
  302. package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +473 -19
  303. package/sdk/public/Configuration/ConfigurationPublicModel.js +224 -16
  304. package/sdk/public/Configuration/ConfigurationPublicValidator.d.ts +42 -4
  305. package/sdk/public/Configuration/ConfigurationPublicValidator.js +21 -3
  306. package/sdk/public/Inventory/InventoryPublicClient.d.ts +48 -48
  307. package/sdk/public/Inventory/InventoryPublicClient.js +146 -98
  308. package/sdk/public/Inventory/InventoryPublicModel.d.ts +392 -21
  309. package/sdk/public/Inventory/InventoryPublicModel.js +267 -27
  310. package/sdk/public/Inventory/InventoryPublicValidator.d.ts +90 -8
  311. package/sdk/public/Inventory/InventoryPublicValidator.js +44 -4
  312. package/sdk/public/PublicClient.d.ts +19 -3
  313. package/sdk/public/PublicClient.js +16 -0
  314. package/sdk/public/PublicConfig.d.ts +27 -6
  315. package/sdk/public/PublicConfig.js +17 -1
  316. package/sdk/public/Webhook/WebhookPublicClient.d.ts +13 -11
  317. package/sdk/public/Webhook/WebhookPublicClient.js +42 -27
  318. package/sdk/public/Webhook/WebhookPublicModel.d.ts +242 -16
  319. package/sdk/public/Webhook/WebhookPublicModel.js +167 -18
  320. package/sdk/public/Webhook/WebhookPublicValidator.d.ts +18 -3
  321. package/sdk/public/Webhook/WebhookPublicValidator.js +14 -4
@@ -1,51 +1,620 @@
1
- export = FinanceModel;
2
- declare class FinanceModel {
3
- static CreditlineDataPlatformPayload(): any;
4
- static CreditlineDataPlatformRequest(): any;
5
- static CreditlineDataPlatformResponse(): any;
6
- static DownloadCreditDebitNote(): any;
7
- static DownloadCreditDebitNoteRequest(): any;
8
- static DownloadCreditDebitNoteResponse(): any;
9
- static DownloadCreditDebitNoteResponseData(): any;
10
- static DownloadReport(): any;
11
- static DownloadReportItems(): any;
12
- static DownloadReportList(): any;
13
- static Error(): any;
14
- static GenerateReportFilters(): any;
15
- static GenerateReportJson(): any;
16
- static GenerateReportMeta(): any;
17
- static GenerateReportPlatform(): any;
18
- static GenerateReportRequest(): any;
19
- static GetAffiliate(): any;
20
- static GetAffiliateResponse(): any;
21
- static GetDocs(): any;
22
- static GetEngineData(): any;
23
- static GetEngineFilters(): any;
24
- static GetEngineRequest(): any;
25
- static GetEngineResponse(): any;
26
- static GetReason(): any;
27
- static GetReasonRequest(): any;
28
- static GetReasonResponse(): any;
29
- static GetReportListData(): any;
30
- static GetReportListRequest(): any;
31
- static InoviceListingPayloadDataFilters(): any;
32
- static InvoiceListingPayloadData(): any;
33
- static InvoiceListingRequest(): any;
34
- static InvoiceListingResponse(): any;
35
- static InvoiceListingResponseItems(): any;
36
- static InvoicePdfPayloadData(): any;
37
- static InvoicePdfRequest(): any;
38
- static InvoicePdfResponse(): any;
39
- static InvoiceTypePayloadData(): any;
40
- static InvoiceTypeRequest(): any;
41
- static InvoiceTypeResponse(): any;
42
- static InvoiceTypeResponseItems(): any;
43
- static IsCreditlinePayload(): any;
44
- static IsCreditlinePlatformRequest(): any;
45
- static IsCreditlinePlatformResponse(): any;
46
- static Page(): any;
47
- static PaymentProcessPayload(): any;
48
- static PaymentProcessRequest(): any;
49
- static PaymentProcessResponse(): any;
50
- static UnpaidInvoiceDataItems(): any;
1
+ export = FinancePlatformModel;
2
+ /**
3
+ * @typedef CreditlineDataPlatformPayload
4
+ * @property {string} [end_end]
5
+ * @property {number} [page]
6
+ * @property {number} [pagesize]
7
+ * @property {string} [seller_id]
8
+ * @property {string} [start_end]
9
+ */
10
+ /**
11
+ * @typedef CreditlineDataPlatformRequest
12
+ * @property {CreditlineDataPlatformPayload} [data]
13
+ */
14
+ /**
15
+ * @typedef CreditlineDataPlatformResponse
16
+ * @property {number} [code]
17
+ * @property {string[]} [headers]
18
+ * @property {number} [item_count]
19
+ * @property {Object[]} [items]
20
+ * @property {string} [message]
21
+ * @property {Object} [page]
22
+ * @property {boolean} [show_mr]
23
+ */
24
+ /**
25
+ * @typedef DownloadCreditDebitNote
26
+ * @property {string[]} [note_id]
27
+ */
28
+ /**
29
+ * @typedef DownloadCreditDebitNoteRequest
30
+ * @property {DownloadCreditDebitNote} [data]
31
+ */
32
+ /**
33
+ * @typedef DownloadCreditDebitNoteResponse
34
+ * @property {DownloadCreditDebitNoteResponseData[]} [data]
35
+ * @property {boolean} [success]
36
+ */
37
+ /**
38
+ * @typedef DownloadCreditDebitNoteResponseData
39
+ * @property {string} [id]
40
+ * @property {string} [pdf_s3_url]
41
+ */
42
+ /**
43
+ * @typedef DownloadReport
44
+ * @property {string} [end_date]
45
+ * @property {number} [page]
46
+ * @property {number} [pagesize]
47
+ * @property {string} [start_date]
48
+ */
49
+ /**
50
+ * @typedef DownloadReportItems
51
+ * @property {string} [end_date]
52
+ * @property {GenerateReportFilters} [filters]
53
+ * @property {GenerateReportMeta} [meta]
54
+ * @property {string} [report_id]
55
+ * @property {string} [start_date]
56
+ * @property {string} [type_of_request]
57
+ */
58
+ /**
59
+ * @typedef DownloadReportList
60
+ * @property {number} [item_count]
61
+ * @property {DownloadReportItems[]} [items]
62
+ * @property {Page} [page]
63
+ */
64
+ /**
65
+ * @typedef Error
66
+ * @property {string} [reason]
67
+ * @property {boolean} [success]
68
+ */
69
+ /**
70
+ * @typedef GenerateReportFilters
71
+ * @property {string[]} [brand]
72
+ * @property {string[]} [channel]
73
+ * @property {string[]} [company]
74
+ */
75
+ /**
76
+ * @typedef GenerateReportJson
77
+ * @property {string} [end_date]
78
+ * @property {string[]} [headers]
79
+ * @property {number} [item_count]
80
+ * @property {string[][]} [items]
81
+ * @property {Page} [page]
82
+ * @property {string} [start_date]
83
+ */
84
+ /**
85
+ * @typedef GenerateReportMeta
86
+ * @property {string} [brand]
87
+ * @property {string} [channel]
88
+ * @property {string} [company]
89
+ */
90
+ /**
91
+ * @typedef GenerateReportPlatform
92
+ * @property {string} [end_date]
93
+ * @property {GenerateReportFilters} [filters]
94
+ * @property {GenerateReportMeta} [meta]
95
+ * @property {string} [report_id]
96
+ * @property {string} [start_date]
97
+ */
98
+ /**
99
+ * @typedef GenerateReportRequest
100
+ * @property {GenerateReportPlatform} [data]
101
+ */
102
+ /**
103
+ * @typedef GetAffiliate
104
+ * @property {number} [company_id]
105
+ */
106
+ /**
107
+ * @typedef GetAffiliateResponse
108
+ * @property {Object[]} [docs]
109
+ * @property {boolean} [success]
110
+ */
111
+ /**
112
+ * @typedef GetDocs
113
+ * @property {Object[]} [docs]
114
+ * @property {Object[]} [items]
115
+ */
116
+ /**
117
+ * @typedef GetEngineData
118
+ * @property {GetEngineFilters} [filters]
119
+ * @property {string[]} [project]
120
+ * @property {string} [table_name]
121
+ */
122
+ /**
123
+ * @typedef GetEngineFilters
124
+ * @property {string} [config_field]
125
+ */
126
+ /**
127
+ * @typedef GetEngineRequest
128
+ * @property {GetEngineData} [data]
129
+ */
130
+ /**
131
+ * @typedef GetEngineResponse
132
+ * @property {number} [item_count]
133
+ * @property {Object[]} [items]
134
+ * @property {Page} [page]
135
+ * @property {boolean} [success]
136
+ */
137
+ /**
138
+ * @typedef GetReason
139
+ * @property {string} [reason_type]
140
+ */
141
+ /**
142
+ * @typedef GetReasonRequest
143
+ * @property {GetReason} [data]
144
+ */
145
+ /**
146
+ * @typedef GetReasonResponse
147
+ * @property {GetDocs} [data]
148
+ * @property {boolean} [success]
149
+ */
150
+ /**
151
+ * @typedef GetReportListData
152
+ * @property {boolean} [listing_enabled]
153
+ * @property {string} [role_name]
154
+ */
155
+ /**
156
+ * @typedef GetReportListRequest
157
+ * @property {GetReportListData} [data]
158
+ */
159
+ /**
160
+ * @typedef InoviceListingPayloadDataFilters
161
+ * @property {string[]} [company_id]
162
+ * @property {string[]} [invoice_type]
163
+ * @property {string[]} [payment_status]
164
+ */
165
+ /**
166
+ * @typedef InvoiceListingPayloadData
167
+ * @property {string} [end_date]
168
+ * @property {InoviceListingPayloadDataFilters} [filters]
169
+ * @property {number} [page]
170
+ * @property {number} [page_size]
171
+ * @property {string} [search]
172
+ * @property {string} [start_date]
173
+ */
174
+ /**
175
+ * @typedef InvoiceListingRequest
176
+ * @property {InvoiceListingPayloadData} [data]
177
+ */
178
+ /**
179
+ * @typedef InvoiceListingResponse
180
+ * @property {number} [item_count]
181
+ * @property {InvoiceListingResponseItems[]} [items]
182
+ * @property {Page} [page]
183
+ * @property {UnpaidInvoiceDataItems} [unpaid_invoice_data]
184
+ */
185
+ /**
186
+ * @typedef InvoiceListingResponseItems
187
+ * @property {string} [amount]
188
+ * @property {string} [company]
189
+ * @property {string} [due_date]
190
+ * @property {string} [invoice_date]
191
+ * @property {string} [invoice_id]
192
+ * @property {string} [invoice_number]
193
+ * @property {string} [invoice_type]
194
+ * @property {boolean} [is_downloadable]
195
+ * @property {string} [period]
196
+ * @property {string} [status]
197
+ */
198
+ /**
199
+ * @typedef InvoicePdfPayloadData
200
+ * @property {string[]} [invoice_number]
201
+ */
202
+ /**
203
+ * @typedef InvoicePdfRequest
204
+ * @property {InvoicePdfPayloadData} [data]
205
+ */
206
+ /**
207
+ * @typedef InvoicePdfResponse
208
+ * @property {string[]} [data]
209
+ * @property {string[]} [error]
210
+ * @property {boolean} [success]
211
+ */
212
+ /**
213
+ * @typedef InvoiceTypePayloadData
214
+ * @property {boolean} [is_active]
215
+ */
216
+ /**
217
+ * @typedef InvoiceTypeRequest
218
+ * @property {InvoiceTypePayloadData} [data]
219
+ */
220
+ /**
221
+ * @typedef InvoiceTypeResponse
222
+ * @property {InvoiceTypeResponseItems[]} [invoice_type_list]
223
+ * @property {InvoiceTypeResponseItems[]} [payment_status_list]
224
+ * @property {boolean} [success]
225
+ */
226
+ /**
227
+ * @typedef InvoiceTypeResponseItems
228
+ * @property {string} [text]
229
+ * @property {string} [value]
230
+ */
231
+ /**
232
+ * @typedef IsCreditlinePayload
233
+ * @property {string} [seller_id]
234
+ */
235
+ /**
236
+ * @typedef IsCreditlinePlatformRequest
237
+ * @property {IsCreditlinePayload} [data]
238
+ */
239
+ /**
240
+ * @typedef IsCreditlinePlatformResponse
241
+ * @property {number} [code]
242
+ * @property {boolean} [is_creditline_opted]
243
+ */
244
+ /**
245
+ * @typedef Page
246
+ * @property {number} [current]
247
+ * @property {boolean} [has_next]
248
+ * @property {boolean} [has_previous]
249
+ * @property {number} [item_total]
250
+ * @property {string} [next_id]
251
+ * @property {number} [size]
252
+ * @property {string} type
253
+ */
254
+ /**
255
+ * @typedef PaymentProcessPayload
256
+ * @property {string} [amount]
257
+ * @property {string} [currency]
258
+ * @property {string} [invoice_number]
259
+ * @property {Object} [meta]
260
+ * @property {string} [mode_of_payment]
261
+ * @property {string} [platform]
262
+ * @property {string} [seller_id]
263
+ * @property {string} [source_reference]
264
+ * @property {string} [total_amount]
265
+ * @property {string} [transaction_type]
266
+ */
267
+ /**
268
+ * @typedef PaymentProcessRequest
269
+ * @property {PaymentProcessPayload} [data]
270
+ */
271
+ /**
272
+ * @typedef PaymentProcessResponse
273
+ * @property {number} [code]
274
+ * @property {string} [message]
275
+ * @property {Object} [meta]
276
+ * @property {string} [redirect_url]
277
+ * @property {string} [transaction_id]
278
+ */
279
+ /**
280
+ * @typedef UnpaidInvoiceDataItems
281
+ * @property {string} [currency]
282
+ * @property {number} [total_unpaid_amount]
283
+ * @property {number} [total_unpaid_invoice_count]
284
+ */
285
+ declare class FinancePlatformModel {
51
286
  }
287
+ declare namespace FinancePlatformModel {
288
+ export { CreditlineDataPlatformPayload, CreditlineDataPlatformRequest, CreditlineDataPlatformResponse, DownloadCreditDebitNote, DownloadCreditDebitNoteRequest, DownloadCreditDebitNoteResponse, DownloadCreditDebitNoteResponseData, DownloadReport, DownloadReportItems, DownloadReportList, Error, GenerateReportFilters, GenerateReportJson, GenerateReportMeta, GenerateReportPlatform, GenerateReportRequest, GetAffiliate, GetAffiliateResponse, GetDocs, GetEngineData, GetEngineFilters, GetEngineRequest, GetEngineResponse, GetReason, GetReasonRequest, GetReasonResponse, GetReportListData, GetReportListRequest, InoviceListingPayloadDataFilters, InvoiceListingPayloadData, InvoiceListingRequest, InvoiceListingResponse, InvoiceListingResponseItems, InvoicePdfPayloadData, InvoicePdfRequest, InvoicePdfResponse, InvoiceTypePayloadData, InvoiceTypeRequest, InvoiceTypeResponse, InvoiceTypeResponseItems, IsCreditlinePayload, IsCreditlinePlatformRequest, IsCreditlinePlatformResponse, Page, PaymentProcessPayload, PaymentProcessRequest, PaymentProcessResponse, UnpaidInvoiceDataItems };
289
+ }
290
+ /** @returns {CreditlineDataPlatformPayload} */
291
+ declare function CreditlineDataPlatformPayload(): CreditlineDataPlatformPayload;
292
+ type CreditlineDataPlatformPayload = {
293
+ end_end?: string;
294
+ page?: number;
295
+ pagesize?: number;
296
+ seller_id?: string;
297
+ start_end?: string;
298
+ };
299
+ /** @returns {CreditlineDataPlatformRequest} */
300
+ declare function CreditlineDataPlatformRequest(): CreditlineDataPlatformRequest;
301
+ type CreditlineDataPlatformRequest = {
302
+ data?: CreditlineDataPlatformPayload;
303
+ };
304
+ /** @returns {CreditlineDataPlatformResponse} */
305
+ declare function CreditlineDataPlatformResponse(): CreditlineDataPlatformResponse;
306
+ type CreditlineDataPlatformResponse = {
307
+ code?: number;
308
+ headers?: string[];
309
+ item_count?: number;
310
+ items?: any[];
311
+ message?: string;
312
+ page?: any;
313
+ show_mr?: boolean;
314
+ };
315
+ /** @returns {DownloadCreditDebitNote} */
316
+ declare function DownloadCreditDebitNote(): DownloadCreditDebitNote;
317
+ type DownloadCreditDebitNote = {
318
+ note_id?: string[];
319
+ };
320
+ /** @returns {DownloadCreditDebitNoteRequest} */
321
+ declare function DownloadCreditDebitNoteRequest(): DownloadCreditDebitNoteRequest;
322
+ type DownloadCreditDebitNoteRequest = {
323
+ data?: DownloadCreditDebitNote;
324
+ };
325
+ /** @returns {DownloadCreditDebitNoteResponse} */
326
+ declare function DownloadCreditDebitNoteResponse(): DownloadCreditDebitNoteResponse;
327
+ type DownloadCreditDebitNoteResponse = {
328
+ data?: DownloadCreditDebitNoteResponseData[];
329
+ success?: boolean;
330
+ };
331
+ /** @returns {DownloadCreditDebitNoteResponseData} */
332
+ declare function DownloadCreditDebitNoteResponseData(): DownloadCreditDebitNoteResponseData;
333
+ type DownloadCreditDebitNoteResponseData = {
334
+ id?: string;
335
+ pdf_s3_url?: string;
336
+ };
337
+ /** @returns {DownloadReport} */
338
+ declare function DownloadReport(): DownloadReport;
339
+ type DownloadReport = {
340
+ end_date?: string;
341
+ page?: number;
342
+ pagesize?: number;
343
+ start_date?: string;
344
+ };
345
+ /** @returns {DownloadReportItems} */
346
+ declare function DownloadReportItems(): DownloadReportItems;
347
+ type DownloadReportItems = {
348
+ end_date?: string;
349
+ filters?: GenerateReportFilters;
350
+ meta?: GenerateReportMeta;
351
+ report_id?: string;
352
+ start_date?: string;
353
+ type_of_request?: string;
354
+ };
355
+ /** @returns {DownloadReportList} */
356
+ declare function DownloadReportList(): DownloadReportList;
357
+ type DownloadReportList = {
358
+ item_count?: number;
359
+ items?: DownloadReportItems[];
360
+ page?: Page;
361
+ };
362
+ /** @returns {Error} */
363
+ declare function Error(): Error;
364
+ type Error = {
365
+ reason?: string;
366
+ success?: boolean;
367
+ };
368
+ /** @returns {GenerateReportFilters} */
369
+ declare function GenerateReportFilters(): GenerateReportFilters;
370
+ type GenerateReportFilters = {
371
+ brand?: string[];
372
+ channel?: string[];
373
+ company?: string[];
374
+ };
375
+ /** @returns {GenerateReportJson} */
376
+ declare function GenerateReportJson(): GenerateReportJson;
377
+ type GenerateReportJson = {
378
+ end_date?: string;
379
+ headers?: string[];
380
+ item_count?: number;
381
+ items?: string[][];
382
+ page?: Page;
383
+ start_date?: string;
384
+ };
385
+ /** @returns {GenerateReportMeta} */
386
+ declare function GenerateReportMeta(): GenerateReportMeta;
387
+ type GenerateReportMeta = {
388
+ brand?: string;
389
+ channel?: string;
390
+ company?: string;
391
+ };
392
+ /** @returns {GenerateReportPlatform} */
393
+ declare function GenerateReportPlatform(): GenerateReportPlatform;
394
+ type GenerateReportPlatform = {
395
+ end_date?: string;
396
+ filters?: GenerateReportFilters;
397
+ meta?: GenerateReportMeta;
398
+ report_id?: string;
399
+ start_date?: string;
400
+ };
401
+ /** @returns {GenerateReportRequest} */
402
+ declare function GenerateReportRequest(): GenerateReportRequest;
403
+ type GenerateReportRequest = {
404
+ data?: GenerateReportPlatform;
405
+ };
406
+ /** @returns {GetAffiliate} */
407
+ declare function GetAffiliate(): GetAffiliate;
408
+ type GetAffiliate = {
409
+ company_id?: number;
410
+ };
411
+ /** @returns {GetAffiliateResponse} */
412
+ declare function GetAffiliateResponse(): GetAffiliateResponse;
413
+ type GetAffiliateResponse = {
414
+ docs?: any[];
415
+ success?: boolean;
416
+ };
417
+ /** @returns {GetDocs} */
418
+ declare function GetDocs(): GetDocs;
419
+ type GetDocs = {
420
+ docs?: any[];
421
+ items?: any[];
422
+ };
423
+ /** @returns {GetEngineData} */
424
+ declare function GetEngineData(): GetEngineData;
425
+ type GetEngineData = {
426
+ filters?: GetEngineFilters;
427
+ project?: string[];
428
+ table_name?: string;
429
+ };
430
+ /** @returns {GetEngineFilters} */
431
+ declare function GetEngineFilters(): GetEngineFilters;
432
+ type GetEngineFilters = {
433
+ config_field?: string;
434
+ };
435
+ /** @returns {GetEngineRequest} */
436
+ declare function GetEngineRequest(): GetEngineRequest;
437
+ type GetEngineRequest = {
438
+ data?: GetEngineData;
439
+ };
440
+ /** @returns {GetEngineResponse} */
441
+ declare function GetEngineResponse(): GetEngineResponse;
442
+ type GetEngineResponse = {
443
+ item_count?: number;
444
+ items?: any[];
445
+ page?: Page;
446
+ success?: boolean;
447
+ };
448
+ /** @returns {GetReason} */
449
+ declare function GetReason(): GetReason;
450
+ type GetReason = {
451
+ reason_type?: string;
452
+ };
453
+ /** @returns {GetReasonRequest} */
454
+ declare function GetReasonRequest(): GetReasonRequest;
455
+ type GetReasonRequest = {
456
+ data?: GetReason;
457
+ };
458
+ /** @returns {GetReasonResponse} */
459
+ declare function GetReasonResponse(): GetReasonResponse;
460
+ type GetReasonResponse = {
461
+ data?: GetDocs;
462
+ success?: boolean;
463
+ };
464
+ /** @returns {GetReportListData} */
465
+ declare function GetReportListData(): GetReportListData;
466
+ type GetReportListData = {
467
+ listing_enabled?: boolean;
468
+ role_name?: string;
469
+ };
470
+ /** @returns {GetReportListRequest} */
471
+ declare function GetReportListRequest(): GetReportListRequest;
472
+ type GetReportListRequest = {
473
+ data?: GetReportListData;
474
+ };
475
+ /** @returns {InoviceListingPayloadDataFilters} */
476
+ declare function InoviceListingPayloadDataFilters(): InoviceListingPayloadDataFilters;
477
+ type InoviceListingPayloadDataFilters = {
478
+ company_id?: string[];
479
+ invoice_type?: string[];
480
+ payment_status?: string[];
481
+ };
482
+ /** @returns {InvoiceListingPayloadData} */
483
+ declare function InvoiceListingPayloadData(): InvoiceListingPayloadData;
484
+ type InvoiceListingPayloadData = {
485
+ end_date?: string;
486
+ filters?: InoviceListingPayloadDataFilters;
487
+ page?: number;
488
+ page_size?: number;
489
+ search?: string;
490
+ start_date?: string;
491
+ };
492
+ /** @returns {InvoiceListingRequest} */
493
+ declare function InvoiceListingRequest(): InvoiceListingRequest;
494
+ type InvoiceListingRequest = {
495
+ data?: InvoiceListingPayloadData;
496
+ };
497
+ /** @returns {InvoiceListingResponse} */
498
+ declare function InvoiceListingResponse(): InvoiceListingResponse;
499
+ type InvoiceListingResponse = {
500
+ item_count?: number;
501
+ items?: InvoiceListingResponseItems[];
502
+ page?: Page;
503
+ unpaid_invoice_data?: UnpaidInvoiceDataItems;
504
+ };
505
+ /** @returns {InvoiceListingResponseItems} */
506
+ declare function InvoiceListingResponseItems(): InvoiceListingResponseItems;
507
+ type InvoiceListingResponseItems = {
508
+ amount?: string;
509
+ company?: string;
510
+ due_date?: string;
511
+ invoice_date?: string;
512
+ invoice_id?: string;
513
+ invoice_number?: string;
514
+ invoice_type?: string;
515
+ is_downloadable?: boolean;
516
+ period?: string;
517
+ status?: string;
518
+ };
519
+ /** @returns {InvoicePdfPayloadData} */
520
+ declare function InvoicePdfPayloadData(): InvoicePdfPayloadData;
521
+ type InvoicePdfPayloadData = {
522
+ invoice_number?: string[];
523
+ };
524
+ /** @returns {InvoicePdfRequest} */
525
+ declare function InvoicePdfRequest(): InvoicePdfRequest;
526
+ type InvoicePdfRequest = {
527
+ data?: InvoicePdfPayloadData;
528
+ };
529
+ /** @returns {InvoicePdfResponse} */
530
+ declare function InvoicePdfResponse(): InvoicePdfResponse;
531
+ type InvoicePdfResponse = {
532
+ data?: string[];
533
+ error?: string[];
534
+ success?: boolean;
535
+ };
536
+ /** @returns {InvoiceTypePayloadData} */
537
+ declare function InvoiceTypePayloadData(): InvoiceTypePayloadData;
538
+ type InvoiceTypePayloadData = {
539
+ is_active?: boolean;
540
+ };
541
+ /** @returns {InvoiceTypeRequest} */
542
+ declare function InvoiceTypeRequest(): InvoiceTypeRequest;
543
+ type InvoiceTypeRequest = {
544
+ data?: InvoiceTypePayloadData;
545
+ };
546
+ /** @returns {InvoiceTypeResponse} */
547
+ declare function InvoiceTypeResponse(): InvoiceTypeResponse;
548
+ type InvoiceTypeResponse = {
549
+ invoice_type_list?: InvoiceTypeResponseItems[];
550
+ payment_status_list?: InvoiceTypeResponseItems[];
551
+ success?: boolean;
552
+ };
553
+ /** @returns {InvoiceTypeResponseItems} */
554
+ declare function InvoiceTypeResponseItems(): InvoiceTypeResponseItems;
555
+ type InvoiceTypeResponseItems = {
556
+ text?: string;
557
+ value?: string;
558
+ };
559
+ /** @returns {IsCreditlinePayload} */
560
+ declare function IsCreditlinePayload(): IsCreditlinePayload;
561
+ type IsCreditlinePayload = {
562
+ seller_id?: string;
563
+ };
564
+ /** @returns {IsCreditlinePlatformRequest} */
565
+ declare function IsCreditlinePlatformRequest(): IsCreditlinePlatformRequest;
566
+ type IsCreditlinePlatformRequest = {
567
+ data?: IsCreditlinePayload;
568
+ };
569
+ /** @returns {IsCreditlinePlatformResponse} */
570
+ declare function IsCreditlinePlatformResponse(): IsCreditlinePlatformResponse;
571
+ type IsCreditlinePlatformResponse = {
572
+ code?: number;
573
+ is_creditline_opted?: boolean;
574
+ };
575
+ /** @returns {Page} */
576
+ declare function Page(): Page;
577
+ type Page = {
578
+ current?: number;
579
+ has_next?: boolean;
580
+ has_previous?: boolean;
581
+ item_total?: number;
582
+ next_id?: string;
583
+ size?: number;
584
+ type: string;
585
+ };
586
+ /** @returns {PaymentProcessPayload} */
587
+ declare function PaymentProcessPayload(): PaymentProcessPayload;
588
+ type PaymentProcessPayload = {
589
+ amount?: string;
590
+ currency?: string;
591
+ invoice_number?: string;
592
+ meta?: any;
593
+ mode_of_payment?: string;
594
+ platform?: string;
595
+ seller_id?: string;
596
+ source_reference?: string;
597
+ total_amount?: string;
598
+ transaction_type?: string;
599
+ };
600
+ /** @returns {PaymentProcessRequest} */
601
+ declare function PaymentProcessRequest(): PaymentProcessRequest;
602
+ type PaymentProcessRequest = {
603
+ data?: PaymentProcessPayload;
604
+ };
605
+ /** @returns {PaymentProcessResponse} */
606
+ declare function PaymentProcessResponse(): PaymentProcessResponse;
607
+ type PaymentProcessResponse = {
608
+ code?: number;
609
+ message?: string;
610
+ meta?: any;
611
+ redirect_url?: string;
612
+ transaction_id?: string;
613
+ };
614
+ /** @returns {UnpaidInvoiceDataItems} */
615
+ declare function UnpaidInvoiceDataItems(): UnpaidInvoiceDataItems;
616
+ type UnpaidInvoiceDataItems = {
617
+ currency?: string;
618
+ total_unpaid_amount?: number;
619
+ total_unpaid_invoice_count?: number;
620
+ };