@sonatype/nexus-repo-api-client 3.96.2 → 3.96.3
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/AssetsApi.d.ts +3 -3
- package/dist/apis/AssetsApi.js +1 -1
- package/dist/apis/ComponentsApi.d.ts +3 -3
- package/dist/apis/ComponentsApi.js +1 -1
- package/dist/apis/InstanceConfigurationApi.d.ts +3 -3
- package/dist/apis/InstanceConfigurationApi.js +1 -1
- package/dist/apis/ReconcilePlanApi.d.ts +5 -5
- package/dist/apis/ReconcilePlanApi.js +2 -2
- package/dist/esm/apis/AssetsApi.d.ts +3 -3
- package/dist/esm/apis/AssetsApi.js +2 -2
- package/dist/esm/apis/ComponentsApi.d.ts +3 -3
- package/dist/esm/apis/ComponentsApi.js +2 -2
- package/dist/esm/apis/InstanceConfigurationApi.d.ts +3 -3
- package/dist/esm/apis/InstanceConfigurationApi.js +2 -2
- package/dist/esm/apis/ReconcilePlanApi.d.ts +5 -5
- package/dist/esm/apis/ReconcilePlanApi.js +3 -3
- package/package.json +1 -1
- package/src/apis/AssetsApi.ts +6 -6
- package/src/apis/ComponentsApi.ts +6 -6
- package/src/apis/InstanceConfigurationApi.ts +6 -6
- package/src/apis/ReconcilePlanApi.ts +12 -9
package/dist/apis/AssetsApi.d.ts
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type { AssetXO,
|
|
13
|
+
import type { AssetXO, PageAssetXO } from '../models/index';
|
|
14
14
|
export interface AssetsApiDeleteAssetsRequest {
|
|
15
15
|
id: string;
|
|
16
16
|
}
|
|
@@ -44,9 +44,9 @@ export declare class AssetsApi extends runtime.BaseAPI {
|
|
|
44
44
|
/**
|
|
45
45
|
* List assets
|
|
46
46
|
*/
|
|
47
|
-
listAssetsRaw(requestParameters: AssetsApiListAssetsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
47
|
+
listAssetsRaw(requestParameters: AssetsApiListAssetsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PageAssetXO>>;
|
|
48
48
|
/**
|
|
49
49
|
* List assets
|
|
50
50
|
*/
|
|
51
|
-
listAssets(requestParameters: AssetsApiListAssetsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
51
|
+
listAssets(requestParameters: AssetsApiListAssetsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PageAssetXO>;
|
|
52
52
|
}
|
package/dist/apis/AssetsApi.js
CHANGED
|
@@ -120,7 +120,7 @@ class AssetsApi extends runtime.BaseAPI {
|
|
|
120
120
|
headers: headerParameters,
|
|
121
121
|
query: queryParameters,
|
|
122
122
|
}, initOverrides);
|
|
123
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.
|
|
123
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.PageAssetXOFromJSON)(jsonValue));
|
|
124
124
|
});
|
|
125
125
|
}
|
|
126
126
|
/**
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type { ComponentXO,
|
|
13
|
+
import type { ComponentXO, PageComponentXO } from '../models/index';
|
|
14
14
|
export interface ComponentsApiCreateComponentsRequest {
|
|
15
15
|
repository: string;
|
|
16
16
|
alpineAsset?: Blob;
|
|
@@ -134,11 +134,11 @@ export declare class ComponentsApi extends runtime.BaseAPI {
|
|
|
134
134
|
/**
|
|
135
135
|
* List components
|
|
136
136
|
*/
|
|
137
|
-
listComponentsRaw(requestParameters: ComponentsApiListComponentsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
137
|
+
listComponentsRaw(requestParameters: ComponentsApiListComponentsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PageComponentXO>>;
|
|
138
138
|
/**
|
|
139
139
|
* List components
|
|
140
140
|
*/
|
|
141
|
-
listComponents(requestParameters: ComponentsApiListComponentsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
141
|
+
listComponents(requestParameters: ComponentsApiListComponentsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PageComponentXO>;
|
|
142
142
|
}
|
|
143
143
|
/**
|
|
144
144
|
* @export
|
|
@@ -447,7 +447,7 @@ class ComponentsApi extends runtime.BaseAPI {
|
|
|
447
447
|
headers: headerParameters,
|
|
448
448
|
query: queryParameters,
|
|
449
449
|
}, initOverrides);
|
|
450
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.
|
|
450
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.PageComponentXOFromJSON)(jsonValue));
|
|
451
451
|
});
|
|
452
452
|
}
|
|
453
453
|
/**
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type { AssetImportResponseXO, ConfigurationApplyResponseXO, InstanceConfigurationXO,
|
|
13
|
+
import type { AssetImportResponseXO, ConfigurationApplyResponseXO, InstanceConfigurationXO, PageAssetXO, TransferCompleteXO } from '../models/index';
|
|
14
14
|
export interface InstanceConfigurationApiCreateConfigurationAssetsImportRequest {
|
|
15
15
|
xNexusMigrationProtocolVersion: string;
|
|
16
16
|
repositoryName: string;
|
|
@@ -87,11 +87,11 @@ export declare class InstanceConfigurationApi extends runtime.BaseAPI {
|
|
|
87
87
|
/**
|
|
88
88
|
* List assets
|
|
89
89
|
*/
|
|
90
|
-
listConfigurationAssetsRaw(requestParameters: InstanceConfigurationApiListConfigurationAssetsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
90
|
+
listConfigurationAssetsRaw(requestParameters: InstanceConfigurationApiListConfigurationAssetsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PageAssetXO>>;
|
|
91
91
|
/**
|
|
92
92
|
* List assets
|
|
93
93
|
*/
|
|
94
|
-
listConfigurationAssets(requestParameters: InstanceConfigurationApiListConfigurationAssetsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
94
|
+
listConfigurationAssets(requestParameters: InstanceConfigurationApiListConfigurationAssetsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PageAssetXO>;
|
|
95
95
|
/**
|
|
96
96
|
* Apply instance configuration
|
|
97
97
|
*/
|
|
@@ -271,7 +271,7 @@ class InstanceConfigurationApi extends runtime.BaseAPI {
|
|
|
271
271
|
headers: headerParameters,
|
|
272
272
|
query: queryParameters,
|
|
273
273
|
}, initOverrides);
|
|
274
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.
|
|
274
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.PageAssetXOFromJSON)(jsonValue));
|
|
275
275
|
});
|
|
276
276
|
}
|
|
277
277
|
/**
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type {
|
|
13
|
+
import type { PageReconcilePlanDetailsXO, PageReconcilePlanXO, ReconcilePlanSummaryXO, ReconcilePlanWithDetailsXO } from '../models/index';
|
|
14
14
|
export interface ReconcilePlanApiCreatePlanRequest {
|
|
15
15
|
repositories?: Array<string>;
|
|
16
16
|
blobStores?: Array<string>;
|
|
@@ -95,19 +95,19 @@ export declare class ReconcilePlanApi extends runtime.BaseAPI {
|
|
|
95
95
|
/**
|
|
96
96
|
* Get list of currently available plans
|
|
97
97
|
*/
|
|
98
|
-
listPlanRaw(requestParameters: ReconcilePlanApiListPlanRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
98
|
+
listPlanRaw(requestParameters: ReconcilePlanApiListPlanRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PageReconcilePlanXO>>;
|
|
99
99
|
/**
|
|
100
100
|
* Get list of currently available plans
|
|
101
101
|
*/
|
|
102
|
-
listPlan(requestParameters?: ReconcilePlanApiListPlanRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
102
|
+
listPlan(requestParameters?: ReconcilePlanApiListPlanRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PageReconcilePlanXO>;
|
|
103
103
|
/**
|
|
104
104
|
* Get reconciliation plan details
|
|
105
105
|
*/
|
|
106
|
-
listPlanDetailsRaw(requestParameters: ReconcilePlanApiListPlanDetailsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
106
|
+
listPlanDetailsRaw(requestParameters: ReconcilePlanApiListPlanDetailsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PageReconcilePlanDetailsXO>>;
|
|
107
107
|
/**
|
|
108
108
|
* Get reconciliation plan details
|
|
109
109
|
*/
|
|
110
|
-
listPlanDetails(requestParameters?: ReconcilePlanApiListPlanDetailsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
110
|
+
listPlanDetails(requestParameters?: ReconcilePlanApiListPlanDetailsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PageReconcilePlanDetailsXO>;
|
|
111
111
|
/**
|
|
112
112
|
* Get aggregate summary of available reconciliation plans
|
|
113
113
|
*/
|
|
@@ -257,7 +257,7 @@ class ReconcilePlanApi extends runtime.BaseAPI {
|
|
|
257
257
|
headers: headerParameters,
|
|
258
258
|
query: queryParameters,
|
|
259
259
|
}, initOverrides);
|
|
260
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.
|
|
260
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.PageReconcilePlanXOFromJSON)(jsonValue));
|
|
261
261
|
});
|
|
262
262
|
}
|
|
263
263
|
/**
|
|
@@ -298,7 +298,7 @@ class ReconcilePlanApi extends runtime.BaseAPI {
|
|
|
298
298
|
headers: headerParameters,
|
|
299
299
|
query: queryParameters,
|
|
300
300
|
}, initOverrides);
|
|
301
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.
|
|
301
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.PageReconcilePlanDetailsXOFromJSON)(jsonValue));
|
|
302
302
|
});
|
|
303
303
|
}
|
|
304
304
|
/**
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type { AssetXO,
|
|
13
|
+
import type { AssetXO, PageAssetXO } from '../models/index';
|
|
14
14
|
export interface AssetsApiDeleteAssetsRequest {
|
|
15
15
|
id: string;
|
|
16
16
|
}
|
|
@@ -44,9 +44,9 @@ export declare class AssetsApi extends runtime.BaseAPI {
|
|
|
44
44
|
/**
|
|
45
45
|
* List assets
|
|
46
46
|
*/
|
|
47
|
-
listAssetsRaw(requestParameters: AssetsApiListAssetsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
47
|
+
listAssetsRaw(requestParameters: AssetsApiListAssetsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PageAssetXO>>;
|
|
48
48
|
/**
|
|
49
49
|
* List assets
|
|
50
50
|
*/
|
|
51
|
-
listAssets(requestParameters: AssetsApiListAssetsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
51
|
+
listAssets(requestParameters: AssetsApiListAssetsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PageAssetXO>;
|
|
52
52
|
}
|
|
@@ -21,7 +21,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
21
21
|
});
|
|
22
22
|
};
|
|
23
23
|
import * as runtime from '../runtime';
|
|
24
|
-
import { AssetXOFromJSON,
|
|
24
|
+
import { AssetXOFromJSON, PageAssetXOFromJSON, } from '../models/index';
|
|
25
25
|
/**
|
|
26
26
|
*
|
|
27
27
|
*/
|
|
@@ -117,7 +117,7 @@ export class AssetsApi extends runtime.BaseAPI {
|
|
|
117
117
|
headers: headerParameters,
|
|
118
118
|
query: queryParameters,
|
|
119
119
|
}, initOverrides);
|
|
120
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
120
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => PageAssetXOFromJSON(jsonValue));
|
|
121
121
|
});
|
|
122
122
|
}
|
|
123
123
|
/**
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type { ComponentXO,
|
|
13
|
+
import type { ComponentXO, PageComponentXO } from '../models/index';
|
|
14
14
|
export interface ComponentsApiCreateComponentsRequest {
|
|
15
15
|
repository: string;
|
|
16
16
|
alpineAsset?: Blob;
|
|
@@ -134,11 +134,11 @@ export declare class ComponentsApi extends runtime.BaseAPI {
|
|
|
134
134
|
/**
|
|
135
135
|
* List components
|
|
136
136
|
*/
|
|
137
|
-
listComponentsRaw(requestParameters: ComponentsApiListComponentsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
137
|
+
listComponentsRaw(requestParameters: ComponentsApiListComponentsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PageComponentXO>>;
|
|
138
138
|
/**
|
|
139
139
|
* List components
|
|
140
140
|
*/
|
|
141
|
-
listComponents(requestParameters: ComponentsApiListComponentsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
141
|
+
listComponents(requestParameters: ComponentsApiListComponentsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PageComponentXO>;
|
|
142
142
|
}
|
|
143
143
|
/**
|
|
144
144
|
* @export
|
|
@@ -21,7 +21,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
21
21
|
});
|
|
22
22
|
};
|
|
23
23
|
import * as runtime from '../runtime';
|
|
24
|
-
import { ComponentXOFromJSON,
|
|
24
|
+
import { ComponentXOFromJSON, PageComponentXOFromJSON, } from '../models/index';
|
|
25
25
|
/**
|
|
26
26
|
*
|
|
27
27
|
*/
|
|
@@ -444,7 +444,7 @@ export class ComponentsApi extends runtime.BaseAPI {
|
|
|
444
444
|
headers: headerParameters,
|
|
445
445
|
query: queryParameters,
|
|
446
446
|
}, initOverrides);
|
|
447
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
447
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => PageComponentXOFromJSON(jsonValue));
|
|
448
448
|
});
|
|
449
449
|
}
|
|
450
450
|
/**
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type { AssetImportResponseXO, ConfigurationApplyResponseXO, InstanceConfigurationXO,
|
|
13
|
+
import type { AssetImportResponseXO, ConfigurationApplyResponseXO, InstanceConfigurationXO, PageAssetXO, TransferCompleteXO } from '../models/index';
|
|
14
14
|
export interface InstanceConfigurationApiCreateConfigurationAssetsImportRequest {
|
|
15
15
|
xNexusMigrationProtocolVersion: string;
|
|
16
16
|
repositoryName: string;
|
|
@@ -87,11 +87,11 @@ export declare class InstanceConfigurationApi extends runtime.BaseAPI {
|
|
|
87
87
|
/**
|
|
88
88
|
* List assets
|
|
89
89
|
*/
|
|
90
|
-
listConfigurationAssetsRaw(requestParameters: InstanceConfigurationApiListConfigurationAssetsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
90
|
+
listConfigurationAssetsRaw(requestParameters: InstanceConfigurationApiListConfigurationAssetsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PageAssetXO>>;
|
|
91
91
|
/**
|
|
92
92
|
* List assets
|
|
93
93
|
*/
|
|
94
|
-
listConfigurationAssets(requestParameters: InstanceConfigurationApiListConfigurationAssetsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
94
|
+
listConfigurationAssets(requestParameters: InstanceConfigurationApiListConfigurationAssetsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PageAssetXO>;
|
|
95
95
|
/**
|
|
96
96
|
* Apply instance configuration
|
|
97
97
|
*/
|
|
@@ -21,7 +21,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
21
21
|
});
|
|
22
22
|
};
|
|
23
23
|
import * as runtime from '../runtime';
|
|
24
|
-
import { AssetImportResponseXOFromJSON, ConfigurationApplyResponseXOFromJSON, InstanceConfigurationXOFromJSON, InstanceConfigurationXOToJSON,
|
|
24
|
+
import { AssetImportResponseXOFromJSON, ConfigurationApplyResponseXOFromJSON, InstanceConfigurationXOFromJSON, InstanceConfigurationXOToJSON, PageAssetXOFromJSON, TransferCompleteXOToJSON, } from '../models/index';
|
|
25
25
|
/**
|
|
26
26
|
*
|
|
27
27
|
*/
|
|
@@ -268,7 +268,7 @@ export class InstanceConfigurationApi extends runtime.BaseAPI {
|
|
|
268
268
|
headers: headerParameters,
|
|
269
269
|
query: queryParameters,
|
|
270
270
|
}, initOverrides);
|
|
271
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
271
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => PageAssetXOFromJSON(jsonValue));
|
|
272
272
|
});
|
|
273
273
|
}
|
|
274
274
|
/**
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type {
|
|
13
|
+
import type { PageReconcilePlanDetailsXO, PageReconcilePlanXO, ReconcilePlanSummaryXO, ReconcilePlanWithDetailsXO } from '../models/index';
|
|
14
14
|
export interface ReconcilePlanApiCreatePlanRequest {
|
|
15
15
|
repositories?: Array<string>;
|
|
16
16
|
blobStores?: Array<string>;
|
|
@@ -95,19 +95,19 @@ export declare class ReconcilePlanApi extends runtime.BaseAPI {
|
|
|
95
95
|
/**
|
|
96
96
|
* Get list of currently available plans
|
|
97
97
|
*/
|
|
98
|
-
listPlanRaw(requestParameters: ReconcilePlanApiListPlanRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
98
|
+
listPlanRaw(requestParameters: ReconcilePlanApiListPlanRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PageReconcilePlanXO>>;
|
|
99
99
|
/**
|
|
100
100
|
* Get list of currently available plans
|
|
101
101
|
*/
|
|
102
|
-
listPlan(requestParameters?: ReconcilePlanApiListPlanRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
102
|
+
listPlan(requestParameters?: ReconcilePlanApiListPlanRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PageReconcilePlanXO>;
|
|
103
103
|
/**
|
|
104
104
|
* Get reconciliation plan details
|
|
105
105
|
*/
|
|
106
|
-
listPlanDetailsRaw(requestParameters: ReconcilePlanApiListPlanDetailsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
106
|
+
listPlanDetailsRaw(requestParameters: ReconcilePlanApiListPlanDetailsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PageReconcilePlanDetailsXO>>;
|
|
107
107
|
/**
|
|
108
108
|
* Get reconciliation plan details
|
|
109
109
|
*/
|
|
110
|
-
listPlanDetails(requestParameters?: ReconcilePlanApiListPlanDetailsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
110
|
+
listPlanDetails(requestParameters?: ReconcilePlanApiListPlanDetailsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PageReconcilePlanDetailsXO>;
|
|
111
111
|
/**
|
|
112
112
|
* Get aggregate summary of available reconciliation plans
|
|
113
113
|
*/
|
|
@@ -21,7 +21,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
21
21
|
});
|
|
22
22
|
};
|
|
23
23
|
import * as runtime from '../runtime';
|
|
24
|
-
import {
|
|
24
|
+
import { PageReconcilePlanDetailsXOFromJSON, PageReconcilePlanXOFromJSON, ReconcilePlanSummaryXOFromJSON, ReconcilePlanWithDetailsXOFromJSON, } from '../models/index';
|
|
25
25
|
/**
|
|
26
26
|
*
|
|
27
27
|
*/
|
|
@@ -254,7 +254,7 @@ export class ReconcilePlanApi extends runtime.BaseAPI {
|
|
|
254
254
|
headers: headerParameters,
|
|
255
255
|
query: queryParameters,
|
|
256
256
|
}, initOverrides);
|
|
257
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
257
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => PageReconcilePlanXOFromJSON(jsonValue));
|
|
258
258
|
});
|
|
259
259
|
}
|
|
260
260
|
/**
|
|
@@ -295,7 +295,7 @@ export class ReconcilePlanApi extends runtime.BaseAPI {
|
|
|
295
295
|
headers: headerParameters,
|
|
296
296
|
query: queryParameters,
|
|
297
297
|
}, initOverrides);
|
|
298
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
298
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => PageReconcilePlanDetailsXOFromJSON(jsonValue));
|
|
299
299
|
});
|
|
300
300
|
}
|
|
301
301
|
/**
|
package/package.json
CHANGED
package/src/apis/AssetsApi.ts
CHANGED
|
@@ -16,13 +16,13 @@
|
|
|
16
16
|
import * as runtime from '../runtime';
|
|
17
17
|
import type {
|
|
18
18
|
AssetXO,
|
|
19
|
-
|
|
19
|
+
PageAssetXO,
|
|
20
20
|
} from '../models/index';
|
|
21
21
|
import {
|
|
22
22
|
AssetXOFromJSON,
|
|
23
23
|
AssetXOToJSON,
|
|
24
|
-
|
|
25
|
-
|
|
24
|
+
PageAssetXOFromJSON,
|
|
25
|
+
PageAssetXOToJSON,
|
|
26
26
|
} from '../models/index';
|
|
27
27
|
|
|
28
28
|
export interface AssetsApiDeleteAssetsRequest {
|
|
@@ -125,7 +125,7 @@ export class AssetsApi extends runtime.BaseAPI {
|
|
|
125
125
|
/**
|
|
126
126
|
* List assets
|
|
127
127
|
*/
|
|
128
|
-
async listAssetsRaw(requestParameters: AssetsApiListAssetsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
128
|
+
async listAssetsRaw(requestParameters: AssetsApiListAssetsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PageAssetXO>> {
|
|
129
129
|
if (requestParameters['repository'] == null) {
|
|
130
130
|
throw new runtime.RequiredError(
|
|
131
131
|
'repository',
|
|
@@ -158,13 +158,13 @@ export class AssetsApi extends runtime.BaseAPI {
|
|
|
158
158
|
query: queryParameters,
|
|
159
159
|
}, initOverrides);
|
|
160
160
|
|
|
161
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
161
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => PageAssetXOFromJSON(jsonValue));
|
|
162
162
|
}
|
|
163
163
|
|
|
164
164
|
/**
|
|
165
165
|
* List assets
|
|
166
166
|
*/
|
|
167
|
-
async listAssets(requestParameters: AssetsApiListAssetsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
167
|
+
async listAssets(requestParameters: AssetsApiListAssetsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PageAssetXO> {
|
|
168
168
|
const response = await this.listAssetsRaw(requestParameters, initOverrides);
|
|
169
169
|
return await response.value();
|
|
170
170
|
}
|
|
@@ -16,13 +16,13 @@
|
|
|
16
16
|
import * as runtime from '../runtime';
|
|
17
17
|
import type {
|
|
18
18
|
ComponentXO,
|
|
19
|
-
|
|
19
|
+
PageComponentXO,
|
|
20
20
|
} from '../models/index';
|
|
21
21
|
import {
|
|
22
22
|
ComponentXOFromJSON,
|
|
23
23
|
ComponentXOToJSON,
|
|
24
|
-
|
|
25
|
-
|
|
24
|
+
PageComponentXOFromJSON,
|
|
25
|
+
PageComponentXOToJSON,
|
|
26
26
|
} from '../models/index';
|
|
27
27
|
|
|
28
28
|
export interface ComponentsApiCreateComponentsRequest {
|
|
@@ -623,7 +623,7 @@ export class ComponentsApi extends runtime.BaseAPI {
|
|
|
623
623
|
/**
|
|
624
624
|
* List components
|
|
625
625
|
*/
|
|
626
|
-
async listComponentsRaw(requestParameters: ComponentsApiListComponentsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
626
|
+
async listComponentsRaw(requestParameters: ComponentsApiListComponentsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PageComponentXO>> {
|
|
627
627
|
if (requestParameters['repository'] == null) {
|
|
628
628
|
throw new runtime.RequiredError(
|
|
629
629
|
'repository',
|
|
@@ -656,13 +656,13 @@ export class ComponentsApi extends runtime.BaseAPI {
|
|
|
656
656
|
query: queryParameters,
|
|
657
657
|
}, initOverrides);
|
|
658
658
|
|
|
659
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
659
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => PageComponentXOFromJSON(jsonValue));
|
|
660
660
|
}
|
|
661
661
|
|
|
662
662
|
/**
|
|
663
663
|
* List components
|
|
664
664
|
*/
|
|
665
|
-
async listComponents(requestParameters: ComponentsApiListComponentsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
665
|
+
async listComponents(requestParameters: ComponentsApiListComponentsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PageComponentXO> {
|
|
666
666
|
const response = await this.listComponentsRaw(requestParameters, initOverrides);
|
|
667
667
|
return await response.value();
|
|
668
668
|
}
|
|
@@ -18,7 +18,7 @@ import type {
|
|
|
18
18
|
AssetImportResponseXO,
|
|
19
19
|
ConfigurationApplyResponseXO,
|
|
20
20
|
InstanceConfigurationXO,
|
|
21
|
-
|
|
21
|
+
PageAssetXO,
|
|
22
22
|
TransferCompleteXO,
|
|
23
23
|
} from '../models/index';
|
|
24
24
|
import {
|
|
@@ -28,8 +28,8 @@ import {
|
|
|
28
28
|
ConfigurationApplyResponseXOToJSON,
|
|
29
29
|
InstanceConfigurationXOFromJSON,
|
|
30
30
|
InstanceConfigurationXOToJSON,
|
|
31
|
-
|
|
32
|
-
|
|
31
|
+
PageAssetXOFromJSON,
|
|
32
|
+
PageAssetXOToJSON,
|
|
33
33
|
TransferCompleteXOFromJSON,
|
|
34
34
|
TransferCompleteXOToJSON,
|
|
35
35
|
} from '../models/index';
|
|
@@ -333,7 +333,7 @@ export class InstanceConfigurationApi extends runtime.BaseAPI {
|
|
|
333
333
|
/**
|
|
334
334
|
* List assets
|
|
335
335
|
*/
|
|
336
|
-
async listConfigurationAssetsRaw(requestParameters: InstanceConfigurationApiListConfigurationAssetsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
336
|
+
async listConfigurationAssetsRaw(requestParameters: InstanceConfigurationApiListConfigurationAssetsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PageAssetXO>> {
|
|
337
337
|
if (requestParameters['xNexusMigrationProtocolVersion'] == null) {
|
|
338
338
|
throw new runtime.RequiredError(
|
|
339
339
|
'xNexusMigrationProtocolVersion',
|
|
@@ -385,13 +385,13 @@ export class InstanceConfigurationApi extends runtime.BaseAPI {
|
|
|
385
385
|
query: queryParameters,
|
|
386
386
|
}, initOverrides);
|
|
387
387
|
|
|
388
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
388
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => PageAssetXOFromJSON(jsonValue));
|
|
389
389
|
}
|
|
390
390
|
|
|
391
391
|
/**
|
|
392
392
|
* List assets
|
|
393
393
|
*/
|
|
394
|
-
async listConfigurationAssets(requestParameters: InstanceConfigurationApiListConfigurationAssetsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
394
|
+
async listConfigurationAssets(requestParameters: InstanceConfigurationApiListConfigurationAssetsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PageAssetXO> {
|
|
395
395
|
const response = await this.listConfigurationAssetsRaw(requestParameters, initOverrides);
|
|
396
396
|
return await response.value();
|
|
397
397
|
}
|
|
@@ -15,13 +15,16 @@
|
|
|
15
15
|
|
|
16
16
|
import * as runtime from '../runtime';
|
|
17
17
|
import type {
|
|
18
|
-
|
|
18
|
+
PageReconcilePlanDetailsXO,
|
|
19
|
+
PageReconcilePlanXO,
|
|
19
20
|
ReconcilePlanSummaryXO,
|
|
20
21
|
ReconcilePlanWithDetailsXO,
|
|
21
22
|
} from '../models/index';
|
|
22
23
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
24
|
+
PageReconcilePlanDetailsXOFromJSON,
|
|
25
|
+
PageReconcilePlanDetailsXOToJSON,
|
|
26
|
+
PageReconcilePlanXOFromJSON,
|
|
27
|
+
PageReconcilePlanXOToJSON,
|
|
25
28
|
ReconcilePlanSummaryXOFromJSON,
|
|
26
29
|
ReconcilePlanSummaryXOToJSON,
|
|
27
30
|
ReconcilePlanWithDetailsXOFromJSON,
|
|
@@ -318,7 +321,7 @@ export class ReconcilePlanApi extends runtime.BaseAPI {
|
|
|
318
321
|
/**
|
|
319
322
|
* Get list of currently available plans
|
|
320
323
|
*/
|
|
321
|
-
async listPlanRaw(requestParameters: ReconcilePlanApiListPlanRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
324
|
+
async listPlanRaw(requestParameters: ReconcilePlanApiListPlanRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PageReconcilePlanXO>> {
|
|
322
325
|
const queryParameters: any = {};
|
|
323
326
|
|
|
324
327
|
if (requestParameters['continuationToken'] != null) {
|
|
@@ -340,13 +343,13 @@ export class ReconcilePlanApi extends runtime.BaseAPI {
|
|
|
340
343
|
query: queryParameters,
|
|
341
344
|
}, initOverrides);
|
|
342
345
|
|
|
343
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
346
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => PageReconcilePlanXOFromJSON(jsonValue));
|
|
344
347
|
}
|
|
345
348
|
|
|
346
349
|
/**
|
|
347
350
|
* Get list of currently available plans
|
|
348
351
|
*/
|
|
349
|
-
async listPlan(requestParameters: ReconcilePlanApiListPlanRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
352
|
+
async listPlan(requestParameters: ReconcilePlanApiListPlanRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PageReconcilePlanXO> {
|
|
350
353
|
const response = await this.listPlanRaw(requestParameters, initOverrides);
|
|
351
354
|
return await response.value();
|
|
352
355
|
}
|
|
@@ -354,7 +357,7 @@ export class ReconcilePlanApi extends runtime.BaseAPI {
|
|
|
354
357
|
/**
|
|
355
358
|
* Get reconciliation plan details
|
|
356
359
|
*/
|
|
357
|
-
async listPlanDetailsRaw(requestParameters: ReconcilePlanApiListPlanDetailsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
360
|
+
async listPlanDetailsRaw(requestParameters: ReconcilePlanApiListPlanDetailsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PageReconcilePlanDetailsXO>> {
|
|
358
361
|
const queryParameters: any = {};
|
|
359
362
|
|
|
360
363
|
if (requestParameters['planId'] != null) {
|
|
@@ -388,13 +391,13 @@ export class ReconcilePlanApi extends runtime.BaseAPI {
|
|
|
388
391
|
query: queryParameters,
|
|
389
392
|
}, initOverrides);
|
|
390
393
|
|
|
391
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
394
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => PageReconcilePlanDetailsXOFromJSON(jsonValue));
|
|
392
395
|
}
|
|
393
396
|
|
|
394
397
|
/**
|
|
395
398
|
* Get reconciliation plan details
|
|
396
399
|
*/
|
|
397
|
-
async listPlanDetails(requestParameters: ReconcilePlanApiListPlanDetailsRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
400
|
+
async listPlanDetails(requestParameters: ReconcilePlanApiListPlanDetailsRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PageReconcilePlanDetailsXO> {
|
|
398
401
|
const response = await this.listPlanDetailsRaw(requestParameters, initOverrides);
|
|
399
402
|
return await response.value();
|
|
400
403
|
}
|