@sonatype/nexus-repo-api-client 3.92.0 → 3.92.1
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/TerraformProxyApiRepository.d.ts +7 -0
- package/dist/esm/models/TerraformProxyApiRepository.js +3 -0
- package/dist/models/TerraformProxyApiRepository.d.ts +7 -0
- package/dist/models/TerraformProxyApiRepository.js +3 -0
- package/package.json +1 -1
- package/src/models/TerraformProxyApiRepository.ts +15 -0
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import type { NegativeCacheAttributes } from './NegativeCacheAttributes';
|
|
13
13
|
import type { ProxyAttributes } from './ProxyAttributes';
|
|
14
|
+
import type { TerraformAttributes } from './TerraformAttributes';
|
|
14
15
|
import type { StorageAttributes } from './StorageAttributes';
|
|
15
16
|
import type { HttpClientAttributes } from './HttpClientAttributes';
|
|
16
17
|
import type { CleanupPolicyAttributes } from './CleanupPolicyAttributes';
|
|
@@ -81,6 +82,12 @@ export interface TerraformProxyApiRepository {
|
|
|
81
82
|
* @memberof TerraformProxyApiRepository
|
|
82
83
|
*/
|
|
83
84
|
storage: StorageAttributes;
|
|
85
|
+
/**
|
|
86
|
+
*
|
|
87
|
+
* @type {TerraformAttributes}
|
|
88
|
+
* @memberof TerraformProxyApiRepository
|
|
89
|
+
*/
|
|
90
|
+
terraform?: TerraformAttributes;
|
|
84
91
|
/**
|
|
85
92
|
* Repository type
|
|
86
93
|
* @type {string}
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
*/
|
|
14
14
|
import { NegativeCacheAttributesFromJSON, NegativeCacheAttributesToJSON, } from './NegativeCacheAttributes';
|
|
15
15
|
import { ProxyAttributesFromJSON, ProxyAttributesToJSON, } from './ProxyAttributes';
|
|
16
|
+
import { TerraformAttributesFromJSON, TerraformAttributesToJSON, } from './TerraformAttributes';
|
|
16
17
|
import { StorageAttributesFromJSON, StorageAttributesToJSON, } from './StorageAttributes';
|
|
17
18
|
import { HttpClientAttributesFromJSON, HttpClientAttributesToJSON, } from './HttpClientAttributes';
|
|
18
19
|
import { CleanupPolicyAttributesFromJSON, CleanupPolicyAttributesToJSON, } from './CleanupPolicyAttributes';
|
|
@@ -51,6 +52,7 @@ export function TerraformProxyApiRepositoryFromJSONTyped(json, ignoreDiscriminat
|
|
|
51
52
|
'replication': json['replication'] == null ? undefined : ReplicationAttributesFromJSON(json['replication']),
|
|
52
53
|
'routingRuleName': json['routingRuleName'] == null ? undefined : json['routingRuleName'],
|
|
53
54
|
'storage': StorageAttributesFromJSON(json['storage']),
|
|
55
|
+
'terraform': json['terraform'] == null ? undefined : TerraformAttributesFromJSON(json['terraform']),
|
|
54
56
|
'type': json['type'] == null ? undefined : json['type'],
|
|
55
57
|
'url': json['url'] == null ? undefined : json['url'],
|
|
56
58
|
};
|
|
@@ -73,6 +75,7 @@ export function TerraformProxyApiRepositoryToJSONTyped(value, ignoreDiscriminato
|
|
|
73
75
|
'replication': ReplicationAttributesToJSON(value['replication']),
|
|
74
76
|
'routingRuleName': value['routingRuleName'],
|
|
75
77
|
'storage': StorageAttributesToJSON(value['storage']),
|
|
78
|
+
'terraform': TerraformAttributesToJSON(value['terraform']),
|
|
76
79
|
'type': value['type'],
|
|
77
80
|
'url': value['url'],
|
|
78
81
|
};
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import type { NegativeCacheAttributes } from './NegativeCacheAttributes';
|
|
13
13
|
import type { ProxyAttributes } from './ProxyAttributes';
|
|
14
|
+
import type { TerraformAttributes } from './TerraformAttributes';
|
|
14
15
|
import type { StorageAttributes } from './StorageAttributes';
|
|
15
16
|
import type { HttpClientAttributes } from './HttpClientAttributes';
|
|
16
17
|
import type { CleanupPolicyAttributes } from './CleanupPolicyAttributes';
|
|
@@ -81,6 +82,12 @@ export interface TerraformProxyApiRepository {
|
|
|
81
82
|
* @memberof TerraformProxyApiRepository
|
|
82
83
|
*/
|
|
83
84
|
storage: StorageAttributes;
|
|
85
|
+
/**
|
|
86
|
+
*
|
|
87
|
+
* @type {TerraformAttributes}
|
|
88
|
+
* @memberof TerraformProxyApiRepository
|
|
89
|
+
*/
|
|
90
|
+
terraform?: TerraformAttributes;
|
|
84
91
|
/**
|
|
85
92
|
* Repository type
|
|
86
93
|
* @type {string}
|
|
@@ -20,6 +20,7 @@ exports.TerraformProxyApiRepositoryToJSON = TerraformProxyApiRepositoryToJSON;
|
|
|
20
20
|
exports.TerraformProxyApiRepositoryToJSONTyped = TerraformProxyApiRepositoryToJSONTyped;
|
|
21
21
|
const NegativeCacheAttributes_1 = require("./NegativeCacheAttributes");
|
|
22
22
|
const ProxyAttributes_1 = require("./ProxyAttributes");
|
|
23
|
+
const TerraformAttributes_1 = require("./TerraformAttributes");
|
|
23
24
|
const StorageAttributes_1 = require("./StorageAttributes");
|
|
24
25
|
const HttpClientAttributes_1 = require("./HttpClientAttributes");
|
|
25
26
|
const CleanupPolicyAttributes_1 = require("./CleanupPolicyAttributes");
|
|
@@ -58,6 +59,7 @@ function TerraformProxyApiRepositoryFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
58
59
|
'replication': json['replication'] == null ? undefined : (0, ReplicationAttributes_1.ReplicationAttributesFromJSON)(json['replication']),
|
|
59
60
|
'routingRuleName': json['routingRuleName'] == null ? undefined : json['routingRuleName'],
|
|
60
61
|
'storage': (0, StorageAttributes_1.StorageAttributesFromJSON)(json['storage']),
|
|
62
|
+
'terraform': json['terraform'] == null ? undefined : (0, TerraformAttributes_1.TerraformAttributesFromJSON)(json['terraform']),
|
|
61
63
|
'type': json['type'] == null ? undefined : json['type'],
|
|
62
64
|
'url': json['url'] == null ? undefined : json['url'],
|
|
63
65
|
};
|
|
@@ -80,6 +82,7 @@ function TerraformProxyApiRepositoryToJSONTyped(value, ignoreDiscriminator = fal
|
|
|
80
82
|
'replication': (0, ReplicationAttributes_1.ReplicationAttributesToJSON)(value['replication']),
|
|
81
83
|
'routingRuleName': value['routingRuleName'],
|
|
82
84
|
'storage': (0, StorageAttributes_1.StorageAttributesToJSON)(value['storage']),
|
|
85
|
+
'terraform': (0, TerraformAttributes_1.TerraformAttributesToJSON)(value['terraform']),
|
|
83
86
|
'type': value['type'],
|
|
84
87
|
'url': value['url'],
|
|
85
88
|
};
|
package/package.json
CHANGED
|
@@ -27,6 +27,13 @@ import {
|
|
|
27
27
|
ProxyAttributesToJSON,
|
|
28
28
|
ProxyAttributesToJSONTyped,
|
|
29
29
|
} from './ProxyAttributes';
|
|
30
|
+
import type { TerraformAttributes } from './TerraformAttributes';
|
|
31
|
+
import {
|
|
32
|
+
TerraformAttributesFromJSON,
|
|
33
|
+
TerraformAttributesFromJSONTyped,
|
|
34
|
+
TerraformAttributesToJSON,
|
|
35
|
+
TerraformAttributesToJSONTyped,
|
|
36
|
+
} from './TerraformAttributes';
|
|
30
37
|
import type { StorageAttributes } from './StorageAttributes';
|
|
31
38
|
import {
|
|
32
39
|
StorageAttributesFromJSON,
|
|
@@ -122,6 +129,12 @@ export interface TerraformProxyApiRepository {
|
|
|
122
129
|
* @memberof TerraformProxyApiRepository
|
|
123
130
|
*/
|
|
124
131
|
storage: StorageAttributes;
|
|
132
|
+
/**
|
|
133
|
+
*
|
|
134
|
+
* @type {TerraformAttributes}
|
|
135
|
+
* @memberof TerraformProxyApiRepository
|
|
136
|
+
*/
|
|
137
|
+
terraform?: TerraformAttributes;
|
|
125
138
|
/**
|
|
126
139
|
* Repository type
|
|
127
140
|
* @type {string}
|
|
@@ -168,6 +181,7 @@ export function TerraformProxyApiRepositoryFromJSONTyped(json: any, ignoreDiscri
|
|
|
168
181
|
'replication': json['replication'] == null ? undefined : ReplicationAttributesFromJSON(json['replication']),
|
|
169
182
|
'routingRuleName': json['routingRuleName'] == null ? undefined : json['routingRuleName'],
|
|
170
183
|
'storage': StorageAttributesFromJSON(json['storage']),
|
|
184
|
+
'terraform': json['terraform'] == null ? undefined : TerraformAttributesFromJSON(json['terraform']),
|
|
171
185
|
'type': json['type'] == null ? undefined : json['type'],
|
|
172
186
|
'url': json['url'] == null ? undefined : json['url'],
|
|
173
187
|
};
|
|
@@ -194,6 +208,7 @@ export function TerraformProxyApiRepositoryToJSONTyped(value?: TerraformProxyApi
|
|
|
194
208
|
'replication': ReplicationAttributesToJSON(value['replication']),
|
|
195
209
|
'routingRuleName': value['routingRuleName'],
|
|
196
210
|
'storage': StorageAttributesToJSON(value['storage']),
|
|
211
|
+
'terraform': TerraformAttributesToJSON(value['terraform']),
|
|
197
212
|
'type': value['type'],
|
|
198
213
|
'url': value['url'],
|
|
199
214
|
};
|