@cirrobio/api-client 0.12.25 → 0.12.26
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/README.md +1 -1
- package/dist/esm/models/CloudQuota.d.ts +12 -0
- package/dist/esm/models/CloudQuota.js +6 -0
- package/dist/esm/models/RequestQuotaIncreaseResponse.d.ts +0 -6
- package/dist/esm/models/RequestQuotaIncreaseResponse.js +0 -3
- package/dist/models/CloudQuota.d.ts +12 -0
- package/dist/models/CloudQuota.js +6 -0
- package/dist/models/RequestQuotaIncreaseResponse.d.ts +0 -6
- package/dist/models/RequestQuotaIncreaseResponse.js +0 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -45,6 +45,18 @@ export interface CloudQuota {
|
|
|
45
45
|
* @memberof CloudQuota
|
|
46
46
|
*/
|
|
47
47
|
appliedQuota: number;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {number}
|
|
51
|
+
* @memberof CloudQuota
|
|
52
|
+
*/
|
|
53
|
+
requestedQuota?: number | null;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {boolean}
|
|
57
|
+
* @memberof CloudQuota
|
|
58
|
+
*/
|
|
59
|
+
hasOpenRequest: boolean;
|
|
48
60
|
}
|
|
49
61
|
/**
|
|
50
62
|
* Check if a given object implements the CloudQuota interface.
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
+
import { exists } from '../runtime';
|
|
14
15
|
/**
|
|
15
16
|
* Check if a given object implements the CloudQuota interface.
|
|
16
17
|
*/
|
|
@@ -21,6 +22,7 @@ export function instanceOfCloudQuota(value) {
|
|
|
21
22
|
isInstance = isInstance && "service" in value;
|
|
22
23
|
isInstance = isInstance && "code" in value;
|
|
23
24
|
isInstance = isInstance && "appliedQuota" in value;
|
|
25
|
+
isInstance = isInstance && "hasOpenRequest" in value;
|
|
24
26
|
return isInstance;
|
|
25
27
|
}
|
|
26
28
|
export function CloudQuotaFromJSON(json) {
|
|
@@ -36,6 +38,8 @@ export function CloudQuotaFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
36
38
|
'service': json['service'],
|
|
37
39
|
'code': json['code'],
|
|
38
40
|
'appliedQuota': json['appliedQuota'],
|
|
41
|
+
'requestedQuota': !exists(json, 'requestedQuota') ? undefined : json['requestedQuota'],
|
|
42
|
+
'hasOpenRequest': json['hasOpenRequest'],
|
|
39
43
|
};
|
|
40
44
|
}
|
|
41
45
|
export function CloudQuotaToJSON(value) {
|
|
@@ -51,5 +55,7 @@ export function CloudQuotaToJSON(value) {
|
|
|
51
55
|
'service': value.service,
|
|
52
56
|
'code': value.code,
|
|
53
57
|
'appliedQuota': value.appliedQuota,
|
|
58
|
+
'requestedQuota': value.requestedQuota,
|
|
59
|
+
'hasOpenRequest': value.hasOpenRequest,
|
|
54
60
|
};
|
|
55
61
|
}
|
|
@@ -22,12 +22,6 @@ export interface RequestQuotaIncreaseResponse {
|
|
|
22
22
|
* @memberof RequestQuotaIncreaseResponse
|
|
23
23
|
*/
|
|
24
24
|
quota: CloudQuota;
|
|
25
|
-
/**
|
|
26
|
-
* Case ID, if a support case has been opened for the quota increase request
|
|
27
|
-
* @type {string}
|
|
28
|
-
* @memberof RequestQuotaIncreaseResponse
|
|
29
|
-
*/
|
|
30
|
-
caseId?: string | null;
|
|
31
25
|
}
|
|
32
26
|
/**
|
|
33
27
|
* Check if a given object implements the RequestQuotaIncreaseResponse interface.
|
|
@@ -11,7 +11,6 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
-
import { exists } from '../runtime';
|
|
15
14
|
import { CloudQuotaFromJSON, CloudQuotaToJSON, } from './CloudQuota';
|
|
16
15
|
/**
|
|
17
16
|
* Check if a given object implements the RequestQuotaIncreaseResponse interface.
|
|
@@ -30,7 +29,6 @@ export function RequestQuotaIncreaseResponseFromJSONTyped(json, ignoreDiscrimina
|
|
|
30
29
|
}
|
|
31
30
|
return {
|
|
32
31
|
'quota': CloudQuotaFromJSON(json['quota']),
|
|
33
|
-
'caseId': !exists(json, 'caseId') ? undefined : json['caseId'],
|
|
34
32
|
};
|
|
35
33
|
}
|
|
36
34
|
export function RequestQuotaIncreaseResponseToJSON(value) {
|
|
@@ -42,6 +40,5 @@ export function RequestQuotaIncreaseResponseToJSON(value) {
|
|
|
42
40
|
}
|
|
43
41
|
return {
|
|
44
42
|
'quota': CloudQuotaToJSON(value.quota),
|
|
45
|
-
'caseId': value.caseId,
|
|
46
43
|
};
|
|
47
44
|
}
|
|
@@ -45,6 +45,18 @@ export interface CloudQuota {
|
|
|
45
45
|
* @memberof CloudQuota
|
|
46
46
|
*/
|
|
47
47
|
appliedQuota: number;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {number}
|
|
51
|
+
* @memberof CloudQuota
|
|
52
|
+
*/
|
|
53
|
+
requestedQuota?: number | null;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {boolean}
|
|
57
|
+
* @memberof CloudQuota
|
|
58
|
+
*/
|
|
59
|
+
hasOpenRequest: boolean;
|
|
48
60
|
}
|
|
49
61
|
/**
|
|
50
62
|
* Check if a given object implements the CloudQuota interface.
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.CloudQuotaToJSON = exports.CloudQuotaFromJSONTyped = exports.CloudQuotaFromJSON = exports.instanceOfCloudQuota = void 0;
|
|
17
|
+
const runtime_1 = require("../runtime");
|
|
17
18
|
/**
|
|
18
19
|
* Check if a given object implements the CloudQuota interface.
|
|
19
20
|
*/
|
|
@@ -24,6 +25,7 @@ function instanceOfCloudQuota(value) {
|
|
|
24
25
|
isInstance = isInstance && "service" in value;
|
|
25
26
|
isInstance = isInstance && "code" in value;
|
|
26
27
|
isInstance = isInstance && "appliedQuota" in value;
|
|
28
|
+
isInstance = isInstance && "hasOpenRequest" in value;
|
|
27
29
|
return isInstance;
|
|
28
30
|
}
|
|
29
31
|
exports.instanceOfCloudQuota = instanceOfCloudQuota;
|
|
@@ -41,6 +43,8 @@ function CloudQuotaFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
41
43
|
'service': json['service'],
|
|
42
44
|
'code': json['code'],
|
|
43
45
|
'appliedQuota': json['appliedQuota'],
|
|
46
|
+
'requestedQuota': !(0, runtime_1.exists)(json, 'requestedQuota') ? undefined : json['requestedQuota'],
|
|
47
|
+
'hasOpenRequest': json['hasOpenRequest'],
|
|
44
48
|
};
|
|
45
49
|
}
|
|
46
50
|
exports.CloudQuotaFromJSONTyped = CloudQuotaFromJSONTyped;
|
|
@@ -57,6 +61,8 @@ function CloudQuotaToJSON(value) {
|
|
|
57
61
|
'service': value.service,
|
|
58
62
|
'code': value.code,
|
|
59
63
|
'appliedQuota': value.appliedQuota,
|
|
64
|
+
'requestedQuota': value.requestedQuota,
|
|
65
|
+
'hasOpenRequest': value.hasOpenRequest,
|
|
60
66
|
};
|
|
61
67
|
}
|
|
62
68
|
exports.CloudQuotaToJSON = CloudQuotaToJSON;
|
|
@@ -22,12 +22,6 @@ export interface RequestQuotaIncreaseResponse {
|
|
|
22
22
|
* @memberof RequestQuotaIncreaseResponse
|
|
23
23
|
*/
|
|
24
24
|
quota: CloudQuota;
|
|
25
|
-
/**
|
|
26
|
-
* Case ID, if a support case has been opened for the quota increase request
|
|
27
|
-
* @type {string}
|
|
28
|
-
* @memberof RequestQuotaIncreaseResponse
|
|
29
|
-
*/
|
|
30
|
-
caseId?: string | null;
|
|
31
25
|
}
|
|
32
26
|
/**
|
|
33
27
|
* Check if a given object implements the RequestQuotaIncreaseResponse interface.
|
|
@@ -14,7 +14,6 @@
|
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.RequestQuotaIncreaseResponseToJSON = exports.RequestQuotaIncreaseResponseFromJSONTyped = exports.RequestQuotaIncreaseResponseFromJSON = exports.instanceOfRequestQuotaIncreaseResponse = void 0;
|
|
17
|
-
const runtime_1 = require("../runtime");
|
|
18
17
|
const CloudQuota_1 = require("./CloudQuota");
|
|
19
18
|
/**
|
|
20
19
|
* Check if a given object implements the RequestQuotaIncreaseResponse interface.
|
|
@@ -35,7 +34,6 @@ function RequestQuotaIncreaseResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
35
34
|
}
|
|
36
35
|
return {
|
|
37
36
|
'quota': (0, CloudQuota_1.CloudQuotaFromJSON)(json['quota']),
|
|
38
|
-
'caseId': !(0, runtime_1.exists)(json, 'caseId') ? undefined : json['caseId'],
|
|
39
37
|
};
|
|
40
38
|
}
|
|
41
39
|
exports.RequestQuotaIncreaseResponseFromJSONTyped = RequestQuotaIncreaseResponseFromJSONTyped;
|
|
@@ -48,7 +46,6 @@ function RequestQuotaIncreaseResponseToJSON(value) {
|
|
|
48
46
|
}
|
|
49
47
|
return {
|
|
50
48
|
'quota': (0, CloudQuota_1.CloudQuotaToJSON)(value.quota),
|
|
51
|
-
'caseId': value.caseId,
|
|
52
49
|
};
|
|
53
50
|
}
|
|
54
51
|
exports.RequestQuotaIncreaseResponseToJSON = RequestQuotaIncreaseResponseToJSON;
|