@waldur/openportal 1.0.1-dev.0

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