@sonatype/nexus-repo-api-client 3.81.30 → 3.81.31

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,8 +10,8 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import type { ComponentAttributes } from './ComponentAttributes';
13
+ import type { HostedStorageAttributes } from './HostedStorageAttributes';
13
14
  import type { RawAttributes } from './RawAttributes';
14
- import type { StorageAttributes } from './StorageAttributes';
15
15
  import type { CleanupPolicyAttributes } from './CleanupPolicyAttributes';
16
16
  /**
17
17
  *
@@ -57,10 +57,10 @@ export interface RawHostedApiRepository {
57
57
  raw: RawAttributes;
58
58
  /**
59
59
  *
60
- * @type {StorageAttributes}
60
+ * @type {HostedStorageAttributes}
61
61
  * @memberof RawHostedApiRepository
62
62
  */
63
- storage: StorageAttributes;
63
+ storage: HostedStorageAttributes;
64
64
  /**
65
65
  *
66
66
  * @type {string}
@@ -12,8 +12,8 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
  import { ComponentAttributesFromJSON, ComponentAttributesToJSON, } from './ComponentAttributes';
15
+ import { HostedStorageAttributesFromJSON, HostedStorageAttributesToJSON, } from './HostedStorageAttributes';
15
16
  import { RawAttributesFromJSON, RawAttributesToJSON, } from './RawAttributes';
16
- import { StorageAttributesFromJSON, StorageAttributesToJSON, } from './StorageAttributes';
17
17
  import { CleanupPolicyAttributesFromJSON, CleanupPolicyAttributesToJSON, } from './CleanupPolicyAttributes';
18
18
  /**
19
19
  * Check if a given object implements the RawHostedApiRepository interface.
@@ -49,7 +49,7 @@ export function RawHostedApiRepositoryFromJSONTyped(json, ignoreDiscriminator) {
49
49
  'name': json['name'],
50
50
  'online': json['online'],
51
51
  'raw': RawAttributesFromJSON(json['raw']),
52
- 'storage': StorageAttributesFromJSON(json['storage']),
52
+ 'storage': HostedStorageAttributesFromJSON(json['storage']),
53
53
  'type': json['type'],
54
54
  'url': json['url'],
55
55
  };
@@ -68,7 +68,7 @@ export function RawHostedApiRepositoryToJSONTyped(value, ignoreDiscriminator = f
68
68
  'name': value['name'],
69
69
  'online': value['online'],
70
70
  'raw': RawAttributesToJSON(value['raw']),
71
- 'storage': StorageAttributesToJSON(value['storage']),
71
+ 'storage': HostedStorageAttributesToJSON(value['storage']),
72
72
  'type': value['type'],
73
73
  'url': value['url'],
74
74
  };
@@ -10,8 +10,8 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import type { ComponentAttributes } from './ComponentAttributes';
13
+ import type { HostedStorageAttributes } from './HostedStorageAttributes';
13
14
  import type { RawAttributes } from './RawAttributes';
14
- import type { StorageAttributes } from './StorageAttributes';
15
15
  import type { CleanupPolicyAttributes } from './CleanupPolicyAttributes';
16
16
  /**
17
17
  *
@@ -57,10 +57,10 @@ export interface RawHostedApiRepository {
57
57
  raw: RawAttributes;
58
58
  /**
59
59
  *
60
- * @type {StorageAttributes}
60
+ * @type {HostedStorageAttributes}
61
61
  * @memberof RawHostedApiRepository
62
62
  */
