@sonatype/nexus-repo-api-client 3.81.25 → 3.81.27
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/PyPiProxyApiRepository.d.ts +1 -1
- package/dist/esm/models/PyPiProxyApiRepository.js +2 -2
- package/dist/models/PyPiProxyApiRepository.d.ts +1 -1
- package/dist/models/PyPiProxyApiRepository.js +2 -2
- package/package.json +1 -1
- package/src/apis/RepositoryManagementApi.ts +3 -3
- package/src/models/PyPiProxyApiRepository.ts +3 -3
|
@@ -1134,11 +1134,11 @@ export declare class RepositoryManagementApi extends runtime.BaseAPI {
|
|
|
1134
1134
|
/**
|
|
1135
1135
|
* Get repository
|
|
1136
1136
|
*/
|
|
1137
|
-
getPypiGroupRepositoryRaw(requestParameters: RepositoryManagementApiGetPypiGroupRepositoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
1137
|
+
getPypiGroupRepositoryRaw(requestParameters: RepositoryManagementApiGetPypiGroupRepositoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SimpleApiGroupDeployRepository>>;
|
|
1138
1138
|
/**
|
|
1139
1139
|
* Get repository
|
|
1140
1140
|
*/
|
|
1141
|
-
getPypiGroupRepository(requestParameters: RepositoryManagementApiGetPypiGroupRepositoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
1141
|
+
getPypiGroupRepository(requestParameters: RepositoryManagementApiGetPypiGroupRepositoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SimpleApiGroupDeployRepository>;
|
|
1142
1142
|
/**
|
|
1143
1143
|
* Get repository
|
|
1144
1144
|
*/
|
|
@@ -2461,7 +2461,7 @@ class RepositoryManagementApi extends runtime.BaseAPI {
|
|
|
2461
2461
|
headers: headerParameters,
|
|
2462
2462
|
query: queryParameters,
|
|
2463
2463
|
}, initOverrides);
|
|
2464
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.
|
|
2464
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.SimpleApiGroupDeployRepositoryFromJSON)(jsonValue));
|
|
2465
2465
|
});
|
|
2466
2466
|
}
|
|
2467
2467
|
/**
|
|
@@ -1134,11 +1134,11 @@ export declare class RepositoryManagementApi extends runtime.BaseAPI {
|
|
|
1134
1134
|
/**
|
|
1135
1135
|
* Get repository
|
|
1136
1136
|
*/
|
|
1137
|
-
getPypiGroupRepositoryRaw(requestParameters: RepositoryManagementApiGetPypiGroupRepositoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
1137
|
+
getPypiGroupRepositoryRaw(requestParameters: RepositoryManagementApiGetPypiGroupRepositoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SimpleApiGroupDeployRepository>>;
|
|
1138
1138
|
/**
|
|
1139
1139
|
* Get repository
|
|
1140
1140
|
*/
|
|
1141
|
-
getPypiGroupRepository(requestParameters: RepositoryManagementApiGetPypiGroupRepositoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
1141
|
+
getPypiGroupRepository(requestParameters: RepositoryManagementApiGetPypiGroupRepositoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SimpleApiGroupDeployRepository>;
|
|
1142
1142
|
/**
|
|
1143
1143
|
* Get repository
|
|
1144
1144
|
*/
|
|
@@ -2458,7 +2458,7 @@ export class RepositoryManagementApi extends runtime.BaseAPI {
|
|
|
2458
2458
|
headers: headerParameters,
|
|
2459
2459
|
query: queryParameters,
|
|
2460
2460
|
}, initOverrides);
|
|
2461
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
2461
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => SimpleApiGroupDeployRepositoryFromJSON(jsonValue));
|
|
2462
2462
|
});
|
|
2463
2463
|
}
|
|
2464
2464
|
/**
|
|
@@ -61,7 +61,7 @@ export function PyPiProxyApiRepositoryFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
61
61
|
'proxy': ProxyAttributesFromJSON(json['proxy']),
|
|
62
62
|
'pypi': PyPiProxyAttributesFromJSON(json['pypi']),
|
|
63
63
|
'replication': json['replication'] == null ? undefined : ReplicationAttributesFromJSON(json['replication']),
|
|
64
|
-
'
|
|
64
|
+
'routingRuleName': json['routingRuleName'] == null ? undefined : json['routingRuleName'],
|
|
65
65
|
'storage': StorageAttributesFromJSON(json['storage']),
|
|
66
66
|
'type': json['type'],
|
|
67
67
|
'url': json['url'],
|
|
@@ -84,7 +84,7 @@ export function PyPiProxyApiRepositoryToJSONTyped(value, ignoreDiscriminator = f
|
|
|
84
84
|
'proxy': ProxyAttributesToJSON(value['proxy']),
|
|
85
85
|
'pypi': PyPiProxyAttributesToJSON(value['pypi']),
|
|
86
86
|
'replication': ReplicationAttributesToJSON(value['replication']),
|
|
87
|
-
'
|
|
87
|
+
'routingRuleName': value['routingRuleName'],
|
|
88
88
|
'storage': StorageAttributesToJSON(value['storage']),
|
|
89
89
|
'type': value['type'],
|
|
90
90
|
'url': value['url'],
|
|
@@ -68,7 +68,7 @@ function PyPiProxyApiRepositoryFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
68
68
|
'proxy': (0, ProxyAttributes_1.ProxyAttributesFromJSON)(json['proxy']),
|
|
69
69
|
'pypi': (0, PyPiProxyAttributes_1.PyPiProxyAttributesFromJSON)(json['pypi']),
|
|
70
70
|
'replication': json['replication'] == null ? undefined : (0, ReplicationAttributes_1.ReplicationAttributesFromJSON)(json['replication']),
|
|
71
|
-
'
|
|
71
|
+
'routingRuleName': json['routingRuleName'] == null ? undefined : json['routingRuleName'],
|
|
72
72
|
'storage': (0, StorageAttributes_1.StorageAttributesFromJSON)(json['storage']),
|
|
73
73
|
'type': json['type'],
|
|
74
74
|
'url': json['url'],
|
|
@@ -91,7 +91,7 @@ function PyPiProxyApiRepositoryToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
91
91
|
'proxy': (0, ProxyAttributes_1.ProxyAttributesToJSON)(value['proxy']),
|
|
92
92
|
'pypi': (0, PyPiProxyAttributes_1.PyPiProxyAttributesToJSON)(value['pypi']),
|
|
93
93
|
'replication': (0, ReplicationAttributes_1.ReplicationAttributesToJSON)(value['replication']),
|
|
94
|
-
'
|
|
94
|
+
'routingRuleName': value['routingRuleName'],
|
|
95
95
|
'storage': (0, StorageAttributes_1.StorageAttributesToJSON)(value['storage']),
|
|
96
96
|
'type': value['type'],
|
|
97
97
|
'url': value['url'],
|
package/package.json
CHANGED
|
@@ -3507,7 +3507,7 @@ export class RepositoryManagementApi extends runtime.BaseAPI {
|
|
|
3507
3507
|
/**
|
|
3508
3508
|
* Get repository
|
|
3509
3509
|
*/
|
|
3510
|
-
async getPypiGroupRepositoryRaw(requestParameters: RepositoryManagementApiGetPypiGroupRepositoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
3510
|
+
async getPypiGroupRepositoryRaw(requestParameters: RepositoryManagementApiGetPypiGroupRepositoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SimpleApiGroupDeployRepository>> {
|
|
3511
3511
|
if (requestParameters['repositoryName'] == null) {
|
|
3512
3512
|
throw new runtime.RequiredError(
|
|
3513
3513
|
'repositoryName',
|
|
@@ -3529,13 +3529,13 @@ export class RepositoryManagementApi extends runtime.BaseAPI {
|
|
|
3529
3529
|
query: queryParameters,
|
|
3530
3530
|
}, initOverrides);
|
|
3531
3531
|
|
|
3532
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
3532
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => SimpleApiGroupDeployRepositoryFromJSON(jsonValue));
|
|
3533
3533
|
}
|
|
3534
3534
|
|
|
3535
3535
|
/**
|
|
3536
3536
|
* Get repository
|
|
3537
3537
|
*/
|
|
3538
|
-
async getPypiGroupRepository(requestParameters: RepositoryManagementApiGetPypiGroupRepositoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
3538
|
+
async getPypiGroupRepository(requestParameters: RepositoryManagementApiGetPypiGroupRepositoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SimpleApiGroupDeployRepository> {
|
|
3539
3539
|
const response = await this.getPypiGroupRepositoryRaw(requestParameters, initOverrides);
|
|
3540
3540
|
return await response.value();
|
|
3541
3541
|
}
|
|
@@ -128,7 +128,7 @@ export interface PyPiProxyApiRepository {
|
|
|
128
128
|
* @type {string}
|
|
129
129
|
* @memberof PyPiProxyApiRepository
|
|
130
130
|
*/
|
|
131
|
-
|
|
131
|
+
routingRuleName?: string;
|
|
132
132
|
/**
|
|
133
133
|
*
|
|
134
134
|
* @type {StorageAttributes}
|
|
@@ -185,7 +185,7 @@ export function PyPiProxyApiRepositoryFromJSONTyped(json: any, ignoreDiscriminat
|
|
|
185
185
|
'proxy': ProxyAttributesFromJSON(json['proxy']),
|
|
186
186
|
'pypi': PyPiProxyAttributesFromJSON(json['pypi']),
|
|
187
187
|
'replication': json['replication'] == null ? undefined : ReplicationAttributesFromJSON(json['replication']),
|
|
188
|
-
'
|
|
188
|
+
'routingRuleName': json['routingRuleName'] == null ? undefined : json['routingRuleName'],
|
|
189
189
|
'storage': StorageAttributesFromJSON(json['storage']),
|
|
190
190
|
'type': json['type'],
|
|
191
191
|
'url': json['url'],
|
|
@@ -212,7 +212,7 @@ export function PyPiProxyApiRepositoryToJSONTyped(value?: PyPiProxyApiRepository
|
|
|
212
212
|
'proxy': ProxyAttributesToJSON(value['proxy']),
|
|
213
213
|
'pypi': PyPiProxyAttributesToJSON(value['pypi']),
|
|
214
214
|
'replication': ReplicationAttributesToJSON(value['replication']),
|
|
215
|
-
'
|
|
215
|
+
'routingRuleName': value['routingRuleName'],
|
|
216
216
|
'storage': StorageAttributesToJSON(value['storage']),
|
|
217
217
|
'type': value['type'],
|
|
218
218
|
'url': value['url'],
|