triangle-types 1.0.215 → 1.0.216

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,11 +4,10 @@ export declare class TenantDocument {
4
4
  readonly document_id: string;
5
5
  readonly file_suffix_id: string;
6
6
  readonly name: string;
7
- readonly path: string;
8
7
  readonly fragment_type_id?: FragmentTypeID;
9
8
  readonly s3_id_zip: string;
10
9
  readonly s3_id: string;
11
- readonly s3_id_pdf?: string;
10
+ readonly s3_id_json?: string;
12
11
  readonly s3_id_txt?: string;
13
12
  readonly [x: string]: any;
14
13
  constructor(tenant_document: any);
@@ -4,11 +4,10 @@ export class TenantDocument {
4
4
  document_id;
5
5
  file_suffix_id;
6
6
  name;
7
- path;
8
7
  fragment_type_id;
9
8
  s3_id_zip;
10
9
  s3_id;
11
- s3_id_pdf;
10
+ s3_id_json;
12
11
  s3_id_txt;
13
12
  constructor(tenant_document) {
14
13
  if (!TenantDocument.is(tenant_document)) {
@@ -18,11 +17,10 @@ export class TenantDocument {
18
17
  this.document_id = tenant_document.document_id;
19
18
  this.file_suffix_id = tenant_document.file_suffix_id;
20
19
  this.name = tenant_document.name;
21
- this.path = tenant_document.path;
22
20
  this.fragment_type_id = tenant_document.fragment_type_id;
23
21
  this.s3_id_zip = tenant_document.s3_id_zip;
24
22
  this.s3_id = tenant_document.s3_id;
25
- this.s3_id_pdf = tenant_document.s3_id_pdf;
23
+ this.s3_id_json = tenant_document.s3_id_json;
26
24
  this.s3_id_txt = tenant_document.s3_id_txt;
27
25
  }
28
26
  static is(tenant_document) {
@@ -31,11 +29,10 @@ export class TenantDocument {
31
29
  typeof tenant_document.document_id === "string" &&
32
30
  typeof tenant_document.file_suffix_id === "string" &&
33
31
  typeof tenant_document.name === "string" &&
34
- typeof tenant_document.path === "string" &&
35
32
  (tenant_document.fragment_type_id === undefined || is_fragment_type_id(tenant_document.fragment_type_id)) &&
36
33
  typeof tenant_document.s3_id_zip === "string" &&
37
34
  typeof tenant_document.s3_id === "string" &&
38
- (tenant_document.s3_id_pdf === undefined || typeof tenant_document.s3_id_pdf === "string") &&
35
+ (tenant_document.s3_id_json === undefined || typeof tenant_document.s3_id_json === "string") &&
39
36
  (tenant_document.s3_id_txt === undefined || typeof tenant_document.s3_id_txt === "string"));
40
37
  }
41
38
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "triangle-types",
3
- "version": "1.0.215",
3
+ "version": "1.0.216",
4
4
  "main": "dist/src/index.js",
5
5
  "types": "dist/src/index.d.ts",
6
6
  "scripts": {
@@ -5,11 +5,10 @@ export class TenantDocument {
5
5
  readonly document_id : string
6
6
  readonly file_suffix_id : string
7
7
  readonly name : string
8
- readonly path : string
9
8
  readonly fragment_type_id? : FragmentTypeID
10
9
  readonly s3_id_zip : string
11
10
  readonly s3_id : string
12
- readonly s3_id_pdf? : string
11
+ readonly s3_id_json? : string
13
12
  readonly s3_id_txt? : string
14
13
  readonly [x : string] : any
15
14
 
@@ -21,11 +20,10 @@ export class TenantDocument {
21
20
  this.document_id = tenant_document.document_id
22
21
  this.file_suffix_id = tenant_document.file_suffix_id
23
22
  this.name = tenant_document.name
24
- this.path = tenant_document.path
25
23
  this.fragment_type_id = tenant_document.fragment_type_id
26
24
  this.s3_id_zip = tenant_document.s3_id_zip
27
25
  this.s3_id = tenant_document.s3_id
28
- this.s3_id_pdf = tenant_document.s3_id_pdf
26
+ this.s3_id_json = tenant_document.s3_id_json
29
27
  this.s3_id_txt = tenant_document.s3_id_txt
30
28
  }
31
29
 
@@ -36,11 +34,10 @@ export class TenantDocument {
36
34
  typeof tenant_document.document_id === "string" &&
37
35
  typeof tenant_document.file_suffix_id === "string" &&
38
36
  typeof tenant_document.name === "string" &&
39
- typeof tenant_document.path === "string" &&
40
37
  (tenant_document.fragment_type_id === undefined || is_fragment_type_id(tenant_document.fragment_type_id)) &&
41
38
  typeof tenant_document.s3_id_zip === "string" &&
42
39
  typeof tenant_document.s3_id === "string" &&
43
- (tenant_document.s3_id_pdf === undefined || typeof tenant_document.s3_id_pdf === "string") &&
40
+ (tenant_document.s3_id_json === undefined || typeof tenant_document.s3_id_json === "string") &&
44
41
  (tenant_document.s3_id_txt === undefined || typeof tenant_document.s3_id_txt === "string")
45
42
  )
46
43
  }