triage-types 1.0.34 → 1.0.36

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 @@ export declare class NCStateFacility {
4
4
  readonly state_id: StateID;
5
5
  readonly facility_id: string;
6
6
  readonly name: string;
7
+ readonly owner: string;
7
8
  readonly active: boolean;
8
9
  readonly type_id: string;
9
10
  readonly site_address_county?: string;
@@ -4,6 +4,7 @@ export class NCStateFacility {
4
4
  state_id;
5
5
  facility_id;
6
6
  name;
7
+ owner;
7
8
  active;
8
9
  type_id;
9
10
  site_address_county;
@@ -15,6 +16,7 @@ export class NCStateFacility {
15
16
  this.state_id = state_facility.state_id;
16
17
  this.facility_id = state_facility.facility_id;
17
18
  this.name = state_facility.name;
19
+ this.owner = state_facility.owner;
18
20
  this.active = state_facility.active;
19
21
  this.type_id = state_facility.type_id;
20
22
  this.site_address_county = state_facility.site_address_county;
@@ -25,6 +27,7 @@ export class NCStateFacility {
25
27
  typeof state_facility.state_facility_id === "string" &&
26
28
  typeof state_facility.facility_id === "string" &&
27
29
  typeof state_facility.name === "string" &&
30
+ typeof state_facility.owner === "string" &&
28
31
  typeof state_facility.active === "boolean" &&
29
32
  typeof state_facility.type_id === "string" &&
30
33
  (state_facility.site_address_county === undefined || typeof state_facility.site_address_county === "string"));
@@ -9,6 +9,7 @@ export declare class NCStatePermit {
9
9
  readonly url?: string;
10
10
  readonly status?: string;
11
11
  readonly type_id?: string;
12
+ readonly subtype_id?: string;
12
13
  readonly s3_filename?: string;
13
14
  readonly s3_text_filename?: string;
14
15
  readonly source_ids?: string[];
@@ -9,6 +9,7 @@ export class NCStatePermit {
9
9
  url;
10
10
  status;
11
11
  type_id;
12
+ subtype_id;
12
13
  s3_filename;
13
14
  s3_text_filename;
14
15
  source_ids;
@@ -24,7 +25,7 @@ export class NCStatePermit {
24
25
  this.expiration_date = state_permit.expiration_date;
25
26
  this.url = state_permit.url;
26
27
  this.status = state_permit.status;
27
- this.type_id = state_permit.type_id;
28
+ this.subtype_id = state_permit.subtype_id;
28
29
  this.s3_filename = state_permit.s3_filename;
29
30
  this.s3_text_filename = state_permit.s3_text_filename;
30
31
  this.source_ids = state_permit.source_ids;
@@ -39,7 +40,7 @@ export class NCStatePermit {
39
40
  (state_permit.expiration_date === undefined || typeof state_permit.expiration_date === "string") &&
40
41
  state_permit.url === "string" &&
41
42
  (state_permit.status === undefined || typeof state_permit.status === "string") &&
42
- (state_permit.type_id === undefined || typeof state_permit.type_id === "string") &&
43
+ (state_permit.subtype_id === undefined || typeof state_permit.subtype_id === "string") &&
43
44
  (state_permit.s3_filename === undefined || typeof state_permit.s3_filename === "string") &&
44
45
  (state_permit.s3_text_filename === undefined || typeof state_permit.s3_text_filename === "string") &&
45
46
  (state_permit.source_ids === undefined || Array.isArray(state_permit.source_ids) && state_permit.source_ids.map((source_id) => typeof source_id === "string")));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "triage-types",
3
- "version": "1.0.34",
3
+ "version": "1.0.36",
4
4
  "main": "dist/src/index.js",
5
5
  "types": "dist/src/index.d.ts",
6
6
  "directories": {
@@ -5,6 +5,7 @@ export class NCStateFacility {
5
5
  readonly state_id : StateID
6
6
  readonly facility_id : string
7
7
  readonly name : string
8
+ readonly owner : string
8
9
  readonly active : boolean
9
10
  readonly type_id : string
10
11
  readonly site_address_county? : string
@@ -18,6 +19,7 @@ export class NCStateFacility {
18
19
  this.state_id = state_facility.state_id
19
20
  this.facility_id = state_facility.facility_id
20
21
  this.name = state_facility.name
22
+ this.owner = state_facility.owner
21
23
  this.active = state_facility.active
22
24
  this.type_id = state_facility.type_id
23
25
  this.site_address_county = state_facility.site_address_county
@@ -30,6 +32,7 @@ export class NCStateFacility {
30
32
  typeof state_facility.state_facility_id === "string" &&
31
33
  typeof state_facility.facility_id === "string" &&
32
34
  typeof state_facility.name === "string" &&
35
+ typeof state_facility.owner === "string" &&
33
36
  typeof state_facility.active === "boolean" &&
34
37
  typeof state_facility.type_id === "string" &&
35
38
  (state_facility.site_address_county === undefined || typeof state_facility.site_address_county === "string")
@@ -11,6 +11,7 @@ export class NCStatePermit {
11
11
  readonly url? : string
12
12
  readonly status? : string
13
13
  readonly type_id? : string
14
+ readonly subtype_id? : string
14
15
  readonly s3_filename? : string
15
16
  readonly s3_text_filename? : string
16
17
  readonly source_ids? : string[]
@@ -28,7 +29,7 @@ export class NCStatePermit {
28
29
  this.expiration_date = state_permit.expiration_date
29
30
  this.url = state_permit.url
30
31
  this.status = state_permit.status
31
- this.type_id = state_permit.type_id
32
+ this.subtype_id = state_permit.subtype_id
32
33
  this.s3_filename = state_permit.s3_filename
33
34
  this.s3_text_filename = state_permit.s3_text_filename
34
35
  this.source_ids = state_permit.source_ids
@@ -45,7 +46,7 @@ export class NCStatePermit {
45
46
  (state_permit.expiration_date === undefined || typeof state_permit.expiration_date === "string") &&
46
47
  state_permit.url === "string" &&
47
48
  (state_permit.status === undefined || typeof state_permit.status === "string") &&
48
- (state_permit.type_id === undefined || typeof state_permit.type_id === "string") &&
49
+ (state_permit.subtype_id === undefined || typeof state_permit.subtype_id === "string") &&
49
50
  (state_permit.s3_filename === undefined || typeof state_permit.s3_filename === "string") &&
50
51
  (state_permit.s3_text_filename === undefined || typeof state_permit.s3_text_filename === "string") &&
51
52
  (state_permit.source_ids === undefined || Array.isArray(state_permit.source_ids) && state_permit.source_ids.map((source_id : any) => typeof source_id === "string"))