@tomei/sso 0.46.0 → 0.46.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tomei/sso",
3
- "version": "0.46.0",
3
+ "version": "0.46.1",
4
4
  "description": "Tomei SSO Package",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -308,8 +308,8 @@ export class UserGroup extends ObjectBase {
308
308
  {
309
309
  GroupCode: string;
310
310
  GroupName: string;
311
- InheritGroupPrivilegeYN: string;
312
- InheritedGroupSystemAccesses: {
311
+ InheritGroupSystemAccessYN: string;
312
+ Systems: {
313
313
  SystemCode: string;
314
314
  SystemName: string;
315
315
  AccessStatus: string;
@@ -383,8 +383,8 @@ export class UserGroup extends ObjectBase {
383
383
  const result: {
384
384
  GroupCode: string;
385
385
  GroupName: string;
386
- InheritGroupPrivilegeYN: string;
387
- InheritedGroupSystemAccesses: {
386
+ InheritGroupSystemAccessYN: string;
387
+ Systems: {
388
388
  SystemCode: string;
389
389
  SystemName: string;
390
390
  AccessStatus: string;
@@ -422,13 +422,13 @@ export class UserGroup extends ObjectBase {
422
422
  const groupData = {
423
423
  GroupCode: userGroup.GroupCode,
424
424
  GroupName: userGroup.Group.Name,
425
- InheritGroupPrivilegeYN: userGroup.InheritGroupPrivilegeYN,
426
- InheritedGroupSystemAccesses: [],
425
+ InheritGroupSystemAccessYN: userGroup.InheritGroupSystemAccessYN,
426
+ Systems: [],
427
427
  };
428
428
 
429
429
  if (userGroup.InheritGroupSystemAccessYN === 'Y') {
430
- groupData.InheritedGroupSystemAccesses =
431
- userGroup.Group.GroupSystemAccesses.map((groupSystemAccess) => {
430
+ groupData.Systems = userGroup.Group.GroupSystemAccesses.map(
431
+ (groupSystemAccess) => {
432
432
  return {
433
433
  SystemCode: groupSystemAccess.System.SystemCode,
434
434
  SystemName: groupSystemAccess.System.Name,
@@ -436,7 +436,8 @@ export class UserGroup extends ObjectBase {
436
436
  CreatedAt: groupSystemAccess.CreatedAt,
437
437
  UpdatedAt: groupSystemAccess.UpdatedAt,
438
438
  };
439
- });
439
+ },
440
+ );
440
441
  }
441
442
 
442
443
  result.push(groupData);