waldur-js-client 8.0.8-dev.8 → 8.0.8
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.d.ts +331 -114
- package/dist/sdk.gen.js +2757 -806
- package/dist/types.gen.d.ts +4441 -1975
- package/package.json +4 -2
package/dist/sdk.gen.js
CHANGED
|
@@ -2193,6 +2193,206 @@ export const affiliatedOrganizationsReportCount = (options) => {
|
|
|
2193
2193
|
...options
|
|
2194
2194
|
});
|
|
2195
2195
|
};
|
|
2196
|
+
export const anonymousChatFeedbacksList = (options) => {
|
|
2197
|
+
return (options?.client ?? _heyApiClient).get({
|
|
2198
|
+
security: [
|
|
2199
|
+
{
|
|
2200
|
+
name: 'Authorization',
|
|
2201
|
+
type: 'apiKey'
|
|
2202
|
+
},
|
|
2203
|
+
{
|
|
2204
|
+
scheme: 'bearer',
|
|
2205
|
+
type: 'http'
|
|
2206
|
+
},
|
|
2207
|
+
{
|
|
2208
|
+
scheme: 'bearer',
|
|
2209
|
+
type: 'http'
|
|
2210
|
+
}
|
|
2211
|
+
],
|
|
2212
|
+
url: '/api/anonymous-chat-feedbacks/',
|
|
2213
|
+
...options
|
|
2214
|
+
});
|
|
2215
|
+
};
|
|
2216
|
+
export const anonymousChatFeedbacksRetrieve = (options) => {
|
|
2217
|
+
return (options.client ?? _heyApiClient).get({
|
|
2218
|
+
security: [
|
|
2219
|
+
{
|
|
2220
|
+
name: 'Authorization',
|
|
2221
|
+
type: 'apiKey'
|
|
2222
|
+
},
|
|
2223
|
+
{
|
|
2224
|
+
scheme: 'bearer',
|
|
2225
|
+
type: 'http'
|
|
2226
|
+
},
|
|
2227
|
+
{
|
|
2228
|
+
scheme: 'bearer',
|
|
2229
|
+
type: 'http'
|
|
2230
|
+
}
|
|
2231
|
+
],
|
|
2232
|
+
url: '/api/anonymous-chat-feedbacks/{interaction_uuid}/',
|
|
2233
|
+
...options
|
|
2234
|
+
});
|
|
2235
|
+
};
|
|
2236
|
+
export const anonymousChatInteractionsList = (options) => {
|
|
2237
|
+
return (options?.client ?? _heyApiClient).get({
|
|
2238
|
+
security: [
|
|
2239
|
+
{
|
|
2240
|
+
name: 'Authorization',
|
|
2241
|
+
type: 'apiKey'
|
|
2242
|
+
},
|
|
2243
|
+
{
|
|
2244
|
+
scheme: 'bearer',
|
|
2245
|
+
type: 'http'
|
|
2246
|
+
},
|
|
2247
|
+
{
|
|
2248
|
+
scheme: 'bearer',
|
|
2249
|
+
type: 'http'
|
|
2250
|
+
}
|
|
2251
|
+
],
|
|
2252
|
+
url: '/api/anonymous-chat-interactions/',
|
|
2253
|
+
...options
|
|
2254
|
+
});
|
|
2255
|
+
};
|
|
2256
|
+
export const anonymousChatInteractionsRetrieve = (options) => {
|
|
2257
|
+
return (options.client ?? _heyApiClient).get({
|
|
2258
|
+
security: [
|
|
2259
|
+
{
|
|
2260
|
+
name: 'Authorization',
|
|
2261
|
+
type: 'apiKey'
|
|
2262
|
+
},
|
|
2263
|
+
{
|
|
2264
|
+
scheme: 'bearer',
|
|
2265
|
+
type: 'http'
|
|
2266
|
+
},
|
|
2267
|
+
{
|
|
2268
|
+
scheme: 'bearer',
|
|
2269
|
+
type: 'http'
|
|
2270
|
+
}
|
|
2271
|
+
],
|
|
2272
|
+
url: '/api/anonymous-chat-interactions/{uuid}/',
|
|
2273
|
+
...options
|
|
2274
|
+
});
|
|
2275
|
+
};
|
|
2276
|
+
/**
|
|
2277
|
+
* Today's global tenant budget snapshot
|
|
2278
|
+
* Returns the site-wide token + request usage accumulated since 00:00 UTC today and the configured daily caps. Powers the budget gauges card on the staff analytics dashboard.
|
|
2279
|
+
*/
|
|
2280
|
+
export const anonymousChatInteractionsBudgetRetrieve = (options) => {
|
|
2281
|
+
return (options?.client ?? _heyApiClient).get({
|
|
2282
|
+
security: [
|
|
2283
|
+
{
|
|
2284
|
+
name: 'Authorization',
|
|
2285
|
+
type: 'apiKey'
|
|
2286
|
+
},
|
|
2287
|
+
{
|
|
2288
|
+
scheme: 'bearer',
|
|
2289
|
+
type: 'http'
|
|
2290
|
+
},
|
|
2291
|
+
{
|
|
2292
|
+
scheme: 'bearer',
|
|
2293
|
+
type: 'http'
|
|
2294
|
+
}
|
|
2295
|
+
],
|
|
2296
|
+
url: '/api/anonymous-chat-interactions/budget/',
|
|
2297
|
+
...options
|
|
2298
|
+
});
|
|
2299
|
+
};
|
|
2300
|
+
/**
|
|
2301
|
+
* Full transcript for one anonymous session
|
|
2302
|
+
* Returns the ordered list of interactions belonging to the given ``session_id``. Use this to read a conversation as a transcript.
|
|
2303
|
+
*/
|
|
2304
|
+
export const anonymousChatInteractionsBySessionList = (options) => {
|
|
2305
|
+
return (options.client ?? _heyApiClient).get({
|
|
2306
|
+
security: [
|
|
2307
|
+
{
|
|
2308
|
+
name: 'Authorization',
|
|
2309
|
+
type: 'apiKey'
|
|
2310
|
+
},
|
|
2311
|
+
{
|
|
2312
|
+
scheme: 'bearer',
|
|
2313
|
+
type: 'http'
|
|
2314
|
+
},
|
|
2315
|
+
{
|
|
2316
|
+
scheme: 'bearer',
|
|
2317
|
+
type: 'http'
|
|
2318
|
+
}
|
|
2319
|
+
],
|
|
2320
|
+
url: '/api/anonymous-chat-interactions/by-session/{session_id}/',
|
|
2321
|
+
...options
|
|
2322
|
+
});
|
|
2323
|
+
};
|
|
2324
|
+
/**
|
|
2325
|
+
* Aggregate user list (no slug)
|
|
2326
|
+
* Returns one row per user_slug with aggregate counters. Powers the staff Users page in the admin analytics.
|
|
2327
|
+
*/
|
|
2328
|
+
export const anonymousChatInteractionsByUserAggregate = (options) => {
|
|
2329
|
+
return (options?.client ?? _heyApiClient).get({
|
|
2330
|
+
security: [
|
|
2331
|
+
{
|
|
2332
|
+
name: 'Authorization',
|
|
2333
|
+
type: 'apiKey'
|
|
2334
|
+
},
|
|
2335
|
+
{
|
|
2336
|
+
scheme: 'bearer',
|
|
2337
|
+
type: 'http'
|
|
2338
|
+
},
|
|
2339
|
+
{
|
|
2340
|
+
scheme: 'bearer',
|
|
2341
|
+
type: 'http'
|
|
2342
|
+
}
|
|
2343
|
+
],
|
|
2344
|
+
url: '/api/anonymous-chat-interactions/by-user/',
|
|
2345
|
+
...options
|
|
2346
|
+
});
|
|
2347
|
+
};
|
|
2348
|
+
/**
|
|
2349
|
+
* All sessions for one pseudonymous user
|
|
2350
|
+
* Returns interactions sharing a ``user_slug`` (Scrypt of originating IP) — across however many sessions that anon user opened, ordered chronologically.
|
|
2351
|
+
*/
|
|
2352
|
+
export const anonymousChatInteractionsByUserList = (options) => {
|
|
2353
|
+
return (options.client ?? _heyApiClient).get({
|
|
2354
|
+
security: [
|
|
2355
|
+
{
|
|
2356
|
+
name: 'Authorization',
|
|
2357
|
+
type: 'apiKey'
|
|
2358
|
+
},
|
|
2359
|
+
{
|
|
2360
|
+
scheme: 'bearer',
|
|
2361
|
+
type: 'http'
|
|
2362
|
+
},
|
|
2363
|
+
{
|
|
2364
|
+
scheme: 'bearer',
|
|
2365
|
+
type: 'http'
|
|
2366
|
+
}
|
|
2367
|
+
],
|
|
2368
|
+
url: '/api/anonymous-chat-interactions/by-user/{user_slug}/',
|
|
2369
|
+
...options
|
|
2370
|
+
});
|
|
2371
|
+
};
|
|
2372
|
+
/**
|
|
2373
|
+
* Aggregate KPI roll-up
|
|
2374
|
+
* Returns aggregate counters and rates for the anonymous chat flow. Filters are honoured (date range etc.) so the same parameters work as on the list endpoint.
|
|
2375
|
+
*/
|
|
2376
|
+
export const anonymousChatInteractionsKpiRetrieve = (options) => {
|
|
2377
|
+
return (options?.client ?? _heyApiClient).get({
|
|
2378
|
+
security: [
|
|
2379
|
+
{
|
|
2380
|
+
name: 'Authorization',
|
|
2381
|
+
type: 'apiKey'
|
|
2382
|
+
},
|
|
2383
|
+
{
|
|
2384
|
+
scheme: 'bearer',
|
|
2385
|
+
type: 'http'
|
|
2386
|
+
},
|
|
2387
|
+
{
|
|
2388
|
+
scheme: 'bearer',
|
|
2389
|
+
type: 'http'
|
|
2390
|
+
}
|
|
2391
|
+
],
|
|
2392
|
+
url: '/api/anonymous-chat-interactions/kpi/',
|
|
2393
|
+
...options
|
|
2394
|
+
});
|
|
2395
|
+
};
|
|
2196
2396
|
export const assignmentBatchesList = (options) => {
|
|
2197
2397
|
return (options?.client ?? _heyApiClient).get({
|
|
2198
2398
|
security: [
|
|
@@ -7231,6 +7431,33 @@ export const chatMessagesList = (options) => {
|
|
|
7231
7431
|
...options
|
|
7232
7432
|
});
|
|
7233
7433
|
};
|
|
7434
|
+
/**
|
|
7435
|
+
* Submit or update feedback for an assistant message
|
|
7436
|
+
*/
|
|
7437
|
+
export const chatMessagesFeedback = (options) => {
|
|
7438
|
+
return (options.client ?? _heyApiClient).post({
|
|
7439
|
+
security: [
|
|
7440
|
+
{
|
|
7441
|
+
name: 'Authorization',
|
|
7442
|
+
type: 'apiKey'
|
|
7443
|
+
},
|
|
7444
|
+
{
|
|
7445
|
+
scheme: 'bearer',
|
|
7446
|
+
type: 'http'
|
|
7447
|
+
},
|
|
7448
|
+
{
|
|
7449
|
+
scheme: 'bearer',
|
|
7450
|
+
type: 'http'
|
|
7451
|
+
}
|
|
7452
|
+
],
|
|
7453
|
+
url: '/api/chat-messages/{uuid}/feedback/',
|
|
7454
|
+
...options,
|
|
7455
|
+
headers: {
|
|
7456
|
+
'Content-Type': 'application/json',
|
|
7457
|
+
...options.headers
|
|
7458
|
+
}
|
|
7459
|
+
});
|
|
7460
|
+
};
|
|
7234
7461
|
/**
|
|
7235
7462
|
* Set token quota for user
|
|
7236
7463
|
* Allows staff/support to set token quota limits for a specific user. Configure daily, weekly, and monthly limits:
|
|
@@ -7358,6 +7585,217 @@ export const chatSessionsCurrentRetrieve = (options) => {
|
|
|
7358
7585
|
...options
|
|
7359
7586
|
});
|
|
7360
7587
|
};
|
|
7588
|
+
export const chatSystemPromptsList = (options) => {
|
|
7589
|
+
return (options?.client ?? _heyApiClient).get({
|
|
7590
|
+
security: [
|
|
7591
|
+
{
|
|
7592
|
+
name: 'Authorization',
|
|
7593
|
+
type: 'apiKey'
|
|
7594
|
+
},
|
|
7595
|
+
{
|
|
7596
|
+
scheme: 'bearer',
|
|
7597
|
+
type: 'http'
|
|
7598
|
+
},
|
|
7599
|
+
{
|
|
7600
|
+
scheme: 'bearer',
|
|
7601
|
+
type: 'http'
|
|
7602
|
+
}
|
|
7603
|
+
],
|
|
7604
|
+
url: '/api/chat-system-prompts/',
|
|
7605
|
+
...options
|
|
7606
|
+
});
|
|
7607
|
+
};
|
|
7608
|
+
/**
|
|
7609
|
+
* Get number of items in the collection matching the request parameters.
|
|
7610
|
+
*/
|
|
7611
|
+
export const chatSystemPromptsCount = (options) => {
|
|
7612
|
+
return (options?.client ?? _heyApiClient).head({
|
|
7613
|
+
security: [
|
|
7614
|
+
{
|
|
7615
|
+
name: 'Authorization',
|
|
7616
|
+
type: 'apiKey'
|
|
7617
|
+
},
|
|
7618
|
+
{
|
|
7619
|
+
scheme: 'bearer',
|
|
7620
|
+
type: 'http'
|
|
7621
|
+
},
|
|
7622
|
+
{
|
|
7623
|
+
scheme: 'bearer',
|
|
7624
|
+
type: 'http'
|
|
7625
|
+
}
|
|
7626
|
+
],
|
|
7627
|
+
url: '/api/chat-system-prompts/',
|
|
7628
|
+
...options
|
|
7629
|
+
});
|
|
7630
|
+
};
|
|
7631
|
+
export const chatSystemPromptsCreate = (options) => {
|
|
7632
|
+
return (options.client ?? _heyApiClient).post({
|
|
7633
|
+
security: [
|
|
7634
|
+
{
|
|
7635
|
+
name: 'Authorization',
|
|
7636
|
+
type: 'apiKey'
|
|
7637
|
+
},
|
|
7638
|
+
{
|
|
7639
|
+
scheme: 'bearer',
|
|
7640
|
+
type: 'http'
|
|
7641
|
+
},
|
|
7642
|
+
{
|
|
7643
|
+
scheme: 'bearer',
|
|
7644
|
+
type: 'http'
|
|
7645
|
+
}
|
|
7646
|
+
],
|
|
7647
|
+
url: '/api/chat-system-prompts/',
|
|
7648
|
+
...options,
|
|
7649
|
+
headers: {
|
|
7650
|
+
'Content-Type': 'application/json',
|
|
7651
|
+
...options.headers
|
|
7652
|
+
}
|
|
7653
|
+
});
|
|
7654
|
+
};
|
|
7655
|
+
export const chatSystemPromptsDestroy = (options) => {
|
|
7656
|
+
return (options.client ?? _heyApiClient).delete({
|
|
7657
|
+
security: [
|
|
7658
|
+
{
|
|
7659
|
+
name: 'Authorization',
|
|
7660
|
+
type: 'apiKey'
|
|
7661
|
+
},
|
|
7662
|
+
{
|
|
7663
|
+
scheme: 'bearer',
|
|
7664
|
+
type: 'http'
|
|
7665
|
+
},
|
|
7666
|
+
{
|
|
7667
|
+
scheme: 'bearer',
|
|
7668
|
+
type: 'http'
|
|
7669
|
+
}
|
|
7670
|
+
],
|
|
7671
|
+
url: '/api/chat-system-prompts/{uuid}/',
|
|
7672
|
+
...options
|
|
7673
|
+
});
|
|
7674
|
+
};
|
|
7675
|
+
export const chatSystemPromptsRetrieve = (options) => {
|
|
7676
|
+
return (options.client ?? _heyApiClient).get({
|
|
7677
|
+
security: [
|
|
7678
|
+
{
|
|
7679
|
+
name: 'Authorization',
|
|
7680
|
+
type: 'apiKey'
|
|
7681
|
+
},
|
|
7682
|
+
{
|
|
7683
|
+
scheme: 'bearer',
|
|
7684
|
+
type: 'http'
|
|
7685
|
+
},
|
|
7686
|
+
{
|
|
7687
|
+
scheme: 'bearer',
|
|
7688
|
+
type: 'http'
|
|
7689
|
+
}
|
|
7690
|
+
],
|
|
7691
|
+
url: '/api/chat-system-prompts/{uuid}/',
|
|
7692
|
+
...options
|
|
7693
|
+
});
|
|
7694
|
+
};
|
|
7695
|
+
export const chatSystemPromptsPartialUpdate = (options) => {
|
|
7696
|
+
return (options.client ?? _heyApiClient).patch({
|
|
7697
|
+
security: [
|
|
7698
|
+
{
|
|
7699
|
+
name: 'Authorization',
|
|
7700
|
+
type: 'apiKey'
|
|
7701
|
+
},
|
|
7702
|
+
{
|
|
7703
|
+
scheme: 'bearer',
|
|
7704
|
+
type: 'http'
|
|
7705
|
+
},
|
|
7706
|
+
{
|
|
7707
|
+
scheme: 'bearer',
|
|
7708
|
+
type: 'http'
|
|
7709
|
+
}
|
|
7710
|
+
],
|
|
7711
|
+
url: '/api/chat-system-prompts/{uuid}/',
|
|
7712
|
+
...options,
|
|
7713
|
+
headers: {
|
|
7714
|
+
'Content-Type': 'application/json',
|
|
7715
|
+
...options.headers
|
|
7716
|
+
}
|
|
7717
|
+
});
|
|
7718
|
+
};
|
|
7719
|
+
export const chatSystemPromptsUpdate = (options) => {
|
|
7720
|
+
return (options.client ?? _heyApiClient).put({
|
|
7721
|
+
security: [
|
|
7722
|
+
{
|
|
7723
|
+
name: 'Authorization',
|
|
7724
|
+
type: 'apiKey'
|
|
7725
|
+
},
|
|
7726
|
+
{
|
|
7727
|
+
scheme: 'bearer',
|
|
7728
|
+
type: 'http'
|
|
7729
|
+
},
|
|
7730
|
+
{
|
|
7731
|
+
scheme: 'bearer',
|
|
7732
|
+
type: 'http'
|
|
7733
|
+
}
|
|
7734
|
+
],
|
|
7735
|
+
url: '/api/chat-system-prompts/{uuid}/',
|
|
7736
|
+
...options,
|
|
7737
|
+
headers: {
|
|
7738
|
+
'Content-Type': 'application/json',
|
|
7739
|
+
...options.headers
|
|
7740
|
+
}
|
|
7741
|
+
});
|
|
7742
|
+
};
|
|
7743
|
+
/**
|
|
7744
|
+
* Activate a system prompt
|
|
7745
|
+
* Set this prompt as the active one. Deactivates any currently active prompt.
|
|
7746
|
+
*/
|
|
7747
|
+
export const chatSystemPromptsActivate = (options) => {
|
|
7748
|
+
return (options.client ?? _heyApiClient).post({
|
|
7749
|
+
security: [
|
|
7750
|
+
{
|
|
7751
|
+
name: 'Authorization',
|
|
7752
|
+
type: 'apiKey'
|
|
7753
|
+
},
|
|
7754
|
+
{
|
|
7755
|
+
scheme: 'bearer',
|
|
7756
|
+
type: 'http'
|
|
7757
|
+
},
|
|
7758
|
+
{
|
|
7759
|
+
scheme: 'bearer',
|
|
7760
|
+
type: 'http'
|
|
7761
|
+
}
|
|
7762
|
+
],
|
|
7763
|
+
url: '/api/chat-system-prompts/{uuid}/activate/',
|
|
7764
|
+
...options,
|
|
7765
|
+
headers: {
|
|
7766
|
+
'Content-Type': 'application/json',
|
|
7767
|
+
...options.headers
|
|
7768
|
+
}
|
|
7769
|
+
});
|
|
7770
|
+
};
|
|
7771
|
+
/**
|
|
7772
|
+
* Deactivate the active system prompt
|
|
7773
|
+
* Deactivate this prompt. The system will fall back to Constance overrides or built-in defaults.
|
|
7774
|
+
*/
|
|
7775
|
+
export const chatSystemPromptsDeactivate = (options) => {
|
|
7776
|
+
return (options.client ?? _heyApiClient).post({
|
|
7777
|
+
security: [
|
|
7778
|
+
{
|
|
7779
|
+
name: 'Authorization',
|
|
7780
|
+
type: 'apiKey'
|
|
7781
|
+
},
|
|
7782
|
+
{
|
|
7783
|
+
scheme: 'bearer',
|
|
7784
|
+
type: 'http'
|
|
7785
|
+
},
|
|
7786
|
+
{
|
|
7787
|
+
scheme: 'bearer',
|
|
7788
|
+
type: 'http'
|
|
7789
|
+
}
|
|
7790
|
+
],
|
|
7791
|
+
url: '/api/chat-system-prompts/{uuid}/deactivate/',
|
|
7792
|
+
...options,
|
|
7793
|
+
headers: {
|
|
7794
|
+
'Content-Type': 'application/json',
|
|
7795
|
+
...options.headers
|
|
7796
|
+
}
|
|
7797
|
+
});
|
|
7798
|
+
};
|
|
7361
7799
|
export const chatThreadsList = (options) => {
|
|
7362
7800
|
return (options?.client ?? _heyApiClient).get({
|
|
7363
7801
|
security: [
|
|
@@ -7419,11 +7857,7 @@ export const chatThreadsArchive = (options) => {
|
|
|
7419
7857
|
}
|
|
7420
7858
|
],
|
|
7421
7859
|
url: '/api/chat-threads/{uuid}/archive/',
|
|
7422
|
-
...options
|
|
7423
|
-
headers: {
|
|
7424
|
-
'Content-Type': 'application/json',
|
|
7425
|
-
...options.headers
|
|
7426
|
-
}
|
|
7860
|
+
...options
|
|
7427
7861
|
});
|
|
7428
7862
|
};
|
|
7429
7863
|
/**
|
|
@@ -7475,11 +7909,7 @@ export const chatThreadsUnarchive = (options) => {
|
|
|
7475
7909
|
}
|
|
7476
7910
|
],
|
|
7477
7911
|
url: '/api/chat-threads/{uuid}/unarchive/',
|
|
7478
|
-
...options
|
|
7479
|
-
headers: {
|
|
7480
|
-
'Content-Type': 'application/json',
|
|
7481
|
-
...options.headers
|
|
7482
|
-
}
|
|
7912
|
+
...options
|
|
7483
7913
|
});
|
|
7484
7914
|
};
|
|
7485
7915
|
/**
|
|
@@ -8894,11 +9324,7 @@ export const customerCreditsApplyCompensations = (options) => {
|
|
|
8894
9324
|
}
|
|
8895
9325
|
],
|
|
8896
9326
|
url: '/api/customer-credits/{uuid}/apply_compensations/',
|
|
8897
|
-
...options
|
|
8898
|
-
headers: {
|
|
8899
|
-
'Content-Type': 'application/json',
|
|
8900
|
-
...options.headers
|
|
8901
|
-
}
|
|
9327
|
+
...options
|
|
8902
9328
|
});
|
|
8903
9329
|
};
|
|
8904
9330
|
export const customerCreditsClearCompensations = (options) => {
|
|
@@ -8918,11 +9344,7 @@ export const customerCreditsClearCompensations = (options) => {
|
|
|
8918
9344
|
}
|
|
8919
9345
|
],
|
|
8920
9346
|
url: '/api/customer-credits/{uuid}/clear_compensations/',
|
|
8921
|
-
...options
|
|
8922
|
-
headers: {
|
|
8923
|
-
'Content-Type': 'application/json',
|
|
8924
|
-
...options.headers
|
|
8925
|
-
}
|
|
9347
|
+
...options
|
|
8926
9348
|
});
|
|
8927
9349
|
};
|
|
8928
9350
|
/**
|
|
@@ -9408,6 +9830,30 @@ export const customersAddUser = (options) => {
|
|
|
9408
9830
|
}
|
|
9409
9831
|
});
|
|
9410
9832
|
};
|
|
9833
|
+
/**
|
|
9834
|
+
* Get customer resource usage statistics broken down per offering
|
|
9835
|
+
* Returns one row per (offering, component type, billing type) for all non-terminated resources within the customer. Each row's `usage` and `limit_usage` are aggregated using the offering's own `limit_period`, so quarterly offerings report quarter-to-date, yearly report year-to-date, total report lifetime, and monthly report current month. Each row also includes the resolved current period bounds (`current_period_label`, `current_period_start`, `current_period_end`).
|
|
9836
|
+
*/
|
|
9837
|
+
export const customersComponentsUsageRetrieve = (options) => {
|
|
9838
|
+
return (options.client ?? _heyApiClient).get({
|
|
9839
|
+
security: [
|
|
9840
|
+
{
|
|
9841
|
+
name: 'Authorization',
|
|
9842
|
+
type: 'apiKey'
|
|
9843
|
+
},
|
|
9844
|
+
{
|
|
9845
|
+
scheme: 'bearer',
|
|
9846
|
+
type: 'http'
|
|
9847
|
+
},
|
|
9848
|
+
{
|
|
9849
|
+
scheme: 'bearer',
|
|
9850
|
+
type: 'http'
|
|
9851
|
+
}
|
|
9852
|
+
],
|
|
9853
|
+
url: '/api/customers/{uuid}/components-usage/',
|
|
9854
|
+
...options
|
|
9855
|
+
});
|
|
9856
|
+
};
|
|
9411
9857
|
/**
|
|
9412
9858
|
* Update customer contact details
|
|
9413
9859
|
* Update organization contact information. Requires CUSTOMER_CONTACT_UPDATE or CUSTOMER.UPDATE permission.
|
|
@@ -16250,6 +16696,81 @@ export const marketplaceCategoryHelpArticlesUpdate = (options) => {
|
|
|
16250
16696
|
}
|
|
16251
16697
|
});
|
|
16252
16698
|
};
|
|
16699
|
+
export const marketplaceChatClick = (options) => {
|
|
16700
|
+
return (options.client ?? _heyApiClient).post({
|
|
16701
|
+
security: [
|
|
16702
|
+
{
|
|
16703
|
+
name: 'Authorization',
|
|
16704
|
+
type: 'apiKey'
|
|
16705
|
+
},
|
|
16706
|
+
{
|
|
16707
|
+
scheme: 'bearer',
|
|
16708
|
+
type: 'http'
|
|
16709
|
+
},
|
|
16710
|
+
{
|
|
16711
|
+
scheme: 'bearer',
|
|
16712
|
+
type: 'http'
|
|
16713
|
+
}
|
|
16714
|
+
],
|
|
16715
|
+
url: '/api/marketplace-chat/click/',
|
|
16716
|
+
...options,
|
|
16717
|
+
headers: {
|
|
16718
|
+
'Content-Type': 'application/json',
|
|
16719
|
+
...options.headers
|
|
16720
|
+
}
|
|
16721
|
+
});
|
|
16722
|
+
};
|
|
16723
|
+
export const marketplaceChatFeedback = (options) => {
|
|
16724
|
+
return (options.client ?? _heyApiClient).post({
|
|
16725
|
+
security: [
|
|
16726
|
+
{
|
|
16727
|
+
name: 'Authorization',
|
|
16728
|
+
type: 'apiKey'
|
|
16729
|
+
},
|
|
16730
|
+
{
|
|
16731
|
+
scheme: 'bearer',
|
|
16732
|
+
type: 'http'
|
|
16733
|
+
},
|
|
16734
|
+
{
|
|
16735
|
+
scheme: 'bearer',
|
|
16736
|
+
type: 'http'
|
|
16737
|
+
}
|
|
16738
|
+
],
|
|
16739
|
+
url: '/api/marketplace-chat/feedback/',
|
|
16740
|
+
...options,
|
|
16741
|
+
headers: {
|
|
16742
|
+
'Content-Type': 'application/json',
|
|
16743
|
+
...options.headers
|
|
16744
|
+
}
|
|
16745
|
+
});
|
|
16746
|
+
};
|
|
16747
|
+
/**
|
|
16748
|
+
* Anonymous chat streaming endpoint. Returns NDJSON with one assistant content block per line. Final `m` frame carries input/output token counts.
|
|
16749
|
+
*/
|
|
16750
|
+
export const marketplaceChatStream = (options) => {
|
|
16751
|
+
return (options.client ?? _heyApiClient).post({
|
|
16752
|
+
security: [
|
|
16753
|
+
{
|
|
16754
|
+
name: 'Authorization',
|
|
16755
|
+
type: 'apiKey'
|
|
16756
|
+
},
|
|
16757
|
+
{
|
|
16758
|
+
scheme: 'bearer',
|
|
16759
|
+
type: 'http'
|
|
16760
|
+
},
|
|
16761
|
+
{
|
|
16762
|
+
scheme: 'bearer',
|
|
16763
|
+
type: 'http'
|
|
16764
|
+
}
|
|
16765
|
+
],
|
|
16766
|
+
url: '/api/marketplace-chat/stream/',
|
|
16767
|
+
...options,
|
|
16768
|
+
headers: {
|
|
16769
|
+
'Content-Type': 'application/json',
|
|
16770
|
+
...options.headers
|
|
16771
|
+
}
|
|
16772
|
+
});
|
|
16773
|
+
};
|
|
16253
16774
|
/**
|
|
16254
16775
|
* List monthly component usage summaries globally
|
|
16255
16776
|
* Returns paginated monthly component usage across all offerings and service providers. Results are automatically filtered by the user's permissions. Defaults to the current month if no time filters ('billing_period', 'start', 'end') are provided.
|
|
@@ -17981,6 +18502,209 @@ export const marketplaceOfferingPermissionsRetrieve = (options) => {
|
|
|
17981
18502
|
...options
|
|
17982
18503
|
});
|
|
17983
18504
|
};
|
|
18505
|
+
export const marketplaceOfferingProfilesList = (options) => {
|
|
18506
|
+
return (options?.client ?? _heyApiClient).get({
|
|
18507
|
+
security: [
|
|
18508
|
+
{
|
|
18509
|
+
name: 'Authorization',
|
|
18510
|
+
type: 'apiKey'
|
|
18511
|
+
},
|
|
18512
|
+
{
|
|
18513
|
+
scheme: 'bearer',
|
|
18514
|
+
type: 'http'
|
|
18515
|
+
},
|
|
18516
|
+
{
|
|
18517
|
+
scheme: 'bearer',
|
|
18518
|
+
type: 'http'
|
|
18519
|
+
}
|
|
18520
|
+
],
|
|
18521
|
+
url: '/api/marketplace-offering-profiles/',
|
|
18522
|
+
...options
|
|
18523
|
+
});
|
|
18524
|
+
};
|
|
18525
|
+
/**
|
|
18526
|
+
* Get number of items in the collection matching the request parameters.
|
|
18527
|
+
*/
|
|
18528
|
+
export const marketplaceOfferingProfilesCount = (options) => {
|
|
18529
|
+
return (options?.client ?? _heyApiClient).head({
|
|
18530
|
+
security: [
|
|
18531
|
+
{
|
|
18532
|
+
name: 'Authorization',
|
|
18533
|
+
type: 'apiKey'
|
|
18534
|
+
},
|
|
18535
|
+
{
|
|
18536
|
+
scheme: 'bearer',
|
|
18537
|
+
type: 'http'
|
|
18538
|
+
},
|
|
18539
|
+
{
|
|
18540
|
+
scheme: 'bearer',
|
|
18541
|
+
type: 'http'
|
|
18542
|
+
}
|
|
18543
|
+
],
|
|
18544
|
+
url: '/api/marketplace-offering-profiles/',
|
|
18545
|
+
...options
|
|
18546
|
+
});
|
|
18547
|
+
};
|
|
18548
|
+
export const marketplaceOfferingProfilesCreate = (options) => {
|
|
18549
|
+
return (options.client ?? _heyApiClient).post({
|
|
18550
|
+
security: [
|
|
18551
|
+
{
|
|
18552
|
+
name: 'Authorization',
|
|
18553
|
+
type: 'apiKey'
|
|
18554
|
+
},
|
|
18555
|
+
{
|
|
18556
|
+
scheme: 'bearer',
|
|
18557
|
+
type: 'http'
|
|
18558
|
+
},
|
|
18559
|
+
{
|
|
18560
|
+
scheme: 'bearer',
|
|
18561
|
+
type: 'http'
|
|
18562
|
+
}
|
|
18563
|
+
],
|
|
18564
|
+
url: '/api/marketplace-offering-profiles/',
|
|
18565
|
+
...options,
|
|
18566
|
+
headers: {
|
|
18567
|
+
'Content-Type': 'application/json',
|
|
18568
|
+
...options.headers
|
|
18569
|
+
}
|
|
18570
|
+
});
|
|
18571
|
+
};
|
|
18572
|
+
export const marketplaceOfferingProfilesDestroy = (options) => {
|
|
18573
|
+
return (options.client ?? _heyApiClient).delete({
|
|
18574
|
+
security: [
|
|
18575
|
+
{
|
|
18576
|
+
name: 'Authorization',
|
|
18577
|
+
type: 'apiKey'
|
|
18578
|
+
},
|
|
18579
|
+
{
|
|
18580
|
+
scheme: 'bearer',
|
|
18581
|
+
type: 'http'
|
|
18582
|
+
},
|
|
18583
|
+
{
|
|
18584
|
+
scheme: 'bearer',
|
|
18585
|
+
type: 'http'
|
|
18586
|
+
}
|
|
18587
|
+
],
|
|
18588
|
+
url: '/api/marketplace-offering-profiles/{uuid}/',
|
|
18589
|
+
...options
|
|
18590
|
+
});
|
|
18591
|
+
};
|
|
18592
|
+
export const marketplaceOfferingProfilesRetrieve = (options) => {
|
|
18593
|
+
return (options.client ?? _heyApiClient).get({
|
|
18594
|
+
security: [
|
|
18595
|
+
{
|
|
18596
|
+
name: 'Authorization',
|
|
18597
|
+
type: 'apiKey'
|
|
18598
|
+
},
|
|
18599
|
+
{
|
|
18600
|
+
scheme: 'bearer',
|
|
18601
|
+
type: 'http'
|
|
18602
|
+
},
|
|
18603
|
+
{
|
|
18604
|
+
scheme: 'bearer',
|
|
18605
|
+
type: 'http'
|
|
18606
|
+
}
|
|
18607
|
+
],
|
|
18608
|
+
url: '/api/marketplace-offering-profiles/{uuid}/',
|
|
18609
|
+
...options
|
|
18610
|
+
});
|
|
18611
|
+
};
|
|
18612
|
+
export const marketplaceOfferingProfilesPartialUpdate = (options) => {
|
|
18613
|
+
return (options.client ?? _heyApiClient).patch({
|
|
18614
|
+
security: [
|
|
18615
|
+
{
|
|
18616
|
+
name: 'Authorization',
|
|
18617
|
+
type: 'apiKey'
|
|
18618
|
+
},
|
|
18619
|
+
{
|
|
18620
|
+
scheme: 'bearer',
|
|
18621
|
+
type: 'http'
|
|
18622
|
+
},
|
|
18623
|
+
{
|
|
18624
|
+
scheme: 'bearer',
|
|
18625
|
+
type: 'http'
|
|
18626
|
+
}
|
|
18627
|
+
],
|
|
18628
|
+
url: '/api/marketplace-offering-profiles/{uuid}/',
|
|
18629
|
+
...options,
|
|
18630
|
+
headers: {
|
|
18631
|
+
'Content-Type': 'application/json',
|
|
18632
|
+
...options.headers
|
|
18633
|
+
}
|
|
18634
|
+
});
|
|
18635
|
+
};
|
|
18636
|
+
export const marketplaceOfferingProfilesUpdate = (options) => {
|
|
18637
|
+
return (options.client ?? _heyApiClient).put({
|
|
18638
|
+
security: [
|
|
18639
|
+
{
|
|
18640
|
+
name: 'Authorization',
|
|
18641
|
+
type: 'apiKey'
|
|
18642
|
+
},
|
|
18643
|
+
{
|
|
18644
|
+
scheme: 'bearer',
|
|
18645
|
+
type: 'http'
|
|
18646
|
+
},
|
|
18647
|
+
{
|
|
18648
|
+
scheme: 'bearer',
|
|
18649
|
+
type: 'http'
|
|
18650
|
+
}
|
|
18651
|
+
],
|
|
18652
|
+
url: '/api/marketplace-offering-profiles/{uuid}/',
|
|
18653
|
+
...options,
|
|
18654
|
+
headers: {
|
|
18655
|
+
'Content-Type': 'application/json',
|
|
18656
|
+
...options.headers
|
|
18657
|
+
}
|
|
18658
|
+
});
|
|
18659
|
+
};
|
|
18660
|
+
export const marketplaceOfferingProfilesAddRole = (options) => {
|
|
18661
|
+
return (options.client ?? _heyApiClient).post({
|
|
18662
|
+
security: [
|
|
18663
|
+
{
|
|
18664
|
+
name: 'Authorization',
|
|
18665
|
+
type: 'apiKey'
|
|
18666
|
+
},
|
|
18667
|
+
{
|
|
18668
|
+
scheme: 'bearer',
|
|
18669
|
+
type: 'http'
|
|
18670
|
+
},
|
|
18671
|
+
{
|
|
18672
|
+
scheme: 'bearer',
|
|
18673
|
+
type: 'http'
|
|
18674
|
+
}
|
|
18675
|
+
],
|
|
18676
|
+
url: '/api/marketplace-offering-profiles/{uuid}/add_role/',
|
|
18677
|
+
...options,
|
|
18678
|
+
headers: {
|
|
18679
|
+
'Content-Type': 'application/json',
|
|
18680
|
+
...options.headers
|
|
18681
|
+
}
|
|
18682
|
+
});
|
|
18683
|
+
};
|
|
18684
|
+
export const marketplaceOfferingProfilesRemoveRole = (options) => {
|
|
18685
|
+
return (options.client ?? _heyApiClient).post({
|
|
18686
|
+
security: [
|
|
18687
|
+
{
|
|
18688
|
+
name: 'Authorization',
|
|
18689
|
+
type: 'apiKey'
|
|
18690
|
+
},
|
|
18691
|
+
{
|
|
18692
|
+
scheme: 'bearer',
|
|
18693
|
+
type: 'http'
|
|
18694
|
+
},
|
|
18695
|
+
{
|
|
18696
|
+
scheme: 'bearer',
|
|
18697
|
+
type: 'http'
|
|
18698
|
+
}
|
|
18699
|
+
],
|
|
18700
|
+
url: '/api/marketplace-offering-profiles/{uuid}/remove_role/',
|
|
18701
|
+
...options,
|
|
18702
|
+
headers: {
|
|
18703
|
+
'Content-Type': 'application/json',
|
|
18704
|
+
...options.headers
|
|
18705
|
+
}
|
|
18706
|
+
});
|
|
18707
|
+
};
|
|
17984
18708
|
/**
|
|
17985
18709
|
* List Datacite referrals for offerings
|
|
17986
18710
|
* Returns a paginated list of Datacite referrals associated with marketplace offerings. Referrals represent relationships between an offering (identified by a DOI) and other research outputs, such as publications or datasets. The list must be filtered by the offering's scope.
|
|
@@ -18053,11 +18777,7 @@ export const marketplaceOfferingReferralsRetrieve = (options) => {
|
|
|
18053
18777
|
...options
|
|
18054
18778
|
});
|
|
18055
18779
|
};
|
|
18056
|
-
|
|
18057
|
-
* List Terms of Service configurations
|
|
18058
|
-
* Returns a paginated list of Terms of Service configurations for offerings. Visibility depends on user permissions: staff/support see all; service providers see their own; regular users see ToS for offerings they have consented to or shared offerings.
|
|
18059
|
-
*/
|
|
18060
|
-
export const marketplaceOfferingTermsOfServiceList = (options) => {
|
|
18780
|
+
export const marketplaceOfferingRolesList = (options) => {
|
|
18061
18781
|
return (options?.client ?? _heyApiClient).get({
|
|
18062
18782
|
security: [
|
|
18063
18783
|
{
|
|
@@ -18073,15 +18793,14 @@ export const marketplaceOfferingTermsOfServiceList = (options) => {
|
|
|
18073
18793
|
type: 'http'
|
|
18074
18794
|
}
|
|
18075
18795
|
],
|
|
18076
|
-
url: '/api/marketplace-offering-
|
|
18796
|
+
url: '/api/marketplace-offering-roles/',
|
|
18077
18797
|
...options
|
|
18078
18798
|
});
|
|
18079
18799
|
};
|
|
18080
18800
|
/**
|
|
18081
|
-
* List Terms of Service configurations
|
|
18082
18801
|
* Get number of items in the collection matching the request parameters.
|
|
18083
18802
|
*/
|
|
18084
|
-
export const
|
|
18803
|
+
export const marketplaceOfferingRolesCount = (options) => {
|
|
18085
18804
|
return (options?.client ?? _heyApiClient).head({
|
|
18086
18805
|
security: [
|
|
18087
18806
|
{
|
|
@@ -18097,15 +18816,11 @@ export const marketplaceOfferingTermsOfServiceCount = (options) => {
|
|
|
18097
18816
|
type: 'http'
|
|
18098
18817
|
}
|
|
18099
18818
|
],
|
|
18100
|
-
url: '/api/marketplace-offering-
|
|
18819
|
+
url: '/api/marketplace-offering-roles/',
|
|
18101
18820
|
...options
|
|
18102
18821
|
});
|
|
18103
18822
|
};
|
|
18104
|
-
|
|
18105
|
-
* Create a Terms of Service configuration
|
|
18106
|
-
* Creates a new Terms of Service configuration for an offering. Only one active ToS configuration is allowed per offering.
|
|
18107
|
-
*/
|
|
18108
|
-
export const marketplaceOfferingTermsOfServiceCreate = (options) => {
|
|
18823
|
+
export const marketplaceOfferingRolesCreate = (options) => {
|
|
18109
18824
|
return (options.client ?? _heyApiClient).post({
|
|
18110
18825
|
security: [
|
|
18111
18826
|
{
|
|
@@ -18121,7 +18836,7 @@ export const marketplaceOfferingTermsOfServiceCreate = (options) => {
|
|
|
18121
18836
|
type: 'http'
|
|
18122
18837
|
}
|
|
18123
18838
|
],
|
|
18124
|
-
url: '/api/marketplace-offering-
|
|
18839
|
+
url: '/api/marketplace-offering-roles/',
|
|
18125
18840
|
...options,
|
|
18126
18841
|
headers: {
|
|
18127
18842
|
'Content-Type': 'application/json',
|
|
@@ -18129,11 +18844,7 @@ export const marketplaceOfferingTermsOfServiceCreate = (options) => {
|
|
|
18129
18844
|
}
|
|
18130
18845
|
});
|
|
18131
18846
|
};
|
|
18132
|
-
|
|
18133
|
-
* Delete a Terms of Service configuration
|
|
18134
|
-
* Deletes a Terms of Service configuration. This is a hard delete and should be used with caution.
|
|
18135
|
-
*/
|
|
18136
|
-
export const marketplaceOfferingTermsOfServiceDestroy = (options) => {
|
|
18847
|
+
export const marketplaceOfferingRolesDestroy = (options) => {
|
|
18137
18848
|
return (options.client ?? _heyApiClient).delete({
|
|
18138
18849
|
security: [
|
|
18139
18850
|
{
|
|
@@ -18149,15 +18860,11 @@ export const marketplaceOfferingTermsOfServiceDestroy = (options) => {
|
|
|
18149
18860
|
type: 'http'
|
|
18150
18861
|
}
|
|
18151
18862
|
],
|
|
18152
|
-
url: '/api/marketplace-offering-
|
|
18863
|
+
url: '/api/marketplace-offering-roles/{uuid}/',
|
|
18153
18864
|
...options
|
|
18154
18865
|
});
|
|
18155
18866
|
};
|
|
18156
|
-
|
|
18157
|
-
* Retrieve a Terms of Service configuration
|
|
18158
|
-
* Returns the details of a specific Terms of Service configuration.
|
|
18159
|
-
*/
|
|
18160
|
-
export const marketplaceOfferingTermsOfServiceRetrieve = (options) => {
|
|
18867
|
+
export const marketplaceOfferingRolesRetrieve = (options) => {
|
|
18161
18868
|
return (options.client ?? _heyApiClient).get({
|
|
18162
18869
|
security: [
|
|
18163
18870
|
{
|
|
@@ -18173,15 +18880,11 @@ export const marketplaceOfferingTermsOfServiceRetrieve = (options) => {
|
|
|
18173
18880
|
type: 'http'
|
|
18174
18881
|
}
|
|
18175
18882
|
],
|
|
18176
|
-
url: '/api/marketplace-offering-
|
|
18883
|
+
url: '/api/marketplace-offering-roles/{uuid}/',
|
|
18177
18884
|
...options
|
|
18178
18885
|
});
|
|
18179
18886
|
};
|
|
18180
|
-
|
|
18181
|
-
* Partially update a Terms of Service configuration
|
|
18182
|
-
* Partially updates an existing Terms of Service configuration.
|
|
18183
|
-
*/
|
|
18184
|
-
export const marketplaceOfferingTermsOfServicePartialUpdate = (options) => {
|
|
18887
|
+
export const marketplaceOfferingRolesPartialUpdate = (options) => {
|
|
18185
18888
|
return (options.client ?? _heyApiClient).patch({
|
|
18186
18889
|
security: [
|
|
18187
18890
|
{
|
|
@@ -18197,7 +18900,7 @@ export const marketplaceOfferingTermsOfServicePartialUpdate = (options) => {
|
|
|
18197
18900
|
type: 'http'
|
|
18198
18901
|
}
|
|
18199
18902
|
],
|
|
18200
|
-
url: '/api/marketplace-offering-
|
|
18903
|
+
url: '/api/marketplace-offering-roles/{uuid}/',
|
|
18201
18904
|
...options,
|
|
18202
18905
|
headers: {
|
|
18203
18906
|
'Content-Type': 'application/json',
|
|
@@ -18205,11 +18908,7 @@ export const marketplaceOfferingTermsOfServicePartialUpdate = (options) => {
|
|
|
18205
18908
|
}
|
|
18206
18909
|
});
|
|
18207
18910
|
};
|
|
18208
|
-
|
|
18209
|
-
* Update a Terms of Service configuration
|
|
18210
|
-
* Updates an existing Terms of Service configuration. Note that some fields like `version` and `requires_reconsent` are protected and cannot be changed after creation.
|
|
18211
|
-
*/
|
|
18212
|
-
export const marketplaceOfferingTermsOfServiceUpdate = (options) => {
|
|
18911
|
+
export const marketplaceOfferingRolesUpdate = (options) => {
|
|
18213
18912
|
return (options.client ?? _heyApiClient).put({
|
|
18214
18913
|
security: [
|
|
18215
18914
|
{
|
|
@@ -18225,7 +18924,7 @@ export const marketplaceOfferingTermsOfServiceUpdate = (options) => {
|
|
|
18225
18924
|
type: 'http'
|
|
18226
18925
|
}
|
|
18227
18926
|
],
|
|
18228
|
-
url: '/api/marketplace-offering-
|
|
18927
|
+
url: '/api/marketplace-offering-roles/{uuid}/',
|
|
18229
18928
|
...options,
|
|
18230
18929
|
headers: {
|
|
18231
18930
|
'Content-Type': 'application/json',
|
|
@@ -18233,7 +18932,11 @@ export const marketplaceOfferingTermsOfServiceUpdate = (options) => {
|
|
|
18233
18932
|
}
|
|
18234
18933
|
});
|
|
18235
18934
|
};
|
|
18236
|
-
|
|
18935
|
+
/**
|
|
18936
|
+
* List Terms of Service configurations
|
|
18937
|
+
* Returns a paginated list of Terms of Service configurations for offerings. Visibility depends on user permissions: staff/support see all; service providers see their own; regular users see ToS for offerings they have consented to or shared offerings.
|
|
18938
|
+
*/
|
|
18939
|
+
export const marketplaceOfferingTermsOfServiceList = (options) => {
|
|
18237
18940
|
return (options?.client ?? _heyApiClient).get({
|
|
18238
18941
|
security: [
|
|
18239
18942
|
{
|
|
@@ -18249,14 +18952,15 @@ export const marketplaceOfferingUsagePoliciesList = (options) => {
|
|
|
18249
18952
|
type: 'http'
|
|
18250
18953
|
}
|
|
18251
18954
|
],
|
|
18252
|
-
url: '/api/marketplace-offering-
|
|
18955
|
+
url: '/api/marketplace-offering-terms-of-service/',
|
|
18253
18956
|
...options
|
|
18254
18957
|
});
|
|
18255
18958
|
};
|
|
18256
18959
|
/**
|
|
18960
|
+
* List Terms of Service configurations
|
|
18257
18961
|
* Get number of items in the collection matching the request parameters.
|
|
18258
18962
|
*/
|
|
18259
|
-
export const
|
|
18963
|
+
export const marketplaceOfferingTermsOfServiceCount = (options) => {
|
|
18260
18964
|
return (options?.client ?? _heyApiClient).head({
|
|
18261
18965
|
security: [
|
|
18262
18966
|
{
|
|
@@ -18272,11 +18976,15 @@ export const marketplaceOfferingUsagePoliciesCount = (options) => {
|
|
|
18272
18976
|
type: 'http'
|
|
18273
18977
|
}
|
|
18274
18978
|
],
|
|
18275
|
-
url: '/api/marketplace-offering-
|
|
18979
|
+
url: '/api/marketplace-offering-terms-of-service/',
|
|
18276
18980
|
...options
|
|
18277
18981
|
});
|
|
18278
18982
|
};
|
|
18279
|
-
|
|
18983
|
+
/**
|
|
18984
|
+
* Create a Terms of Service configuration
|
|
18985
|
+
* Creates a new Terms of Service configuration for an offering. Only one active ToS configuration is allowed per offering.
|
|
18986
|
+
*/
|
|
18987
|
+
export const marketplaceOfferingTermsOfServiceCreate = (options) => {
|
|
18280
18988
|
return (options.client ?? _heyApiClient).post({
|
|
18281
18989
|
security: [
|
|
18282
18990
|
{
|
|
@@ -18292,7 +19000,7 @@ export const marketplaceOfferingUsagePoliciesCreate = (options) => {
|
|
|
18292
19000
|
type: 'http'
|
|
18293
19001
|
}
|
|
18294
19002
|
],
|
|
18295
|
-
url: '/api/marketplace-offering-
|
|
19003
|
+
url: '/api/marketplace-offering-terms-of-service/',
|
|
18296
19004
|
...options,
|
|
18297
19005
|
headers: {
|
|
18298
19006
|
'Content-Type': 'application/json',
|
|
@@ -18300,7 +19008,11 @@ export const marketplaceOfferingUsagePoliciesCreate = (options) => {
|
|
|
18300
19008
|
}
|
|
18301
19009
|
});
|
|
18302
19010
|
};
|
|
18303
|
-
|
|
19011
|
+
/**
|
|
19012
|
+
* Delete a Terms of Service configuration
|
|
19013
|
+
* Deletes a Terms of Service configuration. This is a hard delete and should be used with caution.
|
|
19014
|
+
*/
|
|
19015
|
+
export const marketplaceOfferingTermsOfServiceDestroy = (options) => {
|
|
18304
19016
|
return (options.client ?? _heyApiClient).delete({
|
|
18305
19017
|
security: [
|
|
18306
19018
|
{
|
|
@@ -18316,11 +19028,15 @@ export const marketplaceOfferingUsagePoliciesDestroy = (options) => {
|
|
|
18316
19028
|
type: 'http'
|
|
18317
19029
|
}
|
|
18318
19030
|
],
|
|
18319
|
-
url: '/api/marketplace-offering-
|
|
19031
|
+
url: '/api/marketplace-offering-terms-of-service/{uuid}/',
|
|
18320
19032
|
...options
|
|
18321
19033
|
});
|
|
18322
19034
|
};
|
|
18323
|
-
|
|
19035
|
+
/**
|
|
19036
|
+
* Retrieve a Terms of Service configuration
|
|
19037
|
+
* Returns the details of a specific Terms of Service configuration.
|
|
19038
|
+
*/
|
|
19039
|
+
export const marketplaceOfferingTermsOfServiceRetrieve = (options) => {
|
|
18324
19040
|
return (options.client ?? _heyApiClient).get({
|
|
18325
19041
|
security: [
|
|
18326
19042
|
{
|
|
@@ -18336,11 +19052,15 @@ export const marketplaceOfferingUsagePoliciesRetrieve = (options) => {
|
|
|
18336
19052
|
type: 'http'
|
|
18337
19053
|
}
|
|
18338
19054
|
],
|
|
18339
|
-
url: '/api/marketplace-offering-
|
|
19055
|
+
url: '/api/marketplace-offering-terms-of-service/{uuid}/',
|
|
18340
19056
|
...options
|
|
18341
19057
|
});
|
|
18342
19058
|
};
|
|
18343
|
-
|
|
19059
|
+
/**
|
|
19060
|
+
* Partially update a Terms of Service configuration
|
|
19061
|
+
* Partially updates an existing Terms of Service configuration.
|
|
19062
|
+
*/
|
|
19063
|
+
export const marketplaceOfferingTermsOfServicePartialUpdate = (options) => {
|
|
18344
19064
|
return (options.client ?? _heyApiClient).patch({
|
|
18345
19065
|
security: [
|
|
18346
19066
|
{
|
|
@@ -18356,7 +19076,7 @@ export const marketplaceOfferingUsagePoliciesPartialUpdate = (options) => {
|
|
|
18356
19076
|
type: 'http'
|
|
18357
19077
|
}
|
|
18358
19078
|
],
|
|
18359
|
-
url: '/api/marketplace-offering-
|
|
19079
|
+
url: '/api/marketplace-offering-terms-of-service/{uuid}/',
|
|
18360
19080
|
...options,
|
|
18361
19081
|
headers: {
|
|
18362
19082
|
'Content-Type': 'application/json',
|
|
@@ -18364,7 +19084,11 @@ export const marketplaceOfferingUsagePoliciesPartialUpdate = (options) => {
|
|
|
18364
19084
|
}
|
|
18365
19085
|
});
|
|
18366
19086
|
};
|
|
18367
|
-
|
|
19087
|
+
/**
|
|
19088
|
+
* Update a Terms of Service configuration
|
|
19089
|
+
* Updates an existing Terms of Service configuration. Note that some fields like `version` and `requires_reconsent` are protected and cannot be changed after creation.
|
|
19090
|
+
*/
|
|
19091
|
+
export const marketplaceOfferingTermsOfServiceUpdate = (options) => {
|
|
18368
19092
|
return (options.client ?? _heyApiClient).put({
|
|
18369
19093
|
security: [
|
|
18370
19094
|
{
|
|
@@ -18380,7 +19104,7 @@ export const marketplaceOfferingUsagePoliciesUpdate = (options) => {
|
|
|
18380
19104
|
type: 'http'
|
|
18381
19105
|
}
|
|
18382
19106
|
],
|
|
18383
|
-
url: '/api/marketplace-offering-
|
|
19107
|
+
url: '/api/marketplace-offering-terms-of-service/{uuid}/',
|
|
18384
19108
|
...options,
|
|
18385
19109
|
headers: {
|
|
18386
19110
|
'Content-Type': 'application/json',
|
|
@@ -18388,7 +19112,7 @@ export const marketplaceOfferingUsagePoliciesUpdate = (options) => {
|
|
|
18388
19112
|
}
|
|
18389
19113
|
});
|
|
18390
19114
|
};
|
|
18391
|
-
export const
|
|
19115
|
+
export const marketplaceOfferingUsagePoliciesList = (options) => {
|
|
18392
19116
|
return (options?.client ?? _heyApiClient).get({
|
|
18393
19117
|
security: [
|
|
18394
19118
|
{
|
|
@@ -18404,14 +19128,14 @@ export const marketplaceOfferingUsagePoliciesActionsRetrieve = (options) => {
|
|
|
18404
19128
|
type: 'http'
|
|
18405
19129
|
}
|
|
18406
19130
|
],
|
|
18407
|
-
url: '/api/marketplace-offering-usage-policies/
|
|
19131
|
+
url: '/api/marketplace-offering-usage-policies/',
|
|
18408
19132
|
...options
|
|
18409
19133
|
});
|
|
18410
19134
|
};
|
|
18411
19135
|
/**
|
|
18412
19136
|
* Get number of items in the collection matching the request parameters.
|
|
18413
19137
|
*/
|
|
18414
|
-
export const
|
|
19138
|
+
export const marketplaceOfferingUsagePoliciesCount = (options) => {
|
|
18415
19139
|
return (options?.client ?? _heyApiClient).head({
|
|
18416
19140
|
security: [
|
|
18417
19141
|
{
|
|
@@ -18427,20 +19151,12 @@ export const marketplaceOfferingUsagePoliciesActionsCount = (options) => {
|
|
|
18427
19151
|
type: 'http'
|
|
18428
19152
|
}
|
|
18429
19153
|
],
|
|
18430
|
-
url: '/api/marketplace-offering-usage-policies/
|
|
19154
|
+
url: '/api/marketplace-offering-usage-policies/',
|
|
18431
19155
|
...options
|
|
18432
19156
|
});
|
|
18433
19157
|
};
|
|
18434
|
-
|
|
18435
|
-
|
|
18436
|
-
*
|
|
18437
|
-
* Returns a paginated list of all checklist completions for offering users that the current user is allowed to see.
|
|
18438
|
-
* This endpoint is used by service providers to monitor compliance status and by users to see their own required checklists.
|
|
18439
|
-
* Visibility follows the same rules as the `OfferingUsers` endpoint.
|
|
18440
|
-
*
|
|
18441
|
-
*/
|
|
18442
|
-
export const marketplaceOfferingUserChecklistCompletionsList = (options) => {
|
|
18443
|
-
return (options?.client ?? _heyApiClient).get({
|
|
19158
|
+
export const marketplaceOfferingUsagePoliciesCreate = (options) => {
|
|
19159
|
+
return (options.client ?? _heyApiClient).post({
|
|
18444
19160
|
security: [
|
|
18445
19161
|
{
|
|
18446
19162
|
name: 'Authorization',
|
|
@@ -18455,16 +19171,16 @@ export const marketplaceOfferingUserChecklistCompletionsList = (options) => {
|
|
|
18455
19171
|
type: 'http'
|
|
18456
19172
|
}
|
|
18457
19173
|
],
|
|
18458
|
-
url: '/api/marketplace-offering-
|
|
18459
|
-
...options
|
|
19174
|
+
url: '/api/marketplace-offering-usage-policies/',
|
|
19175
|
+
...options,
|
|
19176
|
+
headers: {
|
|
19177
|
+
'Content-Type': 'application/json',
|
|
19178
|
+
...options.headers
|
|
19179
|
+
}
|
|
18460
19180
|
});
|
|
18461
19181
|
};
|
|
18462
|
-
|
|
18463
|
-
|
|
18464
|
-
* Get number of items in the collection matching the request parameters.
|
|
18465
|
-
*/
|
|
18466
|
-
export const marketplaceOfferingUserChecklistCompletionsCount = (options) => {
|
|
18467
|
-
return (options?.client ?? _heyApiClient).head({
|
|
19182
|
+
export const marketplaceOfferingUsagePoliciesDestroy = (options) => {
|
|
19183
|
+
return (options.client ?? _heyApiClient).delete({
|
|
18468
19184
|
security: [
|
|
18469
19185
|
{
|
|
18470
19186
|
name: 'Authorization',
|
|
@@ -18479,15 +19195,11 @@ export const marketplaceOfferingUserChecklistCompletionsCount = (options) => {
|
|
|
18479
19195
|
type: 'http'
|
|
18480
19196
|
}
|
|
18481
19197
|
],
|
|
18482
|
-
url: '/api/marketplace-offering-
|
|
19198
|
+
url: '/api/marketplace-offering-usage-policies/{uuid}/',
|
|
18483
19199
|
...options
|
|
18484
19200
|
});
|
|
18485
19201
|
};
|
|
18486
|
-
|
|
18487
|
-
* Retrieve a checklist completion
|
|
18488
|
-
* Returns the details of a specific checklist completion for an offering user.
|
|
18489
|
-
*/
|
|
18490
|
-
export const marketplaceOfferingUserChecklistCompletionsRetrieve = (options) => {
|
|
19202
|
+
export const marketplaceOfferingUsagePoliciesRetrieve = (options) => {
|
|
18491
19203
|
return (options.client ?? _heyApiClient).get({
|
|
18492
19204
|
security: [
|
|
18493
19205
|
{
|
|
@@ -18503,12 +19215,12 @@ export const marketplaceOfferingUserChecklistCompletionsRetrieve = (options) =>
|
|
|
18503
19215
|
type: 'http'
|
|
18504
19216
|
}
|
|
18505
19217
|
],
|
|
18506
|
-
url: '/api/marketplace-offering-
|
|
19218
|
+
url: '/api/marketplace-offering-usage-policies/{uuid}/',
|
|
18507
19219
|
...options
|
|
18508
19220
|
});
|
|
18509
19221
|
};
|
|
18510
|
-
export const
|
|
18511
|
-
return (options
|
|
19222
|
+
export const marketplaceOfferingUsagePoliciesPartialUpdate = (options) => {
|
|
19223
|
+
return (options.client ?? _heyApiClient).patch({
|
|
18512
19224
|
security: [
|
|
18513
19225
|
{
|
|
18514
19226
|
name: 'Authorization',
|
|
@@ -18523,15 +19235,16 @@ export const marketplaceOfferingUserRolesList = (options) => {
|
|
|
18523
19235
|
type: 'http'
|
|
18524
19236
|
}
|
|
18525
19237
|
],
|
|
18526
|
-
url: '/api/marketplace-offering-
|
|
18527
|
-
...options
|
|
19238
|
+
url: '/api/marketplace-offering-usage-policies/{uuid}/',
|
|
19239
|
+
...options,
|
|
19240
|
+
headers: {
|
|
19241
|
+
'Content-Type': 'application/json',
|
|
19242
|
+
...options.headers
|
|
19243
|
+
}
|
|
18528
19244
|
});
|
|
18529
19245
|
};
|
|
18530
|
-
|
|
18531
|
-
|
|
18532
|
-
*/
|
|
18533
|
-
export const marketplaceOfferingUserRolesCount = (options) => {
|
|
18534
|
-
return (options?.client ?? _heyApiClient).head({
|
|
19246
|
+
export const marketplaceOfferingUsagePoliciesUpdate = (options) => {
|
|
19247
|
+
return (options.client ?? _heyApiClient).put({
|
|
18535
19248
|
security: [
|
|
18536
19249
|
{
|
|
18537
19250
|
name: 'Authorization',
|
|
@@ -18546,12 +19259,16 @@ export const marketplaceOfferingUserRolesCount = (options) => {
|
|
|
18546
19259
|
type: 'http'
|
|
18547
19260
|
}
|
|
18548
19261
|
],
|
|
18549
|
-
url: '/api/marketplace-offering-
|
|
18550
|
-
...options
|
|
19262
|
+
url: '/api/marketplace-offering-usage-policies/{uuid}/',
|
|
19263
|
+
...options,
|
|
19264
|
+
headers: {
|
|
19265
|
+
'Content-Type': 'application/json',
|
|
19266
|
+
...options.headers
|
|
19267
|
+
}
|
|
18551
19268
|
});
|
|
18552
19269
|
};
|
|
18553
|
-
export const
|
|
18554
|
-
return (options
|
|
19270
|
+
export const marketplaceOfferingUsagePoliciesActionsRetrieve = (options) => {
|
|
19271
|
+
return (options?.client ?? _heyApiClient).get({
|
|
18555
19272
|
security: [
|
|
18556
19273
|
{
|
|
18557
19274
|
name: 'Authorization',
|
|
@@ -18566,16 +19283,15 @@ export const marketplaceOfferingUserRolesCreate = (options) => {
|
|
|
18566
19283
|
type: 'http'
|
|
18567
19284
|
}
|
|
18568
19285
|
],
|
|
18569
|
-
url: '/api/marketplace-offering-
|
|
18570
|
-
...options
|
|
18571
|
-
headers: {
|
|
18572
|
-
'Content-Type': 'application/json',
|
|
18573
|
-
...options.headers
|
|
18574
|
-
}
|
|
19286
|
+
url: '/api/marketplace-offering-usage-policies/actions/',
|
|
19287
|
+
...options
|
|
18575
19288
|
});
|
|
18576
19289
|
};
|
|
18577
|
-
|
|
18578
|
-
|
|
19290
|
+
/**
|
|
19291
|
+
* Get number of items in the collection matching the request parameters.
|
|
19292
|
+
*/
|
|
19293
|
+
export const marketplaceOfferingUsagePoliciesActionsCount = (options) => {
|
|
19294
|
+
return (options?.client ?? _heyApiClient).head({
|
|
18579
19295
|
security: [
|
|
18580
19296
|
{
|
|
18581
19297
|
name: 'Authorization',
|
|
@@ -18590,12 +19306,20 @@ export const marketplaceOfferingUserRolesDestroy = (options) => {
|
|
|
18590
19306
|
type: 'http'
|
|
18591
19307
|
}
|
|
18592
19308
|
],
|
|
18593
|
-
url: '/api/marketplace-offering-
|
|
19309
|
+
url: '/api/marketplace-offering-usage-policies/actions/',
|
|
18594
19310
|
...options
|
|
18595
19311
|
});
|
|
18596
19312
|
};
|
|
18597
|
-
|
|
18598
|
-
|
|
19313
|
+
/**
|
|
19314
|
+
* List checklist completions for offering users
|
|
19315
|
+
*
|
|
19316
|
+
* Returns a paginated list of all checklist completions for offering users that the current user is allowed to see.
|
|
19317
|
+
* This endpoint is used by service providers to monitor compliance status and by users to see their own required checklists.
|
|
19318
|
+
* Visibility follows the same rules as the `OfferingUsers` endpoint.
|
|
19319
|
+
*
|
|
19320
|
+
*/
|
|
19321
|
+
export const marketplaceOfferingUserChecklistCompletionsList = (options) => {
|
|
19322
|
+
return (options?.client ?? _heyApiClient).get({
|
|
18599
19323
|
security: [
|
|
18600
19324
|
{
|
|
18601
19325
|
name: 'Authorization',
|
|
@@ -18610,12 +19334,16 @@ export const marketplaceOfferingUserRolesRetrieve = (options) => {
|
|
|
18610
19334
|
type: 'http'
|
|
18611
19335
|
}
|
|
18612
19336
|
],
|
|
18613
|
-
url: '/api/marketplace-offering-user-
|
|
19337
|
+
url: '/api/marketplace-offering-user-checklist-completions/',
|
|
18614
19338
|
...options
|
|
18615
19339
|
});
|
|
18616
19340
|
};
|
|
18617
|
-
|
|
18618
|
-
|
|
19341
|
+
/**
|
|
19342
|
+
* List checklist completions for offering users
|
|
19343
|
+
* Get number of items in the collection matching the request parameters.
|
|
19344
|
+
*/
|
|
19345
|
+
export const marketplaceOfferingUserChecklistCompletionsCount = (options) => {
|
|
19346
|
+
return (options?.client ?? _heyApiClient).head({
|
|
18619
19347
|
security: [
|
|
18620
19348
|
{
|
|
18621
19349
|
name: 'Authorization',
|
|
@@ -18630,16 +19358,16 @@ export const marketplaceOfferingUserRolesPartialUpdate = (options) => {
|
|
|
18630
19358
|
type: 'http'
|
|
18631
19359
|
}
|
|
18632
19360
|
],
|
|
18633
|
-
url: '/api/marketplace-offering-user-
|
|
18634
|
-
...options
|
|
18635
|
-
headers: {
|
|
18636
|
-
'Content-Type': 'application/json',
|
|
18637
|
-
...options.headers
|
|
18638
|
-
}
|
|
19361
|
+
url: '/api/marketplace-offering-user-checklist-completions/',
|
|
19362
|
+
...options
|
|
18639
19363
|
});
|
|
18640
19364
|
};
|
|
18641
|
-
|
|
18642
|
-
|
|
19365
|
+
/**
|
|
19366
|
+
* Retrieve a checklist completion
|
|
19367
|
+
* Returns the details of a specific checklist completion for an offering user.
|
|
19368
|
+
*/
|
|
19369
|
+
export const marketplaceOfferingUserChecklistCompletionsRetrieve = (options) => {
|
|
19370
|
+
return (options.client ?? _heyApiClient).get({
|
|
18643
19371
|
security: [
|
|
18644
19372
|
{
|
|
18645
19373
|
name: 'Authorization',
|
|
@@ -18654,12 +19382,8 @@ export const marketplaceOfferingUserRolesUpdate = (options) => {
|
|
|
18654
19382
|
type: 'http'
|
|
18655
19383
|
}
|
|
18656
19384
|
],
|
|
18657
|
-
url: '/api/marketplace-offering-user-
|
|
18658
|
-
...options
|
|
18659
|
-
headers: {
|
|
18660
|
-
'Content-Type': 'application/json',
|
|
18661
|
-
...options.headers
|
|
18662
|
-
}
|
|
19385
|
+
url: '/api/marketplace-offering-user-checklist-completions/{id}/',
|
|
19386
|
+
...options
|
|
18663
19387
|
});
|
|
18664
19388
|
};
|
|
18665
19389
|
/**
|
|
@@ -22226,6 +22950,34 @@ export const marketplaceProviderOfferingsSetBackendMetadata = (options) => {
|
|
|
22226
22950
|
}
|
|
22227
22951
|
});
|
|
22228
22952
|
};
|
|
22953
|
+
/**
|
|
22954
|
+
* Bind / unbind offering to a service profile
|
|
22955
|
+
* Sets the offering's `profile` FK. Pass `profile: <uuid>` to bind, or `profile: null` to unbind. Requires UPDATE_OFFERING permission on the offering's customer (service-provider owners and staff). Triggers async reconciliation of RoleAvailability rows on this offering against the profile's role catalog (or wipes them on unbind).
|
|
22956
|
+
*/
|
|
22957
|
+
export const marketplaceProviderOfferingsSetProfile = (options) => {
|
|
22958
|
+
return (options.client ?? _heyApiClient).post({
|
|
22959
|
+
security: [
|
|
22960
|
+
{
|
|
22961
|
+
name: 'Authorization',
|
|
22962
|
+
type: 'apiKey'
|
|
22963
|
+
},
|
|
22964
|
+
{
|
|
22965
|
+
scheme: 'bearer',
|
|
22966
|
+
type: 'http'
|
|
22967
|
+
},
|
|
22968
|
+
{
|
|
22969
|
+
scheme: 'bearer',
|
|
22970
|
+
type: 'http'
|
|
22971
|
+
}
|
|
22972
|
+
],
|
|
22973
|
+
url: '/api/marketplace-provider-offerings/{uuid}/set_profile/',
|
|
22974
|
+
...options,
|
|
22975
|
+
headers: {
|
|
22976
|
+
'Content-Type': 'application/json',
|
|
22977
|
+
...options.headers
|
|
22978
|
+
}
|
|
22979
|
+
});
|
|
22980
|
+
};
|
|
22229
22981
|
/**
|
|
22230
22982
|
* Get offering resource and user state counters
|
|
22231
22983
|
* Returns resource and offering-user counts grouped by state for the given offering.
|
|
@@ -23058,6 +23810,293 @@ export const marketplaceProviderOfferingsImportOffering = (options) => {
|
|
|
23058
23810
|
}
|
|
23059
23811
|
});
|
|
23060
23812
|
};
|
|
23813
|
+
export const marketplaceProviderResourceProjectsList = (options) => {
|
|
23814
|
+
return (options?.client ?? _heyApiClient).get({
|
|
23815
|
+
security: [
|
|
23816
|
+
{
|
|
23817
|
+
name: 'Authorization',
|
|
23818
|
+
type: 'apiKey'
|
|
23819
|
+
},
|
|
23820
|
+
{
|
|
23821
|
+
scheme: 'bearer',
|
|
23822
|
+
type: 'http'
|
|
23823
|
+
},
|
|
23824
|
+
{
|
|
23825
|
+
scheme: 'bearer',
|
|
23826
|
+
type: 'http'
|
|
23827
|
+
}
|
|
23828
|
+
],
|
|
23829
|
+
url: '/api/marketplace-provider-resource-projects/',
|
|
23830
|
+
...options
|
|
23831
|
+
});
|
|
23832
|
+
};
|
|
23833
|
+
/**
|
|
23834
|
+
* Get number of items in the collection matching the request parameters.
|
|
23835
|
+
*/
|
|
23836
|
+
export const marketplaceProviderResourceProjectsCount = (options) => {
|
|
23837
|
+
return (options?.client ?? _heyApiClient).head({
|
|
23838
|
+
security: [
|
|
23839
|
+
{
|
|
23840
|
+
name: 'Authorization',
|
|
23841
|
+
type: 'apiKey'
|
|
23842
|
+
},
|
|
23843
|
+
{
|
|
23844
|
+
scheme: 'bearer',
|
|
23845
|
+
type: 'http'
|
|
23846
|
+
},
|
|
23847
|
+
{
|
|
23848
|
+
scheme: 'bearer',
|
|
23849
|
+
type: 'http'
|
|
23850
|
+
}
|
|
23851
|
+
],
|
|
23852
|
+
url: '/api/marketplace-provider-resource-projects/',
|
|
23853
|
+
...options
|
|
23854
|
+
});
|
|
23855
|
+
};
|
|
23856
|
+
export const marketplaceProviderResourceProjectsRetrieve = (options) => {
|
|
23857
|
+
return (options.client ?? _heyApiClient).get({
|
|
23858
|
+
security: [
|
|
23859
|
+
{
|
|
23860
|
+
name: 'Authorization',
|
|
23861
|
+
type: 'apiKey'
|
|
23862
|
+
},
|
|
23863
|
+
{
|
|
23864
|
+
scheme: 'bearer',
|
|
23865
|
+
type: 'http'
|
|
23866
|
+
},
|
|
23867
|
+
{
|
|
23868
|
+
scheme: 'bearer',
|
|
23869
|
+
type: 'http'
|
|
23870
|
+
}
|
|
23871
|
+
],
|
|
23872
|
+
url: '/api/marketplace-provider-resource-projects/{uuid}/',
|
|
23873
|
+
...options
|
|
23874
|
+
});
|
|
23875
|
+
};
|
|
23876
|
+
export const marketplaceProviderResourceProjectsPartialUpdate = (options) => {
|
|
23877
|
+
return (options.client ?? _heyApiClient).patch({
|
|
23878
|
+
security: [
|
|
23879
|
+
{
|
|
23880
|
+
name: 'Authorization',
|
|
23881
|
+
type: 'apiKey'
|
|
23882
|
+
},
|
|
23883
|
+
{
|
|
23884
|
+
scheme: 'bearer',
|
|
23885
|
+
type: 'http'
|
|
23886
|
+
},
|
|
23887
|
+
{
|
|
23888
|
+
scheme: 'bearer',
|
|
23889
|
+
type: 'http'
|
|
23890
|
+
}
|
|
23891
|
+
],
|
|
23892
|
+
url: '/api/marketplace-provider-resource-projects/{uuid}/',
|
|
23893
|
+
...options,
|
|
23894
|
+
headers: {
|
|
23895
|
+
'Content-Type': 'application/json',
|
|
23896
|
+
...options.headers
|
|
23897
|
+
}
|
|
23898
|
+
});
|
|
23899
|
+
};
|
|
23900
|
+
export const marketplaceProviderResourceProjectsUpdate = (options) => {
|
|
23901
|
+
return (options.client ?? _heyApiClient).put({
|
|
23902
|
+
security: [
|
|
23903
|
+
{
|
|
23904
|
+
name: 'Authorization',
|
|
23905
|
+
type: 'apiKey'
|
|
23906
|
+
},
|
|
23907
|
+
{
|
|
23908
|
+
scheme: 'bearer',
|
|
23909
|
+
type: 'http'
|
|
23910
|
+
},
|
|
23911
|
+
{
|
|
23912
|
+
scheme: 'bearer',
|
|
23913
|
+
type: 'http'
|
|
23914
|
+
}
|
|
23915
|
+
],
|
|
23916
|
+
url: '/api/marketplace-provider-resource-projects/{uuid}/',
|
|
23917
|
+
...options,
|
|
23918
|
+
headers: {
|
|
23919
|
+
'Content-Type': 'application/json',
|
|
23920
|
+
...options.headers
|
|
23921
|
+
}
|
|
23922
|
+
});
|
|
23923
|
+
};
|
|
23924
|
+
/**
|
|
23925
|
+
* Grant a role to a user
|
|
23926
|
+
* Assigns a specific role to a user within the current scope. An optional expiration time for the role can be set.
|
|
23927
|
+
*/
|
|
23928
|
+
export const marketplaceProviderResourceProjectsAddUser = (options) => {
|
|
23929
|
+
return (options.client ?? _heyApiClient).post({
|
|
23930
|
+
security: [
|
|
23931
|
+
{
|
|
23932
|
+
name: 'Authorization',
|
|
23933
|
+
type: 'apiKey'
|
|
23934
|
+
},
|
|
23935
|
+
{
|
|
23936
|
+
scheme: 'bearer',
|
|
23937
|
+
type: 'http'
|
|
23938
|
+
},
|
|
23939
|
+
{
|
|
23940
|
+
scheme: 'bearer',
|
|
23941
|
+
type: 'http'
|
|
23942
|
+
}
|
|
23943
|
+
],
|
|
23944
|
+
url: '/api/marketplace-provider-resource-projects/{uuid}/add_user/',
|
|
23945
|
+
...options,
|
|
23946
|
+
headers: {
|
|
23947
|
+
'Content-Type': 'application/json',
|
|
23948
|
+
...options.headers
|
|
23949
|
+
}
|
|
23950
|
+
});
|
|
23951
|
+
};
|
|
23952
|
+
/**
|
|
23953
|
+
* Revoke a role from a user
|
|
23954
|
+
* Removes a specific role from a user within the current scope. This effectively revokes their permissions associated with that role.
|
|
23955
|
+
*/
|
|
23956
|
+
export const marketplaceProviderResourceProjectsDeleteUser = (options) => {
|
|
23957
|
+
return (options.client ?? _heyApiClient).post({
|
|
23958
|
+
security: [
|
|
23959
|
+
{
|
|
23960
|
+
name: 'Authorization',
|
|
23961
|
+
type: 'apiKey'
|
|
23962
|
+
},
|
|
23963
|
+
{
|
|
23964
|
+
scheme: 'bearer',
|
|
23965
|
+
type: 'http'
|
|
23966
|
+
},
|
|
23967
|
+
{
|
|
23968
|
+
scheme: 'bearer',
|
|
23969
|
+
type: 'http'
|
|
23970
|
+
}
|
|
23971
|
+
],
|
|
23972
|
+
url: '/api/marketplace-provider-resource-projects/{uuid}/delete_user/',
|
|
23973
|
+
...options,
|
|
23974
|
+
headers: {
|
|
23975
|
+
'Content-Type': 'application/json',
|
|
23976
|
+
...options.headers
|
|
23977
|
+
}
|
|
23978
|
+
});
|
|
23979
|
+
};
|
|
23980
|
+
/**
|
|
23981
|
+
* List users and their roles in a scope
|
|
23982
|
+
* Retrieves a list of users who have a role within a specific scope (e.g., a project or an organization). The list can be filtered by user details or role.
|
|
23983
|
+
*/
|
|
23984
|
+
export const marketplaceProviderResourceProjectsListUsersList = (options) => {
|
|
23985
|
+
return (options.client ?? _heyApiClient).get({
|
|
23986
|
+
security: [
|
|
23987
|
+
{
|
|
23988
|
+
name: 'Authorization',
|
|
23989
|
+
type: 'apiKey'
|
|
23990
|
+
},
|
|
23991
|
+
{
|
|
23992
|
+
scheme: 'bearer',
|
|
23993
|
+
type: 'http'
|
|
23994
|
+
},
|
|
23995
|
+
{
|
|
23996
|
+
scheme: 'bearer',
|
|
23997
|
+
type: 'http'
|
|
23998
|
+
}
|
|
23999
|
+
],
|
|
24000
|
+
url: '/api/marketplace-provider-resource-projects/{uuid}/list_users/',
|
|
24001
|
+
...options
|
|
24002
|
+
});
|
|
24003
|
+
};
|
|
24004
|
+
export const marketplaceProviderResourceProjectsSetBackendId = (options) => {
|
|
24005
|
+
return (options.client ?? _heyApiClient).post({
|
|
24006
|
+
security: [
|
|
24007
|
+
{
|
|
24008
|
+
name: 'Authorization',
|
|
24009
|
+
type: 'apiKey'
|
|
24010
|
+
},
|
|
24011
|
+
{
|
|
24012
|
+
scheme: 'bearer',
|
|
24013
|
+
type: 'http'
|
|
24014
|
+
},
|
|
24015
|
+
{
|
|
24016
|
+
scheme: 'bearer',
|
|
24017
|
+
type: 'http'
|
|
24018
|
+
}
|
|
24019
|
+
],
|
|
24020
|
+
url: '/api/marketplace-provider-resource-projects/{uuid}/set_backend_id/',
|
|
24021
|
+
...options,
|
|
24022
|
+
headers: {
|
|
24023
|
+
'Content-Type': 'application/json',
|
|
24024
|
+
...options.headers
|
|
24025
|
+
}
|
|
24026
|
+
});
|
|
24027
|
+
};
|
|
24028
|
+
export const marketplaceProviderResourceProjectsSetStateErred = (options) => {
|
|
24029
|
+
return (options.client ?? _heyApiClient).post({
|
|
24030
|
+
security: [
|
|
24031
|
+
{
|
|
24032
|
+
name: 'Authorization',
|
|
24033
|
+
type: 'apiKey'
|
|
24034
|
+
},
|
|
24035
|
+
{
|
|
24036
|
+
scheme: 'bearer',
|
|
24037
|
+
type: 'http'
|
|
24038
|
+
},
|
|
24039
|
+
{
|
|
24040
|
+
scheme: 'bearer',
|
|
24041
|
+
type: 'http'
|
|
24042
|
+
}
|
|
24043
|
+
],
|
|
24044
|
+
url: '/api/marketplace-provider-resource-projects/{uuid}/set_state_erred/',
|
|
24045
|
+
...options,
|
|
24046
|
+
headers: {
|
|
24047
|
+
'Content-Type': 'application/json',
|
|
24048
|
+
...options.headers
|
|
24049
|
+
}
|
|
24050
|
+
});
|
|
24051
|
+
};
|
|
24052
|
+
export const marketplaceProviderResourceProjectsSetStateOk = (options) => {
|
|
24053
|
+
return (options.client ?? _heyApiClient).post({
|
|
24054
|
+
security: [
|
|
24055
|
+
{
|
|
24056
|
+
name: 'Authorization',
|
|
24057
|
+
type: 'apiKey'
|
|
24058
|
+
},
|
|
24059
|
+
{
|
|
24060
|
+
scheme: 'bearer',
|
|
24061
|
+
type: 'http'
|
|
24062
|
+
},
|
|
24063
|
+
{
|
|
24064
|
+
scheme: 'bearer',
|
|
24065
|
+
type: 'http'
|
|
24066
|
+
}
|
|
24067
|
+
],
|
|
24068
|
+
url: '/api/marketplace-provider-resource-projects/{uuid}/set_state_ok/',
|
|
24069
|
+
...options
|
|
24070
|
+
});
|
|
24071
|
+
};
|
|
24072
|
+
/**
|
|
24073
|
+
* Update a user's role expiration
|
|
24074
|
+
* Updates the expiration time for a user's existing role in the current scope. This is useful for extending or shortening the duration of a permission. To make a role permanent, set expiration_time to null.
|
|
24075
|
+
*/
|
|
24076
|
+
export const marketplaceProviderResourceProjectsUpdateUser = (options) => {
|
|
24077
|
+
return (options.client ?? _heyApiClient).post({
|
|
24078
|
+
security: [
|
|
24079
|
+
{
|
|
24080
|
+
name: 'Authorization',
|
|
24081
|
+
type: 'apiKey'
|
|
24082
|
+
},
|
|
24083
|
+
{
|
|
24084
|
+
scheme: 'bearer',
|
|
24085
|
+
type: 'http'
|
|
24086
|
+
},
|
|
24087
|
+
{
|
|
24088
|
+
scheme: 'bearer',
|
|
24089
|
+
type: 'http'
|
|
24090
|
+
}
|
|
24091
|
+
],
|
|
24092
|
+
url: '/api/marketplace-provider-resource-projects/{uuid}/update_user/',
|
|
24093
|
+
...options,
|
|
24094
|
+
headers: {
|
|
24095
|
+
'Content-Type': 'application/json',
|
|
24096
|
+
...options.headers
|
|
24097
|
+
}
|
|
24098
|
+
});
|
|
24099
|
+
};
|
|
23061
24100
|
/**
|
|
23062
24101
|
* List provider resources
|
|
23063
24102
|
* Returns a paginated list of resources for offerings managed by the current user as a service provider.
|
|
@@ -23186,6 +24225,62 @@ export const marketplaceProviderResourcesUpdate = (options) => {
|
|
|
23186
24225
|
}
|
|
23187
24226
|
});
|
|
23188
24227
|
};
|
|
24228
|
+
/**
|
|
24229
|
+
* Grant a role to a user
|
|
24230
|
+
* Assigns a specific role to a user within the current scope. An optional expiration time for the role can be set.
|
|
24231
|
+
*/
|
|
24232
|
+
export const marketplaceProviderResourcesAddUser = (options) => {
|
|
24233
|
+
return (options.client ?? _heyApiClient).post({
|
|
24234
|
+
security: [
|
|
24235
|
+
{
|
|
24236
|
+
name: 'Authorization',
|
|
24237
|
+
type: 'apiKey'
|
|
24238
|
+
},
|
|
24239
|
+
{
|
|
24240
|
+
scheme: 'bearer',
|
|
24241
|
+
type: 'http'
|
|
24242
|
+
},
|
|
24243
|
+
{
|
|
24244
|
+
scheme: 'bearer',
|
|
24245
|
+
type: 'http'
|
|
24246
|
+
}
|
|
24247
|
+
],
|
|
24248
|
+
url: '/api/marketplace-provider-resources/{uuid}/add_user/',
|
|
24249
|
+
...options,
|
|
24250
|
+
headers: {
|
|
24251
|
+
'Content-Type': 'application/json',
|
|
24252
|
+
...options.headers
|
|
24253
|
+
}
|
|
24254
|
+
});
|
|
24255
|
+
};
|
|
24256
|
+
/**
|
|
24257
|
+
* Revoke a role from a user
|
|
24258
|
+
* Removes a specific role from a user within the current scope. This effectively revokes their permissions associated with that role.
|
|
24259
|
+
*/
|
|
24260
|
+
export const marketplaceProviderResourcesDeleteUser = (options) => {
|
|
24261
|
+
return (options.client ?? _heyApiClient).post({
|
|
24262
|
+
security: [
|
|
24263
|
+
{
|
|
24264
|
+
name: 'Authorization',
|
|
24265
|
+
type: 'apiKey'
|
|
24266
|
+
},
|
|
24267
|
+
{
|
|
24268
|
+
scheme: 'bearer',
|
|
24269
|
+
type: 'http'
|
|
24270
|
+
},
|
|
24271
|
+
{
|
|
24272
|
+
scheme: 'bearer',
|
|
24273
|
+
type: 'http'
|
|
24274
|
+
}
|
|
24275
|
+
],
|
|
24276
|
+
url: '/api/marketplace-provider-resources/{uuid}/delete_user/',
|
|
24277
|
+
...options,
|
|
24278
|
+
headers: {
|
|
24279
|
+
'Content-Type': 'application/json',
|
|
24280
|
+
...options.headers
|
|
24281
|
+
}
|
|
24282
|
+
});
|
|
24283
|
+
};
|
|
23189
24284
|
/**
|
|
23190
24285
|
* Get resource details
|
|
23191
24286
|
* Returns the detailed representation of the backend resource associated with the marketplace resource. The format of the response depends on the resource type.
|
|
@@ -23285,6 +24380,30 @@ export const marketplaceProviderResourcesHistoryAtRetrieve = (options) => {
|
|
|
23285
24380
|
...options
|
|
23286
24381
|
});
|
|
23287
24382
|
};
|
|
24383
|
+
/**
|
|
24384
|
+
* List users and their roles in a scope
|
|
24385
|
+
* Retrieves a list of users who have a role within a specific scope (e.g., a project or an organization). The list can be filtered by user details or role.
|
|
24386
|
+
*/
|
|
24387
|
+
export const marketplaceProviderResourcesListUsersList = (options) => {
|
|
24388
|
+
return (options.client ?? _heyApiClient).get({
|
|
24389
|
+
security: [
|
|
24390
|
+
{
|
|
24391
|
+
name: 'Authorization',
|
|
24392
|
+
type: 'apiKey'
|
|
24393
|
+
},
|
|
24394
|
+
{
|
|
24395
|
+
scheme: 'bearer',
|
|
24396
|
+
type: 'http'
|
|
24397
|
+
},
|
|
24398
|
+
{
|
|
24399
|
+
scheme: 'bearer',
|
|
24400
|
+
type: 'http'
|
|
24401
|
+
}
|
|
24402
|
+
],
|
|
24403
|
+
url: '/api/marketplace-provider-resources/{uuid}/list_users/',
|
|
24404
|
+
...options
|
|
24405
|
+
});
|
|
24406
|
+
};
|
|
23288
24407
|
/**
|
|
23289
24408
|
* Move a resource to another project
|
|
23290
24409
|
* Moves a resource and its associated data to a different project. Requires staff permissions.
|
|
@@ -23707,34 +24826,6 @@ export const marketplaceProviderResourcesSetEndDateByStaff = (options) => {
|
|
|
23707
24826
|
}
|
|
23708
24827
|
});
|
|
23709
24828
|
};
|
|
23710
|
-
/**
|
|
23711
|
-
* Set Keycloak scope options for a resource
|
|
23712
|
-
* Allows a service provider to configure available scope options for Keycloak memberships on a resource. Requires Keycloak integration to be enabled on the offering.
|
|
23713
|
-
*/
|
|
23714
|
-
export const marketplaceProviderResourcesSetKeycloakScopes = (options) => {
|
|
23715
|
-
return (options.client ?? _heyApiClient).post({
|
|
23716
|
-
security: [
|
|
23717
|
-
{
|
|
23718
|
-
name: 'Authorization',
|
|
23719
|
-
type: 'apiKey'
|
|
23720
|
-
},
|
|
23721
|
-
{
|
|
23722
|
-
scheme: 'bearer',
|
|
23723
|
-
type: 'http'
|
|
23724
|
-
},
|
|
23725
|
-
{
|
|
23726
|
-
scheme: 'bearer',
|
|
23727
|
-
type: 'http'
|
|
23728
|
-
}
|
|
23729
|
-
],
|
|
23730
|
-
url: '/api/marketplace-provider-resources/{uuid}/set_keycloak_scopes/',
|
|
23731
|
-
...options,
|
|
23732
|
-
headers: {
|
|
23733
|
-
'Content-Type': 'application/json',
|
|
23734
|
-
...options.headers
|
|
23735
|
-
}
|
|
23736
|
-
});
|
|
23737
|
-
};
|
|
23738
24829
|
/**
|
|
23739
24830
|
* Set resource limits
|
|
23740
24831
|
* Allows a service provider to directly set the limits for a resource. This is typically used for administrative changes or backend synchronization, bypassing the normal order process.
|
|
@@ -24031,6 +25122,34 @@ export const marketplaceProviderResourcesUpdateOptionsDirect = (options) => {
|
|
|
24031
25122
|
}
|
|
24032
25123
|
});
|
|
24033
25124
|
};
|
|
25125
|
+
/**
|
|
25126
|
+
* Update a user's role expiration
|
|
25127
|
+
* Updates the expiration time for a user's existing role in the current scope. This is useful for extending or shortening the duration of a permission. To make a role permanent, set expiration_time to null.
|
|
25128
|
+
*/
|
|
25129
|
+
export const marketplaceProviderResourcesUpdateUser = (options) => {
|
|
25130
|
+
return (options.client ?? _heyApiClient).post({
|
|
25131
|
+
security: [
|
|
25132
|
+
{
|
|
25133
|
+
name: 'Authorization',
|
|
25134
|
+
type: 'apiKey'
|
|
25135
|
+
},
|
|
25136
|
+
{
|
|
25137
|
+
scheme: 'bearer',
|
|
25138
|
+
type: 'http'
|
|
25139
|
+
},
|
|
25140
|
+
{
|
|
25141
|
+
scheme: 'bearer',
|
|
25142
|
+
type: 'http'
|
|
25143
|
+
}
|
|
25144
|
+
],
|
|
25145
|
+
url: '/api/marketplace-provider-resources/{uuid}/update_user/',
|
|
25146
|
+
...options,
|
|
25147
|
+
headers: {
|
|
25148
|
+
'Content-Type': 'application/json',
|
|
25149
|
+
...options.headers
|
|
25150
|
+
}
|
|
25151
|
+
});
|
|
25152
|
+
};
|
|
24034
25153
|
/**
|
|
24035
25154
|
* Check service provider signature
|
|
24036
25155
|
*
|
|
@@ -24434,11 +25553,7 @@ export const marketplaceResourceOfferingsList = (options) => {
|
|
|
24434
25553
|
...options
|
|
24435
25554
|
});
|
|
24436
25555
|
};
|
|
24437
|
-
|
|
24438
|
-
* List resource users
|
|
24439
|
-
* Returns a paginated list of users associated with resources, including their roles. The list is filtered based on the permissions of the current user. Staff and support users can see all resource-user links. Other users can only see links for resources they have access to.
|
|
24440
|
-
*/
|
|
24441
|
-
export const marketplaceResourceUsersList = (options) => {
|
|
25556
|
+
export const marketplaceResourceProjectsList = (options) => {
|
|
24442
25557
|
return (options?.client ?? _heyApiClient).get({
|
|
24443
25558
|
security: [
|
|
24444
25559
|
{
|
|
@@ -24454,15 +25569,14 @@ export const marketplaceResourceUsersList = (options) => {
|
|
|
24454
25569
|
type: 'http'
|
|
24455
25570
|
}
|
|
24456
25571
|
],
|
|
24457
|
-
url: '/api/marketplace-resource-
|
|
25572
|
+
url: '/api/marketplace-resource-projects/',
|
|
24458
25573
|
...options
|
|
24459
25574
|
});
|
|
24460
25575
|
};
|
|
24461
25576
|
/**
|
|
24462
|
-
* List resource users
|
|
24463
25577
|
* Get number of items in the collection matching the request parameters.
|
|
24464
25578
|
*/
|
|
24465
|
-
export const
|
|
25579
|
+
export const marketplaceResourceProjectsCount = (options) => {
|
|
24466
25580
|
return (options?.client ?? _heyApiClient).head({
|
|
24467
25581
|
security: [
|
|
24468
25582
|
{
|
|
@@ -24478,15 +25592,127 @@ export const marketplaceResourceUsersCount = (options) => {
|
|
|
24478
25592
|
type: 'http'
|
|
24479
25593
|
}
|
|
24480
25594
|
],
|
|
24481
|
-
url: '/api/marketplace-resource-
|
|
25595
|
+
url: '/api/marketplace-resource-projects/',
|
|
24482
25596
|
...options
|
|
24483
25597
|
});
|
|
24484
25598
|
};
|
|
25599
|
+
export const marketplaceResourceProjectsCreate = (options) => {
|
|
25600
|
+
return (options.client ?? _heyApiClient).post({
|
|
25601
|
+
security: [
|
|
25602
|
+
{
|
|
25603
|
+
name: 'Authorization',
|
|
25604
|
+
type: 'apiKey'
|
|
25605
|
+
},
|
|
25606
|
+
{
|
|
25607
|
+
scheme: 'bearer',
|
|
25608
|
+
type: 'http'
|
|
25609
|
+
},
|
|
25610
|
+
{
|
|
25611
|
+
scheme: 'bearer',
|
|
25612
|
+
type: 'http'
|
|
25613
|
+
}
|
|
25614
|
+
],
|
|
25615
|
+
url: '/api/marketplace-resource-projects/',
|
|
25616
|
+
...options,
|
|
25617
|
+
headers: {
|
|
25618
|
+
'Content-Type': 'application/json',
|
|
25619
|
+
...options.headers
|
|
25620
|
+
}
|
|
25621
|
+
});
|
|
25622
|
+
};
|
|
25623
|
+
export const marketplaceResourceProjectsDestroy = (options) => {
|
|
25624
|
+
return (options.client ?? _heyApiClient).delete({
|
|
25625
|
+
security: [
|
|
25626
|
+
{
|
|
25627
|
+
name: 'Authorization',
|
|
25628
|
+
type: 'apiKey'
|
|
25629
|
+
},
|
|
25630
|
+
{
|
|
25631
|
+
scheme: 'bearer',
|
|
25632
|
+
type: 'http'
|
|
25633
|
+
},
|
|
25634
|
+
{
|
|
25635
|
+
scheme: 'bearer',
|
|
25636
|
+
type: 'http'
|
|
25637
|
+
}
|
|
25638
|
+
],
|
|
25639
|
+
url: '/api/marketplace-resource-projects/{uuid}/',
|
|
25640
|
+
...options
|
|
25641
|
+
});
|
|
25642
|
+
};
|
|
25643
|
+
export const marketplaceResourceProjectsRetrieve = (options) => {
|
|
25644
|
+
return (options.client ?? _heyApiClient).get({
|
|
25645
|
+
security: [
|
|
25646
|
+
{
|
|
25647
|
+
name: 'Authorization',
|
|
25648
|
+
type: 'apiKey'
|
|
25649
|
+
},
|
|
25650
|
+
{
|
|
25651
|
+
scheme: 'bearer',
|
|
25652
|
+
type: 'http'
|
|
25653
|
+
},
|
|
25654
|
+
{
|
|
25655
|
+
scheme: 'bearer',
|
|
25656
|
+
type: 'http'
|
|
25657
|
+
}
|
|
25658
|
+
],
|
|
25659
|
+
url: '/api/marketplace-resource-projects/{uuid}/',
|
|
25660
|
+
...options
|
|
25661
|
+
});
|
|
25662
|
+
};
|
|
25663
|
+
export const marketplaceResourceProjectsPartialUpdate = (options) => {
|
|
25664
|
+
return (options.client ?? _heyApiClient).patch({
|
|
25665
|
+
security: [
|
|
25666
|
+
{
|
|
25667
|
+
name: 'Authorization',
|
|
25668
|
+
type: 'apiKey'
|
|
25669
|
+
},
|
|
25670
|
+
{
|
|
25671
|
+
scheme: 'bearer',
|
|
25672
|
+
type: 'http'
|
|
25673
|
+
},
|
|
25674
|
+
{
|
|
25675
|
+
scheme: 'bearer',
|
|
25676
|
+
type: 'http'
|
|
25677
|
+
}
|
|
25678
|
+
],
|
|
25679
|
+
url: '/api/marketplace-resource-projects/{uuid}/',
|
|
25680
|
+
...options,
|
|
25681
|
+
headers: {
|
|
25682
|
+
'Content-Type': 'application/json',
|
|
25683
|
+
...options.headers
|
|
25684
|
+
}
|
|
25685
|
+
});
|
|
25686
|
+
};
|
|
25687
|
+
export const marketplaceResourceProjectsUpdate = (options) => {
|
|
25688
|
+
return (options.client ?? _heyApiClient).put({
|
|
25689
|
+
security: [
|
|
25690
|
+
{
|
|
25691
|
+
name: 'Authorization',
|
|
25692
|
+
type: 'apiKey'
|
|
25693
|
+
},
|
|
25694
|
+
{
|
|
25695
|
+
scheme: 'bearer',
|
|
25696
|
+
type: 'http'
|
|
25697
|
+
},
|
|
25698
|
+
{
|
|
25699
|
+
scheme: 'bearer',
|
|
25700
|
+
type: 'http'
|
|
25701
|
+
}
|
|
25702
|
+
],
|
|
25703
|
+
url: '/api/marketplace-resource-projects/{uuid}/',
|
|
25704
|
+
...options,
|
|
25705
|
+
headers: {
|
|
25706
|
+
'Content-Type': 'application/json',
|
|
25707
|
+
...options.headers
|
|
25708
|
+
}
|
|
25709
|
+
});
|
|
25710
|
+
};
|
|
24485
25711
|
/**
|
|
24486
|
-
*
|
|
24487
|
-
*
|
|
25712
|
+
* Grant a role to a user
|
|
25713
|
+
* Assigns a specific role to a user within the current scope. An optional expiration time for the role can be set.
|
|
24488
25714
|
*/
|
|
24489
|
-
export const
|
|
25715
|
+
export const marketplaceResourceProjectsAddUser = (options) => {
|
|
24490
25716
|
return (options.client ?? _heyApiClient).post({
|
|
24491
25717
|
security: [
|
|
24492
25718
|
{
|
|
@@ -24502,7 +25728,7 @@ export const marketplaceResourceUsersCreate = (options) => {
|
|
|
24502
25728
|
type: 'http'
|
|
24503
25729
|
}
|
|
24504
25730
|
],
|
|
24505
|
-
url: '/api/marketplace-resource-
|
|
25731
|
+
url: '/api/marketplace-resource-projects/{uuid}/add_user/',
|
|
24506
25732
|
...options,
|
|
24507
25733
|
headers: {
|
|
24508
25734
|
'Content-Type': 'application/json',
|
|
@@ -24511,11 +25737,11 @@ export const marketplaceResourceUsersCreate = (options) => {
|
|
|
24511
25737
|
});
|
|
24512
25738
|
};
|
|
24513
25739
|
/**
|
|
24514
|
-
*
|
|
24515
|
-
* Removes
|
|
25740
|
+
* Revoke a role from a user
|
|
25741
|
+
* Removes a specific role from a user within the current scope. This effectively revokes their permissions associated with that role.
|
|
24516
25742
|
*/
|
|
24517
|
-
export const
|
|
24518
|
-
return (options.client ?? _heyApiClient).
|
|
25743
|
+
export const marketplaceResourceProjectsDeleteUser = (options) => {
|
|
25744
|
+
return (options.client ?? _heyApiClient).post({
|
|
24519
25745
|
security: [
|
|
24520
25746
|
{
|
|
24521
25747
|
name: 'Authorization',
|
|
@@ -24530,15 +25756,19 @@ export const marketplaceResourceUsersDestroy = (options) => {
|
|
|
24530
25756
|
type: 'http'
|
|
24531
25757
|
}
|
|
24532
25758
|
],
|
|
24533
|
-
url: '/api/marketplace-resource-
|
|
24534
|
-
...options
|
|
25759
|
+
url: '/api/marketplace-resource-projects/{uuid}/delete_user/',
|
|
25760
|
+
...options,
|
|
25761
|
+
headers: {
|
|
25762
|
+
'Content-Type': 'application/json',
|
|
25763
|
+
...options.headers
|
|
25764
|
+
}
|
|
24535
25765
|
});
|
|
24536
25766
|
};
|
|
24537
25767
|
/**
|
|
24538
|
-
*
|
|
24539
|
-
*
|
|
25768
|
+
* List users and their roles in a scope
|
|
25769
|
+
* Retrieves a list of users who have a role within a specific scope (e.g., a project or an organization). The list can be filtered by user details or role.
|
|
24540
25770
|
*/
|
|
24541
|
-
export const
|
|
25771
|
+
export const marketplaceResourceProjectsListUsersList = (options) => {
|
|
24542
25772
|
return (options.client ?? _heyApiClient).get({
|
|
24543
25773
|
security: [
|
|
24544
25774
|
{
|
|
@@ -24554,10 +25784,38 @@ export const marketplaceResourceUsersRetrieve = (options) => {
|
|
|
24554
25784
|
type: 'http'
|
|
24555
25785
|
}
|
|
24556
25786
|
],
|
|
24557
|
-
url: '/api/marketplace-resource-
|
|
25787
|
+
url: '/api/marketplace-resource-projects/{uuid}/list_users/',
|
|
24558
25788
|
...options
|
|
24559
25789
|
});
|
|
24560
25790
|
};
|
|
25791
|
+
/**
|
|
25792
|
+
* Update a user's role expiration
|
|
25793
|
+
* Updates the expiration time for a user's existing role in the current scope. This is useful for extending or shortening the duration of a permission. To make a role permanent, set expiration_time to null.
|
|
25794
|
+
*/
|
|
25795
|
+
export const marketplaceResourceProjectsUpdateUser = (options) => {
|
|
25796
|
+
return (options.client ?? _heyApiClient).post({
|
|
25797
|
+
security: [
|
|
25798
|
+
{
|
|
25799
|
+
name: 'Authorization',
|
|
25800
|
+
type: 'apiKey'
|
|
25801
|
+
},
|
|
25802
|
+
{
|
|
25803
|
+
scheme: 'bearer',
|
|
25804
|
+
type: 'http'
|
|
25805
|
+
},
|
|
25806
|
+
{
|
|
25807
|
+
scheme: 'bearer',
|
|
25808
|
+
type: 'http'
|
|
25809
|
+
}
|
|
25810
|
+
],
|
|
25811
|
+
url: '/api/marketplace-resource-projects/{uuid}/update_user/',
|
|
25812
|
+
...options,
|
|
25813
|
+
headers: {
|
|
25814
|
+
'Content-Type': 'application/json',
|
|
25815
|
+
...options.headers
|
|
25816
|
+
}
|
|
25817
|
+
});
|
|
25818
|
+
};
|
|
24561
25819
|
/**
|
|
24562
25820
|
* List consumer resources
|
|
24563
25821
|
* Returns a paginated list of resources accessible to the current user as a service consumer.
|
|
@@ -24686,6 +25944,62 @@ export const marketplaceResourcesUpdate = (options) => {
|
|
|
24686
25944
|
}
|
|
24687
25945
|
});
|
|
24688
25946
|
};
|
|
25947
|
+
/**
|
|
25948
|
+
* Grant a role to a user
|
|
25949
|
+
* Assigns a specific role to a user within the current scope. An optional expiration time for the role can be set.
|
|
25950
|
+
*/
|
|
25951
|
+
export const marketplaceResourcesAddUser = (options) => {
|
|
25952
|
+
return (options.client ?? _heyApiClient).post({
|
|
25953
|
+
security: [
|
|
25954
|
+
{
|
|
25955
|
+
name: 'Authorization',
|
|
25956
|
+
type: 'apiKey'
|
|
25957
|
+
},
|
|
25958
|
+
{
|
|
25959
|
+
scheme: 'bearer',
|
|
25960
|
+
type: 'http'
|
|
25961
|
+
},
|
|
25962
|
+
{
|
|
25963
|
+
scheme: 'bearer',
|
|
25964
|
+
type: 'http'
|
|
25965
|
+
}
|
|
25966
|
+
],
|
|
25967
|
+
url: '/api/marketplace-resources/{uuid}/add_user/',
|
|
25968
|
+
...options,
|
|
25969
|
+
headers: {
|
|
25970
|
+
'Content-Type': 'application/json',
|
|
25971
|
+
...options.headers
|
|
25972
|
+
}
|
|
25973
|
+
});
|
|
25974
|
+
};
|
|
25975
|
+
/**
|
|
25976
|
+
* Revoke a role from a user
|
|
25977
|
+
* Removes a specific role from a user within the current scope. This effectively revokes their permissions associated with that role.
|
|
25978
|
+
*/
|
|
25979
|
+
export const marketplaceResourcesDeleteUser = (options) => {
|
|
25980
|
+
return (options.client ?? _heyApiClient).post({
|
|
25981
|
+
security: [
|
|
25982
|
+
{
|
|
25983
|
+
name: 'Authorization',
|
|
25984
|
+
type: 'apiKey'
|
|
25985
|
+
},
|
|
25986
|
+
{
|
|
25987
|
+
scheme: 'bearer',
|
|
25988
|
+
type: 'http'
|
|
25989
|
+
},
|
|
25990
|
+
{
|
|
25991
|
+
scheme: 'bearer',
|
|
25992
|
+
type: 'http'
|
|
25993
|
+
}
|
|
25994
|
+
],
|
|
25995
|
+
url: '/api/marketplace-resources/{uuid}/delete_user/',
|
|
25996
|
+
...options,
|
|
25997
|
+
headers: {
|
|
25998
|
+
'Content-Type': 'application/json',
|
|
25999
|
+
...options.headers
|
|
26000
|
+
}
|
|
26001
|
+
});
|
|
26002
|
+
};
|
|
24689
26003
|
/**
|
|
24690
26004
|
* Get resource details
|
|
24691
26005
|
* Returns the detailed representation of the backend resource associated with the marketplace resource. The format of the response depends on the resource type.
|
|
@@ -24812,6 +26126,30 @@ export const marketplaceResourcesHistoryAtRetrieve = (options) => {
|
|
|
24812
26126
|
...options
|
|
24813
26127
|
});
|
|
24814
26128
|
};
|
|
26129
|
+
/**
|
|
26130
|
+
* List users and their roles in a scope
|
|
26131
|
+
* Retrieves a list of users who have a role within a specific scope (e.g., a project or an organization). The list can be filtered by user details or role.
|
|
26132
|
+
*/
|
|
26133
|
+
export const marketplaceResourcesListUsersList = (options) => {
|
|
26134
|
+
return (options.client ?? _heyApiClient).get({
|
|
26135
|
+
security: [
|
|
26136
|
+
{
|
|
26137
|
+
name: 'Authorization',
|
|
26138
|
+
type: 'apiKey'
|
|
26139
|
+
},
|
|
26140
|
+
{
|
|
26141
|
+
scheme: 'bearer',
|
|
26142
|
+
type: 'http'
|
|
26143
|
+
},
|
|
26144
|
+
{
|
|
26145
|
+
scheme: 'bearer',
|
|
26146
|
+
type: 'http'
|
|
26147
|
+
}
|
|
26148
|
+
],
|
|
26149
|
+
url: '/api/marketplace-resources/{uuid}/list_users/',
|
|
26150
|
+
...options
|
|
26151
|
+
});
|
|
26152
|
+
};
|
|
24815
26153
|
/**
|
|
24816
26154
|
* Move a resource to another project
|
|
24817
26155
|
* Moves a resource and its associated data to a different project. Requires staff permissions.
|
|
@@ -25237,6 +26575,30 @@ export const marketplaceResourcesTeamList = (options) => {
|
|
|
25237
26575
|
...options
|
|
25238
26576
|
});
|
|
25239
26577
|
};
|
|
26578
|
+
/**
|
|
26579
|
+
* List team members of a resource
|
|
26580
|
+
* One row per user (deduplicated) with their direct Resource role and a nested `resource_projects[]` array of their per-ResourceProject grants under this resource. Mirrors the org-level `customers/{uuid}/users/` shape so the frontend can render an expandable per-user view.
|
|
26581
|
+
*/
|
|
26582
|
+
export const marketplaceResourcesTeamMembersList = (options) => {
|
|
26583
|
+
return (options.client ?? _heyApiClient).get({
|
|
26584
|
+
security: [
|
|
26585
|
+
{
|
|
26586
|
+
name: 'Authorization',
|
|
26587
|
+
type: 'apiKey'
|
|
26588
|
+
},
|
|
26589
|
+
{
|
|
26590
|
+
scheme: 'bearer',
|
|
26591
|
+
type: 'http'
|
|
26592
|
+
},
|
|
26593
|
+
{
|
|
26594
|
+
scheme: 'bearer',
|
|
26595
|
+
type: 'http'
|
|
26596
|
+
}
|
|
26597
|
+
],
|
|
26598
|
+
url: '/api/marketplace-resources/{uuid}/team_members/',
|
|
26599
|
+
...options
|
|
26600
|
+
});
|
|
26601
|
+
};
|
|
25240
26602
|
/**
|
|
25241
26603
|
* Terminate a resource
|
|
25242
26604
|
* Creates a marketplace order to terminate the resource. This action is asynchronous and may require approval.
|
|
@@ -25345,6 +26707,34 @@ export const marketplaceResourcesUpdateOptions = (options) => {
|
|
|
25345
26707
|
}
|
|
25346
26708
|
});
|
|
25347
26709
|
};
|
|
26710
|
+
/**
|
|
26711
|
+
* Update a user's role expiration
|
|
26712
|
+
* Updates the expiration time for a user's existing role in the current scope. This is useful for extending or shortening the duration of a permission. To make a role permanent, set expiration_time to null.
|
|
26713
|
+
*/
|
|
26714
|
+
export const marketplaceResourcesUpdateUser = (options) => {
|
|
26715
|
+
return (options.client ?? _heyApiClient).post({
|
|
26716
|
+
security: [
|
|
26717
|
+
{
|
|
26718
|
+
name: 'Authorization',
|
|
26719
|
+
type: 'apiKey'
|
|
26720
|
+
},
|
|
26721
|
+
{
|
|
26722
|
+
scheme: 'bearer',
|
|
26723
|
+
type: 'http'
|
|
26724
|
+
},
|
|
26725
|
+
{
|
|
26726
|
+
scheme: 'bearer',
|
|
26727
|
+
type: 'http'
|
|
26728
|
+
}
|
|
26729
|
+
],
|
|
26730
|
+
url: '/api/marketplace-resources/{uuid}/update_user/',
|
|
26731
|
+
...options,
|
|
26732
|
+
headers: {
|
|
26733
|
+
'Content-Type': 'application/json',
|
|
26734
|
+
...options.headers
|
|
26735
|
+
}
|
|
26736
|
+
});
|
|
26737
|
+
};
|
|
25348
26738
|
/**
|
|
25349
26739
|
* Suggest a resource name
|
|
25350
26740
|
* Generates a suggested name for a new resource based on the project and offering. If the offering has a `resource_name_pattern` in `plugin_options`, it is used as a Python format string with variables: `{customer_name}`, `{customer_slug}`, `{project_name}`, `{project_slug}`, `{offering_name}`, `{offering_slug}`, `{plan_name}`, `{counter}`, and `{attributes[KEY]}` for any order form value.
|
|
@@ -28120,11 +29510,7 @@ export const marketplaceSoftwareCatalogsUpdateCatalog = (options) => {
|
|
|
28120
29510
|
}
|
|
28121
29511
|
],
|
|
28122
29512
|
url: '/api/marketplace-software-catalogs/{uuid}/update_catalog/',
|
|
28123
|
-
...options
|
|
28124
|
-
headers: {
|
|
28125
|
-
'Content-Type': 'application/json',
|
|
28126
|
-
...options.headers
|
|
28127
|
-
}
|
|
29513
|
+
...options
|
|
28128
29514
|
});
|
|
28129
29515
|
};
|
|
28130
29516
|
/**
|
|
@@ -31839,488 +33225,6 @@ export const notificationMessagesEnable = (options) => {
|
|
|
31839
33225
|
...options
|
|
31840
33226
|
});
|
|
31841
33227
|
};
|
|
31842
|
-
export const offeringKeycloakGroupsList = (options) => {
|
|
31843
|
-
return (options?.client ?? _heyApiClient).get({
|
|
31844
|
-
security: [
|
|
31845
|
-
{
|
|
31846
|
-
name: 'Authorization',
|
|
31847
|
-
type: 'apiKey'
|
|
31848
|
-
},
|
|
31849
|
-
{
|
|
31850
|
-
scheme: 'bearer',
|
|
31851
|
-
type: 'http'
|
|
31852
|
-
},
|
|
31853
|
-
{
|
|
31854
|
-
scheme: 'bearer',
|
|
31855
|
-
type: 'http'
|
|
31856
|
-
}
|
|
31857
|
-
],
|
|
31858
|
-
url: '/api/offering-keycloak-groups/',
|
|
31859
|
-
...options
|
|
31860
|
-
});
|
|
31861
|
-
};
|
|
31862
|
-
/**
|
|
31863
|
-
* Get number of items in the collection matching the request parameters.
|
|
31864
|
-
*/
|
|
31865
|
-
export const offeringKeycloakGroupsCount = (options) => {
|
|
31866
|
-
return (options?.client ?? _heyApiClient).head({
|
|
31867
|
-
security: [
|
|
31868
|
-
{
|
|
31869
|
-
name: 'Authorization',
|
|
31870
|
-
type: 'apiKey'
|
|
31871
|
-
},
|
|
31872
|
-
{
|
|
31873
|
-
scheme: 'bearer',
|
|
31874
|
-
type: 'http'
|
|
31875
|
-
},
|
|
31876
|
-
{
|
|
31877
|
-
scheme: 'bearer',
|
|
31878
|
-
type: 'http'
|
|
31879
|
-
}
|
|
31880
|
-
],
|
|
31881
|
-
url: '/api/offering-keycloak-groups/',
|
|
31882
|
-
...options
|
|
31883
|
-
});
|
|
31884
|
-
};
|
|
31885
|
-
export const offeringKeycloakGroupsDestroy = (options) => {
|
|
31886
|
-
return (options.client ?? _heyApiClient).delete({
|
|
31887
|
-
security: [
|
|
31888
|
-
{
|
|
31889
|
-
name: 'Authorization',
|
|
31890
|
-
type: 'apiKey'
|
|
31891
|
-
},
|
|
31892
|
-
{
|
|
31893
|
-
scheme: 'bearer',
|
|
31894
|
-
type: 'http'
|
|
31895
|
-
},
|
|
31896
|
-
{
|
|
31897
|
-
scheme: 'bearer',
|
|
31898
|
-
type: 'http'
|
|
31899
|
-
}
|
|
31900
|
-
],
|
|
31901
|
-
url: '/api/offering-keycloak-groups/{uuid}/',
|
|
31902
|
-
...options
|
|
31903
|
-
});
|
|
31904
|
-
};
|
|
31905
|
-
export const offeringKeycloakGroupsRetrieve = (options) => {
|
|
31906
|
-
return (options.client ?? _heyApiClient).get({
|
|
31907
|
-
security: [
|
|
31908
|
-
{
|
|
31909
|
-
name: 'Authorization',
|
|
31910
|
-
type: 'apiKey'
|
|
31911
|
-
},
|
|
31912
|
-
{
|
|
31913
|
-
scheme: 'bearer',
|
|
31914
|
-
type: 'http'
|
|
31915
|
-
},
|
|
31916
|
-
{
|
|
31917
|
-
scheme: 'bearer',
|
|
31918
|
-
type: 'http'
|
|
31919
|
-
}
|
|
31920
|
-
],
|
|
31921
|
-
url: '/api/offering-keycloak-groups/{uuid}/',
|
|
31922
|
-
...options
|
|
31923
|
-
});
|
|
31924
|
-
};
|
|
31925
|
-
/**
|
|
31926
|
-
* Pull members from Keycloak for a group
|
|
31927
|
-
*/
|
|
31928
|
-
export const offeringKeycloakGroupsPullMembers = (options) => {
|
|
31929
|
-
return (options.client ?? _heyApiClient).post({
|
|
31930
|
-
security: [
|
|
31931
|
-
{
|
|
31932
|
-
name: 'Authorization',
|
|
31933
|
-
type: 'apiKey'
|
|
31934
|
-
},
|
|
31935
|
-
{
|
|
31936
|
-
scheme: 'bearer',
|
|
31937
|
-
type: 'http'
|
|
31938
|
-
},
|
|
31939
|
-
{
|
|
31940
|
-
scheme: 'bearer',
|
|
31941
|
-
type: 'http'
|
|
31942
|
-
}
|
|
31943
|
-
],
|
|
31944
|
-
url: '/api/offering-keycloak-groups/{uuid}/pull_members/',
|
|
31945
|
-
...options
|
|
31946
|
-
});
|
|
31947
|
-
};
|
|
31948
|
-
/**
|
|
31949
|
-
* Set or unlink the backend_id (remote Keycloak group ID) for a local group
|
|
31950
|
-
*/
|
|
31951
|
-
export const offeringKeycloakGroupsSetBackendId = (options) => {
|
|
31952
|
-
return (options.client ?? _heyApiClient).post({
|
|
31953
|
-
security: [
|
|
31954
|
-
{
|
|
31955
|
-
name: 'Authorization',
|
|
31956
|
-
type: 'apiKey'
|
|
31957
|
-
},
|
|
31958
|
-
{
|
|
31959
|
-
scheme: 'bearer',
|
|
31960
|
-
type: 'http'
|
|
31961
|
-
},
|
|
31962
|
-
{
|
|
31963
|
-
scheme: 'bearer',
|
|
31964
|
-
type: 'http'
|
|
31965
|
-
}
|
|
31966
|
-
],
|
|
31967
|
-
url: '/api/offering-keycloak-groups/{uuid}/set_backend_id/',
|
|
31968
|
-
...options,
|
|
31969
|
-
headers: {
|
|
31970
|
-
'Content-Type': 'application/json',
|
|
31971
|
-
...options.headers
|
|
31972
|
-
}
|
|
31973
|
-
});
|
|
31974
|
-
};
|
|
31975
|
-
/**
|
|
31976
|
-
* Import a remote Keycloak group as a local OfferingKeycloakGroup
|
|
31977
|
-
*/
|
|
31978
|
-
export const offeringKeycloakGroupsImportRemote = (options) => {
|
|
31979
|
-
return (options.client ?? _heyApiClient).post({
|
|
31980
|
-
security: [
|
|
31981
|
-
{
|
|
31982
|
-
name: 'Authorization',
|
|
31983
|
-
type: 'apiKey'
|
|
31984
|
-
},
|
|
31985
|
-
{
|
|
31986
|
-
scheme: 'bearer',
|
|
31987
|
-
type: 'http'
|
|
31988
|
-
},
|
|
31989
|
-
{
|
|
31990
|
-
scheme: 'bearer',
|
|
31991
|
-
type: 'http'
|
|
31992
|
-
}
|
|
31993
|
-
],
|
|
31994
|
-
url: '/api/offering-keycloak-groups/import_remote/',
|
|
31995
|
-
...options,
|
|
31996
|
-
headers: {
|
|
31997
|
-
'Content-Type': 'application/json',
|
|
31998
|
-
...options.headers
|
|
31999
|
-
}
|
|
32000
|
-
});
|
|
32001
|
-
};
|
|
32002
|
-
/**
|
|
32003
|
-
* List members of a remote Keycloak group
|
|
32004
|
-
*/
|
|
32005
|
-
export const offeringKeycloakGroupsRemoteGroupMembersList = (options) => {
|
|
32006
|
-
return (options.client ?? _heyApiClient).get({
|
|
32007
|
-
security: [
|
|
32008
|
-
{
|
|
32009
|
-
name: 'Authorization',
|
|
32010
|
-
type: 'apiKey'
|
|
32011
|
-
},
|
|
32012
|
-
{
|
|
32013
|
-
scheme: 'bearer',
|
|
32014
|
-
type: 'http'
|
|
32015
|
-
},
|
|
32016
|
-
{
|
|
32017
|
-
scheme: 'bearer',
|
|
32018
|
-
type: 'http'
|
|
32019
|
-
}
|
|
32020
|
-
],
|
|
32021
|
-
url: '/api/offering-keycloak-groups/remote_group_members/',
|
|
32022
|
-
...options
|
|
32023
|
-
});
|
|
32024
|
-
};
|
|
32025
|
-
/**
|
|
32026
|
-
* List members of a remote Keycloak group
|
|
32027
|
-
* Get number of items in the collection matching the request parameters.
|
|
32028
|
-
*/
|
|
32029
|
-
export const offeringKeycloakGroupsRemoteGroupMembersCount = (options) => {
|
|
32030
|
-
return (options.client ?? _heyApiClient).head({
|
|
32031
|
-
security: [
|
|
32032
|
-
{
|
|
32033
|
-
name: 'Authorization',
|
|
32034
|
-
type: 'apiKey'
|
|
32035
|
-
},
|
|
32036
|
-
{
|
|
32037
|
-
scheme: 'bearer',
|
|
32038
|
-
type: 'http'
|
|
32039
|
-
},
|
|
32040
|
-
{
|
|
32041
|
-
scheme: 'bearer',
|
|
32042
|
-
type: 'http'
|
|
32043
|
-
}
|
|
32044
|
-
],
|
|
32045
|
-
url: '/api/offering-keycloak-groups/remote_group_members/',
|
|
32046
|
-
...options
|
|
32047
|
-
});
|
|
32048
|
-
};
|
|
32049
|
-
/**
|
|
32050
|
-
* List remote Keycloak groups for an offering
|
|
32051
|
-
*/
|
|
32052
|
-
export const offeringKeycloakGroupsRemoteGroupsList = (options) => {
|
|
32053
|
-
return (options.client ?? _heyApiClient).get({
|
|
32054
|
-
security: [
|
|
32055
|
-
{
|
|
32056
|
-
name: 'Authorization',
|
|
32057
|
-
type: 'apiKey'
|
|
32058
|
-
},
|
|
32059
|
-
{
|
|
32060
|
-
scheme: 'bearer',
|
|
32061
|
-
type: 'http'
|
|
32062
|
-
},
|
|
32063
|
-
{
|
|
32064
|
-
scheme: 'bearer',
|
|
32065
|
-
type: 'http'
|
|
32066
|
-
}
|
|
32067
|
-
],
|
|
32068
|
-
url: '/api/offering-keycloak-groups/remote_groups/',
|
|
32069
|
-
...options
|
|
32070
|
-
});
|
|
32071
|
-
};
|
|
32072
|
-
/**
|
|
32073
|
-
* List remote Keycloak groups for an offering
|
|
32074
|
-
* Get number of items in the collection matching the request parameters.
|
|
32075
|
-
*/
|
|
32076
|
-
export const offeringKeycloakGroupsRemoteGroupsCount = (options) => {
|
|
32077
|
-
return (options.client ?? _heyApiClient).head({
|
|
32078
|
-
security: [
|
|
32079
|
-
{
|
|
32080
|
-
name: 'Authorization',
|
|
32081
|
-
type: 'apiKey'
|
|
32082
|
-
},
|
|
32083
|
-
{
|
|
32084
|
-
scheme: 'bearer',
|
|
32085
|
-
type: 'http'
|
|
32086
|
-
},
|
|
32087
|
-
{
|
|
32088
|
-
scheme: 'bearer',
|
|
32089
|
-
type: 'http'
|
|
32090
|
-
}
|
|
32091
|
-
],
|
|
32092
|
-
url: '/api/offering-keycloak-groups/remote_groups/',
|
|
32093
|
-
...options
|
|
32094
|
-
});
|
|
32095
|
-
};
|
|
32096
|
-
/**
|
|
32097
|
-
* Search for users in remote Keycloak instance
|
|
32098
|
-
*/
|
|
32099
|
-
export const offeringKeycloakGroupsSearchRemoteUsersList = (options) => {
|
|
32100
|
-
return (options.client ?? _heyApiClient).get({
|
|
32101
|
-
security: [
|
|
32102
|
-
{
|
|
32103
|
-
name: 'Authorization',
|
|
32104
|
-
type: 'apiKey'
|
|
32105
|
-
},
|
|
32106
|
-
{
|
|
32107
|
-
scheme: 'bearer',
|
|
32108
|
-
type: 'http'
|
|
32109
|
-
},
|
|
32110
|
-
{
|
|
32111
|
-
scheme: 'bearer',
|
|
32112
|
-
type: 'http'
|
|
32113
|
-
}
|
|
32114
|
-
],
|
|
32115
|
-
url: '/api/offering-keycloak-groups/search_remote_users/',
|
|
32116
|
-
...options
|
|
32117
|
-
});
|
|
32118
|
-
};
|
|
32119
|
-
/**
|
|
32120
|
-
* Search for users in remote Keycloak instance
|
|
32121
|
-
* Get number of items in the collection matching the request parameters.
|
|
32122
|
-
*/
|
|
32123
|
-
export const offeringKeycloakGroupsSearchRemoteUsersCount = (options) => {
|
|
32124
|
-
return (options.client ?? _heyApiClient).head({
|
|
32125
|
-
security: [
|
|
32126
|
-
{
|
|
32127
|
-
name: 'Authorization',
|
|
32128
|
-
type: 'apiKey'
|
|
32129
|
-
},
|
|
32130
|
-
{
|
|
32131
|
-
scheme: 'bearer',
|
|
32132
|
-
type: 'http'
|
|
32133
|
-
},
|
|
32134
|
-
{
|
|
32135
|
-
scheme: 'bearer',
|
|
32136
|
-
type: 'http'
|
|
32137
|
-
}
|
|
32138
|
-
],
|
|
32139
|
-
url: '/api/offering-keycloak-groups/search_remote_users/',
|
|
32140
|
-
...options
|
|
32141
|
-
});
|
|
32142
|
-
};
|
|
32143
|
-
/**
|
|
32144
|
-
* Compare local and remote Keycloak group state
|
|
32145
|
-
*/
|
|
32146
|
-
export const offeringKeycloakGroupsSyncStatusRetrieve = (options) => {
|
|
32147
|
-
return (options.client ?? _heyApiClient).get({
|
|
32148
|
-
security: [
|
|
32149
|
-
{
|
|
32150
|
-
name: 'Authorization',
|
|
32151
|
-
type: 'apiKey'
|
|
32152
|
-
},
|
|
32153
|
-
{
|
|
32154
|
-
scheme: 'bearer',
|
|
32155
|
-
type: 'http'
|
|
32156
|
-
},
|
|
32157
|
-
{
|
|
32158
|
-
scheme: 'bearer',
|
|
32159
|
-
type: 'http'
|
|
32160
|
-
}
|
|
32161
|
-
],
|
|
32162
|
-
url: '/api/offering-keycloak-groups/sync_status/',
|
|
32163
|
-
...options
|
|
32164
|
-
});
|
|
32165
|
-
};
|
|
32166
|
-
/**
|
|
32167
|
-
* Compare local and remote Keycloak group state
|
|
32168
|
-
* Get number of items in the collection matching the request parameters.
|
|
32169
|
-
*/
|
|
32170
|
-
export const offeringKeycloakGroupsSyncStatusCount = (options) => {
|
|
32171
|
-
return (options.client ?? _heyApiClient).head({
|
|
32172
|
-
security: [
|
|
32173
|
-
{
|
|
32174
|
-
name: 'Authorization',
|
|
32175
|
-
type: 'apiKey'
|
|
32176
|
-
},
|
|
32177
|
-
{
|
|
32178
|
-
scheme: 'bearer',
|
|
32179
|
-
type: 'http'
|
|
32180
|
-
},
|
|
32181
|
-
{
|
|
32182
|
-
scheme: 'bearer',
|
|
32183
|
-
type: 'http'
|
|
32184
|
-
}
|
|
32185
|
-
],
|
|
32186
|
-
url: '/api/offering-keycloak-groups/sync_status/',
|
|
32187
|
-
...options
|
|
32188
|
-
});
|
|
32189
|
-
};
|
|
32190
|
-
/**
|
|
32191
|
-
* Test Keycloak connection for an offering
|
|
32192
|
-
*/
|
|
32193
|
-
export const offeringKeycloakGroupsTestConnection = (options) => {
|
|
32194
|
-
return (options.client ?? _heyApiClient).post({
|
|
32195
|
-
security: [
|
|
32196
|
-
{
|
|
32197
|
-
name: 'Authorization',
|
|
32198
|
-
type: 'apiKey'
|
|
32199
|
-
},
|
|
32200
|
-
{
|
|
32201
|
-
scheme: 'bearer',
|
|
32202
|
-
type: 'http'
|
|
32203
|
-
},
|
|
32204
|
-
{
|
|
32205
|
-
scheme: 'bearer',
|
|
32206
|
-
type: 'http'
|
|
32207
|
-
}
|
|
32208
|
-
],
|
|
32209
|
-
url: '/api/offering-keycloak-groups/test_connection/',
|
|
32210
|
-
...options,
|
|
32211
|
-
headers: {
|
|
32212
|
-
'Content-Type': 'application/json',
|
|
32213
|
-
...options.headers
|
|
32214
|
-
}
|
|
32215
|
-
});
|
|
32216
|
-
};
|
|
32217
|
-
export const offeringKeycloakMembershipsList = (options) => {
|
|
32218
|
-
return (options?.client ?? _heyApiClient).get({
|
|
32219
|
-
security: [
|
|
32220
|
-
{
|
|
32221
|
-
name: 'Authorization',
|
|
32222
|
-
type: 'apiKey'
|
|
32223
|
-
},
|
|
32224
|
-
{
|
|
32225
|
-
scheme: 'bearer',
|
|
32226
|
-
type: 'http'
|
|
32227
|
-
},
|
|
32228
|
-
{
|
|
32229
|
-
scheme: 'bearer',
|
|
32230
|
-
type: 'http'
|
|
32231
|
-
}
|
|
32232
|
-
],
|
|
32233
|
-
url: '/api/offering-keycloak-memberships/',
|
|
32234
|
-
...options
|
|
32235
|
-
});
|
|
32236
|
-
};
|
|
32237
|
-
/**
|
|
32238
|
-
* Get number of items in the collection matching the request parameters.
|
|
32239
|
-
*/
|
|
32240
|
-
export const offeringKeycloakMembershipsCount = (options) => {
|
|
32241
|
-
return (options?.client ?? _heyApiClient).head({
|
|
32242
|
-
security: [
|
|
32243
|
-
{
|
|
32244
|
-
name: 'Authorization',
|
|
32245
|
-
type: 'apiKey'
|
|
32246
|
-
},
|
|
32247
|
-
{
|
|
32248
|
-
scheme: 'bearer',
|
|
32249
|
-
type: 'http'
|
|
32250
|
-
},
|
|
32251
|
-
{
|
|
32252
|
-
scheme: 'bearer',
|
|
32253
|
-
type: 'http'
|
|
32254
|
-
}
|
|
32255
|
-
],
|
|
32256
|
-
url: '/api/offering-keycloak-memberships/',
|
|
32257
|
-
...options
|
|
32258
|
-
});
|
|
32259
|
-
};
|
|
32260
|
-
export const offeringKeycloakMembershipsCreate = (options) => {
|
|
32261
|
-
return (options.client ?? _heyApiClient).post({
|
|
32262
|
-
security: [
|
|
32263
|
-
{
|
|
32264
|
-
name: 'Authorization',
|
|
32265
|
-
type: 'apiKey'
|
|
32266
|
-
},
|
|
32267
|
-
{
|
|
32268
|
-
scheme: 'bearer',
|
|
32269
|
-
type: 'http'
|
|
32270
|
-
},
|
|
32271
|
-
{
|
|
32272
|
-
scheme: 'bearer',
|
|
32273
|
-
type: 'http'
|
|
32274
|
-
}
|
|
32275
|
-
],
|
|
32276
|
-
url: '/api/offering-keycloak-memberships/',
|
|
32277
|
-
...options,
|
|
32278
|
-
headers: {
|
|
32279
|
-
'Content-Type': 'application/json',
|
|
32280
|
-
...options.headers
|
|
32281
|
-
}
|
|
32282
|
-
});
|
|
32283
|
-
};
|
|
32284
|
-
export const offeringKeycloakMembershipsDestroy = (options) => {
|
|
32285
|
-
return (options.client ?? _heyApiClient).delete({
|
|
32286
|
-
security: [
|
|
32287
|
-
{
|
|
32288
|
-
name: 'Authorization',
|
|
32289
|
-
type: 'apiKey'
|
|
32290
|
-
},
|
|
32291
|
-
{
|
|
32292
|
-
scheme: 'bearer',
|
|
32293
|
-
type: 'http'
|
|
32294
|
-
},
|
|
32295
|
-
{
|
|
32296
|
-
scheme: 'bearer',
|
|
32297
|
-
type: 'http'
|
|
32298
|
-
}
|
|
32299
|
-
],
|
|
32300
|
-
url: '/api/offering-keycloak-memberships/{uuid}/',
|
|
32301
|
-
...options
|
|
32302
|
-
});
|
|
32303
|
-
};
|
|
32304
|
-
export const offeringKeycloakMembershipsRetrieve = (options) => {
|
|
32305
|
-
return (options.client ?? _heyApiClient).get({
|
|
32306
|
-
security: [
|
|
32307
|
-
{
|
|
32308
|
-
name: 'Authorization',
|
|
32309
|
-
type: 'apiKey'
|
|
32310
|
-
},
|
|
32311
|
-
{
|
|
32312
|
-
scheme: 'bearer',
|
|
32313
|
-
type: 'http'
|
|
32314
|
-
},
|
|
32315
|
-
{
|
|
32316
|
-
scheme: 'bearer',
|
|
32317
|
-
type: 'http'
|
|
32318
|
-
}
|
|
32319
|
-
],
|
|
32320
|
-
url: '/api/offering-keycloak-memberships/{uuid}/',
|
|
32321
|
-
...options
|
|
32322
|
-
});
|
|
32323
|
-
};
|
|
32324
33228
|
export const onboardingJustificationsList = (options) => {
|
|
32325
33229
|
return (options?.client ?? _heyApiClient).get({
|
|
32326
33230
|
security: [
|
|
@@ -33182,6 +34086,69 @@ export const onboardingSupportedCountriesRetrieve = (options) => {
|
|
|
33182
34086
|
...options
|
|
33183
34087
|
});
|
|
33184
34088
|
};
|
|
34089
|
+
export const openportalAccountingSummaryList = (options) => {
|
|
34090
|
+
return (options?.client ?? _heyApiClient).get({
|
|
34091
|
+
security: [
|
|
34092
|
+
{
|
|
34093
|
+
name: 'Authorization',
|
|
34094
|
+
type: 'apiKey'
|
|
34095
|
+
},
|
|
34096
|
+
{
|
|
34097
|
+
scheme: 'bearer',
|
|
34098
|
+
type: 'http'
|
|
34099
|
+
},
|
|
34100
|
+
{
|
|
34101
|
+
scheme: 'bearer',
|
|
34102
|
+
type: 'http'
|
|
34103
|
+
}
|
|
34104
|
+
],
|
|
34105
|
+
url: '/api/openportal-accounting-summary/',
|
|
34106
|
+
...options
|
|
34107
|
+
});
|
|
34108
|
+
};
|
|
34109
|
+
/**
|
|
34110
|
+
* Get number of items in the collection matching the request parameters.
|
|
34111
|
+
*/
|
|
34112
|
+
export const openportalAccountingSummaryCount = (options) => {
|
|
34113
|
+
return (options?.client ?? _heyApiClient).head({
|
|
34114
|
+
security: [
|
|
34115
|
+
{
|
|
34116
|
+
name: 'Authorization',
|
|
34117
|
+
type: 'apiKey'
|
|
34118
|
+
},
|
|
34119
|
+
{
|
|
34120
|
+
scheme: 'bearer',
|
|
34121
|
+
type: 'http'
|
|
34122
|
+
},
|
|
34123
|
+
{
|
|
34124
|
+
scheme: 'bearer',
|
|
34125
|
+
type: 'http'
|
|
34126
|
+
}
|
|
34127
|
+
],
|
|
34128
|
+
url: '/api/openportal-accounting-summary/',
|
|
34129
|
+
...options
|
|
34130
|
+
});
|
|
34131
|
+
};
|
|
34132
|
+
export const openportalAccountingSummaryRetrieve = (options) => {
|
|
34133
|
+
return (options.client ?? _heyApiClient).get({
|
|
34134
|
+
security: [
|
|
34135
|
+
{
|
|
34136
|
+
name: 'Authorization',
|
|
34137
|
+
type: 'apiKey'
|
|
34138
|
+
},
|
|
34139
|
+
{
|
|
34140
|
+
scheme: 'bearer',
|
|
34141
|
+
type: 'http'
|
|
34142
|
+
},
|
|
34143
|
+
{
|
|
34144
|
+
scheme: 'bearer',
|
|
34145
|
+
type: 'http'
|
|
34146
|
+
}
|
|
34147
|
+
],
|
|
34148
|
+
url: '/api/openportal-accounting-summary/{uuid}/',
|
|
34149
|
+
...options
|
|
34150
|
+
});
|
|
34151
|
+
};
|
|
33185
34152
|
export const openportalAllocationUserUsageList = (options) => {
|
|
33186
34153
|
return (options?.client ?? _heyApiClient).get({
|
|
33187
34154
|
security: [
|
|
@@ -33808,6 +34775,69 @@ export const openportalManagedProjectsReject = (options) => {
|
|
|
33808
34775
|
}
|
|
33809
34776
|
});
|
|
33810
34777
|
};
|
|
34778
|
+
export const openportalProjectStorageReportsList = (options) => {
|
|
34779
|
+
return (options?.client ?? _heyApiClient).get({
|
|
34780
|
+
security: [
|
|
34781
|
+
{
|
|
34782
|
+
name: 'Authorization',
|
|
34783
|
+
type: 'apiKey'
|
|
34784
|
+
},
|
|
34785
|
+
{
|
|
34786
|
+
scheme: 'bearer',
|
|
34787
|
+
type: 'http'
|
|
34788
|
+
},
|
|
34789
|
+
{
|
|
34790
|
+
scheme: 'bearer',
|
|
34791
|
+
type: 'http'
|
|
34792
|
+
}
|
|
34793
|
+
],
|
|
34794
|
+
url: '/api/openportal-project-storage-reports/',
|
|
34795
|
+
...options
|
|
34796
|
+
});
|
|
34797
|
+
};
|
|
34798
|
+
/**
|
|
34799
|
+
* Get number of items in the collection matching the request parameters.
|
|
34800
|
+
*/
|
|
34801
|
+
export const openportalProjectStorageReportsCount = (options) => {
|
|
34802
|
+
return (options?.client ?? _heyApiClient).head({
|
|
34803
|
+
security: [
|
|
34804
|
+
{
|
|
34805
|
+
name: 'Authorization',
|
|
34806
|
+
type: 'apiKey'
|
|
34807
|
+
},
|
|
34808
|
+
{
|
|
34809
|
+
scheme: 'bearer',
|
|
34810
|
+
type: 'http'
|
|
34811
|
+
},
|
|
34812
|
+
{
|
|
34813
|
+
scheme: 'bearer',
|
|
34814
|
+
type: 'http'
|
|
34815
|
+
}
|
|
34816
|
+
],
|
|
34817
|
+
url: '/api/openportal-project-storage-reports/',
|
|
34818
|
+
...options
|
|
34819
|
+
});
|
|
34820
|
+
};
|
|
34821
|
+
export const openportalProjectStorageReportsRetrieve = (options) => {
|
|
34822
|
+
return (options.client ?? _heyApiClient).get({
|
|
34823
|
+
security: [
|
|
34824
|
+
{
|
|
34825
|
+
name: 'Authorization',
|
|
34826
|
+
type: 'apiKey'
|
|
34827
|
+
},
|
|
34828
|
+
{
|
|
34829
|
+
scheme: 'bearer',
|
|
34830
|
+
type: 'http'
|
|
34831
|
+
},
|
|
34832
|
+
{
|
|
34833
|
+
scheme: 'bearer',
|
|
34834
|
+
type: 'http'
|
|
34835
|
+
}
|
|
34836
|
+
],
|
|
34837
|
+
url: '/api/openportal-project-storage-reports/{id}/',
|
|
34838
|
+
...options
|
|
34839
|
+
});
|
|
34840
|
+
};
|
|
33811
34841
|
export const openportalProjectTemplateList = (options) => {
|
|
33812
34842
|
return (options?.client ?? _heyApiClient).get({
|
|
33813
34843
|
security: [
|
|
@@ -33995,6 +35025,69 @@ export const openportalProjectTemplateDeleteDestroy = (options) => {
|
|
|
33995
35025
|
...options
|
|
33996
35026
|
});
|
|
33997
35027
|
};
|
|
35028
|
+
export const openportalProjectUsageReportsList = (options) => {
|
|
35029
|
+
return (options?.client ?? _heyApiClient).get({
|
|
35030
|
+
security: [
|
|
35031
|
+
{
|
|
35032
|
+
name: 'Authorization',
|
|
35033
|
+
type: 'apiKey'
|
|
35034
|
+
},
|
|
35035
|
+
{
|
|
35036
|
+
scheme: 'bearer',
|
|
35037
|
+
type: 'http'
|
|
35038
|
+
},
|
|
35039
|
+
{
|
|
35040
|
+
scheme: 'bearer',
|
|
35041
|
+
type: 'http'
|
|
35042
|
+
}
|
|
35043
|
+
],
|
|
35044
|
+
url: '/api/openportal-project-usage-reports/',
|
|
35045
|
+
...options
|
|
35046
|
+
});
|
|
35047
|
+
};
|
|
35048
|
+
/**
|
|
35049
|
+
* Get number of items in the collection matching the request parameters.
|
|
35050
|
+
*/
|
|
35051
|
+
export const openportalProjectUsageReportsCount = (options) => {
|
|
35052
|
+
return (options?.client ?? _heyApiClient).head({
|
|
35053
|
+
security: [
|
|
35054
|
+
{
|
|
35055
|
+
name: 'Authorization',
|
|
35056
|
+
type: 'apiKey'
|
|
35057
|
+
},
|
|
35058
|
+
{
|
|
35059
|
+
scheme: 'bearer',
|
|
35060
|
+
type: 'http'
|
|
35061
|
+
},
|
|
35062
|
+
{
|
|
35063
|
+
scheme: 'bearer',
|
|
35064
|
+
type: 'http'
|
|
35065
|
+
}
|
|
35066
|
+
],
|
|
35067
|
+
url: '/api/openportal-project-usage-reports/',
|
|
35068
|
+
...options
|
|
35069
|
+
});
|
|
35070
|
+
};
|
|
35071
|
+
export const openportalProjectUsageReportsRetrieve = (options) => {
|
|
35072
|
+
return (options.client ?? _heyApiClient).get({
|
|
35073
|
+
security: [
|
|
35074
|
+
{
|
|
35075
|
+
name: 'Authorization',
|
|
35076
|
+
type: 'apiKey'
|
|
35077
|
+
},
|
|
35078
|
+
{
|
|
35079
|
+
scheme: 'bearer',
|
|
35080
|
+
type: 'http'
|
|
35081
|
+
},
|
|
35082
|
+
{
|
|
35083
|
+
scheme: 'bearer',
|
|
35084
|
+
type: 'http'
|
|
35085
|
+
}
|
|
35086
|
+
],
|
|
35087
|
+
url: '/api/openportal-project-usage-reports/{id}/',
|
|
35088
|
+
...options
|
|
35089
|
+
});
|
|
35090
|
+
};
|
|
33998
35091
|
export const openportalProjectinfoList = (options) => {
|
|
33999
35092
|
return (options?.client ?? _heyApiClient).get({
|
|
34000
35093
|
security: [
|
|
@@ -34796,6 +35889,30 @@ export const openportalUnmanagedProjectsCompletionStatusRetrieve = (options) =>
|
|
|
34796
35889
|
...options
|
|
34797
35890
|
});
|
|
34798
35891
|
};
|
|
35892
|
+
/**
|
|
35893
|
+
* Get project resource usage statistics broken down per offering
|
|
35894
|
+
* Returns one row per (offering, component type, billing type) for all non-terminated resources within the project. Each row's `usage` and `limit_usage` are aggregated using the offering's own `limit_period`, so quarterly offerings report quarter-to-date, yearly report year-to-date, total report lifetime, and monthly report current month. Each row also includes the resolved current period bounds (`current_period_label`, `current_period_start`, `current_period_end`).
|
|
35895
|
+
*/
|
|
35896
|
+
export const openportalUnmanagedProjectsComponentsUsageRetrieve = (options) => {
|
|
35897
|
+
return (options.client ?? _heyApiClient).get({
|
|
35898
|
+
security: [
|
|
35899
|
+
{
|
|
35900
|
+
name: 'Authorization',
|
|
35901
|
+
type: 'apiKey'
|
|
35902
|
+
},
|
|
35903
|
+
{
|
|
35904
|
+
scheme: 'bearer',
|
|
35905
|
+
type: 'http'
|
|
35906
|
+
},
|
|
35907
|
+
{
|
|
35908
|
+
scheme: 'bearer',
|
|
35909
|
+
type: 'http'
|
|
35910
|
+
}
|
|
35911
|
+
],
|
|
35912
|
+
url: '/api/openportal-unmanaged-projects/{uuid}/components-usage/',
|
|
35913
|
+
...options
|
|
35914
|
+
});
|
|
35915
|
+
};
|
|
34799
35916
|
/**
|
|
34800
35917
|
* Revoke a role from a user
|
|
34801
35918
|
* Removes a specific role from a user within the current scope. This effectively revokes their permissions associated with that role.
|
|
@@ -35279,6 +36396,95 @@ export const openportalUserinfoMeCount = (options) => {
|
|
|
35279
36396
|
...options
|
|
35280
36397
|
});
|
|
35281
36398
|
};
|
|
36399
|
+
export const openportalAccessForEmailList = (options) => {
|
|
36400
|
+
return (options.client ?? _heyApiClient).get({
|
|
36401
|
+
security: [
|
|
36402
|
+
{
|
|
36403
|
+
name: 'Authorization',
|
|
36404
|
+
type: 'apiKey'
|
|
36405
|
+
},
|
|
36406
|
+
{
|
|
36407
|
+
scheme: 'bearer',
|
|
36408
|
+
type: 'http'
|
|
36409
|
+
},
|
|
36410
|
+
{
|
|
36411
|
+
scheme: 'bearer',
|
|
36412
|
+
type: 'http'
|
|
36413
|
+
}
|
|
36414
|
+
],
|
|
36415
|
+
url: '/api/openportal/access_for_email/',
|
|
36416
|
+
...options
|
|
36417
|
+
});
|
|
36418
|
+
};
|
|
36419
|
+
/**
|
|
36420
|
+
* Map OpenPortal destination strings to Waldur Offering objects. Pass each destination as a repeated 'identifier' query parameter. Returns a dict keyed by identifier; unknown destinations map to null. Accessible to all authenticated users.
|
|
36421
|
+
*/
|
|
36422
|
+
export const openportalOfferingMappingRetrieve = (options) => {
|
|
36423
|
+
return (options?.client ?? _heyApiClient).get({
|
|
36424
|
+
security: [
|
|
36425
|
+
{
|
|
36426
|
+
name: 'Authorization',
|
|
36427
|
+
type: 'apiKey'
|
|
36428
|
+
},
|
|
36429
|
+
{
|
|
36430
|
+
scheme: 'bearer',
|
|
36431
|
+
type: 'http'
|
|
36432
|
+
},
|
|
36433
|
+
{
|
|
36434
|
+
scheme: 'bearer',
|
|
36435
|
+
type: 'http'
|
|
36436
|
+
}
|
|
36437
|
+
],
|
|
36438
|
+
url: '/api/openportal/offering_mapping/',
|
|
36439
|
+
...options
|
|
36440
|
+
});
|
|
36441
|
+
};
|
|
36442
|
+
/**
|
|
36443
|
+
* Map OpenPortal ProjectIdentifier strings to Waldur Project objects. Pass each identifier as a repeated 'identifier' query parameter. Returns a dict keyed by identifier; unknown identifiers map to null. Staff and support see all projects; regular users see only projects they are a member of.
|
|
36444
|
+
*/
|
|
36445
|
+
export const openportalProjectMappingRetrieve = (options) => {
|
|
36446
|
+
return (options?.client ?? _heyApiClient).get({
|
|
36447
|
+
security: [
|
|
36448
|
+
{
|
|
36449
|
+
name: 'Authorization',
|
|
36450
|
+
type: 'apiKey'
|
|
36451
|
+
},
|
|
36452
|
+
{
|
|
36453
|
+
scheme: 'bearer',
|
|
36454
|
+
type: 'http'
|
|
36455
|
+
},
|
|
36456
|
+
{
|
|
36457
|
+
scheme: 'bearer',
|
|
36458
|
+
type: 'http'
|
|
36459
|
+
}
|
|
36460
|
+
],
|
|
36461
|
+
url: '/api/openportal/project_mapping/',
|
|
36462
|
+
...options
|
|
36463
|
+
});
|
|
36464
|
+
};
|
|
36465
|
+
/**
|
|
36466
|
+
* Map OpenPortal UserIdentifier strings (or email addresses) to Waldur User objects. Pass each value as a repeated 'identifier' query parameter. If the values contain '@' they are treated as email addresses (used for cached reports from remote portals); otherwise they are treated as UserIdentifier strings (used for local OpenPortal resources). Returns a dict keyed by the supplied string; unknown values map to null. Staff and support see all users; regular users may only look up users who share a project with them.
|
|
36467
|
+
*/
|
|
36468
|
+
export const openportalUserMappingRetrieve = (options) => {
|
|
36469
|
+
return (options?.client ?? _heyApiClient).get({
|
|
36470
|
+
security: [
|
|
36471
|
+
{
|
|
36472
|
+
name: 'Authorization',
|
|
36473
|
+
type: 'apiKey'
|
|
36474
|
+
},
|
|
36475
|
+
{
|
|
36476
|
+
scheme: 'bearer',
|
|
36477
|
+
type: 'http'
|
|
36478
|
+
},
|
|
36479
|
+
{
|
|
36480
|
+
scheme: 'bearer',
|
|
36481
|
+
type: 'http'
|
|
36482
|
+
}
|
|
36483
|
+
],
|
|
36484
|
+
url: '/api/openportal/user_mapping/',
|
|
36485
|
+
...options
|
|
36486
|
+
});
|
|
36487
|
+
};
|
|
35282
36488
|
/**
|
|
35283
36489
|
* List backups
|
|
35284
36490
|
* Get a list of instance backups.
|
|
@@ -36235,6 +37441,228 @@ export const openstackHealthMonitorsPull = (options) => {
|
|
|
36235
37441
|
...options
|
|
36236
37442
|
});
|
|
36237
37443
|
};
|
|
37444
|
+
export const openstackHypervisorInventoriesList = (options) => {
|
|
37445
|
+
return (options?.client ?? _heyApiClient).get({
|
|
37446
|
+
security: [
|
|
37447
|
+
{
|
|
37448
|
+
name: 'Authorization',
|
|
37449
|
+
type: 'apiKey'
|
|
37450
|
+
},
|
|
37451
|
+
{
|
|
37452
|
+
scheme: 'bearer',
|
|
37453
|
+
type: 'http'
|
|
37454
|
+
},
|
|
37455
|
+
{
|
|
37456
|
+
scheme: 'bearer',
|
|
37457
|
+
type: 'http'
|
|
37458
|
+
}
|
|
37459
|
+
],
|
|
37460
|
+
url: '/api/openstack-hypervisor-inventories/',
|
|
37461
|
+
...options
|
|
37462
|
+
});
|
|
37463
|
+
};
|
|
37464
|
+
/**
|
|
37465
|
+
* Get number of items in the collection matching the request parameters.
|
|
37466
|
+
*/
|
|
37467
|
+
export const openstackHypervisorInventoriesCount = (options) => {
|
|
37468
|
+
return (options?.client ?? _heyApiClient).head({
|
|
37469
|
+
security: [
|
|
37470
|
+
{
|
|
37471
|
+
name: 'Authorization',
|
|
37472
|
+
type: 'apiKey'
|
|
37473
|
+
},
|
|
37474
|
+
{
|
|
37475
|
+
scheme: 'bearer',
|
|
37476
|
+
type: 'http'
|
|
37477
|
+
},
|
|
37478
|
+
{
|
|
37479
|
+
scheme: 'bearer',
|
|
37480
|
+
type: 'http'
|
|
37481
|
+
}
|
|
37482
|
+
],
|
|
37483
|
+
url: '/api/openstack-hypervisor-inventories/',
|
|
37484
|
+
...options
|
|
37485
|
+
});
|
|
37486
|
+
};
|
|
37487
|
+
export const openstackHypervisorInventoriesRetrieve = (options) => {
|
|
37488
|
+
return (options.client ?? _heyApiClient).get({
|
|
37489
|
+
security: [
|
|
37490
|
+
{
|
|
37491
|
+
name: 'Authorization',
|
|
37492
|
+
type: 'apiKey'
|
|
37493
|
+
},
|
|
37494
|
+
{
|
|
37495
|
+
scheme: 'bearer',
|
|
37496
|
+
type: 'http'
|
|
37497
|
+
},
|
|
37498
|
+
{
|
|
37499
|
+
scheme: 'bearer',
|
|
37500
|
+
type: 'http'
|
|
37501
|
+
}
|
|
37502
|
+
],
|
|
37503
|
+
url: '/api/openstack-hypervisor-inventories/{uuid}/',
|
|
37504
|
+
...options
|
|
37505
|
+
});
|
|
37506
|
+
};
|
|
37507
|
+
export const openstackHypervisorsList = (options) => {
|
|
37508
|
+
return (options?.client ?? _heyApiClient).get({
|
|
37509
|
+
security: [
|
|
37510
|
+
{
|
|
37511
|
+
name: 'Authorization',
|
|
37512
|
+
type: 'apiKey'
|
|
37513
|
+
},
|
|
37514
|
+
{
|
|
37515
|
+
scheme: 'bearer',
|
|
37516
|
+
type: 'http'
|
|
37517
|
+
},
|
|
37518
|
+
{
|
|
37519
|
+
scheme: 'bearer',
|
|
37520
|
+
type: 'http'
|
|
37521
|
+
}
|
|
37522
|
+
],
|
|
37523
|
+
url: '/api/openstack-hypervisors/',
|
|
37524
|
+
...options
|
|
37525
|
+
});
|
|
37526
|
+
};
|
|
37527
|
+
/**
|
|
37528
|
+
* Get number of items in the collection matching the request parameters.
|
|
37529
|
+
*/
|
|
37530
|
+
export const openstackHypervisorsCount = (options) => {
|
|
37531
|
+
return (options?.client ?? _heyApiClient).head({
|
|
37532
|
+
security: [
|
|
37533
|
+
{
|
|
37534
|
+
name: 'Authorization',
|
|
37535
|
+
type: 'apiKey'
|
|
37536
|
+
},
|
|
37537
|
+
{
|
|
37538
|
+
scheme: 'bearer',
|
|
37539
|
+
type: 'http'
|
|
37540
|
+
},
|
|
37541
|
+
{
|
|
37542
|
+
scheme: 'bearer',
|
|
37543
|
+
type: 'http'
|
|
37544
|
+
}
|
|
37545
|
+
],
|
|
37546
|
+
url: '/api/openstack-hypervisors/',
|
|
37547
|
+
...options
|
|
37548
|
+
});
|
|
37549
|
+
};
|
|
37550
|
+
export const openstackHypervisorsRetrieve = (options) => {
|
|
37551
|
+
return (options.client ?? _heyApiClient).get({
|
|
37552
|
+
security: [
|
|
37553
|
+
{
|
|
37554
|
+
name: 'Authorization',
|
|
37555
|
+
type: 'apiKey'
|
|
37556
|
+
},
|
|
37557
|
+
{
|
|
37558
|
+
scheme: 'bearer',
|
|
37559
|
+
type: 'http'
|
|
37560
|
+
},
|
|
37561
|
+
{
|
|
37562
|
+
scheme: 'bearer',
|
|
37563
|
+
type: 'http'
|
|
37564
|
+
}
|
|
37565
|
+
],
|
|
37566
|
+
url: '/api/openstack-hypervisors/{uuid}/',
|
|
37567
|
+
...options
|
|
37568
|
+
});
|
|
37569
|
+
};
|
|
37570
|
+
/**
|
|
37571
|
+
* Pre-flight allocation candidates
|
|
37572
|
+
* Ask Placement which compute hosts could currently satisfy a request for the given resources (and required traits). Useful as a pre-flight check before placing an order on a fully-booked cloud. Returns 0 candidates when nothing fits, with the same provider_summaries Placement returns for diagnostic display.
|
|
37573
|
+
*/
|
|
37574
|
+
export const openstackHypervisorsAllocationCandidatesRetrieve = (options) => {
|
|
37575
|
+
return (options.client ?? _heyApiClient).get({
|
|
37576
|
+
security: [
|
|
37577
|
+
{
|
|
37578
|
+
name: 'Authorization',
|
|
37579
|
+
type: 'apiKey'
|
|
37580
|
+
},
|
|
37581
|
+
{
|
|
37582
|
+
scheme: 'bearer',
|
|
37583
|
+
type: 'http'
|
|
37584
|
+
},
|
|
37585
|
+
{
|
|
37586
|
+
scheme: 'bearer',
|
|
37587
|
+
type: 'http'
|
|
37588
|
+
}
|
|
37589
|
+
],
|
|
37590
|
+
url: '/api/openstack-hypervisors/allocation_candidates/',
|
|
37591
|
+
...options
|
|
37592
|
+
});
|
|
37593
|
+
};
|
|
37594
|
+
/**
|
|
37595
|
+
* Pre-flight allocation candidates
|
|
37596
|
+
* Get number of items in the collection matching the request parameters.
|
|
37597
|
+
*/
|
|
37598
|
+
export const openstackHypervisorsAllocationCandidatesCount = (options) => {
|
|
37599
|
+
return (options.client ?? _heyApiClient).head({
|
|
37600
|
+
security: [
|
|
37601
|
+
{
|
|
37602
|
+
name: 'Authorization',
|
|
37603
|
+
type: 'apiKey'
|
|
37604
|
+
},
|
|
37605
|
+
{
|
|
37606
|
+
scheme: 'bearer',
|
|
37607
|
+
type: 'http'
|
|
37608
|
+
},
|
|
37609
|
+
{
|
|
37610
|
+
scheme: 'bearer',
|
|
37611
|
+
type: 'http'
|
|
37612
|
+
}
|
|
37613
|
+
],
|
|
37614
|
+
url: '/api/openstack-hypervisors/allocation_candidates/',
|
|
37615
|
+
...options
|
|
37616
|
+
});
|
|
37617
|
+
};
|
|
37618
|
+
/**
|
|
37619
|
+
* Get hypervisor summary statistics
|
|
37620
|
+
* Return aggregated vCPU, RAM and disk totals across all hypervisors matching the current filter (e.g. settings_uuid).
|
|
37621
|
+
*/
|
|
37622
|
+
export const openstackHypervisorsSummaryRetrieve = (options) => {
|
|
37623
|
+
return (options.client ?? _heyApiClient).get({
|
|
37624
|
+
security: [
|
|
37625
|
+
{
|
|
37626
|
+
name: 'Authorization',
|
|
37627
|
+
type: 'apiKey'
|
|
37628
|
+
},
|
|
37629
|
+
{
|
|
37630
|
+
scheme: 'bearer',
|
|
37631
|
+
type: 'http'
|
|
37632
|
+
},
|
|
37633
|
+
{
|
|
37634
|
+
scheme: 'bearer',
|
|
37635
|
+
type: 'http'
|
|
37636
|
+
}
|
|
37637
|
+
],
|
|
37638
|
+
url: '/api/openstack-hypervisors/summary/',
|
|
37639
|
+
...options
|
|
37640
|
+
});
|
|
37641
|
+
};
|
|
37642
|
+
/**
|
|
37643
|
+
* Get hypervisor summary statistics
|
|
37644
|
+
* Get number of items in the collection matching the request parameters.
|
|
37645
|
+
*/
|
|
37646
|
+
export const openstackHypervisorsSummaryCount = (options) => {
|
|
37647
|
+
return (options.client ?? _heyApiClient).head({
|
|
37648
|
+
security: [
|
|
37649
|
+
{
|
|
37650
|
+
name: 'Authorization',
|
|
37651
|
+
type: 'apiKey'
|
|
37652
|
+
},
|
|
37653
|
+
{
|
|
37654
|
+
scheme: 'bearer',
|
|
37655
|
+
type: 'http'
|
|
37656
|
+
},
|
|
37657
|
+
{
|
|
37658
|
+
scheme: 'bearer',
|
|
37659
|
+
type: 'http'
|
|
37660
|
+
}
|
|
37661
|
+
],
|
|
37662
|
+
url: '/api/openstack-hypervisors/summary/',
|
|
37663
|
+
...options
|
|
37664
|
+
});
|
|
37665
|
+
};
|
|
36238
37666
|
/**
|
|
36239
37667
|
* List images
|
|
36240
37668
|
* Get a list of available VM instance images.
|
|
@@ -36683,6 +38111,30 @@ export const openstackInstancesFloatingIpsList = (options) => {
|
|
|
36683
38111
|
...options
|
|
36684
38112
|
});
|
|
36685
38113
|
};
|
|
38114
|
+
/**
|
|
38115
|
+
* Get Placement allocations for the instance
|
|
38116
|
+
* Return what the OpenStack Placement service records as currently allocated to this instance, broken down by resource provider. Useful for diagnostics — especially for non-classic resources (VGPU, PCI_DEVICE, custom classes) that the flavor alone does not describe. Returns an empty list when Placement has no record (e.g. transient state right after create, or pre-Placement clouds).
|
|
38117
|
+
*/
|
|
38118
|
+
export const openstackInstancesPlacementAllocationsList = (options) => {
|
|
38119
|
+
return (options.client ?? _heyApiClient).get({
|
|
38120
|
+
security: [
|
|
38121
|
+
{
|
|
38122
|
+
name: 'Authorization',
|
|
38123
|
+
type: 'apiKey'
|
|
38124
|
+
},
|
|
38125
|
+
{
|
|
38126
|
+
scheme: 'bearer',
|
|
38127
|
+
type: 'http'
|
|
38128
|
+
},
|
|
38129
|
+
{
|
|
38130
|
+
scheme: 'bearer',
|
|
38131
|
+
type: 'http'
|
|
38132
|
+
}
|
|
38133
|
+
],
|
|
38134
|
+
url: '/api/openstack-instances/{uuid}/placement_allocations/',
|
|
38135
|
+
...options
|
|
38136
|
+
});
|
|
38137
|
+
};
|
|
36686
38138
|
/**
|
|
36687
38139
|
* List instance ports
|
|
36688
38140
|
* Get a list of instance ports
|
|
@@ -36731,6 +38183,34 @@ export const openstackInstancesPull = (options) => {
|
|
|
36731
38183
|
...options
|
|
36732
38184
|
});
|
|
36733
38185
|
};
|
|
38186
|
+
/**
|
|
38187
|
+
* Rescue instance
|
|
38188
|
+
* Boot the instance from a separate rescue image while keeping the original disk attached. Volume-backed instances require an explicit rescue_image with hw_rescue_device or hw_rescue_bus set.
|
|
38189
|
+
*/
|
|
38190
|
+
export const openstackInstancesRescue = (options) => {
|
|
38191
|
+
return (options.client ?? _heyApiClient).post({
|
|
38192
|
+
security: [
|
|
38193
|
+
{
|
|
38194
|
+
name: 'Authorization',
|
|
38195
|
+
type: 'apiKey'
|
|
38196
|
+
},
|
|
38197
|
+
{
|
|
38198
|
+
scheme: 'bearer',
|
|
38199
|
+
type: 'http'
|
|
38200
|
+
},
|
|
38201
|
+
{
|
|
38202
|
+
scheme: 'bearer',
|
|
38203
|
+
type: 'http'
|
|
38204
|
+
}
|
|
38205
|
+
],
|
|
38206
|
+
url: '/api/openstack-instances/{uuid}/rescue/',
|
|
38207
|
+
...options,
|
|
38208
|
+
headers: {
|
|
38209
|
+
'Content-Type': 'application/json',
|
|
38210
|
+
...options.headers
|
|
38211
|
+
}
|
|
38212
|
+
});
|
|
38213
|
+
};
|
|
36734
38214
|
/**
|
|
36735
38215
|
* Restart instance
|
|
36736
38216
|
* Restart the instance
|
|
@@ -36881,6 +38361,30 @@ export const openstackInstancesUnlink = (options) => {
|
|
|
36881
38361
|
...options
|
|
36882
38362
|
});
|
|
36883
38363
|
};
|
|
38364
|
+
/**
|
|
38365
|
+
* Unrescue instance
|
|
38366
|
+
* Restore the instance from rescue mode.
|
|
38367
|
+
*/
|
|
38368
|
+
export const openstackInstancesUnrescue = (options) => {
|
|
38369
|
+
return (options.client ?? _heyApiClient).post({
|
|
38370
|
+
security: [
|
|
38371
|
+
{
|
|
38372
|
+
name: 'Authorization',
|
|
38373
|
+
type: 'apiKey'
|
|
38374
|
+
},
|
|
38375
|
+
{
|
|
38376
|
+
scheme: 'bearer',
|
|
38377
|
+
type: 'http'
|
|
38378
|
+
},
|
|
38379
|
+
{
|
|
38380
|
+
scheme: 'bearer',
|
|
38381
|
+
type: 'http'
|
|
38382
|
+
}
|
|
38383
|
+
],
|
|
38384
|
+
url: '/api/openstack-instances/{uuid}/unrescue/',
|
|
38385
|
+
...options
|
|
38386
|
+
});
|
|
38387
|
+
};
|
|
36884
38388
|
/**
|
|
36885
38389
|
* Update instance allowed address pairs
|
|
36886
38390
|
* Update allowed address pairs of the instance
|
|
@@ -39301,6 +40805,54 @@ export const openstackRoutersAddRouterInterface = (options) => {
|
|
|
39301
40805
|
}
|
|
39302
40806
|
});
|
|
39303
40807
|
};
|
|
40808
|
+
/**
|
|
40809
|
+
* List available external networks
|
|
40810
|
+
* Returns a merged list of external networks available for this router's tenant, from both global external networks and RBAC-exposed networks.
|
|
40811
|
+
*/
|
|
40812
|
+
export const openstackRoutersAvailableExternalNetworksList = (options) => {
|
|
40813
|
+
return (options.client ?? _heyApiClient).get({
|
|
40814
|
+
security: [
|
|
40815
|
+
{
|
|
40816
|
+
name: 'Authorization',
|
|
40817
|
+
type: 'apiKey'
|
|
40818
|
+
},
|
|
40819
|
+
{
|
|
40820
|
+
scheme: 'bearer',
|
|
40821
|
+
type: 'http'
|
|
40822
|
+
},
|
|
40823
|
+
{
|
|
40824
|
+
scheme: 'bearer',
|
|
40825
|
+
type: 'http'
|
|
40826
|
+
}
|
|
40827
|
+
],
|
|
40828
|
+
url: '/api/openstack-routers/{uuid}/available_external_networks/',
|
|
40829
|
+
...options
|
|
40830
|
+
});
|
|
40831
|
+
};
|
|
40832
|
+
/**
|
|
40833
|
+
* Remove external gateway
|
|
40834
|
+
* Remove the external gateway from this router.
|
|
40835
|
+
*/
|
|
40836
|
+
export const openstackRoutersRemoveExternalGateway = (options) => {
|
|
40837
|
+
return (options.client ?? _heyApiClient).post({
|
|
40838
|
+
security: [
|
|
40839
|
+
{
|
|
40840
|
+
name: 'Authorization',
|
|
40841
|
+
type: 'apiKey'
|
|
40842
|
+
},
|
|
40843
|
+
{
|
|
40844
|
+
scheme: 'bearer',
|
|
40845
|
+
type: 'http'
|
|
40846
|
+
},
|
|
40847
|
+
{
|
|
40848
|
+
scheme: 'bearer',
|
|
40849
|
+
type: 'http'
|
|
40850
|
+
}
|
|
40851
|
+
],
|
|
40852
|
+
url: '/api/openstack-routers/{uuid}/remove_external_gateway/',
|
|
40853
|
+
...options
|
|
40854
|
+
});
|
|
40855
|
+
};
|
|
39304
40856
|
/**
|
|
39305
40857
|
* Remove router interface
|
|
39306
40858
|
* Remove interface from router. Either subnet or port must be provided.
|
|
@@ -39357,6 +40909,34 @@ export const openstackRoutersSetErred = (options) => {
|
|
|
39357
40909
|
}
|
|
39358
40910
|
});
|
|
39359
40911
|
};
|
|
40912
|
+
/**
|
|
40913
|
+
* Set external gateway
|
|
40914
|
+
* Set an external network as the gateway for this router. Advanced options (SNAT control, fixed IPs) require additional permissions.
|
|
40915
|
+
*/
|
|
40916
|
+
export const openstackRoutersSetExternalGateway = (options) => {
|
|
40917
|
+
return (options.client ?? _heyApiClient).post({
|
|
40918
|
+
security: [
|
|
40919
|
+
{
|
|
40920
|
+
name: 'Authorization',
|
|
40921
|
+
type: 'apiKey'
|
|
40922
|
+
},
|
|
40923
|
+
{
|
|
40924
|
+
scheme: 'bearer',
|
|
40925
|
+
type: 'http'
|
|
40926
|
+
},
|
|
40927
|
+
{
|
|
40928
|
+
scheme: 'bearer',
|
|
40929
|
+
type: 'http'
|
|
40930
|
+
}
|
|
40931
|
+
],
|
|
40932
|
+
url: '/api/openstack-routers/{uuid}/set_external_gateway/',
|
|
40933
|
+
...options,
|
|
40934
|
+
headers: {
|
|
40935
|
+
'Content-Type': 'application/json',
|
|
40936
|
+
...options.headers
|
|
40937
|
+
}
|
|
40938
|
+
});
|
|
40939
|
+
};
|
|
39360
40940
|
/**
|
|
39361
40941
|
* Mark router as OK
|
|
39362
40942
|
* Manually transition the router to OK state and clear error fields. Staff-only operation.
|
|
@@ -43559,6 +45139,30 @@ export const projectsCompletionStatusRetrieve = (options) => {
|
|
|
43559
45139
|
...options
|
|
43560
45140
|
});
|
|
43561
45141
|
};
|
|
45142
|
+
/**
|
|
45143
|
+
* Get project resource usage statistics broken down per offering
|
|
45144
|
+
* Returns one row per (offering, component type, billing type) for all non-terminated resources within the project. Each row's `usage` and `limit_usage` are aggregated using the offering's own `limit_period`, so quarterly offerings report quarter-to-date, yearly report year-to-date, total report lifetime, and monthly report current month. Each row also includes the resolved current period bounds (`current_period_label`, `current_period_start`, `current_period_end`).
|
|
45145
|
+
*/
|
|
45146
|
+
export const projectsComponentsUsageRetrieve = (options) => {
|
|
45147
|
+
return (options.client ?? _heyApiClient).get({
|
|
45148
|
+
security: [
|
|
45149
|
+
{
|
|
45150
|
+
name: 'Authorization',
|
|
45151
|
+
type: 'apiKey'
|
|
45152
|
+
},
|
|
45153
|
+
{
|
|
45154
|
+
scheme: 'bearer',
|
|
45155
|
+
type: 'http'
|
|
45156
|
+
},
|
|
45157
|
+
{
|
|
45158
|
+
scheme: 'bearer',
|
|
45159
|
+
type: 'http'
|
|
45160
|
+
}
|
|
45161
|
+
],
|
|
45162
|
+
url: '/api/projects/{uuid}/components-usage/',
|
|
45163
|
+
...options
|
|
45164
|
+
});
|
|
45165
|
+
};
|
|
43562
45166
|
/**
|
|
43563
45167
|
* Revoke a role from a user
|
|
43564
45168
|
* Removes a specific role from a user within the current scope. This effectively revokes their permissions associated with that role.
|
|
@@ -44971,29 +46575,6 @@ export const proposalProtectedCallsAffinityMatrixRetrieve = (options) => {
|
|
|
44971
46575
|
...options
|
|
44972
46576
|
});
|
|
44973
46577
|
};
|
|
44974
|
-
/**
|
|
44975
|
-
* Get applicant attribute exposure configuration for this call.
|
|
44976
|
-
*/
|
|
44977
|
-
export const proposalProtectedCallsApplicantAttributeConfigRetrieve = (options) => {
|
|
44978
|
-
return (options.client ?? _heyApiClient).get({
|
|
44979
|
-
security: [
|
|
44980
|
-
{
|
|
44981
|
-
name: 'Authorization',
|
|
44982
|
-
type: 'apiKey'
|
|
44983
|
-
},
|
|
44984
|
-
{
|
|
44985
|
-
scheme: 'bearer',
|
|
44986
|
-
type: 'http'
|
|
44987
|
-
},
|
|
44988
|
-
{
|
|
44989
|
-
scheme: 'bearer',
|
|
44990
|
-
type: 'http'
|
|
44991
|
-
}
|
|
44992
|
-
],
|
|
44993
|
-
url: '/api/proposal-protected-calls/{uuid}/applicant_attribute_config/',
|
|
44994
|
-
...options
|
|
44995
|
-
});
|
|
44996
|
-
};
|
|
44997
46578
|
/**
|
|
44998
46579
|
* Archive a call.
|
|
44999
46580
|
*/
|
|
@@ -45137,11 +46718,7 @@ export const proposalProtectedCallsComputeAffinities = (options) => {
|
|
|
45137
46718
|
}
|
|
45138
46719
|
],
|
|
45139
46720
|
url: '/api/proposal-protected-calls/{uuid}/compute-affinities/',
|
|
45140
|
-
...options
|
|
45141
|
-
headers: {
|
|
45142
|
-
'Content-Type': 'application/json',
|
|
45143
|
-
...options.headers
|
|
45144
|
-
}
|
|
46721
|
+
...options
|
|
45145
46722
|
});
|
|
45146
46723
|
};
|
|
45147
46724
|
/**
|
|
@@ -45217,29 +46794,6 @@ export const proposalProtectedCallsCreateManualAssignment = (options) => {
|
|
|
45217
46794
|
}
|
|
45218
46795
|
});
|
|
45219
46796
|
};
|
|
45220
|
-
/**
|
|
45221
|
-
* Delete custom applicant attribute config, reverting to system defaults.
|
|
45222
|
-
*/
|
|
45223
|
-
export const proposalProtectedCallsDeleteApplicantAttributeConfigDestroy = (options) => {
|
|
45224
|
-
return (options.client ?? _heyApiClient).delete({
|
|
45225
|
-
security: [
|
|
45226
|
-
{
|
|
45227
|
-
name: 'Authorization',
|
|
45228
|
-
type: 'apiKey'
|
|
45229
|
-
},
|
|
45230
|
-
{
|
|
45231
|
-
scheme: 'bearer',
|
|
45232
|
-
type: 'http'
|
|
45233
|
-
},
|
|
45234
|
-
{
|
|
45235
|
-
scheme: 'bearer',
|
|
45236
|
-
type: 'http'
|
|
45237
|
-
}
|
|
45238
|
-
],
|
|
45239
|
-
url: '/api/proposal-protected-calls/{uuid}/delete_applicant_attribute_config/',
|
|
45240
|
-
...options
|
|
45241
|
-
});
|
|
45242
|
-
};
|
|
45243
46797
|
/**
|
|
45244
46798
|
* Revoke a role from a user
|
|
45245
46799
|
* Removes a specific role from a user within the current scope. This effectively revokes their permissions associated with that role.
|
|
@@ -46111,60 +47665,6 @@ export const proposalProtectedCallsSuggestionsList = (options) => {
|
|
|
46111
47665
|
...options
|
|
46112
47666
|
});
|
|
46113
47667
|
};
|
|
46114
|
-
/**
|
|
46115
|
-
* Create or update applicant attribute exposure configuration.
|
|
46116
|
-
*/
|
|
46117
|
-
export const proposalProtectedCallsUpdateApplicantAttributeConfigPartialUpdate = (options) => {
|
|
46118
|
-
return (options.client ?? _heyApiClient).patch({
|
|
46119
|
-
security: [
|
|
46120
|
-
{
|
|
46121
|
-
name: 'Authorization',
|
|
46122
|
-
type: 'apiKey'
|
|
46123
|
-
},
|
|
46124
|
-
{
|
|
46125
|
-
scheme: 'bearer',
|
|
46126
|
-
type: 'http'
|
|
46127
|
-
},
|
|
46128
|
-
{
|
|
46129
|
-
scheme: 'bearer',
|
|
46130
|
-
type: 'http'
|
|
46131
|
-
}
|
|
46132
|
-
],
|
|
46133
|
-
url: '/api/proposal-protected-calls/{uuid}/update_applicant_attribute_config/',
|
|
46134
|
-
...options,
|
|
46135
|
-
headers: {
|
|
46136
|
-
'Content-Type': 'application/json',
|
|
46137
|
-
...options.headers
|
|
46138
|
-
}
|
|
46139
|
-
});
|
|
46140
|
-
};
|
|
46141
|
-
/**
|
|
46142
|
-
* Create or update applicant attribute exposure configuration.
|
|
46143
|
-
*/
|
|
46144
|
-
export const proposalProtectedCallsUpdateApplicantAttributeConfig = (options) => {
|
|
46145
|
-
return (options.client ?? _heyApiClient).post({
|
|
46146
|
-
security: [
|
|
46147
|
-
{
|
|
46148
|
-
name: 'Authorization',
|
|
46149
|
-
type: 'apiKey'
|
|
46150
|
-
},
|
|
46151
|
-
{
|
|
46152
|
-
scheme: 'bearer',
|
|
46153
|
-
type: 'http'
|
|
46154
|
-
},
|
|
46155
|
-
{
|
|
46156
|
-
scheme: 'bearer',
|
|
46157
|
-
type: 'http'
|
|
46158
|
-
}
|
|
46159
|
-
],
|
|
46160
|
-
url: '/api/proposal-protected-calls/{uuid}/update_applicant_attribute_config/',
|
|
46161
|
-
...options,
|
|
46162
|
-
headers: {
|
|
46163
|
-
'Content-Type': 'application/json',
|
|
46164
|
-
...options.headers
|
|
46165
|
-
}
|
|
46166
|
-
});
|
|
46167
|
-
};
|
|
46168
47668
|
/**
|
|
46169
47669
|
* Update a user's role expiration
|
|
46170
47670
|
* Updates the expiration time for a user's existing role in the current scope. This is useful for extending or shortening the duration of a permission. To make a role permanent, set expiration_time to null.
|
|
@@ -47451,11 +48951,7 @@ export const rancherCatalogsRefresh = (options) => {
|
|
|
47451
48951
|
}
|
|
47452
48952
|
],
|
|
47453
48953
|
url: '/api/rancher-catalogs/{uuid}/refresh/',
|
|
47454
|
-
...options
|
|
47455
|
-
headers: {
|
|
47456
|
-
'Content-Type': 'application/json',
|
|
47457
|
-
...options.headers
|
|
47458
|
-
}
|
|
48954
|
+
...options
|
|
47459
48955
|
});
|
|
47460
48956
|
};
|
|
47461
48957
|
export const rancherClusterSecurityGroupsList = (options) => {
|
|
@@ -51436,6 +52932,89 @@ export const reviewerSuggestionsReject = (options) => {
|
|
|
51436
52932
|
}
|
|
51437
52933
|
});
|
|
51438
52934
|
};
|
|
52935
|
+
export const roleAvailabilitiesList = (options) => {
|
|
52936
|
+
return (options?.client ?? _heyApiClient).get({
|
|
52937
|
+
security: [
|
|
52938
|
+
{
|
|
52939
|
+
name: 'Authorization',
|
|
52940
|
+
type: 'apiKey'
|
|
52941
|
+
},
|
|
52942
|
+
{
|
|
52943
|
+
scheme: 'bearer',
|
|
52944
|
+
type: 'http'
|
|
52945
|
+
},
|
|
52946
|
+
{
|
|
52947
|
+
scheme: 'bearer',
|
|
52948
|
+
type: 'http'
|
|
52949
|
+
}
|
|
52950
|
+
],
|
|
52951
|
+
url: '/api/role-availabilities/',
|
|
52952
|
+
...options
|
|
52953
|
+
});
|
|
52954
|
+
};
|
|
52955
|
+
/**
|
|
52956
|
+
* Get number of items in the collection matching the request parameters.
|
|
52957
|
+
*/
|
|
52958
|
+
export const roleAvailabilitiesCount = (options) => {
|
|
52959
|
+
return (options?.client ?? _heyApiClient).head({
|
|
52960
|
+
security: [
|
|
52961
|
+
{
|
|
52962
|
+
name: 'Authorization',
|
|
52963
|
+
type: 'apiKey'
|
|
52964
|
+
},
|
|
52965
|
+
{
|
|
52966
|
+
scheme: 'bearer',
|
|
52967
|
+
type: 'http'
|
|
52968
|
+
},
|
|
52969
|
+
{
|
|
52970
|
+
scheme: 'bearer',
|
|
52971
|
+
type: 'http'
|
|
52972
|
+
}
|
|
52973
|
+
],
|
|
52974
|
+
url: '/api/role-availabilities/',
|
|
52975
|
+
...options
|
|
52976
|
+
});
|
|
52977
|
+
};
|
|
52978
|
+
export const roleAvailabilitiesDestroy = (options) => {
|
|
52979
|
+
return (options.client ?? _heyApiClient).delete({
|
|
52980
|
+
security: [
|
|
52981
|
+
{
|
|
52982
|
+
name: 'Authorization',
|
|
52983
|
+
type: 'apiKey'
|
|
52984
|
+
},
|
|
52985
|
+
{
|
|
52986
|
+
scheme: 'bearer',
|
|
52987
|
+
type: 'http'
|
|
52988
|
+
},
|
|
52989
|
+
{
|
|
52990
|
+
scheme: 'bearer',
|
|
52991
|
+
type: 'http'
|
|
52992
|
+
}
|
|
52993
|
+
],
|
|
52994
|
+
url: '/api/role-availabilities/{uuid}/',
|
|
52995
|
+
...options
|
|
52996
|
+
});
|
|
52997
|
+
};
|
|
52998
|
+
export const roleAvailabilitiesRetrieve = (options) => {
|
|
52999
|
+
return (options.client ?? _heyApiClient).get({
|
|
53000
|
+
security: [
|
|
53001
|
+
{
|
|
53002
|
+
name: 'Authorization',
|
|
53003
|
+
type: 'apiKey'
|
|
53004
|
+
},
|
|
53005
|
+
{
|
|
53006
|
+
scheme: 'bearer',
|
|
53007
|
+
type: 'http'
|
|
53008
|
+
},
|
|
53009
|
+
{
|
|
53010
|
+
scheme: 'bearer',
|
|
53011
|
+
type: 'http'
|
|
53012
|
+
}
|
|
53013
|
+
],
|
|
53014
|
+
url: '/api/role-availabilities/{uuid}/',
|
|
53015
|
+
...options
|
|
53016
|
+
});
|
|
53017
|
+
};
|
|
51439
53018
|
/**
|
|
51440
53019
|
* List roles
|
|
51441
53020
|
* Get a list of all available roles.
|
|
@@ -51688,6 +53267,390 @@ export const rolesUpdateDescriptionsUpdate = (options) => {
|
|
|
51688
53267
|
}
|
|
51689
53268
|
});
|
|
51690
53269
|
};
|
|
53270
|
+
export const scienceDomainsList = (options) => {
|
|
53271
|
+
return (options?.client ?? _heyApiClient).get({
|
|
53272
|
+
security: [
|
|
53273
|
+
{
|
|
53274
|
+
name: 'Authorization',
|
|
53275
|
+
type: 'apiKey'
|
|
53276
|
+
},
|
|
53277
|
+
{
|
|
53278
|
+
scheme: 'bearer',
|
|
53279
|
+
type: 'http'
|
|
53280
|
+
},
|
|
53281
|
+
{
|
|
53282
|
+
scheme: 'bearer',
|
|
53283
|
+
type: 'http'
|
|
53284
|
+
}
|
|
53285
|
+
],
|
|
53286
|
+
url: '/api/science-domains/',
|
|
53287
|
+
...options
|
|
53288
|
+
});
|
|
53289
|
+
};
|
|
53290
|
+
/**
|
|
53291
|
+
* Get number of items in the collection matching the request parameters.
|
|
53292
|
+
*/
|
|
53293
|
+
export const scienceDomainsCount = (options) => {
|
|
53294
|
+
return (options?.client ?? _heyApiClient).head({
|
|
53295
|
+
security: [
|
|
53296
|
+
{
|
|
53297
|
+
name: 'Authorization',
|
|
53298
|
+
type: 'apiKey'
|
|
53299
|
+
},
|
|
53300
|
+
{
|
|
53301
|
+
scheme: 'bearer',
|
|
53302
|
+
type: 'http'
|
|
53303
|
+
},
|
|
53304
|
+
{
|
|
53305
|
+
scheme: 'bearer',
|
|
53306
|
+
type: 'http'
|
|
53307
|
+
}
|
|
53308
|
+
],
|
|
53309
|
+
url: '/api/science-domains/',
|
|
53310
|
+
...options
|
|
53311
|
+
});
|
|
53312
|
+
};
|
|
53313
|
+
export const scienceDomainsCreate = (options) => {
|
|
53314
|
+
return (options.client ?? _heyApiClient).post({
|
|
53315
|
+
security: [
|
|
53316
|
+
{
|
|
53317
|
+
name: 'Authorization',
|
|
53318
|
+
type: 'apiKey'
|
|
53319
|
+
},
|
|
53320
|
+
{
|
|
53321
|
+
scheme: 'bearer',
|
|
53322
|
+
type: 'http'
|
|
53323
|
+
},
|
|
53324
|
+
{
|
|
53325
|
+
scheme: 'bearer',
|
|
53326
|
+
type: 'http'
|
|
53327
|
+
}
|
|
53328
|
+
],
|
|
53329
|
+
url: '/api/science-domains/',
|
|
53330
|
+
...options,
|
|
53331
|
+
headers: {
|
|
53332
|
+
'Content-Type': 'application/json',
|
|
53333
|
+
...options.headers
|
|
53334
|
+
}
|
|
53335
|
+
});
|
|
53336
|
+
};
|
|
53337
|
+
export const scienceDomainsDestroy = (options) => {
|
|
53338
|
+
return (options.client ?? _heyApiClient).delete({
|
|
53339
|
+
security: [
|
|
53340
|
+
{
|
|
53341
|
+
name: 'Authorization',
|
|
53342
|
+
type: 'apiKey'
|
|
53343
|
+
},
|
|
53344
|
+
{
|
|
53345
|
+
scheme: 'bearer',
|
|
53346
|
+
type: 'http'
|
|
53347
|
+
},
|
|
53348
|
+
{
|
|
53349
|
+
scheme: 'bearer',
|
|
53350
|
+
type: 'http'
|
|
53351
|
+
}
|
|
53352
|
+
],
|
|
53353
|
+
url: '/api/science-domains/{uuid}/',
|
|
53354
|
+
...options
|
|
53355
|
+
});
|
|
53356
|
+
};
|
|
53357
|
+
export const scienceDomainsRetrieve = (options) => {
|
|
53358
|
+
return (options.client ?? _heyApiClient).get({
|
|
53359
|
+
security: [
|
|
53360
|
+
{
|
|
53361
|
+
name: 'Authorization',
|
|
53362
|
+
type: 'apiKey'
|
|
53363
|
+
},
|
|
53364
|
+
{
|
|
53365
|
+
scheme: 'bearer',
|
|
53366
|
+
type: 'http'
|
|
53367
|
+
},
|
|
53368
|
+
{
|
|
53369
|
+
scheme: 'bearer',
|
|
53370
|
+
type: 'http'
|
|
53371
|
+
}
|
|
53372
|
+
],
|
|
53373
|
+
url: '/api/science-domains/{uuid}/',
|
|
53374
|
+
...options
|
|
53375
|
+
});
|
|
53376
|
+
};
|
|
53377
|
+
export const scienceDomainsPartialUpdate = (options) => {
|
|
53378
|
+
return (options.client ?? _heyApiClient).patch({
|
|
53379
|
+
security: [
|
|
53380
|
+
{
|
|
53381
|
+
name: 'Authorization',
|
|
53382
|
+
type: 'apiKey'
|
|
53383
|
+
},
|
|
53384
|
+
{
|
|
53385
|
+
scheme: 'bearer',
|
|
53386
|
+
type: 'http'
|
|
53387
|
+
},
|
|
53388
|
+
{
|
|
53389
|
+
scheme: 'bearer',
|
|
53390
|
+
type: 'http'
|
|
53391
|
+
}
|
|
53392
|
+
],
|
|
53393
|
+
url: '/api/science-domains/{uuid}/',
|
|
53394
|
+
...options,
|
|
53395
|
+
headers: {
|
|
53396
|
+
'Content-Type': 'application/json',
|
|
53397
|
+
...options.headers
|
|
53398
|
+
}
|
|
53399
|
+
});
|
|
53400
|
+
};
|
|
53401
|
+
export const scienceDomainsUpdate = (options) => {
|
|
53402
|
+
return (options.client ?? _heyApiClient).put({
|
|
53403
|
+
security: [
|
|
53404
|
+
{
|
|
53405
|
+
name: 'Authorization',
|
|
53406
|
+
type: 'apiKey'
|
|
53407
|
+
},
|
|
53408
|
+
{
|
|
53409
|
+
scheme: 'bearer',
|
|
53410
|
+
type: 'http'
|
|
53411
|
+
},
|
|
53412
|
+
{
|
|
53413
|
+
scheme: 'bearer',
|
|
53414
|
+
type: 'http'
|
|
53415
|
+
}
|
|
53416
|
+
],
|
|
53417
|
+
url: '/api/science-domains/{uuid}/',
|
|
53418
|
+
...options,
|
|
53419
|
+
headers: {
|
|
53420
|
+
'Content-Type': 'application/json',
|
|
53421
|
+
...options.headers
|
|
53422
|
+
}
|
|
53423
|
+
});
|
|
53424
|
+
};
|
|
53425
|
+
/**
|
|
53426
|
+
* Load a science domain preset
|
|
53427
|
+
*/
|
|
53428
|
+
export const scienceDomainsLoadPreset = (options) => {
|
|
53429
|
+
return (options.client ?? _heyApiClient).post({
|
|
53430
|
+
security: [
|
|
53431
|
+
{
|
|
53432
|
+
name: 'Authorization',
|
|
53433
|
+
type: 'apiKey'
|
|
53434
|
+
},
|
|
53435
|
+
{
|
|
53436
|
+
scheme: 'bearer',
|
|
53437
|
+
type: 'http'
|
|
53438
|
+
},
|
|
53439
|
+
{
|
|
53440
|
+
scheme: 'bearer',
|
|
53441
|
+
type: 'http'
|
|
53442
|
+
}
|
|
53443
|
+
],
|
|
53444
|
+
url: '/api/science-domains/load_preset/',
|
|
53445
|
+
...options,
|
|
53446
|
+
headers: {
|
|
53447
|
+
'Content-Type': 'application/json',
|
|
53448
|
+
...options.headers
|
|
53449
|
+
}
|
|
53450
|
+
});
|
|
53451
|
+
};
|
|
53452
|
+
/**
|
|
53453
|
+
* List available science domain presets
|
|
53454
|
+
*/
|
|
53455
|
+
export const scienceDomainsPresetsList = (options) => {
|
|
53456
|
+
return (options?.client ?? _heyApiClient).get({
|
|
53457
|
+
security: [
|
|
53458
|
+
{
|
|
53459
|
+
name: 'Authorization',
|
|
53460
|
+
type: 'apiKey'
|
|
53461
|
+
},
|
|
53462
|
+
{
|
|
53463
|
+
scheme: 'bearer',
|
|
53464
|
+
type: 'http'
|
|
53465
|
+
},
|
|
53466
|
+
{
|
|
53467
|
+
scheme: 'bearer',
|
|
53468
|
+
type: 'http'
|
|
53469
|
+
}
|
|
53470
|
+
],
|
|
53471
|
+
url: '/api/science-domains/presets/',
|
|
53472
|
+
...options
|
|
53473
|
+
});
|
|
53474
|
+
};
|
|
53475
|
+
/**
|
|
53476
|
+
* List available science domain presets
|
|
53477
|
+
* Get number of items in the collection matching the request parameters.
|
|
53478
|
+
*/
|
|
53479
|
+
export const scienceDomainsPresetsCount = (options) => {
|
|
53480
|
+
return (options?.client ?? _heyApiClient).head({
|
|
53481
|
+
security: [
|
|
53482
|
+
{
|
|
53483
|
+
name: 'Authorization',
|
|
53484
|
+
type: 'apiKey'
|
|
53485
|
+
},
|
|
53486
|
+
{
|
|
53487
|
+
scheme: 'bearer',
|
|
53488
|
+
type: 'http'
|
|
53489
|
+
},
|
|
53490
|
+
{
|
|
53491
|
+
scheme: 'bearer',
|
|
53492
|
+
type: 'http'
|
|
53493
|
+
}
|
|
53494
|
+
],
|
|
53495
|
+
url: '/api/science-domains/presets/',
|
|
53496
|
+
...options
|
|
53497
|
+
});
|
|
53498
|
+
};
|
|
53499
|
+
export const scienceSubDomainsList = (options) => {
|
|
53500
|
+
return (options?.client ?? _heyApiClient).get({
|
|
53501
|
+
security: [
|
|
53502
|
+
{
|
|
53503
|
+
name: 'Authorization',
|
|
53504
|
+
type: 'apiKey'
|
|
53505
|
+
},
|
|
53506
|
+
{
|
|
53507
|
+
scheme: 'bearer',
|
|
53508
|
+
type: 'http'
|
|
53509
|
+
},
|
|
53510
|
+
{
|
|
53511
|
+
scheme: 'bearer',
|
|
53512
|
+
type: 'http'
|
|
53513
|
+
}
|
|
53514
|
+
],
|
|
53515
|
+
url: '/api/science-sub-domains/',
|
|
53516
|
+
...options
|
|
53517
|
+
});
|
|
53518
|
+
};
|
|
53519
|
+
/**
|
|
53520
|
+
* Get number of items in the collection matching the request parameters.
|
|
53521
|
+
*/
|
|
53522
|
+
export const scienceSubDomainsCount = (options) => {
|
|
53523
|
+
return (options?.client ?? _heyApiClient).head({
|
|
53524
|
+
security: [
|
|
53525
|
+
{
|
|
53526
|
+
name: 'Authorization',
|
|
53527
|
+
type: 'apiKey'
|
|
53528
|
+
},
|
|
53529
|
+
{
|
|
53530
|
+
scheme: 'bearer',
|
|
53531
|
+
type: 'http'
|
|
53532
|
+
},
|
|
53533
|
+
{
|
|
53534
|
+
scheme: 'bearer',
|
|
53535
|
+
type: 'http'
|
|
53536
|
+
}
|
|
53537
|
+
],
|
|
53538
|
+
url: '/api/science-sub-domains/',
|
|
53539
|
+
...options
|
|
53540
|
+
});
|
|
53541
|
+
};
|
|
53542
|
+
export const scienceSubDomainsCreate = (options) => {
|
|
53543
|
+
return (options.client ?? _heyApiClient).post({
|
|
53544
|
+
security: [
|
|
53545
|
+
{
|
|
53546
|
+
name: 'Authorization',
|
|
53547
|
+
type: 'apiKey'
|
|
53548
|
+
},
|
|
53549
|
+
{
|
|
53550
|
+
scheme: 'bearer',
|
|
53551
|
+
type: 'http'
|
|
53552
|
+
},
|
|
53553
|
+
{
|
|
53554
|
+
scheme: 'bearer',
|
|
53555
|
+
type: 'http'
|
|
53556
|
+
}
|
|
53557
|
+
],
|
|
53558
|
+
url: '/api/science-sub-domains/',
|
|
53559
|
+
...options,
|
|
53560
|
+
headers: {
|
|
53561
|
+
'Content-Type': 'application/json',
|
|
53562
|
+
...options.headers
|
|
53563
|
+
}
|
|
53564
|
+
});
|
|
53565
|
+
};
|
|
53566
|
+
export const scienceSubDomainsDestroy = (options) => {
|
|
53567
|
+
return (options.client ?? _heyApiClient).delete({
|
|
53568
|
+
security: [
|
|
53569
|
+
{
|
|
53570
|
+
name: 'Authorization',
|
|
53571
|
+
type: 'apiKey'
|
|
53572
|
+
},
|
|
53573
|
+
{
|
|
53574
|
+
scheme: 'bearer',
|
|
53575
|
+
type: 'http'
|
|
53576
|
+
},
|
|
53577
|
+
{
|
|
53578
|
+
scheme: 'bearer',
|
|
53579
|
+
type: 'http'
|
|
53580
|
+
}
|
|
53581
|
+
],
|
|
53582
|
+
url: '/api/science-sub-domains/{uuid}/',
|
|
53583
|
+
...options
|
|
53584
|
+
});
|
|
53585
|
+
};
|
|
53586
|
+
export const scienceSubDomainsRetrieve = (options) => {
|
|
53587
|
+
return (options.client ?? _heyApiClient).get({
|
|
53588
|
+
security: [
|
|
53589
|
+
{
|
|
53590
|
+
name: 'Authorization',
|
|
53591
|
+
type: 'apiKey'
|
|
53592
|
+
},
|
|
53593
|
+
{
|
|
53594
|
+
scheme: 'bearer',
|
|
53595
|
+
type: 'http'
|
|
53596
|
+
},
|
|
53597
|
+
{
|
|
53598
|
+
scheme: 'bearer',
|
|
53599
|
+
type: 'http'
|
|
53600
|
+
}
|
|
53601
|
+
],
|
|
53602
|
+
url: '/api/science-sub-domains/{uuid}/',
|
|
53603
|
+
...options
|
|
53604
|
+
});
|
|
53605
|
+
};
|
|
53606
|
+
export const scienceSubDomainsPartialUpdate = (options) => {
|
|
53607
|
+
return (options.client ?? _heyApiClient).patch({
|
|
53608
|
+
security: [
|
|
53609
|
+
{
|
|
53610
|
+
name: 'Authorization',
|
|
53611
|
+
type: 'apiKey'
|
|
53612
|
+
},
|
|
53613
|
+
{
|
|
53614
|
+
scheme: 'bearer',
|
|
53615
|
+
type: 'http'
|
|
53616
|
+
},
|
|
53617
|
+
{
|
|
53618
|
+
scheme: 'bearer',
|
|
53619
|
+
type: 'http'
|
|
53620
|
+
}
|
|
53621
|
+
],
|
|
53622
|
+
url: '/api/science-sub-domains/{uuid}/',
|
|
53623
|
+
...options,
|
|
53624
|
+
headers: {
|
|
53625
|
+
'Content-Type': 'application/json',
|
|
53626
|
+
...options.headers
|
|
53627
|
+
}
|
|
53628
|
+
});
|
|
53629
|
+
};
|
|
53630
|
+
export const scienceSubDomainsUpdate = (options) => {
|
|
53631
|
+
return (options.client ?? _heyApiClient).put({
|
|
53632
|
+
security: [
|
|
53633
|
+
{
|
|
53634
|
+
name: 'Authorization',
|
|
53635
|
+
type: 'apiKey'
|
|
53636
|
+
},
|
|
53637
|
+
{
|
|
53638
|
+
scheme: 'bearer',
|
|
53639
|
+
type: 'http'
|
|
53640
|
+
},
|
|
53641
|
+
{
|
|
53642
|
+
scheme: 'bearer',
|
|
53643
|
+
type: 'http'
|
|
53644
|
+
}
|
|
53645
|
+
],
|
|
53646
|
+
url: '/api/science-sub-domains/{uuid}/',
|
|
53647
|
+
...options,
|
|
53648
|
+
headers: {
|
|
53649
|
+
'Content-Type': 'application/json',
|
|
53650
|
+
...options.headers
|
|
53651
|
+
}
|
|
53652
|
+
});
|
|
53653
|
+
};
|
|
51691
53654
|
export const serviceSettingsList = (options) => {
|
|
51692
53655
|
return (options?.client ?? _heyApiClient).get({
|
|
51693
53656
|
security: [
|
|
@@ -53302,11 +55265,7 @@ export const supportIssuesSync = (options) => {
|
|
|
53302
55265
|
}
|
|
53303
55266
|
],
|
|
53304
55267
|
url: '/api/support-issues/{uuid}/sync/',
|
|
53305
|
-
...options
|
|
53306
|
-
headers: {
|
|
53307
|
-
'Content-Type': 'application/json',
|
|
53308
|
-
...options.headers
|
|
53309
|
-
}
|
|
55268
|
+
...options
|
|
53310
55269
|
});
|
|
53311
55270
|
};
|
|
53312
55271
|
export const supportJiraWebhook = (options) => {
|
|
@@ -53600,11 +55559,7 @@ export const supportRequestTypesAdminActivate = (options) => {
|
|
|
53600
55559
|
}
|
|
53601
55560
|
],
|
|
53602
55561
|
url: '/api/support-request-types-admin/{uuid}/activate/',
|
|
53603
|
-
...options
|
|
53604
|
-
headers: {
|
|
53605
|
-
'Content-Type': 'application/json',
|
|
53606
|
-
...options.headers
|
|
53607
|
-
}
|
|
55562
|
+
...options
|
|
53608
55563
|
});
|
|
53609
55564
|
};
|
|
53610
55565
|
/**
|
|
@@ -53627,11 +55582,7 @@ export const supportRequestTypesAdminDeactivate = (options) => {
|
|
|
53627
55582
|
}
|
|
53628
55583
|
],
|
|
53629
55584
|
url: '/api/support-request-types-admin/{uuid}/deactivate/',
|
|
53630
|
-
...options
|
|
53631
|
-
headers: {
|
|
53632
|
-
'Content-Type': 'application/json',
|
|
53633
|
-
...options.headers
|
|
53634
|
-
}
|
|
55585
|
+
...options
|
|
53635
55586
|
});
|
|
53636
55587
|
};
|
|
53637
55588
|
/**
|