@coscine/api-client 3.10.0 → 3.12.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.
@@ -29,6 +29,7 @@ export declare const MaintenanceApiAxiosParamCreator: (configuration?: Configura
29
29
  *
30
30
  * @summary Retrieves the current maintenance messages.
31
31
  * @param {*} [options] Override http request option.
32
+ * @deprecated
32
33
  * @throws {RequiredError}
33
34
  */
34
35
  getCurrentMaintenances: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
@@ -49,6 +50,7 @@ export declare const MaintenanceApiFp: (configuration?: Configuration) => {
49
50
  *
50
51
  * @summary Retrieves the current maintenance messages.
51
52
  * @param {*} [options] Override http request option.
53
+ * @deprecated
52
54
  * @throws {RequiredError}
53
55
  */
54
56
  getCurrentMaintenances(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MaintenanceDtoPagedResponse>>;
@@ -69,6 +71,7 @@ export declare const MaintenanceApiFactory: (configuration?: Configuration, base
69
71
  *
70
72
  * @summary Retrieves the current maintenance messages.
71
73
  * @param {*} [options] Override http request option.
74
+ * @deprecated
72
75
  * @throws {RequiredError}
73
76
  */
74
77
  getCurrentMaintenances(options?: RawAxiosRequestConfig): AxiosPromise<MaintenanceDtoPagedResponse>;
@@ -92,6 +95,7 @@ export declare class MaintenanceApi extends BaseAPI {
92
95
  *
93
96
  * @summary Retrieves the current maintenance messages.
94
97
  * @param {*} [options] Override http request option.
98
+ * @deprecated
95
99
  * @throws {RequiredError}
96
100
  * @memberof MaintenanceApi
97
101
  */
@@ -12,8 +12,8 @@
12
12
  import type { Configuration } from '../../configuration';
13
13
  import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
14
14
  import { type RequestArgs, BaseAPI } from '../../base';
15
+ import type { ProjectPublicationRequestDtoResponse } from '../../@coscine/model';
15
16
  import type { PublicationRequestForCreationDto } from '../../@coscine/model';
16
- import type { PublicationRequestForCreationDtoResponse } from '../../@coscine/model';
17
17
  /**
18
18
  * ProjectPublicationRequestApi - axios parameter creator
19
19
  * @export
@@ -36,6 +36,15 @@ export declare const ProjectPublicationRequestApiAxiosParamCreator: (configurati
36
36
  * @throws {RequiredError}
37
37
  */
38
38
  createPublicationRequest: (projectId: string, publicationRequestForCreationDto?: PublicationRequestForCreationDto, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
39
+ /**
40
+ *
41
+ * @summary Retrieves a publication request.
42
+ * @param {string} projectId The ID of the project.
43
+ * @param {string} publicationRequestId The ID of the publication request.
44
+ * @param {*} [options] Override http request option.
45
+ * @throws {RequiredError}
46
+ */
47
+ getPublicationRequest: (projectId: string, publicationRequestId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
39
48
  };
40
49
  /**
41
50
  * ProjectPublicationRequestApi - functional programming interface
@@ -58,7 +67,16 @@ export declare const ProjectPublicationRequestApiFp: (configuration?: Configurat
58
67
  * @param {*} [options] Override http request option.
59
68
  * @throws {RequiredError}
60
69
  */
61
- createPublicationRequest(projectId: string, publicationRequestForCreationDto?: PublicationRequestForCreationDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PublicationRequestForCreationDtoResponse>>;
70
+ createPublicationRequest(projectId: string, publicationRequestForCreationDto?: PublicationRequestForCreationDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProjectPublicationRequestDtoResponse>>;
71
+ /**
72
+ *
73
+ * @summary Retrieves a publication request.
74
+ * @param {string} projectId The ID of the project.
75
+ * @param {string} publicationRequestId The ID of the publication request.
76
+ * @param {*} [options] Override http request option.
77
+ * @throws {RequiredError}
78
+ */
79
+ getPublicationRequest(projectId: string, publicationRequestId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProjectPublicationRequestDtoResponse>>;
62
80
  };
63
81
  /**
64
82
  * ProjectPublicationRequestApi - factory interface
@@ -80,7 +98,15 @@ export declare const ProjectPublicationRequestApiFactory: (configuration?: Confi
80
98
  * @param {*} [options] Override http request option.
81
99
  * @throws {RequiredError}
82
100
  */
83
- createPublicationRequest(requestParameters: ProjectPublicationRequestApiCreatePublicationRequestRequest, options?: RawAxiosRequestConfig): AxiosPromise<PublicationRequestForCreationDtoResponse>;
101
+ createPublicationRequest(requestParameters: ProjectPublicationRequestApiCreatePublicationRequestRequest, options?: RawAxiosRequestConfig): AxiosPromise<ProjectPublicationRequestDtoResponse>;
102
+ /**
103
+ *
104
+ * @summary Retrieves a publication request.
105
+ * @param {ProjectPublicationRequestApiGetPublicationRequestRequest} requestParameters Request parameters.
106
+ * @param {*} [options] Override http request option.
107
+ * @throws {RequiredError}
108
+ */
109
+ getPublicationRequest(requestParameters: ProjectPublicationRequestApiGetPublicationRequestRequest, options?: RawAxiosRequestConfig): AxiosPromise<ProjectPublicationRequestDtoResponse>;
84
110
  };
85
111
  /**
86
112
  * Request parameters for apiV2ProjectsProjectIdPublicationsRequestsOptions operation in ProjectPublicationRequestApi.
@@ -114,6 +140,25 @@ export interface ProjectPublicationRequestApiCreatePublicationRequestRequest {
114
140
  */
115
141
  readonly publicationRequestForCreationDto?: PublicationRequestForCreationDto;
116
142
  }
143
+ /**
144
+ * Request parameters for getPublicationRequest operation in ProjectPublicationRequestApi.
145
+ * @export
146
+ * @interface ProjectPublicationRequestApiGetPublicationRequestRequest
147
+ */
148
+ export interface ProjectPublicationRequestApiGetPublicationRequestRequest {
149
+ /**
150
+ * The ID of the project.
151
+ * @type {string}
152
+ * @memberof ProjectPublicationRequestApiGetPublicationRequest
153
+ */
154
+ readonly projectId: string;
155
+ /**
156
+ * The ID of the publication request.
157
+ * @type {string}
158
+ * @memberof ProjectPublicationRequestApiGetPublicationRequest
159
+ */
160
+ readonly publicationRequestId: string;
161
+ }
117
162
  /**
118
163
  * ProjectPublicationRequestApi - object-oriented interface
119
164
  * @export
@@ -138,5 +183,14 @@ export declare class ProjectPublicationRequestApi extends BaseAPI {
138
183
  * @throws {RequiredError}
139
184
  * @memberof ProjectPublicationRequestApi
140
185
  */
141
- createPublicationRequest(requestParameters: ProjectPublicationRequestApiCreatePublicationRequestRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PublicationRequestForCreationDtoResponse, any>>;
186
+ createPublicationRequest(requestParameters: ProjectPublicationRequestApiCreatePublicationRequestRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ProjectPublicationRequestDtoResponse, any>>;
187
+ /**
188
+ *
189
+ * @summary Retrieves a publication request.
190
+ * @param {ProjectPublicationRequestApiGetPublicationRequestRequest} requestParameters Request parameters.
191
+ * @param {*} [options] Override http request option.
192
+ * @throws {RequiredError}
193
+ * @memberof ProjectPublicationRequestApi
194
+ */
195
+ getPublicationRequest(requestParameters: ProjectPublicationRequestApiGetPublicationRequestRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ProjectPublicationRequestDtoResponse, any>>;
142
196
  }
@@ -0,0 +1,291 @@
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@itc.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 { MessageDtoPagedResponse } from '../../@coscine/model';
16
+ import type { MessageType } from '../../@coscine/model';
17
+ /**
18
+ * SystemStatusApi - axios parameter creator
19
+ * @export
20
+ */
21
+ export declare const SystemStatusApiAxiosParamCreator: (configuration?: Configuration) => {
22
+ /**
23
+ *
24
+ * @summary Responds with the HTTP methods allowed for the endpoint.
25
+ * @param {*} [options] Override http request option.
26
+ * @throws {RequiredError}
27
+ */
28
+ apiV2SystemStatusOptions: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
29
+ /**
30
+ *
31
+ * @summary Retrieves the internal messages.
32
+ * @param {string} [startDateAfter] Will only return messages that have their start date after this date.
33
+ * @param {string} [startDateBefore] Will only return messages that have their start date before this date.
34
+ * @param {string} [endDateAfter] Will only return messages that have their end date after this date.
35
+ * @param {string} [endDateBefore] Will only return messages that have their end date before this date.
36
+ * @param {MessageType} [type] Filter messages by their type (e.g. information, warning, error).
37
+ * @param {string} [searchTerm] Filter messages by text contained in the messages or title.
38
+ * @param {number} [pageNumber] The desired page number. Should be greater than or equal to 1. Default is 1.
39
+ * @param {number} [pageSize] The desired page size. Should be between 1 and the maximum allowed page size (50). Default is 10.
40
+ * @param {string} [orderBy] Gets or sets the field name used for ordering the results. The order is constructed by a order string. Use the property followed by \&quot;asc\&quot; or \&quot;desc\&quot; and separate properties by commas. Default is asc.
41
+ * @param {*} [options] Override http request option.
42
+ * @throws {RequiredError}
43
+ */
44
+ getInternalMessages: (startDateAfter?: string, startDateBefore?: string, endDateAfter?: string, endDateBefore?: string, type?: MessageType, searchTerm?: string, pageNumber?: number, pageSize?: number, orderBy?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
45
+ /**
46
+ *
47
+ * @summary Retrieves the NOC messages.
48
+ * @param {string} [startDateAfter] Will only return messages that have their start date after this date.
49
+ * @param {string} [startDateBefore] Will only return messages that have their start date before this date.
50
+ * @param {string} [endDateAfter] Will only return messages that have their end date after this date.
51
+ * @param {string} [endDateBefore] Will only return messages that have their end date before this date.
52
+ * @param {MessageType} [type] Filter messages by their type (e.g. information, warning, error).
53
+ * @param {string} [searchTerm] Filter messages by text contained in the messages or title.
54
+ * @param {number} [pageNumber] The desired page number. Should be greater than or equal to 1. Default is 1.
55
+ * @param {number} [pageSize] The desired page size. Should be between 1 and the maximum allowed page size (50). Default is 10.
56
+ * @param {string} [orderBy] Gets or sets the field name used for ordering the results. The order is constructed by a order string. Use the property followed by \&quot;asc\&quot; or \&quot;desc\&quot; and separate properties by commas. Default is asc.
57
+ * @param {*} [options] Override http request option.
58
+ * @throws {RequiredError}
59
+ */
60
+ getNocMessages: (startDateAfter?: string, startDateBefore?: string, endDateAfter?: string, endDateBefore?: string, type?: MessageType, searchTerm?: string, pageNumber?: number, pageSize?: number, orderBy?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
61
+ };
62
+ /**
63
+ * SystemStatusApi - functional programming interface
64
+ * @export
65
+ */
66
+ export declare const SystemStatusApiFp: (configuration?: Configuration) => {
67
+ /**
68
+ *
69
+ * @summary Responds with the HTTP methods allowed for the endpoint.
70
+ * @param {*} [options] Override http request option.
71
+ * @throws {RequiredError}
72
+ */
73
+ apiV2SystemStatusOptions(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
74
+ /**
75
+ *
76
+ * @summary Retrieves the internal messages.
77
+ * @param {string} [startDateAfter] Will only return messages that have their start date after this date.
78
+ * @param {string} [startDateBefore] Will only return messages that have their start date before this date.
79
+ * @param {string} [endDateAfter] Will only return messages that have their end date after this date.
80
+ * @param {string} [endDateBefore] Will only return messages that have their end date before this date.
81
+ * @param {MessageType} [type] Filter messages by their type (e.g. information, warning, error).
82
+ * @param {string} [searchTerm] Filter messages by text contained in the messages or title.
83
+ * @param {number} [pageNumber] The desired page number. Should be greater than or equal to 1. Default is 1.
84
+ * @param {number} [pageSize] The desired page size. Should be between 1 and the maximum allowed page size (50). Default is 10.
85
+ * @param {string} [orderBy] Gets or sets the field name used for ordering the results. The order is constructed by a order string. Use the property followed by \&quot;asc\&quot; or \&quot;desc\&quot; and separate properties by commas. Default is asc.
86
+ * @param {*} [options] Override http request option.
87
+ * @throws {RequiredError}
88
+ */
89
+ getInternalMessages(startDateAfter?: string, startDateBefore?: string, endDateAfter?: string, endDateBefore?: string, type?: MessageType, searchTerm?: string, pageNumber?: number, pageSize?: number, orderBy?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MessageDtoPagedResponse>>;
90
+ /**
91
+ *
92
+ * @summary Retrieves the NOC messages.
93
+ * @param {string} [startDateAfter] Will only return messages that have their start date after this date.
94
+ * @param {string} [startDateBefore] Will only return messages that have their start date before this date.
95
+ * @param {string} [endDateAfter] Will only return messages that have their end date after this date.
96
+ * @param {string} [endDateBefore] Will only return messages that have their end date before this date.
97
+ * @param {MessageType} [type] Filter messages by their type (e.g. information, warning, error).
98
+ * @param {string} [searchTerm] Filter messages by text contained in the messages or title.
99
+ * @param {number} [pageNumber] The desired page number. Should be greater than or equal to 1. Default is 1.
100
+ * @param {number} [pageSize] The desired page size. Should be between 1 and the maximum allowed page size (50). Default is 10.
101
+ * @param {string} [orderBy] Gets or sets the field name used for ordering the results. The order is constructed by a order string. Use the property followed by \&quot;asc\&quot; or \&quot;desc\&quot; and separate properties by commas. Default is asc.
102
+ * @param {*} [options] Override http request option.
103
+ * @throws {RequiredError}
104
+ */
105
+ getNocMessages(startDateAfter?: string, startDateBefore?: string, endDateAfter?: string, endDateBefore?: string, type?: MessageType, searchTerm?: string, pageNumber?: number, pageSize?: number, orderBy?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MessageDtoPagedResponse>>;
106
+ };
107
+ /**
108
+ * SystemStatusApi - factory interface
109
+ * @export
110
+ */
111
+ export declare const SystemStatusApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
112
+ /**
113
+ *
114
+ * @summary Responds with the HTTP methods allowed for the endpoint.
115
+ * @param {*} [options] Override http request option.
116
+ * @throws {RequiredError}
117
+ */
118
+ apiV2SystemStatusOptions(options?: RawAxiosRequestConfig): AxiosPromise<void>;
119
+ /**
120
+ *
121
+ * @summary Retrieves the internal messages.
122
+ * @param {SystemStatusApiGetInternalMessagesRequest} requestParameters Request parameters.
123
+ * @param {*} [options] Override http request option.
124
+ * @throws {RequiredError}
125
+ */
126
+ getInternalMessages(requestParameters?: SystemStatusApiGetInternalMessagesRequest, options?: RawAxiosRequestConfig): AxiosPromise<MessageDtoPagedResponse>;
127
+ /**
128
+ *
129
+ * @summary Retrieves the NOC messages.
130
+ * @param {SystemStatusApiGetNocMessagesRequest} requestParameters Request parameters.
131
+ * @param {*} [options] Override http request option.
132
+ * @throws {RequiredError}
133
+ */
134
+ getNocMessages(requestParameters?: SystemStatusApiGetNocMessagesRequest, options?: RawAxiosRequestConfig): AxiosPromise<MessageDtoPagedResponse>;
135
+ };
136
+ /**
137
+ * Request parameters for getInternalMessages operation in SystemStatusApi.
138
+ * @export
139
+ * @interface SystemStatusApiGetInternalMessagesRequest
140
+ */
141
+ export interface SystemStatusApiGetInternalMessagesRequest {
142
+ /**
143
+ * Will only return messages that have their start date after this date.
144
+ * @type {string}
145
+ * @memberof SystemStatusApiGetInternalMessages
146
+ */
147
+ readonly startDateAfter?: string;
148
+ /**
149
+ * Will only return messages that have their start date before this date.
150
+ * @type {string}
151
+ * @memberof SystemStatusApiGetInternalMessages
152
+ */
153
+ readonly startDateBefore?: string;
154
+ /**
155
+ * Will only return messages that have their end date after this date.
156
+ * @type {string}
157
+ * @memberof SystemStatusApiGetInternalMessages
158
+ */
159
+ readonly endDateAfter?: string;
160
+ /**
161
+ * Will only return messages that have their end date before this date.
162
+ * @type {string}
163
+ * @memberof SystemStatusApiGetInternalMessages
164
+ */
165
+ readonly endDateBefore?: string;
166
+ /**
167
+ * Filter messages by their type (e.g. information, warning, error).
168
+ * @type {MessageType}
169
+ * @memberof SystemStatusApiGetInternalMessages
170
+ */
171
+ readonly type?: MessageType;
172
+ /**
173
+ * Filter messages by text contained in the messages or title.
174
+ * @type {string}
175
+ * @memberof SystemStatusApiGetInternalMessages
176
+ */
177
+ readonly searchTerm?: string;
178
+ /**
179
+ * The desired page number. Should be greater than or equal to 1. Default is 1.
180
+ * @type {number}
181
+ * @memberof SystemStatusApiGetInternalMessages
182
+ */
183
+ readonly pageNumber?: number;
184
+ /**
185
+ * The desired page size. Should be between 1 and the maximum allowed page size (50). Default is 10.
186
+ * @type {number}
187
+ * @memberof SystemStatusApiGetInternalMessages
188
+ */
189
+ readonly pageSize?: number;
190
+ /**
191
+ * Gets or sets the field name used for ordering the results. The order is constructed by a order string. Use the property followed by \&quot;asc\&quot; or \&quot;desc\&quot; and separate properties by commas. Default is asc.
192
+ * @type {string}
193
+ * @memberof SystemStatusApiGetInternalMessages
194
+ */
195
+ readonly orderBy?: string;
196
+ }
197
+ /**
198
+ * Request parameters for getNocMessages operation in SystemStatusApi.
199
+ * @export
200
+ * @interface SystemStatusApiGetNocMessagesRequest
201
+ */
202
+ export interface SystemStatusApiGetNocMessagesRequest {
203
+ /**
204
+ * Will only return messages that have their start date after this date.
205
+ * @type {string}
206
+ * @memberof SystemStatusApiGetNocMessages
207
+ */
208
+ readonly startDateAfter?: string;
209
+ /**
210
+ * Will only return messages that have their start date before this date.
211
+ * @type {string}
212
+ * @memberof SystemStatusApiGetNocMessages
213
+ */
214
+ readonly startDateBefore?: string;
215
+ /**
216
+ * Will only return messages that have their end date after this date.
217
+ * @type {string}
218
+ * @memberof SystemStatusApiGetNocMessages
219
+ */
220
+ readonly endDateAfter?: string;
221
+ /**
222
+ * Will only return messages that have their end date before this date.
223
+ * @type {string}
224
+ * @memberof SystemStatusApiGetNocMessages
225
+ */
226
+ readonly endDateBefore?: string;
227
+ /**
228
+ * Filter messages by their type (e.g. information, warning, error).
229
+ * @type {MessageType}
230
+ * @memberof SystemStatusApiGetNocMessages
231
+ */
232
+ readonly type?: MessageType;
233
+ /**
234
+ * Filter messages by text contained in the messages or title.
235
+ * @type {string}
236
+ * @memberof SystemStatusApiGetNocMessages
237
+ */
238
+ readonly searchTerm?: string;
239
+ /**
240
+ * The desired page number. Should be greater than or equal to 1. Default is 1.
241
+ * @type {number}
242
+ * @memberof SystemStatusApiGetNocMessages
243
+ */
244
+ readonly pageNumber?: number;
245
+ /**
246
+ * The desired page size. Should be between 1 and the maximum allowed page size (50). Default is 10.
247
+ * @type {number}
248
+ * @memberof SystemStatusApiGetNocMessages
249
+ */
250
+ readonly pageSize?: number;
251
+ /**
252
+ * Gets or sets the field name used for ordering the results. The order is constructed by a order string. Use the property followed by \&quot;asc\&quot; or \&quot;desc\&quot; and separate properties by commas. Default is asc.
253
+ * @type {string}
254
+ * @memberof SystemStatusApiGetNocMessages
255
+ */
256
+ readonly orderBy?: string;
257
+ }
258
+ /**
259
+ * SystemStatusApi - object-oriented interface
260
+ * @export
261
+ * @class SystemStatusApi
262
+ * @extends {BaseAPI}
263
+ */
264
+ export declare class SystemStatusApi extends BaseAPI {
265
+ /**
266
+ *
267
+ * @summary Responds with the HTTP methods allowed for the endpoint.
268
+ * @param {*} [options] Override http request option.
269
+ * @throws {RequiredError}
270
+ * @memberof SystemStatusApi
271
+ */
272
+ apiV2SystemStatusOptions(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
273
+ /**
274
+ *
275
+ * @summary Retrieves the internal messages.
276
+ * @param {SystemStatusApiGetInternalMessagesRequest} requestParameters Request parameters.
277
+ * @param {*} [options] Override http request option.
278
+ * @throws {RequiredError}
279
+ * @memberof SystemStatusApi
280
+ */
281
+ getInternalMessages(requestParameters?: SystemStatusApiGetInternalMessagesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<MessageDtoPagedResponse, any>>;
282
+ /**
283
+ *
284
+ * @summary Retrieves the NOC messages.
285
+ * @param {SystemStatusApiGetNocMessagesRequest} requestParameters Request parameters.
286
+ * @param {*} [options] Override http request option.
287
+ * @throws {RequiredError}
288
+ * @memberof SystemStatusApi
289
+ */
290
+ getNocMessages(requestParameters?: SystemStatusApiGetNocMessagesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<MessageDtoPagedResponse, any>>;
291
+ }
@@ -55,6 +55,9 @@ export * from './license-dto-response';
55
55
  export * from './license-for-resource-manipulation-dto';
56
56
  export * from './maintenance-dto';
57
57
  export * from './maintenance-dto-paged-response';
58
+ export * from './message-dto';
59
+ export * from './message-dto-paged-response';
60
+ export * from './message-type';
58
61
  export * from './metadata-tree-dto';
59
62
  export * from './metadata-tree-dto-paged-response';
60
63
  export * from './metadata-tree-dto-response';
@@ -86,6 +89,8 @@ export * from './project-invitation-dto-response';
86
89
  export * from './project-invitation-for-project-manipulation-dto';
87
90
  export * from './project-invitation-resolve-dto';
88
91
  export * from './project-minimal-dto';
92
+ export * from './project-publication-request-dto';
93
+ export * from './project-publication-request-dto-response';
89
94
  export * from './project-quota-dto';
90
95
  export * from './project-quota-dto-paged-response';
91
96
  export * from './project-quota-dto-response';
@@ -105,7 +110,6 @@ export * from './public-user-dto';
105
110
  export * from './public-user-dto-ienumerable-response';
106
111
  export * from './publication-advisory-service-dto';
107
112
  export * from './publication-request-for-creation-dto';
108
- export * from './publication-request-for-creation-dto-response';
109
113
  export * from './quota-dto';
110
114
  export * from './quota-for-manipulation-dto';
111
115
  export * from './quota-unit';
@@ -9,35 +9,42 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { PublicationRequestForCreationDto } from './publication-request-for-creation-dto';
12
+ import type { MessageDto } from './message-dto';
13
+ import type { Pagination } from './pagination';
13
14
  /**
14
15
  *
15
16
  * @export
16
- * @interface PublicationRequestForCreationDtoResponse
17
+ * @interface MessageDtoPagedResponse
17
18
  */
18
- export interface PublicationRequestForCreationDtoResponse {
19
+ export interface MessageDtoPagedResponse {
19
20
  /**
20
21
  *
21
- * @type {PublicationRequestForCreationDto}
22
- * @memberof PublicationRequestForCreationDtoResponse
22
+ * @type {Array<MessageDto>}
23
+ * @memberof MessageDtoPagedResponse
23
24
  */
24
- 'data'?: PublicationRequestForCreationDto;
25
+ 'data'?: Array<MessageDto> | null;
25
26
  /**
26
27
  *
27
28
  * @type {boolean}
28
- * @memberof PublicationRequestForCreationDtoResponse
29
+ * @memberof MessageDtoPagedResponse
29
30
  */
30
31
  'isSuccess'?: boolean;
31
32
  /**
32
33
  *
33
34
  * @type {number}
34
- * @memberof PublicationRequestForCreationDtoResponse
35
+ * @memberof MessageDtoPagedResponse
35
36
  */
36
37
  'statusCode'?: number | null;
37
38
  /**
38
39
  *
39
40
  * @type {string}
40
- * @memberof PublicationRequestForCreationDtoResponse
41
+ * @memberof MessageDtoPagedResponse
41
42
  */
42
43
  'traceId'?: string | null;
44
+ /**
45
+ *
46
+ * @type {Pagination}
47
+ * @memberof MessageDtoPagedResponse
48
+ */
49
+ 'pagination'?: Pagination;
43
50
  }
@@ -0,0 +1,63 @@
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@itc.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 { MessageType } from './message-type';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface MessageDto
17
+ */
18
+ export interface MessageDto {
19
+ /**
20
+ * ID of the message.
21
+ * @type {string}
22
+ * @memberof MessageDto
23
+ */
24
+ 'id'?: string;
25
+ /**
26
+ * Message body in multiple languages as key-value pairs. The key is the ISO 639-1 Alpha-2 two-letter language code, and the value is the message in that language.
27
+ * @type {{ [key: string]: string; }}
28
+ * @memberof MessageDto
29
+ */
30
+ 'body'?: {
31
+ [key: string]: string;
32
+ } | null;
33
+ /**
34
+ *
35
+ * @type {MessageType}
36
+ * @memberof MessageDto
37
+ */
38
+ 'type'?: MessageType;
39
+ /**
40
+ * Title of the message.
41
+ * @type {string}
42
+ * @memberof MessageDto
43
+ */
44
+ 'title'?: string | null;
45
+ /**
46
+ * URL related to the message.
47
+ * @type {string}
48
+ * @memberof MessageDto
49
+ */
50
+ 'href'?: string | null;
51
+ /**
52
+ * Start date of the message.
53
+ * @type {string}
54
+ * @memberof MessageDto
55
+ */
56
+ 'startDate'?: string | null;
57
+ /**
58
+ * End date of the message.
59
+ * @type {string}
60
+ * @memberof MessageDto
61
+ */
62
+ 'endDate'?: string | null;
63
+ }
@@ -0,0 +1,29 @@
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@itc.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
+ /**
13
+ * Defines the various types of messages.
14
+ * @export
15
+ * @enum {string}
16
+ */
17
+ export declare const MessageType: {
18
+ readonly Disturbance: "Disturbance";
19
+ readonly PartialDisturbance: "PartialDisturbance";
20
+ readonly Maintenance: "Maintenance";
21
+ readonly PartialMaintenance: "PartialMaintenance";
22
+ readonly LimitedOperation: "LimitedOperation";
23
+ readonly Interruption: "Interruption";
24
+ readonly Change: "Change";
25
+ readonly Hint: "Hint";
26
+ readonly Warning: "Warning";
27
+ readonly Information: "Information";
28
+ };
29
+ export type MessageType = typeof MessageType[keyof typeof MessageType];
@@ -0,0 +1,43 @@
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@itc.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 { ProjectPublicationRequestDto } from './project-publication-request-dto';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ProjectPublicationRequestDtoResponse
17
+ */
18
+ export interface ProjectPublicationRequestDtoResponse {
19
+ /**
20
+ *
21
+ * @type {ProjectPublicationRequestDto}
22
+ * @memberof ProjectPublicationRequestDtoResponse
23
+ */
24
+ 'data'?: ProjectPublicationRequestDto;
25
+ /**
26
+ *
27
+ * @type {boolean}
28
+ * @memberof ProjectPublicationRequestDtoResponse
29
+ */
30
+ 'isSuccess'?: boolean;
31
+ /**
32
+ *
33
+ * @type {number}
34
+ * @memberof ProjectPublicationRequestDtoResponse
35
+ */
36
+ 'statusCode'?: number | null;
37
+ /**
38
+ *
39
+ * @type {string}
40
+ * @memberof ProjectPublicationRequestDtoResponse
41
+ */
42
+ 'traceId'?: string | null;
43
+ }