@coscine/api-client 3.5.0 → 3.7.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.
Files changed (62) hide show
  1. package/dist/index.js +2590 -2181
  2. package/dist/types/Coscine.Api/@coscine/api/admin-api.d.ts +136 -24
  3. package/dist/types/Coscine.Api/@coscine/api/application-profile-api.d.ts +16 -16
  4. package/dist/types/Coscine.Api/@coscine/api/blob-api.d.ts +16 -16
  5. package/dist/types/Coscine.Api/@coscine/api/discipline-api.d.ts +8 -8
  6. package/dist/types/Coscine.Api/@coscine/api/handle-api.d.ts +187 -0
  7. package/dist/types/Coscine.Api/@coscine/api/language-api.d.ts +8 -8
  8. package/dist/types/Coscine.Api/@coscine/api/license-api.d.ts +8 -8
  9. package/dist/types/Coscine.Api/@coscine/api/maintenance-api.d.ts +4 -4
  10. package/dist/types/Coscine.Api/@coscine/api/organization-api.d.ts +18 -10
  11. package/dist/types/Coscine.Api/@coscine/api/pid-api.d.ts +142 -55
  12. package/dist/types/Coscine.Api/@coscine/api/project-api.d.ts +30 -22
  13. package/dist/types/Coscine.Api/@coscine/api/project-invitation-api.d.ts +16 -16
  14. package/dist/types/Coscine.Api/@coscine/api/project-member-api.d.ts +20 -20
  15. package/dist/types/Coscine.Api/@coscine/api/project-publication-request-api.d.ts +142 -0
  16. package/dist/types/Coscine.Api/@coscine/api/project-quota-api.d.ts +12 -12
  17. package/dist/types/Coscine.Api/@coscine/api/project-resource-api.d.ts +20 -20
  18. package/dist/types/Coscine.Api/@coscine/api/project-resource-quota-api.d.ts +4 -4
  19. package/dist/types/Coscine.Api/@coscine/api/project-resource-type-api.d.ts +4 -4
  20. package/dist/types/Coscine.Api/@coscine/api/resource-api.d.ts +4 -4
  21. package/dist/types/Coscine.Api/@coscine/api/resource-type-api.d.ts +20 -20
  22. package/dist/types/Coscine.Api/@coscine/api/role-api.d.ts +8 -8
  23. package/dist/types/Coscine.Api/@coscine/api/search-api.d.ts +4 -4
  24. package/dist/types/Coscine.Api/@coscine/api/self-api-token-api.d.ts +16 -16
  25. package/dist/types/Coscine.Api/@coscine/api/self-api.d.ts +24 -24
  26. package/dist/types/Coscine.Api/@coscine/api/title-api.d.ts +8 -8
  27. package/dist/types/Coscine.Api/@coscine/api/tos-api.d.ts +4 -4
  28. package/dist/types/Coscine.Api/@coscine/api/tree-api.d.ts +108 -14
  29. package/dist/types/Coscine.Api/@coscine/api/user-api.d.ts +4 -4
  30. package/dist/types/Coscine.Api/@coscine/api/visibility-api.d.ts +8 -8
  31. package/dist/types/Coscine.Api/@coscine/api/vocabulary-api.d.ts +8 -8
  32. package/dist/types/Coscine.Api/@coscine/model/{language-dto-paged-response.d.ts → activity-log-dto-paged-response.d.ts} +10 -10
  33. package/dist/types/Coscine.Api/@coscine/model/activity-log-dto.d.ts +60 -0
  34. package/dist/types/Coscine.Api/@coscine/model/coscine-http-method.d.ts +24 -0
  35. package/dist/types/Coscine.Api/@coscine/model/{pid-validation-dto-response.d.ts → handle-dto-response.d.ts} +9 -9
  36. package/dist/types/Coscine.Api/@coscine/model/{pid-validation-dto.d.ts → handle-dto.d.ts} +12 -11
  37. package/dist/types/Coscine.Api/@coscine/model/handle-for-update-dto.d.ts +25 -0
  38. package/dist/types/Coscine.Api/@coscine/model/handle-value-dto.d.ts +72 -0
  39. package/dist/types/Coscine.Api/@coscine/model/handle-value-for-update-dto.d.ts +36 -0
  40. package/dist/types/Coscine.Api/@coscine/model/index.d.ts +15 -2
  41. package/dist/types/Coscine.Api/@coscine/model/license-dto.d.ts +6 -0
  42. package/dist/types/Coscine.Api/@coscine/model/metadata-tree-dto.d.ts +7 -0
  43. package/dist/types/Coscine.Api/@coscine/model/metadata-tree-extracted-dto.d.ts +50 -0
  44. package/dist/types/Coscine.Api/@coscine/model/organization-dto.d.ts +7 -0
  45. package/dist/types/Coscine.Api/@coscine/model/{title-dto-paged-response.d.ts → pid-dto-paged-response.d.ts} +10 -10
  46. package/dist/types/Coscine.Api/@coscine/model/{user-dto-ienumerable-paged-response.d.ts → pid-dto-response.d.ts} +9 -16
  47. package/dist/types/Coscine.Api/@coscine/model/pid-dto.d.ts +49 -0
  48. package/dist/types/Coscine.Api/@coscine/model/project-admin-dto.d.ts +1 -1
  49. package/dist/types/Coscine.Api/@coscine/model/publication-advisory-service-dto.d.ts +30 -0
  50. package/dist/types/Coscine.Api/@coscine/model/publication-request-for-creation-dto-response.d.ts +43 -0
  51. package/dist/types/Coscine.Api/@coscine/model/publication-request-for-creation-dto.d.ts +36 -0
  52. package/dist/types/Coscine.Api/@coscine/model/resource-admin-dto.d.ts +6 -0
  53. package/dist/types/Coscine.Api/@coscine/model/resource-dto.d.ts +6 -0
  54. package/dist/types/Coscine.Api/@coscine/model/terms-of-service-dto.d.ts +6 -0
  55. package/dist/types/Coscine.Api/@coscine/model/user-institute-dto.d.ts +7 -0
  56. package/dist/types/Coscine.Api/@coscine/model/user-organization-dto.d.ts +7 -0
  57. package/dist/types/Coscine.Api/api.d.ts +2 -0
  58. package/dist/types/apis.d.ts +13 -1
  59. package/dist/types/index.d.ts +26 -2
  60. package/package.json +2 -2
  61. package/dist/types/Coscine.Api/@coscine/model/project-admin-dto-ienumerable-paged-response.d.ts +0 -50
  62. package/dist/types/Coscine.Api/@coscine/model/resource-admin-dto-ienumerable-paged-response.d.ts +0 -50
