@kestra-io/kestra-sdk 0.24.0
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/README.md +879 -0
- package/dist/ApiClient.js +704 -0
- package/dist/KestraClient.js +97 -0
- package/dist/api/AIApi.js +85 -0
- package/dist/api/AppsApi.js +1017 -0
- package/dist/api/AuditLogsApi.js +253 -0
- package/dist/api/AuthsApi.js +236 -0
- package/dist/api/BannersApi.js +184 -0
- package/dist/api/BindingsApi.js +269 -0
- package/dist/api/BlueprintTagsApi.js +134 -0
- package/dist/api/BlueprintsApi.js +528 -0
- package/dist/api/ClusterApi.js +100 -0
- package/dist/api/DashboardsApi.js +535 -0
- package/dist/api/DefaultApi.js +274 -0
- package/dist/api/ExecutionsApi.js +2942 -0
- package/dist/api/FilesApi.js +471 -0
- package/dist/api/FlowsApi.js +1509 -0
- package/dist/api/GroupsApi.js +567 -0
- package/dist/api/InvitationsApi.js +300 -0
- package/dist/api/KVApi.js +280 -0
- package/dist/api/LogsApi.js +371 -0
- package/dist/api/MaintenanceApi.js +100 -0
- package/dist/api/MetricsApi.js +393 -0
- package/dist/api/MiscApi.js +385 -0
- package/dist/api/NamespacesApi.js +653 -0
- package/dist/api/PluginsApi.js +755 -0
- package/dist/api/RolesApi.js +352 -0
- package/dist/api/SCIMApi.js +815 -0
- package/dist/api/SCIMConfigurationApi.js +264 -0
- package/dist/api/SCIMGroupsApi.js +423 -0
- package/dist/api/SCIMUsersApi.js +423 -0
- package/dist/api/SecurityIntegrationsApi.js +290 -0
- package/dist/api/ServiceAccountApi.js +213 -0
- package/dist/api/ServicesApi.js +164 -0
- package/dist/api/TenantAccessApi.js +268 -0
- package/dist/api/TenantsApi.js +325 -0
- package/dist/api/TestSuitesApi.js +594 -0
- package/dist/api/TriggersApi.js +885 -0
- package/dist/api/UsersApi.js +894 -0
- package/dist/api/WorkerGroupsApi.js +224 -0
- package/dist/index.js +2967 -0
- package/dist/model/AbstractFlow.js +252 -0
- package/dist/model/AbstractFlowLabels.js +158 -0
- package/dist/model/AbstractGraph.js +110 -0
- package/dist/model/AbstractGraphBranchType.js +63 -0
- package/dist/model/AbstractMetricEntryObject.js +162 -0
- package/dist/model/AbstractTrigger.js +264 -0
- package/dist/model/AbstractTriggerForExecution.js +138 -0
- package/dist/model/AbstractUser.js +277 -0
- package/dist/model/AbstractUserTenantIdentityProvider.js +157 -0
- package/dist/model/Action.js +68 -0
- package/dist/model/ApiAuth.js +113 -0
- package/dist/model/ApiAutocomplete.js +101 -0
- package/dist/model/ApiGroupSummary.js +101 -0
- package/dist/model/ApiIds.js +89 -0
- package/dist/model/ApiRoleSummary.js +117 -0
- package/dist/model/ApiSecretListResponse.js +148 -0
- package/dist/model/ApiSecretMeta.js +112 -0
- package/dist/model/ApiSecretMetaEE.js +166 -0
- package/dist/model/ApiSecretTag.js +126 -0
- package/dist/model/ApiSecretValue.js +168 -0
- package/dist/model/ApiTenant.js +315 -0
- package/dist/model/ApiUser.js +361 -0
- package/dist/model/AppResponse.js +115 -0
- package/dist/model/AppResponseUILayout.js +89 -0
- package/dist/model/AppsControllerApiApp.js +173 -0
- package/dist/model/AppsControllerApiAppCatalogItem.js +137 -0
- package/dist/model/AppsControllerApiAppSource.js +161 -0
- package/dist/model/AppsControllerApiAppTags.js +89 -0
- package/dist/model/AppsControllerApiBulkImportResponse.js +122 -0
- package/dist/model/AppsControllerApiBulkImportResponseError.js +101 -0
- package/dist/model/AppsControllerApiBulkOperationRequest.js +89 -0
- package/dist/model/Assertion.js +325 -0
- package/dist/model/AssertionResult.js +178 -0
- package/dist/model/AssertionRunError.js +124 -0
- package/dist/model/AttributeReference.js +149 -0
- package/dist/model/AuditLog.js +257 -0
- package/dist/model/AuditLogControllerAuditLogDiff.js +101 -0
- package/dist/model/AuditLogControllerAuditLogOption.js +109 -0
- package/dist/model/AuditLogControllerAuditLogWithUser.js +105 -0
- package/dist/model/AuditLogControllerFindRequest.js +105 -0
- package/dist/model/AuditLogDetail.js +149 -0
- package/dist/model/AuthControllerAuth.js +105 -0
- package/dist/model/AuthControllerInvitationUserRequest.js +140 -0
- package/dist/model/AuthControllerResetPasswordRequest.js +101 -0
- package/dist/model/Backfill.js +180 -0
- package/dist/model/Banner.js +169 -0
- package/dist/model/BannerType.js +63 -0
- package/dist/model/BaseAuditLog.js +195 -0
- package/dist/model/BaseResourcePatchRequest.js +89 -0
- package/dist/model/BaseResourceScimResource.js +89 -0
- package/dist/model/BaseResourceSearchRequest.js +89 -0
- package/dist/model/Binding.js +171 -0
- package/dist/model/BindingType.js +58 -0
- package/dist/model/Blueprint.js +178 -0
- package/dist/model/BlueprintControllerApiBlueprintItem.js +145 -0
- package/dist/model/BlueprintControllerApiBlueprintItemWithSource.js +196 -0
- package/dist/model/BlueprintControllerApiBlueprintTagItem.js +109 -0
- package/dist/model/BlueprintControllerKind.js +63 -0
- package/dist/model/BlueprintWithFlow.js +226 -0
- package/dist/model/Breakpoint.js +124 -0
- package/dist/model/BulkErrorResponse.js +97 -0
- package/dist/model/BulkResponse.js +85 -0
- package/dist/model/Cache.js +120 -0
- package/dist/model/ChartChartOption.js +134 -0
- package/dist/model/ChartFiltersOverrides.js +164 -0
- package/dist/model/Concurrency.js +119 -0
- package/dist/model/ConcurrencyBehavior.js +63 -0
- package/dist/model/Condition.js +112 -0
- package/dist/model/ConfigurationUsage.js +133 -0
- package/dist/model/ConversionServiceProvider.js +108 -0
- package/dist/model/ConvertibleMultiValuesString.js +139 -0
- package/dist/model/ConvertibleValuesListString.js +126 -0
- package/dist/model/CreateApiTokenRequest.js +144 -0
- package/dist/model/CreateApiTokenResponse.js +113 -0
- package/dist/model/CreateSecurityIntegrationRequest.js +140 -0
- package/dist/model/CrudEventType.js +93 -0
- package/dist/model/CustomLink.js +113 -0
- package/dist/model/DailyExecutionStatistics.js +150 -0
- package/dist/model/DailyExecutionStatisticsDuration.js +164 -0
- package/dist/model/DailyExecutionStatisticsExecutionCounts.js +197 -0
- package/dist/model/Dashboard.js +180 -0
- package/dist/model/DashboardControllerPreviewRequest.js +126 -0
- package/dist/model/DeleteExecutionsByQueryRequest.js +111 -0
- package/dist/model/DeletedInterface.js +85 -0
- package/dist/model/DependsOn.js +101 -0
- package/dist/model/DocumentationWithSchema.js +103 -0
- package/dist/model/Email.js +110 -0
- package/dist/model/EventAppResponse.js +139 -0
- package/dist/model/EventExecution.js +139 -0
- package/dist/model/EventExecutionStatusEvent.js +139 -0
- package/dist/model/EventLogEntry.js +139 -0
- package/dist/model/ExecutableTaskSubflowId.js +109 -0
- package/dist/model/Execution.js +407 -0
- package/dist/model/ExecutionControllerApiValidateExecutionInputsResponse.js +134 -0
- package/dist/model/ExecutionControllerApiValidateExecutionInputsResponseApiInputAndValue.js +140 -0
- package/dist/model/ExecutionControllerApiValidateExecutionInputsResponseApiInputError.js +89 -0
- package/dist/model/ExecutionControllerEvalResult.js +113 -0
- package/dist/model/ExecutionControllerExecutionResponse.js +505 -0
- package/dist/model/ExecutionControllerLastExecutionResponse.js +130 -0
- package/dist/model/ExecutionControllerSetLabelsByIdsRequest.js +122 -0
- package/dist/model/ExecutionControllerStateRequest.js +98 -0
- package/dist/model/ExecutionControllerWebhookResponse.js +216 -0
- package/dist/model/ExecutionKind.js +63 -0
- package/dist/model/ExecutionMetadata.js +93 -0
- package/dist/model/ExecutionRepositoryInterfaceChildFilter.js +58 -0
- package/dist/model/ExecutionRepositoryInterfaceFlowFilter.js +126 -0
- package/dist/model/ExecutionStatusEvent.js +139 -0
- package/dist/model/ExecutionTrigger.js +148 -0
- package/dist/model/ExecutionUsage.js +139 -0
- package/dist/model/FileAttributes.js +132 -0
- package/dist/model/FileAttributesFileType.js +58 -0
- package/dist/model/FileMetas.js +108 -0
- package/dist/model/Filter.js +97 -0
- package/dist/model/Fixtures.js +144 -0
- package/dist/model/Flow.js +601 -0
- package/dist/model/FlowAllOfLabels.js +158 -0
- package/dist/model/FlowControllerTaskValidationType.js +58 -0
- package/dist/model/FlowForExecution.js +447 -0
- package/dist/model/FlowForExecutionAllOfLabels.js +158 -0
- package/dist/model/FlowGenerationPrompt.js +126 -0
- package/dist/model/FlowGraph.js +182 -0
- package/dist/model/FlowGraphCluster.js +139 -0
- package/dist/model/FlowGraphEdge.js +115 -0
- package/dist/model/FlowId.js +121 -0
- package/dist/model/FlowInterface.js +350 -0
- package/dist/model/FlowNode.js +136 -0
- package/dist/model/FlowRelation.js +58 -0
- package/dist/model/FlowScope.js +58 -0
- package/dist/model/FlowTopologyGraph.js +140 -0
- package/dist/model/FlowTopologyGraphEdge.js +110 -0
- package/dist/model/FlowUsage.js +123 -0
- package/dist/model/FlowWithSource.js +695 -0
- package/dist/model/FlowWithSourceAllOfLabels.js +158 -0
- package/dist/model/Group.js +160 -0
- package/dist/model/GroupIdentifier.js +118 -0
- package/dist/model/GroupIdentifierMembership.js +58 -0
- package/dist/model/GroupUsage.js +85 -0
- package/dist/model/HostUsage.js +131 -0
- package/dist/model/HostUsageHardware.js +125 -0
- package/dist/model/HostUsageJvm.js +113 -0
- package/dist/model/HostUsageOs.js +125 -0
- package/dist/model/HttpParameters.js +152 -0
- package/dist/model/IAMBindingControllerApiBindingDetail.js +152 -0
- package/dist/model/IAMBindingControllerApiBindingGroup.js +101 -0
- package/dist/model/IAMBindingControllerApiBindingSummary.js +152 -0
- package/dist/model/IAMBindingControllerApiBindingUser.js +122 -0
- package/dist/model/IAMBindingControllerApiCreateBindingRequest.js +149 -0
- package/dist/model/IAMBindingControllerApiRole.js +101 -0
- package/dist/model/IAMGroupControllerApiCreateGroupRequest.js +136 -0
- package/dist/model/IAMGroupControllerApiGroupDetail.js +113 -0
- package/dist/model/IAMGroupControllerApiGroupMember.js +146 -0
- package/dist/model/IAMGroupControllerApiGroupMembership.js +118 -0
- package/dist/model/IAMGroupControllerApiUpdateGroupRequest.js +127 -0
- package/dist/model/IAMInvitationControllerApiInvitationCreateRequest.js +170 -0
- package/dist/model/IAMInvitationControllerApiInvitationDetail.js +229 -0
- package/dist/model/IAMInvitationControllerApiInvitationRole.js +124 -0
- package/dist/model/IAMRoleControllerApiRoleCreateOrUpdateRequest.js +148 -0
- package/dist/model/IAMRoleControllerApiRoleCreateOrUpdateRequestPermissions.js +365 -0
- package/dist/model/IAMRoleControllerApiRoleDetail.js +143 -0
- package/dist/model/IAMServiceAccountControllerApiGroup.js +89 -0
- package/dist/model/IAMServiceAccountControllerApiServiceAccountRequest.js +163 -0
- package/dist/model/IAMServiceAccountControllerApiServiceAccountResponse.js +178 -0
- package/dist/model/IAMTenantAccessControllerApiAuthentication.js +101 -0
- package/dist/model/IAMTenantAccessControllerApiCreateTenantAccessRequest.js +112 -0
- package/dist/model/IAMTenantAccessControllerApiGroup.js +109 -0
- package/dist/model/IAMTenantAccessControllerApiRoleAssignment.js +167 -0
- package/dist/model/IAMTenantAccessControllerApiTenantAccess.js +196 -0
- package/dist/model/IAMTenantAccessControllerApiUserPermission.js +99 -0
- package/dist/model/IAMTenantAccessControllerApiUserTenantAccess.js +188 -0
- package/dist/model/IAMTenantAccessControllerUserApiAutocomplete.js +127 -0
- package/dist/model/IAMUserControllerApiCreateOrUpdateUserRequest.js +188 -0
- package/dist/model/IAMUserControllerApiGroup.js +101 -0
- package/dist/model/IAMUserControllerApiPatchRestrictedRequest.js +108 -0
- package/dist/model/IAMUserControllerApiPatchSuperAdminRequest.js +108 -0
- package/dist/model/IAMUserControllerApiPatchUserPasswordRequest.js +112 -0
- package/dist/model/IAMUserControllerApiTenant.js +101 -0
- package/dist/model/IAMUserControllerApiUser.js +258 -0
- package/dist/model/IAMUserControllerApiUserAuth.js +113 -0
- package/dist/model/IAMUserControllerApiUserSummary.js +184 -0
- package/dist/model/IAMUserGroupControllerApiUpdateUserGroupsRequest.js +89 -0
- package/dist/model/IdWithNamespace.js +101 -0
- package/dist/model/IdentityProvider.js +123 -0
- package/dist/model/InputObject.js +189 -0
- package/dist/model/InputType.js +101 -0
- package/dist/model/InstanceControllerApiActiveService.js +94 -0
- package/dist/model/InstanceControllerApiActiveServiceList.js +118 -0
- package/dist/model/InstanceControllerApiCreateOrUpdateWorkerGroupRequest.js +139 -0
- package/dist/model/InstanceControllerApiPluginArtifact.js +137 -0
- package/dist/model/InstanceControllerApiPluginArtifactListPluginArtifact.js +97 -0
- package/dist/model/InstanceControllerApiPluginArtifactListPluginResolutionResult.js +97 -0
- package/dist/model/InstanceControllerApiPluginListRequest.js +89 -0
- package/dist/model/InstanceControllerApiPluginVersionDetails.js +182 -0
- package/dist/model/InstanceControllerApiPluginVersionDetailsApiPluginClass.js +101 -0
- package/dist/model/InstanceControllerApiPluginVersionDetailsApiPluginClasses.js +122 -0
- package/dist/model/InstanceControllerApiPluginVersions.js +134 -0
- package/dist/model/InstanceControllerApiPluginVersionsApiPluginVersionAndMetadata.js +103 -0
- package/dist/model/InstanceControllerApiServerInstance.js +122 -0
- package/dist/model/InstanceControllerApiServiceInstance.js +137 -0
- package/dist/model/InstanceControllerApiWorkerGroup.js +129 -0
- package/dist/model/InstanceControllerApiWorkerGroupDetails.js +163 -0
- package/dist/model/InstanceControllerApiWorkerGroupItem.js +126 -0
- package/dist/model/InstanceControllerApiWorkerGroupList.js +112 -0
- package/dist/model/Invitation.js +258 -0
- package/dist/model/InvitationInvitationStatus.js +63 -0
- package/dist/model/Isolation.js +98 -0
- package/dist/model/KVControllerApiDeleteBulkRequest.js +89 -0
- package/dist/model/KVControllerApiDeleteBulkResponse.js +89 -0
- package/dist/model/KVControllerTypedValue.js +94 -0
- package/dist/model/KVEntry.js +125 -0
- package/dist/model/KVType.js +83 -0
- package/dist/model/Label.js +126 -0
- package/dist/model/Level.js +73 -0
- package/dist/model/Listener.js +172 -0
- package/dist/model/LogEntry.js +242 -0
- package/dist/model/MapObjectObject.js +85 -0
- package/dist/model/MeControllerApiMe.js +182 -0
- package/dist/model/MeControllerApiProfile.js +125 -0
- package/dist/model/MeControllerApiTenant.js +113 -0
- package/dist/model/MeControllerApiUpdatePasswordRequest.js +101 -0
- package/dist/model/MeControllerApiUserDetailsRequest.js +113 -0
- package/dist/model/Meta.js +129 -0
- package/dist/model/Metric.js +166 -0
- package/dist/model/MetricAggregation.js +130 -0
- package/dist/model/MetricAggregations.js +144 -0
- package/dist/model/MetricEntry.js +239 -0
- package/dist/model/MetricTag.js +101 -0
- package/dist/model/MiscControllerBasicAuthCredentials.js +113 -0
- package/dist/model/MiscControllerConfiguration.js +266 -0
- package/dist/model/MiscControllerEEConfiguration.js +494 -0
- package/dist/model/MiscControllerEnvironment.js +101 -0
- package/dist/model/MiscControllerLicenseInfo.js +129 -0
- package/dist/model/MiscControllerPluginIdAndVersion.js +101 -0
- package/dist/model/MiscControllerPreview.js +93 -0
- package/dist/model/MiscControllerTenantConfigurationInfo.js +93 -0
- package/dist/model/Name.js +102 -0
- package/dist/model/Namespace.js +350 -0
- package/dist/model/NamespaceAllowedNamespace.js +112 -0
- package/dist/model/NamespaceAllowedTrigger.js +124 -0
- package/dist/model/NamespaceLight.js +122 -0
- package/dist/model/NamespaceUsage.js +85 -0
- package/dist/model/NamespaceWithDisabled.js +370 -0
- package/dist/model/Output.js +157 -0
- package/dist/model/PageRequest.js +93 -0
- package/dist/model/PagedResultsApiGroupSummary.js +140 -0
- package/dist/model/PagedResultsApiRoleSummary.js +140 -0
- package/dist/model/PagedResultsAppsControllerApiApp.js +140 -0
- package/dist/model/PagedResultsAppsControllerApiAppCatalogItem.js +140 -0
- package/dist/model/PagedResultsAuditLogControllerAuditLogWithUser.js +140 -0
- package/dist/model/PagedResultsBlueprint.js +140 -0
- package/dist/model/PagedResultsBlueprintControllerApiBlueprintItem.js +140 -0
- package/dist/model/PagedResultsDashboard.js +140 -0
- package/dist/model/PagedResultsExecution.js +140 -0
- package/dist/model/PagedResultsFlow.js +140 -0
- package/dist/model/PagedResultsIAMBindingControllerApiBindingDetail.js +140 -0
- package/dist/model/PagedResultsIAMBindingControllerApiBindingSummary.js +140 -0
- package/dist/model/PagedResultsIAMGroupControllerApiGroupMember.js +140 -0
- package/dist/model/PagedResultsIAMInvitationControllerApiInvitationDetail.js +140 -0
- package/dist/model/PagedResultsIAMTenantAccessControllerApiUserTenantAccess.js +140 -0
- package/dist/model/PagedResultsIAMUserControllerApiUserSummary.js +140 -0
- package/dist/model/PagedResultsInstanceControllerApiPluginArtifact.js +140 -0
- package/dist/model/PagedResultsInstanceControllerApiServiceInstance.js +140 -0
- package/dist/model/PagedResultsLogEntry.js +140 -0
- package/dist/model/PagedResultsMapStringObject.js +124 -0
- package/dist/model/PagedResultsMetricEntry.js +140 -0
- package/dist/model/PagedResultsNamespaceWithDisabled.js +140 -0
- package/dist/model/PagedResultsSearchResultFlow.js +140 -0
- package/dist/model/PagedResultsTaskRun.js +140 -0
- package/dist/model/PagedResultsTenant.js +140 -0
- package/dist/model/PagedResultsTestSuite.js +140 -0
- package/dist/model/PagedResultsTrigger.js +140 -0
- package/dist/model/PagedResultsTriggerControllerTriggers.js +140 -0
- package/dist/model/PatchOperation.js +108 -0
- package/dist/model/PatchOperationPath.js +91 -0
- package/dist/model/PatchOperationType.js +63 -0
- package/dist/model/PatchRequest.js +132 -0
- package/dist/model/Permission.js +168 -0
- package/dist/model/Plugin.js +601 -0
- package/dist/model/PluginArtifact.js +149 -0
- package/dist/model/PluginArtifactMetadata.js +125 -0
- package/dist/model/PluginControllerApiPluginVersions.js +101 -0
- package/dist/model/PluginDefault.js +130 -0
- package/dist/model/PluginIcon.js +109 -0
- package/dist/model/PluginMetric.js +113 -0
- package/dist/model/PluginPluginElementMetadata.js +97 -0
- package/dist/model/PluginSchema.js +107 -0
- package/dist/model/PluginSubGroupPluginCategory.js +118 -0
- package/dist/model/PluginUsage.js +87 -0
- package/dist/model/PreviewAppRequest.js +91 -0
- package/dist/model/PropertyBoolean.js +97 -0
- package/dist/model/PropertyDouble.js +97 -0
- package/dist/model/PropertyDuration.js +101 -0
- package/dist/model/PropertyListString.js +101 -0
- package/dist/model/PropertyObject.js +97 -0
- package/dist/model/PropertyString.js +101 -0
- package/dist/model/QueryFilter.js +103 -0
- package/dist/model/QueryFilterField.js +123 -0
- package/dist/model/QueryFilterFieldOp.js +134 -0
- package/dist/model/QueryFilterOp.js +113 -0
- package/dist/model/QueryFilterOperation.js +101 -0
- package/dist/model/QueryFilterResourceField.js +122 -0
- package/dist/model/RBACServiceRoleAssignmentRoleOrigin.js +58 -0
- package/dist/model/Relation.js +98 -0
- package/dist/model/RelationType.js +83 -0
- package/dist/model/ResourceType.js +339 -0
- package/dist/model/ResourceTypeSchemaExtensionConfiguration.js +97 -0
- package/dist/model/Role.js +178 -0
- package/dist/model/RoleUsage.js +85 -0
- package/dist/model/SLA.js +148 -0
- package/dist/model/SLABehavior.js +63 -0
- package/dist/model/SLAType.js +58 -0
- package/dist/model/Schema.js +180 -0
- package/dist/model/SchemaAttribute.js +274 -0
- package/dist/model/SchemaAttributeMutability.js +68 -0
- package/dist/model/SchemaAttributeReturned.js +68 -0
- package/dist/model/SchemaAttributeType.js +88 -0
- package/dist/model/SchemaAttributeUniqueness.js +63 -0
- package/dist/model/SchemaType.js +88 -0
- package/dist/model/ScimExtension.js +89 -0
- package/dist/model/ScimResource.js +195 -0
- package/dist/model/ScimResourceWithOptionalId.js +228 -0
- package/dist/model/ScimUser.js +336 -0
- package/dist/model/SearchRequest.js +241 -0
- package/dist/model/SearchResultFlow.js +103 -0
- package/dist/model/SecurityIntegrationType.js +53 -0
- package/dist/model/ServerConfig.js +136 -0
- package/dist/model/ServerConfigLiveness.js +169 -0
- package/dist/model/ServerInstance.js +165 -0
- package/dist/model/ServerInstanceType.js +58 -0
- package/dist/model/ServerType.js +78 -0
- package/dist/model/ServiceInstance.js +232 -0
- package/dist/model/ServiceInstanceTimestampedEvent.js +118 -0
- package/dist/model/ServiceProviderConfiguration.js +384 -0
- package/dist/model/ServiceProviderConfigurationAuthenticationSchema.js +134 -0
- package/dist/model/ServiceProviderConfigurationAuthenticationSchemaType.js +73 -0
- package/dist/model/ServiceProviderConfigurationBulkConfiguration.js +111 -0
- package/dist/model/ServiceProviderConfigurationFilterConfiguration.js +103 -0
- package/dist/model/ServiceProviderConfigurationSupportedConfiguration.js +85 -0
- package/dist/model/ServiceServiceState.js +98 -0
- package/dist/model/ServiceType.js +73 -0
- package/dist/model/ServiceUsage.js +110 -0
- package/dist/model/ServiceUsageDailyServiceStatistics.js +122 -0
- package/dist/model/ServiceUsageDailyStatistics.js +109 -0
- package/dist/model/SetupConfiguration.js +145 -0
- package/dist/model/SetupConfigurationSetupData.js +115 -0
- package/dist/model/SortOrder.js +58 -0
- package/dist/model/SortRequest.js +100 -0
- package/dist/model/State.js +167 -0
- package/dist/model/StateHistory.js +119 -0
- package/dist/model/StateType.js +123 -0
- package/dist/model/Task.js +253 -0
- package/dist/model/TaskFixture.js +157 -0
- package/dist/model/TaskForExecution.js +211 -0
- package/dist/model/TaskRun.js +284 -0
- package/dist/model/TaskRunAttempt.js +168 -0
- package/dist/model/Tenant.js +245 -0
- package/dist/model/TenantInterface.js +89 -0
- package/dist/model/TenantUsage.js +85 -0
- package/dist/model/TestState.js +68 -0
- package/dist/model/TestSuite.js +212 -0
- package/dist/model/TestSuiteControllerSearchTestsLastResult.js +110 -0
- package/dist/model/TestSuiteControllerTestSuiteApiId.js +126 -0
- package/dist/model/TestSuiteControllerTestSuiteBulkRequest.js +130 -0
- package/dist/model/TestSuiteControllerTestsLastResultResponse.js +110 -0
- package/dist/model/TestSuiteRunResult.js +215 -0
- package/dist/model/TheLabelsToPassToTheExecutionCreated.js +158 -0
- package/dist/model/TimeWindow.js +101 -0
- package/dist/model/Trigger.js +287 -0
- package/dist/model/TriggerContext.js +205 -0
- package/dist/model/TriggerControllerSetDisabledRequest.js +140 -0
- package/dist/model/TriggerControllerTriggers.js +105 -0
- package/dist/model/TriggerFixture.js +136 -0
- package/dist/model/Type.js +143 -0
- package/dist/model/UnitTest.js +192 -0
- package/dist/model/UnitTestResult.js +239 -0
- package/dist/model/UpdateFlow200Response.js +261 -0
- package/dist/model/UpdateFlowsInNamespaceFromJson200Response.js +141 -0
- package/dist/model/Usage.js +343 -0
- package/dist/model/UsageEE.js +483 -0
- package/dist/model/UserGroup.js +122 -0
- package/dist/model/UserGroupType.js +58 -0
- package/dist/model/UserType.js +58 -0
- package/dist/model/UserUsage.js +138 -0
- package/dist/model/UsernamePasswordCredentials.js +150 -0
- package/dist/model/ValidateConstraintViolation.js +188 -0
- package/dist/model/ValuePathExpression.js +99 -0
- package/dist/model/WorkerGroup.js +98 -0
- package/dist/model/WorkerGroupFallback.js +63 -0
- package/dist/model/WorkerTaskRestartStrategy.js +63 -0
- package/package.json +46 -0
|
@@ -0,0 +1,371 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = void 0;
|
|
7
|
+
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
|
8
|
+
var _EventLogEntry = _interopRequireDefault(require("../model/EventLogEntry"));
|
|
9
|
+
var _Level = _interopRequireDefault(require("../model/Level"));
|
|
10
|
+
var _LogEntry = _interopRequireDefault(require("../model/LogEntry"));
|
|
11
|
+
var _PagedResultsLogEntry = _interopRequireDefault(require("../model/PagedResultsLogEntry"));
|
|
12
|
+
var _QueryFilter = _interopRequireDefault(require("../model/QueryFilter"));
|
|
13
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
14
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
15
|
+
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
16
|
+
function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
|
|
17
|
+
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
18
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
19
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /**
|
|
20
|
+
* Kestra EE
|
|
21
|
+
* All API operations, except for Superadmin-only endpoints, require a tenant identifier in the HTTP path.<br/> Endpoints designated as Superadmin-only are not tenant-scoped.
|
|
22
|
+
*
|
|
23
|
+
* The version of the OpenAPI document: v1
|
|
24
|
+
*
|
|
25
|
+
*
|
|
26
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
27
|
+
* https://openapi-generator.tech
|
|
28
|
+
* Do not edit the class manually.
|
|
29
|
+
*
|
|
30
|
+
*/
|
|
31
|
+
/**
|
|
32
|
+
* Logs service.
|
|
33
|
+
* @module api/LogsApi
|
|
34
|
+
* @version v0.24.0
|
|
35
|
+
*/
|
|
36
|
+
var LogsApi = exports["default"] = /*#__PURE__*/function () {
|
|
37
|
+
/**
|
|
38
|
+
* Constructs a new LogsApi.
|
|
39
|
+
* @alias module:api/LogsApi
|
|
40
|
+
* @class
|
|
41
|
+
* @param {module:ApiClient} [apiClient] Optional API client implementation to use,
|
|
42
|
+
* default to {@link module:ApiClient#instance} if unspecified.
|
|
43
|
+
*/
|
|
44
|
+
function LogsApi(apiClient) {
|
|
45
|
+
_classCallCheck(this, LogsApi);
|
|
46
|
+
this.apiClient = apiClient || _ApiClient["default"].instance;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* Callback function to receive the result of the deleteLogsFromExecution operation.
|
|
51
|
+
* @callback module:api/LogsApi~deleteLogsFromExecutionCallback
|
|
52
|
+
* @param {String} error Error message, if any.
|
|
53
|
+
* @param data This operation does not return a value.
|
|
54
|
+
* @param {String} response The complete HTTP response.
|
|
55
|
+
*/
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* Delete logs for a specific execution, taskrun or task
|
|
59
|
+
* @param {String} executionId The execution id
|
|
60
|
+
* @param {String} tenant
|
|
61
|
+
* @param {Object} opts Optional parameters
|
|
62
|
+
* @param {module:model/Level} [minLevel] The min log level filter
|
|
63
|
+
* @param {String} [taskRunId] The taskrun id
|
|
64
|
+
* @param {String} [taskId] The task id
|
|
65
|
+
* @param {Number} [attempt] The attempt number
|
|
66
|
+
* @param {module:api/LogsApi~deleteLogsFromExecutionCallback} callback The callback function, accepting three arguments: error, data, response
|
|
67
|
+
*/
|
|
68
|
+
return _createClass(LogsApi, [{
|
|
69
|
+
key: "deleteLogsFromExecution",
|
|
70
|
+
value: function deleteLogsFromExecution(executionId, tenant, opts, callback) {
|
|
71
|
+
opts = opts || {};
|
|
72
|
+
var postBody = null;
|
|
73
|
+
// verify the required parameter 'executionId' is set
|
|
74
|
+
if (executionId === undefined || executionId === null) {
|
|
75
|
+
throw new Error("Missing the required parameter 'executionId' when calling deleteLogsFromExecution");
|
|
76
|
+
}
|
|
77
|
+
// verify the required parameter 'tenant' is set
|
|
78
|
+
if (tenant === undefined || tenant === null) {
|
|
79
|
+
throw new Error("Missing the required parameter 'tenant' when calling deleteLogsFromExecution");
|
|
80
|
+
}
|
|
81
|
+
var pathParams = {
|
|
82
|
+
'executionId': executionId,
|
|
83
|
+
'tenant': tenant
|
|
84
|
+
};
|
|
85
|
+
var queryParams = {
|
|
86
|
+
'minLevel': opts['minLevel'],
|
|
87
|
+
'taskRunId': opts['taskRunId'],
|
|
88
|
+
'taskId': opts['taskId'],
|
|
89
|
+
'attempt': opts['attempt']
|
|
90
|
+
};
|
|
91
|
+
var headerParams = {};
|
|
92
|
+
var formParams = {};
|
|
93
|
+
var authNames = ['basicAuth', 'bearerAuth'];
|
|
94
|
+
var contentTypes = [];
|
|
95
|
+
var accepts = [];
|
|
96
|
+
var returnType = null;
|
|
97
|
+
return this.apiClient.callApi('/api/v1/{tenant}/logs/{executionId}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
/**
|
|
101
|
+
* Callback function to receive the result of the deleteLogsFromFlow operation.
|
|
102
|
+
* @callback module:api/LogsApi~deleteLogsFromFlowCallback
|
|
103
|
+
* @param {String} error Error message, if any.
|
|
104
|
+
* @param data This operation does not return a value.
|
|
105
|
+
* @param {String} response The complete HTTP response.
|
|
106
|
+
*/
|
|
107
|
+
|
|
108
|
+
/**
|
|
109
|
+
* Delete logs for a specific execution, taskrun or task
|
|
110
|
+
* @param {String} namespace The namespace
|
|
111
|
+
* @param {String} flowId The flow identifier
|
|
112
|
+
* @param {String} triggerId The trigger id
|
|
113
|
+
* @param {String} tenant
|
|
114
|
+
* @param {module:api/LogsApi~deleteLogsFromFlowCallback} callback The callback function, accepting three arguments: error, data, response
|
|
115
|
+
*/
|
|
116
|
+
}, {
|
|
117
|
+
key: "deleteLogsFromFlow",
|
|
118
|
+
value: function deleteLogsFromFlow(namespace, flowId, triggerId, tenant, callback) {
|
|
119
|
+
var postBody = null;
|
|
120
|
+
// verify the required parameter 'namespace' is set
|
|
121
|
+
if (namespace === undefined || namespace === null) {
|
|
122
|
+
throw new Error("Missing the required parameter 'namespace' when calling deleteLogsFromFlow");
|
|
123
|
+
}
|
|
124
|
+
// verify the required parameter 'flowId' is set
|
|
125
|
+
if (flowId === undefined || flowId === null) {
|
|
126
|
+
throw new Error("Missing the required parameter 'flowId' when calling deleteLogsFromFlow");
|
|
127
|
+
}
|
|
128
|
+
// verify the required parameter 'triggerId' is set
|
|
129
|
+
if (triggerId === undefined || triggerId === null) {
|
|
130
|
+
throw new Error("Missing the required parameter 'triggerId' when calling deleteLogsFromFlow");
|
|
131
|
+
}
|
|
132
|
+
// verify the required parameter 'tenant' is set
|
|
133
|
+
if (tenant === undefined || tenant === null) {
|
|
134
|
+
throw new Error("Missing the required parameter 'tenant' when calling deleteLogsFromFlow");
|
|
135
|
+
}
|
|
136
|
+
var pathParams = {
|
|
137
|
+
'namespace': namespace,
|
|
138
|
+
'flowId': flowId,
|
|
139
|
+
'tenant': tenant
|
|
140
|
+
};
|
|
141
|
+
var queryParams = {
|
|
142
|
+
'triggerId': triggerId
|
|
143
|
+
};
|
|
144
|
+
var headerParams = {};
|
|
145
|
+
var formParams = {};
|
|
146
|
+
var authNames = ['basicAuth', 'bearerAuth'];
|
|
147
|
+
var contentTypes = [];
|
|
148
|
+
var accepts = [];
|
|
149
|
+
var returnType = null;
|
|
150
|
+
return this.apiClient.callApi('/api/v1/{tenant}/logs/{namespace}/{flowId}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
/**
|
|
154
|
+
* Callback function to receive the result of the downloadLogsFromExecution operation.
|
|
155
|
+
* @callback module:api/LogsApi~downloadLogsFromExecutionCallback
|
|
156
|
+
* @param {String} error Error message, if any.
|
|
157
|
+
* @param {File} data The data returned by the service call.
|
|
158
|
+
* @param {String} response The complete HTTP response.
|
|
159
|
+
*/
|
|
160
|
+
|
|
161
|
+
/**
|
|
162
|
+
* Download logs for a specific execution, taskrun or task
|
|
163
|
+
* @param {String} executionId The execution id
|
|
164
|
+
* @param {String} tenant
|
|
165
|
+
* @param {Object} opts Optional parameters
|
|
166
|
+
* @param {module:model/Level} [minLevel] The min log level filter
|
|
167
|
+
* @param {String} [taskRunId] The taskrun id
|
|
168
|
+
* @param {String} [taskId] The task id
|
|
169
|
+
* @param {Number} [attempt] The attempt number
|
|
170
|
+
* @param {module:api/LogsApi~downloadLogsFromExecutionCallback} callback The callback function, accepting three arguments: error, data, response
|
|
171
|
+
* data is of type: {@link File}
|
|
172
|
+
*/
|
|
173
|
+
}, {
|
|
174
|
+
key: "downloadLogsFromExecution",
|
|
175
|
+
value: function downloadLogsFromExecution(executionId, tenant, opts, callback) {
|
|
176
|
+
opts = opts || {};
|
|
177
|
+
var postBody = null;
|
|
178
|
+
// verify the required parameter 'executionId' is set
|
|
179
|
+
if (executionId === undefined || executionId === null) {
|
|
180
|
+
throw new Error("Missing the required parameter 'executionId' when calling downloadLogsFromExecution");
|
|
181
|
+
}
|
|
182
|
+
// verify the required parameter 'tenant' is set
|
|
183
|
+
if (tenant === undefined || tenant === null) {
|
|
184
|
+
throw new Error("Missing the required parameter 'tenant' when calling downloadLogsFromExecution");
|
|
185
|
+
}
|
|
186
|
+
var pathParams = {
|
|
187
|
+
'executionId': executionId,
|
|
188
|
+
'tenant': tenant
|
|
189
|
+
};
|
|
190
|
+
var queryParams = {
|
|
191
|
+
'minLevel': opts['minLevel'],
|
|
192
|
+
'taskRunId': opts['taskRunId'],
|
|
193
|
+
'taskId': opts['taskId'],
|
|
194
|
+
'attempt': opts['attempt']
|
|
195
|
+
};
|
|
196
|
+
var headerParams = {};
|
|
197
|
+
var formParams = {};
|
|
198
|
+
var authNames = ['basicAuth', 'bearerAuth'];
|
|
199
|
+
var contentTypes = [];
|
|
200
|
+
var accepts = ['text/plain'];
|
|
201
|
+
var returnType = File;
|
|
202
|
+
return this.apiClient.callApi('/api/v1/{tenant}/logs/{executionId}/download', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
/**
|
|
206
|
+
* Callback function to receive the result of the followLogsFromExecution operation.
|
|
207
|
+
* @callback module:api/LogsApi~followLogsFromExecutionCallback
|
|
208
|
+
* @param {String} error Error message, if any.
|
|
209
|
+
* @param {module:model/EventLogEntry} data The data returned by the service call.
|
|
210
|
+
* @param {String} response The complete HTTP response.
|
|
211
|
+
*/
|
|
212
|
+
|
|
213
|
+
/**
|
|
214
|
+
* Follow logs for a specific execution
|
|
215
|
+
* @param {String} executionId The execution id
|
|
216
|
+
* @param {String} tenant
|
|
217
|
+
* @param {Object} opts Optional parameters
|
|
218
|
+
* @param {module:model/Level} [minLevel] The min log level filter
|
|
219
|
+
* @param {module:api/LogsApi~followLogsFromExecutionCallback} callback The callback function, accepting three arguments: error, data, response
|
|
220
|
+
* data is of type: {@link module:model/EventLogEntry}
|
|
221
|
+
*/
|
|
222
|
+
}, {
|
|
223
|
+
key: "followLogsFromExecution",
|
|
224
|
+
value: function followLogsFromExecution(executionId, tenant, opts, callback) {
|
|
225
|
+
opts = opts || {};
|
|
226
|
+
var postBody = null;
|
|
227
|
+
// verify the required parameter 'executionId' is set
|
|
228
|
+
if (executionId === undefined || executionId === null) {
|
|
229
|
+
throw new Error("Missing the required parameter 'executionId' when calling followLogsFromExecution");
|
|
230
|
+
}
|
|
231
|
+
// verify the required parameter 'tenant' is set
|
|
232
|
+
if (tenant === undefined || tenant === null) {
|
|
233
|
+
throw new Error("Missing the required parameter 'tenant' when calling followLogsFromExecution");
|
|
234
|
+
}
|
|
235
|
+
var pathParams = {
|
|
236
|
+
'executionId': executionId,
|
|
237
|
+
'tenant': tenant
|
|
238
|
+
};
|
|
239
|
+
var queryParams = {
|
|
240
|
+
'minLevel': opts['minLevel']
|
|
241
|
+
};
|
|
242
|
+
var headerParams = {};
|
|
243
|
+
var formParams = {};
|
|
244
|
+
var authNames = ['basicAuth', 'bearerAuth'];
|
|
245
|
+
var contentTypes = [];
|
|
246
|
+
var accepts = ['text/event-stream'];
|
|
247
|
+
var returnType = _EventLogEntry["default"];
|
|
248
|
+
return this.apiClient.callApi('/api/v1/{tenant}/logs/{executionId}/follow', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
/**
|
|
252
|
+
* Callback function to receive the result of the listLogsFromExecution operation.
|
|
253
|
+
* @callback module:api/LogsApi~listLogsFromExecutionCallback
|
|
254
|
+
* @param {String} error Error message, if any.
|
|
255
|
+
* @param {Array.<module:model/LogEntry>} data The data returned by the service call.
|
|
256
|
+
* @param {String} response The complete HTTP response.
|
|
257
|
+
*/
|
|
258
|
+
|
|
259
|
+
/**
|
|
260
|
+
* Get logs for a specific execution, taskrun or task
|
|
261
|
+
* @param {String} executionId The execution id
|
|
262
|
+
* @param {String} tenant
|
|
263
|
+
* @param {Object} opts Optional parameters
|
|
264
|
+
* @param {module:model/Level} [minLevel] The min log level filter
|
|
265
|
+
* @param {String} [taskRunId] The taskrun id
|
|
266
|
+
* @param {String} [taskId] The task id
|
|
267
|
+
* @param {Number} [attempt] The attempt number
|
|
268
|
+
* @param {module:api/LogsApi~listLogsFromExecutionCallback} callback The callback function, accepting three arguments: error, data, response
|
|
269
|
+
* data is of type: {@link Array.<module:model/LogEntry>}
|
|
270
|
+
*/
|
|
271
|
+
}, {
|
|
272
|
+
key: "listLogsFromExecution",
|
|
273
|
+
value: function listLogsFromExecution(executionId, tenant, opts, callback) {
|
|
274
|
+
opts = opts || {};
|
|
275
|
+
var postBody = null;
|
|
276
|
+
// verify the required parameter 'executionId' is set
|
|
277
|
+
if (executionId === undefined || executionId === null) {
|
|
278
|
+
throw new Error("Missing the required parameter 'executionId' when calling listLogsFromExecution");
|
|
279
|
+
}
|
|
280
|
+
// verify the required parameter 'tenant' is set
|
|
281
|
+
if (tenant === undefined || tenant === null) {
|
|
282
|
+
throw new Error("Missing the required parameter 'tenant' when calling listLogsFromExecution");
|
|
283
|
+
}
|
|
284
|
+
var pathParams = {
|
|
285
|
+
'executionId': executionId,
|
|
286
|
+
'tenant': tenant
|
|
287
|
+
};
|
|
288
|
+
var queryParams = {
|
|
289
|
+
'minLevel': opts['minLevel'],
|
|
290
|
+
'taskRunId': opts['taskRunId'],
|
|
291
|
+
'taskId': opts['taskId'],
|
|
292
|
+
'attempt': opts['attempt']
|
|
293
|
+
};
|
|
294
|
+
var headerParams = {};
|
|
295
|
+
var formParams = {};
|
|
296
|
+
var authNames = ['basicAuth', 'bearerAuth'];
|
|
297
|
+
var contentTypes = [];
|
|
298
|
+
var accepts = ['application/json'];
|
|
299
|
+
var returnType = [_LogEntry["default"]];
|
|
300
|
+
return this.apiClient.callApi('/api/v1/{tenant}/logs/{executionId}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
/**
|
|
304
|
+
* Callback function to receive the result of the searchLogs operation.
|
|
305
|
+
* @callback module:api/LogsApi~searchLogsCallback
|
|
306
|
+
* @param {String} error Error message, if any.
|
|
307
|
+
* @param {module:model/PagedResultsLogEntry} data The data returned by the service call.
|
|
308
|
+
* @param {String} response The complete HTTP response.
|
|
309
|
+
*/
|
|
310
|
+
|
|
311
|
+
/**
|
|
312
|
+
* Search for logs
|
|
313
|
+
* @param {Number} page The current page
|
|
314
|
+
* @param {Number} size The current page size
|
|
315
|
+
* @param {String} tenant
|
|
316
|
+
* @param {Object} opts Optional parameters
|
|
317
|
+
* @param {Array.<String>} [sort] The sort of current page
|
|
318
|
+
* @param {Array.<module:model/QueryFilter>} [filters] Filters
|
|
319
|
+
* @param {String} [q] A string filter
|
|
320
|
+
* @param {String} [namespace] A namespace filter prefix
|
|
321
|
+
* @param {String} [flowId] A flow id filter
|
|
322
|
+
* @param {String} [triggerId] A trigger id filter
|
|
323
|
+
* @param {module:model/Level} [minLevel] The min log level filter
|
|
324
|
+
* @param {Date} [startDate] The start datetime
|
|
325
|
+
* @param {Date} [endDate] The end datetime
|
|
326
|
+
* @param {module:api/LogsApi~searchLogsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
327
|
+
* data is of type: {@link module:model/PagedResultsLogEntry}
|
|
328
|
+
*/
|
|
329
|
+
}, {
|
|
330
|
+
key: "searchLogs",
|
|
331
|
+
value: function searchLogs(page, size, tenant, opts, callback) {
|
|
332
|
+
opts = opts || {};
|
|
333
|
+
var postBody = null;
|
|
334
|
+
// verify the required parameter 'page' is set
|
|
335
|
+
if (page === undefined || page === null) {
|
|
336
|
+
throw new Error("Missing the required parameter 'page' when calling searchLogs");
|
|
337
|
+
}
|
|
338
|
+
// verify the required parameter 'size' is set
|
|
339
|
+
if (size === undefined || size === null) {
|
|
340
|
+
throw new Error("Missing the required parameter 'size' when calling searchLogs");
|
|
341
|
+
}
|
|
342
|
+
// verify the required parameter 'tenant' is set
|
|
343
|
+
if (tenant === undefined || tenant === null) {
|
|
344
|
+
throw new Error("Missing the required parameter 'tenant' when calling searchLogs");
|
|
345
|
+
}
|
|
346
|
+
var pathParams = {
|
|
347
|
+
'tenant': tenant
|
|
348
|
+
};
|
|
349
|
+
var queryParams = {
|
|
350
|
+
'page': page,
|
|
351
|
+
'size': size,
|
|
352
|
+
'sort': this.apiClient.buildCollectionParam(opts['sort'], 'csv'),
|
|
353
|
+
'filters': this.apiClient.buildCollectionParam(opts['filters'], 'csv'),
|
|
354
|
+
'q': opts['q'],
|
|
355
|
+
'namespace': opts['namespace'],
|
|
356
|
+
'flowId': opts['flowId'],
|
|
357
|
+
'triggerId': opts['triggerId'],
|
|
358
|
+
'minLevel': opts['minLevel'],
|
|
359
|
+
'startDate': opts['startDate'],
|
|
360
|
+
'endDate': opts['endDate']
|
|
361
|
+
};
|
|
362
|
+
var headerParams = {};
|
|
363
|
+
var formParams = {};
|
|
364
|
+
var authNames = ['basicAuth', 'bearerAuth'];
|
|
365
|
+
var contentTypes = [];
|
|
366
|
+
var accepts = ['application/json'];
|
|
367
|
+
var returnType = _PagedResultsLogEntry["default"];
|
|
368
|
+
return this.apiClient.callApi('/api/v1/{tenant}/logs/search', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
369
|
+
}
|
|
370
|
+
}]);
|
|
371
|
+
}();
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = void 0;
|
|
7
|
+
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
|
8
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
9
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
10
|
+
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
11
|
+
function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
|
|
12
|
+
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
13
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
14
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /**
|
|
15
|
+
* Kestra EE
|
|
16
|
+
* All API operations, except for Superadmin-only endpoints, require a tenant identifier in the HTTP path.<br/> Endpoints designated as Superadmin-only are not tenant-scoped.
|
|
17
|
+
*
|
|
18
|
+
* The version of the OpenAPI document: v1
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
22
|
+
* https://openapi-generator.tech
|
|
23
|
+
* Do not edit the class manually.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
/**
|
|
27
|
+
* Maintenance service.
|
|
28
|
+
* @module api/MaintenanceApi
|
|
29
|
+
* @version v0.24.0
|
|
30
|
+
*/
|
|
31
|
+
var MaintenanceApi = exports["default"] = /*#__PURE__*/function () {
|
|
32
|
+
/**
|
|
33
|
+
* Constructs a new MaintenanceApi.
|
|
34
|
+
* @alias module:api/MaintenanceApi
|
|
35
|
+
* @class
|
|
36
|
+
* @param {module:ApiClient} [apiClient] Optional API client implementation to use,
|
|
37
|
+
* default to {@link module:ApiClient#instance} if unspecified.
|
|
38
|
+
*/
|
|
39
|
+
function MaintenanceApi(apiClient) {
|
|
40
|
+
_classCallCheck(this, MaintenanceApi);
|
|
41
|
+
this.apiClient = apiClient || _ApiClient["default"].instance;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* Callback function to receive the result of the enterMaintenance operation.
|
|
46
|
+
* @callback module:api/MaintenanceApi~enterMaintenanceCallback
|
|
47
|
+
* @param {String} error Error message, if any.
|
|
48
|
+
* @param data This operation does not return a value.
|
|
49
|
+
* @param {String} response The complete HTTP response.
|
|
50
|
+
*/
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* Enter cluster maintenance mode
|
|
54
|
+
* Requires a role with the INFRASTRUCTURE permission (Superadmin-only).
|
|
55
|
+
* @param {module:api/MaintenanceApi~enterMaintenanceCallback} callback The callback function, accepting three arguments: error, data, response
|
|
56
|
+
*/
|
|
57
|
+
return _createClass(MaintenanceApi, [{
|
|
58
|
+
key: "enterMaintenance",
|
|
59
|
+
value: function enterMaintenance(callback) {
|
|
60
|
+
var postBody = null;
|
|
61
|
+
var pathParams = {};
|
|
62
|
+
var queryParams = {};
|
|
63
|
+
var headerParams = {};
|
|
64
|
+
var formParams = {};
|
|
65
|
+
var authNames = ['basicAuth', 'bearerAuth'];
|
|
66
|
+
var contentTypes = [];
|
|
67
|
+
var accepts = [];
|
|
68
|
+
var returnType = null;
|
|
69
|
+
return this.apiClient.callApi('/api/v1/instance/maintenance/enter', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* Callback function to receive the result of the exitMaintenance operation.
|
|
74
|
+
* @callback module:api/MaintenanceApi~exitMaintenanceCallback
|
|
75
|
+
* @param {String} error Error message, if any.
|
|
76
|
+
* @param data This operation does not return a value.
|
|
77
|
+
* @param {String} response The complete HTTP response.
|
|
78
|
+
*/
|
|
79
|
+
|
|
80
|
+
/**
|
|
81
|
+
* Exit cluster maintenance mode
|
|
82
|
+
* Requires a role with the INFRASTRUCTURE permission (Superadmin-only).
|
|
83
|
+
* @param {module:api/MaintenanceApi~exitMaintenanceCallback} callback The callback function, accepting three arguments: error, data, response
|
|
84
|
+
*/
|
|
85
|
+
}, {
|
|
86
|
+
key: "exitMaintenance",
|
|
87
|
+
value: function exitMaintenance(callback) {
|
|
88
|
+
var postBody = null;
|
|
89
|
+
var pathParams = {};
|
|
90
|
+
var queryParams = {};
|
|
91
|
+
var headerParams = {};
|
|
92
|
+
var formParams = {};
|
|
93
|
+
var authNames = ['basicAuth', 'bearerAuth'];
|
|
94
|
+
var contentTypes = [];
|
|
95
|
+
var accepts = [];
|
|
96
|
+
var returnType = null;
|
|
97
|
+
return this.apiClient.callApi('/api/v1/instance/maintenance/exit', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
98
|
+
}
|
|
99
|
+
}]);
|
|
100
|
+
}();
|