elections-types 1.0.50 → 1.0.51

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,7 +4,7 @@ export declare class FederalDonation {
4
4
  readonly receipt_date: string;
5
5
  readonly sub_id: string;
6
6
  readonly committee_id: string;
7
- readonly recipient_committee_id?: string;
7
+ readonly target_committee_id?: string;
8
8
  readonly file_number: number;
9
9
  readonly image_number: string;
10
10
  readonly amount: number;
@@ -3,7 +3,7 @@ export class FederalDonation {
3
3
  receipt_date;
4
4
  sub_id;
5
5
  committee_id;
6
- recipient_committee_id;
6
+ target_committee_id;
7
7
  file_number;
8
8
  image_number;
9
9
  amount;
@@ -31,7 +31,7 @@ export class FederalDonation {
31
31
  this.receipt_date = federal_donation.receipt_date;
32
32
  this.sub_id = federal_donation.sub_id;
33
33
  this.committee_id = federal_donation.committee_id;
34
- this.recipient_committee_id = federal_donation.recipient_committee_id;
34
+ this.target_committee_id = federal_donation.target_committee_id;
35
35
  this.file_number = federal_donation.file_number;
36
36
  this.image_number = federal_donation.image_number;
37
37
  this.amount = federal_donation.amount;
@@ -58,7 +58,7 @@ export class FederalDonation {
58
58
  typeof federal_donation.receipt_date === "string" &&
59
59
  typeof federal_donation.sub_id === "string" &&
60
60
  typeof federal_donation.committee_id === "string" &&
61
- typeof federal_donation.recipient_committee_id === "string" &&
61
+ typeof federal_donation.target_committee_id === "string" &&
62
62
  typeof federal_donation.file_number === "number" && !isNaN(federal_donation.file_number) &&
63
63
  typeof federal_donation.image_number === "string" &&
64
64
  typeof federal_donation.amount === "number" && !isNaN(federal_donation.amount) &&
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "elections-types",
3
- "version": "1.0.50",
3
+ "version": "1.0.51",
4
4
  "main": "dist/src/index.js",
5
5
  "types": "dist/src/index.d.ts",
6
6
  "directories": {
@@ -5,7 +5,7 @@ export class FederalDonation {
5
5
  readonly receipt_date : string
6
6
  readonly sub_id : string
7
7
  readonly committee_id : string
8
- readonly recipient_committee_id? : string
8
+ readonly target_committee_id? : string
9
9
  readonly file_number : number
10
10
  readonly image_number : string
11
11
  readonly amount : number
@@ -34,7 +34,7 @@ export class FederalDonation {
34
34
  this.receipt_date = federal_donation.receipt_date
35
35
  this.sub_id = federal_donation.sub_id
36
36
  this.committee_id = federal_donation.committee_id
37
- this.recipient_committee_id = federal_donation.recipient_committee_id
37
+ this.target_committee_id = federal_donation.target_committee_id
38
38
  this.file_number = federal_donation.file_number
39
39
  this.image_number = federal_donation.image_number
40
40
  this.amount = federal_donation.amount
@@ -63,7 +63,7 @@ export class FederalDonation {
63
63
  typeof federal_donation.receipt_date === "string" &&
64
64
  typeof federal_donation.sub_id === "string" &&
65
65
  typeof federal_donation.committee_id === "string" &&
66
- typeof federal_donation.recipient_committee_id === "string" &&
66
+ typeof federal_donation.target_committee_id === "string" &&
67
67
  typeof federal_donation.file_number === "number" && !isNaN(federal_donation.file_number) &&
68
68
  typeof federal_donation.image_number === "string" &&
69
69
  typeof federal_donation.amount === "number" && !isNaN(federal_donation.amount) &&