@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,653 @@
|
|
|
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 _ApiAutocomplete = _interopRequireDefault(require("../model/ApiAutocomplete"));
|
|
9
|
+
var _ApiSecretListResponse = _interopRequireDefault(require("../model/ApiSecretListResponse"));
|
|
10
|
+
var _ApiSecretMeta = _interopRequireDefault(require("../model/ApiSecretMeta"));
|
|
11
|
+
var _ApiSecretMetaEE = _interopRequireDefault(require("../model/ApiSecretMetaEE"));
|
|
12
|
+
var _ApiSecretValue = _interopRequireDefault(require("../model/ApiSecretValue"));
|
|
13
|
+
var _Namespace = _interopRequireDefault(require("../model/Namespace"));
|
|
14
|
+
var _PagedResultsNamespaceWithDisabled = _interopRequireDefault(require("../model/PagedResultsNamespaceWithDisabled"));
|
|
15
|
+
var _PluginDefault = _interopRequireDefault(require("../model/PluginDefault"));
|
|
16
|
+
var _QueryFilter = _interopRequireDefault(require("../model/QueryFilter"));
|
|
17
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
18
|
+
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); }
|
|
19
|
+
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
20
|
+
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); } }
|
|
21
|
+
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
22
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
23
|
+
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); } /**
|
|
24
|
+
* Kestra EE
|
|
25
|
+
* 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.
|
|
26
|
+
*
|
|
27
|
+
* The version of the OpenAPI document: v1
|
|
28
|
+
*
|
|
29
|
+
*
|
|
30
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
31
|
+
* https://openapi-generator.tech
|
|
32
|
+
* Do not edit the class manually.
|
|
33
|
+
*
|
|
34
|
+
*/
|
|
35
|
+
/**
|
|
36
|
+
* Namespaces service.
|
|
37
|
+
* @module api/NamespacesApi
|
|
38
|
+
* @version v0.24.0
|
|
39
|
+
*/
|
|
40
|
+
var NamespacesApi = exports["default"] = /*#__PURE__*/function () {
|
|
41
|
+
/**
|
|
42
|
+
* Constructs a new NamespacesApi.
|
|
43
|
+
* @alias module:api/NamespacesApi
|
|
44
|
+
* @class
|
|
45
|
+
* @param {module:ApiClient} [apiClient] Optional API client implementation to use,
|
|
46
|
+
* default to {@link module:ApiClient#instance} if unspecified.
|
|
47
|
+
*/
|
|
48
|
+
function NamespacesApi(apiClient) {
|
|
49
|
+
_classCallCheck(this, NamespacesApi);
|
|
50
|
+
this.apiClient = apiClient || _ApiClient["default"].instance;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* Callback function to receive the result of the autocompleteNamespaces operation.
|
|
55
|
+
* @callback module:api/NamespacesApi~autocompleteNamespacesCallback
|
|
56
|
+
* @param {String} error Error message, if any.
|
|
57
|
+
* @param {Array.<String>} data The data returned by the service call.
|
|
58
|
+
* @param {String} response The complete HTTP response.
|
|
59
|
+
*/
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* List namespaces for autocomplete
|
|
63
|
+
* Returns a list of namespaces for use in autocomplete fields, optionally allowing to filter by query and ids. Used especially for binding creation.
|
|
64
|
+
* @param {String} tenant
|
|
65
|
+
* @param {module:model/ApiAutocomplete} apiAutocomplete
|
|
66
|
+
* @param {module:api/NamespacesApi~autocompleteNamespacesCallback} callback The callback function, accepting three arguments: error, data, response
|
|
67
|
+
* data is of type: {@link Array.<String>}
|
|
68
|
+
*/
|
|
69
|
+
return _createClass(NamespacesApi, [{
|
|
70
|
+
key: "autocompleteNamespaces",
|
|
71
|
+
value: function autocompleteNamespaces(tenant, apiAutocomplete, callback) {
|
|
72
|
+
var postBody = apiAutocomplete;
|
|
73
|
+
// verify the required parameter 'tenant' is set
|
|
74
|
+
if (tenant === undefined || tenant === null) {
|
|
75
|
+
throw new Error("Missing the required parameter 'tenant' when calling autocompleteNamespaces");
|
|
76
|
+
}
|
|
77
|
+
// verify the required parameter 'apiAutocomplete' is set
|
|
78
|
+
if (apiAutocomplete === undefined || apiAutocomplete === null) {
|
|
79
|
+
throw new Error("Missing the required parameter 'apiAutocomplete' when calling autocompleteNamespaces");
|
|
80
|
+
}
|
|
81
|
+
var pathParams = {
|
|
82
|
+
'tenant': tenant
|
|
83
|
+
};
|
|
84
|
+
var queryParams = {};
|
|
85
|
+
var headerParams = {};
|
|
86
|
+
var formParams = {};
|
|
87
|
+
var authNames = ['basicAuth', 'bearerAuth'];
|
|
88
|
+
var contentTypes = ['application/json'];
|
|
89
|
+
var accepts = ['application/json'];
|
|
90
|
+
var returnType = ['String'];
|
|
91
|
+
return this.apiClient.callApi('/api/v1/{tenant}/namespaces/autocomplete', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
/**
|
|
95
|
+
* Callback function to receive the result of the createNamespace operation.
|
|
96
|
+
* @callback module:api/NamespacesApi~createNamespaceCallback
|
|
97
|
+
* @param {String} error Error message, if any.
|
|
98
|
+
* @param {module:model/Namespace} data The data returned by the service call.
|
|
99
|
+
* @param {String} response The complete HTTP response.
|
|
100
|
+
*/
|
|
101
|
+
|
|
102
|
+
/**
|
|
103
|
+
* Create a namespace
|
|
104
|
+
* @param {String} tenant
|
|
105
|
+
* @param {module:model/Namespace} namespace The namespace
|
|
106
|
+
* @param {module:api/NamespacesApi~createNamespaceCallback} callback The callback function, accepting three arguments: error, data, response
|
|
107
|
+
* data is of type: {@link module:model/Namespace}
|
|
108
|
+
*/
|
|
109
|
+
}, {
|
|
110
|
+
key: "createNamespace",
|
|
111
|
+
value: function createNamespace(tenant, namespace, callback) {
|
|
112
|
+
var postBody = namespace;
|
|
113
|
+
// verify the required parameter 'tenant' is set
|
|
114
|
+
if (tenant === undefined || tenant === null) {
|
|
115
|
+
throw new Error("Missing the required parameter 'tenant' when calling createNamespace");
|
|
116
|
+
}
|
|
117
|
+
// verify the required parameter 'namespace' is set
|
|
118
|
+
if (namespace === undefined || namespace === null) {
|
|
119
|
+
throw new Error("Missing the required parameter 'namespace' when calling createNamespace");
|
|
120
|
+
}
|
|
121
|
+
var pathParams = {
|
|
122
|
+
'tenant': tenant
|
|
123
|
+
};
|
|
124
|
+
var queryParams = {};
|
|
125
|
+
var headerParams = {};
|
|
126
|
+
var formParams = {};
|
|
127
|
+
var authNames = ['basicAuth', 'bearerAuth'];
|
|
128
|
+
var contentTypes = ['application/json'];
|
|
129
|
+
var accepts = ['application/json'];
|
|
130
|
+
var returnType = _Namespace["default"];
|
|
131
|
+
return this.apiClient.callApi('/api/v1/{tenant}/namespaces', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
/**
|
|
135
|
+
* Callback function to receive the result of the deleteNamespace operation.
|
|
136
|
+
* @callback module:api/NamespacesApi~deleteNamespaceCallback
|
|
137
|
+
* @param {String} error Error message, if any.
|
|
138
|
+
* @param data This operation does not return a value.
|
|
139
|
+
* @param {String} response The complete HTTP response.
|
|
140
|
+
*/
|
|
141
|
+
|
|
142
|
+
/**
|
|
143
|
+
* Delete a namespace
|
|
144
|
+
* @param {String} id The namespace id
|
|
145
|
+
* @param {String} tenant
|
|
146
|
+
* @param {module:api/NamespacesApi~deleteNamespaceCallback} callback The callback function, accepting three arguments: error, data, response
|
|
147
|
+
*/
|
|
148
|
+
}, {
|
|
149
|
+
key: "deleteNamespace",
|
|
150
|
+
value: function deleteNamespace(id, tenant, callback) {
|
|
151
|
+
var postBody = null;
|
|
152
|
+
// verify the required parameter 'id' is set
|
|
153
|
+
if (id === undefined || id === null) {
|
|
154
|
+
throw new Error("Missing the required parameter 'id' when calling deleteNamespace");
|
|
155
|
+
}
|
|
156
|
+
// verify the required parameter 'tenant' is set
|
|
157
|
+
if (tenant === undefined || tenant === null) {
|
|
158
|
+
throw new Error("Missing the required parameter 'tenant' when calling deleteNamespace");
|
|
159
|
+
}
|
|
160
|
+
var pathParams = {
|
|
161
|
+
'id': id,
|
|
162
|
+
'tenant': tenant
|
|
163
|
+
};
|
|
164
|
+
var queryParams = {};
|
|
165
|
+
var headerParams = {};
|
|
166
|
+
var formParams = {};
|
|
167
|
+
var authNames = ['basicAuth', 'bearerAuth'];
|
|
168
|
+
var contentTypes = [];
|
|
169
|
+
var accepts = [];
|
|
170
|
+
var returnType = null;
|
|
171
|
+
return this.apiClient.callApi('/api/v1/{tenant}/namespaces/{id}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
/**
|
|
175
|
+
* Callback function to receive the result of the deleteSecret operation.
|
|
176
|
+
* @callback module:api/NamespacesApi~deleteSecretCallback
|
|
177
|
+
* @param {String} error Error message, if any.
|
|
178
|
+
* @param {Array.<String>} data The data returned by the service call.
|
|
179
|
+
* @param {String} response The complete HTTP response.
|
|
180
|
+
*/
|
|
181
|
+
|
|
182
|
+
/**
|
|
183
|
+
* Delete a secret for a namespace
|
|
184
|
+
* @param {String} namespace The namespace id
|
|
185
|
+
* @param {String} key The secret key
|
|
186
|
+
* @param {String} tenant
|
|
187
|
+
* @param {module:api/NamespacesApi~deleteSecretCallback} callback The callback function, accepting three arguments: error, data, response
|
|
188
|
+
* data is of type: {@link Array.<String>}
|
|
189
|
+
*/
|
|
190
|
+
}, {
|
|
191
|
+
key: "deleteSecret",
|
|
192
|
+
value: function deleteSecret(namespace, key, tenant, callback) {
|
|
193
|
+
var postBody = null;
|
|
194
|
+
// verify the required parameter 'namespace' is set
|
|
195
|
+
if (namespace === undefined || namespace === null) {
|
|
196
|
+
throw new Error("Missing the required parameter 'namespace' when calling deleteSecret");
|
|
197
|
+
}
|
|
198
|
+
// verify the required parameter 'key' is set
|
|
199
|
+
if (key === undefined || key === null) {
|
|
200
|
+
throw new Error("Missing the required parameter 'key' when calling deleteSecret");
|
|
201
|
+
}
|
|
202
|
+
// verify the required parameter 'tenant' is set
|
|
203
|
+
if (tenant === undefined || tenant === null) {
|
|
204
|
+
throw new Error("Missing the required parameter 'tenant' when calling deleteSecret");
|
|
205
|
+
}
|
|
206
|
+
var pathParams = {
|
|
207
|
+
'namespace': namespace,
|
|
208
|
+
'key': key,
|
|
209
|
+
'tenant': tenant
|
|
210
|
+
};
|
|
211
|
+
var queryParams = {};
|
|
212
|
+
var headerParams = {};
|
|
213
|
+
var formParams = {};
|
|
214
|
+
var authNames = ['basicAuth', 'bearerAuth'];
|
|
215
|
+
var contentTypes = [];
|
|
216
|
+
var accepts = ['application/json'];
|
|
217
|
+
var returnType = ['String'];
|
|
218
|
+
return this.apiClient.callApi('/api/v1/{tenant}/namespaces/{namespace}/secrets/{key}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
/**
|
|
222
|
+
* Callback function to receive the result of the getInheritedSecrets operation.
|
|
223
|
+
* @callback module:api/NamespacesApi~getInheritedSecretsCallback
|
|
224
|
+
* @param {String} error Error message, if any.
|
|
225
|
+
* @param {Object.<String, {String: [String]}>} data The data returned by the service call.
|
|
226
|
+
* @param {String} response The complete HTTP response.
|
|
227
|
+
*/
|
|
228
|
+
|
|
229
|
+
/**
|
|
230
|
+
* List inherited secrets
|
|
231
|
+
* @param {String} namespace The namespace id
|
|
232
|
+
* @param {String} tenant
|
|
233
|
+
* @param {module:api/NamespacesApi~getInheritedSecretsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
234
|
+
* data is of type: {@link Object.<String, {String: [String]}>}
|
|
235
|
+
*/
|
|
236
|
+
}, {
|
|
237
|
+
key: "getInheritedSecrets",
|
|
238
|
+
value: function getInheritedSecrets(namespace, tenant, callback) {
|
|
239
|
+
var postBody = null;
|
|
240
|
+
// verify the required parameter 'namespace' is set
|
|
241
|
+
if (namespace === undefined || namespace === null) {
|
|
242
|
+
throw new Error("Missing the required parameter 'namespace' when calling getInheritedSecrets");
|
|
243
|
+
}
|
|
244
|
+
// verify the required parameter 'tenant' is set
|
|
245
|
+
if (tenant === undefined || tenant === null) {
|
|
246
|
+
throw new Error("Missing the required parameter 'tenant' when calling getInheritedSecrets");
|
|
247
|
+
}
|
|
248
|
+
var pathParams = {
|
|
249
|
+
'namespace': namespace,
|
|
250
|
+
'tenant': tenant
|
|
251
|
+
};
|
|
252
|
+
var queryParams = {};
|
|
253
|
+
var headerParams = {};
|
|
254
|
+
var formParams = {};
|
|
255
|
+
var authNames = ['basicAuth', 'bearerAuth'];
|
|
256
|
+
var contentTypes = [];
|
|
257
|
+
var accepts = ['application/json'];
|
|
258
|
+
var returnType = {
|
|
259
|
+
'String': ['String']
|
|
260
|
+
};
|
|
261
|
+
return this.apiClient.callApi('/api/v1/{tenant}/namespaces/{namespace}/inherited-secrets', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
/**
|
|
265
|
+
* Callback function to receive the result of the getNamespace operation.
|
|
266
|
+
* @callback module:api/NamespacesApi~getNamespaceCallback
|
|
267
|
+
* @param {String} error Error message, if any.
|
|
268
|
+
* @param {module:model/Namespace} data The data returned by the service call.
|
|
269
|
+
* @param {String} response The complete HTTP response.
|
|
270
|
+
*/
|
|
271
|
+
|
|
272
|
+
/**
|
|
273
|
+
* Retrieve namespace details
|
|
274
|
+
* @param {String} id The namespace id
|
|
275
|
+
* @param {String} tenant
|
|
276
|
+
* @param {module:api/NamespacesApi~getNamespaceCallback} callback The callback function, accepting three arguments: error, data, response
|
|
277
|
+
* data is of type: {@link module:model/Namespace}
|
|
278
|
+
*/
|
|
279
|
+
}, {
|
|
280
|
+
key: "getNamespace",
|
|
281
|
+
value: function getNamespace(id, tenant, callback) {
|
|
282
|
+
var postBody = null;
|
|
283
|
+
// verify the required parameter 'id' is set
|
|
284
|
+
if (id === undefined || id === null) {
|
|
285
|
+
throw new Error("Missing the required parameter 'id' when calling getNamespace");
|
|
286
|
+
}
|
|
287
|
+
// verify the required parameter 'tenant' is set
|
|
288
|
+
if (tenant === undefined || tenant === null) {
|
|
289
|
+
throw new Error("Missing the required parameter 'tenant' when calling getNamespace");
|
|
290
|
+
}
|
|
291
|
+
var pathParams = {
|
|
292
|
+
'id': id,
|
|
293
|
+
'tenant': tenant
|
|
294
|
+
};
|
|
295
|
+
var queryParams = {};
|
|
296
|
+
var headerParams = {};
|
|
297
|
+
var formParams = {};
|
|
298
|
+
var authNames = ['basicAuth', 'bearerAuth'];
|
|
299
|
+
var contentTypes = [];
|
|
300
|
+
var accepts = ['application/json'];
|
|
301
|
+
var returnType = _Namespace["default"];
|
|
302
|
+
return this.apiClient.callApi('/api/v1/{tenant}/namespaces/{id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
/**
|
|
306
|
+
* Callback function to receive the result of the inheritedPluginDefaults operation.
|
|
307
|
+
* @callback module:api/NamespacesApi~inheritedPluginDefaultsCallback
|
|
308
|
+
* @param {String} error Error message, if any.
|
|
309
|
+
* @param {Array.<module:model/PluginDefault>} data The data returned by the service call.
|
|
310
|
+
* @param {String} response The complete HTTP response.
|
|
311
|
+
*/
|
|
312
|
+
|
|
313
|
+
/**
|
|
314
|
+
* List inherited plugin defaults
|
|
315
|
+
* @param {String} id The namespace id
|
|
316
|
+
* @param {String} tenant
|
|
317
|
+
* @param {module:api/NamespacesApi~inheritedPluginDefaultsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
318
|
+
* data is of type: {@link Array.<module:model/PluginDefault>}
|
|
319
|
+
*/
|
|
320
|
+
}, {
|
|
321
|
+
key: "inheritedPluginDefaults",
|
|
322
|
+
value: function inheritedPluginDefaults(id, tenant, callback) {
|
|
323
|
+
var postBody = null;
|
|
324
|
+
// verify the required parameter 'id' is set
|
|
325
|
+
if (id === undefined || id === null) {
|
|
326
|
+
throw new Error("Missing the required parameter 'id' when calling inheritedPluginDefaults");
|
|
327
|
+
}
|
|
328
|
+
// verify the required parameter 'tenant' is set
|
|
329
|
+
if (tenant === undefined || tenant === null) {
|
|
330
|
+
throw new Error("Missing the required parameter 'tenant' when calling inheritedPluginDefaults");
|
|
331
|
+
}
|
|
332
|
+
var pathParams = {
|
|
333
|
+
'id': id,
|
|
334
|
+
'tenant': tenant
|
|
335
|
+
};
|
|
336
|
+
var queryParams = {};
|
|
337
|
+
var headerParams = {};
|
|
338
|
+
var formParams = {};
|
|
339
|
+
var authNames = ['basicAuth', 'bearerAuth'];
|
|
340
|
+
var contentTypes = [];
|
|
341
|
+
var accepts = ['application/json'];
|
|
342
|
+
var returnType = [_PluginDefault["default"]];
|
|
343
|
+
return this.apiClient.callApi('/api/v1/{tenant}/namespaces/{id}/inherited-plugindefaults', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
/**
|
|
347
|
+
* Callback function to receive the result of the inheritedVariables operation.
|
|
348
|
+
* @callback module:api/NamespacesApi~inheritedVariablesCallback
|
|
349
|
+
* @param {String} error Error message, if any.
|
|
350
|
+
* @param {Object.<String, {String: Object}>} data The data returned by the service call.
|
|
351
|
+
* @param {String} response The complete HTTP response.
|
|
352
|
+
*/
|
|
353
|
+
|
|
354
|
+
/**
|
|
355
|
+
* List inherited variables
|
|
356
|
+
* @param {String} id The namespace id
|
|
357
|
+
* @param {String} tenant
|
|
358
|
+
* @param {module:api/NamespacesApi~inheritedVariablesCallback} callback The callback function, accepting three arguments: error, data, response
|
|
359
|
+
* data is of type: {@link Object.<String, {String: Object}>}
|
|
360
|
+
*/
|
|
361
|
+
}, {
|
|
362
|
+
key: "inheritedVariables",
|
|
363
|
+
value: function inheritedVariables(id, tenant, callback) {
|
|
364
|
+
var postBody = null;
|
|
365
|
+
// verify the required parameter 'id' is set
|
|
366
|
+
if (id === undefined || id === null) {
|
|
367
|
+
throw new Error("Missing the required parameter 'id' when calling inheritedVariables");
|
|
368
|
+
}
|
|
369
|
+
// verify the required parameter 'tenant' is set
|
|
370
|
+
if (tenant === undefined || tenant === null) {
|
|
371
|
+
throw new Error("Missing the required parameter 'tenant' when calling inheritedVariables");
|
|
372
|
+
}
|
|
373
|
+
var pathParams = {
|
|
374
|
+
'id': id,
|
|
375
|
+
'tenant': tenant
|
|
376
|
+
};
|
|
377
|
+
var queryParams = {};
|
|
378
|
+
var headerParams = {};
|
|
379
|
+
var formParams = {};
|
|
380
|
+
var authNames = ['basicAuth', 'bearerAuth'];
|
|
381
|
+
var contentTypes = [];
|
|
382
|
+
var accepts = ['application/json'];
|
|
383
|
+
var returnType = {
|
|
384
|
+
'String': Object
|
|
385
|
+
};
|
|
386
|
+
return this.apiClient.callApi('/api/v1/{tenant}/namespaces/{id}/inherited-variables', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
387
|
+
}
|
|
388
|
+
|
|
389
|
+
/**
|
|
390
|
+
* Callback function to receive the result of the listNamespaceSecrets operation.
|
|
391
|
+
* @callback module:api/NamespacesApi~listNamespaceSecretsCallback
|
|
392
|
+
* @param {String} error Error message, if any.
|
|
393
|
+
* @param {module:model/ApiSecretListResponse} data The data returned by the service call.
|
|
394
|
+
* @param {String} response The complete HTTP response.
|
|
395
|
+
*/
|
|
396
|
+
|
|
397
|
+
/**
|
|
398
|
+
* Get secrets for a namespace
|
|
399
|
+
* @param {String} namespace The namespace id
|
|
400
|
+
* @param {Number} page The current page
|
|
401
|
+
* @param {Number} size The current page size
|
|
402
|
+
* @param {Array.<module:model/QueryFilter>} filters Filters
|
|
403
|
+
* @param {String} tenant
|
|
404
|
+
* @param {Object} opts Optional parameters
|
|
405
|
+
* @param {Array.<String>} [sort] The sort of current page
|
|
406
|
+
* @param {module:api/NamespacesApi~listNamespaceSecretsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
407
|
+
* data is of type: {@link module:model/ApiSecretListResponse}
|
|
408
|
+
*/
|
|
409
|
+
}, {
|
|
410
|
+
key: "listNamespaceSecrets",
|
|
411
|
+
value: function listNamespaceSecrets(namespace, page, size, filters, tenant, opts, callback) {
|
|
412
|
+
opts = opts || {};
|
|
413
|
+
var postBody = null;
|
|
414
|
+
// verify the required parameter 'namespace' is set
|
|
415
|
+
if (namespace === undefined || namespace === null) {
|
|
416
|
+
throw new Error("Missing the required parameter 'namespace' when calling listNamespaceSecrets");
|
|
417
|
+
}
|
|
418
|
+
// verify the required parameter 'page' is set
|
|
419
|
+
if (page === undefined || page === null) {
|
|
420
|
+
throw new Error("Missing the required parameter 'page' when calling listNamespaceSecrets");
|
|
421
|
+
}
|
|
422
|
+
// verify the required parameter 'size' is set
|
|
423
|
+
if (size === undefined || size === null) {
|
|
424
|
+
throw new Error("Missing the required parameter 'size' when calling listNamespaceSecrets");
|
|
425
|
+
}
|
|
426
|
+
// verify the required parameter 'filters' is set
|
|
427
|
+
if (filters === undefined || filters === null) {
|
|
428
|
+
throw new Error("Missing the required parameter 'filters' when calling listNamespaceSecrets");
|
|
429
|
+
}
|
|
430
|
+
// verify the required parameter 'tenant' is set
|
|
431
|
+
if (tenant === undefined || tenant === null) {
|
|
432
|
+
throw new Error("Missing the required parameter 'tenant' when calling listNamespaceSecrets");
|
|
433
|
+
}
|
|
434
|
+
var pathParams = {
|
|
435
|
+
'namespace': namespace,
|
|
436
|
+
'tenant': tenant
|
|
437
|
+
};
|
|
438
|
+
var queryParams = {
|
|
439
|
+
'page': page,
|
|
440
|
+
'size': size,
|
|
441
|
+
'sort': this.apiClient.buildCollectionParam(opts['sort'], 'csv'),
|
|
442
|
+
'filters': this.apiClient.buildCollectionParam(filters, 'csv')
|
|
443
|
+
};
|
|
444
|
+
var headerParams = {};
|
|
445
|
+
var formParams = {};
|
|
446
|
+
var authNames = ['basicAuth', 'bearerAuth'];
|
|
447
|
+
var contentTypes = [];
|
|
448
|
+
var accepts = ['application/json'];
|
|
449
|
+
var returnType = _ApiSecretListResponse["default"];
|
|
450
|
+
return this.apiClient.callApi('/api/v1/{tenant}/namespaces/{namespace}/secrets', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
451
|
+
}
|
|
452
|
+
|
|
453
|
+
/**
|
|
454
|
+
* Callback function to receive the result of the patchSecret operation.
|
|
455
|
+
* @callback module:api/NamespacesApi~patchSecretCallback
|
|
456
|
+
* @param {String} error Error message, if any.
|
|
457
|
+
* @param {Array.<module:model/ApiSecretMeta>} data The data returned by the service call.
|
|
458
|
+
* @param {String} response The complete HTTP response.
|
|
459
|
+
*/
|
|
460
|
+
|
|
461
|
+
/**
|
|
462
|
+
* Patch a secret metadata for a namespace
|
|
463
|
+
* @param {String} namespace The namespace id
|
|
464
|
+
* @param {String} tenant
|
|
465
|
+
* @param {String} key
|
|
466
|
+
* @param {module:model/ApiSecretMetaEE} apiSecretMetaEE
|
|
467
|
+
* @param {module:api/NamespacesApi~patchSecretCallback} callback The callback function, accepting three arguments: error, data, response
|
|
468
|
+
* data is of type: {@link Array.<module:model/ApiSecretMeta>}
|
|
469
|
+
*/
|
|
470
|
+
}, {
|
|
471
|
+
key: "patchSecret",
|
|
472
|
+
value: function patchSecret(namespace, tenant, key, apiSecretMetaEE, callback) {
|
|
473
|
+
var postBody = apiSecretMetaEE;
|
|
474
|
+
// verify the required parameter 'namespace' is set
|
|
475
|
+
if (namespace === undefined || namespace === null) {
|
|
476
|
+
throw new Error("Missing the required parameter 'namespace' when calling patchSecret");
|
|
477
|
+
}
|
|
478
|
+
// verify the required parameter 'tenant' is set
|
|
479
|
+
if (tenant === undefined || tenant === null) {
|
|
480
|
+
throw new Error("Missing the required parameter 'tenant' when calling patchSecret");
|
|
481
|
+
}
|
|
482
|
+
// verify the required parameter 'key' is set
|
|
483
|
+
if (key === undefined || key === null) {
|
|
484
|
+
throw new Error("Missing the required parameter 'key' when calling patchSecret");
|
|
485
|
+
}
|
|
486
|
+
// verify the required parameter 'apiSecretMetaEE' is set
|
|
487
|
+
if (apiSecretMetaEE === undefined || apiSecretMetaEE === null) {
|
|
488
|
+
throw new Error("Missing the required parameter 'apiSecretMetaEE' when calling patchSecret");
|
|
489
|
+
}
|
|
490
|
+
var pathParams = {
|
|
491
|
+
'namespace': namespace,
|
|
492
|
+
'tenant': tenant,
|
|
493
|
+
'key': key
|
|
494
|
+
};
|
|
495
|
+
var queryParams = {};
|
|
496
|
+
var headerParams = {};
|
|
497
|
+
var formParams = {};
|
|
498
|
+
var authNames = ['basicAuth', 'bearerAuth'];
|
|
499
|
+
var contentTypes = ['application/json'];
|
|
500
|
+
var accepts = ['application/json'];
|
|
501
|
+
var returnType = [_ApiSecretMeta["default"]];
|
|
502
|
+
return this.apiClient.callApi('/api/v1/{tenant}/namespaces/{namespace}/secrets/{key}', 'PATCH', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
503
|
+
}
|
|
504
|
+
|
|
505
|
+
/**
|
|
506
|
+
* Callback function to receive the result of the putSecrets operation.
|
|
507
|
+
* @callback module:api/NamespacesApi~putSecretsCallback
|
|
508
|
+
* @param {String} error Error message, if any.
|
|
509
|
+
* @param {Array.<module:model/ApiSecretMeta>} data The data returned by the service call.
|
|
510
|
+
* @param {String} response The complete HTTP response.
|
|
511
|
+
*/
|
|
512
|
+
|
|
513
|
+
/**
|
|
514
|
+
* Update secrets for a namespace
|
|
515
|
+
* @param {String} namespace The namespace id
|
|
516
|
+
* @param {String} tenant
|
|
517
|
+
* @param {module:model/ApiSecretValue} apiSecretValue
|
|
518
|
+
* @param {module:api/NamespacesApi~putSecretsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
519
|
+
* data is of type: {@link Array.<module:model/ApiSecretMeta>}
|
|
520
|
+
*/
|
|
521
|
+
}, {
|
|
522
|
+
key: "putSecrets",
|
|
523
|
+
value: function putSecrets(namespace, tenant, apiSecretValue, callback) {
|
|
524
|
+
var postBody = apiSecretValue;
|
|
525
|
+
// verify the required parameter 'namespace' is set
|
|
526
|
+
if (namespace === undefined || namespace === null) {
|
|
527
|
+
throw new Error("Missing the required parameter 'namespace' when calling putSecrets");
|
|
528
|
+
}
|
|
529
|
+
// verify the required parameter 'tenant' is set
|
|
530
|
+
if (tenant === undefined || tenant === null) {
|
|
531
|
+
throw new Error("Missing the required parameter 'tenant' when calling putSecrets");
|
|
532
|
+
}
|
|
533
|
+
// verify the required parameter 'apiSecretValue' is set
|
|
534
|
+
if (apiSecretValue === undefined || apiSecretValue === null) {
|
|
535
|
+
throw new Error("Missing the required parameter 'apiSecretValue' when calling putSecrets");
|
|
536
|
+
}
|
|
537
|
+
var pathParams = {
|
|
538
|
+
'namespace': namespace,
|
|
539
|
+
'tenant': tenant
|
|
540
|
+
};
|
|
541
|
+
var queryParams = {};
|
|
542
|
+
var headerParams = {};
|
|
543
|
+
var formParams = {};
|
|
544
|
+
var authNames = ['basicAuth', 'bearerAuth'];
|
|
545
|
+
var contentTypes = ['application/json'];
|
|
546
|
+
var accepts = ['application/json'];
|
|
547
|
+
var returnType = [_ApiSecretMeta["default"]];
|
|
548
|
+
return this.apiClient.callApi('/api/v1/{tenant}/namespaces/{namespace}/secrets', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
549
|
+
}
|
|
550
|
+
|
|
551
|
+
/**
|
|
552
|
+
* Callback function to receive the result of the searchNamespaces operation.
|
|
553
|
+
* @callback module:api/NamespacesApi~searchNamespacesCallback
|
|
554
|
+
* @param {String} error Error message, if any.
|
|
555
|
+
* @param {module:model/PagedResultsNamespaceWithDisabled} data The data returned by the service call.
|
|
556
|
+
* @param {String} response The complete HTTP response.
|
|
557
|
+
*/
|
|
558
|
+
|
|
559
|
+
/**
|
|
560
|
+
* Search for namespaces
|
|
561
|
+
* @param {Number} page The current page
|
|
562
|
+
* @param {Number} size The current page size
|
|
563
|
+
* @param {String} tenant
|
|
564
|
+
* @param {Object} opts Optional parameters
|
|
565
|
+
* @param {String} [q] A string filter
|
|
566
|
+
* @param {Array.<String>} [sort] The sort of current page
|
|
567
|
+
* @param {Boolean} [existing = false)] Return only existing namespace
|
|
568
|
+
* @param {module:api/NamespacesApi~searchNamespacesCallback} callback The callback function, accepting three arguments: error, data, response
|
|
569
|
+
* data is of type: {@link module:model/PagedResultsNamespaceWithDisabled}
|
|
570
|
+
*/
|
|
571
|
+
}, {
|
|
572
|
+
key: "searchNamespaces",
|
|
573
|
+
value: function searchNamespaces(page, size, tenant, opts, callback) {
|
|
574
|
+
opts = opts || {};
|
|
575
|
+
var postBody = null;
|
|
576
|
+
// verify the required parameter 'page' is set
|
|
577
|
+
if (page === undefined || page === null) {
|
|
578
|
+
throw new Error("Missing the required parameter 'page' when calling searchNamespaces");
|
|
579
|
+
}
|
|
580
|
+
// verify the required parameter 'size' is set
|
|
581
|
+
if (size === undefined || size === null) {
|
|
582
|
+
throw new Error("Missing the required parameter 'size' when calling searchNamespaces");
|
|
583
|
+
}
|
|
584
|
+
// verify the required parameter 'tenant' is set
|
|
585
|
+
if (tenant === undefined || tenant === null) {
|
|
586
|
+
throw new Error("Missing the required parameter 'tenant' when calling searchNamespaces");
|
|
587
|
+
}
|
|
588
|
+
var pathParams = {
|
|
589
|
+
'tenant': tenant
|
|
590
|
+
};
|
|
591
|
+
var queryParams = {
|
|
592
|
+
'q': opts['q'],
|
|
593
|
+
'page': page,
|
|
594
|
+
'size': size,
|
|
595
|
+
'sort': this.apiClient.buildCollectionParam(opts['sort'], 'csv'),
|
|
596
|
+
'existing': opts['existing']
|
|
597
|
+
};
|
|
598
|
+
var headerParams = {};
|
|
599
|
+
var formParams = {};
|
|
600
|
+
var authNames = ['basicAuth', 'bearerAuth'];
|
|
601
|
+
var contentTypes = [];
|
|
602
|
+
var accepts = ['application/json'];
|
|
603
|
+
var returnType = _PagedResultsNamespaceWithDisabled["default"];
|
|
604
|
+
return this.apiClient.callApi('/api/v1/{tenant}/namespaces/search', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
605
|
+
}
|
|
606
|
+
|
|
607
|
+
/**
|
|
608
|
+
* Callback function to receive the result of the updateNamespace operation.
|
|
609
|
+
* @callback module:api/NamespacesApi~updateNamespaceCallback
|
|
610
|
+
* @param {String} error Error message, if any.
|
|
611
|
+
* @param {module:model/Namespace} data The data returned by the service call.
|
|
612
|
+
* @param {String} response The complete HTTP response.
|
|
613
|
+
*/
|
|
614
|
+
|
|
615
|
+
/**
|
|
616
|
+
* Update a namespace
|
|
617
|
+
* @param {String} id The namespace id
|
|
618
|
+
* @param {String} tenant
|
|
619
|
+
* @param {module:model/Namespace} namespace The namespace
|
|
620
|
+
* @param {module:api/NamespacesApi~updateNamespaceCallback} callback The callback function, accepting three arguments: error, data, response
|
|
621
|
+
* data is of type: {@link module:model/Namespace}
|
|
622
|
+
*/
|
|
623
|
+
}, {
|
|
624
|
+
key: "updateNamespace",
|
|
625
|
+
value: function updateNamespace(id, tenant, namespace, callback) {
|
|
626
|
+
var postBody = namespace;
|
|
627
|
+
// verify the required parameter 'id' is set
|
|
628
|
+
if (id === undefined || id === null) {
|
|
629
|
+
throw new Error("Missing the required parameter 'id' when calling updateNamespace");
|
|
630
|
+
}
|
|
631
|
+
// verify the required parameter 'tenant' is set
|
|
632
|
+
if (tenant === undefined || tenant === null) {
|
|
633
|
+
throw new Error("Missing the required parameter 'tenant' when calling updateNamespace");
|
|
634
|
+
}
|
|
635
|
+
// verify the required parameter 'namespace' is set
|
|
636
|
+
if (namespace === undefined || namespace === null) {
|
|
637
|
+
throw new Error("Missing the required parameter 'namespace' when calling updateNamespace");
|
|
638
|
+
}
|
|
639
|
+
var pathParams = {
|
|
640
|
+
'id': id,
|
|
641
|
+
'tenant': tenant
|
|
642
|
+
};
|
|
643
|
+
var queryParams = {};
|
|
644
|
+
var headerParams = {};
|
|
645
|
+
var formParams = {};
|
|
646
|
+
var authNames = ['basicAuth', 'bearerAuth'];
|
|
647
|
+
var contentTypes = ['application/json'];
|
|
648
|
+
var accepts = ['application/json'];
|
|
649
|
+
var returnType = _Namespace["default"];
|
|
650
|
+
return this.apiClient.callApi('/api/v1/{tenant}/namespaces/{id}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
651
|
+
}
|
|
652
|
+
}]);
|
|
653
|
+
}();
|