triangle-types 1.0.328 → 1.0.329
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.
|
@@ -47,8 +47,8 @@ export declare class FederalLobbyDocument {
|
|
|
47
47
|
readonly income_text?: string;
|
|
48
48
|
readonly expense_text?: string;
|
|
49
49
|
readonly expense_method?: string;
|
|
50
|
-
readonly
|
|
51
|
-
readonly
|
|
50
|
+
readonly name_author?: string;
|
|
51
|
+
readonly content_type_id?: string;
|
|
52
52
|
readonly termination_date?: string;
|
|
53
53
|
readonly registrant_address_1?: string;
|
|
54
54
|
readonly registrant_address_2?: string;
|
|
@@ -56,11 +56,11 @@ export declare class FederalLobbyDocument {
|
|
|
56
56
|
readonly registrant_address_city?: string;
|
|
57
57
|
readonly registrant_address_state_id?: string;
|
|
58
58
|
readonly registrant_address_zip_id?: string;
|
|
59
|
-
readonly
|
|
60
|
-
readonly
|
|
61
|
-
readonly
|
|
62
|
-
readonly
|
|
63
|
-
readonly
|
|
59
|
+
readonly registrant_address_country_name?: string;
|
|
60
|
+
readonly registrant_ppb_address_country_name?: string;
|
|
61
|
+
readonly convictions_json: string;
|
|
62
|
+
readonly foreign_interests_json: string;
|
|
63
|
+
readonly affiliations_json: string;
|
|
64
64
|
constructor(federal_lobby_document: any);
|
|
65
65
|
static is(federal_lobby_document: any): federal_lobby_document is FederalLobbyDocument;
|
|
66
66
|
}
|
|
@@ -117,8 +117,8 @@ export class FederalLobbyDocument {
|
|
|
117
117
|
income_text;
|
|
118
118
|
expense_text;
|
|
119
119
|
expense_method;
|
|
120
|
-
|
|
121
|
-
|
|
120
|
+
name_author;
|
|
121
|
+
content_type_id;
|
|
122
122
|
termination_date;
|
|
123
123
|
registrant_address_1;
|
|
124
124
|
registrant_address_2;
|
|
@@ -126,11 +126,11 @@ export class FederalLobbyDocument {
|
|
|
126
126
|
registrant_address_city;
|
|
127
127
|
registrant_address_state_id;
|
|
128
128
|
registrant_address_zip_id;
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
129
|
+
registrant_address_country_name;
|
|
130
|
+
registrant_ppb_address_country_name;
|
|
131
|
+
convictions_json;
|
|
132
|
+
foreign_interests_json;
|
|
133
|
+
affiliations_json;
|
|
134
134
|
constructor(federal_lobby_document) {
|
|
135
135
|
if (!FederalLobbyDocument.is(federal_lobby_document)) {
|
|
136
136
|
throw Error("Invalid input.");
|
|
@@ -145,8 +145,8 @@ export class FederalLobbyDocument {
|
|
|
145
145
|
this.income_text = federal_lobby_document.income_text;
|
|
146
146
|
this.expense_text = federal_lobby_document.expense_text;
|
|
147
147
|
this.expense_method = federal_lobby_document.expense_method;
|
|
148
|
-
this.
|
|
149
|
-
this.
|
|
148
|
+
this.name_author = federal_lobby_document.name_author;
|
|
149
|
+
this.content_type_id = federal_lobby_document.content_type_id;
|
|
150
150
|
this.termination_date = federal_lobby_document.termination_date;
|
|
151
151
|
this.registrant_address_1 = federal_lobby_document.registrant_address_1;
|
|
152
152
|
this.registrant_address_2 = federal_lobby_document.registrant_address_2;
|
|
@@ -154,11 +154,11 @@ export class FederalLobbyDocument {
|
|
|
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
156
|
this.registrant_address_zip_id = federal_lobby_document.registrant_address_zip_id;
|
|
157
|
-
this.
|
|
158
|
-
this.
|
|
159
|
-
this.
|
|
160
|
-
this.
|
|
161
|
-
this.
|
|
157
|
+
this.registrant_address_country_name = federal_lobby_document.registrant_address_country_name;
|
|
158
|
+
this.registrant_ppb_address_country_name = federal_lobby_document.registrant_ppb_address_country_name;
|
|
159
|
+
this.convictions_json = federal_lobby_document.convictions_json;
|
|
160
|
+
this.foreign_interests_json = federal_lobby_document.foreign_interests_json;
|
|
161
|
+
this.affiliations_json = federal_lobby_document.affiliations_json;
|
|
162
162
|
}
|
|
163
163
|
static is(federal_lobby_document) {
|
|
164
164
|
return (federal_lobby_document !== undefined &&
|
|
@@ -172,7 +172,7 @@ export class FederalLobbyDocument {
|
|
|
172
172
|
(federal_lobby_document.income_text === undefined || typeof federal_lobby_document.income_text === "string") &&
|
|
173
173
|
(federal_lobby_document.expense_text === undefined || typeof federal_lobby_document.expense_text === "string") &&
|
|
174
174
|
(federal_lobby_document.expense_method === undefined || typeof federal_lobby_document.expense_method === "string") &&
|
|
175
|
-
(federal_lobby_document.
|
|
175
|
+
(federal_lobby_document.name_author === undefined || typeof federal_lobby_document.name_author === "string") &&
|
|
176
176
|
(federal_lobby_document.content_type === undefined || typeof federal_lobby_document.content_type === "string") &&
|
|
177
177
|
(federal_lobby_document.termination_date === undefined || typeof federal_lobby_document.termination_date === "string") &&
|
|
178
178
|
(federal_lobby_document.registrant_address_1 === undefined || typeof federal_lobby_document.registrant_address_1 === "string") &&
|
|
@@ -181,10 +181,10 @@ export class FederalLobbyDocument {
|
|
|
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
183
|
(federal_lobby_document.registrant_address_zip_id === undefined || typeof federal_lobby_document.registrant_address_zip_id === "string") &&
|
|
184
|
-
(federal_lobby_document.
|
|
185
|
-
(federal_lobby_document.
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
184
|
+
(federal_lobby_document.registrant_address_country_name === undefined || typeof federal_lobby_document.registrant_address_country_name === "string") &&
|
|
185
|
+
(federal_lobby_document.registrant_ppb_address_country_name === undefined || typeof federal_lobby_document.registrant_ppb_address_country_name === "string") &&
|
|
186
|
+
typeof federal_lobby_document.convictions_json === "string" &&
|
|
187
|
+
typeof federal_lobby_document.foreign_interests_json === "string" &&
|
|
188
|
+
typeof federal_lobby_document.affiliations_json === "string");
|
|
189
189
|
}
|
|
190
190
|
}
|
package/package.json
CHANGED
|
@@ -132,8 +132,8 @@ export class FederalLobbyDocument {
|
|
|
132
132
|
readonly income_text? : string
|
|
133
133
|
readonly expense_text? : string
|
|
134
134
|
readonly expense_method? : string
|
|
135
|
-
readonly
|
|
136
|
-
readonly
|
|
135
|
+
readonly name_author? : string
|
|
136
|
+
readonly content_type_id? : string
|
|
137
137
|
readonly termination_date? : string
|
|
138
138
|
readonly registrant_address_1? : string
|
|
139
139
|
readonly registrant_address_2? : string
|
|
@@ -141,11 +141,11 @@ export class FederalLobbyDocument {
|
|
|
141
141
|
readonly registrant_address_city? : string
|
|
142
142
|
readonly registrant_address_state_id? : string
|
|
143
143
|
readonly registrant_address_zip_id? : string
|
|
144
|
-
readonly
|
|
145
|
-
readonly
|
|
146
|
-
readonly
|
|
147
|
-
readonly
|
|
148
|
-
readonly
|
|
144
|
+
readonly registrant_address_country_name? : string
|
|
145
|
+
readonly registrant_ppb_address_country_name? : string
|
|
146
|
+
readonly convictions_json : string
|
|
147
|
+
readonly foreign_interests_json : string
|
|
148
|
+
readonly affiliations_json : string
|
|
149
149
|
|
|
150
150
|
constructor(federal_lobby_document : any) {
|
|
151
151
|
if (!FederalLobbyDocument.is(federal_lobby_document)) {
|
|
@@ -161,8 +161,8 @@ export class FederalLobbyDocument {
|
|
|
161
161
|
this.income_text = federal_lobby_document.income_text
|
|
162
162
|
this.expense_text = federal_lobby_document.expense_text
|
|
163
163
|
this.expense_method = federal_lobby_document.expense_method
|
|
164
|
-
this.
|
|
165
|
-
this.
|
|
164
|
+
this.name_author = federal_lobby_document.name_author
|
|
165
|
+
this.content_type_id = federal_lobby_document.content_type_id
|
|
166
166
|
this.termination_date = federal_lobby_document.termination_date
|
|
167
167
|
this.registrant_address_1 = federal_lobby_document.registrant_address_1
|
|
168
168
|
this.registrant_address_2 = federal_lobby_document.registrant_address_2
|
|
@@ -170,11 +170,11 @@ export class FederalLobbyDocument {
|
|
|
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
172
|
this.registrant_address_zip_id = federal_lobby_document.registrant_address_zip_id
|
|
173
|
-
this.
|
|
174
|
-
this.
|
|
175
|
-
this.
|
|
176
|
-
this.
|
|
177
|
-
this.
|
|
173
|
+
this.registrant_address_country_name = federal_lobby_document.registrant_address_country_name
|
|
174
|
+
this.registrant_ppb_address_country_name = federal_lobby_document.registrant_ppb_address_country_name
|
|
175
|
+
this.convictions_json = federal_lobby_document.convictions_json
|
|
176
|
+
this.foreign_interests_json = federal_lobby_document.foreign_interests_json
|
|
177
|
+
this.affiliations_json = federal_lobby_document.affiliations_json
|
|
178
178
|
}
|
|
179
179
|
|
|
180
180
|
static is(federal_lobby_document : any) : federal_lobby_document is FederalLobbyDocument {
|
|
@@ -190,7 +190,7 @@ export class FederalLobbyDocument {
|
|
|
190
190
|
(federal_lobby_document.income_text === undefined || typeof federal_lobby_document.income_text === "string") &&
|
|
191
191
|
(federal_lobby_document.expense_text === undefined || typeof federal_lobby_document.expense_text === "string") &&
|
|
192
192
|
(federal_lobby_document.expense_method === undefined || typeof federal_lobby_document.expense_method === "string") &&
|
|
193
|
-
(federal_lobby_document.
|
|
193
|
+
(federal_lobby_document.name_author === undefined || typeof federal_lobby_document.name_author === "string") &&
|
|
194
194
|
(federal_lobby_document.content_type === undefined || typeof federal_lobby_document.content_type === "string") &&
|
|
195
195
|
(federal_lobby_document.termination_date === undefined || typeof federal_lobby_document.termination_date === "string") &&
|
|
196
196
|
(federal_lobby_document.registrant_address_1 === undefined || typeof federal_lobby_document.registrant_address_1 === "string") &&
|
|
@@ -199,11 +199,11 @@ export class FederalLobbyDocument {
|
|
|
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
201
|
(federal_lobby_document.registrant_address_zip_id === undefined || typeof federal_lobby_document.registrant_address_zip_id === "string") &&
|
|
202
|
-
(federal_lobby_document.
|
|
203
|
-
(federal_lobby_document.
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
202
|
+
(federal_lobby_document.registrant_address_country_name === undefined || typeof federal_lobby_document.registrant_address_country_name === "string") &&
|
|
203
|
+
(federal_lobby_document.registrant_ppb_address_country_name === undefined || typeof federal_lobby_document.registrant_ppb_address_country_name === "string") &&
|
|
204
|
+
typeof federal_lobby_document.convictions_json === "string" &&
|
|
205
|
+
typeof federal_lobby_document.foreign_interests_json === "string" &&
|
|
206
|
+
typeof federal_lobby_document.affiliations_json === "string"
|
|
207
207
|
)
|
|
208
208
|
}
|
|
209
209
|
}
|