@equisoft/account-service-sdk-typescript 10.3.1-snapshot.20251117131742 → 10.3.1-snapshot.20251118235058
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 -1
- package/dist/apis/OrganizationApi.d.ts +14 -5
- package/dist/apis/OrganizationApi.js +28 -2
- package/dist/esm/apis/OrganizationApi.d.ts +14 -5
- package/dist/esm/apis/OrganizationApi.js +29 -3
- package/dist/esm/models/OrganizationRoles.d.ts +33 -0
- package/dist/esm/models/OrganizationRoles.js +44 -0
- package/dist/esm/models/Role.d.ts +12 -0
- package/dist/esm/models/Role.js +8 -0
- package/dist/esm/models/index.d.ts +1 -1
- package/dist/esm/models/index.js +1 -1
- package/dist/models/OrganizationRoles.d.ts +33 -0
- package/dist/models/OrganizationRoles.js +51 -0
- package/dist/models/Role.d.ts +12 -0
- package/dist/models/Role.js +8 -0
- package/dist/models/index.d.ts +1 -1
- package/dist/models/index.js +1 -1
- package/package.json +1 -1
- package/src/apis/OrganizationApi.ts +47 -9
- package/src/models/OrganizationRoles.ts +74 -0
- package/src/models/Role.ts +18 -0
- package/src/models/index.ts +1 -1
- package/dist/esm/models/RoleCreated.d.ts +0 -51
- package/dist/esm/models/RoleCreated.js +0 -56
- package/dist/models/RoleCreated.d.ts +0 -51
- package/dist/models/RoleCreated.js +0 -63
- package/src/models/RoleCreated.ts +0 -101
package/.openapi-generator/FILES
CHANGED
|
@@ -49,6 +49,7 @@ src/models/OrganizationRoleAttributionPermission.ts
|
|
|
49
49
|
src/models/OrganizationRoleAttributionRole.ts
|
|
50
50
|
src/models/OrganizationRoleAttributionUser.ts
|
|
51
51
|
src/models/OrganizationRoleAttributions.ts
|
|
52
|
+
src/models/OrganizationRoles.ts
|
|
52
53
|
src/models/OrganizationServiceProfile.ts
|
|
53
54
|
src/models/OrganizationServicesElement.ts
|
|
54
55
|
src/models/OrganizationSsoProvider.ts
|
|
@@ -59,7 +60,6 @@ src/models/PermissionCreated.ts
|
|
|
59
60
|
src/models/PermissionList.ts
|
|
60
61
|
src/models/PermissionResourceType.ts
|
|
61
62
|
src/models/Role.ts
|
|
62
|
-
src/models/RoleCreated.ts
|
|
63
63
|
src/models/RolesOnOrganization.ts
|
|
64
64
|
src/models/SearchSessionResult.ts
|
|
65
65
|
src/models/SearchSessionResults.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,
|
|
13
|
+
import type { CreateOrUpdateOrganizationPayload, CreateOrganizationPayload, CreateOrganizationUserServiceOptionPayload, CreateOrganizationUserServicePayload, CreateRole, ListUserOrganizations, Organization, OrganizationApplicableServiceProfiles, OrganizationCreated, OrganizationRoleAttributions, OrganizationRoles, OrganizationSsoProvider, OrganizationUserServiceAssociation, Role, SetOrganizationServiceOptionPayload, UpdateParentOrganizationPayload, UpsertServicePayload, UserAccountSearchResult } from '../models/index';
|
|
14
14
|
export interface ActivateUserServiceRequest {
|
|
15
15
|
uuid: string;
|
|
16
16
|
userUuid: string;
|
|
@@ -61,6 +61,9 @@ export interface GetApplicableServiceProfilesByServiceCodeRequest {
|
|
|
61
61
|
export interface GetOrganizationRequest {
|
|
62
62
|
uuid: string;
|
|
63
63
|
}
|
|
64
|
+
export interface GetOrganizationRolesRequest {
|
|
65
|
+
uuid: string;
|
|
66
|
+
}
|
|
64
67
|
export interface GetServiceForUserRequest {
|
|
65
68
|
uuid: string;
|
|
66
69
|
userUuid: string;
|
|
@@ -153,11 +156,11 @@ export declare class OrganizationApi extends runtime.BaseAPI {
|
|
|
153
156
|
/**
|
|
154
157
|
* Create or update organization roles for a given uuid
|
|
155
158
|
*/
|
|
156
|
-
createOrUpdateRoleRaw(requestParameters: CreateOrUpdateRoleRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
159
|
+
createOrUpdateRoleRaw(requestParameters: CreateOrUpdateRoleRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Role>>;
|
|
157
160
|
/**
|
|
158
161
|
* Create or update organization roles for a given uuid
|
|
159
162
|
*/
|
|
160
|
-
createOrUpdateRole(requestParameters: CreateOrUpdateRoleRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
163
|
+
createOrUpdateRole(requestParameters: CreateOrUpdateRoleRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Role>;
|
|
161
164
|
/**
|
|
162
165
|
* Creates a new organization
|
|
163
166
|
*/
|
|
@@ -169,11 +172,11 @@ export declare class OrganizationApi extends runtime.BaseAPI {
|
|
|
169
172
|
/**
|
|
170
173
|
* Create organization roles for a given uuid
|
|
171
174
|
*/
|
|
172
|
-
createRoleRaw(requestParameters: CreateRoleRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
175
|
+
createRoleRaw(requestParameters: CreateRoleRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Role>>;
|
|
173
176
|
/**
|
|
174
177
|
* Create organization roles for a given uuid
|
|
175
178
|
*/
|
|
176
|
-
createRole(requestParameters: CreateRoleRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
179
|
+
createRole(requestParameters: CreateRoleRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Role>;
|
|
177
180
|
/**
|
|
178
181
|
* Add a service to a user for an organization
|
|
179
182
|
*/
|
|
@@ -222,6 +225,12 @@ export declare class OrganizationApi extends runtime.BaseAPI {
|
|
|
222
225
|
* Get detailed information about an organization.
|
|
223
226
|
*/
|
|
224
227
|
getOrganization(requestParameters: GetOrganizationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Organization>;
|
|
228
|
+
/**
|
|
229
|
+
*/
|
|
230
|
+
getOrganizationRolesRaw(requestParameters: GetOrganizationRolesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<OrganizationRoles>>;
|
|
231
|
+
/**
|
|
232
|
+
*/
|
|
233
|
+
getOrganizationRoles(requestParameters: GetOrganizationRolesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<OrganizationRoles>;
|
|
225
234
|
/**
|
|
226
235
|
* get organization user service
|
|
227
236
|
*/
|
|
@@ -186,7 +186,7 @@ class OrganizationApi extends runtime.BaseAPI {
|
|
|
186
186
|
query: queryParameters,
|
|
187
187
|
body: (0, index_1.CreateRoleToJSON)(requestParameters['createRole']),
|
|
188
188
|
}, initOverrides);
|
|
189
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.
|
|
189
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.RoleFromJSON)(jsonValue));
|
|
190
190
|
});
|
|
191
191
|
}
|
|
192
192
|
/**
|
|
@@ -265,7 +265,7 @@ class OrganizationApi extends runtime.BaseAPI {
|
|
|
265
265
|
query: queryParameters,
|
|
266
266
|
body: (0, index_1.CreateRoleToJSON)(requestParameters['createRole']),
|
|
267
267
|
}, initOverrides);
|
|
268
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.
|
|
268
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.RoleFromJSON)(jsonValue));
|
|
269
269
|
});
|
|
270
270
|
}
|
|
271
271
|
/**
|
|
@@ -510,6 +510,32 @@ class OrganizationApi extends runtime.BaseAPI {
|
|
|
510
510
|
return yield response.value();
|
|
511
511
|
});
|
|
512
512
|
}
|
|
513
|
+
/**
|
|
514
|
+
*/
|
|
515
|
+
getOrganizationRolesRaw(requestParameters, initOverrides) {
|
|
516
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
517
|
+
if (requestParameters['uuid'] == null) {
|
|
518
|
+
throw new runtime.RequiredError('uuid', 'Required parameter "uuid" was null or undefined when calling getOrganizationRoles().');
|
|
519
|
+
}
|
|
520
|
+
const queryParameters = {};
|
|
521
|
+
const headerParameters = {};
|
|
522
|
+
const response = yield this.request({
|
|
523
|
+
path: `/organizations/{uuid}/roles`.replace(`{${"uuid"}}`, encodeURIComponent(String(requestParameters['uuid']))),
|
|
524
|
+
method: 'GET',
|
|
525
|
+
headers: headerParameters,
|
|
526
|
+
query: queryParameters,
|
|
527
|
+
}, initOverrides);
|
|
528
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.OrganizationRolesFromJSON)(jsonValue));
|
|
529
|
+
});
|
|
530
|
+
}
|
|
531
|
+
/**
|
|
532
|
+
*/
|
|
533
|
+
getOrganizationRoles(requestParameters, initOverrides) {
|
|
534
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
535
|
+
const response = yield this.getOrganizationRolesRaw(requestParameters, initOverrides);
|
|
536
|
+
return yield response.value();
|
|
537
|
+
});
|
|
538
|
+
}
|
|
513
539
|
/**
|
|
514
540
|
* get organization user service
|
|
515
541
|
*/
|
|
@@ -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,
|
|
13
|
+
import type { CreateOrUpdateOrganizationPayload, CreateOrganizationPayload, CreateOrganizationUserServiceOptionPayload, CreateOrganizationUserServicePayload, CreateRole, ListUserOrganizations, Organization, OrganizationApplicableServiceProfiles, OrganizationCreated, OrganizationRoleAttributions, OrganizationRoles, OrganizationSsoProvider, OrganizationUserServiceAssociation, Role, SetOrganizationServiceOptionPayload, UpdateParentOrganizationPayload, UpsertServicePayload, UserAccountSearchResult } from '../models/index';
|
|
14
14
|
export interface ActivateUserServiceRequest {
|
|
15
15
|
uuid: string;
|
|
16
16
|
userUuid: string;
|
|
@@ -61,6 +61,9 @@ export interface GetApplicableServiceProfilesByServiceCodeRequest {
|
|
|
61
61
|
export interface GetOrganizationRequest {
|
|
62
62
|
uuid: string;
|
|
63
63
|
}
|
|
64
|
+
export interface GetOrganizationRolesRequest {
|
|
65
|
+
uuid: string;
|
|
66
|
+
}
|
|
64
67
|
export interface GetServiceForUserRequest {
|
|
65
68
|
uuid: string;
|
|
66
69
|
userUuid: string;
|
|
@@ -153,11 +156,11 @@ export declare class OrganizationApi extends runtime.BaseAPI {
|
|
|
153
156
|
/**
|
|
154
157
|
* Create or update organization roles for a given uuid
|
|
155
158
|
*/
|
|
156
|
-
createOrUpdateRoleRaw(requestParameters: CreateOrUpdateRoleRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
159
|
+
createOrUpdateRoleRaw(requestParameters: CreateOrUpdateRoleRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Role>>;
|
|
157
160
|
/**
|
|
158
161
|
* Create or update organization roles for a given uuid
|
|
159
162
|
*/
|
|
160
|
-
createOrUpdateRole(requestParameters: CreateOrUpdateRoleRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
163
|
+
createOrUpdateRole(requestParameters: CreateOrUpdateRoleRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Role>;
|
|
161
164
|
/**
|
|
162
165
|
* Creates a new organization
|
|
163
166
|
*/
|
|
@@ -169,11 +172,11 @@ export declare class OrganizationApi extends runtime.BaseAPI {
|
|
|
169
172
|
/**
|
|
170
173
|
* Create organization roles for a given uuid
|
|
171
174
|
*/
|
|
172
|
-
createRoleRaw(requestParameters: CreateRoleRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
175
|
+
createRoleRaw(requestParameters: CreateRoleRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Role>>;
|
|
173
176
|
/**
|
|
174
177
|
* Create organization roles for a given uuid
|
|
175
178
|
*/
|
|
176
|
-
createRole(requestParameters: CreateRoleRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
179
|
+
createRole(requestParameters: CreateRoleRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Role>;
|
|
177
180
|
/**
|
|
178
181
|
* Add a service to a user for an organization
|
|
179
182
|
*/
|
|
@@ -222,6 +225,12 @@ export declare class OrganizationApi extends runtime.BaseAPI {
|
|
|
222
225
|
* Get detailed information about an organization.
|
|
223
226
|
*/
|
|
224
227
|
getOrganization(requestParameters: GetOrganizationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Organization>;
|
|
228
|
+
/**
|
|
229
|
+
*/
|
|
230
|
+
getOrganizationRolesRaw(requestParameters: GetOrganizationRolesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<OrganizationRoles>>;
|
|
231
|
+
/**
|
|
232
|
+
*/
|
|
233
|
+
getOrganizationRoles(requestParameters: GetOrganizationRolesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<OrganizationRoles>;
|
|
225
234
|
/**
|
|
226
235
|
* get organization user service
|
|
227
236
|
*/
|
|
@@ -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,
|
|
24
|
+
import { CreateOrUpdateOrganizationPayloadToJSON, CreateOrganizationPayloadToJSON, CreateOrganizationUserServiceOptionPayloadToJSON, CreateOrganizationUserServicePayloadToJSON, CreateRoleToJSON, ListUserOrganizationsFromJSON, OrganizationFromJSON, OrganizationApplicableServiceProfilesFromJSON, OrganizationCreatedFromJSON, OrganizationRoleAttributionsFromJSON, OrganizationRolesFromJSON, OrganizationSsoProviderFromJSON, OrganizationUserServiceAssociationFromJSON, RoleFromJSON, SetOrganizationServiceOptionPayloadToJSON, UpdateParentOrganizationPayloadToJSON, UpsertServicePayloadToJSON, UserAccountSearchResultFromJSON, } from '../models/index';
|
|
25
25
|
/**
|
|
26
26
|
*
|
|
27
27
|
*/
|
|
@@ -183,7 +183,7 @@ export class OrganizationApi extends runtime.BaseAPI {
|
|
|
183
183
|
query: queryParameters,
|
|
184
184
|
body: CreateRoleToJSON(requestParameters['createRole']),
|
|
185
185
|
}, initOverrides);
|
|
186
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
186
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => RoleFromJSON(jsonValue));
|
|
187
187
|
});
|
|
188
188
|
}
|
|
189
189
|
/**
|
|
@@ -262,7 +262,7 @@ export class OrganizationApi extends runtime.BaseAPI {
|
|
|
262
262
|
query: queryParameters,
|
|
263
263
|
body: CreateRoleToJSON(requestParameters['createRole']),
|
|
264
264
|
}, initOverrides);
|
|
265
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
265
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => RoleFromJSON(jsonValue));
|
|
266
266
|
});
|
|
267
267
|
}
|
|
268
268
|
/**
|
|
@@ -507,6 +507,32 @@ export class OrganizationApi extends runtime.BaseAPI {
|
|
|
507
507
|
return yield response.value();
|
|
508
508
|
});
|
|
509
509
|
}
|
|
510
|
+
/**
|
|
511
|
+
*/
|
|
512
|
+
getOrganizationRolesRaw(requestParameters, initOverrides) {
|
|
513
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
514
|
+
if (requestParameters['uuid'] == null) {
|
|
515
|
+
throw new runtime.RequiredError('uuid', 'Required parameter "uuid" was null or undefined when calling getOrganizationRoles().');
|
|
516
|
+
}
|
|
517
|
+
const queryParameters = {};
|
|
518
|
+
const headerParameters = {};
|
|
519
|
+
const response = yield this.request({
|
|
520
|
+
path: `/organizations/{uuid}/roles`.replace(`{${"uuid"}}`, encodeURIComponent(String(requestParameters['uuid']))),
|
|
521
|
+
method: 'GET',
|
|
522
|
+
headers: headerParameters,
|
|
523
|
+
query: queryParameters,
|
|
524
|
+
}, initOverrides);
|
|
525
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => OrganizationRolesFromJSON(jsonValue));
|
|
526
|
+
});
|
|
527
|
+
}
|
|
528
|
+
/**
|
|
529
|
+
*/
|
|
530
|
+
getOrganizationRoles(requestParameters, initOverrides) {
|
|
531
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
532
|
+
const response = yield this.getOrganizationRolesRaw(requestParameters, initOverrides);
|
|
533
|
+
return yield response.value();
|
|
534
|
+
});
|
|
535
|
+
}
|
|
510
536
|
/**
|
|
511
537
|
* get organization user service
|
|
512
538
|
*/
|
|
@@ -0,0 +1,33 @@
|
|
|
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: 10.3.1-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
|
+
import type { Role } from './Role';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface OrganizationRoles
|
|
17
|
+
*/
|
|
18
|
+
export interface OrganizationRoles {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<Role>}
|
|
22
|
+
* @memberof OrganizationRoles
|
|
23
|
+
*/
|
|
24
|
+
roles: Array<Role>;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the OrganizationRoles interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfOrganizationRoles(value: object): value is OrganizationRoles;
|
|
30
|
+
export declare function OrganizationRolesFromJSON(json: any): OrganizationRoles;
|
|
31
|
+
export declare function OrganizationRolesFromJSONTyped(json: any, ignoreDiscriminator: boolean): OrganizationRoles;
|
|
32
|
+
export declare function OrganizationRolesToJSON(json: any): OrganizationRoles;
|
|
33
|
+
export declare function OrganizationRolesToJSONTyped(value?: OrganizationRoles | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,44 @@
|
|
|
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: 10.3.1-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
|
+
import { RoleFromJSON, RoleToJSON, } from './Role';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the OrganizationRoles interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfOrganizationRoles(value) {
|
|
19
|
+
if (!('roles' in value) || value['roles'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
return true;
|
|
22
|
+
}
|
|
23
|
+
export function OrganizationRolesFromJSON(json) {
|
|
24
|
+
return OrganizationRolesFromJSONTyped(json, false);
|
|
25
|
+
}
|
|
26
|
+
export function OrganizationRolesFromJSONTyped(json, ignoreDiscriminator) {
|
|
27
|
+
if (json == null) {
|
|
28
|
+
return json;
|
|
29
|
+
}
|
|
30
|
+
return {
|
|
31
|
+
'roles': (json['roles'].map(RoleFromJSON)),
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
export function OrganizationRolesToJSON(json) {
|
|
35
|
+
return OrganizationRolesToJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
export function OrganizationRolesToJSONTyped(value, ignoreDiscriminator = false) {
|
|
38
|
+
if (value == null) {
|
|
39
|
+
return value;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'roles': (value['roles'].map(RoleToJSON)),
|
|
43
|
+
};
|
|
44
|
+
}
|
|
@@ -28,12 +28,24 @@ export interface Role {
|
|
|
28
28
|
* @memberof Role
|
|
29
29
|
*/
|
|
30
30
|
name: LocalizedString;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof Role
|
|
35
|
+
*/
|
|
36
|
+
organizationUuid: string;
|
|
31
37
|
/**
|
|
32
38
|
*
|
|
33
39
|
* @type {Array<string>}
|
|
34
40
|
* @memberof Role
|
|
35
41
|
*/
|
|
36
42
|
permissions: Array<string>;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {boolean}
|
|
46
|
+
* @memberof Role
|
|
47
|
+
*/
|
|
48
|
+
shared: boolean;
|
|
37
49
|
}
|
|
38
50
|
/**
|
|
39
51
|
* Check if a given object implements the Role interface.
|
package/dist/esm/models/Role.js
CHANGED
|
@@ -20,8 +20,12 @@ export function instanceOfRole(value) {
|
|
|
20
20
|
return false;
|
|
21
21
|
if (!('name' in value) || value['name'] === undefined)
|
|
22
22
|
return false;
|
|
23
|
+
if (!('organizationUuid' in value) || value['organizationUuid'] === undefined)
|
|
24
|
+
return false;
|
|
23
25
|
if (!('permissions' in value) || value['permissions'] === undefined)
|
|
24
26
|
return false;
|
|
27
|
+
if (!('shared' in value) || value['shared'] === undefined)
|
|
28
|
+
return false;
|
|
25
29
|
return true;
|
|
26
30
|
}
|
|
27
31
|
export function RoleFromJSON(json) {
|
|
@@ -34,7 +38,9 @@ export function RoleFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
34
38
|
return {
|
|
35
39
|
'uuid': json['uuid'],
|
|
36
40
|
'name': LocalizedStringFromJSON(json['name']),
|
|
41
|
+
'organizationUuid': json['organizationUuid'],
|
|
37
42
|
'permissions': json['permissions'],
|
|
43
|
+
'shared': json['shared'],
|
|
38
44
|
};
|
|
39
45
|
}
|
|
40
46
|
export function RoleToJSON(json) {
|
|
@@ -47,6 +53,8 @@ export function RoleToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
47
53
|
return {
|
|
48
54
|
'uuid': value['uuid'],
|
|
49
55
|
'name': LocalizedStringToJSON(value['name']),
|
|
56
|
+
'organizationUuid': value['organizationUuid'],
|
|
50
57
|
'permissions': value['permissions'],
|
|
58
|
+
'shared': value['shared'],
|
|
51
59
|
};
|
|
52
60
|
}
|
|
@@ -36,6 +36,7 @@ export * from './OrganizationRoleAttributionPermission';
|
|
|
36
36
|
export * from './OrganizationRoleAttributionRole';
|
|
37
37
|
export * from './OrganizationRoleAttributionUser';
|
|
38
38
|
export * from './OrganizationRoleAttributions';
|
|
39
|
+
export * from './OrganizationRoles';
|
|
39
40
|
export * from './OrganizationServiceProfile';
|
|
40
41
|
export * from './OrganizationServicesElement';
|
|
41
42
|
export * from './OrganizationSsoProvider';
|
|
@@ -46,7 +47,6 @@ export * from './PermissionCreated';
|
|
|
46
47
|
export * from './PermissionList';
|
|
47
48
|
export * from './PermissionResourceType';
|
|
48
49
|
export * from './Role';
|
|
49
|
-
export * from './RoleCreated';
|
|
50
50
|
export * from './RolesOnOrganization';
|
|
51
51
|
export * from './SearchSessionResult';
|
|
52
52
|
export * from './SearchSessionResults';
|
package/dist/esm/models/index.js
CHANGED
|
@@ -38,6 +38,7 @@ export * from './OrganizationRoleAttributionPermission';
|
|
|
38
38
|
export * from './OrganizationRoleAttributionRole';
|
|
39
39
|
export * from './OrganizationRoleAttributionUser';
|
|
40
40
|
export * from './OrganizationRoleAttributions';
|
|
41
|
+
export * from './OrganizationRoles';
|
|
41
42
|
export * from './OrganizationServiceProfile';
|
|
42
43
|
export * from './OrganizationServicesElement';
|
|
43
44
|
export * from './OrganizationSsoProvider';
|
|
@@ -48,7 +49,6 @@ export * from './PermissionCreated';
|
|
|
48
49
|
export * from './PermissionList';
|
|
49
50
|
export * from './PermissionResourceType';
|
|
50
51
|
export * from './Role';
|
|
51
|
-
export * from './RoleCreated';
|
|
52
52
|
export * from './RolesOnOrganization';
|
|
53
53
|
export * from './SearchSessionResult';
|
|
54
54
|
export * from './SearchSessionResults';
|
|
@@ -0,0 +1,33 @@
|
|
|
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: 10.3.1-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
|
+
import type { Role } from './Role';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface OrganizationRoles
|
|
17
|
+
*/
|
|
18
|
+
export interface OrganizationRoles {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<Role>}
|
|
22
|
+
* @memberof OrganizationRoles
|
|
23
|
+
*/
|
|
24
|
+
roles: Array<Role>;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the OrganizationRoles interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfOrganizationRoles(value: object): value is OrganizationRoles;
|
|
30
|
+
export declare function OrganizationRolesFromJSON(json: any): OrganizationRoles;
|
|
31
|
+
export declare function OrganizationRolesFromJSONTyped(json: any, ignoreDiscriminator: boolean): OrganizationRoles;
|
|
32
|
+
export declare function OrganizationRolesToJSON(json: any): OrganizationRoles;
|
|
33
|
+
export declare function OrganizationRolesToJSONTyped(value?: OrganizationRoles | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,51 @@
|
|
|
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: 10.3.1-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.instanceOfOrganizationRoles = instanceOfOrganizationRoles;
|
|
17
|
+
exports.OrganizationRolesFromJSON = OrganizationRolesFromJSON;
|
|
18
|
+
exports.OrganizationRolesFromJSONTyped = OrganizationRolesFromJSONTyped;
|
|
19
|
+
exports.OrganizationRolesToJSON = OrganizationRolesToJSON;
|
|
20
|
+
exports.OrganizationRolesToJSONTyped = OrganizationRolesToJSONTyped;
|
|
21
|
+
const Role_1 = require("./Role");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the OrganizationRoles interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfOrganizationRoles(value) {
|
|
26
|
+
if (!('roles' in value) || value['roles'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
function OrganizationRolesFromJSON(json) {
|
|
31
|
+
return OrganizationRolesFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
function OrganizationRolesFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if (json == null) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'roles': (json['roles'].map(Role_1.RoleFromJSON)),
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function OrganizationRolesToJSON(json) {
|
|
42
|
+
return OrganizationRolesToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function OrganizationRolesToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'roles': (value['roles'].map(Role_1.RoleToJSON)),
|
|
50
|
+
};
|
|
51
|
+
}
|
package/dist/models/Role.d.ts
CHANGED
|
@@ -28,12 +28,24 @@ export interface Role {
|
|
|
28
28
|
* @memberof Role
|
|
29
29
|
*/
|
|
30
30
|
name: LocalizedString;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof Role
|
|
35
|
+
*/
|
|
36
|
+
organizationUuid: string;
|
|
31
37
|
/**
|
|
32
38
|
*
|
|
33
39
|
* @type {Array<string>}
|
|
34
40
|
* @memberof Role
|
|
35
41
|
*/
|
|
36
42
|
permissions: Array<string>;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {boolean}
|
|
46
|
+
* @memberof Role
|
|
47
|
+
*/
|
|
48
|
+
shared: boolean;
|
|
37
49
|
}
|
|
38
50
|
/**
|
|
39
51
|
* Check if a given object implements the Role interface.
|
package/dist/models/Role.js
CHANGED
|
@@ -27,8 +27,12 @@ function instanceOfRole(value) {
|
|
|
27
27
|
return false;
|
|
28
28
|
if (!('name' in value) || value['name'] === undefined)
|
|
29
29
|
return false;
|
|
30
|
+
if (!('organizationUuid' in value) || value['organizationUuid'] === undefined)
|
|
31
|
+
return false;
|
|
30
32
|
if (!('permissions' in value) || value['permissions'] === undefined)
|
|
31
33
|
return false;
|
|
34
|
+
if (!('shared' in value) || value['shared'] === undefined)
|
|
35
|
+
return false;
|
|
32
36
|
return true;
|
|
33
37
|
}
|
|
34
38
|
function RoleFromJSON(json) {
|
|
@@ -41,7 +45,9 @@ function RoleFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
41
45
|
return {
|
|
42
46
|
'uuid': json['uuid'],
|
|
43
47
|
'name': (0, LocalizedString_1.LocalizedStringFromJSON)(json['name']),
|
|
48
|
+
'organizationUuid': json['organizationUuid'],
|
|
44
49
|
'permissions': json['permissions'],
|
|
50
|
+
'shared': json['shared'],
|
|
45
51
|
};
|
|
46
52
|
}
|
|
47
53
|
function RoleToJSON(json) {
|
|
@@ -54,6 +60,8 @@ function RoleToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
54
60
|
return {
|
|
55
61
|
'uuid': value['uuid'],
|
|
56
62
|
'name': (0, LocalizedString_1.LocalizedStringToJSON)(value['name']),
|
|
63
|
+
'organizationUuid': value['organizationUuid'],
|
|
57
64
|
'permissions': value['permissions'],
|
|
65
|
+
'shared': value['shared'],
|
|
58
66
|
};
|
|
59
67
|
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -36,6 +36,7 @@ export * from './OrganizationRoleAttributionPermission';
|
|
|
36
36
|
export * from './OrganizationRoleAttributionRole';
|
|
37
37
|
export * from './OrganizationRoleAttributionUser';
|
|
38
38
|
export * from './OrganizationRoleAttributions';
|
|
39
|
+
export * from './OrganizationRoles';
|
|
39
40
|
export * from './OrganizationServiceProfile';
|
|
40
41
|
export * from './OrganizationServicesElement';
|
|
41
42
|
export * from './OrganizationSsoProvider';
|
|
@@ -46,7 +47,6 @@ export * from './PermissionCreated';
|
|
|
46
47
|
export * from './PermissionList';
|
|
47
48
|
export * from './PermissionResourceType';
|
|
48
49
|
export * from './Role';
|
|
49
|
-
export * from './RoleCreated';
|
|
50
50
|
export * from './RolesOnOrganization';
|
|
51
51
|
export * from './SearchSessionResult';
|
|
52
52
|
export * from './SearchSessionResults';
|
package/dist/models/index.js
CHANGED
|
@@ -54,6 +54,7 @@ __exportStar(require("./OrganizationRoleAttributionPermission"), exports);
|
|
|
54
54
|
__exportStar(require("./OrganizationRoleAttributionRole"), exports);
|
|
55
55
|
__exportStar(require("./OrganizationRoleAttributionUser"), exports);
|
|
56
56
|
__exportStar(require("./OrganizationRoleAttributions"), exports);
|
|
57
|
+
__exportStar(require("./OrganizationRoles"), exports);
|
|
57
58
|
__exportStar(require("./OrganizationServiceProfile"), exports);
|
|
58
59
|
__exportStar(require("./OrganizationServicesElement"), exports);
|
|
59
60
|
__exportStar(require("./OrganizationSsoProvider"), exports);
|
|
@@ -64,7 +65,6 @@ __exportStar(require("./PermissionCreated"), exports);
|
|
|
64
65
|
__exportStar(require("./PermissionList"), exports);
|
|
65
66
|
__exportStar(require("./PermissionResourceType"), exports);
|
|
66
67
|
__exportStar(require("./Role"), exports);
|
|
67
|
-
__exportStar(require("./RoleCreated"), exports);
|
|
68
68
|
__exportStar(require("./RolesOnOrganization"), exports);
|
|
69
69
|
__exportStar(require("./SearchSessionResult"), exports);
|
|
70
70
|
__exportStar(require("./SearchSessionResults"), exports);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@equisoft/account-service-sdk-typescript",
|
|
3
|
-
"version": "10.3.1-snapshot.
|
|
3
|
+
"version": "10.3.1-snapshot.20251118235058",
|
|
4
4
|
"description": "OpenAPI client for @equisoft/account-service-sdk-typescript",
|
|
5
5
|
"author": "OpenAPI-Generator",
|
|
6
6
|
"repository": {
|
|
@@ -26,9 +26,10 @@ import type {
|
|
|
26
26
|
OrganizationApplicableServiceProfiles,
|
|
27
27
|
OrganizationCreated,
|
|
28
28
|
OrganizationRoleAttributions,
|
|
29
|
+
OrganizationRoles,
|
|
29
30
|
OrganizationSsoProvider,
|
|
30
31
|
OrganizationUserServiceAssociation,
|
|
31
|
-
|
|
32
|
+
Role,
|
|
32
33
|
SetOrganizationServiceOptionPayload,
|
|
33
34
|
UpdateParentOrganizationPayload,
|
|
34
35
|
UpsertServicePayload,
|
|
@@ -57,12 +58,14 @@ import {
|
|
|
57
58
|
OrganizationCreatedToJSON,
|
|
58
59
|
OrganizationRoleAttributionsFromJSON,
|
|
59
60
|
OrganizationRoleAttributionsToJSON,
|
|
61
|
+
OrganizationRolesFromJSON,
|
|
62
|
+
OrganizationRolesToJSON,
|
|
60
63
|
OrganizationSsoProviderFromJSON,
|
|
61
64
|
OrganizationSsoProviderToJSON,
|
|
62
65
|
OrganizationUserServiceAssociationFromJSON,
|
|
63
66
|
OrganizationUserServiceAssociationToJSON,
|
|
64
|
-
|
|
65
|
-
|
|
67
|
+
RoleFromJSON,
|
|
68
|
+
RoleToJSON,
|
|
66
69
|
SetOrganizationServiceOptionPayloadFromJSON,
|
|
67
70
|
SetOrganizationServiceOptionPayloadToJSON,
|
|
68
71
|
UpdateParentOrganizationPayloadFromJSON,
|
|
@@ -135,6 +138,10 @@ export interface GetOrganizationRequest {
|
|
|
135
138
|
uuid: string;
|
|
136
139
|
}
|
|
137
140
|
|
|
141
|
+
export interface GetOrganizationRolesRequest {
|
|
142
|
+
uuid: string;
|
|
143
|
+
}
|
|
144
|
+
|
|
138
145
|
export interface GetServiceForUserRequest {
|
|
139
146
|
uuid: string;
|
|
140
147
|
userUuid: string;
|
|
@@ -382,7 +389,7 @@ export class OrganizationApi extends runtime.BaseAPI {
|
|
|
382
389
|
/**
|
|
383
390
|
* Create or update organization roles for a given uuid
|
|
384
391
|
*/
|
|
385
|
-
async createOrUpdateRoleRaw(requestParameters: CreateOrUpdateRoleRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
392
|
+
async createOrUpdateRoleRaw(requestParameters: CreateOrUpdateRoleRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Role>> {
|
|
386
393
|
if (requestParameters['uuid'] == null) {
|
|
387
394
|
throw new runtime.RequiredError(
|
|
388
395
|
'uuid',
|
|
@@ -427,13 +434,13 @@ export class OrganizationApi extends runtime.BaseAPI {
|
|
|
427
434
|
body: CreateRoleToJSON(requestParameters['createRole']),
|
|
428
435
|
}, initOverrides);
|
|
429
436
|
|
|
430
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
437
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => RoleFromJSON(jsonValue));
|
|
431
438
|
}
|
|
432
439
|
|
|
433
440
|
/**
|
|
434
441
|
* Create or update organization roles for a given uuid
|
|
435
442
|
*/
|
|
436
|
-
async createOrUpdateRole(requestParameters: CreateOrUpdateRoleRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
443
|
+
async createOrUpdateRole(requestParameters: CreateOrUpdateRoleRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Role> {
|
|
437
444
|
const response = await this.createOrUpdateRoleRaw(requestParameters, initOverrides);
|
|
438
445
|
return await response.value();
|
|
439
446
|
}
|
|
@@ -486,7 +493,7 @@ export class OrganizationApi extends runtime.BaseAPI {
|
|
|
486
493
|
/**
|
|
487
494
|
* Create organization roles for a given uuid
|
|
488
495
|
*/
|
|
489
|
-
async createRoleRaw(requestParameters: CreateRoleRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
496
|
+
async createRoleRaw(requestParameters: CreateRoleRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Role>> {
|
|
490
497
|
if (requestParameters['uuid'] == null) {
|
|
491
498
|
throw new runtime.RequiredError(
|
|
492
499
|
'uuid',
|
|
@@ -524,13 +531,13 @@ export class OrganizationApi extends runtime.BaseAPI {
|
|
|
524
531
|
body: CreateRoleToJSON(requestParameters['createRole']),
|
|
525
532
|
}, initOverrides);
|
|
526
533
|
|
|
527
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
534
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => RoleFromJSON(jsonValue));
|
|
528
535
|
}
|
|
529
536
|
|
|
530
537
|
/**
|
|
531
538
|
* Create organization roles for a given uuid
|
|
532
539
|
*/
|
|
533
|
-
async createRole(requestParameters: CreateRoleRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
540
|
+
async createRole(requestParameters: CreateRoleRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Role> {
|
|
534
541
|
const response = await this.createRoleRaw(requestParameters, initOverrides);
|
|
535
542
|
return await response.value();
|
|
536
543
|
}
|
|
@@ -829,6 +836,37 @@ export class OrganizationApi extends runtime.BaseAPI {
|
|
|
829
836
|
return await response.value();
|
|
830
837
|
}
|
|
831
838
|
|
|
839
|
+
/**
|
|
840
|
+
*/
|
|
841
|
+
async getOrganizationRolesRaw(requestParameters: GetOrganizationRolesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<OrganizationRoles>> {
|
|
842
|
+
if (requestParameters['uuid'] == null) {
|
|
843
|
+
throw new runtime.RequiredError(
|
|
844
|
+
'uuid',
|
|
845
|
+
'Required parameter "uuid" was null or undefined when calling getOrganizationRoles().'
|
|
846
|
+
);
|
|
847
|
+
}
|
|
848
|
+
|
|
849
|
+
const queryParameters: any = {};
|
|
850
|
+
|
|
851
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
852
|
+
|
|
853
|
+
const response = await this.request({
|
|
854
|
+
path: `/organizations/{uuid}/roles`.replace(`{${"uuid"}}`, encodeURIComponent(String(requestParameters['uuid']))),
|
|
855
|
+
method: 'GET',
|
|
856
|
+
headers: headerParameters,
|
|
857
|
+
query: queryParameters,
|
|
858
|
+
}, initOverrides);
|
|
859
|
+
|
|
860
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => OrganizationRolesFromJSON(jsonValue));
|
|
861
|
+
}
|
|
862
|
+
|
|
863
|
+
/**
|
|
864
|
+
*/
|
|
865
|
+
async getOrganizationRoles(requestParameters: GetOrganizationRolesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<OrganizationRoles> {
|
|
866
|
+
const response = await this.getOrganizationRolesRaw(requestParameters, initOverrides);
|
|
867
|
+
return await response.value();
|
|
868
|
+
}
|
|
869
|
+
|
|
832
870
|
/**
|
|
833
871
|
* get organization user service
|
|
834
872
|
*/
|
|
@@ -0,0 +1,74 @@
|
|
|
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: 10.3.1-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
|
+
import type { Role } from './Role';
|
|
17
|
+
import {
|
|
18
|
+
RoleFromJSON,
|
|
19
|
+
RoleFromJSONTyped,
|
|
20
|
+
RoleToJSON,
|
|
21
|
+
RoleToJSONTyped,
|
|
22
|
+
} from './Role';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface OrganizationRoles
|
|
28
|
+
*/
|
|
29
|
+
export interface OrganizationRoles {
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {Array<Role>}
|
|
33
|
+
* @memberof OrganizationRoles
|
|
34
|
+
*/
|
|
35
|
+
roles: Array<Role>;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the OrganizationRoles interface.
|
|
40
|
+
*/
|
|
41
|
+
export function instanceOfOrganizationRoles(value: object): value is OrganizationRoles {
|
|
42
|
+
if (!('roles' in value) || value['roles'] === undefined) return false;
|
|
43
|
+
return true;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
export function OrganizationRolesFromJSON(json: any): OrganizationRoles {
|
|
47
|
+
return OrganizationRolesFromJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export function OrganizationRolesFromJSONTyped(json: any, ignoreDiscriminator: boolean): OrganizationRoles {
|
|
51
|
+
if (json == null) {
|
|
52
|
+
return json;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
|
|
56
|
+
'roles': ((json['roles'] as Array<any>).map(RoleFromJSON)),
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export function OrganizationRolesToJSON(json: any): OrganizationRoles {
|
|
61
|
+
return OrganizationRolesToJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export function OrganizationRolesToJSONTyped(value?: OrganizationRoles | null, ignoreDiscriminator: boolean = false): any {
|
|
65
|
+
if (value == null) {
|
|
66
|
+
return value;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
return {
|
|
70
|
+
|
|
71
|
+
'roles': ((value['roles'] as Array<any>).map(RoleToJSON)),
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
|
package/src/models/Role.ts
CHANGED
|
@@ -39,12 +39,24 @@ export interface Role {
|
|
|
39
39
|
* @memberof Role
|
|
40
40
|
*/
|
|
41
41
|
name: LocalizedString;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof Role
|
|
46
|
+
*/
|
|
47
|
+
organizationUuid: string;
|
|
42
48
|
/**
|
|
43
49
|
*
|
|
44
50
|
* @type {Array<string>}
|
|
45
51
|
* @memberof Role
|
|
46
52
|
*/
|
|
47
53
|
permissions: Array<string>;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {boolean}
|
|
57
|
+
* @memberof Role
|
|
58
|
+
*/
|
|
59
|
+
shared: boolean;
|
|
48
60
|
}
|
|
49
61
|
|
|
50
62
|
/**
|
|
@@ -53,7 +65,9 @@ export interface Role {
|
|
|
53
65
|
export function instanceOfRole(value: object): value is Role {
|
|
54
66
|
if (!('uuid' in value) || value['uuid'] === undefined) return false;
|
|
55
67
|
if (!('name' in value) || value['name'] === undefined) return false;
|
|
68
|
+
if (!('organizationUuid' in value) || value['organizationUuid'] === undefined) return false;
|
|
56
69
|
if (!('permissions' in value) || value['permissions'] === undefined) return false;
|
|
70
|
+
if (!('shared' in value) || value['shared'] === undefined) return false;
|
|
57
71
|
return true;
|
|
58
72
|
}
|
|
59
73
|
|
|
@@ -69,7 +83,9 @@ export function RoleFromJSONTyped(json: any, ignoreDiscriminator: boolean): Role
|
|
|
69
83
|
|
|
70
84
|
'uuid': json['uuid'],
|
|
71
85
|
'name': LocalizedStringFromJSON(json['name']),
|
|
86
|
+
'organizationUuid': json['organizationUuid'],
|
|
72
87
|
'permissions': json['permissions'],
|
|
88
|
+
'shared': json['shared'],
|
|
73
89
|
};
|
|
74
90
|
}
|
|
75
91
|
|
|
@@ -86,7 +102,9 @@ export function RoleToJSONTyped(value?: Role | null, ignoreDiscriminator: boolea
|
|
|
86
102
|
|
|
87
103
|
'uuid': value['uuid'],
|
|
88
104
|
'name': LocalizedStringToJSON(value['name']),
|
|
105
|
+
'organizationUuid': value['organizationUuid'],
|
|
89
106
|
'permissions': value['permissions'],
|
|
107
|
+
'shared': value['shared'],
|
|
90
108
|
};
|
|
91
109
|
}
|
|
92
110
|
|
package/src/models/index.ts
CHANGED
|
@@ -38,6 +38,7 @@ export * from './OrganizationRoleAttributionPermission';
|
|
|
38
38
|
export * from './OrganizationRoleAttributionRole';
|
|
39
39
|
export * from './OrganizationRoleAttributionUser';
|
|
40
40
|
export * from './OrganizationRoleAttributions';
|
|
41
|
+
export * from './OrganizationRoles';
|
|
41
42
|
export * from './OrganizationServiceProfile';
|
|
42
43
|
export * from './OrganizationServicesElement';
|
|
43
44
|
export * from './OrganizationSsoProvider';
|
|
@@ -48,7 +49,6 @@ export * from './PermissionCreated';
|
|
|
48
49
|
export * from './PermissionList';
|
|
49
50
|
export * from './PermissionResourceType';
|
|
50
51
|
export * from './Role';
|
|
51
|
-
export * from './RoleCreated';
|
|
52
52
|
export * from './RolesOnOrganization';
|
|
53
53
|
export * from './SearchSessionResult';
|
|
54
54
|
export * from './SearchSessionResults';
|
|
@@ -1,51 +0,0 @@
|
|
|
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: 10.3.1-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
|
-
import type { LocalizedString } from './LocalizedString';
|
|
13
|
-
/**
|
|
14
|
-
* created role schema
|
|
15
|
-
* @export
|
|
16
|
-
* @interface RoleCreated
|
|
17
|
-
*/
|
|
18
|
-
export interface RoleCreated {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {string}
|
|
22
|
-
* @memberof RoleCreated
|
|
23
|
-
*/
|
|
24
|
-
uuid: string;
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* @type {LocalizedString}
|
|
28
|
-
* @memberof RoleCreated
|
|
29
|
-
*/
|
|
30
|
-
name: LocalizedString;
|
|
31
|
-
/**
|
|
32
|
-
*
|
|
33
|
-
* @type {Array<string>}
|
|
34
|
-
* @memberof RoleCreated
|
|
35
|
-
*/
|
|
36
|
-
permissions: Array<string>;
|
|
37
|
-
/**
|
|
38
|
-
*
|
|
39
|
-
* @type {boolean}
|
|
40
|
-
* @memberof RoleCreated
|
|
41
|
-
*/
|
|
42
|
-
shared: boolean;
|
|
43
|
-
}
|
|
44
|
-
/**
|
|
45
|
-
* Check if a given object implements the RoleCreated interface.
|
|
46
|
-
*/
|
|
47
|
-
export declare function instanceOfRoleCreated(value: object): value is RoleCreated;
|
|
48
|
-
export declare function RoleCreatedFromJSON(json: any): RoleCreated;
|
|
49
|
-
export declare function RoleCreatedFromJSONTyped(json: any, ignoreDiscriminator: boolean): RoleCreated;
|
|
50
|
-
export declare function RoleCreatedToJSON(json: any): RoleCreated;
|
|
51
|
-
export declare function RoleCreatedToJSONTyped(value?: RoleCreated | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,56 +0,0 @@
|
|
|
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: 10.3.1-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
|
-
import { LocalizedStringFromJSON, LocalizedStringToJSON, } from './LocalizedString';
|
|
15
|
-
/**
|
|
16
|
-
* Check if a given object implements the RoleCreated interface.
|
|
17
|
-
*/
|
|
18
|
-
export function instanceOfRoleCreated(value) {
|
|
19
|
-
if (!('uuid' in value) || value['uuid'] === undefined)
|
|
20
|
-
return false;
|
|
21
|
-
if (!('name' in value) || value['name'] === undefined)
|
|
22
|
-
return false;
|
|
23
|
-
if (!('permissions' in value) || value['permissions'] === undefined)
|
|
24
|
-
return false;
|
|
25
|
-
if (!('shared' in value) || value['shared'] === undefined)
|
|
26
|
-
return false;
|
|
27
|
-
return true;
|
|
28
|
-
}
|
|
29
|
-
export function RoleCreatedFromJSON(json) {
|
|
30
|
-
return RoleCreatedFromJSONTyped(json, false);
|
|
31
|
-
}
|
|
32
|
-
export function RoleCreatedFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
-
if (json == null) {
|
|
34
|
-
return json;
|
|
35
|
-
}
|
|
36
|
-
return {
|
|
37
|
-
'uuid': json['uuid'],
|
|
38
|
-
'name': LocalizedStringFromJSON(json['name']),
|
|
39
|
-
'permissions': json['permissions'],
|
|
40
|
-
'shared': json['shared'],
|
|
41
|
-
};
|
|
42
|
-
}
|
|
43
|
-
export function RoleCreatedToJSON(json) {
|
|
44
|
-
return RoleCreatedToJSONTyped(json, false);
|
|
45
|
-
}
|
|
46
|
-
export function RoleCreatedToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
-
if (value == null) {
|
|
48
|
-
return value;
|
|
49
|
-
}
|
|
50
|
-
return {
|
|
51
|
-
'uuid': value['uuid'],
|
|
52
|
-
'name': LocalizedStringToJSON(value['name']),
|
|
53
|
-
'permissions': value['permissions'],
|
|
54
|
-
'shared': value['shared'],
|
|
55
|
-
};
|
|
56
|
-
}
|
|
@@ -1,51 +0,0 @@
|
|
|
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: 10.3.1-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
|
-
import type { LocalizedString } from './LocalizedString';
|
|
13
|
-
/**
|
|
14
|
-
* created role schema
|
|
15
|
-
* @export
|
|
16
|
-
* @interface RoleCreated
|
|
17
|
-
*/
|
|
18
|
-
export interface RoleCreated {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {string}
|
|
22
|
-
* @memberof RoleCreated
|
|
23
|
-
*/
|
|
24
|
-
uuid: string;
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* @type {LocalizedString}
|
|
28
|
-
* @memberof RoleCreated
|
|
29
|
-
*/
|
|
30
|
-
name: LocalizedString;
|
|
31
|
-
/**
|
|
32
|
-
*
|
|
33
|
-
* @type {Array<string>}
|
|
34
|
-
* @memberof RoleCreated
|
|
35
|
-
*/
|
|
36
|
-
permissions: Array<string>;
|
|
37
|
-
/**
|
|
38
|
-
*
|
|
39
|
-
* @type {boolean}
|
|
40
|
-
* @memberof RoleCreated
|
|
41
|
-
*/
|
|
42
|
-
shared: boolean;
|
|
43
|
-
}
|
|
44
|
-
/**
|
|
45
|
-
* Check if a given object implements the RoleCreated interface.
|
|
46
|
-
*/
|
|
47
|
-
export declare function instanceOfRoleCreated(value: object): value is RoleCreated;
|
|
48
|
-
export declare function RoleCreatedFromJSON(json: any): RoleCreated;
|
|
49
|
-
export declare function RoleCreatedFromJSONTyped(json: any, ignoreDiscriminator: boolean): RoleCreated;
|
|
50
|
-
export declare function RoleCreatedToJSON(json: any): RoleCreated;
|
|
51
|
-
export declare function RoleCreatedToJSONTyped(value?: RoleCreated | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,63 +0,0 @@
|
|
|
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: 10.3.1-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.instanceOfRoleCreated = instanceOfRoleCreated;
|
|
17
|
-
exports.RoleCreatedFromJSON = RoleCreatedFromJSON;
|
|
18
|
-
exports.RoleCreatedFromJSONTyped = RoleCreatedFromJSONTyped;
|
|
19
|
-
exports.RoleCreatedToJSON = RoleCreatedToJSON;
|
|
20
|
-
exports.RoleCreatedToJSONTyped = RoleCreatedToJSONTyped;
|
|
21
|
-
const LocalizedString_1 = require("./LocalizedString");
|
|
22
|
-
/**
|
|
23
|
-
* Check if a given object implements the RoleCreated interface.
|
|
24
|
-
*/
|
|
25
|
-
function instanceOfRoleCreated(value) {
|
|
26
|
-
if (!('uuid' in value) || value['uuid'] === undefined)
|
|
27
|
-
return false;
|
|
28
|
-
if (!('name' in value) || value['name'] === undefined)
|
|
29
|
-
return false;
|
|
30
|
-
if (!('permissions' in value) || value['permissions'] === undefined)
|
|
31
|
-
return false;
|
|
32
|
-
if (!('shared' in value) || value['shared'] === undefined)
|
|
33
|
-
return false;
|
|
34
|
-
return true;
|
|
35
|
-
}
|
|
36
|
-
function RoleCreatedFromJSON(json) {
|
|
37
|
-
return RoleCreatedFromJSONTyped(json, false);
|
|
38
|
-
}
|
|
39
|
-
function RoleCreatedFromJSONTyped(json, ignoreDiscriminator) {
|
|
40
|
-
if (json == null) {
|
|
41
|
-
return json;
|
|
42
|
-
}
|
|
43
|
-
return {
|
|
44
|
-
'uuid': json['uuid'],
|
|
45
|
-
'name': (0, LocalizedString_1.LocalizedStringFromJSON)(json['name']),
|
|
46
|
-
'permissions': json['permissions'],
|
|
47
|
-
'shared': json['shared'],
|
|
48
|
-
};
|
|
49
|
-
}
|
|
50
|
-
function RoleCreatedToJSON(json) {
|
|
51
|
-
return RoleCreatedToJSONTyped(json, false);
|
|
52
|
-
}
|
|
53
|
-
function RoleCreatedToJSONTyped(value, ignoreDiscriminator = false) {
|
|
54
|
-
if (value == null) {
|
|
55
|
-
return value;
|
|
56
|
-
}
|
|
57
|
-
return {
|
|
58
|
-
'uuid': value['uuid'],
|
|
59
|
-
'name': (0, LocalizedString_1.LocalizedStringToJSON)(value['name']),
|
|
60
|
-
'permissions': value['permissions'],
|
|
61
|
-
'shared': value['shared'],
|
|
62
|
-
};
|
|
63
|
-
}
|
|
@@ -1,101 +0,0 @@
|
|
|
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: 10.3.1-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
|
-
import type { LocalizedString } from './LocalizedString';
|
|
17
|
-
import {
|
|
18
|
-
LocalizedStringFromJSON,
|
|
19
|
-
LocalizedStringFromJSONTyped,
|
|
20
|
-
LocalizedStringToJSON,
|
|
21
|
-
LocalizedStringToJSONTyped,
|
|
22
|
-
} from './LocalizedString';
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* created role schema
|
|
26
|
-
* @export
|
|
27
|
-
* @interface RoleCreated
|
|
28
|
-
*/
|
|
29
|
-
export interface RoleCreated {
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof RoleCreated
|
|
34
|
-
*/
|
|
35
|
-
uuid: string;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {LocalizedString}
|
|
39
|
-
* @memberof RoleCreated
|
|
40
|
-
*/
|
|
41
|
-
name: LocalizedString;
|
|
42
|
-
/**
|
|
43
|
-
*
|
|
44
|
-
* @type {Array<string>}
|
|
45
|
-
* @memberof RoleCreated
|
|
46
|
-
*/
|
|
47
|
-
permissions: Array<string>;
|
|
48
|
-
/**
|
|
49
|
-
*
|
|
50
|
-
* @type {boolean}
|
|
51
|
-
* @memberof RoleCreated
|
|
52
|
-
*/
|
|
53
|
-
shared: boolean;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
/**
|
|
57
|
-
* Check if a given object implements the RoleCreated interface.
|
|
58
|
-
*/
|
|
59
|
-
export function instanceOfRoleCreated(value: object): value is RoleCreated {
|
|
60
|
-
if (!('uuid' in value) || value['uuid'] === undefined) return false;
|
|
61
|
-
if (!('name' in value) || value['name'] === undefined) return false;
|
|
62
|
-
if (!('permissions' in value) || value['permissions'] === undefined) return false;
|
|
63
|
-
if (!('shared' in value) || value['shared'] === undefined) return false;
|
|
64
|
-
return true;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
export function RoleCreatedFromJSON(json: any): RoleCreated {
|
|
68
|
-
return RoleCreatedFromJSONTyped(json, false);
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
export function RoleCreatedFromJSONTyped(json: any, ignoreDiscriminator: boolean): RoleCreated {
|
|
72
|
-
if (json == null) {
|
|
73
|
-
return json;
|
|
74
|
-
}
|
|
75
|
-
return {
|
|
76
|
-
|
|
77
|
-
'uuid': json['uuid'],
|
|
78
|
-
'name': LocalizedStringFromJSON(json['name']),
|
|
79
|
-
'permissions': json['permissions'],
|
|
80
|
-
'shared': json['shared'],
|
|
81
|
-
};
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
export function RoleCreatedToJSON(json: any): RoleCreated {
|
|
85
|
-
return RoleCreatedToJSONTyped(json, false);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
export function RoleCreatedToJSONTyped(value?: RoleCreated | null, ignoreDiscriminator: boolean = false): any {
|
|
89
|
-
if (value == null) {
|
|
90
|
-
return value;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
return {
|
|
94
|
-
|
|
95
|
-
'uuid': value['uuid'],
|
|
96
|
-
'name': LocalizedStringToJSON(value['name']),
|
|
97
|
-
'permissions': value['permissions'],
|
|
98
|
-
'shared': value['shared'],
|
|
99
|
-
};
|
|
100
|
-
}
|
|
101
|
-
|