waldur-js-client 8.0.8-dev.4 → 8.0.8-dev.41
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/sdk.gen.d.ts +366 -114
- package/dist/sdk.gen.js +3030 -764
- package/dist/types.gen.d.ts +5138 -2181
- package/package.json +4 -2
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: [
|
|
@@ -9181,6 +9846,30 @@ export const customersAddUser = (options) => {
|
|
|
9181
9846
|
}
|
|
9182
9847
|
});
|
|
9183
9848
|
};
|
|
9849
|
+
/**
|
|
9850
|
+
* Get customer resource usage statistics broken down per offering
|
|
9851
|
+
* Returns one row per (offering, component type, billing type) for all non-terminated resources within the customer. Each row's `usage` and `limit_usage` are aggregated using the offering's own `limit_period`, so quarterly offerings report quarter-to-date, yearly report year-to-date, total report lifetime, and monthly report current month. Each row also includes the resolved current period bounds (`current_period_label`, `current_period_start`, `current_period_end`).
|
|
9852
|
+
*/
|
|
9853
|
+
export const customersComponentsUsageRetrieve = (options) => {
|
|
9854
|
+
return (options.client ?? _heyApiClient).get({
|
|
9855
|
+
security: [
|
|
9856
|
+
{
|
|
9857
|
+
name: 'Authorization',
|
|
9858
|
+
type: 'apiKey'
|
|
9859
|
+
},
|
|
9860
|
+
{
|
|
9861
|
+
scheme: 'bearer',
|
|
9862
|
+
type: 'http'
|
|
9863
|
+
},
|
|
9864
|
+
{
|
|
9865
|
+
scheme: 'bearer',
|
|
9866
|
+
type: 'http'
|
|
9867
|
+
}
|
|
9868
|
+
],
|
|
9869
|
+
url: '/api/customers/{uuid}/components-usage/',
|
|
9870
|
+
...options
|
|
9871
|
+
});
|
|
9872
|
+
};
|
|
9184
9873
|
/**
|
|
9185
9874
|
* Update customer contact details
|
|
9186
9875
|
* Update organization contact information. Requires CUSTOMER_CONTACT_UPDATE or CUSTOMER.UPDATE permission.
|
|
@@ -16023,6 +16712,81 @@ export const marketplaceCategoryHelpArticlesUpdate = (options) => {
|
|
|
16023
16712
|
}
|
|
16024
16713
|
});
|
|
16025
16714
|
};
|
|
16715
|
+
export const marketplaceChatClick = (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/click/',
|
|
16732
|
+
...options,
|
|
16733
|
+
headers: {
|
|
16734
|
+
'Content-Type': 'application/json',
|
|
16735
|
+
...options.headers
|
|
16736
|
+
}
|
|
16737
|
+
});
|
|
16738
|
+
};
|
|
16739
|
+
export const marketplaceChatFeedback = (options) => {
|
|
16740
|
+
return (options.client ?? _heyApiClient).post({
|
|
16741
|
+
security: [
|
|
16742
|
+
{
|
|
16743
|
+
name: 'Authorization',
|
|
16744
|
+
type: 'apiKey'
|
|
16745
|
+
},
|
|
16746
|
+
{
|
|
16747
|
+
scheme: 'bearer',
|
|
16748
|
+
type: 'http'
|
|
16749
|
+
},
|
|
16750
|
+
{
|
|
16751
|
+
scheme: 'bearer',
|
|
16752
|
+
type: 'http'
|
|
16753
|
+
}
|
|
16754
|
+
],
|
|
16755
|
+
url: '/api/marketplace-chat/feedback/',
|
|
16756
|
+
...options,
|
|
16757
|
+
headers: {
|
|
16758
|
+
'Content-Type': 'application/json',
|
|
16759
|
+
...options.headers
|
|
16760
|
+
}
|
|
16761
|
+
});
|
|
16762
|
+
};
|
|
16763
|
+
/**
|
|
16764
|
+
* Anonymous chat streaming endpoint. Returns NDJSON with one assistant content block per line. Final `m` frame carries input/output token counts.
|
|
16765
|
+
*/
|
|
16766
|
+
export const marketplaceChatStream = (options) => {
|
|
16767
|
+
return (options.client ?? _heyApiClient).post({
|
|
16768
|
+
security: [
|
|
16769
|
+
{
|
|
16770
|
+
name: 'Authorization',
|
|
16771
|
+
type: 'apiKey'
|
|
16772
|
+
},
|
|
16773
|
+
{
|
|
16774
|
+
scheme: 'bearer',
|
|
16775
|
+
type: 'http'
|
|
16776
|
+
},
|
|
16777
|
+
{
|
|
16778
|
+
scheme: 'bearer',
|
|
16779
|
+
type: 'http'
|
|
16780
|
+
}
|
|
16781
|
+
],
|
|
16782
|
+
url: '/api/marketplace-chat/stream/',
|
|
16783
|
+
...options,
|
|
16784
|
+
headers: {
|
|
16785
|
+
'Content-Type': 'application/json',
|
|
16786
|
+
...options.headers
|
|
16787
|
+
}
|
|
16788
|
+
});
|
|
16789
|
+
};
|
|
16026
16790
|
/**
|
|
16027
16791
|
* List monthly component usage summaries globally
|
|
16028
16792
|
* 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 +18518,7 @@ export const marketplaceOfferingPermissionsRetrieve = (options) => {
|
|
|
17754
18518
|
...options
|
|
17755
18519
|
});
|
|
17756
18520
|
};
|
|
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) => {
|
|
18521
|
+
export const marketplaceOfferingProfilesList = (options) => {
|
|
17762
18522
|
return (options?.client ?? _heyApiClient).get({
|
|
17763
18523
|
security: [
|
|
17764
18524
|
{
|
|
@@ -17774,15 +18534,14 @@ export const marketplaceOfferingReferralsList = (options) => {
|
|
|
17774
18534
|
type: 'http'
|
|
17775
18535
|
}
|
|
17776
18536
|
],
|
|
17777
|
-
url: '/api/marketplace-offering-
|
|
18537
|
+
url: '/api/marketplace-offering-profiles/',
|
|
17778
18538
|
...options
|
|
17779
18539
|
});
|
|
17780
18540
|
};
|
|
17781
18541
|
/**
|
|
17782
|
-
* List Datacite referrals for offerings
|
|
17783
18542
|
* Get number of items in the collection matching the request parameters.
|
|
17784
18543
|
*/
|
|
17785
|
-
export const
|
|
18544
|
+
export const marketplaceOfferingProfilesCount = (options) => {
|
|
17786
18545
|
return (options?.client ?? _heyApiClient).head({
|
|
17787
18546
|
security: [
|
|
17788
18547
|
{
|
|
@@ -17798,16 +18557,12 @@ export const marketplaceOfferingReferralsCount = (options) => {
|
|
|
17798
18557
|
type: 'http'
|
|
17799
18558
|
}
|
|
17800
18559
|
],
|
|
17801
|
-
url: '/api/marketplace-offering-
|
|
18560
|
+
url: '/api/marketplace-offering-profiles/',
|
|
17802
18561
|
...options
|
|
17803
18562
|
});
|
|
17804
18563
|
};
|
|
17805
|
-
|
|
17806
|
-
|
|
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({
|
|
18564
|
+
export const marketplaceOfferingProfilesCreate = (options) => {
|
|
18565
|
+
return (options.client ?? _heyApiClient).post({
|
|
17811
18566
|
security: [
|
|
17812
18567
|
{
|
|
17813
18568
|
name: 'Authorization',
|
|
@@ -17822,16 +18577,16 @@ export const marketplaceOfferingReferralsRetrieve = (options) => {
|
|
|
17822
18577
|
type: 'http'
|
|
17823
18578
|
}
|
|
17824
18579
|
],
|
|
17825
|
-
url: '/api/marketplace-offering-
|
|
17826
|
-
...options
|
|
18580
|
+
url: '/api/marketplace-offering-profiles/',
|
|
18581
|
+
...options,
|
|
18582
|
+
headers: {
|
|
18583
|
+
'Content-Type': 'application/json',
|
|
18584
|
+
...options.headers
|
|
18585
|
+
}
|
|
17827
18586
|
});
|
|
17828
18587
|
};
|
|
17829
|
-
|
|
17830
|
-
|
|
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({
|
|
18588
|
+
export const marketplaceOfferingProfilesDestroy = (options) => {
|
|
18589
|
+
return (options.client ?? _heyApiClient).delete({
|
|
17835
18590
|
security: [
|
|
17836
18591
|
{
|
|
17837
18592
|
name: 'Authorization',
|
|
@@ -17846,16 +18601,12 @@ export const marketplaceOfferingTermsOfServiceList = (options) => {
|
|
|
17846
18601
|
type: 'http'
|
|
17847
18602
|
}
|
|
17848
18603
|
],
|
|
17849
|
-
url: '/api/marketplace-offering-
|
|
18604
|
+
url: '/api/marketplace-offering-profiles/{uuid}/',
|
|
17850
18605
|
...options
|
|
17851
18606
|
});
|
|
17852
18607
|
};
|
|
17853
|
-
|
|
17854
|
-
|
|
17855
|
-
* Get number of items in the collection matching the request parameters.
|
|
17856
|
-
*/
|
|
17857
|
-
export const marketplaceOfferingTermsOfServiceCount = (options) => {
|
|
17858
|
-
return (options?.client ?? _heyApiClient).head({
|
|
18608
|
+
export const marketplaceOfferingProfilesRetrieve = (options) => {
|
|
18609
|
+
return (options.client ?? _heyApiClient).get({
|
|
17859
18610
|
security: [
|
|
17860
18611
|
{
|
|
17861
18612
|
name: 'Authorization',
|
|
@@ -17870,15 +18621,59 @@ export const marketplaceOfferingTermsOfServiceCount = (options) => {
|
|
|
17870
18621
|
type: 'http'
|
|
17871
18622
|
}
|
|
17872
18623
|
],
|
|
17873
|
-
url: '/api/marketplace-offering-
|
|
18624
|
+
url: '/api/marketplace-offering-profiles/{uuid}/',
|
|
17874
18625
|
...options
|
|
17875
18626
|
});
|
|
17876
18627
|
};
|
|
17877
|
-
|
|
17878
|
-
|
|
17879
|
-
|
|
17880
|
-
|
|
17881
|
-
|
|
18628
|
+
export const marketplaceOfferingProfilesPartialUpdate = (options) => {
|
|
18629
|
+
return (options.client ?? _heyApiClient).patch({
|
|
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 marketplaceOfferingProfilesUpdate = (options) => {
|
|
18653
|
+
return (options.client ?? _heyApiClient).put({
|
|
18654
|
+
security: [
|
|
18655
|
+
{
|
|
18656
|
+
name: 'Authorization',
|
|
18657
|
+
type: 'apiKey'
|
|
18658
|
+
},
|
|
18659
|
+
{
|
|
18660
|
+
scheme: 'bearer',
|
|
18661
|
+
type: 'http'
|
|
18662
|
+
},
|
|
18663
|
+
{
|
|
18664
|
+
scheme: 'bearer',
|
|
18665
|
+
type: 'http'
|
|
18666
|
+
}
|
|
18667
|
+
],
|
|
18668
|
+
url: '/api/marketplace-offering-profiles/{uuid}/',
|
|
18669
|
+
...options,
|
|
18670
|
+
headers: {
|
|
18671
|
+
'Content-Type': 'application/json',
|
|
18672
|
+
...options.headers
|
|
18673
|
+
}
|
|
18674
|
+
});
|
|
18675
|
+
};
|
|
18676
|
+
export const marketplaceOfferingProfilesAddRole = (options) => {
|
|
17882
18677
|
return (options.client ?? _heyApiClient).post({
|
|
17883
18678
|
security: [
|
|
17884
18679
|
{
|
|
@@ -17894,7 +18689,7 @@ export const marketplaceOfferingTermsOfServiceCreate = (options) => {
|
|
|
17894
18689
|
type: 'http'
|
|
17895
18690
|
}
|
|
17896
18691
|
],
|
|
17897
|
-
url: '/api/marketplace-offering-
|
|
18692
|
+
url: '/api/marketplace-offering-profiles/{uuid}/add_role/',
|
|
17898
18693
|
...options,
|
|
17899
18694
|
headers: {
|
|
17900
18695
|
'Content-Type': 'application/json',
|
|
@@ -17902,12 +18697,8 @@ export const marketplaceOfferingTermsOfServiceCreate = (options) => {
|
|
|
17902
18697
|
}
|
|
17903
18698
|
});
|
|
17904
18699
|
};
|
|
17905
|
-
|
|
17906
|
-
|
|
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({
|
|
18700
|
+
export const marketplaceOfferingProfilesRemoveRole = (options) => {
|
|
18701
|
+
return (options.client ?? _heyApiClient).post({
|
|
17911
18702
|
security: [
|
|
17912
18703
|
{
|
|
17913
18704
|
name: 'Authorization',
|
|
@@ -17922,16 +18713,20 @@ export const marketplaceOfferingTermsOfServiceDestroy = (options) => {
|
|
|
17922
18713
|
type: 'http'
|
|
17923
18714
|
}
|
|
17924
18715
|
],
|
|
17925
|
-
url: '/api/marketplace-offering-
|
|
17926
|
-
...options
|
|
18716
|
+
url: '/api/marketplace-offering-profiles/{uuid}/remove_role/',
|
|
18717
|
+
...options,
|
|
18718
|
+
headers: {
|
|
18719
|
+
'Content-Type': 'application/json',
|
|
18720
|
+
...options.headers
|
|
18721
|
+
}
|
|
17927
18722
|
});
|
|
17928
18723
|
};
|
|
17929
18724
|
/**
|
|
17930
|
-
*
|
|
17931
|
-
* Returns
|
|
18725
|
+
* List Datacite referrals for offerings
|
|
18726
|
+
* 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
18727
|
*/
|
|
17933
|
-
export const
|
|
17934
|
-
return (options
|
|
18728
|
+
export const marketplaceOfferingReferralsList = (options) => {
|
|
18729
|
+
return (options?.client ?? _heyApiClient).get({
|
|
17935
18730
|
security: [
|
|
17936
18731
|
{
|
|
17937
18732
|
name: 'Authorization',
|
|
@@ -17946,16 +18741,16 @@ export const marketplaceOfferingTermsOfServiceRetrieve = (options) => {
|
|
|
17946
18741
|
type: 'http'
|
|
17947
18742
|
}
|
|
17948
18743
|
],
|
|
17949
|
-
url: '/api/marketplace-offering-
|
|
18744
|
+
url: '/api/marketplace-offering-referrals/',
|
|
17950
18745
|
...options
|
|
17951
18746
|
});
|
|
17952
18747
|
};
|
|
17953
18748
|
/**
|
|
17954
|
-
*
|
|
17955
|
-
*
|
|
18749
|
+
* List Datacite referrals for offerings
|
|
18750
|
+
* Get number of items in the collection matching the request parameters.
|
|
17956
18751
|
*/
|
|
17957
|
-
export const
|
|
17958
|
-
return (options
|
|
18752
|
+
export const marketplaceOfferingReferralsCount = (options) => {
|
|
18753
|
+
return (options?.client ?? _heyApiClient).head({
|
|
17959
18754
|
security: [
|
|
17960
18755
|
{
|
|
17961
18756
|
name: 'Authorization',
|
|
@@ -17970,20 +18765,16 @@ export const marketplaceOfferingTermsOfServicePartialUpdate = (options) => {
|
|
|
17970
18765
|
type: 'http'
|
|
17971
18766
|
}
|
|
17972
18767
|
],
|
|
17973
|
-
url: '/api/marketplace-offering-
|
|
17974
|
-
...options
|
|
17975
|
-
headers: {
|
|
17976
|
-
'Content-Type': 'application/json',
|
|
17977
|
-
...options.headers
|
|
17978
|
-
}
|
|
18768
|
+
url: '/api/marketplace-offering-referrals/',
|
|
18769
|
+
...options
|
|
17979
18770
|
});
|
|
17980
18771
|
};
|
|
17981
18772
|
/**
|
|
17982
|
-
*
|
|
17983
|
-
*
|
|
18773
|
+
* Retrieve a specific Datacite referral
|
|
18774
|
+
* 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
18775
|
*/
|
|
17985
|
-
export const
|
|
17986
|
-
return (options.client ?? _heyApiClient).
|
|
18776
|
+
export const marketplaceOfferingReferralsRetrieve = (options) => {
|
|
18777
|
+
return (options.client ?? _heyApiClient).get({
|
|
17987
18778
|
security: [
|
|
17988
18779
|
{
|
|
17989
18780
|
name: 'Authorization',
|
|
@@ -17998,15 +18789,11 @@ export const marketplaceOfferingTermsOfServiceUpdate = (options) => {
|
|
|
17998
18789
|
type: 'http'
|
|
17999
18790
|
}
|
|
18000
18791
|
],
|
|
18001
|
-
url: '/api/marketplace-offering-
|
|
18002
|
-
...options
|
|
18003
|
-
headers: {
|
|
18004
|
-
'Content-Type': 'application/json',
|
|
18005
|
-
...options.headers
|
|
18006
|
-
}
|
|
18792
|
+
url: '/api/marketplace-offering-referrals/{uuid}/',
|
|
18793
|
+
...options
|
|
18007
18794
|
});
|
|
18008
18795
|
};
|
|
18009
|
-
export const
|
|
18796
|
+
export const marketplaceOfferingRolesList = (options) => {
|
|
18010
18797
|
return (options?.client ?? _heyApiClient).get({
|
|
18011
18798
|
security: [
|
|
18012
18799
|
{
|
|
@@ -18022,14 +18809,14 @@ export const marketplaceOfferingUsagePoliciesList = (options) => {
|
|
|
18022
18809
|
type: 'http'
|
|
18023
18810
|
}
|
|
18024
18811
|
],
|
|
18025
|
-
url: '/api/marketplace-offering-
|
|
18812
|
+
url: '/api/marketplace-offering-roles/',
|
|
18026
18813
|
...options
|
|
18027
18814
|
});
|
|
18028
18815
|
};
|
|
18029
18816
|
/**
|
|
18030
18817
|
* Get number of items in the collection matching the request parameters.
|
|
18031
18818
|
*/
|
|
18032
|
-
export const
|
|
18819
|
+
export const marketplaceOfferingRolesCount = (options) => {
|
|
18033
18820
|
return (options?.client ?? _heyApiClient).head({
|
|
18034
18821
|
security: [
|
|
18035
18822
|
{
|
|
@@ -18045,11 +18832,11 @@ export const marketplaceOfferingUsagePoliciesCount = (options) => {
|
|
|
18045
18832
|
type: 'http'
|
|
18046
18833
|
}
|
|
18047
18834
|
],
|
|
18048
|
-
url: '/api/marketplace-offering-
|
|
18835
|
+
url: '/api/marketplace-offering-roles/',
|
|
18049
18836
|
...options
|
|
18050
18837
|
});
|
|
18051
18838
|
};
|
|
18052
|
-
export const
|
|
18839
|
+
export const marketplaceOfferingRolesCreate = (options) => {
|
|
18053
18840
|
return (options.client ?? _heyApiClient).post({
|
|
18054
18841
|
security: [
|
|
18055
18842
|
{
|
|
@@ -18065,7 +18852,7 @@ export const marketplaceOfferingUsagePoliciesCreate = (options) => {
|
|
|
18065
18852
|
type: 'http'
|
|
18066
18853
|
}
|
|
18067
18854
|
],
|
|
18068
|
-
url: '/api/marketplace-offering-
|
|
18855
|
+
url: '/api/marketplace-offering-roles/',
|
|
18069
18856
|
...options,
|
|
18070
18857
|
headers: {
|
|
18071
18858
|
'Content-Type': 'application/json',
|
|
@@ -18073,7 +18860,7 @@ export const marketplaceOfferingUsagePoliciesCreate = (options) => {
|
|
|
18073
18860
|
}
|
|
18074
18861
|
});
|
|
18075
18862
|
};
|
|
18076
|
-
export const
|
|
18863
|
+
export const marketplaceOfferingRolesDestroy = (options) => {
|
|
18077
18864
|
return (options.client ?? _heyApiClient).delete({
|
|
18078
18865
|
security: [
|
|
18079
18866
|
{
|
|
@@ -18089,11 +18876,11 @@ export const marketplaceOfferingUsagePoliciesDestroy = (options) => {
|
|
|
18089
18876
|
type: 'http'
|
|
18090
18877
|
}
|
|
18091
18878
|
],
|
|
18092
|
-
url: '/api/marketplace-offering-
|
|
18879
|
+
url: '/api/marketplace-offering-roles/{uuid}/',
|
|
18093
18880
|
...options
|
|
18094
18881
|
});
|
|
18095
18882
|
};
|
|
18096
|
-
export const
|
|
18883
|
+
export const marketplaceOfferingRolesRetrieve = (options) => {
|
|
18097
18884
|
return (options.client ?? _heyApiClient).get({
|
|
18098
18885
|
security: [
|
|
18099
18886
|
{
|
|
@@ -18109,11 +18896,11 @@ export const marketplaceOfferingUsagePoliciesRetrieve = (options) => {
|
|
|
18109
18896
|
type: 'http'
|
|
18110
18897
|
}
|
|
18111
18898
|
],
|
|
18112
|
-
url: '/api/marketplace-offering-
|
|
18899
|
+
url: '/api/marketplace-offering-roles/{uuid}/',
|
|
18113
18900
|
...options
|
|
18114
18901
|
});
|
|
18115
18902
|
};
|
|
18116
|
-
export const
|
|
18903
|
+
export const marketplaceOfferingRolesPartialUpdate = (options) => {
|
|
18117
18904
|
return (options.client ?? _heyApiClient).patch({
|
|
18118
18905
|
security: [
|
|
18119
18906
|
{
|
|
@@ -18129,7 +18916,7 @@ export const marketplaceOfferingUsagePoliciesPartialUpdate = (options) => {
|
|
|
18129
18916
|
type: 'http'
|
|
18130
18917
|
}
|
|
18131
18918
|
],
|
|
18132
|
-
url: '/api/marketplace-offering-
|
|
18919
|
+
url: '/api/marketplace-offering-roles/{uuid}/',
|
|
18133
18920
|
...options,
|
|
18134
18921
|
headers: {
|
|
18135
18922
|
'Content-Type': 'application/json',
|
|
@@ -18137,7 +18924,7 @@ export const marketplaceOfferingUsagePoliciesPartialUpdate = (options) => {
|
|
|
18137
18924
|
}
|
|
18138
18925
|
});
|
|
18139
18926
|
};
|
|
18140
|
-
export const
|
|
18927
|
+
export const marketplaceOfferingRolesUpdate = (options) => {
|
|
18141
18928
|
return (options.client ?? _heyApiClient).put({
|
|
18142
18929
|
security: [
|
|
18143
18930
|
{
|
|
@@ -18153,7 +18940,7 @@ export const marketplaceOfferingUsagePoliciesUpdate = (options) => {
|
|
|
18153
18940
|
type: 'http'
|
|
18154
18941
|
}
|
|
18155
18942
|
],
|
|
18156
|
-
url: '/api/marketplace-offering-
|
|
18943
|
+
url: '/api/marketplace-offering-roles/{uuid}/',
|
|
18157
18944
|
...options,
|
|
18158
18945
|
headers: {
|
|
18159
18946
|
'Content-Type': 'application/json',
|
|
@@ -18161,7 +18948,11 @@ export const marketplaceOfferingUsagePoliciesUpdate = (options) => {
|
|
|
18161
18948
|
}
|
|
18162
18949
|
});
|
|
18163
18950
|
};
|
|
18164
|
-
|
|
18951
|
+
/**
|
|
18952
|
+
* List Terms of Service configurations
|
|
18953
|
+
* 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.
|
|
18954
|
+
*/
|
|
18955
|
+
export const marketplaceOfferingTermsOfServiceList = (options) => {
|
|
18165
18956
|
return (options?.client ?? _heyApiClient).get({
|
|
18166
18957
|
security: [
|
|
18167
18958
|
{
|
|
@@ -18177,14 +18968,15 @@ export const marketplaceOfferingUsagePoliciesActionsRetrieve = (options) => {
|
|
|
18177
18968
|
type: 'http'
|
|
18178
18969
|
}
|
|
18179
18970
|
],
|
|
18180
|
-
url: '/api/marketplace-offering-
|
|
18971
|
+
url: '/api/marketplace-offering-terms-of-service/',
|
|
18181
18972
|
...options
|
|
18182
18973
|
});
|
|
18183
18974
|
};
|
|
18184
18975
|
/**
|
|
18976
|
+
* List Terms of Service configurations
|
|
18185
18977
|
* Get number of items in the collection matching the request parameters.
|
|
18186
18978
|
*/
|
|
18187
|
-
export const
|
|
18979
|
+
export const marketplaceOfferingTermsOfServiceCount = (options) => {
|
|
18188
18980
|
return (options?.client ?? _heyApiClient).head({
|
|
18189
18981
|
security: [
|
|
18190
18982
|
{
|
|
@@ -18200,20 +18992,16 @@ export const marketplaceOfferingUsagePoliciesActionsCount = (options) => {
|
|
|
18200
18992
|
type: 'http'
|
|
18201
18993
|
}
|
|
18202
18994
|
],
|
|
18203
|
-
url: '/api/marketplace-offering-
|
|
18995
|
+
url: '/api/marketplace-offering-terms-of-service/',
|
|
18204
18996
|
...options
|
|
18205
18997
|
});
|
|
18206
18998
|
};
|
|
18207
18999
|
/**
|
|
18208
|
-
*
|
|
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
|
-
*
|
|
19000
|
+
* Create a Terms of Service configuration
|
|
19001
|
+
* Creates a new Terms of Service configuration for an offering. Only one active ToS configuration is allowed per offering.
|
|
18214
19002
|
*/
|
|
18215
|
-
export const
|
|
18216
|
-
return (options
|
|
19003
|
+
export const marketplaceOfferingTermsOfServiceCreate = (options) => {
|
|
19004
|
+
return (options.client ?? _heyApiClient).post({
|
|
18217
19005
|
security: [
|
|
18218
19006
|
{
|
|
18219
19007
|
name: 'Authorization',
|
|
@@ -18228,16 +19016,20 @@ export const marketplaceOfferingUserChecklistCompletionsList = (options) => {
|
|
|
18228
19016
|
type: 'http'
|
|
18229
19017
|
}
|
|
18230
19018
|
],
|
|
18231
|
-
url: '/api/marketplace-offering-
|
|
18232
|
-
...options
|
|
19019
|
+
url: '/api/marketplace-offering-terms-of-service/',
|
|
19020
|
+
...options,
|
|
19021
|
+
headers: {
|
|
19022
|
+
'Content-Type': 'application/json',
|
|
19023
|
+
...options.headers
|
|
19024
|
+
}
|
|
18233
19025
|
});
|
|
18234
19026
|
};
|
|
18235
19027
|
/**
|
|
18236
|
-
*
|
|
18237
|
-
*
|
|
19028
|
+
* Delete a Terms of Service configuration
|
|
19029
|
+
* Deletes a Terms of Service configuration. This is a hard delete and should be used with caution.
|
|
18238
19030
|
*/
|
|
18239
|
-
export const
|
|
18240
|
-
return (options
|
|
19031
|
+
export const marketplaceOfferingTermsOfServiceDestroy = (options) => {
|
|
19032
|
+
return (options.client ?? _heyApiClient).delete({
|
|
18241
19033
|
security: [
|
|
18242
19034
|
{
|
|
18243
19035
|
name: 'Authorization',
|
|
@@ -18252,15 +19044,15 @@ export const marketplaceOfferingUserChecklistCompletionsCount = (options) => {
|
|
|
18252
19044
|
type: 'http'
|
|
18253
19045
|
}
|
|
18254
19046
|
],
|
|
18255
|
-
url: '/api/marketplace-offering-
|
|
19047
|
+
url: '/api/marketplace-offering-terms-of-service/{uuid}/',
|
|
18256
19048
|
...options
|
|
18257
19049
|
});
|
|
18258
19050
|
};
|
|
18259
19051
|
/**
|
|
18260
|
-
* Retrieve a
|
|
18261
|
-
* Returns the details of a specific
|
|
19052
|
+
* Retrieve a Terms of Service configuration
|
|
19053
|
+
* Returns the details of a specific Terms of Service configuration.
|
|
18262
19054
|
*/
|
|
18263
|
-
export const
|
|
19055
|
+
export const marketplaceOfferingTermsOfServiceRetrieve = (options) => {
|
|
18264
19056
|
return (options.client ?? _heyApiClient).get({
|
|
18265
19057
|
security: [
|
|
18266
19058
|
{
|
|
@@ -18276,11 +19068,67 @@ export const marketplaceOfferingUserChecklistCompletionsRetrieve = (options) =>
|
|
|
18276
19068
|
type: 'http'
|
|
18277
19069
|
}
|
|
18278
19070
|
],
|
|
18279
|
-
url: '/api/marketplace-offering-
|
|
19071
|
+
url: '/api/marketplace-offering-terms-of-service/{uuid}/',
|
|
18280
19072
|
...options
|
|
18281
19073
|
});
|
|
18282
19074
|
};
|
|
18283
|
-
|
|
19075
|
+
/**
|
|
19076
|
+
* Partially update a Terms of Service configuration
|
|
19077
|
+
* Partially updates an existing Terms of Service configuration.
|
|
19078
|
+
*/
|
|
19079
|
+
export const marketplaceOfferingTermsOfServicePartialUpdate = (options) => {
|
|
19080
|
+
return (options.client ?? _heyApiClient).patch({
|
|
19081
|
+
security: [
|
|
19082
|
+
{
|
|
19083
|
+
name: 'Authorization',
|
|
19084
|
+
type: 'apiKey'
|
|
19085
|
+
},
|
|
19086
|
+
{
|
|
19087
|
+
scheme: 'bearer',
|
|
19088
|
+
type: 'http'
|
|
19089
|
+
},
|
|
19090
|
+
{
|
|
19091
|
+
scheme: 'bearer',
|
|
19092
|
+
type: 'http'
|
|
19093
|
+
}
|
|
19094
|
+
],
|
|
19095
|
+
url: '/api/marketplace-offering-terms-of-service/{uuid}/',
|
|
19096
|
+
...options,
|
|
19097
|
+
headers: {
|
|
19098
|
+
'Content-Type': 'application/json',
|
|
19099
|
+
...options.headers
|
|
19100
|
+
}
|
|
19101
|
+
});
|
|
19102
|
+
};
|
|
19103
|
+
/**
|
|
19104
|
+
* Update a Terms of Service configuration
|
|
19105
|
+
* Updates an existing Terms of Service configuration. Note that some fields like `version` and `requires_reconsent` are protected and cannot be changed after creation.
|
|
19106
|
+
*/
|
|
19107
|
+
export const marketplaceOfferingTermsOfServiceUpdate = (options) => {
|
|
19108
|
+
return (options.client ?? _heyApiClient).put({
|
|
19109
|
+
security: [
|
|
19110
|
+
{
|
|
19111
|
+
name: 'Authorization',
|
|
19112
|
+
type: 'apiKey'
|
|
19113
|
+
},
|
|
19114
|
+
{
|
|
19115
|
+
scheme: 'bearer',
|
|
19116
|
+
type: 'http'
|
|
19117
|
+
},
|
|
19118
|
+
{
|
|
19119
|
+
scheme: 'bearer',
|
|
19120
|
+
type: 'http'
|
|
19121
|
+
}
|
|
19122
|
+
],
|
|
19123
|
+
url: '/api/marketplace-offering-terms-of-service/{uuid}/',
|
|
19124
|
+
...options,
|
|
19125
|
+
headers: {
|
|
19126
|
+
'Content-Type': 'application/json',
|
|
19127
|
+
...options.headers
|
|
19128
|
+
}
|
|
19129
|
+
});
|
|
19130
|
+
};
|
|
19131
|
+
export const marketplaceOfferingUsagePoliciesList = (options) => {
|
|
18284
19132
|
return (options?.client ?? _heyApiClient).get({
|
|
18285
19133
|
security: [
|
|
18286
19134
|
{
|
|
@@ -18296,14 +19144,14 @@ export const marketplaceOfferingUserRolesList = (options) => {
|
|
|
18296
19144
|
type: 'http'
|
|
18297
19145
|
}
|
|
18298
19146
|
],
|
|
18299
|
-
url: '/api/marketplace-offering-
|
|
19147
|
+
url: '/api/marketplace-offering-usage-policies/',
|
|
18300
19148
|
...options
|
|
18301
19149
|
});
|
|
18302
19150
|
};
|
|
18303
19151
|
/**
|
|
18304
19152
|
* Get number of items in the collection matching the request parameters.
|
|
18305
19153
|
*/
|
|
18306
|
-
export const
|
|
19154
|
+
export const marketplaceOfferingUsagePoliciesCount = (options) => {
|
|
18307
19155
|
return (options?.client ?? _heyApiClient).head({
|
|
18308
19156
|
security: [
|
|
18309
19157
|
{
|
|
@@ -18319,11 +19167,11 @@ export const marketplaceOfferingUserRolesCount = (options) => {
|
|
|
18319
19167
|
type: 'http'
|
|
18320
19168
|
}
|
|
18321
19169
|
],
|
|
18322
|
-
url: '/api/marketplace-offering-
|
|
19170
|
+
url: '/api/marketplace-offering-usage-policies/',
|
|
18323
19171
|
...options
|
|
18324
19172
|
});
|
|
18325
19173
|
};
|
|
18326
|
-
export const
|
|
19174
|
+
export const marketplaceOfferingUsagePoliciesCreate = (options) => {
|
|
18327
19175
|
return (options.client ?? _heyApiClient).post({
|
|
18328
19176
|
security: [
|
|
18329
19177
|
{
|
|
@@ -18339,7 +19187,7 @@ export const marketplaceOfferingUserRolesCreate = (options) => {
|
|
|
18339
19187
|
type: 'http'
|
|
18340
19188
|
}
|
|
18341
19189
|
],
|
|
18342
|
-
url: '/api/marketplace-offering-
|
|
19190
|
+
url: '/api/marketplace-offering-usage-policies/',
|
|
18343
19191
|
...options,
|
|
18344
19192
|
headers: {
|
|
18345
19193
|
'Content-Type': 'application/json',
|
|
@@ -18347,7 +19195,7 @@ export const marketplaceOfferingUserRolesCreate = (options) => {
|
|
|
18347
19195
|
}
|
|
18348
19196
|
});
|
|
18349
19197
|
};
|
|
18350
|
-
export const
|
|
19198
|
+
export const marketplaceOfferingUsagePoliciesDestroy = (options) => {
|
|
18351
19199
|
return (options.client ?? _heyApiClient).delete({
|
|
18352
19200
|
security: [
|
|
18353
19201
|
{
|
|
@@ -18363,11 +19211,11 @@ export const marketplaceOfferingUserRolesDestroy = (options) => {
|
|
|
18363
19211
|
type: 'http'
|
|
18364
19212
|
}
|
|
18365
19213
|
],
|
|
18366
|
-
url: '/api/marketplace-offering-
|
|
19214
|
+
url: '/api/marketplace-offering-usage-policies/{uuid}/',
|
|
18367
19215
|
...options
|
|
18368
19216
|
});
|
|
18369
19217
|
};
|
|
18370
|
-
export const
|
|
19218
|
+
export const marketplaceOfferingUsagePoliciesRetrieve = (options) => {
|
|
18371
19219
|
return (options.client ?? _heyApiClient).get({
|
|
18372
19220
|
security: [
|
|
18373
19221
|
{
|
|
@@ -18383,11 +19231,11 @@ export const marketplaceOfferingUserRolesRetrieve = (options) => {
|
|
|
18383
19231
|
type: 'http'
|
|
18384
19232
|
}
|
|
18385
19233
|
],
|
|
18386
|
-
url: '/api/marketplace-offering-
|
|
19234
|
+
url: '/api/marketplace-offering-usage-policies/{uuid}/',
|
|
18387
19235
|
...options
|
|
18388
19236
|
});
|
|
18389
19237
|
};
|
|
18390
|
-
export const
|
|
19238
|
+
export const marketplaceOfferingUsagePoliciesPartialUpdate = (options) => {
|
|
18391
19239
|
return (options.client ?? _heyApiClient).patch({
|
|
18392
19240
|
security: [
|
|
18393
19241
|
{
|
|
@@ -18403,7 +19251,7 @@ export const marketplaceOfferingUserRolesPartialUpdate = (options) => {
|
|
|
18403
19251
|
type: 'http'
|
|
18404
19252
|
}
|
|
18405
19253
|
],
|
|
18406
|
-
url: '/api/marketplace-offering-
|
|
19254
|
+
url: '/api/marketplace-offering-usage-policies/{uuid}/',
|
|
18407
19255
|
...options,
|
|
18408
19256
|
headers: {
|
|
18409
19257
|
'Content-Type': 'application/json',
|
|
@@ -18411,7 +19259,7 @@ export const marketplaceOfferingUserRolesPartialUpdate = (options) => {
|
|
|
18411
19259
|
}
|
|
18412
19260
|
});
|
|
18413
19261
|
};
|
|
18414
|
-
export const
|
|
19262
|
+
export const marketplaceOfferingUsagePoliciesUpdate = (options) => {
|
|
18415
19263
|
return (options.client ?? _heyApiClient).put({
|
|
18416
19264
|
security: [
|
|
18417
19265
|
{
|
|
@@ -18427,7 +19275,7 @@ export const marketplaceOfferingUserRolesUpdate = (options) => {
|
|
|
18427
19275
|
type: 'http'
|
|
18428
19276
|
}
|
|
18429
19277
|
],
|
|
18430
|
-
url: '/api/marketplace-offering-
|
|
19278
|
+
url: '/api/marketplace-offering-usage-policies/{uuid}/',
|
|
18431
19279
|
...options,
|
|
18432
19280
|
headers: {
|
|
18433
19281
|
'Content-Type': 'application/json',
|
|
@@ -18435,6 +19283,125 @@ export const marketplaceOfferingUserRolesUpdate = (options) => {
|
|
|
18435
19283
|
}
|
|
18436
19284
|
});
|
|
18437
19285
|
};
|
|
19286
|
+
export const marketplaceOfferingUsagePoliciesActionsRetrieve = (options) => {
|
|
19287
|
+
return (options?.client ?? _heyApiClient).get({
|
|
19288
|
+
security: [
|
|
19289
|
+
{
|
|
19290
|
+
name: 'Authorization',
|
|
19291
|
+
type: 'apiKey'
|
|
19292
|
+
},
|
|
19293
|
+
{
|
|
19294
|
+
scheme: 'bearer',
|
|
19295
|
+
type: 'http'
|
|
19296
|
+
},
|
|
19297
|
+
{
|
|
19298
|
+
scheme: 'bearer',
|
|
19299
|
+
type: 'http'
|
|
19300
|
+
}
|
|
19301
|
+
],
|
|
19302
|
+
url: '/api/marketplace-offering-usage-policies/actions/',
|
|
19303
|
+
...options
|
|
19304
|
+
});
|
|
19305
|
+
};
|
|
19306
|
+
/**
|
|
19307
|
+
* Get number of items in the collection matching the request parameters.
|
|
19308
|
+
*/
|
|
19309
|
+
export const marketplaceOfferingUsagePoliciesActionsCount = (options) => {
|
|
19310
|
+
return (options?.client ?? _heyApiClient).head({
|
|
19311
|
+
security: [
|
|
19312
|
+
{
|
|
19313
|
+
name: 'Authorization',
|
|
19314
|
+
type: 'apiKey'
|
|
19315
|
+
},
|
|
19316
|
+
{
|
|
19317
|
+
scheme: 'bearer',
|
|
19318
|
+
type: 'http'
|
|
19319
|
+
},
|
|
19320
|
+
{
|
|
19321
|
+
scheme: 'bearer',
|
|
19322
|
+
type: 'http'
|
|
19323
|
+
}
|
|
19324
|
+
],
|
|
19325
|
+
url: '/api/marketplace-offering-usage-policies/actions/',
|
|
19326
|
+
...options
|
|
19327
|
+
});
|
|
19328
|
+
};
|
|
19329
|
+
/**
|
|
19330
|
+
* List checklist completions for offering users
|
|
19331
|
+
*
|
|
19332
|
+
* Returns a paginated list of all checklist completions for offering users that the current user is allowed to see.
|
|
19333
|
+
* This endpoint is used by service providers to monitor compliance status and by users to see their own required checklists.
|
|
19334
|
+
* Visibility follows the same rules as the `OfferingUsers` endpoint.
|
|
19335
|
+
*
|
|
19336
|
+
*/
|
|
19337
|
+
export const marketplaceOfferingUserChecklistCompletionsList = (options) => {
|
|
19338
|
+
return (options?.client ?? _heyApiClient).get({
|
|
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
|
+
* List checklist completions for offering users
|
|
19359
|
+
* Get number of items in the collection matching the request parameters.
|
|
19360
|
+
*/
|
|
19361
|
+
export const marketplaceOfferingUserChecklistCompletionsCount = (options) => {
|
|
19362
|
+
return (options?.client ?? _heyApiClient).head({
|
|
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/',
|
|
19378
|
+
...options
|
|
19379
|
+
});
|
|
19380
|
+
};
|
|
19381
|
+
/**
|
|
19382
|
+
* Retrieve a checklist completion
|
|
19383
|
+
* Returns the details of a specific checklist completion for an offering user.
|
|
19384
|
+
*/
|
|
19385
|
+
export const marketplaceOfferingUserChecklistCompletionsRetrieve = (options) => {
|
|
19386
|
+
return (options.client ?? _heyApiClient).get({
|
|
19387
|
+
security: [
|
|
19388
|
+
{
|
|
19389
|
+
name: 'Authorization',
|
|
19390
|
+
type: 'apiKey'
|
|
19391
|
+
},
|
|
19392
|
+
{
|
|
19393
|
+
scheme: 'bearer',
|
|
19394
|
+
type: 'http'
|
|
19395
|
+
},
|
|
19396
|
+
{
|
|
19397
|
+
scheme: 'bearer',
|
|
19398
|
+
type: 'http'
|
|
19399
|
+
}
|
|
19400
|
+
],
|
|
19401
|
+
url: '/api/marketplace-offering-user-checklist-completions/{id}/',
|
|
19402
|
+
...options
|
|
19403
|
+
});
|
|
19404
|
+
};
|
|
18438
19405
|
/**
|
|
18439
19406
|
* List offering users
|
|
18440
19407
|
* 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 +22966,34 @@ export const marketplaceProviderOfferingsSetBackendMetadata = (options) => {
|
|
|
21999
22966
|
}
|
|
22000
22967
|
});
|
|
22001
22968
|
};
|
|
22969
|
+
/**
|
|
22970
|
+
* Bind / unbind offering to a service profile
|
|
22971
|
+
* 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).
|
|
22972
|
+
*/
|
|
22973
|
+
export const marketplaceProviderOfferingsSetProfile = (options) => {
|
|
22974
|
+
return (options.client ?? _heyApiClient).post({
|
|
22975
|
+
security: [
|
|
22976
|
+
{
|
|
22977
|
+
name: 'Authorization',
|
|
22978
|
+
type: 'apiKey'
|
|
22979
|
+
},
|
|
22980
|
+
{
|
|
22981
|
+
scheme: 'bearer',
|
|
22982
|
+
type: 'http'
|
|
22983
|
+
},
|
|
22984
|
+
{
|
|
22985
|
+
scheme: 'bearer',
|
|
22986
|
+
type: 'http'
|
|
22987
|
+
}
|
|
22988
|
+
],
|
|
22989
|
+
url: '/api/marketplace-provider-offerings/{uuid}/set_profile/',
|
|
22990
|
+
...options,
|
|
22991
|
+
headers: {
|
|
22992
|
+
'Content-Type': 'application/json',
|
|
22993
|
+
...options.headers
|
|
22994
|
+
}
|
|
22995
|
+
});
|
|
22996
|
+
};
|
|
22002
22997
|
/**
|
|
22003
22998
|
* Get offering resource and user state counters
|
|
22004
22999
|
* Returns resource and offering-user counts grouped by state for the given offering.
|
|
@@ -22831,6 +23826,293 @@ export const marketplaceProviderOfferingsImportOffering = (options) => {
|
|
|
22831
23826
|
}
|
|
22832
23827
|
});
|
|
22833
23828
|
};
|
|
23829
|
+
export const marketplaceProviderResourceProjectsList = (options) => {
|
|
23830
|
+
return (options?.client ?? _heyApiClient).get({
|
|
23831
|
+
security: [
|
|
23832
|
+
{
|
|
23833
|
+
name: 'Authorization',
|
|
23834
|
+
type: 'apiKey'
|
|
23835
|
+
},
|
|
23836
|
+
{
|
|
23837
|
+
scheme: 'bearer',
|
|
23838
|
+
type: 'http'
|
|
23839
|
+
},
|
|
23840
|
+
{
|
|
23841
|
+
scheme: 'bearer',
|
|
23842
|
+
type: 'http'
|
|
23843
|
+
}
|
|
23844
|
+
],
|
|
23845
|
+
url: '/api/marketplace-provider-resource-projects/',
|
|
23846
|
+
...options
|
|
23847
|
+
});
|
|
23848
|
+
};
|
|
23849
|
+
/**
|
|
23850
|
+
* Get number of items in the collection matching the request parameters.
|
|
23851
|
+
*/
|
|
23852
|
+
export const marketplaceProviderResourceProjectsCount = (options) => {
|
|
23853
|
+
return (options?.client ?? _heyApiClient).head({
|
|
23854
|
+
security: [
|
|
23855
|
+
{
|
|
23856
|
+
name: 'Authorization',
|
|
23857
|
+
type: 'apiKey'
|
|
23858
|
+
},
|
|
23859
|
+
{
|
|
23860
|
+
scheme: 'bearer',
|
|
23861
|
+
type: 'http'
|
|
23862
|
+
},
|
|
23863
|
+
{
|
|
23864
|
+
scheme: 'bearer',
|
|
23865
|
+
type: 'http'
|
|
23866
|
+
}
|
|
23867
|
+
],
|
|
23868
|
+
url: '/api/marketplace-provider-resource-projects/',
|
|
23869
|
+
...options
|
|
23870
|
+
});
|
|
23871
|
+
};
|
|
23872
|
+
export const marketplaceProviderResourceProjectsRetrieve = (options) => {
|
|
23873
|
+
return (options.client ?? _heyApiClient).get({
|
|
23874
|
+
security: [
|
|
23875
|
+
{
|
|
23876
|
+
name: 'Authorization',
|
|
23877
|
+
type: 'apiKey'
|
|
23878
|
+
},
|
|
23879
|
+
{
|
|
23880
|
+
scheme: 'bearer',
|
|
23881
|
+
type: 'http'
|
|
23882
|
+
},
|
|
23883
|
+
{
|
|
23884
|
+
scheme: 'bearer',
|
|
23885
|
+
type: 'http'
|
|
23886
|
+
}
|
|
23887
|
+
],
|
|
23888
|
+
url: '/api/marketplace-provider-resource-projects/{uuid}/',
|
|
23889
|
+
...options
|
|
23890
|
+
});
|
|
23891
|
+
};
|
|
23892
|
+
export const marketplaceProviderResourceProjectsPartialUpdate = (options) => {
|
|
23893
|
+
return (options.client ?? _heyApiClient).patch({
|
|
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
|
+
export const marketplaceProviderResourceProjectsUpdate = (options) => {
|
|
23917
|
+
return (options.client ?? _heyApiClient).put({
|
|
23918
|
+
security: [
|
|
23919
|
+
{
|
|
23920
|
+
name: 'Authorization',
|
|
23921
|
+
type: 'apiKey'
|
|
23922
|
+
},
|
|
23923
|
+
{
|
|
23924
|
+
scheme: 'bearer',
|
|
23925
|
+
type: 'http'
|
|
23926
|
+
},
|
|
23927
|
+
{
|
|
23928
|
+
scheme: 'bearer',
|
|
23929
|
+
type: 'http'
|
|
23930
|
+
}
|
|
23931
|
+
],
|
|
23932
|
+
url: '/api/marketplace-provider-resource-projects/{uuid}/',
|
|
23933
|
+
...options,
|
|
23934
|
+
headers: {
|
|
23935
|
+
'Content-Type': 'application/json',
|
|
23936
|
+
...options.headers
|
|
23937
|
+
}
|
|
23938
|
+
});
|
|
23939
|
+
};
|
|
23940
|
+
/**
|
|
23941
|
+
* Grant a role to a user
|
|
23942
|
+
* Assigns a specific role to a user within the current scope. An optional expiration time for the role can be set.
|
|
23943
|
+
*/
|
|
23944
|
+
export const marketplaceProviderResourceProjectsAddUser = (options) => {
|
|
23945
|
+
return (options.client ?? _heyApiClient).post({
|
|
23946
|
+
security: [
|
|
23947
|
+
{
|
|
23948
|
+
name: 'Authorization',
|
|
23949
|
+
type: 'apiKey'
|
|
23950
|
+
},
|
|
23951
|
+
{
|
|
23952
|
+
scheme: 'bearer',
|
|
23953
|
+
type: 'http'
|
|
23954
|
+
},
|
|
23955
|
+
{
|
|
23956
|
+
scheme: 'bearer',
|
|
23957
|
+
type: 'http'
|
|
23958
|
+
}
|
|
23959
|
+
],
|
|
23960
|
+
url: '/api/marketplace-provider-resource-projects/{uuid}/add_user/',
|
|
23961
|
+
...options,
|
|
23962
|
+
headers: {
|
|
23963
|
+
'Content-Type': 'application/json',
|
|
23964
|
+
...options.headers
|
|
23965
|
+
}
|
|
23966
|
+
});
|
|
23967
|
+
};
|
|
23968
|
+
/**
|
|
23969
|
+
* Revoke a role from a user
|
|
23970
|
+
* Removes a specific role from a user within the current scope. This effectively revokes their permissions associated with that role.
|
|
23971
|
+
*/
|
|
23972
|
+
export const marketplaceProviderResourceProjectsDeleteUser = (options) => {
|
|
23973
|
+
return (options.client ?? _heyApiClient).post({
|
|
23974
|
+
security: [
|
|
23975
|
+
{
|
|
23976
|
+
name: 'Authorization',
|
|
23977
|
+
type: 'apiKey'
|
|
23978
|
+
},
|
|
23979
|
+
{
|
|
23980
|
+
scheme: 'bearer',
|
|
23981
|
+
type: 'http'
|
|
23982
|
+
},
|
|
23983
|
+
{
|
|
23984
|
+
scheme: 'bearer',
|
|
23985
|
+
type: 'http'
|
|
23986
|
+
}
|
|
23987
|
+
],
|
|
23988
|
+
url: '/api/marketplace-provider-resource-projects/{uuid}/delete_user/',
|
|
23989
|
+
...options,
|
|
23990
|
+
headers: {
|
|
23991
|
+
'Content-Type': 'application/json',
|
|
23992
|
+
...options.headers
|
|
23993
|
+
}
|
|
23994
|
+
});
|
|
23995
|
+
};
|
|
23996
|
+
/**
|
|
23997
|
+
* List users and their roles in a scope
|
|
23998
|
+
* 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.
|
|
23999
|
+
*/
|
|
24000
|
+
export const marketplaceProviderResourceProjectsListUsersList = (options) => {
|
|
24001
|
+
return (options.client ?? _heyApiClient).get({
|
|
24002
|
+
security: [
|
|
24003
|
+
{
|
|
24004
|
+
name: 'Authorization',
|
|
24005
|
+
type: 'apiKey'
|
|
24006
|
+
},
|
|
24007
|
+
{
|
|
24008
|
+
scheme: 'bearer',
|
|
24009
|
+
type: 'http'
|
|
24010
|
+
},
|
|
24011
|
+
{
|
|
24012
|
+
scheme: 'bearer',
|
|
24013
|
+
type: 'http'
|
|
24014
|
+
}
|
|
24015
|
+
],
|
|
24016
|
+
url: '/api/marketplace-provider-resource-projects/{uuid}/list_users/',
|
|
24017
|
+
...options
|
|
24018
|
+
});
|
|
24019
|
+
};
|
|
24020
|
+
export const marketplaceProviderResourceProjectsSetBackendId = (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_backend_id/',
|
|
24037
|
+
...options,
|
|
24038
|
+
headers: {
|
|
24039
|
+
'Content-Type': 'application/json',
|
|
24040
|
+
...options.headers
|
|
24041
|
+
}
|
|
24042
|
+
});
|
|
24043
|
+
};
|
|
24044
|
+
export const marketplaceProviderResourceProjectsSetStateErred = (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_erred/',
|
|
24061
|
+
...options,
|
|
24062
|
+
headers: {
|
|
24063
|
+
'Content-Type': 'application/json',
|
|
24064
|
+
...options.headers
|
|
24065
|
+
}
|
|
24066
|
+
});
|
|
24067
|
+
};
|
|
24068
|
+
export const marketplaceProviderResourceProjectsSetStateOk = (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}/set_state_ok/',
|
|
24085
|
+
...options
|
|
24086
|
+
});
|
|
24087
|
+
};
|
|
24088
|
+
/**
|
|
24089
|
+
* Update a user's role expiration
|
|
24090
|
+
* 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.
|
|
24091
|
+
*/
|
|
24092
|
+
export const marketplaceProviderResourceProjectsUpdateUser = (options) => {
|
|
24093
|
+
return (options.client ?? _heyApiClient).post({
|
|
24094
|
+
security: [
|
|
24095
|
+
{
|
|
24096
|
+
name: 'Authorization',
|
|
24097
|
+
type: 'apiKey'
|
|
24098
|
+
},
|
|
24099
|
+
{
|
|
24100
|
+
scheme: 'bearer',
|
|
24101
|
+
type: 'http'
|
|
24102
|
+
},
|
|
24103
|
+
{
|
|
24104
|
+
scheme: 'bearer',
|
|
24105
|
+
type: 'http'
|
|
24106
|
+
}
|
|
24107
|
+
],
|
|
24108
|
+
url: '/api/marketplace-provider-resource-projects/{uuid}/update_user/',
|
|
24109
|
+
...options,
|
|
24110
|
+
headers: {
|
|
24111
|
+
'Content-Type': 'application/json',
|
|
24112
|
+
...options.headers
|
|
24113
|
+
}
|
|
24114
|
+
});
|
|
24115
|
+
};
|
|
22834
24116
|
/**
|
|
22835
24117
|
* List provider resources
|
|
22836
24118
|
* Returns a paginated list of resources for offerings managed by the current user as a service provider.
|
|
@@ -22959,6 +24241,62 @@ export const marketplaceProviderResourcesUpdate = (options) => {
|
|
|
22959
24241
|
}
|
|
22960
24242
|
});
|
|
22961
24243
|
};
|
|
24244
|
+
/**
|
|
24245
|
+
* Grant a role to a user
|
|
24246
|
+
* Assigns a specific role to a user within the current scope. An optional expiration time for the role can be set.
|
|
24247
|
+
*/
|
|
24248
|
+
export const marketplaceProviderResourcesAddUser = (options) => {
|
|
24249
|
+
return (options.client ?? _heyApiClient).post({
|
|
24250
|
+
security: [
|
|
24251
|
+
{
|
|
24252
|
+
name: 'Authorization',
|
|
24253
|
+
type: 'apiKey'
|
|
24254
|
+
},
|
|
24255
|
+
{
|
|
24256
|
+
scheme: 'bearer',
|
|
24257
|
+
type: 'http'
|
|
24258
|
+
},
|
|
24259
|
+
{
|
|
24260
|
+
scheme: 'bearer',
|
|
24261
|
+
type: 'http'
|
|
24262
|
+
}
|
|
24263
|
+
],
|
|
24264
|
+
url: '/api/marketplace-provider-resources/{uuid}/add_user/',
|
|
24265
|
+
...options,
|
|
24266
|
+
headers: {
|
|
24267
|
+
'Content-Type': 'application/json',
|
|
24268
|
+
...options.headers
|
|
24269
|
+
}
|
|
24270
|
+
});
|
|
24271
|
+
};
|
|
24272
|
+
/**
|
|
24273
|
+
* Revoke a role from a user
|
|
24274
|
+
* Removes a specific role from a user within the current scope. This effectively revokes their permissions associated with that role.
|
|
24275
|
+
*/
|
|
24276
|
+
export const marketplaceProviderResourcesDeleteUser = (options) => {
|
|
24277
|
+
return (options.client ?? _heyApiClient).post({
|
|
24278
|
+
security: [
|
|
24279
|
+
{
|
|
24280
|
+
name: 'Authorization',
|
|
24281
|
+
type: 'apiKey'
|
|
24282
|
+
},
|
|
24283
|
+
{
|
|
24284
|
+
scheme: 'bearer',
|
|
24285
|
+
type: 'http'
|
|
24286
|
+
},
|
|
24287
|
+
{
|
|
24288
|
+
scheme: 'bearer',
|
|
24289
|
+
type: 'http'
|
|
24290
|
+
}
|
|
24291
|
+
],
|
|
24292
|
+
url: '/api/marketplace-provider-resources/{uuid}/delete_user/',
|
|
24293
|
+
...options,
|
|
24294
|
+
headers: {
|
|
24295
|
+
'Content-Type': 'application/json',
|
|
24296
|
+
...options.headers
|
|
24297
|
+
}
|
|
24298
|
+
});
|
|
24299
|
+
};
|
|
22962
24300
|
/**
|
|
22963
24301
|
* Get resource details
|
|
22964
24302
|
* 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 +24396,30 @@ export const marketplaceProviderResourcesHistoryAtRetrieve = (options) => {
|
|
|
23058
24396
|
...options
|
|
23059
24397
|
});
|
|
23060
24398
|
};
|
|
24399
|
+
/**
|
|
24400
|
+
* List users and their roles in a scope
|
|
24401
|
+
* 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.
|
|
24402
|
+
*/
|
|
24403
|
+
export const marketplaceProviderResourcesListUsersList = (options) => {
|
|
24404
|
+
return (options.client ?? _heyApiClient).get({
|
|
24405
|
+
security: [
|
|
24406
|
+
{
|
|
24407
|
+
name: 'Authorization',
|
|
24408
|
+
type: 'apiKey'
|
|
24409
|
+
},
|
|
24410
|
+
{
|
|
24411
|
+
scheme: 'bearer',
|
|
24412
|
+
type: 'http'
|
|
24413
|
+
},
|
|
24414
|
+
{
|
|
24415
|
+
scheme: 'bearer',
|
|
24416
|
+
type: 'http'
|
|
24417
|
+
}
|
|
24418
|
+
],
|
|
24419
|
+
url: '/api/marketplace-provider-resources/{uuid}/list_users/',
|
|
24420
|
+
...options
|
|
24421
|
+
});
|
|
24422
|
+
};
|
|
23061
24423
|
/**
|
|
23062
24424
|
* Move a resource to another project
|
|
23063
24425
|
* Moves a resource and its associated data to a different project. Requires staff permissions.
|
|
@@ -23480,34 +24842,6 @@ export const marketplaceProviderResourcesSetEndDateByStaff = (options) => {
|
|
|
23480
24842
|
}
|
|
23481
24843
|
});
|
|
23482
24844
|
};
|
|
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
24845
|
/**
|
|
23512
24846
|
* Set resource limits
|
|
23513
24847
|
* 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 +25138,34 @@ export const marketplaceProviderResourcesUpdateOptionsDirect = (options) => {
|
|
|
23804
25138
|
}
|
|
23805
25139
|
});
|
|
23806
25140
|
};
|
|
25141
|
+
/**
|
|
25142
|
+
* Update a user's role expiration
|
|
25143
|
+
* 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.
|
|
25144
|
+
*/
|
|
25145
|
+
export const marketplaceProviderResourcesUpdateUser = (options) => {
|
|
25146
|
+
return (options.client ?? _heyApiClient).post({
|
|
25147
|
+
security: [
|
|
25148
|
+
{
|
|
25149
|
+
name: 'Authorization',
|
|
25150
|
+
type: 'apiKey'
|
|
25151
|
+
},
|
|
25152
|
+
{
|
|
25153
|
+
scheme: 'bearer',
|
|
25154
|
+
type: 'http'
|
|
25155
|
+
},
|
|
25156
|
+
{
|
|
25157
|
+
scheme: 'bearer',
|
|
25158
|
+
type: 'http'
|
|
25159
|
+
}
|
|
25160
|
+
],
|
|
25161
|
+
url: '/api/marketplace-provider-resources/{uuid}/update_user/',
|
|
25162
|
+
...options,
|
|
25163
|
+
headers: {
|
|
25164
|
+
'Content-Type': 'application/json',
|
|
25165
|
+
...options.headers
|
|
25166
|
+
}
|
|
25167
|
+
});
|
|
25168
|
+
};
|
|
23807
25169
|
/**
|
|
23808
25170
|
* Check service provider signature
|
|
23809
25171
|
*
|
|
@@ -24207,11 +25569,7 @@ export const marketplaceResourceOfferingsList = (options) => {
|
|
|
24207
25569
|
...options
|
|
24208
25570
|
});
|
|
24209
25571
|
};
|
|
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) => {
|
|
25572
|
+
export const marketplaceResourceProjectsList = (options) => {
|
|
24215
25573
|
return (options?.client ?? _heyApiClient).get({
|
|
24216
25574
|
security: [
|
|
24217
25575
|
{
|
|
@@ -24227,15 +25585,14 @@ export const marketplaceResourceUsersList = (options) => {
|
|
|
24227
25585
|
type: 'http'
|
|
24228
25586
|
}
|
|
24229
25587
|
],
|
|
24230
|
-
url: '/api/marketplace-resource-
|
|
25588
|
+
url: '/api/marketplace-resource-projects/',
|
|
24231
25589
|
...options
|
|
24232
25590
|
});
|
|
24233
25591
|
};
|
|
24234
25592
|
/**
|
|
24235
|
-
* List resource users
|
|
24236
25593
|
* Get number of items in the collection matching the request parameters.
|
|
24237
25594
|
*/
|
|
24238
|
-
export const
|
|
25595
|
+
export const marketplaceResourceProjectsCount = (options) => {
|
|
24239
25596
|
return (options?.client ?? _heyApiClient).head({
|
|
24240
25597
|
security: [
|
|
24241
25598
|
{
|
|
@@ -24251,15 +25608,127 @@ export const marketplaceResourceUsersCount = (options) => {
|
|
|
24251
25608
|
type: 'http'
|
|
24252
25609
|
}
|
|
24253
25610
|
],
|
|
24254
|
-
url: '/api/marketplace-resource-
|
|
25611
|
+
url: '/api/marketplace-resource-projects/',
|
|
25612
|
+
...options
|
|
25613
|
+
});
|
|
25614
|
+
};
|
|
25615
|
+
export const marketplaceResourceProjectsCreate = (options) => {
|
|
25616
|
+
return (options.client ?? _heyApiClient).post({
|
|
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/',
|
|
25632
|
+
...options,
|
|
25633
|
+
headers: {
|
|
25634
|
+
'Content-Type': 'application/json',
|
|
25635
|
+
...options.headers
|
|
25636
|
+
}
|
|
25637
|
+
});
|
|
25638
|
+
};
|
|
25639
|
+
export const marketplaceResourceProjectsDestroy = (options) => {
|
|
25640
|
+
return (options.client ?? _heyApiClient).delete({
|
|
25641
|
+
security: [
|
|
25642
|
+
{
|
|
25643
|
+
name: 'Authorization',
|
|
25644
|
+
type: 'apiKey'
|
|
25645
|
+
},
|
|
25646
|
+
{
|
|
25647
|
+
scheme: 'bearer',
|
|
25648
|
+
type: 'http'
|
|
25649
|
+
},
|
|
25650
|
+
{
|
|
25651
|
+
scheme: 'bearer',
|
|
25652
|
+
type: 'http'
|
|
25653
|
+
}
|
|
25654
|
+
],
|
|
25655
|
+
url: '/api/marketplace-resource-projects/{uuid}/',
|
|
24255
25656
|
...options
|
|
24256
25657
|
});
|
|
24257
25658
|
};
|
|
25659
|
+
export const marketplaceResourceProjectsRetrieve = (options) => {
|
|
25660
|
+
return (options.client ?? _heyApiClient).get({
|
|
25661
|
+
security: [
|
|
25662
|
+
{
|
|
25663
|
+
name: 'Authorization',
|
|
25664
|
+
type: 'apiKey'
|
|
25665
|
+
},
|
|
25666
|
+
{
|
|
25667
|
+
scheme: 'bearer',
|
|
25668
|
+
type: 'http'
|
|
25669
|
+
},
|
|
25670
|
+
{
|
|
25671
|
+
scheme: 'bearer',
|
|
25672
|
+
type: 'http'
|
|
25673
|
+
}
|
|
25674
|
+
],
|
|
25675
|
+
url: '/api/marketplace-resource-projects/{uuid}/',
|
|
25676
|
+
...options
|
|
25677
|
+
});
|
|
25678
|
+
};
|
|
25679
|
+
export const marketplaceResourceProjectsPartialUpdate = (options) => {
|
|
25680
|
+
return (options.client ?? _heyApiClient).patch({
|
|
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
|
+
};
|
|
25703
|
+
export const marketplaceResourceProjectsUpdate = (options) => {
|
|
25704
|
+
return (options.client ?? _heyApiClient).put({
|
|
25705
|
+
security: [
|
|
25706
|
+
{
|
|
25707
|
+
name: 'Authorization',
|
|
25708
|
+
type: 'apiKey'
|
|
25709
|
+
},
|
|
25710
|
+
{
|
|
25711
|
+
scheme: 'bearer',
|
|
25712
|
+
type: 'http'
|
|
25713
|
+
},
|
|
25714
|
+
{
|
|
25715
|
+
scheme: 'bearer',
|
|
25716
|
+
type: 'http'
|
|
25717
|
+
}
|
|
25718
|
+
],
|
|
25719
|
+
url: '/api/marketplace-resource-projects/{uuid}/',
|
|
25720
|
+
...options,
|
|
25721
|
+
headers: {
|
|
25722
|
+
'Content-Type': 'application/json',
|
|
25723
|
+
...options.headers
|
|
25724
|
+
}
|
|
25725
|
+
});
|
|
25726
|
+
};
|
|
24258
25727
|
/**
|
|
24259
|
-
*
|
|
24260
|
-
*
|
|
25728
|
+
* Grant a role to a user
|
|
25729
|
+
* Assigns a specific role to a user within the current scope. An optional expiration time for the role can be set.
|
|
24261
25730
|
*/
|
|
24262
|
-
export const
|
|
25731
|
+
export const marketplaceResourceProjectsAddUser = (options) => {
|
|
24263
25732
|
return (options.client ?? _heyApiClient).post({
|
|
24264
25733
|
security: [
|
|
24265
25734
|
{
|
|
@@ -24275,7 +25744,7 @@ export const marketplaceResourceUsersCreate = (options) => {
|
|
|
24275
25744
|
type: 'http'
|
|
24276
25745
|
}
|
|
24277
25746
|
],
|
|
24278
|
-
url: '/api/marketplace-resource-
|
|
25747
|
+
url: '/api/marketplace-resource-projects/{uuid}/add_user/',
|
|
24279
25748
|
...options,
|
|
24280
25749
|
headers: {
|
|
24281
25750
|
'Content-Type': 'application/json',
|
|
@@ -24284,11 +25753,11 @@ export const marketplaceResourceUsersCreate = (options) => {
|
|
|
24284
25753
|
});
|
|
24285
25754
|
};
|
|
24286
25755
|
/**
|
|
24287
|
-
*
|
|
24288
|
-
* Removes
|
|
25756
|
+
* Revoke a role from a user
|
|
25757
|
+
* Removes a specific role from a user within the current scope. This effectively revokes their permissions associated with that role.
|
|
24289
25758
|
*/
|
|
24290
|
-
export const
|
|
24291
|
-
return (options.client ?? _heyApiClient).
|
|
25759
|
+
export const marketplaceResourceProjectsDeleteUser = (options) => {
|
|
25760
|
+
return (options.client ?? _heyApiClient).post({
|
|
24292
25761
|
security: [
|
|
24293
25762
|
{
|
|
24294
25763
|
name: 'Authorization',
|
|
@@ -24303,15 +25772,19 @@ export const marketplaceResourceUsersDestroy = (options) => {
|
|
|
24303
25772
|
type: 'http'
|
|
24304
25773
|
}
|
|
24305
25774
|
],
|
|
24306
|
-
url: '/api/marketplace-resource-
|
|
24307
|
-
...options
|
|
25775
|
+
url: '/api/marketplace-resource-projects/{uuid}/delete_user/',
|
|
25776
|
+
...options,
|
|
25777
|
+
headers: {
|
|
25778
|
+
'Content-Type': 'application/json',
|
|
25779
|
+
...options.headers
|
|
25780
|
+
}
|
|
24308
25781
|
});
|
|
24309
25782
|
};
|
|
24310
25783
|
/**
|
|
24311
|
-
*
|
|
24312
|
-
*
|
|
25784
|
+
* List users and their roles in a scope
|
|
25785
|
+
* 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
25786
|
*/
|
|
24314
|
-
export const
|
|
25787
|
+
export const marketplaceResourceProjectsListUsersList = (options) => {
|
|
24315
25788
|
return (options.client ?? _heyApiClient).get({
|
|
24316
25789
|
security: [
|
|
24317
25790
|
{
|
|
@@ -24327,10 +25800,38 @@ export const marketplaceResourceUsersRetrieve = (options) => {
|
|
|
24327
25800
|
type: 'http'
|
|
24328
25801
|
}
|
|
24329
25802
|
],
|
|
24330
|
-
url: '/api/marketplace-resource-
|
|
25803
|
+
url: '/api/marketplace-resource-projects/{uuid}/list_users/',
|
|
24331
25804
|
...options
|
|
24332
25805
|
});
|
|
24333
25806
|
};
|
|
25807
|
+
/**
|
|
25808
|
+
* Update a user's role expiration
|
|
25809
|
+
* 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.
|
|
25810
|
+
*/
|
|
25811
|
+
export const marketplaceResourceProjectsUpdateUser = (options) => {
|
|
25812
|
+
return (options.client ?? _heyApiClient).post({
|
|
25813
|
+
security: [
|
|
25814
|
+
{
|
|
25815
|
+
name: 'Authorization',
|
|
25816
|
+
type: 'apiKey'
|
|
25817
|
+
},
|
|
25818
|
+
{
|
|
25819
|
+
scheme: 'bearer',
|
|
25820
|
+
type: 'http'
|
|
25821
|
+
},
|
|
25822
|
+
{
|
|
25823
|
+
scheme: 'bearer',
|
|
25824
|
+
type: 'http'
|
|
25825
|
+
}
|
|
25826
|
+
],
|
|
25827
|
+
url: '/api/marketplace-resource-projects/{uuid}/update_user/',
|
|
25828
|
+
...options,
|
|
25829
|
+
headers: {
|
|
25830
|
+
'Content-Type': 'application/json',
|
|
25831
|
+
...options.headers
|
|
25832
|
+
}
|
|
25833
|
+
});
|
|
25834
|
+
};
|
|
24334
25835
|
/**
|
|
24335
25836
|
* List consumer resources
|
|
24336
25837
|
* Returns a paginated list of resources accessible to the current user as a service consumer.
|
|
@@ -24459,6 +25960,62 @@ export const marketplaceResourcesUpdate = (options) => {
|
|
|
24459
25960
|
}
|
|
24460
25961
|
});
|
|
24461
25962
|
};
|
|
25963
|
+
/**
|
|
25964
|
+
* Grant a role to a user
|
|
25965
|
+
* Assigns a specific role to a user within the current scope. An optional expiration time for the role can be set.
|
|
25966
|
+
*/
|
|
25967
|
+
export const marketplaceResourcesAddUser = (options) => {
|
|
25968
|
+
return (options.client ?? _heyApiClient).post({
|
|
25969
|
+
security: [
|
|
25970
|
+
{
|
|
25971
|
+
name: 'Authorization',
|
|
25972
|
+
type: 'apiKey'
|
|
25973
|
+
},
|
|
25974
|
+
{
|
|
25975
|
+
scheme: 'bearer',
|
|
25976
|
+
type: 'http'
|
|
25977
|
+
},
|
|
25978
|
+
{
|
|
25979
|
+
scheme: 'bearer',
|
|
25980
|
+
type: 'http'
|
|
25981
|
+
}
|
|
25982
|
+
],
|
|
25983
|
+
url: '/api/marketplace-resources/{uuid}/add_user/',
|
|
25984
|
+
...options,
|
|
25985
|
+
headers: {
|
|
25986
|
+
'Content-Type': 'application/json',
|
|
25987
|
+
...options.headers
|
|
25988
|
+
}
|
|
25989
|
+
});
|
|
25990
|
+
};
|
|
25991
|
+
/**
|
|
25992
|
+
* Revoke a role from a user
|
|
25993
|
+
* Removes a specific role from a user within the current scope. This effectively revokes their permissions associated with that role.
|
|
25994
|
+
*/
|
|
25995
|
+
export const marketplaceResourcesDeleteUser = (options) => {
|
|
25996
|
+
return (options.client ?? _heyApiClient).post({
|
|
25997
|
+
security: [
|
|
25998
|
+
{
|
|
25999
|
+
name: 'Authorization',
|
|
26000
|
+
type: 'apiKey'
|
|
26001
|
+
},
|
|
26002
|
+
{
|
|
26003
|
+
scheme: 'bearer',
|
|
26004
|
+
type: 'http'
|
|
26005
|
+
},
|
|
26006
|
+
{
|
|
26007
|
+
scheme: 'bearer',
|
|
26008
|
+
type: 'http'
|
|
26009
|
+
}
|
|
26010
|
+
],
|
|
26011
|
+
url: '/api/marketplace-resources/{uuid}/delete_user/',
|
|
26012
|
+
...options,
|
|
26013
|
+
headers: {
|
|
26014
|
+
'Content-Type': 'application/json',
|
|
26015
|
+
...options.headers
|
|
26016
|
+
}
|
|
26017
|
+
});
|
|
26018
|
+
};
|
|
24462
26019
|
/**
|
|
24463
26020
|
* Get resource details
|
|
24464
26021
|
* 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 +26142,30 @@ export const marketplaceResourcesHistoryAtRetrieve = (options) => {
|
|
|
24585
26142
|
...options
|
|
24586
26143
|
});
|
|
24587
26144
|
};
|
|
26145
|
+
/**
|
|
26146
|
+
* List users and their roles in a scope
|
|
26147
|
+
* 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.
|
|
26148
|
+
*/
|
|
26149
|
+
export const marketplaceResourcesListUsersList = (options) => {
|
|
26150
|
+
return (options.client ?? _heyApiClient).get({
|
|
26151
|
+
security: [
|
|
26152
|
+
{
|
|
26153
|
+
name: 'Authorization',
|
|
26154
|
+
type: 'apiKey'
|
|
26155
|
+
},
|
|
26156
|
+
{
|
|
26157
|
+
scheme: 'bearer',
|
|
26158
|
+
type: 'http'
|
|
26159
|
+
},
|
|
26160
|
+
{
|
|
26161
|
+
scheme: 'bearer',
|
|
26162
|
+
type: 'http'
|
|
26163
|
+
}
|
|
26164
|
+
],
|
|
26165
|
+
url: '/api/marketplace-resources/{uuid}/list_users/',
|
|
26166
|
+
...options
|
|
26167
|
+
});
|
|
26168
|
+
};
|
|
24588
26169
|
/**
|
|
24589
26170
|
* Move a resource to another project
|
|
24590
26171
|
* Moves a resource and its associated data to a different project. Requires staff permissions.
|
|
@@ -25010,6 +26591,30 @@ export const marketplaceResourcesTeamList = (options) => {
|
|
|
25010
26591
|
...options
|
|
25011
26592
|
});
|
|
25012
26593
|
};
|
|
26594
|
+
/**
|
|
26595
|
+
* List team members of a resource
|
|
26596
|
+
* 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.
|
|
26597
|
+
*/
|
|
26598
|
+
export const marketplaceResourcesTeamMembersList = (options) => {
|
|
26599
|
+
return (options.client ?? _heyApiClient).get({
|
|
26600
|
+
security: [
|
|
26601
|
+
{
|
|
26602
|
+
name: 'Authorization',
|
|
26603
|
+
type: 'apiKey'
|
|
26604
|
+
},
|
|
26605
|
+
{
|
|
26606
|
+
scheme: 'bearer',
|
|
26607
|
+
type: 'http'
|
|
26608
|
+
},
|
|
26609
|
+
{
|
|
26610
|
+
scheme: 'bearer',
|
|
26611
|
+
type: 'http'
|
|
26612
|
+
}
|
|
26613
|
+
],
|
|
26614
|
+
url: '/api/marketplace-resources/{uuid}/team_members/',
|
|
26615
|
+
...options
|
|
26616
|
+
});
|
|
26617
|
+
};
|
|
25013
26618
|
/**
|
|
25014
26619
|
* Terminate a resource
|
|
25015
26620
|
* Creates a marketplace order to terminate the resource. This action is asynchronous and may require approval.
|
|
@@ -25118,6 +26723,34 @@ export const marketplaceResourcesUpdateOptions = (options) => {
|
|
|
25118
26723
|
}
|
|
25119
26724
|
});
|
|
25120
26725
|
};
|
|
26726
|
+
/**
|
|
26727
|
+
* Update a user's role expiration
|
|
26728
|
+
* 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.
|
|
26729
|
+
*/
|
|
26730
|
+
export const marketplaceResourcesUpdateUser = (options) => {
|
|
26731
|
+
return (options.client ?? _heyApiClient).post({
|
|
26732
|
+
security: [
|
|
26733
|
+
{
|
|
26734
|
+
name: 'Authorization',
|
|
26735
|
+
type: 'apiKey'
|
|
26736
|
+
},
|
|
26737
|
+
{
|
|
26738
|
+
scheme: 'bearer',
|
|
26739
|
+
type: 'http'
|
|
26740
|
+
},
|
|
26741
|
+
{
|
|
26742
|
+
scheme: 'bearer',
|
|
26743
|
+
type: 'http'
|
|
26744
|
+
}
|
|
26745
|
+
],
|
|
26746
|
+
url: '/api/marketplace-resources/{uuid}/update_user/',
|
|
26747
|
+
...options,
|
|
26748
|
+
headers: {
|
|
26749
|
+
'Content-Type': 'application/json',
|
|
26750
|
+
...options.headers
|
|
26751
|
+
}
|
|
26752
|
+
});
|
|
26753
|
+
};
|
|
25121
26754
|
/**
|
|
25122
26755
|
* Suggest a resource name
|
|
25123
26756
|
* 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 +33245,6 @@ export const notificationMessagesEnable = (options) => {
|
|
|
31612
33245
|
...options
|
|
31613
33246
|
});
|
|
31614
33247
|
};
|
|
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
33248
|
export const onboardingJustificationsList = (options) => {
|
|
32098
33249
|
return (options?.client ?? _heyApiClient).get({
|
|
32099
33250
|
security: [
|
|
@@ -32955,6 +34106,69 @@ export const onboardingSupportedCountriesRetrieve = (options) => {
|
|
|
32955
34106
|
...options
|
|
32956
34107
|
});
|
|
32957
34108
|
};
|
|
34109
|
+
export const openportalAccountingSummaryList = (options) => {
|
|
34110
|
+
return (options?.client ?? _heyApiClient).get({
|
|
34111
|
+
security: [
|
|
34112
|
+
{
|
|
34113
|
+
name: 'Authorization',
|
|
34114
|
+
type: 'apiKey'
|
|
34115
|
+
},
|
|
34116
|
+
{
|
|
34117
|
+
scheme: 'bearer',
|
|
34118
|
+
type: 'http'
|
|
34119
|
+
},
|
|
34120
|
+
{
|
|
34121
|
+
scheme: 'bearer',
|
|
34122
|
+
type: 'http'
|
|
34123
|
+
}
|
|
34124
|
+
],
|
|
34125
|
+
url: '/api/openportal-accounting-summary/',
|
|
34126
|
+
...options
|
|
34127
|
+
});
|
|
34128
|
+
};
|
|
34129
|
+
/**
|
|
34130
|
+
* Get number of items in the collection matching the request parameters.
|
|
34131
|
+
*/
|
|
34132
|
+
export const openportalAccountingSummaryCount = (options) => {
|
|
34133
|
+
return (options?.client ?? _heyApiClient).head({
|
|
34134
|
+
security: [
|
|
34135
|
+
{
|
|
34136
|
+
name: 'Authorization',
|
|
34137
|
+
type: 'apiKey'
|
|
34138
|
+
},
|
|
34139
|
+
{
|
|
34140
|
+
scheme: 'bearer',
|
|
34141
|
+
type: 'http'
|
|
34142
|
+
},
|
|
34143
|
+
{
|
|
34144
|
+
scheme: 'bearer',
|
|
34145
|
+
type: 'http'
|
|
34146
|
+
}
|
|
34147
|
+
],
|
|
34148
|
+
url: '/api/openportal-accounting-summary/',
|
|
34149
|
+
...options
|
|
34150
|
+
});
|
|
34151
|
+
};
|
|
34152
|
+
export const openportalAccountingSummaryRetrieve = (options) => {
|
|
34153
|
+
return (options.client ?? _heyApiClient).get({
|
|
34154
|
+
security: [
|
|
34155
|
+
{
|
|
34156
|
+
name: 'Authorization',
|
|
34157
|
+
type: 'apiKey'
|
|
34158
|
+
},
|
|
34159
|
+
{
|
|
34160
|
+
scheme: 'bearer',
|
|
34161
|
+
type: 'http'
|
|
34162
|
+
},
|
|
34163
|
+
{
|
|
34164
|
+
scheme: 'bearer',
|
|
34165
|
+
type: 'http'
|
|
34166
|
+
}
|
|
34167
|
+
],
|
|
34168
|
+
url: '/api/openportal-accounting-summary/{uuid}/',
|
|
34169
|
+
...options
|
|
34170
|
+
});
|
|
34171
|
+
};
|
|
32958
34172
|
export const openportalAllocationUserUsageList = (options) => {
|
|
32959
34173
|
return (options?.client ?? _heyApiClient).get({
|
|
32960
34174
|
security: [
|
|
@@ -33581,6 +34795,69 @@ export const openportalManagedProjectsReject = (options) => {
|
|
|
33581
34795
|
}
|
|
33582
34796
|
});
|
|
33583
34797
|
};
|
|
34798
|
+
export const openportalProjectStorageReportsList = (options) => {
|
|
34799
|
+
return (options?.client ?? _heyApiClient).get({
|
|
34800
|
+
security: [
|
|
34801
|
+
{
|
|
34802
|
+
name: 'Authorization',
|
|
34803
|
+
type: 'apiKey'
|
|
34804
|
+
},
|
|
34805
|
+
{
|
|
34806
|
+
scheme: 'bearer',
|
|
34807
|
+
type: 'http'
|
|
34808
|
+
},
|
|
34809
|
+
{
|
|
34810
|
+
scheme: 'bearer',
|
|
34811
|
+
type: 'http'
|
|
34812
|
+
}
|
|
34813
|
+
],
|
|
34814
|
+
url: '/api/openportal-project-storage-reports/',
|
|
34815
|
+
...options
|
|
34816
|
+
});
|
|
34817
|
+
};
|
|
34818
|
+
/**
|
|
34819
|
+
* Get number of items in the collection matching the request parameters.
|
|
34820
|
+
*/
|
|
34821
|
+
export const openportalProjectStorageReportsCount = (options) => {
|
|
34822
|
+
return (options?.client ?? _heyApiClient).head({
|
|
34823
|
+
security: [
|
|
34824
|
+
{
|
|
34825
|
+
name: 'Authorization',
|
|
34826
|
+
type: 'apiKey'
|
|
34827
|
+
},
|
|
34828
|
+
{
|
|
34829
|
+
scheme: 'bearer',
|
|
34830
|
+
type: 'http'
|
|
34831
|
+
},
|
|
34832
|
+
{
|
|
34833
|
+
scheme: 'bearer',
|
|
34834
|
+
type: 'http'
|
|
34835
|
+
}
|
|
34836
|
+
],
|
|
34837
|
+
url: '/api/openportal-project-storage-reports/',
|
|
34838
|
+
...options
|
|
34839
|
+
});
|
|
34840
|
+
};
|
|
34841
|
+
export const openportalProjectStorageReportsRetrieve = (options) => {
|
|
34842
|
+
return (options.client ?? _heyApiClient).get({
|
|
34843
|
+
security: [
|
|
34844
|
+
{
|
|
34845
|
+
name: 'Authorization',
|
|
34846
|
+
type: 'apiKey'
|
|
34847
|
+
},
|
|
34848
|
+
{
|
|
34849
|
+
scheme: 'bearer',
|
|
34850
|
+
type: 'http'
|
|
34851
|
+
},
|
|
34852
|
+
{
|
|
34853
|
+
scheme: 'bearer',
|
|
34854
|
+
type: 'http'
|
|
34855
|
+
}
|
|
34856
|
+
],
|
|
34857
|
+
url: '/api/openportal-project-storage-reports/{id}/',
|
|
34858
|
+
...options
|
|
34859
|
+
});
|
|
34860
|
+
};
|
|
33584
34861
|
export const openportalProjectTemplateList = (options) => {
|
|
33585
34862
|
return (options?.client ?? _heyApiClient).get({
|
|
33586
34863
|
security: [
|
|
@@ -33768,6 +35045,69 @@ export const openportalProjectTemplateDeleteDestroy = (options) => {
|
|
|
33768
35045
|
...options
|
|
33769
35046
|
});
|
|
33770
35047
|
};
|
|
35048
|
+
export const openportalProjectUsageReportsList = (options) => {
|
|
35049
|
+
return (options?.client ?? _heyApiClient).get({
|
|
35050
|
+
security: [
|
|
35051
|
+
{
|
|
35052
|
+
name: 'Authorization',
|
|
35053
|
+
type: 'apiKey'
|
|
35054
|
+
},
|
|
35055
|
+
{
|
|
35056
|
+
scheme: 'bearer',
|
|
35057
|
+
type: 'http'
|
|
35058
|
+
},
|
|
35059
|
+
{
|
|
35060
|
+
scheme: 'bearer',
|
|
35061
|
+
type: 'http'
|
|
35062
|
+
}
|
|
35063
|
+
],
|
|
35064
|
+
url: '/api/openportal-project-usage-reports/',
|
|
35065
|
+
...options
|
|
35066
|
+
});
|
|
35067
|
+
};
|
|
35068
|
+
/**
|
|
35069
|
+
* Get number of items in the collection matching the request parameters.
|
|
35070
|
+
*/
|
|
35071
|
+
export const openportalProjectUsageReportsCount = (options) => {
|
|
35072
|
+
return (options?.client ?? _heyApiClient).head({
|
|
35073
|
+
security: [
|
|
35074
|
+
{
|
|
35075
|
+
name: 'Authorization',
|
|
35076
|
+
type: 'apiKey'
|
|
35077
|
+
},
|
|
35078
|
+
{
|
|
35079
|
+
scheme: 'bearer',
|
|
35080
|
+
type: 'http'
|
|
35081
|
+
},
|
|
35082
|
+
{
|
|
35083
|
+
scheme: 'bearer',
|
|
35084
|
+
type: 'http'
|
|
35085
|
+
}
|
|
35086
|
+
],
|
|
35087
|
+
url: '/api/openportal-project-usage-reports/',
|
|
35088
|
+
...options
|
|
35089
|
+
});
|
|
35090
|
+
};
|
|
35091
|
+
export const openportalProjectUsageReportsRetrieve = (options) => {
|
|
35092
|
+
return (options.client ?? _heyApiClient).get({
|
|
35093
|
+
security: [
|
|
35094
|
+
{
|
|
35095
|
+
name: 'Authorization',
|
|
35096
|
+
type: 'apiKey'
|
|
35097
|
+
},
|
|
35098
|
+
{
|
|
35099
|
+
scheme: 'bearer',
|
|
35100
|
+
type: 'http'
|
|
35101
|
+
},
|
|
35102
|
+
{
|
|
35103
|
+
scheme: 'bearer',
|
|
35104
|
+
type: 'http'
|
|
35105
|
+
}
|
|
35106
|
+
],
|
|
35107
|
+
url: '/api/openportal-project-usage-reports/{id}/',
|
|
35108
|
+
...options
|
|
35109
|
+
});
|
|
35110
|
+
};
|
|
33771
35111
|
export const openportalProjectinfoList = (options) => {
|
|
33772
35112
|
return (options?.client ?? _heyApiClient).get({
|
|
33773
35113
|
security: [
|
|
@@ -34569,6 +35909,30 @@ export const openportalUnmanagedProjectsCompletionStatusRetrieve = (options) =>
|
|
|
34569
35909
|
...options
|
|
34570
35910
|
});
|
|
34571
35911
|
};
|
|
35912
|
+
/**
|
|
35913
|
+
* Get project resource usage statistics broken down per offering
|
|
35914
|
+
* Returns one row per (offering, component type, billing type) for all non-terminated resources within the project. Each row's `usage` and `limit_usage` are aggregated using the offering's own `limit_period`, so quarterly offerings report quarter-to-date, yearly report year-to-date, total report lifetime, and monthly report current month. Each row also includes the resolved current period bounds (`current_period_label`, `current_period_start`, `current_period_end`).
|
|
35915
|
+
*/
|
|
35916
|
+
export const openportalUnmanagedProjectsComponentsUsageRetrieve = (options) => {
|
|
35917
|
+
return (options.client ?? _heyApiClient).get({
|
|
35918
|
+
security: [
|
|
35919
|
+
{
|
|
35920
|
+
name: 'Authorization',
|
|
35921
|
+
type: 'apiKey'
|
|
35922
|
+
},
|
|
35923
|
+
{
|
|
35924
|
+
scheme: 'bearer',
|
|
35925
|
+
type: 'http'
|
|
35926
|
+
},
|
|
35927
|
+
{
|
|
35928
|
+
scheme: 'bearer',
|
|
35929
|
+
type: 'http'
|
|
35930
|
+
}
|
|
35931
|
+
],
|
|
35932
|
+
url: '/api/openportal-unmanaged-projects/{uuid}/components-usage/',
|
|
35933
|
+
...options
|
|
35934
|
+
});
|
|
35935
|
+
};
|
|
34572
35936
|
/**
|
|
34573
35937
|
* Revoke a role from a user
|
|
34574
35938
|
* Removes a specific role from a user within the current scope. This effectively revokes their permissions associated with that role.
|
|
@@ -34728,6 +36092,34 @@ export const openportalUnmanagedProjectsSubmitAnswers = (options) => {
|
|
|
34728
36092
|
}
|
|
34729
36093
|
});
|
|
34730
36094
|
};
|
|
36095
|
+
/**
|
|
36096
|
+
* Update affiliated organizations for a project
|
|
36097
|
+
* Assigns a project to one or more affiliated organizations. Replaces the current set.
|
|
36098
|
+
*/
|
|
36099
|
+
export const openportalUnmanagedProjectsUpdateAffiliatedOrganizations = (options) => {
|
|
36100
|
+
return (options.client ?? _heyApiClient).post({
|
|
36101
|
+
security: [
|
|
36102
|
+
{
|
|
36103
|
+
name: 'Authorization',
|
|
36104
|
+
type: 'apiKey'
|
|
36105
|
+
},
|
|
36106
|
+
{
|
|
36107
|
+
scheme: 'bearer',
|
|
36108
|
+
type: 'http'
|
|
36109
|
+
},
|
|
36110
|
+
{
|
|
36111
|
+
scheme: 'bearer',
|
|
36112
|
+
type: 'http'
|
|
36113
|
+
}
|
|
36114
|
+
],
|
|
36115
|
+
url: '/api/openportal-unmanaged-projects/{uuid}/update_affiliated_organizations/',
|
|
36116
|
+
...options,
|
|
36117
|
+
headers: {
|
|
36118
|
+
'Content-Type': 'application/json',
|
|
36119
|
+
...options.headers
|
|
36120
|
+
}
|
|
36121
|
+
});
|
|
36122
|
+
};
|
|
34731
36123
|
/**
|
|
34732
36124
|
* Update a user's role expiration
|
|
34733
36125
|
* 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 +36416,95 @@ export const openportalUserinfoMeCount = (options) => {
|
|
|
35024
36416
|
...options
|
|
35025
36417
|
});
|
|
35026
36418
|
};
|
|
36419
|
+
export const openportalAccessForEmailList = (options) => {
|
|
36420
|
+
return (options.client ?? _heyApiClient).get({
|
|
36421
|
+
security: [
|
|
36422
|
+
{
|
|
36423
|
+
name: 'Authorization',
|
|
36424
|
+
type: 'apiKey'
|
|
36425
|
+
},
|
|
36426
|
+
{
|
|
36427
|
+
scheme: 'bearer',
|
|
36428
|
+
type: 'http'
|
|
36429
|
+
},
|
|
36430
|
+
{
|
|
36431
|
+
scheme: 'bearer',
|
|
36432
|
+
type: 'http'
|
|
36433
|
+
}
|
|
36434
|
+
],
|
|
36435
|
+
url: '/api/openportal/access_for_email/',
|
|
36436
|
+
...options
|
|
36437
|
+
});
|
|
36438
|
+
};
|
|
36439
|
+
/**
|
|
36440
|
+
* 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.
|
|
36441
|
+
*/
|
|
36442
|
+
export const openportalOfferingMappingRetrieve = (options) => {
|
|
36443
|
+
return (options?.client ?? _heyApiClient).get({
|
|
36444
|
+
security: [
|
|
36445
|
+
{
|
|
36446
|
+
name: 'Authorization',
|
|
36447
|
+
type: 'apiKey'
|
|
36448
|
+
},
|
|
36449
|
+
{
|
|
36450
|
+
scheme: 'bearer',
|
|
36451
|
+
type: 'http'
|
|
36452
|
+
},
|
|
36453
|
+
{
|
|
36454
|
+
scheme: 'bearer',
|
|
36455
|
+
type: 'http'
|
|
36456
|
+
}
|
|
36457
|
+
],
|
|
36458
|
+
url: '/api/openportal/offering_mapping/',
|
|
36459
|
+
...options
|
|
36460
|
+
});
|
|
36461
|
+
};
|
|
36462
|
+
/**
|
|
36463
|
+
* 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.
|
|
36464
|
+
*/
|
|
36465
|
+
export const openportalProjectMappingRetrieve = (options) => {
|
|
36466
|
+
return (options?.client ?? _heyApiClient).get({
|
|
36467
|
+
security: [
|
|
36468
|
+
{
|
|
36469
|
+
name: 'Authorization',
|
|
36470
|
+
type: 'apiKey'
|
|
36471
|
+
},
|
|
36472
|
+
{
|
|
36473
|
+
scheme: 'bearer',
|
|
36474
|
+
type: 'http'
|
|
36475
|
+
},
|
|
36476
|
+
{
|
|
36477
|
+
scheme: 'bearer',
|
|
36478
|
+
type: 'http'
|
|
36479
|
+
}
|
|
36480
|
+
],
|
|
36481
|
+
url: '/api/openportal/project_mapping/',
|
|
36482
|
+
...options
|
|
36483
|
+
});
|
|
36484
|
+
};
|
|
36485
|
+
/**
|
|
36486
|
+
* 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.
|
|
36487
|
+
*/
|
|
36488
|
+
export const openportalUserMappingRetrieve = (options) => {
|
|
36489
|
+
return (options?.client ?? _heyApiClient).get({
|
|
36490
|
+
security: [
|
|
36491
|
+
{
|
|
36492
|
+
name: 'Authorization',
|
|
36493
|
+
type: 'apiKey'
|
|
36494
|
+
},
|
|
36495
|
+
{
|
|
36496
|
+
scheme: 'bearer',
|
|
36497
|
+
type: 'http'
|
|
36498
|
+
},
|
|
36499
|
+
{
|
|
36500
|
+
scheme: 'bearer',
|
|
36501
|
+
type: 'http'
|
|
36502
|
+
}
|
|
36503
|
+
],
|
|
36504
|
+
url: '/api/openportal/user_mapping/',
|
|
36505
|
+
...options
|
|
36506
|
+
});
|
|
36507
|
+
};
|
|
35027
36508
|
/**
|
|
35028
36509
|
* List backups
|
|
35029
36510
|
* Get a list of instance backups.
|
|
@@ -35980,6 +37461,228 @@ export const openstackHealthMonitorsPull = (options) => {
|
|
|
35980
37461
|
...options
|
|
35981
37462
|
});
|
|
35982
37463
|
};
|
|
37464
|
+
export const openstackHypervisorInventoriesList = (options) => {
|
|
37465
|
+
return (options?.client ?? _heyApiClient).get({
|
|
37466
|
+
security: [
|
|
37467
|
+
{
|
|
37468
|
+
name: 'Authorization',
|
|
37469
|
+
type: 'apiKey'
|
|
37470
|
+
},
|
|
37471
|
+
{
|
|
37472
|
+
scheme: 'bearer',
|
|
37473
|
+
type: 'http'
|
|
37474
|
+
},
|
|
37475
|
+
{
|
|
37476
|
+
scheme: 'bearer',
|
|
37477
|
+
type: 'http'
|
|
37478
|
+
}
|
|
37479
|
+
],
|
|
37480
|
+
url: '/api/openstack-hypervisor-inventories/',
|
|
37481
|
+
...options
|
|
37482
|
+
});
|
|
37483
|
+
};
|
|
37484
|
+
/**
|
|
37485
|
+
* Get number of items in the collection matching the request parameters.
|
|
37486
|
+
*/
|
|
37487
|
+
export const openstackHypervisorInventoriesCount = (options) => {
|
|
37488
|
+
return (options?.client ?? _heyApiClient).head({
|
|
37489
|
+
security: [
|
|
37490
|
+
{
|
|
37491
|
+
name: 'Authorization',
|
|
37492
|
+
type: 'apiKey'
|
|
37493
|
+
},
|
|
37494
|
+
{
|
|
37495
|
+
scheme: 'bearer',
|
|
37496
|
+
type: 'http'
|
|
37497
|
+
},
|
|
37498
|
+
{
|
|
37499
|
+
scheme: 'bearer',
|
|
37500
|
+
type: 'http'
|
|
37501
|
+
}
|
|
37502
|
+
],
|
|
37503
|
+
url: '/api/openstack-hypervisor-inventories/',
|
|
37504
|
+
...options
|
|
37505
|
+
});
|
|
37506
|
+
};
|
|
37507
|
+
export const openstackHypervisorInventoriesRetrieve = (options) => {
|
|
37508
|
+
return (options.client ?? _heyApiClient).get({
|
|
37509
|
+
security: [
|
|
37510
|
+
{
|
|
37511
|
+
name: 'Authorization',
|
|
37512
|
+
type: 'apiKey'
|
|
37513
|
+
},
|
|
37514
|
+
{
|
|
37515
|
+
scheme: 'bearer',
|
|
37516
|
+
type: 'http'
|
|
37517
|
+
},
|
|
37518
|
+
{
|
|
37519
|
+
scheme: 'bearer',
|
|
37520
|
+
type: 'http'
|
|
37521
|
+
}
|
|
37522
|
+
],
|
|
37523
|
+
url: '/api/openstack-hypervisor-inventories/{uuid}/',
|
|
37524
|
+
...options
|
|
37525
|
+
});
|
|
37526
|
+
};
|
|
37527
|
+
export const openstackHypervisorsList = (options) => {
|
|
37528
|
+
return (options?.client ?? _heyApiClient).get({
|
|
37529
|
+
security: [
|
|
37530
|
+
{
|
|
37531
|
+
name: 'Authorization',
|
|
37532
|
+
type: 'apiKey'
|
|
37533
|
+
},
|
|
37534
|
+
{
|
|
37535
|
+
scheme: 'bearer',
|
|
37536
|
+
type: 'http'
|
|
37537
|
+
},
|
|
37538
|
+
{
|
|
37539
|
+
scheme: 'bearer',
|
|
37540
|
+
type: 'http'
|
|
37541
|
+
}
|
|
37542
|
+
],
|
|
37543
|
+
url: '/api/openstack-hypervisors/',
|
|
37544
|
+
...options
|
|
37545
|
+
});
|
|
37546
|
+
};
|
|
37547
|
+
/**
|
|
37548
|
+
* Get number of items in the collection matching the request parameters.
|
|
37549
|
+
*/
|
|
37550
|
+
export const openstackHypervisorsCount = (options) => {
|
|
37551
|
+
return (options?.client ?? _heyApiClient).head({
|
|
37552
|
+
security: [
|
|
37553
|
+
{
|
|
37554
|
+
name: 'Authorization',
|
|
37555
|
+
type: 'apiKey'
|
|
37556
|
+
},
|
|
37557
|
+
{
|
|
37558
|
+
scheme: 'bearer',
|
|
37559
|
+
type: 'http'
|
|
37560
|
+
},
|
|
37561
|
+
{
|
|
37562
|
+
scheme: 'bearer',
|
|
37563
|
+
type: 'http'
|
|
37564
|
+
}
|
|
37565
|
+
],
|
|
37566
|
+
url: '/api/openstack-hypervisors/',
|
|
37567
|
+
...options
|
|
37568
|
+
});
|
|
37569
|
+
};
|
|
37570
|
+
export const openstackHypervisorsRetrieve = (options) => {
|
|
37571
|
+
return (options.client ?? _heyApiClient).get({
|
|
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/{uuid}/',
|
|
37587
|
+
...options
|
|
37588
|
+
});
|
|
37589
|
+
};
|
|
37590
|
+
/**
|
|
37591
|
+
* Pre-flight allocation candidates
|
|
37592
|
+
* 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.
|
|
37593
|
+
*/
|
|
37594
|
+
export const openstackHypervisorsAllocationCandidatesRetrieve = (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/allocation_candidates/',
|
|
37611
|
+
...options
|
|
37612
|
+
});
|
|
37613
|
+
};
|
|
37614
|
+
/**
|
|
37615
|
+
* Pre-flight allocation candidates
|
|
37616
|
+
* Get number of items in the collection matching the request parameters.
|
|
37617
|
+
*/
|
|
37618
|
+
export const openstackHypervisorsAllocationCandidatesCount = (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/allocation_candidates/',
|
|
37635
|
+
...options
|
|
37636
|
+
});
|
|
37637
|
+
};
|
|
37638
|
+
/**
|
|
37639
|
+
* Get hypervisor summary statistics
|
|
37640
|
+
* Return aggregated vCPU, RAM and disk totals across all hypervisors matching the current filter (e.g. settings_uuid).
|
|
37641
|
+
*/
|
|
37642
|
+
export const openstackHypervisorsSummaryRetrieve = (options) => {
|
|
37643
|
+
return (options.client ?? _heyApiClient).get({
|
|
37644
|
+
security: [
|
|
37645
|
+
{
|
|
37646
|
+
name: 'Authorization',
|
|
37647
|
+
type: 'apiKey'
|
|
37648
|
+
},
|
|
37649
|
+
{
|
|
37650
|
+
scheme: 'bearer',
|
|
37651
|
+
type: 'http'
|
|
37652
|
+
},
|
|
37653
|
+
{
|
|
37654
|
+
scheme: 'bearer',
|
|
37655
|
+
type: 'http'
|
|
37656
|
+
}
|
|
37657
|
+
],
|
|
37658
|
+
url: '/api/openstack-hypervisors/summary/',
|
|
37659
|
+
...options
|
|
37660
|
+
});
|
|
37661
|
+
};
|
|
37662
|
+
/**
|
|
37663
|
+
* Get hypervisor summary statistics
|
|
37664
|
+
* Get number of items in the collection matching the request parameters.
|
|
37665
|
+
*/
|
|
37666
|
+
export const openstackHypervisorsSummaryCount = (options) => {
|
|
37667
|
+
return (options.client ?? _heyApiClient).head({
|
|
37668
|
+
security: [
|
|
37669
|
+
{
|
|
37670
|
+
name: 'Authorization',
|
|
37671
|
+
type: 'apiKey'
|
|
37672
|
+
},
|
|
37673
|
+
{
|
|
37674
|
+
scheme: 'bearer',
|
|
37675
|
+
type: 'http'
|
|
37676
|
+
},
|
|
37677
|
+
{
|
|
37678
|
+
scheme: 'bearer',
|
|
37679
|
+
type: 'http'
|
|
37680
|
+
}
|
|
37681
|
+
],
|
|
37682
|
+
url: '/api/openstack-hypervisors/summary/',
|
|
37683
|
+
...options
|
|
37684
|
+
});
|
|
37685
|
+
};
|
|
35983
37686
|
/**
|
|
35984
37687
|
* List images
|
|
35985
37688
|
* Get a list of available VM instance images.
|
|
@@ -36428,6 +38131,30 @@ export const openstackInstancesFloatingIpsList = (options) => {
|
|
|
36428
38131
|
...options
|
|
36429
38132
|
});
|
|
36430
38133
|
};
|
|
38134
|
+
/**
|
|
38135
|
+
* Get Placement allocations for the instance
|
|
38136
|
+
* 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).
|
|
38137
|
+
*/
|
|
38138
|
+
export const openstackInstancesPlacementAllocationsList = (options) => {
|
|
38139
|
+
return (options.client ?? _heyApiClient).get({
|
|
38140
|
+
security: [
|
|
38141
|
+
{
|
|
38142
|
+
name: 'Authorization',
|
|
38143
|
+
type: 'apiKey'
|
|
38144
|
+
},
|
|
38145
|
+
{
|
|
38146
|
+
scheme: 'bearer',
|
|
38147
|
+
type: 'http'
|
|
38148
|
+
},
|
|
38149
|
+
{
|
|
38150
|
+
scheme: 'bearer',
|
|
38151
|
+
type: 'http'
|
|
38152
|
+
}
|
|
38153
|
+
],
|
|
38154
|
+
url: '/api/openstack-instances/{uuid}/placement_allocations/',
|
|
38155
|
+
...options
|
|
38156
|
+
});
|
|
38157
|
+
};
|
|
36431
38158
|
/**
|
|
36432
38159
|
* List instance ports
|
|
36433
38160
|
* Get a list of instance ports
|
|
@@ -36476,6 +38203,34 @@ export const openstackInstancesPull = (options) => {
|
|
|
36476
38203
|
...options
|
|
36477
38204
|
});
|
|
36478
38205
|
};
|
|
38206
|
+
/**
|
|
38207
|
+
* Rescue instance
|
|
38208
|
+
* 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.
|
|
38209
|
+
*/
|
|
38210
|
+
export const openstackInstancesRescue = (options) => {
|
|
38211
|
+
return (options.client ?? _heyApiClient).post({
|
|
38212
|
+
security: [
|
|
38213
|
+
{
|
|
38214
|
+
name: 'Authorization',
|
|
38215
|
+
type: 'apiKey'
|
|
38216
|
+
},
|
|
38217
|
+
{
|
|
38218
|
+
scheme: 'bearer',
|
|
38219
|
+
type: 'http'
|
|
38220
|
+
},
|
|
38221
|
+
{
|
|
38222
|
+
scheme: 'bearer',
|
|
38223
|
+
type: 'http'
|
|
38224
|
+
}
|
|
38225
|
+
],
|
|
38226
|
+
url: '/api/openstack-instances/{uuid}/rescue/',
|
|
38227
|
+
...options,
|
|
38228
|
+
headers: {
|
|
38229
|
+
'Content-Type': 'application/json',
|
|
38230
|
+
...options.headers
|
|
38231
|
+
}
|
|
38232
|
+
});
|
|
38233
|
+
};
|
|
36479
38234
|
/**
|
|
36480
38235
|
* Restart instance
|
|
36481
38236
|
* Restart the instance
|
|
@@ -36626,6 +38381,30 @@ export const openstackInstancesUnlink = (options) => {
|
|
|
36626
38381
|
...options
|
|
36627
38382
|
});
|
|
36628
38383
|
};
|
|
38384
|
+
/**
|
|
38385
|
+
* Unrescue instance
|
|
38386
|
+
* Restore the instance from rescue mode.
|
|
38387
|
+
*/
|
|
38388
|
+
export const openstackInstancesUnrescue = (options) => {
|
|
38389
|
+
return (options.client ?? _heyApiClient).post({
|
|
38390
|
+
security: [
|
|
38391
|
+
{
|
|
38392
|
+
name: 'Authorization',
|
|
38393
|
+
type: 'apiKey'
|
|
38394
|
+
},
|
|
38395
|
+
{
|
|
38396
|
+
scheme: 'bearer',
|
|
38397
|
+
type: 'http'
|
|
38398
|
+
},
|
|
38399
|
+
{
|
|
38400
|
+
scheme: 'bearer',
|
|
38401
|
+
type: 'http'
|
|
38402
|
+
}
|
|
38403
|
+
],
|
|
38404
|
+
url: '/api/openstack-instances/{uuid}/unrescue/',
|
|
38405
|
+
...options
|
|
38406
|
+
});
|
|
38407
|
+
};
|
|
36629
38408
|
/**
|
|
36630
38409
|
* Update instance allowed address pairs
|
|
36631
38410
|
* Update allowed address pairs of the instance
|
|
@@ -39046,6 +40825,54 @@ export const openstackRoutersAddRouterInterface = (options) => {
|
|
|
39046
40825
|
}
|
|
39047
40826
|
});
|
|
39048
40827
|
};
|
|
40828
|
+
/**
|
|
40829
|
+
* List available external networks
|
|
40830
|
+
* Returns a merged list of external networks available for this router's tenant, from both global external networks and RBAC-exposed networks.
|
|
40831
|
+
*/
|
|
40832
|
+
export const openstackRoutersAvailableExternalNetworksList = (options) => {
|
|
40833
|
+
return (options.client ?? _heyApiClient).get({
|
|
40834
|
+
security: [
|
|
40835
|
+
{
|
|
40836
|
+
name: 'Authorization',
|
|
40837
|
+
type: 'apiKey'
|
|
40838
|
+
},
|
|
40839
|
+
{
|
|
40840
|
+
scheme: 'bearer',
|
|
40841
|
+
type: 'http'
|
|
40842
|
+
},
|
|
40843
|
+
{
|
|
40844
|
+
scheme: 'bearer',
|
|
40845
|
+
type: 'http'
|
|
40846
|
+
}
|
|
40847
|
+
],
|
|
40848
|
+
url: '/api/openstack-routers/{uuid}/available_external_networks/',
|
|
40849
|
+
...options
|
|
40850
|
+
});
|
|
40851
|
+
};
|
|
40852
|
+
/**
|
|
40853
|
+
* Remove external gateway
|
|
40854
|
+
* Remove the external gateway from this router.
|
|
40855
|
+
*/
|
|
40856
|
+
export const openstackRoutersRemoveExternalGateway = (options) => {
|
|
40857
|
+
return (options.client ?? _heyApiClient).post({
|
|
40858
|
+
security: [
|
|
40859
|
+
{
|
|
40860
|
+
name: 'Authorization',
|
|
40861
|
+
type: 'apiKey'
|
|
40862
|
+
},
|
|
40863
|
+
{
|
|
40864
|
+
scheme: 'bearer',
|
|
40865
|
+
type: 'http'
|
|
40866
|
+
},
|
|
40867
|
+
{
|
|
40868
|
+
scheme: 'bearer',
|
|
40869
|
+
type: 'http'
|
|
40870
|
+
}
|
|
40871
|
+
],
|
|
40872
|
+
url: '/api/openstack-routers/{uuid}/remove_external_gateway/',
|
|
40873
|
+
...options
|
|
40874
|
+
});
|
|
40875
|
+
};
|
|
39049
40876
|
/**
|
|
39050
40877
|
* Remove router interface
|
|
39051
40878
|
* Remove interface from router. Either subnet or port must be provided.
|
|
@@ -39102,6 +40929,34 @@ export const openstackRoutersSetErred = (options) => {
|
|
|
39102
40929
|
}
|
|
39103
40930
|
});
|
|
39104
40931
|
};
|
|
40932
|
+
/**
|
|
40933
|
+
* Set external gateway
|
|
40934
|
+
* Set an external network as the gateway for this router. Advanced options (SNAT control, fixed IPs) require additional permissions.
|
|
40935
|
+
*/
|
|
40936
|
+
export const openstackRoutersSetExternalGateway = (options) => {
|
|
40937
|
+
return (options.client ?? _heyApiClient).post({
|
|
40938
|
+
security: [
|
|
40939
|
+
{
|
|
40940
|
+
name: 'Authorization',
|
|
40941
|
+
type: 'apiKey'
|
|
40942
|
+
},
|
|
40943
|
+
{
|
|
40944
|
+
scheme: 'bearer',
|
|
40945
|
+
type: 'http'
|
|
40946
|
+
},
|
|
40947
|
+
{
|
|
40948
|
+
scheme: 'bearer',
|
|
40949
|
+
type: 'http'
|
|
40950
|
+
}
|
|
40951
|
+
],
|
|
40952
|
+
url: '/api/openstack-routers/{uuid}/set_external_gateway/',
|
|
40953
|
+
...options,
|
|
40954
|
+
headers: {
|
|
40955
|
+
'Content-Type': 'application/json',
|
|
40956
|
+
...options.headers
|
|
40957
|
+
}
|
|
40958
|
+
});
|
|
40959
|
+
};
|
|
39105
40960
|
/**
|
|
39106
40961
|
* Mark router as OK
|
|
39107
40962
|
* Manually transition the router to OK state and clear error fields. Staff-only operation.
|
|
@@ -43304,6 +45159,30 @@ export const projectsCompletionStatusRetrieve = (options) => {
|
|
|
43304
45159
|
...options
|
|
43305
45160
|
});
|
|
43306
45161
|
};
|
|
45162
|
+
/**
|
|
45163
|
+
* Get project resource usage statistics broken down per offering
|
|
45164
|
+
* Returns one row per (offering, component type, billing type) for all non-terminated resources within the project. Each row's `usage` and `limit_usage` are aggregated using the offering's own `limit_period`, so quarterly offerings report quarter-to-date, yearly report year-to-date, total report lifetime, and monthly report current month. Each row also includes the resolved current period bounds (`current_period_label`, `current_period_start`, `current_period_end`).
|
|
45165
|
+
*/
|
|
45166
|
+
export const projectsComponentsUsageRetrieve = (options) => {
|
|
45167
|
+
return (options.client ?? _heyApiClient).get({
|
|
45168
|
+
security: [
|
|
45169
|
+
{
|
|
45170
|
+
name: 'Authorization',
|
|
45171
|
+
type: 'apiKey'
|
|
45172
|
+
},
|
|
45173
|
+
{
|
|
45174
|
+
scheme: 'bearer',
|
|
45175
|
+
type: 'http'
|
|
45176
|
+
},
|
|
45177
|
+
{
|
|
45178
|
+
scheme: 'bearer',
|
|
45179
|
+
type: 'http'
|
|
45180
|
+
}
|
|
45181
|
+
],
|
|
45182
|
+
url: '/api/projects/{uuid}/components-usage/',
|
|
45183
|
+
...options
|
|
45184
|
+
});
|
|
45185
|
+
};
|
|
43307
45186
|
/**
|
|
43308
45187
|
* Revoke a role from a user
|
|
43309
45188
|
* Removes a specific role from a user within the current scope. This effectively revokes their permissions associated with that role.
|
|
@@ -43486,6 +45365,34 @@ export const projectsSyncUserRoles = (options) => {
|
|
|
43486
45365
|
...options
|
|
43487
45366
|
});
|
|
43488
45367
|
};
|
|
45368
|
+
/**
|
|
45369
|
+
* Update affiliated organizations for a project
|
|
45370
|
+
* Assigns a project to one or more affiliated organizations. Replaces the current set.
|
|
45371
|
+
*/
|
|
45372
|
+
export const projectsUpdateAffiliatedOrganizations = (options) => {
|
|
45373
|
+
return (options.client ?? _heyApiClient).post({
|
|
45374
|
+
security: [
|
|
45375
|
+
{
|
|
45376
|
+
name: 'Authorization',
|
|
45377
|
+
type: 'apiKey'
|
|
45378
|
+
},
|
|
45379
|
+
{
|
|
45380
|
+
scheme: 'bearer',
|
|
45381
|
+
type: 'http'
|
|
45382
|
+
},
|
|
45383
|
+
{
|
|
45384
|
+
scheme: 'bearer',
|
|
45385
|
+
type: 'http'
|
|
45386
|
+
}
|
|
45387
|
+
],
|
|
45388
|
+
url: '/api/projects/{uuid}/update_affiliated_organizations/',
|
|
45389
|
+
...options,
|
|
45390
|
+
headers: {
|
|
45391
|
+
'Content-Type': 'application/json',
|
|
45392
|
+
...options.headers
|
|
45393
|
+
}
|
|
45394
|
+
});
|
|
45395
|
+
};
|
|
43489
45396
|
/**
|
|
43490
45397
|
* Update a user's role expiration
|
|
43491
45398
|
* 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 +46595,6 @@ export const proposalProtectedCallsAffinityMatrixRetrieve = (options) => {
|
|
|
44688
46595
|
...options
|
|
44689
46596
|
});
|
|
44690
46597
|
};
|
|
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
46598
|
/**
|
|
44715
46599
|
* Archive a call.
|
|
44716
46600
|
*/
|
|
@@ -44934,29 +46818,6 @@ export const proposalProtectedCallsCreateManualAssignment = (options) => {
|
|
|
44934
46818
|
}
|
|
44935
46819
|
});
|
|
44936
46820
|
};
|
|
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
46821
|
/**
|
|
44961
46822
|
* Revoke a role from a user
|
|
44962
46823
|
* Removes a specific role from a user within the current scope. This effectively revokes their permissions associated with that role.
|
|
@@ -45828,60 +47689,6 @@ export const proposalProtectedCallsSuggestionsList = (options) => {
|
|
|
45828
47689
|
...options
|
|
45829
47690
|
});
|
|
45830
47691
|
};
|
|
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
47692
|
/**
|
|
45886
47693
|
* Update a user's role expiration
|
|
45887
47694
|
* 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 +52960,89 @@ export const reviewerSuggestionsReject = (options) => {
|
|
|
51153
52960
|
}
|
|
51154
52961
|
});
|
|
51155
52962
|
};
|
|
52963
|
+
export const roleAvailabilitiesList = (options) => {
|
|
52964
|
+
return (options?.client ?? _heyApiClient).get({
|
|
52965
|
+
security: [
|
|
52966
|
+
{
|
|
52967
|
+
name: 'Authorization',
|
|
52968
|
+
type: 'apiKey'
|
|
52969
|
+
},
|
|
52970
|
+
{
|
|
52971
|
+
scheme: 'bearer',
|
|
52972
|
+
type: 'http'
|
|
52973
|
+
},
|
|
52974
|
+
{
|
|
52975
|
+
scheme: 'bearer',
|
|
52976
|
+
type: 'http'
|
|
52977
|
+
}
|
|
52978
|
+
],
|
|
52979
|
+
url: '/api/role-availabilities/',
|
|
52980
|
+
...options
|
|
52981
|
+
});
|
|
52982
|
+
};
|
|
52983
|
+
/**
|
|
52984
|
+
* Get number of items in the collection matching the request parameters.
|
|
52985
|
+
*/
|
|
52986
|
+
export const roleAvailabilitiesCount = (options) => {
|
|
52987
|
+
return (options?.client ?? _heyApiClient).head({
|
|
52988
|
+
security: [
|
|
52989
|
+
{
|
|
52990
|
+
name: 'Authorization',
|
|
52991
|
+
type: 'apiKey'
|
|
52992
|
+
},
|
|
52993
|
+
{
|
|
52994
|
+
scheme: 'bearer',
|
|
52995
|
+
type: 'http'
|
|
52996
|
+
},
|
|
52997
|
+
{
|
|
52998
|
+
scheme: 'bearer',
|
|
52999
|
+
type: 'http'
|
|
53000
|
+
}
|
|
53001
|
+
],
|
|
53002
|
+
url: '/api/role-availabilities/',
|
|
53003
|
+
...options
|
|
53004
|
+
});
|
|
53005
|
+
};
|
|
53006
|
+
export const roleAvailabilitiesDestroy = (options) => {
|
|
53007
|
+
return (options.client ?? _heyApiClient).delete({
|
|
53008
|
+
security: [
|
|
53009
|
+
{
|
|
53010
|
+
name: 'Authorization',
|
|
53011
|
+
type: 'apiKey'
|
|
53012
|
+
},
|
|
53013
|
+
{
|
|
53014
|
+
scheme: 'bearer',
|
|
53015
|
+
type: 'http'
|
|
53016
|
+
},
|
|
53017
|
+
{
|
|
53018
|
+
scheme: 'bearer',
|
|
53019
|
+
type: 'http'
|
|
53020
|
+
}
|
|
53021
|
+
],
|
|
53022
|
+
url: '/api/role-availabilities/{uuid}/',
|
|
53023
|
+
...options
|
|
53024
|
+
});
|
|
53025
|
+
};
|
|
53026
|
+
export const roleAvailabilitiesRetrieve = (options) => {
|
|
53027
|
+
return (options.client ?? _heyApiClient).get({
|
|
53028
|
+
security: [
|
|
53029
|
+
{
|
|
53030
|
+
name: 'Authorization',
|
|
53031
|
+
type: 'apiKey'
|
|
53032
|
+
},
|
|
53033
|
+
{
|
|
53034
|
+
scheme: 'bearer',
|
|
53035
|
+
type: 'http'
|
|
53036
|
+
},
|
|
53037
|
+
{
|
|
53038
|
+
scheme: 'bearer',
|
|
53039
|
+
type: 'http'
|
|
53040
|
+
}
|
|
53041
|
+
],
|
|
53042
|
+
url: '/api/role-availabilities/{uuid}/',
|
|
53043
|
+
...options
|
|
53044
|
+
});
|
|
53045
|
+
};
|
|
51156
53046
|
/**
|
|
51157
53047
|
* List roles
|
|
51158
53048
|
* Get a list of all available roles.
|
|
@@ -51405,6 +53295,390 @@ export const rolesUpdateDescriptionsUpdate = (options) => {
|
|
|
51405
53295
|
}
|
|
51406
53296
|
});
|
|
51407
53297
|
};
|
|
53298
|
+
export const scienceDomainsList = (options) => {
|
|
53299
|
+
return (options?.client ?? _heyApiClient).get({
|
|
53300
|
+
security: [
|
|
53301
|
+
{
|
|
53302
|
+
name: 'Authorization',
|
|
53303
|
+
type: 'apiKey'
|
|
53304
|
+
},
|
|
53305
|
+
{
|
|
53306
|
+
scheme: 'bearer',
|
|
53307
|
+
type: 'http'
|
|
53308
|
+
},
|
|
53309
|
+
{
|
|
53310
|
+
scheme: 'bearer',
|
|
53311
|
+
type: 'http'
|
|
53312
|
+
}
|
|
53313
|
+
],
|
|
53314
|
+
url: '/api/science-domains/',
|
|
53315
|
+
...options
|
|
53316
|
+
});
|
|
53317
|
+
};
|
|
53318
|
+
/**
|
|
53319
|
+
* Get number of items in the collection matching the request parameters.
|
|
53320
|
+
*/
|
|
53321
|
+
export const scienceDomainsCount = (options) => {
|
|
53322
|
+
return (options?.client ?? _heyApiClient).head({
|
|
53323
|
+
security: [
|
|
53324
|
+
{
|
|
53325
|
+
name: 'Authorization',
|
|
53326
|
+
type: 'apiKey'
|
|
53327
|
+
},
|
|
53328
|
+
{
|
|
53329
|
+
scheme: 'bearer',
|
|
53330
|
+
type: 'http'
|
|
53331
|
+
},
|
|
53332
|
+
{
|
|
53333
|
+
scheme: 'bearer',
|
|
53334
|
+
type: 'http'
|
|
53335
|
+
}
|
|
53336
|
+
],
|
|
53337
|
+
url: '/api/science-domains/',
|
|
53338
|
+
...options
|
|
53339
|
+
});
|
|
53340
|
+
};
|
|
53341
|
+
export const scienceDomainsCreate = (options) => {
|
|
53342
|
+
return (options.client ?? _heyApiClient).post({
|
|
53343
|
+
security: [
|
|
53344
|
+
{
|
|
53345
|
+
name: 'Authorization',
|
|
53346
|
+
type: 'apiKey'
|
|
53347
|
+
},
|
|
53348
|
+
{
|
|
53349
|
+
scheme: 'bearer',
|
|
53350
|
+
type: 'http'
|
|
53351
|
+
},
|
|
53352
|
+
{
|
|
53353
|
+
scheme: 'bearer',
|
|
53354
|
+
type: 'http'
|
|
53355
|
+
}
|
|
53356
|
+
],
|
|
53357
|
+
url: '/api/science-domains/',
|
|
53358
|
+
...options,
|
|
53359
|
+
headers: {
|
|
53360
|
+
'Content-Type': 'application/json',
|
|
53361
|
+
...options.headers
|
|
53362
|
+
}
|
|
53363
|
+
});
|
|
53364
|
+
};
|
|
53365
|
+
export const scienceDomainsDestroy = (options) => {
|
|
53366
|
+
return (options.client ?? _heyApiClient).delete({
|
|
53367
|
+
security: [
|
|
53368
|
+
{
|
|
53369
|
+
name: 'Authorization',
|
|
53370
|
+
type: 'apiKey'
|
|
53371
|
+
},
|
|
53372
|
+
{
|
|
53373
|
+
scheme: 'bearer',
|
|
53374
|
+
type: 'http'
|
|
53375
|
+
},
|
|
53376
|
+
{
|
|
53377
|
+
scheme: 'bearer',
|
|
53378
|
+
type: 'http'
|
|
53379
|
+
}
|
|
53380
|
+
],
|
|
53381
|
+
url: '/api/science-domains/{uuid}/',
|
|
53382
|
+
...options
|
|
53383
|
+
});
|
|
53384
|
+
};
|
|
53385
|
+
export const scienceDomainsRetrieve = (options) => {
|
|
53386
|
+
return (options.client ?? _heyApiClient).get({
|
|
53387
|
+
security: [
|
|
53388
|
+
{
|
|
53389
|
+
name: 'Authorization',
|
|
53390
|
+
type: 'apiKey'
|
|
53391
|
+
},
|
|
53392
|
+
{
|
|
53393
|
+
scheme: 'bearer',
|
|
53394
|
+
type: 'http'
|
|
53395
|
+
},
|
|
53396
|
+
{
|
|
53397
|
+
scheme: 'bearer',
|
|
53398
|
+
type: 'http'
|
|
53399
|
+
}
|
|
53400
|
+
],
|
|
53401
|
+
url: '/api/science-domains/{uuid}/',
|
|
53402
|
+
...options
|
|
53403
|
+
});
|
|
53404
|
+
};
|
|
53405
|
+
export const scienceDomainsPartialUpdate = (options) => {
|
|
53406
|
+
return (options.client ?? _heyApiClient).patch({
|
|
53407
|
+
security: [
|
|
53408
|
+
{
|
|
53409
|
+
name: 'Authorization',
|
|
53410
|
+
type: 'apiKey'
|
|
53411
|
+
},
|
|
53412
|
+
{
|
|
53413
|
+
scheme: 'bearer',
|
|
53414
|
+
type: 'http'
|
|
53415
|
+
},
|
|
53416
|
+
{
|
|
53417
|
+
scheme: 'bearer',
|
|
53418
|
+
type: 'http'
|
|
53419
|
+
}
|
|
53420
|
+
],
|
|
53421
|
+
url: '/api/science-domains/{uuid}/',
|
|
53422
|
+
...options,
|
|
53423
|
+
headers: {
|
|
53424
|
+
'Content-Type': 'application/json',
|
|
53425
|
+
...options.headers
|
|
53426
|
+
}
|
|
53427
|
+
});
|
|
53428
|
+
};
|
|
53429
|
+
export const scienceDomainsUpdate = (options) => {
|
|
53430
|
+
return (options.client ?? _heyApiClient).put({
|
|
53431
|
+
security: [
|
|
53432
|
+
{
|
|
53433
|
+
name: 'Authorization',
|
|
53434
|
+
type: 'apiKey'
|
|
53435
|
+
},
|
|
53436
|
+
{
|
|
53437
|
+
scheme: 'bearer',
|
|
53438
|
+
type: 'http'
|
|
53439
|
+
},
|
|
53440
|
+
{
|
|
53441
|
+
scheme: 'bearer',
|
|
53442
|
+
type: 'http'
|
|
53443
|
+
}
|
|
53444
|
+
],
|
|
53445
|
+
url: '/api/science-domains/{uuid}/',
|
|
53446
|
+
...options,
|
|
53447
|
+
headers: {
|
|
53448
|
+
'Content-Type': 'application/json',
|
|
53449
|
+
...options.headers
|
|
53450
|
+
}
|
|
53451
|
+
});
|
|
53452
|
+
};
|
|
53453
|
+
/**
|
|
53454
|
+
* Load a science domain preset
|
|
53455
|
+
*/
|
|
53456
|
+
export const scienceDomainsLoadPreset = (options) => {
|
|
53457
|
+
return (options.client ?? _heyApiClient).post({
|
|
53458
|
+
security: [
|
|
53459
|
+
{
|
|
53460
|
+
name: 'Authorization',
|
|
53461
|
+
type: 'apiKey'
|
|
53462
|
+
},
|
|
53463
|
+
{
|
|
53464
|
+
scheme: 'bearer',
|
|
53465
|
+
type: 'http'
|
|
53466
|
+
},
|
|
53467
|
+
{
|
|
53468
|
+
scheme: 'bearer',
|
|
53469
|
+
type: 'http'
|
|
53470
|
+
}
|
|
53471
|
+
],
|
|
53472
|
+
url: '/api/science-domains/load_preset/',
|
|
53473
|
+
...options,
|
|
53474
|
+
headers: {
|
|
53475
|
+
'Content-Type': 'application/json',
|
|
53476
|
+
...options.headers
|
|
53477
|
+
}
|
|
53478
|
+
});
|
|
53479
|
+
};
|
|
53480
|
+
/**
|
|
53481
|
+
* List available science domain presets
|
|
53482
|
+
*/
|
|
53483
|
+
export const scienceDomainsPresetsList = (options) => {
|
|
53484
|
+
return (options?.client ?? _heyApiClient).get({
|
|
53485
|
+
security: [
|
|
53486
|
+
{
|
|
53487
|
+
name: 'Authorization',
|
|
53488
|
+
type: 'apiKey'
|
|
53489
|
+
},
|
|
53490
|
+
{
|
|
53491
|
+
scheme: 'bearer',
|
|
53492
|
+
type: 'http'
|
|
53493
|
+
},
|
|
53494
|
+
{
|
|
53495
|
+
scheme: 'bearer',
|
|
53496
|
+
type: 'http'
|
|
53497
|
+
}
|
|
53498
|
+
],
|
|
53499
|
+
url: '/api/science-domains/presets/',
|
|
53500
|
+
...options
|
|
53501
|
+
});
|
|
53502
|
+
};
|
|
53503
|
+
/**
|
|
53504
|
+
* List available science domain presets
|
|
53505
|
+
* Get number of items in the collection matching the request parameters.
|
|
53506
|
+
*/
|
|
53507
|
+
export const scienceDomainsPresetsCount = (options) => {
|
|
53508
|
+
return (options?.client ?? _heyApiClient).head({
|
|
53509
|
+
security: [
|
|
53510
|
+
{
|
|
53511
|
+
name: 'Authorization',
|
|
53512
|
+
type: 'apiKey'
|
|
53513
|
+
},
|
|
53514
|
+
{
|
|
53515
|
+
scheme: 'bearer',
|
|
53516
|
+
type: 'http'
|
|
53517
|
+
},
|
|
53518
|
+
{
|
|
53519
|
+
scheme: 'bearer',
|
|
53520
|
+
type: 'http'
|
|
53521
|
+
}
|
|
53522
|
+
],
|
|
53523
|
+
url: '/api/science-domains/presets/',
|
|
53524
|
+
...options
|
|
53525
|
+
});
|
|
53526
|
+
};
|
|
53527
|
+
export const scienceSubDomainsList = (options) => {
|
|
53528
|
+
return (options?.client ?? _heyApiClient).get({
|
|
53529
|
+
security: [
|
|
53530
|
+
{
|
|
53531
|
+
name: 'Authorization',
|
|
53532
|
+
type: 'apiKey'
|
|
53533
|
+
},
|
|
53534
|
+
{
|
|
53535
|
+
scheme: 'bearer',
|
|
53536
|
+
type: 'http'
|
|
53537
|
+
},
|
|
53538
|
+
{
|
|
53539
|
+
scheme: 'bearer',
|
|
53540
|
+
type: 'http'
|
|
53541
|
+
}
|
|
53542
|
+
],
|
|
53543
|
+
url: '/api/science-sub-domains/',
|
|
53544
|
+
...options
|
|
53545
|
+
});
|
|
53546
|
+
};
|
|
53547
|
+
/**
|
|
53548
|
+
* Get number of items in the collection matching the request parameters.
|
|
53549
|
+
*/
|
|
53550
|
+
export const scienceSubDomainsCount = (options) => {
|
|
53551
|
+
return (options?.client ?? _heyApiClient).head({
|
|
53552
|
+
security: [
|
|
53553
|
+
{
|
|
53554
|
+
name: 'Authorization',
|
|
53555
|
+
type: 'apiKey'
|
|
53556
|
+
},
|
|
53557
|
+
{
|
|
53558
|
+
scheme: 'bearer',
|
|
53559
|
+
type: 'http'
|
|
53560
|
+
},
|
|
53561
|
+
{
|
|
53562
|
+
scheme: 'bearer',
|
|
53563
|
+
type: 'http'
|
|
53564
|
+
}
|
|
53565
|
+
],
|
|
53566
|
+
url: '/api/science-sub-domains/',
|
|
53567
|
+
...options
|
|
53568
|
+
});
|
|
53569
|
+
};
|
|
53570
|
+
export const scienceSubDomainsCreate = (options) => {
|
|
53571
|
+
return (options.client ?? _heyApiClient).post({
|
|
53572
|
+
security: [
|
|
53573
|
+
{
|
|
53574
|
+
name: 'Authorization',
|
|
53575
|
+
type: 'apiKey'
|
|
53576
|
+
},
|
|
53577
|
+
{
|
|
53578
|
+
scheme: 'bearer',
|
|
53579
|
+
type: 'http'
|
|
53580
|
+
},
|
|
53581
|
+
{
|
|
53582
|
+
scheme: 'bearer',
|
|
53583
|
+
type: 'http'
|
|
53584
|
+
}
|
|
53585
|
+
],
|
|
53586
|
+
url: '/api/science-sub-domains/',
|
|
53587
|
+
...options,
|
|
53588
|
+
headers: {
|
|
53589
|
+
'Content-Type': 'application/json',
|
|
53590
|
+
...options.headers
|
|
53591
|
+
}
|
|
53592
|
+
});
|
|
53593
|
+
};
|
|
53594
|
+
export const scienceSubDomainsDestroy = (options) => {
|
|
53595
|
+
return (options.client ?? _heyApiClient).delete({
|
|
53596
|
+
security: [
|
|
53597
|
+
{
|
|
53598
|
+
name: 'Authorization',
|
|
53599
|
+
type: 'apiKey'
|
|
53600
|
+
},
|
|
53601
|
+
{
|
|
53602
|
+
scheme: 'bearer',
|
|
53603
|
+
type: 'http'
|
|
53604
|
+
},
|
|
53605
|
+
{
|
|
53606
|
+
scheme: 'bearer',
|
|
53607
|
+
type: 'http'
|
|
53608
|
+
}
|
|
53609
|
+
],
|
|
53610
|
+
url: '/api/science-sub-domains/{uuid}/',
|
|
53611
|
+
...options
|
|
53612
|
+
});
|
|
53613
|
+
};
|
|
53614
|
+
export const scienceSubDomainsRetrieve = (options) => {
|
|
53615
|
+
return (options.client ?? _heyApiClient).get({
|
|
53616
|
+
security: [
|
|
53617
|
+
{
|
|
53618
|
+
name: 'Authorization',
|
|
53619
|
+
type: 'apiKey'
|
|
53620
|
+
},
|
|
53621
|
+
{
|
|
53622
|
+
scheme: 'bearer',
|
|
53623
|
+
type: 'http'
|
|
53624
|
+
},
|
|
53625
|
+
{
|
|
53626
|
+
scheme: 'bearer',
|
|
53627
|
+
type: 'http'
|
|
53628
|
+
}
|
|
53629
|
+
],
|
|
53630
|
+
url: '/api/science-sub-domains/{uuid}/',
|
|
53631
|
+
...options
|
|
53632
|
+
});
|
|
53633
|
+
};
|
|
53634
|
+
export const scienceSubDomainsPartialUpdate = (options) => {
|
|
53635
|
+
return (options.client ?? _heyApiClient).patch({
|
|
53636
|
+
security: [
|
|
53637
|
+
{
|
|
53638
|
+
name: 'Authorization',
|
|
53639
|
+
type: 'apiKey'
|
|
53640
|
+
},
|
|
53641
|
+
{
|
|
53642
|
+
scheme: 'bearer',
|
|
53643
|
+
type: 'http'
|
|
53644
|
+
},
|
|
53645
|
+
{
|
|
53646
|
+
scheme: 'bearer',
|
|
53647
|
+
type: 'http'
|
|
53648
|
+
}
|
|
53649
|
+
],
|
|
53650
|
+
url: '/api/science-sub-domains/{uuid}/',
|
|
53651
|
+
...options,
|
|
53652
|
+
headers: {
|
|
53653
|
+
'Content-Type': 'application/json',
|
|
53654
|
+
...options.headers
|
|
53655
|
+
}
|
|
53656
|
+
});
|
|
53657
|
+
};
|
|
53658
|
+
export const scienceSubDomainsUpdate = (options) => {
|
|
53659
|
+
return (options.client ?? _heyApiClient).put({
|
|
53660
|
+
security: [
|
|
53661
|
+
{
|
|
53662
|
+
name: 'Authorization',
|
|
53663
|
+
type: 'apiKey'
|
|
53664
|
+
},
|
|
53665
|
+
{
|
|
53666
|
+
scheme: 'bearer',
|
|
53667
|
+
type: 'http'
|
|
53668
|
+
},
|
|
53669
|
+
{
|
|
53670
|
+
scheme: 'bearer',
|
|
53671
|
+
type: 'http'
|
|
53672
|
+
}
|
|
53673
|
+
],
|
|
53674
|
+
url: '/api/science-sub-domains/{uuid}/',
|
|
53675
|
+
...options,
|
|
53676
|
+
headers: {
|
|
53677
|
+
'Content-Type': 'application/json',
|
|
53678
|
+
...options.headers
|
|
53679
|
+
}
|
|
53680
|
+
});
|
|
53681
|
+
};
|
|
51408
53682
|
export const serviceSettingsList = (options) => {
|
|
51409
53683
|
return (options?.client ?? _heyApiClient).get({
|
|
51410
53684
|
security: [
|
|
@@ -53317,11 +55591,7 @@ export const supportRequestTypesAdminActivate = (options) => {
|
|
|
53317
55591
|
}
|
|
53318
55592
|
],
|
|
53319
55593
|
url: '/api/support-request-types-admin/{uuid}/activate/',
|
|
53320
|
-
...options
|
|
53321
|
-
headers: {
|
|
53322
|
-
'Content-Type': 'application/json',
|
|
53323
|
-
...options.headers
|
|
53324
|
-
}
|
|
55594
|
+
...options
|
|
53325
55595
|
});
|
|
53326
55596
|
};
|
|
53327
55597
|
/**
|
|
@@ -53344,11 +55614,7 @@ export const supportRequestTypesAdminDeactivate = (options) => {
|
|
|
53344
55614
|
}
|
|
53345
55615
|
],
|
|
53346
55616
|
url: '/api/support-request-types-admin/{uuid}/deactivate/',
|
|
53347
|
-
...options
|
|
53348
|
-
headers: {
|
|
53349
|
-
'Content-Type': 'application/json',
|
|
53350
|
-
...options.headers
|
|
53351
|
-
}
|
|
55617
|
+
...options
|
|
53352
55618
|
});
|
|
53353
55619
|
};
|
|
53354
55620
|
/**
|