@sonatype/nexus-repo-api-client 3.81.27 → 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.
@@ -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
  }
@@ -9,8 +9,8 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import type { GroupDeployAttributes } from './GroupDeployAttributes';
12
13
  import type { StorageAttributes } from './StorageAttributes';
13
- import type { GroupAttributes } from './GroupAttributes';
14
14
  /**
15
15
  *
16
16
  * @export
@@ -19,10 +19,10 @@ import type { GroupAttributes } from './GroupAttributes';
19
19
  export interface PypiGroupRepositoryApiRequest {
20
20
  /**
21
21
  *
22
- * @type {GroupAttributes}
22
+ * @type {GroupDeployAttributes}
23
23
  * @memberof PypiGroupRepositoryApiRequest
24
24
  */
25
- group: GroupAttributes;
25
+ group: GroupDeployAttributes;
26
26
  /**
27
27
  * A unique identifier for this repository
28
28
  * @type {string}
@@ -11,8 +11,8 @@
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
+ import { GroupDeployAttributesFromJSON, GroupDeployAttributesToJSON, } from './GroupDeployAttributes';
14
15
  import { StorageAttributesFromJSON, StorageAttributesToJSON, } from './StorageAttributes';
15
- import { GroupAttributesFromJSON, GroupAttributesToJSON, } from './GroupAttributes';
16
16
  /**
17
17
  * Check if a given object implements the PypiGroupRepositoryApiRequest interface.
18
18
  */
@@ -35,7 +35,7 @@ export function PypiGroupRepositoryApiRequestFromJSONTyped(json, ignoreDiscrimin
35
35
  return json;
36
36
  }
