@goauthentik/api 2023.10.5-1703290840 → 2023.10.5-1704381512
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/.openapi-generator/FILES +15 -0
- package/dist/apis/PropertymappingsApi.d.ts +85 -1
- package/dist/apis/PropertymappingsApi.js +240 -0
- package/dist/apis/ProvidersApi.d.ts +85 -1
- package/dist/apis/ProvidersApi.js +240 -0
- package/dist/apis/RacApi.d.ts +103 -0
- package/dist/apis/RacApi.js +276 -0
- package/dist/apis/RbacApi.d.ts +6 -0
- package/dist/apis/RbacApi.js +6 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/esm/apis/PropertymappingsApi.d.ts +85 -1
- package/dist/esm/apis/PropertymappingsApi.js +241 -1
- package/dist/esm/apis/ProvidersApi.d.ts +85 -1
- package/dist/esm/apis/ProvidersApi.js +241 -1
- package/dist/esm/apis/RacApi.d.ts +103 -0
- package/dist/esm/apis/RacApi.js +272 -0
- package/dist/esm/apis/RbacApi.d.ts +6 -0
- package/dist/esm/apis/RbacApi.js +6 -0
- package/dist/esm/apis/index.d.ts +1 -0
- package/dist/esm/apis/index.js +1 -0
- package/dist/esm/models/AppEnum.d.ts +2 -0
- package/dist/esm/models/AppEnum.js +2 -0
- package/dist/esm/models/AuthModeEnum.d.ts +25 -0
- package/dist/esm/models/AuthModeEnum.js +32 -0
- package/dist/esm/models/Endpoint.d.ts +89 -0
- package/dist/esm/models/Endpoint.js +69 -0
- package/dist/esm/models/EndpointRequest.d.ts +69 -0
- package/dist/esm/models/EndpointRequest.js +62 -0
- package/dist/esm/models/ModelEnum.d.ts +6 -0
- package/dist/esm/models/ModelEnum.js +6 -0
- package/dist/esm/models/ModelRequest.d.ts +3 -0
- package/dist/esm/models/ModelRequest.js +5 -0
- package/dist/esm/models/OutpostTypeEnum.d.ts +2 -0
- package/dist/esm/models/OutpostTypeEnum.js +2 -0
- package/dist/esm/models/PaginatedEndpointList.d.ts +39 -0
- package/dist/esm/models/PaginatedEndpointList.js +48 -0
- package/dist/esm/models/PaginatedRACPropertyMappingList.d.ts +39 -0
- package/dist/esm/models/PaginatedRACPropertyMappingList.js +48 -0
- package/dist/esm/models/PaginatedRACProviderList.d.ts +39 -0
- package/dist/esm/models/PaginatedRACProviderList.js +48 -0
- package/dist/esm/models/PatchedEndpointRequest.d.ts +69 -0
- package/dist/esm/models/PatchedEndpointRequest.js +57 -0
- package/dist/esm/models/PatchedRACPropertyMappingRequest.d.ts +51 -0
- package/dist/esm/models/PatchedRACPropertyMappingRequest.js +49 -0
- package/dist/esm/models/PatchedRACProviderRequest.d.ts +61 -0
- package/dist/esm/models/PatchedRACProviderRequest.js +53 -0
- package/dist/esm/models/ProtocolEnum.d.ts +27 -0
- package/dist/esm/models/ProtocolEnum.js +34 -0
- package/dist/esm/models/ProviderModelEnum.d.ts +2 -0
- package/dist/esm/models/ProviderModelEnum.js +2 -0
- package/dist/esm/models/RACPropertyMapping.d.ts +81 -0
- package/dist/esm/models/RACPropertyMapping.js +61 -0
- package/dist/esm/models/RACPropertyMappingRequest.d.ts +51 -0
- package/dist/esm/models/RACPropertyMappingRequest.js +51 -0
- package/dist/esm/models/RACProvider.d.ts +121 -0
- package/dist/esm/models/RACProvider.js +75 -0
- package/dist/esm/models/RACProviderRequest.d.ts +61 -0
- package/dist/esm/models/RACProviderRequest.js +55 -0
- package/dist/esm/models/TypeCreate.d.ts +6 -0
- package/dist/esm/models/TypeCreate.js +3 -0
- package/dist/esm/models/index.d.ts +14 -0
- package/dist/esm/models/index.js +14 -0
- package/dist/models/AppEnum.d.ts +2 -0
- package/dist/models/AppEnum.js +2 -0
- package/dist/models/AuthModeEnum.d.ts +25 -0
- package/dist/models/AuthModeEnum.js +38 -0
- package/dist/models/Endpoint.d.ts +89 -0
- package/dist/models/Endpoint.js +76 -0
- package/dist/models/EndpointRequest.d.ts +69 -0
- package/dist/models/EndpointRequest.js +69 -0
- package/dist/models/ModelEnum.d.ts +6 -0
- package/dist/models/ModelEnum.js +6 -0
- package/dist/models/ModelRequest.d.ts +3 -0
- package/dist/models/ModelRequest.js +5 -0
- package/dist/models/OutpostTypeEnum.d.ts +2 -0
- package/dist/models/OutpostTypeEnum.js +2 -0
- package/dist/models/PaginatedEndpointList.d.ts +39 -0
- package/dist/models/PaginatedEndpointList.js +55 -0
- package/dist/models/PaginatedRACPropertyMappingList.d.ts +39 -0
- package/dist/models/PaginatedRACPropertyMappingList.js +55 -0
- package/dist/models/PaginatedRACProviderList.d.ts +39 -0
- package/dist/models/PaginatedRACProviderList.js +55 -0
- package/dist/models/PatchedEndpointRequest.d.ts +69 -0
- package/dist/models/PatchedEndpointRequest.js +64 -0
- package/dist/models/PatchedRACPropertyMappingRequest.d.ts +51 -0
- package/dist/models/PatchedRACPropertyMappingRequest.js +56 -0
- package/dist/models/PatchedRACProviderRequest.d.ts +61 -0
- package/dist/models/PatchedRACProviderRequest.js +60 -0
- package/dist/models/ProtocolEnum.d.ts +27 -0
- package/dist/models/ProtocolEnum.js +40 -0
- package/dist/models/ProviderModelEnum.d.ts +2 -0
- package/dist/models/ProviderModelEnum.js +2 -0
- package/dist/models/RACPropertyMapping.d.ts +81 -0
- package/dist/models/RACPropertyMapping.js +68 -0
- package/dist/models/RACPropertyMappingRequest.d.ts +51 -0
- package/dist/models/RACPropertyMappingRequest.js +58 -0
- package/dist/models/RACProvider.d.ts +121 -0
- package/dist/models/RACProvider.js +82 -0
- package/dist/models/RACProviderRequest.d.ts +61 -0
- package/dist/models/RACProviderRequest.js +62 -0
- package/dist/models/TypeCreate.d.ts +6 -0
- package/dist/models/TypeCreate.js +3 -0
- package/dist/models/index.d.ts +14 -0
- package/dist/models/index.js +14 -0
- package/package.json +1 -1
- package/src/apis/PropertymappingsApi.ts +317 -0
- package/src/apis/ProvidersApi.ts +317 -0
- package/src/apis/RacApi.ts +358 -0
- package/src/apis/RbacApi.ts +6 -0
- package/src/apis/index.ts +1 -0
- package/src/models/AppEnum.ts +2 -0
- package/src/models/AuthModeEnum.ts +40 -0
- package/src/models/Endpoint.ts +162 -0
- package/src/models/EndpointRequest.ts +131 -0
- package/src/models/ModelEnum.ts +6 -0
- package/src/models/ModelRequest.ts +12 -1
- package/src/models/OutpostTypeEnum.ts +2 -0
- package/src/models/PaginatedEndpointList.ts +88 -0
- package/src/models/PaginatedRACPropertyMappingList.ts +88 -0
- package/src/models/PaginatedRACProviderList.ts +88 -0
- package/src/models/PatchedEndpointRequest.ts +126 -0
- package/src/models/PatchedRACPropertyMappingRequest.ts +89 -0
- package/src/models/PatchedRACProviderRequest.ts +105 -0
- package/src/models/ProtocolEnum.ts +42 -0
- package/src/models/ProviderModelEnum.ts +2 -0
- package/src/models/RACPropertyMapping.ts +131 -0
- package/src/models/RACPropertyMappingRequest.ts +91 -0
- package/src/models/RACProvider.ts +187 -0
- package/src/models/RACProviderRequest.ts +107 -0
- package/src/models/TypeCreate.ts +8 -0
- package/src/models/index.ts +14 -0
package/dist/models/index.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ export * from './AppleChallengeResponseRequest';
|
|
|
5
5
|
export * from './AppleLoginChallenge';
|
|
6
6
|
export * from './Application';
|
|
7
7
|
export * from './ApplicationRequest';
|
|
8
|
+
export * from './AuthModeEnum';
|
|
8
9
|
export * from './AuthTypeEnum';
|
|
9
10
|
export * from './AuthenticateWebAuthnStage';
|
|
10
11
|
export * from './AuthenticateWebAuthnStageRequest';
|
|
@@ -98,6 +99,8 @@ export * from './EmailChallenge';
|
|
|
98
99
|
export * from './EmailChallengeResponseRequest';
|
|
99
100
|
export * from './EmailStage';
|
|
100
101
|
export * from './EmailStageRequest';
|
|
102
|
+
export * from './Endpoint';
|
|
103
|
+
export * from './EndpointRequest';
|
|
101
104
|
export * from './ErrorDetail';
|
|
102
105
|
export * from './ErrorReportingConfig';
|
|
103
106
|
export * from './Event';
|
|
@@ -214,6 +217,7 @@ export * from './PaginatedDummyPolicyList';
|
|
|
214
217
|
export * from './PaginatedDummyStageList';
|
|
215
218
|
export * from './PaginatedDuoDeviceList';
|
|
216
219
|
export * from './PaginatedEmailStageList';
|
|
220
|
+
export * from './PaginatedEndpointList';
|
|
217
221
|
export * from './PaginatedEventList';
|
|
218
222
|
export * from './PaginatedEventMatcherPolicyList';
|
|
219
223
|
export * from './PaginatedExpiringBaseGrantModelList';
|
|
@@ -253,6 +257,8 @@ export * from './PaginatedPropertyMappingList';
|
|
|
253
257
|
export * from './PaginatedProviderList';
|
|
254
258
|
export * from './PaginatedProxyOutpostConfigList';
|
|
255
259
|
export * from './PaginatedProxyProviderList';
|
|
260
|
+
export * from './PaginatedRACPropertyMappingList';
|
|
261
|
+
export * from './PaginatedRACProviderList';
|
|
256
262
|
export * from './PaginatedRadiusOutpostConfigList';
|
|
257
263
|
export * from './PaginatedRadiusProviderList';
|
|
258
264
|
export * from './PaginatedReputationList';
|
|
@@ -311,6 +317,7 @@ export * from './PatchedDummyPolicyRequest';
|
|
|
311
317
|
export * from './PatchedDummyStageRequest';
|
|
312
318
|
export * from './PatchedDuoDeviceRequest';
|
|
313
319
|
export * from './PatchedEmailStageRequest';
|
|
320
|
+
export * from './PatchedEndpointRequest';
|
|
314
321
|
export * from './PatchedEventMatcherPolicyRequest';
|
|
315
322
|
export * from './PatchedEventRequest';
|
|
316
323
|
export * from './PatchedExpressionPolicyRequest';
|
|
@@ -342,6 +349,8 @@ export * from './PatchedPolicyBindingRequest';
|
|
|
342
349
|
export * from './PatchedPromptRequest';
|
|
343
350
|
export * from './PatchedPromptStageRequest';
|
|
344
351
|
export * from './PatchedProxyProviderRequest';
|
|
352
|
+
export * from './PatchedRACPropertyMappingRequest';
|
|
353
|
+
export * from './PatchedRACProviderRequest';
|
|
345
354
|
export * from './PatchedRadiusProviderRequest';
|
|
346
355
|
export * from './PatchedReputationPolicyRequest';
|
|
347
356
|
export * from './PatchedRoleRequest';
|
|
@@ -390,6 +399,7 @@ export * from './PromptTypeEnum';
|
|
|
390
399
|
export * from './PropertyMapping';
|
|
391
400
|
export * from './PropertyMappingPreview';
|
|
392
401
|
export * from './PropertyMappingTestResult';
|
|
402
|
+
export * from './ProtocolEnum';
|
|
393
403
|
export * from './Provider';
|
|
394
404
|
export * from './ProviderEnum';
|
|
395
405
|
export * from './ProviderModelEnum';
|
|
@@ -399,6 +409,10 @@ export * from './ProxyMode';
|
|
|
399
409
|
export * from './ProxyOutpostConfig';
|
|
400
410
|
export * from './ProxyProvider';
|
|
401
411
|
export * from './ProxyProviderRequest';
|
|
412
|
+
export * from './RACPropertyMapping';
|
|
413
|
+
export * from './RACPropertyMappingRequest';
|
|
414
|
+
export * from './RACProvider';
|
|
415
|
+
export * from './RACProviderRequest';
|
|
402
416
|
export * from './RadiusOutpostConfig';
|
|
403
417
|
export * from './RadiusProvider';
|
|
404
418
|
export * from './RadiusProviderRequest';
|
package/dist/models/index.js
CHANGED
|
@@ -23,6 +23,7 @@ __exportStar(require("./AppleChallengeResponseRequest"), exports);
|
|
|
23
23
|
__exportStar(require("./AppleLoginChallenge"), exports);
|
|
24
24
|
__exportStar(require("./Application"), exports);
|
|
25
25
|
__exportStar(require("./ApplicationRequest"), exports);
|
|
26
|
+
__exportStar(require("./AuthModeEnum"), exports);
|
|
26
27
|
__exportStar(require("./AuthTypeEnum"), exports);
|
|
27
28
|
__exportStar(require("./AuthenticateWebAuthnStage"), exports);
|
|
28
29
|
__exportStar(require("./AuthenticateWebAuthnStageRequest"), exports);
|
|
@@ -116,6 +117,8 @@ __exportStar(require("./EmailChallenge"), exports);
|
|
|
116
117
|
__exportStar(require("./EmailChallengeResponseRequest"), exports);
|
|
117
118
|
__exportStar(require("./EmailStage"), exports);
|
|
118
119
|
__exportStar(require("./EmailStageRequest"), exports);
|
|
120
|
+
__exportStar(require("./Endpoint"), exports);
|
|
121
|
+
__exportStar(require("./EndpointRequest"), exports);
|
|
119
122
|
__exportStar(require("./ErrorDetail"), exports);
|
|
120
123
|
__exportStar(require("./ErrorReportingConfig"), exports);
|
|
121
124
|
__exportStar(require("./Event"), exports);
|
|
@@ -232,6 +235,7 @@ __exportStar(require("./PaginatedDummyPolicyList"), exports);
|
|
|
232
235
|
__exportStar(require("./PaginatedDummyStageList"), exports);
|
|
233
236
|
__exportStar(require("./PaginatedDuoDeviceList"), exports);
|
|
234
237
|
__exportStar(require("./PaginatedEmailStageList"), exports);
|
|
238
|
+
__exportStar(require("./PaginatedEndpointList"), exports);
|
|
235
239
|
__exportStar(require("./PaginatedEventList"), exports);
|
|
236
240
|
__exportStar(require("./PaginatedEventMatcherPolicyList"), exports);
|
|
237
241
|
__exportStar(require("./PaginatedExpiringBaseGrantModelList"), exports);
|
|
@@ -271,6 +275,8 @@ __exportStar(require("./PaginatedPropertyMappingList"), exports);
|
|
|
271
275
|
__exportStar(require("./PaginatedProviderList"), exports);
|
|
272
276
|
__exportStar(require("./PaginatedProxyOutpostConfigList"), exports);
|
|
273
277
|
__exportStar(require("./PaginatedProxyProviderList"), exports);
|
|
278
|
+
__exportStar(require("./PaginatedRACPropertyMappingList"), exports);
|
|
279
|
+
__exportStar(require("./PaginatedRACProviderList"), exports);
|
|
274
280
|
__exportStar(require("./PaginatedRadiusOutpostConfigList"), exports);
|
|
275
281
|
__exportStar(require("./PaginatedRadiusProviderList"), exports);
|
|
276
282
|
__exportStar(require("./PaginatedReputationList"), exports);
|
|
@@ -329,6 +335,7 @@ __exportStar(require("./PatchedDummyPolicyRequest"), exports);
|
|
|
329
335
|
__exportStar(require("./PatchedDummyStageRequest"), exports);
|
|
330
336
|
__exportStar(require("./PatchedDuoDeviceRequest"), exports);
|
|
331
337
|
__exportStar(require("./PatchedEmailStageRequest"), exports);
|
|
338
|
+
__exportStar(require("./PatchedEndpointRequest"), exports);
|
|
332
339
|
__exportStar(require("./PatchedEventMatcherPolicyRequest"), exports);
|
|
333
340
|
__exportStar(require("./PatchedEventRequest"), exports);
|
|
334
341
|
__exportStar(require("./PatchedExpressionPolicyRequest"), exports);
|
|
@@ -360,6 +367,8 @@ __exportStar(require("./PatchedPolicyBindingRequest"), exports);
|
|
|
360
367
|
__exportStar(require("./PatchedPromptRequest"), exports);
|
|
361
368
|
__exportStar(require("./PatchedPromptStageRequest"), exports);
|
|
362
369
|
__exportStar(require("./PatchedProxyProviderRequest"), exports);
|
|
370
|
+
__exportStar(require("./PatchedRACPropertyMappingRequest"), exports);
|
|
371
|
+
__exportStar(require("./PatchedRACProviderRequest"), exports);
|
|
363
372
|
__exportStar(require("./PatchedRadiusProviderRequest"), exports);
|
|
364
373
|
__exportStar(require("./PatchedReputationPolicyRequest"), exports);
|
|
365
374
|
__exportStar(require("./PatchedRoleRequest"), exports);
|
|
@@ -408,6 +417,7 @@ __exportStar(require("./PromptTypeEnum"), exports);
|
|
|
408
417
|
__exportStar(require("./PropertyMapping"), exports);
|
|
409
418
|
__exportStar(require("./PropertyMappingPreview"), exports);
|
|
410
419
|
__exportStar(require("./PropertyMappingTestResult"), exports);
|
|
420
|
+
__exportStar(require("./ProtocolEnum"), exports);
|
|
411
421
|
__exportStar(require("./Provider"), exports);
|
|
412
422
|
__exportStar(require("./ProviderEnum"), exports);
|
|
413
423
|
__exportStar(require("./ProviderModelEnum"), exports);
|
|
@@ -417,6 +427,10 @@ __exportStar(require("./ProxyMode"), exports);
|
|
|
417
427
|
__exportStar(require("./ProxyOutpostConfig"), exports);
|
|
418
428
|
__exportStar(require("./ProxyProvider"), exports);
|
|
419
429
|
__exportStar(require("./ProxyProviderRequest"), exports);
|
|
430
|
+
__exportStar(require("./RACPropertyMapping"), exports);
|
|
431
|
+
__exportStar(require("./RACPropertyMappingRequest"), exports);
|
|
432
|
+
__exportStar(require("./RACProvider"), exports);
|
|
433
|
+
__exportStar(require("./RACProviderRequest"), exports);
|
|
420
434
|
__exportStar(require("./RadiusOutpostConfig"), exports);
|
|
421
435
|
__exportStar(require("./RadiusProvider"), exports);
|
|
422
436
|
__exportStar(require("./RadiusProviderRequest"), exports);
|
package/package.json
CHANGED
|
@@ -23,17 +23,21 @@ import type {
|
|
|
23
23
|
PaginatedLDAPPropertyMappingList,
|
|
24
24
|
PaginatedNotificationWebhookMappingList,
|
|
25
25
|
PaginatedPropertyMappingList,
|
|
26
|
+
PaginatedRACPropertyMappingList,
|
|
26
27
|
PaginatedSAMLPropertyMappingList,
|
|
27
28
|
PaginatedSCIMMappingList,
|
|
28
29
|
PaginatedScopeMappingList,
|
|
29
30
|
PatchedLDAPPropertyMappingRequest,
|
|
30
31
|
PatchedNotificationWebhookMappingRequest,
|
|
32
|
+
PatchedRACPropertyMappingRequest,
|
|
31
33
|
PatchedSAMLPropertyMappingRequest,
|
|
32
34
|
PatchedSCIMMappingRequest,
|
|
33
35
|
PatchedScopeMappingRequest,
|
|
34
36
|
PolicyTestRequest,
|
|
35
37
|
PropertyMapping,
|
|
36
38
|
PropertyMappingTestResult,
|
|
39
|
+
RACPropertyMapping,
|
|
40
|
+
RACPropertyMappingRequest,
|
|
37
41
|
SAMLPropertyMapping,
|
|
38
42
|
SAMLPropertyMappingRequest,
|
|
39
43
|
SCIMMapping,
|
|
@@ -61,6 +65,8 @@ import {
|
|
|
61
65
|
PaginatedNotificationWebhookMappingListToJSON,
|
|
62
66
|
PaginatedPropertyMappingListFromJSON,
|
|
63
67
|
PaginatedPropertyMappingListToJSON,
|
|
68
|
+
PaginatedRACPropertyMappingListFromJSON,
|
|
69
|
+
PaginatedRACPropertyMappingListToJSON,
|
|
64
70
|
PaginatedSAMLPropertyMappingListFromJSON,
|
|
65
71
|
PaginatedSAMLPropertyMappingListToJSON,
|
|
66
72
|
PaginatedSCIMMappingListFromJSON,
|
|
@@ -71,6 +77,8 @@ import {
|
|
|
71
77
|
PatchedLDAPPropertyMappingRequestToJSON,
|
|
72
78
|
PatchedNotificationWebhookMappingRequestFromJSON,
|
|
73
79
|
PatchedNotificationWebhookMappingRequestToJSON,
|
|
80
|
+
PatchedRACPropertyMappingRequestFromJSON,
|
|
81
|
+
PatchedRACPropertyMappingRequestToJSON,
|
|
74
82
|
PatchedSAMLPropertyMappingRequestFromJSON,
|
|
75
83
|
PatchedSAMLPropertyMappingRequestToJSON,
|
|
76
84
|
PatchedSCIMMappingRequestFromJSON,
|
|
@@ -83,6 +91,10 @@ import {
|
|
|
83
91
|
PropertyMappingToJSON,
|
|
84
92
|
PropertyMappingTestResultFromJSON,
|
|
85
93
|
PropertyMappingTestResultToJSON,
|
|
94
|
+
RACPropertyMappingFromJSON,
|
|
95
|
+
RACPropertyMappingToJSON,
|
|
96
|
+
RACPropertyMappingRequestFromJSON,
|
|
97
|
+
RACPropertyMappingRequestToJSON,
|
|
86
98
|
SAMLPropertyMappingFromJSON,
|
|
87
99
|
SAMLPropertyMappingToJSON,
|
|
88
100
|
SAMLPropertyMappingRequestFromJSON,
|
|
@@ -201,6 +213,41 @@ export interface PropertymappingsNotificationUsedByListRequest {
|
|
|
201
213
|
pmUuid: string;
|
|
202
214
|
}
|
|
203
215
|
|
|
216
|
+
export interface PropertymappingsRacCreateRequest {
|
|
217
|
+
rACPropertyMappingRequest: RACPropertyMappingRequest;
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
export interface PropertymappingsRacDestroyRequest {
|
|
221
|
+
pmUuid: string;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
export interface PropertymappingsRacListRequest {
|
|
225
|
+
managed?: string;
|
|
226
|
+
name?: string;
|
|
227
|
+
ordering?: string;
|
|
228
|
+
page?: number;
|
|
229
|
+
pageSize?: number;
|
|
230
|
+
search?: string;
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
export interface PropertymappingsRacPartialUpdateRequest {
|
|
234
|
+
pmUuid: string;
|
|
235
|
+
patchedRACPropertyMappingRequest?: PatchedRACPropertyMappingRequest;
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
export interface PropertymappingsRacRetrieveRequest {
|
|
239
|
+
pmUuid: string;
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
export interface PropertymappingsRacUpdateRequest {
|
|
243
|
+
pmUuid: string;
|
|
244
|
+
rACPropertyMappingRequest: RACPropertyMappingRequest;
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
export interface PropertymappingsRacUsedByListRequest {
|
|
248
|
+
pmUuid: string;
|
|
249
|
+
}
|
|
250
|
+
|
|
204
251
|
export interface PropertymappingsSamlCreateRequest {
|
|
205
252
|
sAMLPropertyMappingRequest: SAMLPropertyMappingRequest;
|
|
206
253
|
}
|
|
@@ -1092,6 +1139,276 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
|
1092
1139
|
return await response.value();
|
|
1093
1140
|
}
|
|
1094
1141
|
|
|
1142
|
+
/**
|
|
1143
|
+
* RACPropertyMapping Viewset
|
|
1144
|
+
*/
|
|
1145
|
+
async propertymappingsRacCreateRaw(requestParameters: PropertymappingsRacCreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<RACPropertyMapping>> {
|
|
1146
|
+
if (requestParameters.rACPropertyMappingRequest === null || requestParameters.rACPropertyMappingRequest === undefined) {
|
|
1147
|
+
throw new runtime.RequiredError('rACPropertyMappingRequest','Required parameter requestParameters.rACPropertyMappingRequest was null or undefined when calling propertymappingsRacCreate.');
|
|
1148
|
+
}
|
|
1149
|
+
|
|
1150
|
+
const queryParameters: any = {};
|
|
1151
|
+
|
|
1152
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
1153
|
+
|
|
1154
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
1155
|
+
|
|
1156
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
1157
|
+
headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // authentik authentication
|
|
1158
|
+
}
|
|
1159
|
+
|
|
1160
|
+
const response = await this.request({
|
|
1161
|
+
path: `/propertymappings/rac/`,
|
|
1162
|
+
method: 'POST',
|
|
1163
|
+
headers: headerParameters,
|
|
1164
|
+
query: queryParameters,
|
|
1165
|
+
body: RACPropertyMappingRequestToJSON(requestParameters.rACPropertyMappingRequest),
|
|
1166
|
+
}, initOverrides);
|
|
1167
|
+
|
|
1168
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => RACPropertyMappingFromJSON(jsonValue));
|
|
1169
|
+
}
|
|
1170
|
+
|
|
1171
|
+
/**
|
|
1172
|
+
* RACPropertyMapping Viewset
|
|
1173
|
+
*/
|
|
1174
|
+
async propertymappingsRacCreate(requestParameters: PropertymappingsRacCreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RACPropertyMapping> {
|
|
1175
|
+
const response = await this.propertymappingsRacCreateRaw(requestParameters, initOverrides);
|
|
1176
|
+
return await response.value();
|
|
1177
|
+
}
|
|
1178
|
+
|
|
1179
|
+
/**
|
|
1180
|
+
* RACPropertyMapping Viewset
|
|
1181
|
+
*/
|
|
1182
|
+
async propertymappingsRacDestroyRaw(requestParameters: PropertymappingsRacDestroyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
1183
|
+
if (requestParameters.pmUuid === null || requestParameters.pmUuid === undefined) {
|
|
1184
|
+
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling propertymappingsRacDestroy.');
|
|
1185
|
+
}
|
|
1186
|
+
|
|
1187
|
+
const queryParameters: any = {};
|
|
1188
|
+
|
|
1189
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
1190
|
+
|
|
1191
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
1192
|
+
headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // authentik authentication
|
|
1193
|
+
}
|
|
1194
|
+
|
|
1195
|
+
const response = await this.request({
|
|
1196
|
+
path: `/propertymappings/rac/{pm_uuid}/`.replace(`{${"pm_uuid"}}`, encodeURIComponent(String(requestParameters.pmUuid))),
|
|
1197
|
+
method: 'DELETE',
|
|
1198
|
+
headers: headerParameters,
|
|
1199
|
+
query: queryParameters,
|
|
1200
|
+
}, initOverrides);
|
|
1201
|
+
|
|
1202
|
+
return new runtime.VoidApiResponse(response);
|
|
1203
|
+
}
|
|
1204
|
+
|
|
1205
|
+
/**
|
|
1206
|
+
* RACPropertyMapping Viewset
|
|
1207
|
+
*/
|
|
1208
|
+
async propertymappingsRacDestroy(requestParameters: PropertymappingsRacDestroyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
|
|
1209
|
+
await this.propertymappingsRacDestroyRaw(requestParameters, initOverrides);
|
|
1210
|
+
}
|
|
1211
|
+
|
|
1212
|
+
/**
|
|
1213
|
+
* RACPropertyMapping Viewset
|
|
1214
|
+
*/
|
|
1215
|
+
async propertymappingsRacListRaw(requestParameters: PropertymappingsRacListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedRACPropertyMappingList>> {
|
|
1216
|
+
const queryParameters: any = {};
|
|
1217
|
+
|
|
1218
|
+
if (requestParameters.managed !== undefined) {
|
|
1219
|
+
queryParameters['managed'] = requestParameters.managed;
|
|
1220
|
+
}
|
|
1221
|
+
|
|
1222
|
+
if (requestParameters.name !== undefined) {
|
|
1223
|
+
queryParameters['name'] = requestParameters.name;
|
|
1224
|
+
}
|
|
1225
|
+
|
|
1226
|
+
if (requestParameters.ordering !== undefined) {
|
|
1227
|
+
queryParameters['ordering'] = requestParameters.ordering;
|
|
1228
|
+
}
|
|
1229
|
+
|
|
1230
|
+
if (requestParameters.page !== undefined) {
|
|
1231
|
+
queryParameters['page'] = requestParameters.page;
|
|
1232
|
+
}
|
|
1233
|
+
|
|
1234
|
+
if (requestParameters.pageSize !== undefined) {
|
|
1235
|
+
queryParameters['page_size'] = requestParameters.pageSize;
|
|
1236
|
+
}
|
|
1237
|
+
|
|
1238
|
+
if (requestParameters.search !== undefined) {
|
|
1239
|
+
queryParameters['search'] = requestParameters.search;
|
|
1240
|
+
}
|
|
1241
|
+
|
|
1242
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
1243
|
+
|
|
1244
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
1245
|
+
headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // authentik authentication
|
|
1246
|
+
}
|
|
1247
|
+
|
|
1248
|
+
const response = await this.request({
|
|
1249
|
+
path: `/propertymappings/rac/`,
|
|
1250
|
+
method: 'GET',
|
|
1251
|
+
headers: headerParameters,
|
|
1252
|
+
query: queryParameters,
|
|
1253
|
+
}, initOverrides);
|
|
1254
|
+
|
|
1255
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => PaginatedRACPropertyMappingListFromJSON(jsonValue));
|
|
1256
|
+
}
|
|
1257
|
+
|
|
1258
|
+
/**
|
|
1259
|
+
* RACPropertyMapping Viewset
|
|
1260
|
+
*/
|
|
1261
|
+
async propertymappingsRacList(requestParameters: PropertymappingsRacListRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedRACPropertyMappingList> {
|
|
1262
|
+
const response = await this.propertymappingsRacListRaw(requestParameters, initOverrides);
|
|
1263
|
+
return await response.value();
|
|
1264
|
+
}
|
|
1265
|
+
|
|
1266
|
+
/**
|
|
1267
|
+
* RACPropertyMapping Viewset
|
|
1268
|
+
*/
|
|
1269
|
+
async propertymappingsRacPartialUpdateRaw(requestParameters: PropertymappingsRacPartialUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<RACPropertyMapping>> {
|
|
1270
|
+
if (requestParameters.pmUuid === null || requestParameters.pmUuid === undefined) {
|
|
1271
|
+
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling propertymappingsRacPartialUpdate.');
|
|
1272
|
+
}
|
|
1273
|
+
|
|
1274
|
+
const queryParameters: any = {};
|
|
1275
|
+
|
|
1276
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
1277
|
+
|
|
1278
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
1279
|
+
|
|
1280
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
1281
|
+
headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // authentik authentication
|
|
1282
|
+
}
|
|
1283
|
+
|
|
1284
|
+
const response = await this.request({
|
|
1285
|
+
path: `/propertymappings/rac/{pm_uuid}/`.replace(`{${"pm_uuid"}}`, encodeURIComponent(String(requestParameters.pmUuid))),
|
|
1286
|
+
method: 'PATCH',
|
|
1287
|
+
headers: headerParameters,
|
|
1288
|
+
query: queryParameters,
|
|
1289
|
+
body: PatchedRACPropertyMappingRequestToJSON(requestParameters.patchedRACPropertyMappingRequest),
|
|
1290
|
+
}, initOverrides);
|
|
1291
|
+
|
|
1292
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => RACPropertyMappingFromJSON(jsonValue));
|
|
1293
|
+
}
|
|
1294
|
+
|
|
1295
|
+
/**
|
|
1296
|
+
* RACPropertyMapping Viewset
|
|
1297
|
+
*/
|
|
1298
|
+
async propertymappingsRacPartialUpdate(requestParameters: PropertymappingsRacPartialUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RACPropertyMapping> {
|
|
1299
|
+
const response = await this.propertymappingsRacPartialUpdateRaw(requestParameters, initOverrides);
|
|
1300
|
+
return await response.value();
|
|
1301
|
+
}
|
|
1302
|
+
|
|
1303
|
+
/**
|
|
1304
|
+
* RACPropertyMapping Viewset
|
|
1305
|
+
*/
|
|
1306
|
+
async propertymappingsRacRetrieveRaw(requestParameters: PropertymappingsRacRetrieveRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<RACPropertyMapping>> {
|
|
1307
|
+
if (requestParameters.pmUuid === null || requestParameters.pmUuid === undefined) {
|
|
1308
|
+
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling propertymappingsRacRetrieve.');
|
|
1309
|
+
}
|
|
1310
|
+
|
|
1311
|
+
const queryParameters: any = {};
|
|
1312
|
+
|
|
1313
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
1314
|
+
|
|
1315
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
1316
|
+
headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // authentik authentication
|
|
1317
|
+
}
|
|
1318
|
+
|
|
1319
|
+
const response = await this.request({
|
|
1320
|
+
path: `/propertymappings/rac/{pm_uuid}/`.replace(`{${"pm_uuid"}}`, encodeURIComponent(String(requestParameters.pmUuid))),
|
|
1321
|
+
method: 'GET',
|
|
1322
|
+
headers: headerParameters,
|
|
1323
|
+
query: queryParameters,
|
|
1324
|
+
}, initOverrides);
|
|
1325
|
+
|
|
1326
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => RACPropertyMappingFromJSON(jsonValue));
|
|
1327
|
+
}
|
|
1328
|
+
|
|
1329
|
+
/**
|
|
1330
|
+
* RACPropertyMapping Viewset
|
|
1331
|
+
*/
|
|
1332
|
+
async propertymappingsRacRetrieve(requestParameters: PropertymappingsRacRetrieveRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RACPropertyMapping> {
|
|
1333
|
+
const response = await this.propertymappingsRacRetrieveRaw(requestParameters, initOverrides);
|
|
1334
|
+
return await response.value();
|
|
1335
|
+
}
|
|
1336
|
+
|
|
1337
|
+
/**
|
|
1338
|
+
* RACPropertyMapping Viewset
|
|
1339
|
+
*/
|
|
1340
|
+
async propertymappingsRacUpdateRaw(requestParameters: PropertymappingsRacUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<RACPropertyMapping>> {
|
|
1341
|
+
if (requestParameters.pmUuid === null || requestParameters.pmUuid === undefined) {
|
|
1342
|
+
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling propertymappingsRacUpdate.');
|
|
1343
|
+
}
|
|
1344
|
+
|
|
1345
|
+
if (requestParameters.rACPropertyMappingRequest === null || requestParameters.rACPropertyMappingRequest === undefined) {
|
|
1346
|
+
throw new runtime.RequiredError('rACPropertyMappingRequest','Required parameter requestParameters.rACPropertyMappingRequest was null or undefined when calling propertymappingsRacUpdate.');
|
|
1347
|
+
}
|
|
1348
|
+
|
|
1349
|
+
const queryParameters: any = {};
|
|
1350
|
+
|
|
1351
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
1352
|
+
|
|
1353
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
1354
|
+
|
|
1355
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
1356
|
+
headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // authentik authentication
|
|
1357
|
+
}
|
|
1358
|
+
|
|
1359
|
+
const response = await this.request({
|
|
1360
|
+
path: `/propertymappings/rac/{pm_uuid}/`.replace(`{${"pm_uuid"}}`, encodeURIComponent(String(requestParameters.pmUuid))),
|
|
1361
|
+
method: 'PUT',
|
|
1362
|
+
headers: headerParameters,
|
|
1363
|
+
query: queryParameters,
|
|
1364
|
+
body: RACPropertyMappingRequestToJSON(requestParameters.rACPropertyMappingRequest),
|
|
1365
|
+
}, initOverrides);
|
|
1366
|
+
|
|
1367
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => RACPropertyMappingFromJSON(jsonValue));
|
|
1368
|
+
}
|
|
1369
|
+
|
|
1370
|
+
/**
|
|
1371
|
+
* RACPropertyMapping Viewset
|
|
1372
|
+
*/
|
|
1373
|
+
async propertymappingsRacUpdate(requestParameters: PropertymappingsRacUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RACPropertyMapping> {
|
|
1374
|
+
const response = await this.propertymappingsRacUpdateRaw(requestParameters, initOverrides);
|
|
1375
|
+
return await response.value();
|
|
1376
|
+
}
|
|
1377
|
+
|
|
1378
|
+
/**
|
|
1379
|
+
* Get a list of all objects that use this object
|
|
1380
|
+
*/
|
|
1381
|
+
async propertymappingsRacUsedByListRaw(requestParameters: PropertymappingsRacUsedByListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<UsedBy>>> {
|
|
1382
|
+
if (requestParameters.pmUuid === null || requestParameters.pmUuid === undefined) {
|
|
1383
|
+
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling propertymappingsRacUsedByList.');
|
|
1384
|
+
}
|
|
1385
|
+
|
|
1386
|
+
const queryParameters: any = {};
|
|
1387
|
+
|
|
1388
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
1389
|
+
|
|
1390
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
1391
|
+
headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // authentik authentication
|
|
1392
|
+
}
|
|
1393
|
+
|
|
1394
|
+
const response = await this.request({
|
|
1395
|
+
path: `/propertymappings/rac/{pm_uuid}/used_by/`.replace(`{${"pm_uuid"}}`, encodeURIComponent(String(requestParameters.pmUuid))),
|
|
1396
|
+
method: 'GET',
|
|
1397
|
+
headers: headerParameters,
|
|
1398
|
+
query: queryParameters,
|
|
1399
|
+
}, initOverrides);
|
|
1400
|
+
|
|
1401
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(UsedByFromJSON));
|
|
1402
|
+
}
|
|
1403
|
+
|
|
1404
|
+
/**
|
|
1405
|
+
* Get a list of all objects that use this object
|
|
1406
|
+
*/
|
|
1407
|
+
async propertymappingsRacUsedByList(requestParameters: PropertymappingsRacUsedByListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<UsedBy>> {
|
|
1408
|
+
const response = await this.propertymappingsRacUsedByListRaw(requestParameters, initOverrides);
|
|
1409
|
+
return await response.value();
|
|
1410
|
+
}
|
|
1411
|
+
|
|
1095
1412
|
/**
|
|
1096
1413
|
* SAMLPropertyMapping Viewset
|
|
1097
1414
|
*/
|