qovery-typescript-axios 1.1.708 → 1.1.711

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/dist/api.js CHANGED
@@ -22,16 +22,16 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
22
22
  });
23
23
  };
24
24
  Object.defineProperty(exports, "__esModule", { value: true });
25
- exports.HelmPortProtocolEnum = exports.HelmForceEvent = exports.GkeInfrastructureOutputsKindEnum = exports.GitTokenAssociatedServiceType = exports.GitProviderEnum = exports.GenericClusterCredentialsObjectTypeEnum = exports.GcpStaticClusterCredentialsObjectTypeEnum = exports.EnvironmentStatusEventOriginEnum = exports.EnvironmentModeEnum = exports.EnvironmentLogTypeEnum = exports.EnvironmentDeploymentStatusEnum = exports.EksInfrastructureOutputsKindEnum = exports.DeploymentRestrictionTypeEnum = exports.DeploymentRestrictionModeEnum = exports.DeploymentHistoryTriggerAction = exports.DeploymentHistoryStatusEnum = exports.DeploymentHistoryServiceDetailsOneOf2JobTypeEnum = exports.DeploymentHistoryActionStatus = exports.DeleteTerraformAction = exports.DatabaseTypeEnum = exports.DatabaseModeEnum = exports.DatabaseAccessibilityEnum = exports.CustomDomainStatusEnum = exports.CreateEnvironmentModeEnum = exports.CpuArchitectureEnum = exports.ContainerRegistryKindEnum = exports.ContainerRegistryAssociatedServiceType = exports.ContainerAdvancedSettingsDeploymentUpdateStrategyTypeEnum = exports.ContainerAdvancedSettingsDeploymentAntiaffinityPodEnum = exports.CompanySizeEnum = exports.ClusterStateEnum = exports.ClusterLogsStepEnum = exports.ClusterFeatureResponseTypeEnum = exports.ClusterFeatureResponseValueTypeEnum = exports.ClusterDeploymentStatusEnum = exports.ClusterDeleteMode = exports.ClusterAdvancedSettingsAwsEksEc2MetadataImdsEnum = exports.CloudVendorEnum = exports.CloudProviderEnum = exports.CheckedCustomDomainStatus = exports.BuildModeEnum = exports.AzureStaticClusterCredentialsObjectTypeEnum = exports.AwsStaticClusterCredentialsObjectTypeEnum = exports.AwsRoleClusterCredentialsObjectTypeEnum = exports.ApplicationAdvancedSettingsDeploymentUpdateStrategyTypeEnum = exports.ApplicationAdvancedSettingsDeploymentAntiaffinityPodEnum = exports.AnnotationsGroupAssociatedItemType = exports.AksInfrastructureOutputsKindEnum = exports.APIVariableTypeEnum = exports.APIVariableScopeEnum = void 0;
26
- exports.WeekdayEnum = exports.TypeOfUseEnum = exports.TerraformResponseProviderEnum = exports.TerraformRequestProviderEnum = exports.TerraformDeployRequestActionEnum = exports.StorageTypeEnum = exports.StepMetricStatusEnum = exports.StatusKindEnum = exports.StateEnum = exports.StageStepMetricNameEnum = exports.StageStatusEnum = exports.ServiceTypeForVariableEnum = exports.ServiceTypeEnum = exports.ServiceStepMetricNameEnum = exports.ServiceLightResponseJobTypeEnum = exports.ServiceDeploymentStatusEnum = exports.ServiceActionStatusEnum = exports.ServiceActionEnum = exports.ScalewayClusterCredentialsObjectTypeEnum = exports.RewardClaimTypeEnum = exports.RegistryMirroringModeEnum = exports.QueuedDeploymentRequestWithStagesStagesInnerServicesInnerDetailsOneOfJobTypeEnum = exports.PortProtocolEnum = exports.PlanEnum = exports.OrganizationWebhookKindEnum = exports.OrganizationWebhookEventEnum = exports.OrganizationEventType = exports.OrganizationEventTargetType = exports.OrganizationEventSubTargetType = exports.OrganizationEventOrigin = exports.OrganizationCustomRoleProjectPermission = exports.OrganizationCustomRoleClusterPermission = exports.OrganizationApiTokenScope = exports.OrganizationAnnotationsGroupScopeEnum = exports.MetricsConfigurationManagedByQoveryKindEnum = exports.LinkedServiceTypeEnum = exports.LabelsGroupAssociatedItemType = exports.KubernetesEnum = exports.KarpenterNodePoolRequirementOperator = exports.KarpenterNodePoolRequirementKey = exports.KapsuleInfrastructureOutputsKindEnum = exports.JobTypeEnum = exports.JobScheduleEvent = exports.JobLifecycleTypeEnum = exports.JobForceEvent = exports.InvoiceStatusEnum = exports.InviteStatusEnum = exports.InviteMemberRoleEnum = exports.HelmRepositoryKindEnum = exports.HelmRepositoryAssociatedServiceType = void 0;
27
- exports.BillingApiFp = exports.BillingApiAxiosParamCreator = exports.BackupsApi = exports.BackupsApiFactory = exports.BackupsApiFp = exports.BackupsApiAxiosParamCreator = exports.ApplicationsApi = exports.ApplicationsApiFactory = exports.ApplicationsApiFp = exports.ApplicationsApiAxiosParamCreator = exports.ApplicationSecretApi = exports.ApplicationSecretApiFactory = exports.ApplicationSecretApiFp = exports.ApplicationSecretApiAxiosParamCreator = exports.ApplicationMainCallsApi = exports.ApplicationMainCallsApiFactory = exports.ApplicationMainCallsApiFp = exports.ApplicationMainCallsApiAxiosParamCreator = exports.ApplicationLogsApi = exports.ApplicationLogsApiFactory = exports.ApplicationLogsApiFp = exports.ApplicationLogsApiAxiosParamCreator = exports.ApplicationEnvironmentVariableApi = exports.ApplicationEnvironmentVariableApiFactory = exports.ApplicationEnvironmentVariableApiFp = exports.ApplicationEnvironmentVariableApiAxiosParamCreator = exports.ApplicationDeploymentRestrictionApi = exports.ApplicationDeploymentRestrictionApiFactory = exports.ApplicationDeploymentRestrictionApiFp = exports.ApplicationDeploymentRestrictionApiAxiosParamCreator = exports.ApplicationDeploymentHistoryApi = exports.ApplicationDeploymentHistoryApiFactory = exports.ApplicationDeploymentHistoryApiFp = exports.ApplicationDeploymentHistoryApiAxiosParamCreator = exports.ApplicationCustomDomainApi = exports.ApplicationCustomDomainApiFactory = exports.ApplicationCustomDomainApiFp = exports.ApplicationCustomDomainApiAxiosParamCreator = exports.ApplicationConfigurationApi = exports.ApplicationConfigurationApiFactory = exports.ApplicationConfigurationApiFp = exports.ApplicationConfigurationApiAxiosParamCreator = exports.ApplicationActionsApi = exports.ApplicationActionsApiFactory = exports.ApplicationActionsApiFp = exports.ApplicationActionsApiAxiosParamCreator = exports.AccountInfoApi = exports.AccountInfoApiFactory = exports.AccountInfoApiFp = exports.AccountInfoApiAxiosParamCreator = void 0;
28
- exports.ContainerSecretApiFp = exports.ContainerSecretApiAxiosParamCreator = exports.ContainerRegistriesApi = exports.ContainerRegistriesApiFactory = exports.ContainerRegistriesApiFp = exports.ContainerRegistriesApiAxiosParamCreator = exports.ContainerMainCallsApi = exports.ContainerMainCallsApiFactory = exports.ContainerMainCallsApiFp = exports.ContainerMainCallsApiAxiosParamCreator = exports.ContainerLogsApi = exports.ContainerLogsApiFactory = exports.ContainerLogsApiFp = exports.ContainerLogsApiAxiosParamCreator = exports.ContainerEnvironmentVariableApi = exports.ContainerEnvironmentVariableApiFactory = exports.ContainerEnvironmentVariableApiFp = exports.ContainerEnvironmentVariableApiAxiosParamCreator = exports.ContainerDeploymentHistoryApi = exports.ContainerDeploymentHistoryApiFactory = exports.ContainerDeploymentHistoryApiFp = exports.ContainerDeploymentHistoryApiAxiosParamCreator = exports.ContainerCustomDomainApi = exports.ContainerCustomDomainApiFactory = exports.ContainerCustomDomainApiFp = exports.ContainerCustomDomainApiAxiosParamCreator = exports.ContainerConfigurationApi = exports.ContainerConfigurationApiFactory = exports.ContainerConfigurationApiFp = exports.ContainerConfigurationApiAxiosParamCreator = exports.ContainerActionsApi = exports.ContainerActionsApiFactory = exports.ContainerActionsApiFp = exports.ContainerActionsApiAxiosParamCreator = exports.ClustersApi = exports.ClustersApiFactory = exports.ClustersApiFp = exports.ClustersApiAxiosParamCreator = exports.CloudProviderCredentialsApi = exports.CloudProviderCredentialsApiFactory = exports.CloudProviderCredentialsApiFp = exports.CloudProviderCredentialsApiAxiosParamCreator = exports.ListAzureAKSInstanceTypeGpuEnum = exports.ListAWSEKSInstanceTypeGpuEnum = exports.CloudProviderApi = exports.CloudProviderApiFactory = exports.CloudProviderApiFp = exports.CloudProviderApiAxiosParamCreator = exports.BillingApi = exports.BillingApiFactory = void 0;
29
- exports.EnvironmentDeploymentHistoryApi = exports.EnvironmentDeploymentHistoryApiFactory = exports.EnvironmentDeploymentHistoryApiFp = exports.EnvironmentDeploymentHistoryApiAxiosParamCreator = exports.EnvironmentActionsApi = exports.EnvironmentActionsApiFactory = exports.EnvironmentActionsApiFp = exports.EnvironmentActionsApiAxiosParamCreator = exports.EnvironmentApi = exports.EnvironmentApiFactory = exports.EnvironmentApiFp = exports.EnvironmentApiAxiosParamCreator = exports.DeploymentStageMainCallsApi = exports.DeploymentStageMainCallsApiFactory = exports.DeploymentStageMainCallsApiFp = exports.DeploymentStageMainCallsApiAxiosParamCreator = exports.DeploymentQueueActionsApi = exports.DeploymentQueueActionsApiFactory = exports.DeploymentQueueActionsApiFp = exports.DeploymentQueueActionsApiAxiosParamCreator = exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = exports.DatabasesApi = exports.DatabasesApiFactory = exports.DatabasesApiFp = exports.DatabasesApiAxiosParamCreator = exports.DatabaseMainCallsApi = exports.DatabaseMainCallsApiFactory = exports.DatabaseMainCallsApiFp = exports.DatabaseMainCallsApiAxiosParamCreator = exports.DatabaseDeploymentHistoryApi = exports.DatabaseDeploymentHistoryApiFactory = exports.DatabaseDeploymentHistoryApiFp = exports.DatabaseDeploymentHistoryApiAxiosParamCreator = exports.DatabaseApplicationApi = exports.DatabaseApplicationApiFactory = exports.DatabaseApplicationApiFp = exports.DatabaseApplicationApiAxiosParamCreator = exports.DatabaseActionsApi = exports.DatabaseActionsApiFactory = exports.DatabaseActionsApiFp = exports.DatabaseActionsApiAxiosParamCreator = exports.ContainersApi = exports.ContainersApiFactory = exports.ContainersApiFp = exports.ContainersApiAxiosParamCreator = exports.ContainerSecretApi = exports.ContainerSecretApiFactory = void 0;
30
- exports.HelmDeploymentHistoryApiFp = exports.HelmDeploymentHistoryApiAxiosParamCreator = exports.HelmCustomDomainApi = exports.HelmCustomDomainApiFactory = exports.HelmCustomDomainApiFp = exports.HelmCustomDomainApiAxiosParamCreator = exports.HelmConfigurationApi = exports.HelmConfigurationApiFactory = exports.HelmConfigurationApiFp = exports.HelmConfigurationApiAxiosParamCreator = exports.HelmActionsApi = exports.HelmActionsApiFactory = exports.HelmActionsApiFp = exports.HelmActionsApiAxiosParamCreator = exports.GithubAppApi = exports.GithubAppApiFactory = exports.GithubAppApiFp = exports.GithubAppApiAxiosParamCreator = exports.GitRepositoriesApi = exports.GitRepositoriesApiFactory = exports.GitRepositoriesApiFp = exports.GitRepositoriesApiAxiosParamCreator = exports.EnvironmentsApi = exports.EnvironmentsApiFactory = exports.EnvironmentsApiFp = exports.EnvironmentsApiAxiosParamCreator = exports.EnvironmentVariableApi = exports.EnvironmentVariableApiFactory = exports.EnvironmentVariableApiFp = exports.EnvironmentVariableApiAxiosParamCreator = exports.EnvironmentSecretApi = exports.EnvironmentSecretApiFactory = exports.EnvironmentSecretApiFp = exports.EnvironmentSecretApiAxiosParamCreator = exports.EnvironmentMainCallsApi = exports.EnvironmentMainCallsApiFactory = exports.EnvironmentMainCallsApiFp = exports.EnvironmentMainCallsApiAxiosParamCreator = exports.EnvironmentLogsApi = exports.EnvironmentLogsApiFactory = exports.EnvironmentLogsApiFp = exports.EnvironmentLogsApiAxiosParamCreator = exports.EnvironmentExportApi = exports.EnvironmentExportApiFactory = exports.EnvironmentExportApiFp = exports.EnvironmentExportApiAxiosParamCreator = exports.EnvironmentDeploymentRuleApi = exports.EnvironmentDeploymentRuleApiFactory = exports.EnvironmentDeploymentRuleApiFp = exports.EnvironmentDeploymentRuleApiAxiosParamCreator = void 0;
31
- exports.JobsApi = exports.JobsApiFactory = exports.JobsApiFp = exports.JobsApiAxiosParamCreator = exports.JobSecretApi = exports.JobSecretApiFactory = exports.JobSecretApiFp = exports.JobSecretApiAxiosParamCreator = exports.JobMainCallsApi = exports.JobMainCallsApiFactory = exports.JobMainCallsApiFp = exports.JobMainCallsApiAxiosParamCreator = exports.JobEnvironmentVariableApi = exports.JobEnvironmentVariableApiFactory = exports.JobEnvironmentVariableApiFp = exports.JobEnvironmentVariableApiAxiosParamCreator = exports.JobDeploymentRestrictionApi = exports.JobDeploymentRestrictionApiFactory = exports.JobDeploymentRestrictionApiFp = exports.JobDeploymentRestrictionApiAxiosParamCreator = exports.JobDeploymentHistoryApi = exports.JobDeploymentHistoryApiFactory = exports.JobDeploymentHistoryApiFp = exports.JobDeploymentHistoryApiAxiosParamCreator = exports.JobConfigurationApi = exports.JobConfigurationApiFactory = exports.JobConfigurationApiFp = exports.JobConfigurationApiAxiosParamCreator = exports.JobActionsApi = exports.JobActionsApiFactory = exports.JobActionsApiFp = exports.JobActionsApiAxiosParamCreator = exports.HelmsApi = exports.HelmsApiFactory = exports.HelmsApiFp = exports.HelmsApiAxiosParamCreator = exports.HelmRepositoriesApi = exports.HelmRepositoriesApiFactory = exports.HelmRepositoriesApiFp = exports.HelmRepositoriesApiAxiosParamCreator = exports.HelmMainCallsApi = exports.HelmMainCallsApiFactory = exports.HelmMainCallsApiFp = exports.HelmMainCallsApiAxiosParamCreator = exports.HelmDeploymentRestrictionApi = exports.HelmDeploymentRestrictionApiFactory = exports.HelmDeploymentRestrictionApiFp = exports.HelmDeploymentRestrictionApiAxiosParamCreator = exports.HelmDeploymentHistoryApi = exports.HelmDeploymentHistoryApiFactory = void 0;
32
- exports.ProjectDeploymentRuleApiFp = exports.ProjectDeploymentRuleApiAxiosParamCreator = exports.OrganizationWebhookApi = exports.OrganizationWebhookApiFactory = exports.OrganizationWebhookApiFp = exports.OrganizationWebhookApiAxiosParamCreator = exports.OrganizationMainCallsApi = exports.OrganizationMainCallsApiFactory = exports.OrganizationMainCallsApiFp = exports.OrganizationMainCallsApiAxiosParamCreator = exports.OrganizationLabelsGroupApi = exports.OrganizationLabelsGroupApiFactory = exports.OrganizationLabelsGroupApiFp = exports.OrganizationLabelsGroupApiAxiosParamCreator = exports.OrganizationEventApi = exports.OrganizationEventApiFactory = exports.OrganizationEventApiFp = exports.OrganizationEventApiAxiosParamCreator = exports.OrganizationEnterpriseConnectionApi = exports.OrganizationEnterpriseConnectionApiFactory = exports.OrganizationEnterpriseConnectionApiFp = exports.OrganizationEnterpriseConnectionApiAxiosParamCreator = exports.OrganizationCustomRoleApi = exports.OrganizationCustomRoleApiFactory = exports.OrganizationCustomRoleApiFp = exports.OrganizationCustomRoleApiAxiosParamCreator = exports.OrganizationClusterLockApi = exports.OrganizationClusterLockApiFactory = exports.OrganizationClusterLockApiFp = exports.OrganizationClusterLockApiAxiosParamCreator = exports.OrganizationApiTokenApi = exports.OrganizationApiTokenApiFactory = exports.OrganizationApiTokenApiFp = exports.OrganizationApiTokenApiAxiosParamCreator = exports.OrganizationAnnotationsGroupApi = exports.OrganizationAnnotationsGroupApiFactory = exports.OrganizationAnnotationsGroupApiFp = exports.OrganizationAnnotationsGroupApiAxiosParamCreator = exports.OrganizationAccountGitRepositoriesApi = exports.OrganizationAccountGitRepositoriesApiFactory = exports.OrganizationAccountGitRepositoriesApiFp = exports.OrganizationAccountGitRepositoriesApiAxiosParamCreator = exports.MembersApi = exports.MembersApiFactory = exports.MembersApiFp = exports.MembersApiAxiosParamCreator = exports.LifecycleTemplateMainCallsApi = exports.LifecycleTemplateMainCallsApiFactory = exports.LifecycleTemplateMainCallsApiFp = exports.LifecycleTemplateMainCallsApiAxiosParamCreator = void 0;
33
- exports.TerraformsApiFactory = exports.TerraformsApiFp = exports.TerraformsApiAxiosParamCreator = exports.TerraformMainCallsApi = exports.TerraformMainCallsApiFactory = exports.TerraformMainCallsApiFp = exports.TerraformMainCallsApiAxiosParamCreator = exports.TerraformDeploymentRestrictionApi = exports.TerraformDeploymentRestrictionApiFactory = exports.TerraformDeploymentRestrictionApiFp = exports.TerraformDeploymentRestrictionApiAxiosParamCreator = exports.TerraformDeploymentHistoryApi = exports.TerraformDeploymentHistoryApiFactory = exports.TerraformDeploymentHistoryApiFp = exports.TerraformDeploymentHistoryApiAxiosParamCreator = exports.TerraformConfigurationApi = exports.TerraformConfigurationApiFactory = exports.TerraformConfigurationApiFp = exports.TerraformConfigurationApiAxiosParamCreator = exports.TerraformActionsApi = exports.TerraformActionsApiFactory = exports.TerraformActionsApiFp = exports.TerraformActionsApiAxiosParamCreator = exports.GetIngressDeploymentStatusServiceTypeEnum = exports.ServiceStatusApi = exports.ServiceStatusApiFactory = exports.ServiceStatusApiFp = exports.ServiceStatusApiAxiosParamCreator = exports.ReferralRewardsApi = exports.ReferralRewardsApiFactory = exports.ReferralRewardsApiFp = exports.ReferralRewardsApiAxiosParamCreator = exports.ProjectsApi = exports.ProjectsApiFactory = exports.ProjectsApiFp = exports.ProjectsApiAxiosParamCreator = exports.ProjectSecretApi = exports.ProjectSecretApiFactory = exports.ProjectSecretApiFp = exports.ProjectSecretApiAxiosParamCreator = exports.ProjectMainCallsApi = exports.ProjectMainCallsApiFactory = exports.ProjectMainCallsApiFp = exports.ProjectMainCallsApiAxiosParamCreator = exports.ProjectEnvironmentVariableApi = exports.ProjectEnvironmentVariableApiFactory = exports.ProjectEnvironmentVariableApiFp = exports.ProjectEnvironmentVariableApiAxiosParamCreator = exports.ProjectDeploymentRuleApi = exports.ProjectDeploymentRuleApiFactory = void 0;
34
- exports.VariableMainCallsApi = exports.VariableMainCallsApiFactory = exports.VariableMainCallsApiFp = exports.VariableMainCallsApiAxiosParamCreator = exports.UserSignUpApi = exports.UserSignUpApiFactory = exports.UserSignUpApiFp = exports.UserSignUpApiAxiosParamCreator = exports.TerraformsApi = void 0;
25
+ exports.GkeInfrastructureOutputsKindEnum = exports.GitTokenAssociatedServiceType = exports.GitProviderEnum = exports.GenericClusterCredentialsObjectTypeEnum = exports.GcpStaticClusterCredentialsObjectTypeEnum = exports.EnvironmentStatusEventOriginEnum = exports.EnvironmentModeEnum = exports.EnvironmentLogTypeEnum = exports.EnvironmentDeploymentStatusEnum = exports.EksInfrastructureOutputsKindEnum = exports.DeploymentRestrictionTypeEnum = exports.DeploymentRestrictionModeEnum = exports.DeploymentHistoryTriggerAction = exports.DeploymentHistoryStatusEnum = exports.DeploymentHistoryServiceDetailsOneOf2JobTypeEnum = exports.DeploymentHistoryActionStatus = exports.DeleteTerraformAction = exports.DatabaseTypeEnum = exports.DatabaseModeEnum = exports.DatabaseAccessibilityEnum = exports.CustomDomainStatusEnum = exports.CreateEnvironmentModeEnum = exports.CpuArchitectureEnum = exports.ContainerRegistryKindEnum = exports.ContainerRegistryAssociatedServiceType = exports.ContainerAdvancedSettingsDeploymentUpdateStrategyTypeEnum = exports.ContainerAdvancedSettingsDeploymentAntiaffinityPodEnum = exports.CompanySizeEnum = exports.ClusterStateEnum = exports.ClusterLogsStepEnum = exports.ClusterFeatureResponseTypeEnum = exports.ClusterFeatureResponseValueTypeEnum = exports.ClusterDeploymentStatusEnum = exports.ClusterDeleteMode = exports.ClusterAdvancedSettingsAwsEksEc2MetadataImdsEnum = exports.CloudVendorEnum = exports.CloudProviderEnum = exports.CheckedCustomDomainStatus = exports.BuildModeEnum = exports.AzureStaticClusterCredentialsObjectTypeEnum = exports.AwsStaticClusterCredentialsObjectTypeEnum = exports.AwsRoleClusterCredentialsObjectTypeEnum = exports.ApplicationAdvancedSettingsDeploymentUpdateStrategyTypeEnum = exports.ApplicationAdvancedSettingsDeploymentAntiaffinityPodEnum = exports.AnnotationsGroupAssociatedItemType = exports.AlertSeverity = exports.AlertReceiverType = exports.AksInfrastructureOutputsKindEnum = exports.APIVariableTypeEnum = exports.APIVariableScopeEnum = void 0;
26
+ exports.TerraformResponseProviderEnum = exports.TerraformRequestProviderEnum = exports.TerraformDeployRequestActionEnum = exports.StorageTypeEnum = exports.StepMetricStatusEnum = exports.StatusKindEnum = exports.StateEnum = exports.StageStepMetricNameEnum = exports.StageStatusEnum = exports.ServiceTypeForVariableEnum = exports.ServiceTypeEnum = exports.ServiceStepMetricNameEnum = exports.ServiceLightResponseJobTypeEnum = exports.ServiceDeploymentStatusEnum = exports.ServiceActionStatusEnum = exports.ServiceActionEnum = exports.ScalewayClusterCredentialsObjectTypeEnum = exports.RewardClaimTypeEnum = exports.RegistryMirroringModeEnum = exports.QueuedDeploymentRequestWithStagesStagesInnerServicesInnerDetailsOneOfJobTypeEnum = exports.PortProtocolEnum = exports.PlanEnum = exports.OrganizationWebhookKindEnum = exports.OrganizationWebhookEventEnum = exports.OrganizationEventType = exports.OrganizationEventTargetType = exports.OrganizationEventSubTargetType = exports.OrganizationEventOrigin = exports.OrganizationCustomRoleProjectPermission = exports.OrganizationCustomRoleClusterPermission = exports.OrganizationApiTokenScope = exports.OrganizationAnnotationsGroupScopeEnum = exports.MetricsConfigurationManagedByQoveryKindEnum = exports.LinkedServiceTypeEnum = exports.LabelsGroupAssociatedItemType = exports.KubernetesEnum = exports.KarpenterNodePoolRequirementOperator = exports.KarpenterNodePoolRequirementKey = exports.KapsuleInfrastructureOutputsKindEnum = exports.JobTypeEnum = exports.JobScheduleEvent = exports.JobLifecycleTypeEnum = exports.JobForceEvent = exports.InvoiceStatusEnum = exports.InviteStatusEnum = exports.InviteMemberRoleEnum = exports.HelmRepositoryKindEnum = exports.HelmRepositoryAssociatedServiceType = exports.HelmPortProtocolEnum = exports.HelmForceEvent = void 0;
27
+ exports.ApplicationSecretApi = exports.ApplicationSecretApiFactory = exports.ApplicationSecretApiFp = exports.ApplicationSecretApiAxiosParamCreator = exports.ApplicationMainCallsApi = exports.ApplicationMainCallsApiFactory = exports.ApplicationMainCallsApiFp = exports.ApplicationMainCallsApiAxiosParamCreator = exports.ApplicationLogsApi = exports.ApplicationLogsApiFactory = exports.ApplicationLogsApiFp = exports.ApplicationLogsApiAxiosParamCreator = exports.ApplicationEnvironmentVariableApi = exports.ApplicationEnvironmentVariableApiFactory = exports.ApplicationEnvironmentVariableApiFp = exports.ApplicationEnvironmentVariableApiAxiosParamCreator = exports.ApplicationDeploymentRestrictionApi = exports.ApplicationDeploymentRestrictionApiFactory = exports.ApplicationDeploymentRestrictionApiFp = exports.ApplicationDeploymentRestrictionApiAxiosParamCreator = exports.ApplicationDeploymentHistoryApi = exports.ApplicationDeploymentHistoryApiFactory = exports.ApplicationDeploymentHistoryApiFp = exports.ApplicationDeploymentHistoryApiAxiosParamCreator = exports.ApplicationCustomDomainApi = exports.ApplicationCustomDomainApiFactory = exports.ApplicationCustomDomainApiFp = exports.ApplicationCustomDomainApiAxiosParamCreator = exports.ApplicationConfigurationApi = exports.ApplicationConfigurationApiFactory = exports.ApplicationConfigurationApiFp = exports.ApplicationConfigurationApiAxiosParamCreator = exports.ApplicationActionsApi = exports.ApplicationActionsApiFactory = exports.ApplicationActionsApiFp = exports.ApplicationActionsApiAxiosParamCreator = exports.AlertRulesApi = exports.AlertRulesApiFactory = exports.AlertRulesApiFp = exports.AlertRulesApiAxiosParamCreator = exports.AlertReceiversApi = exports.AlertReceiversApiFactory = exports.AlertReceiversApiFp = exports.AlertReceiversApiAxiosParamCreator = exports.AccountInfoApi = exports.AccountInfoApiFactory = exports.AccountInfoApiFp = exports.AccountInfoApiAxiosParamCreator = exports.WeekdayEnum = exports.TypeOfUseEnum = void 0;
28
+ exports.ContainerLogsApi = exports.ContainerLogsApiFactory = exports.ContainerLogsApiFp = exports.ContainerLogsApiAxiosParamCreator = exports.ContainerEnvironmentVariableApi = exports.ContainerEnvironmentVariableApiFactory = exports.ContainerEnvironmentVariableApiFp = exports.ContainerEnvironmentVariableApiAxiosParamCreator = exports.ContainerDeploymentHistoryApi = exports.ContainerDeploymentHistoryApiFactory = exports.ContainerDeploymentHistoryApiFp = exports.ContainerDeploymentHistoryApiAxiosParamCreator = exports.ContainerCustomDomainApi = exports.ContainerCustomDomainApiFactory = exports.ContainerCustomDomainApiFp = exports.ContainerCustomDomainApiAxiosParamCreator = exports.ContainerConfigurationApi = exports.ContainerConfigurationApiFactory = exports.ContainerConfigurationApiFp = exports.ContainerConfigurationApiAxiosParamCreator = exports.ContainerActionsApi = exports.ContainerActionsApiFactory = exports.ContainerActionsApiFp = exports.ContainerActionsApiAxiosParamCreator = exports.ClustersApi = exports.ClustersApiFactory = exports.ClustersApiFp = exports.ClustersApiAxiosParamCreator = exports.CloudProviderCredentialsApi = exports.CloudProviderCredentialsApiFactory = exports.CloudProviderCredentialsApiFp = exports.CloudProviderCredentialsApiAxiosParamCreator = exports.ListAzureAKSInstanceTypeGpuEnum = exports.ListAWSEKSInstanceTypeGpuEnum = exports.CloudProviderApi = exports.CloudProviderApiFactory = exports.CloudProviderApiFp = exports.CloudProviderApiAxiosParamCreator = exports.BillingApi = exports.BillingApiFactory = exports.BillingApiFp = exports.BillingApiAxiosParamCreator = exports.BackupsApi = exports.BackupsApiFactory = exports.BackupsApiFp = exports.BackupsApiAxiosParamCreator = exports.ApplicationsApi = exports.ApplicationsApiFactory = exports.ApplicationsApiFp = exports.ApplicationsApiAxiosParamCreator = void 0;
29
+ exports.EnvironmentApiFp = exports.EnvironmentApiAxiosParamCreator = exports.DeploymentStageMainCallsApi = exports.DeploymentStageMainCallsApiFactory = exports.DeploymentStageMainCallsApiFp = exports.DeploymentStageMainCallsApiAxiosParamCreator = exports.DeploymentQueueActionsApi = exports.DeploymentQueueActionsApiFactory = exports.DeploymentQueueActionsApiFp = exports.DeploymentQueueActionsApiAxiosParamCreator = exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = exports.DatabasesApi = exports.DatabasesApiFactory = exports.DatabasesApiFp = exports.DatabasesApiAxiosParamCreator = exports.DatabaseMainCallsApi = exports.DatabaseMainCallsApiFactory = exports.DatabaseMainCallsApiFp = exports.DatabaseMainCallsApiAxiosParamCreator = exports.DatabaseDeploymentHistoryApi = exports.DatabaseDeploymentHistoryApiFactory = exports.DatabaseDeploymentHistoryApiFp = exports.DatabaseDeploymentHistoryApiAxiosParamCreator = exports.DatabaseApplicationApi = exports.DatabaseApplicationApiFactory = exports.DatabaseApplicationApiFp = exports.DatabaseApplicationApiAxiosParamCreator = exports.DatabaseActionsApi = exports.DatabaseActionsApiFactory = exports.DatabaseActionsApiFp = exports.DatabaseActionsApiAxiosParamCreator = exports.ContainersApi = exports.ContainersApiFactory = exports.ContainersApiFp = exports.ContainersApiAxiosParamCreator = exports.ContainerSecretApi = exports.ContainerSecretApiFactory = exports.ContainerSecretApiFp = exports.ContainerSecretApiAxiosParamCreator = exports.ContainerRegistriesApi = exports.ContainerRegistriesApiFactory = exports.ContainerRegistriesApiFp = exports.ContainerRegistriesApiAxiosParamCreator = exports.ContainerMainCallsApi = exports.ContainerMainCallsApiFactory = exports.ContainerMainCallsApiFp = exports.ContainerMainCallsApiAxiosParamCreator = void 0;
30
+ exports.HelmActionsApi = exports.HelmActionsApiFactory = exports.HelmActionsApiFp = exports.HelmActionsApiAxiosParamCreator = exports.GithubAppApi = exports.GithubAppApiFactory = exports.GithubAppApiFp = exports.GithubAppApiAxiosParamCreator = exports.GitRepositoriesApi = exports.GitRepositoriesApiFactory = exports.GitRepositoriesApiFp = exports.GitRepositoriesApiAxiosParamCreator = exports.EnvironmentsApi = exports.EnvironmentsApiFactory = exports.EnvironmentsApiFp = exports.EnvironmentsApiAxiosParamCreator = exports.EnvironmentVariableApi = exports.EnvironmentVariableApiFactory = exports.EnvironmentVariableApiFp = exports.EnvironmentVariableApiAxiosParamCreator = exports.EnvironmentSecretApi = exports.EnvironmentSecretApiFactory = exports.EnvironmentSecretApiFp = exports.EnvironmentSecretApiAxiosParamCreator = exports.EnvironmentMainCallsApi = exports.EnvironmentMainCallsApiFactory = exports.EnvironmentMainCallsApiFp = exports.EnvironmentMainCallsApiAxiosParamCreator = exports.EnvironmentLogsApi = exports.EnvironmentLogsApiFactory = exports.EnvironmentLogsApiFp = exports.EnvironmentLogsApiAxiosParamCreator = exports.EnvironmentExportApi = exports.EnvironmentExportApiFactory = exports.EnvironmentExportApiFp = exports.EnvironmentExportApiAxiosParamCreator = exports.EnvironmentDeploymentRuleApi = exports.EnvironmentDeploymentRuleApiFactory = exports.EnvironmentDeploymentRuleApiFp = exports.EnvironmentDeploymentRuleApiAxiosParamCreator = exports.EnvironmentDeploymentHistoryApi = exports.EnvironmentDeploymentHistoryApiFactory = exports.EnvironmentDeploymentHistoryApiFp = exports.EnvironmentDeploymentHistoryApiAxiosParamCreator = exports.EnvironmentActionsApi = exports.EnvironmentActionsApiFactory = exports.EnvironmentActionsApiFp = exports.EnvironmentActionsApiAxiosParamCreator = exports.EnvironmentApi = exports.EnvironmentApiFactory = void 0;
31
+ exports.JobMainCallsApiFp = exports.JobMainCallsApiAxiosParamCreator = exports.JobEnvironmentVariableApi = exports.JobEnvironmentVariableApiFactory = exports.JobEnvironmentVariableApiFp = exports.JobEnvironmentVariableApiAxiosParamCreator = exports.JobDeploymentRestrictionApi = exports.JobDeploymentRestrictionApiFactory = exports.JobDeploymentRestrictionApiFp = exports.JobDeploymentRestrictionApiAxiosParamCreator = exports.JobDeploymentHistoryApi = exports.JobDeploymentHistoryApiFactory = exports.JobDeploymentHistoryApiFp = exports.JobDeploymentHistoryApiAxiosParamCreator = exports.JobConfigurationApi = exports.JobConfigurationApiFactory = exports.JobConfigurationApiFp = exports.JobConfigurationApiAxiosParamCreator = exports.JobActionsApi = exports.JobActionsApiFactory = exports.JobActionsApiFp = exports.JobActionsApiAxiosParamCreator = exports.HelmsApi = exports.HelmsApiFactory = exports.HelmsApiFp = exports.HelmsApiAxiosParamCreator = exports.HelmRepositoriesApi = exports.HelmRepositoriesApiFactory = exports.HelmRepositoriesApiFp = exports.HelmRepositoriesApiAxiosParamCreator = exports.HelmMainCallsApi = exports.HelmMainCallsApiFactory = exports.HelmMainCallsApiFp = exports.HelmMainCallsApiAxiosParamCreator = exports.HelmDeploymentRestrictionApi = exports.HelmDeploymentRestrictionApiFactory = exports.HelmDeploymentRestrictionApiFp = exports.HelmDeploymentRestrictionApiAxiosParamCreator = exports.HelmDeploymentHistoryApi = exports.HelmDeploymentHistoryApiFactory = exports.HelmDeploymentHistoryApiFp = exports.HelmDeploymentHistoryApiAxiosParamCreator = exports.HelmCustomDomainApi = exports.HelmCustomDomainApiFactory = exports.HelmCustomDomainApiFp = exports.HelmCustomDomainApiAxiosParamCreator = exports.HelmConfigurationApi = exports.HelmConfigurationApiFactory = exports.HelmConfigurationApiFp = exports.HelmConfigurationApiAxiosParamCreator = void 0;
32
+ exports.OrganizationLabelsGroupApi = exports.OrganizationLabelsGroupApiFactory = exports.OrganizationLabelsGroupApiFp = exports.OrganizationLabelsGroupApiAxiosParamCreator = exports.OrganizationEventApi = exports.OrganizationEventApiFactory = exports.OrganizationEventApiFp = exports.OrganizationEventApiAxiosParamCreator = exports.OrganizationEnterpriseConnectionApi = exports.OrganizationEnterpriseConnectionApiFactory = exports.OrganizationEnterpriseConnectionApiFp = exports.OrganizationEnterpriseConnectionApiAxiosParamCreator = exports.OrganizationCustomRoleApi = exports.OrganizationCustomRoleApiFactory = exports.OrganizationCustomRoleApiFp = exports.OrganizationCustomRoleApiAxiosParamCreator = exports.OrganizationClusterLockApi = exports.OrganizationClusterLockApiFactory = exports.OrganizationClusterLockApiFp = exports.OrganizationClusterLockApiAxiosParamCreator = exports.OrganizationApiTokenApi = exports.OrganizationApiTokenApiFactory = exports.OrganizationApiTokenApiFp = exports.OrganizationApiTokenApiAxiosParamCreator = exports.OrganizationAnnotationsGroupApi = exports.OrganizationAnnotationsGroupApiFactory = exports.OrganizationAnnotationsGroupApiFp = exports.OrganizationAnnotationsGroupApiAxiosParamCreator = exports.OrganizationAccountGitRepositoriesApi = exports.OrganizationAccountGitRepositoriesApiFactory = exports.OrganizationAccountGitRepositoriesApiFp = exports.OrganizationAccountGitRepositoriesApiAxiosParamCreator = exports.MembersApi = exports.MembersApiFactory = exports.MembersApiFp = exports.MembersApiAxiosParamCreator = exports.LifecycleTemplateMainCallsApi = exports.LifecycleTemplateMainCallsApiFactory = exports.LifecycleTemplateMainCallsApiFp = exports.LifecycleTemplateMainCallsApiAxiosParamCreator = exports.JobsApi = exports.JobsApiFactory = exports.JobsApiFp = exports.JobsApiAxiosParamCreator = exports.JobSecretApi = exports.JobSecretApiFactory = exports.JobSecretApiFp = exports.JobSecretApiAxiosParamCreator = exports.JobMainCallsApi = exports.JobMainCallsApiFactory = void 0;
33
+ exports.TerraformDeploymentRestrictionApiAxiosParamCreator = exports.TerraformDeploymentHistoryApi = exports.TerraformDeploymentHistoryApiFactory = exports.TerraformDeploymentHistoryApiFp = exports.TerraformDeploymentHistoryApiAxiosParamCreator = exports.TerraformConfigurationApi = exports.TerraformConfigurationApiFactory = exports.TerraformConfigurationApiFp = exports.TerraformConfigurationApiAxiosParamCreator = exports.TerraformActionsApi = exports.TerraformActionsApiFactory = exports.TerraformActionsApiFp = exports.TerraformActionsApiAxiosParamCreator = exports.GetIngressDeploymentStatusServiceTypeEnum = exports.ServiceStatusApi = exports.ServiceStatusApiFactory = exports.ServiceStatusApiFp = exports.ServiceStatusApiAxiosParamCreator = exports.ReferralRewardsApi = exports.ReferralRewardsApiFactory = exports.ReferralRewardsApiFp = exports.ReferralRewardsApiAxiosParamCreator = exports.ProjectsApi = exports.ProjectsApiFactory = exports.ProjectsApiFp = exports.ProjectsApiAxiosParamCreator = exports.ProjectSecretApi = exports.ProjectSecretApiFactory = exports.ProjectSecretApiFp = exports.ProjectSecretApiAxiosParamCreator = exports.ProjectMainCallsApi = exports.ProjectMainCallsApiFactory = exports.ProjectMainCallsApiFp = exports.ProjectMainCallsApiAxiosParamCreator = exports.ProjectEnvironmentVariableApi = exports.ProjectEnvironmentVariableApiFactory = exports.ProjectEnvironmentVariableApiFp = exports.ProjectEnvironmentVariableApiAxiosParamCreator = exports.ProjectDeploymentRuleApi = exports.ProjectDeploymentRuleApiFactory = exports.ProjectDeploymentRuleApiFp = exports.ProjectDeploymentRuleApiAxiosParamCreator = exports.OrganizationWebhookApi = exports.OrganizationWebhookApiFactory = exports.OrganizationWebhookApiFp = exports.OrganizationWebhookApiAxiosParamCreator = exports.OrganizationMainCallsApi = exports.OrganizationMainCallsApiFactory = exports.OrganizationMainCallsApiFp = exports.OrganizationMainCallsApiAxiosParamCreator = void 0;
34
+ exports.VariableMainCallsApi = exports.VariableMainCallsApiFactory = exports.VariableMainCallsApiFp = exports.VariableMainCallsApiAxiosParamCreator = exports.UserSignUpApi = exports.UserSignUpApiFactory = exports.UserSignUpApiFp = exports.UserSignUpApiAxiosParamCreator = exports.TerraformsApi = exports.TerraformsApiFactory = exports.TerraformsApiFp = exports.TerraformsApiAxiosParamCreator = exports.TerraformMainCallsApi = exports.TerraformMainCallsApiFactory = exports.TerraformMainCallsApiFp = exports.TerraformMainCallsApiAxiosParamCreator = exports.TerraformDeploymentRestrictionApi = exports.TerraformDeploymentRestrictionApiFactory = exports.TerraformDeploymentRestrictionApiFp = void 0;
35
35
  const axios_1 = require("axios");
