@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,269 @@
|
|
|
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 _BindingType = _interopRequireDefault(require("../model/BindingType"));
|
|
9
|
+
var _IAMBindingControllerApiBindingDetail = _interopRequireDefault(require("../model/IAMBindingControllerApiBindingDetail"));
|
|
10
|
+
var _IAMBindingControllerApiCreateBindingRequest = _interopRequireDefault(require("../model/IAMBindingControllerApiCreateBindingRequest"));
|
|
11
|
+
var _PagedResultsIAMBindingControllerApiBindingDetail = _interopRequireDefault(require("../model/PagedResultsIAMBindingControllerApiBindingDetail"));
|
|
12
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
13
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
14
|
+
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
15
|
+
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); } }
|
|
16
|
+
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
17
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
18
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /**
|
|
19
|
+
* Kestra EE
|
|
20
|
+
* All API operations, except for Superadmin-only endpoints, require a tenant identifier in the HTTP path.<br/> Endpoints designated as Superadmin-only are not tenant-scoped.
|
|
21
|
+
*
|
|
22
|
+
* The version of the OpenAPI document: v1
|
|
23
|
+
*
|
|
24
|
+
*
|
|
25
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
26
|
+
* https://openapi-generator.tech
|
|
27
|
+
* Do not edit the class manually.
|
|
28
|
+
*
|
|
29
|
+
*/
|
|
30
|
+
/**
|
|
31
|
+
* Bindings service.
|
|
32
|
+
* @module api/BindingsApi
|
|
33
|
+
* @version v0.24.0
|
|
34
|
+
*/
|
|
35
|
+
var BindingsApi = exports["default"] = /*#__PURE__*/function () {
|
|
36
|
+
/**
|
|
37
|
+
* Constructs a new BindingsApi.
|
|
38
|
+
* @alias module:api/BindingsApi
|
|
39
|
+
* @class
|
|
40
|
+
* @param {module:ApiClient} [apiClient] Optional API client implementation to use,
|
|
41
|
+
* default to {@link module:ApiClient#instance} if unspecified.
|
|
42
|
+
*/
|
|
43
|
+
function BindingsApi(apiClient) {
|
|
44
|
+
_classCallCheck(this, BindingsApi);
|
|
45
|
+
this.apiClient = apiClient || _ApiClient["default"].instance;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Callback function to receive the result of the bulkCreateBinding operation.
|
|
50
|
+
* @callback module:api/BindingsApi~bulkCreateBindingCallback
|
|
51
|
+
* @param {String} error Error message, if any.
|
|
52
|
+
* @param {Array.<module:model/IAMBindingControllerApiBindingDetail>} data The data returned by the service call.
|
|
53
|
+
* @param {String} response The complete HTTP response.
|
|
54
|
+
*/
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* Create multiple bindings
|
|
58
|
+
* @param {String} tenant
|
|
59
|
+
* @param {Array.<module:model/IAMBindingControllerApiCreateBindingRequest>} iAMBindingControllerApiCreateBindingRequest The bindings
|
|
60
|
+
* @param {module:api/BindingsApi~bulkCreateBindingCallback} callback The callback function, accepting three arguments: error, data, response
|
|
61
|
+
* data is of type: {@link Array.<module:model/IAMBindingControllerApiBindingDetail>}
|
|
62
|
+
*/
|
|
63
|
+
return _createClass(BindingsApi, [{
|
|
64
|
+
key: "bulkCreateBinding",
|
|
65
|
+
value: function bulkCreateBinding(tenant, iAMBindingControllerApiCreateBindingRequest, callback) {
|
|
66
|
+
var postBody = iAMBindingControllerApiCreateBindingRequest;
|
|
67
|
+
// verify the required parameter 'tenant' is set
|
|
68
|
+
if (tenant === undefined || tenant === null) {
|
|
69
|
+
throw new Error("Missing the required parameter 'tenant' when calling bulkCreateBinding");
|
|
70
|
+
}
|
|
71
|
+
// verify the required parameter 'iAMBindingControllerApiCreateBindingRequest' is set
|
|
72
|
+
if (iAMBindingControllerApiCreateBindingRequest === undefined || iAMBindingControllerApiCreateBindingRequest === null) {
|
|
73
|
+
throw new Error("Missing the required parameter 'iAMBindingControllerApiCreateBindingRequest' when calling bulkCreateBinding");
|
|
74
|
+
}
|
|
75
|
+
var pathParams = {
|
|
76
|
+
'tenant': tenant
|
|
77
|
+
};
|
|
78
|
+
var queryParams = {};
|
|
79
|
+
var headerParams = {};
|
|
80
|
+
var formParams = {};
|
|
81
|
+
var authNames = ['basicAuth', 'bearerAuth'];
|
|
82
|
+
var contentTypes = ['application/json'];
|
|
83
|
+
var accepts = ['application/json'];
|
|
84
|
+
var returnType = [_IAMBindingControllerApiBindingDetail["default"]];
|
|
85
|
+
return this.apiClient.callApi('/api/v1/{tenant}/bindings/bulk', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
/**
|
|
89
|
+
* Callback function to receive the result of the createBinding operation.
|
|
90
|
+
* @callback module:api/BindingsApi~createBindingCallback
|
|
91
|
+
* @param {String} error Error message, if any.
|
|
92
|
+
* @param {module:model/IAMBindingControllerApiBindingDetail} data The data returned by the service call.
|
|
93
|
+
* @param {String} response The complete HTTP response.
|
|
94
|
+
*/
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* Create a binding
|
|
98
|
+
* @param {String} tenant
|
|
99
|
+
* @param {module:model/IAMBindingControllerApiCreateBindingRequest} iAMBindingControllerApiCreateBindingRequest The binding
|
|
100
|
+
* @param {module:api/BindingsApi~createBindingCallback} callback The callback function, accepting three arguments: error, data, response
|
|
101
|
+
* data is of type: {@link module:model/IAMBindingControllerApiBindingDetail}
|
|
102
|
+
*/
|
|
103
|
+
}, {
|
|
104
|
+
key: "createBinding",
|
|
105
|
+
value: function createBinding(tenant, iAMBindingControllerApiCreateBindingRequest, callback) {
|
|
106
|
+
var postBody = iAMBindingControllerApiCreateBindingRequest;
|
|
107
|
+
// verify the required parameter 'tenant' is set
|
|
108
|
+
if (tenant === undefined || tenant === null) {
|
|
109
|
+
throw new Error("Missing the required parameter 'tenant' when calling createBinding");
|
|
110
|
+
}
|
|
111
|
+
// verify the required parameter 'iAMBindingControllerApiCreateBindingRequest' is set
|
|
112
|
+
if (iAMBindingControllerApiCreateBindingRequest === undefined || iAMBindingControllerApiCreateBindingRequest === null) {
|
|
113
|
+
throw new Error("Missing the required parameter 'iAMBindingControllerApiCreateBindingRequest' when calling createBinding");
|
|
114
|
+
}
|
|
115
|
+
var pathParams = {
|
|
116
|
+
'tenant': tenant
|
|
117
|
+
};
|
|
118
|
+
var queryParams = {};
|
|
119
|
+
var headerParams = {};
|
|
120
|
+
var formParams = {};
|
|
121
|
+
var authNames = ['basicAuth', 'bearerAuth'];
|
|
122
|
+
var contentTypes = ['application/json'];
|
|
123
|
+
var accepts = ['application/json'];
|
|
124
|
+
var returnType = _IAMBindingControllerApiBindingDetail["default"];
|
|
125
|
+
return this.apiClient.callApi('/api/v1/{tenant}/bindings', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
/**
|
|
129
|
+
* Callback function to receive the result of the deleteBinding operation.
|
|
130
|
+
* @callback module:api/BindingsApi~deleteBindingCallback
|
|
131
|
+
* @param {String} error Error message, if any.
|
|
132
|
+
* @param data This operation does not return a value.
|
|
133
|
+
* @param {String} response The complete HTTP response.
|
|
134
|
+
*/
|
|
135
|
+
|
|
136
|
+
/**
|
|
137
|
+
* Delete a binding
|
|
138
|
+
* @param {String} id The binding id
|
|
139
|
+
* @param {String} tenant
|
|
140
|
+
* @param {module:api/BindingsApi~deleteBindingCallback} callback The callback function, accepting three arguments: error, data, response
|
|
141
|
+
*/
|
|
142
|
+
}, {
|
|
143
|
+
key: "deleteBinding",
|
|
144
|
+
value: function deleteBinding(id, tenant, callback) {
|
|
145
|
+
var postBody = null;
|
|
146
|
+
// verify the required parameter 'id' is set
|
|
147
|
+
if (id === undefined || id === null) {
|
|
148
|
+
throw new Error("Missing the required parameter 'id' when calling deleteBinding");
|
|
149
|
+
}
|
|
150
|
+
// verify the required parameter 'tenant' is set
|
|
151
|
+
if (tenant === undefined || tenant === null) {
|
|
152
|
+
throw new Error("Missing the required parameter 'tenant' when calling deleteBinding");
|
|
153
|
+
}
|
|
154
|
+
var pathParams = {
|
|
155
|
+
'id': id,
|
|
156
|
+
'tenant': tenant
|
|
157
|
+
};
|
|
158
|
+
var queryParams = {};
|
|
159
|
+
var headerParams = {};
|
|
160
|
+
var formParams = {};
|
|
161
|
+
var authNames = ['basicAuth', 'bearerAuth'];
|
|
162
|
+
var contentTypes = [];
|
|
163
|
+
var accepts = [];
|
|
164
|
+
var returnType = null;
|
|
165
|
+
return this.apiClient.callApi('/api/v1/{tenant}/bindings/{id}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
/**
|
|
169
|
+
* Callback function to receive the result of the getBinding operation.
|
|
170
|
+
* @callback module:api/BindingsApi~getBindingCallback
|
|
171
|
+
* @param {String} error Error message, if any.
|
|
172
|
+
* @param {module:model/IAMBindingControllerApiBindingDetail} data The data returned by the service call.
|
|
173
|
+
* @param {String} response The complete HTTP response.
|
|
174
|
+
*/
|
|
175
|
+
|
|
176
|
+
/**
|
|
177
|
+
* Retrieve a binding
|
|
178
|
+
* @param {String} id The binding id
|
|
179
|
+
* @param {String} tenant
|
|
180
|
+
* @param {module:api/BindingsApi~getBindingCallback} callback The callback function, accepting three arguments: error, data, response
|
|
181
|
+
* data is of type: {@link module:model/IAMBindingControllerApiBindingDetail}
|
|
182
|
+
*/
|
|
183
|
+
}, {
|
|
184
|
+
key: "getBinding",
|
|
185
|
+
value: function getBinding(id, tenant, callback) {
|
|
186
|
+
var postBody = null;
|
|
187
|
+
// verify the required parameter 'id' is set
|
|
188
|
+
if (id === undefined || id === null) {
|
|
189
|
+
throw new Error("Missing the required parameter 'id' when calling getBinding");
|
|
190
|
+
}
|
|
191
|
+
// verify the required parameter 'tenant' is set
|
|
192
|
+
if (tenant === undefined || tenant === null) {
|
|
193
|
+
throw new Error("Missing the required parameter 'tenant' when calling getBinding");
|
|
194
|
+
}
|
|
195
|
+
var pathParams = {
|
|
196
|
+
'id': id,
|
|
197
|
+
'tenant': tenant
|
|
198
|
+
};
|
|
199
|
+
var queryParams = {};
|
|
200
|
+
var headerParams = {};
|
|
201
|
+
var formParams = {};
|
|
202
|
+
var authNames = ['basicAuth', 'bearerAuth'];
|
|
203
|
+
var contentTypes = [];
|
|
204
|
+
var accepts = ['application/json'];
|
|
205
|
+
var returnType = _IAMBindingControllerApiBindingDetail["default"];
|
|
206
|
+
return this.apiClient.callApi('/api/v1/{tenant}/bindings/{id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
/**
|
|
210
|
+
* Callback function to receive the result of the searchBindings operation.
|
|
211
|
+
* @callback module:api/BindingsApi~searchBindingsCallback
|
|
212
|
+
* @param {String} error Error message, if any.
|
|
213
|
+
* @param {module:model/PagedResultsIAMBindingControllerApiBindingDetail} data The data returned by the service call.
|
|
214
|
+
* @param {String} response The complete HTTP response.
|
|
215
|
+
*/
|
|
216
|
+
|
|
217
|
+
/**
|
|
218
|
+
* Search for bindings
|
|
219
|
+
* @param {Number} page The current page
|
|
220
|
+
* @param {Number} size The current page size
|
|
221
|
+
* @param {String} tenant
|
|
222
|
+
* @param {Object} opts Optional parameters
|
|
223
|
+
* @param {String} [q] A string filter
|
|
224
|
+
* @param {Array.<String>} [sort] The sort of current page
|
|
225
|
+
* @param {module:model/BindingType} [type] Binding type filter
|
|
226
|
+
* @param {String} [id] External id filter
|
|
227
|
+
* @param {String} [namespace] A namespace filter
|
|
228
|
+
* @param {module:api/BindingsApi~searchBindingsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
229
|
+
* data is of type: {@link module:model/PagedResultsIAMBindingControllerApiBindingDetail}
|
|
230
|
+
*/
|
|
231
|
+
}, {
|
|
232
|
+
key: "searchBindings",
|
|
233
|
+
value: function searchBindings(page, size, tenant, opts, callback) {
|
|
234
|
+
opts = opts || {};
|
|
235
|
+
var postBody = null;
|
|
236
|
+
// verify the required parameter 'page' is set
|
|
237
|
+
if (page === undefined || page === null) {
|
|
238
|
+
throw new Error("Missing the required parameter 'page' when calling searchBindings");
|
|
239
|
+
}
|
|
240
|
+
// verify the required parameter 'size' is set
|
|
241
|
+
if (size === undefined || size === null) {
|
|
242
|
+
throw new Error("Missing the required parameter 'size' when calling searchBindings");
|
|
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 searchBindings");
|
|
247
|
+
}
|
|
248
|
+
var pathParams = {
|
|
249
|
+
'tenant': tenant
|
|
250
|
+
};
|
|
251
|
+
var queryParams = {
|
|
252
|
+
'q': opts['q'],
|
|
253
|
+
'page': page,
|
|
254
|
+
'size': size,
|
|
255
|
+
'sort': this.apiClient.buildCollectionParam(opts['sort'], 'csv'),
|
|
256
|
+
'type': opts['type'],
|
|
257
|
+
'id': opts['id'],
|
|
258
|
+
'namespace': opts['namespace']
|
|
259
|
+
};
|
|
260
|
+
var headerParams = {};
|
|
261
|
+
var formParams = {};
|
|
262
|
+
var authNames = ['basicAuth', 'bearerAuth'];
|
|
263
|
+
var contentTypes = [];
|
|
264
|
+
var accepts = ['application/json'];
|
|
265
|
+
var returnType = _PagedResultsIAMBindingControllerApiBindingDetail["default"];
|
|
266
|
+
return this.apiClient.callApi('/api/v1/{tenant}/bindings/search', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
267
|
+
}
|
|
268
|
+
}]);
|
|
269
|
+
}();
|
|
@@ -0,0 +1,134 @@
|
|
|
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 _BlueprintControllerApiBlueprintTagItem = _interopRequireDefault(require("../model/BlueprintControllerApiBlueprintTagItem"));
|
|
9
|
+
var _BlueprintControllerKind = _interopRequireDefault(require("../model/BlueprintControllerKind"));
|
|
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 _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
13
|
+
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); } }
|
|
14
|
+
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
15
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
16
|
+
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); } /**
|
|
17
|
+
* Kestra EE
|
|
18
|
+
* 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.
|
|
19
|
+
*
|
|
20
|
+
* The version of the OpenAPI document: v1
|
|
21
|
+
*
|
|
22
|
+
*
|
|
23
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
24
|
+
* https://openapi-generator.tech
|
|
25
|
+
* Do not edit the class manually.
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
28
|
+
/**
|
|
29
|
+
* BlueprintTags service.
|
|
30
|
+
* @module api/BlueprintTagsApi
|
|
31
|
+
* @version v0.24.0
|
|
32
|
+
*/
|
|
33
|
+
var BlueprintTagsApi = exports["default"] = /*#__PURE__*/function () {
|
|
34
|
+
/**
|
|
35
|
+
* Constructs a new BlueprintTagsApi.
|
|
36
|
+
* @alias module:api/BlueprintTagsApi
|
|
37
|
+
* @class
|
|
38
|
+
* @param {module:ApiClient} [apiClient] Optional API client implementation to use,
|
|
39
|
+
* default to {@link module:ApiClient#instance} if unspecified.
|
|
40
|
+
*/
|
|
41
|
+
function BlueprintTagsApi(apiClient) {
|
|
42
|
+
_classCallCheck(this, BlueprintTagsApi);
|
|
43
|
+
this.apiClient = apiClient || _ApiClient["default"].instance;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* Callback function to receive the result of the internalBlueprintTags operation.
|
|
48
|
+
* @callback module:api/BlueprintTagsApi~internalBlueprintTagsCallback
|
|
49
|
+
* @param {String} error Error message, if any.
|
|
50
|
+
* @param {Array.<String>} data The data returned by the service call.
|
|
51
|
+
* @param {String} response The complete HTTP response.
|
|
52
|
+
*/
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* List all internal blueprint tags
|
|
56
|
+
* Lists all tags used by internal (custom) blueprints for the current tenant.
|
|
57
|
+
* @param {String} tenant
|
|
58
|
+
* @param {Object} opts Optional parameters
|
|
59
|
+
* @param {String} [q] A string filter to get tags with matching blueprints only
|
|
60
|
+
* @param {module:api/BlueprintTagsApi~internalBlueprintTagsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
61
|
+
* data is of type: {@link Array.<String>}
|
|
62
|
+
*/
|
|
63
|
+
return _createClass(BlueprintTagsApi, [{
|
|
64
|
+
key: "internalBlueprintTags",
|
|
65
|
+
value: function internalBlueprintTags(tenant, opts, callback) {
|
|
66
|
+
opts = opts || {};
|
|
67
|
+
var postBody = null;
|
|
68
|
+
// verify the required parameter 'tenant' is set
|
|
69
|
+
if (tenant === undefined || tenant === null) {
|
|
70
|
+
throw new Error("Missing the required parameter 'tenant' when calling internalBlueprintTags");
|
|
71
|
+
}
|
|
72
|
+
var pathParams = {
|
|
73
|
+
'tenant': tenant
|
|
74
|
+
};
|
|
75
|
+
var queryParams = {
|
|
76
|
+
'q': opts['q']
|
|
77
|
+
};
|
|
78
|
+
var headerParams = {};
|
|
79
|
+
var formParams = {};
|
|
80
|
+
var authNames = [];
|
|
81
|
+
var contentTypes = [];
|
|
82
|
+
var accepts = ['application/json'];
|
|
83
|
+
var returnType = ['String'];
|
|
84
|
+
return this.apiClient.callApi('/api/v1/{tenant}/blueprints/custom/tags', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
/**
|
|
88
|
+
* Callback function to receive the result of the listBlueprintTags operation.
|
|
89
|
+
* @callback module:api/BlueprintTagsApi~listBlueprintTagsCallback
|
|
90
|
+
* @param {String} error Error message, if any.
|
|
91
|
+
* @param {Array.<module:model/BlueprintControllerApiBlueprintTagItem>} data The data returned by the service call.
|
|
92
|
+
* @param {String} response The complete HTTP response.
|
|
93
|
+
*/
|
|
94
|
+
|
|
95
|
+
/**
|
|
96
|
+
* List blueprint tags matching the filter
|
|
97
|
+
* Lists tags for community blueprints of the specified kind, optionally filtered by query.
|
|
98
|
+
* @param {module:model/BlueprintControllerKind} kind The blueprint kind
|
|
99
|
+
* @param {String} tenant
|
|
100
|
+
* @param {Object} opts Optional parameters
|
|
101
|
+
* @param {String} [q] A string filter to get tags with matching blueprints only
|
|
102
|
+
* @param {module:api/BlueprintTagsApi~listBlueprintTagsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
103
|
+
* data is of type: {@link Array.<module:model/BlueprintControllerApiBlueprintTagItem>}
|
|
104
|
+
*/
|
|
105
|
+
}, {
|
|
106
|
+
key: "listBlueprintTags",
|
|
107
|
+
value: function listBlueprintTags(kind, tenant, opts, callback) {
|
|
108
|
+
opts = opts || {};
|
|
109
|
+
var postBody = null;
|
|
110
|
+
// verify the required parameter 'kind' is set
|
|
111
|
+
if (kind === undefined || kind === null) {
|
|
112
|
+
throw new Error("Missing the required parameter 'kind' when calling listBlueprintTags");
|
|
113
|
+
}
|
|
114
|
+
// verify the required parameter 'tenant' is set
|
|
115
|
+
if (tenant === undefined || tenant === null) {
|
|
116
|
+
throw new Error("Missing the required parameter 'tenant' when calling listBlueprintTags");
|
|
117
|
+
}
|
|
118
|
+
var pathParams = {
|
|
119
|
+
'kind': kind,
|
|
120
|
+
'tenant': tenant
|
|
121
|
+
};
|
|
122
|
+
var queryParams = {
|
|
123
|
+
'q': opts['q']
|
|
124
|
+
};
|
|
125
|
+
var headerParams = {};
|
|
126
|
+
var formParams = {};
|
|
127
|
+
var authNames = [];
|
|
128
|
+
var contentTypes = [];
|
|
129
|
+
var accepts = ['application/json'];
|
|
130
|
+
var returnType = [_BlueprintControllerApiBlueprintTagItem["default"]];
|
|
131
|
+
return this.apiClient.callApi('/api/v1/{tenant}/blueprints/community/{kind}/tags', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
132
|
+
}
|
|
133
|
+
}]);
|
|
134
|
+
}();
|