@sonatype/nexus-repo-api-client 3.81.22 → 3.81.23
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/SimpleApiProxyRepository.d.ts +18 -0
- package/dist/esm/models/SimpleApiProxyRepository.js +6 -0
- package/dist/models/SimpleApiProxyRepository.d.ts +18 -0
- package/dist/models/SimpleApiProxyRepository.js +6 -0
- package/package.json +1 -1
- package/src/models/SimpleApiProxyRepository.ts +24 -0
|
@@ -27,6 +27,12 @@ export interface SimpleApiProxyRepository {
|
|
|
27
27
|
* @memberof SimpleApiProxyRepository
|
|
28
28
|
*/
|
|
29
29
|
cleanup?: CleanupPolicyAttributes;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof SimpleApiProxyRepository
|
|
34
|
+
*/
|
|
35
|
+
format?: string;
|
|
30
36
|
/**
|
|
31
37
|
*
|
|
32
38
|
* @type {HttpClientAttributes}
|
|
@@ -75,6 +81,18 @@ export interface SimpleApiProxyRepository {
|
|
|
75
81
|
* @memberof SimpleApiProxyRepository
|
|
76
82
|
*/
|
|
77
83
|
storage: StorageAttributes;
|
|
84
|
+
/**
|
|
85
|
+
*
|
|
86
|
+
* @type {string}
|
|
87
|
+
* @memberof SimpleApiProxyRepository
|
|
88
|
+
*/
|
|
89
|
+
type?: string;
|
|
90
|
+
/**
|
|
91
|
+
*
|
|
92
|
+
* @type {string}
|
|
93
|
+
* @memberof SimpleApiProxyRepository
|
|
94
|
+
*/
|
|
95
|
+
url?: string;
|
|
78
96
|
}
|
|
79
97
|
/**
|
|
80
98
|
* Check if a given object implements the SimpleApiProxyRepository interface.
|
|
@@ -42,6 +42,7 @@ export function SimpleApiProxyRepositoryFromJSONTyped(json, ignoreDiscriminator)
|
|
|
42
42
|
}
|
|
43
43
|
return {
|
|
44
44
|
'cleanup': json['cleanup'] == null ? undefined : CleanupPolicyAttributesFromJSON(json['cleanup']),
|
|
45
|
+
'format': json['format'] == null ? undefined : json['format'],
|
|
45
46
|
'httpClient': HttpClientAttributesFromJSON(json['httpClient']),
|
|
46
47
|
'name': json['name'] == null ? undefined : json['name'],
|
|
47
48
|
'negativeCache': NegativeCacheAttributesFromJSON(json['negativeCache']),
|
|
@@ -50,6 +51,8 @@ export function SimpleApiProxyRepositoryFromJSONTyped(json, ignoreDiscriminator)
|
|
|
50
51
|
'replication': json['replication'] == null ? undefined : ReplicationAttributesFromJSON(json['replication']),
|
|
51
52
|
'routingRuleName': json['routingRuleName'] == null ? undefined : json['routingRuleName'],
|
|
52
53
|
'storage': StorageAttributesFromJSON(json['storage']),
|
|
54
|
+
'type': json['type'] == null ? undefined : json['type'],
|
|
55
|
+
'url': json['url'] == null ? undefined : json['url'],
|
|
53
56
|
};
|
|
54
57
|
}
|
|
55
58
|
export function SimpleApiProxyRepositoryToJSON(json) {
|
|
@@ -61,6 +64,7 @@ export function SimpleApiProxyRepositoryToJSONTyped(value, ignoreDiscriminator =
|
|
|
61
64
|
}
|
|
62
65
|
return {
|
|
63
66
|
'cleanup': CleanupPolicyAttributesToJSON(value['cleanup']),
|
|
67
|
+
'format': value['format'],
|
|
64
68
|
'httpClient': HttpClientAttributesToJSON(value['httpClient']),
|
|
65
69
|
'name': value['name'],
|
|
66
70
|
'negativeCache': NegativeCacheAttributesToJSON(value['negativeCache']),
|
|
@@ -69,5 +73,7 @@ export function SimpleApiProxyRepositoryToJSONTyped(value, ignoreDiscriminator =
|
|
|
69
73
|
'replication': ReplicationAttributesToJSON(value['replication']),
|
|
70
74
|
'routingRuleName': value['routingRuleName'],
|
|
71
75
|
'storage': StorageAttributesToJSON(value['storage']),
|
|
76
|
+
'type': value['type'],
|
|
77
|
+
'url': value['url'],
|
|
72
78
|
};
|
|
73
79
|
}
|
|
@@ -27,6 +27,12 @@ export interface SimpleApiProxyRepository {
|
|
|
27
27
|
* @memberof SimpleApiProxyRepository
|
|
28
28
|
*/
|
|
29
29
|
cleanup?: CleanupPolicyAttributes;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof SimpleApiProxyRepository
|
|
34
|
+
*/
|
|
35
|
+
format?: string;
|
|
30
36
|
/**
|
|
31
37
|
*
|
|
32
38
|
* @type {HttpClientAttributes}
|
|
@@ -75,6 +81,18 @@ export interface SimpleApiProxyRepository {
|
|
|
75
81
|
* @memberof SimpleApiProxyRepository
|
|
76
82
|
*/
|
|
77
83
|
storage: StorageAttributes;
|
|
84
|
+
/**
|
|
85
|
+
*
|
|
86
|
+
* @type {string}
|
|
87
|
+
* @memberof SimpleApiProxyRepository
|
|
88
|
+
*/
|
|
89
|
+
type?: string;
|
|
90
|
+
/**
|
|
91
|
+
*
|
|
92
|
+
* @type {string}
|
|
93
|
+
* @memberof SimpleApiProxyRepository
|
|
94
|
+
*/
|
|
95
|
+
url?: string;
|
|
78
96
|
}
|
|
79
97
|
/**
|
|
80
98
|
* Check if a given object implements the SimpleApiProxyRepository interface.
|
|
@@ -49,6 +49,7 @@ function SimpleApiProxyRepositoryFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
49
49
|
}
|
|
50
50
|
return {
|
|
51
51
|
'cleanup': json['cleanup'] == null ? undefined : (0, CleanupPolicyAttributes_1.CleanupPolicyAttributesFromJSON)(json['cleanup']),
|
|
52
|
+
'format': json['format'] == null ? undefined : json['format'],
|
|
52
53
|
'httpClient': (0, HttpClientAttributes_1.HttpClientAttributesFromJSON)(json['httpClient']),
|
|
53
54
|
'name': json['name'] == null ? undefined : json['name'],
|
|
54
55
|
'negativeCache': (0, NegativeCacheAttributes_1.NegativeCacheAttributesFromJSON)(json['negativeCache']),
|
|
@@ -57,6 +58,8 @@ function SimpleApiProxyRepositoryFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
57
58
|
'replication': json['replication'] == null ? undefined : (0, ReplicationAttributes_1.ReplicationAttributesFromJSON)(json['replication']),
|
|
58
59
|
'routingRuleName': json['routingRuleName'] == null ? undefined : json['routingRuleName'],
|
|
59
60
|
'storage': (0, StorageAttributes_1.StorageAttributesFromJSON)(json['storage']),
|
|
61
|
+
'type': json['type'] == null ? undefined : json['type'],
|
|
62
|
+
'url': json['url'] == null ? undefined : json['url'],
|
|
60
63
|
};
|
|
61
64
|
}
|
|
62
65
|
function SimpleApiProxyRepositoryToJSON(json) {
|
|
@@ -68,6 +71,7 @@ function SimpleApiProxyRepositoryToJSONTyped(value, ignoreDiscriminator = false)
|
|
|
68
71
|
}
|
|
69
72
|
return {
|
|
70
73
|
'cleanup': (0, CleanupPolicyAttributes_1.CleanupPolicyAttributesToJSON)(value['cleanup']),
|
|
74
|
+
'format': value['format'],
|
|
71
75
|
'httpClient': (0, HttpClientAttributes_1.HttpClientAttributesToJSON)(value['httpClient']),
|
|
72
76
|
'name': value['name'],
|
|
73
77
|
'negativeCache': (0, NegativeCacheAttributes_1.NegativeCacheAttributesToJSON)(value['negativeCache']),
|
|
@@ -76,5 +80,7 @@ function SimpleApiProxyRepositoryToJSONTyped(value, ignoreDiscriminator = false)
|
|
|
76
80
|
'replication': (0, ReplicationAttributes_1.ReplicationAttributesToJSON)(value['replication']),
|
|
77
81
|
'routingRuleName': value['routingRuleName'],
|
|
78
82
|
'storage': (0, StorageAttributes_1.StorageAttributesToJSON)(value['storage']),
|
|
83
|
+
'type': value['type'],
|
|
84
|
+
'url': value['url'],
|
|
79
85
|
};
|
|
80
86
|
}
|
package/package.json
CHANGED
|
@@ -68,6 +68,12 @@ export interface SimpleApiProxyRepository {
|
|
|
68
68
|
* @memberof SimpleApiProxyRepository
|
|
69
69
|
*/
|
|
70
70
|
cleanup?: CleanupPolicyAttributes;
|
|
71
|
+
/**
|
|
72
|
+
*
|
|
73
|
+
* @type {string}
|
|
74
|
+
* @memberof SimpleApiProxyRepository
|
|
75
|
+
*/
|
|
76
|
+
format?: string;
|
|
71
77
|
/**
|
|
72
78
|
*
|
|
73
79
|
* @type {HttpClientAttributes}
|
|
@@ -116,6 +122,18 @@ export interface SimpleApiProxyRepository {
|
|
|
116
122
|
* @memberof SimpleApiProxyRepository
|
|
117
123
|
*/
|
|
118
124
|
storage: StorageAttributes;
|
|
125
|
+
/**
|
|
126
|
+
*
|
|
127
|
+
* @type {string}
|
|
128
|
+
* @memberof SimpleApiProxyRepository
|
|
129
|
+
*/
|
|
130
|
+
type?: string;
|
|
131
|
+
/**
|
|
132
|
+
*
|
|
133
|
+
* @type {string}
|
|
134
|
+
* @memberof SimpleApiProxyRepository
|
|
135
|
+
*/
|
|
136
|
+
url?: string;
|
|
119
137
|
}
|
|
120
138
|
|
|
121
139
|
/**
|
|
@@ -141,6 +159,7 @@ export function SimpleApiProxyRepositoryFromJSONTyped(json: any, ignoreDiscrimin
|
|
|
141
159
|
return {
|
|
142
160
|
|
|
143
161
|
'cleanup': json['cleanup'] == null ? undefined : CleanupPolicyAttributesFromJSON(json['cleanup']),
|
|
162
|
+
'format': json['format'] == null ? undefined : json['format'],
|
|
144
163
|
'httpClient': HttpClientAttributesFromJSON(json['httpClient']),
|
|
145
164
|
'name': json['name'] == null ? undefined : json['name'],
|
|
146
165
|
'negativeCache': NegativeCacheAttributesFromJSON(json['negativeCache']),
|
|
@@ -149,6 +168,8 @@ export function SimpleApiProxyRepositoryFromJSONTyped(json: any, ignoreDiscrimin
|
|
|
149
168
|
'replication': json['replication'] == null ? undefined : ReplicationAttributesFromJSON(json['replication']),
|
|
150
169
|
'routingRuleName': json['routingRuleName'] == null ? undefined : json['routingRuleName'],
|
|
151
170
|
'storage': StorageAttributesFromJSON(json['storage']),
|
|
171
|
+
'type': json['type'] == null ? undefined : json['type'],
|
|
172
|
+
'url': json['url'] == null ? undefined : json['url'],
|
|
152
173
|
};
|
|
153
174
|
}
|
|
154
175
|
|
|
@@ -164,6 +185,7 @@ export function SimpleApiProxyRepositoryToJSONTyped(value?: SimpleApiProxyReposi
|
|
|
164
185
|
return {
|
|
165
186
|
|
|
166
187
|
'cleanup': CleanupPolicyAttributesToJSON(value['cleanup']),
|
|
188
|
+
'format': value['format'],
|
|
167
189
|
'httpClient': HttpClientAttributesToJSON(value['httpClient']),
|
|
168
190
|
'name': value['name'],
|
|
169
191
|
'negativeCache': NegativeCacheAttributesToJSON(value['negativeCache']),
|
|
@@ -172,6 +194,8 @@ export function SimpleApiProxyRepositoryToJSONTyped(value?: SimpleApiProxyReposi
|
|
|
172
194
|
'replication': ReplicationAttributesToJSON(value['replication']),
|
|
173
195
|
'routingRuleName': value['routingRuleName'],
|
|
174
196
|
'storage': StorageAttributesToJSON(value['storage']),
|
|
197
|
+
'type': value['type'],
|
|
198
|
+
'url': value['url'],
|
|
175
199
|
};
|
|
176
200
|
}
|
|
177
201
|
|