@captureid/datatypes 1.0.53 → 1.0.55

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/lib/enums.d.ts CHANGED
@@ -97,7 +97,8 @@ export declare enum DataType {
97
97
  STOREINFORMATION = 95,
98
98
  POSTERMINAL = 96,
99
99
  MANAGEMENT = 97,
100
- ADDRESSTYPE = 98
100
+ ADDRESSTYPE = 98,
101
+ ADDRESSTOCOMPANY = 99
101
102
  }
102
103
  export declare enum BookingType {
103
104
  UNKNOWN = 0,
@@ -6,14 +6,6 @@ export interface AddressType {
6
6
  }
7
7
  export declare class AddressType implements AddressType {
8
8
  }
9
- export interface AddressToCompany {
10
- id?: string;
11
- address_id: string;
12
- company_id: string;
13
- type: AddressType;
14
- }
15
- export declare class AddressToCompany implements AddressToCompany {
16
- }
17
9
  export interface Address {
18
10
  id?: string;
19
11
  street: string;
@@ -1,5 +1,5 @@
1
1
  import { DataObject } from "../data-object";
2
- import { Address } from "./address-object";
2
+ import { Address, AddressType } from "./address-object";
3
3
  export interface Company {
4
4
  id?: string;
5
5
  name: string;
@@ -15,9 +15,23 @@ export interface Company {
15
15
  export declare class Company implements Company {
16
16
  constructor(id?: string, name?: string, form?: string, taxno?: string, taxid?: string, addresses?: Address[], website?: string, registerno?: string, ownerid?: string, companyid?: string);
17
17
  }
18
+ export interface AddressToCompany {
19
+ id?: string;
20
+ address: Address;
21
+ company: Company;
22
+ type: AddressType;
23
+ }
24
+ export declare class AddressToCompany implements AddressToCompany {
25
+ }
18
26
  export interface CompanyObject {
19
27
  data: Company[];
20
28
  }
21
29
  export declare class CompanyObject extends DataObject implements CompanyObject {
22
30
  constructor(data: Company[]);
23
31
  }
32
+ export interface AddressToCompanyObject extends DataObject {
33
+ data: AddressToCompany[];
34
+ }
35
+ export declare class AddressToCompanyObject extends DataObject implements AddressToCompanyObject {
36
+ constructor(data: AddressToCompany[]);
37
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@captureid/datatypes",
3
- "version": "1.0.53",
3
+ "version": "1.0.55",
4
4
  "peerDependencies": {
5
5
  "@angular/common": ">=17.0.0",
6
6
  "@angular/core": ">=17.0.0"