@sonatype/nexus-repo-api-client 3.81.18 → 3.81.20
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/apis/ProductLicensingApi.d.ts +1 -1
- package/dist/esm/apis/ProductLicensingApi.d.ts +1 -1
- package/dist/esm/models/AptHostedApiRepository.d.ts +18 -0
- package/dist/esm/models/AptHostedApiRepository.js +6 -0
- package/dist/esm/models/AptProxyApiRepository.d.ts +18 -0
- package/dist/esm/models/AptProxyApiRepository.js +6 -0
- package/dist/models/AptHostedApiRepository.d.ts +18 -0
- package/dist/models/AptHostedApiRepository.js +6 -0
- package/dist/models/AptProxyApiRepository.d.ts +18 -0
- package/dist/models/AptProxyApiRepository.js +6 -0
- package/package.json +1 -1
- package/src/apis/ProductLicensingApi.ts +1 -1
- package/src/models/AptHostedApiRepository.ts +24 -0
- package/src/models/AptProxyApiRepository.ts +24 -0
|
@@ -44,6 +44,12 @@ export interface AptHostedApiRepository {
|
|
|
44
44
|
* @memberof AptHostedApiRepository
|
|
45
45
|
*/
|
|
46
46
|
component?: ComponentAttributes;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof AptHostedApiRepository
|
|
51
|
+
*/
|
|
52
|
+
format?: string;
|
|
47
53
|
/**
|
|
48
54
|
* A unique identifier for this repository
|
|
49
55
|
* @type {string}
|
|
@@ -62,6 +68,18 @@ export interface AptHostedApiRepository {
|
|
|
62
68
|
* @memberof AptHostedApiRepository
|
|
63
69
|
*/
|
|
64
70
|
storage: HostedStorageAttributes;
|
|
71
|
+
/**
|
|
72
|
+
*
|
|
73
|
+
* @type {string}
|
|
74
|
+
* @memberof AptHostedApiRepository
|
|
75
|
+
*/
|
|
76
|
+
type?: string;
|
|
77
|
+
/**
|
|
78
|
+
*
|
|
79
|
+
* @type {string}
|
|
80
|
+
* @memberof AptHostedApiRepository
|
|
81
|
+
*/
|
|
82
|
+
url?: string;
|
|
65
83
|
}
|
|
66
84
|
/**
|
|
67
85
|
* Check if a given object implements the AptHostedApiRepository interface.
|
|
@@ -42,9 +42,12 @@ export function AptHostedApiRepositoryFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
42
42
|
'aptSigning': AptSigningRepositoriesAttributesFromJSON(json['aptSigning']),
|
|
43
43
|
'cleanup': json['cleanup'] == null ? undefined : CleanupPolicyAttributesFromJSON(json['cleanup']),
|
|
44
44
|
'component': json['component'] == null ? undefined : ComponentAttributesFromJSON(json['component']),
|
|
45
|
+
'format': json['format'] == null ? undefined : json['format'],
|
|
45
46
|
'name': json['name'] == null ? undefined : json['name'],
|
|
46
47
|
'online': json['online'],
|
|
47
48
|
'storage': HostedStorageAttributesFromJSON(json['storage']),
|
|
49
|
+
'type': json['type'] == null ? undefined : json['type'],
|
|
50
|
+
'url': json['url'] == null ? undefined : json['url'],
|
|
48
51
|
};
|
|
49
52
|
}
|
|
50
53
|
export function AptHostedApiRepositoryToJSON(json) {
|
|
@@ -59,8 +62,11 @@ export function AptHostedApiRepositoryToJSONTyped(value, ignoreDiscriminator = f
|
|
|
59
62
|
'aptSigning': AptSigningRepositoriesAttributesToJSON(value['aptSigning']),
|
|
60
63
|
'cleanup': CleanupPolicyAttributesToJSON(value['cleanup']),
|
|
61
64
|
'component': ComponentAttributesToJSON(value['component']),
|
|
65
|
+
'format': value['format'],
|
|
62
66
|
'name': value['name'],
|
|
63
67
|
'online': value['online'],
|
|
64
68
|
'storage': HostedStorageAttributesToJSON(value['storage']),
|
|
69
|
+
'type': value['type'],
|
|
70
|
+
'url': value['url'],
|
|
65
71
|
};
|
|
66
72
|
}
|
|
@@ -34,6 +34,12 @@ export interface AptProxyApiRepository {
|
|
|
34
34
|
* @memberof AptProxyApiRepository
|
|
35
35
|
*/
|
|
36
36
|
cleanup?: CleanupPolicyAttributes;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof AptProxyApiRepository
|
|
41
|
+
*/
|
|
42
|
+
format?: string;
|
|
37
43
|
/**
|
|
38
44
|
*
|
|
39
45
|
* @type {HttpClientAttributes}
|
|
@@ -82,6 +88,18 @@ export interface AptProxyApiRepository {
|
|
|
82
88
|
* @memberof AptProxyApiRepository
|
|
83
89
|
*/
|
|
84
90
|
storage: StorageAttributes;
|
|
91
|
+
/**
|
|
92
|
+
*
|
|
93
|
+
* @type {string}
|
|
94
|
+
* @memberof AptProxyApiRepository
|
|
95
|
+
*/
|
|
96
|
+
type?: string;
|
|
97
|
+
/**
|
|
98
|
+
*
|
|
99
|
+
* @type {string}
|
|
100
|
+
* @memberof AptProxyApiRepository
|
|
101
|
+
*/
|
|
102
|
+
url?: string;
|
|
85
103
|
}
|
|
86
104
|
/**
|
|
87
105
|
* Check if a given object implements the AptProxyApiRepository interface.
|
|
@@ -46,6 +46,7 @@ export function AptProxyApiRepositoryFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
46
46
|
return {
|
|
47
47
|
'apt': AptProxyRepositoriesAttributesFromJSON(json['apt']),
|
|
48
48
|
'cleanup': json['cleanup'] == null ? undefined : CleanupPolicyAttributesFromJSON(json['cleanup']),
|
|
49
|
+
'format': json['format'] == null ? undefined : json['format'],
|
|
49
50
|
'httpClient': HttpClientAttributesFromJSON(json['httpClient']),
|
|
50
51
|
'name': json['name'] == null ? undefined : json['name'],
|
|
51
52
|
'negativeCache': NegativeCacheAttributesFromJSON(json['negativeCache']),
|
|
@@ -54,6 +55,8 @@ export function AptProxyApiRepositoryFromJSONTyped(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 AptProxyApiRepositoryToJSON(json) {
|
|
@@ -66,6 +69,7 @@ export function AptProxyApiRepositoryToJSONTyped(value, ignoreDiscriminator = fa
|
|
|
66
69
|
return {
|
|
67
70
|
'apt': AptProxyRepositoriesAttributesToJSON(value['apt']),
|
|
68
71
|
'cleanup': CleanupPolicyAttributesToJSON(value['cleanup']),
|
|
72
|
+
'format': value['format'],
|
|
69
73
|
'httpClient': HttpClientAttributesToJSON(value['httpClient']),
|
|
70
74
|
'name': value['name'],
|
|
71
75
|
'negativeCache': NegativeCacheAttributesToJSON(value['negativeCache']),
|
|
@@ -74,5 +78,7 @@ export function AptProxyApiRepositoryToJSONTyped(value, ignoreDiscriminator = fa
|
|
|
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
|
}
|
|
@@ -44,6 +44,12 @@ export interface AptHostedApiRepository {
|
|
|
44
44
|
* @memberof AptHostedApiRepository
|
|
45
45
|
*/
|
|
46
46
|
component?: ComponentAttributes;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof AptHostedApiRepository
|
|
51
|
+
*/
|
|
52
|
+
format?: string;
|
|
47
53
|
/**
|
|
48
54
|
* A unique identifier for this repository
|
|
49
55
|
* @type {string}
|
|
@@ -62,6 +68,18 @@ export interface AptHostedApiRepository {
|
|
|
62
68
|
* @memberof AptHostedApiRepository
|
|
63
69
|
*/
|
|
64
70
|
storage: HostedStorageAttributes;
|
|
71
|
+
/**
|
|
72
|
+
*
|
|
73
|
+
* @type {string}
|
|
74
|
+
* @memberof AptHostedApiRepository
|
|
75
|
+
*/
|
|
76
|
+
type?: string;
|
|
77
|
+
/**
|
|
78
|
+
*
|
|
79
|
+
* @type {string}
|
|
80
|
+
* @memberof AptHostedApiRepository
|
|
81
|
+
*/
|
|
82
|
+
url?: string;
|
|
65
83
|
}
|
|
66
84
|
/**
|
|
67
85
|
* Check if a given object implements the AptHostedApiRepository interface.
|
|
@@ -49,9 +49,12 @@ function AptHostedApiRepositoryFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
49
49
|
'aptSigning': (0, AptSigningRepositoriesAttributes_1.AptSigningRepositoriesAttributesFromJSON)(json['aptSigning']),
|
|
50
50
|
'cleanup': json['cleanup'] == null ? undefined : (0, CleanupPolicyAttributes_1.CleanupPolicyAttributesFromJSON)(json['cleanup']),
|
|
51
51
|
'component': json['component'] == null ? undefined : (0, ComponentAttributes_1.ComponentAttributesFromJSON)(json['component']),
|
|
52
|
+
'format': json['format'] == null ? undefined : json['format'],
|
|
52
53
|
'name': json['name'] == null ? undefined : json['name'],
|
|
53
54
|
'online': json['online'],
|
|
54
55
|
'storage': (0, HostedStorageAttributes_1.HostedStorageAttributesFromJSON)(json['storage']),
|
|
56
|
+
'type': json['type'] == null ? undefined : json['type'],
|
|
57
|
+
'url': json['url'] == null ? undefined : json['url'],
|
|
55
58
|
};
|
|
56
59
|
}
|
|
57
60
|
function AptHostedApiRepositoryToJSON(json) {
|
|
@@ -66,8 +69,11 @@ function AptHostedApiRepositoryToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
66
69
|
'aptSigning': (0, AptSigningRepositoriesAttributes_1.AptSigningRepositoriesAttributesToJSON)(value['aptSigning']),
|
|
67
70
|
'cleanup': (0, CleanupPolicyAttributes_1.CleanupPolicyAttributesToJSON)(value['cleanup']),
|
|
68
71
|
'component': (0, ComponentAttributes_1.ComponentAttributesToJSON)(value['component']),
|
|
72
|
+
'format': value['format'],
|
|
69
73
|
'name': value['name'],
|
|
70
74
|
'online': value['online'],
|
|
71
75
|
'storage': (0, HostedStorageAttributes_1.HostedStorageAttributesToJSON)(value['storage']),
|
|
76
|
+
'type': value['type'],
|
|
77
|
+
'url': value['url'],
|
|
72
78
|
};
|
|
73
79
|
}
|
|
@@ -34,6 +34,12 @@ export interface AptProxyApiRepository {
|
|
|
34
34
|
* @memberof AptProxyApiRepository
|
|
35
35
|
*/
|
|
36
36
|
cleanup?: CleanupPolicyAttributes;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof AptProxyApiRepository
|
|
41
|
+
*/
|
|
42
|
+
format?: string;
|
|
37
43
|
/**
|
|
38
44
|
*
|
|
39
45
|
* @type {HttpClientAttributes}
|
|
@@ -82,6 +88,18 @@ export interface AptProxyApiRepository {
|
|
|
82
88
|
* @memberof AptProxyApiRepository
|
|
83
89
|
*/
|
|
84
90
|
storage: StorageAttributes;
|
|
91
|
+
/**
|
|
92
|
+
*
|
|
93
|
+
* @type {string}
|
|
94
|
+
* @memberof AptProxyApiRepository
|
|
95
|
+
*/
|
|
96
|
+
type?: string;
|
|
97
|
+
/**
|
|
98
|
+
*
|
|
99
|
+
* @type {string}
|
|
100
|
+
* @memberof AptProxyApiRepository
|
|
101
|
+
*/
|
|
102
|
+
url?: string;
|
|
85
103
|
}
|
|
86
104
|
/**
|
|
87
105
|
* Check if a given object implements the AptProxyApiRepository interface.
|
|
@@ -53,6 +53,7 @@ function AptProxyApiRepositoryFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
53
53
|
return {
|
|
54
54
|
'apt': (0, AptProxyRepositoriesAttributes_1.AptProxyRepositoriesAttributesFromJSON)(json['apt']),
|
|
55
55
|
'cleanup': json['cleanup'] == null ? undefined : (0, CleanupPolicyAttributes_1.CleanupPolicyAttributesFromJSON)(json['cleanup']),
|
|
56
|
+
'format': json['format'] == null ? undefined : json['format'],
|
|
56
57
|
'httpClient': (0, HttpClientAttributes_1.HttpClientAttributesFromJSON)(json['httpClient']),
|
|
57
58
|
'name': json['name'] == null ? undefined : json['name'],
|
|
58
59
|
'negativeCache': (0, NegativeCacheAttributes_1.NegativeCacheAttributesFromJSON)(json['negativeCache']),
|
|
@@ -61,6 +62,8 @@ function AptProxyApiRepositoryFromJSONTyped(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 AptProxyApiRepositoryToJSON(json) {
|
|
@@ -73,6 +76,7 @@ function AptProxyApiRepositoryToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
73
76
|
return {
|
|
74
77
|
'apt': (0, AptProxyRepositoriesAttributes_1.AptProxyRepositoriesAttributesToJSON)(value['apt']),
|
|
75
78
|
'cleanup': (0, CleanupPolicyAttributes_1.CleanupPolicyAttributesToJSON)(value['cleanup']),
|
|
79
|
+
'format': value['format'],
|
|
76
80
|
'httpClient': (0, HttpClientAttributes_1.HttpClientAttributesToJSON)(value['httpClient']),
|
|
77
81
|
'name': value['name'],
|
|
78
82
|
'negativeCache': (0, NegativeCacheAttributes_1.NegativeCacheAttributesToJSON)(value['negativeCache']),
|
|
@@ -81,5 +85,7 @@ function AptProxyApiRepositoryToJSONTyped(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
|
@@ -79,6 +79,12 @@ export interface AptHostedApiRepository {
|
|
|
79
79
|
* @memberof AptHostedApiRepository
|
|
80
80
|
*/
|
|
81
81
|
component?: ComponentAttributes;
|
|
82
|
+
/**
|
|
83
|
+
*
|
|
84
|
+
* @type {string}
|
|
85
|
+
* @memberof AptHostedApiRepository
|
|
86
|
+
*/
|
|
87
|
+
format?: string;
|
|
82
88
|
/**
|
|
83
89
|
* A unique identifier for this repository
|
|
84
90
|
* @type {string}
|
|
@@ -97,6 +103,18 @@ export interface AptHostedApiRepository {
|
|
|
97
103
|
* @memberof AptHostedApiRepository
|
|
98
104
|
*/
|
|
99
105
|
storage: HostedStorageAttributes;
|
|
106
|
+
/**
|
|
107
|
+
*
|
|
108
|
+
* @type {string}
|
|
109
|
+
* @memberof AptHostedApiRepository
|
|
110
|
+
*/
|
|
111
|
+
type?: string;
|
|
112
|
+
/**
|
|
113
|
+
*
|
|
114
|
+
* @type {string}
|
|
115
|
+
* @memberof AptHostedApiRepository
|
|
116
|
+
*/
|
|
117
|
+
url?: string;
|
|
100
118
|
}
|
|
101
119
|
|
|
102
120
|
/**
|
|
@@ -124,9 +142,12 @@ export function AptHostedApiRepositoryFromJSONTyped(json: any, ignoreDiscriminat
|
|
|
124
142
|
'aptSigning': AptSigningRepositoriesAttributesFromJSON(json['aptSigning']),
|
|
125
143
|
'cleanup': json['cleanup'] == null ? undefined : CleanupPolicyAttributesFromJSON(json['cleanup']),
|
|
126
144
|
'component': json['component'] == null ? undefined : ComponentAttributesFromJSON(json['component']),
|
|
145
|
+
'format': json['format'] == null ? undefined : json['format'],
|
|
127
146
|
'name': json['name'] == null ? undefined : json['name'],
|
|
128
147
|
'online': json['online'],
|
|
129
148
|
'storage': HostedStorageAttributesFromJSON(json['storage']),
|
|
149
|
+
'type': json['type'] == null ? undefined : json['type'],
|
|
150
|
+
'url': json['url'] == null ? undefined : json['url'],
|
|
130
151
|
};
|
|
131
152
|
}
|
|
132
153
|
|
|
@@ -145,9 +166,12 @@ export function AptHostedApiRepositoryToJSONTyped(value?: AptHostedApiRepository
|
|
|
145
166
|
'aptSigning': AptSigningRepositoriesAttributesToJSON(value['aptSigning']),
|
|
146
167
|
'cleanup': CleanupPolicyAttributesToJSON(value['cleanup']),
|
|
147
168
|
'component': ComponentAttributesToJSON(value['component']),
|
|
169
|
+
'format': value['format'],
|
|
148
170
|
'name': value['name'],
|
|
149
171
|
'online': value['online'],
|
|
150
172
|
'storage': HostedStorageAttributesToJSON(value['storage']),
|
|
173
|
+
'type': value['type'],
|
|
174
|
+
'url': value['url'],
|
|
151
175
|
};
|
|
152
176
|
}
|
|
153
177
|
|
|
@@ -81,6 +81,12 @@ export interface AptProxyApiRepository {
|
|
|
81
81
|
* @memberof AptProxyApiRepository
|
|
82
82
|
*/
|
|
83
83
|
cleanup?: CleanupPolicyAttributes;
|
|
84
|
+
/**
|
|
85
|
+
*
|
|
86
|
+
* @type {string}
|
|
87
|
+
* @memberof AptProxyApiRepository
|
|
88
|
+
*/
|
|
89
|
+
format?: string;
|
|
84
90
|
/**
|
|
85
91
|
*
|
|
86
92
|
* @type {HttpClientAttributes}
|
|
@@ -129,6 +135,18 @@ export interface AptProxyApiRepository {
|
|
|
129
135
|
* @memberof AptProxyApiRepository
|
|
130
136
|
*/
|
|
131
137
|
storage: StorageAttributes;
|
|
138
|
+
/**
|
|
139
|
+
*
|
|
140
|
+
* @type {string}
|
|
141
|
+
* @memberof AptProxyApiRepository
|
|
142
|
+
*/
|
|
143
|
+
type?: string;
|
|
144
|
+
/**
|
|
145
|
+
*
|
|
146
|
+
* @type {string}
|
|
147
|
+
* @memberof AptProxyApiRepository
|
|
148
|
+
*/
|
|
149
|
+
url?: string;
|
|
132
150
|
}
|
|
133
151
|
|
|
134
152
|
/**
|
|
@@ -156,6 +174,7 @@ export function AptProxyApiRepositoryFromJSONTyped(json: any, ignoreDiscriminato
|
|
|
156
174
|
|
|
157
175
|
'apt': AptProxyRepositoriesAttributesFromJSON(json['apt']),
|
|
158
176
|
'cleanup': json['cleanup'] == null ? undefined : CleanupPolicyAttributesFromJSON(json['cleanup']),
|
|
177
|
+
'format': json['format'] == null ? undefined : json['format'],
|
|
159
178
|
'httpClient': HttpClientAttributesFromJSON(json['httpClient']),
|
|
160
179
|
'name': json['name'] == null ? undefined : json['name'],
|
|
161
180
|
'negativeCache': NegativeCacheAttributesFromJSON(json['negativeCache']),
|
|
@@ -164,6 +183,8 @@ export function AptProxyApiRepositoryFromJSONTyped(json: any, ignoreDiscriminato
|
|
|
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
|
|
|
@@ -180,6 +201,7 @@ export function AptProxyApiRepositoryToJSONTyped(value?: AptProxyApiRepository |
|
|
|
180
201
|
|
|
181
202
|
'apt': AptProxyRepositoriesAttributesToJSON(value['apt']),
|
|
182
203
|
'cleanup': CleanupPolicyAttributesToJSON(value['cleanup']),
|
|
204
|
+
'format': value['format'],
|
|
183
205
|
'httpClient': HttpClientAttributesToJSON(value['httpClient']),
|
|
184
206
|
'name': value['name'],
|
|
185
207
|
'negativeCache': NegativeCacheAttributesToJSON(value['negativeCache']),
|
|
@@ -188,6 +210,8 @@ export function AptProxyApiRepositoryToJSONTyped(value?: AptProxyApiRepository |
|
|
|
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
|
|