waldur-js-client 8.0.8-dev.9 → 8.0.9-dev.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/sdk.gen.d.ts +341 -114
- package/dist/sdk.gen.js +2805 -806
- package/dist/types.gen.d.ts +4569 -2038
- 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
|
/**
|
|
@@ -16250,6 +16672,81 @@ export const marketplaceCategoryHelpArticlesUpdate = (options) => {
|
|
|
16250
16672
|
}
|
|
16251
16673
|
});
|
|
16252
16674
|
};
|
|
16675
|
+
export const marketplaceChatClick = (options) => {
|
|
16676
|
+
return (options.client ?? _heyApiClient).post({
|
|
16677
|
+
security: [
|
|
16678
|
+
{
|
|
16679
|
+
name: 'Authorization',
|
|
16680
|
+
type: 'apiKey'
|
|
16681
|
+
},
|
|
16682
|
+
{
|
|
16683
|
+
scheme: 'bearer',
|
|
16684
|
+
type: 'http'
|
|
16685
|
+
},
|
|
16686
|
+
{
|
|
16687
|
+
scheme: 'bearer',
|
|
16688
|
+
type: 'http'
|
|
16689
|
+
}
|
|
16690
|
+
],
|
|
16691
|
+
url: '/api/marketplace-chat/click/',
|
|
16692
|
+
...options,
|
|
16693
|
+
headers: {
|
|
16694
|
+
'Content-Type': 'application/json',
|
|
16695
|
+
...options.headers
|
|
16696
|
+
}
|
|
16697
|
+
});
|
|
16698
|
+
};
|
|
16699
|
+
export const marketplaceChatFeedback = (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/feedback/',
|
|
16716
|
+
...options,
|
|
16717
|
+
headers: {
|
|
16718
|
+
'Content-Type': 'application/json',
|
|
16719
|
+
...options.headers
|
|
16720
|
+
}
|
|
16721
|
+
});
|
|
16722
|
+
};
|
|
16723
|
+
/**
|
|
16724
|
+
* Anonymous chat streaming endpoint. Returns NDJSON with one assistant content block per line. Final `m` frame carries input/output token counts.
|
|
16725
|
+
*/
|
|
16726
|
+
export const marketplaceChatStream = (options) => {
|
|
16727
|
+
return (options.client ?? _heyApiClient).post({
|
|
16728
|
+
security: [
|
|
16729
|
+
{
|
|
16730
|
+
name: 'Authorization',
|
|
16731
|
+
type: 'apiKey'
|
|
16732
|
+
},
|
|
16733
|
+
{
|
|
16734
|
+
scheme: 'bearer',
|
|
16735
|
+
type: 'http'
|
|
16736
|
+
},
|
|
16737
|
+
{
|
|
16738
|
+
scheme: 'bearer',
|
|
16739
|
+
type: 'http'
|
|
16740
|
+
}
|
|
16741
|
+
],
|
|
16742
|
+
url: '/api/marketplace-chat/stream/',
|
|
16743
|
+
...options,
|
|
16744
|
+
headers: {
|
|
16745
|
+
'Content-Type': 'application/json',
|
|
16746
|
+
...options.headers
|
|
16747
|
+
}
|
|
16748
|
+
});
|
|
16749
|
+
};
|
|
16253
16750
|
/**
|
|
16254
16751
|
* List monthly component usage summaries globally
|
|
16255
16752
|
* 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.
|
|
@@ -17321,6 +17818,78 @@ export const marketplaceCustomerServiceAccountsRotateApiKey = (options) => {
|
|
|
17321
17818
|
...options
|
|
17322
17819
|
});
|
|
17323
17820
|
};
|
|
17821
|
+
/**
|
|
17822
|
+
* Get resource usage statistics broken down per offering
|
|
17823
|
+
* Returns one row per (offering, component type, billing type) for all non-terminated resources within the scope. Each row's `usage` and `limit_usage` are aggregated using the offering's own `limit_period`.
|
|
17824
|
+
*/
|
|
17825
|
+
export const marketplaceCustomerUsageComponentsUsageRetrieve = (options) => {
|
|
17826
|
+
return (options.client ?? _heyApiClient).get({
|
|
17827
|
+
security: [
|
|
17828
|
+
{
|
|
17829
|
+
name: 'Authorization',
|
|
17830
|
+
type: 'apiKey'
|
|
17831
|
+
},
|
|
17832
|
+
{
|
|
17833
|
+
scheme: 'bearer',
|
|
17834
|
+
type: 'http'
|
|
17835
|
+
},
|
|
17836
|
+
{
|
|
17837
|
+
scheme: 'bearer',
|
|
17838
|
+
type: 'http'
|
|
17839
|
+
}
|
|
17840
|
+
],
|
|
17841
|
+
url: '/api/marketplace-customer-usage/{uuid}/components-usage/',
|
|
17842
|
+
...options
|
|
17843
|
+
});
|
|
17844
|
+
};
|
|
17845
|
+
/**
|
|
17846
|
+
* Get per-project usage breakdown for a single offering
|
|
17847
|
+
* Returns the customer's usage of one offering broken down by project. Each project entry includes an in-period total `usage` and a monthly `buckets` array. Projects are sorted by usage descending.
|
|
17848
|
+
*/
|
|
17849
|
+
export const marketplaceCustomerUsageComponentsUsageByProjectRetrieve = (options) => {
|
|
17850
|
+
return (options.client ?? _heyApiClient).get({
|
|
17851
|
+
security: [
|
|
17852
|
+
{
|
|
17853
|
+
name: 'Authorization',
|
|
17854
|
+
type: 'apiKey'
|
|
17855
|
+
},
|
|
17856
|
+
{
|
|
17857
|
+
scheme: 'bearer',
|
|
17858
|
+
type: 'http'
|
|
17859
|
+
},
|
|
17860
|
+
{
|
|
17861
|
+
scheme: 'bearer',
|
|
17862
|
+
type: 'http'
|
|
17863
|
+
}
|
|
17864
|
+
],
|
|
17865
|
+
url: '/api/marketplace-customer-usage/{uuid}/components-usage-by-project/',
|
|
17866
|
+
...options
|
|
17867
|
+
});
|
|
17868
|
+
};
|
|
17869
|
+
/**
|
|
17870
|
+
* Get monthly usage buckets for a single offering
|
|
17871
|
+
* Returns a per-month timeseries of `ComponentUsage` for one offering, restricted to that offering's current `limit_period`. Buckets are keyed by `billing_period` (always month-start). `period_offset` shifts the window backward by N periods.
|
|
17872
|
+
*/
|
|
17873
|
+
export const marketplaceCustomerUsageComponentsUsageTimeseriesRetrieve = (options) => {
|
|
17874
|
+
return (options.client ?? _heyApiClient).get({
|
|
17875
|
+
security: [
|
|
17876
|
+
{
|
|
17877
|
+
name: 'Authorization',
|
|
17878
|
+
type: 'apiKey'
|
|
17879
|
+
},
|
|
17880
|
+
{
|
|
17881
|
+
scheme: 'bearer',
|
|
17882
|
+
type: 'http'
|
|
17883
|
+
},
|
|
17884
|
+
{
|
|
17885
|
+
scheme: 'bearer',
|
|
17886
|
+
type: 'http'
|
|
17887
|
+
}
|
|
17888
|
+
],
|
|
17889
|
+
url: '/api/marketplace-customer-usage/{uuid}/components-usage-timeseries/',
|
|
17890
|
+
...options
|
|
17891
|
+
});
|
|
17892
|
+
};
|
|
17324
17893
|
/**
|
|
17325
17894
|
* Get demo preset details
|
|
17326
17895
|
* Returns detailed information about a specific demo preset. Staff access only.
|
|
@@ -17981,6 +18550,209 @@ export const marketplaceOfferingPermissionsRetrieve = (options) => {
|
|
|
17981
18550
|
...options
|
|
17982
18551
|
});
|
|
17983
18552
|
};
|
|
18553
|
+
export const marketplaceOfferingProfilesList = (options) => {
|
|
18554
|
+
return (options?.client ?? _heyApiClient).get({
|
|
18555
|
+
security: [
|
|
18556
|
+
{
|
|
18557
|
+
name: 'Authorization',
|
|
18558
|
+
type: 'apiKey'
|
|
18559
|
+
},
|
|
18560
|
+
{
|
|
18561
|
+
scheme: 'bearer',
|
|
18562
|
+
type: 'http'
|
|
18563
|
+
},
|
|
18564
|
+
{
|
|
18565
|
+
scheme: 'bearer',
|
|
18566
|
+
type: 'http'
|
|
18567
|
+
}
|
|
18568
|
+
],
|
|
18569
|
+
url: '/api/marketplace-offering-profiles/',
|
|
18570
|
+
...options
|
|
18571
|
+
});
|
|
18572
|
+
};
|
|
18573
|
+
/**
|
|
18574
|
+
* Get number of items in the collection matching the request parameters.
|
|
18575
|
+
*/
|
|
18576
|
+
export const marketplaceOfferingProfilesCount = (options) => {
|
|
18577
|
+
return (options?.client ?? _heyApiClient).head({
|
|
18578
|
+
security: [
|
|
18579
|
+
{
|
|
18580
|
+
name: 'Authorization',
|
|
18581
|
+
type: 'apiKey'
|
|
18582
|
+
},
|
|
18583
|
+
{
|
|
18584
|
+
scheme: 'bearer',
|
|
18585
|
+
type: 'http'
|
|
18586
|
+
},
|
|
18587
|
+
{
|
|
18588
|
+
scheme: 'bearer',
|
|
18589
|
+
type: 'http'
|
|
18590
|
+
}
|
|
18591
|
+
],
|
|
18592
|
+
url: '/api/marketplace-offering-profiles/',
|
|
18593
|
+
...options
|
|
18594
|
+
});
|
|
18595
|
+
};
|
|
18596
|
+
export const marketplaceOfferingProfilesCreate = (options) => {
|
|
18597
|
+
return (options.client ?? _heyApiClient).post({
|
|
18598
|
+
security: [
|
|
18599
|
+
{
|
|
18600
|
+
name: 'Authorization',
|
|
18601
|
+
type: 'apiKey'
|
|
18602
|
+
},
|
|
18603
|
+
{
|
|
18604
|
+
scheme: 'bearer',
|
|
18605
|
+
type: 'http'
|
|
18606
|
+
},
|
|
18607
|
+
{
|
|
18608
|
+
scheme: 'bearer',
|
|
18609
|
+
type: 'http'
|
|
18610
|
+
}
|
|
18611
|
+
],
|
|
18612
|
+
url: '/api/marketplace-offering-profiles/',
|
|
18613
|
+
...options,
|
|
18614
|
+
headers: {
|
|
18615
|
+
'Content-Type': 'application/json',
|
|
18616
|
+
...options.headers
|
|
18617
|
+
}
|
|
18618
|
+
});
|
|
18619
|
+
};
|
|
18620
|
+
export const marketplaceOfferingProfilesDestroy = (options) => {
|
|
18621
|
+
return (options.client ?? _heyApiClient).delete({
|
|
18622
|
+
security: [
|
|
18623
|
+
{
|
|
18624
|
+
name: 'Authorization',
|
|
18625
|
+
type: 'apiKey'
|
|
18626
|
+
},
|
|
18627
|
+
{
|
|
18628
|
+
scheme: 'bearer',
|
|
18629
|
+
type: 'http'
|
|
18630
|
+
},
|
|
18631
|
+
{
|
|
18632
|
+
scheme: 'bearer',
|
|
18633
|
+
type: 'http'
|
|
18634
|
+
}
|
|
18635
|
+
],
|
|
18636
|
+
url: '/api/marketplace-offering-profiles/{uuid}/',
|
|
18637
|
+
...options
|
|
18638
|
+
});
|
|
18639
|
+
};
|
|
18640
|
+
export const marketplaceOfferingProfilesRetrieve = (options) => {
|
|
18641
|
+
return (options.client ?? _heyApiClient).get({
|
|
18642
|
+
security: [
|
|
18643
|
+
{
|
|
18644
|
+
name: 'Authorization',
|
|
18645
|
+
type: 'apiKey'
|
|
18646
|
+
},
|
|
18647
|
+
{
|
|
18648
|
+
scheme: 'bearer',
|
|
18649
|
+
type: 'http'
|
|
18650
|
+
},
|
|
18651
|
+
{
|
|
18652
|
+
scheme: 'bearer',
|
|
18653
|
+
type: 'http'
|
|
18654
|
+
}
|
|
18655
|
+
],
|
|
18656
|
+
url: '/api/marketplace-offering-profiles/{uuid}/',
|
|
18657
|
+
...options
|
|
18658
|
+
});
|
|
18659
|
+
};
|
|
18660
|
+
export const marketplaceOfferingProfilesPartialUpdate = (options) => {
|
|
18661
|
+
return (options.client ?? _heyApiClient).patch({
|
|
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}/',
|
|
18677
|
+
...options,
|
|
18678
|
+
headers: {
|
|
18679
|
+
'Content-Type': 'application/json',
|
|
18680
|
+
...options.headers
|
|
18681
|
+
}
|
|
18682
|
+
});
|
|
18683
|
+
};
|
|
18684
|
+
export const marketplaceOfferingProfilesUpdate = (options) => {
|
|
18685
|
+
return (options.client ?? _heyApiClient).put({
|
|
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}/',
|
|
18701
|
+
...options,
|
|
18702
|
+
headers: {
|
|
18703
|
+
'Content-Type': 'application/json',
|
|
18704
|
+
...options.headers
|
|
18705
|
+
}
|
|
18706
|
+
});
|
|
18707
|
+
};
|
|
18708
|
+
export const marketplaceOfferingProfilesAddRole = (options) => {
|
|
18709
|
+
return (options.client ?? _heyApiClient).post({
|
|
18710
|
+
security: [
|
|
18711
|
+
{
|
|
18712
|
+
name: 'Authorization',
|
|
18713
|
+
type: 'apiKey'
|
|
18714
|
+
},
|
|
18715
|
+
{
|
|
18716
|
+
scheme: 'bearer',
|
|
18717
|
+
type: 'http'
|
|
18718
|
+
},
|
|
18719
|
+
{
|
|
18720
|
+
scheme: 'bearer',
|
|
18721
|
+
type: 'http'
|
|
18722
|
+
}
|
|
18723
|
+
],
|
|
18724
|
+
url: '/api/marketplace-offering-profiles/{uuid}/add_role/',
|
|
18725
|
+
...options,
|
|
18726
|
+
headers: {
|
|
18727
|
+
'Content-Type': 'application/json',
|
|
18728
|
+
...options.headers
|
|
18729
|
+
}
|
|
18730
|
+
});
|
|
18731
|
+
};
|
|
18732
|
+
export const marketplaceOfferingProfilesRemoveRole = (options) => {
|
|
18733
|
+
return (options.client ?? _heyApiClient).post({
|
|
18734
|
+
security: [
|
|
18735
|
+
{
|
|
18736
|
+
name: 'Authorization',
|
|
18737
|
+
type: 'apiKey'
|
|
18738
|
+
},
|
|
18739
|
+
{
|
|
18740
|
+
scheme: 'bearer',
|
|
18741
|
+
type: 'http'
|
|
18742
|
+
},
|
|
18743
|
+
{
|
|
18744
|
+
scheme: 'bearer',
|
|
18745
|
+
type: 'http'
|
|
18746
|
+
}
|
|
18747
|
+
],
|
|
18748
|
+
url: '/api/marketplace-offering-profiles/{uuid}/remove_role/',
|
|
18749
|
+
...options,
|
|
18750
|
+
headers: {
|
|
18751
|
+
'Content-Type': 'application/json',
|
|
18752
|
+
...options.headers
|
|
18753
|
+
}
|
|
18754
|
+
});
|
|
18755
|
+
};
|
|
17984
18756
|
/**
|
|
17985
18757
|
* List Datacite referrals for offerings
|
|
17986
18758
|
* 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 +18825,7 @@ export const marketplaceOfferingReferralsRetrieve = (options) => {
|
|
|
18053
18825
|
...options
|
|
18054
18826
|
});
|
|
18055
18827
|
};
|
|
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) => {
|
|
18828
|
+
export const marketplaceOfferingRolesList = (options) => {
|
|
18061
18829
|
return (options?.client ?? _heyApiClient).get({
|
|
18062
18830
|
security: [
|
|
18063
18831
|
{
|
|
@@ -18073,15 +18841,14 @@ export const marketplaceOfferingTermsOfServiceList = (options) => {
|
|
|
18073
18841
|
type: 'http'
|
|
18074
18842
|
}
|
|
18075
18843
|
],
|
|
18076
|
-
url: '/api/marketplace-offering-
|
|
18844
|
+
url: '/api/marketplace-offering-roles/',
|
|
18077
18845
|
...options
|
|
18078
18846
|
});
|
|
18079
18847
|
};
|
|
18080
18848
|
/**
|
|
18081
|
-
* List Terms of Service configurations
|
|
18082
18849
|
* Get number of items in the collection matching the request parameters.
|
|
18083
18850
|
*/
|
|
18084
|
-
export const
|
|
18851
|
+
export const marketplaceOfferingRolesCount = (options) => {
|
|
18085
18852
|
return (options?.client ?? _heyApiClient).head({
|
|
18086
18853
|
security: [
|
|
18087
18854
|
{
|
|
@@ -18097,15 +18864,11 @@ export const marketplaceOfferingTermsOfServiceCount = (options) => {
|
|
|
18097
18864
|
type: 'http'
|
|
18098
18865
|
}
|
|
18099
18866
|
],
|
|
18100
|
-
url: '/api/marketplace-offering-
|
|
18867
|
+
url: '/api/marketplace-offering-roles/',
|
|
18101
18868
|
...options
|
|
18102
18869
|
});
|
|
18103
18870
|
};
|
|
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) => {
|
|
18871
|
+
export const marketplaceOfferingRolesCreate = (options) => {
|
|
18109
18872
|
return (options.client ?? _heyApiClient).post({
|
|
18110
18873
|
security: [
|
|
18111
18874
|
{
|
|
@@ -18121,7 +18884,7 @@ export const marketplaceOfferingTermsOfServiceCreate = (options) => {
|
|
|
18121
18884
|
type: 'http'
|
|
18122
18885
|
}
|
|
18123
18886
|
],
|
|
18124
|
-
url: '/api/marketplace-offering-
|
|
18887
|
+
url: '/api/marketplace-offering-roles/',
|
|
18125
18888
|
...options,
|
|
18126
18889
|
headers: {
|
|
18127
18890
|
'Content-Type': 'application/json',
|
|
@@ -18129,11 +18892,7 @@ export const marketplaceOfferingTermsOfServiceCreate = (options) => {
|
|
|
18129
18892
|
}
|
|
18130
18893
|
});
|
|
18131
18894
|
};
|
|
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) => {
|
|
18895
|
+
export const marketplaceOfferingRolesDestroy = (options) => {
|
|
18137
18896
|
return (options.client ?? _heyApiClient).delete({
|
|
18138
18897
|
security: [
|
|
18139
18898
|
{
|
|
@@ -18149,15 +18908,11 @@ export const marketplaceOfferingTermsOfServiceDestroy = (options) => {
|
|
|
18149
18908
|
type: 'http'
|
|
18150
18909
|
}
|
|
18151
18910
|
],
|
|
18152
|
-
url: '/api/marketplace-offering-
|
|
18911
|
+
url: '/api/marketplace-offering-roles/{uuid}/',
|
|
18153
18912
|
...options
|
|
18154
18913
|
});
|
|
18155
18914
|
};
|
|
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) => {
|
|
18915
|
+
export const marketplaceOfferingRolesRetrieve = (options) => {
|
|
18161
18916
|
return (options.client ?? _heyApiClient).get({
|
|
18162
18917
|
security: [
|
|
18163
18918
|
{
|
|
@@ -18173,15 +18928,11 @@ export const marketplaceOfferingTermsOfServiceRetrieve = (options) => {
|
|
|
18173
18928
|
type: 'http'
|
|
18174
18929
|
}
|
|
18175
18930
|
],
|
|
18176
|
-
url: '/api/marketplace-offering-
|
|
18931
|
+
url: '/api/marketplace-offering-roles/{uuid}/',
|
|
18177
18932
|
...options
|
|
18178
18933
|
});
|
|
18179
18934
|
};
|
|
18180
|
-
|
|
18181
|
-
* Partially update a Terms of Service configuration
|
|
18182
|
-
* Partially updates an existing Terms of Service configuration.
|
|
18183
|
-
*/
|
|
18184
|
-
export const marketplaceOfferingTermsOfServicePartialUpdate = (options) => {
|
|
18935
|
+
export const marketplaceOfferingRolesPartialUpdate = (options) => {
|
|
18185
18936
|
return (options.client ?? _heyApiClient).patch({
|
|
18186
18937
|
security: [
|
|
18187
18938
|
{
|
|
@@ -18197,7 +18948,7 @@ export const marketplaceOfferingTermsOfServicePartialUpdate = (options) => {
|
|
|
18197
18948
|
type: 'http'
|
|
18198
18949
|
}
|
|
18199
18950
|
],
|
|
18200
|
-
url: '/api/marketplace-offering-
|
|
18951
|
+
url: '/api/marketplace-offering-roles/{uuid}/',
|
|
18201
18952
|
...options,
|
|
18202
18953
|
headers: {
|
|
18203
18954
|
'Content-Type': 'application/json',
|
|
@@ -18205,11 +18956,7 @@ export const marketplaceOfferingTermsOfServicePartialUpdate = (options) => {
|
|
|
18205
18956
|
}
|
|
18206
18957
|
});
|
|
18207
18958
|
};
|
|
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) => {
|
|
18959
|
+
export const marketplaceOfferingRolesUpdate = (options) => {
|
|
18213
18960
|
return (options.client ?? _heyApiClient).put({
|
|
18214
18961
|
security: [
|
|
18215
18962
|
{
|
|
@@ -18225,7 +18972,7 @@ export const marketplaceOfferingTermsOfServiceUpdate = (options) => {
|
|
|
18225
18972
|
type: 'http'
|
|
18226
18973
|
}
|
|
18227
18974
|
],
|
|
18228
|
-
url: '/api/marketplace-offering-
|
|
18975
|
+
url: '/api/marketplace-offering-roles/{uuid}/',
|
|
18229
18976
|
...options,
|
|
18230
18977
|
headers: {
|
|
18231
18978
|
'Content-Type': 'application/json',
|
|
@@ -18233,7 +18980,11 @@ export const marketplaceOfferingTermsOfServiceUpdate = (options) => {
|
|
|
18233
18980
|
}
|
|
18234
18981
|
});
|
|
18235
18982
|
};
|
|
18236
|
-
|
|
18983
|
+
/**
|
|
18984
|
+
* List Terms of Service configurations
|
|
18985
|
+
* 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.
|
|
18986
|
+
*/
|
|
18987
|
+
export const marketplaceOfferingTermsOfServiceList = (options) => {
|
|
18237
18988
|
return (options?.client ?? _heyApiClient).get({
|
|
18238
18989
|
security: [
|
|
18239
18990
|
{
|
|
@@ -18249,14 +19000,15 @@ export const marketplaceOfferingUsagePoliciesList = (options) => {
|
|
|
18249
19000
|
type: 'http'
|
|
18250
19001
|
}
|
|
18251
19002
|
],
|
|
18252
|
-
url: '/api/marketplace-offering-
|
|
19003
|
+
url: '/api/marketplace-offering-terms-of-service/',
|
|
18253
19004
|
...options
|
|
18254
19005
|
});
|
|
18255
19006
|
};
|
|
18256
19007
|
/**
|
|
19008
|
+
* List Terms of Service configurations
|
|
18257
19009
|
* Get number of items in the collection matching the request parameters.
|
|
18258
19010
|
*/
|
|
18259
|
-
export const
|
|
19011
|
+
export const marketplaceOfferingTermsOfServiceCount = (options) => {
|
|
18260
19012
|
return (options?.client ?? _heyApiClient).head({
|
|
18261
19013
|
security: [
|
|
18262
19014
|
{
|
|
@@ -18272,11 +19024,15 @@ export const marketplaceOfferingUsagePoliciesCount = (options) => {
|
|
|
18272
19024
|
type: 'http'
|
|
18273
19025
|
}
|
|
18274
19026
|
],
|
|
18275
|
-
url: '/api/marketplace-offering-
|
|
19027
|
+
url: '/api/marketplace-offering-terms-of-service/',
|
|
18276
19028
|
...options
|
|
18277
19029
|
});
|
|
18278
19030
|
};
|
|
18279
|
-
|
|
19031
|
+
/**
|
|
19032
|
+
* Create a Terms of Service configuration
|
|
19033
|
+
* Creates a new Terms of Service configuration for an offering. Only one active ToS configuration is allowed per offering.
|
|
19034
|
+
*/
|
|
19035
|
+
export const marketplaceOfferingTermsOfServiceCreate = (options) => {
|
|
18280
19036
|
return (options.client ?? _heyApiClient).post({
|
|
18281
19037
|
security: [
|
|
18282
19038
|
{
|
|
@@ -18292,7 +19048,7 @@ export const marketplaceOfferingUsagePoliciesCreate = (options) => {
|
|
|
18292
19048
|
type: 'http'
|
|
18293
19049
|
}
|
|
18294
19050
|
],
|
|
18295
|
-
url: '/api/marketplace-offering-
|
|
19051
|
+
url: '/api/marketplace-offering-terms-of-service/',
|
|
18296
19052
|
...options,
|
|
18297
19053
|
headers: {
|
|
18298
19054
|
'Content-Type': 'application/json',
|
|
@@ -18300,7 +19056,11 @@ export const marketplaceOfferingUsagePoliciesCreate = (options) => {
|
|
|
18300
19056
|
}
|
|
18301
19057
|
});
|
|
18302
19058
|
};
|
|
18303
|
-
|
|
19059
|
+
/**
|
|
19060
|
+
* Delete a Terms of Service configuration
|
|
19061
|
+
* Deletes a Terms of Service configuration. This is a hard delete and should be used with caution.
|
|
19062
|
+
*/
|
|
19063
|
+
export const marketplaceOfferingTermsOfServiceDestroy = (options) => {
|
|
18304
19064
|
return (options.client ?? _heyApiClient).delete({
|
|
18305
19065
|
security: [
|
|
18306
19066
|
{
|
|
@@ -18316,11 +19076,15 @@ export const marketplaceOfferingUsagePoliciesDestroy = (options) => {
|
|
|
18316
19076
|
type: 'http'
|
|
18317
19077
|
}
|
|
18318
19078
|
],
|
|
18319
|
-
url: '/api/marketplace-offering-
|
|
19079
|
+
url: '/api/marketplace-offering-terms-of-service/{uuid}/',
|
|
18320
19080
|
...options
|
|
18321
19081
|
});
|
|
18322
19082
|
};
|
|
18323
|
-
|
|
19083
|
+
/**
|
|
19084
|
+
* Retrieve a Terms of Service configuration
|
|
19085
|
+
* Returns the details of a specific Terms of Service configuration.
|
|
19086
|
+
*/
|
|
19087
|
+
export const marketplaceOfferingTermsOfServiceRetrieve = (options) => {
|
|
18324
19088
|
return (options.client ?? _heyApiClient).get({
|
|
18325
19089
|
security: [
|
|
18326
19090
|
{
|
|
@@ -18336,11 +19100,15 @@ export const marketplaceOfferingUsagePoliciesRetrieve = (options) => {
|
|
|
18336
19100
|
type: 'http'
|
|
18337
19101
|
}
|
|
18338
19102
|
],
|
|
18339
|
-
url: '/api/marketplace-offering-
|
|
19103
|
+
url: '/api/marketplace-offering-terms-of-service/{uuid}/',
|
|
18340
19104
|
...options
|
|
18341
19105
|
});
|
|
18342
19106
|
};
|
|
18343
|
-
|
|
19107
|
+
/**
|
|
19108
|
+
* Partially update a Terms of Service configuration
|
|
19109
|
+
* Partially updates an existing Terms of Service configuration.
|
|
19110
|
+
*/
|
|
19111
|
+
export const marketplaceOfferingTermsOfServicePartialUpdate = (options) => {
|
|
18344
19112
|
return (options.client ?? _heyApiClient).patch({
|
|
18345
19113
|
security: [
|
|
18346
19114
|
{
|
|
@@ -18356,7 +19124,7 @@ export const marketplaceOfferingUsagePoliciesPartialUpdate = (options) => {
|
|
|
18356
19124
|
type: 'http'
|
|
18357
19125
|
}
|
|
18358
19126
|
],
|
|
18359
|
-
url: '/api/marketplace-offering-
|
|
19127
|
+
url: '/api/marketplace-offering-terms-of-service/{uuid}/',
|
|
18360
19128
|
...options,
|
|
18361
19129
|
headers: {
|
|
18362
19130
|
'Content-Type': 'application/json',
|
|
@@ -18364,7 +19132,11 @@ export const marketplaceOfferingUsagePoliciesPartialUpdate = (options) => {
|
|
|
18364
19132
|
}
|
|
18365
19133
|
});
|
|
18366
19134
|
};
|
|
18367
|
-
|
|
19135
|
+
/**
|
|
19136
|
+
* Update a Terms of Service configuration
|
|
19137
|
+
* Updates an existing Terms of Service configuration. Note that some fields like `version` and `requires_reconsent` are protected and cannot be changed after creation.
|
|
19138
|
+
*/
|
|
19139
|
+
export const marketplaceOfferingTermsOfServiceUpdate = (options) => {
|
|
18368
19140
|
return (options.client ?? _heyApiClient).put({
|
|
18369
19141
|
security: [
|
|
18370
19142
|
{
|
|
@@ -18380,7 +19152,7 @@ export const marketplaceOfferingUsagePoliciesUpdate = (options) => {
|
|
|
18380
19152
|
type: 'http'
|
|
18381
19153
|
}
|
|
18382
19154
|
],
|
|
18383
|
-
url: '/api/marketplace-offering-
|
|
19155
|
+
url: '/api/marketplace-offering-terms-of-service/{uuid}/',
|
|
18384
19156
|
...options,
|
|
18385
19157
|
headers: {
|
|
18386
19158
|
'Content-Type': 'application/json',
|
|
@@ -18388,7 +19160,7 @@ export const marketplaceOfferingUsagePoliciesUpdate = (options) => {
|
|
|
18388
19160
|
}
|
|
18389
19161
|
});
|
|
18390
19162
|
};
|
|
18391
|
-
export const
|
|
19163
|
+
export const marketplaceOfferingUsagePoliciesList = (options) => {
|
|
18392
19164
|
return (options?.client ?? _heyApiClient).get({
|
|
18393
19165
|
security: [
|
|
18394
19166
|
{
|
|
@@ -18404,14 +19176,14 @@ export const marketplaceOfferingUsagePoliciesActionsRetrieve = (options) => {
|
|
|
18404
19176
|
type: 'http'
|
|
18405
19177
|
}
|
|
18406
19178
|
],
|
|
18407
|
-
url: '/api/marketplace-offering-usage-policies/
|
|
19179
|
+
url: '/api/marketplace-offering-usage-policies/',
|
|
18408
19180
|
...options
|
|
18409
19181
|
});
|
|
18410
19182
|
};
|
|
18411
19183
|
/**
|
|
18412
19184
|
* Get number of items in the collection matching the request parameters.
|
|
18413
19185
|
*/
|
|
18414
|
-
export const
|
|
19186
|
+
export const marketplaceOfferingUsagePoliciesCount = (options) => {
|
|
18415
19187
|
return (options?.client ?? _heyApiClient).head({
|
|
18416
19188
|
security: [
|
|
18417
19189
|
{
|
|
@@ -18427,20 +19199,12 @@ export const marketplaceOfferingUsagePoliciesActionsCount = (options) => {
|
|
|
18427
19199
|
type: 'http'
|
|
18428
19200
|
}
|
|
18429
19201
|
],
|
|
18430
|
-
url: '/api/marketplace-offering-usage-policies/
|
|
19202
|
+
url: '/api/marketplace-offering-usage-policies/',
|
|
18431
19203
|
...options
|
|
18432
19204
|
});
|
|
18433
19205
|
};
|
|
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({
|
|
19206
|
+
export const marketplaceOfferingUsagePoliciesCreate = (options) => {
|
|
19207
|
+
return (options.client ?? _heyApiClient).post({
|
|
18444
19208
|
security: [
|
|
18445
19209
|
{
|
|
18446
19210
|
name: 'Authorization',
|
|
@@ -18455,16 +19219,16 @@ export const marketplaceOfferingUserChecklistCompletionsList = (options) => {
|
|
|
18455
19219
|
type: 'http'
|
|
18456
19220
|
}
|
|
18457
19221
|
],
|
|
18458
|
-
url: '/api/marketplace-offering-
|
|
18459
|
-
...options
|
|
19222
|
+
url: '/api/marketplace-offering-usage-policies/',
|
|
19223
|
+
...options,
|
|
19224
|
+
headers: {
|
|
19225
|
+
'Content-Type': 'application/json',
|
|
19226
|
+
...options.headers
|
|
19227
|
+
}
|
|
18460
19228
|
});
|
|
18461
19229
|
};
|
|
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({
|
|
19230
|
+
export const marketplaceOfferingUsagePoliciesDestroy = (options) => {
|
|
19231
|
+
return (options.client ?? _heyApiClient).delete({
|
|
18468
19232
|
security: [
|
|
18469
19233
|
{
|
|
18470
19234
|
name: 'Authorization',
|
|
@@ -18479,15 +19243,11 @@ export const marketplaceOfferingUserChecklistCompletionsCount = (options) => {
|
|
|
18479
19243
|
type: 'http'
|
|
18480
19244
|
}
|
|
18481
19245
|
],
|
|
18482
|
-
url: '/api/marketplace-offering-
|
|
19246
|
+
url: '/api/marketplace-offering-usage-policies/{uuid}/',
|
|
18483
19247
|
...options
|
|
18484
19248
|
});
|
|
18485
19249
|
};
|
|
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) => {
|
|
19250
|
+
export const marketplaceOfferingUsagePoliciesRetrieve = (options) => {
|
|
18491
19251
|
return (options.client ?? _heyApiClient).get({
|
|
18492
19252
|
security: [
|
|
18493
19253
|
{
|
|
@@ -18503,12 +19263,12 @@ export const marketplaceOfferingUserChecklistCompletionsRetrieve = (options) =>
|
|
|
18503
19263
|
type: 'http'
|
|
18504
19264
|
}
|
|
18505
19265
|
],
|
|
18506
|
-
url: '/api/marketplace-offering-
|
|
19266
|
+
url: '/api/marketplace-offering-usage-policies/{uuid}/',
|
|
18507
19267
|
...options
|
|
18508
19268
|
});
|
|
18509
19269
|
};
|
|
18510
|
-
export const
|
|
18511
|
-
return (options
|
|
19270
|
+
export const marketplaceOfferingUsagePoliciesPartialUpdate = (options) => {
|
|
19271
|
+
return (options.client ?? _heyApiClient).patch({
|
|
18512
19272
|
security: [
|
|
18513
19273
|
{
|
|
18514
19274
|
name: 'Authorization',
|
|
@@ -18523,15 +19283,16 @@ export const marketplaceOfferingUserRolesList = (options) => {
|
|
|
18523
19283
|
type: 'http'
|
|
18524
19284
|
}
|
|
18525
19285
|
],
|
|
18526
|
-
url: '/api/marketplace-offering-
|
|
18527
|
-
...options
|
|
19286
|
+
url: '/api/marketplace-offering-usage-policies/{uuid}/',
|
|
19287
|
+
...options,
|
|
19288
|
+
headers: {
|
|
19289
|
+
'Content-Type': 'application/json',
|
|
19290
|
+
...options.headers
|
|
19291
|
+
}
|
|
18528
19292
|
});
|
|
18529
19293
|
};
|
|
18530
|
-
|
|
18531
|
-
|
|
18532
|
-
*/
|
|
18533
|
-
export const marketplaceOfferingUserRolesCount = (options) => {
|
|
18534
|
-
return (options?.client ?? _heyApiClient).head({
|
|
19294
|
+
export const marketplaceOfferingUsagePoliciesUpdate = (options) => {
|
|
19295
|
+
return (options.client ?? _heyApiClient).put({
|
|
18535
19296
|
security: [
|
|
18536
19297
|
{
|
|
18537
19298
|
name: 'Authorization',
|
|
@@ -18546,12 +19307,16 @@ export const marketplaceOfferingUserRolesCount = (options) => {
|
|
|
18546
19307
|
type: 'http'
|
|
18547
19308
|
}
|
|
18548
19309
|
],
|
|
18549
|
-
url: '/api/marketplace-offering-
|
|
18550
|
-
...options
|
|
19310
|
+
url: '/api/marketplace-offering-usage-policies/{uuid}/',
|
|
19311
|
+
...options,
|
|
19312
|
+
headers: {
|
|
19313
|
+
'Content-Type': 'application/json',
|
|
19314
|
+
...options.headers
|
|
19315
|
+
}
|
|
18551
19316
|
});
|
|
18552
19317
|
};
|
|
18553
|
-
export const
|
|
18554
|
-
return (options
|
|
19318
|
+
export const marketplaceOfferingUsagePoliciesActionsRetrieve = (options) => {
|
|
19319
|
+
return (options?.client ?? _heyApiClient).get({
|
|
18555
19320
|
security: [
|
|
18556
19321
|
{
|
|
18557
19322
|
name: 'Authorization',
|
|
@@ -18566,16 +19331,15 @@ export const marketplaceOfferingUserRolesCreate = (options) => {
|
|
|
18566
19331
|
type: 'http'
|
|
18567
19332
|
}
|
|
18568
19333
|
],
|
|
18569
|
-
url: '/api/marketplace-offering-
|
|
18570
|
-
...options
|
|
18571
|
-
headers: {
|
|
18572
|
-
'Content-Type': 'application/json',
|
|
18573
|
-
...options.headers
|
|
18574
|
-
}
|
|
19334
|
+
url: '/api/marketplace-offering-usage-policies/actions/',
|
|
19335
|
+
...options
|
|
18575
19336
|
});
|
|
18576
19337
|
};
|
|
18577
|
-
|
|
18578
|
-
|
|
19338
|
+
/**
|
|
19339
|
+
* Get number of items in the collection matching the request parameters.
|
|
19340
|
+
*/
|
|
19341
|
+
export const marketplaceOfferingUsagePoliciesActionsCount = (options) => {
|
|
19342
|
+
return (options?.client ?? _heyApiClient).head({
|
|
18579
19343
|
security: [
|
|
18580
19344
|
{
|
|
18581
19345
|
name: 'Authorization',
|
|
@@ -18590,12 +19354,20 @@ export const marketplaceOfferingUserRolesDestroy = (options) => {
|
|
|
18590
19354
|
type: 'http'
|
|
18591
19355
|
}
|
|
18592
19356
|
],
|
|
18593
|
-
url: '/api/marketplace-offering-
|
|
19357
|
+
url: '/api/marketplace-offering-usage-policies/actions/',
|
|
18594
19358
|
...options
|
|
18595
19359
|
});
|
|
18596
19360
|
};
|
|
18597
|
-
|
|
18598
|
-
|
|
19361
|
+
/**
|
|
19362
|
+
* List checklist completions for offering users
|
|
19363
|
+
*
|
|
19364
|
+
* Returns a paginated list of all checklist completions for offering users that the current user is allowed to see.
|
|
19365
|
+
* This endpoint is used by service providers to monitor compliance status and by users to see their own required checklists.
|
|
19366
|
+
* Visibility follows the same rules as the `OfferingUsers` endpoint.
|
|
19367
|
+
*
|
|
19368
|
+
*/
|
|
19369
|
+
export const marketplaceOfferingUserChecklistCompletionsList = (options) => {
|
|
19370
|
+
return (options?.client ?? _heyApiClient).get({
|
|
18599
19371
|
security: [
|
|
18600
19372
|
{
|
|
18601
19373
|
name: 'Authorization',
|
|
@@ -18610,12 +19382,16 @@ export const marketplaceOfferingUserRolesRetrieve = (options) => {
|
|
|
18610
19382
|
type: 'http'
|
|
18611
19383
|
}
|
|
18612
19384
|
],
|
|
18613
|
-
url: '/api/marketplace-offering-user-
|
|
19385
|
+
url: '/api/marketplace-offering-user-checklist-completions/',
|
|
18614
19386
|
...options
|
|
18615
19387
|
});
|
|
18616
19388
|
};
|
|
18617
|
-
|
|
18618
|
-
|
|
19389
|
+
/**
|
|
19390
|
+
* List checklist completions for offering users
|
|
19391
|
+
* Get number of items in the collection matching the request parameters.
|
|
19392
|
+
*/
|
|
19393
|
+
export const marketplaceOfferingUserChecklistCompletionsCount = (options) => {
|
|
19394
|
+
return (options?.client ?? _heyApiClient).head({
|
|
18619
19395
|
security: [
|
|
18620
19396
|
{
|
|
18621
19397
|
name: 'Authorization',
|
|
@@ -18630,16 +19406,16 @@ export const marketplaceOfferingUserRolesPartialUpdate = (options) => {
|
|
|
18630
19406
|
type: 'http'
|
|
18631
19407
|
}
|
|
18632
19408
|
],
|
|
18633
|
-
url: '/api/marketplace-offering-user-
|
|
18634
|
-
...options
|
|
18635
|
-
headers: {
|
|
18636
|
-
'Content-Type': 'application/json',
|
|
18637
|
-
...options.headers
|
|
18638
|
-
}
|
|
19409
|
+
url: '/api/marketplace-offering-user-checklist-completions/',
|
|
19410
|
+
...options
|
|
18639
19411
|
});
|
|
18640
19412
|
};
|
|
18641
|
-
|
|
18642
|
-
|
|
19413
|
+
/**
|
|
19414
|
+
* Retrieve a checklist completion
|
|
19415
|
+
* Returns the details of a specific checklist completion for an offering user.
|
|
19416
|
+
*/
|
|
19417
|
+
export const marketplaceOfferingUserChecklistCompletionsRetrieve = (options) => {
|
|
19418
|
+
return (options.client ?? _heyApiClient).get({
|
|
18643
19419
|
security: [
|
|
18644
19420
|
{
|
|
18645
19421
|
name: 'Authorization',
|
|
@@ -18654,12 +19430,8 @@ export const marketplaceOfferingUserRolesUpdate = (options) => {
|
|
|
18654
19430
|
type: 'http'
|
|
18655
19431
|
}
|
|
18656
19432
|
],
|
|
18657
|
-
url: '/api/marketplace-offering-user-
|
|
18658
|
-
...options
|
|
18659
|
-
headers: {
|
|
18660
|
-
'Content-Type': 'application/json',
|
|
18661
|
-
...options.headers
|
|
18662
|
-
}
|
|
19433
|
+
url: '/api/marketplace-offering-user-checklist-completions/{id}/',
|
|
19434
|
+
...options
|
|
18663
19435
|
});
|
|
18664
19436
|
};
|
|
18665
19437
|
/**
|
|
@@ -21014,6 +21786,54 @@ export const marketplaceProjectUpdateRequestsReject = (options) => {
|
|
|
21014
21786
|
}
|
|
21015
21787
|
});
|
|
21016
21788
|
};
|
|
21789
|
+
/**
|
|
21790
|
+
* Get resource usage statistics broken down per offering
|
|
21791
|
+
* Returns one row per (offering, component type, billing type) for all non-terminated resources within the scope. Each row's `usage` and `limit_usage` are aggregated using the offering's own `limit_period`.
|
|
21792
|
+
*/
|
|
21793
|
+
export const marketplaceProjectUsageComponentsUsageRetrieve = (options) => {
|
|
21794
|
+
return (options.client ?? _heyApiClient).get({
|
|
21795
|
+
security: [
|
|
21796
|
+
{
|
|
21797
|
+
name: 'Authorization',
|
|
21798
|
+
type: 'apiKey'
|
|
21799
|
+
},
|
|
21800
|
+
{
|
|
21801
|
+
scheme: 'bearer',
|
|
21802
|
+
type: 'http'
|
|
21803
|
+
},
|
|
21804
|
+
{
|
|
21805
|
+
scheme: 'bearer',
|
|
21806
|
+
type: 'http'
|
|
21807
|
+
}
|
|
21808
|
+
],
|
|
21809
|
+
url: '/api/marketplace-project-usage/{uuid}/components-usage/',
|
|
21810
|
+
...options
|
|
21811
|
+
});
|
|
21812
|
+
};
|
|
21813
|
+
/**
|
|
21814
|
+
* Get monthly usage buckets for a single offering
|
|
21815
|
+
* Returns a per-month timeseries of `ComponentUsage` for one offering, restricted to that offering's current `limit_period`. Buckets are keyed by `billing_period` (always month-start). `period_offset` shifts the window backward by N periods.
|
|
21816
|
+
*/
|
|
21817
|
+
export const marketplaceProjectUsageComponentsUsageTimeseriesRetrieve = (options) => {
|
|
21818
|
+
return (options.client ?? _heyApiClient).get({
|
|
21819
|
+
security: [
|
|
21820
|
+
{
|
|
21821
|
+
name: 'Authorization',
|
|
21822
|
+
type: 'apiKey'
|
|
21823
|
+
},
|
|
21824
|
+
{
|
|
21825
|
+
scheme: 'bearer',
|
|
21826
|
+
type: 'http'
|
|
21827
|
+
},
|
|
21828
|
+
{
|
|
21829
|
+
scheme: 'bearer',
|
|
21830
|
+
type: 'http'
|
|
21831
|
+
}
|
|
21832
|
+
],
|
|
21833
|
+
url: '/api/marketplace-project-usage/{uuid}/components-usage-timeseries/',
|
|
21834
|
+
...options
|
|
21835
|
+
});
|
|
21836
|
+
};
|
|
21017
21837
|
/**
|
|
21018
21838
|
* List provider offerings
|
|
21019
21839
|
* Returns a paginated list of offerings for the provider.
|
|
@@ -22226,6 +23046,34 @@ export const marketplaceProviderOfferingsSetBackendMetadata = (options) => {
|
|
|
22226
23046
|
}
|
|
22227
23047
|
});
|
|
22228
23048
|
};
|
|
23049
|
+
/**
|
|
23050
|
+
* Bind / unbind offering to a service profile
|
|
23051
|
+
* 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).
|
|
23052
|
+
*/
|
|
23053
|
+
export const marketplaceProviderOfferingsSetProfile = (options) => {
|
|
23054
|
+
return (options.client ?? _heyApiClient).post({
|
|
23055
|
+
security: [
|
|
23056
|
+
{
|
|
23057
|
+
name: 'Authorization',
|
|
23058
|
+
type: 'apiKey'
|
|
23059
|
+
},
|
|
23060
|
+
{
|
|
23061
|
+
scheme: 'bearer',
|
|
23062
|
+
type: 'http'
|
|
23063
|
+
},
|
|
23064
|
+
{
|
|
23065
|
+
scheme: 'bearer',
|
|
23066
|
+
type: 'http'
|
|
23067
|
+
}
|
|
23068
|
+
],
|
|
23069
|
+
url: '/api/marketplace-provider-offerings/{uuid}/set_profile/',
|
|
23070
|
+
...options,
|
|
23071
|
+
headers: {
|
|
23072
|
+
'Content-Type': 'application/json',
|
|
23073
|
+
...options.headers
|
|
23074
|
+
}
|
|
23075
|
+
});
|
|
23076
|
+
};
|
|
22229
23077
|
/**
|
|
22230
23078
|
* Get offering resource and user state counters
|
|
22231
23079
|
* Returns resource and offering-user counts grouped by state for the given offering.
|
|
@@ -23058,6 +23906,293 @@ export const marketplaceProviderOfferingsImportOffering = (options) => {
|
|
|
23058
23906
|
}
|
|
23059
23907
|
});
|
|
23060
23908
|
};
|
|
23909
|
+
export const marketplaceProviderResourceProjectsList = (options) => {
|
|
23910
|
+
return (options?.client ?? _heyApiClient).get({
|
|
23911
|
+
security: [
|
|
23912
|
+
{
|
|
23913
|
+
name: 'Authorization',
|
|
23914
|
+
type: 'apiKey'
|
|
23915
|
+
},
|
|
23916
|
+
{
|
|
23917
|
+
scheme: 'bearer',
|
|
23918
|
+
type: 'http'
|
|
23919
|
+
},
|
|
23920
|
+
{
|
|
23921
|
+
scheme: 'bearer',
|
|
23922
|
+
type: 'http'
|
|
23923
|
+
}
|
|
23924
|
+
],
|
|
23925
|
+
url: '/api/marketplace-provider-resource-projects/',
|
|
23926
|
+
...options
|
|
23927
|
+
});
|
|
23928
|
+
};
|
|
23929
|
+
/**
|
|
23930
|
+
* Get number of items in the collection matching the request parameters.
|
|
23931
|
+
*/
|
|
23932
|
+
export const marketplaceProviderResourceProjectsCount = (options) => {
|
|
23933
|
+
return (options?.client ?? _heyApiClient).head({
|
|
23934
|
+
security: [
|
|
23935
|
+
{
|
|
23936
|
+
name: 'Authorization',
|
|
23937
|
+
type: 'apiKey'
|
|
23938
|
+
},
|
|
23939
|
+
{
|
|
23940
|
+
scheme: 'bearer',
|
|
23941
|
+
type: 'http'
|
|
23942
|
+
},
|
|
23943
|
+
{
|
|
23944
|
+
scheme: 'bearer',
|
|
23945
|
+
type: 'http'
|
|
23946
|
+
}
|
|
23947
|
+
],
|
|
23948
|
+
url: '/api/marketplace-provider-resource-projects/',
|
|
23949
|
+
...options
|
|
23950
|
+
});
|
|
23951
|
+
};
|
|
23952
|
+
export const marketplaceProviderResourceProjectsRetrieve = (options) => {
|
|
23953
|
+
return (options.client ?? _heyApiClient).get({
|
|
23954
|
+
security: [
|
|
23955
|
+
{
|
|
23956
|
+
name: 'Authorization',
|
|
23957
|
+
type: 'apiKey'
|
|
23958
|
+
},
|
|
23959
|
+
{
|
|
23960
|
+
scheme: 'bearer',
|
|
23961
|
+
type: 'http'
|
|
23962
|
+
},
|
|
23963
|
+
{
|
|
23964
|
+
scheme: 'bearer',
|
|
23965
|
+
type: 'http'
|
|
23966
|
+
}
|
|
23967
|
+
],
|
|
23968
|
+
url: '/api/marketplace-provider-resource-projects/{uuid}/',
|
|
23969
|
+
...options
|
|
23970
|
+
});
|
|
23971
|
+
};
|
|
23972
|
+
export const marketplaceProviderResourceProjectsPartialUpdate = (options) => {
|
|
23973
|
+
return (options.client ?? _heyApiClient).patch({
|
|
23974
|
+
security: [
|
|
23975
|
+
{
|
|
23976
|
+
name: 'Authorization',
|
|
23977
|
+
type: 'apiKey'
|
|
23978
|
+
},
|
|
23979
|
+
{
|
|
23980
|
+
scheme: 'bearer',
|
|
23981
|
+
type: 'http'
|
|
23982
|
+
},
|
|
23983
|
+
{
|
|
23984
|
+
scheme: 'bearer',
|
|
23985
|
+
type: 'http'
|
|
23986
|
+
}
|
|
23987
|
+
],
|
|
23988
|
+
url: '/api/marketplace-provider-resource-projects/{uuid}/',
|
|
23989
|
+
...options,
|
|
23990
|
+
headers: {
|
|
23991
|
+
'Content-Type': 'application/json',
|
|
23992
|
+
...options.headers
|
|
23993
|
+
}
|
|
23994
|
+
});
|
|
23995
|
+
};
|
|
23996
|
+
export const marketplaceProviderResourceProjectsUpdate = (options) => {
|
|
23997
|
+
return (options.client ?? _heyApiClient).put({
|
|
23998
|
+
security: [
|
|
23999
|
+
{
|
|
24000
|
+
name: 'Authorization',
|
|
24001
|
+
type: 'apiKey'
|
|
24002
|
+
},
|
|
24003
|
+
{
|
|
24004
|
+
scheme: 'bearer',
|
|
24005
|
+
type: 'http'
|
|
24006
|
+
},
|
|
24007
|
+
{
|
|
24008
|
+
scheme: 'bearer',
|
|
24009
|
+
type: 'http'
|
|
24010
|
+
}
|
|
24011
|
+
],
|
|
24012
|
+
url: '/api/marketplace-provider-resource-projects/{uuid}/',
|
|
24013
|
+
...options,
|
|
24014
|
+
headers: {
|
|
24015
|
+
'Content-Type': 'application/json',
|
|
24016
|
+
...options.headers
|
|
24017
|
+
}
|
|
24018
|
+
});
|
|
24019
|
+
};
|
|
24020
|
+
/**
|
|
24021
|
+
* Grant a role to a user
|
|
24022
|
+
* Assigns a specific role to a user within the current scope. An optional expiration time for the role can be set.
|
|
24023
|
+
*/
|
|
24024
|
+
export const marketplaceProviderResourceProjectsAddUser = (options) => {
|
|
24025
|
+
return (options.client ?? _heyApiClient).post({
|
|
24026
|
+
security: [
|
|
24027
|
+
{
|
|
24028
|
+
name: 'Authorization',
|
|
24029
|
+
type: 'apiKey'
|
|
24030
|
+
},
|
|
24031
|
+
{
|
|
24032
|
+
scheme: 'bearer',
|
|
24033
|
+
type: 'http'
|
|
24034
|
+
},
|
|
24035
|
+
{
|
|
24036
|
+
scheme: 'bearer',
|
|
24037
|
+
type: 'http'
|
|
24038
|
+
}
|
|
24039
|
+
],
|
|
24040
|
+
url: '/api/marketplace-provider-resource-projects/{uuid}/add_user/',
|
|
24041
|
+
...options,
|
|
24042
|
+
headers: {
|
|
24043
|
+
'Content-Type': 'application/json',
|
|
24044
|
+
...options.headers
|
|
24045
|
+
}
|
|
24046
|
+
});
|
|
24047
|
+
};
|
|
24048
|
+
/**
|
|
24049
|
+
* Revoke a role from a user
|
|
24050
|
+
* Removes a specific role from a user within the current scope. This effectively revokes their permissions associated with that role.
|
|
24051
|
+
*/
|
|
24052
|
+
export const marketplaceProviderResourceProjectsDeleteUser = (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}/delete_user/',
|
|
24069
|
+
...options,
|
|
24070
|
+
headers: {
|
|
24071
|
+
'Content-Type': 'application/json',
|
|
24072
|
+
...options.headers
|
|
24073
|
+
}
|
|
24074
|
+
});
|
|
24075
|
+
};
|
|
24076
|
+
/**
|
|
24077
|
+
* List users and their roles in a scope
|
|
24078
|
+
* 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.
|
|
24079
|
+
*/
|
|
24080
|
+
export const marketplaceProviderResourceProjectsListUsersList = (options) => {
|
|
24081
|
+
return (options.client ?? _heyApiClient).get({
|
|
24082
|
+
security: [
|
|
24083
|
+
{
|
|
24084
|
+
name: 'Authorization',
|
|
24085
|
+
type: 'apiKey'
|
|
24086
|
+
},
|
|
24087
|
+
{
|
|
24088
|
+
scheme: 'bearer',
|
|
24089
|
+
type: 'http'
|
|
24090
|
+
},
|
|
24091
|
+
{
|
|
24092
|
+
scheme: 'bearer',
|
|
24093
|
+
type: 'http'
|
|
24094
|
+
}
|
|
24095
|
+
],
|
|
24096
|
+
url: '/api/marketplace-provider-resource-projects/{uuid}/list_users/',
|
|
24097
|
+
...options
|
|
24098
|
+
});
|
|
24099
|
+
};
|
|
24100
|
+
export const marketplaceProviderResourceProjectsSetBackendId = (options) => {
|
|
24101
|
+
return (options.client ?? _heyApiClient).post({
|
|
24102
|
+
security: [
|
|
24103
|
+
{
|
|
24104
|
+
name: 'Authorization',
|
|
24105
|
+
type: 'apiKey'
|
|
24106
|
+
},
|
|
24107
|
+
{
|
|
24108
|
+
scheme: 'bearer',
|
|
24109
|
+
type: 'http'
|
|
24110
|
+
},
|
|
24111
|
+
{
|
|
24112
|
+
scheme: 'bearer',
|
|
24113
|
+
type: 'http'
|
|
24114
|
+
}
|
|
24115
|
+
],
|
|
24116
|
+
url: '/api/marketplace-provider-resource-projects/{uuid}/set_backend_id/',
|
|
24117
|
+
...options,
|
|
24118
|
+
headers: {
|
|
24119
|
+
'Content-Type': 'application/json',
|
|
24120
|
+
...options.headers
|
|
24121
|
+
}
|
|
24122
|
+
});
|
|
24123
|
+
};
|
|
24124
|
+
export const marketplaceProviderResourceProjectsSetStateErred = (options) => {
|
|
24125
|
+
return (options.client ?? _heyApiClient).post({
|
|
24126
|
+
security: [
|
|
24127
|
+
{
|
|
24128
|
+
name: 'Authorization',
|
|
24129
|
+
type: 'apiKey'
|
|
24130
|
+
},
|
|
24131
|
+
{
|
|
24132
|
+
scheme: 'bearer',
|
|
24133
|
+
type: 'http'
|
|
24134
|
+
},
|
|
24135
|
+
{
|
|
24136
|
+
scheme: 'bearer',
|
|
24137
|
+
type: 'http'
|
|
24138
|
+
}
|
|
24139
|
+
],
|
|
24140
|
+
url: '/api/marketplace-provider-resource-projects/{uuid}/set_state_erred/',
|
|
24141
|
+
...options,
|
|
24142
|
+
headers: {
|
|
24143
|
+
'Content-Type': 'application/json',
|
|
24144
|
+
...options.headers
|
|
24145
|
+
}
|
|
24146
|
+
});
|
|
24147
|
+
};
|
|
24148
|
+
export const marketplaceProviderResourceProjectsSetStateOk = (options) => {
|
|
24149
|
+
return (options.client ?? _heyApiClient).post({
|
|
24150
|
+
security: [
|
|
24151
|
+
{
|
|
24152
|
+
name: 'Authorization',
|
|
24153
|
+
type: 'apiKey'
|
|
24154
|
+
},
|
|
24155
|
+
{
|
|
24156
|
+
scheme: 'bearer',
|
|
24157
|
+
type: 'http'
|
|
24158
|
+
},
|
|
24159
|
+
{
|
|
24160
|
+
scheme: 'bearer',
|
|
24161
|
+
type: 'http'
|
|
24162
|
+
}
|
|
24163
|
+
],
|
|
24164
|
+
url: '/api/marketplace-provider-resource-projects/{uuid}/set_state_ok/',
|
|
24165
|
+
...options
|
|
24166
|
+
});
|
|
24167
|
+
};
|
|
24168
|
+
/**
|
|
24169
|
+
* Update a user's role expiration
|
|
24170
|
+
* 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.
|
|
24171
|
+
*/
|
|
24172
|
+
export const marketplaceProviderResourceProjectsUpdateUser = (options) => {
|
|
24173
|
+
return (options.client ?? _heyApiClient).post({
|
|
24174
|
+
security: [
|
|
24175
|
+
{
|
|
24176
|
+
name: 'Authorization',
|
|
24177
|
+
type: 'apiKey'
|
|
24178
|
+
},
|
|
24179
|
+
{
|
|
24180
|
+
scheme: 'bearer',
|
|
24181
|
+
type: 'http'
|
|
24182
|
+
},
|
|
24183
|
+
{
|
|
24184
|
+
scheme: 'bearer',
|
|
24185
|
+
type: 'http'
|
|
24186
|
+
}
|
|
24187
|
+
],
|
|
24188
|
+
url: '/api/marketplace-provider-resource-projects/{uuid}/update_user/',
|
|
24189
|
+
...options,
|
|
24190
|
+
headers: {
|
|
24191
|
+
'Content-Type': 'application/json',
|
|
24192
|
+
...options.headers
|
|
24193
|
+
}
|
|
24194
|
+
});
|
|
24195
|
+
};
|
|
23061
24196
|
/**
|
|
23062
24197
|
* List provider resources
|
|
23063
24198
|
* Returns a paginated list of resources for offerings managed by the current user as a service provider.
|
|
@@ -23186,6 +24321,62 @@ export const marketplaceProviderResourcesUpdate = (options) => {
|
|
|
23186
24321
|
}
|
|
23187
24322
|
});
|
|
23188
24323
|
};
|
|
24324
|
+
/**
|
|
24325
|
+
* Grant a role to a user
|
|
24326
|
+
* Assigns a specific role to a user within the current scope. An optional expiration time for the role can be set.
|
|
24327
|
+
*/
|
|
24328
|
+
export const marketplaceProviderResourcesAddUser = (options) => {
|
|
24329
|
+
return (options.client ?? _heyApiClient).post({
|
|
24330
|
+
security: [
|
|
24331
|
+
{
|
|
24332
|
+
name: 'Authorization',
|
|
24333
|
+
type: 'apiKey'
|
|
24334
|
+
},
|
|
24335
|
+
{
|
|
24336
|
+
scheme: 'bearer',
|
|
24337
|
+
type: 'http'
|
|
24338
|
+
},
|
|
24339
|
+
{
|
|
24340
|
+
scheme: 'bearer',
|
|
24341
|
+
type: 'http'
|
|
24342
|
+
}
|
|
24343
|
+
],
|
|
24344
|
+
url: '/api/marketplace-provider-resources/{uuid}/add_user/',
|
|
24345
|
+
...options,
|
|
24346
|
+
headers: {
|
|
24347
|
+
'Content-Type': 'application/json',
|
|
24348
|
+
...options.headers
|
|
24349
|
+
}
|
|
24350
|
+
});
|
|
24351
|
+
};
|
|
24352
|
+
/**
|
|
24353
|
+
* Revoke a role from a user
|
|
24354
|
+
* Removes a specific role from a user within the current scope. This effectively revokes their permissions associated with that role.
|
|
24355
|
+
*/
|
|
24356
|
+
export const marketplaceProviderResourcesDeleteUser = (options) => {
|
|
24357
|
+
return (options.client ?? _heyApiClient).post({
|
|
24358
|
+
security: [
|
|
24359
|
+
{
|
|
24360
|
+
name: 'Authorization',
|
|
24361
|
+
type: 'apiKey'
|
|
24362
|
+
},
|
|
24363
|
+
{
|
|
24364
|
+
scheme: 'bearer',
|
|
24365
|
+
type: 'http'
|
|
24366
|
+
},
|
|
24367
|
+
{
|
|
24368
|
+
scheme: 'bearer',
|
|
24369
|
+
type: 'http'
|
|
24370
|
+
}
|
|
24371
|
+
],
|
|
24372
|
+
url: '/api/marketplace-provider-resources/{uuid}/delete_user/',
|
|
24373
|
+
...options,
|
|
24374
|
+
headers: {
|
|
24375
|
+
'Content-Type': 'application/json',
|
|
24376
|
+
...options.headers
|
|
24377
|
+
}
|
|
24378
|
+
});
|
|
24379
|
+
};
|
|
23189
24380
|
/**
|
|
23190
24381
|
* Get resource details
|
|
23191
24382
|
* 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 +24476,30 @@ export const marketplaceProviderResourcesHistoryAtRetrieve = (options) => {
|
|
|
23285
24476
|
...options
|
|
23286
24477
|
});
|
|
23287
24478
|
};
|
|
24479
|
+
/**
|
|
24480
|
+
* List users and their roles in a scope
|
|
24481
|
+
* 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.
|
|
24482
|
+
*/
|
|
24483
|
+
export const marketplaceProviderResourcesListUsersList = (options) => {
|
|
24484
|
+
return (options.client ?? _heyApiClient).get({
|
|
24485
|
+
security: [
|
|
24486
|
+
{
|
|
24487
|
+
name: 'Authorization',
|
|
24488
|
+
type: 'apiKey'
|
|
24489
|
+
},
|
|
24490
|
+
{
|
|
24491
|
+
scheme: 'bearer',
|
|
24492
|
+
type: 'http'
|
|
24493
|
+
},
|
|
24494
|
+
{
|
|
24495
|
+
scheme: 'bearer',
|
|
24496
|
+
type: 'http'
|
|
24497
|
+
}
|
|
24498
|
+
],
|
|
24499
|
+
url: '/api/marketplace-provider-resources/{uuid}/list_users/',
|
|
24500
|
+
...options
|
|
24501
|
+
});
|
|
24502
|
+
};
|
|
23288
24503
|
/**
|
|
23289
24504
|
* Move a resource to another project
|
|
23290
24505
|
* Moves a resource and its associated data to a different project. Requires staff permissions.
|
|
@@ -23707,34 +24922,6 @@ export const marketplaceProviderResourcesSetEndDateByStaff = (options) => {
|
|
|
23707
24922
|
}
|
|
23708
24923
|
});
|
|
23709
24924
|
};
|
|
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
24925
|
/**
|
|
23739
24926
|
* Set resource limits
|
|
23740
24927
|
* 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 +25218,34 @@ export const marketplaceProviderResourcesUpdateOptionsDirect = (options) => {
|
|
|
24031
25218
|
}
|
|
24032
25219
|
});
|
|
24033
25220
|
};
|
|
25221
|
+
/**
|
|
25222
|
+
* Update a user's role expiration
|
|
25223
|
+
* 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.
|
|
25224
|
+
*/
|
|
25225
|
+
export const marketplaceProviderResourcesUpdateUser = (options) => {
|
|
25226
|
+
return (options.client ?? _heyApiClient).post({
|
|
25227
|
+
security: [
|
|
25228
|
+
{
|
|
25229
|
+
name: 'Authorization',
|
|
25230
|
+
type: 'apiKey'
|
|
25231
|
+
},
|
|
25232
|
+
{
|
|
25233
|
+
scheme: 'bearer',
|
|
25234
|
+
type: 'http'
|
|
25235
|
+
},
|
|
25236
|
+
{
|
|
25237
|
+
scheme: 'bearer',
|
|
25238
|
+
type: 'http'
|
|
25239
|
+
}
|
|
25240
|
+
],
|
|
25241
|
+
url: '/api/marketplace-provider-resources/{uuid}/update_user/',
|
|
25242
|
+
...options,
|
|
25243
|
+
headers: {
|
|
25244
|
+
'Content-Type': 'application/json',
|
|
25245
|
+
...options.headers
|
|
25246
|
+
}
|
|
25247
|
+
});
|
|
25248
|
+
};
|
|
24034
25249
|
/**
|
|
24035
25250
|
* Check service provider signature
|
|
24036
25251
|
*
|
|
@@ -24434,11 +25649,7 @@ export const marketplaceResourceOfferingsList = (options) => {
|
|
|
24434
25649
|
...options
|
|
24435
25650
|
});
|
|
24436
25651
|
};
|
|
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) => {
|
|
25652
|
+
export const marketplaceResourceProjectsList = (options) => {
|
|
24442
25653
|
return (options?.client ?? _heyApiClient).get({
|
|
24443
25654
|
security: [
|
|
24444
25655
|
{
|
|
@@ -24454,15 +25665,14 @@ export const marketplaceResourceUsersList = (options) => {
|
|
|
24454
25665
|
type: 'http'
|
|
24455
25666
|
}
|
|
24456
25667
|
],
|
|
24457
|
-
url: '/api/marketplace-resource-
|
|
25668
|
+
url: '/api/marketplace-resource-projects/',
|
|
24458
25669
|
...options
|
|
24459
25670
|
});
|
|
24460
25671
|
};
|
|
24461
25672
|
/**
|
|
24462
|
-
* List resource users
|
|
24463
25673
|
* Get number of items in the collection matching the request parameters.
|
|
24464
25674
|
*/
|
|
24465
|
-
export const
|
|
25675
|
+
export const marketplaceResourceProjectsCount = (options) => {
|
|
24466
25676
|
return (options?.client ?? _heyApiClient).head({
|
|
24467
25677
|
security: [
|
|
24468
25678
|
{
|
|
@@ -24478,15 +25688,127 @@ export const marketplaceResourceUsersCount = (options) => {
|
|
|
24478
25688
|
type: 'http'
|
|
24479
25689
|
}
|
|
24480
25690
|
],
|
|
24481
|
-
url: '/api/marketplace-resource-
|
|
25691
|
+
url: '/api/marketplace-resource-projects/',
|
|
25692
|
+
...options
|
|
25693
|
+
});
|
|
25694
|
+
};
|
|
25695
|
+
export const marketplaceResourceProjectsCreate = (options) => {
|
|
25696
|
+
return (options.client ?? _heyApiClient).post({
|
|
25697
|
+
security: [
|
|
25698
|
+
{
|
|
25699
|
+
name: 'Authorization',
|
|
25700
|
+
type: 'apiKey'
|
|
25701
|
+
},
|
|
25702
|
+
{
|
|
25703
|
+
scheme: 'bearer',
|
|
25704
|
+
type: 'http'
|
|
25705
|
+
},
|
|
25706
|
+
{
|
|
25707
|
+
scheme: 'bearer',
|
|
25708
|
+
type: 'http'
|
|
25709
|
+
}
|
|
25710
|
+
],
|
|
25711
|
+
url: '/api/marketplace-resource-projects/',
|
|
25712
|
+
...options,
|
|
25713
|
+
headers: {
|
|
25714
|
+
'Content-Type': 'application/json',
|
|
25715
|
+
...options.headers
|
|
25716
|
+
}
|
|
25717
|
+
});
|
|
25718
|
+
};
|
|
25719
|
+
export const marketplaceResourceProjectsDestroy = (options) => {
|
|
25720
|
+
return (options.client ?? _heyApiClient).delete({
|
|
25721
|
+
security: [
|
|
25722
|
+
{
|
|
25723
|
+
name: 'Authorization',
|
|
25724
|
+
type: 'apiKey'
|
|
25725
|
+
},
|
|
25726
|
+
{
|
|
25727
|
+
scheme: 'bearer',
|
|
25728
|
+
type: 'http'
|
|
25729
|
+
},
|
|
25730
|
+
{
|
|
25731
|
+
scheme: 'bearer',
|
|
25732
|
+
type: 'http'
|
|
25733
|
+
}
|
|
25734
|
+
],
|
|
25735
|
+
url: '/api/marketplace-resource-projects/{uuid}/',
|
|
24482
25736
|
...options
|
|
24483
25737
|
});
|
|
24484
25738
|
};
|
|
25739
|
+
export const marketplaceResourceProjectsRetrieve = (options) => {
|
|
25740
|
+
return (options.client ?? _heyApiClient).get({
|
|
25741
|
+
security: [
|
|
25742
|
+
{
|
|
25743
|
+
name: 'Authorization',
|
|
25744
|
+
type: 'apiKey'
|
|
25745
|
+
},
|
|
25746
|
+
{
|
|
25747
|
+
scheme: 'bearer',
|
|
25748
|
+
type: 'http'
|
|
25749
|
+
},
|
|
25750
|
+
{
|
|
25751
|
+
scheme: 'bearer',
|
|
25752
|
+
type: 'http'
|
|
25753
|
+
}
|
|
25754
|
+
],
|
|
25755
|
+
url: '/api/marketplace-resource-projects/{uuid}/',
|
|
25756
|
+
...options
|
|
25757
|
+
});
|
|
25758
|
+
};
|
|
25759
|
+
export const marketplaceResourceProjectsPartialUpdate = (options) => {
|
|
25760
|
+
return (options.client ?? _heyApiClient).patch({
|
|
25761
|
+
security: [
|
|
25762
|
+
{
|
|
25763
|
+
name: 'Authorization',
|
|
25764
|
+
type: 'apiKey'
|
|
25765
|
+
},
|
|
25766
|
+
{
|
|
25767
|
+
scheme: 'bearer',
|
|
25768
|
+
type: 'http'
|
|
25769
|
+
},
|
|
25770
|
+
{
|
|
25771
|
+
scheme: 'bearer',
|
|
25772
|
+
type: 'http'
|
|
25773
|
+
}
|
|
25774
|
+
],
|
|
25775
|
+
url: '/api/marketplace-resource-projects/{uuid}/',
|
|
25776
|
+
...options,
|
|
25777
|
+
headers: {
|
|
25778
|
+
'Content-Type': 'application/json',
|
|
25779
|
+
...options.headers
|
|
25780
|
+
}
|
|
25781
|
+
});
|
|
25782
|
+
};
|
|
25783
|
+
export const marketplaceResourceProjectsUpdate = (options) => {
|
|
25784
|
+
return (options.client ?? _heyApiClient).put({
|
|
25785
|
+
security: [
|
|
25786
|
+
{
|
|
25787
|
+
name: 'Authorization',
|
|
25788
|
+
type: 'apiKey'
|
|
25789
|
+
},
|
|
25790
|
+
{
|
|
25791
|
+
scheme: 'bearer',
|
|
25792
|
+
type: 'http'
|
|
25793
|
+
},
|
|
25794
|
+
{
|
|
25795
|
+
scheme: 'bearer',
|
|
25796
|
+
type: 'http'
|
|
25797
|
+
}
|
|
25798
|
+
],
|
|
25799
|
+
url: '/api/marketplace-resource-projects/{uuid}/',
|
|
25800
|
+
...options,
|
|
25801
|
+
headers: {
|
|
25802
|
+
'Content-Type': 'application/json',
|
|
25803
|
+
...options.headers
|
|
25804
|
+
}
|
|
25805
|
+
});
|
|
25806
|
+
};
|
|
24485
25807
|
/**
|
|
24486
|
-
*
|
|
24487
|
-
*
|
|
25808
|
+
* Grant a role to a user
|
|
25809
|
+
* Assigns a specific role to a user within the current scope. An optional expiration time for the role can be set.
|
|
24488
25810
|
*/
|
|
24489
|
-
export const
|
|
25811
|
+
export const marketplaceResourceProjectsAddUser = (options) => {
|
|
24490
25812
|
return (options.client ?? _heyApiClient).post({
|
|
24491
25813
|
security: [
|
|
24492
25814
|
{
|
|
@@ -24502,7 +25824,7 @@ export const marketplaceResourceUsersCreate = (options) => {
|
|
|
24502
25824
|
type: 'http'
|
|
24503
25825
|
}
|
|
24504
25826
|
],
|
|
24505
|
-
url: '/api/marketplace-resource-
|
|
25827
|
+
url: '/api/marketplace-resource-projects/{uuid}/add_user/',
|
|
24506
25828
|
...options,
|
|
24507
25829
|
headers: {
|
|
24508
25830
|
'Content-Type': 'application/json',
|
|
@@ -24511,11 +25833,11 @@ export const marketplaceResourceUsersCreate = (options) => {
|
|
|
24511
25833
|
});
|
|
24512
25834
|
};
|
|
24513
25835
|
/**
|
|
24514
|
-
*
|
|
24515
|
-
* Removes
|
|
25836
|
+
* Revoke a role from a user
|
|
25837
|
+
* Removes a specific role from a user within the current scope. This effectively revokes their permissions associated with that role.
|
|
24516
25838
|
*/
|
|
24517
|
-
export const
|
|
24518
|
-
return (options.client ?? _heyApiClient).
|
|
25839
|
+
export const marketplaceResourceProjectsDeleteUser = (options) => {
|
|
25840
|
+
return (options.client ?? _heyApiClient).post({
|
|
24519
25841
|
security: [
|
|
24520
25842
|
{
|
|
24521
25843
|
name: 'Authorization',
|
|
@@ -24530,15 +25852,19 @@ export const marketplaceResourceUsersDestroy = (options) => {
|
|
|
24530
25852
|
type: 'http'
|
|
24531
25853
|
}
|
|
24532
25854
|
],
|
|
24533
|
-
url: '/api/marketplace-resource-
|
|
24534
|
-
...options
|
|
25855
|
+
url: '/api/marketplace-resource-projects/{uuid}/delete_user/',
|
|
25856
|
+
...options,
|
|
25857
|
+
headers: {
|
|
25858
|
+
'Content-Type': 'application/json',
|
|
25859
|
+
...options.headers
|
|
25860
|
+
}
|
|
24535
25861
|
});
|
|
24536
25862
|
};
|
|
24537
25863
|
/**
|
|
24538
|
-
*
|
|
24539
|
-
*
|
|
25864
|
+
* List users and their roles in a scope
|
|
25865
|
+
* 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
25866
|
*/
|
|
24541
|
-
export const
|
|
25867
|
+
export const marketplaceResourceProjectsListUsersList = (options) => {
|
|
24542
25868
|
return (options.client ?? _heyApiClient).get({
|
|
24543
25869
|
security: [
|
|
24544
25870
|
{
|
|
@@ -24554,10 +25880,38 @@ export const marketplaceResourceUsersRetrieve = (options) => {
|
|
|
24554
25880
|
type: 'http'
|
|
24555
25881
|
}
|
|
24556
25882
|
],
|
|
24557
|
-
url: '/api/marketplace-resource-
|
|
25883
|
+
url: '/api/marketplace-resource-projects/{uuid}/list_users/',
|
|
24558
25884
|
...options
|
|
24559
25885
|
});
|
|
24560
25886
|
};
|
|
25887
|
+
/**
|
|
25888
|
+
* Update a user's role expiration
|
|
25889
|
+
* 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.
|
|
25890
|
+
*/
|
|
25891
|
+
export const marketplaceResourceProjectsUpdateUser = (options) => {
|
|
25892
|
+
return (options.client ?? _heyApiClient).post({
|
|
25893
|
+
security: [
|
|
25894
|
+
{
|
|
25895
|
+
name: 'Authorization',
|
|
25896
|
+
type: 'apiKey'
|
|
25897
|
+
},
|
|
25898
|
+
{
|
|
25899
|
+
scheme: 'bearer',
|
|
25900
|
+
type: 'http'
|
|
25901
|
+
},
|
|
25902
|
+
{
|
|
25903
|
+
scheme: 'bearer',
|
|
25904
|
+
type: 'http'
|
|
25905
|
+
}
|
|
25906
|
+
],
|
|
25907
|
+
url: '/api/marketplace-resource-projects/{uuid}/update_user/',
|
|
25908
|
+
...options,
|
|
25909
|
+
headers: {
|
|
25910
|
+
'Content-Type': 'application/json',
|
|
25911
|
+
...options.headers
|
|
25912
|
+
}
|
|
25913
|
+
});
|
|
25914
|
+
};
|
|
24561
25915
|
/**
|
|
24562
25916
|
* List consumer resources
|
|
24563
25917
|
* Returns a paginated list of resources accessible to the current user as a service consumer.
|
|
@@ -24686,6 +26040,62 @@ export const marketplaceResourcesUpdate = (options) => {
|
|
|
24686
26040
|
}
|
|
24687
26041
|
});
|
|
24688
26042
|
};
|
|
26043
|
+
/**
|
|
26044
|
+
* Grant a role to a user
|
|
26045
|
+
* Assigns a specific role to a user within the current scope. An optional expiration time for the role can be set.
|
|
26046
|
+
*/
|
|
26047
|
+
export const marketplaceResourcesAddUser = (options) => {
|
|
26048
|
+
return (options.client ?? _heyApiClient).post({
|
|
26049
|
+
security: [
|
|
26050
|
+
{
|
|
26051
|
+
name: 'Authorization',
|
|
26052
|
+
type: 'apiKey'
|
|
26053
|
+
},
|
|
26054
|
+
{
|
|
26055
|
+
scheme: 'bearer',
|
|
26056
|
+
type: 'http'
|
|
26057
|
+
},
|
|
26058
|
+
{
|
|
26059
|
+
scheme: 'bearer',
|
|
26060
|
+
type: 'http'
|
|
26061
|
+
}
|
|
26062
|
+
],
|
|
26063
|
+
url: '/api/marketplace-resources/{uuid}/add_user/',
|
|
26064
|
+
...options,
|
|
26065
|
+
headers: {
|
|
26066
|
+
'Content-Type': 'application/json',
|
|
26067
|
+
...options.headers
|
|
26068
|
+
}
|
|
26069
|
+
});
|
|
26070
|
+
};
|
|
26071
|
+
/**
|
|
26072
|
+
* Revoke a role from a user
|
|
26073
|
+
* Removes a specific role from a user within the current scope. This effectively revokes their permissions associated with that role.
|
|
26074
|
+
*/
|
|
26075
|
+
export const marketplaceResourcesDeleteUser = (options) => {
|
|
26076
|
+
return (options.client ?? _heyApiClient).post({
|
|
26077
|
+
security: [
|
|
26078
|
+
{
|
|
26079
|
+
name: 'Authorization',
|
|
26080
|
+
type: 'apiKey'
|
|
26081
|
+
},
|
|
26082
|
+
{
|
|
26083
|
+
scheme: 'bearer',
|
|
26084
|
+
type: 'http'
|
|
26085
|
+
},
|
|
26086
|
+
{
|
|
26087
|
+
scheme: 'bearer',
|
|
26088
|
+
type: 'http'
|
|
26089
|
+
}
|
|
26090
|
+
],
|
|
26091
|
+
url: '/api/marketplace-resources/{uuid}/delete_user/',
|
|
26092
|
+
...options,
|
|
26093
|
+
headers: {
|
|
26094
|
+
'Content-Type': 'application/json',
|
|
26095
|
+
...options.headers
|
|
26096
|
+
}
|
|
26097
|
+
});
|
|
26098
|
+
};
|
|
24689
26099
|
/**
|
|
24690
26100
|
* Get resource details
|
|
24691
26101
|
* 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 +26222,30 @@ export const marketplaceResourcesHistoryAtRetrieve = (options) => {
|
|
|
24812
26222
|
...options
|
|
24813
26223
|
});
|
|
24814
26224
|
};
|
|
26225
|
+
/**
|
|
26226
|
+
* List users and their roles in a scope
|
|
26227
|
+
* 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.
|
|
26228
|
+
*/
|
|
26229
|
+
export const marketplaceResourcesListUsersList = (options) => {
|
|
26230
|
+
return (options.client ?? _heyApiClient).get({
|
|
26231
|
+
security: [
|
|
26232
|
+
{
|
|
26233
|
+
name: 'Authorization',
|
|
26234
|
+
type: 'apiKey'
|
|
26235
|
+
},
|
|
26236
|
+
{
|
|
26237
|
+
scheme: 'bearer',
|
|
26238
|
+
type: 'http'
|
|
26239
|
+
},
|
|
26240
|
+
{
|
|
26241
|
+
scheme: 'bearer',
|
|
26242
|
+
type: 'http'
|
|
26243
|
+
}
|
|
26244
|
+
],
|
|
26245
|
+
url: '/api/marketplace-resources/{uuid}/list_users/',
|
|
26246
|
+
...options
|
|
26247
|
+
});
|
|
26248
|
+
};
|
|
24815
26249
|
/**
|
|
24816
26250
|
* Move a resource to another project
|
|
24817
26251
|
* Moves a resource and its associated data to a different project. Requires staff permissions.
|
|
@@ -25237,6 +26671,30 @@ export const marketplaceResourcesTeamList = (options) => {
|
|
|
25237
26671
|
...options
|
|
25238
26672
|
});
|
|
25239
26673
|
};
|
|
26674
|
+
/**
|
|
26675
|
+
* List team members of a resource
|
|
26676
|
+
* 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.
|
|
26677
|
+
*/
|
|
26678
|
+
export const marketplaceResourcesTeamMembersList = (options) => {
|
|
26679
|
+
return (options.client ?? _heyApiClient).get({
|
|
26680
|
+
security: [
|
|
26681
|
+
{
|
|
26682
|
+
name: 'Authorization',
|
|
26683
|
+
type: 'apiKey'
|
|
26684
|
+
},
|
|
26685
|
+
{
|
|
26686
|
+
scheme: 'bearer',
|
|
26687
|
+
type: 'http'
|
|
26688
|
+
},
|
|
26689
|
+
{
|
|
26690
|
+
scheme: 'bearer',
|
|
26691
|
+
type: 'http'
|
|
26692
|
+
}
|
|
26693
|
+
],
|
|
26694
|
+
url: '/api/marketplace-resources/{uuid}/team_members/',
|
|
26695
|
+
...options
|
|
26696
|
+
});
|
|
26697
|
+
};
|
|
25240
26698
|
/**
|
|
25241
26699
|
* Terminate a resource
|
|
25242
26700
|
* Creates a marketplace order to terminate the resource. This action is asynchronous and may require approval.
|
|
@@ -25345,6 +26803,34 @@ export const marketplaceResourcesUpdateOptions = (options) => {
|
|
|
25345
26803
|
}
|
|
25346
26804
|
});
|
|
25347
26805
|
};
|
|
26806
|
+
/**
|
|
26807
|
+
* Update a user's role expiration
|
|
26808
|
+
* 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.
|
|
26809
|
+
*/
|
|
26810
|
+
export const marketplaceResourcesUpdateUser = (options) => {
|
|
26811
|
+
return (options.client ?? _heyApiClient).post({
|
|
26812
|
+
security: [
|
|
26813
|
+
{
|
|
26814
|
+
name: 'Authorization',
|
|
26815
|
+
type: 'apiKey'
|
|
26816
|
+
},
|
|
26817
|
+
{
|
|
26818
|
+
scheme: 'bearer',
|
|
26819
|
+
type: 'http'
|
|
26820
|
+
},
|
|
26821
|
+
{
|
|
26822
|
+
scheme: 'bearer',
|
|
26823
|
+
type: 'http'
|
|
26824
|
+
}
|
|
26825
|
+
],
|
|
26826
|
+
url: '/api/marketplace-resources/{uuid}/update_user/',
|
|
26827
|
+
...options,
|
|
26828
|
+
headers: {
|
|
26829
|
+
'Content-Type': 'application/json',
|
|
26830
|
+
...options.headers
|
|
26831
|
+
}
|
|
26832
|
+
});
|
|
26833
|
+
};
|
|
25348
26834
|
/**
|
|
25349
26835
|
* Suggest a resource name
|
|
25350
26836
|
* 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 +29606,7 @@ export const marketplaceSoftwareCatalogsUpdateCatalog = (options) => {
|
|
|
28120
29606
|
}
|
|
28121
29607
|
],
|
|
28122
29608
|
url: '/api/marketplace-software-catalogs/{uuid}/update_catalog/',
|
|
28123
|
-
...options
|
|
28124
|
-
headers: {
|
|
28125
|
-
'Content-Type': 'application/json',
|
|
28126
|
-
...options.headers
|
|
28127
|
-
}
|
|
29609
|
+
...options
|
|
28128
29610
|
});
|
|
28129
29611
|
};
|
|
28130
29612
|
/**
|
|
@@ -31839,488 +33321,6 @@ export const notificationMessagesEnable = (options) => {
|
|
|
31839
33321
|
...options
|
|
31840
33322
|
});
|
|
31841
33323
|
};
|
|
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
33324
|
export const onboardingJustificationsList = (options) => {
|
|
32325
33325
|
return (options?.client ?? _heyApiClient).get({
|
|
32326
33326
|
security: [
|
|
@@ -33182,6 +34182,69 @@ export const onboardingSupportedCountriesRetrieve = (options) => {
|
|
|
33182
34182
|
...options
|
|
33183
34183
|
});
|
|
33184
34184
|
};
|
|
34185
|
+
export const openportalAccountingSummaryList = (options) => {
|
|
34186
|
+
return (options?.client ?? _heyApiClient).get({
|
|
34187
|
+
security: [
|
|
34188
|
+
{
|
|
34189
|
+
name: 'Authorization',
|
|
34190
|
+
type: 'apiKey'
|
|
34191
|
+
},
|
|
34192
|
+
{
|
|
34193
|
+
scheme: 'bearer',
|
|
34194
|
+
type: 'http'
|
|
34195
|
+
},
|
|
34196
|
+
{
|
|
34197
|
+
scheme: 'bearer',
|
|
34198
|
+
type: 'http'
|
|
34199
|
+
}
|
|
34200
|
+
],
|
|
34201
|
+
url: '/api/openportal-accounting-summary/',
|
|
34202
|
+
...options
|
|
34203
|
+
});
|
|
34204
|
+
};
|
|
34205
|
+
/**
|
|
34206
|
+
* Get number of items in the collection matching the request parameters.
|
|
34207
|
+
*/
|
|
34208
|
+
export const openportalAccountingSummaryCount = (options) => {
|
|
34209
|
+
return (options?.client ?? _heyApiClient).head({
|
|
34210
|
+
security: [
|
|
34211
|
+
{
|
|
34212
|
+
name: 'Authorization',
|
|
34213
|
+
type: 'apiKey'
|
|
34214
|
+
},
|
|
34215
|
+
{
|
|
34216
|
+
scheme: 'bearer',
|
|
34217
|
+
type: 'http'
|
|
34218
|
+
},
|
|
34219
|
+
{
|
|
34220
|
+
scheme: 'bearer',
|
|
34221
|
+
type: 'http'
|
|
34222
|
+
}
|
|
34223
|
+
],
|
|
34224
|
+
url: '/api/openportal-accounting-summary/',
|
|
34225
|
+
...options
|
|
34226
|
+
});
|
|
34227
|
+
};
|
|
34228
|
+
export const openportalAccountingSummaryRetrieve = (options) => {
|
|
34229
|
+
return (options.client ?? _heyApiClient).get({
|
|
34230
|
+
security: [
|
|
34231
|
+
{
|
|
34232
|
+
name: 'Authorization',
|
|
34233
|
+
type: 'apiKey'
|
|
34234
|
+
},
|
|
34235
|
+
{
|
|
34236
|
+
scheme: 'bearer',
|
|
34237
|
+
type: 'http'
|
|
34238
|
+
},
|
|
34239
|
+
{
|
|
34240
|
+
scheme: 'bearer',
|
|
34241
|
+
type: 'http'
|
|
34242
|
+
}
|
|
34243
|
+
],
|
|
34244
|
+
url: '/api/openportal-accounting-summary/{uuid}/',
|
|
34245
|
+
...options
|
|
34246
|
+
});
|
|
34247
|
+
};
|
|
33185
34248
|
export const openportalAllocationUserUsageList = (options) => {
|
|
33186
34249
|
return (options?.client ?? _heyApiClient).get({
|
|
33187
34250
|
security: [
|
|
@@ -33808,6 +34871,69 @@ export const openportalManagedProjectsReject = (options) => {
|
|
|
33808
34871
|
}
|
|
33809
34872
|
});
|
|
33810
34873
|
};
|
|
34874
|
+
export const openportalProjectStorageReportsList = (options) => {
|
|
34875
|
+
return (options?.client ?? _heyApiClient).get({
|
|
34876
|
+
security: [
|
|
34877
|
+
{
|
|
34878
|
+
name: 'Authorization',
|
|
34879
|
+
type: 'apiKey'
|
|
34880
|
+
},
|
|
34881
|
+
{
|
|
34882
|
+
scheme: 'bearer',
|
|
34883
|
+
type: 'http'
|
|
34884
|
+
},
|
|
34885
|
+
{
|
|
34886
|
+
scheme: 'bearer',
|
|
34887
|
+
type: 'http'
|
|
34888
|
+
}
|
|
34889
|
+
],
|
|
34890
|
+
url: '/api/openportal-project-storage-reports/',
|
|
34891
|
+
...options
|
|
34892
|
+
});
|
|
34893
|
+
};
|
|
34894
|
+
/**
|
|
34895
|
+
* Get number of items in the collection matching the request parameters.
|
|
34896
|
+
*/
|
|
34897
|
+
export const openportalProjectStorageReportsCount = (options) => {
|
|
34898
|
+
return (options?.client ?? _heyApiClient).head({
|
|
34899
|
+
security: [
|
|
34900
|
+
{
|
|
34901
|
+
name: 'Authorization',
|
|
34902
|
+
type: 'apiKey'
|
|
34903
|
+
},
|
|
34904
|
+
{
|
|
34905
|
+
scheme: 'bearer',
|
|
34906
|
+
type: 'http'
|
|
34907
|
+
},
|
|
34908
|
+
{
|
|
34909
|
+
scheme: 'bearer',
|
|
34910
|
+
type: 'http'
|
|
34911
|
+
}
|
|
34912
|
+
],
|
|
34913
|
+
url: '/api/openportal-project-storage-reports/',
|
|
34914
|
+
...options
|
|
34915
|
+
});
|
|
34916
|
+
};
|
|
34917
|
+
export const openportalProjectStorageReportsRetrieve = (options) => {
|
|
34918
|
+
return (options.client ?? _heyApiClient).get({
|
|
34919
|
+
security: [
|
|
34920
|
+
{
|
|
34921
|
+
name: 'Authorization',
|
|
34922
|
+
type: 'apiKey'
|
|
34923
|
+
},
|
|
34924
|
+
{
|
|
34925
|
+
scheme: 'bearer',
|
|
34926
|
+
type: 'http'
|
|
34927
|
+
},
|
|
34928
|
+
{
|
|
34929
|
+
scheme: 'bearer',
|
|
34930
|
+
type: 'http'
|
|
34931
|
+
}
|
|
34932
|
+
],
|
|
34933
|
+
url: '/api/openportal-project-storage-reports/{id}/',
|
|
34934
|
+
...options
|
|
34935
|
+
});
|
|
34936
|
+
};
|
|
33811
34937
|
export const openportalProjectTemplateList = (options) => {
|
|
33812
34938
|
return (options?.client ?? _heyApiClient).get({
|
|
33813
34939
|
security: [
|
|
@@ -33995,6 +35121,69 @@ export const openportalProjectTemplateDeleteDestroy = (options) => {
|
|
|
33995
35121
|
...options
|
|
33996
35122
|
});
|
|
33997
35123
|
};
|
|
35124
|
+
export const openportalProjectUsageReportsList = (options) => {
|
|
35125
|
+
return (options?.client ?? _heyApiClient).get({
|
|
35126
|
+
security: [
|
|
35127
|
+
{
|
|
35128
|
+
name: 'Authorization',
|
|
35129
|
+
type: 'apiKey'
|
|
35130
|
+
},
|
|
35131
|
+
{
|
|
35132
|
+
scheme: 'bearer',
|
|
35133
|
+
type: 'http'
|
|
35134
|
+
},
|
|
35135
|
+
{
|
|
35136
|
+
scheme: 'bearer',
|
|
35137
|
+
type: 'http'
|
|
35138
|
+
}
|
|
35139
|
+
],
|
|
35140
|
+
url: '/api/openportal-project-usage-reports/',
|
|
35141
|
+
...options
|
|
35142
|
+
});
|
|
35143
|
+
};
|
|
35144
|
+
/**
|
|
35145
|
+
* Get number of items in the collection matching the request parameters.
|
|
35146
|
+
*/
|
|
35147
|
+
export const openportalProjectUsageReportsCount = (options) => {
|
|
35148
|
+
return (options?.client ?? _heyApiClient).head({
|
|
35149
|
+
security: [
|
|
35150
|
+
{
|
|
35151
|
+
name: 'Authorization',
|
|
35152
|
+
type: 'apiKey'
|
|
35153
|
+
},
|
|
35154
|
+
{
|
|
35155
|
+
scheme: 'bearer',
|
|
35156
|
+
type: 'http'
|
|
35157
|
+
},
|
|
35158
|
+
{
|
|
35159
|
+
scheme: 'bearer',
|
|
35160
|
+
type: 'http'
|
|
35161
|
+
}
|
|
35162
|
+
],
|
|
35163
|
+
url: '/api/openportal-project-usage-reports/',
|
|
35164
|
+
...options
|
|
35165
|
+
});
|
|
35166
|
+
};
|
|
35167
|
+
export const openportalProjectUsageReportsRetrieve = (options) => {
|
|
35168
|
+
return (options.client ?? _heyApiClient).get({
|
|
35169
|
+
security: [
|
|
35170
|
+
{
|
|
35171
|
+
name: 'Authorization',
|
|
35172
|
+
type: 'apiKey'
|
|
35173
|
+
},
|
|
35174
|
+
{
|
|
35175
|
+
scheme: 'bearer',
|
|
35176
|
+
type: 'http'
|
|
35177
|
+
},
|
|
35178
|
+
{
|
|
35179
|
+
scheme: 'bearer',
|
|
35180
|
+
type: 'http'
|
|
35181
|
+
}
|
|
35182
|
+
],
|
|
35183
|
+
url: '/api/openportal-project-usage-reports/{id}/',
|
|
35184
|
+
...options
|
|
35185
|
+
});
|
|
35186
|
+
};
|
|
33998
35187
|
export const openportalProjectinfoList = (options) => {
|
|
33999
35188
|
return (options?.client ?? _heyApiClient).get({
|
|
34000
35189
|
security: [
|
|
@@ -35279,6 +36468,95 @@ export const openportalUserinfoMeCount = (options) => {
|
|
|
35279
36468
|
...options
|
|
35280
36469
|
});
|
|
35281
36470
|
};
|
|
36471
|
+
export const openportalAccessForEmailList = (options) => {
|
|
36472
|
+
return (options.client ?? _heyApiClient).get({
|
|
36473
|
+
security: [
|
|
36474
|
+
{
|
|
36475
|
+
name: 'Authorization',
|
|
36476
|
+
type: 'apiKey'
|
|
36477
|
+
},
|
|
36478
|
+
{
|
|
36479
|
+
scheme: 'bearer',
|
|
36480
|
+
type: 'http'
|
|
36481
|
+
},
|
|
36482
|
+
{
|
|
36483
|
+
scheme: 'bearer',
|
|
36484
|
+
type: 'http'
|
|
36485
|
+
}
|
|
36486
|
+
],
|
|
36487
|
+
url: '/api/openportal/access_for_email/',
|
|
36488
|
+
...options
|
|
36489
|
+
});
|
|
36490
|
+
};
|
|
36491
|
+
/**
|
|
36492
|
+
* 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.
|
|
36493
|
+
*/
|
|
36494
|
+
export const openportalOfferingMappingRetrieve = (options) => {
|
|
36495
|
+
return (options?.client ?? _heyApiClient).get({
|
|
36496
|
+
security: [
|
|
36497
|
+
{
|
|
36498
|
+
name: 'Authorization',
|
|
36499
|
+
type: 'apiKey'
|
|
36500
|
+
},
|
|
36501
|
+
{
|
|
36502
|
+
scheme: 'bearer',
|
|
36503
|
+
type: 'http'
|
|
36504
|
+
},
|
|
36505
|
+
{
|
|
36506
|
+
scheme: 'bearer',
|
|
36507
|
+
type: 'http'
|
|
36508
|
+
}
|
|
36509
|
+
],
|
|
36510
|
+
url: '/api/openportal/offering_mapping/',
|
|
36511
|
+
...options
|
|
36512
|
+
});
|
|
36513
|
+
};
|
|
36514
|
+
/**
|
|
36515
|
+
* 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.
|
|
36516
|
+
*/
|
|
36517
|
+
export const openportalProjectMappingRetrieve = (options) => {
|
|
36518
|
+
return (options?.client ?? _heyApiClient).get({
|
|
36519
|
+
security: [
|
|
36520
|
+
{
|
|
36521
|
+
name: 'Authorization',
|
|
36522
|
+
type: 'apiKey'
|
|
36523
|
+
},
|
|
36524
|
+
{
|
|
36525
|
+
scheme: 'bearer',
|
|
36526
|
+
type: 'http'
|
|
36527
|
+
},
|
|
36528
|
+
{
|
|
36529
|
+
scheme: 'bearer',
|
|
36530
|
+
type: 'http'
|
|
36531
|
+
}
|
|
36532
|
+
],
|
|
36533
|
+
url: '/api/openportal/project_mapping/',
|
|
36534
|
+
...options
|
|
36535
|
+
});
|
|
36536
|
+
};
|
|
36537
|
+
/**
|
|
36538
|
+
* 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.
|
|
36539
|
+
*/
|
|
36540
|
+
export const openportalUserMappingRetrieve = (options) => {
|
|
36541
|
+
return (options?.client ?? _heyApiClient).get({
|
|
36542
|
+
security: [
|
|
36543
|
+
{
|
|
36544
|
+
name: 'Authorization',
|
|
36545
|
+
type: 'apiKey'
|
|
36546
|
+
},
|
|
36547
|
+
{
|
|
36548
|
+
scheme: 'bearer',
|
|
36549
|
+
type: 'http'
|
|
36550
|
+
},
|
|
36551
|
+
{
|
|
36552
|
+
scheme: 'bearer',
|
|
36553
|
+
type: 'http'
|
|
36554
|
+
}
|
|
36555
|
+
],
|
|
36556
|
+
url: '/api/openportal/user_mapping/',
|
|
36557
|
+
...options
|
|
36558
|
+
});
|
|
36559
|
+
};
|
|
35282
36560
|
/**
|
|
35283
36561
|
* List backups
|
|
35284
36562
|
* Get a list of instance backups.
|
|
@@ -36235,6 +37513,228 @@ export const openstackHealthMonitorsPull = (options) => {
|
|
|
36235
37513
|
...options
|
|
36236
37514
|
});
|
|
36237
37515
|
};
|
|
37516
|
+
export const openstackHypervisorInventoriesList = (options) => {
|
|
37517
|
+
return (options?.client ?? _heyApiClient).get({
|
|
37518
|
+
security: [
|
|
37519
|
+
{
|
|
37520
|
+
name: 'Authorization',
|
|
37521
|
+
type: 'apiKey'
|
|
37522
|
+
},
|
|
37523
|
+
{
|
|
37524
|
+
scheme: 'bearer',
|
|
37525
|
+
type: 'http'
|
|
37526
|
+
},
|
|
37527
|
+
{
|
|
37528
|
+
scheme: 'bearer',
|
|
37529
|
+
type: 'http'
|
|
37530
|
+
}
|
|
37531
|
+
],
|
|
37532
|
+
url: '/api/openstack-hypervisor-inventories/',
|
|
37533
|
+
...options
|
|
37534
|
+
});
|
|
37535
|
+
};
|
|
37536
|
+
/**
|
|
37537
|
+
* Get number of items in the collection matching the request parameters.
|
|
37538
|
+
*/
|
|
37539
|
+
export const openstackHypervisorInventoriesCount = (options) => {
|
|
37540
|
+
return (options?.client ?? _heyApiClient).head({
|
|
37541
|
+
security: [
|
|
37542
|
+
{
|
|
37543
|
+
name: 'Authorization',
|
|
37544
|
+
type: 'apiKey'
|
|
37545
|
+
},
|
|
37546
|
+
{
|
|
37547
|
+
scheme: 'bearer',
|
|
37548
|
+
type: 'http'
|
|
37549
|
+
},
|
|
37550
|
+
{
|
|
37551
|
+
scheme: 'bearer',
|
|
37552
|
+
type: 'http'
|
|
37553
|
+
}
|
|
37554
|
+
],
|
|
37555
|
+
url: '/api/openstack-hypervisor-inventories/',
|
|
37556
|
+
...options
|
|
37557
|
+
});
|
|
37558
|
+
};
|
|
37559
|
+
export const openstackHypervisorInventoriesRetrieve = (options) => {
|
|
37560
|
+
return (options.client ?? _heyApiClient).get({
|
|
37561
|
+
security: [
|
|
37562
|
+
{
|
|
37563
|
+
name: 'Authorization',
|
|
37564
|
+
type: 'apiKey'
|
|
37565
|
+
},
|
|
37566
|
+
{
|
|
37567
|
+
scheme: 'bearer',
|
|
37568
|
+
type: 'http'
|
|
37569
|
+
},
|
|
37570
|
+
{
|
|
37571
|
+
scheme: 'bearer',
|
|
37572
|
+
type: 'http'
|
|
37573
|
+
}
|
|
37574
|
+
],
|
|
37575
|
+
url: '/api/openstack-hypervisor-inventories/{uuid}/',
|
|
37576
|
+
...options
|
|
37577
|
+
});
|
|
37578
|
+
};
|
|
37579
|
+
export const openstackHypervisorsList = (options) => {
|
|
37580
|
+
return (options?.client ?? _heyApiClient).get({
|
|
37581
|
+
security: [
|
|
37582
|
+
{
|
|
37583
|
+
name: 'Authorization',
|
|
37584
|
+
type: 'apiKey'
|
|
37585
|
+
},
|
|
37586
|
+
{
|
|
37587
|
+
scheme: 'bearer',
|
|
37588
|
+
type: 'http'
|
|
37589
|
+
},
|
|
37590
|
+
{
|
|
37591
|
+
scheme: 'bearer',
|
|
37592
|
+
type: 'http'
|
|
37593
|
+
}
|
|
37594
|
+
],
|
|
37595
|
+
url: '/api/openstack-hypervisors/',
|
|
37596
|
+
...options
|
|
37597
|
+
});
|
|
37598
|
+
};
|
|
37599
|
+
/**
|
|
37600
|
+
* Get number of items in the collection matching the request parameters.
|
|
37601
|
+
*/
|
|
37602
|
+
export const openstackHypervisorsCount = (options) => {
|
|
37603
|
+
return (options?.client ?? _heyApiClient).head({
|
|
37604
|
+
security: [
|
|
37605
|
+
{
|
|
37606
|
+
name: 'Authorization',
|
|
37607
|
+
type: 'apiKey'
|
|
37608
|
+
},
|
|
37609
|
+
{
|
|
37610
|
+
scheme: 'bearer',
|
|
37611
|
+
type: 'http'
|
|
37612
|
+
},
|
|
37613
|
+
{
|
|
37614
|
+
scheme: 'bearer',
|
|
37615
|
+
type: 'http'
|
|
37616
|
+
}
|
|
37617
|
+
],
|
|
37618
|
+
url: '/api/openstack-hypervisors/',
|
|
37619
|
+
...options
|
|
37620
|
+
});
|
|
37621
|
+
};
|
|
37622
|
+
export const openstackHypervisorsRetrieve = (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/{uuid}/',
|
|
37639
|
+
...options
|
|
37640
|
+
});
|
|
37641
|
+
};
|
|
37642
|
+
/**
|
|
37643
|
+
* Pre-flight allocation candidates
|
|
37644
|
+
* 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.
|
|
37645
|
+
*/
|
|
37646
|
+
export const openstackHypervisorsAllocationCandidatesRetrieve = (options) => {
|
|
37647
|
+
return (options.client ?? _heyApiClient).get({
|
|
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/allocation_candidates/',
|
|
37663
|
+
...options
|
|
37664
|
+
});
|
|
37665
|
+
};
|
|
37666
|
+
/**
|
|
37667
|
+
* Pre-flight allocation candidates
|
|
37668
|
+
* Get number of items in the collection matching the request parameters.
|
|
37669
|
+
*/
|
|
37670
|
+
export const openstackHypervisorsAllocationCandidatesCount = (options) => {
|
|
37671
|
+
return (options.client ?? _heyApiClient).head({
|
|
37672
|
+
security: [
|
|
37673
|
+
{
|
|
37674
|
+
name: 'Authorization',
|
|
37675
|
+
type: 'apiKey'
|
|
37676
|
+
},
|
|
37677
|
+
{
|
|
37678
|
+
scheme: 'bearer',
|
|
37679
|
+
type: 'http'
|
|
37680
|
+
},
|
|
37681
|
+
{
|
|
37682
|
+
scheme: 'bearer',
|
|
37683
|
+
type: 'http'
|
|
37684
|
+
}
|
|
37685
|
+
],
|
|
37686
|
+
url: '/api/openstack-hypervisors/allocation_candidates/',
|
|
37687
|
+
...options
|
|
37688
|
+
});
|
|
37689
|
+
};
|
|
37690
|
+
/**
|
|
37691
|
+
* Get hypervisor summary statistics
|
|
37692
|
+
* Return aggregated vCPU, RAM and disk totals across all hypervisors matching the current filter (e.g. settings_uuid).
|
|
37693
|
+
*/
|
|
37694
|
+
export const openstackHypervisorsSummaryRetrieve = (options) => {
|
|
37695
|
+
return (options.client ?? _heyApiClient).get({
|
|
37696
|
+
security: [
|
|
37697
|
+
{
|
|
37698
|
+
name: 'Authorization',
|
|
37699
|
+
type: 'apiKey'
|
|
37700
|
+
},
|
|
37701
|
+
{
|
|
37702
|
+
scheme: 'bearer',
|
|
37703
|
+
type: 'http'
|
|
37704
|
+
},
|
|
37705
|
+
{
|
|
37706
|
+
scheme: 'bearer',
|
|
37707
|
+
type: 'http'
|
|
37708
|
+
}
|
|
37709
|
+
],
|
|
37710
|
+
url: '/api/openstack-hypervisors/summary/',
|
|
37711
|
+
...options
|
|
37712
|
+
});
|
|
37713
|
+
};
|
|
37714
|
+
/**
|
|
37715
|
+
* Get hypervisor summary statistics
|
|
37716
|
+
* Get number of items in the collection matching the request parameters.
|
|
37717
|
+
*/
|
|
37718
|
+
export const openstackHypervisorsSummaryCount = (options) => {
|
|
37719
|
+
return (options.client ?? _heyApiClient).head({
|
|
37720
|
+
security: [
|
|
37721
|
+
{
|
|
37722
|
+
name: 'Authorization',
|
|
37723
|
+
type: 'apiKey'
|
|
37724
|
+
},
|
|
37725
|
+
{
|
|
37726
|
+
scheme: 'bearer',
|
|
37727
|
+
type: 'http'
|
|
37728
|
+
},
|
|
37729
|
+
{
|
|
37730
|
+
scheme: 'bearer',
|
|
37731
|
+
type: 'http'
|
|
37732
|
+
}
|
|
37733
|
+
],
|
|
37734
|
+
url: '/api/openstack-hypervisors/summary/',
|
|
37735
|
+
...options
|
|
37736
|
+
});
|
|
37737
|
+
};
|
|
36238
37738
|
/**
|
|
36239
37739
|
* List images
|
|
36240
37740
|
* Get a list of available VM instance images.
|
|
@@ -36683,6 +38183,30 @@ export const openstackInstancesFloatingIpsList = (options) => {
|
|
|
36683
38183
|
...options
|
|
36684
38184
|
});
|
|
36685
38185
|
};
|
|
38186
|
+
/**
|
|
38187
|
+
* Get Placement allocations for the instance
|
|
38188
|
+
* 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).
|
|
38189
|
+
*/
|
|
38190
|
+
export const openstackInstancesPlacementAllocationsList = (options) => {
|
|
38191
|
+
return (options.client ?? _heyApiClient).get({
|
|
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}/placement_allocations/',
|
|
38207
|
+
...options
|
|
38208
|
+
});
|
|
38209
|
+
};
|
|
36686
38210
|
/**
|
|
36687
38211
|
* List instance ports
|
|
36688
38212
|
* Get a list of instance ports
|
|
@@ -36731,6 +38255,34 @@ export const openstackInstancesPull = (options) => {
|
|
|
36731
38255
|
...options
|
|
36732
38256
|
});
|
|
36733
38257
|
};
|
|
38258
|
+
/**
|
|
38259
|
+
* Rescue instance
|
|
38260
|
+
* 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.
|
|
38261
|
+
*/
|
|
38262
|
+
export const openstackInstancesRescue = (options) => {
|
|
38263
|
+
return (options.client ?? _heyApiClient).post({
|
|
38264
|
+
security: [
|
|
38265
|
+
{
|
|
38266
|
+
name: 'Authorization',
|
|
38267
|
+
type: 'apiKey'
|
|
38268
|
+
},
|
|
38269
|
+
{
|
|
38270
|
+
scheme: 'bearer',
|
|
38271
|
+
type: 'http'
|
|
38272
|
+
},
|
|
38273
|
+
{
|
|
38274
|
+
scheme: 'bearer',
|
|
38275
|
+
type: 'http'
|
|
38276
|
+
}
|
|
38277
|
+
],
|
|
38278
|
+
url: '/api/openstack-instances/{uuid}/rescue/',
|
|
38279
|
+
...options,
|
|
38280
|
+
headers: {
|
|
38281
|
+
'Content-Type': 'application/json',
|
|
38282
|
+
...options.headers
|
|
38283
|
+
}
|
|
38284
|
+
});
|
|
38285
|
+
};
|
|
36734
38286
|
/**
|
|
36735
38287
|
* Restart instance
|
|
36736
38288
|
* Restart the instance
|
|
@@ -36881,6 +38433,30 @@ export const openstackInstancesUnlink = (options) => {
|
|
|
36881
38433
|
...options
|
|
36882
38434
|
});
|
|
36883
38435
|
};
|
|
38436
|
+
/**
|
|
38437
|
+
* Unrescue instance
|
|
38438
|
+
* Restore the instance from rescue mode.
|
|
38439
|
+
*/
|
|
38440
|
+
export const openstackInstancesUnrescue = (options) => {
|
|
38441
|
+
return (options.client ?? _heyApiClient).post({
|
|
38442
|
+
security: [
|
|
38443
|
+
{
|
|
38444
|
+
name: 'Authorization',
|
|
38445
|
+
type: 'apiKey'
|
|
38446
|
+
},
|
|
38447
|
+
{
|
|
38448
|
+
scheme: 'bearer',
|
|
38449
|
+
type: 'http'
|
|
38450
|
+
},
|
|
38451
|
+
{
|
|
38452
|
+
scheme: 'bearer',
|
|
38453
|
+
type: 'http'
|
|
38454
|
+
}
|
|
38455
|
+
],
|
|
38456
|
+
url: '/api/openstack-instances/{uuid}/unrescue/',
|
|
38457
|
+
...options
|
|
38458
|
+
});
|
|
38459
|
+
};
|
|
36884
38460
|
/**
|
|
36885
38461
|
* Update instance allowed address pairs
|
|
36886
38462
|
* Update allowed address pairs of the instance
|
|
@@ -39301,6 +40877,54 @@ export const openstackRoutersAddRouterInterface = (options) => {
|
|
|
39301
40877
|
}
|
|
39302
40878
|
});
|
|
39303
40879
|
};
|
|
40880
|
+
/**
|
|
40881
|
+
* List available external networks
|
|
40882
|
+
* Returns a merged list of external networks available for this router's tenant, from both global external networks and RBAC-exposed networks.
|
|
40883
|
+
*/
|
|
40884
|
+
export const openstackRoutersAvailableExternalNetworksList = (options) => {
|
|
40885
|
+
return (options.client ?? _heyApiClient).get({
|
|
40886
|
+
security: [
|
|
40887
|
+
{
|
|
40888
|
+
name: 'Authorization',
|
|
40889
|
+
type: 'apiKey'
|
|
40890
|
+
},
|
|
40891
|
+
{
|
|
40892
|
+
scheme: 'bearer',
|
|
40893
|
+
type: 'http'
|
|
40894
|
+
},
|
|
40895
|
+
{
|
|
40896
|
+
scheme: 'bearer',
|
|
40897
|
+
type: 'http'
|
|
40898
|
+
}
|
|
40899
|
+
],
|
|
40900
|
+
url: '/api/openstack-routers/{uuid}/available_external_networks/',
|
|
40901
|
+
...options
|
|
40902
|
+
});
|
|
40903
|
+
};
|
|
40904
|
+
/**
|
|
40905
|
+
* Remove external gateway
|
|
40906
|
+
* Remove the external gateway from this router.
|
|
40907
|
+
*/
|
|
40908
|
+
export const openstackRoutersRemoveExternalGateway = (options) => {
|
|
40909
|
+
return (options.client ?? _heyApiClient).post({
|
|
40910
|
+
security: [
|
|
40911
|
+
{
|
|
40912
|
+
name: 'Authorization',
|
|
40913
|
+
type: 'apiKey'
|
|
40914
|
+
},
|
|
40915
|
+
{
|
|
40916
|
+
scheme: 'bearer',
|
|
40917
|
+
type: 'http'
|
|
40918
|
+
},
|
|
40919
|
+
{
|
|
40920
|
+
scheme: 'bearer',
|
|
40921
|
+
type: 'http'
|
|
40922
|
+
}
|
|
40923
|
+
],
|
|
40924
|
+
url: '/api/openstack-routers/{uuid}/remove_external_gateway/',
|
|
40925
|
+
...options
|
|
40926
|
+
});
|
|
40927
|
+
};
|
|
39304
40928
|
/**
|
|
39305
40929
|
* Remove router interface
|
|
39306
40930
|
* Remove interface from router. Either subnet or port must be provided.
|
|
@@ -39357,6 +40981,34 @@ export const openstackRoutersSetErred = (options) => {
|
|
|
39357
40981
|
}
|
|
39358
40982
|
});
|
|
39359
40983
|
};
|
|
40984
|
+
/**
|
|
40985
|
+
* Set external gateway
|
|
40986
|
+
* Set an external network as the gateway for this router. Advanced options (SNAT control, fixed IPs) require additional permissions.
|
|
40987
|
+
*/
|
|
40988
|
+
export const openstackRoutersSetExternalGateway = (options) => {
|
|
40989
|
+
return (options.client ?? _heyApiClient).post({
|
|
40990
|
+
security: [
|
|
40991
|
+
{
|
|
40992
|
+
name: 'Authorization',
|
|
40993
|
+
type: 'apiKey'
|
|
40994
|
+
},
|
|
40995
|
+
{
|
|
40996
|
+
scheme: 'bearer',
|
|
40997
|
+
type: 'http'
|
|
40998
|
+
},
|
|
40999
|
+
{
|
|
41000
|
+
scheme: 'bearer',
|
|
41001
|
+
type: 'http'
|
|
41002
|
+
}
|
|
41003
|
+
],
|
|
41004
|
+
url: '/api/openstack-routers/{uuid}/set_external_gateway/',
|
|
41005
|
+
...options,
|
|
41006
|
+
headers: {
|
|
41007
|
+
'Content-Type': 'application/json',
|
|
41008
|
+
...options.headers
|
|
41009
|
+
}
|
|
41010
|
+
});
|
|
41011
|
+
};
|
|
39360
41012
|
/**
|
|
39361
41013
|
* Mark router as OK
|
|
39362
41014
|
* Manually transition the router to OK state and clear error fields. Staff-only operation.
|
|
@@ -44971,29 +46623,6 @@ export const proposalProtectedCallsAffinityMatrixRetrieve = (options) => {
|
|
|
44971
46623
|
...options
|
|
44972
46624
|
});
|
|
44973
46625
|
};
|
|
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
46626
|
/**
|
|
44998
46627
|
* Archive a call.
|
|
44999
46628
|
*/
|
|
@@ -45137,11 +46766,7 @@ export const proposalProtectedCallsComputeAffinities = (options) => {
|
|
|
45137
46766
|
}
|
|
45138
46767
|
],
|
|
45139
46768
|
url: '/api/proposal-protected-calls/{uuid}/compute-affinities/',
|
|
45140
|
-
...options
|
|
45141
|
-
headers: {
|
|
45142
|
-
'Content-Type': 'application/json',
|
|
45143
|
-
...options.headers
|
|
45144
|
-
}
|
|
46769
|
+
...options
|
|
45145
46770
|
});
|
|
45146
46771
|
};
|
|
45147
46772
|
/**
|
|
@@ -45217,29 +46842,6 @@ export const proposalProtectedCallsCreateManualAssignment = (options) => {
|
|
|
45217
46842
|
}
|
|
45218
46843
|
});
|
|
45219
46844
|
};
|
|
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
46845
|
/**
|
|
45244
46846
|
* Revoke a role from a user
|
|
45245
46847
|
* Removes a specific role from a user within the current scope. This effectively revokes their permissions associated with that role.
|
|
@@ -46111,60 +47713,6 @@ export const proposalProtectedCallsSuggestionsList = (options) => {
|
|
|
46111
47713
|
...options
|
|
46112
47714
|
});
|
|
46113
47715
|
};
|
|
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
47716
|
/**
|
|
46169
47717
|
* Update a user's role expiration
|
|
46170
47718
|
* 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 +48999,7 @@ export const rancherCatalogsRefresh = (options) => {
|
|
|
47451
48999
|
}
|
|
47452
49000
|
],
|
|
47453
49001
|
url: '/api/rancher-catalogs/{uuid}/refresh/',
|
|
47454
|
-
...options
|
|
47455
|
-
headers: {
|
|
47456
|
-
'Content-Type': 'application/json',
|
|
47457
|
-
...options.headers
|
|
47458
|
-
}
|
|
49002
|
+
...options
|
|
47459
49003
|
});
|
|
47460
49004
|
};
|
|
47461
49005
|
export const rancherClusterSecurityGroupsList = (options) => {
|
|
@@ -51436,6 +52980,89 @@ export const reviewerSuggestionsReject = (options) => {
|
|
|
51436
52980
|
}
|
|
51437
52981
|
});
|
|
51438
52982
|
};
|
|
52983
|
+
export const roleAvailabilitiesList = (options) => {
|
|
52984
|
+
return (options?.client ?? _heyApiClient).get({
|
|
52985
|
+
security: [
|
|
52986
|
+
{
|
|
52987
|
+
name: 'Authorization',
|
|
52988
|
+
type: 'apiKey'
|
|
52989
|
+
},
|
|
52990
|
+
{
|
|
52991
|
+
scheme: 'bearer',
|
|
52992
|
+
type: 'http'
|
|
52993
|
+
},
|
|
52994
|
+
{
|
|
52995
|
+
scheme: 'bearer',
|
|
52996
|
+
type: 'http'
|
|
52997
|
+
}
|
|
52998
|
+
],
|
|
52999
|
+
url: '/api/role-availabilities/',
|
|
53000
|
+
...options
|
|
53001
|
+
});
|
|
53002
|
+
};
|
|
53003
|
+
/**
|
|
53004
|
+
* Get number of items in the collection matching the request parameters.
|
|
53005
|
+
*/
|
|
53006
|
+
export const roleAvailabilitiesCount = (options) => {
|
|
53007
|
+
return (options?.client ?? _heyApiClient).head({
|
|
53008
|
+
security: [
|
|
53009
|
+
{
|
|
53010
|
+
name: 'Authorization',
|
|
53011
|
+
type: 'apiKey'
|
|
53012
|
+
},
|
|
53013
|
+
{
|
|
53014
|
+
scheme: 'bearer',
|
|
53015
|
+
type: 'http'
|
|
53016
|
+
},
|
|
53017
|
+
{
|
|
53018
|
+
scheme: 'bearer',
|
|
53019
|
+
type: 'http'
|
|
53020
|
+
}
|
|
53021
|
+
],
|
|
53022
|
+
url: '/api/role-availabilities/',
|
|
53023
|
+
...options
|
|
53024
|
+
});
|
|
53025
|
+
};
|
|
53026
|
+
export const roleAvailabilitiesDestroy = (options) => {
|
|
53027
|
+
return (options.client ?? _heyApiClient).delete({
|
|
53028
|
+
security: [
|
|
53029
|
+
{
|
|
53030
|
+
name: 'Authorization',
|
|
53031
|
+
type: 'apiKey'
|
|
53032
|
+
},
|
|
53033
|
+
{
|
|
53034
|
+
scheme: 'bearer',
|
|
53035
|
+
type: 'http'
|
|
53036
|
+
},
|
|
53037
|
+
{
|
|
53038
|
+
scheme: 'bearer',
|
|
53039
|
+
type: 'http'
|
|
53040
|
+
}
|
|
53041
|
+
],
|
|
53042
|
+
url: '/api/role-availabilities/{uuid}/',
|
|
53043
|
+
...options
|
|
53044
|
+
});
|
|
53045
|
+
};
|
|
53046
|
+
export const roleAvailabilitiesRetrieve = (options) => {
|
|
53047
|
+
return (options.client ?? _heyApiClient).get({
|
|
53048
|
+
security: [
|
|
53049
|
+
{
|
|
53050
|
+
name: 'Authorization',
|
|
53051
|
+
type: 'apiKey'
|
|
53052
|
+
},
|
|
53053
|
+
{
|
|
53054
|
+
scheme: 'bearer',
|
|
53055
|
+
type: 'http'
|
|
53056
|
+
},
|
|
53057
|
+
{
|
|
53058
|
+
scheme: 'bearer',
|
|
53059
|
+
type: 'http'
|
|
53060
|
+
}
|
|
53061
|
+
],
|
|
53062
|
+
url: '/api/role-availabilities/{uuid}/',
|
|
53063
|
+
...options
|
|
53064
|
+
});
|
|
53065
|
+
};
|
|
51439
53066
|
/**
|
|
51440
53067
|
* List roles
|
|
51441
53068
|
* Get a list of all available roles.
|
|
@@ -51688,6 +53315,390 @@ export const rolesUpdateDescriptionsUpdate = (options) => {
|
|
|
51688
53315
|
}
|
|
51689
53316
|
});
|
|
51690
53317
|
};
|
|
53318
|
+
export const scienceDomainsList = (options) => {
|
|
53319
|
+
return (options?.client ?? _heyApiClient).get({
|
|
53320
|
+
security: [
|
|
53321
|
+
{
|
|
53322
|
+
name: 'Authorization',
|
|
53323
|
+
type: 'apiKey'
|
|
53324
|
+
},
|
|
53325
|
+
{
|
|
53326
|
+
scheme: 'bearer',
|
|
53327
|
+
type: 'http'
|
|
53328
|
+
},
|
|
53329
|
+
{
|
|
53330
|
+
scheme: 'bearer',
|
|
53331
|
+
type: 'http'
|
|
53332
|
+
}
|
|
53333
|
+
],
|
|
53334
|
+
url: '/api/science-domains/',
|
|
53335
|
+
...options
|
|
53336
|
+
});
|
|
53337
|
+
};
|
|
53338
|
+
/**
|
|
53339
|
+
* Get number of items in the collection matching the request parameters.
|
|
53340
|
+
*/
|
|
53341
|
+
export const scienceDomainsCount = (options) => {
|
|
53342
|
+
return (options?.client ?? _heyApiClient).head({
|
|
53343
|
+
security: [
|
|
53344
|
+
{
|
|
53345
|
+
name: 'Authorization',
|
|
53346
|
+
type: 'apiKey'
|
|
53347
|
+
},
|
|
53348
|
+
{
|
|
53349
|
+
scheme: 'bearer',
|
|
53350
|
+
type: 'http'
|
|
53351
|
+
},
|
|
53352
|
+
{
|
|
53353
|
+
scheme: 'bearer',
|
|
53354
|
+
type: 'http'
|
|
53355
|
+
}
|
|
53356
|
+
],
|
|
53357
|
+
url: '/api/science-domains/',
|
|
53358
|
+
...options
|
|
53359
|
+
});
|
|
53360
|
+
};
|
|
53361
|
+
export const scienceDomainsCreate = (options) => {
|
|
53362
|
+
return (options.client ?? _heyApiClient).post({
|
|
53363
|
+
security: [
|
|
53364
|
+
{
|
|
53365
|
+
name: 'Authorization',
|
|
53366
|
+
type: 'apiKey'
|
|
53367
|
+
},
|
|
53368
|
+
{
|
|
53369
|
+
scheme: 'bearer',
|
|
53370
|
+
type: 'http'
|
|
53371
|
+
},
|
|
53372
|
+
{
|
|
53373
|
+
scheme: 'bearer',
|
|
53374
|
+
type: 'http'
|
|
53375
|
+
}
|
|
53376
|
+
],
|
|
53377
|
+
url: '/api/science-domains/',
|
|
53378
|
+
...options,
|
|
53379
|
+
headers: {
|
|
53380
|
+
'Content-Type': 'application/json',
|
|
53381
|
+
...options.headers
|
|
53382
|
+
}
|
|
53383
|
+
});
|
|
53384
|
+
};
|
|
53385
|
+
export const scienceDomainsDestroy = (options) => {
|
|
53386
|
+
return (options.client ?? _heyApiClient).delete({
|
|
53387
|
+
security: [
|
|
53388
|
+
{
|
|
53389
|
+
name: 'Authorization',
|
|
53390
|
+
type: 'apiKey'
|
|
53391
|
+
},
|
|
53392
|
+
{
|
|
53393
|
+
scheme: 'bearer',
|
|
53394
|
+
type: 'http'
|
|
53395
|
+
},
|
|
53396
|
+
{
|
|
53397
|
+
scheme: 'bearer',
|
|
53398
|
+
type: 'http'
|
|
53399
|
+
}
|
|
53400
|
+
],
|
|
53401
|
+
url: '/api/science-domains/{uuid}/',
|
|
53402
|
+
...options
|
|
53403
|
+
});
|
|
53404
|
+
};
|
|
53405
|
+
export const scienceDomainsRetrieve = (options) => {
|
|
53406
|
+
return (options.client ?? _heyApiClient).get({
|
|
53407
|
+
security: [
|
|
53408
|
+
{
|
|
53409
|
+
name: 'Authorization',
|
|
53410
|
+
type: 'apiKey'
|
|
53411
|
+
},
|
|
53412
|
+
{
|
|
53413
|
+
scheme: 'bearer',
|
|
53414
|
+
type: 'http'
|
|
53415
|
+
},
|
|
53416
|
+
{
|
|
53417
|
+
scheme: 'bearer',
|
|
53418
|
+
type: 'http'
|
|
53419
|
+
}
|
|
53420
|
+
],
|
|
53421
|
+
url: '/api/science-domains/{uuid}/',
|
|
53422
|
+
...options
|
|
53423
|
+
});
|
|
53424
|
+
};
|
|
53425
|
+
export const scienceDomainsPartialUpdate = (options) => {
|
|
53426
|
+
return (options.client ?? _heyApiClient).patch({
|
|
53427
|
+
security: [
|
|
53428
|
+
{
|
|
53429
|
+
name: 'Authorization',
|
|
53430
|
+
type: 'apiKey'
|
|
53431
|
+
},
|
|
53432
|
+
{
|
|
53433
|
+
scheme: 'bearer',
|
|
53434
|
+
type: 'http'
|
|
53435
|
+
},
|
|
53436
|
+
{
|
|
53437
|
+
scheme: 'bearer',
|
|
53438
|
+
type: 'http'
|
|
53439
|
+
}
|
|
53440
|
+
],
|
|
53441
|
+
url: '/api/science-domains/{uuid}/',
|
|
53442
|
+
...options,
|
|
53443
|
+
headers: {
|
|
53444
|
+
'Content-Type': 'application/json',
|
|
53445
|
+
...options.headers
|
|
53446
|
+
}
|
|
53447
|
+
});
|
|
53448
|
+
};
|
|
53449
|
+
export const scienceDomainsUpdate = (options) => {
|
|
53450
|
+
return (options.client ?? _heyApiClient).put({
|
|
53451
|
+
security: [
|
|
53452
|
+
{
|
|
53453
|
+
name: 'Authorization',
|
|
53454
|
+
type: 'apiKey'
|
|
53455
|
+
},
|
|
53456
|
+
{
|
|
53457
|
+
scheme: 'bearer',
|
|
53458
|
+
type: 'http'
|
|
53459
|
+
},
|
|
53460
|
+
{
|
|
53461
|
+
scheme: 'bearer',
|
|
53462
|
+
type: 'http'
|
|
53463
|
+
}
|
|
53464
|
+
],
|
|
53465
|
+
url: '/api/science-domains/{uuid}/',
|
|
53466
|
+
...options,
|
|
53467
|
+
headers: {
|
|
53468
|
+
'Content-Type': 'application/json',
|
|
53469
|
+
...options.headers
|
|
53470
|
+
}
|
|
53471
|
+
});
|
|
53472
|
+
};
|
|
53473
|
+
/**
|
|
53474
|
+
* Load a science domain preset
|
|
53475
|
+
*/
|
|
53476
|
+
export const scienceDomainsLoadPreset = (options) => {
|
|
53477
|
+
return (options.client ?? _heyApiClient).post({
|
|
53478
|
+
security: [
|
|
53479
|
+
{
|
|
53480
|
+
name: 'Authorization',
|
|
53481
|
+
type: 'apiKey'
|
|
53482
|
+
},
|
|
53483
|
+
{
|
|
53484
|
+
scheme: 'bearer',
|
|
53485
|
+
type: 'http'
|
|
53486
|
+
},
|
|
53487
|
+
{
|
|
53488
|
+
scheme: 'bearer',
|
|
53489
|
+
type: 'http'
|
|
53490
|
+
}
|
|
53491
|
+
],
|
|
53492
|
+
url: '/api/science-domains/load_preset/',
|
|
53493
|
+
...options,
|
|
53494
|
+
headers: {
|
|
53495
|
+
'Content-Type': 'application/json',
|
|
53496
|
+
...options.headers
|
|
53497
|
+
}
|
|
53498
|
+
});
|
|
53499
|
+
};
|
|
53500
|
+
/**
|
|
53501
|
+
* List available science domain presets
|
|
53502
|
+
*/
|
|
53503
|
+
export const scienceDomainsPresetsList = (options) => {
|
|
53504
|
+
return (options?.client ?? _heyApiClient).get({
|
|
53505
|
+
security: [
|
|
53506
|
+
{
|
|
53507
|
+
name: 'Authorization',
|
|
53508
|
+
type: 'apiKey'
|
|
53509
|
+
},
|
|
53510
|
+
{
|
|
53511
|
+
scheme: 'bearer',
|
|
53512
|
+
type: 'http'
|
|
53513
|
+
},
|
|
53514
|
+
{
|
|
53515
|
+
scheme: 'bearer',
|
|
53516
|
+
type: 'http'
|
|
53517
|
+
}
|
|
53518
|
+
],
|
|
53519
|
+
url: '/api/science-domains/presets/',
|
|
53520
|
+
...options
|
|
53521
|
+
});
|
|
53522
|
+
};
|
|
53523
|
+
/**
|
|
53524
|
+
* List available science domain presets
|
|
53525
|
+
* Get number of items in the collection matching the request parameters.
|
|
53526
|
+
*/
|
|
53527
|
+
export const scienceDomainsPresetsCount = (options) => {
|
|
53528
|
+
return (options?.client ?? _heyApiClient).head({
|
|
53529
|
+
security: [
|
|
53530
|
+
{
|
|
53531
|
+
name: 'Authorization',
|
|
53532
|
+
type: 'apiKey'
|
|
53533
|
+
},
|
|
53534
|
+
{
|
|
53535
|
+
scheme: 'bearer',
|
|
53536
|
+
type: 'http'
|
|
53537
|
+
},
|
|
53538
|
+
{
|
|
53539
|
+
scheme: 'bearer',
|
|
53540
|
+
type: 'http'
|
|
53541
|
+
}
|
|
53542
|
+
],
|
|
53543
|
+
url: '/api/science-domains/presets/',
|
|
53544
|
+
...options
|
|
53545
|
+
});
|
|
53546
|
+
};
|
|
53547
|
+
export const scienceSubDomainsList = (options) => {
|
|
53548
|
+
return (options?.client ?? _heyApiClient).get({
|
|
53549
|
+
security: [
|
|
53550
|
+
{
|
|
53551
|
+
name: 'Authorization',
|
|
53552
|
+
type: 'apiKey'
|
|
53553
|
+
},
|
|
53554
|
+
{
|
|
53555
|
+
scheme: 'bearer',
|
|
53556
|
+
type: 'http'
|
|
53557
|
+
},
|
|
53558
|
+
{
|
|
53559
|
+
scheme: 'bearer',
|
|
53560
|
+
type: 'http'
|
|
53561
|
+
}
|
|
53562
|
+
],
|
|
53563
|
+
url: '/api/science-sub-domains/',
|
|
53564
|
+
...options
|
|
53565
|
+
});
|
|
53566
|
+
};
|
|
53567
|
+
/**
|
|
53568
|
+
* Get number of items in the collection matching the request parameters.
|
|
53569
|
+
*/
|
|
53570
|
+
export const scienceSubDomainsCount = (options) => {
|
|
53571
|
+
return (options?.client ?? _heyApiClient).head({
|
|
53572
|
+
security: [
|
|
53573
|
+
{
|
|
53574
|
+
name: 'Authorization',
|
|
53575
|
+
type: 'apiKey'
|
|
53576
|
+
},
|
|
53577
|
+
{
|
|
53578
|
+
scheme: 'bearer',
|
|
53579
|
+
type: 'http'
|
|
53580
|
+
},
|
|
53581
|
+
{
|
|
53582
|
+
scheme: 'bearer',
|
|
53583
|
+
type: 'http'
|
|
53584
|
+
}
|
|
53585
|
+
],
|
|
53586
|
+
url: '/api/science-sub-domains/',
|
|
53587
|
+
...options
|
|
53588
|
+
});
|
|
53589
|
+
};
|
|
53590
|
+
export const scienceSubDomainsCreate = (options) => {
|
|
53591
|
+
return (options.client ?? _heyApiClient).post({
|
|
53592
|
+
security: [
|
|
53593
|
+
{
|
|
53594
|
+
name: 'Authorization',
|
|
53595
|
+
type: 'apiKey'
|
|
53596
|
+
},
|
|
53597
|
+
{
|
|
53598
|
+
scheme: 'bearer',
|
|
53599
|
+
type: 'http'
|
|
53600
|
+
},
|
|
53601
|
+
{
|
|
53602
|
+
scheme: 'bearer',
|
|
53603
|
+
type: 'http'
|
|
53604
|
+
}
|
|
53605
|
+
],
|
|
53606
|
+
url: '/api/science-sub-domains/',
|
|
53607
|
+
...options,
|
|
53608
|
+
headers: {
|
|
53609
|
+
'Content-Type': 'application/json',
|
|
53610
|
+
...options.headers
|
|
53611
|
+
}
|
|
53612
|
+
});
|
|
53613
|
+
};
|
|
53614
|
+
export const scienceSubDomainsDestroy = (options) => {
|
|
53615
|
+
return (options.client ?? _heyApiClient).delete({
|
|
53616
|
+
security: [
|
|
53617
|
+
{
|
|
53618
|
+
name: 'Authorization',
|
|
53619
|
+
type: 'apiKey'
|
|
53620
|
+
},
|
|
53621
|
+
{
|
|
53622
|
+
scheme: 'bearer',
|
|
53623
|
+
type: 'http'
|
|
53624
|
+
},
|
|
53625
|
+
{
|
|
53626
|
+
scheme: 'bearer',
|
|
53627
|
+
type: 'http'
|
|
53628
|
+
}
|
|
53629
|
+
],
|
|
53630
|
+
url: '/api/science-sub-domains/{uuid}/',
|
|
53631
|
+
...options
|
|
53632
|
+
});
|
|
53633
|
+
};
|
|
53634
|
+
export const scienceSubDomainsRetrieve = (options) => {
|
|
53635
|
+
return (options.client ?? _heyApiClient).get({
|
|
53636
|
+
security: [
|
|
53637
|
+
{
|
|
53638
|
+
name: 'Authorization',
|
|
53639
|
+
type: 'apiKey'
|
|
53640
|
+
},
|
|
53641
|
+
{
|
|
53642
|
+
scheme: 'bearer',
|
|
53643
|
+
type: 'http'
|
|
53644
|
+
},
|
|
53645
|
+
{
|
|
53646
|
+
scheme: 'bearer',
|
|
53647
|
+
type: 'http'
|
|
53648
|
+
}
|
|
53649
|
+
],
|
|
53650
|
+
url: '/api/science-sub-domains/{uuid}/',
|
|
53651
|
+
...options
|
|
53652
|
+
});
|
|
53653
|
+
};
|
|
53654
|
+
export const scienceSubDomainsPartialUpdate = (options) => {
|
|
53655
|
+
return (options.client ?? _heyApiClient).patch({
|
|
53656
|
+
security: [
|
|
53657
|
+
{
|
|
53658
|
+
name: 'Authorization',
|
|
53659
|
+
type: 'apiKey'
|
|
53660
|
+
},
|
|
53661
|
+
{
|
|
53662
|
+
scheme: 'bearer',
|
|
53663
|
+
type: 'http'
|
|
53664
|
+
},
|
|
53665
|
+
{
|
|
53666
|
+
scheme: 'bearer',
|
|
53667
|
+
type: 'http'
|
|
53668
|
+
}
|
|
53669
|
+
],
|
|
53670
|
+
url: '/api/science-sub-domains/{uuid}/',
|
|
53671
|
+
...options,
|
|
53672
|
+
headers: {
|
|
53673
|
+
'Content-Type': 'application/json',
|
|
53674
|
+
...options.headers
|
|
53675
|
+
}
|
|
53676
|
+
});
|
|
53677
|
+
};
|
|
53678
|
+
export const scienceSubDomainsUpdate = (options) => {
|
|
53679
|
+
return (options.client ?? _heyApiClient).put({
|
|
53680
|
+
security: [
|
|
53681
|
+
{
|
|
53682
|
+
name: 'Authorization',
|
|
53683
|
+
type: 'apiKey'
|
|
53684
|
+
},
|
|
53685
|
+
{
|
|
53686
|
+
scheme: 'bearer',
|
|
53687
|
+
type: 'http'
|
|
53688
|
+
},
|
|
53689
|
+
{
|
|
53690
|
+
scheme: 'bearer',
|
|
53691
|
+
type: 'http'
|
|
53692
|
+
}
|
|
53693
|
+
],
|
|
53694
|
+
url: '/api/science-sub-domains/{uuid}/',
|
|
53695
|
+
...options,
|
|
53696
|
+
headers: {
|
|
53697
|
+
'Content-Type': 'application/json',
|
|
53698
|
+
...options.headers
|
|
53699
|
+
}
|
|
53700
|
+
});
|
|
53701
|
+
};
|
|
51691
53702
|
export const serviceSettingsList = (options) => {
|
|
51692
53703
|
return (options?.client ?? _heyApiClient).get({
|
|
51693
53704
|
security: [
|
|
@@ -53302,11 +55313,7 @@ export const supportIssuesSync = (options) => {
|
|
|
53302
55313
|
}
|
|
53303
55314
|
],
|
|
53304
55315
|
url: '/api/support-issues/{uuid}/sync/',
|
|
53305
|
-
...options
|
|
53306
|
-
headers: {
|
|
53307
|
-
'Content-Type': 'application/json',
|
|
53308
|
-
...options.headers
|
|
53309
|
-
}
|
|
55316
|
+
...options
|
|
53310
55317
|
});
|
|
53311
55318
|
};
|
|
53312
55319
|
export const supportJiraWebhook = (options) => {
|
|
@@ -53600,11 +55607,7 @@ export const supportRequestTypesAdminActivate = (options) => {
|
|
|
53600
55607
|
}
|
|
53601
55608
|
],
|
|
53602
55609
|
url: '/api/support-request-types-admin/{uuid}/activate/',
|
|
53603
|
-
...options
|
|
53604
|
-
headers: {
|
|
53605
|
-
'Content-Type': 'application/json',
|
|
53606
|
-
...options.headers
|
|
53607
|
-
}
|
|
55610
|
+
...options
|
|
53608
55611
|
});
|
|
53609
55612
|
};
|
|
53610
55613
|
/**
|
|
@@ -53627,11 +55630,7 @@ export const supportRequestTypesAdminDeactivate = (options) => {
|
|
|
53627
55630
|
}
|
|
53628
55631
|
],
|
|
53629
55632
|
url: '/api/support-request-types-admin/{uuid}/deactivate/',
|
|
53630
|
-
...options
|
|
53631
|
-
headers: {
|
|
53632
|
-
'Content-Type': 'application/json',
|
|
53633
|
-
...options.headers
|
|
53634
|
-
}
|
|
55633
|
+
...options
|
|
53635
55634
|
});
|
|
53636
55635
|
};
|
|
53637
55636
|
/**
|