@sonatype/nexus-repo-api-client 3.81.31 → 3.81.33
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/dist/apis/RepositoryManagementApi.d.ts +2 -2
- package/dist/apis/RepositoryManagementApi.js +1 -1
- package/dist/esm/apis/RepositoryManagementApi.d.ts +2 -2
- package/dist/esm/apis/RepositoryManagementApi.js +1 -1
- package/dist/esm/models/CargoGroupApiRepository.d.ts +21 -3
- package/dist/esm/models/CargoGroupApiRepository.js +9 -3
- package/dist/esm/models/CargoProxyApiRepository.d.ts +18 -0
- package/dist/esm/models/CargoProxyApiRepository.js +6 -0
- package/dist/models/CargoGroupApiRepository.d.ts +21 -3
- package/dist/models/CargoGroupApiRepository.js +9 -3
- package/dist/models/CargoProxyApiRepository.d.ts +18 -0
- package/dist/models/CargoProxyApiRepository.js +6 -0
- package/package.json +1 -1
- package/src/apis/RepositoryManagementApi.ts +3 -3
- package/src/models/CargoGroupApiRepository.ts +35 -11
- package/src/models/CargoProxyApiRepository.ts +24 -0
|
@@ -950,11 +950,11 @@ export declare class RepositoryManagementApi extends runtime.BaseAPI {
|
|
|
950
950
|
/**
|
|
951
951
|
* Get repository
|
|
952
952
|
*/
|
|
953
|
-
getConanGroupRepositoryRaw(requestParameters: RepositoryManagementApiGetConanGroupRepositoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
953
|
+
getConanGroupRepositoryRaw(requestParameters: RepositoryManagementApiGetConanGroupRepositoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SimpleApiGroupDeployRepository>>;
|
|
954
954
|
/**
|
|
955
955
|
* Get repository
|
|
956
956
|
*/
|
|
957
|
-
getConanGroupRepository(requestParameters: RepositoryManagementApiGetConanGroupRepositoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
957
|
+
getConanGroupRepository(requestParameters: RepositoryManagementApiGetConanGroupRepositoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SimpleApiGroupDeployRepository>;
|
|
958
958
|
/**
|
|
959
959
|
* Get repository
|
|
960
960
|
*/
|
|
@@ -1748,7 +1748,7 @@ class RepositoryManagementApi extends runtime.BaseAPI {
|
|
|
1748
1748
|
headers: headerParameters,
|
|
1749
1749
|
query: queryParameters,
|
|
1750
1750
|
}, initOverrides);
|
|
1751
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.
|
|
1751
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.SimpleApiGroupDeployRepositoryFromJSON)(jsonValue));
|
|
1752
1752
|
});
|
|
1753
1753
|
}
|
|
1754
1754
|
/**
|
|
@@ -950,11 +950,11 @@ export declare class RepositoryManagementApi extends runtime.BaseAPI {
|
|
|
950
950
|
/**
|
|
951
951
|
* Get repository
|
|
952
952
|
*/
|
|
953
|
-
getConanGroupRepositoryRaw(requestParameters: RepositoryManagementApiGetConanGroupRepositoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
953
|
+
getConanGroupRepositoryRaw(requestParameters: RepositoryManagementApiGetConanGroupRepositoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SimpleApiGroupDeployRepository>>;
|
|
954
954
|
/**
|
|
955
955
|
* Get repository
|
|
956
956
|
*/
|
|
957
|
-
getConanGroupRepository(requestParameters: RepositoryManagementApiGetConanGroupRepositoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
957
|
+
getConanGroupRepository(requestParameters: RepositoryManagementApiGetConanGroupRepositoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SimpleApiGroupDeployRepository>;
|
|
958
958
|
/**
|
|
959
959
|
* Get repository
|
|
960
960
|
*/
|
|
@@ -1745,7 +1745,7 @@ export class RepositoryManagementApi extends runtime.BaseAPI {
|
|
|
1745
1745
|
headers: headerParameters,
|
|
1746
1746
|
query: queryParameters,
|
|
1747
1747
|
}, initOverrides);
|
|
1748
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
1748
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => SimpleApiGroupDeployRepositoryFromJSON(jsonValue));
|
|
1749
1749
|
});
|
|
1750
1750
|
}
|
|
1751
1751
|
/**
|
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { CargoAttributes } from './CargoAttributes';
|
|
13
|
-
import type { GroupDeployAttributes } from './GroupDeployAttributes';
|
|
14
13
|
import type { StorageAttributes } from './StorageAttributes';
|
|
14
|
+
import type { GroupAttributes } from './GroupAttributes';
|
|
15
15
|
/**
|
|
16
16
|
*
|
|
17
17
|
* @export
|
|
@@ -26,10 +26,16 @@ export interface CargoGroupApiRepository {
|
|
|
26
26
|
cargo?: CargoAttributes;
|
|
27
27
|
/**
|
|
28
28
|
*
|
|
29
|
-
* @type {
|
|
29
|
+
* @type {string}
|
|
30
|
+
* @memberof CargoGroupApiRepository
|
|
31
|
+
*/
|
|
32
|
+
format?: string;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @type {GroupAttributes}
|
|
30
36
|
* @memberof CargoGroupApiRepository
|
|
31
37
|
*/
|
|
32
|
-
group:
|
|
38
|
+
group: GroupAttributes;
|
|
33
39
|
/**
|
|
34
40
|
* A unique identifier for this repository
|
|
35
41
|
* @type {string}
|
|
@@ -48,6 +54,18 @@ export interface CargoGroupApiRepository {
|
|
|
48
54
|
* @memberof CargoGroupApiRepository
|
|
49
55
|
*/
|
|
50
56
|
storage: StorageAttributes;
|
|
57
|
+
/**
|
|
58
|
+
*
|
|
59
|
+
* @type {string}
|
|
60
|
+
* @memberof CargoGroupApiRepository
|
|
61
|
+
*/
|
|
62
|
+
type?: string;
|
|
63
|
+
/**
|
|
64
|
+
*
|
|
65
|
+
* @type {string}
|
|
66
|
+
* @memberof CargoGroupApiRepository
|
|
67
|
+
*/
|
|
68
|
+
url?: string;
|
|
51
69
|
}
|
|
52
70
|
/**
|
|
53
71
|
* Check if a given object implements the CargoGroupApiRepository interface.
|
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
import { CargoAttributesFromJSON, CargoAttributesToJSON, } from './CargoAttributes';
|
|
15
|
-
import { GroupDeployAttributesFromJSON, GroupDeployAttributesToJSON, } from './GroupDeployAttributes';
|
|
16
15
|
import { StorageAttributesFromJSON, StorageAttributesToJSON, } from './StorageAttributes';
|
|
16
|
+
import { GroupAttributesFromJSON, GroupAttributesToJSON, } from './GroupAttributes';
|
|
17
17
|
/**
|
|
18
18
|
* Check if a given object implements the CargoGroupApiRepository interface.
|
|
19
19
|
*/
|
|
@@ -35,10 +35,13 @@ export function CargoGroupApiRepositoryFromJSONTyped(json, ignoreDiscriminator)
|
|
|
35
35
|
}
|
|
36
36
|
return {
|
|
37
37
|
'cargo': json['cargo'] == null ? undefined : CargoAttributesFromJSON(json['cargo']),
|
|
38
|
-
'
|
|
38
|
+
'format': json['format'] == null ? undefined : json['format'],
|
|
39
|
+
'group': GroupAttributesFromJSON(json['group']),
|
|
39
40
|
'name': json['name'] == null ? undefined : json['name'],
|
|
40
41
|
'online': json['online'],
|
|
41
42
|
'storage': StorageAttributesFromJSON(json['storage']),
|
|
43
|
+
'type': json['type'] == null ? undefined : json['type'],
|
|
44
|
+
'url': json['url'] == null ? undefined : json['url'],
|
|
42
45
|
};
|
|
43
46
|
}
|
|
44
47
|
export function CargoGroupApiRepositoryToJSON(json) {
|
|
@@ -50,9 +53,12 @@ export function CargoGroupApiRepositoryToJSONTyped(value, ignoreDiscriminator =
|
|
|
50
53
|
}
|
|
51
54
|
return {
|
|
52
55
|
'cargo': CargoAttributesToJSON(value['cargo']),
|
|
53
|
-
'
|
|
56
|
+
'format': value['format'],
|
|
57
|
+
'group': GroupAttributesToJSON(value['group']),
|
|
54
58
|
'name': value['name'],
|
|
55
59
|
'online': value['online'],
|
|
56
60
|
'storage': StorageAttributesToJSON(value['storage']),
|
|
61
|
+
'type': value['type'],
|
|
62
|
+
'url': value['url'],
|
|
57
63
|
};
|
|
58
64
|
}
|
|
@@ -34,6 +34,12 @@ export interface CargoProxyApiRepository {
|
|
|
34
34
|
* @memberof CargoProxyApiRepository
|
|
35
35
|
*/
|
|
36
36
|
cleanup?: CleanupPolicyAttributes;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof CargoProxyApiRepository
|
|
41
|
+
*/
|
|
42
|
+
format?: string;
|
|
37
43
|
/**
|
|
38
44
|
*
|
|
39
45
|
* @type {HttpClientAttributes}
|
|
@@ -82,6 +88,18 @@ export interface CargoProxyApiRepository {
|
|
|
82
88
|
* @memberof CargoProxyApiRepository
|
|
83
89
|
*/
|
|
84
90
|
storage: StorageAttributes;
|
|
91
|
+
/**
|
|
92
|
+
*
|
|
93
|
+
* @type {string}
|
|
94
|
+
* @memberof CargoProxyApiRepository
|
|
95
|
+
*/
|
|
96
|
+
type?: string;
|
|
97
|
+
/**
|
|
98
|
+
*
|
|
99
|
+
* @type {string}
|
|
100
|
+
* @memberof CargoProxyApiRepository
|
|
101
|
+
*/
|
|
102
|
+
url?: string;
|
|
85
103
|
}
|
|
86
104
|
/**
|
|
87
105
|
* Check if a given object implements the CargoProxyApiRepository interface.
|
|
@@ -44,6 +44,7 @@ export function CargoProxyApiRepositoryFromJSONTyped(json, ignoreDiscriminator)
|
|
|
44
44
|
return {
|
|
45
45
|
'cargo': json['cargo'] == null ? undefined : CargoAttributesFromJSON(json['cargo']),
|
|
46
46
|
'cleanup': json['cleanup'] == null ? undefined : CleanupPolicyAttributesFromJSON(json['cleanup']),
|
|
47
|
+
'format': json['format'] == null ? undefined : json['format'],
|
|
47
48
|
'httpClient': HttpClientAttributesFromJSON(json['httpClient']),
|
|
48
49
|
'name': json['name'] == null ? undefined : json['name'],
|
|
49
50
|
'negativeCache': NegativeCacheAttributesFromJSON(json['negativeCache']),
|
|
@@ -52,6 +53,8 @@ export function CargoProxyApiRepositoryFromJSONTyped(json, ignoreDiscriminator)
|
|
|
52
53
|
'replication': json['replication'] == null ? undefined : ReplicationAttributesFromJSON(json['replication']),
|
|
53
54
|
'routingRuleName': json['routingRuleName'] == null ? undefined : json['routingRuleName'],
|
|
54
55
|
'storage': StorageAttributesFromJSON(json['storage']),
|
|
56
|
+
'type': json['type'] == null ? undefined : json['type'],
|
|
57
|
+
'url': json['url'] == null ? undefined : json['url'],
|
|
55
58
|
};
|
|
56
59
|
}
|
|
57
60
|
export function CargoProxyApiRepositoryToJSON(json) {
|
|
@@ -64,6 +67,7 @@ export function CargoProxyApiRepositoryToJSONTyped(value, ignoreDiscriminator =
|
|
|
64
67
|
return {
|
|
65
68
|
'cargo': CargoAttributesToJSON(value['cargo']),
|
|
66
69
|
'cleanup': CleanupPolicyAttributesToJSON(value['cleanup']),
|
|
70
|
+
'format': value['format'],
|
|
67
71
|
'httpClient': HttpClientAttributesToJSON(value['httpClient']),
|
|
68
72
|
'name': value['name'],
|
|
69
73
|
'negativeCache': NegativeCacheAttributesToJSON(value['negativeCache']),
|
|
@@ -72,5 +76,7 @@ export function CargoProxyApiRepositoryToJSONTyped(value, ignoreDiscriminator =
|
|
|
72
76
|
'replication': ReplicationAttributesToJSON(value['replication']),
|
|
73
77
|
'routingRuleName': value['routingRuleName'],
|
|
74
78
|
'storage': StorageAttributesToJSON(value['storage']),
|
|
79
|
+
'type': value['type'],
|
|
80
|
+
'url': value['url'],
|
|
75
81
|
};
|
|
76
82
|
}
|
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { CargoAttributes } from './CargoAttributes';
|
|
13
|
-
import type { GroupDeployAttributes } from './GroupDeployAttributes';
|
|
14
13
|
import type { StorageAttributes } from './StorageAttributes';
|
|
14
|
+
import type { GroupAttributes } from './GroupAttributes';
|
|
15
15
|
/**
|
|
16
16
|
*
|
|
17
17
|
* @export
|
|
@@ -26,10 +26,16 @@ export interface CargoGroupApiRepository {
|
|
|
26
26
|
cargo?: CargoAttributes;
|
|
27
27
|
/**
|
|
28
28
|
*
|
|
29
|
-
* @type {
|
|
29
|
+
* @type {string}
|
|
30
|
+
* @memberof CargoGroupApiRepository
|
|
31
|
+
*/
|
|
32
|
+
format?: string;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @type {GroupAttributes}
|
|
30
36
|
* @memberof CargoGroupApiRepository
|
|
31
37
|
*/
|
|
32
|
-
group:
|
|
38
|
+
group: GroupAttributes;
|
|
33
39
|
/**
|
|
34
40
|
* A unique identifier for this repository
|
|
35
41
|
* @type {string}
|
|
@@ -48,6 +54,18 @@ export interface CargoGroupApiRepository {
|
|
|
48
54
|
* @memberof CargoGroupApiRepository
|
|
49
55
|
*/
|
|
50
56
|
storage: StorageAttributes;
|
|
57
|
+
/**
|
|
58
|
+
*
|
|
59
|
+
* @type {string}
|
|
60
|
+
* @memberof CargoGroupApiRepository
|
|
61
|
+
*/
|
|
62
|
+
type?: string;
|
|
63
|
+
/**
|
|
64
|
+
*
|
|
65
|
+
* @type {string}
|
|
66
|
+
* @memberof CargoGroupApiRepository
|
|
67
|
+
*/
|
|
68
|
+
url?: string;
|
|
51
69
|
}
|
|
52
70
|
/**
|
|
53
71
|
* Check if a given object implements the CargoGroupApiRepository interface.
|
|
@@ -19,8 +19,8 @@ exports.CargoGroupApiRepositoryFromJSONTyped = CargoGroupApiRepositoryFromJSONTy
|
|
|
19
19
|
exports.CargoGroupApiRepositoryToJSON = CargoGroupApiRepositoryToJSON;
|
|
20
20
|
exports.CargoGroupApiRepositoryToJSONTyped = CargoGroupApiRepositoryToJSONTyped;
|
|
21
21
|
const CargoAttributes_1 = require("./CargoAttributes");
|
|
22
|
-
const GroupDeployAttributes_1 = require("./GroupDeployAttributes");
|
|
23
22
|
const StorageAttributes_1 = require("./StorageAttributes");
|
|
23
|
+
const GroupAttributes_1 = require("./GroupAttributes");
|
|
24
24
|
/**
|
|
25
25
|
* Check if a given object implements the CargoGroupApiRepository interface.
|
|
26
26
|
*/
|
|
@@ -42,10 +42,13 @@ function CargoGroupApiRepositoryFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
42
42
|
}
|
|
43
43
|
return {
|
|
44
44
|
'cargo': json['cargo'] == null ? undefined : (0, CargoAttributes_1.CargoAttributesFromJSON)(json['cargo']),
|
|
45
|
-
'
|
|
45
|
+
'format': json['format'] == null ? undefined : json['format'],
|
|
46
|
+
'group': (0, GroupAttributes_1.GroupAttributesFromJSON)(json['group']),
|
|
46
47
|
'name': json['name'] == null ? undefined : json['name'],
|
|
47
48
|
'online': json['online'],
|
|
48
49
|
'storage': (0, StorageAttributes_1.StorageAttributesFromJSON)(json['storage']),
|
|
50
|
+
'type': json['type'] == null ? undefined : json['type'],
|
|
51
|
+
'url': json['url'] == null ? undefined : json['url'],
|
|
49
52
|
};
|
|
50
53
|
}
|
|
51
54
|
function CargoGroupApiRepositoryToJSON(json) {
|
|
@@ -57,9 +60,12 @@ function CargoGroupApiRepositoryToJSONTyped(value, ignoreDiscriminator = false)
|
|
|
57
60
|
}
|
|
58
61
|
return {
|
|
59
62
|
'cargo': (0, CargoAttributes_1.CargoAttributesToJSON)(value['cargo']),
|
|
60
|
-
'
|
|
63
|
+
'format': value['format'],
|
|
64
|
+
'group': (0, GroupAttributes_1.GroupAttributesToJSON)(value['group']),
|
|
61
65
|
'name': value['name'],
|
|
62
66
|
'online': value['online'],
|
|
63
67
|
'storage': (0, StorageAttributes_1.StorageAttributesToJSON)(value['storage']),
|
|
68
|
+
'type': value['type'],
|
|
69
|
+
'url': value['url'],
|
|
64
70
|
};
|
|
65
71
|
}
|
|
@@ -34,6 +34,12 @@ export interface CargoProxyApiRepository {
|
|
|
34
34
|
* @memberof CargoProxyApiRepository
|
|
35
35
|
*/
|
|
36
36
|
cleanup?: CleanupPolicyAttributes;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof CargoProxyApiRepository
|
|
41
|
+
*/
|
|
42
|
+
format?: string;
|
|
37
43
|
/**
|
|
38
44
|
*
|
|
39
45
|
* @type {HttpClientAttributes}
|
|
@@ -82,6 +88,18 @@ export interface CargoProxyApiRepository {
|
|
|
82
88
|
* @memberof CargoProxyApiRepository
|
|
83
89
|
*/
|
|
84
90
|
storage: StorageAttributes;
|
|
91
|
+
/**
|
|
92
|
+
*
|
|
93
|
+
* @type {string}
|
|
94
|
+
* @memberof CargoProxyApiRepository
|
|
95
|
+
*/
|
|
96
|
+
type?: string;
|
|
97
|
+
/**
|
|
98
|
+
*
|
|
99
|
+
* @type {string}
|
|
100
|
+
* @memberof CargoProxyApiRepository
|
|
101
|
+
*/
|
|
102
|
+
url?: string;
|
|
85
103
|
}
|
|
86
104
|
/**
|
|
87
105
|
* Check if a given object implements the CargoProxyApiRepository interface.
|
|
@@ -51,6 +51,7 @@ function CargoProxyApiRepositoryFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
51
51
|
return {
|
|
52
52
|
'cargo': json['cargo'] == null ? undefined : (0, CargoAttributes_1.CargoAttributesFromJSON)(json['cargo']),
|
|
53
53
|
'cleanup': json['cleanup'] == null ? undefined : (0, CleanupPolicyAttributes_1.CleanupPolicyAttributesFromJSON)(json['cleanup']),
|
|
54
|
+
'format': json['format'] == null ? undefined : json['format'],
|
|
54
55
|
'httpClient': (0, HttpClientAttributes_1.HttpClientAttributesFromJSON)(json['httpClient']),
|
|
55
56
|
'name': json['name'] == null ? undefined : json['name'],
|
|
56
57
|
'negativeCache': (0, NegativeCacheAttributes_1.NegativeCacheAttributesFromJSON)(json['negativeCache']),
|
|
@@ -59,6 +60,8 @@ function CargoProxyApiRepositoryFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
59
60
|
'replication': json['replication'] == null ? undefined : (0, ReplicationAttributes_1.ReplicationAttributesFromJSON)(json['replication']),
|
|
60
61
|
'routingRuleName': json['routingRuleName'] == null ? undefined : json['routingRuleName'],
|
|
61
62
|
'storage': (0, StorageAttributes_1.StorageAttributesFromJSON)(json['storage']),
|
|
63
|
+
'type': json['type'] == null ? undefined : json['type'],
|
|
64
|
+
'url': json['url'] == null ? undefined : json['url'],
|
|
62
65
|
};
|
|
63
66
|
}
|
|
64
67
|
function CargoProxyApiRepositoryToJSON(json) {
|
|
@@ -71,6 +74,7 @@ function CargoProxyApiRepositoryToJSONTyped(value, ignoreDiscriminator = false)
|
|
|
71
74
|
return {
|
|
72
75
|
'cargo': (0, CargoAttributes_1.CargoAttributesToJSON)(value['cargo']),
|
|
73
76
|
'cleanup': (0, CleanupPolicyAttributes_1.CleanupPolicyAttributesToJSON)(value['cleanup']),
|
|
77
|
+
'format': value['format'],
|
|
74
78
|
'httpClient': (0, HttpClientAttributes_1.HttpClientAttributesToJSON)(value['httpClient']),
|
|
75
79
|
'name': value['name'],
|
|
76
80
|
'negativeCache': (0, NegativeCacheAttributes_1.NegativeCacheAttributesToJSON)(value['negativeCache']),
|
|
@@ -79,5 +83,7 @@ function CargoProxyApiRepositoryToJSONTyped(value, ignoreDiscriminator = false)
|
|
|
79
83
|
'replication': (0, ReplicationAttributes_1.ReplicationAttributesToJSON)(value['replication']),
|
|
80
84
|
'routingRuleName': value['routingRuleName'],
|
|
81
85
|
'storage': (0, StorageAttributes_1.StorageAttributesToJSON)(value['storage']),
|
|
86
|
+
'type': value['type'],
|
|
87
|
+
'url': value['url'],
|
|
82
88
|
};
|
|
83
89
|
}
|
package/package.json
CHANGED
|
@@ -2688,7 +2688,7 @@ export class RepositoryManagementApi extends runtime.BaseAPI {
|
|
|
2688
2688
|
/**
|
|
2689
2689
|
* Get repository
|
|
2690
2690
|
*/
|
|
2691
|
-
async getConanGroupRepositoryRaw(requestParameters: RepositoryManagementApiGetConanGroupRepositoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
2691
|
+
async getConanGroupRepositoryRaw(requestParameters: RepositoryManagementApiGetConanGroupRepositoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SimpleApiGroupDeployRepository>> {
|
|
2692
2692
|
if (requestParameters['repositoryName'] == null) {
|
|
2693
2693
|
throw new runtime.RequiredError(
|
|
2694
2694
|
'repositoryName',
|
|
@@ -2710,13 +2710,13 @@ export class RepositoryManagementApi extends runtime.BaseAPI {
|
|
|
2710
2710
|
query: queryParameters,
|
|
2711
2711
|
}, initOverrides);
|
|
2712
2712
|
|
|
2713
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
2713
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => SimpleApiGroupDeployRepositoryFromJSON(jsonValue));
|
|
2714
2714
|
}
|
|
2715
2715
|
|
|
2716
2716
|
/**
|
|
2717
2717
|
* Get repository
|
|
2718
2718
|
*/
|
|
2719
|
-
async getConanGroupRepository(requestParameters: RepositoryManagementApiGetConanGroupRepositoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
2719
|
+
async getConanGroupRepository(requestParameters: RepositoryManagementApiGetConanGroupRepositoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SimpleApiGroupDeployRepository> {
|
|
2720
2720
|
const response = await this.getConanGroupRepositoryRaw(requestParameters, initOverrides);
|
|
2721
2721
|
return await response.value();
|
|
2722
2722
|
}
|
|
@@ -20,13 +20,6 @@ import {
|
|
|
20
20
|
CargoAttributesToJSON,
|
|
21
21
|
CargoAttributesToJSONTyped,
|
|
22
22
|
} from './CargoAttributes';
|
|
23
|
-
import type { GroupDeployAttributes } from './GroupDeployAttributes';
|
|
24
|
-
import {
|
|
25
|
-
GroupDeployAttributesFromJSON,
|
|
26
|
-
GroupDeployAttributesFromJSONTyped,
|
|
27
|
-
GroupDeployAttributesToJSON,
|
|
28
|
-
GroupDeployAttributesToJSONTyped,
|
|
29
|
-
} from './GroupDeployAttributes';
|
|
30
23
|
import type { StorageAttributes } from './StorageAttributes';
|
|
31
24
|
import {
|
|
32
25
|
StorageAttributesFromJSON,
|
|
@@ -34,6 +27,13 @@ import {
|
|
|
34
27
|
StorageAttributesToJSON,
|
|
35
28
|
StorageAttributesToJSONTyped,
|
|
36
29
|
} from './StorageAttributes';
|
|
30
|
+
import type { GroupAttributes } from './GroupAttributes';
|
|
31
|
+
import {
|
|
32
|
+
GroupAttributesFromJSON,
|
|
33
|
+
GroupAttributesFromJSONTyped,
|
|
34
|
+
GroupAttributesToJSON,
|
|
35
|
+
GroupAttributesToJSONTyped,
|
|
36
|
+
} from './GroupAttributes';
|
|
37
37
|
|
|
38
38
|
/**
|
|
39
39
|
*
|
|
@@ -49,10 +49,16 @@ export interface CargoGroupApiRepository {
|
|
|
49
49
|
cargo?: CargoAttributes;
|
|
50
50
|
/**
|
|
51
51
|
*
|
|
52
|
-
* @type {
|
|
52
|
+
* @type {string}
|
|
53
53
|
* @memberof CargoGroupApiRepository
|
|
54
54
|
*/
|
|
55
|
-
|
|
55
|
+
format?: string;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {GroupAttributes}
|
|
59
|
+
* @memberof CargoGroupApiRepository
|
|
60
|
+
*/
|
|
61
|
+
group: GroupAttributes;
|
|
56
62
|
/**
|
|
57
63
|
* A unique identifier for this repository
|
|
58
64
|
* @type {string}
|
|
@@ -71,6 +77,18 @@ export interface CargoGroupApiRepository {
|
|
|
71
77
|
* @memberof CargoGroupApiRepository
|
|
72
78
|
*/
|
|
73
79
|
storage: StorageAttributes;
|
|
80
|
+
/**
|
|
81
|
+
*
|
|
82
|
+
* @type {string}
|
|
83
|
+
* @memberof CargoGroupApiRepository
|
|
84
|
+
*/
|
|
85
|
+
type?: string;
|
|
86
|
+
/**
|
|
87
|
+
*
|
|
88
|
+
* @type {string}
|
|
89
|
+
* @memberof CargoGroupApiRepository
|
|
90
|
+
*/
|
|
91
|
+
url?: string;
|
|
74
92
|
}
|
|
75
93
|
|
|
76
94
|
/**
|
|
@@ -94,10 +112,13 @@ export function CargoGroupApiRepositoryFromJSONTyped(json: any, ignoreDiscrimina
|
|
|
94
112
|
return {
|
|
95
113
|
|
|
96
114
|
'cargo': json['cargo'] == null ? undefined : CargoAttributesFromJSON(json['cargo']),
|
|
97
|
-
'
|
|
115
|
+
'format': json['format'] == null ? undefined : json['format'],
|
|
116
|
+
'group': GroupAttributesFromJSON(json['group']),
|
|
98
117
|
'name': json['name'] == null ? undefined : json['name'],
|
|
99
118
|
'online': json['online'],
|
|
100
119
|
'storage': StorageAttributesFromJSON(json['storage']),
|
|
120
|
+
'type': json['type'] == null ? undefined : json['type'],
|
|
121
|
+
'url': json['url'] == null ? undefined : json['url'],
|
|
101
122
|
};
|
|
102
123
|
}
|
|
103
124
|
|
|
@@ -113,10 +134,13 @@ export function CargoGroupApiRepositoryToJSONTyped(value?: CargoGroupApiReposito
|
|
|
113
134
|
return {
|
|
114
135
|
|
|
115
136
|
'cargo': CargoAttributesToJSON(value['cargo']),
|
|
116
|
-
'
|
|
137
|
+
'format': value['format'],
|
|
138
|
+
'group': GroupAttributesToJSON(value['group']),
|
|
117
139
|
'name': value['name'],
|
|
118
140
|
'online': value['online'],
|
|
119
141
|
'storage': StorageAttributesToJSON(value['storage']),
|
|
142
|
+
'type': value['type'],
|
|
143
|
+
'url': value['url'],
|
|
120
144
|
};
|
|
121
145
|
}
|
|
122
146
|
|
|
@@ -81,6 +81,12 @@ export interface CargoProxyApiRepository {
|
|
|
81
81
|
* @memberof CargoProxyApiRepository
|
|
82
82
|
*/
|
|
83
83
|
cleanup?: CleanupPolicyAttributes;
|
|
84
|
+
/**
|
|
85
|
+
*
|
|
86
|
+
* @type {string}
|
|
87
|
+
* @memberof CargoProxyApiRepository
|
|
88
|
+
*/
|
|
89
|
+
format?: string;
|
|
84
90
|
/**
|
|
85
91
|
*
|
|
86
92
|
* @type {HttpClientAttributes}
|
|
@@ -129,6 +135,18 @@ export interface CargoProxyApiRepository {
|
|
|
129
135
|
* @memberof CargoProxyApiRepository
|
|
130
136
|
*/
|
|
131
137
|
storage: StorageAttributes;
|
|
138
|
+
/**
|
|
139
|
+
*
|
|
140
|
+
* @type {string}
|
|
141
|
+
* @memberof CargoProxyApiRepository
|
|
142
|
+
*/
|
|
143
|
+
type?: string;
|
|
144
|
+
/**
|
|
145
|
+
*
|
|
146
|
+
* @type {string}
|
|
147
|
+
* @memberof CargoProxyApiRepository
|
|
148
|
+
*/
|
|
149
|
+
url?: string;
|
|
132
150
|
}
|
|
133
151
|
|
|
134
152
|
/**
|
|
@@ -155,6 +173,7 @@ export function CargoProxyApiRepositoryFromJSONTyped(json: any, ignoreDiscrimina
|
|
|
155
173
|
|
|
156
174
|
'cargo': json['cargo'] == null ? undefined : CargoAttributesFromJSON(json['cargo']),
|
|
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']),
|
|
@@ -163,6 +182,8 @@ export function CargoProxyApiRepositoryFromJSONTyped(json: any, ignoreDiscrimina
|
|
|
163
182
|
'replication': json['replication'] == null ? undefined : ReplicationAttributesFromJSON(json['replication']),
|
|
164
183
|
'routingRuleName': json['routingRuleName'] == null ? undefined : json['routingRuleName'],
|
|
165
184
|
'storage': StorageAttributesFromJSON(json['storage']),
|
|
185
|
+
'type': json['type'] == null ? undefined : json['type'],
|
|
186
|
+
'url': json['url'] == null ? undefined : json['url'],
|
|
166
187
|
};
|
|
167
188
|
}
|
|
168
189
|
|
|
@@ -179,6 +200,7 @@ export function CargoProxyApiRepositoryToJSONTyped(value?: CargoProxyApiReposito
|
|
|
179
200
|
|
|
180
201
|
'cargo': CargoAttributesToJSON(value['cargo']),
|
|
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']),
|
|
@@ -187,6 +209,8 @@ export function CargoProxyApiRepositoryToJSONTyped(value?: CargoProxyApiReposito
|
|
|
187
209
|
'replication': ReplicationAttributesToJSON(value['replication']),
|
|
188
210
|
'routingRuleName': value['routingRuleName'],
|
|
189
211
|
'storage': StorageAttributesToJSON(value['storage']),
|
|
212
|
+
'type': value['type'],
|
|
213
|
+
'url': value['url'],
|
|
190
214
|
};
|
|
191
215
|
}
|
|
192
216
|
|