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,60 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* SdkTag 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 SdkTag extends TagAbstract {
|
|
9
|
+
/**
|
|
10
|
+
* @returns {Promise<Message>}
|
|
11
|
+
* @throws {ClientException}
|
|
12
|
+
*/
|
|
13
|
+
async generate(payload) {
|
|
14
|
+
const url = this.parser.url('/backend/sdk', {});
|
|
15
|
+
let params = {
|
|
16
|
+
url: url,
|
|
17
|
+
method: 'POST',
|
|
18
|
+
params: this.parser.query({}),
|
|
19
|
+
data: payload
|
|
20
|
+
};
|
|
21
|
+
try {
|
|
22
|
+
const response = await this.httpClient.request(params);
|
|
23
|
+
return response.data;
|
|
24
|
+
}
|
|
25
|
+
catch (error) {
|
|
26
|
+
if (axios.isAxiosError(error) && error.response) {
|
|
27
|
+
switch (error.response.status) {
|
|
28
|
+
default:
|
|
29
|
+
throw new UnknownStatusCodeException('The server returned an unknown status code');
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
throw new ClientException('An unknown error occurred: ' + String(error));
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* @returns {Promise<SdkResponse>}
|
|
37
|
+
* @throws {ClientException}
|
|
38
|
+
*/
|
|
39
|
+
async getAll() {
|
|
40
|
+
const url = this.parser.url('/backend/sdk', {});
|
|
41
|
+
let params = {
|
|
42
|
+
url: url,
|
|
43
|
+
method: 'GET',
|
|
44
|
+
params: this.parser.query({}),
|
|
45
|
+
};
|
|
46
|
+
try {
|
|
47
|
+
const response = await this.httpClient.request(params);
|
|
48
|
+
return response.data;
|
|
49
|
+
}
|
|
50
|
+
catch (error) {
|
|
51
|
+
if (axios.isAxiosError(error) && error.response) {
|
|
52
|
+
switch (error.response.status) {
|
|
53
|
+
default:
|
|
54
|
+
throw new UnknownStatusCodeException('The server returned an unknown status code');
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
throw new ClientException('An unknown error occurred: ' + String(error));
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* StatisticTag 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 { StatisticChart } from "./StatisticChart";
|
|
7
|
+
import { StatisticCount } from "./StatisticCount";
|
|
8
|
+
export declare class StatisticTag extends TagAbstract {
|
|
9
|
+
/**
|
|
10
|
+
* @returns {Promise<StatisticChart>}
|
|
11
|
+
* @throws {ClientException}
|
|
12
|
+
*/
|
|
13
|
+
getUsedPoints(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<StatisticChart>;
|
|
14
|
+
/**
|
|
15
|
+
* @returns {Promise<StatisticChart>}
|
|
16
|
+
* @throws {ClientException}
|
|
17
|
+
*/
|
|
18
|
+
getTimePerRoute(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<StatisticChart>;
|
|
19
|
+
/**
|
|
20
|
+
* @returns {Promise<StatisticChart>}
|
|
21
|
+
* @throws {ClientException}
|
|
22
|
+
*/
|
|
23
|
+
getTimeAverage(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<StatisticChart>;
|
|
24
|
+
/**
|
|
25
|
+
* @returns {Promise<StatisticChart>}
|
|
26
|
+
* @throws {ClientException}
|
|
27
|
+
*/
|
|
28
|
+
getMostUsedRoutes(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<StatisticChart>;
|
|
29
|
+
/**
|
|
30
|
+
* @returns {Promise<StatisticChart>}
|
|
31
|
+
* @throws {ClientException}
|
|
32
|
+
*/
|
|
33
|
+
getMostUsedApps(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<StatisticChart>;
|
|
34
|
+
/**
|
|
35
|
+
* @returns {Promise<StatisticChart>}
|
|
36
|
+
* @throws {ClientException}
|
|
37
|
+
*/
|
|
38
|
+
getIssuedTokens(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<StatisticChart>;
|
|
39
|
+
/**
|
|
40
|
+
* @returns {Promise<StatisticChart>}
|
|
41
|
+
* @throws {ClientException}
|
|
42
|
+
*/
|
|
43
|
+
getIncomingTransactions(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<StatisticChart>;
|
|
44
|
+
/**
|
|
45
|
+
* @returns {Promise<StatisticChart>}
|
|
46
|
+
* @throws {ClientException}
|
|
47
|
+
*/
|
|
48
|
+
getIncomingRequests(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<StatisticChart>;
|
|
49
|
+
/**
|
|
50
|
+
* @returns {Promise<StatisticChart>}
|
|
51
|
+
* @throws {ClientException}
|
|
52
|
+
*/
|
|
53
|
+
getErrorsPerRoute(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<StatisticChart>;
|
|
54
|
+
/**
|
|
55
|
+
* @returns {Promise<StatisticCount>}
|
|
56
|
+
* @throws {ClientException}
|
|
57
|
+
*/
|
|
58
|
+
getCountRequests(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<StatisticCount>;
|
|
59
|
+
}
|
|
@@ -0,0 +1,409 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* StatisticTag 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 StatisticTag extends TagAbstract {
|
|
9
|
+
/**
|
|
10
|
+
* @returns {Promise<StatisticChart>}
|
|
11
|
+
* @throws {ClientException}
|
|
12
|
+
*/
|
|
13
|
+
async getUsedPoints(startIndex, count, search, from, to, routeId, appId, userId, ip, userAgent, method, path, header, body) {
|
|
14
|
+
const url = this.parser.url('/backend/statistic/used_points', {});
|
|
15
|
+
let params = {
|
|
16
|
+
url: url,
|
|
17
|
+
method: 'GET',
|
|
18
|
+
params: this.parser.query({
|
|
19
|
+
'startIndex': startIndex,
|
|
20
|
+
'count': count,
|
|
21
|
+
'search': search,
|
|
22
|
+
'from': from,
|
|
23
|
+
'to': to,
|
|
24
|
+
'routeId': routeId,
|
|
25
|
+
'appId': appId,
|
|
26
|
+
'userId': userId,
|
|
27
|
+
'ip': ip,
|
|
28
|
+
'userAgent': userAgent,
|
|
29
|
+
'method': method,
|
|
30
|
+
'path': path,
|
|
31
|
+
'header': header,
|
|
32
|
+
'body': body,
|
|
33
|
+
}),
|
|
34
|
+
};
|
|
35
|
+
try {
|
|
36
|
+
const response = await this.httpClient.request(params);
|
|
37
|
+
return response.data;
|
|
38
|
+
}
|
|
39
|
+
catch (error) {
|
|
40
|
+
if (axios.isAxiosError(error) && error.response) {
|
|
41
|
+
switch (error.response.status) {
|
|
42
|
+
default:
|
|
43
|
+
throw new UnknownStatusCodeException('The server returned an unknown status code');
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
throw new ClientException('An unknown error occurred: ' + String(error));
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* @returns {Promise<StatisticChart>}
|
|
51
|
+
* @throws {ClientException}
|
|
52
|
+
*/
|
|
53
|
+
async getTimePerRoute(startIndex, count, search, from, to, routeId, appId, userId, ip, userAgent, method, path, header, body) {
|
|
54
|
+
const url = this.parser.url('/backend/statistic/time_per_route', {});
|
|
55
|
+
let params = {
|
|
56
|
+
url: url,
|
|
57
|
+
method: 'GET',
|
|
58
|
+
params: this.parser.query({
|
|
59
|
+
'startIndex': startIndex,
|
|
60
|
+
'count': count,
|
|
61
|
+
'search': search,
|
|
62
|
+
'from': from,
|
|
63
|
+
'to': to,
|
|
64
|
+
'routeId': routeId,
|
|
65
|
+
'appId': appId,
|
|
66
|
+
'userId': userId,
|
|
67
|
+
'ip': ip,
|
|
68
|
+
'userAgent': userAgent,
|
|
69
|
+
'method': method,
|
|
70
|
+
'path': path,
|
|
71
|
+
'header': header,
|
|
72
|
+
'body': body,
|
|
73
|
+
}),
|
|
74
|
+
};
|
|
75
|
+
try {
|
|
76
|
+
const response = await this.httpClient.request(params);
|
|
77
|
+
return response.data;
|
|
78
|
+
}
|
|
79
|
+
catch (error) {
|
|
80
|
+
if (axios.isAxiosError(error) && error.response) {
|
|
81
|
+
switch (error.response.status) {
|
|
82
|
+
default:
|
|
83
|
+
throw new UnknownStatusCodeException('The server returned an unknown status code');
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
throw new ClientException('An unknown error occurred: ' + String(error));
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
/**
|
|
90
|
+
* @returns {Promise<StatisticChart>}
|
|
91
|
+
* @throws {ClientException}
|
|
92
|
+
*/
|
|
93
|
+
async getTimeAverage(startIndex, count, search, from, to, routeId, appId, userId, ip, userAgent, method, path, header, body) {
|
|
94
|
+
const url = this.parser.url('/backend/statistic/time_average', {});
|
|
95
|
+
let params = {
|
|
96
|
+
url: url,
|
|
97
|
+
method: 'GET',
|
|
98
|
+
params: this.parser.query({
|
|
99
|
+
'startIndex': startIndex,
|
|
100
|
+
'count': count,
|
|
101
|
+
'search': search,
|
|
102
|
+
'from': from,
|
|
103
|
+
'to': to,
|
|
104
|
+
'routeId': routeId,
|
|
105
|
+
'appId': appId,
|
|
106
|
+
'userId': userId,
|
|
107
|
+
'ip': ip,
|
|
108
|
+
'userAgent': userAgent,
|
|
109
|
+
'method': method,
|
|
110
|
+
'path': path,
|
|
111
|
+
'header': header,
|
|
112
|
+
'body': body,
|
|
113
|
+
}),
|
|
114
|
+
};
|
|
115
|
+
try {
|
|
116
|
+
const response = await this.httpClient.request(params);
|
|
117
|
+
return response.data;
|
|
118
|
+
}
|
|
119
|
+
catch (error) {
|
|
120
|
+
if (axios.isAxiosError(error) && error.response) {
|
|
121
|
+
switch (error.response.status) {
|
|
122
|
+
default:
|
|
123
|
+
throw new UnknownStatusCodeException('The server returned an unknown status code');
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
throw new ClientException('An unknown error occurred: ' + String(error));
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
/**
|
|
130
|
+
* @returns {Promise<StatisticChart>}
|
|
131
|
+
* @throws {ClientException}
|
|
132
|
+
*/
|
|
133
|
+
async getMostUsedRoutes(startIndex, count, search, from, to, routeId, appId, userId, ip, userAgent, method, path, header, body) {
|
|
134
|
+
const url = this.parser.url('/backend/statistic/most_used_routes', {});
|
|
135
|
+
let params = {
|
|
136
|
+
url: url,
|
|
137
|
+
method: 'GET',
|
|
138
|
+
params: this.parser.query({
|
|
139
|
+
'startIndex': startIndex,
|
|
140
|
+
'count': count,
|
|
141
|
+
'search': search,
|
|
142
|
+
'from': from,
|
|
143
|
+
'to': to,
|
|
144
|
+
'routeId': routeId,
|
|
145
|
+
'appId': appId,
|
|
146
|
+
'userId': userId,
|
|
147
|
+
'ip': ip,
|
|
148
|
+
'userAgent': userAgent,
|
|
149
|
+
'method': method,
|
|
150
|
+
'path': path,
|
|
151
|
+
'header': header,
|
|
152
|
+
'body': body,
|
|
153
|
+
}),
|
|
154
|
+
};
|
|
155
|
+
try {
|
|
156
|
+
const response = await this.httpClient.request(params);
|
|
157
|
+
return response.data;
|
|
158
|
+
}
|
|
159
|
+
catch (error) {
|
|
160
|
+
if (axios.isAxiosError(error) && error.response) {
|
|
161
|
+
switch (error.response.status) {
|
|
162
|
+
default:
|
|
163
|
+
throw new UnknownStatusCodeException('The server returned an unknown status code');
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
throw new ClientException('An unknown error occurred: ' + String(error));
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
/**
|
|
170
|
+
* @returns {Promise<StatisticChart>}
|
|
171
|
+
* @throws {ClientException}
|
|
172
|
+
*/
|
|
173
|
+
async getMostUsedApps(startIndex, count, search, from, to, routeId, appId, userId, ip, userAgent, method, path, header, body) {
|
|
174
|
+
const url = this.parser.url('/backend/statistic/most_used_apps', {});
|
|
175
|
+
let params = {
|
|
176
|
+
url: url,
|
|
177
|
+
method: 'GET',
|
|
178
|
+
params: this.parser.query({
|
|
179
|
+
'startIndex': startIndex,
|
|
180
|
+
'count': count,
|
|
181
|
+
'search': search,
|
|
182
|
+
'from': from,
|
|
183
|
+
'to': to,
|
|
184
|
+
'routeId': routeId,
|
|
185
|
+
'appId': appId,
|
|
186
|
+
'userId': userId,
|
|
187
|
+
'ip': ip,
|
|
188
|
+
'userAgent': userAgent,
|
|
189
|
+
'method': method,
|
|
190
|
+
'path': path,
|
|
191
|
+
'header': header,
|
|
192
|
+
'body': body,
|
|
193
|
+
}),
|
|
194
|
+
};
|
|
195
|
+
try {
|
|
196
|
+
const response = await this.httpClient.request(params);
|
|
197
|
+
return response.data;
|
|
198
|
+
}
|
|
199
|
+
catch (error) {
|
|
200
|
+
if (axios.isAxiosError(error) && error.response) {
|
|
201
|
+
switch (error.response.status) {
|
|
202
|
+
default:
|
|
203
|
+
throw new UnknownStatusCodeException('The server returned an unknown status code');
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
throw new ClientException('An unknown error occurred: ' + String(error));
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
/**
|
|
210
|
+
* @returns {Promise<StatisticChart>}
|
|
211
|
+
* @throws {ClientException}
|
|
212
|
+
*/
|
|
213
|
+
async getIssuedTokens(startIndex, count, search, from, to, routeId, appId, userId, ip, userAgent, method, path, header, body) {
|
|
214
|
+
const url = this.parser.url('/backend/statistic/issued_tokens', {});
|
|
215
|
+
let params = {
|
|
216
|
+
url: url,
|
|
217
|
+
method: 'GET',
|
|
218
|
+
params: this.parser.query({
|
|
219
|
+
'startIndex': startIndex,
|
|
220
|
+
'count': count,
|
|
221
|
+
'search': search,
|
|
222
|
+
'from': from,
|
|
223
|
+
'to': to,
|
|
224
|
+
'routeId': routeId,
|
|
225
|
+
'appId': appId,
|
|
226
|
+
'userId': userId,
|
|
227
|
+
'ip': ip,
|
|
228
|
+
'userAgent': userAgent,
|
|
229
|
+
'method': method,
|
|
230
|
+
'path': path,
|
|
231
|
+
'header': header,
|
|
232
|
+
'body': body,
|
|
233
|
+
}),
|
|
234
|
+
};
|
|
235
|
+
try {
|
|
236
|
+
const response = await this.httpClient.request(params);
|
|
237
|
+
return response.data;
|
|
238
|
+
}
|
|
239
|
+
catch (error) {
|
|
240
|
+
if (axios.isAxiosError(error) && error.response) {
|
|
241
|
+
switch (error.response.status) {
|
|
242
|
+
default:
|
|
243
|
+
throw new UnknownStatusCodeException('The server returned an unknown status code');
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
throw new ClientException('An unknown error occurred: ' + String(error));
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
/**
|
|
250
|
+
* @returns {Promise<StatisticChart>}
|
|
251
|
+
* @throws {ClientException}
|
|
252
|
+
*/
|
|
253
|
+
async getIncomingTransactions(startIndex, count, search, from, to, routeId, appId, userId, ip, userAgent, method, path, header, body) {
|
|
254
|
+
const url = this.parser.url('/backend/statistic/incoming_transactions', {});
|
|
255
|
+
let params = {
|
|
256
|
+
url: url,
|
|
257
|
+
method: 'GET',
|
|
258
|
+
params: this.parser.query({
|
|
259
|
+
'startIndex': startIndex,
|
|
260
|
+
'count': count,
|
|
261
|
+
'search': search,
|
|
262
|
+
'from': from,
|
|
263
|
+
'to': to,
|
|
264
|
+
'routeId': routeId,
|
|
265
|
+
'appId': appId,
|
|
266
|
+
'userId': userId,
|
|
267
|
+
'ip': ip,
|
|
268
|
+
'userAgent': userAgent,
|
|
269
|
+
'method': method,
|
|
270
|
+
'path': path,
|
|
271
|
+
'header': header,
|
|
272
|
+
'body': body,
|
|
273
|
+
}),
|
|
274
|
+
};
|
|
275
|
+
try {
|
|
276
|
+
const response = await this.httpClient.request(params);
|
|
277
|
+
return response.data;
|
|
278
|
+
}
|
|
279
|
+
catch (error) {
|
|
280
|
+
if (axios.isAxiosError(error) && error.response) {
|
|
281
|
+
switch (error.response.status) {
|
|
282
|
+
default:
|
|
283
|
+
throw new UnknownStatusCodeException('The server returned an unknown status code');
|
|
284
|
+
}
|
|
285
|
+
}
|
|
286
|
+
throw new ClientException('An unknown error occurred: ' + String(error));
|
|
287
|
+
}
|
|
288
|
+
}
|
|
289
|
+
/**
|
|
290
|
+
* @returns {Promise<StatisticChart>}
|
|
291
|
+
* @throws {ClientException}
|
|
292
|
+
*/
|
|
293
|
+
async getIncomingRequests(startIndex, count, search, from, to, routeId, appId, userId, ip, userAgent, method, path, header, body) {
|
|
294
|
+
const url = this.parser.url('/backend/statistic/incoming_requests', {});
|
|
295
|
+
let params = {
|
|
296
|
+
url: url,
|
|
297
|
+
method: 'GET',
|
|
298
|
+
params: this.parser.query({
|
|
299
|
+
'startIndex': startIndex,
|
|
300
|
+
'count': count,
|
|
301
|
+
'search': search,
|
|
302
|
+
'from': from,
|
|
303
|
+
'to': to,
|
|
304
|
+
'routeId': routeId,
|
|
305
|
+
'appId': appId,
|
|
306
|
+
'userId': userId,
|
|
307
|
+
'ip': ip,
|
|
308
|
+
'userAgent': userAgent,
|
|
309
|
+
'method': method,
|
|
310
|
+
'path': path,
|
|
311
|
+
'header': header,
|
|
312
|
+
'body': body,
|
|
313
|
+
}),
|
|
314
|
+
};
|
|
315
|
+
try {
|
|
316
|
+
const response = await this.httpClient.request(params);
|
|
317
|
+
return response.data;
|
|
318
|
+
}
|
|
319
|
+
catch (error) {
|
|
320
|
+
if (axios.isAxiosError(error) && error.response) {
|
|
321
|
+
switch (error.response.status) {
|
|
322
|
+
default:
|
|
323
|
+
throw new UnknownStatusCodeException('The server returned an unknown status code');
|
|
324
|
+
}
|
|
325
|
+
}
|
|
326
|
+
throw new ClientException('An unknown error occurred: ' + String(error));
|
|
327
|
+
}
|
|
328
|
+
}
|
|
329
|
+
/**
|
|
330
|
+
* @returns {Promise<StatisticChart>}
|
|
331
|
+
* @throws {ClientException}
|
|
332
|
+
*/
|
|
333
|
+
async getErrorsPerRoute(startIndex, count, search, from, to, routeId, appId, userId, ip, userAgent, method, path, header, body) {
|
|
334
|
+
const url = this.parser.url('/backend/statistic/errors_per_route', {});
|
|
335
|
+
let params = {
|
|
336
|
+
url: url,
|
|
337
|
+
method: 'GET',
|
|
338
|
+
params: this.parser.query({
|
|
339
|
+
'startIndex': startIndex,
|
|
340
|
+
'count': count,
|
|
341
|
+
'search': search,
|
|
342
|
+
'from': from,
|
|
343
|
+
'to': to,
|
|
344
|
+
'routeId': routeId,
|
|
345
|
+
'appId': appId,
|
|
346
|
+
'userId': userId,
|
|
347
|
+
'ip': ip,
|
|
348
|
+
'userAgent': userAgent,
|
|
349
|
+
'method': method,
|
|
350
|
+
'path': path,
|
|
351
|
+
'header': header,
|
|
352
|
+
'body': body,
|
|
353
|
+
}),
|
|
354
|
+
};
|
|
355
|
+
try {
|
|
356
|
+
const response = await this.httpClient.request(params);
|
|
357
|
+
return response.data;
|
|
358
|
+
}
|
|
359
|
+
catch (error) {
|
|
360
|
+
if (axios.isAxiosError(error) && error.response) {
|
|
361
|
+
switch (error.response.status) {
|
|
362
|
+
default:
|
|
363
|
+
throw new UnknownStatusCodeException('The server returned an unknown status code');
|
|
364
|
+
}
|
|
365
|
+
}
|
|
366
|
+
throw new ClientException('An unknown error occurred: ' + String(error));
|
|
367
|
+
}
|
|
368
|
+
}
|
|
369
|
+
/**
|
|
370
|
+
* @returns {Promise<StatisticCount>}
|
|
371
|
+
* @throws {ClientException}
|
|
372
|
+
*/
|
|
373
|
+
async getCountRequests(startIndex, count, search, from, to, routeId, appId, userId, ip, userAgent, method, path, header, body) {
|
|
374
|
+
const url = this.parser.url('/backend/statistic/count_requests', {});
|
|
375
|
+
let params = {
|
|
376
|
+
url: url,
|
|
377
|
+
method: 'GET',
|
|
378
|
+
params: this.parser.query({
|
|
379
|
+
'startIndex': startIndex,
|
|
380
|
+
'count': count,
|
|
381
|
+
'search': search,
|
|
382
|
+
'from': from,
|
|
383
|
+
'to': to,
|
|
384
|
+
'routeId': routeId,
|
|
385
|
+
'appId': appId,
|
|
386
|
+
'userId': userId,
|
|
387
|
+
'ip': ip,
|
|
388
|
+
'userAgent': userAgent,
|
|
389
|
+
'method': method,
|
|
390
|
+
'path': path,
|
|
391
|
+
'header': header,
|
|
392
|
+
'body': body,
|
|
393
|
+
}),
|
|
394
|
+
};
|
|
395
|
+
try {
|
|
396
|
+
const response = await this.httpClient.request(params);
|
|
397
|
+
return response.data;
|
|
398
|
+
}
|
|
399
|
+
catch (error) {
|
|
400
|
+
if (axios.isAxiosError(error) && error.response) {
|
|
401
|
+
switch (error.response.status) {
|
|
402
|
+
default:
|
|
403
|
+
throw new UnknownStatusCodeException('The server returned an unknown status code');
|
|
404
|
+
}
|
|
405
|
+
}
|
|
406
|
+
throw new ClientException('An unknown error occurred: ' + String(error));
|
|
407
|
+
}
|
|
408
|
+
}
|
|
409
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* TransactionTag 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 { Transaction } from "./Transaction";
|
|
7
|
+
import { TransactionCollection } from "./TransactionCollection";
|
|
8
|
+
export declare class TransactionTag extends TagAbstract {
|
|
9
|
+
/**
|
|
10
|
+
* @returns {Promise<Transaction>}
|
|
11
|
+
* @throws {ClientException}
|
|
12
|
+
*/
|
|
13
|
+
get(transactionId: string): Promise<Transaction>;
|
|
14
|
+
/**
|
|
15
|
+
* @returns {Promise<TransactionCollection>}
|
|
16
|
+
* @throws {ClientException}
|
|
17
|
+
*/
|
|
18
|
+
getAll(startIndex?: number, count?: number, search?: string, from?: string, to?: string, planId?: number, userId?: number, appId?: number, status?: string, provider?: string): Promise<TransactionCollection>;
|
|
19
|
+
}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* TransactionTag 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 TransactionTag extends TagAbstract {
|
|
9
|
+
/**
|
|
10
|
+
* @returns {Promise<Transaction>}
|
|
11
|
+
* @throws {ClientException}
|
|
12
|
+
*/
|
|
13
|
+
async get(transactionId) {
|
|
14
|
+
const url = this.parser.url('/backend/transaction/$transaction_id<[0-9]+>', {
|
|
15
|
+
'transaction_id': transactionId,
|
|
16
|
+
});
|
|
17
|
+
let params = {
|
|
18
|
+
url: url,
|
|
19
|
+
method: 'GET',
|
|
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<TransactionCollection>}
|
|
38
|
+
* @throws {ClientException}
|
|
39
|
+
*/
|
|
40
|
+
async getAll(startIndex, count, search, from, to, planId, userId, appId, status, provider) {
|
|
41
|
+
const url = this.parser.url('/backend/transaction', {});
|
|
42
|
+
let params = {
|
|
43
|
+
url: url,
|
|
44
|
+
method: 'GET',
|
|
45
|
+
params: this.parser.query({
|
|
46
|
+
'startIndex': startIndex,
|
|
47
|
+
'count': count,
|
|
48
|
+
'search': search,
|
|
49
|
+
'from': from,
|
|
50
|
+
'to': to,
|
|
51
|
+
'planId': planId,
|
|
52
|
+
'userId': userId,
|
|
53
|
+
'appId': appId,
|
|
54
|
+
'status': status,
|
|
55
|
+
'provider': provider,
|
|
56
|
+
}),
|
|
57
|
+
};
|
|
58
|
+
try {
|
|
59
|
+
const response = await this.httpClient.request(params);
|
|
60
|
+
return response.data;
|
|
61
|
+
}
|
|
62
|
+
catch (error) {
|
|
63
|
+
if (axios.isAxiosError(error) && error.response) {
|
|
64
|
+
switch (error.response.status) {
|
|
65
|
+
default:
|
|
66
|
+
throw new UnknownStatusCodeException('The server returned an unknown status code');
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
throw new ClientException('An unknown error occurred: ' + String(error));
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* TrashTag 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 { Message } from "./Message";
|
|
7
|
+
import { TrashDataCollection } from "./TrashDataCollection";
|
|
8
|
+
import { TrashRestore } from "./TrashRestore";
|
|
9
|
+
import { TrashTypes } from "./TrashTypes";
|
|
10
|
+
export declare class TrashTag extends TagAbstract {
|
|
11
|
+
/**
|
|
12
|
+
* @returns {Promise<Message>}
|
|
13
|
+
* @throws {ClientException}
|
|
14
|
+
*/
|
|
15
|
+
restore(type: string, payload: TrashRestore): Promise<Message>;
|
|
16
|
+
/**
|
|
17
|
+
* @returns {Promise<TrashDataCollection>}
|
|
18
|
+
* @throws {ClientException}
|
|
19
|
+
*/
|
|
20
|
+
getAllByType(type: string, startIndex?: number, count?: number, search?: string): Promise<TrashDataCollection>;
|
|
21
|
+
/**
|
|
22
|
+
* @returns {Promise<TrashTypes>}
|
|
23
|
+
* @throws {ClientException}
|
|
24
|
+
*/
|
|
25
|
+
getTypes(): Promise<TrashTypes>;
|
|
26
|
+
}
|