@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,239 @@
|
|
|
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 _AssertionResult = _interopRequireDefault(require("./AssertionResult"));
|
|
9
|
+
var _AssertionRunError = _interopRequireDefault(require("./AssertionRunError"));
|
|
10
|
+
var _Fixtures = _interopRequireDefault(require("./Fixtures"));
|
|
11
|
+
var _TestState = _interopRequireDefault(require("./TestState"));
|
|
12
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
13
|
+
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); }
|
|
14
|
+
function _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
|
|
15
|
+
function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
|
|
16
|
+
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
17
|
+
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
18
|
+
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); } }
|
|
19
|
+
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
20
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
21
|
+
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); } /**
|
|
22
|
+
* Kestra EE
|
|
23
|
+
* 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.
|
|
24
|
+
*
|
|
25
|
+
* The version of the OpenAPI document: v1
|
|
26
|
+
*
|
|
27
|
+
*
|
|
28
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
29
|
+
* https://openapi-generator.tech
|
|
30
|
+
* Do not edit the class manually.
|
|
31
|
+
*
|
|
32
|
+
*/
|
|
33
|
+
/**
|
|
34
|
+
* The UnitTestResult model module.
|
|
35
|
+
* @module model/UnitTestResult
|
|
36
|
+
* @version v0.24.0
|
|
37
|
+
*/
|
|
38
|
+
var UnitTestResult = /*#__PURE__*/function () {
|
|
39
|
+
/**
|
|
40
|
+
* Constructs a new <code>UnitTestResult</code>.
|
|
41
|
+
* @alias module:model/UnitTestResult
|
|
42
|
+
* @param testId {String}
|
|
43
|
+
* @param testType {String}
|
|
44
|
+
* @param state {module:model/TestState}
|
|
45
|
+
* @param assertionResults {Array.<module:model/AssertionResult>}
|
|
46
|
+
* @param errors {Array.<module:model/AssertionRunError>}
|
|
47
|
+
*/
|
|
48
|
+
function UnitTestResult(testId, testType, state, assertionResults, errors) {
|
|
49
|
+
_classCallCheck(this, UnitTestResult);
|
|
50
|
+
UnitTestResult.initialize(this, testId, testType, state, assertionResults, errors);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* Initializes the fields of this object.
|
|
55
|
+
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
|
56
|
+
* Only for internal use.
|
|
57
|
+
*/
|
|
58
|
+
return _createClass(UnitTestResult, null, [{
|
|
59
|
+
key: "initialize",
|
|
60
|
+
value: function initialize(obj, testId, testType, state, assertionResults, errors) {
|
|
61
|
+
obj['testId'] = testId;
|
|
62
|
+
obj['testType'] = testType;
|
|
63
|
+
obj['state'] = state;
|
|
64
|
+
obj['assertionResults'] = assertionResults;
|
|
65
|
+
obj['errors'] = errors;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* Constructs a <code>UnitTestResult</code> from a plain JavaScript object, optionally creating a new instance.
|
|
70
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
71
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
72
|
+
* @param {module:model/UnitTestResult} obj Optional instance to populate.
|
|
73
|
+
* @return {module:model/UnitTestResult} The populated <code>UnitTestResult</code> instance.
|
|
74
|
+
*/
|
|
75
|
+
}, {
|
|
76
|
+
key: "constructFromObject",
|
|
77
|
+
value: function constructFromObject(data, obj) {
|
|
78
|
+
if (data) {
|
|
79
|
+
obj = obj || new UnitTestResult();
|
|
80
|
+
if (data.hasOwnProperty('testId')) {
|
|
81
|
+
obj['testId'] = _ApiClient["default"].convertToType(data['testId'], 'String');
|
|
82
|
+
}
|
|
83
|
+
if (data.hasOwnProperty('testType')) {
|
|
84
|
+
obj['testType'] = _ApiClient["default"].convertToType(data['testType'], 'String');
|
|
85
|
+
}
|
|
86
|
+
if (data.hasOwnProperty('executionId')) {
|
|
87
|
+
obj['executionId'] = _ApiClient["default"].convertToType(data['executionId'], 'String');
|
|
88
|
+
}
|
|
89
|
+
if (data.hasOwnProperty('url')) {
|
|
90
|
+
obj['url'] = _ApiClient["default"].convertToType(data['url'], 'String');
|
|
91
|
+
}
|
|
92
|
+
if (data.hasOwnProperty('state')) {
|
|
93
|
+
obj['state'] = _TestState["default"].constructFromObject(data['state']);
|
|
94
|
+
}
|
|
95
|
+
if (data.hasOwnProperty('assertionResults')) {
|
|
96
|
+
obj['assertionResults'] = _ApiClient["default"].convertToType(data['assertionResults'], [_AssertionResult["default"]]);
|
|
97
|
+
}
|
|
98
|
+
if (data.hasOwnProperty('errors')) {
|
|
99
|
+
obj['errors'] = _ApiClient["default"].convertToType(data['errors'], [_AssertionRunError["default"]]);
|
|
100
|
+
}
|
|
101
|
+
if (data.hasOwnProperty('fixtures')) {
|
|
102
|
+
obj['fixtures'] = _Fixtures["default"].constructFromObject(data['fixtures']);
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
return obj;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
/**
|
|
109
|
+
* Validates the JSON data with respect to <code>UnitTestResult</code>.
|
|
110
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
111
|
+
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>UnitTestResult</code>.
|
|
112
|
+
*/
|
|
113
|
+
}, {
|
|
114
|
+
key: "validateJSON",
|
|
115
|
+
value: function validateJSON(data) {
|
|
116
|
+
// check to make sure all required properties are present in the JSON string
|
|
117
|
+
var _iterator = _createForOfIteratorHelper(UnitTestResult.RequiredProperties),
|
|
118
|
+
_step;
|
|
119
|
+
try {
|
|
120
|
+
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
121
|
+
var property = _step.value;
|
|
122
|
+
if (!data.hasOwnProperty(property)) {
|
|
123
|
+
throw new Error("The required field `" + property + "` is not found in the JSON data: " + JSON.stringify(data));
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
// ensure the json data is a string
|
|
127
|
+
} catch (err) {
|
|
128
|
+
_iterator.e(err);
|
|
129
|
+
} finally {
|
|
130
|
+
_iterator.f();
|
|
131
|
+
}
|
|
132
|
+
if (data['testId'] && !(typeof data['testId'] === 'string' || data['testId'] instanceof String)) {
|
|
133
|
+
throw new Error("Expected the field `testId` to be a primitive type in the JSON string but got " + data['testId']);
|
|
134
|
+
}
|
|
135
|
+
// ensure the json data is a string
|
|
136
|
+
if (data['testType'] && !(typeof data['testType'] === 'string' || data['testType'] instanceof String)) {
|
|
137
|
+
throw new Error("Expected the field `testType` to be a primitive type in the JSON string but got " + data['testType']);
|
|
138
|
+
}
|
|
139
|
+
// ensure the json data is a string
|
|
140
|
+
if (data['executionId'] && !(typeof data['executionId'] === 'string' || data['executionId'] instanceof String)) {
|
|
141
|
+
throw new Error("Expected the field `executionId` to be a primitive type in the JSON string but got " + data['executionId']);
|
|
142
|
+
}
|
|
143
|
+
// ensure the json data is a string
|
|
144
|
+
if (data['url'] && !(typeof data['url'] === 'string' || data['url'] instanceof String)) {
|
|
145
|
+
throw new Error("Expected the field `url` to be a primitive type in the JSON string but got " + data['url']);
|
|
146
|
+
}
|
|
147
|
+
if (data['assertionResults']) {
|
|
148
|
+
// data not null
|
|
149
|
+
// ensure the json data is an array
|
|
150
|
+
if (!Array.isArray(data['assertionResults'])) {
|
|
151
|
+
throw new Error("Expected the field `assertionResults` to be an array in the JSON data but got " + data['assertionResults']);
|
|
152
|
+
}
|
|
153
|
+
// validate the optional field `assertionResults` (array)
|
|
154
|
+
var _iterator2 = _createForOfIteratorHelper(data['assertionResults']),
|
|
155
|
+
_step2;
|
|
156
|
+
try {
|
|
157
|
+
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
|
|
158
|
+
var item = _step2.value;
|
|
159
|
+
_AssertionResult["default"].validateJSON(item);
|
|
160
|
+
}
|
|
161
|
+
} catch (err) {
|
|
162
|
+
_iterator2.e(err);
|
|
163
|
+
} finally {
|
|
164
|
+
_iterator2.f();
|
|
165
|
+
}
|
|
166
|
+
;
|
|
167
|
+
}
|
|
168
|
+
if (data['errors']) {
|
|
169
|
+
// data not null
|
|
170
|
+
// ensure the json data is an array
|
|
171
|
+
if (!Array.isArray(data['errors'])) {
|
|
172
|
+
throw new Error("Expected the field `errors` to be an array in the JSON data but got " + data['errors']);
|
|
173
|
+
}
|
|
174
|
+
// validate the optional field `errors` (array)
|
|
175
|
+
var _iterator3 = _createForOfIteratorHelper(data['errors']),
|
|
176
|
+
_step3;
|
|
177
|
+
try {
|
|
178
|
+
for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
|
|
179
|
+
var _item = _step3.value;
|
|
180
|
+
_AssertionRunError["default"].validateJSON(_item);
|
|
181
|
+
}
|
|
182
|
+
} catch (err) {
|
|
183
|
+
_iterator3.e(err);
|
|
184
|
+
} finally {
|
|
185
|
+
_iterator3.f();
|
|
186
|
+
}
|
|
187
|
+
;
|
|
188
|
+
}
|
|
189
|
+
// validate the optional field `fixtures`
|
|
190
|
+
if (data['fixtures']) {
|
|
191
|
+
// data not null
|
|
192
|
+
_Fixtures["default"].validateJSON(data['fixtures']);
|
|
193
|
+
}
|
|
194
|
+
return true;
|
|
195
|
+
}
|
|
196
|
+
}]);
|
|
197
|
+
}();
|
|
198
|
+
UnitTestResult.RequiredProperties = ["testId", "testType", "state", "assertionResults", "errors"];
|
|
199
|
+
|
|
200
|
+
/**
|
|
201
|
+
* @member {String} testId
|
|
202
|
+
*/
|
|
203
|
+
UnitTestResult.prototype['testId'] = undefined;
|
|
204
|
+
|
|
205
|
+
/**
|
|
206
|
+
* @member {String} testType
|
|
207
|
+
*/
|
|
208
|
+
UnitTestResult.prototype['testType'] = undefined;
|
|
209
|
+
|
|
210
|
+
/**
|
|
211
|
+
* @member {String} executionId
|
|
212
|
+
*/
|
|
213
|
+
UnitTestResult.prototype['executionId'] = undefined;
|
|
214
|
+
|
|
215
|
+
/**
|
|
216
|
+
* @member {String} url
|
|
217
|
+
*/
|
|
218
|
+
UnitTestResult.prototype['url'] = undefined;
|
|
219
|
+
|
|
220
|
+
/**
|
|
221
|
+
* @member {module:model/TestState} state
|
|
222
|
+
*/
|
|
223
|
+
UnitTestResult.prototype['state'] = undefined;
|
|
224
|
+
|
|
225
|
+
/**
|
|
226
|
+
* @member {Array.<module:model/AssertionResult>} assertionResults
|
|
227
|
+
*/
|
|
228
|
+
UnitTestResult.prototype['assertionResults'] = undefined;
|
|
229
|
+
|
|
230
|
+
/**
|
|
231
|
+
* @member {Array.<module:model/AssertionRunError>} errors
|
|
232
|
+
*/
|
|
233
|
+
UnitTestResult.prototype['errors'] = undefined;
|
|
234
|
+
|
|
235
|
+
/**
|
|
236
|
+
* @member {module:model/Fixtures} fixtures
|
|
237
|
+
*/
|
|
238
|
+
UnitTestResult.prototype['fixtures'] = undefined;
|
|
239
|
+
var _default = exports["default"] = UnitTestResult;
|
|
@@ -0,0 +1,261 @@
|
|
|
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 _AbstractTrigger = _interopRequireDefault(require("./AbstractTrigger"));
|
|
9
|
+
var _Concurrency = _interopRequireDefault(require("./Concurrency"));
|
|
10
|
+
var _Flow = _interopRequireDefault(require("./Flow"));
|
|
11
|
+
var _FlowAllOfLabels = _interopRequireDefault(require("./FlowAllOfLabels"));
|
|
12
|
+
var _FlowWithSource = _interopRequireDefault(require("./FlowWithSource"));
|
|
13
|
+
var _InputObject = _interopRequireDefault(require("./InputObject"));
|
|
14
|
+
var _Listener = _interopRequireDefault(require("./Listener"));
|
|
15
|
+
var _Output = _interopRequireDefault(require("./Output"));
|
|
16
|
+
var _PluginDefault = _interopRequireDefault(require("./PluginDefault"));
|
|
17
|
+
var _SLA = _interopRequireDefault(require("./SLA"));
|
|
18
|
+
var _Task = _interopRequireDefault(require("./Task"));
|
|
19
|
+
var _WorkerGroup = _interopRequireDefault(require("./WorkerGroup"));
|
|
20
|
+
var _UpdateFlow200Response;
|
|
21
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
22
|
+
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); }
|
|
23
|
+
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
24
|
+
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); } }
|
|
25
|
+
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
26
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
27
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
28
|
+
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); } /**
|
|
29
|
+
* Kestra EE
|
|
30
|
+
* 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.
|
|
31
|
+
*
|
|
32
|
+
* The version of the OpenAPI document: v1
|
|
33
|
+
*
|
|
34
|
+
*
|
|
35
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
36
|
+
* https://openapi-generator.tech
|
|
37
|
+
* Do not edit the class manually.
|
|
38
|
+
*
|
|
39
|
+
*/
|
|
40
|
+
/**
|
|
41
|
+
* The UpdateFlow200Response model module.
|
|
42
|
+
* @module model/UpdateFlow200Response
|
|
43
|
+
* @version v0.24.0
|
|
44
|
+
*/
|
|
45
|
+
var UpdateFlow200Response = /*#__PURE__*/function () {
|
|
46
|
+
/**
|
|
47
|
+
* Constructs a new <code>UpdateFlow200Response</code>.
|
|
48
|
+
* @alias module:model/UpdateFlow200Response
|
|
49
|
+
* @param {(module:model/Flow|module:model/FlowWithSource)} instance The actual instance to initialize UpdateFlow200Response.
|
|
50
|
+
*/
|
|
51
|
+
function UpdateFlow200Response() {
|
|
52
|
+
var instance = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;
|
|
53
|
+
_classCallCheck(this, UpdateFlow200Response);
|
|
54
|
+
/**
|
|
55
|
+
* Returns the JSON representation of the actual instance.
|
|
56
|
+
* @return {string}
|
|
57
|
+
*/
|
|
58
|
+
_defineProperty(this, "toJSON", function () {
|
|
59
|
+
return this.getActualInstance();
|
|
60
|
+
});
|
|
61
|
+
if (instance === null) {
|
|
62
|
+
this.actualInstance = null;
|
|
63
|
+
return;
|
|
64
|
+
}
|
|
65
|
+
var match = 0;
|
|
66
|
+
var errorMessages = [];
|
|
67
|
+
try {
|
|
68
|
+
if (typeof instance === "FlowWithSource") {
|
|
69
|
+
this.actualInstance = instance;
|
|
70
|
+
} else {
|
|
71
|
+
// plain JS object
|
|
72
|
+
// validate the object
|
|
73
|
+
_FlowWithSource["default"].validateJSON(instance); // throw an exception if no match
|
|
74
|
+
// create FlowWithSource from JS object
|
|
75
|
+
this.actualInstance = _FlowWithSource["default"].constructFromObject(instance);
|
|
76
|
+
}
|
|
77
|
+
match++;
|
|
78
|
+
} catch (err) {
|
|
79
|
+
// json data failed to deserialize into FlowWithSource
|
|
80
|
+
errorMessages.push("Failed to construct FlowWithSource: " + err);
|
|
81
|
+
}
|
|
82
|
+
try {
|
|
83
|
+
if (typeof instance === "Flow") {
|
|
84
|
+
this.actualInstance = instance;
|
|
85
|
+
} else {
|
|
86
|
+
// plain JS object
|
|
87
|
+
// validate the object
|
|
88
|
+
_Flow["default"].validateJSON(instance); // throw an exception if no match
|
|
89
|
+
// create Flow from JS object
|
|
90
|
+
this.actualInstance = _Flow["default"].constructFromObject(instance);
|
|
91
|
+
}
|
|
92
|
+
match++;
|
|
93
|
+
} catch (err) {
|
|
94
|
+
// json data failed to deserialize into Flow
|
|
95
|
+
errorMessages.push("Failed to construct Flow: " + err);
|
|
96
|
+
}
|
|
97
|
+
if (match > 1) {
|
|
98
|
+
throw new Error("Multiple matches found constructing `UpdateFlow200Response` with oneOf schemas Flow, FlowWithSource. Input: " + JSON.stringify(instance));
|
|
99
|
+
} else if (match === 0) {
|
|
100
|
+
this.actualInstance = null; // clear the actual instance in case there are multiple matches
|
|
101
|
+
throw new Error("No match found constructing `UpdateFlow200Response` with oneOf schemas Flow, FlowWithSource. Details: " + errorMessages.join(", "));
|
|
102
|
+
} else {// only 1 match
|
|
103
|
+
// the input is valid
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* Constructs a <code>UpdateFlow200Response</code> from a plain JavaScript object, optionally creating a new instance.
|
|
109
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
110
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
111
|
+
* @param {module:model/UpdateFlow200Response} obj Optional instance to populate.
|
|
112
|
+
* @return {module:model/UpdateFlow200Response} The populated <code>UpdateFlow200Response</code> instance.
|
|
113
|
+
*/
|
|
114
|
+
return _createClass(UpdateFlow200Response, [{
|
|
115
|
+
key: "getActualInstance",
|
|
116
|
+
value:
|
|
117
|
+
/**
|
|
118
|
+
* Gets the actual instance, which can be <code>Flow</code>, <code>FlowWithSource</code>.
|
|
119
|
+
* @return {(module:model/Flow|module:model/FlowWithSource)} The actual instance.
|
|
120
|
+
*/
|
|
121
|
+
function getActualInstance() {
|
|
122
|
+
return this.actualInstance;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
/**
|
|
126
|
+
* Sets the actual instance, which can be <code>Flow</code>, <code>FlowWithSource</code>.
|
|
127
|
+
* @param {(module:model/Flow|module:model/FlowWithSource)} obj The actual instance.
|
|
128
|
+
*/
|
|
129
|
+
}, {
|
|
130
|
+
key: "setActualInstance",
|
|
131
|
+
value: function setActualInstance(obj) {
|
|
132
|
+
this.actualInstance = UpdateFlow200Response.constructFromObject(obj).getActualInstance();
|
|
133
|
+
}
|
|
134
|
+
}], [{
|
|
135
|
+
key: "constructFromObject",
|
|
136
|
+
value: function constructFromObject(data, obj) {
|
|
137
|
+
return new UpdateFlow200Response(data);
|
|
138
|
+
}
|
|
139
|
+
}]);
|
|
140
|
+
}();
|
|
141
|
+
/**
|
|
142
|
+
* @member {String} id
|
|
143
|
+
*/
|
|
144
|
+
_UpdateFlow200Response = UpdateFlow200Response;
|
|
145
|
+
/**
|
|
146
|
+
* Create an instance of UpdateFlow200Response from a JSON string.
|
|
147
|
+
* @param {string} json_string JSON string.
|
|
148
|
+
* @return {module:model/UpdateFlow200Response} An instance of UpdateFlow200Response.
|
|
149
|
+
*/
|
|
150
|
+
_defineProperty(UpdateFlow200Response, "fromJSON", function (json_string) {
|
|
151
|
+
return _UpdateFlow200Response.constructFromObject(JSON.parse(json_string));
|
|
152
|
+
});
|
|
153
|
+
UpdateFlow200Response.prototype['id'] = undefined;
|
|
154
|
+
|
|
155
|
+
/**
|
|
156
|
+
* @member {String} namespace
|
|
157
|
+
*/
|
|
158
|
+
UpdateFlow200Response.prototype['namespace'] = undefined;
|
|
159
|
+
|
|
160
|
+
/**
|
|
161
|
+
* @member {Number} revision
|
|
162
|
+
*/
|
|
163
|
+
UpdateFlow200Response.prototype['revision'] = undefined;
|
|
164
|
+
|
|
165
|
+
/**
|
|
166
|
+
* @member {Array.<module:model/InputObject>} inputs
|
|
167
|
+
*/
|
|
168
|
+
UpdateFlow200Response.prototype['inputs'] = undefined;
|
|
169
|
+
|
|
170
|
+
/**
|
|
171
|
+
* Output values make information about the execution of your Flow available and expose for other Kestra flows to use. Output values are similar to return values in programming languages.
|
|
172
|
+
* @member {Array.<module:model/Output>} outputs
|
|
173
|
+
*/
|
|
174
|
+
UpdateFlow200Response.prototype['outputs'] = undefined;
|
|
175
|
+
|
|
176
|
+
/**
|
|
177
|
+
* @member {Boolean} disabled
|
|
178
|
+
*/
|
|
179
|
+
UpdateFlow200Response.prototype['disabled'] = undefined;
|
|
180
|
+
|
|
181
|
+
/**
|
|
182
|
+
* @member {module:model/FlowAllOfLabels} labels
|
|
183
|
+
*/
|
|
184
|
+
UpdateFlow200Response.prototype['labels'] = undefined;
|
|
185
|
+
|
|
186
|
+
/**
|
|
187
|
+
* @member {Object.<String, Object>} variables
|
|
188
|
+
*/
|
|
189
|
+
UpdateFlow200Response.prototype['variables'] = undefined;
|
|
190
|
+
|
|
191
|
+
/**
|
|
192
|
+
* @member {module:model/WorkerGroup} workerGroup
|
|
193
|
+
*/
|
|
194
|
+
UpdateFlow200Response.prototype['workerGroup'] = undefined;
|
|
195
|
+
|
|
196
|
+
/**
|
|
197
|
+
* @member {Boolean} deleted
|
|
198
|
+
*/
|
|
199
|
+
UpdateFlow200Response.prototype['deleted'] = undefined;
|
|
200
|
+
|
|
201
|
+
/**
|
|
202
|
+
* @member {Array.<module:model/Task>} finally
|
|
203
|
+
*/
|
|
204
|
+
UpdateFlow200Response.prototype['finally'] = undefined;
|
|
205
|
+
|
|
206
|
+
/**
|
|
207
|
+
* @member {Array.<module:model/PluginDefault>} taskDefaults
|
|
208
|
+
*/
|
|
209
|
+
UpdateFlow200Response.prototype['taskDefaults'] = undefined;
|
|
210
|
+
|
|
211
|
+
/**
|
|
212
|
+
* @member {String} description
|
|
213
|
+
*/
|
|
214
|
+
UpdateFlow200Response.prototype['description'] = undefined;
|
|
215
|
+
|
|
216
|
+
/**
|
|
217
|
+
* @member {Array.<module:model/Task>} tasks
|
|
218
|
+
*/
|
|
219
|
+
UpdateFlow200Response.prototype['tasks'] = undefined;
|
|
220
|
+
|
|
221
|
+
/**
|
|
222
|
+
* @member {Array.<module:model/Task>} errors
|
|
223
|
+
*/
|
|
224
|
+
UpdateFlow200Response.prototype['errors'] = undefined;
|
|
225
|
+
|
|
226
|
+
/**
|
|
227
|
+
* @member {Array.<module:model/Listener>} listeners
|
|
228
|
+
*/
|
|
229
|
+
UpdateFlow200Response.prototype['listeners'] = undefined;
|
|
230
|
+
|
|
231
|
+
/**
|
|
232
|
+
* @member {Array.<module:model/Task>} afterExecution
|
|
233
|
+
*/
|
|
234
|
+
UpdateFlow200Response.prototype['afterExecution'] = undefined;
|
|
235
|
+
|
|
236
|
+
/**
|
|
237
|
+
* @member {Array.<module:model/AbstractTrigger>} triggers
|
|
238
|
+
*/
|
|
239
|
+
UpdateFlow200Response.prototype['triggers'] = undefined;
|
|
240
|
+
|
|
241
|
+
/**
|
|
242
|
+
* @member {Array.<module:model/PluginDefault>} pluginDefaults
|
|
243
|
+
*/
|
|
244
|
+
UpdateFlow200Response.prototype['pluginDefaults'] = undefined;
|
|
245
|
+
|
|
246
|
+
/**
|
|
247
|
+
* @member {module:model/Concurrency} concurrency
|
|
248
|
+
*/
|
|
249
|
+
UpdateFlow200Response.prototype['concurrency'] = undefined;
|
|
250
|
+
|
|
251
|
+
/**
|
|
252
|
+
* @member {Object} retry
|
|
253
|
+
*/
|
|
254
|
+
UpdateFlow200Response.prototype['retry'] = undefined;
|
|
255
|
+
|
|
256
|
+
/**
|
|
257
|
+
* @member {Array.<module:model/SLA>} sla
|
|
258
|
+
*/
|
|
259
|
+
UpdateFlow200Response.prototype['sla'] = undefined;
|
|
260
|
+
UpdateFlow200Response.OneOf = ["Flow", "FlowWithSource"];
|
|
261
|
+
var _default = exports["default"] = UpdateFlow200Response;
|
|
@@ -0,0 +1,141 @@
|
|
|
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 _Flow = _interopRequireDefault(require("./Flow"));
|
|
9
|
+
var _FlowInterface = _interopRequireDefault(require("./FlowInterface"));
|
|
10
|
+
var _UpdateFlowsInNamespaceFromJson200Response;
|
|
11
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
12
|
+
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); }
|
|
13
|
+
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
14
|
+
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); } }
|
|
15
|
+
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
16
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
17
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
18
|
+
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); } /**
|
|
19
|
+
* Kestra EE
|
|
20
|
+
* 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.
|
|
21
|
+
*
|
|
22
|
+
* The version of the OpenAPI document: v1
|
|
23
|
+
*
|
|
24
|
+
*
|
|
25
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
26
|
+
* https://openapi-generator.tech
|
|
27
|
+
* Do not edit the class manually.
|
|
28
|
+
*
|
|
29
|
+
*/
|
|
30
|
+
/**
|
|
31
|
+
* The UpdateFlowsInNamespaceFromJson200Response model module.
|
|
32
|
+
* @module model/UpdateFlowsInNamespaceFromJson200Response
|
|
33
|
+
* @version v0.24.0
|
|
34
|
+
*/
|
|
35
|
+
var UpdateFlowsInNamespaceFromJson200Response = /*#__PURE__*/function () {
|
|
36
|
+
/**
|
|
37
|
+
* Constructs a new <code>UpdateFlowsInNamespaceFromJson200Response</code>.
|
|
38
|
+
* @alias module:model/UpdateFlowsInNamespaceFromJson200Response
|
|
39
|
+
* @param {(module:model/[FlowInterface]|module:model/[Flow])} instance The actual instance to initialize UpdateFlowsInNamespaceFromJson200Response.
|
|
40
|
+
*/
|
|
41
|
+
function UpdateFlowsInNamespaceFromJson200Response() {
|
|
42
|
+
var instance = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;
|
|
43
|
+
_classCallCheck(this, UpdateFlowsInNamespaceFromJson200Response);
|
|
44
|
+
/**
|
|
45
|
+
* Returns the JSON representation of the actual instance.
|
|
46
|
+
* @return {string}
|
|
47
|
+
*/
|
|
48
|
+
_defineProperty(this, "toJSON", function () {
|
|
49
|
+
return this.getActualInstance();
|
|
50
|
+
});
|
|
51
|
+
if (instance === null) {
|
|
52
|
+
this.actualInstance = null;
|
|
53
|
+
return;
|
|
54
|
+
}
|
|
55
|
+
var match = 0;
|
|
56
|
+
var errorMessages = [];
|
|
57
|
+
try {
|
|
58
|
+
if (typeof instance === "[Flow]") {
|
|
59
|
+
this.actualInstance = instance;
|
|
60
|
+
} else {
|
|
61
|
+
// plain JS object
|
|
62
|
+
// validate the object
|
|
63
|
+
[_Flow["default"]].validateJSON(instance); // throw an exception if no match
|
|
64
|
+
// create [Flow] from JS object
|
|
65
|
+
this.actualInstance = [_Flow["default"]].constructFromObject(instance);
|
|
66
|
+
}
|
|
67
|
+
match++;
|
|
68
|
+
} catch (err) {
|
|
69
|
+
// json data failed to deserialize into [Flow]
|
|
70
|
+
errorMessages.push("Failed to construct [Flow]: " + err);
|
|
71
|
+
}
|
|
72
|
+
try {
|
|
73
|
+
if (typeof instance === "[FlowInterface]") {
|
|
74
|
+
this.actualInstance = instance;
|
|
75
|
+
} else {
|
|
76
|
+
// plain JS object
|
|
77
|
+
// validate the object
|
|
78
|
+
[_FlowInterface["default"]].validateJSON(instance); // throw an exception if no match
|
|
79
|
+
// create [FlowInterface] from JS object
|
|
80
|
+
this.actualInstance = [_FlowInterface["default"]].constructFromObject(instance);
|
|
81
|
+
}
|
|
82
|
+
match++;
|
|
83
|
+
} catch (err) {
|
|
84
|
+
// json data failed to deserialize into [FlowInterface]
|
|
85
|
+
errorMessages.push("Failed to construct [FlowInterface]: " + err);
|
|
86
|
+
}
|
|
87
|
+
if (match > 1) {
|
|
88
|
+
throw new Error("Multiple matches found constructing `UpdateFlowsInNamespaceFromJson200Response` with oneOf schemas [FlowInterface], [Flow]. Input: " + JSON.stringify(instance));
|
|
89
|
+
} else if (match === 0) {
|
|
90
|
+
this.actualInstance = null; // clear the actual instance in case there are multiple matches
|
|
91
|
+
throw new Error("No match found constructing `UpdateFlowsInNamespaceFromJson200Response` with oneOf schemas [FlowInterface], [Flow]. Details: " + errorMessages.join(", "));
|
|
92
|
+
} else {// only 1 match
|
|
93
|
+
// the input is valid
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
/**
|
|
98
|
+
* Constructs a <code>UpdateFlowsInNamespaceFromJson200Response</code> from a plain JavaScript object, optionally creating a new instance.
|
|
99
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
100
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
101
|
+
* @param {module:model/UpdateFlowsInNamespaceFromJson200Response} obj Optional instance to populate.
|
|
102
|
+
* @return {module:model/UpdateFlowsInNamespaceFromJson200Response} The populated <code>UpdateFlowsInNamespaceFromJson200Response</code> instance.
|
|
103
|
+
*/
|
|
104
|
+
return _createClass(UpdateFlowsInNamespaceFromJson200Response, [{
|
|
105
|
+
key: "getActualInstance",
|
|
106
|
+
value:
|
|
107
|
+
/**
|
|
108
|
+
* Gets the actual instance, which can be <code>[FlowInterface]</code>, <code>[Flow]</code>.
|
|
109
|
+
* @return {(module:model/[FlowInterface]|module:model/[Flow])} The actual instance.
|
|
110
|
+
*/
|
|
111
|
+
function getActualInstance() {
|
|
112
|
+
return this.actualInstance;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
* Sets the actual instance, which can be <code>[FlowInterface]</code>, <code>[Flow]</code>.
|
|
117
|
+
* @param {(module:model/[FlowInterface]|module:model/[Flow])} obj The actual instance.
|
|
118
|
+
*/
|
|
119
|
+
}, {
|
|
120
|
+
key: "setActualInstance",
|
|
121
|
+
value: function setActualInstance(obj) {
|
|
122
|
+
this.actualInstance = UpdateFlowsInNamespaceFromJson200Response.constructFromObject(obj).getActualInstance();
|
|
123
|
+
}
|
|
124
|
+
}], [{
|
|
125
|
+
key: "constructFromObject",
|
|
126
|
+
value: function constructFromObject(data, obj) {
|
|
127
|
+
return new UpdateFlowsInNamespaceFromJson200Response(data);
|
|
128
|
+
}
|
|
129
|
+
}]);
|
|
130
|
+
}();
|
|
131
|
+
_UpdateFlowsInNamespaceFromJson200Response = UpdateFlowsInNamespaceFromJson200Response;
|
|
132
|
+
/**
|
|
133
|
+
* Create an instance of UpdateFlowsInNamespaceFromJson200Response from a JSON string.
|
|
134
|
+
* @param {string} json_string JSON string.
|
|
135
|
+
* @return {module:model/UpdateFlowsInNamespaceFromJson200Response} An instance of UpdateFlowsInNamespaceFromJson200Response.
|
|
136
|
+
*/
|
|
137
|
+
_defineProperty(UpdateFlowsInNamespaceFromJson200Response, "fromJSON", function (json_string) {
|
|
138
|
+
return _UpdateFlowsInNamespaceFromJson200Response.constructFromObject(JSON.parse(json_string));
|
|
139
|
+
});
|
|
140
|
+
UpdateFlowsInNamespaceFromJson200Response.OneOf = ["[FlowInterface]", "[Flow]"];
|
|
141
|
+
var _default = exports["default"] = UpdateFlowsInNamespaceFromJson200Response;
|