@goauthentik/api 2024.6.1-1721927330 → 2024.6.1-1722285189
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 +4 -0
- package/dist/apis/PropertymappingsApi.d.ts +94 -11
- package/dist/apis/PropertymappingsApi.js +295 -30
- package/dist/apis/RbacApi.d.ts +2 -0
- package/dist/apis/RbacApi.js +2 -0
- package/dist/esm/apis/PropertymappingsApi.d.ts +94 -11
- package/dist/esm/apis/PropertymappingsApi.js +296 -31
- package/dist/esm/apis/RbacApi.d.ts +2 -0
- package/dist/esm/apis/RbacApi.js +2 -0
- package/dist/esm/models/ModelEnum.d.ts +1 -0
- package/dist/esm/models/ModelEnum.js +1 -0
- package/dist/esm/models/PaginatedSCIMSourcePropertyMappingList.d.ts +39 -0
- package/dist/esm/models/PaginatedSCIMSourcePropertyMappingList.js +48 -0
- package/dist/esm/models/PatchedSCIMSourcePropertyMappingRequest.d.ts +43 -0
- package/dist/esm/models/PatchedSCIMSourcePropertyMappingRequest.js +47 -0
- package/dist/esm/models/PatchedSCIMSourceRequest.d.ts +8 -3
- package/dist/esm/models/PatchedSCIMSourceRequest.js +4 -3
- package/dist/esm/models/SCIMSource.d.ts +12 -7
- package/dist/esm/models/SCIMSource.js +4 -3
- package/dist/esm/models/SCIMSourcePropertyMapping.d.ts +73 -0
- package/dist/esm/models/SCIMSourcePropertyMapping.js +59 -0
- package/dist/esm/models/SCIMSourcePropertyMappingRequest.d.ts +43 -0
- package/dist/esm/models/SCIMSourcePropertyMappingRequest.js +49 -0
- package/dist/esm/models/SCIMSourceRequest.d.ts +8 -3
- package/dist/esm/models/SCIMSourceRequest.js +4 -3
- package/dist/esm/models/index.d.ts +4 -0
- package/dist/esm/models/index.js +4 -0
- package/dist/models/ModelEnum.d.ts +1 -0
- package/dist/models/ModelEnum.js +1 -0
- package/dist/models/PaginatedSCIMSourcePropertyMappingList.d.ts +39 -0
- package/dist/models/PaginatedSCIMSourcePropertyMappingList.js +55 -0
- package/dist/models/PatchedSCIMSourcePropertyMappingRequest.d.ts +43 -0
- package/dist/models/PatchedSCIMSourcePropertyMappingRequest.js +54 -0
- package/dist/models/PatchedSCIMSourceRequest.d.ts +8 -3
- package/dist/models/PatchedSCIMSourceRequest.js +4 -3
- package/dist/models/SCIMSource.d.ts +12 -7
- package/dist/models/SCIMSource.js +4 -3
- package/dist/models/SCIMSourcePropertyMapping.d.ts +73 -0
- package/dist/models/SCIMSourcePropertyMapping.js +66 -0
- package/dist/models/SCIMSourcePropertyMappingRequest.d.ts +43 -0
- package/dist/models/SCIMSourcePropertyMappingRequest.js +56 -0
- package/dist/models/SCIMSourceRequest.d.ts +8 -3
- package/dist/models/SCIMSourceRequest.js +4 -3
- package/dist/models/index.d.ts +4 -0
- package/dist/models/index.js +4 -0
- package/package.json +1 -1
- package/src/apis/PropertymappingsApi.ts +390 -50
- package/src/apis/RbacApi.ts +2 -0
- package/src/models/ModelEnum.ts +1 -0
- package/src/models/PaginatedSCIMSourcePropertyMappingList.ts +88 -0
- package/src/models/PatchedSCIMSourcePropertyMappingRequest.ts +81 -0
- package/src/models/PatchedSCIMSourceRequest.ts +12 -11
- package/src/models/SCIMSource.ts +16 -14
- package/src/models/SCIMSourcePropertyMapping.ts +123 -0
- package/src/models/SCIMSourcePropertyMappingRequest.ts +83 -0
- package/src/models/SCIMSourceRequest.ts +12 -11
- package/src/models/index.ts +4 -0
|
@@ -10,12 +10,14 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type { GoogleWorkspaceProviderMapping, GoogleWorkspaceProviderMappingRequest, LDAPSourcePropertyMapping, LDAPSourcePropertyMappingRequest, MicrosoftEntraProviderMapping, MicrosoftEntraProviderMappingRequest, NotificationWebhookMapping, NotificationWebhookMappingRequest, PaginatedGoogleWorkspaceProviderMappingList, PaginatedLDAPSourcePropertyMappingList, PaginatedMicrosoftEntraProviderMappingList, PaginatedNotificationWebhookMappingList, PaginatedPropertyMappingList, PaginatedRACPropertyMappingList, PaginatedRadiusProviderPropertyMappingList, PaginatedSAMLPropertyMappingList, PaginatedSCIMMappingList, PaginatedScopeMappingList, PatchedGoogleWorkspaceProviderMappingRequest, PatchedLDAPSourcePropertyMappingRequest, PatchedMicrosoftEntraProviderMappingRequest, PatchedNotificationWebhookMappingRequest, PatchedRACPropertyMappingRequest, PatchedRadiusProviderPropertyMappingRequest, PatchedSAMLPropertyMappingRequest, PatchedSCIMMappingRequest, PatchedScopeMappingRequest, PropertyMapping, PropertyMappingTestRequest, PropertyMappingTestResult, RACPropertyMapping, RACPropertyMappingRequest, RadiusProviderPropertyMapping, RadiusProviderPropertyMappingRequest, SAMLPropertyMapping, SAMLPropertyMappingRequest, SCIMMapping, SCIMMappingRequest, ScopeMapping, ScopeMappingRequest, TypeCreate, UsedBy } from '../models';
|
|
13
|
+
import type { GoogleWorkspaceProviderMapping, GoogleWorkspaceProviderMappingRequest, LDAPSourcePropertyMapping, LDAPSourcePropertyMappingRequest, MicrosoftEntraProviderMapping, MicrosoftEntraProviderMappingRequest, NotificationWebhookMapping, NotificationWebhookMappingRequest, PaginatedGoogleWorkspaceProviderMappingList, PaginatedLDAPSourcePropertyMappingList, PaginatedMicrosoftEntraProviderMappingList, PaginatedNotificationWebhookMappingList, PaginatedPropertyMappingList, PaginatedRACPropertyMappingList, PaginatedRadiusProviderPropertyMappingList, PaginatedSAMLPropertyMappingList, PaginatedSCIMMappingList, PaginatedSCIMSourcePropertyMappingList, PaginatedScopeMappingList, PatchedGoogleWorkspaceProviderMappingRequest, PatchedLDAPSourcePropertyMappingRequest, PatchedMicrosoftEntraProviderMappingRequest, PatchedNotificationWebhookMappingRequest, PatchedRACPropertyMappingRequest, PatchedRadiusProviderPropertyMappingRequest, PatchedSAMLPropertyMappingRequest, PatchedSCIMMappingRequest, PatchedSCIMSourcePropertyMappingRequest, PatchedScopeMappingRequest, PropertyMapping, PropertyMappingTestRequest, PropertyMappingTestResult, RACPropertyMapping, RACPropertyMappingRequest, RadiusProviderPropertyMapping, RadiusProviderPropertyMappingRequest, SAMLPropertyMapping, SAMLPropertyMappingRequest, SCIMMapping, SCIMMappingRequest, SCIMSourcePropertyMapping, SCIMSourcePropertyMappingRequest, ScopeMapping, ScopeMappingRequest, TypeCreate, UsedBy } from '../models';
|
|
14
14
|
export interface PropertymappingsAllDestroyRequest {
|
|
15
15
|
pmUuid: string;
|
|
16
16
|
}
|
|
17
17
|
export interface PropertymappingsAllListRequest {
|
|
18
|
+
managed?: Array<string>;
|
|
18
19
|
managedIsnull?: boolean;
|
|
20
|
+
name?: string;
|
|
19
21
|
ordering?: string;
|
|
20
22
|
page?: number;
|
|
21
23
|
pageSize?: number;
|
|
@@ -154,13 +156,12 @@ export interface PropertymappingsRadiusDestroyRequest {
|
|
|
154
156
|
pmUuid: string;
|
|
155
157
|
}
|
|
156
158
|
export interface PropertymappingsRadiusListRequest {
|
|
157
|
-
expression?: string;
|
|
158
159
|
managed?: Array<string>;
|
|
160
|
+
managedIsnull?: boolean;
|
|
159
161
|
name?: string;
|
|
160
162
|
ordering?: string;
|
|
161
163
|
page?: number;
|
|
162
164
|
pageSize?: number;
|
|
163
|
-
pmUuid?: string;
|
|
164
165
|
search?: string;
|
|
165
166
|
}
|
|
166
167
|
export interface PropertymappingsRadiusPartialUpdateRequest {
|
|
@@ -184,15 +185,12 @@ export interface PropertymappingsSamlDestroyRequest {
|
|
|
184
185
|
pmUuid: string;
|
|
185
186
|
}
|
|
186
187
|
export interface PropertymappingsSamlListRequest {
|
|
187
|
-
expression?: string;
|
|
188
|
-
friendlyName?: string;
|
|
189
188
|
managed?: Array<string>;
|
|
189
|
+
managedIsnull?: boolean;
|
|
190
190
|
name?: string;
|
|
191
191
|
ordering?: string;
|
|
192
192
|
page?: number;
|
|
193
193
|
pageSize?: number;
|
|
194
|
-
pmUuid?: string;
|
|
195
|
-
samlName?: string;
|
|
196
194
|
search?: string;
|
|
197
195
|
}
|
|
198
196
|
export interface PropertymappingsSamlPartialUpdateRequest {
|
|
@@ -216,13 +214,12 @@ export interface PropertymappingsScimDestroyRequest {
|
|
|
216
214
|
pmUuid: string;
|
|
217
215
|
}
|
|
218
216
|
export interface PropertymappingsScimListRequest {
|
|
219
|
-
expression?: string;
|
|
220
217
|
managed?: Array<string>;
|
|
218
|
+
managedIsnull?: boolean;
|
|
221
219
|
name?: string;
|
|
222
220
|
ordering?: string;
|
|
223
221
|
page?: number;
|
|
224
222
|
pageSize?: number;
|
|
225
|
-
pmUuid?: string;
|
|
226
223
|
search?: string;
|
|
227
224
|
}
|
|
228
225
|
export interface PropertymappingsScimPartialUpdateRequest {
|
|
@@ -247,6 +244,7 @@ export interface PropertymappingsScopeDestroyRequest {
|
|
|
247
244
|
}
|
|
248
245
|
export interface PropertymappingsScopeListRequest {
|
|
249
246
|
managed?: Array<string>;
|
|
247
|
+
managedIsnull?: boolean;
|
|
250
248
|
name?: string;
|
|
251
249
|
ordering?: string;
|
|
252
250
|
page?: number;
|
|
@@ -275,13 +273,12 @@ export interface PropertymappingsSourceLdapDestroyRequest {
|
|
|
275
273
|
pmUuid: string;
|
|
276
274
|
}
|
|
277
275
|
export interface PropertymappingsSourceLdapListRequest {
|
|
278
|
-
expression?: string;
|
|
279
276
|
managed?: Array<string>;
|
|
277
|
+
managedIsnull?: boolean;
|
|
280
278
|
name?: string;
|
|
281
279
|
ordering?: string;
|
|
282
280
|
page?: number;
|
|
283
281
|
pageSize?: number;
|
|
284
|
-
pmUuid?: string;
|
|
285
282
|
search?: string;
|
|
286
283
|
}
|
|
287
284
|
export interface PropertymappingsSourceLdapPartialUpdateRequest {
|
|
@@ -298,6 +295,36 @@ export interface PropertymappingsSourceLdapUpdateRequest {
|
|
|
298
295
|
export interface PropertymappingsSourceLdapUsedByListRequest {
|
|
299
296
|
pmUuid: string;
|
|
300
297
|
}
|
|
298
|
+
export interface PropertymappingsSourceScimCreateRequest {
|
|
299
|
+
sCIMSourcePropertyMappingRequest: SCIMSourcePropertyMappingRequest;
|
|
300
|
+
}
|
|
301
|
+
export interface PropertymappingsSourceScimDestroyRequest {
|
|
302
|
+
pmUuid: string;
|
|
303
|
+
}
|
|
304
|
+
export interface PropertymappingsSourceScimListRequest {
|
|
305
|
+
expression?: string;
|
|
306
|
+
managed?: Array<string>;
|
|
307
|
+
name?: string;
|
|
308
|
+
ordering?: string;
|
|
309
|
+
page?: number;
|
|
310
|
+
pageSize?: number;
|
|
311
|
+
pmUuid?: string;
|
|
312
|
+
search?: string;
|
|
313
|
+
}
|
|
314
|
+
export interface PropertymappingsSourceScimPartialUpdateRequest {
|
|
315
|
+
pmUuid: string;
|
|
316
|
+
patchedSCIMSourcePropertyMappingRequest?: PatchedSCIMSourcePropertyMappingRequest;
|
|
317
|
+
}
|
|
318
|
+
export interface PropertymappingsSourceScimRetrieveRequest {
|
|
319
|
+
pmUuid: string;
|
|
320
|
+
}
|
|
321
|
+
export interface PropertymappingsSourceScimUpdateRequest {
|
|
322
|
+
pmUuid: string;
|
|
323
|
+
sCIMSourcePropertyMappingRequest: SCIMSourcePropertyMappingRequest;
|
|
324
|
+
}
|
|
325
|
+
export interface PropertymappingsSourceScimUsedByListRequest {
|
|
326
|
+
pmUuid: string;
|
|
327
|
+
}
|
|
301
328
|
/**
|
|
302
329
|
*
|
|
303
330
|
*/
|
|
@@ -854,4 +881,60 @@ export declare class PropertymappingsApi extends runtime.BaseAPI {
|
|
|
854
881
|
* Get a list of all objects that use this object
|
|
855
882
|
*/
|
|
856
883
|
propertymappingsSourceLdapUsedByList(requestParameters: PropertymappingsSourceLdapUsedByListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<UsedBy>>;
|
|
884
|
+
/**
|
|
885
|
+
* SCIMSourcePropertyMapping Viewset
|
|
886
|
+
*/
|
|
887
|
+
propertymappingsSourceScimCreateRaw(requestParameters: PropertymappingsSourceScimCreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SCIMSourcePropertyMapping>>;
|
|
888
|
+
/**
|
|
889
|
+
* SCIMSourcePropertyMapping Viewset
|
|
890
|
+
*/
|
|
891
|
+
propertymappingsSourceScimCreate(requestParameters: PropertymappingsSourceScimCreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SCIMSourcePropertyMapping>;
|
|
892
|
+
/**
|
|
893
|
+
* SCIMSourcePropertyMapping Viewset
|
|
894
|
+
*/
|
|
895
|
+
propertymappingsSourceScimDestroyRaw(requestParameters: PropertymappingsSourceScimDestroyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
896
|
+
/**
|
|
897
|
+
* SCIMSourcePropertyMapping Viewset
|
|
898
|
+
*/
|
|
899
|
+
propertymappingsSourceScimDestroy(requestParameters: PropertymappingsSourceScimDestroyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
900
|
+
/**
|
|
901
|
+
* SCIMSourcePropertyMapping Viewset
|
|
902
|
+
*/
|
|
903
|
+
propertymappingsSourceScimListRaw(requestParameters: PropertymappingsSourceScimListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedSCIMSourcePropertyMappingList>>;
|
|
904
|
+
/**
|
|
905
|
+
* SCIMSourcePropertyMapping Viewset
|
|
906
|
+
*/
|
|
907
|
+
propertymappingsSourceScimList(requestParameters?: PropertymappingsSourceScimListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedSCIMSourcePropertyMappingList>;
|
|
908
|
+
/**
|
|
909
|
+
* SCIMSourcePropertyMapping Viewset
|
|
910
|
+
*/
|
|
911
|
+
propertymappingsSourceScimPartialUpdateRaw(requestParameters: PropertymappingsSourceScimPartialUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SCIMSourcePropertyMapping>>;
|
|
912
|
+
/**
|
|
913
|
+
* SCIMSourcePropertyMapping Viewset
|
|
914
|
+
*/
|
|
915
|
+
propertymappingsSourceScimPartialUpdate(requestParameters: PropertymappingsSourceScimPartialUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SCIMSourcePropertyMapping>;
|
|
916
|
+
/**
|
|
917
|
+
* SCIMSourcePropertyMapping Viewset
|
|
918
|
+
*/
|
|
919
|
+
propertymappingsSourceScimRetrieveRaw(requestParameters: PropertymappingsSourceScimRetrieveRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SCIMSourcePropertyMapping>>;
|
|
920
|
+
/**
|
|
921
|
+
* SCIMSourcePropertyMapping Viewset
|
|
922
|
+
*/
|
|
923
|
+
propertymappingsSourceScimRetrieve(requestParameters: PropertymappingsSourceScimRetrieveRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SCIMSourcePropertyMapping>;
|
|
924
|
+
/**
|
|
925
|
+
* SCIMSourcePropertyMapping Viewset
|
|
926
|
+
*/
|
|
927
|
+
propertymappingsSourceScimUpdateRaw(requestParameters: PropertymappingsSourceScimUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SCIMSourcePropertyMapping>>;
|
|
928
|
+
/**
|
|
929
|
+
* SCIMSourcePropertyMapping Viewset
|
|
930
|
+
*/
|
|
931
|
+
propertymappingsSourceScimUpdate(requestParameters: PropertymappingsSourceScimUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SCIMSourcePropertyMapping>;
|
|
932
|
+
/**
|
|
933
|
+
* Get a list of all objects that use this object
|
|
934
|
+
*/
|
|
935
|
+
propertymappingsSourceScimUsedByListRaw(requestParameters: PropertymappingsSourceScimUsedByListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<UsedBy>>>;
|
|
936
|
+
/**
|
|
937
|
+
* Get a list of all objects that use this object
|
|
938
|
+
*/
|
|
939
|
+
propertymappingsSourceScimUsedByList(requestParameters: PropertymappingsSourceScimUsedByListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<UsedBy>>;
|
|
857
940
|
}
|
|
@@ -21,7 +21,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
21
21
|
});
|
|
22
22
|
};
|
|
23
23
|
import * as runtime from '../runtime';
|
|
24
|
-
import { GoogleWorkspaceProviderMappingFromJSON, GoogleWorkspaceProviderMappingRequestToJSON, LDAPSourcePropertyMappingFromJSON, LDAPSourcePropertyMappingRequestToJSON, MicrosoftEntraProviderMappingFromJSON, MicrosoftEntraProviderMappingRequestToJSON, NotificationWebhookMappingFromJSON, NotificationWebhookMappingRequestToJSON, PaginatedGoogleWorkspaceProviderMappingListFromJSON, PaginatedLDAPSourcePropertyMappingListFromJSON, PaginatedMicrosoftEntraProviderMappingListFromJSON, PaginatedNotificationWebhookMappingListFromJSON, PaginatedPropertyMappingListFromJSON, PaginatedRACPropertyMappingListFromJSON, PaginatedRadiusProviderPropertyMappingListFromJSON, PaginatedSAMLPropertyMappingListFromJSON, PaginatedSCIMMappingListFromJSON, PaginatedScopeMappingListFromJSON, PatchedGoogleWorkspaceProviderMappingRequestToJSON, PatchedLDAPSourcePropertyMappingRequestToJSON, PatchedMicrosoftEntraProviderMappingRequestToJSON, PatchedNotificationWebhookMappingRequestToJSON, PatchedRACPropertyMappingRequestToJSON, PatchedRadiusProviderPropertyMappingRequestToJSON, PatchedSAMLPropertyMappingRequestToJSON, PatchedSCIMMappingRequestToJSON, PatchedScopeMappingRequestToJSON, PropertyMappingFromJSON, PropertyMappingTestRequestToJSON, PropertyMappingTestResultFromJSON, RACPropertyMappingFromJSON, RACPropertyMappingRequestToJSON, RadiusProviderPropertyMappingFromJSON, RadiusProviderPropertyMappingRequestToJSON, SAMLPropertyMappingFromJSON, SAMLPropertyMappingRequestToJSON, SCIMMappingFromJSON, SCIMMappingRequestToJSON, ScopeMappingFromJSON, ScopeMappingRequestToJSON, TypeCreateFromJSON, UsedByFromJSON, } from '../models';
|
|
24
|
+
import { GoogleWorkspaceProviderMappingFromJSON, GoogleWorkspaceProviderMappingRequestToJSON, LDAPSourcePropertyMappingFromJSON, LDAPSourcePropertyMappingRequestToJSON, MicrosoftEntraProviderMappingFromJSON, MicrosoftEntraProviderMappingRequestToJSON, NotificationWebhookMappingFromJSON, NotificationWebhookMappingRequestToJSON, PaginatedGoogleWorkspaceProviderMappingListFromJSON, PaginatedLDAPSourcePropertyMappingListFromJSON, PaginatedMicrosoftEntraProviderMappingListFromJSON, PaginatedNotificationWebhookMappingListFromJSON, PaginatedPropertyMappingListFromJSON, PaginatedRACPropertyMappingListFromJSON, PaginatedRadiusProviderPropertyMappingListFromJSON, PaginatedSAMLPropertyMappingListFromJSON, PaginatedSCIMMappingListFromJSON, PaginatedSCIMSourcePropertyMappingListFromJSON, PaginatedScopeMappingListFromJSON, PatchedGoogleWorkspaceProviderMappingRequestToJSON, PatchedLDAPSourcePropertyMappingRequestToJSON, PatchedMicrosoftEntraProviderMappingRequestToJSON, PatchedNotificationWebhookMappingRequestToJSON, PatchedRACPropertyMappingRequestToJSON, PatchedRadiusProviderPropertyMappingRequestToJSON, PatchedSAMLPropertyMappingRequestToJSON, PatchedSCIMMappingRequestToJSON, PatchedSCIMSourcePropertyMappingRequestToJSON, PatchedScopeMappingRequestToJSON, PropertyMappingFromJSON, PropertyMappingTestRequestToJSON, PropertyMappingTestResultFromJSON, RACPropertyMappingFromJSON, RACPropertyMappingRequestToJSON, RadiusProviderPropertyMappingFromJSON, RadiusProviderPropertyMappingRequestToJSON, SAMLPropertyMappingFromJSON, SAMLPropertyMappingRequestToJSON, SCIMMappingFromJSON, SCIMMappingRequestToJSON, SCIMSourcePropertyMappingFromJSON, SCIMSourcePropertyMappingRequestToJSON, ScopeMappingFromJSON, ScopeMappingRequestToJSON, TypeCreateFromJSON, UsedByFromJSON, } from '../models';
|
|
25
25
|
/**
|
|
26
26
|
*
|
|
27
27
|
*/
|
|
@@ -66,9 +66,15 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
|
66
66
|
propertymappingsAllListRaw(requestParameters, initOverrides) {
|
|
67
67
|
return __awaiter(this, void 0, void 0, function* () {
|
|
68
68
|
const queryParameters = {};
|
|
69
|
+
if (requestParameters.managed) {
|
|
70
|
+
queryParameters['managed'] = requestParameters.managed;
|
|
71
|
+
}
|
|
69
72
|
if (requestParameters.managedIsnull !== undefined) {
|
|
70
73
|
queryParameters['managed__isnull'] = requestParameters.managedIsnull;
|
|
71
74
|
}
|
|
75
|
+
if (requestParameters.name !== undefined) {
|
|
76
|
+
queryParameters['name'] = requestParameters.name;
|
|
77
|
+
}
|
|
72
78
|
if (requestParameters.ordering !== undefined) {
|
|
73
79
|
queryParameters['ordering'] = requestParameters.ordering;
|
|
74
80
|
}
|
|
@@ -1407,12 +1413,12 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
|
1407
1413
|
propertymappingsRadiusListRaw(requestParameters, initOverrides) {
|
|
1408
1414
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1409
1415
|
const queryParameters = {};
|
|
1410
|
-
if (requestParameters.expression !== undefined) {
|
|
1411
|
-
queryParameters['expression'] = requestParameters.expression;
|
|
1412
|
-
}
|
|
1413
1416
|
if (requestParameters.managed) {
|
|
1414
1417
|
queryParameters['managed'] = requestParameters.managed;
|
|
1415
1418
|
}
|
|
1419
|
+
if (requestParameters.managedIsnull !== undefined) {
|
|
1420
|
+
queryParameters['managed__isnull'] = requestParameters.managedIsnull;
|
|
1421
|
+
}
|
|
1416
1422
|
if (requestParameters.name !== undefined) {
|
|
1417
1423
|
queryParameters['name'] = requestParameters.name;
|
|
1418
1424
|
}
|
|
@@ -1425,9 +1431,6 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
|
1425
1431
|
if (requestParameters.pageSize !== undefined) {
|
|
1426
1432
|
queryParameters['page_size'] = requestParameters.pageSize;
|
|
1427
1433
|
}
|
|
1428
|
-
if (requestParameters.pmUuid !== undefined) {
|
|
1429
|
-
queryParameters['pm_uuid'] = requestParameters.pmUuid;
|
|
1430
|
-
}
|
|
1431
1434
|
if (requestParameters.search !== undefined) {
|
|
1432
1435
|
queryParameters['search'] = requestParameters.search;
|
|
1433
1436
|
}
|
|
@@ -1681,15 +1684,12 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
|
1681
1684
|
propertymappingsSamlListRaw(requestParameters, initOverrides) {
|
|
1682
1685
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1683
1686
|
const queryParameters = {};
|
|
1684
|
-
if (requestParameters.expression !== undefined) {
|
|
1685
|
-
queryParameters['expression'] = requestParameters.expression;
|
|
1686
|
-
}
|
|
1687
|
-
if (requestParameters.friendlyName !== undefined) {
|
|
1688
|
-
queryParameters['friendly_name'] = requestParameters.friendlyName;
|
|
1689
|
-
}
|
|
1690
1687
|
if (requestParameters.managed) {
|
|
1691
1688
|
queryParameters['managed'] = requestParameters.managed;
|
|
1692
1689
|
}
|
|
1690
|
+
if (requestParameters.managedIsnull !== undefined) {
|
|
1691
|
+
queryParameters['managed__isnull'] = requestParameters.managedIsnull;
|
|
1692
|
+
}
|
|
1693
1693
|
if (requestParameters.name !== undefined) {
|
|
1694
1694
|
queryParameters['name'] = requestParameters.name;
|
|
1695
1695
|
}
|
|
@@ -1702,12 +1702,6 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
|
1702
1702
|
if (requestParameters.pageSize !== undefined) {
|
|
1703
1703
|
queryParameters['page_size'] = requestParameters.pageSize;
|
|
1704
1704
|
}
|
|
1705
|
-
if (requestParameters.pmUuid !== undefined) {
|
|
1706
|
-
queryParameters['pm_uuid'] = requestParameters.pmUuid;
|
|
1707
|
-
}
|
|
1708
|
-
if (requestParameters.samlName !== undefined) {
|
|
1709
|
-
queryParameters['saml_name'] = requestParameters.samlName;
|
|
1710
|
-
}
|
|
1711
1705
|
if (requestParameters.search !== undefined) {
|
|
1712
1706
|
queryParameters['search'] = requestParameters.search;
|
|
1713
1707
|
}
|
|
@@ -1961,12 +1955,12 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
|
1961
1955
|
propertymappingsScimListRaw(requestParameters, initOverrides) {
|
|
1962
1956
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1963
1957
|
const queryParameters = {};
|
|
1964
|
-
if (requestParameters.expression !== undefined) {
|
|
1965
|
-
queryParameters['expression'] = requestParameters.expression;
|
|
1966
|
-
}
|
|
1967
1958
|
if (requestParameters.managed) {
|
|
1968
1959
|
queryParameters['managed'] = requestParameters.managed;
|
|
1969
1960
|
}
|
|
1961
|
+
if (requestParameters.managedIsnull !== undefined) {
|
|
1962
|
+
queryParameters['managed__isnull'] = requestParameters.managedIsnull;
|
|
1963
|
+
}
|
|
1970
1964
|
if (requestParameters.name !== undefined) {
|
|
1971
1965
|
queryParameters['name'] = requestParameters.name;
|
|
1972
1966
|
}
|
|
@@ -1979,9 +1973,6 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
|
1979
1973
|
if (requestParameters.pageSize !== undefined) {
|
|
1980
1974
|
queryParameters['page_size'] = requestParameters.pageSize;
|
|
1981
1975
|
}
|
|
1982
|
-
if (requestParameters.pmUuid !== undefined) {
|
|
1983
|
-
queryParameters['pm_uuid'] = requestParameters.pmUuid;
|
|
1984
|
-
}
|
|
1985
1976
|
if (requestParameters.search !== undefined) {
|
|
1986
1977
|
queryParameters['search'] = requestParameters.search;
|
|
1987
1978
|
}
|
|
@@ -2238,6 +2229,9 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
|
2238
2229
|
if (requestParameters.managed) {
|
|
2239
2230
|
queryParameters['managed'] = requestParameters.managed;
|
|
2240
2231
|
}
|
|
2232
|
+
if (requestParameters.managedIsnull !== undefined) {
|
|
2233
|
+
queryParameters['managed__isnull'] = requestParameters.managedIsnull;
|
|
2234
|
+
}
|
|
2241
2235
|
if (requestParameters.name !== undefined) {
|
|
2242
2236
|
queryParameters['name'] = requestParameters.name;
|
|
2243
2237
|
}
|
|
@@ -2506,12 +2500,12 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
|
2506
2500
|
propertymappingsSourceLdapListRaw(requestParameters, initOverrides) {
|
|
2507
2501
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2508
2502
|
const queryParameters = {};
|
|
2509
|
-
if (requestParameters.expression !== undefined) {
|
|
2510
|
-
queryParameters['expression'] = requestParameters.expression;
|
|
2511
|
-
}
|
|
2512
2503
|
if (requestParameters.managed) {
|
|
2513
2504
|
queryParameters['managed'] = requestParameters.managed;
|
|
2514
2505
|
}
|
|
2506
|
+
if (requestParameters.managedIsnull !== undefined) {
|
|
2507
|
+
queryParameters['managed__isnull'] = requestParameters.managedIsnull;
|
|
2508
|
+
}
|
|
2515
2509
|
if (requestParameters.name !== undefined) {
|
|
2516
2510
|
queryParameters['name'] = requestParameters.name;
|
|
2517
2511
|
}
|
|
@@ -2524,9 +2518,6 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
|
2524
2518
|
if (requestParameters.pageSize !== undefined) {
|
|
2525
2519
|
queryParameters['page_size'] = requestParameters.pageSize;
|
|
2526
2520
|
}
|
|
2527
|
-
if (requestParameters.pmUuid !== undefined) {
|
|
2528
|
-
queryParameters['pm_uuid'] = requestParameters.pmUuid;
|
|
2529
|
-
}
|
|
2530
2521
|
if (requestParameters.search !== undefined) {
|
|
2531
2522
|
queryParameters['search'] = requestParameters.search;
|
|
2532
2523
|
}
|
|
@@ -2703,4 +2694,278 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
|
2703
2694
|
return yield response.value();
|
|
2704
2695
|
});
|
|
2705
2696
|
}
|
|
2697
|
+
/**
|
|
2698
|
+
* SCIMSourcePropertyMapping Viewset
|
|
2699
|
+
*/
|
|
2700
|
+
propertymappingsSourceScimCreateRaw(requestParameters, initOverrides) {
|
|
2701
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2702
|
+
if (requestParameters.sCIMSourcePropertyMappingRequest === null || requestParameters.sCIMSourcePropertyMappingRequest === undefined) {
|
|
2703
|
+
throw new runtime.RequiredError('sCIMSourcePropertyMappingRequest', 'Required parameter requestParameters.sCIMSourcePropertyMappingRequest was null or undefined when calling propertymappingsSourceScimCreate.');
|
|
2704
|
+
}
|
|
2705
|
+
const queryParameters = {};
|
|
2706
|
+
const headerParameters = {};
|
|
2707
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
2708
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
2709
|
+
const token = this.configuration.accessToken;
|
|
2710
|
+
const tokenString = yield token("authentik", []);
|
|
2711
|
+
if (tokenString) {
|
|
2712
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
2713
|
+
}
|
|
2714
|
+
}
|
|
2715
|
+
const response = yield this.request({
|
|
2716
|
+
path: `/propertymappings/source/scim/`,
|
|
2717
|
+
method: 'POST',
|
|
2718
|
+
headers: headerParameters,
|
|
2719
|
+
query: queryParameters,
|
|
2720
|
+
body: SCIMSourcePropertyMappingRequestToJSON(requestParameters.sCIMSourcePropertyMappingRequest),
|
|
2721
|
+
}, initOverrides);
|
|
2722
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => SCIMSourcePropertyMappingFromJSON(jsonValue));
|
|
2723
|
+
});
|
|
2724
|
+
}
|
|
2725
|
+
/**
|
|
2726
|
+
* SCIMSourcePropertyMapping Viewset
|
|
2727
|
+
*/
|
|
2728
|
+
propertymappingsSourceScimCreate(requestParameters, initOverrides) {
|
|
2729
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2730
|
+
const response = yield this.propertymappingsSourceScimCreateRaw(requestParameters, initOverrides);
|
|
2731
|
+
return yield response.value();
|
|
2732
|
+
});
|
|
2733
|
+
}
|
|
2734
|
+
/**
|
|
2735
|
+
* SCIMSourcePropertyMapping Viewset
|
|
2736
|
+
*/
|
|
2737
|
+
propertymappingsSourceScimDestroyRaw(requestParameters, initOverrides) {
|
|
2738
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2739
|
+
if (requestParameters.pmUuid === null || requestParameters.pmUuid === undefined) {
|
|
2740
|
+
throw new runtime.RequiredError('pmUuid', 'Required parameter requestParameters.pmUuid was null or undefined when calling propertymappingsSourceScimDestroy.');
|
|
2741
|
+
}
|
|
2742
|
+
const queryParameters = {};
|
|
2743
|
+
const headerParameters = {};
|
|
2744
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
2745
|
+
const token = this.configuration.accessToken;
|
|
2746
|
+
const tokenString = yield token("authentik", []);
|
|
2747
|
+
if (tokenString) {
|
|
2748
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
2749
|
+
}
|
|
2750
|
+
}
|
|
2751
|
+
const response = yield this.request({
|
|
2752
|
+
path: `/propertymappings/source/scim/{pm_uuid}/`.replace(`{${"pm_uuid"}}`, encodeURIComponent(String(requestParameters.pmUuid))),
|
|
2753
|
+
method: 'DELETE',
|
|
2754
|
+
headers: headerParameters,
|
|
2755
|
+
query: queryParameters,
|
|
2756
|
+
}, initOverrides);
|
|
2757
|
+
return new runtime.VoidApiResponse(response);
|
|
2758
|
+
});
|
|
2759
|
+
}
|
|
2760
|
+
/**
|
|
2761
|
+
* SCIMSourcePropertyMapping Viewset
|
|
2762
|
+
*/
|
|
2763
|
+
propertymappingsSourceScimDestroy(requestParameters, initOverrides) {
|
|
2764
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2765
|
+
yield this.propertymappingsSourceScimDestroyRaw(requestParameters, initOverrides);
|
|
2766
|
+
});
|
|
2767
|
+
}
|
|
2768
|
+
/**
|
|
2769
|
+
* SCIMSourcePropertyMapping Viewset
|
|
2770
|
+
*/
|
|
2771
|
+
propertymappingsSourceScimListRaw(requestParameters, initOverrides) {
|
|
2772
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2773
|
+
const queryParameters = {};
|
|
2774
|
+
if (requestParameters.expression !== undefined) {
|
|
2775
|
+
queryParameters['expression'] = requestParameters.expression;
|
|
2776
|
+
}
|
|
2777
|
+
if (requestParameters.managed) {
|
|
2778
|
+
queryParameters['managed'] = requestParameters.managed;
|
|
2779
|
+
}
|
|
2780
|
+
if (requestParameters.name !== undefined) {
|
|
2781
|
+
queryParameters['name'] = requestParameters.name;
|
|
2782
|
+
}
|
|
2783
|
+
if (requestParameters.ordering !== undefined) {
|
|
2784
|
+
queryParameters['ordering'] = requestParameters.ordering;
|
|
2785
|
+
}
|
|
2786
|
+
if (requestParameters.page !== undefined) {
|
|
2787
|
+
queryParameters['page'] = requestParameters.page;
|
|
2788
|
+
}
|
|
2789
|
+
if (requestParameters.pageSize !== undefined) {
|
|
2790
|
+
queryParameters['page_size'] = requestParameters.pageSize;
|
|
2791
|
+
}
|
|
2792
|
+
if (requestParameters.pmUuid !== undefined) {
|
|
2793
|
+
queryParameters['pm_uuid'] = requestParameters.pmUuid;
|
|
2794
|
+
}
|
|
2795
|
+
if (requestParameters.search !== undefined) {
|
|
2796
|
+
queryParameters['search'] = requestParameters.search;
|
|
2797
|
+
}
|
|
2798
|
+
const headerParameters = {};
|
|
2799
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
2800
|
+
const token = this.configuration.accessToken;
|
|
2801
|
+
const tokenString = yield token("authentik", []);
|
|
2802
|
+
if (tokenString) {
|
|
2803
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
2804
|
+
}
|
|
2805
|
+
}
|
|
2806
|
+
const response = yield this.request({
|
|
2807
|
+
path: `/propertymappings/source/scim/`,
|
|
2808
|
+
method: 'GET',
|
|
2809
|
+
headers: headerParameters,
|
|
2810
|
+
query: queryParameters,
|
|
2811
|
+
}, initOverrides);
|
|
2812
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => PaginatedSCIMSourcePropertyMappingListFromJSON(jsonValue));
|
|
2813
|
+
});
|
|
2814
|
+
}
|
|
2815
|
+
/**
|
|
2816
|
+
* SCIMSourcePropertyMapping Viewset
|
|
2817
|
+
*/
|
|
2818
|
+
propertymappingsSourceScimList(requestParameters = {}, initOverrides) {
|
|
2819
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2820
|
+
const response = yield this.propertymappingsSourceScimListRaw(requestParameters, initOverrides);
|
|
2821
|
+
return yield response.value();
|
|
2822
|
+
});
|
|
2823
|
+
}
|
|
2824
|
+
/**
|
|
2825
|
+
* SCIMSourcePropertyMapping Viewset
|
|
2826
|
+
*/
|
|
2827
|
+
propertymappingsSourceScimPartialUpdateRaw(requestParameters, initOverrides) {
|
|
2828
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2829
|
+
if (requestParameters.pmUuid === null || requestParameters.pmUuid === undefined) {
|
|
2830
|
+
throw new runtime.RequiredError('pmUuid', 'Required parameter requestParameters.pmUuid was null or undefined when calling propertymappingsSourceScimPartialUpdate.');
|
|
2831
|
+
}
|
|
2832
|
+
const queryParameters = {};
|
|
2833
|
+
const headerParameters = {};
|
|
2834
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
2835
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
2836
|
+
const token = this.configuration.accessToken;
|
|
2837
|
+
const tokenString = yield token("authentik", []);
|
|
2838
|
+
if (tokenString) {
|
|
2839
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
2840
|
+
}
|
|
2841
|
+
}
|
|
2842
|
+
const response = yield this.request({
|
|
2843
|
+
path: `/propertymappings/source/scim/{pm_uuid}/`.replace(`{${"pm_uuid"}}`, encodeURIComponent(String(requestParameters.pmUuid))),
|
|
2844
|
+
method: 'PATCH',
|
|
2845
|
+
headers: headerParameters,
|
|
2846
|
+
query: queryParameters,
|
|
2847
|
+
body: PatchedSCIMSourcePropertyMappingRequestToJSON(requestParameters.patchedSCIMSourcePropertyMappingRequest),
|
|
2848
|
+
}, initOverrides);
|
|
2849
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => SCIMSourcePropertyMappingFromJSON(jsonValue));
|
|
2850
|
+
});
|
|
2851
|
+
}
|
|
2852
|
+
/**
|
|
2853
|
+
* SCIMSourcePropertyMapping Viewset
|
|
2854
|
+
*/
|
|
2855
|
+
propertymappingsSourceScimPartialUpdate(requestParameters, initOverrides) {
|
|
2856
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2857
|
+
const response = yield this.propertymappingsSourceScimPartialUpdateRaw(requestParameters, initOverrides);
|
|
2858
|
+
return yield response.value();
|
|
2859
|
+
});
|
|
2860
|
+
}
|
|
2861
|
+
/**
|
|
2862
|
+
* SCIMSourcePropertyMapping Viewset
|
|
2863
|
+
*/
|
|
2864
|
+
propertymappingsSourceScimRetrieveRaw(requestParameters, initOverrides) {
|
|
2865
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2866
|
+
if (requestParameters.pmUuid === null || requestParameters.pmUuid === undefined) {
|
|
2867
|
+
throw new runtime.RequiredError('pmUuid', 'Required parameter requestParameters.pmUuid was null or undefined when calling propertymappingsSourceScimRetrieve.');
|
|
2868
|
+
}
|
|
2869
|
+
const queryParameters = {};
|
|
2870
|
+
const headerParameters = {};
|
|
2871
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
2872
|
+
const token = this.configuration.accessToken;
|
|
2873
|
+
const tokenString = yield token("authentik", []);
|
|
2874
|
+
if (tokenString) {
|
|
2875
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
2876
|
+
}
|
|
2877
|
+
}
|
|
2878
|
+
const response = yield this.request({
|
|
2879
|
+
path: `/propertymappings/source/scim/{pm_uuid}/`.replace(`{${"pm_uuid"}}`, encodeURIComponent(String(requestParameters.pmUuid))),
|
|
2880
|
+
method: 'GET',
|
|
2881
|
+
headers: headerParameters,
|
|
2882
|
+
query: queryParameters,
|
|
2883
|
+
}, initOverrides);
|
|
2884
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => SCIMSourcePropertyMappingFromJSON(jsonValue));
|
|
2885
|
+
});
|
|
2886
|
+
}
|
|
2887
|
+
/**
|
|
2888
|
+
* SCIMSourcePropertyMapping Viewset
|
|
2889
|
+
*/
|
|
2890
|
+
propertymappingsSourceScimRetrieve(requestParameters, initOverrides) {
|
|
2891
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2892
|
+
const response = yield this.propertymappingsSourceScimRetrieveRaw(requestParameters, initOverrides);
|
|
2893
|
+
return yield response.value();
|
|
2894
|
+
});
|
|
2895
|
+
}
|
|
2896
|
+
/**
|
|
2897
|
+
* SCIMSourcePropertyMapping Viewset
|
|
2898
|
+
*/
|
|
2899
|
+
propertymappingsSourceScimUpdateRaw(requestParameters, initOverrides) {
|
|
2900
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2901
|
+
if (requestParameters.pmUuid === null || requestParameters.pmUuid === undefined) {
|
|
2902
|
+
throw new runtime.RequiredError('pmUuid', 'Required parameter requestParameters.pmUuid was null or undefined when calling propertymappingsSourceScimUpdate.');
|
|
2903
|
+
}
|
|
2904
|
+
if (requestParameters.sCIMSourcePropertyMappingRequest === null || requestParameters.sCIMSourcePropertyMappingRequest === undefined) {
|
|
2905
|
+
throw new runtime.RequiredError('sCIMSourcePropertyMappingRequest', 'Required parameter requestParameters.sCIMSourcePropertyMappingRequest was null or undefined when calling propertymappingsSourceScimUpdate.');
|
|
2906
|
+
}
|
|
2907
|
+
const queryParameters = {};
|
|
2908
|
+
const headerParameters = {};
|
|
2909
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
2910
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
2911
|
+
const token = this.configuration.accessToken;
|
|
2912
|
+
const tokenString = yield token("authentik", []);
|
|
2913
|
+
if (tokenString) {
|
|
2914
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
2915
|
+
}
|
|
2916
|
+
}
|
|
2917
|
+
const response = yield this.request({
|
|
2918
|
+
path: `/propertymappings/source/scim/{pm_uuid}/`.replace(`{${"pm_uuid"}}`, encodeURIComponent(String(requestParameters.pmUuid))),
|
|
2919
|
+
method: 'PUT',
|
|
2920
|
+
headers: headerParameters,
|
|
2921
|
+
query: queryParameters,
|
|
2922
|
+
body: SCIMSourcePropertyMappingRequestToJSON(requestParameters.sCIMSourcePropertyMappingRequest),
|
|
2923
|
+
}, initOverrides);
|
|
2924
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => SCIMSourcePropertyMappingFromJSON(jsonValue));
|
|
2925
|
+
});
|
|
2926
|
+
}
|
|
2927
|
+
/**
|
|
2928
|
+
* SCIMSourcePropertyMapping Viewset
|
|
2929
|
+
*/
|
|
2930
|
+
propertymappingsSourceScimUpdate(requestParameters, initOverrides) {
|
|
2931
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2932
|
+
const response = yield this.propertymappingsSourceScimUpdateRaw(requestParameters, initOverrides);
|
|
2933
|
+
return yield response.value();
|
|
2934
|
+
});
|
|
2935
|
+
}
|
|
2936
|
+
/**
|
|
2937
|
+
* Get a list of all objects that use this object
|
|
2938
|
+
*/
|
|
2939
|
+
propertymappingsSourceScimUsedByListRaw(requestParameters, initOverrides) {
|
|
2940
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2941
|
+
if (requestParameters.pmUuid === null || requestParameters.pmUuid === undefined) {
|
|
2942
|
+
throw new runtime.RequiredError('pmUuid', 'Required parameter requestParameters.pmUuid was null or undefined when calling propertymappingsSourceScimUsedByList.');
|
|
2943
|
+
}
|
|
2944
|
+
const queryParameters = {};
|
|
2945
|
+
const headerParameters = {};
|
|
2946
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
2947
|
+
const token = this.configuration.accessToken;
|
|
2948
|
+
const tokenString = yield token("authentik", []);
|
|
2949
|
+
if (tokenString) {
|
|
2950
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
2951
|
+
}
|
|
2952
|
+
}
|
|
2953
|
+
const response = yield this.request({
|
|
2954
|
+
path: `/propertymappings/source/scim/{pm_uuid}/used_by/`.replace(`{${"pm_uuid"}}`, encodeURIComponent(String(requestParameters.pmUuid))),
|
|
2955
|
+
method: 'GET',
|
|
2956
|
+
headers: headerParameters,
|
|
2957
|
+
query: queryParameters,
|
|
2958
|
+
}, initOverrides);
|
|
2959
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(UsedByFromJSON));
|
|
2960
|
+
});
|
|
2961
|
+
}
|
|
2962
|
+
/**
|
|
2963
|
+
* Get a list of all objects that use this object
|
|
2964
|
+
*/
|
|
2965
|
+
propertymappingsSourceScimUsedByList(requestParameters, initOverrides) {
|
|
2966
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2967
|
+
const response = yield this.propertymappingsSourceScimUsedByListRaw(requestParameters, initOverrides);
|
|
2968
|
+
return yield response.value();
|
|
2969
|
+
});
|
|
2970
|
+
}
|
|
2706
2971
|
}
|
|
@@ -295,6 +295,7 @@ export declare const RbacPermissionsAssignedByRolesListModelEnum: {
|
|
|
295
295
|
readonly SourcesSamlSamlsource: "authentik_sources_saml.samlsource";
|
|
296
296
|
readonly SourcesSamlUsersamlsourceconnection: "authentik_sources_saml.usersamlsourceconnection";
|
|
297
297
|
readonly SourcesScimScimsource: "authentik_sources_scim.scimsource";
|
|
298
|
+
readonly SourcesScimScimsourcepropertymapping: "authentik_sources_scim.scimsourcepropertymapping";
|
|
298
299
|
readonly StagesAuthenticatorDuoAuthenticatorduostage: "authentik_stages_authenticator_duo.authenticatorduostage";
|
|
299
300
|
readonly StagesAuthenticatorDuoDuodevice: "authentik_stages_authenticator_duo.duodevice";
|
|
300
301
|
readonly StagesAuthenticatorSmsAuthenticatorsmsstage: "authentik_stages_authenticator_sms.authenticatorsmsstage";
|
|
@@ -383,6 +384,7 @@ export declare const RbacPermissionsAssignedByUsersListModelEnum: {
|
|
|
383
384
|
readonly SourcesSamlSamlsource: "authentik_sources_saml.samlsource";
|
|
384
385
|
readonly SourcesSamlUsersamlsourceconnection: "authentik_sources_saml.usersamlsourceconnection";
|
|
385
386
|
readonly SourcesScimScimsource: "authentik_sources_scim.scimsource";
|
|
387
|
+
readonly SourcesScimScimsourcepropertymapping: "authentik_sources_scim.scimsourcepropertymapping";
|
|
386
388
|
readonly StagesAuthenticatorDuoAuthenticatorduostage: "authentik_stages_authenticator_duo.authenticatorduostage";
|
|
387
389
|
readonly StagesAuthenticatorDuoDuodevice: "authentik_stages_authenticator_duo.duodevice";
|
|
388
390
|
readonly StagesAuthenticatorSmsAuthenticatorsmsstage: "authentik_stages_authenticator_sms.authenticatorsmsstage";
|
package/dist/esm/apis/RbacApi.js
CHANGED
|
@@ -798,6 +798,7 @@ export const RbacPermissionsAssignedByRolesListModelEnum = {
|
|
|
798
798
|
SourcesSamlSamlsource: 'authentik_sources_saml.samlsource',
|
|
799
799
|
SourcesSamlUsersamlsourceconnection: 'authentik_sources_saml.usersamlsourceconnection',
|
|
800
800
|
SourcesScimScimsource: 'authentik_sources_scim.scimsource',
|
|
801
|
+
SourcesScimScimsourcepropertymapping: 'authentik_sources_scim.scimsourcepropertymapping',
|
|
801
802
|
StagesAuthenticatorDuoAuthenticatorduostage: 'authentik_stages_authenticator_duo.authenticatorduostage',
|
|
802
803
|
StagesAuthenticatorDuoDuodevice: 'authentik_stages_authenticator_duo.duodevice',
|
|
803
804
|
StagesAuthenticatorSmsAuthenticatorsmsstage: 'authentik_stages_authenticator_sms.authenticatorsmsstage',
|
|
@@ -885,6 +886,7 @@ export const RbacPermissionsAssignedByUsersListModelEnum = {
|
|
|
885
886
|
SourcesSamlSamlsource: 'authentik_sources_saml.samlsource',
|
|
886
887
|
SourcesSamlUsersamlsourceconnection: 'authentik_sources_saml.usersamlsourceconnection',
|
|
887
888
|
SourcesScimScimsource: 'authentik_sources_scim.scimsource',
|
|
889
|
+
SourcesScimScimsourcepropertymapping: 'authentik_sources_scim.scimsourcepropertymapping',
|
|
888
890
|
StagesAuthenticatorDuoAuthenticatorduostage: 'authentik_stages_authenticator_duo.authenticatorduostage',
|
|
889
891
|
StagesAuthenticatorDuoDuodevice: 'authentik_stages_authenticator_duo.duodevice',
|
|
890
892
|
StagesAuthenticatorSmsAuthenticatorsmsstage: 'authentik_stages_authenticator_sms.authenticatorsmsstage',
|
|
@@ -48,6 +48,7 @@ export declare const ModelEnum: {
|
|
|
48
48
|
readonly SourcesSamlSamlsource: "authentik_sources_saml.samlsource";
|
|
49
49
|
readonly SourcesSamlUsersamlsourceconnection: "authentik_sources_saml.usersamlsourceconnection";
|
|
50
50
|
readonly SourcesScimScimsource: "authentik_sources_scim.scimsource";
|
|
51
|
+
readonly SourcesScimScimsourcepropertymapping: "authentik_sources_scim.scimsourcepropertymapping";
|
|
51
52
|
readonly StagesAuthenticatorDuoAuthenticatorduostage: "authentik_stages_authenticator_duo.authenticatorduostage";
|
|
52
53
|
readonly StagesAuthenticatorDuoDuodevice: "authentik_stages_authenticator_duo.duodevice";
|
|
53
54
|
readonly StagesAuthenticatorSmsAuthenticatorsmsstage: "authentik_stages_authenticator_sms.authenticatorsmsstage";
|
|
@@ -50,6 +50,7 @@ export const ModelEnum = {
|
|
|
50
50
|
SourcesSamlSamlsource: 'authentik_sources_saml.samlsource',
|
|
51
51
|
SourcesSamlUsersamlsourceconnection: 'authentik_sources_saml.usersamlsourceconnection',
|
|
52
52
|
SourcesScimScimsource: 'authentik_sources_scim.scimsource',
|
|
53
|
+
SourcesScimScimsourcepropertymapping: 'authentik_sources_scim.scimsourcepropertymapping',
|
|
53
54
|
StagesAuthenticatorDuoAuthenticatorduostage: 'authentik_stages_authenticator_duo.authenticatorduostage',
|
|
54
55
|
StagesAuthenticatorDuoDuodevice: 'authentik_stages_authenticator_duo.duodevice',
|
|
55
56
|
StagesAuthenticatorSmsAuthenticatorsmsstage: 'authentik_stages_authenticator_sms.authenticatorsmsstage',
|