reportify-sdk 0.3.9 → 0.3.11
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/dist/index.d.mts +45 -8
- package/dist/index.d.ts +45 -8
- package/dist/index.js +61 -14
- package/dist/index.mjs +61 -14
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -62,6 +62,8 @@ interface EarningsSearchOptions {
|
|
|
62
62
|
endDatetime?: string;
|
|
63
63
|
fiscalYear?: string;
|
|
64
64
|
fiscalQuarter?: string;
|
|
65
|
+
/** Sort order: 'date_desc' (newest first, default when no query), 'relevance' (recommended when query is provided), 'date_asc' (oldest first) */
|
|
66
|
+
sortBy?: 'relevance' | 'date_desc' | 'date_asc';
|
|
65
67
|
}
|
|
66
68
|
interface CompanyOverview {
|
|
67
69
|
symbol: string;
|
|
@@ -1390,6 +1392,35 @@ declare class UserModule {
|
|
|
1390
1392
|
* ```
|
|
1391
1393
|
*/
|
|
1392
1394
|
followedCompanies(): Promise<FollowedCompany[]>;
|
|
1395
|
+
/**
|
|
1396
|
+
* Follow a company (add to stock watchlist)
|
|
1397
|
+
*
|
|
1398
|
+
* @param symbol - Stock symbol in market:ticker format (e.g., US:AAPL, HK:00700, SH:600519, SZ:000001)
|
|
1399
|
+
* @returns The followed company information
|
|
1400
|
+
*
|
|
1401
|
+
* @example
|
|
1402
|
+
* ```typescript
|
|
1403
|
+
* const result = await client.user.followCompany('US:AAPL');
|
|
1404
|
+
* console.log(`Followed: ${result.symbol} - ${result.name}`);
|
|
1405
|
+
* ```
|
|
1406
|
+
*/
|
|
1407
|
+
followCompany(symbol: string): Promise<FollowedCompany>;
|
|
1408
|
+
/**
|
|
1409
|
+
* Unfollow a company (remove from stock watchlist)
|
|
1410
|
+
*
|
|
1411
|
+
* @param symbol - Stock symbol in market:ticker format (e.g., US:AAPL, HK:00700)
|
|
1412
|
+
* @returns Status of the unfollow operation
|
|
1413
|
+
*
|
|
1414
|
+
* @example
|
|
1415
|
+
* ```typescript
|
|
1416
|
+
* const result = await client.user.unfollowCompany('US:AAPL');
|
|
1417
|
+
* console.log(`Unfollowed: ${result.symbol}, success: ${result.success}`);
|
|
1418
|
+
* ```
|
|
1419
|
+
*/
|
|
1420
|
+
unfollowCompany(symbol: string): Promise<{
|
|
1421
|
+
symbol: string;
|
|
1422
|
+
success: boolean;
|
|
1423
|
+
}>;
|
|
1393
1424
|
}
|
|
1394
1425
|
|
|
1395
1426
|
/**
|
|
@@ -1435,21 +1466,27 @@ declare class SearchModule {
|
|
|
1435
1466
|
*/
|
|
1436
1467
|
filings(query: string, symbols: string[], options?: Omit<SearchOptions, 'symbols' | 'categories' | 'industries' | 'channelIds'>): Promise<Document[]>;
|
|
1437
1468
|
/**
|
|
1438
|
-
* Search earnings call transcripts and slides
|
|
1469
|
+
* Search for earnings-related conference call transcripts and presentation slides.
|
|
1470
|
+
* Query is optional - if not provided, returns documents in reverse chronological order;
|
|
1471
|
+
* if provided, results are sorted by relevance by default.
|
|
1439
1472
|
*
|
|
1440
|
-
* @param query - Search query string
|
|
1441
1473
|
* @param symbols - Stock symbols in market:ticker format (required, e.g., US:AAPL, HK:00700, SH:600519, SZ:000001)
|
|
1442
|
-
* @param options - Search options including fiscal year/quarter filters
|
|
1474
|
+
* @param options - Search options including query, fiscal year/quarter filters, and sort order
|
|
1443
1475
|
*/
|
|
1444
|
-
conferenceCalls(
|
|
1476
|
+
conferenceCalls(symbols: string[], options?: EarningsSearchOptions & {
|
|
1477
|
+
query?: string;
|
|
1478
|
+
}): Promise<Document[]>;
|
|
1445
1479
|
/**
|
|
1446
|
-
* Search earnings
|
|
1480
|
+
* Search for earnings-related documents submitted to exchanges, including quarterly reports,
|
|
1481
|
+
* semi-annual reports, and annual reports. Query is optional - if not provided, returns
|
|
1482
|
+
* documents in reverse chronological order; if provided, results are sorted by relevance by default.
|
|
1447
1483
|
*
|
|
1448
|
-
* @param query - Search query string
|
|
1449
1484
|
* @param symbols - Stock symbols in market:ticker format (required, e.g., US:AAPL, HK:00700, SH:600519, SZ:000001)
|
|
1450
|
-
* @param options - Search options including fiscal year/quarter filters
|
|
1485
|
+
* @param options - Search options including query, fiscal year/quarter filters, and sort order
|
|
1451
1486
|
*/
|
|
1452
|
-
earningsPack(
|
|
1487
|
+
earningsPack(symbols: string[], options?: EarningsSearchOptions & {
|
|
1488
|
+
query?: string;
|
|
1489
|
+
}): Promise<Document[]>;
|
|
1453
1490
|
/**
|
|
1454
1491
|
* Search conference calls and IR (Investor Relations) meetings
|
|
1455
1492
|
*/
|
package/dist/index.d.ts
CHANGED
|
@@ -62,6 +62,8 @@ interface EarningsSearchOptions {
|
|
|
62
62
|
endDatetime?: string;
|
|
63
63
|
fiscalYear?: string;
|
|
64
64
|
fiscalQuarter?: string;
|
|
65
|
+
/** Sort order: 'date_desc' (newest first, default when no query), 'relevance' (recommended when query is provided), 'date_asc' (oldest first) */
|
|
66
|
+
sortBy?: 'relevance' | 'date_desc' | 'date_asc';
|
|
65
67
|
}
|
|
66
68
|
interface CompanyOverview {
|
|
67
69
|
symbol: string;
|
|
@@ -1390,6 +1392,35 @@ declare class UserModule {
|
|
|
1390
1392
|
* ```
|
|
1391
1393
|
*/
|
|
1392
1394
|
followedCompanies(): Promise<FollowedCompany[]>;
|
|
1395
|
+
/**
|
|
1396
|
+
* Follow a company (add to stock watchlist)
|
|
1397
|
+
*
|
|
1398
|
+
* @param symbol - Stock symbol in market:ticker format (e.g., US:AAPL, HK:00700, SH:600519, SZ:000001)
|
|
1399
|
+
* @returns The followed company information
|
|
1400
|
+
*
|
|
1401
|
+
* @example
|
|
1402
|
+
* ```typescript
|
|
1403
|
+
* const result = await client.user.followCompany('US:AAPL');
|
|
1404
|
+
* console.log(`Followed: ${result.symbol} - ${result.name}`);
|
|
1405
|
+
* ```
|
|
1406
|
+
*/
|
|
1407
|
+
followCompany(symbol: string): Promise<FollowedCompany>;
|
|
1408
|
+
/**
|
|
1409
|
+
* Unfollow a company (remove from stock watchlist)
|
|
1410
|
+
*
|
|
1411
|
+
* @param symbol - Stock symbol in market:ticker format (e.g., US:AAPL, HK:00700)
|
|
1412
|
+
* @returns Status of the unfollow operation
|
|
1413
|
+
*
|
|
1414
|
+
* @example
|
|
1415
|
+
* ```typescript
|
|
1416
|
+
* const result = await client.user.unfollowCompany('US:AAPL');
|
|
1417
|
+
* console.log(`Unfollowed: ${result.symbol}, success: ${result.success}`);
|
|
1418
|
+
* ```
|
|
1419
|
+
*/
|
|
1420
|
+
unfollowCompany(symbol: string): Promise<{
|
|
1421
|
+
symbol: string;
|
|
1422
|
+
success: boolean;
|
|
1423
|
+
}>;
|
|
1393
1424
|
}
|
|
1394
1425
|
|
|
1395
1426
|
/**
|
|
@@ -1435,21 +1466,27 @@ declare class SearchModule {
|
|
|
1435
1466
|
*/
|
|
1436
1467
|
filings(query: string, symbols: string[], options?: Omit<SearchOptions, 'symbols' | 'categories' | 'industries' | 'channelIds'>): Promise<Document[]>;
|
|
1437
1468
|
/**
|
|
1438
|
-
* Search earnings call transcripts and slides
|
|
1469
|
+
* Search for earnings-related conference call transcripts and presentation slides.
|
|
1470
|
+
* Query is optional - if not provided, returns documents in reverse chronological order;
|
|
1471
|
+
* if provided, results are sorted by relevance by default.
|
|
1439
1472
|
*
|
|
1440
|
-
* @param query - Search query string
|
|
1441
1473
|
* @param symbols - Stock symbols in market:ticker format (required, e.g., US:AAPL, HK:00700, SH:600519, SZ:000001)
|
|
1442
|
-
* @param options - Search options including fiscal year/quarter filters
|
|
1474
|
+
* @param options - Search options including query, fiscal year/quarter filters, and sort order
|
|
1443
1475
|
*/
|
|
1444
|
-
conferenceCalls(
|
|
1476
|
+
conferenceCalls(symbols: string[], options?: EarningsSearchOptions & {
|
|
1477
|
+
query?: string;
|
|
1478
|
+
}): Promise<Document[]>;
|
|
1445
1479
|
/**
|
|
1446
|
-
* Search earnings
|
|
1480
|
+
* Search for earnings-related documents submitted to exchanges, including quarterly reports,
|
|
1481
|
+
* semi-annual reports, and annual reports. Query is optional - if not provided, returns
|
|
1482
|
+
* documents in reverse chronological order; if provided, results are sorted by relevance by default.
|
|
1447
1483
|
*
|
|
1448
|
-
* @param query - Search query string
|
|
1449
1484
|
* @param symbols - Stock symbols in market:ticker format (required, e.g., US:AAPL, HK:00700, SH:600519, SZ:000001)
|
|
1450
|
-
* @param options - Search options including fiscal year/quarter filters
|
|
1485
|
+
* @param options - Search options including query, fiscal year/quarter filters, and sort order
|
|
1451
1486
|
*/
|
|
1452
|
-
earningsPack(
|
|
1487
|
+
earningsPack(symbols: string[], options?: EarningsSearchOptions & {
|
|
1488
|
+
query?: string;
|
|
1489
|
+
}): Promise<Document[]>;
|
|
1453
1490
|
/**
|
|
1454
1491
|
* Search conference calls and IR (Investor Relations) meetings
|
|
1455
1492
|
*/
|
package/dist/index.js
CHANGED
|
@@ -1417,6 +1417,49 @@ var UserModule = class {
|
|
|
1417
1417
|
followedAt: company.followed_at
|
|
1418
1418
|
}));
|
|
1419
1419
|
}
|
|
1420
|
+
/**
|
|
1421
|
+
* Follow a company (add to stock watchlist)
|
|
1422
|
+
*
|
|
1423
|
+
* @param symbol - Stock symbol in market:ticker format (e.g., US:AAPL, HK:00700, SH:600519, SZ:000001)
|
|
1424
|
+
* @returns The followed company information
|
|
1425
|
+
*
|
|
1426
|
+
* @example
|
|
1427
|
+
* ```typescript
|
|
1428
|
+
* const result = await client.user.followCompany('US:AAPL');
|
|
1429
|
+
* console.log(`Followed: ${result.symbol} - ${result.name}`);
|
|
1430
|
+
* ```
|
|
1431
|
+
*/
|
|
1432
|
+
async followCompany(symbol) {
|
|
1433
|
+
const response = await this.client.post("/v1/tools/user/follow-company", { symbol });
|
|
1434
|
+
return {
|
|
1435
|
+
symbol: response.symbol,
|
|
1436
|
+
ticker: response.ticker,
|
|
1437
|
+
market: response.market,
|
|
1438
|
+
name: response.name,
|
|
1439
|
+
chineseName: response.chinese_name,
|
|
1440
|
+
englishName: response.english_name,
|
|
1441
|
+
logo: response.logo,
|
|
1442
|
+
followedAt: response.followed_at
|
|
1443
|
+
};
|
|
1444
|
+
}
|
|
1445
|
+
/**
|
|
1446
|
+
* Unfollow a company (remove from stock watchlist)
|
|
1447
|
+
*
|
|
1448
|
+
* @param symbol - Stock symbol in market:ticker format (e.g., US:AAPL, HK:00700)
|
|
1449
|
+
* @returns Status of the unfollow operation
|
|
1450
|
+
*
|
|
1451
|
+
* @example
|
|
1452
|
+
* ```typescript
|
|
1453
|
+
* const result = await client.user.unfollowCompany('US:AAPL');
|
|
1454
|
+
* console.log(`Unfollowed: ${result.symbol}, success: ${result.success}`);
|
|
1455
|
+
* ```
|
|
1456
|
+
*/
|
|
1457
|
+
async unfollowCompany(symbol) {
|
|
1458
|
+
return this.client.post(
|
|
1459
|
+
"/v1/tools/user/unfollow-company",
|
|
1460
|
+
{ symbol }
|
|
1461
|
+
);
|
|
1462
|
+
}
|
|
1420
1463
|
};
|
|
1421
1464
|
|
|
1422
1465
|
// src/search.ts
|
|
@@ -1495,18 +1538,20 @@ var SearchModule = class {
|
|
|
1495
1538
|
return response.docs || [];
|
|
1496
1539
|
}
|
|
1497
1540
|
/**
|
|
1498
|
-
* Search earnings call transcripts and slides
|
|
1541
|
+
* Search for earnings-related conference call transcripts and presentation slides.
|
|
1542
|
+
* Query is optional - if not provided, returns documents in reverse chronological order;
|
|
1543
|
+
* if provided, results are sorted by relevance by default.
|
|
1499
1544
|
*
|
|
1500
|
-
* @param query - Search query string
|
|
1501
1545
|
* @param symbols - Stock symbols in market:ticker format (required, e.g., US:AAPL, HK:00700, SH:600519, SZ:000001)
|
|
1502
|
-
* @param options - Search options including fiscal year/quarter filters
|
|
1546
|
+
* @param options - Search options including query, fiscal year/quarter filters, and sort order
|
|
1503
1547
|
*/
|
|
1504
|
-
async conferenceCalls(
|
|
1548
|
+
async conferenceCalls(symbols, options = {}) {
|
|
1505
1549
|
const body = {
|
|
1506
|
-
query,
|
|
1507
1550
|
symbols,
|
|
1508
|
-
num: options.num || 10
|
|
1551
|
+
num: options.num || 10,
|
|
1552
|
+
sort_by: options.sortBy || "date_desc"
|
|
1509
1553
|
};
|
|
1554
|
+
if (options.query) body.query = options.query;
|
|
1510
1555
|
if (options.startDatetime) body.start_datetime = options.startDatetime;
|
|
1511
1556
|
if (options.endDatetime) body.end_datetime = options.endDatetime;
|
|
1512
1557
|
if (options.fiscalYear) body.fiscal_year = options.fiscalYear;
|
|
@@ -1515,18 +1560,20 @@ var SearchModule = class {
|
|
|
1515
1560
|
return response.docs || [];
|
|
1516
1561
|
}
|
|
1517
1562
|
/**
|
|
1518
|
-
* Search earnings
|
|
1563
|
+
* Search for earnings-related documents submitted to exchanges, including quarterly reports,
|
|
1564
|
+
* semi-annual reports, and annual reports. Query is optional - if not provided, returns
|
|
1565
|
+
* documents in reverse chronological order; if provided, results are sorted by relevance by default.
|
|
1519
1566
|
*
|
|
1520
|
-
* @param query - Search query string
|
|
1521
1567
|
* @param symbols - Stock symbols in market:ticker format (required, e.g., US:AAPL, HK:00700, SH:600519, SZ:000001)
|
|
1522
|
-
* @param options - Search options including fiscal year/quarter filters
|
|
1568
|
+
* @param options - Search options including query, fiscal year/quarter filters, and sort order
|
|
1523
1569
|
*/
|
|
1524
|
-
async earningsPack(
|
|
1570
|
+
async earningsPack(symbols, options = {}) {
|
|
1525
1571
|
const body = {
|
|
1526
|
-
query,
|
|
1527
1572
|
symbols,
|
|
1528
|
-
num: options.num || 10
|
|
1573
|
+
num: options.num || 10,
|
|
1574
|
+
sort_by: options.sortBy || "date_desc"
|
|
1529
1575
|
};
|
|
1576
|
+
if (options.query) body.query = options.query;
|
|
1530
1577
|
if (options.startDatetime) body.start_datetime = options.startDatetime;
|
|
1531
1578
|
if (options.endDatetime) body.end_datetime = options.endDatetime;
|
|
1532
1579
|
if (options.fiscalYear) body.fiscal_year = options.fiscalYear;
|
|
@@ -1670,7 +1717,7 @@ var Reportify = class {
|
|
|
1670
1717
|
headers: {
|
|
1671
1718
|
Authorization: `Bearer ${this.apiKey}`,
|
|
1672
1719
|
"Content-Type": "application/json",
|
|
1673
|
-
"User-Agent": "reportify-sdk-js/0.3.
|
|
1720
|
+
"User-Agent": "reportify-sdk-js/0.3.10"
|
|
1674
1721
|
},
|
|
1675
1722
|
body: options.body ? JSON.stringify(options.body) : void 0,
|
|
1676
1723
|
signal: controller.signal
|
|
@@ -1731,7 +1778,7 @@ var Reportify = class {
|
|
|
1731
1778
|
headers: {
|
|
1732
1779
|
Authorization: `Bearer ${this.apiKey}`,
|
|
1733
1780
|
"Content-Type": "application/json",
|
|
1734
|
-
"User-Agent": "reportify-sdk-typescript/0.3.
|
|
1781
|
+
"User-Agent": "reportify-sdk-typescript/0.3.10"
|
|
1735
1782
|
}
|
|
1736
1783
|
});
|
|
1737
1784
|
if (!response.ok) {
|
package/dist/index.mjs
CHANGED
|
@@ -1375,6 +1375,49 @@ var UserModule = class {
|
|
|
1375
1375
|
followedAt: company.followed_at
|
|
1376
1376
|
}));
|
|
1377
1377
|
}
|
|
1378
|
+
/**
|
|
1379
|
+
* Follow a company (add to stock watchlist)
|
|
1380
|
+
*
|
|
1381
|
+
* @param symbol - Stock symbol in market:ticker format (e.g., US:AAPL, HK:00700, SH:600519, SZ:000001)
|
|
1382
|
+
* @returns The followed company information
|
|
1383
|
+
*
|
|
1384
|
+
* @example
|
|
1385
|
+
* ```typescript
|
|
1386
|
+
* const result = await client.user.followCompany('US:AAPL');
|
|
1387
|
+
* console.log(`Followed: ${result.symbol} - ${result.name}`);
|
|
1388
|
+
* ```
|
|
1389
|
+
*/
|
|
1390
|
+
async followCompany(symbol) {
|
|
1391
|
+
const response = await this.client.post("/v1/tools/user/follow-company", { symbol });
|
|
1392
|
+
return {
|
|
1393
|
+
symbol: response.symbol,
|
|
1394
|
+
ticker: response.ticker,
|
|
1395
|
+
market: response.market,
|
|
1396
|
+
name: response.name,
|
|
1397
|
+
chineseName: response.chinese_name,
|
|
1398
|
+
englishName: response.english_name,
|
|
1399
|
+
logo: response.logo,
|
|
1400
|
+
followedAt: response.followed_at
|
|
1401
|
+
};
|
|
1402
|
+
}
|
|
1403
|
+
/**
|
|
1404
|
+
* Unfollow a company (remove from stock watchlist)
|
|
1405
|
+
*
|
|
1406
|
+
* @param symbol - Stock symbol in market:ticker format (e.g., US:AAPL, HK:00700)
|
|
1407
|
+
* @returns Status of the unfollow operation
|
|
1408
|
+
*
|
|
1409
|
+
* @example
|
|
1410
|
+
* ```typescript
|
|
1411
|
+
* const result = await client.user.unfollowCompany('US:AAPL');
|
|
1412
|
+
* console.log(`Unfollowed: ${result.symbol}, success: ${result.success}`);
|
|
1413
|
+
* ```
|
|
1414
|
+
*/
|
|
1415
|
+
async unfollowCompany(symbol) {
|
|
1416
|
+
return this.client.post(
|
|
1417
|
+
"/v1/tools/user/unfollow-company",
|
|
1418
|
+
{ symbol }
|
|
1419
|
+
);
|
|
1420
|
+
}
|
|
1378
1421
|
};
|
|
1379
1422
|
|
|
1380
1423
|
// src/search.ts
|
|
@@ -1453,18 +1496,20 @@ var SearchModule = class {
|
|
|
1453
1496
|
return response.docs || [];
|
|
1454
1497
|
}
|
|
1455
1498
|
/**
|
|
1456
|
-
* Search earnings call transcripts and slides
|
|
1499
|
+
* Search for earnings-related conference call transcripts and presentation slides.
|
|
1500
|
+
* Query is optional - if not provided, returns documents in reverse chronological order;
|
|
1501
|
+
* if provided, results are sorted by relevance by default.
|
|
1457
1502
|
*
|
|
1458
|
-
* @param query - Search query string
|
|
1459
1503
|
* @param symbols - Stock symbols in market:ticker format (required, e.g., US:AAPL, HK:00700, SH:600519, SZ:000001)
|
|
1460
|
-
* @param options - Search options including fiscal year/quarter filters
|
|
1504
|
+
* @param options - Search options including query, fiscal year/quarter filters, and sort order
|
|
1461
1505
|
*/
|
|
1462
|
-
async conferenceCalls(
|
|
1506
|
+
async conferenceCalls(symbols, options = {}) {
|
|
1463
1507
|
const body = {
|
|
1464
|
-
query,
|
|
1465
1508
|
symbols,
|
|
1466
|
-
num: options.num || 10
|
|
1509
|
+
num: options.num || 10,
|
|
1510
|
+
sort_by: options.sortBy || "date_desc"
|
|
1467
1511
|
};
|
|
1512
|
+
if (options.query) body.query = options.query;
|
|
1468
1513
|
if (options.startDatetime) body.start_datetime = options.startDatetime;
|
|
1469
1514
|
if (options.endDatetime) body.end_datetime = options.endDatetime;
|
|
1470
1515
|
if (options.fiscalYear) body.fiscal_year = options.fiscalYear;
|
|
@@ -1473,18 +1518,20 @@ var SearchModule = class {
|
|
|
1473
1518
|
return response.docs || [];
|
|
1474
1519
|
}
|
|
1475
1520
|
/**
|
|
1476
|
-
* Search earnings
|
|
1521
|
+
* Search for earnings-related documents submitted to exchanges, including quarterly reports,
|
|
1522
|
+
* semi-annual reports, and annual reports. Query is optional - if not provided, returns
|
|
1523
|
+
* documents in reverse chronological order; if provided, results are sorted by relevance by default.
|
|
1477
1524
|
*
|
|
1478
|
-
* @param query - Search query string
|
|
1479
1525
|
* @param symbols - Stock symbols in market:ticker format (required, e.g., US:AAPL, HK:00700, SH:600519, SZ:000001)
|
|
1480
|
-
* @param options - Search options including fiscal year/quarter filters
|
|
1526
|
+
* @param options - Search options including query, fiscal year/quarter filters, and sort order
|
|
1481
1527
|
*/
|
|
1482
|
-
async earningsPack(
|
|
1528
|
+
async earningsPack(symbols, options = {}) {
|
|
1483
1529
|
const body = {
|
|
1484
|
-
query,
|
|
1485
1530
|
symbols,
|
|
1486
|
-
num: options.num || 10
|
|
1531
|
+
num: options.num || 10,
|
|
1532
|
+
sort_by: options.sortBy || "date_desc"
|
|
1487
1533
|
};
|
|
1534
|
+
if (options.query) body.query = options.query;
|
|
1488
1535
|
if (options.startDatetime) body.start_datetime = options.startDatetime;
|
|
1489
1536
|
if (options.endDatetime) body.end_datetime = options.endDatetime;
|
|
1490
1537
|
if (options.fiscalYear) body.fiscal_year = options.fiscalYear;
|
|
@@ -1628,7 +1675,7 @@ var Reportify = class {
|
|
|
1628
1675
|
headers: {
|
|
1629
1676
|
Authorization: `Bearer ${this.apiKey}`,
|
|
1630
1677
|
"Content-Type": "application/json",
|
|
1631
|
-
"User-Agent": "reportify-sdk-js/0.3.
|
|
1678
|
+
"User-Agent": "reportify-sdk-js/0.3.10"
|
|
1632
1679
|
},
|
|
1633
1680
|
body: options.body ? JSON.stringify(options.body) : void 0,
|
|
1634
1681
|
signal: controller.signal
|
|
@@ -1689,7 +1736,7 @@ var Reportify = class {
|
|
|
1689
1736
|
headers: {
|
|
1690
1737
|
Authorization: `Bearer ${this.apiKey}`,
|
|
1691
1738
|
"Content-Type": "application/json",
|
|
1692
|
-
"User-Agent": "reportify-sdk-typescript/0.3.
|
|
1739
|
+
"User-Agent": "reportify-sdk-typescript/0.3.10"
|
|
1693
1740
|
}
|
|
1694
1741
|
});
|
|
1695
1742
|
if (!response.ok) {
|