@sonatype/nexus-repo-api-client 3.90.2 → 3.90.3
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/dist/esm/models/TerraformHostedRepositoryApiRequest.d.ts +7 -0
- package/dist/esm/models/TerraformHostedRepositoryApiRequest.js +3 -0
- package/dist/models/TerraformHostedRepositoryApiRequest.d.ts +7 -0
- package/dist/models/TerraformHostedRepositoryApiRequest.js +3 -0
- package/package.json +1 -1
- package/src/models/TerraformHostedRepositoryApiRequest.ts +15 -0
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { ComponentAttributes } from './ComponentAttributes';
|
|
12
13
|
import type { HostedStorageAttributes } from './HostedStorageAttributes';
|
|
13
14
|
import type { TerraformSigningAttributes } from './TerraformSigningAttributes';
|
|
14
15
|
import type { CleanupPolicyAttributes } from './CleanupPolicyAttributes';
|
|
@@ -24,6 +25,12 @@ export interface TerraformHostedRepositoryApiRequest {
|
|
|
24
25
|
* @memberof TerraformHostedRepositoryApiRequest
|
|
25
26
|
*/
|
|
26
27
|
cleanup?: CleanupPolicyAttributes;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {ComponentAttributes}
|
|
31
|
+
* @memberof TerraformHostedRepositoryApiRequest
|
|
32
|
+
*/
|
|
33
|
+
component?: ComponentAttributes;
|
|
27
34
|
/**
|
|
28
35
|
*
|
|
29
36
|
* @type {string}
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
+
import { ComponentAttributesFromJSON, ComponentAttributesToJSON, } from './ComponentAttributes';
|
|
14
15
|
import { HostedStorageAttributesFromJSON, HostedStorageAttributesToJSON, } from './HostedStorageAttributes';
|
|
15
16
|
import { TerraformSigningAttributesFromJSON, TerraformSigningAttributesToJSON, } from './TerraformSigningAttributes';
|
|
16
17
|
import { CleanupPolicyAttributesFromJSON, CleanupPolicyAttributesToJSON, } from './CleanupPolicyAttributes';
|
|
@@ -37,6 +38,7 @@ export function TerraformHostedRepositoryApiRequestFromJSONTyped(json, ignoreDis
|
|
|
37
38
|
}
|
|
38
39
|
return {
|
|
39
40
|
'cleanup': json['cleanup'] == null ? undefined : CleanupPolicyAttributesFromJSON(json['cleanup']),
|
|
41
|
+
'component': json['component'] == null ? undefined : ComponentAttributesFromJSON(json['component']),
|
|
40
42
|
'format': json['format'] == null ? undefined : json['format'],
|
|
41
43
|
'name': json['name'],
|
|
42
44
|
'online': json['online'],
|
|
@@ -55,6 +57,7 @@ export function TerraformHostedRepositoryApiRequestToJSONTyped(value, ignoreDisc
|
|
|
55
57
|
}
|
|
56
58
|
return {
|
|
57
59
|
'cleanup': CleanupPolicyAttributesToJSON(value['cleanup']),
|
|
60
|
+
'component': ComponentAttributesToJSON(value['component']),
|
|
58
61
|
'format': value['format'],
|
|
59
62
|
'name': value['name'],
|
|
60
63
|
'online': value['online'],
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { ComponentAttributes } from './ComponentAttributes';
|
|
12
13
|
import type { HostedStorageAttributes } from './HostedStorageAttributes';
|
|
13
14
|
import type { TerraformSigningAttributes } from './TerraformSigningAttributes';
|
|
14
15
|
import type { CleanupPolicyAttributes } from './CleanupPolicyAttributes';
|
|
@@ -24,6 +25,12 @@ export interface TerraformHostedRepositoryApiRequest {
|
|
|
24
25
|
* @memberof TerraformHostedRepositoryApiRequest
|
|
25
26
|
*/
|
|
26
27
|
cleanup?: CleanupPolicyAttributes;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {ComponentAttributes}
|
|
31
|
+
* @memberof TerraformHostedRepositoryApiRequest
|
|
32
|
+
*/
|
|
33
|
+
component?: ComponentAttributes;
|
|
27
34
|
/**
|
|
28
35
|
*
|
|
29
36
|
* @type {string}
|
|
@@ -18,6 +18,7 @@ exports.TerraformHostedRepositoryApiRequestFromJSON = TerraformHostedRepositoryA
|
|
|
18
18
|
exports.TerraformHostedRepositoryApiRequestFromJSONTyped = TerraformHostedRepositoryApiRequestFromJSONTyped;
|
|
19
19
|
exports.TerraformHostedRepositoryApiRequestToJSON = TerraformHostedRepositoryApiRequestToJSON;
|
|
20
20
|
exports.TerraformHostedRepositoryApiRequestToJSONTyped = TerraformHostedRepositoryApiRequestToJSONTyped;
|
|
21
|
+
const ComponentAttributes_1 = require("./ComponentAttributes");
|
|
21
22
|
const HostedStorageAttributes_1 = require("./HostedStorageAttributes");
|
|
22
23
|
const TerraformSigningAttributes_1 = require("./TerraformSigningAttributes");
|
|
23
24
|
const CleanupPolicyAttributes_1 = require("./CleanupPolicyAttributes");
|
|
@@ -44,6 +45,7 @@ function TerraformHostedRepositoryApiRequestFromJSONTyped(json, ignoreDiscrimina
|
|
|
44
45
|
}
|
|
45
46
|
return {
|
|
46
47
|
'cleanup': json['cleanup'] == null ? undefined : (0, CleanupPolicyAttributes_1.CleanupPolicyAttributesFromJSON)(json['cleanup']),
|
|
48
|
+
'component': json['component'] == null ? undefined : (0, ComponentAttributes_1.ComponentAttributesFromJSON)(json['component']),
|
|
47
49
|
'format': json['format'] == null ? undefined : json['format'],
|
|
48
50
|
'name': json['name'],
|
|
49
51
|
'online': json['online'],
|
|
@@ -62,6 +64,7 @@ function TerraformHostedRepositoryApiRequestToJSONTyped(value, ignoreDiscriminat
|
|
|
62
64
|
}
|
|
63
65
|
return {
|
|
64
66
|
'cleanup': (0, CleanupPolicyAttributes_1.CleanupPolicyAttributesToJSON)(value['cleanup']),
|
|
67
|
+
'component': (0, ComponentAttributes_1.ComponentAttributesToJSON)(value['component']),
|
|
65
68
|
'format': value['format'],
|
|
66
69
|
'name': value['name'],
|
|
67
70
|
'online': value['online'],
|
package/package.json
CHANGED
|
@@ -13,6 +13,13 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { mapValues } from '../runtime';
|
|
16
|
+
import type { ComponentAttributes } from './ComponentAttributes';
|
|
17
|
+
import {
|
|
18
|
+
ComponentAttributesFromJSON,
|
|
19
|
+
ComponentAttributesFromJSONTyped,
|
|
20
|
+
ComponentAttributesToJSON,
|
|
21
|
+
ComponentAttributesToJSONTyped,
|
|
22
|
+
} from './ComponentAttributes';
|
|
16
23
|
import type { HostedStorageAttributes } from './HostedStorageAttributes';
|
|
17
24
|
import {
|
|
18
25
|
HostedStorageAttributesFromJSON,
|
|
@@ -47,6 +54,12 @@ export interface TerraformHostedRepositoryApiRequest {
|
|
|
47
54
|
* @memberof TerraformHostedRepositoryApiRequest
|
|
48
55
|
*/
|
|
49
56
|
cleanup?: CleanupPolicyAttributes;
|
|
57
|
+
/**
|
|
58
|
+
*
|
|
59
|
+
* @type {ComponentAttributes}
|
|
60
|
+
* @memberof TerraformHostedRepositoryApiRequest
|
|
61
|
+
*/
|
|
62
|
+
component?: ComponentAttributes;
|
|
50
63
|
/**
|
|
51
64
|
*
|
|
52
65
|
* @type {string}
|
|
@@ -113,6 +126,7 @@ export function TerraformHostedRepositoryApiRequestFromJSONTyped(json: any, igno
|
|
|
113
126
|
return {
|
|
114
127
|
|
|
115
128
|
'cleanup': json['cleanup'] == null ? undefined : CleanupPolicyAttributesFromJSON(json['cleanup']),
|
|
129
|
+
'component': json['component'] == null ? undefined : ComponentAttributesFromJSON(json['component']),
|
|
116
130
|
'format': json['format'] == null ? undefined : json['format'],
|
|
117
131
|
'name': json['name'],
|
|
118
132
|
'online': json['online'],
|
|
@@ -135,6 +149,7 @@ export function TerraformHostedRepositoryApiRequestToJSONTyped(value?: Terraform
|
|
|
135
149
|
return {
|
|
136
150
|
|
|
137
151
|
'cleanup': CleanupPolicyAttributesToJSON(value['cleanup']),
|
|
152
|
+
'component': ComponentAttributesToJSON(value['component']),
|
|
138
153
|
'format': value['format'],
|
|
139
154
|
'name': value['name'],
|
|
140
155
|
'online': value['online'],
|