@dative-gpi/foundation-core-domain 1.0.139-editablerefacto-2 → 1.0.139-editablerefacto-4

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.
@@ -16,6 +16,8 @@ export class AlertInfos {
16
16
  deviceOrganisationImageId: string | null;
17
17
  deviceOrganisationCode: string;
18
18
  deviceOrganisationLabel: string;
19
+ deviceOrganisationLocationLabel: string | null;
20
+ deviceOrganisationOwnerLabel: string | null;
19
21
  icon: string;
20
22
  code: string;
21
23
  label: string;
@@ -48,6 +50,8 @@ export class AlertInfos {
48
50
  this.deviceOrganisationImageId = params.deviceOrganisationImageId;
49
51
  this.deviceOrganisationCode = params.deviceOrganisationCode;
50
52
  this.deviceOrganisationLabel = params.deviceOrganisationLabel;
53
+ this.deviceOrganisationLocationLabel = params.deviceOrganisationLocationLabel;
54
+ this.deviceOrganisationOwnerLabel = params.deviceOrganisationOwnerLabel;
51
55
  this.icon = params.icon;
52
56
  this.code = params.code;
53
57
  this.label = params.label;
@@ -89,6 +93,8 @@ export interface AlertInfosDTO {
89
93
  deviceOrganisationImageId: string | null;
90
94
  deviceOrganisationCode: string;
91
95
  deviceOrganisationLabel: string;
96
+ deviceOrganisationLocationLabel: string | null;
97
+ deviceOrganisationOwnerLabel: string | null;
92
98
  icon: string;
93
99
  code: string;
94
100
  label: string;
@@ -3,22 +3,15 @@ import { PermissionInfos, type PermissionInfosDTO } from "@dative-gpi/foundation
3
3
  import { ServiceAccountOrganisationInfos, type ServiceAccountOrganisationInfosDTO } from "./serviceAccountOrganisationInfos";
4
4
 
5
5
  export class ServiceAccountOrganisationDetails extends ServiceAccountOrganisationInfos {
6
- languageCode: string;
7
- timeZoneId: string;
8
6
  permissions: PermissionInfos[];
9
7
 
10
8
  constructor(params: ServiceAccountOrganisationDetailsDTO) {
11
9
  super(params);
12
-
13
- this.languageCode = params.languageCode;
14
- this.timeZoneId = params.timeZoneId;
15
10
  this.permissions = params.permissions.map(dto => new PermissionInfos(dto));
16
11
  }
17
12
  }
18
13
 
19
14
  export interface ServiceAccountOrganisationDetailsDTO extends ServiceAccountOrganisationInfosDTO {
20
- languageCode: string;
21
- timeZoneId: string;
22
15
  permissions: PermissionInfosDTO[];
23
16
  }
24
17
 
@@ -4,6 +4,8 @@ export class ServiceAccountOrganisationInfos {
4
4
  id: string;
5
5
  userId: string;
6
6
  organisationId: string;
7
+ languageCode: string;
8
+ timeZoneId: string;
7
9
  roleId: string | null;
8
10
  roleLabel: string;
9
11
  roleIcon: string;
@@ -18,6 +20,8 @@ export class ServiceAccountOrganisationInfos {
18
20
  this.id = params.id;
19
21
  this.userId = params.userId;
20
22
  this.organisationId = params.organisationId;
23
+ this.languageCode = params.languageCode;
24
+ this.timeZoneId = params.timeZoneId;
21
25
  this.roleId = params.roleId;
22
26
  this.roleLabel = params.roleLabel;
23
27
  this.roleIcon = params.roleIcon;
@@ -34,6 +38,8 @@ export interface ServiceAccountOrganisationInfosDTO {
34
38
  id: string;
35
39
  userId: string;
36
40
  organisationId: string;
41
+ languageCode: string;
42
+ timeZoneId: string;
37
43
  roleId: string | null;
38
44
  roleLabel: string;
39
45
  roleIcon: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@dative-gpi/foundation-core-domain",
3
3
  "sideEffects": false,
4
- "version": "1.0.139-editablerefacto-2",
4
+ "version": "1.0.139-editablerefacto-4",
5
5
  "description": "",
6
6
  "publishConfig": {
7
7
  "access": "public"
@@ -10,8 +10,8 @@
10
10
  "author": "",
11
11
  "license": "ISC",
12
12
  "dependencies": {
13
- "@dative-gpi/foundation-shared-domain": "1.0.139-editablerefacto-2",
14
- "@dative-gpi/foundation-shared-services": "1.0.139-editablerefacto-2"
13
+ "@dative-gpi/foundation-shared-domain": "1.0.139-editablerefacto-4",
14
+ "@dative-gpi/foundation-shared-services": "1.0.139-editablerefacto-4"
15
15
  },
16
- "gitHead": "859192750b559e49be440f30226c3c7f02d8eed4"
16
+ "gitHead": "cd38992d9fabf5ae89b6a4606c97a9b8a8032d72"
17
17
  }