@waldur/openportal 1.0.1-dev.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +20 -0
- package/src/index.ts +2 -0
- package/src/sdk.gen.ts +2483 -0
- package/src/types.gen.ts +2978 -0
- package/tsconfig.json +30 -0
package/src/sdk.gen.ts
ADDED
|
@@ -0,0 +1,2483 @@
|
|
|
1
|
+
// This file is auto-generated by split-sdk script
|
|
2
|
+
|
|
3
|
+
import type { Options } from '@waldur/core';
|
|
4
|
+
import { client as _heyApiClient } from '@waldur/core';
|
|
5
|
+
|
|
6
|
+
import type { OpenportalAccessForEmailListData, OpenportalAccessForEmailListResponses, OpenportalAccountingSummaryCountData, OpenportalAccountingSummaryCountResponses, OpenportalAccountingSummaryListData, OpenportalAccountingSummaryListResponses, OpenportalAccountingSummaryRetrieveData, OpenportalAccountingSummaryRetrieveResponses, OpenportalAllocationUserUsageCountData, OpenportalAllocationUserUsageCountResponses, OpenportalAllocationUserUsageListData, OpenportalAllocationUserUsageListResponses, OpenportalAllocationUserUsageRetrieveData, OpenportalAllocationUserUsageRetrieveResponses, OpenportalAllocationsCountData, OpenportalAllocationsCountResponses, OpenportalAllocationsCreateData, OpenportalAllocationsCreateResponses, OpenportalAllocationsDestroyData, OpenportalAllocationsDestroyResponses, OpenportalAllocationsListData, OpenportalAllocationsListResponses, OpenportalAllocationsPartialUpdateData, OpenportalAllocationsPartialUpdateResponses, OpenportalAllocationsPullData, OpenportalAllocationsPullErrors, OpenportalAllocationsPullResponses, OpenportalAllocationsRetrieveData, OpenportalAllocationsRetrieveResponses, OpenportalAllocationsSetErredData, OpenportalAllocationsSetErredResponses, OpenportalAllocationsSetLimitsData, OpenportalAllocationsSetLimitsResponses, OpenportalAllocationsSetOkData, OpenportalAllocationsSetOkResponses, OpenportalAllocationsUnlinkData, OpenportalAllocationsUnlinkResponses, OpenportalAllocationsUpdateData, OpenportalAllocationsUpdateResponses, OpenportalAssociationsCountData, OpenportalAssociationsCountResponses, OpenportalAssociationsListData, OpenportalAssociationsListResponses, OpenportalAssociationsRetrieveData, OpenportalAssociationsRetrieveResponses, OpenportalManagedProjectsApproveData, OpenportalManagedProjectsApproveResponses, OpenportalManagedProjectsAttachData, OpenportalManagedProjectsAttachResponses, OpenportalManagedProjectsCountData, OpenportalManagedProjectsCountResponses, OpenportalManagedProjectsDeleteDestroyData, OpenportalManagedProjectsDeleteDestroyResponses, OpenportalManagedProjectsDetachData, OpenportalManagedProjectsDetachResponses, OpenportalManagedProjectsListData, OpenportalManagedProjectsListResponses, OpenportalManagedProjectsRejectData, OpenportalManagedProjectsRejectResponses, OpenportalManagedProjectsRetrieveGetData, OpenportalManagedProjectsRetrieveGetResponses, OpenportalManagedProjectsRetrieveHeadData, OpenportalManagedProjectsRetrieveHeadResponses, OpenportalOfferingMappingRetrieveData, OpenportalOfferingMappingRetrieveResponses, OpenportalProjectMappingRetrieveData, OpenportalProjectMappingRetrieveResponses, OpenportalProjectStorageReportsCountData, OpenportalProjectStorageReportsCountResponses, OpenportalProjectStorageReportsListData, OpenportalProjectStorageReportsListResponses, OpenportalProjectStorageReportsRetrieveData, OpenportalProjectStorageReportsRetrieveResponses, OpenportalProjectTemplateCountData, OpenportalProjectTemplateCountResponses, OpenportalProjectTemplateCreateData, OpenportalProjectTemplateCreateResponses, OpenportalProjectTemplateDeleteDestroyData, OpenportalProjectTemplateDeleteDestroyResponses, OpenportalProjectTemplateDestroyData, OpenportalProjectTemplateDestroyResponses, OpenportalProjectTemplateListData, OpenportalProjectTemplateListResponses, OpenportalProjectTemplatePartialUpdateData, OpenportalProjectTemplatePartialUpdateResponses, OpenportalProjectTemplateRetrieveData, OpenportalProjectTemplateRetrieveResponses, OpenportalProjectTemplateUpdateData, OpenportalProjectTemplateUpdateResponses, OpenportalProjectUsageReportsCountData, OpenportalProjectUsageReportsCountResponses, OpenportalProjectUsageReportsListData, OpenportalProjectUsageReportsListResponses, OpenportalProjectUsageReportsRetrieveData, OpenportalProjectUsageReportsRetrieveResponses, OpenportalProjectinfoCountData, OpenportalProjectinfoCountResponses, OpenportalProjectinfoCreateData, OpenportalProjectinfoCreateResponses, OpenportalProjectinfoDestroyData, OpenportalProjectinfoDestroyResponses, OpenportalProjectinfoListData, OpenportalProjectinfoListResponses, OpenportalProjectinfoPartialUpdateData, OpenportalProjectinfoPartialUpdateResponses, OpenportalProjectinfoRetrieveData, OpenportalProjectinfoRetrieveResponses, OpenportalProjectinfoSetAllowedDestinationsUpdateData, OpenportalProjectinfoSetAllowedDestinationsUpdateResponses, OpenportalProjectinfoSetShortnameUpdateData, OpenportalProjectinfoSetShortnameUpdateResponses, OpenportalProjectinfoUpdateData, OpenportalProjectinfoUpdateResponses, OpenportalRemoteAllocationsCountData, OpenportalRemoteAllocationsCountResponses, OpenportalRemoteAllocationsCreateData, OpenportalRemoteAllocationsCreateResponses, OpenportalRemoteAllocationsDestroyData, OpenportalRemoteAllocationsDestroyResponses, OpenportalRemoteAllocationsListData, OpenportalRemoteAllocationsListResponses, OpenportalRemoteAllocationsPartialUpdateData, OpenportalRemoteAllocationsPartialUpdateResponses, OpenportalRemoteAllocationsPullData, OpenportalRemoteAllocationsPullErrors, OpenportalRemoteAllocationsPullResponses, OpenportalRemoteAllocationsRetrieveData, OpenportalRemoteAllocationsRetrieveResponses, OpenportalRemoteAllocationsSetErredData, OpenportalRemoteAllocationsSetErredResponses, OpenportalRemoteAllocationsSetLimitsData, OpenportalRemoteAllocationsSetLimitsResponses, OpenportalRemoteAllocationsSetOkData, OpenportalRemoteAllocationsSetOkResponses, OpenportalRemoteAllocationsUnlinkData, OpenportalRemoteAllocationsUnlinkResponses, OpenportalRemoteAllocationsUpdateData, OpenportalRemoteAllocationsUpdateResponses, OpenportalRemoteAssociationsCountData, OpenportalRemoteAssociationsCountResponses, OpenportalRemoteAssociationsListData, OpenportalRemoteAssociationsListResponses, OpenportalRemoteAssociationsRetrieveData, OpenportalRemoteAssociationsRetrieveResponses, OpenportalUnmanagedProjectsAddUserData, OpenportalUnmanagedProjectsAddUserErrors, OpenportalUnmanagedProjectsAddUserResponses, OpenportalUnmanagedProjectsChecklistRetrieveData, OpenportalUnmanagedProjectsChecklistRetrieveErrors, OpenportalUnmanagedProjectsChecklistRetrieveResponses, OpenportalUnmanagedProjectsChecklistTemplateCountData, OpenportalUnmanagedProjectsChecklistTemplateCountResponses, OpenportalUnmanagedProjectsChecklistTemplateRetrieveData, OpenportalUnmanagedProjectsChecklistTemplateRetrieveErrors, OpenportalUnmanagedProjectsChecklistTemplateRetrieveResponses, OpenportalUnmanagedProjectsCompletionStatusRetrieveData, OpenportalUnmanagedProjectsCompletionStatusRetrieveErrors, OpenportalUnmanagedProjectsCompletionStatusRetrieveResponses, OpenportalUnmanagedProjectsCountData, OpenportalUnmanagedProjectsCountResponses, OpenportalUnmanagedProjectsCreateData, OpenportalUnmanagedProjectsCreateResponses, OpenportalUnmanagedProjectsDeleteUserData, OpenportalUnmanagedProjectsDeleteUserResponses, OpenportalUnmanagedProjectsDestroyData, OpenportalUnmanagedProjectsDestroyResponses, OpenportalUnmanagedProjectsListData, OpenportalUnmanagedProjectsListResponses, OpenportalUnmanagedProjectsListUsersListData, OpenportalUnmanagedProjectsListUsersListResponses, OpenportalUnmanagedProjectsMoveProjectData, OpenportalUnmanagedProjectsMoveProjectResponses, OpenportalUnmanagedProjectsPartialUpdateData, OpenportalUnmanagedProjectsPartialUpdateResponses, OpenportalUnmanagedProjectsRecoverData, OpenportalUnmanagedProjectsRecoverResponses, OpenportalUnmanagedProjectsRetrieveData, OpenportalUnmanagedProjectsRetrieveResponses, OpenportalUnmanagedProjectsStatsRetrieveData, OpenportalUnmanagedProjectsStatsRetrieveResponses, OpenportalUnmanagedProjectsSubmitAnswersData, OpenportalUnmanagedProjectsSubmitAnswersErrors, OpenportalUnmanagedProjectsSubmitAnswersResponses, OpenportalUnmanagedProjectsUpdateAffiliatedOrganizationsData, OpenportalUnmanagedProjectsUpdateAffiliatedOrganizationsResponses, OpenportalUnmanagedProjectsUpdateData, OpenportalUnmanagedProjectsUpdateResponses, OpenportalUnmanagedProjectsUpdateUserData, OpenportalUnmanagedProjectsUpdateUserResponses, OpenportalUserMappingRetrieveData, OpenportalUserMappingRetrieveResponses, OpenportalUserinfoCountData, OpenportalUserinfoCountResponses, OpenportalUserinfoCreateData, OpenportalUserinfoCreateResponses, OpenportalUserinfoDestroyData, OpenportalUserinfoDestroyResponses, OpenportalUserinfoListData, OpenportalUserinfoListResponses, OpenportalUserinfoMeCountData, OpenportalUserinfoMeCountResponses, OpenportalUserinfoMeRetrieveData, OpenportalUserinfoMeRetrieveResponses, OpenportalUserinfoPartialUpdateData, OpenportalUserinfoPartialUpdateResponses, OpenportalUserinfoRetrieveData, OpenportalUserinfoRetrieveResponses, OpenportalUserinfoSetShortnameUpdateData, OpenportalUserinfoSetShortnameUpdateResponses, OpenportalUserinfoUpdateData, OpenportalUserinfoUpdateResponses } from './types.gen';
|
|
7
|
+
|
|
8
|
+
export const openportalAccountingSummaryList = <ThrowOnError extends boolean = false>(options?: Options<OpenportalAccountingSummaryListData, ThrowOnError>) => {
|
|
9
|
+
return (options?.client ?? _heyApiClient).get<OpenportalAccountingSummaryListResponses, unknown, ThrowOnError>({
|
|
10
|
+
security: [
|
|
11
|
+
{
|
|
12
|
+
name: 'Authorization',
|
|
13
|
+
type: 'apiKey'
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
scheme: 'bearer',
|
|
17
|
+
type: 'http'
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
scheme: 'bearer',
|
|
21
|
+
type: 'http'
|
|
22
|
+
}
|
|
23
|
+
],
|
|
24
|
+
url: '/api/openportal-accounting-summary/',
|
|
25
|
+
...options
|
|
26
|
+
});
|
|
27
|
+
};
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* Get number of items in the collection matching the request parameters.
|
|
31
|
+
*/
|
|
32
|
+
export const openportalAccountingSummaryCount = <ThrowOnError extends boolean = false>(options?: Options<OpenportalAccountingSummaryCountData, ThrowOnError>) => {
|
|
33
|
+
return (options?.client ?? _heyApiClient).head<OpenportalAccountingSummaryCountResponses, unknown, ThrowOnError>({
|
|
34
|
+
security: [
|
|
35
|
+
{
|
|
36
|
+
name: 'Authorization',
|
|
37
|
+
type: 'apiKey'
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
scheme: 'bearer',
|
|
41
|
+
type: 'http'
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
scheme: 'bearer',
|
|
45
|
+
type: 'http'
|
|
46
|
+
}
|
|
47
|
+
],
|
|
48
|
+
url: '/api/openportal-accounting-summary/',
|
|
49
|
+
...options
|
|
50
|
+
});
|
|
51
|
+
};
|
|
52
|
+
|
|
53
|
+
export const openportalAccountingSummaryRetrieve = <ThrowOnError extends boolean = false>(options: Options<OpenportalAccountingSummaryRetrieveData, ThrowOnError>) => {
|
|
54
|
+
return (options.client ?? _heyApiClient).get<OpenportalAccountingSummaryRetrieveResponses, unknown, ThrowOnError>({
|
|
55
|
+
security: [
|
|
56
|
+
{
|
|
57
|
+
name: 'Authorization',
|
|
58
|
+
type: 'apiKey'
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
scheme: 'bearer',
|
|
62
|
+
type: 'http'
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
scheme: 'bearer',
|
|
66
|
+
type: 'http'
|
|
67
|
+
}
|
|
68
|
+
],
|
|
69
|
+
url: '/api/openportal-accounting-summary/{uuid}/',
|
|
70
|
+
...options
|
|
71
|
+
});
|
|
72
|
+
};
|
|
73
|
+
|
|
74
|
+
export const openportalAllocationUserUsageList = <ThrowOnError extends boolean = false>(options?: Options<OpenportalAllocationUserUsageListData, ThrowOnError>) => {
|
|
75
|
+
return (options?.client ?? _heyApiClient).get<OpenportalAllocationUserUsageListResponses, unknown, ThrowOnError>({
|
|
76
|
+
security: [
|
|
77
|
+
{
|
|
78
|
+
name: 'Authorization',
|
|
79
|
+
type: 'apiKey'
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
scheme: 'bearer',
|
|
83
|
+
type: 'http'
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
scheme: 'bearer',
|
|
87
|
+
type: 'http'
|
|
88
|
+
}
|
|
89
|
+
],
|
|
90
|
+
url: '/api/openportal-allocation-user-usage/',
|
|
91
|
+
...options
|
|
92
|
+
});
|
|
93
|
+
};
|
|
94
|
+
|
|
95
|
+
/**
|
|
96
|
+
* Get number of items in the collection matching the request parameters.
|
|
97
|
+
*/
|
|
98
|
+
export const openportalAllocationUserUsageCount = <ThrowOnError extends boolean = false>(options?: Options<OpenportalAllocationUserUsageCountData, ThrowOnError>) => {
|
|
99
|
+
return (options?.client ?? _heyApiClient).head<OpenportalAllocationUserUsageCountResponses, unknown, ThrowOnError>({
|
|
100
|
+
security: [
|
|
101
|
+
{
|
|
102
|
+
name: 'Authorization',
|
|
103
|
+
type: 'apiKey'
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
scheme: 'bearer',
|
|
107
|
+
type: 'http'
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
scheme: 'bearer',
|
|
111
|
+
type: 'http'
|
|
112
|
+
}
|
|
113
|
+
],
|
|
114
|
+
url: '/api/openportal-allocation-user-usage/',
|
|
115
|
+
...options
|
|
116
|
+
});
|
|
117
|
+
};
|
|
118
|
+
|
|
119
|
+
export const openportalAllocationUserUsageRetrieve = <ThrowOnError extends boolean = false>(options: Options<OpenportalAllocationUserUsageRetrieveData, ThrowOnError>) => {
|
|
120
|
+
return (options.client ?? _heyApiClient).get<OpenportalAllocationUserUsageRetrieveResponses, unknown, ThrowOnError>({
|
|
121
|
+
security: [
|
|
122
|
+
{
|
|
123
|
+
name: 'Authorization',
|
|
124
|
+
type: 'apiKey'
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
scheme: 'bearer',
|
|
128
|
+
type: 'http'
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
scheme: 'bearer',
|
|
132
|
+
type: 'http'
|
|
133
|
+
}
|
|
134
|
+
],
|
|
135
|
+
url: '/api/openportal-allocation-user-usage/{id}/',
|
|
136
|
+
...options
|
|
137
|
+
});
|
|
138
|
+
};
|
|
139
|
+
|
|
140
|
+
export const openportalAllocationsList = <ThrowOnError extends boolean = false>(options?: Options<OpenportalAllocationsListData, ThrowOnError>) => {
|
|
141
|
+
return (options?.client ?? _heyApiClient).get<OpenportalAllocationsListResponses, unknown, ThrowOnError>({
|
|
142
|
+
security: [
|
|
143
|
+
{
|
|
144
|
+
name: 'Authorization',
|
|
145
|
+
type: 'apiKey'
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
scheme: 'bearer',
|
|
149
|
+
type: 'http'
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
scheme: 'bearer',
|
|
153
|
+
type: 'http'
|
|
154
|
+
}
|
|
155
|
+
],
|
|
156
|
+
url: '/api/openportal-allocations/',
|
|
157
|
+
...options
|
|
158
|
+
});
|
|
159
|
+
};
|
|
160
|
+
|
|
161
|
+
/**
|
|
162
|
+
* Get number of items in the collection matching the request parameters.
|
|
163
|
+
*/
|
|
164
|
+
export const openportalAllocationsCount = <ThrowOnError extends boolean = false>(options?: Options<OpenportalAllocationsCountData, ThrowOnError>) => {
|
|
165
|
+
return (options?.client ?? _heyApiClient).head<OpenportalAllocationsCountResponses, unknown, ThrowOnError>({
|
|
166
|
+
security: [
|
|
167
|
+
{
|
|
168
|
+
name: 'Authorization',
|
|
169
|
+
type: 'apiKey'
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
scheme: 'bearer',
|
|
173
|
+
type: 'http'
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
scheme: 'bearer',
|
|
177
|
+
type: 'http'
|
|
178
|
+
}
|
|
179
|
+
],
|
|
180
|
+
url: '/api/openportal-allocations/',
|
|
181
|
+
...options
|
|
182
|
+
});
|
|
183
|
+
};
|
|
184
|
+
|
|
185
|
+
export const openportalAllocationsCreate = <ThrowOnError extends boolean = false>(options: Options<OpenportalAllocationsCreateData, ThrowOnError>) => {
|
|
186
|
+
return (options.client ?? _heyApiClient).post<OpenportalAllocationsCreateResponses, unknown, ThrowOnError>({
|
|
187
|
+
security: [
|
|
188
|
+
{
|
|
189
|
+
name: 'Authorization',
|
|
190
|
+
type: 'apiKey'
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
scheme: 'bearer',
|
|
194
|
+
type: 'http'
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
scheme: 'bearer',
|
|
198
|
+
type: 'http'
|
|
199
|
+
}
|
|
200
|
+
],
|
|
201
|
+
url: '/api/openportal-allocations/',
|
|
202
|
+
...options,
|
|
203
|
+
headers: {
|
|
204
|
+
'Content-Type': 'application/json',
|
|
205
|
+
...options.headers
|
|
206
|
+
}
|
|
207
|
+
});
|
|
208
|
+
};
|
|
209
|
+
|
|
210
|
+
export const openportalAllocationsDestroy = <ThrowOnError extends boolean = false>(options: Options<OpenportalAllocationsDestroyData, ThrowOnError>) => {
|
|
211
|
+
return (options.client ?? _heyApiClient).delete<OpenportalAllocationsDestroyResponses, unknown, ThrowOnError>({
|
|
212
|
+
security: [
|
|
213
|
+
{
|
|
214
|
+
name: 'Authorization',
|
|
215
|
+
type: 'apiKey'
|
|
216
|
+
},
|
|
217
|
+
{
|
|
218
|
+
scheme: 'bearer',
|
|
219
|
+
type: 'http'
|
|
220
|
+
},
|
|
221
|
+
{
|
|
222
|
+
scheme: 'bearer',
|
|
223
|
+
type: 'http'
|
|
224
|
+
}
|
|
225
|
+
],
|
|
226
|
+
url: '/api/openportal-allocations/{uuid}/',
|
|
227
|
+
...options
|
|
228
|
+
});
|
|
229
|
+
};
|
|
230
|
+
|
|
231
|
+
export const openportalAllocationsRetrieve = <ThrowOnError extends boolean = false>(options: Options<OpenportalAllocationsRetrieveData, ThrowOnError>) => {
|
|
232
|
+
return (options.client ?? _heyApiClient).get<OpenportalAllocationsRetrieveResponses, unknown, ThrowOnError>({
|
|
233
|
+
security: [
|
|
234
|
+
{
|
|
235
|
+
name: 'Authorization',
|
|
236
|
+
type: 'apiKey'
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
scheme: 'bearer',
|
|
240
|
+
type: 'http'
|
|
241
|
+
},
|
|
242
|
+
{
|
|
243
|
+
scheme: 'bearer',
|
|
244
|
+
type: 'http'
|
|
245
|
+
}
|
|
246
|
+
],
|
|
247
|
+
url: '/api/openportal-allocations/{uuid}/',
|
|
248
|
+
...options
|
|
249
|
+
});
|
|
250
|
+
};
|
|
251
|
+
|
|
252
|
+
export const openportalAllocationsPartialUpdate = <ThrowOnError extends boolean = false>(options: Options<OpenportalAllocationsPartialUpdateData, ThrowOnError>) => {
|
|
253
|
+
return (options.client ?? _heyApiClient).patch<OpenportalAllocationsPartialUpdateResponses, unknown, ThrowOnError>({
|
|
254
|
+
security: [
|
|
255
|
+
{
|
|
256
|
+
name: 'Authorization',
|
|
257
|
+
type: 'apiKey'
|
|
258
|
+
},
|
|
259
|
+
{
|
|
260
|
+
scheme: 'bearer',
|
|
261
|
+
type: 'http'
|
|
262
|
+
},
|
|
263
|
+
{
|
|
264
|
+
scheme: 'bearer',
|
|
265
|
+
type: 'http'
|
|
266
|
+
}
|
|
267
|
+
],
|
|
268
|
+
url: '/api/openportal-allocations/{uuid}/',
|
|
269
|
+
...options,
|
|
270
|
+
headers: {
|
|
271
|
+
'Content-Type': 'application/json',
|
|
272
|
+
...options.headers
|
|
273
|
+
}
|
|
274
|
+
});
|
|
275
|
+
};
|
|
276
|
+
|
|
277
|
+
export const openportalAllocationsUpdate = <ThrowOnError extends boolean = false>(options: Options<OpenportalAllocationsUpdateData, ThrowOnError>) => {
|
|
278
|
+
return (options.client ?? _heyApiClient).put<OpenportalAllocationsUpdateResponses, unknown, ThrowOnError>({
|
|
279
|
+
security: [
|
|
280
|
+
{
|
|
281
|
+
name: 'Authorization',
|
|
282
|
+
type: 'apiKey'
|
|
283
|
+
},
|
|
284
|
+
{
|
|
285
|
+
scheme: 'bearer',
|
|
286
|
+
type: 'http'
|
|
287
|
+
},
|
|
288
|
+
{
|
|
289
|
+
scheme: 'bearer',
|
|
290
|
+
type: 'http'
|
|
291
|
+
}
|
|
292
|
+
],
|
|
293
|
+
url: '/api/openportal-allocations/{uuid}/',
|
|
294
|
+
...options,
|
|
295
|
+
headers: {
|
|
296
|
+
'Content-Type': 'application/json',
|
|
297
|
+
...options.headers
|
|
298
|
+
}
|
|
299
|
+
});
|
|
300
|
+
};
|
|
301
|
+
|
|
302
|
+
/**
|
|
303
|
+
* Synchronize resource state
|
|
304
|
+
* Schedule an asynchronous pull operation to synchronize resource state from the backend. Returns 202 if the pull was scheduled successfully, or 409 if the pull operation is not implemented for this resource type.
|
|
305
|
+
*/
|
|
306
|
+
export const openportalAllocationsPull = <ThrowOnError extends boolean = false>(options: Options<OpenportalAllocationsPullData, ThrowOnError>) => {
|
|
307
|
+
return (options.client ?? _heyApiClient).post<OpenportalAllocationsPullResponses, OpenportalAllocationsPullErrors, ThrowOnError>({
|
|
308
|
+
security: [
|
|
309
|
+
{
|
|
310
|
+
name: 'Authorization',
|
|
311
|
+
type: 'apiKey'
|
|
312
|
+
},
|
|
313
|
+
{
|
|
314
|
+
scheme: 'bearer',
|
|
315
|
+
type: 'http'
|
|
316
|
+
},
|
|
317
|
+
{
|
|
318
|
+
scheme: 'bearer',
|
|
319
|
+
type: 'http'
|
|
320
|
+
}
|
|
321
|
+
],
|
|
322
|
+
url: '/api/openportal-allocations/{uuid}/pull/',
|
|
323
|
+
...options
|
|
324
|
+
});
|
|
325
|
+
};
|
|
326
|
+
|
|
327
|
+
/**
|
|
328
|
+
* Mark resource as ERRED
|
|
329
|
+
* Manually transition the resource to ERRED state. This is useful for resources stuck in transitional states (CREATING, UPDATING, DELETING) that cannot be synced via pull. Staff-only operation.
|
|
330
|
+
*/
|
|
331
|
+
export const openportalAllocationsSetErred = <ThrowOnError extends boolean = false>(options: Options<OpenportalAllocationsSetErredData, ThrowOnError>) => {
|
|
332
|
+
return (options.client ?? _heyApiClient).post<OpenportalAllocationsSetErredResponses, unknown, ThrowOnError>({
|
|
333
|
+
security: [
|
|
334
|
+
{
|
|
335
|
+
name: 'Authorization',
|
|
336
|
+
type: 'apiKey'
|
|
337
|
+
},
|
|
338
|
+
{
|
|
339
|
+
scheme: 'bearer',
|
|
340
|
+
type: 'http'
|
|
341
|
+
},
|
|
342
|
+
{
|
|
343
|
+
scheme: 'bearer',
|
|
344
|
+
type: 'http'
|
|
345
|
+
}
|
|
346
|
+
],
|
|
347
|
+
url: '/api/openportal-allocations/{uuid}/set_erred/',
|
|
348
|
+
...options,
|
|
349
|
+
headers: {
|
|
350
|
+
'Content-Type': 'application/json',
|
|
351
|
+
...options.headers
|
|
352
|
+
}
|
|
353
|
+
});
|
|
354
|
+
};
|
|
355
|
+
|
|
356
|
+
export const openportalAllocationsSetLimits = <ThrowOnError extends boolean = false>(options: Options<OpenportalAllocationsSetLimitsData, ThrowOnError>) => {
|
|
357
|
+
return (options.client ?? _heyApiClient).post<OpenportalAllocationsSetLimitsResponses, unknown, ThrowOnError>({
|
|
358
|
+
security: [
|
|
359
|
+
{
|
|
360
|
+
name: 'Authorization',
|
|
361
|
+
type: 'apiKey'
|
|
362
|
+
},
|
|
363
|
+
{
|
|
364
|
+
scheme: 'bearer',
|
|
365
|
+
type: 'http'
|
|
366
|
+
},
|
|
367
|
+
{
|
|
368
|
+
scheme: 'bearer',
|
|
369
|
+
type: 'http'
|
|
370
|
+
}
|
|
371
|
+
],
|
|
372
|
+
url: '/api/openportal-allocations/{uuid}/set_limits/',
|
|
373
|
+
...options,
|
|
374
|
+
headers: {
|
|
375
|
+
'Content-Type': 'application/json',
|
|
376
|
+
...options.headers
|
|
377
|
+
}
|
|
378
|
+
});
|
|
379
|
+
};
|
|
380
|
+
|
|
381
|
+
/**
|
|
382
|
+
* Mark resource as OK
|
|
383
|
+
* Manually transition the resource to OK state and clear error fields. Staff-only operation.
|
|
384
|
+
*/
|
|
385
|
+
export const openportalAllocationsSetOk = <ThrowOnError extends boolean = false>(options: Options<OpenportalAllocationsSetOkData, ThrowOnError>) => {
|
|
386
|
+
return (options.client ?? _heyApiClient).post<OpenportalAllocationsSetOkResponses, unknown, ThrowOnError>({
|
|
387
|
+
security: [
|
|
388
|
+
{
|
|
389
|
+
name: 'Authorization',
|
|
390
|
+
type: 'apiKey'
|
|
391
|
+
},
|
|
392
|
+
{
|
|
393
|
+
scheme: 'bearer',
|
|
394
|
+
type: 'http'
|
|
395
|
+
},
|
|
396
|
+
{
|
|
397
|
+
scheme: 'bearer',
|
|
398
|
+
type: 'http'
|
|
399
|
+
}
|
|
400
|
+
],
|
|
401
|
+
url: '/api/openportal-allocations/{uuid}/set_ok/',
|
|
402
|
+
...options
|
|
403
|
+
});
|
|
404
|
+
};
|
|
405
|
+
|
|
406
|
+
/**
|
|
407
|
+
* Unlink resource
|
|
408
|
+
* Delete resource from the database without scheduling operations on backend
|
|
409
|
+
* and without checking current state of the resource. It is intended to be used
|
|
410
|
+
* for removing resource stuck in transitioning state.
|
|
411
|
+
*/
|
|
412
|
+
export const openportalAllocationsUnlink = <ThrowOnError extends boolean = false>(options: Options<OpenportalAllocationsUnlinkData, ThrowOnError>) => {
|
|
413
|
+
return (options.client ?? _heyApiClient).post<OpenportalAllocationsUnlinkResponses, unknown, ThrowOnError>({
|
|
414
|
+
security: [
|
|
415
|
+
{
|
|
416
|
+
name: 'Authorization',
|
|
417
|
+
type: 'apiKey'
|
|
418
|
+
},
|
|
419
|
+
{
|
|
420
|
+
scheme: 'bearer',
|
|
421
|
+
type: 'http'
|
|
422
|
+
},
|
|
423
|
+
{
|
|
424
|
+
scheme: 'bearer',
|
|
425
|
+
type: 'http'
|
|
426
|
+
}
|
|
427
|
+
],
|
|
428
|
+
url: '/api/openportal-allocations/{uuid}/unlink/',
|
|
429
|
+
...options
|
|
430
|
+
});
|
|
431
|
+
};
|
|
432
|
+
|
|
433
|
+
export const openportalAssociationsList = <ThrowOnError extends boolean = false>(options?: Options<OpenportalAssociationsListData, ThrowOnError>) => {
|
|
434
|
+
return (options?.client ?? _heyApiClient).get<OpenportalAssociationsListResponses, unknown, ThrowOnError>({
|
|
435
|
+
security: [
|
|
436
|
+
{
|
|
437
|
+
name: 'Authorization',
|
|
438
|
+
type: 'apiKey'
|
|
439
|
+
},
|
|
440
|
+
{
|
|
441
|
+
scheme: 'bearer',
|
|
442
|
+
type: 'http'
|
|
443
|
+
},
|
|
444
|
+
{
|
|
445
|
+
scheme: 'bearer',
|
|
446
|
+
type: 'http'
|
|
447
|
+
}
|
|
448
|
+
],
|
|
449
|
+
url: '/api/openportal-associations/',
|
|
450
|
+
...options
|
|
451
|
+
});
|
|
452
|
+
};
|
|
453
|
+
|
|
454
|
+
/**
|
|
455
|
+
* Get number of items in the collection matching the request parameters.
|
|
456
|
+
*/
|
|
457
|
+
export const openportalAssociationsCount = <ThrowOnError extends boolean = false>(options?: Options<OpenportalAssociationsCountData, ThrowOnError>) => {
|
|
458
|
+
return (options?.client ?? _heyApiClient).head<OpenportalAssociationsCountResponses, unknown, ThrowOnError>({
|
|
459
|
+
security: [
|
|
460
|
+
{
|
|
461
|
+
name: 'Authorization',
|
|
462
|
+
type: 'apiKey'
|
|
463
|
+
},
|
|
464
|
+
{
|
|
465
|
+
scheme: 'bearer',
|
|
466
|
+
type: 'http'
|
|
467
|
+
},
|
|
468
|
+
{
|
|
469
|
+
scheme: 'bearer',
|
|
470
|
+
type: 'http'
|
|
471
|
+
}
|
|
472
|
+
],
|
|
473
|
+
url: '/api/openportal-associations/',
|
|
474
|
+
...options
|
|
475
|
+
});
|
|
476
|
+
};
|
|
477
|
+
|
|
478
|
+
export const openportalAssociationsRetrieve = <ThrowOnError extends boolean = false>(options: Options<OpenportalAssociationsRetrieveData, ThrowOnError>) => {
|
|
479
|
+
return (options.client ?? _heyApiClient).get<OpenportalAssociationsRetrieveResponses, unknown, ThrowOnError>({
|
|
480
|
+
security: [
|
|
481
|
+
{
|
|
482
|
+
name: 'Authorization',
|
|
483
|
+
type: 'apiKey'
|
|
484
|
+
},
|
|
485
|
+
{
|
|
486
|
+
scheme: 'bearer',
|
|
487
|
+
type: 'http'
|
|
488
|
+
},
|
|
489
|
+
{
|
|
490
|
+
scheme: 'bearer',
|
|
491
|
+
type: 'http'
|
|
492
|
+
}
|
|
493
|
+
],
|
|
494
|
+
url: '/api/openportal-associations/{uuid}/',
|
|
495
|
+
...options
|
|
496
|
+
});
|
|
497
|
+
};
|
|
498
|
+
|
|
499
|
+
/**
|
|
500
|
+
* List all managed projects
|
|
501
|
+
*/
|
|
502
|
+
export const openportalManagedProjectsList = <ThrowOnError extends boolean = false>(options?: Options<OpenportalManagedProjectsListData, ThrowOnError>) => {
|
|
503
|
+
return (options?.client ?? _heyApiClient).get<OpenportalManagedProjectsListResponses, unknown, ThrowOnError>({
|
|
504
|
+
security: [
|
|
505
|
+
{
|
|
506
|
+
name: 'Authorization',
|
|
507
|
+
type: 'apiKey'
|
|
508
|
+
},
|
|
509
|
+
{
|
|
510
|
+
scheme: 'bearer',
|
|
511
|
+
type: 'http'
|
|
512
|
+
},
|
|
513
|
+
{
|
|
514
|
+
scheme: 'bearer',
|
|
515
|
+
type: 'http'
|
|
516
|
+
}
|
|
517
|
+
],
|
|
518
|
+
url: '/api/openportal-managed-projects/',
|
|
519
|
+
...options
|
|
520
|
+
});
|
|
521
|
+
};
|
|
522
|
+
|
|
523
|
+
/**
|
|
524
|
+
* Get number of items in the collection matching the request parameters.
|
|
525
|
+
*/
|
|
526
|
+
export const openportalManagedProjectsCount = <ThrowOnError extends boolean = false>(options?: Options<OpenportalManagedProjectsCountData, ThrowOnError>) => {
|
|
527
|
+
return (options?.client ?? _heyApiClient).head<OpenportalManagedProjectsCountResponses, unknown, ThrowOnError>({
|
|
528
|
+
security: [
|
|
529
|
+
{
|
|
530
|
+
name: 'Authorization',
|
|
531
|
+
type: 'apiKey'
|
|
532
|
+
},
|
|
533
|
+
{
|
|
534
|
+
scheme: 'bearer',
|
|
535
|
+
type: 'http'
|
|
536
|
+
},
|
|
537
|
+
{
|
|
538
|
+
scheme: 'bearer',
|
|
539
|
+
type: 'http'
|
|
540
|
+
}
|
|
541
|
+
],
|
|
542
|
+
url: '/api/openportal-managed-projects/',
|
|
543
|
+
...options
|
|
544
|
+
});
|
|
545
|
+
};
|
|
546
|
+
|
|
547
|
+
/**
|
|
548
|
+
* Retrieve a managed project
|
|
549
|
+
*/
|
|
550
|
+
export const openportalManagedProjectsRetrieveGet = <ThrowOnError extends boolean = false>(options: Options<OpenportalManagedProjectsRetrieveGetData, ThrowOnError>) => {
|
|
551
|
+
return (options.client ?? _heyApiClient).get<OpenportalManagedProjectsRetrieveGetResponses, unknown, ThrowOnError>({
|
|
552
|
+
security: [
|
|
553
|
+
{
|
|
554
|
+
name: 'Authorization',
|
|
555
|
+
type: 'apiKey'
|
|
556
|
+
},
|
|
557
|
+
{
|
|
558
|
+
scheme: 'bearer',
|
|
559
|
+
type: 'http'
|
|
560
|
+
},
|
|
561
|
+
{
|
|
562
|
+
scheme: 'bearer',
|
|
563
|
+
type: 'http'
|
|
564
|
+
}
|
|
565
|
+
],
|
|
566
|
+
url: '/api/openportal-managed-projects/{identifier}/{destination}/',
|
|
567
|
+
...options
|
|
568
|
+
});
|
|
569
|
+
};
|
|
570
|
+
|
|
571
|
+
/**
|
|
572
|
+
* Get number of items in the collection matching the request parameters.
|
|
573
|
+
*/
|
|
574
|
+
export const openportalManagedProjectsRetrieveHead = <ThrowOnError extends boolean = false>(options: Options<OpenportalManagedProjectsRetrieveHeadData, ThrowOnError>) => {
|
|
575
|
+
return (options.client ?? _heyApiClient).head<OpenportalManagedProjectsRetrieveHeadResponses, unknown, ThrowOnError>({
|
|
576
|
+
security: [
|
|
577
|
+
{
|
|
578
|
+
name: 'Authorization',
|
|
579
|
+
type: 'apiKey'
|
|
580
|
+
},
|
|
581
|
+
{
|
|
582
|
+
scheme: 'bearer',
|
|
583
|
+
type: 'http'
|
|
584
|
+
},
|
|
585
|
+
{
|
|
586
|
+
scheme: 'bearer',
|
|
587
|
+
type: 'http'
|
|
588
|
+
}
|
|
589
|
+
],
|
|
590
|
+
url: '/api/openportal-managed-projects/{identifier}/{destination}/',
|
|
591
|
+
...options
|
|
592
|
+
});
|
|
593
|
+
};
|
|
594
|
+
|
|
595
|
+
/**
|
|
596
|
+
* Approve managed project request
|
|
597
|
+
*/
|
|
598
|
+
export const openportalManagedProjectsApprove = <ThrowOnError extends boolean = false>(options: Options<OpenportalManagedProjectsApproveData, ThrowOnError>) => {
|
|
599
|
+
return (options.client ?? _heyApiClient).post<OpenportalManagedProjectsApproveResponses, unknown, ThrowOnError>({
|
|
600
|
+
security: [
|
|
601
|
+
{
|
|
602
|
+
name: 'Authorization',
|
|
603
|
+
type: 'apiKey'
|
|
604
|
+
},
|
|
605
|
+
{
|
|
606
|
+
scheme: 'bearer',
|
|
607
|
+
type: 'http'
|
|
608
|
+
},
|
|
609
|
+
{
|
|
610
|
+
scheme: 'bearer',
|
|
611
|
+
type: 'http'
|
|
612
|
+
}
|
|
613
|
+
],
|
|
614
|
+
url: '/api/openportal-managed-projects/{identifier}/{destination}/approve/',
|
|
615
|
+
...options,
|
|
616
|
+
headers: {
|
|
617
|
+
'Content-Type': 'application/json',
|
|
618
|
+
...options.headers
|
|
619
|
+
}
|
|
620
|
+
});
|
|
621
|
+
};
|
|
622
|
+
|
|
623
|
+
/**
|
|
624
|
+
* Attach a project to this managed project
|
|
625
|
+
*/
|
|
626
|
+
export const openportalManagedProjectsAttach = <ThrowOnError extends boolean = false>(options: Options<OpenportalManagedProjectsAttachData, ThrowOnError>) => {
|
|
627
|
+
return (options.client ?? _heyApiClient).post<OpenportalManagedProjectsAttachResponses, unknown, ThrowOnError>({
|
|
628
|
+
security: [
|
|
629
|
+
{
|
|
630
|
+
name: 'Authorization',
|
|
631
|
+
type: 'apiKey'
|
|
632
|
+
},
|
|
633
|
+
{
|
|
634
|
+
scheme: 'bearer',
|
|
635
|
+
type: 'http'
|
|
636
|
+
},
|
|
637
|
+
{
|
|
638
|
+
scheme: 'bearer',
|
|
639
|
+
type: 'http'
|
|
640
|
+
}
|
|
641
|
+
],
|
|
642
|
+
url: '/api/openportal-managed-projects/{identifier}/{destination}/attach/',
|
|
643
|
+
...options,
|
|
644
|
+
headers: {
|
|
645
|
+
'Content-Type': 'application/json',
|
|
646
|
+
...options.headers
|
|
647
|
+
}
|
|
648
|
+
});
|
|
649
|
+
};
|
|
650
|
+
|
|
651
|
+
/**
|
|
652
|
+
* Delete ManagedProject object
|
|
653
|
+
*/
|
|
654
|
+
export const openportalManagedProjectsDeleteDestroy = <ThrowOnError extends boolean = false>(options: Options<OpenportalManagedProjectsDeleteDestroyData, ThrowOnError>) => {
|
|
655
|
+
return (options.client ?? _heyApiClient).delete<OpenportalManagedProjectsDeleteDestroyResponses, unknown, ThrowOnError>({
|
|
656
|
+
security: [
|
|
657
|
+
{
|
|
658
|
+
name: 'Authorization',
|
|
659
|
+
type: 'apiKey'
|
|
660
|
+
},
|
|
661
|
+
{
|
|
662
|
+
scheme: 'bearer',
|
|
663
|
+
type: 'http'
|
|
664
|
+
},
|
|
665
|
+
{
|
|
666
|
+
scheme: 'bearer',
|
|
667
|
+
type: 'http'
|
|
668
|
+
}
|
|
669
|
+
],
|
|
670
|
+
url: '/api/openportal-managed-projects/{identifier}/{destination}/delete/',
|
|
671
|
+
...options
|
|
672
|
+
});
|
|
673
|
+
};
|
|
674
|
+
|
|
675
|
+
/**
|
|
676
|
+
* Detach the project from this managed project
|
|
677
|
+
*/
|
|
678
|
+
export const openportalManagedProjectsDetach = <ThrowOnError extends boolean = false>(options: Options<OpenportalManagedProjectsDetachData, ThrowOnError>) => {
|
|
679
|
+
return (options.client ?? _heyApiClient).post<OpenportalManagedProjectsDetachResponses, unknown, ThrowOnError>({
|
|
680
|
+
security: [
|
|
681
|
+
{
|
|
682
|
+
name: 'Authorization',
|
|
683
|
+
type: 'apiKey'
|
|
684
|
+
},
|
|
685
|
+
{
|
|
686
|
+
scheme: 'bearer',
|
|
687
|
+
type: 'http'
|
|
688
|
+
},
|
|
689
|
+
{
|
|
690
|
+
scheme: 'bearer',
|
|
691
|
+
type: 'http'
|
|
692
|
+
}
|
|
693
|
+
],
|
|
694
|
+
url: '/api/openportal-managed-projects/{identifier}/{destination}/detach/',
|
|
695
|
+
...options
|
|
696
|
+
});
|
|
697
|
+
};
|
|
698
|
+
|
|
699
|
+
/**
|
|
700
|
+
* Reject managed project request
|
|
701
|
+
*/
|
|
702
|
+
export const openportalManagedProjectsReject = <ThrowOnError extends boolean = false>(options: Options<OpenportalManagedProjectsRejectData, ThrowOnError>) => {
|
|
703
|
+
return (options.client ?? _heyApiClient).post<OpenportalManagedProjectsRejectResponses, unknown, ThrowOnError>({
|
|
704
|
+
security: [
|
|
705
|
+
{
|
|
706
|
+
name: 'Authorization',
|
|
707
|
+
type: 'apiKey'
|
|
708
|
+
},
|
|
709
|
+
{
|
|
710
|
+
scheme: 'bearer',
|
|
711
|
+
type: 'http'
|
|
712
|
+
},
|
|
713
|
+
{
|
|
714
|
+
scheme: 'bearer',
|
|
715
|
+
type: 'http'
|
|
716
|
+
}
|
|
717
|
+
],
|
|
718
|
+
url: '/api/openportal-managed-projects/{identifier}/{destination}/reject/',
|
|
719
|
+
...options,
|
|
720
|
+
headers: {
|
|
721
|
+
'Content-Type': 'application/json',
|
|
722
|
+
...options.headers
|
|
723
|
+
}
|
|
724
|
+
});
|
|
725
|
+
};
|
|
726
|
+
|
|
727
|
+
export const openportalProjectStorageReportsList = <ThrowOnError extends boolean = false>(options?: Options<OpenportalProjectStorageReportsListData, ThrowOnError>) => {
|
|
728
|
+
return (options?.client ?? _heyApiClient).get<OpenportalProjectStorageReportsListResponses, unknown, ThrowOnError>({
|
|
729
|
+
security: [
|
|
730
|
+
{
|
|
731
|
+
name: 'Authorization',
|
|
732
|
+
type: 'apiKey'
|
|
733
|
+
},
|
|
734
|
+
{
|
|
735
|
+
scheme: 'bearer',
|
|
736
|
+
type: 'http'
|
|
737
|
+
},
|
|
738
|
+
{
|
|
739
|
+
scheme: 'bearer',
|
|
740
|
+
type: 'http'
|
|
741
|
+
}
|
|
742
|
+
],
|
|
743
|
+
url: '/api/openportal-project-storage-reports/',
|
|
744
|
+
...options
|
|
745
|
+
});
|
|
746
|
+
};
|
|
747
|
+
|
|
748
|
+
/**
|
|
749
|
+
* Get number of items in the collection matching the request parameters.
|
|
750
|
+
*/
|
|
751
|
+
export const openportalProjectStorageReportsCount = <ThrowOnError extends boolean = false>(options?: Options<OpenportalProjectStorageReportsCountData, ThrowOnError>) => {
|
|
752
|
+
return (options?.client ?? _heyApiClient).head<OpenportalProjectStorageReportsCountResponses, unknown, ThrowOnError>({
|
|
753
|
+
security: [
|
|
754
|
+
{
|
|
755
|
+
name: 'Authorization',
|
|
756
|
+
type: 'apiKey'
|
|
757
|
+
},
|
|
758
|
+
{
|
|
759
|
+
scheme: 'bearer',
|
|
760
|
+
type: 'http'
|
|
761
|
+
},
|
|
762
|
+
{
|
|
763
|
+
scheme: 'bearer',
|
|
764
|
+
type: 'http'
|
|
765
|
+
}
|
|
766
|
+
],
|
|
767
|
+
url: '/api/openportal-project-storage-reports/',
|
|
768
|
+
...options
|
|
769
|
+
});
|
|
770
|
+
};
|
|
771
|
+
|
|
772
|
+
export const openportalProjectStorageReportsRetrieve = <ThrowOnError extends boolean = false>(options: Options<OpenportalProjectStorageReportsRetrieveData, ThrowOnError>) => {
|
|
773
|
+
return (options.client ?? _heyApiClient).get<OpenportalProjectStorageReportsRetrieveResponses, unknown, ThrowOnError>({
|
|
774
|
+
security: [
|
|
775
|
+
{
|
|
776
|
+
name: 'Authorization',
|
|
777
|
+
type: 'apiKey'
|
|
778
|
+
},
|
|
779
|
+
{
|
|
780
|
+
scheme: 'bearer',
|
|
781
|
+
type: 'http'
|
|
782
|
+
},
|
|
783
|
+
{
|
|
784
|
+
scheme: 'bearer',
|
|
785
|
+
type: 'http'
|
|
786
|
+
}
|
|
787
|
+
],
|
|
788
|
+
url: '/api/openportal-project-storage-reports/{id}/',
|
|
789
|
+
...options
|
|
790
|
+
});
|
|
791
|
+
};
|
|
792
|
+
|
|
793
|
+
export const openportalProjectTemplateList = <ThrowOnError extends boolean = false>(options?: Options<OpenportalProjectTemplateListData, ThrowOnError>) => {
|
|
794
|
+
return (options?.client ?? _heyApiClient).get<OpenportalProjectTemplateListResponses, unknown, ThrowOnError>({
|
|
795
|
+
security: [
|
|
796
|
+
{
|
|
797
|
+
name: 'Authorization',
|
|
798
|
+
type: 'apiKey'
|
|
799
|
+
},
|
|
800
|
+
{
|
|
801
|
+
scheme: 'bearer',
|
|
802
|
+
type: 'http'
|
|
803
|
+
},
|
|
804
|
+
{
|
|
805
|
+
scheme: 'bearer',
|
|
806
|
+
type: 'http'
|
|
807
|
+
}
|
|
808
|
+
],
|
|
809
|
+
url: '/api/openportal-project-template/',
|
|
810
|
+
...options
|
|
811
|
+
});
|
|
812
|
+
};
|
|
813
|
+
|
|
814
|
+
/**
|
|
815
|
+
* Get number of items in the collection matching the request parameters.
|
|
816
|
+
*/
|
|
817
|
+
export const openportalProjectTemplateCount = <ThrowOnError extends boolean = false>(options?: Options<OpenportalProjectTemplateCountData, ThrowOnError>) => {
|
|
818
|
+
return (options?.client ?? _heyApiClient).head<OpenportalProjectTemplateCountResponses, unknown, ThrowOnError>({
|
|
819
|
+
security: [
|
|
820
|
+
{
|
|
821
|
+
name: 'Authorization',
|
|
822
|
+
type: 'apiKey'
|
|
823
|
+
},
|
|
824
|
+
{
|
|
825
|
+
scheme: 'bearer',
|
|
826
|
+
type: 'http'
|
|
827
|
+
},
|
|
828
|
+
{
|
|
829
|
+
scheme: 'bearer',
|
|
830
|
+
type: 'http'
|
|
831
|
+
}
|
|
832
|
+
],
|
|
833
|
+
url: '/api/openportal-project-template/',
|
|
834
|
+
...options
|
|
835
|
+
});
|
|
836
|
+
};
|
|
837
|
+
|
|
838
|
+
/**
|
|
839
|
+
* Create ProjectTemplate object
|
|
840
|
+
*/
|
|
841
|
+
export const openportalProjectTemplateCreate = <ThrowOnError extends boolean = false>(options: Options<OpenportalProjectTemplateCreateData, ThrowOnError>) => {
|
|
842
|
+
return (options.client ?? _heyApiClient).post<OpenportalProjectTemplateCreateResponses, unknown, ThrowOnError>({
|
|
843
|
+
security: [
|
|
844
|
+
{
|
|
845
|
+
name: 'Authorization',
|
|
846
|
+
type: 'apiKey'
|
|
847
|
+
},
|
|
848
|
+
{
|
|
849
|
+
scheme: 'bearer',
|
|
850
|
+
type: 'http'
|
|
851
|
+
},
|
|
852
|
+
{
|
|
853
|
+
scheme: 'bearer',
|
|
854
|
+
type: 'http'
|
|
855
|
+
}
|
|
856
|
+
],
|
|
857
|
+
url: '/api/openportal-project-template/',
|
|
858
|
+
...options,
|
|
859
|
+
headers: {
|
|
860
|
+
'Content-Type': 'application/json',
|
|
861
|
+
...options.headers
|
|
862
|
+
}
|
|
863
|
+
});
|
|
864
|
+
};
|
|
865
|
+
|
|
866
|
+
export const openportalProjectTemplateDestroy = <ThrowOnError extends boolean = false>(options: Options<OpenportalProjectTemplateDestroyData, ThrowOnError>) => {
|
|
867
|
+
return (options.client ?? _heyApiClient).delete<OpenportalProjectTemplateDestroyResponses, unknown, ThrowOnError>({
|
|
868
|
+
security: [
|
|
869
|
+
{
|
|
870
|
+
name: 'Authorization',
|
|
871
|
+
type: 'apiKey'
|
|
872
|
+
},
|
|
873
|
+
{
|
|
874
|
+
scheme: 'bearer',
|
|
875
|
+
type: 'http'
|
|
876
|
+
},
|
|
877
|
+
{
|
|
878
|
+
scheme: 'bearer',
|
|
879
|
+
type: 'http'
|
|
880
|
+
}
|
|
881
|
+
],
|
|
882
|
+
url: '/api/openportal-project-template/{uuid}/',
|
|
883
|
+
...options
|
|
884
|
+
});
|
|
885
|
+
};
|
|
886
|
+
|
|
887
|
+
export const openportalProjectTemplateRetrieve = <ThrowOnError extends boolean = false>(options: Options<OpenportalProjectTemplateRetrieveData, ThrowOnError>) => {
|
|
888
|
+
return (options.client ?? _heyApiClient).get<OpenportalProjectTemplateRetrieveResponses, unknown, ThrowOnError>({
|
|
889
|
+
security: [
|
|
890
|
+
{
|
|
891
|
+
name: 'Authorization',
|
|
892
|
+
type: 'apiKey'
|
|
893
|
+
},
|
|
894
|
+
{
|
|
895
|
+
scheme: 'bearer',
|
|
896
|
+
type: 'http'
|
|
897
|
+
},
|
|
898
|
+
{
|
|
899
|
+
scheme: 'bearer',
|
|
900
|
+
type: 'http'
|
|
901
|
+
}
|
|
902
|
+
],
|
|
903
|
+
url: '/api/openportal-project-template/{uuid}/',
|
|
904
|
+
...options
|
|
905
|
+
});
|
|
906
|
+
};
|
|
907
|
+
|
|
908
|
+
/**
|
|
909
|
+
* Partially update ProjectTemplate object
|
|
910
|
+
*/
|
|
911
|
+
export const openportalProjectTemplatePartialUpdate = <ThrowOnError extends boolean = false>(options: Options<OpenportalProjectTemplatePartialUpdateData, ThrowOnError>) => {
|
|
912
|
+
return (options.client ?? _heyApiClient).patch<OpenportalProjectTemplatePartialUpdateResponses, unknown, ThrowOnError>({
|
|
913
|
+
security: [
|
|
914
|
+
{
|
|
915
|
+
name: 'Authorization',
|
|
916
|
+
type: 'apiKey'
|
|
917
|
+
},
|
|
918
|
+
{
|
|
919
|
+
scheme: 'bearer',
|
|
920
|
+
type: 'http'
|
|
921
|
+
},
|
|
922
|
+
{
|
|
923
|
+
scheme: 'bearer',
|
|
924
|
+
type: 'http'
|
|
925
|
+
}
|
|
926
|
+
],
|
|
927
|
+
url: '/api/openportal-project-template/{uuid}/',
|
|
928
|
+
...options,
|
|
929
|
+
headers: {
|
|
930
|
+
'Content-Type': 'application/json',
|
|
931
|
+
...options.headers
|
|
932
|
+
}
|
|
933
|
+
});
|
|
934
|
+
};
|
|
935
|
+
|
|
936
|
+
/**
|
|
937
|
+
* Update ProjectTemplate object (full update)
|
|
938
|
+
*/
|
|
939
|
+
export const openportalProjectTemplateUpdate = <ThrowOnError extends boolean = false>(options: Options<OpenportalProjectTemplateUpdateData, ThrowOnError>) => {
|
|
940
|
+
return (options.client ?? _heyApiClient).put<OpenportalProjectTemplateUpdateResponses, unknown, ThrowOnError>({
|
|
941
|
+
security: [
|
|
942
|
+
{
|
|
943
|
+
name: 'Authorization',
|
|
944
|
+
type: 'apiKey'
|
|
945
|
+
},
|
|
946
|
+
{
|
|
947
|
+
scheme: 'bearer',
|
|
948
|
+
type: 'http'
|
|
949
|
+
},
|
|
950
|
+
{
|
|
951
|
+
scheme: 'bearer',
|
|
952
|
+
type: 'http'
|
|
953
|
+
}
|
|
954
|
+
],
|
|
955
|
+
url: '/api/openportal-project-template/{uuid}/',
|
|
956
|
+
...options,
|
|
957
|
+
headers: {
|
|
958
|
+
'Content-Type': 'application/json',
|
|
959
|
+
...options.headers
|
|
960
|
+
}
|
|
961
|
+
});
|
|
962
|
+
};
|
|
963
|
+
|
|
964
|
+
/**
|
|
965
|
+
* Delete ProjectTemplate object
|
|
966
|
+
*/
|
|
967
|
+
export const openportalProjectTemplateDeleteDestroy = <ThrowOnError extends boolean = false>(options: Options<OpenportalProjectTemplateDeleteDestroyData, ThrowOnError>) => {
|
|
968
|
+
return (options.client ?? _heyApiClient).delete<OpenportalProjectTemplateDeleteDestroyResponses, unknown, ThrowOnError>({
|
|
969
|
+
security: [
|
|
970
|
+
{
|
|
971
|
+
name: 'Authorization',
|
|
972
|
+
type: 'apiKey'
|
|
973
|
+
},
|
|
974
|
+
{
|
|
975
|
+
scheme: 'bearer',
|
|
976
|
+
type: 'http'
|
|
977
|
+
},
|
|
978
|
+
{
|
|
979
|
+
scheme: 'bearer',
|
|
980
|
+
type: 'http'
|
|
981
|
+
}
|
|
982
|
+
],
|
|
983
|
+
url: '/api/openportal-project-template/{uuid}/delete/',
|
|
984
|
+
...options
|
|
985
|
+
});
|
|
986
|
+
};
|
|
987
|
+
|
|
988
|
+
export const openportalProjectUsageReportsList = <ThrowOnError extends boolean = false>(options?: Options<OpenportalProjectUsageReportsListData, ThrowOnError>) => {
|
|
989
|
+
return (options?.client ?? _heyApiClient).get<OpenportalProjectUsageReportsListResponses, unknown, ThrowOnError>({
|
|
990
|
+
security: [
|
|
991
|
+
{
|
|
992
|
+
name: 'Authorization',
|
|
993
|
+
type: 'apiKey'
|
|
994
|
+
},
|
|
995
|
+
{
|
|
996
|
+
scheme: 'bearer',
|
|
997
|
+
type: 'http'
|
|
998
|
+
},
|
|
999
|
+
{
|
|
1000
|
+
scheme: 'bearer',
|
|
1001
|
+
type: 'http'
|
|
1002
|
+
}
|
|
1003
|
+
],
|
|
1004
|
+
url: '/api/openportal-project-usage-reports/',
|
|
1005
|
+
...options
|
|
1006
|
+
});
|
|
1007
|
+
};
|
|
1008
|
+
|
|
1009
|
+
/**
|
|
1010
|
+
* Get number of items in the collection matching the request parameters.
|
|
1011
|
+
*/
|
|
1012
|
+
export const openportalProjectUsageReportsCount = <ThrowOnError extends boolean = false>(options?: Options<OpenportalProjectUsageReportsCountData, ThrowOnError>) => {
|
|
1013
|
+
return (options?.client ?? _heyApiClient).head<OpenportalProjectUsageReportsCountResponses, unknown, ThrowOnError>({
|
|
1014
|
+
security: [
|
|
1015
|
+
{
|
|
1016
|
+
name: 'Authorization',
|
|
1017
|
+
type: 'apiKey'
|
|
1018
|
+
},
|
|
1019
|
+
{
|
|
1020
|
+
scheme: 'bearer',
|
|
1021
|
+
type: 'http'
|
|
1022
|
+
},
|
|
1023
|
+
{
|
|
1024
|
+
scheme: 'bearer',
|
|
1025
|
+
type: 'http'
|
|
1026
|
+
}
|
|
1027
|
+
],
|
|
1028
|
+
url: '/api/openportal-project-usage-reports/',
|
|
1029
|
+
...options
|
|
1030
|
+
});
|
|
1031
|
+
};
|
|
1032
|
+
|
|
1033
|
+
export const openportalProjectUsageReportsRetrieve = <ThrowOnError extends boolean = false>(options: Options<OpenportalProjectUsageReportsRetrieveData, ThrowOnError>) => {
|
|
1034
|
+
return (options.client ?? _heyApiClient).get<OpenportalProjectUsageReportsRetrieveResponses, unknown, ThrowOnError>({
|
|
1035
|
+
security: [
|
|
1036
|
+
{
|
|
1037
|
+
name: 'Authorization',
|
|
1038
|
+
type: 'apiKey'
|
|
1039
|
+
},
|
|
1040
|
+
{
|
|
1041
|
+
scheme: 'bearer',
|
|
1042
|
+
type: 'http'
|
|
1043
|
+
},
|
|
1044
|
+
{
|
|
1045
|
+
scheme: 'bearer',
|
|
1046
|
+
type: 'http'
|
|
1047
|
+
}
|
|
1048
|
+
],
|
|
1049
|
+
url: '/api/openportal-project-usage-reports/{id}/',
|
|
1050
|
+
...options
|
|
1051
|
+
});
|
|
1052
|
+
};
|
|
1053
|
+
|
|
1054
|
+
export const openportalProjectinfoList = <ThrowOnError extends boolean = false>(options?: Options<OpenportalProjectinfoListData, ThrowOnError>) => {
|
|
1055
|
+
return (options?.client ?? _heyApiClient).get<OpenportalProjectinfoListResponses, unknown, ThrowOnError>({
|
|
1056
|
+
security: [
|
|
1057
|
+
{
|
|
1058
|
+
name: 'Authorization',
|
|
1059
|
+
type: 'apiKey'
|
|
1060
|
+
},
|
|
1061
|
+
{
|
|
1062
|
+
scheme: 'bearer',
|
|
1063
|
+
type: 'http'
|
|
1064
|
+
},
|
|
1065
|
+
{
|
|
1066
|
+
scheme: 'bearer',
|
|
1067
|
+
type: 'http'
|
|
1068
|
+
}
|
|
1069
|
+
],
|
|
1070
|
+
url: '/api/openportal-projectinfo/',
|
|
1071
|
+
...options
|
|
1072
|
+
});
|
|
1073
|
+
};
|
|
1074
|
+
|
|
1075
|
+
/**
|
|
1076
|
+
* Get number of items in the collection matching the request parameters.
|
|
1077
|
+
*/
|
|
1078
|
+
export const openportalProjectinfoCount = <ThrowOnError extends boolean = false>(options?: Options<OpenportalProjectinfoCountData, ThrowOnError>) => {
|
|
1079
|
+
return (options?.client ?? _heyApiClient).head<OpenportalProjectinfoCountResponses, unknown, ThrowOnError>({
|
|
1080
|
+
security: [
|
|
1081
|
+
{
|
|
1082
|
+
name: 'Authorization',
|
|
1083
|
+
type: 'apiKey'
|
|
1084
|
+
},
|
|
1085
|
+
{
|
|
1086
|
+
scheme: 'bearer',
|
|
1087
|
+
type: 'http'
|
|
1088
|
+
},
|
|
1089
|
+
{
|
|
1090
|
+
scheme: 'bearer',
|
|
1091
|
+
type: 'http'
|
|
1092
|
+
}
|
|
1093
|
+
],
|
|
1094
|
+
url: '/api/openportal-projectinfo/',
|
|
1095
|
+
...options
|
|
1096
|
+
});
|
|
1097
|
+
};
|
|
1098
|
+
|
|
1099
|
+
export const openportalProjectinfoCreate = <ThrowOnError extends boolean = false>(options: Options<OpenportalProjectinfoCreateData, ThrowOnError>) => {
|
|
1100
|
+
return (options.client ?? _heyApiClient).post<OpenportalProjectinfoCreateResponses, unknown, ThrowOnError>({
|
|
1101
|
+
security: [
|
|
1102
|
+
{
|
|
1103
|
+
name: 'Authorization',
|
|
1104
|
+
type: 'apiKey'
|
|
1105
|
+
},
|
|
1106
|
+
{
|
|
1107
|
+
scheme: 'bearer',
|
|
1108
|
+
type: 'http'
|
|
1109
|
+
},
|
|
1110
|
+
{
|
|
1111
|
+
scheme: 'bearer',
|
|
1112
|
+
type: 'http'
|
|
1113
|
+
}
|
|
1114
|
+
],
|
|
1115
|
+
url: '/api/openportal-projectinfo/',
|
|
1116
|
+
...options,
|
|
1117
|
+
headers: {
|
|
1118
|
+
'Content-Type': 'application/json',
|
|
1119
|
+
...options.headers
|
|
1120
|
+
}
|
|
1121
|
+
});
|
|
1122
|
+
};
|
|
1123
|
+
|
|
1124
|
+
export const openportalProjectinfoDestroy = <ThrowOnError extends boolean = false>(options: Options<OpenportalProjectinfoDestroyData, ThrowOnError>) => {
|
|
1125
|
+
return (options.client ?? _heyApiClient).delete<OpenportalProjectinfoDestroyResponses, unknown, ThrowOnError>({
|
|
1126
|
+
security: [
|
|
1127
|
+
{
|
|
1128
|
+
name: 'Authorization',
|
|
1129
|
+
type: 'apiKey'
|
|
1130
|
+
},
|
|
1131
|
+
{
|
|
1132
|
+
scheme: 'bearer',
|
|
1133
|
+
type: 'http'
|
|
1134
|
+
},
|
|
1135
|
+
{
|
|
1136
|
+
scheme: 'bearer',
|
|
1137
|
+
type: 'http'
|
|
1138
|
+
}
|
|
1139
|
+
],
|
|
1140
|
+
url: '/api/openportal-projectinfo/{project}/',
|
|
1141
|
+
...options
|
|
1142
|
+
});
|
|
1143
|
+
};
|
|
1144
|
+
|
|
1145
|
+
export const openportalProjectinfoRetrieve = <ThrowOnError extends boolean = false>(options: Options<OpenportalProjectinfoRetrieveData, ThrowOnError>) => {
|
|
1146
|
+
return (options.client ?? _heyApiClient).get<OpenportalProjectinfoRetrieveResponses, unknown, ThrowOnError>({
|
|
1147
|
+
security: [
|
|
1148
|
+
{
|
|
1149
|
+
name: 'Authorization',
|
|
1150
|
+
type: 'apiKey'
|
|
1151
|
+
},
|
|
1152
|
+
{
|
|
1153
|
+
scheme: 'bearer',
|
|
1154
|
+
type: 'http'
|
|
1155
|
+
},
|
|
1156
|
+
{
|
|
1157
|
+
scheme: 'bearer',
|
|
1158
|
+
type: 'http'
|
|
1159
|
+
}
|
|
1160
|
+
],
|
|
1161
|
+
url: '/api/openportal-projectinfo/{project}/',
|
|
1162
|
+
...options
|
|
1163
|
+
});
|
|
1164
|
+
};
|
|
1165
|
+
|
|
1166
|
+
export const openportalProjectinfoPartialUpdate = <ThrowOnError extends boolean = false>(options: Options<OpenportalProjectinfoPartialUpdateData, ThrowOnError>) => {
|
|
1167
|
+
return (options.client ?? _heyApiClient).patch<OpenportalProjectinfoPartialUpdateResponses, unknown, ThrowOnError>({
|
|
1168
|
+
security: [
|
|
1169
|
+
{
|
|
1170
|
+
name: 'Authorization',
|
|
1171
|
+
type: 'apiKey'
|
|
1172
|
+
},
|
|
1173
|
+
{
|
|
1174
|
+
scheme: 'bearer',
|
|
1175
|
+
type: 'http'
|
|
1176
|
+
},
|
|
1177
|
+
{
|
|
1178
|
+
scheme: 'bearer',
|
|
1179
|
+
type: 'http'
|
|
1180
|
+
}
|
|
1181
|
+
],
|
|
1182
|
+
url: '/api/openportal-projectinfo/{project}/',
|
|
1183
|
+
...options,
|
|
1184
|
+
headers: {
|
|
1185
|
+
'Content-Type': 'application/json',
|
|
1186
|
+
...options.headers
|
|
1187
|
+
}
|
|
1188
|
+
});
|
|
1189
|
+
};
|
|
1190
|
+
|
|
1191
|
+
export const openportalProjectinfoUpdate = <ThrowOnError extends boolean = false>(options: Options<OpenportalProjectinfoUpdateData, ThrowOnError>) => {
|
|
1192
|
+
return (options.client ?? _heyApiClient).put<OpenportalProjectinfoUpdateResponses, unknown, ThrowOnError>({
|
|
1193
|
+
security: [
|
|
1194
|
+
{
|
|
1195
|
+
name: 'Authorization',
|
|
1196
|
+
type: 'apiKey'
|
|
1197
|
+
},
|
|
1198
|
+
{
|
|
1199
|
+
scheme: 'bearer',
|
|
1200
|
+
type: 'http'
|
|
1201
|
+
},
|
|
1202
|
+
{
|
|
1203
|
+
scheme: 'bearer',
|
|
1204
|
+
type: 'http'
|
|
1205
|
+
}
|
|
1206
|
+
],
|
|
1207
|
+
url: '/api/openportal-projectinfo/{project}/',
|
|
1208
|
+
...options,
|
|
1209
|
+
headers: {
|
|
1210
|
+
'Content-Type': 'application/json',
|
|
1211
|
+
...options.headers
|
|
1212
|
+
}
|
|
1213
|
+
});
|
|
1214
|
+
};
|
|
1215
|
+
|
|
1216
|
+
export const openportalProjectinfoSetAllowedDestinationsUpdate = <ThrowOnError extends boolean = false>(options: Options<OpenportalProjectinfoSetAllowedDestinationsUpdateData, ThrowOnError>) => {
|
|
1217
|
+
return (options.client ?? _heyApiClient).put<OpenportalProjectinfoSetAllowedDestinationsUpdateResponses, unknown, ThrowOnError>({
|
|
1218
|
+
security: [
|
|
1219
|
+
{
|
|
1220
|
+
name: 'Authorization',
|
|
1221
|
+
type: 'apiKey'
|
|
1222
|
+
},
|
|
1223
|
+
{
|
|
1224
|
+
scheme: 'bearer',
|
|
1225
|
+
type: 'http'
|
|
1226
|
+
},
|
|
1227
|
+
{
|
|
1228
|
+
scheme: 'bearer',
|
|
1229
|
+
type: 'http'
|
|
1230
|
+
}
|
|
1231
|
+
],
|
|
1232
|
+
url: '/api/openportal-projectinfo/{project}/set_allowed_destinations/',
|
|
1233
|
+
...options,
|
|
1234
|
+
headers: {
|
|
1235
|
+
'Content-Type': 'application/json',
|
|
1236
|
+
...options.headers
|
|
1237
|
+
}
|
|
1238
|
+
});
|
|
1239
|
+
};
|
|
1240
|
+
|
|
1241
|
+
export const openportalProjectinfoSetShortnameUpdate = <ThrowOnError extends boolean = false>(options: Options<OpenportalProjectinfoSetShortnameUpdateData, ThrowOnError>) => {
|
|
1242
|
+
return (options.client ?? _heyApiClient).put<OpenportalProjectinfoSetShortnameUpdateResponses, unknown, ThrowOnError>({
|
|
1243
|
+
security: [
|
|
1244
|
+
{
|
|
1245
|
+
name: 'Authorization',
|
|
1246
|
+
type: 'apiKey'
|
|
1247
|
+
},
|
|
1248
|
+
{
|
|
1249
|
+
scheme: 'bearer',
|
|
1250
|
+
type: 'http'
|
|
1251
|
+
},
|
|
1252
|
+
{
|
|
1253
|
+
scheme: 'bearer',
|
|
1254
|
+
type: 'http'
|
|
1255
|
+
}
|
|
1256
|
+
],
|
|
1257
|
+
url: '/api/openportal-projectinfo/{project}/set_shortname/',
|
|
1258
|
+
...options,
|
|
1259
|
+
headers: {
|
|
1260
|
+
'Content-Type': 'application/json',
|
|
1261
|
+
...options.headers
|
|
1262
|
+
}
|
|
1263
|
+
});
|
|
1264
|
+
};
|
|
1265
|
+
|
|
1266
|
+
export const openportalRemoteAllocationsList = <ThrowOnError extends boolean = false>(options?: Options<OpenportalRemoteAllocationsListData, ThrowOnError>) => {
|
|
1267
|
+
return (options?.client ?? _heyApiClient).get<OpenportalRemoteAllocationsListResponses, unknown, ThrowOnError>({
|
|
1268
|
+
security: [
|
|
1269
|
+
{
|
|
1270
|
+
name: 'Authorization',
|
|
1271
|
+
type: 'apiKey'
|
|
1272
|
+
},
|
|
1273
|
+
{
|
|
1274
|
+
scheme: 'bearer',
|
|
1275
|
+
type: 'http'
|
|
1276
|
+
},
|
|
1277
|
+
{
|
|
1278
|
+
scheme: 'bearer',
|
|
1279
|
+
type: 'http'
|
|
1280
|
+
}
|
|
1281
|
+
],
|
|
1282
|
+
url: '/api/openportal-remote-allocations/',
|
|
1283
|
+
...options
|
|
1284
|
+
});
|
|
1285
|
+
};
|
|
1286
|
+
|
|
1287
|
+
/**
|
|
1288
|
+
* Get number of items in the collection matching the request parameters.
|
|
1289
|
+
*/
|
|
1290
|
+
export const openportalRemoteAllocationsCount = <ThrowOnError extends boolean = false>(options?: Options<OpenportalRemoteAllocationsCountData, ThrowOnError>) => {
|
|
1291
|
+
return (options?.client ?? _heyApiClient).head<OpenportalRemoteAllocationsCountResponses, unknown, ThrowOnError>({
|
|
1292
|
+
security: [
|
|
1293
|
+
{
|
|
1294
|
+
name: 'Authorization',
|
|
1295
|
+
type: 'apiKey'
|
|
1296
|
+
},
|
|
1297
|
+
{
|
|
1298
|
+
scheme: 'bearer',
|
|
1299
|
+
type: 'http'
|
|
1300
|
+
},
|
|
1301
|
+
{
|
|
1302
|
+
scheme: 'bearer',
|
|
1303
|
+
type: 'http'
|
|
1304
|
+
}
|
|
1305
|
+
],
|
|
1306
|
+
url: '/api/openportal-remote-allocations/',
|
|
1307
|
+
...options
|
|
1308
|
+
});
|
|
1309
|
+
};
|
|
1310
|
+
|
|
1311
|
+
export const openportalRemoteAllocationsCreate = <ThrowOnError extends boolean = false>(options: Options<OpenportalRemoteAllocationsCreateData, ThrowOnError>) => {
|
|
1312
|
+
return (options.client ?? _heyApiClient).post<OpenportalRemoteAllocationsCreateResponses, unknown, ThrowOnError>({
|
|
1313
|
+
security: [
|
|
1314
|
+
{
|
|
1315
|
+
name: 'Authorization',
|
|
1316
|
+
type: 'apiKey'
|
|
1317
|
+
},
|
|
1318
|
+
{
|
|
1319
|
+
scheme: 'bearer',
|
|
1320
|
+
type: 'http'
|
|
1321
|
+
},
|
|
1322
|
+
{
|
|
1323
|
+
scheme: 'bearer',
|
|
1324
|
+
type: 'http'
|
|
1325
|
+
}
|
|
1326
|
+
],
|
|
1327
|
+
url: '/api/openportal-remote-allocations/',
|
|
1328
|
+
...options,
|
|
1329
|
+
headers: {
|
|
1330
|
+
'Content-Type': 'application/json',
|
|
1331
|
+
...options.headers
|
|
1332
|
+
}
|
|
1333
|
+
});
|
|
1334
|
+
};
|
|
1335
|
+
|
|
1336
|
+
export const openportalRemoteAllocationsDestroy = <ThrowOnError extends boolean = false>(options: Options<OpenportalRemoteAllocationsDestroyData, ThrowOnError>) => {
|
|
1337
|
+
return (options.client ?? _heyApiClient).delete<OpenportalRemoteAllocationsDestroyResponses, unknown, ThrowOnError>({
|
|
1338
|
+
security: [
|
|
1339
|
+
{
|
|
1340
|
+
name: 'Authorization',
|
|
1341
|
+
type: 'apiKey'
|
|
1342
|
+
},
|
|
1343
|
+
{
|
|
1344
|
+
scheme: 'bearer',
|
|
1345
|
+
type: 'http'
|
|
1346
|
+
},
|
|
1347
|
+
{
|
|
1348
|
+
scheme: 'bearer',
|
|
1349
|
+
type: 'http'
|
|
1350
|
+
}
|
|
1351
|
+
],
|
|
1352
|
+
url: '/api/openportal-remote-allocations/{uuid}/',
|
|
1353
|
+
...options
|
|
1354
|
+
});
|
|
1355
|
+
};
|
|
1356
|
+
|
|
1357
|
+
export const openportalRemoteAllocationsRetrieve = <ThrowOnError extends boolean = false>(options: Options<OpenportalRemoteAllocationsRetrieveData, ThrowOnError>) => {
|
|
1358
|
+
return (options.client ?? _heyApiClient).get<OpenportalRemoteAllocationsRetrieveResponses, unknown, ThrowOnError>({
|
|
1359
|
+
security: [
|
|
1360
|
+
{
|
|
1361
|
+
name: 'Authorization',
|
|
1362
|
+
type: 'apiKey'
|
|
1363
|
+
},
|
|
1364
|
+
{
|
|
1365
|
+
scheme: 'bearer',
|
|
1366
|
+
type: 'http'
|
|
1367
|
+
},
|
|
1368
|
+
{
|
|
1369
|
+
scheme: 'bearer',
|
|
1370
|
+
type: 'http'
|
|
1371
|
+
}
|
|
1372
|
+
],
|
|
1373
|
+
url: '/api/openportal-remote-allocations/{uuid}/',
|
|
1374
|
+
...options
|
|
1375
|
+
});
|
|
1376
|
+
};
|
|
1377
|
+
|
|
1378
|
+
export const openportalRemoteAllocationsPartialUpdate = <ThrowOnError extends boolean = false>(options: Options<OpenportalRemoteAllocationsPartialUpdateData, ThrowOnError>) => {
|
|
1379
|
+
return (options.client ?? _heyApiClient).patch<OpenportalRemoteAllocationsPartialUpdateResponses, unknown, ThrowOnError>({
|
|
1380
|
+
security: [
|
|
1381
|
+
{
|
|
1382
|
+
name: 'Authorization',
|
|
1383
|
+
type: 'apiKey'
|
|
1384
|
+
},
|
|
1385
|
+
{
|
|
1386
|
+
scheme: 'bearer',
|
|
1387
|
+
type: 'http'
|
|
1388
|
+
},
|
|
1389
|
+
{
|
|
1390
|
+
scheme: 'bearer',
|
|
1391
|
+
type: 'http'
|
|
1392
|
+
}
|
|
1393
|
+
],
|
|
1394
|
+
url: '/api/openportal-remote-allocations/{uuid}/',
|
|
1395
|
+
...options,
|
|
1396
|
+
headers: {
|
|
1397
|
+
'Content-Type': 'application/json',
|
|
1398
|
+
...options.headers
|
|
1399
|
+
}
|
|
1400
|
+
});
|
|
1401
|
+
};
|
|
1402
|
+
|
|
1403
|
+
export const openportalRemoteAllocationsUpdate = <ThrowOnError extends boolean = false>(options: Options<OpenportalRemoteAllocationsUpdateData, ThrowOnError>) => {
|
|
1404
|
+
return (options.client ?? _heyApiClient).put<OpenportalRemoteAllocationsUpdateResponses, unknown, ThrowOnError>({
|
|
1405
|
+
security: [
|
|
1406
|
+
{
|
|
1407
|
+
name: 'Authorization',
|
|
1408
|
+
type: 'apiKey'
|
|
1409
|
+
},
|
|
1410
|
+
{
|
|
1411
|
+
scheme: 'bearer',
|
|
1412
|
+
type: 'http'
|
|
1413
|
+
},
|
|
1414
|
+
{
|
|
1415
|
+
scheme: 'bearer',
|
|
1416
|
+
type: 'http'
|
|
1417
|
+
}
|
|
1418
|
+
],
|
|
1419
|
+
url: '/api/openportal-remote-allocations/{uuid}/',
|
|
1420
|
+
...options,
|
|
1421
|
+
headers: {
|
|
1422
|
+
'Content-Type': 'application/json',
|
|
1423
|
+
...options.headers
|
|
1424
|
+
}
|
|
1425
|
+
});
|
|
1426
|
+
};
|
|
1427
|
+
|
|
1428
|
+
/**
|
|
1429
|
+
* Synchronize resource state
|
|
1430
|
+
* Schedule an asynchronous pull operation to synchronize resource state from the backend. Returns 202 if the pull was scheduled successfully, or 409 if the pull operation is not implemented for this resource type.
|
|
1431
|
+
*/
|
|
1432
|
+
export const openportalRemoteAllocationsPull = <ThrowOnError extends boolean = false>(options: Options<OpenportalRemoteAllocationsPullData, ThrowOnError>) => {
|
|
1433
|
+
return (options.client ?? _heyApiClient).post<OpenportalRemoteAllocationsPullResponses, OpenportalRemoteAllocationsPullErrors, ThrowOnError>({
|
|
1434
|
+
security: [
|
|
1435
|
+
{
|
|
1436
|
+
name: 'Authorization',
|
|
1437
|
+
type: 'apiKey'
|
|
1438
|
+
},
|
|
1439
|
+
{
|
|
1440
|
+
scheme: 'bearer',
|
|
1441
|
+
type: 'http'
|
|
1442
|
+
},
|
|
1443
|
+
{
|
|
1444
|
+
scheme: 'bearer',
|
|
1445
|
+
type: 'http'
|
|
1446
|
+
}
|
|
1447
|
+
],
|
|
1448
|
+
url: '/api/openportal-remote-allocations/{uuid}/pull/',
|
|
1449
|
+
...options
|
|
1450
|
+
});
|
|
1451
|
+
};
|
|
1452
|
+
|
|
1453
|
+
/**
|
|
1454
|
+
* Mark resource as ERRED
|
|
1455
|
+
* Manually transition the resource to ERRED state. This is useful for resources stuck in transitional states (CREATING, UPDATING, DELETING) that cannot be synced via pull. Staff-only operation.
|
|
1456
|
+
*/
|
|
1457
|
+
export const openportalRemoteAllocationsSetErred = <ThrowOnError extends boolean = false>(options: Options<OpenportalRemoteAllocationsSetErredData, ThrowOnError>) => {
|
|
1458
|
+
return (options.client ?? _heyApiClient).post<OpenportalRemoteAllocationsSetErredResponses, unknown, ThrowOnError>({
|
|
1459
|
+
security: [
|
|
1460
|
+
{
|
|
1461
|
+
name: 'Authorization',
|
|
1462
|
+
type: 'apiKey'
|
|
1463
|
+
},
|
|
1464
|
+
{
|
|
1465
|
+
scheme: 'bearer',
|
|
1466
|
+
type: 'http'
|
|
1467
|
+
},
|
|
1468
|
+
{
|
|
1469
|
+
scheme: 'bearer',
|
|
1470
|
+
type: 'http'
|
|
1471
|
+
}
|
|
1472
|
+
],
|
|
1473
|
+
url: '/api/openportal-remote-allocations/{uuid}/set_erred/',
|
|
1474
|
+
...options,
|
|
1475
|
+
headers: {
|
|
1476
|
+
'Content-Type': 'application/json',
|
|
1477
|
+
...options.headers
|
|
1478
|
+
}
|
|
1479
|
+
});
|
|
1480
|
+
};
|
|
1481
|
+
|
|
1482
|
+
export const openportalRemoteAllocationsSetLimits = <ThrowOnError extends boolean = false>(options: Options<OpenportalRemoteAllocationsSetLimitsData, ThrowOnError>) => {
|
|
1483
|
+
return (options.client ?? _heyApiClient).post<OpenportalRemoteAllocationsSetLimitsResponses, unknown, ThrowOnError>({
|
|
1484
|
+
security: [
|
|
1485
|
+
{
|
|
1486
|
+
name: 'Authorization',
|
|
1487
|
+
type: 'apiKey'
|
|
1488
|
+
},
|
|
1489
|
+
{
|
|
1490
|
+
scheme: 'bearer',
|
|
1491
|
+
type: 'http'
|
|
1492
|
+
},
|
|
1493
|
+
{
|
|
1494
|
+
scheme: 'bearer',
|
|
1495
|
+
type: 'http'
|
|
1496
|
+
}
|
|
1497
|
+
],
|
|
1498
|
+
url: '/api/openportal-remote-allocations/{uuid}/set_limits/',
|
|
1499
|
+
...options,
|
|
1500
|
+
headers: {
|
|
1501
|
+
'Content-Type': 'application/json',
|
|
1502
|
+
...options.headers
|
|
1503
|
+
}
|
|
1504
|
+
});
|
|
1505
|
+
};
|
|
1506
|
+
|
|
1507
|
+
/**
|
|
1508
|
+
* Mark resource as OK
|
|
1509
|
+
* Manually transition the resource to OK state and clear error fields. Staff-only operation.
|
|
1510
|
+
*/
|
|
1511
|
+
export const openportalRemoteAllocationsSetOk = <ThrowOnError extends boolean = false>(options: Options<OpenportalRemoteAllocationsSetOkData, ThrowOnError>) => {
|
|
1512
|
+
return (options.client ?? _heyApiClient).post<OpenportalRemoteAllocationsSetOkResponses, unknown, ThrowOnError>({
|
|
1513
|
+
security: [
|
|
1514
|
+
{
|
|
1515
|
+
name: 'Authorization',
|
|
1516
|
+
type: 'apiKey'
|
|
1517
|
+
},
|
|
1518
|
+
{
|
|
1519
|
+
scheme: 'bearer',
|
|
1520
|
+
type: 'http'
|
|
1521
|
+
},
|
|
1522
|
+
{
|
|
1523
|
+
scheme: 'bearer',
|
|
1524
|
+
type: 'http'
|
|
1525
|
+
}
|
|
1526
|
+
],
|
|
1527
|
+
url: '/api/openportal-remote-allocations/{uuid}/set_ok/',
|
|
1528
|
+
...options
|
|
1529
|
+
});
|
|
1530
|
+
};
|
|
1531
|
+
|
|
1532
|
+
/**
|
|
1533
|
+
* Unlink resource
|
|
1534
|
+
* Delete resource from the database without scheduling operations on backend
|
|
1535
|
+
* and without checking current state of the resource. It is intended to be used
|
|
1536
|
+
* for removing resource stuck in transitioning state.
|
|
1537
|
+
*/
|
|
1538
|
+
export const openportalRemoteAllocationsUnlink = <ThrowOnError extends boolean = false>(options: Options<OpenportalRemoteAllocationsUnlinkData, ThrowOnError>) => {
|
|
1539
|
+
return (options.client ?? _heyApiClient).post<OpenportalRemoteAllocationsUnlinkResponses, unknown, ThrowOnError>({
|
|
1540
|
+
security: [
|
|
1541
|
+
{
|
|
1542
|
+
name: 'Authorization',
|
|
1543
|
+
type: 'apiKey'
|
|
1544
|
+
},
|
|
1545
|
+
{
|
|
1546
|
+
scheme: 'bearer',
|
|
1547
|
+
type: 'http'
|
|
1548
|
+
},
|
|
1549
|
+
{
|
|
1550
|
+
scheme: 'bearer',
|
|
1551
|
+
type: 'http'
|
|
1552
|
+
}
|
|
1553
|
+
],
|
|
1554
|
+
url: '/api/openportal-remote-allocations/{uuid}/unlink/',
|
|
1555
|
+
...options
|
|
1556
|
+
});
|
|
1557
|
+
};
|
|
1558
|
+
|
|
1559
|
+
export const openportalRemoteAssociationsList = <ThrowOnError extends boolean = false>(options?: Options<OpenportalRemoteAssociationsListData, ThrowOnError>) => {
|
|
1560
|
+
return (options?.client ?? _heyApiClient).get<OpenportalRemoteAssociationsListResponses, unknown, ThrowOnError>({
|
|
1561
|
+
security: [
|
|
1562
|
+
{
|
|
1563
|
+
name: 'Authorization',
|
|
1564
|
+
type: 'apiKey'
|
|
1565
|
+
},
|
|
1566
|
+
{
|
|
1567
|
+
scheme: 'bearer',
|
|
1568
|
+
type: 'http'
|
|
1569
|
+
},
|
|
1570
|
+
{
|
|
1571
|
+
scheme: 'bearer',
|
|
1572
|
+
type: 'http'
|
|
1573
|
+
}
|
|
1574
|
+
],
|
|
1575
|
+
url: '/api/openportal-remote-associations/',
|
|
1576
|
+
...options
|
|
1577
|
+
});
|
|
1578
|
+
};
|
|
1579
|
+
|
|
1580
|
+
/**
|
|
1581
|
+
* Get number of items in the collection matching the request parameters.
|
|
1582
|
+
*/
|
|
1583
|
+
export const openportalRemoteAssociationsCount = <ThrowOnError extends boolean = false>(options?: Options<OpenportalRemoteAssociationsCountData, ThrowOnError>) => {
|
|
1584
|
+
return (options?.client ?? _heyApiClient).head<OpenportalRemoteAssociationsCountResponses, unknown, ThrowOnError>({
|
|
1585
|
+
security: [
|
|
1586
|
+
{
|
|
1587
|
+
name: 'Authorization',
|
|
1588
|
+
type: 'apiKey'
|
|
1589
|
+
},
|
|
1590
|
+
{
|
|
1591
|
+
scheme: 'bearer',
|
|
1592
|
+
type: 'http'
|
|
1593
|
+
},
|
|
1594
|
+
{
|
|
1595
|
+
scheme: 'bearer',
|
|
1596
|
+
type: 'http'
|
|
1597
|
+
}
|
|
1598
|
+
],
|
|
1599
|
+
url: '/api/openportal-remote-associations/',
|
|
1600
|
+
...options
|
|
1601
|
+
});
|
|
1602
|
+
};
|
|
1603
|
+
|
|
1604
|
+
export const openportalRemoteAssociationsRetrieve = <ThrowOnError extends boolean = false>(options: Options<OpenportalRemoteAssociationsRetrieveData, ThrowOnError>) => {
|
|
1605
|
+
return (options.client ?? _heyApiClient).get<OpenportalRemoteAssociationsRetrieveResponses, unknown, ThrowOnError>({
|
|
1606
|
+
security: [
|
|
1607
|
+
{
|
|
1608
|
+
name: 'Authorization',
|
|
1609
|
+
type: 'apiKey'
|
|
1610
|
+
},
|
|
1611
|
+
{
|
|
1612
|
+
scheme: 'bearer',
|
|
1613
|
+
type: 'http'
|
|
1614
|
+
},
|
|
1615
|
+
{
|
|
1616
|
+
scheme: 'bearer',
|
|
1617
|
+
type: 'http'
|
|
1618
|
+
}
|
|
1619
|
+
],
|
|
1620
|
+
url: '/api/openportal-remote-associations/{uuid}/',
|
|
1621
|
+
...options
|
|
1622
|
+
});
|
|
1623
|
+
};
|
|
1624
|
+
|
|
1625
|
+
/**
|
|
1626
|
+
* List projects
|
|
1627
|
+
* Retrieve a list of projects. The list is filtered based on the user's permissions. By default, only active projects are shown.
|
|
1628
|
+
*/
|
|
1629
|
+
export const openportalUnmanagedProjectsList = <ThrowOnError extends boolean = false>(options?: Options<OpenportalUnmanagedProjectsListData, ThrowOnError>) => {
|
|
1630
|
+
return (options?.client ?? _heyApiClient).get<OpenportalUnmanagedProjectsListResponses, unknown, ThrowOnError>({
|
|
1631
|
+
security: [
|
|
1632
|
+
{
|
|
1633
|
+
name: 'Authorization',
|
|
1634
|
+
type: 'apiKey'
|
|
1635
|
+
},
|
|
1636
|
+
{
|
|
1637
|
+
scheme: 'bearer',
|
|
1638
|
+
type: 'http'
|
|
1639
|
+
},
|
|
1640
|
+
{
|
|
1641
|
+
scheme: 'bearer',
|
|
1642
|
+
type: 'http'
|
|
1643
|
+
}
|
|
1644
|
+
],
|
|
1645
|
+
url: '/api/openportal-unmanaged-projects/',
|
|
1646
|
+
...options
|
|
1647
|
+
});
|
|
1648
|
+
};
|
|
1649
|
+
|
|
1650
|
+
/**
|
|
1651
|
+
* List projects
|
|
1652
|
+
* Get number of items in the collection matching the request parameters.
|
|
1653
|
+
*/
|
|
1654
|
+
export const openportalUnmanagedProjectsCount = <ThrowOnError extends boolean = false>(options?: Options<OpenportalUnmanagedProjectsCountData, ThrowOnError>) => {
|
|
1655
|
+
return (options?.client ?? _heyApiClient).head<OpenportalUnmanagedProjectsCountResponses, unknown, ThrowOnError>({
|
|
1656
|
+
security: [
|
|
1657
|
+
{
|
|
1658
|
+
name: 'Authorization',
|
|
1659
|
+
type: 'apiKey'
|
|
1660
|
+
},
|
|
1661
|
+
{
|
|
1662
|
+
scheme: 'bearer',
|
|
1663
|
+
type: 'http'
|
|
1664
|
+
},
|
|
1665
|
+
{
|
|
1666
|
+
scheme: 'bearer',
|
|
1667
|
+
type: 'http'
|
|
1668
|
+
}
|
|
1669
|
+
],
|
|
1670
|
+
url: '/api/openportal-unmanaged-projects/',
|
|
1671
|
+
...options
|
|
1672
|
+
});
|
|
1673
|
+
};
|
|
1674
|
+
|
|
1675
|
+
/**
|
|
1676
|
+
* Create a new project
|
|
1677
|
+
* A new project can be created by users with staff privilege (is_staff=True) or customer owners. Project resource quota is optional.
|
|
1678
|
+
*/
|
|
1679
|
+
export const openportalUnmanagedProjectsCreate = <ThrowOnError extends boolean = false>(options: Options<OpenportalUnmanagedProjectsCreateData, ThrowOnError>) => {
|
|
1680
|
+
return (options.client ?? _heyApiClient).post<OpenportalUnmanagedProjectsCreateResponses, unknown, ThrowOnError>({
|
|
1681
|
+
security: [
|
|
1682
|
+
{
|
|
1683
|
+
name: 'Authorization',
|
|
1684
|
+
type: 'apiKey'
|
|
1685
|
+
},
|
|
1686
|
+
{
|
|
1687
|
+
scheme: 'bearer',
|
|
1688
|
+
type: 'http'
|
|
1689
|
+
},
|
|
1690
|
+
{
|
|
1691
|
+
scheme: 'bearer',
|
|
1692
|
+
type: 'http'
|
|
1693
|
+
}
|
|
1694
|
+
],
|
|
1695
|
+
url: '/api/openportal-unmanaged-projects/',
|
|
1696
|
+
...options,
|
|
1697
|
+
headers: {
|
|
1698
|
+
'Content-Type': 'application/json',
|
|
1699
|
+
...options.headers
|
|
1700
|
+
}
|
|
1701
|
+
});
|
|
1702
|
+
};
|
|
1703
|
+
|
|
1704
|
+
/**
|
|
1705
|
+
* Delete a project
|
|
1706
|
+
* Delete a project. If the project has any active resources, the deletion request will fail with a 409 Conflict response. This action performs a soft-delete, and the project can be recovered later.
|
|
1707
|
+
*/
|
|
1708
|
+
export const openportalUnmanagedProjectsDestroy = <ThrowOnError extends boolean = false>(options: Options<OpenportalUnmanagedProjectsDestroyData, ThrowOnError>) => {
|
|
1709
|
+
return (options.client ?? _heyApiClient).delete<OpenportalUnmanagedProjectsDestroyResponses, unknown, ThrowOnError>({
|
|
1710
|
+
security: [
|
|
1711
|
+
{
|
|
1712
|
+
name: 'Authorization',
|
|
1713
|
+
type: 'apiKey'
|
|
1714
|
+
},
|
|
1715
|
+
{
|
|
1716
|
+
scheme: 'bearer',
|
|
1717
|
+
type: 'http'
|
|
1718
|
+
},
|
|
1719
|
+
{
|
|
1720
|
+
scheme: 'bearer',
|
|
1721
|
+
type: 'http'
|
|
1722
|
+
}
|
|
1723
|
+
],
|
|
1724
|
+
url: '/api/openportal-unmanaged-projects/{uuid}/',
|
|
1725
|
+
...options
|
|
1726
|
+
});
|
|
1727
|
+
};
|
|
1728
|
+
|
|
1729
|
+
/**
|
|
1730
|
+
* Retrieve project details
|
|
1731
|
+
* Fetch the details of a specific project by its UUID. Users can access details of terminated projects they previously had access to.
|
|
1732
|
+
*/
|
|
1733
|
+
export const openportalUnmanagedProjectsRetrieve = <ThrowOnError extends boolean = false>(options: Options<OpenportalUnmanagedProjectsRetrieveData, ThrowOnError>) => {
|
|
1734
|
+
return (options.client ?? _heyApiClient).get<OpenportalUnmanagedProjectsRetrieveResponses, unknown, ThrowOnError>({
|
|
1735
|
+
security: [
|
|
1736
|
+
{
|
|
1737
|
+
name: 'Authorization',
|
|
1738
|
+
type: 'apiKey'
|
|
1739
|
+
},
|
|
1740
|
+
{
|
|
1741
|
+
scheme: 'bearer',
|
|
1742
|
+
type: 'http'
|
|
1743
|
+
},
|
|
1744
|
+
{
|
|
1745
|
+
scheme: 'bearer',
|
|
1746
|
+
type: 'http'
|
|
1747
|
+
}
|
|
1748
|
+
],
|
|
1749
|
+
url: '/api/openportal-unmanaged-projects/{uuid}/',
|
|
1750
|
+
...options
|
|
1751
|
+
});
|
|
1752
|
+
};
|
|
1753
|
+
|
|
1754
|
+
/**
|
|
1755
|
+
* Partially update project details
|
|
1756
|
+
* Partially update the details of a project. Requires project administrator or customer owner permissions.
|
|
1757
|
+
*/
|
|
1758
|
+
export const openportalUnmanagedProjectsPartialUpdate = <ThrowOnError extends boolean = false>(options: Options<OpenportalUnmanagedProjectsPartialUpdateData, ThrowOnError>) => {
|
|
1759
|
+
return (options.client ?? _heyApiClient).patch<OpenportalUnmanagedProjectsPartialUpdateResponses, unknown, ThrowOnError>({
|
|
1760
|
+
security: [
|
|
1761
|
+
{
|
|
1762
|
+
name: 'Authorization',
|
|
1763
|
+
type: 'apiKey'
|
|
1764
|
+
},
|
|
1765
|
+
{
|
|
1766
|
+
scheme: 'bearer',
|
|
1767
|
+
type: 'http'
|
|
1768
|
+
},
|
|
1769
|
+
{
|
|
1770
|
+
scheme: 'bearer',
|
|
1771
|
+
type: 'http'
|
|
1772
|
+
}
|
|
1773
|
+
],
|
|
1774
|
+
url: '/api/openportal-unmanaged-projects/{uuid}/',
|
|
1775
|
+
...options,
|
|
1776
|
+
headers: {
|
|
1777
|
+
'Content-Type': 'application/json',
|
|
1778
|
+
...options.headers
|
|
1779
|
+
}
|
|
1780
|
+
});
|
|
1781
|
+
};
|
|
1782
|
+
|
|
1783
|
+
/**
|
|
1784
|
+
* Update project details
|
|
1785
|
+
* Update the details of a project. Requires project administrator or customer owner permissions.
|
|
1786
|
+
*/
|
|
1787
|
+
export const openportalUnmanagedProjectsUpdate = <ThrowOnError extends boolean = false>(options: Options<OpenportalUnmanagedProjectsUpdateData, ThrowOnError>) => {
|
|
1788
|
+
return (options.client ?? _heyApiClient).put<OpenportalUnmanagedProjectsUpdateResponses, unknown, ThrowOnError>({
|
|
1789
|
+
security: [
|
|
1790
|
+
{
|
|
1791
|
+
name: 'Authorization',
|
|
1792
|
+
type: 'apiKey'
|
|
1793
|
+
},
|
|
1794
|
+
{
|
|
1795
|
+
scheme: 'bearer',
|
|
1796
|
+
type: 'http'
|
|
1797
|
+
},
|
|
1798
|
+
{
|
|
1799
|
+
scheme: 'bearer',
|
|
1800
|
+
type: 'http'
|
|
1801
|
+
}
|
|
1802
|
+
],
|
|
1803
|
+
url: '/api/openportal-unmanaged-projects/{uuid}/',
|
|
1804
|
+
...options,
|
|
1805
|
+
headers: {
|
|
1806
|
+
'Content-Type': 'application/json',
|
|
1807
|
+
...options.headers
|
|
1808
|
+
}
|
|
1809
|
+
});
|
|
1810
|
+
};
|
|
1811
|
+
|
|
1812
|
+
/**
|
|
1813
|
+
* Grant a role to a user
|
|
1814
|
+
* Assigns a specific role to a user within the current scope. An optional expiration time for the role can be set.
|
|
1815
|
+
*/
|
|
1816
|
+
export const openportalUnmanagedProjectsAddUser = <ThrowOnError extends boolean = false>(options: Options<OpenportalUnmanagedProjectsAddUserData, ThrowOnError>) => {
|
|
1817
|
+
return (options.client ?? _heyApiClient).post<OpenportalUnmanagedProjectsAddUserResponses, OpenportalUnmanagedProjectsAddUserErrors, ThrowOnError>({
|
|
1818
|
+
security: [
|
|
1819
|
+
{
|
|
1820
|
+
name: 'Authorization',
|
|
1821
|
+
type: 'apiKey'
|
|
1822
|
+
},
|
|
1823
|
+
{
|
|
1824
|
+
scheme: 'bearer',
|
|
1825
|
+
type: 'http'
|
|
1826
|
+
},
|
|
1827
|
+
{
|
|
1828
|
+
scheme: 'bearer',
|
|
1829
|
+
type: 'http'
|
|
1830
|
+
}
|
|
1831
|
+
],
|
|
1832
|
+
url: '/api/openportal-unmanaged-projects/{uuid}/add_user/',
|
|
1833
|
+
...options,
|
|
1834
|
+
headers: {
|
|
1835
|
+
'Content-Type': 'application/json',
|
|
1836
|
+
...options.headers
|
|
1837
|
+
}
|
|
1838
|
+
});
|
|
1839
|
+
};
|
|
1840
|
+
|
|
1841
|
+
/**
|
|
1842
|
+
* Get checklist with questions and existing answers.
|
|
1843
|
+
*/
|
|
1844
|
+
export const openportalUnmanagedProjectsChecklistRetrieve = <ThrowOnError extends boolean = false>(options: Options<OpenportalUnmanagedProjectsChecklistRetrieveData, ThrowOnError>) => {
|
|
1845
|
+
return (options.client ?? _heyApiClient).get<OpenportalUnmanagedProjectsChecklistRetrieveResponses, OpenportalUnmanagedProjectsChecklistRetrieveErrors, ThrowOnError>({
|
|
1846
|
+
security: [
|
|
1847
|
+
{
|
|
1848
|
+
name: 'Authorization',
|
|
1849
|
+
type: 'apiKey'
|
|
1850
|
+
},
|
|
1851
|
+
{
|
|
1852
|
+
scheme: 'bearer',
|
|
1853
|
+
type: 'http'
|
|
1854
|
+
},
|
|
1855
|
+
{
|
|
1856
|
+
scheme: 'bearer',
|
|
1857
|
+
type: 'http'
|
|
1858
|
+
}
|
|
1859
|
+
],
|
|
1860
|
+
url: '/api/openportal-unmanaged-projects/{uuid}/checklist/',
|
|
1861
|
+
...options
|
|
1862
|
+
});
|
|
1863
|
+
};
|
|
1864
|
+
|
|
1865
|
+
/**
|
|
1866
|
+
* Get checklist completion status.
|
|
1867
|
+
*/
|
|
1868
|
+
export const openportalUnmanagedProjectsCompletionStatusRetrieve = <ThrowOnError extends boolean = false>(options: Options<OpenportalUnmanagedProjectsCompletionStatusRetrieveData, ThrowOnError>) => {
|
|
1869
|
+
return (options.client ?? _heyApiClient).get<OpenportalUnmanagedProjectsCompletionStatusRetrieveResponses, OpenportalUnmanagedProjectsCompletionStatusRetrieveErrors, ThrowOnError>({
|
|
1870
|
+
security: [
|
|
1871
|
+
{
|
|
1872
|
+
name: 'Authorization',
|
|
1873
|
+
type: 'apiKey'
|
|
1874
|
+
},
|
|
1875
|
+
{
|
|
1876
|
+
scheme: 'bearer',
|
|
1877
|
+
type: 'http'
|
|
1878
|
+
},
|
|
1879
|
+
{
|
|
1880
|
+
scheme: 'bearer',
|
|
1881
|
+
type: 'http'
|
|
1882
|
+
}
|
|
1883
|
+
],
|
|
1884
|
+
url: '/api/openportal-unmanaged-projects/{uuid}/completion_status/',
|
|
1885
|
+
...options
|
|
1886
|
+
});
|
|
1887
|
+
};
|
|
1888
|
+
|
|
1889
|
+
/**
|
|
1890
|
+
* Revoke a role from a user
|
|
1891
|
+
* Removes a specific role from a user within the current scope. This effectively revokes their permissions associated with that role.
|
|
1892
|
+
*/
|
|
1893
|
+
export const openportalUnmanagedProjectsDeleteUser = <ThrowOnError extends boolean = false>(options: Options<OpenportalUnmanagedProjectsDeleteUserData, ThrowOnError>) => {
|
|
1894
|
+
return (options.client ?? _heyApiClient).post<OpenportalUnmanagedProjectsDeleteUserResponses, unknown, ThrowOnError>({
|
|
1895
|
+
security: [
|
|
1896
|
+
{
|
|
1897
|
+
name: 'Authorization',
|
|
1898
|
+
type: 'apiKey'
|
|
1899
|
+
},
|
|
1900
|
+
{
|
|
1901
|
+
scheme: 'bearer',
|
|
1902
|
+
type: 'http'
|
|
1903
|
+
},
|
|
1904
|
+
{
|
|
1905
|
+
scheme: 'bearer',
|
|
1906
|
+
type: 'http'
|
|
1907
|
+
}
|
|
1908
|
+
],
|
|
1909
|
+
url: '/api/openportal-unmanaged-projects/{uuid}/delete_user/',
|
|
1910
|
+
...options,
|
|
1911
|
+
headers: {
|
|
1912
|
+
'Content-Type': 'application/json',
|
|
1913
|
+
...options.headers
|
|
1914
|
+
}
|
|
1915
|
+
});
|
|
1916
|
+
};
|
|
1917
|
+
|
|
1918
|
+
/**
|
|
1919
|
+
* List users and their roles in a scope
|
|
1920
|
+
* 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.
|
|
1921
|
+
*/
|
|
1922
|
+
export const openportalUnmanagedProjectsListUsersList = <ThrowOnError extends boolean = false>(options: Options<OpenportalUnmanagedProjectsListUsersListData, ThrowOnError>) => {
|
|
1923
|
+
return (options.client ?? _heyApiClient).get<OpenportalUnmanagedProjectsListUsersListResponses, unknown, ThrowOnError>({
|
|
1924
|
+
security: [
|
|
1925
|
+
{
|
|
1926
|
+
name: 'Authorization',
|
|
1927
|
+
type: 'apiKey'
|
|
1928
|
+
},
|
|
1929
|
+
{
|
|
1930
|
+
scheme: 'bearer',
|
|
1931
|
+
type: 'http'
|
|
1932
|
+
},
|
|
1933
|
+
{
|
|
1934
|
+
scheme: 'bearer',
|
|
1935
|
+
type: 'http'
|
|
1936
|
+
}
|
|
1937
|
+
],
|
|
1938
|
+
url: '/api/openportal-unmanaged-projects/{uuid}/list_users/',
|
|
1939
|
+
...options
|
|
1940
|
+
});
|
|
1941
|
+
};
|
|
1942
|
+
|
|
1943
|
+
/**
|
|
1944
|
+
* Move project to another customer
|
|
1945
|
+
* Moves a project and its associated resources to a different customer. You can choose whether to preserve existing project permissions for users. Terminated projects can also be moved.
|
|
1946
|
+
*/
|
|
1947
|
+
export const openportalUnmanagedProjectsMoveProject = <ThrowOnError extends boolean = false>(options: Options<OpenportalUnmanagedProjectsMoveProjectData, ThrowOnError>) => {
|
|
1948
|
+
return (options.client ?? _heyApiClient).post<OpenportalUnmanagedProjectsMoveProjectResponses, unknown, ThrowOnError>({
|
|
1949
|
+
security: [
|
|
1950
|
+
{
|
|
1951
|
+
name: 'Authorization',
|
|
1952
|
+
type: 'apiKey'
|
|
1953
|
+
},
|
|
1954
|
+
{
|
|
1955
|
+
scheme: 'bearer',
|
|
1956
|
+
type: 'http'
|
|
1957
|
+
},
|
|
1958
|
+
{
|
|
1959
|
+
scheme: 'bearer',
|
|
1960
|
+
type: 'http'
|
|
1961
|
+
}
|
|
1962
|
+
],
|
|
1963
|
+
url: '/api/openportal-unmanaged-projects/{uuid}/move_project/',
|
|
1964
|
+
...options,
|
|
1965
|
+
headers: {
|
|
1966
|
+
'Content-Type': 'application/json',
|
|
1967
|
+
...options.headers
|
|
1968
|
+
}
|
|
1969
|
+
});
|
|
1970
|
+
};
|
|
1971
|
+
|
|
1972
|
+
/**
|
|
1973
|
+
* Recover a soft-deleted project
|
|
1974
|
+
* Recovers a soft-deleted (terminated) project, making it active again. Provides options to restore previous team members automatically (staff-only) or send them new invitations.
|
|
1975
|
+
*/
|
|
1976
|
+
export const openportalUnmanagedProjectsRecover = <ThrowOnError extends boolean = false>(options: Options<OpenportalUnmanagedProjectsRecoverData, ThrowOnError>) => {
|
|
1977
|
+
return (options.client ?? _heyApiClient).post<OpenportalUnmanagedProjectsRecoverResponses, unknown, ThrowOnError>({
|
|
1978
|
+
security: [
|
|
1979
|
+
{
|
|
1980
|
+
name: 'Authorization',
|
|
1981
|
+
type: 'apiKey'
|
|
1982
|
+
},
|
|
1983
|
+
{
|
|
1984
|
+
scheme: 'bearer',
|
|
1985
|
+
type: 'http'
|
|
1986
|
+
},
|
|
1987
|
+
{
|
|
1988
|
+
scheme: 'bearer',
|
|
1989
|
+
type: 'http'
|
|
1990
|
+
}
|
|
1991
|
+
],
|
|
1992
|
+
url: '/api/openportal-unmanaged-projects/{uuid}/recover/',
|
|
1993
|
+
...options,
|
|
1994
|
+
headers: {
|
|
1995
|
+
'Content-Type': 'application/json',
|
|
1996
|
+
...options.headers
|
|
1997
|
+
}
|
|
1998
|
+
});
|
|
1999
|
+
};
|
|
2000
|
+
|
|
2001
|
+
/**
|
|
2002
|
+
* Get project resource usage statistics
|
|
2003
|
+
* Provides statistics about the resource usage (e.g., CPU, RAM, storage) for all resources within a project. Can be filtered to show usage for the current month only.
|
|
2004
|
+
*/
|
|
2005
|
+
export const openportalUnmanagedProjectsStatsRetrieve = <ThrowOnError extends boolean = false>(options: Options<OpenportalUnmanagedProjectsStatsRetrieveData, ThrowOnError>) => {
|
|
2006
|
+
return (options.client ?? _heyApiClient).get<OpenportalUnmanagedProjectsStatsRetrieveResponses, unknown, ThrowOnError>({
|
|
2007
|
+
security: [
|
|
2008
|
+
{
|
|
2009
|
+
name: 'Authorization',
|
|
2010
|
+
type: 'apiKey'
|
|
2011
|
+
},
|
|
2012
|
+
{
|
|
2013
|
+
scheme: 'bearer',
|
|
2014
|
+
type: 'http'
|
|
2015
|
+
},
|
|
2016
|
+
{
|
|
2017
|
+
scheme: 'bearer',
|
|
2018
|
+
type: 'http'
|
|
2019
|
+
}
|
|
2020
|
+
],
|
|
2021
|
+
url: '/api/openportal-unmanaged-projects/{uuid}/stats/',
|
|
2022
|
+
...options
|
|
2023
|
+
});
|
|
2024
|
+
};
|
|
2025
|
+
|
|
2026
|
+
/**
|
|
2027
|
+
* Submit checklist answers.
|
|
2028
|
+
*/
|
|
2029
|
+
export const openportalUnmanagedProjectsSubmitAnswers = <ThrowOnError extends boolean = false>(options: Options<OpenportalUnmanagedProjectsSubmitAnswersData, ThrowOnError>) => {
|
|
2030
|
+
return (options.client ?? _heyApiClient).post<OpenportalUnmanagedProjectsSubmitAnswersResponses, OpenportalUnmanagedProjectsSubmitAnswersErrors, ThrowOnError>({
|
|
2031
|
+
security: [
|
|
2032
|
+
{
|
|
2033
|
+
name: 'Authorization',
|
|
2034
|
+
type: 'apiKey'
|
|
2035
|
+
},
|
|
2036
|
+
{
|
|
2037
|
+
scheme: 'bearer',
|
|
2038
|
+
type: 'http'
|
|
2039
|
+
},
|
|
2040
|
+
{
|
|
2041
|
+
scheme: 'bearer',
|
|
2042
|
+
type: 'http'
|
|
2043
|
+
}
|
|
2044
|
+
],
|
|
2045
|
+
url: '/api/openportal-unmanaged-projects/{uuid}/submit_answers/',
|
|
2046
|
+
...options,
|
|
2047
|
+
headers: {
|
|
2048
|
+
'Content-Type': 'application/json',
|
|
2049
|
+
...options.headers
|
|
2050
|
+
}
|
|
2051
|
+
});
|
|
2052
|
+
};
|
|
2053
|
+
|
|
2054
|
+
/**
|
|
2055
|
+
* Update affiliated organizations for a project
|
|
2056
|
+
* Assigns a project to one or more affiliated organizations. Replaces the current set.
|
|
2057
|
+
*/
|
|
2058
|
+
export const openportalUnmanagedProjectsUpdateAffiliatedOrganizations = <ThrowOnError extends boolean = false>(options: Options<OpenportalUnmanagedProjectsUpdateAffiliatedOrganizationsData, ThrowOnError>) => {
|
|
2059
|
+
return (options.client ?? _heyApiClient).post<OpenportalUnmanagedProjectsUpdateAffiliatedOrganizationsResponses, unknown, ThrowOnError>({
|
|
2060
|
+
security: [
|
|
2061
|
+
{
|
|
2062
|
+
name: 'Authorization',
|
|
2063
|
+
type: 'apiKey'
|
|
2064
|
+
},
|
|
2065
|
+
{
|
|
2066
|
+
scheme: 'bearer',
|
|
2067
|
+
type: 'http'
|
|
2068
|
+
},
|
|
2069
|
+
{
|
|
2070
|
+
scheme: 'bearer',
|
|
2071
|
+
type: 'http'
|
|
2072
|
+
}
|
|
2073
|
+
],
|
|
2074
|
+
url: '/api/openportal-unmanaged-projects/{uuid}/update_affiliated_organizations/',
|
|
2075
|
+
...options,
|
|
2076
|
+
headers: {
|
|
2077
|
+
'Content-Type': 'application/json',
|
|
2078
|
+
...options.headers
|
|
2079
|
+
}
|
|
2080
|
+
});
|
|
2081
|
+
};
|
|
2082
|
+
|
|
2083
|
+
/**
|
|
2084
|
+
* Update a user's role expiration
|
|
2085
|
+
* 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.
|
|
2086
|
+
*/
|
|
2087
|
+
export const openportalUnmanagedProjectsUpdateUser = <ThrowOnError extends boolean = false>(options: Options<OpenportalUnmanagedProjectsUpdateUserData, ThrowOnError>) => {
|
|
2088
|
+
return (options.client ?? _heyApiClient).post<OpenportalUnmanagedProjectsUpdateUserResponses, unknown, ThrowOnError>({
|
|
2089
|
+
security: [
|
|
2090
|
+
{
|
|
2091
|
+
name: 'Authorization',
|
|
2092
|
+
type: 'apiKey'
|
|
2093
|
+
},
|
|
2094
|
+
{
|
|
2095
|
+
scheme: 'bearer',
|
|
2096
|
+
type: 'http'
|
|
2097
|
+
},
|
|
2098
|
+
{
|
|
2099
|
+
scheme: 'bearer',
|
|
2100
|
+
type: 'http'
|
|
2101
|
+
}
|
|
2102
|
+
],
|
|
2103
|
+
url: '/api/openportal-unmanaged-projects/{uuid}/update_user/',
|
|
2104
|
+
...options,
|
|
2105
|
+
headers: {
|
|
2106
|
+
'Content-Type': 'application/json',
|
|
2107
|
+
...options.headers
|
|
2108
|
+
}
|
|
2109
|
+
});
|
|
2110
|
+
};
|
|
2111
|
+
|
|
2112
|
+
/**
|
|
2113
|
+
* Get checklist template for creating new objects.
|
|
2114
|
+
*/
|
|
2115
|
+
export const openportalUnmanagedProjectsChecklistTemplateRetrieve = <ThrowOnError extends boolean = false>(options: Options<OpenportalUnmanagedProjectsChecklistTemplateRetrieveData, ThrowOnError>) => {
|
|
2116
|
+
return (options.client ?? _heyApiClient).get<OpenportalUnmanagedProjectsChecklistTemplateRetrieveResponses, OpenportalUnmanagedProjectsChecklistTemplateRetrieveErrors, ThrowOnError>({
|
|
2117
|
+
security: [
|
|
2118
|
+
{
|
|
2119
|
+
name: 'Authorization',
|
|
2120
|
+
type: 'apiKey'
|
|
2121
|
+
},
|
|
2122
|
+
{
|
|
2123
|
+
scheme: 'bearer',
|
|
2124
|
+
type: 'http'
|
|
2125
|
+
},
|
|
2126
|
+
{
|
|
2127
|
+
scheme: 'bearer',
|
|
2128
|
+
type: 'http'
|
|
2129
|
+
}
|
|
2130
|
+
],
|
|
2131
|
+
url: '/api/openportal-unmanaged-projects/checklist-template/',
|
|
2132
|
+
...options
|
|
2133
|
+
});
|
|
2134
|
+
};
|
|
2135
|
+
|
|
2136
|
+
/**
|
|
2137
|
+
* Get number of items in the collection matching the request parameters.
|
|
2138
|
+
*/
|
|
2139
|
+
export const openportalUnmanagedProjectsChecklistTemplateCount = <ThrowOnError extends boolean = false>(options: Options<OpenportalUnmanagedProjectsChecklistTemplateCountData, ThrowOnError>) => {
|
|
2140
|
+
return (options.client ?? _heyApiClient).head<OpenportalUnmanagedProjectsChecklistTemplateCountResponses, unknown, ThrowOnError>({
|
|
2141
|
+
security: [
|
|
2142
|
+
{
|
|
2143
|
+
name: 'Authorization',
|
|
2144
|
+
type: 'apiKey'
|
|
2145
|
+
},
|
|
2146
|
+
{
|
|
2147
|
+
scheme: 'bearer',
|
|
2148
|
+
type: 'http'
|
|
2149
|
+
},
|
|
2150
|
+
{
|
|
2151
|
+
scheme: 'bearer',
|
|
2152
|
+
type: 'http'
|
|
2153
|
+
}
|
|
2154
|
+
],
|
|
2155
|
+
url: '/api/openportal-unmanaged-projects/checklist-template/',
|
|
2156
|
+
...options
|
|
2157
|
+
});
|
|
2158
|
+
};
|
|
2159
|
+
|
|
2160
|
+
export const openportalUserinfoList = <ThrowOnError extends boolean = false>(options?: Options<OpenportalUserinfoListData, ThrowOnError>) => {
|
|
2161
|
+
return (options?.client ?? _heyApiClient).get<OpenportalUserinfoListResponses, unknown, ThrowOnError>({
|
|
2162
|
+
security: [
|
|
2163
|
+
{
|
|
2164
|
+
name: 'Authorization',
|
|
2165
|
+
type: 'apiKey'
|
|
2166
|
+
},
|
|
2167
|
+
{
|
|
2168
|
+
scheme: 'bearer',
|
|
2169
|
+
type: 'http'
|
|
2170
|
+
},
|
|
2171
|
+
{
|
|
2172
|
+
scheme: 'bearer',
|
|
2173
|
+
type: 'http'
|
|
2174
|
+
}
|
|
2175
|
+
],
|
|
2176
|
+
url: '/api/openportal-userinfo/',
|
|
2177
|
+
...options
|
|
2178
|
+
});
|
|
2179
|
+
};
|
|
2180
|
+
|
|
2181
|
+
/**
|
|
2182
|
+
* Get number of items in the collection matching the request parameters.
|
|
2183
|
+
*/
|
|
2184
|
+
export const openportalUserinfoCount = <ThrowOnError extends boolean = false>(options?: Options<OpenportalUserinfoCountData, ThrowOnError>) => {
|
|
2185
|
+
return (options?.client ?? _heyApiClient).head<OpenportalUserinfoCountResponses, unknown, ThrowOnError>({
|
|
2186
|
+
security: [
|
|
2187
|
+
{
|
|
2188
|
+
name: 'Authorization',
|
|
2189
|
+
type: 'apiKey'
|
|
2190
|
+
},
|
|
2191
|
+
{
|
|
2192
|
+
scheme: 'bearer',
|
|
2193
|
+
type: 'http'
|
|
2194
|
+
},
|
|
2195
|
+
{
|
|
2196
|
+
scheme: 'bearer',
|
|
2197
|
+
type: 'http'
|
|
2198
|
+
}
|
|
2199
|
+
],
|
|
2200
|
+
url: '/api/openportal-userinfo/',
|
|
2201
|
+
...options
|
|
2202
|
+
});
|
|
2203
|
+
};
|
|
2204
|
+
|
|
2205
|
+
export const openportalUserinfoCreate = <ThrowOnError extends boolean = false>(options: Options<OpenportalUserinfoCreateData, ThrowOnError>) => {
|
|
2206
|
+
return (options.client ?? _heyApiClient).post<OpenportalUserinfoCreateResponses, unknown, ThrowOnError>({
|
|
2207
|
+
security: [
|
|
2208
|
+
{
|
|
2209
|
+
name: 'Authorization',
|
|
2210
|
+
type: 'apiKey'
|
|
2211
|
+
},
|
|
2212
|
+
{
|
|
2213
|
+
scheme: 'bearer',
|
|
2214
|
+
type: 'http'
|
|
2215
|
+
},
|
|
2216
|
+
{
|
|
2217
|
+
scheme: 'bearer',
|
|
2218
|
+
type: 'http'
|
|
2219
|
+
}
|
|
2220
|
+
],
|
|
2221
|
+
url: '/api/openportal-userinfo/',
|
|
2222
|
+
...options,
|
|
2223
|
+
headers: {
|
|
2224
|
+
'Content-Type': 'application/json',
|
|
2225
|
+
...options.headers
|
|
2226
|
+
}
|
|
2227
|
+
});
|
|
2228
|
+
};
|
|
2229
|
+
|
|
2230
|
+
export const openportalUserinfoDestroy = <ThrowOnError extends boolean = false>(options: Options<OpenportalUserinfoDestroyData, ThrowOnError>) => {
|
|
2231
|
+
return (options.client ?? _heyApiClient).delete<OpenportalUserinfoDestroyResponses, unknown, ThrowOnError>({
|
|
2232
|
+
security: [
|
|
2233
|
+
{
|
|
2234
|
+
name: 'Authorization',
|
|
2235
|
+
type: 'apiKey'
|
|
2236
|
+
},
|
|
2237
|
+
{
|
|
2238
|
+
scheme: 'bearer',
|
|
2239
|
+
type: 'http'
|
|
2240
|
+
},
|
|
2241
|
+
{
|
|
2242
|
+
scheme: 'bearer',
|
|
2243
|
+
type: 'http'
|
|
2244
|
+
}
|
|
2245
|
+
],
|
|
2246
|
+
url: '/api/openportal-userinfo/{user}/',
|
|
2247
|
+
...options
|
|
2248
|
+
});
|
|
2249
|
+
};
|
|
2250
|
+
|
|
2251
|
+
export const openportalUserinfoRetrieve = <ThrowOnError extends boolean = false>(options: Options<OpenportalUserinfoRetrieveData, ThrowOnError>) => {
|
|
2252
|
+
return (options.client ?? _heyApiClient).get<OpenportalUserinfoRetrieveResponses, unknown, ThrowOnError>({
|
|
2253
|
+
security: [
|
|
2254
|
+
{
|
|
2255
|
+
name: 'Authorization',
|
|
2256
|
+
type: 'apiKey'
|
|
2257
|
+
},
|
|
2258
|
+
{
|
|
2259
|
+
scheme: 'bearer',
|
|
2260
|
+
type: 'http'
|
|
2261
|
+
},
|
|
2262
|
+
{
|
|
2263
|
+
scheme: 'bearer',
|
|
2264
|
+
type: 'http'
|
|
2265
|
+
}
|
|
2266
|
+
],
|
|
2267
|
+
url: '/api/openportal-userinfo/{user}/',
|
|
2268
|
+
...options
|
|
2269
|
+
});
|
|
2270
|
+
};
|
|
2271
|
+
|
|
2272
|
+
export const openportalUserinfoPartialUpdate = <ThrowOnError extends boolean = false>(options: Options<OpenportalUserinfoPartialUpdateData, ThrowOnError>) => {
|
|
2273
|
+
return (options.client ?? _heyApiClient).patch<OpenportalUserinfoPartialUpdateResponses, unknown, ThrowOnError>({
|
|
2274
|
+
security: [
|
|
2275
|
+
{
|
|
2276
|
+
name: 'Authorization',
|
|
2277
|
+
type: 'apiKey'
|
|
2278
|
+
},
|
|
2279
|
+
{
|
|
2280
|
+
scheme: 'bearer',
|
|
2281
|
+
type: 'http'
|
|
2282
|
+
},
|
|
2283
|
+
{
|
|
2284
|
+
scheme: 'bearer',
|
|
2285
|
+
type: 'http'
|
|
2286
|
+
}
|
|
2287
|
+
],
|
|
2288
|
+
url: '/api/openportal-userinfo/{user}/',
|
|
2289
|
+
...options,
|
|
2290
|
+
headers: {
|
|
2291
|
+
'Content-Type': 'application/json',
|
|
2292
|
+
...options.headers
|
|
2293
|
+
}
|
|
2294
|
+
});
|
|
2295
|
+
};
|
|
2296
|
+
|
|
2297
|
+
export const openportalUserinfoUpdate = <ThrowOnError extends boolean = false>(options: Options<OpenportalUserinfoUpdateData, ThrowOnError>) => {
|
|
2298
|
+
return (options.client ?? _heyApiClient).put<OpenportalUserinfoUpdateResponses, unknown, ThrowOnError>({
|
|
2299
|
+
security: [
|
|
2300
|
+
{
|
|
2301
|
+
name: 'Authorization',
|
|
2302
|
+
type: 'apiKey'
|
|
2303
|
+
},
|
|
2304
|
+
{
|
|
2305
|
+
scheme: 'bearer',
|
|
2306
|
+
type: 'http'
|
|
2307
|
+
},
|
|
2308
|
+
{
|
|
2309
|
+
scheme: 'bearer',
|
|
2310
|
+
type: 'http'
|
|
2311
|
+
}
|
|
2312
|
+
],
|
|
2313
|
+
url: '/api/openportal-userinfo/{user}/',
|
|
2314
|
+
...options,
|
|
2315
|
+
headers: {
|
|
2316
|
+
'Content-Type': 'application/json',
|
|
2317
|
+
...options.headers
|
|
2318
|
+
}
|
|
2319
|
+
});
|
|
2320
|
+
};
|
|
2321
|
+
|
|
2322
|
+
export const openportalUserinfoSetShortnameUpdate = <ThrowOnError extends boolean = false>(options: Options<OpenportalUserinfoSetShortnameUpdateData, ThrowOnError>) => {
|
|
2323
|
+
return (options.client ?? _heyApiClient).put<OpenportalUserinfoSetShortnameUpdateResponses, unknown, ThrowOnError>({
|
|
2324
|
+
security: [
|
|
2325
|
+
{
|
|
2326
|
+
name: 'Authorization',
|
|
2327
|
+
type: 'apiKey'
|
|
2328
|
+
},
|
|
2329
|
+
{
|
|
2330
|
+
scheme: 'bearer',
|
|
2331
|
+
type: 'http'
|
|
2332
|
+
},
|
|
2333
|
+
{
|
|
2334
|
+
scheme: 'bearer',
|
|
2335
|
+
type: 'http'
|
|
2336
|
+
}
|
|
2337
|
+
],
|
|
2338
|
+
url: '/api/openportal-userinfo/{user}/set_shortname/',
|
|
2339
|
+
...options,
|
|
2340
|
+
headers: {
|
|
2341
|
+
'Content-Type': 'application/json',
|
|
2342
|
+
...options.headers
|
|
2343
|
+
}
|
|
2344
|
+
});
|
|
2345
|
+
};
|
|
2346
|
+
|
|
2347
|
+
export const openportalUserinfoMeRetrieve = <ThrowOnError extends boolean = false>(options?: Options<OpenportalUserinfoMeRetrieveData, ThrowOnError>) => {
|
|
2348
|
+
return (options?.client ?? _heyApiClient).get<OpenportalUserinfoMeRetrieveResponses, unknown, ThrowOnError>({
|
|
2349
|
+
security: [
|
|
2350
|
+
{
|
|
2351
|
+
name: 'Authorization',
|
|
2352
|
+
type: 'apiKey'
|
|
2353
|
+
},
|
|
2354
|
+
{
|
|
2355
|
+
scheme: 'bearer',
|
|
2356
|
+
type: 'http'
|
|
2357
|
+
},
|
|
2358
|
+
{
|
|
2359
|
+
scheme: 'bearer',
|
|
2360
|
+
type: 'http'
|
|
2361
|
+
}
|
|
2362
|
+
],
|
|
2363
|
+
url: '/api/openportal-userinfo/me/',
|
|
2364
|
+
...options
|
|
2365
|
+
});
|
|
2366
|
+
};
|
|
2367
|
+
|
|
2368
|
+
/**
|
|
2369
|
+
* Get number of items in the collection matching the request parameters.
|
|
2370
|
+
*/
|
|
2371
|
+
export const openportalUserinfoMeCount = <ThrowOnError extends boolean = false>(options?: Options<OpenportalUserinfoMeCountData, ThrowOnError>) => {
|
|
2372
|
+
return (options?.client ?? _heyApiClient).head<OpenportalUserinfoMeCountResponses, unknown, ThrowOnError>({
|
|
2373
|
+
security: [
|
|
2374
|
+
{
|
|
2375
|
+
name: 'Authorization',
|
|
2376
|
+
type: 'apiKey'
|
|
2377
|
+
},
|
|
2378
|
+
{
|
|
2379
|
+
scheme: 'bearer',
|
|
2380
|
+
type: 'http'
|
|
2381
|
+
},
|
|
2382
|
+
{
|
|
2383
|
+
scheme: 'bearer',
|
|
2384
|
+
type: 'http'
|
|
2385
|
+
}
|
|
2386
|
+
],
|
|
2387
|
+
url: '/api/openportal-userinfo/me/',
|
|
2388
|
+
...options
|
|
2389
|
+
});
|
|
2390
|
+
};
|
|
2391
|
+
|
|
2392
|
+
export const openportalAccessForEmailList = <ThrowOnError extends boolean = false>(options: Options<OpenportalAccessForEmailListData, ThrowOnError>) => {
|
|
2393
|
+
return (options.client ?? _heyApiClient).get<OpenportalAccessForEmailListResponses, unknown, ThrowOnError>({
|
|
2394
|
+
security: [
|
|
2395
|
+
{
|
|
2396
|
+
name: 'Authorization',
|
|
2397
|
+
type: 'apiKey'
|
|
2398
|
+
},
|
|
2399
|
+
{
|
|
2400
|
+
scheme: 'bearer',
|
|
2401
|
+
type: 'http'
|
|
2402
|
+
},
|
|
2403
|
+
{
|
|
2404
|
+
scheme: 'bearer',
|
|
2405
|
+
type: 'http'
|
|
2406
|
+
}
|
|
2407
|
+
],
|
|
2408
|
+
url: '/api/openportal/access_for_email/',
|
|
2409
|
+
...options
|
|
2410
|
+
});
|
|
2411
|
+
};
|
|
2412
|
+
|
|
2413
|
+
/**
|
|
2414
|
+
* 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.
|
|
2415
|
+
*/
|
|
2416
|
+
export const openportalOfferingMappingRetrieve = <ThrowOnError extends boolean = false>(options?: Options<OpenportalOfferingMappingRetrieveData, ThrowOnError>) => {
|
|
2417
|
+
return (options?.client ?? _heyApiClient).get<OpenportalOfferingMappingRetrieveResponses, unknown, ThrowOnError>({
|
|
2418
|
+
security: [
|
|
2419
|
+
{
|
|
2420
|
+
name: 'Authorization',
|
|
2421
|
+
type: 'apiKey'
|
|
2422
|
+
},
|
|
2423
|
+
{
|
|
2424
|
+
scheme: 'bearer',
|
|
2425
|
+
type: 'http'
|
|
2426
|
+
},
|
|
2427
|
+
{
|
|
2428
|
+
scheme: 'bearer',
|
|
2429
|
+
type: 'http'
|
|
2430
|
+
}
|
|
2431
|
+
],
|
|
2432
|
+
url: '/api/openportal/offering_mapping/',
|
|
2433
|
+
...options
|
|
2434
|
+
});
|
|
2435
|
+
};
|
|
2436
|
+
|
|
2437
|
+
/**
|
|
2438
|
+
* 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.
|
|
2439
|
+
*/
|
|
2440
|
+
export const openportalProjectMappingRetrieve = <ThrowOnError extends boolean = false>(options?: Options<OpenportalProjectMappingRetrieveData, ThrowOnError>) => {
|
|
2441
|
+
return (options?.client ?? _heyApiClient).get<OpenportalProjectMappingRetrieveResponses, unknown, ThrowOnError>({
|
|
2442
|
+
security: [
|
|
2443
|
+
{
|
|
2444
|
+
name: 'Authorization',
|
|
2445
|
+
type: 'apiKey'
|
|
2446
|
+
},
|
|
2447
|
+
{
|
|
2448
|
+
scheme: 'bearer',
|
|
2449
|
+
type: 'http'
|
|
2450
|
+
},
|
|
2451
|
+
{
|
|
2452
|
+
scheme: 'bearer',
|
|
2453
|
+
type: 'http'
|
|
2454
|
+
}
|
|
2455
|
+
],
|
|
2456
|
+
url: '/api/openportal/project_mapping/',
|
|
2457
|
+
...options
|
|
2458
|
+
});
|
|
2459
|
+
};
|
|
2460
|
+
|
|
2461
|
+
/**
|
|
2462
|
+
* 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.
|
|
2463
|
+
*/
|
|
2464
|
+
export const openportalUserMappingRetrieve = <ThrowOnError extends boolean = false>(options?: Options<OpenportalUserMappingRetrieveData, ThrowOnError>) => {
|
|
2465
|
+
return (options?.client ?? _heyApiClient).get<OpenportalUserMappingRetrieveResponses, unknown, ThrowOnError>({
|
|
2466
|
+
security: [
|
|
2467
|
+
{
|
|
2468
|
+
name: 'Authorization',
|
|
2469
|
+
type: 'apiKey'
|
|
2470
|
+
},
|
|
2471
|
+
{
|
|
2472
|
+
scheme: 'bearer',
|
|
2473
|
+
type: 'http'
|
|
2474
|
+
},
|
|
2475
|
+
{
|
|
2476
|
+
scheme: 'bearer',
|
|
2477
|
+
type: 'http'
|
|
2478
|
+
}
|
|
2479
|
+
],
|
|
2480
|
+
url: '/api/openportal/user_mapping/',
|
|
2481
|
+
...options
|
|
2482
|
+
});
|
|
2483
|
+
};
|