@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,325 @@
|
|
|
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 _PropertyBoolean = _interopRequireDefault(require("./PropertyBoolean"));
|
|
9
|
+
var _PropertyDouble = _interopRequireDefault(require("./PropertyDouble"));
|
|
10
|
+
var _PropertyListString = _interopRequireDefault(require("./PropertyListString"));
|
|
11
|
+
var _PropertyObject = _interopRequireDefault(require("./PropertyObject"));
|
|
12
|
+
var _PropertyString = _interopRequireDefault(require("./PropertyString"));
|
|
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 _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; } } }; }
|
|
16
|
+
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; } }
|
|
17
|
+
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; }
|
|
18
|
+
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
19
|
+
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); } }
|
|
20
|
+
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
21
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
22
|
+
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); } /**
|
|
23
|
+
* Kestra EE
|
|
24
|
+
* 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.
|
|
25
|
+
*
|
|
26
|
+
* The version of the OpenAPI document: v1
|
|
27
|
+
*
|
|
28
|
+
*
|
|
29
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
30
|
+
* https://openapi-generator.tech
|
|
31
|
+
* Do not edit the class manually.
|
|
32
|
+
*
|
|
33
|
+
*/
|
|
34
|
+
/**
|
|
35
|
+
* The Assertion model module.
|
|
36
|
+
* @module model/Assertion
|
|
37
|
+
* @version v0.24.0
|
|
38
|
+
*/
|
|
39
|
+
var Assertion = /*#__PURE__*/function () {
|
|
40
|
+
/**
|
|
41
|
+
* Constructs a new <code>Assertion</code>.
|
|
42
|
+
* @alias module:model/Assertion
|
|
43
|
+
* @param value {module:model/PropertyObject}
|
|
44
|
+
*/
|
|
45
|
+
function Assertion(value) {
|
|
46
|
+
_classCallCheck(this, Assertion);
|
|
47
|
+
Assertion.initialize(this, value);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* Initializes the fields of this object.
|
|
52
|
+
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
|
53
|
+
* Only for internal use.
|
|
54
|
+
*/
|
|
55
|
+
return _createClass(Assertion, null, [{
|
|
56
|
+
key: "initialize",
|
|
57
|
+
value: function initialize(obj, value) {
|
|
58
|
+
obj['value'] = value;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* Constructs a <code>Assertion</code> from a plain JavaScript object, optionally creating a new instance.
|
|
63
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
64
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
65
|
+
* @param {module:model/Assertion} obj Optional instance to populate.
|
|
66
|
+
* @return {module:model/Assertion} The populated <code>Assertion</code> instance.
|
|
67
|
+
*/
|
|
68
|
+
}, {
|
|
69
|
+
key: "constructFromObject",
|
|
70
|
+
value: function constructFromObject(data, obj) {
|
|
71
|
+
if (data) {
|
|
72
|
+
obj = obj || new Assertion();
|
|
73
|
+
if (data.hasOwnProperty('value')) {
|
|
74
|
+
obj['value'] = _PropertyObject["default"].constructFromObject(data['value']);
|
|
75
|
+
}
|
|
76
|
+
if (data.hasOwnProperty('taskId')) {
|
|
77
|
+
obj['taskId'] = _ApiClient["default"].convertToType(data['taskId'], 'String');
|
|
78
|
+
}
|
|
79
|
+
if (data.hasOwnProperty('errorMessage')) {
|
|
80
|
+
obj['errorMessage'] = _PropertyString["default"].constructFromObject(data['errorMessage']);
|
|
81
|
+
}
|
|
82
|
+
if (data.hasOwnProperty('description')) {
|
|
83
|
+
obj['description'] = _PropertyString["default"].constructFromObject(data['description']);
|
|
84
|
+
}
|
|
85
|
+
if (data.hasOwnProperty('endsWith')) {
|
|
86
|
+
obj['endsWith'] = _PropertyString["default"].constructFromObject(data['endsWith']);
|
|
87
|
+
}
|
|
88
|
+
if (data.hasOwnProperty('startsWith')) {
|
|
89
|
+
obj['startsWith'] = _PropertyString["default"].constructFromObject(data['startsWith']);
|
|
90
|
+
}
|
|
91
|
+
if (data.hasOwnProperty('contains')) {
|
|
92
|
+
obj['contains'] = _PropertyString["default"].constructFromObject(data['contains']);
|
|
93
|
+
}
|
|
94
|
+
if (data.hasOwnProperty('equalTo')) {
|
|
95
|
+
obj['equalTo'] = _PropertyObject["default"].constructFromObject(data['equalTo']);
|
|
96
|
+
}
|
|
97
|
+
if (data.hasOwnProperty('notEqualTo')) {
|
|
98
|
+
obj['notEqualTo'] = _PropertyObject["default"].constructFromObject(data['notEqualTo']);
|
|
99
|
+
}
|
|
100
|
+
if (data.hasOwnProperty('greaterThan')) {
|
|
101
|
+
obj['greaterThan'] = _PropertyDouble["default"].constructFromObject(data['greaterThan']);
|
|
102
|
+
}
|
|
103
|
+
if (data.hasOwnProperty('greaterThanOrEqualTo')) {
|
|
104
|
+
obj['greaterThanOrEqualTo'] = _PropertyDouble["default"].constructFromObject(data['greaterThanOrEqualTo']);
|
|
105
|
+
}
|
|
106
|
+
if (data.hasOwnProperty('lessThan')) {
|
|
107
|
+
obj['lessThan'] = _PropertyDouble["default"].constructFromObject(data['lessThan']);
|
|
108
|
+
}
|
|
109
|
+
if (data.hasOwnProperty('lessThanOrEqualTo')) {
|
|
110
|
+
obj['lessThanOrEqualTo'] = _PropertyDouble["default"].constructFromObject(data['lessThanOrEqualTo']);
|
|
111
|
+
}
|
|
112
|
+
if (data.hasOwnProperty('in')) {
|
|
113
|
+
obj['in'] = _PropertyListString["default"].constructFromObject(data['in']);
|
|
114
|
+
}
|
|
115
|
+
if (data.hasOwnProperty('notIn')) {
|
|
116
|
+
obj['notIn'] = _PropertyListString["default"].constructFromObject(data['notIn']);
|
|
117
|
+
}
|
|
118
|
+
if (data.hasOwnProperty('isNull')) {
|
|
119
|
+
obj['isNull'] = _PropertyBoolean["default"].constructFromObject(data['isNull']);
|
|
120
|
+
}
|
|
121
|
+
if (data.hasOwnProperty('isNotNull')) {
|
|
122
|
+
obj['isNotNull'] = _PropertyBoolean["default"].constructFromObject(data['isNotNull']);
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
return obj;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
/**
|
|
129
|
+
* Validates the JSON data with respect to <code>Assertion</code>.
|
|
130
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
131
|
+
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>Assertion</code>.
|
|
132
|
+
*/
|
|
133
|
+
}, {
|
|
134
|
+
key: "validateJSON",
|
|
135
|
+
value: function validateJSON(data) {
|
|
136
|
+
// check to make sure all required properties are present in the JSON string
|
|
137
|
+
var _iterator = _createForOfIteratorHelper(Assertion.RequiredProperties),
|
|
138
|
+
_step;
|
|
139
|
+
try {
|
|
140
|
+
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
141
|
+
var property = _step.value;
|
|
142
|
+
if (!data.hasOwnProperty(property)) {
|
|
143
|
+
throw new Error("The required field `" + property + "` is not found in the JSON data: " + JSON.stringify(data));
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
// validate the optional field `value`
|
|
147
|
+
} catch (err) {
|
|
148
|
+
_iterator.e(err);
|
|
149
|
+
} finally {
|
|
150
|
+
_iterator.f();
|
|
151
|
+
}
|
|
152
|
+
if (data['value']) {
|
|
153
|
+
// data not null
|
|
154
|
+
_PropertyObject["default"].validateJSON(data['value']);
|
|
155
|
+
}
|
|
156
|
+
// ensure the json data is a string
|
|
157
|
+
if (data['taskId'] && !(typeof data['taskId'] === 'string' || data['taskId'] instanceof String)) {
|
|
158
|
+
throw new Error("Expected the field `taskId` to be a primitive type in the JSON string but got " + data['taskId']);
|
|
159
|
+
}
|
|
160
|
+
// validate the optional field `errorMessage`
|
|
161
|
+
if (data['errorMessage']) {
|
|
162
|
+
// data not null
|
|
163
|
+
_PropertyString["default"].validateJSON(data['errorMessage']);
|
|
164
|
+
}
|
|
165
|
+
// validate the optional field `description`
|
|
166
|
+
if (data['description']) {
|
|
167
|
+
// data not null
|
|
168
|
+
_PropertyString["default"].validateJSON(data['description']);
|
|
169
|
+
}
|
|
170
|
+
// validate the optional field `endsWith`
|
|
171
|
+
if (data['endsWith']) {
|
|
172
|
+
// data not null
|
|
173
|
+
_PropertyString["default"].validateJSON(data['endsWith']);
|
|
174
|
+
}
|
|
175
|
+
// validate the optional field `startsWith`
|
|
176
|
+
if (data['startsWith']) {
|
|
177
|
+
// data not null
|
|
178
|
+
_PropertyString["default"].validateJSON(data['startsWith']);
|
|
179
|
+
}
|
|
180
|
+
// validate the optional field `contains`
|
|
181
|
+
if (data['contains']) {
|
|
182
|
+
// data not null
|
|
183
|
+
_PropertyString["default"].validateJSON(data['contains']);
|
|
184
|
+
}
|
|
185
|
+
// validate the optional field `equalTo`
|
|
186
|
+
if (data['equalTo']) {
|
|
187
|
+
// data not null
|
|
188
|
+
_PropertyObject["default"].validateJSON(data['equalTo']);
|
|
189
|
+
}
|
|
190
|
+
// validate the optional field `notEqualTo`
|
|
191
|
+
if (data['notEqualTo']) {
|
|
192
|
+
// data not null
|
|
193
|
+
_PropertyObject["default"].validateJSON(data['notEqualTo']);
|
|
194
|
+
}
|
|
195
|
+
// validate the optional field `greaterThan`
|
|
196
|
+
if (data['greaterThan']) {
|
|
197
|
+
// data not null
|
|
198
|
+
_PropertyDouble["default"].validateJSON(data['greaterThan']);
|
|
199
|
+
}
|
|
200
|
+
// validate the optional field `greaterThanOrEqualTo`
|
|
201
|
+
if (data['greaterThanOrEqualTo']) {
|
|
202
|
+
// data not null
|
|
203
|
+
_PropertyDouble["default"].validateJSON(data['greaterThanOrEqualTo']);
|
|
204
|
+
}
|
|
205
|
+
// validate the optional field `lessThan`
|
|
206
|
+
if (data['lessThan']) {
|
|
207
|
+
// data not null
|
|
208
|
+
_PropertyDouble["default"].validateJSON(data['lessThan']);
|
|
209
|
+
}
|
|
210
|
+
// validate the optional field `lessThanOrEqualTo`
|
|
211
|
+
if (data['lessThanOrEqualTo']) {
|
|
212
|
+
// data not null
|
|
213
|
+
_PropertyDouble["default"].validateJSON(data['lessThanOrEqualTo']);
|
|
214
|
+
}
|
|
215
|
+
// validate the optional field `in`
|
|
216
|
+
if (data['in']) {
|
|
217
|
+
// data not null
|
|
218
|
+
_PropertyListString["default"].validateJSON(data['in']);
|
|
219
|
+
}
|
|
220
|
+
// validate the optional field `notIn`
|
|
221
|
+
if (data['notIn']) {
|
|
222
|
+
// data not null
|
|
223
|
+
_PropertyListString["default"].validateJSON(data['notIn']);
|
|
224
|
+
}
|
|
225
|
+
// validate the optional field `isNull`
|
|
226
|
+
if (data['isNull']) {
|
|
227
|
+
// data not null
|
|
228
|
+
_PropertyBoolean["default"].validateJSON(data['isNull']);
|
|
229
|
+
}
|
|
230
|
+
// validate the optional field `isNotNull`
|
|
231
|
+
if (data['isNotNull']) {
|
|
232
|
+
// data not null
|
|
233
|
+
_PropertyBoolean["default"].validateJSON(data['isNotNull']);
|
|
234
|
+
}
|
|
235
|
+
return true;
|
|
236
|
+
}
|
|
237
|
+
}]);
|
|
238
|
+
}();
|
|
239
|
+
Assertion.RequiredProperties = ["value"];
|
|
240
|
+
|
|
241
|
+
/**
|
|
242
|
+
* @member {module:model/PropertyObject} value
|
|
243
|
+
*/
|
|
244
|
+
Assertion.prototype['value'] = undefined;
|
|
245
|
+
|
|
246
|
+
/**
|
|
247
|
+
* @member {String} taskId
|
|
248
|
+
*/
|
|
249
|
+
Assertion.prototype['taskId'] = undefined;
|
|
250
|
+
|
|
251
|
+
/**
|
|
252
|
+
* @member {module:model/PropertyString} errorMessage
|
|
253
|
+
*/
|
|
254
|
+
Assertion.prototype['errorMessage'] = undefined;
|
|
255
|
+
|
|
256
|
+
/**
|
|
257
|
+
* @member {module:model/PropertyString} description
|
|
258
|
+
*/
|
|
259
|
+
Assertion.prototype['description'] = undefined;
|
|
260
|
+
|
|
261
|
+
/**
|
|
262
|
+
* @member {module:model/PropertyString} endsWith
|
|
263
|
+
*/
|
|
264
|
+
Assertion.prototype['endsWith'] = undefined;
|
|
265
|
+
|
|
266
|
+
/**
|
|
267
|
+
* @member {module:model/PropertyString} startsWith
|
|
268
|
+
*/
|
|
269
|
+
Assertion.prototype['startsWith'] = undefined;
|
|
270
|
+
|
|
271
|
+
/**
|
|
272
|
+
* @member {module:model/PropertyString} contains
|
|
273
|
+
*/
|
|
274
|
+
Assertion.prototype['contains'] = undefined;
|
|
275
|
+
|
|
276
|
+
/**
|
|
277
|
+
* @member {module:model/PropertyObject} equalTo
|
|
278
|
+
*/
|
|
279
|
+
Assertion.prototype['equalTo'] = undefined;
|
|
280
|
+
|
|
281
|
+
/**
|
|
282
|
+
* @member {module:model/PropertyObject} notEqualTo
|
|
283
|
+
*/
|
|
284
|
+
Assertion.prototype['notEqualTo'] = undefined;
|
|
285
|
+
|
|
286
|
+
/**
|
|
287
|
+
* @member {module:model/PropertyDouble} greaterThan
|
|
288
|
+
*/
|
|
289
|
+
Assertion.prototype['greaterThan'] = undefined;
|
|
290
|
+
|
|
291
|
+
/**
|
|
292
|
+
* @member {module:model/PropertyDouble} greaterThanOrEqualTo
|
|
293
|
+
*/
|
|
294
|
+
Assertion.prototype['greaterThanOrEqualTo'] = undefined;
|
|
295
|
+
|
|
296
|
+
/**
|
|
297
|
+
* @member {module:model/PropertyDouble} lessThan
|
|
298
|
+
*/
|
|
299
|
+
Assertion.prototype['lessThan'] = undefined;
|
|
300
|
+
|
|
301
|
+
/**
|
|
302
|
+
* @member {module:model/PropertyDouble} lessThanOrEqualTo
|
|
303
|
+
*/
|
|
304
|
+
Assertion.prototype['lessThanOrEqualTo'] = undefined;
|
|
305
|
+
|
|
306
|
+
/**
|
|
307
|
+
* @member {module:model/PropertyListString} in
|
|
308
|
+
*/
|
|
309
|
+
Assertion.prototype['in'] = undefined;
|
|
310
|
+
|
|
311
|
+
/**
|
|
312
|
+
* @member {module:model/PropertyListString} notIn
|
|
313
|
+
*/
|
|
314
|
+
Assertion.prototype['notIn'] = undefined;
|
|
315
|
+
|
|
316
|
+
/**
|
|
317
|
+
* @member {module:model/PropertyBoolean} isNull
|
|
318
|
+
*/
|
|
319
|
+
Assertion.prototype['isNull'] = undefined;
|
|
320
|
+
|
|
321
|
+
/**
|
|
322
|
+
* @member {module:model/PropertyBoolean} isNotNull
|
|
323
|
+
*/
|
|
324
|
+
Assertion.prototype['isNotNull'] = undefined;
|
|
325
|
+
var _default = exports["default"] = Assertion;
|
|
@@ -0,0 +1,178 @@
|
|
|
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 _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; } } }; }
|
|
11
|
+
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; } }
|
|
12
|
+
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; }
|
|
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 _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
17
|
+
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); } /**
|
|
18
|
+
* Kestra EE
|
|
19
|
+
* 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.
|
|
20
|
+
*
|
|
21
|
+
* The version of the OpenAPI document: v1
|
|
22
|
+
*
|
|
23
|
+
*
|
|
24
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
25
|
+
* https://openapi-generator.tech
|
|
26
|
+
* Do not edit the class manually.
|
|
27
|
+
*
|
|
28
|
+
*/
|
|
29
|
+
/**
|
|
30
|
+
* The AssertionResult model module.
|
|
31
|
+
* @module model/AssertionResult
|
|
32
|
+
* @version v0.24.0
|
|
33
|
+
*/
|
|
34
|
+
var AssertionResult = /*#__PURE__*/function () {
|
|
35
|
+
/**
|
|
36
|
+
* Constructs a new <code>AssertionResult</code>.
|
|
37
|
+
* @alias module:model/AssertionResult
|
|
38
|
+
* @param operator {String}
|
|
39
|
+
* @param expected {Object}
|
|
40
|
+
* @param actual {Object}
|
|
41
|
+
* @param isSuccess {Boolean}
|
|
42
|
+
*/
|
|
43
|
+
function AssertionResult(operator, expected, actual, isSuccess) {
|
|
44
|
+
_classCallCheck(this, AssertionResult);
|
|
45
|
+
AssertionResult.initialize(this, operator, expected, actual, isSuccess);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Initializes the fields of this object.
|
|
50
|
+
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
|
51
|
+
* Only for internal use.
|
|
52
|
+
*/
|
|
53
|
+
return _createClass(AssertionResult, null, [{
|
|
54
|
+
key: "initialize",
|
|
55
|
+
value: function initialize(obj, operator, expected, actual, isSuccess) {
|
|
56
|
+
obj['operator'] = operator;
|
|
57
|
+
obj['expected'] = expected;
|
|
58
|
+
obj['actual'] = actual;
|
|
59
|
+
obj['isSuccess'] = isSuccess;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* Constructs a <code>AssertionResult</code> from a plain JavaScript object, optionally creating a new instance.
|
|
64
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
65
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
66
|
+
* @param {module:model/AssertionResult} obj Optional instance to populate.
|
|
67
|
+
* @return {module:model/AssertionResult} The populated <code>AssertionResult</code> instance.
|
|
68
|
+
*/
|
|
69
|
+
}, {
|
|
70
|
+
key: "constructFromObject",
|
|
71
|
+
value: function constructFromObject(data, obj) {
|
|
72
|
+
if (data) {
|
|
73
|
+
obj = obj || new AssertionResult();
|
|
74
|
+
if (data.hasOwnProperty('operator')) {
|
|
75
|
+
obj['operator'] = _ApiClient["default"].convertToType(data['operator'], 'String');
|
|
76
|
+
}
|
|
77
|
+
if (data.hasOwnProperty('expected')) {
|
|
78
|
+
obj['expected'] = _ApiClient["default"].convertToType(data['expected'], Object);
|
|
79
|
+
}
|
|
80
|
+
if (data.hasOwnProperty('actual')) {
|
|
81
|
+
obj['actual'] = _ApiClient["default"].convertToType(data['actual'], Object);
|
|
82
|
+
}
|
|
83
|
+
if (data.hasOwnProperty('isSuccess')) {
|
|
84
|
+
obj['isSuccess'] = _ApiClient["default"].convertToType(data['isSuccess'], 'Boolean');
|
|
85
|
+
}
|
|
86
|
+
if (data.hasOwnProperty('taskId')) {
|
|
87
|
+
obj['taskId'] = _ApiClient["default"].convertToType(data['taskId'], 'String');
|
|
88
|
+
}
|
|
89
|
+
if (data.hasOwnProperty('description')) {
|
|
90
|
+
obj['description'] = _ApiClient["default"].convertToType(data['description'], 'String');
|
|
91
|
+
}
|
|
92
|
+
if (data.hasOwnProperty('errorMessage')) {
|
|
93
|
+
obj['errorMessage'] = _ApiClient["default"].convertToType(data['errorMessage'], 'String');
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
return obj;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
/**
|
|
100
|
+
* Validates the JSON data with respect to <code>AssertionResult</code>.
|
|
101
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
102
|
+
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>AssertionResult</code>.
|
|
103
|
+
*/
|
|
104
|
+
}, {
|
|
105
|
+
key: "validateJSON",
|
|
106
|
+
value: function validateJSON(data) {
|
|
107
|
+
// check to make sure all required properties are present in the JSON string
|
|
108
|
+
var _iterator = _createForOfIteratorHelper(AssertionResult.RequiredProperties),
|
|
109
|
+
_step;
|
|
110
|
+
try {
|
|
111
|
+
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
112
|
+
var property = _step.value;
|
|
113
|
+
if (!data.hasOwnProperty(property)) {
|
|
114
|
+
throw new Error("The required field `" + property + "` is not found in the JSON data: " + JSON.stringify(data));
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
// ensure the json data is a string
|
|
118
|
+
} catch (err) {
|
|
119
|
+
_iterator.e(err);
|
|
120
|
+
} finally {
|
|
121
|
+
_iterator.f();
|
|
122
|
+
}
|
|
123
|
+
if (data['operator'] && !(typeof data['operator'] === 'string' || data['operator'] instanceof String)) {
|
|
124
|
+
throw new Error("Expected the field `operator` to be a primitive type in the JSON string but got " + data['operator']);
|
|
125
|
+
}
|
|
126
|
+
// ensure the json data is a string
|
|
127
|
+
if (data['taskId'] && !(typeof data['taskId'] === 'string' || data['taskId'] instanceof String)) {
|
|
128
|
+
throw new Error("Expected the field `taskId` to be a primitive type in the JSON string but got " + data['taskId']);
|
|
129
|
+
}
|
|
130
|
+
// ensure the json data is a string
|
|
131
|
+
if (data['description'] && !(typeof data['description'] === 'string' || data['description'] instanceof String)) {
|
|
132
|
+
throw new Error("Expected the field `description` to be a primitive type in the JSON string but got " + data['description']);
|
|
133
|
+
}
|
|
134
|
+
// ensure the json data is a string
|
|
135
|
+
if (data['errorMessage'] && !(typeof data['errorMessage'] === 'string' || data['errorMessage'] instanceof String)) {
|
|
136
|
+
throw new Error("Expected the field `errorMessage` to be a primitive type in the JSON string but got " + data['errorMessage']);
|
|
137
|
+
}
|
|
138
|
+
return true;
|
|
139
|
+
}
|
|
140
|
+
}]);
|
|
141
|
+
}();
|
|
142
|
+
AssertionResult.RequiredProperties = ["operator", "expected", "actual", "isSuccess"];
|
|
143
|
+
|
|
144
|
+
/**
|
|
145
|
+
* @member {String} operator
|
|
146
|
+
*/
|
|
147
|
+
AssertionResult.prototype['operator'] = undefined;
|
|
148
|
+
|
|
149
|
+
/**
|
|
150
|
+
* @member {Object} expected
|
|
151
|
+
*/
|
|
152
|
+
AssertionResult.prototype['expected'] = undefined;
|
|
153
|
+
|
|
154
|
+
/**
|
|
155
|
+
* @member {Object} actual
|
|
156
|
+
*/
|
|
157
|
+
AssertionResult.prototype['actual'] = undefined;
|
|
158
|
+
|
|
159
|
+
/**
|
|
160
|
+
* @member {Boolean} isSuccess
|
|
161
|
+
*/
|
|
162
|
+
AssertionResult.prototype['isSuccess'] = undefined;
|
|
163
|
+
|
|
164
|
+
/**
|
|
165
|
+
* @member {String} taskId
|
|
166
|
+
*/
|
|
167
|
+
AssertionResult.prototype['taskId'] = undefined;
|
|
168
|
+
|
|
169
|
+
/**
|
|
170
|
+
* @member {String} description
|
|
171
|
+
*/
|
|
172
|
+
AssertionResult.prototype['description'] = undefined;
|
|
173
|
+
|
|
174
|
+
/**
|
|
175
|
+
* @member {String} errorMessage
|
|
176
|
+
*/
|
|
177
|
+
AssertionResult.prototype['errorMessage'] = undefined;
|
|
178
|
+
var _default = exports["default"] = AssertionResult;
|
|
@@ -0,0 +1,124 @@
|
|
|
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 _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; } } }; }
|
|
11
|
+
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; } }
|
|
12
|
+
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; }
|
|
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 _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
17
|
+
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); } /**
|
|
18
|
+
* Kestra EE
|
|
19
|
+
* 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.
|
|
20
|
+
*
|
|
21
|
+
* The version of the OpenAPI document: v1
|
|
22
|
+
*
|
|
23
|
+
*
|
|
24
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
25
|
+
* https://openapi-generator.tech
|
|
26
|
+
* Do not edit the class manually.
|
|
27
|
+
*
|
|
28
|
+
*/
|
|
29
|
+
/**
|
|
30
|
+
* The AssertionRunError model module.
|
|
31
|
+
* @module model/AssertionRunError
|
|
32
|
+
* @version v0.24.0
|
|
33
|
+
*/
|
|
34
|
+
var AssertionRunError = /*#__PURE__*/function () {
|
|
35
|
+
/**
|
|
36
|
+
* Constructs a new <code>AssertionRunError</code>.
|
|
37
|
+
* @alias module:model/AssertionRunError
|
|
38
|
+
* @param message {String}
|
|
39
|
+
*/
|
|
40
|
+
function AssertionRunError(message) {
|
|
41
|
+
_classCallCheck(this, AssertionRunError);
|
|
42
|
+
AssertionRunError.initialize(this, message);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* Initializes the fields of this object.
|
|
47
|
+
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
|
48
|
+
* Only for internal use.
|
|
49
|
+
*/
|
|
50
|
+
return _createClass(AssertionRunError, null, [{
|
|
51
|
+
key: "initialize",
|
|
52
|
+
value: function initialize(obj, message) {
|
|
53
|
+
obj['message'] = message;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* Constructs a <code>AssertionRunError</code> from a plain JavaScript object, optionally creating a new instance.
|
|
58
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
59
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
60
|
+
* @param {module:model/AssertionRunError} obj Optional instance to populate.
|
|
61
|
+
* @return {module:model/AssertionRunError} The populated <code>AssertionRunError</code> instance.
|
|
62
|
+
*/
|
|
63
|
+
}, {
|
|
64
|
+
key: "constructFromObject",
|
|
65
|
+
value: function constructFromObject(data, obj) {
|
|
66
|
+
if (data) {
|
|
67
|
+
obj = obj || new AssertionRunError();
|
|
68
|
+
if (data.hasOwnProperty('message')) {
|
|
69
|
+
obj['message'] = _ApiClient["default"].convertToType(data['message'], 'String');
|
|
70
|
+
}
|
|
71
|
+
if (data.hasOwnProperty('details')) {
|
|
72
|
+
obj['details'] = _ApiClient["default"].convertToType(data['details'], 'String');
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
return obj;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* Validates the JSON data with respect to <code>AssertionRunError</code>.
|
|
80
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
81
|
+
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>AssertionRunError</code>.
|
|
82
|
+
*/
|
|
83
|
+
}, {
|
|
84
|
+
key: "validateJSON",
|
|
85
|
+
value: function validateJSON(data) {
|
|
86
|
+
// check to make sure all required properties are present in the JSON string
|
|
87
|
+
var _iterator = _createForOfIteratorHelper(AssertionRunError.RequiredProperties),
|
|
88
|
+
_step;
|
|
89
|
+
try {
|
|
90
|
+
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
91
|
+
var property = _step.value;
|
|
92
|
+
if (!data.hasOwnProperty(property)) {
|
|
93
|
+
throw new Error("The required field `" + property + "` is not found in the JSON data: " + JSON.stringify(data));
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
// ensure the json data is a string
|
|
97
|
+
} catch (err) {
|
|
98
|
+
_iterator.e(err);
|
|
99
|
+
} finally {
|
|
100
|
+
_iterator.f();
|
|
101
|
+
}
|
|
102
|
+
if (data['message'] && !(typeof data['message'] === 'string' || data['message'] instanceof String)) {
|
|
103
|
+
throw new Error("Expected the field `message` to be a primitive type in the JSON string but got " + data['message']);
|
|
104
|
+
}
|
|
105
|
+
// ensure the json data is a string
|
|
106
|
+
if (data['details'] && !(typeof data['details'] === 'string' || data['details'] instanceof String)) {
|
|
107
|
+
throw new Error("Expected the field `details` to be a primitive type in the JSON string but got " + data['details']);
|
|
108
|
+
}
|
|
109
|
+
return true;
|
|
110
|
+
}
|
|
111
|
+
}]);
|
|
112
|
+
}();
|
|
113
|
+
AssertionRunError.RequiredProperties = ["message"];
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
* @member {String} message
|
|
117
|
+
*/
|
|
118
|
+
AssertionRunError.prototype['message'] = undefined;
|
|
119
|
+
|
|
120
|
+
/**
|
|
121
|
+
* @member {String} details
|
|
122
|
+
*/
|
|
123
|
+
AssertionRunError.prototype['details'] = undefined;
|
|
124
|
+
var _default = exports["default"] = AssertionRunError;
|