@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,885 @@
|
|
|
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 _DeleteExecutionsByQueryRequest = _interopRequireDefault(require("../model/DeleteExecutionsByQueryRequest"));
|
|
9
|
+
var _PagedResultsTrigger = _interopRequireDefault(require("../model/PagedResultsTrigger"));
|
|
10
|
+
var _PagedResultsTriggerControllerTriggers = _interopRequireDefault(require("../model/PagedResultsTriggerControllerTriggers"));
|
|
11
|
+
var _QueryFilter = _interopRequireDefault(require("../model/QueryFilter"));
|
|
12
|
+
var _Trigger = _interopRequireDefault(require("../model/Trigger"));
|
|
13
|
+
var _TriggerControllerSetDisabledRequest = _interopRequireDefault(require("../model/TriggerControllerSetDisabledRequest"));
|
|
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
|
+
* Triggers service.
|
|
34
|
+
* @module api/TriggersApi
|
|
35
|
+
* @version v0.24.0
|
|
36
|
+
*/
|
|
37
|
+
var TriggersApi = exports["default"] = /*#__PURE__*/function () {
|
|
38
|
+
/**
|
|
39
|
+
* Constructs a new TriggersApi.
|
|
40
|
+
* @alias module:api/TriggersApi
|
|
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 TriggersApi(apiClient) {
|
|
46
|
+
_classCallCheck(this, TriggersApi);
|
|
47
|
+
this.apiClient = apiClient || _ApiClient["default"].instance;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* Callback function to receive the result of the deleteBackfill operation.
|
|
52
|
+
* @callback module:api/TriggersApi~deleteBackfillCallback
|
|
53
|
+
* @param {String} error Error message, if any.
|
|
54
|
+
* @param {module:model/Trigger} data The data returned by the service call.
|
|
55
|
+
* @param {String} response The complete HTTP response.
|
|
56
|
+
*/
|
|
57
|
+
|
|
58
|
+
/**
|
|
59
|
+
* Delete a backfill
|
|
60
|
+
* @param {String} tenant
|
|
61
|
+
* @param {module:model/Trigger} trigger
|
|
62
|
+
* @param {module:api/TriggersApi~deleteBackfillCallback} callback The callback function, accepting three arguments: error, data, response
|
|
63
|
+
* data is of type: {@link module:model/Trigger}
|
|
64
|
+
*/
|
|
65
|
+
return _createClass(TriggersApi, [{
|
|
66
|
+
key: "deleteBackfill",
|
|
67
|
+
value: function deleteBackfill(tenant, trigger, callback) {
|
|
68
|
+
var postBody = trigger;
|
|
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 deleteBackfill");
|
|
72
|
+
}
|
|
73
|
+
// verify the required parameter 'trigger' is set
|
|
74
|
+
if (trigger === undefined || trigger === null) {
|
|
75
|
+
throw new Error("Missing the required parameter 'trigger' when calling deleteBackfill");
|
|
76
|
+
}
|
|
77
|
+
var pathParams = {
|
|
78
|
+
'tenant': tenant
|
|
79
|
+
};
|
|
80
|
+
var queryParams = {};
|
|
81
|
+
var headerParams = {};
|
|
82
|
+
var formParams = {};
|
|
83
|
+
var authNames = ['basicAuth', 'bearerAuth'];
|
|
84
|
+
var contentTypes = ['application/json'];
|
|
85
|
+
var accepts = ['application/json'];
|
|
86
|
+
var returnType = _Trigger["default"];
|
|
87
|
+
return this.apiClient.callApi('/api/v1/{tenant}/triggers/backfill/delete', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
/**
|
|
91
|
+
* Callback function to receive the result of the deleteBackfillByIds operation.
|
|
92
|
+
* @callback module:api/TriggersApi~deleteBackfillByIdsCallback
|
|
93
|
+
* @param {String} error Error message, if any.
|
|
94
|
+
* @param {Object} data The data returned by the service call.
|
|
95
|
+
* @param {String} response The complete HTTP response.
|
|
96
|
+
*/
|
|
97
|
+
|
|
98
|
+
/**
|
|
99
|
+
* Delete backfill for given triggers
|
|
100
|
+
* @param {String} tenant
|
|
101
|
+
* @param {Array.<module:model/Trigger>} trigger
|
|
102
|
+
* @param {module:api/TriggersApi~deleteBackfillByIdsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
103
|
+
* data is of type: {@link Object}
|
|
104
|
+
*/
|
|
105
|
+
}, {
|
|
106
|
+
key: "deleteBackfillByIds",
|
|
107
|
+
value: function deleteBackfillByIds(tenant, trigger, callback) {
|
|
108
|
+
var postBody = trigger;
|
|
109
|
+
// verify the required parameter 'tenant' is set
|
|
110
|
+
if (tenant === undefined || tenant === null) {
|
|
111
|
+
throw new Error("Missing the required parameter 'tenant' when calling deleteBackfillByIds");
|
|
112
|
+
}
|
|
113
|
+
// verify the required parameter 'trigger' is set
|
|
114
|
+
if (trigger === undefined || trigger === null) {
|
|
115
|
+
throw new Error("Missing the required parameter 'trigger' when calling deleteBackfillByIds");
|
|
116
|
+
}
|
|
117
|
+
var pathParams = {
|
|
118
|
+
'tenant': tenant
|
|
119
|
+
};
|
|
120
|
+
var queryParams = {};
|
|
121
|
+
var headerParams = {};
|
|
122
|
+
var formParams = {};
|
|
123
|
+
var authNames = ['basicAuth', 'bearerAuth'];
|
|
124
|
+
var contentTypes = ['application/json'];
|
|
125
|
+
var accepts = ['application/json'];
|
|
126
|
+
var returnType = Object;
|
|
127
|
+
return this.apiClient.callApi('/api/v1/{tenant}/triggers/backfill/delete/by-triggers', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
/**
|
|
131
|
+
* Callback function to receive the result of the deleteBackfillByQuery operation.
|
|
132
|
+
* @callback module:api/TriggersApi~deleteBackfillByQueryCallback
|
|
133
|
+
* @param {String} error Error message, if any.
|
|
134
|
+
* @param {Object} data The data returned by the service call.
|
|
135
|
+
* @param {String} response The complete HTTP response.
|
|
136
|
+
*/
|
|
137
|
+
|
|
138
|
+
/**
|
|
139
|
+
* Delete backfill for given triggers
|
|
140
|
+
* @param {String} tenant
|
|
141
|
+
* @param {module:model/DeleteExecutionsByQueryRequest} deleteExecutionsByQueryRequest
|
|
142
|
+
* @param {Object} opts Optional parameters
|
|
143
|
+
* @param {String} [q] A string filter
|
|
144
|
+
* @param {String} [namespace] A namespace filter prefix
|
|
145
|
+
* @param {module:api/TriggersApi~deleteBackfillByQueryCallback} callback The callback function, accepting three arguments: error, data, response
|
|
146
|
+
* data is of type: {@link Object}
|
|
147
|
+
*/
|
|
148
|
+
}, {
|
|
149
|
+
key: "deleteBackfillByQuery",
|
|
150
|
+
value: function deleteBackfillByQuery(tenant, deleteExecutionsByQueryRequest, opts, callback) {
|
|
151
|
+
opts = opts || {};
|
|
152
|
+
var postBody = deleteExecutionsByQueryRequest;
|
|
153
|
+
// verify the required parameter 'tenant' is set
|
|
154
|
+
if (tenant === undefined || tenant === null) {
|
|
155
|
+
throw new Error("Missing the required parameter 'tenant' when calling deleteBackfillByQuery");
|
|
156
|
+
}
|
|
157
|
+
// verify the required parameter 'deleteExecutionsByQueryRequest' is set
|
|
158
|
+
if (deleteExecutionsByQueryRequest === undefined || deleteExecutionsByQueryRequest === null) {
|
|
159
|
+
throw new Error("Missing the required parameter 'deleteExecutionsByQueryRequest' when calling deleteBackfillByQuery");
|
|
160
|
+
}
|
|
161
|
+
var pathParams = {
|
|
162
|
+
'tenant': tenant
|
|
163
|
+
};
|
|
164
|
+
var queryParams = {
|
|
165
|
+
'q': opts['q'],
|
|
166
|
+
'namespace': opts['namespace']
|
|
167
|
+
};
|
|
168
|
+
var headerParams = {};
|
|
169
|
+
var formParams = {};
|
|
170
|
+
var authNames = ['basicAuth', 'bearerAuth'];
|
|
171
|
+
var contentTypes = ['application/json'];
|
|
172
|
+
var accepts = ['application/json'];
|
|
173
|
+
var returnType = Object;
|
|
174
|
+
return this.apiClient.callApi('/api/v1/{tenant}/triggers/backfill/delete/by-query', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
/**
|
|
178
|
+
* Callback function to receive the result of the disabledTriggersByIds operation.
|
|
179
|
+
* @callback module:api/TriggersApi~disabledTriggersByIdsCallback
|
|
180
|
+
* @param {String} error Error message, if any.
|
|
181
|
+
* @param {Object} data The data returned by the service call.
|
|
182
|
+
* @param {String} response The complete HTTP response.
|
|
183
|
+
*/
|
|
184
|
+
|
|
185
|
+
/**
|
|
186
|
+
* Disable/enable given triggers
|
|
187
|
+
* @param {String} tenant
|
|
188
|
+
* @param {module:model/TriggerControllerSetDisabledRequest} triggerControllerSetDisabledRequest
|
|
189
|
+
* @param {module:api/TriggersApi~disabledTriggersByIdsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
190
|
+
* data is of type: {@link Object}
|
|
191
|
+
*/
|
|
192
|
+
}, {
|
|
193
|
+
key: "disabledTriggersByIds",
|
|
194
|
+
value: function disabledTriggersByIds(tenant, triggerControllerSetDisabledRequest, callback) {
|
|
195
|
+
var postBody = triggerControllerSetDisabledRequest;
|
|
196
|
+
// verify the required parameter 'tenant' is set
|
|
197
|
+
if (tenant === undefined || tenant === null) {
|
|
198
|
+
throw new Error("Missing the required parameter 'tenant' when calling disabledTriggersByIds");
|
|
199
|
+
}
|
|
200
|
+
// verify the required parameter 'triggerControllerSetDisabledRequest' is set
|
|
201
|
+
if (triggerControllerSetDisabledRequest === undefined || triggerControllerSetDisabledRequest === null) {
|
|
202
|
+
throw new Error("Missing the required parameter 'triggerControllerSetDisabledRequest' when calling disabledTriggersByIds");
|
|
203
|
+
}
|
|
204
|
+
var pathParams = {
|
|
205
|
+
'tenant': tenant
|
|
206
|
+
};
|
|
207
|
+
var queryParams = {};
|
|
208
|
+
var headerParams = {};
|
|
209
|
+
var formParams = {};
|
|
210
|
+
var authNames = ['basicAuth', 'bearerAuth'];
|
|
211
|
+
var contentTypes = ['application/json'];
|
|
212
|
+
var accepts = ['application/json'];
|
|
213
|
+
var returnType = Object;
|
|
214
|
+
return this.apiClient.callApi('/api/v1/{tenant}/triggers/set-disabled/by-triggers', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
/**
|
|
218
|
+
* Callback function to receive the result of the disabledTriggersByQuery operation.
|
|
219
|
+
* @callback module:api/TriggersApi~disabledTriggersByQueryCallback
|
|
220
|
+
* @param {String} error Error message, if any.
|
|
221
|
+
* @param {Object} data The data returned by the service call.
|
|
222
|
+
* @param {String} response The complete HTTP response.
|
|
223
|
+
*/
|
|
224
|
+
|
|
225
|
+
/**
|
|
226
|
+
* Disable/enable triggers by query parameters
|
|
227
|
+
* @param {Boolean} disabled The disabled state
|
|
228
|
+
* @param {String} tenant
|
|
229
|
+
* @param {module:model/DeleteExecutionsByQueryRequest} deleteExecutionsByQueryRequest
|
|
230
|
+
* @param {Object} opts Optional parameters
|
|
231
|
+
* @param {String} [q] A string filter
|
|
232
|
+
* @param {String} [namespace] A namespace filter prefix
|
|
233
|
+
* @param {module:api/TriggersApi~disabledTriggersByQueryCallback} callback The callback function, accepting three arguments: error, data, response
|
|
234
|
+
* data is of type: {@link Object}
|
|
235
|
+
*/
|
|
236
|
+
}, {
|
|
237
|
+
key: "disabledTriggersByQuery",
|
|
238
|
+
value: function disabledTriggersByQuery(disabled, tenant, deleteExecutionsByQueryRequest, opts, callback) {
|
|
239
|
+
opts = opts || {};
|
|
240
|
+
var postBody = deleteExecutionsByQueryRequest;
|
|
241
|
+
// verify the required parameter 'disabled' is set
|
|
242
|
+
if (disabled === undefined || disabled === null) {
|
|
243
|
+
throw new Error("Missing the required parameter 'disabled' when calling disabledTriggersByQuery");
|
|
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 disabledTriggersByQuery");
|
|
248
|
+
}
|
|
249
|
+
// verify the required parameter 'deleteExecutionsByQueryRequest' is set
|
|
250
|
+
if (deleteExecutionsByQueryRequest === undefined || deleteExecutionsByQueryRequest === null) {
|
|
251
|
+
throw new Error("Missing the required parameter 'deleteExecutionsByQueryRequest' when calling disabledTriggersByQuery");
|
|
252
|
+
}
|
|
253
|
+
var pathParams = {
|
|
254
|
+
'tenant': tenant
|
|
255
|
+
};
|
|
256
|
+
var queryParams = {
|
|
257
|
+
'q': opts['q'],
|
|
258
|
+
'namespace': opts['namespace'],
|
|
259
|
+
'disabled': disabled
|
|
260
|
+
};
|
|
261
|
+
var headerParams = {};
|
|
262
|
+
var formParams = {};
|
|
263
|
+
var authNames = ['basicAuth', 'bearerAuth'];
|
|
264
|
+
var contentTypes = ['application/json'];
|
|
265
|
+
var accepts = ['application/json'];
|
|
266
|
+
var returnType = Object;
|
|
267
|
+
return this.apiClient.callApi('/api/v1/{tenant}/triggers/set-disabled/by-query', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
/**
|
|
271
|
+
* Callback function to receive the result of the pauseBackfill operation.
|
|
272
|
+
* @callback module:api/TriggersApi~pauseBackfillCallback
|
|
273
|
+
* @param {String} error Error message, if any.
|
|
274
|
+
* @param {module:model/Trigger} data The data returned by the service call.
|
|
275
|
+
* @param {String} response The complete HTTP response.
|
|
276
|
+
*/
|
|
277
|
+
|
|
278
|
+
/**
|
|
279
|
+
* Pause a backfill
|
|
280
|
+
* @param {String} tenant
|
|
281
|
+
* @param {module:model/Trigger} trigger
|
|
282
|
+
* @param {module:api/TriggersApi~pauseBackfillCallback} callback The callback function, accepting three arguments: error, data, response
|
|
283
|
+
* data is of type: {@link module:model/Trigger}
|
|
284
|
+
*/
|
|
285
|
+
}, {
|
|
286
|
+
key: "pauseBackfill",
|
|
287
|
+
value: function pauseBackfill(tenant, trigger, callback) {
|
|
288
|
+
var postBody = trigger;
|
|
289
|
+
// verify the required parameter 'tenant' is set
|
|
290
|
+
if (tenant === undefined || tenant === null) {
|
|
291
|
+
throw new Error("Missing the required parameter 'tenant' when calling pauseBackfill");
|
|
292
|
+
}
|
|
293
|
+
// verify the required parameter 'trigger' is set
|
|
294
|
+
if (trigger === undefined || trigger === null) {
|
|
295
|
+
throw new Error("Missing the required parameter 'trigger' when calling pauseBackfill");
|
|
296
|
+
}
|
|
297
|
+
var pathParams = {
|
|
298
|
+
'tenant': tenant
|
|
299
|
+
};
|
|
300
|
+
var queryParams = {};
|
|
301
|
+
var headerParams = {};
|
|
302
|
+
var formParams = {};
|
|
303
|
+
var authNames = ['basicAuth', 'bearerAuth'];
|
|
304
|
+
var contentTypes = ['application/json'];
|
|
305
|
+
var accepts = ['application/json'];
|
|
306
|
+
var returnType = _Trigger["default"];
|
|
307
|
+
return this.apiClient.callApi('/api/v1/{tenant}/triggers/backfill/pause', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
/**
|
|
311
|
+
* Callback function to receive the result of the pauseBackfillByIds operation.
|
|
312
|
+
* @callback module:api/TriggersApi~pauseBackfillByIdsCallback
|
|
313
|
+
* @param {String} error Error message, if any.
|
|
314
|
+
* @param {Object} data The data returned by the service call.
|
|
315
|
+
* @param {String} response The complete HTTP response.
|
|
316
|
+
*/
|
|
317
|
+
|
|
318
|
+
/**
|
|
319
|
+
* Pause backfill for given triggers
|
|
320
|
+
* @param {String} tenant
|
|
321
|
+
* @param {Array.<module:model/Trigger>} trigger
|
|
322
|
+
* @param {module:api/TriggersApi~pauseBackfillByIdsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
323
|
+
* data is of type: {@link Object}
|
|
324
|
+
*/
|
|
325
|
+
}, {
|
|
326
|
+
key: "pauseBackfillByIds",
|
|
327
|
+
value: function pauseBackfillByIds(tenant, trigger, callback) {
|
|
328
|
+
var postBody = trigger;
|
|
329
|
+
// verify the required parameter 'tenant' is set
|
|
330
|
+
if (tenant === undefined || tenant === null) {
|
|
331
|
+
throw new Error("Missing the required parameter 'tenant' when calling pauseBackfillByIds");
|
|
332
|
+
}
|
|
333
|
+
// verify the required parameter 'trigger' is set
|
|
334
|
+
if (trigger === undefined || trigger === null) {
|
|
335
|
+
throw new Error("Missing the required parameter 'trigger' when calling pauseBackfillByIds");
|
|
336
|
+
}
|
|
337
|
+
var pathParams = {
|
|
338
|
+
'tenant': tenant
|
|
339
|
+
};
|
|
340
|
+
var queryParams = {};
|
|
341
|
+
var headerParams = {};
|
|
342
|
+
var formParams = {};
|
|
343
|
+
var authNames = ['basicAuth', 'bearerAuth'];
|
|
344
|
+
var contentTypes = ['application/json'];
|
|
345
|
+
var accepts = ['application/json'];
|
|
346
|
+
var returnType = Object;
|
|
347
|
+
return this.apiClient.callApi('/api/v1/{tenant}/triggers/backfill/pause/by-triggers', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
/**
|
|
351
|
+
* Callback function to receive the result of the pauseBackfillByQuery operation.
|
|
352
|
+
* @callback module:api/TriggersApi~pauseBackfillByQueryCallback
|
|
353
|
+
* @param {String} error Error message, if any.
|
|
354
|
+
* @param {Object} data The data returned by the service call.
|
|
355
|
+
* @param {String} response The complete HTTP response.
|
|
356
|
+
*/
|
|
357
|
+
|
|
358
|
+
/**
|
|
359
|
+
* Pause backfill for given triggers
|
|
360
|
+
* @param {String} tenant
|
|
361
|
+
* @param {module:model/DeleteExecutionsByQueryRequest} deleteExecutionsByQueryRequest
|
|
362
|
+
* @param {Object} opts Optional parameters
|
|
363
|
+
* @param {String} [q] A string filter
|
|
364
|
+
* @param {String} [namespace] A namespace filter prefix
|
|
365
|
+
* @param {module:api/TriggersApi~pauseBackfillByQueryCallback} callback The callback function, accepting three arguments: error, data, response
|
|
366
|
+
* data is of type: {@link Object}
|
|
367
|
+
*/
|
|
368
|
+
}, {
|
|
369
|
+
key: "pauseBackfillByQuery",
|
|
370
|
+
value: function pauseBackfillByQuery(tenant, deleteExecutionsByQueryRequest, opts, callback) {
|
|
371
|
+
opts = opts || {};
|
|
372
|
+
var postBody = deleteExecutionsByQueryRequest;
|
|
373
|
+
// verify the required parameter 'tenant' is set
|
|
374
|
+
if (tenant === undefined || tenant === null) {
|
|
375
|
+
throw new Error("Missing the required parameter 'tenant' when calling pauseBackfillByQuery");
|
|
376
|
+
}
|
|
377
|
+
// verify the required parameter 'deleteExecutionsByQueryRequest' is set
|
|
378
|
+
if (deleteExecutionsByQueryRequest === undefined || deleteExecutionsByQueryRequest === null) {
|
|
379
|
+
throw new Error("Missing the required parameter 'deleteExecutionsByQueryRequest' when calling pauseBackfillByQuery");
|
|
380
|
+
}
|
|
381
|
+
var pathParams = {
|
|
382
|
+
'tenant': tenant
|
|
383
|
+
};
|
|
384
|
+
var queryParams = {
|
|
385
|
+
'q': opts['q'],
|
|
386
|
+
'namespace': opts['namespace']
|
|
387
|
+
};
|
|
388
|
+
var headerParams = {};
|
|
389
|
+
var formParams = {};
|
|
390
|
+
var authNames = ['basicAuth', 'bearerAuth'];
|
|
391
|
+
var contentTypes = ['application/json'];
|
|
392
|
+
var accepts = ['application/json'];
|
|
393
|
+
var returnType = Object;
|
|
394
|
+
return this.apiClient.callApi('/api/v1/{tenant}/triggers/backfill/pause/by-query', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
395
|
+
}
|
|
396
|
+
|
|
397
|
+
/**
|
|
398
|
+
* Callback function to receive the result of the restartTrigger operation.
|
|
399
|
+
* @callback module:api/TriggersApi~restartTriggerCallback
|
|
400
|
+
* @param {String} error Error message, if any.
|
|
401
|
+
* @param {Object} data The data returned by the service call.
|
|
402
|
+
* @param {String} response The complete HTTP response.
|
|
403
|
+
*/
|
|
404
|
+
|
|
405
|
+
/**
|
|
406
|
+
* Restart a trigger
|
|
407
|
+
* @param {String} namespace The namespace
|
|
408
|
+
* @param {String} flowId The flow id
|
|
409
|
+
* @param {String} triggerId The trigger id
|
|
410
|
+
* @param {String} tenant
|
|
411
|
+
* @param {module:api/TriggersApi~restartTriggerCallback} callback The callback function, accepting three arguments: error, data, response
|
|
412
|
+
* data is of type: {@link Object}
|
|
413
|
+
*/
|
|
414
|
+
}, {
|
|
415
|
+
key: "restartTrigger",
|
|
416
|
+
value: function restartTrigger(namespace, flowId, triggerId, tenant, callback) {
|
|
417
|
+
var postBody = null;
|
|
418
|
+
// verify the required parameter 'namespace' is set
|
|
419
|
+
if (namespace === undefined || namespace === null) {
|
|
420
|
+
throw new Error("Missing the required parameter 'namespace' when calling restartTrigger");
|
|
421
|
+
}
|
|
422
|
+
// verify the required parameter 'flowId' is set
|
|
423
|
+
if (flowId === undefined || flowId === null) {
|
|
424
|
+
throw new Error("Missing the required parameter 'flowId' when calling restartTrigger");
|
|
425
|
+
}
|
|
426
|
+
// verify the required parameter 'triggerId' is set
|
|
427
|
+
if (triggerId === undefined || triggerId === null) {
|
|
428
|
+
throw new Error("Missing the required parameter 'triggerId' when calling restartTrigger");
|
|
429
|
+
}
|
|
430
|
+
// verify the required parameter 'tenant' is set
|
|
431
|
+
if (tenant === undefined || tenant === null) {
|
|
432
|
+
throw new Error("Missing the required parameter 'tenant' when calling restartTrigger");
|
|
433
|
+
}
|
|
434
|
+
var pathParams = {
|
|
435
|
+
'namespace': namespace,
|
|
436
|
+
'flowId': flowId,
|
|
437
|
+
'triggerId': triggerId,
|
|
438
|
+
'tenant': tenant
|
|
439
|
+
};
|
|
440
|
+
var queryParams = {};
|
|
441
|
+
var headerParams = {};
|
|
442
|
+
var formParams = {};
|
|
443
|
+
var authNames = ['basicAuth', 'bearerAuth'];
|
|
444
|
+
var contentTypes = [];
|
|
445
|
+
var accepts = ['application/json'];
|
|
446
|
+
var returnType = Object;
|
|
447
|
+
return this.apiClient.callApi('/api/v1/{tenant}/triggers/{namespace}/{flowId}/{triggerId}/restart', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
448
|
+
}
|
|
449
|
+
|
|
450
|
+
/**
|
|
451
|
+
* Callback function to receive the result of the searchTriggers operation.
|
|
452
|
+
* @callback module:api/TriggersApi~searchTriggersCallback
|
|
453
|
+
* @param {String} error Error message, if any.
|
|
454
|
+
* @param {module:model/PagedResultsTriggerControllerTriggers} data The data returned by the service call.
|
|
455
|
+
* @param {String} response The complete HTTP response.
|
|
456
|
+
*/
|
|
457
|
+
|
|
458
|
+
/**
|
|
459
|
+
* Search for triggers
|
|
460
|
+
* @param {Number} page The current page
|
|
461
|
+
* @param {Number} size The current page size
|
|
462
|
+
* @param {String} tenant
|
|
463
|
+
* @param {Object} opts Optional parameters
|
|
464
|
+
* @param {Array.<String>} [sort] The sort of current page
|
|
465
|
+
* @param {Array.<module:model/QueryFilter>} [filters] Filters
|
|
466
|
+
* @param {String} [q] A string filter
|
|
467
|
+
* @param {String} [namespace] A namespace filter prefix
|
|
468
|
+
* @param {String} [workerId] The identifier of the worker currently evaluating the trigger
|
|
469
|
+
* @param {String} [flowId] The flow identifier
|
|
470
|
+
* @param {module:api/TriggersApi~searchTriggersCallback} callback The callback function, accepting three arguments: error, data, response
|
|
471
|
+
* data is of type: {@link module:model/PagedResultsTriggerControllerTriggers}
|
|
472
|
+
*/
|
|
473
|
+
}, {
|
|
474
|
+
key: "searchTriggers",
|
|
475
|
+
value: function searchTriggers(page, size, tenant, opts, callback) {
|
|
476
|
+
opts = opts || {};
|
|
477
|
+
var postBody = null;
|
|
478
|
+
// verify the required parameter 'page' is set
|
|
479
|
+
if (page === undefined || page === null) {
|
|
480
|
+
throw new Error("Missing the required parameter 'page' when calling searchTriggers");
|
|
481
|
+
}
|
|
482
|
+
// verify the required parameter 'size' is set
|
|
483
|
+
if (size === undefined || size === null) {
|
|
484
|
+
throw new Error("Missing the required parameter 'size' when calling searchTriggers");
|
|
485
|
+
}
|
|
486
|
+
// verify the required parameter 'tenant' is set
|
|
487
|
+
if (tenant === undefined || tenant === null) {
|
|
488
|
+
throw new Error("Missing the required parameter 'tenant' when calling searchTriggers");
|
|
489
|
+
}
|
|
490
|
+
var pathParams = {
|
|
491
|
+
'tenant': tenant
|
|
492
|
+
};
|
|
493
|
+
var queryParams = {
|
|
494
|
+
'page': page,
|
|
495
|
+
'size': size,
|
|
496
|
+
'sort': this.apiClient.buildCollectionParam(opts['sort'], 'csv'),
|
|
497
|
+
'filters': this.apiClient.buildCollectionParam(opts['filters'], 'csv'),
|
|
498
|
+
'q': opts['q'],
|
|
499
|
+
'namespace': opts['namespace'],
|
|
500
|
+
'workerId': opts['workerId'],
|
|
501
|
+
'flowId': opts['flowId']
|
|
502
|
+
};
|
|
503
|
+
var headerParams = {};
|
|
504
|
+
var formParams = {};
|
|
505
|
+
var authNames = ['basicAuth', 'bearerAuth'];
|
|
506
|
+
var contentTypes = [];
|
|
507
|
+
var accepts = ['application/json'];
|
|
508
|
+
var returnType = _PagedResultsTriggerControllerTriggers["default"];
|
|
509
|
+
return this.apiClient.callApi('/api/v1/{tenant}/triggers/search', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
510
|
+
}
|
|
511
|
+
|
|
512
|
+
/**
|
|
513
|
+
* Callback function to receive the result of the searchTriggersForFlow operation.
|
|
514
|
+
* @callback module:api/TriggersApi~searchTriggersForFlowCallback
|
|
515
|
+
* @param {String} error Error message, if any.
|
|
516
|
+
* @param {module:model/PagedResultsTrigger} data The data returned by the service call.
|
|
517
|
+
* @param {String} response The complete HTTP response.
|
|
518
|
+
*/
|
|
519
|
+
|
|
520
|
+
/**
|
|
521
|
+
* Get all triggers for a flow
|
|
522
|
+
* @param {Number} page The current page
|
|
523
|
+
* @param {Number} size The current page size
|
|
524
|
+
* @param {String} namespace The namespace
|
|
525
|
+
* @param {String} flowId The flow id
|
|
526
|
+
* @param {String} tenant
|
|
527
|
+
* @param {Object} opts Optional parameters
|
|
528
|
+
* @param {Array.<String>} [sort] The sort of current page
|
|
529
|
+
* @param {String} [q] A string filter
|
|
530
|
+
* @param {module:api/TriggersApi~searchTriggersForFlowCallback} callback The callback function, accepting three arguments: error, data, response
|
|
531
|
+
* data is of type: {@link module:model/PagedResultsTrigger}
|
|
532
|
+
*/
|
|
533
|
+
}, {
|
|
534
|
+
key: "searchTriggersForFlow",
|
|
535
|
+
value: function searchTriggersForFlow(page, size, namespace, flowId, tenant, opts, callback) {
|
|
536
|
+
opts = opts || {};
|
|
537
|
+
var postBody = null;
|
|
538
|
+
// verify the required parameter 'page' is set
|
|
539
|
+
if (page === undefined || page === null) {
|
|
540
|
+
throw new Error("Missing the required parameter 'page' when calling searchTriggersForFlow");
|
|
541
|
+
}
|
|
542
|
+
// verify the required parameter 'size' is set
|
|
543
|
+
if (size === undefined || size === null) {
|
|
544
|
+
throw new Error("Missing the required parameter 'size' when calling searchTriggersForFlow");
|
|
545
|
+
}
|
|
546
|
+
// verify the required parameter 'namespace' is set
|
|
547
|
+
if (namespace === undefined || namespace === null) {
|
|
548
|
+
throw new Error("Missing the required parameter 'namespace' when calling searchTriggersForFlow");
|
|
549
|
+
}
|
|
550
|
+
// verify the required parameter 'flowId' is set
|
|
551
|
+
if (flowId === undefined || flowId === null) {
|
|
552
|
+
throw new Error("Missing the required parameter 'flowId' when calling searchTriggersForFlow");
|
|
553
|
+
}
|
|
554
|
+
// verify the required parameter 'tenant' is set
|
|
555
|
+
if (tenant === undefined || tenant === null) {
|
|
556
|
+
throw new Error("Missing the required parameter 'tenant' when calling searchTriggersForFlow");
|
|
557
|
+
}
|
|
558
|
+
var pathParams = {
|
|
559
|
+
'namespace': namespace,
|
|
560
|
+
'flowId': flowId,
|
|
561
|
+
'tenant': tenant
|
|
562
|
+
};
|
|
563
|
+
var queryParams = {
|
|
564
|
+
'page': page,
|
|
565
|
+
'size': size,
|
|
566
|
+
'sort': this.apiClient.buildCollectionParam(opts['sort'], 'csv'),
|
|
567
|
+
'q': opts['q']
|
|
568
|
+
};
|
|
569
|
+
var headerParams = {};
|
|
570
|
+
var formParams = {};
|
|
571
|
+
var authNames = ['basicAuth', 'bearerAuth'];
|
|
572
|
+
var contentTypes = [];
|
|
573
|
+
var accepts = ['application/json'];
|
|
574
|
+
var returnType = _PagedResultsTrigger["default"];
|
|
575
|
+
return this.apiClient.callApi('/api/v1/{tenant}/triggers/{namespace}/{flowId}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
576
|
+
}
|
|
577
|
+
|
|
578
|
+
/**
|
|
579
|
+
* Callback function to receive the result of the unlockTrigger operation.
|
|
580
|
+
* @callback module:api/TriggersApi~unlockTriggerCallback
|
|
581
|
+
* @param {String} error Error message, if any.
|
|
582
|
+
* @param {module:model/Trigger} data The data returned by the service call.
|
|
583
|
+
* @param {String} response The complete HTTP response.
|
|
584
|
+
*/
|
|
585
|
+
|
|
586
|
+
/**
|
|
587
|
+
* Unlock a trigger
|
|
588
|
+
* @param {String} namespace The namespace
|
|
589
|
+
* @param {String} flowId The flow id
|
|
590
|
+
* @param {String} triggerId The trigger id
|
|
591
|
+
* @param {String} tenant
|
|
592
|
+
* @param {module:api/TriggersApi~unlockTriggerCallback} callback The callback function, accepting three arguments: error, data, response
|
|
593
|
+
* data is of type: {@link module:model/Trigger}
|
|
594
|
+
*/
|
|
595
|
+
}, {
|
|
596
|
+
key: "unlockTrigger",
|
|
597
|
+
value: function unlockTrigger(namespace, flowId, triggerId, tenant, callback) {
|
|
598
|
+
var postBody = null;
|
|
599
|
+
// verify the required parameter 'namespace' is set
|
|
600
|
+
if (namespace === undefined || namespace === null) {
|
|
601
|
+
throw new Error("Missing the required parameter 'namespace' when calling unlockTrigger");
|
|
602
|
+
}
|
|
603
|
+
// verify the required parameter 'flowId' is set
|
|
604
|
+
if (flowId === undefined || flowId === null) {
|
|
605
|
+
throw new Error("Missing the required parameter 'flowId' when calling unlockTrigger");
|
|
606
|
+
}
|
|
607
|
+
// verify the required parameter 'triggerId' is set
|
|
608
|
+
if (triggerId === undefined || triggerId === null) {
|
|
609
|
+
throw new Error("Missing the required parameter 'triggerId' when calling unlockTrigger");
|
|
610
|
+
}
|
|
611
|
+
// verify the required parameter 'tenant' is set
|
|
612
|
+
if (tenant === undefined || tenant === null) {
|
|
613
|
+
throw new Error("Missing the required parameter 'tenant' when calling unlockTrigger");
|
|
614
|
+
}
|
|
615
|
+
var pathParams = {
|
|
616
|
+
'namespace': namespace,
|
|
617
|
+
'flowId': flowId,
|
|
618
|
+
'triggerId': triggerId,
|
|
619
|
+
'tenant': tenant
|
|
620
|
+
};
|
|
621
|
+
var queryParams = {};
|
|
622
|
+
var headerParams = {};
|
|
623
|
+
var formParams = {};
|
|
624
|
+
var authNames = ['basicAuth', 'bearerAuth'];
|
|
625
|
+
var contentTypes = [];
|
|
626
|
+
var accepts = ['application/json'];
|
|
627
|
+
var returnType = _Trigger["default"];
|
|
628
|
+
return this.apiClient.callApi('/api/v1/{tenant}/triggers/{namespace}/{flowId}/{triggerId}/unlock', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
629
|
+
}
|
|
630
|
+
|
|
631
|
+
/**
|
|
632
|
+
* Callback function to receive the result of the unlockTriggersByIds operation.
|
|
633
|
+
* @callback module:api/TriggersApi~unlockTriggersByIdsCallback
|
|
634
|
+
* @param {String} error Error message, if any.
|
|
635
|
+
* @param {Object} data The data returned by the service call.
|
|
636
|
+
* @param {String} response The complete HTTP response.
|
|
637
|
+
*/
|
|
638
|
+
|
|
639
|
+
/**
|
|
640
|
+
* Unlock given triggers
|
|
641
|
+
* @param {String} tenant
|
|
642
|
+
* @param {Array.<module:model/Trigger>} trigger
|
|
643
|
+
* @param {module:api/TriggersApi~unlockTriggersByIdsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
644
|
+
* data is of type: {@link Object}
|
|
645
|
+
*/
|
|
646
|
+
}, {
|
|
647
|
+
key: "unlockTriggersByIds",
|
|
648
|
+
value: function unlockTriggersByIds(tenant, trigger, callback) {
|
|
649
|
+
var postBody = trigger;
|
|
650
|
+
// verify the required parameter 'tenant' is set
|
|
651
|
+
if (tenant === undefined || tenant === null) {
|
|
652
|
+
throw new Error("Missing the required parameter 'tenant' when calling unlockTriggersByIds");
|
|
653
|
+
}
|
|
654
|
+
// verify the required parameter 'trigger' is set
|
|
655
|
+
if (trigger === undefined || trigger === null) {
|
|
656
|
+
throw new Error("Missing the required parameter 'trigger' when calling unlockTriggersByIds");
|
|
657
|
+
}
|
|
658
|
+
var pathParams = {
|
|
659
|
+
'tenant': tenant
|
|
660
|
+
};
|
|
661
|
+
var queryParams = {};
|
|
662
|
+
var headerParams = {};
|
|
663
|
+
var formParams = {};
|
|
664
|
+
var authNames = ['basicAuth', 'bearerAuth'];
|
|
665
|
+
var contentTypes = ['application/json'];
|
|
666
|
+
var accepts = ['application/json'];
|
|
667
|
+
var returnType = Object;
|
|
668
|
+
return this.apiClient.callApi('/api/v1/{tenant}/triggers/unlock/by-triggers', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
669
|
+
}
|
|
670
|
+
|
|
671
|
+
/**
|
|
672
|
+
* Callback function to receive the result of the unlockTriggersByQuery operation.
|
|
673
|
+
* @callback module:api/TriggersApi~unlockTriggersByQueryCallback
|
|
674
|
+
* @param {String} error Error message, if any.
|
|
675
|
+
* @param {Object} data The data returned by the service call.
|
|
676
|
+
* @param {String} response The complete HTTP response.
|
|
677
|
+
*/
|
|
678
|
+
|
|
679
|
+
/**
|
|
680
|
+
* Unlock triggers by query parameters
|
|
681
|
+
* @param {String} tenant
|
|
682
|
+
* @param {module:model/DeleteExecutionsByQueryRequest} deleteExecutionsByQueryRequest
|
|
683
|
+
* @param {Object} opts Optional parameters
|
|
684
|
+
* @param {String} [q] A string filter
|
|
685
|
+
* @param {String} [namespace] A namespace filter prefix
|
|
686
|
+
* @param {module:api/TriggersApi~unlockTriggersByQueryCallback} callback The callback function, accepting three arguments: error, data, response
|
|
687
|
+
* data is of type: {@link Object}
|
|
688
|
+
*/
|
|
689
|
+
}, {
|
|
690
|
+
key: "unlockTriggersByQuery",
|
|
691
|
+
value: function unlockTriggersByQuery(tenant, deleteExecutionsByQueryRequest, opts, callback) {
|
|
692
|
+
opts = opts || {};
|
|
693
|
+
var postBody = deleteExecutionsByQueryRequest;
|
|
694
|
+
// verify the required parameter 'tenant' is set
|
|
695
|
+
if (tenant === undefined || tenant === null) {
|
|
696
|
+
throw new Error("Missing the required parameter 'tenant' when calling unlockTriggersByQuery");
|
|
697
|
+
}
|
|
698
|
+
// verify the required parameter 'deleteExecutionsByQueryRequest' is set
|
|
699
|
+
if (deleteExecutionsByQueryRequest === undefined || deleteExecutionsByQueryRequest === null) {
|
|
700
|
+
throw new Error("Missing the required parameter 'deleteExecutionsByQueryRequest' when calling unlockTriggersByQuery");
|
|
701
|
+
}
|
|
702
|
+
var pathParams = {
|
|
703
|
+
'tenant': tenant
|
|
704
|
+
};
|
|
705
|
+
var queryParams = {
|
|
706
|
+
'q': opts['q'],
|
|
707
|
+
'namespace': opts['namespace']
|
|
708
|
+
};
|
|
709
|
+
var headerParams = {};
|
|
710
|
+
var formParams = {};
|
|
711
|
+
var authNames = ['basicAuth', 'bearerAuth'];
|
|
712
|
+
var contentTypes = ['application/json'];
|
|
713
|
+
var accepts = ['application/json'];
|
|
714
|
+
var returnType = Object;
|
|
715
|
+
return this.apiClient.callApi('/api/v1/{tenant}/triggers/unlock/by-query', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
716
|
+
}
|
|
717
|
+
|
|
718
|
+
/**
|
|
719
|
+
* Callback function to receive the result of the unpauseBackfill operation.
|
|
720
|
+
* @callback module:api/TriggersApi~unpauseBackfillCallback
|
|
721
|
+
* @param {String} error Error message, if any.
|
|
722
|
+
* @param {module:model/Trigger} data The data returned by the service call.
|
|
723
|
+
* @param {String} response The complete HTTP response.
|
|
724
|
+
*/
|
|
725
|
+
|
|
726
|
+
/**
|
|
727
|
+
* Unpause a backfill
|
|
728
|
+
* @param {String} tenant
|
|
729
|
+
* @param {module:model/Trigger} trigger
|
|
730
|
+
* @param {module:api/TriggersApi~unpauseBackfillCallback} callback The callback function, accepting three arguments: error, data, response
|
|
731
|
+
* data is of type: {@link module:model/Trigger}
|
|
732
|
+
*/
|
|
733
|
+
}, {
|
|
734
|
+
key: "unpauseBackfill",
|
|
735
|
+
value: function unpauseBackfill(tenant, trigger, callback) {
|
|
736
|
+
var postBody = trigger;
|
|
737
|
+
// verify the required parameter 'tenant' is set
|
|
738
|
+
if (tenant === undefined || tenant === null) {
|
|
739
|
+
throw new Error("Missing the required parameter 'tenant' when calling unpauseBackfill");
|
|
740
|
+
}
|
|
741
|
+
// verify the required parameter 'trigger' is set
|
|
742
|
+
if (trigger === undefined || trigger === null) {
|
|
743
|
+
throw new Error("Missing the required parameter 'trigger' when calling unpauseBackfill");
|
|
744
|
+
}
|
|
745
|
+
var pathParams = {
|
|
746
|
+
'tenant': tenant
|
|
747
|
+
};
|
|
748
|
+
var queryParams = {};
|
|
749
|
+
var headerParams = {};
|
|
750
|
+
var formParams = {};
|
|
751
|
+
var authNames = ['basicAuth', 'bearerAuth'];
|
|
752
|
+
var contentTypes = ['application/json'];
|
|
753
|
+
var accepts = ['application/json'];
|
|
754
|
+
var returnType = _Trigger["default"];
|
|
755
|
+
return this.apiClient.callApi('/api/v1/{tenant}/triggers/backfill/unpause', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
756
|
+
}
|
|
757
|
+
|
|
758
|
+
/**
|
|
759
|
+
* Callback function to receive the result of the unpauseBackfillByIds operation.
|
|
760
|
+
* @callback module:api/TriggersApi~unpauseBackfillByIdsCallback
|
|
761
|
+
* @param {String} error Error message, if any.
|
|
762
|
+
* @param {Object} data The data returned by the service call.
|
|
763
|
+
* @param {String} response The complete HTTP response.
|
|
764
|
+
*/
|
|
765
|
+
|
|
766
|
+
/**
|
|
767
|
+
* Unpause backfill for given triggers
|
|
768
|
+
* @param {String} tenant
|
|
769
|
+
* @param {Array.<module:model/Trigger>} trigger
|
|
770
|
+
* @param {module:api/TriggersApi~unpauseBackfillByIdsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
771
|
+
* data is of type: {@link Object}
|
|
772
|
+
*/
|
|
773
|
+
}, {
|
|
774
|
+
key: "unpauseBackfillByIds",
|
|
775
|
+
value: function unpauseBackfillByIds(tenant, trigger, callback) {
|
|
776
|
+
var postBody = trigger;
|
|
777
|
+
// verify the required parameter 'tenant' is set
|
|
778
|
+
if (tenant === undefined || tenant === null) {
|
|
779
|
+
throw new Error("Missing the required parameter 'tenant' when calling unpauseBackfillByIds");
|
|
780
|
+
}
|
|
781
|
+
// verify the required parameter 'trigger' is set
|
|
782
|
+
if (trigger === undefined || trigger === null) {
|
|
783
|
+
throw new Error("Missing the required parameter 'trigger' when calling unpauseBackfillByIds");
|
|
784
|
+
}
|
|
785
|
+
var pathParams = {
|
|
786
|
+
'tenant': tenant
|
|
787
|
+
};
|
|
788
|
+
var queryParams = {};
|
|
789
|
+
var headerParams = {};
|
|
790
|
+
var formParams = {};
|
|
791
|
+
var authNames = ['basicAuth', 'bearerAuth'];
|
|
792
|
+
var contentTypes = ['application/json'];
|
|
793
|
+
var accepts = ['application/json'];
|
|
794
|
+
var returnType = Object;
|
|
795
|
+
return this.apiClient.callApi('/api/v1/{tenant}/triggers/backfill/unpause/by-triggers', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
796
|
+
}
|
|
797
|
+
|
|
798
|
+
/**
|
|
799
|
+
* Callback function to receive the result of the unpauseBackfillByQuery operation.
|
|
800
|
+
* @callback module:api/TriggersApi~unpauseBackfillByQueryCallback
|
|
801
|
+
* @param {String} error Error message, if any.
|
|
802
|
+
* @param {Object} data The data returned by the service call.
|
|
803
|
+
* @param {String} response The complete HTTP response.
|
|
804
|
+
*/
|
|
805
|
+
|
|
806
|
+
/**
|
|
807
|
+
* Unpause backfill for given triggers
|
|
808
|
+
* @param {String} tenant
|
|
809
|
+
* @param {module:model/DeleteExecutionsByQueryRequest} deleteExecutionsByQueryRequest
|
|
810
|
+
* @param {Object} opts Optional parameters
|
|
811
|
+
* @param {String} [q] A string filter
|
|
812
|
+
* @param {String} [namespace] A namespace filter prefix
|
|
813
|
+
* @param {module:api/TriggersApi~unpauseBackfillByQueryCallback} callback The callback function, accepting three arguments: error, data, response
|
|
814
|
+
* data is of type: {@link Object}
|
|
815
|
+
*/
|
|
816
|
+
}, {
|
|
817
|
+
key: "unpauseBackfillByQuery",
|
|
818
|
+
value: function unpauseBackfillByQuery(tenant, deleteExecutionsByQueryRequest, opts, callback) {
|
|
819
|
+
opts = opts || {};
|
|
820
|
+
var postBody = deleteExecutionsByQueryRequest;
|
|
821
|
+
// verify the required parameter 'tenant' is set
|
|
822
|
+
if (tenant === undefined || tenant === null) {
|
|
823
|
+
throw new Error("Missing the required parameter 'tenant' when calling unpauseBackfillByQuery");
|
|
824
|
+
}
|
|
825
|
+
// verify the required parameter 'deleteExecutionsByQueryRequest' is set
|
|
826
|
+
if (deleteExecutionsByQueryRequest === undefined || deleteExecutionsByQueryRequest === null) {
|
|
827
|
+
throw new Error("Missing the required parameter 'deleteExecutionsByQueryRequest' when calling unpauseBackfillByQuery");
|
|
828
|
+
}
|
|
829
|
+
var pathParams = {
|
|
830
|
+
'tenant': tenant
|
|
831
|
+
};
|
|
832
|
+
var queryParams = {
|
|
833
|
+
'q': opts['q'],
|
|
834
|
+
'namespace': opts['namespace']
|
|
835
|
+
};
|
|
836
|
+
var headerParams = {};
|
|
837
|
+
var formParams = {};
|
|
838
|
+
var authNames = ['basicAuth', 'bearerAuth'];
|
|
839
|
+
var contentTypes = ['application/json'];
|
|
840
|
+
var accepts = ['application/json'];
|
|
841
|
+
var returnType = Object;
|
|
842
|
+
return this.apiClient.callApi('/api/v1/{tenant}/triggers/backfill/unpause/by-query', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
843
|
+
}
|
|
844
|
+
|
|
845
|
+
/**
|
|
846
|
+
* Callback function to receive the result of the updateTrigger operation.
|
|
847
|
+
* @callback module:api/TriggersApi~updateTriggerCallback
|
|
848
|
+
* @param {String} error Error message, if any.
|
|
849
|
+
* @param {module:model/Trigger} data The data returned by the service call.
|
|
850
|
+
* @param {String} response The complete HTTP response.
|
|
851
|
+
*/
|
|
852
|
+
|
|
853
|
+
/**
|
|
854
|
+
* Update a trigger
|
|
855
|
+
* @param {String} tenant
|
|
856
|
+
* @param {module:model/Trigger} trigger
|
|
857
|
+
* @param {module:api/TriggersApi~updateTriggerCallback} callback The callback function, accepting three arguments: error, data, response
|
|
858
|
+
* data is of type: {@link module:model/Trigger}
|
|
859
|
+
*/
|
|
860
|
+
}, {
|
|
861
|
+
key: "updateTrigger",
|
|
862
|
+
value: function updateTrigger(tenant, trigger, callback) {
|
|
863
|
+
var postBody = trigger;
|
|
864
|
+
// verify the required parameter 'tenant' is set
|
|
865
|
+
if (tenant === undefined || tenant === null) {
|
|
866
|
+
throw new Error("Missing the required parameter 'tenant' when calling updateTrigger");
|
|
867
|
+
}
|
|
868
|
+
// verify the required parameter 'trigger' is set
|
|
869
|
+
if (trigger === undefined || trigger === null) {
|
|
870
|
+
throw new Error("Missing the required parameter 'trigger' when calling updateTrigger");
|
|
871
|
+
}
|
|
872
|
+
var pathParams = {
|
|
873
|
+
'tenant': tenant
|
|
874
|
+
};
|
|
875
|
+
var queryParams = {};
|
|
876
|
+
var headerParams = {};
|
|
877
|
+
var formParams = {};
|
|
878
|
+
var authNames = ['basicAuth', 'bearerAuth'];
|
|
879
|
+
var contentTypes = ['application/json'];
|
|
880
|
+
var accepts = ['application/json'];
|
|
881
|
+
var returnType = _Trigger["default"];
|
|
882
|
+
return this.apiClient.callApi('/api/v1/{tenant}/triggers', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
883
|
+
}
|
|
884
|
+
}]);
|
|
885
|
+
}();
|