@invinite-org/data-api-client 5.6.0 → 5.7.0
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.
- package/.openapi-generator/FILES +26 -0
- package/dist/apis/HoldingsApi.d.ts +33 -0
- package/dist/apis/HoldingsApi.js +79 -1
- package/dist/apis/IPOsApi.d.ts +54 -0
- package/dist/apis/IPOsApi.js +137 -1
- package/dist/apis/InsiderTradesApi.d.ts +3 -0
- package/dist/apis/InsiderTradesApi.js +9 -0
- package/dist/esm/apis/HoldingsApi.d.ts +33 -0
- package/dist/esm/apis/HoldingsApi.js +78 -0
- package/dist/esm/apis/IPOsApi.d.ts +54 -0
- package/dist/esm/apis/IPOsApi.js +136 -0
- package/dist/esm/apis/InsiderTradesApi.d.ts +3 -0
- package/dist/esm/apis/InsiderTradesApi.js +9 -0
- package/dist/esm/models/Company.d.ts +1 -1
- package/dist/esm/models/Filer.d.ts +6 -0
- package/dist/esm/models/Filer.js +2 -0
- package/dist/esm/models/FilerDetail.d.ts +14 -0
- package/dist/esm/models/FilerDetail.js +6 -0
- package/dist/esm/models/FilerFund.d.ts +45 -0
- package/dist/esm/models/FilerFund.js +52 -0
- package/dist/esm/models/FilerFundAdviser.d.ts +56 -0
- package/dist/esm/models/FilerFundAdviser.js +59 -0
- package/dist/esm/models/FilerFundReturn.d.ts +62 -0
- package/dist/esm/models/FilerFundReturn.js +63 -0
- package/dist/esm/models/FilerFundSeries.d.ts +217 -0
- package/dist/esm/models/FilerFundSeries.js +169 -0
- package/dist/esm/models/FilerFundShareClass.d.ts +44 -0
- package/dist/esm/models/FilerFundShareClass.js +51 -0
- package/dist/esm/models/FilerPrivateOfferings.d.ts +62 -0
- package/dist/esm/models/FilerPrivateOfferings.js +63 -0
- package/dist/esm/models/FundHolding.d.ts +140 -0
- package/dist/esm/models/FundHolding.js +83 -0
- package/dist/esm/models/InsiderTrade.d.ts +101 -0
- package/dist/esm/models/InsiderTrade.js +71 -0
- package/dist/esm/models/InsiderTradeFootnote.d.ts +38 -0
- package/dist/esm/models/InsiderTradeFootnote.js +47 -0
- package/dist/esm/models/ListFundHoldings200Response.d.ts +52 -0
- package/dist/esm/models/ListFundHoldings200Response.js +57 -0
- package/dist/esm/models/ListOfferings200Response.d.ts +52 -0
- package/dist/esm/models/ListOfferings200Response.js +57 -0
- package/dist/esm/models/ListOfferings200ResponseMeta.d.ts +39 -0
- package/dist/esm/models/ListOfferings200ResponseMeta.js +44 -0
- package/dist/esm/models/Offering.d.ts +275 -0
- package/dist/esm/models/Offering.js +209 -0
- package/dist/esm/models/OfferingRelatedPerson.d.ts +44 -0
- package/dist/esm/models/OfferingRelatedPerson.js +51 -0
- package/dist/esm/models/index.d.ts +13 -0
- package/dist/esm/models/index.js +13 -0
- package/dist/models/Company.d.ts +1 -1
- package/dist/models/Filer.d.ts +6 -0
- package/dist/models/Filer.js +2 -0
- package/dist/models/FilerDetail.d.ts +14 -0
- package/dist/models/FilerDetail.js +6 -0
- package/dist/models/FilerFund.d.ts +45 -0
- package/dist/models/FilerFund.js +59 -0
- package/dist/models/FilerFundAdviser.d.ts +56 -0
- package/dist/models/FilerFundAdviser.js +66 -0
- package/dist/models/FilerFundReturn.d.ts +62 -0
- package/dist/models/FilerFundReturn.js +70 -0
- package/dist/models/FilerFundSeries.d.ts +217 -0
- package/dist/models/FilerFundSeries.js +177 -0
- package/dist/models/FilerFundShareClass.d.ts +44 -0
- package/dist/models/FilerFundShareClass.js +58 -0
- package/dist/models/FilerPrivateOfferings.d.ts +62 -0
- package/dist/models/FilerPrivateOfferings.js +70 -0
- package/dist/models/FundHolding.d.ts +140 -0
- package/dist/models/FundHolding.js +90 -0
- package/dist/models/InsiderTrade.d.ts +101 -0
- package/dist/models/InsiderTrade.js +72 -1
- package/dist/models/InsiderTradeFootnote.d.ts +38 -0
- package/dist/models/InsiderTradeFootnote.js +54 -0
- package/dist/models/ListFundHoldings200Response.d.ts +52 -0
- package/dist/models/ListFundHoldings200Response.js +64 -0
- package/dist/models/ListOfferings200Response.d.ts +52 -0
- package/dist/models/ListOfferings200Response.js +64 -0
- package/dist/models/ListOfferings200ResponseMeta.d.ts +39 -0
- package/dist/models/ListOfferings200ResponseMeta.js +51 -0
- package/dist/models/Offering.d.ts +275 -0
- package/dist/models/Offering.js +217 -0
- package/dist/models/OfferingRelatedPerson.d.ts +44 -0
- package/dist/models/OfferingRelatedPerson.js +58 -0
- package/dist/models/index.d.ts +13 -0
- package/dist/models/index.js +13 -0
- package/docs/CompaniesApi.md +2 -2
- package/docs/Filer.md +2 -0
- package/docs/FilerDetail.md +4 -0
- package/docs/FilerFund.md +39 -0
- package/docs/FilerFundAdviser.md +43 -0
- package/docs/FilerFundReturn.md +45 -0
- package/docs/FilerFundSeries.md +93 -0
- package/docs/FilerFundShareClass.md +39 -0
- package/docs/FilerPrivateOfferings.md +45 -0
- package/docs/FundHolding.md +70 -0
- package/docs/HoldingsApi.md +105 -0
- package/docs/IPOsApi.md +195 -0
- package/docs/InsiderTrade.md +28 -0
- package/docs/InsiderTradeFootnote.md +37 -0
- package/docs/InsiderTradesApi.md +10 -1
- package/docs/ListFundHoldings200Response.md +41 -0
- package/docs/ListOfferings200Response.md +41 -0
- package/docs/ListOfferings200ResponseMeta.md +37 -0
- package/docs/Offering.md +111 -0
- package/docs/OfferingRelatedPerson.md +39 -0
- package/package.json +1 -1
- package/src/apis/HoldingsApi.ts +107 -0
- package/src/apis/IPOsApi.ts +186 -0
- package/src/apis/InsiderTradesApi.ts +15 -0
- package/src/models/Company.ts +1 -1
- package/src/models/Filer.ts +8 -0
- package/src/models/FilerDetail.ts +30 -0
- package/src/models/FilerFund.ts +92 -0
- package/src/models/FilerFundAdviser.ts +102 -0
- package/src/models/FilerFundReturn.ts +111 -0
- package/src/models/FilerFundSeries.ts +360 -0
- package/src/models/FilerFundShareClass.ts +84 -0
- package/src/models/FilerPrivateOfferings.ts +111 -0
- package/src/models/FundHolding.ts +212 -0
- package/src/models/InsiderTrade.ts +152 -0
- package/src/models/InsiderTradeFootnote.ts +75 -0
- package/src/models/ListFundHoldings200Response.ts +108 -0
- package/src/models/ListOfferings200Response.ts +108 -0
- package/src/models/ListOfferings200ResponseMeta.ts +81 -0
- package/src/models/Offering.ts +433 -0
- package/src/models/OfferingRelatedPerson.ts +84 -0
- package/src/models/index.ts +13 -0
package/.openapi-generator/FILES
CHANGED
|
@@ -65,7 +65,13 @@ docs/Filer.md
|
|
|
65
65
|
docs/FilerDetail.md
|
|
66
66
|
docs/FilerDetailFormerNamesInner.md
|
|
67
67
|
docs/FilerDetailSuccessorsInner.md
|
|
68
|
+
docs/FilerFund.md
|
|
69
|
+
docs/FilerFundAdviser.md
|
|
70
|
+
docs/FilerFundReturn.md
|
|
71
|
+
docs/FilerFundSeries.md
|
|
72
|
+
docs/FilerFundShareClass.md
|
|
68
73
|
docs/FilerListing.md
|
|
74
|
+
docs/FilerPrivateOfferings.md
|
|
69
75
|
docs/Filing.md
|
|
70
76
|
docs/FilingDetail.md
|
|
71
77
|
docs/FilingDocument.md
|
|
@@ -81,6 +87,7 @@ docs/FinancialsApi.md
|
|
|
81
87
|
docs/FiscalPeriod.md
|
|
82
88
|
docs/FormCatalogEntry.md
|
|
83
89
|
docs/FormulaMember.md
|
|
90
|
+
docs/FundHolding.md
|
|
84
91
|
docs/GetAsReportedFinancials200Response.md
|
|
85
92
|
docs/GetAsReportedFinancialsDetailed200Response.md
|
|
86
93
|
docs/GetAsReportedFinancialsPresentation200Response.md
|
|
@@ -100,6 +107,7 @@ docs/HoldingChange.md
|
|
|
100
107
|
docs/HoldingsApi.md
|
|
101
108
|
docs/IPOsApi.md
|
|
102
109
|
docs/InsiderTrade.md
|
|
110
|
+
docs/InsiderTradeFootnote.md
|
|
103
111
|
docs/InsiderTradesApi.md
|
|
104
112
|
docs/InvestorDocument.md
|
|
105
113
|
docs/InvestorDocumentSearchHit.md
|
|
@@ -132,6 +140,7 @@ docs/ListFilings200ResponseMeta.md
|
|
|
132
140
|
docs/ListFilings200ResponseMetaFormFacetInner.md
|
|
133
141
|
docs/ListFiscalPeriods200Response.md
|
|
134
142
|
docs/ListFormCatalog200Response.md
|
|
143
|
+
docs/ListFundHoldings200Response.md
|
|
135
144
|
docs/ListGrowth200Response.md
|
|
136
145
|
docs/ListGuidance200Response.md
|
|
137
146
|
docs/ListHoldingChanges200Response.md
|
|
@@ -145,6 +154,8 @@ docs/ListMappingRules200Response.md
|
|
|
145
154
|
docs/ListMarketHolidays200Response.md
|
|
146
155
|
docs/ListMetricCatalog200Response.md
|
|
147
156
|
docs/ListNews200Response.md
|
|
157
|
+
docs/ListOfferings200Response.md
|
|
158
|
+
docs/ListOfferings200ResponseMeta.md
|
|
148
159
|
docs/ListParticipants200Response.md
|
|
149
160
|
docs/ListPeople200Response.md
|
|
150
161
|
docs/ListQa200Response.md
|
|
@@ -183,6 +194,8 @@ docs/NewsSearchHitItem.md
|
|
|
183
194
|
docs/NewsText.md
|
|
184
195
|
docs/NewsTextBlocksInner.md
|
|
185
196
|
docs/NewsTextCoverage.md
|
|
197
|
+
docs/Offering.md
|
|
198
|
+
docs/OfferingRelatedPerson.md
|
|
186
199
|
docs/Participation.md
|
|
187
200
|
docs/ParticipationEvidenceInner.md
|
|
188
201
|
docs/PdfDocument.md
|
|
@@ -341,7 +354,13 @@ src/models/Filer.ts
|
|
|
341
354
|
src/models/FilerDetail.ts
|
|
342
355
|
src/models/FilerDetailFormerNamesInner.ts
|
|
343
356
|
src/models/FilerDetailSuccessorsInner.ts
|
|
357
|
+
src/models/FilerFund.ts
|
|
358
|
+
src/models/FilerFundAdviser.ts
|
|
359
|
+
src/models/FilerFundReturn.ts
|
|
360
|
+
src/models/FilerFundSeries.ts
|
|
361
|
+
src/models/FilerFundShareClass.ts
|
|
344
362
|
src/models/FilerListing.ts
|
|
363
|
+
src/models/FilerPrivateOfferings.ts
|
|
345
364
|
src/models/Filing.ts
|
|
346
365
|
src/models/FilingDetail.ts
|
|
347
366
|
src/models/FilingDocument.ts
|
|
@@ -355,6 +374,7 @@ src/models/FilingSource.ts
|
|
|
355
374
|
src/models/FiscalPeriod.ts
|
|
356
375
|
src/models/FormCatalogEntry.ts
|
|
357
376
|
src/models/FormulaMember.ts
|
|
377
|
+
src/models/FundHolding.ts
|
|
358
378
|
src/models/GetAsReportedFinancials200Response.ts
|
|
359
379
|
src/models/GetAsReportedFinancialsDetailed200Response.ts
|
|
360
380
|
src/models/GetAsReportedFinancialsPresentation200Response.ts
|
|
@@ -371,6 +391,7 @@ src/models/HitMatch.ts
|
|
|
371
391
|
src/models/Holding.ts
|
|
372
392
|
src/models/HoldingChange.ts
|
|
373
393
|
src/models/InsiderTrade.ts
|
|
394
|
+
src/models/InsiderTradeFootnote.ts
|
|
374
395
|
src/models/InvestorDocument.ts
|
|
375
396
|
src/models/InvestorDocumentSearchHit.ts
|
|
376
397
|
src/models/Ipo.ts
|
|
@@ -401,6 +422,7 @@ src/models/ListFilings200ResponseMeta.ts
|
|
|
401
422
|
src/models/ListFilings200ResponseMetaFormFacetInner.ts
|
|
402
423
|
src/models/ListFiscalPeriods200Response.ts
|
|
403
424
|
src/models/ListFormCatalog200Response.ts
|
|
425
|
+
src/models/ListFundHoldings200Response.ts
|
|
404
426
|
src/models/ListGrowth200Response.ts
|
|
405
427
|
src/models/ListGuidance200Response.ts
|
|
406
428
|
src/models/ListHoldingChanges200Response.ts
|
|
@@ -414,6 +436,8 @@ src/models/ListMappingRules200Response.ts
|
|
|
414
436
|
src/models/ListMarketHolidays200Response.ts
|
|
415
437
|
src/models/ListMetricCatalog200Response.ts
|
|
416
438
|
src/models/ListNews200Response.ts
|
|
439
|
+
src/models/ListOfferings200Response.ts
|
|
440
|
+
src/models/ListOfferings200ResponseMeta.ts
|
|
417
441
|
src/models/ListParticipants200Response.ts
|
|
418
442
|
src/models/ListPeople200Response.ts
|
|
419
443
|
src/models/ListQa200Response.ts
|
|
@@ -450,6 +474,8 @@ src/models/NewsSearchHitItem.ts
|
|
|
450
474
|
src/models/NewsText.ts
|
|
451
475
|
src/models/NewsTextBlocksInner.ts
|
|
452
476
|
src/models/NewsTextCoverage.ts
|
|
477
|
+
src/models/Offering.ts
|
|
478
|
+
src/models/OfferingRelatedPerson.ts
|
|
453
479
|
src/models/Participation.ts
|
|
454
480
|
src/models/ParticipationEvidenceInner.ts
|
|
455
481
|
src/models/PdfDocument.ts
|
|
@@ -10,8 +10,20 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
+
import { type ListFundHoldings200Response } from '../models/ListFundHoldings200Response';
|
|
13
14
|
import { type ListHoldingChanges200Response } from '../models/ListHoldingChanges200Response';
|
|
14
15
|
import { type ListHoldings200Response } from '../models/ListHoldings200Response';
|
|
16
|
+
export interface ListFundHoldingsRequest {
|
|
17
|
+
company?: string;
|
|
18
|
+
filer?: string;
|
|
19
|
+
series?: string;
|
|
20
|
+
accession?: string;
|
|
21
|
+
periodEnd?: Date;
|
|
22
|
+
sort?: ListFundHoldingsSortEnum;
|
|
23
|
+
fields?: string;
|
|
24
|
+
limit?: number;
|
|
25
|
+
cursor?: string;
|
|
26
|
+
}
|
|
15
27
|
export interface ListHoldingChangesRequest {
|
|
16
28
|
company?: string;
|
|
17
29
|
filer?: string;
|
|
@@ -37,6 +49,20 @@ export interface ListHoldingsRequest {
|
|
|
37
49
|
*
|
|
38
50
|
*/
|
|
39
51
|
export declare class HoldingsApi extends runtime.BaseAPI {
|
|
52
|
+
/**
|
|
53
|
+
* Creates request options for listFundHoldings without sending the request
|
|
54
|
+
*/
|
|
55
|
+
listFundHoldingsRequestOpts(requestParameters: ListFundHoldingsRequest): Promise<runtime.RequestOpts>;
|
|
56
|
+
/**
|
|
57
|
+
* N-PORT fund and ETF positions from the funds\' quarterly public reports (about 60 days after the report date): by issuer (`company=`, one row per fund holding it, from each fund\'s latest report on or before `period_end`, its positions in the issuer summed), by fund (`filer=` registrant CIK, `series=` when the registrant files for several funds: that fund\'s positions) or by filing (`accession=`, an NPORT-P filing\'s reported holdings as filed); exactly one of `company`, `filer` or `accession` (`series` alone needs `filer`). `period_end` defaults to today. Order: value in USD, descending (`company=`, `filer=`), the filing\'s line order (`accession=`); several companies are read one after another. A fund row is not a 13F `Holding` (different row type, R16): `/v1/holdings` keeps the 13F managers.
|
|
58
|
+
* List N-PORT fund holdings
|
|
59
|
+
*/
|
|
60
|
+
listFundHoldingsRaw(requestParameters: ListFundHoldingsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ListFundHoldings200Response>>;
|
|
61
|
+
/**
|
|
62
|
+
* N-PORT fund and ETF positions from the funds\' quarterly public reports (about 60 days after the report date): by issuer (`company=`, one row per fund holding it, from each fund\'s latest report on or before `period_end`, its positions in the issuer summed), by fund (`filer=` registrant CIK, `series=` when the registrant files for several funds: that fund\'s positions) or by filing (`accession=`, an NPORT-P filing\'s reported holdings as filed); exactly one of `company`, `filer` or `accession` (`series` alone needs `filer`). `period_end` defaults to today. Order: value in USD, descending (`company=`, `filer=`), the filing\'s line order (`accession=`); several companies are read one after another. A fund row is not a 13F `Holding` (different row type, R16): `/v1/holdings` keeps the 13F managers.
|
|
63
|
+
* List N-PORT fund holdings
|
|
64
|
+
*/
|
|
65
|
+
listFundHoldings(requestParameters?: ListFundHoldingsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ListFundHoldings200Response>;
|
|
40
66
|
/**
|
|
41
67
|
* Creates request options for listHoldingChanges without sending the request
|
|
42
68
|
*/
|
|
@@ -66,6 +92,13 @@ export declare class HoldingsApi extends runtime.BaseAPI {
|
|
|
66
92
|
*/
|
|
67
93
|
listHoldings(requestParameters?: ListHoldingsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ListHoldings200Response>;
|
|
68
94
|
}
|
|
95
|
+
/**
|
|
96
|
+
* @export
|
|
97
|
+
*/
|
|
98
|
+
export declare const ListFundHoldingsSortEnum: {
|
|
99
|
+
readonly ValueUsd: "-value_usd";
|
|
100
|
+
};
|
|
101
|
+
export type ListFundHoldingsSortEnum = typeof ListFundHoldingsSortEnum[keyof typeof ListFundHoldingsSortEnum];
|
|
69
102
|
/**
|
|
70
103
|
* @export
|
|
71
104
|
*/
|
package/dist/apis/HoldingsApi.js
CHANGED
|
@@ -22,14 +22,86 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
22
22
|
});
|
|
23
23
|
};
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
exports.ListHoldingsSortEnum = exports.ListHoldingsInstrumentsEnum = exports.HoldingsApi = void 0;
|
|
25
|
+
exports.ListHoldingsSortEnum = exports.ListHoldingsInstrumentsEnum = exports.ListFundHoldingsSortEnum = exports.HoldingsApi = void 0;
|
|
26
26
|
const runtime = require("../runtime");
|
|
27
|
+
const ListFundHoldings200Response_1 = require("../models/ListFundHoldings200Response");
|
|
27
28
|
const ListHoldingChanges200Response_1 = require("../models/ListHoldingChanges200Response");
|
|
28
29
|
const ListHoldings200Response_1 = require("../models/ListHoldings200Response");
|
|
29
30
|
/**
|
|
30
31
|
*
|
|
31
32
|
*/
|
|
32
33
|
class HoldingsApi extends runtime.BaseAPI {
|
|
34
|
+
/**
|
|
35
|
+
* Creates request options for listFundHoldings without sending the request
|
|
36
|
+
*/
|
|
37
|
+
listFundHoldingsRequestOpts(requestParameters) {
|
|
38
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
39
|
+
const queryParameters = {};
|
|
40
|
+
if (requestParameters['company'] != null) {
|
|
41
|
+
queryParameters['company'] = requestParameters['company'];
|
|
42
|
+
}
|
|
43
|
+
if (requestParameters['filer'] != null) {
|
|
44
|
+
queryParameters['filer'] = requestParameters['filer'];
|
|
45
|
+
}
|
|
46
|
+
if (requestParameters['series'] != null) {
|
|
47
|
+
queryParameters['series'] = requestParameters['series'];
|
|
48
|
+
}
|
|
49
|
+
if (requestParameters['accession'] != null) {
|
|
50
|
+
queryParameters['accession'] = requestParameters['accession'];
|
|
51
|
+
}
|
|
52
|
+
if (requestParameters['periodEnd'] != null) {
|
|
53
|
+
queryParameters['period_end'] = requestParameters['periodEnd'].toISOString().substring(0, 10);
|
|
54
|
+
}
|
|
55
|
+
if (requestParameters['sort'] != null) {
|
|
56
|
+
queryParameters['sort'] = requestParameters['sort'];
|
|
57
|
+
}
|
|
58
|
+
if (requestParameters['fields'] != null) {
|
|
59
|
+
queryParameters['fields'] = requestParameters['fields'];
|
|
60
|
+
}
|
|
61
|
+
if (requestParameters['limit'] != null) {
|
|
62
|
+
queryParameters['limit'] = requestParameters['limit'];
|
|
63
|
+
}
|
|
64
|
+
if (requestParameters['cursor'] != null) {
|
|
65
|
+
queryParameters['cursor'] = requestParameters['cursor'];
|
|
66
|
+
}
|
|
67
|
+
const headerParameters = {};
|
|
68
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
69
|
+
const token = this.configuration.accessToken;
|
|
70
|
+
const tokenString = yield token("bearerAuth", []);
|
|
71
|
+
if (tokenString) {
|
|
72
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
let urlPath = `/v1/fund-holdings`;
|
|
76
|
+
return {
|
|
77
|
+
path: urlPath,
|
|
78
|
+
method: 'GET',
|
|
79
|
+
headers: headerParameters,
|
|
80
|
+
query: queryParameters,
|
|
81
|
+
};
|
|
82
|
+
});
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
85
|
+
* N-PORT fund and ETF positions from the funds\' quarterly public reports (about 60 days after the report date): by issuer (`company=`, one row per fund holding it, from each fund\'s latest report on or before `period_end`, its positions in the issuer summed), by fund (`filer=` registrant CIK, `series=` when the registrant files for several funds: that fund\'s positions) or by filing (`accession=`, an NPORT-P filing\'s reported holdings as filed); exactly one of `company`, `filer` or `accession` (`series` alone needs `filer`). `period_end` defaults to today. Order: value in USD, descending (`company=`, `filer=`), the filing\'s line order (`accession=`); several companies are read one after another. A fund row is not a 13F `Holding` (different row type, R16): `/v1/holdings` keeps the 13F managers.
|
|
86
|
+
* List N-PORT fund holdings
|
|
87
|
+
*/
|
|
88
|
+
listFundHoldingsRaw(requestParameters, initOverrides) {
|
|
89
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
90
|
+
const requestOptions = yield this.listFundHoldingsRequestOpts(requestParameters);
|
|
91
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
92
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, ListFundHoldings200Response_1.ListFundHoldings200ResponseFromJSON)(jsonValue));
|
|
93
|
+
});
|
|
94
|
+
}
|
|
95
|
+
/**
|
|
96
|
+
* N-PORT fund and ETF positions from the funds\' quarterly public reports (about 60 days after the report date): by issuer (`company=`, one row per fund holding it, from each fund\'s latest report on or before `period_end`, its positions in the issuer summed), by fund (`filer=` registrant CIK, `series=` when the registrant files for several funds: that fund\'s positions) or by filing (`accession=`, an NPORT-P filing\'s reported holdings as filed); exactly one of `company`, `filer` or `accession` (`series` alone needs `filer`). `period_end` defaults to today. Order: value in USD, descending (`company=`, `filer=`), the filing\'s line order (`accession=`); several companies are read one after another. A fund row is not a 13F `Holding` (different row type, R16): `/v1/holdings` keeps the 13F managers.
|
|
97
|
+
* List N-PORT fund holdings
|
|
98
|
+
*/
|
|
99
|
+
listFundHoldings() {
|
|
100
|
+
return __awaiter(this, arguments, void 0, function* (requestParameters = {}, initOverrides) {
|
|
101
|
+
const response = yield this.listFundHoldingsRaw(requestParameters, initOverrides);
|
|
102
|
+
return yield response.value();
|
|
103
|
+
});
|
|
104
|
+
}
|
|
33
105
|
/**
|
|
34
106
|
* Creates request options for listHoldingChanges without sending the request
|
|
35
107
|
*/
|
|
@@ -171,6 +243,12 @@ class HoldingsApi extends runtime.BaseAPI {
|
|
|
171
243
|
}
|
|
172
244
|
}
|
|
173
245
|
exports.HoldingsApi = HoldingsApi;
|
|
246
|
+
/**
|
|
247
|
+
* @export
|
|
248
|
+
*/
|
|
249
|
+
exports.ListFundHoldingsSortEnum = {
|
|
250
|
+
ValueUsd: '-value_usd'
|
|
251
|
+
};
|
|
174
252
|
/**
|
|
175
253
|
* @export
|
|
176
254
|
*/
|
package/dist/apis/IPOsApi.d.ts
CHANGED
|
@@ -12,10 +12,16 @@
|
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
13
|
import { type Ipo } from '../models/Ipo';
|
|
14
14
|
import { type ListIpos200Response } from '../models/ListIpos200Response';
|
|
15
|
+
import { type ListOfferings200Response } from '../models/ListOfferings200Response';
|
|
16
|
+
import { type Offering } from '../models/Offering';
|
|
15
17
|
export interface GetIpoRequest {
|
|
16
18
|
ipoId: string;
|
|
17
19
|
fields?: string;
|
|
18
20
|
}
|
|
21
|
+
export interface GetOfferingRequest {
|
|
22
|
+
offeringId: string;
|
|
23
|
+
fields?: string;
|
|
24
|
+
}
|
|
19
25
|
export interface ListIposRequest {
|
|
20
26
|
stage?: string;
|
|
21
27
|
isSpac?: boolean;
|
|
@@ -29,6 +35,19 @@ export interface ListIposRequest {
|
|
|
29
35
|
limit?: number;
|
|
30
36
|
cursor?: string;
|
|
31
37
|
}
|
|
38
|
+
export interface ListOfferingsRequest {
|
|
39
|
+
company?: string;
|
|
40
|
+
filedAtGte?: Date;
|
|
41
|
+
filedAtLte?: Date;
|
|
42
|
+
exemption?: string;
|
|
43
|
+
industry?: string;
|
|
44
|
+
totalSoldGte?: number;
|
|
45
|
+
isAmendment?: boolean;
|
|
46
|
+
sort?: ListOfferingsSortEnum;
|
|
47
|
+
fields?: string;
|
|
48
|
+
limit?: number;
|
|
49
|
+
cursor?: string;
|
|
50
|
+
}
|
|
32
51
|
/**
|
|
33
52
|
*
|
|
34
53
|
*/
|
|
@@ -47,6 +66,20 @@ export declare class IPOsApi extends runtime.BaseAPI {
|
|
|
47
66
|
* Get an offering
|
|
48
67
|
*/
|
|
49
68
|
getIpo(requestParameters: GetIpoRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Ipo>;
|
|
69
|
+
/**
|
|
70
|
+
* Creates request options for getOffering without sending the request
|
|
71
|
+
*/
|
|
72
|
+
getOfferingRequestOpts(requestParameters: GetOfferingRequest): Promise<runtime.RequestOpts>;
|
|
73
|
+
/**
|
|
74
|
+
* One Form D private offering by its id (the Form D file number, e.g. `021-528681`), with the latest filing\'s facts and the held filing history; an unknown id answers 404. Form D is research data, not limited to listed companies: `company=` answers any Form D issuer CIK (funds, private companies; a ticker resolves only for a listed company), and the list is not gated by the coverage of the financial families.
|
|
75
|
+
* Get a Form D private offering
|
|
76
|
+
*/
|
|
77
|
+
getOfferingRaw(requestParameters: GetOfferingRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Offering>>;
|
|
78
|
+
/**
|
|
79
|
+
* One Form D private offering by its id (the Form D file number, e.g. `021-528681`), with the latest filing\'s facts and the held filing history; an unknown id answers 404. Form D is research data, not limited to listed companies: `company=` answers any Form D issuer CIK (funds, private companies; a ticker resolves only for a listed company), and the list is not gated by the coverage of the financial families.
|
|
80
|
+
* Get a Form D private offering
|
|
81
|
+
*/
|
|
82
|
+
getOffering(requestParameters: GetOfferingRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Offering>;
|
|
50
83
|
/**
|
|
51
84
|
* Creates request options for listIpos without sending the request
|
|
52
85
|
*/
|
|
@@ -61,6 +94,20 @@ export declare class IPOsApi extends runtime.BaseAPI {
|
|
|
61
94
|
* List offerings
|
|
62
95
|
*/
|
|
63
96
|
listIpos(requestParameters?: ListIposRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ListIpos200Response>;
|
|
97
|
+
/**
|
|
98
|
+
* Creates request options for listOfferings without sending the request
|
|
99
|
+
*/
|
|
100
|
+
listOfferingsRequestOpts(requestParameters: ListOfferingsRequest): Promise<runtime.RequestOpts>;
|
|
101
|
+
/**
|
|
102
|
+
* Form D private offerings (Regulation D and Section 4(a)(5) exempt offerings) from the SEC\'s quarterly Form D data sets, five years held: one row per offering (SEC\'s Form D file number; every amendment folds into it) with the latest filing\'s facts — issuer and co-issuers, exemptions as filed, industry group, security types, offering / sold / remaining amounts (USD), investors, related persons — and the held filing history. Filters: `company=` (one issuer CIK or listed ticker), `filed_at.gte|lte` (latest filing date), `exemption=`, `industry=`, `total_sold.gte`, `is_amendment`. Order: latest filing date descending, then offering id. An issuer CIK the SEC registry and the data set do not know answers 404; a known issuer without offerings an empty page. Form D is research data, not limited to listed companies: `company=` answers any Form D issuer CIK (funds, private companies; a ticker resolves only for a listed company), and the list is not gated by the coverage of the financial families.
|
|
103
|
+
* List Form D private offerings
|
|
104
|
+
*/
|
|
105
|
+
listOfferingsRaw(requestParameters: ListOfferingsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ListOfferings200Response>>;
|
|
106
|
+
/**
|
|
107
|
+
* Form D private offerings (Regulation D and Section 4(a)(5) exempt offerings) from the SEC\'s quarterly Form D data sets, five years held: one row per offering (SEC\'s Form D file number; every amendment folds into it) with the latest filing\'s facts — issuer and co-issuers, exemptions as filed, industry group, security types, offering / sold / remaining amounts (USD), investors, related persons — and the held filing history. Filters: `company=` (one issuer CIK or listed ticker), `filed_at.gte|lte` (latest filing date), `exemption=`, `industry=`, `total_sold.gte`, `is_amendment`. Order: latest filing date descending, then offering id. An issuer CIK the SEC registry and the data set do not know answers 404; a known issuer without offerings an empty page. Form D is research data, not limited to listed companies: `company=` answers any Form D issuer CIK (funds, private companies; a ticker resolves only for a listed company), and the list is not gated by the coverage of the financial families.
|
|
108
|
+
* List Form D private offerings
|
|
109
|
+
*/
|
|
110
|
+
listOfferings(requestParameters?: ListOfferingsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ListOfferings200Response>;
|
|
64
111
|
}
|
|
65
112
|
/**
|
|
66
113
|
* @export
|
|
@@ -72,3 +119,10 @@ export declare const ListIposSortEnum: {
|
|
|
72
119
|
readonly FirstPublicAt2: "-first_public_at";
|
|
73
120
|
};
|
|
74
121
|
export type ListIposSortEnum = typeof ListIposSortEnum[keyof typeof ListIposSortEnum];
|
|
122
|
+
/**
|
|
123
|
+
* @export
|
|
124
|
+
*/
|
|
125
|
+
export declare const ListOfferingsSortEnum: {
|
|
126
|
+
readonly FiledLatest: "-filed_latest";
|
|
127
|
+
};
|
|
128
|
+
export type ListOfferingsSortEnum = typeof ListOfferingsSortEnum[keyof typeof ListOfferingsSortEnum];
|
package/dist/apis/IPOsApi.js
CHANGED
|
@@ -22,10 +22,12 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
22
22
|
});
|
|
23
23
|
};
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
exports.ListIposSortEnum = exports.IPOsApi = void 0;
|
|
25
|
+
exports.ListOfferingsSortEnum = exports.ListIposSortEnum = exports.IPOsApi = void 0;
|
|
26
26
|
const runtime = require("../runtime");
|
|
27
27
|
const Ipo_1 = require("../models/Ipo");
|
|
28
28
|
const ListIpos200Response_1 = require("../models/ListIpos200Response");
|
|
29
|
+
const ListOfferings200Response_1 = require("../models/ListOfferings200Response");
|
|
30
|
+
const Offering_1 = require("../models/Offering");
|
|
29
31
|
/**
|
|
30
32
|
*
|
|
31
33
|
*/
|
|
@@ -81,6 +83,57 @@ class IPOsApi extends runtime.BaseAPI {
|
|
|
81
83
|
return yield response.value();
|
|
82
84
|
});
|
|
83
85
|
}
|
|
86
|
+
/**
|
|
87
|
+
* Creates request options for getOffering without sending the request
|
|
88
|
+
*/
|
|
89
|
+
getOfferingRequestOpts(requestParameters) {
|
|
90
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
91
|
+
if (requestParameters['offeringId'] == null) {
|
|
92
|
+
throw new runtime.RequiredError('offeringId', 'Required parameter "offeringId" was null or undefined when calling getOffering().');
|
|
93
|
+
}
|
|
94
|
+
const queryParameters = {};
|
|
95
|
+
if (requestParameters['fields'] != null) {
|
|
96
|
+
queryParameters['fields'] = requestParameters['fields'];
|
|
97
|
+
}
|
|
98
|
+
const headerParameters = {};
|
|
99
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
100
|
+
const token = this.configuration.accessToken;
|
|
101
|
+
const tokenString = yield token("bearerAuth", []);
|
|
102
|
+
if (tokenString) {
|
|
103
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
let urlPath = `/v1/offerings/{offering_id}`;
|
|
107
|
+
urlPath = urlPath.replace('{offering_id}', encodeURIComponent(String(requestParameters['offeringId'])));
|
|
108
|
+
return {
|
|
109
|
+
path: urlPath,
|
|
110
|
+
method: 'GET',
|
|
111
|
+
headers: headerParameters,
|
|
112
|
+
query: queryParameters,
|
|
113
|
+
};
|
|
114
|
+
});
|
|
115
|
+
}
|
|
116
|
+
/**
|
|
117
|
+
* One Form D private offering by its id (the Form D file number, e.g. `021-528681`), with the latest filing\'s facts and the held filing history; an unknown id answers 404. Form D is research data, not limited to listed companies: `company=` answers any Form D issuer CIK (funds, private companies; a ticker resolves only for a listed company), and the list is not gated by the coverage of the financial families.
|
|
118
|
+
* Get a Form D private offering
|
|
119
|
+
*/
|
|
120
|
+
getOfferingRaw(requestParameters, initOverrides) {
|
|
121
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
122
|
+
const requestOptions = yield this.getOfferingRequestOpts(requestParameters);
|
|
123
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
124
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, Offering_1.OfferingFromJSON)(jsonValue));
|
|
125
|
+
});
|
|
126
|
+
}
|
|
127
|
+
/**
|
|
128
|
+
* One Form D private offering by its id (the Form D file number, e.g. `021-528681`), with the latest filing\'s facts and the held filing history; an unknown id answers 404. Form D is research data, not limited to listed companies: `company=` answers any Form D issuer CIK (funds, private companies; a ticker resolves only for a listed company), and the list is not gated by the coverage of the financial families.
|
|
129
|
+
* Get a Form D private offering
|
|
130
|
+
*/
|
|
131
|
+
getOffering(requestParameters, initOverrides) {
|
|
132
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
133
|
+
const response = yield this.getOfferingRaw(requestParameters, initOverrides);
|
|
134
|
+
return yield response.value();
|
|
135
|
+
});
|
|
136
|
+
}
|
|
84
137
|
/**
|
|
85
138
|
* Creates request options for listIpos without sending the request
|
|
86
139
|
*/
|
|
@@ -158,6 +211,83 @@ class IPOsApi extends runtime.BaseAPI {
|
|
|
158
211
|
return yield response.value();
|
|
159
212
|
});
|
|
160
213
|
}
|
|
214
|
+
/**
|
|
215
|
+
* Creates request options for listOfferings without sending the request
|
|
216
|
+
*/
|
|
217
|
+
listOfferingsRequestOpts(requestParameters) {
|
|
218
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
219
|
+
const queryParameters = {};
|
|
220
|
+
if (requestParameters['company'] != null) {
|
|
221
|
+
queryParameters['company'] = requestParameters['company'];
|
|
222
|
+
}
|
|
223
|
+
if (requestParameters['filedAtGte'] != null) {
|
|
224
|
+
queryParameters['filed_at.gte'] = requestParameters['filedAtGte'].toISOString().substring(0, 10);
|
|
225
|
+
}
|
|
226
|
+
if (requestParameters['filedAtLte'] != null) {
|
|
227
|
+
queryParameters['filed_at.lte'] = requestParameters['filedAtLte'].toISOString().substring(0, 10);
|
|
228
|
+
}
|
|
229
|
+
if (requestParameters['exemption'] != null) {
|
|
230
|
+
queryParameters['exemption'] = requestParameters['exemption'];
|
|
231
|
+
}
|
|
232
|
+
if (requestParameters['industry'] != null) {
|
|
233
|
+
queryParameters['industry'] = requestParameters['industry'];
|
|
234
|
+
}
|
|
235
|
+
if (requestParameters['totalSoldGte'] != null) {
|
|
236
|
+
queryParameters['total_sold.gte'] = requestParameters['totalSoldGte'];
|
|
237
|
+
}
|
|
238
|
+
if (requestParameters['isAmendment'] != null) {
|
|
239
|
+
queryParameters['is_amendment'] = requestParameters['isAmendment'];
|
|
240
|
+
}
|
|
241
|
+
if (requestParameters['sort'] != null) {
|
|
242
|
+
queryParameters['sort'] = requestParameters['sort'];
|
|
243
|
+
}
|
|
244
|
+
if (requestParameters['fields'] != null) {
|
|
245
|
+
queryParameters['fields'] = requestParameters['fields'];
|
|
246
|
+
}
|
|
247
|
+
if (requestParameters['limit'] != null) {
|
|
248
|
+
queryParameters['limit'] = requestParameters['limit'];
|
|
249
|
+
}
|
|
250
|
+
if (requestParameters['cursor'] != null) {
|
|
251
|
+
queryParameters['cursor'] = requestParameters['cursor'];
|
|
252
|
+
}
|
|
253
|
+
const headerParameters = {};
|
|
254
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
255
|
+
const token = this.configuration.accessToken;
|
|
256
|
+
const tokenString = yield token("bearerAuth", []);
|
|
257
|
+
if (tokenString) {
|
|
258
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
let urlPath = `/v1/offerings`;
|
|
262
|
+
return {
|
|
263
|
+
path: urlPath,
|
|
264
|
+
method: 'GET',
|
|
265
|
+
headers: headerParameters,
|
|
266
|
+
query: queryParameters,
|
|
267
|
+
};
|
|
268
|
+
});
|
|
269
|
+
}
|
|
270
|
+
/**
|
|
271
|
+
* Form D private offerings (Regulation D and Section 4(a)(5) exempt offerings) from the SEC\'s quarterly Form D data sets, five years held: one row per offering (SEC\'s Form D file number; every amendment folds into it) with the latest filing\'s facts — issuer and co-issuers, exemptions as filed, industry group, security types, offering / sold / remaining amounts (USD), investors, related persons — and the held filing history. Filters: `company=` (one issuer CIK or listed ticker), `filed_at.gte|lte` (latest filing date), `exemption=`, `industry=`, `total_sold.gte`, `is_amendment`. Order: latest filing date descending, then offering id. An issuer CIK the SEC registry and the data set do not know answers 404; a known issuer without offerings an empty page. Form D is research data, not limited to listed companies: `company=` answers any Form D issuer CIK (funds, private companies; a ticker resolves only for a listed company), and the list is not gated by the coverage of the financial families.
|
|
272
|
+
* List Form D private offerings
|
|
273
|
+
*/
|
|
274
|
+
listOfferingsRaw(requestParameters, initOverrides) {
|
|
275
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
276
|
+
const requestOptions = yield this.listOfferingsRequestOpts(requestParameters);
|
|
277
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
278
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, ListOfferings200Response_1.ListOfferings200ResponseFromJSON)(jsonValue));
|
|
279
|
+
});
|
|
280
|
+
}
|
|
281
|
+
/**
|
|
282
|
+
* Form D private offerings (Regulation D and Section 4(a)(5) exempt offerings) from the SEC\'s quarterly Form D data sets, five years held: one row per offering (SEC\'s Form D file number; every amendment folds into it) with the latest filing\'s facts — issuer and co-issuers, exemptions as filed, industry group, security types, offering / sold / remaining amounts (USD), investors, related persons — and the held filing history. Filters: `company=` (one issuer CIK or listed ticker), `filed_at.gte|lte` (latest filing date), `exemption=`, `industry=`, `total_sold.gte`, `is_amendment`. Order: latest filing date descending, then offering id. An issuer CIK the SEC registry and the data set do not know answers 404; a known issuer without offerings an empty page. Form D is research data, not limited to listed companies: `company=` answers any Form D issuer CIK (funds, private companies; a ticker resolves only for a listed company), and the list is not gated by the coverage of the financial families.
|
|
283
|
+
* List Form D private offerings
|
|
284
|
+
*/
|
|
285
|
+
listOfferings() {
|
|
286
|
+
return __awaiter(this, arguments, void 0, function* (requestParameters = {}, initOverrides) {
|
|
287
|
+
const response = yield this.listOfferingsRaw(requestParameters, initOverrides);
|
|
288
|
+
return yield response.value();
|
|
289
|
+
});
|
|
290
|
+
}
|
|
161
291
|
}
|
|
162
292
|
exports.IPOsApi = IPOsApi;
|
|
163
293
|
/**
|
|
@@ -169,3 +299,9 @@ exports.ListIposSortEnum = {
|
|
|
169
299
|
FirstPublicAt: 'first_public_at',
|
|
170
300
|
FirstPublicAt2: '-first_public_at'
|
|
171
301
|
};
|
|
302
|
+
/**
|
|
303
|
+
* @export
|
|
304
|
+
*/
|
|
305
|
+
exports.ListOfferingsSortEnum = {
|
|
306
|
+
FiledLatest: '-filed_latest'
|
|
307
|
+
};
|
|
@@ -23,6 +23,9 @@ export interface ListInsiderTradesRequest {
|
|
|
23
23
|
filedAtGt?: Date;
|
|
24
24
|
filedAtLte?: Date;
|
|
25
25
|
filedAtLt?: Date;
|
|
26
|
+
transactionDateGte?: Date;
|
|
27
|
+
transactionDateLte?: Date;
|
|
28
|
+
isDerivative?: boolean;
|
|
26
29
|
sort?: ListInsiderTradesSortEnum;
|
|
27
30
|
fields?: string;
|
|
28
31
|
limit?: number;
|
|
@@ -108,6 +108,15 @@ class InsiderTradesApi extends runtime.BaseAPI {
|
|
|
108
108
|
if (requestParameters['filedAtLt'] != null) {
|
|
109
109
|
queryParameters['filed_at.lt'] = requestParameters['filedAtLt'].toISOString().substring(0, 10);
|
|
110
110
|
}
|
|
111
|
+
if (requestParameters['transactionDateGte'] != null) {
|
|
112
|
+
queryParameters['transaction_date.gte'] = requestParameters['transactionDateGte'].toISOString().substring(0, 10);
|
|
113
|
+
}
|
|
114
|
+
if (requestParameters['transactionDateLte'] != null) {
|
|
115
|
+
queryParameters['transaction_date.lte'] = requestParameters['transactionDateLte'].toISOString().substring(0, 10);
|
|
116
|
+
}
|
|
117
|
+
if (requestParameters['isDerivative'] != null) {
|
|
118
|
+
queryParameters['is_derivative'] = requestParameters['isDerivative'];
|
|
119
|
+
}
|
|
111
120
|
if (requestParameters['sort'] != null) {
|
|
112
121
|
queryParameters['sort'] = requestParameters['sort'];
|
|
113
122
|
}
|
|
@@ -10,8 +10,20 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
+
import { type ListFundHoldings200Response } from '../models/ListFundHoldings200Response';
|
|
13
14
|
import { type ListHoldingChanges200Response } from '../models/ListHoldingChanges200Response';
|
|
14
15
|
import { type ListHoldings200Response } from '../models/ListHoldings200Response';
|
|
16
|
+
export interface ListFundHoldingsRequest {
|
|
17
|
+
company?: string;
|
|
18
|
+
filer?: string;
|
|
19
|
+
series?: string;
|
|
20
|
+
accession?: string;
|
|
21
|
+
periodEnd?: Date;
|
|
22
|
+
sort?: ListFundHoldingsSortEnum;
|
|
23
|
+
fields?: string;
|
|
24
|
+
limit?: number;
|
|
25
|
+
cursor?: string;
|
|
26
|
+
}
|
|
15
27
|
export interface ListHoldingChangesRequest {
|
|
16
28
|
company?: string;
|
|
17
29
|
filer?: string;
|
|
@@ -37,6 +49,20 @@ export interface ListHoldingsRequest {
|
|
|
37
49
|
*
|
|
38
50
|
*/
|
|
39
51
|
export declare class HoldingsApi extends runtime.BaseAPI {
|
|
52
|
+
/**
|
|
53
|
+
* Creates request options for listFundHoldings without sending the request
|
|
54
|
+
*/
|
|
55
|
+
listFundHoldingsRequestOpts(requestParameters: ListFundHoldingsRequest): Promise<runtime.RequestOpts>;
|
|
56
|
+
/**
|
|
57
|
+
* N-PORT fund and ETF positions from the funds\' quarterly public reports (about 60 days after the report date): by issuer (`company=`, one row per fund holding it, from each fund\'s latest report on or before `period_end`, its positions in the issuer summed), by fund (`filer=` registrant CIK, `series=` when the registrant files for several funds: that fund\'s positions) or by filing (`accession=`, an NPORT-P filing\'s reported holdings as filed); exactly one of `company`, `filer` or `accession` (`series` alone needs `filer`). `period_end` defaults to today. Order: value in USD, descending (`company=`, `filer=`), the filing\'s line order (`accession=`); several companies are read one after another. A fund row is not a 13F `Holding` (different row type, R16): `/v1/holdings` keeps the 13F managers.
|
|
58
|
+
* List N-PORT fund holdings
|
|
59
|
+
*/
|
|
60
|
+
listFundHoldingsRaw(requestParameters: ListFundHoldingsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ListFundHoldings200Response>>;
|
|
61
|
+
/**
|
|
62
|
+
* N-PORT fund and ETF positions from the funds\' quarterly public reports (about 60 days after the report date): by issuer (`company=`, one row per fund holding it, from each fund\'s latest report on or before `period_end`, its positions in the issuer summed), by fund (`filer=` registrant CIK, `series=` when the registrant files for several funds: that fund\'s positions) or by filing (`accession=`, an NPORT-P filing\'s reported holdings as filed); exactly one of `company`, `filer` or `accession` (`series` alone needs `filer`). `period_end` defaults to today. Order: value in USD, descending (`company=`, `filer=`), the filing\'s line order (`accession=`); several companies are read one after another. A fund row is not a 13F `Holding` (different row type, R16): `/v1/holdings` keeps the 13F managers.
|
|
63
|
+
* List N-PORT fund holdings
|
|
64
|
+
*/
|
|
65
|
+
listFundHoldings(requestParameters?: ListFundHoldingsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ListFundHoldings200Response>;
|
|
40
66
|
/**
|
|
41
67
|
* Creates request options for listHoldingChanges without sending the request
|
|
42
68
|
*/
|
|
@@ -66,6 +92,13 @@ export declare class HoldingsApi extends runtime.BaseAPI {
|
|
|
66
92
|
*/
|
|
67
93
|
listHoldings(requestParameters?: ListHoldingsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ListHoldings200Response>;
|
|
68
94
|
}
|
|
95
|
+
/**
|
|
96
|
+
* @export
|
|
97
|
+
*/
|
|
98
|
+
export declare const ListFundHoldingsSortEnum: {
|
|
99
|
+
readonly ValueUsd: "-value_usd";
|
|
100
|
+
};
|
|
101
|
+
export type ListFundHoldingsSortEnum = typeof ListFundHoldingsSortEnum[keyof typeof ListFundHoldingsSortEnum];
|
|
69
102
|
/**
|
|
70
103
|
* @export
|
|
71
104
|
*/
|