@waldur/openportal 1.0.1-dev.0 → 8.0.8-dev.33
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.d.ts +2 -0
- package/dist/index.js +2 -0
- package/dist/sdk.gen.d.ts +299 -0
- package/dist/sdk.gen.js +2377 -0
- package/dist/types.gen.d.ts +2723 -0
- package/dist/types.gen.js +2 -0
- package/package.json +1 -1
|
@@ -0,0 +1,2723 @@
|
|
|
1
|
+
import type { AnswerSubmitRequest, AnswerSubmitResponse, BasicCustomer, ChecklistCompletion, ChecklistResponse, ChecklistTemplate, ComponentsUsageStats, CoreStates, MarketplaceProviderCustomerProjectOEnum, MoveProjectRequest, PatchedProjectRequest, Project, ProjectAffiliatedOrganizationsUpdateRequest, ProjectFieldEnum, ProjectRecoveryRequest, ProjectRequest, PullConflictResponse, PullResponse, RemoteProjectUpdateRequestStateEnum, ResourceOffering, ReviewCommentRequest, SetErredRequest, SetErredResponse, SetOkResponse, UserRoleCreateRequest, UserRoleDeleteRequest, UserRoleDetails, UserRoleDetailsFieldEnum, UserRoleDetailsOEnum, UserRoleExpirationTime, UserRoleUpdateRequest } from '@waldur/core';
|
|
2
|
+
export type AccessProject = {
|
|
3
|
+
name: string;
|
|
4
|
+
resources: Array<AccessResource>;
|
|
5
|
+
};
|
|
6
|
+
export type AccessResource = {
|
|
7
|
+
name: string;
|
|
8
|
+
username: string;
|
|
9
|
+
};
|
|
10
|
+
export type AccessResponse = {
|
|
11
|
+
email: string;
|
|
12
|
+
status: string;
|
|
13
|
+
short_name: string;
|
|
14
|
+
projects: {
|
|
15
|
+
[key: string]: AccessProject;
|
|
16
|
+
};
|
|
17
|
+
invited_by: string;
|
|
18
|
+
reason: string;
|
|
19
|
+
};
|
|
20
|
+
export type Allocation = {
|
|
21
|
+
readonly url?: string;
|
|
22
|
+
readonly uuid?: string;
|
|
23
|
+
name?: string;
|
|
24
|
+
description?: string;
|
|
25
|
+
readonly service_name?: string;
|
|
26
|
+
service_settings?: string;
|
|
27
|
+
readonly service_settings_uuid?: string;
|
|
28
|
+
readonly service_settings_state?: string;
|
|
29
|
+
readonly service_settings_error_message?: string;
|
|
30
|
+
project?: string;
|
|
31
|
+
readonly project_name?: string;
|
|
32
|
+
readonly project_uuid?: string;
|
|
33
|
+
readonly customer?: string;
|
|
34
|
+
readonly customer_uuid?: string;
|
|
35
|
+
readonly customer_name?: string;
|
|
36
|
+
readonly customer_native_name?: string;
|
|
37
|
+
readonly customer_abbreviation?: string;
|
|
38
|
+
readonly error_message?: string;
|
|
39
|
+
readonly error_traceback?: string;
|
|
40
|
+
readonly resource_type?: string;
|
|
41
|
+
state?: CoreStates;
|
|
42
|
+
readonly created?: string;
|
|
43
|
+
readonly modified?: string;
|
|
44
|
+
readonly backend_id?: string;
|
|
45
|
+
access_url?: Array<string> | string | null;
|
|
46
|
+
node_limit?: number;
|
|
47
|
+
groupname?: string | null;
|
|
48
|
+
readonly node_usage?: string;
|
|
49
|
+
readonly is_active?: boolean;
|
|
50
|
+
readonly marketplace_offering_uuid?: string | null;
|
|
51
|
+
readonly marketplace_offering_name?: string | null;
|
|
52
|
+
readonly marketplace_offering_type?: string | null;
|
|
53
|
+
readonly marketplace_offering_plugin_options?: {
|
|
54
|
+
[key: string]: unknown;
|
|
55
|
+
} | null;
|
|
56
|
+
readonly marketplace_category_uuid?: string | null;
|
|
57
|
+
readonly marketplace_category_name?: string | null;
|
|
58
|
+
readonly marketplace_resource_uuid?: string | null;
|
|
59
|
+
readonly marketplace_plan_uuid?: string | null;
|
|
60
|
+
readonly marketplace_resource_state?: string | null;
|
|
61
|
+
readonly is_usage_based?: boolean | null;
|
|
62
|
+
readonly is_limit_based?: boolean | null;
|
|
63
|
+
};
|
|
64
|
+
export type AllocationRequest = {
|
|
65
|
+
name: string;
|
|
66
|
+
description?: string;
|
|
67
|
+
service_settings: string;
|
|
68
|
+
project: string;
|
|
69
|
+
node_limit?: number;
|
|
70
|
+
groupname?: string | null;
|
|
71
|
+
};
|
|
72
|
+
export type AllocationSetLimits = {
|
|
73
|
+
node_limit: number;
|
|
74
|
+
};
|
|
75
|
+
export type AllocationSetLimitsRequest = {
|
|
76
|
+
node_limit: number;
|
|
77
|
+
};
|
|
78
|
+
export type AllocationUserUsage = {
|
|
79
|
+
node_usage?: string;
|
|
80
|
+
month: number;
|
|
81
|
+
year: number;
|
|
82
|
+
allocation: string;
|
|
83
|
+
user?: string | null;
|
|
84
|
+
username: string;
|
|
85
|
+
readonly full_name: string;
|
|
86
|
+
};
|
|
87
|
+
export type Association = {
|
|
88
|
+
readonly uuid: string;
|
|
89
|
+
username?: string | null;
|
|
90
|
+
groupname?: string | null;
|
|
91
|
+
useridentifier?: string | null;
|
|
92
|
+
allocation: string;
|
|
93
|
+
};
|
|
94
|
+
export type BasicProject = {
|
|
95
|
+
readonly url: string;
|
|
96
|
+
readonly uuid: string;
|
|
97
|
+
name: string;
|
|
98
|
+
};
|
|
99
|
+
export type CachedProjectStorageReport = {
|
|
100
|
+
readonly id: number;
|
|
101
|
+
year: number;
|
|
102
|
+
month: number;
|
|
103
|
+
project_identifier: string;
|
|
104
|
+
resource: string;
|
|
105
|
+
report: ProjectStorageReport;
|
|
106
|
+
};
|
|
107
|
+
export type CachedProjectUsageReport = {
|
|
108
|
+
readonly id: number;
|
|
109
|
+
year: number;
|
|
110
|
+
month: number;
|
|
111
|
+
project_identifier: string;
|
|
112
|
+
resource: string;
|
|
113
|
+
is_complete?: boolean;
|
|
114
|
+
report: ProjectUsageReport;
|
|
115
|
+
};
|
|
116
|
+
export type DailyProjectUsageReport = {
|
|
117
|
+
/**
|
|
118
|
+
* local_username → Usage
|
|
119
|
+
*/
|
|
120
|
+
reports: {
|
|
121
|
+
[key: string]: Usage;
|
|
122
|
+
};
|
|
123
|
+
/**
|
|
124
|
+
* component_name → local_username → Usage. e.g. { "cpu": { "chris.aiproject": { "seconds": 41055 } } }
|
|
125
|
+
*/
|
|
126
|
+
components?: {
|
|
127
|
+
[key: string]: {
|
|
128
|
+
[key: string]: Usage;
|
|
129
|
+
};
|
|
130
|
+
};
|
|
131
|
+
/**
|
|
132
|
+
* local_username → job count
|
|
133
|
+
*/
|
|
134
|
+
user_job_counts?: {
|
|
135
|
+
[key: string]: number;
|
|
136
|
+
};
|
|
137
|
+
/**
|
|
138
|
+
* local_username → wait seconds
|
|
139
|
+
*/
|
|
140
|
+
user_wait_seconds?: {
|
|
141
|
+
[key: string]: number;
|
|
142
|
+
};
|
|
143
|
+
num_jobs?: number;
|
|
144
|
+
total_wait_seconds?: number;
|
|
145
|
+
is_complete: boolean;
|
|
146
|
+
};
|
|
147
|
+
export type DailyStorageReport = {
|
|
148
|
+
project: string;
|
|
149
|
+
/**
|
|
150
|
+
* RFC3339 timestamp
|
|
151
|
+
*/
|
|
152
|
+
generated_at: string;
|
|
153
|
+
/**
|
|
154
|
+
* Volume → Quota
|
|
155
|
+
*/
|
|
156
|
+
project_quotas: {
|
|
157
|
+
[key: string]: OpenPortalQuota;
|
|
158
|
+
};
|
|
159
|
+
/**
|
|
160
|
+
* UserIdentifier → (Volume → Quota)
|
|
161
|
+
*/
|
|
162
|
+
user_quotas: {
|
|
163
|
+
[key: string]: {
|
|
164
|
+
[key: string]: OpenPortalQuota;
|
|
165
|
+
};
|
|
166
|
+
};
|
|
167
|
+
};
|
|
168
|
+
export type ManagedProject = {
|
|
169
|
+
readonly state: string;
|
|
170
|
+
readonly created: string;
|
|
171
|
+
/**
|
|
172
|
+
* Timestamp when the review was completed
|
|
173
|
+
*/
|
|
174
|
+
readonly reviewed_at: string | null;
|
|
175
|
+
readonly reviewed_by_full_name: string;
|
|
176
|
+
readonly reviewed_by_uuid: string;
|
|
177
|
+
/**
|
|
178
|
+
* Optional comment provided during review
|
|
179
|
+
*/
|
|
180
|
+
review_comment?: string | null;
|
|
181
|
+
/**
|
|
182
|
+
* ID
|
|
183
|
+
*/
|
|
184
|
+
identifier: string;
|
|
185
|
+
/**
|
|
186
|
+
* The destination used to send instructions from the remote portal.
|
|
187
|
+
*/
|
|
188
|
+
destination: string;
|
|
189
|
+
/**
|
|
190
|
+
* Details of the project as provided by the remote OpenPortal.
|
|
191
|
+
*/
|
|
192
|
+
readonly details: unknown;
|
|
193
|
+
project: string;
|
|
194
|
+
project_data: BasicProject;
|
|
195
|
+
project_template: string;
|
|
196
|
+
project_template_data: ProjectTemplate;
|
|
197
|
+
/**
|
|
198
|
+
* Local ID
|
|
199
|
+
* The local project identifier in this portal.
|
|
200
|
+
*/
|
|
201
|
+
local_identifier?: string | null;
|
|
202
|
+
};
|
|
203
|
+
export type OfferingMappingResponse = {
|
|
204
|
+
uuid: string;
|
|
205
|
+
name: string;
|
|
206
|
+
description: string;
|
|
207
|
+
slug: string;
|
|
208
|
+
};
|
|
209
|
+
export type OpenPortalQuota = {
|
|
210
|
+
/**
|
|
211
|
+
* Size limit. "unlimited" or a size string e.g. "1024.00 GB"
|
|
212
|
+
*/
|
|
213
|
+
limit: string;
|
|
214
|
+
/**
|
|
215
|
+
* Size usage e.g. "24.00 KB". Absent when the server has no usage data.
|
|
216
|
+
*/
|
|
217
|
+
usage?: string;
|
|
218
|
+
};
|
|
219
|
+
export type PatchedAllocationRequest = {
|
|
220
|
+
name?: string;
|
|
221
|
+
description?: string;
|
|
222
|
+
node_limit?: number;
|
|
223
|
+
groupname?: string | null;
|
|
224
|
+
};
|
|
225
|
+
export type PatchedProjectInfoRequest = {
|
|
226
|
+
project?: string;
|
|
227
|
+
/**
|
|
228
|
+
* A short, unique name for the project. It will be used to form the local username of any users in the project on any systems. Should only contain lower-case letters and digits and must start with a letter.
|
|
229
|
+
*/
|
|
230
|
+
shortname?: string | null;
|
|
231
|
+
/**
|
|
232
|
+
* A comma-separated list of allowable destinations of instances that can be attached to this project. For example, a project may only allow 'brics.aip1.*', meaning that only instances that start with 'brics.aip1.' can be attached to this project.
|
|
233
|
+
*/
|
|
234
|
+
allowed_destinations?: string | null;
|
|
235
|
+
};
|
|
236
|
+
export type PatchedProjectTemplateRequest = {
|
|
237
|
+
name?: string;
|
|
238
|
+
/**
|
|
239
|
+
* The offering for which this template applies.
|
|
240
|
+
*/
|
|
241
|
+
offering?: string | null;
|
|
242
|
+
provider?: string;
|
|
243
|
+
portal?: string;
|
|
244
|
+
/**
|
|
245
|
+
* The key that is used to authenticate requests for this class.
|
|
246
|
+
*/
|
|
247
|
+
key?: string | null;
|
|
248
|
+
customer?: string;
|
|
249
|
+
shortname?: string | null;
|
|
250
|
+
offerings?: Array<string>;
|
|
251
|
+
/**
|
|
252
|
+
* The credit limit beyond which requests need to be approved by a local admin. If this is None, then no local approval is required. If this is set to 0, then all requests (including creating the project) need to be approved.
|
|
253
|
+
*/
|
|
254
|
+
approval_limit?: string | null;
|
|
255
|
+
/**
|
|
256
|
+
* Maximum credit limit
|
|
257
|
+
* The maximum credit limit for any projects created in this class. Any requests beyond this limit are automatically rejected. If this is None, then no maximum limit is set. If this is set to 0, then no projects can be created in this class.
|
|
258
|
+
*/
|
|
259
|
+
max_credit_limit?: string | null;
|
|
260
|
+
/**
|
|
261
|
+
* The mapping of credits to allocation units, i.e. how many allocation units to award per credit allocated.
|
|
262
|
+
*/
|
|
263
|
+
allocation_units_mapping?: unknown;
|
|
264
|
+
/**
|
|
265
|
+
* The mapping of role names from the remote portal to role information in this portal for users in projects created in this class.
|
|
266
|
+
*/
|
|
267
|
+
role_mapping?: unknown;
|
|
268
|
+
};
|
|
269
|
+
export type PatchedRemoteAllocationRequest = {
|
|
270
|
+
name?: string;
|
|
271
|
+
description?: string;
|
|
272
|
+
node_limit?: number;
|
|
273
|
+
/**
|
|
274
|
+
* The identifier of the project in the remote OpenPortal instance.
|
|
275
|
+
*/
|
|
276
|
+
remote_project_identifier?: string | null;
|
|
277
|
+
};
|
|
278
|
+
export type PatchedUserInfoRequest = {
|
|
279
|
+
/**
|
|
280
|
+
* A short, unique name for you. It will be used to form your local username on any systems. Should only contain lower-case letters and digits and must start with a letter.
|
|
281
|
+
*/
|
|
282
|
+
shortname?: string | null;
|
|
283
|
+
user?: string;
|
|
284
|
+
};
|
|
285
|
+
export type ProjectAccountingSummary = {
|
|
286
|
+
readonly project_uuid: string;
|
|
287
|
+
readonly project_name: string;
|
|
288
|
+
readonly customer_uuid: string;
|
|
289
|
+
readonly customer_name: string;
|
|
290
|
+
readonly start_date: string | null;
|
|
291
|
+
readonly end_date: string | null;
|
|
292
|
+
readonly total_credits: string;
|
|
293
|
+
readonly total_spend: string;
|
|
294
|
+
readonly current_month_spend: string;
|
|
295
|
+
};
|
|
296
|
+
export type ProjectAttachRequest = {
|
|
297
|
+
/**
|
|
298
|
+
* UUID of the project to attach to this managed project
|
|
299
|
+
*/
|
|
300
|
+
project_uuid: string;
|
|
301
|
+
};
|
|
302
|
+
export type ProjectInfo = {
|
|
303
|
+
project: string;
|
|
304
|
+
/**
|
|
305
|
+
* A short, unique name for the project. It will be used to form the local username of any users in the project on any systems. Should only contain lower-case letters and digits and must start with a letter.
|
|
306
|
+
*/
|
|
307
|
+
shortname?: string | null;
|
|
308
|
+
/**
|
|
309
|
+
* A comma-separated list of allowable destinations of instances that can be attached to this project. For example, a project may only allow 'brics.aip1.*', meaning that only instances that start with 'brics.aip1.' can be attached to this project.
|
|
310
|
+
*/
|
|
311
|
+
allowed_destinations?: string | null;
|
|
312
|
+
};
|
|
313
|
+
export type ProjectInfoRequest = {
|
|
314
|
+
project: string;
|
|
315
|
+
/**
|
|
316
|
+
* A short, unique name for the project. It will be used to form the local username of any users in the project on any systems. Should only contain lower-case letters and digits and must start with a letter.
|
|
317
|
+
*/
|
|
318
|
+
shortname?: string | null;
|
|
319
|
+
/**
|
|
320
|
+
* A comma-separated list of allowable destinations of instances that can be attached to this project. For example, a project may only allow 'brics.aip1.*', meaning that only instances that start with 'brics.aip1.' can be attached to this project.
|
|
321
|
+
*/
|
|
322
|
+
allowed_destinations?: string | null;
|
|
323
|
+
};
|
|
324
|
+
export type ProjectMappingResponse = {
|
|
325
|
+
uuid: string;
|
|
326
|
+
name: string;
|
|
327
|
+
customer_uuid: string;
|
|
328
|
+
customer_name: string;
|
|
329
|
+
};
|
|
330
|
+
export type ProjectStorageReport = {
|
|
331
|
+
project: string;
|
|
332
|
+
/**
|
|
333
|
+
* RFC3339 timestamp
|
|
334
|
+
*/
|
|
335
|
+
generated_at: string;
|
|
336
|
+
/**
|
|
337
|
+
* Volume → Quota
|
|
338
|
+
*/
|
|
339
|
+
project_quotas: {
|
|
340
|
+
[key: string]: OpenPortalQuota;
|
|
341
|
+
};
|
|
342
|
+
/**
|
|
343
|
+
* UserIdentifier → (Volume → Quota)
|
|
344
|
+
*/
|
|
345
|
+
user_quotas: {
|
|
346
|
+
[key: string]: {
|
|
347
|
+
[key: string]: OpenPortalQuota;
|
|
348
|
+
};
|
|
349
|
+
};
|
|
350
|
+
/**
|
|
351
|
+
* UserIdentifier → local_username
|
|
352
|
+
*/
|
|
353
|
+
users: {
|
|
354
|
+
[key: string]: string;
|
|
355
|
+
};
|
|
356
|
+
/**
|
|
357
|
+
* "YYYY-MM-DD" → DailyStorageReportJson. Absent from JSON when there are no daily snapshots.
|
|
358
|
+
*/
|
|
359
|
+
daily_reports?: {
|
|
360
|
+
[key: string]: DailyStorageReport;
|
|
361
|
+
};
|
|
362
|
+
};
|
|
363
|
+
export type ProjectTemplate = {
|
|
364
|
+
readonly uuid: string;
|
|
365
|
+
name: string;
|
|
366
|
+
/**
|
|
367
|
+
* The offering for which this template applies.
|
|
368
|
+
*/
|
|
369
|
+
offering?: string | null;
|
|
370
|
+
provider: string;
|
|
371
|
+
provider_data: BasicCustomer;
|
|
372
|
+
portal: string;
|
|
373
|
+
/**
|
|
374
|
+
* The key that is used to authenticate requests for this class.
|
|
375
|
+
*/
|
|
376
|
+
key?: string | null;
|
|
377
|
+
customer: string;
|
|
378
|
+
customer_data: BasicCustomer;
|
|
379
|
+
shortname?: string | null;
|
|
380
|
+
offerings: Array<string>;
|
|
381
|
+
readonly offerings_data: Array<ResourceOffering>;
|
|
382
|
+
/**
|
|
383
|
+
* The credit limit beyond which requests need to be approved by a local admin. If this is None, then no local approval is required. If this is set to 0, then all requests (including creating the project) need to be approved.
|
|
384
|
+
*/
|
|
385
|
+
approval_limit?: string | null;
|
|
386
|
+
/**
|
|
387
|
+
* Maximum credit limit
|
|
388
|
+
* The maximum credit limit for any projects created in this class. Any requests beyond this limit are automatically rejected. If this is None, then no maximum limit is set. If this is set to 0, then no projects can be created in this class.
|
|
389
|
+
*/
|
|
390
|
+
max_credit_limit?: string | null;
|
|
391
|
+
/**
|
|
392
|
+
* The mapping of credits to allocation units, i.e. how many allocation units to award per credit allocated.
|
|
393
|
+
*/
|
|
394
|
+
allocation_units_mapping?: unknown;
|
|
395
|
+
/**
|
|
396
|
+
* The mapping of role names from the remote portal to role information in this portal for users in projects created in this class.
|
|
397
|
+
*/
|
|
398
|
+
role_mapping?: unknown;
|
|
399
|
+
/**
|
|
400
|
+
* Serialize the role mapping dictionary returned by get_role_mapping()
|
|
401
|
+
*/
|
|
402
|
+
readonly role_mapping_data: {
|
|
403
|
+
[key: string]: {
|
|
404
|
+
[key: string]: string;
|
|
405
|
+
};
|
|
406
|
+
};
|
|
407
|
+
};
|
|
408
|
+
export type ProjectTemplateRequest = {
|
|
409
|
+
name: string;
|
|
410
|
+
/**
|
|
411
|
+
* The offering for which this template applies.
|
|
412
|
+
*/
|
|
413
|
+
offering?: string | null;
|
|
414
|
+
provider: string;
|
|
415
|
+
portal: string;
|
|
416
|
+
/**
|
|
417
|
+
* The key that is used to authenticate requests for this class.
|
|
418
|
+
*/
|
|
419
|
+
key?: string | null;
|
|
420
|
+
customer: string;
|
|
421
|
+
shortname?: string | null;
|
|
422
|
+
offerings: Array<string>;
|
|
423
|
+
/**
|
|
424
|
+
* The credit limit beyond which requests need to be approved by a local admin. If this is None, then no local approval is required. If this is set to 0, then all requests (including creating the project) need to be approved.
|
|
425
|
+
*/
|
|
426
|
+
approval_limit?: string | null;
|
|
427
|
+
/**
|
|
428
|
+
* Maximum credit limit
|
|
429
|
+
* The maximum credit limit for any projects created in this class. Any requests beyond this limit are automatically rejected. If this is None, then no maximum limit is set. If this is set to 0, then no projects can be created in this class.
|
|
430
|
+
*/
|
|
431
|
+
max_credit_limit?: string | null;
|
|
432
|
+
/**
|
|
433
|
+
* The mapping of credits to allocation units, i.e. how many allocation units to award per credit allocated.
|
|
434
|
+
*/
|
|
435
|
+
allocation_units_mapping?: unknown;
|
|
436
|
+
/**
|
|
437
|
+
* The mapping of role names from the remote portal to role information in this portal for users in projects created in this class.
|
|
438
|
+
*/
|
|
439
|
+
role_mapping?: unknown;
|
|
440
|
+
};
|
|
441
|
+
export type ProjectUsageReport = {
|
|
442
|
+
/**
|
|
443
|
+
* ProjectIdentifier string e.g. "aiproject.brics"
|
|
444
|
+
*/
|
|
445
|
+
project: string;
|
|
446
|
+
/**
|
|
447
|
+
* "YYYY-MM-DD" → DailyProjectUsageReportJson
|
|
448
|
+
*/
|
|
449
|
+
reports: {
|
|
450
|
+
[key: string]: DailyProjectUsageReport;
|
|
451
|
+
};
|
|
452
|
+
/**
|
|
453
|
+
* UserIdentifier → local_username. e.g. { "chris.aiproject.brics": "chris.aiproject" }
|
|
454
|
+
*/
|
|
455
|
+
users: {
|
|
456
|
+
[key: string]: string;
|
|
457
|
+
};
|
|
458
|
+
};
|
|
459
|
+
export type RemoteAllocation = {
|
|
460
|
+
readonly url?: string;
|
|
461
|
+
readonly uuid?: string;
|
|
462
|
+
name?: string;
|
|
463
|
+
description?: string;
|
|
464
|
+
readonly service_name?: string;
|
|
465
|
+
service_settings?: string;
|
|
466
|
+
readonly service_settings_uuid?: string;
|
|
467
|
+
readonly service_settings_state?: string;
|
|
468
|
+
readonly service_settings_error_message?: string;
|
|
469
|
+
project?: string;
|
|
470
|
+
readonly project_name?: string;
|
|
471
|
+
readonly project_uuid?: string;
|
|
472
|
+
readonly customer?: string;
|
|
473
|
+
readonly customer_uuid?: string;
|
|
474
|
+
readonly customer_name?: string;
|
|
475
|
+
readonly customer_native_name?: string;
|
|
476
|
+
readonly customer_abbreviation?: string;
|
|
477
|
+
readonly error_message?: string;
|
|
478
|
+
readonly error_traceback?: string;
|
|
479
|
+
readonly resource_type?: string;
|
|
480
|
+
state?: CoreStates;
|
|
481
|
+
readonly created?: string;
|
|
482
|
+
readonly modified?: string;
|
|
483
|
+
readonly backend_id?: string;
|
|
484
|
+
access_url?: Array<string> | string | null;
|
|
485
|
+
node_limit?: number;
|
|
486
|
+
/**
|
|
487
|
+
* The identifier of the project in the remote OpenPortal instance.
|
|
488
|
+
*/
|
|
489
|
+
remote_project_identifier?: string | null;
|
|
490
|
+
readonly node_usage?: string;
|
|
491
|
+
readonly is_active?: boolean;
|
|
492
|
+
readonly marketplace_offering_uuid?: string | null;
|
|
493
|
+
readonly marketplace_offering_name?: string | null;
|
|
494
|
+
readonly marketplace_offering_type?: string | null;
|
|
495
|
+
readonly marketplace_offering_plugin_options?: {
|
|
496
|
+
[key: string]: unknown;
|
|
497
|
+
} | null;
|
|
498
|
+
readonly marketplace_category_uuid?: string | null;
|
|
499
|
+
readonly marketplace_category_name?: string | null;
|
|
500
|
+
readonly marketplace_resource_uuid?: string | null;
|
|
501
|
+
readonly marketplace_plan_uuid?: string | null;
|
|
502
|
+
readonly marketplace_resource_state?: string | null;
|
|
503
|
+
readonly is_usage_based?: boolean | null;
|
|
504
|
+
readonly is_limit_based?: boolean | null;
|
|
505
|
+
};
|
|
506
|
+
export type RemoteAllocationRequest = {
|
|
507
|
+
name: string;
|
|
508
|
+
description?: string;
|
|
509
|
+
service_settings: string;
|
|
510
|
+
project: string;
|
|
511
|
+
node_limit?: number;
|
|
512
|
+
/**
|
|
513
|
+
* The identifier of the project in the remote OpenPortal instance.
|
|
514
|
+
*/
|
|
515
|
+
remote_project_identifier?: string | null;
|
|
516
|
+
};
|
|
517
|
+
export type RemoteAllocationSetLimits = {
|
|
518
|
+
node_limit: number;
|
|
519
|
+
};
|
|
520
|
+
export type RemoteAllocationSetLimitsRequest = {
|
|
521
|
+
node_limit: number;
|
|
522
|
+
};
|
|
523
|
+
export type RemoteAssociation = {
|
|
524
|
+
readonly uuid: string;
|
|
525
|
+
allocation: string;
|
|
526
|
+
};
|
|
527
|
+
export type Usage = {
|
|
528
|
+
seconds: number;
|
|
529
|
+
};
|
|
530
|
+
export type UserInfo = {
|
|
531
|
+
/**
|
|
532
|
+
* A short, unique name for you. It will be used to form your local username on any systems. Should only contain lower-case letters and digits and must start with a letter.
|
|
533
|
+
*/
|
|
534
|
+
shortname?: string | null;
|
|
535
|
+
user: string;
|
|
536
|
+
};
|
|
537
|
+
export type UserInfoRequest = {
|
|
538
|
+
/**
|
|
539
|
+
* A short, unique name for you. It will be used to form your local username on any systems. Should only contain lower-case letters and digits and must start with a letter.
|
|
540
|
+
*/
|
|
541
|
+
shortname?: string | null;
|
|
542
|
+
user: string;
|
|
543
|
+
};
|
|
544
|
+
export type UserMappingResponse = {
|
|
545
|
+
uuid: string;
|
|
546
|
+
full_name: string;
|
|
547
|
+
email: string;
|
|
548
|
+
username: string;
|
|
549
|
+
};
|
|
550
|
+
export type AllocationFieldEnum = 'access_url' | 'backend_id' | 'created' | 'customer' | 'customer_abbreviation' | 'customer_name' | 'customer_native_name' | 'customer_uuid' | 'description' | 'error_message' | 'error_traceback' | 'groupname' | 'is_active' | 'is_limit_based' | 'is_usage_based' | 'marketplace_category_name' | 'marketplace_category_uuid' | 'marketplace_offering_name' | 'marketplace_offering_plugin_options' | 'marketplace_offering_type' | 'marketplace_offering_uuid' | 'marketplace_plan_uuid' | 'marketplace_resource_state' | 'marketplace_resource_uuid' | 'modified' | 'name' | 'node_limit' | 'node_usage' | 'project' | 'project_name' | 'project_uuid' | 'resource_type' | 'service_name' | 'service_settings' | 'service_settings_error_message' | 'service_settings_state' | 'service_settings_uuid' | 'state' | 'url' | 'uuid';
|
|
551
|
+
export type RemoteAllocationFieldEnum = 'access_url' | 'backend_id' | 'created' | 'customer' | 'customer_abbreviation' | 'customer_name' | 'customer_native_name' | 'customer_uuid' | 'description' | 'error_message' | 'error_traceback' | 'is_active' | 'is_limit_based' | 'is_usage_based' | 'marketplace_category_name' | 'marketplace_category_uuid' | 'marketplace_offering_name' | 'marketplace_offering_plugin_options' | 'marketplace_offering_type' | 'marketplace_offering_uuid' | 'marketplace_plan_uuid' | 'marketplace_resource_state' | 'marketplace_resource_uuid' | 'modified' | 'name' | 'node_limit' | 'node_usage' | 'project' | 'project_name' | 'project_uuid' | 'remote_project_identifier' | 'resource_type' | 'service_name' | 'service_settings' | 'service_settings_error_message' | 'service_settings_state' | 'service_settings_uuid' | 'state' | 'url' | 'uuid';
|
|
552
|
+
export type OpenportalAccountingSummaryListData = {
|
|
553
|
+
body?: never;
|
|
554
|
+
path?: never;
|
|
555
|
+
query?: {
|
|
556
|
+
customer_uuid?: string;
|
|
557
|
+
is_active?: boolean;
|
|
558
|
+
/**
|
|
559
|
+
* A page number within the paginated result set.
|
|
560
|
+
*/
|
|
561
|
+
page?: number;
|
|
562
|
+
/**
|
|
563
|
+
* Number of results to return per page.
|
|
564
|
+
*/
|
|
565
|
+
page_size?: number;
|
|
566
|
+
project_uuid?: string;
|
|
567
|
+
};
|
|
568
|
+
url: '/api/openportal-accounting-summary/';
|
|
569
|
+
};
|
|
570
|
+
export type OpenportalAccountingSummaryListResponses = {
|
|
571
|
+
200: Array<ProjectAccountingSummary>;
|
|
572
|
+
};
|
|
573
|
+
export type OpenportalAccountingSummaryCountData = {
|
|
574
|
+
body?: never;
|
|
575
|
+
path?: never;
|
|
576
|
+
query?: {
|
|
577
|
+
customer_uuid?: string;
|
|
578
|
+
is_active?: boolean;
|
|
579
|
+
/**
|
|
580
|
+
* A page number within the paginated result set.
|
|
581
|
+
*/
|
|
582
|
+
page?: number;
|
|
583
|
+
/**
|
|
584
|
+
* Number of results to return per page.
|
|
585
|
+
*/
|
|
586
|
+
page_size?: number;
|
|
587
|
+
project_uuid?: string;
|
|
588
|
+
};
|
|
589
|
+
url: '/api/openportal-accounting-summary/';
|
|
590
|
+
};
|
|
591
|
+
export type OpenportalAccountingSummaryCountResponses = {
|
|
592
|
+
/**
|
|
593
|
+
* No response body
|
|
594
|
+
*/
|
|
595
|
+
200: unknown;
|
|
596
|
+
};
|
|
597
|
+
export type OpenportalAccountingSummaryRetrieveData = {
|
|
598
|
+
body?: never;
|
|
599
|
+
path: {
|
|
600
|
+
uuid: string;
|
|
601
|
+
};
|
|
602
|
+
query?: never;
|
|
603
|
+
url: '/api/openportal-accounting-summary/{uuid}/';
|
|
604
|
+
};
|
|
605
|
+
export type OpenportalAccountingSummaryRetrieveResponses = {
|
|
606
|
+
200: ProjectAccountingSummary;
|
|
607
|
+
};
|
|
608
|
+
export type OpenportalAllocationUserUsageListData = {
|
|
609
|
+
body?: never;
|
|
610
|
+
path?: never;
|
|
611
|
+
query?: {
|
|
612
|
+
allocation?: string;
|
|
613
|
+
allocation_uuid?: string;
|
|
614
|
+
month?: number;
|
|
615
|
+
/**
|
|
616
|
+
* A page number within the paginated result set.
|
|
617
|
+
*/
|
|
618
|
+
page?: number;
|
|
619
|
+
/**
|
|
620
|
+
* Number of results to return per page.
|
|
621
|
+
*/
|
|
622
|
+
page_size?: number;
|
|
623
|
+
user?: string;
|
|
624
|
+
user_uuid?: string;
|
|
625
|
+
year?: number;
|
|
626
|
+
};
|
|
627
|
+
url: '/api/openportal-allocation-user-usage/';
|
|
628
|
+
};
|
|
629
|
+
export type OpenportalAllocationUserUsageListResponses = {
|
|
630
|
+
200: Array<AllocationUserUsage>;
|
|
631
|
+
};
|
|
632
|
+
export type OpenportalAllocationUserUsageCountData = {
|
|
633
|
+
body?: never;
|
|
634
|
+
path?: never;
|
|
635
|
+
query?: {
|
|
636
|
+
allocation?: string;
|
|
637
|
+
allocation_uuid?: string;
|
|
638
|
+
month?: number;
|
|
639
|
+
/**
|
|
640
|
+
* A page number within the paginated result set.
|
|
641
|
+
*/
|
|
642
|
+
page?: number;
|
|
643
|
+
/**
|
|
644
|
+
* Number of results to return per page.
|
|
645
|
+
*/
|
|
646
|
+
page_size?: number;
|
|
647
|
+
user?: string;
|
|
648
|
+
user_uuid?: string;
|
|
649
|
+
year?: number;
|
|
650
|
+
};
|
|
651
|
+
url: '/api/openportal-allocation-user-usage/';
|
|
652
|
+
};
|
|
653
|
+
export type OpenportalAllocationUserUsageCountResponses = {
|
|
654
|
+
/**
|
|
655
|
+
* No response body
|
|
656
|
+
*/
|
|
657
|
+
200: unknown;
|
|
658
|
+
};
|
|
659
|
+
export type OpenportalAllocationUserUsageRetrieveData = {
|
|
660
|
+
body?: never;
|
|
661
|
+
path: {
|
|
662
|
+
/**
|
|
663
|
+
* A unique integer value identifying this allocation user usage.
|
|
664
|
+
*/
|
|
665
|
+
id: number;
|
|
666
|
+
};
|
|
667
|
+
query?: never;
|
|
668
|
+
url: '/api/openportal-allocation-user-usage/{id}/';
|
|
669
|
+
};
|
|
670
|
+
export type OpenportalAllocationUserUsageRetrieveResponses = {
|
|
671
|
+
200: AllocationUserUsage;
|
|
672
|
+
};
|
|
673
|
+
export type OpenportalAllocationsListData = {
|
|
674
|
+
body?: never;
|
|
675
|
+
path?: never;
|
|
676
|
+
query?: {
|
|
677
|
+
/**
|
|
678
|
+
* Backend ID
|
|
679
|
+
*/
|
|
680
|
+
backend_id?: string;
|
|
681
|
+
/**
|
|
682
|
+
* Can manage
|
|
683
|
+
*/
|
|
684
|
+
can_manage?: boolean;
|
|
685
|
+
/**
|
|
686
|
+
* Customer UUID
|
|
687
|
+
*/
|
|
688
|
+
customer?: string;
|
|
689
|
+
/**
|
|
690
|
+
* Customer abbreviation
|
|
691
|
+
*/
|
|
692
|
+
customer_abbreviation?: string;
|
|
693
|
+
/**
|
|
694
|
+
* Customer name
|
|
695
|
+
*/
|
|
696
|
+
customer_name?: string;
|
|
697
|
+
/**
|
|
698
|
+
* Customer native name
|
|
699
|
+
*/
|
|
700
|
+
customer_native_name?: string;
|
|
701
|
+
/**
|
|
702
|
+
* Customer UUID
|
|
703
|
+
*/
|
|
704
|
+
customer_uuid?: string;
|
|
705
|
+
/**
|
|
706
|
+
* Description
|
|
707
|
+
*/
|
|
708
|
+
description?: string;
|
|
709
|
+
/**
|
|
710
|
+
* External IP
|
|
711
|
+
*/
|
|
712
|
+
external_ip?: string;
|
|
713
|
+
field?: Array<AllocationFieldEnum>;
|
|
714
|
+
is_active?: boolean;
|
|
715
|
+
/**
|
|
716
|
+
* Name
|
|
717
|
+
*/
|
|
718
|
+
name?: string;
|
|
719
|
+
/**
|
|
720
|
+
* Name (exact)
|
|
721
|
+
*/
|
|
722
|
+
name_exact?: string;
|
|
723
|
+
/**
|
|
724
|
+
* A page number within the paginated result set.
|
|
725
|
+
*/
|
|
726
|
+
page?: number;
|
|
727
|
+
/**
|
|
728
|
+
* Number of results to return per page.
|
|
729
|
+
*/
|
|
730
|
+
page_size?: number;
|
|
731
|
+
/**
|
|
732
|
+
* Project UUID
|
|
733
|
+
*/
|
|
734
|
+
project?: string;
|
|
735
|
+
/**
|
|
736
|
+
* Project name
|
|
737
|
+
*/
|
|
738
|
+
project_name?: string;
|
|
739
|
+
/**
|
|
740
|
+
* Project UUID
|
|
741
|
+
*/
|
|
742
|
+
project_uuid?: string;
|
|
743
|
+
/**
|
|
744
|
+
* Service settings name
|
|
745
|
+
*/
|
|
746
|
+
service_settings_name?: string;
|
|
747
|
+
/**
|
|
748
|
+
* Service settings UUID
|
|
749
|
+
*/
|
|
750
|
+
service_settings_uuid?: string;
|
|
751
|
+
/**
|
|
752
|
+
* State
|
|
753
|
+
*
|
|
754
|
+
*
|
|
755
|
+
*/
|
|
756
|
+
state?: Array<CoreStates>;
|
|
757
|
+
};
|
|
758
|
+
url: '/api/openportal-allocations/';
|
|
759
|
+
};
|
|
760
|
+
export type OpenportalAllocationsListResponses = {
|
|
761
|
+
200: Array<Allocation>;
|
|
762
|
+
};
|
|
763
|
+
export type OpenportalAllocationsCountData = {
|
|
764
|
+
body?: never;
|
|
765
|
+
path?: never;
|
|
766
|
+
query?: {
|
|
767
|
+
/**
|
|
768
|
+
* Backend ID
|
|
769
|
+
*/
|
|
770
|
+
backend_id?: string;
|
|
771
|
+
/**
|
|
772
|
+
* Can manage
|
|
773
|
+
*/
|
|
774
|
+
can_manage?: boolean;
|
|
775
|
+
/**
|
|
776
|
+
* Customer UUID
|
|
777
|
+
*/
|
|
778
|
+
customer?: string;
|
|
779
|
+
/**
|
|
780
|
+
* Customer abbreviation
|
|
781
|
+
*/
|
|
782
|
+
customer_abbreviation?: string;
|
|
783
|
+
/**
|
|
784
|
+
* Customer name
|
|
785
|
+
*/
|
|
786
|
+
customer_name?: string;
|
|
787
|
+
/**
|
|
788
|
+
* Customer native name
|
|
789
|
+
*/
|
|
790
|
+
customer_native_name?: string;
|
|
791
|
+
/**
|
|
792
|
+
* Customer UUID
|
|
793
|
+
*/
|
|
794
|
+
customer_uuid?: string;
|
|
795
|
+
/**
|
|
796
|
+
* Description
|
|
797
|
+
*/
|
|
798
|
+
description?: string;
|
|
799
|
+
/**
|
|
800
|
+
* External IP
|
|
801
|
+
*/
|
|
802
|
+
external_ip?: string;
|
|
803
|
+
is_active?: boolean;
|
|
804
|
+
/**
|
|
805
|
+
* Name
|
|
806
|
+
*/
|
|
807
|
+
name?: string;
|
|
808
|
+
/**
|
|
809
|
+
* Name (exact)
|
|
810
|
+
*/
|
|
811
|
+
name_exact?: string;
|
|
812
|
+
/**
|
|
813
|
+
* A page number within the paginated result set.
|
|
814
|
+
*/
|
|
815
|
+
page?: number;
|
|
816
|
+
/**
|
|
817
|
+
* Number of results to return per page.
|
|
818
|
+
*/
|
|
819
|
+
page_size?: number;
|
|
820
|
+
/**
|
|
821
|
+
* Project UUID
|
|
822
|
+
*/
|
|
823
|
+
project?: string;
|
|
824
|
+
/**
|
|
825
|
+
* Project name
|
|
826
|
+
*/
|
|
827
|
+
project_name?: string;
|
|
828
|
+
/**
|
|
829
|
+
* Project UUID
|
|
830
|
+
*/
|
|
831
|
+
project_uuid?: string;
|
|
832
|
+
/**
|
|
833
|
+
* Service settings name
|
|
834
|
+
*/
|
|
835
|
+
service_settings_name?: string;
|
|
836
|
+
/**
|
|
837
|
+
* Service settings UUID
|
|
838
|
+
*/
|
|
839
|
+
service_settings_uuid?: string;
|
|
840
|
+
/**
|
|
841
|
+
* State
|
|
842
|
+
*
|
|
843
|
+
*
|
|
844
|
+
*/
|
|
845
|
+
state?: Array<CoreStates>;
|
|
846
|
+
};
|
|
847
|
+
url: '/api/openportal-allocations/';
|
|
848
|
+
};
|
|
849
|
+
export type OpenportalAllocationsCountResponses = {
|
|
850
|
+
/**
|
|
851
|
+
* No response body
|
|
852
|
+
*/
|
|
853
|
+
200: unknown;
|
|
854
|
+
};
|
|
855
|
+
export type OpenportalAllocationsCreateData = {
|
|
856
|
+
body: AllocationRequest;
|
|
857
|
+
path?: never;
|
|
858
|
+
query?: never;
|
|
859
|
+
url: '/api/openportal-allocations/';
|
|
860
|
+
};
|
|
861
|
+
export type OpenportalAllocationsCreateResponses = {
|
|
862
|
+
201: Allocation;
|
|
863
|
+
};
|
|
864
|
+
export type OpenportalAllocationsDestroyData = {
|
|
865
|
+
body?: never;
|
|
866
|
+
path: {
|
|
867
|
+
uuid: string;
|
|
868
|
+
};
|
|
869
|
+
query?: never;
|
|
870
|
+
url: '/api/openportal-allocations/{uuid}/';
|
|
871
|
+
};
|
|
872
|
+
export type OpenportalAllocationsDestroyResponses = {
|
|
873
|
+
/**
|
|
874
|
+
* No response body
|
|
875
|
+
*/
|
|
876
|
+
204: void;
|
|
877
|
+
};
|
|
878
|
+
export type OpenportalAllocationsRetrieveData = {
|
|
879
|
+
body?: never;
|
|
880
|
+
path: {
|
|
881
|
+
uuid: string;
|
|
882
|
+
};
|
|
883
|
+
query?: {
|
|
884
|
+
field?: Array<AllocationFieldEnum>;
|
|
885
|
+
};
|
|
886
|
+
url: '/api/openportal-allocations/{uuid}/';
|
|
887
|
+
};
|
|
888
|
+
export type OpenportalAllocationsRetrieveResponses = {
|
|
889
|
+
200: Allocation;
|
|
890
|
+
};
|
|
891
|
+
export type OpenportalAllocationsPartialUpdateData = {
|
|
892
|
+
body?: PatchedAllocationRequest;
|
|
893
|
+
path: {
|
|
894
|
+
uuid: string;
|
|
895
|
+
};
|
|
896
|
+
query?: never;
|
|
897
|
+
url: '/api/openportal-allocations/{uuid}/';
|
|
898
|
+
};
|
|
899
|
+
export type OpenportalAllocationsPartialUpdateResponses = {
|
|
900
|
+
200: Allocation;
|
|
901
|
+
};
|
|
902
|
+
export type OpenportalAllocationsUpdateData = {
|
|
903
|
+
body: AllocationRequest;
|
|
904
|
+
path: {
|
|
905
|
+
uuid: string;
|
|
906
|
+
};
|
|
907
|
+
query?: never;
|
|
908
|
+
url: '/api/openportal-allocations/{uuid}/';
|
|
909
|
+
};
|
|
910
|
+
export type OpenportalAllocationsUpdateResponses = {
|
|
911
|
+
200: Allocation;
|
|
912
|
+
};
|
|
913
|
+
export type OpenportalAllocationsPullData = {
|
|
914
|
+
body?: never;
|
|
915
|
+
path: {
|
|
916
|
+
uuid: string;
|
|
917
|
+
};
|
|
918
|
+
query?: never;
|
|
919
|
+
url: '/api/openportal-allocations/{uuid}/pull/';
|
|
920
|
+
};
|
|
921
|
+
export type OpenportalAllocationsPullErrors = {
|
|
922
|
+
409: PullConflictResponse;
|
|
923
|
+
};
|
|
924
|
+
export type OpenportalAllocationsPullResponses = {
|
|
925
|
+
202: PullResponse;
|
|
926
|
+
};
|
|
927
|
+
export type OpenportalAllocationsSetErredData = {
|
|
928
|
+
body?: SetErredRequest;
|
|
929
|
+
path: {
|
|
930
|
+
uuid: string;
|
|
931
|
+
};
|
|
932
|
+
query?: never;
|
|
933
|
+
url: '/api/openportal-allocations/{uuid}/set_erred/';
|
|
934
|
+
};
|
|
935
|
+
export type OpenportalAllocationsSetErredResponses = {
|
|
936
|
+
200: SetErredResponse;
|
|
937
|
+
};
|
|
938
|
+
export type OpenportalAllocationsSetLimitsData = {
|
|
939
|
+
body: AllocationSetLimitsRequest;
|
|
940
|
+
path: {
|
|
941
|
+
uuid: string;
|
|
942
|
+
};
|
|
943
|
+
query?: never;
|
|
944
|
+
url: '/api/openportal-allocations/{uuid}/set_limits/';
|
|
945
|
+
};
|
|
946
|
+
export type OpenportalAllocationsSetLimitsResponses = {
|
|
947
|
+
200: AllocationSetLimits;
|
|
948
|
+
};
|
|
949
|
+
export type OpenportalAllocationsSetOkData = {
|
|
950
|
+
body?: never;
|
|
951
|
+
path: {
|
|
952
|
+
uuid: string;
|
|
953
|
+
};
|
|
954
|
+
query?: never;
|
|
955
|
+
url: '/api/openportal-allocations/{uuid}/set_ok/';
|
|
956
|
+
};
|
|
957
|
+
export type OpenportalAllocationsSetOkResponses = {
|
|
958
|
+
200: SetOkResponse;
|
|
959
|
+
};
|
|
960
|
+
export type OpenportalAllocationsUnlinkData = {
|
|
961
|
+
body?: never;
|
|
962
|
+
path: {
|
|
963
|
+
uuid: string;
|
|
964
|
+
};
|
|
965
|
+
query?: never;
|
|
966
|
+
url: '/api/openportal-allocations/{uuid}/unlink/';
|
|
967
|
+
};
|
|
968
|
+
export type OpenportalAllocationsUnlinkResponses = {
|
|
969
|
+
/**
|
|
970
|
+
* No response body
|
|
971
|
+
*/
|
|
972
|
+
204: void;
|
|
973
|
+
};
|
|
974
|
+
export type OpenportalAssociationsListData = {
|
|
975
|
+
body?: never;
|
|
976
|
+
path?: never;
|
|
977
|
+
query?: {
|
|
978
|
+
allocation?: string;
|
|
979
|
+
allocation_uuid?: string;
|
|
980
|
+
/**
|
|
981
|
+
* A page number within the paginated result set.
|
|
982
|
+
*/
|
|
983
|
+
page?: number;
|
|
984
|
+
/**
|
|
985
|
+
* Number of results to return per page.
|
|
986
|
+
*/
|
|
987
|
+
page_size?: number;
|
|
988
|
+
};
|
|
989
|
+
url: '/api/openportal-associations/';
|
|
990
|
+
};
|
|
991
|
+
export type OpenportalAssociationsListResponses = {
|
|
992
|
+
200: Array<Association>;
|
|
993
|
+
};
|
|
994
|
+
export type OpenportalAssociationsCountData = {
|
|
995
|
+
body?: never;
|
|
996
|
+
path?: never;
|
|
997
|
+
query?: {
|
|
998
|
+
allocation?: string;
|
|
999
|
+
allocation_uuid?: string;
|
|
1000
|
+
/**
|
|
1001
|
+
* A page number within the paginated result set.
|
|
1002
|
+
*/
|
|
1003
|
+
page?: number;
|
|
1004
|
+
/**
|
|
1005
|
+
* Number of results to return per page.
|
|
1006
|
+
*/
|
|
1007
|
+
page_size?: number;
|
|
1008
|
+
};
|
|
1009
|
+
url: '/api/openportal-associations/';
|
|
1010
|
+
};
|
|
1011
|
+
export type OpenportalAssociationsCountResponses = {
|
|
1012
|
+
/**
|
|
1013
|
+
* No response body
|
|
1014
|
+
*/
|
|
1015
|
+
200: unknown;
|
|
1016
|
+
};
|
|
1017
|
+
export type OpenportalAssociationsRetrieveData = {
|
|
1018
|
+
body?: never;
|
|
1019
|
+
path: {
|
|
1020
|
+
uuid: string;
|
|
1021
|
+
};
|
|
1022
|
+
query?: never;
|
|
1023
|
+
url: '/api/openportal-associations/{uuid}/';
|
|
1024
|
+
};
|
|
1025
|
+
export type OpenportalAssociationsRetrieveResponses = {
|
|
1026
|
+
200: Association;
|
|
1027
|
+
};
|
|
1028
|
+
export type OpenportalManagedProjectsListData = {
|
|
1029
|
+
body?: never;
|
|
1030
|
+
path?: never;
|
|
1031
|
+
query?: {
|
|
1032
|
+
identifier?: string;
|
|
1033
|
+
local_identifier?: string;
|
|
1034
|
+
/**
|
|
1035
|
+
* Which field to use when ordering the results.
|
|
1036
|
+
*/
|
|
1037
|
+
o?: string;
|
|
1038
|
+
/**
|
|
1039
|
+
* A page number within the paginated result set.
|
|
1040
|
+
*/
|
|
1041
|
+
page?: number;
|
|
1042
|
+
/**
|
|
1043
|
+
* Number of results to return per page.
|
|
1044
|
+
*/
|
|
1045
|
+
page_size?: number;
|
|
1046
|
+
project?: string;
|
|
1047
|
+
project_template?: string;
|
|
1048
|
+
project_template_uuid?: string;
|
|
1049
|
+
project_uuid?: string;
|
|
1050
|
+
query?: string;
|
|
1051
|
+
state?: Array<RemoteProjectUpdateRequestStateEnum>;
|
|
1052
|
+
};
|
|
1053
|
+
url: '/api/openportal-managed-projects/';
|
|
1054
|
+
};
|
|
1055
|
+
export type OpenportalManagedProjectsListResponses = {
|
|
1056
|
+
200: Array<ManagedProject>;
|
|
1057
|
+
};
|
|
1058
|
+
export type OpenportalManagedProjectsCountData = {
|
|
1059
|
+
body?: never;
|
|
1060
|
+
path?: never;
|
|
1061
|
+
query?: {
|
|
1062
|
+
identifier?: string;
|
|
1063
|
+
local_identifier?: string;
|
|
1064
|
+
/**
|
|
1065
|
+
* Which field to use when ordering the results.
|
|
1066
|
+
*/
|
|
1067
|
+
o?: string;
|
|
1068
|
+
/**
|
|
1069
|
+
* A page number within the paginated result set.
|
|
1070
|
+
*/
|
|
1071
|
+
page?: number;
|
|
1072
|
+
/**
|
|
1073
|
+
* Number of results to return per page.
|
|
1074
|
+
*/
|
|
1075
|
+
page_size?: number;
|
|
1076
|
+
project?: string;
|
|
1077
|
+
project_template?: string;
|
|
1078
|
+
project_template_uuid?: string;
|
|
1079
|
+
project_uuid?: string;
|
|
1080
|
+
query?: string;
|
|
1081
|
+
state?: Array<RemoteProjectUpdateRequestStateEnum>;
|
|
1082
|
+
};
|
|
1083
|
+
url: '/api/openportal-managed-projects/';
|
|
1084
|
+
};
|
|
1085
|
+
export type OpenportalManagedProjectsCountResponses = {
|
|
1086
|
+
/**
|
|
1087
|
+
* No response body
|
|
1088
|
+
*/
|
|
1089
|
+
200: unknown;
|
|
1090
|
+
};
|
|
1091
|
+
export type OpenportalManagedProjectsRetrieveGetData = {
|
|
1092
|
+
body?: never;
|
|
1093
|
+
path: {
|
|
1094
|
+
/**
|
|
1095
|
+
* The destination of the managed project
|
|
1096
|
+
*/
|
|
1097
|
+
destination: string;
|
|
1098
|
+
/**
|
|
1099
|
+
* The identifier of the managed project
|
|
1100
|
+
*/
|
|
1101
|
+
identifier: string;
|
|
1102
|
+
};
|
|
1103
|
+
query?: never;
|
|
1104
|
+
url: '/api/openportal-managed-projects/{identifier}/{destination}/';
|
|
1105
|
+
};
|
|
1106
|
+
export type OpenportalManagedProjectsRetrieveGetResponses = {
|
|
1107
|
+
200: ManagedProject;
|
|
1108
|
+
};
|
|
1109
|
+
export type OpenportalManagedProjectsRetrieveHeadData = {
|
|
1110
|
+
body?: never;
|
|
1111
|
+
path: {
|
|
1112
|
+
/**
|
|
1113
|
+
* The destination of the managed project
|
|
1114
|
+
*/
|
|
1115
|
+
destination: string;
|
|
1116
|
+
/**
|
|
1117
|
+
* The identifier of the managed project
|
|
1118
|
+
*/
|
|
1119
|
+
identifier: string;
|
|
1120
|
+
};
|
|
1121
|
+
query?: never;
|
|
1122
|
+
url: '/api/openportal-managed-projects/{identifier}/{destination}/';
|
|
1123
|
+
};
|
|
1124
|
+
export type OpenportalManagedProjectsRetrieveHeadResponses = {
|
|
1125
|
+
/**
|
|
1126
|
+
* No response body
|
|
1127
|
+
*/
|
|
1128
|
+
200: unknown;
|
|
1129
|
+
};
|
|
1130
|
+
export type OpenportalManagedProjectsApproveData = {
|
|
1131
|
+
body?: ReviewCommentRequest;
|
|
1132
|
+
path: {
|
|
1133
|
+
/**
|
|
1134
|
+
* The destination of the managed project
|
|
1135
|
+
*/
|
|
1136
|
+
destination: string;
|
|
1137
|
+
/**
|
|
1138
|
+
* The identifier of the managed project
|
|
1139
|
+
*/
|
|
1140
|
+
identifier: string;
|
|
1141
|
+
};
|
|
1142
|
+
query?: never;
|
|
1143
|
+
url: '/api/openportal-managed-projects/{identifier}/{destination}/approve/';
|
|
1144
|
+
};
|
|
1145
|
+
export type OpenportalManagedProjectsApproveResponses = {
|
|
1146
|
+
/**
|
|
1147
|
+
* No response body
|
|
1148
|
+
*/
|
|
1149
|
+
200: unknown;
|
|
1150
|
+
};
|
|
1151
|
+
export type OpenportalManagedProjectsAttachData = {
|
|
1152
|
+
body: ProjectAttachRequest;
|
|
1153
|
+
path: {
|
|
1154
|
+
/**
|
|
1155
|
+
* The destination of the managed project
|
|
1156
|
+
*/
|
|
1157
|
+
destination: string;
|
|
1158
|
+
/**
|
|
1159
|
+
* The identifier of the managed project
|
|
1160
|
+
*/
|
|
1161
|
+
identifier: string;
|
|
1162
|
+
};
|
|
1163
|
+
query?: never;
|
|
1164
|
+
url: '/api/openportal-managed-projects/{identifier}/{destination}/attach/';
|
|
1165
|
+
};
|
|
1166
|
+
export type OpenportalManagedProjectsAttachResponses = {
|
|
1167
|
+
/**
|
|
1168
|
+
* No response body
|
|
1169
|
+
*/
|
|
1170
|
+
200: unknown;
|
|
1171
|
+
};
|
|
1172
|
+
export type OpenportalManagedProjectsDeleteDestroyData = {
|
|
1173
|
+
body?: never;
|
|
1174
|
+
path: {
|
|
1175
|
+
/**
|
|
1176
|
+
* The destination of the managed project
|
|
1177
|
+
*/
|
|
1178
|
+
destination: string;
|
|
1179
|
+
/**
|
|
1180
|
+
* The identifier of the managed project
|
|
1181
|
+
*/
|
|
1182
|
+
identifier: string;
|
|
1183
|
+
};
|
|
1184
|
+
query?: never;
|
|
1185
|
+
url: '/api/openportal-managed-projects/{identifier}/{destination}/delete/';
|
|
1186
|
+
};
|
|
1187
|
+
export type OpenportalManagedProjectsDeleteDestroyResponses = {
|
|
1188
|
+
/**
|
|
1189
|
+
* No response body
|
|
1190
|
+
*/
|
|
1191
|
+
204: void;
|
|
1192
|
+
};
|
|
1193
|
+
export type OpenportalManagedProjectsDetachData = {
|
|
1194
|
+
body?: never;
|
|
1195
|
+
path: {
|
|
1196
|
+
/**
|
|
1197
|
+
* The destination of the managed project
|
|
1198
|
+
*/
|
|
1199
|
+
destination: string;
|
|
1200
|
+
/**
|
|
1201
|
+
* The identifier of the managed project
|
|
1202
|
+
*/
|
|
1203
|
+
identifier: string;
|
|
1204
|
+
};
|
|
1205
|
+
query?: never;
|
|
1206
|
+
url: '/api/openportal-managed-projects/{identifier}/{destination}/detach/';
|
|
1207
|
+
};
|
|
1208
|
+
export type OpenportalManagedProjectsDetachResponses = {
|
|
1209
|
+
/**
|
|
1210
|
+
* No response body
|
|
1211
|
+
*/
|
|
1212
|
+
200: unknown;
|
|
1213
|
+
};
|
|
1214
|
+
export type OpenportalManagedProjectsRejectData = {
|
|
1215
|
+
body?: ReviewCommentRequest;
|
|
1216
|
+
path: {
|
|
1217
|
+
/**
|
|
1218
|
+
* The destination of the managed project
|
|
1219
|
+
*/
|
|
1220
|
+
destination: string;
|
|
1221
|
+
/**
|
|
1222
|
+
* The identifier of the managed project
|
|
1223
|
+
*/
|
|
1224
|
+
identifier: string;
|
|
1225
|
+
};
|
|
1226
|
+
query?: never;
|
|
1227
|
+
url: '/api/openportal-managed-projects/{identifier}/{destination}/reject/';
|
|
1228
|
+
};
|
|
1229
|
+
export type OpenportalManagedProjectsRejectResponses = {
|
|
1230
|
+
/**
|
|
1231
|
+
* No response body
|
|
1232
|
+
*/
|
|
1233
|
+
200: unknown;
|
|
1234
|
+
};
|
|
1235
|
+
export type OpenportalProjectStorageReportsListData = {
|
|
1236
|
+
body?: never;
|
|
1237
|
+
path?: never;
|
|
1238
|
+
query?: {
|
|
1239
|
+
month?: number;
|
|
1240
|
+
/**
|
|
1241
|
+
* A page number within the paginated result set.
|
|
1242
|
+
*/
|
|
1243
|
+
page?: number;
|
|
1244
|
+
/**
|
|
1245
|
+
* Number of results to return per page.
|
|
1246
|
+
*/
|
|
1247
|
+
page_size?: number;
|
|
1248
|
+
project_identifier?: string;
|
|
1249
|
+
project_uuid?: string;
|
|
1250
|
+
resource?: string;
|
|
1251
|
+
year?: number;
|
|
1252
|
+
};
|
|
1253
|
+
url: '/api/openportal-project-storage-reports/';
|
|
1254
|
+
};
|
|
1255
|
+
export type OpenportalProjectStorageReportsListResponses = {
|
|
1256
|
+
200: Array<CachedProjectStorageReport>;
|
|
1257
|
+
};
|
|
1258
|
+
export type OpenportalProjectStorageReportsCountData = {
|
|
1259
|
+
body?: never;
|
|
1260
|
+
path?: never;
|
|
1261
|
+
query?: {
|
|
1262
|
+
month?: number;
|
|
1263
|
+
/**
|
|
1264
|
+
* A page number within the paginated result set.
|
|
1265
|
+
*/
|
|
1266
|
+
page?: number;
|
|
1267
|
+
/**
|
|
1268
|
+
* Number of results to return per page.
|
|
1269
|
+
*/
|
|
1270
|
+
page_size?: number;
|
|
1271
|
+
project_identifier?: string;
|
|
1272
|
+
project_uuid?: string;
|
|
1273
|
+
resource?: string;
|
|
1274
|
+
year?: number;
|
|
1275
|
+
};
|
|
1276
|
+
url: '/api/openportal-project-storage-reports/';
|
|
1277
|
+
};
|
|
1278
|
+
export type OpenportalProjectStorageReportsCountResponses = {
|
|
1279
|
+
/**
|
|
1280
|
+
* No response body
|
|
1281
|
+
*/
|
|
1282
|
+
200: unknown;
|
|
1283
|
+
};
|
|
1284
|
+
export type OpenportalProjectStorageReportsRetrieveData = {
|
|
1285
|
+
body?: never;
|
|
1286
|
+
path: {
|
|
1287
|
+
/**
|
|
1288
|
+
* A unique integer value identifying this cached project storage report.
|
|
1289
|
+
*/
|
|
1290
|
+
id: number;
|
|
1291
|
+
};
|
|
1292
|
+
query?: never;
|
|
1293
|
+
url: '/api/openportal-project-storage-reports/{id}/';
|
|
1294
|
+
};
|
|
1295
|
+
export type OpenportalProjectStorageReportsRetrieveResponses = {
|
|
1296
|
+
200: CachedProjectStorageReport;
|
|
1297
|
+
};
|
|
1298
|
+
export type OpenportalProjectTemplateListData = {
|
|
1299
|
+
body?: never;
|
|
1300
|
+
path?: never;
|
|
1301
|
+
query?: {
|
|
1302
|
+
name?: string;
|
|
1303
|
+
/**
|
|
1304
|
+
* A page number within the paginated result set.
|
|
1305
|
+
*/
|
|
1306
|
+
page?: number;
|
|
1307
|
+
/**
|
|
1308
|
+
* Number of results to return per page.
|
|
1309
|
+
*/
|
|
1310
|
+
page_size?: number;
|
|
1311
|
+
portal?: string;
|
|
1312
|
+
uuid?: string;
|
|
1313
|
+
};
|
|
1314
|
+
url: '/api/openportal-project-template/';
|
|
1315
|
+
};
|
|
1316
|
+
export type OpenportalProjectTemplateListResponses = {
|
|
1317
|
+
200: Array<ProjectTemplate>;
|
|
1318
|
+
};
|
|
1319
|
+
export type OpenportalProjectTemplateCountData = {
|
|
1320
|
+
body?: never;
|
|
1321
|
+
path?: never;
|
|
1322
|
+
query?: {
|
|
1323
|
+
name?: string;
|
|
1324
|
+
/**
|
|
1325
|
+
* A page number within the paginated result set.
|
|
1326
|
+
*/
|
|
1327
|
+
page?: number;
|
|
1328
|
+
/**
|
|
1329
|
+
* Number of results to return per page.
|
|
1330
|
+
*/
|
|
1331
|
+
page_size?: number;
|
|
1332
|
+
portal?: string;
|
|
1333
|
+
uuid?: string;
|
|
1334
|
+
};
|
|
1335
|
+
url: '/api/openportal-project-template/';
|
|
1336
|
+
};
|
|
1337
|
+
export type OpenportalProjectTemplateCountResponses = {
|
|
1338
|
+
/**
|
|
1339
|
+
* No response body
|
|
1340
|
+
*/
|
|
1341
|
+
200: unknown;
|
|
1342
|
+
};
|
|
1343
|
+
export type OpenportalProjectTemplateCreateData = {
|
|
1344
|
+
body: ProjectTemplateRequest;
|
|
1345
|
+
path?: never;
|
|
1346
|
+
query?: never;
|
|
1347
|
+
url: '/api/openportal-project-template/';
|
|
1348
|
+
};
|
|
1349
|
+
export type OpenportalProjectTemplateCreateResponses = {
|
|
1350
|
+
201: ProjectTemplate;
|
|
1351
|
+
};
|
|
1352
|
+
export type OpenportalProjectTemplateDestroyData = {
|
|
1353
|
+
body?: never;
|
|
1354
|
+
path: {
|
|
1355
|
+
uuid: string;
|
|
1356
|
+
};
|
|
1357
|
+
query?: never;
|
|
1358
|
+
url: '/api/openportal-project-template/{uuid}/';
|
|
1359
|
+
};
|
|
1360
|
+
export type OpenportalProjectTemplateDestroyResponses = {
|
|
1361
|
+
/**
|
|
1362
|
+
* No response body
|
|
1363
|
+
*/
|
|
1364
|
+
204: void;
|
|
1365
|
+
};
|
|
1366
|
+
export type OpenportalProjectTemplateRetrieveData = {
|
|
1367
|
+
body?: never;
|
|
1368
|
+
path: {
|
|
1369
|
+
uuid: string;
|
|
1370
|
+
};
|
|
1371
|
+
query?: never;
|
|
1372
|
+
url: '/api/openportal-project-template/{uuid}/';
|
|
1373
|
+
};
|
|
1374
|
+
export type OpenportalProjectTemplateRetrieveResponses = {
|
|
1375
|
+
200: ProjectTemplate;
|
|
1376
|
+
};
|
|
1377
|
+
export type OpenportalProjectTemplatePartialUpdateData = {
|
|
1378
|
+
body?: PatchedProjectTemplateRequest;
|
|
1379
|
+
path: {
|
|
1380
|
+
uuid: string;
|
|
1381
|
+
};
|
|
1382
|
+
query?: never;
|
|
1383
|
+
url: '/api/openportal-project-template/{uuid}/';
|
|
1384
|
+
};
|
|
1385
|
+
export type OpenportalProjectTemplatePartialUpdateResponses = {
|
|
1386
|
+
200: ProjectTemplate;
|
|
1387
|
+
};
|
|
1388
|
+
export type OpenportalProjectTemplateUpdateData = {
|
|
1389
|
+
body: ProjectTemplateRequest;
|
|
1390
|
+
path: {
|
|
1391
|
+
uuid: string;
|
|
1392
|
+
};
|
|
1393
|
+
query?: never;
|
|
1394
|
+
url: '/api/openportal-project-template/{uuid}/';
|
|
1395
|
+
};
|
|
1396
|
+
export type OpenportalProjectTemplateUpdateResponses = {
|
|
1397
|
+
200: ProjectTemplate;
|
|
1398
|
+
};
|
|
1399
|
+
export type OpenportalProjectTemplateDeleteDestroyData = {
|
|
1400
|
+
body?: never;
|
|
1401
|
+
path: {
|
|
1402
|
+
uuid: string;
|
|
1403
|
+
};
|
|
1404
|
+
query?: never;
|
|
1405
|
+
url: '/api/openportal-project-template/{uuid}/delete/';
|
|
1406
|
+
};
|
|
1407
|
+
export type OpenportalProjectTemplateDeleteDestroyResponses = {
|
|
1408
|
+
/**
|
|
1409
|
+
* No response body
|
|
1410
|
+
*/
|
|
1411
|
+
204: void;
|
|
1412
|
+
};
|
|
1413
|
+
export type OpenportalProjectUsageReportsListData = {
|
|
1414
|
+
body?: never;
|
|
1415
|
+
path?: never;
|
|
1416
|
+
query?: {
|
|
1417
|
+
is_complete?: boolean;
|
|
1418
|
+
month?: number;
|
|
1419
|
+
/**
|
|
1420
|
+
* A page number within the paginated result set.
|
|
1421
|
+
*/
|
|
1422
|
+
page?: number;
|
|
1423
|
+
/**
|
|
1424
|
+
* Number of results to return per page.
|
|
1425
|
+
*/
|
|
1426
|
+
page_size?: number;
|
|
1427
|
+
project_identifier?: string;
|
|
1428
|
+
project_uuid?: string;
|
|
1429
|
+
resource?: string;
|
|
1430
|
+
year?: number;
|
|
1431
|
+
};
|
|
1432
|
+
url: '/api/openportal-project-usage-reports/';
|
|
1433
|
+
};
|
|
1434
|
+
export type OpenportalProjectUsageReportsListResponses = {
|
|
1435
|
+
200: Array<CachedProjectUsageReport>;
|
|
1436
|
+
};
|
|
1437
|
+
export type OpenportalProjectUsageReportsCountData = {
|
|
1438
|
+
body?: never;
|
|
1439
|
+
path?: never;
|
|
1440
|
+
query?: {
|
|
1441
|
+
is_complete?: boolean;
|
|
1442
|
+
month?: number;
|
|
1443
|
+
/**
|
|
1444
|
+
* A page number within the paginated result set.
|
|
1445
|
+
*/
|
|
1446
|
+
page?: number;
|
|
1447
|
+
/**
|
|
1448
|
+
* Number of results to return per page.
|
|
1449
|
+
*/
|
|
1450
|
+
page_size?: number;
|
|
1451
|
+
project_identifier?: string;
|
|
1452
|
+
project_uuid?: string;
|
|
1453
|
+
resource?: string;
|
|
1454
|
+
year?: number;
|
|
1455
|
+
};
|
|
1456
|
+
url: '/api/openportal-project-usage-reports/';
|
|
1457
|
+
};
|
|
1458
|
+
export type OpenportalProjectUsageReportsCountResponses = {
|
|
1459
|
+
/**
|
|
1460
|
+
* No response body
|
|
1461
|
+
*/
|
|
1462
|
+
200: unknown;
|
|
1463
|
+
};
|
|
1464
|
+
export type OpenportalProjectUsageReportsRetrieveData = {
|
|
1465
|
+
body?: never;
|
|
1466
|
+
path: {
|
|
1467
|
+
/**
|
|
1468
|
+
* A unique integer value identifying this cached project usage report.
|
|
1469
|
+
*/
|
|
1470
|
+
id: number;
|
|
1471
|
+
};
|
|
1472
|
+
query?: never;
|
|
1473
|
+
url: '/api/openportal-project-usage-reports/{id}/';
|
|
1474
|
+
};
|
|
1475
|
+
export type OpenportalProjectUsageReportsRetrieveResponses = {
|
|
1476
|
+
200: CachedProjectUsageReport;
|
|
1477
|
+
};
|
|
1478
|
+
export type OpenportalProjectinfoListData = {
|
|
1479
|
+
body?: never;
|
|
1480
|
+
path?: never;
|
|
1481
|
+
query?: {
|
|
1482
|
+
/**
|
|
1483
|
+
* A page number within the paginated result set.
|
|
1484
|
+
*/
|
|
1485
|
+
page?: number;
|
|
1486
|
+
/**
|
|
1487
|
+
* Number of results to return per page.
|
|
1488
|
+
*/
|
|
1489
|
+
page_size?: number;
|
|
1490
|
+
project?: string;
|
|
1491
|
+
project_uuid?: string;
|
|
1492
|
+
};
|
|
1493
|
+
url: '/api/openportal-projectinfo/';
|
|
1494
|
+
};
|
|
1495
|
+
export type OpenportalProjectinfoListResponses = {
|
|
1496
|
+
200: Array<ProjectInfo>;
|
|
1497
|
+
};
|
|
1498
|
+
export type OpenportalProjectinfoCountData = {
|
|
1499
|
+
body?: never;
|
|
1500
|
+
path?: never;
|
|
1501
|
+
query?: {
|
|
1502
|
+
/**
|
|
1503
|
+
* A page number within the paginated result set.
|
|
1504
|
+
*/
|
|
1505
|
+
page?: number;
|
|
1506
|
+
/**
|
|
1507
|
+
* Number of results to return per page.
|
|
1508
|
+
*/
|
|
1509
|
+
page_size?: number;
|
|
1510
|
+
project?: string;
|
|
1511
|
+
project_uuid?: string;
|
|
1512
|
+
};
|
|
1513
|
+
url: '/api/openportal-projectinfo/';
|
|
1514
|
+
};
|
|
1515
|
+
export type OpenportalProjectinfoCountResponses = {
|
|
1516
|
+
/**
|
|
1517
|
+
* No response body
|
|
1518
|
+
*/
|
|
1519
|
+
200: unknown;
|
|
1520
|
+
};
|
|
1521
|
+
export type OpenportalProjectinfoCreateData = {
|
|
1522
|
+
body: ProjectInfoRequest;
|
|
1523
|
+
path?: never;
|
|
1524
|
+
query?: never;
|
|
1525
|
+
url: '/api/openportal-projectinfo/';
|
|
1526
|
+
};
|
|
1527
|
+
export type OpenportalProjectinfoCreateResponses = {
|
|
1528
|
+
201: ProjectInfo;
|
|
1529
|
+
};
|
|
1530
|
+
export type OpenportalProjectinfoDestroyData = {
|
|
1531
|
+
body?: never;
|
|
1532
|
+
path: {
|
|
1533
|
+
project: number;
|
|
1534
|
+
};
|
|
1535
|
+
query?: never;
|
|
1536
|
+
url: '/api/openportal-projectinfo/{project}/';
|
|
1537
|
+
};
|
|
1538
|
+
export type OpenportalProjectinfoDestroyResponses = {
|
|
1539
|
+
/**
|
|
1540
|
+
* No response body
|
|
1541
|
+
*/
|
|
1542
|
+
204: void;
|
|
1543
|
+
};
|
|
1544
|
+
export type OpenportalProjectinfoRetrieveData = {
|
|
1545
|
+
body?: never;
|
|
1546
|
+
path: {
|
|
1547
|
+
project: number;
|
|
1548
|
+
};
|
|
1549
|
+
query?: never;
|
|
1550
|
+
url: '/api/openportal-projectinfo/{project}/';
|
|
1551
|
+
};
|
|
1552
|
+
export type OpenportalProjectinfoRetrieveResponses = {
|
|
1553
|
+
200: ProjectInfo;
|
|
1554
|
+
};
|
|
1555
|
+
export type OpenportalProjectinfoPartialUpdateData = {
|
|
1556
|
+
body?: PatchedProjectInfoRequest;
|
|
1557
|
+
path: {
|
|
1558
|
+
project: number;
|
|
1559
|
+
};
|
|
1560
|
+
query?: never;
|
|
1561
|
+
url: '/api/openportal-projectinfo/{project}/';
|
|
1562
|
+
};
|
|
1563
|
+
export type OpenportalProjectinfoPartialUpdateResponses = {
|
|
1564
|
+
200: ProjectInfo;
|
|
1565
|
+
};
|
|
1566
|
+
export type OpenportalProjectinfoUpdateData = {
|
|
1567
|
+
body: ProjectInfoRequest;
|
|
1568
|
+
path: {
|
|
1569
|
+
project: number;
|
|
1570
|
+
};
|
|
1571
|
+
query?: never;
|
|
1572
|
+
url: '/api/openportal-projectinfo/{project}/';
|
|
1573
|
+
};
|
|
1574
|
+
export type OpenportalProjectinfoUpdateResponses = {
|
|
1575
|
+
200: ProjectInfo;
|
|
1576
|
+
};
|
|
1577
|
+
export type OpenportalProjectinfoSetAllowedDestinationsUpdateData = {
|
|
1578
|
+
body: ProjectInfoRequest;
|
|
1579
|
+
path: {
|
|
1580
|
+
project: number;
|
|
1581
|
+
};
|
|
1582
|
+
query?: never;
|
|
1583
|
+
url: '/api/openportal-projectinfo/{project}/set_allowed_destinations/';
|
|
1584
|
+
};
|
|
1585
|
+
export type OpenportalProjectinfoSetAllowedDestinationsUpdateResponses = {
|
|
1586
|
+
200: ProjectInfo;
|
|
1587
|
+
};
|
|
1588
|
+
export type OpenportalProjectinfoSetShortnameUpdateData = {
|
|
1589
|
+
body: ProjectInfoRequest;
|
|
1590
|
+
path: {
|
|
1591
|
+
project: number;
|
|
1592
|
+
};
|
|
1593
|
+
query?: never;
|
|
1594
|
+
url: '/api/openportal-projectinfo/{project}/set_shortname/';
|
|
1595
|
+
};
|
|
1596
|
+
export type OpenportalProjectinfoSetShortnameUpdateResponses = {
|
|
1597
|
+
200: ProjectInfo;
|
|
1598
|
+
};
|
|
1599
|
+
export type OpenportalRemoteAllocationsListData = {
|
|
1600
|
+
body?: never;
|
|
1601
|
+
path?: never;
|
|
1602
|
+
query?: {
|
|
1603
|
+
/**
|
|
1604
|
+
* Backend ID
|
|
1605
|
+
*/
|
|
1606
|
+
backend_id?: string;
|
|
1607
|
+
/**
|
|
1608
|
+
* Can manage
|
|
1609
|
+
*/
|
|
1610
|
+
can_manage?: boolean;
|
|
1611
|
+
/**
|
|
1612
|
+
* Customer UUID
|
|
1613
|
+
*/
|
|
1614
|
+
customer?: string;
|
|
1615
|
+
/**
|
|
1616
|
+
* Customer abbreviation
|
|
1617
|
+
*/
|
|
1618
|
+
customer_abbreviation?: string;
|
|
1619
|
+
/**
|
|
1620
|
+
* Customer name
|
|
1621
|
+
*/
|
|
1622
|
+
customer_name?: string;
|
|
1623
|
+
/**
|
|
1624
|
+
* Customer native name
|
|
1625
|
+
*/
|
|
1626
|
+
customer_native_name?: string;
|
|
1627
|
+
/**
|
|
1628
|
+
* Customer UUID
|
|
1629
|
+
*/
|
|
1630
|
+
customer_uuid?: string;
|
|
1631
|
+
/**
|
|
1632
|
+
* Description
|
|
1633
|
+
*/
|
|
1634
|
+
description?: string;
|
|
1635
|
+
/**
|
|
1636
|
+
* External IP
|
|
1637
|
+
*/
|
|
1638
|
+
external_ip?: string;
|
|
1639
|
+
field?: Array<RemoteAllocationFieldEnum>;
|
|
1640
|
+
is_active?: boolean;
|
|
1641
|
+
/**
|
|
1642
|
+
* Name
|
|
1643
|
+
*/
|
|
1644
|
+
name?: string;
|
|
1645
|
+
/**
|
|
1646
|
+
* Name (exact)
|
|
1647
|
+
*/
|
|
1648
|
+
name_exact?: string;
|
|
1649
|
+
/**
|
|
1650
|
+
* A page number within the paginated result set.
|
|
1651
|
+
*/
|
|
1652
|
+
page?: number;
|
|
1653
|
+
/**
|
|
1654
|
+
* Number of results to return per page.
|
|
1655
|
+
*/
|
|
1656
|
+
page_size?: number;
|
|
1657
|
+
/**
|
|
1658
|
+
* Project UUID
|
|
1659
|
+
*/
|
|
1660
|
+
project?: string;
|
|
1661
|
+
/**
|
|
1662
|
+
* Project name
|
|
1663
|
+
*/
|
|
1664
|
+
project_name?: string;
|
|
1665
|
+
/**
|
|
1666
|
+
* Project UUID
|
|
1667
|
+
*/
|
|
1668
|
+
project_uuid?: string;
|
|
1669
|
+
/**
|
|
1670
|
+
* Service settings name
|
|
1671
|
+
*/
|
|
1672
|
+
service_settings_name?: string;
|
|
1673
|
+
/**
|
|
1674
|
+
* Service settings UUID
|
|
1675
|
+
*/
|
|
1676
|
+
service_settings_uuid?: string;
|
|
1677
|
+
/**
|
|
1678
|
+
* State
|
|
1679
|
+
*
|
|
1680
|
+
*
|
|
1681
|
+
*/
|
|
1682
|
+
state?: Array<CoreStates>;
|
|
1683
|
+
};
|
|
1684
|
+
url: '/api/openportal-remote-allocations/';
|
|
1685
|
+
};
|
|
1686
|
+
export type OpenportalRemoteAllocationsListResponses = {
|
|
1687
|
+
200: Array<RemoteAllocation>;
|
|
1688
|
+
};
|
|
1689
|
+
export type OpenportalRemoteAllocationsCountData = {
|
|
1690
|
+
body?: never;
|
|
1691
|
+
path?: never;
|
|
1692
|
+
query?: {
|
|
1693
|
+
/**
|
|
1694
|
+
* Backend ID
|
|
1695
|
+
*/
|
|
1696
|
+
backend_id?: string;
|
|
1697
|
+
/**
|
|
1698
|
+
* Can manage
|
|
1699
|
+
*/
|
|
1700
|
+
can_manage?: boolean;
|
|
1701
|
+
/**
|
|
1702
|
+
* Customer UUID
|
|
1703
|
+
*/
|
|
1704
|
+
customer?: string;
|
|
1705
|
+
/**
|
|
1706
|
+
* Customer abbreviation
|
|
1707
|
+
*/
|
|
1708
|
+
customer_abbreviation?: string;
|
|
1709
|
+
/**
|
|
1710
|
+
* Customer name
|
|
1711
|
+
*/
|
|
1712
|
+
customer_name?: string;
|
|
1713
|
+
/**
|
|
1714
|
+
* Customer native name
|
|
1715
|
+
*/
|
|
1716
|
+
customer_native_name?: string;
|
|
1717
|
+
/**
|
|
1718
|
+
* Customer UUID
|
|
1719
|
+
*/
|
|
1720
|
+
customer_uuid?: string;
|
|
1721
|
+
/**
|
|
1722
|
+
* Description
|
|
1723
|
+
*/
|
|
1724
|
+
description?: string;
|
|
1725
|
+
/**
|
|
1726
|
+
* External IP
|
|
1727
|
+
*/
|
|
1728
|
+
external_ip?: string;
|
|
1729
|
+
is_active?: boolean;
|
|
1730
|
+
/**
|
|
1731
|
+
* Name
|
|
1732
|
+
*/
|
|
1733
|
+
name?: string;
|
|
1734
|
+
/**
|
|
1735
|
+
* Name (exact)
|
|
1736
|
+
*/
|
|
1737
|
+
name_exact?: string;
|
|
1738
|
+
/**
|
|
1739
|
+
* A page number within the paginated result set.
|
|
1740
|
+
*/
|
|
1741
|
+
page?: number;
|
|
1742
|
+
/**
|
|
1743
|
+
* Number of results to return per page.
|
|
1744
|
+
*/
|
|
1745
|
+
page_size?: number;
|
|
1746
|
+
/**
|
|
1747
|
+
* Project UUID
|
|
1748
|
+
*/
|
|
1749
|
+
project?: string;
|
|
1750
|
+
/**
|
|
1751
|
+
* Project name
|
|
1752
|
+
*/
|
|
1753
|
+
project_name?: string;
|
|
1754
|
+
/**
|
|
1755
|
+
* Project UUID
|
|
1756
|
+
*/
|
|
1757
|
+
project_uuid?: string;
|
|
1758
|
+
/**
|
|
1759
|
+
* Service settings name
|
|
1760
|
+
*/
|
|
1761
|
+
service_settings_name?: string;
|
|
1762
|
+
/**
|
|
1763
|
+
* Service settings UUID
|
|
1764
|
+
*/
|
|
1765
|
+
service_settings_uuid?: string;
|
|
1766
|
+
/**
|
|
1767
|
+
* State
|
|
1768
|
+
*
|
|
1769
|
+
*
|
|
1770
|
+
*/
|
|
1771
|
+
state?: Array<CoreStates>;
|
|
1772
|
+
};
|
|
1773
|
+
url: '/api/openportal-remote-allocations/';
|
|
1774
|
+
};
|
|
1775
|
+
export type OpenportalRemoteAllocationsCountResponses = {
|
|
1776
|
+
/**
|
|
1777
|
+
* No response body
|
|
1778
|
+
*/
|
|
1779
|
+
200: unknown;
|
|
1780
|
+
};
|
|
1781
|
+
export type OpenportalRemoteAllocationsCreateData = {
|
|
1782
|
+
body: RemoteAllocationRequest;
|
|
1783
|
+
path?: never;
|
|
1784
|
+
query?: never;
|
|
1785
|
+
url: '/api/openportal-remote-allocations/';
|
|
1786
|
+
};
|
|
1787
|
+
export type OpenportalRemoteAllocationsCreateResponses = {
|
|
1788
|
+
201: RemoteAllocation;
|
|
1789
|
+
};
|
|
1790
|
+
export type OpenportalRemoteAllocationsDestroyData = {
|
|
1791
|
+
body?: never;
|
|
1792
|
+
path: {
|
|
1793
|
+
uuid: string;
|
|
1794
|
+
};
|
|
1795
|
+
query?: never;
|
|
1796
|
+
url: '/api/openportal-remote-allocations/{uuid}/';
|
|
1797
|
+
};
|
|
1798
|
+
export type OpenportalRemoteAllocationsDestroyResponses = {
|
|
1799
|
+
/**
|
|
1800
|
+
* No response body
|
|
1801
|
+
*/
|
|
1802
|
+
204: void;
|
|
1803
|
+
};
|
|
1804
|
+
export type OpenportalRemoteAllocationsRetrieveData = {
|
|
1805
|
+
body?: never;
|
|
1806
|
+
path: {
|
|
1807
|
+
uuid: string;
|
|
1808
|
+
};
|
|
1809
|
+
query?: {
|
|
1810
|
+
field?: Array<RemoteAllocationFieldEnum>;
|
|
1811
|
+
};
|
|
1812
|
+
url: '/api/openportal-remote-allocations/{uuid}/';
|
|
1813
|
+
};
|
|
1814
|
+
export type OpenportalRemoteAllocationsRetrieveResponses = {
|
|
1815
|
+
200: RemoteAllocation;
|
|
1816
|
+
};
|
|
1817
|
+
export type OpenportalRemoteAllocationsPartialUpdateData = {
|
|
1818
|
+
body?: PatchedRemoteAllocationRequest;
|
|
1819
|
+
path: {
|
|
1820
|
+
uuid: string;
|
|
1821
|
+
};
|
|
1822
|
+
query?: never;
|
|
1823
|
+
url: '/api/openportal-remote-allocations/{uuid}/';
|
|
1824
|
+
};
|
|
1825
|
+
export type OpenportalRemoteAllocationsPartialUpdateResponses = {
|
|
1826
|
+
200: RemoteAllocation;
|
|
1827
|
+
};
|
|
1828
|
+
export type OpenportalRemoteAllocationsUpdateData = {
|
|
1829
|
+
body: RemoteAllocationRequest;
|
|
1830
|
+
path: {
|
|
1831
|
+
uuid: string;
|
|
1832
|
+
};
|
|
1833
|
+
query?: never;
|
|
1834
|
+
url: '/api/openportal-remote-allocations/{uuid}/';
|
|
1835
|
+
};
|
|
1836
|
+
export type OpenportalRemoteAllocationsUpdateResponses = {
|
|
1837
|
+
200: RemoteAllocation;
|
|
1838
|
+
};
|
|
1839
|
+
export type OpenportalRemoteAllocationsPullData = {
|
|
1840
|
+
body?: never;
|
|
1841
|
+
path: {
|
|
1842
|
+
uuid: string;
|
|
1843
|
+
};
|
|
1844
|
+
query?: never;
|
|
1845
|
+
url: '/api/openportal-remote-allocations/{uuid}/pull/';
|
|
1846
|
+
};
|
|
1847
|
+
export type OpenportalRemoteAllocationsPullErrors = {
|
|
1848
|
+
409: PullConflictResponse;
|
|
1849
|
+
};
|
|
1850
|
+
export type OpenportalRemoteAllocationsPullResponses = {
|
|
1851
|
+
202: PullResponse;
|
|
1852
|
+
};
|
|
1853
|
+
export type OpenportalRemoteAllocationsSetErredData = {
|
|
1854
|
+
body?: SetErredRequest;
|
|
1855
|
+
path: {
|
|
1856
|
+
uuid: string;
|
|
1857
|
+
};
|
|
1858
|
+
query?: never;
|
|
1859
|
+
url: '/api/openportal-remote-allocations/{uuid}/set_erred/';
|
|
1860
|
+
};
|
|
1861
|
+
export type OpenportalRemoteAllocationsSetErredResponses = {
|
|
1862
|
+
200: SetErredResponse;
|
|
1863
|
+
};
|
|
1864
|
+
export type OpenportalRemoteAllocationsSetLimitsData = {
|
|
1865
|
+
body: RemoteAllocationSetLimitsRequest;
|
|
1866
|
+
path: {
|
|
1867
|
+
uuid: string;
|
|
1868
|
+
};
|
|
1869
|
+
query?: never;
|
|
1870
|
+
url: '/api/openportal-remote-allocations/{uuid}/set_limits/';
|
|
1871
|
+
};
|
|
1872
|
+
export type OpenportalRemoteAllocationsSetLimitsResponses = {
|
|
1873
|
+
200: RemoteAllocationSetLimits;
|
|
1874
|
+
};
|
|
1875
|
+
export type OpenportalRemoteAllocationsSetOkData = {
|
|
1876
|
+
body?: never;
|
|
1877
|
+
path: {
|
|
1878
|
+
uuid: string;
|
|
1879
|
+
};
|
|
1880
|
+
query?: never;
|
|
1881
|
+
url: '/api/openportal-remote-allocations/{uuid}/set_ok/';
|
|
1882
|
+
};
|
|
1883
|
+
export type OpenportalRemoteAllocationsSetOkResponses = {
|
|
1884
|
+
200: SetOkResponse;
|
|
1885
|
+
};
|
|
1886
|
+
export type OpenportalRemoteAllocationsUnlinkData = {
|
|
1887
|
+
body?: never;
|
|
1888
|
+
path: {
|
|
1889
|
+
uuid: string;
|
|
1890
|
+
};
|
|
1891
|
+
query?: never;
|
|
1892
|
+
url: '/api/openportal-remote-allocations/{uuid}/unlink/';
|
|
1893
|
+
};
|
|
1894
|
+
export type OpenportalRemoteAllocationsUnlinkResponses = {
|
|
1895
|
+
/**
|
|
1896
|
+
* No response body
|
|
1897
|
+
*/
|
|
1898
|
+
204: void;
|
|
1899
|
+
};
|
|
1900
|
+
export type OpenportalRemoteAssociationsListData = {
|
|
1901
|
+
body?: never;
|
|
1902
|
+
path?: never;
|
|
1903
|
+
query?: {
|
|
1904
|
+
allocation?: string;
|
|
1905
|
+
allocation_uuid?: string;
|
|
1906
|
+
/**
|
|
1907
|
+
* A page number within the paginated result set.
|
|
1908
|
+
*/
|
|
1909
|
+
page?: number;
|
|
1910
|
+
/**
|
|
1911
|
+
* Number of results to return per page.
|
|
1912
|
+
*/
|
|
1913
|
+
page_size?: number;
|
|
1914
|
+
};
|
|
1915
|
+
url: '/api/openportal-remote-associations/';
|
|
1916
|
+
};
|
|
1917
|
+
export type OpenportalRemoteAssociationsListResponses = {
|
|
1918
|
+
200: Array<RemoteAssociation>;
|
|
1919
|
+
};
|
|
1920
|
+
export type OpenportalRemoteAssociationsCountData = {
|
|
1921
|
+
body?: never;
|
|
1922
|
+
path?: never;
|
|
1923
|
+
query?: {
|
|
1924
|
+
allocation?: string;
|
|
1925
|
+
allocation_uuid?: string;
|
|
1926
|
+
/**
|
|
1927
|
+
* A page number within the paginated result set.
|
|
1928
|
+
*/
|
|
1929
|
+
page?: number;
|
|
1930
|
+
/**
|
|
1931
|
+
* Number of results to return per page.
|
|
1932
|
+
*/
|
|
1933
|
+
page_size?: number;
|
|
1934
|
+
};
|
|
1935
|
+
url: '/api/openportal-remote-associations/';
|
|
1936
|
+
};
|
|
1937
|
+
export type OpenportalRemoteAssociationsCountResponses = {
|
|
1938
|
+
/**
|
|
1939
|
+
* No response body
|
|
1940
|
+
*/
|
|
1941
|
+
200: unknown;
|
|
1942
|
+
};
|
|
1943
|
+
export type OpenportalRemoteAssociationsRetrieveData = {
|
|
1944
|
+
body?: never;
|
|
1945
|
+
path: {
|
|
1946
|
+
uuid: string;
|
|
1947
|
+
};
|
|
1948
|
+
query?: never;
|
|
1949
|
+
url: '/api/openportal-remote-associations/{uuid}/';
|
|
1950
|
+
};
|
|
1951
|
+
export type OpenportalRemoteAssociationsRetrieveResponses = {
|
|
1952
|
+
200: RemoteAssociation;
|
|
1953
|
+
};
|
|
1954
|
+
export type OpenportalUnmanagedProjectsListData = {
|
|
1955
|
+
body?: never;
|
|
1956
|
+
path?: never;
|
|
1957
|
+
query?: {
|
|
1958
|
+
/**
|
|
1959
|
+
* Filter by whether accounting is running.
|
|
1960
|
+
*/
|
|
1961
|
+
accounting_is_running?: boolean;
|
|
1962
|
+
/**
|
|
1963
|
+
* Affiliated organization name
|
|
1964
|
+
*/
|
|
1965
|
+
affiliated_organization_name?: string;
|
|
1966
|
+
/**
|
|
1967
|
+
* Affiliated organization UUID
|
|
1968
|
+
*/
|
|
1969
|
+
affiliated_organization_uuid?: Array<string>;
|
|
1970
|
+
backend_id?: string;
|
|
1971
|
+
/**
|
|
1972
|
+
* Return a list of projects where current user is admin.
|
|
1973
|
+
*/
|
|
1974
|
+
can_admin?: boolean;
|
|
1975
|
+
/**
|
|
1976
|
+
* Return a list of projects where current user is manager or a customer owner.
|
|
1977
|
+
*/
|
|
1978
|
+
can_manage?: boolean;
|
|
1979
|
+
/**
|
|
1980
|
+
* Conceal finished projects
|
|
1981
|
+
*/
|
|
1982
|
+
conceal_finished_projects?: boolean;
|
|
1983
|
+
/**
|
|
1984
|
+
* Created after
|
|
1985
|
+
*/
|
|
1986
|
+
created?: string;
|
|
1987
|
+
/**
|
|
1988
|
+
* Created before
|
|
1989
|
+
*/
|
|
1990
|
+
created_before?: string;
|
|
1991
|
+
/**
|
|
1992
|
+
* Multiple values may be separated by commas.
|
|
1993
|
+
*/
|
|
1994
|
+
customer?: Array<string>;
|
|
1995
|
+
/**
|
|
1996
|
+
* Customer abbreviation
|
|
1997
|
+
*/
|
|
1998
|
+
customer_abbreviation?: string;
|
|
1999
|
+
/**
|
|
2000
|
+
* Customer name
|
|
2001
|
+
*/
|
|
2002
|
+
customer_name?: string;
|
|
2003
|
+
/**
|
|
2004
|
+
* Customer native name
|
|
2005
|
+
*/
|
|
2006
|
+
customer_native_name?: string;
|
|
2007
|
+
/**
|
|
2008
|
+
* Description
|
|
2009
|
+
*/
|
|
2010
|
+
description?: string;
|
|
2011
|
+
field?: Array<ProjectFieldEnum>;
|
|
2012
|
+
/**
|
|
2013
|
+
* Filter projects that have at least one affiliated organization.
|
|
2014
|
+
*/
|
|
2015
|
+
has_affiliated_organization?: boolean;
|
|
2016
|
+
/**
|
|
2017
|
+
* Include soft-deleted (terminated) projects. Only available to staff and support users, or users with organizational roles who can see their terminated projects.
|
|
2018
|
+
*/
|
|
2019
|
+
include_terminated?: boolean;
|
|
2020
|
+
/**
|
|
2021
|
+
* Is removed
|
|
2022
|
+
*/
|
|
2023
|
+
is_removed?: boolean;
|
|
2024
|
+
/**
|
|
2025
|
+
* Modified after
|
|
2026
|
+
*/
|
|
2027
|
+
modified?: string;
|
|
2028
|
+
/**
|
|
2029
|
+
* Modified before
|
|
2030
|
+
*/
|
|
2031
|
+
modified_before?: string;
|
|
2032
|
+
/**
|
|
2033
|
+
* Name
|
|
2034
|
+
*/
|
|
2035
|
+
name?: string;
|
|
2036
|
+
/**
|
|
2037
|
+
* Name (exact)
|
|
2038
|
+
*/
|
|
2039
|
+
name_exact?: string;
|
|
2040
|
+
/**
|
|
2041
|
+
* Ordering
|
|
2042
|
+
*
|
|
2043
|
+
*
|
|
2044
|
+
*/
|
|
2045
|
+
o?: Array<MarketplaceProviderCustomerProjectOEnum>;
|
|
2046
|
+
/**
|
|
2047
|
+
* A page number within the paginated result set.
|
|
2048
|
+
*/
|
|
2049
|
+
page?: number;
|
|
2050
|
+
/**
|
|
2051
|
+
* Number of results to return per page.
|
|
2052
|
+
*/
|
|
2053
|
+
page_size?: number;
|
|
2054
|
+
/**
|
|
2055
|
+
* Filter by name, slug, UUID, backend ID or resource effective ID
|
|
2056
|
+
*/
|
|
2057
|
+
query?: string;
|
|
2058
|
+
/**
|
|
2059
|
+
* Science domain UUID
|
|
2060
|
+
*/
|
|
2061
|
+
science_domain_uuid?: string;
|
|
2062
|
+
/**
|
|
2063
|
+
* Science sub-domain UUID
|
|
2064
|
+
*/
|
|
2065
|
+
science_sub_domain_uuid?: string;
|
|
2066
|
+
/**
|
|
2067
|
+
* Slug
|
|
2068
|
+
*/
|
|
2069
|
+
slug?: string;
|
|
2070
|
+
/**
|
|
2071
|
+
* Filter by user UUID.
|
|
2072
|
+
*/
|
|
2073
|
+
user_uuid?: string;
|
|
2074
|
+
/**
|
|
2075
|
+
* Filter projects where the given user has a role.
|
|
2076
|
+
*/
|
|
2077
|
+
user_uuid_with_active_role?: string;
|
|
2078
|
+
};
|
|
2079
|
+
url: '/api/openportal-unmanaged-projects/';
|
|
2080
|
+
};
|
|
2081
|
+
export type OpenportalUnmanagedProjectsListResponses = {
|
|
2082
|
+
200: Array<Project>;
|
|
2083
|
+
};
|
|
2084
|
+
export type OpenportalUnmanagedProjectsCountData = {
|
|
2085
|
+
body?: never;
|
|
2086
|
+
path?: never;
|
|
2087
|
+
query?: {
|
|
2088
|
+
/**
|
|
2089
|
+
* Filter by whether accounting is running.
|
|
2090
|
+
*/
|
|
2091
|
+
accounting_is_running?: boolean;
|
|
2092
|
+
/**
|
|
2093
|
+
* Affiliated organization name
|
|
2094
|
+
*/
|
|
2095
|
+
affiliated_organization_name?: string;
|
|
2096
|
+
/**
|
|
2097
|
+
* Affiliated organization UUID
|
|
2098
|
+
*/
|
|
2099
|
+
affiliated_organization_uuid?: Array<string>;
|
|
2100
|
+
backend_id?: string;
|
|
2101
|
+
/**
|
|
2102
|
+
* Return a list of projects where current user is admin.
|
|
2103
|
+
*/
|
|
2104
|
+
can_admin?: boolean;
|
|
2105
|
+
/**
|
|
2106
|
+
* Return a list of projects where current user is manager or a customer owner.
|
|
2107
|
+
*/
|
|
2108
|
+
can_manage?: boolean;
|
|
2109
|
+
/**
|
|
2110
|
+
* Conceal finished projects
|
|
2111
|
+
*/
|
|
2112
|
+
conceal_finished_projects?: boolean;
|
|
2113
|
+
/**
|
|
2114
|
+
* Created after
|
|
2115
|
+
*/
|
|
2116
|
+
created?: string;
|
|
2117
|
+
/**
|
|
2118
|
+
* Created before
|
|
2119
|
+
*/
|
|
2120
|
+
created_before?: string;
|
|
2121
|
+
/**
|
|
2122
|
+
* Multiple values may be separated by commas.
|
|
2123
|
+
*/
|
|
2124
|
+
customer?: Array<string>;
|
|
2125
|
+
/**
|
|
2126
|
+
* Customer abbreviation
|
|
2127
|
+
*/
|
|
2128
|
+
customer_abbreviation?: string;
|
|
2129
|
+
/**
|
|
2130
|
+
* Customer name
|
|
2131
|
+
*/
|
|
2132
|
+
customer_name?: string;
|
|
2133
|
+
/**
|
|
2134
|
+
* Customer native name
|
|
2135
|
+
*/
|
|
2136
|
+
customer_native_name?: string;
|
|
2137
|
+
/**
|
|
2138
|
+
* Description
|
|
2139
|
+
*/
|
|
2140
|
+
description?: string;
|
|
2141
|
+
/**
|
|
2142
|
+
* Filter projects that have at least one affiliated organization.
|
|
2143
|
+
*/
|
|
2144
|
+
has_affiliated_organization?: boolean;
|
|
2145
|
+
/**
|
|
2146
|
+
* Include soft-deleted (terminated) projects. Only available to staff and support users, or users with organizational roles who can see their terminated projects.
|
|
2147
|
+
*/
|
|
2148
|
+
include_terminated?: boolean;
|
|
2149
|
+
/**
|
|
2150
|
+
* Is removed
|
|
2151
|
+
*/
|
|
2152
|
+
is_removed?: boolean;
|
|
2153
|
+
/**
|
|
2154
|
+
* Modified after
|
|
2155
|
+
*/
|
|
2156
|
+
modified?: string;
|
|
2157
|
+
/**
|
|
2158
|
+
* Modified before
|
|
2159
|
+
*/
|
|
2160
|
+
modified_before?: string;
|
|
2161
|
+
/**
|
|
2162
|
+
* Name
|
|
2163
|
+
*/
|
|
2164
|
+
name?: string;
|
|
2165
|
+
/**
|
|
2166
|
+
* Name (exact)
|
|
2167
|
+
*/
|
|
2168
|
+
name_exact?: string;
|
|
2169
|
+
/**
|
|
2170
|
+
* Ordering
|
|
2171
|
+
*
|
|
2172
|
+
*
|
|
2173
|
+
*/
|
|
2174
|
+
o?: Array<MarketplaceProviderCustomerProjectOEnum>;
|
|
2175
|
+
/**
|
|
2176
|
+
* A page number within the paginated result set.
|
|
2177
|
+
*/
|
|
2178
|
+
page?: number;
|
|
2179
|
+
/**
|
|
2180
|
+
* Number of results to return per page.
|
|
2181
|
+
*/
|
|
2182
|
+
page_size?: number;
|
|
2183
|
+
/**
|
|
2184
|
+
* Filter by name, slug, UUID, backend ID or resource effective ID
|
|
2185
|
+
*/
|
|
2186
|
+
query?: string;
|
|
2187
|
+
/**
|
|
2188
|
+
* Science domain UUID
|
|
2189
|
+
*/
|
|
2190
|
+
science_domain_uuid?: string;
|
|
2191
|
+
/**
|
|
2192
|
+
* Science sub-domain UUID
|
|
2193
|
+
*/
|
|
2194
|
+
science_sub_domain_uuid?: string;
|
|
2195
|
+
/**
|
|
2196
|
+
* Slug
|
|
2197
|
+
*/
|
|
2198
|
+
slug?: string;
|
|
2199
|
+
/**
|
|
2200
|
+
* Filter by user UUID.
|
|
2201
|
+
*/
|
|
2202
|
+
user_uuid?: string;
|
|
2203
|
+
/**
|
|
2204
|
+
* Filter projects where the given user has a role.
|
|
2205
|
+
*/
|
|
2206
|
+
user_uuid_with_active_role?: string;
|
|
2207
|
+
};
|
|
2208
|
+
url: '/api/openportal-unmanaged-projects/';
|
|
2209
|
+
};
|
|
2210
|
+
export type OpenportalUnmanagedProjectsCountResponses = {
|
|
2211
|
+
/**
|
|
2212
|
+
* No response body
|
|
2213
|
+
*/
|
|
2214
|
+
200: unknown;
|
|
2215
|
+
};
|
|
2216
|
+
export type OpenportalUnmanagedProjectsCreateData = {
|
|
2217
|
+
body: ProjectRequest;
|
|
2218
|
+
path?: never;
|
|
2219
|
+
query?: never;
|
|
2220
|
+
url: '/api/openportal-unmanaged-projects/';
|
|
2221
|
+
};
|
|
2222
|
+
export type OpenportalUnmanagedProjectsCreateResponses = {
|
|
2223
|
+
201: Project;
|
|
2224
|
+
};
|
|
2225
|
+
export type OpenportalUnmanagedProjectsDestroyData = {
|
|
2226
|
+
body?: never;
|
|
2227
|
+
path: {
|
|
2228
|
+
uuid: string;
|
|
2229
|
+
};
|
|
2230
|
+
query?: never;
|
|
2231
|
+
url: '/api/openportal-unmanaged-projects/{uuid}/';
|
|
2232
|
+
};
|
|
2233
|
+
export type OpenportalUnmanagedProjectsDestroyResponses = {
|
|
2234
|
+
/**
|
|
2235
|
+
* No response body
|
|
2236
|
+
*/
|
|
2237
|
+
204: void;
|
|
2238
|
+
};
|
|
2239
|
+
export type OpenportalUnmanagedProjectsRetrieveData = {
|
|
2240
|
+
body?: never;
|
|
2241
|
+
path: {
|
|
2242
|
+
uuid: string;
|
|
2243
|
+
};
|
|
2244
|
+
query?: {
|
|
2245
|
+
field?: Array<ProjectFieldEnum>;
|
|
2246
|
+
};
|
|
2247
|
+
url: '/api/openportal-unmanaged-projects/{uuid}/';
|
|
2248
|
+
};
|
|
2249
|
+
export type OpenportalUnmanagedProjectsRetrieveResponses = {
|
|
2250
|
+
200: Project;
|
|
2251
|
+
};
|
|
2252
|
+
export type OpenportalUnmanagedProjectsPartialUpdateData = {
|
|
2253
|
+
body?: PatchedProjectRequest;
|
|
2254
|
+
path: {
|
|
2255
|
+
uuid: string;
|
|
2256
|
+
};
|
|
2257
|
+
query?: never;
|
|
2258
|
+
url: '/api/openportal-unmanaged-projects/{uuid}/';
|
|
2259
|
+
};
|
|
2260
|
+
export type OpenportalUnmanagedProjectsPartialUpdateResponses = {
|
|
2261
|
+
200: Project;
|
|
2262
|
+
};
|
|
2263
|
+
export type OpenportalUnmanagedProjectsUpdateData = {
|
|
2264
|
+
body: ProjectRequest;
|
|
2265
|
+
path: {
|
|
2266
|
+
uuid: string;
|
|
2267
|
+
};
|
|
2268
|
+
query?: never;
|
|
2269
|
+
url: '/api/openportal-unmanaged-projects/{uuid}/';
|
|
2270
|
+
};
|
|
2271
|
+
export type OpenportalUnmanagedProjectsUpdateResponses = {
|
|
2272
|
+
200: Project;
|
|
2273
|
+
};
|
|
2274
|
+
export type OpenportalUnmanagedProjectsAddUserData = {
|
|
2275
|
+
body: UserRoleCreateRequest;
|
|
2276
|
+
path: {
|
|
2277
|
+
uuid: string;
|
|
2278
|
+
};
|
|
2279
|
+
query?: never;
|
|
2280
|
+
url: '/api/openportal-unmanaged-projects/{uuid}/add_user/';
|
|
2281
|
+
};
|
|
2282
|
+
export type OpenportalUnmanagedProjectsAddUserErrors = {
|
|
2283
|
+
/**
|
|
2284
|
+
* Validation error, for example when trying to add a user to a terminated project.
|
|
2285
|
+
*/
|
|
2286
|
+
400: unknown;
|
|
2287
|
+
};
|
|
2288
|
+
export type OpenportalUnmanagedProjectsAddUserResponses = {
|
|
2289
|
+
201: UserRoleExpirationTime;
|
|
2290
|
+
};
|
|
2291
|
+
export type OpenportalUnmanagedProjectsChecklistRetrieveData = {
|
|
2292
|
+
body?: never;
|
|
2293
|
+
path: {
|
|
2294
|
+
uuid: string;
|
|
2295
|
+
};
|
|
2296
|
+
query?: {
|
|
2297
|
+
/**
|
|
2298
|
+
* If true, returns all questions including hidden ones (for dynamic form visibility). Default: false.
|
|
2299
|
+
*/
|
|
2300
|
+
include_all?: boolean;
|
|
2301
|
+
};
|
|
2302
|
+
url: '/api/openportal-unmanaged-projects/{uuid}/checklist/';
|
|
2303
|
+
};
|
|
2304
|
+
export type OpenportalUnmanagedProjectsChecklistRetrieveErrors = {
|
|
2305
|
+
/**
|
|
2306
|
+
* No checklist configured
|
|
2307
|
+
*/
|
|
2308
|
+
400: unknown;
|
|
2309
|
+
/**
|
|
2310
|
+
* Object not found
|
|
2311
|
+
*/
|
|
2312
|
+
404: unknown;
|
|
2313
|
+
};
|
|
2314
|
+
export type OpenportalUnmanagedProjectsChecklistRetrieveResponses = {
|
|
2315
|
+
200: ChecklistResponse;
|
|
2316
|
+
};
|
|
2317
|
+
export type OpenportalUnmanagedProjectsCompletionStatusRetrieveData = {
|
|
2318
|
+
body?: never;
|
|
2319
|
+
path: {
|
|
2320
|
+
uuid: string;
|
|
2321
|
+
};
|
|
2322
|
+
query?: never;
|
|
2323
|
+
url: '/api/openportal-unmanaged-projects/{uuid}/completion_status/';
|
|
2324
|
+
};
|
|
2325
|
+
export type OpenportalUnmanagedProjectsCompletionStatusRetrieveErrors = {
|
|
2326
|
+
/**
|
|
2327
|
+
* No checklist configured
|
|
2328
|
+
*/
|
|
2329
|
+
400: unknown;
|
|
2330
|
+
/**
|
|
2331
|
+
* Object not found
|
|
2332
|
+
*/
|
|
2333
|
+
404: unknown;
|
|
2334
|
+
};
|
|
2335
|
+
export type OpenportalUnmanagedProjectsCompletionStatusRetrieveResponses = {
|
|
2336
|
+
200: ChecklistCompletion;
|
|
2337
|
+
};
|
|
2338
|
+
export type OpenportalUnmanagedProjectsDeleteUserData = {
|
|
2339
|
+
body: UserRoleDeleteRequest;
|
|
2340
|
+
path: {
|
|
2341
|
+
uuid: string;
|
|
2342
|
+
};
|
|
2343
|
+
query?: never;
|
|
2344
|
+
url: '/api/openportal-unmanaged-projects/{uuid}/delete_user/';
|
|
2345
|
+
};
|
|
2346
|
+
export type OpenportalUnmanagedProjectsDeleteUserResponses = {
|
|
2347
|
+
/**
|
|
2348
|
+
* Role revoked successfully.
|
|
2349
|
+
*/
|
|
2350
|
+
200: unknown;
|
|
2351
|
+
};
|
|
2352
|
+
export type OpenportalUnmanagedProjectsListUsersListData = {
|
|
2353
|
+
body?: never;
|
|
2354
|
+
path: {
|
|
2355
|
+
uuid: string;
|
|
2356
|
+
};
|
|
2357
|
+
query?: {
|
|
2358
|
+
/**
|
|
2359
|
+
* Fields to include in response
|
|
2360
|
+
*/
|
|
2361
|
+
field?: Array<UserRoleDetailsFieldEnum>;
|
|
2362
|
+
/**
|
|
2363
|
+
* User full name
|
|
2364
|
+
*/
|
|
2365
|
+
full_name?: string;
|
|
2366
|
+
/**
|
|
2367
|
+
* User native name
|
|
2368
|
+
*/
|
|
2369
|
+
native_name?: string;
|
|
2370
|
+
/**
|
|
2371
|
+
* Ordering fields
|
|
2372
|
+
*/
|
|
2373
|
+
o?: Array<UserRoleDetailsOEnum>;
|
|
2374
|
+
/**
|
|
2375
|
+
* A page number within the paginated result set.
|
|
2376
|
+
*/
|
|
2377
|
+
page?: number;
|
|
2378
|
+
/**
|
|
2379
|
+
* Number of results to return per page.
|
|
2380
|
+
*/
|
|
2381
|
+
page_size?: number;
|
|
2382
|
+
/**
|
|
2383
|
+
* Role UUID or name
|
|
2384
|
+
*/
|
|
2385
|
+
role?: string;
|
|
2386
|
+
/**
|
|
2387
|
+
* Search string for user
|
|
2388
|
+
*/
|
|
2389
|
+
search_string?: string;
|
|
2390
|
+
/**
|
|
2391
|
+
* User UUID
|
|
2392
|
+
*/
|
|
2393
|
+
user?: string;
|
|
2394
|
+
/**
|
|
2395
|
+
* User slug
|
|
2396
|
+
*/
|
|
2397
|
+
user_slug?: string;
|
|
2398
|
+
/**
|
|
2399
|
+
* User URL
|
|
2400
|
+
*/
|
|
2401
|
+
user_url?: string;
|
|
2402
|
+
/**
|
|
2403
|
+
* User username
|
|
2404
|
+
*/
|
|
2405
|
+
username?: string;
|
|
2406
|
+
};
|
|
2407
|
+
url: '/api/openportal-unmanaged-projects/{uuid}/list_users/';
|
|
2408
|
+
};
|
|
2409
|
+
export type OpenportalUnmanagedProjectsListUsersListResponses = {
|
|
2410
|
+
200: Array<UserRoleDetails>;
|
|
2411
|
+
};
|
|
2412
|
+
export type OpenportalUnmanagedProjectsMoveProjectData = {
|
|
2413
|
+
body: MoveProjectRequest;
|
|
2414
|
+
path: {
|
|
2415
|
+
uuid: string;
|
|
2416
|
+
};
|
|
2417
|
+
query?: never;
|
|
2418
|
+
url: '/api/openportal-unmanaged-projects/{uuid}/move_project/';
|
|
2419
|
+
};
|
|
2420
|
+
export type OpenportalUnmanagedProjectsMoveProjectResponses = {
|
|
2421
|
+
200: Project;
|
|
2422
|
+
};
|
|
2423
|
+
export type OpenportalUnmanagedProjectsRecoverData = {
|
|
2424
|
+
body?: ProjectRecoveryRequest;
|
|
2425
|
+
path: {
|
|
2426
|
+
uuid: string;
|
|
2427
|
+
};
|
|
2428
|
+
query?: never;
|
|
2429
|
+
url: '/api/openportal-unmanaged-projects/{uuid}/recover/';
|
|
2430
|
+
};
|
|
2431
|
+
export type OpenportalUnmanagedProjectsRecoverResponses = {
|
|
2432
|
+
200: Project;
|
|
2433
|
+
};
|
|
2434
|
+
export type OpenportalUnmanagedProjectsStatsRetrieveData = {
|
|
2435
|
+
body?: never;
|
|
2436
|
+
path: {
|
|
2437
|
+
uuid: string;
|
|
2438
|
+
};
|
|
2439
|
+
query?: {
|
|
2440
|
+
/**
|
|
2441
|
+
* If true, returns usage data for the current month only. Otherwise, returns total usage.
|
|
2442
|
+
*/
|
|
2443
|
+
for_current_month?: boolean;
|
|
2444
|
+
};
|
|
2445
|
+
url: '/api/openportal-unmanaged-projects/{uuid}/stats/';
|
|
2446
|
+
};
|
|
2447
|
+
export type OpenportalUnmanagedProjectsStatsRetrieveResponses = {
|
|
2448
|
+
200: ComponentsUsageStats;
|
|
2449
|
+
};
|
|
2450
|
+
export type OpenportalUnmanagedProjectsSubmitAnswersData = {
|
|
2451
|
+
body: Array<AnswerSubmitRequest>;
|
|
2452
|
+
path: {
|
|
2453
|
+
uuid: string;
|
|
2454
|
+
};
|
|
2455
|
+
query?: never;
|
|
2456
|
+
url: '/api/openportal-unmanaged-projects/{uuid}/submit_answers/';
|
|
2457
|
+
};
|
|
2458
|
+
export type OpenportalUnmanagedProjectsSubmitAnswersErrors = {
|
|
2459
|
+
/**
|
|
2460
|
+
* Validation error or no checklist configured
|
|
2461
|
+
*/
|
|
2462
|
+
400: unknown;
|
|
2463
|
+
/**
|
|
2464
|
+
* Object not found
|
|
2465
|
+
*/
|
|
2466
|
+
404: unknown;
|
|
2467
|
+
};
|
|
2468
|
+
export type OpenportalUnmanagedProjectsSubmitAnswersResponses = {
|
|
2469
|
+
200: AnswerSubmitResponse;
|
|
2470
|
+
};
|
|
2471
|
+
export type OpenportalUnmanagedProjectsUpdateAffiliatedOrganizationsData = {
|
|
2472
|
+
body?: ProjectAffiliatedOrganizationsUpdateRequest;
|
|
2473
|
+
path: {
|
|
2474
|
+
uuid: string;
|
|
2475
|
+
};
|
|
2476
|
+
query?: never;
|
|
2477
|
+
url: '/api/openportal-unmanaged-projects/{uuid}/update_affiliated_organizations/';
|
|
2478
|
+
};
|
|
2479
|
+
export type OpenportalUnmanagedProjectsUpdateAffiliatedOrganizationsResponses = {
|
|
2480
|
+
/**
|
|
2481
|
+
* No response body
|
|
2482
|
+
*/
|
|
2483
|
+
200: unknown;
|
|
2484
|
+
};
|
|
2485
|
+
export type OpenportalUnmanagedProjectsUpdateUserData = {
|
|
2486
|
+
body: UserRoleUpdateRequest;
|
|
2487
|
+
path: {
|
|
2488
|
+
uuid: string;
|
|
2489
|
+
};
|
|
2490
|
+
query?: never;
|
|
2491
|
+
url: '/api/openportal-unmanaged-projects/{uuid}/update_user/';
|
|
2492
|
+
};
|
|
2493
|
+
export type OpenportalUnmanagedProjectsUpdateUserResponses = {
|
|
2494
|
+
200: UserRoleExpirationTime;
|
|
2495
|
+
};
|
|
2496
|
+
export type OpenportalUnmanagedProjectsChecklistTemplateRetrieveData = {
|
|
2497
|
+
body?: never;
|
|
2498
|
+
path?: never;
|
|
2499
|
+
query: {
|
|
2500
|
+
/**
|
|
2501
|
+
* UUID of the parent object (e.g., customer UUID for new projects)
|
|
2502
|
+
*/
|
|
2503
|
+
parent_uuid: string;
|
|
2504
|
+
};
|
|
2505
|
+
url: '/api/openportal-unmanaged-projects/checklist-template/';
|
|
2506
|
+
};
|
|
2507
|
+
export type OpenportalUnmanagedProjectsChecklistTemplateRetrieveErrors = {
|
|
2508
|
+
/**
|
|
2509
|
+
* No checklist configured
|
|
2510
|
+
*/
|
|
2511
|
+
400: unknown;
|
|
2512
|
+
/**
|
|
2513
|
+
* Parent object not found
|
|
2514
|
+
*/
|
|
2515
|
+
404: unknown;
|
|
2516
|
+
};
|
|
2517
|
+
export type OpenportalUnmanagedProjectsChecklistTemplateRetrieveResponses = {
|
|
2518
|
+
200: ChecklistTemplate;
|
|
2519
|
+
};
|
|
2520
|
+
export type OpenportalUnmanagedProjectsChecklistTemplateCountData = {
|
|
2521
|
+
body?: never;
|
|
2522
|
+
path?: never;
|
|
2523
|
+
query: {
|
|
2524
|
+
/**
|
|
2525
|
+
* UUID of the parent object (e.g., customer UUID for new projects)
|
|
2526
|
+
*/
|
|
2527
|
+
parent_uuid: string;
|
|
2528
|
+
};
|
|
2529
|
+
url: '/api/openportal-unmanaged-projects/checklist-template/';
|
|
2530
|
+
};
|
|
2531
|
+
export type OpenportalUnmanagedProjectsChecklistTemplateCountResponses = {
|
|
2532
|
+
/**
|
|
2533
|
+
* No response body
|
|
2534
|
+
*/
|
|
2535
|
+
200: unknown;
|
|
2536
|
+
};
|
|
2537
|
+
export type OpenportalUserinfoListData = {
|
|
2538
|
+
body?: never;
|
|
2539
|
+
path?: never;
|
|
2540
|
+
query?: {
|
|
2541
|
+
/**
|
|
2542
|
+
* A page number within the paginated result set.
|
|
2543
|
+
*/
|
|
2544
|
+
page?: number;
|
|
2545
|
+
/**
|
|
2546
|
+
* Number of results to return per page.
|
|
2547
|
+
*/
|
|
2548
|
+
page_size?: number;
|
|
2549
|
+
user?: string;
|
|
2550
|
+
user_uuid?: string;
|
|
2551
|
+
};
|
|
2552
|
+
url: '/api/openportal-userinfo/';
|
|
2553
|
+
};
|
|
2554
|
+
export type OpenportalUserinfoListResponses = {
|
|
2555
|
+
200: Array<UserInfo>;
|
|
2556
|
+
};
|
|
2557
|
+
export type OpenportalUserinfoCountData = {
|
|
2558
|
+
body?: never;
|
|
2559
|
+
path?: never;
|
|
2560
|
+
query?: {
|
|
2561
|
+
/**
|
|
2562
|
+
* A page number within the paginated result set.
|
|
2563
|
+
*/
|
|
2564
|
+
page?: number;
|
|
2565
|
+
/**
|
|
2566
|
+
* Number of results to return per page.
|
|
2567
|
+
*/
|
|
2568
|
+
page_size?: number;
|
|
2569
|
+
user?: string;
|
|
2570
|
+
user_uuid?: string;
|
|
2571
|
+
};
|
|
2572
|
+
url: '/api/openportal-userinfo/';
|
|
2573
|
+
};
|
|
2574
|
+
export type OpenportalUserinfoCountResponses = {
|
|
2575
|
+
/**
|
|
2576
|
+
* No response body
|
|
2577
|
+
*/
|
|
2578
|
+
200: unknown;
|
|
2579
|
+
};
|
|
2580
|
+
export type OpenportalUserinfoCreateData = {
|
|
2581
|
+
body: UserInfoRequest;
|
|
2582
|
+
path?: never;
|
|
2583
|
+
query?: never;
|
|
2584
|
+
url: '/api/openportal-userinfo/';
|
|
2585
|
+
};
|
|
2586
|
+
export type OpenportalUserinfoCreateResponses = {
|
|
2587
|
+
201: UserInfo;
|
|
2588
|
+
};
|
|
2589
|
+
export type OpenportalUserinfoDestroyData = {
|
|
2590
|
+
body?: never;
|
|
2591
|
+
path: {
|
|
2592
|
+
user: number;
|
|
2593
|
+
};
|
|
2594
|
+
query?: never;
|
|
2595
|
+
url: '/api/openportal-userinfo/{user}/';
|
|
2596
|
+
};
|
|
2597
|
+
export type OpenportalUserinfoDestroyResponses = {
|
|
2598
|
+
/**
|
|
2599
|
+
* No response body
|
|
2600
|
+
*/
|
|
2601
|
+
204: void;
|
|
2602
|
+
};
|
|
2603
|
+
export type OpenportalUserinfoRetrieveData = {
|
|
2604
|
+
body?: never;
|
|
2605
|
+
path: {
|
|
2606
|
+
user: number;
|
|
2607
|
+
};
|
|
2608
|
+
query?: never;
|
|
2609
|
+
url: '/api/openportal-userinfo/{user}/';
|
|
2610
|
+
};
|
|
2611
|
+
export type OpenportalUserinfoRetrieveResponses = {
|
|
2612
|
+
200: UserInfo;
|
|
2613
|
+
};
|
|
2614
|
+
export type OpenportalUserinfoPartialUpdateData = {
|
|
2615
|
+
body?: PatchedUserInfoRequest;
|
|
2616
|
+
path: {
|
|
2617
|
+
user: number;
|
|
2618
|
+
};
|
|
2619
|
+
query?: never;
|
|
2620
|
+
url: '/api/openportal-userinfo/{user}/';
|
|
2621
|
+
};
|
|
2622
|
+
export type OpenportalUserinfoPartialUpdateResponses = {
|
|
2623
|
+
200: UserInfo;
|
|
2624
|
+
};
|
|
2625
|
+
export type OpenportalUserinfoUpdateData = {
|
|
2626
|
+
body: UserInfoRequest;
|
|
2627
|
+
path: {
|
|
2628
|
+
user: number;
|
|
2629
|
+
};
|
|
2630
|
+
query?: never;
|
|
2631
|
+
url: '/api/openportal-userinfo/{user}/';
|
|
2632
|
+
};
|
|
2633
|
+
export type OpenportalUserinfoUpdateResponses = {
|
|
2634
|
+
200: UserInfo;
|
|
2635
|
+
};
|
|
2636
|
+
export type OpenportalUserinfoSetShortnameUpdateData = {
|
|
2637
|
+
body: UserInfoRequest;
|
|
2638
|
+
path: {
|
|
2639
|
+
user: number;
|
|
2640
|
+
};
|
|
2641
|
+
query?: never;
|
|
2642
|
+
url: '/api/openportal-userinfo/{user}/set_shortname/';
|
|
2643
|
+
};
|
|
2644
|
+
export type OpenportalUserinfoSetShortnameUpdateResponses = {
|
|
2645
|
+
200: UserInfo;
|
|
2646
|
+
};
|
|
2647
|
+
export type OpenportalUserinfoMeRetrieveData = {
|
|
2648
|
+
body?: never;
|
|
2649
|
+
path?: never;
|
|
2650
|
+
query?: never;
|
|
2651
|
+
url: '/api/openportal-userinfo/me/';
|
|
2652
|
+
};
|
|
2653
|
+
export type OpenportalUserinfoMeRetrieveResponses = {
|
|
2654
|
+
200: UserInfo;
|
|
2655
|
+
};
|
|
2656
|
+
export type OpenportalUserinfoMeCountData = {
|
|
2657
|
+
body?: never;
|
|
2658
|
+
path?: never;
|
|
2659
|
+
query?: never;
|
|
2660
|
+
url: '/api/openportal-userinfo/me/';
|
|
2661
|
+
};
|
|
2662
|
+
export type OpenportalUserinfoMeCountResponses = {
|
|
2663
|
+
/**
|
|
2664
|
+
* No response body
|
|
2665
|
+
*/
|
|
2666
|
+
200: unknown;
|
|
2667
|
+
};
|
|
2668
|
+
export type OpenportalAccessForEmailListData = {
|
|
2669
|
+
body?: never;
|
|
2670
|
+
path?: never;
|
|
2671
|
+
query: {
|
|
2672
|
+
/**
|
|
2673
|
+
* Free text search query (email, short_name, project_name, or project_id)
|
|
2674
|
+
*/
|
|
2675
|
+
q: string;
|
|
2676
|
+
};
|
|
2677
|
+
url: '/api/openportal/access_for_email/';
|
|
2678
|
+
};
|
|
2679
|
+
export type OpenportalAccessForEmailListResponses = {
|
|
2680
|
+
200: Array<AccessResponse>;
|
|
2681
|
+
};
|
|
2682
|
+
export type OpenportalOfferingMappingRetrieveData = {
|
|
2683
|
+
body?: never;
|
|
2684
|
+
path?: never;
|
|
2685
|
+
query?: {
|
|
2686
|
+
/**
|
|
2687
|
+
* OpenPortal destination string (repeatable).
|
|
2688
|
+
*/
|
|
2689
|
+
identifier?: Array<string>;
|
|
2690
|
+
};
|
|
2691
|
+
url: '/api/openportal/offering_mapping/';
|
|
2692
|
+
};
|
|
2693
|
+
export type OpenportalOfferingMappingRetrieveResponses = {
|
|
2694
|
+
200: OfferingMappingResponse;
|
|
2695
|
+
};
|
|
2696
|
+
export type OpenportalProjectMappingRetrieveData = {
|
|
2697
|
+
body?: never;
|
|
2698
|
+
path?: never;
|
|
2699
|
+
query?: {
|
|
2700
|
+
/**
|
|
2701
|
+
* OpenPortal ProjectIdentifier string (repeatable).
|
|
2702
|
+
*/
|
|
2703
|
+
identifier?: Array<string>;
|
|
2704
|
+
};
|
|
2705
|
+
url: '/api/openportal/project_mapping/';
|
|
2706
|
+
};
|
|
2707
|
+
export type OpenportalProjectMappingRetrieveResponses = {
|
|
2708
|
+
200: ProjectMappingResponse;
|
|
2709
|
+
};
|
|
2710
|
+
export type OpenportalUserMappingRetrieveData = {
|
|
2711
|
+
body?: never;
|
|
2712
|
+
path?: never;
|
|
2713
|
+
query?: {
|
|
2714
|
+
/**
|
|
2715
|
+
* OpenPortal UserIdentifier string or email address (repeatable). All values in a single request must be the same type.
|
|
2716
|
+
*/
|
|
2717
|
+
identifier?: Array<string>;
|
|
2718
|
+
};
|
|
2719
|
+
url: '/api/openportal/user_mapping/';
|
|
2720
|
+
};
|
|
2721
|
+
export type OpenportalUserMappingRetrieveResponses = {
|
|
2722
|
+
200: UserMappingResponse;
|
|
2723
|
+
};
|