waldur-js-client 8.0.8-dev.3 → 8.0.8-dev.31
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 +155 -1
- package/dist/sdk.gen.js +1370 -0
- package/dist/types.gen.d.ts +2314 -634
- package/package.json +4 -2
package/dist/sdk.gen.js
CHANGED
|
@@ -1966,6 +1966,233 @@ 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
|
+
};
|
|
1969
2196
|
export const assignmentBatchesList = (options) => {
|
|
1970
2197
|
return (options?.client ?? _heyApiClient).get({
|
|
1971
2198
|
security: [
|
|
@@ -7004,6 +7231,33 @@ export const chatMessagesList = (options) => {
|
|
|
7004
7231
|
...options
|
|
7005
7232
|
});
|
|
7006
7233
|
};
|
|
7234
|
+
/**
|
|
7235
|
+
* Submit or update feedback for an assistant message
|
|
7236
|
+
*/
|
|
7237
|
+
export const chatMessagesFeedback = (options) => {
|
|
7238
|
+
return (options.client ?? _heyApiClient).post({
|
|
7239
|
+
security: [
|
|
7240
|
+
{
|
|
7241
|
+
name: 'Authorization',
|
|
7242
|
+
type: 'apiKey'
|
|
7243
|
+
},
|
|
7244
|
+
{
|
|
7245
|
+
scheme: 'bearer',
|
|
7246
|
+
type: 'http'
|
|
7247
|
+
},
|
|
7248
|
+
{
|
|
7249
|
+
scheme: 'bearer',
|
|
7250
|
+
type: 'http'
|
|
7251
|
+
}
|
|
7252
|
+
],
|
|
7253
|
+
url: '/api/chat-messages/{uuid}/feedback/',
|
|
7254
|
+
...options,
|
|
7255
|
+
headers: {
|
|
7256
|
+
'Content-Type': 'application/json',
|
|
7257
|
+
...options.headers
|
|
7258
|
+
}
|
|
7259
|
+
});
|
|
7260
|
+
};
|
|
7007
7261
|
/**
|
|
7008
7262
|
* Set token quota for user
|
|
7009
7263
|
* Allows staff/support to set token quota limits for a specific user. Configure daily, weekly, and monthly limits:
|
|
@@ -7131,6 +7385,217 @@ export const chatSessionsCurrentRetrieve = (options) => {
|
|
|
7131
7385
|
...options
|
|
7132
7386
|
});
|
|
7133
7387
|
};
|
|
7388
|
+
export const chatSystemPromptsList = (options) => {
|
|
7389
|
+
return (options?.client ?? _heyApiClient).get({
|
|
7390
|
+
security: [
|
|
7391
|
+
{
|
|
7392
|
+
name: 'Authorization',
|
|
7393
|
+
type: 'apiKey'
|
|
7394
|
+
},
|
|
7395
|
+
{
|
|
7396
|
+
scheme: 'bearer',
|
|
7397
|
+
type: 'http'
|
|
7398
|
+
},
|
|
7399
|
+
{
|
|
7400
|
+
scheme: 'bearer',
|
|
7401
|
+
type: 'http'
|
|
7402
|
+
}
|
|
7403
|
+
],
|
|
7404
|
+
url: '/api/chat-system-prompts/',
|
|
7405
|
+
...options
|
|
7406
|
+
});
|
|
7407
|
+
};
|
|
7408
|
+
/**
|
|
7409
|
+
* Get number of items in the collection matching the request parameters.
|
|
7410
|
+
*/
|
|
7411
|
+
export const chatSystemPromptsCount = (options) => {
|
|
7412
|
+
return (options?.client ?? _heyApiClient).head({
|
|
7413
|
+
security: [
|
|
7414
|
+
{
|
|
7415
|
+
name: 'Authorization',
|
|
7416
|
+
type: 'apiKey'
|
|
7417
|
+
},
|
|
7418
|
+
{
|
|
7419
|
+
scheme: 'bearer',
|
|
7420
|
+
type: 'http'
|
|
7421
|
+
},
|
|
7422
|
+
{
|
|
7423
|
+
scheme: 'bearer',
|
|
7424
|
+
type: 'http'
|
|
7425
|
+
}
|
|
7426
|
+
],
|
|
7427
|
+
url: '/api/chat-system-prompts/',
|
|
7428
|
+
...options
|
|
7429
|
+
});
|
|
7430
|
+
};
|
|
7431
|
+
export const chatSystemPromptsCreate = (options) => {
|
|
7432
|
+
return (options.client ?? _heyApiClient).post({
|
|
7433
|
+
security: [
|
|
7434
|
+
{
|
|
7435
|
+
name: 'Authorization',
|
|
7436
|
+
type: 'apiKey'
|
|
7437
|
+
},
|
|
7438
|
+
{
|
|
7439
|
+
scheme: 'bearer',
|
|
7440
|
+
type: 'http'
|
|
7441
|
+
},
|
|
7442
|
+
{
|
|
7443
|
+
scheme: 'bearer',
|
|
7444
|
+
type: 'http'
|
|
7445
|
+
}
|
|
7446
|
+
],
|
|
7447
|
+
url: '/api/chat-system-prompts/',
|
|
7448
|
+
...options,
|
|
7449
|
+
headers: {
|
|
7450
|
+
'Content-Type': 'application/json',
|
|
7451
|
+
...options.headers
|
|
7452
|
+
}
|
|
7453
|
+
});
|
|
7454
|
+
};
|
|
7455
|
+
export const chatSystemPromptsDestroy = (options) => {
|
|
7456
|
+
return (options.client ?? _heyApiClient).delete({
|
|
7457
|
+
security: [
|
|
7458
|
+
{
|
|
7459
|
+
name: 'Authorization',
|
|
7460
|
+
type: 'apiKey'
|
|
7461
|
+
},
|
|
7462
|
+
{
|
|
7463
|
+
scheme: 'bearer',
|
|
7464
|
+
type: 'http'
|
|
7465
|
+
},
|
|
7466
|
+
{
|
|
7467
|
+
scheme: 'bearer',
|
|
7468
|
+
type: 'http'
|
|
7469
|
+
}
|
|
7470
|
+
],
|
|
7471
|
+
url: '/api/chat-system-prompts/{uuid}/',
|
|
7472
|
+
...options
|
|
7473
|
+
});
|
|
7474
|
+
};
|
|
7475
|
+
export const chatSystemPromptsRetrieve = (options) => {
|
|
7476
|
+
return (options.client ?? _heyApiClient).get({
|
|
7477
|
+
security: [
|
|
7478
|
+
{
|
|
7479
|
+
name: 'Authorization',
|
|
7480
|
+
type: 'apiKey'
|
|
7481
|
+
},
|
|
7482
|
+
{
|
|
7483
|
+
scheme: 'bearer',
|
|
7484
|
+
type: 'http'
|
|
7485
|
+
},
|
|
7486
|
+
{
|
|
7487
|
+
scheme: 'bearer',
|
|
7488
|
+
type: 'http'
|
|
7489
|
+
}
|
|
7490
|
+
],
|
|
7491
|
+
url: '/api/chat-system-prompts/{uuid}/',
|
|
7492
|
+
...options
|
|
7493
|
+
});
|
|
7494
|
+
};
|
|
7495
|
+
export const chatSystemPromptsPartialUpdate = (options) => {
|
|
7496
|
+
return (options.client ?? _heyApiClient).patch({
|
|
7497
|
+
security: [
|
|
7498
|
+
{
|
|
7499
|
+
name: 'Authorization',
|
|
7500
|
+
type: 'apiKey'
|
|
7501
|
+
},
|
|
7502
|
+
{
|
|
7503
|
+
scheme: 'bearer',
|
|
7504
|
+
type: 'http'
|
|
7505
|
+
},
|
|
7506
|
+
{
|
|
7507
|
+
scheme: 'bearer',
|
|
7508
|
+
type: 'http'
|
|
7509
|
+
}
|
|
7510
|
+
],
|
|
7511
|
+
url: '/api/chat-system-prompts/{uuid}/',
|
|
7512
|
+
...options,
|
|
7513
|
+
headers: {
|
|
7514
|
+
'Content-Type': 'application/json',
|
|
7515
|
+
...options.headers
|
|
7516
|
+
}
|
|
7517
|
+
});
|
|
7518
|
+
};
|
|
7519
|
+
export const chatSystemPromptsUpdate = (options) => {
|
|
7520
|
+
return (options.client ?? _heyApiClient).put({
|
|
7521
|
+
security: [
|
|
7522
|
+
{
|
|
7523
|
+
name: 'Authorization',
|
|
7524
|
+
type: 'apiKey'
|
|
7525
|
+
},
|
|
7526
|
+
{
|
|
7527
|
+
scheme: 'bearer',
|
|
7528
|
+
type: 'http'
|
|
7529
|
+
},
|
|
7530
|
+
{
|
|
7531
|
+
scheme: 'bearer',
|
|
7532
|
+
type: 'http'
|
|
7533
|
+
}
|
|
7534
|
+
],
|
|
7535
|
+
url: '/api/chat-system-prompts/{uuid}/',
|
|
7536
|
+
...options,
|
|
7537
|
+
headers: {
|
|
7538
|
+
'Content-Type': 'application/json',
|
|
7539
|
+
...options.headers
|
|
7540
|
+
}
|
|
7541
|
+
});
|
|
7542
|
+
};
|
|
7543
|
+
/**
|
|
7544
|
+
* Activate a system prompt
|
|
7545
|
+
* Set this prompt as the active one. Deactivates any currently active prompt.
|
|
7546
|
+
*/
|
|
7547
|
+
export const chatSystemPromptsActivate = (options) => {
|
|
7548
|
+
return (options.client ?? _heyApiClient).post({
|
|
7549
|
+
security: [
|
|
7550
|
+
{
|
|
7551
|
+
name: 'Authorization',
|
|
7552
|
+
type: 'apiKey'
|
|
7553
|
+
},
|
|
7554
|
+
{
|
|
7555
|
+
scheme: 'bearer',
|
|
7556
|
+
type: 'http'
|
|
7557
|
+
},
|
|
7558
|
+
{
|
|
7559
|
+
scheme: 'bearer',
|
|
7560
|
+
type: 'http'
|
|
7561
|
+
}
|
|
7562
|
+
],
|
|
7563
|
+
url: '/api/chat-system-prompts/{uuid}/activate/',
|
|
7564
|
+
...options,
|
|
7565
|
+
headers: {
|
|
7566
|
+
'Content-Type': 'application/json',
|
|
7567
|
+
...options.headers
|
|
7568
|
+
}
|
|
7569
|
+
});
|
|
7570
|
+
};
|
|
7571
|
+
/**
|
|
7572
|
+
* Deactivate the active system prompt
|
|
7573
|
+
* Deactivate this prompt. The system will fall back to Constance overrides or built-in defaults.
|
|
7574
|
+
*/
|
|
7575
|
+
export const chatSystemPromptsDeactivate = (options) => {
|
|
7576
|
+
return (options.client ?? _heyApiClient).post({
|
|
7577
|
+
security: [
|
|
7578
|
+
{
|
|
7579
|
+
name: 'Authorization',
|
|
7580
|
+
type: 'apiKey'
|
|
7581
|
+
},
|
|
7582
|
+
{
|
|
7583
|
+
scheme: 'bearer',
|
|
7584
|
+
type: 'http'
|
|
7585
|
+
},
|
|
7586
|
+
{
|
|
7587
|
+
scheme: 'bearer',
|
|
7588
|
+
type: 'http'
|
|
7589
|
+
}
|
|
7590
|
+
],
|
|
7591
|
+
url: '/api/chat-system-prompts/{uuid}/deactivate/',
|
|
7592
|
+
...options,
|
|
7593
|
+
headers: {
|
|
7594
|
+
'Content-Type': 'application/json',
|
|
7595
|
+
...options.headers
|
|
7596
|
+
}
|
|
7597
|
+
});
|
|
7598
|
+
};
|
|
7134
7599
|
export const chatThreadsList = (options) => {
|
|
7135
7600
|
return (options?.client ?? _heyApiClient).get({
|
|
7136
7601
|
security: [
|
|
@@ -32955,6 +33420,69 @@ export const onboardingSupportedCountriesRetrieve = (options) => {
|
|
|
32955
33420
|
...options
|
|
32956
33421
|
});
|
|
32957
33422
|
};
|
|
33423
|
+
export const openportalAccountingSummaryList = (options) => {
|
|
33424
|
+
return (options?.client ?? _heyApiClient).get({
|
|
33425
|
+
security: [
|
|
33426
|
+
{
|
|
33427
|
+
name: 'Authorization',
|
|
33428
|
+
type: 'apiKey'
|
|
33429
|
+
},
|
|
33430
|
+
{
|
|
33431
|
+
scheme: 'bearer',
|
|
33432
|
+
type: 'http'
|
|
33433
|
+
},
|
|
33434
|
+
{
|
|
33435
|
+
scheme: 'bearer',
|
|
33436
|
+
type: 'http'
|
|
33437
|
+
}
|
|
33438
|
+
],
|
|
33439
|
+
url: '/api/openportal-accounting-summary/',
|
|
33440
|
+
...options
|
|
33441
|
+
});
|
|
33442
|
+
};
|
|
33443
|
+
/**
|
|
33444
|
+
* Get number of items in the collection matching the request parameters.
|
|
33445
|
+
*/
|
|
33446
|
+
export const openportalAccountingSummaryCount = (options) => {
|
|
33447
|
+
return (options?.client ?? _heyApiClient).head({
|
|
33448
|
+
security: [
|
|
33449
|
+
{
|
|
33450
|
+
name: 'Authorization',
|
|
33451
|
+
type: 'apiKey'
|
|
33452
|
+
},
|
|
33453
|
+
{
|
|
33454
|
+
scheme: 'bearer',
|
|
33455
|
+
type: 'http'
|
|
33456
|
+
},
|
|
33457
|
+
{
|
|
33458
|
+
scheme: 'bearer',
|
|
33459
|
+
type: 'http'
|
|
33460
|
+
}
|
|
33461
|
+
],
|
|
33462
|
+
url: '/api/openportal-accounting-summary/',
|
|
33463
|
+
...options
|
|
33464
|
+
});
|
|
33465
|
+
};
|
|
33466
|
+
export const openportalAccountingSummaryRetrieve = (options) => {
|
|
33467
|
+
return (options.client ?? _heyApiClient).get({
|
|
33468
|
+
security: [
|
|
33469
|
+
{
|
|
33470
|
+
name: 'Authorization',
|
|
33471
|
+
type: 'apiKey'
|
|
33472
|
+
},
|
|
33473
|
+
{
|
|
33474
|
+
scheme: 'bearer',
|
|
33475
|
+
type: 'http'
|
|
33476
|
+
},
|
|
33477
|
+
{
|
|
33478
|
+
scheme: 'bearer',
|
|
33479
|
+
type: 'http'
|
|
33480
|
+
}
|
|
33481
|
+
],
|
|
33482
|
+
url: '/api/openportal-accounting-summary/{uuid}/',
|
|
33483
|
+
...options
|
|
33484
|
+
});
|
|
33485
|
+
};
|
|
32958
33486
|
export const openportalAllocationUserUsageList = (options) => {
|
|
32959
33487
|
return (options?.client ?? _heyApiClient).get({
|
|
32960
33488
|
security: [
|
|
@@ -33581,6 +34109,69 @@ export const openportalManagedProjectsReject = (options) => {
|
|
|
33581
34109
|
}
|
|
33582
34110
|
});
|
|
33583
34111
|
};
|
|
34112
|
+
export const openportalProjectStorageReportsList = (options) => {
|
|
34113
|
+
return (options?.client ?? _heyApiClient).get({
|
|
34114
|
+
security: [
|
|
34115
|
+
{
|
|
34116
|
+
name: 'Authorization',
|
|
34117
|
+
type: 'apiKey'
|
|
34118
|
+
},
|
|
34119
|
+
{
|
|
34120
|
+
scheme: 'bearer',
|
|
34121
|
+
type: 'http'
|
|
34122
|
+
},
|
|
34123
|
+
{
|
|
34124
|
+
scheme: 'bearer',
|
|
34125
|
+
type: 'http'
|
|
34126
|
+
}
|
|
34127
|
+
],
|
|
34128
|
+
url: '/api/openportal-project-storage-reports/',
|
|
34129
|
+
...options
|
|
34130
|
+
});
|
|
34131
|
+
};
|
|
34132
|
+
/**
|
|
34133
|
+
* Get number of items in the collection matching the request parameters.
|
|
34134
|
+
*/
|
|
34135
|
+
export const openportalProjectStorageReportsCount = (options) => {
|
|
34136
|
+
return (options?.client ?? _heyApiClient).head({
|
|
34137
|
+
security: [
|
|
34138
|
+
{
|
|
34139
|
+
name: 'Authorization',
|
|
34140
|
+
type: 'apiKey'
|
|
34141
|
+
},
|
|
34142
|
+
{
|
|
34143
|
+
scheme: 'bearer',
|
|
34144
|
+
type: 'http'
|
|
34145
|
+
},
|
|
34146
|
+
{
|
|
34147
|
+
scheme: 'bearer',
|
|
34148
|
+
type: 'http'
|
|
34149
|
+
}
|
|
34150
|
+
],
|
|
34151
|
+
url: '/api/openportal-project-storage-reports/',
|
|
34152
|
+
...options
|
|
34153
|
+
});
|
|
34154
|
+
};
|
|
34155
|
+
export const openportalProjectStorageReportsRetrieve = (options) => {
|
|
34156
|
+
return (options.client ?? _heyApiClient).get({
|
|
34157
|
+
security: [
|
|
34158
|
+
{
|
|
34159
|
+
name: 'Authorization',
|
|
34160
|
+
type: 'apiKey'
|
|
34161
|
+
},
|
|
34162
|
+
{
|
|
34163
|
+
scheme: 'bearer',
|
|
34164
|
+
type: 'http'
|
|
34165
|
+
},
|
|
34166
|
+
{
|
|
34167
|
+
scheme: 'bearer',
|
|
34168
|
+
type: 'http'
|
|
34169
|
+
}
|
|
34170
|
+
],
|
|
34171
|
+
url: '/api/openportal-project-storage-reports/{id}/',
|
|
34172
|
+
...options
|
|
34173
|
+
});
|
|
34174
|
+
};
|
|
33584
34175
|
export const openportalProjectTemplateList = (options) => {
|
|
33585
34176
|
return (options?.client ?? _heyApiClient).get({
|
|
33586
34177
|
security: [
|
|
@@ -33768,6 +34359,69 @@ export const openportalProjectTemplateDeleteDestroy = (options) => {
|
|
|
33768
34359
|
...options
|
|
33769
34360
|
});
|
|
33770
34361
|
};
|
|
34362
|
+
export const openportalProjectUsageReportsList = (options) => {
|
|
34363
|
+
return (options?.client ?? _heyApiClient).get({
|
|
34364
|
+
security: [
|
|
34365
|
+
{
|
|
34366
|
+
name: 'Authorization',
|
|
34367
|
+
type: 'apiKey'
|
|
34368
|
+
},
|
|
34369
|
+
{
|
|
34370
|
+
scheme: 'bearer',
|
|
34371
|
+
type: 'http'
|
|
34372
|
+
},
|
|
34373
|
+
{
|
|
34374
|
+
scheme: 'bearer',
|
|
34375
|
+
type: 'http'
|
|
34376
|
+
}
|
|
34377
|
+
],
|
|
34378
|
+
url: '/api/openportal-project-usage-reports/',
|
|
34379
|
+
...options
|
|
34380
|
+
});
|
|
34381
|
+
};
|
|
34382
|
+
/**
|
|
34383
|
+
* Get number of items in the collection matching the request parameters.
|
|
34384
|
+
*/
|
|
34385
|
+
export const openportalProjectUsageReportsCount = (options) => {
|
|
34386
|
+
return (options?.client ?? _heyApiClient).head({
|
|
34387
|
+
security: [
|
|
34388
|
+
{
|
|
34389
|
+
name: 'Authorization',
|
|
34390
|
+
type: 'apiKey'
|
|
34391
|
+
},
|
|
34392
|
+
{
|
|
34393
|
+
scheme: 'bearer',
|
|
34394
|
+
type: 'http'
|
|
34395
|
+
},
|
|
34396
|
+
{
|
|
34397
|
+
scheme: 'bearer',
|
|
34398
|
+
type: 'http'
|
|
34399
|
+
}
|
|
34400
|
+
],
|
|
34401
|
+
url: '/api/openportal-project-usage-reports/',
|
|
34402
|
+
...options
|
|
34403
|
+
});
|
|
34404
|
+
};
|
|
34405
|
+
export const openportalProjectUsageReportsRetrieve = (options) => {
|
|
34406
|
+
return (options.client ?? _heyApiClient).get({
|
|
34407
|
+
security: [
|
|
34408
|
+
{
|
|
34409
|
+
name: 'Authorization',
|
|
34410
|
+
type: 'apiKey'
|
|
34411
|
+
},
|
|
34412
|
+
{
|
|
34413
|
+
scheme: 'bearer',
|
|
34414
|
+
type: 'http'
|
|
34415
|
+
},
|
|
34416
|
+
{
|
|
34417
|
+
scheme: 'bearer',
|
|
34418
|
+
type: 'http'
|
|
34419
|
+
}
|
|
34420
|
+
],
|
|
34421
|
+
url: '/api/openportal-project-usage-reports/{id}/',
|
|
34422
|
+
...options
|
|
34423
|
+
});
|
|
34424
|
+
};
|
|
33771
34425
|
export const openportalProjectinfoList = (options) => {
|
|
33772
34426
|
return (options?.client ?? _heyApiClient).get({
|
|
33773
34427
|
security: [
|
|
@@ -34728,6 +35382,34 @@ export const openportalUnmanagedProjectsSubmitAnswers = (options) => {
|
|
|
34728
35382
|
}
|
|
34729
35383
|
});
|
|
34730
35384
|
};
|
|
35385
|
+
/**
|
|
35386
|
+
* Update affiliated organizations for a project
|
|
35387
|
+
* Assigns a project to one or more affiliated organizations. Replaces the current set.
|
|
35388
|
+
*/
|
|
35389
|
+
export const openportalUnmanagedProjectsUpdateAffiliatedOrganizations = (options) => {
|
|
35390
|
+
return (options.client ?? _heyApiClient).post({
|
|
35391
|
+
security: [
|
|
35392
|
+
{
|
|
35393
|
+
name: 'Authorization',
|
|
35394
|
+
type: 'apiKey'
|
|
35395
|
+
},
|
|
35396
|
+
{
|
|
35397
|
+
scheme: 'bearer',
|
|
35398
|
+
type: 'http'
|
|
35399
|
+
},
|
|
35400
|
+
{
|
|
35401
|
+
scheme: 'bearer',
|
|
35402
|
+
type: 'http'
|
|
35403
|
+
}
|
|
35404
|
+
],
|
|
35405
|
+
url: '/api/openportal-unmanaged-projects/{uuid}/update_affiliated_organizations/',
|
|
35406
|
+
...options,
|
|
35407
|
+
headers: {
|
|
35408
|
+
'Content-Type': 'application/json',
|
|
35409
|
+
...options.headers
|
|
35410
|
+
}
|
|
35411
|
+
});
|
|
35412
|
+
};
|
|
34731
35413
|
/**
|
|
34732
35414
|
* Update a user's role expiration
|
|
34733
35415
|
* 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 +35706,95 @@ export const openportalUserinfoMeCount = (options) => {
|
|
|
35024
35706
|
...options
|
|
35025
35707
|
});
|
|
35026
35708
|
};
|
|
35709
|
+
export const openportalAccessForEmailList = (options) => {
|
|
35710
|
+
return (options.client ?? _heyApiClient).get({
|
|
35711
|
+
security: [
|
|
35712
|
+
{
|
|
35713
|
+
name: 'Authorization',
|
|
35714
|
+
type: 'apiKey'
|
|
35715
|
+
},
|
|
35716
|
+
{
|
|
35717
|
+
scheme: 'bearer',
|
|
35718
|
+
type: 'http'
|
|
35719
|
+
},
|
|
35720
|
+
{
|
|
35721
|
+
scheme: 'bearer',
|
|
35722
|
+
type: 'http'
|
|
35723
|
+
}
|
|
35724
|
+
],
|
|
35725
|
+
url: '/api/openportal/access_for_email/',
|
|
35726
|
+
...options
|
|
35727
|
+
});
|
|
35728
|
+
};
|
|
35729
|
+
/**
|
|
35730
|
+
* 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.
|
|
35731
|
+
*/
|
|
35732
|
+
export const openportalOfferingMappingRetrieve = (options) => {
|
|
35733
|
+
return (options?.client ?? _heyApiClient).get({
|
|
35734
|
+
security: [
|
|
35735
|
+
{
|
|
35736
|
+
name: 'Authorization',
|
|
35737
|
+
type: 'apiKey'
|
|
35738
|
+
},
|
|
35739
|
+
{
|
|
35740
|
+
scheme: 'bearer',
|
|
35741
|
+
type: 'http'
|
|
35742
|
+
},
|
|
35743
|
+
{
|
|
35744
|
+
scheme: 'bearer',
|
|
35745
|
+
type: 'http'
|
|
35746
|
+
}
|
|
35747
|
+
],
|
|
35748
|
+
url: '/api/openportal/offering_mapping/',
|
|
35749
|
+
...options
|
|
35750
|
+
});
|
|
35751
|
+
};
|
|
35752
|
+
/**
|
|
35753
|
+
* 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.
|
|
35754
|
+
*/
|
|
35755
|
+
export const openportalProjectMappingRetrieve = (options) => {
|
|
35756
|
+
return (options?.client ?? _heyApiClient).get({
|
|
35757
|
+
security: [
|
|
35758
|
+
{
|
|
35759
|
+
name: 'Authorization',
|
|
35760
|
+
type: 'apiKey'
|
|
35761
|
+
},
|
|
35762
|
+
{
|
|
35763
|
+
scheme: 'bearer',
|
|
35764
|
+
type: 'http'
|
|
35765
|
+
},
|
|
35766
|
+
{
|
|
35767
|
+
scheme: 'bearer',
|
|
35768
|
+
type: 'http'
|
|
35769
|
+
}
|
|
35770
|
+
],
|
|
35771
|
+
url: '/api/openportal/project_mapping/',
|
|
35772
|
+
...options
|
|
35773
|
+
});
|
|
35774
|
+
};
|
|
35775
|
+
/**
|
|
35776
|
+
* 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.
|
|
35777
|
+
*/
|
|
35778
|
+
export const openportalUserMappingRetrieve = (options) => {
|
|
35779
|
+
return (options?.client ?? _heyApiClient).get({
|
|
35780
|
+
security: [
|
|
35781
|
+
{
|
|
35782
|
+
name: 'Authorization',
|
|
35783
|
+
type: 'apiKey'
|
|
35784
|
+
},
|
|
35785
|
+
{
|
|
35786
|
+
scheme: 'bearer',
|
|
35787
|
+
type: 'http'
|
|
35788
|
+
},
|
|
35789
|
+
{
|
|
35790
|
+
scheme: 'bearer',
|
|
35791
|
+
type: 'http'
|
|
35792
|
+
}
|
|
35793
|
+
],
|
|
35794
|
+
url: '/api/openportal/user_mapping/',
|
|
35795
|
+
...options
|
|
35796
|
+
});
|
|
35797
|
+
};
|
|
35027
35798
|
/**
|
|
35028
35799
|
* List backups
|
|
35029
35800
|
* Get a list of instance backups.
|
|
@@ -35980,6 +36751,117 @@ export const openstackHealthMonitorsPull = (options) => {
|
|
|
35980
36751
|
...options
|
|
35981
36752
|
});
|
|
35982
36753
|
};
|
|
36754
|
+
export const openstackHypervisorsList = (options) => {
|
|
36755
|
+
return (options?.client ?? _heyApiClient).get({
|
|
36756
|
+
security: [
|
|
36757
|
+
{
|
|
36758
|
+
name: 'Authorization',
|
|
36759
|
+
type: 'apiKey'
|
|
36760
|
+
},
|
|
36761
|
+
{
|
|
36762
|
+
scheme: 'bearer',
|
|
36763
|
+
type: 'http'
|
|
36764
|
+
},
|
|
36765
|
+
{
|
|
36766
|
+
scheme: 'bearer',
|
|
36767
|
+
type: 'http'
|
|
36768
|
+
}
|
|
36769
|
+
],
|
|
36770
|
+
url: '/api/openstack-hypervisors/',
|
|
36771
|
+
...options
|
|
36772
|
+
});
|
|
36773
|
+
};
|
|
36774
|
+
/**
|
|
36775
|
+
* Get number of items in the collection matching the request parameters.
|
|
36776
|
+
*/
|
|
36777
|
+
export const openstackHypervisorsCount = (options) => {
|
|
36778
|
+
return (options?.client ?? _heyApiClient).head({
|
|
36779
|
+
security: [
|
|
36780
|
+
{
|
|
36781
|
+
name: 'Authorization',
|
|
36782
|
+
type: 'apiKey'
|
|
36783
|
+
},
|
|
36784
|
+
{
|
|
36785
|
+
scheme: 'bearer',
|
|
36786
|
+
type: 'http'
|
|
36787
|
+
},
|
|
36788
|
+
{
|
|
36789
|
+
scheme: 'bearer',
|
|
36790
|
+
type: 'http'
|
|
36791
|
+
}
|
|
36792
|
+
],
|
|
36793
|
+
url: '/api/openstack-hypervisors/',
|
|
36794
|
+
...options
|
|
36795
|
+
});
|
|
36796
|
+
};
|
|
36797
|
+
export const openstackHypervisorsRetrieve = (options) => {
|
|
36798
|
+
return (options.client ?? _heyApiClient).get({
|
|
36799
|
+
security: [
|
|
36800
|
+
{
|
|
36801
|
+
name: 'Authorization',
|
|
36802
|
+
type: 'apiKey'
|
|
36803
|
+
},
|
|
36804
|
+
{
|
|
36805
|
+
scheme: 'bearer',
|
|
36806
|
+
type: 'http'
|
|
36807
|
+
},
|
|
36808
|
+
{
|
|
36809
|
+
scheme: 'bearer',
|
|
36810
|
+
type: 'http'
|
|
36811
|
+
}
|
|
36812
|
+
],
|
|
36813
|
+
url: '/api/openstack-hypervisors/{uuid}/',
|
|
36814
|
+
...options
|
|
36815
|
+
});
|
|
36816
|
+
};
|
|
36817
|
+
/**
|
|
36818
|
+
* Get hypervisor summary statistics
|
|
36819
|
+
* Return aggregated vCPU, RAM and disk totals across all hypervisors matching the current filter (e.g. settings_uuid).
|
|
36820
|
+
*/
|
|
36821
|
+
export const openstackHypervisorsSummaryRetrieve = (options) => {
|
|
36822
|
+
return (options.client ?? _heyApiClient).get({
|
|
36823
|
+
security: [
|
|
36824
|
+
{
|
|
36825
|
+
name: 'Authorization',
|
|
36826
|
+
type: 'apiKey'
|
|
36827
|
+
},
|
|
36828
|
+
{
|
|
36829
|
+
scheme: 'bearer',
|
|
36830
|
+
type: 'http'
|
|
36831
|
+
},
|
|
36832
|
+
{
|
|
36833
|
+
scheme: 'bearer',
|
|
36834
|
+
type: 'http'
|
|
36835
|
+
}
|
|
36836
|
+
],
|
|
36837
|
+
url: '/api/openstack-hypervisors/summary/',
|
|
36838
|
+
...options
|
|
36839
|
+
});
|
|
36840
|
+
};
|
|
36841
|
+
/**
|
|
36842
|
+
* Get hypervisor summary statistics
|
|
36843
|
+
* Get number of items in the collection matching the request parameters.
|
|
36844
|
+
*/
|
|
36845
|
+
export const openstackHypervisorsSummaryCount = (options) => {
|
|
36846
|
+
return (options.client ?? _heyApiClient).head({
|
|
36847
|
+
security: [
|
|
36848
|
+
{
|
|
36849
|
+
name: 'Authorization',
|
|
36850
|
+
type: 'apiKey'
|
|
36851
|
+
},
|
|
36852
|
+
{
|
|
36853
|
+
scheme: 'bearer',
|
|
36854
|
+
type: 'http'
|
|
36855
|
+
},
|
|
36856
|
+
{
|
|
36857
|
+
scheme: 'bearer',
|
|
36858
|
+
type: 'http'
|
|
36859
|
+
}
|
|
36860
|
+
],
|
|
36861
|
+
url: '/api/openstack-hypervisors/summary/',
|
|
36862
|
+
...options
|
|
36863
|
+
});
|
|
36864
|
+
};
|
|
35983
36865
|
/**
|
|
35984
36866
|
* List images
|
|
35985
36867
|
* Get a list of available VM instance images.
|
|
@@ -39046,6 +39928,54 @@ export const openstackRoutersAddRouterInterface = (options) => {
|
|
|
39046
39928
|
}
|
|
39047
39929
|
});
|
|
39048
39930
|
};
|
|
39931
|
+
/**
|
|
39932
|
+
* List available external networks
|
|
39933
|
+
* Returns a merged list of external networks available for this router's tenant, from both global external networks and RBAC-exposed networks.
|
|
39934
|
+
*/
|
|
39935
|
+
export const openstackRoutersAvailableExternalNetworksList = (options) => {
|
|
39936
|
+
return (options.client ?? _heyApiClient).get({
|
|
39937
|
+
security: [
|
|
39938
|
+
{
|
|
39939
|
+
name: 'Authorization',
|
|
39940
|
+
type: 'apiKey'
|
|
39941
|
+
},
|
|
39942
|
+
{
|
|
39943
|
+
scheme: 'bearer',
|
|
39944
|
+
type: 'http'
|
|
39945
|
+
},
|
|
39946
|
+
{
|
|
39947
|
+
scheme: 'bearer',
|
|
39948
|
+
type: 'http'
|
|
39949
|
+
}
|
|
39950
|
+
],
|
|
39951
|
+
url: '/api/openstack-routers/{uuid}/available_external_networks/',
|
|
39952
|
+
...options
|
|
39953
|
+
});
|
|
39954
|
+
};
|
|
39955
|
+
/**
|
|
39956
|
+
* Remove external gateway
|
|
39957
|
+
* Remove the external gateway from this router.
|
|
39958
|
+
*/
|
|
39959
|
+
export const openstackRoutersRemoveExternalGateway = (options) => {
|
|
39960
|
+
return (options.client ?? _heyApiClient).post({
|
|
39961
|
+
security: [
|
|
39962
|
+
{
|
|
39963
|
+
name: 'Authorization',
|
|
39964
|
+
type: 'apiKey'
|
|
39965
|
+
},
|
|
39966
|
+
{
|
|
39967
|
+
scheme: 'bearer',
|
|
39968
|
+
type: 'http'
|
|
39969
|
+
},
|
|
39970
|
+
{
|
|
39971
|
+
scheme: 'bearer',
|
|
39972
|
+
type: 'http'
|
|
39973
|
+
}
|
|
39974
|
+
],
|
|
39975
|
+
url: '/api/openstack-routers/{uuid}/remove_external_gateway/',
|
|
39976
|
+
...options
|
|
39977
|
+
});
|
|
39978
|
+
};
|
|
39049
39979
|
/**
|
|
39050
39980
|
* Remove router interface
|
|
39051
39981
|
* Remove interface from router. Either subnet or port must be provided.
|
|
@@ -39102,6 +40032,34 @@ export const openstackRoutersSetErred = (options) => {
|
|
|
39102
40032
|
}
|
|
39103
40033
|
});
|
|
39104
40034
|
};
|
|
40035
|
+
/**
|
|
40036
|
+
* Set external gateway
|
|
40037
|
+
* Set an external network as the gateway for this router. Advanced options (SNAT control, fixed IPs) require additional permissions.
|
|
40038
|
+
*/
|
|
40039
|
+
export const openstackRoutersSetExternalGateway = (options) => {
|
|
40040
|
+
return (options.client ?? _heyApiClient).post({
|
|
40041
|
+
security: [
|
|
40042
|
+
{
|
|
40043
|
+
name: 'Authorization',
|
|
40044
|
+
type: 'apiKey'
|
|
40045
|
+
},
|
|
40046
|
+
{
|
|
40047
|
+
scheme: 'bearer',
|
|
40048
|
+
type: 'http'
|
|
40049
|
+
},
|
|
40050
|
+
{
|
|
40051
|
+
scheme: 'bearer',
|
|
40052
|
+
type: 'http'
|
|
40053
|
+
}
|
|
40054
|
+
],
|
|
40055
|
+
url: '/api/openstack-routers/{uuid}/set_external_gateway/',
|
|
40056
|
+
...options,
|
|
40057
|
+
headers: {
|
|
40058
|
+
'Content-Type': 'application/json',
|
|
40059
|
+
...options.headers
|
|
40060
|
+
}
|
|
40061
|
+
});
|
|
40062
|
+
};
|
|
39105
40063
|
/**
|
|
39106
40064
|
* Mark router as OK
|
|
39107
40065
|
* Manually transition the router to OK state and clear error fields. Staff-only operation.
|
|
@@ -43486,6 +44444,34 @@ export const projectsSyncUserRoles = (options) => {
|
|
|
43486
44444
|
...options
|
|
43487
44445
|
});
|
|
43488
44446
|
};
|
|
44447
|
+
/**
|
|
44448
|
+
* Update affiliated organizations for a project
|
|
44449
|
+
* Assigns a project to one or more affiliated organizations. Replaces the current set.
|
|
44450
|
+
*/
|
|
44451
|
+
export const projectsUpdateAffiliatedOrganizations = (options) => {
|
|
44452
|
+
return (options.client ?? _heyApiClient).post({
|
|
44453
|
+
security: [
|
|
44454
|
+
{
|
|
44455
|
+
name: 'Authorization',
|
|
44456
|
+
type: 'apiKey'
|
|
44457
|
+
},
|
|
44458
|
+
{
|
|
44459
|
+
scheme: 'bearer',
|
|
44460
|
+
type: 'http'
|
|
44461
|
+
},
|
|
44462
|
+
{
|
|
44463
|
+
scheme: 'bearer',
|
|
44464
|
+
type: 'http'
|
|
44465
|
+
}
|
|
44466
|
+
],
|
|
44467
|
+
url: '/api/projects/{uuid}/update_affiliated_organizations/',
|
|
44468
|
+
...options,
|
|
44469
|
+
headers: {
|
|
44470
|
+
'Content-Type': 'application/json',
|
|
44471
|
+
...options.headers
|
|
44472
|
+
}
|
|
44473
|
+
});
|
|
44474
|
+
};
|
|
43489
44475
|
/**
|
|
43490
44476
|
* Update a user's role expiration
|
|
43491
44477
|
* 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.
|
|
@@ -51405,6 +52391,390 @@ export const rolesUpdateDescriptionsUpdate = (options) => {
|
|
|
51405
52391
|
}
|
|
51406
52392
|
});
|
|
51407
52393
|
};
|
|
52394
|
+
export const scienceDomainsList = (options) => {
|
|
52395
|
+
return (options?.client ?? _heyApiClient).get({
|
|
52396
|
+
security: [
|
|
52397
|
+
{
|
|
52398
|
+
name: 'Authorization',
|
|
52399
|
+
type: 'apiKey'
|
|
52400
|
+
},
|
|
52401
|
+
{
|
|
52402
|
+
scheme: 'bearer',
|
|
52403
|
+
type: 'http'
|
|
52404
|
+
},
|
|
52405
|
+
{
|
|
52406
|
+
scheme: 'bearer',
|
|
52407
|
+
type: 'http'
|
|
52408
|
+
}
|
|
52409
|
+
],
|
|
52410
|
+
url: '/api/science-domains/',
|
|
52411
|
+
...options
|
|
52412
|
+
});
|
|
52413
|
+
};
|
|
52414
|
+
/**
|
|
52415
|
+
* Get number of items in the collection matching the request parameters.
|
|
52416
|
+
*/
|
|
52417
|
+
export const scienceDomainsCount = (options) => {
|
|
52418
|
+
return (options?.client ?? _heyApiClient).head({
|
|
52419
|
+
security: [
|
|
52420
|
+
{
|
|
52421
|
+
name: 'Authorization',
|
|
52422
|
+
type: 'apiKey'
|
|
52423
|
+
},
|
|
52424
|
+
{
|
|
52425
|
+
scheme: 'bearer',
|
|
52426
|
+
type: 'http'
|
|
52427
|
+
},
|
|
52428
|
+
{
|
|
52429
|
+
scheme: 'bearer',
|
|
52430
|
+
type: 'http'
|
|
52431
|
+
}
|
|
52432
|
+
],
|
|
52433
|
+
url: '/api/science-domains/',
|
|
52434
|
+
...options
|
|
52435
|
+
});
|
|
52436
|
+
};
|
|
52437
|
+
export const scienceDomainsCreate = (options) => {
|
|
52438
|
+
return (options.client ?? _heyApiClient).post({
|
|
52439
|
+
security: [
|
|
52440
|
+
{
|
|
52441
|
+
name: 'Authorization',
|
|
52442
|
+
type: 'apiKey'
|
|
52443
|
+
},
|
|
52444
|
+
{
|
|
52445
|
+
scheme: 'bearer',
|
|
52446
|
+
type: 'http'
|
|
52447
|
+
},
|
|
52448
|
+
{
|
|
52449
|
+
scheme: 'bearer',
|
|
52450
|
+
type: 'http'
|
|
52451
|
+
}
|
|
52452
|
+
],
|
|
52453
|
+
url: '/api/science-domains/',
|
|
52454
|
+
...options,
|
|
52455
|
+
headers: {
|
|
52456
|
+
'Content-Type': 'application/json',
|
|
52457
|
+
...options.headers
|
|
52458
|
+
}
|
|
52459
|
+
});
|
|
52460
|
+
};
|
|
52461
|
+
export const scienceDomainsDestroy = (options) => {
|
|
52462
|
+
return (options.client ?? _heyApiClient).delete({
|
|
52463
|
+
security: [
|
|
52464
|
+
{
|
|
52465
|
+
name: 'Authorization',
|
|
52466
|
+
type: 'apiKey'
|
|
52467
|
+
},
|
|
52468
|
+
{
|
|
52469
|
+
scheme: 'bearer',
|
|
52470
|
+
type: 'http'
|
|
52471
|
+
},
|
|
52472
|
+
{
|
|
52473
|
+
scheme: 'bearer',
|
|
52474
|
+
type: 'http'
|
|
52475
|
+
}
|
|
52476
|
+
],
|
|
52477
|
+
url: '/api/science-domains/{uuid}/',
|
|
52478
|
+
...options
|
|
52479
|
+
});
|
|
52480
|
+
};
|
|
52481
|
+
export const scienceDomainsRetrieve = (options) => {
|
|
52482
|
+
return (options.client ?? _heyApiClient).get({
|
|
52483
|
+
security: [
|
|
52484
|
+
{
|
|
52485
|
+
name: 'Authorization',
|
|
52486
|
+
type: 'apiKey'
|
|
52487
|
+
},
|
|
52488
|
+
{
|
|
52489
|
+
scheme: 'bearer',
|
|
52490
|
+
type: 'http'
|
|
52491
|
+
},
|
|
52492
|
+
{
|
|
52493
|
+
scheme: 'bearer',
|
|
52494
|
+
type: 'http'
|
|
52495
|
+
}
|
|
52496
|
+
],
|
|
52497
|
+
url: '/api/science-domains/{uuid}/',
|
|
52498
|
+
...options
|
|
52499
|
+
});
|
|
52500
|
+
};
|
|
52501
|
+
export const scienceDomainsPartialUpdate = (options) => {
|
|
52502
|
+
return (options.client ?? _heyApiClient).patch({
|
|
52503
|
+
security: [
|
|
52504
|
+
{
|
|
52505
|
+
name: 'Authorization',
|
|
52506
|
+
type: 'apiKey'
|
|
52507
|
+
},
|
|
52508
|
+
{
|
|
52509
|
+
scheme: 'bearer',
|
|
52510
|
+
type: 'http'
|
|
52511
|
+
},
|
|
52512
|
+
{
|
|
52513
|
+
scheme: 'bearer',
|
|
52514
|
+
type: 'http'
|
|
52515
|
+
}
|
|
52516
|
+
],
|
|
52517
|
+
url: '/api/science-domains/{uuid}/',
|
|
52518
|
+
...options,
|
|
52519
|
+
headers: {
|
|
52520
|
+
'Content-Type': 'application/json',
|
|
52521
|
+
...options.headers
|
|
52522
|
+
}
|
|
52523
|
+
});
|
|
52524
|
+
};
|
|
52525
|
+
export const scienceDomainsUpdate = (options) => {
|
|
52526
|
+
return (options.client ?? _heyApiClient).put({
|
|
52527
|
+
security: [
|
|
52528
|
+
{
|
|
52529
|
+
name: 'Authorization',
|
|
52530
|
+
type: 'apiKey'
|
|
52531
|
+
},
|
|
52532
|
+
{
|
|
52533
|
+
scheme: 'bearer',
|
|
52534
|
+
type: 'http'
|
|
52535
|
+
},
|
|
52536
|
+
{
|
|
52537
|
+
scheme: 'bearer',
|
|
52538
|
+
type: 'http'
|
|
52539
|
+
}
|
|
52540
|
+
],
|
|
52541
|
+
url: '/api/science-domains/{uuid}/',
|
|
52542
|
+
...options,
|
|
52543
|
+
headers: {
|
|
52544
|
+
'Content-Type': 'application/json',
|
|
52545
|
+
...options.headers
|
|
52546
|
+
}
|
|
52547
|
+
});
|
|
52548
|
+
};
|
|
52549
|
+
/**
|
|
52550
|
+
* Load a science domain preset
|
|
52551
|
+
*/
|
|
52552
|
+
export const scienceDomainsLoadPreset = (options) => {
|
|
52553
|
+
return (options.client ?? _heyApiClient).post({
|
|
52554
|
+
security: [
|
|
52555
|
+
{
|
|
52556
|
+
name: 'Authorization',
|
|
52557
|
+
type: 'apiKey'
|
|
52558
|
+
},
|
|
52559
|
+
{
|
|
52560
|
+
scheme: 'bearer',
|
|
52561
|
+
type: 'http'
|
|
52562
|
+
},
|
|
52563
|
+
{
|
|
52564
|
+
scheme: 'bearer',
|
|
52565
|
+
type: 'http'
|
|
52566
|
+
}
|
|
52567
|
+
],
|
|
52568
|
+
url: '/api/science-domains/load_preset/',
|
|
52569
|
+
...options,
|
|
52570
|
+
headers: {
|
|
52571
|
+
'Content-Type': 'application/json',
|
|
52572
|
+
...options.headers
|
|
52573
|
+
}
|
|
52574
|
+
});
|
|
52575
|
+
};
|
|
52576
|
+
/**
|
|
52577
|
+
* List available science domain presets
|
|
52578
|
+
*/
|
|
52579
|
+
export const scienceDomainsPresetsList = (options) => {
|
|
52580
|
+
return (options?.client ?? _heyApiClient).get({
|
|
52581
|
+
security: [
|
|
52582
|
+
{
|
|
52583
|
+
name: 'Authorization',
|
|
52584
|
+
type: 'apiKey'
|
|
52585
|
+
},
|
|
52586
|
+
{
|
|
52587
|
+
scheme: 'bearer',
|
|
52588
|
+
type: 'http'
|
|
52589
|
+
},
|
|
52590
|
+
{
|
|
52591
|
+
scheme: 'bearer',
|
|
52592
|
+
type: 'http'
|
|
52593
|
+
}
|
|
52594
|
+
],
|
|
52595
|
+
url: '/api/science-domains/presets/',
|
|
52596
|
+
...options
|
|
52597
|
+
});
|
|
52598
|
+
};
|
|
52599
|
+
/**
|
|
52600
|
+
* List available science domain presets
|
|
52601
|
+
* Get number of items in the collection matching the request parameters.
|
|
52602
|
+
*/
|
|
52603
|
+
export const scienceDomainsPresetsCount = (options) => {
|
|
52604
|
+
return (options?.client ?? _heyApiClient).head({
|
|
52605
|
+
security: [
|
|
52606
|
+
{
|
|
52607
|
+
name: 'Authorization',
|
|
52608
|
+
type: 'apiKey'
|
|
52609
|
+
},
|
|
52610
|
+
{
|
|
52611
|
+
scheme: 'bearer',
|
|
52612
|
+
type: 'http'
|
|
52613
|
+
},
|
|
52614
|
+
{
|
|
52615
|
+
scheme: 'bearer',
|
|
52616
|
+
type: 'http'
|
|
52617
|
+
}
|
|
52618
|
+
],
|
|
52619
|
+
url: '/api/science-domains/presets/',
|
|
52620
|
+
...options
|
|
52621
|
+
});
|
|
52622
|
+
};
|
|
52623
|
+
export const scienceSubDomainsList = (options) => {
|
|
52624
|
+
return (options?.client ?? _heyApiClient).get({
|
|
52625
|
+
security: [
|
|
52626
|
+
{
|
|
52627
|
+
name: 'Authorization',
|
|
52628
|
+
type: 'apiKey'
|
|
52629
|
+
},
|
|
52630
|
+
{
|
|
52631
|
+
scheme: 'bearer',
|
|
52632
|
+
type: 'http'
|
|
52633
|
+
},
|
|
52634
|
+
{
|
|
52635
|
+
scheme: 'bearer',
|
|
52636
|
+
type: 'http'
|
|
52637
|
+
}
|
|
52638
|
+
],
|
|
52639
|
+
url: '/api/science-sub-domains/',
|
|
52640
|
+
...options
|
|
52641
|
+
});
|
|
52642
|
+
};
|
|
52643
|
+
/**
|
|
52644
|
+
* Get number of items in the collection matching the request parameters.
|
|
52645
|
+
*/
|
|
52646
|
+
export const scienceSubDomainsCount = (options) => {
|
|
52647
|
+
return (options?.client ?? _heyApiClient).head({
|
|
52648
|
+
security: [
|
|
52649
|
+
{
|
|
52650
|
+
name: 'Authorization',
|
|
52651
|
+
type: 'apiKey'
|
|
52652
|
+
},
|
|
52653
|
+
{
|
|
52654
|
+
scheme: 'bearer',
|
|
52655
|
+
type: 'http'
|
|
52656
|
+
},
|
|
52657
|
+
{
|
|
52658
|
+
scheme: 'bearer',
|
|
52659
|
+
type: 'http'
|
|
52660
|
+
}
|
|
52661
|
+
],
|
|
52662
|
+
url: '/api/science-sub-domains/',
|
|
52663
|
+
...options
|
|
52664
|
+
});
|
|
52665
|
+
};
|
|
52666
|
+
export const scienceSubDomainsCreate = (options) => {
|
|
52667
|
+
return (options.client ?? _heyApiClient).post({
|
|
52668
|
+
security: [
|
|
52669
|
+
{
|
|
52670
|
+
name: 'Authorization',
|
|
52671
|
+
type: 'apiKey'
|
|
52672
|
+
},
|
|
52673
|
+
{
|
|
52674
|
+
scheme: 'bearer',
|
|
52675
|
+
type: 'http'
|
|
52676
|
+
},
|
|
52677
|
+
{
|
|
52678
|
+
scheme: 'bearer',
|
|
52679
|
+
type: 'http'
|
|
52680
|
+
}
|
|
52681
|
+
],
|
|
52682
|
+
url: '/api/science-sub-domains/',
|
|
52683
|
+
...options,
|
|
52684
|
+
headers: {
|
|
52685
|
+
'Content-Type': 'application/json',
|
|
52686
|
+
...options.headers
|
|
52687
|
+
}
|
|
52688
|
+
});
|
|
52689
|
+
};
|
|
52690
|
+
export const scienceSubDomainsDestroy = (options) => {
|
|
52691
|
+
return (options.client ?? _heyApiClient).delete({
|
|
52692
|
+
security: [
|
|
52693
|
+
{
|
|
52694
|
+
name: 'Authorization',
|
|
52695
|
+
type: 'apiKey'
|
|
52696
|
+
},
|
|
52697
|
+
{
|
|
52698
|
+
scheme: 'bearer',
|
|
52699
|
+
type: 'http'
|
|
52700
|
+
},
|
|
52701
|
+
{
|
|
52702
|
+
scheme: 'bearer',
|
|
52703
|
+
type: 'http'
|
|
52704
|
+
}
|
|
52705
|
+
],
|
|
52706
|
+
url: '/api/science-sub-domains/{uuid}/',
|
|
52707
|
+
...options
|
|
52708
|
+
});
|
|
52709
|
+
};
|
|
52710
|
+
export const scienceSubDomainsRetrieve = (options) => {
|
|
52711
|
+
return (options.client ?? _heyApiClient).get({
|
|
52712
|
+
security: [
|
|
52713
|
+
{
|
|
52714
|
+
name: 'Authorization',
|
|
52715
|
+
type: 'apiKey'
|
|
52716
|
+
},
|
|
52717
|
+
{
|
|
52718
|
+
scheme: 'bearer',
|
|
52719
|
+
type: 'http'
|
|
52720
|
+
},
|
|
52721
|
+
{
|
|
52722
|
+
scheme: 'bearer',
|
|
52723
|
+
type: 'http'
|
|
52724
|
+
}
|
|
52725
|
+
],
|
|
52726
|
+
url: '/api/science-sub-domains/{uuid}/',
|
|
52727
|
+
...options
|
|
52728
|
+
});
|
|
52729
|
+
};
|
|
52730
|
+
export const scienceSubDomainsPartialUpdate = (options) => {
|
|
52731
|
+
return (options.client ?? _heyApiClient).patch({
|
|
52732
|
+
security: [
|
|
52733
|
+
{
|
|
52734
|
+
name: 'Authorization',
|
|
52735
|
+
type: 'apiKey'
|
|
52736
|
+
},
|
|
52737
|
+
{
|
|
52738
|
+
scheme: 'bearer',
|
|
52739
|
+
type: 'http'
|
|
52740
|
+
},
|
|
52741
|
+
{
|
|
52742
|
+
scheme: 'bearer',
|
|
52743
|
+
type: 'http'
|
|
52744
|
+
}
|
|
52745
|
+
],
|
|
52746
|
+
url: '/api/science-sub-domains/{uuid}/',
|
|
52747
|
+
...options,
|
|
52748
|
+
headers: {
|
|
52749
|
+
'Content-Type': 'application/json',
|
|
52750
|
+
...options.headers
|
|
52751
|
+
}
|
|
52752
|
+
});
|
|
52753
|
+
};
|
|
52754
|
+
export const scienceSubDomainsUpdate = (options) => {
|
|
52755
|
+
return (options.client ?? _heyApiClient).put({
|
|
52756
|
+
security: [
|
|
52757
|
+
{
|
|
52758
|
+
name: 'Authorization',
|
|
52759
|
+
type: 'apiKey'
|
|
52760
|
+
},
|
|
52761
|
+
{
|
|
52762
|
+
scheme: 'bearer',
|
|
52763
|
+
type: 'http'
|
|
52764
|
+
},
|
|
52765
|
+
{
|
|
52766
|
+
scheme: 'bearer',
|
|
52767
|
+
type: 'http'
|
|
52768
|
+
}
|
|
52769
|
+
],
|
|
52770
|
+
url: '/api/science-sub-domains/{uuid}/',
|
|
52771
|
+
...options,
|
|
52772
|
+
headers: {
|
|
52773
|
+
'Content-Type': 'application/json',
|
|
52774
|
+
...options.headers
|
|
52775
|
+
}
|
|
52776
|
+
});
|
|
52777
|
+
};
|
|
51408
52778
|
export const serviceSettingsList = (options) => {
|
|
51409
52779
|
return (options?.client ?? _heyApiClient).get({
|
|
51410
52780
|
security: [
|