@goauthentik/api 2024.6.1-1721909829 → 2024.6.1-1721916595
Sign up to get free protection for your applications and to get access to all the features.
- package/.openapi-generator/FILES +4 -4
- package/dist/apis/PropertymappingsApi.d.ts +87 -87
- package/dist/apis/PropertymappingsApi.js +274 -274
- package/dist/apis/RbacApi.d.ts +2 -2
- package/dist/apis/RbacApi.js +2 -2
- package/dist/esm/apis/PropertymappingsApi.d.ts +87 -87
- package/dist/esm/apis/PropertymappingsApi.js +275 -275
- package/dist/esm/apis/RbacApi.d.ts +2 -2
- package/dist/esm/apis/RbacApi.js +2 -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 +1 -1
- package/dist/esm/models/ModelEnum.js +1 -1
- package/dist/esm/models/PaginatedLDAPSourcePropertyMappingList.d.ts +39 -0
- package/dist/esm/models/{PaginatedLDAPPropertyMappingList.js → PaginatedLDAPSourcePropertyMappingList.js} +9 -9
- package/dist/esm/models/PatchedLDAPSourcePropertyMappingRequest.d.ts +43 -0
- package/dist/esm/models/{PatchedLDAPPropertyMappingRequest.js → PatchedLDAPSourcePropertyMappingRequest.js} +6 -6
- package/dist/esm/models/index.d.ts +4 -4
- package/dist/esm/models/index.js +4 -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 +1 -1
- package/dist/models/ModelEnum.js +1 -1
- package/dist/models/PaginatedLDAPSourcePropertyMappingList.d.ts +39 -0
- package/dist/models/PaginatedLDAPSourcePropertyMappingList.js +55 -0
- package/dist/models/PatchedLDAPSourcePropertyMappingRequest.d.ts +43 -0
- package/dist/models/PatchedLDAPSourcePropertyMappingRequest.js +54 -0
- package/dist/models/index.d.ts +4 -4
- package/dist/models/index.js +4 -4
- package/package.json +1 -1
- package/src/apis/PropertymappingsApi.ts +541 -541
- package/src/apis/RbacApi.ts +2 -2
- package/src/models/{LDAPPropertyMapping.ts → LDAPSourcePropertyMapping.ts} +16 -16
- package/src/models/{LDAPPropertyMappingRequest.ts → LDAPSourcePropertyMappingRequest.ts} +11 -11
- package/src/models/ModelEnum.ts +1 -1
- package/src/models/PaginatedLDAPSourcePropertyMappingList.ts +88 -0
- package/src/models/{PatchedLDAPPropertyMappingRequest.ts → PatchedLDAPSourcePropertyMappingRequest.ts} +11 -11
- package/src/models/index.ts +4 -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,14 +18,14 @@ 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,
|
@@ -34,7 +34,7 @@ import type {
|
|
34
34
|
PaginatedSCIMMappingList,
|
35
35
|
PaginatedScopeMappingList,
|
36
36
|
PatchedGoogleWorkspaceProviderMappingRequest,
|
37
|
-
|
37
|
+
PatchedLDAPSourcePropertyMappingRequest,
|
38
38
|
PatchedMicrosoftEntraProviderMappingRequest,
|
39
39
|
PatchedNotificationWebhookMappingRequest,
|
40
40
|
PatchedRACPropertyMappingRequest,
|
@@ -63,10 +63,10 @@ import {
|
|
63
63
|
GoogleWorkspaceProviderMappingToJSON,
|
64
64
|
GoogleWorkspaceProviderMappingRequestFromJSON,
|
65
65
|
GoogleWorkspaceProviderMappingRequestToJSON,
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
66
|
+
LDAPSourcePropertyMappingFromJSON,
|
67
|
+
LDAPSourcePropertyMappingToJSON,
|
68
|
+
LDAPSourcePropertyMappingRequestFromJSON,
|
69
|
+
LDAPSourcePropertyMappingRequestToJSON,
|
70
70
|
MicrosoftEntraProviderMappingFromJSON,
|
71
71
|
MicrosoftEntraProviderMappingToJSON,
|
72
72
|
MicrosoftEntraProviderMappingRequestFromJSON,
|
@@ -77,8 +77,8 @@ import {
|
|
77
77
|
NotificationWebhookMappingRequestToJSON,
|
78
78
|
PaginatedGoogleWorkspaceProviderMappingListFromJSON,
|
79
79
|
PaginatedGoogleWorkspaceProviderMappingListToJSON,
|
80
|
-
|
81
|
-
|
80
|
+
PaginatedLDAPSourcePropertyMappingListFromJSON,
|
81
|
+
PaginatedLDAPSourcePropertyMappingListToJSON,
|
82
82
|
PaginatedMicrosoftEntraProviderMappingListFromJSON,
|
83
83
|
PaginatedMicrosoftEntraProviderMappingListToJSON,
|
84
84
|
PaginatedNotificationWebhookMappingListFromJSON,
|
@@ -95,8 +95,8 @@ import {
|
|
95
95
|
PaginatedScopeMappingListToJSON,
|
96
96
|
PatchedGoogleWorkspaceProviderMappingRequestFromJSON,
|
97
97
|
PatchedGoogleWorkspaceProviderMappingRequestToJSON,
|
98
|
-
|
99
|
-
|
98
|
+
PatchedLDAPSourcePropertyMappingRequestFromJSON,
|
99
|
+
PatchedLDAPSourcePropertyMappingRequestToJSON,
|
100
100
|
PatchedMicrosoftEntraProviderMappingRequestFromJSON,
|
101
101
|
PatchedMicrosoftEntraProviderMappingRequestToJSON,
|
102
102
|
PatchedNotificationWebhookMappingRequestFromJSON,
|
@@ -165,43 +165,6 @@ export interface PropertymappingsAllUsedByListRequest {
|
|
165
165
|
pmUuid: string;
|
166
166
|
}
|
167
167
|
|
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
168
|
export interface PropertymappingsNotificationCreateRequest {
|
206
169
|
notificationWebhookMappingRequest: NotificationWebhookMappingRequest;
|
207
170
|
}
|
@@ -457,6 +420,43 @@ export interface PropertymappingsScopeUsedByListRequest {
|
|
457
420
|
pmUuid: string;
|
458
421
|
}
|
459
422
|
|
423
|
+
export interface PropertymappingsSourceLdapCreateRequest {
|
424
|
+
lDAPSourcePropertyMappingRequest: LDAPSourcePropertyMappingRequest;
|
425
|
+
}
|
426
|
+
|
427
|
+
export interface PropertymappingsSourceLdapDestroyRequest {
|
428
|
+
pmUuid: string;
|
429
|
+
}
|
430
|
+
|
431
|
+
export interface PropertymappingsSourceLdapListRequest {
|
432
|
+
expression?: string;
|
433
|
+
managed?: Array<string>;
|
434
|
+
name?: string;
|
435
|
+
ordering?: string;
|
436
|
+
page?: number;
|
437
|
+
pageSize?: number;
|
438
|
+
pmUuid?: string;
|
439
|
+
search?: string;
|
440
|
+
}
|
441
|
+
|
442
|
+
export interface PropertymappingsSourceLdapPartialUpdateRequest {
|
443
|
+
pmUuid: string;
|
444
|
+
patchedLDAPSourcePropertyMappingRequest?: PatchedLDAPSourcePropertyMappingRequest;
|
445
|
+
}
|
446
|
+
|
447
|
+
export interface PropertymappingsSourceLdapRetrieveRequest {
|
448
|
+
pmUuid: string;
|
449
|
+
}
|
450
|
+
|
451
|
+
export interface PropertymappingsSourceLdapUpdateRequest {
|
452
|
+
pmUuid: string;
|
453
|
+
lDAPSourcePropertyMappingRequest: LDAPSourcePropertyMappingRequest;
|
454
|
+
}
|
455
|
+
|
456
|
+
export interface PropertymappingsSourceLdapUsedByListRequest {
|
457
|
+
pmUuid: string;
|
458
|
+
}
|
459
|
+
|
460
460
|
/**
|
461
461
|
*
|
462
462
|
*/
|
@@ -709,11 +709,11 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
709
709
|
}
|
710
710
|
|
711
711
|
/**
|
712
|
-
*
|
712
|
+
* NotificationWebhookMapping Viewset
|
713
713
|
*/
|
714
|
-
async
|
715
|
-
if (requestParameters.
|
716
|
-
throw new runtime.RequiredError('
|
714
|
+
async propertymappingsNotificationCreateRaw(requestParameters: PropertymappingsNotificationCreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<NotificationWebhookMapping>> {
|
715
|
+
if (requestParameters.notificationWebhookMappingRequest === null || requestParameters.notificationWebhookMappingRequest === undefined) {
|
716
|
+
throw new runtime.RequiredError('notificationWebhookMappingRequest','Required parameter requestParameters.notificationWebhookMappingRequest was null or undefined when calling propertymappingsNotificationCreate.');
|
717
717
|
}
|
718
718
|
|
719
719
|
const queryParameters: any = {};
|
@@ -731,30 +731,30 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
731
731
|
}
|
732
732
|
}
|
733
733
|
const response = await this.request({
|
734
|
-
path: `/propertymappings/
|
734
|
+
path: `/propertymappings/notification/`,
|
735
735
|
method: 'POST',
|
736
736
|
headers: headerParameters,
|
737
737
|
query: queryParameters,
|
738
|
-
body:
|
738
|
+
body: NotificationWebhookMappingRequestToJSON(requestParameters.notificationWebhookMappingRequest),
|
739
739
|
}, initOverrides);
|
740
740
|
|
741
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
741
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => NotificationWebhookMappingFromJSON(jsonValue));
|
742
742
|
}
|
743
743
|
|
744
744
|
/**
|
745
|
-
*
|
745
|
+
* NotificationWebhookMapping Viewset
|
746
746
|
*/
|
747
|
-
async
|
748
|
-
const response = await this.
|
747
|
+
async propertymappingsNotificationCreate(requestParameters: PropertymappingsNotificationCreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<NotificationWebhookMapping> {
|
748
|
+
const response = await this.propertymappingsNotificationCreateRaw(requestParameters, initOverrides);
|
749
749
|
return await response.value();
|
750
750
|
}
|
751
751
|
|
752
752
|
/**
|
753
|
-
*
|
753
|
+
* NotificationWebhookMapping Viewset
|
754
754
|
*/
|
755
|
-
async
|
755
|
+
async propertymappingsNotificationDestroyRaw(requestParameters: PropertymappingsNotificationDestroyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
756
756
|
if (requestParameters.pmUuid === null || requestParameters.pmUuid === undefined) {
|
757
|
-
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling
|
757
|
+
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling propertymappingsNotificationDestroy.');
|
758
758
|
}
|
759
759
|
|
760
760
|
const queryParameters: any = {};
|
@@ -770,7 +770,7 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
770
770
|
}
|
771
771
|
}
|
772
772
|
const response = await this.request({
|
773
|
-
path: `/propertymappings/
|
773
|
+
path: `/propertymappings/notification/{pm_uuid}/`.replace(`{${"pm_uuid"}}`, encodeURIComponent(String(requestParameters.pmUuid))),
|
774
774
|
method: 'DELETE',
|
775
775
|
headers: headerParameters,
|
776
776
|
query: queryParameters,
|
@@ -780,26 +780,18 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
780
780
|
}
|
781
781
|
|
782
782
|
/**
|
783
|
-
*
|
783
|
+
* NotificationWebhookMapping Viewset
|
784
784
|
*/
|
785
|
-
async
|
786
|
-
await this.
|
785
|
+
async propertymappingsNotificationDestroy(requestParameters: PropertymappingsNotificationDestroyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
|
786
|
+
await this.propertymappingsNotificationDestroyRaw(requestParameters, initOverrides);
|
787
787
|
}
|
788
788
|
|
789
789
|
/**
|
790
|
-
*
|
790
|
+
* NotificationWebhookMapping Viewset
|
791
791
|
*/
|
792
|
-
async
|
792
|
+
async propertymappingsNotificationListRaw(requestParameters: PropertymappingsNotificationListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedNotificationWebhookMappingList>> {
|
793
793
|
const queryParameters: any = {};
|
794
794
|
|
795
|
-
if (requestParameters.expression !== undefined) {
|
796
|
-
queryParameters['expression'] = requestParameters.expression;
|
797
|
-
}
|
798
|
-
|
799
|
-
if (requestParameters.managed) {
|
800
|
-
queryParameters['managed'] = requestParameters.managed;
|
801
|
-
}
|
802
|
-
|
803
795
|
if (requestParameters.name !== undefined) {
|
804
796
|
queryParameters['name'] = requestParameters.name;
|
805
797
|
}
|
@@ -816,10 +808,6 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
816
808
|
queryParameters['page_size'] = requestParameters.pageSize;
|
817
809
|
}
|
818
810
|
|
819
|
-
if (requestParameters.pmUuid !== undefined) {
|
820
|
-
queryParameters['pm_uuid'] = requestParameters.pmUuid;
|
821
|
-
}
|
822
|
-
|
823
811
|
if (requestParameters.search !== undefined) {
|
824
812
|
queryParameters['search'] = requestParameters.search;
|
825
813
|
}
|
@@ -835,29 +823,29 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
835
823
|
}
|
836
824
|
}
|
837
825
|
const response = await this.request({
|
838
|
-
path: `/propertymappings/
|
826
|
+
path: `/propertymappings/notification/`,
|
839
827
|
method: 'GET',
|
840
828
|
headers: headerParameters,
|
841
829
|
query: queryParameters,
|
842
830
|
}, initOverrides);
|
843
831
|
|
844
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
832
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => PaginatedNotificationWebhookMappingListFromJSON(jsonValue));
|
845
833
|
}
|
846
834
|
|
847
835
|
/**
|
848
|
-
*
|
836
|
+
* NotificationWebhookMapping Viewset
|
849
837
|
*/
|
850
|
-
async
|
851
|
-
const response = await this.
|
838
|
+
async propertymappingsNotificationList(requestParameters: PropertymappingsNotificationListRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedNotificationWebhookMappingList> {
|
839
|
+
const response = await this.propertymappingsNotificationListRaw(requestParameters, initOverrides);
|
852
840
|
return await response.value();
|
853
841
|
}
|
854
842
|
|
855
843
|
/**
|
856
|
-
*
|
844
|
+
* NotificationWebhookMapping Viewset
|
857
845
|
*/
|
858
|
-
async
|
846
|
+
async propertymappingsNotificationPartialUpdateRaw(requestParameters: PropertymappingsNotificationPartialUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<NotificationWebhookMapping>> {
|
859
847
|
if (requestParameters.pmUuid === null || requestParameters.pmUuid === undefined) {
|
860
|
-
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling
|
848
|
+
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling propertymappingsNotificationPartialUpdate.');
|
861
849
|
}
|
862
850
|
|
863
851
|
const queryParameters: any = {};
|
@@ -875,30 +863,30 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
875
863
|
}
|
876
864
|
}
|
877
865
|
const response = await this.request({
|
878
|
-
path: `/propertymappings/
|
866
|
+
path: `/propertymappings/notification/{pm_uuid}/`.replace(`{${"pm_uuid"}}`, encodeURIComponent(String(requestParameters.pmUuid))),
|
879
867
|
method: 'PATCH',
|
880
868
|
headers: headerParameters,
|
881
869
|
query: queryParameters,
|
882
|
-
body:
|
870
|
+
body: PatchedNotificationWebhookMappingRequestToJSON(requestParameters.patchedNotificationWebhookMappingRequest),
|
883
871
|
}, initOverrides);
|
884
872
|
|
885
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
873
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => NotificationWebhookMappingFromJSON(jsonValue));
|
886
874
|
}
|
887
875
|
|
888
876
|
/**
|
889
|
-
*
|
877
|
+
* NotificationWebhookMapping Viewset
|
890
878
|
*/
|
891
|
-
async
|
892
|
-
const response = await this.
|
879
|
+
async propertymappingsNotificationPartialUpdate(requestParameters: PropertymappingsNotificationPartialUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<NotificationWebhookMapping> {
|
880
|
+
const response = await this.propertymappingsNotificationPartialUpdateRaw(requestParameters, initOverrides);
|
893
881
|
return await response.value();
|
894
882
|
}
|
895
883
|
|
896
884
|
/**
|
897
|
-
*
|
885
|
+
* NotificationWebhookMapping Viewset
|
898
886
|
*/
|
899
|
-
async
|
887
|
+
async propertymappingsNotificationRetrieveRaw(requestParameters: PropertymappingsNotificationRetrieveRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<NotificationWebhookMapping>> {
|
900
888
|
if (requestParameters.pmUuid === null || requestParameters.pmUuid === undefined) {
|
901
|
-
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling
|
889
|
+
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling propertymappingsNotificationRetrieve.');
|
902
890
|
}
|
903
891
|
|
904
892
|
const queryParameters: any = {};
|
@@ -914,33 +902,33 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
914
902
|
}
|
915
903
|
}
|
916
904
|
const response = await this.request({
|
917
|
-
path: `/propertymappings/
|
905
|
+
path: `/propertymappings/notification/{pm_uuid}/`.replace(`{${"pm_uuid"}}`, encodeURIComponent(String(requestParameters.pmUuid))),
|
918
906
|
method: 'GET',
|
919
907
|
headers: headerParameters,
|
920
908
|
query: queryParameters,
|
921
909
|
}, initOverrides);
|
922
910
|
|
923
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
911
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => NotificationWebhookMappingFromJSON(jsonValue));
|
924
912
|
}
|
925
913
|
|
926
914
|
/**
|
927
|
-
*
|
915
|
+
* NotificationWebhookMapping Viewset
|
928
916
|
*/
|
929
|
-
async
|
930
|
-
const response = await this.
|
917
|
+
async propertymappingsNotificationRetrieve(requestParameters: PropertymappingsNotificationRetrieveRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<NotificationWebhookMapping> {
|
918
|
+
const response = await this.propertymappingsNotificationRetrieveRaw(requestParameters, initOverrides);
|
931
919
|
return await response.value();
|
932
920
|
}
|
933
921
|
|
934
922
|
/**
|
935
|
-
*
|
923
|
+
* NotificationWebhookMapping Viewset
|
936
924
|
*/
|
937
|
-
async
|
925
|
+
async propertymappingsNotificationUpdateRaw(requestParameters: PropertymappingsNotificationUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<NotificationWebhookMapping>> {
|
938
926
|
if (requestParameters.pmUuid === null || requestParameters.pmUuid === undefined) {
|
939
|
-
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling
|
927
|
+
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling propertymappingsNotificationUpdate.');
|
940
928
|
}
|
941
929
|
|
942
|
-
if (requestParameters.
|
943
|
-
throw new runtime.RequiredError('
|
930
|
+
if (requestParameters.notificationWebhookMappingRequest === null || requestParameters.notificationWebhookMappingRequest === undefined) {
|
931
|
+
throw new runtime.RequiredError('notificationWebhookMappingRequest','Required parameter requestParameters.notificationWebhookMappingRequest was null or undefined when calling propertymappingsNotificationUpdate.');
|
944
932
|
}
|
945
933
|
|
946
934
|
const queryParameters: any = {};
|
@@ -958,30 +946,30 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
958
946
|
}
|
959
947
|
}
|
960
948
|
const response = await this.request({
|
961
|
-
path: `/propertymappings/
|
949
|
+
path: `/propertymappings/notification/{pm_uuid}/`.replace(`{${"pm_uuid"}}`, encodeURIComponent(String(requestParameters.pmUuid))),
|
962
950
|
method: 'PUT',
|
963
951
|
headers: headerParameters,
|
964
952
|
query: queryParameters,
|
965
|
-
body:
|
953
|
+
body: NotificationWebhookMappingRequestToJSON(requestParameters.notificationWebhookMappingRequest),
|
966
954
|
}, initOverrides);
|
967
955
|
|
968
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
956
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => NotificationWebhookMappingFromJSON(jsonValue));
|
969
957
|
}
|
970
958
|
|
971
959
|
/**
|
972
|
-
*
|
960
|
+
* NotificationWebhookMapping Viewset
|
973
961
|
*/
|
974
|
-
async
|
975
|
-
const response = await this.
|
962
|
+
async propertymappingsNotificationUpdate(requestParameters: PropertymappingsNotificationUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<NotificationWebhookMapping> {
|
963
|
+
const response = await this.propertymappingsNotificationUpdateRaw(requestParameters, initOverrides);
|
976
964
|
return await response.value();
|
977
965
|
}
|
978
966
|
|
979
967
|
/**
|
980
968
|
* Get a list of all objects that use this object
|
981
969
|
*/
|
982
|
-
async
|
970
|
+
async propertymappingsNotificationUsedByListRaw(requestParameters: PropertymappingsNotificationUsedByListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<UsedBy>>> {
|
983
971
|
if (requestParameters.pmUuid === null || requestParameters.pmUuid === undefined) {
|
984
|
-
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling
|
972
|
+
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling propertymappingsNotificationUsedByList.');
|
985
973
|
}
|
986
974
|
|
987
975
|
const queryParameters: any = {};
|
@@ -997,7 +985,7 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
997
985
|
}
|
998
986
|
}
|
999
987
|
const response = await this.request({
|
1000
|
-
path: `/propertymappings/
|
988
|
+
path: `/propertymappings/notification/{pm_uuid}/used_by/`.replace(`{${"pm_uuid"}}`, encodeURIComponent(String(requestParameters.pmUuid))),
|
1001
989
|
method: 'GET',
|
1002
990
|
headers: headerParameters,
|
1003
991
|
query: queryParameters,
|
@@ -1009,17 +997,17 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
1009
997
|
/**
|
1010
998
|
* Get a list of all objects that use this object
|
1011
999
|
*/
|
1012
|
-
async
|
1013
|
-
const response = await this.
|
1000
|
+
async propertymappingsNotificationUsedByList(requestParameters: PropertymappingsNotificationUsedByListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<UsedBy>> {
|
1001
|
+
const response = await this.propertymappingsNotificationUsedByListRaw(requestParameters, initOverrides);
|
1014
1002
|
return await response.value();
|
1015
1003
|
}
|
1016
1004
|
|
1017
1005
|
/**
|
1018
|
-
*
|
1006
|
+
* GoogleWorkspaceProviderMapping Viewset
|
1019
1007
|
*/
|
1020
|
-
async
|
1021
|
-
if (requestParameters.
|
1022
|
-
throw new runtime.RequiredError('
|
1008
|
+
async propertymappingsProviderGoogleWorkspaceCreateRaw(requestParameters: PropertymappingsProviderGoogleWorkspaceCreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GoogleWorkspaceProviderMapping>> {
|
1009
|
+
if (requestParameters.googleWorkspaceProviderMappingRequest === null || requestParameters.googleWorkspaceProviderMappingRequest === undefined) {
|
1010
|
+
throw new runtime.RequiredError('googleWorkspaceProviderMappingRequest','Required parameter requestParameters.googleWorkspaceProviderMappingRequest was null or undefined when calling propertymappingsProviderGoogleWorkspaceCreate.');
|
1023
1011
|
}
|
1024
1012
|
|
1025
1013
|
const queryParameters: any = {};
|
@@ -1037,30 +1025,30 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
1037
1025
|
}
|
1038
1026
|
}
|
1039
1027
|
const response = await this.request({
|
1040
|
-
path: `/propertymappings/
|
1028
|
+
path: `/propertymappings/provider/google_workspace/`,
|
1041
1029
|
method: 'POST',
|
1042
1030
|
headers: headerParameters,
|
1043
1031
|
query: queryParameters,
|
1044
|
-
body:
|
1032
|
+
body: GoogleWorkspaceProviderMappingRequestToJSON(requestParameters.googleWorkspaceProviderMappingRequest),
|
1045
1033
|
}, initOverrides);
|
1046
1034
|
|
1047
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
1035
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => GoogleWorkspaceProviderMappingFromJSON(jsonValue));
|
1048
1036
|
}
|
1049
1037
|
|
1050
1038
|
/**
|
1051
|
-
*
|
1039
|
+
* GoogleWorkspaceProviderMapping Viewset
|
1052
1040
|
*/
|
1053
|
-
async
|
1054
|
-
const response = await this.
|
1041
|
+
async propertymappingsProviderGoogleWorkspaceCreate(requestParameters: PropertymappingsProviderGoogleWorkspaceCreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GoogleWorkspaceProviderMapping> {
|
1042
|
+
const response = await this.propertymappingsProviderGoogleWorkspaceCreateRaw(requestParameters, initOverrides);
|
1055
1043
|
return await response.value();
|
1056
1044
|
}
|
1057
1045
|
|
1058
1046
|
/**
|
1059
|
-
*
|
1047
|
+
* GoogleWorkspaceProviderMapping Viewset
|
1060
1048
|
*/
|
1061
|
-
async
|
1049
|
+
async propertymappingsProviderGoogleWorkspaceDestroyRaw(requestParameters: PropertymappingsProviderGoogleWorkspaceDestroyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
1062
1050
|
if (requestParameters.pmUuid === null || requestParameters.pmUuid === undefined) {
|
1063
|
-
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling
|
1051
|
+
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling propertymappingsProviderGoogleWorkspaceDestroy.');
|
1064
1052
|
}
|
1065
1053
|
|
1066
1054
|
const queryParameters: any = {};
|
@@ -1076,7 +1064,7 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
1076
1064
|
}
|
1077
1065
|
}
|
1078
1066
|
const response = await this.request({
|
1079
|
-
path: `/propertymappings/
|
1067
|
+
path: `/propertymappings/provider/google_workspace/{pm_uuid}/`.replace(`{${"pm_uuid"}}`, encodeURIComponent(String(requestParameters.pmUuid))),
|
1080
1068
|
method: 'DELETE',
|
1081
1069
|
headers: headerParameters,
|
1082
1070
|
query: queryParameters,
|
@@ -1086,18 +1074,26 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
1086
1074
|
}
|
1087
1075
|
|
1088
1076
|
/**
|
1089
|
-
*
|
1077
|
+
* GoogleWorkspaceProviderMapping Viewset
|
1090
1078
|
*/
|
1091
|
-
async
|
1092
|
-
await this.
|
1079
|
+
async propertymappingsProviderGoogleWorkspaceDestroy(requestParameters: PropertymappingsProviderGoogleWorkspaceDestroyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
|
1080
|
+
await this.propertymappingsProviderGoogleWorkspaceDestroyRaw(requestParameters, initOverrides);
|
1093
1081
|
}
|
1094
1082
|
|
1095
1083
|
/**
|
1096
|
-
*
|
1084
|
+
* GoogleWorkspaceProviderMapping Viewset
|
1097
1085
|
*/
|
1098
|
-
async
|
1086
|
+
async propertymappingsProviderGoogleWorkspaceListRaw(requestParameters: PropertymappingsProviderGoogleWorkspaceListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedGoogleWorkspaceProviderMappingList>> {
|
1099
1087
|
const queryParameters: any = {};
|
1100
1088
|
|
1089
|
+
if (requestParameters.expression !== undefined) {
|
1090
|
+
queryParameters['expression'] = requestParameters.expression;
|
1091
|
+
}
|
1092
|
+
|
1093
|
+
if (requestParameters.managed) {
|
1094
|
+
queryParameters['managed'] = requestParameters.managed;
|
1095
|
+
}
|
1096
|
+
|
1101
1097
|
if (requestParameters.name !== undefined) {
|
1102
1098
|
queryParameters['name'] = requestParameters.name;
|
1103
1099
|
}
|
@@ -1114,6 +1110,10 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
1114
1110
|
queryParameters['page_size'] = requestParameters.pageSize;
|
1115
1111
|
}
|
1116
1112
|
|
1113
|
+
if (requestParameters.pmUuid !== undefined) {
|
1114
|
+
queryParameters['pm_uuid'] = requestParameters.pmUuid;
|
1115
|
+
}
|
1116
|
+
|
1117
1117
|
if (requestParameters.search !== undefined) {
|
1118
1118
|
queryParameters['search'] = requestParameters.search;
|
1119
1119
|
}
|
@@ -1129,29 +1129,29 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
1129
1129
|
}
|
1130
1130
|
}
|
1131
1131
|
const response = await this.request({
|
1132
|
-
path: `/propertymappings/
|
1132
|
+
path: `/propertymappings/provider/google_workspace/`,
|
1133
1133
|
method: 'GET',
|
1134
1134
|
headers: headerParameters,
|
1135
1135
|
query: queryParameters,
|
1136
1136
|
}, initOverrides);
|
1137
1137
|
|
1138
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
1138
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => PaginatedGoogleWorkspaceProviderMappingListFromJSON(jsonValue));
|
1139
1139
|
}
|
1140
1140
|
|
1141
1141
|
/**
|
1142
|
-
*
|
1142
|
+
* GoogleWorkspaceProviderMapping Viewset
|
1143
1143
|
*/
|
1144
|
-
async
|
1145
|
-
const response = await this.
|
1144
|
+
async propertymappingsProviderGoogleWorkspaceList(requestParameters: PropertymappingsProviderGoogleWorkspaceListRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedGoogleWorkspaceProviderMappingList> {
|
1145
|
+
const response = await this.propertymappingsProviderGoogleWorkspaceListRaw(requestParameters, initOverrides);
|
1146
1146
|
return await response.value();
|
1147
1147
|
}
|
1148
1148
|
|
1149
1149
|
/**
|
1150
|
-
*
|
1150
|
+
* GoogleWorkspaceProviderMapping Viewset
|
1151
1151
|
*/
|
1152
|
-
async
|
1152
|
+
async propertymappingsProviderGoogleWorkspacePartialUpdateRaw(requestParameters: PropertymappingsProviderGoogleWorkspacePartialUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GoogleWorkspaceProviderMapping>> {
|
1153
1153
|
if (requestParameters.pmUuid === null || requestParameters.pmUuid === undefined) {
|
1154
|
-
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling
|
1154
|
+
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling propertymappingsProviderGoogleWorkspacePartialUpdate.');
|
1155
1155
|
}
|
1156
1156
|
|
1157
1157
|
const queryParameters: any = {};
|
@@ -1169,30 +1169,30 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
1169
1169
|
}
|
1170
1170
|
}
|
1171
1171
|
const response = await this.request({
|
1172
|
-
path: `/propertymappings/
|
1172
|
+
path: `/propertymappings/provider/google_workspace/{pm_uuid}/`.replace(`{${"pm_uuid"}}`, encodeURIComponent(String(requestParameters.pmUuid))),
|
1173
1173
|
method: 'PATCH',
|
1174
1174
|
headers: headerParameters,
|
1175
1175
|
query: queryParameters,
|
1176
|
-
body:
|
1176
|
+
body: PatchedGoogleWorkspaceProviderMappingRequestToJSON(requestParameters.patchedGoogleWorkspaceProviderMappingRequest),
|
1177
1177
|
}, initOverrides);
|
1178
1178
|
|
1179
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
1179
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => GoogleWorkspaceProviderMappingFromJSON(jsonValue));
|
1180
1180
|
}
|
1181
1181
|
|
1182
1182
|
/**
|
1183
|
-
*
|
1183
|
+
* GoogleWorkspaceProviderMapping Viewset
|
1184
1184
|
*/
|
1185
|
-
async
|
1186
|
-
const response = await this.
|
1185
|
+
async propertymappingsProviderGoogleWorkspacePartialUpdate(requestParameters: PropertymappingsProviderGoogleWorkspacePartialUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GoogleWorkspaceProviderMapping> {
|
1186
|
+
const response = await this.propertymappingsProviderGoogleWorkspacePartialUpdateRaw(requestParameters, initOverrides);
|
1187
1187
|
return await response.value();
|
1188
1188
|
}
|
1189
1189
|
|
1190
1190
|
/**
|
1191
|
-
*
|
1191
|
+
* GoogleWorkspaceProviderMapping Viewset
|
1192
1192
|
*/
|
1193
|
-
async
|
1193
|
+
async propertymappingsProviderGoogleWorkspaceRetrieveRaw(requestParameters: PropertymappingsProviderGoogleWorkspaceRetrieveRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GoogleWorkspaceProviderMapping>> {
|
1194
1194
|
if (requestParameters.pmUuid === null || requestParameters.pmUuid === undefined) {
|
1195
|
-
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling
|
1195
|
+
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling propertymappingsProviderGoogleWorkspaceRetrieve.');
|
1196
1196
|
}
|
1197
1197
|
|
1198
1198
|
const queryParameters: any = {};
|
@@ -1208,33 +1208,33 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
1208
1208
|
}
|
1209
1209
|
}
|
1210
1210
|
const response = await this.request({
|
1211
|
-
path: `/propertymappings/
|
1211
|
+
path: `/propertymappings/provider/google_workspace/{pm_uuid}/`.replace(`{${"pm_uuid"}}`, encodeURIComponent(String(requestParameters.pmUuid))),
|
1212
1212
|
method: 'GET',
|
1213
1213
|
headers: headerParameters,
|
1214
1214
|
query: queryParameters,
|
1215
1215
|
}, initOverrides);
|
1216
1216
|
|
1217
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
1217
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => GoogleWorkspaceProviderMappingFromJSON(jsonValue));
|
1218
1218
|
}
|
1219
1219
|
|
1220
1220
|
/**
|
1221
|
-
*
|
1221
|
+
* GoogleWorkspaceProviderMapping Viewset
|
1222
1222
|
*/
|
1223
|
-
async
|
1224
|
-
const response = await this.
|
1223
|
+
async propertymappingsProviderGoogleWorkspaceRetrieve(requestParameters: PropertymappingsProviderGoogleWorkspaceRetrieveRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GoogleWorkspaceProviderMapping> {
|
1224
|
+
const response = await this.propertymappingsProviderGoogleWorkspaceRetrieveRaw(requestParameters, initOverrides);
|
1225
1225
|
return await response.value();
|
1226
1226
|
}
|
1227
1227
|
|
1228
1228
|
/**
|
1229
|
-
*
|
1229
|
+
* GoogleWorkspaceProviderMapping Viewset
|
1230
1230
|
*/
|
1231
|
-
async
|
1231
|
+
async propertymappingsProviderGoogleWorkspaceUpdateRaw(requestParameters: PropertymappingsProviderGoogleWorkspaceUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GoogleWorkspaceProviderMapping>> {
|
1232
1232
|
if (requestParameters.pmUuid === null || requestParameters.pmUuid === undefined) {
|
1233
|
-
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling
|
1233
|
+
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling propertymappingsProviderGoogleWorkspaceUpdate.');
|
1234
1234
|
}
|
1235
1235
|
|
1236
|
-
if (requestParameters.
|
1237
|
-
throw new runtime.RequiredError('
|
1236
|
+
if (requestParameters.googleWorkspaceProviderMappingRequest === null || requestParameters.googleWorkspaceProviderMappingRequest === undefined) {
|
1237
|
+
throw new runtime.RequiredError('googleWorkspaceProviderMappingRequest','Required parameter requestParameters.googleWorkspaceProviderMappingRequest was null or undefined when calling propertymappingsProviderGoogleWorkspaceUpdate.');
|
1238
1238
|
}
|
1239
1239
|
|
1240
1240
|
const queryParameters: any = {};
|
@@ -1252,30 +1252,30 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
1252
1252
|
}
|
1253
1253
|
}
|
1254
1254
|
const response = await this.request({
|
1255
|
-
path: `/propertymappings/
|
1255
|
+
path: `/propertymappings/provider/google_workspace/{pm_uuid}/`.replace(`{${"pm_uuid"}}`, encodeURIComponent(String(requestParameters.pmUuid))),
|
1256
1256
|
method: 'PUT',
|
1257
1257
|
headers: headerParameters,
|
1258
1258
|
query: queryParameters,
|
1259
|
-
body:
|
1259
|
+
body: GoogleWorkspaceProviderMappingRequestToJSON(requestParameters.googleWorkspaceProviderMappingRequest),
|
1260
1260
|
}, initOverrides);
|
1261
1261
|
|
1262
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
1262
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => GoogleWorkspaceProviderMappingFromJSON(jsonValue));
|
1263
1263
|
}
|
1264
1264
|
|
1265
1265
|
/**
|
1266
|
-
*
|
1266
|
+
* GoogleWorkspaceProviderMapping Viewset
|
1267
1267
|
*/
|
1268
|
-
async
|
1269
|
-
const response = await this.
|
1268
|
+
async propertymappingsProviderGoogleWorkspaceUpdate(requestParameters: PropertymappingsProviderGoogleWorkspaceUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GoogleWorkspaceProviderMapping> {
|
1269
|
+
const response = await this.propertymappingsProviderGoogleWorkspaceUpdateRaw(requestParameters, initOverrides);
|
1270
1270
|
return await response.value();
|
1271
1271
|
}
|
1272
1272
|
|
1273
1273
|
/**
|
1274
1274
|
* Get a list of all objects that use this object
|
1275
1275
|
*/
|
1276
|
-
async
|
1276
|
+
async propertymappingsProviderGoogleWorkspaceUsedByListRaw(requestParameters: PropertymappingsProviderGoogleWorkspaceUsedByListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<UsedBy>>> {
|
1277
1277
|
if (requestParameters.pmUuid === null || requestParameters.pmUuid === undefined) {
|
1278
|
-
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling
|
1278
|
+
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling propertymappingsProviderGoogleWorkspaceUsedByList.');
|
1279
1279
|
}
|
1280
1280
|
|
1281
1281
|
const queryParameters: any = {};
|
@@ -1291,7 +1291,7 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
1291
1291
|
}
|
1292
1292
|
}
|
1293
1293
|
const response = await this.request({
|
1294
|
-
path: `/propertymappings/
|
1294
|
+
path: `/propertymappings/provider/google_workspace/{pm_uuid}/used_by/`.replace(`{${"pm_uuid"}}`, encodeURIComponent(String(requestParameters.pmUuid))),
|
1295
1295
|
method: 'GET',
|
1296
1296
|
headers: headerParameters,
|
1297
1297
|
query: queryParameters,
|
@@ -1303,17 +1303,17 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
1303
1303
|
/**
|
1304
1304
|
* Get a list of all objects that use this object
|
1305
1305
|
*/
|
1306
|
-
async
|
1307
|
-
const response = await this.
|
1306
|
+
async propertymappingsProviderGoogleWorkspaceUsedByList(requestParameters: PropertymappingsProviderGoogleWorkspaceUsedByListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<UsedBy>> {
|
1307
|
+
const response = await this.propertymappingsProviderGoogleWorkspaceUsedByListRaw(requestParameters, initOverrides);
|
1308
1308
|
return await response.value();
|
1309
1309
|
}
|
1310
1310
|
|
1311
1311
|
/**
|
1312
|
-
*
|
1312
|
+
* MicrosoftEntraProviderMapping Viewset
|
1313
1313
|
*/
|
1314
|
-
async
|
1315
|
-
if (requestParameters.
|
1316
|
-
throw new runtime.RequiredError('
|
1314
|
+
async propertymappingsProviderMicrosoftEntraCreateRaw(requestParameters: PropertymappingsProviderMicrosoftEntraCreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<MicrosoftEntraProviderMapping>> {
|
1315
|
+
if (requestParameters.microsoftEntraProviderMappingRequest === null || requestParameters.microsoftEntraProviderMappingRequest === undefined) {
|
1316
|
+
throw new runtime.RequiredError('microsoftEntraProviderMappingRequest','Required parameter requestParameters.microsoftEntraProviderMappingRequest was null or undefined when calling propertymappingsProviderMicrosoftEntraCreate.');
|
1317
1317
|
}
|
1318
1318
|
|
1319
1319
|
const queryParameters: any = {};
|
@@ -1331,30 +1331,30 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
1331
1331
|
}
|
1332
1332
|
}
|
1333
1333
|
const response = await this.request({
|
1334
|
-
path: `/propertymappings/provider/
|
1334
|
+
path: `/propertymappings/provider/microsoft_entra/`,
|
1335
1335
|
method: 'POST',
|
1336
1336
|
headers: headerParameters,
|
1337
1337
|
query: queryParameters,
|
1338
|
-
body:
|
1338
|
+
body: MicrosoftEntraProviderMappingRequestToJSON(requestParameters.microsoftEntraProviderMappingRequest),
|
1339
1339
|
}, initOverrides);
|
1340
1340
|
|
1341
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
1341
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => MicrosoftEntraProviderMappingFromJSON(jsonValue));
|
1342
1342
|
}
|
1343
1343
|
|
1344
1344
|
/**
|
1345
|
-
*
|
1345
|
+
* MicrosoftEntraProviderMapping Viewset
|
1346
1346
|
*/
|
1347
|
-
async
|
1348
|
-
const response = await this.
|
1347
|
+
async propertymappingsProviderMicrosoftEntraCreate(requestParameters: PropertymappingsProviderMicrosoftEntraCreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<MicrosoftEntraProviderMapping> {
|
1348
|
+
const response = await this.propertymappingsProviderMicrosoftEntraCreateRaw(requestParameters, initOverrides);
|
1349
1349
|
return await response.value();
|
1350
1350
|
}
|
1351
1351
|
|
1352
1352
|
/**
|
1353
|
-
*
|
1353
|
+
* MicrosoftEntraProviderMapping Viewset
|
1354
1354
|
*/
|
1355
|
-
async
|
1355
|
+
async propertymappingsProviderMicrosoftEntraDestroyRaw(requestParameters: PropertymappingsProviderMicrosoftEntraDestroyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
1356
1356
|
if (requestParameters.pmUuid === null || requestParameters.pmUuid === undefined) {
|
1357
|
-
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling
|
1357
|
+
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling propertymappingsProviderMicrosoftEntraDestroy.');
|
1358
1358
|
}
|
1359
1359
|
|
1360
1360
|
const queryParameters: any = {};
|
@@ -1370,7 +1370,7 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
1370
1370
|
}
|
1371
1371
|
}
|
1372
1372
|
const response = await this.request({
|
1373
|
-
path: `/propertymappings/provider/
|
1373
|
+
path: `/propertymappings/provider/microsoft_entra/{pm_uuid}/`.replace(`{${"pm_uuid"}}`, encodeURIComponent(String(requestParameters.pmUuid))),
|
1374
1374
|
method: 'DELETE',
|
1375
1375
|
headers: headerParameters,
|
1376
1376
|
query: queryParameters,
|
@@ -1380,16 +1380,16 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
1380
1380
|
}
|
1381
1381
|
|
1382
1382
|
/**
|
1383
|
-
*
|
1383
|
+
* MicrosoftEntraProviderMapping Viewset
|
1384
1384
|
*/
|
1385
|
-
async
|
1386
|
-
await this.
|
1385
|
+
async propertymappingsProviderMicrosoftEntraDestroy(requestParameters: PropertymappingsProviderMicrosoftEntraDestroyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
|
1386
|
+
await this.propertymappingsProviderMicrosoftEntraDestroyRaw(requestParameters, initOverrides);
|
1387
1387
|
}
|
1388
1388
|
|
1389
1389
|
/**
|
1390
|
-
*
|
1390
|
+
* MicrosoftEntraProviderMapping Viewset
|
1391
1391
|
*/
|
1392
|
-
async
|
1392
|
+
async propertymappingsProviderMicrosoftEntraListRaw(requestParameters: PropertymappingsProviderMicrosoftEntraListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedMicrosoftEntraProviderMappingList>> {
|
1393
1393
|
const queryParameters: any = {};
|
1394
1394
|
|
1395
1395
|
if (requestParameters.expression !== undefined) {
|
@@ -1435,29 +1435,29 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
1435
1435
|
}
|
1436
1436
|
}
|
1437
1437
|
const response = await this.request({
|
1438
|
-
path: `/propertymappings/provider/
|
1438
|
+
path: `/propertymappings/provider/microsoft_entra/`,
|
1439
1439
|
method: 'GET',
|
1440
1440
|
headers: headerParameters,
|
1441
1441
|
query: queryParameters,
|
1442
1442
|
}, initOverrides);
|
1443
1443
|
|
1444
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
1444
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => PaginatedMicrosoftEntraProviderMappingListFromJSON(jsonValue));
|
1445
1445
|
}
|
1446
1446
|
|
1447
1447
|
/**
|
1448
|
-
*
|
1448
|
+
* MicrosoftEntraProviderMapping Viewset
|
1449
1449
|
*/
|
1450
|
-
async
|
1451
|
-
const response = await this.
|
1450
|
+
async propertymappingsProviderMicrosoftEntraList(requestParameters: PropertymappingsProviderMicrosoftEntraListRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedMicrosoftEntraProviderMappingList> {
|
1451
|
+
const response = await this.propertymappingsProviderMicrosoftEntraListRaw(requestParameters, initOverrides);
|
1452
1452
|
return await response.value();
|
1453
1453
|
}
|
1454
1454
|
|
1455
1455
|
/**
|
1456
|
-
*
|
1456
|
+
* MicrosoftEntraProviderMapping Viewset
|
1457
1457
|
*/
|
1458
|
-
async
|
1458
|
+
async propertymappingsProviderMicrosoftEntraPartialUpdateRaw(requestParameters: PropertymappingsProviderMicrosoftEntraPartialUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<MicrosoftEntraProviderMapping>> {
|
1459
1459
|
if (requestParameters.pmUuid === null || requestParameters.pmUuid === undefined) {
|
1460
|
-
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling
|
1460
|
+
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling propertymappingsProviderMicrosoftEntraPartialUpdate.');
|
1461
1461
|
}
|
1462
1462
|
|
1463
1463
|
const queryParameters: any = {};
|
@@ -1475,30 +1475,30 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
1475
1475
|
}
|
1476
1476
|
}
|
1477
1477
|
const response = await this.request({
|
1478
|
-
path: `/propertymappings/provider/
|
1478
|
+
path: `/propertymappings/provider/microsoft_entra/{pm_uuid}/`.replace(`{${"pm_uuid"}}`, encodeURIComponent(String(requestParameters.pmUuid))),
|
1479
1479
|
method: 'PATCH',
|
1480
1480
|
headers: headerParameters,
|
1481
1481
|
query: queryParameters,
|
1482
|
-
body:
|
1482
|
+
body: PatchedMicrosoftEntraProviderMappingRequestToJSON(requestParameters.patchedMicrosoftEntraProviderMappingRequest),
|
1483
1483
|
}, initOverrides);
|
1484
1484
|
|
1485
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
1485
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => MicrosoftEntraProviderMappingFromJSON(jsonValue));
|
1486
1486
|
}
|
1487
1487
|
|
1488
1488
|
/**
|
1489
|
-
*
|
1489
|
+
* MicrosoftEntraProviderMapping Viewset
|
1490
1490
|
*/
|
1491
|
-
async
|
1492
|
-
const response = await this.
|
1491
|
+
async propertymappingsProviderMicrosoftEntraPartialUpdate(requestParameters: PropertymappingsProviderMicrosoftEntraPartialUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<MicrosoftEntraProviderMapping> {
|
1492
|
+
const response = await this.propertymappingsProviderMicrosoftEntraPartialUpdateRaw(requestParameters, initOverrides);
|
1493
1493
|
return await response.value();
|
1494
1494
|
}
|
1495
1495
|
|
1496
1496
|
/**
|
1497
|
-
*
|
1497
|
+
* MicrosoftEntraProviderMapping Viewset
|
1498
1498
|
*/
|
1499
|
-
async
|
1499
|
+
async propertymappingsProviderMicrosoftEntraRetrieveRaw(requestParameters: PropertymappingsProviderMicrosoftEntraRetrieveRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<MicrosoftEntraProviderMapping>> {
|
1500
1500
|
if (requestParameters.pmUuid === null || requestParameters.pmUuid === undefined) {
|
1501
|
-
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling
|
1501
|
+
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling propertymappingsProviderMicrosoftEntraRetrieve.');
|
1502
1502
|
}
|
1503
1503
|
|
1504
1504
|
const queryParameters: any = {};
|
@@ -1514,33 +1514,33 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
1514
1514
|
}
|
1515
1515
|
}
|
1516
1516
|
const response = await this.request({
|
1517
|
-
path: `/propertymappings/provider/
|
1517
|
+
path: `/propertymappings/provider/microsoft_entra/{pm_uuid}/`.replace(`{${"pm_uuid"}}`, encodeURIComponent(String(requestParameters.pmUuid))),
|
1518
1518
|
method: 'GET',
|
1519
1519
|
headers: headerParameters,
|
1520
1520
|
query: queryParameters,
|
1521
1521
|
}, initOverrides);
|
1522
1522
|
|
1523
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
1523
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => MicrosoftEntraProviderMappingFromJSON(jsonValue));
|
1524
1524
|
}
|
1525
1525
|
|
1526
1526
|
/**
|
1527
|
-
*
|
1527
|
+
* MicrosoftEntraProviderMapping Viewset
|
1528
1528
|
*/
|
1529
|
-
async
|
1530
|
-
const response = await this.
|
1529
|
+
async propertymappingsProviderMicrosoftEntraRetrieve(requestParameters: PropertymappingsProviderMicrosoftEntraRetrieveRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<MicrosoftEntraProviderMapping> {
|
1530
|
+
const response = await this.propertymappingsProviderMicrosoftEntraRetrieveRaw(requestParameters, initOverrides);
|
1531
1531
|
return await response.value();
|
1532
1532
|
}
|
1533
1533
|
|
1534
1534
|
/**
|
1535
|
-
*
|
1535
|
+
* MicrosoftEntraProviderMapping Viewset
|
1536
1536
|
*/
|
1537
|
-
async
|
1537
|
+
async propertymappingsProviderMicrosoftEntraUpdateRaw(requestParameters: PropertymappingsProviderMicrosoftEntraUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<MicrosoftEntraProviderMapping>> {
|
1538
1538
|
if (requestParameters.pmUuid === null || requestParameters.pmUuid === undefined) {
|
1539
|
-
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling
|
1539
|
+
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling propertymappingsProviderMicrosoftEntraUpdate.');
|
1540
1540
|
}
|
1541
1541
|
|
1542
|
-
if (requestParameters.
|
1543
|
-
throw new runtime.RequiredError('
|
1542
|
+
if (requestParameters.microsoftEntraProviderMappingRequest === null || requestParameters.microsoftEntraProviderMappingRequest === undefined) {
|
1543
|
+
throw new runtime.RequiredError('microsoftEntraProviderMappingRequest','Required parameter requestParameters.microsoftEntraProviderMappingRequest was null or undefined when calling propertymappingsProviderMicrosoftEntraUpdate.');
|
1544
1544
|
}
|
1545
1545
|
|
1546
1546
|
const queryParameters: any = {};
|
@@ -1558,30 +1558,30 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
1558
1558
|
}
|
1559
1559
|
}
|
1560
1560
|
const response = await this.request({
|
1561
|
-
path: `/propertymappings/provider/
|
1561
|
+
path: `/propertymappings/provider/microsoft_entra/{pm_uuid}/`.replace(`{${"pm_uuid"}}`, encodeURIComponent(String(requestParameters.pmUuid))),
|
1562
1562
|
method: 'PUT',
|
1563
1563
|
headers: headerParameters,
|
1564
1564
|
query: queryParameters,
|
1565
|
-
body:
|
1565
|
+
body: MicrosoftEntraProviderMappingRequestToJSON(requestParameters.microsoftEntraProviderMappingRequest),
|
1566
1566
|
}, initOverrides);
|
1567
1567
|
|
1568
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
1568
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => MicrosoftEntraProviderMappingFromJSON(jsonValue));
|
1569
1569
|
}
|
1570
1570
|
|
1571
1571
|
/**
|
1572
|
-
*
|
1572
|
+
* MicrosoftEntraProviderMapping Viewset
|
1573
1573
|
*/
|
1574
|
-
async
|
1575
|
-
const response = await this.
|
1574
|
+
async propertymappingsProviderMicrosoftEntraUpdate(requestParameters: PropertymappingsProviderMicrosoftEntraUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<MicrosoftEntraProviderMapping> {
|
1575
|
+
const response = await this.propertymappingsProviderMicrosoftEntraUpdateRaw(requestParameters, initOverrides);
|
1576
1576
|
return await response.value();
|
1577
1577
|
}
|
1578
1578
|
|
1579
1579
|
/**
|
1580
1580
|
* Get a list of all objects that use this object
|
1581
1581
|
*/
|
1582
|
-
async
|
1582
|
+
async propertymappingsProviderMicrosoftEntraUsedByListRaw(requestParameters: PropertymappingsProviderMicrosoftEntraUsedByListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<UsedBy>>> {
|
1583
1583
|
if (requestParameters.pmUuid === null || requestParameters.pmUuid === undefined) {
|
1584
|
-
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling
|
1584
|
+
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling propertymappingsProviderMicrosoftEntraUsedByList.');
|
1585
1585
|
}
|
1586
1586
|
|
1587
1587
|
const queryParameters: any = {};
|
@@ -1597,7 +1597,7 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
1597
1597
|
}
|
1598
1598
|
}
|
1599
1599
|
const response = await this.request({
|
1600
|
-
path: `/propertymappings/provider/
|
1600
|
+
path: `/propertymappings/provider/microsoft_entra/{pm_uuid}/used_by/`.replace(`{${"pm_uuid"}}`, encodeURIComponent(String(requestParameters.pmUuid))),
|
1601
1601
|
method: 'GET',
|
1602
1602
|
headers: headerParameters,
|
1603
1603
|
query: queryParameters,
|
@@ -1609,17 +1609,17 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
1609
1609
|
/**
|
1610
1610
|
* Get a list of all objects that use this object
|
1611
1611
|
*/
|
1612
|
-
async
|
1613
|
-
const response = await this.
|
1612
|
+
async propertymappingsProviderMicrosoftEntraUsedByList(requestParameters: PropertymappingsProviderMicrosoftEntraUsedByListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<UsedBy>> {
|
1613
|
+
const response = await this.propertymappingsProviderMicrosoftEntraUsedByListRaw(requestParameters, initOverrides);
|
1614
1614
|
return await response.value();
|
1615
1615
|
}
|
1616
1616
|
|
1617
1617
|
/**
|
1618
|
-
*
|
1618
|
+
* RACPropertyMapping Viewset
|
1619
1619
|
*/
|
1620
|
-
async
|
1621
|
-
if (requestParameters.
|
1622
|
-
throw new runtime.RequiredError('
|
1620
|
+
async propertymappingsRacCreateRaw(requestParameters: PropertymappingsRacCreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<RACPropertyMapping>> {
|
1621
|
+
if (requestParameters.rACPropertyMappingRequest === null || requestParameters.rACPropertyMappingRequest === undefined) {
|
1622
|
+
throw new runtime.RequiredError('rACPropertyMappingRequest','Required parameter requestParameters.rACPropertyMappingRequest was null or undefined when calling propertymappingsRacCreate.');
|
1623
1623
|
}
|
1624
1624
|
|
1625
1625
|
const queryParameters: any = {};
|
@@ -1637,30 +1637,30 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
1637
1637
|
}
|
1638
1638
|
}
|
1639
1639
|
const response = await this.request({
|
1640
|
-
path: `/propertymappings/
|
1640
|
+
path: `/propertymappings/rac/`,
|
1641
1641
|
method: 'POST',
|
1642
1642
|
headers: headerParameters,
|
1643
1643
|
query: queryParameters,
|
1644
|
-
body:
|
1644
|
+
body: RACPropertyMappingRequestToJSON(requestParameters.rACPropertyMappingRequest),
|
1645
1645
|
}, initOverrides);
|
1646
1646
|
|
1647
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
1647
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => RACPropertyMappingFromJSON(jsonValue));
|
1648
1648
|
}
|
1649
1649
|
|
1650
1650
|
/**
|
1651
|
-
*
|
1651
|
+
* RACPropertyMapping Viewset
|
1652
1652
|
*/
|
1653
|
-
async
|
1654
|
-
const response = await this.
|
1653
|
+
async propertymappingsRacCreate(requestParameters: PropertymappingsRacCreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RACPropertyMapping> {
|
1654
|
+
const response = await this.propertymappingsRacCreateRaw(requestParameters, initOverrides);
|
1655
1655
|
return await response.value();
|
1656
1656
|
}
|
1657
1657
|
|
1658
1658
|
/**
|
1659
|
-
*
|
1659
|
+
* RACPropertyMapping Viewset
|
1660
1660
|
*/
|
1661
|
-
async
|
1661
|
+
async propertymappingsRacDestroyRaw(requestParameters: PropertymappingsRacDestroyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
1662
1662
|
if (requestParameters.pmUuid === null || requestParameters.pmUuid === undefined) {
|
1663
|
-
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling
|
1663
|
+
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling propertymappingsRacDestroy.');
|
1664
1664
|
}
|
1665
1665
|
|
1666
1666
|
const queryParameters: any = {};
|
@@ -1676,7 +1676,7 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
1676
1676
|
}
|
1677
1677
|
}
|
1678
1678
|
const response = await this.request({
|
1679
|
-
path: `/propertymappings/
|
1679
|
+
path: `/propertymappings/rac/{pm_uuid}/`.replace(`{${"pm_uuid"}}`, encodeURIComponent(String(requestParameters.pmUuid))),
|
1680
1680
|
method: 'DELETE',
|
1681
1681
|
headers: headerParameters,
|
1682
1682
|
query: queryParameters,
|
@@ -1686,22 +1686,18 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
1686
1686
|
}
|
1687
1687
|
|
1688
1688
|
/**
|
1689
|
-
*
|
1689
|
+
* RACPropertyMapping Viewset
|
1690
1690
|
*/
|
1691
|
-
async
|
1692
|
-
await this.
|
1691
|
+
async propertymappingsRacDestroy(requestParameters: PropertymappingsRacDestroyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
|
1692
|
+
await this.propertymappingsRacDestroyRaw(requestParameters, initOverrides);
|
1693
1693
|
}
|
1694
1694
|
|
1695
1695
|
/**
|
1696
|
-
*
|
1696
|
+
* RACPropertyMapping Viewset
|
1697
1697
|
*/
|
1698
|
-
async
|
1698
|
+
async propertymappingsRacListRaw(requestParameters: PropertymappingsRacListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedRACPropertyMappingList>> {
|
1699
1699
|
const queryParameters: any = {};
|
1700
1700
|
|
1701
|
-
if (requestParameters.expression !== undefined) {
|
1702
|
-
queryParameters['expression'] = requestParameters.expression;
|
1703
|
-
}
|
1704
|
-
|
1705
1701
|
if (requestParameters.managed) {
|
1706
1702
|
queryParameters['managed'] = requestParameters.managed;
|
1707
1703
|
}
|
@@ -1722,10 +1718,6 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
1722
1718
|
queryParameters['page_size'] = requestParameters.pageSize;
|
1723
1719
|
}
|
1724
1720
|
|
1725
|
-
if (requestParameters.pmUuid !== undefined) {
|
1726
|
-
queryParameters['pm_uuid'] = requestParameters.pmUuid;
|
1727
|
-
}
|
1728
|
-
|
1729
1721
|
if (requestParameters.search !== undefined) {
|
1730
1722
|
queryParameters['search'] = requestParameters.search;
|
1731
1723
|
}
|
@@ -1741,29 +1733,29 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
1741
1733
|
}
|
1742
1734
|
}
|
1743
1735
|
const response = await this.request({
|
1744
|
-
path: `/propertymappings/
|
1736
|
+
path: `/propertymappings/rac/`,
|
1745
1737
|
method: 'GET',
|
1746
1738
|
headers: headerParameters,
|
1747
1739
|
query: queryParameters,
|
1748
1740
|
}, initOverrides);
|
1749
1741
|
|
1750
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
1742
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => PaginatedRACPropertyMappingListFromJSON(jsonValue));
|
1751
1743
|
}
|
1752
1744
|
|
1753
1745
|
/**
|
1754
|
-
*
|
1746
|
+
* RACPropertyMapping Viewset
|
1755
1747
|
*/
|
1756
|
-
async
|
1757
|
-
const response = await this.
|
1748
|
+
async propertymappingsRacList(requestParameters: PropertymappingsRacListRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedRACPropertyMappingList> {
|
1749
|
+
const response = await this.propertymappingsRacListRaw(requestParameters, initOverrides);
|
1758
1750
|
return await response.value();
|
1759
1751
|
}
|
1760
1752
|
|
1761
1753
|
/**
|
1762
|
-
*
|
1754
|
+
* RACPropertyMapping Viewset
|
1763
1755
|
*/
|
1764
|
-
async
|
1756
|
+
async propertymappingsRacPartialUpdateRaw(requestParameters: PropertymappingsRacPartialUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<RACPropertyMapping>> {
|
1765
1757
|
if (requestParameters.pmUuid === null || requestParameters.pmUuid === undefined) {
|
1766
|
-
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling
|
1758
|
+
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling propertymappingsRacPartialUpdate.');
|
1767
1759
|
}
|
1768
1760
|
|
1769
1761
|
const queryParameters: any = {};
|
@@ -1781,30 +1773,30 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
1781
1773
|
}
|
1782
1774
|
}
|
1783
1775
|
const response = await this.request({
|
1784
|
-
path: `/propertymappings/
|
1776
|
+
path: `/propertymappings/rac/{pm_uuid}/`.replace(`{${"pm_uuid"}}`, encodeURIComponent(String(requestParameters.pmUuid))),
|
1785
1777
|
method: 'PATCH',
|
1786
1778
|
headers: headerParameters,
|
1787
1779
|
query: queryParameters,
|
1788
|
-
body:
|
1780
|
+
body: PatchedRACPropertyMappingRequestToJSON(requestParameters.patchedRACPropertyMappingRequest),
|
1789
1781
|
}, initOverrides);
|
1790
1782
|
|
1791
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
1783
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => RACPropertyMappingFromJSON(jsonValue));
|
1792
1784
|
}
|
1793
1785
|
|
1794
1786
|
/**
|
1795
|
-
*
|
1787
|
+
* RACPropertyMapping Viewset
|
1796
1788
|
*/
|
1797
|
-
async
|
1798
|
-
const response = await this.
|
1789
|
+
async propertymappingsRacPartialUpdate(requestParameters: PropertymappingsRacPartialUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RACPropertyMapping> {
|
1790
|
+
const response = await this.propertymappingsRacPartialUpdateRaw(requestParameters, initOverrides);
|
1799
1791
|
return await response.value();
|
1800
1792
|
}
|
1801
1793
|
|
1802
1794
|
/**
|
1803
|
-
*
|
1795
|
+
* RACPropertyMapping Viewset
|
1804
1796
|
*/
|
1805
|
-
async
|
1797
|
+
async propertymappingsRacRetrieveRaw(requestParameters: PropertymappingsRacRetrieveRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<RACPropertyMapping>> {
|
1806
1798
|
if (requestParameters.pmUuid === null || requestParameters.pmUuid === undefined) {
|
1807
|
-
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling
|
1799
|
+
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling propertymappingsRacRetrieve.');
|
1808
1800
|
}
|
1809
1801
|
|
1810
1802
|
const queryParameters: any = {};
|
@@ -1820,33 +1812,33 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
1820
1812
|
}
|
1821
1813
|
}
|
1822
1814
|
const response = await this.request({
|
1823
|
-
path: `/propertymappings/
|
1815
|
+
path: `/propertymappings/rac/{pm_uuid}/`.replace(`{${"pm_uuid"}}`, encodeURIComponent(String(requestParameters.pmUuid))),
|
1824
1816
|
method: 'GET',
|
1825
1817
|
headers: headerParameters,
|
1826
1818
|
query: queryParameters,
|
1827
1819
|
}, initOverrides);
|
1828
1820
|
|
1829
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
1821
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => RACPropertyMappingFromJSON(jsonValue));
|
1830
1822
|
}
|
1831
1823
|
|
1832
1824
|
/**
|
1833
|
-
*
|
1825
|
+
* RACPropertyMapping Viewset
|
1834
1826
|
*/
|
1835
|
-
async
|
1836
|
-
const response = await this.
|
1827
|
+
async propertymappingsRacRetrieve(requestParameters: PropertymappingsRacRetrieveRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RACPropertyMapping> {
|
1828
|
+
const response = await this.propertymappingsRacRetrieveRaw(requestParameters, initOverrides);
|
1837
1829
|
return await response.value();
|
1838
1830
|
}
|
1839
1831
|
|
1840
1832
|
/**
|
1841
|
-
*
|
1833
|
+
* RACPropertyMapping Viewset
|
1842
1834
|
*/
|
1843
|
-
async
|
1835
|
+
async propertymappingsRacUpdateRaw(requestParameters: PropertymappingsRacUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<RACPropertyMapping>> {
|
1844
1836
|
if (requestParameters.pmUuid === null || requestParameters.pmUuid === undefined) {
|
1845
|
-
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling
|
1837
|
+
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling propertymappingsRacUpdate.');
|
1846
1838
|
}
|
1847
1839
|
|
1848
|
-
if (requestParameters.
|
1849
|
-
throw new runtime.RequiredError('
|
1840
|
+
if (requestParameters.rACPropertyMappingRequest === null || requestParameters.rACPropertyMappingRequest === undefined) {
|
1841
|
+
throw new runtime.RequiredError('rACPropertyMappingRequest','Required parameter requestParameters.rACPropertyMappingRequest was null or undefined when calling propertymappingsRacUpdate.');
|
1850
1842
|
}
|
1851
1843
|
|
1852
1844
|
const queryParameters: any = {};
|
@@ -1864,30 +1856,30 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
1864
1856
|
}
|
1865
1857
|
}
|
1866
1858
|
const response = await this.request({
|
1867
|
-
path: `/propertymappings/
|
1859
|
+
path: `/propertymappings/rac/{pm_uuid}/`.replace(`{${"pm_uuid"}}`, encodeURIComponent(String(requestParameters.pmUuid))),
|
1868
1860
|
method: 'PUT',
|
1869
1861
|
headers: headerParameters,
|
1870
1862
|
query: queryParameters,
|
1871
|
-
body:
|
1863
|
+
body: RACPropertyMappingRequestToJSON(requestParameters.rACPropertyMappingRequest),
|
1872
1864
|
}, initOverrides);
|
1873
1865
|
|
1874
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
1866
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => RACPropertyMappingFromJSON(jsonValue));
|
1875
1867
|
}
|
1876
1868
|
|
1877
1869
|
/**
|
1878
|
-
*
|
1870
|
+
* RACPropertyMapping Viewset
|
1879
1871
|
*/
|
1880
|
-
async
|
1881
|
-
const response = await this.
|
1872
|
+
async propertymappingsRacUpdate(requestParameters: PropertymappingsRacUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RACPropertyMapping> {
|
1873
|
+
const response = await this.propertymappingsRacUpdateRaw(requestParameters, initOverrides);
|
1882
1874
|
return await response.value();
|
1883
1875
|
}
|
1884
1876
|
|
1885
1877
|
/**
|
1886
1878
|
* Get a list of all objects that use this object
|
1887
1879
|
*/
|
1888
|
-
async
|
1880
|
+
async propertymappingsRacUsedByListRaw(requestParameters: PropertymappingsRacUsedByListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<UsedBy>>> {
|
1889
1881
|
if (requestParameters.pmUuid === null || requestParameters.pmUuid === undefined) {
|
1890
|
-
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling
|
1882
|
+
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling propertymappingsRacUsedByList.');
|
1891
1883
|
}
|
1892
1884
|
|
1893
1885
|
const queryParameters: any = {};
|
@@ -1903,7 +1895,7 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
1903
1895
|
}
|
1904
1896
|
}
|
1905
1897
|
const response = await this.request({
|
1906
|
-
path: `/propertymappings/
|
1898
|
+
path: `/propertymappings/rac/{pm_uuid}/used_by/`.replace(`{${"pm_uuid"}}`, encodeURIComponent(String(requestParameters.pmUuid))),
|
1907
1899
|
method: 'GET',
|
1908
1900
|
headers: headerParameters,
|
1909
1901
|
query: queryParameters,
|
@@ -1915,17 +1907,17 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
1915
1907
|
/**
|
1916
1908
|
* Get a list of all objects that use this object
|
1917
1909
|
*/
|
1918
|
-
async
|
1919
|
-
const response = await this.
|
1910
|
+
async propertymappingsRacUsedByList(requestParameters: PropertymappingsRacUsedByListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<UsedBy>> {
|
1911
|
+
const response = await this.propertymappingsRacUsedByListRaw(requestParameters, initOverrides);
|
1920
1912
|
return await response.value();
|
1921
1913
|
}
|
1922
1914
|
|
1923
1915
|
/**
|
1924
|
-
*
|
1916
|
+
* SAMLPropertyMapping Viewset
|
1925
1917
|
*/
|
1926
|
-
async
|
1927
|
-
if (requestParameters.
|
1928
|
-
throw new runtime.RequiredError('
|
1918
|
+
async propertymappingsSamlCreateRaw(requestParameters: PropertymappingsSamlCreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SAMLPropertyMapping>> {
|
1919
|
+
if (requestParameters.sAMLPropertyMappingRequest === null || requestParameters.sAMLPropertyMappingRequest === undefined) {
|
1920
|
+
throw new runtime.RequiredError('sAMLPropertyMappingRequest','Required parameter requestParameters.sAMLPropertyMappingRequest was null or undefined when calling propertymappingsSamlCreate.');
|
1929
1921
|
}
|
1930
1922
|
|
1931
1923
|
const queryParameters: any = {};
|
@@ -1943,30 +1935,30 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
1943
1935
|
}
|
1944
1936
|
}
|
1945
1937
|
const response = await this.request({
|
1946
|
-
path: `/propertymappings/
|
1938
|
+
path: `/propertymappings/saml/`,
|
1947
1939
|
method: 'POST',
|
1948
1940
|
headers: headerParameters,
|
1949
1941
|
query: queryParameters,
|
1950
|
-
body:
|
1942
|
+
body: SAMLPropertyMappingRequestToJSON(requestParameters.sAMLPropertyMappingRequest),
|
1951
1943
|
}, initOverrides);
|
1952
1944
|
|
1953
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
1945
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => SAMLPropertyMappingFromJSON(jsonValue));
|
1954
1946
|
}
|
1955
1947
|
|
1956
1948
|
/**
|
1957
|
-
*
|
1949
|
+
* SAMLPropertyMapping Viewset
|
1958
1950
|
*/
|
1959
|
-
async
|
1960
|
-
const response = await this.
|
1951
|
+
async propertymappingsSamlCreate(requestParameters: PropertymappingsSamlCreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SAMLPropertyMapping> {
|
1952
|
+
const response = await this.propertymappingsSamlCreateRaw(requestParameters, initOverrides);
|
1961
1953
|
return await response.value();
|
1962
1954
|
}
|
1963
1955
|
|
1964
1956
|
/**
|
1965
|
-
*
|
1957
|
+
* SAMLPropertyMapping Viewset
|
1966
1958
|
*/
|
1967
|
-
async
|
1959
|
+
async propertymappingsSamlDestroyRaw(requestParameters: PropertymappingsSamlDestroyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
1968
1960
|
if (requestParameters.pmUuid === null || requestParameters.pmUuid === undefined) {
|
1969
|
-
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling
|
1961
|
+
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling propertymappingsSamlDestroy.');
|
1970
1962
|
}
|
1971
1963
|
|
1972
1964
|
const queryParameters: any = {};
|
@@ -1982,7 +1974,7 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
1982
1974
|
}
|
1983
1975
|
}
|
1984
1976
|
const response = await this.request({
|
1985
|
-
path: `/propertymappings/
|
1977
|
+
path: `/propertymappings/saml/{pm_uuid}/`.replace(`{${"pm_uuid"}}`, encodeURIComponent(String(requestParameters.pmUuid))),
|
1986
1978
|
method: 'DELETE',
|
1987
1979
|
headers: headerParameters,
|
1988
1980
|
query: queryParameters,
|
@@ -1992,18 +1984,26 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
1992
1984
|
}
|
1993
1985
|
|
1994
1986
|
/**
|
1995
|
-
*
|
1987
|
+
* SAMLPropertyMapping Viewset
|
1996
1988
|
*/
|
1997
|
-
async
|
1998
|
-
await this.
|
1989
|
+
async propertymappingsSamlDestroy(requestParameters: PropertymappingsSamlDestroyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
|
1990
|
+
await this.propertymappingsSamlDestroyRaw(requestParameters, initOverrides);
|
1999
1991
|
}
|
2000
1992
|
|
2001
1993
|
/**
|
2002
|
-
*
|
1994
|
+
* SAMLPropertyMapping Viewset
|
2003
1995
|
*/
|
2004
|
-
async
|
1996
|
+
async propertymappingsSamlListRaw(requestParameters: PropertymappingsSamlListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedSAMLPropertyMappingList>> {
|
2005
1997
|
const queryParameters: any = {};
|
2006
1998
|
|
1999
|
+
if (requestParameters.expression !== undefined) {
|
2000
|
+
queryParameters['expression'] = requestParameters.expression;
|
2001
|
+
}
|
2002
|
+
|
2003
|
+
if (requestParameters.friendlyName !== undefined) {
|
2004
|
+
queryParameters['friendly_name'] = requestParameters.friendlyName;
|
2005
|
+
}
|
2006
|
+
|
2007
2007
|
if (requestParameters.managed) {
|
2008
2008
|
queryParameters['managed'] = requestParameters.managed;
|
2009
2009
|
}
|
@@ -2024,6 +2024,14 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
2024
2024
|
queryParameters['page_size'] = requestParameters.pageSize;
|
2025
2025
|
}
|
2026
2026
|
|
2027
|
+
if (requestParameters.pmUuid !== undefined) {
|
2028
|
+
queryParameters['pm_uuid'] = requestParameters.pmUuid;
|
2029
|
+
}
|
2030
|
+
|
2031
|
+
if (requestParameters.samlName !== undefined) {
|
2032
|
+
queryParameters['saml_name'] = requestParameters.samlName;
|
2033
|
+
}
|
2034
|
+
|
2027
2035
|
if (requestParameters.search !== undefined) {
|
2028
2036
|
queryParameters['search'] = requestParameters.search;
|
2029
2037
|
}
|
@@ -2039,29 +2047,29 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
2039
2047
|
}
|
2040
2048
|
}
|
2041
2049
|
const response = await this.request({
|
2042
|
-
path: `/propertymappings/
|
2050
|
+
path: `/propertymappings/saml/`,
|
2043
2051
|
method: 'GET',
|
2044
2052
|
headers: headerParameters,
|
2045
2053
|
query: queryParameters,
|
2046
2054
|
}, initOverrides);
|
2047
2055
|
|
2048
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
2056
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => PaginatedSAMLPropertyMappingListFromJSON(jsonValue));
|
2049
2057
|
}
|
2050
2058
|
|
2051
2059
|
/**
|
2052
|
-
*
|
2060
|
+
* SAMLPropertyMapping Viewset
|
2053
2061
|
*/
|
2054
|
-
async
|
2055
|
-
const response = await this.
|
2062
|
+
async propertymappingsSamlList(requestParameters: PropertymappingsSamlListRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedSAMLPropertyMappingList> {
|
2063
|
+
const response = await this.propertymappingsSamlListRaw(requestParameters, initOverrides);
|
2056
2064
|
return await response.value();
|
2057
2065
|
}
|
2058
2066
|
|
2059
2067
|
/**
|
2060
|
-
*
|
2068
|
+
* SAMLPropertyMapping Viewset
|
2061
2069
|
*/
|
2062
|
-
async
|
2070
|
+
async propertymappingsSamlPartialUpdateRaw(requestParameters: PropertymappingsSamlPartialUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SAMLPropertyMapping>> {
|
2063
2071
|
if (requestParameters.pmUuid === null || requestParameters.pmUuid === undefined) {
|
2064
|
-
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling
|
2072
|
+
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling propertymappingsSamlPartialUpdate.');
|
2065
2073
|
}
|
2066
2074
|
|
2067
2075
|
const queryParameters: any = {};
|
@@ -2079,30 +2087,30 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
2079
2087
|
}
|
2080
2088
|
}
|
2081
2089
|
const response = await this.request({
|
2082
|
-
path: `/propertymappings/
|
2090
|
+
path: `/propertymappings/saml/{pm_uuid}/`.replace(`{${"pm_uuid"}}`, encodeURIComponent(String(requestParameters.pmUuid))),
|
2083
2091
|
method: 'PATCH',
|
2084
2092
|
headers: headerParameters,
|
2085
2093
|
query: queryParameters,
|
2086
|
-
body:
|
2094
|
+
body: PatchedSAMLPropertyMappingRequestToJSON(requestParameters.patchedSAMLPropertyMappingRequest),
|
2087
2095
|
}, initOverrides);
|
2088
2096
|
|
2089
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
2097
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => SAMLPropertyMappingFromJSON(jsonValue));
|
2090
2098
|
}
|
2091
2099
|
|
2092
2100
|
/**
|
2093
|
-
*
|
2101
|
+
* SAMLPropertyMapping Viewset
|
2094
2102
|
*/
|
2095
|
-
async
|
2096
|
-
const response = await this.
|
2103
|
+
async propertymappingsSamlPartialUpdate(requestParameters: PropertymappingsSamlPartialUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SAMLPropertyMapping> {
|
2104
|
+
const response = await this.propertymappingsSamlPartialUpdateRaw(requestParameters, initOverrides);
|
2097
2105
|
return await response.value();
|
2098
2106
|
}
|
2099
2107
|
|
2100
2108
|
/**
|
2101
|
-
*
|
2109
|
+
* SAMLPropertyMapping Viewset
|
2102
2110
|
*/
|
2103
|
-
async
|
2111
|
+
async propertymappingsSamlRetrieveRaw(requestParameters: PropertymappingsSamlRetrieveRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SAMLPropertyMapping>> {
|
2104
2112
|
if (requestParameters.pmUuid === null || requestParameters.pmUuid === undefined) {
|
2105
|
-
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 propertymappingsSamlRetrieve.');
|
2106
2114
|
}
|
2107
2115
|
|
2108
2116
|
const queryParameters: any = {};
|
@@ -2118,33 +2126,33 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
2118
2126
|
}
|
2119
2127
|
}
|
2120
2128
|
const response = await this.request({
|
2121
|
-
path: `/propertymappings/
|
2129
|
+
path: `/propertymappings/saml/{pm_uuid}/`.replace(`{${"pm_uuid"}}`, encodeURIComponent(String(requestParameters.pmUuid))),
|
2122
2130
|
method: 'GET',
|
2123
2131
|
headers: headerParameters,
|
2124
2132
|
query: queryParameters,
|
2125
2133
|
}, initOverrides);
|
2126
2134
|
|
2127
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
2135
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => SAMLPropertyMappingFromJSON(jsonValue));
|
2128
2136
|
}
|
2129
2137
|
|
2130
2138
|
/**
|
2131
|
-
*
|
2139
|
+
* SAMLPropertyMapping Viewset
|
2132
2140
|
*/
|
2133
|
-
async
|
2134
|
-
const response = await this.
|
2141
|
+
async propertymappingsSamlRetrieve(requestParameters: PropertymappingsSamlRetrieveRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SAMLPropertyMapping> {
|
2142
|
+
const response = await this.propertymappingsSamlRetrieveRaw(requestParameters, initOverrides);
|
2135
2143
|
return await response.value();
|
2136
2144
|
}
|
2137
2145
|
|
2138
2146
|
/**
|
2139
|
-
*
|
2147
|
+
* SAMLPropertyMapping Viewset
|
2140
2148
|
*/
|
2141
|
-
async
|
2149
|
+
async propertymappingsSamlUpdateRaw(requestParameters: PropertymappingsSamlUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SAMLPropertyMapping>> {
|
2142
2150
|
if (requestParameters.pmUuid === null || requestParameters.pmUuid === undefined) {
|
2143
|
-
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling
|
2151
|
+
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling propertymappingsSamlUpdate.');
|
2144
2152
|
}
|
2145
2153
|
|
2146
|
-
if (requestParameters.
|
2147
|
-
throw new runtime.RequiredError('
|
2154
|
+
if (requestParameters.sAMLPropertyMappingRequest === null || requestParameters.sAMLPropertyMappingRequest === undefined) {
|
2155
|
+
throw new runtime.RequiredError('sAMLPropertyMappingRequest','Required parameter requestParameters.sAMLPropertyMappingRequest was null or undefined when calling propertymappingsSamlUpdate.');
|
2148
2156
|
}
|
2149
2157
|
|
2150
2158
|
const queryParameters: any = {};
|
@@ -2162,30 +2170,30 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
2162
2170
|
}
|
2163
2171
|
}
|
2164
2172
|
const response = await this.request({
|
2165
|
-
path: `/propertymappings/
|
2173
|
+
path: `/propertymappings/saml/{pm_uuid}/`.replace(`{${"pm_uuid"}}`, encodeURIComponent(String(requestParameters.pmUuid))),
|
2166
2174
|
method: 'PUT',
|
2167
2175
|
headers: headerParameters,
|
2168
2176
|
query: queryParameters,
|
2169
|
-
body:
|
2177
|
+
body: SAMLPropertyMappingRequestToJSON(requestParameters.sAMLPropertyMappingRequest),
|
2170
2178
|
}, initOverrides);
|
2171
2179
|
|
2172
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
2180
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => SAMLPropertyMappingFromJSON(jsonValue));
|
2173
2181
|
}
|
2174
2182
|
|
2175
2183
|
/**
|
2176
|
-
*
|
2184
|
+
* SAMLPropertyMapping Viewset
|
2177
2185
|
*/
|
2178
|
-
async
|
2179
|
-
const response = await this.
|
2186
|
+
async propertymappingsSamlUpdate(requestParameters: PropertymappingsSamlUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SAMLPropertyMapping> {
|
2187
|
+
const response = await this.propertymappingsSamlUpdateRaw(requestParameters, initOverrides);
|
2180
2188
|
return await response.value();
|
2181
2189
|
}
|
2182
2190
|
|
2183
2191
|
/**
|
2184
2192
|
* Get a list of all objects that use this object
|
2185
2193
|
*/
|
2186
|
-
async
|
2194
|
+
async propertymappingsSamlUsedByListRaw(requestParameters: PropertymappingsSamlUsedByListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<UsedBy>>> {
|
2187
2195
|
if (requestParameters.pmUuid === null || requestParameters.pmUuid === undefined) {
|
2188
|
-
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling
|
2196
|
+
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling propertymappingsSamlUsedByList.');
|
2189
2197
|
}
|
2190
2198
|
|
2191
2199
|
const queryParameters: any = {};
|
@@ -2201,7 +2209,7 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
2201
2209
|
}
|
2202
2210
|
}
|
2203
2211
|
const response = await this.request({
|
2204
|
-
path: `/propertymappings/
|
2212
|
+
path: `/propertymappings/saml/{pm_uuid}/used_by/`.replace(`{${"pm_uuid"}}`, encodeURIComponent(String(requestParameters.pmUuid))),
|
2205
2213
|
method: 'GET',
|
2206
2214
|
headers: headerParameters,
|
2207
2215
|
query: queryParameters,
|
@@ -2213,17 +2221,17 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
2213
2221
|
/**
|
2214
2222
|
* Get a list of all objects that use this object
|
2215
2223
|
*/
|
2216
|
-
async
|
2217
|
-
const response = await this.
|
2224
|
+
async propertymappingsSamlUsedByList(requestParameters: PropertymappingsSamlUsedByListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<UsedBy>> {
|
2225
|
+
const response = await this.propertymappingsSamlUsedByListRaw(requestParameters, initOverrides);
|
2218
2226
|
return await response.value();
|
2219
2227
|
}
|
2220
2228
|
|
2221
2229
|
/**
|
2222
|
-
*
|
2230
|
+
* SCIMMapping Viewset
|
2223
2231
|
*/
|
2224
|
-
async
|
2225
|
-
if (requestParameters.
|
2226
|
-
throw new runtime.RequiredError('
|
2232
|
+
async propertymappingsScimCreateRaw(requestParameters: PropertymappingsScimCreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SCIMMapping>> {
|
2233
|
+
if (requestParameters.sCIMMappingRequest === null || requestParameters.sCIMMappingRequest === undefined) {
|
2234
|
+
throw new runtime.RequiredError('sCIMMappingRequest','Required parameter requestParameters.sCIMMappingRequest was null or undefined when calling propertymappingsScimCreate.');
|
2227
2235
|
}
|
2228
2236
|
|
2229
2237
|
const queryParameters: any = {};
|
@@ -2241,30 +2249,30 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
2241
2249
|
}
|
2242
2250
|
}
|
2243
2251
|
const response = await this.request({
|
2244
|
-
path: `/propertymappings/
|
2252
|
+
path: `/propertymappings/scim/`,
|
2245
2253
|
method: 'POST',
|
2246
2254
|
headers: headerParameters,
|
2247
2255
|
query: queryParameters,
|
2248
|
-
body:
|
2256
|
+
body: SCIMMappingRequestToJSON(requestParameters.sCIMMappingRequest),
|
2249
2257
|
}, initOverrides);
|
2250
2258
|
|
2251
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
2259
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => SCIMMappingFromJSON(jsonValue));
|
2252
2260
|
}
|
2253
2261
|
|
2254
2262
|
/**
|
2255
|
-
*
|
2263
|
+
* SCIMMapping Viewset
|
2256
2264
|
*/
|
2257
|
-
async
|
2258
|
-
const response = await this.
|
2265
|
+
async propertymappingsScimCreate(requestParameters: PropertymappingsScimCreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SCIMMapping> {
|
2266
|
+
const response = await this.propertymappingsScimCreateRaw(requestParameters, initOverrides);
|
2259
2267
|
return await response.value();
|
2260
2268
|
}
|
2261
2269
|
|
2262
2270
|
/**
|
2263
|
-
*
|
2271
|
+
* SCIMMapping Viewset
|
2264
2272
|
*/
|
2265
|
-
async
|
2273
|
+
async propertymappingsScimDestroyRaw(requestParameters: PropertymappingsScimDestroyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
2266
2274
|
if (requestParameters.pmUuid === null || requestParameters.pmUuid === undefined) {
|
2267
|
-
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling
|
2275
|
+
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling propertymappingsScimDestroy.');
|
2268
2276
|
}
|
2269
2277
|
|
2270
2278
|
const queryParameters: any = {};
|
@@ -2280,7 +2288,7 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
2280
2288
|
}
|
2281
2289
|
}
|
2282
2290
|
const response = await this.request({
|
2283
|
-
path: `/propertymappings/
|
2291
|
+
path: `/propertymappings/scim/{pm_uuid}/`.replace(`{${"pm_uuid"}}`, encodeURIComponent(String(requestParameters.pmUuid))),
|
2284
2292
|
method: 'DELETE',
|
2285
2293
|
headers: headerParameters,
|
2286
2294
|
query: queryParameters,
|
@@ -2290,26 +2298,22 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
2290
2298
|
}
|
2291
2299
|
|
2292
2300
|
/**
|
2293
|
-
*
|
2301
|
+
* SCIMMapping Viewset
|
2294
2302
|
*/
|
2295
|
-
async
|
2296
|
-
await this.
|
2303
|
+
async propertymappingsScimDestroy(requestParameters: PropertymappingsScimDestroyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
|
2304
|
+
await this.propertymappingsScimDestroyRaw(requestParameters, initOverrides);
|
2297
2305
|
}
|
2298
2306
|
|
2299
2307
|
/**
|
2300
|
-
*
|
2308
|
+
* SCIMMapping Viewset
|
2301
2309
|
*/
|
2302
|
-
async
|
2310
|
+
async propertymappingsScimListRaw(requestParameters: PropertymappingsScimListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedSCIMMappingList>> {
|
2303
2311
|
const queryParameters: any = {};
|
2304
2312
|
|
2305
2313
|
if (requestParameters.expression !== undefined) {
|
2306
2314
|
queryParameters['expression'] = requestParameters.expression;
|
2307
2315
|
}
|
2308
2316
|
|
2309
|
-
if (requestParameters.friendlyName !== undefined) {
|
2310
|
-
queryParameters['friendly_name'] = requestParameters.friendlyName;
|
2311
|
-
}
|
2312
|
-
|
2313
2317
|
if (requestParameters.managed) {
|
2314
2318
|
queryParameters['managed'] = requestParameters.managed;
|
2315
2319
|
}
|
@@ -2334,10 +2338,6 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
2334
2338
|
queryParameters['pm_uuid'] = requestParameters.pmUuid;
|
2335
2339
|
}
|
2336
2340
|
|
2337
|
-
if (requestParameters.samlName !== undefined) {
|
2338
|
-
queryParameters['saml_name'] = requestParameters.samlName;
|
2339
|
-
}
|
2340
|
-
|
2341
2341
|
if (requestParameters.search !== undefined) {
|
2342
2342
|
queryParameters['search'] = requestParameters.search;
|
2343
2343
|
}
|
@@ -2353,29 +2353,29 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
2353
2353
|
}
|
2354
2354
|
}
|
2355
2355
|
const response = await this.request({
|
2356
|
-
path: `/propertymappings/
|
2356
|
+
path: `/propertymappings/scim/`,
|
2357
2357
|
method: 'GET',
|
2358
2358
|
headers: headerParameters,
|
2359
2359
|
query: queryParameters,
|
2360
2360
|
}, initOverrides);
|
2361
2361
|
|
2362
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
2362
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => PaginatedSCIMMappingListFromJSON(jsonValue));
|
2363
2363
|
}
|
2364
2364
|
|
2365
2365
|
/**
|
2366
|
-
*
|
2366
|
+
* SCIMMapping Viewset
|
2367
2367
|
*/
|
2368
|
-
async
|
2369
|
-
const response = await this.
|
2368
|
+
async propertymappingsScimList(requestParameters: PropertymappingsScimListRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedSCIMMappingList> {
|
2369
|
+
const response = await this.propertymappingsScimListRaw(requestParameters, initOverrides);
|
2370
2370
|
return await response.value();
|
2371
2371
|
}
|
2372
2372
|
|
2373
2373
|
/**
|
2374
|
-
*
|
2374
|
+
* SCIMMapping Viewset
|
2375
2375
|
*/
|
2376
|
-
async
|
2376
|
+
async propertymappingsScimPartialUpdateRaw(requestParameters: PropertymappingsScimPartialUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SCIMMapping>> {
|
2377
2377
|
if (requestParameters.pmUuid === null || requestParameters.pmUuid === undefined) {
|
2378
|
-
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling
|
2378
|
+
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling propertymappingsScimPartialUpdate.');
|
2379
2379
|
}
|
2380
2380
|
|
2381
2381
|
const queryParameters: any = {};
|
@@ -2393,30 +2393,30 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
2393
2393
|
}
|
2394
2394
|
}
|
2395
2395
|
const response = await this.request({
|
2396
|
-
path: `/propertymappings/
|
2396
|
+
path: `/propertymappings/scim/{pm_uuid}/`.replace(`{${"pm_uuid"}}`, encodeURIComponent(String(requestParameters.pmUuid))),
|
2397
2397
|
method: 'PATCH',
|
2398
2398
|
headers: headerParameters,
|
2399
2399
|
query: queryParameters,
|
2400
|
-
body:
|
2400
|
+
body: PatchedSCIMMappingRequestToJSON(requestParameters.patchedSCIMMappingRequest),
|
2401
2401
|
}, initOverrides);
|
2402
2402
|
|
2403
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
2403
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => SCIMMappingFromJSON(jsonValue));
|
2404
2404
|
}
|
2405
2405
|
|
2406
2406
|
/**
|
2407
|
-
*
|
2407
|
+
* SCIMMapping Viewset
|
2408
2408
|
*/
|
2409
|
-
async
|
2410
|
-
const response = await this.
|
2409
|
+
async propertymappingsScimPartialUpdate(requestParameters: PropertymappingsScimPartialUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SCIMMapping> {
|
2410
|
+
const response = await this.propertymappingsScimPartialUpdateRaw(requestParameters, initOverrides);
|
2411
2411
|
return await response.value();
|
2412
2412
|
}
|
2413
2413
|
|
2414
2414
|
/**
|
2415
|
-
*
|
2415
|
+
* SCIMMapping Viewset
|
2416
2416
|
*/
|
2417
|
-
async
|
2417
|
+
async propertymappingsScimRetrieveRaw(requestParameters: PropertymappingsScimRetrieveRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SCIMMapping>> {
|
2418
2418
|
if (requestParameters.pmUuid === null || requestParameters.pmUuid === undefined) {
|
2419
|
-
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling
|
2419
|
+
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling propertymappingsScimRetrieve.');
|
2420
2420
|
}
|
2421
2421
|
|
2422
2422
|
const queryParameters: any = {};
|
@@ -2432,33 +2432,33 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
2432
2432
|
}
|
2433
2433
|
}
|
2434
2434
|
const response = await this.request({
|
2435
|
-
path: `/propertymappings/
|
2435
|
+
path: `/propertymappings/scim/{pm_uuid}/`.replace(`{${"pm_uuid"}}`, encodeURIComponent(String(requestParameters.pmUuid))),
|
2436
2436
|
method: 'GET',
|
2437
2437
|
headers: headerParameters,
|
2438
2438
|
query: queryParameters,
|
2439
2439
|
}, initOverrides);
|
2440
2440
|
|
2441
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
2441
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => SCIMMappingFromJSON(jsonValue));
|
2442
2442
|
}
|
2443
2443
|
|
2444
2444
|
/**
|
2445
|
-
*
|
2445
|
+
* SCIMMapping Viewset
|
2446
2446
|
*/
|
2447
|
-
async
|
2448
|
-
const response = await this.
|
2447
|
+
async propertymappingsScimRetrieve(requestParameters: PropertymappingsScimRetrieveRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SCIMMapping> {
|
2448
|
+
const response = await this.propertymappingsScimRetrieveRaw(requestParameters, initOverrides);
|
2449
2449
|
return await response.value();
|
2450
2450
|
}
|
2451
2451
|
|
2452
2452
|
/**
|
2453
|
-
*
|
2453
|
+
* SCIMMapping Viewset
|
2454
2454
|
*/
|
2455
|
-
async
|
2455
|
+
async propertymappingsScimUpdateRaw(requestParameters: PropertymappingsScimUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SCIMMapping>> {
|
2456
2456
|
if (requestParameters.pmUuid === null || requestParameters.pmUuid === undefined) {
|
2457
|
-
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling
|
2457
|
+
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling propertymappingsScimUpdate.');
|
2458
2458
|
}
|
2459
2459
|
|
2460
|
-
if (requestParameters.
|
2461
|
-
throw new runtime.RequiredError('
|
2460
|
+
if (requestParameters.sCIMMappingRequest === null || requestParameters.sCIMMappingRequest === undefined) {
|
2461
|
+
throw new runtime.RequiredError('sCIMMappingRequest','Required parameter requestParameters.sCIMMappingRequest was null or undefined when calling propertymappingsScimUpdate.');
|
2462
2462
|
}
|
2463
2463
|
|
2464
2464
|
const queryParameters: any = {};
|
@@ -2476,30 +2476,30 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
2476
2476
|
}
|
2477
2477
|
}
|
2478
2478
|
const response = await this.request({
|
2479
|
-
path: `/propertymappings/
|
2479
|
+
path: `/propertymappings/scim/{pm_uuid}/`.replace(`{${"pm_uuid"}}`, encodeURIComponent(String(requestParameters.pmUuid))),
|
2480
2480
|
method: 'PUT',
|
2481
2481
|
headers: headerParameters,
|
2482
2482
|
query: queryParameters,
|
2483
|
-
body:
|
2483
|
+
body: SCIMMappingRequestToJSON(requestParameters.sCIMMappingRequest),
|
2484
2484
|
}, initOverrides);
|
2485
2485
|
|
2486
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
2486
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => SCIMMappingFromJSON(jsonValue));
|
2487
2487
|
}
|
2488
2488
|
|
2489
2489
|
/**
|
2490
|
-
*
|
2490
|
+
* SCIMMapping Viewset
|
2491
2491
|
*/
|
2492
|
-
async
|
2493
|
-
const response = await this.
|
2492
|
+
async propertymappingsScimUpdate(requestParameters: PropertymappingsScimUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SCIMMapping> {
|
2493
|
+
const response = await this.propertymappingsScimUpdateRaw(requestParameters, initOverrides);
|
2494
2494
|
return await response.value();
|
2495
2495
|
}
|
2496
2496
|
|
2497
2497
|
/**
|
2498
2498
|
* Get a list of all objects that use this object
|
2499
2499
|
*/
|
2500
|
-
async
|
2500
|
+
async propertymappingsScimUsedByListRaw(requestParameters: PropertymappingsScimUsedByListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<UsedBy>>> {
|
2501
2501
|
if (requestParameters.pmUuid === null || requestParameters.pmUuid === undefined) {
|
2502
|
-
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling
|
2502
|
+
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling propertymappingsScimUsedByList.');
|
2503
2503
|
}
|
2504
2504
|
|
2505
2505
|
const queryParameters: any = {};
|
@@ -2515,7 +2515,7 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
2515
2515
|
}
|
2516
2516
|
}
|
2517
2517
|
const response = await this.request({
|
2518
|
-
path: `/propertymappings/
|
2518
|
+
path: `/propertymappings/scim/{pm_uuid}/used_by/`.replace(`{${"pm_uuid"}}`, encodeURIComponent(String(requestParameters.pmUuid))),
|
2519
2519
|
method: 'GET',
|
2520
2520
|
headers: headerParameters,
|
2521
2521
|
query: queryParameters,
|
@@ -2527,17 +2527,17 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
2527
2527
|
/**
|
2528
2528
|
* Get a list of all objects that use this object
|
2529
2529
|
*/
|
2530
|
-
async
|
2531
|
-
const response = await this.
|
2530
|
+
async propertymappingsScimUsedByList(requestParameters: PropertymappingsScimUsedByListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<UsedBy>> {
|
2531
|
+
const response = await this.propertymappingsScimUsedByListRaw(requestParameters, initOverrides);
|
2532
2532
|
return await response.value();
|
2533
2533
|
}
|
2534
2534
|
|
2535
2535
|
/**
|
2536
|
-
*
|
2536
|
+
* ScopeMapping Viewset
|
2537
2537
|
*/
|
2538
|
-
async
|
2539
|
-
if (requestParameters.
|
2540
|
-
throw new runtime.RequiredError('
|
2538
|
+
async propertymappingsScopeCreateRaw(requestParameters: PropertymappingsScopeCreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ScopeMapping>> {
|
2539
|
+
if (requestParameters.scopeMappingRequest === null || requestParameters.scopeMappingRequest === undefined) {
|
2540
|
+
throw new runtime.RequiredError('scopeMappingRequest','Required parameter requestParameters.scopeMappingRequest was null or undefined when calling propertymappingsScopeCreate.');
|
2541
2541
|
}
|
2542
2542
|
|
2543
2543
|
const queryParameters: any = {};
|
@@ -2555,30 +2555,30 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
2555
2555
|
}
|
2556
2556
|
}
|
2557
2557
|
const response = await this.request({
|
2558
|
-
path: `/propertymappings/
|
2558
|
+
path: `/propertymappings/scope/`,
|
2559
2559
|
method: 'POST',
|
2560
2560
|
headers: headerParameters,
|
2561
2561
|
query: queryParameters,
|
2562
|
-
body:
|
2562
|
+
body: ScopeMappingRequestToJSON(requestParameters.scopeMappingRequest),
|
2563
2563
|
}, initOverrides);
|
2564
2564
|
|
2565
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
2565
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => ScopeMappingFromJSON(jsonValue));
|
2566
2566
|
}
|
2567
2567
|
|
2568
2568
|
/**
|
2569
|
-
*
|
2569
|
+
* ScopeMapping Viewset
|
2570
2570
|
*/
|
2571
|
-
async
|
2572
|
-
const response = await this.
|
2571
|
+
async propertymappingsScopeCreate(requestParameters: PropertymappingsScopeCreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ScopeMapping> {
|
2572
|
+
const response = await this.propertymappingsScopeCreateRaw(requestParameters, initOverrides);
|
2573
2573
|
return await response.value();
|
2574
2574
|
}
|
2575
2575
|
|
2576
2576
|
/**
|
2577
|
-
*
|
2577
|
+
* ScopeMapping Viewset
|
2578
2578
|
*/
|
2579
|
-
async
|
2579
|
+
async propertymappingsScopeDestroyRaw(requestParameters: PropertymappingsScopeDestroyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
2580
2580
|
if (requestParameters.pmUuid === null || requestParameters.pmUuid === undefined) {
|
2581
|
-
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling
|
2581
|
+
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling propertymappingsScopeDestroy.');
|
2582
2582
|
}
|
2583
2583
|
|
2584
2584
|
const queryParameters: any = {};
|
@@ -2594,7 +2594,7 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
2594
2594
|
}
|
2595
2595
|
}
|
2596
2596
|
const response = await this.request({
|
2597
|
-
path: `/propertymappings/
|
2597
|
+
path: `/propertymappings/scope/{pm_uuid}/`.replace(`{${"pm_uuid"}}`, encodeURIComponent(String(requestParameters.pmUuid))),
|
2598
2598
|
method: 'DELETE',
|
2599
2599
|
headers: headerParameters,
|
2600
2600
|
query: queryParameters,
|
@@ -2604,22 +2604,18 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
2604
2604
|
}
|
2605
2605
|
|
2606
2606
|
/**
|
2607
|
-
*
|
2607
|
+
* ScopeMapping Viewset
|
2608
2608
|
*/
|
2609
|
-
async
|
2610
|
-
await this.
|
2609
|
+
async propertymappingsScopeDestroy(requestParameters: PropertymappingsScopeDestroyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
|
2610
|
+
await this.propertymappingsScopeDestroyRaw(requestParameters, initOverrides);
|
2611
2611
|
}
|
2612
2612
|
|
2613
2613
|
/**
|
2614
|
-
*
|
2614
|
+
* ScopeMapping Viewset
|
2615
2615
|
*/
|
2616
|
-
async
|
2616
|
+
async propertymappingsScopeListRaw(requestParameters: PropertymappingsScopeListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedScopeMappingList>> {
|
2617
2617
|
const queryParameters: any = {};
|
2618
2618
|
|
2619
|
-
if (requestParameters.expression !== undefined) {
|
2620
|
-
queryParameters['expression'] = requestParameters.expression;
|
2621
|
-
}
|
2622
|
-
|
2623
2619
|
if (requestParameters.managed) {
|
2624
2620
|
queryParameters['managed'] = requestParameters.managed;
|
2625
2621
|
}
|
@@ -2640,8 +2636,8 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
2640
2636
|
queryParameters['page_size'] = requestParameters.pageSize;
|
2641
2637
|
}
|
2642
2638
|
|
2643
|
-
if (requestParameters.
|
2644
|
-
queryParameters['
|
2639
|
+
if (requestParameters.scopeName !== undefined) {
|
2640
|
+
queryParameters['scope_name'] = requestParameters.scopeName;
|
2645
2641
|
}
|
2646
2642
|
|
2647
2643
|
if (requestParameters.search !== undefined) {
|
@@ -2659,29 +2655,29 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
2659
2655
|
}
|
2660
2656
|
}
|
2661
2657
|
const response = await this.request({
|
2662
|
-
path: `/propertymappings/
|
2658
|
+
path: `/propertymappings/scope/`,
|
2663
2659
|
method: 'GET',
|
2664
2660
|
headers: headerParameters,
|
2665
2661
|
query: queryParameters,
|
2666
2662
|
}, initOverrides);
|
2667
2663
|
|
2668
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
2664
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => PaginatedScopeMappingListFromJSON(jsonValue));
|
2669
2665
|
}
|
2670
2666
|
|
2671
2667
|
/**
|
2672
|
-
*
|
2668
|
+
* ScopeMapping Viewset
|
2673
2669
|
*/
|
2674
|
-
async
|
2675
|
-
const response = await this.
|
2670
|
+
async propertymappingsScopeList(requestParameters: PropertymappingsScopeListRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedScopeMappingList> {
|
2671
|
+
const response = await this.propertymappingsScopeListRaw(requestParameters, initOverrides);
|
2676
2672
|
return await response.value();
|
2677
2673
|
}
|
2678
2674
|
|
2679
2675
|
/**
|
2680
|
-
*
|
2676
|
+
* ScopeMapping Viewset
|
2681
2677
|
*/
|
2682
|
-
async
|
2678
|
+
async propertymappingsScopePartialUpdateRaw(requestParameters: PropertymappingsScopePartialUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ScopeMapping>> {
|
2683
2679
|
if (requestParameters.pmUuid === null || requestParameters.pmUuid === undefined) {
|
2684
|
-
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling
|
2680
|
+
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling propertymappingsScopePartialUpdate.');
|
2685
2681
|
}
|
2686
2682
|
|
2687
2683
|
const queryParameters: any = {};
|
@@ -2699,30 +2695,30 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
2699
2695
|
}
|
2700
2696
|
}
|
2701
2697
|
const response = await this.request({
|
2702
|
-
path: `/propertymappings/
|
2698
|
+
path: `/propertymappings/scope/{pm_uuid}/`.replace(`{${"pm_uuid"}}`, encodeURIComponent(String(requestParameters.pmUuid))),
|
2703
2699
|
method: 'PATCH',
|
2704
2700
|
headers: headerParameters,
|
2705
2701
|
query: queryParameters,
|
2706
|
-
body:
|
2702
|
+
body: PatchedScopeMappingRequestToJSON(requestParameters.patchedScopeMappingRequest),
|
2707
2703
|
}, initOverrides);
|
2708
2704
|
|
2709
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
2705
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => ScopeMappingFromJSON(jsonValue));
|
2710
2706
|
}
|
2711
2707
|
|
2712
2708
|
/**
|
2713
|
-
*
|
2709
|
+
* ScopeMapping Viewset
|
2714
2710
|
*/
|
2715
|
-
async
|
2716
|
-
const response = await this.
|
2711
|
+
async propertymappingsScopePartialUpdate(requestParameters: PropertymappingsScopePartialUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ScopeMapping> {
|
2712
|
+
const response = await this.propertymappingsScopePartialUpdateRaw(requestParameters, initOverrides);
|
2717
2713
|
return await response.value();
|
2718
2714
|
}
|
2719
2715
|
|
2720
2716
|
/**
|
2721
|
-
*
|
2717
|
+
* ScopeMapping Viewset
|
2722
2718
|
*/
|
2723
|
-
async
|
2719
|
+
async propertymappingsScopeRetrieveRaw(requestParameters: PropertymappingsScopeRetrieveRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ScopeMapping>> {
|
2724
2720
|
if (requestParameters.pmUuid === null || requestParameters.pmUuid === undefined) {
|
2725
|
-
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling
|
2721
|
+
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling propertymappingsScopeRetrieve.');
|
2726
2722
|
}
|
2727
2723
|
|
2728
2724
|
const queryParameters: any = {};
|
@@ -2738,33 +2734,33 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
2738
2734
|
}
|
2739
2735
|
}
|
2740
2736
|
const response = await this.request({
|
2741
|
-
path: `/propertymappings/
|
2737
|
+
path: `/propertymappings/scope/{pm_uuid}/`.replace(`{${"pm_uuid"}}`, encodeURIComponent(String(requestParameters.pmUuid))),
|
2742
2738
|
method: 'GET',
|
2743
2739
|
headers: headerParameters,
|
2744
2740
|
query: queryParameters,
|
2745
2741
|
}, initOverrides);
|
2746
2742
|
|
2747
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
2743
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => ScopeMappingFromJSON(jsonValue));
|
2748
2744
|
}
|
2749
2745
|
|
2750
2746
|
/**
|
2751
|
-
*
|
2747
|
+
* ScopeMapping Viewset
|
2752
2748
|
*/
|
2753
|
-
async
|
2754
|
-
const response = await this.
|
2749
|
+
async propertymappingsScopeRetrieve(requestParameters: PropertymappingsScopeRetrieveRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ScopeMapping> {
|
2750
|
+
const response = await this.propertymappingsScopeRetrieveRaw(requestParameters, initOverrides);
|
2755
2751
|
return await response.value();
|
2756
2752
|
}
|
2757
2753
|
|
2758
2754
|
/**
|
2759
|
-
*
|
2755
|
+
* ScopeMapping Viewset
|
2760
2756
|
*/
|
2761
|
-
async
|
2757
|
+
async propertymappingsScopeUpdateRaw(requestParameters: PropertymappingsScopeUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ScopeMapping>> {
|
2762
2758
|
if (requestParameters.pmUuid === null || requestParameters.pmUuid === undefined) {
|
2763
|
-
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling
|
2759
|
+
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling propertymappingsScopeUpdate.');
|
2764
2760
|
}
|
2765
2761
|
|
2766
|
-
if (requestParameters.
|
2767
|
-
throw new runtime.RequiredError('
|
2762
|
+
if (requestParameters.scopeMappingRequest === null || requestParameters.scopeMappingRequest === undefined) {
|
2763
|
+
throw new runtime.RequiredError('scopeMappingRequest','Required parameter requestParameters.scopeMappingRequest was null or undefined when calling propertymappingsScopeUpdate.');
|
2768
2764
|
}
|
2769
2765
|
|
2770
2766
|
const queryParameters: any = {};
|
@@ -2782,30 +2778,30 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
2782
2778
|
}
|
2783
2779
|
}
|
2784
2780
|
const response = await this.request({
|
2785
|
-
path: `/propertymappings/
|
2781
|
+
path: `/propertymappings/scope/{pm_uuid}/`.replace(`{${"pm_uuid"}}`, encodeURIComponent(String(requestParameters.pmUuid))),
|
2786
2782
|
method: 'PUT',
|
2787
2783
|
headers: headerParameters,
|
2788
2784
|
query: queryParameters,
|
2789
|
-
body:
|
2785
|
+
body: ScopeMappingRequestToJSON(requestParameters.scopeMappingRequest),
|
2790
2786
|
}, initOverrides);
|
2791
2787
|
|
2792
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
2788
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => ScopeMappingFromJSON(jsonValue));
|
2793
2789
|
}
|
2794
2790
|
|
2795
2791
|
/**
|
2796
|
-
*
|
2792
|
+
* ScopeMapping Viewset
|
2797
2793
|
*/
|
2798
|
-
async
|
2799
|
-
const response = await this.
|
2794
|
+
async propertymappingsScopeUpdate(requestParameters: PropertymappingsScopeUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ScopeMapping> {
|
2795
|
+
const response = await this.propertymappingsScopeUpdateRaw(requestParameters, initOverrides);
|
2800
2796
|
return await response.value();
|
2801
2797
|
}
|
2802
2798
|
|
2803
2799
|
/**
|
2804
2800
|
* Get a list of all objects that use this object
|
2805
2801
|
*/
|
2806
|
-
async
|
2802
|
+
async propertymappingsScopeUsedByListRaw(requestParameters: PropertymappingsScopeUsedByListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<UsedBy>>> {
|
2807
2803
|
if (requestParameters.pmUuid === null || requestParameters.pmUuid === undefined) {
|
2808
|
-
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling
|
2804
|
+
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling propertymappingsScopeUsedByList.');
|
2809
2805
|
}
|
2810
2806
|
|
2811
2807
|
const queryParameters: any = {};
|
@@ -2821,7 +2817,7 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
2821
2817
|
}
|
2822
2818
|
}
|
2823
2819
|
const response = await this.request({
|
2824
|
-
path: `/propertymappings/
|
2820
|
+
path: `/propertymappings/scope/{pm_uuid}/used_by/`.replace(`{${"pm_uuid"}}`, encodeURIComponent(String(requestParameters.pmUuid))),
|
2825
2821
|
method: 'GET',
|
2826
2822
|
headers: headerParameters,
|
2827
2823
|
query: queryParameters,
|
@@ -2833,17 +2829,17 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
2833
2829
|
/**
|
2834
2830
|
* Get a list of all objects that use this object
|
2835
2831
|
*/
|
2836
|
-
async
|
2837
|
-
const response = await this.
|
2832
|
+
async propertymappingsScopeUsedByList(requestParameters: PropertymappingsScopeUsedByListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<UsedBy>> {
|
2833
|
+
const response = await this.propertymappingsScopeUsedByListRaw(requestParameters, initOverrides);
|
2838
2834
|
return await response.value();
|
2839
2835
|
}
|
2840
2836
|
|
2841
2837
|
/**
|
2842
|
-
*
|
2838
|
+
* LDAP PropertyMapping Viewset
|
2843
2839
|
*/
|
2844
|
-
async
|
2845
|
-
if (requestParameters.
|
2846
|
-
throw new runtime.RequiredError('
|
2840
|
+
async propertymappingsSourceLdapCreateRaw(requestParameters: PropertymappingsSourceLdapCreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<LDAPSourcePropertyMapping>> {
|
2841
|
+
if (requestParameters.lDAPSourcePropertyMappingRequest === null || requestParameters.lDAPSourcePropertyMappingRequest === undefined) {
|
2842
|
+
throw new runtime.RequiredError('lDAPSourcePropertyMappingRequest','Required parameter requestParameters.lDAPSourcePropertyMappingRequest was null or undefined when calling propertymappingsSourceLdapCreate.');
|
2847
2843
|
}
|
2848
2844
|
|
2849
2845
|
const queryParameters: any = {};
|
@@ -2861,30 +2857,30 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
2861
2857
|
}
|
2862
2858
|
}
|
2863
2859
|
const response = await this.request({
|
2864
|
-
path: `/propertymappings/
|
2860
|
+
path: `/propertymappings/source/ldap/`,
|
2865
2861
|
method: 'POST',
|
2866
2862
|
headers: headerParameters,
|
2867
2863
|
query: queryParameters,
|
2868
|
-
body:
|
2864
|
+
body: LDAPSourcePropertyMappingRequestToJSON(requestParameters.lDAPSourcePropertyMappingRequest),
|
2869
2865
|
}, initOverrides);
|
2870
2866
|
|
2871
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
2867
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => LDAPSourcePropertyMappingFromJSON(jsonValue));
|
2872
2868
|
}
|
2873
2869
|
|
2874
2870
|
/**
|
2875
|
-
*
|
2871
|
+
* LDAP PropertyMapping Viewset
|
2876
2872
|
*/
|
2877
|
-
async
|
2878
|
-
const response = await this.
|
2873
|
+
async propertymappingsSourceLdapCreate(requestParameters: PropertymappingsSourceLdapCreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<LDAPSourcePropertyMapping> {
|
2874
|
+
const response = await this.propertymappingsSourceLdapCreateRaw(requestParameters, initOverrides);
|
2879
2875
|
return await response.value();
|
2880
2876
|
}
|
2881
2877
|
|
2882
2878
|
/**
|
2883
|
-
*
|
2879
|
+
* LDAP PropertyMapping Viewset
|
2884
2880
|
*/
|
2885
|
-
async
|
2881
|
+
async propertymappingsSourceLdapDestroyRaw(requestParameters: PropertymappingsSourceLdapDestroyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
2886
2882
|
if (requestParameters.pmUuid === null || requestParameters.pmUuid === undefined) {
|
2887
|
-
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling
|
2883
|
+
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling propertymappingsSourceLdapDestroy.');
|
2888
2884
|
}
|
2889
2885
|
|
2890
2886
|
const queryParameters: any = {};
|
@@ -2900,7 +2896,7 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
2900
2896
|
}
|
2901
2897
|
}
|
2902
2898
|
const response = await this.request({
|
2903
|
-
path: `/propertymappings/
|
2899
|
+
path: `/propertymappings/source/ldap/{pm_uuid}/`.replace(`{${"pm_uuid"}}`, encodeURIComponent(String(requestParameters.pmUuid))),
|
2904
2900
|
method: 'DELETE',
|
2905
2901
|
headers: headerParameters,
|
2906
2902
|
query: queryParameters,
|
@@ -2910,18 +2906,22 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
2910
2906
|
}
|
2911
2907
|
|
2912
2908
|
/**
|
2913
|
-
*
|
2909
|
+
* LDAP PropertyMapping Viewset
|
2914
2910
|
*/
|
2915
|
-
async
|
2916
|
-
await this.
|
2911
|
+
async propertymappingsSourceLdapDestroy(requestParameters: PropertymappingsSourceLdapDestroyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
|
2912
|
+
await this.propertymappingsSourceLdapDestroyRaw(requestParameters, initOverrides);
|
2917
2913
|
}
|
2918
2914
|
|
2919
2915
|
/**
|
2920
|
-
*
|
2916
|
+
* LDAP PropertyMapping Viewset
|
2921
2917
|
*/
|
2922
|
-
async
|
2918
|
+
async propertymappingsSourceLdapListRaw(requestParameters: PropertymappingsSourceLdapListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedLDAPSourcePropertyMappingList>> {
|
2923
2919
|
const queryParameters: any = {};
|
2924
2920
|
|
2921
|
+
if (requestParameters.expression !== undefined) {
|
2922
|
+
queryParameters['expression'] = requestParameters.expression;
|
2923
|
+
}
|
2924
|
+
|
2925
2925
|
if (requestParameters.managed) {
|
2926
2926
|
queryParameters['managed'] = requestParameters.managed;
|
2927
2927
|
}
|
@@ -2942,8 +2942,8 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
2942
2942
|
queryParameters['page_size'] = requestParameters.pageSize;
|
2943
2943
|
}
|
2944
2944
|
|
2945
|
-
if (requestParameters.
|
2946
|
-
queryParameters['
|
2945
|
+
if (requestParameters.pmUuid !== undefined) {
|
2946
|
+
queryParameters['pm_uuid'] = requestParameters.pmUuid;
|
2947
2947
|
}
|
2948
2948
|
|
2949
2949
|
if (requestParameters.search !== undefined) {
|
@@ -2961,29 +2961,29 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
2961
2961
|
}
|
2962
2962
|
}
|
2963
2963
|
const response = await this.request({
|
2964
|
-
path: `/propertymappings/
|
2964
|
+
path: `/propertymappings/source/ldap/`,
|
2965
2965
|
method: 'GET',
|
2966
2966
|
headers: headerParameters,
|
2967
2967
|
query: queryParameters,
|
2968
2968
|
}, initOverrides);
|
2969
2969
|
|
2970
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
2970
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => PaginatedLDAPSourcePropertyMappingListFromJSON(jsonValue));
|
2971
2971
|
}
|
2972
2972
|
|
2973
2973
|
/**
|
2974
|
-
*
|
2974
|
+
* LDAP PropertyMapping Viewset
|
2975
2975
|
*/
|
2976
|
-
async
|
2977
|
-
const response = await this.
|
2976
|
+
async propertymappingsSourceLdapList(requestParameters: PropertymappingsSourceLdapListRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedLDAPSourcePropertyMappingList> {
|
2977
|
+
const response = await this.propertymappingsSourceLdapListRaw(requestParameters, initOverrides);
|
2978
2978
|
return await response.value();
|
2979
2979
|
}
|
2980
2980
|
|
2981
2981
|
/**
|
2982
|
-
*
|
2982
|
+
* LDAP PropertyMapping Viewset
|
2983
2983
|
*/
|
2984
|
-
async
|
2984
|
+
async propertymappingsSourceLdapPartialUpdateRaw(requestParameters: PropertymappingsSourceLdapPartialUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<LDAPSourcePropertyMapping>> {
|
2985
2985
|
if (requestParameters.pmUuid === null || requestParameters.pmUuid === undefined) {
|
2986
|
-
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling
|
2986
|
+
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling propertymappingsSourceLdapPartialUpdate.');
|
2987
2987
|
}
|
2988
2988
|
|
2989
2989
|
const queryParameters: any = {};
|
@@ -3001,30 +3001,30 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
3001
3001
|
}
|
3002
3002
|
}
|
3003
3003
|
const response = await this.request({
|
3004
|
-
path: `/propertymappings/
|
3004
|
+
path: `/propertymappings/source/ldap/{pm_uuid}/`.replace(`{${"pm_uuid"}}`, encodeURIComponent(String(requestParameters.pmUuid))),
|
3005
3005
|
method: 'PATCH',
|
3006
3006
|
headers: headerParameters,
|
3007
3007
|
query: queryParameters,
|
3008
|
-
body:
|
3008
|
+
body: PatchedLDAPSourcePropertyMappingRequestToJSON(requestParameters.patchedLDAPSourcePropertyMappingRequest),
|
3009
3009
|
}, initOverrides);
|
3010
3010
|
|
3011
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
3011
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => LDAPSourcePropertyMappingFromJSON(jsonValue));
|
3012
3012
|
}
|
3013
3013
|
|
3014
3014
|
/**
|
3015
|
-
*
|
3015
|
+
* LDAP PropertyMapping Viewset
|
3016
3016
|
*/
|
3017
|
-
async
|
3018
|
-
const response = await this.
|
3017
|
+
async propertymappingsSourceLdapPartialUpdate(requestParameters: PropertymappingsSourceLdapPartialUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<LDAPSourcePropertyMapping> {
|
3018
|
+
const response = await this.propertymappingsSourceLdapPartialUpdateRaw(requestParameters, initOverrides);
|
3019
3019
|
return await response.value();
|
3020
3020
|
}
|
3021
3021
|
|
3022
3022
|
/**
|
3023
|
-
*
|
3023
|
+
* LDAP PropertyMapping Viewset
|
3024
3024
|
*/
|
3025
|
-
async
|
3025
|
+
async propertymappingsSourceLdapRetrieveRaw(requestParameters: PropertymappingsSourceLdapRetrieveRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<LDAPSourcePropertyMapping>> {
|
3026
3026
|
if (requestParameters.pmUuid === null || requestParameters.pmUuid === undefined) {
|
3027
|
-
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling
|
3027
|
+
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling propertymappingsSourceLdapRetrieve.');
|
3028
3028
|
}
|
3029
3029
|
|
3030
3030
|
const queryParameters: any = {};
|
@@ -3040,33 +3040,33 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
3040
3040
|
}
|
3041
3041
|
}
|
3042
3042
|
const response = await this.request({
|
3043
|
-
path: `/propertymappings/
|
3043
|
+
path: `/propertymappings/source/ldap/{pm_uuid}/`.replace(`{${"pm_uuid"}}`, encodeURIComponent(String(requestParameters.pmUuid))),
|
3044
3044
|
method: 'GET',
|
3045
3045
|
headers: headerParameters,
|
3046
3046
|
query: queryParameters,
|
3047
3047
|
}, initOverrides);
|
3048
3048
|
|
3049
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
3049
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => LDAPSourcePropertyMappingFromJSON(jsonValue));
|
3050
3050
|
}
|
3051
3051
|
|
3052
3052
|
/**
|
3053
|
-
*
|
3053
|
+
* LDAP PropertyMapping Viewset
|
3054
3054
|
*/
|
3055
|
-
async
|
3056
|
-
const response = await this.
|
3055
|
+
async propertymappingsSourceLdapRetrieve(requestParameters: PropertymappingsSourceLdapRetrieveRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<LDAPSourcePropertyMapping> {
|
3056
|
+
const response = await this.propertymappingsSourceLdapRetrieveRaw(requestParameters, initOverrides);
|
3057
3057
|
return await response.value();
|
3058
3058
|
}
|
3059
3059
|
|
3060
3060
|
/**
|
3061
|
-
*
|
3061
|
+
* LDAP PropertyMapping Viewset
|
3062
3062
|
*/
|
3063
|
-
async
|
3063
|
+
async propertymappingsSourceLdapUpdateRaw(requestParameters: PropertymappingsSourceLdapUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<LDAPSourcePropertyMapping>> {
|
3064
3064
|
if (requestParameters.pmUuid === null || requestParameters.pmUuid === undefined) {
|
3065
|
-
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling
|
3065
|
+
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling propertymappingsSourceLdapUpdate.');
|
3066
3066
|
}
|
3067
3067
|
|
3068
|
-
if (requestParameters.
|
3069
|
-
throw new runtime.RequiredError('
|
3068
|
+
if (requestParameters.lDAPSourcePropertyMappingRequest === null || requestParameters.lDAPSourcePropertyMappingRequest === undefined) {
|
3069
|
+
throw new runtime.RequiredError('lDAPSourcePropertyMappingRequest','Required parameter requestParameters.lDAPSourcePropertyMappingRequest was null or undefined when calling propertymappingsSourceLdapUpdate.');
|
3070
3070
|
}
|
3071
3071
|
|
3072
3072
|
const queryParameters: any = {};
|
@@ -3084,30 +3084,30 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
3084
3084
|
}
|
3085
3085
|
}
|
3086
3086
|
const response = await this.request({
|
3087
|
-
path: `/propertymappings/
|
3087
|
+
path: `/propertymappings/source/ldap/{pm_uuid}/`.replace(`{${"pm_uuid"}}`, encodeURIComponent(String(requestParameters.pmUuid))),
|
3088
3088
|
method: 'PUT',
|
3089
3089
|
headers: headerParameters,
|
3090
3090
|
query: queryParameters,
|
3091
|
-
body:
|
3091
|
+
body: LDAPSourcePropertyMappingRequestToJSON(requestParameters.lDAPSourcePropertyMappingRequest),
|
3092
3092
|
}, initOverrides);
|
3093
3093
|
|
3094
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
3094
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => LDAPSourcePropertyMappingFromJSON(jsonValue));
|
3095
3095
|
}
|
3096
3096
|
|
3097
3097
|
/**
|
3098
|
-
*
|
3098
|
+
* LDAP PropertyMapping Viewset
|
3099
3099
|
*/
|
3100
|
-
async
|
3101
|
-
const response = await this.
|
3100
|
+
async propertymappingsSourceLdapUpdate(requestParameters: PropertymappingsSourceLdapUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<LDAPSourcePropertyMapping> {
|
3101
|
+
const response = await this.propertymappingsSourceLdapUpdateRaw(requestParameters, initOverrides);
|
3102
3102
|
return await response.value();
|
3103
3103
|
}
|
3104
3104
|
|
3105
3105
|
/**
|
3106
3106
|
* Get a list of all objects that use this object
|
3107
3107
|
*/
|
3108
|
-
async
|
3108
|
+
async propertymappingsSourceLdapUsedByListRaw(requestParameters: PropertymappingsSourceLdapUsedByListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<UsedBy>>> {
|
3109
3109
|
if (requestParameters.pmUuid === null || requestParameters.pmUuid === undefined) {
|
3110
|
-
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling
|
3110
|
+
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling propertymappingsSourceLdapUsedByList.');
|
3111
3111
|
}
|
3112
3112
|
|
3113
3113
|
const queryParameters: any = {};
|
@@ -3123,7 +3123,7 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
3123
3123
|
}
|
3124
3124
|
}
|
3125
3125
|
const response = await this.request({
|
3126
|
-
path: `/propertymappings/
|
3126
|
+
path: `/propertymappings/source/ldap/{pm_uuid}/used_by/`.replace(`{${"pm_uuid"}}`, encodeURIComponent(String(requestParameters.pmUuid))),
|
3127
3127
|
method: 'GET',
|
3128
3128
|
headers: headerParameters,
|
3129
3129
|
query: queryParameters,
|
@@ -3135,8 +3135,8 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
3135
3135
|
/**
|
3136
3136
|
* Get a list of all objects that use this object
|
3137
3137
|
*/
|
3138
|
-
async
|
3139
|
-
const response = await this.
|
3138
|
+
async propertymappingsSourceLdapUsedByList(requestParameters: PropertymappingsSourceLdapUsedByListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<UsedBy>> {
|
3139
|
+
const response = await this.propertymappingsSourceLdapUsedByListRaw(requestParameters, initOverrides);
|
3140
3140
|
return await response.value();
|
3141
3141
|
}
|
3142
3142
|
|