@goauthentik/api 2023.10.5-1703167718 → 2023.10.5-1703968412
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 +17 -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/SchemaApi.d.ts +0 -1
- package/dist/apis/SchemaApi.js +0 -1
- package/dist/apis/StagesApi.d.ts +24 -0
- package/dist/apis/StagesApi.js +27 -1
- 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/SchemaApi.d.ts +0 -1
- package/dist/esm/apis/SchemaApi.js +0 -1
- package/dist/esm/apis/StagesApi.d.ts +24 -0
- package/dist/esm/apis/StagesApi.js +26 -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/GeoipBindingEnum.d.ts +29 -0
- package/dist/esm/models/GeoipBindingEnum.js +36 -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/NetworkBindingEnum.d.ts +29 -0
- package/dist/esm/models/NetworkBindingEnum.js +36 -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/PatchedUserLoginStageRequest.d.ts +14 -0
- package/dist/esm/models/PatchedUserLoginStageRequest.js +6 -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/ProviderTypeEnum.d.ts +2 -2
- package/dist/esm/models/ProviderTypeEnum.js +2 -2
- 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/UserLoginStage.d.ts +14 -0
- package/dist/esm/models/UserLoginStage.js +6 -0
- package/dist/esm/models/UserLoginStageRequest.d.ts +14 -0
- package/dist/esm/models/UserLoginStageRequest.js +6 -0
- package/dist/esm/models/index.d.ts +16 -0
- package/dist/esm/models/index.js +16 -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/GeoipBindingEnum.d.ts +29 -0
- package/dist/models/GeoipBindingEnum.js +42 -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/NetworkBindingEnum.d.ts +29 -0
- package/dist/models/NetworkBindingEnum.js +42 -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/PatchedUserLoginStageRequest.d.ts +14 -0
- package/dist/models/PatchedUserLoginStageRequest.js +6 -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/ProviderTypeEnum.d.ts +2 -2
- package/dist/models/ProviderTypeEnum.js +2 -2
- 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/UserLoginStage.d.ts +14 -0
- package/dist/models/UserLoginStage.js +6 -0
- package/dist/models/UserLoginStageRequest.d.ts +14 -0
- package/dist/models/UserLoginStageRequest.js +6 -0
- package/dist/models/index.d.ts +16 -0
- package/dist/models/index.js +16 -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/SchemaApi.ts +0 -1
- package/src/apis/StagesApi.ts +32 -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/GeoipBindingEnum.ts +44 -0
- package/src/models/ModelEnum.ts +6 -0
- package/src/models/ModelRequest.ts +12 -1
- package/src/models/NetworkBindingEnum.ts +44 -0
- 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/PatchedUserLoginStageRequest.ts +28 -0
- package/src/models/ProtocolEnum.ts +42 -0
- package/src/models/ProviderModelEnum.ts +2 -0
- package/src/models/ProviderTypeEnum.ts +2 -2
- 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/UserLoginStage.ts +28 -0
- package/src/models/UserLoginStageRequest.ts +28 -0
- package/src/models/index.ts +16 -0
|
@@ -10,6 +10,8 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { FlowSetRequest } from './FlowSetRequest';
|
|
13
|
+
import type { GeoipBindingEnum } from './GeoipBindingEnum';
|
|
14
|
+
import type { NetworkBindingEnum } from './NetworkBindingEnum';
|
|
13
15
|
/**
|
|
14
16
|
* UserLoginStage Serializer
|
|
15
17
|
* @export
|
|
@@ -46,6 +48,18 @@ export interface UserLoginStageRequest {
|
|
|
46
48
|
* @memberof UserLoginStageRequest
|
|
47
49
|
*/
|
|
48
50
|
rememberMeOffset?: string;
|
|
51
|
+
/**
|
|
52
|
+
*
|
|
53
|
+
* @type {NetworkBindingEnum}
|
|
54
|
+
* @memberof UserLoginStageRequest
|
|
55
|
+
*/
|
|
56
|
+
networkBinding?: NetworkBindingEnum;
|
|
57
|
+
/**
|
|
58
|
+
*
|
|
59
|
+
* @type {GeoipBindingEnum}
|
|
60
|
+
* @memberof UserLoginStageRequest
|
|
61
|
+
*/
|
|
62
|
+
geoipBinding?: GeoipBindingEnum;
|
|
49
63
|
}
|
|
50
64
|
/**
|
|
51
65
|
* Check if a given object implements the UserLoginStageRequest interface.
|
|
@@ -16,6 +16,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
16
16
|
exports.UserLoginStageRequestToJSON = exports.UserLoginStageRequestFromJSONTyped = exports.UserLoginStageRequestFromJSON = exports.instanceOfUserLoginStageRequest = void 0;
|
|
17
17
|
const runtime_1 = require("../runtime");
|
|
18
18
|
const FlowSetRequest_1 = require("./FlowSetRequest");
|
|
19
|
+
const GeoipBindingEnum_1 = require("./GeoipBindingEnum");
|
|
20
|
+
const NetworkBindingEnum_1 = require("./NetworkBindingEnum");
|
|
19
21
|
/**
|
|
20
22
|
* Check if a given object implements the UserLoginStageRequest interface.
|
|
21
23
|
*/
|
|
@@ -39,6 +41,8 @@ function UserLoginStageRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
39
41
|
'sessionDuration': !(0, runtime_1.exists)(json, 'session_duration') ? undefined : json['session_duration'],
|
|
40
42
|
'terminateOtherSessions': !(0, runtime_1.exists)(json, 'terminate_other_sessions') ? undefined : json['terminate_other_sessions'],
|
|
41
43
|
'rememberMeOffset': !(0, runtime_1.exists)(json, 'remember_me_offset') ? undefined : json['remember_me_offset'],
|
|
44
|
+
'networkBinding': !(0, runtime_1.exists)(json, 'network_binding') ? undefined : (0, NetworkBindingEnum_1.NetworkBindingEnumFromJSON)(json['network_binding']),
|
|
45
|
+
'geoipBinding': !(0, runtime_1.exists)(json, 'geoip_binding') ? undefined : (0, GeoipBindingEnum_1.GeoipBindingEnumFromJSON)(json['geoip_binding']),
|
|
42
46
|
};
|
|
43
47
|
}
|
|
44
48
|
exports.UserLoginStageRequestFromJSONTyped = UserLoginStageRequestFromJSONTyped;
|
|
@@ -55,6 +59,8 @@ function UserLoginStageRequestToJSON(value) {
|
|
|
55
59
|
'session_duration': value.sessionDuration,
|
|
56
60
|
'terminate_other_sessions': value.terminateOtherSessions,
|
|
57
61
|
'remember_me_offset': value.rememberMeOffset,
|
|
62
|
+
'network_binding': (0, NetworkBindingEnum_1.NetworkBindingEnumToJSON)(value.networkBinding),
|
|
63
|
+
'geoip_binding': (0, GeoipBindingEnum_1.GeoipBindingEnumToJSON)(value.geoipBinding),
|
|
58
64
|
};
|
|
59
65
|
}
|
|
60
66
|
exports.UserLoginStageRequestToJSON = UserLoginStageRequestToJSON;
|
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';
|
|
@@ -128,6 +131,7 @@ export * from './FlowStageBinding';
|
|
|
128
131
|
export * from './FlowStageBindingRequest';
|
|
129
132
|
export * from './FooterLink';
|
|
130
133
|
export * from './GenericError';
|
|
134
|
+
export * from './GeoipBindingEnum';
|
|
131
135
|
export * from './Group';
|
|
132
136
|
export * from './GroupMember';
|
|
133
137
|
export * from './GroupMemberRequest';
|
|
@@ -168,6 +172,7 @@ export * from './Metadata';
|
|
|
168
172
|
export * from './ModelEnum';
|
|
169
173
|
export * from './ModelRequest';
|
|
170
174
|
export * from './NameIdPolicyEnum';
|
|
175
|
+
export * from './NetworkBindingEnum';
|
|
171
176
|
export * from './NotConfiguredActionEnum';
|
|
172
177
|
export * from './Notification';
|
|
173
178
|
export * from './NotificationRequest';
|
|
@@ -212,6 +217,7 @@ export * from './PaginatedDummyPolicyList';
|
|
|
212
217
|
export * from './PaginatedDummyStageList';
|
|
213
218
|
export * from './PaginatedDuoDeviceList';
|
|
214
219
|
export * from './PaginatedEmailStageList';
|
|
220
|
+
export * from './PaginatedEndpointList';
|
|
215
221
|
export * from './PaginatedEventList';
|
|
216
222
|
export * from './PaginatedEventMatcherPolicyList';
|
|
217
223
|
export * from './PaginatedExpiringBaseGrantModelList';
|
|
@@ -251,6 +257,8 @@ export * from './PaginatedPropertyMappingList';
|
|
|
251
257
|
export * from './PaginatedProviderList';
|
|
252
258
|
export * from './PaginatedProxyOutpostConfigList';
|
|
253
259
|
export * from './PaginatedProxyProviderList';
|
|
260
|
+
export * from './PaginatedRACPropertyMappingList';
|
|
261
|
+
export * from './PaginatedRACProviderList';
|
|
254
262
|
export * from './PaginatedRadiusOutpostConfigList';
|
|
255
263
|
export * from './PaginatedRadiusProviderList';
|
|
256
264
|
export * from './PaginatedReputationList';
|
|
@@ -309,6 +317,7 @@ export * from './PatchedDummyPolicyRequest';
|
|
|
309
317
|
export * from './PatchedDummyStageRequest';
|
|
310
318
|
export * from './PatchedDuoDeviceRequest';
|
|
311
319
|
export * from './PatchedEmailStageRequest';
|
|
320
|
+
export * from './PatchedEndpointRequest';
|
|
312
321
|
export * from './PatchedEventMatcherPolicyRequest';
|
|
313
322
|
export * from './PatchedEventRequest';
|
|
314
323
|
export * from './PatchedExpressionPolicyRequest';
|
|
@@ -340,6 +349,8 @@ export * from './PatchedPolicyBindingRequest';
|
|
|
340
349
|
export * from './PatchedPromptRequest';
|
|
341
350
|
export * from './PatchedPromptStageRequest';
|
|
342
351
|
export * from './PatchedProxyProviderRequest';
|
|
352
|
+
export * from './PatchedRACPropertyMappingRequest';
|
|
353
|
+
export * from './PatchedRACProviderRequest';
|
|
343
354
|
export * from './PatchedRadiusProviderRequest';
|
|
344
355
|
export * from './PatchedReputationPolicyRequest';
|
|
345
356
|
export * from './PatchedRoleRequest';
|
|
@@ -388,6 +399,7 @@ export * from './PromptTypeEnum';
|
|
|
388
399
|
export * from './PropertyMapping';
|
|
389
400
|
export * from './PropertyMappingPreview';
|
|
390
401
|
export * from './PropertyMappingTestResult';
|
|
402
|
+
export * from './ProtocolEnum';
|
|
391
403
|
export * from './Provider';
|
|
392
404
|
export * from './ProviderEnum';
|
|
393
405
|
export * from './ProviderModelEnum';
|
|
@@ -397,6 +409,10 @@ export * from './ProxyMode';
|
|
|
397
409
|
export * from './ProxyOutpostConfig';
|
|
398
410
|
export * from './ProxyProvider';
|
|
399
411
|
export * from './ProxyProviderRequest';
|
|
412
|
+
export * from './RACPropertyMapping';
|
|
413
|
+
export * from './RACPropertyMappingRequest';
|
|
414
|
+
export * from './RACProvider';
|
|
415
|
+
export * from './RACProviderRequest';
|
|
400
416
|
export * from './RadiusOutpostConfig';
|
|
401
417
|
export * from './RadiusProvider';
|
|
402
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);
|
|
@@ -146,6 +149,7 @@ __exportStar(require("./FlowStageBinding"), exports);
|
|
|
146
149
|
__exportStar(require("./FlowStageBindingRequest"), exports);
|
|
147
150
|
__exportStar(require("./FooterLink"), exports);
|
|
148
151
|
__exportStar(require("./GenericError"), exports);
|
|
152
|
+
__exportStar(require("./GeoipBindingEnum"), exports);
|
|
149
153
|
__exportStar(require("./Group"), exports);
|
|
150
154
|
__exportStar(require("./GroupMember"), exports);
|
|
151
155
|
__exportStar(require("./GroupMemberRequest"), exports);
|
|
@@ -186,6 +190,7 @@ __exportStar(require("./Metadata"), exports);
|
|
|
186
190
|
__exportStar(require("./ModelEnum"), exports);
|
|
187
191
|
__exportStar(require("./ModelRequest"), exports);
|
|
188
192
|
__exportStar(require("./NameIdPolicyEnum"), exports);
|
|
193
|
+
__exportStar(require("./NetworkBindingEnum"), exports);
|
|
189
194
|
__exportStar(require("./NotConfiguredActionEnum"), exports);
|
|
190
195
|
__exportStar(require("./Notification"), exports);
|
|
191
196
|
__exportStar(require("./NotificationRequest"), exports);
|
|
@@ -230,6 +235,7 @@ __exportStar(require("./PaginatedDummyPolicyList"), exports);
|
|
|
230
235
|
__exportStar(require("./PaginatedDummyStageList"), exports);
|
|
231
236
|
__exportStar(require("./PaginatedDuoDeviceList"), exports);
|
|
232
237
|
__exportStar(require("./PaginatedEmailStageList"), exports);
|
|
238
|
+
__exportStar(require("./PaginatedEndpointList"), exports);
|
|
233
239
|
__exportStar(require("./PaginatedEventList"), exports);
|
|
234
240
|
__exportStar(require("./PaginatedEventMatcherPolicyList"), exports);
|
|
235
241
|
__exportStar(require("./PaginatedExpiringBaseGrantModelList"), exports);
|
|
@@ -269,6 +275,8 @@ __exportStar(require("./PaginatedPropertyMappingList"), exports);
|
|
|
269
275
|
__exportStar(require("./PaginatedProviderList"), exports);
|
|
270
276
|
__exportStar(require("./PaginatedProxyOutpostConfigList"), exports);
|
|
271
277
|
__exportStar(require("./PaginatedProxyProviderList"), exports);
|
|
278
|
+
__exportStar(require("./PaginatedRACPropertyMappingList"), exports);
|
|
279
|
+
__exportStar(require("./PaginatedRACProviderList"), exports);
|
|
272
280
|
__exportStar(require("./PaginatedRadiusOutpostConfigList"), exports);
|
|
273
281
|
__exportStar(require("./PaginatedRadiusProviderList"), exports);
|
|
274
282
|
__exportStar(require("./PaginatedReputationList"), exports);
|
|
@@ -327,6 +335,7 @@ __exportStar(require("./PatchedDummyPolicyRequest"), exports);
|
|
|
327
335
|
__exportStar(require("./PatchedDummyStageRequest"), exports);
|
|
328
336
|
__exportStar(require("./PatchedDuoDeviceRequest"), exports);
|
|
329
337
|
__exportStar(require("./PatchedEmailStageRequest"), exports);
|
|
338
|
+
__exportStar(require("./PatchedEndpointRequest"), exports);
|
|
330
339
|
__exportStar(require("./PatchedEventMatcherPolicyRequest"), exports);
|
|
331
340
|
__exportStar(require("./PatchedEventRequest"), exports);
|
|
332
341
|
__exportStar(require("./PatchedExpressionPolicyRequest"), exports);
|
|
@@ -358,6 +367,8 @@ __exportStar(require("./PatchedPolicyBindingRequest"), exports);
|
|
|
358
367
|
__exportStar(require("./PatchedPromptRequest"), exports);
|
|
359
368
|
__exportStar(require("./PatchedPromptStageRequest"), exports);
|
|
360
369
|
__exportStar(require("./PatchedProxyProviderRequest"), exports);
|
|
370
|
+
__exportStar(require("./PatchedRACPropertyMappingRequest"), exports);
|
|
371
|
+
__exportStar(require("./PatchedRACProviderRequest"), exports);
|
|
361
372
|
__exportStar(require("./PatchedRadiusProviderRequest"), exports);
|
|
362
373
|
__exportStar(require("./PatchedReputationPolicyRequest"), exports);
|
|
363
374
|
__exportStar(require("./PatchedRoleRequest"), exports);
|
|
@@ -406,6 +417,7 @@ __exportStar(require("./PromptTypeEnum"), exports);
|
|
|
406
417
|
__exportStar(require("./PropertyMapping"), exports);
|
|
407
418
|
__exportStar(require("./PropertyMappingPreview"), exports);
|
|
408
419
|
__exportStar(require("./PropertyMappingTestResult"), exports);
|
|
420
|
+
__exportStar(require("./ProtocolEnum"), exports);
|
|
409
421
|
__exportStar(require("./Provider"), exports);
|
|
410
422
|
__exportStar(require("./ProviderEnum"), exports);
|
|
411
423
|
__exportStar(require("./ProviderModelEnum"), exports);
|
|
@@ -415,6 +427,10 @@ __exportStar(require("./ProxyMode"), exports);
|
|
|
415
427
|
__exportStar(require("./ProxyOutpostConfig"), exports);
|
|
416
428
|
__exportStar(require("./ProxyProvider"), exports);
|
|
417
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);
|
|
418
434
|
__exportStar(require("./RadiusOutpostConfig"), exports);
|
|
419
435
|
__exportStar(require("./RadiusProvider"), exports);
|
|
420
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
|
*/
|