@quantcdn/quant-client 3.0.4 → 4.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (146) hide show
  1. package/README.md +147 -18
  2. package/api.ts +26156 -0
  3. package/base.ts +89 -0
  4. package/common.ts +150 -0
  5. package/configuration.ts +115 -0
  6. package/dist/api.d.ts +18714 -2
  7. package/dist/api.js +13862 -16
  8. package/dist/base.d.ts +66 -0
  9. package/dist/base.js +68 -0
  10. package/dist/common.d.ts +65 -0
  11. package/dist/common.js +161 -0
  12. package/dist/configuration.d.ts +91 -0
  13. package/dist/configuration.js +44 -0
  14. package/dist/esm/api.d.ts +18714 -0
  15. package/dist/esm/api.js +13756 -0
  16. package/dist/esm/base.d.ts +66 -0
  17. package/dist/esm/base.js +63 -0
  18. package/dist/esm/common.d.ts +65 -0
  19. package/dist/esm/common.js +149 -0
  20. package/dist/esm/configuration.d.ts +91 -0
  21. package/dist/esm/configuration.js +40 -0
  22. package/dist/esm/examples/basic-usage.d.ts +4 -0
  23. package/dist/esm/examples/basic-usage.js +93 -0
  24. package/dist/esm/index.d.ts +13 -0
  25. package/dist/esm/index.js +15 -0
  26. package/dist/examples/basic-usage.d.ts +4 -0
  27. package/dist/examples/basic-usage.js +95 -0
  28. package/dist/index.d.ts +13 -0
  29. package/dist/index.js +31 -0
  30. package/index.ts +18 -0
  31. package/package.json +44 -22
  32. package/tsconfig.json +20 -0
  33. package/dist/api/apis.d.ts +0 -32
  34. package/dist/api/apis.js +0 -50
  35. package/dist/api/applicationsApi.d.ts +0 -104
  36. package/dist/api/applicationsApi.js +0 -431
  37. package/dist/api/backupManagementApi.d.ts +0 -112
  38. package/dist/api/backupManagementApi.js +0 -464
  39. package/dist/api/commandsApi.d.ts +0 -80
  40. package/dist/api/commandsApi.js +0 -316
  41. package/dist/api/composeApi.d.ts +0 -67
  42. package/dist/api/composeApi.js +0 -240
  43. package/dist/api/containersApi.d.ts +0 -67
  44. package/dist/api/containersApi.js +0 -236
  45. package/dist/api/cronApi.d.ts +0 -151
  46. package/dist/api/cronApi.js +0 -681
  47. package/dist/api/environmentsApi.d.ts +0 -194
  48. package/dist/api/environmentsApi.js +0 -869
  49. package/dist/api/sSHAccessApi.d.ts +0 -50
  50. package/dist/api/sSHAccessApi.js +0 -162
  51. package/dist/api/scalingPolicyApi.d.ts +0 -82
  52. package/dist/api/scalingPolicyApi.js +0 -307
  53. package/dist/api/variablesApi.d.ts +0 -83
  54. package/dist/api/variablesApi.js +0 -313
  55. package/dist/api/volumesApi.d.ts +0 -97
  56. package/dist/api/volumesApi.js +0 -405
  57. package/dist/model/application.d.ts +0 -38
  58. package/dist/model/application.js +0 -93
  59. package/dist/model/command.d.ts +0 -34
  60. package/dist/model/command.js +0 -73
  61. package/dist/model/compose.d.ts +0 -32
  62. package/dist/model/compose.js +0 -58
  63. package/dist/model/configuration.d.ts +0 -26
  64. package/dist/model/configuration.js +0 -30
  65. package/dist/model/container.d.ts +0 -75
  66. package/dist/model/container.js +0 -121
  67. package/dist/model/containerDependsOnInner.d.ts +0 -40
  68. package/dist/model/containerDependsOnInner.js +0 -42
  69. package/dist/model/containerEnvironmentInner.d.ts +0 -32
  70. package/dist/model/containerEnvironmentInner.js +0 -33
  71. package/dist/model/containerHealthCheck.d.ts +0 -47
  72. package/dist/model/containerHealthCheck.js +0 -65
  73. package/dist/model/containerImageReference.d.ts +0 -38
  74. package/dist/model/containerImageReference.js +0 -40
  75. package/dist/model/containerMountPointsInner.d.ts +0 -33
  76. package/dist/model/containerMountPointsInner.js +0 -41
  77. package/dist/model/containerSecretsInner.d.ts +0 -32
  78. package/dist/model/containerSecretsInner.js +0 -33
  79. package/dist/model/createApplicationRequest.d.ts +0 -28
  80. package/dist/model/createApplicationRequest.js +0 -43
  81. package/dist/model/createBackup202Response.d.ts +0 -27
  82. package/dist/model/createBackup202Response.js +0 -38
  83. package/dist/model/createBackupRequest.d.ts +0 -32
  84. package/dist/model/createBackupRequest.js +0 -33
  85. package/dist/model/createCommandRequest.d.ts +0 -25
  86. package/dist/model/createCommandRequest.js +0 -28
  87. package/dist/model/createCronJob422Response.d.ts +0 -26
  88. package/dist/model/createCronJob422Response.js +0 -33
  89. package/dist/model/createCronJobRequest.d.ts +0 -30
  90. package/dist/model/createCronJobRequest.js +0 -56
  91. package/dist/model/createEnvironmentRequest.d.ts +0 -34
  92. package/dist/model/createEnvironmentRequest.js +0 -53
  93. package/dist/model/cron.d.ts +0 -27
  94. package/dist/model/cron.js +0 -38
  95. package/dist/model/cronRun.d.ts +0 -48
  96. package/dist/model/cronRun.js +0 -89
  97. package/dist/model/deleteBackup200Response.d.ts +0 -26
  98. package/dist/model/deleteBackup200Response.js +0 -33
  99. package/dist/model/downloadBackup200Response.d.ts +0 -36
  100. package/dist/model/downloadBackup200Response.js +0 -38
  101. package/dist/model/environment.d.ts +0 -45
  102. package/dist/model/environment.js +0 -103
  103. package/dist/model/getEcrLoginCredentials200Response.d.ts +0 -28
  104. package/dist/model/getEcrLoginCredentials200Response.js +0 -43
  105. package/dist/model/getScalingPolicies200Response.d.ts +0 -26
  106. package/dist/model/getScalingPolicies200Response.js +0 -28
  107. package/dist/model/getSshAccessCredentials200Response.d.ts +0 -34
  108. package/dist/model/getSshAccessCredentials200Response.js +0 -68
  109. package/dist/model/getSshAccessCredentials200ResponseCredentials.d.ts +0 -28
  110. package/dist/model/getSshAccessCredentials200ResponseCredentials.js +0 -43
  111. package/dist/model/listBackups200Response.d.ts +0 -32
  112. package/dist/model/listBackups200Response.js +0 -43
  113. package/dist/model/listBackups200ResponseBackupsInner.d.ts +0 -37
  114. package/dist/model/listBackups200ResponseBackupsInner.js +0 -88
  115. package/dist/model/listBackups422Response.d.ts +0 -25
  116. package/dist/model/listBackups422Response.js +0 -28
  117. package/dist/model/models.d.ts +0 -89
  118. package/dist/model/models.js +0 -387
  119. package/dist/model/scalingPolicy.d.ts +0 -35
  120. package/dist/model/scalingPolicy.js +0 -51
  121. package/dist/model/syncOperation.d.ts +0 -31
  122. package/dist/model/syncOperation.js +0 -58
  123. package/dist/model/syncToEnvironmentRequest.d.ts +0 -25
  124. package/dist/model/syncToEnvironmentRequest.js +0 -28
  125. package/dist/model/updateComposeRequest.d.ts +0 -26
  126. package/dist/model/updateComposeRequest.js +0 -28
  127. package/dist/model/updateCronJobRequest.d.ts +0 -29
  128. package/dist/model/updateCronJobRequest.js +0 -48
  129. package/dist/model/updateEnvironmentComposeRequest.d.ts +0 -26
  130. package/dist/model/updateEnvironmentComposeRequest.js +0 -28
  131. package/dist/model/updateEnvironmentRequest.d.ts +0 -34
  132. package/dist/model/updateEnvironmentRequest.js +0 -38
  133. package/dist/model/updateEnvironmentStateRequest.d.ts +0 -26
  134. package/dist/model/updateEnvironmentStateRequest.js +0 -33
  135. package/dist/model/updateEnvironmentVariableRequest.d.ts +0 -25
  136. package/dist/model/updateEnvironmentVariableRequest.js +0 -28
  137. package/dist/model/validateCompose200Response.d.ts +0 -33
  138. package/dist/model/validateCompose200Response.js +0 -38
  139. package/dist/model/validateCompose422Response.d.ts +0 -25
  140. package/dist/model/validateCompose422Response.js +0 -28
  141. package/dist/model/validateComposeRequest.d.ts +0 -36
  142. package/dist/model/validateComposeRequest.js +0 -38
  143. package/dist/model/variable.d.ts +0 -26
  144. package/dist/model/variable.js +0 -33
  145. package/dist/model/volume.d.ts +0 -32
  146. package/dist/model/volume.js +0 -63
