fusio-sdk 3.0.3 → 3.0.5

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 (343) hide show
  1. package/dist/src/Client.d.ts +4 -6
  2. package/dist/src/Client.js +10 -12
  3. package/dist/src/generated/backend/AccountTag.d.ts +26 -0
  4. package/dist/src/generated/backend/AccountTag.js +86 -0
  5. package/dist/src/generated/backend/ActionTag.d.ts +56 -0
  6. package/dist/src/generated/backend/ActionTag.js +226 -0
  7. package/dist/src/generated/backend/AppTag.d.ts +54 -0
  8. package/dist/src/generated/backend/AppTag.js +237 -0
  9. package/dist/src/generated/backend/AuditTag.d.ts +19 -0
  10. package/dist/src/generated/backend/AuditTag.js +72 -0
  11. package/dist/src/generated/backend/CategoryTag.d.ts +37 -0
  12. package/dist/src/generated/backend/CategoryTag.js +146 -0
  13. package/dist/src/generated/backend/Client.d.ts +52 -521
  14. package/dist/src/generated/backend/Client.js +100 -669
  15. package/dist/src/generated/backend/ConfigTag.d.ts +26 -0
  16. package/dist/src/generated/backend/ConfigTag.js +93 -0
  17. package/dist/src/generated/backend/ConnectionTag.d.ts +66 -0
  18. package/dist/src/generated/backend/ConnectionTag.js +280 -0
  19. package/dist/src/generated/backend/CronjobTag.d.ts +37 -0
  20. package/dist/src/generated/backend/CronjobTag.js +146 -0
  21. package/dist/src/generated/backend/Dashboard.d.ts +3 -3
  22. package/dist/src/generated/backend/DashboardTag.d.ts +13 -0
  23. package/dist/src/generated/backend/DashboardTag.js +34 -0
  24. package/dist/src/generated/backend/EventTag.d.ts +66 -0
  25. package/dist/src/generated/backend/EventTag.js +284 -0
  26. package/dist/src/generated/backend/GeneratorProviderChangelog.d.ts +2 -2
  27. package/dist/src/generated/backend/GeneratorTag.d.ts +33 -0
  28. package/dist/src/generated/backend/GeneratorTag.js +117 -0
  29. package/dist/src/generated/backend/LogTag.d.ts +31 -0
  30. package/dist/src/generated/backend/LogTag.js +132 -0
  31. package/dist/src/generated/backend/MarketplaceTag.d.ts +36 -0
  32. package/dist/src/generated/backend/MarketplaceTag.js +141 -0
  33. package/dist/src/generated/backend/Message.d.ts +1 -0
  34. package/dist/src/generated/backend/Operation.d.ts +27 -0
  35. package/dist/src/generated/backend/{FormQuery.js → Operation.js} +1 -1
  36. package/dist/src/generated/backend/OperationCollection.d.ts +7 -0
  37. package/dist/src/generated/backend/OperationCollection.js +5 -0
  38. package/dist/src/generated/backend/OperationCreate.d.ts +7 -0
  39. package/dist/src/generated/backend/{CollectionQuery.js → OperationCreate.js} +1 -1
  40. package/dist/src/generated/backend/OperationParameters.d.ts +6 -0
  41. package/dist/src/generated/backend/OperationParameters.js +5 -0
  42. package/dist/src/generated/backend/OperationSchema.d.ts +10 -0
  43. package/dist/src/generated/{consumer/CollectionQuery.js → backend/OperationSchema.js} +1 -1
  44. package/dist/src/generated/backend/OperationTag.d.ts +37 -0
  45. package/dist/src/generated/backend/OperationTag.js +147 -0
  46. package/dist/src/generated/backend/OperationThrows.d.ts +5 -0
  47. package/dist/src/generated/backend/{RouteCollection.js → OperationThrows.js} +1 -1
  48. package/dist/src/generated/backend/OperationUpdate.d.ts +7 -0
  49. package/dist/src/generated/backend/OperationUpdate.js +5 -0
  50. package/dist/src/generated/backend/PageTag.d.ts +37 -0
  51. package/dist/src/generated/backend/PageTag.js +146 -0
  52. package/dist/src/generated/backend/PlanTag.d.ts +37 -0
  53. package/dist/src/generated/backend/PlanTag.js +146 -0
  54. package/dist/src/generated/backend/RateAllocation.d.ts +1 -1
  55. package/dist/src/generated/backend/RateTag.d.ts +37 -0
  56. package/dist/src/generated/backend/RateTag.js +146 -0
  57. package/dist/src/generated/backend/RoleTag.d.ts +37 -0
  58. package/dist/src/generated/backend/RoleTag.js +146 -0
  59. package/dist/src/generated/backend/SchemaTag.d.ts +49 -0
  60. package/dist/src/generated/backend/SchemaTag.js +202 -0
  61. package/dist/src/generated/backend/Scope.d.ts +2 -2
  62. package/dist/src/generated/backend/ScopeOperation.d.ts +9 -0
  63. package/dist/src/generated/backend/ScopeOperation.js +5 -0
  64. package/dist/src/generated/backend/ScopeTag.d.ts +43 -0
  65. package/dist/src/generated/backend/ScopeTag.js +172 -0
  66. package/dist/src/generated/backend/SdkTag.d.ts +20 -0
  67. package/dist/src/generated/backend/SdkTag.js +60 -0
  68. package/dist/src/generated/backend/StatisticTag.d.ts +59 -0
  69. package/dist/src/generated/backend/StatisticTag.js +409 -0
  70. package/dist/src/generated/backend/TransactionTag.d.ts +19 -0
  71. package/dist/src/generated/backend/TransactionTag.js +72 -0
  72. package/dist/src/generated/backend/TrashTag.d.ts +26 -0
  73. package/dist/src/generated/backend/TrashTag.js +93 -0
  74. package/dist/src/generated/backend/UserTag.d.ts +37 -0
  75. package/dist/src/generated/backend/UserTag.js +146 -0
  76. package/dist/src/generated/consumer/AccountTag.d.ts +81 -0
  77. package/dist/src/generated/consumer/AccountTag.js +321 -0
  78. package/dist/src/generated/consumer/AppTag.d.ts +37 -0
  79. package/dist/src/generated/consumer/AppTag.js +146 -0
  80. package/dist/src/generated/consumer/Client.d.ts +24 -185
  81. package/dist/src/generated/consumer/Client.js +44 -237
  82. package/dist/src/generated/consumer/EventTag.d.ts +13 -0
  83. package/dist/src/generated/consumer/EventTag.js +38 -0
  84. package/dist/src/generated/consumer/GrantTag.d.ts +19 -0
  85. package/dist/src/generated/consumer/GrantTag.js +65 -0
  86. package/dist/src/generated/consumer/LogTag.d.ts +19 -0
  87. package/dist/src/generated/consumer/LogTag.js +65 -0
  88. package/dist/src/generated/consumer/Message.d.ts +1 -0
  89. package/dist/src/generated/consumer/PageTag.d.ts +19 -0
  90. package/dist/src/generated/consumer/PageTag.js +65 -0
  91. package/dist/src/generated/consumer/PaymentTag.d.ts +21 -0
  92. package/dist/src/generated/consumer/PaymentTag.js +65 -0
  93. package/dist/src/generated/consumer/PlanTag.d.ts +19 -0
  94. package/dist/src/generated/consumer/PlanTag.js +65 -0
  95. package/dist/src/generated/consumer/ScopeTag.d.ts +13 -0
  96. package/dist/src/generated/consumer/ScopeTag.js +38 -0
  97. package/dist/src/generated/consumer/SubscriptionTag.d.ts +37 -0
  98. package/dist/src/generated/consumer/SubscriptionTag.js +146 -0
  99. package/dist/src/generated/consumer/TransactionTag.d.ts +19 -0
  100. package/dist/src/generated/consumer/TransactionTag.js +65 -0
  101. package/package.json +3 -3
  102. package/dist/src/generated/backend/AppTokenCollectionQuery.d.ts +0 -15
  103. package/dist/src/generated/backend/AppTokenCollectionQuery.js +0 -5
  104. package/dist/src/generated/backend/AuditCollectionQuery.d.ts +0 -15
  105. package/dist/src/generated/backend/AuditCollectionQuery.js +0 -5
  106. package/dist/src/generated/backend/BackendAccountChangePasswordResource.d.ts +0 -17
  107. package/dist/src/generated/backend/BackendAccountChangePasswordResource.js +0 -21
  108. package/dist/src/generated/backend/BackendAccountResource.d.ts +0 -22
  109. package/dist/src/generated/backend/BackendAccountResource.js +0 -30
  110. package/dist/src/generated/backend/BackendActionByActionIdResource.d.ts +0 -27
  111. package/dist/src/generated/backend/BackendActionByActionIdResource.js +0 -40
  112. package/dist/src/generated/backend/BackendActionExecuteByActionIdResource.d.ts +0 -18
  113. package/dist/src/generated/backend/BackendActionExecuteByActionIdResource.js +0 -22
  114. package/dist/src/generated/backend/BackendActionFormResource.d.ts +0 -17
  115. package/dist/src/generated/backend/BackendActionFormResource.js +0 -22
  116. package/dist/src/generated/backend/BackendActionListResource.d.ts +0 -15
  117. package/dist/src/generated/backend/BackendActionListResource.js +0 -20
  118. package/dist/src/generated/backend/BackendActionResource.d.ts +0 -24
  119. package/dist/src/generated/backend/BackendActionResource.js +0 -32
  120. package/dist/src/generated/backend/BackendAppByAppIdResource.d.ts +0 -27
  121. package/dist/src/generated/backend/BackendAppByAppIdResource.js +0 -40
  122. package/dist/src/generated/backend/BackendAppByAppIdTokenAndTokenIdResource.d.ts +0 -17
  123. package/dist/src/generated/backend/BackendAppByAppIdTokenAndTokenIdResource.js +0 -22
  124. package/dist/src/generated/backend/BackendAppResource.d.ts +0 -24
  125. package/dist/src/generated/backend/BackendAppResource.js +0 -32
  126. package/dist/src/generated/backend/BackendAppTokenByTokenIdResource.d.ts +0 -16
  127. package/dist/src/generated/backend/BackendAppTokenByTokenIdResource.js +0 -21
  128. package/dist/src/generated/backend/BackendAppTokenCollectionQuery.d.ts +0 -6
  129. package/dist/src/generated/backend/BackendAppTokenCollectionQuery.js +0 -5
  130. package/dist/src/generated/backend/BackendAppTokenResource.d.ts +0 -17
  131. package/dist/src/generated/backend/BackendAppTokenResource.js +0 -22
  132. package/dist/src/generated/backend/BackendAuditByAuditIdResource.d.ts +0 -16
  133. package/dist/src/generated/backend/BackendAuditByAuditIdResource.js +0 -21
  134. package/dist/src/generated/backend/BackendAuditCollectionQuery.d.ts +0 -6
  135. package/dist/src/generated/backend/BackendAuditCollectionQuery.js +0 -5
  136. package/dist/src/generated/backend/BackendAuditResource.d.ts +0 -17
  137. package/dist/src/generated/backend/BackendAuditResource.js +0 -22
  138. package/dist/src/generated/backend/BackendCategoryByCategoryIdResource.d.ts +0 -27
  139. package/dist/src/generated/backend/BackendCategoryByCategoryIdResource.js +0 -40
  140. package/dist/src/generated/backend/BackendCategoryResource.d.ts +0 -24
  141. package/dist/src/generated/backend/BackendCategoryResource.js +0 -32
  142. package/dist/src/generated/backend/BackendConfigByConfigIdResource.d.ts +0 -23
  143. package/dist/src/generated/backend/BackendConfigByConfigIdResource.js +0 -31
  144. package/dist/src/generated/backend/BackendConfigResource.d.ts +0 -17
  145. package/dist/src/generated/backend/BackendConfigResource.js +0 -22
  146. package/dist/src/generated/backend/BackendConnectionByConnectionIdIntrospectionAndEntityResource.d.ts +0 -17
  147. package/dist/src/generated/backend/BackendConnectionByConnectionIdIntrospectionAndEntityResource.js +0 -22
  148. package/dist/src/generated/backend/BackendConnectionByConnectionIdIntrospectionResource.d.ts +0 -16
  149. package/dist/src/generated/backend/BackendConnectionByConnectionIdIntrospectionResource.js +0 -21
  150. package/dist/src/generated/backend/BackendConnectionByConnectionIdRedirectResource.d.ts +0 -16
  151. package/dist/src/generated/backend/BackendConnectionByConnectionIdRedirectResource.js +0 -21
  152. package/dist/src/generated/backend/BackendConnectionByConnectionIdResource.d.ts +0 -27
  153. package/dist/src/generated/backend/BackendConnectionByConnectionIdResource.js +0 -40
  154. package/dist/src/generated/backend/BackendConnectionFormResource.d.ts +0 -17
  155. package/dist/src/generated/backend/BackendConnectionFormResource.js +0 -22
  156. package/dist/src/generated/backend/BackendConnectionListResource.d.ts +0 -15
  157. package/dist/src/generated/backend/BackendConnectionListResource.js +0 -20
  158. package/dist/src/generated/backend/BackendConnectionResource.d.ts +0 -24
  159. package/dist/src/generated/backend/BackendConnectionResource.js +0 -32
  160. package/dist/src/generated/backend/BackendCronjobByCronjobIdResource.d.ts +0 -27
  161. package/dist/src/generated/backend/BackendCronjobByCronjobIdResource.js +0 -40
  162. package/dist/src/generated/backend/BackendCronjobResource.d.ts +0 -24
  163. package/dist/src/generated/backend/BackendCronjobResource.js +0 -32
  164. package/dist/src/generated/backend/BackendDashboardResource.d.ts +0 -15
  165. package/dist/src/generated/backend/BackendDashboardResource.js +0 -20
  166. package/dist/src/generated/backend/BackendEventByEventIdResource.d.ts +0 -27
  167. package/dist/src/generated/backend/BackendEventByEventIdResource.js +0 -40
  168. package/dist/src/generated/backend/BackendEventResource.d.ts +0 -24
  169. package/dist/src/generated/backend/BackendEventResource.js +0 -32
  170. package/dist/src/generated/backend/BackendEventSubscriptionBySubscriptionIdResource.d.ts +0 -27
  171. package/dist/src/generated/backend/BackendEventSubscriptionBySubscriptionIdResource.js +0 -40
  172. package/dist/src/generated/backend/BackendEventSubscriptionResource.d.ts +0 -24
  173. package/dist/src/generated/backend/BackendEventSubscriptionResource.js +0 -32
  174. package/dist/src/generated/backend/BackendGeneratorByProviderResource.d.ts +0 -30
  175. package/dist/src/generated/backend/BackendGeneratorByProviderResource.js +0 -41
  176. package/dist/src/generated/backend/BackendGeneratorResource.d.ts +0 -15
  177. package/dist/src/generated/backend/BackendGeneratorResource.js +0 -20
  178. package/dist/src/generated/backend/BackendLogByLogIdResource.d.ts +0 -16
  179. package/dist/src/generated/backend/BackendLogByLogIdResource.js +0 -21
  180. package/dist/src/generated/backend/BackendLogCollectionQuery.d.ts +0 -6
  181. package/dist/src/generated/backend/BackendLogCollectionQuery.js +0 -5
  182. package/dist/src/generated/backend/BackendLogErrorByErrorIdResource.d.ts +0 -16
  183. package/dist/src/generated/backend/BackendLogErrorByErrorIdResource.js +0 -21
  184. package/dist/src/generated/backend/BackendLogErrorResource.d.ts +0 -17
  185. package/dist/src/generated/backend/BackendLogErrorResource.js +0 -22
  186. package/dist/src/generated/backend/BackendLogResource.d.ts +0 -17
  187. package/dist/src/generated/backend/BackendLogResource.js +0 -22
  188. package/dist/src/generated/backend/BackendMarketplaceByAppNameResource.d.ts +0 -25
  189. package/dist/src/generated/backend/BackendMarketplaceByAppNameResource.js +0 -39
  190. package/dist/src/generated/backend/BackendMarketplaceResource.d.ts +0 -22
  191. package/dist/src/generated/backend/BackendMarketplaceResource.js +0 -30
  192. package/dist/src/generated/backend/BackendPageByPageIdResource.d.ts +0 -27
  193. package/dist/src/generated/backend/BackendPageByPageIdResource.js +0 -40
  194. package/dist/src/generated/backend/BackendPageResource.d.ts +0 -24
  195. package/dist/src/generated/backend/BackendPageResource.js +0 -32
  196. package/dist/src/generated/backend/BackendPlanByPlanIdResource.d.ts +0 -27
  197. package/dist/src/generated/backend/BackendPlanByPlanIdResource.js +0 -40
  198. package/dist/src/generated/backend/BackendPlanResource.d.ts +0 -24
  199. package/dist/src/generated/backend/BackendPlanResource.js +0 -32
  200. package/dist/src/generated/backend/BackendPlanUsageCollectionQuery.d.ts +0 -6
  201. package/dist/src/generated/backend/BackendPlanUsageCollectionQuery.js +0 -5
  202. package/dist/src/generated/backend/BackendRateByRateIdResource.d.ts +0 -27
  203. package/dist/src/generated/backend/BackendRateByRateIdResource.js +0 -40
  204. package/dist/src/generated/backend/BackendRateResource.d.ts +0 -24
  205. package/dist/src/generated/backend/BackendRateResource.js +0 -32
  206. package/dist/src/generated/backend/BackendRoleByRoleIdResource.d.ts +0 -27
  207. package/dist/src/generated/backend/BackendRoleByRoleIdResource.js +0 -40
  208. package/dist/src/generated/backend/BackendRoleResource.d.ts +0 -24
  209. package/dist/src/generated/backend/BackendRoleResource.js +0 -32
  210. package/dist/src/generated/backend/BackendRoutesByRouteIdResource.d.ts +0 -27
  211. package/dist/src/generated/backend/BackendRoutesByRouteIdResource.js +0 -40
  212. package/dist/src/generated/backend/BackendRoutesResource.d.ts +0 -24
  213. package/dist/src/generated/backend/BackendRoutesResource.js +0 -32
  214. package/dist/src/generated/backend/BackendSchemaBySchemaIdResource.d.ts +0 -27
  215. package/dist/src/generated/backend/BackendSchemaBySchemaIdResource.js +0 -40
  216. package/dist/src/generated/backend/BackendSchemaFormBySchemaIdResource.d.ts +0 -18
  217. package/dist/src/generated/backend/BackendSchemaFormBySchemaIdResource.js +0 -22
  218. package/dist/src/generated/backend/BackendSchemaPreviewBySchemaIdResource.d.ts +0 -16
  219. package/dist/src/generated/backend/BackendSchemaPreviewBySchemaIdResource.js +0 -21
  220. package/dist/src/generated/backend/BackendSchemaResource.d.ts +0 -24
  221. package/dist/src/generated/backend/BackendSchemaResource.js +0 -32
  222. package/dist/src/generated/backend/BackendScopeByScopeIdResource.d.ts +0 -27
  223. package/dist/src/generated/backend/BackendScopeByScopeIdResource.js +0 -40
  224. package/dist/src/generated/backend/BackendScopeCategoriesResource.d.ts +0 -15
  225. package/dist/src/generated/backend/BackendScopeCategoriesResource.js +0 -20
  226. package/dist/src/generated/backend/BackendScopeResource.d.ts +0 -24
  227. package/dist/src/generated/backend/BackendScopeResource.js +0 -32
  228. package/dist/src/generated/backend/BackendSdkResource.d.ts +0 -22
  229. package/dist/src/generated/backend/BackendSdkResource.js +0 -30
  230. package/dist/src/generated/backend/BackendStatisticCountRequestsResource.d.ts +0 -17
  231. package/dist/src/generated/backend/BackendStatisticCountRequestsResource.js +0 -22
  232. package/dist/src/generated/backend/BackendStatisticErrorsPerRouteResource.d.ts +0 -17
  233. package/dist/src/generated/backend/BackendStatisticErrorsPerRouteResource.js +0 -22
  234. package/dist/src/generated/backend/BackendStatisticIncomingRequestsResource.d.ts +0 -17
  235. package/dist/src/generated/backend/BackendStatisticIncomingRequestsResource.js +0 -22
  236. package/dist/src/generated/backend/BackendStatisticIncomingTransactionsResource.d.ts +0 -17
  237. package/dist/src/generated/backend/BackendStatisticIncomingTransactionsResource.js +0 -22
  238. package/dist/src/generated/backend/BackendStatisticIssuedTokensResource.d.ts +0 -17
  239. package/dist/src/generated/backend/BackendStatisticIssuedTokensResource.js +0 -22
  240. package/dist/src/generated/backend/BackendStatisticMostUsedAppsResource.d.ts +0 -17
  241. package/dist/src/generated/backend/BackendStatisticMostUsedAppsResource.js +0 -22
  242. package/dist/src/generated/backend/BackendStatisticMostUsedRoutesResource.d.ts +0 -17
  243. package/dist/src/generated/backend/BackendStatisticMostUsedRoutesResource.js +0 -22
  244. package/dist/src/generated/backend/BackendStatisticTimeAverageResource.d.ts +0 -17
  245. package/dist/src/generated/backend/BackendStatisticTimeAverageResource.js +0 -22
  246. package/dist/src/generated/backend/BackendStatisticTimePerRouteResource.d.ts +0 -17
  247. package/dist/src/generated/backend/BackendStatisticTimePerRouteResource.js +0 -22
  248. package/dist/src/generated/backend/BackendStatisticUsedPointsResource.d.ts +0 -17
  249. package/dist/src/generated/backend/BackendStatisticUsedPointsResource.js +0 -22
  250. package/dist/src/generated/backend/BackendTransactionByTransactionIdResource.d.ts +0 -16
  251. package/dist/src/generated/backend/BackendTransactionByTransactionIdResource.js +0 -21
  252. package/dist/src/generated/backend/BackendTransactionCollectionQuery.d.ts +0 -6
  253. package/dist/src/generated/backend/BackendTransactionCollectionQuery.js +0 -5
  254. package/dist/src/generated/backend/BackendTransactionResource.d.ts +0 -17
  255. package/dist/src/generated/backend/BackendTransactionResource.js +0 -22
  256. package/dist/src/generated/backend/BackendTrashByTypeResource.d.ts +0 -25
  257. package/dist/src/generated/backend/BackendTrashByTypeResource.js +0 -33
  258. package/dist/src/generated/backend/BackendTrashResource.d.ts +0 -15
  259. package/dist/src/generated/backend/BackendTrashResource.js +0 -20
  260. package/dist/src/generated/backend/BackendUserByUserIdResource.d.ts +0 -27
  261. package/dist/src/generated/backend/BackendUserByUserIdResource.js +0 -40
  262. package/dist/src/generated/backend/BackendUserResource.d.ts +0 -24
  263. package/dist/src/generated/backend/BackendUserResource.js +0 -32
  264. package/dist/src/generated/backend/CollectionCategoryQuery.d.ts +0 -8
  265. package/dist/src/generated/backend/CollectionCategoryQuery.js +0 -5
  266. package/dist/src/generated/backend/CollectionQuery.d.ts +0 -9
  267. package/dist/src/generated/backend/FormQuery.d.ts +0 -7
  268. package/dist/src/generated/backend/LogCollectionQuery.d.ts +0 -19
  269. package/dist/src/generated/backend/LogCollectionQuery.js +0 -5
  270. package/dist/src/generated/backend/PlanUsageCollectionQuery.d.ts +0 -13
  271. package/dist/src/generated/backend/PlanUsageCollectionQuery.js +0 -5
  272. package/dist/src/generated/backend/Route.d.ts +0 -16
  273. package/dist/src/generated/backend/Route.js +0 -5
  274. package/dist/src/generated/backend/RouteCollection.d.ts +0 -7
  275. package/dist/src/generated/backend/RouteCreate.d.ts +0 -7
  276. package/dist/src/generated/backend/RouteCreate.js +0 -5
  277. package/dist/src/generated/backend/RouteMethod.d.ts +0 -20
  278. package/dist/src/generated/backend/RouteMethod.js +0 -5
  279. package/dist/src/generated/backend/RouteMethodResponses.d.ts +0 -5
  280. package/dist/src/generated/backend/RouteMethodResponses.js +0 -5
  281. package/dist/src/generated/backend/RouteMethods.d.ts +0 -6
  282. package/dist/src/generated/backend/RouteMethods.js +0 -5
  283. package/dist/src/generated/backend/RouteUpdate.d.ts +0 -7
  284. package/dist/src/generated/backend/RouteUpdate.js +0 -5
  285. package/dist/src/generated/backend/RouteVersion.d.ts +0 -10
  286. package/dist/src/generated/backend/RouteVersion.js +0 -5
  287. package/dist/src/generated/backend/ScopeRoute.d.ts +0 -9
  288. package/dist/src/generated/backend/ScopeRoute.js +0 -5
  289. package/dist/src/generated/backend/TransactionCollectionQuery.d.ts +0 -15
  290. package/dist/src/generated/backend/TransactionCollectionQuery.js +0 -5
  291. package/dist/src/generated/consumer/CollectionQuery.d.ts +0 -9
  292. package/dist/src/generated/consumer/ConsumerAccountChangePasswordResource.d.ts +0 -17
  293. package/dist/src/generated/consumer/ConsumerAccountChangePasswordResource.js +0 -21
  294. package/dist/src/generated/consumer/ConsumerAccountResource.d.ts +0 -21
  295. package/dist/src/generated/consumer/ConsumerAccountResource.js +0 -30
  296. package/dist/src/generated/consumer/ConsumerActivateResource.d.ts +0 -17
  297. package/dist/src/generated/consumer/ConsumerActivateResource.js +0 -21
  298. package/dist/src/generated/consumer/ConsumerAppByAppIdResource.d.ts +0 -27
  299. package/dist/src/generated/consumer/ConsumerAppByAppIdResource.js +0 -40
  300. package/dist/src/generated/consumer/ConsumerAppResource.d.ts +0 -24
  301. package/dist/src/generated/consumer/ConsumerAppResource.js +0 -32
  302. package/dist/src/generated/consumer/ConsumerAuthorizeResource.d.ts +0 -22
  303. package/dist/src/generated/consumer/ConsumerAuthorizeResource.js +0 -30
  304. package/dist/src/generated/consumer/ConsumerEventResource.d.ts +0 -17
  305. package/dist/src/generated/consumer/ConsumerEventResource.js +0 -22
  306. package/dist/src/generated/consumer/ConsumerGrantByGrantIdResource.d.ts +0 -15
  307. package/dist/src/generated/consumer/ConsumerGrantByGrantIdResource.js +0 -21
  308. package/dist/src/generated/consumer/ConsumerGrantResource.d.ts +0 -17
  309. package/dist/src/generated/consumer/ConsumerGrantResource.js +0 -22
  310. package/dist/src/generated/consumer/ConsumerLogByLogIdResource.d.ts +0 -18
  311. package/dist/src/generated/consumer/ConsumerLogByLogIdResource.js +0 -23
  312. package/dist/src/generated/consumer/ConsumerLogResource.d.ts +0 -17
  313. package/dist/src/generated/consumer/ConsumerLogResource.js +0 -22
  314. package/dist/src/generated/consumer/ConsumerLoginResource.d.ts +0 -23
  315. package/dist/src/generated/consumer/ConsumerLoginResource.js +0 -31
  316. package/dist/src/generated/consumer/ConsumerPageByPageIdResource.d.ts +0 -16
  317. package/dist/src/generated/consumer/ConsumerPageByPageIdResource.js +0 -21
  318. package/dist/src/generated/consumer/ConsumerPageResource.d.ts +0 -17
  319. package/dist/src/generated/consumer/ConsumerPageResource.js +0 -22
  320. package/dist/src/generated/consumer/ConsumerPasswordResetResource.d.ts +0 -23
  321. package/dist/src/generated/consumer/ConsumerPasswordResetResource.js +0 -31
  322. package/dist/src/generated/consumer/ConsumerPaymentByProviderCheckoutResource.d.ts +0 -18
  323. package/dist/src/generated/consumer/ConsumerPaymentByProviderCheckoutResource.js +0 -22
  324. package/dist/src/generated/consumer/ConsumerPaymentByProviderPortalResource.d.ts +0 -18
  325. package/dist/src/generated/consumer/ConsumerPaymentByProviderPortalResource.js +0 -22
  326. package/dist/src/generated/consumer/ConsumerPlanByPlanIdResource.d.ts +0 -16
  327. package/dist/src/generated/consumer/ConsumerPlanByPlanIdResource.js +0 -21
  328. package/dist/src/generated/consumer/ConsumerPlanResource.d.ts +0 -17
  329. package/dist/src/generated/consumer/ConsumerPlanResource.js +0 -22
  330. package/dist/src/generated/consumer/ConsumerProviderByProviderResource.d.ts +0 -18
  331. package/dist/src/generated/consumer/ConsumerProviderByProviderResource.js +0 -22
  332. package/dist/src/generated/consumer/ConsumerRegisterResource.d.ts +0 -17
  333. package/dist/src/generated/consumer/ConsumerRegisterResource.js +0 -21
  334. package/dist/src/generated/consumer/ConsumerScopeResource.d.ts +0 -17
  335. package/dist/src/generated/consumer/ConsumerScopeResource.js +0 -22
  336. package/dist/src/generated/consumer/ConsumerSubscriptionBySubscriptionIdResource.d.ts +0 -27
  337. package/dist/src/generated/consumer/ConsumerSubscriptionBySubscriptionIdResource.js +0 -40
  338. package/dist/src/generated/consumer/ConsumerSubscriptionResource.d.ts +0 -24
  339. package/dist/src/generated/consumer/ConsumerSubscriptionResource.js +0 -32
  340. package/dist/src/generated/consumer/ConsumerTransactionByTransactionIdResource.d.ts +0 -16
  341. package/dist/src/generated/consumer/ConsumerTransactionByTransactionIdResource.js +0 -21
  342. package/dist/src/generated/consumer/ConsumerTransactionResource.d.ts +0 -17
  343. package/dist/src/generated/consumer/ConsumerTransactionResource.js +0 -22
