@equisoft/account-service-sdk-typescript 8.3.1-snapshot.20250307162727 → 8.3.1-snapshot.20250314125217
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +1 -0
- package/dist/apis/OrganizationApi.d.ts +28 -1
- package/dist/apis/OrganizationApi.js +87 -0
- package/dist/esm/apis/OrganizationApi.d.ts +28 -1
- package/dist/esm/apis/OrganizationApi.js +88 -1
- package/dist/esm/models/OrganizationServicesElement.d.ts +8 -0
- package/dist/esm/models/OrganizationServicesElement.js +2 -0
- package/dist/esm/models/Session.d.ts +8 -0
- package/dist/esm/models/Session.js +2 -0
- package/dist/esm/models/SessionPayload.d.ts +8 -0
- package/dist/esm/models/SessionPayload.js +2 -0
- package/dist/esm/models/SetOrganizationServiceOptionPayload.d.ts +31 -0
- package/dist/esm/models/SetOrganizationServiceOptionPayload.js +38 -0
- package/dist/esm/models/UpsertServicePayload.d.ts +8 -0
- package/dist/esm/models/UpsertServicePayload.js +2 -0
- package/dist/esm/models/index.d.ts +1 -0
- package/dist/esm/models/index.js +1 -0
- package/dist/models/OrganizationServicesElement.d.ts +8 -0
- package/dist/models/OrganizationServicesElement.js +2 -0
- package/dist/models/Session.d.ts +8 -0
- package/dist/models/Session.js +2 -0
- package/dist/models/SessionPayload.d.ts +8 -0
- package/dist/models/SessionPayload.js +2 -0
- package/dist/models/SetOrganizationServiceOptionPayload.d.ts +31 -0
- package/dist/models/SetOrganizationServiceOptionPayload.js +44 -0
- package/dist/models/UpsertServicePayload.d.ts +8 -0
- package/dist/models/UpsertServicePayload.js +2 -0
- package/dist/models/index.d.ts +1 -0
- package/dist/models/index.js +1 -0
- package/package.json +1 -1
- package/src/apis/OrganizationApi.ts +136 -0
- package/src/models/OrganizationServicesElement.ts +8 -0
- package/src/models/Session.ts +8 -0
- package/src/models/SessionPayload.ts +8 -0
- package/src/models/SetOrganizationServiceOptionPayload.ts +60 -0
- package/src/models/UpsertServicePayload.ts +8 -0
- package/src/models/index.ts +1 -0
package/.openapi-generator/FILES
CHANGED
|
@@ -67,6 +67,7 @@ src/models/Session.ts
|
|
|
67
67
|
src/models/SessionPayload.ts
|
|
68
68
|
src/models/SessionPolicy.ts
|
|
69
69
|
src/models/SessionState.ts
|
|
70
|
+
src/models/SetOrganizationServiceOptionPayload.ts
|
|
70
71
|
src/models/SetPasswordByConfirmationHashPayload.ts
|
|
71
72
|
src/models/SetUserAccountPasswordPayload.ts
|
|
72
73
|
src/models/SsoProvider.ts
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type { CreateOrUpdateOrganizationPayload, CreateOrganizationPayload, CreateOrganizationUserServiceOptionPayload, CreateOrganizationUserServicePayload, CreateRole, ListUserOrganizations, Organization, OrganizationApplicableServiceProfiles, OrganizationCreated, OrganizationRoleAttributions, OrganizationSsoProvider, OrganizationUserServiceAssociation, RoleCreated, UpdateParentOrganizationPayload, UpsertServicePayload, UserAccountSearchResult } from '../models/index';
|
|
13
|
+
import type { CreateOrUpdateOrganizationPayload, CreateOrganizationPayload, CreateOrganizationUserServiceOptionPayload, CreateOrganizationUserServicePayload, CreateRole, ListUserOrganizations, Organization, OrganizationApplicableServiceProfiles, OrganizationCreated, OrganizationRoleAttributions, OrganizationSsoProvider, OrganizationUserServiceAssociation, RoleCreated, SetOrganizationServiceOptionPayload, UpdateParentOrganizationPayload, UpsertServicePayload, UserAccountSearchResult } from '../models/index';
|
|
14
14
|
export interface ActivateUserServiceRequest {
|
|
15
15
|
uuid: string;
|
|
16
16
|
userUuid: string;
|
|
@@ -85,6 +85,11 @@ export interface ListOrganizationSsoProvidersRequest {
|
|
|
85
85
|
export interface ListOrganizationUsersRequest {
|
|
86
86
|
uuid: string;
|
|
87
87
|
}
|
|
88
|
+
export interface RemoveOrganizationServiceOptionRequest {
|
|
89
|
+
uuid: string;
|
|
90
|
+
serviceCode: string;
|
|
91
|
+
optionName: string;
|
|
92
|
+
}
|
|
88
93
|
export interface RemoveServiceRequest {
|
|
89
94
|
uuid: string;
|
|
90
95
|
serviceCode: string;
|
|
@@ -100,6 +105,12 @@ export interface RemoveUserServiceOptionRequest {
|
|
|
100
105
|
serviceCode: string;
|
|
101
106
|
optionName: string;
|
|
102
107
|
}
|
|
108
|
+
export interface SetOrganizationServiceOptionRequest {
|
|
109
|
+
uuid: string;
|
|
110
|
+
serviceCode: string;
|
|
111
|
+
optionName: string;
|
|
112
|
+
setOrganizationServiceOptionPayload: SetOrganizationServiceOptionPayload;
|
|
113
|
+
}
|
|
103
114
|
export interface SetUserServiceOptionRequest {
|
|
104
115
|
uuid: string;
|
|
105
116
|
userUuid: string;
|
|
@@ -259,6 +270,14 @@ export declare class OrganizationApi extends runtime.BaseAPI {
|
|
|
259
270
|
* List users with service associated to an organization
|
|
260
271
|
*/
|
|
261
272
|
listOrganizationUsers(requestParameters: ListOrganizationUsersRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<UserAccountSearchResult>>;
|
|
273
|
+
/**
|
|
274
|
+
* Remove a service\'s option for an organization
|
|
275
|
+
*/
|
|
276
|
+
removeOrganizationServiceOptionRaw(requestParameters: RemoveOrganizationServiceOptionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
277
|
+
/**
|
|
278
|
+
* Remove a service\'s option for an organization
|
|
279
|
+
*/
|
|
280
|
+
removeOrganizationServiceOption(requestParameters: RemoveOrganizationServiceOptionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
262
281
|
/**
|
|
263
282
|
* Remove a service for an organization
|
|
264
283
|
*/
|
|
@@ -283,6 +302,14 @@ export declare class OrganizationApi extends runtime.BaseAPI {
|
|
|
283
302
|
* Remove a service\'s option a user for an organization
|
|
284
303
|
*/
|
|
285
304
|
removeUserServiceOption(requestParameters: RemoveUserServiceOptionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
305
|
+
/**
|
|
306
|
+
* Add a service\'s option to an organization
|
|
307
|
+
*/
|
|
308
|
+
setOrganizationServiceOptionRaw(requestParameters: SetOrganizationServiceOptionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
309
|
+
/**
|
|
310
|
+
* Add a service\'s option to an organization
|
|
311
|
+
*/
|
|
312
|
+
setOrganizationServiceOption(requestParameters: SetOrganizationServiceOptionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
286
313
|
/**
|
|
287
314
|
* Add a service\'s option to a user for an organization
|
|
288
315
|
*/
|
|
@@ -747,6 +747,47 @@ class OrganizationApi extends runtime.BaseAPI {
|
|
|
747
747
|
return yield response.value();
|
|
748
748
|
});
|
|
749
749
|
}
|
|
750
|
+
/**
|
|
751
|
+
* Remove a service\'s option for an organization
|
|
752
|
+
*/
|
|
753
|
+
removeOrganizationServiceOptionRaw(requestParameters, initOverrides) {
|
|
754
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
755
|
+
if (requestParameters['uuid'] == null) {
|
|
756
|
+
throw new runtime.RequiredError('uuid', 'Required parameter "uuid" was null or undefined when calling removeOrganizationServiceOption().');
|
|
757
|
+
}
|
|
758
|
+
if (requestParameters['serviceCode'] == null) {
|
|
759
|
+
throw new runtime.RequiredError('serviceCode', 'Required parameter "serviceCode" was null or undefined when calling removeOrganizationServiceOption().');
|
|
760
|
+
}
|
|
761
|
+
if (requestParameters['optionName'] == null) {
|
|
762
|
+
throw new runtime.RequiredError('optionName', 'Required parameter "optionName" was null or undefined when calling removeOrganizationServiceOption().');
|
|
763
|
+
}
|
|
764
|
+
const queryParameters = {};
|
|
765
|
+
const headerParameters = {};
|
|
766
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
767
|
+
// oauth required
|
|
768
|
+
const token = this.configuration.accessToken;
|
|
769
|
+
const tokenString = yield token("OAuth2", ["account:organization", "account:service"]);
|
|
770
|
+
if (tokenString) {
|
|
771
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
772
|
+
}
|
|
773
|
+
}
|
|
774
|
+
const response = yield this.request({
|
|
775
|
+
path: `/organizations/{uuid}/services/{serviceCode}/options/{optionName}`.replace(`{${"uuid"}}`, encodeURIComponent(String(requestParameters['uuid']))).replace(`{${"serviceCode"}}`, encodeURIComponent(String(requestParameters['serviceCode']))).replace(`{${"optionName"}}`, encodeURIComponent(String(requestParameters['optionName']))),
|
|
776
|
+
method: 'DELETE',
|
|
777
|
+
headers: headerParameters,
|
|
778
|
+
query: queryParameters,
|
|
779
|
+
}, initOverrides);
|
|
780
|
+
return new runtime.VoidApiResponse(response);
|
|
781
|
+
});
|
|
782
|
+
}
|
|
783
|
+
/**
|
|
784
|
+
* Remove a service\'s option for an organization
|
|
785
|
+
*/
|
|
786
|
+
removeOrganizationServiceOption(requestParameters, initOverrides) {
|
|
787
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
788
|
+
yield this.removeOrganizationServiceOptionRaw(requestParameters, initOverrides);
|
|
789
|
+
});
|
|
790
|
+
}
|
|
750
791
|
/**
|
|
751
792
|
* Remove a service for an organization
|
|
752
793
|
*/
|
|
@@ -870,6 +911,52 @@ class OrganizationApi extends runtime.BaseAPI {
|
|
|
870
911
|
yield this.removeUserServiceOptionRaw(requestParameters, initOverrides);
|
|
871
912
|
});
|
|
872
913
|
}
|
|
914
|
+
/**
|
|
915
|
+
* Add a service\'s option to an organization
|
|
916
|
+
*/
|
|
917
|
+
setOrganizationServiceOptionRaw(requestParameters, initOverrides) {
|
|
918
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
919
|
+
if (requestParameters['uuid'] == null) {
|
|
920
|
+
throw new runtime.RequiredError('uuid', 'Required parameter "uuid" was null or undefined when calling setOrganizationServiceOption().');
|
|
921
|
+
}
|
|
922
|
+
if (requestParameters['serviceCode'] == null) {
|
|
923
|
+
throw new runtime.RequiredError('serviceCode', 'Required parameter "serviceCode" was null or undefined when calling setOrganizationServiceOption().');
|
|
924
|
+
}
|
|
925
|
+
if (requestParameters['optionName'] == null) {
|
|
926
|
+
throw new runtime.RequiredError('optionName', 'Required parameter "optionName" was null or undefined when calling setOrganizationServiceOption().');
|
|
927
|
+
}
|
|
928
|
+
if (requestParameters['setOrganizationServiceOptionPayload'] == null) {
|
|
929
|
+
throw new runtime.RequiredError('setOrganizationServiceOptionPayload', 'Required parameter "setOrganizationServiceOptionPayload" was null or undefined when calling setOrganizationServiceOption().');
|
|
930
|
+
}
|
|
931
|
+
const queryParameters = {};
|
|
932
|
+
const headerParameters = {};
|
|
933
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
934
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
935
|
+
// oauth required
|
|
936
|
+
const token = this.configuration.accessToken;
|
|
937
|
+
const tokenString = yield token("OAuth2", ["account:organization", "account:service"]);
|
|
938
|
+
if (tokenString) {
|
|
939
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
940
|
+
}
|
|
941
|
+
}
|
|
942
|
+
const response = yield this.request({
|
|
943
|
+
path: `/organizations/{uuid}/services/{serviceCode}/options/{optionName}`.replace(`{${"uuid"}}`, encodeURIComponent(String(requestParameters['uuid']))).replace(`{${"serviceCode"}}`, encodeURIComponent(String(requestParameters['serviceCode']))).replace(`{${"optionName"}}`, encodeURIComponent(String(requestParameters['optionName']))),
|
|
944
|
+
method: 'PUT',
|
|
945
|
+
headers: headerParameters,
|
|
946
|
+
query: queryParameters,
|
|
947
|
+
body: (0, index_1.SetOrganizationServiceOptionPayloadToJSON)(requestParameters['setOrganizationServiceOptionPayload']),
|
|
948
|
+
}, initOverrides);
|
|
949
|
+
return new runtime.VoidApiResponse(response);
|
|
950
|
+
});
|
|
951
|
+
}
|
|
952
|
+
/**
|
|
953
|
+
* Add a service\'s option to an organization
|
|
954
|
+
*/
|
|
955
|
+
setOrganizationServiceOption(requestParameters, initOverrides) {
|
|
956
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
957
|
+
yield this.setOrganizationServiceOptionRaw(requestParameters, initOverrides);
|
|
958
|
+
});
|
|
959
|
+
}
|
|
873
960
|
/**
|
|
874
961
|
* Add a service\'s option to a user for an organization
|
|
875
962
|
*/
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type { CreateOrUpdateOrganizationPayload, CreateOrganizationPayload, CreateOrganizationUserServiceOptionPayload, CreateOrganizationUserServicePayload, CreateRole, ListUserOrganizations, Organization, OrganizationApplicableServiceProfiles, OrganizationCreated, OrganizationRoleAttributions, OrganizationSsoProvider, OrganizationUserServiceAssociation, RoleCreated, UpdateParentOrganizationPayload, UpsertServicePayload, UserAccountSearchResult } from '../models/index';
|
|
13
|
+
import type { CreateOrUpdateOrganizationPayload, CreateOrganizationPayload, CreateOrganizationUserServiceOptionPayload, CreateOrganizationUserServicePayload, CreateRole, ListUserOrganizations, Organization, OrganizationApplicableServiceProfiles, OrganizationCreated, OrganizationRoleAttributions, OrganizationSsoProvider, OrganizationUserServiceAssociation, RoleCreated, SetOrganizationServiceOptionPayload, UpdateParentOrganizationPayload, UpsertServicePayload, UserAccountSearchResult } from '../models/index';
|
|
14
14
|
export interface ActivateUserServiceRequest {
|
|
15
15
|
uuid: string;
|
|
16
16
|
userUuid: string;
|
|
@@ -85,6 +85,11 @@ export interface ListOrganizationSsoProvidersRequest {
|
|
|
85
85
|
export interface ListOrganizationUsersRequest {
|
|
86
86
|
uuid: string;
|
|
87
87
|
}
|
|
88
|
+
export interface RemoveOrganizationServiceOptionRequest {
|
|
89
|
+
uuid: string;
|
|
90
|
+
serviceCode: string;
|
|
91
|
+
optionName: string;
|
|
92
|
+
}
|
|
88
93
|
export interface RemoveServiceRequest {
|
|
89
94
|
uuid: string;
|
|
90
95
|
serviceCode: string;
|
|
@@ -100,6 +105,12 @@ export interface RemoveUserServiceOptionRequest {
|
|
|
100
105
|
serviceCode: string;
|
|
101
106
|
optionName: string;
|
|
102
107
|
}
|
|
108
|
+
export interface SetOrganizationServiceOptionRequest {
|
|
109
|
+
uuid: string;
|
|
110
|
+
serviceCode: string;
|
|
111
|
+
optionName: string;
|
|
112
|
+
setOrganizationServiceOptionPayload: SetOrganizationServiceOptionPayload;
|
|
113
|
+
}
|
|
103
114
|
export interface SetUserServiceOptionRequest {
|
|
104
115
|
uuid: string;
|
|
105
116
|
userUuid: string;
|
|
@@ -259,6 +270,14 @@ export declare class OrganizationApi extends runtime.BaseAPI {
|
|
|
259
270
|
* List users with service associated to an organization
|
|
260
271
|
*/
|
|
261
272
|
listOrganizationUsers(requestParameters: ListOrganizationUsersRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<UserAccountSearchResult>>;
|
|
273
|
+
/**
|
|
274
|
+
* Remove a service\'s option for an organization
|
|
275
|
+
*/
|
|
276
|
+
removeOrganizationServiceOptionRaw(requestParameters: RemoveOrganizationServiceOptionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
277
|
+
/**
|
|
278
|
+
* Remove a service\'s option for an organization
|
|
279
|
+
*/
|
|
280
|
+
removeOrganizationServiceOption(requestParameters: RemoveOrganizationServiceOptionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
262
281
|
/**
|
|
263
282
|
* Remove a service for an organization
|
|
264
283
|
*/
|
|
@@ -283,6 +302,14 @@ export declare class OrganizationApi extends runtime.BaseAPI {
|
|
|
283
302
|
* Remove a service\'s option a user for an organization
|
|
284
303
|
*/
|
|
285
304
|
removeUserServiceOption(requestParameters: RemoveUserServiceOptionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
305
|
+
/**
|
|
306
|
+
* Add a service\'s option to an organization
|
|
307
|
+
*/
|
|
308
|
+
setOrganizationServiceOptionRaw(requestParameters: SetOrganizationServiceOptionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
309
|
+
/**
|
|
310
|
+
* Add a service\'s option to an organization
|
|
311
|
+
*/
|
|
312
|
+
setOrganizationServiceOption(requestParameters: SetOrganizationServiceOptionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
286
313
|
/**
|
|
287
314
|
* Add a service\'s option to a user for an organization
|
|
288
315
|
*/
|
|
@@ -21,7 +21,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
21
21
|
});
|
|
22
22
|
};
|
|
23
23
|
import * as runtime from '../runtime';
|
|
24
|
-
import { CreateOrUpdateOrganizationPayloadToJSON, CreateOrganizationPayloadToJSON, CreateOrganizationUserServiceOptionPayloadToJSON, CreateOrganizationUserServicePayloadToJSON, CreateRoleToJSON, ListUserOrganizationsFromJSON, OrganizationFromJSON, OrganizationApplicableServiceProfilesFromJSON, OrganizationCreatedFromJSON, OrganizationRoleAttributionsFromJSON, OrganizationSsoProviderFromJSON, OrganizationUserServiceAssociationFromJSON, RoleCreatedFromJSON, UpdateParentOrganizationPayloadToJSON, UpsertServicePayloadToJSON, UserAccountSearchResultFromJSON, } from '../models/index';
|
|
24
|
+
import { CreateOrUpdateOrganizationPayloadToJSON, CreateOrganizationPayloadToJSON, CreateOrganizationUserServiceOptionPayloadToJSON, CreateOrganizationUserServicePayloadToJSON, CreateRoleToJSON, ListUserOrganizationsFromJSON, OrganizationFromJSON, OrganizationApplicableServiceProfilesFromJSON, OrganizationCreatedFromJSON, OrganizationRoleAttributionsFromJSON, OrganizationSsoProviderFromJSON, OrganizationUserServiceAssociationFromJSON, RoleCreatedFromJSON, SetOrganizationServiceOptionPayloadToJSON, UpdateParentOrganizationPayloadToJSON, UpsertServicePayloadToJSON, UserAccountSearchResultFromJSON, } from '../models/index';
|
|
25
25
|
/**
|
|
26
26
|
*
|
|
27
27
|
*/
|
|
@@ -744,6 +744,47 @@ export class OrganizationApi extends runtime.BaseAPI {
|
|
|
744
744
|
return yield response.value();
|
|
745
745
|
});
|
|
746
746
|
}
|
|
747
|
+
/**
|
|
748
|
+
* Remove a service\'s option for an organization
|
|
749
|
+
*/
|
|
750
|
+
removeOrganizationServiceOptionRaw(requestParameters, initOverrides) {
|
|
751
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
752
|
+
if (requestParameters['uuid'] == null) {
|
|
753
|
+
throw new runtime.RequiredError('uuid', 'Required parameter "uuid" was null or undefined when calling removeOrganizationServiceOption().');
|
|
754
|
+
}
|
|
755
|
+
if (requestParameters['serviceCode'] == null) {
|
|
756
|
+
throw new runtime.RequiredError('serviceCode', 'Required parameter "serviceCode" was null or undefined when calling removeOrganizationServiceOption().');
|
|
757
|
+
}
|
|
758
|
+
if (requestParameters['optionName'] == null) {
|
|
759
|
+
throw new runtime.RequiredError('optionName', 'Required parameter "optionName" was null or undefined when calling removeOrganizationServiceOption().');
|
|
760
|
+
}
|
|
761
|
+
const queryParameters = {};
|
|
762
|
+
const headerParameters = {};
|
|
763
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
764
|
+
// oauth required
|
|
765
|
+
const token = this.configuration.accessToken;
|
|
766
|
+
const tokenString = yield token("OAuth2", ["account:organization", "account:service"]);
|
|
767
|
+
if (tokenString) {
|
|
768
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
769
|
+
}
|
|
770
|
+
}
|
|
771
|
+
const response = yield this.request({
|
|
772
|
+
path: `/organizations/{uuid}/services/{serviceCode}/options/{optionName}`.replace(`{${"uuid"}}`, encodeURIComponent(String(requestParameters['uuid']))).replace(`{${"serviceCode"}}`, encodeURIComponent(String(requestParameters['serviceCode']))).replace(`{${"optionName"}}`, encodeURIComponent(String(requestParameters['optionName']))),
|
|
773
|
+
method: 'DELETE',
|
|
774
|
+
headers: headerParameters,
|
|
775
|
+
query: queryParameters,
|
|
776
|
+
}, initOverrides);
|
|
777
|
+
return new runtime.VoidApiResponse(response);
|
|
778
|
+
});
|
|
779
|
+
}
|
|
780
|
+
/**
|
|
781
|
+
* Remove a service\'s option for an organization
|
|
782
|
+
*/
|
|
783
|
+
removeOrganizationServiceOption(requestParameters, initOverrides) {
|
|
784
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
785
|
+
yield this.removeOrganizationServiceOptionRaw(requestParameters, initOverrides);
|
|
786
|
+
});
|
|
787
|
+
}
|
|
747
788
|
/**
|
|
748
789
|
* Remove a service for an organization
|
|
749
790
|
*/
|
|
@@ -867,6 +908,52 @@ export class OrganizationApi extends runtime.BaseAPI {
|
|
|
867
908
|
yield this.removeUserServiceOptionRaw(requestParameters, initOverrides);
|
|
868
909
|
});
|
|
869
910
|
}
|
|
911
|
+
/**
|
|
912
|
+
* Add a service\'s option to an organization
|
|
913
|
+
*/
|
|
914
|
+
setOrganizationServiceOptionRaw(requestParameters, initOverrides) {
|
|
915
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
916
|
+
if (requestParameters['uuid'] == null) {
|
|
917
|
+
throw new runtime.RequiredError('uuid', 'Required parameter "uuid" was null or undefined when calling setOrganizationServiceOption().');
|
|
918
|
+
}
|
|
919
|
+
if (requestParameters['serviceCode'] == null) {
|
|
920
|
+
throw new runtime.RequiredError('serviceCode', 'Required parameter "serviceCode" was null or undefined when calling setOrganizationServiceOption().');
|
|
921
|
+
}
|
|
922
|
+
if (requestParameters['optionName'] == null) {
|
|
923
|
+
throw new runtime.RequiredError('optionName', 'Required parameter "optionName" was null or undefined when calling setOrganizationServiceOption().');
|
|
924
|
+
}
|
|
925
|
+
if (requestParameters['setOrganizationServiceOptionPayload'] == null) {
|
|
926
|
+
throw new runtime.RequiredError('setOrganizationServiceOptionPayload', 'Required parameter "setOrganizationServiceOptionPayload" was null or undefined when calling setOrganizationServiceOption().');
|
|
927
|
+
}
|
|
928
|
+
const queryParameters = {};
|
|
929
|
+
const headerParameters = {};
|
|
930
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
931
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
932
|
+
// oauth required
|
|
933
|
+
const token = this.configuration.accessToken;
|
|
934
|
+
const tokenString = yield token("OAuth2", ["account:organization", "account:service"]);
|
|
935
|
+
if (tokenString) {
|
|
936
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
937
|
+
}
|
|
938
|
+
}
|
|
939
|
+
const response = yield this.request({
|
|
940
|
+
path: `/organizations/{uuid}/services/{serviceCode}/options/{optionName}`.replace(`{${"uuid"}}`, encodeURIComponent(String(requestParameters['uuid']))).replace(`{${"serviceCode"}}`, encodeURIComponent(String(requestParameters['serviceCode']))).replace(`{${"optionName"}}`, encodeURIComponent(String(requestParameters['optionName']))),
|
|
941
|
+
method: 'PUT',
|
|
942
|
+
headers: headerParameters,
|
|
943
|
+
query: queryParameters,
|
|
944
|
+
body: SetOrganizationServiceOptionPayloadToJSON(requestParameters['setOrganizationServiceOptionPayload']),
|
|
945
|
+
}, initOverrides);
|
|
946
|
+
return new runtime.VoidApiResponse(response);
|
|
947
|
+
});
|
|
948
|
+
}
|
|
949
|
+
/**
|
|
950
|
+
* Add a service\'s option to an organization
|
|
951
|
+
*/
|
|
952
|
+
setOrganizationServiceOption(requestParameters, initOverrides) {
|
|
953
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
954
|
+
yield this.setOrganizationServiceOptionRaw(requestParameters, initOverrides);
|
|
955
|
+
});
|
|
956
|
+
}
|
|
870
957
|
/**
|
|
871
958
|
* Add a service\'s option to a user for an organization
|
|
872
959
|
*/
|
|
@@ -27,6 +27,14 @@ export interface OrganizationServicesElement {
|
|
|
27
27
|
* @memberof OrganizationServicesElement
|
|
28
28
|
*/
|
|
29
29
|
externalId?: string | null;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {{ [key: string]: string; }}
|
|
33
|
+
* @memberof OrganizationServicesElement
|
|
34
|
+
*/
|
|
35
|
+
options?: {
|
|
36
|
+
[key: string]: string;
|
|
37
|
+
} | null;
|
|
30
38
|
}
|
|
31
39
|
/**
|
|
32
40
|
* Check if a given object implements the OrganizationServicesElement interface.
|
|
@@ -29,6 +29,7 @@ export function OrganizationServicesElementFromJSONTyped(json, ignoreDiscriminat
|
|
|
29
29
|
return {
|
|
30
30
|
'code': json['code'],
|
|
31
31
|
'externalId': json['externalId'] == null ? undefined : json['externalId'],
|
|
32
|
+
'options': json['options'] == null ? undefined : json['options'],
|
|
32
33
|
};
|
|
33
34
|
}
|
|
34
35
|
export function OrganizationServicesElementToJSON(value) {
|
|
@@ -38,5 +39,6 @@ export function OrganizationServicesElementToJSON(value) {
|
|
|
38
39
|
return {
|
|
39
40
|
'code': value['code'],
|
|
40
41
|
'externalId': value['externalId'],
|
|
42
|
+
'options': value['options'],
|
|
41
43
|
};
|
|
42
44
|
}
|
|
@@ -84,6 +84,14 @@ export interface Session {
|
|
|
84
84
|
* @memberof Session
|
|
85
85
|
*/
|
|
86
86
|
mobile: boolean;
|
|
87
|
+
/**
|
|
88
|
+
* Claims and assertions received from an external source (SSO).
|
|
89
|
+
* @type {{ [key: string]: string; }}
|
|
90
|
+
* @memberof Session
|
|
91
|
+
*/
|
|
92
|
+
externalClaims?: {
|
|
93
|
+
[key: string]: string;
|
|
94
|
+
} | null;
|
|
87
95
|
}
|
|
88
96
|
/**
|
|
89
97
|
* Check if a given object implements the Session interface.
|
|
@@ -55,6 +55,7 @@ export function SessionFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
55
55
|
'sso': json['sso'] == null ? undefined : SsoProviderFromJSON(json['sso']),
|
|
56
56
|
'enabledForEquisoftConnect': json['enabledForEquisoftConnect'],
|
|
57
57
|
'mobile': json['mobile'],
|
|
58
|
+
'externalClaims': json['externalClaims'] == null ? undefined : json['externalClaims'],
|
|
58
59
|
};
|
|
59
60
|
}
|
|
60
61
|
export function SessionToJSON(value) {
|
|
@@ -73,5 +74,6 @@ export function SessionToJSON(value) {
|
|
|
73
74
|
'sso': SsoProviderToJSON(value['sso']),
|
|
74
75
|
'enabledForEquisoftConnect': value['enabledForEquisoftConnect'],
|
|
75
76
|
'mobile': value['mobile'],
|
|
77
|
+
'externalClaims': value['externalClaims'],
|
|
76
78
|
};
|
|
77
79
|
}
|
|
@@ -52,6 +52,14 @@ export interface SessionPayload {
|
|
|
52
52
|
* @memberof SessionPayload
|
|
53
53
|
*/
|
|
54
54
|
cookieDomain?: string | null;
|
|
55
|
+
/**
|
|
56
|
+
* Claims and assertions received from an external source (SSO).
|
|
57
|
+
* @type {{ [key: string]: string; }}
|
|
58
|
+
* @memberof SessionPayload
|
|
59
|
+
*/
|
|
60
|
+
externalClaims?: {
|
|
61
|
+
[key: string]: string;
|
|
62
|
+
} | null;
|
|
55
63
|
}
|
|
56
64
|
/**
|
|
57
65
|
* Check if a given object implements the SessionPayload interface.
|
|
@@ -36,6 +36,7 @@ export function SessionPayloadFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
36
36
|
'publicComputer': json['publicComputer'] == null ? undefined : json['publicComputer'],
|
|
37
37
|
'mobileDevice': json['mobileDevice'] == null ? undefined : json['mobileDevice'],
|
|
38
38
|
'cookieDomain': json['cookieDomain'] == null ? undefined : json['cookieDomain'],
|
|
39
|
+
'externalClaims': json['externalClaims'] == null ? undefined : json['externalClaims'],
|
|
39
40
|
};
|
|
40
41
|
}
|
|
41
42
|
export function SessionPayloadToJSON(value) {
|
|
@@ -49,5 +50,6 @@ export function SessionPayloadToJSON(value) {
|
|
|
49
50
|
'publicComputer': value['publicComputer'],
|
|
50
51
|
'mobileDevice': value['mobileDevice'],
|
|
51
52
|
'cookieDomain': value['cookieDomain'],
|
|
53
|
+
'externalClaims': value['externalClaims'],
|
|
52
54
|
};
|
|
53
55
|
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* User account and session management
|
|
3
|
+
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 8.3.2-SNAPSHOT
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface SetOrganizationServiceOptionPayload
|
|
16
|
+
*/
|
|
17
|
+
export interface SetOrganizationServiceOptionPayload {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SetOrganizationServiceOptionPayload
|
|
22
|
+
*/
|
|
23
|
+
optionValue?: string | null;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the SetOrganizationServiceOptionPayload interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfSetOrganizationServiceOptionPayload(value: object): value is SetOrganizationServiceOptionPayload;
|
|
29
|
+
export declare function SetOrganizationServiceOptionPayloadFromJSON(json: any): SetOrganizationServiceOptionPayload;
|
|
30
|
+
export declare function SetOrganizationServiceOptionPayloadFromJSONTyped(json: any, ignoreDiscriminator: boolean): SetOrganizationServiceOptionPayload;
|
|
31
|
+
export declare function SetOrganizationServiceOptionPayloadToJSON(value?: SetOrganizationServiceOptionPayload | null): any;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* User account and session management
|
|
5
|
+
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 8.3.2-SNAPSHOT
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Check if a given object implements the SetOrganizationServiceOptionPayload interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfSetOrganizationServiceOptionPayload(value) {
|
|
18
|
+
return true;
|
|
19
|
+
}
|
|
20
|
+
export function SetOrganizationServiceOptionPayloadFromJSON(json) {
|
|
21
|
+
return SetOrganizationServiceOptionPayloadFromJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
export function SetOrganizationServiceOptionPayloadFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
+
if (json == null) {
|
|
25
|
+
return json;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'optionValue': json['optionValue'] == null ? undefined : json['optionValue'],
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
export function SetOrganizationServiceOptionPayloadToJSON(value) {
|
|
32
|
+
if (value == null) {
|
|
33
|
+
return value;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'optionValue': value['optionValue'],
|
|
37
|
+
};
|
|
38
|
+
}
|
|
@@ -21,6 +21,14 @@ export interface UpsertServicePayload {
|
|
|
21
21
|
* @memberof UpsertServicePayload
|
|
22
22
|
*/
|
|
23
23
|
externalId?: string | null;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {{ [key: string]: string; }}
|
|
27
|
+
* @memberof UpsertServicePayload
|
|
28
|
+
*/
|
|
29
|
+
options?: {
|
|
30
|
+
[key: string]: string;
|
|
31
|
+
} | null;
|
|
24
32
|
}
|
|
25
33
|
/**
|
|
26
34
|
* Check if a given object implements the UpsertServicePayload interface.
|
|
@@ -26,6 +26,7 @@ export function UpsertServicePayloadFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
26
26
|
}
|
|
27
27
|
return {
|
|
28
28
|
'externalId': json['externalId'] == null ? undefined : json['externalId'],
|
|
29
|
+
'options': json['options'] == null ? undefined : json['options'],
|
|
29
30
|
};
|
|
30
31
|
}
|
|
31
32
|
export function UpsertServicePayloadToJSON(value) {
|
|
@@ -34,5 +35,6 @@ export function UpsertServicePayloadToJSON(value) {
|
|
|
34
35
|
}
|
|
35
36
|
return {
|
|
36
37
|
'externalId': value['externalId'],
|
|
38
|
+
'options': value['options'],
|
|
37
39
|
};
|
|
38
40
|
}
|
|
@@ -54,6 +54,7 @@ export * from './Session';
|
|
|
54
54
|
export * from './SessionPayload';
|
|
55
55
|
export * from './SessionPolicy';
|
|
56
56
|
export * from './SessionState';
|
|
57
|
+
export * from './SetOrganizationServiceOptionPayload';
|
|
57
58
|
export * from './SetPasswordByConfirmationHashPayload';
|
|
58
59
|
export * from './SetUserAccountPasswordPayload';
|
|
59
60
|
export * from './SsoProvider';
|
package/dist/esm/models/index.js
CHANGED
|
@@ -56,6 +56,7 @@ export * from './Session';
|
|
|
56
56
|
export * from './SessionPayload';
|
|
57
57
|
export * from './SessionPolicy';
|
|
58
58
|
export * from './SessionState';
|
|
59
|
+
export * from './SetOrganizationServiceOptionPayload';
|
|
59
60
|
export * from './SetPasswordByConfirmationHashPayload';
|
|
60
61
|
export * from './SetUserAccountPasswordPayload';
|
|
61
62
|
export * from './SsoProvider';
|
|
@@ -27,6 +27,14 @@ export interface OrganizationServicesElement {
|
|
|
27
27
|
* @memberof OrganizationServicesElement
|
|
28
28
|
*/
|
|
29
29
|
externalId?: string | null;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {{ [key: string]: string; }}
|
|
33
|
+
* @memberof OrganizationServicesElement
|
|
34
|
+
*/
|
|
35
|
+
options?: {
|
|
36
|
+
[key: string]: string;
|
|
37
|
+
} | null;
|
|
30
38
|
}
|
|
31
39
|
/**
|
|
32
40
|
* Check if a given object implements the OrganizationServicesElement interface.
|
|
@@ -35,6 +35,7 @@ function OrganizationServicesElementFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
35
35
|
return {
|
|
36
36
|
'code': json['code'],
|
|
37
37
|
'externalId': json['externalId'] == null ? undefined : json['externalId'],
|
|
38
|
+
'options': json['options'] == null ? undefined : json['options'],
|
|
38
39
|
};
|
|
39
40
|
}
|
|
40
41
|
function OrganizationServicesElementToJSON(value) {
|
|
@@ -44,5 +45,6 @@ function OrganizationServicesElementToJSON(value) {
|
|
|
44
45
|
return {
|
|
45
46
|
'code': value['code'],
|
|
46
47
|
'externalId': value['externalId'],
|
|
48
|
+
'options': value['options'],
|
|
47
49
|
};
|
|
48
50
|
}
|
package/dist/models/Session.d.ts
CHANGED
|
@@ -84,6 +84,14 @@ export interface Session {
|
|
|
84
84
|
* @memberof Session
|
|
85
85
|
*/
|
|
86
86
|
mobile: boolean;
|
|
87
|
+
/**
|
|
88
|
+
* Claims and assertions received from an external source (SSO).
|
|
89
|
+
* @type {{ [key: string]: string; }}
|
|
90
|
+
* @memberof Session
|
|
91
|
+
*/
|
|
92
|
+
externalClaims?: {
|
|
93
|
+
[key: string]: string;
|
|
94
|
+
} | null;
|
|
87
95
|
}
|
|
88
96
|
/**
|
|
89
97
|
* Check if a given object implements the Session interface.
|
package/dist/models/Session.js
CHANGED
|
@@ -61,6 +61,7 @@ function SessionFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
61
61
|
'sso': json['sso'] == null ? undefined : (0, SsoProvider_1.SsoProviderFromJSON)(json['sso']),
|
|
62
62
|
'enabledForEquisoftConnect': json['enabledForEquisoftConnect'],
|
|
63
63
|
'mobile': json['mobile'],
|
|
64
|
+
'externalClaims': json['externalClaims'] == null ? undefined : json['externalClaims'],
|
|
64
65
|
};
|
|
65
66
|
}
|
|
66
67
|
function SessionToJSON(value) {
|
|
@@ -79,5 +80,6 @@ function SessionToJSON(value) {
|
|
|
79
80
|
'sso': (0, SsoProvider_1.SsoProviderToJSON)(value['sso']),
|
|
80
81
|
'enabledForEquisoftConnect': value['enabledForEquisoftConnect'],
|
|
81
82
|
'mobile': value['mobile'],
|
|
83
|
+
'externalClaims': value['externalClaims'],
|
|
82
84
|
};
|
|
83
85
|
}
|
|
@@ -52,6 +52,14 @@ export interface SessionPayload {
|
|
|
52
52
|
* @memberof SessionPayload
|
|
53
53
|
*/
|
|
54
54
|
cookieDomain?: string | null;
|
|
55
|
+
/**
|
|
56
|
+
* Claims and assertions received from an external source (SSO).
|
|
57
|
+
* @type {{ [key: string]: string; }}
|
|
58
|
+
* @memberof SessionPayload
|
|
59
|
+
*/
|
|
60
|
+
externalClaims?: {
|
|
61
|
+
[key: string]: string;
|
|
62
|
+
} | null;
|
|
55
63
|
}
|
|
56
64
|
/**
|
|
57
65
|
* Check if a given object implements the SessionPayload interface.
|
|
@@ -42,6 +42,7 @@ function SessionPayloadFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
42
42
|
'publicComputer': json['publicComputer'] == null ? undefined : json['publicComputer'],
|
|
43
43
|
'mobileDevice': json['mobileDevice'] == null ? undefined : json['mobileDevice'],
|
|
44
44
|
'cookieDomain': json['cookieDomain'] == null ? undefined : json['cookieDomain'],
|
|
45
|
+
'externalClaims': json['externalClaims'] == null ? undefined : json['externalClaims'],
|
|
45
46
|
};
|
|
46
47
|
}
|
|
47
48
|
function SessionPayloadToJSON(value) {
|
|
@@ -55,5 +56,6 @@ function SessionPayloadToJSON(value) {
|
|
|
55
56
|
'publicComputer': value['publicComputer'],
|
|
56
57
|
'mobileDevice': value['mobileDevice'],
|
|
57
58
|
'cookieDomain': value['cookieDomain'],
|
|
59
|
+
'externalClaims': value['externalClaims'],
|
|
58
60
|
};
|
|
59
61
|
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* User account and session management
|
|
3
|
+
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 8.3.2-SNAPSHOT
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface SetOrganizationServiceOptionPayload
|
|
16
|
+
*/
|
|
17
|
+
export interface SetOrganizationServiceOptionPayload {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SetOrganizationServiceOptionPayload
|
|
22
|
+
*/
|
|
23
|
+
optionValue?: string | null;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the SetOrganizationServiceOptionPayload interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfSetOrganizationServiceOptionPayload(value: object): value is SetOrganizationServiceOptionPayload;
|
|
29
|
+
export declare function SetOrganizationServiceOptionPayloadFromJSON(json: any): SetOrganizationServiceOptionPayload;
|
|
30
|
+
export declare function SetOrganizationServiceOptionPayloadFromJSONTyped(json: any, ignoreDiscriminator: boolean): SetOrganizationServiceOptionPayload;
|
|
31
|
+
export declare function SetOrganizationServiceOptionPayloadToJSON(value?: SetOrganizationServiceOptionPayload | null): any;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* User account and session management
|
|
6
|
+
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 8.3.2-SNAPSHOT
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfSetOrganizationServiceOptionPayload = instanceOfSetOrganizationServiceOptionPayload;
|
|
17
|
+
exports.SetOrganizationServiceOptionPayloadFromJSON = SetOrganizationServiceOptionPayloadFromJSON;
|
|
18
|
+
exports.SetOrganizationServiceOptionPayloadFromJSONTyped = SetOrganizationServiceOptionPayloadFromJSONTyped;
|
|
19
|
+
exports.SetOrganizationServiceOptionPayloadToJSON = SetOrganizationServiceOptionPayloadToJSON;
|
|
20
|
+
/**
|
|
21
|
+
* Check if a given object implements the SetOrganizationServiceOptionPayload interface.
|
|
22
|
+
*/
|
|
23
|
+
function instanceOfSetOrganizationServiceOptionPayload(value) {
|
|
24
|
+
return true;
|
|
25
|
+
}
|
|
26
|
+
function SetOrganizationServiceOptionPayloadFromJSON(json) {
|
|
27
|
+
return SetOrganizationServiceOptionPayloadFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
function SetOrganizationServiceOptionPayloadFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
|
+
if (json == null) {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
'optionValue': json['optionValue'] == null ? undefined : json['optionValue'],
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
function SetOrganizationServiceOptionPayloadToJSON(value) {
|
|
38
|
+
if (value == null) {
|
|
39
|
+
return value;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'optionValue': value['optionValue'],
|
|
43
|
+
};
|
|
44
|
+
}
|
|
@@ -21,6 +21,14 @@ export interface UpsertServicePayload {
|
|
|
21
21
|
* @memberof UpsertServicePayload
|
|
22
22
|
*/
|
|
23
23
|
externalId?: string | null;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {{ [key: string]: string; }}
|
|
27
|
+
* @memberof UpsertServicePayload
|
|
28
|
+
*/
|
|
29
|
+
options?: {
|
|
30
|
+
[key: string]: string;
|
|
31
|
+
} | null;
|
|
24
32
|
}
|
|
25
33
|
/**
|
|
26
34
|
* Check if a given object implements the UpsertServicePayload interface.
|
|
@@ -32,6 +32,7 @@ function UpsertServicePayloadFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
32
32
|
}
|
|
33
33
|
return {
|
|
34
34
|
'externalId': json['externalId'] == null ? undefined : json['externalId'],
|
|
35
|
+
'options': json['options'] == null ? undefined : json['options'],
|
|
35
36
|
};
|
|
36
37
|
}
|
|
37
38
|
function UpsertServicePayloadToJSON(value) {
|
|
@@ -40,5 +41,6 @@ function UpsertServicePayloadToJSON(value) {
|
|
|
40
41
|
}
|
|
41
42
|
return {
|
|
42
43
|
'externalId': value['externalId'],
|
|
44
|
+
'options': value['options'],
|
|
43
45
|
};
|
|
44
46
|
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -54,6 +54,7 @@ export * from './Session';
|
|
|
54
54
|
export * from './SessionPayload';
|
|
55
55
|
export * from './SessionPolicy';
|
|
56
56
|
export * from './SessionState';
|
|
57
|
+
export * from './SetOrganizationServiceOptionPayload';
|
|
57
58
|
export * from './SetPasswordByConfirmationHashPayload';
|
|
58
59
|
export * from './SetUserAccountPasswordPayload';
|
|
59
60
|
export * from './SsoProvider';
|
package/dist/models/index.js
CHANGED
|
@@ -72,6 +72,7 @@ __exportStar(require("./Session"), exports);
|
|
|
72
72
|
__exportStar(require("./SessionPayload"), exports);
|
|
73
73
|
__exportStar(require("./SessionPolicy"), exports);
|
|
74
74
|
__exportStar(require("./SessionState"), exports);
|
|
75
|
+
__exportStar(require("./SetOrganizationServiceOptionPayload"), exports);
|
|
75
76
|
__exportStar(require("./SetPasswordByConfirmationHashPayload"), exports);
|
|
76
77
|
__exportStar(require("./SetUserAccountPasswordPayload"), exports);
|
|
77
78
|
__exportStar(require("./SsoProvider"), exports);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@equisoft/account-service-sdk-typescript",
|
|
3
|
-
"version": "8.3.1-snapshot.
|
|
3
|
+
"version": "8.3.1-snapshot.20250314125217",
|
|
4
4
|
"description": "OpenAPI client for @equisoft/account-service-sdk-typescript",
|
|
5
5
|
"author": "OpenAPI-Generator",
|
|
6
6
|
"repository": {
|
|
@@ -29,6 +29,7 @@ import type {
|
|
|
29
29
|
OrganizationSsoProvider,
|
|
30
30
|
OrganizationUserServiceAssociation,
|
|
31
31
|
RoleCreated,
|
|
32
|
+
SetOrganizationServiceOptionPayload,
|
|
32
33
|
UpdateParentOrganizationPayload,
|
|
33
34
|
UpsertServicePayload,
|
|
34
35
|
UserAccountSearchResult,
|
|
@@ -62,6 +63,8 @@ import {
|
|
|
62
63
|
OrganizationUserServiceAssociationToJSON,
|
|
63
64
|
RoleCreatedFromJSON,
|
|
64
65
|
RoleCreatedToJSON,
|
|
66
|
+
SetOrganizationServiceOptionPayloadFromJSON,
|
|
67
|
+
SetOrganizationServiceOptionPayloadToJSON,
|
|
65
68
|
UpdateParentOrganizationPayloadFromJSON,
|
|
66
69
|
UpdateParentOrganizationPayloadToJSON,
|
|
67
70
|
UpsertServicePayloadFromJSON,
|
|
@@ -162,6 +165,12 @@ export interface ListOrganizationUsersRequest {
|
|
|
162
165
|
uuid: string;
|
|
163
166
|
}
|
|
164
167
|
|
|
168
|
+
export interface RemoveOrganizationServiceOptionRequest {
|
|
169
|
+
uuid: string;
|
|
170
|
+
serviceCode: string;
|
|
171
|
+
optionName: string;
|
|
172
|
+
}
|
|
173
|
+
|
|
165
174
|
export interface RemoveServiceRequest {
|
|
166
175
|
uuid: string;
|
|
167
176
|
serviceCode: string;
|
|
@@ -180,6 +189,13 @@ export interface RemoveUserServiceOptionRequest {
|
|
|
180
189
|
optionName: string;
|
|
181
190
|
}
|
|
182
191
|
|
|
192
|
+
export interface SetOrganizationServiceOptionRequest {
|
|
193
|
+
uuid: string;
|
|
194
|
+
serviceCode: string;
|
|
195
|
+
optionName: string;
|
|
196
|
+
setOrganizationServiceOptionPayload: SetOrganizationServiceOptionPayload;
|
|
197
|
+
}
|
|
198
|
+
|
|
183
199
|
export interface SetUserServiceOptionRequest {
|
|
184
200
|
uuid: string;
|
|
185
201
|
userUuid: string;
|
|
@@ -1099,6 +1115,61 @@ export class OrganizationApi extends runtime.BaseAPI {
|
|
|
1099
1115
|
return await response.value();
|
|
1100
1116
|
}
|
|
1101
1117
|
|
|
1118
|
+
/**
|
|
1119
|
+
* Remove a service\'s option for an organization
|
|
1120
|
+
*/
|
|
1121
|
+
async removeOrganizationServiceOptionRaw(requestParameters: RemoveOrganizationServiceOptionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
1122
|
+
if (requestParameters['uuid'] == null) {
|
|
1123
|
+
throw new runtime.RequiredError(
|
|
1124
|
+
'uuid',
|
|
1125
|
+
'Required parameter "uuid" was null or undefined when calling removeOrganizationServiceOption().'
|
|
1126
|
+
);
|
|
1127
|
+
}
|
|
1128
|
+
|
|
1129
|
+
if (requestParameters['serviceCode'] == null) {
|
|
1130
|
+
throw new runtime.RequiredError(
|
|
1131
|
+
'serviceCode',
|
|
1132
|
+
'Required parameter "serviceCode" was null or undefined when calling removeOrganizationServiceOption().'
|
|
1133
|
+
);
|
|
1134
|
+
}
|
|
1135
|
+
|
|
1136
|
+
if (requestParameters['optionName'] == null) {
|
|
1137
|
+
throw new runtime.RequiredError(
|
|
1138
|
+
'optionName',
|
|
1139
|
+
'Required parameter "optionName" was null or undefined when calling removeOrganizationServiceOption().'
|
|
1140
|
+
);
|
|
1141
|
+
}
|
|
1142
|
+
|
|
1143
|
+
const queryParameters: any = {};
|
|
1144
|
+
|
|
1145
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
1146
|
+
|
|
1147
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
1148
|
+
// oauth required
|
|
1149
|
+
const token = this.configuration.accessToken;
|
|
1150
|
+
const tokenString = await token("OAuth2", ["account:organization", "account:service"]);
|
|
1151
|
+
if (tokenString) {
|
|
1152
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
1153
|
+
}
|
|
1154
|
+
}
|
|
1155
|
+
|
|
1156
|
+
const response = await this.request({
|
|
1157
|
+
path: `/organizations/{uuid}/services/{serviceCode}/options/{optionName}`.replace(`{${"uuid"}}`, encodeURIComponent(String(requestParameters['uuid']))).replace(`{${"serviceCode"}}`, encodeURIComponent(String(requestParameters['serviceCode']))).replace(`{${"optionName"}}`, encodeURIComponent(String(requestParameters['optionName']))),
|
|
1158
|
+
method: 'DELETE',
|
|
1159
|
+
headers: headerParameters,
|
|
1160
|
+
query: queryParameters,
|
|
1161
|
+
}, initOverrides);
|
|
1162
|
+
|
|
1163
|
+
return new runtime.VoidApiResponse(response);
|
|
1164
|
+
}
|
|
1165
|
+
|
|
1166
|
+
/**
|
|
1167
|
+
* Remove a service\'s option for an organization
|
|
1168
|
+
*/
|
|
1169
|
+
async removeOrganizationServiceOption(requestParameters: RemoveOrganizationServiceOptionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
|
|
1170
|
+
await this.removeOrganizationServiceOptionRaw(requestParameters, initOverrides);
|
|
1171
|
+
}
|
|
1172
|
+
|
|
1102
1173
|
/**
|
|
1103
1174
|
* Remove a service for an organization
|
|
1104
1175
|
*/
|
|
@@ -1264,6 +1335,71 @@ export class OrganizationApi extends runtime.BaseAPI {
|
|
|
1264
1335
|
await this.removeUserServiceOptionRaw(requestParameters, initOverrides);
|
|
1265
1336
|
}
|
|
1266
1337
|
|
|
1338
|
+
/**
|
|
1339
|
+
* Add a service\'s option to an organization
|
|
1340
|
+
*/
|
|
1341
|
+
async setOrganizationServiceOptionRaw(requestParameters: SetOrganizationServiceOptionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
1342
|
+
if (requestParameters['uuid'] == null) {
|
|
1343
|
+
throw new runtime.RequiredError(
|
|
1344
|
+
'uuid',
|
|
1345
|
+
'Required parameter "uuid" was null or undefined when calling setOrganizationServiceOption().'
|
|
1346
|
+
);
|
|
1347
|
+
}
|
|
1348
|
+
|
|
1349
|
+
if (requestParameters['serviceCode'] == null) {
|
|
1350
|
+
throw new runtime.RequiredError(
|
|
1351
|
+
'serviceCode',
|
|
1352
|
+
'Required parameter "serviceCode" was null or undefined when calling setOrganizationServiceOption().'
|
|
1353
|
+
);
|
|
1354
|
+
}
|
|
1355
|
+
|
|
1356
|
+
if (requestParameters['optionName'] == null) {
|
|
1357
|
+
throw new runtime.RequiredError(
|
|
1358
|
+
'optionName',
|
|
1359
|
+
'Required parameter "optionName" was null or undefined when calling setOrganizationServiceOption().'
|
|
1360
|
+
);
|
|
1361
|
+
}
|
|
1362
|
+
|
|
1363
|
+
if (requestParameters['setOrganizationServiceOptionPayload'] == null) {
|
|
1364
|
+
throw new runtime.RequiredError(
|
|
1365
|
+
'setOrganizationServiceOptionPayload',
|
|
1366
|
+
'Required parameter "setOrganizationServiceOptionPayload" was null or undefined when calling setOrganizationServiceOption().'
|
|
1367
|
+
);
|
|
1368
|
+
}
|
|
1369
|
+
|
|
1370
|
+
const queryParameters: any = {};
|
|
1371
|
+
|
|
1372
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
1373
|
+
|
|
1374
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
1375
|
+
|
|
1376
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
1377
|
+
// oauth required
|
|
1378
|
+
const token = this.configuration.accessToken;
|
|
1379
|
+
const tokenString = await token("OAuth2", ["account:organization", "account:service"]);
|
|
1380
|
+
if (tokenString) {
|
|
1381
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
1382
|
+
}
|
|
1383
|
+
}
|
|
1384
|
+
|
|
1385
|
+
const response = await this.request({
|
|
1386
|
+
path: `/organizations/{uuid}/services/{serviceCode}/options/{optionName}`.replace(`{${"uuid"}}`, encodeURIComponent(String(requestParameters['uuid']))).replace(`{${"serviceCode"}}`, encodeURIComponent(String(requestParameters['serviceCode']))).replace(`{${"optionName"}}`, encodeURIComponent(String(requestParameters['optionName']))),
|
|
1387
|
+
method: 'PUT',
|
|
1388
|
+
headers: headerParameters,
|
|
1389
|
+
query: queryParameters,
|
|
1390
|
+
body: SetOrganizationServiceOptionPayloadToJSON(requestParameters['setOrganizationServiceOptionPayload']),
|
|
1391
|
+
}, initOverrides);
|
|
1392
|
+
|
|
1393
|
+
return new runtime.VoidApiResponse(response);
|
|
1394
|
+
}
|
|
1395
|
+
|
|
1396
|
+
/**
|
|
1397
|
+
* Add a service\'s option to an organization
|
|
1398
|
+
*/
|
|
1399
|
+
async setOrganizationServiceOption(requestParameters: SetOrganizationServiceOptionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
|
|
1400
|
+
await this.setOrganizationServiceOptionRaw(requestParameters, initOverrides);
|
|
1401
|
+
}
|
|
1402
|
+
|
|
1267
1403
|
/**
|
|
1268
1404
|
* Add a service\'s option to a user for an organization
|
|
1269
1405
|
*/
|
|
@@ -31,6 +31,12 @@ export interface OrganizationServicesElement {
|
|
|
31
31
|
* @memberof OrganizationServicesElement
|
|
32
32
|
*/
|
|
33
33
|
externalId?: string | null;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {{ [key: string]: string; }}
|
|
37
|
+
* @memberof OrganizationServicesElement
|
|
38
|
+
*/
|
|
39
|
+
options?: { [key: string]: string; } | null;
|
|
34
40
|
}
|
|
35
41
|
|
|
36
42
|
/**
|
|
@@ -53,6 +59,7 @@ export function OrganizationServicesElementFromJSONTyped(json: any, ignoreDiscri
|
|
|
53
59
|
|
|
54
60
|
'code': json['code'],
|
|
55
61
|
'externalId': json['externalId'] == null ? undefined : json['externalId'],
|
|
62
|
+
'options': json['options'] == null ? undefined : json['options'],
|
|
56
63
|
};
|
|
57
64
|
}
|
|
58
65
|
|
|
@@ -64,6 +71,7 @@ export function OrganizationServicesElementToJSON(value?: OrganizationServicesEl
|
|
|
64
71
|
|
|
65
72
|
'code': value['code'],
|
|
66
73
|
'externalId': value['externalId'],
|
|
74
|
+
'options': value['options'],
|
|
67
75
|
};
|
|
68
76
|
}
|
|
69
77
|
|
package/src/models/Session.ts
CHANGED
|
@@ -104,6 +104,12 @@ export interface Session {
|
|
|
104
104
|
* @memberof Session
|
|
105
105
|
*/
|
|
106
106
|
mobile: boolean;
|
|
107
|
+
/**
|
|
108
|
+
* Claims and assertions received from an external source (SSO).
|
|
109
|
+
* @type {{ [key: string]: string; }}
|
|
110
|
+
* @memberof Session
|
|
111
|
+
*/
|
|
112
|
+
externalClaims?: { [key: string]: string; } | null;
|
|
107
113
|
}
|
|
108
114
|
|
|
109
115
|
/**
|
|
@@ -142,6 +148,7 @@ export function SessionFromJSONTyped(json: any, ignoreDiscriminator: boolean): S
|
|
|
142
148
|
'sso': json['sso'] == null ? undefined : SsoProviderFromJSON(json['sso']),
|
|
143
149
|
'enabledForEquisoftConnect': json['enabledForEquisoftConnect'],
|
|
144
150
|
'mobile': json['mobile'],
|
|
151
|
+
'externalClaims': json['externalClaims'] == null ? undefined : json['externalClaims'],
|
|
145
152
|
};
|
|
146
153
|
}
|
|
147
154
|
|
|
@@ -162,6 +169,7 @@ export function SessionToJSON(value?: Session | null): any {
|
|
|
162
169
|
'sso': SsoProviderToJSON(value['sso']),
|
|
163
170
|
'enabledForEquisoftConnect': value['enabledForEquisoftConnect'],
|
|
164
171
|
'mobile': value['mobile'],
|
|
172
|
+
'externalClaims': value['externalClaims'],
|
|
165
173
|
};
|
|
166
174
|
}
|
|
167
175
|
|
|
@@ -62,6 +62,12 @@ export interface SessionPayload {
|
|
|
62
62
|
* @memberof SessionPayload
|
|
63
63
|
*/
|
|
64
64
|
cookieDomain?: string | null;
|
|
65
|
+
/**
|
|
66
|
+
* Claims and assertions received from an external source (SSO).
|
|
67
|
+
* @type {{ [key: string]: string; }}
|
|
68
|
+
* @memberof SessionPayload
|
|
69
|
+
*/
|
|
70
|
+
externalClaims?: { [key: string]: string; } | null;
|
|
65
71
|
}
|
|
66
72
|
|
|
67
73
|
/**
|
|
@@ -89,6 +95,7 @@ export function SessionPayloadFromJSONTyped(json: any, ignoreDiscriminator: bool
|
|
|
89
95
|
'publicComputer': json['publicComputer'] == null ? undefined : json['publicComputer'],
|
|
90
96
|
'mobileDevice': json['mobileDevice'] == null ? undefined : json['mobileDevice'],
|
|
91
97
|
'cookieDomain': json['cookieDomain'] == null ? undefined : json['cookieDomain'],
|
|
98
|
+
'externalClaims': json['externalClaims'] == null ? undefined : json['externalClaims'],
|
|
92
99
|
};
|
|
93
100
|
}
|
|
94
101
|
|
|
@@ -104,6 +111,7 @@ export function SessionPayloadToJSON(value?: SessionPayload | null): any {
|
|
|
104
111
|
'publicComputer': value['publicComputer'],
|
|
105
112
|
'mobileDevice': value['mobileDevice'],
|
|
106
113
|
'cookieDomain': value['cookieDomain'],
|
|
114
|
+
'externalClaims': value['externalClaims'],
|
|
107
115
|
};
|
|
108
116
|
}
|
|
109
117
|
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* User account and session management
|
|
5
|
+
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 8.3.2-SNAPSHOT
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface SetOrganizationServiceOptionPayload
|
|
20
|
+
*/
|
|
21
|
+
export interface SetOrganizationServiceOptionPayload {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof SetOrganizationServiceOptionPayload
|
|
26
|
+
*/
|
|
27
|
+
optionValue?: string | null;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the SetOrganizationServiceOptionPayload interface.
|
|
32
|
+
*/
|
|
33
|
+
export function instanceOfSetOrganizationServiceOptionPayload(value: object): value is SetOrganizationServiceOptionPayload {
|
|
34
|
+
return true;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export function SetOrganizationServiceOptionPayloadFromJSON(json: any): SetOrganizationServiceOptionPayload {
|
|
38
|
+
return SetOrganizationServiceOptionPayloadFromJSONTyped(json, false);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export function SetOrganizationServiceOptionPayloadFromJSONTyped(json: any, ignoreDiscriminator: boolean): SetOrganizationServiceOptionPayload {
|
|
42
|
+
if (json == null) {
|
|
43
|
+
return json;
|
|
44
|
+
}
|
|
45
|
+
return {
|
|
46
|
+
|
|
47
|
+
'optionValue': json['optionValue'] == null ? undefined : json['optionValue'],
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
export function SetOrganizationServiceOptionPayloadToJSON(value?: SetOrganizationServiceOptionPayload | null): any {
|
|
52
|
+
if (value == null) {
|
|
53
|
+
return value;
|
|
54
|
+
}
|
|
55
|
+
return {
|
|
56
|
+
|
|
57
|
+
'optionValue': value['optionValue'],
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
|
|
@@ -25,6 +25,12 @@ export interface UpsertServicePayload {
|
|
|
25
25
|
* @memberof UpsertServicePayload
|
|
26
26
|
*/
|
|
27
27
|
externalId?: string | null;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {{ [key: string]: string; }}
|
|
31
|
+
* @memberof UpsertServicePayload
|
|
32
|
+
*/
|
|
33
|
+
options?: { [key: string]: string; } | null;
|
|
28
34
|
}
|
|
29
35
|
|
|
30
36
|
/**
|
|
@@ -45,6 +51,7 @@ export function UpsertServicePayloadFromJSONTyped(json: any, ignoreDiscriminator
|
|
|
45
51
|
return {
|
|
46
52
|
|
|
47
53
|
'externalId': json['externalId'] == null ? undefined : json['externalId'],
|
|
54
|
+
'options': json['options'] == null ? undefined : json['options'],
|
|
48
55
|
};
|
|
49
56
|
}
|
|
50
57
|
|
|
@@ -55,6 +62,7 @@ export function UpsertServicePayloadToJSON(value?: UpsertServicePayload | null):
|
|
|
55
62
|
return {
|
|
56
63
|
|
|
57
64
|
'externalId': value['externalId'],
|
|
65
|
+
'options': value['options'],
|
|
58
66
|
};
|
|
59
67
|
}
|
|
60
68
|
|
package/src/models/index.ts
CHANGED
|
@@ -56,6 +56,7 @@ export * from './Session';
|
|
|
56
56
|
export * from './SessionPayload';
|
|
57
57
|
export * from './SessionPolicy';
|
|
58
58
|
export * from './SessionState';
|
|
59
|
+
export * from './SetOrganizationServiceOptionPayload';
|
|
59
60
|
export * from './SetPasswordByConfirmationHashPayload';
|
|
60
61
|
export * from './SetUserAccountPasswordPayload';
|
|
61
62
|
export * from './SsoProvider';
|