waldur-js-client 8.0.8-dev.3 → 8.0.8-dev.5
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 +36 -1
- package/dist/sdk.gen.js +283 -0
- package/dist/types.gen.d.ts +436 -7
- package/package.json +1 -1
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: [
|
|
@@ -34728,6 +34955,34 @@ export const openportalUnmanagedProjectsSubmitAnswers = (options) => {
|
|
|
34728
34955
|
}
|
|
34729
34956
|
});
|
|
34730
34957
|
};
|
|
34958
|
+
/**
|
|
34959
|
+
* Update affiliated organizations for a project
|
|
34960
|
+
* Assigns a project to one or more affiliated organizations. Replaces the current set.
|
|
34961
|
+
*/
|
|
34962
|
+
export const openportalUnmanagedProjectsUpdateAffiliatedOrganizations = (options) => {
|
|
34963
|
+
return (options.client ?? _heyApiClient).post({
|
|
34964
|
+
security: [
|
|
34965
|
+
{
|
|
34966
|
+
name: 'Authorization',
|
|
34967
|
+
type: 'apiKey'
|
|
34968
|
+
},
|
|
34969
|
+
{
|
|
34970
|
+
scheme: 'bearer',
|
|
34971
|
+
type: 'http'
|
|
34972
|
+
},
|
|
34973
|
+
{
|
|
34974
|
+
scheme: 'bearer',
|
|
34975
|
+
type: 'http'
|
|
34976
|
+
}
|
|
34977
|
+
],
|
|
34978
|
+
url: '/api/openportal-unmanaged-projects/{uuid}/update_affiliated_organizations/',
|
|
34979
|
+
...options,
|
|
34980
|
+
headers: {
|
|
34981
|
+
'Content-Type': 'application/json',
|
|
34982
|
+
...options.headers
|
|
34983
|
+
}
|
|
34984
|
+
});
|
|
34985
|
+
};
|
|
34731
34986
|
/**
|
|
34732
34987
|
* Update a user's role expiration
|
|
34733
34988
|
* 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.
|
|
@@ -43486,6 +43741,34 @@ export const projectsSyncUserRoles = (options) => {
|
|
|
43486
43741
|
...options
|
|
43487
43742
|
});
|
|
43488
43743
|
};
|
|
43744
|
+
/**
|
|
43745
|
+
* Update affiliated organizations for a project
|
|
43746
|
+
* Assigns a project to one or more affiliated organizations. Replaces the current set.
|
|
43747
|
+
*/
|
|
43748
|
+
export const projectsUpdateAffiliatedOrganizations = (options) => {
|
|
43749
|
+
return (options.client ?? _heyApiClient).post({
|
|
43750
|
+
security: [
|
|
43751
|
+
{
|
|
43752
|
+
name: 'Authorization',
|
|
43753
|
+
type: 'apiKey'
|
|
43754
|
+
},
|
|
43755
|
+
{
|
|
43756
|
+
scheme: 'bearer',
|
|
43757
|
+
type: 'http'
|
|
43758
|
+
},
|
|
43759
|
+
{
|
|
43760
|
+
scheme: 'bearer',
|
|
43761
|
+
type: 'http'
|
|
43762
|
+
}
|
|
43763
|
+
],
|
|
43764
|
+
url: '/api/projects/{uuid}/update_affiliated_organizations/',
|
|
43765
|
+
...options,
|
|
43766
|
+
headers: {
|
|
43767
|
+
'Content-Type': 'application/json',
|
|
43768
|
+
...options.headers
|
|
43769
|
+
}
|
|
43770
|
+
});
|
|
43771
|
+
};
|
|
43489
43772
|
/**
|
|
43490
43773
|
* Update a user's role expiration
|
|
43491
43774
|
* 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.
|