@equisoft/account-service-sdk-typescript 3.8.0 → 3.9.0
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/.openapi-generator/VERSION +1 -1
- package/README.md +2 -2
- package/dist/apis/OAuthApi.d.ts +5 -5
- package/dist/apis/OAuthApi.js +1 -1
- package/dist/apis/OrganizationApi.d.ts +37 -37
- package/dist/apis/OrganizationApi.js +1 -1
- package/dist/apis/PermissionApi.d.ts +3 -3
- package/dist/apis/PermissionApi.js +1 -1
- package/dist/apis/RoleApi.d.ts +3 -3
- package/dist/apis/RoleApi.js +1 -1
- package/dist/apis/ServiceAccountApi.d.ts +17 -17
- package/dist/apis/ServiceAccountApi.js +2 -2
- package/dist/apis/SessionApi.d.ts +25 -25
- package/dist/apis/SessionApi.js +1 -1
- package/dist/apis/UserApi.d.ts +33 -33
- package/dist/apis/UserApi.js +2 -2
- package/dist/models/ApplyPermissionsPayload.d.ts +2 -2
- package/dist/models/ApplyPermissionsPayload.js +4 -4
- package/dist/models/CreateOrUpdateOAuthClientPayload.d.ts +4 -4
- package/dist/models/CreateOrUpdateOAuthClientPayload.js +4 -4
- package/dist/models/CreateOrUpdateOrganizationPayload.d.ts +2 -2
- package/dist/models/CreateOrUpdateOrganizationPayload.js +4 -4
- package/dist/models/CreateOrUpdatePermissionPayload.d.ts +2 -2
- package/dist/models/CreateOrUpdatePermissionPayload.js +4 -4
- package/dist/models/CreateOrganizationPayload.d.ts +2 -2
- package/dist/models/CreateOrganizationPayload.js +4 -4
- package/dist/models/CreateOrganizationUserServiceOptionPayload.d.ts +1 -1
- package/dist/models/CreateOrganizationUserServiceOptionPayload.js +1 -1
- package/dist/models/CreateOrganizationUserServicePayload.d.ts +1 -1
- package/dist/models/CreateOrganizationUserServicePayload.js +1 -1
- package/dist/models/CreateRole.d.ts +2 -2
- package/dist/models/CreateRole.js +4 -4
- package/dist/models/DatabaseState.d.ts +8 -8
- package/dist/models/DatabaseState.js +7 -9
- package/dist/models/EnableEquisoftConnectPayloadSchema.d.ts +1 -1
- package/dist/models/EnableEquisoftConnectPayloadSchema.js +1 -1
- package/dist/models/ErrorMessage.d.ts +17 -17
- package/dist/models/ErrorMessage.js +16 -18
- package/dist/models/ErrorPayload.d.ts +2 -2
- package/dist/models/ErrorPayload.js +4 -4
- package/dist/models/Id.d.ts +1 -1
- package/dist/models/Id.js +1 -1
- package/dist/models/ImpersonatePayload.d.ts +1 -1
- package/dist/models/ImpersonatePayload.js +1 -1
- package/dist/models/LegacyRoleSchema.d.ts +2 -2
- package/dist/models/LegacyRoleSchema.js +4 -4
- package/dist/models/ListOrganizationElement.d.ts +4 -2
- package/dist/models/ListOrganizationElement.js +10 -8
- package/dist/models/ListUserOrganizations.d.ts +2 -2
- package/dist/models/ListUserOrganizations.js +4 -4
- package/dist/models/LocalizedString.d.ts +1 -1
- package/dist/models/LocalizedString.js +1 -1
- package/dist/models/OAuthClient.d.ts +4 -4
- package/dist/models/OAuthClient.js +4 -4
- package/dist/models/OAuthClientCreated.d.ts +1 -1
- package/dist/models/OAuthClientCreated.js +1 -1
- package/dist/models/OAuthClientPublicKey.d.ts +1 -1
- package/dist/models/OAuthClientPublicKey.js +1 -1
- package/dist/models/Organization.d.ts +4 -2
- package/dist/models/Organization.js +10 -8
- package/dist/models/OrganizationCreated.d.ts +1 -1
- package/dist/models/OrganizationCreated.js +1 -1
- package/dist/models/OrganizationPathElement.d.ts +2 -2
- package/dist/models/OrganizationPathElement.js +4 -4
- package/dist/models/OrganizationRoleAttribution.d.ts +3 -2
- package/dist/models/OrganizationRoleAttribution.js +7 -6
- package/dist/models/OrganizationRoleAttributionPermission.d.ts +2 -2
- package/dist/models/OrganizationRoleAttributionPermission.js +4 -4
- package/dist/models/OrganizationRoleAttributionRole.d.ts +3 -2
- package/dist/models/OrganizationRoleAttributionRole.js +7 -6
- package/dist/models/OrganizationRoleAttributions.d.ts +2 -2
- package/dist/models/OrganizationRoleAttributions.js +4 -4
- package/dist/models/OrganizationServicesElement.d.ts +1 -1
- package/dist/models/OrganizationServicesElement.js +1 -1
- package/dist/models/OrganizationUserServiceAssociation.d.ts +1 -1
- package/dist/models/OrganizationUserServiceAssociation.js +1 -1
- package/dist/models/PermissionCode.d.ts +1 -1
- package/dist/models/PermissionCode.js +1 -1
- package/dist/models/PermissionCreated.d.ts +1 -1
- package/dist/models/PermissionCreated.js +1 -1
- package/dist/models/PermissionList.d.ts +2 -2
- package/dist/models/PermissionList.js +4 -4
- package/dist/models/PermissionResourceType.d.ts +6 -6
- package/dist/models/PermissionResourceType.js +5 -7
- package/dist/models/Role.d.ts +2 -2
- package/dist/models/Role.js +4 -4
- package/dist/models/RoleCreated.d.ts +2 -2
- package/dist/models/RoleCreated.js +4 -4
- package/dist/models/RolesOnOrganization.d.ts +5 -2
- package/dist/models/RolesOnOrganization.js +13 -10
- package/dist/models/ServiceAccess.d.ts +3 -2
- package/dist/models/ServiceAccess.js +7 -6
- package/dist/models/ServiceAccountCreationSchema.d.ts +1 -1
- package/dist/models/ServiceAccountCreationSchema.js +1 -1
- package/dist/models/ServiceAccountSchema.d.ts +2 -2
- package/dist/models/ServiceAccountSchema.js +4 -4
- package/dist/models/ServiceAccountStatus.d.ts +7 -7
- package/dist/models/ServiceAccountStatus.js +6 -8
- package/dist/models/ServiceAccountUpdateSchema.d.ts +1 -1
- package/dist/models/ServiceAccountUpdateSchema.js +1 -1
- package/dist/models/ServiceAccountUuidSchema.d.ts +1 -1
- package/dist/models/ServiceAccountUuidSchema.js +1 -1
- package/dist/models/ServiceName.d.ts +9 -9
- package/dist/models/ServiceName.js +8 -10
- package/dist/models/Session.d.ts +4 -2
- package/dist/models/Session.js +12 -10
- package/dist/models/SessionPayload.d.ts +2 -2
- package/dist/models/SessionPayload.js +4 -4
- package/dist/models/SessionState.d.ts +9 -9
- package/dist/models/SessionState.js +8 -10
- package/dist/models/SsoProvider.d.ts +1 -1
- package/dist/models/SsoProvider.js +1 -1
- package/dist/models/SsoToken.d.ts +1 -1
- package/dist/models/SsoToken.js +1 -1
- package/dist/models/UpdateParentOrganizationPayload.d.ts +1 -1
- package/dist/models/UpdateParentOrganizationPayload.js +1 -1
- package/dist/models/UpdateUserAccountPayload.d.ts +1 -1
- package/dist/models/UpdateUserAccountPayload.js +1 -1
- package/dist/models/UpdateUserAccountSsoPayload.d.ts +1 -1
- package/dist/models/UpdateUserAccountSsoPayload.js +1 -1
- package/dist/models/UpsertServicePayload.d.ts +1 -1
- package/dist/models/UpsertServicePayload.js +1 -1
- package/dist/models/User.d.ts +6 -2
- package/dist/models/User.js +18 -14
- package/dist/models/UserAccountOrganizationRoles.d.ts +3 -2
- package/dist/models/UserAccountOrganizationRoles.js +7 -6
- package/dist/models/UserAccountPermission.d.ts +2 -2
- package/dist/models/UserAccountPermission.js +4 -4
- package/dist/models/UserAccountRole.d.ts +2 -2
- package/dist/models/UserAccountRole.js +4 -4
- package/dist/models/UserAccountRoleAttributions.d.ts +2 -2
- package/dist/models/UserAccountRoleAttributions.js +4 -4
- package/dist/models/UserAccountSearchResult.d.ts +6 -2
- package/dist/models/UserAccountSearchResult.js +18 -14
- package/dist/models/UserAgreement.d.ts +2 -2
- package/dist/models/UserAgreement.js +4 -4
- package/dist/models/UserAgreementState.d.ts +6 -6
- package/dist/models/UserAgreementState.js +5 -7
- package/dist/models/UserPermissions.d.ts +3 -2
- package/dist/models/UserPermissions.js +7 -6
- package/dist/models/UserServiceAssociation.d.ts +1 -1
- package/dist/models/UserServiceAssociation.js +1 -1
- package/dist/models/UserSsoProvider.d.ts +1 -1
- package/dist/models/UserSsoProvider.js +1 -1
- package/dist/models/UserState.d.ts +7 -7
- package/dist/models/UserState.js +6 -8
- package/dist/runtime.d.ts +46 -29
- package/dist/runtime.js +117 -79
- package/package.json +1 -1
- package/src/apis/OAuthApi.ts +5 -5
- package/src/apis/OrganizationApi.ts +37 -37
- package/src/apis/PermissionApi.ts +3 -3
- package/src/apis/RoleApi.ts +3 -3
- package/src/apis/ServiceAccountApi.ts +17 -17
- package/src/apis/SessionApi.ts +25 -25
- package/src/apis/UserApi.ts +33 -33
- package/src/models/ApplyPermissionsPayload.ts +2 -3
- package/src/models/CreateOrUpdateOAuthClientPayload.ts +4 -5
- package/src/models/CreateOrUpdateOrganizationPayload.ts +2 -3
- package/src/models/CreateOrUpdatePermissionPayload.ts +2 -3
- package/src/models/CreateOrganizationPayload.ts +2 -3
- package/src/models/CreateOrganizationUserServiceOptionPayload.ts +1 -2
- package/src/models/CreateOrganizationUserServicePayload.ts +1 -2
- package/src/models/CreateRole.ts +2 -3
- package/src/models/DatabaseState.ts +10 -8
- package/src/models/EnableEquisoftConnectPayloadSchema.ts +1 -2
- package/src/models/ErrorMessage.ts +19 -17
- package/src/models/ErrorPayload.ts +2 -3
- package/src/models/Id.ts +1 -2
- package/src/models/ImpersonatePayload.ts +1 -2
- package/src/models/LegacyRoleSchema.ts +2 -3
- package/src/models/ListOrganizationElement.ts +6 -3
- package/src/models/ListUserOrganizations.ts +2 -3
- package/src/models/LocalizedString.ts +1 -2
- package/src/models/OAuthClient.ts +4 -5
- package/src/models/OAuthClientCreated.ts +1 -2
- package/src/models/OAuthClientPublicKey.ts +1 -2
- package/src/models/Organization.ts +6 -3
- package/src/models/OrganizationCreated.ts +1 -2
- package/src/models/OrganizationPathElement.ts +2 -3
- package/src/models/OrganizationRoleAttribution.ts +4 -3
- package/src/models/OrganizationRoleAttributionPermission.ts +2 -3
- package/src/models/OrganizationRoleAttributionRole.ts +4 -3
- package/src/models/OrganizationRoleAttributions.ts +2 -3
- package/src/models/OrganizationServicesElement.ts +1 -2
- package/src/models/OrganizationUserServiceAssociation.ts +1 -2
- package/src/models/PermissionCode.ts +1 -2
- package/src/models/PermissionCreated.ts +1 -2
- package/src/models/PermissionList.ts +2 -3
- package/src/models/PermissionResourceType.ts +8 -6
- package/src/models/Role.ts +2 -3
- package/src/models/RoleCreated.ts +2 -3
- package/src/models/RolesOnOrganization.ts +8 -3
- package/src/models/ServiceAccess.ts +4 -3
- package/src/models/ServiceAccountCreationSchema.ts +1 -2
- package/src/models/ServiceAccountSchema.ts +2 -3
- package/src/models/ServiceAccountStatus.ts +9 -7
- package/src/models/ServiceAccountUpdateSchema.ts +1 -2
- package/src/models/ServiceAccountUuidSchema.ts +1 -2
- package/src/models/ServiceName.ts +11 -9
- package/src/models/Session.ts +6 -3
- package/src/models/SessionPayload.ts +2 -3
- package/src/models/SessionState.ts +11 -9
- package/src/models/SsoProvider.ts +1 -2
- package/src/models/SsoToken.ts +1 -2
- package/src/models/UpdateParentOrganizationPayload.ts +1 -2
- package/src/models/UpdateUserAccountPayload.ts +1 -2
- package/src/models/UpdateUserAccountSsoPayload.ts +1 -2
- package/src/models/UpsertServicePayload.ts +1 -2
- package/src/models/User.ts +10 -3
- package/src/models/UserAccountOrganizationRoles.ts +4 -3
- package/src/models/UserAccountPermission.ts +2 -3
- package/src/models/UserAccountRole.ts +2 -3
- package/src/models/UserAccountRoleAttributions.ts +2 -3
- package/src/models/UserAccountSearchResult.ts +10 -3
- package/src/models/UserAgreement.ts +2 -3
- package/src/models/UserAgreementState.ts +8 -6
- package/src/models/UserPermissions.ts +4 -3
- package/src/models/UserServiceAssociation.ts +1 -2
- package/src/models/UserSsoProvider.ts +1 -2
- package/src/models/UserState.ts +9 -7
- package/src/runtime.ts +145 -96
- package/tsconfig.esm.json +7 -0
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* User account and session management
|
|
6
6
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 3.
|
|
8
|
+
* The version of the OpenAPI document: 3.9.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.OrganizationPathElementToJSON = exports.OrganizationPathElementFromJSONTyped = exports.OrganizationPathElementFromJSON = void 0;
|
|
17
|
-
const
|
|
17
|
+
const LocalizedString_1 = require("./LocalizedString");
|
|
18
18
|
function OrganizationPathElementFromJSON(json) {
|
|
19
19
|
return OrganizationPathElementFromJSONTyped(json, false);
|
|
20
20
|
}
|
|
@@ -24,7 +24,7 @@ function OrganizationPathElementFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
24
24
|
return json;
|
|
25
25
|
}
|
|
26
26
|
return {
|
|
27
|
-
'name':
|
|
27
|
+
'name': LocalizedString_1.LocalizedStringFromJSON(json['name']),
|
|
28
28
|
'uuid': json['uuid'],
|
|
29
29
|
};
|
|
30
30
|
}
|
|
@@ -37,7 +37,7 @@ function OrganizationPathElementToJSON(value) {
|
|
|
37
37
|
return null;
|
|
38
38
|
}
|
|
39
39
|
return {
|
|
40
|
-
'name':
|
|
40
|
+
'name': LocalizedString_1.LocalizedStringToJSON(value.name),
|
|
41
41
|
'uuid': value.uuid,
|
|
42
42
|
};
|
|
43
43
|
}
|
|
@@ -2,14 +2,15 @@
|
|
|
2
2
|
* User account and session management
|
|
3
3
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 3.
|
|
5
|
+
* The version of the OpenAPI document: 3.9.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { OrganizationRoleAttributionRole
|
|
12
|
+
import { OrganizationRoleAttributionRole } from './OrganizationRoleAttributionRole';
|
|
13
|
+
import { User } from './User';
|
|
13
14
|
/**
|
|
14
15
|
*
|
|
15
16
|
* @export
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* User account and session management
|
|
6
6
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 3.
|
|
8
|
+
* The version of the OpenAPI document: 3.9.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -14,7 +14,8 @@
|
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.OrganizationRoleAttributionToJSON = exports.OrganizationRoleAttributionFromJSONTyped = exports.OrganizationRoleAttributionFromJSON = void 0;
|
|
17
|
-
const
|
|
17
|
+
const OrganizationRoleAttributionRole_1 = require("./OrganizationRoleAttributionRole");
|
|
18
|
+
const User_1 = require("./User");
|
|
18
19
|
function OrganizationRoleAttributionFromJSON(json) {
|
|
19
20
|
return OrganizationRoleAttributionFromJSONTyped(json, false);
|
|
20
21
|
}
|
|
@@ -24,8 +25,8 @@ function OrganizationRoleAttributionFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
24
25
|
return json;
|
|
25
26
|
}
|
|
26
27
|
return {
|
|
27
|
-
'user':
|
|
28
|
-
'roles': (json['roles'].map(
|
|
28
|
+
'user': User_1.UserFromJSON(json['user']),
|
|
29
|
+
'roles': (json['roles'].map(OrganizationRoleAttributionRole_1.OrganizationRoleAttributionRoleFromJSON)),
|
|
29
30
|
};
|
|
30
31
|
}
|
|
31
32
|
exports.OrganizationRoleAttributionFromJSONTyped = OrganizationRoleAttributionFromJSONTyped;
|
|
@@ -37,8 +38,8 @@ function OrganizationRoleAttributionToJSON(value) {
|
|
|
37
38
|
return null;
|
|
38
39
|
}
|
|
39
40
|
return {
|
|
40
|
-
'user':
|
|
41
|
-
'roles': (value.roles.map(
|
|
41
|
+
'user': User_1.UserToJSON(value.user),
|
|
42
|
+
'roles': (value.roles.map(OrganizationRoleAttributionRole_1.OrganizationRoleAttributionRoleToJSON)),
|
|
42
43
|
};
|
|
43
44
|
}
|
|
44
45
|
exports.OrganizationRoleAttributionToJSON = OrganizationRoleAttributionToJSON;
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
* User account and session management
|
|
3
3
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 3.
|
|
5
|
+
* The version of the OpenAPI document: 3.9.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { LocalizedString } from './';
|
|
12
|
+
import { LocalizedString } from './LocalizedString';
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
15
|
* @export
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* User account and session management
|
|
6
6
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 3.
|
|
8
|
+
* The version of the OpenAPI document: 3.9.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.OrganizationRoleAttributionPermissionToJSON = exports.OrganizationRoleAttributionPermissionFromJSONTyped = exports.OrganizationRoleAttributionPermissionFromJSON = void 0;
|
|
17
|
-
const
|
|
17
|
+
const LocalizedString_1 = require("./LocalizedString");
|
|
18
18
|
function OrganizationRoleAttributionPermissionFromJSON(json) {
|
|
19
19
|
return OrganizationRoleAttributionPermissionFromJSONTyped(json, false);
|
|
20
20
|
}
|
|
@@ -25,7 +25,7 @@ function OrganizationRoleAttributionPermissionFromJSONTyped(json, ignoreDiscrimi
|
|
|
25
25
|
}
|
|
26
26
|
return {
|
|
27
27
|
'code': json['code'],
|
|
28
|
-
'name':
|
|
28
|
+
'name': LocalizedString_1.LocalizedStringFromJSON(json['name']),
|
|
29
29
|
};
|
|
30
30
|
}
|
|
31
31
|
exports.OrganizationRoleAttributionPermissionFromJSONTyped = OrganizationRoleAttributionPermissionFromJSONTyped;
|
|
@@ -38,7 +38,7 @@ function OrganizationRoleAttributionPermissionToJSON(value) {
|
|
|
38
38
|
}
|
|
39
39
|
return {
|
|
40
40
|
'code': value.code,
|
|
41
|
-
'name':
|
|
41
|
+
'name': LocalizedString_1.LocalizedStringToJSON(value.name),
|
|
42
42
|
};
|
|
43
43
|
}
|
|
44
44
|
exports.OrganizationRoleAttributionPermissionToJSON = OrganizationRoleAttributionPermissionToJSON;
|
|
@@ -2,14 +2,15 @@
|
|
|
2
2
|
* User account and session management
|
|
3
3
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 3.
|
|
5
|
+
* The version of the OpenAPI document: 3.9.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { LocalizedString
|
|
12
|
+
import { LocalizedString } from './LocalizedString';
|
|
13
|
+
import { OrganizationRoleAttributionPermission } from './OrganizationRoleAttributionPermission';
|
|
13
14
|
/**
|
|
14
15
|
*
|
|
15
16
|
* @export
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* User account and session management
|
|
6
6
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 3.
|
|
8
|
+
* The version of the OpenAPI document: 3.9.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -14,7 +14,8 @@
|
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.OrganizationRoleAttributionRoleToJSON = exports.OrganizationRoleAttributionRoleFromJSONTyped = exports.OrganizationRoleAttributionRoleFromJSON = void 0;
|
|
17
|
-
const
|
|
17
|
+
const LocalizedString_1 = require("./LocalizedString");
|
|
18
|
+
const OrganizationRoleAttributionPermission_1 = require("./OrganizationRoleAttributionPermission");
|
|
18
19
|
function OrganizationRoleAttributionRoleFromJSON(json) {
|
|
19
20
|
return OrganizationRoleAttributionRoleFromJSONTyped(json, false);
|
|
20
21
|
}
|
|
@@ -25,8 +26,8 @@ function OrganizationRoleAttributionRoleFromJSONTyped(json, ignoreDiscriminator)
|
|
|
25
26
|
}
|
|
26
27
|
return {
|
|
27
28
|
'uuid': json['uuid'],
|
|
28
|
-
'name':
|
|
29
|
-
'permissions': (json['permissions'].map(
|
|
29
|
+
'name': LocalizedString_1.LocalizedStringFromJSON(json['name']),
|
|
30
|
+
'permissions': (json['permissions'].map(OrganizationRoleAttributionPermission_1.OrganizationRoleAttributionPermissionFromJSON)),
|
|
30
31
|
};
|
|
31
32
|
}
|
|
32
33
|
exports.OrganizationRoleAttributionRoleFromJSONTyped = OrganizationRoleAttributionRoleFromJSONTyped;
|
|
@@ -39,8 +40,8 @@ function OrganizationRoleAttributionRoleToJSON(value) {
|
|
|
39
40
|
}
|
|
40
41
|
return {
|
|
41
42
|
'uuid': value.uuid,
|
|
42
|
-
'name':
|
|
43
|
-
'permissions': (value.permissions.map(
|
|
43
|
+
'name': LocalizedString_1.LocalizedStringToJSON(value.name),
|
|
44
|
+
'permissions': (value.permissions.map(OrganizationRoleAttributionPermission_1.OrganizationRoleAttributionPermissionToJSON)),
|
|
44
45
|
};
|
|
45
46
|
}
|
|
46
47
|
exports.OrganizationRoleAttributionRoleToJSON = OrganizationRoleAttributionRoleToJSON;
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
* User account and session management
|
|
3
3
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 3.
|
|
5
|
+
* The version of the OpenAPI document: 3.9.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { OrganizationRoleAttribution } from './';
|
|
12
|
+
import { OrganizationRoleAttribution } from './OrganizationRoleAttribution';
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
15
|
* @export
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* User account and session management
|
|
6
6
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 3.
|
|
8
|
+
* The version of the OpenAPI document: 3.9.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.OrganizationRoleAttributionsToJSON = exports.OrganizationRoleAttributionsFromJSONTyped = exports.OrganizationRoleAttributionsFromJSON = void 0;
|
|
17
|
-
const
|
|
17
|
+
const OrganizationRoleAttribution_1 = require("./OrganizationRoleAttribution");
|
|
18
18
|
function OrganizationRoleAttributionsFromJSON(json) {
|
|
19
19
|
return OrganizationRoleAttributionsFromJSONTyped(json, false);
|
|
20
20
|
}
|
|
@@ -24,7 +24,7 @@ function OrganizationRoleAttributionsFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
24
24
|
return json;
|
|
25
25
|
}
|
|
26
26
|
return {
|
|
27
|
-
'users': (json['users'].map(
|
|
27
|
+
'users': (json['users'].map(OrganizationRoleAttribution_1.OrganizationRoleAttributionFromJSON)),
|
|
28
28
|
};
|
|
29
29
|
}
|
|
30
30
|
exports.OrganizationRoleAttributionsFromJSONTyped = OrganizationRoleAttributionsFromJSONTyped;
|
|
@@ -36,7 +36,7 @@ function OrganizationRoleAttributionsToJSON(value) {
|
|
|
36
36
|
return null;
|
|
37
37
|
}
|
|
38
38
|
return {
|
|
39
|
-
'users': (value.users.map(
|
|
39
|
+
'users': (value.users.map(OrganizationRoleAttribution_1.OrganizationRoleAttributionToJSON)),
|
|
40
40
|
};
|
|
41
41
|
}
|
|
42
42
|
exports.OrganizationRoleAttributionsToJSON = OrganizationRoleAttributionsToJSON;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* User account and session management
|
|
3
3
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 3.
|
|
5
|
+
* The version of the OpenAPI document: 3.9.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* User account and session management
|
|
6
6
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 3.
|
|
8
|
+
* The version of the OpenAPI document: 3.9.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* User account and session management
|
|
3
3
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 3.
|
|
5
|
+
* The version of the OpenAPI document: 3.9.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* User account and session management
|
|
6
6
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 3.
|
|
8
|
+
* The version of the OpenAPI document: 3.9.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* User account and session management
|
|
3
3
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 3.
|
|
5
|
+
* The version of the OpenAPI document: 3.9.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* User account and session management
|
|
6
6
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 3.
|
|
8
|
+
* The version of the OpenAPI document: 3.9.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* User account and session management
|
|
3
3
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 3.
|
|
5
|
+
* The version of the OpenAPI document: 3.9.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* User account and session management
|
|
6
6
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 3.
|
|
8
|
+
* The version of the OpenAPI document: 3.9.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
* User account and session management
|
|
3
3
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 3.
|
|
5
|
+
* The version of the OpenAPI document: 3.9.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { PermissionCode } from './';
|
|
12
|
+
import { PermissionCode } from './PermissionCode';
|
|
13
13
|
/**
|
|
14
14
|
* List of permission codes
|
|
15
15
|
* @export
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* User account and session management
|
|
6
6
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 3.
|
|
8
|
+
* The version of the OpenAPI document: 3.9.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.PermissionListToJSON = exports.PermissionListFromJSONTyped = exports.PermissionListFromJSON = void 0;
|
|
17
|
-
const
|
|
17
|
+
const PermissionCode_1 = require("./PermissionCode");
|
|
18
18
|
function PermissionListFromJSON(json) {
|
|
19
19
|
return PermissionListFromJSONTyped(json, false);
|
|
20
20
|
}
|
|
@@ -24,7 +24,7 @@ function PermissionListFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
24
24
|
return json;
|
|
25
25
|
}
|
|
26
26
|
return {
|
|
27
|
-
'permissions': (json['permissions'].map(
|
|
27
|
+
'permissions': (json['permissions'].map(PermissionCode_1.PermissionCodeFromJSON)),
|
|
28
28
|
};
|
|
29
29
|
}
|
|
30
30
|
exports.PermissionListFromJSONTyped = PermissionListFromJSONTyped;
|
|
@@ -36,7 +36,7 @@ function PermissionListToJSON(value) {
|
|
|
36
36
|
return null;
|
|
37
37
|
}
|
|
38
38
|
return {
|
|
39
|
-
'permissions': (value.permissions.map(
|
|
39
|
+
'permissions': (value.permissions.map(PermissionCode_1.PermissionCodeToJSON)),
|
|
40
40
|
};
|
|
41
41
|
}
|
|
42
42
|
exports.PermissionListToJSON = PermissionListToJSON;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* User account and session management
|
|
3
3
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 3.
|
|
5
|
+
* The version of the OpenAPI document: 3.9.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -12,12 +12,12 @@
|
|
|
12
12
|
/**
|
|
13
13
|
*
|
|
14
14
|
* @export
|
|
15
|
-
* @enum {string}
|
|
16
15
|
*/
|
|
17
|
-
export declare
|
|
18
|
-
USER
|
|
19
|
-
ORGANIZATION
|
|
20
|
-
}
|
|
16
|
+
export declare const PermissionResourceType: {
|
|
17
|
+
readonly USER: "USER";
|
|
18
|
+
readonly ORGANIZATION: "ORGANIZATION";
|
|
19
|
+
};
|
|
20
|
+
export declare type PermissionResourceType = typeof PermissionResourceType[keyof typeof PermissionResourceType];
|
|
21
21
|
export declare function PermissionResourceTypeFromJSON(json: any): PermissionResourceType;
|
|
22
22
|
export declare function PermissionResourceTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): PermissionResourceType;
|
|
23
23
|
export declare function PermissionResourceTypeToJSON(value?: PermissionResourceType | null): any;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* User account and session management
|
|
6
6
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 3.
|
|
8
|
+
* The version of the OpenAPI document: 3.9.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -17,13 +17,11 @@ exports.PermissionResourceTypeToJSON = exports.PermissionResourceTypeFromJSONTyp
|
|
|
17
17
|
/**
|
|
18
18
|
*
|
|
19
19
|
* @export
|
|
20
|
-
* @enum {string}
|
|
21
20
|
*/
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
})(PermissionResourceType = exports.PermissionResourceType || (exports.PermissionResourceType = {}));
|
|
21
|
+
exports.PermissionResourceType = {
|
|
22
|
+
USER: 'USER',
|
|
23
|
+
ORGANIZATION: 'ORGANIZATION'
|
|
24
|
+
};
|
|
27
25
|
function PermissionResourceTypeFromJSON(json) {
|
|
28
26
|
return PermissionResourceTypeFromJSONTyped(json, false);
|
|
29
27
|
}
|
package/dist/models/Role.d.ts
CHANGED
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
* User account and session management
|
|
3
3
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 3.
|
|
5
|
+
* The version of the OpenAPI document: 3.9.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { LocalizedString } from './';
|
|
12
|
+
import { LocalizedString } from './LocalizedString';
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
15
|
* @export
|
package/dist/models/Role.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* User account and session management
|
|
6
6
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 3.
|
|
8
|
+
* The version of the OpenAPI document: 3.9.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.RoleToJSON = exports.RoleFromJSONTyped = exports.RoleFromJSON = void 0;
|
|
17
|
-
const
|
|
17
|
+
const LocalizedString_1 = require("./LocalizedString");
|
|
18
18
|
function RoleFromJSON(json) {
|
|
19
19
|
return RoleFromJSONTyped(json, false);
|
|
20
20
|
}
|
|
@@ -25,7 +25,7 @@ function RoleFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
25
25
|
}
|
|
26
26
|
return {
|
|
27
27
|
'uuid': json['uuid'],
|
|
28
|
-
'name':
|
|
28
|
+
'name': LocalizedString_1.LocalizedStringFromJSON(json['name']),
|
|
29
29
|
'permissions': json['permissions'],
|
|
30
30
|
};
|
|
31
31
|
}
|
|
@@ -39,7 +39,7 @@ function RoleToJSON(value) {
|
|
|
39
39
|
}
|
|
40
40
|
return {
|
|
41
41
|
'uuid': value.uuid,
|
|
42
|
-
'name':
|
|
42
|
+
'name': LocalizedString_1.LocalizedStringToJSON(value.name),
|
|
43
43
|
'permissions': value.permissions,
|
|
44
44
|
};
|
|
45
45
|
}
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
* User account and session management
|
|
3
3
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 3.
|
|
5
|
+
* The version of the OpenAPI document: 3.9.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { LocalizedString } from './';
|
|
12
|
+
import { LocalizedString } from './LocalizedString';
|
|
13
13
|
/**
|
|
14
14
|
* created role schema
|
|
15
15
|
* @export
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* User account and session management
|
|
6
6
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 3.
|
|
8
|
+
* The version of the OpenAPI document: 3.9.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.RoleCreatedToJSON = exports.RoleCreatedFromJSONTyped = exports.RoleCreatedFromJSON = void 0;
|
|
17
|
-
const
|
|
17
|
+
const LocalizedString_1 = require("./LocalizedString");
|
|
18
18
|
function RoleCreatedFromJSON(json) {
|
|
19
19
|
return RoleCreatedFromJSONTyped(json, false);
|
|
20
20
|
}
|
|
@@ -25,7 +25,7 @@ function RoleCreatedFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
25
25
|
}
|
|
26
26
|
return {
|
|
27
27
|
'uuid': json['uuid'],
|
|
28
|
-
'name':
|
|
28
|
+
'name': LocalizedString_1.LocalizedStringFromJSON(json['name']),
|
|
29
29
|
'permissions': json['permissions'],
|
|
30
30
|
};
|
|
31
31
|
}
|
|
@@ -39,7 +39,7 @@ function RoleCreatedToJSON(value) {
|
|
|
39
39
|
}
|
|
40
40
|
return {
|
|
41
41
|
'uuid': value.uuid,
|
|
42
|
-
'name':
|
|
42
|
+
'name': LocalizedString_1.LocalizedStringToJSON(value.name),
|
|
43
43
|
'permissions': value.permissions,
|
|
44
44
|
};
|
|
45
45
|
}
|
|
@@ -2,14 +2,17 @@
|
|
|
2
2
|
* User account and session management
|
|
3
3
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 3.
|
|
5
|
+
* The version of the OpenAPI document: 3.9.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { LocalizedString
|
|
12
|
+
import { LocalizedString } from './LocalizedString';
|
|
13
|
+
import { OrganizationPathElement } from './OrganizationPathElement';
|
|
14
|
+
import { UserAccountPermission } from './UserAccountPermission';
|
|
15
|
+
import { UserAccountRole } from './UserAccountRole';
|
|
13
16
|
/**
|
|
14
17
|
*
|
|
15
18
|
* @export
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* User account and session management
|
|
6
6
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 3.
|
|
8
|
+
* The version of the OpenAPI document: 3.9.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -14,7 +14,10 @@
|
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.RolesOnOrganizationToJSON = exports.RolesOnOrganizationFromJSONTyped = exports.RolesOnOrganizationFromJSON = void 0;
|
|
17
|
-
const
|
|
17
|
+
const LocalizedString_1 = require("./LocalizedString");
|
|
18
|
+
const OrganizationPathElement_1 = require("./OrganizationPathElement");
|
|
19
|
+
const UserAccountPermission_1 = require("./UserAccountPermission");
|
|
20
|
+
const UserAccountRole_1 = require("./UserAccountRole");
|
|
18
21
|
function RolesOnOrganizationFromJSON(json) {
|
|
19
22
|
return RolesOnOrganizationFromJSONTyped(json, false);
|
|
20
23
|
}
|
|
@@ -25,10 +28,10 @@ function RolesOnOrganizationFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
25
28
|
}
|
|
26
29
|
return {
|
|
27
30
|
'uuid': json['uuid'],
|
|
28
|
-
'name':
|
|
29
|
-
'path': (json['path'].map(
|
|
30
|
-
'roles': (json['roles'].map(
|
|
31
|
-
'permissions': (json['permissions'].map(
|
|
31
|
+
'name': LocalizedString_1.LocalizedStringFromJSON(json['name']),
|
|
32
|
+
'path': (json['path'].map(OrganizationPathElement_1.OrganizationPathElementFromJSON)),
|
|
33
|
+
'roles': (json['roles'].map(UserAccountRole_1.UserAccountRoleFromJSON)),
|
|
34
|
+
'permissions': (json['permissions'].map(UserAccountPermission_1.UserAccountPermissionFromJSON)),
|
|
32
35
|
};
|
|
33
36
|
}
|
|
34
37
|
exports.RolesOnOrganizationFromJSONTyped = RolesOnOrganizationFromJSONTyped;
|
|
@@ -41,10 +44,10 @@ function RolesOnOrganizationToJSON(value) {
|
|
|
41
44
|
}
|
|
42
45
|
return {
|
|
43
46
|
'uuid': value.uuid,
|
|
44
|
-
'name':
|
|
45
|
-
'path': (value.path.map(
|
|
46
|
-
'roles': (value.roles.map(
|
|
47
|
-
'permissions': (value.permissions.map(
|
|
47
|
+
'name': LocalizedString_1.LocalizedStringToJSON(value.name),
|
|
48
|
+
'path': (value.path.map(OrganizationPathElement_1.OrganizationPathElementToJSON)),
|
|
49
|
+
'roles': (value.roles.map(UserAccountRole_1.UserAccountRoleToJSON)),
|
|
50
|
+
'permissions': (value.permissions.map(UserAccountPermission_1.UserAccountPermissionToJSON)),
|
|
48
51
|
};
|
|
49
52
|
}
|
|
50
53
|
exports.RolesOnOrganizationToJSON = RolesOnOrganizationToJSON;
|
|
@@ -2,14 +2,15 @@
|
|
|
2
2
|
* User account and session management
|
|
3
3
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 3.
|
|
5
|
+
* The version of the OpenAPI document: 3.9.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { DatabaseState
|
|
12
|
+
import { DatabaseState } from './DatabaseState';
|
|
13
|
+
import { ServiceName } from './ServiceName';
|
|
13
14
|
/**
|
|
14
15
|
*
|
|
15
16
|
* @export
|