@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
package/package.json
CHANGED
|
@@ -33,6 +33,7 @@ import type {
|
|
|
33
33
|
PaginatedRadiusProviderPropertyMappingList,
|
|
34
34
|
PaginatedSAMLPropertyMappingList,
|
|
35
35
|
PaginatedSCIMMappingList,
|
|
36
|
+
PaginatedSCIMSourcePropertyMappingList,
|
|
36
37
|
PaginatedScopeMappingList,
|
|
37
38
|
PatchedGoogleWorkspaceProviderMappingRequest,
|
|
38
39
|
PatchedLDAPSourcePropertyMappingRequest,
|
|
@@ -42,6 +43,7 @@ import type {
|
|
|
42
43
|
PatchedRadiusProviderPropertyMappingRequest,
|
|
43
44
|
PatchedSAMLPropertyMappingRequest,
|
|
44
45
|
PatchedSCIMMappingRequest,
|
|
46
|
+
PatchedSCIMSourcePropertyMappingRequest,
|
|
45
47
|
PatchedScopeMappingRequest,
|
|
46
48
|
PropertyMapping,
|
|
47
49
|
PropertyMappingTestRequest,
|
|
@@ -54,6 +56,8 @@ import type {
|
|
|
54
56
|
SAMLPropertyMappingRequest,
|
|
55
57
|
SCIMMapping,
|
|
56
58
|
SCIMMappingRequest,
|
|
59
|
+
SCIMSourcePropertyMapping,
|
|
60
|
+
SCIMSourcePropertyMappingRequest,
|
|
57
61
|
ScopeMapping,
|
|
58
62
|
ScopeMappingRequest,
|
|
59
63
|
TypeCreate,
|
|
@@ -97,6 +101,8 @@ import {
|
|
|
97
101
|
PaginatedSAMLPropertyMappingListToJSON,
|
|
98
102
|
PaginatedSCIMMappingListFromJSON,
|
|
99
103
|
PaginatedSCIMMappingListToJSON,
|
|
104
|
+
PaginatedSCIMSourcePropertyMappingListFromJSON,
|
|
105
|
+
PaginatedSCIMSourcePropertyMappingListToJSON,
|
|
100
106
|
PaginatedScopeMappingListFromJSON,
|
|
101
107
|
PaginatedScopeMappingListToJSON,
|
|
102
108
|
PatchedGoogleWorkspaceProviderMappingRequestFromJSON,
|
|
@@ -115,6 +121,8 @@ import {
|
|
|
115
121
|
PatchedSAMLPropertyMappingRequestToJSON,
|
|
116
122
|
PatchedSCIMMappingRequestFromJSON,
|
|
117
123
|
PatchedSCIMMappingRequestToJSON,
|
|
124
|
+
PatchedSCIMSourcePropertyMappingRequestFromJSON,
|
|
125
|
+
PatchedSCIMSourcePropertyMappingRequestToJSON,
|
|
118
126
|
PatchedScopeMappingRequestFromJSON,
|
|
119
127
|
PatchedScopeMappingRequestToJSON,
|
|
120
128
|
PropertyMappingFromJSON,
|
|
@@ -139,6 +147,10 @@ import {
|
|
|
139
147
|
SCIMMappingToJSON,
|
|
140
148
|
SCIMMappingRequestFromJSON,
|
|
141
149
|
SCIMMappingRequestToJSON,
|
|
150
|
+
SCIMSourcePropertyMappingFromJSON,
|
|
151
|
+
SCIMSourcePropertyMappingToJSON,
|
|
152
|
+
SCIMSourcePropertyMappingRequestFromJSON,
|
|
153
|
+
SCIMSourcePropertyMappingRequestToJSON,
|
|
142
154
|
ScopeMappingFromJSON,
|
|
143
155
|
ScopeMappingToJSON,
|
|
144
156
|
ScopeMappingRequestFromJSON,
|
|
@@ -156,7 +168,9 @@ export interface PropertymappingsAllDestroyRequest {
|
|
|
156
168
|
}
|
|
157
169
|
|
|
158
170
|
export interface PropertymappingsAllListRequest {
|
|
171
|
+
managed?: Array<string>;
|
|
159
172
|
managedIsnull?: boolean;
|
|
173
|
+
name?: string;
|
|
160
174
|
ordering?: string;
|
|
161
175
|
page?: number;
|
|
162
176
|
pageSize?: number;
|
|
@@ -329,13 +343,12 @@ export interface PropertymappingsRadiusDestroyRequest {
|
|
|
329
343
|
}
|
|
330
344
|
|
|
331
345
|
export interface PropertymappingsRadiusListRequest {
|
|
332
|
-
expression?: string;
|
|
333
346
|
managed?: Array<string>;
|
|
347
|
+
managedIsnull?: boolean;
|
|
334
348
|
name?: string;
|
|
335
349
|
ordering?: string;
|
|
336
350
|
page?: number;
|
|
337
351
|
pageSize?: number;
|
|
338
|
-
pmUuid?: string;
|
|
339
352
|
search?: string;
|
|
340
353
|
}
|
|
341
354
|
|
|
@@ -366,15 +379,12 @@ export interface PropertymappingsSamlDestroyRequest {
|
|
|
366
379
|
}
|
|
367
380
|
|
|
368
381
|
export interface PropertymappingsSamlListRequest {
|
|
369
|
-
expression?: string;
|
|
370
|
-
friendlyName?: string;
|
|
371
382
|
managed?: Array<string>;
|
|
383
|
+
managedIsnull?: boolean;
|
|
372
384
|
name?: string;
|
|
373
385
|
ordering?: string;
|
|
374
386
|
page?: number;
|
|
375
387
|
pageSize?: number;
|
|
376
|
-
pmUuid?: string;
|
|
377
|
-
samlName?: string;
|
|
378
388
|
search?: string;
|
|
379
389
|
}
|
|
380
390
|
|
|
@@ -405,13 +415,12 @@ export interface PropertymappingsScimDestroyRequest {
|
|
|
405
415
|
}
|
|
406
416
|
|
|
407
417
|
export interface PropertymappingsScimListRequest {
|
|
408
|
-
expression?: string;
|
|
409
418
|
managed?: Array<string>;
|
|
419
|
+
managedIsnull?: boolean;
|
|
410
420
|
name?: string;
|
|
411
421
|
ordering?: string;
|
|
412
422
|
page?: number;
|
|
413
423
|
pageSize?: number;
|
|
414
|
-
pmUuid?: string;
|
|
415
424
|
search?: string;
|
|
416
425
|
}
|
|
417
426
|
|
|
@@ -443,6 +452,7 @@ export interface PropertymappingsScopeDestroyRequest {
|
|
|
443
452
|
|
|
444
453
|
export interface PropertymappingsScopeListRequest {
|
|
445
454
|
managed?: Array<string>;
|
|
455
|
+
managedIsnull?: boolean;
|
|
446
456
|
name?: string;
|
|
447
457
|
ordering?: string;
|
|
448
458
|
page?: number;
|
|
@@ -478,13 +488,12 @@ export interface PropertymappingsSourceLdapDestroyRequest {
|
|
|
478
488
|
}
|
|
479
489
|
|
|
480
490
|
export interface PropertymappingsSourceLdapListRequest {
|
|
481
|
-
expression?: string;
|
|
482
491
|
managed?: Array<string>;
|
|
492
|
+
managedIsnull?: boolean;
|
|
483
493
|
name?: string;
|
|
484
494
|
ordering?: string;
|
|
485
495
|
page?: number;
|
|
486
496
|
pageSize?: number;
|
|
487
|
-
pmUuid?: string;
|
|
488
497
|
search?: string;
|
|
489
498
|
}
|
|
490
499
|
|
|
@@ -506,6 +515,43 @@ export interface PropertymappingsSourceLdapUsedByListRequest {
|
|
|
506
515
|
pmUuid: string;
|
|
507
516
|
}
|
|
508
517
|
|
|
518
|
+
export interface PropertymappingsSourceScimCreateRequest {
|
|
519
|
+
sCIMSourcePropertyMappingRequest: SCIMSourcePropertyMappingRequest;
|
|
520
|
+
}
|
|
521
|
+
|
|
522
|
+
export interface PropertymappingsSourceScimDestroyRequest {
|
|
523
|
+
pmUuid: string;
|
|
524
|
+
}
|
|
525
|
+
|
|
526
|
+
export interface PropertymappingsSourceScimListRequest {
|
|
527
|
+
expression?: string;
|
|
528
|
+
managed?: Array<string>;
|
|
529
|
+
name?: string;
|
|
530
|
+
ordering?: string;
|
|
531
|
+
page?: number;
|
|
532
|
+
pageSize?: number;
|
|
533
|
+
pmUuid?: string;
|
|
534
|
+
search?: string;
|
|
535
|
+
}
|
|
536
|
+
|
|
537
|
+
export interface PropertymappingsSourceScimPartialUpdateRequest {
|
|
538
|
+
pmUuid: string;
|
|
539
|
+
patchedSCIMSourcePropertyMappingRequest?: PatchedSCIMSourcePropertyMappingRequest;
|
|
540
|
+
}
|
|
541
|
+
|
|
542
|
+
export interface PropertymappingsSourceScimRetrieveRequest {
|
|
543
|
+
pmUuid: string;
|
|
544
|
+
}
|
|
545
|
+
|
|
546
|
+
export interface PropertymappingsSourceScimUpdateRequest {
|
|
547
|
+
pmUuid: string;
|
|
548
|
+
sCIMSourcePropertyMappingRequest: SCIMSourcePropertyMappingRequest;
|
|
549
|
+
}
|
|
550
|
+
|
|
551
|
+
export interface PropertymappingsSourceScimUsedByListRequest {
|
|
552
|
+
pmUuid: string;
|
|
553
|
+
}
|
|
554
|
+
|
|
509
555
|
/**
|
|
510
556
|
*
|
|
511
557
|
*/
|
|
@@ -554,10 +600,18 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
|
554
600
|
async propertymappingsAllListRaw(requestParameters: PropertymappingsAllListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedPropertyMappingList>> {
|
|
555
601
|
const queryParameters: any = {};
|
|
556
602
|
|
|
603
|
+
if (requestParameters.managed) {
|
|
604
|
+
queryParameters['managed'] = requestParameters.managed;
|
|
605
|
+
}
|
|
606
|
+
|
|
557
607
|
if (requestParameters.managedIsnull !== undefined) {
|
|
558
608
|
queryParameters['managed__isnull'] = requestParameters.managedIsnull;
|
|
559
609
|
}
|
|
560
610
|
|
|
611
|
+
if (requestParameters.name !== undefined) {
|
|
612
|
+
queryParameters['name'] = requestParameters.name;
|
|
613
|
+
}
|
|
614
|
+
|
|
561
615
|
if (requestParameters.ordering !== undefined) {
|
|
562
616
|
queryParameters['ordering'] = requestParameters.ordering;
|
|
563
617
|
}
|
|
@@ -2045,14 +2099,14 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
|
2045
2099
|
async propertymappingsRadiusListRaw(requestParameters: PropertymappingsRadiusListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedRadiusProviderPropertyMappingList>> {
|
|
2046
2100
|
const queryParameters: any = {};
|
|
2047
2101
|
|
|
2048
|
-
if (requestParameters.expression !== undefined) {
|
|
2049
|
-
queryParameters['expression'] = requestParameters.expression;
|
|
2050
|
-
}
|
|
2051
|
-
|
|
2052
2102
|
if (requestParameters.managed) {
|
|
2053
2103
|
queryParameters['managed'] = requestParameters.managed;
|
|
2054
2104
|
}
|
|
2055
2105
|
|
|
2106
|
+
if (requestParameters.managedIsnull !== undefined) {
|
|
2107
|
+
queryParameters['managed__isnull'] = requestParameters.managedIsnull;
|
|
2108
|
+
}
|
|
2109
|
+
|
|
2056
2110
|
if (requestParameters.name !== undefined) {
|
|
2057
2111
|
queryParameters['name'] = requestParameters.name;
|
|
2058
2112
|
}
|
|
@@ -2069,10 +2123,6 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
|
2069
2123
|
queryParameters['page_size'] = requestParameters.pageSize;
|
|
2070
2124
|
}
|
|
2071
2125
|
|
|
2072
|
-
if (requestParameters.pmUuid !== undefined) {
|
|
2073
|
-
queryParameters['pm_uuid'] = requestParameters.pmUuid;
|
|
2074
|
-
}
|
|
2075
|
-
|
|
2076
2126
|
if (requestParameters.search !== undefined) {
|
|
2077
2127
|
queryParameters['search'] = requestParameters.search;
|
|
2078
2128
|
}
|
|
@@ -2351,18 +2401,14 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
|
2351
2401
|
async propertymappingsSamlListRaw(requestParameters: PropertymappingsSamlListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedSAMLPropertyMappingList>> {
|
|
2352
2402
|
const queryParameters: any = {};
|
|
2353
2403
|
|
|
2354
|
-
if (requestParameters.expression !== undefined) {
|
|
2355
|
-
queryParameters['expression'] = requestParameters.expression;
|
|
2356
|
-
}
|
|
2357
|
-
|
|
2358
|
-
if (requestParameters.friendlyName !== undefined) {
|
|
2359
|
-
queryParameters['friendly_name'] = requestParameters.friendlyName;
|
|
2360
|
-
}
|
|
2361
|
-
|
|
2362
2404
|
if (requestParameters.managed) {
|
|
2363
2405
|
queryParameters['managed'] = requestParameters.managed;
|
|
2364
2406
|
}
|
|
2365
2407
|
|
|
2408
|
+
if (requestParameters.managedIsnull !== undefined) {
|
|
2409
|
+
queryParameters['managed__isnull'] = requestParameters.managedIsnull;
|
|
2410
|
+
}
|
|
2411
|
+
|
|
2366
2412
|
if (requestParameters.name !== undefined) {
|
|
2367
2413
|
queryParameters['name'] = requestParameters.name;
|
|
2368
2414
|
}
|
|
@@ -2379,14 +2425,6 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
|
2379
2425
|
queryParameters['page_size'] = requestParameters.pageSize;
|
|
2380
2426
|
}
|
|
2381
2427
|
|
|
2382
|
-
if (requestParameters.pmUuid !== undefined) {
|
|
2383
|
-
queryParameters['pm_uuid'] = requestParameters.pmUuid;
|
|
2384
|
-
}
|
|
2385
|
-
|
|
2386
|
-
if (requestParameters.samlName !== undefined) {
|
|
2387
|
-
queryParameters['saml_name'] = requestParameters.samlName;
|
|
2388
|
-
}
|
|
2389
|
-
|
|
2390
2428
|
if (requestParameters.search !== undefined) {
|
|
2391
2429
|
queryParameters['search'] = requestParameters.search;
|
|
2392
2430
|
}
|
|
@@ -2665,14 +2703,14 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
|
2665
2703
|
async propertymappingsScimListRaw(requestParameters: PropertymappingsScimListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedSCIMMappingList>> {
|
|
2666
2704
|
const queryParameters: any = {};
|
|
2667
2705
|
|
|
2668
|
-
if (requestParameters.expression !== undefined) {
|
|
2669
|
-
queryParameters['expression'] = requestParameters.expression;
|
|
2670
|
-
}
|
|
2671
|
-
|
|
2672
2706
|
if (requestParameters.managed) {
|
|
2673
2707
|
queryParameters['managed'] = requestParameters.managed;
|
|
2674
2708
|
}
|
|
2675
2709
|
|
|
2710
|
+
if (requestParameters.managedIsnull !== undefined) {
|
|
2711
|
+
queryParameters['managed__isnull'] = requestParameters.managedIsnull;
|
|
2712
|
+
}
|
|
2713
|
+
|
|
2676
2714
|
if (requestParameters.name !== undefined) {
|
|
2677
2715
|
queryParameters['name'] = requestParameters.name;
|
|
2678
2716
|
}
|
|
@@ -2689,10 +2727,6 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
|
2689
2727
|
queryParameters['page_size'] = requestParameters.pageSize;
|
|
2690
2728
|
}
|
|
2691
2729
|
|
|
2692
|
-
if (requestParameters.pmUuid !== undefined) {
|
|
2693
|
-
queryParameters['pm_uuid'] = requestParameters.pmUuid;
|
|
2694
|
-
}
|
|
2695
|
-
|
|
2696
2730
|
if (requestParameters.search !== undefined) {
|
|
2697
2731
|
queryParameters['search'] = requestParameters.search;
|
|
2698
2732
|
}
|
|
@@ -2975,6 +3009,10 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
|
2975
3009
|
queryParameters['managed'] = requestParameters.managed;
|
|
2976
3010
|
}
|
|
2977
3011
|
|
|
3012
|
+
if (requestParameters.managedIsnull !== undefined) {
|
|
3013
|
+
queryParameters['managed__isnull'] = requestParameters.managedIsnull;
|
|
3014
|
+
}
|
|
3015
|
+
|
|
2978
3016
|
if (requestParameters.name !== undefined) {
|
|
2979
3017
|
queryParameters['name'] = requestParameters.name;
|
|
2980
3018
|
}
|
|
@@ -3273,14 +3311,14 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
|
3273
3311
|
async propertymappingsSourceLdapListRaw(requestParameters: PropertymappingsSourceLdapListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedLDAPSourcePropertyMappingList>> {
|
|
3274
3312
|
const queryParameters: any = {};
|
|
3275
3313
|
|
|
3276
|
-
if (requestParameters.expression !== undefined) {
|
|
3277
|
-
queryParameters['expression'] = requestParameters.expression;
|
|
3278
|
-
}
|
|
3279
|
-
|
|
3280
3314
|
if (requestParameters.managed) {
|
|
3281
3315
|
queryParameters['managed'] = requestParameters.managed;
|
|
3282
3316
|
}
|
|
3283
3317
|
|
|
3318
|
+
if (requestParameters.managedIsnull !== undefined) {
|
|
3319
|
+
queryParameters['managed__isnull'] = requestParameters.managedIsnull;
|
|
3320
|
+
}
|
|
3321
|
+
|
|
3284
3322
|
if (requestParameters.name !== undefined) {
|
|
3285
3323
|
queryParameters['name'] = requestParameters.name;
|
|
3286
3324
|
}
|
|
@@ -3297,10 +3335,6 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
|
3297
3335
|
queryParameters['page_size'] = requestParameters.pageSize;
|
|
3298
3336
|
}
|
|
3299
3337
|
|
|
3300
|
-
if (requestParameters.pmUuid !== undefined) {
|
|
3301
|
-
queryParameters['pm_uuid'] = requestParameters.pmUuid;
|
|
3302
|
-
}
|
|
3303
|
-
|
|
3304
3338
|
if (requestParameters.search !== undefined) {
|
|
3305
3339
|
queryParameters['search'] = requestParameters.search;
|
|
3306
3340
|
}
|
|
@@ -3495,4 +3529,310 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
|
3495
3529
|
return await response.value();
|
|
3496
3530
|
}
|
|
3497
3531
|
|
|
3532
|
+
/**
|
|
3533
|
+
* SCIMSourcePropertyMapping Viewset
|
|
3534
|
+
*/
|
|
3535
|
+
async propertymappingsSourceScimCreateRaw(requestParameters: PropertymappingsSourceScimCreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SCIMSourcePropertyMapping>> {
|
|
3536
|
+
if (requestParameters.sCIMSourcePropertyMappingRequest === null || requestParameters.sCIMSourcePropertyMappingRequest === undefined) {
|
|
3537
|
+
throw new runtime.RequiredError('sCIMSourcePropertyMappingRequest','Required parameter requestParameters.sCIMSourcePropertyMappingRequest was null or undefined when calling propertymappingsSourceScimCreate.');
|
|
3538
|
+
}
|
|
3539
|
+
|
|
3540
|
+
const queryParameters: any = {};
|
|
3541
|
+
|
|
3542
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
3543
|
+
|
|
3544
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
3545
|
+
|
|
3546
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
3547
|
+
const token = this.configuration.accessToken;
|
|
3548
|
+
const tokenString = await token("authentik", []);
|
|
3549
|
+
|
|
3550
|
+
if (tokenString) {
|
|
3551
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
3552
|
+
}
|
|
3553
|
+
}
|
|
3554
|
+
const response = await this.request({
|
|
3555
|
+
path: `/propertymappings/source/scim/`,
|
|
3556
|
+
method: 'POST',
|
|
3557
|
+
headers: headerParameters,
|
|
3558
|
+
query: queryParameters,
|
|
3559
|
+
body: SCIMSourcePropertyMappingRequestToJSON(requestParameters.sCIMSourcePropertyMappingRequest),
|
|
3560
|
+
}, initOverrides);
|
|
3561
|
+
|
|
3562
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => SCIMSourcePropertyMappingFromJSON(jsonValue));
|
|
3563
|
+
}
|
|
3564
|
+
|
|
3565
|
+
/**
|
|
3566
|
+
* SCIMSourcePropertyMapping Viewset
|
|
3567
|
+
*/
|
|
3568
|
+
async propertymappingsSourceScimCreate(requestParameters: PropertymappingsSourceScimCreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SCIMSourcePropertyMapping> {
|
|
3569
|
+
const response = await this.propertymappingsSourceScimCreateRaw(requestParameters, initOverrides);
|
|
3570
|
+
return await response.value();
|
|
3571
|
+
}
|
|
3572
|
+
|
|
3573
|
+
/**
|
|
3574
|
+
* SCIMSourcePropertyMapping Viewset
|
|
3575
|
+
*/
|
|
3576
|
+
async propertymappingsSourceScimDestroyRaw(requestParameters: PropertymappingsSourceScimDestroyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
3577
|
+
if (requestParameters.pmUuid === null || requestParameters.pmUuid === undefined) {
|
|
3578
|
+
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling propertymappingsSourceScimDestroy.');
|
|
3579
|
+
}
|
|
3580
|
+
|
|
3581
|
+
const queryParameters: any = {};
|
|
3582
|
+
|
|
3583
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
3584
|
+
|
|
3585
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
3586
|
+
const token = this.configuration.accessToken;
|
|
3587
|
+
const tokenString = await token("authentik", []);
|
|
3588
|
+
|
|
3589
|
+
if (tokenString) {
|
|
3590
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
3591
|
+
}
|
|
3592
|
+
}
|
|
3593
|
+
const response = await this.request({
|
|
3594
|
+
path: `/propertymappings/source/scim/{pm_uuid}/`.replace(`{${"pm_uuid"}}`, encodeURIComponent(String(requestParameters.pmUuid))),
|
|
3595
|
+
method: 'DELETE',
|
|
3596
|
+
headers: headerParameters,
|
|
3597
|
+
query: queryParameters,
|
|
3598
|
+
}, initOverrides);
|
|
3599
|
+
|
|
3600
|
+
return new runtime.VoidApiResponse(response);
|
|
3601
|
+
}
|
|
3602
|
+
|
|
3603
|
+
/**
|
|
3604
|
+
* SCIMSourcePropertyMapping Viewset
|
|
3605
|
+
*/
|
|
3606
|
+
async propertymappingsSourceScimDestroy(requestParameters: PropertymappingsSourceScimDestroyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
|
|
3607
|
+
await this.propertymappingsSourceScimDestroyRaw(requestParameters, initOverrides);
|
|
3608
|
+
}
|
|
3609
|
+
|
|
3610
|
+
/**
|
|
3611
|
+
* SCIMSourcePropertyMapping Viewset
|
|
3612
|
+
*/
|
|
3613
|
+
async propertymappingsSourceScimListRaw(requestParameters: PropertymappingsSourceScimListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedSCIMSourcePropertyMappingList>> {
|
|
3614
|
+
const queryParameters: any = {};
|
|
3615
|
+
|
|
3616
|
+
if (requestParameters.expression !== undefined) {
|
|
3617
|
+
queryParameters['expression'] = requestParameters.expression;
|
|
3618
|
+
}
|
|
3619
|
+
|
|
3620
|
+
if (requestParameters.managed) {
|
|
3621
|
+
queryParameters['managed'] = requestParameters.managed;
|
|
3622
|
+
}
|
|
3623
|
+
|
|
3624
|
+
if (requestParameters.name !== undefined) {
|
|
3625
|
+
queryParameters['name'] = requestParameters.name;
|
|
3626
|
+
}
|
|
3627
|
+
|
|
3628
|
+
if (requestParameters.ordering !== undefined) {
|
|
3629
|
+
queryParameters['ordering'] = requestParameters.ordering;
|
|
3630
|
+
}
|
|
3631
|
+
|
|
3632
|
+
if (requestParameters.page !== undefined) {
|
|
3633
|
+
queryParameters['page'] = requestParameters.page;
|
|
3634
|
+
}
|
|
3635
|
+
|
|
3636
|
+
if (requestParameters.pageSize !== undefined) {
|
|
3637
|
+
queryParameters['page_size'] = requestParameters.pageSize;
|
|
3638
|
+
}
|
|
3639
|
+
|
|
3640
|
+
if (requestParameters.pmUuid !== undefined) {
|
|
3641
|
+
queryParameters['pm_uuid'] = requestParameters.pmUuid;
|
|
3642
|
+
}
|
|
3643
|
+
|
|
3644
|
+
if (requestParameters.search !== undefined) {
|
|
3645
|
+
queryParameters['search'] = requestParameters.search;
|
|
3646
|
+
}
|
|
3647
|
+
|
|
3648
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
3649
|
+
|
|
3650
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
3651
|
+
const token = this.configuration.accessToken;
|
|
3652
|
+
const tokenString = await token("authentik", []);
|
|
3653
|
+
|
|
3654
|
+
if (tokenString) {
|
|
3655
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
3656
|
+
}
|
|
3657
|
+
}
|
|
3658
|
+
const response = await this.request({
|
|
3659
|
+
path: `/propertymappings/source/scim/`,
|
|
3660
|
+
method: 'GET',
|
|
3661
|
+
headers: headerParameters,
|
|
3662
|
+
query: queryParameters,
|
|
3663
|
+
}, initOverrides);
|
|
3664
|
+
|
|
3665
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => PaginatedSCIMSourcePropertyMappingListFromJSON(jsonValue));
|
|
3666
|
+
}
|
|
3667
|
+
|
|
3668
|
+
/**
|
|
3669
|
+
* SCIMSourcePropertyMapping Viewset
|
|
3670
|
+
*/
|
|
3671
|
+
async propertymappingsSourceScimList(requestParameters: PropertymappingsSourceScimListRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedSCIMSourcePropertyMappingList> {
|
|
3672
|
+
const response = await this.propertymappingsSourceScimListRaw(requestParameters, initOverrides);
|
|
3673
|
+
return await response.value();
|
|
3674
|
+
}
|
|
3675
|
+
|
|
3676
|
+
/**
|
|
3677
|
+
* SCIMSourcePropertyMapping Viewset
|
|
3678
|
+
*/
|
|
3679
|
+
async propertymappingsSourceScimPartialUpdateRaw(requestParameters: PropertymappingsSourceScimPartialUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SCIMSourcePropertyMapping>> {
|
|
3680
|
+
if (requestParameters.pmUuid === null || requestParameters.pmUuid === undefined) {
|
|
3681
|
+
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling propertymappingsSourceScimPartialUpdate.');
|
|
3682
|
+
}
|
|
3683
|
+
|
|
3684
|
+
const queryParameters: any = {};
|
|
3685
|
+
|
|
3686
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
3687
|
+
|
|
3688
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
3689
|
+
|
|
3690
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
3691
|
+
const token = this.configuration.accessToken;
|
|
3692
|
+
const tokenString = await token("authentik", []);
|
|
3693
|
+
|
|
3694
|
+
if (tokenString) {
|
|
3695
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
3696
|
+
}
|
|
3697
|
+
}
|
|
3698
|
+
const response = await this.request({
|
|
3699
|
+
path: `/propertymappings/source/scim/{pm_uuid}/`.replace(`{${"pm_uuid"}}`, encodeURIComponent(String(requestParameters.pmUuid))),
|
|
3700
|
+
method: 'PATCH',
|
|
3701
|
+
headers: headerParameters,
|
|
3702
|
+
query: queryParameters,
|
|
3703
|
+
body: PatchedSCIMSourcePropertyMappingRequestToJSON(requestParameters.patchedSCIMSourcePropertyMappingRequest),
|
|
3704
|
+
}, initOverrides);
|
|
3705
|
+
|
|
3706
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => SCIMSourcePropertyMappingFromJSON(jsonValue));
|
|
3707
|
+
}
|
|
3708
|
+
|
|
3709
|
+
/**
|
|
3710
|
+
* SCIMSourcePropertyMapping Viewset
|
|
3711
|
+
*/
|
|
3712
|
+
async propertymappingsSourceScimPartialUpdate(requestParameters: PropertymappingsSourceScimPartialUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SCIMSourcePropertyMapping> {
|
|
3713
|
+
const response = await this.propertymappingsSourceScimPartialUpdateRaw(requestParameters, initOverrides);
|
|
3714
|
+
return await response.value();
|
|
3715
|
+
}
|
|
3716
|
+
|
|
3717
|
+
/**
|
|
3718
|
+
* SCIMSourcePropertyMapping Viewset
|
|
3719
|
+
*/
|
|
3720
|
+
async propertymappingsSourceScimRetrieveRaw(requestParameters: PropertymappingsSourceScimRetrieveRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SCIMSourcePropertyMapping>> {
|
|
3721
|
+
if (requestParameters.pmUuid === null || requestParameters.pmUuid === undefined) {
|
|
3722
|
+
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling propertymappingsSourceScimRetrieve.');
|
|
3723
|
+
}
|
|
3724
|
+
|
|
3725
|
+
const queryParameters: any = {};
|
|
3726
|
+
|
|
3727
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
3728
|
+
|
|
3729
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
3730
|
+
const token = this.configuration.accessToken;
|
|
3731
|
+
const tokenString = await token("authentik", []);
|
|
3732
|
+
|
|
3733
|
+
if (tokenString) {
|
|
3734
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
3735
|
+
}
|
|
3736
|
+
}
|
|
3737
|
+
const response = await this.request({
|
|
3738
|
+
path: `/propertymappings/source/scim/{pm_uuid}/`.replace(`{${"pm_uuid"}}`, encodeURIComponent(String(requestParameters.pmUuid))),
|
|
3739
|
+
method: 'GET',
|
|
3740
|
+
headers: headerParameters,
|
|
3741
|
+
query: queryParameters,
|
|
3742
|
+
}, initOverrides);
|
|
3743
|
+
|
|
3744
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => SCIMSourcePropertyMappingFromJSON(jsonValue));
|
|
3745
|
+
}
|
|
3746
|
+
|
|
3747
|
+
/**
|
|
3748
|
+
* SCIMSourcePropertyMapping Viewset
|
|
3749
|
+
*/
|
|
3750
|
+
async propertymappingsSourceScimRetrieve(requestParameters: PropertymappingsSourceScimRetrieveRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SCIMSourcePropertyMapping> {
|
|
3751
|
+
const response = await this.propertymappingsSourceScimRetrieveRaw(requestParameters, initOverrides);
|
|
3752
|
+
return await response.value();
|
|
3753
|
+
}
|
|
3754
|
+
|
|
3755
|
+
/**
|
|
3756
|
+
* SCIMSourcePropertyMapping Viewset
|
|
3757
|
+
*/
|
|
3758
|
+
async propertymappingsSourceScimUpdateRaw(requestParameters: PropertymappingsSourceScimUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SCIMSourcePropertyMapping>> {
|
|
3759
|
+
if (requestParameters.pmUuid === null || requestParameters.pmUuid === undefined) {
|
|
3760
|
+
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling propertymappingsSourceScimUpdate.');
|
|
3761
|
+
}
|
|
3762
|
+
|
|
3763
|
+
if (requestParameters.sCIMSourcePropertyMappingRequest === null || requestParameters.sCIMSourcePropertyMappingRequest === undefined) {
|
|
3764
|
+
throw new runtime.RequiredError('sCIMSourcePropertyMappingRequest','Required parameter requestParameters.sCIMSourcePropertyMappingRequest was null or undefined when calling propertymappingsSourceScimUpdate.');
|
|
3765
|
+
}
|
|
3766
|
+
|
|
3767
|
+
const queryParameters: any = {};
|
|
3768
|
+
|
|
3769
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
3770
|
+
|
|
3771
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
3772
|
+
|
|
3773
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
3774
|
+
const token = this.configuration.accessToken;
|
|
3775
|
+
const tokenString = await token("authentik", []);
|
|
3776
|
+
|
|
3777
|
+
if (tokenString) {
|
|
3778
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
3779
|
+
}
|
|
3780
|
+
}
|
|
3781
|
+
const response = await this.request({
|
|
3782
|
+
path: `/propertymappings/source/scim/{pm_uuid}/`.replace(`{${"pm_uuid"}}`, encodeURIComponent(String(requestParameters.pmUuid))),
|
|
3783
|
+
method: 'PUT',
|
|
3784
|
+
headers: headerParameters,
|
|
3785
|
+
query: queryParameters,
|
|
3786
|
+
body: SCIMSourcePropertyMappingRequestToJSON(requestParameters.sCIMSourcePropertyMappingRequest),
|
|
3787
|
+
}, initOverrides);
|
|
3788
|
+
|
|
3789
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => SCIMSourcePropertyMappingFromJSON(jsonValue));
|
|
3790
|
+
}
|
|
3791
|
+
|
|
3792
|
+
/**
|
|
3793
|
+
* SCIMSourcePropertyMapping Viewset
|
|
3794
|
+
*/
|
|
3795
|
+
async propertymappingsSourceScimUpdate(requestParameters: PropertymappingsSourceScimUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SCIMSourcePropertyMapping> {
|
|
3796
|
+
const response = await this.propertymappingsSourceScimUpdateRaw(requestParameters, initOverrides);
|
|
3797
|
+
return await response.value();
|
|
3798
|
+
}
|
|
3799
|
+
|
|
3800
|
+
/**
|
|
3801
|
+
* Get a list of all objects that use this object
|
|
3802
|
+
*/
|
|
3803
|
+
async propertymappingsSourceScimUsedByListRaw(requestParameters: PropertymappingsSourceScimUsedByListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<UsedBy>>> {
|
|
3804
|
+
if (requestParameters.pmUuid === null || requestParameters.pmUuid === undefined) {
|
|
3805
|
+
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling propertymappingsSourceScimUsedByList.');
|
|
3806
|
+
}
|
|
3807
|
+
|
|
3808
|
+
const queryParameters: any = {};
|
|
3809
|
+
|
|
3810
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
3811
|
+
|
|
3812
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
3813
|
+
const token = this.configuration.accessToken;
|
|
3814
|
+
const tokenString = await token("authentik", []);
|
|
3815
|
+
|
|
3816
|
+
if (tokenString) {
|
|
3817
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
3818
|
+
}
|
|
3819
|
+
}
|
|
3820
|
+
const response = await this.request({
|
|
3821
|
+
path: `/propertymappings/source/scim/{pm_uuid}/used_by/`.replace(`{${"pm_uuid"}}`, encodeURIComponent(String(requestParameters.pmUuid))),
|
|
3822
|
+
method: 'GET',
|
|
3823
|
+
headers: headerParameters,
|
|
3824
|
+
query: queryParameters,
|
|
3825
|
+
}, initOverrides);
|
|
3826
|
+
|
|
3827
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(UsedByFromJSON));
|
|
3828
|
+
}
|
|
3829
|
+
|
|
3830
|
+
/**
|
|
3831
|
+
* Get a list of all objects that use this object
|
|
3832
|
+
*/
|
|
3833
|
+
async propertymappingsSourceScimUsedByList(requestParameters: PropertymappingsSourceScimUsedByListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<UsedBy>> {
|
|
3834
|
+
const response = await this.propertymappingsSourceScimUsedByListRaw(requestParameters, initOverrides);
|
|
3835
|
+
return await response.value();
|
|
3836
|
+
}
|
|
3837
|
+
|
|
3498
3838
|
}
|
package/src/apis/RbacApi.ts
CHANGED
|
@@ -1041,6 +1041,7 @@ export const RbacPermissionsAssignedByRolesListModelEnum = {
|
|
|
1041
1041
|
SourcesSamlSamlsource: 'authentik_sources_saml.samlsource',
|
|
1042
1042
|
SourcesSamlUsersamlsourceconnection: 'authentik_sources_saml.usersamlsourceconnection',
|
|
1043
1043
|
SourcesScimScimsource: 'authentik_sources_scim.scimsource',
|
|
1044
|
+
SourcesScimScimsourcepropertymapping: 'authentik_sources_scim.scimsourcepropertymapping',
|
|
1044
1045
|
StagesAuthenticatorDuoAuthenticatorduostage: 'authentik_stages_authenticator_duo.authenticatorduostage',
|
|
1045
1046
|
StagesAuthenticatorDuoDuodevice: 'authentik_stages_authenticator_duo.duodevice',
|
|
1046
1047
|
StagesAuthenticatorSmsAuthenticatorsmsstage: 'authentik_stages_authenticator_sms.authenticatorsmsstage',
|
|
@@ -1129,6 +1130,7 @@ export const RbacPermissionsAssignedByUsersListModelEnum = {
|
|
|
1129
1130
|
SourcesSamlSamlsource: 'authentik_sources_saml.samlsource',
|
|
1130
1131
|
SourcesSamlUsersamlsourceconnection: 'authentik_sources_saml.usersamlsourceconnection',
|
|
1131
1132
|
SourcesScimScimsource: 'authentik_sources_scim.scimsource',
|
|
1133
|
+
SourcesScimScimsourcepropertymapping: 'authentik_sources_scim.scimsourcepropertymapping',
|
|
1132
1134
|
StagesAuthenticatorDuoAuthenticatorduostage: 'authentik_stages_authenticator_duo.authenticatorduostage',
|
|
1133
1135
|
StagesAuthenticatorDuoDuodevice: 'authentik_stages_authenticator_duo.duodevice',
|
|
1134
1136
|
StagesAuthenticatorSmsAuthenticatorsmsstage: 'authentik_stages_authenticator_sms.authenticatorsmsstage',
|
package/src/models/ModelEnum.ts
CHANGED
|
@@ -52,6 +52,7 @@ export const ModelEnum = {
|
|
|
52
52
|
SourcesSamlSamlsource: 'authentik_sources_saml.samlsource',
|
|
53
53
|
SourcesSamlUsersamlsourceconnection: 'authentik_sources_saml.usersamlsourceconnection',
|
|
54
54
|
SourcesScimScimsource: 'authentik_sources_scim.scimsource',
|
|
55
|
+
SourcesScimScimsourcepropertymapping: 'authentik_sources_scim.scimsourcepropertymapping',
|
|
55
56
|
StagesAuthenticatorDuoAuthenticatorduostage: 'authentik_stages_authenticator_duo.authenticatorduostage',
|
|
56
57
|
StagesAuthenticatorDuoDuodevice: 'authentik_stages_authenticator_duo.duodevice',
|
|
57
58
|
StagesAuthenticatorSmsAuthenticatorsmsstage: 'authentik_stages_authenticator_sms.authenticatorsmsstage',
|