@herd-labs/sdk 0.5.3 → 0.6.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/dist/index.d.ts +3 -3
- package/dist/index.js +3 -3
- package/dist/src/live/AdaptersServiceLive.d.ts +2 -2
- package/dist/src/live/AgentSafesServiceLive.d.ts +2 -2
- package/dist/src/live/AgentWalletsServiceLive.d.ts +2 -2
- package/dist/src/live/AgentWorkflowsServiceLive.d.ts +2 -2
- package/dist/src/live/AgentWorkflowsServiceLive.js +10 -4
- package/dist/src/live/AuthServiceLive.d.ts +2 -2
- package/dist/src/live/BookmarksServiceLive.d.ts +2 -2
- package/dist/src/live/CodeBlocksServiceLive.d.ts +2 -2
- package/dist/src/live/CollectionsServiceLive.d.ts +2 -2
- package/dist/src/live/ContractsServiceLive.d.ts +2 -2
- package/dist/src/live/DocsServiceLive.d.ts +2 -2
- package/dist/src/live/DoubleClickServiceLive.d.ts +2 -2
- package/dist/src/live/GroupsServiceLive.d.ts +2 -2
- package/dist/src/live/HalServiceLive.d.ts +2 -2
- package/dist/src/live/TransactionsServiceLive.d.ts +2 -2
- package/dist/src/live/WalletsServiceLive.d.ts +2 -2
- package/dist/src/schemas/agent-workflows.d.ts +117 -8
- package/dist/src/schemas/agent-workflows.js +45 -4
- package/dist/src/schemas/groups.d.ts +28 -1
- package/dist/src/schemas/groups.js +13 -3
- package/dist/src/services/AgentWorkflowsService.d.ts +3 -2
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -10,8 +10,8 @@ import { CodeBlockCode, CodeBlockCodeSchema, CodeBlockDefinition, CodeBlockDefin
|
|
|
10
10
|
import { Collection, CollectionSchema, CollectionSpec, CollectionSpecItem, CollectionSpecItemSchema, CollectionSpecSchema, CollectionVersion, CollectionVersionSchema, CollectionsSearchParams, CollectionsSearchParamsSchema, CollectionsSearchResponse, CollectionsSearchResponseSchema, CreateCollectionParams, CreateCollectionParamsSchema, CreateCollectionResponse, CreateCollectionResponseSchema, UpdateCollectionParams, UpdateCollectionParamsSchema } from "./src/schemas/collections.js";
|
|
11
11
|
import { AddressDetails, AddressDetailsSchema, ContractCodeMatchBlock, ContractCodeMatchBlockSchema, ContractCodeSearchResult, ContractCodeSearchResultSchema, ContractDiff, ContractDiffSchema, ContractMetadata, ContractMetadataSchema, DiffEntry, DiffEntrySchema, DiffVersionInfo, DiffVersionInfoSchema, DiffVersionsParams, DiffVersionsParamsSchema, EventSummary, EventSummarySchema, FunctionSummary, FunctionSummarySchema, GetContractCodeParams, GetContractCodeParamsSchema, GetContractCodeResponse, GetContractCodeResponseSchema, HistoricalImplementation, HistoricalImplementationSchema, TokenDetails, TokenDetailsSchema, TokenImage, TokenImageSchema, TopHolder, TopHolderSchema } from "./src/schemas/contracts.js";
|
|
12
12
|
import { DocContent, DocContentSchema, DocEntry, DocEntrySchema } from "./src/schemas/docs.js";
|
|
13
|
-
import { CreateGroupParams, CreateGroupParamsSchema, CreateGroupResponse, CreateGroupResponseSchema, EditGroupMetadataParams, EditGroupMetadataParamsSchema, EditGroupMetadataResponse, EditGroupMetadataResponseSchema, GroupDetails, GroupDetailsSchema, GroupIdParams, GroupIdParamsSchema, GroupMember, GroupMemberSchema, GroupSummary, GroupSummarySchema, GroupWallet, GroupWalletSchema, ListGroupsResponse, ListGroupsResponseSchema, ProposalResponse, ProposalResponseSchema, ProposeMemberChangeParams, ProposeMemberChangeParamsSchema, ProposeQuorumChangeParams, ProposeQuorumChangeParamsSchema } from "./src/schemas/groups.js";
|
|
14
|
-
import { AgentWorkflow, AgentWorkflowDecision, AgentWorkflowDecisionSchema, AgentWorkflowRun, AgentWorkflowRunSchema, AgentWorkflowSchema, AgentWorkflowWithRuns, AgentWorkflowWithRunsSchema, CreateAgentWorkflowParams, CreateAgentWorkflowParamsSchema, CreateAgentWorkflowResponse, CreateAgentWorkflowResponseSchema, CreateAgentWorkflowRunParams, CreateAgentWorkflowRunParamsSchema, CreateAgentWorkflowRunResponse, CreateAgentWorkflowRunResponseSchema, ExecuteSafeTxParams, ExecuteSafeTxParamsSchema, ExecuteSafeTxResponse, ExecuteSafeTxResponseSchema, GetAgentWorkflowParams, GetAgentWorkflowParamsSchema,
|
|
13
|
+
import { CreateGroupParams, CreateGroupParamsSchema, CreateGroupResponse, CreateGroupResponseSchema, EditGroupMetadataParams, EditGroupMetadataParamsSchema, EditGroupMetadataResponse, EditGroupMetadataResponseSchema, GroupDetails, GroupDetailsSchema, GroupIdParams, GroupIdParamsSchema, GroupMember, GroupMemberSchema, GroupSummary, GroupSummarySchema, GroupWallet, GroupWalletSafe, GroupWalletSafeSchema, GroupWalletSchema, ListGroupsResponse, ListGroupsResponseSchema, ProposalResponse, ProposalResponseSchema, ProposeMemberChangeParams, ProposeMemberChangeParamsSchema, ProposeQuorumChangeParams, ProposeQuorumChangeParamsSchema } from "./src/schemas/groups.js";
|
|
14
|
+
import { AgentWorkflow, AgentWorkflowDecision, AgentWorkflowDecisionSchema, AgentWorkflowListItem, AgentWorkflowListItemSchema, AgentWorkflowRun, AgentWorkflowRunSchema, AgentWorkflowSchema, AgentWorkflowWithRuns, AgentWorkflowWithRunsSchema, CreateAgentWorkflowParams, CreateAgentWorkflowParamsSchema, CreateAgentWorkflowResponse, CreateAgentWorkflowResponseSchema, CreateAgentWorkflowRunParams, CreateAgentWorkflowRunParamsSchema, CreateAgentWorkflowRunResponse, CreateAgentWorkflowRunResponseSchema, ExecuteSafeTxParams, ExecuteSafeTxParamsSchema, ExecuteSafeTxResponse, ExecuteSafeTxResponseSchema, GetAgentWorkflowParams, GetAgentWorkflowParamsSchema, ListAgentWorkflowRunsPageParams, ListAgentWorkflowRunsPageParamsSchema, ListAgentWorkflowRunsPageResponse, ListAgentWorkflowRunsPageResponseSchema, ListAgentWorkflowsPageParams, ListAgentWorkflowsPageParamsSchema, ListAgentWorkflowsPageResponse, ListAgentWorkflowsPageResponseSchema, PushAgentWorkflowParams, PushAgentWorkflowParamsSchema, PushAgentWorkflowResponse, PushAgentWorkflowResponseSchema, SubmitAgentWorkflowDecisionParams, SubmitAgentWorkflowDecisionParamsSchema, SubmitAgentWorkflowDecisionResponse, SubmitAgentWorkflowDecisionResponseSchema } from "./src/schemas/agent-workflows.js";
|
|
15
15
|
import { EvaluateExistingParams, EvaluateExistingParamsSchema, EvaluateExistingResponse, EvaluateExistingResponseSchema, EvaluateParams, EvaluateParamsSchema, EvaluateResponse, EvaluateResponseSchema, TransactionStatus, TransactionStatusSchema } from "./src/schemas/hal.js";
|
|
16
16
|
import { DecodedTrace, LatestEventTransactions, LatestEventTransactionsSchema, LatestFunctionTransactions, LatestFunctionTransactionsSchema, LatestTxParams, LatestTxParamsSchema, Transaction, TransactionQueryResponse, TransactionQueryResponseSchema, TransactionSchema } from "./src/schemas/transactions.js";
|
|
17
17
|
import { DeployedContract, DeployedContractSchema, DeployedContracts, DeployedContractsPagination, DeployedContractsPaginationSchema, DeployedContractsSchema, Erc7702Delegation, Erc7702DelegationSchema, MultisigDetails, MultisigDetailsSchema, MultisigSigner, MultisigSignerSchema, PendingTransaction, PendingTransactionSchema, TokenActivity, TokenActivityPagination, TokenActivityPaginationSchema, TokenActivityParams, TokenActivityParamsSchema, TokenActivitySchema, TokenBalanceInfo, TokenBalanceInfoSchema, TokenTransfer, TokenTransferSchema, TransactionActivity, TransactionActivityPagination, TransactionActivityPaginationSchema, TransactionActivityQuery, TransactionActivityQuerySchema, TransactionActivitySchema, WalletBalance, WalletBalanceSchema, WalletOverview, WalletOverviewSchema, WalletTransaction, WalletTransactionSchema, WalletTxActionExecution, WalletTxActionExecutionSchema, WalletTxBalanceChange, WalletTxBalanceChangeSchema, WalletTxCall, WalletTxCallSchema, WalletTxTransfer, WalletTxTransferSchema } from "./src/schemas/wallets.js";
|
|
@@ -48,4 +48,4 @@ import { GroupsServiceLive } from "./src/live/GroupsServiceLive.js";
|
|
|
48
48
|
import { HalServiceLive } from "./src/live/HalServiceLive.js";
|
|
49
49
|
import { TransactionsServiceLive } from "./src/live/TransactionsServiceLive.js";
|
|
50
50
|
import { WalletsServiceLive } from "./src/live/WalletsServiceLive.js";
|
|
51
|
-
export { type AccountingCheckNodesParams, type AccountingCheckParams, type Action, type ActionExpression, ActionExpressionSchema, ActionNotFoundError, ActionSchema, type ActionVersion, ActionVersionSchema, type ActionVersionsResponse, ActionVersionsResponseSchema, type ActionsSearchParams, ActionsSearchParamsSchema, type ActionsSearchResponse, ActionsSearchResponseSchema, ActionsService, ActionsServiceLive, AdaptersService, AdaptersServiceLive, type AddContractBookmarkParams, AddContractBookmarkParamsSchema, type AddIssuerTokenParams, type AddSlotParams, type AddTransactionBookmarkParams, AddTransactionBookmarkParamsSchema, type AddWalletBookmarkParams, AddWalletBookmarkParamsSchema, type AddressDetails, AddressDetailsSchema, type AgentSafe, type AgentSafeMetadata, AgentSafeMetadataSchema, AgentSafeSchema, AgentSafesService, AgentSafesServiceLive, type AgentWallet, type AgentWalletSafe, AgentWalletSafeSchema, type AgentWalletSafesList, AgentWalletSafesListSchema, AgentWalletSchema, type AgentWalletsList, type AgentWalletsListParams, AgentWalletsListParamsSchema, AgentWalletsListSchema, AgentWalletsService, AgentWalletsServiceLive, type AgentWorkflow, type AgentWorkflowDecision, AgentWorkflowDecisionSchema, AgentWorkflowNotFoundError, type AgentWorkflowRun, AgentWorkflowRunNotFoundError, AgentWorkflowRunSchema, AgentWorkflowSchema, type AgentWorkflowWithRuns, AgentWorkflowWithRunsSchema, AgentWorkflowsService, AgentWorkflowsServiceLive, type ApiKey, type ApiKeyListResponse, ApiKeyListResponseSchema, ApiKeySchema, AuthError, AuthService, AuthServiceLive, type Blockchain, BlockchainSchema, type BookmarkObjectType, BookmarkObjectTypeSchema, type BookmarkResponse, BookmarkResponseSchema, type BookmarksList, BookmarksListSchema, BookmarksService, BookmarksServiceLive, type BulkVersionReviewParams, type ChainAddressParams, type CodeBlockCode, CodeBlockCodeSchema, type CodeBlockDefinition, CodeBlockDefinitionSchema, type CodeBlockExecuteResponse, CodeBlockExecuteResponseSchema, type CodeBlockLogEntry, CodeBlockLogEntrySchema, CodeBlockNotFoundError, type CodeBlockVersion, CodeBlockVersionSchema, type CodeBlocksSearchParams, CodeBlocksSearchParamsSchema, type CodeBlocksSearchResponse, CodeBlocksSearchResponseSchema, CodeBlocksService, CodeBlocksServiceLive, type Collection, CollectionNotFoundError, CollectionSchema, type CollectionSpec, type CollectionSpecItem, CollectionSpecItemSchema, CollectionSpecSchema, type CollectionVersion, CollectionVersionSchema, type CollectionsSearchParams, CollectionsSearchParamsSchema, type CollectionsSearchResponse, CollectionsSearchResponseSchema, CollectionsService, CollectionsServiceLive, type ContractBookmark, ContractBookmarkSchema, type ContractCodeMatchBlock, ContractCodeMatchBlockSchema, type ContractCodeSearchResult, ContractCodeSearchResultSchema, type ContractDiff, ContractDiffSchema, type ContractMetadata, ContractMetadataSchema, ContractsService, ContractsServiceLive, type ConvertSlotToFixedParams, type CreateActionParams, CreateActionParamsSchema, type CreateActionResponse, CreateActionResponseSchema, type CreateAdapterParams, CreateAdapterParamsSchema, type CreateAgentWorkflowParams, CreateAgentWorkflowParamsSchema, type CreateAgentWorkflowResponse, CreateAgentWorkflowResponseSchema, type CreateAgentWorkflowRunParams, CreateAgentWorkflowRunParamsSchema, type CreateAgentWorkflowRunResponse, CreateAgentWorkflowRunResponseSchema, type CreateApiKeyParams, CreateApiKeyParamsSchema, type CreateCodeBlockParams, CreateCodeBlockParamsSchema, type CreateCodeBlockResponse, CreateCodeBlockResponseSchema, type CreateCodeVersionParams, CreateCodeVersionParamsSchema, type CreateCodeVersionResponse, CreateCodeVersionResponseSchema, type CreateCollectionParams, CreateCollectionParamsSchema, type CreateCollectionResponse, CreateCollectionResponseSchema, type CreateGroupParams, CreateGroupParamsSchema, type CreateGroupResponse, CreateGroupResponseSchema, type CreateIssuerParams, type CreateParamQueryParams, type CreatedApiKey, CreatedApiKeySchema, type DecodedTrace, type DeleteApiKeyParams, DeleteApiKeyParamsSchema, type DeleteBookmarkParams, DeleteBookmarkParamsSchema, type DeployedContract, DeployedContractSchema, type DeployedContracts, type DeployedContractsPagination, DeployedContractsPaginationSchema, DeployedContractsSchema, type DiffEntry, DiffEntrySchema, type DiffVersionInfo, DiffVersionInfoSchema, type DiffVersionsParams, DiffVersionsParamsSchema, type DirectionalTraversalParams, type DocContent, DocContentSchema, type DocEntry, DocEntrySchema, DocNotFoundError, DocsService, DocsServiceLive, type DoubleClickJsonResponse, DoubleClickJsonResponseSchema, DoubleClickService, DoubleClickServiceLive, type EditAgentSafeMetadataParams, EditAgentSafeMetadataParamsSchema, type EditGroupMetadataParams, EditGroupMetadataParamsSchema, type EditGroupMetadataResponse, EditGroupMetadataResponseSchema, type Erc7702Delegation, Erc7702DelegationSchema, type EvaluateExistingParams, EvaluateExistingParamsSchema, type EvaluateExistingResponse, EvaluateExistingResponseSchema, type EvaluateParams, EvaluateParamsSchema, type EvaluateResponse, EvaluateResponseSchema, type EventSummary, EventSummarySchema, type EvmAddress, EvmAddressSchema, type ExecuteCodeBlockParams, ExecuteCodeBlockParamsSchema, type ExecuteManyParamQueriesParams, type ExecuteParamQueryParams, type ExecuteSafeTxParams, ExecuteSafeTxParamsSchema, type ExecuteSafeTxResponse, ExecuteSafeTxResponseSchema, type FeatureFlags, FeatureFlagsSchema, type FunctionSummary, FunctionSummarySchema, type GetActionVersionsParams, GetActionVersionsParamsSchema, type GetAgentWorkflowParams, GetAgentWorkflowParamsSchema, type GetContractCodeParams, GetContractCodeParamsSchema, type GetContractCodeResponse, GetContractCodeResponseSchema, type GetNodeByIdentityParams, type GetNodeParams, type GraphVersionTarget, GraphVersionTargetSchema, type GroupDetails, GroupDetailsSchema, type GroupIdParams, GroupIdParamsSchema, type GroupMember, GroupMemberSchema, GroupNotFoundError, type GroupSummary, GroupSummarySchema, type GroupWallet, GroupWalletSchema, GroupsService, GroupsServiceLive, HalService, HalServiceLive, type HerdConfig, HerdConfigSchema, HerdConfigService, type HistoricalImplementation, HistoricalImplementationSchema, type IncludeDraftsParams, type IntegrityCheckKey, IntegrityCheckKeySchema, type IntegrityCheckParams, type IssuerTokensParams, type LatestEventTransactions, LatestEventTransactionsSchema, type LatestFunctionTransactions, LatestFunctionTransactionsSchema, type LatestTxParams, LatestTxParamsSchema, type LinkedAgentWallet, LinkedAgentWalletSchema, type ListAgentWorkflowsParams, ListAgentWorkflowsParamsSchema, type ListAgentWorkflowsResponse, ListAgentWorkflowsResponseSchema, type ListCuratedTokensParams, type ListGroupsResponse, ListGroupsResponseSchema, type ListResearchRunsParams, type LogoBatchParams, type MarkResearchRunFailedParams, type MultisigDetails, MultisigDetailsSchema, type MultisigSigner, MultisigSignerSchema, type NodeReadParams, type OptionalSlotMethodologyParams, type PaginationParams, PaginationParamsSchema, type ParamQueryOutputType, ParamQueryOutputTypeSchema, type PendingTransaction, PendingTransactionSchema, type ProposalResponse, ProposalResponseSchema, type ProposeMemberChangeParams, ProposeMemberChangeParamsSchema, type ProposeQuorumChangeParams, ProposeQuorumChangeParamsSchema, type PublishCodeBlockResponse, PublishCodeBlockResponseSchema, type PublishCodeParams, PublishCodeParamsSchema, type PublishExpressionParams, PublishExpressionParamsSchema, type PublishExpressionResponse, PublishExpressionResponseSchema, type PushAgentWorkflowParams, PushAgentWorkflowParamsSchema, type PushAgentWorkflowResponse, PushAgentWorkflowResponseSchema, type RefreshAllTokensParams, type RefreshSingleTokenParams, type RefreshStaleSlotsForExpansionParams, type RefreshStaleSlotsForNodeParams, type RegisterTokenParams, type RelatedAdapterItem, RelatedAdapterItemSchema, type RelatedAdaptersContract, RelatedAdaptersContractSchema, type RelatedAdaptersFunctionSignature, RelatedAdaptersFunctionSignatureSchema, type RelatedAdaptersResponse, RelatedAdaptersResponseSchema, type RelatedAdaptersSearchParams, RelatedAdaptersSearchParamsSchema, ServiceError, type SetCuratedParams, type SetLogoParams, type SetPrimaryTokenParams, type SetSafeProposerParams, SetSafeProposerParamsSchema, type SetSafeProposerResponse, SetSafeProposerResponseSchema, SimulationError, type SlotMethodologyParams, type SlotPathParams, type SlotTargetType, SlotTargetTypeSchema, type StartResearchRunParams, type SubmitAgentWorkflowDecisionParams, SubmitAgentWorkflowDecisionParamsSchema, type SubmitAgentWorkflowDecisionResponse, SubmitAgentWorkflowDecisionResponseSchema, type SubmitResearchGraphParams, type TokenActivity, type TokenActivityPagination, TokenActivityPaginationSchema, type TokenActivityParams, TokenActivityParamsSchema, TokenActivitySchema, type TokenBalanceInfo, TokenBalanceInfoSchema, type TokenDetails, TokenDetailsSchema, type TokenImage, TokenImageSchema, type TokenResponse, TokenResponseSchema, type TokenTransfer, TokenTransferSchema, type TopHolder, TopHolderSchema, type Transaction, type TransactionActivity, type TransactionActivityPagination, TransactionActivityPaginationSchema, type TransactionActivityQuery, TransactionActivityQuerySchema, TransactionActivitySchema, type TransactionBookmark, TransactionBookmarkSchema, TransactionNotFoundError, type TransactionQueryResponse, TransactionQueryResponseSchema, TransactionSchema, type TransactionStatus, TransactionStatusSchema, TransactionsService, TransactionsServiceLive, type TraversalParams, type TraverseDepth, TraverseDepthSchema, type UpdateActionMetadataParams, UpdateActionMetadataParamsSchema, type UpdateBookmarkLabelParams, UpdateBookmarkLabelParamsSchema, type UpdateCodeBlockMetadataParams, UpdateCodeBlockMetadataParamsSchema, type UpdateCodeParams, UpdateCodeParamsSchema, type UpdateCollectionParams, UpdateCollectionParamsSchema, type UpdateExpressionParams, UpdateExpressionParamsSchema, type UpdateIssuerParams, type UpsertSideMetricsParams, type VersionReviewParams, type WalletBalance, WalletBalanceSchema, type WalletBookmark, WalletBookmarkSchema, type WalletOverview, WalletOverviewSchema, type WalletTransaction, WalletTransactionSchema, type WalletTxActionExecution, WalletTxActionExecutionSchema, type WalletTxBalanceChange, WalletTxBalanceChangeSchema, type WalletTxCall, WalletTxCallSchema, type WalletTxTransfer, WalletTxTransferSchema, WalletsService, WalletsServiceLive, type WhoamiResponse, WhoamiResponseSchema };
|
|
51
|
+
export { type AccountingCheckNodesParams, type AccountingCheckParams, type Action, type ActionExpression, ActionExpressionSchema, ActionNotFoundError, ActionSchema, type ActionVersion, ActionVersionSchema, type ActionVersionsResponse, ActionVersionsResponseSchema, type ActionsSearchParams, ActionsSearchParamsSchema, type ActionsSearchResponse, ActionsSearchResponseSchema, ActionsService, ActionsServiceLive, AdaptersService, AdaptersServiceLive, type AddContractBookmarkParams, AddContractBookmarkParamsSchema, type AddIssuerTokenParams, type AddSlotParams, type AddTransactionBookmarkParams, AddTransactionBookmarkParamsSchema, type AddWalletBookmarkParams, AddWalletBookmarkParamsSchema, type AddressDetails, AddressDetailsSchema, type AgentSafe, type AgentSafeMetadata, AgentSafeMetadataSchema, AgentSafeSchema, AgentSafesService, AgentSafesServiceLive, type AgentWallet, type AgentWalletSafe, AgentWalletSafeSchema, type AgentWalletSafesList, AgentWalletSafesListSchema, AgentWalletSchema, type AgentWalletsList, type AgentWalletsListParams, AgentWalletsListParamsSchema, AgentWalletsListSchema, AgentWalletsService, AgentWalletsServiceLive, type AgentWorkflow, type AgentWorkflowDecision, AgentWorkflowDecisionSchema, type AgentWorkflowListItem, AgentWorkflowListItemSchema, AgentWorkflowNotFoundError, type AgentWorkflowRun, AgentWorkflowRunNotFoundError, AgentWorkflowRunSchema, AgentWorkflowSchema, type AgentWorkflowWithRuns, AgentWorkflowWithRunsSchema, AgentWorkflowsService, AgentWorkflowsServiceLive, type ApiKey, type ApiKeyListResponse, ApiKeyListResponseSchema, ApiKeySchema, AuthError, AuthService, AuthServiceLive, type Blockchain, BlockchainSchema, type BookmarkObjectType, BookmarkObjectTypeSchema, type BookmarkResponse, BookmarkResponseSchema, type BookmarksList, BookmarksListSchema, BookmarksService, BookmarksServiceLive, type BulkVersionReviewParams, type ChainAddressParams, type CodeBlockCode, CodeBlockCodeSchema, type CodeBlockDefinition, CodeBlockDefinitionSchema, type CodeBlockExecuteResponse, CodeBlockExecuteResponseSchema, type CodeBlockLogEntry, CodeBlockLogEntrySchema, CodeBlockNotFoundError, type CodeBlockVersion, CodeBlockVersionSchema, type CodeBlocksSearchParams, CodeBlocksSearchParamsSchema, type CodeBlocksSearchResponse, CodeBlocksSearchResponseSchema, CodeBlocksService, CodeBlocksServiceLive, type Collection, CollectionNotFoundError, CollectionSchema, type CollectionSpec, type CollectionSpecItem, CollectionSpecItemSchema, CollectionSpecSchema, type CollectionVersion, CollectionVersionSchema, type CollectionsSearchParams, CollectionsSearchParamsSchema, type CollectionsSearchResponse, CollectionsSearchResponseSchema, CollectionsService, CollectionsServiceLive, type ContractBookmark, ContractBookmarkSchema, type ContractCodeMatchBlock, ContractCodeMatchBlockSchema, type ContractCodeSearchResult, ContractCodeSearchResultSchema, type ContractDiff, ContractDiffSchema, type ContractMetadata, ContractMetadataSchema, ContractsService, ContractsServiceLive, type ConvertSlotToFixedParams, type CreateActionParams, CreateActionParamsSchema, type CreateActionResponse, CreateActionResponseSchema, type CreateAdapterParams, CreateAdapterParamsSchema, type CreateAgentWorkflowParams, CreateAgentWorkflowParamsSchema, type CreateAgentWorkflowResponse, CreateAgentWorkflowResponseSchema, type CreateAgentWorkflowRunParams, CreateAgentWorkflowRunParamsSchema, type CreateAgentWorkflowRunResponse, CreateAgentWorkflowRunResponseSchema, type CreateApiKeyParams, CreateApiKeyParamsSchema, type CreateCodeBlockParams, CreateCodeBlockParamsSchema, type CreateCodeBlockResponse, CreateCodeBlockResponseSchema, type CreateCodeVersionParams, CreateCodeVersionParamsSchema, type CreateCodeVersionResponse, CreateCodeVersionResponseSchema, type CreateCollectionParams, CreateCollectionParamsSchema, type CreateCollectionResponse, CreateCollectionResponseSchema, type CreateGroupParams, CreateGroupParamsSchema, type CreateGroupResponse, CreateGroupResponseSchema, type CreateIssuerParams, type CreateParamQueryParams, type CreatedApiKey, CreatedApiKeySchema, type DecodedTrace, type DeleteApiKeyParams, DeleteApiKeyParamsSchema, type DeleteBookmarkParams, DeleteBookmarkParamsSchema, type DeployedContract, DeployedContractSchema, type DeployedContracts, type DeployedContractsPagination, DeployedContractsPaginationSchema, DeployedContractsSchema, type DiffEntry, DiffEntrySchema, type DiffVersionInfo, DiffVersionInfoSchema, type DiffVersionsParams, DiffVersionsParamsSchema, type DirectionalTraversalParams, type DocContent, DocContentSchema, type DocEntry, DocEntrySchema, DocNotFoundError, DocsService, DocsServiceLive, type DoubleClickJsonResponse, DoubleClickJsonResponseSchema, DoubleClickService, DoubleClickServiceLive, type EditAgentSafeMetadataParams, EditAgentSafeMetadataParamsSchema, type EditGroupMetadataParams, EditGroupMetadataParamsSchema, type EditGroupMetadataResponse, EditGroupMetadataResponseSchema, type Erc7702Delegation, Erc7702DelegationSchema, type EvaluateExistingParams, EvaluateExistingParamsSchema, type EvaluateExistingResponse, EvaluateExistingResponseSchema, type EvaluateParams, EvaluateParamsSchema, type EvaluateResponse, EvaluateResponseSchema, type EventSummary, EventSummarySchema, type EvmAddress, EvmAddressSchema, type ExecuteCodeBlockParams, ExecuteCodeBlockParamsSchema, type ExecuteManyParamQueriesParams, type ExecuteParamQueryParams, type ExecuteSafeTxParams, ExecuteSafeTxParamsSchema, type ExecuteSafeTxResponse, ExecuteSafeTxResponseSchema, type FeatureFlags, FeatureFlagsSchema, type FunctionSummary, FunctionSummarySchema, type GetActionVersionsParams, GetActionVersionsParamsSchema, type GetAgentWorkflowParams, GetAgentWorkflowParamsSchema, type GetContractCodeParams, GetContractCodeParamsSchema, type GetContractCodeResponse, GetContractCodeResponseSchema, type GetNodeByIdentityParams, type GetNodeParams, type GraphVersionTarget, GraphVersionTargetSchema, type GroupDetails, GroupDetailsSchema, type GroupIdParams, GroupIdParamsSchema, type GroupMember, GroupMemberSchema, GroupNotFoundError, type GroupSummary, GroupSummarySchema, type GroupWallet, type GroupWalletSafe, GroupWalletSafeSchema, GroupWalletSchema, GroupsService, GroupsServiceLive, HalService, HalServiceLive, type HerdConfig, HerdConfigSchema, HerdConfigService, type HistoricalImplementation, HistoricalImplementationSchema, type IncludeDraftsParams, type IntegrityCheckKey, IntegrityCheckKeySchema, type IntegrityCheckParams, type IssuerTokensParams, type LatestEventTransactions, LatestEventTransactionsSchema, type LatestFunctionTransactions, LatestFunctionTransactionsSchema, type LatestTxParams, LatestTxParamsSchema, type LinkedAgentWallet, LinkedAgentWalletSchema, type ListAgentWorkflowRunsPageParams, ListAgentWorkflowRunsPageParamsSchema, type ListAgentWorkflowRunsPageResponse, ListAgentWorkflowRunsPageResponseSchema, type ListAgentWorkflowsPageParams, ListAgentWorkflowsPageParamsSchema, type ListAgentWorkflowsPageResponse, ListAgentWorkflowsPageResponseSchema, type ListCuratedTokensParams, type ListGroupsResponse, ListGroupsResponseSchema, type ListResearchRunsParams, type LogoBatchParams, type MarkResearchRunFailedParams, type MultisigDetails, MultisigDetailsSchema, type MultisigSigner, MultisigSignerSchema, type NodeReadParams, type OptionalSlotMethodologyParams, type PaginationParams, PaginationParamsSchema, type ParamQueryOutputType, ParamQueryOutputTypeSchema, type PendingTransaction, PendingTransactionSchema, type ProposalResponse, ProposalResponseSchema, type ProposeMemberChangeParams, ProposeMemberChangeParamsSchema, type ProposeQuorumChangeParams, ProposeQuorumChangeParamsSchema, type PublishCodeBlockResponse, PublishCodeBlockResponseSchema, type PublishCodeParams, PublishCodeParamsSchema, type PublishExpressionParams, PublishExpressionParamsSchema, type PublishExpressionResponse, PublishExpressionResponseSchema, type PushAgentWorkflowParams, PushAgentWorkflowParamsSchema, type PushAgentWorkflowResponse, PushAgentWorkflowResponseSchema, type RefreshAllTokensParams, type RefreshSingleTokenParams, type RefreshStaleSlotsForExpansionParams, type RefreshStaleSlotsForNodeParams, type RegisterTokenParams, type RelatedAdapterItem, RelatedAdapterItemSchema, type RelatedAdaptersContract, RelatedAdaptersContractSchema, type RelatedAdaptersFunctionSignature, RelatedAdaptersFunctionSignatureSchema, type RelatedAdaptersResponse, RelatedAdaptersResponseSchema, type RelatedAdaptersSearchParams, RelatedAdaptersSearchParamsSchema, ServiceError, type SetCuratedParams, type SetLogoParams, type SetPrimaryTokenParams, type SetSafeProposerParams, SetSafeProposerParamsSchema, type SetSafeProposerResponse, SetSafeProposerResponseSchema, SimulationError, type SlotMethodologyParams, type SlotPathParams, type SlotTargetType, SlotTargetTypeSchema, type StartResearchRunParams, type SubmitAgentWorkflowDecisionParams, SubmitAgentWorkflowDecisionParamsSchema, type SubmitAgentWorkflowDecisionResponse, SubmitAgentWorkflowDecisionResponseSchema, type SubmitResearchGraphParams, type TokenActivity, type TokenActivityPagination, TokenActivityPaginationSchema, type TokenActivityParams, TokenActivityParamsSchema, TokenActivitySchema, type TokenBalanceInfo, TokenBalanceInfoSchema, type TokenDetails, TokenDetailsSchema, type TokenImage, TokenImageSchema, type TokenResponse, TokenResponseSchema, type TokenTransfer, TokenTransferSchema, type TopHolder, TopHolderSchema, type Transaction, type TransactionActivity, type TransactionActivityPagination, TransactionActivityPaginationSchema, type TransactionActivityQuery, TransactionActivityQuerySchema, TransactionActivitySchema, type TransactionBookmark, TransactionBookmarkSchema, TransactionNotFoundError, type TransactionQueryResponse, TransactionQueryResponseSchema, TransactionSchema, type TransactionStatus, TransactionStatusSchema, TransactionsService, TransactionsServiceLive, type TraversalParams, type TraverseDepth, TraverseDepthSchema, type UpdateActionMetadataParams, UpdateActionMetadataParamsSchema, type UpdateBookmarkLabelParams, UpdateBookmarkLabelParamsSchema, type UpdateCodeBlockMetadataParams, UpdateCodeBlockMetadataParamsSchema, type UpdateCodeParams, UpdateCodeParamsSchema, type UpdateCollectionParams, UpdateCollectionParamsSchema, type UpdateExpressionParams, UpdateExpressionParamsSchema, type UpdateIssuerParams, type UpsertSideMetricsParams, type VersionReviewParams, type WalletBalance, WalletBalanceSchema, type WalletBookmark, WalletBookmarkSchema, type WalletOverview, WalletOverviewSchema, type WalletTransaction, WalletTransactionSchema, type WalletTxActionExecution, WalletTxActionExecutionSchema, type WalletTxBalanceChange, WalletTxBalanceChangeSchema, type WalletTxCall, WalletTxCallSchema, type WalletTxTransfer, WalletTxTransferSchema, WalletsService, WalletsServiceLive, type WhoamiResponse, WhoamiResponseSchema };
|
package/dist/index.js
CHANGED
|
@@ -10,8 +10,8 @@ import { CodeBlockCodeSchema, CodeBlockDefinitionSchema, CodeBlockExecuteRespons
|
|
|
10
10
|
import { CollectionSchema, CollectionSpecItemSchema, CollectionSpecSchema, CollectionVersionSchema, CollectionsSearchParamsSchema, CollectionsSearchResponseSchema, CreateCollectionParamsSchema, CreateCollectionResponseSchema, UpdateCollectionParamsSchema } from "./src/schemas/collections.js";
|
|
11
11
|
import { AddressDetailsSchema, ContractCodeMatchBlockSchema, ContractCodeSearchResultSchema, ContractDiffSchema, ContractMetadataSchema, DiffEntrySchema, DiffVersionInfoSchema, DiffVersionsParamsSchema, EventSummarySchema, FunctionSummarySchema, GetContractCodeParamsSchema, GetContractCodeResponseSchema, HistoricalImplementationSchema, TokenDetailsSchema, TokenImageSchema, TopHolderSchema } from "./src/schemas/contracts.js";
|
|
12
12
|
import { DocContentSchema, DocEntrySchema } from "./src/schemas/docs.js";
|
|
13
|
-
import { CreateGroupParamsSchema, CreateGroupResponseSchema, EditGroupMetadataParamsSchema, EditGroupMetadataResponseSchema, GroupDetailsSchema, GroupIdParamsSchema, GroupMemberSchema, GroupSummarySchema, GroupWalletSchema, ListGroupsResponseSchema, ProposalResponseSchema, ProposeMemberChangeParamsSchema, ProposeQuorumChangeParamsSchema } from "./src/schemas/groups.js";
|
|
14
|
-
import { AgentWorkflowDecisionSchema, AgentWorkflowRunSchema, AgentWorkflowSchema, AgentWorkflowWithRunsSchema, CreateAgentWorkflowParamsSchema, CreateAgentWorkflowResponseSchema, CreateAgentWorkflowRunParamsSchema, CreateAgentWorkflowRunResponseSchema, ExecuteSafeTxParamsSchema, ExecuteSafeTxResponseSchema, GetAgentWorkflowParamsSchema,
|
|
13
|
+
import { CreateGroupParamsSchema, CreateGroupResponseSchema, EditGroupMetadataParamsSchema, EditGroupMetadataResponseSchema, GroupDetailsSchema, GroupIdParamsSchema, GroupMemberSchema, GroupSummarySchema, GroupWalletSafeSchema, GroupWalletSchema, ListGroupsResponseSchema, ProposalResponseSchema, ProposeMemberChangeParamsSchema, ProposeQuorumChangeParamsSchema } from "./src/schemas/groups.js";
|
|
14
|
+
import { AgentWorkflowDecisionSchema, AgentWorkflowListItemSchema, AgentWorkflowRunSchema, AgentWorkflowSchema, AgentWorkflowWithRunsSchema, CreateAgentWorkflowParamsSchema, CreateAgentWorkflowResponseSchema, CreateAgentWorkflowRunParamsSchema, CreateAgentWorkflowRunResponseSchema, ExecuteSafeTxParamsSchema, ExecuteSafeTxResponseSchema, GetAgentWorkflowParamsSchema, ListAgentWorkflowRunsPageParamsSchema, ListAgentWorkflowRunsPageResponseSchema, ListAgentWorkflowsPageParamsSchema, ListAgentWorkflowsPageResponseSchema, PushAgentWorkflowParamsSchema, PushAgentWorkflowResponseSchema, SubmitAgentWorkflowDecisionParamsSchema, SubmitAgentWorkflowDecisionResponseSchema } from "./src/schemas/agent-workflows.js";
|
|
15
15
|
import { EvaluateExistingParamsSchema, EvaluateExistingResponseSchema, EvaluateParamsSchema, EvaluateResponseSchema, TransactionStatusSchema } from "./src/schemas/hal.js";
|
|
16
16
|
import { LatestEventTransactionsSchema, LatestFunctionTransactionsSchema, LatestTxParamsSchema, TransactionQueryResponseSchema, TransactionSchema } from "./src/schemas/transactions.js";
|
|
17
17
|
import { DeployedContractSchema, DeployedContractsPaginationSchema, DeployedContractsSchema, Erc7702DelegationSchema, MultisigDetailsSchema, MultisigSignerSchema, PendingTransactionSchema, TokenActivityPaginationSchema, TokenActivityParamsSchema, TokenActivitySchema, TokenBalanceInfoSchema, TokenTransferSchema, TransactionActivityPaginationSchema, TransactionActivityQuerySchema, TransactionActivitySchema, WalletBalanceSchema, WalletOverviewSchema, WalletTransactionSchema, WalletTxActionExecutionSchema, WalletTxBalanceChangeSchema, WalletTxCallSchema, WalletTxTransferSchema } from "./src/schemas/wallets.js";
|
|
@@ -49,4 +49,4 @@ import { HalServiceLive } from "./src/live/HalServiceLive.js";
|
|
|
49
49
|
import { TransactionsServiceLive } from "./src/live/TransactionsServiceLive.js";
|
|
50
50
|
import { WalletsServiceLive } from "./src/live/WalletsServiceLive.js";
|
|
51
51
|
|
|
52
|
-
export { ActionExpressionSchema, ActionNotFoundError, ActionSchema, ActionVersionSchema, ActionVersionsResponseSchema, ActionsSearchParamsSchema, ActionsSearchResponseSchema, ActionsService, ActionsServiceLive, AdaptersService, AdaptersServiceLive, AddContractBookmarkParamsSchema, AddTransactionBookmarkParamsSchema, AddWalletBookmarkParamsSchema, AddressDetailsSchema, AgentSafeMetadataSchema, AgentSafeSchema, AgentSafesService, AgentSafesServiceLive, AgentWalletSafeSchema, AgentWalletSafesListSchema, AgentWalletSchema, AgentWalletsListParamsSchema, AgentWalletsListSchema, AgentWalletsService, AgentWalletsServiceLive, AgentWorkflowDecisionSchema, AgentWorkflowNotFoundError, AgentWorkflowRunNotFoundError, AgentWorkflowRunSchema, AgentWorkflowSchema, AgentWorkflowWithRunsSchema, AgentWorkflowsService, AgentWorkflowsServiceLive, ApiKeyListResponseSchema, ApiKeySchema, AuthError, AuthService, AuthServiceLive, BlockchainSchema, BookmarkObjectTypeSchema, BookmarkResponseSchema, BookmarksListSchema, BookmarksService, BookmarksServiceLive, CodeBlockCodeSchema, CodeBlockDefinitionSchema, CodeBlockExecuteResponseSchema, CodeBlockLogEntrySchema, CodeBlockNotFoundError, CodeBlockVersionSchema, CodeBlocksSearchParamsSchema, CodeBlocksSearchResponseSchema, CodeBlocksService, CodeBlocksServiceLive, CollectionNotFoundError, CollectionSchema, CollectionSpecItemSchema, CollectionSpecSchema, CollectionVersionSchema, CollectionsSearchParamsSchema, CollectionsSearchResponseSchema, CollectionsService, CollectionsServiceLive, ContractBookmarkSchema, ContractCodeMatchBlockSchema, ContractCodeSearchResultSchema, ContractDiffSchema, ContractMetadataSchema, ContractsService, ContractsServiceLive, CreateActionParamsSchema, CreateActionResponseSchema, CreateAdapterParamsSchema, CreateAgentWorkflowParamsSchema, CreateAgentWorkflowResponseSchema, CreateAgentWorkflowRunParamsSchema, CreateAgentWorkflowRunResponseSchema, CreateApiKeyParamsSchema, CreateCodeBlockParamsSchema, CreateCodeBlockResponseSchema, CreateCodeVersionParamsSchema, CreateCodeVersionResponseSchema, CreateCollectionParamsSchema, CreateCollectionResponseSchema, CreateGroupParamsSchema, CreateGroupResponseSchema, CreatedApiKeySchema, DeleteApiKeyParamsSchema, DeleteBookmarkParamsSchema, DeployedContractSchema, DeployedContractsPaginationSchema, DeployedContractsSchema, DiffEntrySchema, DiffVersionInfoSchema, DiffVersionsParamsSchema, DocContentSchema, DocEntrySchema, DocNotFoundError, DocsService, DocsServiceLive, DoubleClickJsonResponseSchema, DoubleClickService, DoubleClickServiceLive, EditAgentSafeMetadataParamsSchema, EditGroupMetadataParamsSchema, EditGroupMetadataResponseSchema, Erc7702DelegationSchema, EvaluateExistingParamsSchema, EvaluateExistingResponseSchema, EvaluateParamsSchema, EvaluateResponseSchema, EventSummarySchema, EvmAddressSchema, ExecuteCodeBlockParamsSchema, ExecuteSafeTxParamsSchema, ExecuteSafeTxResponseSchema, FeatureFlagsSchema, FunctionSummarySchema, GetActionVersionsParamsSchema, GetAgentWorkflowParamsSchema, GetContractCodeParamsSchema, GetContractCodeResponseSchema, GraphVersionTargetSchema, GroupDetailsSchema, GroupIdParamsSchema, GroupMemberSchema, GroupNotFoundError, GroupSummarySchema, GroupWalletSchema, GroupsService, GroupsServiceLive, HalService, HalServiceLive, HerdConfigSchema, HerdConfigService, HistoricalImplementationSchema, IntegrityCheckKeySchema, LatestEventTransactionsSchema, LatestFunctionTransactionsSchema, LatestTxParamsSchema, LinkedAgentWalletSchema,
|
|
52
|
+
export { ActionExpressionSchema, ActionNotFoundError, ActionSchema, ActionVersionSchema, ActionVersionsResponseSchema, ActionsSearchParamsSchema, ActionsSearchResponseSchema, ActionsService, ActionsServiceLive, AdaptersService, AdaptersServiceLive, AddContractBookmarkParamsSchema, AddTransactionBookmarkParamsSchema, AddWalletBookmarkParamsSchema, AddressDetailsSchema, AgentSafeMetadataSchema, AgentSafeSchema, AgentSafesService, AgentSafesServiceLive, AgentWalletSafeSchema, AgentWalletSafesListSchema, AgentWalletSchema, AgentWalletsListParamsSchema, AgentWalletsListSchema, AgentWalletsService, AgentWalletsServiceLive, AgentWorkflowDecisionSchema, AgentWorkflowListItemSchema, AgentWorkflowNotFoundError, AgentWorkflowRunNotFoundError, AgentWorkflowRunSchema, AgentWorkflowSchema, AgentWorkflowWithRunsSchema, AgentWorkflowsService, AgentWorkflowsServiceLive, ApiKeyListResponseSchema, ApiKeySchema, AuthError, AuthService, AuthServiceLive, BlockchainSchema, BookmarkObjectTypeSchema, BookmarkResponseSchema, BookmarksListSchema, BookmarksService, BookmarksServiceLive, CodeBlockCodeSchema, CodeBlockDefinitionSchema, CodeBlockExecuteResponseSchema, CodeBlockLogEntrySchema, CodeBlockNotFoundError, CodeBlockVersionSchema, CodeBlocksSearchParamsSchema, CodeBlocksSearchResponseSchema, CodeBlocksService, CodeBlocksServiceLive, CollectionNotFoundError, CollectionSchema, CollectionSpecItemSchema, CollectionSpecSchema, CollectionVersionSchema, CollectionsSearchParamsSchema, CollectionsSearchResponseSchema, CollectionsService, CollectionsServiceLive, ContractBookmarkSchema, ContractCodeMatchBlockSchema, ContractCodeSearchResultSchema, ContractDiffSchema, ContractMetadataSchema, ContractsService, ContractsServiceLive, CreateActionParamsSchema, CreateActionResponseSchema, CreateAdapterParamsSchema, CreateAgentWorkflowParamsSchema, CreateAgentWorkflowResponseSchema, CreateAgentWorkflowRunParamsSchema, CreateAgentWorkflowRunResponseSchema, CreateApiKeyParamsSchema, CreateCodeBlockParamsSchema, CreateCodeBlockResponseSchema, CreateCodeVersionParamsSchema, CreateCodeVersionResponseSchema, CreateCollectionParamsSchema, CreateCollectionResponseSchema, CreateGroupParamsSchema, CreateGroupResponseSchema, CreatedApiKeySchema, DeleteApiKeyParamsSchema, DeleteBookmarkParamsSchema, DeployedContractSchema, DeployedContractsPaginationSchema, DeployedContractsSchema, DiffEntrySchema, DiffVersionInfoSchema, DiffVersionsParamsSchema, DocContentSchema, DocEntrySchema, DocNotFoundError, DocsService, DocsServiceLive, DoubleClickJsonResponseSchema, DoubleClickService, DoubleClickServiceLive, EditAgentSafeMetadataParamsSchema, EditGroupMetadataParamsSchema, EditGroupMetadataResponseSchema, Erc7702DelegationSchema, EvaluateExistingParamsSchema, EvaluateExistingResponseSchema, EvaluateParamsSchema, EvaluateResponseSchema, EventSummarySchema, EvmAddressSchema, ExecuteCodeBlockParamsSchema, ExecuteSafeTxParamsSchema, ExecuteSafeTxResponseSchema, FeatureFlagsSchema, FunctionSummarySchema, GetActionVersionsParamsSchema, GetAgentWorkflowParamsSchema, GetContractCodeParamsSchema, GetContractCodeResponseSchema, GraphVersionTargetSchema, GroupDetailsSchema, GroupIdParamsSchema, GroupMemberSchema, GroupNotFoundError, GroupSummarySchema, GroupWalletSafeSchema, GroupWalletSchema, GroupsService, GroupsServiceLive, HalService, HalServiceLive, HerdConfigSchema, HerdConfigService, HistoricalImplementationSchema, IntegrityCheckKeySchema, LatestEventTransactionsSchema, LatestFunctionTransactionsSchema, LatestTxParamsSchema, LinkedAgentWalletSchema, ListAgentWorkflowRunsPageParamsSchema, ListAgentWorkflowRunsPageResponseSchema, ListAgentWorkflowsPageParamsSchema, ListAgentWorkflowsPageResponseSchema, ListGroupsResponseSchema, MultisigDetailsSchema, MultisigSignerSchema, PaginationParamsSchema, ParamQueryOutputTypeSchema, PendingTransactionSchema, ProposalResponseSchema, ProposeMemberChangeParamsSchema, ProposeQuorumChangeParamsSchema, PublishCodeBlockResponseSchema, PublishCodeParamsSchema, PublishExpressionParamsSchema, PublishExpressionResponseSchema, PushAgentWorkflowParamsSchema, PushAgentWorkflowResponseSchema, RelatedAdapterItemSchema, RelatedAdaptersContractSchema, RelatedAdaptersFunctionSignatureSchema, RelatedAdaptersResponseSchema, RelatedAdaptersSearchParamsSchema, ServiceError, SetSafeProposerParamsSchema, SetSafeProposerResponseSchema, SimulationError, SlotTargetTypeSchema, SubmitAgentWorkflowDecisionParamsSchema, SubmitAgentWorkflowDecisionResponseSchema, TokenActivityPaginationSchema, TokenActivityParamsSchema, TokenActivitySchema, TokenBalanceInfoSchema, TokenDetailsSchema, TokenImageSchema, TokenResponseSchema, TokenTransferSchema, TopHolderSchema, TransactionActivityPaginationSchema, TransactionActivityQuerySchema, TransactionActivitySchema, TransactionBookmarkSchema, TransactionNotFoundError, TransactionQueryResponseSchema, TransactionSchema, TransactionStatusSchema, TransactionsService, TransactionsServiceLive, TraverseDepthSchema, UpdateActionMetadataParamsSchema, UpdateBookmarkLabelParamsSchema, UpdateCodeBlockMetadataParamsSchema, UpdateCodeParamsSchema, UpdateCollectionParamsSchema, UpdateExpressionParamsSchema, WalletBalanceSchema, WalletBookmarkSchema, WalletOverviewSchema, WalletTransactionSchema, WalletTxActionExecutionSchema, WalletTxBalanceChangeSchema, WalletTxCallSchema, WalletTxTransferSchema, WalletsService, WalletsServiceLive, WhoamiResponseSchema };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { HerdConfigService } from "../config.js";
|
|
2
2
|
import { AdaptersService } from "../services/AdaptersService.js";
|
|
3
3
|
import { Layer } from "effect";
|
|
4
|
-
import * as
|
|
4
|
+
import * as effect_unstable_http_HttpClient11 from "effect/unstable/http/HttpClient";
|
|
5
5
|
|
|
6
6
|
//#region src/live/AdaptersServiceLive.d.ts
|
|
7
|
-
declare const AdaptersServiceLive: Layer.Layer<AdaptersService, never, HerdConfigService |
|
|
7
|
+
declare const AdaptersServiceLive: Layer.Layer<AdaptersService, never, HerdConfigService | effect_unstable_http_HttpClient11.HttpClient>;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { AdaptersServiceLive };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { HerdConfigService } from "../config.js";
|
|
2
2
|
import { AgentSafesService } from "../services/AgentSafesService.js";
|
|
3
3
|
import { Layer } from "effect";
|
|
4
|
-
import * as
|
|
4
|
+
import * as effect_unstable_http_HttpClient0 from "effect/unstable/http/HttpClient";
|
|
5
5
|
|
|
6
6
|
//#region src/live/AgentSafesServiceLive.d.ts
|
|
7
|
-
declare const AgentSafesServiceLive: Layer.Layer<AgentSafesService, never, HerdConfigService |
|
|
7
|
+
declare const AgentSafesServiceLive: Layer.Layer<AgentSafesService, never, HerdConfigService | effect_unstable_http_HttpClient0.HttpClient>;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { AgentSafesServiceLive };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { HerdConfigService } from "../config.js";
|
|
2
2
|
import { AgentWalletsService } from "../services/AgentWalletsService.js";
|
|
3
3
|
import { Layer } from "effect";
|
|
4
|
-
import * as
|
|
4
|
+
import * as effect_unstable_http_HttpClient1 from "effect/unstable/http/HttpClient";
|
|
5
5
|
|
|
6
6
|
//#region src/live/AgentWalletsServiceLive.d.ts
|
|
7
|
-
declare const AgentWalletsServiceLive: Layer.Layer<AgentWalletsService, never, HerdConfigService |
|
|
7
|
+
declare const AgentWalletsServiceLive: Layer.Layer<AgentWalletsService, never, HerdConfigService | effect_unstable_http_HttpClient1.HttpClient>;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { AgentWalletsServiceLive };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { HerdConfigService } from "../config.js";
|
|
2
2
|
import { AgentWorkflowsService } from "../services/AgentWorkflowsService.js";
|
|
3
3
|
import { Layer } from "effect";
|
|
4
|
-
import * as
|
|
4
|
+
import * as effect_unstable_http_HttpClient4 from "effect/unstable/http/HttpClient";
|
|
5
5
|
|
|
6
6
|
//#region src/live/AgentWorkflowsServiceLive.d.ts
|
|
7
|
-
declare const AgentWorkflowsServiceLive: Layer.Layer<AgentWorkflowsService, never, HerdConfigService |
|
|
7
|
+
declare const AgentWorkflowsServiceLive: Layer.Layer<AgentWorkflowsService, never, HerdConfigService | effect_unstable_http_HttpClient4.HttpClient>;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { AgentWorkflowsServiceLive };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ServiceError, ensureServiceError } from "../errors.js";
|
|
2
|
-
import { AgentWorkflowWithRunsSchema, CreateAgentWorkflowResponseSchema, CreateAgentWorkflowRunResponseSchema, ExecuteSafeTxResponseSchema,
|
|
2
|
+
import { AgentWorkflowWithRunsSchema, CreateAgentWorkflowResponseSchema, CreateAgentWorkflowRunResponseSchema, ExecuteSafeTxResponseSchema, ListAgentWorkflowRunsPageResponseSchema, ListAgentWorkflowsPageResponseSchema, PushAgentWorkflowResponseSchema, SubmitAgentWorkflowDecisionResponseSchema } from "../schemas/agent-workflows.js";
|
|
3
3
|
import { AgentWorkflowNotFoundError, AgentWorkflowRunNotFoundError, AgentWorkflowsService } from "../services/AgentWorkflowsService.js";
|
|
4
4
|
import { authorizedClient, checkStatus, jsonBody, makeUrl } from "./http.js";
|
|
5
5
|
import { Effect, Layer, pipe } from "effect";
|
|
@@ -24,10 +24,16 @@ const AgentWorkflowsServiceLive = Layer.effect(AgentWorkflowsService, Effect.gen
|
|
|
24
24
|
}) }), Effect.flatMap(checkStatus), Effect.flatMap(HttpClientResponse.schemaBodyJson(CreateAgentWorkflowRunResponseSchema)), Effect.mapError(ensureServiceError("Failed to create agent workflow run")), mapWorkflowNotFound(params.agentWorkflowId)),
|
|
25
25
|
executeSafeTx: (params) => pipe(client.post(makeUrl(baseUrl, `/v1/agent-workflows/runs/${params.agentWorkflowRunId}/push/execute`)), Effect.flatMap(checkStatus), Effect.flatMap(HttpClientResponse.schemaBodyJson(ExecuteSafeTxResponseSchema)), Effect.mapError(ensureServiceError("Failed to execute safe transaction")), mapRunNotFound(params.agentWorkflowRunId)),
|
|
26
26
|
get: (agentWorkflowId) => pipe(client.get(makeUrl(baseUrl, `/v1/agent-workflows/${agentWorkflowId}`)), Effect.flatMap(checkStatus), Effect.flatMap(HttpClientResponse.schemaBodyJson(AgentWorkflowWithRunsSchema)), Effect.mapError(ensureServiceError("Failed to get agent workflow")), mapWorkflowNotFound(agentWorkflowId)),
|
|
27
|
-
|
|
27
|
+
listPage: (params) => pipe(client.get(makeUrl(baseUrl, "/v1/agent-workflows", {
|
|
28
28
|
groupId: params.groupId,
|
|
29
|
-
type: params.type
|
|
30
|
-
|
|
29
|
+
type: params.type,
|
|
30
|
+
cursor: params.cursor,
|
|
31
|
+
limit: params.limit
|
|
32
|
+
})), Effect.flatMap(checkStatus), Effect.flatMap(HttpClientResponse.schemaBodyJson(ListAgentWorkflowsPageResponseSchema)), Effect.mapError(ensureServiceError("Failed to list agent workflows page"))),
|
|
33
|
+
listRunsPage: (params) => pipe(client.get(makeUrl(baseUrl, `/v1/agent-workflows/${params.agentWorkflowId}/runs`, {
|
|
34
|
+
cursor: params.cursor,
|
|
35
|
+
limit: params.limit
|
|
36
|
+
})), Effect.flatMap(checkStatus), Effect.flatMap(HttpClientResponse.schemaBodyJson(ListAgentWorkflowRunsPageResponseSchema)), Effect.mapError(ensureServiceError("Failed to list agent workflow runs page")), mapWorkflowNotFound(params.agentWorkflowId)),
|
|
31
37
|
push: (params) => pipe(client.post(makeUrl(baseUrl, `/v1/agent-workflows/runs/${params.agentWorkflowRunId}/push`)), Effect.flatMap(checkStatus), Effect.flatMap(HttpClientResponse.schemaBodyJson(PushAgentWorkflowResponseSchema)), Effect.mapError(ensureServiceError("Failed to push agent workflow")), mapRunNotFound(params.agentWorkflowRunId)),
|
|
32
38
|
submitDecision: (params) => pipe(client.post(makeUrl(baseUrl, `/v1/agent-workflows/runs/${params.agentWorkflowRunId}/decisions`), { body: jsonBody({ decision: params.decision }) }), Effect.flatMap(checkStatus), Effect.flatMap(HttpClientResponse.schemaBodyJson(SubmitAgentWorkflowDecisionResponseSchema)), Effect.mapError(ensureServiceError("Failed to submit agent workflow decision")), mapRunNotFound(params.agentWorkflowRunId))
|
|
33
39
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { HerdConfigService } from "../config.js";
|
|
2
2
|
import { AuthService } from "../services/AuthService.js";
|
|
3
3
|
import { Layer } from "effect";
|
|
4
|
-
import * as
|
|
4
|
+
import * as effect_unstable_http_HttpClient2 from "effect/unstable/http/HttpClient";
|
|
5
5
|
|
|
6
6
|
//#region src/live/AuthServiceLive.d.ts
|
|
7
|
-
declare const AuthServiceLive: Layer.Layer<AuthService, never, HerdConfigService |
|
|
7
|
+
declare const AuthServiceLive: Layer.Layer<AuthService, never, HerdConfigService | effect_unstable_http_HttpClient2.HttpClient>;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { AuthServiceLive };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { HerdConfigService } from "../config.js";
|
|
2
2
|
import { BookmarksService } from "../services/BookmarksService.js";
|
|
3
3
|
import { Layer } from "effect";
|
|
4
|
-
import * as
|
|
4
|
+
import * as effect_unstable_http_HttpClient5 from "effect/unstable/http/HttpClient";
|
|
5
5
|
|
|
6
6
|
//#region src/live/BookmarksServiceLive.d.ts
|
|
7
|
-
declare const BookmarksServiceLive: Layer.Layer<BookmarksService, never, HerdConfigService |
|
|
7
|
+
declare const BookmarksServiceLive: Layer.Layer<BookmarksService, never, HerdConfigService | effect_unstable_http_HttpClient5.HttpClient>;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { BookmarksServiceLive };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { HerdConfigService } from "../config.js";
|
|
2
2
|
import { CodeBlocksService } from "../services/CodeBlocksService.js";
|
|
3
3
|
import { Layer } from "effect";
|
|
4
|
-
import * as
|
|
4
|
+
import * as effect_unstable_http_HttpClient6 from "effect/unstable/http/HttpClient";
|
|
5
5
|
|
|
6
6
|
//#region src/live/CodeBlocksServiceLive.d.ts
|
|
7
|
-
declare const CodeBlocksServiceLive: Layer.Layer<CodeBlocksService, never, HerdConfigService |
|
|
7
|
+
declare const CodeBlocksServiceLive: Layer.Layer<CodeBlocksService, never, HerdConfigService | effect_unstable_http_HttpClient6.HttpClient>;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { CodeBlocksServiceLive };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { HerdConfigService } from "../config.js";
|
|
2
2
|
import { CollectionsService } from "../services/CollectionsService.js";
|
|
3
3
|
import { Layer } from "effect";
|
|
4
|
-
import * as
|
|
4
|
+
import * as effect_unstable_http_HttpClient7 from "effect/unstable/http/HttpClient";
|
|
5
5
|
|
|
6
6
|
//#region src/live/CollectionsServiceLive.d.ts
|
|
7
|
-
declare const CollectionsServiceLive: Layer.Layer<CollectionsService, never, HerdConfigService |
|
|
7
|
+
declare const CollectionsServiceLive: Layer.Layer<CollectionsService, never, HerdConfigService | effect_unstable_http_HttpClient7.HttpClient>;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { CollectionsServiceLive };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { HerdConfigService } from "../config.js";
|
|
2
2
|
import { ContractsService } from "../services/ContractsService.js";
|
|
3
3
|
import { Layer } from "effect";
|
|
4
|
-
import * as
|
|
4
|
+
import * as effect_unstable_http_HttpClient12 from "effect/unstable/http/HttpClient";
|
|
5
5
|
|
|
6
6
|
//#region src/live/ContractsServiceLive.d.ts
|
|
7
|
-
declare const ContractsServiceLive: Layer.Layer<ContractsService, never, HerdConfigService |
|
|
7
|
+
declare const ContractsServiceLive: Layer.Layer<ContractsService, never, HerdConfigService | effect_unstable_http_HttpClient12.HttpClient>;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { ContractsServiceLive };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { HerdConfigService } from "../config.js";
|
|
2
2
|
import { DocsService } from "../services/DocsService.js";
|
|
3
3
|
import { Layer } from "effect";
|
|
4
|
-
import * as
|
|
4
|
+
import * as effect_unstable_http_HttpClient3 from "effect/unstable/http/HttpClient";
|
|
5
5
|
|
|
6
6
|
//#region src/live/DocsServiceLive.d.ts
|
|
7
|
-
declare const DocsServiceLive: Layer.Layer<DocsService, never, HerdConfigService |
|
|
7
|
+
declare const DocsServiceLive: Layer.Layer<DocsService, never, HerdConfigService | effect_unstable_http_HttpClient3.HttpClient>;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { DocsServiceLive };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { HerdConfigService } from "../config.js";
|
|
2
2
|
import { DoubleClickService } from "../services/DoubleClickService.js";
|
|
3
3
|
import { Layer } from "effect";
|
|
4
|
-
import * as
|
|
4
|
+
import * as effect_unstable_http_HttpClient13 from "effect/unstable/http/HttpClient";
|
|
5
5
|
|
|
6
6
|
//#region src/live/DoubleClickServiceLive.d.ts
|
|
7
|
-
declare const DoubleClickServiceLive: Layer.Layer<DoubleClickService, never, HerdConfigService |
|
|
7
|
+
declare const DoubleClickServiceLive: Layer.Layer<DoubleClickService, never, HerdConfigService | effect_unstable_http_HttpClient13.HttpClient>;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { DoubleClickServiceLive };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { HerdConfigService } from "../config.js";
|
|
2
2
|
import { GroupsService } from "../services/GroupsService.js";
|
|
3
3
|
import { Layer } from "effect";
|
|
4
|
-
import * as
|
|
4
|
+
import * as effect_unstable_http_HttpClient14 from "effect/unstable/http/HttpClient";
|
|
5
5
|
|
|
6
6
|
//#region src/live/GroupsServiceLive.d.ts
|
|
7
|
-
declare const GroupsServiceLive: Layer.Layer<GroupsService, never, HerdConfigService |
|
|
7
|
+
declare const GroupsServiceLive: Layer.Layer<GroupsService, never, HerdConfigService | effect_unstable_http_HttpClient14.HttpClient>;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { GroupsServiceLive };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { HerdConfigService } from "../config.js";
|
|
2
2
|
import { HalService } from "../services/HalService.js";
|
|
3
3
|
import { Layer } from "effect";
|
|
4
|
-
import * as
|
|
4
|
+
import * as effect_unstable_http_HttpClient8 from "effect/unstable/http/HttpClient";
|
|
5
5
|
|
|
6
6
|
//#region src/live/HalServiceLive.d.ts
|
|
7
|
-
declare const HalServiceLive: Layer.Layer<HalService, never, HerdConfigService |
|
|
7
|
+
declare const HalServiceLive: Layer.Layer<HalService, never, HerdConfigService | effect_unstable_http_HttpClient8.HttpClient>;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { HalServiceLive };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { HerdConfigService } from "../config.js";
|
|
2
2
|
import { TransactionsService } from "../services/TransactionsService.js";
|
|
3
3
|
import { Layer } from "effect";
|
|
4
|
-
import * as
|
|
4
|
+
import * as effect_unstable_http_HttpClient9 from "effect/unstable/http/HttpClient";
|
|
5
5
|
|
|
6
6
|
//#region src/live/TransactionsServiceLive.d.ts
|
|
7
|
-
declare const TransactionsServiceLive: Layer.Layer<TransactionsService, never, HerdConfigService |
|
|
7
|
+
declare const TransactionsServiceLive: Layer.Layer<TransactionsService, never, HerdConfigService | effect_unstable_http_HttpClient9.HttpClient>;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { TransactionsServiceLive };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { HerdConfigService } from "../config.js";
|
|
2
2
|
import { WalletsService } from "../services/WalletsService.js";
|
|
3
3
|
import { Layer } from "effect";
|
|
4
|
-
import * as
|
|
4
|
+
import * as effect_unstable_http_HttpClient10 from "effect/unstable/http/HttpClient";
|
|
5
5
|
|
|
6
6
|
//#region src/live/WalletsServiceLive.d.ts
|
|
7
|
-
declare const WalletsServiceLive: Layer.Layer<WalletsService, never, HerdConfigService |
|
|
7
|
+
declare const WalletsServiceLive: Layer.Layer<WalletsService, never, HerdConfigService | effect_unstable_http_HttpClient10.HttpClient>;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { WalletsServiceLive };
|
|
@@ -14,6 +14,13 @@ type AgentWorkflow = typeof AgentWorkflowSchema.Type;
|
|
|
14
14
|
declare const AgentWorkflowRunSchema: Schema.Struct<{
|
|
15
15
|
readonly agentWorkflowId: Schema.String;
|
|
16
16
|
readonly changelog: Schema.String;
|
|
17
|
+
readonly decisions: Schema.$Array<Schema.Struct<{
|
|
18
|
+
readonly userId: Schema.String;
|
|
19
|
+
readonly decision: Schema.Literals<readonly ["approve", "reject"]>;
|
|
20
|
+
}>>;
|
|
21
|
+
readonly currentUserDecision: Schema.NullOr<Schema.Literals<readonly ["approve", "reject"]>>;
|
|
22
|
+
readonly hasRejectDecision: Schema.Boolean;
|
|
23
|
+
readonly isPushed: Schema.Boolean;
|
|
17
24
|
readonly createdAt: Schema.String;
|
|
18
25
|
readonly id: Schema.String;
|
|
19
26
|
readonly outputs: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
@@ -39,6 +46,13 @@ declare const AgentWorkflowWithRunsSchema: Schema.Struct<{
|
|
|
39
46
|
readonly runs: Schema.$Array<Schema.Struct<{
|
|
40
47
|
readonly agentWorkflowId: Schema.String;
|
|
41
48
|
readonly changelog: Schema.String;
|
|
49
|
+
readonly decisions: Schema.$Array<Schema.Struct<{
|
|
50
|
+
readonly userId: Schema.String;
|
|
51
|
+
readonly decision: Schema.Literals<readonly ["approve", "reject"]>;
|
|
52
|
+
}>>;
|
|
53
|
+
readonly currentUserDecision: Schema.NullOr<Schema.Literals<readonly ["approve", "reject"]>>;
|
|
54
|
+
readonly hasRejectDecision: Schema.Boolean;
|
|
55
|
+
readonly isPushed: Schema.Boolean;
|
|
42
56
|
readonly createdAt: Schema.String;
|
|
43
57
|
readonly id: Schema.String;
|
|
44
58
|
readonly outputs: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
@@ -59,23 +73,118 @@ declare const CreateAgentWorkflowResponseSchema: Schema.Struct<{
|
|
|
59
73
|
readonly workflowId: Schema.String;
|
|
60
74
|
}>;
|
|
61
75
|
type CreateAgentWorkflowResponse = typeof CreateAgentWorkflowResponseSchema.Type;
|
|
62
|
-
declare const
|
|
76
|
+
declare const AgentWorkflowSummarySchema: Schema.Struct<{
|
|
77
|
+
readonly approvalsCount: Schema.Finite;
|
|
78
|
+
readonly latestRunCreatedAt: Schema.NullOr<Schema.String>;
|
|
79
|
+
readonly needsUserDecision: Schema.Boolean;
|
|
80
|
+
readonly rejectionsCount: Schema.Finite;
|
|
81
|
+
readonly runsCount: Schema.Finite;
|
|
82
|
+
readonly createdAt: Schema.String;
|
|
63
83
|
readonly groupId: Schema.String;
|
|
64
|
-
readonly
|
|
84
|
+
readonly id: Schema.String;
|
|
85
|
+
readonly intent: Schema.NullOr<Schema.String>;
|
|
86
|
+
readonly name: Schema.NullOr<Schema.String>;
|
|
87
|
+
readonly type: Schema.String;
|
|
88
|
+
readonly updatedAt: Schema.String;
|
|
65
89
|
}>;
|
|
66
|
-
type
|
|
67
|
-
declare const
|
|
68
|
-
readonly
|
|
90
|
+
type AgentWorkflowSummary = typeof AgentWorkflowSummarySchema.Type;
|
|
91
|
+
declare const AgentWorkflowListItemSchema: Schema.Struct<{
|
|
92
|
+
readonly type: Schema.Literals<readonly ["safe_transaction", "wallet_transaction", "group_membership_change", "group_quorum_change"]>;
|
|
93
|
+
readonly latestRun: Schema.NullOr<Schema.Struct<{
|
|
94
|
+
readonly agentWorkflowId: Schema.String;
|
|
95
|
+
readonly changelog: Schema.String;
|
|
96
|
+
readonly decisions: Schema.$Array<Schema.Struct<{
|
|
97
|
+
readonly userId: Schema.String;
|
|
98
|
+
readonly decision: Schema.Literals<readonly ["approve", "reject"]>;
|
|
99
|
+
}>>;
|
|
100
|
+
readonly currentUserDecision: Schema.NullOr<Schema.Literals<readonly ["approve", "reject"]>>;
|
|
101
|
+
readonly hasRejectDecision: Schema.Boolean;
|
|
102
|
+
readonly isPushed: Schema.Boolean;
|
|
103
|
+
readonly createdAt: Schema.String;
|
|
104
|
+
readonly id: Schema.String;
|
|
105
|
+
readonly outputs: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
106
|
+
readonly updatedAt: Schema.String;
|
|
107
|
+
}>>;
|
|
108
|
+
readonly approvalsCount: Schema.Finite;
|
|
109
|
+
readonly latestRunCreatedAt: Schema.NullOr<Schema.String>;
|
|
110
|
+
readonly needsUserDecision: Schema.Boolean;
|
|
111
|
+
readonly rejectionsCount: Schema.Finite;
|
|
112
|
+
readonly runsCount: Schema.Finite;
|
|
113
|
+
readonly createdAt: Schema.String;
|
|
114
|
+
readonly groupId: Schema.String;
|
|
115
|
+
readonly id: Schema.String;
|
|
116
|
+
readonly intent: Schema.NullOr<Schema.String>;
|
|
117
|
+
readonly name: Schema.NullOr<Schema.String>;
|
|
118
|
+
readonly updatedAt: Schema.String;
|
|
119
|
+
}>;
|
|
120
|
+
type AgentWorkflowListItem = typeof AgentWorkflowListItemSchema.Type;
|
|
121
|
+
declare const ListAgentWorkflowsPageParamsSchema: Schema.Struct<{
|
|
122
|
+
readonly groupId: Schema.String;
|
|
123
|
+
readonly type: Schema.optional<Schema.Literals<readonly ["safe_transaction", "wallet_transaction", "group_membership_change", "group_quorum_change"]>>;
|
|
124
|
+
readonly cursor: Schema.optional<Schema.String>;
|
|
125
|
+
readonly limit: Schema.optional<Schema.Finite>;
|
|
126
|
+
}>;
|
|
127
|
+
type ListAgentWorkflowsPageParams = typeof ListAgentWorkflowsPageParamsSchema.Type;
|
|
128
|
+
declare const ListAgentWorkflowsPageResponseSchema: Schema.Struct<{
|
|
129
|
+
readonly items: Schema.$Array<Schema.Struct<{
|
|
130
|
+
readonly type: Schema.Literals<readonly ["safe_transaction", "wallet_transaction", "group_membership_change", "group_quorum_change"]>;
|
|
131
|
+
readonly latestRun: Schema.NullOr<Schema.Struct<{
|
|
132
|
+
readonly agentWorkflowId: Schema.String;
|
|
133
|
+
readonly changelog: Schema.String;
|
|
134
|
+
readonly decisions: Schema.$Array<Schema.Struct<{
|
|
135
|
+
readonly userId: Schema.String;
|
|
136
|
+
readonly decision: Schema.Literals<readonly ["approve", "reject"]>;
|
|
137
|
+
}>>;
|
|
138
|
+
readonly currentUserDecision: Schema.NullOr<Schema.Literals<readonly ["approve", "reject"]>>;
|
|
139
|
+
readonly hasRejectDecision: Schema.Boolean;
|
|
140
|
+
readonly isPushed: Schema.Boolean;
|
|
141
|
+
readonly createdAt: Schema.String;
|
|
142
|
+
readonly id: Schema.String;
|
|
143
|
+
readonly outputs: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
144
|
+
readonly updatedAt: Schema.String;
|
|
145
|
+
}>>;
|
|
146
|
+
readonly approvalsCount: Schema.Finite;
|
|
147
|
+
readonly latestRunCreatedAt: Schema.NullOr<Schema.String>;
|
|
148
|
+
readonly needsUserDecision: Schema.Boolean;
|
|
149
|
+
readonly rejectionsCount: Schema.Finite;
|
|
150
|
+
readonly runsCount: Schema.Finite;
|
|
69
151
|
readonly createdAt: Schema.String;
|
|
70
152
|
readonly groupId: Schema.String;
|
|
71
153
|
readonly id: Schema.String;
|
|
72
154
|
readonly intent: Schema.NullOr<Schema.String>;
|
|
73
155
|
readonly name: Schema.NullOr<Schema.String>;
|
|
74
|
-
readonly type: Schema.String;
|
|
75
156
|
readonly updatedAt: Schema.String;
|
|
76
157
|
}>>;
|
|
158
|
+
readonly hasMore: Schema.Boolean;
|
|
159
|
+
readonly nextCursor: Schema.NullOr<Schema.String>;
|
|
160
|
+
}>;
|
|
161
|
+
type ListAgentWorkflowsPageResponse = typeof ListAgentWorkflowsPageResponseSchema.Type;
|
|
162
|
+
declare const ListAgentWorkflowRunsPageParamsSchema: Schema.Struct<{
|
|
163
|
+
readonly agentWorkflowId: Schema.String;
|
|
164
|
+
readonly cursor: Schema.optional<Schema.String>;
|
|
165
|
+
readonly limit: Schema.optional<Schema.Finite>;
|
|
166
|
+
}>;
|
|
167
|
+
type ListAgentWorkflowRunsPageParams = typeof ListAgentWorkflowRunsPageParamsSchema.Type;
|
|
168
|
+
declare const ListAgentWorkflowRunsPageResponseSchema: Schema.Struct<{
|
|
169
|
+
readonly items: Schema.$Array<Schema.Struct<{
|
|
170
|
+
readonly agentWorkflowId: Schema.String;
|
|
171
|
+
readonly changelog: Schema.String;
|
|
172
|
+
readonly decisions: Schema.$Array<Schema.Struct<{
|
|
173
|
+
readonly userId: Schema.String;
|
|
174
|
+
readonly decision: Schema.Literals<readonly ["approve", "reject"]>;
|
|
175
|
+
}>>;
|
|
176
|
+
readonly currentUserDecision: Schema.NullOr<Schema.Literals<readonly ["approve", "reject"]>>;
|
|
177
|
+
readonly hasRejectDecision: Schema.Boolean;
|
|
178
|
+
readonly isPushed: Schema.Boolean;
|
|
179
|
+
readonly createdAt: Schema.String;
|
|
180
|
+
readonly id: Schema.String;
|
|
181
|
+
readonly outputs: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
182
|
+
readonly updatedAt: Schema.String;
|
|
183
|
+
}>>;
|
|
184
|
+
readonly hasMore: Schema.Boolean;
|
|
185
|
+
readonly nextCursor: Schema.NullOr<Schema.String>;
|
|
77
186
|
}>;
|
|
78
|
-
type
|
|
187
|
+
type ListAgentWorkflowRunsPageResponse = typeof ListAgentWorkflowRunsPageResponseSchema.Type;
|
|
79
188
|
declare const GetAgentWorkflowParamsSchema: Schema.Struct<{
|
|
80
189
|
readonly agentWorkflowId: Schema.String;
|
|
81
190
|
}>;
|
|
@@ -117,4 +226,4 @@ declare const ExecuteSafeTxResponseSchema: Schema.Struct<{
|
|
|
117
226
|
}>;
|
|
118
227
|
type ExecuteSafeTxResponse = typeof ExecuteSafeTxResponseSchema.Type;
|
|
119
228
|
//#endregion
|
|
120
|
-
export { AgentWorkflow, AgentWorkflowDecision, AgentWorkflowDecisionSchema, AgentWorkflowRun, AgentWorkflowRunSchema, AgentWorkflowSchema, AgentWorkflowWithRuns, AgentWorkflowWithRunsSchema, CreateAgentWorkflowParams, CreateAgentWorkflowParamsSchema, CreateAgentWorkflowResponse, CreateAgentWorkflowResponseSchema, CreateAgentWorkflowRunParams, CreateAgentWorkflowRunParamsSchema, CreateAgentWorkflowRunResponse, CreateAgentWorkflowRunResponseSchema, ExecuteSafeTxParams, ExecuteSafeTxParamsSchema, ExecuteSafeTxResponse, ExecuteSafeTxResponseSchema, GetAgentWorkflowParams, GetAgentWorkflowParamsSchema,
|
|
229
|
+
export { AgentWorkflow, AgentWorkflowDecision, AgentWorkflowDecisionSchema, AgentWorkflowListItem, AgentWorkflowListItemSchema, AgentWorkflowRun, AgentWorkflowRunSchema, AgentWorkflowSchema, AgentWorkflowSummary, AgentWorkflowSummarySchema, AgentWorkflowWithRuns, AgentWorkflowWithRunsSchema, CreateAgentWorkflowParams, CreateAgentWorkflowParamsSchema, CreateAgentWorkflowResponse, CreateAgentWorkflowResponseSchema, CreateAgentWorkflowRunParams, CreateAgentWorkflowRunParamsSchema, CreateAgentWorkflowRunResponse, CreateAgentWorkflowRunResponseSchema, ExecuteSafeTxParams, ExecuteSafeTxParamsSchema, ExecuteSafeTxResponse, ExecuteSafeTxResponseSchema, GetAgentWorkflowParams, GetAgentWorkflowParamsSchema, ListAgentWorkflowRunsPageParams, ListAgentWorkflowRunsPageParamsSchema, ListAgentWorkflowRunsPageResponse, ListAgentWorkflowRunsPageResponseSchema, ListAgentWorkflowsPageParams, ListAgentWorkflowsPageParamsSchema, ListAgentWorkflowsPageResponse, ListAgentWorkflowsPageResponseSchema, PushAgentWorkflowParams, PushAgentWorkflowParamsSchema, PushAgentWorkflowResponse, PushAgentWorkflowResponseSchema, SubmitAgentWorkflowDecisionParams, SubmitAgentWorkflowDecisionParamsSchema, SubmitAgentWorkflowDecisionResponse, SubmitAgentWorkflowDecisionResponseSchema };
|
|
@@ -13,6 +13,13 @@ const AgentWorkflowSchema = Schema.Struct({
|
|
|
13
13
|
const AgentWorkflowRunSchema = Schema.Struct({
|
|
14
14
|
agentWorkflowId: Schema.String,
|
|
15
15
|
changelog: Schema.String,
|
|
16
|
+
decisions: Schema.Array(Schema.Struct({
|
|
17
|
+
userId: Schema.String,
|
|
18
|
+
decision: Schema.Literals(["approve", "reject"])
|
|
19
|
+
})),
|
|
20
|
+
currentUserDecision: Schema.NullOr(Schema.Literals(["approve", "reject"])),
|
|
21
|
+
hasRejectDecision: Schema.Boolean,
|
|
22
|
+
isPushed: Schema.Boolean,
|
|
16
23
|
createdAt: Schema.String,
|
|
17
24
|
id: Schema.String,
|
|
18
25
|
outputs: Schema.Record(Schema.String, Schema.Unknown),
|
|
@@ -49,16 +56,50 @@ const CreateAgentWorkflowParamsSchema = Schema.Struct({
|
|
|
49
56
|
])
|
|
50
57
|
});
|
|
51
58
|
const CreateAgentWorkflowResponseSchema = Schema.Struct({ workflowId: Schema.String });
|
|
52
|
-
const
|
|
59
|
+
const AgentWorkflowSummarySchema = Schema.Struct({
|
|
60
|
+
...AgentWorkflowSchema.fields,
|
|
61
|
+
approvalsCount: Schema.Finite.check(Schema.isInt(), Schema.isGreaterThanOrEqualTo(0)),
|
|
62
|
+
latestRunCreatedAt: Schema.NullOr(Schema.String),
|
|
63
|
+
needsUserDecision: Schema.Boolean,
|
|
64
|
+
rejectionsCount: Schema.Finite.check(Schema.isInt(), Schema.isGreaterThanOrEqualTo(0)),
|
|
65
|
+
runsCount: Schema.Finite.check(Schema.isInt(), Schema.isGreaterThanOrEqualTo(0))
|
|
66
|
+
});
|
|
67
|
+
const AgentWorkflowListItemSchema = Schema.Struct({
|
|
68
|
+
...AgentWorkflowSummarySchema.fields,
|
|
69
|
+
type: Schema.Literals([
|
|
70
|
+
"safe_transaction",
|
|
71
|
+
"wallet_transaction",
|
|
72
|
+
"group_membership_change",
|
|
73
|
+
"group_quorum_change"
|
|
74
|
+
]),
|
|
75
|
+
latestRun: Schema.NullOr(AgentWorkflowRunSchema)
|
|
76
|
+
});
|
|
77
|
+
const ListAgentWorkflowsPageParamsSchema = Schema.Struct({
|
|
53
78
|
groupId: Schema.String,
|
|
54
79
|
type: Schema.optional(Schema.Literals([
|
|
55
80
|
"safe_transaction",
|
|
56
81
|
"wallet_transaction",
|
|
57
82
|
"group_membership_change",
|
|
58
83
|
"group_quorum_change"
|
|
59
|
-
]))
|
|
84
|
+
])),
|
|
85
|
+
cursor: Schema.optional(Schema.String),
|
|
86
|
+
limit: Schema.optional(Schema.Finite)
|
|
87
|
+
});
|
|
88
|
+
const ListAgentWorkflowsPageResponseSchema = Schema.Struct({
|
|
89
|
+
items: Schema.Array(AgentWorkflowListItemSchema),
|
|
90
|
+
hasMore: Schema.Boolean,
|
|
91
|
+
nextCursor: Schema.NullOr(Schema.String)
|
|
92
|
+
});
|
|
93
|
+
const ListAgentWorkflowRunsPageParamsSchema = Schema.Struct({
|
|
94
|
+
agentWorkflowId: Schema.String,
|
|
95
|
+
cursor: Schema.optional(Schema.String),
|
|
96
|
+
limit: Schema.optional(Schema.Finite)
|
|
97
|
+
});
|
|
98
|
+
const ListAgentWorkflowRunsPageResponseSchema = Schema.Struct({
|
|
99
|
+
items: Schema.Array(AgentWorkflowRunSchema),
|
|
100
|
+
hasMore: Schema.Boolean,
|
|
101
|
+
nextCursor: Schema.NullOr(Schema.String)
|
|
60
102
|
});
|
|
61
|
-
const ListAgentWorkflowsResponseSchema = Schema.Struct({ workflows: Schema.Array(AgentWorkflowSchema) });
|
|
62
103
|
const GetAgentWorkflowParamsSchema = Schema.Struct({ agentWorkflowId: Schema.String });
|
|
63
104
|
const CreateAgentWorkflowRunParamsSchema = Schema.Struct({
|
|
64
105
|
agentWorkflowId: Schema.String,
|
|
@@ -80,4 +121,4 @@ const ExecuteSafeTxResponseSchema = Schema.Struct({
|
|
|
80
121
|
});
|
|
81
122
|
|
|
82
123
|
//#endregion
|
|
83
|
-
export { AgentWorkflowDecisionSchema, AgentWorkflowRunSchema, AgentWorkflowSchema, AgentWorkflowWithRunsSchema, CreateAgentWorkflowParamsSchema, CreateAgentWorkflowResponseSchema, CreateAgentWorkflowRunParamsSchema, CreateAgentWorkflowRunResponseSchema, ExecuteSafeTxParamsSchema, ExecuteSafeTxResponseSchema, GetAgentWorkflowParamsSchema,
|
|
124
|
+
export { AgentWorkflowDecisionSchema, AgentWorkflowListItemSchema, AgentWorkflowRunSchema, AgentWorkflowSchema, AgentWorkflowSummarySchema, AgentWorkflowWithRunsSchema, CreateAgentWorkflowParamsSchema, CreateAgentWorkflowResponseSchema, CreateAgentWorkflowRunParamsSchema, CreateAgentWorkflowRunResponseSchema, ExecuteSafeTxParamsSchema, ExecuteSafeTxResponseSchema, GetAgentWorkflowParamsSchema, ListAgentWorkflowRunsPageParamsSchema, ListAgentWorkflowRunsPageResponseSchema, ListAgentWorkflowsPageParamsSchema, ListAgentWorkflowsPageResponseSchema, PushAgentWorkflowParamsSchema, PushAgentWorkflowResponseSchema, SubmitAgentWorkflowDecisionParamsSchema, SubmitAgentWorkflowDecisionResponseSchema };
|
|
@@ -8,6 +8,7 @@ declare const GroupSummarySchema: Schema.Struct<{
|
|
|
8
8
|
readonly memberCount: Schema.Finite;
|
|
9
9
|
readonly name: Schema.NullOr<Schema.String>;
|
|
10
10
|
readonly quorum: Schema.Finite;
|
|
11
|
+
readonly walletAddress: Schema.NullOr<Schema.String>;
|
|
11
12
|
}>;
|
|
12
13
|
type GroupSummary = typeof GroupSummarySchema.Type;
|
|
13
14
|
declare const GroupMemberSchema: Schema.Struct<{
|
|
@@ -16,9 +17,26 @@ declare const GroupMemberSchema: Schema.Struct<{
|
|
|
16
17
|
readonly userId: Schema.String;
|
|
17
18
|
}>;
|
|
18
19
|
type GroupMember = typeof GroupMemberSchema.Type;
|
|
20
|
+
declare const GroupWalletSafeSchema: Schema.Struct<{
|
|
21
|
+
readonly blockchain: Schema.Literals<readonly ["ethereum", "base"]>;
|
|
22
|
+
readonly intent: Schema.NullOr<Schema.String>;
|
|
23
|
+
readonly isProposer: Schema.Boolean;
|
|
24
|
+
readonly isSigner: Schema.Boolean;
|
|
25
|
+
readonly name: Schema.NullOr<Schema.String>;
|
|
26
|
+
readonly safeAddress: Schema.String;
|
|
27
|
+
}>;
|
|
28
|
+
type GroupWalletSafe = typeof GroupWalletSafeSchema.Type;
|
|
19
29
|
declare const GroupWalletSchema: Schema.Struct<{
|
|
20
30
|
readonly address: Schema.String;
|
|
21
31
|
readonly name: Schema.NullOr<Schema.String>;
|
|
32
|
+
readonly safes: Schema.$Array<Schema.Struct<{
|
|
33
|
+
readonly blockchain: Schema.Literals<readonly ["ethereum", "base"]>;
|
|
34
|
+
readonly intent: Schema.NullOr<Schema.String>;
|
|
35
|
+
readonly isProposer: Schema.Boolean;
|
|
36
|
+
readonly isSigner: Schema.Boolean;
|
|
37
|
+
readonly name: Schema.NullOr<Schema.String>;
|
|
38
|
+
readonly safeAddress: Schema.String;
|
|
39
|
+
}>>;
|
|
22
40
|
}>;
|
|
23
41
|
type GroupWallet = typeof GroupWalletSchema.Type;
|
|
24
42
|
declare const GroupDetailsSchema: Schema.Struct<{
|
|
@@ -35,6 +53,14 @@ declare const GroupDetailsSchema: Schema.Struct<{
|
|
|
35
53
|
readonly wallet: Schema.NullOr<Schema.Struct<{
|
|
36
54
|
readonly address: Schema.String;
|
|
37
55
|
readonly name: Schema.NullOr<Schema.String>;
|
|
56
|
+
readonly safes: Schema.$Array<Schema.Struct<{
|
|
57
|
+
readonly blockchain: Schema.Literals<readonly ["ethereum", "base"]>;
|
|
58
|
+
readonly intent: Schema.NullOr<Schema.String>;
|
|
59
|
+
readonly isProposer: Schema.Boolean;
|
|
60
|
+
readonly isSigner: Schema.Boolean;
|
|
61
|
+
readonly name: Schema.NullOr<Schema.String>;
|
|
62
|
+
readonly safeAddress: Schema.String;
|
|
63
|
+
}>>;
|
|
38
64
|
}>>;
|
|
39
65
|
}>;
|
|
40
66
|
type GroupDetails = typeof GroupDetailsSchema.Type;
|
|
@@ -58,6 +84,7 @@ declare const ListGroupsResponseSchema: Schema.Struct<{
|
|
|
58
84
|
readonly memberCount: Schema.Finite;
|
|
59
85
|
readonly name: Schema.NullOr<Schema.String>;
|
|
60
86
|
readonly quorum: Schema.Finite;
|
|
87
|
+
readonly walletAddress: Schema.NullOr<Schema.String>;
|
|
61
88
|
}>>;
|
|
62
89
|
}>;
|
|
63
90
|
type ListGroupsResponse = typeof ListGroupsResponseSchema.Type;
|
|
@@ -91,4 +118,4 @@ declare const EditGroupMetadataResponseSchema: Schema.Struct<{
|
|
|
91
118
|
}>;
|
|
92
119
|
type EditGroupMetadataResponse = typeof EditGroupMetadataResponseSchema.Type;
|
|
93
120
|
//#endregion
|
|
94
|
-
export { CreateGroupParams, CreateGroupParamsSchema, CreateGroupResponse, CreateGroupResponseSchema, EditGroupMetadataParams, EditGroupMetadataParamsSchema, EditGroupMetadataResponse, EditGroupMetadataResponseSchema, GroupDetails, GroupDetailsSchema, GroupIdParams, GroupIdParamsSchema, GroupMember, GroupMemberSchema, GroupSummary, GroupSummarySchema, GroupWallet, GroupWalletSchema, ListGroupsResponse, ListGroupsResponseSchema, ProposalResponse, ProposalResponseSchema, ProposeMemberChangeParams, ProposeMemberChangeParamsSchema, ProposeQuorumChangeParams, ProposeQuorumChangeParamsSchema };
|
|
121
|
+
export { CreateGroupParams, CreateGroupParamsSchema, CreateGroupResponse, CreateGroupResponseSchema, EditGroupMetadataParams, EditGroupMetadataParamsSchema, EditGroupMetadataResponse, EditGroupMetadataResponseSchema, GroupDetails, GroupDetailsSchema, GroupIdParams, GroupIdParamsSchema, GroupMember, GroupMemberSchema, GroupSummary, GroupSummarySchema, GroupWallet, GroupWalletSafe, GroupWalletSafeSchema, GroupWalletSchema, ListGroupsResponse, ListGroupsResponseSchema, ProposalResponse, ProposalResponseSchema, ProposeMemberChangeParams, ProposeMemberChangeParamsSchema, ProposeQuorumChangeParams, ProposeQuorumChangeParamsSchema };
|
|
@@ -7,16 +7,26 @@ const GroupSummarySchema = Schema.Struct({
|
|
|
7
7
|
intent: Schema.NullOr(Schema.String),
|
|
8
8
|
memberCount: Schema.Finite,
|
|
9
9
|
name: Schema.NullOr(Schema.String),
|
|
10
|
-
quorum: Schema.Finite
|
|
10
|
+
quorum: Schema.Finite,
|
|
11
|
+
walletAddress: Schema.NullOr(Schema.String)
|
|
11
12
|
});
|
|
12
13
|
const GroupMemberSchema = Schema.Struct({
|
|
13
14
|
email: Schema.NullOr(Schema.String),
|
|
14
15
|
joinedAt: Schema.String,
|
|
15
16
|
userId: Schema.String
|
|
16
17
|
});
|
|
18
|
+
const GroupWalletSafeSchema = Schema.Struct({
|
|
19
|
+
blockchain: Schema.Literals(["ethereum", "base"]),
|
|
20
|
+
intent: Schema.NullOr(Schema.String),
|
|
21
|
+
isProposer: Schema.Boolean,
|
|
22
|
+
isSigner: Schema.Boolean,
|
|
23
|
+
name: Schema.NullOr(Schema.String),
|
|
24
|
+
safeAddress: Schema.String
|
|
25
|
+
});
|
|
17
26
|
const GroupWalletSchema = Schema.Struct({
|
|
18
27
|
address: Schema.String,
|
|
19
|
-
name: Schema.NullOr(Schema.String)
|
|
28
|
+
name: Schema.NullOr(Schema.String),
|
|
29
|
+
safes: Schema.Array(GroupWalletSafeSchema)
|
|
20
30
|
});
|
|
21
31
|
const GroupDetailsSchema = Schema.Struct({
|
|
22
32
|
createdAt: Schema.String,
|
|
@@ -59,4 +69,4 @@ const EditGroupMetadataResponseSchema = Schema.Struct({
|
|
|
59
69
|
});
|
|
60
70
|
|
|
61
71
|
//#endregion
|
|
62
|
-
export { CreateGroupParamsSchema, CreateGroupResponseSchema, EditGroupMetadataParamsSchema, EditGroupMetadataResponseSchema, GroupDetailsSchema, GroupIdParamsSchema, GroupMemberSchema, GroupSummarySchema, GroupWalletSchema, ListGroupsResponseSchema, ProposalResponseSchema, ProposeMemberChangeParamsSchema, ProposeQuorumChangeParamsSchema };
|
|
72
|
+
export { CreateGroupParamsSchema, CreateGroupResponseSchema, EditGroupMetadataParamsSchema, EditGroupMetadataResponseSchema, GroupDetailsSchema, GroupIdParamsSchema, GroupMemberSchema, GroupSummarySchema, GroupWalletSafeSchema, GroupWalletSchema, ListGroupsResponseSchema, ProposalResponseSchema, ProposeMemberChangeParamsSchema, ProposeQuorumChangeParamsSchema };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ServiceError } from "../errors.js";
|
|
2
|
-
import { AgentWorkflowWithRuns, CreateAgentWorkflowParams, CreateAgentWorkflowResponse, CreateAgentWorkflowRunParams, CreateAgentWorkflowRunResponse, ExecuteSafeTxParams, ExecuteSafeTxResponse,
|
|
2
|
+
import { AgentWorkflowWithRuns, CreateAgentWorkflowParams, CreateAgentWorkflowResponse, CreateAgentWorkflowRunParams, CreateAgentWorkflowRunResponse, ExecuteSafeTxParams, ExecuteSafeTxResponse, ListAgentWorkflowRunsPageParams, ListAgentWorkflowRunsPageResponse, ListAgentWorkflowsPageParams, ListAgentWorkflowsPageResponse, PushAgentWorkflowParams, PushAgentWorkflowResponse, SubmitAgentWorkflowDecisionParams, SubmitAgentWorkflowDecisionResponse } from "../schemas/agent-workflows.js";
|
|
3
3
|
import { Context, Effect } from "effect";
|
|
4
4
|
|
|
5
5
|
//#region src/services/AgentWorkflowsService.d.ts
|
|
@@ -15,7 +15,8 @@ declare class AgentWorkflowRunNotFoundError extends Error {
|
|
|
15
15
|
}
|
|
16
16
|
declare const AgentWorkflowsService_base: Context.ServiceClass<AgentWorkflowsService, "AgentWorkflowsService", {
|
|
17
17
|
readonly create: (params: CreateAgentWorkflowParams) => Effect.Effect<CreateAgentWorkflowResponse, ServiceError>;
|
|
18
|
-
readonly
|
|
18
|
+
readonly listPage: (params: ListAgentWorkflowsPageParams) => Effect.Effect<ListAgentWorkflowsPageResponse, ServiceError>;
|
|
19
|
+
readonly listRunsPage: (params: ListAgentWorkflowRunsPageParams) => Effect.Effect<ListAgentWorkflowRunsPageResponse, AgentWorkflowNotFoundError | ServiceError>;
|
|
19
20
|
readonly get: (agentWorkflowId: string) => Effect.Effect<AgentWorkflowWithRuns, AgentWorkflowNotFoundError | ServiceError>;
|
|
20
21
|
readonly createRun: (params: CreateAgentWorkflowRunParams) => Effect.Effect<CreateAgentWorkflowRunResponse, AgentWorkflowNotFoundError | ServiceError>;
|
|
21
22
|
readonly submitDecision: (params: SubmitAgentWorkflowDecisionParams) => Effect.Effect<SubmitAgentWorkflowDecisionResponse, AgentWorkflowRunNotFoundError | ServiceError>;
|