fusio-sdk 2.1.0 → 2.1.1

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 (508) hide show
  1. package/package.json +2 -1
  2. package/.github/FUNDING.yml +0 -4
  3. package/.github/workflows/build.yml +0 -11
  4. package/.github/workflows/npm.yml +0 -18
  5. package/examples/change_password.ts +0 -24
  6. package/examples/create_action.ts +0 -29
  7. package/examples/get_routes.ts +0 -19
  8. package/index.ts +0 -3
  9. package/src/Client.ts +0 -39
  10. package/src/Util.ts +0 -10
  11. package/src/generated/backend/Account_ChangePassword.ts +0 -10
  12. package/src/generated/backend/Action.ts +0 -15
  13. package/src/generated/backend/Action_Collection.ts +0 -8
  14. package/src/generated/backend/Action_Config.ts +0 -6
  15. package/src/generated/backend/Action_Create.ts +0 -8
  16. package/src/generated/backend/Action_Execute_Request.ts +0 -13
  17. package/src/generated/backend/Action_Execute_Request_Body.ts +0 -6
  18. package/src/generated/backend/Action_Execute_Response.ts +0 -12
  19. package/src/generated/backend/Action_Execute_Response_Body.ts +0 -6
  20. package/src/generated/backend/Action_Execute_Response_Headers.ts +0 -6
  21. package/src/generated/backend/Action_Index.ts +0 -9
  22. package/src/generated/backend/Action_Index_Entry.ts +0 -9
  23. package/src/generated/backend/Action_Update.ts +0 -8
  24. package/src/generated/backend/App.ts +0 -19
  25. package/src/generated/backend/App_Collection.ts +0 -8
  26. package/src/generated/backend/App_Create.ts +0 -8
  27. package/src/generated/backend/App_Token.ts +0 -14
  28. package/src/generated/backend/App_Token_Collection.ts +0 -8
  29. package/src/generated/backend/App_Token_Collection_Query.ts +0 -16
  30. package/src/generated/backend/App_Update.ts +0 -8
  31. package/src/generated/backend/Audit.ts +0 -18
  32. package/src/generated/backend/Audit_Collection.ts +0 -8
  33. package/src/generated/backend/Audit_Collection_Query.ts +0 -16
  34. package/src/generated/backend/Audit_Object.ts +0 -9
  35. package/src/generated/backend/BackendAccountChangePasswordResource.ts +0 -34
  36. package/src/generated/backend/BackendAccountGroup.ts +0 -33
  37. package/src/generated/backend/BackendAccountResource.ts +0 -46
  38. package/src/generated/backend/BackendActionAction_idPath.ts +0 -8
  39. package/src/generated/backend/BackendActionByActionIdResource.ts +0 -59
  40. package/src/generated/backend/BackendActionExecuteAction_idPath.ts +0 -8
  41. package/src/generated/backend/BackendActionExecuteByActionIdResource.ts +0 -36
  42. package/src/generated/backend/BackendActionFormResource.ts +0 -35
  43. package/src/generated/backend/BackendActionGroup.ts +0 -71
  44. package/src/generated/backend/BackendActionListResource.ts +0 -32
  45. package/src/generated/backend/BackendActionResource.ts +0 -49
  46. package/src/generated/backend/BackendAppApp_idPath.ts +0 -8
  47. package/src/generated/backend/BackendAppApp_idTokenToken_idPath.ts +0 -9
  48. package/src/generated/backend/BackendAppByAppIdResource.ts +0 -59
  49. package/src/generated/backend/BackendAppByAppIdTokenAndTokenIdResource.ts +0 -36
  50. package/src/generated/backend/BackendAppGroup.ts +0 -73
  51. package/src/generated/backend/BackendAppResource.ts +0 -49
  52. package/src/generated/backend/BackendAppTokenByTokenIdResource.ts +0 -34
  53. package/src/generated/backend/BackendAppTokenResource.ts +0 -35
  54. package/src/generated/backend/BackendAppTokenToken_idPath.ts +0 -8
  55. package/src/generated/backend/BackendAuditAudit_idPath.ts +0 -8
  56. package/src/generated/backend/BackendAuditByAuditIdResource.ts +0 -34
  57. package/src/generated/backend/BackendAuditGroup.ts +0 -34
  58. package/src/generated/backend/BackendAuditResource.ts +0 -35
  59. package/src/generated/backend/BackendCategoryByCategoryIdResource.ts +0 -59
  60. package/src/generated/backend/BackendCategoryCategory_idPath.ts +0 -8
  61. package/src/generated/backend/BackendCategoryGroup.ts +0 -34
  62. package/src/generated/backend/BackendCategoryResource.ts +0 -49
  63. package/src/generated/backend/BackendConfigByConfigIdResource.ts +0 -48
  64. package/src/generated/backend/BackendConfigConfig_idPath.ts +0 -8
  65. package/src/generated/backend/BackendConfigGroup.ts +0 -34
  66. package/src/generated/backend/BackendConfigResource.ts +0 -35
  67. package/src/generated/backend/BackendConnectionByConnectionIdRedirectResource.ts +0 -34
  68. package/src/generated/backend/BackendConnectionByConnectionIdResource.ts +0 -59
  69. package/src/generated/backend/BackendConnectionConnection_idPath.ts +0 -8
  70. package/src/generated/backend/BackendConnectionConnection_idRedirectPath.ts +0 -8
  71. package/src/generated/backend/BackendConnectionFormResource.ts +0 -35
  72. package/src/generated/backend/BackendConnectionGroup.ts +0 -71
  73. package/src/generated/backend/BackendConnectionListResource.ts +0 -32
  74. package/src/generated/backend/BackendConnectionResource.ts +0 -49
  75. package/src/generated/backend/BackendCronjobByCronjobIdResource.ts +0 -59
  76. package/src/generated/backend/BackendCronjobCronjob_idPath.ts +0 -8
  77. package/src/generated/backend/BackendCronjobGroup.ts +0 -34
  78. package/src/generated/backend/BackendCronjobResource.ts +0 -49
  79. package/src/generated/backend/BackendDashboardGroup.ts +0 -21
  80. package/src/generated/backend/BackendDashboardResource.ts +0 -32
  81. package/src/generated/backend/BackendEventByEventIdResource.ts +0 -59
  82. package/src/generated/backend/BackendEventEvent_idPath.ts +0 -8
  83. package/src/generated/backend/BackendEventGroup.ts +0 -59
  84. package/src/generated/backend/BackendEventResource.ts +0 -49
  85. package/src/generated/backend/BackendEventSubscriptionBySubscriptionIdResource.ts +0 -59
  86. package/src/generated/backend/BackendEventSubscriptionResource.ts +0 -49
  87. package/src/generated/backend/BackendEventSubscriptionSubscription_idPath.ts +0 -8
  88. package/src/generated/backend/BackendLogByLogIdResource.ts +0 -34
  89. package/src/generated/backend/BackendLogErrorByErrorIdResource.ts +0 -34
  90. package/src/generated/backend/BackendLogErrorError_idPath.ts +0 -8
  91. package/src/generated/backend/BackendLogErrorResource.ts +0 -35
  92. package/src/generated/backend/BackendLogGroup.ts +0 -59
  93. package/src/generated/backend/BackendLogLog_idPath.ts +0 -8
  94. package/src/generated/backend/BackendLogResource.ts +0 -35
  95. package/src/generated/backend/BackendMarketplaceApp_namePath.ts +0 -8
  96. package/src/generated/backend/BackendMarketplaceByAppNameResource.ts +0 -57
  97. package/src/generated/backend/BackendMarketplaceGroup.ts +0 -34
  98. package/src/generated/backend/BackendMarketplaceResource.ts +0 -45
  99. package/src/generated/backend/BackendPageByPageIdResource.ts +0 -59
  100. package/src/generated/backend/BackendPageGroup.ts +0 -34
  101. package/src/generated/backend/BackendPagePage_idPath.ts +0 -8
  102. package/src/generated/backend/BackendPageResource.ts +0 -49
  103. package/src/generated/backend/BackendPlanByPlanIdResource.ts +0 -59
  104. package/src/generated/backend/BackendPlanGroup.ts +0 -34
  105. package/src/generated/backend/BackendPlanPlan_idPath.ts +0 -8
  106. package/src/generated/backend/BackendPlanResource.ts +0 -49
  107. package/src/generated/backend/BackendRateByRateIdResource.ts +0 -59
  108. package/src/generated/backend/BackendRateGroup.ts +0 -34
  109. package/src/generated/backend/BackendRateRate_idPath.ts +0 -8
  110. package/src/generated/backend/BackendRateResource.ts +0 -49
  111. package/src/generated/backend/BackendRoleByRoleIdResource.ts +0 -59
  112. package/src/generated/backend/BackendRoleGroup.ts +0 -34
  113. package/src/generated/backend/BackendRoleResource.ts +0 -49
  114. package/src/generated/backend/BackendRoleRole_idPath.ts +0 -8
  115. package/src/generated/backend/BackendRouteGroup.ts +0 -59
  116. package/src/generated/backend/BackendRoutesByRouteIdResource.ts +0 -59
  117. package/src/generated/backend/BackendRoutesProviderByProviderResource.ts +0 -62
  118. package/src/generated/backend/BackendRoutesProviderProviderPath.ts +0 -8
  119. package/src/generated/backend/BackendRoutesProviderResource.ts +0 -32
  120. package/src/generated/backend/BackendRoutesResource.ts +0 -49
  121. package/src/generated/backend/BackendRoutesRoute_idPath.ts +0 -8
  122. package/src/generated/backend/BackendSchemaBySchemaIdResource.ts +0 -59
  123. package/src/generated/backend/BackendSchemaFormBySchemaIdResource.ts +0 -36
  124. package/src/generated/backend/BackendSchemaFormSchema_idPath.ts +0 -8
  125. package/src/generated/backend/BackendSchemaGroup.ts +0 -60
  126. package/src/generated/backend/BackendSchemaPreviewBySchemaIdResource.ts +0 -34
  127. package/src/generated/backend/BackendSchemaPreviewSchema_idPath.ts +0 -8
  128. package/src/generated/backend/BackendSchemaResource.ts +0 -49
  129. package/src/generated/backend/BackendSchemaSchema_idPath.ts +0 -8
  130. package/src/generated/backend/BackendScopeByScopeIdResource.ts +0 -59
  131. package/src/generated/backend/BackendScopeCategoriesResource.ts +0 -32
  132. package/src/generated/backend/BackendScopeGroup.ts +0 -46
  133. package/src/generated/backend/BackendScopeResource.ts +0 -49
  134. package/src/generated/backend/BackendScopeScope_idPath.ts +0 -8
  135. package/src/generated/backend/BackendSdkGroup.ts +0 -21
  136. package/src/generated/backend/BackendSdkResource.ts +0 -46
  137. package/src/generated/backend/BackendStatisticCountRequestsResource.ts +0 -35
  138. package/src/generated/backend/BackendStatisticErrorsPerRouteResource.ts +0 -35
  139. package/src/generated/backend/BackendStatisticGroup.ts +0 -129
  140. package/src/generated/backend/BackendStatisticIncomingRequestsResource.ts +0 -35
  141. package/src/generated/backend/BackendStatisticIncomingTransactionsResource.ts +0 -35
  142. package/src/generated/backend/BackendStatisticIssuedTokensResource.ts +0 -35
  143. package/src/generated/backend/BackendStatisticMostUsedAppsResource.ts +0 -35
  144. package/src/generated/backend/BackendStatisticMostUsedRoutesResource.ts +0 -35
  145. package/src/generated/backend/BackendStatisticTimeAverageResource.ts +0 -35
  146. package/src/generated/backend/BackendStatisticTimePerRouteResource.ts +0 -35
  147. package/src/generated/backend/BackendStatisticUsedPointsResource.ts +0 -35
  148. package/src/generated/backend/BackendTransactionByTransactionIdResource.ts +0 -34
  149. package/src/generated/backend/BackendTransactionGroup.ts +0 -34
  150. package/src/generated/backend/BackendTransactionResource.ts +0 -35
  151. package/src/generated/backend/BackendTransactionTransaction_idPath.ts +0 -8
  152. package/src/generated/backend/BackendTrashByTypeResource.ts +0 -49
  153. package/src/generated/backend/BackendTrashGroup.ts +0 -34
  154. package/src/generated/backend/BackendTrashResource.ts +0 -32
  155. package/src/generated/backend/BackendTrashTypePath.ts +0 -8
  156. package/src/generated/backend/BackendUserByUserIdResource.ts +0 -59
  157. package/src/generated/backend/BackendUserGroup.ts +0 -34
  158. package/src/generated/backend/BackendUserResource.ts +0 -49
  159. package/src/generated/backend/BackendUserUser_idPath.ts +0 -8
  160. package/src/generated/backend/Backend_Account_ChangePassword.ts +0 -7
  161. package/src/generated/backend/Backend_Action.ts +0 -7
  162. package/src/generated/backend/Backend_Action_Collection.ts +0 -7
  163. package/src/generated/backend/Backend_Action_Create.ts +0 -7
  164. package/src/generated/backend/Backend_Action_Execute_Request.ts +0 -7
  165. package/src/generated/backend/Backend_Action_Execute_Response.ts +0 -7
  166. package/src/generated/backend/Backend_Action_Index.ts +0 -7
  167. package/src/generated/backend/Backend_Action_Update.ts +0 -7
  168. package/src/generated/backend/Backend_App.ts +0 -7
  169. package/src/generated/backend/Backend_App_Collection.ts +0 -7
  170. package/src/generated/backend/Backend_App_Create.ts +0 -7
  171. package/src/generated/backend/Backend_App_Token.ts +0 -7
  172. package/src/generated/backend/Backend_App_Token_Collection.ts +0 -7
  173. package/src/generated/backend/Backend_App_Token_Collection_Query.ts +0 -7
  174. package/src/generated/backend/Backend_App_Update.ts +0 -7
  175. package/src/generated/backend/Backend_Audit.ts +0 -7
  176. package/src/generated/backend/Backend_Audit_Collection.ts +0 -7
  177. package/src/generated/backend/Backend_Audit_Collection_Query.ts +0 -7
  178. package/src/generated/backend/Backend_Category.ts +0 -7
  179. package/src/generated/backend/Backend_Category_Collection.ts +0 -7
  180. package/src/generated/backend/Backend_Category_Create.ts +0 -7
  181. package/src/generated/backend/Backend_Category_Update.ts +0 -7
  182. package/src/generated/backend/Backend_Config.ts +0 -7
  183. package/src/generated/backend/Backend_Config_Collection.ts +0 -7
  184. package/src/generated/backend/Backend_Config_Update.ts +0 -7
  185. package/src/generated/backend/Backend_Connection.ts +0 -7
  186. package/src/generated/backend/Backend_Connection_Collection.ts +0 -7
  187. package/src/generated/backend/Backend_Connection_Create.ts +0 -7
  188. package/src/generated/backend/Backend_Connection_Index.ts +0 -7
  189. package/src/generated/backend/Backend_Connection_Update.ts +0 -7
  190. package/src/generated/backend/Backend_Cronjob.ts +0 -7
  191. package/src/generated/backend/Backend_Cronjob_Collection.ts +0 -7
  192. package/src/generated/backend/Backend_Cronjob_Create.ts +0 -7
  193. package/src/generated/backend/Backend_Cronjob_Update.ts +0 -7
  194. package/src/generated/backend/Backend_Dashboard.ts +0 -7
  195. package/src/generated/backend/Backend_Event.ts +0 -7
  196. package/src/generated/backend/Backend_Event_Collection.ts +0 -7
  197. package/src/generated/backend/Backend_Event_Create.ts +0 -7
  198. package/src/generated/backend/Backend_Event_Subscription.ts +0 -7
  199. package/src/generated/backend/Backend_Event_Subscription_Collection.ts +0 -7
  200. package/src/generated/backend/Backend_Event_Subscription_Create.ts +0 -7
  201. package/src/generated/backend/Backend_Event_Subscription_Update.ts +0 -7
  202. package/src/generated/backend/Backend_Event_Update.ts +0 -7
  203. package/src/generated/backend/Backend_Log.ts +0 -7
  204. package/src/generated/backend/Backend_Log_Collection.ts +0 -7
  205. package/src/generated/backend/Backend_Log_Collection_Query.ts +0 -7
  206. package/src/generated/backend/Backend_Log_Error.ts +0 -7
  207. package/src/generated/backend/Backend_Log_Error_Collection.ts +0 -7
  208. package/src/generated/backend/Backend_Marketplace_Collection.ts +0 -7
  209. package/src/generated/backend/Backend_Marketplace_Install.ts +0 -7
  210. package/src/generated/backend/Backend_Marketplace_Local_App.ts +0 -7
  211. package/src/generated/backend/Backend_Page.ts +0 -7
  212. package/src/generated/backend/Backend_Page_Collection.ts +0 -7
  213. package/src/generated/backend/Backend_Page_Create.ts +0 -7
  214. package/src/generated/backend/Backend_Page_Update.ts +0 -7
  215. package/src/generated/backend/Backend_Plan.ts +0 -7
  216. package/src/generated/backend/Backend_Plan_Collection.ts +0 -7
  217. package/src/generated/backend/Backend_Plan_Create.ts +0 -7
  218. package/src/generated/backend/Backend_Plan_Update.ts +0 -7
  219. package/src/generated/backend/Backend_Plan_Usage_Collection_Query.ts +0 -7
  220. package/src/generated/backend/Backend_Rate.ts +0 -7
  221. package/src/generated/backend/Backend_Rate_Collection.ts +0 -7
  222. package/src/generated/backend/Backend_Rate_Create.ts +0 -7
  223. package/src/generated/backend/Backend_Rate_Update.ts +0 -7
  224. package/src/generated/backend/Backend_Role.ts +0 -7
  225. package/src/generated/backend/Backend_Role_Collection.ts +0 -7
  226. package/src/generated/backend/Backend_Role_Create.ts +0 -7
  227. package/src/generated/backend/Backend_Role_Update.ts +0 -7
  228. package/src/generated/backend/Backend_Route.ts +0 -7
  229. package/src/generated/backend/Backend_Route_Collection.ts +0 -7
  230. package/src/generated/backend/Backend_Route_Create.ts +0 -7
  231. package/src/generated/backend/Backend_Route_Index_Providers.ts +0 -7
  232. package/src/generated/backend/Backend_Route_Provider.ts +0 -7
  233. package/src/generated/backend/Backend_Route_Provider_Changelog.ts +0 -7
  234. package/src/generated/backend/Backend_Route_Provider_Config.ts +0 -7
  235. package/src/generated/backend/Backend_Route_Update.ts +0 -7
  236. package/src/generated/backend/Backend_Schema.ts +0 -7
  237. package/src/generated/backend/Backend_Schema_Collection.ts +0 -7
  238. package/src/generated/backend/Backend_Schema_Create.ts +0 -7
  239. package/src/generated/backend/Backend_Schema_Form.ts +0 -7
  240. package/src/generated/backend/Backend_Schema_Preview_Response.ts +0 -7
  241. package/src/generated/backend/Backend_Schema_Update.ts +0 -7
  242. package/src/generated/backend/Backend_Scope.ts +0 -7
  243. package/src/generated/backend/Backend_Scope_Categories.ts +0 -7
  244. package/src/generated/backend/Backend_Scope_Collection.ts +0 -7
  245. package/src/generated/backend/Backend_Scope_Create.ts +0 -7
  246. package/src/generated/backend/Backend_Scope_Update.ts +0 -7
  247. package/src/generated/backend/Backend_Sdk_Generate.ts +0 -7
  248. package/src/generated/backend/Backend_Sdk_Response.ts +0 -7
  249. package/src/generated/backend/Backend_Statistic_Count.ts +0 -7
  250. package/src/generated/backend/Backend_Transaction.ts +0 -7
  251. package/src/generated/backend/Backend_Transaction_Collection.ts +0 -7
  252. package/src/generated/backend/Backend_Transaction_Collection_Query.ts +0 -7
  253. package/src/generated/backend/Backend_Trash_Data_Collection.ts +0 -7
  254. package/src/generated/backend/Backend_Trash_Types.ts +0 -7
  255. package/src/generated/backend/Backend_User.ts +0 -7
  256. package/src/generated/backend/Backend_User_Collection.ts +0 -7
  257. package/src/generated/backend/Backend_User_Create.ts +0 -7
  258. package/src/generated/backend/Backend_User_Update.ts +0 -7
  259. package/src/generated/backend/Category.ts +0 -9
  260. package/src/generated/backend/Category_Collection.ts +0 -8
  261. package/src/generated/backend/Category_Create.ts +0 -8
  262. package/src/generated/backend/Category_Update.ts +0 -8
  263. package/src/generated/backend/Client.ts +0 -302
  264. package/src/generated/backend/Collection.ts +0 -10
  265. package/src/generated/backend/Collection_Category_Query.ts +0 -9
  266. package/src/generated/backend/Collection_Query.ts +0 -10
  267. package/src/generated/backend/Config.ts +0 -12
  268. package/src/generated/backend/Config_Collection.ts +0 -8
  269. package/src/generated/backend/Config_Update.ts +0 -8
  270. package/src/generated/backend/Connection.ts +0 -12
  271. package/src/generated/backend/Connection_Collection.ts +0 -8
  272. package/src/generated/backend/Connection_Config.ts +0 -6
  273. package/src/generated/backend/Connection_Create.ts +0 -8
  274. package/src/generated/backend/Connection_Index.ts +0 -9
  275. package/src/generated/backend/Connection_Index_Entry.ts +0 -9
  276. package/src/generated/backend/Connection_Update.ts +0 -8
  277. package/src/generated/backend/Cronjob.ts +0 -15
  278. package/src/generated/backend/Cronjob_Collection.ts +0 -8
  279. package/src/generated/backend/Cronjob_Create.ts +0 -8
  280. package/src/generated/backend/Cronjob_Error.ts +0 -11
  281. package/src/generated/backend/Cronjob_Update.ts +0 -8
  282. package/src/generated/backend/Dashboard.ts +0 -21
  283. package/src/generated/backend/Dashboard_App.ts +0 -9
  284. package/src/generated/backend/Dashboard_Apps.ts +0 -8
  285. package/src/generated/backend/Dashboard_Request.ts +0 -10
  286. package/src/generated/backend/Dashboard_Requests.ts +0 -8
  287. package/src/generated/backend/Dashboard_Transaction.ts +0 -12
  288. package/src/generated/backend/Dashboard_Transactions.ts +0 -8
  289. package/src/generated/backend/Dashboard_User.ts +0 -10
  290. package/src/generated/backend/Dashboard_Users.ts +0 -8
  291. package/src/generated/backend/Event.ts +0 -11
  292. package/src/generated/backend/Event_Collection.ts +0 -8
  293. package/src/generated/backend/Event_Create.ts +0 -8
  294. package/src/generated/backend/Event_Subscription.ts +0 -11
  295. package/src/generated/backend/Event_Subscription_Collection.ts +0 -8
  296. package/src/generated/backend/Event_Subscription_Create.ts +0 -8
  297. package/src/generated/backend/Event_Subscription_Update.ts +0 -8
  298. package/src/generated/backend/Event_Update.ts +0 -8
  299. package/src/generated/backend/Form_Container.ts +0 -12
  300. package/src/generated/backend/Form_Element.ts +0 -11
  301. package/src/generated/backend/Form_Element_Input.ts +0 -9
  302. package/src/generated/backend/Form_Element_Select.ts +0 -10
  303. package/src/generated/backend/Form_Element_Select_Option.ts +0 -9
  304. package/src/generated/backend/Form_Element_Tag.ts +0 -8
  305. package/src/generated/backend/Form_Element_TextArea.ts +0 -9
  306. package/src/generated/backend/Form_Query.ts +0 -8
  307. package/src/generated/backend/Log.ts +0 -17
  308. package/src/generated/backend/Log_Collection.ts +0 -8
  309. package/src/generated/backend/Log_Collection_Query.ts +0 -20
  310. package/src/generated/backend/Log_Error.ts +0 -12
  311. package/src/generated/backend/Log_Error_Collection.ts +0 -8
  312. package/src/generated/backend/Marketplace_App.ts +0 -13
  313. package/src/generated/backend/Marketplace_Collection.ts +0 -9
  314. package/src/generated/backend/Marketplace_Collection_Apps.ts +0 -7
  315. package/src/generated/backend/Marketplace_Install.ts +0 -8
  316. package/src/generated/backend/Marketplace_Local_App.ts +0 -9
  317. package/src/generated/backend/Marketplace_Remote_App.ts +0 -9
  318. package/src/generated/backend/Message.ts +0 -9
  319. package/src/generated/backend/Page.ts +0 -12
  320. package/src/generated/backend/Page_Collection.ts +0 -8
  321. package/src/generated/backend/Page_Create.ts +0 -8
  322. package/src/generated/backend/Page_Update.ts +0 -8
  323. package/src/generated/backend/Plan.ts +0 -15
  324. package/src/generated/backend/Plan_Collection.ts +0 -8
  325. package/src/generated/backend/Plan_Create.ts +0 -8
  326. package/src/generated/backend/Plan_Update.ts +0 -8
  327. package/src/generated/backend/Plan_Usage_Collection_Query.ts +0 -14
  328. package/src/generated/backend/Rate.ts +0 -14
  329. package/src/generated/backend/Rate_Allocation.ts +0 -13
  330. package/src/generated/backend/Rate_Collection.ts +0 -8
  331. package/src/generated/backend/Rate_Create.ts +0 -8
  332. package/src/generated/backend/Rate_Update.ts +0 -8
  333. package/src/generated/backend/Role.ts +0 -11
  334. package/src/generated/backend/Role_Collection.ts +0 -8
  335. package/src/generated/backend/Role_Create.ts +0 -8
  336. package/src/generated/backend/Role_Update.ts +0 -8
  337. package/src/generated/backend/Route.ts +0 -14
  338. package/src/generated/backend/Route_Collection.ts +0 -8
  339. package/src/generated/backend/Route_Create.ts +0 -8
  340. package/src/generated/backend/Route_Index_Providers.ts +0 -9
  341. package/src/generated/backend/Route_Method.ts +0 -21
  342. package/src/generated/backend/Route_Method_Responses.ts +0 -6
  343. package/src/generated/backend/Route_Methods.ts +0 -7
  344. package/src/generated/backend/Route_Provider.ts +0 -11
  345. package/src/generated/backend/Route_Provider_Changelog.ts +0 -13
  346. package/src/generated/backend/Route_Provider_Config.ts +0 -6
  347. package/src/generated/backend/Route_Update.ts +0 -8
  348. package/src/generated/backend/Route_Version.ts +0 -11
  349. package/src/generated/backend/Schema.ts +0 -14
  350. package/src/generated/backend/Schema_Collection.ts +0 -8
  351. package/src/generated/backend/Schema_Create.ts +0 -8
  352. package/src/generated/backend/Schema_Form.ts +0 -9
  353. package/src/generated/backend/Schema_Preview_Response.ts +0 -8
  354. package/src/generated/backend/Schema_Source.ts +0 -9
  355. package/src/generated/backend/Schema_Update.ts +0 -8
  356. package/src/generated/backend/Scope.ts +0 -12
  357. package/src/generated/backend/Scope_Categories.ts +0 -9
  358. package/src/generated/backend/Scope_Category.ts +0 -11
  359. package/src/generated/backend/Scope_Category_Scope.ts +0 -10
  360. package/src/generated/backend/Scope_Collection.ts +0 -8
  361. package/src/generated/backend/Scope_Create.ts +0 -8
  362. package/src/generated/backend/Scope_Route.ts +0 -10
  363. package/src/generated/backend/Scope_Update.ts +0 -8
  364. package/src/generated/backend/Sdk_Generate.ts +0 -9
  365. package/src/generated/backend/Sdk_Response.ts +0 -9
  366. package/src/generated/backend/Sdk_Types.ts +0 -6
  367. package/src/generated/backend/Statistic_Chart.ts +0 -11
  368. package/src/generated/backend/Statistic_Chart_Data.ts +0 -6
  369. package/src/generated/backend/Statistic_Count.ts +0 -10
  370. package/src/generated/backend/Transaction.ts +0 -13
  371. package/src/generated/backend/Transaction_Collection.ts +0 -8
  372. package/src/generated/backend/Transaction_Collection_Query.ts +0 -16
  373. package/src/generated/backend/Trash_Data.ts +0 -10
  374. package/src/generated/backend/Trash_Data_Collection.ts +0 -8
  375. package/src/generated/backend/Trash_Types.ts +0 -8
  376. package/src/generated/backend/User.ts +0 -20
  377. package/src/generated/backend/User_Attributes.ts +0 -6
  378. package/src/generated/backend/User_Collection.ts +0 -8
  379. package/src/generated/backend/User_Create.ts +0 -9
  380. package/src/generated/backend/User_Update.ts +0 -8
  381. package/src/generated/consumer/Account_ChangePassword.ts +0 -10
  382. package/src/generated/consumer/App.ts +0 -16
  383. package/src/generated/consumer/App_Collection.ts +0 -8
  384. package/src/generated/consumer/App_Create.ts +0 -10
  385. package/src/generated/consumer/App_Update.ts +0 -10
  386. package/src/generated/consumer/Authorize_Meta.ts +0 -11
  387. package/src/generated/consumer/Authorize_Request.ts +0 -13
  388. package/src/generated/consumer/Authorize_Response.ts +0 -12
  389. package/src/generated/consumer/Authorize_Response_Token.ts +0 -11
  390. package/src/generated/consumer/Backend_Account_ChangePassword.ts +0 -7
  391. package/src/generated/consumer/Client.ts +0 -146
  392. package/src/generated/consumer/Collection.ts +0 -10
  393. package/src/generated/consumer/Collection_Query.ts +0 -10
  394. package/src/generated/consumer/ConsumerAccountChangePasswordResource.ts +0 -34
  395. package/src/generated/consumer/ConsumerAccountResource.ts +0 -45
  396. package/src/generated/consumer/ConsumerActivateResource.ts +0 -34
  397. package/src/generated/consumer/ConsumerAppApp_idPath.ts +0 -8
  398. package/src/generated/consumer/ConsumerAppByAppIdResource.ts +0 -59
  399. package/src/generated/consumer/ConsumerAppGroup.ts +0 -34
  400. package/src/generated/consumer/ConsumerAppResource.ts +0 -49
  401. package/src/generated/consumer/ConsumerAuthorizeResource.ts +0 -46
  402. package/src/generated/consumer/ConsumerEventGroup.ts +0 -21
  403. package/src/generated/consumer/ConsumerEventResource.ts +0 -35
  404. package/src/generated/consumer/ConsumerGrantByGrantIdResource.ts +0 -33
  405. package/src/generated/consumer/ConsumerGrantGrant_idPath.ts +0 -8
  406. package/src/generated/consumer/ConsumerGrantGroup.ts +0 -34
  407. package/src/generated/consumer/ConsumerGrantResource.ts +0 -35
  408. package/src/generated/consumer/ConsumerLogByLogIdResource.ts +0 -37
  409. package/src/generated/consumer/ConsumerLogGroup.ts +0 -34
  410. package/src/generated/consumer/ConsumerLogLog_idPath.ts +0 -8
  411. package/src/generated/consumer/ConsumerLogResource.ts +0 -35
  412. package/src/generated/consumer/ConsumerLoginResource.ts +0 -47
  413. package/src/generated/consumer/ConsumerPageByPageIdResource.ts +0 -34
  414. package/src/generated/consumer/ConsumerPageGroup.ts +0 -34
  415. package/src/generated/consumer/ConsumerPagePage_idPath.ts +0 -8
  416. package/src/generated/consumer/ConsumerPageResource.ts +0 -35
  417. package/src/generated/consumer/ConsumerPasswordResetResource.ts +0 -47
  418. package/src/generated/consumer/ConsumerPaymentByProviderCheckoutResource.ts +0 -36
  419. package/src/generated/consumer/ConsumerPaymentByProviderPortalResource.ts +0 -34
  420. package/src/generated/consumer/ConsumerPaymentGroup.ts +0 -35
  421. package/src/generated/consumer/ConsumerPaymentProviderCheckoutPath.ts +0 -8
  422. package/src/generated/consumer/ConsumerPaymentProviderPortalPath.ts +0 -8
  423. package/src/generated/consumer/ConsumerPlanByPlanIdResource.ts +0 -34
  424. package/src/generated/consumer/ConsumerPlanGroup.ts +0 -34
  425. package/src/generated/consumer/ConsumerPlanPlan_idPath.ts +0 -8
  426. package/src/generated/consumer/ConsumerPlanResource.ts +0 -35
  427. package/src/generated/consumer/ConsumerProviderByProviderResource.ts +0 -36
  428. package/src/generated/consumer/ConsumerProviderProviderPath.ts +0 -8
  429. package/src/generated/consumer/ConsumerRegisterResource.ts +0 -34
  430. package/src/generated/consumer/ConsumerScopeGroup.ts +0 -21
  431. package/src/generated/consumer/ConsumerScopeResource.ts +0 -35
  432. package/src/generated/consumer/ConsumerSubscriptionBySubscriptionIdResource.ts +0 -59
  433. package/src/generated/consumer/ConsumerSubscriptionGroup.ts +0 -34
  434. package/src/generated/consumer/ConsumerSubscriptionResource.ts +0 -49
  435. package/src/generated/consumer/ConsumerSubscriptionSubscription_idPath.ts +0 -8
  436. package/src/generated/consumer/ConsumerTransactionByTransactionIdResource.ts +0 -34
  437. package/src/generated/consumer/ConsumerTransactionGroup.ts +0 -34
  438. package/src/generated/consumer/ConsumerTransactionResource.ts +0 -35
  439. package/src/generated/consumer/ConsumerTransactionTransaction_idPath.ts +0 -8
  440. package/src/generated/consumer/ConsumerUserGroup.ts +0 -106
  441. package/src/generated/consumer/Consumer_App.ts +0 -7
  442. package/src/generated/consumer/Consumer_App_Collection.ts +0 -7
  443. package/src/generated/consumer/Consumer_App_Create.ts +0 -7
  444. package/src/generated/consumer/Consumer_App_Update.ts +0 -7
  445. package/src/generated/consumer/Consumer_Authorize_Meta.ts +0 -7
  446. package/src/generated/consumer/Consumer_Authorize_Request.ts +0 -7
  447. package/src/generated/consumer/Consumer_Authorize_Response.ts +0 -7
  448. package/src/generated/consumer/Consumer_Event_Collection.ts +0 -7
  449. package/src/generated/consumer/Consumer_Event_Subscription.ts +0 -7
  450. package/src/generated/consumer/Consumer_Event_Subscription_Collection.ts +0 -7
  451. package/src/generated/consumer/Consumer_Event_Subscription_Create.ts +0 -7
  452. package/src/generated/consumer/Consumer_Event_Subscription_Update.ts +0 -7
  453. package/src/generated/consumer/Consumer_Grant_Collection.ts +0 -7
  454. package/src/generated/consumer/Consumer_Log.ts +0 -7
  455. package/src/generated/consumer/Consumer_Log_Collection.ts +0 -7
  456. package/src/generated/consumer/Consumer_Page.ts +0 -7
  457. package/src/generated/consumer/Consumer_Page_Collection.ts +0 -7
  458. package/src/generated/consumer/Consumer_Payment_Checkout_Request.ts +0 -7
  459. package/src/generated/consumer/Consumer_Payment_Checkout_Response.ts +0 -7
  460. package/src/generated/consumer/Consumer_Payment_Portal_Response.ts +0 -7
  461. package/src/generated/consumer/Consumer_Plan.ts +0 -7
  462. package/src/generated/consumer/Consumer_Plan_Collection.ts +0 -7
  463. package/src/generated/consumer/Consumer_Scope_Collection.ts +0 -7
  464. package/src/generated/consumer/Consumer_Transaction.ts +0 -7
  465. package/src/generated/consumer/Consumer_Transaction_Collection.ts +0 -7
  466. package/src/generated/consumer/Consumer_User_Account.ts +0 -7
  467. package/src/generated/consumer/Consumer_User_Activate.ts +0 -7
  468. package/src/generated/consumer/Consumer_User_Email.ts +0 -7
  469. package/src/generated/consumer/Consumer_User_JWT.ts +0 -7
  470. package/src/generated/consumer/Consumer_User_Login.ts +0 -7
  471. package/src/generated/consumer/Consumer_User_PasswordReset.ts +0 -7
  472. package/src/generated/consumer/Consumer_User_Provider.ts +0 -7
  473. package/src/generated/consumer/Consumer_User_Refresh.ts +0 -7
  474. package/src/generated/consumer/Consumer_User_Register.ts +0 -7
  475. package/src/generated/consumer/Event.ts +0 -10
  476. package/src/generated/consumer/Event_Collection.ts +0 -8
  477. package/src/generated/consumer/Event_Subscription.ts +0 -13
  478. package/src/generated/consumer/Event_Subscription_Collection.ts +0 -8
  479. package/src/generated/consumer/Event_Subscription_Create.ts +0 -9
  480. package/src/generated/consumer/Event_Subscription_Response.ts +0 -11
  481. package/src/generated/consumer/Event_Subscription_Update.ts +0 -9
  482. package/src/generated/consumer/Grant.ts +0 -11
  483. package/src/generated/consumer/Grant_Collection.ts +0 -8
  484. package/src/generated/consumer/Log.ts +0 -16
  485. package/src/generated/consumer/Log_Collection.ts +0 -8
  486. package/src/generated/consumer/Message.ts +0 -9
  487. package/src/generated/consumer/Page.ts +0 -11
  488. package/src/generated/consumer/Page_Collection.ts +0 -8
  489. package/src/generated/consumer/Payment_Checkout_Request.ts +0 -9
  490. package/src/generated/consumer/Payment_Checkout_Response.ts +0 -8
  491. package/src/generated/consumer/Payment_Portal_Response.ts +0 -8
  492. package/src/generated/consumer/Plan.ts +0 -12
  493. package/src/generated/consumer/Plan_Collection.ts +0 -8
  494. package/src/generated/consumer/Scope.ts +0 -10
  495. package/src/generated/consumer/Scope_Collection.ts +0 -8
  496. package/src/generated/consumer/Transaction.ts +0 -13
  497. package/src/generated/consumer/Transaction_Collection.ts +0 -8
  498. package/src/generated/consumer/User_Account.ts +0 -17
  499. package/src/generated/consumer/User_Activate.ts +0 -8
  500. package/src/generated/consumer/User_Attributes.ts +0 -6
  501. package/src/generated/consumer/User_Email.ts +0 -9
  502. package/src/generated/consumer/User_JWT.ts +0 -10
  503. package/src/generated/consumer/User_Login.ts +0 -10
  504. package/src/generated/consumer/User_PasswordReset.ts +0 -9
  505. package/src/generated/consumer/User_Provider.ts +0 -10
  506. package/src/generated/consumer/User_Refresh.ts +0 -8
  507. package/src/generated/consumer/User_Register.ts +0 -11
  508. package/tsconfig.json +0 -15
