@sonatype/nexus-repo-api-client 3.93.1 → 3.93.2
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/AlpineGroupApiRepository.d.ts +77 -0
- package/dist/esm/models/AlpineGroupApiRepository.js +74 -0
- package/dist/esm/models/AlpineHostedApiRepository.d.ts +84 -0
- package/dist/esm/models/AlpineHostedApiRepository.js +73 -0
- package/dist/esm/models/AlpineProxyApiRepository.d.ts +117 -0
- package/dist/esm/models/AlpineProxyApiRepository.js +94 -0
- package/dist/esm/models/AptHostedApiRepository.d.ts +4 -4
- package/dist/esm/models/AptHostedApiRepository.js +0 -3
- package/dist/esm/models/index.d.ts +3 -0
- package/dist/esm/models/index.js +3 -0
- package/dist/models/AlpineGroupApiRepository.d.ts +77 -0
- package/dist/models/AlpineGroupApiRepository.js +81 -0
- package/dist/models/AlpineHostedApiRepository.d.ts +84 -0
- package/dist/models/AlpineHostedApiRepository.js +80 -0
- package/dist/models/AlpineProxyApiRepository.d.ts +117 -0
- package/dist/models/AlpineProxyApiRepository.js +101 -0
- package/dist/models/AptHostedApiRepository.d.ts +4 -4
- package/dist/models/AptHostedApiRepository.js +0 -3
- 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/AlpineGroupApiRepository.ts +151 -0
- package/src/models/AlpineHostedApiRepository.ts +164 -0
- package/src/models/AlpineProxyApiRepository.ts +229 -0
- package/src/models/AptHostedApiRepository.ts +4 -7
- package/src/models/index.ts +3 -0
|
@@ -0,0 +1,94 @@
|
|
|
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.93.2-01.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 3.93.2-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 { StorageAttributesFromJSON, StorageAttributesToJSON, } from './StorageAttributes';
|
|
17
|
+
import { HttpClientAttributesFromJSON, HttpClientAttributesToJSON, } from './HttpClientAttributes';
|
|
18
|
+
import { CleanupPolicyAttributesFromJSON, CleanupPolicyAttributesToJSON, } from './CleanupPolicyAttributes';
|
|
19
|
+
import { AlpineSigningRepositoriesAttributesFromJSON, AlpineSigningRepositoriesAttributesToJSON, } from './AlpineSigningRepositoriesAttributes';
|
|
20
|
+
import { ReplicationAttributesFromJSON, ReplicationAttributesToJSON, } from './ReplicationAttributes';
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the AlpineProxyApiRepository interface.
|
|
23
|
+
*/
|
|
24
|
+
export function instanceOfAlpineProxyApiRepository(value) {
|
|
25
|
+
if (!('alpineSigning' in value) || value['alpineSigning'] === 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 (!('storage' in value) || value['storage'] === undefined)
|
|
38
|
+
return false;
|
|
39
|
+
if (!('format' in value) || value['format'] === 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 AlpineProxyApiRepositoryFromJSON(json) {
|
|
48
|
+
return AlpineProxyApiRepositoryFromJSONTyped(json, false);
|
|
49
|
+
}
|
|
50
|
+
export function AlpineProxyApiRepositoryFromJSONTyped(json, ignoreDiscriminator) {
|
|
51
|
+
if (json == null) {
|
|
52
|
+
return json;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
'alpineSigning': AlpineSigningRepositoriesAttributesFromJSON(json['alpineSigning']),
|
|
56
|
+
'cleanup': json['cleanup'] == null ? undefined : CleanupPolicyAttributesFromJSON(json['cleanup']),
|
|
57
|
+
'httpClient': HttpClientAttributesFromJSON(json['httpClient']),
|
|
58
|
+
'name': json['name'],
|
|
59
|
+
'negativeCache': NegativeCacheAttributesFromJSON(json['negativeCache']),
|
|
60
|
+
'online': json['online'],
|
|
61
|
+
'proxy': ProxyAttributesFromJSON(json['proxy']),
|
|
62
|
+
'replication': json['replication'] == null ? undefined : ReplicationAttributesFromJSON(json['replication']),
|
|
63
|
+
'routingRule': json['routingRule'] == null ? undefined : json['routingRule'],
|
|
64
|
+
'storage': StorageAttributesFromJSON(json['storage']),
|
|
65
|
+
'format': json['format'],
|
|
66
|
+
'routingRuleName': json['routingRuleName'] == null ? undefined : json['routingRuleName'],
|
|
67
|
+
'type': json['type'],
|
|
68
|
+
'url': json['url'],
|
|
69
|
+
};
|
|
70
|
+
}
|
|
71
|
+
export function AlpineProxyApiRepositoryToJSON(json) {
|
|
72
|
+
return AlpineProxyApiRepositoryToJSONTyped(json, false);
|
|
73
|
+
}
|
|
74
|
+
export function AlpineProxyApiRepositoryToJSONTyped(value, ignoreDiscriminator = false) {
|
|
75
|
+
if (value == null) {
|
|
76
|
+
return value;
|
|
77
|
+
}
|
|
78
|
+
return {
|
|
79
|
+
'alpineSigning': AlpineSigningRepositoriesAttributesToJSON(value['alpineSigning']),
|
|
80
|
+
'cleanup': CleanupPolicyAttributesToJSON(value['cleanup']),
|
|
81
|
+
'httpClient': HttpClientAttributesToJSON(value['httpClient']),
|
|
82
|
+
'name': value['name'],
|
|
83
|
+
'negativeCache': NegativeCacheAttributesToJSON(value['negativeCache']),
|
|
84
|
+
'online': value['online'],
|
|
85
|
+
'proxy': ProxyAttributesToJSON(value['proxy']),
|
|
86
|
+
'replication': ReplicationAttributesToJSON(value['replication']),
|
|
87
|
+
'routingRule': value['routingRule'],
|
|
88
|
+
'storage': StorageAttributesToJSON(value['storage']),
|
|
89
|
+
'format': value['format'],
|
|
90
|
+
'routingRuleName': value['routingRuleName'],
|
|
91
|
+
'type': value['type'],
|
|
92
|
+
'url': value['url'],
|
|
93
|
+
};
|
|
94
|
+
}
|
|
@@ -55,13 +55,13 @@ export interface AptHostedApiRepository {
|
|
|
55
55
|
* @type {string}
|
|
56
56
|
* @memberof AptHostedApiRepository
|
|
57
57
|
*/
|
|
58
|
-
name?: string;
|
|
58
|
+
readonly name?: string;
|
|
59
59
|
/**
|
|
60
60
|
* Whether this repository accepts incoming requests
|
|
61
61
|
* @type {boolean}
|
|
62
62
|
* @memberof AptHostedApiRepository
|
|
63
63
|
*/
|
|
64
|
-
online: boolean;
|
|
64
|
+
readonly online: boolean;
|
|
65
65
|
/**
|
|
66
66
|
*
|
|
67
67
|
* @type {HostedStorageAttributes}
|
|
@@ -79,7 +79,7 @@ export interface AptHostedApiRepository {
|
|
|
79
79
|
* @type {string}
|
|
80
80
|
* @memberof AptHostedApiRepository
|
|
81
81
|
*/
|
|
82
|
-
url?: string;
|
|
82
|
+
readonly url?: string;
|
|
83
83
|
}
|
|
84
84
|
/**
|
|
85
85
|
* @export
|
|
@@ -97,4 +97,4 @@ export declare function instanceOfAptHostedApiRepository(value: object): value i
|
|
|
97
97
|
export declare function AptHostedApiRepositoryFromJSON(json: any): AptHostedApiRepository;
|
|
98
98
|
export declare function AptHostedApiRepositoryFromJSONTyped(json: any, ignoreDiscriminator: boolean): AptHostedApiRepository;
|
|
99
99
|
export declare function AptHostedApiRepositoryToJSON(json: any): AptHostedApiRepository;
|
|
100
|
-
export declare function AptHostedApiRepositoryToJSONTyped(value?: AptHostedApiRepository | null, ignoreDiscriminator?: boolean): any;
|
|
100
|
+
export declare function AptHostedApiRepositoryToJSONTyped(value?: Omit<AptHostedApiRepository, 'name' | 'online' | 'url'> | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -71,10 +71,7 @@ export function AptHostedApiRepositoryToJSONTyped(value, ignoreDiscriminator = f
|
|
|
71
71
|
'cleanup': CleanupPolicyAttributesToJSON(value['cleanup']),
|
|
72
72
|
'component': ComponentAttributesToJSON(value['component']),
|
|
73
73
|
'format': value['format'],
|
|
74
|
-
'name': value['name'],
|
|
75
|
-
'online': value['online'],
|
|
76
74
|
'storage': HostedStorageAttributesToJSON(value['storage']),
|
|
77
75
|
'type': value['type'],
|
|
78
|
-
'url': value['url'],
|
|
79
76
|
};
|
|
80
77
|
}
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
export * from './AbstractApiRepository';
|
|
2
2
|
export * from './AcknowledgeRequestXO';
|
|
3
|
+
export * from './AlpineGroupApiRepository';
|
|
3
4
|
export * from './AlpineGroupRepositoryApiRequest';
|
|
5
|
+
export * from './AlpineHostedApiRepository';
|
|
4
6
|
export * from './AlpineHostedRepositoryApiRequest';
|
|
7
|
+
export * from './AlpineProxyApiRepository';
|
|
5
8
|
export * from './AlpineProxyRepositoryApiRequest';
|
|
6
9
|
export * from './AlpineSigningRepositoriesAttributes';
|
|
7
10
|
export * from './AnonymousAccessSettingsXO';
|
package/dist/esm/models/index.js
CHANGED
|
@@ -2,8 +2,11 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
export * from './AbstractApiRepository';
|
|
4
4
|
export * from './AcknowledgeRequestXO';
|
|
5
|
+
export * from './AlpineGroupApiRepository';
|
|
5
6
|
export * from './AlpineGroupRepositoryApiRequest';
|
|
7
|
+
export * from './AlpineHostedApiRepository';
|
|
6
8
|
export * from './AlpineHostedRepositoryApiRequest';
|
|
9
|
+
export * from './AlpineProxyApiRepository';
|
|
7
10
|
export * from './AlpineProxyRepositoryApiRequest';
|
|
8
11
|
export * from './AlpineSigningRepositoriesAttributes';
|
|
9
12
|
export * from './AnonymousAccessSettingsXO';
|
|
@@ -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.93.2-01.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 3.93.2-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 { StorageAttributes } from './StorageAttributes';
|
|
13
|
+
import type { GroupAttributes } from './GroupAttributes';
|
|
14
|
+
import type { AlpineSigningRepositoriesAttributes } from './AlpineSigningRepositoriesAttributes';
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
* @interface AlpineGroupApiRepository
|
|
19
|
+
*/
|
|
20
|
+
export interface AlpineGroupApiRepository {
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @type {AlpineSigningRepositoriesAttributes}
|
|
24
|
+
* @memberof AlpineGroupApiRepository
|
|
25
|
+
*/
|
|
26
|
+
alpineSigning: AlpineSigningRepositoriesAttributes;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {GroupAttributes}
|
|
30
|
+
* @memberof AlpineGroupApiRepository
|
|
31
|
+
*/
|
|
32
|
+
group: GroupAttributes;
|
|
33
|
+
/**
|
|
34
|
+
* A unique identifier for this repository
|
|
35
|
+
* @type {string}
|
|
36
|
+
* @memberof AlpineGroupApiRepository
|
|
37
|
+
*/
|
|
38
|
+
name: string;
|
|
39
|
+
/**
|
|
40
|
+
* Whether this repository accepts incoming requests
|
|
41
|
+
* @type {boolean}
|
|
42
|
+
* @memberof AlpineGroupApiRepository
|
|
43
|
+
*/
|
|
44
|
+
online: boolean;
|
|
45
|
+
/**
|
|
46
|
+
*
|
|
47
|
+
* @type {StorageAttributes}
|
|
48
|
+
* @memberof AlpineGroupApiRepository
|
|
49
|
+
*/
|
|
50
|
+
storage: StorageAttributes;
|
|
51
|
+
/**
|
|
52
|
+
*
|
|
53
|
+
* @type {string}
|
|
54
|
+
* @memberof AlpineGroupApiRepository
|
|
55
|
+
*/
|
|
56
|
+
format: string;
|
|
57
|
+
/**
|
|
58
|
+
*
|
|
59
|
+
* @type {string}
|
|
60
|
+
* @memberof AlpineGroupApiRepository
|
|
61
|
+
*/
|
|
62
|
+
type: string;
|
|
63
|
+
/**
|
|
64
|
+
*
|
|
65
|
+
* @type {string}
|
|
66
|
+
* @memberof AlpineGroupApiRepository
|
|
67
|
+
*/
|
|
68
|
+
url: string;
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* Check if a given object implements the AlpineGroupApiRepository interface.
|
|
72
|
+
*/
|
|
73
|
+
export declare function instanceOfAlpineGroupApiRepository(value: object): value is AlpineGroupApiRepository;
|
|
74
|
+
export declare function AlpineGroupApiRepositoryFromJSON(json: any): AlpineGroupApiRepository;
|
|
75
|
+
export declare function AlpineGroupApiRepositoryFromJSONTyped(json: any, ignoreDiscriminator: boolean): AlpineGroupApiRepository;
|
|
76
|
+
export declare function AlpineGroupApiRepositoryToJSON(json: any): AlpineGroupApiRepository;
|
|
77
|
+
export declare function AlpineGroupApiRepositoryToJSONTyped(value?: AlpineGroupApiRepository | 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.93.2-01.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 3.93.2-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.instanceOfAlpineGroupApiRepository = instanceOfAlpineGroupApiRepository;
|
|
17
|
+
exports.AlpineGroupApiRepositoryFromJSON = AlpineGroupApiRepositoryFromJSON;
|
|
18
|
+
exports.AlpineGroupApiRepositoryFromJSONTyped = AlpineGroupApiRepositoryFromJSONTyped;
|
|
19
|
+
exports.AlpineGroupApiRepositoryToJSON = AlpineGroupApiRepositoryToJSON;
|
|
20
|
+
exports.AlpineGroupApiRepositoryToJSONTyped = AlpineGroupApiRepositoryToJSONTyped;
|
|
21
|
+
const StorageAttributes_1 = require("./StorageAttributes");
|
|
22
|
+
const GroupAttributes_1 = require("./GroupAttributes");
|
|
23
|
+
const AlpineSigningRepositoriesAttributes_1 = require("./AlpineSigningRepositoriesAttributes");
|
|
24
|
+
/**
|
|
25
|
+
* Check if a given object implements the AlpineGroupApiRepository interface.
|
|
26
|
+
*/
|
|
27
|
+
function instanceOfAlpineGroupApiRepository(value) {
|
|
28
|
+
if (!('alpineSigning' in value) || value['alpineSigning'] === 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 (!('storage' in value) || value['storage'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
if (!('format' in value) || value['format'] === 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 AlpineGroupApiRepositoryFromJSON(json) {
|
|
47
|
+
return AlpineGroupApiRepositoryFromJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
function AlpineGroupApiRepositoryFromJSONTyped(json, ignoreDiscriminator) {
|
|
50
|
+
if (json == null) {
|
|
51
|
+
return json;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'alpineSigning': (0, AlpineSigningRepositoriesAttributes_1.AlpineSigningRepositoriesAttributesFromJSON)(json['alpineSigning']),
|
|
55
|
+
'group': (0, GroupAttributes_1.GroupAttributesFromJSON)(json['group']),
|
|
56
|
+
'name': json['name'],
|
|
57
|
+
'online': json['online'],
|
|
58
|
+
'storage': (0, StorageAttributes_1.StorageAttributesFromJSON)(json['storage']),
|
|
59
|
+
'format': json['format'],
|
|
60
|
+
'type': json['type'],
|
|
61
|
+
'url': json['url'],
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
function AlpineGroupApiRepositoryToJSON(json) {
|
|
65
|
+
return AlpineGroupApiRepositoryToJSONTyped(json, false);
|
|
66
|
+
}
|
|
67
|
+
function AlpineGroupApiRepositoryToJSONTyped(value, ignoreDiscriminator = false) {
|
|
68
|
+
if (value == null) {
|
|
69
|
+
return value;
|
|
70
|
+
}
|
|
71
|
+
return {
|
|
72
|
+
'alpineSigning': (0, AlpineSigningRepositoriesAttributes_1.AlpineSigningRepositoriesAttributesToJSON)(value['alpineSigning']),
|
|
73
|
+
'group': (0, GroupAttributes_1.GroupAttributesToJSON)(value['group']),
|
|
74
|
+
'name': value['name'],
|
|
75
|
+
'online': value['online'],
|
|
76
|
+
'storage': (0, StorageAttributes_1.StorageAttributesToJSON)(value['storage']),
|
|
77
|
+
'format': value['format'],
|
|
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.93.2-01.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 3.93.2-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 { CleanupPolicyAttributes } from './CleanupPolicyAttributes';
|
|
15
|
+
import type { AlpineSigningRepositoriesAttributes } from './AlpineSigningRepositoriesAttributes';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface AlpineHostedApiRepository
|
|
20
|
+
*/
|
|
21
|
+
export interface AlpineHostedApiRepository {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {AlpineSigningRepositoriesAttributes}
|
|
25
|
+
* @memberof AlpineHostedApiRepository
|
|
26
|
+
*/
|
|
27
|
+
alpineSigning?: AlpineSigningRepositoriesAttributes;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {CleanupPolicyAttributes}
|
|
31
|
+
* @memberof AlpineHostedApiRepository
|
|
32
|
+
*/
|
|
33
|
+
cleanup?: CleanupPolicyAttributes;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {ComponentAttributes}
|
|
37
|
+
* @memberof AlpineHostedApiRepository
|
|
38
|
+
*/
|
|
39
|
+
component?: ComponentAttributes;
|
|
40
|
+
/**
|
|
41
|
+
* A unique identifier for this repository
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof AlpineHostedApiRepository
|
|
44
|
+
*/
|
|
45
|
+
name: string;
|
|
46
|
+
/**
|
|
47
|
+
* Whether this repository accepts incoming requests
|
|
48
|
+
* @type {boolean}
|
|
49
|
+
* @memberof AlpineHostedApiRepository
|
|
50
|
+
*/
|
|
51
|
+
online: boolean;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {HostedStorageAttributes}
|
|
55
|
+
* @memberof AlpineHostedApiRepository
|
|
56
|
+
*/
|
|
57
|
+
storage: HostedStorageAttributes;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @type {string}
|
|
61
|
+
* @memberof AlpineHostedApiRepository
|
|
62
|
+
*/
|
|
63
|
+
format: string;
|
|
64
|
+
/**
|
|
65
|
+
*
|
|
66
|
+
* @type {string}
|
|
67
|
+
* @memberof AlpineHostedApiRepository
|
|
68
|
+
*/
|
|
69
|
+
type: string;
|
|
70
|
+
/**
|
|
71
|
+
*
|
|
72
|
+
* @type {string}
|
|
73
|
+
* @memberof AlpineHostedApiRepository
|
|
74
|
+
*/
|
|
75
|
+
url: string;
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* Check if a given object implements the AlpineHostedApiRepository interface.
|
|
79
|
+
*/
|
|
80
|
+
export declare function instanceOfAlpineHostedApiRepository(value: object): value is AlpineHostedApiRepository;
|
|
81
|
+
export declare function AlpineHostedApiRepositoryFromJSON(json: any): AlpineHostedApiRepository;
|
|
82
|
+
export declare function AlpineHostedApiRepositoryFromJSONTyped(json: any, ignoreDiscriminator: boolean): AlpineHostedApiRepository;
|
|
83
|
+
export declare function AlpineHostedApiRepositoryToJSON(json: any): AlpineHostedApiRepository;
|
|
84
|
+
export declare function AlpineHostedApiRepositoryToJSONTyped(value?: AlpineHostedApiRepository | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,80 @@
|
|
|
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.93.2-01.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 3.93.2-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.instanceOfAlpineHostedApiRepository = instanceOfAlpineHostedApiRepository;
|
|
17
|
+
exports.AlpineHostedApiRepositoryFromJSON = AlpineHostedApiRepositoryFromJSON;
|
|
18
|
+
exports.AlpineHostedApiRepositoryFromJSONTyped = AlpineHostedApiRepositoryFromJSONTyped;
|
|
19
|
+
exports.AlpineHostedApiRepositoryToJSON = AlpineHostedApiRepositoryToJSON;
|
|
20
|
+
exports.AlpineHostedApiRepositoryToJSONTyped = AlpineHostedApiRepositoryToJSONTyped;
|
|
21
|
+
const ComponentAttributes_1 = require("./ComponentAttributes");
|
|
22
|
+
const HostedStorageAttributes_1 = require("./HostedStorageAttributes");
|
|
23
|
+
const CleanupPolicyAttributes_1 = require("./CleanupPolicyAttributes");
|
|
24
|
+
const AlpineSigningRepositoriesAttributes_1 = require("./AlpineSigningRepositoriesAttributes");
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the AlpineHostedApiRepository interface.
|
|
27
|
+
*/
|
|
28
|
+
function instanceOfAlpineHostedApiRepository(value) {
|
|
29
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('online' in value) || value['online'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('storage' in value) || value['storage'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('format' in value) || value['format'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
if (!('type' in value) || value['type'] === undefined)
|
|
38
|
+
return false;
|
|
39
|
+
if (!('url' in value) || value['url'] === undefined)
|
|
40
|
+
return false;
|
|
41
|
+
return true;
|
|
42
|
+
}
|
|
43
|
+
function AlpineHostedApiRepositoryFromJSON(json) {
|
|
44
|
+
return AlpineHostedApiRepositoryFromJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function AlpineHostedApiRepositoryFromJSONTyped(json, ignoreDiscriminator) {
|
|
47
|
+
if (json == null) {
|
|
48
|
+
return json;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'alpineSigning': json['alpineSigning'] == null ? undefined : (0, AlpineSigningRepositoriesAttributes_1.AlpineSigningRepositoriesAttributesFromJSON)(json['alpineSigning']),
|
|
52
|
+
'cleanup': json['cleanup'] == null ? undefined : (0, CleanupPolicyAttributes_1.CleanupPolicyAttributesFromJSON)(json['cleanup']),
|
|
53
|
+
'component': json['component'] == null ? undefined : (0, ComponentAttributes_1.ComponentAttributesFromJSON)(json['component']),
|
|
54
|
+
'name': json['name'],
|
|
55
|
+
'online': json['online'],
|
|
56
|
+
'storage': (0, HostedStorageAttributes_1.HostedStorageAttributesFromJSON)(json['storage']),
|
|
57
|
+
'format': json['format'],
|
|
58
|
+
'type': json['type'],
|
|
59
|
+
'url': json['url'],
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
function AlpineHostedApiRepositoryToJSON(json) {
|
|
63
|
+
return AlpineHostedApiRepositoryToJSONTyped(json, false);
|
|
64
|
+
}
|
|
65
|
+
function AlpineHostedApiRepositoryToJSONTyped(value, ignoreDiscriminator = false) {
|
|
66
|
+
if (value == null) {
|
|
67
|
+
return value;
|
|
68
|
+
}
|
|
69
|
+
return {
|
|
70
|
+
'alpineSigning': (0, AlpineSigningRepositoriesAttributes_1.AlpineSigningRepositoriesAttributesToJSON)(value['alpineSigning']),
|
|
71
|
+
'cleanup': (0, CleanupPolicyAttributes_1.CleanupPolicyAttributesToJSON)(value['cleanup']),
|
|
72
|
+
'component': (0, ComponentAttributes_1.ComponentAttributesToJSON)(value['component']),
|
|
73
|
+
'name': value['name'],
|
|
74
|
+
'online': value['online'],
|
|
75
|
+
'storage': (0, HostedStorageAttributes_1.HostedStorageAttributesToJSON)(value['storage']),
|
|
76
|
+
'format': value['format'],
|
|
77
|
+
'type': value['type'],
|
|
78
|
+
'url': value['url'],
|
|
79
|
+
};
|
|
80
|
+
}
|
|
@@ -0,0 +1,117 @@
|
|
|
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.93.2-01.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 3.93.2-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 { StorageAttributes } from './StorageAttributes';
|
|
15
|
+
import type { HttpClientAttributes } from './HttpClientAttributes';
|
|
16
|
+
import type { CleanupPolicyAttributes } from './CleanupPolicyAttributes';
|
|
17
|
+
import type { AlpineSigningRepositoriesAttributes } from './AlpineSigningRepositoriesAttributes';
|
|
18
|
+
import type { ReplicationAttributes } from './ReplicationAttributes';
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @export
|
|
22
|
+
* @interface AlpineProxyApiRepository
|
|
23
|
+
*/
|
|
24
|
+
export interface AlpineProxyApiRepository {
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {AlpineSigningRepositoriesAttributes}
|
|
28
|
+
* @memberof AlpineProxyApiRepository
|
|
29
|
+
*/
|
|
30
|
+
alpineSigning: AlpineSigningRepositoriesAttributes;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {CleanupPolicyAttributes}
|
|
34
|
+
* @memberof AlpineProxyApiRepository
|
|
35
|
+
*/
|
|
36
|
+
cleanup?: CleanupPolicyAttributes;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {HttpClientAttributes}
|
|
40
|
+
* @memberof AlpineProxyApiRepository
|
|
41
|
+
*/
|
|
42
|
+
httpClient: HttpClientAttributes;
|
|
43
|
+
/**
|
|
44
|
+
* A unique identifier for this repository
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof AlpineProxyApiRepository
|
|
47
|
+
*/
|
|
48
|
+
name: string;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {NegativeCacheAttributes}
|
|
52
|
+
* @memberof AlpineProxyApiRepository
|
|
53
|
+
*/
|
|
54
|
+
negativeCache: NegativeCacheAttributes;
|
|
55
|
+
/**
|
|
56
|
+
* Whether this repository accepts incoming requests
|
|
57
|
+
* @type {boolean}
|
|
58
|
+
* @memberof AlpineProxyApiRepository
|
|
59
|
+
*/
|
|
60
|
+
online: boolean;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @type {ProxyAttributes}
|
|
64
|
+
* @memberof AlpineProxyApiRepository
|
|
65
|
+
*/
|
|
66
|
+
proxy: ProxyAttributes;
|
|
67
|
+
/**
|
|
68
|
+
*
|
|
69
|
+
* @type {ReplicationAttributes}
|
|
70
|
+
* @memberof AlpineProxyApiRepository
|
|
71
|
+
*/
|
|
72
|
+
replication?: ReplicationAttributes;
|
|
73
|
+
/**
|
|
74
|
+
*
|
|
75
|
+
* @type {string}
|
|
76
|
+
* @memberof AlpineProxyApiRepository
|
|
77
|
+
*/
|
|
78
|
+
routingRule?: string;
|
|
79
|
+
/**
|
|
80
|
+
*
|
|
81
|
+
* @type {StorageAttributes}
|
|
82
|
+
* @memberof AlpineProxyApiRepository
|
|
83
|
+
*/
|
|
84
|
+
storage: StorageAttributes;
|
|
85
|
+
/**
|
|
86
|
+
*
|
|
87
|
+
* @type {string}
|
|
88
|
+
* @memberof AlpineProxyApiRepository
|
|
89
|
+
*/
|
|
90
|
+
format: string;
|
|
91
|
+
/**
|
|
92
|
+
* The name of the routing rule assigned to this repository
|
|
93
|
+
* @type {string}
|
|
94
|
+
* @memberof AlpineProxyApiRepository
|
|
95
|
+
*/
|
|
96
|
+
routingRuleName?: string;
|
|
97
|
+
/**
|
|
98
|
+
*
|
|
99
|
+
* @type {string}
|
|
100
|
+
* @memberof AlpineProxyApiRepository
|
|
101
|
+
*/
|
|
102
|
+
type: string;
|
|
103
|
+
/**
|
|
104
|
+
*
|
|
105
|
+
* @type {string}
|
|
106
|
+
* @memberof AlpineProxyApiRepository
|
|
107
|
+
*/
|
|
108
|
+
url: string;
|
|
109
|
+
}
|
|
110
|
+
/**
|
|
111
|
+
* Check if a given object implements the AlpineProxyApiRepository interface.
|
|
112
|
+
*/
|
|
113
|
+
export declare function instanceOfAlpineProxyApiRepository(value: object): value is AlpineProxyApiRepository;
|
|
114
|
+
export declare function AlpineProxyApiRepositoryFromJSON(json: any): AlpineProxyApiRepository;
|
|
115
|
+
export declare function AlpineProxyApiRepositoryFromJSONTyped(json: any, ignoreDiscriminator: boolean): AlpineProxyApiRepository;
|
|
116
|
+
export declare function AlpineProxyApiRepositoryToJSON(json: any): AlpineProxyApiRepository;
|
|
117
|
+
export declare function AlpineProxyApiRepositoryToJSONTyped(value?: AlpineProxyApiRepository | null, ignoreDiscriminator?: boolean): any;
|