@alva-ai/toolkit 0.28.1-beta.1 → 0.31.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/README.md +14 -3
- package/dist/browser.global.js +63 -24
- package/dist/browser.global.js.map +1 -1
- package/dist/cli.d.ts +183 -1
- package/dist/cli.js +557 -45
- package/dist/cli.js.map +1 -1
- package/dist/dispatch.d.ts +183 -1
- package/dist/dispatch.js +211 -21
- package/dist/dispatch.js.map +1 -1
- package/dist/index.cjs +443 -32
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +184 -2
- package/dist/index.d.ts +184 -2
- package/dist/index.js +443 -32
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -549,6 +549,8 @@ interface PlaybookDraftResponse {
|
|
|
549
549
|
playbook_path: string;
|
|
550
550
|
}
|
|
551
551
|
interface PlaybookReleaseRequest {
|
|
552
|
+
/** Explicit consent to deliver bundled non-public Feeds to the Playbook audience. */
|
|
553
|
+
confirm_bundled_feed_exposure?: boolean;
|
|
552
554
|
name: string;
|
|
553
555
|
version: string;
|
|
554
556
|
feeds: Array<{
|
|
@@ -1329,11 +1331,121 @@ interface ForYouConnection {
|
|
|
1329
1331
|
hasPreviousPage: boolean;
|
|
1330
1332
|
};
|
|
1331
1333
|
}
|
|
1334
|
+
interface ForYouThesesParams {
|
|
1335
|
+
first?: number;
|
|
1336
|
+
after?: string;
|
|
1337
|
+
}
|
|
1338
|
+
/** Interface fields shared by user and curated-person publisher profiles. */
|
|
1339
|
+
interface ThesisPublisher {
|
|
1340
|
+
id: string;
|
|
1341
|
+
displayName: string;
|
|
1342
|
+
avatarUrl: string;
|
|
1343
|
+
bio: string;
|
|
1344
|
+
followersCount: number;
|
|
1345
|
+
viewerState: {
|
|
1346
|
+
following: boolean | null;
|
|
1347
|
+
};
|
|
1348
|
+
}
|
|
1349
|
+
interface ThesisSourceReference {
|
|
1350
|
+
title: string | null;
|
|
1351
|
+
sourceKind: string;
|
|
1352
|
+
sourceContentId: string;
|
|
1353
|
+
publicUrl: string;
|
|
1354
|
+
sourceTimeMs: number | null;
|
|
1355
|
+
locator: string;
|
|
1356
|
+
}
|
|
1357
|
+
/** The exact author version this recommendation renders, not the mutable Thesis. */
|
|
1358
|
+
interface ThesisPublicationSummary {
|
|
1359
|
+
thesisId: string;
|
|
1360
|
+
playbookId: string;
|
|
1361
|
+
authorVersionId: string;
|
|
1362
|
+
materialVersionId: string;
|
|
1363
|
+
itemKey: string;
|
|
1364
|
+
title: string;
|
|
1365
|
+
body: string;
|
|
1366
|
+
publishedAtMs: number;
|
|
1367
|
+
changeKind: string;
|
|
1368
|
+
visibility: string;
|
|
1369
|
+
closed: boolean;
|
|
1370
|
+
archived: boolean;
|
|
1371
|
+
note: string;
|
|
1372
|
+
closingNote: string;
|
|
1373
|
+
researchPaused: boolean;
|
|
1374
|
+
entityIds: string[];
|
|
1375
|
+
categoryIds: string[];
|
|
1376
|
+
/** `stance` is UNKNOWN, BULLISH or BEARISH today; Gateway may add values. */
|
|
1377
|
+
entityStances: {
|
|
1378
|
+
entityId: string;
|
|
1379
|
+
stance: string;
|
|
1380
|
+
}[];
|
|
1381
|
+
entities: {
|
|
1382
|
+
id: string;
|
|
1383
|
+
ticker: string;
|
|
1384
|
+
name: string;
|
|
1385
|
+
}[];
|
|
1386
|
+
publisher: ThesisPublisher;
|
|
1387
|
+
/** `type` is PRICE_CHART, IMAGE, AUDIO or VIDEO today; Gateway may add values. */
|
|
1388
|
+
medias: {
|
|
1389
|
+
type: string;
|
|
1390
|
+
coverUrl: string;
|
|
1391
|
+
url: string | null;
|
|
1392
|
+
}[];
|
|
1393
|
+
signalFeed: {
|
|
1394
|
+
id: string;
|
|
1395
|
+
} | null;
|
|
1396
|
+
snapshotRelease: {
|
|
1397
|
+
versionId: string;
|
|
1398
|
+
materialVersionId: string;
|
|
1399
|
+
publishedAtMs: number;
|
|
1400
|
+
changeKind: string;
|
|
1401
|
+
sourceRefs: ThesisSourceReference[];
|
|
1402
|
+
};
|
|
1403
|
+
}
|
|
1404
|
+
interface ThesisRecommendation {
|
|
1405
|
+
itemKey: string;
|
|
1406
|
+
publication: ThesisPublicationSummary;
|
|
1407
|
+
}
|
|
1408
|
+
/**
|
|
1409
|
+
* A ranked page, not a chronological one. `exhausted` is the only end of the
|
|
1410
|
+
* candidate pool; `scanLimited` means this page stopped at its scan budget and
|
|
1411
|
+
* more remains. A page may be empty while `hasNextPage` is still true, because
|
|
1412
|
+
* `endCursor` advances past scanned references that current visibility hides.
|
|
1413
|
+
*
|
|
1414
|
+
* `edges` is the only carrier. Gateway also returns an `items` list built from
|
|
1415
|
+
* the same nodes, but selecting it would put every publication body on the
|
|
1416
|
+
* wire twice for no extra information, so this read does not request it.
|
|
1417
|
+
*/
|
|
1418
|
+
interface ThesisRecommendationPage {
|
|
1419
|
+
edges: {
|
|
1420
|
+
cursor: string;
|
|
1421
|
+
node: ThesisRecommendation;
|
|
1422
|
+
}[];
|
|
1423
|
+
pageInfo: {
|
|
1424
|
+
startCursor: string;
|
|
1425
|
+
endCursor: string;
|
|
1426
|
+
hasNextPage: boolean;
|
|
1427
|
+
hasPreviousPage: boolean;
|
|
1428
|
+
};
|
|
1429
|
+
listId: string;
|
|
1430
|
+
pageCursor: string;
|
|
1431
|
+
nextCursor: string | null;
|
|
1432
|
+
exhausted: boolean;
|
|
1433
|
+
scanLimited: boolean;
|
|
1434
|
+
}
|
|
1332
1435
|
declare class ForYouResource {
|
|
1333
1436
|
private client;
|
|
1334
1437
|
constructor(client: AlvaClient);
|
|
1335
1438
|
/** One newest-first page. Does not truncate content or advance a watermark. */
|
|
1336
1439
|
list(params?: ForYouListParams): Promise<ForYouConnection>;
|
|
1440
|
+
/**
|
|
1441
|
+
* One ranked page of Thesis recommendations -- the stream the Feed App reads,
|
|
1442
|
+
* which is not the chronological `list` stream. Page to `exhausted` and filter
|
|
1443
|
+
* on `publication.publishedAtMs` yourself; the order is slot-mixed, so a time
|
|
1444
|
+
* bound is never a reason to stop paging. Publications the viewer already saw
|
|
1445
|
+
* are withheld by an upstream cooldown, so a window read is "recommended and
|
|
1446
|
+
* recent", not every publication in the window.
|
|
1447
|
+
*/
|
|
1448
|
+
theses(params?: ForYouThesesParams): Promise<ThesisRecommendationPage>;
|
|
1337
1449
|
}
|
|
1338
1450
|
|
|
1339
1451
|
/**
|
|
@@ -2215,7 +2327,8 @@ interface StewardForwardParams extends StewardTarget {
|
|
|
2215
2327
|
}
|
|
2216
2328
|
interface StewardSendParams extends StewardTarget {
|
|
2217
2329
|
body: string;
|
|
2218
|
-
|
|
2330
|
+
/** Omit or pass [] for a For-You-only Brief that covers no ledger delivery. */
|
|
2331
|
+
deliveryIds?: string[];
|
|
2219
2332
|
requestId?: string;
|
|
2220
2333
|
}
|
|
2221
2334
|
type StewardSourceKind = 'FEED' | 'MARKET_ENTITY' | 'THESIS_FEED';
|
|
@@ -2315,6 +2428,27 @@ declare class TradingPairsResource {
|
|
|
2315
2428
|
/** Thesis IDs are signed int64 values represented losslessly as decimal strings. */
|
|
2316
2429
|
type ThesisID = string;
|
|
2317
2430
|
type ThesisVisibility = 'public' | 'private';
|
|
2431
|
+
type ThesisAssetStance = 'unknown' | 'bullish' | 'bearish';
|
|
2432
|
+
interface ThesisEntityStance {
|
|
2433
|
+
entity_id: ThesisID;
|
|
2434
|
+
stance: ThesisAssetStance;
|
|
2435
|
+
}
|
|
2436
|
+
interface ThesisAssetCandidate {
|
|
2437
|
+
entityId: ThesisID;
|
|
2438
|
+
ticker: string;
|
|
2439
|
+
name: string;
|
|
2440
|
+
kind: 'STOCK' | 'ETF' | 'CRYPTO' | 'INDEX';
|
|
2441
|
+
}
|
|
2442
|
+
interface ThesisAssetMention {
|
|
2443
|
+
quote: string;
|
|
2444
|
+
ticker: string;
|
|
2445
|
+
resolution: 'RESOLVED' | 'AMBIGUOUS' | 'UNRESOLVED';
|
|
2446
|
+
stance: 'UNKNOWN' | 'BULLISH' | 'BEARISH';
|
|
2447
|
+
candidates: ThesisAssetCandidate[];
|
|
2448
|
+
}
|
|
2449
|
+
interface ThesisAssetCandidatesResponse {
|
|
2450
|
+
mentions: ThesisAssetMention[];
|
|
2451
|
+
}
|
|
2318
2452
|
/** Canonical server-supported candidate rewrite operation. */
|
|
2319
2453
|
type ThesisRewriteMode = 'reformat' | 'shorten' | 'enrich';
|
|
2320
2454
|
interface Thesis {
|
|
@@ -2324,6 +2458,7 @@ interface Thesis {
|
|
|
2324
2458
|
title: string;
|
|
2325
2459
|
body: string;
|
|
2326
2460
|
entity_ids: ThesisID[];
|
|
2461
|
+
entity_stances?: ThesisEntityStance[];
|
|
2327
2462
|
visibility: ThesisVisibility;
|
|
2328
2463
|
closed: boolean;
|
|
2329
2464
|
closing_note: string;
|
|
@@ -2351,12 +2486,56 @@ interface ThesisGetResponse extends ThesisResponse {
|
|
|
2351
2486
|
author: ThesisAuthor;
|
|
2352
2487
|
entities: ThesisEntity[];
|
|
2353
2488
|
}
|
|
2489
|
+
interface ThesisResearchStatus {
|
|
2490
|
+
state: string;
|
|
2491
|
+
pending_work: number;
|
|
2492
|
+
read_complete: boolean;
|
|
2493
|
+
last_attempt_ms?: number;
|
|
2494
|
+
last_completed_ms?: number;
|
|
2495
|
+
}
|
|
2496
|
+
interface ThesisSignalEvidenceExcerpt {
|
|
2497
|
+
text: string;
|
|
2498
|
+
omitted_before: boolean;
|
|
2499
|
+
omitted_after: boolean;
|
|
2500
|
+
}
|
|
2501
|
+
interface ThesisSignalSource {
|
|
2502
|
+
title: string;
|
|
2503
|
+
url?: string;
|
|
2504
|
+
published_at_ms?: number;
|
|
2505
|
+
}
|
|
2506
|
+
interface ThesisSignal {
|
|
2507
|
+
id: ThesisID;
|
|
2508
|
+
thesis_id: ThesisID;
|
|
2509
|
+
author_version_id: ThesisID;
|
|
2510
|
+
statement_snapshot: string;
|
|
2511
|
+
stance: string;
|
|
2512
|
+
explanation: string;
|
|
2513
|
+
information_kind: string;
|
|
2514
|
+
evidence_excerpt?: ThesisSignalEvidenceExcerpt;
|
|
2515
|
+
source: ThesisSignalSource;
|
|
2516
|
+
}
|
|
2517
|
+
interface ThesisSignalEntry {
|
|
2518
|
+
feed_entry_id: ThesisID;
|
|
2519
|
+
cursor: string;
|
|
2520
|
+
signal: ThesisSignal;
|
|
2521
|
+
}
|
|
2522
|
+
interface ListThesisSignalsParams {
|
|
2523
|
+
first?: number;
|
|
2524
|
+
cursor?: string;
|
|
2525
|
+
}
|
|
2526
|
+
interface ThesisSignalsResponse {
|
|
2527
|
+
research: ThesisResearchStatus;
|
|
2528
|
+
entries: ThesisSignalEntry[];
|
|
2529
|
+
next_cursor: string;
|
|
2530
|
+
}
|
|
2354
2531
|
interface CreateThesisParams {
|
|
2355
2532
|
/** Caller-supplied, stable non-zero UUID. Reuse it only to resolve ambiguity. */
|
|
2356
2533
|
request_id: string;
|
|
2357
2534
|
body: string;
|
|
2358
2535
|
title?: string;
|
|
2359
2536
|
entity_ids?: ThesisID[];
|
|
2537
|
+
/** Author direction keyed by an entity ID also supplied in entity_ids. */
|
|
2538
|
+
entity_stances?: ThesisEntityStance[];
|
|
2360
2539
|
/** Exact STOCK ticker symbols resolved by Backend during creation. */
|
|
2361
2540
|
tickers?: string[];
|
|
2362
2541
|
/** Omitted means public, as defined by the REST contract. */
|
|
@@ -2395,8 +2574,11 @@ interface RewriteThesisResponse {
|
|
|
2395
2574
|
declare class ThesesResource {
|
|
2396
2575
|
private client;
|
|
2397
2576
|
constructor(client: AlvaClient);
|
|
2577
|
+
assetCandidates(text: string): Promise<ThesisAssetCandidatesResponse>;
|
|
2398
2578
|
create(params: CreateThesisParams): Promise<ThesisResponse>;
|
|
2399
2579
|
get(id: ThesisID): Promise<ThesisGetResponse>;
|
|
2580
|
+
getVersion(id: ThesisID, authorVersionID: ThesisID): Promise<ThesisResponse>;
|
|
2581
|
+
signals(id: ThesisID, params?: ListThesisSignalsParams): Promise<ThesisSignalsResponse>;
|
|
2400
2582
|
update(id: ThesisID, params: UpdateThesisParams): Promise<ThesisResponse>;
|
|
2401
2583
|
setVisibility(id: ThesisID, params: SetThesisVisibilityParams): Promise<ThesisResponse>;
|
|
2402
2584
|
close(id: ThesisID, params: CloseThesisParams): Promise<ThesisResponse>;
|
|
@@ -2664,4 +2846,4 @@ declare const installPlaybookRuntime: (targetWindow?: Window) => void;
|
|
|
2664
2846
|
/** SDK version, injected at build time from package.json. */
|
|
2665
2847
|
declare const VERSION: string;
|
|
2666
2848
|
|
|
2667
|
-
export { type AgentSchedule, type AgentScheduleBounds, type AgentScheduleFailureCode, type AgentScheduleRule, type AgentScheduleStatus, type AgentScheduleTarget, AlertsResource, AlvaClient, type AlvaClientConfig, AlvaError, type AutomationAlertDelivery, type AutomationAlertDeliveryGetRequest, AutomationAlertDeliveryResource, type AutomationAlertDeliveryUpdateRequest, type AutomationAlertDeliveryUpdateResponse, type AutomationEmailDelivery, AutomationResource, type ChannelGroupAdminInfo, type ChannelGroupCallerInfo, type ChannelGroupHistoryParams, type ChannelGroupHistoryResponse, type ChannelGroupSubscription, type ChannelGroupSubscriptionContextResponse, type ChannelGroupSubscriptionListResponse, type ChannelGroupSubscriptionMutationParams, type ChannelGroupSubscriptionMutationResponse, type ChannelGroupSubscriptionSessionParams, type ChannelGroupSubscriptionTarget, type ChannelGroupSubscriptionTargetType, CliUsageError, type CloseThesisParams, type CompanyEarningsCatalog, type CompanyEarningsContentStatus, type CompanyEarningsContext, type CompanyEarningsEvent, type CompanyEarningsParams, type CompanyEarningsPeriod, type CompanyEarningsRelease, type CompanyEarningsSession, type CompanyEarningsStatus, type CompanyEarningsTranscript, type CompanyEarningsTranscriptEntry, type CompanyEarningsTranscriptSection, type CompanyFiscalQuarter, type CompanyNarrative, type CompanyNarrativeChangeLogEntry, type CompanyNarrativeContext, type CompanyNarrativeHistory, type CompanyNarrativeSnapshot, type CompanyPostEarningsSummary, type CompanyPreEarningsAnalysis, type CreateAllowanceParams, type CreateAllowanceResponse, type CreateThesisParams, type CreditAllowance, type CreditWallet, type CreditWalletItem, type CreditWalletItemConnection, type CreditWalletItemEdge, type CreditWalletItemsParams, type CreditWalletItemsResponse, type CreditWalletPageInfo, type DeleteFunctionParams, type FeedDeleteRequest, type FeedDeleteResponse, type FeedListItem, type FeedListParams, type FeedListResponse, type FeedListStatus, type FeedStatusUpdateRequest, type FeedStatusUpdateResponse, type FollowPlaybookResponse, type ForYouConnection, type ForYouEntry, type ForYouListParams, ForYouResource, type FsChmodParams, type FsCopyParams, type FsEntry, type FsGrantParams, type FsMkdirParams, type FsRawWriteParams, type FsReadParams, type FsReaddirParams, type FsReaddirResponse, type FsReadlinkParams, type FsRemoveParams, type FsRenameParams, type FsRevokeParams, type FsStat, type FsSymlinkParams, type FsWriteParams, type FsWriteResponse, type GetAllowanceParams, type GroupChatMessage, type InvokeFunctionParams, type InvokeFunctionResponse, type ListAllowancesResponse, type ListFunctionsParams, type ListFunctionsResponse, type ManageAgentScheduleParams, MarketsResource, type NotificationPreference, type NotificationPreferenceKey, type NotificationPreferenceUpdateParams, type NotificationPreferenceUpdateResponse, type NotificationPreferencesResponse, PBSV_UPDATE_MESSAGE, type PlaybookFollowParams, type PlaybookFunction, type PlaybookSkillFile, type PlaybookSkillFileMeta, type PlaybookSkillMeta, type PlaybookSkillSummary, type PlaybookSkillTagEntry, type PutAgentScheduleParams, type RegisterFunctionParams, type RegisterFunctionResponse, type RevokeAllowanceParams, type RevokeAllowanceResponse, type RewriteThesisParams, type RewriteThesisResponse, SUBSCRIBE_MANAGE_MESSAGE, SUBSCRIBE_PROPOSE_MESSAGE, SUBSCRIBE_RESULT_MESSAGE, SchedulesResource, type SetThesisVisibilityParams, type SkillDoc, type SkillEndpointMetadata, type SkillEndpointTier, type SkillMetadata, type SkillSummary, type StewardBriefedParams, type StewardDecideParams, type StewardDecision, type StewardForwardParams, type StewardPendingItem, type StewardPendingPage, type StewardPendingParams, StewardResource, type StewardSendParams, type StewardTarget, type SubmitFeedbackRequest, type SubmitFeedbackResponse, type SubscribeApi, type SubscribeBatchParams, type SubscribeBatchResponse, type SubscribeProposalInput, type SubscribeProposalResult, ThesesResource, type Thesis, type ThesisAuthor, type ThesisEntity, type ThesisGetResponse, type ThesisID, type ThesisResponse, type ThesisRewriteMode, type ThesisVisibility, type TradingPairCandidate, type TradingPairSearchParams, type TradingPairSearchResponse, TradingPairsResource, type TrendingPlaybookItem, type TrendingPlaybooksDir, type TrendingPlaybooksParams, type TrendingPlaybooksResponse, type TrendingPlaybooksSort, UDF_AUTH_REQUIRED_MESSAGE, UDF_CONSENT_REQUEST_MESSAGE, UDF_CONSENT_RESPONSE_MESSAGE, type UdfApi, UdfAuthRequiredError, type UdfButtonEventDetail, type UdfButtonOptions, UdfConsentDeniedError, UdfConsentRequiredError, UdfConsentTimeoutError, type UdfDescriptor, UdfError, UdfExecutionError, UdfFunctionDisabledError, UdfFunctionNotFoundError, UdfInsufficientCredits, type UdfInvokeResponse, UdfPidMismatchError, UdfRateLimitedError, UdfTokenExpiredError, UdfTokenInvalidError, UdfTransportError, type UnfollowPlaybookResponse, type UnsubscribeBatchParams, type UnsubscribeBatchResponse, type UpdateThesisParams, VERSION, getViewerToken, installPlaybookRuntime, mapUdfErrorResponse, playbookIdFromToken, subscribe, udf };
|
|
2849
|
+
export { type AgentSchedule, type AgentScheduleBounds, type AgentScheduleFailureCode, type AgentScheduleRule, type AgentScheduleStatus, type AgentScheduleTarget, AlertsResource, AlvaClient, type AlvaClientConfig, AlvaError, type AutomationAlertDelivery, type AutomationAlertDeliveryGetRequest, AutomationAlertDeliveryResource, type AutomationAlertDeliveryUpdateRequest, type AutomationAlertDeliveryUpdateResponse, type AutomationEmailDelivery, AutomationResource, type ChannelGroupAdminInfo, type ChannelGroupCallerInfo, type ChannelGroupHistoryParams, type ChannelGroupHistoryResponse, type ChannelGroupSubscription, type ChannelGroupSubscriptionContextResponse, type ChannelGroupSubscriptionListResponse, type ChannelGroupSubscriptionMutationParams, type ChannelGroupSubscriptionMutationResponse, type ChannelGroupSubscriptionSessionParams, type ChannelGroupSubscriptionTarget, type ChannelGroupSubscriptionTargetType, CliUsageError, type CloseThesisParams, type CompanyEarningsCatalog, type CompanyEarningsContentStatus, type CompanyEarningsContext, type CompanyEarningsEvent, type CompanyEarningsParams, type CompanyEarningsPeriod, type CompanyEarningsRelease, type CompanyEarningsSession, type CompanyEarningsStatus, type CompanyEarningsTranscript, type CompanyEarningsTranscriptEntry, type CompanyEarningsTranscriptSection, type CompanyFiscalQuarter, type CompanyNarrative, type CompanyNarrativeChangeLogEntry, type CompanyNarrativeContext, type CompanyNarrativeHistory, type CompanyNarrativeSnapshot, type CompanyPostEarningsSummary, type CompanyPreEarningsAnalysis, type CreateAllowanceParams, type CreateAllowanceResponse, type CreateThesisParams, type CreditAllowance, type CreditWallet, type CreditWalletItem, type CreditWalletItemConnection, type CreditWalletItemEdge, type CreditWalletItemsParams, type CreditWalletItemsResponse, type CreditWalletPageInfo, type DeleteFunctionParams, type FeedDeleteRequest, type FeedDeleteResponse, type FeedListItem, type FeedListParams, type FeedListResponse, type FeedListStatus, type FeedStatusUpdateRequest, type FeedStatusUpdateResponse, type FollowPlaybookResponse, type ForYouConnection, type ForYouEntry, type ForYouListParams, ForYouResource, type ForYouThesesParams, type FsChmodParams, type FsCopyParams, type FsEntry, type FsGrantParams, type FsMkdirParams, type FsRawWriteParams, type FsReadParams, type FsReaddirParams, type FsReaddirResponse, type FsReadlinkParams, type FsRemoveParams, type FsRenameParams, type FsRevokeParams, type FsStat, type FsSymlinkParams, type FsWriteParams, type FsWriteResponse, type GetAllowanceParams, type GroupChatMessage, type InvokeFunctionParams, type InvokeFunctionResponse, type ListAllowancesResponse, type ListFunctionsParams, type ListFunctionsResponse, type ListThesisSignalsParams, type ManageAgentScheduleParams, MarketsResource, type NotificationPreference, type NotificationPreferenceKey, type NotificationPreferenceUpdateParams, type NotificationPreferenceUpdateResponse, type NotificationPreferencesResponse, PBSV_UPDATE_MESSAGE, type PlaybookFollowParams, type PlaybookFunction, type PlaybookSkillFile, type PlaybookSkillFileMeta, type PlaybookSkillMeta, type PlaybookSkillSummary, type PlaybookSkillTagEntry, type PutAgentScheduleParams, type RegisterFunctionParams, type RegisterFunctionResponse, type RevokeAllowanceParams, type RevokeAllowanceResponse, type RewriteThesisParams, type RewriteThesisResponse, SUBSCRIBE_MANAGE_MESSAGE, SUBSCRIBE_PROPOSE_MESSAGE, SUBSCRIBE_RESULT_MESSAGE, SchedulesResource, type SetThesisVisibilityParams, type SkillDoc, type SkillEndpointMetadata, type SkillEndpointTier, type SkillMetadata, type SkillSummary, type StewardBriefedParams, type StewardDecideParams, type StewardDecision, type StewardForwardParams, type StewardPendingItem, type StewardPendingPage, type StewardPendingParams, StewardResource, type StewardSendParams, type StewardTarget, type SubmitFeedbackRequest, type SubmitFeedbackResponse, type SubscribeApi, type SubscribeBatchParams, type SubscribeBatchResponse, type SubscribeProposalInput, type SubscribeProposalResult, ThesesResource, type Thesis, type ThesisAssetCandidate, type ThesisAssetCandidatesResponse, type ThesisAssetMention, type ThesisAssetStance, type ThesisAuthor, type ThesisEntity, type ThesisEntityStance, type ThesisGetResponse, type ThesisID, type ThesisPublicationSummary, type ThesisPublisher, type ThesisRecommendation, type ThesisRecommendationPage, type ThesisResearchStatus, type ThesisResponse, type ThesisRewriteMode, type ThesisSignal, type ThesisSignalEntry, type ThesisSignalEvidenceExcerpt, type ThesisSignalSource, type ThesisSignalsResponse, type ThesisSourceReference, type ThesisVisibility, type TradingPairCandidate, type TradingPairSearchParams, type TradingPairSearchResponse, TradingPairsResource, type TrendingPlaybookItem, type TrendingPlaybooksDir, type TrendingPlaybooksParams, type TrendingPlaybooksResponse, type TrendingPlaybooksSort, UDF_AUTH_REQUIRED_MESSAGE, UDF_CONSENT_REQUEST_MESSAGE, UDF_CONSENT_RESPONSE_MESSAGE, type UdfApi, UdfAuthRequiredError, type UdfButtonEventDetail, type UdfButtonOptions, UdfConsentDeniedError, UdfConsentRequiredError, UdfConsentTimeoutError, type UdfDescriptor, UdfError, UdfExecutionError, UdfFunctionDisabledError, UdfFunctionNotFoundError, UdfInsufficientCredits, type UdfInvokeResponse, UdfPidMismatchError, UdfRateLimitedError, UdfTokenExpiredError, UdfTokenInvalidError, UdfTransportError, type UnfollowPlaybookResponse, type UnsubscribeBatchParams, type UnsubscribeBatchResponse, type UpdateThesisParams, VERSION, getViewerToken, installPlaybookRuntime, mapUdfErrorResponse, playbookIdFromToken, subscribe, udf };
|
package/dist/index.d.ts
CHANGED
|
@@ -549,6 +549,8 @@ interface PlaybookDraftResponse {
|
|
|
549
549
|
playbook_path: string;
|
|
550
550
|
}
|
|
551
551
|
interface PlaybookReleaseRequest {
|
|
552
|
+
/** Explicit consent to deliver bundled non-public Feeds to the Playbook audience. */
|
|
553
|
+
confirm_bundled_feed_exposure?: boolean;
|
|
552
554
|
name: string;
|
|
553
555
|
version: string;
|
|
554
556
|
feeds: Array<{
|
|
@@ -1329,11 +1331,121 @@ interface ForYouConnection {
|
|
|
1329
1331
|
hasPreviousPage: boolean;
|
|
1330
1332
|
};
|
|
1331
1333
|
}
|
|
1334
|
+
interface ForYouThesesParams {
|
|
1335
|
+
first?: number;
|
|
1336
|
+
after?: string;
|
|
1337
|
+
}
|
|
1338
|
+
/** Interface fields shared by user and curated-person publisher profiles. */
|
|
1339
|
+
interface ThesisPublisher {
|
|
1340
|
+
id: string;
|
|
1341
|
+
displayName: string;
|
|
1342
|
+
avatarUrl: string;
|
|
1343
|
+
bio: string;
|
|
1344
|
+
followersCount: number;
|
|
1345
|
+
viewerState: {
|
|
1346
|
+
following: boolean | null;
|
|
1347
|
+
};
|
|
1348
|
+
}
|
|
1349
|
+
interface ThesisSourceReference {
|
|
1350
|
+
title: string | null;
|
|
1351
|
+
sourceKind: string;
|
|
1352
|
+
sourceContentId: string;
|
|
1353
|
+
publicUrl: string;
|
|
1354
|
+
sourceTimeMs: number | null;
|
|
1355
|
+
locator: string;
|
|
1356
|
+
}
|
|
1357
|
+
/** The exact author version this recommendation renders, not the mutable Thesis. */
|
|
1358
|
+
interface ThesisPublicationSummary {
|
|
1359
|
+
thesisId: string;
|
|
1360
|
+
playbookId: string;
|
|
1361
|
+
authorVersionId: string;
|
|
1362
|
+
materialVersionId: string;
|
|
1363
|
+
itemKey: string;
|
|
1364
|
+
title: string;
|
|
1365
|
+
body: string;
|
|
1366
|
+
publishedAtMs: number;
|
|
1367
|
+
changeKind: string;
|
|
1368
|
+
visibility: string;
|
|
1369
|
+
closed: boolean;
|
|
1370
|
+
archived: boolean;
|
|
1371
|
+
note: string;
|
|
1372
|
+
closingNote: string;
|
|
1373
|
+
researchPaused: boolean;
|
|
1374
|
+
entityIds: string[];
|
|
1375
|
+
categoryIds: string[];
|
|
1376
|
+
/** `stance` is UNKNOWN, BULLISH or BEARISH today; Gateway may add values. */
|
|
1377
|
+
entityStances: {
|
|
1378
|
+
entityId: string;
|
|
1379
|
+
stance: string;
|
|
1380
|
+
}[];
|
|
1381
|
+
entities: {
|
|
1382
|
+
id: string;
|
|
1383
|
+
ticker: string;
|
|
1384
|
+
name: string;
|
|
1385
|
+
}[];
|
|
1386
|
+
publisher: ThesisPublisher;
|
|
1387
|
+
/** `type` is PRICE_CHART, IMAGE, AUDIO or VIDEO today; Gateway may add values. */
|
|
1388
|
+
medias: {
|
|
1389
|
+
type: string;
|
|
1390
|
+
coverUrl: string;
|
|
1391
|
+
url: string | null;
|
|
1392
|
+
}[];
|
|
1393
|
+
signalFeed: {
|
|
1394
|
+
id: string;
|
|
1395
|
+
} | null;
|
|
1396
|
+
snapshotRelease: {
|
|
1397
|
+
versionId: string;
|
|
1398
|
+
materialVersionId: string;
|
|
1399
|
+
publishedAtMs: number;
|
|
1400
|
+
changeKind: string;
|
|
1401
|
+
sourceRefs: ThesisSourceReference[];
|
|
1402
|
+
};
|
|
1403
|
+
}
|
|
1404
|
+
interface ThesisRecommendation {
|
|
1405
|
+
itemKey: string;
|
|
1406
|
+
publication: ThesisPublicationSummary;
|
|
1407
|
+
}
|
|
1408
|
+
/**
|
|
1409
|
+
* A ranked page, not a chronological one. `exhausted` is the only end of the
|
|
1410
|
+
* candidate pool; `scanLimited` means this page stopped at its scan budget and
|
|
1411
|
+
* more remains. A page may be empty while `hasNextPage` is still true, because
|
|
1412
|
+
* `endCursor` advances past scanned references that current visibility hides.
|
|
1413
|
+
*
|
|
1414
|
+
* `edges` is the only carrier. Gateway also returns an `items` list built from
|
|
1415
|
+
* the same nodes, but selecting it would put every publication body on the
|
|
1416
|
+
* wire twice for no extra information, so this read does not request it.
|
|
1417
|
+
*/
|
|
1418
|
+
interface ThesisRecommendationPage {
|
|
1419
|
+
edges: {
|
|
1420
|
+
cursor: string;
|
|
1421
|
+
node: ThesisRecommendation;
|
|
1422
|
+
}[];
|
|
1423
|
+
pageInfo: {
|
|
1424
|
+
startCursor: string;
|
|
1425
|
+
endCursor: string;
|
|
1426
|
+
hasNextPage: boolean;
|
|
1427
|
+
hasPreviousPage: boolean;
|
|
1428
|
+
};
|
|
1429
|
+
listId: string;
|
|
1430
|
+
pageCursor: string;
|
|
1431
|
+
nextCursor: string | null;
|
|
1432
|
+
exhausted: boolean;
|
|
1433
|
+
scanLimited: boolean;
|
|
1434
|
+
}
|
|
1332
1435
|
declare class ForYouResource {
|
|
1333
1436
|
private client;
|
|
1334
1437
|
constructor(client: AlvaClient);
|
|
1335
1438
|
/** One newest-first page. Does not truncate content or advance a watermark. */
|
|
1336
1439
|
list(params?: ForYouListParams): Promise<ForYouConnection>;
|
|
1440
|
+
/**
|
|
1441
|
+
* One ranked page of Thesis recommendations -- the stream the Feed App reads,
|
|
1442
|
+
* which is not the chronological `list` stream. Page to `exhausted` and filter
|
|
1443
|
+
* on `publication.publishedAtMs` yourself; the order is slot-mixed, so a time
|
|
1444
|
+
* bound is never a reason to stop paging. Publications the viewer already saw
|
|
1445
|
+
* are withheld by an upstream cooldown, so a window read is "recommended and
|
|
1446
|
+
* recent", not every publication in the window.
|
|
1447
|
+
*/
|
|
1448
|
+
theses(params?: ForYouThesesParams): Promise<ThesisRecommendationPage>;
|
|
1337
1449
|
}
|
|
1338
1450
|
|
|
1339
1451
|
/**
|
|
@@ -2215,7 +2327,8 @@ interface StewardForwardParams extends StewardTarget {
|
|
|
2215
2327
|
}
|
|
2216
2328
|
interface StewardSendParams extends StewardTarget {
|
|
2217
2329
|
body: string;
|
|
2218
|
-
|
|
2330
|
+
/** Omit or pass [] for a For-You-only Brief that covers no ledger delivery. */
|
|
2331
|
+
deliveryIds?: string[];
|
|
2219
2332
|
requestId?: string;
|
|
2220
2333
|
}
|
|
2221
2334
|
type StewardSourceKind = 'FEED' | 'MARKET_ENTITY' | 'THESIS_FEED';
|
|
@@ -2315,6 +2428,27 @@ declare class TradingPairsResource {
|
|
|
2315
2428
|
/** Thesis IDs are signed int64 values represented losslessly as decimal strings. */
|
|
2316
2429
|
type ThesisID = string;
|
|
2317
2430
|
type ThesisVisibility = 'public' | 'private';
|
|
2431
|
+
type ThesisAssetStance = 'unknown' | 'bullish' | 'bearish';
|
|
2432
|
+
interface ThesisEntityStance {
|
|
2433
|
+
entity_id: ThesisID;
|
|
2434
|
+
stance: ThesisAssetStance;
|
|
2435
|
+
}
|
|
2436
|
+
interface ThesisAssetCandidate {
|
|
2437
|
+
entityId: ThesisID;
|
|
2438
|
+
ticker: string;
|
|
2439
|
+
name: string;
|
|
2440
|
+
kind: 'STOCK' | 'ETF' | 'CRYPTO' | 'INDEX';
|
|
2441
|
+
}
|
|
2442
|
+
interface ThesisAssetMention {
|
|
2443
|
+
quote: string;
|
|
2444
|
+
ticker: string;
|
|
2445
|
+
resolution: 'RESOLVED' | 'AMBIGUOUS' | 'UNRESOLVED';
|
|
2446
|
+
stance: 'UNKNOWN' | 'BULLISH' | 'BEARISH';
|
|
2447
|
+
candidates: ThesisAssetCandidate[];
|
|
2448
|
+
}
|
|
2449
|
+
interface ThesisAssetCandidatesResponse {
|
|
2450
|
+
mentions: ThesisAssetMention[];
|
|
2451
|
+
}
|
|
2318
2452
|
/** Canonical server-supported candidate rewrite operation. */
|
|
2319
2453
|
type ThesisRewriteMode = 'reformat' | 'shorten' | 'enrich';
|
|
2320
2454
|
interface Thesis {
|
|
@@ -2324,6 +2458,7 @@ interface Thesis {
|
|
|
2324
2458
|
title: string;
|
|
2325
2459
|
body: string;
|
|
2326
2460
|
entity_ids: ThesisID[];
|
|
2461
|
+
entity_stances?: ThesisEntityStance[];
|
|
2327
2462
|
visibility: ThesisVisibility;
|
|
2328
2463
|
closed: boolean;
|
|
2329
2464
|
closing_note: string;
|
|
@@ -2351,12 +2486,56 @@ interface ThesisGetResponse extends ThesisResponse {
|
|
|
2351
2486
|
author: ThesisAuthor;
|
|
2352
2487
|
entities: ThesisEntity[];
|
|
2353
2488
|
}
|
|
2489
|
+
interface ThesisResearchStatus {
|
|
2490
|
+
state: string;
|
|
2491
|
+
pending_work: number;
|
|
2492
|
+
read_complete: boolean;
|
|
2493
|
+
last_attempt_ms?: number;
|
|
2494
|
+
last_completed_ms?: number;
|
|
2495
|
+
}
|
|
2496
|
+
interface ThesisSignalEvidenceExcerpt {
|
|
2497
|
+
text: string;
|
|
2498
|
+
omitted_before: boolean;
|
|
2499
|
+
omitted_after: boolean;
|
|
2500
|
+
}
|
|
2501
|
+
interface ThesisSignalSource {
|
|
2502
|
+
title: string;
|
|
2503
|
+
url?: string;
|
|
2504
|
+
published_at_ms?: number;
|
|
2505
|
+
}
|
|
2506
|
+
interface ThesisSignal {
|
|
2507
|
+
id: ThesisID;
|
|
2508
|
+
thesis_id: ThesisID;
|
|
2509
|
+
author_version_id: ThesisID;
|
|
2510
|
+
statement_snapshot: string;
|
|
2511
|
+
stance: string;
|
|
2512
|
+
explanation: string;
|
|
2513
|
+
information_kind: string;
|
|
2514
|
+
evidence_excerpt?: ThesisSignalEvidenceExcerpt;
|
|
2515
|
+
source: ThesisSignalSource;
|
|
2516
|
+
}
|
|
2517
|
+
interface ThesisSignalEntry {
|
|
2518
|
+
feed_entry_id: ThesisID;
|
|
2519
|
+
cursor: string;
|
|
2520
|
+
signal: ThesisSignal;
|
|
2521
|
+
}
|
|
2522
|
+
interface ListThesisSignalsParams {
|
|
2523
|
+
first?: number;
|
|
2524
|
+
cursor?: string;
|
|
2525
|
+
}
|
|
2526
|
+
interface ThesisSignalsResponse {
|
|
2527
|
+
research: ThesisResearchStatus;
|
|
2528
|
+
entries: ThesisSignalEntry[];
|
|
2529
|
+
next_cursor: string;
|
|
2530
|
+
}
|
|
2354
2531
|
interface CreateThesisParams {
|
|
2355
2532
|
/** Caller-supplied, stable non-zero UUID. Reuse it only to resolve ambiguity. */
|
|
2356
2533
|
request_id: string;
|
|
2357
2534
|
body: string;
|
|
2358
2535
|
title?: string;
|
|
2359
2536
|
entity_ids?: ThesisID[];
|
|
2537
|
+
/** Author direction keyed by an entity ID also supplied in entity_ids. */
|
|
2538
|
+
entity_stances?: ThesisEntityStance[];
|
|
2360
2539
|
/** Exact STOCK ticker symbols resolved by Backend during creation. */
|
|
2361
2540
|
tickers?: string[];
|
|
2362
2541
|
/** Omitted means public, as defined by the REST contract. */
|
|
@@ -2395,8 +2574,11 @@ interface RewriteThesisResponse {
|
|
|
2395
2574
|
declare class ThesesResource {
|
|
2396
2575
|
private client;
|
|
2397
2576
|
constructor(client: AlvaClient);
|
|
2577
|
+
assetCandidates(text: string): Promise<ThesisAssetCandidatesResponse>;
|
|
2398
2578
|
create(params: CreateThesisParams): Promise<ThesisResponse>;
|
|
2399
2579
|
get(id: ThesisID): Promise<ThesisGetResponse>;
|
|
2580
|
+
getVersion(id: ThesisID, authorVersionID: ThesisID): Promise<ThesisResponse>;
|
|
2581
|
+
signals(id: ThesisID, params?: ListThesisSignalsParams): Promise<ThesisSignalsResponse>;
|
|
2400
2582
|
update(id: ThesisID, params: UpdateThesisParams): Promise<ThesisResponse>;
|
|
2401
2583
|
setVisibility(id: ThesisID, params: SetThesisVisibilityParams): Promise<ThesisResponse>;
|
|
2402
2584
|
close(id: ThesisID, params: CloseThesisParams): Promise<ThesisResponse>;
|
|
@@ -2664,4 +2846,4 @@ declare const installPlaybookRuntime: (targetWindow?: Window) => void;
|
|
|
2664
2846
|
/** SDK version, injected at build time from package.json. */
|
|
2665
2847
|
declare const VERSION: string;
|
|
2666
2848
|
|
|
2667
|
-
export { type AgentSchedule, type AgentScheduleBounds, type AgentScheduleFailureCode, type AgentScheduleRule, type AgentScheduleStatus, type AgentScheduleTarget, AlertsResource, AlvaClient, type AlvaClientConfig, AlvaError, type AutomationAlertDelivery, type AutomationAlertDeliveryGetRequest, AutomationAlertDeliveryResource, type AutomationAlertDeliveryUpdateRequest, type AutomationAlertDeliveryUpdateResponse, type AutomationEmailDelivery, AutomationResource, type ChannelGroupAdminInfo, type ChannelGroupCallerInfo, type ChannelGroupHistoryParams, type ChannelGroupHistoryResponse, type ChannelGroupSubscription, type ChannelGroupSubscriptionContextResponse, type ChannelGroupSubscriptionListResponse, type ChannelGroupSubscriptionMutationParams, type ChannelGroupSubscriptionMutationResponse, type ChannelGroupSubscriptionSessionParams, type ChannelGroupSubscriptionTarget, type ChannelGroupSubscriptionTargetType, CliUsageError, type CloseThesisParams, type CompanyEarningsCatalog, type CompanyEarningsContentStatus, type CompanyEarningsContext, type CompanyEarningsEvent, type CompanyEarningsParams, type CompanyEarningsPeriod, type CompanyEarningsRelease, type CompanyEarningsSession, type CompanyEarningsStatus, type CompanyEarningsTranscript, type CompanyEarningsTranscriptEntry, type CompanyEarningsTranscriptSection, type CompanyFiscalQuarter, type CompanyNarrative, type CompanyNarrativeChangeLogEntry, type CompanyNarrativeContext, type CompanyNarrativeHistory, type CompanyNarrativeSnapshot, type CompanyPostEarningsSummary, type CompanyPreEarningsAnalysis, type CreateAllowanceParams, type CreateAllowanceResponse, type CreateThesisParams, type CreditAllowance, type CreditWallet, type CreditWalletItem, type CreditWalletItemConnection, type CreditWalletItemEdge, type CreditWalletItemsParams, type CreditWalletItemsResponse, type CreditWalletPageInfo, type DeleteFunctionParams, type FeedDeleteRequest, type FeedDeleteResponse, type FeedListItem, type FeedListParams, type FeedListResponse, type FeedListStatus, type FeedStatusUpdateRequest, type FeedStatusUpdateResponse, type FollowPlaybookResponse, type ForYouConnection, type ForYouEntry, type ForYouListParams, ForYouResource, type FsChmodParams, type FsCopyParams, type FsEntry, type FsGrantParams, type FsMkdirParams, type FsRawWriteParams, type FsReadParams, type FsReaddirParams, type FsReaddirResponse, type FsReadlinkParams, type FsRemoveParams, type FsRenameParams, type FsRevokeParams, type FsStat, type FsSymlinkParams, type FsWriteParams, type FsWriteResponse, type GetAllowanceParams, type GroupChatMessage, type InvokeFunctionParams, type InvokeFunctionResponse, type ListAllowancesResponse, type ListFunctionsParams, type ListFunctionsResponse, type ManageAgentScheduleParams, MarketsResource, type NotificationPreference, type NotificationPreferenceKey, type NotificationPreferenceUpdateParams, type NotificationPreferenceUpdateResponse, type NotificationPreferencesResponse, PBSV_UPDATE_MESSAGE, type PlaybookFollowParams, type PlaybookFunction, type PlaybookSkillFile, type PlaybookSkillFileMeta, type PlaybookSkillMeta, type PlaybookSkillSummary, type PlaybookSkillTagEntry, type PutAgentScheduleParams, type RegisterFunctionParams, type RegisterFunctionResponse, type RevokeAllowanceParams, type RevokeAllowanceResponse, type RewriteThesisParams, type RewriteThesisResponse, SUBSCRIBE_MANAGE_MESSAGE, SUBSCRIBE_PROPOSE_MESSAGE, SUBSCRIBE_RESULT_MESSAGE, SchedulesResource, type SetThesisVisibilityParams, type SkillDoc, type SkillEndpointMetadata, type SkillEndpointTier, type SkillMetadata, type SkillSummary, type StewardBriefedParams, type StewardDecideParams, type StewardDecision, type StewardForwardParams, type StewardPendingItem, type StewardPendingPage, type StewardPendingParams, StewardResource, type StewardSendParams, type StewardTarget, type SubmitFeedbackRequest, type SubmitFeedbackResponse, type SubscribeApi, type SubscribeBatchParams, type SubscribeBatchResponse, type SubscribeProposalInput, type SubscribeProposalResult, ThesesResource, type Thesis, type ThesisAuthor, type ThesisEntity, type ThesisGetResponse, type ThesisID, type ThesisResponse, type ThesisRewriteMode, type ThesisVisibility, type TradingPairCandidate, type TradingPairSearchParams, type TradingPairSearchResponse, TradingPairsResource, type TrendingPlaybookItem, type TrendingPlaybooksDir, type TrendingPlaybooksParams, type TrendingPlaybooksResponse, type TrendingPlaybooksSort, UDF_AUTH_REQUIRED_MESSAGE, UDF_CONSENT_REQUEST_MESSAGE, UDF_CONSENT_RESPONSE_MESSAGE, type UdfApi, UdfAuthRequiredError, type UdfButtonEventDetail, type UdfButtonOptions, UdfConsentDeniedError, UdfConsentRequiredError, UdfConsentTimeoutError, type UdfDescriptor, UdfError, UdfExecutionError, UdfFunctionDisabledError, UdfFunctionNotFoundError, UdfInsufficientCredits, type UdfInvokeResponse, UdfPidMismatchError, UdfRateLimitedError, UdfTokenExpiredError, UdfTokenInvalidError, UdfTransportError, type UnfollowPlaybookResponse, type UnsubscribeBatchParams, type UnsubscribeBatchResponse, type UpdateThesisParams, VERSION, getViewerToken, installPlaybookRuntime, mapUdfErrorResponse, playbookIdFromToken, subscribe, udf };
|
|
2849
|
+
export { type AgentSchedule, type AgentScheduleBounds, type AgentScheduleFailureCode, type AgentScheduleRule, type AgentScheduleStatus, type AgentScheduleTarget, AlertsResource, AlvaClient, type AlvaClientConfig, AlvaError, type AutomationAlertDelivery, type AutomationAlertDeliveryGetRequest, AutomationAlertDeliveryResource, type AutomationAlertDeliveryUpdateRequest, type AutomationAlertDeliveryUpdateResponse, type AutomationEmailDelivery, AutomationResource, type ChannelGroupAdminInfo, type ChannelGroupCallerInfo, type ChannelGroupHistoryParams, type ChannelGroupHistoryResponse, type ChannelGroupSubscription, type ChannelGroupSubscriptionContextResponse, type ChannelGroupSubscriptionListResponse, type ChannelGroupSubscriptionMutationParams, type ChannelGroupSubscriptionMutationResponse, type ChannelGroupSubscriptionSessionParams, type ChannelGroupSubscriptionTarget, type ChannelGroupSubscriptionTargetType, CliUsageError, type CloseThesisParams, type CompanyEarningsCatalog, type CompanyEarningsContentStatus, type CompanyEarningsContext, type CompanyEarningsEvent, type CompanyEarningsParams, type CompanyEarningsPeriod, type CompanyEarningsRelease, type CompanyEarningsSession, type CompanyEarningsStatus, type CompanyEarningsTranscript, type CompanyEarningsTranscriptEntry, type CompanyEarningsTranscriptSection, type CompanyFiscalQuarter, type CompanyNarrative, type CompanyNarrativeChangeLogEntry, type CompanyNarrativeContext, type CompanyNarrativeHistory, type CompanyNarrativeSnapshot, type CompanyPostEarningsSummary, type CompanyPreEarningsAnalysis, type CreateAllowanceParams, type CreateAllowanceResponse, type CreateThesisParams, type CreditAllowance, type CreditWallet, type CreditWalletItem, type CreditWalletItemConnection, type CreditWalletItemEdge, type CreditWalletItemsParams, type CreditWalletItemsResponse, type CreditWalletPageInfo, type DeleteFunctionParams, type FeedDeleteRequest, type FeedDeleteResponse, type FeedListItem, type FeedListParams, type FeedListResponse, type FeedListStatus, type FeedStatusUpdateRequest, type FeedStatusUpdateResponse, type FollowPlaybookResponse, type ForYouConnection, type ForYouEntry, type ForYouListParams, ForYouResource, type ForYouThesesParams, type FsChmodParams, type FsCopyParams, type FsEntry, type FsGrantParams, type FsMkdirParams, type FsRawWriteParams, type FsReadParams, type FsReaddirParams, type FsReaddirResponse, type FsReadlinkParams, type FsRemoveParams, type FsRenameParams, type FsRevokeParams, type FsStat, type FsSymlinkParams, type FsWriteParams, type FsWriteResponse, type GetAllowanceParams, type GroupChatMessage, type InvokeFunctionParams, type InvokeFunctionResponse, type ListAllowancesResponse, type ListFunctionsParams, type ListFunctionsResponse, type ListThesisSignalsParams, type ManageAgentScheduleParams, MarketsResource, type NotificationPreference, type NotificationPreferenceKey, type NotificationPreferenceUpdateParams, type NotificationPreferenceUpdateResponse, type NotificationPreferencesResponse, PBSV_UPDATE_MESSAGE, type PlaybookFollowParams, type PlaybookFunction, type PlaybookSkillFile, type PlaybookSkillFileMeta, type PlaybookSkillMeta, type PlaybookSkillSummary, type PlaybookSkillTagEntry, type PutAgentScheduleParams, type RegisterFunctionParams, type RegisterFunctionResponse, type RevokeAllowanceParams, type RevokeAllowanceResponse, type RewriteThesisParams, type RewriteThesisResponse, SUBSCRIBE_MANAGE_MESSAGE, SUBSCRIBE_PROPOSE_MESSAGE, SUBSCRIBE_RESULT_MESSAGE, SchedulesResource, type SetThesisVisibilityParams, type SkillDoc, type SkillEndpointMetadata, type SkillEndpointTier, type SkillMetadata, type SkillSummary, type StewardBriefedParams, type StewardDecideParams, type StewardDecision, type StewardForwardParams, type StewardPendingItem, type StewardPendingPage, type StewardPendingParams, StewardResource, type StewardSendParams, type StewardTarget, type SubmitFeedbackRequest, type SubmitFeedbackResponse, type SubscribeApi, type SubscribeBatchParams, type SubscribeBatchResponse, type SubscribeProposalInput, type SubscribeProposalResult, ThesesResource, type Thesis, type ThesisAssetCandidate, type ThesisAssetCandidatesResponse, type ThesisAssetMention, type ThesisAssetStance, type ThesisAuthor, type ThesisEntity, type ThesisEntityStance, type ThesisGetResponse, type ThesisID, type ThesisPublicationSummary, type ThesisPublisher, type ThesisRecommendation, type ThesisRecommendationPage, type ThesisResearchStatus, type ThesisResponse, type ThesisRewriteMode, type ThesisSignal, type ThesisSignalEntry, type ThesisSignalEvidenceExcerpt, type ThesisSignalSource, type ThesisSignalsResponse, type ThesisSourceReference, type ThesisVisibility, type TradingPairCandidate, type TradingPairSearchParams, type TradingPairSearchResponse, TradingPairsResource, type TrendingPlaybookItem, type TrendingPlaybooksDir, type TrendingPlaybooksParams, type TrendingPlaybooksResponse, type TrendingPlaybooksSort, UDF_AUTH_REQUIRED_MESSAGE, UDF_CONSENT_REQUEST_MESSAGE, UDF_CONSENT_RESPONSE_MESSAGE, type UdfApi, UdfAuthRequiredError, type UdfButtonEventDetail, type UdfButtonOptions, UdfConsentDeniedError, UdfConsentRequiredError, UdfConsentTimeoutError, type UdfDescriptor, UdfError, UdfExecutionError, UdfFunctionDisabledError, UdfFunctionNotFoundError, UdfInsufficientCredits, type UdfInvokeResponse, UdfPidMismatchError, UdfRateLimitedError, UdfTokenExpiredError, UdfTokenInvalidError, UdfTransportError, type UnfollowPlaybookResponse, type UnsubscribeBatchParams, type UnsubscribeBatchResponse, type UpdateThesisParams, VERSION, getViewerToken, installPlaybookRuntime, mapUdfErrorResponse, playbookIdFromToken, subscribe, udf };
|