@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,601 @@
|
|
|
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 _PluginPluginElementMetadata = _interopRequireDefault(require("./PluginPluginElementMetadata"));
|
|
9
|
+
var _PluginSubGroupPluginCategory = _interopRequireDefault(require("./PluginSubGroupPluginCategory"));
|
|
10
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
11
|
+
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); }
|
|
12
|
+
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; } } }; }
|
|
13
|
+
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; } }
|
|
14
|
+
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; }
|
|
15
|
+
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
16
|
+
function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
|
|
17
|
+
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
18
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
19
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /**
|
|
20
|
+
* Kestra EE
|
|
21
|
+
* All API operations, except for Superadmin-only endpoints, require a tenant identifier in the HTTP path.<br/> Endpoints designated as Superadmin-only are not tenant-scoped.
|
|
22
|
+
*
|
|
23
|
+
* The version of the OpenAPI document: v1
|
|
24
|
+
*
|
|
25
|
+
*
|
|
26
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
27
|
+
* https://openapi-generator.tech
|
|
28
|
+
* Do not edit the class manually.
|
|
29
|
+
*
|
|
30
|
+
*/
|
|
31
|
+
/**
|
|
32
|
+
* The Plugin model module.
|
|
33
|
+
* @module model/Plugin
|
|
34
|
+
* @version v0.24.0
|
|
35
|
+
*/
|
|
36
|
+
var Plugin = /*#__PURE__*/function () {
|
|
37
|
+
/**
|
|
38
|
+
* Constructs a new <code>Plugin</code>.
|
|
39
|
+
* @alias module:model/Plugin
|
|
40
|
+
*/
|
|
41
|
+
function Plugin() {
|
|
42
|
+
_classCallCheck(this, Plugin);
|
|
43
|
+
Plugin.initialize(this);
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* Initializes the fields of this object.
|
|
48
|
+
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
|
49
|
+
* Only for internal use.
|
|
50
|
+
*/
|
|
51
|
+
return _createClass(Plugin, null, [{
|
|
52
|
+
key: "initialize",
|
|
53
|
+
value: function initialize(obj) {}
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* Constructs a <code>Plugin</code> from a plain JavaScript object, optionally creating a new instance.
|
|
57
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
58
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
59
|
+
* @param {module:model/Plugin} obj Optional instance to populate.
|
|
60
|
+
* @return {module:model/Plugin} The populated <code>Plugin</code> instance.
|
|
61
|
+
*/
|
|
62
|
+
}, {
|
|
63
|
+
key: "constructFromObject",
|
|
64
|
+
value: function constructFromObject(data, obj) {
|
|
65
|
+
if (data) {
|
|
66
|
+
obj = obj || new Plugin();
|
|
67
|
+
if (data.hasOwnProperty('name')) {
|
|
68
|
+
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
|
|
69
|
+
}
|
|
70
|
+
if (data.hasOwnProperty('title')) {
|
|
71
|
+
obj['title'] = _ApiClient["default"].convertToType(data['title'], 'String');
|
|
72
|
+
}
|
|
73
|
+
if (data.hasOwnProperty('description')) {
|
|
74
|
+
obj['description'] = _ApiClient["default"].convertToType(data['description'], 'String');
|
|
75
|
+
}
|
|
76
|
+
if (data.hasOwnProperty('license')) {
|
|
77
|
+
obj['license'] = _ApiClient["default"].convertToType(data['license'], 'String');
|
|
78
|
+
}
|
|
79
|
+
if (data.hasOwnProperty('longDescription')) {
|
|
80
|
+
obj['longDescription'] = _ApiClient["default"].convertToType(data['longDescription'], 'String');
|
|
81
|
+
}
|
|
82
|
+
if (data.hasOwnProperty('group')) {
|
|
83
|
+
obj['group'] = _ApiClient["default"].convertToType(data['group'], 'String');
|
|
84
|
+
}
|
|
85
|
+
if (data.hasOwnProperty('version')) {
|
|
86
|
+
obj['version'] = _ApiClient["default"].convertToType(data['version'], 'String');
|
|
87
|
+
}
|
|
88
|
+
if (data.hasOwnProperty('manifest')) {
|
|
89
|
+
obj['manifest'] = _ApiClient["default"].convertToType(data['manifest'], {
|
|
90
|
+
'String': 'String'
|
|
91
|
+
});
|
|
92
|
+
}
|
|
93
|
+
if (data.hasOwnProperty('guides')) {
|
|
94
|
+
obj['guides'] = _ApiClient["default"].convertToType(data['guides'], ['String']);
|
|
95
|
+
}
|
|
96
|
+
if (data.hasOwnProperty('aliases')) {
|
|
97
|
+
obj['aliases'] = _ApiClient["default"].convertToType(data['aliases'], ['String']);
|
|
98
|
+
}
|
|
99
|
+
if (data.hasOwnProperty('tasks')) {
|
|
100
|
+
obj['tasks'] = _ApiClient["default"].convertToType(data['tasks'], [_PluginPluginElementMetadata["default"]]);
|
|
101
|
+
}
|
|
102
|
+
if (data.hasOwnProperty('triggers')) {
|
|
103
|
+
obj['triggers'] = _ApiClient["default"].convertToType(data['triggers'], [_PluginPluginElementMetadata["default"]]);
|
|
104
|
+
}
|
|
105
|
+
if (data.hasOwnProperty('conditions')) {
|
|
106
|
+
obj['conditions'] = _ApiClient["default"].convertToType(data['conditions'], [_PluginPluginElementMetadata["default"]]);
|
|
107
|
+
}
|
|
108
|
+
if (data.hasOwnProperty('controllers')) {
|
|
109
|
+
obj['controllers'] = _ApiClient["default"].convertToType(data['controllers'], [_PluginPluginElementMetadata["default"]]);
|
|
110
|
+
}
|
|
111
|
+
if (data.hasOwnProperty('storages')) {
|
|
112
|
+
obj['storages'] = _ApiClient["default"].convertToType(data['storages'], [_PluginPluginElementMetadata["default"]]);
|
|
113
|
+
}
|
|
114
|
+
if (data.hasOwnProperty('secrets')) {
|
|
115
|
+
obj['secrets'] = _ApiClient["default"].convertToType(data['secrets'], [_PluginPluginElementMetadata["default"]]);
|
|
116
|
+
}
|
|
117
|
+
if (data.hasOwnProperty('taskRunners')) {
|
|
118
|
+
obj['taskRunners'] = _ApiClient["default"].convertToType(data['taskRunners'], [_PluginPluginElementMetadata["default"]]);
|
|
119
|
+
}
|
|
120
|
+
if (data.hasOwnProperty('apps')) {
|
|
121
|
+
obj['apps'] = _ApiClient["default"].convertToType(data['apps'], [_PluginPluginElementMetadata["default"]]);
|
|
122
|
+
}
|
|
123
|
+
if (data.hasOwnProperty('appBlocks')) {
|
|
124
|
+
obj['appBlocks'] = _ApiClient["default"].convertToType(data['appBlocks'], [_PluginPluginElementMetadata["default"]]);
|
|
125
|
+
}
|
|
126
|
+
if (data.hasOwnProperty('charts')) {
|
|
127
|
+
obj['charts'] = _ApiClient["default"].convertToType(data['charts'], [_PluginPluginElementMetadata["default"]]);
|
|
128
|
+
}
|
|
129
|
+
if (data.hasOwnProperty('dataFilters')) {
|
|
130
|
+
obj['dataFilters'] = _ApiClient["default"].convertToType(data['dataFilters'], [_PluginPluginElementMetadata["default"]]);
|
|
131
|
+
}
|
|
132
|
+
if (data.hasOwnProperty('logExporters')) {
|
|
133
|
+
obj['logExporters'] = _ApiClient["default"].convertToType(data['logExporters'], [_PluginPluginElementMetadata["default"]]);
|
|
134
|
+
}
|
|
135
|
+
if (data.hasOwnProperty('additionalPlugins')) {
|
|
136
|
+
obj['additionalPlugins'] = _ApiClient["default"].convertToType(data['additionalPlugins'], [_PluginPluginElementMetadata["default"]]);
|
|
137
|
+
}
|
|
138
|
+
if (data.hasOwnProperty('categories')) {
|
|
139
|
+
obj['categories'] = _ApiClient["default"].convertToType(data['categories'], [_PluginSubGroupPluginCategory["default"]]);
|
|
140
|
+
}
|
|
141
|
+
if (data.hasOwnProperty('subGroup')) {
|
|
142
|
+
obj['subGroup'] = _ApiClient["default"].convertToType(data['subGroup'], 'String');
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
return obj;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
/**
|
|
149
|
+
* Validates the JSON data with respect to <code>Plugin</code>.
|
|
150
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
151
|
+
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>Plugin</code>.
|
|
152
|
+
*/
|
|
153
|
+
}, {
|
|
154
|
+
key: "validateJSON",
|
|
155
|
+
value: function validateJSON(data) {
|
|
156
|
+
// ensure the json data is a string
|
|
157
|
+
if (data['name'] && !(typeof data['name'] === 'string' || data['name'] instanceof String)) {
|
|
158
|
+
throw new Error("Expected the field `name` to be a primitive type in the JSON string but got " + data['name']);
|
|
159
|
+
}
|
|
160
|
+
// ensure the json data is a string
|
|
161
|
+
if (data['title'] && !(typeof data['title'] === 'string' || data['title'] instanceof String)) {
|
|
162
|
+
throw new Error("Expected the field `title` to be a primitive type in the JSON string but got " + data['title']);
|
|
163
|
+
}
|
|
164
|
+
// ensure the json data is a string
|
|
165
|
+
if (data['description'] && !(typeof data['description'] === 'string' || data['description'] instanceof String)) {
|
|
166
|
+
throw new Error("Expected the field `description` to be a primitive type in the JSON string but got " + data['description']);
|
|
167
|
+
}
|
|
168
|
+
// ensure the json data is a string
|
|
169
|
+
if (data['license'] && !(typeof data['license'] === 'string' || data['license'] instanceof String)) {
|
|
170
|
+
throw new Error("Expected the field `license` to be a primitive type in the JSON string but got " + data['license']);
|
|
171
|
+
}
|
|
172
|
+
// ensure the json data is a string
|
|
173
|
+
if (data['longDescription'] && !(typeof data['longDescription'] === 'string' || data['longDescription'] instanceof String)) {
|
|
174
|
+
throw new Error("Expected the field `longDescription` to be a primitive type in the JSON string but got " + data['longDescription']);
|
|
175
|
+
}
|
|
176
|
+
// ensure the json data is a string
|
|
177
|
+
if (data['group'] && !(typeof data['group'] === 'string' || data['group'] instanceof String)) {
|
|
178
|
+
throw new Error("Expected the field `group` to be a primitive type in the JSON string but got " + data['group']);
|
|
179
|
+
}
|
|
180
|
+
// ensure the json data is a string
|
|
181
|
+
if (data['version'] && !(typeof data['version'] === 'string' || data['version'] instanceof String)) {
|
|
182
|
+
throw new Error("Expected the field `version` to be a primitive type in the JSON string but got " + data['version']);
|
|
183
|
+
}
|
|
184
|
+
// ensure the json data is an array
|
|
185
|
+
if (!Array.isArray(data['guides'])) {
|
|
186
|
+
throw new Error("Expected the field `guides` to be an array in the JSON data but got " + data['guides']);
|
|
187
|
+
}
|
|
188
|
+
// ensure the json data is an array
|
|
189
|
+
if (!Array.isArray(data['aliases'])) {
|
|
190
|
+
throw new Error("Expected the field `aliases` to be an array in the JSON data but got " + data['aliases']);
|
|
191
|
+
}
|
|
192
|
+
if (data['tasks']) {
|
|
193
|
+
// data not null
|
|
194
|
+
// ensure the json data is an array
|
|
195
|
+
if (!Array.isArray(data['tasks'])) {
|
|
196
|
+
throw new Error("Expected the field `tasks` to be an array in the JSON data but got " + data['tasks']);
|
|
197
|
+
}
|
|
198
|
+
// validate the optional field `tasks` (array)
|
|
199
|
+
var _iterator = _createForOfIteratorHelper(data['tasks']),
|
|
200
|
+
_step;
|
|
201
|
+
try {
|
|
202
|
+
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
203
|
+
var item = _step.value;
|
|
204
|
+
_PluginPluginElementMetadata["default"].validateJSON(item);
|
|
205
|
+
}
|
|
206
|
+
} catch (err) {
|
|
207
|
+
_iterator.e(err);
|
|
208
|
+
} finally {
|
|
209
|
+
_iterator.f();
|
|
210
|
+
}
|
|
211
|
+
;
|
|
212
|
+
}
|
|
213
|
+
if (data['triggers']) {
|
|
214
|
+
// data not null
|
|
215
|
+
// ensure the json data is an array
|
|
216
|
+
if (!Array.isArray(data['triggers'])) {
|
|
217
|
+
throw new Error("Expected the field `triggers` to be an array in the JSON data but got " + data['triggers']);
|
|
218
|
+
}
|
|
219
|
+
// validate the optional field `triggers` (array)
|
|
220
|
+
var _iterator2 = _createForOfIteratorHelper(data['triggers']),
|
|
221
|
+
_step2;
|
|
222
|
+
try {
|
|
223
|
+
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
|
|
224
|
+
var _item = _step2.value;
|
|
225
|
+
_PluginPluginElementMetadata["default"].validateJSON(_item);
|
|
226
|
+
}
|
|
227
|
+
} catch (err) {
|
|
228
|
+
_iterator2.e(err);
|
|
229
|
+
} finally {
|
|
230
|
+
_iterator2.f();
|
|
231
|
+
}
|
|
232
|
+
;
|
|
233
|
+
}
|
|
234
|
+
if (data['conditions']) {
|
|
235
|
+
// data not null
|
|
236
|
+
// ensure the json data is an array
|
|
237
|
+
if (!Array.isArray(data['conditions'])) {
|
|
238
|
+
throw new Error("Expected the field `conditions` to be an array in the JSON data but got " + data['conditions']);
|
|
239
|
+
}
|
|
240
|
+
// validate the optional field `conditions` (array)
|
|
241
|
+
var _iterator3 = _createForOfIteratorHelper(data['conditions']),
|
|
242
|
+
_step3;
|
|
243
|
+
try {
|
|
244
|
+
for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
|
|
245
|
+
var _item2 = _step3.value;
|
|
246
|
+
_PluginPluginElementMetadata["default"].validateJSON(_item2);
|
|
247
|
+
}
|
|
248
|
+
} catch (err) {
|
|
249
|
+
_iterator3.e(err);
|
|
250
|
+
} finally {
|
|
251
|
+
_iterator3.f();
|
|
252
|
+
}
|
|
253
|
+
;
|
|
254
|
+
}
|
|
255
|
+
if (data['controllers']) {
|
|
256
|
+
// data not null
|
|
257
|
+
// ensure the json data is an array
|
|
258
|
+
if (!Array.isArray(data['controllers'])) {
|
|
259
|
+
throw new Error("Expected the field `controllers` to be an array in the JSON data but got " + data['controllers']);
|
|
260
|
+
}
|
|
261
|
+
// validate the optional field `controllers` (array)
|
|
262
|
+
var _iterator4 = _createForOfIteratorHelper(data['controllers']),
|
|
263
|
+
_step4;
|
|
264
|
+
try {
|
|
265
|
+
for (_iterator4.s(); !(_step4 = _iterator4.n()).done;) {
|
|
266
|
+
var _item3 = _step4.value;
|
|
267
|
+
_PluginPluginElementMetadata["default"].validateJSON(_item3);
|
|
268
|
+
}
|
|
269
|
+
} catch (err) {
|
|
270
|
+
_iterator4.e(err);
|
|
271
|
+
} finally {
|
|
272
|
+
_iterator4.f();
|
|
273
|
+
}
|
|
274
|
+
;
|
|
275
|
+
}
|
|
276
|
+
if (data['storages']) {
|
|
277
|
+
// data not null
|
|
278
|
+
// ensure the json data is an array
|
|
279
|
+
if (!Array.isArray(data['storages'])) {
|
|
280
|
+
throw new Error("Expected the field `storages` to be an array in the JSON data but got " + data['storages']);
|
|
281
|
+
}
|
|
282
|
+
// validate the optional field `storages` (array)
|
|
283
|
+
var _iterator5 = _createForOfIteratorHelper(data['storages']),
|
|
284
|
+
_step5;
|
|
285
|
+
try {
|
|
286
|
+
for (_iterator5.s(); !(_step5 = _iterator5.n()).done;) {
|
|
287
|
+
var _item4 = _step5.value;
|
|
288
|
+
_PluginPluginElementMetadata["default"].validateJSON(_item4);
|
|
289
|
+
}
|
|
290
|
+
} catch (err) {
|
|
291
|
+
_iterator5.e(err);
|
|
292
|
+
} finally {
|
|
293
|
+
_iterator5.f();
|
|
294
|
+
}
|
|
295
|
+
;
|
|
296
|
+
}
|
|
297
|
+
if (data['secrets']) {
|
|
298
|
+
// data not null
|
|
299
|
+
// ensure the json data is an array
|
|
300
|
+
if (!Array.isArray(data['secrets'])) {
|
|
301
|
+
throw new Error("Expected the field `secrets` to be an array in the JSON data but got " + data['secrets']);
|
|
302
|
+
}
|
|
303
|
+
// validate the optional field `secrets` (array)
|
|
304
|
+
var _iterator6 = _createForOfIteratorHelper(data['secrets']),
|
|
305
|
+
_step6;
|
|
306
|
+
try {
|
|
307
|
+
for (_iterator6.s(); !(_step6 = _iterator6.n()).done;) {
|
|
308
|
+
var _item5 = _step6.value;
|
|
309
|
+
_PluginPluginElementMetadata["default"].validateJSON(_item5);
|
|
310
|
+
}
|
|
311
|
+
} catch (err) {
|
|
312
|
+
_iterator6.e(err);
|
|
313
|
+
} finally {
|
|
314
|
+
_iterator6.f();
|
|
315
|
+
}
|
|
316
|
+
;
|
|
317
|
+
}
|
|
318
|
+
if (data['taskRunners']) {
|
|
319
|
+
// data not null
|
|
320
|
+
// ensure the json data is an array
|
|
321
|
+
if (!Array.isArray(data['taskRunners'])) {
|
|
322
|
+
throw new Error("Expected the field `taskRunners` to be an array in the JSON data but got " + data['taskRunners']);
|
|
323
|
+
}
|
|
324
|
+
// validate the optional field `taskRunners` (array)
|
|
325
|
+
var _iterator7 = _createForOfIteratorHelper(data['taskRunners']),
|
|
326
|
+
_step7;
|
|
327
|
+
try {
|
|
328
|
+
for (_iterator7.s(); !(_step7 = _iterator7.n()).done;) {
|
|
329
|
+
var _item6 = _step7.value;
|
|
330
|
+
_PluginPluginElementMetadata["default"].validateJSON(_item6);
|
|
331
|
+
}
|
|
332
|
+
} catch (err) {
|
|
333
|
+
_iterator7.e(err);
|
|
334
|
+
} finally {
|
|
335
|
+
_iterator7.f();
|
|
336
|
+
}
|
|
337
|
+
;
|
|
338
|
+
}
|
|
339
|
+
if (data['apps']) {
|
|
340
|
+
// data not null
|
|
341
|
+
// ensure the json data is an array
|
|
342
|
+
if (!Array.isArray(data['apps'])) {
|
|
343
|
+
throw new Error("Expected the field `apps` to be an array in the JSON data but got " + data['apps']);
|
|
344
|
+
}
|
|
345
|
+
// validate the optional field `apps` (array)
|
|
346
|
+
var _iterator8 = _createForOfIteratorHelper(data['apps']),
|
|
347
|
+
_step8;
|
|
348
|
+
try {
|
|
349
|
+
for (_iterator8.s(); !(_step8 = _iterator8.n()).done;) {
|
|
350
|
+
var _item7 = _step8.value;
|
|
351
|
+
_PluginPluginElementMetadata["default"].validateJSON(_item7);
|
|
352
|
+
}
|
|
353
|
+
} catch (err) {
|
|
354
|
+
_iterator8.e(err);
|
|
355
|
+
} finally {
|
|
356
|
+
_iterator8.f();
|
|
357
|
+
}
|
|
358
|
+
;
|
|
359
|
+
}
|
|
360
|
+
if (data['appBlocks']) {
|
|
361
|
+
// data not null
|
|
362
|
+
// ensure the json data is an array
|
|
363
|
+
if (!Array.isArray(data['appBlocks'])) {
|
|
364
|
+
throw new Error("Expected the field `appBlocks` to be an array in the JSON data but got " + data['appBlocks']);
|
|
365
|
+
}
|
|
366
|
+
// validate the optional field `appBlocks` (array)
|
|
367
|
+
var _iterator9 = _createForOfIteratorHelper(data['appBlocks']),
|
|
368
|
+
_step9;
|
|
369
|
+
try {
|
|
370
|
+
for (_iterator9.s(); !(_step9 = _iterator9.n()).done;) {
|
|
371
|
+
var _item8 = _step9.value;
|
|
372
|
+
_PluginPluginElementMetadata["default"].validateJSON(_item8);
|
|
373
|
+
}
|
|
374
|
+
} catch (err) {
|
|
375
|
+
_iterator9.e(err);
|
|
376
|
+
} finally {
|
|
377
|
+
_iterator9.f();
|
|
378
|
+
}
|
|
379
|
+
;
|
|
380
|
+
}
|
|
381
|
+
if (data['charts']) {
|
|
382
|
+
// data not null
|
|
383
|
+
// ensure the json data is an array
|
|
384
|
+
if (!Array.isArray(data['charts'])) {
|
|
385
|
+
throw new Error("Expected the field `charts` to be an array in the JSON data but got " + data['charts']);
|
|
386
|
+
}
|
|
387
|
+
// validate the optional field `charts` (array)
|
|
388
|
+
var _iterator0 = _createForOfIteratorHelper(data['charts']),
|
|
389
|
+
_step0;
|
|
390
|
+
try {
|
|
391
|
+
for (_iterator0.s(); !(_step0 = _iterator0.n()).done;) {
|
|
392
|
+
var _item9 = _step0.value;
|
|
393
|
+
_PluginPluginElementMetadata["default"].validateJSON(_item9);
|
|
394
|
+
}
|
|
395
|
+
} catch (err) {
|
|
396
|
+
_iterator0.e(err);
|
|
397
|
+
} finally {
|
|
398
|
+
_iterator0.f();
|
|
399
|
+
}
|
|
400
|
+
;
|
|
401
|
+
}
|
|
402
|
+
if (data['dataFilters']) {
|
|
403
|
+
// data not null
|
|
404
|
+
// ensure the json data is an array
|
|
405
|
+
if (!Array.isArray(data['dataFilters'])) {
|
|
406
|
+
throw new Error("Expected the field `dataFilters` to be an array in the JSON data but got " + data['dataFilters']);
|
|
407
|
+
}
|
|
408
|
+
// validate the optional field `dataFilters` (array)
|
|
409
|
+
var _iterator1 = _createForOfIteratorHelper(data['dataFilters']),
|
|
410
|
+
_step1;
|
|
411
|
+
try {
|
|
412
|
+
for (_iterator1.s(); !(_step1 = _iterator1.n()).done;) {
|
|
413
|
+
var _item0 = _step1.value;
|
|
414
|
+
_PluginPluginElementMetadata["default"].validateJSON(_item0);
|
|
415
|
+
}
|
|
416
|
+
} catch (err) {
|
|
417
|
+
_iterator1.e(err);
|
|
418
|
+
} finally {
|
|
419
|
+
_iterator1.f();
|
|
420
|
+
}
|
|
421
|
+
;
|
|
422
|
+
}
|
|
423
|
+
if (data['logExporters']) {
|
|
424
|
+
// data not null
|
|
425
|
+
// ensure the json data is an array
|
|
426
|
+
if (!Array.isArray(data['logExporters'])) {
|
|
427
|
+
throw new Error("Expected the field `logExporters` to be an array in the JSON data but got " + data['logExporters']);
|
|
428
|
+
}
|
|
429
|
+
// validate the optional field `logExporters` (array)
|
|
430
|
+
var _iterator10 = _createForOfIteratorHelper(data['logExporters']),
|
|
431
|
+
_step10;
|
|
432
|
+
try {
|
|
433
|
+
for (_iterator10.s(); !(_step10 = _iterator10.n()).done;) {
|
|
434
|
+
var _item1 = _step10.value;
|
|
435
|
+
_PluginPluginElementMetadata["default"].validateJSON(_item1);
|
|
436
|
+
}
|
|
437
|
+
} catch (err) {
|
|
438
|
+
_iterator10.e(err);
|
|
439
|
+
} finally {
|
|
440
|
+
_iterator10.f();
|
|
441
|
+
}
|
|
442
|
+
;
|
|
443
|
+
}
|
|
444
|
+
if (data['additionalPlugins']) {
|
|
445
|
+
// data not null
|
|
446
|
+
// ensure the json data is an array
|
|
447
|
+
if (!Array.isArray(data['additionalPlugins'])) {
|
|
448
|
+
throw new Error("Expected the field `additionalPlugins` to be an array in the JSON data but got " + data['additionalPlugins']);
|
|
449
|
+
}
|
|
450
|
+
// validate the optional field `additionalPlugins` (array)
|
|
451
|
+
var _iterator11 = _createForOfIteratorHelper(data['additionalPlugins']),
|
|
452
|
+
_step11;
|
|
453
|
+
try {
|
|
454
|
+
for (_iterator11.s(); !(_step11 = _iterator11.n()).done;) {
|
|
455
|
+
var _item10 = _step11.value;
|
|
456
|
+
_PluginPluginElementMetadata["default"].validateJSON(_item10);
|
|
457
|
+
}
|
|
458
|
+
} catch (err) {
|
|
459
|
+
_iterator11.e(err);
|
|
460
|
+
} finally {
|
|
461
|
+
_iterator11.f();
|
|
462
|
+
}
|
|
463
|
+
;
|
|
464
|
+
}
|
|
465
|
+
// ensure the json data is an array
|
|
466
|
+
if (!Array.isArray(data['categories'])) {
|
|
467
|
+
throw new Error("Expected the field `categories` to be an array in the JSON data but got " + data['categories']);
|
|
468
|
+
}
|
|
469
|
+
// ensure the json data is a string
|
|
470
|
+
if (data['subGroup'] && !(typeof data['subGroup'] === 'string' || data['subGroup'] instanceof String)) {
|
|
471
|
+
throw new Error("Expected the field `subGroup` to be a primitive type in the JSON string but got " + data['subGroup']);
|
|
472
|
+
}
|
|
473
|
+
return true;
|
|
474
|
+
}
|
|
475
|
+
}]);
|
|
476
|
+
}();
|
|
477
|
+
/**
|
|
478
|
+
* @member {String} name
|
|
479
|
+
*/
|
|
480
|
+
Plugin.prototype['name'] = undefined;
|
|
481
|
+
|
|
482
|
+
/**
|
|
483
|
+
* @member {String} title
|
|
484
|
+
*/
|
|
485
|
+
Plugin.prototype['title'] = undefined;
|
|
486
|
+
|
|
487
|
+
/**
|
|
488
|
+
* @member {String} description
|
|
489
|
+
*/
|
|
490
|
+
Plugin.prototype['description'] = undefined;
|
|
491
|
+
|
|
492
|
+
/**
|
|
493
|
+
* @member {String} license
|
|
494
|
+
*/
|
|
495
|
+
Plugin.prototype['license'] = undefined;
|
|
496
|
+
|
|
497
|
+
/**
|
|
498
|
+
* @member {String} longDescription
|
|
499
|
+
*/
|
|
500
|
+
Plugin.prototype['longDescription'] = undefined;
|
|
501
|
+
|
|
502
|
+
/**
|
|
503
|
+
* @member {String} group
|
|
504
|
+
*/
|
|
505
|
+
Plugin.prototype['group'] = undefined;
|
|
506
|
+
|
|
507
|
+
/**
|
|
508
|
+
* @member {String} version
|
|
509
|
+
*/
|
|
510
|
+
Plugin.prototype['version'] = undefined;
|
|
511
|
+
|
|
512
|
+
/**
|
|
513
|
+
* @member {Object.<String, String>} manifest
|
|
514
|
+
*/
|
|
515
|
+
Plugin.prototype['manifest'] = undefined;
|
|
516
|
+
|
|
517
|
+
/**
|
|
518
|
+
* @member {Array.<String>} guides
|
|
519
|
+
*/
|
|
520
|
+
Plugin.prototype['guides'] = undefined;
|
|
521
|
+
|
|
522
|
+
/**
|
|
523
|
+
* @member {Array.<String>} aliases
|
|
524
|
+
*/
|
|
525
|
+
Plugin.prototype['aliases'] = undefined;
|
|
526
|
+
|
|
527
|
+
/**
|
|
528
|
+
* @member {Array.<module:model/PluginPluginElementMetadata>} tasks
|
|
529
|
+
*/
|
|
530
|
+
Plugin.prototype['tasks'] = undefined;
|
|
531
|
+
|
|
532
|
+
/**
|
|
533
|
+
* @member {Array.<module:model/PluginPluginElementMetadata>} triggers
|
|
534
|
+
*/
|
|
535
|
+
Plugin.prototype['triggers'] = undefined;
|
|
536
|
+
|
|
537
|
+
/**
|
|
538
|
+
* @member {Array.<module:model/PluginPluginElementMetadata>} conditions
|
|
539
|
+
*/
|
|
540
|
+
Plugin.prototype['conditions'] = undefined;
|
|
541
|
+
|
|
542
|
+
/**
|
|
543
|
+
* @member {Array.<module:model/PluginPluginElementMetadata>} controllers
|
|
544
|
+
*/
|
|
545
|
+
Plugin.prototype['controllers'] = undefined;
|
|
546
|
+
|
|
547
|
+
/**
|
|
548
|
+
* @member {Array.<module:model/PluginPluginElementMetadata>} storages
|
|
549
|
+
*/
|
|
550
|
+
Plugin.prototype['storages'] = undefined;
|
|
551
|
+
|
|
552
|
+
/**
|
|
553
|
+
* @member {Array.<module:model/PluginPluginElementMetadata>} secrets
|
|
554
|
+
*/
|
|
555
|
+
Plugin.prototype['secrets'] = undefined;
|
|
556
|
+
|
|
557
|
+
/**
|
|
558
|
+
* @member {Array.<module:model/PluginPluginElementMetadata>} taskRunners
|
|
559
|
+
*/
|
|
560
|
+
Plugin.prototype['taskRunners'] = undefined;
|
|
561
|
+
|
|
562
|
+
/**
|
|
563
|
+
* @member {Array.<module:model/PluginPluginElementMetadata>} apps
|
|
564
|
+
*/
|
|
565
|
+
Plugin.prototype['apps'] = undefined;
|
|
566
|
+
|
|
567
|
+
/**
|
|
568
|
+
* @member {Array.<module:model/PluginPluginElementMetadata>} appBlocks
|
|
569
|
+
*/
|
|
570
|
+
Plugin.prototype['appBlocks'] = undefined;
|
|
571
|
+
|
|
572
|
+
/**
|
|
573
|
+
* @member {Array.<module:model/PluginPluginElementMetadata>} charts
|
|
574
|
+
*/
|
|
575
|
+
Plugin.prototype['charts'] = undefined;
|
|
576
|
+
|
|
577
|
+
/**
|
|
578
|
+
* @member {Array.<module:model/PluginPluginElementMetadata>} dataFilters
|
|
579
|
+
*/
|
|
580
|
+
Plugin.prototype['dataFilters'] = undefined;
|
|
581
|
+
|
|
582
|
+
/**
|
|
583
|
+
* @member {Array.<module:model/PluginPluginElementMetadata>} logExporters
|
|
584
|
+
*/
|
|
585
|
+
Plugin.prototype['logExporters'] = undefined;
|
|
586
|
+
|
|
587
|
+
/**
|
|
588
|
+
* @member {Array.<module:model/PluginPluginElementMetadata>} additionalPlugins
|
|
589
|
+
*/
|
|
590
|
+
Plugin.prototype['additionalPlugins'] = undefined;
|
|
591
|
+
|
|
592
|
+
/**
|
|
593
|
+
* @member {Array.<module:model/PluginSubGroupPluginCategory>} categories
|
|
594
|
+
*/
|
|
595
|
+
Plugin.prototype['categories'] = undefined;
|
|
596
|
+
|
|
597
|
+
/**
|
|
598
|
+
* @member {String} subGroup
|
|
599
|
+
*/
|
|
600
|
+
Plugin.prototype['subGroup'] = undefined;
|
|
601
|
+
var _default = exports["default"] = Plugin;
|