triangle-types 1.0.69 → 1.0.70

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.
@@ -13,6 +13,7 @@ export declare class FederalCongressBillDocument {
13
13
  readonly bill_document_type_id: FederalCongressBillDocumentTypeID;
14
14
  readonly format_id: string;
15
15
  readonly publish_time?: string;
16
+ readonly url: string;
16
17
  readonly s3_id?: string;
17
18
  constructor(federal_congress_bill_document: any);
18
19
  static is(federal_congress_bill_document: any): federal_congress_bill_document is FederalCongressBillDocument;
@@ -15,6 +15,7 @@ export class FederalCongressBillDocument {
15
15
  bill_document_type_id;
16
16
  format_id;
17
17
  publish_time;
18
+ url;
18
19
  s3_id;
19
20
  constructor(federal_congress_bill_document) {
20
21
  if (!FederalCongressBillDocument.is(federal_congress_bill_document)) {
@@ -30,6 +31,7 @@ export class FederalCongressBillDocument {
30
31
  this.bill_document_type_id = federal_congress_bill_document.bill_document_type_id;
31
32
  this.format_id = federal_congress_bill_document.format_id;
32
33
  this.publish_time = federal_congress_bill_document.publish_time;
34
+ this.url = federal_congress_bill_document.url;
33
35
  this.s3_id = federal_congress_bill_document.s3_id;
34
36
  }
35
37
  static is(federal_congress_bill_document) {
@@ -44,6 +46,7 @@ export class FederalCongressBillDocument {
44
46
  is_federal_congress_bill_document_type_id(federal_congress_bill_document.bill_document_type_id) &&
45
47
  typeof federal_congress_bill_document.format_id === "string" &&
46
48
  (federal_congress_bill_document.publish_time === undefined || typeof federal_congress_bill_document.publish_time === "string") &&
49
+ typeof federal_congress_bill_document.url === "string" &&
47
50
  (federal_congress_bill_document.s3_id === undefined || typeof federal_congress_bill_document.s3_id === "string"));
48
51
  }
49
52
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "triangle-types",
3
- "version": "1.0.69",
3
+ "version": "1.0.70",
4
4
  "main": "dist/src/index.js",
5
5
  "types": "dist/src/index.d.ts",
6
6
  "scripts": {
@@ -21,6 +21,7 @@ export class FederalCongressBillDocument {
21
21
  readonly bill_document_type_id : FederalCongressBillDocumentTypeID
22
22
  readonly format_id : string
23
23
  readonly publish_time? : string
24
+ readonly url : string
24
25
  readonly s3_id? : string
25
26
 
26
27
  constructor(federal_congress_bill_document : any) {
@@ -37,6 +38,7 @@ export class FederalCongressBillDocument {
37
38
  this.bill_document_type_id = federal_congress_bill_document.bill_document_type_id
38
39
  this.format_id = federal_congress_bill_document.format_id
39
40
  this.publish_time = federal_congress_bill_document.publish_time
41
+ this.url = federal_congress_bill_document.url
40
42
  this.s3_id = federal_congress_bill_document.s3_id
41
43
  }
42
44
 
@@ -53,6 +55,7 @@ export class FederalCongressBillDocument {
53
55
  is_federal_congress_bill_document_type_id(federal_congress_bill_document.bill_document_type_id) &&
54
56
  typeof federal_congress_bill_document.format_id === "string" &&
55
57
  (federal_congress_bill_document.publish_time === undefined || typeof federal_congress_bill_document.publish_time === "string") &&
58
+ typeof federal_congress_bill_document.url === "string" &&
56
59
  (federal_congress_bill_document.s3_id === undefined || typeof federal_congress_bill_document.s3_id === "string")
57
60
  )
58
61
  }