@sonatype/nexus-repo-api-client 3.81.8 → 3.81.10
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/NpmProxyApiRepository.d.ts +12 -0
- package/dist/esm/models/NpmProxyApiRepository.js +4 -0
- package/dist/esm/models/SimpleApiGroupDeployRepository.d.ts +18 -0
- package/dist/esm/models/SimpleApiGroupDeployRepository.js +6 -0
- package/dist/models/NpmProxyApiRepository.d.ts +12 -0
- package/dist/models/NpmProxyApiRepository.js +4 -0
- package/dist/models/SimpleApiGroupDeployRepository.d.ts +18 -0
- package/dist/models/SimpleApiGroupDeployRepository.js +6 -0
- package/package.json +1 -1
- package/src/models/NpmProxyApiRepository.ts +16 -0
- package/src/models/SimpleApiGroupDeployRepository.ts +24 -0
|
@@ -28,6 +28,12 @@ export interface NpmProxyApiRepository {
|
|
|
28
28
|
* @memberof NpmProxyApiRepository
|
|
29
29
|
*/
|
|
30
30
|
cleanup?: CleanupPolicyAttributes;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof NpmProxyApiRepository
|
|
35
|
+
*/
|
|
36
|
+
format?: string;
|
|
31
37
|
/**
|
|
32
38
|
*
|
|
33
39
|
* @type {HttpClientAttributes}
|
|
@@ -82,6 +88,12 @@ export interface NpmProxyApiRepository {
|
|
|
82
88
|
* @memberof NpmProxyApiRepository
|
|
83
89
|
*/
|
|
84
90
|
storage: StorageAttributes;
|
|
91
|
+
/**
|
|
92
|
+
*
|
|
93
|
+
* @type {string}
|
|
94
|
+
* @memberof NpmProxyApiRepository
|
|
95
|
+
*/
|
|
96
|
+
type?: string;
|
|
85
97
|
/**
|
|
86
98
|
*
|
|
87
99
|
* @type {string}
|
|
@@ -43,6 +43,7 @@ export function NpmProxyApiRepositoryFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
43
43
|
}
|
|
44
44
|
return {
|
|
45
45
|
'cleanup': json['cleanup'] == null ? undefined : CleanupPolicyAttributesFromJSON(json['cleanup']),
|
|
46
|
+
'format': json['format'] == null ? undefined : json['format'],
|
|
46
47
|
'httpClient': HttpClientAttributesFromJSON(json['httpClient']),
|
|
47
48
|
'name': json['name'] == null ? undefined : json['name'],
|
|
48
49
|
'negativeCache': NegativeCacheAttributesFromJSON(json['negativeCache']),
|
|
@@ -52,6 +53,7 @@ export function NpmProxyApiRepositoryFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
52
53
|
'replication': json['replication'] == null ? undefined : ReplicationAttributesFromJSON(json['replication']),
|
|
53
54
|
'routingRuleName': json['routingRuleName'] == null ? undefined : json['routingRuleName'],
|
|
54
55
|
'storage': StorageAttributesFromJSON(json['storage']),
|
|
56
|
+
'type': json['type'] == null ? undefined : json['type'],
|
|
55
57
|
'url': json['url'] == null ? undefined : json['url'],
|
|
56
58
|
};
|
|
57
59
|
}
|
|
@@ -64,6 +66,7 @@ export function NpmProxyApiRepositoryToJSONTyped(value, ignoreDiscriminator = fa
|
|
|
64
66
|
}
|
|
65
67
|
return {
|
|
66
68
|
'cleanup': CleanupPolicyAttributesToJSON(value['cleanup']),
|
|
69
|
+
'format': value['format'],
|
|
67
70
|
'httpClient': HttpClientAttributesToJSON(value['httpClient']),
|
|
68
71
|
'name': value['name'],
|
|
69
72
|
'negativeCache': NegativeCacheAttributesToJSON(value['negativeCache']),
|
|
@@ -73,6 +76,7 @@ export function NpmProxyApiRepositoryToJSONTyped(value, ignoreDiscriminator = fa
|
|
|
73
76
|
'replication': ReplicationAttributesToJSON(value['replication']),
|
|
74
77
|
'routingRuleName': value['routingRuleName'],
|
|
75
78
|
'storage': StorageAttributesToJSON(value['storage']),
|
|
79
|
+
'type': value['type'],
|
|
76
80
|
'url': value['url'],
|
|
77
81
|
};
|
|
78
82
|
}
|
|
@@ -17,6 +17,12 @@ import type { StorageAttributes } from './StorageAttributes';
|
|
|
17
17
|
* @interface SimpleApiGroupDeployRepository
|
|
18
18
|
*/
|
|
19
19
|
export interface SimpleApiGroupDeployRepository {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof SimpleApiGroupDeployRepository
|
|
24
|
+
*/
|
|
25
|
+
format?: string;
|
|
20
26
|
/**
|
|
21
27
|
*
|
|
22
28
|
* @type {GroupDeployAttributes}
|
|
@@ -41,6 +47,18 @@ export interface SimpleApiGroupDeployRepository {
|
|
|
41
47
|
* @memberof SimpleApiGroupDeployRepository
|
|
42
48
|
*/
|
|
43
49
|
storage: StorageAttributes;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {string}
|
|
53
|
+
* @memberof SimpleApiGroupDeployRepository
|
|
54
|
+
*/
|
|
55
|
+
type?: string;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {string}
|
|
59
|
+
* @memberof SimpleApiGroupDeployRepository
|
|
60
|
+
*/
|
|
61
|
+
url?: string;
|
|
44
62
|
}
|
|
45
63
|
/**
|
|
46
64
|
* Check if a given object implements the SimpleApiGroupDeployRepository interface.
|
|
@@ -33,10 +33,13 @@ export function SimpleApiGroupDeployRepositoryFromJSONTyped(json, ignoreDiscrimi
|
|
|
33
33
|
return json;
|
|
34
34
|
}
|
|
35
35
|
return {
|
|
36
|
+
'format': json['format'] == null ? undefined : json['format'],
|
|
36
37
|
'group': GroupDeployAttributesFromJSON(json['group']),
|
|
37
38
|
'name': json['name'] == null ? undefined : json['name'],
|
|
38
39
|
'online': json['online'],
|
|
39
40
|
'storage': StorageAttributesFromJSON(json['storage']),
|
|
41
|
+
'type': json['type'] == null ? undefined : json['type'],
|
|
42
|
+
'url': json['url'] == null ? undefined : json['url'],
|
|
40
43
|
};
|
|
41
44
|
}
|
|
42
45
|
export function SimpleApiGroupDeployRepositoryToJSON(json) {
|
|
@@ -47,7 +50,10 @@ export function SimpleApiGroupDeployRepositoryToJSONTyped(value, ignoreDiscrimin
|
|
|
47
50
|
return value;
|
|
48
51
|
}
|
|
49
52
|
return {
|
|
53
|
+
'format': value['format'],
|
|
50
54
|
'group': GroupDeployAttributesToJSON(value['group']),
|
|
51
55
|
'storage': StorageAttributesToJSON(value['storage']),
|
|
56
|
+
'type': value['type'],
|
|
57
|
+
'url': value['url'],
|
|
52
58
|
};
|
|
53
59
|
}
|
|
@@ -28,6 +28,12 @@ export interface NpmProxyApiRepository {
|
|
|
28
28
|
* @memberof NpmProxyApiRepository
|
|
29
29
|
*/
|
|
30
30
|
cleanup?: CleanupPolicyAttributes;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof NpmProxyApiRepository
|
|
35
|
+
*/
|
|
36
|
+
format?: string;
|
|
31
37
|
/**
|
|
32
38
|
*
|
|
33
39
|
* @type {HttpClientAttributes}
|
|
@@ -82,6 +88,12 @@ export interface NpmProxyApiRepository {
|
|
|
82
88
|
* @memberof NpmProxyApiRepository
|
|
83
89
|
*/
|
|
84
90
|
storage: StorageAttributes;
|
|
91
|
+
/**
|
|
92
|
+
*
|
|
93
|
+
* @type {string}
|
|
94
|
+
* @memberof NpmProxyApiRepository
|
|
95
|
+
*/
|
|
96
|
+
type?: string;
|
|
85
97
|
/**
|
|
86
98
|
*
|
|
87
99
|
* @type {string}
|
|
@@ -50,6 +50,7 @@ function NpmProxyApiRepositoryFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
50
50
|
}
|
|
51
51
|
return {
|
|
52
52
|
'cleanup': json['cleanup'] == null ? undefined : (0, CleanupPolicyAttributes_1.CleanupPolicyAttributesFromJSON)(json['cleanup']),
|
|
53
|
+
'format': json['format'] == null ? undefined : json['format'],
|
|
53
54
|
'httpClient': (0, HttpClientAttributes_1.HttpClientAttributesFromJSON)(json['httpClient']),
|
|
54
55
|
'name': json['name'] == null ? undefined : json['name'],
|
|
55
56
|
'negativeCache': (0, NegativeCacheAttributes_1.NegativeCacheAttributesFromJSON)(json['negativeCache']),
|
|
@@ -59,6 +60,7 @@ function NpmProxyApiRepositoryFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
59
60
|
'replication': json['replication'] == null ? undefined : (0, ReplicationAttributes_1.ReplicationAttributesFromJSON)(json['replication']),
|
|
60
61
|
'routingRuleName': json['routingRuleName'] == null ? undefined : json['routingRuleName'],
|
|
61
62
|
'storage': (0, StorageAttributes_1.StorageAttributesFromJSON)(json['storage']),
|
|
63
|
+
'type': json['type'] == null ? undefined : json['type'],
|
|
62
64
|
'url': json['url'] == null ? undefined : json['url'],
|
|
63
65
|
};
|
|
64
66
|
}
|
|
@@ -71,6 +73,7 @@ function NpmProxyApiRepositoryToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
71
73
|
}
|
|
72
74
|
return {
|
|
73
75
|
'cleanup': (0, CleanupPolicyAttributes_1.CleanupPolicyAttributesToJSON)(value['cleanup']),
|
|
76
|
+
'format': value['format'],
|
|
74
77
|
'httpClient': (0, HttpClientAttributes_1.HttpClientAttributesToJSON)(value['httpClient']),
|
|
75
78
|
'name': value['name'],
|
|
76
79
|
'negativeCache': (0, NegativeCacheAttributes_1.NegativeCacheAttributesToJSON)(value['negativeCache']),
|
|
@@ -80,6 +83,7 @@ function NpmProxyApiRepositoryToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
80
83
|
'replication': (0, ReplicationAttributes_1.ReplicationAttributesToJSON)(value['replication']),
|
|
81
84
|
'routingRuleName': value['routingRuleName'],
|
|
82
85
|
'storage': (0, StorageAttributes_1.StorageAttributesToJSON)(value['storage']),
|
|
86
|
+
'type': value['type'],
|
|
83
87
|
'url': value['url'],
|
|
84
88
|
};
|
|
85
89
|
}
|
|
@@ -17,6 +17,12 @@ import type { StorageAttributes } from './StorageAttributes';
|
|
|
17
17
|
* @interface SimpleApiGroupDeployRepository
|
|
18
18
|
*/
|
|
19
19
|
export interface SimpleApiGroupDeployRepository {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof SimpleApiGroupDeployRepository
|
|
24
|
+
*/
|
|
25
|
+
format?: string;
|
|
20
26
|
/**
|
|
21
27
|
*
|
|
22
28
|
* @type {GroupDeployAttributes}
|
|
@@ -41,6 +47,18 @@ export interface SimpleApiGroupDeployRepository {
|
|
|
41
47
|
* @memberof SimpleApiGroupDeployRepository
|
|
42
48
|
*/
|
|
43
49
|
storage: StorageAttributes;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {string}
|
|
53
|
+
* @memberof SimpleApiGroupDeployRepository
|
|
54
|
+
*/
|
|
55
|
+
type?: string;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {string}
|
|
59
|
+
* @memberof SimpleApiGroupDeployRepository
|
|
60
|
+
*/
|
|
61
|
+
url?: string;
|
|
44
62
|
}
|
|
45
63
|
/**
|
|
46
64
|
* Check if a given object implements the SimpleApiGroupDeployRepository interface.
|
|
@@ -40,10 +40,13 @@ function SimpleApiGroupDeployRepositoryFromJSONTyped(json, ignoreDiscriminator)
|
|
|
40
40
|
return json;
|
|
41
41
|
}
|
|
42
42
|
return {
|
|
43
|
+
'format': json['format'] == null ? undefined : json['format'],
|
|
43
44
|
'group': (0, GroupDeployAttributes_1.GroupDeployAttributesFromJSON)(json['group']),
|
|
44
45
|
'name': json['name'] == null ? undefined : json['name'],
|
|
45
46
|
'online': json['online'],
|
|
46
47
|
'storage': (0, StorageAttributes_1.StorageAttributesFromJSON)(json['storage']),
|
|
48
|
+
'type': json['type'] == null ? undefined : json['type'],
|
|
49
|
+
'url': json['url'] == null ? undefined : json['url'],
|
|
47
50
|
};
|
|
48
51
|
}
|
|
49
52
|
function SimpleApiGroupDeployRepositoryToJSON(json) {
|
|
@@ -54,7 +57,10 @@ function SimpleApiGroupDeployRepositoryToJSONTyped(value, ignoreDiscriminator =
|
|
|
54
57
|
return value;
|
|
55
58
|
}
|
|
56
59
|
return {
|
|
60
|
+
'format': value['format'],
|
|
57
61
|
'group': (0, GroupDeployAttributes_1.GroupDeployAttributesToJSON)(value['group']),
|
|
58
62
|
'storage': (0, StorageAttributes_1.StorageAttributesToJSON)(value['storage']),
|
|
63
|
+
'type': value['type'],
|
|
64
|
+
'url': value['url'],
|
|
59
65
|
};
|
|
60
66
|
}
|
package/package.json
CHANGED
|
@@ -75,6 +75,12 @@ export interface NpmProxyApiRepository {
|
|
|
75
75
|
* @memberof NpmProxyApiRepository
|
|
76
76
|
*/
|
|
77
77
|
cleanup?: CleanupPolicyAttributes;
|
|
78
|
+
/**
|
|
79
|
+
*
|
|
80
|
+
* @type {string}
|
|
81
|
+
* @memberof NpmProxyApiRepository
|
|
82
|
+
*/
|
|
83
|
+
format?: string;
|
|
78
84
|
/**
|
|
79
85
|
*
|
|
80
86
|
* @type {HttpClientAttributes}
|
|
@@ -129,6 +135,12 @@ export interface NpmProxyApiRepository {
|
|
|
129
135
|
* @memberof NpmProxyApiRepository
|
|
130
136
|
*/
|
|
131
137
|
storage: StorageAttributes;
|
|
138
|
+
/**
|
|
139
|
+
*
|
|
140
|
+
* @type {string}
|
|
141
|
+
* @memberof NpmProxyApiRepository
|
|
142
|
+
*/
|
|
143
|
+
type?: string;
|
|
132
144
|
/**
|
|
133
145
|
*
|
|
134
146
|
* @type {string}
|
|
@@ -160,6 +172,7 @@ export function NpmProxyApiRepositoryFromJSONTyped(json: any, ignoreDiscriminato
|
|
|
160
172
|
return {
|
|
161
173
|
|
|
162
174
|
'cleanup': json['cleanup'] == null ? undefined : CleanupPolicyAttributesFromJSON(json['cleanup']),
|
|
175
|
+
'format': json['format'] == null ? undefined : json['format'],
|
|
163
176
|
'httpClient': HttpClientAttributesFromJSON(json['httpClient']),
|
|
164
177
|
'name': json['name'] == null ? undefined : json['name'],
|
|
165
178
|
'negativeCache': NegativeCacheAttributesFromJSON(json['negativeCache']),
|
|
@@ -169,6 +182,7 @@ export function NpmProxyApiRepositoryFromJSONTyped(json: any, ignoreDiscriminato
|
|
|
169
182
|
'replication': json['replication'] == null ? undefined : ReplicationAttributesFromJSON(json['replication']),
|
|
170
183
|
'routingRuleName': json['routingRuleName'] == null ? undefined : json['routingRuleName'],
|
|
171
184
|
'storage': StorageAttributesFromJSON(json['storage']),
|
|
185
|
+
'type': json['type'] == null ? undefined : json['type'],
|
|
172
186
|
'url': json['url'] == null ? undefined : json['url'],
|
|
173
187
|
};
|
|
174
188
|
}
|
|
@@ -185,6 +199,7 @@ export function NpmProxyApiRepositoryToJSONTyped(value?: NpmProxyApiRepository |
|
|
|
185
199
|
return {
|
|
186
200
|
|
|
187
201
|
'cleanup': CleanupPolicyAttributesToJSON(value['cleanup']),
|
|
202
|
+
'format': value['format'],
|
|
188
203
|
'httpClient': HttpClientAttributesToJSON(value['httpClient']),
|
|
189
204
|
'name': value['name'],
|
|
190
205
|
'negativeCache': NegativeCacheAttributesToJSON(value['negativeCache']),
|
|
@@ -194,6 +209,7 @@ export function NpmProxyApiRepositoryToJSONTyped(value?: NpmProxyApiRepository |
|
|
|
194
209
|
'replication': ReplicationAttributesToJSON(value['replication']),
|
|
195
210
|
'routingRuleName': value['routingRuleName'],
|
|
196
211
|
'storage': StorageAttributesToJSON(value['storage']),
|
|
212
|
+
'type': value['type'],
|
|
197
213
|
'url': value['url'],
|
|
198
214
|
};
|
|
199
215
|
}
|
|
@@ -34,6 +34,12 @@ import {
|
|
|
34
34
|
* @interface SimpleApiGroupDeployRepository
|
|
35
35
|
*/
|
|
36
36
|
export interface SimpleApiGroupDeployRepository {
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof SimpleApiGroupDeployRepository
|
|
41
|
+
*/
|
|
42
|
+
format?: string;
|
|
37
43
|
/**
|
|
38
44
|
*
|
|
39
45
|
* @type {GroupDeployAttributes}
|
|
@@ -58,6 +64,18 @@ export interface SimpleApiGroupDeployRepository {
|
|
|
58
64
|
* @memberof SimpleApiGroupDeployRepository
|
|
59
65
|
*/
|
|
60
66
|
storage: StorageAttributes;
|
|
67
|
+
/**
|
|
68
|
+
*
|
|
69
|
+
* @type {string}
|
|
70
|
+
* @memberof SimpleApiGroupDeployRepository
|
|
71
|
+
*/
|
|
72
|
+
type?: string;
|
|
73
|
+
/**
|
|
74
|
+
*
|
|
75
|
+
* @type {string}
|
|
76
|
+
* @memberof SimpleApiGroupDeployRepository
|
|
77
|
+
*/
|
|
78
|
+
url?: string;
|
|
61
79
|
}
|
|
62
80
|
|
|
63
81
|
/**
|
|
@@ -80,10 +98,13 @@ export function SimpleApiGroupDeployRepositoryFromJSONTyped(json: any, ignoreDis
|
|
|
80
98
|
}
|
|
81
99
|
return {
|
|
82
100
|
|
|
101
|
+
'format': json['format'] == null ? undefined : json['format'],
|
|
83
102
|
'group': GroupDeployAttributesFromJSON(json['group']),
|
|
84
103
|
'name': json['name'] == null ? undefined : json['name'],
|
|
85
104
|
'online': json['online'],
|
|
86
105
|
'storage': StorageAttributesFromJSON(json['storage']),
|
|
106
|
+
'type': json['type'] == null ? undefined : json['type'],
|
|
107
|
+
'url': json['url'] == null ? undefined : json['url'],
|
|
87
108
|
};
|
|
88
109
|
}
|
|
89
110
|
|
|
@@ -98,8 +119,11 @@ export function SimpleApiGroupDeployRepositoryToJSONTyped(value?: Omit<SimpleApi
|
|
|
98
119
|
|
|
99
120
|
return {
|
|
100
121
|
|
|
122
|
+
'format': value['format'],
|
|
101
123
|
'group': GroupDeployAttributesToJSON(value['group']),
|
|
102
124
|
'storage': StorageAttributesToJSON(value['storage']),
|
|
125
|
+
'type': value['type'],
|
|
126
|
+
'url': value['url'],
|
|
103
127
|
};
|
|
104
128
|
}
|
|
105
129
|
|