@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,300 @@
|
|
|
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 _IAMInvitationControllerApiInvitationCreateRequest = _interopRequireDefault(require("../model/IAMInvitationControllerApiInvitationCreateRequest"));
|
|
9
|
+
var _IAMInvitationControllerApiInvitationDetail = _interopRequireDefault(require("../model/IAMInvitationControllerApiInvitationDetail"));
|
|
10
|
+
var _Invitation = _interopRequireDefault(require("../model/Invitation"));
|
|
11
|
+
var _InvitationInvitationStatus = _interopRequireDefault(require("../model/InvitationInvitationStatus"));
|
|
12
|
+
var _PagedResultsIAMInvitationControllerApiInvitationDetail = _interopRequireDefault(require("../model/PagedResultsIAMInvitationControllerApiInvitationDetail"));
|
|
13
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
14
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
15
|
+
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
16
|
+
function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
|
|
17
|
+
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
18
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
19
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /**
|
|
20
|
+
* Kestra EE
|
|
21
|
+
* All API operations, except for Superadmin-only endpoints, require a tenant identifier in the HTTP path.<br/> Endpoints designated as Superadmin-only are not tenant-scoped.
|
|
22
|
+
*
|
|
23
|
+
* The version of the OpenAPI document: v1
|
|
24
|
+
*
|
|
25
|
+
*
|
|
26
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
27
|
+
* https://openapi-generator.tech
|
|
28
|
+
* Do not edit the class manually.
|
|
29
|
+
*
|
|
30
|
+
*/
|
|
31
|
+
/**
|
|
32
|
+
* Invitations service.
|
|
33
|
+
* @module api/InvitationsApi
|
|
34
|
+
* @version v0.24.0
|
|
35
|
+
*/
|
|
36
|
+
var InvitationsApi = exports["default"] = /*#__PURE__*/function () {
|
|
37
|
+
/**
|
|
38
|
+
* Constructs a new InvitationsApi.
|
|
39
|
+
* @alias module:api/InvitationsApi
|
|
40
|
+
* @class
|
|
41
|
+
* @param {module:ApiClient} [apiClient] Optional API client implementation to use,
|
|
42
|
+
* default to {@link module:ApiClient#instance} if unspecified.
|
|
43
|
+
*/
|
|
44
|
+
function InvitationsApi(apiClient) {
|
|
45
|
+
_classCallCheck(this, InvitationsApi);
|
|
46
|
+
this.apiClient = apiClient || _ApiClient["default"].instance;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* Callback function to receive the result of the createInvitation operation.
|
|
51
|
+
* @callback module:api/InvitationsApi~createInvitationCallback
|
|
52
|
+
* @param {String} error Error message, if any.
|
|
53
|
+
* @param data This operation does not return a value.
|
|
54
|
+
* @param {String} response The complete HTTP response.
|
|
55
|
+
*/
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* Create an invitation
|
|
59
|
+
* Creates a new invitation and sends an email if the mail server is enabled.
|
|
60
|
+
* @param {String} tenant
|
|
61
|
+
* @param {module:model/IAMInvitationControllerApiInvitationCreateRequest} iAMInvitationControllerApiInvitationCreateRequest Create a new invitation, send an email if the server-mail is enabled
|
|
62
|
+
* @param {module:api/InvitationsApi~createInvitationCallback} callback The callback function, accepting three arguments: error, data, response
|
|
63
|
+
*/
|
|
64
|
+
return _createClass(InvitationsApi, [{
|
|
65
|
+
key: "createInvitation",
|
|
66
|
+
value: function createInvitation(tenant, iAMInvitationControllerApiInvitationCreateRequest, callback) {
|
|
67
|
+
var postBody = iAMInvitationControllerApiInvitationCreateRequest;
|
|
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 createInvitation");
|
|
71
|
+
}
|
|
72
|
+
// verify the required parameter 'iAMInvitationControllerApiInvitationCreateRequest' is set
|
|
73
|
+
if (iAMInvitationControllerApiInvitationCreateRequest === undefined || iAMInvitationControllerApiInvitationCreateRequest === null) {
|
|
74
|
+
throw new Error("Missing the required parameter 'iAMInvitationControllerApiInvitationCreateRequest' when calling createInvitation");
|
|
75
|
+
}
|
|
76
|
+
var pathParams = {
|
|
77
|
+
'tenant': tenant
|
|
78
|
+
};
|
|
79
|
+
var queryParams = {};
|
|
80
|
+
var headerParams = {};
|
|
81
|
+
var formParams = {};
|
|
82
|
+
var authNames = ['basicAuth', 'bearerAuth'];
|
|
83
|
+
var contentTypes = ['application/json'];
|
|
84
|
+
var accepts = [];
|
|
85
|
+
var returnType = null;
|
|
86
|
+
return this.apiClient.callApi('/api/v1/{tenant}/invitations', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
/**
|
|
90
|
+
* Callback function to receive the result of the deleteInvitation operation.
|
|
91
|
+
* @callback module:api/InvitationsApi~deleteInvitationCallback
|
|
92
|
+
* @param {String} error Error message, if any.
|
|
93
|
+
* @param data This operation does not return a value.
|
|
94
|
+
* @param {String} response The complete HTTP response.
|
|
95
|
+
*/
|
|
96
|
+
|
|
97
|
+
/**
|
|
98
|
+
* Delete an invitation
|
|
99
|
+
* Deletes the invitation by its ID.
|
|
100
|
+
* @param {String} id The id of the invitation
|
|
101
|
+
* @param {String} tenant
|
|
102
|
+
* @param {module:api/InvitationsApi~deleteInvitationCallback} callback The callback function, accepting three arguments: error, data, response
|
|
103
|
+
*/
|
|
104
|
+
}, {
|
|
105
|
+
key: "deleteInvitation",
|
|
106
|
+
value: function deleteInvitation(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 deleteInvitation");
|
|
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 deleteInvitation");
|
|
115
|
+
}
|
|
116
|
+
var pathParams = {
|
|
117
|
+
'id': id,
|
|
118
|
+
'tenant': tenant
|
|
119
|
+
};
|
|
120
|
+
var queryParams = {};
|
|
121
|
+
var headerParams = {};
|
|
122
|
+
var formParams = {};
|
|
123
|
+
var authNames = ['basicAuth', 'bearerAuth'];
|
|
124
|
+
var contentTypes = [];
|
|
125
|
+
var accepts = [];
|
|
126
|
+
var returnType = null;
|
|
127
|
+
return this.apiClient.callApi('/api/v1/{tenant}/invitations/{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 findAllInvitationsForCurrentUser operation.
|
|
132
|
+
* @callback module:api/InvitationsApi~findAllInvitationsForCurrentUserCallback
|
|
133
|
+
* @param {String} error Error message, if any.
|
|
134
|
+
* @param {Array.<module:model/Invitation>} data The data returned by the service call.
|
|
135
|
+
* @param {String} response The complete HTTP response.
|
|
136
|
+
*/
|
|
137
|
+
|
|
138
|
+
/**
|
|
139
|
+
* List invitations for the authenticated user
|
|
140
|
+
* Returns all invitations for the authenticated user's email across all tenants.
|
|
141
|
+
* @param {module:api/InvitationsApi~findAllInvitationsForCurrentUserCallback} callback The callback function, accepting three arguments: error, data, response
|
|
142
|
+
* data is of type: {@link Array.<module:model/Invitation>}
|
|
143
|
+
*/
|
|
144
|
+
}, {
|
|
145
|
+
key: "findAllInvitationsForCurrentUser",
|
|
146
|
+
value: function findAllInvitationsForCurrentUser(callback) {
|
|
147
|
+
var postBody = null;
|
|
148
|
+
var pathParams = {};
|
|
149
|
+
var queryParams = {};
|
|
150
|
+
var headerParams = {};
|
|
151
|
+
var formParams = {};
|
|
152
|
+
var authNames = ['basicAuth', 'bearerAuth'];
|
|
153
|
+
var contentTypes = [];
|
|
154
|
+
var accepts = ['application/json'];
|
|
155
|
+
var returnType = [_Invitation["default"]];
|
|
156
|
+
return this.apiClient.callApi('/api/v1/me/invitations', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
/**
|
|
160
|
+
* Callback function to receive the result of the getInvitation operation.
|
|
161
|
+
* @callback module:api/InvitationsApi~getInvitationCallback
|
|
162
|
+
* @param {String} error Error message, if any.
|
|
163
|
+
* @param {module:model/IAMInvitationControllerApiInvitationDetail} data The data returned by the service call.
|
|
164
|
+
* @param {String} response The complete HTTP response.
|
|
165
|
+
*/
|
|
166
|
+
|
|
167
|
+
/**
|
|
168
|
+
* Retrieve an invitation
|
|
169
|
+
* Retrieves the invitation by its ID, including the invitation link.
|
|
170
|
+
* @param {String} id The id of the invitation
|
|
171
|
+
* @param {String} tenant
|
|
172
|
+
* @param {module:api/InvitationsApi~getInvitationCallback} callback The callback function, accepting three arguments: error, data, response
|
|
173
|
+
* data is of type: {@link module:model/IAMInvitationControllerApiInvitationDetail}
|
|
174
|
+
*/
|
|
175
|
+
}, {
|
|
176
|
+
key: "getInvitation",
|
|
177
|
+
value: function getInvitation(id, tenant, callback) {
|
|
178
|
+
var postBody = null;
|
|
179
|
+
// verify the required parameter 'id' is set
|
|
180
|
+
if (id === undefined || id === null) {
|
|
181
|
+
throw new Error("Missing the required parameter 'id' when calling getInvitation");
|
|
182
|
+
}
|
|
183
|
+
// verify the required parameter 'tenant' is set
|
|
184
|
+
if (tenant === undefined || tenant === null) {
|
|
185
|
+
throw new Error("Missing the required parameter 'tenant' when calling getInvitation");
|
|
186
|
+
}
|
|
187
|
+
var pathParams = {
|
|
188
|
+
'id': id,
|
|
189
|
+
'tenant': tenant
|
|
190
|
+
};
|
|
191
|
+
var queryParams = {};
|
|
192
|
+
var headerParams = {};
|
|
193
|
+
var formParams = {};
|
|
194
|
+
var authNames = ['basicAuth', 'bearerAuth'];
|
|
195
|
+
var contentTypes = [];
|
|
196
|
+
var accepts = ['application/json'];
|
|
197
|
+
var returnType = _IAMInvitationControllerApiInvitationDetail["default"];
|
|
198
|
+
return this.apiClient.callApi('/api/v1/{tenant}/invitations/{id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
/**
|
|
202
|
+
* Callback function to receive the result of the listInvitationsByEmail operation.
|
|
203
|
+
* @callback module:api/InvitationsApi~listInvitationsByEmailCallback
|
|
204
|
+
* @param {String} error Error message, if any.
|
|
205
|
+
* @param {Array.<module:model/IAMInvitationControllerApiInvitationDetail>} data The data returned by the service call.
|
|
206
|
+
* @param {String} response The complete HTTP response.
|
|
207
|
+
*/
|
|
208
|
+
|
|
209
|
+
/**
|
|
210
|
+
* Retrieve all invitations for a given email
|
|
211
|
+
* Returns all invitations created for a given email address in the current tenant.
|
|
212
|
+
* @param {String} email The email address of the invited
|
|
213
|
+
* @param {String} tenant
|
|
214
|
+
* @param {module:api/InvitationsApi~listInvitationsByEmailCallback} callback The callback function, accepting three arguments: error, data, response
|
|
215
|
+
* data is of type: {@link Array.<module:model/IAMInvitationControllerApiInvitationDetail>}
|
|
216
|
+
*/
|
|
217
|
+
}, {
|
|
218
|
+
key: "listInvitationsByEmail",
|
|
219
|
+
value: function listInvitationsByEmail(email, tenant, callback) {
|
|
220
|
+
var postBody = null;
|
|
221
|
+
// verify the required parameter 'email' is set
|
|
222
|
+
if (email === undefined || email === null) {
|
|
223
|
+
throw new Error("Missing the required parameter 'email' when calling listInvitationsByEmail");
|
|
224
|
+
}
|
|
225
|
+
// verify the required parameter 'tenant' is set
|
|
226
|
+
if (tenant === undefined || tenant === null) {
|
|
227
|
+
throw new Error("Missing the required parameter 'tenant' when calling listInvitationsByEmail");
|
|
228
|
+
}
|
|
229
|
+
var pathParams = {
|
|
230
|
+
'email': email,
|
|
231
|
+
'tenant': tenant
|
|
232
|
+
};
|
|
233
|
+
var queryParams = {};
|
|
234
|
+
var headerParams = {};
|
|
235
|
+
var formParams = {};
|
|
236
|
+
var authNames = ['basicAuth', 'bearerAuth'];
|
|
237
|
+
var contentTypes = [];
|
|
238
|
+
var accepts = ['application/json'];
|
|
239
|
+
var returnType = [_IAMInvitationControllerApiInvitationDetail["default"]];
|
|
240
|
+
return this.apiClient.callApi('/api/v1/{tenant}/invitations/email/{email}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
/**
|
|
244
|
+
* Callback function to receive the result of the searchInvitations operation.
|
|
245
|
+
* @callback module:api/InvitationsApi~searchInvitationsCallback
|
|
246
|
+
* @param {String} error Error message, if any.
|
|
247
|
+
* @param {module:model/PagedResultsIAMInvitationControllerApiInvitationDetail} data The data returned by the service call.
|
|
248
|
+
* @param {String} response The complete HTTP response.
|
|
249
|
+
*/
|
|
250
|
+
|
|
251
|
+
/**
|
|
252
|
+
* Search for invitations
|
|
253
|
+
* Search and filter invitations by email, status, and pagination.
|
|
254
|
+
* @param {Number} page The current page
|
|
255
|
+
* @param {Number} size The current page size
|
|
256
|
+
* @param {String} tenant
|
|
257
|
+
* @param {Object} opts Optional parameters
|
|
258
|
+
* @param {String} [email] The email address of the invited
|
|
259
|
+
* @param {module:model/InvitationInvitationStatus} [status] The current status of the invitations
|
|
260
|
+
* @param {Array.<String>} [sort] The sort of current page
|
|
261
|
+
* @param {module:api/InvitationsApi~searchInvitationsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
262
|
+
* data is of type: {@link module:model/PagedResultsIAMInvitationControllerApiInvitationDetail}
|
|
263
|
+
*/
|
|
264
|
+
}, {
|
|
265
|
+
key: "searchInvitations",
|
|
266
|
+
value: function searchInvitations(page, size, tenant, opts, callback) {
|
|
267
|
+
opts = opts || {};
|
|
268
|
+
var postBody = null;
|
|
269
|
+
// verify the required parameter 'page' is set
|
|
270
|
+
if (page === undefined || page === null) {
|
|
271
|
+
throw new Error("Missing the required parameter 'page' when calling searchInvitations");
|
|
272
|
+
}
|
|
273
|
+
// verify the required parameter 'size' is set
|
|
274
|
+
if (size === undefined || size === null) {
|
|
275
|
+
throw new Error("Missing the required parameter 'size' when calling searchInvitations");
|
|
276
|
+
}
|
|
277
|
+
// verify the required parameter 'tenant' is set
|
|
278
|
+
if (tenant === undefined || tenant === null) {
|
|
279
|
+
throw new Error("Missing the required parameter 'tenant' when calling searchInvitations");
|
|
280
|
+
}
|
|
281
|
+
var pathParams = {
|
|
282
|
+
'tenant': tenant
|
|
283
|
+
};
|
|
284
|
+
var queryParams = {
|
|
285
|
+
'email': opts['email'],
|
|
286
|
+
'status': opts['status'],
|
|
287
|
+
'page': page,
|
|
288
|
+
'size': size,
|
|
289
|
+
'sort': this.apiClient.buildCollectionParam(opts['sort'], 'csv')
|
|
290
|
+
};
|
|
291
|
+
var headerParams = {};
|
|
292
|
+
var formParams = {};
|
|
293
|
+
var authNames = ['basicAuth', 'bearerAuth'];
|
|
294
|
+
var contentTypes = [];
|
|
295
|
+
var accepts = ['application/json'];
|
|
296
|
+
var returnType = _PagedResultsIAMInvitationControllerApiInvitationDetail["default"];
|
|
297
|
+
return this.apiClient.callApi('/api/v1/{tenant}/invitations/search', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
298
|
+
}
|
|
299
|
+
}]);
|
|
300
|
+
}();
|
|
@@ -0,0 +1,280 @@
|
|
|
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 _KVControllerApiDeleteBulkRequest = _interopRequireDefault(require("../model/KVControllerApiDeleteBulkRequest"));
|
|
9
|
+
var _KVControllerApiDeleteBulkResponse = _interopRequireDefault(require("../model/KVControllerApiDeleteBulkResponse"));
|
|
10
|
+
var _KVControllerTypedValue = _interopRequireDefault(require("../model/KVControllerTypedValue"));
|
|
11
|
+
var _KVEntry = _interopRequireDefault(require("../model/KVEntry"));
|
|
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
|
+
* KV service.
|
|
32
|
+
* @module api/KVApi
|
|
33
|
+
* @version v0.24.0
|
|
34
|
+
*/
|
|
35
|
+
var KVApi = exports["default"] = /*#__PURE__*/function () {
|
|
36
|
+
/**
|
|
37
|
+
* Constructs a new KVApi.
|
|
38
|
+
* @alias module:api/KVApi
|
|
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 KVApi(apiClient) {
|
|
44
|
+
_classCallCheck(this, KVApi);
|
|
45
|
+
this.apiClient = apiClient || _ApiClient["default"].instance;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Callback function to receive the result of the deleteKeyValue operation.
|
|
50
|
+
* @callback module:api/KVApi~deleteKeyValueCallback
|
|
51
|
+
* @param {String} error Error message, if any.
|
|
52
|
+
* @param {Boolean} data The data returned by the service call.
|
|
53
|
+
* @param {String} response The complete HTTP response.
|
|
54
|
+
*/
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* Delete a key-value pair
|
|
58
|
+
* @param {String} namespace The namespace id
|
|
59
|
+
* @param {String} key The key
|
|
60
|
+
* @param {String} tenant
|
|
61
|
+
* @param {module:api/KVApi~deleteKeyValueCallback} callback The callback function, accepting three arguments: error, data, response
|
|
62
|
+
* data is of type: {@link Boolean}
|
|
63
|
+
*/
|
|
64
|
+
return _createClass(KVApi, [{
|
|
65
|
+
key: "deleteKeyValue",
|
|
66
|
+
value: function deleteKeyValue(namespace, key, tenant, callback) {
|
|
67
|
+
var postBody = null;
|
|
68
|
+
// verify the required parameter 'namespace' is set
|
|
69
|
+
if (namespace === undefined || namespace === null) {
|
|
70
|
+
throw new Error("Missing the required parameter 'namespace' when calling deleteKeyValue");
|
|
71
|
+
}
|
|
72
|
+
// verify the required parameter 'key' is set
|
|
73
|
+
if (key === undefined || key === null) {
|
|
74
|
+
throw new Error("Missing the required parameter 'key' when calling deleteKeyValue");
|
|
75
|
+
}
|
|
76
|
+
// verify the required parameter 'tenant' is set
|
|
77
|
+
if (tenant === undefined || tenant === null) {
|
|
78
|
+
throw new Error("Missing the required parameter 'tenant' when calling deleteKeyValue");
|
|
79
|
+
}
|
|
80
|
+
var pathParams = {
|
|
81
|
+
'namespace': namespace,
|
|
82
|
+
'key': key,
|
|
83
|
+
'tenant': tenant
|
|
84
|
+
};
|
|
85
|
+
var queryParams = {};
|
|
86
|
+
var headerParams = {};
|
|
87
|
+
var formParams = {};
|
|
88
|
+
var authNames = ['basicAuth', 'bearerAuth'];
|
|
89
|
+
var contentTypes = [];
|
|
90
|
+
var accepts = ['application/json'];
|
|
91
|
+
var returnType = 'Boolean';
|
|
92
|
+
return this.apiClient.callApi('/api/v1/{tenant}/namespaces/{namespace}/kv/{key}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
/**
|
|
96
|
+
* Callback function to receive the result of the deleteKeyValues operation.
|
|
97
|
+
* @callback module:api/KVApi~deleteKeyValuesCallback
|
|
98
|
+
* @param {String} error Error message, if any.
|
|
99
|
+
* @param {module:model/KVControllerApiDeleteBulkResponse} data The data returned by the service call.
|
|
100
|
+
* @param {String} response The complete HTTP response.
|
|
101
|
+
*/
|
|
102
|
+
|
|
103
|
+
/**
|
|
104
|
+
* Bulk-delete multiple key/value pairs from the given namespace.
|
|
105
|
+
* @param {String} namespace The namespace id
|
|
106
|
+
* @param {String} tenant
|
|
107
|
+
* @param {module:model/KVControllerApiDeleteBulkRequest} kVControllerApiDeleteBulkRequest The keys
|
|
108
|
+
* @param {module:api/KVApi~deleteKeyValuesCallback} callback The callback function, accepting three arguments: error, data, response
|
|
109
|
+
* data is of type: {@link module:model/KVControllerApiDeleteBulkResponse}
|
|
110
|
+
*/
|
|
111
|
+
}, {
|
|
112
|
+
key: "deleteKeyValues",
|
|
113
|
+
value: function deleteKeyValues(namespace, tenant, kVControllerApiDeleteBulkRequest, callback) {
|
|
114
|
+
var postBody = kVControllerApiDeleteBulkRequest;
|
|
115
|
+
// verify the required parameter 'namespace' is set
|
|
116
|
+
if (namespace === undefined || namespace === null) {
|
|
117
|
+
throw new Error("Missing the required parameter 'namespace' when calling deleteKeyValues");
|
|
118
|
+
}
|
|
119
|
+
// verify the required parameter 'tenant' is set
|
|
120
|
+
if (tenant === undefined || tenant === null) {
|
|
121
|
+
throw new Error("Missing the required parameter 'tenant' when calling deleteKeyValues");
|
|
122
|
+
}
|
|
123
|
+
// verify the required parameter 'kVControllerApiDeleteBulkRequest' is set
|
|
124
|
+
if (kVControllerApiDeleteBulkRequest === undefined || kVControllerApiDeleteBulkRequest === null) {
|
|
125
|
+
throw new Error("Missing the required parameter 'kVControllerApiDeleteBulkRequest' when calling deleteKeyValues");
|
|
126
|
+
}
|
|
127
|
+
var pathParams = {
|
|
128
|
+
'namespace': namespace,
|
|
129
|
+
'tenant': tenant
|
|
130
|
+
};
|
|
131
|
+
var queryParams = {};
|
|
132
|
+
var headerParams = {};
|
|
133
|
+
var formParams = {};
|
|
134
|
+
var authNames = ['basicAuth', 'bearerAuth'];
|
|
135
|
+
var contentTypes = ['application/json'];
|
|
136
|
+
var accepts = ['application/json'];
|
|
137
|
+
var returnType = _KVControllerApiDeleteBulkResponse["default"];
|
|
138
|
+
return this.apiClient.callApi('/api/v1/{tenant}/namespaces/{namespace}/kv', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
/**
|
|
142
|
+
* Callback function to receive the result of the getKeyValue operation.
|
|
143
|
+
* @callback module:api/KVApi~getKeyValueCallback
|
|
144
|
+
* @param {String} error Error message, if any.
|
|
145
|
+
* @param {module:model/KVControllerTypedValue} data The data returned by the service call.
|
|
146
|
+
* @param {String} response The complete HTTP response.
|
|
147
|
+
*/
|
|
148
|
+
|
|
149
|
+
/**
|
|
150
|
+
* Get value for a key
|
|
151
|
+
* @param {String} namespace The namespace id
|
|
152
|
+
* @param {String} key The key
|
|
153
|
+
* @param {String} tenant
|
|
154
|
+
* @param {module:api/KVApi~getKeyValueCallback} callback The callback function, accepting three arguments: error, data, response
|
|
155
|
+
* data is of type: {@link module:model/KVControllerTypedValue}
|
|
156
|
+
*/
|
|
157
|
+
}, {
|
|
158
|
+
key: "getKeyValue",
|
|
159
|
+
value: function getKeyValue(namespace, key, tenant, callback) {
|
|
160
|
+
var postBody = null;
|
|
161
|
+
// verify the required parameter 'namespace' is set
|
|
162
|
+
if (namespace === undefined || namespace === null) {
|
|
163
|
+
throw new Error("Missing the required parameter 'namespace' when calling getKeyValue");
|
|
164
|
+
}
|
|
165
|
+
// verify the required parameter 'key' is set
|
|
166
|
+
if (key === undefined || key === null) {
|
|
167
|
+
throw new Error("Missing the required parameter 'key' when calling getKeyValue");
|
|
168
|
+
}
|
|
169
|
+
// verify the required parameter 'tenant' is set
|
|
170
|
+
if (tenant === undefined || tenant === null) {
|
|
171
|
+
throw new Error("Missing the required parameter 'tenant' when calling getKeyValue");
|
|
172
|
+
}
|
|
173
|
+
var pathParams = {
|
|
174
|
+
'namespace': namespace,
|
|
175
|
+
'key': key,
|
|
176
|
+
'tenant': tenant
|
|
177
|
+
};
|
|
178
|
+
var queryParams = {};
|
|
179
|
+
var headerParams = {};
|
|
180
|
+
var formParams = {};
|
|
181
|
+
var authNames = ['basicAuth', 'bearerAuth'];
|
|
182
|
+
var contentTypes = [];
|
|
183
|
+
var accepts = ['application/json'];
|
|
184
|
+
var returnType = _KVControllerTypedValue["default"];
|
|
185
|
+
return this.apiClient.callApi('/api/v1/{tenant}/namespaces/{namespace}/kv/{key}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
/**
|
|
189
|
+
* Callback function to receive the result of the listKeys operation.
|
|
190
|
+
* @callback module:api/KVApi~listKeysCallback
|
|
191
|
+
* @param {String} error Error message, if any.
|
|
192
|
+
* @param {Array.<module:model/KVEntry>} data The data returned by the service call.
|
|
193
|
+
* @param {String} response The complete HTTP response.
|
|
194
|
+
*/
|
|
195
|
+
|
|
196
|
+
/**
|
|
197
|
+
* List all keys for a namespace
|
|
198
|
+
* @param {String} namespace The namespace id
|
|
199
|
+
* @param {String} tenant
|
|
200
|
+
* @param {module:api/KVApi~listKeysCallback} callback The callback function, accepting three arguments: error, data, response
|
|
201
|
+
* data is of type: {@link Array.<module:model/KVEntry>}
|
|
202
|
+
*/
|
|
203
|
+
}, {
|
|
204
|
+
key: "listKeys",
|
|
205
|
+
value: function listKeys(namespace, tenant, callback) {
|
|
206
|
+
var postBody = null;
|
|
207
|
+
// verify the required parameter 'namespace' is set
|
|
208
|
+
if (namespace === undefined || namespace === null) {
|
|
209
|
+
throw new Error("Missing the required parameter 'namespace' when calling listKeys");
|
|
210
|
+
}
|
|
211
|
+
// verify the required parameter 'tenant' is set
|
|
212
|
+
if (tenant === undefined || tenant === null) {
|
|
213
|
+
throw new Error("Missing the required parameter 'tenant' when calling listKeys");
|
|
214
|
+
}
|
|
215
|
+
var pathParams = {
|
|
216
|
+
'namespace': namespace,
|
|
217
|
+
'tenant': tenant
|
|
218
|
+
};
|
|
219
|
+
var queryParams = {};
|
|
220
|
+
var headerParams = {};
|
|
221
|
+
var formParams = {};
|
|
222
|
+
var authNames = ['basicAuth', 'bearerAuth'];
|
|
223
|
+
var contentTypes = [];
|
|
224
|
+
var accepts = ['application/json'];
|
|
225
|
+
var returnType = [_KVEntry["default"]];
|
|
226
|
+
return this.apiClient.callApi('/api/v1/{tenant}/namespaces/{namespace}/kv', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
/**
|
|
230
|
+
* Callback function to receive the result of the setKeyValue operation.
|
|
231
|
+
* @callback module:api/KVApi~setKeyValueCallback
|
|
232
|
+
* @param {String} error Error message, if any.
|
|
233
|
+
* @param data This operation does not return a value.
|
|
234
|
+
* @param {String} response The complete HTTP response.
|
|
235
|
+
*/
|
|
236
|
+
|
|
237
|
+
/**
|
|
238
|
+
* Puts a key-value pair in store
|
|
239
|
+
* @param {String} namespace The namespace id
|
|
240
|
+
* @param {String} key The key
|
|
241
|
+
* @param {String} tenant
|
|
242
|
+
* @param {String} body The value of the key
|
|
243
|
+
* @param {module:api/KVApi~setKeyValueCallback} callback The callback function, accepting three arguments: error, data, response
|
|
244
|
+
*/
|
|
245
|
+
}, {
|
|
246
|
+
key: "setKeyValue",
|
|
247
|
+
value: function setKeyValue(namespace, key, tenant, body, callback) {
|
|
248
|
+
var postBody = body;
|
|
249
|
+
// verify the required parameter 'namespace' is set
|
|
250
|
+
if (namespace === undefined || namespace === null) {
|
|
251
|
+
throw new Error("Missing the required parameter 'namespace' when calling setKeyValue");
|
|
252
|
+
}
|
|
253
|
+
// verify the required parameter 'key' is set
|
|
254
|
+
if (key === undefined || key === null) {
|
|
255
|
+
throw new Error("Missing the required parameter 'key' when calling setKeyValue");
|
|
256
|
+
}
|
|
257
|
+
// verify the required parameter 'tenant' is set
|
|
258
|
+
if (tenant === undefined || tenant === null) {
|
|
259
|
+
throw new Error("Missing the required parameter 'tenant' when calling setKeyValue");
|
|
260
|
+
}
|
|
261
|
+
// verify the required parameter 'body' is set
|
|
262
|
+
if (body === undefined || body === null) {
|
|
263
|
+
throw new Error("Missing the required parameter 'body' when calling setKeyValue");
|
|
264
|
+
}
|
|
265
|
+
var pathParams = {
|
|
266
|
+
'namespace': namespace,
|
|
267
|
+
'key': key,
|
|
268
|
+
'tenant': tenant
|
|
269
|
+
};
|
|
270
|
+
var queryParams = {};
|
|
271
|
+
var headerParams = {};
|
|
272
|
+
var formParams = {};
|
|
273
|
+
var authNames = ['basicAuth', 'bearerAuth'];
|
|
274
|
+
var contentTypes = ['application/json', 'text/plain'];
|
|
275
|
+
var accepts = [];
|
|
276
|
+
var returnType = null;
|
|
277
|
+
return this.apiClient.callApi('/api/v1/{tenant}/namespaces/{namespace}/kv/{key}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
278
|
+
}
|
|
279
|
+
}]);
|
|
280
|
+
}();
|