36
36
  // Some imports not used depending on template conditions
37
37
  // @ts-ignore
@@ -68,6 +68,23 @@ exports.APIVariableTypeEnum = {
68
68
  exports.AksInfrastructureOutputsKindEnum = {
69
69
  AKS: 'AKS'
70
70
  };
71
+ /**
72
+ *
73
+ * @export
74
+ * @enum {string}
75
+ */
76
+ exports.AlertReceiverType = {
77
+ SLACK: 'SLACK'
78
+ };
79
+ /**
80
+ * Alert severity level: - WARNING: Non-critical issue requiring attention - CRITICAL: Critical issue requiring immediate action
81
+ * @export
82
+ * @enum {string}
83
+ */
84
+ exports.AlertSeverity = {
85
+ WARNING: 'WARNING',
86
+ CRITICAL: 'CRITICAL'
87
+ };
71
88
  /**
72
89
  * Annotations Group Associated Item Type
73
90
  * @export
@@ -1284,6 +1301,731 @@ class AccountInfoApi extends base_1.BaseAPI {
1284
1301
  }
1285
1302
  }
1286
1303
  exports.AccountInfoApi = AccountInfoApi;
1304
+ /**
1305
+ * AlertReceiversApi - axios parameter creator
1306
+ * @export
1307
+ */
1308
+ const AlertReceiversApiAxiosParamCreator = function (configuration) {
1309
+ return {
1310
+ /**
1311
+ * Create a new alert receiver
1312
+ * @summary Create alert receiver
1313
+ * @param {AlertReceiverCreationRequest} [alertReceiverCreationRequest]
1314
+ * @param {*} [options] Override http request option.
1315
+ * @throws {RequiredError}
1316
+ */
1317
+ createAlertReceiver: (alertReceiverCreationRequest_1, ...args_1) => __awaiter(this, [alertReceiverCreationRequest_1, ...args_1], void 0, function* (alertReceiverCreationRequest, options = {}) {
1318
+ const localVarPath = `/api/alert-receivers`;
1319
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1320
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1321
+ let baseOptions;
1322
+ if (configuration) {
1323
+ baseOptions = configuration.baseOptions;
1324
+ }
1325
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
1326
+ const localVarHeaderParameter = {};
1327
+ const localVarQueryParameter = {};
1328
+ // authentication ApiKeyAuth required
1329
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
1330
+ // authentication bearerAuth required
1331
+ // http bearer authentication required
1332
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
1333
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1334
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1335
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1336
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1337
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(alertReceiverCreationRequest, localVarRequestOptions, configuration);
1338
+ return {
1339
+ url: (0, common_1.toPathString)(localVarUrlObj),
1340
+ options: localVarRequestOptions,
1341
+ };
1342
+ }),
1343
+ /**
1344
+ * Delete an alert receiver
1345
+ * @summary Delete alert receiver
1346
+ * @param {string} alertReceiverId Alert Receiver ID
1347
+ * @param {*} [options] Override http request option.
1348
+ * @throws {RequiredError}
1349
+ */
1350
+ deleteAlertReceiver: (alertReceiverId_1, ...args_1) => __awaiter(this, [alertReceiverId_1, ...args_1], void 0, function* (alertReceiverId, options = {}) {
1351
+ // verify required parameter 'alertReceiverId' is not null or undefined
1352
+ (0, common_1.assertParamExists)('deleteAlertReceiver', 'alertReceiverId', alertReceiverId);
1353
+ const localVarPath = `/api/alert-receivers/{alertReceiverId}`
1354
+ .replace(`{${"alertReceiverId"}}`, encodeURIComponent(String(alertReceiverId)));
1355
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1356
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1357
+ let baseOptions;
1358
+ if (configuration) {
1359
+ baseOptions = configuration.baseOptions;
1360
+ }
1361
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
1362
+ const localVarHeaderParameter = {};
1363
+ const localVarQueryParameter = {};
1364
+ // authentication ApiKeyAuth required
1365
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
1366
+ // authentication bearerAuth required
1367
+ // http bearer authentication required
1368
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
1369
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1370
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1371
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1372
+ return {
1373
+ url: (0, common_1.toPathString)(localVarUrlObj),
1374
+ options: localVarRequestOptions,
1375
+ };
1376
+ }),
1377
+ /**
1378
+ * Update an existing alert receiver
1379
+ * @summary Update alert receiver
1380
+ * @param {string} alertReceiverId Alert Receiver ID
1381
+ * @param {AlertReceiverEditRequest} [alertReceiverEditRequest]
1382
+ * @param {*} [options] Override http request option.
1383
+ * @throws {RequiredError}
1384
+ */
1385
+ editAlertReceiver: (alertReceiverId_1, alertReceiverEditRequest_1, ...args_1) => __awaiter(this, [alertReceiverId_1, alertReceiverEditRequest_1, ...args_1], void 0, function* (alertReceiverId, alertReceiverEditRequest, options = {}) {
1386
+ // verify required parameter 'alertReceiverId' is not null or undefined
1387
+ (0, common_1.assertParamExists)('editAlertReceiver', 'alertReceiverId', alertReceiverId);
1388
+ const localVarPath = `/api/alert-receivers/{alertReceiverId}`
1389
+ .replace(`{${"alertReceiverId"}}`, encodeURIComponent(String(alertReceiverId)));
1390
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1391
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1392
+ let baseOptions;
1393
+ if (configuration) {
1394
+ baseOptions = configuration.baseOptions;
1395
+ }
1396
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
1397
+ const localVarHeaderParameter = {};
1398
+ const localVarQueryParameter = {};
1399
+ // authentication ApiKeyAuth required
1400
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
1401
+ // authentication bearerAuth required
1402
+ // http bearer authentication required
1403
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
1404
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1405
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1406
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1407
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1408
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(alertReceiverEditRequest, localVarRequestOptions, configuration);
1409
+ return {
1410
+ url: (0, common_1.toPathString)(localVarUrlObj),
1411
+ options: localVarRequestOptions,
1412
+ };
1413
+ }),
1414
+ /**
1415
+ * Retrieve a specific alert receiver by its ID
1416
+ * @summary Get alert receiver
1417
+ * @param {string} alertReceiverId Alert Receiver ID
1418
+ * @param {*} [options] Override http request option.
1419
+ * @throws {RequiredError}
1420
+ */
1421
+ getAlertReceiver: (alertReceiverId_1, ...args_1) => __awaiter(this, [alertReceiverId_1, ...args_1], void 0, function* (alertReceiverId, options = {}) {
1422
+ // verify required parameter 'alertReceiverId' is not null or undefined
1423
+ (0, common_1.assertParamExists)('getAlertReceiver', 'alertReceiverId', alertReceiverId);
1424
+ const localVarPath = `/api/alert-receivers/{alertReceiverId}`
1425
+ .replace(`{${"alertReceiverId"}}`, encodeURIComponent(String(alertReceiverId)));
1426
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1427
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1428
+ let baseOptions;
1429
+ if (configuration) {
1430
+ baseOptions = configuration.baseOptions;
1431
+ }
1432
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
1433
+ const localVarHeaderParameter = {};
1434
+ const localVarQueryParameter = {};
1435
+ // authentication ApiKeyAuth required
1436
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
1437
+ // authentication bearerAuth required
1438
+ // http bearer authentication required
1439
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
1440
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1441
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1442
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1443
+ return {
1444
+ url: (0, common_1.toPathString)(localVarUrlObj),
1445
+ options: localVarRequestOptions,
1446
+ };
1447
+ }),
1448
+ /**
1449
+ * Retrieve all alert receivers for a specific organization
1450
+ * @summary List alert receivers
1451
+ * @param {string} organizationId Organization ID
1452
+ * @param {*} [options] Override http request option.
1453
+ * @throws {RequiredError}
1454
+ */
1455
+ getAlertReceivers: (organizationId_1, ...args_1) => __awaiter(this, [organizationId_1, ...args_1], void 0, function* (organizationId, options = {}) {
1456
+ // verify required parameter 'organizationId' is not null or undefined
1457
+ (0, common_1.assertParamExists)('getAlertReceivers', 'organizationId', organizationId);
1458
+ const localVarPath = `/api/organization/{organizationId}/alert-receivers`
1459
+ .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
1460
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1461
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1462
+ let baseOptions;
1463
+ if (configuration) {
1464
+ baseOptions = configuration.baseOptions;
1465
+ }
1466
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
1467
+ const localVarHeaderParameter = {};
1468
+ const localVarQueryParameter = {};
1469
+ // authentication ApiKeyAuth required
1470
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
1471
+ // authentication bearerAuth required
1472
+ // http bearer authentication required
1473
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
1474
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1475
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1476
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1477
+ return {
1478
+ url: (0, common_1.toPathString)(localVarUrlObj),
1479
+ options: localVarRequestOptions,
1480
+ };
1481
+ }),
1482
+ };
1483
+ };
1484
+ exports.AlertReceiversApiAxiosParamCreator = AlertReceiversApiAxiosParamCreator;
1485
+ /**
1486
+ * AlertReceiversApi - functional programming interface
1487
+ * @export
1488
+ */
1489
+ const AlertReceiversApiFp = function (configuration) {
1490
+ const localVarAxiosParamCreator = (0, exports.AlertReceiversApiAxiosParamCreator)(configuration);
1491
+ return {
1492
+ /**
1493
+ * Create a new alert receiver
1494
+ * @summary Create alert receiver
1495
+ * @param {AlertReceiverCreationRequest} [alertReceiverCreationRequest]
1496
+ * @param {*} [options] Override http request option.
1497
+ * @throws {RequiredError}
1498
+ */
1499
+ createAlertReceiver(alertReceiverCreationRequest, options) {
1500
+ return __awaiter(this, void 0, void 0, function* () {
1501
+ var _a, _b, _c;
1502
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.createAlertReceiver(alertReceiverCreationRequest, options);
1503
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1504
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AlertReceiversApi.createAlertReceiver']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1505
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1506
+ });
1507
+ },
1508
+ /**
1509
+ * Delete an alert receiver
1510
+ * @summary Delete alert receiver
1511
+ * @param {string} alertReceiverId Alert Receiver ID
1512
+ * @param {*} [options] Override http request option.
1513
+ * @throws {RequiredError}
1514
+ */
1515
+ deleteAlertReceiver(alertReceiverId, options) {
1516
+ return __awaiter(this, void 0, void 0, function* () {
1517
+ var _a, _b, _c;
1518
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteAlertReceiver(alertReceiverId, options);
1519
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1520
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AlertReceiversApi.deleteAlertReceiver']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1521
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1522
+ });
1523
+ },
1524
+ /**
1525
+ * Update an existing alert receiver
1526
+ * @summary Update alert receiver
1527
+ * @param {string} alertReceiverId Alert Receiver ID
1528
+ * @param {AlertReceiverEditRequest} [alertReceiverEditRequest]
1529
+ * @param {*} [options] Override http request option.
1530
+ * @throws {RequiredError}
1531
+ */
1532
+ editAlertReceiver(alertReceiverId, alertReceiverEditRequest, options) {
1533
+ return __awaiter(this, void 0, void 0, function* () {
1534
+ var _a, _b, _c;
1535
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.editAlertReceiver(alertReceiverId, alertReceiverEditRequest, options);
1536
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1537
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AlertReceiversApi.editAlertReceiver']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1538
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1539
+ });
1540
+ },
1541
+ /**
1542
+ * Retrieve a specific alert receiver by its ID
1543
+ * @summary Get alert receiver
1544
+ * @param {string} alertReceiverId Alert Receiver ID
1545
+ * @param {*} [options] Override http request option.
1546
+ * @throws {RequiredError}
1547
+ */
1548
+ getAlertReceiver(alertReceiverId, options) {
1549
+ return __awaiter(this, void 0, void 0, function* () {
1550
+ var _a, _b, _c;
1551
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getAlertReceiver(alertReceiverId, options);
1552
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1553
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AlertReceiversApi.getAlertReceiver']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1554
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1555
+ });
1556
+ },
1557
+ /**
1558
+ * Retrieve all alert receivers for a specific organization
1559
+ * @summary List alert receivers
1560
+ * @param {string} organizationId Organization ID
1561
+ * @param {*} [options] Override http request option.
1562
+ * @throws {RequiredError}
1563
+ */
1564
+ getAlertReceivers(organizationId, options) {
1565
+ return __awaiter(this, void 0, void 0, function* () {
1566
+ var _a, _b, _c;
1567
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getAlertReceivers(organizationId, options);
1568
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1569
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AlertReceiversApi.getAlertReceivers']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1570
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1571
+ });
1572
+ },
1573
+ };
1574
+ };
1575
+ exports.AlertReceiversApiFp = AlertReceiversApiFp;
1576
+ /**
1577
+ * AlertReceiversApi - factory interface
1578
+ * @export
1579
+ */
1580
+ const AlertReceiversApiFactory = function (configuration, basePath, axios) {
1581
+ const localVarFp = (0, exports.AlertReceiversApiFp)(configuration);
1582
+ return {
1583
+ /**
1584
+ * Create a new alert receiver
1585
+ * @summary Create alert receiver
1586
+ * @param {AlertReceiverCreationRequest} [alertReceiverCreationRequest]
1587
+ * @param {*} [options] Override http request option.
1588
+ * @throws {RequiredError}
1589
+ */
1590
+ createAlertReceiver(alertReceiverCreationRequest, options) {
1591
+ return localVarFp.createAlertReceiver(alertReceiverCreationRequest, options).then((request) => request(axios, basePath));
1592
+ },
1593
+ /**
1594
+ * Delete an alert receiver
1595
+ * @summary Delete alert receiver
1596
+ * @param {string} alertReceiverId Alert Receiver ID
1597
+ * @param {*} [options] Override http request option.
1598
+ * @throws {RequiredError}
1599
+ */
1600
+ deleteAlertReceiver(alertReceiverId, options) {
1601
+ return localVarFp.deleteAlertReceiver(alertReceiverId, options).then((request) => request(axios, basePath));
1602
+ },
1603
+ /**
1604
+ * Update an existing alert receiver
1605
+ * @summary Update alert receiver
1606
+ * @param {string} alertReceiverId Alert Receiver ID
1607
+ * @param {AlertReceiverEditRequest} [alertReceiverEditRequest]
1608
+ * @param {*} [options] Override http request option.
1609
+ * @throws {RequiredError}
1610
+ */
1611
+ editAlertReceiver(alertReceiverId, alertReceiverEditRequest, options) {
1612
+ return localVarFp.editAlertReceiver(alertReceiverId, alertReceiverEditRequest, options).then((request) => request(axios, basePath));
1613
+ },
1614
+ /**
1615
+ * Retrieve a specific alert receiver by its ID
1616
+ * @summary Get alert receiver
1617
+ * @param {string} alertReceiverId Alert Receiver ID
1618
+ * @param {*} [options] Override http request option.
1619
+ * @throws {RequiredError}
1620
+ */
1621
+ getAlertReceiver(alertReceiverId, options) {
1622
+ return localVarFp.getAlertReceiver(alertReceiverId, options).then((request) => request(axios, basePath));
1623
+ },
1624
+ /**
1625
+ * Retrieve all alert receivers for a specific organization
1626
+ * @summary List alert receivers
1627
+ * @param {string} organizationId Organization ID
1628
+ * @param {*} [options] Override http request option.
1629
+ * @throws {RequiredError}
1630
+ */
1631
+ getAlertReceivers(organizationId, options) {
1632
+ return localVarFp.getAlertReceivers(organizationId, options).then((request) => request(axios, basePath));
1633
+ },
1634
+ };
1635
+ };
1636
+ exports.AlertReceiversApiFactory = AlertReceiversApiFactory;
1637
+ /**
1638
+ * AlertReceiversApi - object-oriented interface
1639
+ * @export
1640
+ * @class AlertReceiversApi
1641
+ * @extends {BaseAPI}
1642
+ */
1643
+ class AlertReceiversApi extends base_1.BaseAPI {
1644
+ /**
1645
+ * Create a new alert receiver
1646
+ * @summary Create alert receiver
1647
+ * @param {AlertReceiverCreationRequest} [alertReceiverCreationRequest]
1648
+ * @param {*} [options] Override http request option.
1649
+ * @throws {RequiredError}
1650
+ * @memberof AlertReceiversApi
1651
+ */
1652
+ createAlertReceiver(alertReceiverCreationRequest, options) {
1653
+ return (0, exports.AlertReceiversApiFp)(this.configuration).createAlertReceiver(alertReceiverCreationRequest, options).then((request) => request(this.axios, this.basePath));
1654
+ }
1655
+ /**
1656
+ * Delete an alert receiver
1657
+ * @summary Delete alert receiver
1658
+ * @param {string} alertReceiverId Alert Receiver ID
1659
+ * @param {*} [options] Override http request option.
1660
+ * @throws {RequiredError}
1661
+ * @memberof AlertReceiversApi
1662
+ */
1663
+ deleteAlertReceiver(alertReceiverId, options) {
1664
+ return (0, exports.AlertReceiversApiFp)(this.configuration).deleteAlertReceiver(alertReceiverId, options).then((request) => request(this.axios, this.basePath));
1665
+ }
1666
+ /**
1667
+ * Update an existing alert receiver
1668
+ * @summary Update alert receiver
1669
+ * @param {string} alertReceiverId Alert Receiver ID
1670
+ * @param {AlertReceiverEditRequest} [alertReceiverEditRequest]
1671
+ * @param {*} [options] Override http request option.
1672
+ * @throws {RequiredError}
1673
+ * @memberof AlertReceiversApi
1674
+ */
1675
+ editAlertReceiver(alertReceiverId, alertReceiverEditRequest, options) {
1676
+ return (0, exports.AlertReceiversApiFp)(this.configuration).editAlertReceiver(alertReceiverId, alertReceiverEditRequest, options).then((request) => request(this.axios, this.basePath));
1677
+ }
1678
+ /**
1679
+ * Retrieve a specific alert receiver by its ID
1680
+ * @summary Get alert receiver
1681
+ * @param {string} alertReceiverId Alert Receiver ID
1682
+ * @param {*} [options] Override http request option.
1683
+ * @throws {RequiredError}
1684
+ * @memberof AlertReceiversApi
1685
+ */
1686
+ getAlertReceiver(alertReceiverId, options) {
1687
+ return (0, exports.AlertReceiversApiFp)(this.configuration).getAlertReceiver(alertReceiverId, options).then((request) => request(this.axios, this.basePath));
1688
+ }
1689
+ /**
1690
+ * Retrieve all alert receivers for a specific organization
1691
+ * @summary List alert receivers
1692
+ * @param {string} organizationId Organization ID
1693
+ * @param {*} [options] Override http request option.
1694
+ * @throws {RequiredError}
1695
+ * @memberof AlertReceiversApi
1696
+ */
1697
+ getAlertReceivers(organizationId, options) {
1698
+ return (0, exports.AlertReceiversApiFp)(this.configuration).getAlertReceivers(organizationId, options).then((request) => request(this.axios, this.basePath));
1699
+ }
1700
+ }
1701
+ exports.AlertReceiversApi = AlertReceiversApi;
1702
+ /**
1703
+ * AlertRulesApi - axios parameter creator
1704
+ * @export
1705
+ */
1706
+ const AlertRulesApiAxiosParamCreator = function (configuration) {
1707
+ return {
1708
+ /**
1709
+ * Create a new alert rule with PromQL expression
1710
+ * @summary Create alert rule
1711
+ * @param {AlertRuleCreationRequest} [alertRuleCreationRequest]
1712
+ * @param {*} [options] Override http request option.
1713
+ * @throws {RequiredError}
1714
+ */
1715
+ createAlertRule: (alertRuleCreationRequest_1, ...args_1) => __awaiter(this, [alertRuleCreationRequest_1, ...args_1], void 0, function* (alertRuleCreationRequest, options = {}) {
1716
+ const localVarPath = `/api/alert-rules`;
1717
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1718
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1719
+ let baseOptions;
1720
+ if (configuration) {
1721
+ baseOptions = configuration.baseOptions;
1722
+ }
1723
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
1724
+ const localVarHeaderParameter = {};
1725
+ const localVarQueryParameter = {};
1726
+ // authentication ApiKeyAuth required
1727
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
1728
+ // authentication bearerAuth required
1729
+ // http bearer authentication required
1730
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
1731
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1732
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1733
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1734
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1735
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(alertRuleCreationRequest, localVarRequestOptions, configuration);
1736
+ return {
1737
+ url: (0, common_1.toPathString)(localVarUrlObj),
1738
+ options: localVarRequestOptions,
1739
+ };
1740
+ }),
1741
+ /**
1742
+ * Delete an alert rule
1743
+ * @summary Delete alert rule
1744
+ * @param {string} alertRuleId Alert Rule ID
1745
+ * @param {*} [options] Override http request option.
1746
+ * @throws {RequiredError}
1747
+ */
1748
+ deleteAlertRule: (alertRuleId_1, ...args_1) => __awaiter(this, [alertRuleId_1, ...args_1], void 0, function* (alertRuleId, options = {}) {
1749
+ // verify required parameter 'alertRuleId' is not null or undefined
1750
+ (0, common_1.assertParamExists)('deleteAlertRule', 'alertRuleId', alertRuleId);
1751
+ const localVarPath = `/api/alert-rules/{alertRuleId}`
1752
+ .replace(`{${"alertRuleId"}}`, encodeURIComponent(String(alertRuleId)));
1753
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1754
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1755
+ let baseOptions;
1756
+ if (configuration) {
1757
+ baseOptions = configuration.baseOptions;
1758
+ }
1759
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
1760
+ const localVarHeaderParameter = {};
1761
+ const localVarQueryParameter = {};
1762
+ // authentication ApiKeyAuth required
1763
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
1764
+ // authentication bearerAuth required
1765
+ // http bearer authentication required
1766
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
1767
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1768
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1769
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1770
+ return {
1771
+ url: (0, common_1.toPathString)(localVarUrlObj),
1772
+ options: localVarRequestOptions,
1773
+ };
1774
+ }),
1775
+ /**
1776
+ * Update an existing alert rule
1777
+ * @summary Update alert rule
1778
+ * @param {string} alertRuleId Alert Rule ID
1779
+ * @param {AlertRuleEditRequest} [alertRuleEditRequest]
1780
+ * @param {*} [options] Override http request option.
1781
+ * @throws {RequiredError}
1782
+ */
1783
+ editAlertRule: (alertRuleId_1, alertRuleEditRequest_1, ...args_1) => __awaiter(this, [alertRuleId_1, alertRuleEditRequest_1, ...args_1], void 0, function* (alertRuleId, alertRuleEditRequest, options = {}) {
1784
+ // verify required parameter 'alertRuleId' is not null or undefined
1785
+ (0, common_1.assertParamExists)('editAlertRule', 'alertRuleId', alertRuleId);
1786
+ const localVarPath = `/api/alert-rules/{alertRuleId}`
1787
+ .replace(`{${"alertRuleId"}}`, encodeURIComponent(String(alertRuleId)));
1788
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1789
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1790
+ let baseOptions;
1791
+ if (configuration) {
1792
+ baseOptions = configuration.baseOptions;
1793
+ }
1794
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
1795
+ const localVarHeaderParameter = {};
1796
+ const localVarQueryParameter = {};
1797
+ // authentication ApiKeyAuth required
1798
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
1799
+ // authentication bearerAuth required
1800
+ // http bearer authentication required
1801
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
1802
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1803
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1804
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1805
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1806
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(alertRuleEditRequest, localVarRequestOptions, configuration);
1807
+ return {
1808
+ url: (0, common_1.toPathString)(localVarUrlObj),
1809
+ options: localVarRequestOptions,
1810
+ };
1811
+ }),
1812
+ /**
1813
+ * Retrieve a specific alert rule by its ID
1814
+ * @summary Get alert rule
1815
+ * @param {string} alertRuleId Alert Rule ID
1816
+ * @param {*} [options] Override http request option.
1817
+ * @throws {RequiredError}
1818
+ */
1819
+ getAlertRule: (alertRuleId_1, ...args_1) => __awaiter(this, [alertRuleId_1, ...args_1], void 0, function* (alertRuleId, options = {}) {
1820
+ // verify required parameter 'alertRuleId' is not null or undefined
1821
+ (0, common_1.assertParamExists)('getAlertRule', 'alertRuleId', alertRuleId);
1822
+ const localVarPath = `/api/alert-rules/{alertRuleId}`
1823
+ .replace(`{${"alertRuleId"}}`, encodeURIComponent(String(alertRuleId)));
1824
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1825
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1826
+ let baseOptions;
1827
+ if (configuration) {
1828
+ baseOptions = configuration.baseOptions;
1829
+ }
1830
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
1831
+ const localVarHeaderParameter = {};
1832
+ const localVarQueryParameter = {};
1833
+ // authentication ApiKeyAuth required
1834
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
1835
+ // authentication bearerAuth required
1836
+ // http bearer authentication required
1837
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
1838
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1839
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1840
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1841
+ return {
1842
+ url: (0, common_1.toPathString)(localVarUrlObj),
1843
+ options: localVarRequestOptions,
1844
+ };
1845
+ }),
1846
+ };
1847
+ };
1848
+ exports.AlertRulesApiAxiosParamCreator = AlertRulesApiAxiosParamCreator;
1849
+ /**
1850
+ * AlertRulesApi - functional programming interface
1851
+ * @export
1852
+ */
1853
+ const AlertRulesApiFp = function (configuration) {
1854
+ const localVarAxiosParamCreator = (0, exports.AlertRulesApiAxiosParamCreator)(configuration);
1855
+ return {
1856
+ /**
1857
+ * Create a new alert rule with PromQL expression
1858
+ * @summary Create alert rule
1859
+ * @param {AlertRuleCreationRequest} [alertRuleCreationRequest]
1860
+ * @param {*} [options] Override http request option.
1861
+ * @throws {RequiredError}
1862
+ */
1863
+ createAlertRule(alertRuleCreationRequest, options) {
1864
+ return __awaiter(this, void 0, void 0, function* () {
1865
+ var _a, _b, _c;
1866
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.createAlertRule(alertRuleCreationRequest, options);
1867
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1868
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AlertRulesApi.createAlertRule']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1869
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1870
+ });
1871
+ },
1872
+ /**
1873
+ * Delete an alert rule
1874
+ * @summary Delete alert rule
1875
+ * @param {string} alertRuleId Alert Rule ID
1876
+ * @param {*} [options] Override http request option.
1877
+ * @throws {RequiredError}
1878
+ */
1879
+ deleteAlertRule(alertRuleId, options) {
1880
+ return __awaiter(this, void 0, void 0, function* () {
1881
+ var _a, _b, _c;
1882
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteAlertRule(alertRuleId, options);
1883
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1884
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AlertRulesApi.deleteAlertRule']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1885
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1886
+ });
1887
+ },
1888
+ /**
1889
+ * Update an existing alert rule
1890
+ * @summary Update alert rule
1891
+ * @param {string} alertRuleId Alert Rule ID
1892
+ * @param {AlertRuleEditRequest} [alertRuleEditRequest]
1893
+ * @param {*} [options] Override http request option.
1894
+ * @throws {RequiredError}
1895
+ */
1896
+ editAlertRule(alertRuleId, alertRuleEditRequest, options) {
1897
+ return __awaiter(this, void 0, void 0, function* () {
1898
+ var _a, _b, _c;
1899
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.editAlertRule(alertRuleId, alertRuleEditRequest, options);
1900
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1901
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AlertRulesApi.editAlertRule']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1902
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1903
+ });
1904
+ },
1905
+ /**
1906
+ * Retrieve a specific alert rule by its ID
1907
+ * @summary Get alert rule
1908
+ * @param {string} alertRuleId Alert Rule ID
1909
+ * @param {*} [options] Override http request option.
1910
+ * @throws {RequiredError}
1911
+ */
1912
+ getAlertRule(alertRuleId, options) {
1913
+ return __awaiter(this, void 0, void 0, function* () {
1914
+ var _a, _b, _c;
1915
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getAlertRule(alertRuleId, options);
1916
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1917
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AlertRulesApi.getAlertRule']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1918
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1919
+ });
1920
+ },
1921
+ };
1922
+ };
1923
+ exports.AlertRulesApiFp = AlertRulesApiFp;
1924
+ /**
1925
+ * AlertRulesApi - factory interface
1926
+ * @export
1927
+ */
1928
+ const AlertRulesApiFactory = function (configuration, basePath, axios) {
1929
+ const localVarFp = (0, exports.AlertRulesApiFp)(configuration);
1930
+ return {
1931
+ /**
1932
+ * Create a new alert rule with PromQL expression
1933
+ * @summary Create alert rule
1934
+ * @param {AlertRuleCreationRequest} [alertRuleCreationRequest]
1935
+ * @param {*} [options] Override http request option.
1936
+ * @throws {RequiredError}
1937
+ */
1938
+ createAlertRule(alertRuleCreationRequest, options) {
1939
+ return localVarFp.createAlertRule(alertRuleCreationRequest, options).then((request) => request(axios, basePath));
1940
+ },
1941
+ /**
1942
+ * Delete an alert rule
1943
+ * @summary Delete alert rule
1944
+ * @param {string} alertRuleId Alert Rule ID
1945
+ * @param {*} [options] Override http request option.
1946
+ * @throws {RequiredError}
1947
+ */
1948
+ deleteAlertRule(alertRuleId, options) {
1949
+ return localVarFp.deleteAlertRule(alertRuleId, options).then((request) => request(axios, basePath));
1950
+ },
1951
+ /**
1952
+ * Update an existing alert rule
1953
+ * @summary Update alert rule
1954
+ * @param {string} alertRuleId Alert Rule ID
1955
+ * @param {AlertRuleEditRequest} [alertRuleEditRequest]
1956
+ * @param {*} [options] Override http request option.
1957
+ * @throws {RequiredError}
1958
+ */
1959
+ editAlertRule(alertRuleId, alertRuleEditRequest, options) {
1960
+ return localVarFp.editAlertRule(alertRuleId, alertRuleEditRequest, options).then((request) => request(axios, basePath));
1961
+ },
1962
+ /**
1963
+ * Retrieve a specific alert rule by its ID
1964
+ * @summary Get alert rule
1965
+ * @param {string} alertRuleId Alert Rule ID
1966
+ * @param {*} [options] Override http request option.
1967
+ * @throws {RequiredError}
1968
+ */
1969
+ getAlertRule(alertRuleId, options) {
1970
+ return localVarFp.getAlertRule(alertRuleId, options).then((request) => request(axios, basePath));
1971
+ },
1972
+ };
1973
+ };
1974
+ exports.AlertRulesApiFactory = AlertRulesApiFactory;
1975
+ /**
1976
+ * AlertRulesApi - object-oriented interface
1977
+ * @export
1978
+ * @class AlertRulesApi
1979
+ * @extends {BaseAPI}
1980
+ */
1981
+ class AlertRulesApi extends base_1.BaseAPI {
1982
+ /**
1983
+ * Create a new alert rule with PromQL expression
1984
+ * @summary Create alert rule
1985
+ * @param {AlertRuleCreationRequest} [alertRuleCreationRequest]
1986
+ * @param {*} [options] Override http request option.
1987
+ * @throws {RequiredError}
1988
+ * @memberof AlertRulesApi
1989
+ */
1990
+ createAlertRule(alertRuleCreationRequest, options) {
1991
+ return (0, exports.AlertRulesApiFp)(this.configuration).createAlertRule(alertRuleCreationRequest, options).then((request) => request(this.axios, this.basePath));
1992
+ }
1993
+ /**
1994
+ * Delete an alert rule
1995
+ * @summary Delete alert rule
1996
+ * @param {string} alertRuleId Alert Rule ID
1997
+ * @param {*} [options] Override http request option.
1998
+ * @throws {RequiredError}
1999
+ * @memberof AlertRulesApi
2000
+ */
2001
+ deleteAlertRule(alertRuleId, options) {
2002
+ return (0, exports.AlertRulesApiFp)(this.configuration).deleteAlertRule(alertRuleId, options).then((request) => request(this.axios, this.basePath));
2003
+ }
2004
+ /**
2005
+ * Update an existing alert rule
2006
+ * @summary Update alert rule
2007
+ * @param {string} alertRuleId Alert Rule ID
2008
+ * @param {AlertRuleEditRequest} [alertRuleEditRequest]
2009
+ * @param {*} [options] Override http request option.
2010
+ * @throws {RequiredError}
2011
+ * @memberof AlertRulesApi
2012
+ */
2013
+ editAlertRule(alertRuleId, alertRuleEditRequest, options) {
2014
+ return (0, exports.AlertRulesApiFp)(this.configuration).editAlertRule(alertRuleId, alertRuleEditRequest, options).then((request) => request(this.axios, this.basePath));
2015
+ }
2016
+ /**
2017
+ * Retrieve a specific alert rule by its ID
2018
+ * @summary Get alert rule
2019
+ * @param {string} alertRuleId Alert Rule ID
2020
+ * @param {*} [options] Override http request option.
2021
+ * @throws {RequiredError}
2022
+ * @memberof AlertRulesApi
2023
+ */
2024
+ getAlertRule(alertRuleId, options) {
2025
+ return (0, exports.AlertRulesApiFp)(this.configuration).getAlertRule(alertRuleId, options).then((request) => request(this.axios, this.basePath));
2026
+ }
2027
+ }
2028
+ exports.AlertRulesApi = AlertRulesApi;
1287
2029
  /**
1288
2030
  * ApplicationActionsApi - axios parameter creator
1289
2031
  * @export
@@ -39565,6 +40307,36 @@ const TerraformMainCallsApiAxiosParamCreator = function (configuration) {
39565
40307
  options: localVarRequestOptions,
39566
40308
  };
39567
40309
  }),
40310
+ /**
40311
+ *
40312
+ * @summary List available Terraform versions
40313
+ * @param {*} [options] Override http request option.
40314
+ * @throws {RequiredError}
40315
+ */
40316
+ listTerraformVersions: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
40317
+ const localVarPath = `/terraform/available-versions`;
40318
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
40319
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
40320
+ let baseOptions;
40321
+ if (configuration) {
40322
+ baseOptions = configuration.baseOptions;
40323
+ }
40324
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
40325
+ const localVarHeaderParameter = {};
40326
+ const localVarQueryParameter = {};
40327
+ // authentication ApiKeyAuth required
40328
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
40329
+ // authentication bearerAuth required
40330
+ // http bearer authentication required
40331
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
40332
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
40333
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
40334
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
40335
+ return {
40336
+ url: (0, common_1.toPathString)(localVarUrlObj),
40337
+ options: localVarRequestOptions,
40338
+ };
40339
+ }),
39568
40340
  };
