triangle-types 1.0.307 → 1.0.309

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.
@@ -7,10 +7,9 @@ export declare class FederalCongressBillDocument {
7
7
  readonly bill_type_id: FederalCongressBillTypeID;
8
8
  readonly bill_id: number;
9
9
  readonly document_id: string;
10
- readonly number: number;
11
10
  readonly bill_document_type_id: FederalCongressBillDocumentTypeID;
12
11
  readonly format_id: string;
13
- readonly publish_time?: string;
12
+ readonly time?: string;
14
13
  readonly url: string;
15
14
  readonly s3_id?: string;
16
15
  constructor(federal_congress_bill_document: any);
@@ -10,10 +10,9 @@ export class FederalCongressBillDocument {
10
10
  bill_type_id;
11
11
  bill_id;
12
12
  document_id;
13
- number;
14
13
  bill_document_type_id;
15
14
  format_id;
16
- publish_time;
15
+ time;
17
16
  url;
18
17
  s3_id;
19
18
  constructor(federal_congress_bill_document) {
@@ -24,10 +23,9 @@ export class FederalCongressBillDocument {
24
23
  this.bill_type_id = federal_congress_bill_document.bill_type_id;
25
24
  this.bill_id = federal_congress_bill_document.bill_id;
26
25
  this.document_id = federal_congress_bill_document.document_id;
27
- this.number = federal_congress_bill_document.number;
28
26
  this.bill_document_type_id = federal_congress_bill_document.bill_document_type_id;
29
27
  this.format_id = federal_congress_bill_document.format_id;
30
- this.publish_time = federal_congress_bill_document.publish_time;
28
+ this.time = federal_congress_bill_document.time;
31
29
  this.url = federal_congress_bill_document.url;
32
30
  this.s3_id = federal_congress_bill_document.s3_id;
33
31
  }
@@ -37,10 +35,9 @@ export class FederalCongressBillDocument {
37
35
  is_federal_congress_bill_type_id(federal_congress_bill_document.bill_type_id) &&
38
36
  typeof federal_congress_bill_document.bill_id === "string" &&
39
37
  typeof federal_congress_bill_document.document_id === "string" &&
40
- typeof federal_congress_bill_document.number === "number" &&
41
38
  is_federal_congress_bill_document_type_id(federal_congress_bill_document.bill_document_type_id) &&
42
39
  typeof federal_congress_bill_document.format_id === "string" &&
43
- (federal_congress_bill_document.publish_time === undefined || typeof federal_congress_bill_document.publish_time === "string") &&
40
+ (federal_congress_bill_document.time === undefined || typeof federal_congress_bill_document.time === "string") &&
44
41
  typeof federal_congress_bill_document.url === "string" &&
45
42
  (federal_congress_bill_document.s3_id === undefined || typeof federal_congress_bill_document.s3_id === "string"));
46
43
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "triangle-types",
3
- "version": "1.0.307",
3
+ "version": "1.0.309",
4
4
  "main": "dist/src/index.js",
5
5
  "types": "dist/src/index.d.ts",
6
6
  "scripts": {
@@ -15,10 +15,9 @@ export class FederalCongressBillDocument {
15
15
  readonly bill_type_id : FederalCongressBillTypeID
16
16
  readonly bill_id : number
17
17
  readonly document_id : string
18
- readonly number : number
19
18
  readonly bill_document_type_id : FederalCongressBillDocumentTypeID
20
19
  readonly format_id : string
21
- readonly publish_time? : string
20
+ readonly time? : string
22
21
  readonly url : string
23
22
  readonly s3_id? : string
24
23
 
@@ -30,10 +29,9 @@ export class FederalCongressBillDocument {
30
29
  this.bill_type_id = federal_congress_bill_document.bill_type_id
31
30
  this.bill_id = federal_congress_bill_document.bill_id
32
31
  this.document_id = federal_congress_bill_document.document_id
33
- this.number = federal_congress_bill_document.number
34
32
  this.bill_document_type_id = federal_congress_bill_document.bill_document_type_id
35
33
  this.format_id = federal_congress_bill_document.format_id
36
- this.publish_time = federal_congress_bill_document.publish_time
34
+ this.time = federal_congress_bill_document.time
37
35
  this.url = federal_congress_bill_document.url
38
36
  this.s3_id = federal_congress_bill_document.s3_id
39
37
  }
@@ -45,10 +43,9 @@ export class FederalCongressBillDocument {
45
43
  is_federal_congress_bill_type_id(federal_congress_bill_document.bill_type_id) &&
46
44
  typeof federal_congress_bill_document.bill_id === "string" &&
47
45
  typeof federal_congress_bill_document.document_id === "string" &&
48
- typeof federal_congress_bill_document.number === "number" &&
49
46
  is_federal_congress_bill_document_type_id(federal_congress_bill_document.bill_document_type_id) &&
50
47
  typeof federal_congress_bill_document.format_id === "string" &&
51
- (federal_congress_bill_document.publish_time === undefined || typeof federal_congress_bill_document.publish_time === "string") &&
48
+ (federal_congress_bill_document.time === undefined || typeof federal_congress_bill_document.time === "string") &&
52
49
  typeof federal_congress_bill_document.url === "string" &&
53
50
  (federal_congress_bill_document.s3_id === undefined || typeof federal_congress_bill_document.s3_id === "string")
54
51
  )