@@ -1,30 +0,0 @@
1
- /**
2
- * ConsumerAccountResource automatically generated by SDKgen please do not edit this file manually
3
- * {@link https://sdkgen.app}
4
- */
5
- import { ResourceAbstract } from "sdkgen-client";
6
- export default class ConsumerAccountResource extends ResourceAbstract {
7
- constructor(baseUrl, httpClient) {
8
- super(baseUrl, httpClient);
9
- this.url = baseUrl + "/consumer/account";
10
- }
11
- /**
12
- * @returns {Promise<AxiosResponse<UserAccount>>}
13
- */
14
- async consumerActionUserGet() {
15
- let params = {
16
- method: 'GET',
17
- };
18
- return this.httpClient.get(this.url, params);
19
- }
20
- /**
21
- * @param {UserAccount} data
22
- * @returns {Promise<AxiosResponse<Message>>}
23
- */
24
- async consumerActionUserUpdate(data) {
25
- let params = {
26
- method: 'PUT',
27
- };
28
- return this.httpClient.put(this.url, data, params);
29
- }
30
- }
@@ -1,17 +0,0 @@
1
- /**
2
- * ConsumerActivateResource automatically generated by SDKgen please do not edit this file manually
3
- * {@link https://sdkgen.app}
4
- */
5
- import { AxiosInstance, AxiosResponse } from "axios";
6
- import { ResourceAbstract } from "sdkgen-client";
7
- import { UserActivate } from "./UserActivate";
8
- import { Message } from "./Message";
9
- export default class ConsumerActivateResource extends ResourceAbstract {
10
- private url;
11
- constructor(baseUrl: string, httpClient: AxiosInstance);
12
- /**
13
- * @param {UserActivate} data
14
- * @returns {Promise<AxiosResponse<Message>>}
15
- */
16
- consumerActionUserActivate(data: UserActivate): Promise<AxiosResponse<Message>>;
17
- }
@@ -1,21 +0,0 @@
1
- /**
2
- * ConsumerActivateResource automatically generated by SDKgen please do not edit this file manually
3
- * {@link https://sdkgen.app}
4
- */
5
- import { ResourceAbstract } from "sdkgen-client";
6
- export default class ConsumerActivateResource extends ResourceAbstract {
7
- constructor(baseUrl, httpClient) {
8
- super(baseUrl, httpClient);
9
- this.url = baseUrl + "/consumer/activate";
10
- }
11
- /**
12
- * @param {UserActivate} data
13
- * @returns {Promise<AxiosResponse<Message>>}
14
- */
15
- async consumerActionUserActivate(data) {
16
- let params = {
17
- method: 'POST',
18
- };
19
- return this.httpClient.post(this.url, data, params);
20
- }
21
- }
@@ -1,27 +0,0 @@
1
- /**
2
- * ConsumerAppByAppIdResource automatically generated by SDKgen please do not edit this file manually
3
- * {@link https://sdkgen.app}
4
- */
5
- import { AxiosInstance, AxiosResponse } from "axios";
6
- import { ResourceAbstract } from "sdkgen-client";
7
- import { App } from "./App";
8
- import { AppUpdate } from "./AppUpdate";
9
- import { Message } from "./Message";
10
- export default class ConsumerAppByAppIdResource extends ResourceAbstract {
11
- private url;
12
- private appId;
13
- constructor(appId: string, baseUrl: string, httpClient: AxiosInstance);
14
- /**
15
- * @returns {Promise<AxiosResponse<App>>}
16
- */
17
- consumerActionAppGet(): Promise<AxiosResponse<App>>;
18
- /**
19
- * @param {AppUpdate} data
20
- * @returns {Promise<AxiosResponse<Message>>}
21
- */
22
- consumerActionAppUpdate(data: AppUpdate): Promise<AxiosResponse<Message>>;
23
- /**
24
- * @returns {Promise<AxiosResponse<Message>>}
25
- */
26
- consumerActionAppDelete(): Promise<AxiosResponse<Message>>;
27
- }
@@ -1,40 +0,0 @@
1
- /**
2
- * ConsumerAppByAppIdResource automatically generated by SDKgen please do not edit this file manually
3
- * {@link https://sdkgen.app}
4
- */
5
- import { ResourceAbstract } from "sdkgen-client";
6
- export default class ConsumerAppByAppIdResource extends ResourceAbstract {
7
- constructor(appId, baseUrl, httpClient) {
8
- super(baseUrl, httpClient);
9
- this.appId = appId;
10
- this.url = baseUrl + "/consumer/app/" + appId + "";
11
- }
12
- /**
13
- * @returns {Promise<AxiosResponse<App>>}
14
- */
15
- async consumerActionAppGet() {
16
- let params = {
17
- method: 'GET',
18
- };
19
- return this.httpClient.get(this.url, params);
20
- }
21
- /**
22
- * @param {AppUpdate} data
23
- * @returns {Promise<AxiosResponse<Message>>}
24
- */
25
- async consumerActionAppUpdate(data) {
26
- let params = {
27
- method: 'PUT',
28
- };
29
- return this.httpClient.put(this.url, data, params);
30
- }
31
- /**
32
- * @returns {Promise<AxiosResponse<Message>>}
33
- */
34
- async consumerActionAppDelete() {
35
- let params = {
36
- method: 'DELETE',
37
- };
38
- return this.httpClient.delete(this.url, params);
39
- }
40
- }
@@ -1,24 +0,0 @@
1
- /**
2
- * ConsumerAppResource automatically generated by SDKgen please do not edit this file manually
3
- * {@link https://sdkgen.app}
4
- */
5
- import { AxiosInstance, AxiosResponse } from "axios";
6
- import { ResourceAbstract } from "sdkgen-client";
7
- import { CollectionQuery } from "./CollectionQuery";
8
- import { AppCollection } from "./AppCollection";
9
- import { AppCreate } from "./AppCreate";
10
- import { Message } from "./Message";
11
- export default class ConsumerAppResource extends ResourceAbstract {
12
- private url;
13
- constructor(baseUrl: string, httpClient: AxiosInstance);
14
- /**
15
- * @param {CollectionQuery} query
16
- * @returns {Promise<AxiosResponse<AppCollection>>}
17
- */
18
- consumerActionAppGetAll(query?: CollectionQuery): Promise<AxiosResponse<AppCollection>>;
19
- /**
20
- * @param {AppCreate} data
21
- * @returns {Promise<AxiosResponse<Message>>}
22
- */
23
- consumerActionAppCreate(data: AppCreate): Promise<AxiosResponse<Message>>;
24
- }
@@ -1,32 +0,0 @@
1
- /**
2
- * ConsumerAppResource automatically generated by SDKgen please do not edit this file manually
3
- * {@link https://sdkgen.app}
4
- */
5
- import { ResourceAbstract } from "sdkgen-client";
6
- export default class ConsumerAppResource extends ResourceAbstract {
7
- constructor(baseUrl, httpClient) {
8
- super(baseUrl, httpClient);
9
- this.url = baseUrl + "/consumer/app";
10
- }
11
- /**
12
- * @param {CollectionQuery} query
13
- * @returns {Promise<AxiosResponse<AppCollection>>}
14
- */
15
- async consumerActionAppGetAll(query) {
16
- let params = {
17
- method: 'GET',
18
- params: query,
19
- };
20
- return this.httpClient.get(this.url, params);
21
- }
22
- /**
23
- * @param {AppCreate} data
24
- * @returns {Promise<AxiosResponse<Message>>}
25
- */
26
- async consumerActionAppCreate(data) {
27
- let params = {
28
- method: 'POST',
29
- };
30
- return this.httpClient.post(this.url, data, params);
31
- }
32
- }
@@ -1,22 +0,0 @@
1
- /**
2
- * ConsumerAuthorizeResource automatically generated by SDKgen please do not edit this file manually
3
- * {@link https://sdkgen.app}
4
- */
5
- import { AxiosInstance, AxiosResponse } from "axios";
6
- import { ResourceAbstract } from "sdkgen-client";
7
- import { AuthorizeMeta } from "./AuthorizeMeta";
8
- import { AuthorizeRequest } from "./AuthorizeRequest";
9
- import { AuthorizeResponse } from "./AuthorizeResponse";
10
- export default class ConsumerAuthorizeResource extends ResourceAbstract {
11
- private url;
12
- constructor(baseUrl: string, httpClient: AxiosInstance);
13
- /**
14
- * @returns {Promise<AxiosResponse<AuthorizeMeta>>}
15
- */
16
- consumerActionUserGetApp(): Promise<AxiosResponse<AuthorizeMeta>>;
17
- /**
18
- * @param {AuthorizeRequest} data
19
- * @returns {Promise<AxiosResponse<AuthorizeResponse>>}
20
- */
21
- consumerActionUserAuthorize(data: AuthorizeRequest): Promise<AxiosResponse<AuthorizeResponse>>;
22
- }
@@ -1,30 +0,0 @@
1
- /**
2
- * ConsumerAuthorizeResource automatically generated by SDKgen please do not edit this file manually
3
- * {@link https://sdkgen.app}
4
- */
5
- import { ResourceAbstract } from "sdkgen-client";
6
- export default class ConsumerAuthorizeResource extends ResourceAbstract {
7
- constructor(baseUrl, httpClient) {
8
- super(baseUrl, httpClient);
9
- this.url = baseUrl + "/consumer/authorize";
10
- }
11
- /**
12
- * @returns {Promise<AxiosResponse<AuthorizeMeta>>}
13
- */
14
- async consumerActionUserGetApp() {
15
- let params = {
16
- method: 'GET',
17
- };
18
- return this.httpClient.get(this.url, params);
19
- }
20
- /**
21
- * @param {AuthorizeRequest} data
22
- * @returns {Promise<AxiosResponse<AuthorizeResponse>>}
23
- */
24
- async consumerActionUserAuthorize(data) {
25
- let params = {
26
- method: 'POST',
27
- };
28
- return this.httpClient.post(this.url, data, params);
29
- }
30
- }
@@ -1,17 +0,0 @@
1
- /**
2
- * ConsumerEventResource automatically generated by SDKgen please do not edit this file manually
3
- * {@link https://sdkgen.app}
4
- */
5
- import { AxiosInstance, AxiosResponse } from "axios";
6
- import { ResourceAbstract } from "sdkgen-client";
7
- import { CollectionQuery } from "./CollectionQuery";
8
- import { EventCollection } from "./EventCollection";
9
- export default class ConsumerEventResource extends ResourceAbstract {
10
- private url;
11
- constructor(baseUrl: string, httpClient: AxiosInstance);
12
- /**
13
- * @param {CollectionQuery} query
14
- * @returns {Promise<AxiosResponse<EventCollection>>}
15
- */
16
- consumerActionEventGetAll(query?: CollectionQuery): Promise<AxiosResponse<EventCollection>>;
17
- }
@@ -1,22 +0,0 @@
1
- /**
2
- * ConsumerEventResource automatically generated by SDKgen please do not edit this file manually
3
- * {@link https://sdkgen.app}
4
- */
5
- import { ResourceAbstract } from "sdkgen-client";
6
- export default class ConsumerEventResource extends ResourceAbstract {
7
- constructor(baseUrl, httpClient) {
8
- super(baseUrl, httpClient);
9
- this.url = baseUrl + "/consumer/event";
10
- }
11
- /**
12
- * @param {CollectionQuery} query
13
- * @returns {Promise<AxiosResponse<EventCollection>>}
14
- */
15
- async consumerActionEventGetAll(query) {
16
- let params = {
17
- method: 'GET',
18
- params: query,
19
- };
20
- return this.httpClient.get(this.url, params);
21
- }
22
- }
@@ -1,15 +0,0 @@
1
- /**
2
- * ConsumerGrantByGrantIdResource automatically generated by SDKgen please do not edit this file manually
3
- * {@link https://sdkgen.app}
4
- */
5
- import { AxiosInstance, AxiosResponse } from "axios";
6
- import { ResourceAbstract } from "sdkgen-client";
7
- export default class ConsumerGrantByGrantIdResource extends ResourceAbstract {
8
- private url;
9
- private grantId;
10
- constructor(grantId: string, baseUrl: string, httpClient: AxiosInstance);
11
- /**
12
- * @returns {Promise<AxiosResponse<void>>}
13
- */
14
- consumerActionGrantDelete(): Promise<AxiosResponse<void>>;
15
- }
@@ -1,21 +0,0 @@
1
- /**
2
- * ConsumerGrantByGrantIdResource automatically generated by SDKgen please do not edit this file manually
3
- * {@link https://sdkgen.app}
4
- */
5
- import { ResourceAbstract } from "sdkgen-client";
6
- export default class ConsumerGrantByGrantIdResource extends ResourceAbstract {
7
- constructor(grantId, baseUrl, httpClient) {
8
- super(baseUrl, httpClient);
9
- this.grantId = grantId;
10
- this.url = baseUrl + "/consumer/grant/" + grantId + "";
11
- }
12
- /**
13
- * @returns {Promise<AxiosResponse<void>>}
14
- */
15
- async consumerActionGrantDelete() {
16
- let params = {
17
- method: 'DELETE',
18
- };
19
- return this.httpClient.delete(this.url, params);
20
- }
21
- }
@@ -1,17 +0,0 @@
1
- /**
2
- * ConsumerGrantResource automatically generated by SDKgen please do not edit this file manually
3
- * {@link https://sdkgen.app}
4
- */
5
- import { AxiosInstance, AxiosResponse } from "axios";
6
- import { ResourceAbstract } from "sdkgen-client";
7
- import { CollectionQuery } from "./CollectionQuery";
8
- import { GrantCollection } from "./GrantCollection";
9
- export default class ConsumerGrantResource extends ResourceAbstract {
10
- private url;
11
- constructor(baseUrl: string, httpClient: AxiosInstance);
12
- /**
13
- * @param {CollectionQuery} query
14
- * @returns {Promise<AxiosResponse<GrantCollection>>}
15
- */
16
- consumerActionGrantGetAll(query?: CollectionQuery): Promise<AxiosResponse<GrantCollection>>;
17
- }
@@ -1,22 +0,0 @@
1
- /**
2
- * ConsumerGrantResource automatically generated by SDKgen please do not edit this file manually
3
- * {@link https://sdkgen.app}
4
- */
5
- import { ResourceAbstract } from "sdkgen-client";
6
- export default class ConsumerGrantResource extends ResourceAbstract {
7
- constructor(baseUrl, httpClient) {
8
- super(baseUrl, httpClient);
9
- this.url = baseUrl + "/consumer/grant";
10
- }
11
- /**
12
- * @param {CollectionQuery} query
13
- * @returns {Promise<AxiosResponse<GrantCollection>>}
14
- */
15
- async consumerActionGrantGetAll(query) {
16
- let params = {
17
- method: 'GET',
18
- params: query,
19
- };
20
- return this.httpClient.get(this.url, params);
21
- }
22
- }
@@ -1,18 +0,0 @@
1
- /**
2
- * ConsumerLogByLogIdResource automatically generated by SDKgen please do not edit this file manually
3
- * {@link https://sdkgen.app}
4
- */
5
- import { AxiosInstance, AxiosResponse } from "axios";
6
- import { ResourceAbstract } from "sdkgen-client";
7
- import { CollectionQuery } from "./CollectionQuery";
8
- import { Log } from "./Log";
9
- export default class ConsumerLogByLogIdResource extends ResourceAbstract {
10
- private url;
11
- private logId;
12
- constructor(logId: string, baseUrl: string, httpClient: AxiosInstance);
13
- /**
14
- * @param {CollectionQuery} query
15
- * @returns {Promise<AxiosResponse<Log>>}
16
- */
17
- consumerActionLogGet(query?: CollectionQuery): Promise<AxiosResponse<Log>>;
18
- }
@@ -1,23 +0,0 @@
1
- /**
2
- * ConsumerLogByLogIdResource automatically generated by SDKgen please do not edit this file manually
3
- * {@link https://sdkgen.app}
4
- */
5
- import { ResourceAbstract } from "sdkgen-client";
6
- export default class ConsumerLogByLogIdResource extends ResourceAbstract {
7
- constructor(logId, baseUrl, httpClient) {
8
- super(baseUrl, httpClient);
9
- this.logId = logId;
10
- this.url = baseUrl + "/consumer/log/" + logId + "";
11
- }
12
- /**
13
- * @param {CollectionQuery} query
14
- * @returns {Promise<AxiosResponse<Log>>}
15
- */
16
- async consumerActionLogGet(query) {
17
- let params = {
18
- method: 'GET',
19
- params: query,
20
- };
21
- return this.httpClient.get(this.url, params);
22
- }
23
- }
@@ -1,17 +0,0 @@
1
- /**
2
- * ConsumerLogResource automatically generated by SDKgen please do not edit this file manually
3
- * {@link https://sdkgen.app}
4
- */
5
- import { AxiosInstance, AxiosResponse } from "axios";
6
- import { ResourceAbstract } from "sdkgen-client";
7
- import { CollectionQuery } from "./CollectionQuery";
8
- import { LogCollection } from "./LogCollection";
9
- export default class ConsumerLogResource extends ResourceAbstract {
10
- private url;
11
- constructor(baseUrl: string, httpClient: AxiosInstance);
12
- /**
13
- * @param {CollectionQuery} query
14
- * @returns {Promise<AxiosResponse<LogCollection>>}
15
- */
16
- consumerActionLogGetAll(query?: CollectionQuery): Promise<AxiosResponse<LogCollection>>;
17
- }
@@ -1,22 +0,0 @@
1
- /**
2
- * ConsumerLogResource automatically generated by SDKgen please do not edit this file manually
3
- * {@link https://sdkgen.app}
4
- */
5
- import { ResourceAbstract } from "sdkgen-client";
6
- export default class ConsumerLogResource extends ResourceAbstract {
7
- constructor(baseUrl, httpClient) {
8
- super(baseUrl, httpClient);
9
- this.url = baseUrl + "/consumer/log";
10
- }
11
- /**
12
- * @param {CollectionQuery} query
13
- * @returns {Promise<AxiosResponse<LogCollection>>}
14
- */
15
- async consumerActionLogGetAll(query) {
16
- let params = {
17
- method: 'GET',
18
- params: query,
19
- };
20
- return this.httpClient.get(this.url, params);
21
- }
22
- }
@@ -1,23 +0,0 @@
1
- /**
2
- * ConsumerLoginResource automatically generated by SDKgen please do not edit this file manually
3
- * {@link https://sdkgen.app}
4
- */
5
- import { AxiosInstance, AxiosResponse } from "axios";
6
- import { ResourceAbstract } from "sdkgen-client";
7
- import { UserLogin } from "./UserLogin";
8
- import { UserJWT } from "./UserJWT";
9
- import { UserRefresh } from "./UserRefresh";
10
- export default class ConsumerLoginResource extends ResourceAbstract {
11
- private url;
12
- constructor(baseUrl: string, httpClient: AxiosInstance);
13
- /**
14
- * @param {UserLogin} data
15
- * @returns {Promise<AxiosResponse<UserJWT>>}
16
- */
17
- consumerActionUserLogin(data: UserLogin): Promise<AxiosResponse<UserJWT>>;
18
- /**
19
- * @param {UserRefresh} data
20
- * @returns {Promise<AxiosResponse<UserJWT>>}
21
- */
22
- consumerActionUserRefresh(data: UserRefresh): Promise<AxiosResponse<UserJWT>>;
23
- }
@@ -1,31 +0,0 @@
1
- /**
2
- * ConsumerLoginResource automatically generated by SDKgen please do not edit this file manually
3
- * {@link https://sdkgen.app}
4
- */
5
- import { ResourceAbstract } from "sdkgen-client";
6
- export default class ConsumerLoginResource extends ResourceAbstract {
7
- constructor(baseUrl, httpClient) {
8
- super(baseUrl, httpClient);
9
- this.url = baseUrl + "/consumer/login";
10
- }
11
- /**
12
- * @param {UserLogin} data
13
- * @returns {Promise<AxiosResponse<UserJWT>>}
14
- */
15
- async consumerActionUserLogin(data) {
16
- let params = {
17
- method: 'POST',
18
- };
19
- return this.httpClient.post(this.url, data, params);
20
- }
21
- /**
22
- * @param {UserRefresh} data
23
- * @returns {Promise<AxiosResponse<UserJWT>>}
24
- */
25
- async consumerActionUserRefresh(data) {
26
- let params = {
27
- method: 'PUT',
28
- };
29
- return this.httpClient.put(this.url, data, params);
30
- }
31
- }
@@ -1,16 +0,0 @@
1
- /**
2
- * ConsumerPageByPageIdResource automatically generated by SDKgen please do not edit this file manually
3
- * {@link https://sdkgen.app}
4
- */
5
- import { AxiosInstance, AxiosResponse } from "axios";
6
- import { ResourceAbstract } from "sdkgen-client";
7
- import { Page } from "./Page";
8
- export default class ConsumerPageByPageIdResource extends ResourceAbstract {
9
- private url;
10
- private pageId;
11
- constructor(pageId: string, baseUrl: string, httpClient: AxiosInstance);
12
- /**
13
- * @returns {Promise<AxiosResponse<Page>>}
14
- */
15
- consumerActionPageGet(): Promise<AxiosResponse<Page>>;
16
- }
@@ -1,21 +0,0 @@
1
- /**
2
- * ConsumerPageByPageIdResource automatically generated by SDKgen please do not edit this file manually
3
- * {@link https://sdkgen.app}
4
- */
5
- import { ResourceAbstract } from "sdkgen-client";
6
- export default class ConsumerPageByPageIdResource extends ResourceAbstract {
7
- constructor(pageId, baseUrl, httpClient) {
8
- super(baseUrl, httpClient);
9
- this.pageId = pageId;
10
- this.url = baseUrl + "/consumer/page/" + pageId + "";
11
- }
12
- /**
13
- * @returns {Promise<AxiosResponse<Page>>}
14
- */
15
- async consumerActionPageGet() {
16
- let params = {
17
- method: 'GET',
18
- };
19
- return this.httpClient.get(this.url, params);
20
- }
21
- }
@@ -1,17 +0,0 @@
1
- /**
2
- * ConsumerPageResource automatically generated by SDKgen please do not edit this file manually
3
- * {@link https://sdkgen.app}
4
- */
5
- import { AxiosInstance, AxiosResponse } from "axios";
6
- import { ResourceAbstract } from "sdkgen-client";
7
- import { CollectionQuery } from "./CollectionQuery";
8
- import { PageCollection } from "./PageCollection";
9
- export default class ConsumerPageResource extends ResourceAbstract {
10
- private url;
11
- constructor(baseUrl: string, httpClient: AxiosInstance);
12
- /**
13
- * @param {CollectionQuery} query
14
- * @returns {Promise<AxiosResponse<PageCollection>>}
15
- */
16
- consumerActionPageGetAll(query?: CollectionQuery): Promise<AxiosResponse<PageCollection>>;
17
- }
@@ -1,22 +0,0 @@
1
- /**
2
- * ConsumerPageResource automatically generated by SDKgen please do not edit this file manually
3
- * {@link https://sdkgen.app}
4
- */
5
- import { ResourceAbstract } from "sdkgen-client";
6
- export default class ConsumerPageResource extends ResourceAbstract {
7
- constructor(baseUrl, httpClient) {
8
- super(baseUrl, httpClient);
9
- this.url = baseUrl + "/consumer/page";
10
- }
11
- /**
12
- * @param {CollectionQuery} query
13
- * @returns {Promise<AxiosResponse<PageCollection>>}
14
- */
15
- async consumerActionPageGetAll(query) {
16
- let params = {
17
- method: 'GET',
18
- params: query,
19
- };
20
- return this.httpClient.get(this.url, params);
21
- }
22
- }
@@ -1,23 +0,0 @@
1
- /**
2
- * ConsumerPasswordResetResource automatically generated by SDKgen please do not edit this file manually
3
- * {@link https://sdkgen.app}
4
- */
5
- import { AxiosInstance, AxiosResponse } from "axios";
6
- import { ResourceAbstract } from "sdkgen-client";
7
- import { UserEmail } from "./UserEmail";
8
- import { Message } from "./Message";
9
- import { UserPasswordReset } from "./UserPasswordReset";
10
- export default class ConsumerPasswordResetResource extends ResourceAbstract {
11
- private url;
12
- constructor(baseUrl: string, httpClient: AxiosInstance);
13
- /**
14
- * @param {UserEmail} data
15
- * @returns {Promise<AxiosResponse<Message>>}
16
- */
17
- consumerActionUserResetPasswordRequest(data: UserEmail): Promise<AxiosResponse<Message>>;
18
- /**
19
- * @param {UserPasswordReset} data
20
- * @returns {Promise<AxiosResponse<Message>>}
21
- */
22
- consumerActionUserResetPasswordExecute(data: UserPasswordReset): Promise<AxiosResponse<Message>>;
23
- }
@@ -1,31 +0,0 @@
1
- /**
2
- * ConsumerPasswordResetResource automatically generated by SDKgen please do not edit this file manually
3
- * {@link https://sdkgen.app}
4
- */
5
- import { ResourceAbstract } from "sdkgen-client";
6
- export default class ConsumerPasswordResetResource extends ResourceAbstract {
7
- constructor(baseUrl, httpClient) {
8
- super(baseUrl, httpClient);
9
- this.url = baseUrl + "/consumer/password_reset";
10
- }
11
- /**
12
- * @param {UserEmail} data
13
- * @returns {Promise<AxiosResponse<Message>>}
14
- */
15
- async consumerActionUserResetPasswordRequest(data) {
16
- let params = {
17
- method: 'POST',
18
- };
19
- return this.httpClient.post(this.url, data, params);
20
- }
21
- /**
22
- * @param {UserPasswordReset} data
23
- * @returns {Promise<AxiosResponse<Message>>}
24
- */
25
- async consumerActionUserResetPasswordExecute(data) {
26
- let params = {
27
- method: 'PUT',
28
- };
29
- return this.httpClient.put(this.url, data, params);
30
- }
31
- }