39569
40341
  };
39570
40342
  exports.TerraformMainCallsApiAxiosParamCreator = TerraformMainCallsApiAxiosParamCreator;
@@ -39642,6 +40414,21 @@ const TerraformMainCallsApiFp = function (configuration) {
39642
40414
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
39643
40415
  });
39644
40416
  },
40417
+ /**
40418
+ *
40419
+ * @summary List available Terraform versions
40420
+ * @param {*} [options] Override http request option.
40421
+ * @throws {RequiredError}
40422
+ */
40423
+ listTerraformVersions(options) {
40424
+ return __awaiter(this, void 0, void 0, function* () {
40425
+ var _a, _b, _c;
40426
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listTerraformVersions(options);
40427
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
40428
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TerraformMainCallsApi.listTerraformVersions']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
40429
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
40430
+ });
40431
+ },
39645
40432
  };
39646
40433
  };
39647
40434
  exports.TerraformMainCallsApiFp = TerraformMainCallsApiFp;
@@ -39695,6 +40482,15 @@ const TerraformMainCallsApiFactory = function (configuration, basePath, axios) {
39695
40482
  listTerraformCommit(terraformId, options) {
39696
40483
  return localVarFp.listTerraformCommit(terraformId, options).then((request) => request(axios, basePath));
39697
40484
  },
40485
+ /**
40486
+ *
40487
+ * @summary List available Terraform versions
40488
+ * @param {*} [options] Override http request option.
40489
+ * @throws {RequiredError}
40490
+ */
40491
+ listTerraformVersions(options) {
40492
+ return localVarFp.listTerraformVersions(options).then((request) => request(axios, basePath));
40493
+ },
39698
40494
  };
39699
40495
  };
39700
40496
  exports.TerraformMainCallsApiFactory = TerraformMainCallsApiFactory;
@@ -39752,6 +40548,16 @@ class TerraformMainCallsApi extends base_1.BaseAPI {
39752
40548
  listTerraformCommit(terraformId, options) {
39753
40549
  return (0, exports.TerraformMainCallsApiFp)(this.configuration).listTerraformCommit(terraformId, options).then((request) => request(this.axios, this.basePath));
39754
40550
  }
40551
+ /**
40552
+ *
40553
+ * @summary List available Terraform versions
40554
+ * @param {*} [options] Override http request option.
40555
+ * @throws {RequiredError}
40556
+ * @memberof TerraformMainCallsApi
40557
+ */
40558
+ listTerraformVersions(options) {
40559
+ return (0, exports.TerraformMainCallsApiFp)(this.configuration).listTerraformVersions(options).then((request) => request(this.axios, this.basePath));
40560
+ }
39755
40561
  }
39756
40562
  exports.TerraformMainCallsApi = TerraformMainCallsApi;
39757
40563
  /**