37
37
  return {
38
- 'group': GroupAttributesFromJSON(json['group']),
38
+ 'group': GroupDeployAttributesFromJSON(json['group']),
39
39
  'name': json['name'],
40
40
  'online': json['online'],
41
41
  'storage': StorageAttributesFromJSON(json['storage']),
@@ -49,7 +49,7 @@ export function PypiGroupRepositoryApiRequestToJSONTyped(value, ignoreDiscrimina
49
49
  return value;
50
50
  }
51
51
  return {
52
- 'group': GroupAttributesToJSON(value['group']),
52
+ 'group': GroupDeployAttributesToJSON(value['group']),
53
53
  'name': value['name'],
54
54
  'online': value['online'],
55
55
  'storage': StorageAttributesToJSON(value['storage']),
@@ -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
  }
@@ -9,8 +9,8 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import type { GroupDeployAttributes } from './GroupDeployAttributes';
12
13
  import type { StorageAttributes } from './StorageAttributes';
13
- import type { GroupAttributes } from './GroupAttributes';
14
14
  /**
15
15
  *
16
16
  * @export
@@ -19,10 +19,10 @@ import type { GroupAttributes } from './GroupAttributes';
19
19
  export interface PypiGroupRepositoryApiRequest {
20
20
  /**
21
21
  *
22
- * @type {GroupAttributes}
22
+ * @type {GroupDeployAttributes}
23
23
  * @memberof PypiGroupRepositoryApiRequest
24
24
  */
25
- group: GroupAttributes;
25
+ group: GroupDeployAttributes;
26
26
  /**
27
27
  * A unique identifier for this repository
28
28
  * @type {string}
@@ -18,8 +18,8 @@ exports.PypiGroupRepositoryApiRequestFromJSON = PypiGroupRepositoryApiRequestFro
18
18
  exports.PypiGroupRepositoryApiRequestFromJSONTyped = PypiGroupRepositoryApiRequestFromJSONTyped;
19
19
  exports.PypiGroupRepositoryApiRequestToJSON = PypiGroupRepositoryApiRequestToJSON;
20
20
  exports.PypiGroupRepositoryApiRequestToJSONTyped = PypiGroupRepositoryApiRequestToJSONTyped;
21
+ const GroupDeployAttributes_1 = require("./GroupDeployAttributes");
21
22
  const StorageAttributes_1 = require("./StorageAttributes");
22
- const GroupAttributes_1 = require("./GroupAttributes");
23
23
  /**
24
24
  * Check if a given object implements the PypiGroupRepositoryApiRequest interface.
25
25
  */
@@ -42,7 +42,7 @@ function PypiGroupRepositoryApiRequestFromJSONTyped(json, ignoreDiscriminator) {
42
42
  return json;
43
43
  }
44
44
  return {
45
- 'group': (0, GroupAttributes_1.GroupAttributesFromJSON)(json['group']),
45
+ 'group': (0, GroupDeployAttributes_1.GroupDeployAttributesFromJSON)(json['group']),
46
46
  'name': json['name'],
47
47
  'online': json['online'],
48
48
  'storage': (0, StorageAttributes_1.StorageAttributesFromJSON)(json['storage']),
@@ -56,7 +56,7 @@ function PypiGroupRepositoryApiRequestToJSONTyped(value, ignoreDiscriminator = f
56
56
  return value;
57
57
  }
58
58
  return {
59
- 'group': (0, GroupAttributes_1.GroupAttributesToJSON)(value['group']),
59
+ 'group': (0, GroupDeployAttributes_1.GroupDeployAttributesToJSON)(value['group']),
60
60
  'name': value['name'],
61
61
  'online': value['online'],
62
62
  'storage': (0, StorageAttributes_1.StorageAttributesToJSON)(value['storage']),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sonatype/nexus-repo-api-client",
3
- "version": "3.81.27",
3
+ "version": "3.81.29",
4
4
  "description": "OpenAPI client for @sonatype/nexus-repo-api-client",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -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
 
@@ -13,6 +13,13 @@
13
13
  */
14
14
 
15
15
  import { mapValues } from '../runtime';
16
+ import type { GroupDeployAttributes } from './GroupDeployAttributes';
17
+ import {
18
+ GroupDeployAttributesFromJSON,
19
+ GroupDeployAttributesFromJSONTyped,
20
+ GroupDeployAttributesToJSON,
21
+ GroupDeployAttributesToJSONTyped,
22
+ } from './GroupDeployAttributes';
16
23
  import type { StorageAttributes } from './StorageAttributes';
17
24
  import {
18
25
  StorageAttributesFromJSON,
@@ -20,13 +27,6 @@ import {
20
27
  StorageAttributesToJSON,
21
28
  StorageAttributesToJSONTyped,
22
29
  } from './StorageAttributes';
23
- import type { GroupAttributes } from './GroupAttributes';
24
- import {
25
- GroupAttributesFromJSON,
26
- GroupAttributesFromJSONTyped,
27
- GroupAttributesToJSON,
28
- GroupAttributesToJSONTyped,
29
- } from './GroupAttributes';
30
30
 
31
31
  /**
32
32
  *
@@ -36,10 +36,10 @@ import {
36
36
  export interface PypiGroupRepositoryApiRequest {
37
37
  /**
38
38
  *
39
- * @type {GroupAttributes}
39
+ * @type {GroupDeployAttributes}
40
40
  * @memberof PypiGroupRepositoryApiRequest
41
41
  */
42
- group: GroupAttributes;
42
+ group: GroupDeployAttributes;
43
43
  /**
44
44
  * A unique identifier for this repository
45
45
  * @type {string}
@@ -81,7 +81,7 @@ export function PypiGroupRepositoryApiRequestFromJSONTyped(json: any, ignoreDisc
81
81
  }
82
82
  return {
83
83
 
84
- 'group': GroupAttributesFromJSON(json['group']),
84
+ 'group': GroupDeployAttributesFromJSON(json['group']),
85
85
  'name': json['name'],
86
86
  'online': json['online'],
87
87
  'storage': StorageAttributesFromJSON(json['storage']),
@@ -99,7 +99,7 @@ export function PypiGroupRepositoryApiRequestToJSONTyped(value?: PypiGroupReposi
99
99
 
100
100
  return {
101
101
 
102
- 'group': GroupAttributesToJSON(value['group']),
102
+ 'group': GroupDeployAttributesToJSON(value['group']),
103
103
  'name': value['name'],
104
104
  'online': value['online'],
105
105
  'storage': StorageAttributesToJSON(value['storage']),