@sonatype/nexus-repo-api-client 3.95.2 → 3.95.3

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.
@@ -10,6 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import type { NegativeCacheAttributes } from './NegativeCacheAttributes';
13
+ import type { FirewallAttributes } from './FirewallAttributes';
13
14
  import type { ProxyAttributes } from './ProxyAttributes';
14
15
  import type { StorageAttributes } from './StorageAttributes';
15
16
  import type { HttpClientAttributes } from './HttpClientAttributes';
@@ -28,6 +29,12 @@ export interface PyPiProxyApiRepository {
28
29
  * @memberof PyPiProxyApiRepository
29
30
  */
30
31
  cleanup?: CleanupPolicyAttributes;
32
+ /**
33
+ *
34
+ * @type {FirewallAttributes}
35
+ * @memberof PyPiProxyApiRepository
36
+ */
37
+ firewall?: FirewallAttributes;
31
38
  /**
32
39
  *
33
40
  * @type {string}
@@ -12,6 +12,7 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
  import { NegativeCacheAttributesFromJSON, NegativeCacheAttributesToJSON, } from './NegativeCacheAttributes';
15
+ import { FirewallAttributesFromJSON, FirewallAttributesToJSON, } from './FirewallAttributes';
15
16
  import { ProxyAttributesFromJSON, ProxyAttributesToJSON, } from './ProxyAttributes';
16
17
  import { StorageAttributesFromJSON, StorageAttributesToJSON, } from './StorageAttributes';
17
18
  import { HttpClientAttributesFromJSON, HttpClientAttributesToJSON, } from './HttpClientAttributes';
@@ -53,6 +54,7 @@ export function PyPiProxyApiRepositoryFromJSONTyped(json, ignoreDiscriminator) {
53
54
  }
54
55
  return {
55
56
  'cleanup': json['cleanup'] == null ? undefined : CleanupPolicyAttributesFromJSON(json['cleanup']),
57
+ 'firewall': json['firewall'] == null ? undefined : FirewallAttributesFromJSON(json['firewall']),
56
58
  'format': json['format'],
57
59
  'httpClient': HttpClientAttributesFromJSON(json['httpClient']),
58
60
  'name': json['name'],
@@ -76,6 +78,7 @@ export function PyPiProxyApiRepositoryToJSONTyped(value, ignoreDiscriminator = f
76
78
  }
77
79
  return {
78
80
  'cleanup': CleanupPolicyAttributesToJSON(value['cleanup']),
81
+ 'firewall': FirewallAttributesToJSON(value['firewall']),
79
82
  'format': value['format'],
80
83
  'httpClient': HttpClientAttributesToJSON(value['httpClient']),
81
84
  'name': value['name'],
@@ -10,6 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import type { NegativeCacheAttributes } from './NegativeCacheAttributes';
13
+ import type { FirewallAttributes } from './FirewallAttributes';
13
14
  import type { ProxyAttributes } from './ProxyAttributes';
14
15
  import type { StorageAttributes } from './StorageAttributes';
15
16
  import type { HttpClientAttributes } from './HttpClientAttributes';
@@ -28,6 +29,12 @@ export interface PyPiProxyApiRepository {
28
29
  * @memberof PyPiProxyApiRepository
29
30
  */
30
31
  cleanup?: CleanupPolicyAttributes;
32
+ /**
33
+ *
34
+ * @type {FirewallAttributes}
35
+ * @memberof PyPiProxyApiRepository
36
+ */
37
+ firewall?: FirewallAttributes;
31
38
  /**
32
39
  *
33
40
  * @type {string}
@@ -19,6 +19,7 @@ exports.PyPiProxyApiRepositoryFromJSONTyped = PyPiProxyApiRepositoryFromJSONType
19
19
  exports.PyPiProxyApiRepositoryToJSON = PyPiProxyApiRepositoryToJSON;
20
20
  exports.PyPiProxyApiRepositoryToJSONTyped = PyPiProxyApiRepositoryToJSONTyped;
21
21
  const NegativeCacheAttributes_1 = require("./NegativeCacheAttributes");
22
+ const FirewallAttributes_1 = require("./FirewallAttributes");
22
23
  const ProxyAttributes_1 = require("./ProxyAttributes");
23
24
  const StorageAttributes_1 = require("./StorageAttributes");
24
25
  const HttpClientAttributes_1 = require("./HttpClientAttributes");
@@ -60,6 +61,7 @@ function PyPiProxyApiRepositoryFromJSONTyped(json, ignoreDiscriminator) {
60
61
  }
61
62
  return {
62
63
  'cleanup': json['cleanup'] == null ? undefined : (0, CleanupPolicyAttributes_1.CleanupPolicyAttributesFromJSON)(json['cleanup']),
64
+ 'firewall': json['firewall'] == null ? undefined : (0, FirewallAttributes_1.FirewallAttributesFromJSON)(json['firewall']),
63
65
  'format': json['format'],
64
66
  'httpClient': (0, HttpClientAttributes_1.HttpClientAttributesFromJSON)(json['httpClient']),
65
67
  'name': json['name'],
@@ -83,6 +85,7 @@ function PyPiProxyApiRepositoryToJSONTyped(value, ignoreDiscriminator = false) {
83
85
  }
84
86
  return {
85
87
  'cleanup': (0, CleanupPolicyAttributes_1.CleanupPolicyAttributesToJSON)(value['cleanup']),
88
+ 'firewall': (0, FirewallAttributes_1.FirewallAttributesToJSON)(value['firewall']),
86
89
  'format': value['format'],
87
90
  'httpClient': (0, HttpClientAttributes_1.HttpClientAttributesToJSON)(value['httpClient']),
88
91
  'name': value['name'],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sonatype/nexus-repo-api-client",
3
- "version": "3.95.2",
3
+ "version": "3.95.3",
4
4
  "description": "OpenAPI client for @sonatype/nexus-repo-api-client",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -20,6 +20,13 @@ import {
20
20
  NegativeCacheAttributesToJSON,
21
21
  NegativeCacheAttributesToJSONTyped,
22
22
  } from './NegativeCacheAttributes';
23
+ import type { FirewallAttributes } from './FirewallAttributes';
24
+ import {
25
+ FirewallAttributesFromJSON,
26
+ FirewallAttributesFromJSONTyped,
27
+ FirewallAttributesToJSON,
28
+ FirewallAttributesToJSONTyped,
29
+ } from './FirewallAttributes';
23
30
  import type { ProxyAttributes } from './ProxyAttributes';
24
31
  import {
25
32
  ProxyAttributesFromJSON,
@@ -75,6 +82,12 @@ export interface PyPiProxyApiRepository {
75
82
  * @memberof PyPiProxyApiRepository
76
83
  */
77
84
  cleanup?: CleanupPolicyAttributes;
85
+ /**
86
+ *
87
+ * @type {FirewallAttributes}
88
+ * @memberof PyPiProxyApiRepository
89
+ */
90
+ firewall?: FirewallAttributes;
78
91
  /**
79
92
  *
80
93
  * @type {string}
@@ -177,6 +190,7 @@ export function PyPiProxyApiRepositoryFromJSONTyped(json: any, ignoreDiscriminat
177
190
  return {
178
191
 
179
192
  'cleanup': json['cleanup'] == null ? undefined : CleanupPolicyAttributesFromJSON(json['cleanup']),
193
+ 'firewall': json['firewall'] == null ? undefined : FirewallAttributesFromJSON(json['firewall']),
180
194
  'format': json['format'],
181
195
  'httpClient': HttpClientAttributesFromJSON(json['httpClient']),
182
196
  'name': json['name'],
@@ -204,6 +218,7 @@ export function PyPiProxyApiRepositoryToJSONTyped(value?: PyPiProxyApiRepository
204
218
  return {
205
219
 
206
220
  'cleanup': CleanupPolicyAttributesToJSON(value['cleanup']),
221
+ 'firewall': FirewallAttributesToJSON(value['firewall']),
207
222
  'format': value['format'],
208
223
  'httpClient': HttpClientAttributesToJSON(value['httpClient']),
209
224
  'name': value['name'],