@dative-gpi/foundation-core-domain 1.0.166 → 1.0.167-address2

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.
@@ -4,6 +4,7 @@ import { DeviceOrganisationAlert, type DeviceOrganisationAlertDTO } from "./devi
4
4
  import { ModelStatusInfos, type ModelStatusInfosDTO } from "../modelStatuses/modelStatusInfos";
5
5
  import { type EntityType } from '@dative-gpi/foundation-shared-domain/enums';
6
6
  import { PathCrumb, type PathCrumbDTO } from "../shared/pathCrumb";
7
+ import { Address, type AddressDTO } from '@dative-gpi/foundation-shared-domain';
7
8
 
8
9
  export class DeviceOrganisationInfos {
9
10
  id: string;
@@ -18,6 +19,7 @@ export class DeviceOrganisationInfos {
18
19
  modelLabel: string;
19
20
  ownerId: string | null;
20
21
  ownerLabel: string | null;
22
+ ownerAddress: Address | null;
21
23
  organisationId: string | null;
22
24
  managerId: string | null;
23
25
  managerName: string | null;
@@ -57,6 +59,7 @@ export class DeviceOrganisationInfos {
57
59
  this.modelLabel = params.modelLabel;
58
60
  this.ownerId = params.ownerId;
59
61
  this.ownerLabel = params.ownerLabel;
62
+ this.ownerAddress = params.ownerAddress ? new Address(params.ownerAddress) : null;
60
63
  this.organisationId = params.organisationId;
61
64
  this.managerId = params.managerId;
62
65
  this.managerName = params.managerName;
@@ -99,6 +102,7 @@ export interface DeviceOrganisationInfosDTO {
99
102
  modelLabel: string;
100
103
  ownerId: string | null;
101
104
  ownerLabel: string | null;
105
+ ownerAddress?: AddressDTO | null;
102
106
  organisationId: string;
103
107
  managerId: string | null;
104
108
  managerName: string | null;
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.166",
4
+ "version": "1.0.167-address2",
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.166",
14
- "@dative-gpi/foundation-shared-services": "1.0.166"
13
+ "@dative-gpi/foundation-shared-domain": "1.0.167-address2",
14
+ "@dative-gpi/foundation-shared-services": "1.0.167-address2"
15
15
  },
16
- "gitHead": "a4466335234a8b4151405d01a1c21801b1f2563d"
16
+ "gitHead": "e12e33110c98d44896159bb27f7f693a03bf0a1b"
17
17
  }