@sonatype/nexus-repo-api-client 3.81.29 → 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.
- package/.openapi-generator/FILES +3 -0
- package/dist/apis/RepositoryManagementApi.d.ts +7 -7
- package/dist/apis/RepositoryManagementApi.js +3 -3
- package/dist/esm/apis/RepositoryManagementApi.d.ts +7 -7
- package/dist/esm/apis/RepositoryManagementApi.js +4 -4
- package/dist/esm/models/RawGroupApiRepository.d.ts +77 -0
- package/dist/esm/models/RawGroupApiRepository.js +74 -0
- package/dist/esm/models/RawHostedApiRepository.d.ts +84 -0
- package/dist/esm/models/RawHostedApiRepository.js +75 -0
- package/dist/esm/models/RawProxyApiRepository.d.ts +111 -0
- package/dist/esm/models/RawProxyApiRepository.js +92 -0
- package/dist/esm/models/index.d.ts +3 -0
- package/dist/esm/models/index.js +3 -0
- package/dist/models/RawGroupApiRepository.d.ts +77 -0
- package/dist/models/RawGroupApiRepository.js +81 -0
- package/dist/models/RawHostedApiRepository.d.ts +84 -0
- package/dist/models/RawHostedApiRepository.js +82 -0
- package/dist/models/RawProxyApiRepository.d.ts +111 -0
- package/dist/models/RawProxyApiRepository.js +99 -0
- package/dist/models/index.d.ts +3 -0
- package/dist/models/index.js +3 -0
- package/package.json +1 -1
- package/src/apis/RepositoryManagementApi.ts +18 -9
- package/src/models/RawGroupApiRepository.ts +151 -0
- package/src/models/RawHostedApiRepository.ts +165 -0
- package/src/models/RawProxyApiRepository.ts +221 -0
- package/src/models/index.ts +3 -0
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Sonatype Nexus Repository Manager
|
|
5
|
+
* This documents the available APIs into [Sonatype Nexus Repository Manager](https://www.sonatype.com/products/sonatype-nexus-repository) as of version 3.81.1-01.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 3.81.1-01
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { NegativeCacheAttributesFromJSON, NegativeCacheAttributesToJSON, } from './NegativeCacheAttributes';
|
|
15
|
+
import { ProxyAttributesFromJSON, ProxyAttributesToJSON, } from './ProxyAttributes';
|
|
16
|
+
import { RawAttributesFromJSON, RawAttributesToJSON, } from './RawAttributes';
|
|
17
|
+
import { StorageAttributesFromJSON, StorageAttributesToJSON, } from './StorageAttributes';
|
|
18
|
+
import { HttpClientAttributesFromJSON, HttpClientAttributesToJSON, } from './HttpClientAttributes';
|
|
19
|
+
import { CleanupPolicyAttributesFromJSON, CleanupPolicyAttributesToJSON, } from './CleanupPolicyAttributes';
|
|
20
|
+
import { ReplicationAttributesFromJSON, ReplicationAttributesToJSON, } from './ReplicationAttributes';
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the RawProxyApiRepository interface.
|
|
23
|
+
*/
|
|
24
|
+
export function instanceOfRawProxyApiRepository(value) {
|
|
25
|
+
if (!('format' in value) || value['format'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('httpClient' in value) || value['httpClient'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('negativeCache' in value) || value['negativeCache'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('online' in value) || value['online'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('proxy' in value) || value['proxy'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
if (!('raw' in value) || value['raw'] === undefined)
|
|
38
|
+
return false;
|
|
39
|
+
if (!('storage' in value) || value['storage'] === undefined)
|
|
40
|
+
return false;
|
|
41
|
+
if (!('type' in value) || value['type'] === undefined)
|
|
42
|
+
return false;
|
|
43
|
+
if (!('url' in value) || value['url'] === undefined)
|
|
44
|
+
return false;
|
|
45
|
+
return true;
|
|
46
|
+
}
|
|
47
|
+
export function RawProxyApiRepositoryFromJSON(json) {
|
|
48
|
+
return RawProxyApiRepositoryFromJSONTyped(json, false);
|
|
49
|
+
}
|
|
50
|
+
export function RawProxyApiRepositoryFromJSONTyped(json, ignoreDiscriminator) {
|
|
51
|
+
if (json == null) {
|
|
52
|
+
return json;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
'cleanup': json['cleanup'] == null ? undefined : CleanupPolicyAttributesFromJSON(json['cleanup']),
|
|
56
|
+
'format': json['format'],
|
|
57
|
+
'httpClient': HttpClientAttributesFromJSON(json['httpClient']),
|
|
58
|
+
'name': json['name'],
|
|
59
|
+
'negativeCache': NegativeCacheAttributesFromJSON(json['negativeCache']),
|
|
60
|
+
'online': json['online'],
|
|
61
|
+
'proxy': ProxyAttributesFromJSON(json['proxy']),
|
|
62
|
+
'raw': RawAttributesFromJSON(json['raw']),
|
|
63
|
+
'replication': json['replication'] == null ? undefined : ReplicationAttributesFromJSON(json['replication']),
|
|
64
|
+
'routingRuleName': json['routingRuleName'] == null ? undefined : json['routingRuleName'],
|
|
65
|
+
'storage': StorageAttributesFromJSON(json['storage']),
|
|
66
|
+
'type': json['type'],
|
|
67
|
+
'url': json['url'],
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
export function RawProxyApiRepositoryToJSON(json) {
|
|
71
|
+
return RawProxyApiRepositoryToJSONTyped(json, false);
|
|
72
|
+
}
|
|
73
|
+
export function RawProxyApiRepositoryToJSONTyped(value, ignoreDiscriminator = false) {
|
|
74
|
+
if (value == null) {
|
|
75
|
+
return value;
|
|
76
|
+
}
|
|
77
|
+
return {
|
|
78
|
+
'cleanup': CleanupPolicyAttributesToJSON(value['cleanup']),
|
|
79
|
+
'format': value['format'],
|
|
80
|
+
'httpClient': HttpClientAttributesToJSON(value['httpClient']),
|
|
81
|
+
'name': value['name'],
|
|
82
|
+
'negativeCache': NegativeCacheAttributesToJSON(value['negativeCache']),
|
|
83
|
+
'online': value['online'],
|
|
84
|
+
'proxy': ProxyAttributesToJSON(value['proxy']),
|
|
85
|
+
'raw': RawAttributesToJSON(value['raw']),
|
|
86
|
+
'replication': ReplicationAttributesToJSON(value['replication']),
|
|
87
|
+
'routingRuleName': value['routingRuleName'],
|
|
88
|
+
'storage': StorageAttributesToJSON(value['storage']),
|
|
89
|
+
'type': value['type'],
|
|
90
|
+
'url': value['url'],
|
|
91
|
+
};
|
|
92
|
+
}
|
|
@@ -131,8 +131,11 @@ export * from './RGroupRepositoryApiRequest';
|
|
|
131
131
|
export * from './RHostedRepositoryApiRequest';
|
|
132
132
|
export * from './RProxyRepositoryApiRequest';
|
|
133
133
|
export * from './RawAttributes';
|
|
134
|
+
export * from './RawGroupApiRepository';
|
|
134
135
|
export * from './RawGroupRepositoryApiRequest';
|
|
136
|
+
export * from './RawHostedApiRepository';
|
|
135
137
|
export * from './RawHostedRepositoryApiRequest';
|
|
138
|
+
export * from './RawProxyApiRepository';
|
|
136
139
|
export * from './RawProxyRepositoryApiRequest';
|
|
137
140
|
export * from './ReEncryptionRequestApiXO';
|
|
138
141
|
export * from './ReadLdapServerXo';
|
package/dist/esm/models/index.js
CHANGED
|
@@ -133,8 +133,11 @@ export * from './RGroupRepositoryApiRequest';
|
|
|
133
133
|
export * from './RHostedRepositoryApiRequest';
|
|
134
134
|
export * from './RProxyRepositoryApiRequest';
|
|
135
135
|
export * from './RawAttributes';
|
|
136
|
+
export * from './RawGroupApiRepository';
|
|
136
137
|
export * from './RawGroupRepositoryApiRequest';
|
|
138
|
+
export * from './RawHostedApiRepository';
|
|
137
139
|
export * from './RawHostedRepositoryApiRequest';
|
|
140
|
+
export * from './RawProxyApiRepository';
|
|
138
141
|
export * from './RawProxyRepositoryApiRequest';
|
|
139
142
|
export * from './ReEncryptionRequestApiXO';
|
|
140
143
|
export * from './ReadLdapServerXo';
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Sonatype Nexus Repository Manager
|
|
3
|
+
* This documents the available APIs into [Sonatype Nexus Repository Manager](https://www.sonatype.com/products/sonatype-nexus-repository) as of version 3.81.1-01.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 3.81.1-01
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { RawAttributes } from './RawAttributes';
|
|
13
|
+
import type { StorageAttributes } from './StorageAttributes';
|
|
14
|
+
import type { GroupAttributes } from './GroupAttributes';
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
* @interface RawGroupApiRepository
|
|
19
|
+
*/
|
|
20
|
+
export interface RawGroupApiRepository {
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @type {string}
|
|
24
|
+
* @memberof RawGroupApiRepository
|
|
25
|
+
*/
|
|
26
|
+
format: string;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {GroupAttributes}
|
|
30
|
+
* @memberof RawGroupApiRepository
|
|
31
|
+
*/
|
|
32
|
+
group: GroupAttributes;
|
|
33
|
+
/**
|
|
34
|
+
* A unique identifier for this repository
|
|
35
|
+
* @type {string}
|
|
36
|
+
* @memberof RawGroupApiRepository
|
|
37
|
+
*/
|
|
38
|
+
name: string;
|
|
39
|
+
/**
|
|
40
|
+
* Whether this repository accepts incoming requests
|
|
41
|
+
* @type {boolean}
|
|
42
|
+
* @memberof RawGroupApiRepository
|
|
43
|
+
*/
|
|
44
|
+
online: boolean;
|
|
45
|
+
/**
|
|
46
|
+
*
|
|
47
|
+
* @type {RawAttributes}
|
|
48
|
+
* @memberof RawGroupApiRepository
|
|
49
|
+
*/
|
|
50
|
+
raw: RawAttributes;
|
|
51
|
+
/**
|
|
52
|
+
*
|
|
53
|
+
* @type {StorageAttributes}
|
|
54
|
+
* @memberof RawGroupApiRepository
|
|
55
|
+
*/
|
|
56
|
+
storage: StorageAttributes;
|
|
57
|
+
/**
|
|
58
|
+
*
|
|
59
|
+
* @type {string}
|
|
60
|
+
* @memberof RawGroupApiRepository
|
|
61
|
+
*/
|
|
62
|
+
type: string;
|
|
63
|
+
/**
|
|
64
|
+
*
|
|
65
|
+
* @type {string}
|
|
66
|
+
* @memberof RawGroupApiRepository
|
|
67
|
+
*/
|
|
68
|
+
url: string;
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* Check if a given object implements the RawGroupApiRepository interface.
|
|
72
|
+
*/
|
|
73
|
+
export declare function instanceOfRawGroupApiRepository(value: object): value is RawGroupApiRepository;
|
|
74
|
+
export declare function RawGroupApiRepositoryFromJSON(json: any): RawGroupApiRepository;
|
|
75
|
+
export declare function RawGroupApiRepositoryFromJSONTyped(json: any, ignoreDiscriminator: boolean): RawGroupApiRepository;
|
|
76
|
+
export declare function RawGroupApiRepositoryToJSON(json: any): RawGroupApiRepository;
|
|
77
|
+
export declare function RawGroupApiRepositoryToJSONTyped(value?: RawGroupApiRepository | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Sonatype Nexus Repository Manager
|
|
6
|
+
* This documents the available APIs into [Sonatype Nexus Repository Manager](https://www.sonatype.com/products/sonatype-nexus-repository) as of version 3.81.1-01.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 3.81.1-01
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfRawGroupApiRepository = instanceOfRawGroupApiRepository;
|
|
17
|
+
exports.RawGroupApiRepositoryFromJSON = RawGroupApiRepositoryFromJSON;
|
|
18
|
+
exports.RawGroupApiRepositoryFromJSONTyped = RawGroupApiRepositoryFromJSONTyped;
|
|
19
|
+
exports.RawGroupApiRepositoryToJSON = RawGroupApiRepositoryToJSON;
|
|
20
|
+
exports.RawGroupApiRepositoryToJSONTyped = RawGroupApiRepositoryToJSONTyped;
|
|
21
|
+
const RawAttributes_1 = require("./RawAttributes");
|
|
22
|
+
const StorageAttributes_1 = require("./StorageAttributes");
|
|
23
|
+
const GroupAttributes_1 = require("./GroupAttributes");
|
|
24
|
+
/**
|
|
25
|
+
* Check if a given object implements the RawGroupApiRepository interface.
|
|
26
|
+
*/
|
|
27
|
+
function instanceOfRawGroupApiRepository(value) {
|
|
28
|
+
if (!('format' in value) || value['format'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('group' in value) || value['group'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
if (!('online' in value) || value['online'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
if (!('raw' in value) || value['raw'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
if (!('storage' in value) || value['storage'] === undefined)
|
|
39
|
+
return false;
|
|
40
|
+
if (!('type' in value) || value['type'] === undefined)
|
|
41
|
+
return false;
|
|
42
|
+
if (!('url' in value) || value['url'] === undefined)
|
|
43
|
+
return false;
|
|
44
|
+
return true;
|
|
45
|
+
}
|
|
46
|
+
function RawGroupApiRepositoryFromJSON(json) {
|
|
47
|
+
return RawGroupApiRepositoryFromJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
function RawGroupApiRepositoryFromJSONTyped(json, ignoreDiscriminator) {
|
|
50
|
+
if (json == null) {
|
|
51
|
+
return json;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'format': json['format'],
|
|
55
|
+
'group': (0, GroupAttributes_1.GroupAttributesFromJSON)(json['group']),
|
|
56
|
+
'name': json['name'],
|
|
57
|
+
'online': json['online'],
|
|
58
|
+
'raw': (0, RawAttributes_1.RawAttributesFromJSON)(json['raw']),
|
|
59
|
+
'storage': (0, StorageAttributes_1.StorageAttributesFromJSON)(json['storage']),
|
|
60
|
+
'type': json['type'],
|
|
61
|
+
'url': json['url'],
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
function RawGroupApiRepositoryToJSON(json) {
|
|
65
|
+
return RawGroupApiRepositoryToJSONTyped(json, false);
|
|
66
|
+
}
|
|
67
|
+
function RawGroupApiRepositoryToJSONTyped(value, ignoreDiscriminator = false) {
|
|
68
|
+
if (value == null) {
|
|
69
|
+
return value;
|
|
70
|
+
}
|
|
71
|
+
return {
|
|
72
|
+
'format': value['format'],
|
|
73
|
+
'group': (0, GroupAttributes_1.GroupAttributesToJSON)(value['group']),
|
|
74
|
+
'name': value['name'],
|
|
75
|
+
'online': value['online'],
|
|
76
|
+
'raw': (0, RawAttributes_1.RawAttributesToJSON)(value['raw']),
|
|
77
|
+
'storage': (0, StorageAttributes_1.StorageAttributesToJSON)(value['storage']),
|
|
78
|
+
'type': value['type'],
|
|
79
|
+
'url': value['url'],
|
|
80
|
+
};
|
|
81
|
+
}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Sonatype Nexus Repository Manager
|
|
3
|
+
* This documents the available APIs into [Sonatype Nexus Repository Manager](https://www.sonatype.com/products/sonatype-nexus-repository) as of version 3.81.1-01.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 3.81.1-01
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { ComponentAttributes } from './ComponentAttributes';
|
|
13
|
+
import type { HostedStorageAttributes } from './HostedStorageAttributes';
|
|
14
|
+
import type { RawAttributes } from './RawAttributes';
|
|
15
|
+
import type { CleanupPolicyAttributes } from './CleanupPolicyAttributes';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface RawHostedApiRepository
|
|
20
|
+
*/
|
|
21
|
+
export interface RawHostedApiRepository {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {CleanupPolicyAttributes}
|
|
25
|
+
* @memberof RawHostedApiRepository
|
|
26
|
+
*/
|
|
27
|
+
cleanup?: CleanupPolicyAttributes;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {ComponentAttributes}
|
|
31
|
+
* @memberof RawHostedApiRepository
|
|
32
|
+
*/
|
|
33
|
+
component?: ComponentAttributes;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof RawHostedApiRepository
|
|
38
|
+
*/
|
|
39
|
+
format: string;
|
|
40
|
+
/**
|
|
41
|
+
* A unique identifier for this repository
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof RawHostedApiRepository
|
|
44
|
+
*/
|
|
45
|
+
name: string;
|
|
46
|
+
/**
|
|
47
|
+
* Whether this repository accepts incoming requests
|
|
48
|
+
* @type {boolean}
|
|
49
|
+
* @memberof RawHostedApiRepository
|
|
50
|
+
*/
|
|
51
|
+
online: boolean;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {RawAttributes}
|
|
55
|
+
* @memberof RawHostedApiRepository
|
|
56
|
+
*/
|
|
57
|
+
raw: RawAttributes;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @type {HostedStorageAttributes}
|
|
61
|
+
* @memberof RawHostedApiRepository
|
|
62
|
+
*/
|
|
63
|
+
storage: HostedStorageAttributes;
|
|
64
|
+
/**
|
|
65
|
+
*
|
|
66
|
+
* @type {string}
|
|
67
|
+
* @memberof RawHostedApiRepository
|
|
68
|
+
*/
|
|
69
|
+
type: string;
|
|
70
|
+
/**
|
|
71
|
+
*
|
|
72
|
+
* @type {string}
|
|
73
|
+
* @memberof RawHostedApiRepository
|
|
74
|
+
*/
|
|
75
|
+
url: string;
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* Check if a given object implements the RawHostedApiRepository interface.
|
|
79
|
+
*/
|
|
80
|
+
export declare function instanceOfRawHostedApiRepository(value: object): value is RawHostedApiRepository;
|
|
81
|
+
export declare function RawHostedApiRepositoryFromJSON(json: any): RawHostedApiRepository;
|
|
82
|
+
export declare function RawHostedApiRepositoryFromJSONTyped(json: any, ignoreDiscriminator: boolean): RawHostedApiRepository;
|
|
83
|
+
export declare function RawHostedApiRepositoryToJSON(json: any): RawHostedApiRepository;
|
|
84
|
+
export declare function RawHostedApiRepositoryToJSONTyped(value?: RawHostedApiRepository | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Sonatype Nexus Repository Manager
|
|
6
|
+
* This documents the available APIs into [Sonatype Nexus Repository Manager](https://www.sonatype.com/products/sonatype-nexus-repository) as of version 3.81.1-01.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 3.81.1-01
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfRawHostedApiRepository = instanceOfRawHostedApiRepository;
|
|
17
|
+
exports.RawHostedApiRepositoryFromJSON = RawHostedApiRepositoryFromJSON;
|
|
18
|
+
exports.RawHostedApiRepositoryFromJSONTyped = RawHostedApiRepositoryFromJSONTyped;
|
|
19
|
+
exports.RawHostedApiRepositoryToJSON = RawHostedApiRepositoryToJSON;
|
|
20
|
+
exports.RawHostedApiRepositoryToJSONTyped = RawHostedApiRepositoryToJSONTyped;
|
|
21
|
+
const ComponentAttributes_1 = require("./ComponentAttributes");
|
|
22
|
+
const HostedStorageAttributes_1 = require("./HostedStorageAttributes");
|
|
23
|
+
const RawAttributes_1 = require("./RawAttributes");
|
|
24
|
+
const CleanupPolicyAttributes_1 = require("./CleanupPolicyAttributes");
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the RawHostedApiRepository interface.
|
|
27
|
+
*/
|
|
28
|
+
function instanceOfRawHostedApiRepository(value) {
|
|
29
|
+
if (!('format' in value) || value['format'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('online' in value) || value['online'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('raw' in value) || value['raw'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
if (!('storage' in value) || value['storage'] === undefined)
|
|
38
|
+
return false;
|
|
39
|
+
if (!('type' in value) || value['type'] === undefined)
|
|
40
|
+
return false;
|
|
41
|
+
if (!('url' in value) || value['url'] === undefined)
|
|
42
|
+
return false;
|
|
43
|
+
return true;
|
|
44
|
+
}
|
|
45
|
+
function RawHostedApiRepositoryFromJSON(json) {
|
|
46
|
+
return RawHostedApiRepositoryFromJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
function RawHostedApiRepositoryFromJSONTyped(json, ignoreDiscriminator) {
|
|
49
|
+
if (json == null) {
|
|
50
|
+
return json;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
'cleanup': json['cleanup'] == null ? undefined : (0, CleanupPolicyAttributes_1.CleanupPolicyAttributesFromJSON)(json['cleanup']),
|
|
54
|
+
'component': json['component'] == null ? undefined : (0, ComponentAttributes_1.ComponentAttributesFromJSON)(json['component']),
|
|
55
|
+
'format': json['format'],
|
|
56
|
+
'name': json['name'],
|
|
57
|
+
'online': json['online'],
|
|
58
|
+
'raw': (0, RawAttributes_1.RawAttributesFromJSON)(json['raw']),
|
|
59
|
+
'storage': (0, HostedStorageAttributes_1.HostedStorageAttributesFromJSON)(json['storage']),
|
|
60
|
+
'type': json['type'],
|
|
61
|
+
'url': json['url'],
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
function RawHostedApiRepositoryToJSON(json) {
|
|
65
|
+
return RawHostedApiRepositoryToJSONTyped(json, false);
|
|
66
|
+
}
|
|
67
|
+
function RawHostedApiRepositoryToJSONTyped(value, ignoreDiscriminator = false) {
|
|
68
|
+
if (value == null) {
|
|
69
|
+
return value;
|
|
70
|
+
}
|
|
71
|
+
return {
|
|
72
|
+
'cleanup': (0, CleanupPolicyAttributes_1.CleanupPolicyAttributesToJSON)(value['cleanup']),
|
|
73
|
+
'component': (0, ComponentAttributes_1.ComponentAttributesToJSON)(value['component']),
|
|
74
|
+
'format': value['format'],
|
|
75
|
+
'name': value['name'],
|
|
76
|
+
'online': value['online'],
|
|
77
|
+
'raw': (0, RawAttributes_1.RawAttributesToJSON)(value['raw']),
|
|
78
|
+
'storage': (0, HostedStorageAttributes_1.HostedStorageAttributesToJSON)(value['storage']),
|
|
79
|
+
'type': value['type'],
|
|
80
|
+
'url': value['url'],
|
|
81
|
+
};
|
|
82
|
+
}
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Sonatype Nexus Repository Manager
|
|
3
|
+
* This documents the available APIs into [Sonatype Nexus Repository Manager](https://www.sonatype.com/products/sonatype-nexus-repository) as of version 3.81.1-01.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 3.81.1-01
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { NegativeCacheAttributes } from './NegativeCacheAttributes';
|
|
13
|
+
import type { ProxyAttributes } from './ProxyAttributes';
|
|
14
|
+
import type { RawAttributes } from './RawAttributes';
|
|
15
|
+
import type { StorageAttributes } from './StorageAttributes';
|
|
16
|
+
import type { HttpClientAttributes } from './HttpClientAttributes';
|
|
17
|
+
import type { CleanupPolicyAttributes } from './CleanupPolicyAttributes';
|
|
18
|
+
import type { ReplicationAttributes } from './ReplicationAttributes';
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @export
|
|
22
|
+
* @interface RawProxyApiRepository
|
|
23
|
+
*/
|
|
24
|
+
export interface RawProxyApiRepository {
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {CleanupPolicyAttributes}
|
|
28
|
+
* @memberof RawProxyApiRepository
|
|
29
|
+
*/
|
|
30
|
+
cleanup?: CleanupPolicyAttributes;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof RawProxyApiRepository
|
|
35
|
+
*/
|
|
36
|
+
format: string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {HttpClientAttributes}
|
|
40
|
+
* @memberof RawProxyApiRepository
|
|
41
|
+
*/
|
|
42
|
+
httpClient: HttpClientAttributes;
|
|
43
|
+
/**
|
|
44
|
+
* A unique identifier for this repository
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof RawProxyApiRepository
|
|
47
|
+
*/
|
|
48
|
+
name: string;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {NegativeCacheAttributes}
|
|
52
|
+
* @memberof RawProxyApiRepository
|
|
53
|
+
*/
|
|
54
|
+
negativeCache: NegativeCacheAttributes;
|
|
55
|
+
/**
|
|
56
|
+
* Whether this repository accepts incoming requests
|
|
57
|
+
* @type {boolean}
|
|
58
|
+
* @memberof RawProxyApiRepository
|
|
59
|
+
*/
|
|
60
|
+
online: boolean;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @type {ProxyAttributes}
|
|
64
|
+
* @memberof RawProxyApiRepository
|
|
65
|
+
*/
|
|
66
|
+
proxy: ProxyAttributes;
|
|
67
|
+
/**
|
|
68
|
+
*
|
|
69
|
+
* @type {RawAttributes}
|
|
70
|
+
* @memberof RawProxyApiRepository
|
|
71
|
+
*/
|
|
72
|
+
raw: RawAttributes;
|
|
73
|
+
/**
|
|
74
|
+
*
|
|
75
|
+
* @type {ReplicationAttributes}
|
|
76
|
+
* @memberof RawProxyApiRepository
|
|
77
|
+
*/
|
|
78
|
+
replication?: ReplicationAttributes;
|
|
79
|
+
/**
|
|
80
|
+
*
|
|
81
|
+
* @type {string}
|
|
82
|
+
* @memberof RawProxyApiRepository
|
|
83
|
+
*/
|
|
84
|
+
routingRuleName?: string;
|
|
85
|
+
/**
|
|
86
|
+
*
|
|
87
|
+
* @type {StorageAttributes}
|
|
88
|
+
* @memberof RawProxyApiRepository
|
|
89
|
+
*/
|
|
90
|
+
storage: StorageAttributes;
|
|
91
|
+
/**
|
|
92
|
+
*
|
|
93
|
+
* @type {string}
|
|
94
|
+
* @memberof RawProxyApiRepository
|
|
95
|
+
*/
|
|
96
|
+
type: string;
|
|
97
|
+
/**
|
|
98
|
+
*
|
|
99
|
+
* @type {string}
|
|
100
|
+
* @memberof RawProxyApiRepository
|
|
101
|
+
*/
|
|
102
|
+
url: string;
|
|
103
|
+
}
|
|
104
|
+
/**
|
|
105
|
+
* Check if a given object implements the RawProxyApiRepository interface.
|
|
106
|
+
*/
|
|
107
|
+
export declare function instanceOfRawProxyApiRepository(value: object): value is RawProxyApiRepository;
|
|
108
|
+
export declare function RawProxyApiRepositoryFromJSON(json: any): RawProxyApiRepository;
|
|
109
|
+
export declare function RawProxyApiRepositoryFromJSONTyped(json: any, ignoreDiscriminator: boolean): RawProxyApiRepository;
|
|
110
|
+
export declare function RawProxyApiRepositoryToJSON(json: any): RawProxyApiRepository;
|
|
111
|
+
export declare function RawProxyApiRepositoryToJSONTyped(value?: RawProxyApiRepository | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Sonatype Nexus Repository Manager
|
|
6
|
+
* This documents the available APIs into [Sonatype Nexus Repository Manager](https://www.sonatype.com/products/sonatype-nexus-repository) as of version 3.81.1-01.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 3.81.1-01
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfRawProxyApiRepository = instanceOfRawProxyApiRepository;
|
|
17
|
+
exports.RawProxyApiRepositoryFromJSON = RawProxyApiRepositoryFromJSON;
|
|
18
|
+
exports.RawProxyApiRepositoryFromJSONTyped = RawProxyApiRepositoryFromJSONTyped;
|
|
19
|
+
exports.RawProxyApiRepositoryToJSON = RawProxyApiRepositoryToJSON;
|
|
20
|
+
exports.RawProxyApiRepositoryToJSONTyped = RawProxyApiRepositoryToJSONTyped;
|
|
21
|
+
const NegativeCacheAttributes_1 = require("./NegativeCacheAttributes");
|
|
22
|
+
const ProxyAttributes_1 = require("./ProxyAttributes");
|
|
23
|
+
const RawAttributes_1 = require("./RawAttributes");
|
|
24
|
+
const StorageAttributes_1 = require("./StorageAttributes");
|
|
25
|
+
const HttpClientAttributes_1 = require("./HttpClientAttributes");
|
|
26
|
+
const CleanupPolicyAttributes_1 = require("./CleanupPolicyAttributes");
|
|
27
|
+
const ReplicationAttributes_1 = require("./ReplicationAttributes");
|
|
28
|
+
/**
|
|
29
|
+
* Check if a given object implements the RawProxyApiRepository interface.
|
|
30
|
+
*/
|
|
31
|
+
function instanceOfRawProxyApiRepository(value) {
|
|
32
|
+
if (!('format' in value) || value['format'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
if (!('httpClient' in value) || value['httpClient'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
if (!('negativeCache' in value) || value['negativeCache'] === undefined)
|
|
39
|
+
return false;
|
|
40
|
+
if (!('online' in value) || value['online'] === undefined)
|
|
41
|
+
return false;
|
|
42
|
+
if (!('proxy' in value) || value['proxy'] === undefined)
|
|
43
|
+
return false;
|
|
44
|
+
if (!('raw' in value) || value['raw'] === undefined)
|
|
45
|
+
return false;
|
|
46
|
+
if (!('storage' in value) || value['storage'] === undefined)
|
|
47
|
+
return false;
|
|
48
|
+
if (!('type' in value) || value['type'] === undefined)
|
|
49
|
+
return false;
|
|
50
|
+
if (!('url' in value) || value['url'] === undefined)
|
|
51
|
+
return false;
|
|
52
|
+
return true;
|
|
53
|
+
}
|
|
54
|
+
function RawProxyApiRepositoryFromJSON(json) {
|
|
55
|
+
return RawProxyApiRepositoryFromJSONTyped(json, false);
|
|
56
|
+
}
|
|
57
|
+
function RawProxyApiRepositoryFromJSONTyped(json, ignoreDiscriminator) {
|
|
58
|
+
if (json == null) {
|
|
59
|
+
return json;
|
|
60
|
+
}
|
|
61
|
+
return {
|
|
62
|
+
'cleanup': json['cleanup'] == null ? undefined : (0, CleanupPolicyAttributes_1.CleanupPolicyAttributesFromJSON)(json['cleanup']),
|
|
63
|
+
'format': json['format'],
|
|
64
|
+
'httpClient': (0, HttpClientAttributes_1.HttpClientAttributesFromJSON)(json['httpClient']),
|
|
65
|
+
'name': json['name'],
|
|
66
|
+
'negativeCache': (0, NegativeCacheAttributes_1.NegativeCacheAttributesFromJSON)(json['negativeCache']),
|
|
67
|
+
'online': json['online'],
|
|
68
|
+
'proxy': (0, ProxyAttributes_1.ProxyAttributesFromJSON)(json['proxy']),
|
|
69
|
+
'raw': (0, RawAttributes_1.RawAttributesFromJSON)(json['raw']),
|
|
70
|
+
'replication': json['replication'] == null ? undefined : (0, ReplicationAttributes_1.ReplicationAttributesFromJSON)(json['replication']),
|
|
71
|
+
'routingRuleName': json['routingRuleName'] == null ? undefined : json['routingRuleName'],
|
|
72
|
+
'storage': (0, StorageAttributes_1.StorageAttributesFromJSON)(json['storage']),
|
|
73
|
+
'type': json['type'],
|
|
74
|
+
'url': json['url'],
|
|
75
|
+
};
|
|
76
|
+
}
|
|
77
|
+
function RawProxyApiRepositoryToJSON(json) {
|
|
78
|
+
return RawProxyApiRepositoryToJSONTyped(json, false);
|
|
79
|
+
}
|
|
80
|
+
function RawProxyApiRepositoryToJSONTyped(value, ignoreDiscriminator = false) {
|
|
81
|
+
if (value == null) {
|
|
82
|
+
return value;
|
|
83
|
+
}
|
|
84
|
+
return {
|
|
85
|
+
'cleanup': (0, CleanupPolicyAttributes_1.CleanupPolicyAttributesToJSON)(value['cleanup']),
|
|
86
|
+
'format': value['format'],
|
|
87
|
+
'httpClient': (0, HttpClientAttributes_1.HttpClientAttributesToJSON)(value['httpClient']),
|
|
88
|
+
'name': value['name'],
|
|
89
|
+
'negativeCache': (0, NegativeCacheAttributes_1.NegativeCacheAttributesToJSON)(value['negativeCache']),
|
|
90
|
+
'online': value['online'],
|
|
91
|
+
'proxy': (0, ProxyAttributes_1.ProxyAttributesToJSON)(value['proxy']),
|
|
92
|
+
'raw': (0, RawAttributes_1.RawAttributesToJSON)(value['raw']),
|
|
93
|
+
'replication': (0, ReplicationAttributes_1.ReplicationAttributesToJSON)(value['replication']),
|
|
94
|
+
'routingRuleName': value['routingRuleName'],
|
|
95
|
+
'storage': (0, StorageAttributes_1.StorageAttributesToJSON)(value['storage']),
|
|
96
|
+
'type': value['type'],
|
|
97
|
+
'url': value['url'],
|
|
98
|
+
};
|
|
99
|
+
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -131,8 +131,11 @@ export * from './RGroupRepositoryApiRequest';
|
|
|
131
131
|
export * from './RHostedRepositoryApiRequest';
|
|
132
132
|
export * from './RProxyRepositoryApiRequest';
|
|
133
133
|
export * from './RawAttributes';
|
|
134
|
+
export * from './RawGroupApiRepository';
|
|
134
135
|
export * from './RawGroupRepositoryApiRequest';
|
|
136
|
+
export * from './RawHostedApiRepository';
|
|
135
137
|
export * from './RawHostedRepositoryApiRequest';
|
|
138
|
+
export * from './RawProxyApiRepository';
|
|
136
139
|
export * from './RawProxyRepositoryApiRequest';
|
|
137
140
|
export * from './ReEncryptionRequestApiXO';
|
|
138
141
|
export * from './ReadLdapServerXo';
|