@@ -12,8 +12,9 @@
12
12
  import type { Configuration } from '../../configuration';
13
13
  import type { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
14
14
  import { RequestArgs, BaseAPI } from '../../base';
15
+ import { PidDtoPagedResponse } from '../../@coscine/model';
16
+ import { PidDtoResponse } from '../../@coscine/model';
15
17
  import { PidRequestDto } from '../../@coscine/model';
16
- import { PidValidationDtoResponse } from '../../@coscine/model';
17
18
  /**
18
19
  * PidApi - axios parameter creator
19
20
  * @export
@@ -27,24 +28,37 @@ export declare const PidApiAxiosParamCreator: (configuration?: Configuration) =>
27
28
  */
28
29
  apiV2PidsOptions: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
29
30
  /**
30
- *
31
- * @summary Sends an inquiry to the owner of the given PID.
32
- * @param {string} prefix The PID prefix of a project or a resource to validate
33
- * @param {string} id The PID body of a project or a resource to validate
34
- * @param {PidRequestDto} [pidRequestDto] The data transfer object containing the inquiry details.
31
+ * <p><strong>Required JWT roles for access:</strong> <code></code>.</p>
32
+ * @summary Retrieves the Persistent Identifier (PID) for a given prefix and suffix.
33
+ * @param {string} prefix The PID prefix. Limited to the values provided by the API.
34
+ * @param {string} suffix The PID suffix of a project or a resource, represented as a GUID.
35
35
  * @param {*} [options] Override http request option.
36
36
  * @throws {RequiredError}
37
37
  */
38
- sendRequestToOwner: (prefix: string, id: string, pidRequestDto?: PidRequestDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
38
+ getPid: (prefix: string, suffix: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
39
39
  /**
40
- *
41
- * @summary Validates the given PID.
40
+ * <p><strong>Required JWT roles for access:</strong> <code>administrator</code>.</p>
41
+ * @summary Retrieves all PIDs.
42
+ * @param {boolean} [includeProjects] Gets or sets a value indicating whether to include projects when retrieving pid information.
43
+ * @param {boolean} [includeResources] Gets or sets a value indicating whether to include resources when retrieving pid information.
44
+ * @param {boolean} [includeDeleted] Gets or sets a value indicating whether to include deleted pid information.
45
+ * @param {number} [pageNumber] The desired page number. Should be greater than or equal to 1. Default is 1.
46
+ * @param {number} [pageSize] The desired page size. Should be between 1 and the maximum allowed page size (50). Default is 10.
47
+ * @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.
48
+ * @param {*} [options] Override http request option.
49
+ * @throws {RequiredError}
50
+ */
51
+ getPids: (includeProjects?: boolean, includeResources?: boolean, includeDeleted?: boolean, pageNumber?: number, pageSize?: number, orderBy?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
52
+ /**
53
+ * <p><strong>Required JWT roles for access:</strong> <code></code>.</p>
54
+ * @summary Sends an inquiry to the owner of the given PID.
42
55
  * @param {string} prefix The PID prefix of a project or a resource to validate
43
- * @param {string} id The PID body of a project or a resource to validate
56
+ * @param {string} suffix The PID body of a project or a resource to validate
57
+ * @param {PidRequestDto} [pidRequestDto] The data transfer object containing the inquiry details.
44
58
  * @param {*} [options] Override http request option.
45
59
  * @throws {RequiredError}
46
60
  */
47
- validatePid: (prefix: string, id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
61
+ sendRequestToOwner: (prefix: string, suffix: string, pidRequestDto?: PidRequestDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
48
62
  };
49
63
  /**
50
64
  * PidApi - functional programming interface
@@ -59,24 +73,37 @@ export declare const PidApiFp: (configuration?: Configuration) => {
59
73
  */
60
74
  apiV2PidsOptions(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
61
75
  /**
62
- *
63
- * @summary Sends an inquiry to the owner of the given PID.
64
- * @param {string} prefix The PID prefix of a project or a resource to validate
65
- * @param {string} id The PID body of a project or a resource to validate
66
- * @param {PidRequestDto} [pidRequestDto] The data transfer object containing the inquiry details.
76
+ * <p><strong>Required JWT roles for access:</strong> <code></code>.</p>
77
+ * @summary Retrieves the Persistent Identifier (PID) for a given prefix and suffix.
78
+ * @param {string} prefix The PID prefix. Limited to the values provided by the API.
79
+ * @param {string} suffix The PID suffix of a project or a resource, represented as a GUID.
67
80
  * @param {*} [options] Override http request option.
68
81
  * @throws {RequiredError}
69
82
  */
70
- sendRequestToOwner(prefix: string, id: string, pidRequestDto?: PidRequestDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
83
+ getPid(prefix: string, suffix: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PidDtoResponse>>;
71
84
  /**
72
- *
73
- * @summary Validates the given PID.
85
+ * <p><strong>Required JWT roles for access:</strong> <code>administrator</code>.</p>
86
+ * @summary Retrieves all PIDs.
87
+ * @param {boolean} [includeProjects] Gets or sets a value indicating whether to include projects when retrieving pid information.
88
+ * @param {boolean} [includeResources] Gets or sets a value indicating whether to include resources when retrieving pid information.
89
+ * @param {boolean} [includeDeleted] Gets or sets a value indicating whether to include deleted pid information.
90
+ * @param {number} [pageNumber] The desired page number. Should be greater than or equal to 1. Default is 1.
91
+ * @param {number} [pageSize] The desired page size. Should be between 1 and the maximum allowed page size (50). Default is 10.
92
+ * @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.
93
+ * @param {*} [options] Override http request option.
94
+ * @throws {RequiredError}
95
+ */
96
+ getPids(includeProjects?: boolean, includeResources?: boolean, includeDeleted?: boolean, pageNumber?: number, pageSize?: number, orderBy?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PidDtoPagedResponse>>;
97
+ /**
98
+ * <p><strong>Required JWT roles for access:</strong> <code></code>.</p>
99
+ * @summary Sends an inquiry to the owner of the given PID.
74
100
  * @param {string} prefix The PID prefix of a project or a resource to validate
75
- * @param {string} id The PID body of a project or a resource to validate
101
+ * @param {string} suffix The PID body of a project or a resource to validate
102
+ * @param {PidRequestDto} [pidRequestDto] The data transfer object containing the inquiry details.
76
103
  * @param {*} [options] Override http request option.
77
104
  * @throws {RequiredError}
78
105
  */
79
- validatePid(prefix: string, id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PidValidationDtoResponse>>;
106
+ sendRequestToOwner(prefix: string, suffix: string, pidRequestDto?: PidRequestDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
80
107
  };
81
108
  /**
82
109
  * PidApi - factory interface
@@ -91,65 +118,116 @@ export declare const PidApiFactory: (configuration?: Configuration, basePath?: s
91
118
  */
92
119
  apiV2PidsOptions(options?: AxiosRequestConfig): AxiosPromise<void>;
93
120
  /**
94
- *
95
- * @summary Sends an inquiry to the owner of the given PID.
96
- * @param {PidApiSendRequestToOwnerRequest} requestParameters Request parameters.
121
+ * <p><strong>Required JWT roles for access:</strong> <code></code>.</p>
122
+ * @summary Retrieves the Persistent Identifier (PID) for a given prefix and suffix.
123
+ * @param {PidApiGetPidRequest} requestParameters Request parameters.
97
124
  * @param {*} [options] Override http request option.
98
125
  * @throws {RequiredError}
99
126
  */
100
- sendRequestToOwner(requestParameters: PidApiSendRequestToOwnerRequest, options?: AxiosRequestConfig): AxiosPromise<void>;
127
+ getPid(requestParameters: PidApiGetPidRequest, options?: AxiosRequestConfig): AxiosPromise<PidDtoResponse>;
101
128
  /**
102
- *
103
- * @summary Validates the given PID.
104
- * @param {PidApiValidatePidRequest} requestParameters Request parameters.
129
+ * <p><strong>Required JWT roles for access:</strong> <code>administrator</code>.</p>
130
+ * @summary Retrieves all PIDs.
131
+ * @param {PidApiGetPidsRequest} requestParameters Request parameters.
105
132
  * @param {*} [options] Override http request option.
106
133
  * @throws {RequiredError}
107
134
  */
108
- validatePid(requestParameters: PidApiValidatePidRequest, options?: AxiosRequestConfig): AxiosPromise<PidValidationDtoResponse>;
135
+ getPids(requestParameters?: PidApiGetPidsRequest, options?: AxiosRequestConfig): AxiosPromise<PidDtoPagedResponse>;
136
+ /**
137
+ * <p><strong>Required JWT roles for access:</strong> <code></code>.</p>
138
+ * @summary Sends an inquiry to the owner of the given PID.
139
+ * @param {PidApiSendRequestToOwnerRequest} requestParameters Request parameters.
140
+ * @param {*} [options] Override http request option.
141
+ * @throws {RequiredError}
142
+ */
143
+ sendRequestToOwner(requestParameters: PidApiSendRequestToOwnerRequest, options?: AxiosRequestConfig): AxiosPromise<void>;
109
144
  };
110
145
  /**
111
- * Request parameters for sendRequestToOwner operation in PidApi.
146
+ * Request parameters for getPid operation in PidApi.
112
147
  * @export
113
- * @interface PidApiSendRequestToOwnerRequest
148
+ * @interface PidApiGetPidRequest
114
149
  */
115
- export interface PidApiSendRequestToOwnerRequest {
150
+ export interface PidApiGetPidRequest {
116
151
  /**
117
- * The PID prefix of a project or a resource to validate
152
+ * The PID prefix. Limited to the values provided by the API.
118
153
  * @type {string}
119
- * @memberof PidApiSendRequestToOwner
154
+ * @memberof PidApiGetPid
120
155
  */
121
156
  readonly prefix: string;
122
157
  /**
123
- * The PID body of a project or a resource to validate
158
+ * The PID suffix of a project or a resource, represented as a GUID.
124
159
  * @type {string}
125
- * @memberof PidApiSendRequestToOwner
160
+ * @memberof PidApiGetPid
161
+ */
162
+ readonly suffix: string;
163
+ }
164
+ /**
165
+ * Request parameters for getPids operation in PidApi.
166
+ * @export
167
+ * @interface PidApiGetPidsRequest
168
+ */
169
+ export interface PidApiGetPidsRequest {
170
+ /**
171
+ * Gets or sets a value indicating whether to include projects when retrieving pid information.
172
+ * @type {boolean}
173
+ * @memberof PidApiGetPids
126
174
  */
127
- readonly id: string;
175
+ readonly includeProjects?: boolean;
128
176
  /**
129
- * The data transfer object containing the inquiry details.
130
- * @type {PidRequestDto}
131
- * @memberof PidApiSendRequestToOwner
177
+ * Gets or sets a value indicating whether to include resources when retrieving pid information.
178
+ * @type {boolean}
179
+ * @memberof PidApiGetPids
132
180
  */
133
- readonly pidRequestDto?: PidRequestDto;
181
+ readonly includeResources?: boolean;
182
+ /**
183
+ * Gets or sets a value indicating whether to include deleted pid information.
184
+ * @type {boolean}
185
+ * @memberof PidApiGetPids
186
+ */
187
+ readonly includeDeleted?: boolean;
188
+ /**
189
+ * The desired page number. Should be greater than or equal to 1. Default is 1.
190
+ * @type {number}
191
+ * @memberof PidApiGetPids
192
+ */
193
+ readonly pageNumber?: number;
194
+ /**
195
+ * The desired page size. Should be between 1 and the maximum allowed page size (50). Default is 10.
196
+ * @type {number}
197
+ * @memberof PidApiGetPids
198
+ */
199
+ readonly pageSize?: number;
200
+ /**
201
+ * 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.
202
+ * @type {string}
203
+ * @memberof PidApiGetPids
204
+ */
205
+ readonly orderBy?: string;
134
206
  }
135
207
  /**
136
- * Request parameters for validatePid operation in PidApi.
208
+ * Request parameters for sendRequestToOwner operation in PidApi.
137
209
  * @export
138
- * @interface PidApiValidatePidRequest
210
+ * @interface PidApiSendRequestToOwnerRequest
139
211
  */
140
- export interface PidApiValidatePidRequest {
212
+ export interface PidApiSendRequestToOwnerRequest {
141
213
  /**
142
214
  * The PID prefix of a project or a resource to validate
143
215
  * @type {string}
144
- * @memberof PidApiValidatePid
216
+ * @memberof PidApiSendRequestToOwner
145
217
  */
146
218
  readonly prefix: string;
147
219
  /**
148
220
  * The PID body of a project or a resource to validate
149
221
  * @type {string}
150
- * @memberof PidApiValidatePid
222
+ * @memberof PidApiSendRequestToOwner
151
223
  */
152
- readonly id: string;
224
+ readonly suffix: string;
225
+ /**
226
+ * The data transfer object containing the inquiry details.
227
+ * @type {PidRequestDto}
228
+ * @memberof PidApiSendRequestToOwner
229
+ */
230
+ readonly pidRequestDto?: PidRequestDto;
153
231
  }
154
232
  /**
155
233
  * PidApi - object-oriented interface
@@ -167,21 +245,30 @@ export declare class PidApi extends BaseAPI {
167
245
  */
168
246
  apiV2PidsOptions(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
169
247
  /**
170
- *
171
- * @summary Sends an inquiry to the owner of the given PID.
172
- * @param {PidApiSendRequestToOwnerRequest} requestParameters Request parameters.
248
+ * <p><strong>Required JWT roles for access:</strong> <code></code>.</p>
249
+ * @summary Retrieves the Persistent Identifier (PID) for a given prefix and suffix.
250
+ * @param {PidApiGetPidRequest} requestParameters Request parameters.
173
251
  * @param {*} [options] Override http request option.
174
252
  * @throws {RequiredError}
175
253
  * @memberof PidApi
176
254
  */
177
- sendRequestToOwner(requestParameters: PidApiSendRequestToOwnerRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
255
+ getPid(requestParameters: PidApiGetPidRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PidDtoResponse, any>>;
178
256
  /**
179
- *
180
- * @summary Validates the given PID.
181
- * @param {PidApiValidatePidRequest} requestParameters Request parameters.
257
+ * <p><strong>Required JWT roles for access:</strong> <code>administrator</code>.</p>
258
+ * @summary Retrieves all PIDs.
259
+ * @param {PidApiGetPidsRequest} requestParameters Request parameters.
260
+ * @param {*} [options] Override http request option.
261
+ * @throws {RequiredError}
262
+ * @memberof PidApi
263
+ */
264
+ getPids(requestParameters?: PidApiGetPidsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PidDtoPagedResponse, any>>;
265
+ /**
266
+ * <p><strong>Required JWT roles for access:</strong> <code></code>.</p>
267
+ * @summary Sends an inquiry to the owner of the given PID.
268
+ * @param {PidApiSendRequestToOwnerRequest} requestParameters Request parameters.
182
269
  * @param {*} [options] Override http request option.
183
270
  * @throws {RequiredError}
184
271
  * @memberof PidApi
185
272
  */
186
- validatePid(requestParameters: PidApiValidatePidRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PidValidationDtoResponse, any>>;
273
+ sendRequestToOwner(requestParameters: PidApiSendRequestToOwnerRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
187
274
  }
@@ -29,7 +29,7 @@ export declare const ProjectApiAxiosParamCreator: (configuration?: Configuration
29
29
  */
30
30
  apiV2ProjectsOptions: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
31
31
  /**
32
- *
32
+ * <p><strong>Required JWT roles for access:</strong> <code></code>.</p>
33
33
  * @summary Creates a new project.
34
34
  * @param {ProjectForCreationDto} [projectForCreationDto] The project data for creation.
35
35
  * @param {*} [options] Override http request option.
@@ -37,7 +37,7 @@ export declare const ProjectApiAxiosParamCreator: (configuration?: Configuration
37
37
  */
38
38
  createProject: (projectForCreationDto?: ProjectForCreationDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
39
39
  /**
40
- *
40
+ * <p><strong>Required JWT roles for access:</strong> <code></code>.</p>
41
41
  * @summary Deletes a project.
42
42
  * @param {string} projectId The ID of the project.
43
43
  * @param {*} [options] Override http request option.
@@ -45,7 +45,7 @@ export declare const ProjectApiAxiosParamCreator: (configuration?: Configuration
45
45
  */
46
46
  deleteProject: (projectId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
47
47
  /**
48
- *
48
+ * <p><strong>Required JWT roles for access:</strong> <code></code>.</p>
49
49
  * @summary Retrieves a project.
50
50
  * @param {string} projectId The ID of the project.
51
51
  * @param {boolean} [includeSubProjects] Gets or sets a value indicating whether to include sub-projects in the retrieval.
@@ -54,8 +54,9 @@ export declare const ProjectApiAxiosParamCreator: (configuration?: Configuration
54
54
  */
55
55
  getProject: (projectId: string, includeSubProjects?: boolean, options?: AxiosRequestConfig) => Promise<RequestArgs>;
56
56
  /**
57
- *
57
+ * <p><strong>Required JWT roles for access:</strong> <code></code>.</p>
58
58
  * @summary Retrieves all projects.
59
+ * @param {boolean} [includeOrganizations] Gets or sets a value indicating whether to retrieve the organizations.
59
60
  * @param {boolean} [topLevel] Gets or sets a value indicating whether to retrieve only top-level projects.
60
61
  * @param {number} [pageNumber] The desired page number. Should be greater than or equal to 1. Default is 1.
61
62
  * @param {number} [pageSize] The desired page size. Should be between 1 and the maximum allowed page size (50). Default is 10.
@@ -63,9 +64,9 @@ export declare const ProjectApiAxiosParamCreator: (configuration?: Configuration
63
64
  * @param {*} [options] Override http request option.
64
65
  * @throws {RequiredError}
65
66
  */
66
- getProjects: (topLevel?: boolean, pageNumber?: number, pageSize?: number, orderBy?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
67
+ getProjects: (includeOrganizations?: boolean, topLevel?: boolean, pageNumber?: number, pageSize?: number, orderBy?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
67
68
  /**
68
- *
69
+ * <p><strong>Required JWT roles for access:</strong> <code></code>.</p>
69
70
  * @summary Updates a project.
70
71
  * @param {string} projectId The ID of the project.
71
72
  * @param {ProjectForUpdateDto} [projectForUpdateDto] The updated project data.
@@ -87,7 +88,7 @@ export declare const ProjectApiFp: (configuration?: Configuration) => {
87
88
  */
88
89
  apiV2ProjectsOptions(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
89
90
  /**
90
- *
91
+ * <p><strong>Required JWT roles for access:</strong> <code></code>.</p>
91
92
  * @summary Creates a new project.
92
93
  * @param {ProjectForCreationDto} [projectForCreationDto] The project data for creation.
93
94
  * @param {*} [options] Override http request option.
@@ -95,7 +96,7 @@ export declare const ProjectApiFp: (configuration?: Configuration) => {
95
96
  */
96
97
  createProject(projectForCreationDto?: ProjectForCreationDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProjectDtoResponse>>;
97
98
  /**
98
- *
99
+ * <p><strong>Required JWT roles for access:</strong> <code></code>.</p>
99
100
  * @summary Deletes a project.
100
101
  * @param {string} projectId The ID of the project.
101
102
  * @param {*} [options] Override http request option.
@@ -103,7 +104,7 @@ export declare const ProjectApiFp: (configuration?: Configuration) => {
103
104
  */
104
105
  deleteProject(projectId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
105
106
  /**
106
- *
107
+ * <p><strong>Required JWT roles for access:</strong> <code></code>.</p>
107
108
  * @summary Retrieves a project.
108
109
  * @param {string} projectId The ID of the project.
109
110
  * @param {boolean} [includeSubProjects] Gets or sets a value indicating whether to include sub-projects in the retrieval.
@@ -112,8 +113,9 @@ export declare const ProjectApiFp: (configuration?: Configuration) => {
112
113
  */
113
114
  getProject(projectId: string, includeSubProjects?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProjectDtoResponse>>;
114
115
  /**
115
- *
116
+ * <p><strong>Required JWT roles for access:</strong> <code></code>.</p>
116
117
  * @summary Retrieves all projects.
118
+ * @param {boolean} [includeOrganizations] Gets or sets a value indicating whether to retrieve the organizations.
117
119
  * @param {boolean} [topLevel] Gets or sets a value indicating whether to retrieve only top-level projects.
118
120
  * @param {number} [pageNumber] The desired page number. Should be greater than or equal to 1. Default is 1.
119
121
  * @param {number} [pageSize] The desired page size. Should be between 1 and the maximum allowed page size (50). Default is 10.
@@ -121,9 +123,9 @@ export declare const ProjectApiFp: (configuration?: Configuration) => {
121
123
  * @param {*} [options] Override http request option.
122
124
  * @throws {RequiredError}
123
125
  */
124
- getProjects(topLevel?: boolean, pageNumber?: number, pageSize?: number, orderBy?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProjectDtoPagedResponse>>;
126
+ getProjects(includeOrganizations?: boolean, topLevel?: boolean, pageNumber?: number, pageSize?: number, orderBy?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProjectDtoPagedResponse>>;
125
127
  /**
126
- *
128
+ * <p><strong>Required JWT roles for access:</strong> <code></code>.</p>
127
129
  * @summary Updates a project.
128
130
  * @param {string} projectId The ID of the project.
129
131
  * @param {ProjectForUpdateDto} [projectForUpdateDto] The updated project data.
@@ -145,7 +147,7 @@ export declare const ProjectApiFactory: (configuration?: Configuration, basePath
145
147
  */
146
148
  apiV2ProjectsOptions(options?: AxiosRequestConfig): AxiosPromise<void>;
147
149
  /**
148
- *
150
+ * <p><strong>Required JWT roles for access:</strong> <code></code>.</p>
149
151
  * @summary Creates a new project.
150
152
  * @param {ProjectApiCreateProjectRequest} requestParameters Request parameters.
151
153
  * @param {*} [options] Override http request option.
@@ -153,7 +155,7 @@ export declare const ProjectApiFactory: (configuration?: Configuration, basePath
153
155
  */
154
156
  createProject(requestParameters?: ProjectApiCreateProjectRequest, options?: AxiosRequestConfig): AxiosPromise<ProjectDtoResponse>;
155
157
  /**
156
- *
158
+ * <p><strong>Required JWT roles for access:</strong> <code></code>.</p>
157
159
  * @summary Deletes a project.
158
160
  * @param {ProjectApiDeleteProjectRequest} requestParameters Request parameters.
159
161
  * @param {*} [options] Override http request option.
@@ -161,7 +163,7 @@ export declare const ProjectApiFactory: (configuration?: Configuration, basePath
161
163
  */
162
164
  deleteProject(requestParameters: ProjectApiDeleteProjectRequest, options?: AxiosRequestConfig): AxiosPromise<void>;
163
165
  /**
164
- *
166
+ * <p><strong>Required JWT roles for access:</strong> <code></code>.</p>
165
167
  * @summary Retrieves a project.
166
168
  * @param {ProjectApiGetProjectRequest} requestParameters Request parameters.
167
169
  * @param {*} [options] Override http request option.
@@ -169,7 +171,7 @@ export declare const ProjectApiFactory: (configuration?: Configuration, basePath
169
171
  */
170
172
  getProject(requestParameters: ProjectApiGetProjectRequest, options?: AxiosRequestConfig): AxiosPromise<ProjectDtoResponse>;
171
173
  /**
172
- *
174
+ * <p><strong>Required JWT roles for access:</strong> <code></code>.</p>
173
175
  * @summary Retrieves all projects.
174
176
  * @param {ProjectApiGetProjectsRequest} requestParameters Request parameters.
175
177
  * @param {*} [options] Override http request option.
@@ -177,7 +179,7 @@ export declare const ProjectApiFactory: (configuration?: Configuration, basePath
177
179
  */
178
180
  getProjects(requestParameters?: ProjectApiGetProjectsRequest, options?: AxiosRequestConfig): AxiosPromise<ProjectDtoPagedResponse>;
179
181
  /**
180
- *
182
+ * <p><strong>Required JWT roles for access:</strong> <code></code>.</p>
181
183
  * @summary Updates a project.
182
184
  * @param {ProjectApiUpdateProjectRequest} requestParameters Request parameters.
183
185
  * @param {*} [options] Override http request option.
@@ -236,6 +238,12 @@ export interface ProjectApiGetProjectRequest {
236
238
  * @interface ProjectApiGetProjectsRequest
237
239
  */
238
240
  export interface ProjectApiGetProjectsRequest {
241
+ /**
242
+ * Gets or sets a value indicating whether to retrieve the organizations.
243
+ * @type {boolean}
244
+ * @memberof ProjectApiGetProjects
245
+ */
246
+ readonly includeOrganizations?: boolean;
239
247
  /**
240
248
  * Gets or sets a value indicating whether to retrieve only top-level projects.
241
249
  * @type {boolean}
@@ -296,7 +304,7 @@ export declare class ProjectApi extends BaseAPI {
296
304
  */
297
305
  apiV2ProjectsOptions(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
298
306
  /**
299
- *
307
+ * <p><strong>Required JWT roles for access:</strong> <code></code>.</p>
300
308
  * @summary Creates a new project.
301
309
  * @param {ProjectApiCreateProjectRequest} requestParameters Request parameters.
302
310
  * @param {*} [options] Override http request option.
@@ -305,7 +313,7 @@ export declare class ProjectApi extends BaseAPI {
305
313
  */
306
314
  createProject(requestParameters?: ProjectApiCreateProjectRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ProjectDtoResponse, any>>;
307
315
  /**
308
- *
316
+ * <p><strong>Required JWT roles for access:</strong> <code></code>.</p>
309
317
  * @summary Deletes a project.
310
318
  * @param {ProjectApiDeleteProjectRequest} requestParameters Request parameters.
311
319
  * @param {*} [options] Override http request option.
@@ -314,7 +322,7 @@ export declare class ProjectApi extends BaseAPI {
314
322
  */
315
323
  deleteProject(requestParameters: ProjectApiDeleteProjectRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
316
324
  /**
317
- *
325
+ * <p><strong>Required JWT roles for access:</strong> <code></code>.</p>
318
326
  * @summary Retrieves a project.
319
327
  * @param {ProjectApiGetProjectRequest} requestParameters Request parameters.
320
328
  * @param {*} [options] Override http request option.
@@ -323,7 +331,7 @@ export declare class ProjectApi extends BaseAPI {
323
331
  */
324
332
  getProject(requestParameters: ProjectApiGetProjectRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ProjectDtoResponse, any>>;
325
333
  /**
326
- *
334
+ * <p><strong>Required JWT roles for access:</strong> <code></code>.</p>
327
335
  * @summary Retrieves all projects.
328
336
  * @param {ProjectApiGetProjectsRequest} requestParameters Request parameters.
329
337
  * @param {*} [options] Override http request option.
@@ -332,7 +340,7 @@ export declare class ProjectApi extends BaseAPI {
332
340
  */
333
341
  getProjects(requestParameters?: ProjectApiGetProjectsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ProjectDtoPagedResponse, any>>;
334
342
  /**
335
- *
343
+ * <p><strong>Required JWT roles for access:</strong> <code></code>.</p>
336
344
  * @summary Updates a project.
337
345
  * @param {ProjectApiUpdateProjectRequest} requestParameters Request parameters.
338
346
  * @param {*} [options] Override http request option.
@@ -29,7 +29,7 @@ export declare const ProjectInvitationApiAxiosParamCreator: (configuration?: Con
29
29
  */
30
30
  apiV2ProjectsProjectIdInvitationsOptions: (projectId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
31
31
  /**
32
- *
32
+ * <p><strong>Required JWT roles for access:</strong> <code></code>.</p>
33
33
  * @summary Creates a project invitation for a specified project.
34
34
  * @param {string} projectId The Id or slug of the project.
35
35
  * @param {ProjectInvitationForProjectManipulationDto} [projectInvitationForProjectManipulationDto] The project invitation data for creation.
@@ -38,7 +38,7 @@ export declare const ProjectInvitationApiAxiosParamCreator: (configuration?: Con
38
38
  */
39
39
  createProjectInvitation: (projectId: string, projectInvitationForProjectManipulationDto?: ProjectInvitationForProjectManipulationDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
40
40
  /**
41
- *
41
+ * <p><strong>Required JWT roles for access:</strong> <code></code>.</p>
42
42
  * @summary Deletes a project invitation for a specified project.
43
43
  * @param {string} projectId The Id or slug of the project.
44
44
  * @param {string} projectInvitationId The ID of the project invitation to delete.
@@ -47,7 +47,7 @@ export declare const ProjectInvitationApiAxiosParamCreator: (configuration?: Con
47
47
  */
48
48
  deleteProjectInvitation: (projectId: string, projectInvitationId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
49
49
  /**
50
- *
50
+ * <p><strong>Required JWT roles for access:</strong> <code></code>.</p>
51
51
  * @summary Retrieves a project invitation for a specified project.
52
52
  * @param {string} projectId The Id or slug of the project.
53
53
  * @param {string} projectInvitationId The ID of the project invitation to retrieve.
@@ -56,7 +56,7 @@ export declare const ProjectInvitationApiAxiosParamCreator: (configuration?: Con
56
56
  */
57
57
  getProjectInvitation: (projectId: string, projectInvitationId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
58
58
  /**
59
- *
59
+ * <p><strong>Required JWT roles for access:</strong> <code></code>.</p>
60
60
  * @summary Retrieves all project invitations for a specified project.
61
61
  * @param {string} projectId The Id or slug of the project.
62
62
  * @param {number} [pageNumber] The desired page number. Should be greater than or equal to 1. Default is 1.
@@ -81,7 +81,7 @@ export declare const ProjectInvitationApiFp: (configuration?: Configuration) =>
81
81
  */
82
82
  apiV2ProjectsProjectIdInvitationsOptions(projectId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
83
83
  /**
84
- *
84
+ * <p><strong>Required JWT roles for access:</strong> <code></code>.</p>
85
85
  * @summary Creates a project invitation for a specified project.
86
86
  * @param {string} projectId The Id or slug of the project.
87
87
  * @param {ProjectInvitationForProjectManipulationDto} [projectInvitationForProjectManipulationDto] The project invitation data for creation.
@@ -90,7 +90,7 @@ export declare const ProjectInvitationApiFp: (configuration?: Configuration) =>
90
90
  */
91
91
  createProjectInvitation(projectId: string, projectInvitationForProjectManipulationDto?: ProjectInvitationForProjectManipulationDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProjectInvitationDtoResponse>>;
92
92
  /**
93
- *
93
+ * <p><strong>Required JWT roles for access:</strong> <code></code>.</p>
94
94
  * @summary Deletes a project invitation for a specified project.
95
95
  * @param {string} projectId The Id or slug of the project.
96
96
  * @param {string} projectInvitationId The ID of the project invitation to delete.
@@ -99,7 +99,7 @@ export declare const ProjectInvitationApiFp: (configuration?: Configuration) =>
99
99
  */
100
100
  deleteProjectInvitation(projectId: string, projectInvitationId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
101
101
  /**
102
- *
102
+ * <p><strong>Required JWT roles for access:</strong> <code></code>.</p>
103
103
  * @summary Retrieves a project invitation for a specified project.
104
104
  * @param {string} projectId The Id or slug of the project.
105
105
  * @param {string} projectInvitationId The ID of the project invitation to retrieve.
@@ -108,7 +108,7 @@ export declare const ProjectInvitationApiFp: (configuration?: Configuration) =>
108
108
  */
109
109
  getProjectInvitation(projectId: string, projectInvitationId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProjectInvitationDtoResponse>>;
110
110
  /**
111
- *
111
+ * <p><strong>Required JWT roles for access:</strong> <code></code>.</p>
112
112
  * @summary Retrieves all project invitations for a specified project.
113
113
  * @param {string} projectId The Id or slug of the project.
114
114
  * @param {number} [pageNumber] The desired page number. Should be greater than or equal to 1. Default is 1.
@@ -133,7 +133,7 @@ export declare const ProjectInvitationApiFactory: (configuration?: Configuration
133
133
  */
134
134
  apiV2ProjectsProjectIdInvitationsOptions(requestParameters: ProjectInvitationApiApiV2ProjectsProjectIdInvitationsOptionsRequest, options?: AxiosRequestConfig): AxiosPromise<void>;
135
135
  /**
136
- *
136
+ * <p><strong>Required JWT roles for access:</strong> <code></code>.</p>
137
137
  * @summary Creates a project invitation for a specified project.
138
138
  * @param {ProjectInvitationApiCreateProjectInvitationRequest} requestParameters Request parameters.
139
139
  * @param {*} [options] Override http request option.
@@ -141,7 +141,7 @@ export declare const ProjectInvitationApiFactory: (configuration?: Configuration
141
141
  */
142
142
  createProjectInvitation(requestParameters: ProjectInvitationApiCreateProjectInvitationRequest, options?: AxiosRequestConfig): AxiosPromise<ProjectInvitationDtoResponse>;
143
143
  /**
144
- *
144
+ * <p><strong>Required JWT roles for access:</strong> <code></code>.</p>
145
145
  * @summary Deletes a project invitation for a specified project.
146
146
  * @param {ProjectInvitationApiDeleteProjectInvitationRequest} requestParameters Request parameters.
147
147
  * @param {*} [options] Override http request option.
@@ -149,7 +149,7 @@ export declare const ProjectInvitationApiFactory: (configuration?: Configuration
149
149
  */
150
150
  deleteProjectInvitation(requestParameters: ProjectInvitationApiDeleteProjectInvitationRequest, options?: AxiosRequestConfig): AxiosPromise<void>;
151
151
  /**
152
- *
152
+ * <p><strong>Required JWT roles for access:</strong> <code></code>.</p>
153
153
  * @summary Retrieves a project invitation for a specified project.
154
154
  * @param {ProjectInvitationApiGetProjectInvitationRequest} requestParameters Request parameters.
155
155
  * @param {*} [options] Override http request option.
@@ -157,7 +157,7 @@ export declare const ProjectInvitationApiFactory: (configuration?: Configuration
157
157
  */
158
158
  getProjectInvitation(requestParameters: ProjectInvitationApiGetProjectInvitationRequest, options?: AxiosRequestConfig): AxiosPromise<ProjectInvitationDtoResponse>;
159
159
  /**
160
- *
160
+ * <p><strong>Required JWT roles for access:</strong> <code></code>.</p>
161
161
  * @summary Retrieves all project invitations for a specified project.
162
162
  * @param {ProjectInvitationApiGetProjectInvitationsRequest} requestParameters Request parameters.
163
163
  * @param {*} [options] Override http request option.
@@ -283,7 +283,7 @@ export declare class ProjectInvitationApi extends BaseAPI {
283
283
  */
284
284
  apiV2ProjectsProjectIdInvitationsOptions(requestParameters: ProjectInvitationApiApiV2ProjectsProjectIdInvitationsOptionsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
285
285
  /**
286
- *
286
+ * <p><strong>Required JWT roles for access:</strong> <code></code>.</p>
287
287
  * @summary Creates a project invitation for a specified project.
288
288
  * @param {ProjectInvitationApiCreateProjectInvitationRequest} requestParameters Request parameters.
289
289
  * @param {*} [options] Override http request option.
@@ -292,7 +292,7 @@ export declare class ProjectInvitationApi extends BaseAPI {
292
292
  */
293
293
  createProjectInvitation(requestParameters: ProjectInvitationApiCreateProjectInvitationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ProjectInvitationDtoResponse, any>>;
294
294
  /**
295
- *
295
+ * <p><strong>Required JWT roles for access:</strong> <code></code>.</p>
296
296
  * @summary Deletes a project invitation for a specified project.
297
297
  * @param {ProjectInvitationApiDeleteProjectInvitationRequest} requestParameters Request parameters.
298
298
  * @param {*} [options] Override http request option.
@@ -301,7 +301,7 @@ export declare class ProjectInvitationApi extends BaseAPI {
301
301
  */
302
302
  deleteProjectInvitation(requestParameters: ProjectInvitationApiDeleteProjectInvitationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
303
303
  /**
304
- *
304
+ * <p><strong>Required JWT roles for access:</strong> <code></code>.</p>
305
305
  * @summary Retrieves a project invitation for a specified project.
306
306
  * @param {ProjectInvitationApiGetProjectInvitationRequest} requestParameters Request parameters.
307
307
  * @param {*} [options] Override http request option.
@@ -310,7 +310,7 @@ export declare class ProjectInvitationApi extends BaseAPI {
310
310
  */
311
311
  getProjectInvitation(requestParameters: ProjectInvitationApiGetProjectInvitationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ProjectInvitationDtoResponse, any>>;
312
312
  /**
313
- *
313
+ * <p><strong>Required JWT roles for access:</strong> <code></code>.</p>
314
314
  * @summary Retrieves all project invitations for a specified project.
315
315
  * @param {ProjectInvitationApiGetProjectInvitationsRequest} requestParameters Request parameters.
316
316
  * @param {*} [options] Override http request option.