63
- storage: StorageAttributes;
63
+ storage: HostedStorageAttributes;
64
64
  /**
65
65
  *
66
66
  * @type {string}
@@ -19,8 +19,8 @@ exports.RawHostedApiRepositoryFromJSONTyped = RawHostedApiRepositoryFromJSONType
19
19
  exports.RawHostedApiRepositoryToJSON = RawHostedApiRepositoryToJSON;
20
20
  exports.RawHostedApiRepositoryToJSONTyped = RawHostedApiRepositoryToJSONTyped;
21
21
  const ComponentAttributes_1 = require("./ComponentAttributes");
22
+ const HostedStorageAttributes_1 = require("./HostedStorageAttributes");
22
23
  const RawAttributes_1 = require("./RawAttributes");
23
- const StorageAttributes_1 = require("./StorageAttributes");
24
24
  const CleanupPolicyAttributes_1 = require("./CleanupPolicyAttributes");
25
25
  /**
26
26
  * Check if a given object implements the RawHostedApiRepository interface.
@@ -56,7 +56,7 @@ function RawHostedApiRepositoryFromJSONTyped(json, ignoreDiscriminator) {
56
56
  'name': json['name'],
57
57
  'online': json['online'],
58
58
  'raw': (0, RawAttributes_1.RawAttributesFromJSON)(json['raw']),
59
- 'storage': (0, StorageAttributes_1.StorageAttributesFromJSON)(json['storage']),
59
+ 'storage': (0, HostedStorageAttributes_1.HostedStorageAttributesFromJSON)(json['storage']),
60
60
  'type': json['type'],
61
61
  'url': json['url'],
62
62
  };
@@ -75,7 +75,7 @@ function RawHostedApiRepositoryToJSONTyped(value, ignoreDiscriminator = false) {
75
75
  'name': value['name'],
76
76
  'online': value['online'],
77
77
  'raw': (0, RawAttributes_1.RawAttributesToJSON)(value['raw']),
78
- 'storage': (0, StorageAttributes_1.StorageAttributesToJSON)(value['storage']),
78
+ 'storage': (0, HostedStorageAttributes_1.HostedStorageAttributesToJSON)(value['storage']),
79
79
  'type': value['type'],
80
80
  'url': value['url'],
81
81
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sonatype/nexus-repo-api-client",
3
- "version": "3.81.30",
3
+ "version": "3.81.31",
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
  ComponentAttributesToJSON,
21
21
  ComponentAttributesToJSONTyped,
22
22
  } from './ComponentAttributes';
23
+ import type { HostedStorageAttributes } from './HostedStorageAttributes';
24
+ import {
25
+ HostedStorageAttributesFromJSON,
26
+ HostedStorageAttributesFromJSONTyped,
27
+ HostedStorageAttributesToJSON,
28
+ HostedStorageAttributesToJSONTyped,
29
+ } from './HostedStorageAttributes';
23
30
  import type { RawAttributes } from './RawAttributes';
24
31
  import {
25
32
  RawAttributesFromJSON,
@@ -27,13 +34,6 @@ import {
27
34
  RawAttributesToJSON,
28
35
  RawAttributesToJSONTyped,
29
36
  } from './RawAttributes';
30
- import type { StorageAttributes } from './StorageAttributes';
31
- import {
32
- StorageAttributesFromJSON,
33
- StorageAttributesFromJSONTyped,
34
- StorageAttributesToJSON,
35
- StorageAttributesToJSONTyped,
36
- } from './StorageAttributes';
37
37
  import type { CleanupPolicyAttributes } from './CleanupPolicyAttributes';
38
38
  import {
39
39
  CleanupPolicyAttributesFromJSON,
@@ -86,10 +86,10 @@ export interface RawHostedApiRepository {
86
86
  raw: RawAttributes;
87
87
  /**
88
88
  *
89
- * @type {StorageAttributes}
89
+ * @type {HostedStorageAttributes}
90
90
  * @memberof RawHostedApiRepository
91
91
  */
92
- storage: StorageAttributes;
92
+ storage: HostedStorageAttributes;
93
93
  /**
94
94
  *
95
95
  * @type {string}
@@ -134,7 +134,7 @@ export function RawHostedApiRepositoryFromJSONTyped(json: any, ignoreDiscriminat
134
134
  'name': json['name'],
135
135
  'online': json['online'],
136
136
  'raw': RawAttributesFromJSON(json['raw']),
137
- 'storage': StorageAttributesFromJSON(json['storage']),
137
+ 'storage': HostedStorageAttributesFromJSON(json['storage']),
138
138
  'type': json['type'],
139
139
  'url': json['url'],
140
140
  };
@@ -157,7 +157,7 @@ export function RawHostedApiRepositoryToJSONTyped(value?: RawHostedApiRepository
157
157
  'name': value['name'],
158
158
  'online': value['online'],
159
159
  'raw': RawAttributesToJSON(value['raw']),
160
- 'storage': StorageAttributesToJSON(value['storage']),
160
+ 'storage': HostedStorageAttributesToJSON(value['storage']),
161
161
  'type': value['type'],
162
162
  'url': value['url'],
163
163
  };