@coscine/api-client 3.11.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.
- package/dist/index.js +1114 -946
- package/dist/types/Coscine.Api/@coscine/api/maintenance-api.d.ts +4 -0
- package/dist/types/Coscine.Api/@coscine/api/system-status-api.d.ts +291 -0
- package/dist/types/Coscine.Api/@coscine/model/index.d.ts +3 -0
- package/dist/types/Coscine.Api/@coscine/model/message-dto-paged-response.d.ts +50 -0
- package/dist/types/Coscine.Api/@coscine/model/message-dto.d.ts +63 -0
- package/dist/types/Coscine.Api/@coscine/model/message-type.d.ts +29 -0
- package/dist/types/Coscine.Api/api.d.ts +1 -0
- package/dist/types/apis.d.ts +5 -0
- package/dist/types/index.d.ts +10 -0
- package/package.json +1 -1
|
@@ -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
|
*/
|
|
@@ -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 \"asc\" or \"desc\" 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 \"asc\" or \"desc\" 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 \"asc\" or \"desc\" 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 \"asc\" or \"desc\" 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 \"asc\" or \"desc\" 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 \"asc\" or \"desc\" 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';
|
|
@@ -0,0 +1,50 @@
|
|
|
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 { MessageDto } from './message-dto';
|
|
13
|
+
import type { Pagination } from './pagination';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface MessageDtoPagedResponse
|
|
18
|
+
*/
|
|
19
|
+
export interface MessageDtoPagedResponse {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {Array<MessageDto>}
|
|
23
|
+
* @memberof MessageDtoPagedResponse
|
|
24
|
+
*/
|
|
25
|
+
'data'?: Array<MessageDto> | null;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {boolean}
|
|
29
|
+
* @memberof MessageDtoPagedResponse
|
|
30
|
+
*/
|
|
31
|
+
'isSuccess'?: boolean;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {number}
|
|
35
|
+
* @memberof MessageDtoPagedResponse
|
|
36
|
+
*/
|
|
37
|
+
'statusCode'?: number | null;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {string}
|
|
41
|
+
* @memberof MessageDtoPagedResponse
|
|
42
|
+
*/
|
|
43
|
+
'traceId'?: string | null;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {Pagination}
|
|
47
|
+
* @memberof MessageDtoPagedResponse
|
|
48
|
+
*/
|
|
49
|
+
'pagination'?: Pagination;
|
|
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];
|
|
@@ -35,6 +35,7 @@ export * from './@coscine/api/search-api';
|
|
|
35
35
|
export * from './@coscine/api/self-api';
|
|
36
36
|
export * from './@coscine/api/self-api-token-api';
|
|
37
37
|
export * from './@coscine/api/self-session-api';
|
|
38
|
+
export * from './@coscine/api/system-status-api';
|
|
38
39
|
export * from './@coscine/api/title-api';
|
|
39
40
|
export * from './@coscine/api/tos-api';
|
|
40
41
|
export * from './@coscine/api/tree-api';
|
package/dist/types/apis.d.ts
CHANGED
|
@@ -173,6 +173,11 @@ declare function implementations(axios?: AxiosInstance): {
|
|
|
173
173
|
shibbolethCallback(requestParameters?: import("./Coscine.Api.STS/api").ShibbolethApiShibbolethCallbackRequest, options?: import("axios").AxiosRequestConfig<any> | undefined): import("axios").AxiosPromise<File>;
|
|
174
174
|
shibbolethLogin(requestParameters?: import("./Coscine.Api.STS/api").ShibbolethApiShibbolethLoginRequest, options?: import("axios").AxiosRequestConfig<any> | undefined): import("axios").AxiosPromise<File>;
|
|
175
175
|
};
|
|
176
|
+
SystemStatusApi: {
|
|
177
|
+
apiV2SystemStatusOptions(options?: import("axios").RawAxiosRequestConfig | undefined): import("axios").AxiosPromise<void>;
|
|
178
|
+
getInternalMessages(requestParameters?: import("./Coscine.Api/api").SystemStatusApiGetInternalMessagesRequest, options?: import("axios").RawAxiosRequestConfig | undefined): import("axios").AxiosPromise<import("./Coscine.Api").MessageDtoPagedResponse>;
|
|
179
|
+
getNocMessages(requestParameters?: import("./Coscine.Api/api").SystemStatusApiGetNocMessagesRequest, options?: import("axios").RawAxiosRequestConfig | undefined): import("axios").AxiosPromise<import("./Coscine.Api").MessageDtoPagedResponse>;
|
|
180
|
+
};
|
|
176
181
|
TitleApi: {
|
|
177
182
|
apiV2TitlesOptions(options?: import("axios").RawAxiosRequestConfig | undefined): import("axios").AxiosPromise<void>;
|
|
178
183
|
getTitle(requestParameters: import("./Coscine.Api/api").TitleApiGetTitleRequest, options?: import("axios").RawAxiosRequestConfig | undefined): import("axios").AxiosPromise<import("./Coscine.Api").TitleDtoResponse>;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -172,6 +172,11 @@ declare const apis: {
|
|
|
172
172
|
shibbolethCallback(requestParameters?: import("./Coscine.Api.STS").ShibbolethApiShibbolethCallbackRequest, options?: import("axios").AxiosRequestConfig<any> | undefined): import("axios").AxiosPromise<File>;
|
|
173
173
|
shibbolethLogin(requestParameters?: import("./Coscine.Api.STS").ShibbolethApiShibbolethLoginRequest, options?: import("axios").AxiosRequestConfig<any> | undefined): import("axios").AxiosPromise<File>;
|
|
174
174
|
};
|
|
175
|
+
SystemStatusApi: {
|
|
176
|
+
apiV2SystemStatusOptions(options?: import("axios").RawAxiosRequestConfig | undefined): import("axios").AxiosPromise<void>;
|
|
177
|
+
getInternalMessages(requestParameters?: import("./Coscine.Api").SystemStatusApiGetInternalMessagesRequest, options?: import("axios").RawAxiosRequestConfig | undefined): import("axios").AxiosPromise<import("./Coscine.Api").MessageDtoPagedResponse>;
|
|
178
|
+
getNocMessages(requestParameters?: import("./Coscine.Api").SystemStatusApiGetNocMessagesRequest, options?: import("axios").RawAxiosRequestConfig | undefined): import("axios").AxiosPromise<import("./Coscine.Api").MessageDtoPagedResponse>;
|
|
179
|
+
};
|
|
175
180
|
TitleApi: {
|
|
176
181
|
apiV2TitlesOptions(options?: import("axios").RawAxiosRequestConfig | undefined): import("axios").AxiosPromise<void>;
|
|
177
182
|
getTitle(requestParameters: import("./Coscine.Api").TitleApiGetTitleRequest, options?: import("axios").RawAxiosRequestConfig | undefined): import("axios").AxiosPromise<import("./Coscine.Api").TitleDtoResponse>;
|
|
@@ -374,6 +379,11 @@ export declare const ShibbolethApi: {
|
|
|
374
379
|
shibbolethCallback(requestParameters?: import("./Coscine.Api.STS").ShibbolethApiShibbolethCallbackRequest, options?: import("axios").AxiosRequestConfig<any> | undefined): import("axios").AxiosPromise<File>;
|
|
375
380
|
shibbolethLogin(requestParameters?: import("./Coscine.Api.STS").ShibbolethApiShibbolethLoginRequest, options?: import("axios").AxiosRequestConfig<any> | undefined): import("axios").AxiosPromise<File>;
|
|
376
381
|
};
|
|
382
|
+
export declare const SystemStatusApi: {
|
|
383
|
+
apiV2SystemStatusOptions(options?: import("axios").RawAxiosRequestConfig | undefined): import("axios").AxiosPromise<void>;
|
|
384
|
+
getInternalMessages(requestParameters?: import("./Coscine.Api").SystemStatusApiGetInternalMessagesRequest, options?: import("axios").RawAxiosRequestConfig | undefined): import("axios").AxiosPromise<import("./Coscine.Api").MessageDtoPagedResponse>;
|
|
385
|
+
getNocMessages(requestParameters?: import("./Coscine.Api").SystemStatusApiGetNocMessagesRequest, options?: import("axios").RawAxiosRequestConfig | undefined): import("axios").AxiosPromise<import("./Coscine.Api").MessageDtoPagedResponse>;
|
|
386
|
+
};
|
|
377
387
|
export declare const TitleApi: {
|
|
378
388
|
apiV2TitlesOptions(options?: import("axios").RawAxiosRequestConfig | undefined): import("axios").AxiosPromise<void>;
|
|
379
389
|
getTitle(requestParameters: import("./Coscine.Api").TitleApiGetTitleRequest, options?: import("axios").RawAxiosRequestConfig | undefined): import("axios").AxiosPromise<import("./Coscine.Api").TitleDtoResponse>;
|