waldur-js-client 8.1.2 → 8.1.3-dev.488

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/sdk.gen.js CHANGED
@@ -1,11 +1,22 @@
1
1
  // This file is auto-generated by @hey-api/openapi-ts
2
+ import { formDataBodySerializer } from './client';
2
3
  import { client } from './client.gen';
4
+ /**
5
+ * Matrix Application Service ping
6
+ *
7
+ * Called by the homeserver when Waldur asks it to ping the appservice (MSC2659). Authenticated via hs_token in the Authorization header.
8
+ */
9
+ export const matrixAppV1Ping = (options) => (options?.client ?? client).post({ url: '/_matrix/app/v1/ping', ...options });
3
10
  /**
4
11
  * Matrix Application Service transaction webhook
5
12
  *
6
13
  * Receives event transactions from the Matrix homeserver. Authenticated via hs_token in the Authorization header.
7
14
  */
8
15
  export const matrixAppV1TransactionsUpdate = (options) => (options.client ?? client).put({ url: '/_matrix/app/v1/transactions/{txn_id}', ...options });
16
+ /**
17
+ * Redirect user to the authorization endpoint of the default identity provider
18
+ */
19
+ export const apiAuthDefaultInitRetrieve = (options) => (options?.client ?? client).get({ url: '/api-auth/default/init/', ...options });
9
20
  export const apiAuthEduteamsCompleteRetrieve = (options) => (options?.client ?? client).get({ url: '/api-auth/eduteams/complete/', ...options });
10
21
  /**
11
22
  * Redirect user to OIDC authorization endpoint
@@ -35,10 +46,6 @@ export const apiAuthLogout = (options) => (options?.client ?? client).post({
35
46
  * Authenticates a user with username and password and returns an authentication token.
36
47
  */
