@things-factory/organization 10.1.122 → 10.1.134

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.
@@ -9,7 +9,6 @@ export declare enum ContactField {
9
9
  Profile = "profile",
10
10
  Picture = "picture",
11
11
  Department = "department",
12
- Company = "company",
13
12
  Homepage = "homepage"
14
13
  }
15
14
  export declare class ContactItem {
@@ -27,7 +26,10 @@ export declare class Contact {
27
26
  readonly id?: string;
28
27
  domain?: Domain;
29
28
  name?: string;
30
- company?: string;
29
+ counterparty?: {
30
+ id: string;
31
+ name?: string;
32
+ } | null;
31
33
  email?: string;
32
34
  phone?: string;
33
35
  address?: string;
@@ -9,7 +9,6 @@ export var ContactField;
9
9
  ContactField["Profile"] = "profile";
10
10
  ContactField["Picture"] = "picture";
11
11
  ContactField["Department"] = "department";
12
- ContactField["Company"] = "company";
13
12
  ContactField["Homepage"] = "homepage";
14
13
  })(ContactField || (ContactField = {}));
15
14
  export class ContactItem {
@@ -1 +1 @@
1
- {"version":3,"file":"contact.js","sourceRoot":"","sources":["../../client/types/contact.ts"],"names":[],"mappings":"AAEA,MAAM,CAAN,IAAY,YAYX;AAZD,WAAY,YAAY;IACtB,6BAAa,CAAA;IACb,sCAAsB,CAAA;IACtB,+BAAe,CAAA;IACf,mCAAmB,CAAA;IACnB,+BAAe,CAAA;IACf,qCAAqB,CAAA;IACrB,mCAAmB,CAAA;IACnB,mCAAmB,CAAA;IACnB,yCAAyB,CAAA;IACzB,mCAAmB,CAAA;IACnB,qCAAqB,CAAA;AACvB,CAAC,EAZW,YAAY,KAAZ,YAAY,QAYvB;AAED,MAAM,OAAO,WAAW;CAIvB;AAED,MAAM,OAAO,OAAO;CAMnB;AAED,MAAM,OAAO,OAAO;CAoBnB","sourcesContent":["import { Domain, User } from '@operato/shell'\n\nexport enum ContactField {\n Name = 'name',\n JobTitle = 'job-title',\n Phone = 'phone',\n Address = 'address',\n Email = 'email',\n Birthday = 'birthday',\n Profile = 'profile',\n Picture = 'picture',\n Department = 'department',\n Company = 'company',\n Homepage = 'homepage'\n}\n\nexport class ContactItem {\n label?: string\n type?: ContactField\n value?: string\n}\n\nexport class Profile {\n left?: number\n top?: number\n zoom?: number\n\n picture?: string\n}\n\nexport class Contact {\n readonly id?: string\n\n domain?: Domain\n name?: string\n company?: string\n email?: string\n phone?: string\n address?: string\n department?: string\n note?: string\n profile?: Profile\n items?: ContactItem[]\n\n createdAt?: Date\n updatedAt?: Date\n deletedAt?: Date\n\n creator?: User\n updater?: User\n}\n"]}
1
+ {"version":3,"file":"contact.js","sourceRoot":"","sources":["../../client/types/contact.ts"],"names":[],"mappings":"AAEA,MAAM,CAAN,IAAY,YAWX;AAXD,WAAY,YAAY;IACtB,6BAAa,CAAA;IACb,sCAAsB,CAAA;IACtB,+BAAe,CAAA;IACf,mCAAmB,CAAA;IACnB,+BAAe,CAAA;IACf,qCAAqB,CAAA;IACrB,mCAAmB,CAAA;IACnB,mCAAmB,CAAA;IACnB,yCAAyB,CAAA;IACzB,qCAAqB,CAAA;AACvB,CAAC,EAXW,YAAY,KAAZ,YAAY,QAWvB;AAED,MAAM,OAAO,WAAW;CAIvB;AAED,MAAM,OAAO,OAAO;CAMnB;AAED,MAAM,OAAO,OAAO;CAqBnB","sourcesContent":["import { Domain, User } from '@operato/shell'\n\nexport enum ContactField {\n Name = 'name',\n JobTitle = 'job-title',\n Phone = 'phone',\n Address = 'address',\n Email = 'email',\n Birthday = 'birthday',\n Profile = 'profile',\n Picture = 'picture',\n Department = 'department',\n Homepage = 'homepage'\n}\n\nexport class ContactItem {\n label?: string\n type?: ContactField\n value?: string\n}\n\nexport class Profile {\n left?: number\n top?: number\n zoom?: number\n\n picture?: string\n}\n\nexport class Contact {\n readonly id?: string\n\n domain?: Domain\n name?: string\n /* The counterparty the person belongs to - a biz-base counterparty of the same domain. */\n counterparty?: { id: string; name?: string } | null\n email?: string\n phone?: string\n address?: string\n department?: string\n note?: string\n profile?: Profile\n items?: ContactItem[]\n\n createdAt?: Date\n updatedAt?: Date\n deletedAt?: Date\n\n creator?: User\n updater?: User\n}\n"]}