@alva-ai/toolkit 0.16.1-beta.1 → 0.16.1-beta.2
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/browser.global.js +2 -2
- package/dist/browser.global.js.map +1 -1
- package/dist/cli.d.ts +49 -84
- package/dist/cli.js +163 -151
- package/dist/cli.js.map +1 -1
- package/dist/index.cjs +36 -42
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +50 -85
- package/dist/index.d.ts +50 -85
- package/dist/index.js +36 -42
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -93,12 +93,16 @@ interface FsWriteParams {
|
|
|
93
93
|
path: string;
|
|
94
94
|
data: string;
|
|
95
95
|
mkdir_parents?: boolean;
|
|
96
|
+
/** Append to the existing file instead of overwriting it. */
|
|
97
|
+
append?: boolean;
|
|
96
98
|
}
|
|
97
99
|
interface FsRawWriteParams {
|
|
98
100
|
path: string;
|
|
99
101
|
/** Raw file content: string, ArrayBuffer, Uint8Array, Blob, etc. */
|
|
100
102
|
body: BodyInit;
|
|
101
103
|
mkdir_parents?: boolean;
|
|
104
|
+
/** Append to the existing file instead of overwriting it. */
|
|
105
|
+
append?: boolean;
|
|
102
106
|
}
|
|
103
107
|
interface FsWriteResponse {
|
|
104
108
|
bytes_written: number;
|
|
@@ -734,17 +738,7 @@ interface NotificationEvent {
|
|
|
734
738
|
created_at: number;
|
|
735
739
|
message?: string;
|
|
736
740
|
error_msg?: string;
|
|
737
|
-
|
|
738
|
-
playbook_id?: string;
|
|
739
|
-
/** Present when notification is feed-scoped. */
|
|
740
|
-
feed_id?: string;
|
|
741
|
-
}
|
|
742
|
-
interface PlaybookNotificationListResponse {
|
|
743
|
-
items: NotificationEvent[];
|
|
744
|
-
/** Empty when there is no next page. */
|
|
745
|
-
next_cursor: string;
|
|
746
|
-
/** Canonical alfs path: `/alva/home/<username>/playbooks/<name>`. */
|
|
747
|
-
playbook_path: string;
|
|
741
|
+
feed_id: string;
|
|
748
742
|
}
|
|
749
743
|
interface FeedNotificationListResponse {
|
|
750
744
|
items: NotificationEvent[];
|
|
@@ -786,13 +780,8 @@ interface SubmitFeedbackResponse {
|
|
|
786
780
|
notion_page_id: string;
|
|
787
781
|
notion_url: string;
|
|
788
782
|
}
|
|
789
|
-
/**
|
|
790
|
-
|
|
791
|
-
* `PLAYBOOK` is the only target supported today; `FEED` is reserved for
|
|
792
|
-
* a future phase where users can subscribe to a feed independent of any
|
|
793
|
-
* playbook that consumes it.
|
|
794
|
-
*/
|
|
795
|
-
type PushTargetType = 'PLAYBOOK' | 'FEED' | 'UNSPECIFIED';
|
|
783
|
+
/** Personal alert subscriptions are keyed only to feeds. */
|
|
784
|
+
type PushTargetType = 'FEED';
|
|
796
785
|
interface PushTarget {
|
|
797
786
|
type: PushTargetType;
|
|
798
787
|
/** Numeric id encoded as a string (matches the rest of the SDK). */
|
|
@@ -812,29 +801,13 @@ interface PushSubscription {
|
|
|
812
801
|
/** Playbooks whose latest release currently references this feed. */
|
|
813
802
|
used_by?: PushSubscriptionUsedBy[];
|
|
814
803
|
used_by_total?: number;
|
|
804
|
+
/** Row-shape discriminator. */
|
|
805
|
+
kind?: 'FEED_ALERT';
|
|
815
806
|
/**
|
|
816
|
-
*
|
|
817
|
-
*
|
|
818
|
-
* FEED_ALERT = a single feed's alert.
|
|
819
|
-
*/
|
|
820
|
-
kind?: 'PLAYBOOK_ALERTS' | 'FEED_ALERT' | 'UNSPECIFIED' | string;
|
|
821
|
-
/**
|
|
822
|
-
* Legacy social playbook-follow signal. Do not use this to decide whether
|
|
823
|
-
* alert delivery is enabled; use kind + target_status instead.
|
|
824
|
-
*/
|
|
825
|
-
following?: boolean;
|
|
826
|
-
/**
|
|
827
|
-
* Target lifecycle: TARGET_DELETED marks a ghost row (the playbook/feed
|
|
828
|
-
* was deleted) — clear it with unsubscribeBatch by target id.
|
|
807
|
+
* Target lifecycle. TARGET_DELETED marks a feed row whose target was
|
|
808
|
+
* deleted; clear it with unsubscribeBatch by target id.
|
|
829
809
|
*/
|
|
830
810
|
target_status?: 'ACTIVE' | 'TARGET_DELETED' | 'PAUSED' | 'UNSPECIFIED' | string;
|
|
831
|
-
/** Playbook identity, present for PLAYBOOK targets on list responses. */
|
|
832
|
-
playbook?: PushSubscriptionPlaybookInfo;
|
|
833
|
-
}
|
|
834
|
-
interface PushSubscriptionPlaybookInfo {
|
|
835
|
-
owner_username: string;
|
|
836
|
-
name: string;
|
|
837
|
-
display_name: string;
|
|
838
811
|
}
|
|
839
812
|
interface PushSubscriptionUsedBy {
|
|
840
813
|
playbook_id: string;
|
|
@@ -843,7 +816,7 @@ interface PushSubscriptionUsedBy {
|
|
|
843
816
|
display_name: string;
|
|
844
817
|
owner_avatar_url: string;
|
|
845
818
|
}
|
|
846
|
-
interface
|
|
819
|
+
interface PlaybookFollowParams {
|
|
847
820
|
username: string;
|
|
848
821
|
name: string;
|
|
849
822
|
}
|
|
@@ -887,14 +860,21 @@ interface FollowsListResponse {
|
|
|
887
860
|
next_cursor?: string;
|
|
888
861
|
}
|
|
889
862
|
interface UnsubscribeBatchParams {
|
|
890
|
-
/**
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
863
|
+
/** Feed target ids (strings — snowflake ids exceed JS safe integers). */
|
|
864
|
+
feedIds: string[];
|
|
865
|
+
}
|
|
866
|
+
interface SubscribeBatchParams {
|
|
867
|
+
/** Feed target ids (strings — snowflake ids exceed JS safe integers). */
|
|
868
|
+
feedIds: string[];
|
|
869
|
+
/** Delivery channel id. Omit for the user's agent/home channel. */
|
|
870
|
+
channelId?: string;
|
|
871
|
+
}
|
|
872
|
+
interface SubscribeBatchResponse {
|
|
873
|
+
subscriptions: PushSubscription[];
|
|
894
874
|
}
|
|
895
875
|
interface UnsubscribeBatchResult {
|
|
896
876
|
id: string;
|
|
897
|
-
kind: '
|
|
877
|
+
kind: 'FEED';
|
|
898
878
|
ok: boolean;
|
|
899
879
|
status: 'UNSUBSCRIBED' | 'INVALID_ID' | string;
|
|
900
880
|
}
|
|
@@ -909,14 +889,16 @@ interface PlaybookFollow {
|
|
|
909
889
|
created_at_ms: number;
|
|
910
890
|
updated_at_ms: number;
|
|
911
891
|
}
|
|
912
|
-
interface
|
|
913
|
-
/** The follow row created
|
|
892
|
+
interface FollowPlaybookResponse {
|
|
893
|
+
/** The social follow row created or confirmed by this operation. */
|
|
914
894
|
follow: PlaybookFollow;
|
|
915
|
-
/** Feed ids whose alert this subscribe enabled (push-enabled automations). */
|
|
916
|
-
subscribed_feed_ids: string[];
|
|
917
895
|
/** Canonical alfs path: `/alva/home/<username>/playbooks/<name>`. */
|
|
918
896
|
playbook_path: string;
|
|
919
897
|
}
|
|
898
|
+
interface UnfollowPlaybookResponse {
|
|
899
|
+
ok: true;
|
|
900
|
+
unfollowed: boolean;
|
|
901
|
+
}
|
|
920
902
|
interface SubscribeFeedResponse {
|
|
921
903
|
subscription: PushSubscription;
|
|
922
904
|
/** Canonical alfs path: `/alva/home/<username>/feeds/<name>`. */
|
|
@@ -925,9 +907,9 @@ interface SubscribeFeedResponse {
|
|
|
925
907
|
interface UnsubscribeResponse {
|
|
926
908
|
ok: true;
|
|
927
909
|
}
|
|
928
|
-
type ChannelGroupSubscriptionTargetType = 'feed'
|
|
910
|
+
type ChannelGroupSubscriptionTargetType = 'feed';
|
|
929
911
|
interface ChannelGroupSubscriptionTarget {
|
|
930
|
-
type: ChannelGroupSubscriptionTargetType
|
|
912
|
+
type: ChannelGroupSubscriptionTargetType;
|
|
931
913
|
id: number;
|
|
932
914
|
}
|
|
933
915
|
interface ChannelGroupSubscription {
|
|
@@ -952,7 +934,7 @@ interface ChannelGroupSubscriptionSessionParams {
|
|
|
952
934
|
session_id: number | string;
|
|
953
935
|
}
|
|
954
936
|
interface ChannelGroupSubscriptionMutationParams extends ChannelGroupSubscriptionSessionParams {
|
|
955
|
-
target_type:
|
|
937
|
+
target_type: 'feed';
|
|
956
938
|
target_id: number | string;
|
|
957
939
|
}
|
|
958
940
|
interface ChannelGroupSubscriptionContextResponse {
|
|
@@ -1541,13 +1523,6 @@ declare class ArraysJwtResource {
|
|
|
1541
1523
|
declare class NotificationsResource {
|
|
1542
1524
|
private client;
|
|
1543
1525
|
constructor(client: AlvaClient);
|
|
1544
|
-
/**
|
|
1545
|
-
* List the caller's notification history for one playbook
|
|
1546
|
-
* `(username, name)`. Returns `NOT_FOUND` when the playbook is
|
|
1547
|
-
* private or does not exist (the two cases are deliberately
|
|
1548
|
-
* indistinguishable to prevent namespace enumeration).
|
|
1549
|
-
*/
|
|
1550
|
-
listPlaybook(params: NotificationListParams): Promise<PlaybookNotificationListResponse>;
|
|
1551
1526
|
/**
|
|
1552
1527
|
* List the caller's notification history for one feed
|
|
1553
1528
|
* `(username, name)`. Authorization is alfs read on
|
|
@@ -1571,7 +1546,7 @@ declare class NotificationPreferencesResource {
|
|
|
1571
1546
|
}
|
|
1572
1547
|
|
|
1573
1548
|
/**
|
|
1574
|
-
*
|
|
1549
|
+
* Playbook follows and FEED alert subscriptions.
|
|
1575
1550
|
*
|
|
1576
1551
|
* Three DISTINCT concepts share the word "subscribe" in the product; this
|
|
1577
1552
|
* resource touches the first two and never the third:
|
|
@@ -1582,33 +1557,26 @@ declare class NotificationPreferencesResource {
|
|
|
1582
1557
|
* - **purchase** — paid playbook access / the SaaS plan. NOT this resource.
|
|
1583
1558
|
*
|
|
1584
1559
|
* Operations:
|
|
1585
|
-
* - `
|
|
1586
|
-
* personal push for every push-enabled automation of its latest release,
|
|
1587
|
-
* in one call. `unsubscribePlaybook` reverses both (unfollow + disable
|
|
1588
|
-
* the playbook-level alert) and reports exactly what it changed.
|
|
1560
|
+
* - `followPlaybook` / `unfollowPlaybook` change only the social follow.
|
|
1589
1561
|
* - `subscribeFeed` / `unsubscribeFeed` toggle personal push for ONE feed
|
|
1590
1562
|
* (a single automation's alert) without touching the playbook follow.
|
|
1591
|
-
* - `unsubscribeBatch`
|
|
1592
|
-
* and the only way to clear ghost rows whose target was deleted
|
|
1593
|
-
* (name-addressed unsubscribe 404s on deleted playbooks).
|
|
1563
|
+
* - `subscribeBatch` / `unsubscribeBatch` toggle FEED alerts by target id.
|
|
1594
1564
|
*
|
|
1595
|
-
* Backed by alva-gateway REST under `/api/v1/
|
|
1565
|
+
* Backed by alva-gateway REST under `/api/v1/follows/...` and
|
|
1566
|
+
* `/api/v1/subscriptions/...`.
|
|
1596
1567
|
*/
|
|
1597
1568
|
declare class SubscriptionsResource {
|
|
1598
1569
|
private client;
|
|
1599
1570
|
constructor(client: AlvaClient);
|
|
1600
1571
|
/**
|
|
1601
|
-
*
|
|
1602
|
-
*
|
|
1603
|
-
* able to read the playbook — public passes; paid requires an active unlock;
|
|
1604
|
-
* private requires owner/admin.
|
|
1572
|
+
* Follow a playbook `(username, name)`. Alerts are independent and require
|
|
1573
|
+
* explicit FEED subscriptions. Idempotent.
|
|
1605
1574
|
*/
|
|
1606
|
-
|
|
1575
|
+
followPlaybook(params: PlaybookFollowParams): Promise<FollowPlaybookResponse>;
|
|
1607
1576
|
/**
|
|
1608
|
-
*
|
|
1609
|
-
* all of its push alerts for the caller. Idempotent.
|
|
1577
|
+
* Unfollow a playbook `(username, name)` without changing FEED alerts.
|
|
1610
1578
|
*/
|
|
1611
|
-
|
|
1579
|
+
unfollowPlaybook(params: PlaybookFollowParams): Promise<UnfollowPlaybookResponse>;
|
|
1612
1580
|
/**
|
|
1613
1581
|
* Subscribe to one feed `(username, name)` — enable personal push for that
|
|
1614
1582
|
* single automation's alerts, regardless of which playbook(s) consume it.
|
|
@@ -1631,12 +1599,11 @@ declare class SubscriptionsResource {
|
|
|
1631
1599
|
* deleted playbooks are filtered server-side. Cursor-paginated.
|
|
1632
1600
|
*/
|
|
1633
1601
|
follows(params?: FollowsListParams): Promise<FollowsListResponse>;
|
|
1602
|
+
/** Atomically enable alerts for FEED target ids (max 100). */
|
|
1603
|
+
subscribeBatch(params: SubscribeBatchParams): Promise<SubscribeBatchResponse>;
|
|
1634
1604
|
/**
|
|
1635
|
-
* Disable alerts for many
|
|
1636
|
-
*
|
|
1637
|
-
* for ghost rows (deleted targets) because no name resolution happens —
|
|
1638
|
-
* the per-id results report `INVALID_ID` for malformed entries while
|
|
1639
|
-
* valid ones proceed. Safe to re-run: already-gone rows are no-ops.
|
|
1605
|
+
* Disable alerts for many FEED targets by id in one idempotent call (max
|
|
1606
|
+
* 100 ids). The per-id results report `INVALID_ID` for malformed entries.
|
|
1640
1607
|
*/
|
|
1641
1608
|
unsubscribeBatch(params: UnsubscribeBatchParams): Promise<UnsubscribeBatchResponse>;
|
|
1642
1609
|
}
|
|
@@ -1652,11 +1619,9 @@ declare class AlertsResource {
|
|
|
1652
1619
|
follows(params?: FollowsListParams): Promise<FollowsListResponse>;
|
|
1653
1620
|
enableAutomation(params: PushSubscriptionFeedParams): Promise<SubscribeFeedResponse>;
|
|
1654
1621
|
disableAutomation(params: PushSubscriptionFeedParams): Promise<UnsubscribeResponse>;
|
|
1655
|
-
|
|
1656
|
-
disablePlaybook(params: PushSubscriptionPlaybookParams): Promise<UnsubscribeResponse>;
|
|
1622
|
+
enableBatch(params: SubscribeBatchParams): Promise<SubscribeBatchResponse>;
|
|
1657
1623
|
disableBatch(params: UnsubscribeBatchParams): Promise<UnsubscribeBatchResponse>;
|
|
1658
1624
|
historyAutomation(params: NotificationListParams): Promise<FeedNotificationListResponse>;
|
|
1659
|
-
historyPlaybook(params: NotificationListParams): Promise<PlaybookNotificationListResponse>;
|
|
1660
1625
|
preferences(): Promise<NotificationPreferencesResponse>;
|
|
1661
1626
|
updatePreference(params: NotificationPreferenceUpdateParams): Promise<NotificationPreferenceUpdateResponse>;
|
|
1662
1627
|
}
|
|
@@ -1665,7 +1630,7 @@ declare class AlertsResource {
|
|
|
1665
1630
|
* Group push subscriptions for an external channel session.
|
|
1666
1631
|
*
|
|
1667
1632
|
* These APIs subscribe the Telegram/Discord group attached to `session_id`
|
|
1668
|
-
* to public feed
|
|
1633
|
+
* to public feed push events. Mutations are idempotent no-ops unless
|
|
1669
1634
|
* the authenticated caller is that group's Alva admin.
|
|
1670
1635
|
*/
|
|
1671
1636
|
declare class ChannelGroupSubscriptionsResource {
|
|
@@ -2033,4 +1998,4 @@ declare const installPlaybookRuntime: (targetWindow?: Window) => void;
|
|
|
2033
1998
|
/** SDK version, injected at build time from package.json. */
|
|
2034
1999
|
declare const VERSION: string;
|
|
2035
2000
|
|
|
2036
|
-
export { AlertsResource, AlvaClient, type AlvaClientConfig, AlvaError, 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 CreateAllowanceParams, type CreateAllowanceResponse, 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 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 NotificationPreference, type NotificationPreferenceKey, type NotificationPreferenceUpdateParams, type NotificationPreferenceUpdateResponse, type NotificationPreferencesResponse, PBSV_UPDATE_MESSAGE, type PlaybookFunction, type PlaybookSkillFile, type PlaybookSkillFileMeta, type PlaybookSkillMeta, type PlaybookSkillSummary, type PlaybookSkillTagEntry, type RegisterFunctionParams, type RegisterFunctionResponse, type RevokeAllowanceParams, type RevokeAllowanceResponse, SUBSCRIBE_PROPOSE_MESSAGE, SUBSCRIBE_RESULT_MESSAGE, type SkillDoc, type SkillEndpointMetadata, type SkillEndpointTier, type SkillMetadata, type SkillSummary, type SubmitFeedbackRequest, type SubmitFeedbackResponse, type SubscribeApi, type SubscribeProposalInput, type SubscribeProposalResult, 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, VERSION, getViewerToken, installPlaybookRuntime, mapUdfErrorResponse, playbookIdFromToken, subscribe, udf };
|
|
2001
|
+
export { AlertsResource, AlvaClient, type AlvaClientConfig, AlvaError, 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 CreateAllowanceParams, type CreateAllowanceResponse, 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 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 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 RegisterFunctionParams, type RegisterFunctionResponse, type RevokeAllowanceParams, type RevokeAllowanceResponse, SUBSCRIBE_PROPOSE_MESSAGE, SUBSCRIBE_RESULT_MESSAGE, type SkillDoc, type SkillEndpointMetadata, type SkillEndpointTier, type SkillMetadata, type SkillSummary, type SubmitFeedbackRequest, type SubmitFeedbackResponse, type SubscribeApi, type SubscribeBatchParams, type SubscribeBatchResponse, type SubscribeProposalInput, type SubscribeProposalResult, 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, VERSION, getViewerToken, installPlaybookRuntime, mapUdfErrorResponse, playbookIdFromToken, subscribe, udf };
|
package/dist/index.d.ts
CHANGED
|
@@ -93,12 +93,16 @@ interface FsWriteParams {
|
|
|
93
93
|
path: string;
|
|
94
94
|
data: string;
|
|
95
95
|
mkdir_parents?: boolean;
|
|
96
|
+
/** Append to the existing file instead of overwriting it. */
|
|
97
|
+
append?: boolean;
|
|
96
98
|
}
|
|
97
99
|
interface FsRawWriteParams {
|
|
98
100
|
path: string;
|
|
99
101
|
/** Raw file content: string, ArrayBuffer, Uint8Array, Blob, etc. */
|
|
100
102
|
body: BodyInit;
|
|
101
103
|
mkdir_parents?: boolean;
|
|
104
|
+
/** Append to the existing file instead of overwriting it. */
|
|
105
|
+
append?: boolean;
|
|
102
106
|
}
|
|
103
107
|
interface FsWriteResponse {
|
|
104
108
|
bytes_written: number;
|
|
@@ -734,17 +738,7 @@ interface NotificationEvent {
|
|
|
734
738
|
created_at: number;
|
|
735
739
|
message?: string;
|
|
736
740
|
error_msg?: string;
|
|
737
|
-
|
|
738
|
-
playbook_id?: string;
|
|
739
|
-
/** Present when notification is feed-scoped. */
|
|
740
|
-
feed_id?: string;
|
|
741
|
-
}
|
|
742
|
-
interface PlaybookNotificationListResponse {
|
|
743
|
-
items: NotificationEvent[];
|
|
744
|
-
/** Empty when there is no next page. */
|
|
745
|
-
next_cursor: string;
|
|
746
|
-
/** Canonical alfs path: `/alva/home/<username>/playbooks/<name>`. */
|
|
747
|
-
playbook_path: string;
|
|
741
|
+
feed_id: string;
|
|
748
742
|
}
|
|
749
743
|
interface FeedNotificationListResponse {
|
|
750
744
|
items: NotificationEvent[];
|
|
@@ -786,13 +780,8 @@ interface SubmitFeedbackResponse {
|
|
|
786
780
|
notion_page_id: string;
|
|
787
781
|
notion_url: string;
|
|
788
782
|
}
|
|
789
|
-
/**
|
|
790
|
-
|
|
791
|
-
* `PLAYBOOK` is the only target supported today; `FEED` is reserved for
|
|
792
|
-
* a future phase where users can subscribe to a feed independent of any
|
|
793
|
-
* playbook that consumes it.
|
|
794
|
-
*/
|
|
795
|
-
type PushTargetType = 'PLAYBOOK' | 'FEED' | 'UNSPECIFIED';
|
|
783
|
+
/** Personal alert subscriptions are keyed only to feeds. */
|
|
784
|
+
type PushTargetType = 'FEED';
|
|
796
785
|
interface PushTarget {
|
|
797
786
|
type: PushTargetType;
|
|
798
787
|
/** Numeric id encoded as a string (matches the rest of the SDK). */
|
|
@@ -812,29 +801,13 @@ interface PushSubscription {
|
|
|
812
801
|
/** Playbooks whose latest release currently references this feed. */
|
|
813
802
|
used_by?: PushSubscriptionUsedBy[];
|
|
814
803
|
used_by_total?: number;
|
|
804
|
+
/** Row-shape discriminator. */
|
|
805
|
+
kind?: 'FEED_ALERT';
|
|
815
806
|
/**
|
|
816
|
-
*
|
|
817
|
-
*
|
|
818
|
-
* FEED_ALERT = a single feed's alert.
|
|
819
|
-
*/
|
|
820
|
-
kind?: 'PLAYBOOK_ALERTS' | 'FEED_ALERT' | 'UNSPECIFIED' | string;
|
|
821
|
-
/**
|
|
822
|
-
* Legacy social playbook-follow signal. Do not use this to decide whether
|
|
823
|
-
* alert delivery is enabled; use kind + target_status instead.
|
|
824
|
-
*/
|
|
825
|
-
following?: boolean;
|
|
826
|
-
/**
|
|
827
|
-
* Target lifecycle: TARGET_DELETED marks a ghost row (the playbook/feed
|
|
828
|
-
* was deleted) — clear it with unsubscribeBatch by target id.
|
|
807
|
+
* Target lifecycle. TARGET_DELETED marks a feed row whose target was
|
|
808
|
+
* deleted; clear it with unsubscribeBatch by target id.
|
|
829
809
|
*/
|
|
830
810
|
target_status?: 'ACTIVE' | 'TARGET_DELETED' | 'PAUSED' | 'UNSPECIFIED' | string;
|
|
831
|
-
/** Playbook identity, present for PLAYBOOK targets on list responses. */
|
|
832
|
-
playbook?: PushSubscriptionPlaybookInfo;
|
|
833
|
-
}
|
|
834
|
-
interface PushSubscriptionPlaybookInfo {
|
|
835
|
-
owner_username: string;
|
|
836
|
-
name: string;
|
|
837
|
-
display_name: string;
|
|
838
811
|
}
|
|
839
812
|
interface PushSubscriptionUsedBy {
|
|
840
813
|
playbook_id: string;
|
|
@@ -843,7 +816,7 @@ interface PushSubscriptionUsedBy {
|
|
|
843
816
|
display_name: string;
|
|
844
817
|
owner_avatar_url: string;
|
|
845
818
|
}
|
|
846
|
-
interface
|
|
819
|
+
interface PlaybookFollowParams {
|
|
847
820
|
username: string;
|
|
848
821
|
name: string;
|
|
849
822
|
}
|
|
@@ -887,14 +860,21 @@ interface FollowsListResponse {
|
|
|
887
860
|
next_cursor?: string;
|
|
888
861
|
}
|
|
889
862
|
interface UnsubscribeBatchParams {
|
|
890
|
-
/**
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
863
|
+
/** Feed target ids (strings — snowflake ids exceed JS safe integers). */
|
|
864
|
+
feedIds: string[];
|
|
865
|
+
}
|
|
866
|
+
interface SubscribeBatchParams {
|
|
867
|
+
/** Feed target ids (strings — snowflake ids exceed JS safe integers). */
|
|
868
|
+
feedIds: string[];
|
|
869
|
+
/** Delivery channel id. Omit for the user's agent/home channel. */
|
|
870
|
+
channelId?: string;
|
|
871
|
+
}
|
|
872
|
+
interface SubscribeBatchResponse {
|
|
873
|
+
subscriptions: PushSubscription[];
|
|
894
874
|
}
|
|
895
875
|
interface UnsubscribeBatchResult {
|
|
896
876
|
id: string;
|
|
897
|
-
kind: '
|
|
877
|
+
kind: 'FEED';
|
|
898
878
|
ok: boolean;
|
|
899
879
|
status: 'UNSUBSCRIBED' | 'INVALID_ID' | string;
|
|
900
880
|
}
|
|
@@ -909,14 +889,16 @@ interface PlaybookFollow {
|
|
|
909
889
|
created_at_ms: number;
|
|
910
890
|
updated_at_ms: number;
|
|
911
891
|
}
|
|
912
|
-
interface
|
|
913
|
-
/** The follow row created
|
|
892
|
+
interface FollowPlaybookResponse {
|
|
893
|
+
/** The social follow row created or confirmed by this operation. */
|
|
914
894
|
follow: PlaybookFollow;
|
|
915
|
-
/** Feed ids whose alert this subscribe enabled (push-enabled automations). */
|
|
916
|
-
subscribed_feed_ids: string[];
|
|
917
895
|
/** Canonical alfs path: `/alva/home/<username>/playbooks/<name>`. */
|
|
918
896
|
playbook_path: string;
|
|
919
897
|
}
|
|
898
|
+
interface UnfollowPlaybookResponse {
|
|
899
|
+
ok: true;
|
|
900
|
+
unfollowed: boolean;
|
|
901
|
+
}
|
|
920
902
|
interface SubscribeFeedResponse {
|
|
921
903
|
subscription: PushSubscription;
|
|
922
904
|
/** Canonical alfs path: `/alva/home/<username>/feeds/<name>`. */
|
|
@@ -925,9 +907,9 @@ interface SubscribeFeedResponse {
|
|
|
925
907
|
interface UnsubscribeResponse {
|
|
926
908
|
ok: true;
|
|
927
909
|
}
|
|
928
|
-
type ChannelGroupSubscriptionTargetType = 'feed'
|
|
910
|
+
type ChannelGroupSubscriptionTargetType = 'feed';
|
|
929
911
|
interface ChannelGroupSubscriptionTarget {
|
|
930
|
-
type: ChannelGroupSubscriptionTargetType
|
|
912
|
+
type: ChannelGroupSubscriptionTargetType;
|
|
931
913
|
id: number;
|
|
932
914
|
}
|
|
933
915
|
interface ChannelGroupSubscription {
|
|
@@ -952,7 +934,7 @@ interface ChannelGroupSubscriptionSessionParams {
|
|
|
952
934
|
session_id: number | string;
|
|
953
935
|
}
|
|
954
936
|
interface ChannelGroupSubscriptionMutationParams extends ChannelGroupSubscriptionSessionParams {
|
|
955
|
-
target_type:
|
|
937
|
+
target_type: 'feed';
|
|
956
938
|
target_id: number | string;
|
|
957
939
|
}
|
|
958
940
|
interface ChannelGroupSubscriptionContextResponse {
|
|
@@ -1541,13 +1523,6 @@ declare class ArraysJwtResource {
|
|
|
1541
1523
|
declare class NotificationsResource {
|
|
1542
1524
|
private client;
|
|
1543
1525
|
constructor(client: AlvaClient);
|
|
1544
|
-
/**
|
|
1545
|
-
* List the caller's notification history for one playbook
|
|
1546
|
-
* `(username, name)`. Returns `NOT_FOUND` when the playbook is
|
|
1547
|
-
* private or does not exist (the two cases are deliberately
|
|
1548
|
-
* indistinguishable to prevent namespace enumeration).
|
|
1549
|
-
*/
|
|
1550
|
-
listPlaybook(params: NotificationListParams): Promise<PlaybookNotificationListResponse>;
|
|
1551
1526
|
/**
|
|
1552
1527
|
* List the caller's notification history for one feed
|
|
1553
1528
|
* `(username, name)`. Authorization is alfs read on
|
|
@@ -1571,7 +1546,7 @@ declare class NotificationPreferencesResource {
|
|
|
1571
1546
|
}
|
|
1572
1547
|
|
|
1573
1548
|
/**
|
|
1574
|
-
*
|
|
1549
|
+
* Playbook follows and FEED alert subscriptions.
|
|
1575
1550
|
*
|
|
1576
1551
|
* Three DISTINCT concepts share the word "subscribe" in the product; this
|
|
1577
1552
|
* resource touches the first two and never the third:
|
|
@@ -1582,33 +1557,26 @@ declare class NotificationPreferencesResource {
|
|
|
1582
1557
|
* - **purchase** — paid playbook access / the SaaS plan. NOT this resource.
|
|
1583
1558
|
*
|
|
1584
1559
|
* Operations:
|
|
1585
|
-
* - `
|
|
1586
|
-
* personal push for every push-enabled automation of its latest release,
|
|
1587
|
-
* in one call. `unsubscribePlaybook` reverses both (unfollow + disable
|
|
1588
|
-
* the playbook-level alert) and reports exactly what it changed.
|
|
1560
|
+
* - `followPlaybook` / `unfollowPlaybook` change only the social follow.
|
|
1589
1561
|
* - `subscribeFeed` / `unsubscribeFeed` toggle personal push for ONE feed
|
|
1590
1562
|
* (a single automation's alert) without touching the playbook follow.
|
|
1591
|
-
* - `unsubscribeBatch`
|
|
1592
|
-
* and the only way to clear ghost rows whose target was deleted
|
|
1593
|
-
* (name-addressed unsubscribe 404s on deleted playbooks).
|
|
1563
|
+
* - `subscribeBatch` / `unsubscribeBatch` toggle FEED alerts by target id.
|
|
1594
1564
|
*
|
|
1595
|
-
* Backed by alva-gateway REST under `/api/v1/
|
|
1565
|
+
* Backed by alva-gateway REST under `/api/v1/follows/...` and
|
|
1566
|
+
* `/api/v1/subscriptions/...`.
|
|
1596
1567
|
*/
|
|
1597
1568
|
declare class SubscriptionsResource {
|
|
1598
1569
|
private client;
|
|
1599
1570
|
constructor(client: AlvaClient);
|
|
1600
1571
|
/**
|
|
1601
|
-
*
|
|
1602
|
-
*
|
|
1603
|
-
* able to read the playbook — public passes; paid requires an active unlock;
|
|
1604
|
-
* private requires owner/admin.
|
|
1572
|
+
* Follow a playbook `(username, name)`. Alerts are independent and require
|
|
1573
|
+
* explicit FEED subscriptions. Idempotent.
|
|
1605
1574
|
*/
|
|
1606
|
-
|
|
1575
|
+
followPlaybook(params: PlaybookFollowParams): Promise<FollowPlaybookResponse>;
|
|
1607
1576
|
/**
|
|
1608
|
-
*
|
|
1609
|
-
* all of its push alerts for the caller. Idempotent.
|
|
1577
|
+
* Unfollow a playbook `(username, name)` without changing FEED alerts.
|
|
1610
1578
|
*/
|
|
1611
|
-
|
|
1579
|
+
unfollowPlaybook(params: PlaybookFollowParams): Promise<UnfollowPlaybookResponse>;
|
|
1612
1580
|
/**
|
|
1613
1581
|
* Subscribe to one feed `(username, name)` — enable personal push for that
|
|
1614
1582
|
* single automation's alerts, regardless of which playbook(s) consume it.
|
|
@@ -1631,12 +1599,11 @@ declare class SubscriptionsResource {
|
|
|
1631
1599
|
* deleted playbooks are filtered server-side. Cursor-paginated.
|
|
1632
1600
|
*/
|
|
1633
1601
|
follows(params?: FollowsListParams): Promise<FollowsListResponse>;
|
|
1602
|
+
/** Atomically enable alerts for FEED target ids (max 100). */
|
|
1603
|
+
subscribeBatch(params: SubscribeBatchParams): Promise<SubscribeBatchResponse>;
|
|
1634
1604
|
/**
|
|
1635
|
-
* Disable alerts for many
|
|
1636
|
-
*
|
|
1637
|
-
* for ghost rows (deleted targets) because no name resolution happens —
|
|
1638
|
-
* the per-id results report `INVALID_ID` for malformed entries while
|
|
1639
|
-
* valid ones proceed. Safe to re-run: already-gone rows are no-ops.
|
|
1605
|
+
* Disable alerts for many FEED targets by id in one idempotent call (max
|
|
1606
|
+
* 100 ids). The per-id results report `INVALID_ID` for malformed entries.
|
|
1640
1607
|
*/
|
|
1641
1608
|
unsubscribeBatch(params: UnsubscribeBatchParams): Promise<UnsubscribeBatchResponse>;
|
|
1642
1609
|
}
|
|
@@ -1652,11 +1619,9 @@ declare class AlertsResource {
|
|
|
1652
1619
|
follows(params?: FollowsListParams): Promise<FollowsListResponse>;
|
|
1653
1620
|
enableAutomation(params: PushSubscriptionFeedParams): Promise<SubscribeFeedResponse>;
|
|
1654
1621
|
disableAutomation(params: PushSubscriptionFeedParams): Promise<UnsubscribeResponse>;
|
|
1655
|
-
|
|
1656
|
-
disablePlaybook(params: PushSubscriptionPlaybookParams): Promise<UnsubscribeResponse>;
|
|
1622
|
+
enableBatch(params: SubscribeBatchParams): Promise<SubscribeBatchResponse>;
|
|
1657
1623
|
disableBatch(params: UnsubscribeBatchParams): Promise<UnsubscribeBatchResponse>;
|
|
1658
1624
|
historyAutomation(params: NotificationListParams): Promise<FeedNotificationListResponse>;
|
|
1659
|
-
historyPlaybook(params: NotificationListParams): Promise<PlaybookNotificationListResponse>;
|
|
1660
1625
|
preferences(): Promise<NotificationPreferencesResponse>;
|
|
1661
1626
|
updatePreference(params: NotificationPreferenceUpdateParams): Promise<NotificationPreferenceUpdateResponse>;
|
|
1662
1627
|
}
|
|
@@ -1665,7 +1630,7 @@ declare class AlertsResource {
|
|
|
1665
1630
|
* Group push subscriptions for an external channel session.
|
|
1666
1631
|
*
|
|
1667
1632
|
* These APIs subscribe the Telegram/Discord group attached to `session_id`
|
|
1668
|
-
* to public feed
|
|
1633
|
+
* to public feed push events. Mutations are idempotent no-ops unless
|
|
1669
1634
|
* the authenticated caller is that group's Alva admin.
|
|
1670
1635
|
*/
|
|
1671
1636
|
declare class ChannelGroupSubscriptionsResource {
|
|
@@ -2033,4 +1998,4 @@ declare const installPlaybookRuntime: (targetWindow?: Window) => void;
|
|
|
2033
1998
|
/** SDK version, injected at build time from package.json. */
|
|
2034
1999
|
declare const VERSION: string;
|
|
2035
2000
|
|
|
2036
|
-
export { AlertsResource, AlvaClient, type AlvaClientConfig, AlvaError, 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 CreateAllowanceParams, type CreateAllowanceResponse, 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 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 NotificationPreference, type NotificationPreferenceKey, type NotificationPreferenceUpdateParams, type NotificationPreferenceUpdateResponse, type NotificationPreferencesResponse, PBSV_UPDATE_MESSAGE, type PlaybookFunction, type PlaybookSkillFile, type PlaybookSkillFileMeta, type PlaybookSkillMeta, type PlaybookSkillSummary, type PlaybookSkillTagEntry, type RegisterFunctionParams, type RegisterFunctionResponse, type RevokeAllowanceParams, type RevokeAllowanceResponse, SUBSCRIBE_PROPOSE_MESSAGE, SUBSCRIBE_RESULT_MESSAGE, type SkillDoc, type SkillEndpointMetadata, type SkillEndpointTier, type SkillMetadata, type SkillSummary, type SubmitFeedbackRequest, type SubmitFeedbackResponse, type SubscribeApi, type SubscribeProposalInput, type SubscribeProposalResult, 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, VERSION, getViewerToken, installPlaybookRuntime, mapUdfErrorResponse, playbookIdFromToken, subscribe, udf };
|
|
2001
|
+
export { AlertsResource, AlvaClient, type AlvaClientConfig, AlvaError, 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 CreateAllowanceParams, type CreateAllowanceResponse, 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 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 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 RegisterFunctionParams, type RegisterFunctionResponse, type RevokeAllowanceParams, type RevokeAllowanceResponse, SUBSCRIBE_PROPOSE_MESSAGE, SUBSCRIBE_RESULT_MESSAGE, type SkillDoc, type SkillEndpointMetadata, type SkillEndpointTier, type SkillMetadata, type SkillSummary, type SubmitFeedbackRequest, type SubmitFeedbackResponse, type SubscribeApi, type SubscribeBatchParams, type SubscribeBatchResponse, type SubscribeProposalInput, type SubscribeProposalResult, 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, VERSION, getViewerToken, installPlaybookRuntime, mapUdfErrorResponse, playbookIdFromToken, subscribe, udf };
|