@coscine/api-client 3.17.0 → 3.18.0
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/index.js +766 -661
- package/dist/types/Coscine.Api/@coscine/api/project-sub-projects-api.d.ts +165 -0
- package/dist/types/Coscine.Api/@coscine/model/project-admin-dto.d.ts +1 -0
- package/dist/types/Coscine.Api/@coscine/model/project-dto.d.ts +1 -0
- package/dist/types/Coscine.Api/api.d.ts +1 -0
- package/dist/types/apis.d.ts +4 -0
- package/dist/types/index.d.ts +8 -0
- package/package.json +1 -1
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Coscine Web API
|
|
3
|
+
* Coscine (short for <b>CO</b>llaborative <b>SC</b>ientific <b>IN</b>tegration <b>E</b>nvironment) is the research data management platform for your research project.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2.0
|
|
6
|
+
* Contact: servicedesk@rwth-aachen.de
|
|
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 { Configuration } from '../../configuration';
|
|
13
|
+
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
|
+
import { type RequestArgs, BaseAPI } from '../../base';
|
|
15
|
+
import type { ProjectDtoPagedResponse } from '../../@coscine/model';
|
|
16
|
+
/**
|
|
17
|
+
* ProjectSubProjectsApi - axios parameter creator
|
|
18
|
+
* @export
|
|
19
|
+
*/
|
|
20
|
+
export declare const ProjectSubProjectsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @summary Responds with the HTTP methods allowed for the endpoint.
|
|
24
|
+
* @param {string} projectId
|
|
25
|
+
* @param {*} [options] Override http request option.
|
|
26
|
+
* @throws {RequiredError}
|
|
27
|
+
*/
|
|
28
|
+
apiV2ProjectsProjectIdSubprojectsOptions: (projectId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @summary Retrieves all subprojects for a specified project.
|
|
32
|
+
* @param {string} projectId The Id or slug of the project.
|
|
33
|
+
* @param {boolean} [includeOrganizations] Gets or sets a value indicating whether to retrieve the organizations.
|
|
34
|
+
* @param {number} [pageNumber] The desired page number. Should be greater than or equal to 1. Default is 1.
|
|
35
|
+
* @param {number} [pageSize] The desired page size. Should be between 1 and the maximum allowed page size (50). Default is 10.
|
|
36
|
+
* @param {string} [orderBy] Gets or sets the field name used for ordering the results. The order is constructed by an order string. Use the property followed by \"asc\" or \"desc\" and separate properties by commas. Default is asc.
|
|
37
|
+
* @param {*} [options] Override http request option.
|
|
38
|
+
* @throws {RequiredError}
|
|
39
|
+
*/
|
|
40
|
+
getSubProjectsForProject: (projectId: string, includeOrganizations?: boolean, pageNumber?: number, pageSize?: number, orderBy?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
41
|
+
};
|
|
42
|
+
/**
|
|
43
|
+
* ProjectSubProjectsApi - functional programming interface
|
|
44
|
+
* @export
|
|
45
|
+
*/
|
|
46
|
+
export declare const ProjectSubProjectsApiFp: (configuration?: Configuration) => {
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @summary Responds with the HTTP methods allowed for the endpoint.
|
|
50
|
+
* @param {string} projectId
|
|
51
|
+
* @param {*} [options] Override http request option.
|
|
52
|
+
* @throws {RequiredError}
|
|
53
|
+
*/
|
|
54
|
+
apiV2ProjectsProjectIdSubprojectsOptions(projectId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @summary Retrieves all subprojects for a specified project.
|
|
58
|
+
* @param {string} projectId The Id or slug of the project.
|
|
59
|
+
* @param {boolean} [includeOrganizations] Gets or sets a value indicating whether to retrieve the organizations.
|
|
60
|
+
* @param {number} [pageNumber] The desired page number. Should be greater than or equal to 1. Default is 1.
|
|
61
|
+
* @param {number} [pageSize] The desired page size. Should be between 1 and the maximum allowed page size (50). Default is 10.
|
|
62
|
+
* @param {string} [orderBy] Gets or sets the field name used for ordering the results. The order is constructed by an order string. Use the property followed by \"asc\" or \"desc\" and separate properties by commas. Default is asc.
|
|
63
|
+
* @param {*} [options] Override http request option.
|
|
64
|
+
* @throws {RequiredError}
|
|
65
|
+
*/
|
|
66
|
+
getSubProjectsForProject(projectId: string, includeOrganizations?: boolean, pageNumber?: number, pageSize?: number, orderBy?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProjectDtoPagedResponse>>;
|
|
67
|
+
};
|
|
68
|
+
/**
|
|
69
|
+
* ProjectSubProjectsApi - factory interface
|
|
70
|
+
* @export
|
|
71
|
+
*/
|
|
72
|
+
export declare const ProjectSubProjectsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
73
|
+
/**
|
|
74
|
+
*
|
|
75
|
+
* @summary Responds with the HTTP methods allowed for the endpoint.
|
|
76
|
+
* @param {ProjectSubProjectsApiApiV2ProjectsProjectIdSubprojectsOptionsRequest} requestParameters Request parameters.
|
|
77
|
+
* @param {*} [options] Override http request option.
|
|
78
|
+
* @throws {RequiredError}
|
|
79
|
+
*/
|
|
80
|
+
apiV2ProjectsProjectIdSubprojectsOptions(requestParameters: ProjectSubProjectsApiApiV2ProjectsProjectIdSubprojectsOptionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
81
|
+
/**
|
|
82
|
+
*
|
|
83
|
+
* @summary Retrieves all subprojects for a specified project.
|
|
84
|
+
* @param {ProjectSubProjectsApiGetSubProjectsForProjectRequest} requestParameters Request parameters.
|
|
85
|
+
* @param {*} [options] Override http request option.
|
|
86
|
+
* @throws {RequiredError}
|
|
87
|
+
*/
|
|
88
|
+
getSubProjectsForProject(requestParameters: ProjectSubProjectsApiGetSubProjectsForProjectRequest, options?: RawAxiosRequestConfig): AxiosPromise<ProjectDtoPagedResponse>;
|
|
89
|
+
};
|
|
90
|
+
/**
|
|
91
|
+
* Request parameters for apiV2ProjectsProjectIdSubprojectsOptions operation in ProjectSubProjectsApi.
|
|
92
|
+
* @export
|
|
93
|
+
* @interface ProjectSubProjectsApiApiV2ProjectsProjectIdSubprojectsOptionsRequest
|
|
94
|
+
*/
|
|
95
|
+
export interface ProjectSubProjectsApiApiV2ProjectsProjectIdSubprojectsOptionsRequest {
|
|
96
|
+
/**
|
|
97
|
+
*
|
|
98
|
+
* @type {string}
|
|
99
|
+
* @memberof ProjectSubProjectsApiApiV2ProjectsProjectIdSubprojectsOptions
|
|
100
|
+
*/
|
|
101
|
+
readonly projectId: string;
|
|
102
|
+
}
|
|
103
|
+
/**
|
|
104
|
+
* Request parameters for getSubProjectsForProject operation in ProjectSubProjectsApi.
|
|
105
|
+
* @export
|
|
106
|
+
* @interface ProjectSubProjectsApiGetSubProjectsForProjectRequest
|
|
107
|
+
*/
|
|
108
|
+
export interface ProjectSubProjectsApiGetSubProjectsForProjectRequest {
|
|
109
|
+
/**
|
|
110
|
+
* The Id or slug of the project.
|
|
111
|
+
* @type {string}
|
|
112
|
+
* @memberof ProjectSubProjectsApiGetSubProjectsForProject
|
|
113
|
+
*/
|
|
114
|
+
readonly projectId: string;
|
|
115
|
+
/**
|
|
116
|
+
* Gets or sets a value indicating whether to retrieve the organizations.
|
|
117
|
+
* @type {boolean}
|
|
118
|
+
* @memberof ProjectSubProjectsApiGetSubProjectsForProject
|
|
119
|
+
*/
|
|
120
|
+
readonly includeOrganizations?: boolean;
|
|
121
|
+
/**
|
|
122
|
+
* The desired page number. Should be greater than or equal to 1. Default is 1.
|
|
123
|
+
* @type {number}
|
|
124
|
+
* @memberof ProjectSubProjectsApiGetSubProjectsForProject
|
|
125
|
+
*/
|
|
126
|
+
readonly pageNumber?: number;
|
|
127
|
+
/**
|
|
128
|
+
* The desired page size. Should be between 1 and the maximum allowed page size (50). Default is 10.
|
|
129
|
+
* @type {number}
|
|
130
|
+
* @memberof ProjectSubProjectsApiGetSubProjectsForProject
|
|
131
|
+
*/
|
|
132
|
+
readonly pageSize?: number;
|
|
133
|
+
/**
|
|
134
|
+
* Gets or sets the field name used for ordering the results. The order is constructed by an order string. Use the property followed by \"asc\" or \"desc\" and separate properties by commas. Default is asc.
|
|
135
|
+
* @type {string}
|
|
136
|
+
* @memberof ProjectSubProjectsApiGetSubProjectsForProject
|
|
137
|
+
*/
|
|
138
|
+
readonly orderBy?: string;
|
|
139
|
+
}
|
|
140
|
+
/**
|
|
141
|
+
* ProjectSubProjectsApi - object-oriented interface
|
|
142
|
+
* @export
|
|
143
|
+
* @class ProjectSubProjectsApi
|
|
144
|
+
* @extends {BaseAPI}
|
|
145
|
+
*/
|
|
146
|
+
export declare class ProjectSubProjectsApi extends BaseAPI {
|
|
147
|
+
/**
|
|
148
|
+
*
|
|
149
|
+
* @summary Responds with the HTTP methods allowed for the endpoint.
|
|
150
|
+
* @param {ProjectSubProjectsApiApiV2ProjectsProjectIdSubprojectsOptionsRequest} requestParameters Request parameters.
|
|
151
|
+
* @param {*} [options] Override http request option.
|
|
152
|
+
* @throws {RequiredError}
|
|
153
|
+
* @memberof ProjectSubProjectsApi
|
|
154
|
+
*/
|
|
155
|
+
apiV2ProjectsProjectIdSubprojectsOptions(requestParameters: ProjectSubProjectsApiApiV2ProjectsProjectIdSubprojectsOptionsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
156
|
+
/**
|
|
157
|
+
*
|
|
158
|
+
* @summary Retrieves all subprojects for a specified project.
|
|
159
|
+
* @param {ProjectSubProjectsApiGetSubProjectsForProjectRequest} requestParameters Request parameters.
|
|
160
|
+
* @param {*} [options] Override http request option.
|
|
161
|
+
* @throws {RequiredError}
|
|
162
|
+
* @memberof ProjectSubProjectsApi
|
|
163
|
+
*/
|
|
164
|
+
getSubProjectsForProject(requestParameters: ProjectSubProjectsApiGetSubProjectsForProjectRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ProjectDtoPagedResponse, any>>;
|
|
165
|
+
}
|
|
@@ -28,6 +28,7 @@ export * from './@coscine/api/project-quota-api';
|
|
|
28
28
|
export * from './@coscine/api/project-resource-api';
|
|
29
29
|
export * from './@coscine/api/project-resource-quota-api';
|
|
30
30
|
export * from './@coscine/api/project-resource-type-api';
|
|
31
|
+
export * from './@coscine/api/project-sub-projects-api';
|
|
31
32
|
export * from './@coscine/api/provenance-api';
|
|
32
33
|
export * from './@coscine/api/resource-api';
|
|
33
34
|
export * from './@coscine/api/resource-type-api';
|
package/dist/types/apis.d.ts
CHANGED
|
@@ -132,6 +132,10 @@ declare function implementations(axios?: AxiosInstance): {
|
|
|
132
132
|
apiV2ProjectsProjectIdResourceTypesOptions(requestParameters: import("./Coscine.Api/api").ProjectResourceTypeApiApiV2ProjectsProjectIdResourceTypesOptionsRequest, options?: import("axios").RawAxiosRequestConfig | undefined): import("axios").AxiosPromise<void>;
|
|
133
133
|
getAvailableResourceTypesInformationForProject(requestParameters: import("./Coscine.Api/api").ProjectResourceTypeApiGetAvailableResourceTypesInformationForProjectRequest, options?: import("axios").RawAxiosRequestConfig | undefined): import("axios").AxiosPromise<import("./Coscine.Api").ResourceTypeInformationDtoIEnumerableResponse>;
|
|
134
134
|
};
|
|
135
|
+
ProjectSubProjectsApi: {
|
|
136
|
+
apiV2ProjectsProjectIdSubprojectsOptions(requestParameters: import("./Coscine.Api/api").ProjectSubProjectsApiApiV2ProjectsProjectIdSubprojectsOptionsRequest, options?: import("axios").RawAxiosRequestConfig | undefined): import("axios").AxiosPromise<void>;
|
|
137
|
+
getSubProjectsForProject(requestParameters: import("./Coscine.Api/api").ProjectSubProjectsApiGetSubProjectsForProjectRequest, options?: import("axios").RawAxiosRequestConfig | undefined): import("axios").AxiosPromise<import("./Coscine.Api").ProjectDtoPagedResponse>;
|
|
138
|
+
};
|
|
135
139
|
ResourceApi: {
|
|
136
140
|
apiV2ResourcesOptions(options?: import("axios").RawAxiosRequestConfig | undefined): import("axios").AxiosPromise<void>;
|
|
137
141
|
getResource(requestParameters: import("./Coscine.Api/api").ResourceApiGetResourceRequest, options?: import("axios").RawAxiosRequestConfig | undefined): import("axios").AxiosPromise<import("./Coscine.Api").ResourceDtoResponse>;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -131,6 +131,10 @@ declare const apis: {
|
|
|
131
131
|
apiV2ProjectsProjectIdResourceTypesOptions(requestParameters: import("./Coscine.Api").ProjectResourceTypeApiApiV2ProjectsProjectIdResourceTypesOptionsRequest, options?: import("axios").RawAxiosRequestConfig | undefined): import("axios").AxiosPromise<void>;
|
|
132
132
|
getAvailableResourceTypesInformationForProject(requestParameters: import("./Coscine.Api").ProjectResourceTypeApiGetAvailableResourceTypesInformationForProjectRequest, options?: import("axios").RawAxiosRequestConfig | undefined): import("axios").AxiosPromise<import("./Coscine.Api").ResourceTypeInformationDtoIEnumerableResponse>;
|
|
133
133
|
};
|
|
134
|
+
ProjectSubProjectsApi: {
|
|
135
|
+
apiV2ProjectsProjectIdSubprojectsOptions(requestParameters: import("./Coscine.Api").ProjectSubProjectsApiApiV2ProjectsProjectIdSubprojectsOptionsRequest, options?: import("axios").RawAxiosRequestConfig | undefined): import("axios").AxiosPromise<void>;
|
|
136
|
+
getSubProjectsForProject(requestParameters: import("./Coscine.Api").ProjectSubProjectsApiGetSubProjectsForProjectRequest, options?: import("axios").RawAxiosRequestConfig | undefined): import("axios").AxiosPromise<import("./Coscine.Api").ProjectDtoPagedResponse>;
|
|
137
|
+
};
|
|
134
138
|
ResourceApi: {
|
|
135
139
|
apiV2ResourcesOptions(options?: import("axios").RawAxiosRequestConfig | undefined): import("axios").AxiosPromise<void>;
|
|
136
140
|
getResource(requestParameters: import("./Coscine.Api").ResourceApiGetResourceRequest, options?: import("axios").RawAxiosRequestConfig | undefined): import("axios").AxiosPromise<import("./Coscine.Api").ResourceDtoResponse>;
|
|
@@ -362,6 +366,10 @@ export declare const ProjectResourceTypeApi: {
|
|
|
362
366
|
apiV2ProjectsProjectIdResourceTypesOptions(requestParameters: import("./Coscine.Api").ProjectResourceTypeApiApiV2ProjectsProjectIdResourceTypesOptionsRequest, options?: import("axios").RawAxiosRequestConfig | undefined): import("axios").AxiosPromise<void>;
|
|
363
367
|
getAvailableResourceTypesInformationForProject(requestParameters: import("./Coscine.Api").ProjectResourceTypeApiGetAvailableResourceTypesInformationForProjectRequest, options?: import("axios").RawAxiosRequestConfig | undefined): import("axios").AxiosPromise<import("./Coscine.Api").ResourceTypeInformationDtoIEnumerableResponse>;
|
|
364
368
|
};
|
|
369
|
+
export declare const ProjectSubProjectsApi: {
|
|
370
|
+
apiV2ProjectsProjectIdSubprojectsOptions(requestParameters: import("./Coscine.Api").ProjectSubProjectsApiApiV2ProjectsProjectIdSubprojectsOptionsRequest, options?: import("axios").RawAxiosRequestConfig | undefined): import("axios").AxiosPromise<void>;
|
|
371
|
+
getSubProjectsForProject(requestParameters: import("./Coscine.Api").ProjectSubProjectsApiGetSubProjectsForProjectRequest, options?: import("axios").RawAxiosRequestConfig | undefined): import("axios").AxiosPromise<import("./Coscine.Api").ProjectDtoPagedResponse>;
|
|
372
|
+
};
|
|
365
373
|
export declare const ResourceApi: {
|
|
366
374
|
apiV2ResourcesOptions(options?: import("axios").RawAxiosRequestConfig | undefined): import("axios").AxiosPromise<void>;
|
|
367
375
|
getResource(requestParameters: import("./Coscine.Api").ResourceApiGetResourceRequest, options?: import("axios").RawAxiosRequestConfig | undefined): import("axios").AxiosPromise<import("./Coscine.Api").ResourceDtoResponse>;
|