@@ -1,43 +0,0 @@
1
- "use strict";
2
- /**
3
- * QuantCloud API
4
- * QuantCloud API
5
- *
6
- * The version of the OpenAPI document: 1.0.0
7
- *
8
- *
9
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
10
- * https://openapi-generator.tech
11
- * Do not edit the class manually.
12
- */
13
- Object.defineProperty(exports, "__esModule", { value: true });
14
- exports.GetSshAccessCredentials200ResponseCredentials = void 0;
15
- class GetSshAccessCredentials200ResponseCredentials {
16
- static getAttributeTypeMap() {
17
- return GetSshAccessCredentials200ResponseCredentials.attributeTypeMap;
18
- }
19
- }
20
- exports.GetSshAccessCredentials200ResponseCredentials = GetSshAccessCredentials200ResponseCredentials;
21
- GetSshAccessCredentials200ResponseCredentials.discriminator = undefined;
22
- GetSshAccessCredentials200ResponseCredentials.attributeTypeMap = [
23
- {
24
- "name": "accessKeyId",
25
- "baseName": "accessKeyId",
26
- "type": "string"
27
- },
28
- {
29
- "name": "secretAccessKey",
30
- "baseName": "secretAccessKey",
31
- "type": "string"
32
- },
33
- {
34
- "name": "sessionToken",
35
- "baseName": "sessionToken",
36
- "type": "string"
37
- },
38
- {
39
- "name": "expiration",
40
- "baseName": "expiration",
41
- "type": "Date"
42
- }
43
- ];
@@ -1,32 +0,0 @@
1
- /**
2
- * QuantCloud API
3
- * QuantCloud API
4
- *
5
- * The version of the OpenAPI document: 1.0.0
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import { ListBackups200ResponseBackupsInner } from './listBackups200ResponseBackupsInner';
13
- export declare class ListBackups200Response {
14
- 'backups'?: Array<ListBackups200ResponseBackupsInner>;
15
- 'count'?: number;
16
- /**
17
- * Token for retrieving the next page of results, if more data is available
18
- */
19
- 'nextToken'?: string | null;
20
- 'message'?: string;
21
- static discriminator: string | undefined;
22
- static attributeTypeMap: Array<{
23
- name: string;
24
- baseName: string;
25
- type: string;
26
- }>;
27
- static getAttributeTypeMap(): {
28
- name: string;
29
- baseName: string;
30
- type: string;
31
- }[];
32
- }
@@ -1,43 +0,0 @@
1
- "use strict";
2
- /**
3
- * QuantCloud API
4
- * QuantCloud API
5
- *
6
- * The version of the OpenAPI document: 1.0.0
7
- *
8
- *
9
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
10
- * https://openapi-generator.tech
11
- * Do not edit the class manually.
12
- */
13
- Object.defineProperty(exports, "__esModule", { value: true });
14
- exports.ListBackups200Response = void 0;
15
- class ListBackups200Response {
16
- static getAttributeTypeMap() {
17
- return ListBackups200Response.attributeTypeMap;
18
- }
19
- }
20
- exports.ListBackups200Response = ListBackups200Response;
21
- ListBackups200Response.discriminator = undefined;
22
- ListBackups200Response.attributeTypeMap = [
23
- {
24
- "name": "backups",
25
- "baseName": "backups",
26
- "type": "Array<ListBackups200ResponseBackupsInner>"
27
- },
28
- {
29
- "name": "count",
30
- "baseName": "count",
31
- "type": "number"
32
- },
33
- {
34
- "name": "nextToken",
35
- "baseName": "nextToken",
36
- "type": "string"
37
- },
38
- {
39
- "name": "message",
40
- "baseName": "message",
41
- "type": "string"
42
- }
43
- ];
@@ -1,37 +0,0 @@
1
- /**
2
- * QuantCloud API
3
- * QuantCloud API
4
- *
5
- * The version of the OpenAPI document: 1.0.0
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- export declare class ListBackups200ResponseBackupsInner {
13
- 'backupId'?: string;
14
- 'status'?: string;
15
- 'type'?: string;
16
- 'engine'?: string;
17
- 'description'?: string;
18
- 'createdAt'?: Date;
19
- 'updatedAt'?: Date;
20
- 'taskArn'?: string;
21
- 's3Key'?: string;
22
- 'bucketName'?: string;
23
- 'size'?: number;
24
- 'sizeFormatted'?: string;
25
- 'fileExists'?: boolean;
26
- static discriminator: string | undefined;
27
- static attributeTypeMap: Array<{
28
- name: string;
29
- baseName: string;
30
- type: string;
31
- }>;
32
- static getAttributeTypeMap(): {
33
- name: string;
34
- baseName: string;
35
- type: string;
36
- }[];
37
- }
@@ -1,88 +0,0 @@
1
- "use strict";
2
- /**
3
- * QuantCloud API
4
- * QuantCloud API
5
- *
6
- * The version of the OpenAPI document: 1.0.0
7
- *
8
- *
9
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
10
- * https://openapi-generator.tech
11
- * Do not edit the class manually.
12
- */
13
- Object.defineProperty(exports, "__esModule", { value: true });
14
- exports.ListBackups200ResponseBackupsInner = void 0;
15
- class ListBackups200ResponseBackupsInner {
16
- static getAttributeTypeMap() {
17
- return ListBackups200ResponseBackupsInner.attributeTypeMap;
18
- }
19
- }
20
- exports.ListBackups200ResponseBackupsInner = ListBackups200ResponseBackupsInner;
21
- ListBackups200ResponseBackupsInner.discriminator = undefined;
22
- ListBackups200ResponseBackupsInner.attributeTypeMap = [
23
- {
24
- "name": "backupId",
25
- "baseName": "backupId",
26
- "type": "string"
27
- },
28
- {
29
- "name": "status",
30
- "baseName": "status",
31
- "type": "string"
32
- },
33
- {
34
- "name": "type",
35
- "baseName": "type",
36
- "type": "string"
37
- },
38
- {
39
- "name": "engine",
40
- "baseName": "engine",
41
- "type": "string"
42
- },
43
- {
44
- "name": "description",
45
- "baseName": "description",
46
- "type": "string"
47
- },
48
- {
49
- "name": "createdAt",
50
- "baseName": "createdAt",
51
- "type": "Date"
52
- },
53
- {
54
- "name": "updatedAt",
55
- "baseName": "updatedAt",
56
- "type": "Date"
57
- },
58
- {
59
- "name": "taskArn",
60
- "baseName": "taskArn",
61
- "type": "string"
62
- },
63
- {
64
- "name": "s3Key",
65
- "baseName": "s3Key",
66
- "type": "string"
67
- },
68
- {
69
- "name": "bucketName",
70
- "baseName": "bucketName",
71
- "type": "string"
72
- },
73
- {
74
- "name": "size",
75
- "baseName": "size",
76
- "type": "number"
77
- },
78
- {
79
- "name": "sizeFormatted",
80
- "baseName": "sizeFormatted",
81
- "type": "string"
82
- },
83
- {
84
- "name": "fileExists",
85
- "baseName": "fileExists",
86
- "type": "boolean"
87
- }
88
- ];
@@ -1,25 +0,0 @@
1
- /**
2
- * QuantCloud API
3
- * QuantCloud API
4
- *
5
- * The version of the OpenAPI document: 1.0.0
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- export declare class ListBackups422Response {
13
- 'error'?: string;
14
- static discriminator: string | undefined;
15
- static attributeTypeMap: Array<{
16
- name: string;
17
- baseName: string;
18
- type: string;
19
- }>;
20
- static getAttributeTypeMap(): {
21
- name: string;
22
- baseName: string;
23
- type: string;
24
- }[];
25
- }
@@ -1,28 +0,0 @@
1
- "use strict";
2
- /**
3
- * QuantCloud API
4
- * QuantCloud API
5
- *
6
- * The version of the OpenAPI document: 1.0.0
7
- *
8
- *
9
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
10
- * https://openapi-generator.tech
11
- * Do not edit the class manually.
12
- */
13
- Object.defineProperty(exports, "__esModule", { value: true });
14
- exports.ListBackups422Response = void 0;
15
- class ListBackups422Response {
16
- static getAttributeTypeMap() {
17
- return ListBackups422Response.attributeTypeMap;
18
- }
19
- }
20
- exports.ListBackups422Response = ListBackups422Response;
21
- ListBackups422Response.discriminator = undefined;
22
- ListBackups422Response.attributeTypeMap = [
23
- {
24
- "name": "error",
25
- "baseName": "error",
26
- "type": "string"
27
- }
28
- ];
@@ -1,89 +0,0 @@
1
- /// <reference types="node" />
2
- /// <reference types="node" />
3
- /// <reference types="node" />
4
- import localVarRequest from 'request';
5
- export * from './application';
6
- export * from './command';
7
- export * from './compose';
8
- export * from './container';
9
- export * from './containerDependsOnInner';
10
- export * from './containerEnvironmentInner';
11
- export * from './containerHealthCheck';
12
- export * from './containerImageReference';
13
- export * from './containerMountPointsInner';
14
- export * from './containerSecretsInner';
15
- export * from './createBackup202Response';
16
- export * from './createBackupRequest';
17
- export * from './createCommandRequest';
18
- export * from './createCronJob422Response';
19
- export * from './createCronJobRequest';
20
- export * from './createEnvironmentRequest';
21
- export * from './cron';
22
- export * from './cronRun';
23
- export * from './deleteBackup200Response';
24
- export * from './downloadBackup200Response';
25
- export * from './environment';
26
- export * from './getEcrLoginCredentials200Response';
27
- export * from './getSshAccessCredentials200Response';
28
- export * from './getSshAccessCredentials200ResponseCredentials';
29
- export * from './listBackups200Response';
30
- export * from './listBackups200ResponseBackupsInner';
31
- export * from './listBackups422Response';
32
- export * from './scalingPolicy';
33
- export * from './syncOperation';
34
- export * from './syncToEnvironmentRequest';
35
- export * from './updateCronJobRequest';
36
- export * from './updateEnvironmentRequest';
37
- export * from './updateEnvironmentStateRequest';
38
- export * from './updateEnvironmentVariableRequest';
39
- export * from './validateCompose200Response';
40
- export * from './validateCompose422Response';
41
- export * from './validateComposeRequest';
42
- export * from './variable';
43
- export * from './volume';
44
- import * as fs from 'fs';
45
- export interface RequestDetailedFile {
46
- value: Buffer;
47
- options?: {
48
- filename?: string;
49
- contentType?: string;
50
- };
51
- }
52
- export type RequestFile = string | Buffer | fs.ReadStream | RequestDetailedFile;
53
- export declare class ObjectSerializer {
54
- static findCorrectType(data: any, expectedType: string): any;
55
- static serialize(data: any, type: string): any;
56
- static deserialize(data: any, type: string): any;
57
- }
58
- export interface Authentication {
59
- /**
60
- * Apply authentication settings to header and query params.
61
- */
62
- applyToRequest(requestOptions: localVarRequest.Options): Promise<void> | void;
63
- }
64
- export declare class HttpBasicAuth implements Authentication {
65
- username: string;
66
- password: string;
67
- applyToRequest(requestOptions: localVarRequest.Options): void;
68
- }
69
- export declare class HttpBearerAuth implements Authentication {
70
- accessToken: string | (() => string);
71
- applyToRequest(requestOptions: localVarRequest.Options): void;
72
- }
73
- export declare class ApiKeyAuth implements Authentication {
74
- private location;
75
- private paramName;
76
- apiKey: string;
77
- constructor(location: string, paramName: string);
78
- applyToRequest(requestOptions: localVarRequest.Options): void;
79
- }
80
- export declare class OAuth implements Authentication {
81
- accessToken: string;
82
- applyToRequest(requestOptions: localVarRequest.Options): void;
83
- }
84
- export declare class VoidAuth implements Authentication {
85
- username: string;
86
- password: string;
87
- applyToRequest(_: localVarRequest.Options): void;
88
- }
89
- export type Interceptor = (requestOptions: localVarRequest.Options) => (Promise<void> | void);