@invinite-org/data-api-client 0.10.0 → 0.10.1

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.
@@ -87,6 +87,12 @@ export interface EarningsCallsCompanyDocuments200ResponseDocumentsInner {
87
87
  * @memberof EarningsCallsCompanyDocuments200ResponseDocumentsInner
88
88
  */
89
89
  event_date: Date | null;
90
+ /**
91
+ * EDGAR filing date of a call's SEC filing link (kind sec_filing, e.g. the 10-K filed after the call); null for every other document or when unknown
92
+ * @type {Date}
93
+ * @memberof EarningsCallsCompanyDocuments200ResponseDocumentsInner
94
+ */
95
+ filing_date?: Date | null;
90
96
  /**
91
97
  * Document title
92
98
  * @type {string}
@@ -220,6 +220,7 @@ export function EarningsCallsCompanyDocuments200ResponseDocumentsInnerFromJSONTy
220
220
  'event_id': json['event_id'],
221
221
  'event_type': json['event_type'],
222
222
  'event_date': (json['event_date'] == null ? null : new Date(json['event_date'])),
223
+ 'filing_date': json['filing_date'] == null ? undefined : (new Date(json['filing_date'])),
223
224
  'title': json['title'],
224
225
  'source_label': json['source_label'],
225
226
  'source_url': json['source_url'],
@@ -259,6 +260,7 @@ export function EarningsCallsCompanyDocuments200ResponseDocumentsInnerToJSONType
259
260
  'event_id': value['event_id'],
260
261
  'event_type': value['event_type'],
261
262
  'event_date': value['event_date'] == null ? value['event_date'] : value['event_date'].toISOString().substring(0, 10),
263
+ 'filing_date': value['filing_date'] == null ? value['filing_date'] : value['filing_date'].toISOString().substring(0, 10),
262
264
  'title': value['title'],
263
265
  'source_label': value['source_label'],
264
266
  'source_url': value['source_url'],
@@ -69,6 +69,12 @@ export interface EarningsCallsDocuments200ResponseDocumentsInner {
69
69
  * @memberof EarningsCallsDocuments200ResponseDocumentsInner
70
70
  */
71
71
  accession_number: string | null;
72
+ /**
73
+ * EDGAR filing date of a sec_filing link (the 10-Q / 10-K); null for every other kind or when unknown
74
+ * @type {Date}
75
+ * @memberof EarningsCallsDocuments200ResponseDocumentsInner
76
+ */
77
+ filing_date?: Date | null;
72
78
  /**
73
79
  * Permanent public download URL; null for link-only rows (sec_filing) or a failed download: use source_url
74
80
  * @type {string}
@@ -127,6 +127,7 @@ export function EarningsCallsDocuments200ResponseDocumentsInnerFromJSONTyped(jso
127
127
  'source_label': json['source_label'],
128
128
  'source_url': json['source_url'],
129
129
  'accession_number': json['accession_number'],
130
+ 'filing_date': json['filing_date'] == null ? undefined : (new Date(json['filing_date'])),
130
131
  'url': json['url'],
131
132
  'content_type': json['content_type'],
132
133
  'bytes': json['bytes'],
@@ -155,6 +156,7 @@ export function EarningsCallsDocuments200ResponseDocumentsInnerToJSONTyped(value
155
156
  'source_label': value['source_label'],
156
157
  'source_url': value['source_url'],
157
158
  'accession_number': value['accession_number'],
159
+ 'filing_date': value['filing_date'] == null ? value['filing_date'] : value['filing_date'].toISOString().substring(0, 10),
158
160
  'url': value['url'],
159
161
  'content_type': value['content_type'],
160
162
  'bytes': value['bytes'],
@@ -87,6 +87,12 @@ export interface EarningsCallsCompanyDocuments200ResponseDocumentsInner {
87
87
  * @memberof EarningsCallsCompanyDocuments200ResponseDocumentsInner
88
88
  */
89
89
  event_date: Date | null;
90
+ /**
91
+ * EDGAR filing date of a call's SEC filing link (kind sec_filing, e.g. the 10-K filed after the call); null for every other document or when unknown
92
+ * @type {Date}
93
+ * @memberof EarningsCallsCompanyDocuments200ResponseDocumentsInner
94
+ */
95
+ filing_date?: Date | null;
90
96
  /**
91
97
  * Document title
92
98
  * @type {string}
@@ -228,6 +228,7 @@ function EarningsCallsCompanyDocuments200ResponseDocumentsInnerFromJSONTyped(jso
228
228
  'event_id': json['event_id'],
229
229
  'event_type': json['event_type'],
230
230
  'event_date': (json['event_date'] == null ? null : new Date(json['event_date'])),
231
+ 'filing_date': json['filing_date'] == null ? undefined : (new Date(json['filing_date'])),
231
232
  'title': json['title'],
232
233
  'source_label': json['source_label'],
233
234
  'source_url': json['source_url'],
@@ -267,6 +268,7 @@ function EarningsCallsCompanyDocuments200ResponseDocumentsInnerToJSONTyped(value
267
268
  'event_id': value['event_id'],
268
269
  'event_type': value['event_type'],
269
270
  'event_date': value['event_date'] == null ? value['event_date'] : value['event_date'].toISOString().substring(0, 10),
271
+ 'filing_date': value['filing_date'] == null ? value['filing_date'] : value['filing_date'].toISOString().substring(0, 10),
270
272
  'title': value['title'],
271
273
  'source_label': value['source_label'],
272
274
  'source_url': value['source_url'],
@@ -69,6 +69,12 @@ export interface EarningsCallsDocuments200ResponseDocumentsInner {
69
69
  * @memberof EarningsCallsDocuments200ResponseDocumentsInner
70
70
  */
71
71
  accession_number: string | null;
72
+ /**
73
+ * EDGAR filing date of a sec_filing link (the 10-Q / 10-K); null for every other kind or when unknown
74
+ * @type {Date}
75
+ * @memberof EarningsCallsDocuments200ResponseDocumentsInner
76
+ */
77
+ filing_date?: Date | null;
72
78
  /**
73
79
  * Permanent public download URL; null for link-only rows (sec_filing) or a failed download: use source_url
74
80
  * @type {string}
@@ -135,6 +135,7 @@ function EarningsCallsDocuments200ResponseDocumentsInnerFromJSONTyped(json, igno
135
135
  'source_label': json['source_label'],
136
136
  'source_url': json['source_url'],
137
137
  'accession_number': json['accession_number'],
138
+ 'filing_date': json['filing_date'] == null ? undefined : (new Date(json['filing_date'])),
138
139
  'url': json['url'],
139
140
  'content_type': json['content_type'],
140
141
  'bytes': json['bytes'],
@@ -163,6 +164,7 @@ function EarningsCallsDocuments200ResponseDocumentsInnerToJSONTyped(value, ignor
163
164
  'source_label': value['source_label'],
164
165
  'source_url': value['source_url'],
165
166
  'accession_number': value['accession_number'],
167
+ 'filing_date': value['filing_date'] == null ? value['filing_date'] : value['filing_date'].toISOString().substring(0, 10),
166
168
  'url': value['url'],
167
169
  'content_type': value['content_type'],
168
170
  'bytes': value['bytes'],
@@ -18,6 +18,7 @@ Name | Type
18
18
  `event_id` | string
19
19
  `event_type` | string
20
20
  `event_date` | Date
21
+ `filing_date` | Date
21
22
  `title` | string
22
23
  `source_label` | string
23
24
  `source_url` | string
@@ -55,6 +56,7 @@ const example = {
55
56
  "event_id": null,
56
57
  "event_type": null,
57
58
  "event_date": null,
59
+ "filing_date": null,
58
60
  "title": null,
59
61
  "source_label": null,
60
62
  "source_url": null,
@@ -15,6 +15,7 @@ Name | Type
15
15
  `source_label` | string
16
16
  `source_url` | string
17
17
  `accession_number` | string
18
+ `filing_date` | Date
18
19
  `url` | string
19
20
  `content_type` | string
20
21
  `bytes` | number
@@ -41,6 +42,7 @@ const example = {
41
42
  "source_label": null,
42
43
  "source_url": null,
43
44
  "accession_number": null,
45
+ "filing_date": null,
44
46
  "url": null,
45
47
  "content_type": null,
46
48
  "bytes": null,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@invinite-org/data-api-client",
3
- "version": "0.10.0",
3
+ "version": "0.10.1",
4
4
  "description": "Typed TypeScript/JavaScript client for the Invinite Data API",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -91,6 +91,12 @@ export interface EarningsCallsCompanyDocuments200ResponseDocumentsInner {
91
91
  * @memberof EarningsCallsCompanyDocuments200ResponseDocumentsInner
92
92
  */
93
93
  event_date: Date | null;
94
+ /**
95
+ * EDGAR filing date of a call's SEC filing link (kind sec_filing, e.g. the 10-K filed after the call); null for every other document or when unknown
96
+ * @type {Date}
97
+ * @memberof EarningsCallsCompanyDocuments200ResponseDocumentsInner
98
+ */
99
+ filing_date?: Date | null;
94
100
  /**
95
101
  * Document title
96
102
  * @type {string}
@@ -401,6 +407,7 @@ export function EarningsCallsCompanyDocuments200ResponseDocumentsInnerFromJSONTy
401
407
  'event_id': json['event_id'],
402
408
  'event_type': json['event_type'],
403
409
  'event_date': (json['event_date'] == null ? null : new Date(json['event_date'])),
410
+ 'filing_date': json['filing_date'] == null ? undefined : (new Date(json['filing_date'])),
404
411
  'title': json['title'],
405
412
  'source_label': json['source_label'],
406
413
  'source_url': json['source_url'],
@@ -444,6 +451,7 @@ export function EarningsCallsCompanyDocuments200ResponseDocumentsInnerToJSONType
444
451
  'event_id': value['event_id'],
445
452
  'event_type': value['event_type'],
446
453
  'event_date': value['event_date'] == null ? value['event_date'] : value['event_date'].toISOString().substring(0,10),
454
+ 'filing_date': value['filing_date'] == null ? value['filing_date'] : value['filing_date'].toISOString().substring(0,10),
447
455
  'title': value['title'],
448
456
  'source_label': value['source_label'],
449
457
  'source_url': value['source_url'],
@@ -73,6 +73,12 @@ export interface EarningsCallsDocuments200ResponseDocumentsInner {
73
73
  * @memberof EarningsCallsDocuments200ResponseDocumentsInner
74
74
  */
75
75
  accession_number: string | null;
76
+ /**
77
+ * EDGAR filing date of a sec_filing link (the 10-Q / 10-K); null for every other kind or when unknown
78
+ * @type {Date}
79
+ * @memberof EarningsCallsDocuments200ResponseDocumentsInner
80
+ */
81
+ filing_date?: Date | null;
76
82
  /**
77
83
  * Permanent public download URL; null for link-only rows (sec_filing) or a failed download: use source_url
78
84
  * @type {string}
@@ -243,6 +249,7 @@ export function EarningsCallsDocuments200ResponseDocumentsInnerFromJSONTyped(jso
243
249
  'source_label': json['source_label'],
244
250
  'source_url': json['source_url'],
245
251
  'accession_number': json['accession_number'],
252
+ 'filing_date': json['filing_date'] == null ? undefined : (new Date(json['filing_date'])),
246
253
  'url': json['url'],
247
254
  'content_type': json['content_type'],
248
255
  'bytes': json['bytes'],
@@ -275,6 +282,7 @@ export function EarningsCallsDocuments200ResponseDocumentsInnerToJSONTyped(value
275
282
  'source_label': value['source_label'],
276
283
  'source_url': value['source_url'],
277
284
  'accession_number': value['accession_number'],
285
+ 'filing_date': value['filing_date'] == null ? value['filing_date'] : value['filing_date'].toISOString().substring(0,10),
278
286
  'url': value['url'],
279
287
  'content_type': value['content_type'],
280
288
  'bytes': value['bytes'],