@alva-ai/toolkit 0.28.1-beta.0 → 0.29.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 +2 -1
- package/dist/browser.global.js +24 -24
- package/dist/browser.global.js.map +1 -1
- package/dist/cli.d.ts +52 -0
- package/dist/cli.js +247 -8
- package/dist/cli.js.map +1 -1
- package/dist/dispatch.d.ts +52 -0
- package/dist/dispatch.js +80 -8
- package/dist/dispatch.js.map +1 -1
- package/dist/index.cjs +188 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +53 -1
- package/dist/index.d.ts +53 -1
- package/dist/index.js +188 -3
- 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<{
|
|
@@ -2351,12 +2353,56 @@ interface ThesisGetResponse extends ThesisResponse {
|
|
|
2351
2353
|
author: ThesisAuthor;
|
|
2352
2354
|
entities: ThesisEntity[];
|
|
2353
2355
|
}
|
|
2356
|
+
interface ThesisResearchStatus {
|
|
2357
|
+
state: string;
|
|
2358
|
+
pending_work: number;
|
|
2359
|
+
read_complete: boolean;
|
|
2360
|
+
last_attempt_ms?: number;
|
|
2361
|
+
last_completed_ms?: number;
|
|
2362
|
+
}
|
|
2363
|
+
interface ThesisSignalEvidenceExcerpt {
|
|
2364
|
+
text: string;
|
|
2365
|
+
omitted_before: boolean;
|
|
2366
|
+
omitted_after: boolean;
|
|
2367
|
+
}
|
|
2368
|
+
interface ThesisSignalSource {
|
|
2369
|
+
title: string;
|
|
2370
|
+
url?: string;
|
|
2371
|
+
published_at_ms?: number;
|
|
2372
|
+
}
|
|
2373
|
+
interface ThesisSignal {
|
|
2374
|
+
id: ThesisID;
|
|
2375
|
+
thesis_id: ThesisID;
|
|
2376
|
+
author_version_id: ThesisID;
|
|
2377
|
+
statement_snapshot: string;
|
|
2378
|
+
stance: string;
|
|
2379
|
+
explanation: string;
|
|
2380
|
+
information_kind: string;
|
|
2381
|
+
evidence_excerpt?: ThesisSignalEvidenceExcerpt;
|
|
2382
|
+
source: ThesisSignalSource;
|
|
2383
|
+
}
|
|
2384
|
+
interface ThesisSignalEntry {
|
|
2385
|
+
feed_entry_id: ThesisID;
|
|
2386
|
+
cursor: string;
|
|
2387
|
+
signal: ThesisSignal;
|
|
2388
|
+
}
|
|
2389
|
+
interface ListThesisSignalsParams {
|
|
2390
|
+
first?: number;
|
|
2391
|
+
cursor?: string;
|
|
2392
|
+
}
|
|
2393
|
+
interface ThesisSignalsResponse {
|
|
2394
|
+
research: ThesisResearchStatus;
|
|
2395
|
+
entries: ThesisSignalEntry[];
|
|
2396
|
+
next_cursor: string;
|
|
2397
|
+
}
|
|
2354
2398
|
interface CreateThesisParams {
|
|
2355
2399
|
/** Caller-supplied, stable non-zero UUID. Reuse it only to resolve ambiguity. */
|
|
2356
2400
|
request_id: string;
|
|
2357
2401
|
body: string;
|
|
2358
2402
|
title?: string;
|
|
2359
2403
|
entity_ids?: ThesisID[];
|
|
2404
|
+
/** Exact STOCK ticker symbols resolved by Backend during creation. */
|
|
2405
|
+
tickers?: string[];
|
|
2360
2406
|
/** Omitted means public, as defined by the REST contract. */
|
|
2361
2407
|
visibility?: ThesisVisibility;
|
|
2362
2408
|
}
|
|
@@ -2371,6 +2417,9 @@ interface UpdateThesisParams {
|
|
|
2371
2417
|
visibility: ThesisVisibility;
|
|
2372
2418
|
editorial?: boolean;
|
|
2373
2419
|
}
|
|
2420
|
+
interface SetThesisVisibilityParams {
|
|
2421
|
+
visibility: ThesisVisibility;
|
|
2422
|
+
}
|
|
2374
2423
|
interface CloseThesisParams {
|
|
2375
2424
|
expected_author_version_id: ThesisID;
|
|
2376
2425
|
note?: string;
|
|
@@ -2392,7 +2441,10 @@ declare class ThesesResource {
|
|
|
2392
2441
|
constructor(client: AlvaClient);
|
|
2393
2442
|
create(params: CreateThesisParams): Promise<ThesisResponse>;
|
|
2394
2443
|
get(id: ThesisID): Promise<ThesisGetResponse>;
|
|
2444
|
+
getVersion(id: ThesisID, authorVersionID: ThesisID): Promise<ThesisResponse>;
|
|
2445
|
+
signals(id: ThesisID, params?: ListThesisSignalsParams): Promise<ThesisSignalsResponse>;
|
|
2395
2446
|
update(id: ThesisID, params: UpdateThesisParams): Promise<ThesisResponse>;
|
|
2447
|
+
setVisibility(id: ThesisID, params: SetThesisVisibilityParams): Promise<ThesisResponse>;
|
|
2396
2448
|
close(id: ThesisID, params: CloseThesisParams): Promise<ThesisResponse>;
|
|
2397
2449
|
delete(id: ThesisID): Promise<Record<string, never>>;
|
|
2398
2450
|
rewrite(params: RewriteThesisParams): Promise<RewriteThesisResponse>;
|
|
@@ -2658,4 +2710,4 @@ declare const installPlaybookRuntime: (targetWindow?: Window) => void;
|
|
|
2658
2710
|
/** SDK version, injected at build time from package.json. */
|
|
2659
2711
|
declare const VERSION: string;
|
|
2660
2712
|
|
|
2661
|
-
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 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 };
|
|
2713
|
+
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 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 ThesisAuthor, type ThesisEntity, type ThesisGetResponse, type ThesisID, type ThesisResearchStatus, type ThesisResponse, type ThesisRewriteMode, type ThesisSignal, type ThesisSignalEntry, type ThesisSignalEvidenceExcerpt, type ThesisSignalSource, type ThesisSignalsResponse, 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<{
|
|
@@ -2351,12 +2353,56 @@ interface ThesisGetResponse extends ThesisResponse {
|
|
|
2351
2353
|
author: ThesisAuthor;
|
|
2352
2354
|
entities: ThesisEntity[];
|
|
2353
2355
|
}
|
|
2356
|
+
interface ThesisResearchStatus {
|
|
2357
|
+
state: string;
|
|
2358
|
+
pending_work: number;
|
|
2359
|
+
read_complete: boolean;
|
|
2360
|
+
last_attempt_ms?: number;
|
|
2361
|
+
last_completed_ms?: number;
|
|
2362
|
+
}
|
|
2363
|
+
interface ThesisSignalEvidenceExcerpt {
|
|
2364
|
+
text: string;
|
|
2365
|
+
omitted_before: boolean;
|
|
2366
|
+
omitted_after: boolean;
|
|
2367
|
+
}
|
|
2368
|
+
interface ThesisSignalSource {
|
|
2369
|
+
title: string;
|
|
2370
|
+
url?: string;
|
|
2371
|
+
published_at_ms?: number;
|
|
2372
|
+
}
|
|
2373
|
+
interface ThesisSignal {
|
|
2374
|
+
id: ThesisID;
|
|
2375
|
+
thesis_id: ThesisID;
|
|
2376
|
+
author_version_id: ThesisID;
|
|
2377
|
+
statement_snapshot: string;
|
|
2378
|
+
stance: string;
|
|
2379
|
+
explanation: string;
|
|
2380
|
+
information_kind: string;
|
|
2381
|
+
evidence_excerpt?: ThesisSignalEvidenceExcerpt;
|
|
2382
|
+
source: ThesisSignalSource;
|
|
2383
|
+
}
|
|
2384
|
+
interface ThesisSignalEntry {
|
|
2385
|
+
feed_entry_id: ThesisID;
|
|
2386
|
+
cursor: string;
|
|
2387
|
+
signal: ThesisSignal;
|
|
2388
|
+
}
|
|
2389
|
+
interface ListThesisSignalsParams {
|
|
2390
|
+
first?: number;
|
|
2391
|
+
cursor?: string;
|
|
2392
|
+
}
|
|
2393
|
+
interface ThesisSignalsResponse {
|
|
2394
|
+
research: ThesisResearchStatus;
|
|
2395
|
+
entries: ThesisSignalEntry[];
|
|
2396
|
+
next_cursor: string;
|
|
2397
|
+
}
|
|
2354
2398
|
interface CreateThesisParams {
|
|
2355
2399
|
/** Caller-supplied, stable non-zero UUID. Reuse it only to resolve ambiguity. */
|
|
2356
2400
|
request_id: string;
|
|
2357
2401
|
body: string;
|
|
2358
2402
|
title?: string;
|
|
2359
2403
|
entity_ids?: ThesisID[];
|
|
2404
|
+
/** Exact STOCK ticker symbols resolved by Backend during creation. */
|
|
2405
|
+
tickers?: string[];
|
|
2360
2406
|
/** Omitted means public, as defined by the REST contract. */
|
|
2361
2407
|
visibility?: ThesisVisibility;
|
|
2362
2408
|
}
|
|
@@ -2371,6 +2417,9 @@ interface UpdateThesisParams {
|
|
|
2371
2417
|
visibility: ThesisVisibility;
|
|
2372
2418
|
editorial?: boolean;
|
|
2373
2419
|
}
|
|
2420
|
+
interface SetThesisVisibilityParams {
|
|
2421
|
+
visibility: ThesisVisibility;
|
|
2422
|
+
}
|
|
2374
2423
|
interface CloseThesisParams {
|
|
2375
2424
|
expected_author_version_id: ThesisID;
|
|
2376
2425
|
note?: string;
|
|
@@ -2392,7 +2441,10 @@ declare class ThesesResource {
|
|
|
2392
2441
|
constructor(client: AlvaClient);
|
|
2393
2442
|
create(params: CreateThesisParams): Promise<ThesisResponse>;
|
|
2394
2443
|
get(id: ThesisID): Promise<ThesisGetResponse>;
|
|
2444
|
+
getVersion(id: ThesisID, authorVersionID: ThesisID): Promise<ThesisResponse>;
|
|
2445
|
+
signals(id: ThesisID, params?: ListThesisSignalsParams): Promise<ThesisSignalsResponse>;
|
|
2395
2446
|
update(id: ThesisID, params: UpdateThesisParams): Promise<ThesisResponse>;
|
|
2447
|
+
setVisibility(id: ThesisID, params: SetThesisVisibilityParams): Promise<ThesisResponse>;
|
|
2396
2448
|
close(id: ThesisID, params: CloseThesisParams): Promise<ThesisResponse>;
|
|
2397
2449
|
delete(id: ThesisID): Promise<Record<string, never>>;
|
|
2398
2450
|
rewrite(params: RewriteThesisParams): Promise<RewriteThesisResponse>;
|
|
@@ -2658,4 +2710,4 @@ declare const installPlaybookRuntime: (targetWindow?: Window) => void;
|
|
|
2658
2710
|
/** SDK version, injected at build time from package.json. */
|
|
2659
2711
|
declare const VERSION: string;
|
|
2660
2712
|
|
|
2661
|
-
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 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 };
|
|
2713
|
+
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 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 ThesisAuthor, type ThesisEntity, type ThesisGetResponse, type ThesisID, type ThesisResearchStatus, type ThesisResponse, type ThesisRewriteMode, type ThesisSignal, type ThesisSignalEntry, type ThesisSignalEvidenceExcerpt, type ThesisSignalSource, type ThesisSignalsResponse, 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.js
CHANGED
|
@@ -568,7 +568,8 @@ var ReleaseResource = class {
|
|
|
568
568
|
version: params.version,
|
|
569
569
|
feeds: params.feeds,
|
|
570
570
|
changelog: params.changelog,
|
|
571
|
-
readme_url: params.readme_url
|
|
571
|
+
readme_url: params.readme_url,
|
|
572
|
+
confirm_bundled_feed_exposure: params.confirm_bundled_feed_exposure
|
|
572
573
|
}
|
|
573
574
|
});
|
|
574
575
|
}
|
|
@@ -4091,6 +4092,47 @@ var ThesesResource = class {
|
|
|
4091
4092
|
await this.client._request("GET", `/api/v1/theses/${requireID(id, "id")}`)
|
|
4092
4093
|
);
|
|
4093
4094
|
}
|
|
4095
|
+
async getVersion(id, authorVersionID) {
|
|
4096
|
+
this.client._requireAuth();
|
|
4097
|
+
const thesisID = requireID(id, "id");
|
|
4098
|
+
const versionID = requireID(authorVersionID, "author_version_id");
|
|
4099
|
+
const response = thesisResponse(
|
|
4100
|
+
await this.client._request(
|
|
4101
|
+
"GET",
|
|
4102
|
+
`/api/v1/theses/${thesisID}/versions/${versionID}`
|
|
4103
|
+
)
|
|
4104
|
+
);
|
|
4105
|
+
if (response.thesis.id !== thesisID || response.thesis.author_version_id !== versionID) {
|
|
4106
|
+
throw invalidResponse2(
|
|
4107
|
+
"version response must match the requested thesis and author version"
|
|
4108
|
+
);
|
|
4109
|
+
}
|
|
4110
|
+
return response;
|
|
4111
|
+
}
|
|
4112
|
+
async signals(id, params = {}) {
|
|
4113
|
+
this.client._requireAuth();
|
|
4114
|
+
const first = params.first ?? 20;
|
|
4115
|
+
if (!Number.isInteger(first) || first < 1 || first > 50) {
|
|
4116
|
+
throw invalidArgument("first must be an integer between 1 and 50");
|
|
4117
|
+
}
|
|
4118
|
+
if (params.cursor !== void 0 && typeof params.cursor !== "string") {
|
|
4119
|
+
throw invalidArgument("cursor must be a string");
|
|
4120
|
+
}
|
|
4121
|
+
return thesisSignalsResponse(
|
|
4122
|
+
await this.client._request(
|
|
4123
|
+
"GET",
|
|
4124
|
+
`/api/v1/theses/${requireID(id, "id")}/signals`,
|
|
4125
|
+
{
|
|
4126
|
+
query: {
|
|
4127
|
+
first,
|
|
4128
|
+
...params.cursor === void 0 ? {} : { cursor: params.cursor }
|
|
4129
|
+
}
|
|
4130
|
+
}
|
|
4131
|
+
),
|
|
4132
|
+
id,
|
|
4133
|
+
first
|
|
4134
|
+
);
|
|
4135
|
+
}
|
|
4094
4136
|
async update(id, params) {
|
|
4095
4137
|
this.client._requireAuth();
|
|
4096
4138
|
const body = updateBody(params);
|
|
@@ -4104,6 +4146,27 @@ var ThesesResource = class {
|
|
|
4104
4146
|
)
|
|
4105
4147
|
);
|
|
4106
4148
|
}
|
|
4149
|
+
async setVisibility(id, params) {
|
|
4150
|
+
this.client._requireAuth();
|
|
4151
|
+
if (!params) {
|
|
4152
|
+
throw invalidArgument("params is required");
|
|
4153
|
+
}
|
|
4154
|
+
const thesisID = requireID(id, "id");
|
|
4155
|
+
const visibility = requireVisibility(params.visibility);
|
|
4156
|
+
const response = thesisResponse(
|
|
4157
|
+
await this.client._request(
|
|
4158
|
+
"POST",
|
|
4159
|
+
`/api/v1/theses/${thesisID}/visibility`,
|
|
4160
|
+
{ body: { visibility } }
|
|
4161
|
+
)
|
|
4162
|
+
);
|
|
4163
|
+
if (response.thesis.id !== thesisID || response.thesis.visibility !== visibility) {
|
|
4164
|
+
throw invalidResponse2(
|
|
4165
|
+
"visibility response must match the requested thesis and visibility"
|
|
4166
|
+
);
|
|
4167
|
+
}
|
|
4168
|
+
return response;
|
|
4169
|
+
}
|
|
4107
4170
|
async close(id, params) {
|
|
4108
4171
|
this.client._requireAuth();
|
|
4109
4172
|
const body = {
|
|
@@ -4151,13 +4214,16 @@ var ThesesResource = class {
|
|
|
4151
4214
|
}
|
|
4152
4215
|
};
|
|
4153
4216
|
function createBody(params) {
|
|
4154
|
-
|
|
4217
|
+
const body = {
|
|
4155
4218
|
request_id: requireRequestID(params.request_id),
|
|
4156
4219
|
body: requireBody(params.body),
|
|
4157
4220
|
title: requireTitle(params.title ?? ""),
|
|
4158
4221
|
entity_ids: requireIDs(params.entity_ids ?? [], "entity_ids"),
|
|
4159
4222
|
visibility: requireVisibility(params.visibility ?? "public")
|
|
4160
4223
|
};
|
|
4224
|
+
if (params.tickers !== void 0)
|
|
4225
|
+
body.tickers = requireTickers(params.tickers);
|
|
4226
|
+
return body;
|
|
4161
4227
|
}
|
|
4162
4228
|
function updateBody(params) {
|
|
4163
4229
|
return {
|
|
@@ -4238,6 +4304,112 @@ function thesisGetResponse(response) {
|
|
|
4238
4304
|
});
|
|
4239
4305
|
return { thesis: base.thesis, author, entities };
|
|
4240
4306
|
}
|
|
4307
|
+
function thesisSignalsResponse(response, thesisID, first) {
|
|
4308
|
+
if (!isRecord2(response) || !isRecord2(response.research) || !Array.isArray(response.entries) || response.entries.length > first) {
|
|
4309
|
+
throw invalidResponse2("invalid Signal history response");
|
|
4310
|
+
}
|
|
4311
|
+
const research = response.research;
|
|
4312
|
+
const status = {
|
|
4313
|
+
state: responseText(research.state, "research.state"),
|
|
4314
|
+
pending_work: responseNonnegativeInteger(
|
|
4315
|
+
research.pending_work,
|
|
4316
|
+
"research.pending_work"
|
|
4317
|
+
),
|
|
4318
|
+
read_complete: responseBoolean(
|
|
4319
|
+
research.read_complete,
|
|
4320
|
+
"research.read_complete"
|
|
4321
|
+
)
|
|
4322
|
+
};
|
|
4323
|
+
if (research.last_attempt_ms !== void 0)
|
|
4324
|
+
status.last_attempt_ms = responseNonnegativeInteger(
|
|
4325
|
+
research.last_attempt_ms,
|
|
4326
|
+
"research.last_attempt_ms"
|
|
4327
|
+
);
|
|
4328
|
+
if (research.last_completed_ms !== void 0)
|
|
4329
|
+
status.last_completed_ms = responseNonnegativeInteger(
|
|
4330
|
+
research.last_completed_ms,
|
|
4331
|
+
"research.last_completed_ms"
|
|
4332
|
+
);
|
|
4333
|
+
const entries = response.entries.map((raw) => {
|
|
4334
|
+
if (!isRecord2(raw) || !isRecord2(raw.signal) || !isRecord2(raw.signal.source)) {
|
|
4335
|
+
throw invalidResponse2("entry must include a Signal and source");
|
|
4336
|
+
}
|
|
4337
|
+
const signal = raw.signal;
|
|
4338
|
+
const source = signal.source;
|
|
4339
|
+
const signalID = responseID(signal.thesis_id, "signal.thesis_id");
|
|
4340
|
+
if (signalID !== thesisID)
|
|
4341
|
+
throw invalidResponse2("Signal belongs to another Thesis");
|
|
4342
|
+
const cursor = responseNonemptyText(raw.cursor, "entry.cursor");
|
|
4343
|
+
const mappedSource = {
|
|
4344
|
+
title: responseText(source.title, "source.title")
|
|
4345
|
+
};
|
|
4346
|
+
if (source.url !== void 0)
|
|
4347
|
+
mappedSource.url = responseText(source.url, "source.url");
|
|
4348
|
+
if (source.published_at_ms !== void 0)
|
|
4349
|
+
mappedSource.published_at_ms = responseNonnegativeInteger(
|
|
4350
|
+
source.published_at_ms,
|
|
4351
|
+
"source.published_at_ms"
|
|
4352
|
+
);
|
|
4353
|
+
const mappedSignal = {
|
|
4354
|
+
id: responseID(signal.id, "signal.id"),
|
|
4355
|
+
thesis_id: signalID,
|
|
4356
|
+
author_version_id: responseID(
|
|
4357
|
+
signal.author_version_id,
|
|
4358
|
+
"signal.author_version_id"
|
|
4359
|
+
),
|
|
4360
|
+
statement_snapshot: responseNonemptyText(
|
|
4361
|
+
signal.statement_snapshot,
|
|
4362
|
+
"signal.statement_snapshot"
|
|
4363
|
+
),
|
|
4364
|
+
stance: responseText(signal.stance, "signal.stance"),
|
|
4365
|
+
explanation: responseText(signal.explanation, "signal.explanation"),
|
|
4366
|
+
information_kind: responseText(
|
|
4367
|
+
signal.information_kind,
|
|
4368
|
+
"signal.information_kind"
|
|
4369
|
+
),
|
|
4370
|
+
source: mappedSource
|
|
4371
|
+
};
|
|
4372
|
+
if (signal.evidence_excerpt !== void 0) {
|
|
4373
|
+
if (!isRecord2(signal.evidence_excerpt))
|
|
4374
|
+
throw invalidResponse2("invalid evidence excerpt");
|
|
4375
|
+
mappedSignal.evidence_excerpt = {
|
|
4376
|
+
text: responseNonemptyText(
|
|
4377
|
+
signal.evidence_excerpt.text,
|
|
4378
|
+
"evidence_excerpt.text"
|
|
4379
|
+
),
|
|
4380
|
+
omitted_before: responseBoolean(
|
|
4381
|
+
signal.evidence_excerpt.omitted_before,
|
|
4382
|
+
"evidence_excerpt.omitted_before"
|
|
4383
|
+
),
|
|
4384
|
+
omitted_after: responseBoolean(
|
|
4385
|
+
signal.evidence_excerpt.omitted_after,
|
|
4386
|
+
"evidence_excerpt.omitted_after"
|
|
4387
|
+
)
|
|
4388
|
+
};
|
|
4389
|
+
}
|
|
4390
|
+
return {
|
|
4391
|
+
feed_entry_id: responseID(raw.feed_entry_id, "feed_entry_id"),
|
|
4392
|
+
cursor,
|
|
4393
|
+
signal: mappedSignal
|
|
4394
|
+
};
|
|
4395
|
+
});
|
|
4396
|
+
const nextCursor = responseText(response.next_cursor, "next_cursor");
|
|
4397
|
+
if (nextCursor && nextCursor !== entries[entries.length - 1]?.cursor) {
|
|
4398
|
+
throw invalidResponse2("next_cursor must match the final entry");
|
|
4399
|
+
}
|
|
4400
|
+
return { research: status, entries, next_cursor: nextCursor };
|
|
4401
|
+
}
|
|
4402
|
+
function responseNonnegativeInteger(value, field) {
|
|
4403
|
+
if (typeof value !== "number" || !Number.isSafeInteger(value) || value < 0) {
|
|
4404
|
+
throw invalidResponse2(field + " must be a nonnegative safe integer");
|
|
4405
|
+
}
|
|
4406
|
+
return value;
|
|
4407
|
+
}
|
|
4408
|
+
function responseNonemptyText(value, field) {
|
|
4409
|
+
const valueText = responseText(value, field);
|
|
4410
|
+
if (!valueText.trim()) throw invalidResponse2(field + " must be nonempty");
|
|
4411
|
+
return valueText;
|
|
4412
|
+
}
|
|
4241
4413
|
function requireRequestID(value) {
|
|
4242
4414
|
if (!UUID.test(value) || /^0{8}-0{4}-0{4}-0{4}-0{12}$/i.test(value)) {
|
|
4243
4415
|
throw invalidArgument("request_id must be a non-zero RFC 4122 UUID");
|
|
@@ -4261,6 +4433,19 @@ function requireIDs(value, field) {
|
|
|
4261
4433
|
}
|
|
4262
4434
|
return value.map((item, index) => requireID(item, `${field}[${index}]`));
|
|
4263
4435
|
}
|
|
4436
|
+
function requireTickers(value) {
|
|
4437
|
+
if (!Array.isArray(value)) throw invalidArgument("tickers must be an array");
|
|
4438
|
+
if (value.length > 100) {
|
|
4439
|
+
throw invalidArgument("tickers must contain at most 100 values");
|
|
4440
|
+
}
|
|
4441
|
+
return value.map((item, index) => {
|
|
4442
|
+
const ticker = requireText2(item, `tickers[${index}]`);
|
|
4443
|
+
if (ticker.trim() === "" || ticker.includes("\0")) {
|
|
4444
|
+
throw invalidArgument(`tickers[${index}] must be non-empty`);
|
|
4445
|
+
}
|
|
4446
|
+
return ticker;
|
|
4447
|
+
});
|
|
4448
|
+
}
|
|
4264
4449
|
function requireBody(value) {
|
|
4265
4450
|
const body = requireText2(value, "body");
|
|
4266
4451
|
if (body.trim().length === 0) throw invalidArgument("body must not be blank");
|
|
@@ -5215,7 +5400,7 @@ var installPlaybookRuntime = (targetWindow) => {
|
|
|
5215
5400
|
};
|
|
5216
5401
|
|
|
5217
5402
|
// src/index.ts
|
|
5218
|
-
var VERSION = true ? "0.
|
|
5403
|
+
var VERSION = true ? "0.29.0" : "dev";
|
|
5219
5404
|
export {
|
|
5220
5405
|
AlertsResource,
|
|
5221
5406
|
AlvaClient,
|