37
48
  export const apiAuthPassword = (options) => (options.client ?? client).post({
38
- security: [
39
- { name: 'Authorization', type: 'apiKey' },
40
- { scheme: 'bearer', type: 'http' }
41
- ],
42
49
  url: '/api-auth/password/',
43
50
  ...options,
44
51
  headers: {
@@ -1033,7 +1040,7 @@ export const adminArrowVendorOfferingMappingsVendorChoicesCount = (options) => (
1033
1040
  /**
1034
1041
  * Setup Matrix appservice registration
1035
1042
  *
1036
- * Generates fresh appservice tokens (rotating any existing ones), enables the appservice, and returns registration YAML.
1043
+ * Generates fresh appservice tokens (rotating any existing ones), enables the appservice, and returns registration YAML. Returns 409 when the deployment owns the tokens; see MATRIX_TOKENS_MANAGED_BY.
1037
1044
  */
1038
1045
  export const adminMatrixAppserviceSetup = (options) => (options?.client ?? client).post({
1039
1046
  security: [
@@ -1102,7 +1109,7 @@ export const adminMatrixLivekitParticipantsList = (options) => (options.client ?
1102
1109
  /**
1103
1110
  * Reprovision all active Matrix rooms on a new homeserver
1104
1111
  *
1105
- * Resets all active rooms to 'creating' state and re-queues them for provisioning. Also resets all user profiles. Staff only.
1112
+ * Resets all active rooms to 'creating' state and re-queues them for provisioning. Also resets all user profiles. Only for moving to a new homeserver: on the same homeserver, every old room stays behind with its history next to a new, empty one. Staff only.
1106
1113
  */
1107
1114
  export const adminMatrixReprovision = (options) => (options?.client ?? client).post({
1108
1115
  security: [
@@ -1351,18 +1358,6 @@ export const assignmentBatchesCount = (options) => (options?.client ?? client).h
1351
1358
  url: '/api/assignment-batches/',
1352
1359
  ...options
1353
1360
  });
1354
- export const assignmentBatchesCreate = (options) => (options?.client ?? client).post({
1355
- security: [
1356
- { name: 'Authorization', type: 'apiKey' },
1357
- { scheme: 'bearer', type: 'http' }
1358
- ],
1359
- url: '/api/assignment-batches/',
1360
- ...options,
1361
- headers: {
1362
- 'Content-Type': 'application/json',
1363
- ...options?.headers
1364
- }
1365
- });
1366
1361
  export const assignmentBatchesDestroy = (options) => (options.client ?? client).delete({
1367
1362
  security: [
1368
1363
  { name: 'Authorization', type: 'apiKey' },
@@ -1463,18 +1458,6 @@ export const assignmentItemsCount = (options) => (options?.client ?? client).hea
1463
1458
  url: '/api/assignment-items/',
1464
1459
  ...options
1465
1460
  });
1466
- export const assignmentItemsCreate = (options) => (options?.client ?? client).post({
1467
- security: [
1468
- { name: 'Authorization', type: 'apiKey' },
1469
- { scheme: 'bearer', type: 'http' }
1470
- ],
1471
- url: '/api/assignment-items/',
1472
- ...options,
1473
- headers: {
1474
- 'Content-Type': 'application/json',
1475
- ...options?.headers
1476
- }
1477
- });
1478
1461
  export const assignmentItemsDestroy = (options) => (options.client ?? client).delete({
1479
1462
  security: [
1480
1463
  { name: 'Authorization', type: 'apiKey' },
@@ -2151,666 +2134,6 @@ export const awsVolumesUnlink = (options) => (options.client ?? client).post({
2151
2134
  url: '/api/aws-volumes/{uuid}/unlink/',
2152
2135
  ...options
2153
2136
  });
2154
- export const azureImagesList = (options) => (options?.client ?? client).get({
2155
- security: [
2156
- { name: 'Authorization', type: 'apiKey' },
2157
- { scheme: 'bearer', type: 'http' }
2158
- ],
2159
- url: '/api/azure-images/',
2160
- ...options
2161
- });
2162
- /**
2163
- * Get number of items in the collection matching the request parameters.
2164
- */
2165
- export const azureImagesCount = (options) => (options?.client ?? client).head({
2166
- security: [
2167
- { name: 'Authorization', type: 'apiKey' },
2168
- { scheme: 'bearer', type: 'http' }
2169
- ],
2170
- url: '/api/azure-images/',
2171
- ...options
2172
- });
2173
- export const azureImagesRetrieve = (options) => (options.client ?? client).get({
2174
- security: [
2175
- { name: 'Authorization', type: 'apiKey' },
2176
- { scheme: 'bearer', type: 'http' }
2177
- ],
2178
- url: '/api/azure-images/{uuid}/',
2179
- ...options
2180
- });
2181
- export const azureLocationsList = (options) => (options?.client ?? client).get({
2182
- security: [
2183
- { name: 'Authorization', type: 'apiKey' },
2184
- { scheme: 'bearer', type: 'http' }
2185
- ],
2186
- url: '/api/azure-locations/',
2187
- ...options
2188
- });
2189
- /**
2190
- * Get number of items in the collection matching the request parameters.
2191
- */
2192
- export const azureLocationsCount = (options) => (options?.client ?? client).head({
2193
- security: [
2194
- { name: 'Authorization', type: 'apiKey' },
2195
- { scheme: 'bearer', type: 'http' }
2196
- ],
2197
- url: '/api/azure-locations/',
2198
- ...options
2199
- });
2200
- export const azureLocationsRetrieve = (options) => (options.client ?? client).get({
2201
- security: [
2202
- { name: 'Authorization', type: 'apiKey' },
2203
- { scheme: 'bearer', type: 'http' }
2204
- ],
2205
- url: '/api/azure-locations/{uuid}/',
2206
- ...options
2207
- });
2208
- export const azurePublicIpsList = (options) => (options?.client ?? client).get({
2209
- security: [
2210
- { name: 'Authorization', type: 'apiKey' },
2211
- { scheme: 'bearer', type: 'http' }
2212
- ],
2213
- url: '/api/azure-public-ips/',
2214
- ...options
2215
- });
2216
- /**
2217
- * Get number of items in the collection matching the request parameters.
2218
- */
2219
- export const azurePublicIpsCount = (options) => (options?.client ?? client).head({
2220
- security: [
2221
- { name: 'Authorization', type: 'apiKey' },
2222
- { scheme: 'bearer', type: 'http' }
2223
- ],
2224
- url: '/api/azure-public-ips/',
2225
- ...options
2226
- });
2227
- export const azurePublicIpsCreate = (options) => (options.client ?? client).post({
2228
- security: [
2229
- { name: 'Authorization', type: 'apiKey' },
2230
- { scheme: 'bearer', type: 'http' }
2231
- ],
2232
- url: '/api/azure-public-ips/',
2233
- ...options,
2234
- headers: {
2235
- 'Content-Type': 'application/json',
2236
- ...options.headers
2237
- }
2238
- });
2239
- export const azurePublicIpsDestroy = (options) => (options.client ?? client).delete({
2240
- security: [
2241
- { name: 'Authorization', type: 'apiKey' },
2242
- { scheme: 'bearer', type: 'http' }
2243
- ],
2244
- url: '/api/azure-public-ips/{uuid}/',
2245
- ...options
2246
- });
2247
- export const azurePublicIpsRetrieve = (options) => (options.client ?? client).get({
2248
- security: [
2249
- { name: 'Authorization', type: 'apiKey' },
2250
- { scheme: 'bearer', type: 'http' }
2251
- ],
2252
- url: '/api/azure-public-ips/{uuid}/',
2253
- ...options
2254
- });
2255
- export const azurePublicIpsPartialUpdate = (options) => (options.client ?? client).patch({
2256
- security: [
2257
- { name: 'Authorization', type: 'apiKey' },
2258
- { scheme: 'bearer', type: 'http' }
2259
- ],
2260
- url: '/api/azure-public-ips/{uuid}/',
2261
- ...options,
2262
- headers: {
2263
- 'Content-Type': 'application/json',
2264
- ...options.headers
2265
- }
2266
- });
2267
- export const azurePublicIpsUpdate = (options) => (options.client ?? client).put({
2268
- security: [
2269
- { name: 'Authorization', type: 'apiKey' },
2270
- { scheme: 'bearer', type: 'http' }
2271
- ],
2272
- url: '/api/azure-public-ips/{uuid}/',
2273
- ...options,
2274
- headers: {
2275
- 'Content-Type': 'application/json',
2276
- ...options.headers
2277
- }
2278
- });
2279
- /**
2280
- * Synchronize resource state
2281
- *
2282
- * 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.
2283
- */
2284
- export const azurePublicIpsPull = (options) => (options.client ?? client).post({
2285
- security: [
2286
- { name: 'Authorization', type: 'apiKey' },
2287
- { scheme: 'bearer', type: 'http' }
2288
- ],
2289
- url: '/api/azure-public-ips/{uuid}/pull/',
2290
- ...options
2291
- });
2292
- /**
2293
- * Mark resource as ERRED
2294
- *
2295
- * 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.
2296
- */
2297
- export const azurePublicIpsSetErred = (options) => (options.client ?? client).post({
2298
- security: [
2299
- { name: 'Authorization', type: 'apiKey' },
2300
- { scheme: 'bearer', type: 'http' }
2301
- ],
2302
- url: '/api/azure-public-ips/{uuid}/set_erred/',
2303
- ...options,
2304
- headers: {
2305
- 'Content-Type': 'application/json',
2306
- ...options.headers
2307
- }
2308
- });
2309
- /**
2310
- * Mark resource as OK
2311
- *
2312
- * Manually transition the resource to OK state and clear error fields. Staff-only operation.
2313
- */
2314
- export const azurePublicIpsSetOk = (options) => (options.client ?? client).post({
2315
- security: [
2316
- { name: 'Authorization', type: 'apiKey' },
2317
- { scheme: 'bearer', type: 'http' }
2318
- ],
2319
- url: '/api/azure-public-ips/{uuid}/set_ok/',
2320
- ...options
2321
- });
2322
- /**
2323
- * Unlink resource
2324
- *
2325
- * Delete resource from the database without scheduling operations on backend
2326
- * and without checking current state of the resource. It is intended to be used
2327
- * for removing resource stuck in transitioning state.
2328
- */
2329
- export const azurePublicIpsUnlink = (options) => (options.client ?? client).post({
2330
- security: [
2331
- { name: 'Authorization', type: 'apiKey' },
2332
- { scheme: 'bearer', type: 'http' }
2333
- ],
2334
- url: '/api/azure-public-ips/{uuid}/unlink/',
2335
- ...options
2336
- });
2337
- export const azureResourceGroupsList = (options) => (options?.client ?? client).get({
2338
- security: [
2339
- { name: 'Authorization', type: 'apiKey' },
2340
- { scheme: 'bearer', type: 'http' }
2341
- ],
2342
- url: '/api/azure-resource-groups/',
2343
- ...options
2344
- });
2345
- /**
2346
- * Get number of items in the collection matching the request parameters.
2347
- */
2348
- export const azureResourceGroupsCount = (options) => (options?.client ?? client).head({
2349
- security: [
2350
- { name: 'Authorization', type: 'apiKey' },
2351
- { scheme: 'bearer', type: 'http' }
2352
- ],
2353
- url: '/api/azure-resource-groups/',
2354
- ...options
2355
- });
2356
- export const azureResourceGroupsRetrieve = (options) => (options.client ?? client).get({
2357
- security: [
2358
- { name: 'Authorization', type: 'apiKey' },
2359
- { scheme: 'bearer', type: 'http' }
2360
- ],
2361
- url: '/api/azure-resource-groups/{uuid}/',
2362
- ...options
2363
- });
2364
- export const azureSizesList = (options) => (options?.client ?? client).get({
2365
- security: [
2366
- { name: 'Authorization', type: 'apiKey' },
2367
- { scheme: 'bearer', type: 'http' }
2368
- ],
2369
- url: '/api/azure-sizes/',
2370
- ...options
2371
- });
2372
- /**
2373
- * Get number of items in the collection matching the request parameters.
2374
- */
2375
- export const azureSizesCount = (options) => (options?.client ?? client).head({
2376
- security: [
2377
- { name: 'Authorization', type: 'apiKey' },
2378
- { scheme: 'bearer', type: 'http' }
2379
- ],
2380
- url: '/api/azure-sizes/',
2381
- ...options
2382
- });
2383
- export const azureSizesRetrieve = (options) => (options.client ?? client).get({
2384
- security: [
2385
- { name: 'Authorization', type: 'apiKey' },
2386
- { scheme: 'bearer', type: 'http' }
2387
- ],
2388
- url: '/api/azure-sizes/{uuid}/',
2389
- ...options
2390
- });
2391
- export const azureSqlDatabasesList = (options) => (options?.client ?? client).get({
2392
- security: [
2393
- { name: 'Authorization', type: 'apiKey' },
2394
- { scheme: 'bearer', type: 'http' }
2395
- ],
2396
- url: '/api/azure-sql-databases/',
2397
- ...options
2398
- });
2399
- /**
2400
- * Get number of items in the collection matching the request parameters.
2401
- */
2402
- export const azureSqlDatabasesCount = (options) => (options?.client ?? client).head({
2403
- security: [
2404
- { name: 'Authorization', type: 'apiKey' },
2405
- { scheme: 'bearer', type: 'http' }
2406
- ],
2407
- url: '/api/azure-sql-databases/',
2408
- ...options
2409
- });
2410
- export const azureSqlDatabasesCreate = (options) => (options.client ?? client).post({
2411
- security: [
2412
- { name: 'Authorization', type: 'apiKey' },
2413
- { scheme: 'bearer', type: 'http' }
2414
- ],
2415
- url: '/api/azure-sql-databases/',
2416
- ...options,
2417
- headers: {
2418
- 'Content-Type': 'application/json',
2419
- ...options.headers
2420
- }
2421
- });
2422
- export const azureSqlDatabasesDestroy = (options) => (options.client ?? client).delete({
2423
- security: [
2424
- { name: 'Authorization', type: 'apiKey' },
2425
- { scheme: 'bearer', type: 'http' }
2426
- ],
2427
- url: '/api/azure-sql-databases/{uuid}/',
2428
- ...options
2429
- });
2430
- export const azureSqlDatabasesRetrieve = (options) => (options.client ?? client).get({
2431
- security: [
2432
- { name: 'Authorization', type: 'apiKey' },
2433
- { scheme: 'bearer', type: 'http' }
2434
- ],
2435
- url: '/api/azure-sql-databases/{uuid}/',
2436
- ...options
2437
- });
2438
- export const azureSqlDatabasesPartialUpdate = (options) => (options.client ?? client).patch({
2439
- security: [
2440
- { name: 'Authorization', type: 'apiKey' },
2441
- { scheme: 'bearer', type: 'http' }
2442
- ],
2443
- url: '/api/azure-sql-databases/{uuid}/',
2444
- ...options,
2445
- headers: {
2446
- 'Content-Type': 'application/json',
2447
- ...options.headers
2448
- }
2449
- });
2450
- export const azureSqlDatabasesUpdate = (options) => (options.client ?? client).put({
2451
- security: [
2452
- { name: 'Authorization', type: 'apiKey' },
2453
- { scheme: 'bearer', type: 'http' }
2454
- ],
2455
- url: '/api/azure-sql-databases/{uuid}/',
2456
- ...options,
2457
- headers: {
2458
- 'Content-Type': 'application/json',
2459
- ...options.headers
2460
- }
2461
- });
2462
- /**
2463
- * Synchronize resource state
2464
- *
2465
- * 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.
2466
- */
2467
- export const azureSqlDatabasesPull = (options) => (options.client ?? client).post({
2468
- security: [
2469
- { name: 'Authorization', type: 'apiKey' },
2470
- { scheme: 'bearer', type: 'http' }
2471
- ],
2472
- url: '/api/azure-sql-databases/{uuid}/pull/',
2473
- ...options
2474
- });
2475
- /**
2476
- * Mark resource as ERRED
2477
- *
2478
- * 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.
2479
- */
2480
- export const azureSqlDatabasesSetErred = (options) => (options.client ?? client).post({
2481
- security: [
2482
- { name: 'Authorization', type: 'apiKey' },
2483
- { scheme: 'bearer', type: 'http' }
2484
- ],
2485
- url: '/api/azure-sql-databases/{uuid}/set_erred/',
2486
- ...options,
2487
- headers: {
2488
- 'Content-Type': 'application/json',
2489
- ...options.headers
2490
- }
2491
- });
2492
- /**
2493
- * Mark resource as OK
2494
- *
2495
- * Manually transition the resource to OK state and clear error fields. Staff-only operation.
2496
- */
2497
- export const azureSqlDatabasesSetOk = (options) => (options.client ?? client).post({
2498
- security: [
2499
- { name: 'Authorization', type: 'apiKey' },
2500
- { scheme: 'bearer', type: 'http' }
2501
- ],
2502
- url: '/api/azure-sql-databases/{uuid}/set_ok/',
2503
- ...options
2504
- });
2505
- /**
2506
- * Unlink resource
2507
- *
2508
- * Delete resource from the database without scheduling operations on backend
2509
- * and without checking current state of the resource. It is intended to be used
2510
- * for removing resource stuck in transitioning state.
2511
- */
2512
- export const azureSqlDatabasesUnlink = (options) => (options.client ?? client).post({
2513
- security: [
2514
- { name: 'Authorization', type: 'apiKey' },
2515
- { scheme: 'bearer', type: 'http' }
2516
- ],
2517
- url: '/api/azure-sql-databases/{uuid}/unlink/',
2518
- ...options
2519
- });
2520
- export const azureSqlServersList = (options) => (options?.client ?? client).get({
2521
- security: [
2522
- { name: 'Authorization', type: 'apiKey' },
2523
- { scheme: 'bearer', type: 'http' }
2524
- ],
2525
- url: '/api/azure-sql-servers/',
2526
- ...options
2527
- });
2528
- /**
2529
- * Get number of items in the collection matching the request parameters.
2530
- */
2531
- export const azureSqlServersCount = (options) => (options?.client ?? client).head({
2532
- security: [
2533
- { name: 'Authorization', type: 'apiKey' },
2534
- { scheme: 'bearer', type: 'http' }
2535
- ],
2536
- url: '/api/azure-sql-servers/',
2537
- ...options
2538
- });
2539
- export const azureSqlServersCreate = (options) => (options.client ?? client).post({
2540
- security: [
2541
- { name: 'Authorization', type: 'apiKey' },
2542
- { scheme: 'bearer', type: 'http' }
2543
- ],
2544
- url: '/api/azure-sql-servers/',
2545
- ...options,
2546
- headers: {
2547
- 'Content-Type': 'application/json',
2548
- ...options.headers
2549
- }
2550
- });
2551
- export const azureSqlServersDestroy = (options) => (options.client ?? client).delete({
2552
- security: [
2553
- { name: 'Authorization', type: 'apiKey' },
2554
- { scheme: 'bearer', type: 'http' }
2555
- ],
2556
- url: '/api/azure-sql-servers/{uuid}/',
2557
- ...options
2558
- });
2559
- export const azureSqlServersRetrieve = (options) => (options.client ?? client).get({
2560
- security: [
2561
- { name: 'Authorization', type: 'apiKey' },
2562
- { scheme: 'bearer', type: 'http' }
2563
- ],
2564
- url: '/api/azure-sql-servers/{uuid}/',
2565
- ...options
2566
- });
2567
- export const azureSqlServersPartialUpdate = (options) => (options.client ?? client).patch({
2568
- security: [
2569
- { name: 'Authorization', type: 'apiKey' },
2570
- { scheme: 'bearer', type: 'http' }
2571
- ],
2572
- url: '/api/azure-sql-servers/{uuid}/',
2573
- ...options,
2574
- headers: {
2575
- 'Content-Type': 'application/json',
2576
- ...options.headers
2577
- }
2578
- });
2579
- export const azureSqlServersUpdate = (options) => (options.client ?? client).put({
2580
- security: [
2581
- { name: 'Authorization', type: 'apiKey' },
2582
- { scheme: 'bearer', type: 'http' }
2583
- ],
2584
- url: '/api/azure-sql-servers/{uuid}/',
2585
- ...options,
2586
- headers: {
2587
- 'Content-Type': 'application/json',
2588
- ...options.headers
2589
- }
2590
- });
2591
- export const azureSqlServersCreateDatabase = (options) => (options.client ?? client).post({
2592
- security: [
2593
- { name: 'Authorization', type: 'apiKey' },
2594
- { scheme: 'bearer', type: 'http' }
2595
- ],
2596
- url: '/api/azure-sql-servers/{uuid}/create_database/',
2597
- ...options,
2598
- headers: {
2599
- 'Content-Type': 'application/json',
2600
- ...options.headers
2601
- }
2602
- });
2603
- /**
2604
- * Synchronize resource state
2605
- *
2606
- * 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.
2607
- */
2608
- export const azureSqlServersPull = (options) => (options.client ?? client).post({
2609
- security: [
2610
- { name: 'Authorization', type: 'apiKey' },
2611
- { scheme: 'bearer', type: 'http' }
2612
- ],
2613
- url: '/api/azure-sql-servers/{uuid}/pull/',
2614
- ...options
2615
- });
2616
- /**
2617
- * Mark resource as ERRED
2618
- *
2619
- * 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.
2620
- */
2621
- export const azureSqlServersSetErred = (options) => (options.client ?? client).post({
2622
- security: [
2623
- { name: 'Authorization', type: 'apiKey' },
2624
- { scheme: 'bearer', type: 'http' }
2625
- ],
2626
- url: '/api/azure-sql-servers/{uuid}/set_erred/',
2627
- ...options,
2628
- headers: {
2629
- 'Content-Type': 'application/json',
2630
- ...options.headers
2631
- }
2632
- });
2633
- /**
2634
- * Mark resource as OK
2635
- *
2636
- * Manually transition the resource to OK state and clear error fields. Staff-only operation.
2637
- */
2638
- export const azureSqlServersSetOk = (options) => (options.client ?? client).post({
2639
- security: [
2640
- { name: 'Authorization', type: 'apiKey' },
2641
- { scheme: 'bearer', type: 'http' }
2642
- ],
2643
- url: '/api/azure-sql-servers/{uuid}/set_ok/',
2644
- ...options
2645
- });
2646
- /**
2647
- * Unlink resource
2648
- *
2649
- * Delete resource from the database without scheduling operations on backend
2650
- * and without checking current state of the resource. It is intended to be used
2651
- * for removing resource stuck in transitioning state.
2652
- */
2653
- export const azureSqlServersUnlink = (options) => (options.client ?? client).post({
2654
- security: [
2655
- { name: 'Authorization', type: 'apiKey' },
2656
- { scheme: 'bearer', type: 'http' }
2657
- ],
2658
- url: '/api/azure-sql-servers/{uuid}/unlink/',
2659
- ...options
2660
- });
2661
- export const azureVirtualmachinesList = (options) => (options?.client ?? client).get({
2662
- security: [
2663
- { name: 'Authorization', type: 'apiKey' },
2664
- { scheme: 'bearer', type: 'http' }
2665
- ],
2666
- url: '/api/azure-virtualmachines/',
2667
- ...options
2668
- });
2669
- /**
2670
- * Get number of items in the collection matching the request parameters.
2671
- */
2672
- export const azureVirtualmachinesCount = (options) => (options?.client ?? client).head({
2673
- security: [
2674
- { name: 'Authorization', type: 'apiKey' },
2675
- { scheme: 'bearer', type: 'http' }
2676
- ],
2677
- url: '/api/azure-virtualmachines/',
2678
- ...options
2679
- });
2680
- export const azureVirtualmachinesCreate = (options) => (options.client ?? client).post({
2681
- security: [
2682
- { name: 'Authorization', type: 'apiKey' },
2683
- { scheme: 'bearer', type: 'http' }
2684
- ],
2685
- url: '/api/azure-virtualmachines/',
2686
- ...options,
2687
- headers: {
2688
- 'Content-Type': 'application/json',
2689
- ...options.headers
2690
- }
2691
- });
2692
- export const azureVirtualmachinesDestroy = (options) => (options.client ?? client).delete({
2693
- security: [
2694
- { name: 'Authorization', type: 'apiKey' },
2695
- { scheme: 'bearer', type: 'http' }
2696
- ],
2697
- url: '/api/azure-virtualmachines/{uuid}/',
2698
- ...options
2699
- });
2700
- export const azureVirtualmachinesRetrieve = (options) => (options.client ?? client).get({
2701
- security: [
2702
- { name: 'Authorization', type: 'apiKey' },
2703
- { scheme: 'bearer', type: 'http' }
2704
- ],
2705
- url: '/api/azure-virtualmachines/{uuid}/',
2706
- ...options
2707
- });
2708
- export const azureVirtualmachinesPartialUpdate = (options) => (options.client ?? client).patch({
2709
- security: [
2710
- { name: 'Authorization', type: 'apiKey' },
2711
- { scheme: 'bearer', type: 'http' }
2712
- ],
2713
- url: '/api/azure-virtualmachines/{uuid}/',
2714
- ...options,
2715
- headers: {
2716
- 'Content-Type': 'application/json',
2717
- ...options.headers
2718
- }
2719
- });
2720
- export const azureVirtualmachinesUpdate = (options) => (options.client ?? client).put({
2721
- security: [
2722
- { name: 'Authorization', type: 'apiKey' },
2723
- { scheme: 'bearer', type: 'http' }
2724
- ],
2725
- url: '/api/azure-virtualmachines/{uuid}/',
2726
- ...options,
2727
- headers: {
2728
- 'Content-Type': 'application/json',
2729
- ...options.headers
2730
- }
2731
- });
2732
- /**
2733
- * Synchronize resource state
2734
- *
2735
- * 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.
2736
- */
2737
- export const azureVirtualmachinesPull = (options) => (options.client ?? client).post({
2738
- security: [
2739
- { name: 'Authorization', type: 'apiKey' },
2740
- { scheme: 'bearer', type: 'http' }
2741
- ],
2742
- url: '/api/azure-virtualmachines/{uuid}/pull/',
2743
- ...options
2744
- });
2745
- export const azureVirtualmachinesRestart = (options) => (options.client ?? client).post({
2746
- security: [
2747
- { name: 'Authorization', type: 'apiKey' },
2748
- { scheme: 'bearer', type: 'http' }
2749
- ],
2750
- url: '/api/azure-virtualmachines/{uuid}/restart/',
2751
- ...options
2752
- });
2753
- /**
2754
- * Mark resource as ERRED
2755
- *
2756
- * 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.
2757
- */
2758
- export const azureVirtualmachinesSetErred = (options) => (options.client ?? client).post({
2759
- security: [
2760
- { name: 'Authorization', type: 'apiKey' },
2761
- { scheme: 'bearer', type: 'http' }
2762
- ],
2763
- url: '/api/azure-virtualmachines/{uuid}/set_erred/',
2764
- ...options,
2765
- headers: {
2766
- 'Content-Type': 'application/json',
2767
- ...options.headers
2768
- }
2769
- });
2770
- /**
2771
- * Mark resource as OK
2772
- *
2773
- * Manually transition the resource to OK state and clear error fields. Staff-only operation.
2774
- */
2775
- export const azureVirtualmachinesSetOk = (options) => (options.client ?? client).post({
2776
- security: [
2777
- { name: 'Authorization', type: 'apiKey' },
2778
- { scheme: 'bearer', type: 'http' }
2779
- ],
2780
- url: '/api/azure-virtualmachines/{uuid}/set_ok/',
2781
- ...options
2782
- });
2783
- export const azureVirtualmachinesStart = (options) => (options.client ?? client).post({
2784
- security: [
2785
- { name: 'Authorization', type: 'apiKey' },
2786
- { scheme: 'bearer', type: 'http' }
2787
- ],
2788
- url: '/api/azure-virtualmachines/{uuid}/start/',
2789
- ...options
2790
- });
2791
- export const azureVirtualmachinesStop = (options) => (options.client ?? client).post({
2792
- security: [
2793
- { name: 'Authorization', type: 'apiKey' },
2794
- { scheme: 'bearer', type: 'http' }
2795
- ],
2796
- url: '/api/azure-virtualmachines/{uuid}/stop/',
2797
- ...options
2798
- });
2799
- /**
2800
- * Unlink resource
2801
- *
2802
- * Delete resource from the database without scheduling operations on backend
2803
- * and without checking current state of the resource. It is intended to be used
2804
- * for removing resource stuck in transitioning state.
2805
- */
2806
- export const azureVirtualmachinesUnlink = (options) => (options.client ?? client).post({
2807
- security: [
2808
- { name: 'Authorization', type: 'apiKey' },
2809
- { scheme: 'bearer', type: 'http' }
2810
- ],
2811
- url: '/api/azure-virtualmachines/{uuid}/unlink/',
2812
- ...options
2813
- });
2814
2137
  /**
2815
2138
  * List backend resource requests
2816
2139
  *
@@ -3298,18 +2621,6 @@ export const callAssignmentConfigurationsCount = (options) => (options?.client ?
3298
2621
  url: '/api/call-assignment-configurations/',
3299
2622
  ...options
3300
2623
  });
3301
- export const callAssignmentConfigurationsCreate = (options) => (options?.client ?? client).post({
3302
- security: [
3303
- { name: 'Authorization', type: 'apiKey' },
3304
- { scheme: 'bearer', type: 'http' }
3305
- ],
3306
- url: '/api/call-assignment-configurations/',
3307
- ...options,
3308
- headers: {
3309
- 'Content-Type': 'application/json',
3310
- ...options?.headers
3311
- }
3312
- });
3313
2624
  export const callAssignmentConfigurationsDestroy = (options) => (options.client ?? client).delete({
3314
2625
  security: [
3315
2626
  { name: 'Authorization', type: 'apiKey' },
@@ -3730,6 +3041,17 @@ export const callReviewerPoolsForceAccept = (options) => (options.client ?? clie
3730
3041
  ...options.headers
3731
3042
  }
3732
3043
  });
3044
+ /**
3045
+ * Send a pending or expired pool invitation again. The invitation returns to pending with a new expiry date from the call's assignment configuration, and the invitee is emailed the link again.
3046
+ */
3047
+ export const callReviewerPoolsResendInvitation = (options) => (options.client ?? client).post({
3048
+ security: [
3049
+ { name: 'Authorization', type: 'apiKey' },
3050
+ { scheme: 'bearer', type: 'http' }
3051
+ ],
3052
+ url: '/api/call-reviewer-pools/{uuid}/resend-invitation/',
3053
+ ...options
3054
+ });
3733
3055
  export const callRoundsList = (options) => (options?.client ?? client).get({
3734
3056
  security: [
3735
3057
  { name: 'Authorization', type: 'apiKey' },
@@ -3768,6 +3090,103 @@ export const callRoundsReviewersList = (options) => (options.client ?? client).g
3768
3090
  url: '/api/call-rounds/{uuid}/reviewers/',
3769
3091
  ...options
3770
3092
  });
3093
+ /**
3094
+ * Get upcoming round deadlines for the call manager dashboard
3095
+ *
3096
+ * Returns the rounds in calls managed by the current user that are still open (cutoff time in the future), nearest first. Paginated: the exact total is in the X-Result-Count header.
3097
+ */
3098
+ export const callRoundsDashboardDeadlinesList = (options) => (options?.client ?? client).get({
3099
+ security: [
3100
+ { name: 'Authorization', type: 'apiKey' },
3101
+ { scheme: 'bearer', type: 'http' }
3102
+ ],
3103
+ url: '/api/call-rounds/dashboard-deadlines/',
3104
+ ...options
3105
+ });
3106
+ /**
3107
+ * Get upcoming round deadlines for the call manager dashboard
3108
+ *
3109
+ * Get number of items in the collection matching the request parameters.
3110
+ */
3111
+ export const callRoundsDashboardDeadlinesCount = (options) => (options?.client ?? client).head({
3112
+ security: [
3113
+ { name: 'Authorization', type: 'apiKey' },
3114
+ { scheme: 'bearer', type: 'http' }
3115
+ ],
3116
+ url: '/api/call-rounds/dashboard-deadlines/',
3117
+ ...options
3118
+ });
3119
+ export const callWorkflowStepNotificationRulesList = (options) => (options?.client ?? client).get({
3120
+ security: [
3121
+ { name: 'Authorization', type: 'apiKey' },
3122
+ { scheme: 'bearer', type: 'http' }
3123
+ ],
3124
+ url: '/api/call-workflow-step-notification-rules/',
3125
+ ...options
3126
+ });
3127
+ /**
3128
+ * Get number of items in the collection matching the request parameters.
3129
+ */
3130
+ export const callWorkflowStepNotificationRulesCount = (options) => (options?.client ?? client).head({
3131
+ security: [
3132
+ { name: 'Authorization', type: 'apiKey' },
3133
+ { scheme: 'bearer', type: 'http' }
3134
+ ],
3135
+ url: '/api/call-workflow-step-notification-rules/',
3136
+ ...options
3137
+ });
3138
+ export const callWorkflowStepNotificationRulesCreate = (options) => (options.client ?? client).post({
3139
+ security: [
3140
+ { name: 'Authorization', type: 'apiKey' },
3141
+ { scheme: 'bearer', type: 'http' }
3142
+ ],
3143
+ url: '/api/call-workflow-step-notification-rules/',
3144
+ ...options,
3145
+ headers: {
3146
+ 'Content-Type': 'application/json',
3147
+ ...options.headers
3148
+ }
3149
+ });
3150
+ export const callWorkflowStepNotificationRulesDestroy = (options) => (options.client ?? client).delete({
3151
+ security: [
3152
+ { name: 'Authorization', type: 'apiKey' },
3153
+ { scheme: 'bearer', type: 'http' }
3154
+ ],
3155
+ url: '/api/call-workflow-step-notification-rules/{uuid}/',
3156
+ ...options
3157
+ });
3158
+ export const callWorkflowStepNotificationRulesRetrieve = (options) => (options.client ?? client).get({
3159
+ security: [
3160
+ { name: 'Authorization', type: 'apiKey' },
3161
+ { scheme: 'bearer', type: 'http' }
3162
+ ],
3163
+ url: '/api/call-workflow-step-notification-rules/{uuid}/',
3164
+ ...options
3165
+ });
3166
+ export const callWorkflowStepNotificationRulesPartialUpdate = (options) => (options.client ?? client).patch({
3167
+ security: [
3168
+ { name: 'Authorization', type: 'apiKey' },
3169
+ { scheme: 'bearer', type: 'http' }
3170
+ ],
3171
+ url: '/api/call-workflow-step-notification-rules/{uuid}/',
3172
+ ...options,
3173
+ headers: {
3174
+ 'Content-Type': 'application/json',
3175
+ ...options.headers
3176
+ }
3177
+ });
3178
+ export const callWorkflowStepNotificationRulesUpdate = (options) => (options.client ?? client).put({
3179
+ security: [
3180
+ { name: 'Authorization', type: 'apiKey' },
3181
+ { scheme: 'bearer', type: 'http' }
3182
+ ],
3183
+ url: '/api/call-workflow-step-notification-rules/{uuid}/',
3184
+ ...options,
3185
+ headers: {
3186
+ 'Content-Type': 'application/json',
3187
+ ...options.headers
3188
+ }
3189
+ });
3771
3190
  /**
3772
3191
  * Get Celery worker statistics
3773
3192
  *
@@ -3794,6 +3213,97 @@ export const celeryStatsRetrieve = (options) => (options?.client ?? client).get(
3794
3213
  url: '/api/celery-stats/',
3795
3214
  ...options
3796
3215
  });
3216
+ /**
3217
+ * List changelog entries
3218
+ *
3219
+ * Returns a flat, paginated list of changelog entries for all pending versions, or, with `release`, the entries that release introduced. Supports filtering by type, risk, scope, version, and text search. Compatible with the standard Waldur table component.
3220
+ */
3221
+ export const changelogEntriesRetrieve = (options) => (options?.client ?? client).get({
3222
+ security: [
3223
+ { name: 'Authorization', type: 'apiKey' },
3224
+ { scheme: 'bearer', type: 'http' }
3225
+ ],
3226
+ url: '/api/changelog-entries/',
3227
+ ...options
3228
+ });
3229
+ /**
3230
+ * Get upgrade report
3231
+ *
3232
+ * Returns a Markdown upgrade report, maintenance announcement text and upgrade commands covering every changelog entry pending for this deployment, regardless of any table filters or pagination.
3233
+ */
3234
+ export const changelogUpgradeReportRetrieve = (options) => (options?.client ?? client).get({
3235
+ security: [
3236
+ { name: 'Authorization', type: 'apiKey' },
3237
+ { scheme: 'bearer', type: 'http' }
3238
+ ],
3239
+ url: '/api/changelog-upgrade-report/',
3240
+ ...options
3241
+ });
3242
+ /**
3243
+ * Get changelog for a specific version
3244
+ *
3245
+ * Returns the full changelog for a specific release version.
3246
+ */
3247
+ export const changelogRetrieve = (options) => (options.client ?? client).get({
3248
+ security: [
3249
+ { name: 'Authorization', type: 'apiKey' },
3250
+ { scheme: 'bearer', type: 'http' }
3251
+ ],
3252
+ url: '/api/changelog/{version}/',
3253
+ ...options
3254
+ });
3255
+ /**
3256
+ * Get changelog delta for a version
3257
+ *
3258
+ * Returns only the incremental changes since the previous version (since_previous entries).
3259
+ */
3260
+ export const changelogDeltaRetrieve = (options) => (options.client ?? client).get({
3261
+ security: [
3262
+ { name: 'Authorization', type: 'apiKey' },
3263
+ { scheme: 'bearer', type: 'http' }
3264
+ ],
3265
+ url: '/api/changelog/{version}/delta/',
3266
+ ...options
3267
+ });
3268
+ /**
3269
+ * Compare changelog between two versions
3270
+ *
3271
+ * Returns merged delta entries between two arbitrary versions. Useful for seeing what changed between e.g. rc.5 and rc.12.
3272
+ */
3273
+ export const changelogCompareRetrieve = (options) => (options.client ?? client).get({
3274
+ security: [
3275
+ { name: 'Authorization', type: 'apiKey' },
3276
+ { scheme: 'bearer', type: 'http' }
3277
+ ],
3278
+ url: '/api/changelog/compare/{from_version}/{to_version}/',
3279
+ ...options
3280
+ });
3281
+ /**
3282
+ * Get pending changelog
3283
+ *
3284
+ * Returns the changelog entries this deployment has not seen yet, grouped by each newer version, with relevance matching and impact analysis results.
3285
+ */
3286
+ export const changelogPendingRetrieve = (options) => (options?.client ?? client).get({
3287
+ security: [
3288
+ { name: 'Authorization', type: 'apiKey' },
3289
+ { scheme: 'bearer', type: 'http' }
3290
+ ],
3291
+ url: '/api/changelog/pending/',
3292
+ ...options
3293
+ });
3294
+ /**
3295
+ * List changelog releases
3296
+ *
3297
+ * Returns every release in the changelog index, newest first, each marked as the release this deployment runs, pending (newer) or older.
3298
+ */
3299
+ export const changelogReleasesRetrieve = (options) => (options?.client ?? client).get({
3300
+ security: [
3301
+ { name: 'Authorization', type: 'apiKey' },
3302
+ { scheme: 'bearer', type: 'http' }
3303
+ ],
3304
+ url: '/api/changelog/releases/',
3305
+ ...options
3306
+ });
3797
3307
  export const chatMessagesList = (options) => (options?.client ?? client).get({
3798
3308
  security: [
3799
3309
  { name: 'Authorization', type: 'apiKey' },
@@ -5013,7 +4523,7 @@ export const customerRoleConcealmentsRetrieve = (options) => (options.client ??
5013
4523
  /**
5014
4524
  * List customers
5015
4525
  *
5016
- * Retrieve a list of customers. The list is filtered based on the user's permissions.
4526
+ * Retrieve a list of customers. The list is filtered based on the user's permissions. A user whose only link to an organization is a role on its service provider sees it with a restricted field set: url, uuid, name, native_name, display_name, abbreviation, slug, image, country, country_name, is_service_provider, service_provider and service_provider_uuid. All other fields are omitted for that row.
5017
4527
  */
5018
4528
  export const customersList = (options) => (options?.client ?? client).get({
5019
4529
  security: [
@@ -5199,7 +4709,7 @@ export const customersDestroy = (options) => (options.client ?? client).delete({
5199
4709
  /**
5200
4710
  * Retrieve customer details
5201
4711
  *
5202
- * Fetch the details of a specific customer by its UUID.
4712
+ * Fetch the details of a specific customer by its UUID. A user whose only link to the organization is a role on its service provider receives the restricted field set described on the list operation.
5203
4713
  */
5204
4714
  export const customersRetrieve = (options) => (options.client ?? client).get({
5205
4715
  security: [
@@ -5389,6 +4899,19 @@ export const customersProjectDigestConfigSendTest = (options) => (options.client
5389
4899
  url: '/api/customers/{uuid}/project-digest-config/send-test/',
5390
4900
  ...options
5391
4901
  });
4902
+ /**
4903
+ * List service providers serving this customer
4904
+ *
4905
+ * Returns service providers with at least one active resource provisioned for this customer.
4906
+ */
4907
+ export const customersProvidersList = (options) => (options.client ?? client).get({
4908
+ security: [
4909
+ { name: 'Authorization', type: 'apiKey' },
4910
+ { scheme: 'bearer', type: 'http' }
4911
+ ],
4912
+ url: '/api/customers/{uuid}/providers/',
4913
+ ...options
4914
+ });
5392
4915
  /**
5393
4916
  * Get customer resource usage statistics
5394
4917
  *
@@ -5582,6 +5105,59 @@ export const databaseStatsRetrieve = (options) => (options?.client ?? client).ge
5582
5105
  url: '/api/database-stats/',
5583
5106
  ...options
5584
5107
  });
5108
+ /**
5109
+ * Audit the outgoing email configuration
5110
+ *
5111
+ * Reports the effective mail settings and the problems found in them.
5112
+ *
5113
+ * Reads settings only — no connection is opened and no message is sent.
5114
+ * Covers the two independent halves of email delivery: a usable SMTP relay,
5115
+ * and at least one enabled notification type. Requires staff permissions.
5116
+ */
5117
+ export const debugEmailConfigRetrieve = (options) => (options?.client ?? client).get({
5118
+ security: [
5119
+ { name: 'Authorization', type: 'apiKey' },
5120
+ { scheme: 'bearer', type: 'http' }
5121
+ ],
5122
+ url: '/api/debug/email/config/',
5123
+ ...options
5124
+ });
5125
+ /**
5126
+ * Test the SMTP connection
5127
+ *
5128
+ * Opens and closes a connection to the configured relay without sending a message.
5129
+ *
5130
+ * The connection is made from the API process, which may reach the network
5131
+ * differently than the Celery workers that send real notifications.
5132
+ * Requires staff permissions.
5133
+ */
5134
+ export const debugEmailProbe = (options) => (options?.client ?? client).post({
5135
+ security: [
5136
+ { name: 'Authorization', type: 'apiKey' },
5137
+ { scheme: 'bearer', type: 'http' }
5138
+ ],
5139
+ url: '/api/debug/email/probe/',
5140
+ ...options
5141
+ });
5142
+ /**
5143
+ * Send a test email
5144
+ *
5145
+ * Sends a test message through the same code path as real notifications.
5146
+ *
5147
+ * Defaults to the address of the requesting user. Requires staff permissions.
5148
+ */
5149
+ export const debugEmailSendTest = (options) => (options?.client ?? client).post({
5150
+ security: [
5151
+ { name: 'Authorization', type: 'apiKey' },
5152
+ { scheme: 'bearer', type: 'http' }
5153
+ ],
5154
+ url: '/api/debug/email/send_test/',
5155
+ ...options,
5156
+ headers: {
5157
+ 'Content-Type': 'application/json',
5158
+ ...options?.headers
5159
+ }
5160
+ });
5585
5161
  /**
5586
5162
  * Get circuit breaker state
5587
5163
  *
@@ -6265,6 +5841,9 @@ export const eventsCountCount = (options) => (options?.client ?? client).head({
6265
5841
  /**
6266
5842
  * Returns a list of groups with event types.
6267
5843
  * Group is used in exclude_features query param.
5844
+ *
5845
+ * Narrowed to the groups this deployment can emit. Groups left out stay
5846
+ * deliverable and writable -- see waldur_core.logging.availability.
6268
5847
  */
6269
5848
  export const eventsEventGroupsRetrieve = (options) => (options?.client ?? client).get({
6270
5849
  security: [
@@ -9553,7 +9132,7 @@ export const marketplaceCustomerServiceAccountsRotateApiKey = (options) => (opti
9553
9132
  /**
9554
9133
  * Get resource usage statistics broken down per offering
9555
9134
  *
9556
- * Returns one row per (offering, component type, billing type) for all non-terminated resources within the scope. Each row's `usage` and `limit_usage` are aggregated using the offering's own `limit_period`.
9135
+ * Returns one row per (offering, component type, billing type) for all non-terminated resources within the scope (or all resources when `include_terminated` is true). Each row's `usage` and `limit_usage` are aggregated using the offering's own `limit_period`.
9557
9136
  */
9558
9137
  export const marketplaceCustomerUsageComponentsUsageRetrieve = (options) => (options.client ?? client).get({
9559
9138
  security: [
@@ -9716,6 +9295,258 @@ export const marketplaceIntegrationStatusesRetrieve = (options) => (options.clie
9716
9295
  url: '/api/marketplace-integration-statuses/{uuid}/',
9717
9296
  ...options
9718
9297
  });
9298
+ /**
9299
+ * Break a metric figure down by an attribute or by resource
9300
+ */
9301
+ export const marketplaceMetricBreakdownList = (options) => (options.client ?? client).get({
9302
+ security: [
9303
+ { name: 'Authorization', type: 'apiKey' },
9304
+ { scheme: 'bearer', type: 'http' }
9305
+ ],
9306
+ url: '/api/marketplace-metric-breakdown/',
9307
+ ...options
9308
+ });
9309
+ export const marketplaceMetricDefinitionsList = (options) => (options?.client ?? client).get({
9310
+ security: [
9311
+ { name: 'Authorization', type: 'apiKey' },
9312
+ { scheme: 'bearer', type: 'http' }
9313
+ ],
9314
+ url: '/api/marketplace-metric-definitions/',
9315
+ ...options
9316
+ });
9317
+ /**
9318
+ * Get number of items in the collection matching the request parameters.
9319
+ */
9320
+ export const marketplaceMetricDefinitionsCount = (options) => (options?.client ?? client).head({
9321
+ security: [
9322
+ { name: 'Authorization', type: 'apiKey' },
9323
+ { scheme: 'bearer', type: 'http' }
9324
+ ],
9325
+ url: '/api/marketplace-metric-definitions/',
9326
+ ...options
9327
+ });
9328
+ export const marketplaceMetricDefinitionsCreate = (options) => (options.client ?? client).post({
9329
+ security: [
9330
+ { name: 'Authorization', type: 'apiKey' },
9331
+ { scheme: 'bearer', type: 'http' }
9332
+ ],
9333
+ url: '/api/marketplace-metric-definitions/',
9334
+ ...options,
9335
+ headers: {
9336
+ 'Content-Type': 'application/json',
9337
+ ...options.headers
9338
+ }
9339
+ });
9340
+ export const marketplaceMetricDefinitionsDestroy = (options) => (options.client ?? client).delete({
9341
+ security: [
9342
+ { name: 'Authorization', type: 'apiKey' },
9343
+ { scheme: 'bearer', type: 'http' }
9344
+ ],
9345
+ url: '/api/marketplace-metric-definitions/{uuid}/',
9346
+ ...options
9347
+ });
9348
+ export const marketplaceMetricDefinitionsRetrieve = (options) => (options.client ?? client).get({
9349
+ security: [
9350
+ { name: 'Authorization', type: 'apiKey' },
9351
+ { scheme: 'bearer', type: 'http' }
9352
+ ],
9353
+ url: '/api/marketplace-metric-definitions/{uuid}/',
9354
+ ...options
9355
+ });
9356
+ export const marketplaceMetricDefinitionsPartialUpdate = (options) => (options.client ?? client).patch({
9357
+ security: [
9358
+ { name: 'Authorization', type: 'apiKey' },
9359
+ { scheme: 'bearer', type: 'http' }
9360
+ ],
9361
+ url: '/api/marketplace-metric-definitions/{uuid}/',
9362
+ ...options,
9363
+ headers: {
9364
+ 'Content-Type': 'application/json',
9365
+ ...options.headers
9366
+ }
9367
+ });
9368
+ export const marketplaceMetricDefinitionsUpdate = (options) => (options.client ?? client).put({
9369
+ security: [
9370
+ { name: 'Authorization', type: 'apiKey' },
9371
+ { scheme: 'bearer', type: 'http' }
9372
+ ],
9373
+ url: '/api/marketplace-metric-definitions/{uuid}/',
9374
+ ...options,
9375
+ headers: {
9376
+ 'Content-Type': 'application/json',
9377
+ ...options.headers
9378
+ }
9379
+ });
9380
+ export const marketplaceMetricGoalsList = (options) => (options?.client ?? client).get({
9381
+ security: [
9382
+ { name: 'Authorization', type: 'apiKey' },
9383
+ { scheme: 'bearer', type: 'http' }
9384
+ ],
9385
+ url: '/api/marketplace-metric-goals/',
9386
+ ...options
9387
+ });
9388
+ /**
9389
+ * Get number of items in the collection matching the request parameters.
9390
+ */
9391
+ export const marketplaceMetricGoalsCount = (options) => (options?.client ?? client).head({
9392
+ security: [
9393
+ { name: 'Authorization', type: 'apiKey' },
9394
+ { scheme: 'bearer', type: 'http' }
9395
+ ],
9396
+ url: '/api/marketplace-metric-goals/',
9397
+ ...options
9398
+ });
9399
+ export const marketplaceMetricGoalsCreate = (options) => (options.client ?? client).post({
9400
+ security: [
9401
+ { name: 'Authorization', type: 'apiKey' },
9402
+ { scheme: 'bearer', type: 'http' }
9403
+ ],
9404
+ url: '/api/marketplace-metric-goals/',
9405
+ ...options,
9406
+ headers: {
9407
+ 'Content-Type': 'application/json',
9408
+ ...options.headers
9409
+ }
9410
+ });
9411
+ export const marketplaceMetricGoalsDestroy = (options) => (options.client ?? client).delete({
9412
+ security: [
9413
+ { name: 'Authorization', type: 'apiKey' },
9414
+ { scheme: 'bearer', type: 'http' }
9415
+ ],
9416
+ url: '/api/marketplace-metric-goals/{uuid}/',
9417
+ ...options
9418
+ });
9419
+ export const marketplaceMetricGoalsRetrieve = (options) => (options.client ?? client).get({
9420
+ security: [
9421
+ { name: 'Authorization', type: 'apiKey' },
9422
+ { scheme: 'bearer', type: 'http' }
9423
+ ],
9424
+ url: '/api/marketplace-metric-goals/{uuid}/',
9425
+ ...options
9426
+ });
9427
+ export const marketplaceMetricGoalsPartialUpdate = (options) => (options.client ?? client).patch({
9428
+ security: [
9429
+ { name: 'Authorization', type: 'apiKey' },
9430
+ { scheme: 'bearer', type: 'http' }
9431
+ ],
9432
+ url: '/api/marketplace-metric-goals/{uuid}/',
9433
+ ...options,
9434
+ headers: {
9435
+ 'Content-Type': 'application/json',
9436
+ ...options.headers
9437
+ }
9438
+ });
9439
+ export const marketplaceMetricGoalsUpdate = (options) => (options.client ?? client).put({
9440
+ security: [
9441
+ { name: 'Authorization', type: 'apiKey' },
9442
+ { scheme: 'bearer', type: 'http' }
9443
+ ],
9444
+ url: '/api/marketplace-metric-goals/{uuid}/',
9445
+ ...options,
9446
+ headers: {
9447
+ 'Content-Type': 'application/json',
9448
+ ...options.headers
9449
+ }
9450
+ });
9451
+ /**
9452
+ * Report metric points
9453
+ *
9454
+ * Records points for resources against metrics their offerings adopt. Send one point or a list. A point is identified by resource, metric, attributes and timestamp: sending it again replaces the value. The caller must be allowed to report usage for every resource in the request, or nothing is recorded (403). Other problems refuse only the affected points, listed by index.
9455
+ */
9456
+ export const marketplaceMetricPointsCreate = (options) => (options?.client ?? client).post({
9457
+ security: [
9458
+ { name: 'Authorization', type: 'apiKey' },
9459
+ { scheme: 'bearer', type: 'http' }
9460
+ ],
9461
+ url: '/api/marketplace-metric-points/',
9462
+ ...options,
9463
+ headers: {
9464
+ 'Content-Type': 'application/json',
9465
+ ...options?.headers
9466
+ }
9467
+ });
9468
+ export const marketplaceMetricRetentionPoliciesList = (options) => (options?.client ?? client).get({
9469
+ security: [
9470
+ { name: 'Authorization', type: 'apiKey' },
9471
+ { scheme: 'bearer', type: 'http' }
9472
+ ],
9473
+ url: '/api/marketplace-metric-retention-policies/',
9474
+ ...options
9475
+ });
9476
+ /**
9477
+ * Get number of items in the collection matching the request parameters.
9478
+ */
9479
+ export const marketplaceMetricRetentionPoliciesCount = (options) => (options?.client ?? client).head({
9480
+ security: [
9481
+ { name: 'Authorization', type: 'apiKey' },
9482
+ { scheme: 'bearer', type: 'http' }
9483
+ ],
9484
+ url: '/api/marketplace-metric-retention-policies/',
9485
+ ...options
9486
+ });
9487
+ export const marketplaceMetricRetentionPoliciesCreate = (options) => (options.client ?? client).post({
9488
+ security: [
9489
+ { name: 'Authorization', type: 'apiKey' },
9490
+ { scheme: 'bearer', type: 'http' }
9491
+ ],
9492
+ url: '/api/marketplace-metric-retention-policies/',
9493
+ ...options,
9494
+ headers: {
9495
+ 'Content-Type': 'application/json',
9496
+ ...options.headers
9497
+ }
9498
+ });
9499
+ export const marketplaceMetricRetentionPoliciesDestroy = (options) => (options.client ?? client).delete({
9500
+ security: [
9501
+ { name: 'Authorization', type: 'apiKey' },
9502
+ { scheme: 'bearer', type: 'http' }
9503
+ ],
9504
+ url: '/api/marketplace-metric-retention-policies/{uuid}/',
9505
+ ...options
9506
+ });
9507
+ export const marketplaceMetricRetentionPoliciesRetrieve = (options) => (options.client ?? client).get({
9508
+ security: [
9509
+ { name: 'Authorization', type: 'apiKey' },
9510
+ { scheme: 'bearer', type: 'http' }
9511
+ ],
9512
+ url: '/api/marketplace-metric-retention-policies/{uuid}/',
9513
+ ...options
9514
+ });
9515
+ export const marketplaceMetricRetentionPoliciesPartialUpdate = (options) => (options.client ?? client).patch({
9516
+ security: [
9517
+ { name: 'Authorization', type: 'apiKey' },
9518
+ { scheme: 'bearer', type: 'http' }
9519
+ ],
9520
+ url: '/api/marketplace-metric-retention-policies/{uuid}/',
9521
+ ...options,
9522
+ headers: {
9523
+ 'Content-Type': 'application/json',
9524
+ ...options.headers
9525
+ }
9526
+ });
9527
+ export const marketplaceMetricRetentionPoliciesUpdate = (options) => (options.client ?? client).put({
9528
+ security: [
9529
+ { name: 'Authorization', type: 'apiKey' },
9530
+ { scheme: 'bearer', type: 'http' }
9531
+ ],
9532
+ url: '/api/marketplace-metric-retention-policies/{uuid}/',
9533
+ ...options,
9534
+ headers: {
9535
+ 'Content-Type': 'application/json',
9536
+ ...options.headers
9537
+ }
9538
+ });
9539
+ /**
9540
+ * Get metric series
9541
+ */
9542
+ export const marketplaceMetricSeriesRetrieve = (options) => (options.client ?? client).get({
9543
+ security: [
9544
+ { name: 'Authorization', type: 'apiKey' },
9545
+ { scheme: 'bearer', type: 'http' }
9546
+ ],
9547
+ url: '/api/marketplace-metric-series/',
9548
+ ...options
9549
+ });
9719
9550
  /**
9720
9551
  * List resources
9721
9552
  *
@@ -10020,6 +9851,251 @@ export const marketplaceOfferingGroupsUpdate = (options) => (options.client ?? c
10020
9851
  ...options.headers
10021
9852
  }
10022
9853
  });
9854
+ export const marketplaceOfferingMergesList = (options) => (options?.client ?? client).get({
9855
+ security: [
9856
+ { name: 'Authorization', type: 'apiKey' },
9857
+ { scheme: 'bearer', type: 'http' }
9858
+ ],
9859
+ url: '/api/marketplace-offering-merges/',
9860
+ ...options
9861
+ });
9862
+ /**
9863
+ * Get number of items in the collection matching the request parameters.
9864
+ */
9865
+ export const marketplaceOfferingMergesCount = (options) => (options?.client ?? client).head({
9866
+ security: [
9867
+ { name: 'Authorization', type: 'apiKey' },
9868
+ { scheme: 'bearer', type: 'http' }
9869
+ ],
9870
+ url: '/api/marketplace-offering-merges/',
9871
+ ...options
9872
+ });
9873
+ export const marketplaceOfferingMergesCreate = (options) => (options.client ?? client).post({
9874
+ security: [
9875
+ { name: 'Authorization', type: 'apiKey' },
9876
+ { scheme: 'bearer', type: 'http' }
9877
+ ],
9878
+ url: '/api/marketplace-offering-merges/',
9879
+ ...options,
9880
+ headers: {
9881
+ 'Content-Type': 'application/json',
9882
+ ...options.headers
9883
+ }
9884
+ });
9885
+ export const marketplaceOfferingMergesDestroy = (options) => (options.client ?? client).delete({
9886
+ security: [
9887
+ { name: 'Authorization', type: 'apiKey' },
9888
+ { scheme: 'bearer', type: 'http' }
9889
+ ],
9890
+ url: '/api/marketplace-offering-merges/{uuid}/',
9891
+ ...options
9892
+ });
9893
+ export const marketplaceOfferingMergesRetrieve = (options) => (options.client ?? client).get({
9894
+ security: [
9895
+ { name: 'Authorization', type: 'apiKey' },
9896
+ { scheme: 'bearer', type: 'http' }
9897
+ ],
9898
+ url: '/api/marketplace-offering-merges/{uuid}/',
9899
+ ...options
9900
+ });
9901
+ export const marketplaceOfferingMergesPartialUpdate = (options) => (options.client ?? client).patch({
9902
+ security: [
9903
+ { name: 'Authorization', type: 'apiKey' },
9904
+ { scheme: 'bearer', type: 'http' }
9905
+ ],
9906
+ url: '/api/marketplace-offering-merges/{uuid}/',
9907
+ ...options,
9908
+ headers: {
9909
+ 'Content-Type': 'application/json',
9910
+ ...options.headers
9911
+ }
9912
+ });
9913
+ /**
9914
+ * List the rows one preview entry changes, newest first.
9915
+ *
9916
+ * Staff and support; nothing is written. A merge that has not run yet
9917
+ * recomputes its plan, so the listing is what the executor would do
9918
+ * rather than a stored copy of it. A merge that has run, or has been
9919
+ * undone, is described from its journal: what was actually written.
9920
+ */
9921
+ export const marketplaceOfferingMergesAffectedList = (options) => (options.client ?? client).get({
9922
+ security: [
9923
+ { name: 'Authorization', type: 'apiKey' },
9924
+ { scheme: 'bearer', type: 'http' }
9925
+ ],
9926
+ url: '/api/marketplace-offering-merges/{uuid}/affected/',
9927
+ ...options
9928
+ });
9929
+ /**
9930
+ * Queue a previewed merge for execution.
9931
+ *
9932
+ * Refused with 400 if the stored preview has blockers or a warning code
9933
+ * is missing from ``acknowledged_warnings``, and with 409 unless the
9934
+ * merge is ``previewed``, which also refuses a second request.
9935
+ */
9936
+ export const marketplaceOfferingMergesExecute = (options) => (options.client ?? client).post({
9937
+ security: [
9938
+ { name: 'Authorization', type: 'apiKey' },
9939
+ { scheme: 'bearer', type: 'http' }
9940
+ ],
9941
+ url: '/api/marketplace-offering-merges/{uuid}/execute/',
9942
+ ...options,
9943
+ headers: {
9944
+ 'Content-Type': 'application/json',
9945
+ ...options.headers
9946
+ }
9947
+ });
9948
+ /**
9949
+ * Compute the merge preview: counts, blockers and warnings.
9950
+ *
9951
+ * Staff store it on the record, which moves to ``previewed``. Support
9952
+ * receive the same preview without it being stored.
9953
+ */
9954
+ export const marketplaceOfferingMergesPreview = (options) => (options.client ?? client).post({
9955
+ security: [
9956
+ { name: 'Authorization', type: 'apiKey' },
9957
+ { scheme: 'bearer', type: 'http' }
9958
+ ],
9959
+ url: '/api/marketplace-offering-merges/{uuid}/preview/',
9960
+ ...options
9961
+ });
9962
+ /**
9963
+ * Queue the undo of a completed merge.
9964
+ *
9965
+ * The engine's preconditions are checked first: if the undo would be
9966
+ * refused, the answer is 400 with the blockers and nothing is queued.
9967
+ */
9968
+ export const marketplaceOfferingMergesUndo = (options) => (options.client ?? client).post({
9969
+ security: [
9970
+ { name: 'Authorization', type: 'apiKey' },
9971
+ { scheme: 'bearer', type: 'http' }
9972
+ ],
9973
+ url: '/api/marketplace-offering-merges/{uuid}/undo/',
9974
+ ...options
9975
+ });
9976
+ /**
9977
+ * Suggest plan mappings by name and component mappings by type.
9978
+ */
9979
+ export const marketplaceOfferingMergesSuggestMappingRetrieve = (options) => (options.client ?? client).get({
9980
+ security: [
9981
+ { name: 'Authorization', type: 'apiKey' },
9982
+ { scheme: 'bearer', type: 'http' }
9983
+ ],
9984
+ url: '/api/marketplace-offering-merges/suggest_mapping/',
9985
+ ...options
9986
+ });
9987
+ export const marketplaceOfferingMetricsList = (options) => (options?.client ?? client).get({
9988
+ security: [
9989
+ { name: 'Authorization', type: 'apiKey' },
9990
+ { scheme: 'bearer', type: 'http' }
9991
+ ],
9992
+ url: '/api/marketplace-offering-metrics/',
9993
+ ...options
9994
+ });
9995
+ /**
9996
+ * Get number of items in the collection matching the request parameters.
9997
+ */
9998
+ export const marketplaceOfferingMetricsCount = (options) => (options?.client ?? client).head({
9999
+ security: [
10000
+ { name: 'Authorization', type: 'apiKey' },
10001
+ { scheme: 'bearer', type: 'http' }
10002
+ ],
10003
+ url: '/api/marketplace-offering-metrics/',
10004
+ ...options
10005
+ });
10006
+ export const marketplaceOfferingMetricsCreate = (options) => (options.client ?? client).post({
10007
+ security: [
10008
+ { name: 'Authorization', type: 'apiKey' },
10009
+ { scheme: 'bearer', type: 'http' }
10010
+ ],
10011
+ url: '/api/marketplace-offering-metrics/',
10012
+ ...options,
10013
+ headers: {
10014
+ 'Content-Type': 'application/json',
10015
+ ...options.headers
10016
+ }
10017
+ });
10018
+ export const marketplaceOfferingMetricsDestroy = (options) => (options.client ?? client).delete({
10019
+ security: [
10020
+ { name: 'Authorization', type: 'apiKey' },
10021
+ { scheme: 'bearer', type: 'http' }
10022
+ ],
10023
+ url: '/api/marketplace-offering-metrics/{uuid}/',
10024
+ ...options
10025
+ });
10026
+ export const marketplaceOfferingMetricsRetrieve = (options) => (options.client ?? client).get({
10027
+ security: [
10028
+ { name: 'Authorization', type: 'apiKey' },
10029
+ { scheme: 'bearer', type: 'http' }
10030
+ ],
10031
+ url: '/api/marketplace-offering-metrics/{uuid}/',
10032
+ ...options
10033
+ });
10034
+ export const marketplaceOfferingMetricsPartialUpdate = (options) => (options.client ?? client).patch({
10035
+ security: [
10036
+ { name: 'Authorization', type: 'apiKey' },
10037
+ { scheme: 'bearer', type: 'http' }
10038
+ ],
10039
+ url: '/api/marketplace-offering-metrics/{uuid}/',
10040
+ ...options,
10041
+ headers: {
10042
+ 'Content-Type': 'application/json',
10043
+ ...options.headers
10044
+ }
10045
+ });
10046
+ export const marketplaceOfferingMetricsUpdate = (options) => (options.client ?? client).put({
10047
+ security: [
10048
+ { name: 'Authorization', type: 'apiKey' },
10049
+ { scheme: 'bearer', type: 'http' }
10050
+ ],
10051
+ url: '/api/marketplace-offering-metrics/{uuid}/',
10052
+ ...options,
10053
+ headers: {
10054
+ 'Content-Type': 'application/json',
10055
+ ...options.headers
10056
+ }
10057
+ });
10058
+ /**
10059
+ * Stop collecting and hide the metric from consuming projects.
10060
+ */
10061
+ export const marketplaceOfferingMetricsArchive = (options) => (options.client ?? client).post({
10062
+ security: [
10063
+ { name: 'Authorization', type: 'apiKey' },
10064
+ { scheme: 'bearer', type: 'http' }
10065
+ ],
10066
+ url: '/api/marketplace-offering-metrics/{uuid}/archive/',
10067
+ ...options
10068
+ });
10069
+ /**
10070
+ * Refuse new points; what was reported stays visible.
10071
+ */
10072
+ export const marketplaceOfferingMetricsPause = (options) => (options.client ?? client).post({
10073
+ security: [
10074
+ { name: 'Authorization', type: 'apiKey' },
10075
+ { scheme: 'bearer', type: 'http' }
10076
+ ],
10077
+ url: '/api/marketplace-offering-metrics/{uuid}/pause/',
10078
+ ...options
10079
+ });
10080
+ /**
10081
+ * Delete everything an archived metric collected, then the metric.
10082
+ */
10083
+ export const marketplaceOfferingMetricsPurge = (options) => (options.client ?? client).post({
10084
+ security: [
10085
+ { name: 'Authorization', type: 'apiKey' },
10086
+ { scheme: 'bearer', type: 'http' }
10087
+ ],
10088
+ url: '/api/marketplace-offering-metrics/{uuid}/purge/',
10089
+ ...options
10090
+ });
10091
+ export const marketplaceOfferingMetricsResume = (options) => (options.client ?? client).post({
10092
+ security: [
10093
+ { name: 'Authorization', type: 'apiKey' },
10094
+ { scheme: 'bearer', type: 'http' }
10095
+ ],
10096
+ url: '/api/marketplace-offering-metrics/{uuid}/resume/',
10097
+ ...options
10098
+ });
10023
10099
  export const marketplaceOfferingPermissionsList = (options) => (options?.client ?? client).get({
10024
10100
  security: [
10025
10101
  { name: 'Authorization', type: 'apiKey' },
@@ -10668,7 +10744,7 @@ export const marketplaceOfferingUsersCompletionStatusRetrieve = (options) => (op
10668
10744
  /**
10669
10745
  * List POSIX UID/GID allocations of an offering user
10670
10746
  *
10671
- * Returns the user's POSIX identifiers (UID, primary GID) and, for each, the POSIX ID pool that tracks it. The pool fields are null when the value is not tracked by a pool.
10747
+ * Returns the user's POSIX identifiers (UID, primary GID) and, for each, the POSIX ID pool that tracks it plus the user's other offerings that resolve to the same pool and therefore carry the very same value. The pool fields are null when the value is not tracked by a pool.
10672
10748
  */
10673
10749
  export const marketplaceOfferingUsersPosixAllocationsList = (options) => (options.client ?? client).get({
10674
10750
  security: [
@@ -10759,7 +10835,7 @@ export const marketplaceOfferingUsersSetErrorDeleting = (options) => (options.cl
10759
10835
  /**
10760
10836
  * Set state to OK
10761
10837
  *
10762
- * Manually sets the offering user state to 'OK'. This can be used to recover from an error state or to complete a manual creation process.
10838
+ * Manually sets the offering user state to 'OK'. This can be used to recover from an error state or to complete a manual creation process. This clears any service provider comments.
10763
10839
  */
10764
10840
  export const marketplaceOfferingUsersSetOk = (options) => (options.client ?? client).post({
10765
10841
  security: [
@@ -10810,6 +10886,8 @@ export const marketplaceOfferingUsersSetPendingAdditionalValidation = (options)
10810
10886
  *
10811
10887
  * A UID or primary GID re-points the allocation ledger and must fall within the POSIX ID pool resolved for the offering: a value outside that pool's range is rejected with 400, as is a value already held by another active identity (another account, a robot account or a group) and any override on an offering for which no pool resolves. The action is all-or-nothing - a conflict on the second identifier rolls back the change made for the first.
10812
10888
  *
10889
+ * A UID or primary GID belongs to the user within the pool, not to this single account, so the pin applies across every offering of the provider that resolves to the same pool. An offering with its own pool is unaffected.
10890
+ *
10813
10891
  * The response 'warnings' list carries only non-fatal advisories about values that were accepted: the reserved POSIX ids 65534 and 65535, and values of 2^31 or above, which may break software using signed 32-bit ids.
10814
10892
  */
10815
10893
  export const marketplaceOfferingUsersSetPosixAttributes = (options) => (options.client ?? client).post({
@@ -10928,7 +11006,7 @@ export const marketplaceOfferingUsersChecklistTemplateCount = (options) => (opti
10928
11006
  /**
10929
11007
  * List a user's POSIX identities across all their offerings
10930
11008
  *
10931
- * Consolidated view of one user's POSIX identifiers (UID, primary GID and project group GIDs) across every offering they have an account on, each with the range it was allocated from. Scoped to the offering users the requester is allowed to see.
11009
+ * Consolidated view of one user's POSIX identifiers (UID, primary GID and project group GIDs), one row per pool and namespace: a UID allocated once for the user is reported once, listing every offering that uses it. An offering with its own pool yields its own row. Scoped to the offering users the requester is allowed to see.
10932
11010
  */
10933
11011
  export const marketplaceOfferingUsersPosixIdentitiesList = (options) => (options.client ?? client).get({
10934
11012
  security: [
@@ -10996,21 +11074,6 @@ export const marketplaceOpenstackDuplicateOfferingsCount = (options) => (options
10996
11074
  url: '/api/marketplace-openstack-duplicate-offerings/',
10997
11075
  ...options
10998
11076
  });
10999
- /**
11000
- * Collapse one duplicate per-tenant offering group onto its keeper. Previews by default; pass dry_run=false to apply. Refuses to run when history (billing periods, usage records) cannot be re-pointed.
11001
- */
11002
- export const marketplaceOpenstackDuplicateOfferingsRemediate = (options) => (options.client ?? client).post({
11003
- security: [
11004
- { name: 'Authorization', type: 'apiKey' },
11005
- { scheme: 'bearer', type: 'http' }
11006
- ],
11007
- url: '/api/marketplace-openstack-duplicate-offerings/remediate/',
11008
- ...options,
11009
- headers: {
11010
- 'Content-Type': 'application/json',
11011
- ...options.headers
11012
- }
11013
- });
11014
11077
  /**
11015
11078
  * List orders
11016
11079
  *
@@ -11357,6 +11420,32 @@ export const marketplaceOrdersUpdateAttachment = (options) => (options.client ??
11357
11420
  ...options.headers
11358
11421
  }
11359
11422
  });
11423
+ /**
11424
+ * List current user's unfinished orders
11425
+ *
11426
+ * Returns the orders created by the current user that are still pending approval or being processed, newest first. Scoped to the requesting user only, so requesters can track their orders even without list permissions on the project or organization. Paginated: the exact total is in the X-Result-Count header.
11427
+ */
11428
+ export const marketplaceOrdersDashboardMyOrdersList = (options) => (options?.client ?? client).get({
11429
+ security: [
11430
+ { name: 'Authorization', type: 'apiKey' },
11431
+ { scheme: 'bearer', type: 'http' }
11432
+ ],
11433
+ url: '/api/marketplace-orders/dashboard-my-orders/',
11434
+ ...options
11435
+ });
11436
+ /**
11437
+ * List current user's unfinished orders
11438
+ *
11439
+ * Get number of items in the collection matching the request parameters.
11440
+ */
11441
+ export const marketplaceOrdersDashboardMyOrdersCount = (options) => (options?.client ?? client).head({
11442
+ security: [
11443
+ { name: 'Authorization', type: 'apiKey' },
11444
+ { scheme: 'bearer', type: 'http' }
11445
+ ],
11446
+ url: '/api/marketplace-orders/dashboard-my-orders/',
11447
+ ...options
11448
+ });
11360
11449
  /**
11361
11450
  * List plan components
11362
11451
  *
@@ -11740,6 +11829,36 @@ export const marketplacePosixIdPoolsUpdate = (options) => (options.client ?? cli
11740
11829
  ...options.headers
11741
11830
  }
11742
11831
  });
11832
+ /**
11833
+ * Re-point existing accounts onto this pool
11834
+ *
11835
+ * Moves the offering's existing accounts onto this override pool and returns the identifiers that changed. Requires 'confirm': true - preview the impact with repoint_preview first, and reconcile the provider's filesystem afterwards, since the accounts' files still carry the old numbers. Values freed in the previously resolved pool are withheld from recycling until an operator returns them. Offering-level pools only.
11836
+ */
11837
+ export const marketplacePosixIdPoolsRepoint = (options) => (options.client ?? client).post({
11838
+ security: [
11839
+ { name: 'Authorization', type: 'apiKey' },
11840
+ { scheme: 'bearer', type: 'http' }
11841
+ ],
11842
+ url: '/api/marketplace-posix-id-pools/{uuid}/repoint/',
11843
+ ...options,
11844
+ headers: {
11845
+ 'Content-Type': 'application/json',
11846
+ ...options.headers
11847
+ }
11848
+ });
11849
+ /**
11850
+ * Preview re-pointing existing accounts onto this pool
11851
+ *
11852
+ * Adding an override pool to an offering that already has accounts changes nothing by itself: accounts created afterwards draw from the override pool, while existing ones keep the values they were given by the previously resolved pool. This action reports which offering users would change and from which value to which, without writing anything. Offering-level pools only.
11853
+ */
11854
+ export const marketplacePosixIdPoolsRepointPreviewRetrieve = (options) => (options.client ?? client).get({
11855
+ security: [
11856
+ { name: 'Authorization', type: 'apiKey' },
11857
+ { scheme: 'bearer', type: 'http' }
11858
+ ],
11859
+ url: '/api/marketplace-posix-id-pools/{uuid}/repoint_preview/',
11860
+ ...options
11861
+ });
11743
11862
  /**
11744
11863
  * Pool utilization statistics
11745
11864
  */
@@ -11868,6 +11987,17 @@ export const marketplaceProjectEstimatedCostPoliciesActionsCount = (options) =>
11868
11987
  url: '/api/marketplace-project-estimated-cost-policies/actions/',
11869
11988
  ...options
11870
11989
  });
11990
+ /**
11991
+ * Get a project's metric figures
11992
+ */
11993
+ export const marketplaceProjectMetricsList = (options) => (options.client ?? client).get({
11994
+ security: [
11995
+ { name: 'Authorization', type: 'apiKey' },
11996
+ { scheme: 'bearer', type: 'http' }
11997
+ ],
11998
+ url: '/api/marketplace-project-metrics/',
11999
+ ...options
12000
+ });
11871
12001
  export const marketplaceProjectOrderAutoApprovalsList = (options) => (options?.client ?? client).get({
11872
12002
  security: [
11873
12003
  { name: 'Authorization', type: 'apiKey' },
@@ -12133,7 +12263,7 @@ export const marketplaceProjectUpdateRequestsReject = (options) => (options.clie
12133
12263
  /**
12134
12264
  * Get resource usage statistics broken down per offering
12135
12265
  *
12136
- * Returns one row per (offering, component type, billing type) for all non-terminated resources within the scope. Each row's `usage` and `limit_usage` are aggregated using the offering's own `limit_period`.
12266
+ * Returns one row per (offering, component type, billing type) for all non-terminated resources within the scope (or all resources when `include_terminated` is true). Each row's `usage` and `limit_usage` are aggregated using the offering's own `limit_period`.
12137
12267
  */
12138
12268
  export const marketplaceProjectUsageComponentsUsageRetrieve = (options) => (options.client ?? client).get({
12139
12269
  security: [
@@ -12369,7 +12499,7 @@ export const marketplaceProviderOfferingsCheckUniqueBackendId = (options) => (op
12369
12499
  /**
12370
12500
  * Get statistics for offering components
12371
12501
  *
12372
- * Returns monthly usage statistics for the components of an offering within a specified date range.
12502
+ * Returns monthly usage statistics for the components of an offering within a specified date range. Requires SERVICE_PROVIDER.GET_STATISTICS on the offering's customer or its service provider, or ORDER.LIST on the offering, its customer, or that customer's service provider.
12373
12503
  */
12374
12504
  export const marketplaceProviderOfferingsComponentStatsList = (options) => (options.client ?? client).get({
12375
12505
  security: [
@@ -12991,7 +13121,7 @@ export const marketplaceProviderOfferingsSetProfile = (options) => (options.clie
12991
13121
  /**
12992
13122
  * Get offering resource and user state counters
12993
13123
  *
12994
- * Returns resource and offering-user counts grouped by state for the given offering.
13124
+ * Returns resource and offering-user counts grouped by state for the given offering. Requires SERVICE_PROVIDER.GET_STATISTICS on the offering's customer or its service provider, or ORDER.LIST on the offering, its customer, or that customer's service provider.
12995
13125
  */
12996
13126
  export const marketplaceProviderOfferingsStateCountersRetrieve = (options) => (options.client ?? client).get({
12997
13127
  security: [
@@ -14041,6 +14171,19 @@ export const marketplaceProviderResourcesRestore = (options) => (options.client
14041
14171
  ...options.headers
14042
14172
  }
14043
14173
  });
14174
+ /**
14175
+ * List users a robot account on this resource may link
14176
+ *
14177
+ * Returns the project and organization users of this resource that a robot account may link as users or as the responsible user. When ENFORCE_USER_CONSENT_FOR_OFFERINGS is enabled and the offering has active Terms of Service, only users with active consent are returned, for every caller.
14178
+ */
14179
+ export const marketplaceProviderResourcesRobotAccountUsersList = (options) => (options.client ?? client).get({
14180
+ security: [
14181
+ { name: 'Authorization', type: 'apiKey' },
14182
+ { scheme: 'bearer', type: 'http' }
14183
+ ],
14184
+ url: '/api/marketplace-provider-resources/{uuid}/robot_account_users/',
14185
+ ...options
14186
+ });
14044
14187
  /**
14045
14188
  * Set resource state to erred
14046
14189
  *
@@ -14231,7 +14374,7 @@ export const marketplaceProviderResourcesSetLimits = (options) => (options.clien
14231
14374
  /**
14232
14375
  * Report per-member sync statuses for a resource
14233
14376
  *
14234
- * Full-replace report from the site agent: replaces every previously stored member sync status of this resource with the submitted set. Requires the offering to opt in via the enable_membership_sync_status plugin option. Entries whose user cannot be resolved are skipped and echoed back in the response instead of failing the whole report.
14377
+ * Complete report from the site agent: afterwards the resource's stored member sync statuses are exactly the submitted set. Only the differences are written; unchanged statuses are left as they are, and the report time is recorded once per resource. Requires the offering to opt in via the enable_membership_sync_status plugin option. Entries whose user cannot be resolved are skipped and echoed back in the response instead of failing the whole report.
14235
14378
  */
14236
14379
  export const marketplaceProviderResourcesSetMembershipSyncStatuses = (options) => (options.client ?? client).post({
14237
14380
  security: [
@@ -14282,7 +14425,7 @@ export const marketplaceProviderResourcesSetRestrictMemberAccess = (options) =>
14282
14425
  /**
14283
14426
  * Set resource slug
14284
14427
  *
14285
- * Updates the slug for a resource. Requires staff permissions.
14428
+ * Updates the slug of a resource. Requires staff or the RESOURCE.SET_SLUG permission, which no role holds unless the deployment grants it. Other than staff, a holder cannot change the slug once the resource's creation order is executing or the resource exists in the backend.
14286
14429
  */
14287
14430
  export const marketplaceProviderResourcesSetSlug = (options) => (options.client ?? client).post({
14288
14431
  security: [
@@ -14648,6 +14791,36 @@ export const marketplaceResourceApiKeysCount = (options) => (options?.client ??
14648
14791
  url: '/api/marketplace-resource-api-keys/',
14649
14792
  ...options
14650
14793
  });
14794
+ /**
14795
+ * Request an API key
14796
+ *
14797
+ * Asks the site agent to create a key for the resource. Waldur generates nothing: the key appears as Creating and turns OK once the agent reports it. Only on offerings with enable_api_key_provisioning.
14798
+ */
14799
+ export const marketplaceResourceApiKeysCreate = (options) => (options.client ?? client).post({
14800
+ security: [
14801
+ { name: 'Authorization', type: 'apiKey' },
14802
+ { scheme: 'bearer', type: 'http' }
14803
+ ],
14804
+ url: '/api/marketplace-resource-api-keys/',
14805
+ ...options,
14806
+ headers: {
14807
+ 'Content-Type': 'application/json',
14808
+ ...options.headers
14809
+ }
14810
+ });
14811
+ /**
14812
+ * Delete an API key
14813
+ *
14814
+ * Asks the site agent to revoke the key at the backend. Once it has, the key is Deleted: it no longer lists by default, but its row and reported usage are kept. A requested key the agent has not created yet, or failed to create, is Deleted at once.
14815
+ */
14816
+ export const marketplaceResourceApiKeysDestroy = (options) => (options.client ?? client).delete({
14817
+ security: [
14818
+ { name: 'Authorization', type: 'apiKey' },
14819
+ { scheme: 'bearer', type: 'http' }
14820
+ ],
14821
+ url: '/api/marketplace-resource-api-keys/{uuid}/',
14822
+ ...options
14823
+ });
14651
14824
  export const marketplaceResourceApiKeysRetrieve = (options) => (options.client ?? client).get({
14652
14825
  security: [
14653
14826
  { name: 'Authorization', type: 'apiKey' },
@@ -14656,10 +14829,83 @@ export const marketplaceResourceApiKeysRetrieve = (options) => (options.client ?
14656
14829
  url: '/api/marketplace-resource-api-keys/{uuid}/',
14657
14830
  ...options
14658
14831
  });
14832
+ /**
14833
+ * Edit an API key
14834
+ *
14835
+ * Changes the key's assignee, limits or model allowlist. A change to limits or models is sent to the site agent as an update command, unless the key is paused: resuming it applies them. Only on offerings with enable_api_key_provisioning, except for unassigning the key ({"user": null}).
14836
+ */
14837
+ export const marketplaceResourceApiKeysPartialUpdate = (options) => (options.client ?? client).patch({
14838
+ security: [
14839
+ { name: 'Authorization', type: 'apiKey' },
14840
+ { scheme: 'bearer', type: 'http' }
14841
+ ],
14842
+ url: '/api/marketplace-resource-api-keys/{uuid}/',
14843
+ ...options,
14844
+ headers: {
14845
+ 'Content-Type': 'application/json',
14846
+ ...options.headers
14847
+ }
14848
+ });
14849
+ /**
14850
+ * Pause an API key
14851
+ *
14852
+ * Asks the site agent to stop the backend accepting this key. The key keeps its value; the resource and its other keys keep serving.
14853
+ */
14854
+ export const marketplaceResourceApiKeysPause = (options) => (options.client ?? client).post({
14855
+ security: [
14856
+ { name: 'Authorization', type: 'apiKey' },
14857
+ { scheme: 'bearer', type: 'http' }
14858
+ ],
14859
+ url: '/api/marketplace-resource-api-keys/{uuid}/pause/',
14860
+ ...options
14861
+ });
14862
+ /**
14863
+ * Report API key usage
14864
+ *
14865
+ * Used by the site agent to report a key's usage so far in a month, per component type. Merged into the key's usage for that month; a later month replaces it, and an earlier one is refused. A key whose usage reaches its limit is paused, and a key paused for its limit is resumed once under it again. Accepted for a deleted key too.
14866
+ */
14867
+ export const marketplaceResourceApiKeysReportUsage = (options) => (options.client ?? client).post({
14868
+ security: [
14869
+ { name: 'Authorization', type: 'apiKey' },
14870
+ { scheme: 'bearer', type: 'http' }
14871
+ ],
14872
+ url: '/api/marketplace-resource-api-keys/{uuid}/report_usage/',
14873
+ ...options,
14874
+ headers: {
14875
+ 'Content-Type': 'application/json',
14876
+ ...options.headers
14877
+ }
14878
+ });
14879
+ /**
14880
+ * Resume an API key
14881
+ *
14882
+ * Asks the site agent to accept a paused key again, with the limits and models it has now. Available without governance too, so a key paused before the provider switched it off can come back.
14883
+ */
14884
+ export const marketplaceResourceApiKeysResume = (options) => (options.client ?? client).post({
14885
+ security: [
14886
+ { name: 'Authorization', type: 'apiKey' },
14887
+ { scheme: 'bearer', type: 'http' }
14888
+ ],
14889
+ url: '/api/marketplace-resource-api-keys/{uuid}/resume/',
14890
+ ...options
14891
+ });
14892
+ /**
14893
+ * Retry a failed API key command
14894
+ *
14895
+ * Sends the command that left the key Erred to the site agent again, with the key's current limits and models. An Erred key accepts only this, the same command, or a delete.
14896
+ */
14897
+ export const marketplaceResourceApiKeysRetry = (options) => (options.client ?? client).post({
14898
+ security: [
14899
+ { name: 'Authorization', type: 'apiKey' },
14900
+ { scheme: 'bearer', type: 'http' }
14901
+ ],
14902
+ url: '/api/marketplace-resource-api-keys/{uuid}/retry/',
14903
+ ...options
14904
+ });
14659
14905
  /**
14660
14906
  * Reveal an API key
14661
14907
  *
14662
- * Returns the decrypted key value. Available to users with resource access (except minimal-visibility viewers). Audit-logged.
14908
+ * Returns the decrypted key value. Available to users with resource access (except minimal-visibility viewers); a key with an assignee only to the assignee. Staff and support always. Audit-logged.
14663
14909
  */
14664
14910
  export const marketplaceResourceApiKeysRevealRetrieve = (options) => (options.client ?? client).get({
14665
14911
  security: [
@@ -14682,6 +14928,19 @@ export const marketplaceResourceApiKeysRotate = (options) => (options.client ??
14682
14928
  url: '/api/marketplace-resource-api-keys/{uuid}/rotate/',
14683
14929
  ...options
14684
14930
  });
14931
+ /**
14932
+ * Report an API key deleted
14933
+ *
14934
+ * Used by the site agent once the backend has revoked the key. The stored value is dropped; the row and its usage are kept.
14935
+ */
14936
+ export const marketplaceResourceApiKeysSetDeleted = (options) => (options.client ?? client).post({
14937
+ security: [
14938
+ { name: 'Authorization', type: 'apiKey' },
14939
+ { scheme: 'bearer', type: 'http' }
14940
+ ],
14941
+ url: '/api/marketplace-resource-api-keys/{uuid}/set_deleted/',
14942
+ ...options
14943
+ });
14685
14944
  /**
14686
14945
  * Mark an API key as erred
14687
14946
  *
@@ -14700,9 +14959,9 @@ export const marketplaceResourceApiKeysSetErred = (options) => (options.client ?
14700
14959
  }
14701
14960
  });
14702
14961
  /**
14703
- * Report a rotated API key value
14962
+ * Report a created or rotated API key value
14704
14963
  *
14705
- * Used by the site agent after it applied a rotated key. Replaces the stored value and marks the key OK.
14964
+ * Used by the site agent after it applied a requested or rotated key. Replaces the stored value and marks the key OK. A requested key carries the client_id the agent gave it.
14706
14965
  */
14707
14966
  export const marketplaceResourceApiKeysSetKey = (options) => (options.client ?? client).post({
14708
14967
  security: [
@@ -14716,10 +14975,36 @@ export const marketplaceResourceApiKeysSetKey = (options) => (options.client ??
14716
14975
  ...options.headers
14717
14976
  }
14718
14977
  });
14978
+ /**
14979
+ * Report an API key resumed or updated
14980
+ *
14981
+ * Used by the site agent once the backend accepts a resumed key again, or has applied a key's new limits and models.
14982
+ */
14983
+ export const marketplaceResourceApiKeysSetOk = (options) => (options.client ?? client).post({
14984
+ security: [
14985
+ { name: 'Authorization', type: 'apiKey' },
14986
+ { scheme: 'bearer', type: 'http' }
14987
+ ],
14988
+ url: '/api/marketplace-resource-api-keys/{uuid}/set_ok/',
14989
+ ...options
14990
+ });
14991
+ /**
14992
+ * Report an API key paused
14993
+ *
14994
+ * Used by the site agent once the backend refuses the key.
14995
+ */
14996
+ export const marketplaceResourceApiKeysSetPaused = (options) => (options.client ?? client).post({
14997
+ security: [
14998
+ { name: 'Authorization', type: 'apiKey' },
14999
+ { scheme: 'bearer', type: 'http' }
15000
+ ],
15001
+ url: '/api/marketplace-resource-api-keys/{uuid}/set_paused/',
15002
+ ...options
15003
+ });
14719
15004
  /**
14720
15005
  * Report a freshly-applied API key
14721
15006
  *
14722
- * Used by the site agent after it generated and applied a key to the backend. Stores the value encrypted and marks the key OK.
15007
+ * Used by the site agent after it generated and applied a key to the backend at provisioning. Stores the value encrypted and marks the key OK. A requested key is reported through set_key instead.
14723
15008
  */
14724
15009
  export const marketplaceResourceApiKeysReportCreated = (options) => (options.client ?? client).post({
14725
15010
  security: [
@@ -14733,6 +15018,32 @@ export const marketplaceResourceApiKeysReportCreated = (options) => (options.cli
14733
15018
  ...options.headers
14734
15019
  }
14735
15020
  });
15021
+ /**
15022
+ * Total API key usage of a resource
15023
+ *
15024
+ * Sums the usage the site agent reported for the resource's keys in the current month, per component type. Deleted keys are included, so deleting a key leaves the total unchanged.
15025
+ */
15026
+ export const marketplaceResourceApiKeysUsageTotalsRetrieve = (options) => (options.client ?? client).get({
15027
+ security: [
15028
+ { name: 'Authorization', type: 'apiKey' },
15029
+ { scheme: 'bearer', type: 'http' }
15030
+ ],
15031
+ url: '/api/marketplace-resource-api-keys/usage_totals/',
15032
+ ...options
15033
+ });
15034
+ /**
15035
+ * Total API key usage of a resource
15036
+ *
15037
+ * Get number of items in the collection matching the request parameters.
15038
+ */
15039
+ export const marketplaceResourceApiKeysUsageTotalsCount = (options) => (options.client ?? client).head({
15040
+ security: [
15041
+ { name: 'Authorization', type: 'apiKey' },
15042
+ { scheme: 'bearer', type: 'http' }
15043
+ ],
15044
+ url: '/api/marketplace-resource-api-keys/usage_totals/',
15045
+ ...options
15046
+ });
14736
15047
  export const marketplaceResourceEndDateChangeRequestsList = (options) => (options?.client ?? client).get({
14737
15048
  security: [
14738
15049
  { name: 'Authorization', type: 'apiKey' },
@@ -14918,6 +15229,19 @@ export const marketplaceResourceLimitChangeRequestsReject = (options) => (option
14918
15229
  ...options.headers
14919
15230
  }
14920
15231
  });
15232
+ /**
15233
+ * Get a resource's metric figures
15234
+ *
15235
+ * Figures for the current and the previous calendar month. A resource has no goals: they apply to a project's combined figure.
15236
+ */
15237
+ export const marketplaceResourceMetricsList = (options) => (options.client ?? client).get({
15238
+ security: [
15239
+ { name: 'Authorization', type: 'apiKey' },
15240
+ { scheme: 'bearer', type: 'http' }
15241
+ ],
15242
+ url: '/api/marketplace-resource-metrics/',
15243
+ ...options
15244
+ });
14921
15245
  export const marketplaceResourceOfferingsList = (options) => (options.client ?? client).get({
14922
15246
  security: [
14923
15247
  { name: 'Authorization', type: 'apiKey' },
@@ -15529,7 +15853,7 @@ export const marketplaceResourcesSetRestrictMemberAccess = (options) => (options
15529
15853
  /**
15530
15854
  * Set resource slug
15531
15855
  *
15532
- * Updates the slug for a resource. Requires staff permissions.
15856
+ * Updates the slug of a resource. Requires staff or the RESOURCE.SET_SLUG permission, which no role holds unless the deployment grants it. Other than staff, a holder cannot change the slug once the resource's creation order is executing or the resource exists in the backend.
15533
15857
  */
15534
15858
  export const marketplaceResourcesSetSlug = (options) => (options.client ?? client).post({
15535
15859
  security: [
@@ -15860,10 +16184,12 @@ export const marketplaceRobotAccountsSetStateRequestDeletion = (options) => (opt
15860
16184
  * List available runtime states for resources
15861
16185
  *
15862
16186
  *
15863
- * Returns a unique, sorted list of runtime states for all resources accessible to the current user.
16187
+ * Returns a unique, sorted list of runtime states for resources accessible to the current user.
15864
16188
  * The runtime state is a backend-specific state of a resource (e.g., 'ACTIVE', 'SHUTOFF' for a VM).
15865
16189
  * This endpoint is useful for building dynamic filters in a user interface.
15866
- * The list can be optionally filtered by project or category.
16190
+ *
16191
+ * At least one scope query parameter is required: `project_uuid`, `category_uuid`,
16192
+ * `offering_uuid`, or `customer_uuid`.
15867
16193
  *
15868
16194
  */
15869
16195
  export const marketplaceRuntimeStatesList = (options) => (options?.client ?? client).get({
@@ -16118,6 +16444,196 @@ export const marketplaceSectionsUpdate = (options) => (options.client ?? client)
16118
16444
  ...options.headers
16119
16445
  }
16120
16446
  });
16447
+ /**
16448
+ * List service provider accounts
16449
+ *
16450
+ *
16451
+ * Returns a paginated list of the accounts a service provider holds for its users --
16452
+ * one per user per provider, shared by every offering of that provider.
16453
+ * Scoped to providers whose organization the caller can see.
16454
+ *
16455
+ */
16456
+ export const marketplaceServiceProviderAccountsList = (options) => (options?.client ?? client).get({
16457
+ security: [
16458
+ { name: 'Authorization', type: 'apiKey' },
16459
+ { scheme: 'bearer', type: 'http' }
16460
+ ],
16461
+ url: '/api/marketplace-service-provider-accounts/',
16462
+ ...options
16463
+ });
16464
+ /**
16465
+ * List service provider accounts
16466
+ *
16467
+ * Get number of items in the collection matching the request parameters.
16468
+ */
16469
+ export const marketplaceServiceProviderAccountsCount = (options) => (options?.client ?? client).head({
16470
+ security: [
16471
+ { name: 'Authorization', type: 'apiKey' },
16472
+ { scheme: 'bearer', type: 'http' }
16473
+ ],
16474
+ url: '/api/marketplace-service-provider-accounts/',
16475
+ ...options
16476
+ });
16477
+ /**
16478
+ * Delete a service provider account
16479
+ *
16480
+ * Refused while offering accounts still read through this record.
16481
+ */
16482
+ export const marketplaceServiceProviderAccountsDestroy = (options) => (options.client ?? client).delete({
16483
+ security: [
16484
+ { name: 'Authorization', type: 'apiKey' },
16485
+ { scheme: 'bearer', type: 'http' }
16486
+ ],
16487
+ url: '/api/marketplace-service-provider-accounts/{uuid}/',
16488
+ ...options
16489
+ });
16490
+ /**
16491
+ * Retrieve a service provider account
16492
+ *
16493
+ * Returns one provider account, including its POSIX identity and the number of offering accounts reading through it.
16494
+ */
16495
+ export const marketplaceServiceProviderAccountsRetrieve = (options) => (options.client ?? client).get({
16496
+ security: [
16497
+ { name: 'Authorization', type: 'apiKey' },
16498
+ { scheme: 'bearer', type: 'http' }
16499
+ ],
16500
+ url: '/api/marketplace-service-provider-accounts/{uuid}/',
16501
+ ...options
16502
+ });
16503
+ /**
16504
+ * Update a service provider account
16505
+ */
16506
+ export const marketplaceServiceProviderAccountsPartialUpdate = (options) => (options.client ?? client).patch({
16507
+ security: [
16508
+ { name: 'Authorization', type: 'apiKey' },
16509
+ { scheme: 'bearer', type: 'http' }
16510
+ ],
16511
+ url: '/api/marketplace-service-provider-accounts/{uuid}/',
16512
+ ...options,
16513
+ headers: {
16514
+ 'Content-Type': 'application/json',
16515
+ ...options.headers
16516
+ }
16517
+ });
16518
+ /**
16519
+ * Update a service provider account
16520
+ */
16521
+ export const marketplaceServiceProviderAccountsUpdate = (options) => (options.client ?? client).put({
16522
+ security: [
16523
+ { name: 'Authorization', type: 'apiKey' },
16524
+ { scheme: 'bearer', type: 'http' }
16525
+ ],
16526
+ url: '/api/marketplace-service-provider-accounts/{uuid}/',
16527
+ ...options,
16528
+ headers: {
16529
+ 'Content-Type': 'application/json',
16530
+ ...options.headers
16531
+ }
16532
+ });
16533
+ export const marketplaceServiceProviderProjectGroupsList = (options) => (options?.client ?? client).get({
16534
+ security: [
16535
+ { name: 'Authorization', type: 'apiKey' },
16536
+ { scheme: 'bearer', type: 'http' }
16537
+ ],
16538
+ url: '/api/marketplace-service-provider-project-groups/',
16539
+ ...options
16540
+ });
16541
+ /**
16542
+ * Get number of items in the collection matching the request parameters.
16543
+ */
16544
+ export const marketplaceServiceProviderProjectGroupsCount = (options) => (options?.client ?? client).head({
16545
+ security: [
16546
+ { name: 'Authorization', type: 'apiKey' },
16547
+ { scheme: 'bearer', type: 'http' }
16548
+ ],
16549
+ url: '/api/marketplace-service-provider-project-groups/',
16550
+ ...options
16551
+ });
16552
+ /**
16553
+ * Adopt a POSIX project group with a given GID
16554
+ *
16555
+ * Create the service provider's group for a project, pinned to a GID the directory already uses. Works for a project that has no resource at the provider yet; the allocator never hands the GID out afterwards. Refused with 400 when the project already has a group (use set_gid), when another consumer in the provider's pools holds the GID, or when the GID is outside the range project groups draw from and allow_outside_range is not set.
16556
+ */
16557
+ export const marketplaceServiceProviderProjectGroupsCreate = (options) => (options.client ?? client).post({
16558
+ security: [
16559
+ { name: 'Authorization', type: 'apiKey' },
16560
+ { scheme: 'bearer', type: 'http' }
16561
+ ],
16562
+ url: '/api/marketplace-service-provider-project-groups/',
16563
+ ...options,
16564
+ headers: {
16565
+ 'Content-Type': 'application/json',
16566
+ ...options.headers
16567
+ }
16568
+ });
16569
+ export const marketplaceServiceProviderProjectGroupsRetrieve = (options) => (options.client ?? client).get({
16570
+ security: [
16571
+ { name: 'Authorization', type: 'apiKey' },
16572
+ { scheme: 'bearer', type: 'http' }
16573
+ ],
16574
+ url: '/api/marketplace-service-provider-project-groups/{uuid}/',
16575
+ ...options
16576
+ });
16577
+ /**
16578
+ * Set the GID of a POSIX project group
16579
+ *
16580
+ * Move the group to another GID, e.g. one assigned outside Waldur. The previous GID is released but never handed out again automatically, since files may still carry it; renumbering them is the operator's job. Refused with 400 on the same conditions as adopting a group. Recorded as an event with both GIDs.
16581
+ */
16582
+ export const marketplaceServiceProviderProjectGroupsSetGid = (options) => (options.client ?? client).post({
16583
+ security: [
16584
+ { name: 'Authorization', type: 'apiKey' },
16585
+ { scheme: 'bearer', type: 'http' }
16586
+ ],
16587
+ url: '/api/marketplace-service-provider-project-groups/{uuid}/set_gid/',
16588
+ ...options,
16589
+ headers: {
16590
+ 'Content-Type': 'application/json',
16591
+ ...options.headers
16592
+ }
16593
+ });
16594
+ /**
16595
+ * Projects a group can be adopted for
16596
+ *
16597
+ * Projects with a resource or an order, in any state, on an offering of the service provider: the projects its owners may adopt a group for. Staff may adopt for any project. Filter by name, slug or organization name with query.
16598
+ */
16599
+ export const marketplaceServiceProviderProjectGroupsAdoptableProjectsList = (options) => (options.client ?? client).get({
16600
+ security: [
16601
+ { name: 'Authorization', type: 'apiKey' },
16602
+ { scheme: 'bearer', type: 'http' }
16603
+ ],
16604
+ url: '/api/marketplace-service-provider-project-groups/adoptable_projects/',
16605
+ ...options
16606
+ });
16607
+ /**
16608
+ * Projects a group can be adopted for
16609
+ *
16610
+ * Get number of items in the collection matching the request parameters.
16611
+ */
16612
+ export const marketplaceServiceProviderProjectGroupsAdoptableProjectsCount = (options) => (options.client ?? client).head({
16613
+ security: [
16614
+ { name: 'Authorization', type: 'apiKey' },
16615
+ { scheme: 'bearer', type: 'http' }
16616
+ ],
16617
+ url: '/api/marketplace-service-provider-project-groups/adoptable_projects/',
16618
+ ...options
16619
+ });
16620
+ /**
16621
+ * Adopt several POSIX project groups at once
16622
+ *
16623
+ * Pin the groups of several projects in one step, e.g. the groups a directory held before Waldur managed it. A project without a group gets one; a project with a group has its GID set. All or nothing: any refused entry leaves every group unchanged.
16624
+ */
16625
+ export const marketplaceServiceProviderProjectGroupsImportGroups = (options) => (options.client ?? client).post({
16626
+ security: [
16627
+ { name: 'Authorization', type: 'apiKey' },
16628
+ { scheme: 'bearer', type: 'http' }
16629
+ ],
16630
+ url: '/api/marketplace-service-provider-project-groups/import_groups/',
16631
+ ...options,
16632
+ headers: {
16633
+ 'Content-Type': 'application/json',
16634
+ ...options.headers
16635
+ }
16636
+ });
16121
16637
  /**
16122
16638
  * List service providers
16123
16639
  *
@@ -16593,6 +17109,23 @@ export const marketplaceServiceProvidersUpdate = (options) => (options.client ??
16593
17109
  ...options.headers
16594
17110
  }
16595
17111
  });
17112
+ /**
17113
+ * Preview a change of the provider's account options
17114
+ *
17115
+ * Shows what a change of the provider's account options would do, without saving it: each offering's account settings before and after, the offering accounts that would be renamed, the provider accounts that keep their names, and what a new person would get. The options are merged into the current ones key by key, as the provider update does; a blank value removes a setting.
17116
+ */
17117
+ export const marketplaceServiceProvidersAccountOptionsPreview = (options) => (options.client ?? client).post({
17118
+ security: [
17119
+ { name: 'Authorization', type: 'apiKey' },
17120
+ { scheme: 'bearer', type: 'http' }
17121
+ ],
17122
+ url: '/api/marketplace-service-providers/{uuid}/account_options_preview/',
17123
+ ...options,
17124
+ headers: {
17125
+ 'Content-Type': 'application/json',
17126
+ ...options.headers
17127
+ }
17128
+ });
16596
17129
  /**
16597
17130
  * Grant a role to a user
16598
17131
  *
@@ -16610,6 +17143,25 @@ export const marketplaceServiceProvidersAddUser = (options) => (options.client ?
16610
17143
  ...options.headers
16611
17144
  }
16612
17145
  });
17146
+ /**
17147
+ * Adopt provider-level accounts
17148
+ *
17149
+ * Backs every offering account at this provider with one provider-level account per user, so a person resolves to a single username and POSIX identity across the provider's offerings.
17150
+ *
17151
+ * Users whose accounts already agree are adopted without input. A user whose accounts disagree must be given a surviving username in 'resolutions', keyed by user UUID — see the 'username_conflicts' action. The call is refused while any conflict is unresolved, rather than adopting part of the provider and leaving the rest on the old per-offering behaviour.
17152
+ */
17153
+ export const marketplaceServiceProvidersAdoptProviderAccounts = (options) => (options.client ?? client).post({
17154
+ security: [
17155
+ { name: 'Authorization', type: 'apiKey' },
17156
+ { scheme: 'bearer', type: 'http' }
17157
+ ],
17158
+ url: '/api/marketplace-service-providers/{uuid}/adopt_provider_accounts/',
17159
+ ...options,
17160
+ headers: {
17161
+ 'Content-Type': 'application/json',
17162
+ ...options.headers
17163
+ }
17164
+ });
16613
17165
  /**
16614
17166
  * Get service provider API secret code
16615
17167
  *
@@ -16670,6 +17222,32 @@ export const marketplaceServiceProvidersGenerateSiteAgentConfig = (options) => (
16670
17222
  ...options.headers
16671
17223
  }
16672
17224
  });
17225
+ /**
17226
+ * Get the structured GLAuth tree of the provider's shared accounts
17227
+ *
17228
+ * The same directory as the provider's `glauth_users_config`, as a structured JSON tree.
17229
+ */
17230
+ export const marketplaceServiceProvidersGlauthTreeRetrieve = (options) => (options.client ?? client).get({
17231
+ security: [
17232
+ { name: 'Authorization', type: 'apiKey' },
17233
+ { scheme: 'bearer', type: 'http' }
17234
+ ],
17235
+ url: '/api/marketplace-service-providers/{uuid}/glauth_tree/',
17236
+ ...options
17237
+ });
17238
+ /**
17239
+ * Get the GLAuth configuration of the provider's shared accounts
17240
+ *
17241
+ * One GLAuth config for the offerings of this provider that use provider accounts, as a directory shared by them serves it: each person once, with the groups of all those offerings. Disagreements between the offerings are listed as comments at the top.
17242
+ */
17243
+ export const marketplaceServiceProvidersGlauthUsersConfigRetrieve = (options) => (options.client ?? client).get({
17244
+ security: [
17245
+ { name: 'Authorization', type: 'apiKey' },
17246
+ { scheme: 'bearer', type: 'http' }
17247
+ ],
17248
+ url: '/api/marketplace-service-providers/{uuid}/glauth_users_config/',
17249
+ ...options
17250
+ });
16673
17251
  /**
16674
17252
  * List users and their roles in a scope
16675
17253
  *
@@ -16782,6 +17360,19 @@ export const marketplaceServiceProvidersUpdateUser = (options) => (options.clien
16782
17360
  ...options.headers
16783
17361
  }
16784
17362
  });
17363
+ /**
17364
+ * Report username conflicts before adopting provider accounts
17365
+ *
17366
+ * Lists every user whose offering accounts at this provider disagree about the username, with the evidence needed to choose which one survives: how many offerings use it, whether any of those accounts belongs to a user with a live resource, and the home directories recorded for it. An empty list means the provider can adopt provider-level accounts without operator input.
17367
+ */
17368
+ export const marketplaceServiceProvidersUsernameConflictsList = (options) => (options.client ?? client).get({
17369
+ security: [
17370
+ { name: 'Authorization', type: 'apiKey' },
17371
+ { scheme: 'bearer', type: 'http' }
17372
+ ],
17373
+ url: '/api/marketplace-service-providers/{uuid}/username_conflicts/',
17374
+ ...options
17375
+ });
16785
17376
  /**
16786
17377
  * Get agent connection statistics
16787
17378
  *
@@ -17392,6 +17983,19 @@ export const marketplaceSoftwareCatalogsUpdate = (options) => (options.client ??
17392
17983
  ...options.headers
17393
17984
  }
17394
17985
  });
17986
+ /**
17987
+ * List CPU targets for a software catalog
17988
+ *
17989
+ * Returns CPU family and microarchitecture choices for this catalog's version, taken from metadata.architectures_map. cpu_microarchitecture matches SoftwareTarget.target_subtype and the cpu_microarchitecture package filter, including vendor-prefixed paths such as intel/sapphirerapids. Does not scan package targets. Catalogs without an architectures map (for example Spack) return an empty list.
17990
+ */
17991
+ export const marketplaceSoftwareCatalogsCpuTargetsList = (options) => (options.client ?? client).get({
17992
+ security: [
17993
+ { name: 'Authorization', type: 'apiKey' },
17994
+ { scheme: 'bearer', type: 'http' }
17995
+ ],
17996
+ url: '/api/marketplace-software-catalogs/{uuid}/cpu_targets/',
17997
+ ...options
17998
+ });
17395
17999
  /**
17396
18000
  * Trigger async update for an existing catalog
17397
18001
  *
@@ -19016,7 +19620,7 @@ export const marketplaceUserOfferingConsentsRevoke = (options) => (options.clien
19016
19620
  /**
19017
19621
  * Get Matrix login credentials
19018
19622
  *
19019
- * Returns Matrix login credentials for the authenticated user based on the configured login method.
19623
+ * Returns what an external Matrix client needs to sign the authenticated user in, per MATRIX_EXTERNAL_LOGIN_METHOD. Never a password or an access token: in password mode the user generates a password with POST /api/matrix/credentials/password/.
19020
19624
  */
19021
19625
  export const matrixCredentialsRetrieve = (options) => (options?.client ?? client).get({
19022
19626
  security: [
@@ -19026,6 +19630,83 @@ export const matrixCredentialsRetrieve = (options) => (options?.client ?? client
19026
19630
  url: '/api/matrix/credentials/',
19027
19631
  ...options
19028
19632
  });
19633
+ /**
19634
+ * Generate a Matrix password
19635
+ *
19636
+ * Sets a new random password on the authenticated user's Matrix account and returns it. It is not stored, so it is shown only in this response; generating again replaces it. Only in password mode.
19637
+ */
19638
+ export const matrixCredentialsPassword = (options) => (options?.client ?? client).post({
19639
+ security: [
19640
+ { name: 'Authorization', type: 'apiKey' },
19641
+ { scheme: 'bearer', type: 'http' }
19642
+ ],
19643
+ url: '/api/matrix/credentials/password/',
19644
+ ...options
19645
+ });
19646
+ /**
19647
+ * Show the recovery key of chat encryption
19648
+ *
19649
+ * Returns the caller's escrowed recovery key, so that another Matrix client, such as Element, can unlock their encrypted history. Only a key that opens the user's secret storage on the homeserver is returned; null otherwise. A POST, as each reveal is recorded in the user's event log.
19650
+ */
19651
+ export const matrixCredentialsRecoveryKey = (options) => (options?.client ?? client).post({
19652
+ security: [
19653
+ { name: 'Authorization', type: 'apiKey' },
19654
+ { scheme: 'bearer', type: 'http' }
19655
+ ],
19656
+ url: '/api/matrix/credentials/recovery-key/',
19657
+ ...options
19658
+ });
19659
+ /**
19660
+ * Escrow the recovery key of chat encryption
19661
+ *
19662
+ * Stores the caller's new secret-storage recovery key. Only the holder of a current lease may; the drawer calls this before it uploads any key, so Waldur never loses a key the homeserver depends on.
19663
+ */
19664
+ export const matrixCryptoEscrow = (options) => (options.client ?? client).post({
19665
+ security: [
19666
+ { name: 'Authorization', type: 'apiKey' },
19667
+ { scheme: 'bearer', type: 'http' }
19668
+ ],
19669
+ url: '/api/matrix/crypto/escrow/',
19670
+ ...options,
19671
+ headers: {
19672
+ 'Content-Type': 'application/json',
19673
+ ...options.headers
19674
+ }
19675
+ });
19676
+ /**
19677
+ * Take the lease to set up or reset chat encryption
19678
+ *
19679
+ * Admits one browser at a time to setting up the caller's end-to-end encryption (`bootstrap`), or to replacing an identity Waldur can't unlock (`reset`). A reset also returns a temporary password for the homeserver's interactive auth; it is replaced once the new recovery key is escrowed, or when the lease runs out. 409 says why the request can't proceed: `set_up`, `locked` (set up without a key Waldur holds), `not_locked`, or `in_progress` (with Retry-After).
19680
+ */
19681
+ export const matrixCryptoLease = (options) => (options.client ?? client).post({
19682
+ security: [
19683
+ { name: 'Authorization', type: 'apiKey' },
19684
+ { scheme: 'bearer', type: 'http' }
19685
+ ],
19686
+ url: '/api/matrix/crypto/lease/',
19687
+ ...options,
19688
+ headers: {
19689
+ 'Content-Type': 'application/json',
19690
+ ...options.headers
19691
+ }
19692
+ });
19693
+ /**
19694
+ * Release the lease to set up or reset chat encryption
19695
+ *
19696
+ * Ends the caller's lease once its setup or reset is done, or has failed, so another window need not wait for it to run out. A lease that is no longer held is ignored.
19697
+ */
19698
+ export const matrixCryptoLeaseRelease = (options) => (options.client ?? client).post({
19699
+ security: [
19700
+ { name: 'Authorization', type: 'apiKey' },
19701
+ { scheme: 'bearer', type: 'http' }
19702
+ ],
19703
+ url: '/api/matrix/crypto/lease/release/',
19704
+ ...options,
19705
+ headers: {
19706
+ 'Content-Type': 'application/json',
19707
+ ...options.headers
19708
+ }
19709
+ });
19029
19710
  export const matrixExportsList = (options) => (options?.client ?? client).get({
19030
19711
  security: [
19031
19712
  { name: 'Authorization', type: 'apiKey' },
@@ -19177,6 +19858,19 @@ export const matrixRoomsMembersList = (options) => (options.client ?? client).ge
19177
19858
  url: '/api/matrix/rooms/{uuid}/members/',
19178
19859
  ...options
19179
19860
  });
19861
+ /**
19862
+ * Open a chat room's conversation
19863
+ *
19864
+ * Returns the Matrix room ID to a current member of the room, accepting their pending invite. Other callers get 403; a room that is not active gets 409.
19865
+ */
19866
+ export const matrixRoomsOpen = (options) => (options.client ?? client).post({
19867
+ security: [
19868
+ { name: 'Authorization', type: 'apiKey' },
19869
+ { scheme: 'bearer', type: 'http' }
19870
+ ],
19871
+ url: '/api/matrix/rooms/{uuid}/open/',
19872
+ ...options
19873
+ });
19180
19874
  /**
19181
19875
  * Re-enable an archived chat room
19182
19876
  */
@@ -19213,7 +19907,7 @@ export const matrixRoomsSyncMembers = (options) => (options.client ?? client).po
19213
19907
  /**
19214
19908
  * List projects the caller can create a Matrix room for
19215
19909
  *
19216
- * Returns projects where the caller is customer owner (staff sees all) and no MatrixRoom row exists yet. Existing archived rooms still block creation, so projects with any room are excluded.
19910
+ * Returns projects where the caller holds MATRIX_ROOM.CREATE on the project or its organization (staff and support see all) and no MatrixRoom row exists yet. Existing archived rooms still block creation, so projects with any room are excluded.
19217
19911
  */
19218
19912
  export const matrixRoomsEligibleProjectsList = (options) => (options?.client ?? client).get({
19219
19913
  security: [
@@ -19236,6 +19930,19 @@ export const matrixRoomsEligibleProjectsCount = (options) => (options?.client ??
19236
19930
  url: '/api/matrix/rooms/eligible_projects/',
19237
19931
  ...options
19238
19932
  });
19933
+ /**
19934
+ * Start a Matrix web chat session
19935
+ *
19936
+ * Signs the caller in to Matrix on a new web device and returns short-lived tokens for the chat drawer. The tokens are not stored.
19937
+ */
19938
+ export const matrixSession = (options) => (options?.client ?? client).post({
19939
+ security: [
19940
+ { name: 'Authorization', type: 'apiKey' },
19941
+ { scheme: 'bearer', type: 'http' }
19942
+ ],
19943
+ url: '/api/matrix/session/',
19944
+ ...options
19945
+ });
19239
19946
  /**
19240
19947
  * Get media file
19241
19948
  */
@@ -21125,6 +21832,23 @@ export const openportalUnmanagedProjectsRecover = (options) => (options.client ?
21125
21832
  ...options.headers
21126
21833
  }
21127
21834
  });
21835
+ /**
21836
+ * Set project slug
21837
+ *
21838
+ * Updates the slug of a project. Requires staff or the PROJECT.SET_SLUG permission, which no role holds unless the deployment grants it. Other than staff, a holder cannot change the slug once a resource of the project is being provisioned or exists in the backend.
21839
+ */
21840
+ export const openportalUnmanagedProjectsSetSlug = (options) => (options.client ?? client).post({
21841
+ security: [
21842
+ { name: 'Authorization', type: 'apiKey' },
21843
+ { scheme: 'bearer', type: 'http' }
21844
+ ],
21845
+ url: '/api/openportal-unmanaged-projects/{uuid}/set_slug/',
21846
+ ...options,
21847
+ headers: {
21848
+ 'Content-Type': 'application/json',
21849
+ ...options.headers
21850
+ }
21851
+ });
21128
21852
  /**
21129
21853
  * Get project resource usage statistics
21130
21854
  *
@@ -22244,6 +22968,23 @@ export const openstackInstancesConsoleLogRetrieve = (options) => (options.client
22244
22968
  url: '/api/openstack-instances/{uuid}/console_log/',
22245
22969
  ...options
22246
22970
  });
22971
+ /**
22972
+ * Get console log
22973
+ *
22974
+ * Get console log for the instance. Same as the GET form, but takes `length` in the request body, so action-oriented clients such as the Ansible collection can call it like any other instance action.
22975
+ */
22976
+ export const openstackInstancesConsoleLog = (options) => (options.client ?? client).post({
22977
+ security: [
22978
+ { name: 'Authorization', type: 'apiKey' },
22979
+ { scheme: 'bearer', type: 'http' }
22980
+ ],
22981
+ url: '/api/openstack-instances/{uuid}/console_log/',
22982
+ ...options,
22983
+ headers: {
22984
+ 'Content-Type': 'application/json',
22985
+ ...options.headers
22986
+ }
22987
+ });
22247
22988
  /**
22248
22989
  * Diagnose connectivity
22249
22990
  *
@@ -22360,6 +23101,23 @@ export const openstackInstancesSetErred = (options) => (options.client ?? client
22360
23101
  ...options.headers
22361
23102
  }
22362
23103
  });
23104
+ /**
23105
+ * Set instance metadata
23106
+ *
23107
+ * Replace the instance metadata with the given string key/value pairs. Keys absent from the payload are removed from Nova as well.
23108
+ */
23109
+ export const openstackInstancesSetMetadata = (options) => (options.client ?? client).post({
23110
+ security: [
23111
+ { name: 'Authorization', type: 'apiKey' },
23112
+ { scheme: 'bearer', type: 'http' }
23113
+ ],
23114
+ url: '/api/openstack-instances/{uuid}/set_metadata/',
23115
+ ...options,
23116
+ headers: {
23117
+ 'Content-Type': 'application/json',
23118
+ ...options.headers
23119
+ }
23120
+ });
22363
23121
  /**
22364
23122
  * Mark resource as OK
22365
23123
  *
@@ -24458,7 +25216,7 @@ export const openstackSubnetsUpdate = (options) => (options.client ?? client).pu
24458
25216
  /**
24459
25217
  * Connect subnet to router
24460
25218
  *
24461
- * Connect the subnet to the default tenant router.
25219
+ * Connect the subnet to its router: the one chosen when the subnet was created or last attached to, and otherwise the tenant router Waldur picks.
24462
25220
  */
24463
25221
  export const openstackSubnetsConnect = (options) => (options.client ?? client).post({
24464
25222
  security: [
@@ -24471,7 +25229,7 @@ export const openstackSubnetsConnect = (options) => (options.client ?? client).p
24471
25229
  /**
24472
25230
  * Disconnect subnet from router
24473
25231
  *
24474
- * Disconnect the subnet from the default tenant router.
25232
+ * Disconnect the subnet from its router. The router is remembered, so connecting again returns the subnet to it.
24475
25233
  */
24476
25234
  export const openstackSubnetsDisconnect = (options) => (options.client ?? client).post({
24477
25235
  security: [
@@ -25458,10 +26216,27 @@ export const organizationGroupsUpdate = (options) => (options.client ?? client).
25458
26216
  ...options.headers
25459
26217
  }
25460
26218
  });
26219
+ /**
26220
+ * Receive OTLP/HTTP metrics
26221
+ *
26222
+ * Accepts an OpenTelemetry ExportMetricsServiceRequest as JSON or protobuf, optionally gzip-encoded. Each resource must carry the waldur.resource.uuid attribute; a metric's name is the key of a metric the resource's offering adopts. Gauge and Sum (delta or cumulative) are accepted; other types and refused points are counted in partial_success.
26223
+ */
26224
+ export const otlpV1Metrics = (options) => (options?.client ?? client).post({
26225
+ security: [
26226
+ { name: 'Authorization', type: 'apiKey' },
26227
+ { scheme: 'bearer', type: 'http' }
26228
+ ],
26229
+ url: '/api/otlp/v1/metrics/',
26230
+ ...options,
26231
+ headers: {
26232
+ 'Content-Type': 'application/json',
26233
+ ...options?.headers
26234
+ }
26235
+ });
25461
26236
  /**
25462
26237
  * Get all overridable settings
25463
26238
  *
25464
- * Returns all settings that can be overridden in the database via the Constance backend. Requires admin permissions.
26239
+ * Returns all settings that can be overridden in the database via the Constance backend. Staff receive every value. Support users receive the same keys, with secret_field values blanked.
25465
26240
  */
25466
26241
  export const overrideSettingsRetrieve = (options) => (options?.client ?? client).get({
25467
26242
  security: [
@@ -25474,7 +26249,7 @@ export const overrideSettingsRetrieve = (options) => (options?.client ?? client)
25474
26249
  /**
25475
26250
  * Update overridable settings
25476
26251
  *
25477
- * Updates one or more settings in the database via the Constance backend. Requires admin permissions.
26252
+ * Updates one or more settings in the database via the Constance backend. Requires staff permissions. Support users cannot update settings.
25478
26253
  */
25479
26254
  export const overrideSettings = (options) => (options?.client ?? client).post({
25480
26255
  security: [
@@ -25488,6 +26263,135 @@ export const overrideSettings = (options) => (options?.client ?? client).post({
25488
26263
  ...options?.headers
25489
26264
  }
25490
26265
  });
26266
+ export const passkeysList = (options) => (options?.client ?? client).get({
26267
+ security: [
26268
+ { name: 'Authorization', type: 'apiKey' },
26269
+ { scheme: 'bearer', type: 'http' }
26270
+ ],
26271
+ url: '/api/passkeys/',
26272
+ ...options
26273
+ });
26274
+ /**
26275
+ * Get number of items in the collection matching the request parameters.
26276
+ */
26277
+ export const passkeysCount = (options) => (options?.client ?? client).head({
26278
+ security: [
26279
+ { name: 'Authorization', type: 'apiKey' },
26280
+ { scheme: 'bearer', type: 'http' }
26281
+ ],
26282
+ url: '/api/passkeys/',
26283
+ ...options
26284
+ });
26285
+ export const passkeysRetrieve = (options) => (options.client ?? client).get({
26286
+ security: [
26287
+ { name: 'Authorization', type: 'apiKey' },
26288
+ { scheme: 'bearer', type: 'http' }
26289
+ ],
26290
+ url: '/api/passkeys/{uuid}/',
26291
+ ...options
26292
+ });
26293
+ export const passkeysPartialUpdate = (options) => (options.client ?? client).patch({
26294
+ security: [
26295
+ { name: 'Authorization', type: 'apiKey' },
26296
+ { scheme: 'bearer', type: 'http' }
26297
+ ],
26298
+ url: '/api/passkeys/{uuid}/',
26299
+ ...options,
26300
+ headers: {
26301
+ 'Content-Type': 'application/json',
26302
+ ...options.headers
26303
+ }
26304
+ });
26305
+ export const passkeysUpdate = (options) => (options.client ?? client).put({
26306
+ security: [
26307
+ { name: 'Authorization', type: 'apiKey' },
26308
+ { scheme: 'bearer', type: 'http' }
26309
+ ],
26310
+ url: '/api/passkeys/{uuid}/',
26311
+ ...options,
26312
+ headers: {
26313
+ 'Content-Type': 'application/json',
26314
+ ...options.headers
26315
+ }
26316
+ });
26317
+ /**
26318
+ * Revoke a passkey
26319
+ */
26320
+ export const passkeysRevoke = (options) => (options.client ?? client).post({
26321
+ security: [
26322
+ { name: 'Authorization', type: 'apiKey' },
26323
+ { scheme: 'bearer', type: 'http' }
26324
+ ],
26325
+ url: '/api/passkeys/{uuid}/revoke/',
26326
+ ...options,
26327
+ headers: {
26328
+ 'Content-Type': 'application/json',
26329
+ ...options.headers
26330
+ }
26331
+ });
26332
+ /**
26333
+ * Begin the passkey second factor
26334
+ */
26335
+ export const passkeysMfaBegin = (options) => (options.client ?? client).post({
26336
+ url: '/api/passkeys/mfa/begin/',
26337
+ ...options,
26338
+ headers: {
26339
+ 'Content-Type': 'application/json',
26340
+ ...options.headers
26341
+ }
26342
+ });
26343
+ /**
26344
+ * Finish the passkey second factor
26345
+ */
26346
+ export const passkeysMfaFinish = (options) => (options.client ?? client).post({
26347
+ url: '/api/passkeys/mfa/finish/',
26348
+ ...options,
26349
+ headers: {
26350
+ 'Content-Type': 'application/json',
26351
+ ...options.headers
26352
+ }
26353
+ });
26354
+ /**
26355
+ * Begin passkey registration
26356
+ */
26357
+ export const passkeysRegistrationBegin = (options) => (options?.client ?? client).post({
26358
+ security: [
26359
+ { name: 'Authorization', type: 'apiKey' },
26360
+ { scheme: 'bearer', type: 'http' }
26361
+ ],
26362
+ url: '/api/passkeys/registration/begin/',
26363
+ ...options
26364
+ });
26365
+ /**
26366
+ * Finish passkey registration
26367
+ */
26368
+ export const passkeysRegistrationFinish = (options) => (options.client ?? client).post({
26369
+ security: [
26370
+ { name: 'Authorization', type: 'apiKey' },
26371
+ { scheme: 'bearer', type: 'http' }
26372
+ ],
26373
+ url: '/api/passkeys/registration/finish/',
26374
+ ...options,
26375
+ headers: {
26376
+ 'Content-Type': 'application/json',
26377
+ ...options.headers
26378
+ }
26379
+ });
26380
+ /**
26381
+ * Begin passwordless passkey sign-in
26382
+ */
26383
+ export const passkeysSigninBegin = (options) => (options?.client ?? client).post({ url: '/api/passkeys/signin/begin/', ...options });
26384
+ /**
26385
+ * Finish passwordless passkey sign-in
26386
+ */
26387
+ export const passkeysSigninFinish = (options) => (options.client ?? client).post({
26388
+ url: '/api/passkeys/signin/finish/',
26389
+ ...options,
26390
+ headers: {
26391
+ 'Content-Type': 'application/json',
26392
+ ...options.headers
26393
+ }
26394
+ });
25491
26395
  export const paymentProfilesList = (options) => (options?.client ?? client).get({
25492
26396
  security: [
25493
26397
  { name: 'Authorization', type: 'apiKey' },
@@ -26306,6 +27210,23 @@ export const projectsRecover = (options) => (options.client ?? client).post({
26306
27210
  ...options.headers
26307
27211
  }
26308
27212
  });
27213
+ /**
27214
+ * Set project slug
27215
+ *
27216
+ * Updates the slug of a project. Requires staff or the PROJECT.SET_SLUG permission, which no role holds unless the deployment grants it. Other than staff, a holder cannot change the slug once a resource of the project is being provisioned or exists in the backend.
27217
+ */
27218
+ export const projectsSetSlug = (options) => (options.client ?? client).post({
27219
+ security: [
27220
+ { name: 'Authorization', type: 'apiKey' },
27221
+ { scheme: 'bearer', type: 'http' }
27222
+ ],
27223
+ url: '/api/projects/{uuid}/set_slug/',
27224
+ ...options,
27225
+ headers: {
27226
+ 'Content-Type': 'application/json',
27227
+ ...options.headers
27228
+ }
27229
+ });
26309
27230
  /**
26310
27231
  * Get project resource usage statistics
26311
27232
  *
@@ -26621,6 +27542,84 @@ export const proposalProposalsAttachDocument = (options) => (options.client ?? c
26621
27542
  ...options.headers
26622
27543
  }
26623
27544
  });
27545
+ /**
27546
+ * List what the allocation decision awards the proposal. Staff, support, the call's managers and organisers, and the managers of the offerings involved see it at any time; the applicant team once the decision is released.
27547
+ */
27548
+ export const proposalProposalsAwardedResourcesList = (options) => (options.client ?? client).get({
27549
+ security: [
27550
+ { name: 'Authorization', type: 'apiKey' },
27551
+ { scheme: 'bearer', type: 'http' }
27552
+ ],
27553
+ url: '/api/proposal-proposals/{uuid}/awarded_resources/',
27554
+ ...options
27555
+ });
27556
+ /**
27557
+ * Add an item to the award. Call managers only, while the allocation decision is in progress.
27558
+ */
27559
+ export const proposalProposalsAwardedResourcesSet = (options) => (options.client ?? client).post({
27560
+ security: [
27561
+ { name: 'Authorization', type: 'apiKey' },
27562
+ { scheme: 'bearer', type: 'http' }
27563
+ ],
27564
+ url: '/api/proposal-proposals/{uuid}/awarded_resources/',
27565
+ ...options,
27566
+ headers: {
27567
+ 'Content-Type': 'application/json',
27568
+ ...options.headers
27569
+ }
27570
+ });
27571
+ /**
27572
+ * Read, change or remove an item of the award. Changes are for call managers only, while the allocation decision is in progress.
27573
+ */
27574
+ export const proposalProposalsAwardedResourcesDestroy = (options) => (options.client ?? client).delete({
27575
+ security: [
27576
+ { name: 'Authorization', type: 'apiKey' },
27577
+ { scheme: 'bearer', type: 'http' }
27578
+ ],
27579
+ url: '/api/proposal-proposals/{uuid}/awarded_resources/{obj_uuid}/',
27580
+ ...options
27581
+ });
27582
+ /**
27583
+ * Read, change or remove an item of the award. Changes are for call managers only, while the allocation decision is in progress.
27584
+ */
27585
+ export const proposalProposalsAwardedResourcesRetrieve = (options) => (options.client ?? client).get({
27586
+ security: [
27587
+ { name: 'Authorization', type: 'apiKey' },
27588
+ { scheme: 'bearer', type: 'http' }
27589
+ ],
27590
+ url: '/api/proposal-proposals/{uuid}/awarded_resources/{obj_uuid}/',
27591
+ ...options
27592
+ });
27593
+ /**
27594
+ * Read, change or remove an item of the award. Changes are for call managers only, while the allocation decision is in progress.
27595
+ */
27596
+ export const proposalProposalsAwardedResourcesPartialUpdate = (options) => (options.client ?? client).patch({
27597
+ security: [
27598
+ { name: 'Authorization', type: 'apiKey' },
27599
+ { scheme: 'bearer', type: 'http' }
27600
+ ],
27601
+ url: '/api/proposal-proposals/{uuid}/awarded_resources/{obj_uuid}/',
27602
+ ...options,
27603
+ headers: {
27604
+ 'Content-Type': 'application/json',
27605
+ ...options.headers
27606
+ }
27607
+ });
27608
+ /**
27609
+ * Read, change or remove an item of the award. Changes are for call managers only, while the allocation decision is in progress.
27610
+ */
27611
+ export const proposalProposalsAwardedResourcesUpdate = (options) => (options.client ?? client).put({
27612
+ security: [
27613
+ { name: 'Authorization', type: 'apiKey' },
27614
+ { scheme: 'bearer', type: 'http' }
27615
+ ],
27616
+ url: '/api/proposal-proposals/{uuid}/awarded_resources/{obj_uuid}/',
27617
+ ...options,
27618
+ headers: {
27619
+ 'Content-Type': 'application/json',
27620
+ ...options.headers
27621
+ }
27622
+ });
26624
27623
  /**
26625
27624
  * Get checklist with questions and existing answers.
26626
27625
  */
@@ -26753,6 +27752,21 @@ export const proposalProposalsRejectWorkflowStep = (options) => (options.client
26753
27752
  ...options.headers
26754
27753
  }
26755
27754
  });
27755
+ /**
27756
+ * Reopen an allocation decision held for the round's publication: the decision step becomes active again with its outcome cleared, and the proposal counts as undecided until it is decided anew. Only before the round's results are published. Nothing is sent to the applicant. The reopen is logged on the proposal's event feed, which the applicant team reads, so the event carries neither the reason nor the outcome taken back.
27757
+ */
27758
+ export const proposalProposalsReopenDecision = (options) => (options.client ?? client).post({
27759
+ security: [
27760
+ { name: 'Authorization', type: 'apiKey' },
27761
+ { scheme: 'bearer', type: 'http' }
27762
+ ],
27763
+ url: '/api/proposal-proposals/{uuid}/reopen_decision/',
27764
+ ...options,
27765
+ headers: {
27766
+ 'Content-Type': 'application/json',
27767
+ ...options.headers
27768
+ }
27769
+ });
26756
27770
  /**
26757
27771
  * List resources for a proposal.
26758
27772
  */
@@ -26973,6 +27987,19 @@ export const proposalProposalsChecklistTemplateCount = (options) => (options.cli
26973
27987
  url: '/api/proposal-proposals/checklist-template/',
26974
27988
  ...options
26975
27989
  });
27990
+ /**
27991
+ * Get submitter dashboard stats
27992
+ *
27993
+ * Returns counts of the current user's own proposals grouped by state, covering both in-progress and decided proposals.
27994
+ */
27995
+ export const proposalProposalsDashboardStatsRetrieve = (options) => (options?.client ?? client).get({
27996
+ security: [
27997
+ { name: 'Authorization', type: 'apiKey' },
27998
+ { scheme: 'bearer', type: 'http' }
27999
+ ],
28000
+ url: '/api/proposal-proposals/dashboard-stats/',
28001
+ ...options
28002
+ });
26976
28003
  export const proposalProtectedCallsList = (options) => (options?.client ?? client).get({
26977
28004
  security: [
26978
28005
  { name: 'Authorization', type: 'apiKey' },
@@ -27256,6 +28283,45 @@ export const proposalProtectedCallsDuplicate = (options) => (options.client ?? c
27256
28283
  ...options.headers
27257
28284
  }
27258
28285
  });
28286
+ /**
28287
+ * Download the call's proposals as CSV, one row per proposal, with one column per requested offering component. The column set is derived from the call, so it is the same for every row and between exports of the same call.
28288
+ */
28289
+ export const proposalProtectedCallsExportProposals = (options) => (options.client ?? client).get({
28290
+ security: [
28291
+ { name: 'Authorization', type: 'apiKey' },
28292
+ { scheme: 'bearer', type: 'http' }
28293
+ ],
28294
+ url: '/api/proposal-protected-calls/{uuid}/export-proposals/',
28295
+ ...options
28296
+ });
28297
+ /**
28298
+ * Download the call's reviews as CSV, one row per review. The reviewer's private comment is never included: the export is open to call managers, and the review API keeps that field from them.
28299
+ */
28300
+ export const proposalProtectedCallsExportReviews = (options) => (options.client ?? client).get({
28301
+ security: [
28302
+ { name: 'Authorization', type: 'apiKey' },
28303
+ { scheme: 'bearer', type: 'http' }
28304
+ ],
28305
+ url: '/api/proposal-protected-calls/{uuid}/export-reviews/',
28306
+ ...options
28307
+ });
28308
+ /**
28309
+ * Export call configuration
28310
+ *
28311
+ * Export the call's configuration as a portable document that import_call can recreate on another portal. Offerings, plans, checklists and roles are referenced by name. Proposals, reviews, reviewer pools, assignments and user references are never exported.
28312
+ */
28313
+ export const proposalProtectedCallsExportCall = (options) => (options.client ?? client).post({
28314
+ security: [
28315
+ { name: 'Authorization', type: 'apiKey' },
28316
+ { scheme: 'bearer', type: 'http' }
28317
+ ],
28318
+ url: '/api/proposal-protected-calls/{uuid}/export_call/',
28319
+ ...options,
28320
+ headers: {
28321
+ 'Content-Type': 'application/json',
28322
+ ...options.headers
28323
+ }
28324
+ });
27259
28325
  /**
27260
28326
  * Generate assignment batches for reviewers. Uses the affinity matrix and COI records to assign reviewers to proposals.
27261
28327
  */
@@ -27641,6 +28707,59 @@ export const proposalProtectedCallsRoundsClose = (options) => (options.client ??
27641
28707
  ...options.headers
27642
28708
  }
27643
28709
  });
28710
+ /**
28711
+ * Close a round whose results have been published. Refused while a decision of the round is still held because its release failed (the refusal carries held_decisions_count; publish the results again to retry it). Every proposal of the round must have a decision. What happens to those that have none follows the round's undecided_at_round_completion, or else the call's: refuse (the refusal carries undecided_count) or reject each at its current step, listed in rejected_proposals. A rejection that fails is listed in failed_proposals and the round stays open; completing again retries it.
28712
+ */
28713
+ export const proposalProtectedCallsRoundsComplete = (options) => (options.client ?? client).post({
28714
+ security: [
28715
+ { name: 'Authorization', type: 'apiKey' },
28716
+ { scheme: 'bearer', type: 'http' }
28717
+ ],
28718
+ url: '/api/proposal-protected-calls/{uuid}/rounds/{obj_uuid}/complete/',
28719
+ ...options
28720
+ });
28721
+ /**
28722
+ * Publish all allocation decisions of an ended round at once: announce every held decision to its applicant and carry it out. Refused while a proposal of the round has no decision, unless forced with a reason; that refusal carries undecided_count. A decision that cannot be carried out stays held and is listed in failed_proposals; publishing again retries it.
28723
+ */
28724
+ export const proposalProtectedCallsRoundsPublishResults = (options) => (options.client ?? client).post({
28725
+ security: [
28726
+ { name: 'Authorization', type: 'apiKey' },
28727
+ { scheme: 'bearer', type: 'http' }
28728
+ ],
28729
+ url: '/api/proposal-protected-calls/{uuid}/rounds/{obj_uuid}/publish_results/',
28730
+ ...options,
28731
+ headers: {
28732
+ 'Content-Type': 'application/json',
28733
+ ...options.headers
28734
+ }
28735
+ });
28736
+ /**
28737
+ * Record that the round's results were adopted: the date, a note and optionally the adopting document.
28738
+ */
28739
+ export const proposalProtectedCallsRoundsRecordAdoption = (options) => (options.client ?? client).post({
28740
+ ...formDataBodySerializer,
28741
+ security: [
28742
+ { name: 'Authorization', type: 'apiKey' },
28743
+ { scheme: 'bearer', type: 'http' }
28744
+ ],
28745
+ url: '/api/proposal-protected-calls/{uuid}/rounds/{obj_uuid}/record_adoption/',
28746
+ ...options,
28747
+ headers: {
28748
+ 'Content-Type': null,
28749
+ ...options.headers
28750
+ }
28751
+ });
28752
+ /**
28753
+ * Move an ended round from evaluating to deciding: its proposals have been evaluated and go to the decision body.
28754
+ */
28755
+ export const proposalProtectedCallsRoundsStartDeciding = (options) => (options.client ?? client).post({
28756
+ security: [
28757
+ { name: 'Authorization', type: 'apiKey' },
28758
+ { scheme: 'bearer', type: 'http' }
28759
+ ],
28760
+ url: '/api/proposal-protected-calls/{uuid}/rounds/{obj_uuid}/start_deciding/',
28761
+ ...options
28762
+ });
27644
28763
  /**
27645
28764
  * Send all draft assignment batches for this call.
27646
28765
  */
@@ -27783,6 +28902,36 @@ export const proposalProtectedCallsAvailableComplianceChecklistsCount = (options
27783
28902
  url: '/api/proposal-protected-calls/available_compliance_checklists/',
27784
28903
  ...options
27785
28904
  });
28905
+ /**
28906
+ * Get call manager dashboard stats
28907
+ *
28908
+ * Returns counts for the call manager dashboard: pending assessments, active calls managed by the user, and reviews on calls they manage that are due within the next few days.
28909
+ */
28910
+ export const proposalProtectedCallsDashboardStatsRetrieve = (options) => (options?.client ?? client).get({
28911
+ security: [
28912
+ { name: 'Authorization', type: 'apiKey' },
28913
+ { scheme: 'bearer', type: 'http' }
28914
+ ],
28915
+ url: '/api/proposal-protected-calls/dashboard-stats/',
28916
+ ...options
28917
+ });
28918
+ /**
28919
+ * Import call configuration
28920
+ *
28921
+ * Create a draft call under the given call managing organisation from a document produced by export_call. References that cannot be resolved by name on this portal are skipped and reported in warnings. The import is atomic.
28922
+ */
28923
+ export const proposalProtectedCallsImportCall = (options) => (options.client ?? client).post({
28924
+ security: [
28925
+ { name: 'Authorization', type: 'apiKey' },
28926
+ { scheme: 'bearer', type: 'http' }
28927
+ ],
28928
+ url: '/api/proposal-protected-calls/import_call/',
28929
+ ...options,
28930
+ headers: {
28931
+ 'Content-Type': 'application/json',
28932
+ ...options.headers
28933
+ }
28934
+ });
27786
28935
  /**
27787
28936
  * List checklists that can be attached to a workflow step (WORKFLOW_STEP-typed). Available to call managers so the workflow config UI can populate its checklist picker without staff-only access to the checklist admin API.
27788
28937
  */
@@ -28016,6 +29165,19 @@ export const proposalReviewsSubmit = (options) => (options.client ?? client).pos
28016
29165
  ...options.headers
28017
29166
  }
28018
29167
  });
29168
+ /**
29169
+ * Get reviewer dashboard stats and deadlines
29170
+ *
29171
+ * Returns counts (assigned, pending, completed) for every review assigned to the current user, plus their nearest review deadlines ordered by due date. Overdue reviews sort first and are included; the counts cover all reviews, the deadline list is capped and deadlines_total gives its true length.
29172
+ */
29173
+ export const proposalReviewsDashboardStatsRetrieve = (options) => (options?.client ?? client).get({
29174
+ security: [
29175
+ { name: 'Authorization', type: 'apiKey' },
29176
+ { scheme: 'bearer', type: 'http' }
29177
+ ],
29178
+ url: '/api/proposal-reviews/dashboard-stats/',
29179
+ ...options
29180
+ });
28019
29181
  export const providerCannedResponsesList = (options) => (options?.client ?? client).get({
28020
29182
  security: [
28021
29183
  { name: 'Authorization', type: 'apiKey' },
@@ -30937,6 +32099,32 @@ export const rolesUpdateDescriptionsUpdate = (options) => (options.client ?? cli
30937
32099
  ...options.headers
30938
32100
  }
30939
32101
  });
32102
+ /**
32103
+ * Role hygiene report
32104
+ *
32105
+ * Staff-only. Reports roles whose name is not a machine code, whose scope or organization binding is wrong, that are silently global, or that carry permissions inert for their scope. Read-only.
32106
+ */
32107
+ export const rolesHygieneReportRetrieve = (options) => (options?.client ?? client).get({
32108
+ security: [
32109
+ { name: 'Authorization', type: 'apiKey' },
32110
+ { scheme: 'bearer', type: 'http' }
32111
+ ],
32112
+ url: '/api/roles/hygiene_report/',
32113
+ ...options
32114
+ });
32115
+ /**
32116
+ * Role hygiene report
32117
+ *
32118
+ * Get number of items in the collection matching the request parameters.
32119
+ */
32120
+ export const rolesHygieneReportCount = (options) => (options?.client ?? client).head({
32121
+ security: [
32122
+ { name: 'Authorization', type: 'apiKey' },
32123
+ { scheme: 'bearer', type: 'http' }
32124
+ ],
32125
+ url: '/api/roles/hygiene_report/',
32126
+ ...options
32127
+ });
30940
32128
  export const scienceDomainsList = (options) => (options?.client ?? client).get({
30941
32129
  security: [
30942
32130
  { name: 'Authorization', type: 'apiKey' },
@@ -31145,98 +32333,71 @@ export const serviceSettingsRetrieve = (options) => (options.client ?? client).g
31145
32333
  url: '/api/service-settings/{uuid}/',
31146
32334
  ...options
31147
32335
  });
31148
- export const slurmAllocationUserUsageList = (options) => (options?.client ?? client).get({
31149
- security: [
31150
- { name: 'Authorization', type: 'apiKey' },
31151
- { scheme: 'bearer', type: 'http' }
31152
- ],
31153
- url: '/api/slurm-allocation-user-usage/',
31154
- ...options
31155
- });
31156
- /**
31157
- * Get number of items in the collection matching the request parameters.
31158
- */
31159
- export const slurmAllocationUserUsageCount = (options) => (options?.client ?? client).head({
31160
- security: [
31161
- { name: 'Authorization', type: 'apiKey' },
31162
- { scheme: 'bearer', type: 'http' }
31163
- ],
31164
- url: '/api/slurm-allocation-user-usage/',
31165
- ...options
31166
- });
31167
- export const slurmAllocationUserUsageRetrieve = (options) => (options.client ?? client).get({
31168
- security: [
31169
- { name: 'Authorization', type: 'apiKey' },
31170
- { scheme: 'bearer', type: 'http' }
31171
- ],
31172
- url: '/api/slurm-allocation-user-usage/{id}/',
31173
- ...options
31174
- });
31175
- export const slurmAllocationsList = (options) => (options?.client ?? client).get({
32336
+ export const slurmJobsList = (options) => (options?.client ?? client).get({
31176
32337
  security: [
31177
32338
  { name: 'Authorization', type: 'apiKey' },
31178
32339
  { scheme: 'bearer', type: 'http' }
31179
32340
  ],
31180
- url: '/api/slurm-allocations/',
32341
+ url: '/api/slurm-jobs/',
31181
32342
  ...options
31182
32343
  });
31183
32344
  /**
31184
32345
  * Get number of items in the collection matching the request parameters.
31185
32346
  */
31186
- export const slurmAllocationsCount = (options) => (options?.client ?? client).head({
32347
+ export const slurmJobsCount = (options) => (options?.client ?? client).head({
31187
32348
  security: [
31188
32349
  { name: 'Authorization', type: 'apiKey' },
31189
32350
  { scheme: 'bearer', type: 'http' }
31190
32351
  ],
31191
- url: '/api/slurm-allocations/',
32352
+ url: '/api/slurm-jobs/',
31192
32353
  ...options
31193
32354
  });
31194
- export const slurmAllocationsCreate = (options) => (options.client ?? client).post({
32355
+ export const slurmJobsCreate = (options) => (options.client ?? client).post({
31195
32356
  security: [
31196
32357
  { name: 'Authorization', type: 'apiKey' },
31197
32358
  { scheme: 'bearer', type: 'http' }
31198
32359
  ],
31199
- url: '/api/slurm-allocations/',
32360
+ url: '/api/slurm-jobs/',
31200
32361
  ...options,
31201
32362
  headers: {
31202
32363
  'Content-Type': 'application/json',
31203
32364
  ...options.headers
31204
32365
  }
31205
32366
  });
31206
- export const slurmAllocationsDestroy = (options) => (options.client ?? client).delete({
32367
+ export const slurmJobsDestroy = (options) => (options.client ?? client).delete({
31207
32368
  security: [
31208
32369
  { name: 'Authorization', type: 'apiKey' },
31209
32370
  { scheme: 'bearer', type: 'http' }
31210
32371
  ],
31211
- url: '/api/slurm-allocations/{uuid}/',
32372
+ url: '/api/slurm-jobs/{uuid}/',
31212
32373
  ...options
31213
32374
  });
31214
- export const slurmAllocationsRetrieve = (options) => (options.client ?? client).get({
32375
+ export const slurmJobsRetrieve = (options) => (options.client ?? client).get({
31215
32376
  security: [
31216
32377
  { name: 'Authorization', type: 'apiKey' },
31217
32378
  { scheme: 'bearer', type: 'http' }
31218
32379
  ],
31219
- url: '/api/slurm-allocations/{uuid}/',
32380
+ url: '/api/slurm-jobs/{uuid}/',
31220
32381
  ...options
31221
32382
  });
31222
- export const slurmAllocationsPartialUpdate = (options) => (options.client ?? client).patch({
32383
+ export const slurmJobsPartialUpdate = (options) => (options.client ?? client).patch({
31223
32384
  security: [
31224
32385
  { name: 'Authorization', type: 'apiKey' },
31225
32386
  { scheme: 'bearer', type: 'http' }
31226
32387
  ],
31227
- url: '/api/slurm-allocations/{uuid}/',
32388
+ url: '/api/slurm-jobs/{uuid}/',
31228
32389
  ...options,
31229
32390
  headers: {
31230
32391
  'Content-Type': 'application/json',
31231
32392
  ...options.headers
31232
32393
  }
31233
32394
  });
31234
- export const slurmAllocationsUpdate = (options) => (options.client ?? client).put({
32395
+ export const slurmJobsUpdate = (options) => (options.client ?? client).put({
31235
32396
  security: [
31236
32397
  { name: 'Authorization', type: 'apiKey' },
31237
32398
  { scheme: 'bearer', type: 'http' }
31238
32399
  ],
31239
- url: '/api/slurm-allocations/{uuid}/',
32400
+ url: '/api/slurm-jobs/{uuid}/',
31240
32401
  ...options,
31241
32402
  headers: {
31242
32403
  'Content-Type': 'application/json',
@@ -31248,12 +32409,12 @@ export const slurmAllocationsUpdate = (options) => (options.client ?? client).pu
31248
32409
  *
31249
32410
  * 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.
31250
32411
  */
31251
- export const slurmAllocationsPull = (options) => (options.client ?? client).post({
32412
+ export const slurmJobsPull = (options) => (options.client ?? client).post({
31252
32413
  security: [
31253
32414
  { name: 'Authorization', type: 'apiKey' },
31254
32415
  { scheme: 'bearer', type: 'http' }
31255
32416
  ],
31256
- url: '/api/slurm-allocations/{uuid}/pull/',
32417
+ url: '/api/slurm-jobs/{uuid}/pull/',
31257
32418
  ...options
31258
32419
  });
31259
32420
  /**
@@ -31261,24 +32422,12 @@ export const slurmAllocationsPull = (options) => (options.client ?? client).post
31261
32422
  *
31262
32423
  * 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.
31263
32424
  */
31264
- export const slurmAllocationsSetErred = (options) => (options.client ?? client).post({
31265
- security: [
31266
- { name: 'Authorization', type: 'apiKey' },
31267
- { scheme: 'bearer', type: 'http' }
31268
- ],
31269
- url: '/api/slurm-allocations/{uuid}/set_erred/',
31270
- ...options,
31271
- headers: {
31272
- 'Content-Type': 'application/json',
31273
- ...options.headers
31274
- }
31275
- });
31276
- export const slurmAllocationsSetLimits = (options) => (options.client ?? client).post({
32425
+ export const slurmJobsSetErred = (options) => (options.client ?? client).post({
31277
32426
  security: [
31278
32427
  { name: 'Authorization', type: 'apiKey' },
31279
32428
  { scheme: 'bearer', type: 'http' }
31280
32429
  ],
31281
- url: '/api/slurm-allocations/{uuid}/set_limits/',
32430
+ url: '/api/slurm-jobs/{uuid}/set_erred/',
31282
32431
  ...options,
31283
32432
  headers: {
31284
32433
  'Content-Type': 'application/json',
@@ -31290,12 +32439,12 @@ export const slurmAllocationsSetLimits = (options) => (options.client ?? client)
31290
32439
  *
31291
32440
  * Manually transition the resource to OK state and clear error fields. Staff-only operation.
31292
32441
  */
31293
- export const slurmAllocationsSetOk = (options) => (options.client ?? client).post({
32442
+ export const slurmJobsSetOk = (options) => (options.client ?? client).post({
31294
32443
  security: [
31295
32444
  { name: 'Authorization', type: 'apiKey' },
31296
32445
  { scheme: 'bearer', type: 'http' }
31297
32446
  ],
31298
- url: '/api/slurm-allocations/{uuid}/set_ok/',
32447
+ url: '/api/slurm-jobs/{uuid}/set_ok/',
31299
32448
  ...options
31300
32449
  });
31301
32450
  /**
@@ -31305,106 +32454,130 @@ export const slurmAllocationsSetOk = (options) => (options.client ?? client).pos
31305
32454
  * and without checking current state of the resource. It is intended to be used
31306
32455
  * for removing resource stuck in transitioning state.
31307
32456
  */
31308
- export const slurmAllocationsUnlink = (options) => (options.client ?? client).post({
32457
+ export const slurmJobsUnlink = (options) => (options.client ?? client).post({
31309
32458
  security: [
31310
32459
  { name: 'Authorization', type: 'apiKey' },
31311
32460
  { scheme: 'bearer', type: 'http' }
31312
32461
  ],
31313
- url: '/api/slurm-allocations/{uuid}/unlink/',
32462
+ url: '/api/slurm-jobs/{uuid}/unlink/',
31314
32463
  ...options
31315
32464
  });
31316
- export const slurmAssociationsList = (options) => (options?.client ?? client).get({
32465
+ /**
32466
+ * SRAM collaborations and groups provisioned into Waldur.
32467
+ */
32468
+ export const sramGroupsList = (options) => (options?.client ?? client).get({
31317
32469
  security: [
31318
32470
  { name: 'Authorization', type: 'apiKey' },
31319
32471
  { scheme: 'bearer', type: 'http' }
31320
32472
  ],
31321
- url: '/api/slurm-associations/',
32473
+ url: '/api/sram-groups/',
31322
32474
  ...options
31323
32475
  });
31324
32476
  /**
31325
32477
  * Get number of items in the collection matching the request parameters.
31326
32478
  */
31327
- export const slurmAssociationsCount = (options) => (options?.client ?? client).head({
32479
+ export const sramGroupsCount = (options) => (options?.client ?? client).head({
31328
32480
  security: [
31329
32481
  { name: 'Authorization', type: 'apiKey' },
31330
32482
  { scheme: 'bearer', type: 'http' }
31331
32483
  ],
31332
- url: '/api/slurm-associations/',
32484
+ url: '/api/sram-groups/',
31333
32485
  ...options
31334
32486
  });
31335
- export const slurmAssociationsRetrieve = (options) => (options.client ?? client).get({
32487
+ /**
32488
+ * SRAM collaborations and groups provisioned into Waldur.
32489
+ */
32490
+ export const sramGroupsRetrieve = (options) => (options.client ?? client).get({
31336
32491
  security: [
31337
32492
  { name: 'Authorization', type: 'apiKey' },
31338
32493
  { scheme: 'bearer', type: 'http' }
31339
32494
  ],
31340
- url: '/api/slurm-associations/{uuid}/',
32495
+ url: '/api/sram-groups/{uuid}/',
31341
32496
  ...options
31342
32497
  });
31343
- export const slurmJobsList = (options) => (options?.client ?? client).get({
32498
+ /**
32499
+ * Rules granting project roles to holders of SRAM placeholder roles.
32500
+ */
32501
+ export const sramProjectRulesList = (options) => (options?.client ?? client).get({
31344
32502
  security: [
31345
32503
  { name: 'Authorization', type: 'apiKey' },
31346
32504
  { scheme: 'bearer', type: 'http' }
31347
32505
  ],
31348
- url: '/api/slurm-jobs/',
32506
+ url: '/api/sram-project-rules/',
31349
32507
  ...options
31350
32508
  });
31351
32509
  /**
31352
32510
  * Get number of items in the collection matching the request parameters.
31353
32511
  */
31354
- export const slurmJobsCount = (options) => (options?.client ?? client).head({
32512
+ export const sramProjectRulesCount = (options) => (options?.client ?? client).head({
31355
32513
  security: [
31356
32514
  { name: 'Authorization', type: 'apiKey' },
31357
32515
  { scheme: 'bearer', type: 'http' }
31358
32516
  ],
31359
- url: '/api/slurm-jobs/',
32517
+ url: '/api/sram-project-rules/',
31360
32518
  ...options
31361
32519
  });
31362
- export const slurmJobsCreate = (options) => (options.client ?? client).post({
32520
+ /**
32521
+ * Rules granting project roles to holders of SRAM placeholder roles.
32522
+ */
32523
+ export const sramProjectRulesCreate = (options) => (options.client ?? client).post({
31363
32524
  security: [
31364
32525
  { name: 'Authorization', type: 'apiKey' },
31365
32526
  { scheme: 'bearer', type: 'http' }
31366
32527
  ],
31367
- url: '/api/slurm-jobs/',
32528
+ url: '/api/sram-project-rules/',
31368
32529
  ...options,
31369
32530
  headers: {
31370
32531
  'Content-Type': 'application/json',
31371
32532
  ...options.headers
31372
32533
  }
31373
32534
  });
31374
- export const slurmJobsDestroy = (options) => (options.client ?? client).delete({
32535
+ /**
32536
+ * Rules granting project roles to holders of SRAM placeholder roles.
32537
+ */
32538
+ export const sramProjectRulesDestroy = (options) => (options.client ?? client).delete({
31375
32539
  security: [
31376
32540
  { name: 'Authorization', type: 'apiKey' },
31377
32541
  { scheme: 'bearer', type: 'http' }
31378
32542
  ],
31379
- url: '/api/slurm-jobs/{uuid}/',
32543
+ url: '/api/sram-project-rules/{uuid}/',
31380
32544
  ...options
31381
32545
  });
31382
- export const slurmJobsRetrieve = (options) => (options.client ?? client).get({
32546
+ /**
32547
+ * Rules granting project roles to holders of SRAM placeholder roles.
32548
+ */
32549
+ export const sramProjectRulesRetrieve = (options) => (options.client ?? client).get({
31383
32550
  security: [
31384
32551
  { name: 'Authorization', type: 'apiKey' },
31385
32552
  { scheme: 'bearer', type: 'http' }
31386
32553
  ],
31387
- url: '/api/slurm-jobs/{uuid}/',
32554
+ url: '/api/sram-project-rules/{uuid}/',
31388
32555
  ...options
31389
32556
  });
31390
- export const slurmJobsPartialUpdate = (options) => (options.client ?? client).patch({
32557
+ /**
32558
+ * Rules granting project roles to holders of SRAM placeholder roles.
32559
+ */
32560
+ export const sramProjectRulesPartialUpdate = (options) => (options.client ?? client).patch({
31391
32561
  security: [
31392
32562
  { name: 'Authorization', type: 'apiKey' },
31393
32563
  { scheme: 'bearer', type: 'http' }
31394
32564
  ],
31395
- url: '/api/slurm-jobs/{uuid}/',
32565
+ url: '/api/sram-project-rules/{uuid}/',
31396
32566
  ...options,
31397
32567
  headers: {
31398
32568
  'Content-Type': 'application/json',
31399
32569
  ...options.headers
31400
32570
  }
31401
32571
  });
31402
- export const slurmJobsUpdate = (options) => (options.client ?? client).put({
32572
+ /**
32573
+ * Rules granting project roles to holders of SRAM placeholder roles.
32574
+ */
32575
+ export const sramProjectRulesUpdate = (options) => (options.client ?? client).put({
31403
32576
  security: [
31404
32577
  { name: 'Authorization', type: 'apiKey' },
31405
32578
  { scheme: 'bearer', type: 'http' }
31406
32579
  ],
31407
- url: '/api/slurm-jobs/{uuid}/',
32580
+ url: '/api/sram-project-rules/{uuid}/',
31408
32581
  ...options,
31409
32582
  headers: {
31410
32583
  'Content-Type': 'application/json',
@@ -31412,62 +32585,51 @@ export const slurmJobsUpdate = (options) => (options.client ?? client).put({
31412
32585
  }
31413
32586
  });
31414
32587
  /**
31415
- * Synchronize resource state
32588
+ * Preview a rule
31416
32589
  *
31417
- * 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.
32590
+ * Groups the rule matches now, with the projects it selects and the placeholder holders who would get the project role.
31418
32591
  */
31419
- export const slurmJobsPull = (options) => (options.client ?? client).post({
32592
+ export const sramProjectRulesPreviewList = (options) => (options.client ?? client).get({
31420
32593
  security: [
31421
32594
  { name: 'Authorization', type: 'apiKey' },
31422
32595
  { scheme: 'bearer', type: 'http' }
31423
32596
  ],
31424
- url: '/api/slurm-jobs/{uuid}/pull/',
32597
+ url: '/api/sram-project-rules/{uuid}/preview/',
31425
32598
  ...options
31426
32599
  });
31427
- /**
31428
- * Mark resource as ERRED
31429
- *
31430
- * 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.
31431
- */
31432
- export const slurmJobsSetErred = (options) => (options.client ?? client).post({
32600
+ export const staffPasskeysList = (options) => (options?.client ?? client).get({
31433
32601
  security: [
31434
32602
  { name: 'Authorization', type: 'apiKey' },
31435
32603
  { scheme: 'bearer', type: 'http' }
31436
32604
  ],
31437
- url: '/api/slurm-jobs/{uuid}/set_erred/',
31438
- ...options,
31439
- headers: {
31440
- 'Content-Type': 'application/json',
31441
- ...options.headers
31442
- }
32605
+ url: '/api/staff-passkeys/',
32606
+ ...options
31443
32607
  });
31444
32608
  /**
31445
- * Mark resource as OK
31446
- *
31447
- * Manually transition the resource to OK state and clear error fields. Staff-only operation.
32609
+ * Get number of items in the collection matching the request parameters.
31448
32610
  */
31449
- export const slurmJobsSetOk = (options) => (options.client ?? client).post({
32611
+ export const staffPasskeysCount = (options) => (options?.client ?? client).head({
31450
32612
  security: [
31451
32613
  { name: 'Authorization', type: 'apiKey' },
31452
32614
  { scheme: 'bearer', type: 'http' }
31453
32615
  ],
31454
- url: '/api/slurm-jobs/{uuid}/set_ok/',
32616
+ url: '/api/staff-passkeys/',
31455
32617
  ...options
31456
32618
  });
31457
32619
  /**
31458
- * Unlink resource
31459
- *
31460
- * Delete resource from the database without scheduling operations on backend
31461
- * and without checking current state of the resource. It is intended to be used
31462
- * for removing resource stuck in transitioning state.
32620
+ * Revoke another user's passkey
31463
32621
  */
31464
- export const slurmJobsUnlink = (options) => (options.client ?? client).post({
32622
+ export const staffPasskeysRevoke = (options) => (options.client ?? client).post({
31465
32623
  security: [
31466
32624
  { name: 'Authorization', type: 'apiKey' },
31467
32625
  { scheme: 'bearer', type: 'http' }
31468
32626
  ],
31469
- url: '/api/slurm-jobs/{uuid}/unlink/',
31470
- ...options
32627
+ url: '/api/staff-passkeys/{uuid}/revoke/',
32628
+ ...options,
32629
+ headers: {
32630
+ 'Content-Type': 'application/json',
32631
+ ...options.headers
32632
+ }
31471
32633
  });
31472
32634
  /**
31473
32635
  * Get Celery worker statistics
@@ -32188,6 +33350,27 @@ export const supportIssuesRouteToProvider = (options) => (options.client ?? clie
32188
33350
  ...options.headers
32189
33351
  }
32190
33352
  });
33353
+ /**
33354
+ * Move an issue to another status
33355
+ *
33356
+ * Change the status of an issue Waldur itself owns.
33357
+ *
33358
+ * `_update_is_available_validator` keeps this off the externally-backed
33359
+ * issues: Jira, Zammad and SMAX inherit `update_is_available` as False, so
33360
+ * their status stays whatever the remote service desk last told us.
33361
+ */
33362
+ export const supportIssuesSetStatus = (options) => (options.client ?? client).post({
33363
+ security: [
33364
+ { name: 'Authorization', type: 'apiKey' },
33365
+ { scheme: 'bearer', type: 'http' }
33366
+ ],
33367
+ url: '/api/support-issues/{uuid}/set_status/',
33368
+ ...options,
33369
+ headers: {
33370
+ 'Content-Type': 'application/json',
33371
+ ...options.headers
33372
+ }
33373
+ });
32191
33374
  export const supportIssuesSync = (options) => (options.client ?? client).post({
32192
33375
  security: [
32193
33376
  { name: 'Authorization', type: 'apiKey' },
@@ -33538,7 +34721,7 @@ export const userInvitationsApprove = (options) => (options.client ?? client).po
33538
34721
  /**
33539
34722
  * Check for duplicate invitations
33540
34723
  *
33541
- * Returns pending invitations that already exist for the same email and role within the given scope.
34724
+ * Returns pending invitations that already exist for the same email and role within the given scope, along with the active roles those emails already hold in it.
33542
34725
  */
33543
34726
  export const userInvitationsCheckDuplicates = (options) => (options.client ?? client).post({
33544
34727
  security: [
@@ -34033,6 +35216,32 @@ export const usersConfirmEmail = (options) => (options.client ?? client).post({
34033
35216
  ...options.headers
34034
35217
  }
34035
35218
  });
35219
+ /**
35220
+ * Get general dashboard stats
35221
+ *
35222
+ * Returns counts shown on the general dashboard for the current user: pending permission requests they can act on, active invitations addressed to them, and their pending onboarding applications.
35223
+ */
35224
+ export const usersDashboardGeneralStatsRetrieve = (options) => (options?.client ?? client).get({
35225
+ security: [
35226
+ { name: 'Authorization', type: 'apiKey' },
35227
+ { scheme: 'bearer', type: 'http' }
35228
+ ],
35229
+ url: '/api/users/dashboard-general-stats/',
35230
+ ...options
35231
+ });
35232
+ /**
35233
+ * Get pending dashboard actions feed
35234
+ *
35235
+ * Returns a typed feed of actions the current user should take, aggregating pending orders, failed resources, overdue invoices, missing Terms of Service consents, and incomplete profile state. Where USER_ACTIONS_ENABLED is set, the persistent UserAction queue is folded in as well; those items carry a uuid addressing the user-actions endpoints, along with any corrective actions and the route recorded for them.
35236
+ */
35237
+ export const usersDashboardPendingActionsList = (options) => (options?.client ?? client).get({
35238
+ security: [
35239
+ { name: 'Authorization', type: 'apiKey' },
35240
+ { scheme: 'bearer', type: 'http' }
35241
+ ],
35242
+ url: '/api/users/dashboard-pending-actions/',
35243
+ ...options
35244
+ });
34036
35245
  /**
34037
35246
  * Get current user details
34038
35247
  *
@@ -34756,3 +35965,16 @@ export const vmwareVirtualMachineWebConsoleRetrieve = (options) => (options.clie
34756
35965
  url: '/api/vmware-virtual-machine/{uuid}/web_console/',
34757
35966
  ...options
34758
35967
  });
35968
+ /**
35969
+ * Open a web shell session
35970
+ *
35971
+ * Returns a single-use link that opens `waldur shell` in the browser as the calling staff user. Only available when the deployment runs with DEBUG and WALDUR_CORE['WEB_SHELL_ENABLED'].
35972
+ */
35973
+ export const webShellTicket = (options) => (options?.client ?? client).post({
35974
+ security: [
35975
+ { name: 'Authorization', type: 'apiKey' },
35976
+ { scheme: 'bearer', type: 'http' }
35977
+ ],
35978
+ url: '/api/web-shell-ticket/',
35979
+ ...options
35980
+ });