@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
package/dist/sdk.gen.js
ADDED
|
@@ -0,0 +1,2377 @@
|
|
|
1
|
+
// This file is auto-generated by split-sdk script
|
|
2
|
+
import { client as _heyApiClient } from '@waldur/core';
|
|
3
|
+
export const openportalAccountingSummaryList = (options) => {
|
|
4
|
+
return (options?.client ?? _heyApiClient).get({
|
|
5
|
+
security: [
|
|
6
|
+
{
|
|
7
|
+
name: 'Authorization',
|
|
8
|
+
type: 'apiKey'
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
scheme: 'bearer',
|
|
12
|
+
type: 'http'
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
scheme: 'bearer',
|
|
16
|
+
type: 'http'
|
|
17
|
+
}
|
|
18
|
+
],
|
|
19
|
+
url: '/api/openportal-accounting-summary/',
|
|
20
|
+
...options
|
|
21
|
+
});
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* Get number of items in the collection matching the request parameters.
|
|
25
|
+
*/
|
|
26
|
+
export const openportalAccountingSummaryCount = (options) => {
|
|
27
|
+
return (options?.client ?? _heyApiClient).head({
|
|
28
|
+
security: [
|
|
29
|
+
{
|
|
30
|
+
name: 'Authorization',
|
|
31
|
+
type: 'apiKey'
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
scheme: 'bearer',
|
|
35
|
+
type: 'http'
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
scheme: 'bearer',
|
|
39
|
+
type: 'http'
|
|
40
|
+
}
|
|
41
|
+
],
|
|
42
|
+
url: '/api/openportal-accounting-summary/',
|
|
43
|
+
...options
|
|
44
|
+
});
|
|
45
|
+
};
|
|
46
|
+
export const openportalAccountingSummaryRetrieve = (options) => {
|
|
47
|
+
return (options.client ?? _heyApiClient).get({
|
|
48
|
+
security: [
|
|
49
|
+
{
|
|
50
|
+
name: 'Authorization',
|
|
51
|
+
type: 'apiKey'
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
scheme: 'bearer',
|
|
55
|
+
type: 'http'
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
scheme: 'bearer',
|
|
59
|
+
type: 'http'
|
|
60
|
+
}
|
|
61
|
+
],
|
|
62
|
+
url: '/api/openportal-accounting-summary/{uuid}/',
|
|
63
|
+
...options
|
|
64
|
+
});
|
|
65
|
+
};
|
|
66
|
+
export const openportalAllocationUserUsageList = (options) => {
|
|
67
|
+
return (options?.client ?? _heyApiClient).get({
|
|
68
|
+
security: [
|
|
69
|
+
{
|
|
70
|
+
name: 'Authorization',
|
|
71
|
+
type: 'apiKey'
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
scheme: 'bearer',
|
|
75
|
+
type: 'http'
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
scheme: 'bearer',
|
|
79
|
+
type: 'http'
|
|
80
|
+
}
|
|
81
|
+
],
|
|
82
|
+
url: '/api/openportal-allocation-user-usage/',
|
|
83
|
+
...options
|
|
84
|
+
});
|
|
85
|
+
};
|
|
86
|
+
/**
|
|
87
|
+
* Get number of items in the collection matching the request parameters.
|
|
88
|
+
*/
|
|
89
|
+
export const openportalAllocationUserUsageCount = (options) => {
|
|
90
|
+
return (options?.client ?? _heyApiClient).head({
|
|
91
|
+
security: [
|
|
92
|
+
{
|
|
93
|
+
name: 'Authorization',
|
|
94
|
+
type: 'apiKey'
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
scheme: 'bearer',
|
|
98
|
+
type: 'http'
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
scheme: 'bearer',
|
|
102
|
+
type: 'http'
|
|
103
|
+
}
|
|
104
|
+
],
|
|
105
|
+
url: '/api/openportal-allocation-user-usage/',
|
|
106
|
+
...options
|
|
107
|
+
});
|
|
108
|
+
};
|
|
109
|
+
export const openportalAllocationUserUsageRetrieve = (options) => {
|
|
110
|
+
return (options.client ?? _heyApiClient).get({
|
|
111
|
+
security: [
|
|
112
|
+
{
|
|
113
|
+
name: 'Authorization',
|
|
114
|
+
type: 'apiKey'
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
scheme: 'bearer',
|
|
118
|
+
type: 'http'
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
scheme: 'bearer',
|
|
122
|
+
type: 'http'
|
|
123
|
+
}
|
|
124
|
+
],
|
|
125
|
+
url: '/api/openportal-allocation-user-usage/{id}/',
|
|
126
|
+
...options
|
|
127
|
+
});
|
|
128
|
+
};
|
|
129
|
+
export const openportalAllocationsList = (options) => {
|
|
130
|
+
return (options?.client ?? _heyApiClient).get({
|
|
131
|
+
security: [
|
|
132
|
+
{
|
|
133
|
+
name: 'Authorization',
|
|
134
|
+
type: 'apiKey'
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
scheme: 'bearer',
|
|
138
|
+
type: 'http'
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
scheme: 'bearer',
|
|
142
|
+
type: 'http'
|
|
143
|
+
}
|
|
144
|
+
],
|
|
145
|
+
url: '/api/openportal-allocations/',
|
|
146
|
+
...options
|
|
147
|
+
});
|
|
148
|
+
};
|
|
149
|
+
/**
|
|
150
|
+
* Get number of items in the collection matching the request parameters.
|
|
151
|
+
*/
|
|
152
|
+
export const openportalAllocationsCount = (options) => {
|
|
153
|
+
return (options?.client ?? _heyApiClient).head({
|
|
154
|
+
security: [
|
|
155
|
+
{
|
|
156
|
+
name: 'Authorization',
|
|
157
|
+
type: 'apiKey'
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
scheme: 'bearer',
|
|
161
|
+
type: 'http'
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
scheme: 'bearer',
|
|
165
|
+
type: 'http'
|
|
166
|
+
}
|
|
167
|
+
],
|
|
168
|
+
url: '/api/openportal-allocations/',
|
|
169
|
+
...options
|
|
170
|
+
});
|
|
171
|
+
};
|
|
172
|
+
export const openportalAllocationsCreate = (options) => {
|
|
173
|
+
return (options.client ?? _heyApiClient).post({
|
|
174
|
+
security: [
|
|
175
|
+
{
|
|
176
|
+
name: 'Authorization',
|
|
177
|
+
type: 'apiKey'
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
scheme: 'bearer',
|
|
181
|
+
type: 'http'
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
scheme: 'bearer',
|
|
185
|
+
type: 'http'
|
|
186
|
+
}
|
|
187
|
+
],
|
|
188
|
+
url: '/api/openportal-allocations/',
|
|
189
|
+
...options,
|
|
190
|
+
headers: {
|
|
191
|
+
'Content-Type': 'application/json',
|
|
192
|
+
...options.headers
|
|
193
|
+
}
|
|
194
|
+
});
|
|
195
|
+
};
|
|
196
|
+
export const openportalAllocationsDestroy = (options) => {
|
|
197
|
+
return (options.client ?? _heyApiClient).delete({
|
|
198
|
+
security: [
|
|
199
|
+
{
|
|
200
|
+
name: 'Authorization',
|
|
201
|
+
type: 'apiKey'
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
scheme: 'bearer',
|
|
205
|
+
type: 'http'
|
|
206
|
+
},
|
|
207
|
+
{
|
|
208
|
+
scheme: 'bearer',
|
|
209
|
+
type: 'http'
|
|
210
|
+
}
|
|
211
|
+
],
|
|
212
|
+
url: '/api/openportal-allocations/{uuid}/',
|
|
213
|
+
...options
|
|
214
|
+
});
|
|
215
|
+
};
|
|
216
|
+
export const openportalAllocationsRetrieve = (options) => {
|
|
217
|
+
return (options.client ?? _heyApiClient).get({
|
|
218
|
+
security: [
|
|
219
|
+
{
|
|
220
|
+
name: 'Authorization',
|
|
221
|
+
type: 'apiKey'
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
scheme: 'bearer',
|
|
225
|
+
type: 'http'
|
|
226
|
+
},
|
|
227
|
+
{
|
|
228
|
+
scheme: 'bearer',
|
|
229
|
+
type: 'http'
|
|
230
|
+
}
|
|
231
|
+
],
|
|
232
|
+
url: '/api/openportal-allocations/{uuid}/',
|
|
233
|
+
...options
|
|
234
|
+
});
|
|
235
|
+
};
|
|
236
|
+
export const openportalAllocationsPartialUpdate = (options) => {
|
|
237
|
+
return (options.client ?? _heyApiClient).patch({
|
|
238
|
+
security: [
|
|
239
|
+
{
|
|
240
|
+
name: 'Authorization',
|
|
241
|
+
type: 'apiKey'
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
scheme: 'bearer',
|
|
245
|
+
type: 'http'
|
|
246
|
+
},
|
|
247
|
+
{
|
|
248
|
+
scheme: 'bearer',
|
|
249
|
+
type: 'http'
|
|
250
|
+
}
|
|
251
|
+
],
|
|
252
|
+
url: '/api/openportal-allocations/{uuid}/',
|
|
253
|
+
...options,
|
|
254
|
+
headers: {
|
|
255
|
+
'Content-Type': 'application/json',
|
|
256
|
+
...options.headers
|
|
257
|
+
}
|
|
258
|
+
});
|
|
259
|
+
};
|
|
260
|
+
export const openportalAllocationsUpdate = (options) => {
|
|
261
|
+
return (options.client ?? _heyApiClient).put({
|
|
262
|
+
security: [
|
|
263
|
+
{
|
|
264
|
+
name: 'Authorization',
|
|
265
|
+
type: 'apiKey'
|
|
266
|
+
},
|
|
267
|
+
{
|
|
268
|
+
scheme: 'bearer',
|
|
269
|
+
type: 'http'
|
|
270
|
+
},
|
|
271
|
+
{
|
|
272
|
+
scheme: 'bearer',
|
|
273
|
+
type: 'http'
|
|
274
|
+
}
|
|
275
|
+
],
|
|
276
|
+
url: '/api/openportal-allocations/{uuid}/',
|
|
277
|
+
...options,
|
|
278
|
+
headers: {
|
|
279
|
+
'Content-Type': 'application/json',
|
|
280
|
+
...options.headers
|
|
281
|
+
}
|
|
282
|
+
});
|
|
283
|
+
};
|
|
284
|
+
/**
|
|
285
|
+
* Synchronize resource state
|
|
286
|
+
* Schedule an asynchronous pull operation to synchronize resource state from the backend. Returns 202 if the pull was scheduled successfully, or 409 if the pull operation is not implemented for this resource type.
|
|
287
|
+
*/
|
|
288
|
+
export const openportalAllocationsPull = (options) => {
|
|
289
|
+
return (options.client ?? _heyApiClient).post({
|
|
290
|
+
security: [
|
|
291
|
+
{
|
|
292
|
+
name: 'Authorization',
|
|
293
|
+
type: 'apiKey'
|
|
294
|
+
},
|
|
295
|
+
{
|
|
296
|
+
scheme: 'bearer',
|
|
297
|
+
type: 'http'
|
|
298
|
+
},
|
|
299
|
+
{
|
|
300
|
+
scheme: 'bearer',
|
|
301
|
+
type: 'http'
|
|
302
|
+
}
|
|
303
|
+
],
|
|
304
|
+
url: '/api/openportal-allocations/{uuid}/pull/',
|
|
305
|
+
...options
|
|
306
|
+
});
|
|
307
|
+
};
|
|
308
|
+
/**
|
|
309
|
+
* Mark resource as ERRED
|
|
310
|
+
* Manually transition the resource to ERRED state. This is useful for resources stuck in transitional states (CREATING, UPDATING, DELETING) that cannot be synced via pull. Staff-only operation.
|
|
311
|
+
*/
|
|
312
|
+
export const openportalAllocationsSetErred = (options) => {
|
|
313
|
+
return (options.client ?? _heyApiClient).post({
|
|
314
|
+
security: [
|
|
315
|
+
{
|
|
316
|
+
name: 'Authorization',
|
|
317
|
+
type: 'apiKey'
|
|
318
|
+
},
|
|
319
|
+
{
|
|
320
|
+
scheme: 'bearer',
|
|
321
|
+
type: 'http'
|
|
322
|
+
},
|
|
323
|
+
{
|
|
324
|
+
scheme: 'bearer',
|
|
325
|
+
type: 'http'
|
|
326
|
+
}
|
|
327
|
+
],
|
|
328
|
+
url: '/api/openportal-allocations/{uuid}/set_erred/',
|
|
329
|
+
...options,
|
|
330
|
+
headers: {
|
|
331
|
+
'Content-Type': 'application/json',
|
|
332
|
+
...options.headers
|
|
333
|
+
}
|
|
334
|
+
});
|
|
335
|
+
};
|
|
336
|
+
export const openportalAllocationsSetLimits = (options) => {
|
|
337
|
+
return (options.client ?? _heyApiClient).post({
|
|
338
|
+
security: [
|
|
339
|
+
{
|
|
340
|
+
name: 'Authorization',
|
|
341
|
+
type: 'apiKey'
|
|
342
|
+
},
|
|
343
|
+
{
|
|
344
|
+
scheme: 'bearer',
|
|
345
|
+
type: 'http'
|
|
346
|
+
},
|
|
347
|
+
{
|
|
348
|
+
scheme: 'bearer',
|
|
349
|
+
type: 'http'
|
|
350
|
+
}
|
|
351
|
+
],
|
|
352
|
+
url: '/api/openportal-allocations/{uuid}/set_limits/',
|
|
353
|
+
...options,
|
|
354
|
+
headers: {
|
|
355
|
+
'Content-Type': 'application/json',
|
|
356
|
+
...options.headers
|
|
357
|
+
}
|
|
358
|
+
});
|
|
359
|
+
};
|
|
360
|
+
/**
|
|
361
|
+
* Mark resource as OK
|
|
362
|
+
* Manually transition the resource to OK state and clear error fields. Staff-only operation.
|
|
363
|
+
*/
|
|
364
|
+
export const openportalAllocationsSetOk = (options) => {
|
|
365
|
+
return (options.client ?? _heyApiClient).post({
|
|
366
|
+
security: [
|
|
367
|
+
{
|
|
368
|
+
name: 'Authorization',
|
|
369
|
+
type: 'apiKey'
|
|
370
|
+
},
|
|
371
|
+
{
|
|
372
|
+
scheme: 'bearer',
|
|
373
|
+
type: 'http'
|
|
374
|
+
},
|
|
375
|
+
{
|
|
376
|
+
scheme: 'bearer',
|
|
377
|
+
type: 'http'
|
|
378
|
+
}
|
|
379
|
+
],
|
|
380
|
+
url: '/api/openportal-allocations/{uuid}/set_ok/',
|
|
381
|
+
...options
|
|
382
|
+
});
|
|
383
|
+
};
|
|
384
|
+
/**
|
|
385
|
+
* Unlink resource
|
|
386
|
+
* Delete resource from the database without scheduling operations on backend
|
|
387
|
+
* and without checking current state of the resource. It is intended to be used
|
|
388
|
+
* for removing resource stuck in transitioning state.
|
|
389
|
+
*/
|
|
390
|
+
export const openportalAllocationsUnlink = (options) => {
|
|
391
|
+
return (options.client ?? _heyApiClient).post({
|
|
392
|
+
security: [
|
|
393
|
+
{
|
|
394
|
+
name: 'Authorization',
|
|
395
|
+
type: 'apiKey'
|
|
396
|
+
},
|
|
397
|
+
{
|
|
398
|
+
scheme: 'bearer',
|
|
399
|
+
type: 'http'
|
|
400
|
+
},
|
|
401
|
+
{
|
|
402
|
+
scheme: 'bearer',
|
|
403
|
+
type: 'http'
|
|
404
|
+
}
|
|
405
|
+
],
|
|
406
|
+
url: '/api/openportal-allocations/{uuid}/unlink/',
|
|
407
|
+
...options
|
|
408
|
+
});
|
|
409
|
+
};
|
|
410
|
+
export const openportalAssociationsList = (options) => {
|
|
411
|
+
return (options?.client ?? _heyApiClient).get({
|
|
412
|
+
security: [
|
|
413
|
+
{
|
|
414
|
+
name: 'Authorization',
|
|
415
|
+
type: 'apiKey'
|
|
416
|
+
},
|
|
417
|
+
{
|
|
418
|
+
scheme: 'bearer',
|
|
419
|
+
type: 'http'
|
|
420
|
+
},
|
|
421
|
+
{
|
|
422
|
+
scheme: 'bearer',
|
|
423
|
+
type: 'http'
|
|
424
|
+
}
|
|
425
|
+
],
|
|
426
|
+
url: '/api/openportal-associations/',
|
|
427
|
+
...options
|
|
428
|
+
});
|
|
429
|
+
};
|
|
430
|
+
/**
|
|
431
|
+
* Get number of items in the collection matching the request parameters.
|
|
432
|
+
*/
|
|
433
|
+
export const openportalAssociationsCount = (options) => {
|
|
434
|
+
return (options?.client ?? _heyApiClient).head({
|
|
435
|
+
security: [
|
|
436
|
+
{
|
|
437
|
+
name: 'Authorization',
|
|
438
|
+
type: 'apiKey'
|
|
439
|
+
},
|
|
440
|
+
{
|
|
441
|
+
scheme: 'bearer',
|
|
442
|
+
type: 'http'
|
|
443
|
+
},
|
|
444
|
+
{
|
|
445
|
+
scheme: 'bearer',
|
|
446
|
+
type: 'http'
|
|
447
|
+
}
|
|
448
|
+
],
|
|
449
|
+
url: '/api/openportal-associations/',
|
|
450
|
+
...options
|
|
451
|
+
});
|
|
452
|
+
};
|
|
453
|
+
export const openportalAssociationsRetrieve = (options) => {
|
|
454
|
+
return (options.client ?? _heyApiClient).get({
|
|
455
|
+
security: [
|
|
456
|
+
{
|
|
457
|
+
name: 'Authorization',
|
|
458
|
+
type: 'apiKey'
|
|
459
|
+
},
|
|
460
|
+
{
|
|
461
|
+
scheme: 'bearer',
|
|
462
|
+
type: 'http'
|
|
463
|
+
},
|
|
464
|
+
{
|
|
465
|
+
scheme: 'bearer',
|
|
466
|
+
type: 'http'
|
|
467
|
+
}
|
|
468
|
+
],
|
|
469
|
+
url: '/api/openportal-associations/{uuid}/',
|
|
470
|
+
...options
|
|
471
|
+
});
|
|
472
|
+
};
|
|
473
|
+
/**
|
|
474
|
+
* List all managed projects
|
|
475
|
+
*/
|
|
476
|
+
export const openportalManagedProjectsList = (options) => {
|
|
477
|
+
return (options?.client ?? _heyApiClient).get({
|
|
478
|
+
security: [
|
|
479
|
+
{
|
|
480
|
+
name: 'Authorization',
|
|
481
|
+
type: 'apiKey'
|
|
482
|
+
},
|
|
483
|
+
{
|
|
484
|
+
scheme: 'bearer',
|
|
485
|
+
type: 'http'
|
|
486
|
+
},
|
|
487
|
+
{
|
|
488
|
+
scheme: 'bearer',
|
|
489
|
+
type: 'http'
|
|
490
|
+
}
|
|
491
|
+
],
|
|
492
|
+
url: '/api/openportal-managed-projects/',
|
|
493
|
+
...options
|
|
494
|
+
});
|
|
495
|
+
};
|
|
496
|
+
/**
|
|
497
|
+
* Get number of items in the collection matching the request parameters.
|
|
498
|
+
*/
|
|
499
|
+
export const openportalManagedProjectsCount = (options) => {
|
|
500
|
+
return (options?.client ?? _heyApiClient).head({
|
|
501
|
+
security: [
|
|
502
|
+
{
|
|
503
|
+
name: 'Authorization',
|
|
504
|
+
type: 'apiKey'
|
|
505
|
+
},
|
|
506
|
+
{
|
|
507
|
+
scheme: 'bearer',
|
|
508
|
+
type: 'http'
|
|
509
|
+
},
|
|
510
|
+
{
|
|
511
|
+
scheme: 'bearer',
|
|
512
|
+
type: 'http'
|
|
513
|
+
}
|
|
514
|
+
],
|
|
515
|
+
url: '/api/openportal-managed-projects/',
|
|
516
|
+
...options
|
|
517
|
+
});
|
|
518
|
+
};
|
|
519
|
+
/**
|
|
520
|
+
* Retrieve a managed project
|
|
521
|
+
*/
|
|
522
|
+
export const openportalManagedProjectsRetrieveGet = (options) => {
|
|
523
|
+
return (options.client ?? _heyApiClient).get({
|
|
524
|
+
security: [
|
|
525
|
+
{
|
|
526
|
+
name: 'Authorization',
|
|
527
|
+
type: 'apiKey'
|
|
528
|
+
},
|
|
529
|
+
{
|
|
530
|
+
scheme: 'bearer',
|
|
531
|
+
type: 'http'
|
|
532
|
+
},
|
|
533
|
+
{
|
|
534
|
+
scheme: 'bearer',
|
|
535
|
+
type: 'http'
|
|
536
|
+
}
|
|
537
|
+
],
|
|
538
|
+
url: '/api/openportal-managed-projects/{identifier}/{destination}/',
|
|
539
|
+
...options
|
|
540
|
+
});
|
|
541
|
+
};
|
|
542
|
+
/**
|
|
543
|
+
* Get number of items in the collection matching the request parameters.
|
|
544
|
+
*/
|
|
545
|
+
export const openportalManagedProjectsRetrieveHead = (options) => {
|
|
546
|
+
return (options.client ?? _heyApiClient).head({
|
|
547
|
+
security: [
|
|
548
|
+
{
|
|
549
|
+
name: 'Authorization',
|
|
550
|
+
type: 'apiKey'
|
|
551
|
+
},
|
|
552
|
+
{
|
|
553
|
+
scheme: 'bearer',
|
|
554
|
+
type: 'http'
|
|
555
|
+
},
|
|
556
|
+
{
|
|
557
|
+
scheme: 'bearer',
|
|
558
|
+
type: 'http'
|
|
559
|
+
}
|
|
560
|
+
],
|
|
561
|
+
url: '/api/openportal-managed-projects/{identifier}/{destination}/',
|
|
562
|
+
...options
|
|
563
|
+
});
|
|
564
|
+
};
|
|
565
|
+
/**
|
|
566
|
+
* Approve managed project request
|
|
567
|
+
*/
|
|
568
|
+
export const openportalManagedProjectsApprove = (options) => {
|
|
569
|
+
return (options.client ?? _heyApiClient).post({
|
|
570
|
+
security: [
|
|
571
|
+
{
|
|
572
|
+
name: 'Authorization',
|
|
573
|
+
type: 'apiKey'
|
|
574
|
+
},
|
|
575
|
+
{
|
|
576
|
+
scheme: 'bearer',
|
|
577
|
+
type: 'http'
|
|
578
|
+
},
|
|
579
|
+
{
|
|
580
|
+
scheme: 'bearer',
|
|
581
|
+
type: 'http'
|
|
582
|
+
}
|
|
583
|
+
],
|
|
584
|
+
url: '/api/openportal-managed-projects/{identifier}/{destination}/approve/',
|
|
585
|
+
...options,
|
|
586
|
+
headers: {
|
|
587
|
+
'Content-Type': 'application/json',
|
|
588
|
+
...options.headers
|
|
589
|
+
}
|
|
590
|
+
});
|
|
591
|
+
};
|
|
592
|
+
/**
|
|
593
|
+
* Attach a project to this managed project
|
|
594
|
+
*/
|
|
595
|
+
export const openportalManagedProjectsAttach = (options) => {
|
|
596
|
+
return (options.client ?? _heyApiClient).post({
|
|
597
|
+
security: [
|
|
598
|
+
{
|
|
599
|
+
name: 'Authorization',
|
|
600
|
+
type: 'apiKey'
|
|
601
|
+
},
|
|
602
|
+
{
|
|
603
|
+
scheme: 'bearer',
|
|
604
|
+
type: 'http'
|
|
605
|
+
},
|
|
606
|
+
{
|
|
607
|
+
scheme: 'bearer',
|
|
608
|
+
type: 'http'
|
|
609
|
+
}
|
|
610
|
+
],
|
|
611
|
+
url: '/api/openportal-managed-projects/{identifier}/{destination}/attach/',
|
|
612
|
+
...options,
|
|
613
|
+
headers: {
|
|
614
|
+
'Content-Type': 'application/json',
|
|
615
|
+
...options.headers
|
|
616
|
+
}
|
|
617
|
+
});
|
|
618
|
+
};
|
|
619
|
+
/**
|
|
620
|
+
* Delete ManagedProject object
|
|
621
|
+
*/
|
|
622
|
+
export const openportalManagedProjectsDeleteDestroy = (options) => {
|
|
623
|
+
return (options.client ?? _heyApiClient).delete({
|
|
624
|
+
security: [
|
|
625
|
+
{
|
|
626
|
+
name: 'Authorization',
|
|
627
|
+
type: 'apiKey'
|
|
628
|
+
},
|
|
629
|
+
{
|
|
630
|
+
scheme: 'bearer',
|
|
631
|
+
type: 'http'
|
|
632
|
+
},
|
|
633
|
+
{
|
|
634
|
+
scheme: 'bearer',
|
|
635
|
+
type: 'http'
|
|
636
|
+
}
|
|
637
|
+
],
|
|
638
|
+
url: '/api/openportal-managed-projects/{identifier}/{destination}/delete/',
|
|
639
|
+
...options
|
|
640
|
+
});
|
|
641
|
+
};
|
|
642
|
+
/**
|
|
643
|
+
* Detach the project from this managed project
|
|
644
|
+
*/
|
|
645
|
+
export const openportalManagedProjectsDetach = (options) => {
|
|
646
|
+
return (options.client ?? _heyApiClient).post({
|
|
647
|
+
security: [
|
|
648
|
+
{
|
|
649
|
+
name: 'Authorization',
|
|
650
|
+
type: 'apiKey'
|
|
651
|
+
},
|
|
652
|
+
{
|
|
653
|
+
scheme: 'bearer',
|
|
654
|
+
type: 'http'
|
|
655
|
+
},
|
|
656
|
+
{
|
|
657
|
+
scheme: 'bearer',
|
|
658
|
+
type: 'http'
|
|
659
|
+
}
|
|
660
|
+
],
|
|
661
|
+
url: '/api/openportal-managed-projects/{identifier}/{destination}/detach/',
|
|
662
|
+
...options
|
|
663
|
+
});
|
|
664
|
+
};
|
|
665
|
+
/**
|
|
666
|
+
* Reject managed project request
|
|
667
|
+
*/
|
|
668
|
+
export const openportalManagedProjectsReject = (options) => {
|
|
669
|
+
return (options.client ?? _heyApiClient).post({
|
|
670
|
+
security: [
|
|
671
|
+
{
|
|
672
|
+
name: 'Authorization',
|
|
673
|
+
type: 'apiKey'
|
|
674
|
+
},
|
|
675
|
+
{
|
|
676
|
+
scheme: 'bearer',
|
|
677
|
+
type: 'http'
|
|
678
|
+
},
|
|
679
|
+
{
|
|
680
|
+
scheme: 'bearer',
|
|
681
|
+
type: 'http'
|
|
682
|
+
}
|
|
683
|
+
],
|
|
684
|
+
url: '/api/openportal-managed-projects/{identifier}/{destination}/reject/',
|
|
685
|
+
...options,
|
|
686
|
+
headers: {
|
|
687
|
+
'Content-Type': 'application/json',
|
|
688
|
+
...options.headers
|
|
689
|
+
}
|
|
690
|
+
});
|
|
691
|
+
};
|
|
692
|
+
export const openportalProjectStorageReportsList = (options) => {
|
|
693
|
+
return (options?.client ?? _heyApiClient).get({
|
|
694
|
+
security: [
|
|
695
|
+
{
|
|
696
|
+
name: 'Authorization',
|
|
697
|
+
type: 'apiKey'
|
|
698
|
+
},
|
|
699
|
+
{
|
|
700
|
+
scheme: 'bearer',
|
|
701
|
+
type: 'http'
|
|
702
|
+
},
|
|
703
|
+
{
|
|
704
|
+
scheme: 'bearer',
|
|
705
|
+
type: 'http'
|
|
706
|
+
}
|
|
707
|
+
],
|
|
708
|
+
url: '/api/openportal-project-storage-reports/',
|
|
709
|
+
...options
|
|
710
|
+
});
|
|
711
|
+
};
|
|
712
|
+
/**
|
|
713
|
+
* Get number of items in the collection matching the request parameters.
|
|
714
|
+
*/
|
|
715
|
+
export const openportalProjectStorageReportsCount = (options) => {
|
|
716
|
+
return (options?.client ?? _heyApiClient).head({
|
|
717
|
+
security: [
|
|
718
|
+
{
|
|
719
|
+
name: 'Authorization',
|
|
720
|
+
type: 'apiKey'
|
|
721
|
+
},
|
|
722
|
+
{
|
|
723
|
+
scheme: 'bearer',
|
|
724
|
+
type: 'http'
|
|
725
|
+
},
|
|
726
|
+
{
|
|
727
|
+
scheme: 'bearer',
|
|
728
|
+
type: 'http'
|
|
729
|
+
}
|
|
730
|
+
],
|
|
731
|
+
url: '/api/openportal-project-storage-reports/',
|
|
732
|
+
...options
|
|
733
|
+
});
|
|
734
|
+
};
|
|
735
|
+
export const openportalProjectStorageReportsRetrieve = (options) => {
|
|
736
|
+
return (options.client ?? _heyApiClient).get({
|
|
737
|
+
security: [
|
|
738
|
+
{
|
|
739
|
+
name: 'Authorization',
|
|
740
|
+
type: 'apiKey'
|
|
741
|
+
},
|
|
742
|
+
{
|
|
743
|
+
scheme: 'bearer',
|
|
744
|
+
type: 'http'
|
|
745
|
+
},
|
|
746
|
+
{
|
|
747
|
+
scheme: 'bearer',
|
|
748
|
+
type: 'http'
|
|
749
|
+
}
|
|
750
|
+
],
|
|
751
|
+
url: '/api/openportal-project-storage-reports/{id}/',
|
|
752
|
+
...options
|
|
753
|
+
});
|
|
754
|
+
};
|
|
755
|
+
export const openportalProjectTemplateList = (options) => {
|
|
756
|
+
return (options?.client ?? _heyApiClient).get({
|
|
757
|
+
security: [
|
|
758
|
+
{
|
|
759
|
+
name: 'Authorization',
|
|
760
|
+
type: 'apiKey'
|
|
761
|
+
},
|
|
762
|
+
{
|
|
763
|
+
scheme: 'bearer',
|
|
764
|
+
type: 'http'
|
|
765
|
+
},
|
|
766
|
+
{
|
|
767
|
+
scheme: 'bearer',
|
|
768
|
+
type: 'http'
|
|
769
|
+
}
|
|
770
|
+
],
|
|
771
|
+
url: '/api/openportal-project-template/',
|
|
772
|
+
...options
|
|
773
|
+
});
|
|
774
|
+
};
|
|
775
|
+
/**
|
|
776
|
+
* Get number of items in the collection matching the request parameters.
|
|
777
|
+
*/
|
|
778
|
+
export const openportalProjectTemplateCount = (options) => {
|
|
779
|
+
return (options?.client ?? _heyApiClient).head({
|
|
780
|
+
security: [
|
|
781
|
+
{
|
|
782
|
+
name: 'Authorization',
|
|
783
|
+
type: 'apiKey'
|
|
784
|
+
},
|
|
785
|
+
{
|
|
786
|
+
scheme: 'bearer',
|
|
787
|
+
type: 'http'
|
|
788
|
+
},
|
|
789
|
+
{
|
|
790
|
+
scheme: 'bearer',
|
|
791
|
+
type: 'http'
|
|
792
|
+
}
|
|
793
|
+
],
|
|
794
|
+
url: '/api/openportal-project-template/',
|
|
795
|
+
...options
|
|
796
|
+
});
|
|
797
|
+
};
|
|
798
|
+
/**
|
|
799
|
+
* Create ProjectTemplate object
|
|
800
|
+
*/
|
|
801
|
+
export const openportalProjectTemplateCreate = (options) => {
|
|
802
|
+
return (options.client ?? _heyApiClient).post({
|
|
803
|
+
security: [
|
|
804
|
+
{
|
|
805
|
+
name: 'Authorization',
|
|
806
|
+
type: 'apiKey'
|
|
807
|
+
},
|
|
808
|
+
{
|
|
809
|
+
scheme: 'bearer',
|
|
810
|
+
type: 'http'
|
|
811
|
+
},
|
|
812
|
+
{
|
|
813
|
+
scheme: 'bearer',
|
|
814
|
+
type: 'http'
|
|
815
|
+
}
|
|
816
|
+
],
|
|
817
|
+
url: '/api/openportal-project-template/',
|
|
818
|
+
...options,
|
|
819
|
+
headers: {
|
|
820
|
+
'Content-Type': 'application/json',
|
|
821
|
+
...options.headers
|
|
822
|
+
}
|
|
823
|
+
});
|
|
824
|
+
};
|
|
825
|
+
export const openportalProjectTemplateDestroy = (options) => {
|
|
826
|
+
return (options.client ?? _heyApiClient).delete({
|
|
827
|
+
security: [
|
|
828
|
+
{
|
|
829
|
+
name: 'Authorization',
|
|
830
|
+
type: 'apiKey'
|
|
831
|
+
},
|
|
832
|
+
{
|
|
833
|
+
scheme: 'bearer',
|
|
834
|
+
type: 'http'
|
|
835
|
+
},
|
|
836
|
+
{
|
|
837
|
+
scheme: 'bearer',
|
|
838
|
+
type: 'http'
|
|
839
|
+
}
|
|
840
|
+
],
|
|
841
|
+
url: '/api/openportal-project-template/{uuid}/',
|
|
842
|
+
...options
|
|
843
|
+
});
|
|
844
|
+
};
|
|
845
|
+
export const openportalProjectTemplateRetrieve = (options) => {
|
|
846
|
+
return (options.client ?? _heyApiClient).get({
|
|
847
|
+
security: [
|
|
848
|
+
{
|
|
849
|
+
name: 'Authorization',
|
|
850
|
+
type: 'apiKey'
|
|
851
|
+
},
|
|
852
|
+
{
|
|
853
|
+
scheme: 'bearer',
|
|
854
|
+
type: 'http'
|
|
855
|
+
},
|
|
856
|
+
{
|
|
857
|
+
scheme: 'bearer',
|
|
858
|
+
type: 'http'
|
|
859
|
+
}
|
|
860
|
+
],
|
|
861
|
+
url: '/api/openportal-project-template/{uuid}/',
|
|
862
|
+
...options
|
|
863
|
+
});
|
|
864
|
+
};
|
|
865
|
+
/**
|
|
866
|
+
* Partially update ProjectTemplate object
|
|
867
|
+
*/
|
|
868
|
+
export const openportalProjectTemplatePartialUpdate = (options) => {
|
|
869
|
+
return (options.client ?? _heyApiClient).patch({
|
|
870
|
+
security: [
|
|
871
|
+
{
|
|
872
|
+
name: 'Authorization',
|
|
873
|
+
type: 'apiKey'
|
|
874
|
+
},
|
|
875
|
+
{
|
|
876
|
+
scheme: 'bearer',
|
|
877
|
+
type: 'http'
|
|
878
|
+
},
|
|
879
|
+
{
|
|
880
|
+
scheme: 'bearer',
|
|
881
|
+
type: 'http'
|
|
882
|
+
}
|
|
883
|
+
],
|
|
884
|
+
url: '/api/openportal-project-template/{uuid}/',
|
|
885
|
+
...options,
|
|
886
|
+
headers: {
|
|
887
|
+
'Content-Type': 'application/json',
|
|
888
|
+
...options.headers
|
|
889
|
+
}
|
|
890
|
+
});
|
|
891
|
+
};
|
|
892
|
+
/**
|
|
893
|
+
* Update ProjectTemplate object (full update)
|
|
894
|
+
*/
|
|
895
|
+
export const openportalProjectTemplateUpdate = (options) => {
|
|
896
|
+
return (options.client ?? _heyApiClient).put({
|
|
897
|
+
security: [
|
|
898
|
+
{
|
|
899
|
+
name: 'Authorization',
|
|
900
|
+
type: 'apiKey'
|
|
901
|
+
},
|
|
902
|
+
{
|
|
903
|
+
scheme: 'bearer',
|
|
904
|
+
type: 'http'
|
|
905
|
+
},
|
|
906
|
+
{
|
|
907
|
+
scheme: 'bearer',
|
|
908
|
+
type: 'http'
|
|
909
|
+
}
|
|
910
|
+
],
|
|
911
|
+
url: '/api/openportal-project-template/{uuid}/',
|
|
912
|
+
...options,
|
|
913
|
+
headers: {
|
|
914
|
+
'Content-Type': 'application/json',
|
|
915
|
+
...options.headers
|
|
916
|
+
}
|
|
917
|
+
});
|
|
918
|
+
};
|
|
919
|
+
/**
|
|
920
|
+
* Delete ProjectTemplate object
|
|
921
|
+
*/
|
|
922
|
+
export const openportalProjectTemplateDeleteDestroy = (options) => {
|
|
923
|
+
return (options.client ?? _heyApiClient).delete({
|
|
924
|
+
security: [
|
|
925
|
+
{
|
|
926
|
+
name: 'Authorization',
|
|
927
|
+
type: 'apiKey'
|
|
928
|
+
},
|
|
929
|
+
{
|
|
930
|
+
scheme: 'bearer',
|
|
931
|
+
type: 'http'
|
|
932
|
+
},
|
|
933
|
+
{
|
|
934
|
+
scheme: 'bearer',
|
|
935
|
+
type: 'http'
|
|
936
|
+
}
|
|
937
|
+
],
|
|
938
|
+
url: '/api/openportal-project-template/{uuid}/delete/',
|
|
939
|
+
...options
|
|
940
|
+
});
|
|
941
|
+
};
|
|
942
|
+
export const openportalProjectUsageReportsList = (options) => {
|
|
943
|
+
return (options?.client ?? _heyApiClient).get({
|
|
944
|
+
security: [
|
|
945
|
+
{
|
|
946
|
+
name: 'Authorization',
|
|
947
|
+
type: 'apiKey'
|
|
948
|
+
},
|
|
949
|
+
{
|
|
950
|
+
scheme: 'bearer',
|
|
951
|
+
type: 'http'
|
|
952
|
+
},
|
|
953
|
+
{
|
|
954
|
+
scheme: 'bearer',
|
|
955
|
+
type: 'http'
|
|
956
|
+
}
|
|
957
|
+
],
|
|
958
|
+
url: '/api/openportal-project-usage-reports/',
|
|
959
|
+
...options
|
|
960
|
+
});
|
|
961
|
+
};
|
|
962
|
+
/**
|
|
963
|
+
* Get number of items in the collection matching the request parameters.
|
|
964
|
+
*/
|
|
965
|
+
export const openportalProjectUsageReportsCount = (options) => {
|
|
966
|
+
return (options?.client ?? _heyApiClient).head({
|
|
967
|
+
security: [
|
|
968
|
+
{
|
|
969
|
+
name: 'Authorization',
|
|
970
|
+
type: 'apiKey'
|
|
971
|
+
},
|
|
972
|
+
{
|
|
973
|
+
scheme: 'bearer',
|
|
974
|
+
type: 'http'
|
|
975
|
+
},
|
|
976
|
+
{
|
|
977
|
+
scheme: 'bearer',
|
|
978
|
+
type: 'http'
|
|
979
|
+
}
|
|
980
|
+
],
|
|
981
|
+
url: '/api/openportal-project-usage-reports/',
|
|
982
|
+
...options
|
|
983
|
+
});
|
|
984
|
+
};
|
|
985
|
+
export const openportalProjectUsageReportsRetrieve = (options) => {
|
|
986
|
+
return (options.client ?? _heyApiClient).get({
|
|
987
|
+
security: [
|
|
988
|
+
{
|
|
989
|
+
name: 'Authorization',
|
|
990
|
+
type: 'apiKey'
|
|
991
|
+
},
|
|
992
|
+
{
|
|
993
|
+
scheme: 'bearer',
|
|
994
|
+
type: 'http'
|
|
995
|
+
},
|
|
996
|
+
{
|
|
997
|
+
scheme: 'bearer',
|
|
998
|
+
type: 'http'
|
|
999
|
+
}
|
|
1000
|
+
],
|
|
1001
|
+
url: '/api/openportal-project-usage-reports/{id}/',
|
|
1002
|
+
...options
|
|
1003
|
+
});
|
|
1004
|
+
};
|
|
1005
|
+
export const openportalProjectinfoList = (options) => {
|
|
1006
|
+
return (options?.client ?? _heyApiClient).get({
|
|
1007
|
+
security: [
|
|
1008
|
+
{
|
|
1009
|
+
name: 'Authorization',
|
|
1010
|
+
type: 'apiKey'
|
|
1011
|
+
},
|
|
1012
|
+
{
|
|
1013
|
+
scheme: 'bearer',
|
|
1014
|
+
type: 'http'
|
|
1015
|
+
},
|
|
1016
|
+
{
|
|
1017
|
+
scheme: 'bearer',
|
|
1018
|
+
type: 'http'
|
|
1019
|
+
}
|
|
1020
|
+
],
|
|
1021
|
+
url: '/api/openportal-projectinfo/',
|
|
1022
|
+
...options
|
|
1023
|
+
});
|
|
1024
|
+
};
|
|
1025
|
+
/**
|
|
1026
|
+
* Get number of items in the collection matching the request parameters.
|
|
1027
|
+
*/
|
|
1028
|
+
export const openportalProjectinfoCount = (options) => {
|
|
1029
|
+
return (options?.client ?? _heyApiClient).head({
|
|
1030
|
+
security: [
|
|
1031
|
+
{
|
|
1032
|
+
name: 'Authorization',
|
|
1033
|
+
type: 'apiKey'
|
|
1034
|
+
},
|
|
1035
|
+
{
|
|
1036
|
+
scheme: 'bearer',
|
|
1037
|
+
type: 'http'
|
|
1038
|
+
},
|
|
1039
|
+
{
|
|
1040
|
+
scheme: 'bearer',
|
|
1041
|
+
type: 'http'
|
|
1042
|
+
}
|
|
1043
|
+
],
|
|
1044
|
+
url: '/api/openportal-projectinfo/',
|
|
1045
|
+
...options
|
|
1046
|
+
});
|
|
1047
|
+
};
|
|
1048
|
+
export const openportalProjectinfoCreate = (options) => {
|
|
1049
|
+
return (options.client ?? _heyApiClient).post({
|
|
1050
|
+
security: [
|
|
1051
|
+
{
|
|
1052
|
+
name: 'Authorization',
|
|
1053
|
+
type: 'apiKey'
|
|
1054
|
+
},
|
|
1055
|
+
{
|
|
1056
|
+
scheme: 'bearer',
|
|
1057
|
+
type: 'http'
|
|
1058
|
+
},
|
|
1059
|
+
{
|
|
1060
|
+
scheme: 'bearer',
|
|
1061
|
+
type: 'http'
|
|
1062
|
+
}
|
|
1063
|
+
],
|
|
1064
|
+
url: '/api/openportal-projectinfo/',
|
|
1065
|
+
...options,
|
|
1066
|
+
headers: {
|
|
1067
|
+
'Content-Type': 'application/json',
|
|
1068
|
+
...options.headers
|
|
1069
|
+
}
|
|
1070
|
+
});
|
|
1071
|
+
};
|
|
1072
|
+
export const openportalProjectinfoDestroy = (options) => {
|
|
1073
|
+
return (options.client ?? _heyApiClient).delete({
|
|
1074
|
+
security: [
|
|
1075
|
+
{
|
|
1076
|
+
name: 'Authorization',
|
|
1077
|
+
type: 'apiKey'
|
|
1078
|
+
},
|
|
1079
|
+
{
|
|
1080
|
+
scheme: 'bearer',
|
|
1081
|
+
type: 'http'
|
|
1082
|
+
},
|
|
1083
|
+
{
|
|
1084
|
+
scheme: 'bearer',
|
|
1085
|
+
type: 'http'
|
|
1086
|
+
}
|
|
1087
|
+
],
|
|
1088
|
+
url: '/api/openportal-projectinfo/{project}/',
|
|
1089
|
+
...options
|
|
1090
|
+
});
|
|
1091
|
+
};
|
|
1092
|
+
export const openportalProjectinfoRetrieve = (options) => {
|
|
1093
|
+
return (options.client ?? _heyApiClient).get({
|
|
1094
|
+
security: [
|
|
1095
|
+
{
|
|
1096
|
+
name: 'Authorization',
|
|
1097
|
+
type: 'apiKey'
|
|
1098
|
+
},
|
|
1099
|
+
{
|
|
1100
|
+
scheme: 'bearer',
|
|
1101
|
+
type: 'http'
|
|
1102
|
+
},
|
|
1103
|
+
{
|
|
1104
|
+
scheme: 'bearer',
|
|
1105
|
+
type: 'http'
|
|
1106
|
+
}
|
|
1107
|
+
],
|
|
1108
|
+
url: '/api/openportal-projectinfo/{project}/',
|
|
1109
|
+
...options
|
|
1110
|
+
});
|
|
1111
|
+
};
|
|
1112
|
+
export const openportalProjectinfoPartialUpdate = (options) => {
|
|
1113
|
+
return (options.client ?? _heyApiClient).patch({
|
|
1114
|
+
security: [
|
|
1115
|
+
{
|
|
1116
|
+
name: 'Authorization',
|
|
1117
|
+
type: 'apiKey'
|
|
1118
|
+
},
|
|
1119
|
+
{
|
|
1120
|
+
scheme: 'bearer',
|
|
1121
|
+
type: 'http'
|
|
1122
|
+
},
|
|
1123
|
+
{
|
|
1124
|
+
scheme: 'bearer',
|
|
1125
|
+
type: 'http'
|
|
1126
|
+
}
|
|
1127
|
+
],
|
|
1128
|
+
url: '/api/openportal-projectinfo/{project}/',
|
|
1129
|
+
...options,
|
|
1130
|
+
headers: {
|
|
1131
|
+
'Content-Type': 'application/json',
|
|
1132
|
+
...options.headers
|
|
1133
|
+
}
|
|
1134
|
+
});
|
|
1135
|
+
};
|
|
1136
|
+
export const openportalProjectinfoUpdate = (options) => {
|
|
1137
|
+
return (options.client ?? _heyApiClient).put({
|
|
1138
|
+
security: [
|
|
1139
|
+
{
|
|
1140
|
+
name: 'Authorization',
|
|
1141
|
+
type: 'apiKey'
|
|
1142
|
+
},
|
|
1143
|
+
{
|
|
1144
|
+
scheme: 'bearer',
|
|
1145
|
+
type: 'http'
|
|
1146
|
+
},
|
|
1147
|
+
{
|
|
1148
|
+
scheme: 'bearer',
|
|
1149
|
+
type: 'http'
|
|
1150
|
+
}
|
|
1151
|
+
],
|
|
1152
|
+
url: '/api/openportal-projectinfo/{project}/',
|
|
1153
|
+
...options,
|
|
1154
|
+
headers: {
|
|
1155
|
+
'Content-Type': 'application/json',
|
|
1156
|
+
...options.headers
|
|
1157
|
+
}
|
|
1158
|
+
});
|
|
1159
|
+
};
|
|
1160
|
+
export const openportalProjectinfoSetAllowedDestinationsUpdate = (options) => {
|
|
1161
|
+
return (options.client ?? _heyApiClient).put({
|
|
1162
|
+
security: [
|
|
1163
|
+
{
|
|
1164
|
+
name: 'Authorization',
|
|
1165
|
+
type: 'apiKey'
|
|
1166
|
+
},
|
|
1167
|
+
{
|
|
1168
|
+
scheme: 'bearer',
|
|
1169
|
+
type: 'http'
|
|
1170
|
+
},
|
|
1171
|
+
{
|
|
1172
|
+
scheme: 'bearer',
|
|
1173
|
+
type: 'http'
|
|
1174
|
+
}
|
|
1175
|
+
],
|
|
1176
|
+
url: '/api/openportal-projectinfo/{project}/set_allowed_destinations/',
|
|
1177
|
+
...options,
|
|
1178
|
+
headers: {
|
|
1179
|
+
'Content-Type': 'application/json',
|
|
1180
|
+
...options.headers
|
|
1181
|
+
}
|
|
1182
|
+
});
|
|
1183
|
+
};
|
|
1184
|
+
export const openportalProjectinfoSetShortnameUpdate = (options) => {
|
|
1185
|
+
return (options.client ?? _heyApiClient).put({
|
|
1186
|
+
security: [
|
|
1187
|
+
{
|
|
1188
|
+
name: 'Authorization',
|
|
1189
|
+
type: 'apiKey'
|
|
1190
|
+
},
|
|
1191
|
+
{
|
|
1192
|
+
scheme: 'bearer',
|
|
1193
|
+
type: 'http'
|
|
1194
|
+
},
|
|
1195
|
+
{
|
|
1196
|
+
scheme: 'bearer',
|
|
1197
|
+
type: 'http'
|
|
1198
|
+
}
|
|
1199
|
+
],
|
|
1200
|
+
url: '/api/openportal-projectinfo/{project}/set_shortname/',
|
|
1201
|
+
...options,
|
|
1202
|
+
headers: {
|
|
1203
|
+
'Content-Type': 'application/json',
|
|
1204
|
+
...options.headers
|
|
1205
|
+
}
|
|
1206
|
+
});
|
|
1207
|
+
};
|
|
1208
|
+
export const openportalRemoteAllocationsList = (options) => {
|
|
1209
|
+
return (options?.client ?? _heyApiClient).get({
|
|
1210
|
+
security: [
|
|
1211
|
+
{
|
|
1212
|
+
name: 'Authorization',
|
|
1213
|
+
type: 'apiKey'
|
|
1214
|
+
},
|
|
1215
|
+
{
|
|
1216
|
+
scheme: 'bearer',
|
|
1217
|
+
type: 'http'
|
|
1218
|
+
},
|
|
1219
|
+
{
|
|
1220
|
+
scheme: 'bearer',
|
|
1221
|
+
type: 'http'
|
|
1222
|
+
}
|
|
1223
|
+
],
|
|
1224
|
+
url: '/api/openportal-remote-allocations/',
|
|
1225
|
+
...options
|
|
1226
|
+
});
|
|
1227
|
+
};
|
|
1228
|
+
/**
|
|
1229
|
+
* Get number of items in the collection matching the request parameters.
|
|
1230
|
+
*/
|
|
1231
|
+
export const openportalRemoteAllocationsCount = (options) => {
|
|
1232
|
+
return (options?.client ?? _heyApiClient).head({
|
|
1233
|
+
security: [
|
|
1234
|
+
{
|
|
1235
|
+
name: 'Authorization',
|
|
1236
|
+
type: 'apiKey'
|
|
1237
|
+
},
|
|
1238
|
+
{
|
|
1239
|
+
scheme: 'bearer',
|
|
1240
|
+
type: 'http'
|
|
1241
|
+
},
|
|
1242
|
+
{
|
|
1243
|
+
scheme: 'bearer',
|
|
1244
|
+
type: 'http'
|
|
1245
|
+
}
|
|
1246
|
+
],
|
|
1247
|
+
url: '/api/openportal-remote-allocations/',
|
|
1248
|
+
...options
|
|
1249
|
+
});
|
|
1250
|
+
};
|
|
1251
|
+
export const openportalRemoteAllocationsCreate = (options) => {
|
|
1252
|
+
return (options.client ?? _heyApiClient).post({
|
|
1253
|
+
security: [
|
|
1254
|
+
{
|
|
1255
|
+
name: 'Authorization',
|
|
1256
|
+
type: 'apiKey'
|
|
1257
|
+
},
|
|
1258
|
+
{
|
|
1259
|
+
scheme: 'bearer',
|
|
1260
|
+
type: 'http'
|
|
1261
|
+
},
|
|
1262
|
+
{
|
|
1263
|
+
scheme: 'bearer',
|
|
1264
|
+
type: 'http'
|
|
1265
|
+
}
|
|
1266
|
+
],
|
|
1267
|
+
url: '/api/openportal-remote-allocations/',
|
|
1268
|
+
...options,
|
|
1269
|
+
headers: {
|
|
1270
|
+
'Content-Type': 'application/json',
|
|
1271
|
+
...options.headers
|
|
1272
|
+
}
|
|
1273
|
+
});
|
|
1274
|
+
};
|
|
1275
|
+
export const openportalRemoteAllocationsDestroy = (options) => {
|
|
1276
|
+
return (options.client ?? _heyApiClient).delete({
|
|
1277
|
+
security: [
|
|
1278
|
+
{
|
|
1279
|
+
name: 'Authorization',
|
|
1280
|
+
type: 'apiKey'
|
|
1281
|
+
},
|
|
1282
|
+
{
|
|
1283
|
+
scheme: 'bearer',
|
|
1284
|
+
type: 'http'
|
|
1285
|
+
},
|
|
1286
|
+
{
|
|
1287
|
+
scheme: 'bearer',
|
|
1288
|
+
type: 'http'
|
|
1289
|
+
}
|
|
1290
|
+
],
|
|
1291
|
+
url: '/api/openportal-remote-allocations/{uuid}/',
|
|
1292
|
+
...options
|
|
1293
|
+
});
|
|
1294
|
+
};
|
|
1295
|
+
export const openportalRemoteAllocationsRetrieve = (options) => {
|
|
1296
|
+
return (options.client ?? _heyApiClient).get({
|
|
1297
|
+
security: [
|
|
1298
|
+
{
|
|
1299
|
+
name: 'Authorization',
|
|
1300
|
+
type: 'apiKey'
|
|
1301
|
+
},
|
|
1302
|
+
{
|
|
1303
|
+
scheme: 'bearer',
|
|
1304
|
+
type: 'http'
|
|
1305
|
+
},
|
|
1306
|
+
{
|
|
1307
|
+
scheme: 'bearer',
|
|
1308
|
+
type: 'http'
|
|
1309
|
+
}
|
|
1310
|
+
],
|
|
1311
|
+
url: '/api/openportal-remote-allocations/{uuid}/',
|
|
1312
|
+
...options
|
|
1313
|
+
});
|
|
1314
|
+
};
|
|
1315
|
+
export const openportalRemoteAllocationsPartialUpdate = (options) => {
|
|
1316
|
+
return (options.client ?? _heyApiClient).patch({
|
|
1317
|
+
security: [
|
|
1318
|
+
{
|
|
1319
|
+
name: 'Authorization',
|
|
1320
|
+
type: 'apiKey'
|
|
1321
|
+
},
|
|
1322
|
+
{
|
|
1323
|
+
scheme: 'bearer',
|
|
1324
|
+
type: 'http'
|
|
1325
|
+
},
|
|
1326
|
+
{
|
|
1327
|
+
scheme: 'bearer',
|
|
1328
|
+
type: 'http'
|
|
1329
|
+
}
|
|
1330
|
+
],
|
|
1331
|
+
url: '/api/openportal-remote-allocations/{uuid}/',
|
|
1332
|
+
...options,
|
|
1333
|
+
headers: {
|
|
1334
|
+
'Content-Type': 'application/json',
|
|
1335
|
+
...options.headers
|
|
1336
|
+
}
|
|
1337
|
+
});
|
|
1338
|
+
};
|
|
1339
|
+
export const openportalRemoteAllocationsUpdate = (options) => {
|
|
1340
|
+
return (options.client ?? _heyApiClient).put({
|
|
1341
|
+
security: [
|
|
1342
|
+
{
|
|
1343
|
+
name: 'Authorization',
|
|
1344
|
+
type: 'apiKey'
|
|
1345
|
+
},
|
|
1346
|
+
{
|
|
1347
|
+
scheme: 'bearer',
|
|
1348
|
+
type: 'http'
|
|
1349
|
+
},
|
|
1350
|
+
{
|
|
1351
|
+
scheme: 'bearer',
|
|
1352
|
+
type: 'http'
|
|
1353
|
+
}
|
|
1354
|
+
],
|
|
1355
|
+
url: '/api/openportal-remote-allocations/{uuid}/',
|
|
1356
|
+
...options,
|
|
1357
|
+
headers: {
|
|
1358
|
+
'Content-Type': 'application/json',
|
|
1359
|
+
...options.headers
|
|
1360
|
+
}
|
|
1361
|
+
});
|
|
1362
|
+
};
|
|
1363
|
+
/**
|
|
1364
|
+
* Synchronize resource state
|
|
1365
|
+
* Schedule an asynchronous pull operation to synchronize resource state from the backend. Returns 202 if the pull was scheduled successfully, or 409 if the pull operation is not implemented for this resource type.
|
|
1366
|
+
*/
|
|
1367
|
+
export const openportalRemoteAllocationsPull = (options) => {
|
|
1368
|
+
return (options.client ?? _heyApiClient).post({
|
|
1369
|
+
security: [
|
|
1370
|
+
{
|
|
1371
|
+
name: 'Authorization',
|
|
1372
|
+
type: 'apiKey'
|
|
1373
|
+
},
|
|
1374
|
+
{
|
|
1375
|
+
scheme: 'bearer',
|
|
1376
|
+
type: 'http'
|
|
1377
|
+
},
|
|
1378
|
+
{
|
|
1379
|
+
scheme: 'bearer',
|
|
1380
|
+
type: 'http'
|
|
1381
|
+
}
|
|
1382
|
+
],
|
|
1383
|
+
url: '/api/openportal-remote-allocations/{uuid}/pull/',
|
|
1384
|
+
...options
|
|
1385
|
+
});
|
|
1386
|
+
};
|
|
1387
|
+
/**
|
|
1388
|
+
* Mark resource as ERRED
|
|
1389
|
+
* Manually transition the resource to ERRED state. This is useful for resources stuck in transitional states (CREATING, UPDATING, DELETING) that cannot be synced via pull. Staff-only operation.
|
|
1390
|
+
*/
|
|
1391
|
+
export const openportalRemoteAllocationsSetErred = (options) => {
|
|
1392
|
+
return (options.client ?? _heyApiClient).post({
|
|
1393
|
+
security: [
|
|
1394
|
+
{
|
|
1395
|
+
name: 'Authorization',
|
|
1396
|
+
type: 'apiKey'
|
|
1397
|
+
},
|
|
1398
|
+
{
|
|
1399
|
+
scheme: 'bearer',
|
|
1400
|
+
type: 'http'
|
|
1401
|
+
},
|
|
1402
|
+
{
|
|
1403
|
+
scheme: 'bearer',
|
|
1404
|
+
type: 'http'
|
|
1405
|
+
}
|
|
1406
|
+
],
|
|
1407
|
+
url: '/api/openportal-remote-allocations/{uuid}/set_erred/',
|
|
1408
|
+
...options,
|
|
1409
|
+
headers: {
|
|
1410
|
+
'Content-Type': 'application/json',
|
|
1411
|
+
...options.headers
|
|
1412
|
+
}
|
|
1413
|
+
});
|
|
1414
|
+
};
|
|
1415
|
+
export const openportalRemoteAllocationsSetLimits = (options) => {
|
|
1416
|
+
return (options.client ?? _heyApiClient).post({
|
|
1417
|
+
security: [
|
|
1418
|
+
{
|
|
1419
|
+
name: 'Authorization',
|
|
1420
|
+
type: 'apiKey'
|
|
1421
|
+
},
|
|
1422
|
+
{
|
|
1423
|
+
scheme: 'bearer',
|
|
1424
|
+
type: 'http'
|
|
1425
|
+
},
|
|
1426
|
+
{
|
|
1427
|
+
scheme: 'bearer',
|
|
1428
|
+
type: 'http'
|
|
1429
|
+
}
|
|
1430
|
+
],
|
|
1431
|
+
url: '/api/openportal-remote-allocations/{uuid}/set_limits/',
|
|
1432
|
+
...options,
|
|
1433
|
+
headers: {
|
|
1434
|
+
'Content-Type': 'application/json',
|
|
1435
|
+
...options.headers
|
|
1436
|
+
}
|
|
1437
|
+
});
|
|
1438
|
+
};
|
|
1439
|
+
/**
|
|
1440
|
+
* Mark resource as OK
|
|
1441
|
+
* Manually transition the resource to OK state and clear error fields. Staff-only operation.
|
|
1442
|
+
*/
|
|
1443
|
+
export const openportalRemoteAllocationsSetOk = (options) => {
|
|
1444
|
+
return (options.client ?? _heyApiClient).post({
|
|
1445
|
+
security: [
|
|
1446
|
+
{
|
|
1447
|
+
name: 'Authorization',
|
|
1448
|
+
type: 'apiKey'
|
|
1449
|
+
},
|
|
1450
|
+
{
|
|
1451
|
+
scheme: 'bearer',
|
|
1452
|
+
type: 'http'
|
|
1453
|
+
},
|
|
1454
|
+
{
|
|
1455
|
+
scheme: 'bearer',
|
|
1456
|
+
type: 'http'
|
|
1457
|
+
}
|
|
1458
|
+
],
|
|
1459
|
+
url: '/api/openportal-remote-allocations/{uuid}/set_ok/',
|
|
1460
|
+
...options
|
|
1461
|
+
});
|
|
1462
|
+
};
|
|
1463
|
+
/**
|
|
1464
|
+
* Unlink resource
|
|
1465
|
+
* Delete resource from the database without scheduling operations on backend
|
|
1466
|
+
* and without checking current state of the resource. It is intended to be used
|
|
1467
|
+
* for removing resource stuck in transitioning state.
|
|
1468
|
+
*/
|
|
1469
|
+
export const openportalRemoteAllocationsUnlink = (options) => {
|
|
1470
|
+
return (options.client ?? _heyApiClient).post({
|
|
1471
|
+
security: [
|
|
1472
|
+
{
|
|
1473
|
+
name: 'Authorization',
|
|
1474
|
+
type: 'apiKey'
|
|
1475
|
+
},
|
|
1476
|
+
{
|
|
1477
|
+
scheme: 'bearer',
|
|
1478
|
+
type: 'http'
|
|
1479
|
+
},
|
|
1480
|
+
{
|
|
1481
|
+
scheme: 'bearer',
|
|
1482
|
+
type: 'http'
|
|
1483
|
+
}
|
|
1484
|
+
],
|
|
1485
|
+
url: '/api/openportal-remote-allocations/{uuid}/unlink/',
|
|
1486
|
+
...options
|
|
1487
|
+
});
|
|
1488
|
+
};
|
|
1489
|
+
export const openportalRemoteAssociationsList = (options) => {
|
|
1490
|
+
return (options?.client ?? _heyApiClient).get({
|
|
1491
|
+
security: [
|
|
1492
|
+
{
|
|
1493
|
+
name: 'Authorization',
|
|
1494
|
+
type: 'apiKey'
|
|
1495
|
+
},
|
|
1496
|
+
{
|
|
1497
|
+
scheme: 'bearer',
|
|
1498
|
+
type: 'http'
|
|
1499
|
+
},
|
|
1500
|
+
{
|
|
1501
|
+
scheme: 'bearer',
|
|
1502
|
+
type: 'http'
|
|
1503
|
+
}
|
|
1504
|
+
],
|
|
1505
|
+
url: '/api/openportal-remote-associations/',
|
|
1506
|
+
...options
|
|
1507
|
+
});
|
|
1508
|
+
};
|
|
1509
|
+
/**
|
|
1510
|
+
* Get number of items in the collection matching the request parameters.
|
|
1511
|
+
*/
|
|
1512
|
+
export const openportalRemoteAssociationsCount = (options) => {
|
|
1513
|
+
return (options?.client ?? _heyApiClient).head({
|
|
1514
|
+
security: [
|
|
1515
|
+
{
|
|
1516
|
+
name: 'Authorization',
|
|
1517
|
+
type: 'apiKey'
|
|
1518
|
+
},
|
|
1519
|
+
{
|
|
1520
|
+
scheme: 'bearer',
|
|
1521
|
+
type: 'http'
|
|
1522
|
+
},
|
|
1523
|
+
{
|
|
1524
|
+
scheme: 'bearer',
|
|
1525
|
+
type: 'http'
|
|
1526
|
+
}
|
|
1527
|
+
],
|
|
1528
|
+
url: '/api/openportal-remote-associations/',
|
|
1529
|
+
...options
|
|
1530
|
+
});
|
|
1531
|
+
};
|
|
1532
|
+
export const openportalRemoteAssociationsRetrieve = (options) => {
|
|
1533
|
+
return (options.client ?? _heyApiClient).get({
|
|
1534
|
+
security: [
|
|
1535
|
+
{
|
|
1536
|
+
name: 'Authorization',
|
|
1537
|
+
type: 'apiKey'
|
|
1538
|
+
},
|
|
1539
|
+
{
|
|
1540
|
+
scheme: 'bearer',
|
|
1541
|
+
type: 'http'
|
|
1542
|
+
},
|
|
1543
|
+
{
|
|
1544
|
+
scheme: 'bearer',
|
|
1545
|
+
type: 'http'
|
|
1546
|
+
}
|
|
1547
|
+
],
|
|
1548
|
+
url: '/api/openportal-remote-associations/{uuid}/',
|
|
1549
|
+
...options
|
|
1550
|
+
});
|
|
1551
|
+
};
|
|
1552
|
+
/**
|
|
1553
|
+
* List projects
|
|
1554
|
+
* Retrieve a list of projects. The list is filtered based on the user's permissions. By default, only active projects are shown.
|
|
1555
|
+
*/
|
|
1556
|
+
export const openportalUnmanagedProjectsList = (options) => {
|
|
1557
|
+
return (options?.client ?? _heyApiClient).get({
|
|
1558
|
+
security: [
|
|
1559
|
+
{
|
|
1560
|
+
name: 'Authorization',
|
|
1561
|
+
type: 'apiKey'
|
|
1562
|
+
},
|
|
1563
|
+
{
|
|
1564
|
+
scheme: 'bearer',
|
|
1565
|
+
type: 'http'
|
|
1566
|
+
},
|
|
1567
|
+
{
|
|
1568
|
+
scheme: 'bearer',
|
|
1569
|
+
type: 'http'
|
|
1570
|
+
}
|
|
1571
|
+
],
|
|
1572
|
+
url: '/api/openportal-unmanaged-projects/',
|
|
1573
|
+
...options
|
|
1574
|
+
});
|
|
1575
|
+
};
|
|
1576
|
+
/**
|
|
1577
|
+
* List projects
|
|
1578
|
+
* Get number of items in the collection matching the request parameters.
|
|
1579
|
+
*/
|
|
1580
|
+
export const openportalUnmanagedProjectsCount = (options) => {
|
|
1581
|
+
return (options?.client ?? _heyApiClient).head({
|
|
1582
|
+
security: [
|
|
1583
|
+
{
|
|
1584
|
+
name: 'Authorization',
|
|
1585
|
+
type: 'apiKey'
|
|
1586
|
+
},
|
|
1587
|
+
{
|
|
1588
|
+
scheme: 'bearer',
|
|
1589
|
+
type: 'http'
|
|
1590
|
+
},
|
|
1591
|
+
{
|
|
1592
|
+
scheme: 'bearer',
|
|
1593
|
+
type: 'http'
|
|
1594
|
+
}
|
|
1595
|
+
],
|
|
1596
|
+
url: '/api/openportal-unmanaged-projects/',
|
|
1597
|
+
...options
|
|
1598
|
+
});
|
|
1599
|
+
};
|
|
1600
|
+
/**
|
|
1601
|
+
* Create a new project
|
|
1602
|
+
* A new project can be created by users with staff privilege (is_staff=True) or customer owners. Project resource quota is optional.
|
|
1603
|
+
*/
|
|
1604
|
+
export const openportalUnmanagedProjectsCreate = (options) => {
|
|
1605
|
+
return (options.client ?? _heyApiClient).post({
|
|
1606
|
+
security: [
|
|
1607
|
+
{
|
|
1608
|
+
name: 'Authorization',
|
|
1609
|
+
type: 'apiKey'
|
|
1610
|
+
},
|
|
1611
|
+
{
|
|
1612
|
+
scheme: 'bearer',
|
|
1613
|
+
type: 'http'
|
|
1614
|
+
},
|
|
1615
|
+
{
|
|
1616
|
+
scheme: 'bearer',
|
|
1617
|
+
type: 'http'
|
|
1618
|
+
}
|
|
1619
|
+
],
|
|
1620
|
+
url: '/api/openportal-unmanaged-projects/',
|
|
1621
|
+
...options,
|
|
1622
|
+
headers: {
|
|
1623
|
+
'Content-Type': 'application/json',
|
|
1624
|
+
...options.headers
|
|
1625
|
+
}
|
|
1626
|
+
});
|
|
1627
|
+
};
|
|
1628
|
+
/**
|
|
1629
|
+
* Delete a project
|
|
1630
|
+
* Delete a project. If the project has any active resources, the deletion request will fail with a 409 Conflict response. This action performs a soft-delete, and the project can be recovered later.
|
|
1631
|
+
*/
|
|
1632
|
+
export const openportalUnmanagedProjectsDestroy = (options) => {
|
|
1633
|
+
return (options.client ?? _heyApiClient).delete({
|
|
1634
|
+
security: [
|
|
1635
|
+
{
|
|
1636
|
+
name: 'Authorization',
|
|
1637
|
+
type: 'apiKey'
|
|
1638
|
+
},
|
|
1639
|
+
{
|
|
1640
|
+
scheme: 'bearer',
|
|
1641
|
+
type: 'http'
|
|
1642
|
+
},
|
|
1643
|
+
{
|
|
1644
|
+
scheme: 'bearer',
|
|
1645
|
+
type: 'http'
|
|
1646
|
+
}
|
|
1647
|
+
],
|
|
1648
|
+
url: '/api/openportal-unmanaged-projects/{uuid}/',
|
|
1649
|
+
...options
|
|
1650
|
+
});
|
|
1651
|
+
};
|
|
1652
|
+
/**
|
|
1653
|
+
* Retrieve project details
|
|
1654
|
+
* Fetch the details of a specific project by its UUID. Users can access details of terminated projects they previously had access to.
|
|
1655
|
+
*/
|
|
1656
|
+
export const openportalUnmanagedProjectsRetrieve = (options) => {
|
|
1657
|
+
return (options.client ?? _heyApiClient).get({
|
|
1658
|
+
security: [
|
|
1659
|
+
{
|
|
1660
|
+
name: 'Authorization',
|
|
1661
|
+
type: 'apiKey'
|
|
1662
|
+
},
|
|
1663
|
+
{
|
|
1664
|
+
scheme: 'bearer',
|
|
1665
|
+
type: 'http'
|
|
1666
|
+
},
|
|
1667
|
+
{
|
|
1668
|
+
scheme: 'bearer',
|
|
1669
|
+
type: 'http'
|
|
1670
|
+
}
|
|
1671
|
+
],
|
|
1672
|
+
url: '/api/openportal-unmanaged-projects/{uuid}/',
|
|
1673
|
+
...options
|
|
1674
|
+
});
|
|
1675
|
+
};
|
|
1676
|
+
/**
|
|
1677
|
+
* Partially update project details
|
|
1678
|
+
* Partially update the details of a project. Requires project administrator or customer owner permissions.
|
|
1679
|
+
*/
|
|
1680
|
+
export const openportalUnmanagedProjectsPartialUpdate = (options) => {
|
|
1681
|
+
return (options.client ?? _heyApiClient).patch({
|
|
1682
|
+
security: [
|
|
1683
|
+
{
|
|
1684
|
+
name: 'Authorization',
|
|
1685
|
+
type: 'apiKey'
|
|
1686
|
+
},
|
|
1687
|
+
{
|
|
1688
|
+
scheme: 'bearer',
|
|
1689
|
+
type: 'http'
|
|
1690
|
+
},
|
|
1691
|
+
{
|
|
1692
|
+
scheme: 'bearer',
|
|
1693
|
+
type: 'http'
|
|
1694
|
+
}
|
|
1695
|
+
],
|
|
1696
|
+
url: '/api/openportal-unmanaged-projects/{uuid}/',
|
|
1697
|
+
...options,
|
|
1698
|
+
headers: {
|
|
1699
|
+
'Content-Type': 'application/json',
|
|
1700
|
+
...options.headers
|
|
1701
|
+
}
|
|
1702
|
+
});
|
|
1703
|
+
};
|
|
1704
|
+
/**
|
|
1705
|
+
* Update project details
|
|
1706
|
+
* Update the details of a project. Requires project administrator or customer owner permissions.
|
|
1707
|
+
*/
|
|
1708
|
+
export const openportalUnmanagedProjectsUpdate = (options) => {
|
|
1709
|
+
return (options.client ?? _heyApiClient).put({
|
|
1710
|
+
security: [
|
|
1711
|
+
{
|
|
1712
|
+
name: 'Authorization',
|
|
1713
|
+
type: 'apiKey'
|
|
1714
|
+
},
|
|
1715
|
+
{
|
|
1716
|
+
scheme: 'bearer',
|
|
1717
|
+
type: 'http'
|
|
1718
|
+
},
|
|
1719
|
+
{
|
|
1720
|
+
scheme: 'bearer',
|
|
1721
|
+
type: 'http'
|
|
1722
|
+
}
|
|
1723
|
+
],
|
|
1724
|
+
url: '/api/openportal-unmanaged-projects/{uuid}/',
|
|
1725
|
+
...options,
|
|
1726
|
+
headers: {
|
|
1727
|
+
'Content-Type': 'application/json',
|
|
1728
|
+
...options.headers
|
|
1729
|
+
}
|
|
1730
|
+
});
|
|
1731
|
+
};
|
|
1732
|
+
/**
|
|
1733
|
+
* Grant a role to a user
|
|
1734
|
+
* Assigns a specific role to a user within the current scope. An optional expiration time for the role can be set.
|
|
1735
|
+
*/
|
|
1736
|
+
export const openportalUnmanagedProjectsAddUser = (options) => {
|
|
1737
|
+
return (options.client ?? _heyApiClient).post({
|
|
1738
|
+
security: [
|
|
1739
|
+
{
|
|
1740
|
+
name: 'Authorization',
|
|
1741
|
+
type: 'apiKey'
|
|
1742
|
+
},
|
|
1743
|
+
{
|
|
1744
|
+
scheme: 'bearer',
|
|
1745
|
+
type: 'http'
|
|
1746
|
+
},
|
|
1747
|
+
{
|
|
1748
|
+
scheme: 'bearer',
|
|
1749
|
+
type: 'http'
|
|
1750
|
+
}
|
|
1751
|
+
],
|
|
1752
|
+
url: '/api/openportal-unmanaged-projects/{uuid}/add_user/',
|
|
1753
|
+
...options,
|
|
1754
|
+
headers: {
|
|
1755
|
+
'Content-Type': 'application/json',
|
|
1756
|
+
...options.headers
|
|
1757
|
+
}
|
|
1758
|
+
});
|
|
1759
|
+
};
|
|
1760
|
+
/**
|
|
1761
|
+
* Get checklist with questions and existing answers.
|
|
1762
|
+
*/
|
|
1763
|
+
export const openportalUnmanagedProjectsChecklistRetrieve = (options) => {
|
|
1764
|
+
return (options.client ?? _heyApiClient).get({
|
|
1765
|
+
security: [
|
|
1766
|
+
{
|
|
1767
|
+
name: 'Authorization',
|
|
1768
|
+
type: 'apiKey'
|
|
1769
|
+
},
|
|
1770
|
+
{
|
|
1771
|
+
scheme: 'bearer',
|
|
1772
|
+
type: 'http'
|
|
1773
|
+
},
|
|
1774
|
+
{
|
|
1775
|
+
scheme: 'bearer',
|
|
1776
|
+
type: 'http'
|
|
1777
|
+
}
|
|
1778
|
+
],
|
|
1779
|
+
url: '/api/openportal-unmanaged-projects/{uuid}/checklist/',
|
|
1780
|
+
...options
|
|
1781
|
+
});
|
|
1782
|
+
};
|
|
1783
|
+
/**
|
|
1784
|
+
* Get checklist completion status.
|
|
1785
|
+
*/
|
|
1786
|
+
export const openportalUnmanagedProjectsCompletionStatusRetrieve = (options) => {
|
|
1787
|
+
return (options.client ?? _heyApiClient).get({
|
|
1788
|
+
security: [
|
|
1789
|
+
{
|
|
1790
|
+
name: 'Authorization',
|
|
1791
|
+
type: 'apiKey'
|
|
1792
|
+
},
|
|
1793
|
+
{
|
|
1794
|
+
scheme: 'bearer',
|
|
1795
|
+
type: 'http'
|
|
1796
|
+
},
|
|
1797
|
+
{
|
|
1798
|
+
scheme: 'bearer',
|
|
1799
|
+
type: 'http'
|
|
1800
|
+
}
|
|
1801
|
+
],
|
|
1802
|
+
url: '/api/openportal-unmanaged-projects/{uuid}/completion_status/',
|
|
1803
|
+
...options
|
|
1804
|
+
});
|
|
1805
|
+
};
|
|
1806
|
+
/**
|
|
1807
|
+
* Revoke a role from a user
|
|
1808
|
+
* Removes a specific role from a user within the current scope. This effectively revokes their permissions associated with that role.
|
|
1809
|
+
*/
|
|
1810
|
+
export const openportalUnmanagedProjectsDeleteUser = (options) => {
|
|
1811
|
+
return (options.client ?? _heyApiClient).post({
|
|
1812
|
+
security: [
|
|
1813
|
+
{
|
|
1814
|
+
name: 'Authorization',
|
|
1815
|
+
type: 'apiKey'
|
|
1816
|
+
},
|
|
1817
|
+
{
|
|
1818
|
+
scheme: 'bearer',
|
|
1819
|
+
type: 'http'
|
|
1820
|
+
},
|
|
1821
|
+
{
|
|
1822
|
+
scheme: 'bearer',
|
|
1823
|
+
type: 'http'
|
|
1824
|
+
}
|
|
1825
|
+
],
|
|
1826
|
+
url: '/api/openportal-unmanaged-projects/{uuid}/delete_user/',
|
|
1827
|
+
...options,
|
|
1828
|
+
headers: {
|
|
1829
|
+
'Content-Type': 'application/json',
|
|
1830
|
+
...options.headers
|
|
1831
|
+
}
|
|
1832
|
+
});
|
|
1833
|
+
};
|
|
1834
|
+
/**
|
|
1835
|
+
* List users and their roles in a scope
|
|
1836
|
+
* Retrieves a list of users who have a role within a specific scope (e.g., a project or an organization). The list can be filtered by user details or role.
|
|
1837
|
+
*/
|
|
1838
|
+
export const openportalUnmanagedProjectsListUsersList = (options) => {
|
|
1839
|
+
return (options.client ?? _heyApiClient).get({
|
|
1840
|
+
security: [
|
|
1841
|
+
{
|
|
1842
|
+
name: 'Authorization',
|
|
1843
|
+
type: 'apiKey'
|
|
1844
|
+
},
|
|
1845
|
+
{
|
|
1846
|
+
scheme: 'bearer',
|
|
1847
|
+
type: 'http'
|
|
1848
|
+
},
|
|
1849
|
+
{
|
|
1850
|
+
scheme: 'bearer',
|
|
1851
|
+
type: 'http'
|
|
1852
|
+
}
|
|
1853
|
+
],
|
|
1854
|
+
url: '/api/openportal-unmanaged-projects/{uuid}/list_users/',
|
|
1855
|
+
...options
|
|
1856
|
+
});
|
|
1857
|
+
};
|
|
1858
|
+
/**
|
|
1859
|
+
* Move project to another customer
|
|
1860
|
+
* Moves a project and its associated resources to a different customer. You can choose whether to preserve existing project permissions for users. Terminated projects can also be moved.
|
|
1861
|
+
*/
|
|
1862
|
+
export const openportalUnmanagedProjectsMoveProject = (options) => {
|
|
1863
|
+
return (options.client ?? _heyApiClient).post({
|
|
1864
|
+
security: [
|
|
1865
|
+
{
|
|
1866
|
+
name: 'Authorization',
|
|
1867
|
+
type: 'apiKey'
|
|
1868
|
+
},
|
|
1869
|
+
{
|
|
1870
|
+
scheme: 'bearer',
|
|
1871
|
+
type: 'http'
|
|
1872
|
+
},
|
|
1873
|
+
{
|
|
1874
|
+
scheme: 'bearer',
|
|
1875
|
+
type: 'http'
|
|
1876
|
+
}
|
|
1877
|
+
],
|
|
1878
|
+
url: '/api/openportal-unmanaged-projects/{uuid}/move_project/',
|
|
1879
|
+
...options,
|
|
1880
|
+
headers: {
|
|
1881
|
+
'Content-Type': 'application/json',
|
|
1882
|
+
...options.headers
|
|
1883
|
+
}
|
|
1884
|
+
});
|
|
1885
|
+
};
|
|
1886
|
+
/**
|
|
1887
|
+
* Recover a soft-deleted project
|
|
1888
|
+
* Recovers a soft-deleted (terminated) project, making it active again. Provides options to restore previous team members automatically (staff-only) or send them new invitations.
|
|
1889
|
+
*/
|
|
1890
|
+
export const openportalUnmanagedProjectsRecover = (options) => {
|
|
1891
|
+
return (options.client ?? _heyApiClient).post({
|
|
1892
|
+
security: [
|
|
1893
|
+
{
|
|
1894
|
+
name: 'Authorization',
|
|
1895
|
+
type: 'apiKey'
|
|
1896
|
+
},
|
|
1897
|
+
{
|
|
1898
|
+
scheme: 'bearer',
|
|
1899
|
+
type: 'http'
|
|
1900
|
+
},
|
|
1901
|
+
{
|
|
1902
|
+
scheme: 'bearer',
|
|
1903
|
+
type: 'http'
|
|
1904
|
+
}
|
|
1905
|
+
],
|
|
1906
|
+
url: '/api/openportal-unmanaged-projects/{uuid}/recover/',
|
|
1907
|
+
...options,
|
|
1908
|
+
headers: {
|
|
1909
|
+
'Content-Type': 'application/json',
|
|
1910
|
+
...options.headers
|
|
1911
|
+
}
|
|
1912
|
+
});
|
|
1913
|
+
};
|
|
1914
|
+
/**
|
|
1915
|
+
* Get project resource usage statistics
|
|
1916
|
+
* Provides statistics about the resource usage (e.g., CPU, RAM, storage) for all resources within a project. Can be filtered to show usage for the current month only.
|
|
1917
|
+
*/
|
|
1918
|
+
export const openportalUnmanagedProjectsStatsRetrieve = (options) => {
|
|
1919
|
+
return (options.client ?? _heyApiClient).get({
|
|
1920
|
+
security: [
|
|
1921
|
+
{
|
|
1922
|
+
name: 'Authorization',
|
|
1923
|
+
type: 'apiKey'
|
|
1924
|
+
},
|
|
1925
|
+
{
|
|
1926
|
+
scheme: 'bearer',
|
|
1927
|
+
type: 'http'
|
|
1928
|
+
},
|
|
1929
|
+
{
|
|
1930
|
+
scheme: 'bearer',
|
|
1931
|
+
type: 'http'
|
|
1932
|
+
}
|
|
1933
|
+
],
|
|
1934
|
+
url: '/api/openportal-unmanaged-projects/{uuid}/stats/',
|
|
1935
|
+
...options
|
|
1936
|
+
});
|
|
1937
|
+
};
|
|
1938
|
+
/**
|
|
1939
|
+
* Submit checklist answers.
|
|
1940
|
+
*/
|
|
1941
|
+
export const openportalUnmanagedProjectsSubmitAnswers = (options) => {
|
|
1942
|
+
return (options.client ?? _heyApiClient).post({
|
|
1943
|
+
security: [
|
|
1944
|
+
{
|
|
1945
|
+
name: 'Authorization',
|
|
1946
|
+
type: 'apiKey'
|
|
1947
|
+
},
|
|
1948
|
+
{
|
|
1949
|
+
scheme: 'bearer',
|
|
1950
|
+
type: 'http'
|
|
1951
|
+
},
|
|
1952
|
+
{
|
|
1953
|
+
scheme: 'bearer',
|
|
1954
|
+
type: 'http'
|
|
1955
|
+
}
|
|
1956
|
+
],
|
|
1957
|
+
url: '/api/openportal-unmanaged-projects/{uuid}/submit_answers/',
|
|
1958
|
+
...options,
|
|
1959
|
+
headers: {
|
|
1960
|
+
'Content-Type': 'application/json',
|
|
1961
|
+
...options.headers
|
|
1962
|
+
}
|
|
1963
|
+
});
|
|
1964
|
+
};
|
|
1965
|
+
/**
|
|
1966
|
+
* Update affiliated organizations for a project
|
|
1967
|
+
* Assigns a project to one or more affiliated organizations. Replaces the current set.
|
|
1968
|
+
*/
|
|
1969
|
+
export const openportalUnmanagedProjectsUpdateAffiliatedOrganizations = (options) => {
|
|
1970
|
+
return (options.client ?? _heyApiClient).post({
|
|
1971
|
+
security: [
|
|
1972
|
+
{
|
|
1973
|
+
name: 'Authorization',
|
|
1974
|
+
type: 'apiKey'
|
|
1975
|
+
},
|
|
1976
|
+
{
|
|
1977
|
+
scheme: 'bearer',
|
|
1978
|
+
type: 'http'
|
|
1979
|
+
},
|
|
1980
|
+
{
|
|
1981
|
+
scheme: 'bearer',
|
|
1982
|
+
type: 'http'
|
|
1983
|
+
}
|
|
1984
|
+
],
|
|
1985
|
+
url: '/api/openportal-unmanaged-projects/{uuid}/update_affiliated_organizations/',
|
|
1986
|
+
...options,
|
|
1987
|
+
headers: {
|
|
1988
|
+
'Content-Type': 'application/json',
|
|
1989
|
+
...options.headers
|
|
1990
|
+
}
|
|
1991
|
+
});
|
|
1992
|
+
};
|
|
1993
|
+
/**
|
|
1994
|
+
* Update a user's role expiration
|
|
1995
|
+
* Updates the expiration time for a user's existing role in the current scope. This is useful for extending or shortening the duration of a permission. To make a role permanent, set expiration_time to null.
|
|
1996
|
+
*/
|
|
1997
|
+
export const openportalUnmanagedProjectsUpdateUser = (options) => {
|
|
1998
|
+
return (options.client ?? _heyApiClient).post({
|
|
1999
|
+
security: [
|
|
2000
|
+
{
|
|
2001
|
+
name: 'Authorization',
|
|
2002
|
+
type: 'apiKey'
|
|
2003
|
+
},
|
|
2004
|
+
{
|
|
2005
|
+
scheme: 'bearer',
|
|
2006
|
+
type: 'http'
|
|
2007
|
+
},
|
|
2008
|
+
{
|
|
2009
|
+
scheme: 'bearer',
|
|
2010
|
+
type: 'http'
|
|
2011
|
+
}
|
|
2012
|
+
],
|
|
2013
|
+
url: '/api/openportal-unmanaged-projects/{uuid}/update_user/',
|
|
2014
|
+
...options,
|
|
2015
|
+
headers: {
|
|
2016
|
+
'Content-Type': 'application/json',
|
|
2017
|
+
...options.headers
|
|
2018
|
+
}
|
|
2019
|
+
});
|
|
2020
|
+
};
|
|
2021
|
+
/**
|
|
2022
|
+
* Get checklist template for creating new objects.
|
|
2023
|
+
*/
|
|
2024
|
+
export const openportalUnmanagedProjectsChecklistTemplateRetrieve = (options) => {
|
|
2025
|
+
return (options.client ?? _heyApiClient).get({
|
|
2026
|
+
security: [
|
|
2027
|
+
{
|
|
2028
|
+
name: 'Authorization',
|
|
2029
|
+
type: 'apiKey'
|
|
2030
|
+
},
|
|
2031
|
+
{
|
|
2032
|
+
scheme: 'bearer',
|
|
2033
|
+
type: 'http'
|
|
2034
|
+
},
|
|
2035
|
+
{
|
|
2036
|
+
scheme: 'bearer',
|
|
2037
|
+
type: 'http'
|
|
2038
|
+
}
|
|
2039
|
+
],
|
|
2040
|
+
url: '/api/openportal-unmanaged-projects/checklist-template/',
|
|
2041
|
+
...options
|
|
2042
|
+
});
|
|
2043
|
+
};
|
|
2044
|
+
/**
|
|
2045
|
+
* Get number of items in the collection matching the request parameters.
|
|
2046
|
+
*/
|
|
2047
|
+
export const openportalUnmanagedProjectsChecklistTemplateCount = (options) => {
|
|
2048
|
+
return (options.client ?? _heyApiClient).head({
|
|
2049
|
+
security: [
|
|
2050
|
+
{
|
|
2051
|
+
name: 'Authorization',
|
|
2052
|
+
type: 'apiKey'
|
|
2053
|
+
},
|
|
2054
|
+
{
|
|
2055
|
+
scheme: 'bearer',
|
|
2056
|
+
type: 'http'
|
|
2057
|
+
},
|
|
2058
|
+
{
|
|
2059
|
+
scheme: 'bearer',
|
|
2060
|
+
type: 'http'
|
|
2061
|
+
}
|
|
2062
|
+
],
|
|
2063
|
+
url: '/api/openportal-unmanaged-projects/checklist-template/',
|
|
2064
|
+
...options
|
|
2065
|
+
});
|
|
2066
|
+
};
|
|
2067
|
+
export const openportalUserinfoList = (options) => {
|
|
2068
|
+
return (options?.client ?? _heyApiClient).get({
|
|
2069
|
+
security: [
|
|
2070
|
+
{
|
|
2071
|
+
name: 'Authorization',
|
|
2072
|
+
type: 'apiKey'
|
|
2073
|
+
},
|
|
2074
|
+
{
|
|
2075
|
+
scheme: 'bearer',
|
|
2076
|
+
type: 'http'
|
|
2077
|
+
},
|
|
2078
|
+
{
|
|
2079
|
+
scheme: 'bearer',
|
|
2080
|
+
type: 'http'
|
|
2081
|
+
}
|
|
2082
|
+
],
|
|
2083
|
+
url: '/api/openportal-userinfo/',
|
|
2084
|
+
...options
|
|
2085
|
+
});
|
|
2086
|
+
};
|
|
2087
|
+
/**
|
|
2088
|
+
* Get number of items in the collection matching the request parameters.
|
|
2089
|
+
*/
|
|
2090
|
+
export const openportalUserinfoCount = (options) => {
|
|
2091
|
+
return (options?.client ?? _heyApiClient).head({
|
|
2092
|
+
security: [
|
|
2093
|
+
{
|
|
2094
|
+
name: 'Authorization',
|
|
2095
|
+
type: 'apiKey'
|
|
2096
|
+
},
|
|
2097
|
+
{
|
|
2098
|
+
scheme: 'bearer',
|
|
2099
|
+
type: 'http'
|
|
2100
|
+
},
|
|
2101
|
+
{
|
|
2102
|
+
scheme: 'bearer',
|
|
2103
|
+
type: 'http'
|
|
2104
|
+
}
|
|
2105
|
+
],
|
|
2106
|
+
url: '/api/openportal-userinfo/',
|
|
2107
|
+
...options
|
|
2108
|
+
});
|
|
2109
|
+
};
|
|
2110
|
+
export const openportalUserinfoCreate = (options) => {
|
|
2111
|
+
return (options.client ?? _heyApiClient).post({
|
|
2112
|
+
security: [
|
|
2113
|
+
{
|
|
2114
|
+
name: 'Authorization',
|
|
2115
|
+
type: 'apiKey'
|
|
2116
|
+
},
|
|
2117
|
+
{
|
|
2118
|
+
scheme: 'bearer',
|
|
2119
|
+
type: 'http'
|
|
2120
|
+
},
|
|
2121
|
+
{
|
|
2122
|
+
scheme: 'bearer',
|
|
2123
|
+
type: 'http'
|
|
2124
|
+
}
|
|
2125
|
+
],
|
|
2126
|
+
url: '/api/openportal-userinfo/',
|
|
2127
|
+
...options,
|
|
2128
|
+
headers: {
|
|
2129
|
+
'Content-Type': 'application/json',
|
|
2130
|
+
...options.headers
|
|
2131
|
+
}
|
|
2132
|
+
});
|
|
2133
|
+
};
|
|
2134
|
+
export const openportalUserinfoDestroy = (options) => {
|
|
2135
|
+
return (options.client ?? _heyApiClient).delete({
|
|
2136
|
+
security: [
|
|
2137
|
+
{
|
|
2138
|
+
name: 'Authorization',
|
|
2139
|
+
type: 'apiKey'
|
|
2140
|
+
},
|
|
2141
|
+
{
|
|
2142
|
+
scheme: 'bearer',
|
|
2143
|
+
type: 'http'
|
|
2144
|
+
},
|
|
2145
|
+
{
|
|
2146
|
+
scheme: 'bearer',
|
|
2147
|
+
type: 'http'
|
|
2148
|
+
}
|
|
2149
|
+
],
|
|
2150
|
+
url: '/api/openportal-userinfo/{user}/',
|
|
2151
|
+
...options
|
|
2152
|
+
});
|
|
2153
|
+
};
|
|
2154
|
+
export const openportalUserinfoRetrieve = (options) => {
|
|
2155
|
+
return (options.client ?? _heyApiClient).get({
|
|
2156
|
+
security: [
|
|
2157
|
+
{
|
|
2158
|
+
name: 'Authorization',
|
|
2159
|
+
type: 'apiKey'
|
|
2160
|
+
},
|
|
2161
|
+
{
|
|
2162
|
+
scheme: 'bearer',
|
|
2163
|
+
type: 'http'
|
|
2164
|
+
},
|
|
2165
|
+
{
|
|
2166
|
+
scheme: 'bearer',
|
|
2167
|
+
type: 'http'
|
|
2168
|
+
}
|
|
2169
|
+
],
|
|
2170
|
+
url: '/api/openportal-userinfo/{user}/',
|
|
2171
|
+
...options
|
|
2172
|
+
});
|
|
2173
|
+
};
|
|
2174
|
+
export const openportalUserinfoPartialUpdate = (options) => {
|
|
2175
|
+
return (options.client ?? _heyApiClient).patch({
|
|
2176
|
+
security: [
|
|
2177
|
+
{
|
|
2178
|
+
name: 'Authorization',
|
|
2179
|
+
type: 'apiKey'
|
|
2180
|
+
},
|
|
2181
|
+
{
|
|
2182
|
+
scheme: 'bearer',
|
|
2183
|
+
type: 'http'
|
|
2184
|
+
},
|
|
2185
|
+
{
|
|
2186
|
+
scheme: 'bearer',
|
|
2187
|
+
type: 'http'
|
|
2188
|
+
}
|
|
2189
|
+
],
|
|
2190
|
+
url: '/api/openportal-userinfo/{user}/',
|
|
2191
|
+
...options,
|
|
2192
|
+
headers: {
|
|
2193
|
+
'Content-Type': 'application/json',
|
|
2194
|
+
...options.headers
|
|
2195
|
+
}
|
|
2196
|
+
});
|
|
2197
|
+
};
|
|
2198
|
+
export const openportalUserinfoUpdate = (options) => {
|
|
2199
|
+
return (options.client ?? _heyApiClient).put({
|
|
2200
|
+
security: [
|
|
2201
|
+
{
|
|
2202
|
+
name: 'Authorization',
|
|
2203
|
+
type: 'apiKey'
|
|
2204
|
+
},
|
|
2205
|
+
{
|
|
2206
|
+
scheme: 'bearer',
|
|
2207
|
+
type: 'http'
|
|
2208
|
+
},
|
|
2209
|
+
{
|
|
2210
|
+
scheme: 'bearer',
|
|
2211
|
+
type: 'http'
|
|
2212
|
+
}
|
|
2213
|
+
],
|
|
2214
|
+
url: '/api/openportal-userinfo/{user}/',
|
|
2215
|
+
...options,
|
|
2216
|
+
headers: {
|
|
2217
|
+
'Content-Type': 'application/json',
|
|
2218
|
+
...options.headers
|
|
2219
|
+
}
|
|
2220
|
+
});
|
|
2221
|
+
};
|
|
2222
|
+
export const openportalUserinfoSetShortnameUpdate = (options) => {
|
|
2223
|
+
return (options.client ?? _heyApiClient).put({
|
|
2224
|
+
security: [
|
|
2225
|
+
{
|
|
2226
|
+
name: 'Authorization',
|
|
2227
|
+
type: 'apiKey'
|
|
2228
|
+
},
|
|
2229
|
+
{
|
|
2230
|
+
scheme: 'bearer',
|
|
2231
|
+
type: 'http'
|
|
2232
|
+
},
|
|
2233
|
+
{
|
|
2234
|
+
scheme: 'bearer',
|
|
2235
|
+
type: 'http'
|
|
2236
|
+
}
|
|
2237
|
+
],
|
|
2238
|
+
url: '/api/openportal-userinfo/{user}/set_shortname/',
|
|
2239
|
+
...options,
|
|
2240
|
+
headers: {
|
|
2241
|
+
'Content-Type': 'application/json',
|
|
2242
|
+
...options.headers
|
|
2243
|
+
}
|
|
2244
|
+
});
|
|
2245
|
+
};
|
|
2246
|
+
export const openportalUserinfoMeRetrieve = (options) => {
|
|
2247
|
+
return (options?.client ?? _heyApiClient).get({
|
|
2248
|
+
security: [
|
|
2249
|
+
{
|
|
2250
|
+
name: 'Authorization',
|
|
2251
|
+
type: 'apiKey'
|
|
2252
|
+
},
|
|
2253
|
+
{
|
|
2254
|
+
scheme: 'bearer',
|
|
2255
|
+
type: 'http'
|
|
2256
|
+
},
|
|
2257
|
+
{
|
|
2258
|
+
scheme: 'bearer',
|
|
2259
|
+
type: 'http'
|
|
2260
|
+
}
|
|
2261
|
+
],
|
|
2262
|
+
url: '/api/openportal-userinfo/me/',
|
|
2263
|
+
...options
|
|
2264
|
+
});
|
|
2265
|
+
};
|
|
2266
|
+
/**
|
|
2267
|
+
* Get number of items in the collection matching the request parameters.
|
|
2268
|
+
*/
|
|
2269
|
+
export const openportalUserinfoMeCount = (options) => {
|
|
2270
|
+
return (options?.client ?? _heyApiClient).head({
|
|
2271
|
+
security: [
|
|
2272
|
+
{
|
|
2273
|
+
name: 'Authorization',
|
|
2274
|
+
type: 'apiKey'
|
|
2275
|
+
},
|
|
2276
|
+
{
|
|
2277
|
+
scheme: 'bearer',
|
|
2278
|
+
type: 'http'
|
|
2279
|
+
},
|
|
2280
|
+
{
|
|
2281
|
+
scheme: 'bearer',
|
|
2282
|
+
type: 'http'
|
|
2283
|
+
}
|
|
2284
|
+
],
|
|
2285
|
+
url: '/api/openportal-userinfo/me/',
|
|
2286
|
+
...options
|
|
2287
|
+
});
|
|
2288
|
+
};
|
|
2289
|
+
export const openportalAccessForEmailList = (options) => {
|
|
2290
|
+
return (options.client ?? _heyApiClient).get({
|
|
2291
|
+
security: [
|
|
2292
|
+
{
|
|
2293
|
+
name: 'Authorization',
|
|
2294
|
+
type: 'apiKey'
|
|
2295
|
+
},
|
|
2296
|
+
{
|
|
2297
|
+
scheme: 'bearer',
|
|
2298
|
+
type: 'http'
|
|
2299
|
+
},
|
|
2300
|
+
{
|
|
2301
|
+
scheme: 'bearer',
|
|
2302
|
+
type: 'http'
|
|
2303
|
+
}
|
|
2304
|
+
],
|
|
2305
|
+
url: '/api/openportal/access_for_email/',
|
|
2306
|
+
...options
|
|
2307
|
+
});
|
|
2308
|
+
};
|
|
2309
|
+
/**
|
|
2310
|
+
* Map OpenPortal destination strings to Waldur Offering objects. Pass each destination as a repeated 'identifier' query parameter. Returns a dict keyed by identifier; unknown destinations map to null. Accessible to all authenticated users.
|
|
2311
|
+
*/
|
|
2312
|
+
export const openportalOfferingMappingRetrieve = (options) => {
|
|
2313
|
+
return (options?.client ?? _heyApiClient).get({
|
|
2314
|
+
security: [
|
|
2315
|
+
{
|
|
2316
|
+
name: 'Authorization',
|
|
2317
|
+
type: 'apiKey'
|
|
2318
|
+
},
|
|
2319
|
+
{
|
|
2320
|
+
scheme: 'bearer',
|
|
2321
|
+
type: 'http'
|
|
2322
|
+
},
|
|
2323
|
+
{
|
|
2324
|
+
scheme: 'bearer',
|
|
2325
|
+
type: 'http'
|
|
2326
|
+
}
|
|
2327
|
+
],
|
|
2328
|
+
url: '/api/openportal/offering_mapping/',
|
|
2329
|
+
...options
|
|
2330
|
+
});
|
|
2331
|
+
};
|
|
2332
|
+
/**
|
|
2333
|
+
* Map OpenPortal ProjectIdentifier strings to Waldur Project objects. Pass each identifier as a repeated 'identifier' query parameter. Returns a dict keyed by identifier; unknown identifiers map to null. Staff and support see all projects; regular users see only projects they are a member of.
|
|
2334
|
+
*/
|
|
2335
|
+
export const openportalProjectMappingRetrieve = (options) => {
|
|
2336
|
+
return (options?.client ?? _heyApiClient).get({
|
|
2337
|
+
security: [
|
|
2338
|
+
{
|
|
2339
|
+
name: 'Authorization',
|
|
2340
|
+
type: 'apiKey'
|
|
2341
|
+
},
|
|
2342
|
+
{
|
|
2343
|
+
scheme: 'bearer',
|
|
2344
|
+
type: 'http'
|
|
2345
|
+
},
|
|
2346
|
+
{
|
|
2347
|
+
scheme: 'bearer',
|
|
2348
|
+
type: 'http'
|
|
2349
|
+
}
|
|
2350
|
+
],
|
|
2351
|
+
url: '/api/openportal/project_mapping/',
|
|
2352
|
+
...options
|
|
2353
|
+
});
|
|
2354
|
+
};
|
|
2355
|
+
/**
|
|
2356
|
+
* Map OpenPortal UserIdentifier strings (or email addresses) to Waldur User objects. Pass each value as a repeated 'identifier' query parameter. If the values contain '@' they are treated as email addresses (used for cached reports from remote portals); otherwise they are treated as UserIdentifier strings (used for local OpenPortal resources). Returns a dict keyed by the supplied string; unknown values map to null. Staff and support see all users; regular users may only look up users who share a project with them.
|
|
2357
|
+
*/
|
|
2358
|
+
export const openportalUserMappingRetrieve = (options) => {
|
|
2359
|
+
return (options?.client ?? _heyApiClient).get({
|
|
2360
|
+
security: [
|
|
2361
|
+
{
|
|
2362
|
+
name: 'Authorization',
|
|
2363
|
+
type: 'apiKey'
|
|
2364
|
+
},
|
|
2365
|
+
{
|
|
2366
|
+
scheme: 'bearer',
|
|
2367
|
+
type: 'http'
|
|
2368
|
+
},
|
|
2369
|
+
{
|
|
2370
|
+
scheme: 'bearer',
|
|
2371
|
+
type: 'http'
|
|
2372
|
+
}
|
|
2373
|
+
],
|
|
2374
|
+
url: '/api/openportal/user_mapping/',
|
|
2375
|
+
...options
|
|
2376
|
+
});
|
|
2377
|
+
};
|