@@ -1,8 +0,0 @@
1
- /**
2
- * BackendActionExecuteAction_idPath generated on 2022-06-25
3
- * {@link https://sdkgen.app}
4
- */
5
-
6
- export interface BackendActionExecuteAction_idPath {
7
- action_id?: string
8
- }
@@ -1,36 +0,0 @@
1
- /**
2
- * BackendActionExecuteByActionIdResource generated on 2022-06-25
3
- * {@link https://sdkgen.app}
4
- */
5
-
6
- import {AxiosInstance, AxiosRequestConfig, AxiosResponse} from "axios";
7
- import {ResourceAbstract} from "sdkgen-client"
8
- import {Action_Execute_Request} from "./Action_Execute_Request";
9
- import {Action_Execute_Response} from "./Action_Execute_Response";
10
-
11
- export default class BackendActionExecuteByActionIdResource extends ResourceAbstract {
12
- private url: string;
13
-
14
- private action_id: string;
15
-
16
- public constructor(action_id: string, baseUrl: string, httpClient: AxiosInstance) {
17
- super(baseUrl, httpClient);
18
-
19
- this.action_id = action_id;
20
-
21
- this.url = baseUrl + "/backend/action/execute/"+action_id+"";
22
- }
23
-
24
- /**
25
- * @param {Action_Execute_Request} data
26
- * @returns {Promise<AxiosResponse<Action_Execute_Response>>}
27
- */
28
- public async backendActionActionExecute(data: Action_Execute_Request): Promise<AxiosResponse<Action_Execute_Response>> {
29
- let params: AxiosRequestConfig = {
30
- method: 'POST',
31
- };
32
-
33
- return this.httpClient.post<Action_Execute_Response>(this.url, data, params);
34
- }
35
-
36
- }
@@ -1,35 +0,0 @@
1
- /**
2
- * BackendActionFormResource generated on 2022-06-25
3
- * {@link https://sdkgen.app}
4
- */
5
-
6
- import {AxiosInstance, AxiosRequestConfig, AxiosResponse} from "axios";
7
- import {ResourceAbstract} from "sdkgen-client"
8
- import {Form_Query} from "./Form_Query";
9
- import {Form_Container} from "./Form_Container";
10
-
11
- export default class BackendActionFormResource extends ResourceAbstract {
12
- private url: string;
13
-
14
-
15
- public constructor(baseUrl: string, httpClient: AxiosInstance) {
16
- super(baseUrl, httpClient);
17
-
18
-
19
- this.url = baseUrl + "/backend/action/form";
20
- }
21
-
22
- /**
23
- * @param {Form_Query} query
24
- * @returns {Promise<AxiosResponse<Form_Container>>}
25
- */
26
- public async backendActionActionGetForm(query?: Form_Query): Promise<AxiosResponse<Form_Container>> {
27
- let params: AxiosRequestConfig = {
28
- method: 'GET',
29
- params: query,
30
- };
31
-
32
- return this.httpClient.get<Form_Container>(this.url, params);
33
- }
34
-
35
- }
@@ -1,71 +0,0 @@
1
- /**
2
- * BackendActionGroup generated on 2022-06-25
3
- * {@link https://sdkgen.app}
4
- */
5
-
6
- import {ResourceAbstract} from "sdkgen-client"
7
- import BackendActionByActionIdResource from "./BackendActionByActionIdResource";
8
- import BackendActionExecuteByActionIdResource from "./BackendActionExecuteByActionIdResource";
9
- import BackendActionFormResource from "./BackendActionFormResource";
10
- import BackendActionListResource from "./BackendActionListResource";
11
- import BackendActionResource from "./BackendActionResource";
12
-
13
- export default class BackendActionGroup extends ResourceAbstract {
14
- /**
15
- * Endpoint: /backend/action/$action_id<[0-9]+|^~>
16
- */
17
- public getBackendActionByActionId(action_id: string): BackendActionByActionIdResource
18
- {
19
- return new BackendActionByActionIdResource(
20
- action_id,
21
- this.baseUrl,
22
- this.httpClient
23
- );
24
- }
25
-
26
- /**
27
- * Endpoint: /backend/action/execute/:action_id
28
- */
29
- public getBackendActionExecuteByActionId(action_id: string): BackendActionExecuteByActionIdResource
30
- {
31
- return new BackendActionExecuteByActionIdResource(
32
- action_id,
33
- this.baseUrl,
34
- this.httpClient
35
- );
36
- }
37
-
38
- /**
39
- * Endpoint: /backend/action/form
40
- */
41
- public getBackendActionForm(): BackendActionFormResource
42
- {
43
- return new BackendActionFormResource(
44
- this.baseUrl,
45
- this.httpClient
46
- );
47
- }
48
-
49
- /**
50
- * Endpoint: /backend/action/list
51
- */
52
- public getBackendActionList(): BackendActionListResource
53
- {
54
- return new BackendActionListResource(
55
- this.baseUrl,
56
- this.httpClient
57
- );
58
- }
59
-
60
- /**
61
- * Endpoint: /backend/action
62
- */
63
- public getBackendAction(): BackendActionResource
64
- {
65
- return new BackendActionResource(
66
- this.baseUrl,
67
- this.httpClient
68
- );
69
- }
70
-
71
- }
@@ -1,32 +0,0 @@
1
- /**
2
- * BackendActionListResource generated on 2022-06-25
3
- * {@link https://sdkgen.app}
4
- */
5
-
6
- import {AxiosInstance, AxiosRequestConfig, AxiosResponse} from "axios";
7
- import {ResourceAbstract} from "sdkgen-client"
8
- import {Action_Index} from "./Action_Index";
9
-
10
- export default class BackendActionListResource extends ResourceAbstract {
11
- private url: string;
12
-
13
-
14
- public constructor(baseUrl: string, httpClient: AxiosInstance) {
15
- super(baseUrl, httpClient);
16
-
17
-
18
- this.url = baseUrl + "/backend/action/list";
19
- }
20
-
21
- /**
22
- * @returns {Promise<AxiosResponse<Action_Index>>}
23
- */
24
- public async backendActionActionGetIndex(): Promise<AxiosResponse<Action_Index>> {
25
- let params: AxiosRequestConfig = {
26
- method: 'GET',
27
- };
28
-
29
- return this.httpClient.get<Action_Index>(this.url, params);
30
- }
31
-
32
- }
@@ -1,49 +0,0 @@
1
- /**
2
- * BackendActionResource generated on 2022-06-25
3
- * {@link https://sdkgen.app}
4
- */
5
-
6
- import {AxiosInstance, AxiosRequestConfig, AxiosResponse} from "axios";
7
- import {ResourceAbstract} from "sdkgen-client"
8
- import {Collection_Category_Query} from "./Collection_Category_Query";
9
- import {Action_Collection} from "./Action_Collection";
10
- import {Action_Create} from "./Action_Create";
11
- import {Message} from "./Message";
12
-
13
- export default class BackendActionResource extends ResourceAbstract {
14
- private url: string;
15
-
16
-
17
- public constructor(baseUrl: string, httpClient: AxiosInstance) {
18
- super(baseUrl, httpClient);
19
-
20
-
21
- this.url = baseUrl + "/backend/action";
22
- }
23
-
24
- /**
25
- * @param {Collection_Category_Query} query
26
- * @returns {Promise<AxiosResponse<Action_Collection>>}
27
- */
28
- public async backendActionActionGetAll(query?: Collection_Category_Query): Promise<AxiosResponse<Action_Collection>> {
29
- let params: AxiosRequestConfig = {
30
- method: 'GET',
31
- params: query,
32
- };
33
-
34
- return this.httpClient.get<Action_Collection>(this.url, params);
35
- }
36
-
37
- /**
38
- * @param {Action_Create} data
39
- * @returns {Promise<AxiosResponse<Message>>}
40
- */
41
- public async backendActionActionCreate(data: Action_Create): Promise<AxiosResponse<Message>> {
42
- let params: AxiosRequestConfig = {
43
- method: 'POST',
44
- };
45
-
46
- return this.httpClient.post<Message>(this.url, data, params);
47
- }
48
-
49
- }
@@ -1,8 +0,0 @@
1
- /**
2
- * BackendAppApp_idPath generated on 2022-06-25
3
- * {@link https://sdkgen.app}
4
- */
5
-
6
- export interface BackendAppApp_idPath {
7
- app_id?: string
8
- }
@@ -1,9 +0,0 @@
1
- /**
2
- * BackendAppApp_idTokenToken_idPath generated on 2022-06-25
3
- * {@link https://sdkgen.app}
4
- */
5
-
6
- export interface BackendAppApp_idTokenToken_idPath {
7
- app_id?: string
8
- token_id?: string
9
- }
@@ -1,59 +0,0 @@
1
- /**
2
- * BackendAppByAppIdResource generated on 2022-06-25
3
- * {@link https://sdkgen.app}
4
- */
5
-
6
- import {AxiosInstance, AxiosRequestConfig, AxiosResponse} from "axios";
7
- import {ResourceAbstract} from "sdkgen-client"
8
- import {App} from "./App";
9
- import {App_Update} from "./App_Update";
10
- import {Message} from "./Message";
11
-
12
- export default class BackendAppByAppIdResource extends ResourceAbstract {
13
- private url: string;
14
-
15
- private app_id: string;
16
-
17
- public constructor(app_id: string, baseUrl: string, httpClient: AxiosInstance) {
18
- super(baseUrl, httpClient);
19
-
20
- this.app_id = app_id;
21
-
22
- this.url = baseUrl + "/backend/app/"+app_id+"";
23
- }
24
-
25
- /**
26
- * @returns {Promise<AxiosResponse<App>>}
27
- */
28
- public async backendActionAppGet(): Promise<AxiosResponse<App>> {
29
- let params: AxiosRequestConfig = {
30
- method: 'GET',
31
- };
32
-
33
- return this.httpClient.get<App>(this.url, params);
34
- }
35
-
36
- /**
37
- * @param {App_Update} data
38
- * @returns {Promise<AxiosResponse<Message>>}
39
- */
40
- public async backendActionAppUpdate(data: App_Update): Promise<AxiosResponse<Message>> {
41
- let params: AxiosRequestConfig = {
42
- method: 'PUT',
43
- };
44
-
45
- return this.httpClient.put<Message>(this.url, data, params);
46
- }
47
-
48
- /**
49
- * @returns {Promise<AxiosResponse<Message>>}
50
- */
51
- public async backendActionAppDelete(): Promise<AxiosResponse<Message>> {
52
- let params: AxiosRequestConfig = {
53
- method: 'DELETE',
54
- };
55
-
56
- return this.httpClient.delete(this.url, params);
57
- }
58
-
59
- }
@@ -1,36 +0,0 @@
1
- /**
2
- * BackendAppByAppIdTokenAndTokenIdResource generated on 2022-06-25
3
- * {@link https://sdkgen.app}
4
- */
5
-
6
- import {AxiosInstance, AxiosRequestConfig, AxiosResponse} from "axios";
7
- import {ResourceAbstract} from "sdkgen-client"
8
- import {Message} from "./Message";
9
-
10
- export default class BackendAppByAppIdTokenAndTokenIdResource extends ResourceAbstract {
11
- private url: string;
12
-
13
- private app_id: string;
14
- private token_id: string;
15
-
16
- public constructor(app_id: string, token_id: string, baseUrl: string, httpClient: AxiosInstance) {
17
- super(baseUrl, httpClient);
18
-
19
- this.app_id = app_id;
20
- this.token_id = token_id;
21
-
22
- this.url = baseUrl + "/backend/app/"+app_id+"/token/"+token_id+"";
23
- }
24
-
25
- /**
26
- * @returns {Promise<AxiosResponse<Message>>}
27
- */
28
- public async backendActionAppDeleteToken(): Promise<AxiosResponse<Message>> {
29
- let params: AxiosRequestConfig = {
30
- method: 'DELETE',
31
- };
32
-
33
- return this.httpClient.delete(this.url, params);
34
- }
35
-
36
- }
@@ -1,73 +0,0 @@
1
- /**
2
- * BackendAppGroup generated on 2022-06-25
3
- * {@link https://sdkgen.app}
4
- */
5
-
6
- import {ResourceAbstract} from "sdkgen-client"
7
- import BackendAppByAppIdTokenAndTokenIdResource from "./BackendAppByAppIdTokenAndTokenIdResource";
8
- import BackendAppByAppIdResource from "./BackendAppByAppIdResource";
9
- import BackendAppResource from "./BackendAppResource";
10
- import BackendAppTokenByTokenIdResource from "./BackendAppTokenByTokenIdResource";
11
- import BackendAppTokenResource from "./BackendAppTokenResource";
12
-
13
- export default class BackendAppGroup extends ResourceAbstract {
14
- /**
15
- * Endpoint: /backend/app/$app_id<[0-9]+>/token/:token_id
16
- */
17
- public getBackendAppByAppIdTokenAndTokenId(app_id: string, token_id: string): BackendAppByAppIdTokenAndTokenIdResource
18
- {
19
- return new BackendAppByAppIdTokenAndTokenIdResource(
20
- app_id,
21
- token_id,
22
- this.baseUrl,
23
- this.httpClient
24
- );
25
- }
26
-
27
- /**
28
- * Endpoint: /backend/app/$app_id<[0-9]+>
29
- */
30
- public getBackendAppByAppId(app_id: string): BackendAppByAppIdResource
31
- {
32
- return new BackendAppByAppIdResource(
33
- app_id,
34
- this.baseUrl,
35
- this.httpClient
36
- );
37
- }
38
-
39
- /**
40
- * Endpoint: /backend/app
41
- */
42
- public getBackendApp(): BackendAppResource
43
- {
44
- return new BackendAppResource(
45
- this.baseUrl,
46
- this.httpClient
47
- );
48
- }
49
-
50
- /**
51
- * Endpoint: /backend/app/token/$token_id<[0-9]+>
52
- */
53
- public getBackendAppTokenByTokenId(token_id: string): BackendAppTokenByTokenIdResource
54
- {
55
- return new BackendAppTokenByTokenIdResource(
56
- token_id,
57
- this.baseUrl,
58
- this.httpClient
59
- );
60
- }
61
-
62
- /**
63
- * Endpoint: /backend/app/token
64
- */
65
- public getBackendAppToken(): BackendAppTokenResource
66
- {
67
- return new BackendAppTokenResource(
68
- this.baseUrl,
69
- this.httpClient
70
- );
71
- }
72
-
73
- }
@@ -1,49 +0,0 @@
1
- /**
2
- * BackendAppResource generated on 2022-06-25
3
- * {@link https://sdkgen.app}
4
- */
5
-
6
- import {AxiosInstance, AxiosRequestConfig, AxiosResponse} from "axios";
7
- import {ResourceAbstract} from "sdkgen-client"
8
- import {Collection_Query} from "./Collection_Query";
9
- import {App_Collection} from "./App_Collection";
10
- import {App_Create} from "./App_Create";
11
- import {Message} from "./Message";
12
-
13
- export default class BackendAppResource extends ResourceAbstract {
14
- private url: string;
15
-
16
-
17
- public constructor(baseUrl: string, httpClient: AxiosInstance) {
18
- super(baseUrl, httpClient);
19
-
20
-
21
- this.url = baseUrl + "/backend/app";
22
- }
23
-
24
- /**
25
- * @param {Collection_Query} query
26
- * @returns {Promise<AxiosResponse<App_Collection>>}
27
- */
28
- public async backendActionAppGetAll(query?: Collection_Query): Promise<AxiosResponse<App_Collection>> {
29
- let params: AxiosRequestConfig = {
30
- method: 'GET',
31
- params: query,
32
- };
33
-
34
- return this.httpClient.get<App_Collection>(this.url, params);
35
- }
36
-
37
- /**
38
- * @param {App_Create} data
39
- * @returns {Promise<AxiosResponse<Message>>}
40
- */
41
- public async backendActionAppCreate(data: App_Create): Promise<AxiosResponse<Message>> {
42
- let params: AxiosRequestConfig = {
43
- method: 'POST',
44
- };
45
-
46
- return this.httpClient.post<Message>(this.url, data, params);
47
- }
48
-
49
- }
@@ -1,34 +0,0 @@
1
- /**
2
- * BackendAppTokenByTokenIdResource generated on 2022-06-25
3
- * {@link https://sdkgen.app}
4
- */
5
-
6
- import {AxiosInstance, AxiosRequestConfig, AxiosResponse} from "axios";
7
- import {ResourceAbstract} from "sdkgen-client"
8
- import {App_Token} from "./App_Token";
9
-
10
- export default class BackendAppTokenByTokenIdResource extends ResourceAbstract {
11
- private url: string;
12
-
13
- private token_id: string;
14
-
15
- public constructor(token_id: string, baseUrl: string, httpClient: AxiosInstance) {
16
- super(baseUrl, httpClient);
17
-
18
- this.token_id = token_id;
19
-
20
- this.url = baseUrl + "/backend/app/token/"+token_id+"";
21
- }
22
-
23
- /**
24
- * @returns {Promise<AxiosResponse<App_Token>>}
25
- */
26
- public async backendActionAppTokenGet(): Promise<AxiosResponse<App_Token>> {
27
- let params: AxiosRequestConfig = {
28
- method: 'GET',
29
- };
30
-
31
- return this.httpClient.get<App_Token>(this.url, params);
32
- }
33
-
34
- }
@@ -1,35 +0,0 @@
1
- /**
2
- * BackendAppTokenResource generated on 2022-06-25
3
- * {@link https://sdkgen.app}
4
- */
5
-
6
- import {AxiosInstance, AxiosRequestConfig, AxiosResponse} from "axios";
7
- import {ResourceAbstract} from "sdkgen-client"
8
- import {Backend_App_Token_Collection_Query} from "./Backend_App_Token_Collection_Query";
9
- import {App_Token_Collection} from "./App_Token_Collection";
10
-
11
- export default class BackendAppTokenResource extends ResourceAbstract {
12
- private url: string;
13
-
14
-
15
- public constructor(baseUrl: string, httpClient: AxiosInstance) {
16
- super(baseUrl, httpClient);
17
-
18
-
19
- this.url = baseUrl + "/backend/app/token";
20
- }
21
-
22
- /**
23
- * @param {Backend_App_Token_Collection_Query} query
24
- * @returns {Promise<AxiosResponse<App_Token_Collection>>}
25
- */
26
- public async backendActionAppTokenGetAll(query?: Backend_App_Token_Collection_Query): Promise<AxiosResponse<App_Token_Collection>> {
27
- let params: AxiosRequestConfig = {
28
- method: 'GET',
29
- params: query,
30
- };
31
-
32
- return this.httpClient.get<App_Token_Collection>(this.url, params);
33
- }
34
-
35
- }
@@ -1,8 +0,0 @@
1
- /**
2
- * BackendAppTokenToken_idPath generated on 2022-06-25
3
- * {@link https://sdkgen.app}
4
- */
5
-
6
- export interface BackendAppTokenToken_idPath {
7
- token_id?: string
8
- }
@@ -1,8 +0,0 @@
1
- /**
2
- * BackendAuditAudit_idPath generated on 2022-06-25
3
- * {@link https://sdkgen.app}
4
- */
5
-
6
- export interface BackendAuditAudit_idPath {
7
- audit_id?: string
8
- }
@@ -1,34 +0,0 @@
1
- /**
2
- * BackendAuditByAuditIdResource generated on 2022-06-25
3
- * {@link https://sdkgen.app}
4
- */
5
-
6
- import {AxiosInstance, AxiosRequestConfig, AxiosResponse} from "axios";
7
- import {ResourceAbstract} from "sdkgen-client"
8
- import {Audit} from "./Audit";
9
-
10
- export default class BackendAuditByAuditIdResource extends ResourceAbstract {
11
- private url: string;
12
-
13
- private audit_id: string;
14
-
15
- public constructor(audit_id: string, baseUrl: string, httpClient: AxiosInstance) {
16
- super(baseUrl, httpClient);
17
-
18
- this.audit_id = audit_id;
19
-
20
- this.url = baseUrl + "/backend/audit/"+audit_id+"";
21
- }
22
-
23
- /**
24
- * @returns {Promise<AxiosResponse<Audit>>}
25
- */
26
- public async backendActionAuditGet(): Promise<AxiosResponse<Audit>> {
27
- let params: AxiosRequestConfig = {
28
- method: 'GET',
29
- };
30
-
31
- return this.httpClient.get<Audit>(this.url, params);
32
- }
33
-
34
- }
@@ -1,34 +0,0 @@
1
- /**
2
- * BackendAuditGroup generated on 2022-06-25
3
- * {@link https://sdkgen.app}
4
- */
5
-
6
- import {ResourceAbstract} from "sdkgen-client"
7
- import BackendAuditByAuditIdResource from "./BackendAuditByAuditIdResource";
8
- import BackendAuditResource from "./BackendAuditResource";
9
-
10
- export default class BackendAuditGroup extends ResourceAbstract {
11
- /**
12
- * Endpoint: /backend/audit/$audit_id<[0-9]+>
13
- */
14
- public getBackendAuditByAuditId(audit_id: string): BackendAuditByAuditIdResource
15
- {
16
- return new BackendAuditByAuditIdResource(
17
- audit_id,
18
- this.baseUrl,
19
- this.httpClient
20
- );
21
- }
22
-
23
- /**
24
- * Endpoint: /backend/audit
25
- */
26
- public getBackendAudit(): BackendAuditResource
27
- {
28
- return new BackendAuditResource(
29
- this.baseUrl,
30
- this.httpClient
31
- );
32
- }
33
-
34
- }
@@ -1,35 +0,0 @@
1
- /**
2
- * BackendAuditResource generated on 2022-06-25
3
- * {@link https://sdkgen.app}
4
- */
5
-
6
- import {AxiosInstance, AxiosRequestConfig, AxiosResponse} from "axios";
7
- import {ResourceAbstract} from "sdkgen-client"
8
- import {Backend_Audit_Collection_Query} from "./Backend_Audit_Collection_Query";
9
- import {Audit_Collection} from "./Audit_Collection";
10
-
11
- export default class BackendAuditResource extends ResourceAbstract {
12
- private url: string;
13
-
14
-
15
- public constructor(baseUrl: string, httpClient: AxiosInstance) {
16
- super(baseUrl, httpClient);
17
-
18
-
19
- this.url = baseUrl + "/backend/audit";
20
- }
21
-
22
- /**
23
- * @param {Backend_Audit_Collection_Query} query
24
- * @returns {Promise<AxiosResponse<Audit_Collection>>}
25
- */
26
- public async backendActionAuditGetAll(query?: Backend_Audit_Collection_Query): Promise<AxiosResponse<Audit_Collection>> {
27
- let params: AxiosRequestConfig = {
28
- method: 'GET',
29
- params: query,
30
- };
31
-
32
- return this.httpClient.get<Audit_Collection>(this.url, params);
33
- }
34
-
35
- }