fusio-sdk 2.1.1 → 2.1.2
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/dist/index.js +2 -18
- package/dist/src/Client.js +8 -14
- package/dist/src/Util.js +1 -4
- package/dist/src/generated/backend/Account_ChangePassword.js +1 -2
- package/dist/src/generated/backend/Action.js +1 -2
- package/dist/src/generated/backend/Action_Collection.js +1 -2
- package/dist/src/generated/backend/Action_Config.js +1 -2
- package/dist/src/generated/backend/Action_Create.js +1 -2
- package/dist/src/generated/backend/Action_Execute_Request.js +1 -2
- package/dist/src/generated/backend/Action_Execute_Request_Body.js +1 -2
- package/dist/src/generated/backend/Action_Execute_Response.js +1 -2
- package/dist/src/generated/backend/Action_Execute_Response_Body.js +1 -2
- package/dist/src/generated/backend/Action_Execute_Response_Headers.js +1 -2
- package/dist/src/generated/backend/Action_Index.js +1 -2
- package/dist/src/generated/backend/Action_Index_Entry.js +1 -2
- package/dist/src/generated/backend/Action_Update.js +1 -2
- package/dist/src/generated/backend/App.js +1 -2
- package/dist/src/generated/backend/App_Collection.js +1 -2
- package/dist/src/generated/backend/App_Create.js +1 -2
- package/dist/src/generated/backend/App_Token.js +1 -2
- package/dist/src/generated/backend/App_Token_Collection.js +1 -2
- package/dist/src/generated/backend/App_Token_Collection_Query.js +1 -2
- package/dist/src/generated/backend/App_Update.js +1 -2
- package/dist/src/generated/backend/Audit.js +1 -2
- package/dist/src/generated/backend/Audit_Collection.js +1 -2
- package/dist/src/generated/backend/Audit_Collection_Query.js +1 -2
- package/dist/src/generated/backend/Audit_Object.js +1 -2
- package/dist/src/generated/backend/BackendAccountChangePasswordResource.js +2 -5
- package/dist/src/generated/backend/BackendAccountGroup.js +6 -12
- package/dist/src/generated/backend/BackendAccountResource.js +2 -5
- package/dist/src/generated/backend/BackendActionByActionIdResource.js +2 -5
- package/dist/src/generated/backend/BackendActionExecuteByActionIdResource.js +2 -5
- package/dist/src/generated/backend/BackendActionFormResource.js +2 -5
- package/dist/src/generated/backend/BackendActionGroup.js +12 -18
- package/dist/src/generated/backend/BackendActionListResource.js +2 -5
- package/dist/src/generated/backend/BackendActionResource.js +2 -5
- package/dist/src/generated/backend/BackendAppByAppIdResource.js +2 -5
- package/dist/src/generated/backend/BackendAppByAppIdTokenAndTokenIdResource.js +2 -5
- package/dist/src/generated/backend/BackendAppGroup.js +12 -18
- package/dist/src/generated/backend/BackendAppResource.js +2 -5
- package/dist/src/generated/backend/BackendAppTokenByTokenIdResource.js +2 -5
- package/dist/src/generated/backend/BackendAppTokenResource.js +2 -5
- package/dist/src/generated/backend/BackendAuditByAuditIdResource.js +2 -5
- package/dist/src/generated/backend/BackendAuditGroup.js +6 -12
- package/dist/src/generated/backend/BackendAuditResource.js +2 -5
- package/dist/src/generated/backend/BackendCategoryByCategoryIdResource.js +2 -5
- package/dist/src/generated/backend/BackendCategoryGroup.js +6 -12
- package/dist/src/generated/backend/BackendCategoryResource.js +2 -5
- package/dist/src/generated/backend/BackendConfigByConfigIdResource.js +2 -5
- package/dist/src/generated/backend/BackendConfigGroup.js +6 -12
- package/dist/src/generated/backend/BackendConfigResource.js +2 -5
- package/dist/src/generated/backend/BackendConnectionByConnectionIdRedirectResource.js +2 -5
- package/dist/src/generated/backend/BackendConnectionByConnectionIdResource.js +2 -5
- package/dist/src/generated/backend/BackendConnectionFormResource.js +2 -5
- package/dist/src/generated/backend/BackendConnectionGroup.js +12 -18
- package/dist/src/generated/backend/BackendConnectionListResource.js +2 -5
- package/dist/src/generated/backend/BackendConnectionResource.js +2 -5
- package/dist/src/generated/backend/BackendCronjobByCronjobIdResource.js +2 -5
- package/dist/src/generated/backend/BackendCronjobGroup.js +6 -12
- package/dist/src/generated/backend/BackendCronjobResource.js +2 -5
- package/dist/src/generated/backend/BackendDashboardGroup.js +4 -10
- package/dist/src/generated/backend/BackendDashboardResource.js +2 -5
- package/dist/src/generated/backend/BackendEventByEventIdResource.js +2 -5
- package/dist/src/generated/backend/BackendEventGroup.js +10 -16
- package/dist/src/generated/backend/BackendEventResource.js +2 -5
- package/dist/src/generated/backend/BackendEventSubscriptionBySubscriptionIdResource.js +2 -5
- package/dist/src/generated/backend/BackendEventSubscriptionResource.js +2 -5
- package/dist/src/generated/backend/BackendLogByLogIdResource.js +2 -5
- package/dist/src/generated/backend/BackendLogErrorByErrorIdResource.js +2 -5
- package/dist/src/generated/backend/BackendLogErrorResource.js +2 -5
- package/dist/src/generated/backend/BackendLogGroup.js +10 -16
- package/dist/src/generated/backend/BackendLogResource.js +2 -5
- package/dist/src/generated/backend/BackendMarketplaceByAppNameResource.js +2 -5
- package/dist/src/generated/backend/BackendMarketplaceGroup.js +6 -12
- package/dist/src/generated/backend/BackendMarketplaceResource.js +2 -5
- package/dist/src/generated/backend/BackendPageByPageIdResource.js +2 -5
- package/dist/src/generated/backend/BackendPageGroup.js +6 -12
- package/dist/src/generated/backend/BackendPageResource.js +2 -5
- package/dist/src/generated/backend/BackendPlanByPlanIdResource.js +2 -5
- package/dist/src/generated/backend/BackendPlanGroup.js +6 -12
- package/dist/src/generated/backend/BackendPlanResource.js +2 -5
- package/dist/src/generated/backend/BackendRateByRateIdResource.js +2 -5
- package/dist/src/generated/backend/BackendRateGroup.js +6 -12
- package/dist/src/generated/backend/BackendRateResource.js +2 -5
- package/dist/src/generated/backend/BackendRoleByRoleIdResource.js +2 -5
- package/dist/src/generated/backend/BackendRoleGroup.js +6 -12
- package/dist/src/generated/backend/BackendRoleResource.js +2 -5
- package/dist/src/generated/backend/BackendRouteGroup.js +10 -16
- package/dist/src/generated/backend/BackendRoutesByRouteIdResource.js +2 -5
- package/dist/src/generated/backend/BackendRoutesProviderByProviderResource.js +2 -5
- package/dist/src/generated/backend/BackendRoutesProviderResource.js +2 -5
- package/dist/src/generated/backend/BackendRoutesResource.js +2 -5
- package/dist/src/generated/backend/BackendSchemaBySchemaIdResource.js +2 -5
- package/dist/src/generated/backend/BackendSchemaFormBySchemaIdResource.js +2 -5
- package/dist/src/generated/backend/BackendSchemaGroup.js +10 -16
- package/dist/src/generated/backend/BackendSchemaPreviewBySchemaIdResource.js +2 -5
- package/dist/src/generated/backend/BackendSchemaResource.js +2 -5
- package/dist/src/generated/backend/BackendScopeByScopeIdResource.js +2 -5
- package/dist/src/generated/backend/BackendScopeCategoriesResource.js +2 -5
- package/dist/src/generated/backend/BackendScopeGroup.js +8 -14
- package/dist/src/generated/backend/BackendScopeResource.js +2 -5
- package/dist/src/generated/backend/BackendSdkGroup.js +4 -10
- package/dist/src/generated/backend/BackendSdkResource.js +2 -5
- package/dist/src/generated/backend/BackendStatisticCountRequestsResource.js +2 -5
- package/dist/src/generated/backend/BackendStatisticErrorsPerRouteResource.js +2 -5
- package/dist/src/generated/backend/BackendStatisticGroup.js +22 -28
- package/dist/src/generated/backend/BackendStatisticIncomingRequestsResource.js +2 -5
- package/dist/src/generated/backend/BackendStatisticIncomingTransactionsResource.js +2 -5
- package/dist/src/generated/backend/BackendStatisticIssuedTokensResource.js +2 -5
- package/dist/src/generated/backend/BackendStatisticMostUsedAppsResource.js +2 -5
- package/dist/src/generated/backend/BackendStatisticMostUsedRoutesResource.js +2 -5
- package/dist/src/generated/backend/BackendStatisticTimeAverageResource.js +2 -5
- package/dist/src/generated/backend/BackendStatisticTimePerRouteResource.js +2 -5
- package/dist/src/generated/backend/BackendStatisticUsedPointsResource.js +2 -5
- package/dist/src/generated/backend/BackendTransactionByTransactionIdResource.js +2 -5
- package/dist/src/generated/backend/BackendTransactionGroup.js +6 -12
- package/dist/src/generated/backend/BackendTransactionResource.js +2 -5
- package/dist/src/generated/backend/BackendTrashByTypeResource.js +2 -5
- package/dist/src/generated/backend/BackendTrashGroup.js +6 -12
- package/dist/src/generated/backend/BackendTrashResource.js +2 -5
- package/dist/src/generated/backend/BackendUserByUserIdResource.js +2 -5
- package/dist/src/generated/backend/BackendUserGroup.js +6 -12
- package/dist/src/generated/backend/BackendUserResource.js +2 -5
- package/dist/src/generated/backend/Backend_App_Token_Collection_Query.js +1 -2
- package/dist/src/generated/backend/Backend_Audit_Collection_Query.js +1 -2
- package/dist/src/generated/backend/Backend_Log_Collection_Query.js +1 -2
- package/dist/src/generated/backend/Backend_Plan_Usage_Collection_Query.js +1 -2
- package/dist/src/generated/backend/Backend_Transaction_Collection_Query.js +1 -2
- package/dist/src/generated/backend/Category.js +1 -2
- package/dist/src/generated/backend/Category_Collection.js +1 -2
- package/dist/src/generated/backend/Category_Create.js +1 -2
- package/dist/src/generated/backend/Category_Update.js +1 -2
- package/dist/src/generated/backend/Client.js +50 -56
- package/dist/src/generated/backend/Collection.js +1 -2
- package/dist/src/generated/backend/Collection_Category_Query.js +1 -2
- package/dist/src/generated/backend/Collection_Query.js +1 -2
- package/dist/src/generated/backend/Config.js +1 -2
- package/dist/src/generated/backend/Config_Collection.js +1 -2
- package/dist/src/generated/backend/Config_Update.js +1 -2
- package/dist/src/generated/backend/Connection.js +1 -2
- package/dist/src/generated/backend/Connection_Collection.js +1 -2
- package/dist/src/generated/backend/Connection_Config.js +1 -2
- package/dist/src/generated/backend/Connection_Create.js +1 -2
- package/dist/src/generated/backend/Connection_Index.js +1 -2
- package/dist/src/generated/backend/Connection_Index_Entry.js +1 -2
- package/dist/src/generated/backend/Connection_Update.js +1 -2
- package/dist/src/generated/backend/Cronjob.js +1 -2
- package/dist/src/generated/backend/Cronjob_Collection.js +1 -2
- package/dist/src/generated/backend/Cronjob_Create.js +1 -2
- package/dist/src/generated/backend/Cronjob_Error.js +1 -2
- package/dist/src/generated/backend/Cronjob_Update.js +1 -2
- package/dist/src/generated/backend/Dashboard.js +1 -2
- package/dist/src/generated/backend/Dashboard_App.js +1 -2
- package/dist/src/generated/backend/Dashboard_Apps.js +1 -2
- package/dist/src/generated/backend/Dashboard_Request.js +1 -2
- package/dist/src/generated/backend/Dashboard_Requests.js +1 -2
- package/dist/src/generated/backend/Dashboard_Transaction.js +1 -2
- package/dist/src/generated/backend/Dashboard_Transactions.js +1 -2
- package/dist/src/generated/backend/Dashboard_User.js +1 -2
- package/dist/src/generated/backend/Dashboard_Users.js +1 -2
- package/dist/src/generated/backend/Event.js +1 -2
- package/dist/src/generated/backend/Event_Collection.js +1 -2
- package/dist/src/generated/backend/Event_Create.js +1 -2
- package/dist/src/generated/backend/Event_Subscription.js +1 -2
- package/dist/src/generated/backend/Event_Subscription_Collection.js +1 -2
- package/dist/src/generated/backend/Event_Subscription_Create.js +1 -2
- package/dist/src/generated/backend/Event_Subscription_Update.js +1 -2
- package/dist/src/generated/backend/Event_Update.js +1 -2
- package/dist/src/generated/backend/Form_Container.js +1 -2
- package/dist/src/generated/backend/Form_Element.js +1 -2
- package/dist/src/generated/backend/Form_Element_Input.js +1 -2
- package/dist/src/generated/backend/Form_Element_Select.js +1 -2
- package/dist/src/generated/backend/Form_Element_Select_Option.js +1 -2
- package/dist/src/generated/backend/Form_Element_Tag.js +1 -2
- package/dist/src/generated/backend/Form_Element_TextArea.js +1 -2
- package/dist/src/generated/backend/Form_Query.js +1 -2
- package/dist/src/generated/backend/Log.js +1 -2
- package/dist/src/generated/backend/Log_Collection.js +1 -2
- package/dist/src/generated/backend/Log_Collection_Query.js +1 -2
- package/dist/src/generated/backend/Log_Error.js +1 -2
- package/dist/src/generated/backend/Log_Error_Collection.js +1 -2
- package/dist/src/generated/backend/Marketplace_App.js +1 -2
- package/dist/src/generated/backend/Marketplace_Collection.js +1 -2
- package/dist/src/generated/backend/Marketplace_Collection_Apps.js +1 -2
- package/dist/src/generated/backend/Marketplace_Install.js +1 -2
- package/dist/src/generated/backend/Marketplace_Local_App.js +1 -2
- package/dist/src/generated/backend/Marketplace_Remote_App.js +1 -2
- package/dist/src/generated/backend/Message.js +1 -2
- package/dist/src/generated/backend/Page.js +1 -2
- package/dist/src/generated/backend/Page_Collection.js +1 -2
- package/dist/src/generated/backend/Page_Create.js +1 -2
- package/dist/src/generated/backend/Page_Update.js +1 -2
- package/dist/src/generated/backend/Plan.js +1 -2
- package/dist/src/generated/backend/Plan_Collection.js +1 -2
- package/dist/src/generated/backend/Plan_Create.js +1 -2
- package/dist/src/generated/backend/Plan_Update.js +1 -2
- package/dist/src/generated/backend/Plan_Usage_Collection_Query.js +1 -2
- package/dist/src/generated/backend/Rate.js +1 -2
- package/dist/src/generated/backend/Rate_Allocation.js +1 -2
- package/dist/src/generated/backend/Rate_Collection.js +1 -2
- package/dist/src/generated/backend/Rate_Create.js +1 -2
- package/dist/src/generated/backend/Rate_Update.js +1 -2
- package/dist/src/generated/backend/Role.js +1 -2
- package/dist/src/generated/backend/Role_Collection.js +1 -2
- package/dist/src/generated/backend/Role_Create.js +1 -2
- package/dist/src/generated/backend/Role_Update.js +1 -2
- package/dist/src/generated/backend/Route.js +1 -2
- package/dist/src/generated/backend/Route_Collection.js +1 -2
- package/dist/src/generated/backend/Route_Create.js +1 -2
- package/dist/src/generated/backend/Route_Index_Providers.js +1 -2
- package/dist/src/generated/backend/Route_Method.js +1 -2
- package/dist/src/generated/backend/Route_Method_Responses.js +1 -2
- package/dist/src/generated/backend/Route_Methods.js +1 -2
- package/dist/src/generated/backend/Route_Provider.js +1 -2
- package/dist/src/generated/backend/Route_Provider_Changelog.js +1 -2
- package/dist/src/generated/backend/Route_Provider_Config.js +1 -2
- package/dist/src/generated/backend/Route_Update.js +1 -2
- package/dist/src/generated/backend/Route_Version.js +1 -2
- package/dist/src/generated/backend/Schema.js +1 -2
- package/dist/src/generated/backend/Schema_Collection.js +1 -2
- package/dist/src/generated/backend/Schema_Create.js +1 -2
- package/dist/src/generated/backend/Schema_Form.js +1 -2
- package/dist/src/generated/backend/Schema_Preview_Response.js +1 -2
- package/dist/src/generated/backend/Schema_Source.js +1 -2
- package/dist/src/generated/backend/Schema_Update.js +1 -2
- package/dist/src/generated/backend/Scope.js +1 -2
- package/dist/src/generated/backend/Scope_Categories.js +1 -2
- package/dist/src/generated/backend/Scope_Category.js +1 -2
- package/dist/src/generated/backend/Scope_Category_Scope.js +1 -2
- package/dist/src/generated/backend/Scope_Collection.js +1 -2
- package/dist/src/generated/backend/Scope_Create.js +1 -2
- package/dist/src/generated/backend/Scope_Route.js +1 -2
- package/dist/src/generated/backend/Scope_Update.js +1 -2
- package/dist/src/generated/backend/Sdk_Generate.js +1 -2
- package/dist/src/generated/backend/Sdk_Response.js +1 -2
- package/dist/src/generated/backend/Sdk_Types.js +1 -2
- package/dist/src/generated/backend/Statistic_Chart.js +1 -2
- package/dist/src/generated/backend/Statistic_Chart_Data.js +1 -2
- package/dist/src/generated/backend/Statistic_Count.js +1 -2
- package/dist/src/generated/backend/Transaction.js +1 -2
- package/dist/src/generated/backend/Transaction_Collection.js +1 -2
- package/dist/src/generated/backend/Transaction_Collection_Query.js +1 -2
- package/dist/src/generated/backend/Trash_Data.js +1 -2
- package/dist/src/generated/backend/Trash_Data_Collection.js +1 -2
- package/dist/src/generated/backend/Trash_Types.js +1 -2
- package/dist/src/generated/backend/User.js +1 -2
- package/dist/src/generated/backend/User_Attributes.js +1 -2
- package/dist/src/generated/backend/User_Collection.js +1 -2
- package/dist/src/generated/backend/User_Create.js +1 -2
- package/dist/src/generated/backend/User_Update.js +1 -2
- package/dist/src/generated/consumer/Account_ChangePassword.js +1 -2
- package/dist/src/generated/consumer/App.js +1 -2
- package/dist/src/generated/consumer/App_Collection.js +1 -2
- package/dist/src/generated/consumer/App_Create.js +1 -2
- package/dist/src/generated/consumer/App_Update.js +1 -2
- package/dist/src/generated/consumer/Authorize_Meta.js +1 -2
- package/dist/src/generated/consumer/Authorize_Request.js +1 -2
- package/dist/src/generated/consumer/Authorize_Response.js +1 -2
- package/dist/src/generated/consumer/Authorize_Response_Token.js +1 -2
- package/dist/src/generated/consumer/Client.js +24 -30
- package/dist/src/generated/consumer/Collection.js +1 -2
- package/dist/src/generated/consumer/Collection_Query.js +1 -2
- package/dist/src/generated/consumer/ConsumerAccountChangePasswordResource.js +2 -5
- package/dist/src/generated/consumer/ConsumerAccountResource.js +2 -5
- package/dist/src/generated/consumer/ConsumerActivateResource.js +2 -5
- package/dist/src/generated/consumer/ConsumerAppByAppIdResource.js +2 -5
- package/dist/src/generated/consumer/ConsumerAppGroup.js +6 -12
- package/dist/src/generated/consumer/ConsumerAppResource.js +2 -5
- package/dist/src/generated/consumer/ConsumerAuthorizeResource.js +2 -5
- package/dist/src/generated/consumer/ConsumerEventGroup.js +4 -10
- package/dist/src/generated/consumer/ConsumerEventResource.js +2 -5
- package/dist/src/generated/consumer/ConsumerGrantByGrantIdResource.js +2 -5
- package/dist/src/generated/consumer/ConsumerGrantGroup.js +6 -12
- package/dist/src/generated/consumer/ConsumerGrantResource.js +2 -5
- package/dist/src/generated/consumer/ConsumerLogByLogIdResource.js +2 -5
- package/dist/src/generated/consumer/ConsumerLogGroup.js +6 -12
- package/dist/src/generated/consumer/ConsumerLogResource.js +2 -5
- package/dist/src/generated/consumer/ConsumerLoginResource.js +2 -5
- package/dist/src/generated/consumer/ConsumerPageByPageIdResource.js +2 -5
- package/dist/src/generated/consumer/ConsumerPageGroup.js +6 -12
- package/dist/src/generated/consumer/ConsumerPageResource.js +2 -5
- package/dist/src/generated/consumer/ConsumerPasswordResetResource.js +2 -5
- package/dist/src/generated/consumer/ConsumerPaymentByProviderCheckoutResource.js +2 -5
- package/dist/src/generated/consumer/ConsumerPaymentByProviderPortalResource.js +2 -5
- package/dist/src/generated/consumer/ConsumerPaymentGroup.js +6 -12
- package/dist/src/generated/consumer/ConsumerPlanByPlanIdResource.js +2 -5
- package/dist/src/generated/consumer/ConsumerPlanGroup.js +6 -12
- package/dist/src/generated/consumer/ConsumerPlanResource.js +2 -5
- package/dist/src/generated/consumer/ConsumerProviderByProviderResource.js +2 -5
- package/dist/src/generated/consumer/ConsumerRegisterResource.js +2 -5
- package/dist/src/generated/consumer/ConsumerScopeGroup.js +4 -10
- package/dist/src/generated/consumer/ConsumerScopeResource.js +2 -5
- package/dist/src/generated/consumer/ConsumerSubscriptionBySubscriptionIdResource.js +2 -5
- package/dist/src/generated/consumer/ConsumerSubscriptionGroup.js +6 -12
- package/dist/src/generated/consumer/ConsumerSubscriptionResource.js +2 -5
- package/dist/src/generated/consumer/ConsumerTransactionByTransactionIdResource.js +2 -5
- package/dist/src/generated/consumer/ConsumerTransactionGroup.js +6 -12
- package/dist/src/generated/consumer/ConsumerTransactionResource.js +2 -5
- package/dist/src/generated/consumer/ConsumerUserGroup.js +18 -24
- package/dist/src/generated/consumer/Event.js +1 -2
- package/dist/src/generated/consumer/Event_Collection.js +1 -2
- package/dist/src/generated/consumer/Event_Subscription.js +1 -2
- package/dist/src/generated/consumer/Event_Subscription_Collection.js +1 -2
- package/dist/src/generated/consumer/Event_Subscription_Create.js +1 -2
- package/dist/src/generated/consumer/Event_Subscription_Response.js +1 -2
- package/dist/src/generated/consumer/Event_Subscription_Update.js +1 -2
- package/dist/src/generated/consumer/Grant.js +1 -2
- package/dist/src/generated/consumer/Grant_Collection.js +1 -2
- package/dist/src/generated/consumer/Log.js +1 -2
- package/dist/src/generated/consumer/Log_Collection.js +1 -2
- package/dist/src/generated/consumer/Message.js +1 -2
- package/dist/src/generated/consumer/Page.js +1 -2
- package/dist/src/generated/consumer/Page_Collection.js +1 -2
- package/dist/src/generated/consumer/Payment_Checkout_Request.js +1 -2
- package/dist/src/generated/consumer/Payment_Checkout_Response.js +1 -2
- package/dist/src/generated/consumer/Payment_Portal_Response.js +1 -2
- package/dist/src/generated/consumer/Plan.js +1 -2
- package/dist/src/generated/consumer/Plan_Collection.js +1 -2
- package/dist/src/generated/consumer/Scope.js +1 -2
- package/dist/src/generated/consumer/Scope_Collection.js +1 -2
- package/dist/src/generated/consumer/Transaction.js +1 -2
- package/dist/src/generated/consumer/Transaction_Collection.js +1 -2
- package/dist/src/generated/consumer/User_Account.js +1 -2
- package/dist/src/generated/consumer/User_Activate.js +1 -2
- package/dist/src/generated/consumer/User_Attributes.js +1 -2
- package/dist/src/generated/consumer/User_Email.js +1 -2
- package/dist/src/generated/consumer/User_JWT.js +1 -2
- package/dist/src/generated/consumer/User_Login.js +1 -2
- package/dist/src/generated/consumer/User_PasswordReset.js +1 -2
- package/dist/src/generated/consumer/User_Provider.js +1 -2
- package/dist/src/generated/consumer/User_Refresh.js +1 -2
- package/dist/src/generated/consumer/User_Register.js +1 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,18 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./src/Client"), exports);
|
|
18
|
-
__exportStar(require("./src/Util"), exports);
|
|
1
|
+
export * from './src/Client';
|
|
2
|
+
export * from './src/Util';
|
package/dist/src/Client.js
CHANGED
|
@@ -1,29 +1,23 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
const Client_1 = __importDefault(require("./generated/backend/Client"));
|
|
7
|
-
const Client_2 = __importDefault(require("./generated/consumer/Client"));
|
|
8
|
-
const sdkgen_client_1 = require("sdkgen-client");
|
|
9
|
-
class Client {
|
|
1
|
+
import ClientBackend from './generated/backend/Client';
|
|
2
|
+
import ClientConsumer from './generated/consumer/Client';
|
|
3
|
+
import { ClientCredentials, MemoryTokenStore } from "sdkgen-client";
|
|
4
|
+
export default class Client {
|
|
10
5
|
constructor(baseUrl, clientId, clientSecret, scopes, tokenStore) {
|
|
11
6
|
this.baseUrl = baseUrl;
|
|
12
7
|
this.credentials = this.newCredentials(clientId, clientSecret);
|
|
13
8
|
this.scopes = scopes || [];
|
|
14
|
-
this.tokenStore = tokenStore || new
|
|
9
|
+
this.tokenStore = tokenStore || new MemoryTokenStore();
|
|
15
10
|
}
|
|
16
11
|
backend() {
|
|
17
|
-
return new
|
|
12
|
+
return new ClientBackend(this.baseUrl, this.credentials, this.tokenStore, this.scopes);
|
|
18
13
|
}
|
|
19
14
|
consumer() {
|
|
20
|
-
return new
|
|
15
|
+
return new ClientConsumer(this.baseUrl, this.credentials, this.tokenStore, this.scopes);
|
|
21
16
|
}
|
|
22
17
|
getTokenStore() {
|
|
23
18
|
return this.tokenStore;
|
|
24
19
|
}
|
|
25
20
|
newCredentials(clientId, clientSecret) {
|
|
26
|
-
return new
|
|
21
|
+
return new ClientCredentials(clientId, clientSecret, this.baseUrl + '/authorization/token', '');
|
|
27
22
|
}
|
|
28
23
|
}
|
|
29
|
-
exports.default = Client;
|
package/dist/src/Util.js
CHANGED
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
class Util {
|
|
1
|
+
export default class Util {
|
|
4
2
|
static normalizeBaseUrl(baseUrl) {
|
|
5
3
|
if (baseUrl.charAt(baseUrl.length - 1) == '/') {
|
|
6
4
|
return baseUrl.substr(0, baseUrl.length - 1);
|
|
@@ -10,4 +8,3 @@ class Util {
|
|
|
10
8
|
}
|
|
11
9
|
}
|
|
12
10
|
}
|
|
13
|
-
exports.default = Util;
|
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
/**
|
|
3
2
|
* BackendAccountChangePasswordResource generated on 2022-06-25
|
|
4
3
|
* {@link https://sdkgen.app}
|
|
5
4
|
*/
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
class BackendAccountChangePasswordResource extends sdkgen_client_1.ResourceAbstract {
|
|
5
|
+
import { ResourceAbstract } from "sdkgen-client";
|
|
6
|
+
export default class BackendAccountChangePasswordResource extends ResourceAbstract {
|
|
9
7
|
constructor(baseUrl, httpClient) {
|
|
10
8
|
super(baseUrl, httpClient);
|
|
11
9
|
this.url = baseUrl + "/backend/account/change_password";
|
|
@@ -21,4 +19,3 @@ class BackendAccountChangePasswordResource extends sdkgen_client_1.ResourceAbstr
|
|
|
21
19
|
return this.httpClient.put(this.url, data, params);
|
|
22
20
|
}
|
|
23
21
|
}
|
|
24
|
-
exports.default = BackendAccountChangePasswordResource;
|
|
@@ -1,27 +1,21 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
/**
|
|
3
2
|
* BackendAccountGroup generated on 2022-06-25
|
|
4
3
|
* {@link https://sdkgen.app}
|
|
5
4
|
*/
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
const sdkgen_client_1 = require("sdkgen-client");
|
|
11
|
-
const BackendAccountChangePasswordResource_1 = __importDefault(require("./BackendAccountChangePasswordResource"));
|
|
12
|
-
const BackendAccountResource_1 = __importDefault(require("./BackendAccountResource"));
|
|
13
|
-
class BackendAccountGroup extends sdkgen_client_1.ResourceAbstract {
|
|
5
|
+
import { ResourceAbstract } from "sdkgen-client";
|
|
6
|
+
import BackendAccountChangePasswordResource from "./BackendAccountChangePasswordResource";
|
|
7
|
+
import BackendAccountResource from "./BackendAccountResource";
|
|
8
|
+
export default class BackendAccountGroup extends ResourceAbstract {
|
|
14
9
|
/**
|
|
15
10
|
* Endpoint: /backend/account/change_password
|
|
16
11
|
*/
|
|
17
12
|
getBackendAccountChangePassword() {
|
|
18
|
-
return new
|
|
13
|
+
return new BackendAccountChangePasswordResource(this.baseUrl, this.httpClient);
|
|
19
14
|
}
|
|
20
15
|
/**
|
|
21
16
|
* Endpoint: /backend/account
|
|
22
17
|
*/
|
|
23
18
|
getBackendAccount() {
|
|
24
|
-
return new
|
|
19
|
+
return new BackendAccountResource(this.baseUrl, this.httpClient);
|
|
25
20
|
}
|
|
26
21
|
}
|
|
27
|
-
exports.default = BackendAccountGroup;
|
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
/**
|
|
3
2
|
* BackendAccountResource generated on 2022-06-25
|
|
4
3
|
* {@link https://sdkgen.app}
|
|
5
4
|
*/
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
class BackendAccountResource extends sdkgen_client_1.ResourceAbstract {
|
|
5
|
+
import { ResourceAbstract } from "sdkgen-client";
|
|
6
|
+
export default class BackendAccountResource extends ResourceAbstract {
|
|
9
7
|
constructor(baseUrl, httpClient) {
|
|
10
8
|
super(baseUrl, httpClient);
|
|
11
9
|
this.url = baseUrl + "/backend/account";
|
|
@@ -30,4 +28,3 @@ class BackendAccountResource extends sdkgen_client_1.ResourceAbstract {
|
|
|
30
28
|
return this.httpClient.put(this.url, data, params);
|
|
31
29
|
}
|
|
32
30
|
}
|
|
33
|
-
exports.default = BackendAccountResource;
|
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
/**
|
|
3
2
|
* BackendActionByActionIdResource generated on 2022-06-25
|
|
4
3
|
* {@link https://sdkgen.app}
|
|
5
4
|
*/
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
class BackendActionByActionIdResource extends sdkgen_client_1.ResourceAbstract {
|
|
5
|
+
import { ResourceAbstract } from "sdkgen-client";
|
|
6
|
+
export default class BackendActionByActionIdResource extends ResourceAbstract {
|
|
9
7
|
constructor(action_id, baseUrl, httpClient) {
|
|
10
8
|
super(baseUrl, httpClient);
|
|
11
9
|
this.action_id = action_id;
|
|
@@ -40,4 +38,3 @@ class BackendActionByActionIdResource extends sdkgen_client_1.ResourceAbstract {
|
|
|
40
38
|
return this.httpClient.delete(this.url, params);
|
|
41
39
|
}
|
|
42
40
|
}
|
|
43
|
-
exports.default = BackendActionByActionIdResource;
|
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
/**
|
|
3
2
|
* BackendActionExecuteByActionIdResource generated on 2022-06-25
|
|
4
3
|
* {@link https://sdkgen.app}
|
|
5
4
|
*/
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
class BackendActionExecuteByActionIdResource extends sdkgen_client_1.ResourceAbstract {
|
|
5
|
+
import { ResourceAbstract } from "sdkgen-client";
|
|
6
|
+
export default class BackendActionExecuteByActionIdResource extends ResourceAbstract {
|
|
9
7
|
constructor(action_id, baseUrl, httpClient) {
|
|
10
8
|
super(baseUrl, httpClient);
|
|
11
9
|
this.action_id = action_id;
|
|
@@ -22,4 +20,3 @@ class BackendActionExecuteByActionIdResource extends sdkgen_client_1.ResourceAbs
|
|
|
22
20
|
return this.httpClient.post(this.url, data, params);
|
|
23
21
|
}
|
|
24
22
|
}
|
|
25
|
-
exports.default = BackendActionExecuteByActionIdResource;
|
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
/**
|
|
3
2
|
* BackendActionFormResource generated on 2022-06-25
|
|
4
3
|
* {@link https://sdkgen.app}
|
|
5
4
|
*/
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
class BackendActionFormResource extends sdkgen_client_1.ResourceAbstract {
|
|
5
|
+
import { ResourceAbstract } from "sdkgen-client";
|
|
6
|
+
export default class BackendActionFormResource extends ResourceAbstract {
|
|
9
7
|
constructor(baseUrl, httpClient) {
|
|
10
8
|
super(baseUrl, httpClient);
|
|
11
9
|
this.url = baseUrl + "/backend/action/form";
|
|
@@ -22,4 +20,3 @@ class BackendActionFormResource extends sdkgen_client_1.ResourceAbstract {
|
|
|
22
20
|
return this.httpClient.get(this.url, params);
|
|
23
21
|
}
|
|
24
22
|
}
|
|
25
|
-
exports.default = BackendActionFormResource;
|
|
@@ -1,48 +1,42 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
/**
|
|
3
2
|
* BackendActionGroup generated on 2022-06-25
|
|
4
3
|
* {@link https://sdkgen.app}
|
|
5
4
|
*/
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
const BackendActionFormResource_1 = __importDefault(require("./BackendActionFormResource"));
|
|
14
|
-
const BackendActionListResource_1 = __importDefault(require("./BackendActionListResource"));
|
|
15
|
-
const BackendActionResource_1 = __importDefault(require("./BackendActionResource"));
|
|
16
|
-
class BackendActionGroup extends sdkgen_client_1.ResourceAbstract {
|
|
5
|
+
import { ResourceAbstract } from "sdkgen-client";
|
|
6
|
+
import BackendActionByActionIdResource from "./BackendActionByActionIdResource";
|
|
7
|
+
import BackendActionExecuteByActionIdResource from "./BackendActionExecuteByActionIdResource";
|
|
8
|
+
import BackendActionFormResource from "./BackendActionFormResource";
|
|
9
|
+
import BackendActionListResource from "./BackendActionListResource";
|
|
10
|
+
import BackendActionResource from "./BackendActionResource";
|
|
11
|
+
export default class BackendActionGroup extends ResourceAbstract {
|
|
17
12
|
/**
|
|
18
13
|
* Endpoint: /backend/action/$action_id<[0-9]+|^~>
|
|
19
14
|
*/
|
|
20
15
|
getBackendActionByActionId(action_id) {
|
|
21
|
-
return new
|
|
16
|
+
return new BackendActionByActionIdResource(action_id, this.baseUrl, this.httpClient);
|
|
22
17
|
}
|
|
23
18
|
/**
|
|
24
19
|
* Endpoint: /backend/action/execute/:action_id
|
|
25
20
|
*/
|
|
26
21
|
getBackendActionExecuteByActionId(action_id) {
|
|
27
|
-
return new
|
|
22
|
+
return new BackendActionExecuteByActionIdResource(action_id, this.baseUrl, this.httpClient);
|
|
28
23
|
}
|
|
29
24
|
/**
|
|
30
25
|
* Endpoint: /backend/action/form
|
|
31
26
|
*/
|
|
32
27
|
getBackendActionForm() {
|
|
33
|
-
return new
|
|
28
|
+
return new BackendActionFormResource(this.baseUrl, this.httpClient);
|
|
34
29
|
}
|
|
35
30
|
/**
|
|
36
31
|
* Endpoint: /backend/action/list
|
|
37
32
|
*/
|
|
38
33
|
getBackendActionList() {
|
|
39
|
-
return new
|
|
34
|
+
return new BackendActionListResource(this.baseUrl, this.httpClient);
|
|
40
35
|
}
|
|
41
36
|
/**
|
|
42
37
|
* Endpoint: /backend/action
|
|
43
38
|
*/
|
|
44
39
|
getBackendAction() {
|
|
45
|
-
return new
|
|
40
|
+
return new BackendActionResource(this.baseUrl, this.httpClient);
|
|
46
41
|
}
|
|
47
42
|
}
|
|
48
|
-
exports.default = BackendActionGroup;
|
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
/**
|
|
3
2
|
* BackendActionListResource generated on 2022-06-25
|
|
4
3
|
* {@link https://sdkgen.app}
|
|
5
4
|
*/
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
class BackendActionListResource extends sdkgen_client_1.ResourceAbstract {
|
|
5
|
+
import { ResourceAbstract } from "sdkgen-client";
|
|
6
|
+
export default class BackendActionListResource extends ResourceAbstract {
|
|
9
7
|
constructor(baseUrl, httpClient) {
|
|
10
8
|
super(baseUrl, httpClient);
|
|
11
9
|
this.url = baseUrl + "/backend/action/list";
|
|
@@ -20,4 +18,3 @@ class BackendActionListResource extends sdkgen_client_1.ResourceAbstract {
|
|
|
20
18
|
return this.httpClient.get(this.url, params);
|
|
21
19
|
}
|
|
22
20
|
}
|
|
23
|
-
exports.default = BackendActionListResource;
|
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
/**
|
|
3
2
|
* BackendActionResource generated on 2022-06-25
|
|
4
3
|
* {@link https://sdkgen.app}
|
|
5
4
|
*/
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
class BackendActionResource extends sdkgen_client_1.ResourceAbstract {
|
|
5
|
+
import { ResourceAbstract } from "sdkgen-client";
|
|
6
|
+
export default class BackendActionResource extends ResourceAbstract {
|
|
9
7
|
constructor(baseUrl, httpClient) {
|
|
10
8
|
super(baseUrl, httpClient);
|
|
11
9
|
this.url = baseUrl + "/backend/action";
|
|
@@ -32,4 +30,3 @@ class BackendActionResource extends sdkgen_client_1.ResourceAbstract {
|
|
|
32
30
|
return this.httpClient.post(this.url, data, params);
|
|
33
31
|
}
|
|
34
32
|
}
|
|
35
|
-
exports.default = BackendActionResource;
|
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
/**
|
|
3
2
|
* BackendAppByAppIdResource generated on 2022-06-25
|
|
4
3
|
* {@link https://sdkgen.app}
|
|
5
4
|
*/
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
class BackendAppByAppIdResource extends sdkgen_client_1.ResourceAbstract {
|
|
5
|
+
import { ResourceAbstract } from "sdkgen-client";
|
|
6
|
+
export default class BackendAppByAppIdResource extends ResourceAbstract {
|
|
9
7
|
constructor(app_id, baseUrl, httpClient) {
|
|
10
8
|
super(baseUrl, httpClient);
|
|
11
9
|
this.app_id = app_id;
|
|
@@ -40,4 +38,3 @@ class BackendAppByAppIdResource extends sdkgen_client_1.ResourceAbstract {
|
|
|
40
38
|
return this.httpClient.delete(this.url, params);
|
|
41
39
|
}
|
|
42
40
|
}
|
|
43
|
-
exports.default = BackendAppByAppIdResource;
|
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
/**
|
|
3
2
|
* BackendAppByAppIdTokenAndTokenIdResource generated on 2022-06-25
|
|
4
3
|
* {@link https://sdkgen.app}
|
|
5
4
|
*/
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
class BackendAppByAppIdTokenAndTokenIdResource extends sdkgen_client_1.ResourceAbstract {
|
|
5
|
+
import { ResourceAbstract } from "sdkgen-client";
|
|
6
|
+
export default class BackendAppByAppIdTokenAndTokenIdResource extends ResourceAbstract {
|
|
9
7
|
constructor(app_id, token_id, baseUrl, httpClient) {
|
|
10
8
|
super(baseUrl, httpClient);
|
|
11
9
|
this.app_id = app_id;
|
|
@@ -22,4 +20,3 @@ class BackendAppByAppIdTokenAndTokenIdResource extends sdkgen_client_1.ResourceA
|
|
|
22
20
|
return this.httpClient.delete(this.url, params);
|
|
23
21
|
}
|
|
24
22
|
}
|
|
25
|
-
exports.default = BackendAppByAppIdTokenAndTokenIdResource;
|
|
@@ -1,48 +1,42 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
/**
|
|
3
2
|
* BackendAppGroup generated on 2022-06-25
|
|
4
3
|
* {@link https://sdkgen.app}
|
|
5
4
|
*/
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
const BackendAppResource_1 = __importDefault(require("./BackendAppResource"));
|
|
14
|
-
const BackendAppTokenByTokenIdResource_1 = __importDefault(require("./BackendAppTokenByTokenIdResource"));
|
|
15
|
-
const BackendAppTokenResource_1 = __importDefault(require("./BackendAppTokenResource"));
|
|
16
|
-
class BackendAppGroup extends sdkgen_client_1.ResourceAbstract {
|
|
5
|
+
import { ResourceAbstract } from "sdkgen-client";
|
|
6
|
+
import BackendAppByAppIdTokenAndTokenIdResource from "./BackendAppByAppIdTokenAndTokenIdResource";
|
|
7
|
+
import BackendAppByAppIdResource from "./BackendAppByAppIdResource";
|
|
8
|
+
import BackendAppResource from "./BackendAppResource";
|
|
9
|
+
import BackendAppTokenByTokenIdResource from "./BackendAppTokenByTokenIdResource";
|
|
10
|
+
import BackendAppTokenResource from "./BackendAppTokenResource";
|
|
11
|
+
export default class BackendAppGroup extends ResourceAbstract {
|
|
17
12
|
/**
|
|
18
13
|
* Endpoint: /backend/app/$app_id<[0-9]+>/token/:token_id
|
|
19
14
|
*/
|
|
20
15
|
getBackendAppByAppIdTokenAndTokenId(app_id, token_id) {
|
|
21
|
-
return new
|
|
16
|
+
return new BackendAppByAppIdTokenAndTokenIdResource(app_id, token_id, this.baseUrl, this.httpClient);
|
|
22
17
|
}
|
|
23
18
|
/**
|
|
24
19
|
* Endpoint: /backend/app/$app_id<[0-9]+>
|
|
25
20
|
*/
|
|
26
21
|
getBackendAppByAppId(app_id) {
|
|
27
|
-
return new
|
|
22
|
+
return new BackendAppByAppIdResource(app_id, this.baseUrl, this.httpClient);
|
|
28
23
|
}
|
|
29
24
|
/**
|
|
30
25
|
* Endpoint: /backend/app
|
|
31
26
|
*/
|
|
32
27
|
getBackendApp() {
|
|
33
|
-
return new
|
|
28
|
+
return new BackendAppResource(this.baseUrl, this.httpClient);
|
|
34
29
|
}
|
|
35
30
|
/**
|
|
36
31
|
* Endpoint: /backend/app/token/$token_id<[0-9]+>
|
|
37
32
|
*/
|
|
38
33
|
getBackendAppTokenByTokenId(token_id) {
|
|
39
|
-
return new
|
|
34
|
+
return new BackendAppTokenByTokenIdResource(token_id, this.baseUrl, this.httpClient);
|
|
40
35
|
}
|
|
41
36
|
/**
|
|
42
37
|
* Endpoint: /backend/app/token
|
|
43
38
|
*/
|
|
44
39
|
getBackendAppToken() {
|
|
45
|
-
return new
|
|
40
|
+
return new BackendAppTokenResource(this.baseUrl, this.httpClient);
|
|
46
41
|
}
|
|
47
42
|
}
|
|
48
|
-
exports.default = BackendAppGroup;
|