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.
- package/package.json +2 -1
- package/.github/FUNDING.yml +0 -4
- package/.github/workflows/build.yml +0 -11
- package/.github/workflows/npm.yml +0 -18
- package/examples/change_password.ts +0 -24
- package/examples/create_action.ts +0 -29
- package/examples/get_routes.ts +0 -19
- package/index.ts +0 -3
- package/src/Client.ts +0 -39
- package/src/Util.ts +0 -10
- package/src/generated/backend/Account_ChangePassword.ts +0 -10
- package/src/generated/backend/Action.ts +0 -15
- package/src/generated/backend/Action_Collection.ts +0 -8
- package/src/generated/backend/Action_Config.ts +0 -6
- package/src/generated/backend/Action_Create.ts +0 -8
- package/src/generated/backend/Action_Execute_Request.ts +0 -13
- package/src/generated/backend/Action_Execute_Request_Body.ts +0 -6
- package/src/generated/backend/Action_Execute_Response.ts +0 -12
- package/src/generated/backend/Action_Execute_Response_Body.ts +0 -6
- package/src/generated/backend/Action_Execute_Response_Headers.ts +0 -6
- package/src/generated/backend/Action_Index.ts +0 -9
- package/src/generated/backend/Action_Index_Entry.ts +0 -9
- package/src/generated/backend/Action_Update.ts +0 -8
- package/src/generated/backend/App.ts +0 -19
- package/src/generated/backend/App_Collection.ts +0 -8
- package/src/generated/backend/App_Create.ts +0 -8
- package/src/generated/backend/App_Token.ts +0 -14
- package/src/generated/backend/App_Token_Collection.ts +0 -8
- package/src/generated/backend/App_Token_Collection_Query.ts +0 -16
- package/src/generated/backend/App_Update.ts +0 -8
- package/src/generated/backend/Audit.ts +0 -18
- package/src/generated/backend/Audit_Collection.ts +0 -8
- package/src/generated/backend/Audit_Collection_Query.ts +0 -16
- package/src/generated/backend/Audit_Object.ts +0 -9
- package/src/generated/backend/BackendAccountChangePasswordResource.ts +0 -34
- package/src/generated/backend/BackendAccountGroup.ts +0 -33
- package/src/generated/backend/BackendAccountResource.ts +0 -46
- package/src/generated/backend/BackendActionAction_idPath.ts +0 -8
- package/src/generated/backend/BackendActionByActionIdResource.ts +0 -59
- package/src/generated/backend/BackendActionExecuteAction_idPath.ts +0 -8
- package/src/generated/backend/BackendActionExecuteByActionIdResource.ts +0 -36
- package/src/generated/backend/BackendActionFormResource.ts +0 -35
- package/src/generated/backend/BackendActionGroup.ts +0 -71
- package/src/generated/backend/BackendActionListResource.ts +0 -32
- package/src/generated/backend/BackendActionResource.ts +0 -49
- package/src/generated/backend/BackendAppApp_idPath.ts +0 -8
- package/src/generated/backend/BackendAppApp_idTokenToken_idPath.ts +0 -9
- package/src/generated/backend/BackendAppByAppIdResource.ts +0 -59
- package/src/generated/backend/BackendAppByAppIdTokenAndTokenIdResource.ts +0 -36
- package/src/generated/backend/BackendAppGroup.ts +0 -73
- package/src/generated/backend/BackendAppResource.ts +0 -49
- package/src/generated/backend/BackendAppTokenByTokenIdResource.ts +0 -34
- package/src/generated/backend/BackendAppTokenResource.ts +0 -35
- package/src/generated/backend/BackendAppTokenToken_idPath.ts +0 -8
- package/src/generated/backend/BackendAuditAudit_idPath.ts +0 -8
- package/src/generated/backend/BackendAuditByAuditIdResource.ts +0 -34
- package/src/generated/backend/BackendAuditGroup.ts +0 -34
- package/src/generated/backend/BackendAuditResource.ts +0 -35
- package/src/generated/backend/BackendCategoryByCategoryIdResource.ts +0 -59
- package/src/generated/backend/BackendCategoryCategory_idPath.ts +0 -8
- package/src/generated/backend/BackendCategoryGroup.ts +0 -34
- package/src/generated/backend/BackendCategoryResource.ts +0 -49
- package/src/generated/backend/BackendConfigByConfigIdResource.ts +0 -48
- package/src/generated/backend/BackendConfigConfig_idPath.ts +0 -8
- package/src/generated/backend/BackendConfigGroup.ts +0 -34
- package/src/generated/backend/BackendConfigResource.ts +0 -35
- package/src/generated/backend/BackendConnectionByConnectionIdRedirectResource.ts +0 -34
- package/src/generated/backend/BackendConnectionByConnectionIdResource.ts +0 -59
- package/src/generated/backend/BackendConnectionConnection_idPath.ts +0 -8
- package/src/generated/backend/BackendConnectionConnection_idRedirectPath.ts +0 -8
- package/src/generated/backend/BackendConnectionFormResource.ts +0 -35
- package/src/generated/backend/BackendConnectionGroup.ts +0 -71
- package/src/generated/backend/BackendConnectionListResource.ts +0 -32
- package/src/generated/backend/BackendConnectionResource.ts +0 -49
- package/src/generated/backend/BackendCronjobByCronjobIdResource.ts +0 -59
- package/src/generated/backend/BackendCronjobCronjob_idPath.ts +0 -8
- package/src/generated/backend/BackendCronjobGroup.ts +0 -34
- package/src/generated/backend/BackendCronjobResource.ts +0 -49
- package/src/generated/backend/BackendDashboardGroup.ts +0 -21
- package/src/generated/backend/BackendDashboardResource.ts +0 -32
- package/src/generated/backend/BackendEventByEventIdResource.ts +0 -59
- package/src/generated/backend/BackendEventEvent_idPath.ts +0 -8
- package/src/generated/backend/BackendEventGroup.ts +0 -59
- package/src/generated/backend/BackendEventResource.ts +0 -49
- package/src/generated/backend/BackendEventSubscriptionBySubscriptionIdResource.ts +0 -59
- package/src/generated/backend/BackendEventSubscriptionResource.ts +0 -49
- package/src/generated/backend/BackendEventSubscriptionSubscription_idPath.ts +0 -8
- package/src/generated/backend/BackendLogByLogIdResource.ts +0 -34
- package/src/generated/backend/BackendLogErrorByErrorIdResource.ts +0 -34
- package/src/generated/backend/BackendLogErrorError_idPath.ts +0 -8
- package/src/generated/backend/BackendLogErrorResource.ts +0 -35
- package/src/generated/backend/BackendLogGroup.ts +0 -59
- package/src/generated/backend/BackendLogLog_idPath.ts +0 -8
- package/src/generated/backend/BackendLogResource.ts +0 -35
- package/src/generated/backend/BackendMarketplaceApp_namePath.ts +0 -8
- package/src/generated/backend/BackendMarketplaceByAppNameResource.ts +0 -57
- package/src/generated/backend/BackendMarketplaceGroup.ts +0 -34
- package/src/generated/backend/BackendMarketplaceResource.ts +0 -45
- package/src/generated/backend/BackendPageByPageIdResource.ts +0 -59
- package/src/generated/backend/BackendPageGroup.ts +0 -34
- package/src/generated/backend/BackendPagePage_idPath.ts +0 -8
- package/src/generated/backend/BackendPageResource.ts +0 -49
- package/src/generated/backend/BackendPlanByPlanIdResource.ts +0 -59
- package/src/generated/backend/BackendPlanGroup.ts +0 -34
- package/src/generated/backend/BackendPlanPlan_idPath.ts +0 -8
- package/src/generated/backend/BackendPlanResource.ts +0 -49
- package/src/generated/backend/BackendRateByRateIdResource.ts +0 -59
- package/src/generated/backend/BackendRateGroup.ts +0 -34
- package/src/generated/backend/BackendRateRate_idPath.ts +0 -8
- package/src/generated/backend/BackendRateResource.ts +0 -49
- package/src/generated/backend/BackendRoleByRoleIdResource.ts +0 -59
- package/src/generated/backend/BackendRoleGroup.ts +0 -34
- package/src/generated/backend/BackendRoleResource.ts +0 -49
- package/src/generated/backend/BackendRoleRole_idPath.ts +0 -8
- package/src/generated/backend/BackendRouteGroup.ts +0 -59
- package/src/generated/backend/BackendRoutesByRouteIdResource.ts +0 -59
- package/src/generated/backend/BackendRoutesProviderByProviderResource.ts +0 -62
- package/src/generated/backend/BackendRoutesProviderProviderPath.ts +0 -8
- package/src/generated/backend/BackendRoutesProviderResource.ts +0 -32
- package/src/generated/backend/BackendRoutesResource.ts +0 -49
- package/src/generated/backend/BackendRoutesRoute_idPath.ts +0 -8
- package/src/generated/backend/BackendSchemaBySchemaIdResource.ts +0 -59
- package/src/generated/backend/BackendSchemaFormBySchemaIdResource.ts +0 -36
- package/src/generated/backend/BackendSchemaFormSchema_idPath.ts +0 -8
- package/src/generated/backend/BackendSchemaGroup.ts +0 -60
- package/src/generated/backend/BackendSchemaPreviewBySchemaIdResource.ts +0 -34
- package/src/generated/backend/BackendSchemaPreviewSchema_idPath.ts +0 -8
- package/src/generated/backend/BackendSchemaResource.ts +0 -49
- package/src/generated/backend/BackendSchemaSchema_idPath.ts +0 -8
- package/src/generated/backend/BackendScopeByScopeIdResource.ts +0 -59
- package/src/generated/backend/BackendScopeCategoriesResource.ts +0 -32
- package/src/generated/backend/BackendScopeGroup.ts +0 -46
- package/src/generated/backend/BackendScopeResource.ts +0 -49
- package/src/generated/backend/BackendScopeScope_idPath.ts +0 -8
- package/src/generated/backend/BackendSdkGroup.ts +0 -21
- package/src/generated/backend/BackendSdkResource.ts +0 -46
- package/src/generated/backend/BackendStatisticCountRequestsResource.ts +0 -35
- package/src/generated/backend/BackendStatisticErrorsPerRouteResource.ts +0 -35
- package/src/generated/backend/BackendStatisticGroup.ts +0 -129
- package/src/generated/backend/BackendStatisticIncomingRequestsResource.ts +0 -35
- package/src/generated/backend/BackendStatisticIncomingTransactionsResource.ts +0 -35
- package/src/generated/backend/BackendStatisticIssuedTokensResource.ts +0 -35
- package/src/generated/backend/BackendStatisticMostUsedAppsResource.ts +0 -35
- package/src/generated/backend/BackendStatisticMostUsedRoutesResource.ts +0 -35
- package/src/generated/backend/BackendStatisticTimeAverageResource.ts +0 -35
- package/src/generated/backend/BackendStatisticTimePerRouteResource.ts +0 -35
- package/src/generated/backend/BackendStatisticUsedPointsResource.ts +0 -35
- package/src/generated/backend/BackendTransactionByTransactionIdResource.ts +0 -34
- package/src/generated/backend/BackendTransactionGroup.ts +0 -34
- package/src/generated/backend/BackendTransactionResource.ts +0 -35
- package/src/generated/backend/BackendTransactionTransaction_idPath.ts +0 -8
- package/src/generated/backend/BackendTrashByTypeResource.ts +0 -49
- package/src/generated/backend/BackendTrashGroup.ts +0 -34
- package/src/generated/backend/BackendTrashResource.ts +0 -32
- package/src/generated/backend/BackendTrashTypePath.ts +0 -8
- package/src/generated/backend/BackendUserByUserIdResource.ts +0 -59
- package/src/generated/backend/BackendUserGroup.ts +0 -34
- package/src/generated/backend/BackendUserResource.ts +0 -49
- package/src/generated/backend/BackendUserUser_idPath.ts +0 -8
- package/src/generated/backend/Backend_Account_ChangePassword.ts +0 -7
- package/src/generated/backend/Backend_Action.ts +0 -7
- package/src/generated/backend/Backend_Action_Collection.ts +0 -7
- package/src/generated/backend/Backend_Action_Create.ts +0 -7
- package/src/generated/backend/Backend_Action_Execute_Request.ts +0 -7
- package/src/generated/backend/Backend_Action_Execute_Response.ts +0 -7
- package/src/generated/backend/Backend_Action_Index.ts +0 -7
- package/src/generated/backend/Backend_Action_Update.ts +0 -7
- package/src/generated/backend/Backend_App.ts +0 -7
- package/src/generated/backend/Backend_App_Collection.ts +0 -7
- package/src/generated/backend/Backend_App_Create.ts +0 -7
- package/src/generated/backend/Backend_App_Token.ts +0 -7
- package/src/generated/backend/Backend_App_Token_Collection.ts +0 -7
- package/src/generated/backend/Backend_App_Token_Collection_Query.ts +0 -7
- package/src/generated/backend/Backend_App_Update.ts +0 -7
- package/src/generated/backend/Backend_Audit.ts +0 -7
- package/src/generated/backend/Backend_Audit_Collection.ts +0 -7
- package/src/generated/backend/Backend_Audit_Collection_Query.ts +0 -7
- package/src/generated/backend/Backend_Category.ts +0 -7
- package/src/generated/backend/Backend_Category_Collection.ts +0 -7
- package/src/generated/backend/Backend_Category_Create.ts +0 -7
- package/src/generated/backend/Backend_Category_Update.ts +0 -7
- package/src/generated/backend/Backend_Config.ts +0 -7
- package/src/generated/backend/Backend_Config_Collection.ts +0 -7
- package/src/generated/backend/Backend_Config_Update.ts +0 -7
- package/src/generated/backend/Backend_Connection.ts +0 -7
- package/src/generated/backend/Backend_Connection_Collection.ts +0 -7
- package/src/generated/backend/Backend_Connection_Create.ts +0 -7
- package/src/generated/backend/Backend_Connection_Index.ts +0 -7
- package/src/generated/backend/Backend_Connection_Update.ts +0 -7
- package/src/generated/backend/Backend_Cronjob.ts +0 -7
- package/src/generated/backend/Backend_Cronjob_Collection.ts +0 -7
- package/src/generated/backend/Backend_Cronjob_Create.ts +0 -7
- package/src/generated/backend/Backend_Cronjob_Update.ts +0 -7
- package/src/generated/backend/Backend_Dashboard.ts +0 -7
- package/src/generated/backend/Backend_Event.ts +0 -7
- package/src/generated/backend/Backend_Event_Collection.ts +0 -7
- package/src/generated/backend/Backend_Event_Create.ts +0 -7
- package/src/generated/backend/Backend_Event_Subscription.ts +0 -7
- package/src/generated/backend/Backend_Event_Subscription_Collection.ts +0 -7
- package/src/generated/backend/Backend_Event_Subscription_Create.ts +0 -7
- package/src/generated/backend/Backend_Event_Subscription_Update.ts +0 -7
- package/src/generated/backend/Backend_Event_Update.ts +0 -7
- package/src/generated/backend/Backend_Log.ts +0 -7
- package/src/generated/backend/Backend_Log_Collection.ts +0 -7
- package/src/generated/backend/Backend_Log_Collection_Query.ts +0 -7
- package/src/generated/backend/Backend_Log_Error.ts +0 -7
- package/src/generated/backend/Backend_Log_Error_Collection.ts +0 -7
- package/src/generated/backend/Backend_Marketplace_Collection.ts +0 -7
- package/src/generated/backend/Backend_Marketplace_Install.ts +0 -7
- package/src/generated/backend/Backend_Marketplace_Local_App.ts +0 -7
- package/src/generated/backend/Backend_Page.ts +0 -7
- package/src/generated/backend/Backend_Page_Collection.ts +0 -7
- package/src/generated/backend/Backend_Page_Create.ts +0 -7
- package/src/generated/backend/Backend_Page_Update.ts +0 -7
- package/src/generated/backend/Backend_Plan.ts +0 -7
- package/src/generated/backend/Backend_Plan_Collection.ts +0 -7
- package/src/generated/backend/Backend_Plan_Create.ts +0 -7
- package/src/generated/backend/Backend_Plan_Update.ts +0 -7
- package/src/generated/backend/Backend_Plan_Usage_Collection_Query.ts +0 -7
- package/src/generated/backend/Backend_Rate.ts +0 -7
- package/src/generated/backend/Backend_Rate_Collection.ts +0 -7
- package/src/generated/backend/Backend_Rate_Create.ts +0 -7
- package/src/generated/backend/Backend_Rate_Update.ts +0 -7
- package/src/generated/backend/Backend_Role.ts +0 -7
- package/src/generated/backend/Backend_Role_Collection.ts +0 -7
- package/src/generated/backend/Backend_Role_Create.ts +0 -7
- package/src/generated/backend/Backend_Role_Update.ts +0 -7
- package/src/generated/backend/Backend_Route.ts +0 -7
- package/src/generated/backend/Backend_Route_Collection.ts +0 -7
- package/src/generated/backend/Backend_Route_Create.ts +0 -7
- package/src/generated/backend/Backend_Route_Index_Providers.ts +0 -7
- package/src/generated/backend/Backend_Route_Provider.ts +0 -7
- package/src/generated/backend/Backend_Route_Provider_Changelog.ts +0 -7
- package/src/generated/backend/Backend_Route_Provider_Config.ts +0 -7
- package/src/generated/backend/Backend_Route_Update.ts +0 -7
- package/src/generated/backend/Backend_Schema.ts +0 -7
- package/src/generated/backend/Backend_Schema_Collection.ts +0 -7
- package/src/generated/backend/Backend_Schema_Create.ts +0 -7
- package/src/generated/backend/Backend_Schema_Form.ts +0 -7
- package/src/generated/backend/Backend_Schema_Preview_Response.ts +0 -7
- package/src/generated/backend/Backend_Schema_Update.ts +0 -7
- package/src/generated/backend/Backend_Scope.ts +0 -7
- package/src/generated/backend/Backend_Scope_Categories.ts +0 -7
- package/src/generated/backend/Backend_Scope_Collection.ts +0 -7
- package/src/generated/backend/Backend_Scope_Create.ts +0 -7
- package/src/generated/backend/Backend_Scope_Update.ts +0 -7
- package/src/generated/backend/Backend_Sdk_Generate.ts +0 -7
- package/src/generated/backend/Backend_Sdk_Response.ts +0 -7
- package/src/generated/backend/Backend_Statistic_Count.ts +0 -7
- package/src/generated/backend/Backend_Transaction.ts +0 -7
- package/src/generated/backend/Backend_Transaction_Collection.ts +0 -7
- package/src/generated/backend/Backend_Transaction_Collection_Query.ts +0 -7
- package/src/generated/backend/Backend_Trash_Data_Collection.ts +0 -7
- package/src/generated/backend/Backend_Trash_Types.ts +0 -7
- package/src/generated/backend/Backend_User.ts +0 -7
- package/src/generated/backend/Backend_User_Collection.ts +0 -7
- package/src/generated/backend/Backend_User_Create.ts +0 -7
- package/src/generated/backend/Backend_User_Update.ts +0 -7
- package/src/generated/backend/Category.ts +0 -9
- package/src/generated/backend/Category_Collection.ts +0 -8
- package/src/generated/backend/Category_Create.ts +0 -8
- package/src/generated/backend/Category_Update.ts +0 -8
- package/src/generated/backend/Client.ts +0 -302
- package/src/generated/backend/Collection.ts +0 -10
- package/src/generated/backend/Collection_Category_Query.ts +0 -9
- package/src/generated/backend/Collection_Query.ts +0 -10
- package/src/generated/backend/Config.ts +0 -12
- package/src/generated/backend/Config_Collection.ts +0 -8
- package/src/generated/backend/Config_Update.ts +0 -8
- package/src/generated/backend/Connection.ts +0 -12
- package/src/generated/backend/Connection_Collection.ts +0 -8
- package/src/generated/backend/Connection_Config.ts +0 -6
- package/src/generated/backend/Connection_Create.ts +0 -8
- package/src/generated/backend/Connection_Index.ts +0 -9
- package/src/generated/backend/Connection_Index_Entry.ts +0 -9
- package/src/generated/backend/Connection_Update.ts +0 -8
- package/src/generated/backend/Cronjob.ts +0 -15
- package/src/generated/backend/Cronjob_Collection.ts +0 -8
- package/src/generated/backend/Cronjob_Create.ts +0 -8
- package/src/generated/backend/Cronjob_Error.ts +0 -11
- package/src/generated/backend/Cronjob_Update.ts +0 -8
- package/src/generated/backend/Dashboard.ts +0 -21
- package/src/generated/backend/Dashboard_App.ts +0 -9
- package/src/generated/backend/Dashboard_Apps.ts +0 -8
- package/src/generated/backend/Dashboard_Request.ts +0 -10
- package/src/generated/backend/Dashboard_Requests.ts +0 -8
- package/src/generated/backend/Dashboard_Transaction.ts +0 -12
- package/src/generated/backend/Dashboard_Transactions.ts +0 -8
- package/src/generated/backend/Dashboard_User.ts +0 -10
- package/src/generated/backend/Dashboard_Users.ts +0 -8
- package/src/generated/backend/Event.ts +0 -11
- package/src/generated/backend/Event_Collection.ts +0 -8
- package/src/generated/backend/Event_Create.ts +0 -8
- package/src/generated/backend/Event_Subscription.ts +0 -11
- package/src/generated/backend/Event_Subscription_Collection.ts +0 -8
- package/src/generated/backend/Event_Subscription_Create.ts +0 -8
- package/src/generated/backend/Event_Subscription_Update.ts +0 -8
- package/src/generated/backend/Event_Update.ts +0 -8
- package/src/generated/backend/Form_Container.ts +0 -12
- package/src/generated/backend/Form_Element.ts +0 -11
- package/src/generated/backend/Form_Element_Input.ts +0 -9
- package/src/generated/backend/Form_Element_Select.ts +0 -10
- package/src/generated/backend/Form_Element_Select_Option.ts +0 -9
- package/src/generated/backend/Form_Element_Tag.ts +0 -8
- package/src/generated/backend/Form_Element_TextArea.ts +0 -9
- package/src/generated/backend/Form_Query.ts +0 -8
- package/src/generated/backend/Log.ts +0 -17
- package/src/generated/backend/Log_Collection.ts +0 -8
- package/src/generated/backend/Log_Collection_Query.ts +0 -20
- package/src/generated/backend/Log_Error.ts +0 -12
- package/src/generated/backend/Log_Error_Collection.ts +0 -8
- package/src/generated/backend/Marketplace_App.ts +0 -13
- package/src/generated/backend/Marketplace_Collection.ts +0 -9
- package/src/generated/backend/Marketplace_Collection_Apps.ts +0 -7
- package/src/generated/backend/Marketplace_Install.ts +0 -8
- package/src/generated/backend/Marketplace_Local_App.ts +0 -9
- package/src/generated/backend/Marketplace_Remote_App.ts +0 -9
- package/src/generated/backend/Message.ts +0 -9
- package/src/generated/backend/Page.ts +0 -12
- package/src/generated/backend/Page_Collection.ts +0 -8
- package/src/generated/backend/Page_Create.ts +0 -8
- package/src/generated/backend/Page_Update.ts +0 -8
- package/src/generated/backend/Plan.ts +0 -15
- package/src/generated/backend/Plan_Collection.ts +0 -8
- package/src/generated/backend/Plan_Create.ts +0 -8
- package/src/generated/backend/Plan_Update.ts +0 -8
- package/src/generated/backend/Plan_Usage_Collection_Query.ts +0 -14
- package/src/generated/backend/Rate.ts +0 -14
- package/src/generated/backend/Rate_Allocation.ts +0 -13
- package/src/generated/backend/Rate_Collection.ts +0 -8
- package/src/generated/backend/Rate_Create.ts +0 -8
- package/src/generated/backend/Rate_Update.ts +0 -8
- package/src/generated/backend/Role.ts +0 -11
- package/src/generated/backend/Role_Collection.ts +0 -8
- package/src/generated/backend/Role_Create.ts +0 -8
- package/src/generated/backend/Role_Update.ts +0 -8
- package/src/generated/backend/Route.ts +0 -14
- package/src/generated/backend/Route_Collection.ts +0 -8
- package/src/generated/backend/Route_Create.ts +0 -8
- package/src/generated/backend/Route_Index_Providers.ts +0 -9
- package/src/generated/backend/Route_Method.ts +0 -21
- package/src/generated/backend/Route_Method_Responses.ts +0 -6
- package/src/generated/backend/Route_Methods.ts +0 -7
- package/src/generated/backend/Route_Provider.ts +0 -11
- package/src/generated/backend/Route_Provider_Changelog.ts +0 -13
- package/src/generated/backend/Route_Provider_Config.ts +0 -6
- package/src/generated/backend/Route_Update.ts +0 -8
- package/src/generated/backend/Route_Version.ts +0 -11
- package/src/generated/backend/Schema.ts +0 -14
- package/src/generated/backend/Schema_Collection.ts +0 -8
- package/src/generated/backend/Schema_Create.ts +0 -8
- package/src/generated/backend/Schema_Form.ts +0 -9
- package/src/generated/backend/Schema_Preview_Response.ts +0 -8
- package/src/generated/backend/Schema_Source.ts +0 -9
- package/src/generated/backend/Schema_Update.ts +0 -8
- package/src/generated/backend/Scope.ts +0 -12
- package/src/generated/backend/Scope_Categories.ts +0 -9
- package/src/generated/backend/Scope_Category.ts +0 -11
- package/src/generated/backend/Scope_Category_Scope.ts +0 -10
- package/src/generated/backend/Scope_Collection.ts +0 -8
- package/src/generated/backend/Scope_Create.ts +0 -8
- package/src/generated/backend/Scope_Route.ts +0 -10
- package/src/generated/backend/Scope_Update.ts +0 -8
- package/src/generated/backend/Sdk_Generate.ts +0 -9
- package/src/generated/backend/Sdk_Response.ts +0 -9
- package/src/generated/backend/Sdk_Types.ts +0 -6
- package/src/generated/backend/Statistic_Chart.ts +0 -11
- package/src/generated/backend/Statistic_Chart_Data.ts +0 -6
- package/src/generated/backend/Statistic_Count.ts +0 -10
- package/src/generated/backend/Transaction.ts +0 -13
- package/src/generated/backend/Transaction_Collection.ts +0 -8
- package/src/generated/backend/Transaction_Collection_Query.ts +0 -16
- package/src/generated/backend/Trash_Data.ts +0 -10
- package/src/generated/backend/Trash_Data_Collection.ts +0 -8
- package/src/generated/backend/Trash_Types.ts +0 -8
- package/src/generated/backend/User.ts +0 -20
- package/src/generated/backend/User_Attributes.ts +0 -6
- package/src/generated/backend/User_Collection.ts +0 -8
- package/src/generated/backend/User_Create.ts +0 -9
- package/src/generated/backend/User_Update.ts +0 -8
- package/src/generated/consumer/Account_ChangePassword.ts +0 -10
- package/src/generated/consumer/App.ts +0 -16
- package/src/generated/consumer/App_Collection.ts +0 -8
- package/src/generated/consumer/App_Create.ts +0 -10
- package/src/generated/consumer/App_Update.ts +0 -10
- package/src/generated/consumer/Authorize_Meta.ts +0 -11
- package/src/generated/consumer/Authorize_Request.ts +0 -13
- package/src/generated/consumer/Authorize_Response.ts +0 -12
- package/src/generated/consumer/Authorize_Response_Token.ts +0 -11
- package/src/generated/consumer/Backend_Account_ChangePassword.ts +0 -7
- package/src/generated/consumer/Client.ts +0 -146
- package/src/generated/consumer/Collection.ts +0 -10
- package/src/generated/consumer/Collection_Query.ts +0 -10
- package/src/generated/consumer/ConsumerAccountChangePasswordResource.ts +0 -34
- package/src/generated/consumer/ConsumerAccountResource.ts +0 -45
- package/src/generated/consumer/ConsumerActivateResource.ts +0 -34
- package/src/generated/consumer/ConsumerAppApp_idPath.ts +0 -8
- package/src/generated/consumer/ConsumerAppByAppIdResource.ts +0 -59
- package/src/generated/consumer/ConsumerAppGroup.ts +0 -34
- package/src/generated/consumer/ConsumerAppResource.ts +0 -49
- package/src/generated/consumer/ConsumerAuthorizeResource.ts +0 -46
- package/src/generated/consumer/ConsumerEventGroup.ts +0 -21
- package/src/generated/consumer/ConsumerEventResource.ts +0 -35
- package/src/generated/consumer/ConsumerGrantByGrantIdResource.ts +0 -33
- package/src/generated/consumer/ConsumerGrantGrant_idPath.ts +0 -8
- package/src/generated/consumer/ConsumerGrantGroup.ts +0 -34
- package/src/generated/consumer/ConsumerGrantResource.ts +0 -35
- package/src/generated/consumer/ConsumerLogByLogIdResource.ts +0 -37
- package/src/generated/consumer/ConsumerLogGroup.ts +0 -34
- package/src/generated/consumer/ConsumerLogLog_idPath.ts +0 -8
- package/src/generated/consumer/ConsumerLogResource.ts +0 -35
- package/src/generated/consumer/ConsumerLoginResource.ts +0 -47
- package/src/generated/consumer/ConsumerPageByPageIdResource.ts +0 -34
- package/src/generated/consumer/ConsumerPageGroup.ts +0 -34
- package/src/generated/consumer/ConsumerPagePage_idPath.ts +0 -8
- package/src/generated/consumer/ConsumerPageResource.ts +0 -35
- package/src/generated/consumer/ConsumerPasswordResetResource.ts +0 -47
- package/src/generated/consumer/ConsumerPaymentByProviderCheckoutResource.ts +0 -36
- package/src/generated/consumer/ConsumerPaymentByProviderPortalResource.ts +0 -34
- package/src/generated/consumer/ConsumerPaymentGroup.ts +0 -35
- package/src/generated/consumer/ConsumerPaymentProviderCheckoutPath.ts +0 -8
- package/src/generated/consumer/ConsumerPaymentProviderPortalPath.ts +0 -8
- package/src/generated/consumer/ConsumerPlanByPlanIdResource.ts +0 -34
- package/src/generated/consumer/ConsumerPlanGroup.ts +0 -34
- package/src/generated/consumer/ConsumerPlanPlan_idPath.ts +0 -8
- package/src/generated/consumer/ConsumerPlanResource.ts +0 -35
- package/src/generated/consumer/ConsumerProviderByProviderResource.ts +0 -36
- package/src/generated/consumer/ConsumerProviderProviderPath.ts +0 -8
- package/src/generated/consumer/ConsumerRegisterResource.ts +0 -34
- package/src/generated/consumer/ConsumerScopeGroup.ts +0 -21
- package/src/generated/consumer/ConsumerScopeResource.ts +0 -35
- package/src/generated/consumer/ConsumerSubscriptionBySubscriptionIdResource.ts +0 -59
- package/src/generated/consumer/ConsumerSubscriptionGroup.ts +0 -34
- package/src/generated/consumer/ConsumerSubscriptionResource.ts +0 -49
- package/src/generated/consumer/ConsumerSubscriptionSubscription_idPath.ts +0 -8
- package/src/generated/consumer/ConsumerTransactionByTransactionIdResource.ts +0 -34
- package/src/generated/consumer/ConsumerTransactionGroup.ts +0 -34
- package/src/generated/consumer/ConsumerTransactionResource.ts +0 -35
- package/src/generated/consumer/ConsumerTransactionTransaction_idPath.ts +0 -8
- package/src/generated/consumer/ConsumerUserGroup.ts +0 -106
- package/src/generated/consumer/Consumer_App.ts +0 -7
- package/src/generated/consumer/Consumer_App_Collection.ts +0 -7
- package/src/generated/consumer/Consumer_App_Create.ts +0 -7
- package/src/generated/consumer/Consumer_App_Update.ts +0 -7
- package/src/generated/consumer/Consumer_Authorize_Meta.ts +0 -7
- package/src/generated/consumer/Consumer_Authorize_Request.ts +0 -7
- package/src/generated/consumer/Consumer_Authorize_Response.ts +0 -7
- package/src/generated/consumer/Consumer_Event_Collection.ts +0 -7
- package/src/generated/consumer/Consumer_Event_Subscription.ts +0 -7
- package/src/generated/consumer/Consumer_Event_Subscription_Collection.ts +0 -7
- package/src/generated/consumer/Consumer_Event_Subscription_Create.ts +0 -7
- package/src/generated/consumer/Consumer_Event_Subscription_Update.ts +0 -7
- package/src/generated/consumer/Consumer_Grant_Collection.ts +0 -7
- package/src/generated/consumer/Consumer_Log.ts +0 -7
- package/src/generated/consumer/Consumer_Log_Collection.ts +0 -7
- package/src/generated/consumer/Consumer_Page.ts +0 -7
- package/src/generated/consumer/Consumer_Page_Collection.ts +0 -7
- package/src/generated/consumer/Consumer_Payment_Checkout_Request.ts +0 -7
- package/src/generated/consumer/Consumer_Payment_Checkout_Response.ts +0 -7
- package/src/generated/consumer/Consumer_Payment_Portal_Response.ts +0 -7
- package/src/generated/consumer/Consumer_Plan.ts +0 -7
- package/src/generated/consumer/Consumer_Plan_Collection.ts +0 -7
- package/src/generated/consumer/Consumer_Scope_Collection.ts +0 -7
- package/src/generated/consumer/Consumer_Transaction.ts +0 -7
- package/src/generated/consumer/Consumer_Transaction_Collection.ts +0 -7
- package/src/generated/consumer/Consumer_User_Account.ts +0 -7
- package/src/generated/consumer/Consumer_User_Activate.ts +0 -7
- package/src/generated/consumer/Consumer_User_Email.ts +0 -7
- package/src/generated/consumer/Consumer_User_JWT.ts +0 -7
- package/src/generated/consumer/Consumer_User_Login.ts +0 -7
- package/src/generated/consumer/Consumer_User_PasswordReset.ts +0 -7
- package/src/generated/consumer/Consumer_User_Provider.ts +0 -7
- package/src/generated/consumer/Consumer_User_Refresh.ts +0 -7
- package/src/generated/consumer/Consumer_User_Register.ts +0 -7
- package/src/generated/consumer/Event.ts +0 -10
- package/src/generated/consumer/Event_Collection.ts +0 -8
- package/src/generated/consumer/Event_Subscription.ts +0 -13
- package/src/generated/consumer/Event_Subscription_Collection.ts +0 -8
- package/src/generated/consumer/Event_Subscription_Create.ts +0 -9
- package/src/generated/consumer/Event_Subscription_Response.ts +0 -11
- package/src/generated/consumer/Event_Subscription_Update.ts +0 -9
- package/src/generated/consumer/Grant.ts +0 -11
- package/src/generated/consumer/Grant_Collection.ts +0 -8
- package/src/generated/consumer/Log.ts +0 -16
- package/src/generated/consumer/Log_Collection.ts +0 -8
- package/src/generated/consumer/Message.ts +0 -9
- package/src/generated/consumer/Page.ts +0 -11
- package/src/generated/consumer/Page_Collection.ts +0 -8
- package/src/generated/consumer/Payment_Checkout_Request.ts +0 -9
- package/src/generated/consumer/Payment_Checkout_Response.ts +0 -8
- package/src/generated/consumer/Payment_Portal_Response.ts +0 -8
- package/src/generated/consumer/Plan.ts +0 -12
- package/src/generated/consumer/Plan_Collection.ts +0 -8
- package/src/generated/consumer/Scope.ts +0 -10
- package/src/generated/consumer/Scope_Collection.ts +0 -8
- package/src/generated/consumer/Transaction.ts +0 -13
- package/src/generated/consumer/Transaction_Collection.ts +0 -8
- package/src/generated/consumer/User_Account.ts +0 -17
- package/src/generated/consumer/User_Activate.ts +0 -8
- package/src/generated/consumer/User_Attributes.ts +0 -6
- package/src/generated/consumer/User_Email.ts +0 -9
- package/src/generated/consumer/User_JWT.ts +0 -10
- package/src/generated/consumer/User_Login.ts +0 -10
- package/src/generated/consumer/User_PasswordReset.ts +0 -9
- package/src/generated/consumer/User_Provider.ts +0 -10
- package/src/generated/consumer/User_Refresh.ts +0 -8
- package/src/generated/consumer/User_Register.ts +0 -11
- package/tsconfig.json +0 -15
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* BackendMarketplaceByAppNameResource 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 {Marketplace_Local_App} from "./Marketplace_Local_App";
|
|
9
|
-
import {Message} from "./Message";
|
|
10
|
-
|
|
11
|
-
export default class BackendMarketplaceByAppNameResource extends ResourceAbstract {
|
|
12
|
-
private url: string;
|
|
13
|
-
|
|
14
|
-
private app_name: string;
|
|
15
|
-
|
|
16
|
-
public constructor(app_name: string, baseUrl: string, httpClient: AxiosInstance) {
|
|
17
|
-
super(baseUrl, httpClient);
|
|
18
|
-
|
|
19
|
-
this.app_name = app_name;
|
|
20
|
-
|
|
21
|
-
this.url = baseUrl + "/backend/marketplace/"+app_name+"";
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* @returns {Promise<AxiosResponse<Marketplace_Local_App>>}
|
|
26
|
-
*/
|
|
27
|
-
public async backendActionMarketplaceGet(): Promise<AxiosResponse<Marketplace_Local_App>> {
|
|
28
|
-
let params: AxiosRequestConfig = {
|
|
29
|
-
method: 'GET',
|
|
30
|
-
};
|
|
31
|
-
|
|
32
|
-
return this.httpClient.get<Marketplace_Local_App>(this.url, params);
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
/**
|
|
36
|
-
* @returns {Promise<AxiosResponse<Message>>}
|
|
37
|
-
*/
|
|
38
|
-
public async backendActionMarketplaceUpdate(): Promise<AxiosResponse<Message>> {
|
|
39
|
-
let params: AxiosRequestConfig = {
|
|
40
|
-
method: 'PUT',
|
|
41
|
-
};
|
|
42
|
-
|
|
43
|
-
return this.httpClient.put<Message>(this.url, null, params);
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
/**
|
|
47
|
-
* @returns {Promise<AxiosResponse<Message>>}
|
|
48
|
-
*/
|
|
49
|
-
public async backendActionMarketplaceRemove(): Promise<AxiosResponse<Message>> {
|
|
50
|
-
let params: AxiosRequestConfig = {
|
|
51
|
-
method: 'DELETE',
|
|
52
|
-
};
|
|
53
|
-
|
|
54
|
-
return this.httpClient.delete(this.url, params);
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* BackendMarketplaceGroup generated on 2022-06-25
|
|
3
|
-
* {@link https://sdkgen.app}
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
import {ResourceAbstract} from "sdkgen-client"
|
|
7
|
-
import BackendMarketplaceByAppNameResource from "./BackendMarketplaceByAppNameResource";
|
|
8
|
-
import BackendMarketplaceResource from "./BackendMarketplaceResource";
|
|
9
|
-
|
|
10
|
-
export default class BackendMarketplaceGroup extends ResourceAbstract {
|
|
11
|
-
/**
|
|
12
|
-
* Endpoint: /backend/marketplace/:app_name
|
|
13
|
-
*/
|
|
14
|
-
public getBackendMarketplaceByAppName(app_name: string): BackendMarketplaceByAppNameResource
|
|
15
|
-
{
|
|
16
|
-
return new BackendMarketplaceByAppNameResource(
|
|
17
|
-
app_name,
|
|
18
|
-
this.baseUrl,
|
|
19
|
-
this.httpClient
|
|
20
|
-
);
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* Endpoint: /backend/marketplace
|
|
25
|
-
*/
|
|
26
|
-
public getBackendMarketplace(): BackendMarketplaceResource
|
|
27
|
-
{
|
|
28
|
-
return new BackendMarketplaceResource(
|
|
29
|
-
this.baseUrl,
|
|
30
|
-
this.httpClient
|
|
31
|
-
);
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
}
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* BackendMarketplaceResource 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 {Marketplace_Collection} from "./Marketplace_Collection";
|
|
9
|
-
import {Marketplace_Install} from "./Marketplace_Install";
|
|
10
|
-
|
|
11
|
-
export default class BackendMarketplaceResource 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/marketplace";
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
/**
|
|
23
|
-
* @returns {Promise<AxiosResponse<Marketplace_Collection>>}
|
|
24
|
-
*/
|
|
25
|
-
public async backendActionMarketplaceGetAll(): Promise<AxiosResponse<Marketplace_Collection>> {
|
|
26
|
-
let params: AxiosRequestConfig = {
|
|
27
|
-
method: 'GET',
|
|
28
|
-
};
|
|
29
|
-
|
|
30
|
-
return this.httpClient.get<Marketplace_Collection>(this.url, params);
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
/**
|
|
34
|
-
* @param {Marketplace_Install} data
|
|
35
|
-
* @returns {Promise<AxiosResponse<Marketplace_Install>>}
|
|
36
|
-
*/
|
|
37
|
-
public async backendActionMarketplaceInstall(data: Marketplace_Install): Promise<AxiosResponse<Marketplace_Install>> {
|
|
38
|
-
let params: AxiosRequestConfig = {
|
|
39
|
-
method: 'POST',
|
|
40
|
-
};
|
|
41
|
-
|
|
42
|
-
return this.httpClient.post<Marketplace_Install>(this.url, data, params);
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* BackendPageByPageIdResource 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 {Page} from "./Page";
|
|
9
|
-
import {Page_Update} from "./Page_Update";
|
|
10
|
-
import {Message} from "./Message";
|
|
11
|
-
|
|
12
|
-
export default class BackendPageByPageIdResource extends ResourceAbstract {
|
|
13
|
-
private url: string;
|
|
14
|
-
|
|
15
|
-
private page_id: string;
|
|
16
|
-
|
|
17
|
-
public constructor(page_id: string, baseUrl: string, httpClient: AxiosInstance) {
|
|
18
|
-
super(baseUrl, httpClient);
|
|
19
|
-
|
|
20
|
-
this.page_id = page_id;
|
|
21
|
-
|
|
22
|
-
this.url = baseUrl + "/backend/page/"+page_id+"";
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
/**
|
|
26
|
-
* @returns {Promise<AxiosResponse<Page>>}
|
|
27
|
-
*/
|
|
28
|
-
public async backendActionPageGet(): Promise<AxiosResponse<Page>> {
|
|
29
|
-
let params: AxiosRequestConfig = {
|
|
30
|
-
method: 'GET',
|
|
31
|
-
};
|
|
32
|
-
|
|
33
|
-
return this.httpClient.get<Page>(this.url, params);
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
/**
|
|
37
|
-
* @param {Page_Update} data
|
|
38
|
-
* @returns {Promise<AxiosResponse<Message>>}
|
|
39
|
-
*/
|
|
40
|
-
public async backendActionPageUpdate(data: Page_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 backendActionPageDelete(): Promise<AxiosResponse<Message>> {
|
|
52
|
-
let params: AxiosRequestConfig = {
|
|
53
|
-
method: 'DELETE',
|
|
54
|
-
};
|
|
55
|
-
|
|
56
|
-
return this.httpClient.delete(this.url, params);
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* BackendPageGroup generated on 2022-06-25
|
|
3
|
-
* {@link https://sdkgen.app}
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
import {ResourceAbstract} from "sdkgen-client"
|
|
7
|
-
import BackendPageByPageIdResource from "./BackendPageByPageIdResource";
|
|
8
|
-
import BackendPageResource from "./BackendPageResource";
|
|
9
|
-
|
|
10
|
-
export default class BackendPageGroup extends ResourceAbstract {
|
|
11
|
-
/**
|
|
12
|
-
* Endpoint: /backend/page/$page_id<[0-9]+|^~>
|
|
13
|
-
*/
|
|
14
|
-
public getBackendPageByPageId(page_id: string): BackendPageByPageIdResource
|
|
15
|
-
{
|
|
16
|
-
return new BackendPageByPageIdResource(
|
|
17
|
-
page_id,
|
|
18
|
-
this.baseUrl,
|
|
19
|
-
this.httpClient
|
|
20
|
-
);
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* Endpoint: /backend/page
|
|
25
|
-
*/
|
|
26
|
-
public getBackendPage(): BackendPageResource
|
|
27
|
-
{
|
|
28
|
-
return new BackendPageResource(
|
|
29
|
-
this.baseUrl,
|
|
30
|
-
this.httpClient
|
|
31
|
-
);
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
}
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* BackendPageResource 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 {Page_Collection} from "./Page_Collection";
|
|
10
|
-
import {Page_Create} from "./Page_Create";
|
|
11
|
-
import {Message} from "./Message";
|
|
12
|
-
|
|
13
|
-
export default class BackendPageResource 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/page";
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* @param {Collection_Query} query
|
|
26
|
-
* @returns {Promise<AxiosResponse<Page_Collection>>}
|
|
27
|
-
*/
|
|
28
|
-
public async backendActionPageGetAll(query?: Collection_Query): Promise<AxiosResponse<Page_Collection>> {
|
|
29
|
-
let params: AxiosRequestConfig = {
|
|
30
|
-
method: 'GET',
|
|
31
|
-
params: query,
|
|
32
|
-
};
|
|
33
|
-
|
|
34
|
-
return this.httpClient.get<Page_Collection>(this.url, params);
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
/**
|
|
38
|
-
* @param {Page_Create} data
|
|
39
|
-
* @returns {Promise<AxiosResponse<Message>>}
|
|
40
|
-
*/
|
|
41
|
-
public async backendActionPageCreate(data: Page_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,59 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* BackendPlanByPlanIdResource 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 {Plan} from "./Plan";
|
|
9
|
-
import {Plan_Update} from "./Plan_Update";
|
|
10
|
-
import {Message} from "./Message";
|
|
11
|
-
|
|
12
|
-
export default class BackendPlanByPlanIdResource extends ResourceAbstract {
|
|
13
|
-
private url: string;
|
|
14
|
-
|
|
15
|
-
private plan_id: string;
|
|
16
|
-
|
|
17
|
-
public constructor(plan_id: string, baseUrl: string, httpClient: AxiosInstance) {
|
|
18
|
-
super(baseUrl, httpClient);
|
|
19
|
-
|
|
20
|
-
this.plan_id = plan_id;
|
|
21
|
-
|
|
22
|
-
this.url = baseUrl + "/backend/plan/"+plan_id+"";
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
/**
|
|
26
|
-
* @returns {Promise<AxiosResponse<Plan>>}
|
|
27
|
-
*/
|
|
28
|
-
public async backendActionPlanGet(): Promise<AxiosResponse<Plan>> {
|
|
29
|
-
let params: AxiosRequestConfig = {
|
|
30
|
-
method: 'GET',
|
|
31
|
-
};
|
|
32
|
-
|
|
33
|
-
return this.httpClient.get<Plan>(this.url, params);
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
/**
|
|
37
|
-
* @param {Plan_Update} data
|
|
38
|
-
* @returns {Promise<AxiosResponse<Message>>}
|
|
39
|
-
*/
|
|
40
|
-
public async backendActionPlanUpdate(data: Plan_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 backendActionPlanDelete(): Promise<AxiosResponse<Message>> {
|
|
52
|
-
let params: AxiosRequestConfig = {
|
|
53
|
-
method: 'DELETE',
|
|
54
|
-
};
|
|
55
|
-
|
|
56
|
-
return this.httpClient.delete(this.url, params);
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* BackendPlanGroup generated on 2022-06-25
|
|
3
|
-
* {@link https://sdkgen.app}
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
import {ResourceAbstract} from "sdkgen-client"
|
|
7
|
-
import BackendPlanByPlanIdResource from "./BackendPlanByPlanIdResource";
|
|
8
|
-
import BackendPlanResource from "./BackendPlanResource";
|
|
9
|
-
|
|
10
|
-
export default class BackendPlanGroup extends ResourceAbstract {
|
|
11
|
-
/**
|
|
12
|
-
* Endpoint: /backend/plan/$plan_id<[0-9]+|^~>
|
|
13
|
-
*/
|
|
14
|
-
public getBackendPlanByPlanId(plan_id: string): BackendPlanByPlanIdResource
|
|
15
|
-
{
|
|
16
|
-
return new BackendPlanByPlanIdResource(
|
|
17
|
-
plan_id,
|
|
18
|
-
this.baseUrl,
|
|
19
|
-
this.httpClient
|
|
20
|
-
);
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* Endpoint: /backend/plan
|
|
25
|
-
*/
|
|
26
|
-
public getBackendPlan(): BackendPlanResource
|
|
27
|
-
{
|
|
28
|
-
return new BackendPlanResource(
|
|
29
|
-
this.baseUrl,
|
|
30
|
-
this.httpClient
|
|
31
|
-
);
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
}
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* BackendPlanResource 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 {Plan_Collection} from "./Plan_Collection";
|
|
10
|
-
import {Plan_Create} from "./Plan_Create";
|
|
11
|
-
import {Message} from "./Message";
|
|
12
|
-
|
|
13
|
-
export default class BackendPlanResource 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/plan";
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* @param {Collection_Query} query
|
|
26
|
-
* @returns {Promise<AxiosResponse<Plan_Collection>>}
|
|
27
|
-
*/
|
|
28
|
-
public async backendActionPlanGetAll(query?: Collection_Query): Promise<AxiosResponse<Plan_Collection>> {
|
|
29
|
-
let params: AxiosRequestConfig = {
|
|
30
|
-
method: 'GET',
|
|
31
|
-
params: query,
|
|
32
|
-
};
|
|
33
|
-
|
|
34
|
-
return this.httpClient.get<Plan_Collection>(this.url, params);
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
/**
|
|
38
|
-
* @param {Plan_Create} data
|
|
39
|
-
* @returns {Promise<AxiosResponse<Message>>}
|
|
40
|
-
*/
|
|
41
|
-
public async backendActionPlanCreate(data: Plan_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,59 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* BackendRateByRateIdResource 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 {Rate} from "./Rate";
|
|
9
|
-
import {Rate_Update} from "./Rate_Update";
|
|
10
|
-
import {Message} from "./Message";
|
|
11
|
-
|
|
12
|
-
export default class BackendRateByRateIdResource extends ResourceAbstract {
|
|
13
|
-
private url: string;
|
|
14
|
-
|
|
15
|
-
private rate_id: string;
|
|
16
|
-
|
|
17
|
-
public constructor(rate_id: string, baseUrl: string, httpClient: AxiosInstance) {
|
|
18
|
-
super(baseUrl, httpClient);
|
|
19
|
-
|
|
20
|
-
this.rate_id = rate_id;
|
|
21
|
-
|
|
22
|
-
this.url = baseUrl + "/backend/rate/"+rate_id+"";
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
/**
|
|
26
|
-
* @returns {Promise<AxiosResponse<Rate>>}
|
|
27
|
-
*/
|
|
28
|
-
public async backendActionRateGet(): Promise<AxiosResponse<Rate>> {
|
|
29
|
-
let params: AxiosRequestConfig = {
|
|
30
|
-
method: 'GET',
|
|
31
|
-
};
|
|
32
|
-
|
|
33
|
-
return this.httpClient.get<Rate>(this.url, params);
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
/**
|
|
37
|
-
* @param {Rate_Update} data
|
|
38
|
-
* @returns {Promise<AxiosResponse<Message>>}
|
|
39
|
-
*/
|
|
40
|
-
public async backendActionRateUpdate(data: Rate_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 backendActionRateDelete(): Promise<AxiosResponse<Message>> {
|
|
52
|
-
let params: AxiosRequestConfig = {
|
|
53
|
-
method: 'DELETE',
|
|
54
|
-
};
|
|
55
|
-
|
|
56
|
-
return this.httpClient.delete(this.url, params);
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* BackendRateGroup generated on 2022-06-25
|
|
3
|
-
* {@link https://sdkgen.app}
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
import {ResourceAbstract} from "sdkgen-client"
|
|
7
|
-
import BackendRateByRateIdResource from "./BackendRateByRateIdResource";
|
|
8
|
-
import BackendRateResource from "./BackendRateResource";
|
|
9
|
-
|
|
10
|
-
export default class BackendRateGroup extends ResourceAbstract {
|
|
11
|
-
/**
|
|
12
|
-
* Endpoint: /backend/rate/$rate_id<[0-9]+|^~>
|
|
13
|
-
*/
|
|
14
|
-
public getBackendRateByRateId(rate_id: string): BackendRateByRateIdResource
|
|
15
|
-
{
|
|
16
|
-
return new BackendRateByRateIdResource(
|
|
17
|
-
rate_id,
|
|
18
|
-
this.baseUrl,
|
|
19
|
-
this.httpClient
|
|
20
|
-
);
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* Endpoint: /backend/rate
|
|
25
|
-
*/
|
|
26
|
-
public getBackendRate(): BackendRateResource
|
|
27
|
-
{
|
|
28
|
-
return new BackendRateResource(
|
|
29
|
-
this.baseUrl,
|
|
30
|
-
this.httpClient
|
|
31
|
-
);
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
}
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* BackendRateResource 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 {Rate_Collection} from "./Rate_Collection";
|
|
10
|
-
import {Rate_Create} from "./Rate_Create";
|
|
11
|
-
import {Message} from "./Message";
|
|
12
|
-
|
|
13
|
-
export default class BackendRateResource 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/rate";
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* @param {Collection_Query} query
|
|
26
|
-
* @returns {Promise<AxiosResponse<Rate_Collection>>}
|
|
27
|
-
*/
|
|
28
|
-
public async backendActionRateGetAll(query?: Collection_Query): Promise<AxiosResponse<Rate_Collection>> {
|
|
29
|
-
let params: AxiosRequestConfig = {
|
|
30
|
-
method: 'GET',
|
|
31
|
-
params: query,
|
|
32
|
-
};
|
|
33
|
-
|
|
34
|
-
return this.httpClient.get<Rate_Collection>(this.url, params);
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
/**
|
|
38
|
-
* @param {Rate_Create} data
|
|
39
|
-
* @returns {Promise<AxiosResponse<Message>>}
|
|
40
|
-
*/
|
|
41
|
-
public async backendActionRateCreate(data: Rate_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,59 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* BackendRoleByRoleIdResource 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 {Role} from "./Role";
|
|
9
|
-
import {Role_Update} from "./Role_Update";
|
|
10
|
-
import {Message} from "./Message";
|
|
11
|
-
|
|
12
|
-
export default class BackendRoleByRoleIdResource extends ResourceAbstract {
|
|
13
|
-
private url: string;
|
|
14
|
-
|
|
15
|
-
private role_id: string;
|
|
16
|
-
|
|
17
|
-
public constructor(role_id: string, baseUrl: string, httpClient: AxiosInstance) {
|
|
18
|
-
super(baseUrl, httpClient);
|
|
19
|
-
|
|
20
|
-
this.role_id = role_id;
|
|
21
|
-
|
|
22
|
-
this.url = baseUrl + "/backend/role/"+role_id+"";
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
/**
|
|
26
|
-
* @returns {Promise<AxiosResponse<Role>>}
|
|
27
|
-
*/
|
|
28
|
-
public async backendActionRoleGet(): Promise<AxiosResponse<Role>> {
|
|
29
|
-
let params: AxiosRequestConfig = {
|
|
30
|
-
method: 'GET',
|
|
31
|
-
};
|
|
32
|
-
|
|
33
|
-
return this.httpClient.get<Role>(this.url, params);
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
/**
|
|
37
|
-
* @param {Role_Update} data
|
|
38
|
-
* @returns {Promise<AxiosResponse<Message>>}
|
|
39
|
-
*/
|
|
40
|
-
public async backendActionRoleUpdate(data: Role_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 backendActionRoleDelete(): Promise<AxiosResponse<Message>> {
|
|
52
|
-
let params: AxiosRequestConfig = {
|
|
53
|
-
method: 'DELETE',
|
|
54
|
-
};
|
|
55
|
-
|
|
56
|
-
return this.httpClient.delete(this.url, params);
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
}
|