@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,528 @@
|
|
|
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 _BlueprintControllerApiBlueprintItemWithSource = _interopRequireDefault(require("../model/BlueprintControllerApiBlueprintItemWithSource"));
|
|
9
|
+
var _BlueprintControllerKind = _interopRequireDefault(require("../model/BlueprintControllerKind"));
|
|
10
|
+
var _BlueprintWithFlow = _interopRequireDefault(require("../model/BlueprintWithFlow"));
|
|
11
|
+
var _PagedResultsBlueprint = _interopRequireDefault(require("../model/PagedResultsBlueprint"));
|
|
12
|
+
var _PagedResultsBlueprintControllerApiBlueprintItem = _interopRequireDefault(require("../model/PagedResultsBlueprintControllerApiBlueprintItem"));
|
|
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
|
+
* Blueprints service.
|
|
33
|
+
* @module api/BlueprintsApi
|
|
34
|
+
* @version v0.24.0
|
|
35
|
+
*/
|
|
36
|
+
var BlueprintsApi = exports["default"] = /*#__PURE__*/function () {
|
|
37
|
+
/**
|
|
38
|
+
* Constructs a new BlueprintsApi.
|
|
39
|
+
* @alias module:api/BlueprintsApi
|
|
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 BlueprintsApi(apiClient) {
|
|
45
|
+
_classCallCheck(this, BlueprintsApi);
|
|
46
|
+
this.apiClient = apiClient || _ApiClient["default"].instance;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* Callback function to receive the result of the createInternalBlueprints operation.
|
|
51
|
+
* @callback module:api/BlueprintsApi~createInternalBlueprintsCallback
|
|
52
|
+
* @param {String} error Error message, if any.
|
|
53
|
+
* @param {module:model/BlueprintControllerApiBlueprintItemWithSource} data The data returned by the service call.
|
|
54
|
+
* @param {String} response The complete HTTP response.
|
|
55
|
+
*/
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* Create a new internal blueprint
|
|
59
|
+
* Creates a new internal (custom) blueprint for the current tenant. Requires BLUEPRINT permission.
|
|
60
|
+
* @param {String} tenant
|
|
61
|
+
* @param {module:model/BlueprintControllerApiBlueprintItemWithSource} blueprintControllerApiBlueprintItemWithSource The internal blueprint to create
|
|
62
|
+
* @param {module:api/BlueprintsApi~createInternalBlueprintsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
63
|
+
* data is of type: {@link module:model/BlueprintControllerApiBlueprintItemWithSource}
|
|
64
|
+
*/
|
|
65
|
+
return _createClass(BlueprintsApi, [{
|
|
66
|
+
key: "createInternalBlueprints",
|
|
67
|
+
value: function createInternalBlueprints(tenant, blueprintControllerApiBlueprintItemWithSource, callback) {
|
|
68
|
+
var postBody = blueprintControllerApiBlueprintItemWithSource;
|
|
69
|
+
// verify the required parameter 'tenant' is set
|
|
70
|
+
if (tenant === undefined || tenant === null) {
|
|
71
|
+
throw new Error("Missing the required parameter 'tenant' when calling createInternalBlueprints");
|
|
72
|
+
}
|
|
73
|
+
// verify the required parameter 'blueprintControllerApiBlueprintItemWithSource' is set
|
|
74
|
+
if (blueprintControllerApiBlueprintItemWithSource === undefined || blueprintControllerApiBlueprintItemWithSource === null) {
|
|
75
|
+
throw new Error("Missing the required parameter 'blueprintControllerApiBlueprintItemWithSource' when calling createInternalBlueprints");
|
|
76
|
+
}
|
|
77
|
+
var pathParams = {
|
|
78
|
+
'tenant': tenant
|
|
79
|
+
};
|
|
80
|
+
var queryParams = {};
|
|
81
|
+
var headerParams = {};
|
|
82
|
+
var formParams = {};
|
|
83
|
+
var authNames = [];
|
|
84
|
+
var contentTypes = ['application/json'];
|
|
85
|
+
var accepts = ['application/json'];
|
|
86
|
+
var returnType = _BlueprintControllerApiBlueprintItemWithSource["default"];
|
|
87
|
+
return this.apiClient.callApi('/api/v1/{tenant}/blueprints/custom', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
/**
|
|
91
|
+
* Callback function to receive the result of the deleteInternalBlueprints operation.
|
|
92
|
+
* @callback module:api/BlueprintsApi~deleteInternalBlueprintsCallback
|
|
93
|
+
* @param {String} error Error message, if any.
|
|
94
|
+
* @param data This operation does not return a value.
|
|
95
|
+
* @param {String} response The complete HTTP response.
|
|
96
|
+
*/
|
|
97
|
+
|
|
98
|
+
/**
|
|
99
|
+
* Delete an internal blueprint
|
|
100
|
+
* Deletes an internal (custom) blueprint for the current tenant. Requires BLUEPRINT permission.
|
|
101
|
+
* @param {String} id The internal blueprint id to delete
|
|
102
|
+
* @param {String} tenant
|
|
103
|
+
* @param {module:api/BlueprintsApi~deleteInternalBlueprintsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
104
|
+
*/
|
|
105
|
+
}, {
|
|
106
|
+
key: "deleteInternalBlueprints",
|
|
107
|
+
value: function deleteInternalBlueprints(id, tenant, callback) {
|
|
108
|
+
var postBody = null;
|
|
109
|
+
// verify the required parameter 'id' is set
|
|
110
|
+
if (id === undefined || id === null) {
|
|
111
|
+
throw new Error("Missing the required parameter 'id' when calling deleteInternalBlueprints");
|
|
112
|
+
}
|
|
113
|
+
// verify the required parameter 'tenant' is set
|
|
114
|
+
if (tenant === undefined || tenant === null) {
|
|
115
|
+
throw new Error("Missing the required parameter 'tenant' when calling deleteInternalBlueprints");
|
|
116
|
+
}
|
|
117
|
+
var pathParams = {
|
|
118
|
+
'id': id,
|
|
119
|
+
'tenant': tenant
|
|
120
|
+
};
|
|
121
|
+
var queryParams = {};
|
|
122
|
+
var headerParams = {};
|
|
123
|
+
var formParams = {};
|
|
124
|
+
var authNames = [];
|
|
125
|
+
var contentTypes = [];
|
|
126
|
+
var accepts = [];
|
|
127
|
+
var returnType = null;
|
|
128
|
+
return this.apiClient.callApi('/api/v1/{tenant}/blueprints/custom/{id}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
/**
|
|
132
|
+
* Callback function to receive the result of the getBlueprint operation.
|
|
133
|
+
* @callback module:api/BlueprintsApi~getBlueprintCallback
|
|
134
|
+
* @param {String} error Error message, if any.
|
|
135
|
+
* @param {module:model/BlueprintControllerApiBlueprintItemWithSource} data The data returned by the service call.
|
|
136
|
+
* @param {String} response The complete HTTP response.
|
|
137
|
+
*/
|
|
138
|
+
|
|
139
|
+
/**
|
|
140
|
+
* Retrieve a blueprint
|
|
141
|
+
* Retrieves details of a specific community blueprint.
|
|
142
|
+
* @param {String} id The blueprint id
|
|
143
|
+
* @param {module:model/BlueprintControllerKind} kind The blueprint kind
|
|
144
|
+
* @param {String} tenant
|
|
145
|
+
* @param {module:api/BlueprintsApi~getBlueprintCallback} callback The callback function, accepting three arguments: error, data, response
|
|
146
|
+
* data is of type: {@link module:model/BlueprintControllerApiBlueprintItemWithSource}
|
|
147
|
+
*/
|
|
148
|
+
}, {
|
|
149
|
+
key: "getBlueprint",
|
|
150
|
+
value: function getBlueprint(id, kind, tenant, callback) {
|
|
151
|
+
var postBody = null;
|
|
152
|
+
// verify the required parameter 'id' is set
|
|
153
|
+
if (id === undefined || id === null) {
|
|
154
|
+
throw new Error("Missing the required parameter 'id' when calling getBlueprint");
|
|
155
|
+
}
|
|
156
|
+
// verify the required parameter 'kind' is set
|
|
157
|
+
if (kind === undefined || kind === null) {
|
|
158
|
+
throw new Error("Missing the required parameter 'kind' when calling getBlueprint");
|
|
159
|
+
}
|
|
160
|
+
// verify the required parameter 'tenant' is set
|
|
161
|
+
if (tenant === undefined || tenant === null) {
|
|
162
|
+
throw new Error("Missing the required parameter 'tenant' when calling getBlueprint");
|
|
163
|
+
}
|
|
164
|
+
var pathParams = {
|
|
165
|
+
'id': id,
|
|
166
|
+
'kind': kind,
|
|
167
|
+
'tenant': tenant
|
|
168
|
+
};
|
|
169
|
+
var queryParams = {};
|
|
170
|
+
var headerParams = {};
|
|
171
|
+
var formParams = {};
|
|
172
|
+
var authNames = [];
|
|
173
|
+
var contentTypes = [];
|
|
174
|
+
var accepts = ['application/json'];
|
|
175
|
+
var returnType = _BlueprintControllerApiBlueprintItemWithSource["default"];
|
|
176
|
+
return this.apiClient.callApi('/api/v1/{tenant}/blueprints/community/{kind}/{id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
/**
|
|
180
|
+
* Callback function to receive the result of the getBlueprintGraph operation.
|
|
181
|
+
* @callback module:api/BlueprintsApi~getBlueprintGraphCallback
|
|
182
|
+
* @param {String} error Error message, if any.
|
|
183
|
+
* @param {Object.<String, {String: Object}>} data The data returned by the service call.
|
|
184
|
+
* @param {String} response The complete HTTP response.
|
|
185
|
+
*/
|
|
186
|
+
|
|
187
|
+
/**
|
|
188
|
+
* Retrieve a blueprint graph
|
|
189
|
+
* Retrieves the topology graph representation of a specific community blueprint.
|
|
190
|
+
* @param {String} id The blueprint id
|
|
191
|
+
* @param {module:model/BlueprintControllerKind} kind The blueprint kind
|
|
192
|
+
* @param {String} tenant
|
|
193
|
+
* @param {module:api/BlueprintsApi~getBlueprintGraphCallback} callback The callback function, accepting three arguments: error, data, response
|
|
194
|
+
* data is of type: {@link Object.<String, {String: Object}>}
|
|
195
|
+
*/
|
|
196
|
+
}, {
|
|
197
|
+
key: "getBlueprintGraph",
|
|
198
|
+
value: function getBlueprintGraph(id, kind, tenant, callback) {
|
|
199
|
+
var postBody = null;
|
|
200
|
+
// verify the required parameter 'id' is set
|
|
201
|
+
if (id === undefined || id === null) {
|
|
202
|
+
throw new Error("Missing the required parameter 'id' when calling getBlueprintGraph");
|
|
203
|
+
}
|
|
204
|
+
// verify the required parameter 'kind' is set
|
|
205
|
+
if (kind === undefined || kind === null) {
|
|
206
|
+
throw new Error("Missing the required parameter 'kind' when calling getBlueprintGraph");
|
|
207
|
+
}
|
|
208
|
+
// verify the required parameter 'tenant' is set
|
|
209
|
+
if (tenant === undefined || tenant === null) {
|
|
210
|
+
throw new Error("Missing the required parameter 'tenant' when calling getBlueprintGraph");
|
|
211
|
+
}
|
|
212
|
+
var pathParams = {
|
|
213
|
+
'id': id,
|
|
214
|
+
'kind': kind,
|
|
215
|
+
'tenant': tenant
|
|
216
|
+
};
|
|
217
|
+
var queryParams = {};
|
|
218
|
+
var headerParams = {};
|
|
219
|
+
var formParams = {};
|
|
220
|
+
var authNames = [];
|
|
221
|
+
var contentTypes = [];
|
|
222
|
+
var accepts = ['application/json'];
|
|
223
|
+
var returnType = {
|
|
224
|
+
'String': Object
|
|
225
|
+
};
|
|
226
|
+
return this.apiClient.callApi('/api/v1/{tenant}/blueprints/community/{kind}/{id}/graph', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
/**
|
|
230
|
+
* Callback function to receive the result of the getBlueprintSource operation.
|
|
231
|
+
* @callback module:api/BlueprintsApi~getBlueprintSourceCallback
|
|
232
|
+
* @param {String} error Error message, if any.
|
|
233
|
+
* @param {String} data The data returned by the service call.
|
|
234
|
+
* @param {String} response The complete HTTP response.
|
|
235
|
+
*/
|
|
236
|
+
|
|
237
|
+
/**
|
|
238
|
+
* Retrieve a blueprint source code
|
|
239
|
+
* Retrieves the YAML source code for a specific community blueprint.
|
|
240
|
+
* @param {String} id The blueprint id
|
|
241
|
+
* @param {module:model/BlueprintControllerKind} kind The blueprint kind
|
|
242
|
+
* @param {String} tenant
|
|
243
|
+
* @param {module:api/BlueprintsApi~getBlueprintSourceCallback} callback The callback function, accepting three arguments: error, data, response
|
|
244
|
+
* data is of type: {@link String}
|
|
245
|
+
*/
|
|
246
|
+
}, {
|
|
247
|
+
key: "getBlueprintSource",
|
|
248
|
+
value: function getBlueprintSource(id, kind, tenant, callback) {
|
|
249
|
+
var postBody = null;
|
|
250
|
+
// verify the required parameter 'id' is set
|
|
251
|
+
if (id === undefined || id === null) {
|
|
252
|
+
throw new Error("Missing the required parameter 'id' when calling getBlueprintSource");
|
|
253
|
+
}
|
|
254
|
+
// verify the required parameter 'kind' is set
|
|
255
|
+
if (kind === undefined || kind === null) {
|
|
256
|
+
throw new Error("Missing the required parameter 'kind' when calling getBlueprintSource");
|
|
257
|
+
}
|
|
258
|
+
// verify the required parameter 'tenant' is set
|
|
259
|
+
if (tenant === undefined || tenant === null) {
|
|
260
|
+
throw new Error("Missing the required parameter 'tenant' when calling getBlueprintSource");
|
|
261
|
+
}
|
|
262
|
+
var pathParams = {
|
|
263
|
+
'id': id,
|
|
264
|
+
'kind': kind,
|
|
265
|
+
'tenant': tenant
|
|
266
|
+
};
|
|
267
|
+
var queryParams = {};
|
|
268
|
+
var headerParams = {};
|
|
269
|
+
var formParams = {};
|
|
270
|
+
var authNames = [];
|
|
271
|
+
var contentTypes = [];
|
|
272
|
+
var accepts = ['application/yaml'];
|
|
273
|
+
var returnType = 'String';
|
|
274
|
+
return this.apiClient.callApi('/api/v1/{tenant}/blueprints/community/{kind}/{id}/source', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
/**
|
|
278
|
+
* Callback function to receive the result of the internalBlueprint operation.
|
|
279
|
+
* @callback module:api/BlueprintsApi~internalBlueprintCallback
|
|
280
|
+
* @param {String} error Error message, if any.
|
|
281
|
+
* @param {module:model/BlueprintControllerApiBlueprintItemWithSource} data The data returned by the service call.
|
|
282
|
+
* @param {String} response The complete HTTP response.
|
|
283
|
+
*/
|
|
284
|
+
|
|
285
|
+
/**
|
|
286
|
+
* Retrieve an internal blueprint
|
|
287
|
+
* Retrieves details of a specific internal (custom) blueprint. Requires BLUEPRINT permission.
|
|
288
|
+
* @param {String} id The blueprint id
|
|
289
|
+
* @param {String} tenant
|
|
290
|
+
* @param {module:api/BlueprintsApi~internalBlueprintCallback} callback The callback function, accepting three arguments: error, data, response
|
|
291
|
+
* data is of type: {@link module:model/BlueprintControllerApiBlueprintItemWithSource}
|
|
292
|
+
*/
|
|
293
|
+
}, {
|
|
294
|
+
key: "internalBlueprint",
|
|
295
|
+
value: function internalBlueprint(id, tenant, callback) {
|
|
296
|
+
var postBody = null;
|
|
297
|
+
// verify the required parameter 'id' is set
|
|
298
|
+
if (id === undefined || id === null) {
|
|
299
|
+
throw new Error("Missing the required parameter 'id' when calling internalBlueprint");
|
|
300
|
+
}
|
|
301
|
+
// verify the required parameter 'tenant' is set
|
|
302
|
+
if (tenant === undefined || tenant === null) {
|
|
303
|
+
throw new Error("Missing the required parameter 'tenant' when calling internalBlueprint");
|
|
304
|
+
}
|
|
305
|
+
var pathParams = {
|
|
306
|
+
'id': id,
|
|
307
|
+
'tenant': tenant
|
|
308
|
+
};
|
|
309
|
+
var queryParams = {};
|
|
310
|
+
var headerParams = {};
|
|
311
|
+
var formParams = {};
|
|
312
|
+
var authNames = [];
|
|
313
|
+
var contentTypes = [];
|
|
314
|
+
var accepts = ['application/json'];
|
|
315
|
+
var returnType = _BlueprintControllerApiBlueprintItemWithSource["default"];
|
|
316
|
+
return this.apiClient.callApi('/api/v1/{tenant}/blueprints/custom/{id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
/**
|
|
320
|
+
* Callback function to receive the result of the internalBlueprintFlow operation.
|
|
321
|
+
* @callback module:api/BlueprintsApi~internalBlueprintFlowCallback
|
|
322
|
+
* @param {String} error Error message, if any.
|
|
323
|
+
* @param {String} data The data returned by the service call.
|
|
324
|
+
* @param {String} response The complete HTTP response.
|
|
325
|
+
*/
|
|
326
|
+
|
|
327
|
+
/**
|
|
328
|
+
* Retrieve an internal blueprint source code
|
|
329
|
+
* Retrieves the YAML source code for a specific internal (custom) blueprint. Requires BLUEPRINT permission.
|
|
330
|
+
* @param {String} id The blueprint id
|
|
331
|
+
* @param {String} tenant
|
|
332
|
+
* @param {module:api/BlueprintsApi~internalBlueprintFlowCallback} callback The callback function, accepting three arguments: error, data, response
|
|
333
|
+
* data is of type: {@link String}
|
|
334
|
+
*/
|
|
335
|
+
}, {
|
|
336
|
+
key: "internalBlueprintFlow",
|
|
337
|
+
value: function internalBlueprintFlow(id, tenant, callback) {
|
|
338
|
+
var postBody = null;
|
|
339
|
+
// verify the required parameter 'id' is set
|
|
340
|
+
if (id === undefined || id === null) {
|
|
341
|
+
throw new Error("Missing the required parameter 'id' when calling internalBlueprintFlow");
|
|
342
|
+
}
|
|
343
|
+
// verify the required parameter 'tenant' is set
|
|
344
|
+
if (tenant === undefined || tenant === null) {
|
|
345
|
+
throw new Error("Missing the required parameter 'tenant' when calling internalBlueprintFlow");
|
|
346
|
+
}
|
|
347
|
+
var pathParams = {
|
|
348
|
+
'id': id,
|
|
349
|
+
'tenant': tenant
|
|
350
|
+
};
|
|
351
|
+
var queryParams = {};
|
|
352
|
+
var headerParams = {};
|
|
353
|
+
var formParams = {};
|
|
354
|
+
var authNames = [];
|
|
355
|
+
var contentTypes = [];
|
|
356
|
+
var accepts = ['application/yaml'];
|
|
357
|
+
var returnType = 'String';
|
|
358
|
+
return this.apiClient.callApi('/api/v1/{tenant}/blueprints/custom/{id}/source', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
359
|
+
}
|
|
360
|
+
|
|
361
|
+
/**
|
|
362
|
+
* Callback function to receive the result of the searchBlueprints operation.
|
|
363
|
+
* @callback module:api/BlueprintsApi~searchBlueprintsCallback
|
|
364
|
+
* @param {String} error Error message, if any.
|
|
365
|
+
* @param {module:model/PagedResultsBlueprintControllerApiBlueprintItem} data The data returned by the service call.
|
|
366
|
+
* @param {String} response The complete HTTP response.
|
|
367
|
+
*/
|
|
368
|
+
|
|
369
|
+
/**
|
|
370
|
+
* List all blueprints
|
|
371
|
+
* Lists all community blueprints of the specified kind. Community blueprints are shared and versioned.
|
|
372
|
+
* @param {Number} page The current page
|
|
373
|
+
* @param {Number} size The current page size
|
|
374
|
+
* @param {module:model/BlueprintControllerKind} kind The blueprint kind
|
|
375
|
+
* @param {String} tenant
|
|
376
|
+
* @param {Object} opts Optional parameters
|
|
377
|
+
* @param {String} [q] A string filter
|
|
378
|
+
* @param {String} [sort] The sort of current page
|
|
379
|
+
* @param {Array.<String>} [tags] A tags filter
|
|
380
|
+
* @param {module:api/BlueprintsApi~searchBlueprintsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
381
|
+
* data is of type: {@link module:model/PagedResultsBlueprintControllerApiBlueprintItem}
|
|
382
|
+
*/
|
|
383
|
+
}, {
|
|
384
|
+
key: "searchBlueprints",
|
|
385
|
+
value: function searchBlueprints(page, size, kind, tenant, opts, callback) {
|
|
386
|
+
opts = opts || {};
|
|
387
|
+
var postBody = null;
|
|
388
|
+
// verify the required parameter 'page' is set
|
|
389
|
+
if (page === undefined || page === null) {
|
|
390
|
+
throw new Error("Missing the required parameter 'page' when calling searchBlueprints");
|
|
391
|
+
}
|
|
392
|
+
// verify the required parameter 'size' is set
|
|
393
|
+
if (size === undefined || size === null) {
|
|
394
|
+
throw new Error("Missing the required parameter 'size' when calling searchBlueprints");
|
|
395
|
+
}
|
|
396
|
+
// verify the required parameter 'kind' is set
|
|
397
|
+
if (kind === undefined || kind === null) {
|
|
398
|
+
throw new Error("Missing the required parameter 'kind' when calling searchBlueprints");
|
|
399
|
+
}
|
|
400
|
+
// verify the required parameter 'tenant' is set
|
|
401
|
+
if (tenant === undefined || tenant === null) {
|
|
402
|
+
throw new Error("Missing the required parameter 'tenant' when calling searchBlueprints");
|
|
403
|
+
}
|
|
404
|
+
var pathParams = {
|
|
405
|
+
'kind': kind,
|
|
406
|
+
'tenant': tenant
|
|
407
|
+
};
|
|
408
|
+
var queryParams = {
|
|
409
|
+
'q': opts['q'],
|
|
410
|
+
'sort': opts['sort'],
|
|
411
|
+
'tags': this.apiClient.buildCollectionParam(opts['tags'], 'csv'),
|
|
412
|
+
'page': page,
|
|
413
|
+
'size': size
|
|
414
|
+
};
|
|
415
|
+
var headerParams = {};
|
|
416
|
+
var formParams = {};
|
|
417
|
+
var authNames = [];
|
|
418
|
+
var contentTypes = [];
|
|
419
|
+
var accepts = ['application/json'];
|
|
420
|
+
var returnType = _PagedResultsBlueprintControllerApiBlueprintItem["default"];
|
|
421
|
+
return this.apiClient.callApi('/api/v1/{tenant}/blueprints/community/{kind}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
422
|
+
}
|
|
423
|
+
|
|
424
|
+
/**
|
|
425
|
+
* Callback function to receive the result of the searchInternalBlueprints operation.
|
|
426
|
+
* @callback module:api/BlueprintsApi~searchInternalBlueprintsCallback
|
|
427
|
+
* @param {String} error Error message, if any.
|
|
428
|
+
* @param {module:model/PagedResultsBlueprint} data The data returned by the service call.
|
|
429
|
+
* @param {String} response The complete HTTP response.
|
|
430
|
+
*/
|
|
431
|
+
|
|
432
|
+
/**
|
|
433
|
+
* List all internal blueprints
|
|
434
|
+
* Lists all internal (custom) blueprints for the current tenant. Requires BLUEPRINT permission.
|
|
435
|
+
* @param {Number} page The current page
|
|
436
|
+
* @param {Number} size The current page size
|
|
437
|
+
* @param {String} tenant
|
|
438
|
+
* @param {Object} opts Optional parameters
|
|
439
|
+
* @param {String} [q] A string filter
|
|
440
|
+
* @param {String} [sort] The sort of current page
|
|
441
|
+
* @param {Array.<String>} [tags] A tags filter
|
|
442
|
+
* @param {module:api/BlueprintsApi~searchInternalBlueprintsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
443
|
+
* data is of type: {@link module:model/PagedResultsBlueprint}
|
|
444
|
+
*/
|
|
445
|
+
}, {
|
|
446
|
+
key: "searchInternalBlueprints",
|
|
447
|
+
value: function searchInternalBlueprints(page, size, tenant, opts, callback) {
|
|
448
|
+
opts = opts || {};
|
|
449
|
+
var postBody = null;
|
|
450
|
+
// verify the required parameter 'page' is set
|
|
451
|
+
if (page === undefined || page === null) {
|
|
452
|
+
throw new Error("Missing the required parameter 'page' when calling searchInternalBlueprints");
|
|
453
|
+
}
|
|
454
|
+
// verify the required parameter 'size' is set
|
|
455
|
+
if (size === undefined || size === null) {
|
|
456
|
+
throw new Error("Missing the required parameter 'size' when calling searchInternalBlueprints");
|
|
457
|
+
}
|
|
458
|
+
// verify the required parameter 'tenant' is set
|
|
459
|
+
if (tenant === undefined || tenant === null) {
|
|
460
|
+
throw new Error("Missing the required parameter 'tenant' when calling searchInternalBlueprints");
|
|
461
|
+
}
|
|
462
|
+
var pathParams = {
|
|
463
|
+
'tenant': tenant
|
|
464
|
+
};
|
|
465
|
+
var queryParams = {
|
|
466
|
+
'q': opts['q'],
|
|
467
|
+
'sort': opts['sort'],
|
|
468
|
+
'tags': this.apiClient.buildCollectionParam(opts['tags'], 'csv'),
|
|
469
|
+
'page': page,
|
|
470
|
+
'size': size
|
|
471
|
+
};
|
|
472
|
+
var headerParams = {};
|
|
473
|
+
var formParams = {};
|
|
474
|
+
var authNames = [];
|
|
475
|
+
var contentTypes = [];
|
|
476
|
+
var accepts = ['application/json'];
|
|
477
|
+
var returnType = _PagedResultsBlueprint["default"];
|
|
478
|
+
return this.apiClient.callApi('/api/v1/{tenant}/blueprints/custom', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
479
|
+
}
|
|
480
|
+
|
|
481
|
+
/**
|
|
482
|
+
* Callback function to receive the result of the updateInternalBlueprints operation.
|
|
483
|
+
* @callback module:api/BlueprintsApi~updateInternalBlueprintsCallback
|
|
484
|
+
* @param {String} error Error message, if any.
|
|
485
|
+
* @param {module:model/BlueprintWithFlow} data The data returned by the service call.
|
|
486
|
+
* @param {String} response The complete HTTP response.
|
|
487
|
+
*/
|
|
488
|
+
|
|
489
|
+
/**
|
|
490
|
+
* Update an internal blueprint
|
|
491
|
+
* Updates an existing internal (custom) blueprint for the current tenant. Requires BLUEPRINT permission.
|
|
492
|
+
* @param {String} id The id of the internal blueprint to update
|
|
493
|
+
* @param {String} tenant
|
|
494
|
+
* @param {module:model/BlueprintControllerApiBlueprintItemWithSource} blueprintControllerApiBlueprintItemWithSource The new internal blueprint for update
|
|
495
|
+
* @param {module:api/BlueprintsApi~updateInternalBlueprintsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
496
|
+
* data is of type: {@link module:model/BlueprintWithFlow}
|
|
497
|
+
*/
|
|
498
|
+
}, {
|
|
499
|
+
key: "updateInternalBlueprints",
|
|
500
|
+
value: function updateInternalBlueprints(id, tenant, blueprintControllerApiBlueprintItemWithSource, callback) {
|
|
501
|
+
var postBody = blueprintControllerApiBlueprintItemWithSource;
|
|
502
|
+
// verify the required parameter 'id' is set
|
|
503
|
+
if (id === undefined || id === null) {
|
|
504
|
+
throw new Error("Missing the required parameter 'id' when calling updateInternalBlueprints");
|
|
505
|
+
}
|
|
506
|
+
// verify the required parameter 'tenant' is set
|
|
507
|
+
if (tenant === undefined || tenant === null) {
|
|
508
|
+
throw new Error("Missing the required parameter 'tenant' when calling updateInternalBlueprints");
|
|
509
|
+
}
|
|
510
|
+
// verify the required parameter 'blueprintControllerApiBlueprintItemWithSource' is set
|
|
511
|
+
if (blueprintControllerApiBlueprintItemWithSource === undefined || blueprintControllerApiBlueprintItemWithSource === null) {
|
|
512
|
+
throw new Error("Missing the required parameter 'blueprintControllerApiBlueprintItemWithSource' when calling updateInternalBlueprints");
|
|
513
|
+
}
|
|
514
|
+
var pathParams = {
|
|
515
|
+
'id': id,
|
|
516
|
+
'tenant': tenant
|
|
517
|
+
};
|
|
518
|
+
var queryParams = {};
|
|
519
|
+
var headerParams = {};
|
|
520
|
+
var formParams = {};
|
|
521
|
+
var authNames = [];
|
|
522
|
+
var contentTypes = ['application/json'];
|
|
523
|
+
var accepts = ['application/json'];
|
|
524
|
+
var returnType = _BlueprintWithFlow["default"];
|
|
525
|
+
return this.apiClient.callApi('/api/v1/{tenant}/blueprints/custom/{id}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
526
|
+
}
|
|
527
|
+
}]);
|
|
528
|
+
}();
|
|
@@ -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
|
+
* Cluster service.
|
|
28
|
+
* @module api/ClusterApi
|
|
29
|
+
* @version v0.24.0
|
|
30
|
+
*/
|
|
31
|
+
var ClusterApi = exports["default"] = /*#__PURE__*/function () {
|
|
32
|
+
/**
|
|
33
|
+
* Constructs a new ClusterApi.
|
|
34
|
+
* @alias module:api/ClusterApi
|
|
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 ClusterApi(apiClient) {
|
|
40
|
+
_classCallCheck(this, ClusterApi);
|
|
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/ClusterApi~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/ClusterApi~enterMaintenanceCallback} callback The callback function, accepting three arguments: error, data, response
|
|
56
|
+
*/
|
|
57
|
+
return _createClass(ClusterApi, [{
|
|
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/ClusterApi~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/ClusterApi~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
|
+
}();
|