@goauthentik/api 2024.6.1-1721909829 → 2024.6.1-1721927330
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 +9 -4
- package/dist/apis/OutpostsApi.d.ts +7 -28
- package/dist/apis/OutpostsApi.js +11 -78
- package/dist/apis/PropertymappingsApi.d.ts +173 -87
- package/dist/apis/PropertymappingsApi.js +575 -301
- package/dist/apis/RbacApi.d.ts +4 -2
- package/dist/apis/RbacApi.js +4 -2
- package/dist/esm/apis/OutpostsApi.d.ts +7 -28
- package/dist/esm/apis/OutpostsApi.js +12 -79
- package/dist/esm/apis/PropertymappingsApi.d.ts +173 -87
- package/dist/esm/apis/PropertymappingsApi.js +576 -302
- package/dist/esm/apis/RbacApi.d.ts +4 -2
- package/dist/esm/apis/RbacApi.js +4 -2
- package/dist/esm/models/{LDAPPropertyMapping.d.ts → LDAPSourcePropertyMapping.d.ts} +15 -15
- package/dist/esm/models/{LDAPPropertyMapping.js → LDAPSourcePropertyMapping.js} +6 -6
- package/dist/{models/LDAPPropertyMappingRequest.d.ts → esm/models/LDAPSourcePropertyMappingRequest.d.ts} +10 -10
- package/dist/esm/models/{LDAPPropertyMappingRequest.js → LDAPSourcePropertyMappingRequest.js} +6 -6
- package/dist/esm/models/ModelEnum.d.ts +2 -1
- package/dist/esm/models/ModelEnum.js +2 -1
- package/dist/esm/models/PaginatedLDAPSourcePropertyMappingList.d.ts +39 -0
- package/dist/esm/models/{PaginatedLDAPPropertyMappingList.js → PaginatedLDAPSourcePropertyMappingList.js} +9 -9
- package/dist/esm/models/PaginatedRadiusProviderPropertyMappingList.d.ts +39 -0
- package/dist/esm/models/PaginatedRadiusProviderPropertyMappingList.js +48 -0
- package/dist/esm/models/PatchedLDAPSourcePropertyMappingRequest.d.ts +43 -0
- package/dist/esm/models/{PatchedLDAPPropertyMappingRequest.js → PatchedLDAPSourcePropertyMappingRequest.js} +6 -6
- package/dist/esm/models/PatchedRadiusProviderPropertyMappingRequest.d.ts +43 -0
- package/dist/esm/models/PatchedRadiusProviderPropertyMappingRequest.js +47 -0
- package/dist/esm/models/RadiusCheckAccess.d.ts +38 -0
- package/dist/esm/models/RadiusCheckAccess.js +47 -0
- package/dist/esm/models/RadiusProviderPropertyMapping.d.ts +73 -0
- package/dist/esm/models/RadiusProviderPropertyMapping.js +59 -0
- package/dist/esm/models/RadiusProviderPropertyMappingRequest.d.ts +43 -0
- package/dist/esm/models/RadiusProviderPropertyMappingRequest.js +49 -0
- package/dist/esm/models/index.d.ts +9 -4
- package/dist/esm/models/index.js +9 -4
- package/dist/models/{LDAPPropertyMapping.d.ts → LDAPSourcePropertyMapping.d.ts} +15 -15
- package/dist/models/{LDAPPropertyMapping.js → LDAPSourcePropertyMapping.js} +11 -11
- package/dist/{esm/models/LDAPPropertyMappingRequest.d.ts → models/LDAPSourcePropertyMappingRequest.d.ts} +10 -10
- package/dist/models/{LDAPPropertyMappingRequest.js → LDAPSourcePropertyMappingRequest.js} +11 -11
- package/dist/models/ModelEnum.d.ts +2 -1
- package/dist/models/ModelEnum.js +2 -1
- package/dist/models/PaginatedLDAPSourcePropertyMappingList.d.ts +39 -0
- package/dist/models/PaginatedLDAPSourcePropertyMappingList.js +55 -0
- package/dist/models/PaginatedRadiusProviderPropertyMappingList.d.ts +39 -0
- package/dist/models/PaginatedRadiusProviderPropertyMappingList.js +55 -0
- package/dist/models/PatchedLDAPSourcePropertyMappingRequest.d.ts +43 -0
- package/dist/models/PatchedLDAPSourcePropertyMappingRequest.js +54 -0
- package/dist/models/PatchedRadiusProviderPropertyMappingRequest.d.ts +43 -0
- package/dist/models/PatchedRadiusProviderPropertyMappingRequest.js +54 -0
- package/dist/models/RadiusCheckAccess.d.ts +38 -0
- package/dist/models/RadiusCheckAccess.js +54 -0
- package/dist/models/RadiusProviderPropertyMapping.d.ts +73 -0
- package/dist/models/RadiusProviderPropertyMapping.js +66 -0
- package/dist/models/RadiusProviderPropertyMappingRequest.d.ts +43 -0
- package/dist/models/RadiusProviderPropertyMappingRequest.js +56 -0
- package/dist/models/index.d.ts +9 -4
- package/dist/models/index.js +9 -4
- package/package.json +1 -1
- package/src/apis/OutpostsApi.ts +17 -102
- package/src/apis/PropertymappingsApi.ts +888 -533
- package/src/apis/RbacApi.ts +4 -2
- package/src/models/{LDAPPropertyMapping.ts → LDAPSourcePropertyMapping.ts} +16 -16
- package/src/models/{LDAPPropertyMappingRequest.ts → LDAPSourcePropertyMappingRequest.ts} +11 -11
- package/src/models/ModelEnum.ts +2 -1
- package/src/models/PaginatedLDAPSourcePropertyMappingList.ts +88 -0
- package/src/models/PaginatedRadiusProviderPropertyMappingList.ts +88 -0
- package/src/models/{PatchedLDAPPropertyMappingRequest.ts → PatchedLDAPSourcePropertyMappingRequest.ts} +11 -11
- package/src/models/PatchedRadiusProviderPropertyMappingRequest.ts +81 -0
- package/src/models/RadiusCheckAccess.ts +81 -0
- package/src/models/RadiusProviderPropertyMapping.ts +123 -0
- package/src/models/RadiusProviderPropertyMappingRequest.ts +83 -0
- package/src/models/index.ts +9 -4
- package/dist/esm/models/PaginatedLDAPPropertyMappingList.d.ts +0 -39
- package/dist/esm/models/PatchedLDAPPropertyMappingRequest.d.ts +0 -43
- package/dist/models/PaginatedLDAPPropertyMappingList.d.ts +0 -39
- package/dist/models/PaginatedLDAPPropertyMappingList.js +0 -55
- package/dist/models/PatchedLDAPPropertyMappingRequest.d.ts +0 -43
- package/dist/models/PatchedLDAPPropertyMappingRequest.js +0 -54
- package/src/models/PaginatedLDAPPropertyMappingList.ts +0 -88
|
@@ -18,26 +18,28 @@ import type {
|
|
|
18
18
|
GenericError,
|
|
19
19
|
GoogleWorkspaceProviderMapping,
|
|
20
20
|
GoogleWorkspaceProviderMappingRequest,
|
|
21
|
-
|
|
22
|
-
|
|
21
|
+
LDAPSourcePropertyMapping,
|
|
22
|
+
LDAPSourcePropertyMappingRequest,
|
|
23
23
|
MicrosoftEntraProviderMapping,
|
|
24
24
|
MicrosoftEntraProviderMappingRequest,
|
|
25
25
|
NotificationWebhookMapping,
|
|
26
26
|
NotificationWebhookMappingRequest,
|
|
27
27
|
PaginatedGoogleWorkspaceProviderMappingList,
|
|
28
|
-
|
|
28
|
+
PaginatedLDAPSourcePropertyMappingList,
|
|
29
29
|
PaginatedMicrosoftEntraProviderMappingList,
|
|
30
30
|
PaginatedNotificationWebhookMappingList,
|
|
31
31
|
PaginatedPropertyMappingList,
|
|
32
32
|
PaginatedRACPropertyMappingList,
|
|
33
|
+
PaginatedRadiusProviderPropertyMappingList,
|
|
33
34
|
PaginatedSAMLPropertyMappingList,
|
|
34
35
|
PaginatedSCIMMappingList,
|
|
35
36
|
PaginatedScopeMappingList,
|
|
36
37
|
PatchedGoogleWorkspaceProviderMappingRequest,
|
|
37
|
-
|
|
38
|
+
PatchedLDAPSourcePropertyMappingRequest,
|
|
38
39
|
PatchedMicrosoftEntraProviderMappingRequest,
|
|
39
40
|
PatchedNotificationWebhookMappingRequest,
|
|
40
41
|
PatchedRACPropertyMappingRequest,
|
|
42
|
+
PatchedRadiusProviderPropertyMappingRequest,
|
|
41
43
|
PatchedSAMLPropertyMappingRequest,
|
|
42
44
|
PatchedSCIMMappingRequest,
|
|
43
45
|
PatchedScopeMappingRequest,
|
|
@@ -46,6 +48,8 @@ import type {
|
|
|
46
48
|
PropertyMappingTestResult,
|
|
47
49
|
RACPropertyMapping,
|
|
48
50
|
RACPropertyMappingRequest,
|
|
51
|
+
RadiusProviderPropertyMapping,
|
|
52
|
+
RadiusProviderPropertyMappingRequest,
|
|
49
53
|
SAMLPropertyMapping,
|
|
50
54
|
SAMLPropertyMappingRequest,
|
|
51
55
|
SCIMMapping,
|
|
@@ -63,10 +67,10 @@ import {
|
|
|
63
67
|
GoogleWorkspaceProviderMappingToJSON,
|
|
64
68
|
GoogleWorkspaceProviderMappingRequestFromJSON,
|
|
65
69
|
GoogleWorkspaceProviderMappingRequestToJSON,
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
+
LDAPSourcePropertyMappingFromJSON,
|
|
71
|
+
LDAPSourcePropertyMappingToJSON,
|
|
72
|
+
LDAPSourcePropertyMappingRequestFromJSON,
|
|
73
|
+
LDAPSourcePropertyMappingRequestToJSON,
|
|
70
74
|
MicrosoftEntraProviderMappingFromJSON,
|
|
71
75
|
MicrosoftEntraProviderMappingToJSON,
|
|
72
76
|
MicrosoftEntraProviderMappingRequestFromJSON,
|
|
@@ -77,8 +81,8 @@ import {
|
|
|
77
81
|
NotificationWebhookMappingRequestToJSON,
|
|
78
82
|
PaginatedGoogleWorkspaceProviderMappingListFromJSON,
|
|
79
83
|
PaginatedGoogleWorkspaceProviderMappingListToJSON,
|
|
80
|
-
|
|
81
|
-
|
|
84
|
+
PaginatedLDAPSourcePropertyMappingListFromJSON,
|
|
85
|
+
PaginatedLDAPSourcePropertyMappingListToJSON,
|
|
82
86
|
PaginatedMicrosoftEntraProviderMappingListFromJSON,
|
|
83
87
|
PaginatedMicrosoftEntraProviderMappingListToJSON,
|
|
84
88
|
PaginatedNotificationWebhookMappingListFromJSON,
|
|
@@ -87,6 +91,8 @@ import {
|
|
|
87
91
|
PaginatedPropertyMappingListToJSON,
|
|
88
92
|
PaginatedRACPropertyMappingListFromJSON,
|
|
89
93
|
PaginatedRACPropertyMappingListToJSON,
|
|
94
|
+
PaginatedRadiusProviderPropertyMappingListFromJSON,
|
|
95
|
+
PaginatedRadiusProviderPropertyMappingListToJSON,
|
|
90
96
|
PaginatedSAMLPropertyMappingListFromJSON,
|
|
91
97
|
PaginatedSAMLPropertyMappingListToJSON,
|
|
92
98
|
PaginatedSCIMMappingListFromJSON,
|
|
@@ -95,14 +101,16 @@ import {
|
|
|
95
101
|
PaginatedScopeMappingListToJSON,
|
|
96
102
|
PatchedGoogleWorkspaceProviderMappingRequestFromJSON,
|
|
97
103
|
PatchedGoogleWorkspaceProviderMappingRequestToJSON,
|
|
98
|
-
|
|
99
|
-
|
|
104
|
+
PatchedLDAPSourcePropertyMappingRequestFromJSON,
|
|
105
|
+
PatchedLDAPSourcePropertyMappingRequestToJSON,
|
|
100
106
|
PatchedMicrosoftEntraProviderMappingRequestFromJSON,
|
|
101
107
|
PatchedMicrosoftEntraProviderMappingRequestToJSON,
|
|
102
108
|
PatchedNotificationWebhookMappingRequestFromJSON,
|
|
103
109
|
PatchedNotificationWebhookMappingRequestToJSON,
|
|
104
110
|
PatchedRACPropertyMappingRequestFromJSON,
|
|
105
111
|
PatchedRACPropertyMappingRequestToJSON,
|
|
112
|
+
PatchedRadiusProviderPropertyMappingRequestFromJSON,
|
|
113
|
+
PatchedRadiusProviderPropertyMappingRequestToJSON,
|
|
106
114
|
PatchedSAMLPropertyMappingRequestFromJSON,
|
|
107
115
|
PatchedSAMLPropertyMappingRequestToJSON,
|
|
108
116
|
PatchedSCIMMappingRequestFromJSON,
|
|
@@ -119,6 +127,10 @@ import {
|
|
|
119
127
|
RACPropertyMappingToJSON,
|
|
120
128
|
RACPropertyMappingRequestFromJSON,
|
|
121
129
|
RACPropertyMappingRequestToJSON,
|
|
130
|
+
RadiusProviderPropertyMappingFromJSON,
|
|
131
|
+
RadiusProviderPropertyMappingToJSON,
|
|
132
|
+
RadiusProviderPropertyMappingRequestFromJSON,
|
|
133
|
+
RadiusProviderPropertyMappingRequestToJSON,
|
|
122
134
|
SAMLPropertyMappingFromJSON,
|
|
123
135
|
SAMLPropertyMappingToJSON,
|
|
124
136
|
SAMLPropertyMappingRequestFromJSON,
|
|
@@ -165,43 +177,6 @@ export interface PropertymappingsAllUsedByListRequest {
|
|
|
165
177
|
pmUuid: string;
|
|
166
178
|
}
|
|
167
179
|
|
|
168
|
-
export interface PropertymappingsLdapCreateRequest {
|
|
169
|
-
lDAPPropertyMappingRequest: LDAPPropertyMappingRequest;
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
export interface PropertymappingsLdapDestroyRequest {
|
|
173
|
-
pmUuid: string;
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
export interface PropertymappingsLdapListRequest {
|
|
177
|
-
expression?: string;
|
|
178
|
-
managed?: Array<string>;
|
|
179
|
-
name?: string;
|
|
180
|
-
ordering?: string;
|
|
181
|
-
page?: number;
|
|
182
|
-
pageSize?: number;
|
|
183
|
-
pmUuid?: string;
|
|
184
|
-
search?: string;
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
export interface PropertymappingsLdapPartialUpdateRequest {
|
|
188
|
-
pmUuid: string;
|
|
189
|
-
patchedLDAPPropertyMappingRequest?: PatchedLDAPPropertyMappingRequest;
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
export interface PropertymappingsLdapRetrieveRequest {
|
|
193
|
-
pmUuid: string;
|
|
194
|
-
}
|
|
195
|
-
|
|
196
|
-
export interface PropertymappingsLdapUpdateRequest {
|
|
197
|
-
pmUuid: string;
|
|
198
|
-
lDAPPropertyMappingRequest: LDAPPropertyMappingRequest;
|
|
199
|
-
}
|
|
200
|
-
|
|
201
|
-
export interface PropertymappingsLdapUsedByListRequest {
|
|
202
|
-
pmUuid: string;
|
|
203
|
-
}
|
|
204
|
-
|
|
205
180
|
export interface PropertymappingsNotificationCreateRequest {
|
|
206
181
|
notificationWebhookMappingRequest: NotificationWebhookMappingRequest;
|
|
207
182
|
}
|
|
@@ -345,6 +320,43 @@ export interface PropertymappingsRacUsedByListRequest {
|
|
|
345
320
|
pmUuid: string;
|
|
346
321
|
}
|
|
347
322
|
|
|
323
|
+
export interface PropertymappingsRadiusCreateRequest {
|
|
324
|
+
radiusProviderPropertyMappingRequest: RadiusProviderPropertyMappingRequest;
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
export interface PropertymappingsRadiusDestroyRequest {
|
|
328
|
+
pmUuid: string;
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
export interface PropertymappingsRadiusListRequest {
|
|
332
|
+
expression?: string;
|
|
333
|
+
managed?: Array<string>;
|
|
334
|
+
name?: string;
|
|
335
|
+
ordering?: string;
|
|
336
|
+
page?: number;
|
|
337
|
+
pageSize?: number;
|
|
338
|
+
pmUuid?: string;
|
|
339
|
+
search?: string;
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
export interface PropertymappingsRadiusPartialUpdateRequest {
|
|
343
|
+
pmUuid: string;
|
|
344
|
+
patchedRadiusProviderPropertyMappingRequest?: PatchedRadiusProviderPropertyMappingRequest;
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
export interface PropertymappingsRadiusRetrieveRequest {
|
|
348
|
+
pmUuid: string;
|
|
349
|
+
}
|
|
350
|
+
|
|
351
|
+
export interface PropertymappingsRadiusUpdateRequest {
|
|
352
|
+
pmUuid: string;
|
|
353
|
+
radiusProviderPropertyMappingRequest: RadiusProviderPropertyMappingRequest;
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
export interface PropertymappingsRadiusUsedByListRequest {
|
|
357
|
+
pmUuid: string;
|
|
358
|
+
}
|
|
359
|
+
|
|
348
360
|
export interface PropertymappingsSamlCreateRequest {
|
|
349
361
|
sAMLPropertyMappingRequest: SAMLPropertyMappingRequest;
|
|
350
362
|
}
|
|
@@ -457,6 +469,43 @@ export interface PropertymappingsScopeUsedByListRequest {
|
|
|
457
469
|
pmUuid: string;
|
|
458
470
|
}
|
|
459
471
|
|
|
472
|
+
export interface PropertymappingsSourceLdapCreateRequest {
|
|
473
|
+
lDAPSourcePropertyMappingRequest: LDAPSourcePropertyMappingRequest;
|
|
474
|
+
}
|
|
475
|
+
|
|
476
|
+
export interface PropertymappingsSourceLdapDestroyRequest {
|
|
477
|
+
pmUuid: string;
|
|
478
|
+
}
|
|
479
|
+
|
|
480
|
+
export interface PropertymappingsSourceLdapListRequest {
|
|
481
|
+
expression?: string;
|
|
482
|
+
managed?: Array<string>;
|
|
483
|
+
name?: string;
|
|
484
|
+
ordering?: string;
|
|
485
|
+
page?: number;
|
|
486
|
+
pageSize?: number;
|
|
487
|
+
pmUuid?: string;
|
|
488
|
+
search?: string;
|
|
489
|
+
}
|
|
490
|
+
|
|
491
|
+
export interface PropertymappingsSourceLdapPartialUpdateRequest {
|
|
492
|
+
pmUuid: string;
|
|
493
|
+
patchedLDAPSourcePropertyMappingRequest?: PatchedLDAPSourcePropertyMappingRequest;
|
|
494
|
+
}
|
|
495
|
+
|
|
496
|
+
export interface PropertymappingsSourceLdapRetrieveRequest {
|
|
497
|
+
pmUuid: string;
|
|
498
|
+
}
|
|
499
|
+
|
|
500
|
+
export interface PropertymappingsSourceLdapUpdateRequest {
|
|
501
|
+
pmUuid: string;
|
|
502
|
+
lDAPSourcePropertyMappingRequest: LDAPSourcePropertyMappingRequest;
|
|
503
|
+
}
|
|
504
|
+
|
|
505
|
+
export interface PropertymappingsSourceLdapUsedByListRequest {
|
|
506
|
+
pmUuid: string;
|
|
507
|
+
}
|
|
508
|
+
|
|
460
509
|
/**
|
|
461
510
|
*
|
|
462
511
|
*/
|
|
@@ -709,11 +758,11 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
|
709
758
|
}
|
|
710
759
|
|
|
711
760
|
/**
|
|
712
|
-
*
|
|
761
|
+
* NotificationWebhookMapping Viewset
|
|
713
762
|
*/
|
|
714
|
-
async
|
|
715
|
-
if (requestParameters.
|
|
716
|
-
throw new runtime.RequiredError('
|
|
763
|
+
async propertymappingsNotificationCreateRaw(requestParameters: PropertymappingsNotificationCreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<NotificationWebhookMapping>> {
|
|
764
|
+
if (requestParameters.notificationWebhookMappingRequest === null || requestParameters.notificationWebhookMappingRequest === undefined) {
|
|
765
|
+
throw new runtime.RequiredError('notificationWebhookMappingRequest','Required parameter requestParameters.notificationWebhookMappingRequest was null or undefined when calling propertymappingsNotificationCreate.');
|
|
717
766
|
}
|
|
718
767
|
|
|
719
768
|
const queryParameters: any = {};
|
|
@@ -731,30 +780,30 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
|
731
780
|
}
|
|
732
781
|
}
|
|
733
782
|
const response = await this.request({
|
|
734
|
-
path: `/propertymappings/
|
|
783
|
+
path: `/propertymappings/notification/`,
|
|
735
784
|
method: 'POST',
|
|
736
785
|
headers: headerParameters,
|
|
737
786
|
query: queryParameters,
|
|
738
|
-
body:
|
|
787
|
+
body: NotificationWebhookMappingRequestToJSON(requestParameters.notificationWebhookMappingRequest),
|
|
739
788
|
}, initOverrides);
|
|
740
789
|
|
|
741
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
790
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => NotificationWebhookMappingFromJSON(jsonValue));
|
|
742
791
|
}
|
|
743
792
|
|
|
744
793
|
/**
|
|
745
|
-
*
|
|
794
|
+
* NotificationWebhookMapping Viewset
|
|
746
795
|
*/
|
|
747
|
-
async
|
|
748
|
-
const response = await this.
|
|
796
|
+
async propertymappingsNotificationCreate(requestParameters: PropertymappingsNotificationCreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<NotificationWebhookMapping> {
|
|
797
|
+
const response = await this.propertymappingsNotificationCreateRaw(requestParameters, initOverrides);
|
|
749
798
|
return await response.value();
|
|
750
799
|
}
|
|
751
800
|
|
|
752
801
|
/**
|
|
753
|
-
*
|
|
802
|
+
* NotificationWebhookMapping Viewset
|
|
754
803
|
*/
|
|
755
|
-
async
|
|
804
|
+
async propertymappingsNotificationDestroyRaw(requestParameters: PropertymappingsNotificationDestroyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
756
805
|
if (requestParameters.pmUuid === null || requestParameters.pmUuid === undefined) {
|
|
757
|
-
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling
|
|
806
|
+
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling propertymappingsNotificationDestroy.');
|
|
758
807
|
}
|
|
759
808
|
|
|
760
809
|
const queryParameters: any = {};
|
|
@@ -770,7 +819,7 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
|
770
819
|
}
|
|
771
820
|
}
|
|
772
821
|
const response = await this.request({
|
|
773
|
-
path: `/propertymappings/
|
|
822
|
+
path: `/propertymappings/notification/{pm_uuid}/`.replace(`{${"pm_uuid"}}`, encodeURIComponent(String(requestParameters.pmUuid))),
|
|
774
823
|
method: 'DELETE',
|
|
775
824
|
headers: headerParameters,
|
|
776
825
|
query: queryParameters,
|
|
@@ -780,26 +829,18 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
|
780
829
|
}
|
|
781
830
|
|
|
782
831
|
/**
|
|
783
|
-
*
|
|
832
|
+
* NotificationWebhookMapping Viewset
|
|
784
833
|
*/
|
|
785
|
-
async
|
|
786
|
-
await this.
|
|
834
|
+
async propertymappingsNotificationDestroy(requestParameters: PropertymappingsNotificationDestroyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
|
|
835
|
+
await this.propertymappingsNotificationDestroyRaw(requestParameters, initOverrides);
|
|
787
836
|
}
|
|
788
837
|
|
|
789
838
|
/**
|
|
790
|
-
*
|
|
839
|
+
* NotificationWebhookMapping Viewset
|
|
791
840
|
*/
|
|
792
|
-
async
|
|
841
|
+
async propertymappingsNotificationListRaw(requestParameters: PropertymappingsNotificationListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedNotificationWebhookMappingList>> {
|
|
793
842
|
const queryParameters: any = {};
|
|
794
843
|
|
|
795
|
-
if (requestParameters.expression !== undefined) {
|
|
796
|
-
queryParameters['expression'] = requestParameters.expression;
|
|
797
|
-
}
|
|
798
|
-
|
|
799
|
-
if (requestParameters.managed) {
|
|
800
|
-
queryParameters['managed'] = requestParameters.managed;
|
|
801
|
-
}
|
|
802
|
-
|
|
803
844
|
if (requestParameters.name !== undefined) {
|
|
804
845
|
queryParameters['name'] = requestParameters.name;
|
|
805
846
|
}
|
|
@@ -816,10 +857,6 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
|
816
857
|
queryParameters['page_size'] = requestParameters.pageSize;
|
|
817
858
|
}
|
|
818
859
|
|
|
819
|
-
if (requestParameters.pmUuid !== undefined) {
|
|
820
|
-
queryParameters['pm_uuid'] = requestParameters.pmUuid;
|
|
821
|
-
}
|
|
822
|
-
|
|
823
860
|
if (requestParameters.search !== undefined) {
|
|
824
861
|
queryParameters['search'] = requestParameters.search;
|
|
825
862
|
}
|
|
@@ -835,29 +872,29 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
|
835
872
|
}
|
|
836
873
|
}
|
|
837
874
|
const response = await this.request({
|
|
838
|
-
path: `/propertymappings/
|
|
875
|
+
path: `/propertymappings/notification/`,
|
|
839
876
|
method: 'GET',
|
|
840
877
|
headers: headerParameters,
|
|
841
878
|
query: queryParameters,
|
|
842
879
|
}, initOverrides);
|
|
843
880
|
|
|
844
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
881
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => PaginatedNotificationWebhookMappingListFromJSON(jsonValue));
|
|
845
882
|
}
|
|
846
883
|
|
|
847
884
|
/**
|
|
848
|
-
*
|
|
885
|
+
* NotificationWebhookMapping Viewset
|
|
849
886
|
*/
|
|
850
|
-
async
|
|
851
|
-
const response = await this.
|
|
887
|
+
async propertymappingsNotificationList(requestParameters: PropertymappingsNotificationListRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedNotificationWebhookMappingList> {
|
|
888
|
+
const response = await this.propertymappingsNotificationListRaw(requestParameters, initOverrides);
|
|
852
889
|
return await response.value();
|
|
853
890
|
}
|
|
854
891
|
|
|
855
892
|
/**
|
|
856
|
-
*
|
|
893
|
+
* NotificationWebhookMapping Viewset
|
|
857
894
|
*/
|
|
858
|
-
async
|
|
895
|
+
async propertymappingsNotificationPartialUpdateRaw(requestParameters: PropertymappingsNotificationPartialUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<NotificationWebhookMapping>> {
|
|
859
896
|
if (requestParameters.pmUuid === null || requestParameters.pmUuid === undefined) {
|
|
860
|
-
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling
|
|
897
|
+
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling propertymappingsNotificationPartialUpdate.');
|
|
861
898
|
}
|
|
862
899
|
|
|
863
900
|
const queryParameters: any = {};
|
|
@@ -875,30 +912,30 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
|
875
912
|
}
|
|
876
913
|
}
|
|
877
914
|
const response = await this.request({
|
|
878
|
-
path: `/propertymappings/
|
|
915
|
+
path: `/propertymappings/notification/{pm_uuid}/`.replace(`{${"pm_uuid"}}`, encodeURIComponent(String(requestParameters.pmUuid))),
|
|
879
916
|
method: 'PATCH',
|
|
880
917
|
headers: headerParameters,
|
|
881
918
|
query: queryParameters,
|
|
882
|
-
body:
|
|
919
|
+
body: PatchedNotificationWebhookMappingRequestToJSON(requestParameters.patchedNotificationWebhookMappingRequest),
|
|
883
920
|
}, initOverrides);
|
|
884
921
|
|
|
885
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
922
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => NotificationWebhookMappingFromJSON(jsonValue));
|
|
886
923
|
}
|
|
887
924
|
|
|
888
925
|
/**
|
|
889
|
-
*
|
|
926
|
+
* NotificationWebhookMapping Viewset
|
|
890
927
|
*/
|
|
891
|
-
async
|
|
892
|
-
const response = await this.
|
|
928
|
+
async propertymappingsNotificationPartialUpdate(requestParameters: PropertymappingsNotificationPartialUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<NotificationWebhookMapping> {
|
|
929
|
+
const response = await this.propertymappingsNotificationPartialUpdateRaw(requestParameters, initOverrides);
|
|
893
930
|
return await response.value();
|
|
894
931
|
}
|
|
895
932
|
|
|
896
933
|
/**
|
|
897
|
-
*
|
|
934
|
+
* NotificationWebhookMapping Viewset
|
|
898
935
|
*/
|
|
899
|
-
async
|
|
936
|
+
async propertymappingsNotificationRetrieveRaw(requestParameters: PropertymappingsNotificationRetrieveRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<NotificationWebhookMapping>> {
|
|
900
937
|
if (requestParameters.pmUuid === null || requestParameters.pmUuid === undefined) {
|
|
901
|
-
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling
|
|
938
|
+
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling propertymappingsNotificationRetrieve.');
|
|
902
939
|
}
|
|
903
940
|
|
|
904
941
|
const queryParameters: any = {};
|
|
@@ -914,33 +951,33 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
|
914
951
|
}
|
|
915
952
|
}
|
|
916
953
|
const response = await this.request({
|
|
917
|
-
path: `/propertymappings/
|
|
954
|
+
path: `/propertymappings/notification/{pm_uuid}/`.replace(`{${"pm_uuid"}}`, encodeURIComponent(String(requestParameters.pmUuid))),
|
|
918
955
|
method: 'GET',
|
|
919
956
|
headers: headerParameters,
|
|
920
957
|
query: queryParameters,
|
|
921
958
|
}, initOverrides);
|
|
922
959
|
|
|
923
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
960
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => NotificationWebhookMappingFromJSON(jsonValue));
|
|
924
961
|
}
|
|
925
962
|
|
|
926
963
|
/**
|
|
927
|
-
*
|
|
964
|
+
* NotificationWebhookMapping Viewset
|
|
928
965
|
*/
|
|
929
|
-
async
|
|
930
|
-
const response = await this.
|
|
966
|
+
async propertymappingsNotificationRetrieve(requestParameters: PropertymappingsNotificationRetrieveRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<NotificationWebhookMapping> {
|
|
967
|
+
const response = await this.propertymappingsNotificationRetrieveRaw(requestParameters, initOverrides);
|
|
931
968
|
return await response.value();
|
|
932
969
|
}
|
|
933
970
|
|
|
934
971
|
/**
|
|
935
|
-
*
|
|
972
|
+
* NotificationWebhookMapping Viewset
|
|
936
973
|
*/
|
|
937
|
-
async
|
|
974
|
+
async propertymappingsNotificationUpdateRaw(requestParameters: PropertymappingsNotificationUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<NotificationWebhookMapping>> {
|
|
938
975
|
if (requestParameters.pmUuid === null || requestParameters.pmUuid === undefined) {
|
|
939
|
-
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling
|
|
976
|
+
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling propertymappingsNotificationUpdate.');
|
|
940
977
|
}
|
|
941
978
|
|
|
942
|
-
if (requestParameters.
|
|
943
|
-
throw new runtime.RequiredError('
|
|
979
|
+
if (requestParameters.notificationWebhookMappingRequest === null || requestParameters.notificationWebhookMappingRequest === undefined) {
|
|
980
|
+
throw new runtime.RequiredError('notificationWebhookMappingRequest','Required parameter requestParameters.notificationWebhookMappingRequest was null or undefined when calling propertymappingsNotificationUpdate.');
|
|
944
981
|
}
|
|
945
982
|
|
|
946
983
|
const queryParameters: any = {};
|
|
@@ -958,30 +995,30 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
|
958
995
|
}
|
|
959
996
|
}
|
|
960
997
|
const response = await this.request({
|
|
961
|
-
path: `/propertymappings/
|
|
998
|
+
path: `/propertymappings/notification/{pm_uuid}/`.replace(`{${"pm_uuid"}}`, encodeURIComponent(String(requestParameters.pmUuid))),
|
|
962
999
|
method: 'PUT',
|
|
963
1000
|
headers: headerParameters,
|
|
964
1001
|
query: queryParameters,
|
|
965
|
-
body:
|
|
1002
|
+
body: NotificationWebhookMappingRequestToJSON(requestParameters.notificationWebhookMappingRequest),
|
|
966
1003
|
}, initOverrides);
|
|
967
1004
|
|
|
968
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
1005
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => NotificationWebhookMappingFromJSON(jsonValue));
|
|
969
1006
|
}
|
|
970
1007
|
|
|
971
1008
|
/**
|
|
972
|
-
*
|
|
1009
|
+
* NotificationWebhookMapping Viewset
|
|
973
1010
|
*/
|
|
974
|
-
async
|
|
975
|
-
const response = await this.
|
|
1011
|
+
async propertymappingsNotificationUpdate(requestParameters: PropertymappingsNotificationUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<NotificationWebhookMapping> {
|
|
1012
|
+
const response = await this.propertymappingsNotificationUpdateRaw(requestParameters, initOverrides);
|
|
976
1013
|
return await response.value();
|
|
977
1014
|
}
|
|
978
1015
|
|
|
979
1016
|
/**
|
|
980
1017
|
* Get a list of all objects that use this object
|
|
981
1018
|
*/
|
|
982
|
-
async
|
|
1019
|
+
async propertymappingsNotificationUsedByListRaw(requestParameters: PropertymappingsNotificationUsedByListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<UsedBy>>> {
|
|
983
1020
|
if (requestParameters.pmUuid === null || requestParameters.pmUuid === undefined) {
|
|
984
|
-
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling
|
|
1021
|
+
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling propertymappingsNotificationUsedByList.');
|
|
985
1022
|
}
|
|
986
1023
|
|
|
987
1024
|
const queryParameters: any = {};
|
|
@@ -997,7 +1034,7 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
|
997
1034
|
}
|
|
998
1035
|
}
|
|
999
1036
|
const response = await this.request({
|
|
1000
|
-
path: `/propertymappings/
|
|
1037
|
+
path: `/propertymappings/notification/{pm_uuid}/used_by/`.replace(`{${"pm_uuid"}}`, encodeURIComponent(String(requestParameters.pmUuid))),
|
|
1001
1038
|
method: 'GET',
|
|
1002
1039
|
headers: headerParameters,
|
|
1003
1040
|
query: queryParameters,
|
|
@@ -1009,17 +1046,17 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
|
1009
1046
|
/**
|
|
1010
1047
|
* Get a list of all objects that use this object
|
|
1011
1048
|
*/
|
|
1012
|
-
async
|
|
1013
|
-
const response = await this.
|
|
1049
|
+
async propertymappingsNotificationUsedByList(requestParameters: PropertymappingsNotificationUsedByListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<UsedBy>> {
|
|
1050
|
+
const response = await this.propertymappingsNotificationUsedByListRaw(requestParameters, initOverrides);
|
|
1014
1051
|
return await response.value();
|
|
1015
1052
|
}
|
|
1016
1053
|
|
|
1017
1054
|
/**
|
|
1018
|
-
*
|
|
1055
|
+
* GoogleWorkspaceProviderMapping Viewset
|
|
1019
1056
|
*/
|
|
1020
|
-
async
|
|
1021
|
-
if (requestParameters.
|
|
1022
|
-
throw new runtime.RequiredError('
|
|
1057
|
+
async propertymappingsProviderGoogleWorkspaceCreateRaw(requestParameters: PropertymappingsProviderGoogleWorkspaceCreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GoogleWorkspaceProviderMapping>> {
|
|
1058
|
+
if (requestParameters.googleWorkspaceProviderMappingRequest === null || requestParameters.googleWorkspaceProviderMappingRequest === undefined) {
|
|
1059
|
+
throw new runtime.RequiredError('googleWorkspaceProviderMappingRequest','Required parameter requestParameters.googleWorkspaceProviderMappingRequest was null or undefined when calling propertymappingsProviderGoogleWorkspaceCreate.');
|
|
1023
1060
|
}
|
|
1024
1061
|
|
|
1025
1062
|
const queryParameters: any = {};
|
|
@@ -1037,30 +1074,30 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
|
1037
1074
|
}
|
|
1038
1075
|
}
|
|
1039
1076
|
const response = await this.request({
|
|
1040
|
-
path: `/propertymappings/
|
|
1077
|
+
path: `/propertymappings/provider/google_workspace/`,
|
|
1041
1078
|
method: 'POST',
|
|
1042
1079
|
headers: headerParameters,
|
|
1043
1080
|
query: queryParameters,
|
|
1044
|
-
body:
|
|
1081
|
+
body: GoogleWorkspaceProviderMappingRequestToJSON(requestParameters.googleWorkspaceProviderMappingRequest),
|
|
1045
1082
|
}, initOverrides);
|
|
1046
1083
|
|
|
1047
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
1084
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => GoogleWorkspaceProviderMappingFromJSON(jsonValue));
|
|
1048
1085
|
}
|
|
1049
1086
|
|
|
1050
1087
|
/**
|
|
1051
|
-
*
|
|
1088
|
+
* GoogleWorkspaceProviderMapping Viewset
|
|
1052
1089
|
*/
|
|
1053
|
-
async
|
|
1054
|
-
const response = await this.
|
|
1090
|
+
async propertymappingsProviderGoogleWorkspaceCreate(requestParameters: PropertymappingsProviderGoogleWorkspaceCreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GoogleWorkspaceProviderMapping> {
|
|
1091
|
+
const response = await this.propertymappingsProviderGoogleWorkspaceCreateRaw(requestParameters, initOverrides);
|
|
1055
1092
|
return await response.value();
|
|
1056
1093
|
}
|
|
1057
1094
|
|
|
1058
1095
|
/**
|
|
1059
|
-
*
|
|
1096
|
+
* GoogleWorkspaceProviderMapping Viewset
|
|
1060
1097
|
*/
|
|
1061
|
-
async
|
|
1098
|
+
async propertymappingsProviderGoogleWorkspaceDestroyRaw(requestParameters: PropertymappingsProviderGoogleWorkspaceDestroyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
1062
1099
|
if (requestParameters.pmUuid === null || requestParameters.pmUuid === undefined) {
|
|
1063
|
-
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling
|
|
1100
|
+
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling propertymappingsProviderGoogleWorkspaceDestroy.');
|
|
1064
1101
|
}
|
|
1065
1102
|
|
|
1066
1103
|
const queryParameters: any = {};
|
|
@@ -1076,7 +1113,7 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
|
1076
1113
|
}
|
|
1077
1114
|
}
|
|
1078
1115
|
const response = await this.request({
|
|
1079
|
-
path: `/propertymappings/
|
|
1116
|
+
path: `/propertymappings/provider/google_workspace/{pm_uuid}/`.replace(`{${"pm_uuid"}}`, encodeURIComponent(String(requestParameters.pmUuid))),
|
|
1080
1117
|
method: 'DELETE',
|
|
1081
1118
|
headers: headerParameters,
|
|
1082
1119
|
query: queryParameters,
|
|
@@ -1086,18 +1123,26 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
|
1086
1123
|
}
|
|
1087
1124
|
|
|
1088
1125
|
/**
|
|
1089
|
-
*
|
|
1126
|
+
* GoogleWorkspaceProviderMapping Viewset
|
|
1090
1127
|
*/
|
|
1091
|
-
async
|
|
1092
|
-
await this.
|
|
1128
|
+
async propertymappingsProviderGoogleWorkspaceDestroy(requestParameters: PropertymappingsProviderGoogleWorkspaceDestroyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
|
|
1129
|
+
await this.propertymappingsProviderGoogleWorkspaceDestroyRaw(requestParameters, initOverrides);
|
|
1093
1130
|
}
|
|
1094
1131
|
|
|
1095
1132
|
/**
|
|
1096
|
-
*
|
|
1133
|
+
* GoogleWorkspaceProviderMapping Viewset
|
|
1097
1134
|
*/
|
|
1098
|
-
async
|
|
1135
|
+
async propertymappingsProviderGoogleWorkspaceListRaw(requestParameters: PropertymappingsProviderGoogleWorkspaceListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedGoogleWorkspaceProviderMappingList>> {
|
|
1099
1136
|
const queryParameters: any = {};
|
|
1100
1137
|
|
|
1138
|
+
if (requestParameters.expression !== undefined) {
|
|
1139
|
+
queryParameters['expression'] = requestParameters.expression;
|
|
1140
|
+
}
|
|
1141
|
+
|
|
1142
|
+
if (requestParameters.managed) {
|
|
1143
|
+
queryParameters['managed'] = requestParameters.managed;
|
|
1144
|
+
}
|
|
1145
|
+
|
|
1101
1146
|
if (requestParameters.name !== undefined) {
|
|
1102
1147
|
queryParameters['name'] = requestParameters.name;
|
|
1103
1148
|
}
|
|
@@ -1114,6 +1159,10 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
|
1114
1159
|
queryParameters['page_size'] = requestParameters.pageSize;
|
|
1115
1160
|
}
|
|
1116
1161
|
|
|
1162
|
+
if (requestParameters.pmUuid !== undefined) {
|
|
1163
|
+
queryParameters['pm_uuid'] = requestParameters.pmUuid;
|
|
1164
|
+
}
|
|
1165
|
+
|
|
1117
1166
|
if (requestParameters.search !== undefined) {
|
|
1118
1167
|
queryParameters['search'] = requestParameters.search;
|
|
1119
1168
|
}
|
|
@@ -1129,29 +1178,29 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
|
1129
1178
|
}
|
|
1130
1179
|
}
|
|
1131
1180
|
const response = await this.request({
|
|
1132
|
-
path: `/propertymappings/
|
|
1181
|
+
path: `/propertymappings/provider/google_workspace/`,
|
|
1133
1182
|
method: 'GET',
|
|
1134
1183
|
headers: headerParameters,
|
|
1135
1184
|
query: queryParameters,
|
|
1136
1185
|
}, initOverrides);
|
|
1137
1186
|
|
|
1138
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
1187
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => PaginatedGoogleWorkspaceProviderMappingListFromJSON(jsonValue));
|
|
1139
1188
|
}
|
|
1140
1189
|
|
|
1141
1190
|
/**
|
|
1142
|
-
*
|
|
1191
|
+
* GoogleWorkspaceProviderMapping Viewset
|
|
1143
1192
|
*/
|
|
1144
|
-
async
|
|
1145
|
-
const response = await this.
|
|
1193
|
+
async propertymappingsProviderGoogleWorkspaceList(requestParameters: PropertymappingsProviderGoogleWorkspaceListRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedGoogleWorkspaceProviderMappingList> {
|
|
1194
|
+
const response = await this.propertymappingsProviderGoogleWorkspaceListRaw(requestParameters, initOverrides);
|
|
1146
1195
|
return await response.value();
|
|
1147
1196
|
}
|
|
1148
1197
|
|
|
1149
1198
|
/**
|
|
1150
|
-
*
|
|
1199
|
+
* GoogleWorkspaceProviderMapping Viewset
|
|
1151
1200
|
*/
|
|
1152
|
-
async
|
|
1201
|
+
async propertymappingsProviderGoogleWorkspacePartialUpdateRaw(requestParameters: PropertymappingsProviderGoogleWorkspacePartialUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GoogleWorkspaceProviderMapping>> {
|
|
1153
1202
|
if (requestParameters.pmUuid === null || requestParameters.pmUuid === undefined) {
|
|
1154
|
-
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling
|
|
1203
|
+
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling propertymappingsProviderGoogleWorkspacePartialUpdate.');
|
|
1155
1204
|
}
|
|
1156
1205
|
|
|
1157
1206
|
const queryParameters: any = {};
|
|
@@ -1169,30 +1218,30 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
|
1169
1218
|
}
|
|
1170
1219
|
}
|
|
1171
1220
|
const response = await this.request({
|
|
1172
|
-
path: `/propertymappings/
|
|
1221
|
+
path: `/propertymappings/provider/google_workspace/{pm_uuid}/`.replace(`{${"pm_uuid"}}`, encodeURIComponent(String(requestParameters.pmUuid))),
|
|
1173
1222
|
method: 'PATCH',
|
|
1174
1223
|
headers: headerParameters,
|
|
1175
1224
|
query: queryParameters,
|
|
1176
|
-
body:
|
|
1225
|
+
body: PatchedGoogleWorkspaceProviderMappingRequestToJSON(requestParameters.patchedGoogleWorkspaceProviderMappingRequest),
|
|
1177
1226
|
}, initOverrides);
|
|
1178
1227
|
|
|
1179
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
1228
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => GoogleWorkspaceProviderMappingFromJSON(jsonValue));
|
|
1180
1229
|
}
|
|
1181
1230
|
|
|
1182
1231
|
/**
|
|
1183
|
-
*
|
|
1232
|
+
* GoogleWorkspaceProviderMapping Viewset
|
|
1184
1233
|
*/
|
|
1185
|
-
async
|
|
1186
|
-
const response = await this.
|
|
1234
|
+
async propertymappingsProviderGoogleWorkspacePartialUpdate(requestParameters: PropertymappingsProviderGoogleWorkspacePartialUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GoogleWorkspaceProviderMapping> {
|
|
1235
|
+
const response = await this.propertymappingsProviderGoogleWorkspacePartialUpdateRaw(requestParameters, initOverrides);
|
|
1187
1236
|
return await response.value();
|
|
1188
1237
|
}
|
|
1189
1238
|
|
|
1190
1239
|
/**
|
|
1191
|
-
*
|
|
1240
|
+
* GoogleWorkspaceProviderMapping Viewset
|
|
1192
1241
|
*/
|
|
1193
|
-
async
|
|
1242
|
+
async propertymappingsProviderGoogleWorkspaceRetrieveRaw(requestParameters: PropertymappingsProviderGoogleWorkspaceRetrieveRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GoogleWorkspaceProviderMapping>> {
|
|
1194
1243
|
if (requestParameters.pmUuid === null || requestParameters.pmUuid === undefined) {
|
|
1195
|
-
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling
|
|
1244
|
+
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling propertymappingsProviderGoogleWorkspaceRetrieve.');
|
|
1196
1245
|
}
|
|
1197
1246
|
|
|
1198
1247
|
const queryParameters: any = {};
|
|
@@ -1208,33 +1257,33 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
|
1208
1257
|
}
|
|
1209
1258
|
}
|
|
1210
1259
|
const response = await this.request({
|
|
1211
|
-
path: `/propertymappings/
|
|
1260
|
+
path: `/propertymappings/provider/google_workspace/{pm_uuid}/`.replace(`{${"pm_uuid"}}`, encodeURIComponent(String(requestParameters.pmUuid))),
|
|
1212
1261
|
method: 'GET',
|
|
1213
1262
|
headers: headerParameters,
|
|
1214
1263
|
query: queryParameters,
|
|
1215
1264
|
}, initOverrides);
|
|
1216
1265
|
|
|
1217
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
1266
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => GoogleWorkspaceProviderMappingFromJSON(jsonValue));
|
|
1218
1267
|
}
|
|
1219
1268
|
|
|
1220
1269
|
/**
|
|
1221
|
-
*
|
|
1270
|
+
* GoogleWorkspaceProviderMapping Viewset
|
|
1222
1271
|
*/
|
|
1223
|
-
async
|
|
1224
|
-
const response = await this.
|
|
1272
|
+
async propertymappingsProviderGoogleWorkspaceRetrieve(requestParameters: PropertymappingsProviderGoogleWorkspaceRetrieveRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GoogleWorkspaceProviderMapping> {
|
|
1273
|
+
const response = await this.propertymappingsProviderGoogleWorkspaceRetrieveRaw(requestParameters, initOverrides);
|
|
1225
1274
|
return await response.value();
|
|
1226
1275
|
}
|
|
1227
1276
|
|
|
1228
1277
|
/**
|
|
1229
|
-
*
|
|
1278
|
+
* GoogleWorkspaceProviderMapping Viewset
|
|
1230
1279
|
*/
|
|
1231
|
-
async
|
|
1280
|
+
async propertymappingsProviderGoogleWorkspaceUpdateRaw(requestParameters: PropertymappingsProviderGoogleWorkspaceUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GoogleWorkspaceProviderMapping>> {
|
|
1232
1281
|
if (requestParameters.pmUuid === null || requestParameters.pmUuid === undefined) {
|
|
1233
|
-
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling
|
|
1282
|
+
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling propertymappingsProviderGoogleWorkspaceUpdate.');
|
|
1234
1283
|
}
|
|
1235
1284
|
|
|
1236
|
-
if (requestParameters.
|
|
1237
|
-
throw new runtime.RequiredError('
|
|
1285
|
+
if (requestParameters.googleWorkspaceProviderMappingRequest === null || requestParameters.googleWorkspaceProviderMappingRequest === undefined) {
|
|
1286
|
+
throw new runtime.RequiredError('googleWorkspaceProviderMappingRequest','Required parameter requestParameters.googleWorkspaceProviderMappingRequest was null or undefined when calling propertymappingsProviderGoogleWorkspaceUpdate.');
|
|
1238
1287
|
}
|
|
1239
1288
|
|
|
1240
1289
|
const queryParameters: any = {};
|
|
@@ -1252,30 +1301,30 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
|
1252
1301
|
}
|
|
1253
1302
|
}
|
|
1254
1303
|
const response = await this.request({
|
|
1255
|
-
path: `/propertymappings/
|
|
1304
|
+
path: `/propertymappings/provider/google_workspace/{pm_uuid}/`.replace(`{${"pm_uuid"}}`, encodeURIComponent(String(requestParameters.pmUuid))),
|
|
1256
1305
|
method: 'PUT',
|
|
1257
1306
|
headers: headerParameters,
|
|
1258
1307
|
query: queryParameters,
|
|
1259
|
-
body:
|
|
1308
|
+
body: GoogleWorkspaceProviderMappingRequestToJSON(requestParameters.googleWorkspaceProviderMappingRequest),
|
|
1260
1309
|
}, initOverrides);
|
|
1261
1310
|
|
|
1262
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
1311
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => GoogleWorkspaceProviderMappingFromJSON(jsonValue));
|
|
1263
1312
|
}
|
|
1264
1313
|
|
|
1265
1314
|
/**
|
|
1266
|
-
*
|
|
1315
|
+
* GoogleWorkspaceProviderMapping Viewset
|
|
1267
1316
|
*/
|
|
1268
|
-
async
|
|
1269
|
-
const response = await this.
|
|
1317
|
+
async propertymappingsProviderGoogleWorkspaceUpdate(requestParameters: PropertymappingsProviderGoogleWorkspaceUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GoogleWorkspaceProviderMapping> {
|
|
1318
|
+
const response = await this.propertymappingsProviderGoogleWorkspaceUpdateRaw(requestParameters, initOverrides);
|
|
1270
1319
|
return await response.value();
|
|
1271
1320
|
}
|
|
1272
1321
|
|
|
1273
1322
|
/**
|
|
1274
1323
|
* Get a list of all objects that use this object
|
|
1275
1324
|
*/
|
|
1276
|
-
async
|
|
1325
|
+
async propertymappingsProviderGoogleWorkspaceUsedByListRaw(requestParameters: PropertymappingsProviderGoogleWorkspaceUsedByListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<UsedBy>>> {
|
|
1277
1326
|
if (requestParameters.pmUuid === null || requestParameters.pmUuid === undefined) {
|
|
1278
|
-
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling
|
|
1327
|
+
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling propertymappingsProviderGoogleWorkspaceUsedByList.');
|
|
1279
1328
|
}
|
|
1280
1329
|
|
|
1281
1330
|
const queryParameters: any = {};
|
|
@@ -1291,7 +1340,7 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
|
1291
1340
|
}
|
|
1292
1341
|
}
|
|
1293
1342
|
const response = await this.request({
|
|
1294
|
-
path: `/propertymappings/
|
|
1343
|
+
path: `/propertymappings/provider/google_workspace/{pm_uuid}/used_by/`.replace(`{${"pm_uuid"}}`, encodeURIComponent(String(requestParameters.pmUuid))),
|
|
1295
1344
|
method: 'GET',
|
|
1296
1345
|
headers: headerParameters,
|
|
1297
1346
|
query: queryParameters,
|
|
@@ -1303,17 +1352,17 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
|
1303
1352
|
/**
|
|
1304
1353
|
* Get a list of all objects that use this object
|
|
1305
1354
|
*/
|
|
1306
|
-
async
|
|
1307
|
-
const response = await this.
|
|
1355
|
+
async propertymappingsProviderGoogleWorkspaceUsedByList(requestParameters: PropertymappingsProviderGoogleWorkspaceUsedByListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<UsedBy>> {
|
|
1356
|
+
const response = await this.propertymappingsProviderGoogleWorkspaceUsedByListRaw(requestParameters, initOverrides);
|
|
1308
1357
|
return await response.value();
|
|
1309
1358
|
}
|
|
1310
1359
|
|
|
1311
1360
|
/**
|
|
1312
|
-
*
|
|
1361
|
+
* MicrosoftEntraProviderMapping Viewset
|
|
1313
1362
|
*/
|
|
1314
|
-
async
|
|
1315
|
-
if (requestParameters.
|
|
1316
|
-
throw new runtime.RequiredError('
|
|
1363
|
+
async propertymappingsProviderMicrosoftEntraCreateRaw(requestParameters: PropertymappingsProviderMicrosoftEntraCreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<MicrosoftEntraProviderMapping>> {
|
|
1364
|
+
if (requestParameters.microsoftEntraProviderMappingRequest === null || requestParameters.microsoftEntraProviderMappingRequest === undefined) {
|
|
1365
|
+
throw new runtime.RequiredError('microsoftEntraProviderMappingRequest','Required parameter requestParameters.microsoftEntraProviderMappingRequest was null or undefined when calling propertymappingsProviderMicrosoftEntraCreate.');
|
|
1317
1366
|
}
|
|
1318
1367
|
|
|
1319
1368
|
const queryParameters: any = {};
|
|
@@ -1331,30 +1380,30 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
|
1331
1380
|
}
|
|
1332
1381
|
}
|
|
1333
1382
|
const response = await this.request({
|
|
1334
|
-
path: `/propertymappings/provider/
|
|
1383
|
+
path: `/propertymappings/provider/microsoft_entra/`,
|
|
1335
1384
|
method: 'POST',
|
|
1336
1385
|
headers: headerParameters,
|
|
1337
1386
|
query: queryParameters,
|
|
1338
|
-
body:
|
|
1387
|
+
body: MicrosoftEntraProviderMappingRequestToJSON(requestParameters.microsoftEntraProviderMappingRequest),
|
|
1339
1388
|
}, initOverrides);
|
|
1340
1389
|
|
|
1341
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
1390
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => MicrosoftEntraProviderMappingFromJSON(jsonValue));
|
|
1342
1391
|
}
|
|
1343
1392
|
|
|
1344
1393
|
/**
|
|
1345
|
-
*
|
|
1394
|
+
* MicrosoftEntraProviderMapping Viewset
|
|
1346
1395
|
*/
|
|
1347
|
-
async
|
|
1348
|
-
const response = await this.
|
|
1396
|
+
async propertymappingsProviderMicrosoftEntraCreate(requestParameters: PropertymappingsProviderMicrosoftEntraCreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<MicrosoftEntraProviderMapping> {
|
|
1397
|
+
const response = await this.propertymappingsProviderMicrosoftEntraCreateRaw(requestParameters, initOverrides);
|
|
1349
1398
|
return await response.value();
|
|
1350
1399
|
}
|
|
1351
1400
|
|
|
1352
1401
|
/**
|
|
1353
|
-
*
|
|
1402
|
+
* MicrosoftEntraProviderMapping Viewset
|
|
1354
1403
|
*/
|
|
1355
|
-
async
|
|
1404
|
+
async propertymappingsProviderMicrosoftEntraDestroyRaw(requestParameters: PropertymappingsProviderMicrosoftEntraDestroyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
1356
1405
|
if (requestParameters.pmUuid === null || requestParameters.pmUuid === undefined) {
|
|
1357
|
-
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling
|
|
1406
|
+
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling propertymappingsProviderMicrosoftEntraDestroy.');
|
|
1358
1407
|
}
|
|
1359
1408
|
|
|
1360
1409
|
const queryParameters: any = {};
|
|
@@ -1370,7 +1419,7 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
|
1370
1419
|
}
|
|
1371
1420
|
}
|
|
1372
1421
|
const response = await this.request({
|
|
1373
|
-
path: `/propertymappings/provider/
|
|
1422
|
+
path: `/propertymappings/provider/microsoft_entra/{pm_uuid}/`.replace(`{${"pm_uuid"}}`, encodeURIComponent(String(requestParameters.pmUuid))),
|
|
1374
1423
|
method: 'DELETE',
|
|
1375
1424
|
headers: headerParameters,
|
|
1376
1425
|
query: queryParameters,
|
|
@@ -1380,16 +1429,16 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
|
1380
1429
|
}
|
|
1381
1430
|
|
|
1382
1431
|
/**
|
|
1383
|
-
*
|
|
1432
|
+
* MicrosoftEntraProviderMapping Viewset
|
|
1384
1433
|
*/
|
|
1385
|
-
async
|
|
1386
|
-
await this.
|
|
1434
|
+
async propertymappingsProviderMicrosoftEntraDestroy(requestParameters: PropertymappingsProviderMicrosoftEntraDestroyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
|
|
1435
|
+
await this.propertymappingsProviderMicrosoftEntraDestroyRaw(requestParameters, initOverrides);
|
|
1387
1436
|
}
|
|
1388
1437
|
|
|
1389
1438
|
/**
|
|
1390
|
-
*
|
|
1439
|
+
* MicrosoftEntraProviderMapping Viewset
|
|
1391
1440
|
*/
|
|
1392
|
-
async
|
|
1441
|
+
async propertymappingsProviderMicrosoftEntraListRaw(requestParameters: PropertymappingsProviderMicrosoftEntraListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedMicrosoftEntraProviderMappingList>> {
|
|
1393
1442
|
const queryParameters: any = {};
|
|
1394
1443
|
|
|
1395
1444
|
if (requestParameters.expression !== undefined) {
|
|
@@ -1435,29 +1484,29 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
|
1435
1484
|
}
|
|
1436
1485
|
}
|
|
1437
1486
|
const response = await this.request({
|
|
1438
|
-
path: `/propertymappings/provider/
|
|
1487
|
+
path: `/propertymappings/provider/microsoft_entra/`,
|
|
1439
1488
|
method: 'GET',
|
|
1440
1489
|
headers: headerParameters,
|
|
1441
1490
|
query: queryParameters,
|
|
1442
1491
|
}, initOverrides);
|
|
1443
1492
|
|
|
1444
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
1493
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => PaginatedMicrosoftEntraProviderMappingListFromJSON(jsonValue));
|
|
1445
1494
|
}
|
|
1446
1495
|
|
|
1447
1496
|
/**
|
|
1448
|
-
*
|
|
1497
|
+
* MicrosoftEntraProviderMapping Viewset
|
|
1449
1498
|
*/
|
|
1450
|
-
async
|
|
1451
|
-
const response = await this.
|
|
1499
|
+
async propertymappingsProviderMicrosoftEntraList(requestParameters: PropertymappingsProviderMicrosoftEntraListRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedMicrosoftEntraProviderMappingList> {
|
|
1500
|
+
const response = await this.propertymappingsProviderMicrosoftEntraListRaw(requestParameters, initOverrides);
|
|
1452
1501
|
return await response.value();
|
|
1453
1502
|
}
|
|
1454
1503
|
|
|
1455
1504
|
/**
|
|
1456
|
-
*
|
|
1505
|
+
* MicrosoftEntraProviderMapping Viewset
|
|
1457
1506
|
*/
|
|
1458
|
-
async
|
|
1507
|
+
async propertymappingsProviderMicrosoftEntraPartialUpdateRaw(requestParameters: PropertymappingsProviderMicrosoftEntraPartialUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<MicrosoftEntraProviderMapping>> {
|
|
1459
1508
|
if (requestParameters.pmUuid === null || requestParameters.pmUuid === undefined) {
|
|
1460
|
-
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling
|
|
1509
|
+
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling propertymappingsProviderMicrosoftEntraPartialUpdate.');
|
|
1461
1510
|
}
|
|
1462
1511
|
|
|
1463
1512
|
const queryParameters: any = {};
|
|
@@ -1475,30 +1524,30 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
|
1475
1524
|
}
|
|
1476
1525
|
}
|
|
1477
1526
|
const response = await this.request({
|
|
1478
|
-
path: `/propertymappings/provider/
|
|
1527
|
+
path: `/propertymappings/provider/microsoft_entra/{pm_uuid}/`.replace(`{${"pm_uuid"}}`, encodeURIComponent(String(requestParameters.pmUuid))),
|
|
1479
1528
|
method: 'PATCH',
|
|
1480
1529
|
headers: headerParameters,
|
|
1481
1530
|
query: queryParameters,
|
|
1482
|
-
body:
|
|
1531
|
+
body: PatchedMicrosoftEntraProviderMappingRequestToJSON(requestParameters.patchedMicrosoftEntraProviderMappingRequest),
|
|
1483
1532
|
}, initOverrides);
|
|
1484
1533
|
|
|
1485
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
1534
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => MicrosoftEntraProviderMappingFromJSON(jsonValue));
|
|
1486
1535
|
}
|
|
1487
1536
|
|
|
1488
1537
|
/**
|
|
1489
|
-
*
|
|
1538
|
+
* MicrosoftEntraProviderMapping Viewset
|
|
1490
1539
|
*/
|
|
1491
|
-
async
|
|
1492
|
-
const response = await this.
|
|
1540
|
+
async propertymappingsProviderMicrosoftEntraPartialUpdate(requestParameters: PropertymappingsProviderMicrosoftEntraPartialUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<MicrosoftEntraProviderMapping> {
|
|
1541
|
+
const response = await this.propertymappingsProviderMicrosoftEntraPartialUpdateRaw(requestParameters, initOverrides);
|
|
1493
1542
|
return await response.value();
|
|
1494
1543
|
}
|
|
1495
1544
|
|
|
1496
1545
|
/**
|
|
1497
|
-
*
|
|
1546
|
+
* MicrosoftEntraProviderMapping Viewset
|
|
1498
1547
|
*/
|
|
1499
|
-
async
|
|
1548
|
+
async propertymappingsProviderMicrosoftEntraRetrieveRaw(requestParameters: PropertymappingsProviderMicrosoftEntraRetrieveRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<MicrosoftEntraProviderMapping>> {
|
|
1500
1549
|
if (requestParameters.pmUuid === null || requestParameters.pmUuid === undefined) {
|
|
1501
|
-
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling
|
|
1550
|
+
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling propertymappingsProviderMicrosoftEntraRetrieve.');
|
|
1502
1551
|
}
|
|
1503
1552
|
|
|
1504
1553
|
const queryParameters: any = {};
|
|
@@ -1514,33 +1563,33 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
|
1514
1563
|
}
|
|
1515
1564
|
}
|
|
1516
1565
|
const response = await this.request({
|
|
1517
|
-
path: `/propertymappings/provider/
|
|
1566
|
+
path: `/propertymappings/provider/microsoft_entra/{pm_uuid}/`.replace(`{${"pm_uuid"}}`, encodeURIComponent(String(requestParameters.pmUuid))),
|
|
1518
1567
|
method: 'GET',
|
|
1519
1568
|
headers: headerParameters,
|
|
1520
1569
|
query: queryParameters,
|
|
1521
1570
|
}, initOverrides);
|
|
1522
1571
|
|
|
1523
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
1572
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => MicrosoftEntraProviderMappingFromJSON(jsonValue));
|
|
1524
1573
|
}
|
|
1525
1574
|
|
|
1526
1575
|
/**
|
|
1527
|
-
*
|
|
1576
|
+
* MicrosoftEntraProviderMapping Viewset
|
|
1528
1577
|
*/
|
|
1529
|
-
async
|
|
1530
|
-
const response = await this.
|
|
1578
|
+
async propertymappingsProviderMicrosoftEntraRetrieve(requestParameters: PropertymappingsProviderMicrosoftEntraRetrieveRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<MicrosoftEntraProviderMapping> {
|
|
1579
|
+
const response = await this.propertymappingsProviderMicrosoftEntraRetrieveRaw(requestParameters, initOverrides);
|
|
1531
1580
|
return await response.value();
|
|
1532
1581
|
}
|
|
1533
1582
|
|
|
1534
1583
|
/**
|
|
1535
|
-
*
|
|
1584
|
+
* MicrosoftEntraProviderMapping Viewset
|
|
1536
1585
|
*/
|
|
1537
|
-
async
|
|
1586
|
+
async propertymappingsProviderMicrosoftEntraUpdateRaw(requestParameters: PropertymappingsProviderMicrosoftEntraUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<MicrosoftEntraProviderMapping>> {
|
|
1538
1587
|
if (requestParameters.pmUuid === null || requestParameters.pmUuid === undefined) {
|
|
1539
|
-
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling
|
|
1588
|
+
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling propertymappingsProviderMicrosoftEntraUpdate.');
|
|
1540
1589
|
}
|
|
1541
1590
|
|
|
1542
|
-
if (requestParameters.
|
|
1543
|
-
throw new runtime.RequiredError('
|
|
1591
|
+
if (requestParameters.microsoftEntraProviderMappingRequest === null || requestParameters.microsoftEntraProviderMappingRequest === undefined) {
|
|
1592
|
+
throw new runtime.RequiredError('microsoftEntraProviderMappingRequest','Required parameter requestParameters.microsoftEntraProviderMappingRequest was null or undefined when calling propertymappingsProviderMicrosoftEntraUpdate.');
|
|
1544
1593
|
}
|
|
1545
1594
|
|
|
1546
1595
|
const queryParameters: any = {};
|
|
@@ -1558,30 +1607,30 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
|
1558
1607
|
}
|
|
1559
1608
|
}
|
|
1560
1609
|
const response = await this.request({
|
|
1561
|
-
path: `/propertymappings/provider/
|
|
1610
|
+
path: `/propertymappings/provider/microsoft_entra/{pm_uuid}/`.replace(`{${"pm_uuid"}}`, encodeURIComponent(String(requestParameters.pmUuid))),
|
|
1562
1611
|
method: 'PUT',
|
|
1563
1612
|
headers: headerParameters,
|
|
1564
1613
|
query: queryParameters,
|
|
1565
|
-
body:
|
|
1614
|
+
body: MicrosoftEntraProviderMappingRequestToJSON(requestParameters.microsoftEntraProviderMappingRequest),
|
|
1566
1615
|
}, initOverrides);
|
|
1567
1616
|
|
|
1568
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
1617
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => MicrosoftEntraProviderMappingFromJSON(jsonValue));
|
|
1569
1618
|
}
|
|
1570
1619
|
|
|
1571
1620
|
/**
|
|
1572
|
-
*
|
|
1621
|
+
* MicrosoftEntraProviderMapping Viewset
|
|
1573
1622
|
*/
|
|
1574
|
-
async
|
|
1575
|
-
const response = await this.
|
|
1623
|
+
async propertymappingsProviderMicrosoftEntraUpdate(requestParameters: PropertymappingsProviderMicrosoftEntraUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<MicrosoftEntraProviderMapping> {
|
|
1624
|
+
const response = await this.propertymappingsProviderMicrosoftEntraUpdateRaw(requestParameters, initOverrides);
|
|
1576
1625
|
return await response.value();
|
|
1577
1626
|
}
|
|
1578
1627
|
|
|
1579
1628
|
/**
|
|
1580
1629
|
* Get a list of all objects that use this object
|
|
1581
1630
|
*/
|
|
1582
|
-
async
|
|
1631
|
+
async propertymappingsProviderMicrosoftEntraUsedByListRaw(requestParameters: PropertymappingsProviderMicrosoftEntraUsedByListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<UsedBy>>> {
|
|
1583
1632
|
if (requestParameters.pmUuid === null || requestParameters.pmUuid === undefined) {
|
|
1584
|
-
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling
|
|
1633
|
+
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling propertymappingsProviderMicrosoftEntraUsedByList.');
|
|
1585
1634
|
}
|
|
1586
1635
|
|
|
1587
1636
|
const queryParameters: any = {};
|
|
@@ -1597,7 +1646,305 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
|
1597
1646
|
}
|
|
1598
1647
|
}
|
|
1599
1648
|
const response = await this.request({
|
|
1600
|
-
path: `/propertymappings/provider/
|
|
1649
|
+
path: `/propertymappings/provider/microsoft_entra/{pm_uuid}/used_by/`.replace(`{${"pm_uuid"}}`, encodeURIComponent(String(requestParameters.pmUuid))),
|
|
1650
|
+
method: 'GET',
|
|
1651
|
+
headers: headerParameters,
|
|
1652
|
+
query: queryParameters,
|
|
1653
|
+
}, initOverrides);
|
|
1654
|
+
|
|
1655
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(UsedByFromJSON));
|
|
1656
|
+
}
|
|
1657
|
+
|
|
1658
|
+
/**
|
|
1659
|
+
* Get a list of all objects that use this object
|
|
1660
|
+
*/
|
|
1661
|
+
async propertymappingsProviderMicrosoftEntraUsedByList(requestParameters: PropertymappingsProviderMicrosoftEntraUsedByListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<UsedBy>> {
|
|
1662
|
+
const response = await this.propertymappingsProviderMicrosoftEntraUsedByListRaw(requestParameters, initOverrides);
|
|
1663
|
+
return await response.value();
|
|
1664
|
+
}
|
|
1665
|
+
|
|
1666
|
+
/**
|
|
1667
|
+
* RACPropertyMapping Viewset
|
|
1668
|
+
*/
|
|
1669
|
+
async propertymappingsRacCreateRaw(requestParameters: PropertymappingsRacCreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<RACPropertyMapping>> {
|
|
1670
|
+
if (requestParameters.rACPropertyMappingRequest === null || requestParameters.rACPropertyMappingRequest === undefined) {
|
|
1671
|
+
throw new runtime.RequiredError('rACPropertyMappingRequest','Required parameter requestParameters.rACPropertyMappingRequest was null or undefined when calling propertymappingsRacCreate.');
|
|
1672
|
+
}
|
|
1673
|
+
|
|
1674
|
+
const queryParameters: any = {};
|
|
1675
|
+
|
|
1676
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
1677
|
+
|
|
1678
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
1679
|
+
|
|
1680
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
1681
|
+
const token = this.configuration.accessToken;
|
|
1682
|
+
const tokenString = await token("authentik", []);
|
|
1683
|
+
|
|
1684
|
+
if (tokenString) {
|
|
1685
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
1686
|
+
}
|
|
1687
|
+
}
|
|
1688
|
+
const response = await this.request({
|
|
1689
|
+
path: `/propertymappings/rac/`,
|
|
1690
|
+
method: 'POST',
|
|
1691
|
+
headers: headerParameters,
|
|
1692
|
+
query: queryParameters,
|
|
1693
|
+
body: RACPropertyMappingRequestToJSON(requestParameters.rACPropertyMappingRequest),
|
|
1694
|
+
}, initOverrides);
|
|
1695
|
+
|
|
1696
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => RACPropertyMappingFromJSON(jsonValue));
|
|
1697
|
+
}
|
|
1698
|
+
|
|
1699
|
+
/**
|
|
1700
|
+
* RACPropertyMapping Viewset
|
|
1701
|
+
*/
|
|
1702
|
+
async propertymappingsRacCreate(requestParameters: PropertymappingsRacCreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RACPropertyMapping> {
|
|
1703
|
+
const response = await this.propertymappingsRacCreateRaw(requestParameters, initOverrides);
|
|
1704
|
+
return await response.value();
|
|
1705
|
+
}
|
|
1706
|
+
|
|
1707
|
+
/**
|
|
1708
|
+
* RACPropertyMapping Viewset
|
|
1709
|
+
*/
|
|
1710
|
+
async propertymappingsRacDestroyRaw(requestParameters: PropertymappingsRacDestroyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
1711
|
+
if (requestParameters.pmUuid === null || requestParameters.pmUuid === undefined) {
|
|
1712
|
+
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling propertymappingsRacDestroy.');
|
|
1713
|
+
}
|
|
1714
|
+
|
|
1715
|
+
const queryParameters: any = {};
|
|
1716
|
+
|
|
1717
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
1718
|
+
|
|
1719
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
1720
|
+
const token = this.configuration.accessToken;
|
|
1721
|
+
const tokenString = await token("authentik", []);
|
|
1722
|
+
|
|
1723
|
+
if (tokenString) {
|
|
1724
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
1725
|
+
}
|
|
1726
|
+
}
|
|
1727
|
+
const response = await this.request({
|
|
1728
|
+
path: `/propertymappings/rac/{pm_uuid}/`.replace(`{${"pm_uuid"}}`, encodeURIComponent(String(requestParameters.pmUuid))),
|
|
1729
|
+
method: 'DELETE',
|
|
1730
|
+
headers: headerParameters,
|
|
1731
|
+
query: queryParameters,
|
|
1732
|
+
}, initOverrides);
|
|
1733
|
+
|
|
1734
|
+
return new runtime.VoidApiResponse(response);
|
|
1735
|
+
}
|
|
1736
|
+
|
|
1737
|
+
/**
|
|
1738
|
+
* RACPropertyMapping Viewset
|
|
1739
|
+
*/
|
|
1740
|
+
async propertymappingsRacDestroy(requestParameters: PropertymappingsRacDestroyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
|
|
1741
|
+
await this.propertymappingsRacDestroyRaw(requestParameters, initOverrides);
|
|
1742
|
+
}
|
|
1743
|
+
|
|
1744
|
+
/**
|
|
1745
|
+
* RACPropertyMapping Viewset
|
|
1746
|
+
*/
|
|
1747
|
+
async propertymappingsRacListRaw(requestParameters: PropertymappingsRacListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedRACPropertyMappingList>> {
|
|
1748
|
+
const queryParameters: any = {};
|
|
1749
|
+
|
|
1750
|
+
if (requestParameters.managed) {
|
|
1751
|
+
queryParameters['managed'] = requestParameters.managed;
|
|
1752
|
+
}
|
|
1753
|
+
|
|
1754
|
+
if (requestParameters.name !== undefined) {
|
|
1755
|
+
queryParameters['name'] = requestParameters.name;
|
|
1756
|
+
}
|
|
1757
|
+
|
|
1758
|
+
if (requestParameters.ordering !== undefined) {
|
|
1759
|
+
queryParameters['ordering'] = requestParameters.ordering;
|
|
1760
|
+
}
|
|
1761
|
+
|
|
1762
|
+
if (requestParameters.page !== undefined) {
|
|
1763
|
+
queryParameters['page'] = requestParameters.page;
|
|
1764
|
+
}
|
|
1765
|
+
|
|
1766
|
+
if (requestParameters.pageSize !== undefined) {
|
|
1767
|
+
queryParameters['page_size'] = requestParameters.pageSize;
|
|
1768
|
+
}
|
|
1769
|
+
|
|
1770
|
+
if (requestParameters.search !== undefined) {
|
|
1771
|
+
queryParameters['search'] = requestParameters.search;
|
|
1772
|
+
}
|
|
1773
|
+
|
|
1774
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
1775
|
+
|
|
1776
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
1777
|
+
const token = this.configuration.accessToken;
|
|
1778
|
+
const tokenString = await token("authentik", []);
|
|
1779
|
+
|
|
1780
|
+
if (tokenString) {
|
|
1781
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
1782
|
+
}
|
|
1783
|
+
}
|
|
1784
|
+
const response = await this.request({
|
|
1785
|
+
path: `/propertymappings/rac/`,
|
|
1786
|
+
method: 'GET',
|
|
1787
|
+
headers: headerParameters,
|
|
1788
|
+
query: queryParameters,
|
|
1789
|
+
}, initOverrides);
|
|
1790
|
+
|
|
1791
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => PaginatedRACPropertyMappingListFromJSON(jsonValue));
|
|
1792
|
+
}
|
|
1793
|
+
|
|
1794
|
+
/**
|
|
1795
|
+
* RACPropertyMapping Viewset
|
|
1796
|
+
*/
|
|
1797
|
+
async propertymappingsRacList(requestParameters: PropertymappingsRacListRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedRACPropertyMappingList> {
|
|
1798
|
+
const response = await this.propertymappingsRacListRaw(requestParameters, initOverrides);
|
|
1799
|
+
return await response.value();
|
|
1800
|
+
}
|
|
1801
|
+
|
|
1802
|
+
/**
|
|
1803
|
+
* RACPropertyMapping Viewset
|
|
1804
|
+
*/
|
|
1805
|
+
async propertymappingsRacPartialUpdateRaw(requestParameters: PropertymappingsRacPartialUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<RACPropertyMapping>> {
|
|
1806
|
+
if (requestParameters.pmUuid === null || requestParameters.pmUuid === undefined) {
|
|
1807
|
+
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling propertymappingsRacPartialUpdate.');
|
|
1808
|
+
}
|
|
1809
|
+
|
|
1810
|
+
const queryParameters: any = {};
|
|
1811
|
+
|
|
1812
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
1813
|
+
|
|
1814
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
1815
|
+
|
|
1816
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
1817
|
+
const token = this.configuration.accessToken;
|
|
1818
|
+
const tokenString = await token("authentik", []);
|
|
1819
|
+
|
|
1820
|
+
if (tokenString) {
|
|
1821
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
1822
|
+
}
|
|
1823
|
+
}
|
|
1824
|
+
const response = await this.request({
|
|
1825
|
+
path: `/propertymappings/rac/{pm_uuid}/`.replace(`{${"pm_uuid"}}`, encodeURIComponent(String(requestParameters.pmUuid))),
|
|
1826
|
+
method: 'PATCH',
|
|
1827
|
+
headers: headerParameters,
|
|
1828
|
+
query: queryParameters,
|
|
1829
|
+
body: PatchedRACPropertyMappingRequestToJSON(requestParameters.patchedRACPropertyMappingRequest),
|
|
1830
|
+
}, initOverrides);
|
|
1831
|
+
|
|
1832
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => RACPropertyMappingFromJSON(jsonValue));
|
|
1833
|
+
}
|
|
1834
|
+
|
|
1835
|
+
/**
|
|
1836
|
+
* RACPropertyMapping Viewset
|
|
1837
|
+
*/
|
|
1838
|
+
async propertymappingsRacPartialUpdate(requestParameters: PropertymappingsRacPartialUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RACPropertyMapping> {
|
|
1839
|
+
const response = await this.propertymappingsRacPartialUpdateRaw(requestParameters, initOverrides);
|
|
1840
|
+
return await response.value();
|
|
1841
|
+
}
|
|
1842
|
+
|
|
1843
|
+
/**
|
|
1844
|
+
* RACPropertyMapping Viewset
|
|
1845
|
+
*/
|
|
1846
|
+
async propertymappingsRacRetrieveRaw(requestParameters: PropertymappingsRacRetrieveRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<RACPropertyMapping>> {
|
|
1847
|
+
if (requestParameters.pmUuid === null || requestParameters.pmUuid === undefined) {
|
|
1848
|
+
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling propertymappingsRacRetrieve.');
|
|
1849
|
+
}
|
|
1850
|
+
|
|
1851
|
+
const queryParameters: any = {};
|
|
1852
|
+
|
|
1853
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
1854
|
+
|
|
1855
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
1856
|
+
const token = this.configuration.accessToken;
|
|
1857
|
+
const tokenString = await token("authentik", []);
|
|
1858
|
+
|
|
1859
|
+
if (tokenString) {
|
|
1860
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
1861
|
+
}
|
|
1862
|
+
}
|
|
1863
|
+
const response = await this.request({
|
|
1864
|
+
path: `/propertymappings/rac/{pm_uuid}/`.replace(`{${"pm_uuid"}}`, encodeURIComponent(String(requestParameters.pmUuid))),
|
|
1865
|
+
method: 'GET',
|
|
1866
|
+
headers: headerParameters,
|
|
1867
|
+
query: queryParameters,
|
|
1868
|
+
}, initOverrides);
|
|
1869
|
+
|
|
1870
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => RACPropertyMappingFromJSON(jsonValue));
|
|
1871
|
+
}
|
|
1872
|
+
|
|
1873
|
+
/**
|
|
1874
|
+
* RACPropertyMapping Viewset
|
|
1875
|
+
*/
|
|
1876
|
+
async propertymappingsRacRetrieve(requestParameters: PropertymappingsRacRetrieveRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RACPropertyMapping> {
|
|
1877
|
+
const response = await this.propertymappingsRacRetrieveRaw(requestParameters, initOverrides);
|
|
1878
|
+
return await response.value();
|
|
1879
|
+
}
|
|
1880
|
+
|
|
1881
|
+
/**
|
|
1882
|
+
* RACPropertyMapping Viewset
|
|
1883
|
+
*/
|
|
1884
|
+
async propertymappingsRacUpdateRaw(requestParameters: PropertymappingsRacUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<RACPropertyMapping>> {
|
|
1885
|
+
if (requestParameters.pmUuid === null || requestParameters.pmUuid === undefined) {
|
|
1886
|
+
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling propertymappingsRacUpdate.');
|
|
1887
|
+
}
|
|
1888
|
+
|
|
1889
|
+
if (requestParameters.rACPropertyMappingRequest === null || requestParameters.rACPropertyMappingRequest === undefined) {
|
|
1890
|
+
throw new runtime.RequiredError('rACPropertyMappingRequest','Required parameter requestParameters.rACPropertyMappingRequest was null or undefined when calling propertymappingsRacUpdate.');
|
|
1891
|
+
}
|
|
1892
|
+
|
|
1893
|
+
const queryParameters: any = {};
|
|
1894
|
+
|
|
1895
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
1896
|
+
|
|
1897
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
1898
|
+
|
|
1899
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
1900
|
+
const token = this.configuration.accessToken;
|
|
1901
|
+
const tokenString = await token("authentik", []);
|
|
1902
|
+
|
|
1903
|
+
if (tokenString) {
|
|
1904
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
1905
|
+
}
|
|
1906
|
+
}
|
|
1907
|
+
const response = await this.request({
|
|
1908
|
+
path: `/propertymappings/rac/{pm_uuid}/`.replace(`{${"pm_uuid"}}`, encodeURIComponent(String(requestParameters.pmUuid))),
|
|
1909
|
+
method: 'PUT',
|
|
1910
|
+
headers: headerParameters,
|
|
1911
|
+
query: queryParameters,
|
|
1912
|
+
body: RACPropertyMappingRequestToJSON(requestParameters.rACPropertyMappingRequest),
|
|
1913
|
+
}, initOverrides);
|
|
1914
|
+
|
|
1915
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => RACPropertyMappingFromJSON(jsonValue));
|
|
1916
|
+
}
|
|
1917
|
+
|
|
1918
|
+
/**
|
|
1919
|
+
* RACPropertyMapping Viewset
|
|
1920
|
+
*/
|
|
1921
|
+
async propertymappingsRacUpdate(requestParameters: PropertymappingsRacUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RACPropertyMapping> {
|
|
1922
|
+
const response = await this.propertymappingsRacUpdateRaw(requestParameters, initOverrides);
|
|
1923
|
+
return await response.value();
|
|
1924
|
+
}
|
|
1925
|
+
|
|
1926
|
+
/**
|
|
1927
|
+
* Get a list of all objects that use this object
|
|
1928
|
+
*/
|
|
1929
|
+
async propertymappingsRacUsedByListRaw(requestParameters: PropertymappingsRacUsedByListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<UsedBy>>> {
|
|
1930
|
+
if (requestParameters.pmUuid === null || requestParameters.pmUuid === undefined) {
|
|
1931
|
+
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling propertymappingsRacUsedByList.');
|
|
1932
|
+
}
|
|
1933
|
+
|
|
1934
|
+
const queryParameters: any = {};
|
|
1935
|
+
|
|
1936
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
1937
|
+
|
|
1938
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
1939
|
+
const token = this.configuration.accessToken;
|
|
1940
|
+
const tokenString = await token("authentik", []);
|
|
1941
|
+
|
|
1942
|
+
if (tokenString) {
|
|
1943
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
1944
|
+
}
|
|
1945
|
+
}
|
|
1946
|
+
const response = await this.request({
|
|
1947
|
+
path: `/propertymappings/rac/{pm_uuid}/used_by/`.replace(`{${"pm_uuid"}}`, encodeURIComponent(String(requestParameters.pmUuid))),
|
|
1601
1948
|
method: 'GET',
|
|
1602
1949
|
headers: headerParameters,
|
|
1603
1950
|
query: queryParameters,
|
|
@@ -1609,17 +1956,17 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
|
1609
1956
|
/**
|
|
1610
1957
|
* Get a list of all objects that use this object
|
|
1611
1958
|
*/
|
|
1612
|
-
async
|
|
1613
|
-
const response = await this.
|
|
1959
|
+
async propertymappingsRacUsedByList(requestParameters: PropertymappingsRacUsedByListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<UsedBy>> {
|
|
1960
|
+
const response = await this.propertymappingsRacUsedByListRaw(requestParameters, initOverrides);
|
|
1614
1961
|
return await response.value();
|
|
1615
1962
|
}
|
|
1616
1963
|
|
|
1617
1964
|
/**
|
|
1618
|
-
*
|
|
1965
|
+
* RadiusProviderPropertyMapping Viewset
|
|
1619
1966
|
*/
|
|
1620
|
-
async
|
|
1621
|
-
if (requestParameters.
|
|
1622
|
-
throw new runtime.RequiredError('
|
|
1967
|
+
async propertymappingsRadiusCreateRaw(requestParameters: PropertymappingsRadiusCreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<RadiusProviderPropertyMapping>> {
|
|
1968
|
+
if (requestParameters.radiusProviderPropertyMappingRequest === null || requestParameters.radiusProviderPropertyMappingRequest === undefined) {
|
|
1969
|
+
throw new runtime.RequiredError('radiusProviderPropertyMappingRequest','Required parameter requestParameters.radiusProviderPropertyMappingRequest was null or undefined when calling propertymappingsRadiusCreate.');
|
|
1623
1970
|
}
|
|
1624
1971
|
|
|
1625
1972
|
const queryParameters: any = {};
|
|
@@ -1637,30 +1984,30 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
|
1637
1984
|
}
|
|
1638
1985
|
}
|
|
1639
1986
|
const response = await this.request({
|
|
1640
|
-
path: `/propertymappings/
|
|
1987
|
+
path: `/propertymappings/radius/`,
|
|
1641
1988
|
method: 'POST',
|
|
1642
1989
|
headers: headerParameters,
|
|
1643
1990
|
query: queryParameters,
|
|
1644
|
-
body:
|
|
1991
|
+
body: RadiusProviderPropertyMappingRequestToJSON(requestParameters.radiusProviderPropertyMappingRequest),
|
|
1645
1992
|
}, initOverrides);
|
|
1646
1993
|
|
|
1647
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
1994
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => RadiusProviderPropertyMappingFromJSON(jsonValue));
|
|
1648
1995
|
}
|
|
1649
1996
|
|
|
1650
1997
|
/**
|
|
1651
|
-
*
|
|
1998
|
+
* RadiusProviderPropertyMapping Viewset
|
|
1652
1999
|
*/
|
|
1653
|
-
async
|
|
1654
|
-
const response = await this.
|
|
2000
|
+
async propertymappingsRadiusCreate(requestParameters: PropertymappingsRadiusCreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RadiusProviderPropertyMapping> {
|
|
2001
|
+
const response = await this.propertymappingsRadiusCreateRaw(requestParameters, initOverrides);
|
|
1655
2002
|
return await response.value();
|
|
1656
2003
|
}
|
|
1657
2004
|
|
|
1658
2005
|
/**
|
|
1659
|
-
*
|
|
2006
|
+
* RadiusProviderPropertyMapping Viewset
|
|
1660
2007
|
*/
|
|
1661
|
-
async
|
|
2008
|
+
async propertymappingsRadiusDestroyRaw(requestParameters: PropertymappingsRadiusDestroyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
1662
2009
|
if (requestParameters.pmUuid === null || requestParameters.pmUuid === undefined) {
|
|
1663
|
-
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling
|
|
2010
|
+
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling propertymappingsRadiusDestroy.');
|
|
1664
2011
|
}
|
|
1665
2012
|
|
|
1666
2013
|
const queryParameters: any = {};
|
|
@@ -1676,7 +2023,7 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
|
1676
2023
|
}
|
|
1677
2024
|
}
|
|
1678
2025
|
const response = await this.request({
|
|
1679
|
-
path: `/propertymappings/
|
|
2026
|
+
path: `/propertymappings/radius/{pm_uuid}/`.replace(`{${"pm_uuid"}}`, encodeURIComponent(String(requestParameters.pmUuid))),
|
|
1680
2027
|
method: 'DELETE',
|
|
1681
2028
|
headers: headerParameters,
|
|
1682
2029
|
query: queryParameters,
|
|
@@ -1686,16 +2033,16 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
|
1686
2033
|
}
|
|
1687
2034
|
|
|
1688
2035
|
/**
|
|
1689
|
-
*
|
|
2036
|
+
* RadiusProviderPropertyMapping Viewset
|
|
1690
2037
|
*/
|
|
1691
|
-
async
|
|
1692
|
-
await this.
|
|
2038
|
+
async propertymappingsRadiusDestroy(requestParameters: PropertymappingsRadiusDestroyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
|
|
2039
|
+
await this.propertymappingsRadiusDestroyRaw(requestParameters, initOverrides);
|
|
1693
2040
|
}
|
|
1694
2041
|
|
|
1695
2042
|
/**
|
|
1696
|
-
*
|
|
2043
|
+
* RadiusProviderPropertyMapping Viewset
|
|
1697
2044
|
*/
|
|
1698
|
-
async
|
|
2045
|
+
async propertymappingsRadiusListRaw(requestParameters: PropertymappingsRadiusListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedRadiusProviderPropertyMappingList>> {
|
|
1699
2046
|
const queryParameters: any = {};
|
|
1700
2047
|
|
|
1701
2048
|
if (requestParameters.expression !== undefined) {
|
|
@@ -1741,29 +2088,29 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
|
1741
2088
|
}
|
|
1742
2089
|
}
|
|
1743
2090
|
const response = await this.request({
|
|
1744
|
-
path: `/propertymappings/
|
|
2091
|
+
path: `/propertymappings/radius/`,
|
|
1745
2092
|
method: 'GET',
|
|
1746
2093
|
headers: headerParameters,
|
|
1747
2094
|
query: queryParameters,
|
|
1748
2095
|
}, initOverrides);
|
|
1749
2096
|
|
|
1750
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
2097
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => PaginatedRadiusProviderPropertyMappingListFromJSON(jsonValue));
|
|
1751
2098
|
}
|
|
1752
2099
|
|
|
1753
2100
|
/**
|
|
1754
|
-
*
|
|
2101
|
+
* RadiusProviderPropertyMapping Viewset
|
|
1755
2102
|
*/
|
|
1756
|
-
async
|
|
1757
|
-
const response = await this.
|
|
2103
|
+
async propertymappingsRadiusList(requestParameters: PropertymappingsRadiusListRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedRadiusProviderPropertyMappingList> {
|
|
2104
|
+
const response = await this.propertymappingsRadiusListRaw(requestParameters, initOverrides);
|
|
1758
2105
|
return await response.value();
|
|
1759
2106
|
}
|
|
1760
2107
|
|
|
1761
2108
|
/**
|
|
1762
|
-
*
|
|
2109
|
+
* RadiusProviderPropertyMapping Viewset
|
|
1763
2110
|
*/
|
|
1764
|
-
async
|
|
2111
|
+
async propertymappingsRadiusPartialUpdateRaw(requestParameters: PropertymappingsRadiusPartialUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<RadiusProviderPropertyMapping>> {
|
|
1765
2112
|
if (requestParameters.pmUuid === null || requestParameters.pmUuid === undefined) {
|
|
1766
|
-
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling
|
|
2113
|
+
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling propertymappingsRadiusPartialUpdate.');
|
|
1767
2114
|
}
|
|
1768
2115
|
|
|
1769
2116
|
const queryParameters: any = {};
|
|
@@ -1781,30 +2128,30 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
|
1781
2128
|
}
|
|
1782
2129
|
}
|
|
1783
2130
|
const response = await this.request({
|
|
1784
|
-
path: `/propertymappings/
|
|
2131
|
+
path: `/propertymappings/radius/{pm_uuid}/`.replace(`{${"pm_uuid"}}`, encodeURIComponent(String(requestParameters.pmUuid))),
|
|
1785
2132
|
method: 'PATCH',
|
|
1786
2133
|
headers: headerParameters,
|
|
1787
2134
|
query: queryParameters,
|
|
1788
|
-
body:
|
|
2135
|
+
body: PatchedRadiusProviderPropertyMappingRequestToJSON(requestParameters.patchedRadiusProviderPropertyMappingRequest),
|
|
1789
2136
|
}, initOverrides);
|
|
1790
2137
|
|
|
1791
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
2138
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => RadiusProviderPropertyMappingFromJSON(jsonValue));
|
|
1792
2139
|
}
|
|
1793
2140
|
|
|
1794
2141
|
/**
|
|
1795
|
-
*
|
|
2142
|
+
* RadiusProviderPropertyMapping Viewset
|
|
1796
2143
|
*/
|
|
1797
|
-
async
|
|
1798
|
-
const response = await this.
|
|
2144
|
+
async propertymappingsRadiusPartialUpdate(requestParameters: PropertymappingsRadiusPartialUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RadiusProviderPropertyMapping> {
|
|
2145
|
+
const response = await this.propertymappingsRadiusPartialUpdateRaw(requestParameters, initOverrides);
|
|
1799
2146
|
return await response.value();
|
|
1800
2147
|
}
|
|
1801
2148
|
|
|
1802
2149
|
/**
|
|
1803
|
-
*
|
|
2150
|
+
* RadiusProviderPropertyMapping Viewset
|
|
1804
2151
|
*/
|
|
1805
|
-
async
|
|
2152
|
+
async propertymappingsRadiusRetrieveRaw(requestParameters: PropertymappingsRadiusRetrieveRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<RadiusProviderPropertyMapping>> {
|
|
1806
2153
|
if (requestParameters.pmUuid === null || requestParameters.pmUuid === undefined) {
|
|
1807
|
-
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling
|
|
2154
|
+
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling propertymappingsRadiusRetrieve.');
|
|
1808
2155
|
}
|
|
1809
2156
|
|
|
1810
2157
|
const queryParameters: any = {};
|
|
@@ -1820,33 +2167,33 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
|
1820
2167
|
}
|
|
1821
2168
|
}
|
|
1822
2169
|
const response = await this.request({
|
|
1823
|
-
path: `/propertymappings/
|
|
2170
|
+
path: `/propertymappings/radius/{pm_uuid}/`.replace(`{${"pm_uuid"}}`, encodeURIComponent(String(requestParameters.pmUuid))),
|
|
1824
2171
|
method: 'GET',
|
|
1825
2172
|
headers: headerParameters,
|
|
1826
2173
|
query: queryParameters,
|
|
1827
2174
|
}, initOverrides);
|
|
1828
2175
|
|
|
1829
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
2176
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => RadiusProviderPropertyMappingFromJSON(jsonValue));
|
|
1830
2177
|
}
|
|
1831
2178
|
|
|
1832
2179
|
/**
|
|
1833
|
-
*
|
|
2180
|
+
* RadiusProviderPropertyMapping Viewset
|
|
1834
2181
|
*/
|
|
1835
|
-
async
|
|
1836
|
-
const response = await this.
|
|
2182
|
+
async propertymappingsRadiusRetrieve(requestParameters: PropertymappingsRadiusRetrieveRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RadiusProviderPropertyMapping> {
|
|
2183
|
+
const response = await this.propertymappingsRadiusRetrieveRaw(requestParameters, initOverrides);
|
|
1837
2184
|
return await response.value();
|
|
1838
2185
|
}
|
|
1839
2186
|
|
|
1840
2187
|
/**
|
|
1841
|
-
*
|
|
2188
|
+
* RadiusProviderPropertyMapping Viewset
|
|
1842
2189
|
*/
|
|
1843
|
-
async
|
|
2190
|
+
async propertymappingsRadiusUpdateRaw(requestParameters: PropertymappingsRadiusUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<RadiusProviderPropertyMapping>> {
|
|
1844
2191
|
if (requestParameters.pmUuid === null || requestParameters.pmUuid === undefined) {
|
|
1845
|
-
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling
|
|
2192
|
+
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling propertymappingsRadiusUpdate.');
|
|
1846
2193
|
}
|
|
1847
2194
|
|
|
1848
|
-
if (requestParameters.
|
|
1849
|
-
throw new runtime.RequiredError('
|
|
2195
|
+
if (requestParameters.radiusProviderPropertyMappingRequest === null || requestParameters.radiusProviderPropertyMappingRequest === undefined) {
|
|
2196
|
+
throw new runtime.RequiredError('radiusProviderPropertyMappingRequest','Required parameter requestParameters.radiusProviderPropertyMappingRequest was null or undefined when calling propertymappingsRadiusUpdate.');
|
|
1850
2197
|
}
|
|
1851
2198
|
|
|
1852
2199
|
const queryParameters: any = {};
|
|
@@ -1864,30 +2211,30 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
|
1864
2211
|
}
|
|
1865
2212
|
}
|
|
1866
2213
|
const response = await this.request({
|
|
1867
|
-
path: `/propertymappings/
|
|
2214
|
+
path: `/propertymappings/radius/{pm_uuid}/`.replace(`{${"pm_uuid"}}`, encodeURIComponent(String(requestParameters.pmUuid))),
|
|
1868
2215
|
method: 'PUT',
|
|
1869
2216
|
headers: headerParameters,
|
|
1870
2217
|
query: queryParameters,
|
|
1871
|
-
body:
|
|
2218
|
+
body: RadiusProviderPropertyMappingRequestToJSON(requestParameters.radiusProviderPropertyMappingRequest),
|
|
1872
2219
|
}, initOverrides);
|
|
1873
2220
|
|
|
1874
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
2221
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => RadiusProviderPropertyMappingFromJSON(jsonValue));
|
|
1875
2222
|
}
|
|
1876
2223
|
|
|
1877
2224
|
/**
|
|
1878
|
-
*
|
|
2225
|
+
* RadiusProviderPropertyMapping Viewset
|
|
1879
2226
|
*/
|
|
1880
|
-
async
|
|
1881
|
-
const response = await this.
|
|
2227
|
+
async propertymappingsRadiusUpdate(requestParameters: PropertymappingsRadiusUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RadiusProviderPropertyMapping> {
|
|
2228
|
+
const response = await this.propertymappingsRadiusUpdateRaw(requestParameters, initOverrides);
|
|
1882
2229
|
return await response.value();
|
|
1883
2230
|
}
|
|
1884
2231
|
|
|
1885
2232
|
/**
|
|
1886
2233
|
* Get a list of all objects that use this object
|
|
1887
2234
|
*/
|
|
1888
|
-
async
|
|
2235
|
+
async propertymappingsRadiusUsedByListRaw(requestParameters: PropertymappingsRadiusUsedByListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<UsedBy>>> {
|
|
1889
2236
|
if (requestParameters.pmUuid === null || requestParameters.pmUuid === undefined) {
|
|
1890
|
-
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling
|
|
2237
|
+
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling propertymappingsRadiusUsedByList.');
|
|
1891
2238
|
}
|
|
1892
2239
|
|
|
1893
2240
|
const queryParameters: any = {};
|
|
@@ -1903,7 +2250,7 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
|
1903
2250
|
}
|
|
1904
2251
|
}
|
|
1905
2252
|
const response = await this.request({
|
|
1906
|
-
path: `/propertymappings/
|
|
2253
|
+
path: `/propertymappings/radius/{pm_uuid}/used_by/`.replace(`{${"pm_uuid"}}`, encodeURIComponent(String(requestParameters.pmUuid))),
|
|
1907
2254
|
method: 'GET',
|
|
1908
2255
|
headers: headerParameters,
|
|
1909
2256
|
query: queryParameters,
|
|
@@ -1915,17 +2262,17 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
|
1915
2262
|
/**
|
|
1916
2263
|
* Get a list of all objects that use this object
|
|
1917
2264
|
*/
|
|
1918
|
-
async
|
|
1919
|
-
const response = await this.
|
|
2265
|
+
async propertymappingsRadiusUsedByList(requestParameters: PropertymappingsRadiusUsedByListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<UsedBy>> {
|
|
2266
|
+
const response = await this.propertymappingsRadiusUsedByListRaw(requestParameters, initOverrides);
|
|
1920
2267
|
return await response.value();
|
|
1921
2268
|
}
|
|
1922
2269
|
|
|
1923
2270
|
/**
|
|
1924
|
-
*
|
|
2271
|
+
* SAMLPropertyMapping Viewset
|
|
1925
2272
|
*/
|
|
1926
|
-
async
|
|
1927
|
-
if (requestParameters.
|
|
1928
|
-
throw new runtime.RequiredError('
|
|
2273
|
+
async propertymappingsSamlCreateRaw(requestParameters: PropertymappingsSamlCreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SAMLPropertyMapping>> {
|
|
2274
|
+
if (requestParameters.sAMLPropertyMappingRequest === null || requestParameters.sAMLPropertyMappingRequest === undefined) {
|
|
2275
|
+
throw new runtime.RequiredError('sAMLPropertyMappingRequest','Required parameter requestParameters.sAMLPropertyMappingRequest was null or undefined when calling propertymappingsSamlCreate.');
|
|
1929
2276
|
}
|
|
1930
2277
|
|
|
1931
2278
|
const queryParameters: any = {};
|
|
@@ -1943,30 +2290,30 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
|
1943
2290
|
}
|
|
1944
2291
|
}
|
|
1945
2292
|
const response = await this.request({
|
|
1946
|
-
path: `/propertymappings/
|
|
2293
|
+
path: `/propertymappings/saml/`,
|
|
1947
2294
|
method: 'POST',
|
|
1948
2295
|
headers: headerParameters,
|
|
1949
2296
|
query: queryParameters,
|
|
1950
|
-
body:
|
|
2297
|
+
body: SAMLPropertyMappingRequestToJSON(requestParameters.sAMLPropertyMappingRequest),
|
|
1951
2298
|
}, initOverrides);
|
|
1952
2299
|
|
|
1953
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
2300
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => SAMLPropertyMappingFromJSON(jsonValue));
|
|
1954
2301
|
}
|
|
1955
2302
|
|
|
1956
2303
|
/**
|
|
1957
|
-
*
|
|
2304
|
+
* SAMLPropertyMapping Viewset
|
|
1958
2305
|
*/
|
|
1959
|
-
async
|
|
1960
|
-
const response = await this.
|
|
2306
|
+
async propertymappingsSamlCreate(requestParameters: PropertymappingsSamlCreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SAMLPropertyMapping> {
|
|
2307
|
+
const response = await this.propertymappingsSamlCreateRaw(requestParameters, initOverrides);
|
|
1961
2308
|
return await response.value();
|
|
1962
2309
|
}
|
|
1963
2310
|
|
|
1964
2311
|
/**
|
|
1965
|
-
*
|
|
2312
|
+
* SAMLPropertyMapping Viewset
|
|
1966
2313
|
*/
|
|
1967
|
-
async
|
|
2314
|
+
async propertymappingsSamlDestroyRaw(requestParameters: PropertymappingsSamlDestroyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
1968
2315
|
if (requestParameters.pmUuid === null || requestParameters.pmUuid === undefined) {
|
|
1969
|
-
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling
|
|
2316
|
+
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling propertymappingsSamlDestroy.');
|
|
1970
2317
|
}
|
|
1971
2318
|
|
|
1972
2319
|
const queryParameters: any = {};
|
|
@@ -1982,7 +2329,7 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
|
1982
2329
|
}
|
|
1983
2330
|
}
|
|
1984
2331
|
const response = await this.request({
|
|
1985
|
-
path: `/propertymappings/
|
|
2332
|
+
path: `/propertymappings/saml/{pm_uuid}/`.replace(`{${"pm_uuid"}}`, encodeURIComponent(String(requestParameters.pmUuid))),
|
|
1986
2333
|
method: 'DELETE',
|
|
1987
2334
|
headers: headerParameters,
|
|
1988
2335
|
query: queryParameters,
|
|
@@ -1992,18 +2339,26 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
|
1992
2339
|
}
|
|
1993
2340
|
|
|
1994
2341
|
/**
|
|
1995
|
-
*
|
|
2342
|
+
* SAMLPropertyMapping Viewset
|
|
1996
2343
|
*/
|
|
1997
|
-
async
|
|
1998
|
-
await this.
|
|
2344
|
+
async propertymappingsSamlDestroy(requestParameters: PropertymappingsSamlDestroyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
|
|
2345
|
+
await this.propertymappingsSamlDestroyRaw(requestParameters, initOverrides);
|
|
1999
2346
|
}
|
|
2000
2347
|
|
|
2001
2348
|
/**
|
|
2002
|
-
*
|
|
2349
|
+
* SAMLPropertyMapping Viewset
|
|
2003
2350
|
*/
|
|
2004
|
-
async
|
|
2351
|
+
async propertymappingsSamlListRaw(requestParameters: PropertymappingsSamlListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedSAMLPropertyMappingList>> {
|
|
2005
2352
|
const queryParameters: any = {};
|
|
2006
2353
|
|
|
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
|
+
|
|
2007
2362
|
if (requestParameters.managed) {
|
|
2008
2363
|
queryParameters['managed'] = requestParameters.managed;
|
|
2009
2364
|
}
|
|
@@ -2024,6 +2379,14 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
|
2024
2379
|
queryParameters['page_size'] = requestParameters.pageSize;
|
|
2025
2380
|
}
|
|
2026
2381
|
|
|
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
|
+
|
|
2027
2390
|
if (requestParameters.search !== undefined) {
|
|
2028
2391
|
queryParameters['search'] = requestParameters.search;
|
|
2029
2392
|
}
|
|
@@ -2039,29 +2402,29 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
|
2039
2402
|
}
|
|
2040
2403
|
}
|
|
2041
2404
|
const response = await this.request({
|
|
2042
|
-
path: `/propertymappings/
|
|
2405
|
+
path: `/propertymappings/saml/`,
|
|
2043
2406
|
method: 'GET',
|
|
2044
2407
|
headers: headerParameters,
|
|
2045
2408
|
query: queryParameters,
|
|
2046
2409
|
}, initOverrides);
|
|
2047
2410
|
|
|
2048
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
2411
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => PaginatedSAMLPropertyMappingListFromJSON(jsonValue));
|
|
2049
2412
|
}
|
|
2050
2413
|
|
|
2051
2414
|
/**
|
|
2052
|
-
*
|
|
2415
|
+
* SAMLPropertyMapping Viewset
|
|
2053
2416
|
*/
|
|
2054
|
-
async
|
|
2055
|
-
const response = await this.
|
|
2417
|
+
async propertymappingsSamlList(requestParameters: PropertymappingsSamlListRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedSAMLPropertyMappingList> {
|
|
2418
|
+
const response = await this.propertymappingsSamlListRaw(requestParameters, initOverrides);
|
|
2056
2419
|
return await response.value();
|
|
2057
2420
|
}
|
|
2058
2421
|
|
|
2059
2422
|
/**
|
|
2060
|
-
*
|
|
2423
|
+
* SAMLPropertyMapping Viewset
|
|
2061
2424
|
*/
|
|
2062
|
-
async
|
|
2425
|
+
async propertymappingsSamlPartialUpdateRaw(requestParameters: PropertymappingsSamlPartialUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SAMLPropertyMapping>> {
|
|
2063
2426
|
if (requestParameters.pmUuid === null || requestParameters.pmUuid === undefined) {
|
|
2064
|
-
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling
|
|
2427
|
+
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling propertymappingsSamlPartialUpdate.');
|
|
2065
2428
|
}
|
|
2066
2429
|
|
|
2067
2430
|
const queryParameters: any = {};
|
|
@@ -2079,30 +2442,30 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
|
2079
2442
|
}
|
|
2080
2443
|
}
|
|
2081
2444
|
const response = await this.request({
|
|
2082
|
-
path: `/propertymappings/
|
|
2445
|
+
path: `/propertymappings/saml/{pm_uuid}/`.replace(`{${"pm_uuid"}}`, encodeURIComponent(String(requestParameters.pmUuid))),
|
|
2083
2446
|
method: 'PATCH',
|
|
2084
2447
|
headers: headerParameters,
|
|
2085
2448
|
query: queryParameters,
|
|
2086
|
-
body:
|
|
2449
|
+
body: PatchedSAMLPropertyMappingRequestToJSON(requestParameters.patchedSAMLPropertyMappingRequest),
|
|
2087
2450
|
}, initOverrides);
|
|
2088
2451
|
|
|
2089
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
2452
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => SAMLPropertyMappingFromJSON(jsonValue));
|
|
2090
2453
|
}
|
|
2091
2454
|
|
|
2092
2455
|
/**
|
|
2093
|
-
*
|
|
2456
|
+
* SAMLPropertyMapping Viewset
|
|
2094
2457
|
*/
|
|
2095
|
-
async
|
|
2096
|
-
const response = await this.
|
|
2458
|
+
async propertymappingsSamlPartialUpdate(requestParameters: PropertymappingsSamlPartialUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SAMLPropertyMapping> {
|
|
2459
|
+
const response = await this.propertymappingsSamlPartialUpdateRaw(requestParameters, initOverrides);
|
|
2097
2460
|
return await response.value();
|
|
2098
2461
|
}
|
|
2099
2462
|
|
|
2100
2463
|
/**
|
|
2101
|
-
*
|
|
2464
|
+
* SAMLPropertyMapping Viewset
|
|
2102
2465
|
*/
|
|
2103
|
-
async
|
|
2466
|
+
async propertymappingsSamlRetrieveRaw(requestParameters: PropertymappingsSamlRetrieveRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SAMLPropertyMapping>> {
|
|
2104
2467
|
if (requestParameters.pmUuid === null || requestParameters.pmUuid === undefined) {
|
|
2105
|
-
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling
|
|
2468
|
+
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling propertymappingsSamlRetrieve.');
|
|
2106
2469
|
}
|
|
2107
2470
|
|
|
2108
2471
|
const queryParameters: any = {};
|
|
@@ -2118,33 +2481,33 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
|
2118
2481
|
}
|
|
2119
2482
|
}
|
|
2120
2483
|
const response = await this.request({
|
|
2121
|
-
path: `/propertymappings/
|
|
2484
|
+
path: `/propertymappings/saml/{pm_uuid}/`.replace(`{${"pm_uuid"}}`, encodeURIComponent(String(requestParameters.pmUuid))),
|
|
2122
2485
|
method: 'GET',
|
|
2123
2486
|
headers: headerParameters,
|
|
2124
2487
|
query: queryParameters,
|
|
2125
2488
|
}, initOverrides);
|
|
2126
2489
|
|
|
2127
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
2490
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => SAMLPropertyMappingFromJSON(jsonValue));
|
|
2128
2491
|
}
|
|
2129
2492
|
|
|
2130
2493
|
/**
|
|
2131
|
-
*
|
|
2494
|
+
* SAMLPropertyMapping Viewset
|
|
2132
2495
|
*/
|
|
2133
|
-
async
|
|
2134
|
-
const response = await this.
|
|
2496
|
+
async propertymappingsSamlRetrieve(requestParameters: PropertymappingsSamlRetrieveRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SAMLPropertyMapping> {
|
|
2497
|
+
const response = await this.propertymappingsSamlRetrieveRaw(requestParameters, initOverrides);
|
|
2135
2498
|
return await response.value();
|
|
2136
2499
|
}
|
|
2137
2500
|
|
|
2138
2501
|
/**
|
|
2139
|
-
*
|
|
2502
|
+
* SAMLPropertyMapping Viewset
|
|
2140
2503
|
*/
|
|
2141
|
-
async
|
|
2504
|
+
async propertymappingsSamlUpdateRaw(requestParameters: PropertymappingsSamlUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SAMLPropertyMapping>> {
|
|
2142
2505
|
if (requestParameters.pmUuid === null || requestParameters.pmUuid === undefined) {
|
|
2143
|
-
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling
|
|
2506
|
+
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling propertymappingsSamlUpdate.');
|
|
2144
2507
|
}
|
|
2145
2508
|
|
|
2146
|
-
if (requestParameters.
|
|
2147
|
-
throw new runtime.RequiredError('
|
|
2509
|
+
if (requestParameters.sAMLPropertyMappingRequest === null || requestParameters.sAMLPropertyMappingRequest === undefined) {
|
|
2510
|
+
throw new runtime.RequiredError('sAMLPropertyMappingRequest','Required parameter requestParameters.sAMLPropertyMappingRequest was null or undefined when calling propertymappingsSamlUpdate.');
|
|
2148
2511
|
}
|
|
2149
2512
|
|
|
2150
2513
|
const queryParameters: any = {};
|
|
@@ -2162,30 +2525,30 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
|
2162
2525
|
}
|
|
2163
2526
|
}
|
|
2164
2527
|
const response = await this.request({
|
|
2165
|
-
path: `/propertymappings/
|
|
2528
|
+
path: `/propertymappings/saml/{pm_uuid}/`.replace(`{${"pm_uuid"}}`, encodeURIComponent(String(requestParameters.pmUuid))),
|
|
2166
2529
|
method: 'PUT',
|
|
2167
2530
|
headers: headerParameters,
|
|
2168
2531
|
query: queryParameters,
|
|
2169
|
-
body:
|
|
2532
|
+
body: SAMLPropertyMappingRequestToJSON(requestParameters.sAMLPropertyMappingRequest),
|
|
2170
2533
|
}, initOverrides);
|
|
2171
2534
|
|
|
2172
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
2535
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => SAMLPropertyMappingFromJSON(jsonValue));
|
|
2173
2536
|
}
|
|
2174
2537
|
|
|
2175
2538
|
/**
|
|
2176
|
-
*
|
|
2539
|
+
* SAMLPropertyMapping Viewset
|
|
2177
2540
|
*/
|
|
2178
|
-
async
|
|
2179
|
-
const response = await this.
|
|
2541
|
+
async propertymappingsSamlUpdate(requestParameters: PropertymappingsSamlUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SAMLPropertyMapping> {
|
|
2542
|
+
const response = await this.propertymappingsSamlUpdateRaw(requestParameters, initOverrides);
|
|
2180
2543
|
return await response.value();
|
|
2181
2544
|
}
|
|
2182
2545
|
|
|
2183
2546
|
/**
|
|
2184
2547
|
* Get a list of all objects that use this object
|
|
2185
2548
|
*/
|
|
2186
|
-
async
|
|
2549
|
+
async propertymappingsSamlUsedByListRaw(requestParameters: PropertymappingsSamlUsedByListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<UsedBy>>> {
|
|
2187
2550
|
if (requestParameters.pmUuid === null || requestParameters.pmUuid === undefined) {
|
|
2188
|
-
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling
|
|
2551
|
+
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling propertymappingsSamlUsedByList.');
|
|
2189
2552
|
}
|
|
2190
2553
|
|
|
2191
2554
|
const queryParameters: any = {};
|
|
@@ -2201,7 +2564,7 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
|
2201
2564
|
}
|
|
2202
2565
|
}
|
|
2203
2566
|
const response = await this.request({
|
|
2204
|
-
path: `/propertymappings/
|
|
2567
|
+
path: `/propertymappings/saml/{pm_uuid}/used_by/`.replace(`{${"pm_uuid"}}`, encodeURIComponent(String(requestParameters.pmUuid))),
|
|
2205
2568
|
method: 'GET',
|
|
2206
2569
|
headers: headerParameters,
|
|
2207
2570
|
query: queryParameters,
|
|
@@ -2213,17 +2576,17 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
|
2213
2576
|
/**
|
|
2214
2577
|
* Get a list of all objects that use this object
|
|
2215
2578
|
*/
|
|
2216
|
-
async
|
|
2217
|
-
const response = await this.
|
|
2579
|
+
async propertymappingsSamlUsedByList(requestParameters: PropertymappingsSamlUsedByListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<UsedBy>> {
|
|
2580
|
+
const response = await this.propertymappingsSamlUsedByListRaw(requestParameters, initOverrides);
|
|
2218
2581
|
return await response.value();
|
|
2219
2582
|
}
|
|
2220
2583
|
|
|
2221
2584
|
/**
|
|
2222
|
-
*
|
|
2585
|
+
* SCIMMapping Viewset
|
|
2223
2586
|
*/
|
|
2224
|
-
async
|
|
2225
|
-
if (requestParameters.
|
|
2226
|
-
throw new runtime.RequiredError('
|
|
2587
|
+
async propertymappingsScimCreateRaw(requestParameters: PropertymappingsScimCreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SCIMMapping>> {
|
|
2588
|
+
if (requestParameters.sCIMMappingRequest === null || requestParameters.sCIMMappingRequest === undefined) {
|
|
2589
|
+
throw new runtime.RequiredError('sCIMMappingRequest','Required parameter requestParameters.sCIMMappingRequest was null or undefined when calling propertymappingsScimCreate.');
|
|
2227
2590
|
}
|
|
2228
2591
|
|
|
2229
2592
|
const queryParameters: any = {};
|
|
@@ -2241,30 +2604,30 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
|
2241
2604
|
}
|
|
2242
2605
|
}
|
|
2243
2606
|
const response = await this.request({
|
|
2244
|
-
path: `/propertymappings/
|
|
2607
|
+
path: `/propertymappings/scim/`,
|
|
2245
2608
|
method: 'POST',
|
|
2246
2609
|
headers: headerParameters,
|
|
2247
2610
|
query: queryParameters,
|
|
2248
|
-
body:
|
|
2611
|
+
body: SCIMMappingRequestToJSON(requestParameters.sCIMMappingRequest),
|
|
2249
2612
|
}, initOverrides);
|
|
2250
2613
|
|
|
2251
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
2614
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => SCIMMappingFromJSON(jsonValue));
|
|
2252
2615
|
}
|
|
2253
2616
|
|
|
2254
2617
|
/**
|
|
2255
|
-
*
|
|
2618
|
+
* SCIMMapping Viewset
|
|
2256
2619
|
*/
|
|
2257
|
-
async
|
|
2258
|
-
const response = await this.
|
|
2620
|
+
async propertymappingsScimCreate(requestParameters: PropertymappingsScimCreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SCIMMapping> {
|
|
2621
|
+
const response = await this.propertymappingsScimCreateRaw(requestParameters, initOverrides);
|
|
2259
2622
|
return await response.value();
|
|
2260
2623
|
}
|
|
2261
2624
|
|
|
2262
2625
|
/**
|
|
2263
|
-
*
|
|
2626
|
+
* SCIMMapping Viewset
|
|
2264
2627
|
*/
|
|
2265
|
-
async
|
|
2628
|
+
async propertymappingsScimDestroyRaw(requestParameters: PropertymappingsScimDestroyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
2266
2629
|
if (requestParameters.pmUuid === null || requestParameters.pmUuid === undefined) {
|
|
2267
|
-
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling
|
|
2630
|
+
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling propertymappingsScimDestroy.');
|
|
2268
2631
|
}
|
|
2269
2632
|
|
|
2270
2633
|
const queryParameters: any = {};
|
|
@@ -2280,7 +2643,7 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
|
2280
2643
|
}
|
|
2281
2644
|
}
|
|
2282
2645
|
const response = await this.request({
|
|
2283
|
-
path: `/propertymappings/
|
|
2646
|
+
path: `/propertymappings/scim/{pm_uuid}/`.replace(`{${"pm_uuid"}}`, encodeURIComponent(String(requestParameters.pmUuid))),
|
|
2284
2647
|
method: 'DELETE',
|
|
2285
2648
|
headers: headerParameters,
|
|
2286
2649
|
query: queryParameters,
|
|
@@ -2290,26 +2653,22 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
|
2290
2653
|
}
|
|
2291
2654
|
|
|
2292
2655
|
/**
|
|
2293
|
-
*
|
|
2656
|
+
* SCIMMapping Viewset
|
|
2294
2657
|
*/
|
|
2295
|
-
async
|
|
2296
|
-
await this.
|
|
2658
|
+
async propertymappingsScimDestroy(requestParameters: PropertymappingsScimDestroyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
|
|
2659
|
+
await this.propertymappingsScimDestroyRaw(requestParameters, initOverrides);
|
|
2297
2660
|
}
|
|
2298
2661
|
|
|
2299
2662
|
/**
|
|
2300
|
-
*
|
|
2663
|
+
* SCIMMapping Viewset
|
|
2301
2664
|
*/
|
|
2302
|
-
async
|
|
2665
|
+
async propertymappingsScimListRaw(requestParameters: PropertymappingsScimListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedSCIMMappingList>> {
|
|
2303
2666
|
const queryParameters: any = {};
|
|
2304
2667
|
|
|
2305
2668
|
if (requestParameters.expression !== undefined) {
|
|
2306
2669
|
queryParameters['expression'] = requestParameters.expression;
|
|
2307
2670
|
}
|
|
2308
2671
|
|
|
2309
|
-
if (requestParameters.friendlyName !== undefined) {
|
|
2310
|
-
queryParameters['friendly_name'] = requestParameters.friendlyName;
|
|
2311
|
-
}
|
|
2312
|
-
|
|
2313
2672
|
if (requestParameters.managed) {
|
|
2314
2673
|
queryParameters['managed'] = requestParameters.managed;
|
|
2315
2674
|
}
|
|
@@ -2334,10 +2693,6 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
|
2334
2693
|
queryParameters['pm_uuid'] = requestParameters.pmUuid;
|
|
2335
2694
|
}
|
|
2336
2695
|
|
|
2337
|
-
if (requestParameters.samlName !== undefined) {
|
|
2338
|
-
queryParameters['saml_name'] = requestParameters.samlName;
|
|
2339
|
-
}
|
|
2340
|
-
|
|
2341
2696
|
if (requestParameters.search !== undefined) {
|
|
2342
2697
|
queryParameters['search'] = requestParameters.search;
|
|
2343
2698
|
}
|
|
@@ -2353,29 +2708,29 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
|
2353
2708
|
}
|
|
2354
2709
|
}
|
|
2355
2710
|
const response = await this.request({
|
|
2356
|
-
path: `/propertymappings/
|
|
2711
|
+
path: `/propertymappings/scim/`,
|
|
2357
2712
|
method: 'GET',
|
|
2358
2713
|
headers: headerParameters,
|
|
2359
2714
|
query: queryParameters,
|
|
2360
2715
|
}, initOverrides);
|
|
2361
2716
|
|
|
2362
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
2717
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => PaginatedSCIMMappingListFromJSON(jsonValue));
|
|
2363
2718
|
}
|
|
2364
2719
|
|
|
2365
2720
|
/**
|
|
2366
|
-
*
|
|
2721
|
+
* SCIMMapping Viewset
|
|
2367
2722
|
*/
|
|
2368
|
-
async
|
|
2369
|
-
const response = await this.
|
|
2723
|
+
async propertymappingsScimList(requestParameters: PropertymappingsScimListRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedSCIMMappingList> {
|
|
2724
|
+
const response = await this.propertymappingsScimListRaw(requestParameters, initOverrides);
|
|
2370
2725
|
return await response.value();
|
|
2371
2726
|
}
|
|
2372
2727
|
|
|
2373
2728
|
/**
|
|
2374
|
-
*
|
|
2729
|
+
* SCIMMapping Viewset
|
|
2375
2730
|
*/
|
|
2376
|
-
async
|
|
2731
|
+
async propertymappingsScimPartialUpdateRaw(requestParameters: PropertymappingsScimPartialUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SCIMMapping>> {
|
|
2377
2732
|
if (requestParameters.pmUuid === null || requestParameters.pmUuid === undefined) {
|
|
2378
|
-
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling
|
|
2733
|
+
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling propertymappingsScimPartialUpdate.');
|
|
2379
2734
|
}
|
|
2380
2735
|
|
|
2381
2736
|
const queryParameters: any = {};
|
|
@@ -2393,30 +2748,30 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
|
2393
2748
|
}
|
|
2394
2749
|
}
|
|
2395
2750
|
const response = await this.request({
|
|
2396
|
-
path: `/propertymappings/
|
|
2751
|
+
path: `/propertymappings/scim/{pm_uuid}/`.replace(`{${"pm_uuid"}}`, encodeURIComponent(String(requestParameters.pmUuid))),
|
|
2397
2752
|
method: 'PATCH',
|
|
2398
2753
|
headers: headerParameters,
|
|
2399
2754
|
query: queryParameters,
|
|
2400
|
-
body:
|
|
2755
|
+
body: PatchedSCIMMappingRequestToJSON(requestParameters.patchedSCIMMappingRequest),
|
|
2401
2756
|
}, initOverrides);
|
|
2402
2757
|
|
|
2403
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
2758
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => SCIMMappingFromJSON(jsonValue));
|
|
2404
2759
|
}
|
|
2405
2760
|
|
|
2406
2761
|
/**
|
|
2407
|
-
*
|
|
2762
|
+
* SCIMMapping Viewset
|
|
2408
2763
|
*/
|
|
2409
|
-
async
|
|
2410
|
-
const response = await this.
|
|
2764
|
+
async propertymappingsScimPartialUpdate(requestParameters: PropertymappingsScimPartialUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SCIMMapping> {
|
|
2765
|
+
const response = await this.propertymappingsScimPartialUpdateRaw(requestParameters, initOverrides);
|
|
2411
2766
|
return await response.value();
|
|
2412
2767
|
}
|
|
2413
2768
|
|
|
2414
2769
|
/**
|
|
2415
|
-
*
|
|
2770
|
+
* SCIMMapping Viewset
|
|
2416
2771
|
*/
|
|
2417
|
-
async
|
|
2772
|
+
async propertymappingsScimRetrieveRaw(requestParameters: PropertymappingsScimRetrieveRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SCIMMapping>> {
|
|
2418
2773
|
if (requestParameters.pmUuid === null || requestParameters.pmUuid === undefined) {
|
|
2419
|
-
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling
|
|
2774
|
+
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling propertymappingsScimRetrieve.');
|
|
2420
2775
|
}
|
|
2421
2776
|
|
|
2422
2777
|
const queryParameters: any = {};
|
|
@@ -2432,33 +2787,33 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
|
2432
2787
|
}
|
|
2433
2788
|
}
|
|
2434
2789
|
const response = await this.request({
|
|
2435
|
-
path: `/propertymappings/
|
|
2790
|
+
path: `/propertymappings/scim/{pm_uuid}/`.replace(`{${"pm_uuid"}}`, encodeURIComponent(String(requestParameters.pmUuid))),
|
|
2436
2791
|
method: 'GET',
|
|
2437
2792
|
headers: headerParameters,
|
|
2438
2793
|
query: queryParameters,
|
|
2439
2794
|
}, initOverrides);
|
|
2440
2795
|
|
|
2441
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
2796
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => SCIMMappingFromJSON(jsonValue));
|
|
2442
2797
|
}
|
|
2443
2798
|
|
|
2444
2799
|
/**
|
|
2445
|
-
*
|
|
2800
|
+
* SCIMMapping Viewset
|
|
2446
2801
|
*/
|
|
2447
|
-
async
|
|
2448
|
-
const response = await this.
|
|
2802
|
+
async propertymappingsScimRetrieve(requestParameters: PropertymappingsScimRetrieveRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SCIMMapping> {
|
|
2803
|
+
const response = await this.propertymappingsScimRetrieveRaw(requestParameters, initOverrides);
|
|
2449
2804
|
return await response.value();
|
|
2450
2805
|
}
|
|
2451
2806
|
|
|
2452
2807
|
/**
|
|
2453
|
-
*
|
|
2808
|
+
* SCIMMapping Viewset
|
|
2454
2809
|
*/
|
|
2455
|
-
async
|
|
2810
|
+
async propertymappingsScimUpdateRaw(requestParameters: PropertymappingsScimUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SCIMMapping>> {
|
|
2456
2811
|
if (requestParameters.pmUuid === null || requestParameters.pmUuid === undefined) {
|
|
2457
|
-
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling
|
|
2812
|
+
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling propertymappingsScimUpdate.');
|
|
2458
2813
|
}
|
|
2459
2814
|
|
|
2460
|
-
if (requestParameters.
|
|
2461
|
-
throw new runtime.RequiredError('
|
|
2815
|
+
if (requestParameters.sCIMMappingRequest === null || requestParameters.sCIMMappingRequest === undefined) {
|
|
2816
|
+
throw new runtime.RequiredError('sCIMMappingRequest','Required parameter requestParameters.sCIMMappingRequest was null or undefined when calling propertymappingsScimUpdate.');
|
|
2462
2817
|
}
|
|
2463
2818
|
|
|
2464
2819
|
const queryParameters: any = {};
|
|
@@ -2476,30 +2831,30 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
|
2476
2831
|
}
|
|
2477
2832
|
}
|
|
2478
2833
|
const response = await this.request({
|
|
2479
|
-
path: `/propertymappings/
|
|
2834
|
+
path: `/propertymappings/scim/{pm_uuid}/`.replace(`{${"pm_uuid"}}`, encodeURIComponent(String(requestParameters.pmUuid))),
|
|
2480
2835
|
method: 'PUT',
|
|
2481
2836
|
headers: headerParameters,
|
|
2482
2837
|
query: queryParameters,
|
|
2483
|
-
body:
|
|
2838
|
+
body: SCIMMappingRequestToJSON(requestParameters.sCIMMappingRequest),
|
|
2484
2839
|
}, initOverrides);
|
|
2485
2840
|
|
|
2486
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
2841
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => SCIMMappingFromJSON(jsonValue));
|
|
2487
2842
|
}
|
|
2488
2843
|
|
|
2489
2844
|
/**
|
|
2490
|
-
*
|
|
2845
|
+
* SCIMMapping Viewset
|
|
2491
2846
|
*/
|
|
2492
|
-
async
|
|
2493
|
-
const response = await this.
|
|
2847
|
+
async propertymappingsScimUpdate(requestParameters: PropertymappingsScimUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SCIMMapping> {
|
|
2848
|
+
const response = await this.propertymappingsScimUpdateRaw(requestParameters, initOverrides);
|
|
2494
2849
|
return await response.value();
|
|
2495
2850
|
}
|
|
2496
2851
|
|
|
2497
2852
|
/**
|
|
2498
2853
|
* Get a list of all objects that use this object
|
|
2499
2854
|
*/
|
|
2500
|
-
async
|
|
2855
|
+
async propertymappingsScimUsedByListRaw(requestParameters: PropertymappingsScimUsedByListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<UsedBy>>> {
|
|
2501
2856
|
if (requestParameters.pmUuid === null || requestParameters.pmUuid === undefined) {
|
|
2502
|
-
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling
|
|
2857
|
+
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling propertymappingsScimUsedByList.');
|
|
2503
2858
|
}
|
|
2504
2859
|
|
|
2505
2860
|
const queryParameters: any = {};
|
|
@@ -2515,7 +2870,7 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
|
2515
2870
|
}
|
|
2516
2871
|
}
|
|
2517
2872
|
const response = await this.request({
|
|
2518
|
-
path: `/propertymappings/
|
|
2873
|
+
path: `/propertymappings/scim/{pm_uuid}/used_by/`.replace(`{${"pm_uuid"}}`, encodeURIComponent(String(requestParameters.pmUuid))),
|
|
2519
2874
|
method: 'GET',
|
|
2520
2875
|
headers: headerParameters,
|
|
2521
2876
|
query: queryParameters,
|
|
@@ -2527,17 +2882,17 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
|
2527
2882
|
/**
|
|
2528
2883
|
* Get a list of all objects that use this object
|
|
2529
2884
|
*/
|
|
2530
|
-
async
|
|
2531
|
-
const response = await this.
|
|
2885
|
+
async propertymappingsScimUsedByList(requestParameters: PropertymappingsScimUsedByListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<UsedBy>> {
|
|
2886
|
+
const response = await this.propertymappingsScimUsedByListRaw(requestParameters, initOverrides);
|
|
2532
2887
|
return await response.value();
|
|
2533
2888
|
}
|
|
2534
2889
|
|
|
2535
2890
|
/**
|
|
2536
|
-
*
|
|
2891
|
+
* ScopeMapping Viewset
|
|
2537
2892
|
*/
|
|
2538
|
-
async
|
|
2539
|
-
if (requestParameters.
|
|
2540
|
-
throw new runtime.RequiredError('
|
|
2893
|
+
async propertymappingsScopeCreateRaw(requestParameters: PropertymappingsScopeCreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ScopeMapping>> {
|
|
2894
|
+
if (requestParameters.scopeMappingRequest === null || requestParameters.scopeMappingRequest === undefined) {
|
|
2895
|
+
throw new runtime.RequiredError('scopeMappingRequest','Required parameter requestParameters.scopeMappingRequest was null or undefined when calling propertymappingsScopeCreate.');
|
|
2541
2896
|
}
|
|
2542
2897
|
|
|
2543
2898
|
const queryParameters: any = {};
|
|
@@ -2555,30 +2910,30 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
|
2555
2910
|
}
|
|
2556
2911
|
}
|
|
2557
2912
|
const response = await this.request({
|
|
2558
|
-
path: `/propertymappings/
|
|
2913
|
+
path: `/propertymappings/scope/`,
|
|
2559
2914
|
method: 'POST',
|
|
2560
2915
|
headers: headerParameters,
|
|
2561
2916
|
query: queryParameters,
|
|
2562
|
-
body:
|
|
2917
|
+
body: ScopeMappingRequestToJSON(requestParameters.scopeMappingRequest),
|
|
2563
2918
|
}, initOverrides);
|
|
2564
2919
|
|
|
2565
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
2920
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => ScopeMappingFromJSON(jsonValue));
|
|
2566
2921
|
}
|
|
2567
2922
|
|
|
2568
2923
|
/**
|
|
2569
|
-
*
|
|
2924
|
+
* ScopeMapping Viewset
|
|
2570
2925
|
*/
|
|
2571
|
-
async
|
|
2572
|
-
const response = await this.
|
|
2926
|
+
async propertymappingsScopeCreate(requestParameters: PropertymappingsScopeCreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ScopeMapping> {
|
|
2927
|
+
const response = await this.propertymappingsScopeCreateRaw(requestParameters, initOverrides);
|
|
2573
2928
|
return await response.value();
|
|
2574
2929
|
}
|
|
2575
2930
|
|
|
2576
2931
|
/**
|
|
2577
|
-
*
|
|
2932
|
+
* ScopeMapping Viewset
|
|
2578
2933
|
*/
|
|
2579
|
-
async
|
|
2934
|
+
async propertymappingsScopeDestroyRaw(requestParameters: PropertymappingsScopeDestroyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
2580
2935
|
if (requestParameters.pmUuid === null || requestParameters.pmUuid === undefined) {
|
|
2581
|
-
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling
|
|
2936
|
+
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling propertymappingsScopeDestroy.');
|
|
2582
2937
|
}
|
|
2583
2938
|
|
|
2584
2939
|
const queryParameters: any = {};
|
|
@@ -2594,7 +2949,7 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
|
2594
2949
|
}
|
|
2595
2950
|
}
|
|
2596
2951
|
const response = await this.request({
|
|
2597
|
-
path: `/propertymappings/
|
|
2952
|
+
path: `/propertymappings/scope/{pm_uuid}/`.replace(`{${"pm_uuid"}}`, encodeURIComponent(String(requestParameters.pmUuid))),
|
|
2598
2953
|
method: 'DELETE',
|
|
2599
2954
|
headers: headerParameters,
|
|
2600
2955
|
query: queryParameters,
|
|
@@ -2604,22 +2959,18 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
|
2604
2959
|
}
|
|
2605
2960
|
|
|
2606
2961
|
/**
|
|
2607
|
-
*
|
|
2962
|
+
* ScopeMapping Viewset
|
|
2608
2963
|
*/
|
|
2609
|
-
async
|
|
2610
|
-
await this.
|
|
2964
|
+
async propertymappingsScopeDestroy(requestParameters: PropertymappingsScopeDestroyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
|
|
2965
|
+
await this.propertymappingsScopeDestroyRaw(requestParameters, initOverrides);
|
|
2611
2966
|
}
|
|
2612
2967
|
|
|
2613
2968
|
/**
|
|
2614
|
-
*
|
|
2969
|
+
* ScopeMapping Viewset
|
|
2615
2970
|
*/
|
|
2616
|
-
async
|
|
2971
|
+
async propertymappingsScopeListRaw(requestParameters: PropertymappingsScopeListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedScopeMappingList>> {
|
|
2617
2972
|
const queryParameters: any = {};
|
|
2618
2973
|
|
|
2619
|
-
if (requestParameters.expression !== undefined) {
|
|
2620
|
-
queryParameters['expression'] = requestParameters.expression;
|
|
2621
|
-
}
|
|
2622
|
-
|
|
2623
2974
|
if (requestParameters.managed) {
|
|
2624
2975
|
queryParameters['managed'] = requestParameters.managed;
|
|
2625
2976
|
}
|
|
@@ -2640,8 +2991,8 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
|
2640
2991
|
queryParameters['page_size'] = requestParameters.pageSize;
|
|
2641
2992
|
}
|
|
2642
2993
|
|
|
2643
|
-
if (requestParameters.
|
|
2644
|
-
queryParameters['
|
|
2994
|
+
if (requestParameters.scopeName !== undefined) {
|
|
2995
|
+
queryParameters['scope_name'] = requestParameters.scopeName;
|
|
2645
2996
|
}
|
|
2646
2997
|
|
|
2647
2998
|
if (requestParameters.search !== undefined) {
|
|
@@ -2659,29 +3010,29 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
|
2659
3010
|
}
|
|
2660
3011
|
}
|
|
2661
3012
|
const response = await this.request({
|
|
2662
|
-
path: `/propertymappings/
|
|
3013
|
+
path: `/propertymappings/scope/`,
|
|
2663
3014
|
method: 'GET',
|
|
2664
3015
|
headers: headerParameters,
|
|
2665
3016
|
query: queryParameters,
|
|
2666
3017
|
}, initOverrides);
|
|
2667
3018
|
|
|
2668
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
3019
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => PaginatedScopeMappingListFromJSON(jsonValue));
|
|
2669
3020
|
}
|
|
2670
3021
|
|
|
2671
3022
|
/**
|
|
2672
|
-
*
|
|
3023
|
+
* ScopeMapping Viewset
|
|
2673
3024
|
*/
|
|
2674
|
-
async
|
|
2675
|
-
const response = await this.
|
|
3025
|
+
async propertymappingsScopeList(requestParameters: PropertymappingsScopeListRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedScopeMappingList> {
|
|
3026
|
+
const response = await this.propertymappingsScopeListRaw(requestParameters, initOverrides);
|
|
2676
3027
|
return await response.value();
|
|
2677
3028
|
}
|
|
2678
3029
|
|
|
2679
3030
|
/**
|
|
2680
|
-
*
|
|
3031
|
+
* ScopeMapping Viewset
|
|
2681
3032
|
*/
|
|
2682
|
-
async
|
|
3033
|
+
async propertymappingsScopePartialUpdateRaw(requestParameters: PropertymappingsScopePartialUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ScopeMapping>> {
|
|
2683
3034
|
if (requestParameters.pmUuid === null || requestParameters.pmUuid === undefined) {
|
|
2684
|
-
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling
|
|
3035
|
+
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling propertymappingsScopePartialUpdate.');
|
|
2685
3036
|
}
|
|
2686
3037
|
|
|
2687
3038
|
const queryParameters: any = {};
|
|
@@ -2699,30 +3050,30 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
|
2699
3050
|
}
|
|
2700
3051
|
}
|
|
2701
3052
|
const response = await this.request({
|
|
2702
|
-
path: `/propertymappings/
|
|
3053
|
+
path: `/propertymappings/scope/{pm_uuid}/`.replace(`{${"pm_uuid"}}`, encodeURIComponent(String(requestParameters.pmUuid))),
|
|
2703
3054
|
method: 'PATCH',
|
|
2704
3055
|
headers: headerParameters,
|
|
2705
3056
|
query: queryParameters,
|
|
2706
|
-
body:
|
|
3057
|
+
body: PatchedScopeMappingRequestToJSON(requestParameters.patchedScopeMappingRequest),
|
|
2707
3058
|
}, initOverrides);
|
|
2708
3059
|
|
|
2709
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
3060
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => ScopeMappingFromJSON(jsonValue));
|
|
2710
3061
|
}
|
|
2711
3062
|
|
|
2712
3063
|
/**
|
|
2713
|
-
*
|
|
3064
|
+
* ScopeMapping Viewset
|
|
2714
3065
|
*/
|
|
2715
|
-
async
|
|
2716
|
-
const response = await this.
|
|
3066
|
+
async propertymappingsScopePartialUpdate(requestParameters: PropertymappingsScopePartialUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ScopeMapping> {
|
|
3067
|
+
const response = await this.propertymappingsScopePartialUpdateRaw(requestParameters, initOverrides);
|
|
2717
3068
|
return await response.value();
|
|
2718
3069
|
}
|
|
2719
3070
|
|
|
2720
3071
|
/**
|
|
2721
|
-
*
|
|
3072
|
+
* ScopeMapping Viewset
|
|
2722
3073
|
*/
|
|
2723
|
-
async
|
|
3074
|
+
async propertymappingsScopeRetrieveRaw(requestParameters: PropertymappingsScopeRetrieveRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ScopeMapping>> {
|
|
2724
3075
|
if (requestParameters.pmUuid === null || requestParameters.pmUuid === undefined) {
|
|
2725
|
-
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling
|
|
3076
|
+
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling propertymappingsScopeRetrieve.');
|
|
2726
3077
|
}
|
|
2727
3078
|
|
|
2728
3079
|
const queryParameters: any = {};
|
|
@@ -2738,33 +3089,33 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
|
2738
3089
|
}
|
|
2739
3090
|
}
|
|
2740
3091
|
const response = await this.request({
|
|
2741
|
-
path: `/propertymappings/
|
|
3092
|
+
path: `/propertymappings/scope/{pm_uuid}/`.replace(`{${"pm_uuid"}}`, encodeURIComponent(String(requestParameters.pmUuid))),
|
|
2742
3093
|
method: 'GET',
|
|
2743
3094
|
headers: headerParameters,
|
|
2744
3095
|
query: queryParameters,
|
|
2745
3096
|
}, initOverrides);
|
|
2746
3097
|
|
|
2747
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
3098
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => ScopeMappingFromJSON(jsonValue));
|
|
2748
3099
|
}
|
|
2749
3100
|
|
|
2750
3101
|
/**
|
|
2751
|
-
*
|
|
3102
|
+
* ScopeMapping Viewset
|
|
2752
3103
|
*/
|
|
2753
|
-
async
|
|
2754
|
-
const response = await this.
|
|
3104
|
+
async propertymappingsScopeRetrieve(requestParameters: PropertymappingsScopeRetrieveRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ScopeMapping> {
|
|
3105
|
+
const response = await this.propertymappingsScopeRetrieveRaw(requestParameters, initOverrides);
|
|
2755
3106
|
return await response.value();
|
|
2756
3107
|
}
|
|
2757
3108
|
|
|
2758
3109
|
/**
|
|
2759
|
-
*
|
|
3110
|
+
* ScopeMapping Viewset
|
|
2760
3111
|
*/
|
|
2761
|
-
async
|
|
3112
|
+
async propertymappingsScopeUpdateRaw(requestParameters: PropertymappingsScopeUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ScopeMapping>> {
|
|
2762
3113
|
if (requestParameters.pmUuid === null || requestParameters.pmUuid === undefined) {
|
|
2763
|
-
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling
|
|
3114
|
+
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling propertymappingsScopeUpdate.');
|
|
2764
3115
|
}
|
|
2765
3116
|
|
|
2766
|
-
if (requestParameters.
|
|
2767
|
-
throw new runtime.RequiredError('
|
|
3117
|
+
if (requestParameters.scopeMappingRequest === null || requestParameters.scopeMappingRequest === undefined) {
|
|
3118
|
+
throw new runtime.RequiredError('scopeMappingRequest','Required parameter requestParameters.scopeMappingRequest was null or undefined when calling propertymappingsScopeUpdate.');
|
|
2768
3119
|
}
|
|
2769
3120
|
|
|
2770
3121
|
const queryParameters: any = {};
|
|
@@ -2782,30 +3133,30 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
|
2782
3133
|
}
|
|
2783
3134
|
}
|
|
2784
3135
|
const response = await this.request({
|
|
2785
|
-
path: `/propertymappings/
|
|
3136
|
+
path: `/propertymappings/scope/{pm_uuid}/`.replace(`{${"pm_uuid"}}`, encodeURIComponent(String(requestParameters.pmUuid))),
|
|
2786
3137
|
method: 'PUT',
|
|
2787
3138
|
headers: headerParameters,
|
|
2788
3139
|
query: queryParameters,
|
|
2789
|
-
body:
|
|
3140
|
+
body: ScopeMappingRequestToJSON(requestParameters.scopeMappingRequest),
|
|
2790
3141
|
}, initOverrides);
|
|
2791
3142
|
|
|
2792
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
3143
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => ScopeMappingFromJSON(jsonValue));
|
|
2793
3144
|
}
|
|
2794
3145
|
|
|
2795
3146
|
/**
|
|
2796
|
-
*
|
|
3147
|
+
* ScopeMapping Viewset
|
|
2797
3148
|
*/
|
|
2798
|
-
async
|
|
2799
|
-
const response = await this.
|
|
3149
|
+
async propertymappingsScopeUpdate(requestParameters: PropertymappingsScopeUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ScopeMapping> {
|
|
3150
|
+
const response = await this.propertymappingsScopeUpdateRaw(requestParameters, initOverrides);
|
|
2800
3151
|
return await response.value();
|
|
2801
3152
|
}
|
|
2802
3153
|
|
|
2803
3154
|
/**
|
|
2804
3155
|
* Get a list of all objects that use this object
|
|
2805
3156
|
*/
|
|
2806
|
-
async
|
|
3157
|
+
async propertymappingsScopeUsedByListRaw(requestParameters: PropertymappingsScopeUsedByListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<UsedBy>>> {
|
|
2807
3158
|
if (requestParameters.pmUuid === null || requestParameters.pmUuid === undefined) {
|
|
2808
|
-
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling
|
|
3159
|
+
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling propertymappingsScopeUsedByList.');
|
|
2809
3160
|
}
|
|
2810
3161
|
|
|
2811
3162
|
const queryParameters: any = {};
|
|
@@ -2821,7 +3172,7 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
|
2821
3172
|
}
|
|
2822
3173
|
}
|
|
2823
3174
|
const response = await this.request({
|
|
2824
|
-
path: `/propertymappings/
|
|
3175
|
+
path: `/propertymappings/scope/{pm_uuid}/used_by/`.replace(`{${"pm_uuid"}}`, encodeURIComponent(String(requestParameters.pmUuid))),
|
|
2825
3176
|
method: 'GET',
|
|
2826
3177
|
headers: headerParameters,
|
|
2827
3178
|
query: queryParameters,
|
|
@@ -2833,17 +3184,17 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
|
2833
3184
|
/**
|
|
2834
3185
|
* Get a list of all objects that use this object
|
|
2835
3186
|
*/
|
|
2836
|
-
async
|
|
2837
|
-
const response = await this.
|
|
3187
|
+
async propertymappingsScopeUsedByList(requestParameters: PropertymappingsScopeUsedByListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<UsedBy>> {
|
|
3188
|
+
const response = await this.propertymappingsScopeUsedByListRaw(requestParameters, initOverrides);
|
|
2838
3189
|
return await response.value();
|
|
2839
3190
|
}
|
|
2840
3191
|
|
|
2841
3192
|
/**
|
|
2842
|
-
*
|
|
3193
|
+
* LDAP PropertyMapping Viewset
|
|
2843
3194
|
*/
|
|
2844
|
-
async
|
|
2845
|
-
if (requestParameters.
|
|
2846
|
-
throw new runtime.RequiredError('
|
|
3195
|
+
async propertymappingsSourceLdapCreateRaw(requestParameters: PropertymappingsSourceLdapCreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<LDAPSourcePropertyMapping>> {
|
|
3196
|
+
if (requestParameters.lDAPSourcePropertyMappingRequest === null || requestParameters.lDAPSourcePropertyMappingRequest === undefined) {
|
|
3197
|
+
throw new runtime.RequiredError('lDAPSourcePropertyMappingRequest','Required parameter requestParameters.lDAPSourcePropertyMappingRequest was null or undefined when calling propertymappingsSourceLdapCreate.');
|
|
2847
3198
|
}
|
|
2848
3199
|
|
|
2849
3200
|
const queryParameters: any = {};
|
|
@@ -2861,30 +3212,30 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
|
2861
3212
|
}
|
|
2862
3213
|
}
|
|
2863
3214
|
const response = await this.request({
|
|
2864
|
-
path: `/propertymappings/
|
|
3215
|
+
path: `/propertymappings/source/ldap/`,
|
|
2865
3216
|
method: 'POST',
|
|
2866
3217
|
headers: headerParameters,
|
|
2867
3218
|
query: queryParameters,
|
|
2868
|
-
body:
|
|
3219
|
+
body: LDAPSourcePropertyMappingRequestToJSON(requestParameters.lDAPSourcePropertyMappingRequest),
|
|
2869
3220
|
}, initOverrides);
|
|
2870
3221
|
|
|
2871
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
3222
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => LDAPSourcePropertyMappingFromJSON(jsonValue));
|
|
2872
3223
|
}
|
|
2873
3224
|
|
|
2874
3225
|
/**
|
|
2875
|
-
*
|
|
3226
|
+
* LDAP PropertyMapping Viewset
|
|
2876
3227
|
*/
|
|
2877
|
-
async
|
|
2878
|
-
const response = await this.
|
|
3228
|
+
async propertymappingsSourceLdapCreate(requestParameters: PropertymappingsSourceLdapCreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<LDAPSourcePropertyMapping> {
|
|
3229
|
+
const response = await this.propertymappingsSourceLdapCreateRaw(requestParameters, initOverrides);
|
|
2879
3230
|
return await response.value();
|
|
2880
3231
|
}
|
|
2881
3232
|
|
|
2882
3233
|
/**
|
|
2883
|
-
*
|
|
3234
|
+
* LDAP PropertyMapping Viewset
|
|
2884
3235
|
*/
|
|
2885
|
-
async
|
|
3236
|
+
async propertymappingsSourceLdapDestroyRaw(requestParameters: PropertymappingsSourceLdapDestroyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
2886
3237
|
if (requestParameters.pmUuid === null || requestParameters.pmUuid === undefined) {
|
|
2887
|
-
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling
|
|
3238
|
+
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling propertymappingsSourceLdapDestroy.');
|
|
2888
3239
|
}
|
|
2889
3240
|
|
|
2890
3241
|
const queryParameters: any = {};
|
|
@@ -2900,7 +3251,7 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
|
2900
3251
|
}
|
|
2901
3252
|
}
|
|
2902
3253
|
const response = await this.request({
|
|
2903
|
-
path: `/propertymappings/
|
|
3254
|
+
path: `/propertymappings/source/ldap/{pm_uuid}/`.replace(`{${"pm_uuid"}}`, encodeURIComponent(String(requestParameters.pmUuid))),
|
|
2904
3255
|
method: 'DELETE',
|
|
2905
3256
|
headers: headerParameters,
|
|
2906
3257
|
query: queryParameters,
|
|
@@ -2910,18 +3261,22 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
|
2910
3261
|
}
|
|
2911
3262
|
|
|
2912
3263
|
/**
|
|
2913
|
-
*
|
|
3264
|
+
* LDAP PropertyMapping Viewset
|
|
2914
3265
|
*/
|
|
2915
|
-
async
|
|
2916
|
-
await this.
|
|
3266
|
+
async propertymappingsSourceLdapDestroy(requestParameters: PropertymappingsSourceLdapDestroyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
|
|
3267
|
+
await this.propertymappingsSourceLdapDestroyRaw(requestParameters, initOverrides);
|
|
2917
3268
|
}
|
|
2918
3269
|
|
|
2919
3270
|
/**
|
|
2920
|
-
*
|
|
3271
|
+
* LDAP PropertyMapping Viewset
|
|
2921
3272
|
*/
|
|
2922
|
-
async
|
|
3273
|
+
async propertymappingsSourceLdapListRaw(requestParameters: PropertymappingsSourceLdapListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedLDAPSourcePropertyMappingList>> {
|
|
2923
3274
|
const queryParameters: any = {};
|
|
2924
3275
|
|
|
3276
|
+
if (requestParameters.expression !== undefined) {
|
|
3277
|
+
queryParameters['expression'] = requestParameters.expression;
|
|
3278
|
+
}
|
|
3279
|
+
|
|
2925
3280
|
if (requestParameters.managed) {
|
|
2926
3281
|
queryParameters['managed'] = requestParameters.managed;
|
|
2927
3282
|
}
|
|
@@ -2942,8 +3297,8 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
|
2942
3297
|
queryParameters['page_size'] = requestParameters.pageSize;
|
|
2943
3298
|
}
|
|
2944
3299
|
|
|
2945
|
-
if (requestParameters.
|
|
2946
|
-
queryParameters['
|
|
3300
|
+
if (requestParameters.pmUuid !== undefined) {
|
|
3301
|
+
queryParameters['pm_uuid'] = requestParameters.pmUuid;
|
|
2947
3302
|
}
|
|
2948
3303
|
|
|
2949
3304
|
if (requestParameters.search !== undefined) {
|
|
@@ -2961,29 +3316,29 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
|
2961
3316
|
}
|
|
2962
3317
|
}
|
|
2963
3318
|
const response = await this.request({
|
|
2964
|
-
path: `/propertymappings/
|
|
3319
|
+
path: `/propertymappings/source/ldap/`,
|
|
2965
3320
|
method: 'GET',
|
|
2966
3321
|
headers: headerParameters,
|
|
2967
3322
|
query: queryParameters,
|
|
2968
3323
|
}, initOverrides);
|
|
2969
3324
|
|
|
2970
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
3325
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => PaginatedLDAPSourcePropertyMappingListFromJSON(jsonValue));
|
|
2971
3326
|
}
|
|
2972
3327
|
|
|
2973
3328
|
/**
|
|
2974
|
-
*
|
|
3329
|
+
* LDAP PropertyMapping Viewset
|
|
2975
3330
|
*/
|
|
2976
|
-
async
|
|
2977
|
-
const response = await this.
|
|
3331
|
+
async propertymappingsSourceLdapList(requestParameters: PropertymappingsSourceLdapListRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedLDAPSourcePropertyMappingList> {
|
|
3332
|
+
const response = await this.propertymappingsSourceLdapListRaw(requestParameters, initOverrides);
|
|
2978
3333
|
return await response.value();
|
|
2979
3334
|
}
|
|
2980
3335
|
|
|
2981
3336
|
/**
|
|
2982
|
-
*
|
|
3337
|
+
* LDAP PropertyMapping Viewset
|
|
2983
3338
|
*/
|
|
2984
|
-
async
|
|
3339
|
+
async propertymappingsSourceLdapPartialUpdateRaw(requestParameters: PropertymappingsSourceLdapPartialUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<LDAPSourcePropertyMapping>> {
|
|
2985
3340
|
if (requestParameters.pmUuid === null || requestParameters.pmUuid === undefined) {
|
|
2986
|
-
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling
|
|
3341
|
+
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling propertymappingsSourceLdapPartialUpdate.');
|
|
2987
3342
|
}
|
|
2988
3343
|
|
|
2989
3344
|
const queryParameters: any = {};
|
|
@@ -3001,30 +3356,30 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
|
3001
3356
|
}
|
|
3002
3357
|
}
|
|
3003
3358
|
const response = await this.request({
|
|
3004
|
-
path: `/propertymappings/
|
|
3359
|
+
path: `/propertymappings/source/ldap/{pm_uuid}/`.replace(`{${"pm_uuid"}}`, encodeURIComponent(String(requestParameters.pmUuid))),
|
|
3005
3360
|
method: 'PATCH',
|
|
3006
3361
|
headers: headerParameters,
|
|
3007
3362
|
query: queryParameters,
|
|
3008
|
-
body:
|
|
3363
|
+
body: PatchedLDAPSourcePropertyMappingRequestToJSON(requestParameters.patchedLDAPSourcePropertyMappingRequest),
|
|
3009
3364
|
}, initOverrides);
|
|
3010
3365
|
|
|
3011
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
3366
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => LDAPSourcePropertyMappingFromJSON(jsonValue));
|
|
3012
3367
|
}
|
|
3013
3368
|
|
|
3014
3369
|
/**
|
|
3015
|
-
*
|
|
3370
|
+
* LDAP PropertyMapping Viewset
|
|
3016
3371
|
*/
|
|
3017
|
-
async
|
|
3018
|
-
const response = await this.
|
|
3372
|
+
async propertymappingsSourceLdapPartialUpdate(requestParameters: PropertymappingsSourceLdapPartialUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<LDAPSourcePropertyMapping> {
|
|
3373
|
+
const response = await this.propertymappingsSourceLdapPartialUpdateRaw(requestParameters, initOverrides);
|
|
3019
3374
|
return await response.value();
|
|
3020
3375
|
}
|
|
3021
3376
|
|
|
3022
3377
|
/**
|
|
3023
|
-
*
|
|
3378
|
+
* LDAP PropertyMapping Viewset
|
|
3024
3379
|
*/
|
|
3025
|
-
async
|
|
3380
|
+
async propertymappingsSourceLdapRetrieveRaw(requestParameters: PropertymappingsSourceLdapRetrieveRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<LDAPSourcePropertyMapping>> {
|
|
3026
3381
|
if (requestParameters.pmUuid === null || requestParameters.pmUuid === undefined) {
|
|
3027
|
-
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling
|
|
3382
|
+
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling propertymappingsSourceLdapRetrieve.');
|
|
3028
3383
|
}
|
|
3029
3384
|
|
|
3030
3385
|
const queryParameters: any = {};
|
|
@@ -3040,33 +3395,33 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
|
3040
3395
|
}
|
|
3041
3396
|
}
|
|
3042
3397
|
const response = await this.request({
|
|
3043
|
-
path: `/propertymappings/
|
|
3398
|
+
path: `/propertymappings/source/ldap/{pm_uuid}/`.replace(`{${"pm_uuid"}}`, encodeURIComponent(String(requestParameters.pmUuid))),
|
|
3044
3399
|
method: 'GET',
|
|
3045
3400
|
headers: headerParameters,
|
|
3046
3401
|
query: queryParameters,
|
|
3047
3402
|
}, initOverrides);
|
|
3048
3403
|
|
|
3049
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
3404
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => LDAPSourcePropertyMappingFromJSON(jsonValue));
|
|
3050
3405
|
}
|
|
3051
3406
|
|
|
3052
3407
|
/**
|
|
3053
|
-
*
|
|
3408
|
+
* LDAP PropertyMapping Viewset
|
|
3054
3409
|
*/
|
|
3055
|
-
async
|
|
3056
|
-
const response = await this.
|
|
3410
|
+
async propertymappingsSourceLdapRetrieve(requestParameters: PropertymappingsSourceLdapRetrieveRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<LDAPSourcePropertyMapping> {
|
|
3411
|
+
const response = await this.propertymappingsSourceLdapRetrieveRaw(requestParameters, initOverrides);
|
|
3057
3412
|
return await response.value();
|
|
3058
3413
|
}
|
|
3059
3414
|
|
|
3060
3415
|
/**
|
|
3061
|
-
*
|
|
3416
|
+
* LDAP PropertyMapping Viewset
|
|
3062
3417
|
*/
|
|
3063
|
-
async
|
|
3418
|
+
async propertymappingsSourceLdapUpdateRaw(requestParameters: PropertymappingsSourceLdapUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<LDAPSourcePropertyMapping>> {
|
|
3064
3419
|
if (requestParameters.pmUuid === null || requestParameters.pmUuid === undefined) {
|
|
3065
|
-
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling
|
|
3420
|
+
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling propertymappingsSourceLdapUpdate.');
|
|
3066
3421
|
}
|
|
3067
3422
|
|
|
3068
|
-
if (requestParameters.
|
|
3069
|
-
throw new runtime.RequiredError('
|
|
3423
|
+
if (requestParameters.lDAPSourcePropertyMappingRequest === null || requestParameters.lDAPSourcePropertyMappingRequest === undefined) {
|
|
3424
|
+
throw new runtime.RequiredError('lDAPSourcePropertyMappingRequest','Required parameter requestParameters.lDAPSourcePropertyMappingRequest was null or undefined when calling propertymappingsSourceLdapUpdate.');
|
|
3070
3425
|
}
|
|
3071
3426
|
|
|
3072
3427
|
const queryParameters: any = {};
|
|
@@ -3084,30 +3439,30 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
|
3084
3439
|
}
|
|
3085
3440
|
}
|
|
3086
3441
|
const response = await this.request({
|
|
3087
|
-
path: `/propertymappings/
|
|
3442
|
+
path: `/propertymappings/source/ldap/{pm_uuid}/`.replace(`{${"pm_uuid"}}`, encodeURIComponent(String(requestParameters.pmUuid))),
|
|
3088
3443
|
method: 'PUT',
|
|
3089
3444
|
headers: headerParameters,
|
|
3090
3445
|
query: queryParameters,
|
|
3091
|
-
body:
|
|
3446
|
+
body: LDAPSourcePropertyMappingRequestToJSON(requestParameters.lDAPSourcePropertyMappingRequest),
|
|
3092
3447
|
}, initOverrides);
|
|
3093
3448
|
|
|
3094
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
3449
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => LDAPSourcePropertyMappingFromJSON(jsonValue));
|
|
3095
3450
|
}
|
|
3096
3451
|
|
|
3097
3452
|
/**
|
|
3098
|
-
*
|
|
3453
|
+
* LDAP PropertyMapping Viewset
|
|
3099
3454
|
*/
|
|
3100
|
-
async
|
|
3101
|
-
const response = await this.
|
|
3455
|
+
async propertymappingsSourceLdapUpdate(requestParameters: PropertymappingsSourceLdapUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<LDAPSourcePropertyMapping> {
|
|
3456
|
+
const response = await this.propertymappingsSourceLdapUpdateRaw(requestParameters, initOverrides);
|
|
3102
3457
|
return await response.value();
|
|
3103
3458
|
}
|
|
3104
3459
|
|
|
3105
3460
|
/**
|
|
3106
3461
|
* Get a list of all objects that use this object
|
|
3107
3462
|
*/
|
|
3108
|
-
async
|
|
3463
|
+
async propertymappingsSourceLdapUsedByListRaw(requestParameters: PropertymappingsSourceLdapUsedByListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<UsedBy>>> {
|
|
3109
3464
|
if (requestParameters.pmUuid === null || requestParameters.pmUuid === undefined) {
|
|
3110
|
-
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling
|
|
3465
|
+
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling propertymappingsSourceLdapUsedByList.');
|
|
3111
3466
|
}
|
|
3112
3467
|
|
|
3113
3468
|
const queryParameters: any = {};
|
|
@@ -3123,7 +3478,7 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
|
3123
3478
|
}
|
|
3124
3479
|
}
|
|
3125
3480
|
const response = await this.request({
|
|
3126
|
-
path: `/propertymappings/
|
|
3481
|
+
path: `/propertymappings/source/ldap/{pm_uuid}/used_by/`.replace(`{${"pm_uuid"}}`, encodeURIComponent(String(requestParameters.pmUuid))),
|
|
3127
3482
|
method: 'GET',
|
|
3128
3483
|
headers: headerParameters,
|
|
3129
3484
|
query: queryParameters,
|
|
@@ -3135,8 +3490,8 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
|
3135
3490
|
/**
|
|
3136
3491
|
* Get a list of all objects that use this object
|
|
3137
3492
|
*/
|
|
3138
|
-
async
|
|
3139
|
-
const response = await this.
|
|
3493
|
+
async propertymappingsSourceLdapUsedByList(requestParameters: PropertymappingsSourceLdapUsedByListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<UsedBy>> {
|
|
3494
|
+
const response = await this.propertymappingsSourceLdapUsedByListRaw(requestParameters, initOverrides);
|
|
3140
3495
|
return await response.value();
|
|
3141
3496
|
}
|
|
3142
3497
|
|