triangle-types 1.0.326 → 1.0.328

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.
@@ -5,11 +5,10 @@ export declare class FederalLobbyClient {
5
5
  readonly name: string;
6
6
  readonly effective_date?: string;
7
7
  readonly description?: string;
8
- readonly address_city?: string;
9
8
  readonly address_state_id?: string;
10
- readonly address_country: string;
9
+ readonly address_country_id: string;
11
10
  readonly ppb_address_state_id?: string;
12
- readonly ppb_address_country: string;
11
+ readonly ppb_address_country_id: string;
13
12
  constructor(federal_lobby_client: any);
14
13
  static is(federal_lobby_client: any): federal_lobby_client is FederalLobbyClient;
15
14
  }
@@ -5,11 +5,10 @@ export class FederalLobbyClient {
5
5
  name;
6
6
  effective_date;
7
7
  description;
8
- address_city;
9
8
  address_state_id;
10
- address_country;
9
+ address_country_id;
11
10
  ppb_address_state_id;
12
- ppb_address_country;
11
+ ppb_address_country_id;
13
12
  constructor(federal_lobby_client) {
14
13
  if (!FederalLobbyClient.is(federal_lobby_client)) {
15
14
  throw Error("Invalid input.");
@@ -20,11 +19,10 @@ export class FederalLobbyClient {
20
19
  this.name = federal_lobby_client.name;
21
20
  this.description = federal_lobby_client.description;
22
21
  this.effective_date = federal_lobby_client.effective_date;
23
- this.address_city = federal_lobby_client.address_city;
24
22
  this.address_state_id = federal_lobby_client.address_state_id;
25
- this.address_country = federal_lobby_client.address_country;
23
+ this.address_country_id = federal_lobby_client.address_country_id;
26
24
  this.ppb_address_state_id = federal_lobby_client.ppb_address_state_id;
27
- this.ppb_address_country = federal_lobby_client.ppb_address_country;
25
+ this.ppb_address_country_id = federal_lobby_client.ppb_address_country_id;
28
26
  }
29
27
  static is(federal_lobby_client) {
30
28
  return (federal_lobby_client !== undefined &&
@@ -34,10 +32,9 @@ export class FederalLobbyClient {
34
32
  typeof federal_lobby_client.name === "string" &&
35
33
  (federal_lobby_client.description === undefined || typeof federal_lobby_client.description === "string") &&
36
34
  (federal_lobby_client.effective_date === undefined || typeof federal_lobby_client.effective_date === "string") &&
37
- (federal_lobby_client.address_city === undefined || typeof federal_lobby_client.address_city === "string") &&
38
35
  (federal_lobby_client.address_state_id === undefined || typeof federal_lobby_client.address_state_id === "string") &&
39
- typeof federal_lobby_client.address_country === "string" &&
36
+ typeof federal_lobby_client.address_country_id === "string" &&
40
37
  (federal_lobby_client.ppb_address_state_id === undefined || typeof federal_lobby_client.ppb_address_state_id === "string") &&
41
- typeof federal_lobby_client.ppb_address_country === "string");
38
+ typeof federal_lobby_client.ppb_address_country_id === "string");
42
39
  }
43
40
  }
@@ -12,10 +12,10 @@ export declare class FederalLobbyDocumentForeignInterest {
12
12
  readonly address_1?: string;
13
13
  readonly address_city?: string;
14
14
  readonly address_state_id?: string;
15
- readonly address_country?: string;
15
+ readonly address_country_id?: string;
16
16
  readonly ppb_address_city?: string;
17
17
  readonly ppb_address_state_id?: string;
18
- readonly ppb_address_country?: string;
18
+ readonly ppb_address_country_id?: string;
19
19
  constructor(federal_lobby_document_foreign_interest: any);
20
20
  static is(federal_lobby_document_foreign_interest: any): federal_lobby_document_foreign_interest is FederalLobbyDocumentForeignInterest;
21
21
  }
@@ -28,11 +28,11 @@ export declare class FederalLobbyDocumentAffiliation {
28
28
  readonly address_4?: string;
29
29
  readonly address_city?: string;
30
30
  readonly address_state_id?: string;
31
- readonly address_zip?: string;
32
- readonly address_country?: string;
31
+ readonly address_zip_id?: string;
32
+ readonly address_country_id?: string;
33
33
  readonly ppb_address_city?: string;
34
34
  readonly ppb_address_state_id?: string;
35
- readonly ppb_address_country?: string;
35
+ readonly ppb_address_country_id?: string;
36
36
  constructor(federal_lobby_document_affiliation: any);
37
37
  static is(federal_lobby_document_affiliation: any): federal_lobby_document_affiliation is FederalLobbyDocumentAffiliation;
38
38
  }
@@ -55,9 +55,9 @@ export declare class FederalLobbyDocument {
55
55
  readonly registrant_address_different?: boolean;
56
56
  readonly registrant_address_city?: string;
57
57
  readonly registrant_address_state_id?: string;
58
- readonly registrant_address_zip?: string;
59
- readonly registrant_address_country?: string;
60
- readonly registrant_ppb_address_country?: string;
58
+ readonly registrant_address_zip_id?: string;
59
+ readonly registrant_address_country_id?: string;
60
+ readonly registrant_ppb_address_country_id?: string;
61
61
  readonly convictions: FederalLobbyDocumentConviction[];
62
62
  readonly foreign_interests: FederalLobbyDocumentForeignInterest[];
63
63
  readonly affiliations: FederalLobbyDocumentAffiliation[];
@@ -24,10 +24,10 @@ export class FederalLobbyDocumentForeignInterest {
24
24
  address_1;
25
25
  address_city;
26
26
  address_state_id;
27
- address_country;
27
+ address_country_id;
28
28
  ppb_address_city;
29
29
  ppb_address_state_id;
30
- ppb_address_country;
30
+ ppb_address_country_id;
31
31
  constructor(federal_lobby_document_foreign_interest) {
32
32
  if (!FederalLobbyDocumentForeignInterest.is(federal_lobby_document_foreign_interest)) {
33
33
  throw Error("Invalid input.");
@@ -38,10 +38,10 @@ export class FederalLobbyDocumentForeignInterest {
38
38
  this.address_1 = federal_lobby_document_foreign_interest.address_1;
39
39
  this.address_city = federal_lobby_document_foreign_interest.address_city;
40
40
  this.address_state_id = federal_lobby_document_foreign_interest.address_state_id;
41
- this.address_country = federal_lobby_document_foreign_interest.address_country;
41
+ this.address_country_id = federal_lobby_document_foreign_interest.address_country_id;
42
42
  this.ppb_address_city = federal_lobby_document_foreign_interest.ppb_address_city;
43
43
  this.ppb_address_state_id = federal_lobby_document_foreign_interest.ppb_address_state_id;
44
- this.ppb_address_country = federal_lobby_document_foreign_interest.ppb_address_country;
44
+ this.ppb_address_country_id = federal_lobby_document_foreign_interest.ppb_address_country_id;
45
45
  }
46
46
  static is(federal_lobby_document_foreign_interest) {
47
47
  return (federal_lobby_document_foreign_interest !== undefined &&
@@ -51,10 +51,10 @@ export class FederalLobbyDocumentForeignInterest {
51
51
  (federal_lobby_document_foreign_interest.address_1 === undefined || typeof federal_lobby_document_foreign_interest.address_1 === "string") &&
52
52
  (federal_lobby_document_foreign_interest.address_city === undefined || typeof federal_lobby_document_foreign_interest.address_city === "string") &&
53
53
  (federal_lobby_document_foreign_interest.address_state_id === undefined || typeof federal_lobby_document_foreign_interest.address_state_id === "string") &&
54
- (federal_lobby_document_foreign_interest.address_country === undefined || typeof federal_lobby_document_foreign_interest.address_country === "string") &&
54
+ (federal_lobby_document_foreign_interest.address_country_id === undefined || typeof federal_lobby_document_foreign_interest.address_country_id === "string") &&
55
55
  (federal_lobby_document_foreign_interest.ppb_address_city === undefined || typeof federal_lobby_document_foreign_interest.ppb_address_city === "string") &&
56
56
  (federal_lobby_document_foreign_interest.ppb_address_state_id === undefined || typeof federal_lobby_document_foreign_interest.ppb_address_state_id === "string") &&
57
- (federal_lobby_document_foreign_interest.ppb_address_country === undefined || typeof federal_lobby_document_foreign_interest.ppb_address_country === "string"));
57
+ (federal_lobby_document_foreign_interest.ppb_address_country_id === undefined || typeof federal_lobby_document_foreign_interest.ppb_address_country_id === "string"));
58
58
  }
59
59
  }
60
60
  export class FederalLobbyDocumentAffiliation {
@@ -66,11 +66,11 @@ export class FederalLobbyDocumentAffiliation {
66
66
  address_4;
67
67
  address_city;
68
68
  address_state_id;
69
- address_zip;
70
- address_country;
69
+ address_zip_id;
70
+ address_country_id;
71
71
  ppb_address_city;
72
72
  ppb_address_state_id;
73
- ppb_address_country;
73
+ ppb_address_country_id;
74
74
  constructor(federal_lobby_document_affiliation) {
75
75
  if (!FederalLobbyDocumentAffiliation.is(federal_lobby_document_affiliation)) {
76
76
  throw Error("Invalid input.");
@@ -83,11 +83,11 @@ export class FederalLobbyDocumentAffiliation {
83
83
  this.address_4 = federal_lobby_document_affiliation.address_4;
84
84
  this.address_city = federal_lobby_document_affiliation.address_city;
85
85
  this.address_state_id = federal_lobby_document_affiliation.address_state_id;
86
- this.address_zip = federal_lobby_document_affiliation.address_zip;
87
- this.address_country = federal_lobby_document_affiliation.address_country;
86
+ this.address_zip_id = federal_lobby_document_affiliation.address_zip_id;
87
+ this.address_country_id = federal_lobby_document_affiliation.address_country_id;
88
88
  this.ppb_address_city = federal_lobby_document_affiliation.ppb_address_city;
89
89
  this.ppb_address_state_id = federal_lobby_document_affiliation.ppb_address_state_id;
90
- this.ppb_address_country = federal_lobby_document_affiliation.ppb_address_country;
90
+ this.ppb_address_country_id = federal_lobby_document_affiliation.ppb_address_country_id;
91
91
  }
92
92
  static is(federal_lobby_document_affiliation) {
93
93
  return (federal_lobby_document_affiliation !== undefined &&
@@ -99,11 +99,11 @@ export class FederalLobbyDocumentAffiliation {
99
99
  (federal_lobby_document_affiliation.address_4 === undefined || typeof federal_lobby_document_affiliation.address_4 === "string") &&
100
100
  (federal_lobby_document_affiliation.address_city === undefined || typeof federal_lobby_document_affiliation.address_city === "string") &&
101
101
  (federal_lobby_document_affiliation.address_state_id === undefined || typeof federal_lobby_document_affiliation.address_state_id === "string") &&
102
- (federal_lobby_document_affiliation.address_zip === undefined || typeof federal_lobby_document_affiliation.address_zip === "string") &&
103
- (federal_lobby_document_affiliation.address_country === undefined || typeof federal_lobby_document_affiliation.address_country === "string") &&
102
+ (federal_lobby_document_affiliation.address_zip_id === undefined || typeof federal_lobby_document_affiliation.address_zip_id === "string") &&
103
+ (federal_lobby_document_affiliation.address_country_id === undefined || typeof federal_lobby_document_affiliation.address_country_id === "string") &&
104
104
  (federal_lobby_document_affiliation.ppb_address_city === undefined || typeof federal_lobby_document_affiliation.ppb_address_city === "string") &&
105
105
  (federal_lobby_document_affiliation.ppb_address_state_id === undefined || typeof federal_lobby_document_affiliation.ppb_address_state_id === "string") &&
106
- (federal_lobby_document_affiliation.ppb_address_country === undefined || typeof federal_lobby_document_affiliation.ppb_address_country === "string"));
106
+ (federal_lobby_document_affiliation.ppb_address_country_id === undefined || typeof federal_lobby_document_affiliation.ppb_address_country_id === "string"));
107
107
  }
108
108
  }
109
109
  export class FederalLobbyDocument {
@@ -125,9 +125,9 @@ export class FederalLobbyDocument {
125
125
  registrant_address_different;
126
126
  registrant_address_city;
127
127
  registrant_address_state_id;
128
- registrant_address_zip;
129
- registrant_address_country;
130
- registrant_ppb_address_country;
128
+ registrant_address_zip_id;
129
+ registrant_address_country_id;
130
+ registrant_ppb_address_country_id;
131
131
  convictions;
132
132
  foreign_interests;
133
133
  affiliations;
@@ -153,9 +153,9 @@ export class FederalLobbyDocument {
153
153
  this.registrant_address_different = federal_lobby_document.registrant_address_different;
154
154
  this.registrant_address_city = federal_lobby_document.registrant_address_city;
155
155
  this.registrant_address_state_id = federal_lobby_document.registrant_address_state_id;
156
- this.registrant_address_zip = federal_lobby_document.registrant_address_zip;
157
- this.registrant_address_country = federal_lobby_document.registrant_address_country;
158
- this.registrant_ppb_address_country = federal_lobby_document.registrant_ppb_address_country;
156
+ this.registrant_address_zip_id = federal_lobby_document.registrant_address_zip_id;
157
+ this.registrant_address_country_id = federal_lobby_document.registrant_address_country_id;
158
+ this.registrant_ppb_address_country_id = federal_lobby_document.registrant_ppb_address_country_id;
159
159
  this.convictions = federal_lobby_document.convictions;
160
160
  this.foreign_interests = federal_lobby_document.foreign_interests;
161
161
  this.affiliations = federal_lobby_document.affiliations;
@@ -180,9 +180,9 @@ export class FederalLobbyDocument {
180
180
  (federal_lobby_document.registrant_address_different === undefined || typeof federal_lobby_document.registrant_address_different === "boolean") &&
181
181
  (federal_lobby_document.registrant_address_city === undefined || typeof federal_lobby_document.registrant_address_city === "string") &&
182
182
  (federal_lobby_document.registrant_address_state_id === undefined || typeof federal_lobby_document.registrant_address_state_id === "string") &&
183
- (federal_lobby_document.registrant_address_zip === undefined || typeof federal_lobby_document.registrant_address_zip === "string") &&
184
- (federal_lobby_document.registrant_address_country === undefined || typeof federal_lobby_document.registrant_address_country === "string") &&
185
- (federal_lobby_document.registrant_ppb_address_country === undefined || typeof federal_lobby_document.registrant_ppb_address_country === "string") &&
183
+ (federal_lobby_document.registrant_address_zip_id === undefined || typeof federal_lobby_document.registrant_address_zip_id === "string") &&
184
+ (federal_lobby_document.registrant_address_country_id === undefined || typeof federal_lobby_document.registrant_address_country_id === "string") &&
185
+ (federal_lobby_document.registrant_ppb_address_country_id === undefined || typeof federal_lobby_document.registrant_ppb_address_country_id === "string") &&
186
186
  Array.isArray(federal_lobby_document.convictions) && federal_lobby_document.convictions.every(FederalLobbyDocumentConviction.is) &&
187
187
  Array.isArray(federal_lobby_document.foreign_interests) && federal_lobby_document.foreign_interests.every(FederalLobbyDocumentForeignInterest.is) &&
188
188
  Array.isArray(federal_lobby_document.affiliations) && federal_lobby_document.affiliations.every(FederalLobbyDocumentAffiliation.is));
@@ -1,12 +1,12 @@
1
1
  export declare class FederalLobbyLobbyist {
2
2
  readonly federal_lobby_lobbyist_id: number;
3
3
  readonly federal_lobby_registrant_id: number;
4
- readonly prefix?: string;
5
- readonly first_name?: string;
6
- readonly nickname?: string;
7
- readonly middle_name?: string;
8
- readonly last_name?: string;
9
- readonly suffix?: string;
4
+ readonly name_prefix?: string;
5
+ readonly name_first?: string;
6
+ readonly name_middle?: string;
7
+ readonly name_last?: string;
8
+ readonly name_suffix?: string;
9
+ readonly name_nick?: string;
10
10
  constructor(federal_lobby_lobbyist: any);
11
11
  static is(federal_lobby_lobbyist: any): federal_lobby_lobbyist is FederalLobbyLobbyist;
12
12
  }
@@ -1,34 +1,34 @@
1
1
  export class FederalLobbyLobbyist {
2
2
  federal_lobby_lobbyist_id;
3
3
  federal_lobby_registrant_id;
4
- prefix;
5
- first_name;
6
- nickname;
7
- middle_name;
8
- last_name;
9
- suffix;
4
+ name_prefix;
5
+ name_first;
6
+ name_middle;
7
+ name_last;
8
+ name_suffix;
9
+ name_nick;
10
10
  constructor(federal_lobby_lobbyist) {
11
11
  if (!FederalLobbyLobbyist.is(federal_lobby_lobbyist)) {
12
12
  throw Error("Invalid input.");
13
13
  }
14
14
  this.federal_lobby_lobbyist_id = federal_lobby_lobbyist.federal_lobby_lobbyist_id;
15
15
  this.federal_lobby_registrant_id = federal_lobby_lobbyist.federal_lobby_registrant_id;
16
- this.prefix = federal_lobby_lobbyist.prefix;
17
- this.first_name = federal_lobby_lobbyist.first_name;
18
- this.nickname = federal_lobby_lobbyist.nickname;
19
- this.middle_name = federal_lobby_lobbyist.middle_name;
20
- this.last_name = federal_lobby_lobbyist.last_name;
21
- this.suffix = federal_lobby_lobbyist.suffix;
16
+ this.name_prefix = federal_lobby_lobbyist.name_prefix;
17
+ this.name_first = federal_lobby_lobbyist.name_first;
18
+ this.name_middle = federal_lobby_lobbyist.name_middle;
19
+ this.name_last = federal_lobby_lobbyist.name_last;
20
+ this.name_suffix = federal_lobby_lobbyist.name_suffix;
21
+ this.name_nick = federal_lobby_lobbyist.name_nick;
22
22
  }
23
23
  static is(federal_lobby_lobbyist) {
24
24
  return (federal_lobby_lobbyist !== undefined &&
25
25
  typeof federal_lobby_lobbyist.federal_lobby_lobbyist_id === "number" &&
26
26
  typeof federal_lobby_lobbyist.federal_lobby_registrant_id === "number" &&
27
- (federal_lobby_lobbyist.prefix === undefined || typeof federal_lobby_lobbyist.prefix === "string") &&
28
- (federal_lobby_lobbyist.first_name === undefined || typeof federal_lobby_lobbyist.first_name === "string") &&
29
- (federal_lobby_lobbyist.nickname === undefined || typeof federal_lobby_lobbyist.nickname === "string") &&
30
- (federal_lobby_lobbyist.middle_name === undefined || typeof federal_lobby_lobbyist.middle_name === "string") &&
31
- (federal_lobby_lobbyist.last_name === undefined || typeof federal_lobby_lobbyist.last_name === "string") &&
32
- (federal_lobby_lobbyist.suffix === undefined || typeof federal_lobby_lobbyist.suffix === "string"));
27
+ (federal_lobby_lobbyist.name_prefix === undefined || typeof federal_lobby_lobbyist.name_prefix === "string") &&
28
+ (federal_lobby_lobbyist.name_first === undefined || typeof federal_lobby_lobbyist.name_first === "string") &&
29
+ (federal_lobby_lobbyist.name_middle === undefined || typeof federal_lobby_lobbyist.name_middle === "string") &&
30
+ (federal_lobby_lobbyist.name_last === undefined || typeof federal_lobby_lobbyist.name_last === "string") &&
31
+ (federal_lobby_lobbyist.name_suffix === undefined || typeof federal_lobby_lobbyist.name_suffix === "string") &&
32
+ (federal_lobby_lobbyist.name_nick === undefined || typeof federal_lobby_lobbyist.name_nick === "string"));
33
33
  }
34
34
  }
@@ -9,9 +9,9 @@ export declare class FederalLobbyRegistrant {
9
9
  readonly address_4?: string;
10
10
  readonly address_city?: string;
11
11
  readonly address_state_id?: string;
12
- readonly address_zip?: string;
13
- readonly address_country: string;
14
- readonly ppb_address_country: string;
12
+ readonly address_zip_id?: string;
13
+ readonly address_country_id: string;
14
+ readonly ppb_address_country_id: string;
15
15
  readonly contact_name?: string;
16
16
  readonly contact_phone?: string;
17
17
  readonly modify_time: string;
@@ -9,9 +9,9 @@ export class FederalLobbyRegistrant {
9
9
  address_4;
10
10
  address_city;
11
11
  address_state_id;
12
- address_zip;
13
- address_country;
14
- ppb_address_country;
12
+ address_zip_id;
13
+ address_country_id;
14
+ ppb_address_country_id;
15
15
  contact_name;
16
16
  contact_phone;
17
17
  modify_time;
@@ -29,9 +29,9 @@ export class FederalLobbyRegistrant {
29
29
  this.address_4 = federal_lobby_registrant.address_4;
30
30
  this.address_city = federal_lobby_registrant.address_city;
31
31
  this.address_state_id = federal_lobby_registrant.address_state_id;
32
- this.address_zip = federal_lobby_registrant.address_zip;
33
- this.address_country = federal_lobby_registrant.address_country;
34
- this.ppb_address_country = federal_lobby_registrant.ppb_address_country;
32
+ this.address_zip_id = federal_lobby_registrant.address_zip_id;
33
+ this.address_country_id = federal_lobby_registrant.address_country_id;
34
+ this.ppb_address_country_id = federal_lobby_registrant.ppb_address_country_id;
35
35
  this.contact_name = federal_lobby_registrant.contact_name;
36
36
  this.contact_phone = federal_lobby_registrant.contact_phone;
37
37
  this.modify_time = federal_lobby_registrant.modify_time;
@@ -48,9 +48,9 @@ export class FederalLobbyRegistrant {
48
48
  (federal_lobby_registrant.address_4 === undefined || typeof federal_lobby_registrant.address_4 === "string") &&
49
49
  (federal_lobby_registrant.address_city === undefined || typeof federal_lobby_registrant.address_city === "string") &&
50
50
  (federal_lobby_registrant.address_state_id === undefined || typeof federal_lobby_registrant.address_state_id === "string") &&
51
- (federal_lobby_registrant.address_zip === undefined || typeof federal_lobby_registrant.address_zip === "string") &&
52
- typeof federal_lobby_registrant.address_country === "string" &&
53
- typeof federal_lobby_registrant.ppb_address_country === "string" &&
51
+ (federal_lobby_registrant.address_zip_id === undefined || typeof federal_lobby_registrant.address_zip_id === "string") &&
52
+ typeof federal_lobby_registrant.address_country_id === "string" &&
53
+ typeof federal_lobby_registrant.ppb_address_country_id === "string" &&
54
54
  (federal_lobby_registrant.contact_name === undefined || typeof federal_lobby_registrant.contact_name === "string") &&
55
55
  (federal_lobby_registrant.contact_phone === undefined || typeof federal_lobby_registrant.contact_phone === "string") &&
56
56
  typeof federal_lobby_registrant.modify_time === "string");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "triangle-types",
3
- "version": "1.0.326",
3
+ "version": "1.0.328",
4
4
  "main": "dist/src/index.js",
5
5
  "types": "dist/src/index.d.ts",
6
6
  "scripts": {
@@ -5,11 +5,10 @@ export class FederalLobbyClient {
5
5
  readonly name : string
6
6
  readonly effective_date? : string
7
7
  readonly description? : string
8
- readonly address_city? : string
9
8
  readonly address_state_id? : string
10
- readonly address_country : string
9
+ readonly address_country_id : string
11
10
  readonly ppb_address_state_id? : string
12
- readonly ppb_address_country : string
11
+ readonly ppb_address_country_id : string
13
12
 
14
13
  constructor(federal_lobby_client : any) {
15
14
  if (!FederalLobbyClient.is(federal_lobby_client)) {
@@ -21,11 +20,10 @@ export class FederalLobbyClient {
21
20
  this.name = federal_lobby_client.name
22
21
  this.description = federal_lobby_client.description
23
22
  this.effective_date = federal_lobby_client.effective_date
24
- this.address_city = federal_lobby_client.address_city
25
23
  this.address_state_id = federal_lobby_client.address_state_id
26
- this.address_country = federal_lobby_client.address_country
24
+ this.address_country_id = federal_lobby_client.address_country_id
27
25
  this.ppb_address_state_id = federal_lobby_client.ppb_address_state_id
28
- this.ppb_address_country = federal_lobby_client.ppb_address_country
26
+ this.ppb_address_country_id = federal_lobby_client.ppb_address_country_id
29
27
  }
30
28
 
31
29
  static is(federal_lobby_client : any) : federal_lobby_client is FederalLobbyClient {
@@ -37,11 +35,10 @@ export class FederalLobbyClient {
37
35
  typeof federal_lobby_client.name === "string" &&
38
36
  (federal_lobby_client.description === undefined || typeof federal_lobby_client.description === "string") &&
39
37
  (federal_lobby_client.effective_date === undefined || typeof federal_lobby_client.effective_date === "string") &&
40
- (federal_lobby_client.address_city === undefined || typeof federal_lobby_client.address_city === "string") &&
41
38
  (federal_lobby_client.address_state_id === undefined || typeof federal_lobby_client.address_state_id === "string") &&
42
- typeof federal_lobby_client.address_country === "string" &&
39
+ typeof federal_lobby_client.address_country_id === "string" &&
43
40
  (federal_lobby_client.ppb_address_state_id === undefined || typeof federal_lobby_client.ppb_address_state_id === "string") &&
44
- typeof federal_lobby_client.ppb_address_country === "string"
41
+ typeof federal_lobby_client.ppb_address_country_id === "string"
45
42
  )
46
43
  }
47
44
  }
@@ -29,10 +29,10 @@ export class FederalLobbyDocumentForeignInterest {
29
29
  readonly address_1? : string
30
30
  readonly address_city? : string
31
31
  readonly address_state_id? : string
32
- readonly address_country? : string
32
+ readonly address_country_id? : string
33
33
  readonly ppb_address_city? : string
34
34
  readonly ppb_address_state_id? : string
35
- readonly ppb_address_country? : string
35
+ readonly ppb_address_country_id? : string
36
36
 
37
37
  constructor(federal_lobby_document_foreign_interest : any) {
38
38
  if (!FederalLobbyDocumentForeignInterest.is(federal_lobby_document_foreign_interest)) {
@@ -44,10 +44,10 @@ export class FederalLobbyDocumentForeignInterest {
44
44
  this.address_1 = federal_lobby_document_foreign_interest.address_1
45
45
  this.address_city = federal_lobby_document_foreign_interest.address_city
46
46
  this.address_state_id = federal_lobby_document_foreign_interest.address_state_id
47
- this.address_country = federal_lobby_document_foreign_interest.address_country
47
+ this.address_country_id = federal_lobby_document_foreign_interest.address_country_id
48
48
  this.ppb_address_city = federal_lobby_document_foreign_interest.ppb_address_city
49
49
  this.ppb_address_state_id = federal_lobby_document_foreign_interest.ppb_address_state_id
50
- this.ppb_address_country = federal_lobby_document_foreign_interest.ppb_address_country
50
+ this.ppb_address_country_id = federal_lobby_document_foreign_interest.ppb_address_country_id
51
51
  }
52
52
 
53
53
  static is(federal_lobby_document_foreign_interest : any) : federal_lobby_document_foreign_interest is FederalLobbyDocumentForeignInterest {
@@ -59,10 +59,10 @@ export class FederalLobbyDocumentForeignInterest {
59
59
  (federal_lobby_document_foreign_interest.address_1 === undefined || typeof federal_lobby_document_foreign_interest.address_1 === "string") &&
60
60
  (federal_lobby_document_foreign_interest.address_city === undefined || typeof federal_lobby_document_foreign_interest.address_city === "string") &&
61
61
  (federal_lobby_document_foreign_interest.address_state_id === undefined || typeof federal_lobby_document_foreign_interest.address_state_id === "string") &&
62
- (federal_lobby_document_foreign_interest.address_country === undefined || typeof federal_lobby_document_foreign_interest.address_country === "string") &&
62
+ (federal_lobby_document_foreign_interest.address_country_id === undefined || typeof federal_lobby_document_foreign_interest.address_country_id === "string") &&
63
63
  (federal_lobby_document_foreign_interest.ppb_address_city === undefined || typeof federal_lobby_document_foreign_interest.ppb_address_city === "string") &&
64
64
  (federal_lobby_document_foreign_interest.ppb_address_state_id === undefined || typeof federal_lobby_document_foreign_interest.ppb_address_state_id === "string") &&
65
- (federal_lobby_document_foreign_interest.ppb_address_country === undefined || typeof federal_lobby_document_foreign_interest.ppb_address_country === "string")
65
+ (federal_lobby_document_foreign_interest.ppb_address_country_id === undefined || typeof federal_lobby_document_foreign_interest.ppb_address_country_id === "string")
66
66
  )
67
67
  }
68
68
  }
@@ -76,11 +76,11 @@ export class FederalLobbyDocumentAffiliation {
76
76
  readonly address_4? : string
77
77
  readonly address_city? : string
78
78
  readonly address_state_id? : string
79
- readonly address_zip? : string
80
- readonly address_country? : string
79
+ readonly address_zip_id? : string
80
+ readonly address_country_id? : string
81
81
  readonly ppb_address_city? : string
82
82
  readonly ppb_address_state_id? : string
83
- readonly ppb_address_country? : string
83
+ readonly ppb_address_country_id? : string
84
84
 
85
85
  constructor(federal_lobby_document_affiliation : any) {
86
86
  if (!FederalLobbyDocumentAffiliation.is(federal_lobby_document_affiliation)) {
@@ -94,11 +94,11 @@ export class FederalLobbyDocumentAffiliation {
94
94
  this.address_4 = federal_lobby_document_affiliation.address_4
95
95
  this.address_city = federal_lobby_document_affiliation.address_city
96
96
  this.address_state_id = federal_lobby_document_affiliation.address_state_id
97
- this.address_zip = federal_lobby_document_affiliation.address_zip
98
- this.address_country = federal_lobby_document_affiliation.address_country
97
+ this.address_zip_id = federal_lobby_document_affiliation.address_zip_id
98
+ this.address_country_id = federal_lobby_document_affiliation.address_country_id
99
99
  this.ppb_address_city = federal_lobby_document_affiliation.ppb_address_city
100
100
  this.ppb_address_state_id = federal_lobby_document_affiliation.ppb_address_state_id
101
- this.ppb_address_country = federal_lobby_document_affiliation.ppb_address_country
101
+ this.ppb_address_country_id = federal_lobby_document_affiliation.ppb_address_country_id
102
102
  }
103
103
 
104
104
  static is(federal_lobby_document_affiliation : any) : federal_lobby_document_affiliation is FederalLobbyDocumentAffiliation {
@@ -112,11 +112,11 @@ export class FederalLobbyDocumentAffiliation {
112
112
  (federal_lobby_document_affiliation.address_4 === undefined || typeof federal_lobby_document_affiliation.address_4 === "string") &&
113
113
  (federal_lobby_document_affiliation.address_city === undefined || typeof federal_lobby_document_affiliation.address_city === "string") &&
114
114
  (federal_lobby_document_affiliation.address_state_id === undefined || typeof federal_lobby_document_affiliation.address_state_id === "string") &&
115
- (federal_lobby_document_affiliation.address_zip === undefined || typeof federal_lobby_document_affiliation.address_zip === "string") &&
116
- (federal_lobby_document_affiliation.address_country === undefined || typeof federal_lobby_document_affiliation.address_country === "string") &&
115
+ (federal_lobby_document_affiliation.address_zip_id === undefined || typeof federal_lobby_document_affiliation.address_zip_id === "string") &&
116
+ (federal_lobby_document_affiliation.address_country_id === undefined || typeof federal_lobby_document_affiliation.address_country_id === "string") &&
117
117
  (federal_lobby_document_affiliation.ppb_address_city === undefined || typeof federal_lobby_document_affiliation.ppb_address_city === "string") &&
118
118
  (federal_lobby_document_affiliation.ppb_address_state_id === undefined || typeof federal_lobby_document_affiliation.ppb_address_state_id === "string") &&
119
- (federal_lobby_document_affiliation.ppb_address_country === undefined || typeof federal_lobby_document_affiliation.ppb_address_country === "string")
119
+ (federal_lobby_document_affiliation.ppb_address_country_id === undefined || typeof federal_lobby_document_affiliation.ppb_address_country_id === "string")
120
120
  )
121
121
  }
122
122
  }
@@ -140,9 +140,9 @@ export class FederalLobbyDocument {
140
140
  readonly registrant_address_different? : boolean
141
141
  readonly registrant_address_city? : string
142
142
  readonly registrant_address_state_id? : string
143
- readonly registrant_address_zip? : string
144
- readonly registrant_address_country? : string
145
- readonly registrant_ppb_address_country? : string
143
+ readonly registrant_address_zip_id? : string
144
+ readonly registrant_address_country_id? : string
145
+ readonly registrant_ppb_address_country_id? : string
146
146
  readonly convictions : FederalLobbyDocumentConviction[]
147
147
  readonly foreign_interests : FederalLobbyDocumentForeignInterest[]
148
148
  readonly affiliations : FederalLobbyDocumentAffiliation[]
@@ -169,9 +169,9 @@ export class FederalLobbyDocument {
169
169
  this.registrant_address_different = federal_lobby_document.registrant_address_different
170
170
  this.registrant_address_city = federal_lobby_document.registrant_address_city
171
171
  this.registrant_address_state_id = federal_lobby_document.registrant_address_state_id
172
- this.registrant_address_zip = federal_lobby_document.registrant_address_zip
173
- this.registrant_address_country = federal_lobby_document.registrant_address_country
174
- this.registrant_ppb_address_country = federal_lobby_document.registrant_ppb_address_country
172
+ this.registrant_address_zip_id = federal_lobby_document.registrant_address_zip_id
173
+ this.registrant_address_country_id = federal_lobby_document.registrant_address_country_id
174
+ this.registrant_ppb_address_country_id = federal_lobby_document.registrant_ppb_address_country_id
175
175
  this.convictions = federal_lobby_document.convictions
176
176
  this.foreign_interests = federal_lobby_document.foreign_interests
177
177
  this.affiliations = federal_lobby_document.affiliations
@@ -198,9 +198,9 @@ export class FederalLobbyDocument {
198
198
  (federal_lobby_document.registrant_address_different === undefined || typeof federal_lobby_document.registrant_address_different === "boolean") &&
199
199
  (federal_lobby_document.registrant_address_city === undefined || typeof federal_lobby_document.registrant_address_city === "string") &&
200
200
  (federal_lobby_document.registrant_address_state_id === undefined || typeof federal_lobby_document.registrant_address_state_id === "string") &&
201
- (federal_lobby_document.registrant_address_zip === undefined || typeof federal_lobby_document.registrant_address_zip === "string") &&
202
- (federal_lobby_document.registrant_address_country === undefined || typeof federal_lobby_document.registrant_address_country === "string") &&
203
- (federal_lobby_document.registrant_ppb_address_country === undefined || typeof federal_lobby_document.registrant_ppb_address_country === "string") &&
201
+ (federal_lobby_document.registrant_address_zip_id === undefined || typeof federal_lobby_document.registrant_address_zip_id === "string") &&
202
+ (federal_lobby_document.registrant_address_country_id === undefined || typeof federal_lobby_document.registrant_address_country_id === "string") &&
203
+ (federal_lobby_document.registrant_ppb_address_country_id === undefined || typeof federal_lobby_document.registrant_ppb_address_country_id === "string") &&
204
204
  Array.isArray(federal_lobby_document.convictions) && federal_lobby_document.convictions.every(FederalLobbyDocumentConviction.is) &&
205
205
  Array.isArray(federal_lobby_document.foreign_interests) && federal_lobby_document.foreign_interests.every(FederalLobbyDocumentForeignInterest.is) &&
206
206
  Array.isArray(federal_lobby_document.affiliations) && federal_lobby_document.affiliations.every(FederalLobbyDocumentAffiliation.is)
@@ -1,12 +1,12 @@
1
1
  export class FederalLobbyLobbyist {
2
2
  readonly federal_lobby_lobbyist_id : number
3
3
  readonly federal_lobby_registrant_id : number
4
- readonly prefix? : string
5
- readonly first_name? : string
6
- readonly nickname? : string
7
- readonly middle_name? : string
8
- readonly last_name? : string
9
- readonly suffix? : string
4
+ readonly name_prefix? : string
5
+ readonly name_first? : string
6
+ readonly name_middle? : string
7
+ readonly name_last? : string
8
+ readonly name_suffix? : string
9
+ readonly name_nick? : string
10
10
 
11
11
  constructor(federal_lobby_lobbyist : any) {
12
12
  if (!FederalLobbyLobbyist.is(federal_lobby_lobbyist)) {
@@ -14,12 +14,12 @@ export class FederalLobbyLobbyist {
14
14
  }
15
15
  this.federal_lobby_lobbyist_id = federal_lobby_lobbyist.federal_lobby_lobbyist_id
16
16
  this.federal_lobby_registrant_id = federal_lobby_lobbyist.federal_lobby_registrant_id
17
- this.prefix = federal_lobby_lobbyist.prefix
18
- this.first_name = federal_lobby_lobbyist.first_name
19
- this.nickname = federal_lobby_lobbyist.nickname
20
- this.middle_name = federal_lobby_lobbyist.middle_name
21
- this.last_name = federal_lobby_lobbyist.last_name
22
- this.suffix = federal_lobby_lobbyist.suffix
17
+ this.name_prefix = federal_lobby_lobbyist.name_prefix
18
+ this.name_first = federal_lobby_lobbyist.name_first
19
+ this.name_middle = federal_lobby_lobbyist.name_middle
20
+ this.name_last = federal_lobby_lobbyist.name_last
21
+ this.name_suffix = federal_lobby_lobbyist.name_suffix
22
+ this.name_nick = federal_lobby_lobbyist.name_nick
23
23
  }
24
24
 
25
25
  static is(federal_lobby_lobbyist : any) : federal_lobby_lobbyist is FederalLobbyLobbyist {
@@ -27,12 +27,12 @@ export class FederalLobbyLobbyist {
27
27
  federal_lobby_lobbyist !== undefined &&
28
28
  typeof federal_lobby_lobbyist.federal_lobby_lobbyist_id === "number" &&
29
29
  typeof federal_lobby_lobbyist.federal_lobby_registrant_id === "number" &&
30
- (federal_lobby_lobbyist.prefix === undefined || typeof federal_lobby_lobbyist.prefix === "string") &&
31
- (federal_lobby_lobbyist.first_name === undefined || typeof federal_lobby_lobbyist.first_name === "string") &&
32
- (federal_lobby_lobbyist.nickname === undefined || typeof federal_lobby_lobbyist.nickname === "string") &&
33
- (federal_lobby_lobbyist.middle_name === undefined || typeof federal_lobby_lobbyist.middle_name === "string") &&
34
- (federal_lobby_lobbyist.last_name === undefined || typeof federal_lobby_lobbyist.last_name === "string") &&
35
- (federal_lobby_lobbyist.suffix === undefined || typeof federal_lobby_lobbyist.suffix === "string")
30
+ (federal_lobby_lobbyist.name_prefix === undefined || typeof federal_lobby_lobbyist.name_prefix === "string") &&
31
+ (federal_lobby_lobbyist.name_first === undefined || typeof federal_lobby_lobbyist.name_first === "string") &&
32
+ (federal_lobby_lobbyist.name_middle === undefined || typeof federal_lobby_lobbyist.name_middle === "string") &&
33
+ (federal_lobby_lobbyist.name_last === undefined || typeof federal_lobby_lobbyist.name_last === "string") &&
34
+ (federal_lobby_lobbyist.name_suffix === undefined || typeof federal_lobby_lobbyist.name_suffix === "string") &&
35
+ (federal_lobby_lobbyist.name_nick === undefined || typeof federal_lobby_lobbyist.name_nick === "string")
36
36
  )
37
37
  }
38
38
  }
@@ -9,9 +9,9 @@ export class FederalLobbyRegistrant {
9
9
  readonly address_4? : string
10
10
  readonly address_city? : string
11
11
  readonly address_state_id? : string
12
- readonly address_zip? : string
13
- readonly address_country : string
14
- readonly ppb_address_country : string
12
+ readonly address_zip_id? : string
13
+ readonly address_country_id : string
14
+ readonly ppb_address_country_id : string
15
15
  readonly contact_name? : string
16
16
  readonly contact_phone? : string
17
17
  readonly modify_time : string
@@ -30,9 +30,9 @@ export class FederalLobbyRegistrant {
30
30
  this.address_4 = federal_lobby_registrant.address_4
31
31
  this.address_city = federal_lobby_registrant.address_city
32
32
  this.address_state_id = federal_lobby_registrant.address_state_id
33
- this.address_zip = federal_lobby_registrant.address_zip
34
- this.address_country = federal_lobby_registrant.address_country
35
- this.ppb_address_country = federal_lobby_registrant.ppb_address_country
33
+ this.address_zip_id = federal_lobby_registrant.address_zip_id
34
+ this.address_country_id = federal_lobby_registrant.address_country_id
35
+ this.ppb_address_country_id = federal_lobby_registrant.ppb_address_country_id
36
36
  this.contact_name = federal_lobby_registrant.contact_name
37
37
  this.contact_phone = federal_lobby_registrant.contact_phone
38
38
  this.modify_time = federal_lobby_registrant.modify_time
@@ -51,9 +51,9 @@ export class FederalLobbyRegistrant {
51
51
  (federal_lobby_registrant.address_4 === undefined || typeof federal_lobby_registrant.address_4 === "string") &&
52
52
  (federal_lobby_registrant.address_city === undefined || typeof federal_lobby_registrant.address_city === "string") &&
53
53
  (federal_lobby_registrant.address_state_id === undefined || typeof federal_lobby_registrant.address_state_id === "string") &&
54
- (federal_lobby_registrant.address_zip === undefined || typeof federal_lobby_registrant.address_zip === "string") &&
55
- typeof federal_lobby_registrant.address_country === "string" &&
56
- typeof federal_lobby_registrant.ppb_address_country === "string" &&
54
+ (federal_lobby_registrant.address_zip_id === undefined || typeof federal_lobby_registrant.address_zip_id === "string") &&
55
+ typeof federal_lobby_registrant.address_country_id === "string" &&
56
+ typeof federal_lobby_registrant.ppb_address_country_id === "string" &&
57
57
  (federal_lobby_registrant.contact_name === undefined || typeof federal_lobby_registrant.contact_name === "string") &&
58
58
  (federal_lobby_registrant.contact_phone === undefined || typeof federal_lobby_registrant.contact_phone === "string") &&
59
59
  typeof federal_lobby_registrant.modify_time === "string"