qovery-typescript-axios 1.1.715 → 1.1.717
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/api.ts +79 -2
- package/dist/api.d.ts +69 -2
- package/dist/api.js +38 -10
- package/dist/esm/api.d.ts +69 -2
- package/dist/esm/api.js +28 -0
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -389,6 +389,12 @@ export interface AlertRuleCreationRequest {
|
|
|
389
389
|
* @memberof AlertRuleCreationRequest
|
|
390
390
|
*/
|
|
391
391
|
'severity': AlertSeverity;
|
|
392
|
+
/**
|
|
393
|
+
*
|
|
394
|
+
* @type {AlertPresentation}
|
|
395
|
+
* @memberof AlertRuleCreationRequest
|
|
396
|
+
*/
|
|
397
|
+
'presentation': AlertPresentation;
|
|
392
398
|
/**
|
|
393
399
|
* Whether the alert rule is enabled
|
|
394
400
|
* @type {boolean}
|
|
@@ -403,10 +409,10 @@ export interface AlertRuleCreationRequest {
|
|
|
403
409
|
'alert_receiver_ids': Array<string>;
|
|
404
410
|
/**
|
|
405
411
|
*
|
|
406
|
-
* @type {
|
|
412
|
+
* @type {AlertTarget}
|
|
407
413
|
* @memberof AlertRuleCreationRequest
|
|
408
414
|
*/
|
|
409
|
-
'
|
|
415
|
+
'target': AlertTarget;
|
|
410
416
|
}
|
|
411
417
|
|
|
412
418
|
|
|
@@ -551,6 +557,12 @@ export interface AlertRuleResponse {
|
|
|
551
557
|
* @memberof AlertRuleResponse
|
|
552
558
|
*/
|
|
553
559
|
'presentation': AlertPresentationResponse;
|
|
560
|
+
/**
|
|
561
|
+
*
|
|
562
|
+
* @type {AlertTarget}
|
|
563
|
+
* @memberof AlertRuleResponse
|
|
564
|
+
*/
|
|
565
|
+
'target': AlertTarget;
|
|
554
566
|
}
|
|
555
567
|
|
|
556
568
|
|
|
@@ -568,6 +580,47 @@ export const AlertSeverity = {
|
|
|
568
580
|
export type AlertSeverity = typeof AlertSeverity[keyof typeof AlertSeverity];
|
|
569
581
|
|
|
570
582
|
|
|
583
|
+
/**
|
|
584
|
+
*
|
|
585
|
+
* @export
|
|
586
|
+
* @interface AlertTarget
|
|
587
|
+
*/
|
|
588
|
+
export interface AlertTarget {
|
|
589
|
+
/**
|
|
590
|
+
*
|
|
591
|
+
* @type {AlertTargetType}
|
|
592
|
+
* @memberof AlertTarget
|
|
593
|
+
*/
|
|
594
|
+
'target_type': AlertTargetType;
|
|
595
|
+
/**
|
|
596
|
+
*
|
|
597
|
+
* @type {string}
|
|
598
|
+
* @memberof AlertTarget
|
|
599
|
+
*/
|
|
600
|
+
'target_id': string;
|
|
601
|
+
}
|
|
602
|
+
|
|
603
|
+
|
|
604
|
+
/**
|
|
605
|
+
* The target of an alert
|
|
606
|
+
* @export
|
|
607
|
+
* @enum {string}
|
|
608
|
+
*/
|
|
609
|
+
|
|
610
|
+
export const AlertTargetType = {
|
|
611
|
+
CLUSTER: ' CLUSTER',
|
|
612
|
+
ENVIRONMENT: 'ENVIRONMENT',
|
|
613
|
+
APPLICATION: 'APPLICATION',
|
|
614
|
+
CONTAINER: 'CONTAINER',
|
|
615
|
+
JOB: 'JOB',
|
|
616
|
+
CRONJOB: 'CRONJOB',
|
|
617
|
+
HELM: 'HELM',
|
|
618
|
+
TERRAFORM: 'TERRAFORM'
|
|
619
|
+
} as const;
|
|
620
|
+
|
|
621
|
+
export type AlertTargetType = typeof AlertTargetType[keyof typeof AlertTargetType];
|
|
622
|
+
|
|
623
|
+
|
|
571
624
|
/**
|
|
572
625
|
*
|
|
573
626
|
* @export
|
|
@@ -17486,6 +17539,24 @@ export interface ServiceStorageStorageInner {
|
|
|
17486
17539
|
}
|
|
17487
17540
|
|
|
17488
17541
|
|
|
17542
|
+
/**
|
|
17543
|
+
*
|
|
17544
|
+
* @export
|
|
17545
|
+
* @enum {string}
|
|
17546
|
+
*/
|
|
17547
|
+
|
|
17548
|
+
export const ServiceSubActionEnum = {
|
|
17549
|
+
NONE: 'NONE',
|
|
17550
|
+
TERRAFORM_PLAN_ONLY: 'TERRAFORM_PLAN_ONLY',
|
|
17551
|
+
TERRAFORM_PLAN_AND_APPLY: 'TERRAFORM_PLAN_AND_APPLY',
|
|
17552
|
+
TERRAFORM_DESTROY: 'TERRAFORM_DESTROY',
|
|
17553
|
+
TERRAFORM_FORCE_UNLOCK_STATE: 'TERRAFORM_FORCE_UNLOCK_STATE',
|
|
17554
|
+
TERRAFORM_MIGRATE_STATE: 'TERRAFORM_MIGRATE_STATE'
|
|
17555
|
+
} as const;
|
|
17556
|
+
|
|
17557
|
+
export type ServiceSubActionEnum = typeof ServiceSubActionEnum[keyof typeof ServiceSubActionEnum];
|
|
17558
|
+
|
|
17559
|
+
|
|
17489
17560
|
/**
|
|
17490
17561
|
*
|
|
17491
17562
|
* @export
|
|
@@ -18000,6 +18071,12 @@ export interface StatusDetails {
|
|
|
18000
18071
|
* @memberof StatusDetails
|
|
18001
18072
|
*/
|
|
18002
18073
|
'status': ServiceActionStatusEnum;
|
|
18074
|
+
/**
|
|
18075
|
+
*
|
|
18076
|
+
* @type {ServiceSubActionEnum}
|
|
18077
|
+
* @memberof StatusDetails
|
|
18078
|
+
*/
|
|
18079
|
+
'sub_action': ServiceSubActionEnum;
|
|
18003
18080
|
}
|
|
18004
18081
|
|
|
18005
18082
|
|
package/dist/api.d.ts
CHANGED
|
@@ -358,6 +358,12 @@ export interface AlertRuleCreationRequest {
|
|
|
358
358
|
* @memberof AlertRuleCreationRequest
|
|
359
359
|
*/
|
|
360
360
|
'severity': AlertSeverity;
|
|
361
|
+
/**
|
|
362
|
+
*
|
|
363
|
+
* @type {AlertPresentation}
|
|
364
|
+
* @memberof AlertRuleCreationRequest
|
|
365
|
+
*/
|
|
366
|
+
'presentation': AlertPresentation;
|
|
361
367
|
/**
|
|
362
368
|
* Whether the alert rule is enabled
|
|
363
369
|
* @type {boolean}
|
|
@@ -372,10 +378,10 @@ export interface AlertRuleCreationRequest {
|
|
|
372
378
|
'alert_receiver_ids': Array<string>;
|
|
373
379
|
/**
|
|
374
380
|
*
|
|
375
|
-
* @type {
|
|
381
|
+
* @type {AlertTarget}
|
|
376
382
|
* @memberof AlertRuleCreationRequest
|
|
377
383
|
*/
|
|
378
|
-
'
|
|
384
|
+
'target': AlertTarget;
|
|
379
385
|
}
|
|
380
386
|
/**
|
|
381
387
|
*
|
|
@@ -516,6 +522,12 @@ export interface AlertRuleResponse {
|
|
|
516
522
|
* @memberof AlertRuleResponse
|
|
517
523
|
*/
|
|
518
524
|
'presentation': AlertPresentationResponse;
|
|
525
|
+
/**
|
|
526
|
+
*
|
|
527
|
+
* @type {AlertTarget}
|
|
528
|
+
* @memberof AlertRuleResponse
|
|
529
|
+
*/
|
|
530
|
+
'target': AlertTarget;
|
|
519
531
|
}
|
|
520
532
|
/**
|
|
521
533
|
* Alert severity level: - WARNING: Non-critical issue requiring attention - CRITICAL: Critical issue requiring immediate action
|
|
@@ -527,6 +539,41 @@ export declare const AlertSeverity: {
|
|
|
527
539
|
readonly CRITICAL: "CRITICAL";
|
|
528
540
|
};
|
|
529
541
|
export type AlertSeverity = typeof AlertSeverity[keyof typeof AlertSeverity];
|
|
542
|
+
/**
|
|
543
|
+
*
|
|
544
|
+
* @export
|
|
545
|
+
* @interface AlertTarget
|
|
546
|
+
*/
|
|
547
|
+
export interface AlertTarget {
|
|
548
|
+
/**
|
|
549
|
+
*
|
|
550
|
+
* @type {AlertTargetType}
|
|
551
|
+
* @memberof AlertTarget
|
|
552
|
+
*/
|
|
553
|
+
'target_type': AlertTargetType;
|
|
554
|
+
/**
|
|
555
|
+
*
|
|
556
|
+
* @type {string}
|
|
557
|
+
* @memberof AlertTarget
|
|
558
|
+
*/
|
|
559
|
+
'target_id': string;
|
|
560
|
+
}
|
|
561
|
+
/**
|
|
562
|
+
* The target of an alert
|
|
563
|
+
* @export
|
|
564
|
+
* @enum {string}
|
|
565
|
+
*/
|
|
566
|
+
export declare const AlertTargetType: {
|
|
567
|
+
readonly CLUSTER: " CLUSTER";
|
|
568
|
+
readonly ENVIRONMENT: "ENVIRONMENT";
|
|
569
|
+
readonly APPLICATION: "APPLICATION";
|
|
570
|
+
readonly CONTAINER: "CONTAINER";
|
|
571
|
+
readonly JOB: "JOB";
|
|
572
|
+
readonly CRONJOB: "CRONJOB";
|
|
573
|
+
readonly HELM: "HELM";
|
|
574
|
+
readonly TERRAFORM: "TERRAFORM";
|
|
575
|
+
};
|
|
576
|
+
export type AlertTargetType = typeof AlertTargetType[keyof typeof AlertTargetType];
|
|
530
577
|
/**
|
|
531
578
|
*
|
|
532
579
|
* @export
|
|
@@ -16942,6 +16989,20 @@ export interface ServiceStorageStorageInner {
|
|
|
16942
16989
|
*/
|
|
16943
16990
|
'mount_point': string;
|
|
16944
16991
|
}
|
|
16992
|
+
/**
|
|
16993
|
+
*
|
|
16994
|
+
* @export
|
|
16995
|
+
* @enum {string}
|
|
16996
|
+
*/
|
|
16997
|
+
export declare const ServiceSubActionEnum: {
|
|
16998
|
+
readonly NONE: "NONE";
|
|
16999
|
+
readonly TERRAFORM_PLAN_ONLY: "TERRAFORM_PLAN_ONLY";
|
|
17000
|
+
readonly TERRAFORM_PLAN_AND_APPLY: "TERRAFORM_PLAN_AND_APPLY";
|
|
17001
|
+
readonly TERRAFORM_DESTROY: "TERRAFORM_DESTROY";
|
|
17002
|
+
readonly TERRAFORM_FORCE_UNLOCK_STATE: "TERRAFORM_FORCE_UNLOCK_STATE";
|
|
17003
|
+
readonly TERRAFORM_MIGRATE_STATE: "TERRAFORM_MIGRATE_STATE";
|
|
17004
|
+
};
|
|
17005
|
+
export type ServiceSubActionEnum = typeof ServiceSubActionEnum[keyof typeof ServiceSubActionEnum];
|
|
16945
17006
|
/**
|
|
16946
17007
|
*
|
|
16947
17008
|
* @export
|
|
@@ -17422,6 +17483,12 @@ export interface StatusDetails {
|
|
|
17422
17483
|
* @memberof StatusDetails
|
|
17423
17484
|
*/
|
|
17424
17485
|
'status': ServiceActionStatusEnum;
|
|
17486
|
+
/**
|
|
17487
|
+
*
|
|
17488
|
+
* @type {ServiceSubActionEnum}
|
|
17489
|
+
* @memberof StatusDetails
|
|
17490
|
+
*/
|
|
17491
|
+
'sub_action': ServiceSubActionEnum;
|
|
17425
17492
|
}
|
|
17426
17493
|
/**
|
|
17427
17494
|
*
|
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.
|
|
26
|
-
exports.
|
|
27
|
-
exports.
|
|
28
|
-
exports.
|
|
29
|
-
exports.
|
|
30
|
-
exports.
|
|
31
|
-
exports.
|
|
32
|
-
exports.
|
|
33
|
-
exports.
|
|
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;
|
|
25
|
+
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.AlertTargetType = exports.AlertSeverity = exports.AlertReceiverType = exports.AksInfrastructureOutputsKindEnum = exports.APIVariableTypeEnum = exports.APIVariableScopeEnum = void 0;
|
|
26
|
+
exports.TerraformDeployRequestActionEnum = exports.StorageTypeEnum = exports.StepMetricStatusEnum = exports.StatusKindEnum = exports.StateEnum = exports.StageStepMetricNameEnum = exports.StageStatusEnum = exports.ServiceTypeForVariableEnum = exports.ServiceTypeEnum = exports.ServiceSubActionEnum = 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 = exports.GkeInfrastructureOutputsKindEnum = void 0;
|
|
27
|
+
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 = exports.TerraformResponseProviderEnum = exports.TerraformRequestProviderEnum = void 0;
|
|
28
|
+
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 = exports.ApplicationSecretApi = exports.ApplicationSecretApiFactory = void 0;
|
|
29
|
+
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 = exports.ContainerLogsApi = exports.ContainerLogsApiFactory = void 0;
|
|
30
|
+
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 = exports.EnvironmentApiFp = exports.EnvironmentApiAxiosParamCreator = void 0;
|
|
31
|
+
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 = exports.HelmActionsApi = exports.HelmActionsApiFactory = void 0;
|
|
32
|
+
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 = exports.JobMainCallsApiFp = exports.JobMainCallsApiAxiosParamCreator = void 0;
|
|
33
|
+
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 = exports.OrganizationLabelsGroupApi = exports.OrganizationLabelsGroupApiFactory = 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 = exports.TerraformDeploymentRestrictionApiAxiosParamCreator = exports.TerraformDeploymentHistoryApi = void 0;
|
|
35
35
|
const axios_1 = require("axios");
|
|
36
36
|
// Some imports not used depending on template conditions
|
|
37
37
|
// @ts-ignore
|
|
@@ -85,6 +85,21 @@ exports.AlertSeverity = {
|
|
|
85
85
|
WARNING: 'WARNING',
|
|
86
86
|
CRITICAL: 'CRITICAL'
|
|
87
87
|
};
|
|
88
|
+
/**
|
|
89
|
+
* The target of an alert
|
|
90
|
+
* @export
|
|
91
|
+
* @enum {string}
|
|
92
|
+
*/
|
|
93
|
+
exports.AlertTargetType = {
|
|
94
|
+
CLUSTER: ' CLUSTER',
|
|
95
|
+
ENVIRONMENT: 'ENVIRONMENT',
|
|
96
|
+
APPLICATION: 'APPLICATION',
|
|
97
|
+
CONTAINER: 'CONTAINER',
|
|
98
|
+
JOB: 'JOB',
|
|
99
|
+
CRONJOB: 'CRONJOB',
|
|
100
|
+
HELM: 'HELM',
|
|
101
|
+
TERRAFORM: 'TERRAFORM'
|
|
102
|
+
};
|
|
88
103
|
/**
|
|
89
104
|
* Annotations Group Associated Item Type
|
|
90
105
|
* @export
|
|
@@ -971,6 +986,19 @@ exports.ServiceStepMetricNameEnum = {
|
|
|
971
986
|
MIRROR_IMAGE: 'MIRROR_IMAGE',
|
|
972
987
|
EXECUTING: 'EXECUTING'
|
|
973
988
|
};
|
|
989
|
+
/**
|
|
990
|
+
*
|
|
991
|
+
* @export
|
|
992
|
+
* @enum {string}
|
|
993
|
+
*/
|
|
994
|
+
exports.ServiceSubActionEnum = {
|
|
995
|
+
NONE: 'NONE',
|
|
996
|
+
TERRAFORM_PLAN_ONLY: 'TERRAFORM_PLAN_ONLY',
|
|
997
|
+
TERRAFORM_PLAN_AND_APPLY: 'TERRAFORM_PLAN_AND_APPLY',
|
|
998
|
+
TERRAFORM_DESTROY: 'TERRAFORM_DESTROY',
|
|
999
|
+
TERRAFORM_FORCE_UNLOCK_STATE: 'TERRAFORM_FORCE_UNLOCK_STATE',
|
|
1000
|
+
TERRAFORM_MIGRATE_STATE: 'TERRAFORM_MIGRATE_STATE'
|
|
1001
|
+
};
|
|
974
1002
|
/**
|
|
975
1003
|
* type of the service (application, database, job, ...)
|
|
976
1004
|
* @export
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -358,6 +358,12 @@ export interface AlertRuleCreationRequest {
|
|
|
358
358
|
* @memberof AlertRuleCreationRequest
|
|
359
359
|
*/
|
|
360
360
|
'severity': AlertSeverity;
|
|
361
|
+
/**
|
|
362
|
+
*
|
|
363
|
+
* @type {AlertPresentation}
|
|
364
|
+
* @memberof AlertRuleCreationRequest
|
|
365
|
+
*/
|
|
366
|
+
'presentation': AlertPresentation;
|
|
361
367
|
/**
|
|
362
368
|
* Whether the alert rule is enabled
|
|
363
369
|
* @type {boolean}
|
|
@@ -372,10 +378,10 @@ export interface AlertRuleCreationRequest {
|
|
|
372
378
|
'alert_receiver_ids': Array<string>;
|
|
373
379
|
/**
|
|
374
380
|
*
|
|
375
|
-
* @type {
|
|
381
|
+
* @type {AlertTarget}
|
|
376
382
|
* @memberof AlertRuleCreationRequest
|
|
377
383
|
*/
|
|
378
|
-
'
|
|
384
|
+
'target': AlertTarget;
|
|
379
385
|
}
|
|
380
386
|
/**
|
|
381
387
|
*
|
|
@@ -516,6 +522,12 @@ export interface AlertRuleResponse {
|
|
|
516
522
|
* @memberof AlertRuleResponse
|
|
517
523
|
*/
|
|
518
524
|
'presentation': AlertPresentationResponse;
|
|
525
|
+
/**
|
|
526
|
+
*
|
|
527
|
+
* @type {AlertTarget}
|
|
528
|
+
* @memberof AlertRuleResponse
|
|
529
|
+
*/
|
|
530
|
+
'target': AlertTarget;
|
|
519
531
|
}
|
|
520
532
|
/**
|
|
521
533
|
* Alert severity level: - WARNING: Non-critical issue requiring attention - CRITICAL: Critical issue requiring immediate action
|
|
@@ -527,6 +539,41 @@ export declare const AlertSeverity: {
|
|
|
527
539
|
readonly CRITICAL: "CRITICAL";
|
|
528
540
|
};
|
|
529
541
|
export type AlertSeverity = typeof AlertSeverity[keyof typeof AlertSeverity];
|
|
542
|
+
/**
|
|
543
|
+
*
|
|
544
|
+
* @export
|
|
545
|
+
* @interface AlertTarget
|
|
546
|
+
*/
|
|
547
|
+
export interface AlertTarget {
|
|
548
|
+
/**
|
|
549
|
+
*
|
|
550
|
+
* @type {AlertTargetType}
|
|
551
|
+
* @memberof AlertTarget
|
|
552
|
+
*/
|
|
553
|
+
'target_type': AlertTargetType;
|
|
554
|
+
/**
|
|
555
|
+
*
|
|
556
|
+
* @type {string}
|
|
557
|
+
* @memberof AlertTarget
|
|
558
|
+
*/
|
|
559
|
+
'target_id': string;
|
|
560
|
+
}
|
|
561
|
+
/**
|
|
562
|
+
* The target of an alert
|
|
563
|
+
* @export
|
|
564
|
+
* @enum {string}
|
|
565
|
+
*/
|
|
566
|
+
export declare const AlertTargetType: {
|
|
567
|
+
readonly CLUSTER: " CLUSTER";
|
|
568
|
+
readonly ENVIRONMENT: "ENVIRONMENT";
|
|
569
|
+
readonly APPLICATION: "APPLICATION";
|
|
570
|
+
readonly CONTAINER: "CONTAINER";
|
|
571
|
+
readonly JOB: "JOB";
|
|
572
|
+
readonly CRONJOB: "CRONJOB";
|
|
573
|
+
readonly HELM: "HELM";
|
|
574
|
+
readonly TERRAFORM: "TERRAFORM";
|
|
575
|
+
};
|
|
576
|
+
export type AlertTargetType = typeof AlertTargetType[keyof typeof AlertTargetType];
|
|
530
577
|
/**
|
|
531
578
|
*
|
|
532
579
|
* @export
|
|
@@ -16942,6 +16989,20 @@ export interface ServiceStorageStorageInner {
|
|
|
16942
16989
|
*/
|
|
16943
16990
|
'mount_point': string;
|
|
16944
16991
|
}
|
|
16992
|
+
/**
|
|
16993
|
+
*
|
|
16994
|
+
* @export
|
|
16995
|
+
* @enum {string}
|
|
16996
|
+
*/
|
|
16997
|
+
export declare const ServiceSubActionEnum: {
|
|
16998
|
+
readonly NONE: "NONE";
|
|
16999
|
+
readonly TERRAFORM_PLAN_ONLY: "TERRAFORM_PLAN_ONLY";
|
|
17000
|
+
readonly TERRAFORM_PLAN_AND_APPLY: "TERRAFORM_PLAN_AND_APPLY";
|
|
17001
|
+
readonly TERRAFORM_DESTROY: "TERRAFORM_DESTROY";
|
|
17002
|
+
readonly TERRAFORM_FORCE_UNLOCK_STATE: "TERRAFORM_FORCE_UNLOCK_STATE";
|
|
17003
|
+
readonly TERRAFORM_MIGRATE_STATE: "TERRAFORM_MIGRATE_STATE";
|
|
17004
|
+
};
|
|
17005
|
+
export type ServiceSubActionEnum = typeof ServiceSubActionEnum[keyof typeof ServiceSubActionEnum];
|
|
16945
17006
|
/**
|
|
16946
17007
|
*
|
|
16947
17008
|
* @export
|
|
@@ -17422,6 +17483,12 @@ export interface StatusDetails {
|
|
|
17422
17483
|
* @memberof StatusDetails
|
|
17423
17484
|
*/
|
|
17424
17485
|
'status': ServiceActionStatusEnum;
|
|
17486
|
+
/**
|
|
17487
|
+
*
|
|
17488
|
+
* @type {ServiceSubActionEnum}
|
|
17489
|
+
* @memberof StatusDetails
|
|
17490
|
+
*/
|
|
17491
|
+
'sub_action': ServiceSubActionEnum;
|
|
17425
17492
|
}
|
|
17426
17493
|
/**
|
|
17427
17494
|
*
|
package/dist/esm/api.js
CHANGED
|
@@ -73,6 +73,21 @@ export const AlertSeverity = {
|
|
|
73
73
|
WARNING: 'WARNING',
|
|
74
74
|
CRITICAL: 'CRITICAL'
|
|
75
75
|
};
|
|
76
|
+
/**
|
|
77
|
+
* The target of an alert
|
|
78
|
+
* @export
|
|
79
|
+
* @enum {string}
|
|
80
|
+
*/
|
|
81
|
+
export const AlertTargetType = {
|
|
82
|
+
CLUSTER: ' CLUSTER',
|
|
83
|
+
ENVIRONMENT: 'ENVIRONMENT',
|
|
84
|
+
APPLICATION: 'APPLICATION',
|
|
85
|
+
CONTAINER: 'CONTAINER',
|
|
86
|
+
JOB: 'JOB',
|
|
87
|
+
CRONJOB: 'CRONJOB',
|
|
88
|
+
HELM: 'HELM',
|
|
89
|
+
TERRAFORM: 'TERRAFORM'
|
|
90
|
+
};
|
|
76
91
|
/**
|
|
77
92
|
* Annotations Group Associated Item Type
|
|
78
93
|
* @export
|
|
@@ -959,6 +974,19 @@ export const ServiceStepMetricNameEnum = {
|
|
|
959
974
|
MIRROR_IMAGE: 'MIRROR_IMAGE',
|
|
960
975
|
EXECUTING: 'EXECUTING'
|
|
961
976
|
};
|
|
977
|
+
/**
|
|
978
|
+
*
|
|
979
|
+
* @export
|
|
980
|
+
* @enum {string}
|
|
981
|
+
*/
|
|
982
|
+
export const ServiceSubActionEnum = {
|
|
983
|
+
NONE: 'NONE',
|
|
984
|
+
TERRAFORM_PLAN_ONLY: 'TERRAFORM_PLAN_ONLY',
|
|
985
|
+
TERRAFORM_PLAN_AND_APPLY: 'TERRAFORM_PLAN_AND_APPLY',
|
|
986
|
+
TERRAFORM_DESTROY: 'TERRAFORM_DESTROY',
|
|
987
|
+
TERRAFORM_FORCE_UNLOCK_STATE: 'TERRAFORM_FORCE_UNLOCK_STATE',
|
|
988
|
+
TERRAFORM_MIGRATE_STATE: 'TERRAFORM_MIGRATE_STATE'
|
|
989
|
+
};
|
|
962
990
|
/**
|
|
963
991
|
* type of the service (application, database, job, ...)
|
|
964
992
|
* @export
|