@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,535 @@
|
|
|
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 _ChartFiltersOverrides = _interopRequireDefault(require("../model/ChartFiltersOverrides"));
|
|
9
|
+
var _Dashboard = _interopRequireDefault(require("../model/Dashboard"));
|
|
10
|
+
var _DashboardControllerPreviewRequest = _interopRequireDefault(require("../model/DashboardControllerPreviewRequest"));
|
|
11
|
+
var _PagedResultsDashboard = _interopRequireDefault(require("../model/PagedResultsDashboard"));
|
|
12
|
+
var _PagedResultsMapStringObject = _interopRequireDefault(require("../model/PagedResultsMapStringObject"));
|
|
13
|
+
var _ValidateConstraintViolation = _interopRequireDefault(require("../model/ValidateConstraintViolation"));
|
|
14
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
15
|
+
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); }
|
|
16
|
+
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
17
|
+
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); } }
|
|
18
|
+
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
19
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
20
|
+
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); } /**
|
|
21
|
+
* Kestra EE
|
|
22
|
+
* 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.
|
|
23
|
+
*
|
|
24
|
+
* The version of the OpenAPI document: v1
|
|
25
|
+
*
|
|
26
|
+
*
|
|
27
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
28
|
+
* https://openapi-generator.tech
|
|
29
|
+
* Do not edit the class manually.
|
|
30
|
+
*
|
|
31
|
+
*/
|
|
32
|
+
/**
|
|
33
|
+
* Dashboards service.
|
|
34
|
+
* @module api/DashboardsApi
|
|
35
|
+
* @version v0.24.0
|
|
36
|
+
*/
|
|
37
|
+
var DashboardsApi = exports["default"] = /*#__PURE__*/function () {
|
|
38
|
+
/**
|
|
39
|
+
* Constructs a new DashboardsApi.
|
|
40
|
+
* @alias module:api/DashboardsApi
|
|
41
|
+
* @class
|
|
42
|
+
* @param {module:ApiClient} [apiClient] Optional API client implementation to use,
|
|
43
|
+
* default to {@link module:ApiClient#instance} if unspecified.
|
|
44
|
+
*/
|
|
45
|
+
function DashboardsApi(apiClient) {
|
|
46
|
+
_classCallCheck(this, DashboardsApi);
|
|
47
|
+
this.apiClient = apiClient || _ApiClient["default"].instance;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* Callback function to receive the result of the createDashboard operation.
|
|
52
|
+
* @callback module:api/DashboardsApi~createDashboardCallback
|
|
53
|
+
* @param {String} error Error message, if any.
|
|
54
|
+
* @param {module:model/Dashboard} data The data returned by the service call.
|
|
55
|
+
* @param {String} response The complete HTTP response.
|
|
56
|
+
*/
|
|
57
|
+
|
|
58
|
+
/**
|
|
59
|
+
* Create a dashboard from yaml source
|
|
60
|
+
* @param {String} tenant
|
|
61
|
+
* @param {String} body The dashboard definition as YAML
|
|
62
|
+
* @param {module:api/DashboardsApi~createDashboardCallback} callback The callback function, accepting three arguments: error, data, response
|
|
63
|
+
* data is of type: {@link module:model/Dashboard}
|
|
64
|
+
*/
|
|
65
|
+
return _createClass(DashboardsApi, [{
|
|
66
|
+
key: "createDashboard",
|
|
67
|
+
value: function createDashboard(tenant, body, callback) {
|
|
68
|
+
var postBody = body;
|
|
69
|
+
// verify the required parameter 'tenant' is set
|
|
70
|
+
if (tenant === undefined || tenant === null) {
|
|
71
|
+
throw new Error("Missing the required parameter 'tenant' when calling createDashboard");
|
|
72
|
+
}
|
|
73
|
+
// verify the required parameter 'body' is set
|
|
74
|
+
if (body === undefined || body === null) {
|
|
75
|
+
throw new Error("Missing the required parameter 'body' when calling createDashboard");
|
|
76
|
+
}
|
|
77
|
+
var pathParams = {
|
|
78
|
+
'tenant': tenant
|
|
79
|
+
};
|
|
80
|
+
var queryParams = {};
|
|
81
|
+
var headerParams = {};
|
|
82
|
+
var formParams = {};
|
|
83
|
+
var authNames = [];
|
|
84
|
+
var contentTypes = ['application/x-yaml'];
|
|
85
|
+
var accepts = ['application/json'];
|
|
86
|
+
var returnType = _Dashboard["default"];
|
|
87
|
+
return this.apiClient.callApi('/api/v1/{tenant}/dashboards', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
/**
|
|
91
|
+
* Callback function to receive the result of the deleteDashboard operation.
|
|
92
|
+
* @callback module:api/DashboardsApi~deleteDashboardCallback
|
|
93
|
+
* @param {String} error Error message, if any.
|
|
94
|
+
* @param data This operation does not return a value.
|
|
95
|
+
* @param {String} response The complete HTTP response.
|
|
96
|
+
*/
|
|
97
|
+
|
|
98
|
+
/**
|
|
99
|
+
* Delete a dashboard
|
|
100
|
+
* @param {String} id The dashboard id
|
|
101
|
+
* @param {String} tenant
|
|
102
|
+
* @param {module:api/DashboardsApi~deleteDashboardCallback} callback The callback function, accepting three arguments: error, data, response
|
|
103
|
+
*/
|
|
104
|
+
}, {
|
|
105
|
+
key: "deleteDashboard",
|
|
106
|
+
value: function deleteDashboard(id, tenant, callback) {
|
|
107
|
+
var postBody = null;
|
|
108
|
+
// verify the required parameter 'id' is set
|
|
109
|
+
if (id === undefined || id === null) {
|
|
110
|
+
throw new Error("Missing the required parameter 'id' when calling deleteDashboard");
|
|
111
|
+
}
|
|
112
|
+
// verify the required parameter 'tenant' is set
|
|
113
|
+
if (tenant === undefined || tenant === null) {
|
|
114
|
+
throw new Error("Missing the required parameter 'tenant' when calling deleteDashboard");
|
|
115
|
+
}
|
|
116
|
+
var pathParams = {
|
|
117
|
+
'id': id,
|
|
118
|
+
'tenant': tenant
|
|
119
|
+
};
|
|
120
|
+
var queryParams = {};
|
|
121
|
+
var headerParams = {};
|
|
122
|
+
var formParams = {};
|
|
123
|
+
var authNames = [];
|
|
124
|
+
var contentTypes = [];
|
|
125
|
+
var accepts = [];
|
|
126
|
+
var returnType = null;
|
|
127
|
+
return this.apiClient.callApi('/api/v1/{tenant}/dashboards/{id}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
/**
|
|
131
|
+
* Callback function to receive the result of the exportChartToCsv operation.
|
|
132
|
+
* @callback module:api/DashboardsApi~exportChartToCsvCallback
|
|
133
|
+
* @param {String} error Error message, if any.
|
|
134
|
+
* @param {Blob} data The data returned by the service call.
|
|
135
|
+
* @param {String} response The complete HTTP response.
|
|
136
|
+
*/
|
|
137
|
+
|
|
138
|
+
/**
|
|
139
|
+
* Export a table chart data to CSV
|
|
140
|
+
* @param {String} tenant
|
|
141
|
+
* @param {module:model/DashboardControllerPreviewRequest} dashboardControllerPreviewRequest
|
|
142
|
+
* @param {module:api/DashboardsApi~exportChartToCsvCallback} callback The callback function, accepting three arguments: error, data, response
|
|
143
|
+
* data is of type: {@link Blob}
|
|
144
|
+
*/
|
|
145
|
+
}, {
|
|
146
|
+
key: "exportChartToCsv",
|
|
147
|
+
value: function exportChartToCsv(tenant, dashboardControllerPreviewRequest, callback) {
|
|
148
|
+
var postBody = dashboardControllerPreviewRequest;
|
|
149
|
+
// verify the required parameter 'tenant' is set
|
|
150
|
+
if (tenant === undefined || tenant === null) {
|
|
151
|
+
throw new Error("Missing the required parameter 'tenant' when calling exportChartToCsv");
|
|
152
|
+
}
|
|
153
|
+
// verify the required parameter 'dashboardControllerPreviewRequest' is set
|
|
154
|
+
if (dashboardControllerPreviewRequest === undefined || dashboardControllerPreviewRequest === null) {
|
|
155
|
+
throw new Error("Missing the required parameter 'dashboardControllerPreviewRequest' when calling exportChartToCsv");
|
|
156
|
+
}
|
|
157
|
+
var pathParams = {
|
|
158
|
+
'tenant': tenant
|
|
159
|
+
};
|
|
160
|
+
var queryParams = {};
|
|
161
|
+
var headerParams = {};
|
|
162
|
+
var formParams = {};
|
|
163
|
+
var authNames = [];
|
|
164
|
+
var contentTypes = ['application/json'];
|
|
165
|
+
var accepts = ['application/octet-stream'];
|
|
166
|
+
var returnType = 'Blob';
|
|
167
|
+
return this.apiClient.callApi('/api/v1/{tenant}/dashboards/charts/export/to-csv', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
/**
|
|
171
|
+
* Callback function to receive the result of the exportDashboardChartDataToCSV operation.
|
|
172
|
+
* @callback module:api/DashboardsApi~exportDashboardChartDataToCSVCallback
|
|
173
|
+
* @param {String} error Error message, if any.
|
|
174
|
+
* @param {Blob} data The data returned by the service call.
|
|
175
|
+
* @param {String} response The complete HTTP response.
|
|
176
|
+
*/
|
|
177
|
+
|
|
178
|
+
/**
|
|
179
|
+
* Export a dashboard chart data to CSV
|
|
180
|
+
* @param {String} id The dashboard id
|
|
181
|
+
* @param {String} chartId The chart id
|
|
182
|
+
* @param {String} tenant
|
|
183
|
+
* @param {module:model/ChartFiltersOverrides} chartFiltersOverrides The filters to apply, some can override chart definition like labels & namespace
|
|
184
|
+
* @param {module:api/DashboardsApi~exportDashboardChartDataToCSVCallback} callback The callback function, accepting three arguments: error, data, response
|
|
185
|
+
* data is of type: {@link Blob}
|
|
186
|
+
*/
|
|
187
|
+
}, {
|
|
188
|
+
key: "exportDashboardChartDataToCSV",
|
|
189
|
+
value: function exportDashboardChartDataToCSV(id, chartId, tenant, chartFiltersOverrides, callback) {
|
|
190
|
+
var postBody = chartFiltersOverrides;
|
|
191
|
+
// verify the required parameter 'id' is set
|
|
192
|
+
if (id === undefined || id === null) {
|
|
193
|
+
throw new Error("Missing the required parameter 'id' when calling exportDashboardChartDataToCSV");
|
|
194
|
+
}
|
|
195
|
+
// verify the required parameter 'chartId' is set
|
|
196
|
+
if (chartId === undefined || chartId === null) {
|
|
197
|
+
throw new Error("Missing the required parameter 'chartId' when calling exportDashboardChartDataToCSV");
|
|
198
|
+
}
|
|
199
|
+
// verify the required parameter 'tenant' is set
|
|
200
|
+
if (tenant === undefined || tenant === null) {
|
|
201
|
+
throw new Error("Missing the required parameter 'tenant' when calling exportDashboardChartDataToCSV");
|
|
202
|
+
}
|
|
203
|
+
// verify the required parameter 'chartFiltersOverrides' is set
|
|
204
|
+
if (chartFiltersOverrides === undefined || chartFiltersOverrides === null) {
|
|
205
|
+
throw new Error("Missing the required parameter 'chartFiltersOverrides' when calling exportDashboardChartDataToCSV");
|
|
206
|
+
}
|
|
207
|
+
var pathParams = {
|
|
208
|
+
'id': id,
|
|
209
|
+
'chartId': chartId,
|
|
210
|
+
'tenant': tenant
|
|
211
|
+
};
|
|
212
|
+
var queryParams = {};
|
|
213
|
+
var headerParams = {};
|
|
214
|
+
var formParams = {};
|
|
215
|
+
var authNames = [];
|
|
216
|
+
var contentTypes = ['application/json'];
|
|
217
|
+
var accepts = ['application/octet-stream'];
|
|
218
|
+
var returnType = 'Blob';
|
|
219
|
+
return this.apiClient.callApi('/api/v1/{tenant}/dashboards/{id}/charts/{chartId}/export/to-csv', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
/**
|
|
223
|
+
* Callback function to receive the result of the getDashboard operation.
|
|
224
|
+
* @callback module:api/DashboardsApi~getDashboardCallback
|
|
225
|
+
* @param {String} error Error message, if any.
|
|
226
|
+
* @param {module:model/Dashboard} data The data returned by the service call.
|
|
227
|
+
* @param {String} response The complete HTTP response.
|
|
228
|
+
*/
|
|
229
|
+
|
|
230
|
+
/**
|
|
231
|
+
* Get a dashboard
|
|
232
|
+
* @param {String} id The dashboard id
|
|
233
|
+
* @param {String} tenant
|
|
234
|
+
* @param {module:api/DashboardsApi~getDashboardCallback} callback The callback function, accepting three arguments: error, data, response
|
|
235
|
+
* data is of type: {@link module:model/Dashboard}
|
|
236
|
+
*/
|
|
237
|
+
}, {
|
|
238
|
+
key: "getDashboard",
|
|
239
|
+
value: function getDashboard(id, tenant, callback) {
|
|
240
|
+
var postBody = null;
|
|
241
|
+
// verify the required parameter 'id' is set
|
|
242
|
+
if (id === undefined || id === null) {
|
|
243
|
+
throw new Error("Missing the required parameter 'id' when calling getDashboard");
|
|
244
|
+
}
|
|
245
|
+
// verify the required parameter 'tenant' is set
|
|
246
|
+
if (tenant === undefined || tenant === null) {
|
|
247
|
+
throw new Error("Missing the required parameter 'tenant' when calling getDashboard");
|
|
248
|
+
}
|
|
249
|
+
var pathParams = {
|
|
250
|
+
'id': id,
|
|
251
|
+
'tenant': tenant
|
|
252
|
+
};
|
|
253
|
+
var queryParams = {};
|
|
254
|
+
var headerParams = {};
|
|
255
|
+
var formParams = {};
|
|
256
|
+
var authNames = [];
|
|
257
|
+
var contentTypes = [];
|
|
258
|
+
var accepts = ['application/json'];
|
|
259
|
+
var returnType = _Dashboard["default"];
|
|
260
|
+
return this.apiClient.callApi('/api/v1/{tenant}/dashboards/{id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
/**
|
|
264
|
+
* Callback function to receive the result of the getDashboardChartData operation.
|
|
265
|
+
* @callback module:api/DashboardsApi~getDashboardChartDataCallback
|
|
266
|
+
* @param {String} error Error message, if any.
|
|
267
|
+
* @param {module:model/PagedResultsMapStringObject} data The data returned by the service call.
|
|
268
|
+
* @param {String} response The complete HTTP response.
|
|
269
|
+
*/
|
|
270
|
+
|
|
271
|
+
/**
|
|
272
|
+
* Generate a dashboard chart data
|
|
273
|
+
* @param {String} id The dashboard id
|
|
274
|
+
* @param {String} chartId The chart id
|
|
275
|
+
* @param {String} tenant
|
|
276
|
+
* @param {module:model/ChartFiltersOverrides} chartFiltersOverrides The filters to apply, some can override chart definition like labels & namespace
|
|
277
|
+
* @param {module:api/DashboardsApi~getDashboardChartDataCallback} callback The callback function, accepting three arguments: error, data, response
|
|
278
|
+
* data is of type: {@link module:model/PagedResultsMapStringObject}
|
|
279
|
+
*/
|
|
280
|
+
}, {
|
|
281
|
+
key: "getDashboardChartData",
|
|
282
|
+
value: function getDashboardChartData(id, chartId, tenant, chartFiltersOverrides, callback) {
|
|
283
|
+
var postBody = chartFiltersOverrides;
|
|
284
|
+
// verify the required parameter 'id' is set
|
|
285
|
+
if (id === undefined || id === null) {
|
|
286
|
+
throw new Error("Missing the required parameter 'id' when calling getDashboardChartData");
|
|
287
|
+
}
|
|
288
|
+
// verify the required parameter 'chartId' is set
|
|
289
|
+
if (chartId === undefined || chartId === null) {
|
|
290
|
+
throw new Error("Missing the required parameter 'chartId' when calling getDashboardChartData");
|
|
291
|
+
}
|
|
292
|
+
// verify the required parameter 'tenant' is set
|
|
293
|
+
if (tenant === undefined || tenant === null) {
|
|
294
|
+
throw new Error("Missing the required parameter 'tenant' when calling getDashboardChartData");
|
|
295
|
+
}
|
|
296
|
+
// verify the required parameter 'chartFiltersOverrides' is set
|
|
297
|
+
if (chartFiltersOverrides === undefined || chartFiltersOverrides === null) {
|
|
298
|
+
throw new Error("Missing the required parameter 'chartFiltersOverrides' when calling getDashboardChartData");
|
|
299
|
+
}
|
|
300
|
+
var pathParams = {
|
|
301
|
+
'id': id,
|
|
302
|
+
'chartId': chartId,
|
|
303
|
+
'tenant': tenant
|
|
304
|
+
};
|
|
305
|
+
var queryParams = {};
|
|
306
|
+
var headerParams = {};
|
|
307
|
+
var formParams = {};
|
|
308
|
+
var authNames = [];
|
|
309
|
+
var contentTypes = ['application/json'];
|
|
310
|
+
var accepts = ['application/json'];
|
|
311
|
+
var returnType = _PagedResultsMapStringObject["default"];
|
|
312
|
+
return this.apiClient.callApi('/api/v1/{tenant}/dashboards/{id}/charts/{chartId}', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
/**
|
|
316
|
+
* Callback function to receive the result of the previewChart operation.
|
|
317
|
+
* @callback module:api/DashboardsApi~previewChartCallback
|
|
318
|
+
* @param {String} error Error message, if any.
|
|
319
|
+
* @param {module:model/PagedResultsMapStringObject} data The data returned by the service call.
|
|
320
|
+
* @param {String} response The complete HTTP response.
|
|
321
|
+
*/
|
|
322
|
+
|
|
323
|
+
/**
|
|
324
|
+
* Preview a chart data
|
|
325
|
+
* @param {String} tenant
|
|
326
|
+
* @param {module:model/DashboardControllerPreviewRequest} dashboardControllerPreviewRequest
|
|
327
|
+
* @param {module:api/DashboardsApi~previewChartCallback} callback The callback function, accepting three arguments: error, data, response
|
|
328
|
+
* data is of type: {@link module:model/PagedResultsMapStringObject}
|
|
329
|
+
*/
|
|
330
|
+
}, {
|
|
331
|
+
key: "previewChart",
|
|
332
|
+
value: function previewChart(tenant, dashboardControllerPreviewRequest, callback) {
|
|
333
|
+
var postBody = dashboardControllerPreviewRequest;
|
|
334
|
+
// verify the required parameter 'tenant' is set
|
|
335
|
+
if (tenant === undefined || tenant === null) {
|
|
336
|
+
throw new Error("Missing the required parameter 'tenant' when calling previewChart");
|
|
337
|
+
}
|
|
338
|
+
// verify the required parameter 'dashboardControllerPreviewRequest' is set
|
|
339
|
+
if (dashboardControllerPreviewRequest === undefined || dashboardControllerPreviewRequest === null) {
|
|
340
|
+
throw new Error("Missing the required parameter 'dashboardControllerPreviewRequest' when calling previewChart");
|
|
341
|
+
}
|
|
342
|
+
var pathParams = {
|
|
343
|
+
'tenant': tenant
|
|
344
|
+
};
|
|
345
|
+
var queryParams = {};
|
|
346
|
+
var headerParams = {};
|
|
347
|
+
var formParams = {};
|
|
348
|
+
var authNames = [];
|
|
349
|
+
var contentTypes = ['application/json'];
|
|
350
|
+
var accepts = ['application/json'];
|
|
351
|
+
var returnType = _PagedResultsMapStringObject["default"];
|
|
352
|
+
return this.apiClient.callApi('/api/v1/{tenant}/dashboards/charts/preview', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
353
|
+
}
|
|
354
|
+
|
|
355
|
+
/**
|
|
356
|
+
* Callback function to receive the result of the searchDashboards operation.
|
|
357
|
+
* @callback module:api/DashboardsApi~searchDashboardsCallback
|
|
358
|
+
* @param {String} error Error message, if any.
|
|
359
|
+
* @param {module:model/PagedResultsDashboard} data The data returned by the service call.
|
|
360
|
+
* @param {String} response The complete HTTP response.
|
|
361
|
+
*/
|
|
362
|
+
|
|
363
|
+
/**
|
|
364
|
+
* Search for dashboards
|
|
365
|
+
* @param {Number} page The current page
|
|
366
|
+
* @param {Number} size The current page size
|
|
367
|
+
* @param {String} tenant
|
|
368
|
+
* @param {Object} opts Optional parameters
|
|
369
|
+
* @param {String} [q] The filter query
|
|
370
|
+
* @param {Array.<String>} [sort] The sort of current page
|
|
371
|
+
* @param {module:api/DashboardsApi~searchDashboardsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
372
|
+
* data is of type: {@link module:model/PagedResultsDashboard}
|
|
373
|
+
*/
|
|
374
|
+
}, {
|
|
375
|
+
key: "searchDashboards",
|
|
376
|
+
value: function searchDashboards(page, size, tenant, opts, callback) {
|
|
377
|
+
opts = opts || {};
|
|
378
|
+
var postBody = null;
|
|
379
|
+
// verify the required parameter 'page' is set
|
|
380
|
+
if (page === undefined || page === null) {
|
|
381
|
+
throw new Error("Missing the required parameter 'page' when calling searchDashboards");
|
|
382
|
+
}
|
|
383
|
+
// verify the required parameter 'size' is set
|
|
384
|
+
if (size === undefined || size === null) {
|
|
385
|
+
throw new Error("Missing the required parameter 'size' when calling searchDashboards");
|
|
386
|
+
}
|
|
387
|
+
// verify the required parameter 'tenant' is set
|
|
388
|
+
if (tenant === undefined || tenant === null) {
|
|
389
|
+
throw new Error("Missing the required parameter 'tenant' when calling searchDashboards");
|
|
390
|
+
}
|
|
391
|
+
var pathParams = {
|
|
392
|
+
'tenant': tenant
|
|
393
|
+
};
|
|
394
|
+
var queryParams = {
|
|
395
|
+
'page': page,
|
|
396
|
+
'size': size,
|
|
397
|
+
'q': opts['q'],
|
|
398
|
+
'sort': this.apiClient.buildCollectionParam(opts['sort'], 'csv')
|
|
399
|
+
};
|
|
400
|
+
var headerParams = {};
|
|
401
|
+
var formParams = {};
|
|
402
|
+
var authNames = [];
|
|
403
|
+
var contentTypes = [];
|
|
404
|
+
var accepts = ['application/json'];
|
|
405
|
+
var returnType = _PagedResultsDashboard["default"];
|
|
406
|
+
return this.apiClient.callApi('/api/v1/{tenant}/dashboards', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
407
|
+
}
|
|
408
|
+
|
|
409
|
+
/**
|
|
410
|
+
* Callback function to receive the result of the updateDashboard operation.
|
|
411
|
+
* @callback module:api/DashboardsApi~updateDashboardCallback
|
|
412
|
+
* @param {String} error Error message, if any.
|
|
413
|
+
* @param {module:model/Dashboard} data The data returned by the service call.
|
|
414
|
+
* @param {String} response The complete HTTP response.
|
|
415
|
+
*/
|
|
416
|
+
|
|
417
|
+
/**
|
|
418
|
+
* Update a dashboard
|
|
419
|
+
* @param {String} id The dashboard id
|
|
420
|
+
* @param {String} tenant
|
|
421
|
+
* @param {String} body The dashboard definition as YAML
|
|
422
|
+
* @param {module:api/DashboardsApi~updateDashboardCallback} callback The callback function, accepting three arguments: error, data, response
|
|
423
|
+
* data is of type: {@link module:model/Dashboard}
|
|
424
|
+
*/
|
|
425
|
+
}, {
|
|
426
|
+
key: "updateDashboard",
|
|
427
|
+
value: function updateDashboard(id, tenant, body, callback) {
|
|
428
|
+
var postBody = body;
|
|
429
|
+
// verify the required parameter 'id' is set
|
|
430
|
+
if (id === undefined || id === null) {
|
|
431
|
+
throw new Error("Missing the required parameter 'id' when calling updateDashboard");
|
|
432
|
+
}
|
|
433
|
+
// verify the required parameter 'tenant' is set
|
|
434
|
+
if (tenant === undefined || tenant === null) {
|
|
435
|
+
throw new Error("Missing the required parameter 'tenant' when calling updateDashboard");
|
|
436
|
+
}
|
|
437
|
+
// verify the required parameter 'body' is set
|
|
438
|
+
if (body === undefined || body === null) {
|
|
439
|
+
throw new Error("Missing the required parameter 'body' when calling updateDashboard");
|
|
440
|
+
}
|
|
441
|
+
var pathParams = {
|
|
442
|
+
'id': id,
|
|
443
|
+
'tenant': tenant
|
|
444
|
+
};
|
|
445
|
+
var queryParams = {};
|
|
446
|
+
var headerParams = {};
|
|
447
|
+
var formParams = {};
|
|
448
|
+
var authNames = [];
|
|
449
|
+
var contentTypes = ['application/x-yaml'];
|
|
450
|
+
var accepts = ['application/json'];
|
|
451
|
+
var returnType = _Dashboard["default"];
|
|
452
|
+
return this.apiClient.callApi('/api/v1/{tenant}/dashboards/{id}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
453
|
+
}
|
|
454
|
+
|
|
455
|
+
/**
|
|
456
|
+
* Callback function to receive the result of the validateChart operation.
|
|
457
|
+
* @callback module:api/DashboardsApi~validateChartCallback
|
|
458
|
+
* @param {String} error Error message, if any.
|
|
459
|
+
* @param {module:model/ValidateConstraintViolation} data The data returned by the service call.
|
|
460
|
+
* @param {String} response The complete HTTP response.
|
|
461
|
+
*/
|
|
462
|
+
|
|
463
|
+
/**
|
|
464
|
+
* Validate a chart from yaml source
|
|
465
|
+
* @param {String} tenant
|
|
466
|
+
* @param {String} body The chart definition as YAML
|
|
467
|
+
* @param {module:api/DashboardsApi~validateChartCallback} callback The callback function, accepting three arguments: error, data, response
|
|
468
|
+
* data is of type: {@link module:model/ValidateConstraintViolation}
|
|
469
|
+
*/
|
|
470
|
+
}, {
|
|
471
|
+
key: "validateChart",
|
|
472
|
+
value: function validateChart(tenant, body, callback) {
|
|
473
|
+
var postBody = body;
|
|
474
|
+
// verify the required parameter 'tenant' is set
|
|
475
|
+
if (tenant === undefined || tenant === null) {
|
|
476
|
+
throw new Error("Missing the required parameter 'tenant' when calling validateChart");
|
|
477
|
+
}
|
|
478
|
+
// verify the required parameter 'body' is set
|
|
479
|
+
if (body === undefined || body === null) {
|
|
480
|
+
throw new Error("Missing the required parameter 'body' when calling validateChart");
|
|
481
|
+
}
|
|
482
|
+
var pathParams = {
|
|
483
|
+
'tenant': tenant
|
|
484
|
+
};
|
|
485
|
+
var queryParams = {};
|
|
486
|
+
var headerParams = {};
|
|
487
|
+
var formParams = {};
|
|
488
|
+
var authNames = [];
|
|
489
|
+
var contentTypes = ['application/x-yaml'];
|
|
490
|
+
var accepts = ['application/json'];
|
|
491
|
+
var returnType = _ValidateConstraintViolation["default"];
|
|
492
|
+
return this.apiClient.callApi('/api/v1/{tenant}/dashboards/validate/chart', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
493
|
+
}
|
|
494
|
+
|
|
495
|
+
/**
|
|
496
|
+
* Callback function to receive the result of the validateDashboard operation.
|
|
497
|
+
* @callback module:api/DashboardsApi~validateDashboardCallback
|
|
498
|
+
* @param {String} error Error message, if any.
|
|
499
|
+
* @param {module:model/ValidateConstraintViolation} data The data returned by the service call.
|
|
500
|
+
* @param {String} response The complete HTTP response.
|
|
501
|
+
*/
|
|
502
|
+
|
|
503
|
+
/**
|
|
504
|
+
* Validate dashboard from yaml source
|
|
505
|
+
* @param {String} tenant
|
|
506
|
+
* @param {String} body The dashboard definition as YAML
|
|
507
|
+
* @param {module:api/DashboardsApi~validateDashboardCallback} callback The callback function, accepting three arguments: error, data, response
|
|
508
|
+
* data is of type: {@link module:model/ValidateConstraintViolation}
|
|
509
|
+
*/
|
|
510
|
+
}, {
|
|
511
|
+
key: "validateDashboard",
|
|
512
|
+
value: function validateDashboard(tenant, body, callback) {
|
|
513
|
+
var postBody = body;
|
|
514
|
+
// verify the required parameter 'tenant' is set
|
|
515
|
+
if (tenant === undefined || tenant === null) {
|
|
516
|
+
throw new Error("Missing the required parameter 'tenant' when calling validateDashboard");
|
|
517
|
+
}
|
|
518
|
+
// verify the required parameter 'body' is set
|
|
519
|
+
if (body === undefined || body === null) {
|
|
520
|
+
throw new Error("Missing the required parameter 'body' when calling validateDashboard");
|
|
521
|
+
}
|
|
522
|
+
var pathParams = {
|
|
523
|
+
'tenant': tenant
|
|
524
|
+
};
|
|
525
|
+
var queryParams = {};
|
|
526
|
+
var headerParams = {};
|
|
527
|
+
var formParams = {};
|
|
528
|
+
var authNames = [];
|
|
529
|
+
var contentTypes = ['application/x-yaml'];
|
|
530
|
+
var accepts = ['application/json'];
|
|
531
|
+
var returnType = _ValidateConstraintViolation["default"];
|
|
532
|
+
return this.apiClient.callApi('/api/v1/{tenant}/dashboards/validate', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
533
|
+
}
|
|
534
|
+
}]);
|
|
535
|
+
}();
|