@sonatype/nexus-repo-api-client 3.81.28 → 3.81.29
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/NugetProxyApiRepository.d.ts +18 -0
- package/dist/esm/models/NugetProxyApiRepository.js +6 -0
- package/dist/models/NugetProxyApiRepository.d.ts +18 -0
- package/dist/models/NugetProxyApiRepository.js +6 -0
- package/package.json +1 -1
- package/src/models/NugetProxyApiRepository.ts +24 -0
|
@@ -28,6 +28,12 @@ export interface NugetProxyApiRepository {
|
|
|
28
28
|
* @memberof NugetProxyApiRepository
|
|
29
29
|
*/
|
|
30
30
|
cleanup?: CleanupPolicyAttributes;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof NugetProxyApiRepository
|
|
35
|
+
*/
|
|
36
|
+
format?: string;
|
|
31
37
|
/**
|
|
32
38
|
*
|
|
33
39
|
* @type {HttpClientAttributes}
|
|
@@ -82,6 +88,18 @@ export interface NugetProxyApiRepository {
|
|
|
82
88
|
* @memberof NugetProxyApiRepository
|
|
83
89
|
*/
|
|
84
90
|
storage: StorageAttributes;
|
|
91
|
+
/**
|
|
92
|
+
*
|
|
93
|
+
* @type {string}
|
|
94
|
+
* @memberof NugetProxyApiRepository
|
|
95
|
+
*/
|
|
96
|
+
type?: string;
|
|
97
|
+
/**
|
|
98
|
+
*
|
|
99
|
+
* @type {string}
|
|
100
|
+
* @memberof NugetProxyApiRepository
|
|
101
|
+
*/
|
|
102
|
+
url?: string;
|
|
85
103
|
}
|
|
86
104
|
/**
|
|
87
105
|
* Check if a given object implements the NugetProxyApiRepository interface.
|
|
@@ -45,6 +45,7 @@ export function NugetProxyApiRepositoryFromJSONTyped(json, ignoreDiscriminator)
|
|
|
45
45
|
}
|
|
46
46
|
return {
|
|
47
47
|
'cleanup': json['cleanup'] == null ? undefined : CleanupPolicyAttributesFromJSON(json['cleanup']),
|
|
48
|
+
'format': json['format'] == null ? undefined : json['format'],
|
|
48
49
|
'httpClient': HttpClientAttributesFromJSON(json['httpClient']),
|
|
49
50
|
'name': json['name'] == null ? undefined : json['name'],
|
|
50
51
|
'negativeCache': NegativeCacheAttributesFromJSON(json['negativeCache']),
|
|
@@ -54,6 +55,8 @@ export function NugetProxyApiRepositoryFromJSONTyped(json, ignoreDiscriminator)
|
|
|
54
55
|
'replication': json['replication'] == null ? undefined : ReplicationAttributesFromJSON(json['replication']),
|
|
55
56
|
'routingRuleName': json['routingRuleName'] == null ? undefined : json['routingRuleName'],
|
|
56
57
|
'storage': StorageAttributesFromJSON(json['storage']),
|
|
58
|
+
'type': json['type'] == null ? undefined : json['type'],
|
|
59
|
+
'url': json['url'] == null ? undefined : json['url'],
|
|
57
60
|
};
|
|
58
61
|
}
|
|
59
62
|
export function NugetProxyApiRepositoryToJSON(json) {
|
|
@@ -65,6 +68,7 @@ export function NugetProxyApiRepositoryToJSONTyped(value, ignoreDiscriminator =
|
|
|
65
68
|
}
|
|
66
69
|
return {
|
|
67
70
|
'cleanup': CleanupPolicyAttributesToJSON(value['cleanup']),
|
|
71
|
+
'format': value['format'],
|
|
68
72
|
'httpClient': HttpClientAttributesToJSON(value['httpClient']),
|
|
69
73
|
'name': value['name'],
|
|
70
74
|
'negativeCache': NegativeCacheAttributesToJSON(value['negativeCache']),
|
|
@@ -74,5 +78,7 @@ export function NugetProxyApiRepositoryToJSONTyped(value, ignoreDiscriminator =
|
|
|
74
78
|
'replication': ReplicationAttributesToJSON(value['replication']),
|
|
75
79
|
'routingRuleName': value['routingRuleName'],
|
|
76
80
|
'storage': StorageAttributesToJSON(value['storage']),
|
|
81
|
+
'type': value['type'],
|
|
82
|
+
'url': value['url'],
|
|
77
83
|
};
|
|
78
84
|
}
|
|
@@ -28,6 +28,12 @@ export interface NugetProxyApiRepository {
|
|
|
28
28
|
* @memberof NugetProxyApiRepository
|
|
29
29
|
*/
|
|
30
30
|
cleanup?: CleanupPolicyAttributes;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof NugetProxyApiRepository
|
|
35
|
+
*/
|
|
36
|
+
format?: string;
|
|
31
37
|
/**
|
|
32
38
|
*
|
|
33
39
|
* @type {HttpClientAttributes}
|
|
@@ -82,6 +88,18 @@ export interface NugetProxyApiRepository {
|
|
|
82
88
|
* @memberof NugetProxyApiRepository
|
|
83
89
|
*/
|
|
84
90
|
storage: StorageAttributes;
|
|
91
|
+
/**
|
|
92
|
+
*
|
|
93
|
+
* @type {string}
|
|
94
|
+
* @memberof NugetProxyApiRepository
|
|
95
|
+
*/
|
|
96
|
+
type?: string;
|
|
97
|
+
/**
|
|
98
|
+
*
|
|
99
|
+
* @type {string}
|
|
100
|
+
* @memberof NugetProxyApiRepository
|
|
101
|
+
*/
|
|
102
|
+
url?: string;
|
|
85
103
|
}
|
|
86
104
|
/**
|
|
87
105
|
* Check if a given object implements the NugetProxyApiRepository interface.
|
|
@@ -52,6 +52,7 @@ function NugetProxyApiRepositoryFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
52
52
|
}
|
|
53
53
|
return {
|
|
54
54
|
'cleanup': json['cleanup'] == null ? undefined : (0, CleanupPolicyAttributes_1.CleanupPolicyAttributesFromJSON)(json['cleanup']),
|
|
55
|
+
'format': json['format'] == null ? undefined : json['format'],
|
|
55
56
|
'httpClient': (0, HttpClientAttributes_1.HttpClientAttributesFromJSON)(json['httpClient']),
|
|
56
57
|
'name': json['name'] == null ? undefined : json['name'],
|
|
57
58
|
'negativeCache': (0, NegativeCacheAttributes_1.NegativeCacheAttributesFromJSON)(json['negativeCache']),
|
|
@@ -61,6 +62,8 @@ function NugetProxyApiRepositoryFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
61
62
|
'replication': json['replication'] == null ? undefined : (0, ReplicationAttributes_1.ReplicationAttributesFromJSON)(json['replication']),
|
|
62
63
|
'routingRuleName': json['routingRuleName'] == null ? undefined : json['routingRuleName'],
|
|
63
64
|
'storage': (0, StorageAttributes_1.StorageAttributesFromJSON)(json['storage']),
|
|
65
|
+
'type': json['type'] == null ? undefined : json['type'],
|
|
66
|
+
'url': json['url'] == null ? undefined : json['url'],
|
|
64
67
|
};
|
|
65
68
|
}
|
|
66
69
|
function NugetProxyApiRepositoryToJSON(json) {
|
|
@@ -72,6 +75,7 @@ function NugetProxyApiRepositoryToJSONTyped(value, ignoreDiscriminator = false)
|
|
|
72
75
|
}
|
|
73
76
|
return {
|
|
74
77
|
'cleanup': (0, CleanupPolicyAttributes_1.CleanupPolicyAttributesToJSON)(value['cleanup']),
|
|
78
|
+
'format': value['format'],
|
|
75
79
|
'httpClient': (0, HttpClientAttributes_1.HttpClientAttributesToJSON)(value['httpClient']),
|
|
76
80
|
'name': value['name'],
|
|
77
81
|
'negativeCache': (0, NegativeCacheAttributes_1.NegativeCacheAttributesToJSON)(value['negativeCache']),
|
|
@@ -81,5 +85,7 @@ function NugetProxyApiRepositoryToJSONTyped(value, ignoreDiscriminator = false)
|
|
|
81
85
|
'replication': (0, ReplicationAttributes_1.ReplicationAttributesToJSON)(value['replication']),
|
|
82
86
|
'routingRuleName': value['routingRuleName'],
|
|
83
87
|
'storage': (0, StorageAttributes_1.StorageAttributesToJSON)(value['storage']),
|
|
88
|
+
'type': value['type'],
|
|
89
|
+
'url': value['url'],
|
|
84
90
|
};
|
|
85
91
|
}
|
package/package.json
CHANGED
|
@@ -75,6 +75,12 @@ export interface NugetProxyApiRepository {
|
|
|
75
75
|
* @memberof NugetProxyApiRepository
|
|
76
76
|
*/
|
|
77
77
|
cleanup?: CleanupPolicyAttributes;
|
|
78
|
+
/**
|
|
79
|
+
*
|
|
80
|
+
* @type {string}
|
|
81
|
+
* @memberof NugetProxyApiRepository
|
|
82
|
+
*/
|
|
83
|
+
format?: string;
|
|
78
84
|
/**
|
|
79
85
|
*
|
|
80
86
|
* @type {HttpClientAttributes}
|
|
@@ -129,6 +135,18 @@ export interface NugetProxyApiRepository {
|
|
|
129
135
|
* @memberof NugetProxyApiRepository
|
|
130
136
|
*/
|
|
131
137
|
storage: StorageAttributes;
|
|
138
|
+
/**
|
|
139
|
+
*
|
|
140
|
+
* @type {string}
|
|
141
|
+
* @memberof NugetProxyApiRepository
|
|
142
|
+
*/
|
|
143
|
+
type?: string;
|
|
144
|
+
/**
|
|
145
|
+
*
|
|
146
|
+
* @type {string}
|
|
147
|
+
* @memberof NugetProxyApiRepository
|
|
148
|
+
*/
|
|
149
|
+
url?: string;
|
|
132
150
|
}
|
|
133
151
|
|
|
134
152
|
/**
|
|
@@ -155,6 +173,7 @@ export function NugetProxyApiRepositoryFromJSONTyped(json: any, ignoreDiscrimina
|
|
|
155
173
|
return {
|
|
156
174
|
|
|
157
175
|
'cleanup': json['cleanup'] == null ? undefined : CleanupPolicyAttributesFromJSON(json['cleanup']),
|
|
176
|
+
'format': json['format'] == null ? undefined : json['format'],
|
|
158
177
|
'httpClient': HttpClientAttributesFromJSON(json['httpClient']),
|
|
159
178
|
'name': json['name'] == null ? undefined : json['name'],
|
|
160
179
|
'negativeCache': NegativeCacheAttributesFromJSON(json['negativeCache']),
|
|
@@ -164,6 +183,8 @@ export function NugetProxyApiRepositoryFromJSONTyped(json: any, ignoreDiscrimina
|
|
|
164
183
|
'replication': json['replication'] == null ? undefined : ReplicationAttributesFromJSON(json['replication']),
|
|
165
184
|
'routingRuleName': json['routingRuleName'] == null ? undefined : json['routingRuleName'],
|
|
166
185
|
'storage': StorageAttributesFromJSON(json['storage']),
|
|
186
|
+
'type': json['type'] == null ? undefined : json['type'],
|
|
187
|
+
'url': json['url'] == null ? undefined : json['url'],
|
|
167
188
|
};
|
|
168
189
|
}
|
|
169
190
|
|
|
@@ -179,6 +200,7 @@ export function NugetProxyApiRepositoryToJSONTyped(value?: NugetProxyApiReposito
|
|
|
179
200
|
return {
|
|
180
201
|
|
|
181
202
|
'cleanup': CleanupPolicyAttributesToJSON(value['cleanup']),
|
|
203
|
+
'format': value['format'],
|
|
182
204
|
'httpClient': HttpClientAttributesToJSON(value['httpClient']),
|
|
183
205
|
'name': value['name'],
|
|
184
206
|
'negativeCache': NegativeCacheAttributesToJSON(value['negativeCache']),
|
|
@@ -188,6 +210,8 @@ export function NugetProxyApiRepositoryToJSONTyped(value?: NugetProxyApiReposito
|
|
|
188
210
|
'replication': ReplicationAttributesToJSON(value['replication']),
|
|
189
211
|
'routingRuleName': value['routingRuleName'],
|
|
190
212
|
'storage': StorageAttributesToJSON(value['storage']),
|
|
213
|
+
'type': value['type'],
|
|
214
|
+
'url': value['url'],
|
|
191
215
|
};
|
|
192
216
|
}
|
|
193
217
|
|