qovery-typescript-axios 1.1.1017 → 1.1.1019
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 +88 -0
- package/dist/api.d.ts +86 -0
- package/dist/esm/api.d.ts +86 -0
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -5796,6 +5796,43 @@ export interface BuildSettings {
|
|
|
5796
5796
|
*/
|
|
5797
5797
|
'skip_git_submodules'?: boolean;
|
|
5798
5798
|
}
|
|
5799
|
+
/**
|
|
5800
|
+
* Resources the builder used during this build, image push and cache export included. Only set on BUILD. Compare them with the service\'s build CPU and memory settings. The four usage fields come together, or are all absent when no sample was taken (a build shorter than the sampling interval, or a cluster without a metrics API).
|
|
5801
|
+
* @export
|
|
5802
|
+
* @interface BuilderUsage
|
|
5803
|
+
*/
|
|
5804
|
+
export interface BuilderUsage {
|
|
5805
|
+
/**
|
|
5806
|
+
* Highest CPU use seen, in millicores.
|
|
5807
|
+
* @type {number}
|
|
5808
|
+
* @memberof BuilderUsage
|
|
5809
|
+
*/
|
|
5810
|
+
'cpu_milli_max'?: number;
|
|
5811
|
+
/**
|
|
5812
|
+
* Average CPU use over the samples, in millicores.
|
|
5813
|
+
* @type {number}
|
|
5814
|
+
* @memberof BuilderUsage
|
|
5815
|
+
*/
|
|
5816
|
+
'cpu_milli_avg'?: number;
|
|
5817
|
+
/**
|
|
5818
|
+
* Highest memory use seen, in MiB.
|
|
5819
|
+
* @type {number}
|
|
5820
|
+
* @memberof BuilderUsage
|
|
5821
|
+
*/
|
|
5822
|
+
'memory_mib_max'?: number;
|
|
5823
|
+
/**
|
|
5824
|
+
* Number of samples the values above come from. Usage is sampled periodically, so a short build has few samples and its peaks can be missed.
|
|
5825
|
+
* @type {number}
|
|
5826
|
+
* @memberof BuilderUsage
|
|
5827
|
+
*/
|
|
5828
|
+
'samples'?: number;
|
|
5829
|
+
/**
|
|
5830
|
+
* Present, and true, only when the builder was killed for running out of memory. Absent otherwise: never test it against false. Raising the build memory setting fixes it.
|
|
5831
|
+
* @type {boolean}
|
|
5832
|
+
* @memberof BuilderUsage
|
|
5833
|
+
*/
|
|
5834
|
+
'oom_killed'?: boolean;
|
|
5835
|
+
}
|
|
5799
5836
|
/**
|
|
5800
5837
|
*
|
|
5801
5838
|
* @export
|
|
@@ -14760,6 +14797,12 @@ export interface EnvironmentLogsDetails {
|
|
|
14760
14797
|
* @memberof EnvironmentLogsDetails
|
|
14761
14798
|
*/
|
|
14762
14799
|
'stage'?: EnvironmentLogsDetailsStage;
|
|
14800
|
+
/**
|
|
14801
|
+
* Step of the deployment this line belongs to: REGISTRY_CREATE_REPOSITORY, GIT_CLONE, PROVISION_BUILDER, BUILD, IMAGE_PUSH, CACHE_EXPORT, MIRROR_IMAGE, DEPLOYMENT, ROUTER_DEPLOYMENT or EXECUTING. It matches a step\'s `step_name`, or the `name` of a BUILD sub-step, in the deployment statuses. The phase (build or deploy) is `stage.step`. Absent on older deployments and on pause, delete and restart. Clients must accept values not listed here.
|
|
14802
|
+
* @type {string}
|
|
14803
|
+
* @memberof EnvironmentLogsDetails
|
|
14804
|
+
*/
|
|
14805
|
+
'step_name'?: string | null;
|
|
14763
14806
|
}
|
|
14764
14807
|
/**
|
|
14765
14808
|
*
|
|
@@ -26871,6 +26914,18 @@ export interface ServiceStepMetric {
|
|
|
26871
26914
|
* @memberof ServiceStepMetric
|
|
26872
26915
|
*/
|
|
26873
26916
|
'started_at'?: string | null;
|
|
26917
|
+
/**
|
|
26918
|
+
* Steps that ran inside this one. Only set on BUILD. Their time is already part of this step\'s duration: never add it to a total.
|
|
26919
|
+
* @type {Array<ServiceSubStepMetric>}
|
|
26920
|
+
* @memberof ServiceStepMetric
|
|
26921
|
+
*/
|
|
26922
|
+
'sub_steps'?: Array<ServiceSubStepMetric>;
|
|
26923
|
+
/**
|
|
26924
|
+
*
|
|
26925
|
+
* @type {BuilderUsage}
|
|
26926
|
+
* @memberof ServiceStepMetric
|
|
26927
|
+
*/
|
|
26928
|
+
'builder_usage'?: BuilderUsage;
|
|
26874
26929
|
}
|
|
26875
26930
|
|
|
26876
26931
|
|
|
@@ -27030,6 +27085,39 @@ export const ServiceSubActionEnum = {
|
|
|
27030
27085
|
export type ServiceSubActionEnum = typeof ServiceSubActionEnum[keyof typeof ServiceSubActionEnum];
|
|
27031
27086
|
|
|
27032
27087
|
|
|
27088
|
+
/**
|
|
27089
|
+
*
|
|
27090
|
+
* @export
|
|
27091
|
+
* @interface ServiceSubStepMetric
|
|
27092
|
+
*/
|
|
27093
|
+
export interface ServiceSubStepMetric {
|
|
27094
|
+
/**
|
|
27095
|
+
* PROVISION_BUILDER, IMAGE_PUSH or CACHE_EXPORT. A string, not an enum, so a new sub-step never breaks a client: accept values not listed here.
|
|
27096
|
+
* @type {string}
|
|
27097
|
+
* @memberof ServiceSubStepMetric
|
|
27098
|
+
*/
|
|
27099
|
+
'name': string;
|
|
27100
|
+
/**
|
|
27101
|
+
*
|
|
27102
|
+
* @type {StepMetricStatusEnum}
|
|
27103
|
+
* @memberof ServiceSubStepMetric
|
|
27104
|
+
*/
|
|
27105
|
+
'status': StepMetricStatusEnum;
|
|
27106
|
+
/**
|
|
27107
|
+
* The duration of the sub-step in seconds.
|
|
27108
|
+
* @type {number}
|
|
27109
|
+
* @memberof ServiceSubStepMetric
|
|
27110
|
+
*/
|
|
27111
|
+
'duration_sec': number;
|
|
27112
|
+
/**
|
|
27113
|
+
* The time at which the sub-step started.
|
|
27114
|
+
* @type {string}
|
|
27115
|
+
* @memberof ServiceSubStepMetric
|
|
27116
|
+
*/
|
|
27117
|
+
'started_at'?: string | null;
|
|
27118
|
+
}
|
|
27119
|
+
|
|
27120
|
+
|
|
27033
27121
|
/**
|
|
27034
27122
|
*
|
|
27035
27123
|
* @export
|
package/dist/api.d.ts
CHANGED
|
@@ -5620,6 +5620,43 @@ export interface BuildSettings {
|
|
|
5620
5620
|
*/
|
|
5621
5621
|
'skip_git_submodules'?: boolean;
|
|
5622
5622
|
}
|
|
5623
|
+
/**
|
|
5624
|
+
* Resources the builder used during this build, image push and cache export included. Only set on BUILD. Compare them with the service\'s build CPU and memory settings. The four usage fields come together, or are all absent when no sample was taken (a build shorter than the sampling interval, or a cluster without a metrics API).
|
|
5625
|
+
* @export
|
|
5626
|
+
* @interface BuilderUsage
|
|
5627
|
+
*/
|
|
5628
|
+
export interface BuilderUsage {
|
|
5629
|
+
/**
|
|
5630
|
+
* Highest CPU use seen, in millicores.
|
|
5631
|
+
* @type {number}
|
|
5632
|
+
* @memberof BuilderUsage
|
|
5633
|
+
*/
|
|
5634
|
+
'cpu_milli_max'?: number;
|
|
5635
|
+
/**
|
|
5636
|
+
* Average CPU use over the samples, in millicores.
|
|
5637
|
+
* @type {number}
|
|
5638
|
+
* @memberof BuilderUsage
|
|
5639
|
+
*/
|
|
5640
|
+
'cpu_milli_avg'?: number;
|
|
5641
|
+
/**
|
|
5642
|
+
* Highest memory use seen, in MiB.
|
|
5643
|
+
* @type {number}
|
|
5644
|
+
* @memberof BuilderUsage
|
|
5645
|
+
*/
|
|
5646
|
+
'memory_mib_max'?: number;
|
|
5647
|
+
/**
|
|
5648
|
+
* Number of samples the values above come from. Usage is sampled periodically, so a short build has few samples and its peaks can be missed.
|
|
5649
|
+
* @type {number}
|
|
5650
|
+
* @memberof BuilderUsage
|
|
5651
|
+
*/
|
|
5652
|
+
'samples'?: number;
|
|
5653
|
+
/**
|
|
5654
|
+
* Present, and true, only when the builder was killed for running out of memory. Absent otherwise: never test it against false. Raising the build memory setting fixes it.
|
|
5655
|
+
* @type {boolean}
|
|
5656
|
+
* @memberof BuilderUsage
|
|
5657
|
+
*/
|
|
5658
|
+
'oom_killed'?: boolean;
|
|
5659
|
+
}
|
|
5623
5660
|
/**
|
|
5624
5661
|
*
|
|
5625
5662
|
* @export
|
|
@@ -14349,6 +14386,12 @@ export interface EnvironmentLogsDetails {
|
|
|
14349
14386
|
* @memberof EnvironmentLogsDetails
|
|
14350
14387
|
*/
|
|
14351
14388
|
'stage'?: EnvironmentLogsDetailsStage;
|
|
14389
|
+
/**
|
|
14390
|
+
* Step of the deployment this line belongs to: REGISTRY_CREATE_REPOSITORY, GIT_CLONE, PROVISION_BUILDER, BUILD, IMAGE_PUSH, CACHE_EXPORT, MIRROR_IMAGE, DEPLOYMENT, ROUTER_DEPLOYMENT or EXECUTING. It matches a step\'s `step_name`, or the `name` of a BUILD sub-step, in the deployment statuses. The phase (build or deploy) is `stage.step`. Absent on older deployments and on pause, delete and restart. Clients must accept values not listed here.
|
|
14391
|
+
* @type {string}
|
|
14392
|
+
* @memberof EnvironmentLogsDetails
|
|
14393
|
+
*/
|
|
14394
|
+
'step_name'?: string | null;
|
|
14352
14395
|
}
|
|
14353
14396
|
/**
|
|
14354
14397
|
*
|
|
@@ -26085,6 +26128,18 @@ export interface ServiceStepMetric {
|
|
|
26085
26128
|
* @memberof ServiceStepMetric
|
|
26086
26129
|
*/
|
|
26087
26130
|
'started_at'?: string | null;
|
|
26131
|
+
/**
|
|
26132
|
+
* Steps that ran inside this one. Only set on BUILD. Their time is already part of this step\'s duration: never add it to a total.
|
|
26133
|
+
* @type {Array<ServiceSubStepMetric>}
|
|
26134
|
+
* @memberof ServiceStepMetric
|
|
26135
|
+
*/
|
|
26136
|
+
'sub_steps'?: Array<ServiceSubStepMetric>;
|
|
26137
|
+
/**
|
|
26138
|
+
*
|
|
26139
|
+
* @type {BuilderUsage}
|
|
26140
|
+
* @memberof ServiceStepMetric
|
|
26141
|
+
*/
|
|
26142
|
+
'builder_usage'?: BuilderUsage;
|
|
26088
26143
|
}
|
|
26089
26144
|
/**
|
|
26090
26145
|
* The name of the deployment step at the service level: - REGISTRY_CREATE_REPOSITORY: The step to create the repository in the registry. - GIT_CLONE: The step to clone the source code repository. - BUILD_QUEUEING: The queuing time preceding the actual building step. - BUILD: The step to build the source code. - DEPLOYMENT_QUEUEING: The queuing time preceding the actual deployment step. - DEPLOYMENT: The step to deploy the service. - ROUTER_DEPLOYMENT: The step to deploy the router. - MIRROR_IMAGE: The step to mirror the image to the private registry. - EXECUTING: The step to execute a job or terraform apply.
|
|
@@ -26230,6 +26285,37 @@ export declare const ServiceSubActionEnum: {
|
|
|
26230
26285
|
readonly TERRAFORM_MIGRATE_STATE: "TERRAFORM_MIGRATE_STATE";
|
|
26231
26286
|
};
|
|
26232
26287
|
export type ServiceSubActionEnum = typeof ServiceSubActionEnum[keyof typeof ServiceSubActionEnum];
|
|
26288
|
+
/**
|
|
26289
|
+
*
|
|
26290
|
+
* @export
|
|
26291
|
+
* @interface ServiceSubStepMetric
|
|
26292
|
+
*/
|
|
26293
|
+
export interface ServiceSubStepMetric {
|
|
26294
|
+
/**
|
|
26295
|
+
* PROVISION_BUILDER, IMAGE_PUSH or CACHE_EXPORT. A string, not an enum, so a new sub-step never breaks a client: accept values not listed here.
|
|
26296
|
+
* @type {string}
|
|
26297
|
+
* @memberof ServiceSubStepMetric
|
|
26298
|
+
*/
|
|
26299
|
+
'name': string;
|
|
26300
|
+
/**
|
|
26301
|
+
*
|
|
26302
|
+
* @type {StepMetricStatusEnum}
|
|
26303
|
+
* @memberof ServiceSubStepMetric
|
|
26304
|
+
*/
|
|
26305
|
+
'status': StepMetricStatusEnum;
|
|
26306
|
+
/**
|
|
26307
|
+
* The duration of the sub-step in seconds.
|
|
26308
|
+
* @type {number}
|
|
26309
|
+
* @memberof ServiceSubStepMetric
|
|
26310
|
+
*/
|
|
26311
|
+
'duration_sec': number;
|
|
26312
|
+
/**
|
|
26313
|
+
* The time at which the sub-step started.
|
|
26314
|
+
* @type {string}
|
|
26315
|
+
* @memberof ServiceSubStepMetric
|
|
26316
|
+
*/
|
|
26317
|
+
'started_at'?: string | null;
|
|
26318
|
+
}
|
|
26233
26319
|
/**
|
|
26234
26320
|
*
|
|
26235
26321
|
* @export
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -5620,6 +5620,43 @@ export interface BuildSettings {
|
|
|
5620
5620
|
*/
|
|
5621
5621
|
'skip_git_submodules'?: boolean;
|
|
5622
5622
|
}
|
|
5623
|
+
/**
|
|
5624
|
+
* Resources the builder used during this build, image push and cache export included. Only set on BUILD. Compare them with the service\'s build CPU and memory settings. The four usage fields come together, or are all absent when no sample was taken (a build shorter than the sampling interval, or a cluster without a metrics API).
|
|
5625
|
+
* @export
|
|
5626
|
+
* @interface BuilderUsage
|
|
5627
|
+
*/
|
|
5628
|
+
export interface BuilderUsage {
|
|
5629
|
+
/**
|
|
5630
|
+
* Highest CPU use seen, in millicores.
|
|
5631
|
+
* @type {number}
|
|
5632
|
+
* @memberof BuilderUsage
|
|
5633
|
+
*/
|
|
5634
|
+
'cpu_milli_max'?: number;
|
|
5635
|
+
/**
|
|
5636
|
+
* Average CPU use over the samples, in millicores.
|
|
5637
|
+
* @type {number}
|
|
5638
|
+
* @memberof BuilderUsage
|
|
5639
|
+
*/
|
|
5640
|
+
'cpu_milli_avg'?: number;
|
|
5641
|
+
/**
|
|
5642
|
+
* Highest memory use seen, in MiB.
|
|
5643
|
+
* @type {number}
|
|
5644
|
+
* @memberof BuilderUsage
|
|
5645
|
+
*/
|
|
5646
|
+
'memory_mib_max'?: number;
|
|
5647
|
+
/**
|
|
5648
|
+
* Number of samples the values above come from. Usage is sampled periodically, so a short build has few samples and its peaks can be missed.
|
|
5649
|
+
* @type {number}
|
|
5650
|
+
* @memberof BuilderUsage
|
|
5651
|
+
*/
|
|
5652
|
+
'samples'?: number;
|
|
5653
|
+
/**
|
|
5654
|
+
* Present, and true, only when the builder was killed for running out of memory. Absent otherwise: never test it against false. Raising the build memory setting fixes it.
|
|
5655
|
+
* @type {boolean}
|
|
5656
|
+
* @memberof BuilderUsage
|
|
5657
|
+
*/
|
|
5658
|
+
'oom_killed'?: boolean;
|
|
5659
|
+
}
|
|
5623
5660
|
/**
|
|
5624
5661
|
*
|
|
5625
5662
|
* @export
|
|
@@ -14349,6 +14386,12 @@ export interface EnvironmentLogsDetails {
|
|
|
14349
14386
|
* @memberof EnvironmentLogsDetails
|
|
14350
14387
|
*/
|
|
14351
14388
|
'stage'?: EnvironmentLogsDetailsStage;
|
|
14389
|
+
/**
|
|
14390
|
+
* Step of the deployment this line belongs to: REGISTRY_CREATE_REPOSITORY, GIT_CLONE, PROVISION_BUILDER, BUILD, IMAGE_PUSH, CACHE_EXPORT, MIRROR_IMAGE, DEPLOYMENT, ROUTER_DEPLOYMENT or EXECUTING. It matches a step\'s `step_name`, or the `name` of a BUILD sub-step, in the deployment statuses. The phase (build or deploy) is `stage.step`. Absent on older deployments and on pause, delete and restart. Clients must accept values not listed here.
|
|
14391
|
+
* @type {string}
|
|
14392
|
+
* @memberof EnvironmentLogsDetails
|
|
14393
|
+
*/
|
|
14394
|
+
'step_name'?: string | null;
|
|
14352
14395
|
}
|
|
14353
14396
|
/**
|
|
14354
14397
|
*
|
|
@@ -26085,6 +26128,18 @@ export interface ServiceStepMetric {
|
|
|
26085
26128
|
* @memberof ServiceStepMetric
|
|
26086
26129
|
*/
|
|
26087
26130
|
'started_at'?: string | null;
|
|
26131
|
+
/**
|
|
26132
|
+
* Steps that ran inside this one. Only set on BUILD. Their time is already part of this step\'s duration: never add it to a total.
|
|
26133
|
+
* @type {Array<ServiceSubStepMetric>}
|
|
26134
|
+
* @memberof ServiceStepMetric
|
|
26135
|
+
*/
|
|
26136
|
+
'sub_steps'?: Array<ServiceSubStepMetric>;
|
|
26137
|
+
/**
|
|
26138
|
+
*
|
|
26139
|
+
* @type {BuilderUsage}
|
|
26140
|
+
* @memberof ServiceStepMetric
|
|
26141
|
+
*/
|
|
26142
|
+
'builder_usage'?: BuilderUsage;
|
|
26088
26143
|
}
|
|
26089
26144
|
/**
|
|
26090
26145
|
* The name of the deployment step at the service level: - REGISTRY_CREATE_REPOSITORY: The step to create the repository in the registry. - GIT_CLONE: The step to clone the source code repository. - BUILD_QUEUEING: The queuing time preceding the actual building step. - BUILD: The step to build the source code. - DEPLOYMENT_QUEUEING: The queuing time preceding the actual deployment step. - DEPLOYMENT: The step to deploy the service. - ROUTER_DEPLOYMENT: The step to deploy the router. - MIRROR_IMAGE: The step to mirror the image to the private registry. - EXECUTING: The step to execute a job or terraform apply.
|
|
@@ -26230,6 +26285,37 @@ export declare const ServiceSubActionEnum: {
|
|
|
26230
26285
|
readonly TERRAFORM_MIGRATE_STATE: "TERRAFORM_MIGRATE_STATE";
|
|
26231
26286
|
};
|
|
26232
26287
|
export type ServiceSubActionEnum = typeof ServiceSubActionEnum[keyof typeof ServiceSubActionEnum];
|
|
26288
|
+
/**
|
|
26289
|
+
*
|
|
26290
|
+
* @export
|
|
26291
|
+
* @interface ServiceSubStepMetric
|
|
26292
|
+
*/
|
|
26293
|
+
export interface ServiceSubStepMetric {
|
|
26294
|
+
/**
|
|
26295
|
+
* PROVISION_BUILDER, IMAGE_PUSH or CACHE_EXPORT. A string, not an enum, so a new sub-step never breaks a client: accept values not listed here.
|
|
26296
|
+
* @type {string}
|
|
26297
|
+
* @memberof ServiceSubStepMetric
|
|
26298
|
+
*/
|
|
26299
|
+
'name': string;
|
|
26300
|
+
/**
|
|
26301
|
+
*
|
|
26302
|
+
* @type {StepMetricStatusEnum}
|
|
26303
|
+
* @memberof ServiceSubStepMetric
|
|
26304
|
+
*/
|
|
26305
|
+
'status': StepMetricStatusEnum;
|
|
26306
|
+
/**
|
|
26307
|
+
* The duration of the sub-step in seconds.
|
|
26308
|
+
* @type {number}
|
|
26309
|
+
* @memberof ServiceSubStepMetric
|
|
26310
|
+
*/
|
|
26311
|
+
'duration_sec': number;
|
|
26312
|
+
/**
|
|
26313
|
+
* The time at which the sub-step started.
|
|
26314
|
+
* @type {string}
|
|
26315
|
+
* @memberof ServiceSubStepMetric
|
|
26316
|
+
*/
|
|
26317
|
+
'started_at'?: string | null;
|
|
26318
|
+
}
|
|
26233
26319
|
/**
|
|
26234
26320
|
*
|
|
26235
26321
|
* @export
|