fusio-sdk 2.1.1 → 2.1.4
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.d.ts +1 -1
- package/dist/src/generated/backend/Account_ChangePassword.js +2 -3
- package/dist/src/generated/backend/Action.d.ts +1 -1
- package/dist/src/generated/backend/Action.js +2 -3
- package/dist/src/generated/backend/Action_Collection.d.ts +1 -1
- package/dist/src/generated/backend/Action_Collection.js +2 -3
- package/dist/src/generated/backend/Action_Config.d.ts +1 -1
- package/dist/src/generated/backend/Action_Config.js +2 -3
- package/dist/src/generated/backend/Action_Create.d.ts +1 -1
- package/dist/src/generated/backend/Action_Create.js +2 -3
- package/dist/src/generated/backend/Action_Execute_Request.d.ts +1 -1
- package/dist/src/generated/backend/Action_Execute_Request.js +2 -3
- package/dist/src/generated/backend/Action_Execute_Request_Body.d.ts +1 -1
- package/dist/src/generated/backend/Action_Execute_Request_Body.js +2 -3
- package/dist/src/generated/backend/Action_Execute_Response.d.ts +1 -1
- package/dist/src/generated/backend/Action_Execute_Response.js +2 -3
- package/dist/src/generated/backend/Action_Execute_Response_Body.d.ts +1 -1
- package/dist/src/generated/backend/Action_Execute_Response_Body.js +2 -3
- package/dist/src/generated/backend/Action_Execute_Response_Headers.d.ts +1 -1
- package/dist/src/generated/backend/Action_Execute_Response_Headers.js +2 -3
- package/dist/src/generated/backend/Action_Index.d.ts +1 -1
- package/dist/src/generated/backend/Action_Index.js +2 -3
- package/dist/src/generated/backend/Action_Index_Entry.d.ts +1 -1
- package/dist/src/generated/backend/Action_Index_Entry.js +2 -3
- package/dist/src/generated/backend/Action_Update.d.ts +1 -1
- package/dist/src/generated/backend/Action_Update.js +2 -3
- package/dist/src/generated/backend/App.d.ts +1 -1
- package/dist/src/generated/backend/App.js +2 -3
- package/dist/src/generated/backend/App_Collection.d.ts +1 -1
- package/dist/src/generated/backend/App_Collection.js +2 -3
- package/dist/src/generated/backend/App_Create.d.ts +1 -1
- package/dist/src/generated/backend/App_Create.js +2 -3
- package/dist/src/generated/backend/App_Token.d.ts +1 -1
- package/dist/src/generated/backend/App_Token.js +2 -3
- package/dist/src/generated/backend/App_Token_Collection.d.ts +1 -1
- package/dist/src/generated/backend/App_Token_Collection.js +2 -3
- package/dist/src/generated/backend/App_Token_Collection_Query.d.ts +1 -1
- package/dist/src/generated/backend/App_Token_Collection_Query.js +2 -3
- package/dist/src/generated/backend/App_Update.d.ts +1 -1
- package/dist/src/generated/backend/App_Update.js +2 -3
- package/dist/src/generated/backend/Audit.d.ts +1 -1
- package/dist/src/generated/backend/Audit.js +2 -3
- package/dist/src/generated/backend/Audit_Collection.d.ts +1 -1
- package/dist/src/generated/backend/Audit_Collection.js +2 -3
- package/dist/src/generated/backend/Audit_Collection_Query.d.ts +1 -1
- package/dist/src/generated/backend/Audit_Collection_Query.js +2 -3
- package/dist/src/generated/backend/Audit_Object.d.ts +1 -1
- package/dist/src/generated/backend/Audit_Object.js +2 -3
- package/dist/src/generated/backend/BackendAccountChangePasswordResource.d.ts +1 -1
- package/dist/src/generated/backend/BackendAccountChangePasswordResource.js +3 -6
- package/dist/src/generated/backend/BackendAccountGroup.d.ts +1 -1
- package/dist/src/generated/backend/BackendAccountGroup.js +7 -13
- package/dist/src/generated/backend/BackendAccountResource.d.ts +1 -1
- package/dist/src/generated/backend/BackendAccountResource.js +3 -6
- package/dist/src/generated/backend/BackendActionByActionIdResource.d.ts +1 -1
- package/dist/src/generated/backend/BackendActionByActionIdResource.js +3 -6
- package/dist/src/generated/backend/BackendActionExecuteByActionIdResource.d.ts +1 -1
- package/dist/src/generated/backend/BackendActionExecuteByActionIdResource.js +3 -6
- package/dist/src/generated/backend/BackendActionFormResource.d.ts +1 -1
- package/dist/src/generated/backend/BackendActionFormResource.js +3 -6
- package/dist/src/generated/backend/BackendActionGroup.d.ts +1 -1
- package/dist/src/generated/backend/BackendActionGroup.js +13 -19
- package/dist/src/generated/backend/BackendActionListResource.d.ts +1 -1
- package/dist/src/generated/backend/BackendActionListResource.js +3 -6
- package/dist/src/generated/backend/BackendActionResource.d.ts +1 -1
- package/dist/src/generated/backend/BackendActionResource.js +3 -6
- package/dist/src/generated/backend/BackendAppByAppIdResource.d.ts +1 -1
- package/dist/src/generated/backend/BackendAppByAppIdResource.js +3 -6
- package/dist/src/generated/backend/BackendAppByAppIdTokenAndTokenIdResource.d.ts +1 -1
- package/dist/src/generated/backend/BackendAppByAppIdTokenAndTokenIdResource.js +3 -6
- package/dist/src/generated/backend/BackendAppGroup.d.ts +1 -1
- package/dist/src/generated/backend/BackendAppGroup.js +13 -19
- package/dist/src/generated/backend/BackendAppResource.d.ts +1 -1
- package/dist/src/generated/backend/BackendAppResource.js +3 -6
- package/dist/src/generated/backend/BackendAppTokenByTokenIdResource.d.ts +1 -1
- package/dist/src/generated/backend/BackendAppTokenByTokenIdResource.js +3 -6
- package/dist/src/generated/backend/BackendAppTokenResource.d.ts +1 -1
- package/dist/src/generated/backend/BackendAppTokenResource.js +3 -6
- package/dist/src/generated/backend/BackendAuditByAuditIdResource.d.ts +1 -1
- package/dist/src/generated/backend/BackendAuditByAuditIdResource.js +3 -6
- package/dist/src/generated/backend/BackendAuditGroup.d.ts +1 -1
- package/dist/src/generated/backend/BackendAuditGroup.js +7 -13
- package/dist/src/generated/backend/BackendAuditResource.d.ts +1 -1
- package/dist/src/generated/backend/BackendAuditResource.js +3 -6
- package/dist/src/generated/backend/BackendCategoryByCategoryIdResource.d.ts +1 -1
- package/dist/src/generated/backend/BackendCategoryByCategoryIdResource.js +3 -6
- package/dist/src/generated/backend/BackendCategoryGroup.d.ts +1 -1
- package/dist/src/generated/backend/BackendCategoryGroup.js +7 -13
- package/dist/src/generated/backend/BackendCategoryResource.d.ts +1 -1
- package/dist/src/generated/backend/BackendCategoryResource.js +3 -6
- package/dist/src/generated/backend/BackendConfigByConfigIdResource.d.ts +1 -1
- package/dist/src/generated/backend/BackendConfigByConfigIdResource.js +3 -6
- package/dist/src/generated/backend/BackendConfigGroup.d.ts +1 -1
- package/dist/src/generated/backend/BackendConfigGroup.js +7 -13
- package/dist/src/generated/backend/BackendConfigResource.d.ts +1 -1
- package/dist/src/generated/backend/BackendConfigResource.js +3 -6
- package/dist/src/generated/backend/BackendConnectionByConnectionIdRedirectResource.d.ts +1 -1
- package/dist/src/generated/backend/BackendConnectionByConnectionIdRedirectResource.js +3 -6
- package/dist/src/generated/backend/BackendConnectionByConnectionIdResource.d.ts +1 -1
- package/dist/src/generated/backend/BackendConnectionByConnectionIdResource.js +3 -6
- package/dist/src/generated/backend/BackendConnectionFormResource.d.ts +1 -1
- package/dist/src/generated/backend/BackendConnectionFormResource.js +3 -6
- package/dist/src/generated/backend/BackendConnectionGroup.d.ts +1 -1
- package/dist/src/generated/backend/BackendConnectionGroup.js +13 -19
- package/dist/src/generated/backend/BackendConnectionListResource.d.ts +1 -1
- package/dist/src/generated/backend/BackendConnectionListResource.js +3 -6
- package/dist/src/generated/backend/BackendConnectionResource.d.ts +1 -1
- package/dist/src/generated/backend/BackendConnectionResource.js +3 -6
- package/dist/src/generated/backend/BackendCronjobByCronjobIdResource.d.ts +1 -1
- package/dist/src/generated/backend/BackendCronjobByCronjobIdResource.js +3 -6
- package/dist/src/generated/backend/BackendCronjobGroup.d.ts +1 -1
- package/dist/src/generated/backend/BackendCronjobGroup.js +7 -13
- package/dist/src/generated/backend/BackendCronjobResource.d.ts +1 -1
- package/dist/src/generated/backend/BackendCronjobResource.js +3 -6
- package/dist/src/generated/backend/BackendDashboardGroup.d.ts +1 -1
- package/dist/src/generated/backend/BackendDashboardGroup.js +5 -11
- package/dist/src/generated/backend/BackendDashboardResource.d.ts +1 -1
- package/dist/src/generated/backend/BackendDashboardResource.js +3 -6
- package/dist/src/generated/backend/BackendEventByEventIdResource.d.ts +1 -1
- package/dist/src/generated/backend/BackendEventByEventIdResource.js +3 -6
- package/dist/src/generated/backend/BackendEventGroup.d.ts +1 -1
- package/dist/src/generated/backend/BackendEventGroup.js +11 -17
- package/dist/src/generated/backend/BackendEventResource.d.ts +1 -1
- package/dist/src/generated/backend/BackendEventResource.js +3 -6
- package/dist/src/generated/backend/BackendEventSubscriptionBySubscriptionIdResource.d.ts +1 -1
- package/dist/src/generated/backend/BackendEventSubscriptionBySubscriptionIdResource.js +3 -6
- package/dist/src/generated/backend/BackendEventSubscriptionResource.d.ts +1 -1
- package/dist/src/generated/backend/BackendEventSubscriptionResource.js +3 -6
- package/dist/src/generated/backend/BackendLogByLogIdResource.d.ts +1 -1
- package/dist/src/generated/backend/BackendLogByLogIdResource.js +3 -6
- package/dist/src/generated/backend/BackendLogErrorByErrorIdResource.d.ts +1 -1
- package/dist/src/generated/backend/BackendLogErrorByErrorIdResource.js +3 -6
- package/dist/src/generated/backend/BackendLogErrorResource.d.ts +1 -1
- package/dist/src/generated/backend/BackendLogErrorResource.js +3 -6
- package/dist/src/generated/backend/BackendLogGroup.d.ts +1 -1
- package/dist/src/generated/backend/BackendLogGroup.js +11 -17
- package/dist/src/generated/backend/BackendLogResource.d.ts +1 -1
- package/dist/src/generated/backend/BackendLogResource.js +3 -6
- package/dist/src/generated/backend/BackendMarketplaceByAppNameResource.d.ts +1 -1
- package/dist/src/generated/backend/BackendMarketplaceByAppNameResource.js +3 -6
- package/dist/src/generated/backend/BackendMarketplaceGroup.d.ts +1 -1
- package/dist/src/generated/backend/BackendMarketplaceGroup.js +7 -13
- package/dist/src/generated/backend/BackendMarketplaceResource.d.ts +1 -1
- package/dist/src/generated/backend/BackendMarketplaceResource.js +3 -6
- package/dist/src/generated/backend/BackendPageByPageIdResource.d.ts +1 -1
- package/dist/src/generated/backend/BackendPageByPageIdResource.js +3 -6
- package/dist/src/generated/backend/BackendPageGroup.d.ts +1 -1
- package/dist/src/generated/backend/BackendPageGroup.js +7 -13
- package/dist/src/generated/backend/BackendPageResource.d.ts +1 -1
- package/dist/src/generated/backend/BackendPageResource.js +3 -6
- package/dist/src/generated/backend/BackendPlanByPlanIdResource.d.ts +1 -1
- package/dist/src/generated/backend/BackendPlanByPlanIdResource.js +3 -6
- package/dist/src/generated/backend/BackendPlanGroup.d.ts +1 -1
- package/dist/src/generated/backend/BackendPlanGroup.js +7 -13
- package/dist/src/generated/backend/BackendPlanResource.d.ts +1 -1
- package/dist/src/generated/backend/BackendPlanResource.js +3 -6
- package/dist/src/generated/backend/BackendRateByRateIdResource.d.ts +1 -1
- package/dist/src/generated/backend/BackendRateByRateIdResource.js +3 -6
- package/dist/src/generated/backend/BackendRateGroup.d.ts +1 -1
- package/dist/src/generated/backend/BackendRateGroup.js +7 -13
- package/dist/src/generated/backend/BackendRateResource.d.ts +1 -1
- package/dist/src/generated/backend/BackendRateResource.js +3 -6
- package/dist/src/generated/backend/BackendRoleByRoleIdResource.d.ts +1 -1
- package/dist/src/generated/backend/BackendRoleByRoleIdResource.js +3 -6
- package/dist/src/generated/backend/BackendRoleGroup.d.ts +1 -1
- package/dist/src/generated/backend/BackendRoleGroup.js +7 -13
- package/dist/src/generated/backend/BackendRoleResource.d.ts +1 -1
- package/dist/src/generated/backend/BackendRoleResource.js +3 -6
- package/dist/src/generated/backend/BackendRouteGroup.d.ts +1 -1
- package/dist/src/generated/backend/BackendRouteGroup.js +11 -17
- package/dist/src/generated/backend/BackendRoutesByRouteIdResource.d.ts +1 -1
- package/dist/src/generated/backend/BackendRoutesByRouteIdResource.js +3 -6
- package/dist/src/generated/backend/BackendRoutesProviderByProviderResource.d.ts +1 -1
- package/dist/src/generated/backend/BackendRoutesProviderByProviderResource.js +3 -6
- package/dist/src/generated/backend/BackendRoutesProviderResource.d.ts +1 -1
- package/dist/src/generated/backend/BackendRoutesProviderResource.js +3 -6
- package/dist/src/generated/backend/BackendRoutesResource.d.ts +1 -1
- package/dist/src/generated/backend/BackendRoutesResource.js +3 -6
- package/dist/src/generated/backend/BackendSchemaBySchemaIdResource.d.ts +1 -1
- package/dist/src/generated/backend/BackendSchemaBySchemaIdResource.js +3 -6
- package/dist/src/generated/backend/BackendSchemaFormBySchemaIdResource.d.ts +1 -1
- package/dist/src/generated/backend/BackendSchemaFormBySchemaIdResource.js +3 -6
- package/dist/src/generated/backend/BackendSchemaGroup.d.ts +1 -1
- package/dist/src/generated/backend/BackendSchemaGroup.js +11 -17
- package/dist/src/generated/backend/BackendSchemaPreviewBySchemaIdResource.d.ts +1 -1
- package/dist/src/generated/backend/BackendSchemaPreviewBySchemaIdResource.js +3 -6
- package/dist/src/generated/backend/BackendSchemaResource.d.ts +1 -1
- package/dist/src/generated/backend/BackendSchemaResource.js +3 -6
- package/dist/src/generated/backend/BackendScopeByScopeIdResource.d.ts +1 -1
- package/dist/src/generated/backend/BackendScopeByScopeIdResource.js +3 -6
- package/dist/src/generated/backend/BackendScopeCategoriesResource.d.ts +1 -1
- package/dist/src/generated/backend/BackendScopeCategoriesResource.js +3 -6
- package/dist/src/generated/backend/BackendScopeGroup.d.ts +1 -1
- package/dist/src/generated/backend/BackendScopeGroup.js +9 -15
- package/dist/src/generated/backend/BackendScopeResource.d.ts +1 -1
- package/dist/src/generated/backend/BackendScopeResource.js +3 -6
- package/dist/src/generated/backend/BackendSdkGroup.d.ts +1 -1
- package/dist/src/generated/backend/BackendSdkGroup.js +5 -11
- package/dist/src/generated/backend/BackendSdkResource.d.ts +1 -1
- package/dist/src/generated/backend/BackendSdkResource.js +3 -6
- package/dist/src/generated/backend/BackendStatisticCountRequestsResource.d.ts +1 -1
- package/dist/src/generated/backend/BackendStatisticCountRequestsResource.js +3 -6
- package/dist/src/generated/backend/BackendStatisticErrorsPerRouteResource.d.ts +4 -4
- package/dist/src/generated/backend/BackendStatisticErrorsPerRouteResource.js +4 -7
- package/dist/src/generated/backend/BackendStatisticGroup.d.ts +1 -1
- package/dist/src/generated/backend/BackendStatisticGroup.js +23 -29
- package/dist/src/generated/backend/BackendStatisticIncomingRequestsResource.d.ts +4 -4
- package/dist/src/generated/backend/BackendStatisticIncomingRequestsResource.js +4 -7
- package/dist/src/generated/backend/BackendStatisticIncomingTransactionsResource.d.ts +4 -4
- package/dist/src/generated/backend/BackendStatisticIncomingTransactionsResource.js +4 -7
- package/dist/src/generated/backend/BackendStatisticIssuedTokensResource.d.ts +4 -4
- package/dist/src/generated/backend/BackendStatisticIssuedTokensResource.js +4 -7
- package/dist/src/generated/backend/BackendStatisticMostUsedAppsResource.d.ts +4 -4
- package/dist/src/generated/backend/BackendStatisticMostUsedAppsResource.js +4 -7
- package/dist/src/generated/backend/BackendStatisticMostUsedRoutesResource.d.ts +4 -4
- package/dist/src/generated/backend/BackendStatisticMostUsedRoutesResource.js +4 -7
- package/dist/src/generated/backend/BackendStatisticTimeAverageResource.d.ts +4 -4
- package/dist/src/generated/backend/BackendStatisticTimeAverageResource.js +4 -7
- package/dist/src/generated/backend/BackendStatisticTimePerRouteResource.d.ts +4 -4
- package/dist/src/generated/backend/BackendStatisticTimePerRouteResource.js +4 -7
- package/dist/src/generated/backend/BackendStatisticUsedPointsResource.d.ts +4 -4
- package/dist/src/generated/backend/BackendStatisticUsedPointsResource.js +4 -7
- package/dist/src/generated/backend/BackendTransactionByTransactionIdResource.d.ts +1 -1
- package/dist/src/generated/backend/BackendTransactionByTransactionIdResource.js +3 -6
- package/dist/src/generated/backend/BackendTransactionGroup.d.ts +1 -1
- package/dist/src/generated/backend/BackendTransactionGroup.js +7 -13
- package/dist/src/generated/backend/BackendTransactionResource.d.ts +1 -1
- package/dist/src/generated/backend/BackendTransactionResource.js +3 -6
- package/dist/src/generated/backend/BackendTrashByTypeResource.d.ts +1 -1
- package/dist/src/generated/backend/BackendTrashByTypeResource.js +3 -6
- package/dist/src/generated/backend/BackendTrashGroup.d.ts +1 -1
- package/dist/src/generated/backend/BackendTrashGroup.js +7 -13
- package/dist/src/generated/backend/BackendTrashResource.d.ts +1 -1
- package/dist/src/generated/backend/BackendTrashResource.js +3 -6
- package/dist/src/generated/backend/BackendUserByUserIdResource.d.ts +1 -1
- package/dist/src/generated/backend/BackendUserByUserIdResource.js +3 -6
- package/dist/src/generated/backend/BackendUserGroup.d.ts +1 -1
- package/dist/src/generated/backend/BackendUserGroup.js +7 -13
- package/dist/src/generated/backend/BackendUserResource.d.ts +1 -1
- package/dist/src/generated/backend/BackendUserResource.js +3 -6
- package/dist/src/generated/backend/Backend_App_Token_Collection_Query.d.ts +1 -1
- package/dist/src/generated/backend/Backend_App_Token_Collection_Query.js +2 -3
- package/dist/src/generated/backend/Backend_Audit_Collection_Query.d.ts +1 -1
- package/dist/src/generated/backend/Backend_Audit_Collection_Query.js +2 -3
- package/dist/src/generated/backend/Backend_Log_Collection_Query.d.ts +1 -1
- package/dist/src/generated/backend/Backend_Log_Collection_Query.js +2 -3
- package/dist/src/generated/backend/Backend_Plan_Usage_Collection_Query.d.ts +1 -1
- package/dist/src/generated/backend/Backend_Plan_Usage_Collection_Query.js +2 -3
- package/dist/src/generated/backend/Backend_Transaction_Collection_Query.d.ts +1 -1
- package/dist/src/generated/backend/Backend_Transaction_Collection_Query.js +2 -3
- package/dist/src/generated/backend/Category.d.ts +1 -1
- package/dist/src/generated/backend/Category.js +2 -3
- package/dist/src/generated/backend/Category_Collection.d.ts +1 -1
- package/dist/src/generated/backend/Category_Collection.js +2 -3
- package/dist/src/generated/backend/Category_Create.d.ts +1 -1
- package/dist/src/generated/backend/Category_Create.js +2 -3
- package/dist/src/generated/backend/Category_Update.d.ts +1 -1
- package/dist/src/generated/backend/Category_Update.js +2 -3
- package/dist/src/generated/backend/Client.d.ts +1 -1
- package/dist/src/generated/backend/Client.js +51 -57
- package/dist/src/generated/backend/Collection.d.ts +1 -1
- package/dist/src/generated/backend/Collection.js +2 -3
- package/dist/src/generated/backend/Collection_Category_Query.d.ts +1 -1
- package/dist/src/generated/backend/Collection_Category_Query.js +2 -3
- package/dist/src/generated/backend/Collection_Query.d.ts +1 -1
- package/dist/src/generated/backend/Collection_Query.js +2 -3
- package/dist/src/generated/backend/Config.d.ts +1 -1
- package/dist/src/generated/backend/Config.js +2 -3
- package/dist/src/generated/backend/Config_Collection.d.ts +1 -1
- package/dist/src/generated/backend/Config_Collection.js +2 -3
- package/dist/src/generated/backend/Config_Update.d.ts +1 -1
- package/dist/src/generated/backend/Config_Update.js +2 -3
- package/dist/src/generated/backend/Connection.d.ts +1 -1
- package/dist/src/generated/backend/Connection.js +2 -3
- package/dist/src/generated/backend/Connection_Collection.d.ts +1 -1
- package/dist/src/generated/backend/Connection_Collection.js +2 -3
- package/dist/src/generated/backend/Connection_Config.d.ts +1 -1
- package/dist/src/generated/backend/Connection_Config.js +2 -3
- package/dist/src/generated/backend/Connection_Create.d.ts +1 -1
- package/dist/src/generated/backend/Connection_Create.js +2 -3
- package/dist/src/generated/backend/Connection_Index.d.ts +1 -1
- package/dist/src/generated/backend/Connection_Index.js +2 -3
- package/dist/src/generated/backend/Connection_Index_Entry.d.ts +1 -1
- package/dist/src/generated/backend/Connection_Index_Entry.js +2 -3
- package/dist/src/generated/backend/Connection_Update.d.ts +1 -1
- package/dist/src/generated/backend/Connection_Update.js +2 -3
- package/dist/src/generated/backend/Cronjob.d.ts +1 -1
- package/dist/src/generated/backend/Cronjob.js +2 -3
- package/dist/src/generated/backend/Cronjob_Collection.d.ts +1 -1
- package/dist/src/generated/backend/Cronjob_Collection.js +2 -3
- package/dist/src/generated/backend/Cronjob_Create.d.ts +1 -1
- package/dist/src/generated/backend/Cronjob_Create.js +2 -3
- package/dist/src/generated/backend/Cronjob_Error.d.ts +1 -1
- package/dist/src/generated/backend/Cronjob_Error.js +2 -3
- package/dist/src/generated/backend/Cronjob_Update.d.ts +1 -1
- package/dist/src/generated/backend/Cronjob_Update.js +2 -3
- package/dist/src/generated/backend/Dashboard.d.ts +1 -1
- package/dist/src/generated/backend/Dashboard.js +2 -3
- package/dist/src/generated/backend/Dashboard_App.d.ts +1 -1
- package/dist/src/generated/backend/Dashboard_App.js +2 -3
- package/dist/src/generated/backend/Dashboard_Apps.d.ts +1 -1
- package/dist/src/generated/backend/Dashboard_Apps.js +2 -3
- package/dist/src/generated/backend/Dashboard_Request.d.ts +1 -1
- package/dist/src/generated/backend/Dashboard_Request.js +2 -3
- package/dist/src/generated/backend/Dashboard_Requests.d.ts +1 -1
- package/dist/src/generated/backend/Dashboard_Requests.js +2 -3
- package/dist/src/generated/backend/Dashboard_Transaction.d.ts +1 -1
- package/dist/src/generated/backend/Dashboard_Transaction.js +2 -3
- package/dist/src/generated/backend/Dashboard_Transactions.d.ts +1 -1
- package/dist/src/generated/backend/Dashboard_Transactions.js +2 -3
- package/dist/src/generated/backend/Dashboard_User.d.ts +1 -1
- package/dist/src/generated/backend/Dashboard_User.js +2 -3
- package/dist/src/generated/backend/Dashboard_Users.d.ts +1 -1
- package/dist/src/generated/backend/Dashboard_Users.js +2 -3
- package/dist/src/generated/backend/Event.d.ts +1 -1
- package/dist/src/generated/backend/Event.js +2 -3
- package/dist/src/generated/backend/Event_Collection.d.ts +1 -1
- package/dist/src/generated/backend/Event_Collection.js +2 -3
- package/dist/src/generated/backend/Event_Create.d.ts +1 -1
- package/dist/src/generated/backend/Event_Create.js +2 -3
- package/dist/src/generated/backend/Event_Subscription.d.ts +1 -1
- package/dist/src/generated/backend/Event_Subscription.js +2 -3
- package/dist/src/generated/backend/Event_Subscription_Collection.d.ts +1 -1
- package/dist/src/generated/backend/Event_Subscription_Collection.js +2 -3
- package/dist/src/generated/backend/Event_Subscription_Create.d.ts +1 -1
- package/dist/src/generated/backend/Event_Subscription_Create.js +2 -3
- package/dist/src/generated/backend/Event_Subscription_Update.d.ts +1 -1
- package/dist/src/generated/backend/Event_Subscription_Update.js +2 -3
- package/dist/src/generated/backend/Event_Update.d.ts +1 -1
- package/dist/src/generated/backend/Event_Update.js +2 -3
- package/dist/src/generated/backend/Form_Container.d.ts +1 -1
- package/dist/src/generated/backend/Form_Container.js +2 -3
- package/dist/src/generated/backend/Form_Element.d.ts +1 -1
- package/dist/src/generated/backend/Form_Element.js +2 -3
- package/dist/src/generated/backend/Form_Element_Input.d.ts +1 -1
- package/dist/src/generated/backend/Form_Element_Input.js +2 -3
- package/dist/src/generated/backend/Form_Element_Select.d.ts +1 -1
- package/dist/src/generated/backend/Form_Element_Select.js +2 -3
- package/dist/src/generated/backend/Form_Element_Select_Option.d.ts +1 -1
- package/dist/src/generated/backend/Form_Element_Select_Option.js +2 -3
- package/dist/src/generated/backend/Form_Element_Tag.d.ts +1 -1
- package/dist/src/generated/backend/Form_Element_Tag.js +2 -3
- package/dist/src/generated/backend/Form_Element_TextArea.d.ts +1 -1
- package/dist/src/generated/backend/Form_Element_TextArea.js +2 -3
- package/dist/src/generated/backend/Form_Query.d.ts +1 -1
- package/dist/src/generated/backend/Form_Query.js +2 -3
- package/dist/src/generated/backend/Log.d.ts +1 -1
- package/dist/src/generated/backend/Log.js +2 -3
- package/dist/src/generated/backend/Log_Collection.d.ts +1 -1
- package/dist/src/generated/backend/Log_Collection.js +2 -3
- package/dist/src/generated/backend/Log_Collection_Query.d.ts +1 -1
- package/dist/src/generated/backend/Log_Collection_Query.js +2 -3
- package/dist/src/generated/backend/Log_Error.d.ts +1 -1
- package/dist/src/generated/backend/Log_Error.js +2 -3
- package/dist/src/generated/backend/Log_Error_Collection.d.ts +1 -1
- package/dist/src/generated/backend/Log_Error_Collection.js +2 -3
- package/dist/src/generated/backend/Marketplace_App.d.ts +1 -1
- package/dist/src/generated/backend/Marketplace_App.js +2 -3
- package/dist/src/generated/backend/Marketplace_Collection.d.ts +1 -1
- package/dist/src/generated/backend/Marketplace_Collection.js +2 -3
- package/dist/src/generated/backend/Marketplace_Collection_Apps.d.ts +1 -1
- package/dist/src/generated/backend/Marketplace_Collection_Apps.js +2 -3
- package/dist/src/generated/backend/Marketplace_Install.d.ts +1 -1
- package/dist/src/generated/backend/Marketplace_Install.js +2 -3
- package/dist/src/generated/backend/Marketplace_Local_App.d.ts +1 -1
- package/dist/src/generated/backend/Marketplace_Local_App.js +2 -3
- package/dist/src/generated/backend/Marketplace_Remote_App.d.ts +1 -1
- package/dist/src/generated/backend/Marketplace_Remote_App.js +2 -3
- package/dist/src/generated/backend/Message.d.ts +1 -1
- package/dist/src/generated/backend/Message.js +2 -3
- package/dist/src/generated/backend/Page.d.ts +1 -1
- package/dist/src/generated/backend/Page.js +2 -3
- package/dist/src/generated/backend/Page_Collection.d.ts +1 -1
- package/dist/src/generated/backend/Page_Collection.js +2 -3
- package/dist/src/generated/backend/Page_Create.d.ts +1 -1
- package/dist/src/generated/backend/Page_Create.js +2 -3
- package/dist/src/generated/backend/Page_Update.d.ts +1 -1
- package/dist/src/generated/backend/Page_Update.js +2 -3
- package/dist/src/generated/backend/Plan.d.ts +1 -1
- package/dist/src/generated/backend/Plan.js +2 -3
- package/dist/src/generated/backend/Plan_Collection.d.ts +1 -1
- package/dist/src/generated/backend/Plan_Collection.js +2 -3
- package/dist/src/generated/backend/Plan_Create.d.ts +1 -1
- package/dist/src/generated/backend/Plan_Create.js +2 -3
- package/dist/src/generated/backend/Plan_Update.d.ts +1 -1
- package/dist/src/generated/backend/Plan_Update.js +2 -3
- package/dist/src/generated/backend/Plan_Usage_Collection_Query.d.ts +1 -1
- package/dist/src/generated/backend/Plan_Usage_Collection_Query.js +2 -3
- package/dist/src/generated/backend/Rate.d.ts +1 -1
- package/dist/src/generated/backend/Rate.js +2 -3
- package/dist/src/generated/backend/Rate_Allocation.d.ts +1 -1
- package/dist/src/generated/backend/Rate_Allocation.js +2 -3
- package/dist/src/generated/backend/Rate_Collection.d.ts +1 -1
- package/dist/src/generated/backend/Rate_Collection.js +2 -3
- package/dist/src/generated/backend/Rate_Create.d.ts +1 -1
- package/dist/src/generated/backend/Rate_Create.js +2 -3
- package/dist/src/generated/backend/Rate_Update.d.ts +1 -1
- package/dist/src/generated/backend/Rate_Update.js +2 -3
- package/dist/src/generated/backend/Role.d.ts +1 -1
- package/dist/src/generated/backend/Role.js +2 -3
- package/dist/src/generated/backend/Role_Collection.d.ts +1 -1
- package/dist/src/generated/backend/Role_Collection.js +2 -3
- package/dist/src/generated/backend/Role_Create.d.ts +1 -1
- package/dist/src/generated/backend/Role_Create.js +2 -3
- package/dist/src/generated/backend/Role_Update.d.ts +1 -1
- package/dist/src/generated/backend/Role_Update.js +2 -3
- package/dist/src/generated/backend/Route.d.ts +1 -1
- package/dist/src/generated/backend/Route.js +2 -3
- package/dist/src/generated/backend/Route_Collection.d.ts +1 -1
- package/dist/src/generated/backend/Route_Collection.js +2 -3
- package/dist/src/generated/backend/Route_Create.d.ts +1 -1
- package/dist/src/generated/backend/Route_Create.js +2 -3
- package/dist/src/generated/backend/Route_Index_Provider.d.ts +8 -0
- package/dist/src/generated/backend/Route_Index_Provider.js +5 -0
- package/dist/src/generated/backend/Route_Index_Providers.d.ts +3 -3
- package/dist/src/generated/backend/Route_Index_Providers.js +2 -3
- package/dist/src/generated/backend/Route_Method.d.ts +1 -1
- package/dist/src/generated/backend/Route_Method.js +2 -3
- package/dist/src/generated/backend/Route_Method_Responses.d.ts +1 -1
- package/dist/src/generated/backend/Route_Method_Responses.js +2 -3
- package/dist/src/generated/backend/Route_Methods.d.ts +1 -1
- package/dist/src/generated/backend/Route_Methods.js +2 -3
- package/dist/src/generated/backend/Route_Provider.d.ts +1 -1
- package/dist/src/generated/backend/Route_Provider.js +2 -3
- package/dist/src/generated/backend/Route_Provider_Changelog.d.ts +1 -1
- package/dist/src/generated/backend/Route_Provider_Changelog.js +2 -3
- package/dist/src/generated/backend/Route_Provider_Config.d.ts +1 -1
- package/dist/src/generated/backend/Route_Provider_Config.js +2 -3
- package/dist/src/generated/backend/Route_Update.d.ts +1 -1
- package/dist/src/generated/backend/Route_Update.js +2 -3
- package/dist/src/generated/backend/Route_Version.d.ts +1 -1
- package/dist/src/generated/backend/Route_Version.js +2 -3
- package/dist/src/generated/backend/Schema.d.ts +1 -1
- package/dist/src/generated/backend/Schema.js +2 -3
- package/dist/src/generated/backend/Schema_Collection.d.ts +1 -1
- package/dist/src/generated/backend/Schema_Collection.js +2 -3
- package/dist/src/generated/backend/Schema_Create.d.ts +1 -1
- package/dist/src/generated/backend/Schema_Create.js +2 -3
- package/dist/src/generated/backend/Schema_Form.d.ts +1 -1
- package/dist/src/generated/backend/Schema_Form.js +2 -3
- package/dist/src/generated/backend/Schema_Preview_Response.d.ts +1 -1
- package/dist/src/generated/backend/Schema_Preview_Response.js +2 -3
- package/dist/src/generated/backend/Schema_Source.d.ts +1 -1
- package/dist/src/generated/backend/Schema_Source.js +2 -3
- package/dist/src/generated/backend/Schema_Update.d.ts +1 -1
- package/dist/src/generated/backend/Schema_Update.js +2 -3
- package/dist/src/generated/backend/Scope.d.ts +1 -1
- package/dist/src/generated/backend/Scope.js +2 -3
- package/dist/src/generated/backend/Scope_Categories.d.ts +1 -1
- package/dist/src/generated/backend/Scope_Categories.js +2 -3
- package/dist/src/generated/backend/Scope_Category.d.ts +1 -1
- package/dist/src/generated/backend/Scope_Category.js +2 -3
- package/dist/src/generated/backend/Scope_Category_Scope.d.ts +1 -1
- package/dist/src/generated/backend/Scope_Category_Scope.js +2 -3
- package/dist/src/generated/backend/Scope_Collection.d.ts +1 -1
- package/dist/src/generated/backend/Scope_Collection.js +2 -3
- package/dist/src/generated/backend/Scope_Create.d.ts +1 -1
- package/dist/src/generated/backend/Scope_Create.js +2 -3
- package/dist/src/generated/backend/Scope_Route.d.ts +1 -1
- package/dist/src/generated/backend/Scope_Route.js +2 -3
- package/dist/src/generated/backend/Scope_Update.d.ts +1 -1
- package/dist/src/generated/backend/Scope_Update.js +2 -3
- package/dist/src/generated/backend/Sdk_Generate.d.ts +1 -1
- package/dist/src/generated/backend/Sdk_Generate.js +2 -3
- package/dist/src/generated/backend/Sdk_Response.d.ts +1 -1
- package/dist/src/generated/backend/Sdk_Response.js +2 -3
- package/dist/src/generated/backend/Sdk_Types.d.ts +1 -1
- package/dist/src/generated/backend/Sdk_Types.js +2 -3
- package/dist/src/generated/backend/Statistic_Chart.d.ts +1 -1
- package/dist/src/generated/backend/Statistic_Chart.js +2 -3
- package/dist/src/generated/backend/Statistic_Chart_Data.d.ts +1 -1
- package/dist/src/generated/backend/Statistic_Chart_Data.js +2 -3
- package/dist/src/generated/backend/Statistic_Count.d.ts +1 -1
- package/dist/src/generated/backend/Statistic_Count.js +2 -3
- package/dist/src/generated/backend/Transaction.d.ts +4 -3
- package/dist/src/generated/backend/Transaction.js +2 -3
- package/dist/src/generated/backend/Transaction_Collection.d.ts +1 -1
- package/dist/src/generated/backend/Transaction_Collection.js +2 -3
- package/dist/src/generated/backend/Transaction_Collection_Query.d.ts +1 -1
- package/dist/src/generated/backend/Transaction_Collection_Query.js +2 -3
- package/dist/src/generated/backend/Trash_Data.d.ts +1 -1
- package/dist/src/generated/backend/Trash_Data.js +2 -3
- package/dist/src/generated/backend/Trash_Data_Collection.d.ts +1 -1
- package/dist/src/generated/backend/Trash_Data_Collection.js +2 -3
- package/dist/src/generated/backend/Trash_Types.d.ts +1 -1
- package/dist/src/generated/backend/Trash_Types.js +2 -3
- package/dist/src/generated/backend/User.d.ts +1 -1
- package/dist/src/generated/backend/User.js +2 -3
- package/dist/src/generated/backend/User_Attributes.d.ts +1 -1
- package/dist/src/generated/backend/User_Attributes.js +2 -3
- package/dist/src/generated/backend/User_Collection.d.ts +1 -1
- package/dist/src/generated/backend/User_Collection.js +2 -3
- package/dist/src/generated/backend/User_Create.d.ts +1 -1
- package/dist/src/generated/backend/User_Create.js +2 -3
- package/dist/src/generated/backend/User_Update.d.ts +1 -1
- package/dist/src/generated/backend/User_Update.js +2 -3
- 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
|
@@ -1,25 +1,20 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
/**
|
|
3
2
|
* Client generated on 2022-06-25
|
|
4
3
|
* {@link https://sdkgen.app}
|
|
5
4
|
*/
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
const ConsumerGrantGroup_1 = __importDefault(require("./ConsumerGrantGroup"));
|
|
20
|
-
const ConsumerEventGroup_1 = __importDefault(require("./ConsumerEventGroup"));
|
|
21
|
-
const ConsumerAppGroup_1 = __importDefault(require("./ConsumerAppGroup"));
|
|
22
|
-
class Client extends sdkgen_client_1.ClientAbstract {
|
|
5
|
+
import { ClientAbstract } from "sdkgen-client";
|
|
6
|
+
import ConsumerUserGroup from "./ConsumerUserGroup";
|
|
7
|
+
import ConsumerTransactionGroup from "./ConsumerTransactionGroup";
|
|
8
|
+
import ConsumerSubscriptionGroup from "./ConsumerSubscriptionGroup";
|
|
9
|
+
import ConsumerScopeGroup from "./ConsumerScopeGroup";
|
|
10
|
+
import ConsumerPlanGroup from "./ConsumerPlanGroup";
|
|
11
|
+
import ConsumerPaymentGroup from "./ConsumerPaymentGroup";
|
|
12
|
+
import ConsumerPageGroup from "./ConsumerPageGroup";
|
|
13
|
+
import ConsumerLogGroup from "./ConsumerLogGroup";
|
|
14
|
+
import ConsumerGrantGroup from "./ConsumerGrantGroup";
|
|
15
|
+
import ConsumerEventGroup from "./ConsumerEventGroup";
|
|
16
|
+
import ConsumerAppGroup from "./ConsumerAppGroup";
|
|
17
|
+
export default class Client extends ClientAbstract {
|
|
23
18
|
constructor(baseUrl, credentials = null, tokenStore = null, scopes = []) {
|
|
24
19
|
super(baseUrl, credentials, tokenStore, scopes);
|
|
25
20
|
}
|
|
@@ -27,67 +22,66 @@ class Client extends sdkgen_client_1.ClientAbstract {
|
|
|
27
22
|
* Tag: consumer.user
|
|
28
23
|
*/
|
|
29
24
|
async consumerUser() {
|
|
30
|
-
return new
|
|
25
|
+
return new ConsumerUserGroup(this.baseUrl, await this.newHttpClient());
|
|
31
26
|
}
|
|
32
27
|
/**
|
|
33
28
|
* Tag: consumer.transaction
|
|
34
29
|
*/
|
|
35
30
|
async consumerTransaction() {
|
|
36
|
-
return new
|
|
31
|
+
return new ConsumerTransactionGroup(this.baseUrl, await this.newHttpClient());
|
|
37
32
|
}
|
|
38
33
|
/**
|
|
39
34
|
* Tag: consumer.subscription
|
|
40
35
|
*/
|
|
41
36
|
async consumerSubscription() {
|
|
42
|
-
return new
|
|
37
|
+
return new ConsumerSubscriptionGroup(this.baseUrl, await this.newHttpClient());
|
|
43
38
|
}
|
|
44
39
|
/**
|
|
45
40
|
* Tag: consumer.scope
|
|
46
41
|
*/
|
|
47
42
|
async consumerScope() {
|
|
48
|
-
return new
|
|
43
|
+
return new ConsumerScopeGroup(this.baseUrl, await this.newHttpClient());
|
|
49
44
|
}
|
|
50
45
|
/**
|
|
51
46
|
* Tag: consumer.plan
|
|
52
47
|
*/
|
|
53
48
|
async consumerPlan() {
|
|
54
|
-
return new
|
|
49
|
+
return new ConsumerPlanGroup(this.baseUrl, await this.newHttpClient());
|
|
55
50
|
}
|
|
56
51
|
/**
|
|
57
52
|
* Tag: consumer.payment
|
|
58
53
|
*/
|
|
59
54
|
async consumerPayment() {
|
|
60
|
-
return new
|
|
55
|
+
return new ConsumerPaymentGroup(this.baseUrl, await this.newHttpClient());
|
|
61
56
|
}
|
|
62
57
|
/**
|
|
63
58
|
* Tag: consumer.page
|
|
64
59
|
*/
|
|
65
60
|
async consumerPage() {
|
|
66
|
-
return new
|
|
61
|
+
return new ConsumerPageGroup(this.baseUrl, await this.newHttpClient());
|
|
67
62
|
}
|
|
68
63
|
/**
|
|
69
64
|
* Tag: consumer.log
|
|
70
65
|
*/
|
|
71
66
|
async consumerLog() {
|
|
72
|
-
return new
|
|
67
|
+
return new ConsumerLogGroup(this.baseUrl, await this.newHttpClient());
|
|
73
68
|
}
|
|
74
69
|
/**
|
|
75
70
|
* Tag: consumer.grant
|
|
76
71
|
*/
|
|
77
72
|
async consumerGrant() {
|
|
78
|
-
return new
|
|
73
|
+
return new ConsumerGrantGroup(this.baseUrl, await this.newHttpClient());
|
|
79
74
|
}
|
|
80
75
|
/**
|
|
81
76
|
* Tag: consumer.event
|
|
82
77
|
*/
|
|
83
78
|
async consumerEvent() {
|
|
84
|
-
return new
|
|
79
|
+
return new ConsumerEventGroup(this.baseUrl, await this.newHttpClient());
|
|
85
80
|
}
|
|
86
81
|
/**
|
|
87
82
|
* Tag: consumer.app
|
|
88
83
|
*/
|
|
89
84
|
async consumerApp() {
|
|
90
|
-
return new
|
|
85
|
+
return new ConsumerAppGroup(this.baseUrl, await this.newHttpClient());
|
|
91
86
|
}
|
|
92
87
|
}
|
|
93
|
-
exports.default = Client;
|
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
/**
|
|
3
2
|
* ConsumerAccountChangePasswordResource generated on 2022-06-25
|
|
4
3
|
* {@link https://sdkgen.app}
|
|
5
4
|
*/
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
class ConsumerAccountChangePasswordResource extends sdkgen_client_1.ResourceAbstract {
|
|
5
|
+
import { ResourceAbstract } from "sdkgen-client";
|
|
6
|
+
export default class ConsumerAccountChangePasswordResource extends ResourceAbstract {
|
|
9
7
|
constructor(baseUrl, httpClient) {
|
|
10
8
|
super(baseUrl, httpClient);
|
|
11
9
|
this.url = baseUrl + "/consumer/account/change_password";
|
|
@@ -21,4 +19,3 @@ class ConsumerAccountChangePasswordResource extends sdkgen_client_1.ResourceAbst
|
|
|
21
19
|
return this.httpClient.put(this.url, data, params);
|
|
22
20
|
}
|
|
23
21
|
}
|
|
24
|
-
exports.default = ConsumerAccountChangePasswordResource;
|
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
/**
|
|
3
2
|
* ConsumerAccountResource generated on 2022-06-25
|
|
4
3
|
* {@link https://sdkgen.app}
|
|
5
4
|
*/
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
class ConsumerAccountResource extends sdkgen_client_1.ResourceAbstract {
|
|
5
|
+
import { ResourceAbstract } from "sdkgen-client";
|
|
6
|
+
export default class ConsumerAccountResource extends ResourceAbstract {
|
|
9
7
|
constructor(baseUrl, httpClient) {
|
|
10
8
|
super(baseUrl, httpClient);
|
|
11
9
|
this.url = baseUrl + "/consumer/account";
|
|
@@ -30,4 +28,3 @@ class ConsumerAccountResource extends sdkgen_client_1.ResourceAbstract {
|
|
|
30
28
|
return this.httpClient.put(this.url, data, params);
|
|
31
29
|
}
|
|
32
30
|
}
|
|
33
|
-
exports.default = ConsumerAccountResource;
|
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
/**
|
|
3
2
|
* ConsumerActivateResource generated on 2022-06-25
|
|
4
3
|
* {@link https://sdkgen.app}
|
|
5
4
|
*/
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
class ConsumerActivateResource extends sdkgen_client_1.ResourceAbstract {
|
|
5
|
+
import { ResourceAbstract } from "sdkgen-client";
|
|
6
|
+
export default class ConsumerActivateResource extends ResourceAbstract {
|
|
9
7
|
constructor(baseUrl, httpClient) {
|
|
10
8
|
super(baseUrl, httpClient);
|
|
11
9
|
this.url = baseUrl + "/consumer/activate";
|
|
@@ -21,4 +19,3 @@ class ConsumerActivateResource extends sdkgen_client_1.ResourceAbstract {
|
|
|
21
19
|
return this.httpClient.post(this.url, data, params);
|
|
22
20
|
}
|
|
23
21
|
}
|
|
24
|
-
exports.default = ConsumerActivateResource;
|
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
/**
|
|
3
2
|
* ConsumerAppByAppIdResource generated on 2022-06-25
|
|
4
3
|
* {@link https://sdkgen.app}
|
|
5
4
|
*/
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
class ConsumerAppByAppIdResource extends sdkgen_client_1.ResourceAbstract {
|
|
5
|
+
import { ResourceAbstract } from "sdkgen-client";
|
|
6
|
+
export default class ConsumerAppByAppIdResource 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 ConsumerAppByAppIdResource extends sdkgen_client_1.ResourceAbstract {
|
|
|
40
38
|
return this.httpClient.delete(this.url, params);
|
|
41
39
|
}
|
|
42
40
|
}
|
|
43
|
-
exports.default = ConsumerAppByAppIdResource;
|
|
@@ -1,27 +1,21 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
/**
|
|
3
2
|
* ConsumerAppGroup 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 ConsumerAppByAppIdResource_1 = __importDefault(require("./ConsumerAppByAppIdResource"));
|
|
12
|
-
const ConsumerAppResource_1 = __importDefault(require("./ConsumerAppResource"));
|
|
13
|
-
class ConsumerAppGroup extends sdkgen_client_1.ResourceAbstract {
|
|
5
|
+
import { ResourceAbstract } from "sdkgen-client";
|
|
6
|
+
import ConsumerAppByAppIdResource from "./ConsumerAppByAppIdResource";
|
|
7
|
+
import ConsumerAppResource from "./ConsumerAppResource";
|
|
8
|
+
export default class ConsumerAppGroup extends ResourceAbstract {
|
|
14
9
|
/**
|
|
15
10
|
* Endpoint: /consumer/app/$app_id<[0-9]+>
|
|
16
11
|
*/
|
|
17
12
|
getConsumerAppByAppId(app_id) {
|
|
18
|
-
return new
|
|
13
|
+
return new ConsumerAppByAppIdResource(app_id, this.baseUrl, this.httpClient);
|
|
19
14
|
}
|
|
20
15
|
/**
|
|
21
16
|
* Endpoint: /consumer/app
|
|
22
17
|
*/
|
|
23
18
|
getConsumerApp() {
|
|
24
|
-
return new
|
|
19
|
+
return new ConsumerAppResource(this.baseUrl, this.httpClient);
|
|
25
20
|
}
|
|
26
21
|
}
|
|
27
|
-
exports.default = ConsumerAppGroup;
|
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
/**
|
|
3
2
|
* ConsumerAppResource generated on 2022-06-25
|
|
4
3
|
* {@link https://sdkgen.app}
|
|
5
4
|
*/
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
class ConsumerAppResource extends sdkgen_client_1.ResourceAbstract {
|
|
5
|
+
import { ResourceAbstract } from "sdkgen-client";
|
|
6
|
+
export default class ConsumerAppResource extends ResourceAbstract {
|
|
9
7
|
constructor(baseUrl, httpClient) {
|
|
10
8
|
super(baseUrl, httpClient);
|
|
11
9
|
this.url = baseUrl + "/consumer/app";
|
|
@@ -32,4 +30,3 @@ class ConsumerAppResource extends sdkgen_client_1.ResourceAbstract {
|
|
|
32
30
|
return this.httpClient.post(this.url, data, params);
|
|
33
31
|
}
|
|
34
32
|
}
|
|
35
|
-
exports.default = ConsumerAppResource;
|
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
/**
|
|
3
2
|
* ConsumerAuthorizeResource generated on 2022-06-25
|
|
4
3
|
* {@link https://sdkgen.app}
|
|
5
4
|
*/
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
class ConsumerAuthorizeResource extends sdkgen_client_1.ResourceAbstract {
|
|
5
|
+
import { ResourceAbstract } from "sdkgen-client";
|
|
6
|
+
export default class ConsumerAuthorizeResource extends ResourceAbstract {
|
|
9
7
|
constructor(baseUrl, httpClient) {
|
|
10
8
|
super(baseUrl, httpClient);
|
|
11
9
|
this.url = baseUrl + "/consumer/authorize";
|
|
@@ -30,4 +28,3 @@ class ConsumerAuthorizeResource extends sdkgen_client_1.ResourceAbstract {
|
|
|
30
28
|
return this.httpClient.post(this.url, data, params);
|
|
31
29
|
}
|
|
32
30
|
}
|
|
33
|
-
exports.default = ConsumerAuthorizeResource;
|
|
@@ -1,20 +1,14 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
/**
|
|
3
2
|
* ConsumerEventGroup generated on 2022-06-25
|
|
4
3
|
* {@link https://sdkgen.app}
|
|
5
4
|
*/
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
-
const sdkgen_client_1 = require("sdkgen-client");
|
|
11
|
-
const ConsumerEventResource_1 = __importDefault(require("./ConsumerEventResource"));
|
|
12
|
-
class ConsumerEventGroup extends sdkgen_client_1.ResourceAbstract {
|
|
5
|
+
import { ResourceAbstract } from "sdkgen-client";
|
|
6
|
+
import ConsumerEventResource from "./ConsumerEventResource";
|
|
7
|
+
export default class ConsumerEventGroup extends ResourceAbstract {
|
|
13
8
|
/**
|
|
14
9
|
* Endpoint: /consumer/event
|
|
15
10
|
*/
|
|
16
11
|
getConsumerEvent() {
|
|
17
|
-
return new
|
|
12
|
+
return new ConsumerEventResource(this.baseUrl, this.httpClient);
|
|
18
13
|
}
|
|
19
14
|
}
|
|
20
|
-
exports.default = ConsumerEventGroup;
|
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
/**
|
|
3
2
|
* ConsumerEventResource generated on 2022-06-25
|
|
4
3
|
* {@link https://sdkgen.app}
|
|
5
4
|
*/
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
class ConsumerEventResource extends sdkgen_client_1.ResourceAbstract {
|
|
5
|
+
import { ResourceAbstract } from "sdkgen-client";
|
|
6
|
+
export default class ConsumerEventResource extends ResourceAbstract {
|
|
9
7
|
constructor(baseUrl, httpClient) {
|
|
10
8
|
super(baseUrl, httpClient);
|
|
11
9
|
this.url = baseUrl + "/consumer/event";
|
|
@@ -22,4 +20,3 @@ class ConsumerEventResource extends sdkgen_client_1.ResourceAbstract {
|
|
|
22
20
|
return this.httpClient.get(this.url, params);
|
|
23
21
|
}
|
|
24
22
|
}
|
|
25
|
-
exports.default = ConsumerEventResource;
|
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
/**
|
|
3
2
|
* ConsumerGrantByGrantIdResource generated on 2022-06-25
|
|
4
3
|
* {@link https://sdkgen.app}
|
|
5
4
|
*/
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
class ConsumerGrantByGrantIdResource extends sdkgen_client_1.ResourceAbstract {
|
|
5
|
+
import { ResourceAbstract } from "sdkgen-client";
|
|
6
|
+
export default class ConsumerGrantByGrantIdResource extends ResourceAbstract {
|
|
9
7
|
constructor(grant_id, baseUrl, httpClient) {
|
|
10
8
|
super(baseUrl, httpClient);
|
|
11
9
|
this.grant_id = grant_id;
|
|
@@ -21,4 +19,3 @@ class ConsumerGrantByGrantIdResource extends sdkgen_client_1.ResourceAbstract {
|
|
|
21
19
|
return this.httpClient.delete(this.url, params);
|
|
22
20
|
}
|
|
23
21
|
}
|
|
24
|
-
exports.default = ConsumerGrantByGrantIdResource;
|
|
@@ -1,27 +1,21 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
/**
|
|
3
2
|
* ConsumerGrantGroup 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 ConsumerGrantByGrantIdResource_1 = __importDefault(require("./ConsumerGrantByGrantIdResource"));
|
|
12
|
-
const ConsumerGrantResource_1 = __importDefault(require("./ConsumerGrantResource"));
|
|
13
|
-
class ConsumerGrantGroup extends sdkgen_client_1.ResourceAbstract {
|
|
5
|
+
import { ResourceAbstract } from "sdkgen-client";
|
|
6
|
+
import ConsumerGrantByGrantIdResource from "./ConsumerGrantByGrantIdResource";
|
|
7
|
+
import ConsumerGrantResource from "./ConsumerGrantResource";
|
|
8
|
+
export default class ConsumerGrantGroup extends ResourceAbstract {
|
|
14
9
|
/**
|
|
15
10
|
* Endpoint: /consumer/grant/$grant_id<[0-9]+>
|
|
16
11
|
*/
|
|
17
12
|
getConsumerGrantByGrantId(grant_id) {
|
|
18
|
-
return new
|
|
13
|
+
return new ConsumerGrantByGrantIdResource(grant_id, this.baseUrl, this.httpClient);
|
|
19
14
|
}
|
|
20
15
|
/**
|
|
21
16
|
* Endpoint: /consumer/grant
|
|
22
17
|
*/
|
|
23
18
|
getConsumerGrant() {
|
|
24
|
-
return new
|
|
19
|
+
return new ConsumerGrantResource(this.baseUrl, this.httpClient);
|
|
25
20
|
}
|
|
26
21
|
}
|
|
27
|
-
exports.default = ConsumerGrantGroup;
|
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
/**
|
|
3
2
|
* ConsumerGrantResource generated on 2022-06-25
|
|
4
3
|
* {@link https://sdkgen.app}
|
|
5
4
|
*/
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
class ConsumerGrantResource extends sdkgen_client_1.ResourceAbstract {
|
|
5
|
+
import { ResourceAbstract } from "sdkgen-client";
|
|
6
|
+
export default class ConsumerGrantResource extends ResourceAbstract {
|
|
9
7
|
constructor(baseUrl, httpClient) {
|
|
10
8
|
super(baseUrl, httpClient);
|
|
11
9
|
this.url = baseUrl + "/consumer/grant";
|
|
@@ -22,4 +20,3 @@ class ConsumerGrantResource extends sdkgen_client_1.ResourceAbstract {
|
|
|
22
20
|
return this.httpClient.get(this.url, params);
|
|
23
21
|
}
|
|
24
22
|
}
|
|
25
|
-
exports.default = ConsumerGrantResource;
|
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
/**
|
|
3
2
|
* ConsumerLogByLogIdResource generated on 2022-06-25
|
|
4
3
|
* {@link https://sdkgen.app}
|
|
5
4
|
*/
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
class ConsumerLogByLogIdResource extends sdkgen_client_1.ResourceAbstract {
|
|
5
|
+
import { ResourceAbstract } from "sdkgen-client";
|
|
6
|
+
export default class ConsumerLogByLogIdResource extends ResourceAbstract {
|
|
9
7
|
constructor(log_id, baseUrl, httpClient) {
|
|
10
8
|
super(baseUrl, httpClient);
|
|
11
9
|
this.log_id = log_id;
|
|
@@ -23,4 +21,3 @@ class ConsumerLogByLogIdResource extends sdkgen_client_1.ResourceAbstract {
|
|
|
23
21
|
return this.httpClient.get(this.url, params);
|
|
24
22
|
}
|
|
25
23
|
}
|
|
26
|
-
exports.default = ConsumerLogByLogIdResource;
|
|
@@ -1,27 +1,21 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
/**
|
|
3
2
|
* ConsumerLogGroup 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 ConsumerLogByLogIdResource_1 = __importDefault(require("./ConsumerLogByLogIdResource"));
|
|
12
|
-
const ConsumerLogResource_1 = __importDefault(require("./ConsumerLogResource"));
|
|
13
|
-
class ConsumerLogGroup extends sdkgen_client_1.ResourceAbstract {
|
|
5
|
+
import { ResourceAbstract } from "sdkgen-client";
|
|
6
|
+
import ConsumerLogByLogIdResource from "./ConsumerLogByLogIdResource";
|
|
7
|
+
import ConsumerLogResource from "./ConsumerLogResource";
|
|
8
|
+
export default class ConsumerLogGroup extends ResourceAbstract {
|
|
14
9
|
/**
|
|
15
10
|
* Endpoint: /consumer/log/$log_id<[0-9]+>
|
|
16
11
|
*/
|
|
17
12
|
getConsumerLogByLogId(log_id) {
|
|
18
|
-
return new
|
|
13
|
+
return new ConsumerLogByLogIdResource(log_id, this.baseUrl, this.httpClient);
|
|
19
14
|
}
|
|
20
15
|
/**
|
|
21
16
|
* Endpoint: /consumer/log
|
|
22
17
|
*/
|
|
23
18
|
getConsumerLog() {
|
|
24
|
-
return new
|
|
19
|
+
return new ConsumerLogResource(this.baseUrl, this.httpClient);
|
|
25
20
|
}
|
|
26
21
|
}
|
|
27
|
-
exports.default = ConsumerLogGroup;
|
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
/**
|
|
3
2
|
* ConsumerLogResource generated on 2022-06-25
|
|
4
3
|
* {@link https://sdkgen.app}
|
|
5
4
|
*/
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
class ConsumerLogResource extends sdkgen_client_1.ResourceAbstract {
|
|
5
|
+
import { ResourceAbstract } from "sdkgen-client";
|
|
6
|
+
export default class ConsumerLogResource extends ResourceAbstract {
|
|
9
7
|
constructor(baseUrl, httpClient) {
|
|
10
8
|
super(baseUrl, httpClient);
|
|
11
9
|
this.url = baseUrl + "/consumer/log";
|
|
@@ -22,4 +20,3 @@ class ConsumerLogResource extends sdkgen_client_1.ResourceAbstract {
|
|
|
22
20
|
return this.httpClient.get(this.url, params);
|
|
23
21
|
}
|
|
24
22
|
}
|
|
25
|
-
exports.default = ConsumerLogResource;
|
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
/**
|
|
3
2
|
* ConsumerLoginResource generated on 2022-06-25
|
|
4
3
|
* {@link https://sdkgen.app}
|
|
5
4
|
*/
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
class ConsumerLoginResource extends sdkgen_client_1.ResourceAbstract {
|
|
5
|
+
import { ResourceAbstract } from "sdkgen-client";
|
|
6
|
+
export default class ConsumerLoginResource extends ResourceAbstract {
|
|
9
7
|
constructor(baseUrl, httpClient) {
|
|
10
8
|
super(baseUrl, httpClient);
|
|
11
9
|
this.url = baseUrl + "/consumer/login";
|
|
@@ -31,4 +29,3 @@ class ConsumerLoginResource extends sdkgen_client_1.ResourceAbstract {
|
|
|
31
29
|
return this.httpClient.put(this.url, data, params);
|
|
32
30
|
}
|
|
33
31
|
}
|
|
34
|
-
exports.default = ConsumerLoginResource;
|
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
/**
|
|
3
2
|
* ConsumerPageByPageIdResource generated on 2022-06-25
|
|
4
3
|
* {@link https://sdkgen.app}
|
|
5
4
|
*/
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
class ConsumerPageByPageIdResource extends sdkgen_client_1.ResourceAbstract {
|
|
5
|
+
import { ResourceAbstract } from "sdkgen-client";
|
|
6
|
+
export default class ConsumerPageByPageIdResource extends ResourceAbstract {
|
|
9
7
|
constructor(page_id, baseUrl, httpClient) {
|
|
10
8
|
super(baseUrl, httpClient);
|
|
11
9
|
this.page_id = page_id;
|
|
@@ -21,4 +19,3 @@ class ConsumerPageByPageIdResource extends sdkgen_client_1.ResourceAbstract {
|
|
|
21
19
|
return this.httpClient.get(this.url, params);
|
|
22
20
|
}
|
|
23
21
|
}
|
|
24
|
-
exports.default = ConsumerPageByPageIdResource;
|
|
@@ -1,27 +1,21 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
/**
|
|
3
2
|
* ConsumerPageGroup 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 ConsumerPageByPageIdResource_1 = __importDefault(require("./ConsumerPageByPageIdResource"));
|
|
12
|
-
const ConsumerPageResource_1 = __importDefault(require("./ConsumerPageResource"));
|
|
13
|
-
class ConsumerPageGroup extends sdkgen_client_1.ResourceAbstract {
|
|
5
|
+
import { ResourceAbstract } from "sdkgen-client";
|
|
6
|
+
import ConsumerPageByPageIdResource from "./ConsumerPageByPageIdResource";
|
|
7
|
+
import ConsumerPageResource from "./ConsumerPageResource";
|
|
8
|
+
export default class ConsumerPageGroup extends ResourceAbstract {
|
|
14
9
|
/**
|
|
15
10
|
* Endpoint: /consumer/page/:page_id
|
|
16
11
|
*/
|
|
17
12
|
getConsumerPageByPageId(page_id) {
|
|
18
|
-
return new
|
|
13
|
+
return new ConsumerPageByPageIdResource(page_id, this.baseUrl, this.httpClient);
|
|
19
14
|
}
|
|
20
15
|
/**
|
|
21
16
|
* Endpoint: /consumer/page
|
|
22
17
|
*/
|
|
23
18
|
getConsumerPage() {
|
|
24
|
-
return new
|
|
19
|
+
return new ConsumerPageResource(this.baseUrl, this.httpClient);
|
|
25
20
|
}
|
|
26
21
|
}
|
|
27
|
-
exports.default = ConsumerPageGroup;
|
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
/**
|
|
3
2
|
* ConsumerPageResource generated on 2022-06-25
|
|
4
3
|
* {@link https://sdkgen.app}
|
|
5
4
|
*/
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
class ConsumerPageResource extends sdkgen_client_1.ResourceAbstract {
|
|
5
|
+
import { ResourceAbstract } from "sdkgen-client";
|
|
6
|
+
export default class ConsumerPageResource extends ResourceAbstract {
|
|
9
7
|
constructor(baseUrl, httpClient) {
|
|
10
8
|
super(baseUrl, httpClient);
|
|
11
9
|
this.url = baseUrl + "/consumer/page";
|
|
@@ -22,4 +20,3 @@ class ConsumerPageResource extends sdkgen_client_1.ResourceAbstract {
|
|
|
22
20
|
return this.httpClient.get(this.url, params);
|
|
23
21
|
}
|
|
24
22
|
}
|
|
25
|
-
exports.default = ConsumerPageResource;
|
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
/**
|
|
3
2
|
* ConsumerPasswordResetResource generated on 2022-06-25
|
|
4
3
|
* {@link https://sdkgen.app}
|
|
5
4
|
*/
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
class ConsumerPasswordResetResource extends sdkgen_client_1.ResourceAbstract {
|
|
5
|
+
import { ResourceAbstract } from "sdkgen-client";
|
|
6
|
+
export default class ConsumerPasswordResetResource extends ResourceAbstract {
|
|
9
7
|
constructor(baseUrl, httpClient) {
|
|
10
8
|
super(baseUrl, httpClient);
|
|
11
9
|
this.url = baseUrl + "/consumer/password_reset";
|
|
@@ -31,4 +29,3 @@ class ConsumerPasswordResetResource extends sdkgen_client_1.ResourceAbstract {
|
|
|
31
29
|
return this.httpClient.put(this.url, data, params);
|
|
32
30
|
}
|
|
33
31
|
}
|
|
34
|
-
exports.default = ConsumerPasswordResetResource;
|
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
/**
|
|
3
2
|
* ConsumerPaymentByProviderCheckoutResource generated on 2022-06-25
|
|
4
3
|
* {@link https://sdkgen.app}
|
|
5
4
|
*/
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
class ConsumerPaymentByProviderCheckoutResource extends sdkgen_client_1.ResourceAbstract {
|
|
5
|
+
import { ResourceAbstract } from "sdkgen-client";
|
|
6
|
+
export default class ConsumerPaymentByProviderCheckoutResource extends ResourceAbstract {
|
|
9
7
|
constructor(provider, baseUrl, httpClient) {
|
|
10
8
|
super(baseUrl, httpClient);
|
|
11
9
|
this.provider = provider;
|
|
@@ -22,4 +20,3 @@ class ConsumerPaymentByProviderCheckoutResource extends sdkgen_client_1.Resource
|
|
|
22
20
|
return this.httpClient.post(this.url, data, params);
|
|
23
21
|
}
|
|
24
22
|
}
|
|
25
|
-
exports.default = ConsumerPaymentByProviderCheckoutResource;
|
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
/**
|
|
3
2
|
* ConsumerPaymentByProviderPortalResource generated on 2022-06-25
|
|
4
3
|
* {@link https://sdkgen.app}
|
|
5
4
|
*/
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
class ConsumerPaymentByProviderPortalResource extends sdkgen_client_1.ResourceAbstract {
|
|
5
|
+
import { ResourceAbstract } from "sdkgen-client";
|
|
6
|
+
export default class ConsumerPaymentByProviderPortalResource extends ResourceAbstract {
|
|
9
7
|
constructor(provider, baseUrl, httpClient) {
|
|
10
8
|
super(baseUrl, httpClient);
|
|
11
9
|
this.provider = provider;
|
|
@@ -21,4 +19,3 @@ class ConsumerPaymentByProviderPortalResource extends sdkgen_client_1.ResourceAb
|
|
|
21
19
|
return this.httpClient.post(this.url, null, params);
|
|
22
20
|
}
|
|
23
21
|
}
|
|
24
|
-
exports.default = ConsumerPaymentByProviderPortalResource;
|