triangle-types 1.0.355 → 1.0.357

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.
@@ -14,13 +14,13 @@ export declare class FederalElectionDonation {
14
14
  readonly donor_name_middle?: string;
15
15
  readonly donor_name_last: string;
16
16
  readonly donor_name_suffix?: string;
17
- readonly donor_occupation: string;
18
- readonly donor_employer: string;
19
- readonly donor_address_street_1: string;
20
- readonly donor_address_street_2?: string;
17
+ readonly donor_occupation_name: string;
18
+ readonly donor_employer_name: string;
19
+ readonly donor_address_1: string;
20
+ readonly donor_address_2?: string;
21
21
  readonly donor_address_city: string;
22
22
  readonly donor_address_state_id: StateID;
23
- readonly donor_address_zip: string;
23
+ readonly donor_address_zip_id: string;
24
24
  readonly donor_aggregate_ytd: number;
25
25
  readonly memo_text: string;
26
26
  readonly target_federal_election_committee_id?: string;
@@ -13,13 +13,13 @@ export class FederalElectionDonation {
13
13
  donor_name_middle;
14
14
  donor_name_last;
15
15
  donor_name_suffix;
16
- donor_occupation;
17
- donor_employer;
18
- donor_address_street_1;
19
- donor_address_street_2;
16
+ donor_occupation_name;
17
+ donor_employer_name;
18
+ donor_address_1;
19
+ donor_address_2;
20
20
  donor_address_city;
21
21
  donor_address_state_id;
22
- donor_address_zip;
22
+ donor_address_zip_id;
23
23
  donor_aggregate_ytd;
24
24
  memo_text;
25
25
  target_federal_election_committee_id;
@@ -41,13 +41,13 @@ export class FederalElectionDonation {
41
41
  this.donor_name_middle = federal_election_donation.donor_name_middle;
42
42
  this.donor_name_last = federal_election_donation.donor_name_last;
43
43
  this.donor_name_suffix = federal_election_donation.donor_name_suffix;
44
- this.donor_occupation = federal_election_donation.donor_occupation;
45
- this.donor_employer = federal_election_donation.donor_employer;
46
- this.donor_address_street_1 = federal_election_donation.donor_address_street_1;
47
- this.donor_address_street_2 = federal_election_donation.donor_address_street_2;
44
+ this.donor_occupation_name = federal_election_donation.donor_occupation_name;
45
+ this.donor_employer_name = federal_election_donation.donor_employer_name;
46
+ this.donor_address_1 = federal_election_donation.donor_address_1;
47
+ this.donor_address_2 = federal_election_donation.donor_address_2;
48
48
  this.donor_address_city = federal_election_donation.donor_address_city;
49
49
  this.donor_address_state_id = federal_election_donation.donor_address_state_id;
50
- this.donor_address_zip = federal_election_donation.donor_address_zip;
50
+ this.donor_address_zip_id = federal_election_donation.donor_address_zip_id;
51
51
  this.donor_aggregate_ytd = federal_election_donation.donor_aggregate_ytd;
52
52
  this.memo_text = federal_election_donation.memo_text;
53
53
  this.target_federal_election_committee_id = federal_election_donation.target_federal_election_committee_id;
@@ -68,13 +68,13 @@ export class FederalElectionDonation {
68
68
  (federal_election_donation.donor_name_middle === undefined || typeof federal_election_donation.donor_name_middle === "string") &&
69
69
  typeof federal_election_donation.donor_name_last === "string" &&
70
70
  (federal_election_donation.donor_name_suffix === undefined || typeof federal_election_donation.donor_name_suffix === "string") &&
71
- typeof federal_election_donation.donor_occupation === "string" &&
72
- typeof federal_election_donation.donor_employer === "string" &&
73
- typeof federal_election_donation.donor_address_street_1 === "string" &&
74
- (federal_election_donation.donor_address_street_2 === undefined || typeof federal_election_donation.donor_address_street_2 === "string") &&
71
+ typeof federal_election_donation.donor_occupation_name === "string" &&
72
+ typeof federal_election_donation.donor_employer_name === "string" &&
73
+ typeof federal_election_donation.donor_address_1 === "string" &&
74
+ (federal_election_donation.donor_address_2 === undefined || typeof federal_election_donation.donor_address_2 === "string") &&
75
75
  typeof federal_election_donation.donor_address_city === "string" &&
76
76
  typeof federal_election_donation.donor_address_state_id === "string" &&
77
- typeof federal_election_donation.donor_address_zip === "string" &&
77
+ typeof federal_election_donation.donor_address_zip_id === "string" &&
78
78
  typeof federal_election_donation.donor_aggregate_ytd === "number" && !isNaN(federal_election_donation.donor_aggregate_ytd) &&
79
79
  typeof federal_election_donation.memo_text === "string" &&
80
80
  (federal_election_donation.target_federal_election_committee_id === undefined || typeof federal_election_donation.target_federal_election_committee_id === "string"));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "triangle-types",
3
- "version": "1.0.355",
3
+ "version": "1.0.357",
4
4
  "main": "dist/src/index.js",
5
5
  "types": "dist/src/index.d.ts",
6
6
  "scripts": {
@@ -15,13 +15,13 @@ export class FederalElectionDonation {
15
15
  readonly donor_name_middle? : string
16
16
  readonly donor_name_last : string
17
17
  readonly donor_name_suffix? : string
18
- readonly donor_occupation : string
19
- readonly donor_employer : string
20
- readonly donor_address_street_1 : string
21
- readonly donor_address_street_2? : string
18
+ readonly donor_occupation_name : string
19
+ readonly donor_employer_name : string
20
+ readonly donor_address_1 : string
21
+ readonly donor_address_2? : string
22
22
  readonly donor_address_city : string
23
23
  readonly donor_address_state_id : StateID
24
- readonly donor_address_zip : string
24
+ readonly donor_address_zip_id : string
25
25
  readonly donor_aggregate_ytd : number
26
26
  readonly memo_text : string
27
27
  readonly target_federal_election_committee_id? : string
@@ -44,13 +44,13 @@ export class FederalElectionDonation {
44
44
  this.donor_name_middle = federal_election_donation.donor_name_middle
45
45
  this.donor_name_last = federal_election_donation.donor_name_last
46
46
  this.donor_name_suffix = federal_election_donation.donor_name_suffix
47
- this.donor_occupation = federal_election_donation.donor_occupation
48
- this.donor_employer = federal_election_donation.donor_employer
49
- this.donor_address_street_1 = federal_election_donation.donor_address_street_1
50
- this.donor_address_street_2 = federal_election_donation.donor_address_street_2
47
+ this.donor_occupation_name = federal_election_donation.donor_occupation_name
48
+ this.donor_employer_name = federal_election_donation.donor_employer_name
49
+ this.donor_address_1 = federal_election_donation.donor_address_1
50
+ this.donor_address_2 = federal_election_donation.donor_address_2
51
51
  this.donor_address_city = federal_election_donation.donor_address_city
52
52
  this.donor_address_state_id = federal_election_donation.donor_address_state_id
53
- this.donor_address_zip = federal_election_donation.donor_address_zip
53
+ this.donor_address_zip_id = federal_election_donation.donor_address_zip_id
54
54
  this.donor_aggregate_ytd = federal_election_donation.donor_aggregate_ytd
55
55
  this.memo_text = federal_election_donation.memo_text
56
56
  this.target_federal_election_committee_id = federal_election_donation.target_federal_election_committee_id
@@ -73,13 +73,13 @@ export class FederalElectionDonation {
73
73
  (federal_election_donation.donor_name_middle === undefined || typeof federal_election_donation.donor_name_middle === "string") &&
74
74
  typeof federal_election_donation.donor_name_last === "string" &&
75
75
  (federal_election_donation.donor_name_suffix === undefined || typeof federal_election_donation.donor_name_suffix === "string") &&
76
- typeof federal_election_donation.donor_occupation === "string" &&
77
- typeof federal_election_donation.donor_employer === "string" &&
78
- typeof federal_election_donation.donor_address_street_1 === "string" &&
79
- (federal_election_donation.donor_address_street_2 === undefined || typeof federal_election_donation.donor_address_street_2 === "string") &&
76
+ typeof federal_election_donation.donor_occupation_name === "string" &&
77
+ typeof federal_election_donation.donor_employer_name === "string" &&
78
+ typeof federal_election_donation.donor_address_1 === "string" &&
79
+ (federal_election_donation.donor_address_2 === undefined || typeof federal_election_donation.donor_address_2 === "string") &&
80
80
  typeof federal_election_donation.donor_address_city === "string" &&
81
81
  typeof federal_election_donation.donor_address_state_id === "string" &&
82
- typeof federal_election_donation.donor_address_zip === "string" &&
82
+ typeof federal_election_donation.donor_address_zip_id === "string" &&
83
83
  typeof federal_election_donation.donor_aggregate_ytd === "number" && !isNaN(federal_election_donation.donor_aggregate_ytd) &&
84
84
  typeof federal_election_donation.memo_text === "string" &&
85
85
  (federal_election_donation.target_federal_election_committee_id === undefined || typeof federal_election_donation.target_federal_election_committee_id === "string")