waldur-js-client 8.0.8-dev.4 → 8.0.8-dev.40

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/sdk.gen.js CHANGED
@@ -1966,6 +1966,433 @@ export const adminArrowVendorOfferingMappingsVendorChoicesCount = (options) => {
1966
1966
  ...options
1967
1967
  });
1968
1968
  };
1969
+ export const affiliatedOrganizationsList = (options) => {
1970
+ return (options?.client ?? _heyApiClient).get({
1971
+ security: [
1972
+ {
1973
+ name: 'Authorization',
1974
+ type: 'apiKey'
1975
+ },
1976
+ {
1977
+ scheme: 'bearer',
1978
+ type: 'http'
1979
+ },
1980
+ {
1981
+ scheme: 'bearer',
1982
+ type: 'http'
1983
+ }
1984
+ ],
1985
+ url: '/api/affiliated-organizations/',
1986
+ ...options
1987
+ });
1988
+ };
1989
+ /**
1990
+ * Get number of items in the collection matching the request parameters.
1991
+ */
1992
+ export const affiliatedOrganizationsCount = (options) => {
1993
+ return (options?.client ?? _heyApiClient).head({
1994
+ security: [
1995
+ {
1996
+ name: 'Authorization',
1997
+ type: 'apiKey'
1998
+ },
1999
+ {
2000
+ scheme: 'bearer',
2001
+ type: 'http'
2002
+ },
2003
+ {
2004
+ scheme: 'bearer',
2005
+ type: 'http'
2006
+ }
2007
+ ],
2008
+ url: '/api/affiliated-organizations/',
2009
+ ...options
2010
+ });
2011
+ };
2012
+ export const affiliatedOrganizationsCreate = (options) => {
2013
+ return (options.client ?? _heyApiClient).post({
2014
+ security: [
2015
+ {
2016
+ name: 'Authorization',
2017
+ type: 'apiKey'
2018
+ },
2019
+ {
2020
+ scheme: 'bearer',
2021
+ type: 'http'
2022
+ },
2023
+ {
2024
+ scheme: 'bearer',
2025
+ type: 'http'
2026
+ }
2027
+ ],
2028
+ url: '/api/affiliated-organizations/',
2029
+ ...options,
2030
+ headers: {
2031
+ 'Content-Type': 'application/json',
2032
+ ...options.headers
2033
+ }
2034
+ });
2035
+ };
2036
+ export const affiliatedOrganizationsDestroy = (options) => {
2037
+ return (options.client ?? _heyApiClient).delete({
2038
+ security: [
2039
+ {
2040
+ name: 'Authorization',
2041
+ type: 'apiKey'
2042
+ },
2043
+ {
2044
+ scheme: 'bearer',
2045
+ type: 'http'
2046
+ },
2047
+ {
2048
+ scheme: 'bearer',
2049
+ type: 'http'
2050
+ }
2051
+ ],
2052
+ url: '/api/affiliated-organizations/{uuid}/',
2053
+ ...options
2054
+ });
2055
+ };
2056
+ export const affiliatedOrganizationsRetrieve = (options) => {
2057
+ return (options.client ?? _heyApiClient).get({
2058
+ security: [
2059
+ {
2060
+ name: 'Authorization',
2061
+ type: 'apiKey'
2062
+ },
2063
+ {
2064
+ scheme: 'bearer',
2065
+ type: 'http'
2066
+ },
2067
+ {
2068
+ scheme: 'bearer',
2069
+ type: 'http'
2070
+ }
2071
+ ],
2072
+ url: '/api/affiliated-organizations/{uuid}/',
2073
+ ...options
2074
+ });
2075
+ };
2076
+ export const affiliatedOrganizationsPartialUpdate = (options) => {
2077
+ return (options.client ?? _heyApiClient).patch({
2078
+ security: [
2079
+ {
2080
+ name: 'Authorization',
2081
+ type: 'apiKey'
2082
+ },
2083
+ {
2084
+ scheme: 'bearer',
2085
+ type: 'http'
2086
+ },
2087
+ {
2088
+ scheme: 'bearer',
2089
+ type: 'http'
2090
+ }
2091
+ ],
2092
+ url: '/api/affiliated-organizations/{uuid}/',
2093
+ ...options,
2094
+ headers: {
2095
+ 'Content-Type': 'application/json',
2096
+ ...options.headers
2097
+ }
2098
+ });
2099
+ };
2100
+ export const affiliatedOrganizationsUpdate = (options) => {
2101
+ return (options.client ?? _heyApiClient).put({
2102
+ security: [
2103
+ {
2104
+ name: 'Authorization',
2105
+ type: 'apiKey'
2106
+ },
2107
+ {
2108
+ scheme: 'bearer',
2109
+ type: 'http'
2110
+ },
2111
+ {
2112
+ scheme: 'bearer',
2113
+ type: 'http'
2114
+ }
2115
+ ],
2116
+ url: '/api/affiliated-organizations/{uuid}/',
2117
+ ...options,
2118
+ headers: {
2119
+ 'Content-Type': 'application/json',
2120
+ ...options.headers
2121
+ }
2122
+ });
2123
+ };
2124
+ /**
2125
+ * Get affiliated organization statistics
2126
+ * Returns permission-filtered statistics for this affiliated organization.
2127
+ */
2128
+ export const affiliatedOrganizationsStatsRetrieve = (options) => {
2129
+ return (options.client ?? _heyApiClient).get({
2130
+ security: [
2131
+ {
2132
+ name: 'Authorization',
2133
+ type: 'apiKey'
2134
+ },
2135
+ {
2136
+ scheme: 'bearer',
2137
+ type: 'http'
2138
+ },
2139
+ {
2140
+ scheme: 'bearer',
2141
+ type: 'http'
2142
+ }
2143
+ ],
2144
+ url: '/api/affiliated-organizations/{uuid}/stats/',
2145
+ ...options
2146
+ });
2147
+ };
2148
+ /**
2149
+ * Get affiliated organizations report
2150
+ * Staff-only report showing aggregated data for all affiliated organizations plus an unaffiliated row.
2151
+ */
2152
+ export const affiliatedOrganizationsReportList = (options) => {
2153
+ return (options?.client ?? _heyApiClient).get({
2154
+ security: [
2155
+ {
2156
+ name: 'Authorization',
2157
+ type: 'apiKey'
2158
+ },
2159
+ {
2160
+ scheme: 'bearer',
2161
+ type: 'http'
2162
+ },
2163
+ {
2164
+ scheme: 'bearer',
2165
+ type: 'http'
2166
+ }
2167
+ ],
2168
+ url: '/api/affiliated-organizations/report/',
2169
+ ...options
2170
+ });
2171
+ };
2172
+ /**
2173
+ * Get affiliated organizations report
2174
+ * Get number of items in the collection matching the request parameters.
2175
+ */
2176
+ export const affiliatedOrganizationsReportCount = (options) => {
2177
+ return (options?.client ?? _heyApiClient).head({
2178
+ security: [
2179
+ {
2180
+ name: 'Authorization',
2181
+ type: 'apiKey'
2182
+ },
2183
+ {
2184
+ scheme: 'bearer',
2185
+ type: 'http'
2186
+ },
2187
+ {
2188
+ scheme: 'bearer',
2189
+ type: 'http'
2190
+ }
2191
+ ],
2192
+ url: '/api/affiliated-organizations/report/',
2193
+ ...options
2194
+ });
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
+ };
1969
2396
  export const assignmentBatchesList = (options) => {
1970
2397
  return (options?.client ?? _heyApiClient).get({
1971
2398
  security: [
@@ -7004,6 +7431,33 @@ export const chatMessagesList = (options) => {
7004
7431
  ...options
7005
7432
  });
7006
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
+ };
7007
7461
  /**
7008
7462
  * Set token quota for user
7009
7463
  * Allows staff/support to set token quota limits for a specific user. Configure daily, weekly, and monthly limits:
@@ -7131,6 +7585,217 @@ export const chatSessionsCurrentRetrieve = (options) => {
7131
7585
  ...options
7132
7586
  });
7133
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
+ };
7134
7799
  export const chatThreadsList = (options) => {
7135
7800
  return (options?.client ?? _heyApiClient).get({
7136
7801
  security: [
@@ -16023,6 +16688,81 @@ export const marketplaceCategoryHelpArticlesUpdate = (options) => {
16023
16688
  }
16024
16689
  });
16025
16690
  };
16691
+ export const marketplaceChatClick = (options) => {
16692
+ return (options.client ?? _heyApiClient).post({
16693
+ security: [
16694
+ {
16695
+ name: 'Authorization',
16696
+ type: 'apiKey'
16697
+ },
16698
+ {
16699
+ scheme: 'bearer',
16700
+ type: 'http'
16701
+ },
16702
+ {
16703
+ scheme: 'bearer',
16704
+ type: 'http'
16705
+ }
16706
+ ],
16707
+ url: '/api/marketplace-chat/click/',
16708
+ ...options,
16709
+ headers: {
16710
+ 'Content-Type': 'application/json',
16711
+ ...options.headers
16712
+ }
16713
+ });
16714
+ };
16715
+ export const marketplaceChatFeedback = (options) => {
16716
+ return (options.client ?? _heyApiClient).post({
16717
+ security: [
16718
+ {
16719
+ name: 'Authorization',
16720
+ type: 'apiKey'
16721
+ },
16722
+ {
16723
+ scheme: 'bearer',
16724
+ type: 'http'
16725
+ },
16726
+ {
16727
+ scheme: 'bearer',
16728
+ type: 'http'
16729
+ }
16730
+ ],
16731
+ url: '/api/marketplace-chat/feedback/',
16732
+ ...options,
16733
+ headers: {
16734
+ 'Content-Type': 'application/json',
16735
+ ...options.headers
16736
+ }
16737
+ });
16738
+ };
16739
+ /**
16740
+ * Anonymous chat streaming endpoint. Returns NDJSON with one assistant content block per line. Final `m` frame carries input/output token counts.
16741
+ */
16742
+ export const marketplaceChatStream = (options) => {
16743
+ return (options.client ?? _heyApiClient).post({
16744
+ security: [
16745
+ {
16746
+ name: 'Authorization',
16747
+ type: 'apiKey'
16748
+ },
16749
+ {
16750
+ scheme: 'bearer',
16751
+ type: 'http'
16752
+ },
16753
+ {
16754
+ scheme: 'bearer',
16755
+ type: 'http'
16756
+ }
16757
+ ],
16758
+ url: '/api/marketplace-chat/stream/',
16759
+ ...options,
16760
+ headers: {
16761
+ 'Content-Type': 'application/json',
16762
+ ...options.headers
16763
+ }
16764
+ });
16765
+ };
16026
16766
  /**
16027
16767
  * List monthly component usage summaries globally
16028
16768
  * 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.
@@ -17754,11 +18494,7 @@ export const marketplaceOfferingPermissionsRetrieve = (options) => {
17754
18494
  ...options
17755
18495
  });
17756
18496
  };
17757
- /**
17758
- * List Datacite referrals for offerings
17759
- * 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.
17760
- */
17761
- export const marketplaceOfferingReferralsList = (options) => {
18497
+ export const marketplaceOfferingProfilesList = (options) => {
17762
18498
  return (options?.client ?? _heyApiClient).get({
17763
18499
  security: [
17764
18500
  {
@@ -17774,15 +18510,14 @@ export const marketplaceOfferingReferralsList = (options) => {
17774
18510
  type: 'http'
17775
18511
  }
17776
18512
  ],
17777
- url: '/api/marketplace-offering-referrals/',
18513
+ url: '/api/marketplace-offering-profiles/',
17778
18514
  ...options
17779
18515
  });
17780
18516
  };
17781
18517
  /**
17782
- * List Datacite referrals for offerings
17783
18518
  * Get number of items in the collection matching the request parameters.
17784
18519
  */
17785
- export const marketplaceOfferingReferralsCount = (options) => {
18520
+ export const marketplaceOfferingProfilesCount = (options) => {
17786
18521
  return (options?.client ?? _heyApiClient).head({
17787
18522
  security: [
17788
18523
  {
@@ -17798,16 +18533,12 @@ export const marketplaceOfferingReferralsCount = (options) => {
17798
18533
  type: 'http'
17799
18534
  }
17800
18535
  ],
17801
- url: '/api/marketplace-offering-referrals/',
18536
+ url: '/api/marketplace-offering-profiles/',
17802
18537
  ...options
17803
18538
  });
17804
18539
  };
17805
- /**
17806
- * Retrieve a specific Datacite referral
17807
- * Returns the details of a single Datacite referral record, identified by its UUID. Details include the related identifier (PID), the type of relationship, and metadata about the related work.
17808
- */
17809
- export const marketplaceOfferingReferralsRetrieve = (options) => {
17810
- return (options.client ?? _heyApiClient).get({
18540
+ export const marketplaceOfferingProfilesCreate = (options) => {
18541
+ return (options.client ?? _heyApiClient).post({
17811
18542
  security: [
17812
18543
  {
17813
18544
  name: 'Authorization',
@@ -17822,16 +18553,16 @@ export const marketplaceOfferingReferralsRetrieve = (options) => {
17822
18553
  type: 'http'
17823
18554
  }
17824
18555
  ],
17825
- url: '/api/marketplace-offering-referrals/{uuid}/',
17826
- ...options
18556
+ url: '/api/marketplace-offering-profiles/',
18557
+ ...options,
18558
+ headers: {
18559
+ 'Content-Type': 'application/json',
18560
+ ...options.headers
18561
+ }
17827
18562
  });
17828
18563
  };
17829
- /**
17830
- * List Terms of Service configurations
17831
- * 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.
17832
- */
17833
- export const marketplaceOfferingTermsOfServiceList = (options) => {
17834
- return (options?.client ?? _heyApiClient).get({
18564
+ export const marketplaceOfferingProfilesDestroy = (options) => {
18565
+ return (options.client ?? _heyApiClient).delete({
17835
18566
  security: [
17836
18567
  {
17837
18568
  name: 'Authorization',
@@ -17846,16 +18577,12 @@ export const marketplaceOfferingTermsOfServiceList = (options) => {
17846
18577
  type: 'http'
17847
18578
  }
17848
18579
  ],
17849
- url: '/api/marketplace-offering-terms-of-service/',
18580
+ url: '/api/marketplace-offering-profiles/{uuid}/',
17850
18581
  ...options
17851
18582
  });
17852
18583
  };
17853
- /**
17854
- * List Terms of Service configurations
17855
- * Get number of items in the collection matching the request parameters.
17856
- */
17857
- export const marketplaceOfferingTermsOfServiceCount = (options) => {
17858
- return (options?.client ?? _heyApiClient).head({
18584
+ export const marketplaceOfferingProfilesRetrieve = (options) => {
18585
+ return (options.client ?? _heyApiClient).get({
17859
18586
  security: [
17860
18587
  {
17861
18588
  name: 'Authorization',
@@ -17870,15 +18597,59 @@ export const marketplaceOfferingTermsOfServiceCount = (options) => {
17870
18597
  type: 'http'
17871
18598
  }
17872
18599
  ],
17873
- url: '/api/marketplace-offering-terms-of-service/',
18600
+ url: '/api/marketplace-offering-profiles/{uuid}/',
17874
18601
  ...options
17875
18602
  });
17876
18603
  };
17877
- /**
17878
- * Create a Terms of Service configuration
17879
- * Creates a new Terms of Service configuration for an offering. Only one active ToS configuration is allowed per offering.
17880
- */
17881
- export const marketplaceOfferingTermsOfServiceCreate = (options) => {
18604
+ export const marketplaceOfferingProfilesPartialUpdate = (options) => {
18605
+ return (options.client ?? _heyApiClient).patch({
18606
+ security: [
18607
+ {
18608
+ name: 'Authorization',
18609
+ type: 'apiKey'
18610
+ },
18611
+ {
18612
+ scheme: 'bearer',
18613
+ type: 'http'
18614
+ },
18615
+ {
18616
+ scheme: 'bearer',
18617
+ type: 'http'
18618
+ }
18619
+ ],
18620
+ url: '/api/marketplace-offering-profiles/{uuid}/',
18621
+ ...options,
18622
+ headers: {
18623
+ 'Content-Type': 'application/json',
18624
+ ...options.headers
18625
+ }
18626
+ });
18627
+ };
18628
+ export const marketplaceOfferingProfilesUpdate = (options) => {
18629
+ return (options.client ?? _heyApiClient).put({
18630
+ security: [
18631
+ {
18632
+ name: 'Authorization',
18633
+ type: 'apiKey'
18634
+ },
18635
+ {
18636
+ scheme: 'bearer',
18637
+ type: 'http'
18638
+ },
18639
+ {
18640
+ scheme: 'bearer',
18641
+ type: 'http'
18642
+ }
18643
+ ],
18644
+ url: '/api/marketplace-offering-profiles/{uuid}/',
18645
+ ...options,
18646
+ headers: {
18647
+ 'Content-Type': 'application/json',
18648
+ ...options.headers
18649
+ }
18650
+ });
18651
+ };
18652
+ export const marketplaceOfferingProfilesAddRole = (options) => {
17882
18653
  return (options.client ?? _heyApiClient).post({
17883
18654
  security: [
17884
18655
  {
@@ -17894,7 +18665,7 @@ export const marketplaceOfferingTermsOfServiceCreate = (options) => {
17894
18665
  type: 'http'
17895
18666
  }
17896
18667
  ],
17897
- url: '/api/marketplace-offering-terms-of-service/',
18668
+ url: '/api/marketplace-offering-profiles/{uuid}/add_role/',
17898
18669
  ...options,
17899
18670
  headers: {
17900
18671
  'Content-Type': 'application/json',
@@ -17902,12 +18673,8 @@ export const marketplaceOfferingTermsOfServiceCreate = (options) => {
17902
18673
  }
17903
18674
  });
17904
18675
  };
17905
- /**
17906
- * Delete a Terms of Service configuration
17907
- * Deletes a Terms of Service configuration. This is a hard delete and should be used with caution.
17908
- */
17909
- export const marketplaceOfferingTermsOfServiceDestroy = (options) => {
17910
- return (options.client ?? _heyApiClient).delete({
18676
+ export const marketplaceOfferingProfilesRemoveRole = (options) => {
18677
+ return (options.client ?? _heyApiClient).post({
17911
18678
  security: [
17912
18679
  {
17913
18680
  name: 'Authorization',
@@ -17922,16 +18689,20 @@ export const marketplaceOfferingTermsOfServiceDestroy = (options) => {
17922
18689
  type: 'http'
17923
18690
  }
17924
18691
  ],
17925
- url: '/api/marketplace-offering-terms-of-service/{uuid}/',
17926
- ...options
18692
+ url: '/api/marketplace-offering-profiles/{uuid}/remove_role/',
18693
+ ...options,
18694
+ headers: {
18695
+ 'Content-Type': 'application/json',
18696
+ ...options.headers
18697
+ }
17927
18698
  });
17928
18699
  };
17929
18700
  /**
17930
- * Retrieve a Terms of Service configuration
17931
- * Returns the details of a specific Terms of Service configuration.
18701
+ * List Datacite referrals for offerings
18702
+ * 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.
17932
18703
  */
17933
- export const marketplaceOfferingTermsOfServiceRetrieve = (options) => {
17934
- return (options.client ?? _heyApiClient).get({
18704
+ export const marketplaceOfferingReferralsList = (options) => {
18705
+ return (options?.client ?? _heyApiClient).get({
17935
18706
  security: [
17936
18707
  {
17937
18708
  name: 'Authorization',
@@ -17946,16 +18717,16 @@ export const marketplaceOfferingTermsOfServiceRetrieve = (options) => {
17946
18717
  type: 'http'
17947
18718
  }
17948
18719
  ],
17949
- url: '/api/marketplace-offering-terms-of-service/{uuid}/',
18720
+ url: '/api/marketplace-offering-referrals/',
17950
18721
  ...options
17951
18722
  });
17952
18723
  };
17953
18724
  /**
17954
- * Partially update a Terms of Service configuration
17955
- * Partially updates an existing Terms of Service configuration.
18725
+ * List Datacite referrals for offerings
18726
+ * Get number of items in the collection matching the request parameters.
17956
18727
  */
17957
- export const marketplaceOfferingTermsOfServicePartialUpdate = (options) => {
17958
- return (options.client ?? _heyApiClient).patch({
18728
+ export const marketplaceOfferingReferralsCount = (options) => {
18729
+ return (options?.client ?? _heyApiClient).head({
17959
18730
  security: [
17960
18731
  {
17961
18732
  name: 'Authorization',
@@ -17970,20 +18741,16 @@ export const marketplaceOfferingTermsOfServicePartialUpdate = (options) => {
17970
18741
  type: 'http'
17971
18742
  }
17972
18743
  ],
17973
- url: '/api/marketplace-offering-terms-of-service/{uuid}/',
17974
- ...options,
17975
- headers: {
17976
- 'Content-Type': 'application/json',
17977
- ...options.headers
17978
- }
18744
+ url: '/api/marketplace-offering-referrals/',
18745
+ ...options
17979
18746
  });
17980
18747
  };
17981
18748
  /**
17982
- * Update a Terms of Service configuration
17983
- * Updates an existing Terms of Service configuration. Note that some fields like `version` and `requires_reconsent` are protected and cannot be changed after creation.
18749
+ * Retrieve a specific Datacite referral
18750
+ * Returns the details of a single Datacite referral record, identified by its UUID. Details include the related identifier (PID), the type of relationship, and metadata about the related work.
17984
18751
  */
17985
- export const marketplaceOfferingTermsOfServiceUpdate = (options) => {
17986
- return (options.client ?? _heyApiClient).put({
18752
+ export const marketplaceOfferingReferralsRetrieve = (options) => {
18753
+ return (options.client ?? _heyApiClient).get({
17987
18754
  security: [
17988
18755
  {
17989
18756
  name: 'Authorization',
@@ -17998,15 +18765,11 @@ export const marketplaceOfferingTermsOfServiceUpdate = (options) => {
17998
18765
  type: 'http'
17999
18766
  }
18000
18767
  ],
18001
- url: '/api/marketplace-offering-terms-of-service/{uuid}/',
18002
- ...options,
18003
- headers: {
18004
- 'Content-Type': 'application/json',
18005
- ...options.headers
18006
- }
18768
+ url: '/api/marketplace-offering-referrals/{uuid}/',
18769
+ ...options
18007
18770
  });
18008
18771
  };
18009
- export const marketplaceOfferingUsagePoliciesList = (options) => {
18772
+ export const marketplaceOfferingRolesList = (options) => {
18010
18773
  return (options?.client ?? _heyApiClient).get({
18011
18774
  security: [
18012
18775
  {
@@ -18022,14 +18785,14 @@ export const marketplaceOfferingUsagePoliciesList = (options) => {
18022
18785
  type: 'http'
18023
18786
  }
18024
18787
  ],
18025
- url: '/api/marketplace-offering-usage-policies/',
18788
+ url: '/api/marketplace-offering-roles/',
18026
18789
  ...options
18027
18790
  });
18028
18791
  };
18029
18792
  /**
18030
18793
  * Get number of items in the collection matching the request parameters.
18031
18794
  */
18032
- export const marketplaceOfferingUsagePoliciesCount = (options) => {
18795
+ export const marketplaceOfferingRolesCount = (options) => {
18033
18796
  return (options?.client ?? _heyApiClient).head({
18034
18797
  security: [
18035
18798
  {
@@ -18045,11 +18808,11 @@ export const marketplaceOfferingUsagePoliciesCount = (options) => {
18045
18808
  type: 'http'
18046
18809
  }
18047
18810
  ],
18048
- url: '/api/marketplace-offering-usage-policies/',
18811
+ url: '/api/marketplace-offering-roles/',
18049
18812
  ...options
18050
18813
  });
18051
18814
  };
18052
- export const marketplaceOfferingUsagePoliciesCreate = (options) => {
18815
+ export const marketplaceOfferingRolesCreate = (options) => {
18053
18816
  return (options.client ?? _heyApiClient).post({
18054
18817
  security: [
18055
18818
  {
@@ -18065,7 +18828,7 @@ export const marketplaceOfferingUsagePoliciesCreate = (options) => {
18065
18828
  type: 'http'
18066
18829
  }
18067
18830
  ],
18068
- url: '/api/marketplace-offering-usage-policies/',
18831
+ url: '/api/marketplace-offering-roles/',
18069
18832
  ...options,
18070
18833
  headers: {
18071
18834
  'Content-Type': 'application/json',
@@ -18073,7 +18836,7 @@ export const marketplaceOfferingUsagePoliciesCreate = (options) => {
18073
18836
  }
18074
18837
  });
18075
18838
  };
18076
- export const marketplaceOfferingUsagePoliciesDestroy = (options) => {
18839
+ export const marketplaceOfferingRolesDestroy = (options) => {
18077
18840
  return (options.client ?? _heyApiClient).delete({
18078
18841
  security: [
18079
18842
  {
@@ -18089,11 +18852,11 @@ export const marketplaceOfferingUsagePoliciesDestroy = (options) => {
18089
18852
  type: 'http'
18090
18853
  }
18091
18854
  ],
18092
- url: '/api/marketplace-offering-usage-policies/{uuid}/',
18855
+ url: '/api/marketplace-offering-roles/{uuid}/',
18093
18856
  ...options
18094
18857
  });
18095
18858
  };
18096
- export const marketplaceOfferingUsagePoliciesRetrieve = (options) => {
18859
+ export const marketplaceOfferingRolesRetrieve = (options) => {
18097
18860
  return (options.client ?? _heyApiClient).get({
18098
18861
  security: [
18099
18862
  {
@@ -18109,11 +18872,11 @@ export const marketplaceOfferingUsagePoliciesRetrieve = (options) => {
18109
18872
  type: 'http'
18110
18873
  }
18111
18874
  ],
18112
- url: '/api/marketplace-offering-usage-policies/{uuid}/',
18875
+ url: '/api/marketplace-offering-roles/{uuid}/',
18113
18876
  ...options
18114
18877
  });
18115
18878
  };
18116
- export const marketplaceOfferingUsagePoliciesPartialUpdate = (options) => {
18879
+ export const marketplaceOfferingRolesPartialUpdate = (options) => {
18117
18880
  return (options.client ?? _heyApiClient).patch({
18118
18881
  security: [
18119
18882
  {
@@ -18129,7 +18892,7 @@ export const marketplaceOfferingUsagePoliciesPartialUpdate = (options) => {
18129
18892
  type: 'http'
18130
18893
  }
18131
18894
  ],
18132
- url: '/api/marketplace-offering-usage-policies/{uuid}/',
18895
+ url: '/api/marketplace-offering-roles/{uuid}/',
18133
18896
  ...options,
18134
18897
  headers: {
18135
18898
  'Content-Type': 'application/json',
@@ -18137,7 +18900,7 @@ export const marketplaceOfferingUsagePoliciesPartialUpdate = (options) => {
18137
18900
  }
18138
18901
  });
18139
18902
  };
18140
- export const marketplaceOfferingUsagePoliciesUpdate = (options) => {
18903
+ export const marketplaceOfferingRolesUpdate = (options) => {
18141
18904
  return (options.client ?? _heyApiClient).put({
18142
18905
  security: [
18143
18906
  {
@@ -18153,7 +18916,7 @@ export const marketplaceOfferingUsagePoliciesUpdate = (options) => {
18153
18916
  type: 'http'
18154
18917
  }
18155
18918
  ],
18156
- url: '/api/marketplace-offering-usage-policies/{uuid}/',
18919
+ url: '/api/marketplace-offering-roles/{uuid}/',
18157
18920
  ...options,
18158
18921
  headers: {
18159
18922
  'Content-Type': 'application/json',
@@ -18161,7 +18924,11 @@ export const marketplaceOfferingUsagePoliciesUpdate = (options) => {
18161
18924
  }
18162
18925
  });
18163
18926
  };
18164
- export const marketplaceOfferingUsagePoliciesActionsRetrieve = (options) => {
18927
+ /**
18928
+ * List Terms of Service configurations
18929
+ * 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.
18930
+ */
18931
+ export const marketplaceOfferingTermsOfServiceList = (options) => {
18165
18932
  return (options?.client ?? _heyApiClient).get({
18166
18933
  security: [
18167
18934
  {
@@ -18177,14 +18944,15 @@ export const marketplaceOfferingUsagePoliciesActionsRetrieve = (options) => {
18177
18944
  type: 'http'
18178
18945
  }
18179
18946
  ],
18180
- url: '/api/marketplace-offering-usage-policies/actions/',
18947
+ url: '/api/marketplace-offering-terms-of-service/',
18181
18948
  ...options
18182
18949
  });
18183
18950
  };
18184
18951
  /**
18952
+ * List Terms of Service configurations
18185
18953
  * Get number of items in the collection matching the request parameters.
18186
18954
  */
18187
- export const marketplaceOfferingUsagePoliciesActionsCount = (options) => {
18955
+ export const marketplaceOfferingTermsOfServiceCount = (options) => {
18188
18956
  return (options?.client ?? _heyApiClient).head({
18189
18957
  security: [
18190
18958
  {
@@ -18200,20 +18968,16 @@ export const marketplaceOfferingUsagePoliciesActionsCount = (options) => {
18200
18968
  type: 'http'
18201
18969
  }
18202
18970
  ],
18203
- url: '/api/marketplace-offering-usage-policies/actions/',
18971
+ url: '/api/marketplace-offering-terms-of-service/',
18204
18972
  ...options
18205
18973
  });
18206
18974
  };
18207
18975
  /**
18208
- * List checklist completions for offering users
18209
- *
18210
- * Returns a paginated list of all checklist completions for offering users that the current user is allowed to see.
18211
- * This endpoint is used by service providers to monitor compliance status and by users to see their own required checklists.
18212
- * Visibility follows the same rules as the `OfferingUsers` endpoint.
18213
- *
18976
+ * Create a Terms of Service configuration
18977
+ * Creates a new Terms of Service configuration for an offering. Only one active ToS configuration is allowed per offering.
18214
18978
  */
18215
- export const marketplaceOfferingUserChecklistCompletionsList = (options) => {
18216
- return (options?.client ?? _heyApiClient).get({
18979
+ export const marketplaceOfferingTermsOfServiceCreate = (options) => {
18980
+ return (options.client ?? _heyApiClient).post({
18217
18981
  security: [
18218
18982
  {
18219
18983
  name: 'Authorization',
@@ -18228,16 +18992,20 @@ export const marketplaceOfferingUserChecklistCompletionsList = (options) => {
18228
18992
  type: 'http'
18229
18993
  }
18230
18994
  ],
18231
- url: '/api/marketplace-offering-user-checklist-completions/',
18232
- ...options
18995
+ url: '/api/marketplace-offering-terms-of-service/',
18996
+ ...options,
18997
+ headers: {
18998
+ 'Content-Type': 'application/json',
18999
+ ...options.headers
19000
+ }
18233
19001
  });
18234
19002
  };
18235
19003
  /**
18236
- * List checklist completions for offering users
18237
- * Get number of items in the collection matching the request parameters.
19004
+ * Delete a Terms of Service configuration
19005
+ * Deletes a Terms of Service configuration. This is a hard delete and should be used with caution.
18238
19006
  */
18239
- export const marketplaceOfferingUserChecklistCompletionsCount = (options) => {
18240
- return (options?.client ?? _heyApiClient).head({
19007
+ export const marketplaceOfferingTermsOfServiceDestroy = (options) => {
19008
+ return (options.client ?? _heyApiClient).delete({
18241
19009
  security: [
18242
19010
  {
18243
19011
  name: 'Authorization',
@@ -18252,15 +19020,15 @@ export const marketplaceOfferingUserChecklistCompletionsCount = (options) => {
18252
19020
  type: 'http'
18253
19021
  }
18254
19022
  ],
18255
- url: '/api/marketplace-offering-user-checklist-completions/',
19023
+ url: '/api/marketplace-offering-terms-of-service/{uuid}/',
18256
19024
  ...options
18257
19025
  });
18258
19026
  };
18259
19027
  /**
18260
- * Retrieve a checklist completion
18261
- * Returns the details of a specific checklist completion for an offering user.
19028
+ * Retrieve a Terms of Service configuration
19029
+ * Returns the details of a specific Terms of Service configuration.
18262
19030
  */
18263
- export const marketplaceOfferingUserChecklistCompletionsRetrieve = (options) => {
19031
+ export const marketplaceOfferingTermsOfServiceRetrieve = (options) => {
18264
19032
  return (options.client ?? _heyApiClient).get({
18265
19033
  security: [
18266
19034
  {
@@ -18276,11 +19044,67 @@ export const marketplaceOfferingUserChecklistCompletionsRetrieve = (options) =>
18276
19044
  type: 'http'
18277
19045
  }
18278
19046
  ],
18279
- url: '/api/marketplace-offering-user-checklist-completions/{id}/',
19047
+ url: '/api/marketplace-offering-terms-of-service/{uuid}/',
18280
19048
  ...options
18281
19049
  });
18282
19050
  };
18283
- export const marketplaceOfferingUserRolesList = (options) => {
19051
+ /**
19052
+ * Partially update a Terms of Service configuration
19053
+ * Partially updates an existing Terms of Service configuration.
19054
+ */
19055
+ export const marketplaceOfferingTermsOfServicePartialUpdate = (options) => {
19056
+ return (options.client ?? _heyApiClient).patch({
19057
+ security: [
19058
+ {
19059
+ name: 'Authorization',
19060
+ type: 'apiKey'
19061
+ },
19062
+ {
19063
+ scheme: 'bearer',
19064
+ type: 'http'
19065
+ },
19066
+ {
19067
+ scheme: 'bearer',
19068
+ type: 'http'
19069
+ }
19070
+ ],
19071
+ url: '/api/marketplace-offering-terms-of-service/{uuid}/',
19072
+ ...options,
19073
+ headers: {
19074
+ 'Content-Type': 'application/json',
19075
+ ...options.headers
19076
+ }
19077
+ });
19078
+ };
19079
+ /**
19080
+ * Update a Terms of Service configuration
19081
+ * Updates an existing Terms of Service configuration. Note that some fields like `version` and `requires_reconsent` are protected and cannot be changed after creation.
19082
+ */
19083
+ export const marketplaceOfferingTermsOfServiceUpdate = (options) => {
19084
+ return (options.client ?? _heyApiClient).put({
19085
+ security: [
19086
+ {
19087
+ name: 'Authorization',
19088
+ type: 'apiKey'
19089
+ },
19090
+ {
19091
+ scheme: 'bearer',
19092
+ type: 'http'
19093
+ },
19094
+ {
19095
+ scheme: 'bearer',
19096
+ type: 'http'
19097
+ }
19098
+ ],
19099
+ url: '/api/marketplace-offering-terms-of-service/{uuid}/',
19100
+ ...options,
19101
+ headers: {
19102
+ 'Content-Type': 'application/json',
19103
+ ...options.headers
19104
+ }
19105
+ });
19106
+ };
19107
+ export const marketplaceOfferingUsagePoliciesList = (options) => {
18284
19108
  return (options?.client ?? _heyApiClient).get({
18285
19109
  security: [
18286
19110
  {
@@ -18296,14 +19120,14 @@ export const marketplaceOfferingUserRolesList = (options) => {
18296
19120
  type: 'http'
18297
19121
  }
18298
19122
  ],
18299
- url: '/api/marketplace-offering-user-roles/',
19123
+ url: '/api/marketplace-offering-usage-policies/',
18300
19124
  ...options
18301
19125
  });
18302
19126
  };
18303
19127
  /**
18304
19128
  * Get number of items in the collection matching the request parameters.
18305
19129
  */
18306
- export const marketplaceOfferingUserRolesCount = (options) => {
19130
+ export const marketplaceOfferingUsagePoliciesCount = (options) => {
18307
19131
  return (options?.client ?? _heyApiClient).head({
18308
19132
  security: [
18309
19133
  {
@@ -18319,11 +19143,11 @@ export const marketplaceOfferingUserRolesCount = (options) => {
18319
19143
  type: 'http'
18320
19144
  }
18321
19145
  ],
18322
- url: '/api/marketplace-offering-user-roles/',
19146
+ url: '/api/marketplace-offering-usage-policies/',
18323
19147
  ...options
18324
19148
  });
18325
19149
  };
18326
- export const marketplaceOfferingUserRolesCreate = (options) => {
19150
+ export const marketplaceOfferingUsagePoliciesCreate = (options) => {
18327
19151
  return (options.client ?? _heyApiClient).post({
18328
19152
  security: [
18329
19153
  {
@@ -18339,7 +19163,7 @@ export const marketplaceOfferingUserRolesCreate = (options) => {
18339
19163
  type: 'http'
18340
19164
  }
18341
19165
  ],
18342
- url: '/api/marketplace-offering-user-roles/',
19166
+ url: '/api/marketplace-offering-usage-policies/',
18343
19167
  ...options,
18344
19168
  headers: {
18345
19169
  'Content-Type': 'application/json',
@@ -18347,7 +19171,7 @@ export const marketplaceOfferingUserRolesCreate = (options) => {
18347
19171
  }
18348
19172
  });
18349
19173
  };
18350
- export const marketplaceOfferingUserRolesDestroy = (options) => {
19174
+ export const marketplaceOfferingUsagePoliciesDestroy = (options) => {
18351
19175
  return (options.client ?? _heyApiClient).delete({
18352
19176
  security: [
18353
19177
  {
@@ -18363,11 +19187,11 @@ export const marketplaceOfferingUserRolesDestroy = (options) => {
18363
19187
  type: 'http'
18364
19188
  }
18365
19189
  ],
18366
- url: '/api/marketplace-offering-user-roles/{uuid}/',
19190
+ url: '/api/marketplace-offering-usage-policies/{uuid}/',
18367
19191
  ...options
18368
19192
  });
18369
19193
  };
18370
- export const marketplaceOfferingUserRolesRetrieve = (options) => {
19194
+ export const marketplaceOfferingUsagePoliciesRetrieve = (options) => {
18371
19195
  return (options.client ?? _heyApiClient).get({
18372
19196
  security: [
18373
19197
  {
@@ -18383,11 +19207,11 @@ export const marketplaceOfferingUserRolesRetrieve = (options) => {
18383
19207
  type: 'http'
18384
19208
  }
18385
19209
  ],
18386
- url: '/api/marketplace-offering-user-roles/{uuid}/',
19210
+ url: '/api/marketplace-offering-usage-policies/{uuid}/',
18387
19211
  ...options
18388
19212
  });
18389
19213
  };
18390
- export const marketplaceOfferingUserRolesPartialUpdate = (options) => {
19214
+ export const marketplaceOfferingUsagePoliciesPartialUpdate = (options) => {
18391
19215
  return (options.client ?? _heyApiClient).patch({
18392
19216
  security: [
18393
19217
  {
@@ -18403,7 +19227,7 @@ export const marketplaceOfferingUserRolesPartialUpdate = (options) => {
18403
19227
  type: 'http'
18404
19228
  }
18405
19229
  ],
18406
- url: '/api/marketplace-offering-user-roles/{uuid}/',
19230
+ url: '/api/marketplace-offering-usage-policies/{uuid}/',
18407
19231
  ...options,
18408
19232
  headers: {
18409
19233
  'Content-Type': 'application/json',
@@ -18411,7 +19235,7 @@ export const marketplaceOfferingUserRolesPartialUpdate = (options) => {
18411
19235
  }
18412
19236
  });
18413
19237
  };
18414
- export const marketplaceOfferingUserRolesUpdate = (options) => {
19238
+ export const marketplaceOfferingUsagePoliciesUpdate = (options) => {
18415
19239
  return (options.client ?? _heyApiClient).put({
18416
19240
  security: [
18417
19241
  {
@@ -18427,7 +19251,7 @@ export const marketplaceOfferingUserRolesUpdate = (options) => {
18427
19251
  type: 'http'
18428
19252
  }
18429
19253
  ],
18430
- url: '/api/marketplace-offering-user-roles/{uuid}/',
19254
+ url: '/api/marketplace-offering-usage-policies/{uuid}/',
18431
19255
  ...options,
18432
19256
  headers: {
18433
19257
  'Content-Type': 'application/json',
@@ -18435,6 +19259,125 @@ export const marketplaceOfferingUserRolesUpdate = (options) => {
18435
19259
  }
18436
19260
  });
18437
19261
  };
19262
+ export const marketplaceOfferingUsagePoliciesActionsRetrieve = (options) => {
19263
+ return (options?.client ?? _heyApiClient).get({
19264
+ security: [
19265
+ {
19266
+ name: 'Authorization',
19267
+ type: 'apiKey'
19268
+ },
19269
+ {
19270
+ scheme: 'bearer',
19271
+ type: 'http'
19272
+ },
19273
+ {
19274
+ scheme: 'bearer',
19275
+ type: 'http'
19276
+ }
19277
+ ],
19278
+ url: '/api/marketplace-offering-usage-policies/actions/',
19279
+ ...options
19280
+ });
19281
+ };
19282
+ /**
19283
+ * Get number of items in the collection matching the request parameters.
19284
+ */
19285
+ export const marketplaceOfferingUsagePoliciesActionsCount = (options) => {
19286
+ return (options?.client ?? _heyApiClient).head({
19287
+ security: [
19288
+ {
19289
+ name: 'Authorization',
19290
+ type: 'apiKey'
19291
+ },
19292
+ {
19293
+ scheme: 'bearer',
19294
+ type: 'http'
19295
+ },
19296
+ {
19297
+ scheme: 'bearer',
19298
+ type: 'http'
19299
+ }
19300
+ ],
19301
+ url: '/api/marketplace-offering-usage-policies/actions/',
19302
+ ...options
19303
+ });
19304
+ };
19305
+ /**
19306
+ * List checklist completions for offering users
19307
+ *
19308
+ * Returns a paginated list of all checklist completions for offering users that the current user is allowed to see.
19309
+ * This endpoint is used by service providers to monitor compliance status and by users to see their own required checklists.
19310
+ * Visibility follows the same rules as the `OfferingUsers` endpoint.
19311
+ *
19312
+ */
19313
+ export const marketplaceOfferingUserChecklistCompletionsList = (options) => {
19314
+ return (options?.client ?? _heyApiClient).get({
19315
+ security: [
19316
+ {
19317
+ name: 'Authorization',
19318
+ type: 'apiKey'
19319
+ },
19320
+ {
19321
+ scheme: 'bearer',
19322
+ type: 'http'
19323
+ },
19324
+ {
19325
+ scheme: 'bearer',
19326
+ type: 'http'
19327
+ }
19328
+ ],
19329
+ url: '/api/marketplace-offering-user-checklist-completions/',
19330
+ ...options
19331
+ });
19332
+ };
19333
+ /**
19334
+ * List checklist completions for offering users
19335
+ * Get number of items in the collection matching the request parameters.
19336
+ */
19337
+ export const marketplaceOfferingUserChecklistCompletionsCount = (options) => {
19338
+ return (options?.client ?? _heyApiClient).head({
19339
+ security: [
19340
+ {
19341
+ name: 'Authorization',
19342
+ type: 'apiKey'
19343
+ },
19344
+ {
19345
+ scheme: 'bearer',
19346
+ type: 'http'
19347
+ },
19348
+ {
19349
+ scheme: 'bearer',
19350
+ type: 'http'
19351
+ }
19352
+ ],
19353
+ url: '/api/marketplace-offering-user-checklist-completions/',
19354
+ ...options
19355
+ });
19356
+ };
19357
+ /**
19358
+ * Retrieve a checklist completion
19359
+ * Returns the details of a specific checklist completion for an offering user.
19360
+ */
19361
+ export const marketplaceOfferingUserChecklistCompletionsRetrieve = (options) => {
19362
+ return (options.client ?? _heyApiClient).get({
19363
+ security: [
19364
+ {
19365
+ name: 'Authorization',
19366
+ type: 'apiKey'
19367
+ },
19368
+ {
19369
+ scheme: 'bearer',
19370
+ type: 'http'
19371
+ },
19372
+ {
19373
+ scheme: 'bearer',
19374
+ type: 'http'
19375
+ }
19376
+ ],
19377
+ url: '/api/marketplace-offering-user-checklist-completions/{id}/',
19378
+ ...options
19379
+ });
19380
+ };
18438
19381
  /**
18439
19382
  * List offering users
18440
19383
  * Returns a paginated list of users associated with offerings. The visibility of users depends on the role of the authenticated user. Staff and support can see all users. Service providers can see users of their offerings if the user has consented. Regular users can only see their own offering-user records.
@@ -21999,6 +22942,34 @@ export const marketplaceProviderOfferingsSetBackendMetadata = (options) => {
21999
22942
  }
22000
22943
  });
22001
22944
  };
22945
+ /**
22946
+ * Bind / unbind offering to a service profile
22947
+ * 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).
22948
+ */
22949
+ export const marketplaceProviderOfferingsSetProfile = (options) => {
22950
+ return (options.client ?? _heyApiClient).post({
22951
+ security: [
22952
+ {
22953
+ name: 'Authorization',
22954
+ type: 'apiKey'
22955
+ },
22956
+ {
22957
+ scheme: 'bearer',
22958
+ type: 'http'
22959
+ },
22960
+ {
22961
+ scheme: 'bearer',
22962
+ type: 'http'
22963
+ }
22964
+ ],
22965
+ url: '/api/marketplace-provider-offerings/{uuid}/set_profile/',
22966
+ ...options,
22967
+ headers: {
22968
+ 'Content-Type': 'application/json',
22969
+ ...options.headers
22970
+ }
22971
+ });
22972
+ };
22002
22973
  /**
22003
22974
  * Get offering resource and user state counters
22004
22975
  * Returns resource and offering-user counts grouped by state for the given offering.
@@ -22831,6 +23802,293 @@ export const marketplaceProviderOfferingsImportOffering = (options) => {
22831
23802
  }
22832
23803
  });
22833
23804
  };
23805
+ export const marketplaceProviderResourceProjectsList = (options) => {
23806
+ return (options?.client ?? _heyApiClient).get({
23807
+ security: [
23808
+ {
23809
+ name: 'Authorization',
23810
+ type: 'apiKey'
23811
+ },
23812
+ {
23813
+ scheme: 'bearer',
23814
+ type: 'http'
23815
+ },
23816
+ {
23817
+ scheme: 'bearer',
23818
+ type: 'http'
23819
+ }
23820
+ ],
23821
+ url: '/api/marketplace-provider-resource-projects/',
23822
+ ...options
23823
+ });
23824
+ };
23825
+ /**
23826
+ * Get number of items in the collection matching the request parameters.
23827
+ */
23828
+ export const marketplaceProviderResourceProjectsCount = (options) => {
23829
+ return (options?.client ?? _heyApiClient).head({
23830
+ security: [
23831
+ {
23832
+ name: 'Authorization',
23833
+ type: 'apiKey'
23834
+ },
23835
+ {
23836
+ scheme: 'bearer',
23837
+ type: 'http'
23838
+ },
23839
+ {
23840
+ scheme: 'bearer',
23841
+ type: 'http'
23842
+ }
23843
+ ],
23844
+ url: '/api/marketplace-provider-resource-projects/',
23845
+ ...options
23846
+ });
23847
+ };
23848
+ export const marketplaceProviderResourceProjectsRetrieve = (options) => {
23849
+ return (options.client ?? _heyApiClient).get({
23850
+ security: [
23851
+ {
23852
+ name: 'Authorization',
23853
+ type: 'apiKey'
23854
+ },
23855
+ {
23856
+ scheme: 'bearer',
23857
+ type: 'http'
23858
+ },
23859
+ {
23860
+ scheme: 'bearer',
23861
+ type: 'http'
23862
+ }
23863
+ ],
23864
+ url: '/api/marketplace-provider-resource-projects/{uuid}/',
23865
+ ...options
23866
+ });
23867
+ };
23868
+ export const marketplaceProviderResourceProjectsPartialUpdate = (options) => {
23869
+ return (options.client ?? _heyApiClient).patch({
23870
+ security: [
23871
+ {
23872
+ name: 'Authorization',
23873
+ type: 'apiKey'
23874
+ },
23875
+ {
23876
+ scheme: 'bearer',
23877
+ type: 'http'
23878
+ },
23879
+ {
23880
+ scheme: 'bearer',
23881
+ type: 'http'
23882
+ }
23883
+ ],
23884
+ url: '/api/marketplace-provider-resource-projects/{uuid}/',
23885
+ ...options,
23886
+ headers: {
23887
+ 'Content-Type': 'application/json',
23888
+ ...options.headers
23889
+ }
23890
+ });
23891
+ };
23892
+ export const marketplaceProviderResourceProjectsUpdate = (options) => {
23893
+ return (options.client ?? _heyApiClient).put({
23894
+ security: [
23895
+ {
23896
+ name: 'Authorization',
23897
+ type: 'apiKey'
23898
+ },
23899
+ {
23900
+ scheme: 'bearer',
23901
+ type: 'http'
23902
+ },
23903
+ {
23904
+ scheme: 'bearer',
23905
+ type: 'http'
23906
+ }
23907
+ ],
23908
+ url: '/api/marketplace-provider-resource-projects/{uuid}/',
23909
+ ...options,
23910
+ headers: {
23911
+ 'Content-Type': 'application/json',
23912
+ ...options.headers
23913
+ }
23914
+ });
23915
+ };
23916
+ /**
23917
+ * Grant a role to a user
23918
+ * Assigns a specific role to a user within the current scope. An optional expiration time for the role can be set.
23919
+ */
23920
+ export const marketplaceProviderResourceProjectsAddUser = (options) => {
23921
+ return (options.client ?? _heyApiClient).post({
23922
+ security: [
23923
+ {
23924
+ name: 'Authorization',
23925
+ type: 'apiKey'
23926
+ },
23927
+ {
23928
+ scheme: 'bearer',
23929
+ type: 'http'
23930
+ },
23931
+ {
23932
+ scheme: 'bearer',
23933
+ type: 'http'
23934
+ }
23935
+ ],
23936
+ url: '/api/marketplace-provider-resource-projects/{uuid}/add_user/',
23937
+ ...options,
23938
+ headers: {
23939
+ 'Content-Type': 'application/json',
23940
+ ...options.headers
23941
+ }
23942
+ });
23943
+ };
23944
+ /**
23945
+ * Revoke a role from a user
23946
+ * Removes a specific role from a user within the current scope. This effectively revokes their permissions associated with that role.
23947
+ */
23948
+ export const marketplaceProviderResourceProjectsDeleteUser = (options) => {
23949
+ return (options.client ?? _heyApiClient).post({
23950
+ security: [
23951
+ {
23952
+ name: 'Authorization',
23953
+ type: 'apiKey'
23954
+ },
23955
+ {
23956
+ scheme: 'bearer',
23957
+ type: 'http'
23958
+ },
23959
+ {
23960
+ scheme: 'bearer',
23961
+ type: 'http'
23962
+ }
23963
+ ],
23964
+ url: '/api/marketplace-provider-resource-projects/{uuid}/delete_user/',
23965
+ ...options,
23966
+ headers: {
23967
+ 'Content-Type': 'application/json',
23968
+ ...options.headers
23969
+ }
23970
+ });
23971
+ };
23972
+ /**
23973
+ * List users and their roles in a scope
23974
+ * 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.
23975
+ */
23976
+ export const marketplaceProviderResourceProjectsListUsersList = (options) => {
23977
+ return (options.client ?? _heyApiClient).get({
23978
+ security: [
23979
+ {
23980
+ name: 'Authorization',
23981
+ type: 'apiKey'
23982
+ },
23983
+ {
23984
+ scheme: 'bearer',
23985
+ type: 'http'
23986
+ },
23987
+ {
23988
+ scheme: 'bearer',
23989
+ type: 'http'
23990
+ }
23991
+ ],
23992
+ url: '/api/marketplace-provider-resource-projects/{uuid}/list_users/',
23993
+ ...options
23994
+ });
23995
+ };
23996
+ export const marketplaceProviderResourceProjectsSetBackendId = (options) => {
23997
+ return (options.client ?? _heyApiClient).post({
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}/set_backend_id/',
24013
+ ...options,
24014
+ headers: {
24015
+ 'Content-Type': 'application/json',
24016
+ ...options.headers
24017
+ }
24018
+ });
24019
+ };
24020
+ export const marketplaceProviderResourceProjectsSetStateErred = (options) => {
24021
+ return (options.client ?? _heyApiClient).post({
24022
+ security: [
24023
+ {
24024
+ name: 'Authorization',
24025
+ type: 'apiKey'
24026
+ },
24027
+ {
24028
+ scheme: 'bearer',
24029
+ type: 'http'
24030
+ },
24031
+ {
24032
+ scheme: 'bearer',
24033
+ type: 'http'
24034
+ }
24035
+ ],
24036
+ url: '/api/marketplace-provider-resource-projects/{uuid}/set_state_erred/',
24037
+ ...options,
24038
+ headers: {
24039
+ 'Content-Type': 'application/json',
24040
+ ...options.headers
24041
+ }
24042
+ });
24043
+ };
24044
+ export const marketplaceProviderResourceProjectsSetStateOk = (options) => {
24045
+ return (options.client ?? _heyApiClient).post({
24046
+ security: [
24047
+ {
24048
+ name: 'Authorization',
24049
+ type: 'apiKey'
24050
+ },
24051
+ {
24052
+ scheme: 'bearer',
24053
+ type: 'http'
24054
+ },
24055
+ {
24056
+ scheme: 'bearer',
24057
+ type: 'http'
24058
+ }
24059
+ ],
24060
+ url: '/api/marketplace-provider-resource-projects/{uuid}/set_state_ok/',
24061
+ ...options
24062
+ });
24063
+ };
24064
+ /**
24065
+ * Update a user's role expiration
24066
+ * 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.
24067
+ */
24068
+ export const marketplaceProviderResourceProjectsUpdateUser = (options) => {
24069
+ return (options.client ?? _heyApiClient).post({
24070
+ security: [
24071
+ {
24072
+ name: 'Authorization',
24073
+ type: 'apiKey'
24074
+ },
24075
+ {
24076
+ scheme: 'bearer',
24077
+ type: 'http'
24078
+ },
24079
+ {
24080
+ scheme: 'bearer',
24081
+ type: 'http'
24082
+ }
24083
+ ],
24084
+ url: '/api/marketplace-provider-resource-projects/{uuid}/update_user/',
24085
+ ...options,
24086
+ headers: {
24087
+ 'Content-Type': 'application/json',
24088
+ ...options.headers
24089
+ }
24090
+ });
24091
+ };
22834
24092
  /**
22835
24093
  * List provider resources
22836
24094
  * Returns a paginated list of resources for offerings managed by the current user as a service provider.
@@ -22959,6 +24217,62 @@ export const marketplaceProviderResourcesUpdate = (options) => {
22959
24217
  }
22960
24218
  });
22961
24219
  };
24220
+ /**
24221
+ * Grant a role to a user
24222
+ * Assigns a specific role to a user within the current scope. An optional expiration time for the role can be set.
24223
+ */
24224
+ export const marketplaceProviderResourcesAddUser = (options) => {
24225
+ return (options.client ?? _heyApiClient).post({
24226
+ security: [
24227
+ {
24228
+ name: 'Authorization',
24229
+ type: 'apiKey'
24230
+ },
24231
+ {
24232
+ scheme: 'bearer',
24233
+ type: 'http'
24234
+ },
24235
+ {
24236
+ scheme: 'bearer',
24237
+ type: 'http'
24238
+ }
24239
+ ],
24240
+ url: '/api/marketplace-provider-resources/{uuid}/add_user/',
24241
+ ...options,
24242
+ headers: {
24243
+ 'Content-Type': 'application/json',
24244
+ ...options.headers
24245
+ }
24246
+ });
24247
+ };
24248
+ /**
24249
+ * Revoke a role from a user
24250
+ * Removes a specific role from a user within the current scope. This effectively revokes their permissions associated with that role.
24251
+ */
24252
+ export const marketplaceProviderResourcesDeleteUser = (options) => {
24253
+ return (options.client ?? _heyApiClient).post({
24254
+ security: [
24255
+ {
24256
+ name: 'Authorization',
24257
+ type: 'apiKey'
24258
+ },
24259
+ {
24260
+ scheme: 'bearer',
24261
+ type: 'http'
24262
+ },
24263
+ {
24264
+ scheme: 'bearer',
24265
+ type: 'http'
24266
+ }
24267
+ ],
24268
+ url: '/api/marketplace-provider-resources/{uuid}/delete_user/',
24269
+ ...options,
24270
+ headers: {
24271
+ 'Content-Type': 'application/json',
24272
+ ...options.headers
24273
+ }
24274
+ });
24275
+ };
22962
24276
  /**
22963
24277
  * Get resource details
22964
24278
  * Returns the detailed representation of the backend resource associated with the marketplace resource. The format of the response depends on the resource type.
@@ -23058,6 +24372,30 @@ export const marketplaceProviderResourcesHistoryAtRetrieve = (options) => {
23058
24372
  ...options
23059
24373
  });
23060
24374
  };
24375
+ /**
24376
+ * List users and their roles in a scope
24377
+ * 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.
24378
+ */
24379
+ export const marketplaceProviderResourcesListUsersList = (options) => {
24380
+ return (options.client ?? _heyApiClient).get({
24381
+ security: [
24382
+ {
24383
+ name: 'Authorization',
24384
+ type: 'apiKey'
24385
+ },
24386
+ {
24387
+ scheme: 'bearer',
24388
+ type: 'http'
24389
+ },
24390
+ {
24391
+ scheme: 'bearer',
24392
+ type: 'http'
24393
+ }
24394
+ ],
24395
+ url: '/api/marketplace-provider-resources/{uuid}/list_users/',
24396
+ ...options
24397
+ });
24398
+ };
23061
24399
  /**
23062
24400
  * Move a resource to another project
23063
24401
  * Moves a resource and its associated data to a different project. Requires staff permissions.
@@ -23480,34 +24818,6 @@ export const marketplaceProviderResourcesSetEndDateByStaff = (options) => {
23480
24818
  }
23481
24819
  });
23482
24820
  };
23483
- /**
23484
- * Set Keycloak scope options for a resource
23485
- * Allows a service provider to configure available scope options for Keycloak memberships on a resource. Requires Keycloak integration to be enabled on the offering.
23486
- */
23487
- export const marketplaceProviderResourcesSetKeycloakScopes = (options) => {
23488
- return (options.client ?? _heyApiClient).post({
23489
- security: [
23490
- {
23491
- name: 'Authorization',
23492
- type: 'apiKey'
23493
- },
23494
- {
23495
- scheme: 'bearer',
23496
- type: 'http'
23497
- },
23498
- {
23499
- scheme: 'bearer',
23500
- type: 'http'
23501
- }
23502
- ],
23503
- url: '/api/marketplace-provider-resources/{uuid}/set_keycloak_scopes/',
23504
- ...options,
23505
- headers: {
23506
- 'Content-Type': 'application/json',
23507
- ...options.headers
23508
- }
23509
- });
23510
- };
23511
24821
  /**
23512
24822
  * Set resource limits
23513
24823
  * 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.
@@ -23804,6 +25114,34 @@ export const marketplaceProviderResourcesUpdateOptionsDirect = (options) => {
23804
25114
  }
23805
25115
  });
23806
25116
  };
25117
+ /**
25118
+ * Update a user's role expiration
25119
+ * 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.
25120
+ */
25121
+ export const marketplaceProviderResourcesUpdateUser = (options) => {
25122
+ return (options.client ?? _heyApiClient).post({
25123
+ security: [
25124
+ {
25125
+ name: 'Authorization',
25126
+ type: 'apiKey'
25127
+ },
25128
+ {
25129
+ scheme: 'bearer',
25130
+ type: 'http'
25131
+ },
25132
+ {
25133
+ scheme: 'bearer',
25134
+ type: 'http'
25135
+ }
25136
+ ],
25137
+ url: '/api/marketplace-provider-resources/{uuid}/update_user/',
25138
+ ...options,
25139
+ headers: {
25140
+ 'Content-Type': 'application/json',
25141
+ ...options.headers
25142
+ }
25143
+ });
25144
+ };
23807
25145
  /**
23808
25146
  * Check service provider signature
23809
25147
  *
@@ -24207,11 +25545,7 @@ export const marketplaceResourceOfferingsList = (options) => {
24207
25545
  ...options
24208
25546
  });
24209
25547
  };
24210
- /**
24211
- * List resource users
24212
- * 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.
24213
- */
24214
- export const marketplaceResourceUsersList = (options) => {
25548
+ export const marketplaceResourceProjectsList = (options) => {
24215
25549
  return (options?.client ?? _heyApiClient).get({
24216
25550
  security: [
24217
25551
  {
@@ -24227,15 +25561,14 @@ export const marketplaceResourceUsersList = (options) => {
24227
25561
  type: 'http'
24228
25562
  }
24229
25563
  ],
24230
- url: '/api/marketplace-resource-users/',
25564
+ url: '/api/marketplace-resource-projects/',
24231
25565
  ...options
24232
25566
  });
24233
25567
  };
24234
25568
  /**
24235
- * List resource users
24236
25569
  * Get number of items in the collection matching the request parameters.
24237
25570
  */
24238
- export const marketplaceResourceUsersCount = (options) => {
25571
+ export const marketplaceResourceProjectsCount = (options) => {
24239
25572
  return (options?.client ?? _heyApiClient).head({
24240
25573
  security: [
24241
25574
  {
@@ -24251,15 +25584,127 @@ export const marketplaceResourceUsersCount = (options) => {
24251
25584
  type: 'http'
24252
25585
  }
24253
25586
  ],
24254
- url: '/api/marketplace-resource-users/',
25587
+ url: '/api/marketplace-resource-projects/',
25588
+ ...options
25589
+ });
25590
+ };
25591
+ export const marketplaceResourceProjectsCreate = (options) => {
25592
+ return (options.client ?? _heyApiClient).post({
25593
+ security: [
25594
+ {
25595
+ name: 'Authorization',
25596
+ type: 'apiKey'
25597
+ },
25598
+ {
25599
+ scheme: 'bearer',
25600
+ type: 'http'
25601
+ },
25602
+ {
25603
+ scheme: 'bearer',
25604
+ type: 'http'
25605
+ }
25606
+ ],
25607
+ url: '/api/marketplace-resource-projects/',
25608
+ ...options,
25609
+ headers: {
25610
+ 'Content-Type': 'application/json',
25611
+ ...options.headers
25612
+ }
25613
+ });
25614
+ };
25615
+ export const marketplaceResourceProjectsDestroy = (options) => {
25616
+ return (options.client ?? _heyApiClient).delete({
25617
+ security: [
25618
+ {
25619
+ name: 'Authorization',
25620
+ type: 'apiKey'
25621
+ },
25622
+ {
25623
+ scheme: 'bearer',
25624
+ type: 'http'
25625
+ },
25626
+ {
25627
+ scheme: 'bearer',
25628
+ type: 'http'
25629
+ }
25630
+ ],
25631
+ url: '/api/marketplace-resource-projects/{uuid}/',
24255
25632
  ...options
24256
25633
  });
24257
25634
  };
25635
+ export const marketplaceResourceProjectsRetrieve = (options) => {
25636
+ return (options.client ?? _heyApiClient).get({
25637
+ security: [
25638
+ {
25639
+ name: 'Authorization',
25640
+ type: 'apiKey'
25641
+ },
25642
+ {
25643
+ scheme: 'bearer',
25644
+ type: 'http'
25645
+ },
25646
+ {
25647
+ scheme: 'bearer',
25648
+ type: 'http'
25649
+ }
25650
+ ],
25651
+ url: '/api/marketplace-resource-projects/{uuid}/',
25652
+ ...options
25653
+ });
25654
+ };
25655
+ export const marketplaceResourceProjectsPartialUpdate = (options) => {
25656
+ return (options.client ?? _heyApiClient).patch({
25657
+ security: [
25658
+ {
25659
+ name: 'Authorization',
25660
+ type: 'apiKey'
25661
+ },
25662
+ {
25663
+ scheme: 'bearer',
25664
+ type: 'http'
25665
+ },
25666
+ {
25667
+ scheme: 'bearer',
25668
+ type: 'http'
25669
+ }
25670
+ ],
25671
+ url: '/api/marketplace-resource-projects/{uuid}/',
25672
+ ...options,
25673
+ headers: {
25674
+ 'Content-Type': 'application/json',
25675
+ ...options.headers
25676
+ }
25677
+ });
25678
+ };
25679
+ export const marketplaceResourceProjectsUpdate = (options) => {
25680
+ return (options.client ?? _heyApiClient).put({
25681
+ security: [
25682
+ {
25683
+ name: 'Authorization',
25684
+ type: 'apiKey'
25685
+ },
25686
+ {
25687
+ scheme: 'bearer',
25688
+ type: 'http'
25689
+ },
25690
+ {
25691
+ scheme: 'bearer',
25692
+ type: 'http'
25693
+ }
25694
+ ],
25695
+ url: '/api/marketplace-resource-projects/{uuid}/',
25696
+ ...options,
25697
+ headers: {
25698
+ 'Content-Type': 'application/json',
25699
+ ...options.headers
25700
+ }
25701
+ });
25702
+ };
24258
25703
  /**
24259
- * Link a user to a resource
24260
- * Creates a new association between a user and a resource with a specific role. The user must have permission to manage users for the resource (typically service provider staff or owners).
25704
+ * Grant a role to a user
25705
+ * Assigns a specific role to a user within the current scope. An optional expiration time for the role can be set.
24261
25706
  */
24262
- export const marketplaceResourceUsersCreate = (options) => {
25707
+ export const marketplaceResourceProjectsAddUser = (options) => {
24263
25708
  return (options.client ?? _heyApiClient).post({
24264
25709
  security: [
24265
25710
  {
@@ -24275,7 +25720,7 @@ export const marketplaceResourceUsersCreate = (options) => {
24275
25720
  type: 'http'
24276
25721
  }
24277
25722
  ],
24278
- url: '/api/marketplace-resource-users/',
25723
+ url: '/api/marketplace-resource-projects/{uuid}/add_user/',
24279
25724
  ...options,
24280
25725
  headers: {
24281
25726
  'Content-Type': 'application/json',
@@ -24284,11 +25729,11 @@ export const marketplaceResourceUsersCreate = (options) => {
24284
25729
  });
24285
25730
  };
24286
25731
  /**
24287
- * Unlink a user from a resource
24288
- * Removes the association between a user and a resource, effectively revoking their role on that resource. The user must have permission to manage users for the resource.
25732
+ * Revoke a role from a user
25733
+ * Removes a specific role from a user within the current scope. This effectively revokes their permissions associated with that role.
24289
25734
  */
24290
- export const marketplaceResourceUsersDestroy = (options) => {
24291
- return (options.client ?? _heyApiClient).delete({
25735
+ export const marketplaceResourceProjectsDeleteUser = (options) => {
25736
+ return (options.client ?? _heyApiClient).post({
24292
25737
  security: [
24293
25738
  {
24294
25739
  name: 'Authorization',
@@ -24303,15 +25748,19 @@ export const marketplaceResourceUsersDestroy = (options) => {
24303
25748
  type: 'http'
24304
25749
  }
24305
25750
  ],
24306
- url: '/api/marketplace-resource-users/{uuid}/',
24307
- ...options
25751
+ url: '/api/marketplace-resource-projects/{uuid}/delete_user/',
25752
+ ...options,
25753
+ headers: {
25754
+ 'Content-Type': 'application/json',
25755
+ ...options.headers
25756
+ }
24308
25757
  });
24309
25758
  };
24310
25759
  /**
24311
- * Retrieve a resource-user link
24312
- * Returns details of a specific link between a user and a resource, including their role.
25760
+ * List users and their roles in a scope
25761
+ * 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.
24313
25762
  */
24314
- export const marketplaceResourceUsersRetrieve = (options) => {
25763
+ export const marketplaceResourceProjectsListUsersList = (options) => {
24315
25764
  return (options.client ?? _heyApiClient).get({
24316
25765
  security: [
24317
25766
  {
@@ -24327,10 +25776,38 @@ export const marketplaceResourceUsersRetrieve = (options) => {
24327
25776
  type: 'http'
24328
25777
  }
24329
25778
  ],
24330
- url: '/api/marketplace-resource-users/{uuid}/',
25779
+ url: '/api/marketplace-resource-projects/{uuid}/list_users/',
24331
25780
  ...options
24332
25781
  });
24333
25782
  };
25783
+ /**
25784
+ * Update a user's role expiration
25785
+ * 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.
25786
+ */
25787
+ export const marketplaceResourceProjectsUpdateUser = (options) => {
25788
+ return (options.client ?? _heyApiClient).post({
25789
+ security: [
25790
+ {
25791
+ name: 'Authorization',
25792
+ type: 'apiKey'
25793
+ },
25794
+ {
25795
+ scheme: 'bearer',
25796
+ type: 'http'
25797
+ },
25798
+ {
25799
+ scheme: 'bearer',
25800
+ type: 'http'
25801
+ }
25802
+ ],
25803
+ url: '/api/marketplace-resource-projects/{uuid}/update_user/',
25804
+ ...options,
25805
+ headers: {
25806
+ 'Content-Type': 'application/json',
25807
+ ...options.headers
25808
+ }
25809
+ });
25810
+ };
24334
25811
  /**
24335
25812
  * List consumer resources
24336
25813
  * Returns a paginated list of resources accessible to the current user as a service consumer.
@@ -24459,6 +25936,62 @@ export const marketplaceResourcesUpdate = (options) => {
24459
25936
  }
24460
25937
  });
24461
25938
  };
25939
+ /**
25940
+ * Grant a role to a user
25941
+ * Assigns a specific role to a user within the current scope. An optional expiration time for the role can be set.
25942
+ */
25943
+ export const marketplaceResourcesAddUser = (options) => {
25944
+ return (options.client ?? _heyApiClient).post({
25945
+ security: [
25946
+ {
25947
+ name: 'Authorization',
25948
+ type: 'apiKey'
25949
+ },
25950
+ {
25951
+ scheme: 'bearer',
25952
+ type: 'http'
25953
+ },
25954
+ {
25955
+ scheme: 'bearer',
25956
+ type: 'http'
25957
+ }
25958
+ ],
25959
+ url: '/api/marketplace-resources/{uuid}/add_user/',
25960
+ ...options,
25961
+ headers: {
25962
+ 'Content-Type': 'application/json',
25963
+ ...options.headers
25964
+ }
25965
+ });
25966
+ };
25967
+ /**
25968
+ * Revoke a role from a user
25969
+ * Removes a specific role from a user within the current scope. This effectively revokes their permissions associated with that role.
25970
+ */
25971
+ export const marketplaceResourcesDeleteUser = (options) => {
25972
+ return (options.client ?? _heyApiClient).post({
25973
+ security: [
25974
+ {
25975
+ name: 'Authorization',
25976
+ type: 'apiKey'
25977
+ },
25978
+ {
25979
+ scheme: 'bearer',
25980
+ type: 'http'
25981
+ },
25982
+ {
25983
+ scheme: 'bearer',
25984
+ type: 'http'
25985
+ }
25986
+ ],
25987
+ url: '/api/marketplace-resources/{uuid}/delete_user/',
25988
+ ...options,
25989
+ headers: {
25990
+ 'Content-Type': 'application/json',
25991
+ ...options.headers
25992
+ }
25993
+ });
25994
+ };
24462
25995
  /**
24463
25996
  * Get resource details
24464
25997
  * Returns the detailed representation of the backend resource associated with the marketplace resource. The format of the response depends on the resource type.
@@ -24585,6 +26118,30 @@ export const marketplaceResourcesHistoryAtRetrieve = (options) => {
24585
26118
  ...options
24586
26119
  });
24587
26120
  };
26121
+ /**
26122
+ * List users and their roles in a scope
26123
+ * 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.
26124
+ */
26125
+ export const marketplaceResourcesListUsersList = (options) => {
26126
+ return (options.client ?? _heyApiClient).get({
26127
+ security: [
26128
+ {
26129
+ name: 'Authorization',
26130
+ type: 'apiKey'
26131
+ },
26132
+ {
26133
+ scheme: 'bearer',
26134
+ type: 'http'
26135
+ },
26136
+ {
26137
+ scheme: 'bearer',
26138
+ type: 'http'
26139
+ }
26140
+ ],
26141
+ url: '/api/marketplace-resources/{uuid}/list_users/',
26142
+ ...options
26143
+ });
26144
+ };
24588
26145
  /**
24589
26146
  * Move a resource to another project
24590
26147
  * Moves a resource and its associated data to a different project. Requires staff permissions.
@@ -25010,6 +26567,30 @@ export const marketplaceResourcesTeamList = (options) => {
25010
26567
  ...options
25011
26568
  });
25012
26569
  };
26570
+ /**
26571
+ * List team members of a resource
26572
+ * 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.
26573
+ */
26574
+ export const marketplaceResourcesTeamMembersList = (options) => {
26575
+ return (options.client ?? _heyApiClient).get({
26576
+ security: [
26577
+ {
26578
+ name: 'Authorization',
26579
+ type: 'apiKey'
26580
+ },
26581
+ {
26582
+ scheme: 'bearer',
26583
+ type: 'http'
26584
+ },
26585
+ {
26586
+ scheme: 'bearer',
26587
+ type: 'http'
26588
+ }
26589
+ ],
26590
+ url: '/api/marketplace-resources/{uuid}/team_members/',
26591
+ ...options
26592
+ });
26593
+ };
25013
26594
  /**
25014
26595
  * Terminate a resource
25015
26596
  * Creates a marketplace order to terminate the resource. This action is asynchronous and may require approval.
@@ -25118,6 +26699,34 @@ export const marketplaceResourcesUpdateOptions = (options) => {
25118
26699
  }
25119
26700
  });
25120
26701
  };
26702
+ /**
26703
+ * Update a user's role expiration
26704
+ * 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.
26705
+ */
26706
+ export const marketplaceResourcesUpdateUser = (options) => {
26707
+ return (options.client ?? _heyApiClient).post({
26708
+ security: [
26709
+ {
26710
+ name: 'Authorization',
26711
+ type: 'apiKey'
26712
+ },
26713
+ {
26714
+ scheme: 'bearer',
26715
+ type: 'http'
26716
+ },
26717
+ {
26718
+ scheme: 'bearer',
26719
+ type: 'http'
26720
+ }
26721
+ ],
26722
+ url: '/api/marketplace-resources/{uuid}/update_user/',
26723
+ ...options,
26724
+ headers: {
26725
+ 'Content-Type': 'application/json',
26726
+ ...options.headers
26727
+ }
26728
+ });
26729
+ };
25121
26730
  /**
25122
26731
  * Suggest a resource name
25123
26732
  * 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.
@@ -31612,488 +33221,6 @@ export const notificationMessagesEnable = (options) => {
31612
33221
  ...options
31613
33222
  });
31614
33223
  };
31615
- export const offeringKeycloakGroupsList = (options) => {
31616
- return (options?.client ?? _heyApiClient).get({
31617
- security: [
31618
- {
31619
- name: 'Authorization',
31620
- type: 'apiKey'
31621
- },
31622
- {
31623
- scheme: 'bearer',
31624
- type: 'http'
31625
- },
31626
- {
31627
- scheme: 'bearer',
31628
- type: 'http'
31629
- }
31630
- ],
31631
- url: '/api/offering-keycloak-groups/',
31632
- ...options
31633
- });
31634
- };
31635
- /**
31636
- * Get number of items in the collection matching the request parameters.
31637
- */
31638
- export const offeringKeycloakGroupsCount = (options) => {
31639
- return (options?.client ?? _heyApiClient).head({
31640
- security: [
31641
- {
31642
- name: 'Authorization',
31643
- type: 'apiKey'
31644
- },
31645
- {
31646
- scheme: 'bearer',
31647
- type: 'http'
31648
- },
31649
- {
31650
- scheme: 'bearer',
31651
- type: 'http'
31652
- }
31653
- ],
31654
- url: '/api/offering-keycloak-groups/',
31655
- ...options
31656
- });
31657
- };
31658
- export const offeringKeycloakGroupsDestroy = (options) => {
31659
- return (options.client ?? _heyApiClient).delete({
31660
- security: [
31661
- {
31662
- name: 'Authorization',
31663
- type: 'apiKey'
31664
- },
31665
- {
31666
- scheme: 'bearer',
31667
- type: 'http'
31668
- },
31669
- {
31670
- scheme: 'bearer',
31671
- type: 'http'
31672
- }
31673
- ],
31674
- url: '/api/offering-keycloak-groups/{uuid}/',
31675
- ...options
31676
- });
31677
- };
31678
- export const offeringKeycloakGroupsRetrieve = (options) => {
31679
- return (options.client ?? _heyApiClient).get({
31680
- security: [
31681
- {
31682
- name: 'Authorization',
31683
- type: 'apiKey'
31684
- },
31685
- {
31686
- scheme: 'bearer',
31687
- type: 'http'
31688
- },
31689
- {
31690
- scheme: 'bearer',
31691
- type: 'http'
31692
- }
31693
- ],
31694
- url: '/api/offering-keycloak-groups/{uuid}/',
31695
- ...options
31696
- });
31697
- };
31698
- /**
31699
- * Pull members from Keycloak for a group
31700
- */
31701
- export const offeringKeycloakGroupsPullMembers = (options) => {
31702
- return (options.client ?? _heyApiClient).post({
31703
- security: [
31704
- {
31705
- name: 'Authorization',
31706
- type: 'apiKey'
31707
- },
31708
- {
31709
- scheme: 'bearer',
31710
- type: 'http'
31711
- },
31712
- {
31713
- scheme: 'bearer',
31714
- type: 'http'
31715
- }
31716
- ],
31717
- url: '/api/offering-keycloak-groups/{uuid}/pull_members/',
31718
- ...options
31719
- });
31720
- };
31721
- /**
31722
- * Set or unlink the backend_id (remote Keycloak group ID) for a local group
31723
- */
31724
- export const offeringKeycloakGroupsSetBackendId = (options) => {
31725
- return (options.client ?? _heyApiClient).post({
31726
- security: [
31727
- {
31728
- name: 'Authorization',
31729
- type: 'apiKey'
31730
- },
31731
- {
31732
- scheme: 'bearer',
31733
- type: 'http'
31734
- },
31735
- {
31736
- scheme: 'bearer',
31737
- type: 'http'
31738
- }
31739
- ],
31740
- url: '/api/offering-keycloak-groups/{uuid}/set_backend_id/',
31741
- ...options,
31742
- headers: {
31743
- 'Content-Type': 'application/json',
31744
- ...options.headers
31745
- }
31746
- });
31747
- };
31748
- /**
31749
- * Import a remote Keycloak group as a local OfferingKeycloakGroup
31750
- */
31751
- export const offeringKeycloakGroupsImportRemote = (options) => {
31752
- return (options.client ?? _heyApiClient).post({
31753
- security: [
31754
- {
31755
- name: 'Authorization',
31756
- type: 'apiKey'
31757
- },
31758
- {
31759
- scheme: 'bearer',
31760
- type: 'http'
31761
- },
31762
- {
31763
- scheme: 'bearer',
31764
- type: 'http'
31765
- }
31766
- ],
31767
- url: '/api/offering-keycloak-groups/import_remote/',
31768
- ...options,
31769
- headers: {
31770
- 'Content-Type': 'application/json',
31771
- ...options.headers
31772
- }
31773
- });
31774
- };
31775
- /**
31776
- * List members of a remote Keycloak group
31777
- */
31778
- export const offeringKeycloakGroupsRemoteGroupMembersList = (options) => {
31779
- return (options.client ?? _heyApiClient).get({
31780
- security: [
31781
- {
31782
- name: 'Authorization',
31783
- type: 'apiKey'
31784
- },
31785
- {
31786
- scheme: 'bearer',
31787
- type: 'http'
31788
- },
31789
- {
31790
- scheme: 'bearer',
31791
- type: 'http'
31792
- }
31793
- ],
31794
- url: '/api/offering-keycloak-groups/remote_group_members/',
31795
- ...options
31796
- });
31797
- };
31798
- /**
31799
- * List members of a remote Keycloak group
31800
- * Get number of items in the collection matching the request parameters.
31801
- */
31802
- export const offeringKeycloakGroupsRemoteGroupMembersCount = (options) => {
31803
- return (options.client ?? _heyApiClient).head({
31804
- security: [
31805
- {
31806
- name: 'Authorization',
31807
- type: 'apiKey'
31808
- },
31809
- {
31810
- scheme: 'bearer',
31811
- type: 'http'
31812
- },
31813
- {
31814
- scheme: 'bearer',
31815
- type: 'http'
31816
- }
31817
- ],
31818
- url: '/api/offering-keycloak-groups/remote_group_members/',
31819
- ...options
31820
- });
31821
- };
31822
- /**
31823
- * List remote Keycloak groups for an offering
31824
- */
31825
- export const offeringKeycloakGroupsRemoteGroupsList = (options) => {
31826
- return (options.client ?? _heyApiClient).get({
31827
- security: [
31828
- {
31829
- name: 'Authorization',
31830
- type: 'apiKey'
31831
- },
31832
- {
31833
- scheme: 'bearer',
31834
- type: 'http'
31835
- },
31836
- {
31837
- scheme: 'bearer',
31838
- type: 'http'
31839
- }
31840
- ],
31841
- url: '/api/offering-keycloak-groups/remote_groups/',
31842
- ...options
31843
- });
31844
- };
31845
- /**
31846
- * List remote Keycloak groups for an offering
31847
- * Get number of items in the collection matching the request parameters.
31848
- */
31849
- export const offeringKeycloakGroupsRemoteGroupsCount = (options) => {
31850
- return (options.client ?? _heyApiClient).head({
31851
- security: [
31852
- {
31853
- name: 'Authorization',
31854
- type: 'apiKey'
31855
- },
31856
- {
31857
- scheme: 'bearer',
31858
- type: 'http'
31859
- },
31860
- {
31861
- scheme: 'bearer',
31862
- type: 'http'
31863
- }
31864
- ],
31865
- url: '/api/offering-keycloak-groups/remote_groups/',
31866
- ...options
31867
- });
31868
- };
31869
- /**
31870
- * Search for users in remote Keycloak instance
31871
- */
31872
- export const offeringKeycloakGroupsSearchRemoteUsersList = (options) => {
31873
- return (options.client ?? _heyApiClient).get({
31874
- security: [
31875
- {
31876
- name: 'Authorization',
31877
- type: 'apiKey'
31878
- },
31879
- {
31880
- scheme: 'bearer',
31881
- type: 'http'
31882
- },
31883
- {
31884
- scheme: 'bearer',
31885
- type: 'http'
31886
- }
31887
- ],
31888
- url: '/api/offering-keycloak-groups/search_remote_users/',
31889
- ...options
31890
- });
31891
- };
31892
- /**
31893
- * Search for users in remote Keycloak instance
31894
- * Get number of items in the collection matching the request parameters.
31895
- */
31896
- export const offeringKeycloakGroupsSearchRemoteUsersCount = (options) => {
31897
- return (options.client ?? _heyApiClient).head({
31898
- security: [
31899
- {
31900
- name: 'Authorization',
31901
- type: 'apiKey'
31902
- },
31903
- {
31904
- scheme: 'bearer',
31905
- type: 'http'
31906
- },
31907
- {
31908
- scheme: 'bearer',
31909
- type: 'http'
31910
- }
31911
- ],
31912
- url: '/api/offering-keycloak-groups/search_remote_users/',
31913
- ...options
31914
- });
31915
- };
31916
- /**
31917
- * Compare local and remote Keycloak group state
31918
- */
31919
- export const offeringKeycloakGroupsSyncStatusRetrieve = (options) => {
31920
- return (options.client ?? _heyApiClient).get({
31921
- security: [
31922
- {
31923
- name: 'Authorization',
31924
- type: 'apiKey'
31925
- },
31926
- {
31927
- scheme: 'bearer',
31928
- type: 'http'
31929
- },
31930
- {
31931
- scheme: 'bearer',
31932
- type: 'http'
31933
- }
31934
- ],
31935
- url: '/api/offering-keycloak-groups/sync_status/',
31936
- ...options
31937
- });
31938
- };
31939
- /**
31940
- * Compare local and remote Keycloak group state
31941
- * Get number of items in the collection matching the request parameters.
31942
- */
31943
- export const offeringKeycloakGroupsSyncStatusCount = (options) => {
31944
- return (options.client ?? _heyApiClient).head({
31945
- security: [
31946
- {
31947
- name: 'Authorization',
31948
- type: 'apiKey'
31949
- },
31950
- {
31951
- scheme: 'bearer',
31952
- type: 'http'
31953
- },
31954
- {
31955
- scheme: 'bearer',
31956
- type: 'http'
31957
- }
31958
- ],
31959
- url: '/api/offering-keycloak-groups/sync_status/',
31960
- ...options
31961
- });
31962
- };
31963
- /**
31964
- * Test Keycloak connection for an offering
31965
- */
31966
- export const offeringKeycloakGroupsTestConnection = (options) => {
31967
- return (options.client ?? _heyApiClient).post({
31968
- security: [
31969
- {
31970
- name: 'Authorization',
31971
- type: 'apiKey'
31972
- },
31973
- {
31974
- scheme: 'bearer',
31975
- type: 'http'
31976
- },
31977
- {
31978
- scheme: 'bearer',
31979
- type: 'http'
31980
- }
31981
- ],
31982
- url: '/api/offering-keycloak-groups/test_connection/',
31983
- ...options,
31984
- headers: {
31985
- 'Content-Type': 'application/json',
31986
- ...options.headers
31987
- }
31988
- });
31989
- };
31990
- export const offeringKeycloakMembershipsList = (options) => {
31991
- return (options?.client ?? _heyApiClient).get({
31992
- security: [
31993
- {
31994
- name: 'Authorization',
31995
- type: 'apiKey'
31996
- },
31997
- {
31998
- scheme: 'bearer',
31999
- type: 'http'
32000
- },
32001
- {
32002
- scheme: 'bearer',
32003
- type: 'http'
32004
- }
32005
- ],
32006
- url: '/api/offering-keycloak-memberships/',
32007
- ...options
32008
- });
32009
- };
32010
- /**
32011
- * Get number of items in the collection matching the request parameters.
32012
- */
32013
- export const offeringKeycloakMembershipsCount = (options) => {
32014
- return (options?.client ?? _heyApiClient).head({
32015
- security: [
32016
- {
32017
- name: 'Authorization',
32018
- type: 'apiKey'
32019
- },
32020
- {
32021
- scheme: 'bearer',
32022
- type: 'http'
32023
- },
32024
- {
32025
- scheme: 'bearer',
32026
- type: 'http'
32027
- }
32028
- ],
32029
- url: '/api/offering-keycloak-memberships/',
32030
- ...options
32031
- });
32032
- };
32033
- export const offeringKeycloakMembershipsCreate = (options) => {
32034
- return (options.client ?? _heyApiClient).post({
32035
- security: [
32036
- {
32037
- name: 'Authorization',
32038
- type: 'apiKey'
32039
- },
32040
- {
32041
- scheme: 'bearer',
32042
- type: 'http'
32043
- },
32044
- {
32045
- scheme: 'bearer',
32046
- type: 'http'
32047
- }
32048
- ],
32049
- url: '/api/offering-keycloak-memberships/',
32050
- ...options,
32051
- headers: {
32052
- 'Content-Type': 'application/json',
32053
- ...options.headers
32054
- }
32055
- });
32056
- };
32057
- export const offeringKeycloakMembershipsDestroy = (options) => {
32058
- return (options.client ?? _heyApiClient).delete({
32059
- security: [
32060
- {
32061
- name: 'Authorization',
32062
- type: 'apiKey'
32063
- },
32064
- {
32065
- scheme: 'bearer',
32066
- type: 'http'
32067
- },
32068
- {
32069
- scheme: 'bearer',
32070
- type: 'http'
32071
- }
32072
- ],
32073
- url: '/api/offering-keycloak-memberships/{uuid}/',
32074
- ...options
32075
- });
32076
- };
32077
- export const offeringKeycloakMembershipsRetrieve = (options) => {
32078
- return (options.client ?? _heyApiClient).get({
32079
- security: [
32080
- {
32081
- name: 'Authorization',
32082
- type: 'apiKey'
32083
- },
32084
- {
32085
- scheme: 'bearer',
32086
- type: 'http'
32087
- },
32088
- {
32089
- scheme: 'bearer',
32090
- type: 'http'
32091
- }
32092
- ],
32093
- url: '/api/offering-keycloak-memberships/{uuid}/',
32094
- ...options
32095
- });
32096
- };
32097
33224
  export const onboardingJustificationsList = (options) => {
32098
33225
  return (options?.client ?? _heyApiClient).get({
32099
33226
  security: [
@@ -32955,6 +34082,69 @@ export const onboardingSupportedCountriesRetrieve = (options) => {
32955
34082
  ...options
32956
34083
  });
32957
34084
  };
34085
+ export const openportalAccountingSummaryList = (options) => {
34086
+ return (options?.client ?? _heyApiClient).get({
34087
+ security: [
34088
+ {
34089
+ name: 'Authorization',
34090
+ type: 'apiKey'
34091
+ },
34092
+ {
34093
+ scheme: 'bearer',
34094
+ type: 'http'
34095
+ },
34096
+ {
34097
+ scheme: 'bearer',
34098
+ type: 'http'
34099
+ }
34100
+ ],
34101
+ url: '/api/openportal-accounting-summary/',
34102
+ ...options
34103
+ });
34104
+ };
34105
+ /**
34106
+ * Get number of items in the collection matching the request parameters.
34107
+ */
34108
+ export const openportalAccountingSummaryCount = (options) => {
34109
+ return (options?.client ?? _heyApiClient).head({
34110
+ security: [
34111
+ {
34112
+ name: 'Authorization',
34113
+ type: 'apiKey'
34114
+ },
34115
+ {
34116
+ scheme: 'bearer',
34117
+ type: 'http'
34118
+ },
34119
+ {
34120
+ scheme: 'bearer',
34121
+ type: 'http'
34122
+ }
34123
+ ],
34124
+ url: '/api/openportal-accounting-summary/',
34125
+ ...options
34126
+ });
34127
+ };
34128
+ export const openportalAccountingSummaryRetrieve = (options) => {
34129
+ return (options.client ?? _heyApiClient).get({
34130
+ security: [
34131
+ {
34132
+ name: 'Authorization',
34133
+ type: 'apiKey'
34134
+ },
34135
+ {
34136
+ scheme: 'bearer',
34137
+ type: 'http'
34138
+ },
34139
+ {
34140
+ scheme: 'bearer',
34141
+ type: 'http'
34142
+ }
34143
+ ],
34144
+ url: '/api/openportal-accounting-summary/{uuid}/',
34145
+ ...options
34146
+ });
34147
+ };
32958
34148
  export const openportalAllocationUserUsageList = (options) => {
32959
34149
  return (options?.client ?? _heyApiClient).get({
32960
34150
  security: [
@@ -33581,6 +34771,69 @@ export const openportalManagedProjectsReject = (options) => {
33581
34771
  }
33582
34772
  });
33583
34773
  };
34774
+ export const openportalProjectStorageReportsList = (options) => {
34775
+ return (options?.client ?? _heyApiClient).get({
34776
+ security: [
34777
+ {
34778
+ name: 'Authorization',
34779
+ type: 'apiKey'
34780
+ },
34781
+ {
34782
+ scheme: 'bearer',
34783
+ type: 'http'
34784
+ },
34785
+ {
34786
+ scheme: 'bearer',
34787
+ type: 'http'
34788
+ }
34789
+ ],
34790
+ url: '/api/openportal-project-storage-reports/',
34791
+ ...options
34792
+ });
34793
+ };
34794
+ /**
34795
+ * Get number of items in the collection matching the request parameters.
34796
+ */
34797
+ export const openportalProjectStorageReportsCount = (options) => {
34798
+ return (options?.client ?? _heyApiClient).head({
34799
+ security: [
34800
+ {
34801
+ name: 'Authorization',
34802
+ type: 'apiKey'
34803
+ },
34804
+ {
34805
+ scheme: 'bearer',
34806
+ type: 'http'
34807
+ },
34808
+ {
34809
+ scheme: 'bearer',
34810
+ type: 'http'
34811
+ }
34812
+ ],
34813
+ url: '/api/openportal-project-storage-reports/',
34814
+ ...options
34815
+ });
34816
+ };
34817
+ export const openportalProjectStorageReportsRetrieve = (options) => {
34818
+ return (options.client ?? _heyApiClient).get({
34819
+ security: [
34820
+ {
34821
+ name: 'Authorization',
34822
+ type: 'apiKey'
34823
+ },
34824
+ {
34825
+ scheme: 'bearer',
34826
+ type: 'http'
34827
+ },
34828
+ {
34829
+ scheme: 'bearer',
34830
+ type: 'http'
34831
+ }
34832
+ ],
34833
+ url: '/api/openportal-project-storage-reports/{id}/',
34834
+ ...options
34835
+ });
34836
+ };
33584
34837
  export const openportalProjectTemplateList = (options) => {
33585
34838
  return (options?.client ?? _heyApiClient).get({
33586
34839
  security: [
@@ -33768,6 +35021,69 @@ export const openportalProjectTemplateDeleteDestroy = (options) => {
33768
35021
  ...options
33769
35022
  });
33770
35023
  };
35024
+ export const openportalProjectUsageReportsList = (options) => {
35025
+ return (options?.client ?? _heyApiClient).get({
35026
+ security: [
35027
+ {
35028
+ name: 'Authorization',
35029
+ type: 'apiKey'
35030
+ },
35031
+ {
35032
+ scheme: 'bearer',
35033
+ type: 'http'
35034
+ },
35035
+ {
35036
+ scheme: 'bearer',
35037
+ type: 'http'
35038
+ }
35039
+ ],
35040
+ url: '/api/openportal-project-usage-reports/',
35041
+ ...options
35042
+ });
35043
+ };
35044
+ /**
35045
+ * Get number of items in the collection matching the request parameters.
35046
+ */
35047
+ export const openportalProjectUsageReportsCount = (options) => {
35048
+ return (options?.client ?? _heyApiClient).head({
35049
+ security: [
35050
+ {
35051
+ name: 'Authorization',
35052
+ type: 'apiKey'
35053
+ },
35054
+ {
35055
+ scheme: 'bearer',
35056
+ type: 'http'
35057
+ },
35058
+ {
35059
+ scheme: 'bearer',
35060
+ type: 'http'
35061
+ }
35062
+ ],
35063
+ url: '/api/openportal-project-usage-reports/',
35064
+ ...options
35065
+ });
35066
+ };
35067
+ export const openportalProjectUsageReportsRetrieve = (options) => {
35068
+ return (options.client ?? _heyApiClient).get({
35069
+ security: [
35070
+ {
35071
+ name: 'Authorization',
35072
+ type: 'apiKey'
35073
+ },
35074
+ {
35075
+ scheme: 'bearer',
35076
+ type: 'http'
35077
+ },
35078
+ {
35079
+ scheme: 'bearer',
35080
+ type: 'http'
35081
+ }
35082
+ ],
35083
+ url: '/api/openportal-project-usage-reports/{id}/',
35084
+ ...options
35085
+ });
35086
+ };
33771
35087
  export const openportalProjectinfoList = (options) => {
33772
35088
  return (options?.client ?? _heyApiClient).get({
33773
35089
  security: [
@@ -34728,6 +36044,34 @@ export const openportalUnmanagedProjectsSubmitAnswers = (options) => {
34728
36044
  }
34729
36045
  });
34730
36046
  };
36047
+ /**
36048
+ * Update affiliated organizations for a project
36049
+ * Assigns a project to one or more affiliated organizations. Replaces the current set.
36050
+ */
36051
+ export const openportalUnmanagedProjectsUpdateAffiliatedOrganizations = (options) => {
36052
+ return (options.client ?? _heyApiClient).post({
36053
+ security: [
36054
+ {
36055
+ name: 'Authorization',
36056
+ type: 'apiKey'
36057
+ },
36058
+ {
36059
+ scheme: 'bearer',
36060
+ type: 'http'
36061
+ },
36062
+ {
36063
+ scheme: 'bearer',
36064
+ type: 'http'
36065
+ }
36066
+ ],
36067
+ url: '/api/openportal-unmanaged-projects/{uuid}/update_affiliated_organizations/',
36068
+ ...options,
36069
+ headers: {
36070
+ 'Content-Type': 'application/json',
36071
+ ...options.headers
36072
+ }
36073
+ });
36074
+ };
34731
36075
  /**
34732
36076
  * Update a user's role expiration
34733
36077
  * 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.
@@ -35024,6 +36368,95 @@ export const openportalUserinfoMeCount = (options) => {
35024
36368
  ...options
35025
36369
  });
35026
36370
  };
36371
+ export const openportalAccessForEmailList = (options) => {
36372
+ return (options.client ?? _heyApiClient).get({
36373
+ security: [
36374
+ {
36375
+ name: 'Authorization',
36376
+ type: 'apiKey'
36377
+ },
36378
+ {
36379
+ scheme: 'bearer',
36380
+ type: 'http'
36381
+ },
36382
+ {
36383
+ scheme: 'bearer',
36384
+ type: 'http'
36385
+ }
36386
+ ],
36387
+ url: '/api/openportal/access_for_email/',
36388
+ ...options
36389
+ });
36390
+ };
36391
+ /**
36392
+ * 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.
36393
+ */
36394
+ export const openportalOfferingMappingRetrieve = (options) => {
36395
+ return (options?.client ?? _heyApiClient).get({
36396
+ security: [
36397
+ {
36398
+ name: 'Authorization',
36399
+ type: 'apiKey'
36400
+ },
36401
+ {
36402
+ scheme: 'bearer',
36403
+ type: 'http'
36404
+ },
36405
+ {
36406
+ scheme: 'bearer',
36407
+ type: 'http'
36408
+ }
36409
+ ],
36410
+ url: '/api/openportal/offering_mapping/',
36411
+ ...options
36412
+ });
36413
+ };
36414
+ /**
36415
+ * 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.
36416
+ */
36417
+ export const openportalProjectMappingRetrieve = (options) => {
36418
+ return (options?.client ?? _heyApiClient).get({
36419
+ security: [
36420
+ {
36421
+ name: 'Authorization',
36422
+ type: 'apiKey'
36423
+ },
36424
+ {
36425
+ scheme: 'bearer',
36426
+ type: 'http'
36427
+ },
36428
+ {
36429
+ scheme: 'bearer',
36430
+ type: 'http'
36431
+ }
36432
+ ],
36433
+ url: '/api/openportal/project_mapping/',
36434
+ ...options
36435
+ });
36436
+ };
36437
+ /**
36438
+ * 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.
36439
+ */
36440
+ export const openportalUserMappingRetrieve = (options) => {
36441
+ return (options?.client ?? _heyApiClient).get({
36442
+ security: [
36443
+ {
36444
+ name: 'Authorization',
36445
+ type: 'apiKey'
36446
+ },
36447
+ {
36448
+ scheme: 'bearer',
36449
+ type: 'http'
36450
+ },
36451
+ {
36452
+ scheme: 'bearer',
36453
+ type: 'http'
36454
+ }
36455
+ ],
36456
+ url: '/api/openportal/user_mapping/',
36457
+ ...options
36458
+ });
36459
+ };
35027
36460
  /**
35028
36461
  * List backups
35029
36462
  * Get a list of instance backups.
@@ -35980,6 +37413,228 @@ export const openstackHealthMonitorsPull = (options) => {
35980
37413
  ...options
35981
37414
  });
35982
37415
  };
37416
+ export const openstackHypervisorInventoriesList = (options) => {
37417
+ return (options?.client ?? _heyApiClient).get({
37418
+ security: [
37419
+ {
37420
+ name: 'Authorization',
37421
+ type: 'apiKey'
37422
+ },
37423
+ {
37424
+ scheme: 'bearer',
37425
+ type: 'http'
37426
+ },
37427
+ {
37428
+ scheme: 'bearer',
37429
+ type: 'http'
37430
+ }
37431
+ ],
37432
+ url: '/api/openstack-hypervisor-inventories/',
37433
+ ...options
37434
+ });
37435
+ };
37436
+ /**
37437
+ * Get number of items in the collection matching the request parameters.
37438
+ */
37439
+ export const openstackHypervisorInventoriesCount = (options) => {
37440
+ return (options?.client ?? _heyApiClient).head({
37441
+ security: [
37442
+ {
37443
+ name: 'Authorization',
37444
+ type: 'apiKey'
37445
+ },
37446
+ {
37447
+ scheme: 'bearer',
37448
+ type: 'http'
37449
+ },
37450
+ {
37451
+ scheme: 'bearer',
37452
+ type: 'http'
37453
+ }
37454
+ ],
37455
+ url: '/api/openstack-hypervisor-inventories/',
37456
+ ...options
37457
+ });
37458
+ };
37459
+ export const openstackHypervisorInventoriesRetrieve = (options) => {
37460
+ return (options.client ?? _heyApiClient).get({
37461
+ security: [
37462
+ {
37463
+ name: 'Authorization',
37464
+ type: 'apiKey'
37465
+ },
37466
+ {
37467
+ scheme: 'bearer',
37468
+ type: 'http'
37469
+ },
37470
+ {
37471
+ scheme: 'bearer',
37472
+ type: 'http'
37473
+ }
37474
+ ],
37475
+ url: '/api/openstack-hypervisor-inventories/{uuid}/',
37476
+ ...options
37477
+ });
37478
+ };
37479
+ export const openstackHypervisorsList = (options) => {
37480
+ return (options?.client ?? _heyApiClient).get({
37481
+ security: [
37482
+ {
37483
+ name: 'Authorization',
37484
+ type: 'apiKey'
37485
+ },
37486
+ {
37487
+ scheme: 'bearer',
37488
+ type: 'http'
37489
+ },
37490
+ {
37491
+ scheme: 'bearer',
37492
+ type: 'http'
37493
+ }
37494
+ ],
37495
+ url: '/api/openstack-hypervisors/',
37496
+ ...options
37497
+ });
37498
+ };
37499
+ /**
37500
+ * Get number of items in the collection matching the request parameters.
37501
+ */
37502
+ export const openstackHypervisorsCount = (options) => {
37503
+ return (options?.client ?? _heyApiClient).head({
37504
+ security: [
37505
+ {
37506
+ name: 'Authorization',
37507
+ type: 'apiKey'
37508
+ },
37509
+ {
37510
+ scheme: 'bearer',
37511
+ type: 'http'
37512
+ },
37513
+ {
37514
+ scheme: 'bearer',
37515
+ type: 'http'
37516
+ }
37517
+ ],
37518
+ url: '/api/openstack-hypervisors/',
37519
+ ...options
37520
+ });
37521
+ };
37522
+ export const openstackHypervisorsRetrieve = (options) => {
37523
+ return (options.client ?? _heyApiClient).get({
37524
+ security: [
37525
+ {
37526
+ name: 'Authorization',
37527
+ type: 'apiKey'
37528
+ },
37529
+ {
37530
+ scheme: 'bearer',
37531
+ type: 'http'
37532
+ },
37533
+ {
37534
+ scheme: 'bearer',
37535
+ type: 'http'
37536
+ }
37537
+ ],
37538
+ url: '/api/openstack-hypervisors/{uuid}/',
37539
+ ...options
37540
+ });
37541
+ };
37542
+ /**
37543
+ * Pre-flight allocation candidates
37544
+ * 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.
37545
+ */
37546
+ export const openstackHypervisorsAllocationCandidatesRetrieve = (options) => {
37547
+ return (options.client ?? _heyApiClient).get({
37548
+ security: [
37549
+ {
37550
+ name: 'Authorization',
37551
+ type: 'apiKey'
37552
+ },
37553
+ {
37554
+ scheme: 'bearer',
37555
+ type: 'http'
37556
+ },
37557
+ {
37558
+ scheme: 'bearer',
37559
+ type: 'http'
37560
+ }
37561
+ ],
37562
+ url: '/api/openstack-hypervisors/allocation_candidates/',
37563
+ ...options
37564
+ });
37565
+ };
37566
+ /**
37567
+ * Pre-flight allocation candidates
37568
+ * Get number of items in the collection matching the request parameters.
37569
+ */
37570
+ export const openstackHypervisorsAllocationCandidatesCount = (options) => {
37571
+ return (options.client ?? _heyApiClient).head({
37572
+ security: [
37573
+ {
37574
+ name: 'Authorization',
37575
+ type: 'apiKey'
37576
+ },
37577
+ {
37578
+ scheme: 'bearer',
37579
+ type: 'http'
37580
+ },
37581
+ {
37582
+ scheme: 'bearer',
37583
+ type: 'http'
37584
+ }
37585
+ ],
37586
+ url: '/api/openstack-hypervisors/allocation_candidates/',
37587
+ ...options
37588
+ });
37589
+ };
37590
+ /**
37591
+ * Get hypervisor summary statistics
37592
+ * Return aggregated vCPU, RAM and disk totals across all hypervisors matching the current filter (e.g. settings_uuid).
37593
+ */
37594
+ export const openstackHypervisorsSummaryRetrieve = (options) => {
37595
+ return (options.client ?? _heyApiClient).get({
37596
+ security: [
37597
+ {
37598
+ name: 'Authorization',
37599
+ type: 'apiKey'
37600
+ },
37601
+ {
37602
+ scheme: 'bearer',
37603
+ type: 'http'
37604
+ },
37605
+ {
37606
+ scheme: 'bearer',
37607
+ type: 'http'
37608
+ }
37609
+ ],
37610
+ url: '/api/openstack-hypervisors/summary/',
37611
+ ...options
37612
+ });
37613
+ };
37614
+ /**
37615
+ * Get hypervisor summary statistics
37616
+ * Get number of items in the collection matching the request parameters.
37617
+ */
37618
+ export const openstackHypervisorsSummaryCount = (options) => {
37619
+ return (options.client ?? _heyApiClient).head({
37620
+ security: [
37621
+ {
37622
+ name: 'Authorization',
37623
+ type: 'apiKey'
37624
+ },
37625
+ {
37626
+ scheme: 'bearer',
37627
+ type: 'http'
37628
+ },
37629
+ {
37630
+ scheme: 'bearer',
37631
+ type: 'http'
37632
+ }
37633
+ ],
37634
+ url: '/api/openstack-hypervisors/summary/',
37635
+ ...options
37636
+ });
37637
+ };
35983
37638
  /**
35984
37639
  * List images
35985
37640
  * Get a list of available VM instance images.
@@ -36428,6 +38083,30 @@ export const openstackInstancesFloatingIpsList = (options) => {
36428
38083
  ...options
36429
38084
  });
36430
38085
  };
38086
+ /**
38087
+ * Get Placement allocations for the instance
38088
+ * 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).
38089
+ */
38090
+ export const openstackInstancesPlacementAllocationsList = (options) => {
38091
+ return (options.client ?? _heyApiClient).get({
38092
+ security: [
38093
+ {
38094
+ name: 'Authorization',
38095
+ type: 'apiKey'
38096
+ },
38097
+ {
38098
+ scheme: 'bearer',
38099
+ type: 'http'
38100
+ },
38101
+ {
38102
+ scheme: 'bearer',
38103
+ type: 'http'
38104
+ }
38105
+ ],
38106
+ url: '/api/openstack-instances/{uuid}/placement_allocations/',
38107
+ ...options
38108
+ });
38109
+ };
36431
38110
  /**
36432
38111
  * List instance ports
36433
38112
  * Get a list of instance ports
@@ -36476,6 +38155,34 @@ export const openstackInstancesPull = (options) => {
36476
38155
  ...options
36477
38156
  });
36478
38157
  };
38158
+ /**
38159
+ * Rescue instance
38160
+ * 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.
38161
+ */
38162
+ export const openstackInstancesRescue = (options) => {
38163
+ return (options.client ?? _heyApiClient).post({
38164
+ security: [
38165
+ {
38166
+ name: 'Authorization',
38167
+ type: 'apiKey'
38168
+ },
38169
+ {
38170
+ scheme: 'bearer',
38171
+ type: 'http'
38172
+ },
38173
+ {
38174
+ scheme: 'bearer',
38175
+ type: 'http'
38176
+ }
38177
+ ],
38178
+ url: '/api/openstack-instances/{uuid}/rescue/',
38179
+ ...options,
38180
+ headers: {
38181
+ 'Content-Type': 'application/json',
38182
+ ...options.headers
38183
+ }
38184
+ });
38185
+ };
36479
38186
  /**
36480
38187
  * Restart instance
36481
38188
  * Restart the instance
@@ -36626,6 +38333,30 @@ export const openstackInstancesUnlink = (options) => {
36626
38333
  ...options
36627
38334
  });
36628
38335
  };
38336
+ /**
38337
+ * Unrescue instance
38338
+ * Restore the instance from rescue mode.
38339
+ */
38340
+ export const openstackInstancesUnrescue = (options) => {
38341
+ return (options.client ?? _heyApiClient).post({
38342
+ security: [
38343
+ {
38344
+ name: 'Authorization',
38345
+ type: 'apiKey'
38346
+ },
38347
+ {
38348
+ scheme: 'bearer',
38349
+ type: 'http'
38350
+ },
38351
+ {
38352
+ scheme: 'bearer',
38353
+ type: 'http'
38354
+ }
38355
+ ],
38356
+ url: '/api/openstack-instances/{uuid}/unrescue/',
38357
+ ...options
38358
+ });
38359
+ };
36629
38360
  /**
36630
38361
  * Update instance allowed address pairs
36631
38362
  * Update allowed address pairs of the instance
@@ -39046,6 +40777,54 @@ export const openstackRoutersAddRouterInterface = (options) => {
39046
40777
  }
39047
40778
  });
39048
40779
  };
40780
+ /**
40781
+ * List available external networks
40782
+ * Returns a merged list of external networks available for this router's tenant, from both global external networks and RBAC-exposed networks.
40783
+ */
40784
+ export const openstackRoutersAvailableExternalNetworksList = (options) => {
40785
+ return (options.client ?? _heyApiClient).get({
40786
+ security: [
40787
+ {
40788
+ name: 'Authorization',
40789
+ type: 'apiKey'
40790
+ },
40791
+ {
40792
+ scheme: 'bearer',
40793
+ type: 'http'
40794
+ },
40795
+ {
40796
+ scheme: 'bearer',
40797
+ type: 'http'
40798
+ }
40799
+ ],
40800
+ url: '/api/openstack-routers/{uuid}/available_external_networks/',
40801
+ ...options
40802
+ });
40803
+ };
40804
+ /**
40805
+ * Remove external gateway
40806
+ * Remove the external gateway from this router.
40807
+ */
40808
+ export const openstackRoutersRemoveExternalGateway = (options) => {
40809
+ return (options.client ?? _heyApiClient).post({
40810
+ security: [
40811
+ {
40812
+ name: 'Authorization',
40813
+ type: 'apiKey'
40814
+ },
40815
+ {
40816
+ scheme: 'bearer',
40817
+ type: 'http'
40818
+ },
40819
+ {
40820
+ scheme: 'bearer',
40821
+ type: 'http'
40822
+ }
40823
+ ],
40824
+ url: '/api/openstack-routers/{uuid}/remove_external_gateway/',
40825
+ ...options
40826
+ });
40827
+ };
39049
40828
  /**
39050
40829
  * Remove router interface
39051
40830
  * Remove interface from router. Either subnet or port must be provided.
@@ -39102,6 +40881,34 @@ export const openstackRoutersSetErred = (options) => {
39102
40881
  }
39103
40882
  });
39104
40883
  };
40884
+ /**
40885
+ * Set external gateway
40886
+ * Set an external network as the gateway for this router. Advanced options (SNAT control, fixed IPs) require additional permissions.
40887
+ */
40888
+ export const openstackRoutersSetExternalGateway = (options) => {
40889
+ return (options.client ?? _heyApiClient).post({
40890
+ security: [
40891
+ {
40892
+ name: 'Authorization',
40893
+ type: 'apiKey'
40894
+ },
40895
+ {
40896
+ scheme: 'bearer',
40897
+ type: 'http'
40898
+ },
40899
+ {
40900
+ scheme: 'bearer',
40901
+ type: 'http'
40902
+ }
40903
+ ],
40904
+ url: '/api/openstack-routers/{uuid}/set_external_gateway/',
40905
+ ...options,
40906
+ headers: {
40907
+ 'Content-Type': 'application/json',
40908
+ ...options.headers
40909
+ }
40910
+ });
40911
+ };
39105
40912
  /**
39106
40913
  * Mark router as OK
39107
40914
  * Manually transition the router to OK state and clear error fields. Staff-only operation.
@@ -43486,6 +45293,34 @@ export const projectsSyncUserRoles = (options) => {
43486
45293
  ...options
43487
45294
  });
43488
45295
  };
45296
+ /**
45297
+ * Update affiliated organizations for a project
45298
+ * Assigns a project to one or more affiliated organizations. Replaces the current set.
45299
+ */
45300
+ export const projectsUpdateAffiliatedOrganizations = (options) => {
45301
+ return (options.client ?? _heyApiClient).post({
45302
+ security: [
45303
+ {
45304
+ name: 'Authorization',
45305
+ type: 'apiKey'
45306
+ },
45307
+ {
45308
+ scheme: 'bearer',
45309
+ type: 'http'
45310
+ },
45311
+ {
45312
+ scheme: 'bearer',
45313
+ type: 'http'
45314
+ }
45315
+ ],
45316
+ url: '/api/projects/{uuid}/update_affiliated_organizations/',
45317
+ ...options,
45318
+ headers: {
45319
+ 'Content-Type': 'application/json',
45320
+ ...options.headers
45321
+ }
45322
+ });
45323
+ };
43489
45324
  /**
43490
45325
  * Update a user's role expiration
43491
45326
  * 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.
@@ -44688,29 +46523,6 @@ export const proposalProtectedCallsAffinityMatrixRetrieve = (options) => {
44688
46523
  ...options
44689
46524
  });
44690
46525
  };
44691
- /**
44692
- * Get applicant attribute exposure configuration for this call.
44693
- */
44694
- export const proposalProtectedCallsApplicantAttributeConfigRetrieve = (options) => {
44695
- return (options.client ?? _heyApiClient).get({
44696
- security: [
44697
- {
44698
- name: 'Authorization',
44699
- type: 'apiKey'
44700
- },
44701
- {
44702
- scheme: 'bearer',
44703
- type: 'http'
44704
- },
44705
- {
44706
- scheme: 'bearer',
44707
- type: 'http'
44708
- }
44709
- ],
44710
- url: '/api/proposal-protected-calls/{uuid}/applicant_attribute_config/',
44711
- ...options
44712
- });
44713
- };
44714
46526
  /**
44715
46527
  * Archive a call.
44716
46528
  */
@@ -44934,29 +46746,6 @@ export const proposalProtectedCallsCreateManualAssignment = (options) => {
44934
46746
  }
44935
46747
  });
44936
46748
  };
44937
- /**
44938
- * Delete custom applicant attribute config, reverting to system defaults.
44939
- */
44940
- export const proposalProtectedCallsDeleteApplicantAttributeConfigDestroy = (options) => {
44941
- return (options.client ?? _heyApiClient).delete({
44942
- security: [
44943
- {
44944
- name: 'Authorization',
44945
- type: 'apiKey'
44946
- },
44947
- {
44948
- scheme: 'bearer',
44949
- type: 'http'
44950
- },
44951
- {
44952
- scheme: 'bearer',
44953
- type: 'http'
44954
- }
44955
- ],
44956
- url: '/api/proposal-protected-calls/{uuid}/delete_applicant_attribute_config/',
44957
- ...options
44958
- });
44959
- };
44960
46749
  /**
44961
46750
  * Revoke a role from a user
44962
46751
  * Removes a specific role from a user within the current scope. This effectively revokes their permissions associated with that role.
@@ -45828,60 +47617,6 @@ export const proposalProtectedCallsSuggestionsList = (options) => {
45828
47617
  ...options
45829
47618
  });
45830
47619
  };
45831
- /**
45832
- * Create or update applicant attribute exposure configuration.
45833
- */
45834
- export const proposalProtectedCallsUpdateApplicantAttributeConfigPartialUpdate = (options) => {
45835
- return (options.client ?? _heyApiClient).patch({
45836
- security: [
45837
- {
45838
- name: 'Authorization',
45839
- type: 'apiKey'
45840
- },
45841
- {
45842
- scheme: 'bearer',
45843
- type: 'http'
45844
- },
45845
- {
45846
- scheme: 'bearer',
45847
- type: 'http'
45848
- }
45849
- ],
45850
- url: '/api/proposal-protected-calls/{uuid}/update_applicant_attribute_config/',
45851
- ...options,
45852
- headers: {
45853
- 'Content-Type': 'application/json',
45854
- ...options.headers
45855
- }
45856
- });
45857
- };
45858
- /**
45859
- * Create or update applicant attribute exposure configuration.
45860
- */
45861
- export const proposalProtectedCallsUpdateApplicantAttributeConfig = (options) => {
45862
- return (options.client ?? _heyApiClient).post({
45863
- security: [
45864
- {
45865
- name: 'Authorization',
45866
- type: 'apiKey'
45867
- },
45868
- {
45869
- scheme: 'bearer',
45870
- type: 'http'
45871
- },
45872
- {
45873
- scheme: 'bearer',
45874
- type: 'http'
45875
- }
45876
- ],
45877
- url: '/api/proposal-protected-calls/{uuid}/update_applicant_attribute_config/',
45878
- ...options,
45879
- headers: {
45880
- 'Content-Type': 'application/json',
45881
- ...options.headers
45882
- }
45883
- });
45884
- };
45885
47620
  /**
45886
47621
  * Update a user's role expiration
45887
47622
  * 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.
@@ -51153,6 +52888,89 @@ export const reviewerSuggestionsReject = (options) => {
51153
52888
  }
51154
52889
  });
51155
52890
  };
52891
+ export const roleAvailabilitiesList = (options) => {
52892
+ return (options?.client ?? _heyApiClient).get({
52893
+ security: [
52894
+ {
52895
+ name: 'Authorization',
52896
+ type: 'apiKey'
52897
+ },
52898
+ {
52899
+ scheme: 'bearer',
52900
+ type: 'http'
52901
+ },
52902
+ {
52903
+ scheme: 'bearer',
52904
+ type: 'http'
52905
+ }
52906
+ ],
52907
+ url: '/api/role-availabilities/',
52908
+ ...options
52909
+ });
52910
+ };
52911
+ /**
52912
+ * Get number of items in the collection matching the request parameters.
52913
+ */
52914
+ export const roleAvailabilitiesCount = (options) => {
52915
+ return (options?.client ?? _heyApiClient).head({
52916
+ security: [
52917
+ {
52918
+ name: 'Authorization',
52919
+ type: 'apiKey'
52920
+ },
52921
+ {
52922
+ scheme: 'bearer',
52923
+ type: 'http'
52924
+ },
52925
+ {
52926
+ scheme: 'bearer',
52927
+ type: 'http'
52928
+ }
52929
+ ],
52930
+ url: '/api/role-availabilities/',
52931
+ ...options
52932
+ });
52933
+ };
52934
+ export const roleAvailabilitiesDestroy = (options) => {
52935
+ return (options.client ?? _heyApiClient).delete({
52936
+ security: [
52937
+ {
52938
+ name: 'Authorization',
52939
+ type: 'apiKey'
52940
+ },
52941
+ {
52942
+ scheme: 'bearer',
52943
+ type: 'http'
52944
+ },
52945
+ {
52946
+ scheme: 'bearer',
52947
+ type: 'http'
52948
+ }
52949
+ ],
52950
+ url: '/api/role-availabilities/{uuid}/',
52951
+ ...options
52952
+ });
52953
+ };
52954
+ export const roleAvailabilitiesRetrieve = (options) => {
52955
+ return (options.client ?? _heyApiClient).get({
52956
+ security: [
52957
+ {
52958
+ name: 'Authorization',
52959
+ type: 'apiKey'
52960
+ },
52961
+ {
52962
+ scheme: 'bearer',
52963
+ type: 'http'
52964
+ },
52965
+ {
52966
+ scheme: 'bearer',
52967
+ type: 'http'
52968
+ }
52969
+ ],
52970
+ url: '/api/role-availabilities/{uuid}/',
52971
+ ...options
52972
+ });
52973
+ };
51156
52974
  /**
51157
52975
  * List roles
51158
52976
  * Get a list of all available roles.
@@ -51405,6 +53223,390 @@ export const rolesUpdateDescriptionsUpdate = (options) => {
51405
53223
  }
51406
53224
  });
51407
53225
  };
53226
+ export const scienceDomainsList = (options) => {
53227
+ return (options?.client ?? _heyApiClient).get({
53228
+ security: [
53229
+ {
53230
+ name: 'Authorization',
53231
+ type: 'apiKey'
53232
+ },
53233
+ {
53234
+ scheme: 'bearer',
53235
+ type: 'http'
53236
+ },
53237
+ {
53238
+ scheme: 'bearer',
53239
+ type: 'http'
53240
+ }
53241
+ ],
53242
+ url: '/api/science-domains/',
53243
+ ...options
53244
+ });
53245
+ };
53246
+ /**
53247
+ * Get number of items in the collection matching the request parameters.
53248
+ */
53249
+ export const scienceDomainsCount = (options) => {
53250
+ return (options?.client ?? _heyApiClient).head({
53251
+ security: [
53252
+ {
53253
+ name: 'Authorization',
53254
+ type: 'apiKey'
53255
+ },
53256
+ {
53257
+ scheme: 'bearer',
53258
+ type: 'http'
53259
+ },
53260
+ {
53261
+ scheme: 'bearer',
53262
+ type: 'http'
53263
+ }
53264
+ ],
53265
+ url: '/api/science-domains/',
53266
+ ...options
53267
+ });
53268
+ };
53269
+ export const scienceDomainsCreate = (options) => {
53270
+ return (options.client ?? _heyApiClient).post({
53271
+ security: [
53272
+ {
53273
+ name: 'Authorization',
53274
+ type: 'apiKey'
53275
+ },
53276
+ {
53277
+ scheme: 'bearer',
53278
+ type: 'http'
53279
+ },
53280
+ {
53281
+ scheme: 'bearer',
53282
+ type: 'http'
53283
+ }
53284
+ ],
53285
+ url: '/api/science-domains/',
53286
+ ...options,
53287
+ headers: {
53288
+ 'Content-Type': 'application/json',
53289
+ ...options.headers
53290
+ }
53291
+ });
53292
+ };
53293
+ export const scienceDomainsDestroy = (options) => {
53294
+ return (options.client ?? _heyApiClient).delete({
53295
+ security: [
53296
+ {
53297
+ name: 'Authorization',
53298
+ type: 'apiKey'
53299
+ },
53300
+ {
53301
+ scheme: 'bearer',
53302
+ type: 'http'
53303
+ },
53304
+ {
53305
+ scheme: 'bearer',
53306
+ type: 'http'
53307
+ }
53308
+ ],
53309
+ url: '/api/science-domains/{uuid}/',
53310
+ ...options
53311
+ });
53312
+ };
53313
+ export const scienceDomainsRetrieve = (options) => {
53314
+ return (options.client ?? _heyApiClient).get({
53315
+ security: [
53316
+ {
53317
+ name: 'Authorization',
53318
+ type: 'apiKey'
53319
+ },
53320
+ {
53321
+ scheme: 'bearer',
53322
+ type: 'http'
53323
+ },
53324
+ {
53325
+ scheme: 'bearer',
53326
+ type: 'http'
53327
+ }
53328
+ ],
53329
+ url: '/api/science-domains/{uuid}/',
53330
+ ...options
53331
+ });
53332
+ };
53333
+ export const scienceDomainsPartialUpdate = (options) => {
53334
+ return (options.client ?? _heyApiClient).patch({
53335
+ security: [
53336
+ {
53337
+ name: 'Authorization',
53338
+ type: 'apiKey'
53339
+ },
53340
+ {
53341
+ scheme: 'bearer',
53342
+ type: 'http'
53343
+ },
53344
+ {
53345
+ scheme: 'bearer',
53346
+ type: 'http'
53347
+ }
53348
+ ],
53349
+ url: '/api/science-domains/{uuid}/',
53350
+ ...options,
53351
+ headers: {
53352
+ 'Content-Type': 'application/json',
53353
+ ...options.headers
53354
+ }
53355
+ });
53356
+ };
53357
+ export const scienceDomainsUpdate = (options) => {
53358
+ return (options.client ?? _heyApiClient).put({
53359
+ security: [
53360
+ {
53361
+ name: 'Authorization',
53362
+ type: 'apiKey'
53363
+ },
53364
+ {
53365
+ scheme: 'bearer',
53366
+ type: 'http'
53367
+ },
53368
+ {
53369
+ scheme: 'bearer',
53370
+ type: 'http'
53371
+ }
53372
+ ],
53373
+ url: '/api/science-domains/{uuid}/',
53374
+ ...options,
53375
+ headers: {
53376
+ 'Content-Type': 'application/json',
53377
+ ...options.headers
53378
+ }
53379
+ });
53380
+ };
53381
+ /**
53382
+ * Load a science domain preset
53383
+ */
53384
+ export const scienceDomainsLoadPreset = (options) => {
53385
+ return (options.client ?? _heyApiClient).post({
53386
+ security: [
53387
+ {
53388
+ name: 'Authorization',
53389
+ type: 'apiKey'
53390
+ },
53391
+ {
53392
+ scheme: 'bearer',
53393
+ type: 'http'
53394
+ },
53395
+ {
53396
+ scheme: 'bearer',
53397
+ type: 'http'
53398
+ }
53399
+ ],
53400
+ url: '/api/science-domains/load_preset/',
53401
+ ...options,
53402
+ headers: {
53403
+ 'Content-Type': 'application/json',
53404
+ ...options.headers
53405
+ }
53406
+ });
53407
+ };
53408
+ /**
53409
+ * List available science domain presets
53410
+ */
53411
+ export const scienceDomainsPresetsList = (options) => {
53412
+ return (options?.client ?? _heyApiClient).get({
53413
+ security: [
53414
+ {
53415
+ name: 'Authorization',
53416
+ type: 'apiKey'
53417
+ },
53418
+ {
53419
+ scheme: 'bearer',
53420
+ type: 'http'
53421
+ },
53422
+ {
53423
+ scheme: 'bearer',
53424
+ type: 'http'
53425
+ }
53426
+ ],
53427
+ url: '/api/science-domains/presets/',
53428
+ ...options
53429
+ });
53430
+ };
53431
+ /**
53432
+ * List available science domain presets
53433
+ * Get number of items in the collection matching the request parameters.
53434
+ */
53435
+ export const scienceDomainsPresetsCount = (options) => {
53436
+ return (options?.client ?? _heyApiClient).head({
53437
+ security: [
53438
+ {
53439
+ name: 'Authorization',
53440
+ type: 'apiKey'
53441
+ },
53442
+ {
53443
+ scheme: 'bearer',
53444
+ type: 'http'
53445
+ },
53446
+ {
53447
+ scheme: 'bearer',
53448
+ type: 'http'
53449
+ }
53450
+ ],
53451
+ url: '/api/science-domains/presets/',
53452
+ ...options
53453
+ });
53454
+ };
53455
+ export const scienceSubDomainsList = (options) => {
53456
+ return (options?.client ?? _heyApiClient).get({
53457
+ security: [
53458
+ {
53459
+ name: 'Authorization',
53460
+ type: 'apiKey'
53461
+ },
53462
+ {
53463
+ scheme: 'bearer',
53464
+ type: 'http'
53465
+ },
53466
+ {
53467
+ scheme: 'bearer',
53468
+ type: 'http'
53469
+ }
53470
+ ],
53471
+ url: '/api/science-sub-domains/',
53472
+ ...options
53473
+ });
53474
+ };
53475
+ /**
53476
+ * Get number of items in the collection matching the request parameters.
53477
+ */
53478
+ export const scienceSubDomainsCount = (options) => {
53479
+ return (options?.client ?? _heyApiClient).head({
53480
+ security: [
53481
+ {
53482
+ name: 'Authorization',
53483
+ type: 'apiKey'
53484
+ },
53485
+ {
53486
+ scheme: 'bearer',
53487
+ type: 'http'
53488
+ },
53489
+ {
53490
+ scheme: 'bearer',
53491
+ type: 'http'
53492
+ }
53493
+ ],
53494
+ url: '/api/science-sub-domains/',
53495
+ ...options
53496
+ });
53497
+ };
53498
+ export const scienceSubDomainsCreate = (options) => {
53499
+ return (options.client ?? _heyApiClient).post({
53500
+ security: [
53501
+ {
53502
+ name: 'Authorization',
53503
+ type: 'apiKey'
53504
+ },
53505
+ {
53506
+ scheme: 'bearer',
53507
+ type: 'http'
53508
+ },
53509
+ {
53510
+ scheme: 'bearer',
53511
+ type: 'http'
53512
+ }
53513
+ ],
53514
+ url: '/api/science-sub-domains/',
53515
+ ...options,
53516
+ headers: {
53517
+ 'Content-Type': 'application/json',
53518
+ ...options.headers
53519
+ }
53520
+ });
53521
+ };
53522
+ export const scienceSubDomainsDestroy = (options) => {
53523
+ return (options.client ?? _heyApiClient).delete({
53524
+ security: [
53525
+ {
53526
+ name: 'Authorization',
53527
+ type: 'apiKey'
53528
+ },
53529
+ {
53530
+ scheme: 'bearer',
53531
+ type: 'http'
53532
+ },
53533
+ {
53534
+ scheme: 'bearer',
53535
+ type: 'http'
53536
+ }
53537
+ ],
53538
+ url: '/api/science-sub-domains/{uuid}/',
53539
+ ...options
53540
+ });
53541
+ };
53542
+ export const scienceSubDomainsRetrieve = (options) => {
53543
+ return (options.client ?? _heyApiClient).get({
53544
+ security: [
53545
+ {
53546
+ name: 'Authorization',
53547
+ type: 'apiKey'
53548
+ },
53549
+ {
53550
+ scheme: 'bearer',
53551
+ type: 'http'
53552
+ },
53553
+ {
53554
+ scheme: 'bearer',
53555
+ type: 'http'
53556
+ }
53557
+ ],
53558
+ url: '/api/science-sub-domains/{uuid}/',
53559
+ ...options
53560
+ });
53561
+ };
53562
+ export const scienceSubDomainsPartialUpdate = (options) => {
53563
+ return (options.client ?? _heyApiClient).patch({
53564
+ security: [
53565
+ {
53566
+ name: 'Authorization',
53567
+ type: 'apiKey'
53568
+ },
53569
+ {
53570
+ scheme: 'bearer',
53571
+ type: 'http'
53572
+ },
53573
+ {
53574
+ scheme: 'bearer',
53575
+ type: 'http'
53576
+ }
53577
+ ],
53578
+ url: '/api/science-sub-domains/{uuid}/',
53579
+ ...options,
53580
+ headers: {
53581
+ 'Content-Type': 'application/json',
53582
+ ...options.headers
53583
+ }
53584
+ });
53585
+ };
53586
+ export const scienceSubDomainsUpdate = (options) => {
53587
+ return (options.client ?? _heyApiClient).put({
53588
+ security: [
53589
+ {
53590
+ name: 'Authorization',
53591
+ type: 'apiKey'
53592
+ },
53593
+ {
53594
+ scheme: 'bearer',
53595
+ type: 'http'
53596
+ },
53597
+ {
53598
+ scheme: 'bearer',
53599
+ type: 'http'
53600
+ }
53601
+ ],
53602
+ url: '/api/science-sub-domains/{uuid}/',
53603
+ ...options,
53604
+ headers: {
53605
+ 'Content-Type': 'application/json',
53606
+ ...options.headers
53607
+ }
53608
+ });
53609
+ };
51408
53610
  export const serviceSettingsList = (options) => {
51409
53611
  return (options?.client ?? _heyApiClient).get({
51410
53612
  security: [
@@ -53317,11 +55519,7 @@ export const supportRequestTypesAdminActivate = (options) => {
53317
55519
  }
53318
55520
  ],
53319
55521
  url: '/api/support-request-types-admin/{uuid}/activate/',
53320
- ...options,
53321
- headers: {
53322
- 'Content-Type': 'application/json',
53323
- ...options.headers
53324
- }
55522
+ ...options
53325
55523
  });
53326
55524
  };
53327
55525
  /**
@@ -53344,11 +55542,7 @@ export const supportRequestTypesAdminDeactivate = (options) => {
53344
55542
  }
53345
55543
  ],
53346
55544
  url: '/api/support-request-types-admin/{uuid}/deactivate/',
53347
- ...options,
53348
- headers: {
53349
- 'Content-Type': 'application/json',
53350
- ...options.headers
53351
- }
55545
+ ...options
53352
55546
  });
53353
55547
  };
53354
55548
  /**