qovery-ws-typescript-axios 0.1.54 → 0.1.55

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 CHANGED
@@ -418,11 +418,13 @@ export interface PodStatusDto {
418
418
  * @enum {string}
419
419
  */
420
420
 
421
- export enum ResourceStatusDto {
422
- OK = 'OK',
423
- WARNING = 'WARNING',
424
- ALERT = 'ALERT'
425
- }
421
+ export const ResourceStatusDto = {
422
+ OK: 'OK',
423
+ WARNING: 'WARNING',
424
+ ALERT: 'ALERT'
425
+ } as const;
426
+
427
+ export type ResourceStatusDto = typeof ResourceStatusDto[keyof typeof ResourceStatusDto];
426
428
 
427
429
 
428
430
  /**
@@ -512,15 +514,17 @@ export interface ServiceMetricsDto {
512
514
  * @enum {string}
513
515
  */
514
516
 
515
- export enum ServiceStateDto {
516
- STARTING = 'STARTING',
517
- RUNNING = 'RUNNING',
518
- ERROR = 'ERROR',
519
- STOPPING = 'STOPPING',
520
- STOPPED = 'STOPPED',
521
- COMPLETED = 'COMPLETED',
522
- WARNING = 'WARNING'
523
- }
517
+ export const ServiceStateDto = {
518
+ STARTING: 'STARTING',
519
+ RUNNING: 'RUNNING',
520
+ ERROR: 'ERROR',
521
+ STOPPING: 'STOPPING',
522
+ STOPPED: 'STOPPED',
523
+ COMPLETED: 'COMPLETED',
524
+ WARNING: 'WARNING'
525
+ } as const;
526
+
527
+ export type ServiceStateDto = typeof ServiceStateDto[keyof typeof ServiceStateDto];
524
528
 
525
529
 
526
530
  /**
@@ -542,12 +546,14 @@ export interface ServiceStatusDto {
542
546
  * @enum {string}
543
547
  */
544
548
 
545
- export enum ServiceType {
546
- APPLICATION = 'APPLICATION',
547
- CONTAINER = 'CONTAINER',
548
- DATABASE = 'DATABASE',
549
- JOB = 'JOB'
550
- }
549
+ export const ServiceType = {
550
+ APPLICATION: 'APPLICATION',
551
+ CONTAINER: 'CONTAINER',
552
+ DATABASE: 'DATABASE',
553
+ JOB: 'JOB'
554
+ } as const;
555
+
556
+ export type ServiceType = typeof ServiceType[keyof typeof ServiceType];
551
557
 
552
558
 
553
559
  /**
@@ -556,10 +562,12 @@ export enum ServiceType {
556
562
  * @enum {string}
557
563
  */
558
564
 
559
- export enum UnitDto {
560
- M_CPU = 'mCPU',
561
- MI_B = 'MiB'
562
- }
565
+ export const UnitDto = {
566
+ M_CPU: 'mCPU',
567
+ MI_B: 'MiB'
568
+ } as const;
569
+
570
+ export type UnitDto = typeof UnitDto[keyof typeof UnitDto];
563
571
 
564
572
 
565
573
 
package/dist/api.d.ts CHANGED
@@ -393,11 +393,12 @@ export interface PodStatusDto {
393
393
  * @export
394
394
  * @enum {string}
395
395
  */
396
- export declare enum ResourceStatusDto {
397
- OK = "OK",
398
- WARNING = "WARNING",
399
- ALERT = "ALERT"
400
- }
396
+ export declare const ResourceStatusDto: {
397
+ readonly OK: "OK";
398
+ readonly WARNING: "WARNING";
399
+ readonly ALERT: "ALERT";
400
+ };
401
+ export type ResourceStatusDto = typeof ResourceStatusDto[keyof typeof ResourceStatusDto];
401
402
  /**
402
403
  *
403
404
  * @export
@@ -484,15 +485,16 @@ export interface ServiceMetricsDto {
484
485
  * @export
485
486
  * @enum {string}
486
487
  */
487
- export declare enum ServiceStateDto {
488
- STARTING = "STARTING",
489
- RUNNING = "RUNNING",
490
- ERROR = "ERROR",
491
- STOPPING = "STOPPING",
492
- STOPPED = "STOPPED",
493
- COMPLETED = "COMPLETED",
494
- WARNING = "WARNING"
495
- }
488
+ export declare const ServiceStateDto: {
489
+ readonly STARTING: "STARTING";
490
+ readonly RUNNING: "RUNNING";
491
+ readonly ERROR: "ERROR";
492
+ readonly STOPPING: "STOPPING";
493
+ readonly STOPPED: "STOPPED";
494
+ readonly COMPLETED: "COMPLETED";
495
+ readonly WARNING: "WARNING";
496
+ };
497
+ export type ServiceStateDto = typeof ServiceStateDto[keyof typeof ServiceStateDto];
496
498
  /**
497
499
  *
498
500
  * @export
@@ -511,21 +513,23 @@ export interface ServiceStatusDto {
511
513
  * @export
512
514
  * @enum {string}
513
515
  */
514
- export declare enum ServiceType {
515
- APPLICATION = "APPLICATION",
516
- CONTAINER = "CONTAINER",
517
- DATABASE = "DATABASE",
518
- JOB = "JOB"
519
- }
516
+ export declare const ServiceType: {
517
+ readonly APPLICATION: "APPLICATION";
518
+ readonly CONTAINER: "CONTAINER";
519
+ readonly DATABASE: "DATABASE";
520
+ readonly JOB: "JOB";
521
+ };
522
+ export type ServiceType = typeof ServiceType[keyof typeof ServiceType];
520
523
  /**
521
524
  *
522
525
  * @export
523
526
  * @enum {string}
524
527
  */
525
- export declare enum UnitDto {
526
- M_CPU = "mCPU",
527
- MI_B = "MiB"
528
- }
528
+ export declare const UnitDto: {
529
+ readonly M_CPU: "mCPU";
530
+ readonly MI_B: "MiB";
531
+ };
532
+ export type UnitDto = typeof UnitDto[keyof typeof UnitDto];
529
533
  /**
530
534
  * DeploymentApi - axios parameter creator
531
535
  * @export
package/dist/api.js CHANGED
@@ -34,49 +34,45 @@ const base_1 = require("./base");
34
34
  * @export
35
35
  * @enum {string}
36
36
  */
37
- var ResourceStatusDto;
38
- (function (ResourceStatusDto) {
39
- ResourceStatusDto["OK"] = "OK";
40
- ResourceStatusDto["WARNING"] = "WARNING";
41
- ResourceStatusDto["ALERT"] = "ALERT";
42
- })(ResourceStatusDto = exports.ResourceStatusDto || (exports.ResourceStatusDto = {}));
37
+ exports.ResourceStatusDto = {
38
+ OK: 'OK',
39
+ WARNING: 'WARNING',
40
+ ALERT: 'ALERT'
41
+ };
43
42
  /**
44
43
  *
45
44
  * @export
46
45
  * @enum {string}
47
46
  */
48
- var ServiceStateDto;
49
- (function (ServiceStateDto) {
50
- ServiceStateDto["STARTING"] = "STARTING";
51
- ServiceStateDto["RUNNING"] = "RUNNING";
52
- ServiceStateDto["ERROR"] = "ERROR";
53
- ServiceStateDto["STOPPING"] = "STOPPING";
54
- ServiceStateDto["STOPPED"] = "STOPPED";
55
- ServiceStateDto["COMPLETED"] = "COMPLETED";
56
- ServiceStateDto["WARNING"] = "WARNING";
57
- })(ServiceStateDto = exports.ServiceStateDto || (exports.ServiceStateDto = {}));
47
+ exports.ServiceStateDto = {
48
+ STARTING: 'STARTING',
49
+ RUNNING: 'RUNNING',
50
+ ERROR: 'ERROR',
51
+ STOPPING: 'STOPPING',
52
+ STOPPED: 'STOPPED',
53
+ COMPLETED: 'COMPLETED',
54
+ WARNING: 'WARNING'
55
+ };
58
56
  /**
59
57
  *
60
58
  * @export
61
59
  * @enum {string}
62
60
  */
63
- var ServiceType;
64
- (function (ServiceType) {
65
- ServiceType["APPLICATION"] = "APPLICATION";
66
- ServiceType["CONTAINER"] = "CONTAINER";
67
- ServiceType["DATABASE"] = "DATABASE";
68
- ServiceType["JOB"] = "JOB";
69
- })(ServiceType = exports.ServiceType || (exports.ServiceType = {}));
61
+ exports.ServiceType = {
62
+ APPLICATION: 'APPLICATION',
63
+ CONTAINER: 'CONTAINER',
64
+ DATABASE: 'DATABASE',
65
+ JOB: 'JOB'
66
+ };
70
67
  /**
71
68
  *
72
69
  * @export
73
70
  * @enum {string}
74
71
  */
75
- var UnitDto;
76
- (function (UnitDto) {
77
- UnitDto["M_CPU"] = "mCPU";
78
- UnitDto["MI_B"] = "MiB";
79
- })(UnitDto = exports.UnitDto || (exports.UnitDto = {}));
72
+ exports.UnitDto = {
73
+ M_CPU: 'mCPU',
74
+ MI_B: 'MiB'
75
+ };
80
76
  /**
81
77
  * DeploymentApi - axios parameter creator
82
78
  * @export
package/dist/esm/api.d.ts CHANGED
@@ -393,11 +393,12 @@ export interface PodStatusDto {
393
393
  * @export
394
394
  * @enum {string}
395
395
  */
396
- export declare enum ResourceStatusDto {
397
- OK = "OK",
398
- WARNING = "WARNING",
399
- ALERT = "ALERT"
400
- }
396
+ export declare const ResourceStatusDto: {
397
+ readonly OK: "OK";
398
+ readonly WARNING: "WARNING";
399
+ readonly ALERT: "ALERT";
400
+ };
401
+ export type ResourceStatusDto = typeof ResourceStatusDto[keyof typeof ResourceStatusDto];
401
402
  /**
402
403
  *
403
404
  * @export
@@ -484,15 +485,16 @@ export interface ServiceMetricsDto {
484
485
  * @export
485
486
  * @enum {string}
486
487
  */
487
- export declare enum ServiceStateDto {
488
- STARTING = "STARTING",
489
- RUNNING = "RUNNING",
490
- ERROR = "ERROR",
491
- STOPPING = "STOPPING",
492
- STOPPED = "STOPPED",
493
- COMPLETED = "COMPLETED",
494
- WARNING = "WARNING"
495
- }
488
+ export declare const ServiceStateDto: {
489
+ readonly STARTING: "STARTING";
490
+ readonly RUNNING: "RUNNING";
491
+ readonly ERROR: "ERROR";
492
+ readonly STOPPING: "STOPPING";
493
+ readonly STOPPED: "STOPPED";
494
+ readonly COMPLETED: "COMPLETED";
495
+ readonly WARNING: "WARNING";
496
+ };
497
+ export type ServiceStateDto = typeof ServiceStateDto[keyof typeof ServiceStateDto];
496
498
  /**
497
499
  *
498
500
  * @export
@@ -511,21 +513,23 @@ export interface ServiceStatusDto {
511
513
  * @export
512
514
  * @enum {string}
513
515
  */
514
- export declare enum ServiceType {
515
- APPLICATION = "APPLICATION",
516
- CONTAINER = "CONTAINER",
517
- DATABASE = "DATABASE",
518
- JOB = "JOB"
519
- }
516
+ export declare const ServiceType: {
517
+ readonly APPLICATION: "APPLICATION";
518
+ readonly CONTAINER: "CONTAINER";
519
+ readonly DATABASE: "DATABASE";
520
+ readonly JOB: "JOB";
521
+ };
522
+ export type ServiceType = typeof ServiceType[keyof typeof ServiceType];
520
523
  /**
521
524
  *
522
525
  * @export
523
526
  * @enum {string}
524
527
  */
525
- export declare enum UnitDto {
526
- M_CPU = "mCPU",
527
- MI_B = "MiB"
528
- }
528
+ export declare const UnitDto: {
529
+ readonly M_CPU: "mCPU";
530
+ readonly MI_B: "MiB";
531
+ };
532
+ export type UnitDto = typeof UnitDto[keyof typeof UnitDto];
529
533
  /**
530
534
  * DeploymentApi - axios parameter creator
531
535
  * @export
package/dist/esm/api.js CHANGED
@@ -31,49 +31,45 @@ import { BASE_PATH, BaseAPI } from './base';
31
31
  * @export
32
32
  * @enum {string}
33
33
  */
34
- export var ResourceStatusDto;
35
- (function (ResourceStatusDto) {
36
- ResourceStatusDto["OK"] = "OK";
37
- ResourceStatusDto["WARNING"] = "WARNING";
38
- ResourceStatusDto["ALERT"] = "ALERT";
39
- })(ResourceStatusDto || (ResourceStatusDto = {}));
34
+ export const ResourceStatusDto = {
35
+ OK: 'OK',
36
+ WARNING: 'WARNING',
37
+ ALERT: 'ALERT'
38
+ };
40
39
  /**
41
40
  *
42
41
  * @export
43
42
  * @enum {string}
44
43
  */
45
- export var ServiceStateDto;
46
- (function (ServiceStateDto) {
47
- ServiceStateDto["STARTING"] = "STARTING";
48
- ServiceStateDto["RUNNING"] = "RUNNING";
49
- ServiceStateDto["ERROR"] = "ERROR";
50
- ServiceStateDto["STOPPING"] = "STOPPING";
51
- ServiceStateDto["STOPPED"] = "STOPPED";
52
- ServiceStateDto["COMPLETED"] = "COMPLETED";
53
- ServiceStateDto["WARNING"] = "WARNING";
54
- })(ServiceStateDto || (ServiceStateDto = {}));
44
+ export const ServiceStateDto = {
45
+ STARTING: 'STARTING',
46
+ RUNNING: 'RUNNING',
47
+ ERROR: 'ERROR',
48
+ STOPPING: 'STOPPING',
49
+ STOPPED: 'STOPPED',
50
+ COMPLETED: 'COMPLETED',
51
+ WARNING: 'WARNING'
52
+ };
55
53
  /**
56
54
  *
57
55
  * @export
58
56
  * @enum {string}
59
57
  */
60
- export var ServiceType;
61
- (function (ServiceType) {
62
- ServiceType["APPLICATION"] = "APPLICATION";
63
- ServiceType["CONTAINER"] = "CONTAINER";
64
- ServiceType["DATABASE"] = "DATABASE";
65
- ServiceType["JOB"] = "JOB";
66
- })(ServiceType || (ServiceType = {}));
58
+ export const ServiceType = {
59
+ APPLICATION: 'APPLICATION',
60
+ CONTAINER: 'CONTAINER',
61
+ DATABASE: 'DATABASE',
62
+ JOB: 'JOB'
63
+ };
67
64
  /**
68
65
  *
69
66
  * @export
70
67
  * @enum {string}
71
68
  */
72
- export var UnitDto;
73
- (function (UnitDto) {
74
- UnitDto["M_CPU"] = "mCPU";
75
- UnitDto["MI_B"] = "MiB";
76
- })(UnitDto || (UnitDto = {}));
69
+ export const UnitDto = {
70
+ M_CPU: 'mCPU',
71
+ MI_B: 'MiB'
72
+ };
77
73
  /**
78
74
  * DeploymentApi - axios parameter creator
79
75
  * @export
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "qovery-ws-typescript-axios",
3
- "version": "v0.1.54",
3
+ "version": "v0.1.55",
4
4
  "description": "OpenAPI client for qovery-ws-typescript-axios",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {