fusio-sdk 3.0.3 → 3.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/src/Client.d.ts +4 -6
- package/dist/src/Client.js +10 -12
- package/dist/src/generated/backend/AccountTag.d.ts +26 -0
- package/dist/src/generated/backend/AccountTag.js +86 -0
- package/dist/src/generated/backend/ActionTag.d.ts +56 -0
- package/dist/src/generated/backend/ActionTag.js +226 -0
- package/dist/src/generated/backend/AppTag.d.ts +54 -0
- package/dist/src/generated/backend/AppTag.js +237 -0
- package/dist/src/generated/backend/AuditTag.d.ts +19 -0
- package/dist/src/generated/backend/AuditTag.js +72 -0
- package/dist/src/generated/backend/CategoryTag.d.ts +37 -0
- package/dist/src/generated/backend/CategoryTag.js +146 -0
- package/dist/src/generated/backend/Client.d.ts +52 -521
- package/dist/src/generated/backend/Client.js +100 -669
- package/dist/src/generated/backend/ConfigTag.d.ts +26 -0
- package/dist/src/generated/backend/ConfigTag.js +93 -0
- package/dist/src/generated/backend/ConnectionTag.d.ts +66 -0
- package/dist/src/generated/backend/ConnectionTag.js +280 -0
- package/dist/src/generated/backend/CronjobTag.d.ts +37 -0
- package/dist/src/generated/backend/CronjobTag.js +146 -0
- package/dist/src/generated/backend/Dashboard.d.ts +3 -3
- package/dist/src/generated/backend/DashboardTag.d.ts +13 -0
- package/dist/src/generated/backend/DashboardTag.js +34 -0
- package/dist/src/generated/backend/EventTag.d.ts +66 -0
- package/dist/src/generated/backend/EventTag.js +284 -0
- package/dist/src/generated/backend/GeneratorProviderChangelog.d.ts +2 -2
- package/dist/src/generated/backend/GeneratorTag.d.ts +33 -0
- package/dist/src/generated/backend/GeneratorTag.js +117 -0
- package/dist/src/generated/backend/LogTag.d.ts +31 -0
- package/dist/src/generated/backend/LogTag.js +132 -0
- package/dist/src/generated/backend/MarketplaceTag.d.ts +36 -0
- package/dist/src/generated/backend/MarketplaceTag.js +141 -0
- package/dist/src/generated/backend/Message.d.ts +1 -0
- package/dist/src/generated/backend/Operation.d.ts +27 -0
- package/dist/src/generated/backend/{FormQuery.js → Operation.js} +1 -1
- package/dist/src/generated/backend/OperationCollection.d.ts +7 -0
- package/dist/src/generated/backend/OperationCollection.js +5 -0
- package/dist/src/generated/backend/OperationCreate.d.ts +7 -0
- package/dist/src/generated/backend/{CollectionQuery.js → OperationCreate.js} +1 -1
- package/dist/src/generated/backend/OperationParameters.d.ts +6 -0
- package/dist/src/generated/backend/OperationParameters.js +5 -0
- package/dist/src/generated/backend/OperationSchema.d.ts +10 -0
- package/dist/src/generated/{consumer/CollectionQuery.js → backend/OperationSchema.js} +1 -1
- package/dist/src/generated/backend/OperationTag.d.ts +37 -0
- package/dist/src/generated/backend/OperationTag.js +147 -0
- package/dist/src/generated/backend/OperationThrows.d.ts +5 -0
- package/dist/src/generated/backend/{RouteCollection.js → OperationThrows.js} +1 -1
- package/dist/src/generated/backend/OperationUpdate.d.ts +7 -0
- package/dist/src/generated/backend/OperationUpdate.js +5 -0
- package/dist/src/generated/backend/PageTag.d.ts +37 -0
- package/dist/src/generated/backend/PageTag.js +146 -0
- package/dist/src/generated/backend/PlanTag.d.ts +37 -0
- package/dist/src/generated/backend/PlanTag.js +146 -0
- package/dist/src/generated/backend/RateAllocation.d.ts +1 -1
- package/dist/src/generated/backend/RateTag.d.ts +37 -0
- package/dist/src/generated/backend/RateTag.js +146 -0
- package/dist/src/generated/backend/RoleTag.d.ts +37 -0
- package/dist/src/generated/backend/RoleTag.js +146 -0
- package/dist/src/generated/backend/SchemaTag.d.ts +49 -0
- package/dist/src/generated/backend/SchemaTag.js +202 -0
- package/dist/src/generated/backend/Scope.d.ts +2 -2
- package/dist/src/generated/backend/ScopeOperation.d.ts +9 -0
- package/dist/src/generated/backend/ScopeOperation.js +5 -0
- package/dist/src/generated/backend/ScopeTag.d.ts +43 -0
- package/dist/src/generated/backend/ScopeTag.js +172 -0
- package/dist/src/generated/backend/SdkTag.d.ts +20 -0
- package/dist/src/generated/backend/SdkTag.js +60 -0
- package/dist/src/generated/backend/StatisticTag.d.ts +59 -0
- package/dist/src/generated/backend/StatisticTag.js +409 -0
- package/dist/src/generated/backend/TransactionTag.d.ts +19 -0
- package/dist/src/generated/backend/TransactionTag.js +72 -0
- package/dist/src/generated/backend/TrashTag.d.ts +26 -0
- package/dist/src/generated/backend/TrashTag.js +93 -0
- package/dist/src/generated/backend/UserTag.d.ts +37 -0
- package/dist/src/generated/backend/UserTag.js +146 -0
- package/dist/src/generated/consumer/AccountTag.d.ts +81 -0
- package/dist/src/generated/consumer/AccountTag.js +321 -0
- package/dist/src/generated/consumer/AppTag.d.ts +37 -0
- package/dist/src/generated/consumer/AppTag.js +146 -0
- package/dist/src/generated/consumer/Client.d.ts +24 -185
- package/dist/src/generated/consumer/Client.js +44 -237
- package/dist/src/generated/consumer/EventTag.d.ts +13 -0
- package/dist/src/generated/consumer/EventTag.js +38 -0
- package/dist/src/generated/consumer/GrantTag.d.ts +19 -0
- package/dist/src/generated/consumer/GrantTag.js +65 -0
- package/dist/src/generated/consumer/LogTag.d.ts +19 -0
- package/dist/src/generated/consumer/LogTag.js +65 -0
- package/dist/src/generated/consumer/Message.d.ts +1 -0
- package/dist/src/generated/consumer/PageTag.d.ts +19 -0
- package/dist/src/generated/consumer/PageTag.js +65 -0
- package/dist/src/generated/consumer/PaymentTag.d.ts +21 -0
- package/dist/src/generated/consumer/PaymentTag.js +65 -0
- package/dist/src/generated/consumer/PlanTag.d.ts +19 -0
- package/dist/src/generated/consumer/PlanTag.js +65 -0
- package/dist/src/generated/consumer/ScopeTag.d.ts +13 -0
- package/dist/src/generated/consumer/ScopeTag.js +38 -0
- package/dist/src/generated/consumer/SubscriptionTag.d.ts +37 -0
- package/dist/src/generated/consumer/SubscriptionTag.js +146 -0
- package/dist/src/generated/consumer/TransactionTag.d.ts +19 -0
- package/dist/src/generated/consumer/TransactionTag.js +65 -0
- package/package.json +3 -3
- package/dist/src/generated/backend/AppTokenCollectionQuery.d.ts +0 -15
- package/dist/src/generated/backend/AppTokenCollectionQuery.js +0 -5
- package/dist/src/generated/backend/AuditCollectionQuery.d.ts +0 -15
- package/dist/src/generated/backend/AuditCollectionQuery.js +0 -5
- package/dist/src/generated/backend/BackendAccountChangePasswordResource.d.ts +0 -17
- package/dist/src/generated/backend/BackendAccountChangePasswordResource.js +0 -21
- package/dist/src/generated/backend/BackendAccountResource.d.ts +0 -22
- package/dist/src/generated/backend/BackendAccountResource.js +0 -30
- package/dist/src/generated/backend/BackendActionByActionIdResource.d.ts +0 -27
- package/dist/src/generated/backend/BackendActionByActionIdResource.js +0 -40
- package/dist/src/generated/backend/BackendActionExecuteByActionIdResource.d.ts +0 -18
- package/dist/src/generated/backend/BackendActionExecuteByActionIdResource.js +0 -22
- package/dist/src/generated/backend/BackendActionFormResource.d.ts +0 -17
- package/dist/src/generated/backend/BackendActionFormResource.js +0 -22
- package/dist/src/generated/backend/BackendActionListResource.d.ts +0 -15
- package/dist/src/generated/backend/BackendActionListResource.js +0 -20
- package/dist/src/generated/backend/BackendActionResource.d.ts +0 -24
- package/dist/src/generated/backend/BackendActionResource.js +0 -32
- package/dist/src/generated/backend/BackendAppByAppIdResource.d.ts +0 -27
- package/dist/src/generated/backend/BackendAppByAppIdResource.js +0 -40
- package/dist/src/generated/backend/BackendAppByAppIdTokenAndTokenIdResource.d.ts +0 -17
- package/dist/src/generated/backend/BackendAppByAppIdTokenAndTokenIdResource.js +0 -22
- package/dist/src/generated/backend/BackendAppResource.d.ts +0 -24
- package/dist/src/generated/backend/BackendAppResource.js +0 -32
- package/dist/src/generated/backend/BackendAppTokenByTokenIdResource.d.ts +0 -16
- package/dist/src/generated/backend/BackendAppTokenByTokenIdResource.js +0 -21
- package/dist/src/generated/backend/BackendAppTokenCollectionQuery.d.ts +0 -6
- package/dist/src/generated/backend/BackendAppTokenCollectionQuery.js +0 -5
- package/dist/src/generated/backend/BackendAppTokenResource.d.ts +0 -17
- package/dist/src/generated/backend/BackendAppTokenResource.js +0 -22
- package/dist/src/generated/backend/BackendAuditByAuditIdResource.d.ts +0 -16
- package/dist/src/generated/backend/BackendAuditByAuditIdResource.js +0 -21
- package/dist/src/generated/backend/BackendAuditCollectionQuery.d.ts +0 -6
- package/dist/src/generated/backend/BackendAuditCollectionQuery.js +0 -5
- package/dist/src/generated/backend/BackendAuditResource.d.ts +0 -17
- package/dist/src/generated/backend/BackendAuditResource.js +0 -22
- package/dist/src/generated/backend/BackendCategoryByCategoryIdResource.d.ts +0 -27
- package/dist/src/generated/backend/BackendCategoryByCategoryIdResource.js +0 -40
- package/dist/src/generated/backend/BackendCategoryResource.d.ts +0 -24
- package/dist/src/generated/backend/BackendCategoryResource.js +0 -32
- package/dist/src/generated/backend/BackendConfigByConfigIdResource.d.ts +0 -23
- package/dist/src/generated/backend/BackendConfigByConfigIdResource.js +0 -31
- package/dist/src/generated/backend/BackendConfigResource.d.ts +0 -17
- package/dist/src/generated/backend/BackendConfigResource.js +0 -22
- package/dist/src/generated/backend/BackendConnectionByConnectionIdIntrospectionAndEntityResource.d.ts +0 -17
- package/dist/src/generated/backend/BackendConnectionByConnectionIdIntrospectionAndEntityResource.js +0 -22
- package/dist/src/generated/backend/BackendConnectionByConnectionIdIntrospectionResource.d.ts +0 -16
- package/dist/src/generated/backend/BackendConnectionByConnectionIdIntrospectionResource.js +0 -21
- package/dist/src/generated/backend/BackendConnectionByConnectionIdRedirectResource.d.ts +0 -16
- package/dist/src/generated/backend/BackendConnectionByConnectionIdRedirectResource.js +0 -21
- package/dist/src/generated/backend/BackendConnectionByConnectionIdResource.d.ts +0 -27
- package/dist/src/generated/backend/BackendConnectionByConnectionIdResource.js +0 -40
- package/dist/src/generated/backend/BackendConnectionFormResource.d.ts +0 -17
- package/dist/src/generated/backend/BackendConnectionFormResource.js +0 -22
- package/dist/src/generated/backend/BackendConnectionListResource.d.ts +0 -15
- package/dist/src/generated/backend/BackendConnectionListResource.js +0 -20
- package/dist/src/generated/backend/BackendConnectionResource.d.ts +0 -24
- package/dist/src/generated/backend/BackendConnectionResource.js +0 -32
- package/dist/src/generated/backend/BackendCronjobByCronjobIdResource.d.ts +0 -27
- package/dist/src/generated/backend/BackendCronjobByCronjobIdResource.js +0 -40
- package/dist/src/generated/backend/BackendCronjobResource.d.ts +0 -24
- package/dist/src/generated/backend/BackendCronjobResource.js +0 -32
- package/dist/src/generated/backend/BackendDashboardResource.d.ts +0 -15
- package/dist/src/generated/backend/BackendDashboardResource.js +0 -20
- package/dist/src/generated/backend/BackendEventByEventIdResource.d.ts +0 -27
- package/dist/src/generated/backend/BackendEventByEventIdResource.js +0 -40
- package/dist/src/generated/backend/BackendEventResource.d.ts +0 -24
- package/dist/src/generated/backend/BackendEventResource.js +0 -32
- package/dist/src/generated/backend/BackendEventSubscriptionBySubscriptionIdResource.d.ts +0 -27
- package/dist/src/generated/backend/BackendEventSubscriptionBySubscriptionIdResource.js +0 -40
- package/dist/src/generated/backend/BackendEventSubscriptionResource.d.ts +0 -24
- package/dist/src/generated/backend/BackendEventSubscriptionResource.js +0 -32
- package/dist/src/generated/backend/BackendGeneratorByProviderResource.d.ts +0 -30
- package/dist/src/generated/backend/BackendGeneratorByProviderResource.js +0 -41
- package/dist/src/generated/backend/BackendGeneratorResource.d.ts +0 -15
- package/dist/src/generated/backend/BackendGeneratorResource.js +0 -20
- package/dist/src/generated/backend/BackendLogByLogIdResource.d.ts +0 -16
- package/dist/src/generated/backend/BackendLogByLogIdResource.js +0 -21
- package/dist/src/generated/backend/BackendLogCollectionQuery.d.ts +0 -6
- package/dist/src/generated/backend/BackendLogCollectionQuery.js +0 -5
- package/dist/src/generated/backend/BackendLogErrorByErrorIdResource.d.ts +0 -16
- package/dist/src/generated/backend/BackendLogErrorByErrorIdResource.js +0 -21
- package/dist/src/generated/backend/BackendLogErrorResource.d.ts +0 -17
- package/dist/src/generated/backend/BackendLogErrorResource.js +0 -22
- package/dist/src/generated/backend/BackendLogResource.d.ts +0 -17
- package/dist/src/generated/backend/BackendLogResource.js +0 -22
- package/dist/src/generated/backend/BackendMarketplaceByAppNameResource.d.ts +0 -25
- package/dist/src/generated/backend/BackendMarketplaceByAppNameResource.js +0 -39
- package/dist/src/generated/backend/BackendMarketplaceResource.d.ts +0 -22
- package/dist/src/generated/backend/BackendMarketplaceResource.js +0 -30
- package/dist/src/generated/backend/BackendPageByPageIdResource.d.ts +0 -27
- package/dist/src/generated/backend/BackendPageByPageIdResource.js +0 -40
- package/dist/src/generated/backend/BackendPageResource.d.ts +0 -24
- package/dist/src/generated/backend/BackendPageResource.js +0 -32
- package/dist/src/generated/backend/BackendPlanByPlanIdResource.d.ts +0 -27
- package/dist/src/generated/backend/BackendPlanByPlanIdResource.js +0 -40
- package/dist/src/generated/backend/BackendPlanResource.d.ts +0 -24
- package/dist/src/generated/backend/BackendPlanResource.js +0 -32
- package/dist/src/generated/backend/BackendPlanUsageCollectionQuery.d.ts +0 -6
- package/dist/src/generated/backend/BackendPlanUsageCollectionQuery.js +0 -5
- package/dist/src/generated/backend/BackendRateByRateIdResource.d.ts +0 -27
- package/dist/src/generated/backend/BackendRateByRateIdResource.js +0 -40
- package/dist/src/generated/backend/BackendRateResource.d.ts +0 -24
- package/dist/src/generated/backend/BackendRateResource.js +0 -32
- package/dist/src/generated/backend/BackendRoleByRoleIdResource.d.ts +0 -27
- package/dist/src/generated/backend/BackendRoleByRoleIdResource.js +0 -40
- package/dist/src/generated/backend/BackendRoleResource.d.ts +0 -24
- package/dist/src/generated/backend/BackendRoleResource.js +0 -32
- package/dist/src/generated/backend/BackendRoutesByRouteIdResource.d.ts +0 -27
- package/dist/src/generated/backend/BackendRoutesByRouteIdResource.js +0 -40
- package/dist/src/generated/backend/BackendRoutesResource.d.ts +0 -24
- package/dist/src/generated/backend/BackendRoutesResource.js +0 -32
- package/dist/src/generated/backend/BackendSchemaBySchemaIdResource.d.ts +0 -27
- package/dist/src/generated/backend/BackendSchemaBySchemaIdResource.js +0 -40
- package/dist/src/generated/backend/BackendSchemaFormBySchemaIdResource.d.ts +0 -18
- package/dist/src/generated/backend/BackendSchemaFormBySchemaIdResource.js +0 -22
- package/dist/src/generated/backend/BackendSchemaPreviewBySchemaIdResource.d.ts +0 -16
- package/dist/src/generated/backend/BackendSchemaPreviewBySchemaIdResource.js +0 -21
- package/dist/src/generated/backend/BackendSchemaResource.d.ts +0 -24
- package/dist/src/generated/backend/BackendSchemaResource.js +0 -32
- package/dist/src/generated/backend/BackendScopeByScopeIdResource.d.ts +0 -27
- package/dist/src/generated/backend/BackendScopeByScopeIdResource.js +0 -40
- package/dist/src/generated/backend/BackendScopeCategoriesResource.d.ts +0 -15
- package/dist/src/generated/backend/BackendScopeCategoriesResource.js +0 -20
- package/dist/src/generated/backend/BackendScopeResource.d.ts +0 -24
- package/dist/src/generated/backend/BackendScopeResource.js +0 -32
- package/dist/src/generated/backend/BackendSdkResource.d.ts +0 -22
- package/dist/src/generated/backend/BackendSdkResource.js +0 -30
- package/dist/src/generated/backend/BackendStatisticCountRequestsResource.d.ts +0 -17
- package/dist/src/generated/backend/BackendStatisticCountRequestsResource.js +0 -22
- package/dist/src/generated/backend/BackendStatisticErrorsPerRouteResource.d.ts +0 -17
- package/dist/src/generated/backend/BackendStatisticErrorsPerRouteResource.js +0 -22
- package/dist/src/generated/backend/BackendStatisticIncomingRequestsResource.d.ts +0 -17
- package/dist/src/generated/backend/BackendStatisticIncomingRequestsResource.js +0 -22
- package/dist/src/generated/backend/BackendStatisticIncomingTransactionsResource.d.ts +0 -17
- package/dist/src/generated/backend/BackendStatisticIncomingTransactionsResource.js +0 -22
- package/dist/src/generated/backend/BackendStatisticIssuedTokensResource.d.ts +0 -17
- package/dist/src/generated/backend/BackendStatisticIssuedTokensResource.js +0 -22
- package/dist/src/generated/backend/BackendStatisticMostUsedAppsResource.d.ts +0 -17
- package/dist/src/generated/backend/BackendStatisticMostUsedAppsResource.js +0 -22
- package/dist/src/generated/backend/BackendStatisticMostUsedRoutesResource.d.ts +0 -17
- package/dist/src/generated/backend/BackendStatisticMostUsedRoutesResource.js +0 -22
- package/dist/src/generated/backend/BackendStatisticTimeAverageResource.d.ts +0 -17
- package/dist/src/generated/backend/BackendStatisticTimeAverageResource.js +0 -22
- package/dist/src/generated/backend/BackendStatisticTimePerRouteResource.d.ts +0 -17
- package/dist/src/generated/backend/BackendStatisticTimePerRouteResource.js +0 -22
- package/dist/src/generated/backend/BackendStatisticUsedPointsResource.d.ts +0 -17
- package/dist/src/generated/backend/BackendStatisticUsedPointsResource.js +0 -22
- package/dist/src/generated/backend/BackendTransactionByTransactionIdResource.d.ts +0 -16
- package/dist/src/generated/backend/BackendTransactionByTransactionIdResource.js +0 -21
- package/dist/src/generated/backend/BackendTransactionCollectionQuery.d.ts +0 -6
- package/dist/src/generated/backend/BackendTransactionCollectionQuery.js +0 -5
- package/dist/src/generated/backend/BackendTransactionResource.d.ts +0 -17
- package/dist/src/generated/backend/BackendTransactionResource.js +0 -22
- package/dist/src/generated/backend/BackendTrashByTypeResource.d.ts +0 -25
- package/dist/src/generated/backend/BackendTrashByTypeResource.js +0 -33
- package/dist/src/generated/backend/BackendTrashResource.d.ts +0 -15
- package/dist/src/generated/backend/BackendTrashResource.js +0 -20
- package/dist/src/generated/backend/BackendUserByUserIdResource.d.ts +0 -27
- package/dist/src/generated/backend/BackendUserByUserIdResource.js +0 -40
- package/dist/src/generated/backend/BackendUserResource.d.ts +0 -24
- package/dist/src/generated/backend/BackendUserResource.js +0 -32
- package/dist/src/generated/backend/CollectionCategoryQuery.d.ts +0 -8
- package/dist/src/generated/backend/CollectionCategoryQuery.js +0 -5
- package/dist/src/generated/backend/CollectionQuery.d.ts +0 -9
- package/dist/src/generated/backend/FormQuery.d.ts +0 -7
- package/dist/src/generated/backend/LogCollectionQuery.d.ts +0 -19
- package/dist/src/generated/backend/LogCollectionQuery.js +0 -5
- package/dist/src/generated/backend/PlanUsageCollectionQuery.d.ts +0 -13
- package/dist/src/generated/backend/PlanUsageCollectionQuery.js +0 -5
- package/dist/src/generated/backend/Route.d.ts +0 -16
- package/dist/src/generated/backend/Route.js +0 -5
- package/dist/src/generated/backend/RouteCollection.d.ts +0 -7
- package/dist/src/generated/backend/RouteCreate.d.ts +0 -7
- package/dist/src/generated/backend/RouteCreate.js +0 -5
- package/dist/src/generated/backend/RouteMethod.d.ts +0 -20
- package/dist/src/generated/backend/RouteMethod.js +0 -5
- package/dist/src/generated/backend/RouteMethodResponses.d.ts +0 -5
- package/dist/src/generated/backend/RouteMethodResponses.js +0 -5
- package/dist/src/generated/backend/RouteMethods.d.ts +0 -6
- package/dist/src/generated/backend/RouteMethods.js +0 -5
- package/dist/src/generated/backend/RouteUpdate.d.ts +0 -7
- package/dist/src/generated/backend/RouteUpdate.js +0 -5
- package/dist/src/generated/backend/RouteVersion.d.ts +0 -10
- package/dist/src/generated/backend/RouteVersion.js +0 -5
- package/dist/src/generated/backend/ScopeRoute.d.ts +0 -9
- package/dist/src/generated/backend/ScopeRoute.js +0 -5
- package/dist/src/generated/backend/TransactionCollectionQuery.d.ts +0 -15
- package/dist/src/generated/backend/TransactionCollectionQuery.js +0 -5
- package/dist/src/generated/consumer/CollectionQuery.d.ts +0 -9
- package/dist/src/generated/consumer/ConsumerAccountChangePasswordResource.d.ts +0 -17
- package/dist/src/generated/consumer/ConsumerAccountChangePasswordResource.js +0 -21
- package/dist/src/generated/consumer/ConsumerAccountResource.d.ts +0 -21
- package/dist/src/generated/consumer/ConsumerAccountResource.js +0 -30
- package/dist/src/generated/consumer/ConsumerActivateResource.d.ts +0 -17
- package/dist/src/generated/consumer/ConsumerActivateResource.js +0 -21
- package/dist/src/generated/consumer/ConsumerAppByAppIdResource.d.ts +0 -27
- package/dist/src/generated/consumer/ConsumerAppByAppIdResource.js +0 -40
- package/dist/src/generated/consumer/ConsumerAppResource.d.ts +0 -24
- package/dist/src/generated/consumer/ConsumerAppResource.js +0 -32
- package/dist/src/generated/consumer/ConsumerAuthorizeResource.d.ts +0 -22
- package/dist/src/generated/consumer/ConsumerAuthorizeResource.js +0 -30
- package/dist/src/generated/consumer/ConsumerEventResource.d.ts +0 -17
- package/dist/src/generated/consumer/ConsumerEventResource.js +0 -22
- package/dist/src/generated/consumer/ConsumerGrantByGrantIdResource.d.ts +0 -15
- package/dist/src/generated/consumer/ConsumerGrantByGrantIdResource.js +0 -21
- package/dist/src/generated/consumer/ConsumerGrantResource.d.ts +0 -17
- package/dist/src/generated/consumer/ConsumerGrantResource.js +0 -22
- package/dist/src/generated/consumer/ConsumerLogByLogIdResource.d.ts +0 -18
- package/dist/src/generated/consumer/ConsumerLogByLogIdResource.js +0 -23
- package/dist/src/generated/consumer/ConsumerLogResource.d.ts +0 -17
- package/dist/src/generated/consumer/ConsumerLogResource.js +0 -22
- package/dist/src/generated/consumer/ConsumerLoginResource.d.ts +0 -23
- package/dist/src/generated/consumer/ConsumerLoginResource.js +0 -31
- package/dist/src/generated/consumer/ConsumerPageByPageIdResource.d.ts +0 -16
- package/dist/src/generated/consumer/ConsumerPageByPageIdResource.js +0 -21
- package/dist/src/generated/consumer/ConsumerPageResource.d.ts +0 -17
- package/dist/src/generated/consumer/ConsumerPageResource.js +0 -22
- package/dist/src/generated/consumer/ConsumerPasswordResetResource.d.ts +0 -23
- package/dist/src/generated/consumer/ConsumerPasswordResetResource.js +0 -31
- package/dist/src/generated/consumer/ConsumerPaymentByProviderCheckoutResource.d.ts +0 -18
- package/dist/src/generated/consumer/ConsumerPaymentByProviderCheckoutResource.js +0 -22
- package/dist/src/generated/consumer/ConsumerPaymentByProviderPortalResource.d.ts +0 -18
- package/dist/src/generated/consumer/ConsumerPaymentByProviderPortalResource.js +0 -22
- package/dist/src/generated/consumer/ConsumerPlanByPlanIdResource.d.ts +0 -16
- package/dist/src/generated/consumer/ConsumerPlanByPlanIdResource.js +0 -21
- package/dist/src/generated/consumer/ConsumerPlanResource.d.ts +0 -17
- package/dist/src/generated/consumer/ConsumerPlanResource.js +0 -22
- package/dist/src/generated/consumer/ConsumerProviderByProviderResource.d.ts +0 -18
- package/dist/src/generated/consumer/ConsumerProviderByProviderResource.js +0 -22
- package/dist/src/generated/consumer/ConsumerRegisterResource.d.ts +0 -17
- package/dist/src/generated/consumer/ConsumerRegisterResource.js +0 -21
- package/dist/src/generated/consumer/ConsumerScopeResource.d.ts +0 -17
- package/dist/src/generated/consumer/ConsumerScopeResource.js +0 -22
- package/dist/src/generated/consumer/ConsumerSubscriptionBySubscriptionIdResource.d.ts +0 -27
- package/dist/src/generated/consumer/ConsumerSubscriptionBySubscriptionIdResource.js +0 -40
- package/dist/src/generated/consumer/ConsumerSubscriptionResource.d.ts +0 -24
- package/dist/src/generated/consumer/ConsumerSubscriptionResource.js +0 -32
- package/dist/src/generated/consumer/ConsumerTransactionByTransactionIdResource.d.ts +0 -16
- package/dist/src/generated/consumer/ConsumerTransactionByTransactionIdResource.js +0 -21
- package/dist/src/generated/consumer/ConsumerTransactionResource.d.ts +0 -17
- package/dist/src/generated/consumer/ConsumerTransactionResource.js +0 -22
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* DashboardTag automatically generated by SDKgen please do not edit this file manually
|
|
3
|
+
* {@link https://sdkgen.app}
|
|
4
|
+
*/
|
|
5
|
+
import axios from "axios";
|
|
6
|
+
import { TagAbstract } from "sdkgen-client";
|
|
7
|
+
import { ClientException, UnknownStatusCodeException } from "sdkgen-client";
|
|
8
|
+
export class DashboardTag extends TagAbstract {
|
|
9
|
+
/**
|
|
10
|
+
* @returns {Promise<Dashboard>}
|
|
11
|
+
* @throws {ClientException}
|
|
12
|
+
*/
|
|
13
|
+
async getAll() {
|
|
14
|
+
const url = this.parser.url('/backend/dashboard', {});
|
|
15
|
+
let params = {
|
|
16
|
+
url: url,
|
|
17
|
+
method: 'GET',
|
|
18
|
+
params: this.parser.query({}),
|
|
19
|
+
};
|
|
20
|
+
try {
|
|
21
|
+
const response = await this.httpClient.request(params);
|
|
22
|
+
return response.data;
|
|
23
|
+
}
|
|
24
|
+
catch (error) {
|
|
25
|
+
if (axios.isAxiosError(error) && error.response) {
|
|
26
|
+
switch (error.response.status) {
|
|
27
|
+
default:
|
|
28
|
+
throw new UnknownStatusCodeException('The server returned an unknown status code');
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
throw new ClientException('An unknown error occurred: ' + String(error));
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EventTag automatically generated by SDKgen please do not edit this file manually
|
|
3
|
+
* {@link https://sdkgen.app}
|
|
4
|
+
*/
|
|
5
|
+
import { TagAbstract } from "sdkgen-client";
|
|
6
|
+
import { Event } from "./Event";
|
|
7
|
+
import { EventCollection } from "./EventCollection";
|
|
8
|
+
import { EventCreate } from "./EventCreate";
|
|
9
|
+
import { EventSubscription } from "./EventSubscription";
|
|
10
|
+
import { EventSubscriptionCollection } from "./EventSubscriptionCollection";
|
|
11
|
+
import { EventSubscriptionCreate } from "./EventSubscriptionCreate";
|
|
12
|
+
import { EventSubscriptionUpdate } from "./EventSubscriptionUpdate";
|
|
13
|
+
import { EventUpdate } from "./EventUpdate";
|
|
14
|
+
import { Message } from "./Message";
|
|
15
|
+
export declare class EventTag extends TagAbstract {
|
|
16
|
+
/**
|
|
17
|
+
* @returns {Promise<Message>}
|
|
18
|
+
* @throws {ClientException}
|
|
19
|
+
*/
|
|
20
|
+
delete(eventId: string): Promise<Message>;
|
|
21
|
+
/**
|
|
22
|
+
* @returns {Promise<Message>}
|
|
23
|
+
* @throws {ClientException}
|
|
24
|
+
*/
|
|
25
|
+
update(eventId: string, payload: EventUpdate): Promise<Message>;
|
|
26
|
+
/**
|
|
27
|
+
* @returns {Promise<Event>}
|
|
28
|
+
* @throws {ClientException}
|
|
29
|
+
*/
|
|
30
|
+
get(eventId: string): Promise<Event>;
|
|
31
|
+
/**
|
|
32
|
+
* @returns {Promise<Message>}
|
|
33
|
+
* @throws {ClientException}
|
|
34
|
+
*/
|
|
35
|
+
create(payload: EventCreate): Promise<Message>;
|
|
36
|
+
/**
|
|
37
|
+
* @returns {Promise<EventCollection>}
|
|
38
|
+
* @throws {ClientException}
|
|
39
|
+
*/
|
|
40
|
+
getAll(categoryId?: number, startIndex?: number, count?: number, search?: string): Promise<EventCollection>;
|
|
41
|
+
/**
|
|
42
|
+
* @returns {Promise<Message>}
|
|
43
|
+
* @throws {ClientException}
|
|
44
|
+
*/
|
|
45
|
+
deleteSubscription(subscriptionId: string): Promise<Message>;
|
|
46
|
+
/**
|
|
47
|
+
* @returns {Promise<Message>}
|
|
48
|
+
* @throws {ClientException}
|
|
49
|
+
*/
|
|
50
|
+
updateSubscription(subscriptionId: string, payload: EventSubscriptionUpdate): Promise<Message>;
|
|
51
|
+
/**
|
|
52
|
+
* @returns {Promise<EventSubscription>}
|
|
53
|
+
* @throws {ClientException}
|
|
54
|
+
*/
|
|
55
|
+
getSubscription(subscriptionId: string): Promise<EventSubscription>;
|
|
56
|
+
/**
|
|
57
|
+
* @returns {Promise<Message>}
|
|
58
|
+
* @throws {ClientException}
|
|
59
|
+
*/
|
|
60
|
+
createSubscription(payload: EventSubscriptionCreate): Promise<Message>;
|
|
61
|
+
/**
|
|
62
|
+
* @returns {Promise<EventSubscriptionCollection>}
|
|
63
|
+
* @throws {ClientException}
|
|
64
|
+
*/
|
|
65
|
+
getAllSubscriptions(startIndex?: number, count?: number, search?: string): Promise<EventSubscriptionCollection>;
|
|
66
|
+
}
|
|
@@ -0,0 +1,284 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EventTag automatically generated by SDKgen please do not edit this file manually
|
|
3
|
+
* {@link https://sdkgen.app}
|
|
4
|
+
*/
|
|
5
|
+
import axios from "axios";
|
|
6
|
+
import { TagAbstract } from "sdkgen-client";
|
|
7
|
+
import { ClientException, UnknownStatusCodeException } from "sdkgen-client";
|
|
8
|
+
export class EventTag extends TagAbstract {
|
|
9
|
+
/**
|
|
10
|
+
* @returns {Promise<Message>}
|
|
11
|
+
* @throws {ClientException}
|
|
12
|
+
*/
|
|
13
|
+
async delete(eventId) {
|
|
14
|
+
const url = this.parser.url('/backend/event/$event_id<[0-9]+|^~>', {
|
|
15
|
+
'event_id': eventId,
|
|
16
|
+
});
|
|
17
|
+
let params = {
|
|
18
|
+
url: url,
|
|
19
|
+
method: 'DELETE',
|
|
20
|
+
params: this.parser.query({}),
|
|
21
|
+
};
|
|
22
|
+
try {
|
|
23
|
+
const response = await this.httpClient.request(params);
|
|
24
|
+
return response.data;
|
|
25
|
+
}
|
|
26
|
+
catch (error) {
|
|
27
|
+
if (axios.isAxiosError(error) && error.response) {
|
|
28
|
+
switch (error.response.status) {
|
|
29
|
+
default:
|
|
30
|
+
throw new UnknownStatusCodeException('The server returned an unknown status code');
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
throw new ClientException('An unknown error occurred: ' + String(error));
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* @returns {Promise<Message>}
|
|
38
|
+
* @throws {ClientException}
|
|
39
|
+
*/
|
|
40
|
+
async update(eventId, payload) {
|
|
41
|
+
const url = this.parser.url('/backend/event/$event_id<[0-9]+|^~>', {
|
|
42
|
+
'event_id': eventId,
|
|
43
|
+
});
|
|
44
|
+
let params = {
|
|
45
|
+
url: url,
|
|
46
|
+
method: 'PUT',
|
|
47
|
+
params: this.parser.query({}),
|
|
48
|
+
data: payload
|
|
49
|
+
};
|
|
50
|
+
try {
|
|
51
|
+
const response = await this.httpClient.request(params);
|
|
52
|
+
return response.data;
|
|
53
|
+
}
|
|
54
|
+
catch (error) {
|
|
55
|
+
if (axios.isAxiosError(error) && error.response) {
|
|
56
|
+
switch (error.response.status) {
|
|
57
|
+
default:
|
|
58
|
+
throw new UnknownStatusCodeException('The server returned an unknown status code');
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
throw new ClientException('An unknown error occurred: ' + String(error));
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* @returns {Promise<Event>}
|
|
66
|
+
* @throws {ClientException}
|
|
67
|
+
*/
|
|
68
|
+
async get(eventId) {
|
|
69
|
+
const url = this.parser.url('/backend/event/$event_id<[0-9]+|^~>', {
|
|
70
|
+
'event_id': eventId,
|
|
71
|
+
});
|
|
72
|
+
let params = {
|
|
73
|
+
url: url,
|
|
74
|
+
method: 'GET',
|
|
75
|
+
params: this.parser.query({}),
|
|
76
|
+
};
|
|
77
|
+
try {
|
|
78
|
+
const response = await this.httpClient.request(params);
|
|
79
|
+
return response.data;
|
|
80
|
+
}
|
|
81
|
+
catch (error) {
|
|
82
|
+
if (axios.isAxiosError(error) && error.response) {
|
|
83
|
+
switch (error.response.status) {
|
|
84
|
+
default:
|
|
85
|
+
throw new UnknownStatusCodeException('The server returned an unknown status code');
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
throw new ClientException('An unknown error occurred: ' + String(error));
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
* @returns {Promise<Message>}
|
|
93
|
+
* @throws {ClientException}
|
|
94
|
+
*/
|
|
95
|
+
async create(payload) {
|
|
96
|
+
const url = this.parser.url('/backend/event', {});
|
|
97
|
+
let params = {
|
|
98
|
+
url: url,
|
|
99
|
+
method: 'POST',
|
|
100
|
+
params: this.parser.query({}),
|
|
101
|
+
data: payload
|
|
102
|
+
};
|
|
103
|
+
try {
|
|
104
|
+
const response = await this.httpClient.request(params);
|
|
105
|
+
return response.data;
|
|
106
|
+
}
|
|
107
|
+
catch (error) {
|
|
108
|
+
if (axios.isAxiosError(error) && error.response) {
|
|
109
|
+
switch (error.response.status) {
|
|
110
|
+
default:
|
|
111
|
+
throw new UnknownStatusCodeException('The server returned an unknown status code');
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
throw new ClientException('An unknown error occurred: ' + String(error));
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
/**
|
|
118
|
+
* @returns {Promise<EventCollection>}
|
|
119
|
+
* @throws {ClientException}
|
|
120
|
+
*/
|
|
121
|
+
async getAll(categoryId, startIndex, count, search) {
|
|
122
|
+
const url = this.parser.url('/backend/event', {});
|
|
123
|
+
let params = {
|
|
124
|
+
url: url,
|
|
125
|
+
method: 'GET',
|
|
126
|
+
params: this.parser.query({
|
|
127
|
+
'categoryId': categoryId,
|
|
128
|
+
'startIndex': startIndex,
|
|
129
|
+
'count': count,
|
|
130
|
+
'search': search,
|
|
131
|
+
}),
|
|
132
|
+
};
|
|
133
|
+
try {
|
|
134
|
+
const response = await this.httpClient.request(params);
|
|
135
|
+
return response.data;
|
|
136
|
+
}
|
|
137
|
+
catch (error) {
|
|
138
|
+
if (axios.isAxiosError(error) && error.response) {
|
|
139
|
+
switch (error.response.status) {
|
|
140
|
+
default:
|
|
141
|
+
throw new UnknownStatusCodeException('The server returned an unknown status code');
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
throw new ClientException('An unknown error occurred: ' + String(error));
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
/**
|
|
148
|
+
* @returns {Promise<Message>}
|
|
149
|
+
* @throws {ClientException}
|
|
150
|
+
*/
|
|
151
|
+
async deleteSubscription(subscriptionId) {
|
|
152
|
+
const url = this.parser.url('/backend/event/subscription/$subscription_id<[0-9]+>', {
|
|
153
|
+
'subscription_id': subscriptionId,
|
|
154
|
+
});
|
|
155
|
+
let params = {
|
|
156
|
+
url: url,
|
|
157
|
+
method: 'DELETE',
|
|
158
|
+
params: this.parser.query({}),
|
|
159
|
+
};
|
|
160
|
+
try {
|
|
161
|
+
const response = await this.httpClient.request(params);
|
|
162
|
+
return response.data;
|
|
163
|
+
}
|
|
164
|
+
catch (error) {
|
|
165
|
+
if (axios.isAxiosError(error) && error.response) {
|
|
166
|
+
switch (error.response.status) {
|
|
167
|
+
default:
|
|
168
|
+
throw new UnknownStatusCodeException('The server returned an unknown status code');
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
throw new ClientException('An unknown error occurred: ' + String(error));
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
/**
|
|
175
|
+
* @returns {Promise<Message>}
|
|
176
|
+
* @throws {ClientException}
|
|
177
|
+
*/
|
|
178
|
+
async updateSubscription(subscriptionId, payload) {
|
|
179
|
+
const url = this.parser.url('/backend/event/subscription/$subscription_id<[0-9]+>', {
|
|
180
|
+
'subscription_id': subscriptionId,
|
|
181
|
+
});
|
|
182
|
+
let params = {
|
|
183
|
+
url: url,
|
|
184
|
+
method: 'PUT',
|
|
185
|
+
params: this.parser.query({}),
|
|
186
|
+
data: payload
|
|
187
|
+
};
|
|
188
|
+
try {
|
|
189
|
+
const response = await this.httpClient.request(params);
|
|
190
|
+
return response.data;
|
|
191
|
+
}
|
|
192
|
+
catch (error) {
|
|
193
|
+
if (axios.isAxiosError(error) && error.response) {
|
|
194
|
+
switch (error.response.status) {
|
|
195
|
+
default:
|
|
196
|
+
throw new UnknownStatusCodeException('The server returned an unknown status code');
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
throw new ClientException('An unknown error occurred: ' + String(error));
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
/**
|
|
203
|
+
* @returns {Promise<EventSubscription>}
|
|
204
|
+
* @throws {ClientException}
|
|
205
|
+
*/
|
|
206
|
+
async getSubscription(subscriptionId) {
|
|
207
|
+
const url = this.parser.url('/backend/event/subscription/$subscription_id<[0-9]+>', {
|
|
208
|
+
'subscription_id': subscriptionId,
|
|
209
|
+
});
|
|
210
|
+
let params = {
|
|
211
|
+
url: url,
|
|
212
|
+
method: 'GET',
|
|
213
|
+
params: this.parser.query({}),
|
|
214
|
+
};
|
|
215
|
+
try {
|
|
216
|
+
const response = await this.httpClient.request(params);
|
|
217
|
+
return response.data;
|
|
218
|
+
}
|
|
219
|
+
catch (error) {
|
|
220
|
+
if (axios.isAxiosError(error) && error.response) {
|
|
221
|
+
switch (error.response.status) {
|
|
222
|
+
default:
|
|
223
|
+
throw new UnknownStatusCodeException('The server returned an unknown status code');
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
throw new ClientException('An unknown error occurred: ' + String(error));
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
/**
|
|
230
|
+
* @returns {Promise<Message>}
|
|
231
|
+
* @throws {ClientException}
|
|
232
|
+
*/
|
|
233
|
+
async createSubscription(payload) {
|
|
234
|
+
const url = this.parser.url('/backend/event/subscription', {});
|
|
235
|
+
let params = {
|
|
236
|
+
url: url,
|
|
237
|
+
method: 'POST',
|
|
238
|
+
params: this.parser.query({}),
|
|
239
|
+
data: payload
|
|
240
|
+
};
|
|
241
|
+
try {
|
|
242
|
+
const response = await this.httpClient.request(params);
|
|
243
|
+
return response.data;
|
|
244
|
+
}
|
|
245
|
+
catch (error) {
|
|
246
|
+
if (axios.isAxiosError(error) && error.response) {
|
|
247
|
+
switch (error.response.status) {
|
|
248
|
+
default:
|
|
249
|
+
throw new UnknownStatusCodeException('The server returned an unknown status code');
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
throw new ClientException('An unknown error occurred: ' + String(error));
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
/**
|
|
256
|
+
* @returns {Promise<EventSubscriptionCollection>}
|
|
257
|
+
* @throws {ClientException}
|
|
258
|
+
*/
|
|
259
|
+
async getAllSubscriptions(startIndex, count, search) {
|
|
260
|
+
const url = this.parser.url('/backend/event/subscription', {});
|
|
261
|
+
let params = {
|
|
262
|
+
url: url,
|
|
263
|
+
method: 'GET',
|
|
264
|
+
params: this.parser.query({
|
|
265
|
+
'startIndex': startIndex,
|
|
266
|
+
'count': count,
|
|
267
|
+
'search': search,
|
|
268
|
+
}),
|
|
269
|
+
};
|
|
270
|
+
try {
|
|
271
|
+
const response = await this.httpClient.request(params);
|
|
272
|
+
return response.data;
|
|
273
|
+
}
|
|
274
|
+
catch (error) {
|
|
275
|
+
if (axios.isAxiosError(error) && error.response) {
|
|
276
|
+
switch (error.response.status) {
|
|
277
|
+
default:
|
|
278
|
+
throw new UnknownStatusCodeException('The server returned an unknown status code');
|
|
279
|
+
}
|
|
280
|
+
}
|
|
281
|
+
throw new ClientException('An unknown error occurred: ' + String(error));
|
|
282
|
+
}
|
|
283
|
+
}
|
|
284
|
+
}
|
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import { Schema } from "./Schema";
|
|
6
6
|
import { Action } from "./Action";
|
|
7
|
-
import {
|
|
7
|
+
import { Operation } from "./Operation";
|
|
8
8
|
export interface GeneratorProviderChangelog {
|
|
9
9
|
schemas?: Array<Schema>;
|
|
10
10
|
actions?: Array<Action>;
|
|
11
|
-
|
|
11
|
+
operations?: Array<Operation>;
|
|
12
12
|
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* GeneratorTag automatically generated by SDKgen please do not edit this file manually
|
|
3
|
+
* {@link https://sdkgen.app}
|
|
4
|
+
*/
|
|
5
|
+
import { TagAbstract } from "sdkgen-client";
|
|
6
|
+
import { FormContainer } from "./FormContainer";
|
|
7
|
+
import { GeneratorIndexProviders } from "./GeneratorIndexProviders";
|
|
8
|
+
import { GeneratorProvider } from "./GeneratorProvider";
|
|
9
|
+
import { GeneratorProviderChangelog } from "./GeneratorProviderChangelog";
|
|
10
|
+
import { GeneratorProviderConfig } from "./GeneratorProviderConfig";
|
|
11
|
+
import { Message } from "./Message";
|
|
12
|
+
export declare class GeneratorTag extends TagAbstract {
|
|
13
|
+
/**
|
|
14
|
+
* @returns {Promise<GeneratorProviderChangelog>}
|
|
15
|
+
* @throws {ClientException}
|
|
16
|
+
*/
|
|
17
|
+
getChangelog(provider: string, payload: GeneratorProviderConfig): Promise<GeneratorProviderChangelog>;
|
|
18
|
+
/**
|
|
19
|
+
* @returns {Promise<Message>}
|
|
20
|
+
* @throws {ClientException}
|
|
21
|
+
*/
|
|
22
|
+
executeProvider(provider: string, payload: GeneratorProvider): Promise<Message>;
|
|
23
|
+
/**
|
|
24
|
+
* @returns {Promise<FormContainer>}
|
|
25
|
+
* @throws {ClientException}
|
|
26
|
+
*/
|
|
27
|
+
getProviderForm(provider: string): Promise<FormContainer>;
|
|
28
|
+
/**
|
|
29
|
+
* @returns {Promise<GeneratorIndexProviders>}
|
|
30
|
+
* @throws {ClientException}
|
|
31
|
+
*/
|
|
32
|
+
getProviders(): Promise<GeneratorIndexProviders>;
|
|
33
|
+
}
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* GeneratorTag automatically generated by SDKgen please do not edit this file manually
|
|
3
|
+
* {@link https://sdkgen.app}
|
|
4
|
+
*/
|
|
5
|
+
import axios from "axios";
|
|
6
|
+
import { TagAbstract } from "sdkgen-client";
|
|
7
|
+
import { ClientException, UnknownStatusCodeException } from "sdkgen-client";
|
|
8
|
+
export class GeneratorTag extends TagAbstract {
|
|
9
|
+
/**
|
|
10
|
+
* @returns {Promise<GeneratorProviderChangelog>}
|
|
11
|
+
* @throws {ClientException}
|
|
12
|
+
*/
|
|
13
|
+
async getChangelog(provider, payload) {
|
|
14
|
+
const url = this.parser.url('/backend/generator/:provider', {
|
|
15
|
+
'provider': provider,
|
|
16
|
+
});
|
|
17
|
+
let params = {
|
|
18
|
+
url: url,
|
|
19
|
+
method: 'PUT',
|
|
20
|
+
params: this.parser.query({}),
|
|
21
|
+
data: payload
|
|
22
|
+
};
|
|
23
|
+
try {
|
|
24
|
+
const response = await this.httpClient.request(params);
|
|
25
|
+
return response.data;
|
|
26
|
+
}
|
|
27
|
+
catch (error) {
|
|
28
|
+
if (axios.isAxiosError(error) && error.response) {
|
|
29
|
+
switch (error.response.status) {
|
|
30
|
+
default:
|
|
31
|
+
throw new UnknownStatusCodeException('The server returned an unknown status code');
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
throw new ClientException('An unknown error occurred: ' + String(error));
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* @returns {Promise<Message>}
|
|
39
|
+
* @throws {ClientException}
|
|
40
|
+
*/
|
|
41
|
+
async executeProvider(provider, payload) {
|
|
42
|
+
const url = this.parser.url('/backend/generator/:provider', {
|
|
43
|
+
'provider': provider,
|
|
44
|
+
});
|
|
45
|
+
let params = {
|
|
46
|
+
url: url,
|
|
47
|
+
method: 'POST',
|
|
48
|
+
params: this.parser.query({}),
|
|
49
|
+
data: payload
|
|
50
|
+
};
|
|
51
|
+
try {
|
|
52
|
+
const response = await this.httpClient.request(params);
|
|
53
|
+
return response.data;
|
|
54
|
+
}
|
|
55
|
+
catch (error) {
|
|
56
|
+
if (axios.isAxiosError(error) && error.response) {
|
|
57
|
+
switch (error.response.status) {
|
|
58
|
+
default:
|
|
59
|
+
throw new UnknownStatusCodeException('The server returned an unknown status code');
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
throw new ClientException('An unknown error occurred: ' + String(error));
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* @returns {Promise<FormContainer>}
|
|
67
|
+
* @throws {ClientException}
|
|
68
|
+
*/
|
|
69
|
+
async getProviderForm(provider) {
|
|
70
|
+
const url = this.parser.url('/backend/generator/:provider', {
|
|
71
|
+
'provider': provider,
|
|
72
|
+
});
|
|
73
|
+
let params = {
|
|
74
|
+
url: url,
|
|
75
|
+
method: 'GET',
|
|
76
|
+
params: this.parser.query({}),
|
|
77
|
+
};
|
|
78
|
+
try {
|
|
79
|
+
const response = await this.httpClient.request(params);
|
|
80
|
+
return response.data;
|
|
81
|
+
}
|
|
82
|
+
catch (error) {
|
|
83
|
+
if (axios.isAxiosError(error) && error.response) {
|
|
84
|
+
switch (error.response.status) {
|
|
85
|
+
default:
|
|
86
|
+
throw new UnknownStatusCodeException('The server returned an unknown status code');
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
throw new ClientException('An unknown error occurred: ' + String(error));
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
/**
|
|
93
|
+
* @returns {Promise<GeneratorIndexProviders>}
|
|
94
|
+
* @throws {ClientException}
|
|
95
|
+
*/
|
|
96
|
+
async getProviders() {
|
|
97
|
+
const url = this.parser.url('/backend/generator', {});
|
|
98
|
+
let params = {
|
|
99
|
+
url: url,
|
|
100
|
+
method: 'GET',
|
|
101
|
+
params: this.parser.query({}),
|
|
102
|
+
};
|
|
103
|
+
try {
|
|
104
|
+
const response = await this.httpClient.request(params);
|
|
105
|
+
return response.data;
|
|
106
|
+
}
|
|
107
|
+
catch (error) {
|
|
108
|
+
if (axios.isAxiosError(error) && error.response) {
|
|
109
|
+
switch (error.response.status) {
|
|
110
|
+
default:
|
|
111
|
+
throw new UnknownStatusCodeException('The server returned an unknown status code');
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
throw new ClientException('An unknown error occurred: ' + String(error));
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* LogTag automatically generated by SDKgen please do not edit this file manually
|
|
3
|
+
* {@link https://sdkgen.app}
|
|
4
|
+
*/
|
|
5
|
+
import { TagAbstract } from "sdkgen-client";
|
|
6
|
+
import { Log } from "./Log";
|
|
7
|
+
import { LogCollection } from "./LogCollection";
|
|
8
|
+
import { LogError } from "./LogError";
|
|
9
|
+
import { LogErrorCollection } from "./LogErrorCollection";
|
|
10
|
+
export declare class LogTag extends TagAbstract {
|
|
11
|
+
/**
|
|
12
|
+
* @returns {Promise<Log>}
|
|
13
|
+
* @throws {ClientException}
|
|
14
|
+
*/
|
|
15
|
+
get(logId: string): Promise<Log>;
|
|
16
|
+
/**
|
|
17
|
+
* @returns {Promise<LogCollection>}
|
|
18
|
+
* @throws {ClientException}
|
|
19
|
+
*/
|
|
20
|
+
getAll(startIndex?: number, count?: number, search?: string, from?: string, to?: string, routeId?: number, appId?: number, userId?: number, ip?: string, userAgent?: string, method?: string, path?: string, header?: string, body?: string): Promise<LogCollection>;
|
|
21
|
+
/**
|
|
22
|
+
* @returns {Promise<LogError>}
|
|
23
|
+
* @throws {ClientException}
|
|
24
|
+
*/
|
|
25
|
+
getError(errorId: string): Promise<LogError>;
|
|
26
|
+
/**
|
|
27
|
+
* @returns {Promise<LogErrorCollection>}
|
|
28
|
+
* @throws {ClientException}
|
|
29
|
+
*/
|
|
30
|
+
getAllErrors(startIndex?: number, count?: number, search?: string): Promise<LogErrorCollection>;
|
|
31
|
+
}
|