@canton-network/core-wallet-user-rpc-client 1.17.0 → 1.18.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.cjs +4 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +119 -38
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
package/dist/index.cjs
CHANGED
|
@@ -2,7 +2,7 @@ Object.defineProperties(exports, {
|
|
|
2
2
|
__esModule: { value: true },
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
|
-
// \0@oxc-project+runtime@0.
|
|
5
|
+
// \0@oxc-project+runtime@0.156.0/helpers/esm/typeof.js
|
|
6
6
|
function _typeof(o) {
|
|
7
7
|
"@babel/helpers - typeof";
|
|
8
8
|
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o) {
|
|
@@ -11,7 +11,7 @@ function _typeof(o) {
|
|
|
11
11
|
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
12
12
|
}, _typeof(o);
|
|
13
13
|
}
|
|
14
|
-
// \0@oxc-project+runtime@0.
|
|
14
|
+
// \0@oxc-project+runtime@0.156.0/helpers/esm/toPrimitive.js
|
|
15
15
|
function toPrimitive(t, r) {
|
|
16
16
|
if ("object" != _typeof(t) || !t) return t;
|
|
17
17
|
var e = t[Symbol.toPrimitive];
|
|
@@ -22,12 +22,12 @@ function toPrimitive(t, r) {
|
|
|
22
22
|
}
|
|
23
23
|
return ("string" === r ? String : Number)(t);
|
|
24
24
|
}
|
|
25
|
-
// \0@oxc-project+runtime@0.
|
|
25
|
+
// \0@oxc-project+runtime@0.156.0/helpers/esm/toPropertyKey.js
|
|
26
26
|
function toPropertyKey(t) {
|
|
27
27
|
var i = toPrimitive(t, "string");
|
|
28
28
|
return "symbol" == _typeof(i) ? i : i + "";
|
|
29
29
|
}
|
|
30
|
-
// \0@oxc-project+runtime@0.
|
|
30
|
+
// \0@oxc-project+runtime@0.156.0/helpers/esm/defineProperty.js
|
|
31
31
|
function _defineProperty(e, r, t) {
|
|
32
32
|
return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
33
33
|
value: t,
|
package/dist/index.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","names":[],"sources":["../src/index.ts"],"sourcesContent":["// Copyright (c) 2025-2026 Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved.\n// SPDX-License-Identifier: Apache-2.0\n\n// Code generated by @open-rpc/generator DO NOT EDIT.\nimport type { RequestArgs, RequestPayload } from '@canton-network/core-types'\nimport type { RpcTransport } from '@canton-network/core-rpc-transport'\n\n/* oxlint-disable no-unused-vars */\n/**\n *\n * The network ID the wallet corresponds to.\n *\n */\nexport type NetworkId = string\nexport type Name = string\n/**\n *\n * Description of network\n *\n */\nexport type Description = string\n/**\n *\n * Synchronizer ID\n *\n */\nexport type SynchronizerId = string\n/**\n *\n * Identity Provider ID\n *\n */\nexport type IdentityProviderId = string\nexport type AuthorizationCodeAuthMethod = 'authorization_code'\nexport type Scope = string\nexport type ClientId = string\n/**\n *\n * Bare participant ID, with no https://daml.com/jwt/aud/participant/ prefix (unlike the other auth methods).\n *\n */\nexport type Audience = string\ntype AlwaysFalse = any\n/**\n *\n * Authorization code authentication configuration\n *\n */\nexport interface AuthorizationCodeAuth {\n method: AuthorizationCodeAuthMethod\n scope: Scope\n clientId: ClientId\n audience: Audience\n}\nexport type ClientCredentialsAuthMethod = 'client_credentials'\n/**\n *\n * Overrides the network's identity provider for client credentials token acquisition\n *\n */\nexport type ClientCredentialsIdentityProviderId = string\nexport type ClientSecret = string\n/**\n *\n * Client credentials authentication configuration\n *\n */\nexport interface ClientCredentialsAuth {\n method: ClientCredentialsAuthMethod\n identityProviderId?: ClientCredentialsIdentityProviderId\n scope: Scope\n clientId: ClientId\n clientSecret: ClientSecret\n audience: Audience\n}\nexport type SelfSignedAuthMethod = 'self_signed'\n/**\n *\n * Issuer of identity provider\n *\n */\nexport type Issuer = string\n/**\n *\n * Self-signed authentication configuration\n *\n */\nexport interface SelfSignedAuth {\n method: SelfSignedAuthMethod\n scope: Scope\n clientId: ClientId\n clientSecret: ClientSecret\n issuer: Issuer\n audience: Audience\n}\nexport type SelfIssuedAuthMethod = 'self_issued'\n/**\n *\n * Self-issued authentication configuration\n *\n */\nexport interface SelfIssuedAuth {\n method: SelfIssuedAuthMethod\n scope: Scope\n audience: Audience\n}\n/**\n *\n * Authentication configuration for a network\n *\n */\nexport type Auth =\n | AuthorizationCodeAuth\n | ClientCredentialsAuth\n | SelfSignedAuth\n | SelfIssuedAuth\n/**\n *\n * Ledger api url\n *\n */\nexport type LedgerApi = string\n/**\n *\n * Connected network metadata. Privileged credentials (adminAuth, serviceAccountAuth) are included only for the admin user.\n *\n */\nexport interface Network {\n id: NetworkId\n name: Name\n description: Description\n synchronizerId?: SynchronizerId\n identityProviderId: IdentityProviderId\n auth: Auth\n adminAuth?: Auth\n serviceAccountAuth?: Auth\n ledgerApi: LedgerApi\n}\n/**\n *\n * Ledger api url\n *\n */\nexport type NetworkName = string\nexport type Id = string\n/**\n *\n * OAuth identity provider\n *\n */\nexport type OauthIdpType = 'oauth'\n/**\n *\n * The configuration URL for the identity provider.\n *\n */\nexport type ConfigUrl = string\nexport interface OauthIdp {\n id: Id\n type: OauthIdpType\n issuer: Issuer\n configUrl: ConfigUrl\n}\n/**\n *\n * Self-signed identity provider\n *\n */\nexport type SelfSignedIdpType = 'self_signed'\nexport interface SelfSignedIdp {\n id: Id\n type: SelfSignedIdpType\n issuer: Issuer\n}\n/**\n *\n * Self-issued identity provider\n *\n */\nexport type SelfIssuedIdpType = 'self_issued'\nexport interface SelfIssuedIdp {\n id: Id\n type: SelfIssuedIdpType\n}\n/**\n *\n * Structure representing an identity provider\n *\n */\nexport type Idp = OauthIdp | SelfSignedIdp | SelfIssuedIdp\n/**\n *\n * Set as primary wallet for dApp usage.\n *\n */\nexport type Primary = boolean\n/**\n *\n * The party hint and name of the wallet.\n *\n */\nexport type PartyHint = string\n/**\n *\n * The signing provider ID the wallet corresponds to.\n *\n */\nexport type SigningProviderId = string\n/**\n *\n * Name of signing provider's key to use for getting keys.\n *\n */\nexport type KeyName = string\n/**\n *\n * User id used while onboarding.\n *\n */\nexport type Username = string\n/**\n *\n * The origin (dApp URL) that initiated this transaction request.\n *\n */\nexport type Origin = string\n/**\n *\n * Onboarding session id required by the remaining self-issued onboarding methods.\n *\n */\nexport type SessionId = string\n/**\n *\n * The party ID corresponding to the wallet.\n *\n */\nexport type PartyId = string\n/**\n *\n * Filter wallets by network IDs.\n *\n */\nexport type NetworkIds = NetworkId[]\n/**\n *\n * Filter wallets by signing provider IDs.\n *\n */\nexport type SigningProviderIds = SigningProviderId[]\n/**\n *\n * Filter for the wallets to be returned.\n *\n */\nexport interface WalletFilter {\n networkIds?: NetworkIds\n signingProviderIds?: SigningProviderIds\n}\n/**\n *\n * The internal transaction identifier.\n *\n */\nexport type TransactionId = string\n/**\n *\n * The internal identifier of the pending message-signing request.\n *\n */\nexport type MessageId = string\n/**\n *\n * Limit of transactions to return.\n *\n */\nexport type Limit = number\n/**\n *\n * Cursor for next page of results.\n *\n */\nexport type CursorAsString = string\n/**\n *\n * Cursor for next page of results.\n *\n */\nexport type Cursor = CursorAsString\n/**\n *\n * The public key of the party.\n *\n */\nexport type PublicKey = string\n/**\n *\n * Authentication method configured for this network\n *\n */\nexport type AuthMethod = string\n/**\n *\n * Network metadata exposed by listNetworks without sensitive auth configuration\n *\n */\nexport interface PublicNetwork {\n id: NetworkId\n name: Name\n description: Description\n synchronizerId?: SynchronizerId\n identityProviderId: IdentityProviderId\n ledgerApi: LedgerApi\n authMethod: AuthMethod\n clientId?: ClientId\n scope?: Scope\n audience?: Audience\n}\nexport type Networks = PublicNetwork[]\n/**\n *\n * The access token for the session.\n *\n */\nexport type AccessToken = string\nexport type Idps = Idp[]\n/**\n *\n * The status of the wallet.\n *\n */\nexport type WalletStatus = 'initialized' | 'allocated' | 'removed'\n/**\n *\n * The party hint and name of the wallet.\n *\n */\nexport type Hint = string\n/**\n *\n * The namespace of the party.\n *\n */\nexport type Namespace = string\n/**\n *\n * Unique identifier of the signed transaction given by the Signing Provider. This may not be the same as the internal txId given by the Wallet Gateway.\n *\n */\nexport type ExternalTxId = string\n/**\n *\n * The topology transactions\n *\n */\nexport type TopologyTransactions = string\n/**\n *\n * Whether the wallet is disabled. Wallets are disabled when no signing provider matches the party's namespace during sync. Disabled wallets use participant as the default signing provider.\n *\n */\nexport type Disabled = boolean\n/**\n *\n * Reason for the wallet state, e.g., 'no signing provider matched'.\n *\n */\nexport type Reason = string\n/**\n *\n * Whether the party authenticates the user with self-issued tokens.\n *\n */\nexport type IsAuthParty = boolean\nexport type PartyLevelRight = 'CanActAs' | 'CanReadAs' | 'CanExecuteAs'\n/**\n *\n * The rights of the wallet.\n *\n */\nexport type PartyRights = PartyLevelRight[]\n/**\n *\n * Structure representing a wallet\n *\n */\nexport interface Wallet {\n primary: Primary\n partyId: PartyId\n status: WalletStatus\n hint: Hint\n publicKey: PublicKey\n namespace: Namespace\n networkId: NetworkId\n signingProviderId: SigningProviderId\n externalTxId?: ExternalTxId\n topologyTransactions?: TopologyTransactions\n disabled?: Disabled\n reason?: Reason\n isAuthParty?: IsAuthParty\n rights: PartyRights\n}\n/**\n *\n * create when there is no ledger user yet. select when the user already authenticates with a primary party.\n *\n */\nexport type SelfIssuedLoginMode = 'create' | 'select'\ntype AlwaysTrue = any\n/**\n *\n * Party ids of non-disabled wallets added in this syncWallets call.\n *\n */\nexport type SyncWalletsResultAdded = PartyId[]\n/**\n *\n * Party ids of existing wallets whose status became initialized, whose rights changed, or whose isAuthParty flag changed in this syncWallets call.\n *\n */\nexport type SyncWalletsResultUpdated = PartyId[]\n/**\n *\n * Party ids of wallets added disabled, or existing wallets disabled, in this syncWallets call.\n *\n */\nexport type SyncWalletsResultDisabled = PartyId[]\n/**\n *\n * Whether wallet sync is needed. Returns true if there are disabled wallets or parties on the ledger that aren't in the store.\n *\n */\nexport type WalletSyncNeeded = boolean\nexport type TxStatusSigned = 'signed'\n/**\n *\n * The signature of the message.\n *\n */\nexport type Signature = string\nexport type SignedBy = string\nexport interface SignResultSigned {\n status: TxStatusSigned\n signature: Signature\n signedBy: SignedBy\n partyId: PartyId\n externalTxId?: ExternalTxId\n}\nexport type TxStatusPending = 'pending'\nexport interface SignResultPending {\n status: TxStatusPending\n partyId: PartyId\n externalTxId: ExternalTxId\n}\nexport type TxStatusRejected = 'rejected'\nexport interface SignResultRejected {\n status: TxStatusRejected\n partyId: PartyId\n externalTxId: ExternalTxId\n}\nexport type TxStatusFailed = 'failed'\nexport interface SignResultFailed {\n status: TxStatusFailed\n partyId: PartyId\n externalTxId: ExternalTxId\n}\n/**\n *\n * The status of the transaction.\n *\n */\nexport type Status = string\n/**\n *\n * Reason for why the transaction failed.\n *\n */\nexport type FailureReason = string\n/**\n *\n * The message to sign.\n *\n */\nexport type Message = string\n/**\n *\n * The timestamp when the API key was created.\n *\n */\nexport type CreatedAt = string\n/**\n *\n * The timestamp when the transaction was signed.\n *\n */\nexport type SignedAt = string\nexport interface MessageRaw {\n id: MessageId\n status: Status\n partyId: PartyId\n publicKey: PublicKey\n message: Message\n origin?: Origin\n createdAt: CreatedAt\n signedAt?: SignedAt\n signature?: Signature\n externalTxId?: ExternalTxId\n failureReason?: FailureReason\n}\nexport type Messages = MessageRaw[]\nexport type UserLevelRight = 'CanReadAsAnyParty' | 'CanExecuteAsAnyParty'\n/**\n *\n * The rights of the user for the network.\n *\n */\nexport type UserRights = UserLevelRight[]\n/**\n *\n * Structure representing the connected network session\n *\n */\nexport interface Session {\n id: Id\n origin?: Origin\n network: Network\n idp: Idp\n accessToken: AccessToken\n status: Status\n reason?: Reason\n rights: UserRights\n}\nexport type Sessions = Session[]\n/**\n *\n * The unique identifier of the command associated with the transaction.\n *\n */\nexport type CommandId = string\n/**\n *\n * The transaction data corresponding to the command ID.\n *\n */\nexport type PreparedTransaction = string\n/**\n *\n * The hash of the prepared transaction.\n *\n */\nexport type PreparedTransactionHash = string\n/**\n *\n * Optional payload associated with the transaction.\n *\n */\nexport type Payload = string\nexport interface Transaction {\n id: TransactionId\n commandId: CommandId\n status: Status\n createdAt?: CreatedAt\n signedAt?: SignedAt\n preparedTransaction: PreparedTransaction\n preparedTransactionHash: PreparedTransactionHash\n payload?: Payload\n origin?: Origin\n externalTxId?: ExternalTxId\n failureReason?: FailureReason\n}\nexport type Transactions = Transaction[]\n/**\n *\n * Cursor for next page of results.\n *\n */\nexport type NextCursor = string\n/**\n *\n * Number of total transactions for the user.\n *\n */\nexport type Count = number\n/**\n *\n * The unique identifier of the current user.\n *\n */\nexport type UserIdentifier = string\n/**\n *\n * Whether the current user is an admin.\n *\n */\nexport type IsAdminFlag = boolean\n/**\n *\n * The generated API key.\n *\n */\nexport type ApiKeyResult = string\nexport interface ApiKey {\n id: Id\n name: Name\n createdAt: CreatedAt\n}\n/**\n *\n * The list of API keys.\n *\n */\nexport type ApiKeys = ApiKey[]\n/**\n *\n * The IDs of the available signing providers.\n *\n */\nexport type SigningProviders = SigningProviderId[]\nexport interface Key {\n id: Id\n name: Name\n publicKey: PublicKey\n}\n/**\n *\n * The list of signing provider's available keys.\n *\n */\nexport type Keys = Key[]\n/**\n *\n * Represents a null value, used in responses where no data is returned.\n *\n */\nexport type Null = null\nexport interface AddNetworkParams {\n network: Network\n}\nexport interface RemoveNetworkParams {\n networkName: NetworkName\n}\nexport interface GetNetworkParams {\n networkId: NetworkId\n}\nexport interface SelfSignedAccessTokenParams {\n networkId: NetworkId\n clientId: ClientId\n clientSecret: ClientSecret\n}\nexport interface AddIdpParams {\n idp: Idp\n}\nexport interface RemoveIdpParams {\n identityProviderId: IdentityProviderId\n}\nexport interface CreateWalletParams {\n primary?: Primary\n partyHint: PartyHint\n signingProviderId: SigningProviderId\n keyName?: KeyName\n}\nexport interface StartSelfIssuedLoginSessionParams {\n username: Username\n networkId: NetworkId\n origin: Origin\n}\nexport interface GetSelfIssuedLoginModeParams {\n sessionId: SessionId\n}\nexport interface CreateSelfIssuedWalletParams {\n sessionId: SessionId\n partyHint: PartyHint\n signingProviderId: SigningProviderId\n}\nexport interface AllocateSelfIssuedWalletParams {\n sessionId: SessionId\n partyId: PartyId\n}\nexport interface CompleteSelfIssuedLoginParams {\n sessionId: SessionId\n partyId: PartyId\n}\nexport interface RemoveSelfIssuedLoginSessionParams {\n sessionId: SessionId\n}\nexport interface AllocatePartyForWalletParams {\n partyId: PartyId\n}\nexport interface SetPrimaryWalletParams {\n partyId: PartyId\n}\nexport interface RemoveWalletParams {\n partyId: PartyId\n}\nexport interface ListWalletsParams {\n filter?: WalletFilter\n}\nexport interface SignParams {\n transactionId: TransactionId\n partyId: PartyId\n}\nexport interface SignMessageParams {\n messageId: MessageId\n partyId?: PartyId\n}\nexport interface GetSignMessageStatusParams {\n messageId: MessageId\n}\nexport interface GetMessageToSignParams {\n messageId: MessageId\n}\nexport interface DeleteMessageToSignParams {\n messageId: MessageId\n}\nexport interface ExecuteParams {\n partyId: PartyId\n transactionId: TransactionId\n}\nexport interface AddSessionParams {\n origin: Origin\n networkId: NetworkId\n}\nexport interface GetTransactionParams {\n transactionId: TransactionId\n}\nexport interface GetTransactionStatusParams {\n transactionId: TransactionId\n partyId?: PartyId\n}\nexport interface ListTransactionsParams {\n limit?: Limit\n cursor?: Cursor\n}\nexport interface DeleteTransactionParams {\n transactionId: TransactionId\n}\nexport interface GenerateApiKeyParams {\n name: Name\n}\nexport interface RemoveApiKeyParams {\n id: Id\n}\nexport interface ListSigningProviderKeysParams {\n signingProviderId: SigningProviderId\n}\nexport interface GetWalletParams {\n partyId: PartyId\n}\nexport interface ChangeSigningProviderParams {\n signingProviderId: SigningProviderId\n partyId: PartyId\n publicKey: PublicKey\n}\nexport interface ListNetworksResult {\n networks: Networks\n}\nexport interface GetNetworkResult {\n network: Network\n}\nexport interface SelfSignedAccessTokenResult {\n accessToken: AccessToken\n}\nexport interface ListIdpsResult {\n idps: Idps\n}\nexport interface CreateWalletResult {\n wallet: Wallet\n}\nexport interface StartSelfIssuedLoginSessionResult {\n sessionId: SessionId\n}\nexport interface GetSelfIssuedLoginModeResult {\n mode: SelfIssuedLoginMode\n wallet?: Wallet\n}\nexport interface CreateSelfIssuedWalletResult {\n wallet: Wallet\n}\nexport interface AllocateSelfIssuedWalletResult {\n wallet: Wallet\n}\nexport interface CompleteSelfIssuedLoginResult {\n wallet: Wallet\n accessToken: AccessToken\n sessionId: SessionId\n}\nexport interface AllocatePartyForWalletResult {\n wallet: Wallet\n}\nexport interface RemovePartyResult {\n [key: string]: any\n}\n/**\n *\n * An array of wallets that match the filter criteria.\n *\n */\nexport type ListWalletsResult = Wallet[]\n/**\n *\n * Added, updated and disabled wallets as a result of the sync.\n *\n */\nexport interface SyncWalletsResult {\n added: SyncWalletsResultAdded\n updated: SyncWalletsResultUpdated\n disabled: SyncWalletsResultDisabled\n}\nexport interface IsWalletSyncNeededResult {\n walletSyncNeeded: WalletSyncNeeded\n}\nexport type SignResult =\n | SignResultSigned\n | SignResultPending\n | SignResultRejected\n | SignResultFailed\nexport interface SignMessageResult {\n signature?: Signature\n publicKey: PublicKey\n status: Status\n externalTxId?: ExternalTxId\n failureReason?: FailureReason\n}\nexport interface GetSignMessageStatusResult {\n status: Status\n externalTxId?: ExternalTxId\n signature?: Signature\n failureReason?: FailureReason\n}\nexport interface GetMessageToSignResult {\n message: MessageRaw\n}\nexport interface ListMessagesToSignResult {\n messages: Messages\n}\nexport interface ExecuteResult {\n [key: string]: any\n}\n/**\n *\n * Structure representing the connected network session\n *\n */\nexport interface AddSessionResult {\n id: Id\n origin?: Origin\n network: Network\n idp: Idp\n accessToken: AccessToken\n status: Status\n reason?: Reason\n rights: UserRights\n}\nexport interface ListSessionsResult {\n sessions: Sessions\n}\nexport interface GetTransactionResult {\n id: TransactionId\n commandId: CommandId\n status: Status\n createdAt?: CreatedAt\n signedAt?: SignedAt\n preparedTransaction: PreparedTransaction\n preparedTransactionHash: PreparedTransactionHash\n payload?: Payload\n origin?: Origin\n externalTxId?: ExternalTxId\n failureReason?: FailureReason\n}\nexport interface GetTransactionStatusResult {\n status: Status\n externalTxId?: ExternalTxId\n failureReason?: FailureReason\n}\nexport interface ListTransactionsResult {\n transactions: Transactions\n nextCursor?: NextCursor\n count: Count\n}\nexport interface GetUserResult {\n userId: UserIdentifier\n isAdmin: IsAdminFlag\n}\nexport interface GeneratedApiKey {\n id: Id\n apiKey: ApiKeyResult\n}\nexport interface ListApiKeysResult {\n apiKeys: ApiKeys\n}\nexport interface ListSigningProvidersResult {\n signingProviders: SigningProviders\n}\nexport interface ListSigningProviderKeysResult {\n keys: Keys\n}\nexport type GetWalletResult = Wallet | Null\n/**\n *\n * Generated! Represents an alias to any of the provided schemas\n *\n */\n\nexport type AddNetwork = (params: AddNetworkParams) => Promise<Null>\nexport type RemoveNetwork = (params: RemoveNetworkParams) => Promise<Null>\nexport type ListNetworks = () => Promise<ListNetworksResult>\nexport type GetNetwork = (params: GetNetworkParams) => Promise<GetNetworkResult>\nexport type SelfSignedAccessToken = (\n params: SelfSignedAccessTokenParams\n) => Promise<SelfSignedAccessTokenResult>\nexport type AddIdp = (params: AddIdpParams) => Promise<Null>\nexport type RemoveIdp = (params: RemoveIdpParams) => Promise<Null>\nexport type ListIdps = () => Promise<ListIdpsResult>\nexport type CreateWallet = (\n params: CreateWalletParams\n) => Promise<CreateWalletResult>\nexport type StartSelfIssuedLoginSession = (\n params: StartSelfIssuedLoginSessionParams\n) => Promise<StartSelfIssuedLoginSessionResult>\nexport type GetSelfIssuedLoginMode = (\n params: GetSelfIssuedLoginModeParams\n) => Promise<GetSelfIssuedLoginModeResult>\nexport type CreateSelfIssuedWallet = (\n params: CreateSelfIssuedWalletParams\n) => Promise<CreateSelfIssuedWalletResult>\nexport type AllocateSelfIssuedWallet = (\n params: AllocateSelfIssuedWalletParams\n) => Promise<AllocateSelfIssuedWalletResult>\nexport type CompleteSelfIssuedLogin = (\n params: CompleteSelfIssuedLoginParams\n) => Promise<CompleteSelfIssuedLoginResult>\nexport type RemoveSelfIssuedLoginSession = (\n params: RemoveSelfIssuedLoginSessionParams\n) => Promise<Null>\nexport type AllocatePartyForWallet = (\n params: AllocatePartyForWalletParams\n) => Promise<AllocatePartyForWalletResult>\nexport type SetPrimaryWallet = (params: SetPrimaryWalletParams) => Promise<Null>\nexport type RemoveWallet = (\n params: RemoveWalletParams\n) => Promise<RemovePartyResult>\nexport type ListWallets = (\n params: ListWalletsParams\n) => Promise<ListWalletsResult>\nexport type SyncWallets = () => Promise<SyncWalletsResult>\nexport type IsWalletSyncNeeded = () => Promise<IsWalletSyncNeededResult>\nexport type Sign = (params: SignParams) => Promise<SignResult>\nexport type SignMessage = (\n params: SignMessageParams\n) => Promise<SignMessageResult>\nexport type GetSignMessageStatus = (\n params: GetSignMessageStatusParams\n) => Promise<GetSignMessageStatusResult>\nexport type GetMessageToSign = (\n params: GetMessageToSignParams\n) => Promise<GetMessageToSignResult>\nexport type ListMessagesToSign = () => Promise<ListMessagesToSignResult>\nexport type DeleteMessageToSign = (\n params: DeleteMessageToSignParams\n) => Promise<Null>\nexport type Execute = (params: ExecuteParams) => Promise<ExecuteResult>\nexport type AddSession = (params: AddSessionParams) => Promise<AddSessionResult>\nexport type RemoveSession = () => Promise<Null>\nexport type ListSessions = () => Promise<ListSessionsResult>\nexport type GetTransaction = (\n params: GetTransactionParams\n) => Promise<GetTransactionResult>\nexport type GetTransactionStatus = (\n params: GetTransactionStatusParams\n) => Promise<GetTransactionStatusResult>\nexport type ListTransactions = (\n params: ListTransactionsParams\n) => Promise<ListTransactionsResult>\nexport type DeleteTransaction = (\n params: DeleteTransactionParams\n) => Promise<Null>\nexport type GetUser = () => Promise<GetUserResult>\nexport type GenerateApiKey = (\n params: GenerateApiKeyParams\n) => Promise<GeneratedApiKey>\nexport type ListApiKeys = () => Promise<ListApiKeysResult>\nexport type RemoveApiKey = (params: RemoveApiKeyParams) => Promise<Null>\nexport type ListSigningProviders = () => Promise<ListSigningProvidersResult>\nexport type ListSigningProviderKeys = (\n params: ListSigningProviderKeysParams\n) => Promise<ListSigningProviderKeysResult>\nexport type GetWallet = (params: GetWalletParams) => Promise<GetWalletResult>\nexport type ChangeSigningProvider = (\n params: ChangeSigningProviderParams\n) => Promise<Null>\n/* oxlint-enable no-unused-vars */\n\ntype Params<T> = T extends (...args: infer A) => any\n ? A extends []\n ? never\n : A[0]\n : never\ntype Result<T> = T extends (...args: any[]) => Promise<infer R> ? R : never\n\nexport type RpcTypes = {\n addNetwork: {\n params: Params<AddNetwork>\n result: Result<AddNetwork>\n }\n\n removeNetwork: {\n params: Params<RemoveNetwork>\n result: Result<RemoveNetwork>\n }\n\n listNetworks: {\n params: Params<ListNetworks>\n result: Result<ListNetworks>\n }\n\n getNetwork: {\n params: Params<GetNetwork>\n result: Result<GetNetwork>\n }\n\n selfSignedAccessToken: {\n params: Params<SelfSignedAccessToken>\n result: Result<SelfSignedAccessToken>\n }\n\n addIdp: {\n params: Params<AddIdp>\n result: Result<AddIdp>\n }\n\n removeIdp: {\n params: Params<RemoveIdp>\n result: Result<RemoveIdp>\n }\n\n listIdps: {\n params: Params<ListIdps>\n result: Result<ListIdps>\n }\n\n createWallet: {\n params: Params<CreateWallet>\n result: Result<CreateWallet>\n }\n\n startSelfIssuedLoginSession: {\n params: Params<StartSelfIssuedLoginSession>\n result: Result<StartSelfIssuedLoginSession>\n }\n\n getSelfIssuedLoginMode: {\n params: Params<GetSelfIssuedLoginMode>\n result: Result<GetSelfIssuedLoginMode>\n }\n\n createSelfIssuedWallet: {\n params: Params<CreateSelfIssuedWallet>\n result: Result<CreateSelfIssuedWallet>\n }\n\n allocateSelfIssuedWallet: {\n params: Params<AllocateSelfIssuedWallet>\n result: Result<AllocateSelfIssuedWallet>\n }\n\n completeSelfIssuedLogin: {\n params: Params<CompleteSelfIssuedLogin>\n result: Result<CompleteSelfIssuedLogin>\n }\n\n removeSelfIssuedLoginSession: {\n params: Params<RemoveSelfIssuedLoginSession>\n result: Result<RemoveSelfIssuedLoginSession>\n }\n\n allocatePartyForWallet: {\n params: Params<AllocatePartyForWallet>\n result: Result<AllocatePartyForWallet>\n }\n\n setPrimaryWallet: {\n params: Params<SetPrimaryWallet>\n result: Result<SetPrimaryWallet>\n }\n\n removeWallet: {\n params: Params<RemoveWallet>\n result: Result<RemoveWallet>\n }\n\n listWallets: {\n params: Params<ListWallets>\n result: Result<ListWallets>\n }\n\n syncWallets: {\n params: Params<SyncWallets>\n result: Result<SyncWallets>\n }\n\n isWalletSyncNeeded: {\n params: Params<IsWalletSyncNeeded>\n result: Result<IsWalletSyncNeeded>\n }\n\n sign: {\n params: Params<Sign>\n result: Result<Sign>\n }\n\n signMessage: {\n params: Params<SignMessage>\n result: Result<SignMessage>\n }\n\n getSignMessageStatus: {\n params: Params<GetSignMessageStatus>\n result: Result<GetSignMessageStatus>\n }\n\n getMessageToSign: {\n params: Params<GetMessageToSign>\n result: Result<GetMessageToSign>\n }\n\n listMessagesToSign: {\n params: Params<ListMessagesToSign>\n result: Result<ListMessagesToSign>\n }\n\n deleteMessageToSign: {\n params: Params<DeleteMessageToSign>\n result: Result<DeleteMessageToSign>\n }\n\n execute: {\n params: Params<Execute>\n result: Result<Execute>\n }\n\n addSession: {\n params: Params<AddSession>\n result: Result<AddSession>\n }\n\n removeSession: {\n params: Params<RemoveSession>\n result: Result<RemoveSession>\n }\n\n listSessions: {\n params: Params<ListSessions>\n result: Result<ListSessions>\n }\n\n getTransaction: {\n params: Params<GetTransaction>\n result: Result<GetTransaction>\n }\n\n getTransactionStatus: {\n params: Params<GetTransactionStatus>\n result: Result<GetTransactionStatus>\n }\n\n listTransactions: {\n params: Params<ListTransactions>\n result: Result<ListTransactions>\n }\n\n deleteTransaction: {\n params: Params<DeleteTransaction>\n result: Result<DeleteTransaction>\n }\n\n getUser: {\n params: Params<GetUser>\n result: Result<GetUser>\n }\n\n generateApiKey: {\n params: Params<GenerateApiKey>\n result: Result<GenerateApiKey>\n }\n\n listApiKeys: {\n params: Params<ListApiKeys>\n result: Result<ListApiKeys>\n }\n\n removeApiKey: {\n params: Params<RemoveApiKey>\n result: Result<RemoveApiKey>\n }\n\n listSigningProviders: {\n params: Params<ListSigningProviders>\n result: Result<ListSigningProviders>\n }\n\n listSigningProviderKeys: {\n params: Params<ListSigningProviderKeys>\n result: Result<ListSigningProviderKeys>\n }\n\n getWallet: {\n params: Params<GetWallet>\n result: Result<GetWallet>\n }\n\n changeSigningProvider: {\n params: Params<ChangeSigningProvider>\n result: Result<ChangeSigningProvider>\n }\n}\n\nexport class WalletJSONRPCUserAPI {\n public transport: RpcTransport\n\n constructor(transport: RpcTransport) {\n this.transport = transport\n }\n\n public async request<M extends keyof RpcTypes>(\n args: RequestArgs<RpcTypes, M>\n ): Promise<RpcTypes[M]['result']> {\n const response = await this.transport.submit(args as RequestPayload)\n return response.result as RpcTypes[M]['result']\n }\n}\nexport default WalletJSONRPCUserAPI\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgsCA,IAAa,uBAAb,MAAkC;CAG9B,YAAY,WAAyB;EAF9B,gBAAA,MAAA,aAAA,KAAA,CAAA;EAGH,KAAK,YAAY;CACrB;CAEA,MAAa,QACT,MAC8B;EAE9B,QAAO,MADgB,KAAK,UAAU,OAAO,IAAsB,EAAA,CACnD;CACpB;AACJ"}
|
|
1
|
+
{"version":3,"file":"index.cjs","names":[],"sources":["../src/index.ts"],"sourcesContent":["// Copyright (c) 2025-2026 Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved.\n// SPDX-License-Identifier: Apache-2.0\n\n// Code generated by @open-rpc/generator DO NOT EDIT.\nimport type { RequestArgs, RequestPayload } from '@canton-network/core-types'\nimport type { RpcTransport } from '@canton-network/core-rpc-transport'\n\n/* oxlint-disable no-unused-vars */\n/**\n *\n * The network ID the wallet corresponds to.\n *\n */\nexport type NetworkId = string\nexport type Name = string\n/**\n *\n * Description of network\n *\n */\nexport type Description = string\n/**\n *\n * Synchronizer ID\n *\n */\nexport type SynchronizerId = string\n/**\n *\n * Identity Provider ID\n *\n */\nexport type IdentityProviderId = string\nexport type AuthorizationCodeAuthMethod = 'authorization_code'\nexport type Scope = string\nexport type ClientId = string\n/**\n *\n * Bare participant ID, with no https://daml.com/jwt/aud/participant/ prefix (unlike the other auth methods).\n *\n */\nexport type Audience = string\ntype AlwaysFalse = any\n/**\n *\n * Authorization code authentication configuration\n *\n */\nexport interface AuthorizationCodeAuth {\n method: AuthorizationCodeAuthMethod\n scope: Scope\n clientId: ClientId\n audience: Audience\n}\nexport type ClientCredentialsAuthMethod = 'client_credentials'\n/**\n *\n * Overrides the network's identity provider for client credentials token acquisition\n *\n */\nexport type ClientCredentialsIdentityProviderId = string\nexport type ClientSecret = string\n/**\n *\n * Client credentials authentication configuration\n *\n */\nexport interface ClientCredentialsAuth {\n method: ClientCredentialsAuthMethod\n identityProviderId?: ClientCredentialsIdentityProviderId\n scope: Scope\n clientId: ClientId\n clientSecret: ClientSecret\n audience: Audience\n}\nexport type SelfSignedAuthMethod = 'self_signed'\n/**\n *\n * Issuer of identity provider\n *\n */\nexport type Issuer = string\n/**\n *\n * Self-signed authentication configuration\n *\n */\nexport interface SelfSignedAuth {\n method: SelfSignedAuthMethod\n scope: Scope\n clientId: ClientId\n clientSecret: ClientSecret\n issuer: Issuer\n audience: Audience\n}\nexport type SelfIssuedAuthMethod = 'self_issued'\n/**\n *\n * Self-issued authentication configuration\n *\n */\nexport interface SelfIssuedAuth {\n method: SelfIssuedAuthMethod\n scope: Scope\n audience: Audience\n}\n/**\n *\n * Authentication configuration for a network\n *\n */\nexport type Auth =\n | AuthorizationCodeAuth\n | ClientCredentialsAuth\n | SelfSignedAuth\n | SelfIssuedAuth\n/**\n *\n * Ledger api url\n *\n */\nexport type LedgerApi = string\n/**\n *\n * Connected network metadata. Privileged credentials (adminAuth, serviceAccountAuth) are included only for the admin user.\n *\n */\nexport interface Network {\n id: NetworkId\n name: Name\n description: Description\n synchronizerId?: SynchronizerId\n identityProviderId: IdentityProviderId\n auth: Auth\n adminAuth?: Auth\n serviceAccountAuth?: Auth\n ledgerApi: LedgerApi\n}\n/**\n *\n * Ledger api url\n *\n */\nexport type NetworkName = string\nexport type Id = string\n/**\n *\n * OAuth identity provider\n *\n */\nexport type OauthIdpType = 'oauth'\n/**\n *\n * The configuration URL for the identity provider.\n *\n */\nexport type ConfigUrl = string\nexport interface OauthIdp {\n id: Id\n type: OauthIdpType\n issuer: Issuer\n configUrl: ConfigUrl\n}\n/**\n *\n * Self-signed identity provider\n *\n */\nexport type SelfSignedIdpType = 'self_signed'\nexport interface SelfSignedIdp {\n id: Id\n type: SelfSignedIdpType\n issuer: Issuer\n}\n/**\n *\n * Self-issued identity provider\n *\n */\nexport type SelfIssuedIdpType = 'self_issued'\nexport interface SelfIssuedIdp {\n id: Id\n type: SelfIssuedIdpType\n}\n/**\n *\n * Structure representing an identity provider\n *\n */\nexport type Idp = OauthIdp | SelfSignedIdp | SelfIssuedIdp\n/**\n *\n * Set as primary wallet for dApp usage.\n *\n */\nexport type Primary = boolean\n/**\n *\n * The party hint and name of the wallet.\n *\n */\nexport type PartyHint = string\n/**\n *\n * The signing provider ID the wallet corresponds to.\n *\n */\nexport type SigningProviderId = string\n/**\n *\n * Name of signing provider's key to use for the wallet.\n *\n */\nexport type KeyName = string\n/**\n *\n * User id used while onboarding.\n *\n */\nexport type Username = string\n/**\n *\n * The origin (dApp URL) that initiated this transaction request.\n *\n */\nexport type Origin = string\n/**\n *\n * Session id required by the remaining self-issued onboarding methods.\n *\n */\nexport type SessionId = string\n/**\n *\n * The party ID corresponding to the wallet.\n *\n */\nexport type PartyId = string\n/**\n *\n * The internal identifier of the pending message-signing request.\n *\n */\nexport type MessageId = string\n/**\n *\n * Filter wallets by network IDs.\n *\n */\nexport type NetworkIds = NetworkId[]\n/**\n *\n * Filter wallets by signing provider IDs.\n *\n */\nexport type SigningProviderIds = SigningProviderId[]\n/**\n *\n * Filter for the wallets to be returned.\n *\n */\nexport interface WalletFilter {\n networkIds?: NetworkIds\n signingProviderIds?: SigningProviderIds\n}\n/**\n *\n * The internal transaction identifier.\n *\n */\nexport type TransactionId = string\n/**\n *\n * Limit of transactions to return.\n *\n */\nexport type Limit = number\n/**\n *\n * Cursor for next page of results.\n *\n */\nexport type CursorAsString = string\n/**\n *\n * Cursor for next page of results.\n *\n */\nexport type Cursor = CursorAsString\n/**\n *\n * The public key of the party.\n *\n */\nexport type PublicKey = string\n/**\n *\n * Authentication method configured for this network\n *\n */\nexport type AuthMethod = string\n/**\n *\n * Network metadata exposed by listNetworks without sensitive auth configuration\n *\n */\nexport interface PublicNetwork {\n id: NetworkId\n name: Name\n description: Description\n synchronizerId?: SynchronizerId\n identityProviderId: IdentityProviderId\n ledgerApi: LedgerApi\n authMethod: AuthMethod\n clientId?: ClientId\n scope?: Scope\n audience?: Audience\n}\nexport type Networks = PublicNetwork[]\n/**\n *\n * The access token for the session.\n *\n */\nexport type AccessToken = string\nexport type Idps = Idp[]\n/**\n *\n * The status of the wallet.\n *\n */\nexport type WalletStatus = 'initialized' | 'allocated' | 'removed'\n/**\n *\n * The party hint and name of the wallet.\n *\n */\nexport type Hint = string\n/**\n *\n * The namespace of the party.\n *\n */\nexport type Namespace = string\n/**\n *\n * Unique identifier of the signed transaction given by the Signing Provider. This may not be the same as the internal txId given by the Wallet Gateway.\n *\n */\nexport type ExternalTxId = string\n/**\n *\n * The topology transactions\n *\n */\nexport type TopologyTransactions = string\n/**\n *\n * Whether the wallet is disabled. Wallets are disabled when no signing provider matches the party's namespace during sync. Disabled wallets use participant as the default signing provider.\n *\n */\nexport type Disabled = boolean\n/**\n *\n * Reason for the wallet state, e.g., 'no signing provider matched'.\n *\n */\nexport type Reason = string\n/**\n *\n * Whether the party authenticates the user with self-issued tokens.\n *\n */\nexport type IsAuthParty = boolean\nexport type PartyLevelRight = 'CanActAs' | 'CanReadAs' | 'CanExecuteAs'\n/**\n *\n * The rights of the wallet.\n *\n */\nexport type PartyRights = PartyLevelRight[]\n/**\n *\n * Structure representing a wallet\n *\n */\nexport interface Wallet {\n primary: Primary\n partyId: PartyId\n status: WalletStatus\n hint: Hint\n publicKey: PublicKey\n namespace: Namespace\n networkId: NetworkId\n signingProviderId: SigningProviderId\n externalTxId?: ExternalTxId\n topologyTransactions?: TopologyTransactions\n disabled?: Disabled\n reason?: Reason\n isAuthParty?: IsAuthParty\n rights: PartyRights\n}\n/**\n *\n * create when there is no ledger user yet. select when the user already authenticates with a primary party.\n *\n */\nexport type SelfIssuedLoginMode = 'create' | 'select'\nexport interface Key {\n id: Id\n name: Name\n publicKey: PublicKey\n}\n/**\n *\n * The list of signing provider's available keys.\n *\n */\nexport type Keys = Key[]\nexport type SignSelfIssuedAccessTokenStatusConnected = 'connected'\nexport interface SignSelfIssuedAccessTokenConnected {\n status: SignSelfIssuedAccessTokenStatusConnected\n wallet: Wallet\n accessToken: AccessToken\n sessionId: SessionId\n}\nexport type SignSelfIssuedAccessTokenStatusAwaitingSignature =\n 'awaiting-signature'\nexport interface SignSelfIssuedAccessTokenAwaitingSignature {\n status: SignSelfIssuedAccessTokenStatusAwaitingSignature\n messageId: MessageId\n}\nexport type SignSelfIssuedAccessTokenStatusFailed = 'failed'\n/**\n *\n * Reason for why the transaction failed.\n *\n */\nexport type FailureReason = string\nexport interface SignSelfIssuedAccessTokenFailed {\n status: SignSelfIssuedAccessTokenStatusFailed\n messageId: MessageId\n failureReason: FailureReason\n}\ntype AlwaysTrue = any\n/**\n *\n * Party ids of non-disabled wallets added in this syncWallets call.\n *\n */\nexport type SyncWalletsResultAdded = PartyId[]\n/**\n *\n * Party ids of existing wallets whose status became initialized, whose rights changed, or whose isAuthParty flag changed in this syncWallets call.\n *\n */\nexport type SyncWalletsResultUpdated = PartyId[]\n/**\n *\n * Party ids of wallets added disabled, or existing wallets disabled, in this syncWallets call.\n *\n */\nexport type SyncWalletsResultDisabled = PartyId[]\n/**\n *\n * Whether wallet sync is needed. Returns true if there are disabled wallets or parties on the ledger that aren't in the store.\n *\n */\nexport type WalletSyncNeeded = boolean\nexport type TxStatusSigned = 'signed'\n/**\n *\n * The signature of the message.\n *\n */\nexport type Signature = string\nexport type SignedBy = string\nexport interface SignResultSigned {\n status: TxStatusSigned\n signature: Signature\n signedBy: SignedBy\n partyId: PartyId\n externalTxId?: ExternalTxId\n}\nexport type TxStatusPending = 'pending'\nexport interface SignResultPending {\n status: TxStatusPending\n partyId: PartyId\n externalTxId: ExternalTxId\n}\nexport type TxStatusRejected = 'rejected'\nexport interface SignResultRejected {\n status: TxStatusRejected\n partyId: PartyId\n externalTxId: ExternalTxId\n}\nexport type TxStatusFailed = 'failed'\nexport interface SignResultFailed {\n status: TxStatusFailed\n partyId: PartyId\n externalTxId: ExternalTxId\n}\n/**\n *\n * The status of the transaction.\n *\n */\nexport type Status = string\n/**\n *\n * The message to sign.\n *\n */\nexport type Message = string\n/**\n *\n * The timestamp when the API key was created.\n *\n */\nexport type CreatedAt = string\n/**\n *\n * The timestamp when the transaction was signed.\n *\n */\nexport type SignedAt = string\nexport interface MessageRaw {\n id: MessageId\n status: Status\n partyId: PartyId\n publicKey: PublicKey\n message: Message\n origin?: Origin\n createdAt: CreatedAt\n signedAt?: SignedAt\n signature?: Signature\n externalTxId?: ExternalTxId\n failureReason?: FailureReason\n}\nexport type Messages = MessageRaw[]\nexport type UserLevelRight = 'CanReadAsAnyParty' | 'CanExecuteAsAnyParty'\n/**\n *\n * The rights of the user for the network.\n *\n */\nexport type UserRights = UserLevelRight[]\n/**\n *\n * Structure representing the connected network session\n *\n */\nexport interface Session {\n id: Id\n origin?: Origin\n network: Network\n idp: Idp\n accessToken: AccessToken\n status: Status\n reason?: Reason\n rights: UserRights\n}\nexport type Sessions = Session[]\n/**\n *\n * The unique identifier of the command associated with the transaction.\n *\n */\nexport type CommandId = string\n/**\n *\n * The transaction data corresponding to the command ID.\n *\n */\nexport type PreparedTransaction = string\n/**\n *\n * The hash of the prepared transaction.\n *\n */\nexport type PreparedTransactionHash = string\n/**\n *\n * Optional payload associated with the transaction.\n *\n */\nexport type Payload = string\nexport interface Transaction {\n id: TransactionId\n commandId: CommandId\n status: Status\n createdAt?: CreatedAt\n signedAt?: SignedAt\n preparedTransaction: PreparedTransaction\n preparedTransactionHash: PreparedTransactionHash\n payload?: Payload\n origin?: Origin\n externalTxId?: ExternalTxId\n failureReason?: FailureReason\n}\nexport type Transactions = Transaction[]\n/**\n *\n * Cursor for next page of results.\n *\n */\nexport type NextCursor = string\n/**\n *\n * Number of total transactions for the user.\n *\n */\nexport type Count = number\n/**\n *\n * The unique identifier of the current user.\n *\n */\nexport type UserIdentifier = string\n/**\n *\n * Whether the current user is an admin.\n *\n */\nexport type IsAdminFlag = boolean\n/**\n *\n * The version of the Wallet Gateway.\n *\n */\nexport type GatewayVersion = string\n/**\n *\n * Stable identifier of the notice.\n *\n */\nexport type NoticeId = string\nexport type NoticeSeverity = 'info' | 'warning'\nexport type NoticeMessage = string\n/**\n *\n * When the notice was first reported.\n *\n */\nexport type NoticeFirstSeenAt = string\n/**\n *\n * When the notice was last reported.\n *\n */\nexport type NoticeLastSeenAt = string\n/**\n *\n * A notice for server administrators, e.g. about deprecated configuration.\n *\n */\nexport interface ServerNotice {\n id: NoticeId\n severity: NoticeSeverity\n message: NoticeMessage\n firstSeenAt: NoticeFirstSeenAt\n lastSeenAt: NoticeLastSeenAt\n}\nexport type ServerNotices = ServerNotice[]\n/**\n *\n * The generated API key.\n *\n */\nexport type ApiKeyResult = string\nexport interface ApiKey {\n id: Id\n name: Name\n createdAt: CreatedAt\n}\n/**\n *\n * The list of API keys.\n *\n */\nexport type ApiKeys = ApiKey[]\n/**\n *\n * The IDs of the available signing providers.\n *\n */\nexport type SigningProviders = SigningProviderId[]\n/**\n *\n * Represents a null value, used in responses where no data is returned.\n *\n */\nexport type Null = null\nexport interface AddNetworkParams {\n network: Network\n}\nexport interface RemoveNetworkParams {\n networkName: NetworkName\n}\nexport interface GetNetworkParams {\n networkId: NetworkId\n}\nexport interface SelfSignedAccessTokenParams {\n networkId: NetworkId\n clientId: ClientId\n clientSecret: ClientSecret\n}\nexport interface AddIdpParams {\n idp: Idp\n}\nexport interface RemoveIdpParams {\n identityProviderId: IdentityProviderId\n}\nexport interface CreateWalletParams {\n primary?: Primary\n partyHint: PartyHint\n signingProviderId: SigningProviderId\n keyName?: KeyName\n}\nexport interface StartSelfIssuedLoginSessionParams {\n username: Username\n networkId: NetworkId\n origin: Origin\n}\nexport interface GetSelfIssuedLoginModeParams {\n sessionId: SessionId\n}\nexport interface ListSelfIssuedSigningProviderKeysParams {\n sessionId: SessionId\n signingProviderId: SigningProviderId\n}\nexport interface CreateSelfIssuedWalletParams {\n sessionId: SessionId\n partyHint: PartyHint\n signingProviderId: SigningProviderId\n keyName?: KeyName\n}\nexport interface AllocateSelfIssuedWalletParams {\n sessionId: SessionId\n partyId: PartyId\n}\nexport interface SignSelfIssuedAccessTokenParams {\n sessionId: SessionId\n partyId: PartyId\n}\nexport interface GetSignSelfIssuedAccessTokenStatusParams {\n sessionId: SessionId\n messageId: MessageId\n}\nexport interface RemoveSelfIssuedLoginSessionParams {\n sessionId: SessionId\n}\nexport interface AllocatePartyForWalletParams {\n partyId: PartyId\n}\nexport interface SetPrimaryWalletParams {\n partyId: PartyId\n}\nexport interface RemoveWalletParams {\n partyId: PartyId\n}\nexport interface ListWalletsParams {\n filter?: WalletFilter\n}\nexport interface SignParams {\n transactionId: TransactionId\n partyId: PartyId\n}\nexport interface SignMessageParams {\n messageId: MessageId\n partyId?: PartyId\n}\nexport interface GetSignMessageStatusParams {\n messageId: MessageId\n}\nexport interface GetMessageToSignParams {\n messageId: MessageId\n}\nexport interface DeleteMessageToSignParams {\n messageId: MessageId\n}\nexport interface ExecuteParams {\n partyId: PartyId\n transactionId: TransactionId\n}\nexport interface AddSessionParams {\n origin: Origin\n networkId: NetworkId\n}\nexport interface GetTransactionParams {\n transactionId: TransactionId\n}\nexport interface GetTransactionStatusParams {\n transactionId: TransactionId\n partyId?: PartyId\n}\nexport interface ListTransactionsParams {\n limit?: Limit\n cursor?: Cursor\n}\nexport interface DeleteTransactionParams {\n transactionId: TransactionId\n}\nexport interface GenerateApiKeyParams {\n name: Name\n}\nexport interface RemoveApiKeyParams {\n id: Id\n}\nexport interface ListSigningProviderKeysParams {\n signingProviderId: SigningProviderId\n}\nexport interface GetWalletParams {\n partyId: PartyId\n}\nexport interface ChangeSigningProviderParams {\n signingProviderId: SigningProviderId\n partyId: PartyId\n publicKey: PublicKey\n}\nexport interface ListNetworksResult {\n networks: Networks\n}\nexport interface GetNetworkResult {\n network: Network\n}\nexport interface SelfSignedAccessTokenResult {\n accessToken: AccessToken\n}\nexport interface ListIdpsResult {\n idps: Idps\n}\nexport interface CreateWalletResult {\n wallet: Wallet\n}\nexport interface StartSelfIssuedLoginSessionResult {\n sessionId: SessionId\n}\nexport interface GetSelfIssuedLoginModeResult {\n mode: SelfIssuedLoginMode\n wallet?: Wallet\n}\nexport interface ListSigningProviderKeysResult {\n keys: Keys\n}\nexport interface CreateSelfIssuedWalletResult {\n wallet: Wallet\n}\nexport interface AllocateSelfIssuedWalletResult {\n wallet: Wallet\n}\nexport type SignSelfIssuedAccessTokenResult =\n | SignSelfIssuedAccessTokenConnected\n | SignSelfIssuedAccessTokenAwaitingSignature\n | SignSelfIssuedAccessTokenFailed\nexport interface AllocatePartyForWalletResult {\n wallet: Wallet\n}\nexport interface RemovePartyResult {\n [key: string]: any\n}\n/**\n *\n * An array of wallets that match the filter criteria.\n *\n */\nexport type ListWalletsResult = Wallet[]\n/**\n *\n * Added, updated and disabled wallets as a result of the sync.\n *\n */\nexport interface SyncWalletsResult {\n added: SyncWalletsResultAdded\n updated: SyncWalletsResultUpdated\n disabled: SyncWalletsResultDisabled\n}\nexport interface IsWalletSyncNeededResult {\n walletSyncNeeded: WalletSyncNeeded\n}\nexport type SignResult =\n | SignResultSigned\n | SignResultPending\n | SignResultRejected\n | SignResultFailed\nexport interface SignMessageResult {\n signature?: Signature\n publicKey: PublicKey\n status: Status\n externalTxId?: ExternalTxId\n failureReason?: FailureReason\n}\nexport interface GetSignMessageStatusResult {\n status: Status\n externalTxId?: ExternalTxId\n signature?: Signature\n failureReason?: FailureReason\n}\nexport interface GetMessageToSignResult {\n message: MessageRaw\n}\nexport interface ListMessagesToSignResult {\n messages: Messages\n}\nexport interface ExecuteResult {\n [key: string]: any\n}\n/**\n *\n * Structure representing the connected network session\n *\n */\nexport interface AddSessionResult {\n id: Id\n origin?: Origin\n network: Network\n idp: Idp\n accessToken: AccessToken\n status: Status\n reason?: Reason\n rights: UserRights\n}\nexport interface ListSessionsResult {\n sessions: Sessions\n}\nexport interface GetTransactionResult {\n id: TransactionId\n commandId: CommandId\n status: Status\n createdAt?: CreatedAt\n signedAt?: SignedAt\n preparedTransaction: PreparedTransaction\n preparedTransactionHash: PreparedTransactionHash\n payload?: Payload\n origin?: Origin\n externalTxId?: ExternalTxId\n failureReason?: FailureReason\n}\nexport interface GetTransactionStatusResult {\n status: Status\n externalTxId?: ExternalTxId\n failureReason?: FailureReason\n}\nexport interface ListTransactionsResult {\n transactions: Transactions\n nextCursor?: NextCursor\n count: Count\n}\nexport interface GetUserResult {\n userId: UserIdentifier\n isAdmin: IsAdminFlag\n}\nexport interface GetServerStatusResult {\n version: GatewayVersion\n notices: ServerNotices\n}\nexport interface GeneratedApiKey {\n id: Id\n apiKey: ApiKeyResult\n}\nexport interface ListApiKeysResult {\n apiKeys: ApiKeys\n}\nexport interface ListSigningProvidersResult {\n signingProviders: SigningProviders\n}\nexport type GetWalletResult = Wallet | Null\n/**\n *\n * Generated! Represents an alias to any of the provided schemas\n *\n */\n\nexport type AddNetwork = (params: AddNetworkParams) => Promise<Null>\nexport type RemoveNetwork = (params: RemoveNetworkParams) => Promise<Null>\nexport type ListNetworks = () => Promise<ListNetworksResult>\nexport type GetNetwork = (params: GetNetworkParams) => Promise<GetNetworkResult>\nexport type SelfSignedAccessToken = (\n params: SelfSignedAccessTokenParams\n) => Promise<SelfSignedAccessTokenResult>\nexport type AddIdp = (params: AddIdpParams) => Promise<Null>\nexport type RemoveIdp = (params: RemoveIdpParams) => Promise<Null>\nexport type ListIdps = () => Promise<ListIdpsResult>\nexport type CreateWallet = (\n params: CreateWalletParams\n) => Promise<CreateWalletResult>\nexport type StartSelfIssuedLoginSession = (\n params: StartSelfIssuedLoginSessionParams\n) => Promise<StartSelfIssuedLoginSessionResult>\nexport type GetSelfIssuedLoginMode = (\n params: GetSelfIssuedLoginModeParams\n) => Promise<GetSelfIssuedLoginModeResult>\nexport type ListSelfIssuedSigningProviderKeys = (\n params: ListSelfIssuedSigningProviderKeysParams\n) => Promise<ListSigningProviderKeysResult>\nexport type CreateSelfIssuedWallet = (\n params: CreateSelfIssuedWalletParams\n) => Promise<CreateSelfIssuedWalletResult>\nexport type AllocateSelfIssuedWallet = (\n params: AllocateSelfIssuedWalletParams\n) => Promise<AllocateSelfIssuedWalletResult>\nexport type SignSelfIssuedAccessToken = (\n params: SignSelfIssuedAccessTokenParams\n) => Promise<SignSelfIssuedAccessTokenResult>\nexport type GetSignSelfIssuedAccessTokenStatus = (\n params: GetSignSelfIssuedAccessTokenStatusParams\n) => Promise<SignSelfIssuedAccessTokenResult>\nexport type RemoveSelfIssuedLoginSession = (\n params: RemoveSelfIssuedLoginSessionParams\n) => Promise<Null>\nexport type AllocatePartyForWallet = (\n params: AllocatePartyForWalletParams\n) => Promise<AllocatePartyForWalletResult>\nexport type SetPrimaryWallet = (params: SetPrimaryWalletParams) => Promise<Null>\nexport type RemoveWallet = (\n params: RemoveWalletParams\n) => Promise<RemovePartyResult>\nexport type ListWallets = (\n params: ListWalletsParams\n) => Promise<ListWalletsResult>\nexport type SyncWallets = () => Promise<SyncWalletsResult>\nexport type IsWalletSyncNeeded = () => Promise<IsWalletSyncNeededResult>\nexport type Sign = (params: SignParams) => Promise<SignResult>\nexport type SignMessage = (\n params: SignMessageParams\n) => Promise<SignMessageResult>\nexport type GetSignMessageStatus = (\n params: GetSignMessageStatusParams\n) => Promise<GetSignMessageStatusResult>\nexport type GetMessageToSign = (\n params: GetMessageToSignParams\n) => Promise<GetMessageToSignResult>\nexport type ListMessagesToSign = () => Promise<ListMessagesToSignResult>\nexport type DeleteMessageToSign = (\n params: DeleteMessageToSignParams\n) => Promise<Null>\nexport type Execute = (params: ExecuteParams) => Promise<ExecuteResult>\nexport type AddSession = (params: AddSessionParams) => Promise<AddSessionResult>\nexport type RemoveSession = () => Promise<Null>\nexport type ListSessions = () => Promise<ListSessionsResult>\nexport type GetTransaction = (\n params: GetTransactionParams\n) => Promise<GetTransactionResult>\nexport type GetTransactionStatus = (\n params: GetTransactionStatusParams\n) => Promise<GetTransactionStatusResult>\nexport type ListTransactions = (\n params: ListTransactionsParams\n) => Promise<ListTransactionsResult>\nexport type DeleteTransaction = (\n params: DeleteTransactionParams\n) => Promise<Null>\nexport type GetUser = () => Promise<GetUserResult>\nexport type GetServerStatus = () => Promise<GetServerStatusResult>\nexport type GenerateApiKey = (\n params: GenerateApiKeyParams\n) => Promise<GeneratedApiKey>\nexport type ListApiKeys = () => Promise<ListApiKeysResult>\nexport type RemoveApiKey = (params: RemoveApiKeyParams) => Promise<Null>\nexport type ListSigningProviders = () => Promise<ListSigningProvidersResult>\nexport type ListSigningProviderKeys = (\n params: ListSigningProviderKeysParams\n) => Promise<ListSigningProviderKeysResult>\nexport type GetWallet = (params: GetWalletParams) => Promise<GetWalletResult>\nexport type ChangeSigningProvider = (\n params: ChangeSigningProviderParams\n) => Promise<Null>\n/* oxlint-enable no-unused-vars */\n\ntype Params<T> = T extends (...args: infer A) => any\n ? A extends []\n ? never\n : A[0]\n : never\ntype Result<T> = T extends (...args: any[]) => Promise<infer R> ? R : never\n\nexport type RpcTypes = {\n addNetwork: {\n params: Params<AddNetwork>\n result: Result<AddNetwork>\n }\n\n removeNetwork: {\n params: Params<RemoveNetwork>\n result: Result<RemoveNetwork>\n }\n\n listNetworks: {\n params: Params<ListNetworks>\n result: Result<ListNetworks>\n }\n\n getNetwork: {\n params: Params<GetNetwork>\n result: Result<GetNetwork>\n }\n\n selfSignedAccessToken: {\n params: Params<SelfSignedAccessToken>\n result: Result<SelfSignedAccessToken>\n }\n\n addIdp: {\n params: Params<AddIdp>\n result: Result<AddIdp>\n }\n\n removeIdp: {\n params: Params<RemoveIdp>\n result: Result<RemoveIdp>\n }\n\n listIdps: {\n params: Params<ListIdps>\n result: Result<ListIdps>\n }\n\n createWallet: {\n params: Params<CreateWallet>\n result: Result<CreateWallet>\n }\n\n startSelfIssuedLoginSession: {\n params: Params<StartSelfIssuedLoginSession>\n result: Result<StartSelfIssuedLoginSession>\n }\n\n getSelfIssuedLoginMode: {\n params: Params<GetSelfIssuedLoginMode>\n result: Result<GetSelfIssuedLoginMode>\n }\n\n listSelfIssuedSigningProviderKeys: {\n params: Params<ListSelfIssuedSigningProviderKeys>\n result: Result<ListSelfIssuedSigningProviderKeys>\n }\n\n createSelfIssuedWallet: {\n params: Params<CreateSelfIssuedWallet>\n result: Result<CreateSelfIssuedWallet>\n }\n\n allocateSelfIssuedWallet: {\n params: Params<AllocateSelfIssuedWallet>\n result: Result<AllocateSelfIssuedWallet>\n }\n\n signSelfIssuedAccessToken: {\n params: Params<SignSelfIssuedAccessToken>\n result: Result<SignSelfIssuedAccessToken>\n }\n\n getSignSelfIssuedAccessTokenStatus: {\n params: Params<GetSignSelfIssuedAccessTokenStatus>\n result: Result<GetSignSelfIssuedAccessTokenStatus>\n }\n\n removeSelfIssuedLoginSession: {\n params: Params<RemoveSelfIssuedLoginSession>\n result: Result<RemoveSelfIssuedLoginSession>\n }\n\n allocatePartyForWallet: {\n params: Params<AllocatePartyForWallet>\n result: Result<AllocatePartyForWallet>\n }\n\n setPrimaryWallet: {\n params: Params<SetPrimaryWallet>\n result: Result<SetPrimaryWallet>\n }\n\n removeWallet: {\n params: Params<RemoveWallet>\n result: Result<RemoveWallet>\n }\n\n listWallets: {\n params: Params<ListWallets>\n result: Result<ListWallets>\n }\n\n syncWallets: {\n params: Params<SyncWallets>\n result: Result<SyncWallets>\n }\n\n isWalletSyncNeeded: {\n params: Params<IsWalletSyncNeeded>\n result: Result<IsWalletSyncNeeded>\n }\n\n sign: {\n params: Params<Sign>\n result: Result<Sign>\n }\n\n signMessage: {\n params: Params<SignMessage>\n result: Result<SignMessage>\n }\n\n getSignMessageStatus: {\n params: Params<GetSignMessageStatus>\n result: Result<GetSignMessageStatus>\n }\n\n getMessageToSign: {\n params: Params<GetMessageToSign>\n result: Result<GetMessageToSign>\n }\n\n listMessagesToSign: {\n params: Params<ListMessagesToSign>\n result: Result<ListMessagesToSign>\n }\n\n deleteMessageToSign: {\n params: Params<DeleteMessageToSign>\n result: Result<DeleteMessageToSign>\n }\n\n execute: {\n params: Params<Execute>\n result: Result<Execute>\n }\n\n addSession: {\n params: Params<AddSession>\n result: Result<AddSession>\n }\n\n removeSession: {\n params: Params<RemoveSession>\n result: Result<RemoveSession>\n }\n\n listSessions: {\n params: Params<ListSessions>\n result: Result<ListSessions>\n }\n\n getTransaction: {\n params: Params<GetTransaction>\n result: Result<GetTransaction>\n }\n\n getTransactionStatus: {\n params: Params<GetTransactionStatus>\n result: Result<GetTransactionStatus>\n }\n\n listTransactions: {\n params: Params<ListTransactions>\n result: Result<ListTransactions>\n }\n\n deleteTransaction: {\n params: Params<DeleteTransaction>\n result: Result<DeleteTransaction>\n }\n\n getUser: {\n params: Params<GetUser>\n result: Result<GetUser>\n }\n\n getServerStatus: {\n params: Params<GetServerStatus>\n result: Result<GetServerStatus>\n }\n\n generateApiKey: {\n params: Params<GenerateApiKey>\n result: Result<GenerateApiKey>\n }\n\n listApiKeys: {\n params: Params<ListApiKeys>\n result: Result<ListApiKeys>\n }\n\n removeApiKey: {\n params: Params<RemoveApiKey>\n result: Result<RemoveApiKey>\n }\n\n listSigningProviders: {\n params: Params<ListSigningProviders>\n result: Result<ListSigningProviders>\n }\n\n listSigningProviderKeys: {\n params: Params<ListSigningProviderKeys>\n result: Result<ListSigningProviderKeys>\n }\n\n getWallet: {\n params: Params<GetWallet>\n result: Result<GetWallet>\n }\n\n changeSigningProvider: {\n params: Params<ChangeSigningProvider>\n result: Result<ChangeSigningProvider>\n }\n}\n\nexport class WalletJSONRPCUserAPI {\n public transport: RpcTransport\n\n constructor(transport: RpcTransport) {\n this.transport = transport\n }\n\n public async request<M extends keyof RpcTypes>(\n args: RequestArgs<RpcTypes, M>\n ): Promise<RpcTypes[M]['result']> {\n const response = await this.transport.submit(args as RequestPayload)\n return response.result as RpcTypes[M]['result']\n }\n}\nexport default WalletJSONRPCUserAPI\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4xCA,IAAa,uBAAb,MAAkC;CAG9B,YAAY,WAAyB;EAF9B,gBAAA,MAAA,aAAA,KAAA,CAAA;EAGH,KAAK,YAAY;CACrB;CAEA,MAAa,QACT,MAC8B;EAE9B,QAAO,MADgB,KAAK,UAAU,OAAO,IAAsB,EAAA,CACnD;CACpB;AACJ"}
|
package/dist/index.d.ts
CHANGED
|
@@ -197,7 +197,7 @@ export type PartyHint = string;
|
|
|
197
197
|
export type SigningProviderId = string;
|
|
198
198
|
/**
|
|
199
199
|
*
|
|
200
|
-
* Name of signing provider's key to use for
|
|
200
|
+
* Name of signing provider's key to use for the wallet.
|
|
201
201
|
*
|
|
202
202
|
*/
|
|
203
203
|
export type KeyName = string;
|
|
@@ -215,7 +215,7 @@ export type Username = string;
|
|
|
215
215
|
export type Origin = string;
|
|
216
216
|
/**
|
|
217
217
|
*
|
|
218
|
-
*
|
|
218
|
+
* Session id required by the remaining self-issued onboarding methods.
|
|
219
219
|
*
|
|
220
220
|
*/
|
|
221
221
|
export type SessionId = string;
|
|
@@ -225,6 +225,12 @@ export type SessionId = string;
|
|
|
225
225
|
*
|
|
226
226
|
*/
|
|
227
227
|
export type PartyId = string;
|
|
228
|
+
/**
|
|
229
|
+
*
|
|
230
|
+
* The internal identifier of the pending message-signing request.
|
|
231
|
+
*
|
|
232
|
+
*/
|
|
233
|
+
export type MessageId = string;
|
|
228
234
|
/**
|
|
229
235
|
*
|
|
230
236
|
* Filter wallets by network IDs.
|
|
@@ -252,12 +258,6 @@ export interface WalletFilter {
|
|
|
252
258
|
*
|
|
253
259
|
*/
|
|
254
260
|
export type TransactionId = string;
|
|
255
|
-
/**
|
|
256
|
-
*
|
|
257
|
-
* The internal identifier of the pending message-signing request.
|
|
258
|
-
*
|
|
259
|
-
*/
|
|
260
|
-
export type MessageId = string;
|
|
261
261
|
/**
|
|
262
262
|
*
|
|
263
263
|
* Limit of transactions to return.
|
|
@@ -395,6 +395,41 @@ export interface Wallet {
|
|
|
395
395
|
*
|
|
396
396
|
*/
|
|
397
397
|
export type SelfIssuedLoginMode = 'create' | 'select';
|
|
398
|
+
export interface Key {
|
|
399
|
+
id: Id;
|
|
400
|
+
name: Name;
|
|
401
|
+
publicKey: PublicKey;
|
|
402
|
+
}
|
|
403
|
+
/**
|
|
404
|
+
*
|
|
405
|
+
* The list of signing provider's available keys.
|
|
406
|
+
*
|
|
407
|
+
*/
|
|
408
|
+
export type Keys = Key[];
|
|
409
|
+
export type SignSelfIssuedAccessTokenStatusConnected = 'connected';
|
|
410
|
+
export interface SignSelfIssuedAccessTokenConnected {
|
|
411
|
+
status: SignSelfIssuedAccessTokenStatusConnected;
|
|
412
|
+
wallet: Wallet;
|
|
413
|
+
accessToken: AccessToken;
|
|
414
|
+
sessionId: SessionId;
|
|
415
|
+
}
|
|
416
|
+
export type SignSelfIssuedAccessTokenStatusAwaitingSignature = 'awaiting-signature';
|
|
417
|
+
export interface SignSelfIssuedAccessTokenAwaitingSignature {
|
|
418
|
+
status: SignSelfIssuedAccessTokenStatusAwaitingSignature;
|
|
419
|
+
messageId: MessageId;
|
|
420
|
+
}
|
|
421
|
+
export type SignSelfIssuedAccessTokenStatusFailed = 'failed';
|
|
422
|
+
/**
|
|
423
|
+
*
|
|
424
|
+
* Reason for why the transaction failed.
|
|
425
|
+
*
|
|
426
|
+
*/
|
|
427
|
+
export type FailureReason = string;
|
|
428
|
+
export interface SignSelfIssuedAccessTokenFailed {
|
|
429
|
+
status: SignSelfIssuedAccessTokenStatusFailed;
|
|
430
|
+
messageId: MessageId;
|
|
431
|
+
failureReason: FailureReason;
|
|
432
|
+
}
|
|
398
433
|
/**
|
|
399
434
|
*
|
|
400
435
|
* Party ids of non-disabled wallets added in this syncWallets call.
|
|
@@ -458,12 +493,6 @@ export interface SignResultFailed {
|
|
|
458
493
|
*
|
|
459
494
|
*/
|
|
460
495
|
export type Status = string;
|
|
461
|
-
/**
|
|
462
|
-
*
|
|
463
|
-
* Reason for why the transaction failed.
|
|
464
|
-
*
|
|
465
|
-
*/
|
|
466
|
-
export type FailureReason = string;
|
|
467
496
|
/**
|
|
468
497
|
*
|
|
469
498
|
* The message to sign.
|
|
@@ -581,6 +610,45 @@ export type UserIdentifier = string;
|
|
|
581
610
|
*
|
|
582
611
|
*/
|
|
583
612
|
export type IsAdminFlag = boolean;
|
|
613
|
+
/**
|
|
614
|
+
*
|
|
615
|
+
* The version of the Wallet Gateway.
|
|
616
|
+
*
|
|
617
|
+
*/
|
|
618
|
+
export type GatewayVersion = string;
|
|
619
|
+
/**
|
|
620
|
+
*
|
|
621
|
+
* Stable identifier of the notice.
|
|
622
|
+
*
|
|
623
|
+
*/
|
|
624
|
+
export type NoticeId = string;
|
|
625
|
+
export type NoticeSeverity = 'info' | 'warning';
|
|
626
|
+
export type NoticeMessage = string;
|
|
627
|
+
/**
|
|
628
|
+
*
|
|
629
|
+
* When the notice was first reported.
|
|
630
|
+
*
|
|
631
|
+
*/
|
|
632
|
+
export type NoticeFirstSeenAt = string;
|
|
633
|
+
/**
|
|
634
|
+
*
|
|
635
|
+
* When the notice was last reported.
|
|
636
|
+
*
|
|
637
|
+
*/
|
|
638
|
+
export type NoticeLastSeenAt = string;
|
|
639
|
+
/**
|
|
640
|
+
*
|
|
641
|
+
* A notice for server administrators, e.g. about deprecated configuration.
|
|
642
|
+
*
|
|
643
|
+
*/
|
|
644
|
+
export interface ServerNotice {
|
|
645
|
+
id: NoticeId;
|
|
646
|
+
severity: NoticeSeverity;
|
|
647
|
+
message: NoticeMessage;
|
|
648
|
+
firstSeenAt: NoticeFirstSeenAt;
|
|
649
|
+
lastSeenAt: NoticeLastSeenAt;
|
|
650
|
+
}
|
|
651
|
+
export type ServerNotices = ServerNotice[];
|
|
584
652
|
/**
|
|
585
653
|
*
|
|
586
654
|
* The generated API key.
|
|
@@ -604,17 +672,6 @@ export type ApiKeys = ApiKey[];
|
|
|
604
672
|
*
|
|
605
673
|
*/
|
|
606
674
|
export type SigningProviders = SigningProviderId[];
|
|
607
|
-
export interface Key {
|
|
608
|
-
id: Id;
|
|
609
|
-
name: Name;
|
|
610
|
-
publicKey: PublicKey;
|
|
611
|
-
}
|
|
612
|
-
/**
|
|
613
|
-
*
|
|
614
|
-
* The list of signing provider's available keys.
|
|
615
|
-
*
|
|
616
|
-
*/
|
|
617
|
-
export type Keys = Key[];
|
|
618
675
|
/**
|
|
619
676
|
*
|
|
620
677
|
* Represents a null value, used in responses where no data is returned.
|
|
@@ -655,19 +712,28 @@ export interface StartSelfIssuedLoginSessionParams {
|
|
|
655
712
|
export interface GetSelfIssuedLoginModeParams {
|
|
656
713
|
sessionId: SessionId;
|
|
657
714
|
}
|
|
715
|
+
export interface ListSelfIssuedSigningProviderKeysParams {
|
|
716
|
+
sessionId: SessionId;
|
|
717
|
+
signingProviderId: SigningProviderId;
|
|
718
|
+
}
|
|
658
719
|
export interface CreateSelfIssuedWalletParams {
|
|
659
720
|
sessionId: SessionId;
|
|
660
721
|
partyHint: PartyHint;
|
|
661
722
|
signingProviderId: SigningProviderId;
|
|
723
|
+
keyName?: KeyName;
|
|
662
724
|
}
|
|
663
725
|
export interface AllocateSelfIssuedWalletParams {
|
|
664
726
|
sessionId: SessionId;
|
|
665
727
|
partyId: PartyId;
|
|
666
728
|
}
|
|
667
|
-
export interface
|
|
729
|
+
export interface SignSelfIssuedAccessTokenParams {
|
|
668
730
|
sessionId: SessionId;
|
|
669
731
|
partyId: PartyId;
|
|
670
732
|
}
|
|
733
|
+
export interface GetSignSelfIssuedAccessTokenStatusParams {
|
|
734
|
+
sessionId: SessionId;
|
|
735
|
+
messageId: MessageId;
|
|
736
|
+
}
|
|
671
737
|
export interface RemoveSelfIssuedLoginSessionParams {
|
|
672
738
|
sessionId: SessionId;
|
|
673
739
|
}
|
|
@@ -761,17 +827,16 @@ export interface GetSelfIssuedLoginModeResult {
|
|
|
761
827
|
mode: SelfIssuedLoginMode;
|
|
762
828
|
wallet?: Wallet;
|
|
763
829
|
}
|
|
830
|
+
export interface ListSigningProviderKeysResult {
|
|
831
|
+
keys: Keys;
|
|
832
|
+
}
|
|
764
833
|
export interface CreateSelfIssuedWalletResult {
|
|
765
834
|
wallet: Wallet;
|
|
766
835
|
}
|
|
767
836
|
export interface AllocateSelfIssuedWalletResult {
|
|
768
837
|
wallet: Wallet;
|
|
769
838
|
}
|
|
770
|
-
export
|
|
771
|
-
wallet: Wallet;
|
|
772
|
-
accessToken: AccessToken;
|
|
773
|
-
sessionId: SessionId;
|
|
774
|
-
}
|
|
839
|
+
export type SignSelfIssuedAccessTokenResult = SignSelfIssuedAccessTokenConnected | SignSelfIssuedAccessTokenAwaitingSignature | SignSelfIssuedAccessTokenFailed;
|
|
775
840
|
export interface AllocatePartyForWalletResult {
|
|
776
841
|
wallet: Wallet;
|
|
777
842
|
}
|
|
@@ -865,6 +930,10 @@ export interface GetUserResult {
|
|
|
865
930
|
userId: UserIdentifier;
|
|
866
931
|
isAdmin: IsAdminFlag;
|
|
867
932
|
}
|
|
933
|
+
export interface GetServerStatusResult {
|
|
934
|
+
version: GatewayVersion;
|
|
935
|
+
notices: ServerNotices;
|
|
936
|
+
}
|
|
868
937
|
export interface GeneratedApiKey {
|
|
869
938
|
id: Id;
|
|
870
939
|
apiKey: ApiKeyResult;
|
|
@@ -875,9 +944,6 @@ export interface ListApiKeysResult {
|
|
|
875
944
|
export interface ListSigningProvidersResult {
|
|
876
945
|
signingProviders: SigningProviders;
|
|
877
946
|
}
|
|
878
|
-
export interface ListSigningProviderKeysResult {
|
|
879
|
-
keys: Keys;
|
|
880
|
-
}
|
|
881
947
|
export type GetWalletResult = Wallet | Null;
|
|
882
948
|
/**
|
|
883
949
|
*
|
|
@@ -895,9 +961,11 @@ export type ListIdps = () => Promise<ListIdpsResult>;
|
|
|
895
961
|
export type CreateWallet = (params: CreateWalletParams) => Promise<CreateWalletResult>;
|
|
896
962
|
export type StartSelfIssuedLoginSession = (params: StartSelfIssuedLoginSessionParams) => Promise<StartSelfIssuedLoginSessionResult>;
|
|
897
963
|
export type GetSelfIssuedLoginMode = (params: GetSelfIssuedLoginModeParams) => Promise<GetSelfIssuedLoginModeResult>;
|
|
964
|
+
export type ListSelfIssuedSigningProviderKeys = (params: ListSelfIssuedSigningProviderKeysParams) => Promise<ListSigningProviderKeysResult>;
|
|
898
965
|
export type CreateSelfIssuedWallet = (params: CreateSelfIssuedWalletParams) => Promise<CreateSelfIssuedWalletResult>;
|
|
899
966
|
export type AllocateSelfIssuedWallet = (params: AllocateSelfIssuedWalletParams) => Promise<AllocateSelfIssuedWalletResult>;
|
|
900
|
-
export type
|
|
967
|
+
export type SignSelfIssuedAccessToken = (params: SignSelfIssuedAccessTokenParams) => Promise<SignSelfIssuedAccessTokenResult>;
|
|
968
|
+
export type GetSignSelfIssuedAccessTokenStatus = (params: GetSignSelfIssuedAccessTokenStatusParams) => Promise<SignSelfIssuedAccessTokenResult>;
|
|
901
969
|
export type RemoveSelfIssuedLoginSession = (params: RemoveSelfIssuedLoginSessionParams) => Promise<Null>;
|
|
902
970
|
export type AllocatePartyForWallet = (params: AllocatePartyForWalletParams) => Promise<AllocatePartyForWalletResult>;
|
|
903
971
|
export type SetPrimaryWallet = (params: SetPrimaryWalletParams) => Promise<Null>;
|
|
@@ -920,6 +988,7 @@ export type GetTransactionStatus = (params: GetTransactionStatusParams) => Promi
|
|
|
920
988
|
export type ListTransactions = (params: ListTransactionsParams) => Promise<ListTransactionsResult>;
|
|
921
989
|
export type DeleteTransaction = (params: DeleteTransactionParams) => Promise<Null>;
|
|
922
990
|
export type GetUser = () => Promise<GetUserResult>;
|
|
991
|
+
export type GetServerStatus = () => Promise<GetServerStatusResult>;
|
|
923
992
|
export type GenerateApiKey = (params: GenerateApiKeyParams) => Promise<GeneratedApiKey>;
|
|
924
993
|
export type ListApiKeys = () => Promise<ListApiKeysResult>;
|
|
925
994
|
export type RemoveApiKey = (params: RemoveApiKeyParams) => Promise<Null>;
|
|
@@ -974,6 +1043,10 @@ export type RpcTypes = {
|
|
|
974
1043
|
params: Params<GetSelfIssuedLoginMode>;
|
|
975
1044
|
result: Result<GetSelfIssuedLoginMode>;
|
|
976
1045
|
};
|
|
1046
|
+
listSelfIssuedSigningProviderKeys: {
|
|
1047
|
+
params: Params<ListSelfIssuedSigningProviderKeys>;
|
|
1048
|
+
result: Result<ListSelfIssuedSigningProviderKeys>;
|
|
1049
|
+
};
|
|
977
1050
|
createSelfIssuedWallet: {
|
|
978
1051
|
params: Params<CreateSelfIssuedWallet>;
|
|
979
1052
|
result: Result<CreateSelfIssuedWallet>;
|
|
@@ -982,9 +1055,13 @@ export type RpcTypes = {
|
|
|
982
1055
|
params: Params<AllocateSelfIssuedWallet>;
|
|
983
1056
|
result: Result<AllocateSelfIssuedWallet>;
|
|
984
1057
|
};
|
|
985
|
-
|
|
986
|
-
params: Params<
|
|
987
|
-
result: Result<
|
|
1058
|
+
signSelfIssuedAccessToken: {
|
|
1059
|
+
params: Params<SignSelfIssuedAccessToken>;
|
|
1060
|
+
result: Result<SignSelfIssuedAccessToken>;
|
|
1061
|
+
};
|
|
1062
|
+
getSignSelfIssuedAccessTokenStatus: {
|
|
1063
|
+
params: Params<GetSignSelfIssuedAccessTokenStatus>;
|
|
1064
|
+
result: Result<GetSignSelfIssuedAccessTokenStatus>;
|
|
988
1065
|
};
|
|
989
1066
|
removeSelfIssuedLoginSession: {
|
|
990
1067
|
params: Params<RemoveSelfIssuedLoginSession>;
|
|
@@ -1074,6 +1151,10 @@ export type RpcTypes = {
|
|
|
1074
1151
|
params: Params<GetUser>;
|
|
1075
1152
|
result: Result<GetUser>;
|
|
1076
1153
|
};
|
|
1154
|
+
getServerStatus: {
|
|
1155
|
+
params: Params<GetServerStatus>;
|
|
1156
|
+
result: Result<GetServerStatus>;
|
|
1157
|
+
};
|
|
1077
1158
|
generateApiKey: {
|
|
1078
1159
|
params: Params<GenerateApiKey>;
|
|
1079
1160
|
result: Result<GenerateApiKey>;
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,WAAW,EAAkB,MAAM,4BAA4B,CAAA;AAC7E,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oCAAoC,CAAA;AAGtE;;;;GAIG;AACH,MAAM,MAAM,SAAS,GAAG,MAAM,CAAA;AAC9B,MAAM,MAAM,IAAI,GAAG,MAAM,CAAA;AACzB;;;;GAIG;AACH,MAAM,MAAM,WAAW,GAAG,MAAM,CAAA;AAChC;;;;GAIG;AACH,MAAM,MAAM,cAAc,GAAG,MAAM,CAAA;AACnC;;;;GAIG;AACH,MAAM,MAAM,kBAAkB,GAAG,MAAM,CAAA;AACvC,MAAM,MAAM,2BAA2B,GAAG,oBAAoB,CAAA;AAC9D,MAAM,MAAM,KAAK,GAAG,MAAM,CAAA;AAC1B,MAAM,MAAM,QAAQ,GAAG,MAAM,CAAA;AAC7B;;;;GAIG;AACH,MAAM,MAAM,QAAQ,GAAG,MAAM,CAAA;AAE7B;;;;GAIG;AACH,MAAM,WAAW,qBAAqB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B,EAAE;QAClB,MAAM,EAAE,MAAM,CAAC,oBAAoB,CAAC,CAAA;QACpC,MAAM,EAAE,MAAM,CAAC,oBAAoB,CAAC,CAAA;KACvC,CAAA;IAED,uBAAuB,EAAE;QACrB,MAAM,EAAE,MAAM,CAAC,uBAAuB,CAAC,CAAA;QACvC,MAAM,EAAE,MAAM,CAAC,uBAAuB,CAAC,CAAA;KAC1C,CAAA;IAED,SAAS,EAAE;QACP,MAAM,EAAE,MAAM,CAAC,SAAS,CAAC,CAAA;QACzB,MAAM,EAAE,MAAM,CAAC,SAAS,CAAC,CAAA;KAC5B,CAAA;IAED,qBAAqB,EAAE;QACnB,MAAM,EAAE,MAAM,CAAC,qBAAqB,CAAC,CAAA;QACrC,MAAM,EAAE,MAAM,CAAC,qBAAqB,CAAC,CAAA;KACxC,CAAA;CACJ,CAAA;AAED,qBAAa,oBAAoB;IACtB,SAAS,EAAE,YAAY,CAAA;IAE9B,YAAY,SAAS,EAAE,YAAY,EAElC;IAEY,OAAO,CAAC,CAAC,SAAS,MAAM,QAAQ,EACzC,IAAI,EAAE,WAAW,CAAC,QAAQ,EAAE,CAAC,CAAC,GAC/B,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAGhC;CACJ;eACc,oBAAoB"}
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// \0@oxc-project+runtime@0.
|
|
1
|
+
// \0@oxc-project+runtime@0.156.0/helpers/esm/typeof.js
|
|
2
2
|
function _typeof(o) {
|
|
3
3
|
"@babel/helpers - typeof";
|
|
4
4
|
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o) {
|
|
@@ -7,7 +7,7 @@ function _typeof(o) {
|
|
|
7
7
|
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
8
8
|
}, _typeof(o);
|
|
9
9
|
}
|
|
10
|
-
// \0@oxc-project+runtime@0.
|
|
10
|
+
// \0@oxc-project+runtime@0.156.0/helpers/esm/toPrimitive.js
|
|
11
11
|
function toPrimitive(t, r) {
|
|
12
12
|
if ("object" != _typeof(t) || !t) return t;
|
|
13
13
|
var e = t[Symbol.toPrimitive];
|
|
@@ -18,12 +18,12 @@ function toPrimitive(t, r) {
|
|
|
18
18
|
}
|
|
19
19
|
return ("string" === r ? String : Number)(t);
|
|
20
20
|
}
|
|
21
|
-
// \0@oxc-project+runtime@0.
|
|
21
|
+
// \0@oxc-project+runtime@0.156.0/helpers/esm/toPropertyKey.js
|
|
22
22
|
function toPropertyKey(t) {
|
|
23
23
|
var i = toPrimitive(t, "string");
|
|
24
24
|
return "symbol" == _typeof(i) ? i : i + "";
|
|
25
25
|
}
|
|
26
|
-
// \0@oxc-project+runtime@0.
|
|
26
|
+
// \0@oxc-project+runtime@0.156.0/helpers/esm/defineProperty.js
|
|
27
27
|
function _defineProperty(e, r, t) {
|
|
28
28
|
return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
29
29
|
value: t,
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":[],"sources":["../src/index.ts"],"sourcesContent":["// Copyright (c) 2025-2026 Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved.\n// SPDX-License-Identifier: Apache-2.0\n\n// Code generated by @open-rpc/generator DO NOT EDIT.\nimport type { RequestArgs, RequestPayload } from '@canton-network/core-types'\nimport type { RpcTransport } from '@canton-network/core-rpc-transport'\n\n/* oxlint-disable no-unused-vars */\n/**\n *\n * The network ID the wallet corresponds to.\n *\n */\nexport type NetworkId = string\nexport type Name = string\n/**\n *\n * Description of network\n *\n */\nexport type Description = string\n/**\n *\n * Synchronizer ID\n *\n */\nexport type SynchronizerId = string\n/**\n *\n * Identity Provider ID\n *\n */\nexport type IdentityProviderId = string\nexport type AuthorizationCodeAuthMethod = 'authorization_code'\nexport type Scope = string\nexport type ClientId = string\n/**\n *\n * Bare participant ID, with no https://daml.com/jwt/aud/participant/ prefix (unlike the other auth methods).\n *\n */\nexport type Audience = string\ntype AlwaysFalse = any\n/**\n *\n * Authorization code authentication configuration\n *\n */\nexport interface AuthorizationCodeAuth {\n method: AuthorizationCodeAuthMethod\n scope: Scope\n clientId: ClientId\n audience: Audience\n}\nexport type ClientCredentialsAuthMethod = 'client_credentials'\n/**\n *\n * Overrides the network's identity provider for client credentials token acquisition\n *\n */\nexport type ClientCredentialsIdentityProviderId = string\nexport type ClientSecret = string\n/**\n *\n * Client credentials authentication configuration\n *\n */\nexport interface ClientCredentialsAuth {\n method: ClientCredentialsAuthMethod\n identityProviderId?: ClientCredentialsIdentityProviderId\n scope: Scope\n clientId: ClientId\n clientSecret: ClientSecret\n audience: Audience\n}\nexport type SelfSignedAuthMethod = 'self_signed'\n/**\n *\n * Issuer of identity provider\n *\n */\nexport type Issuer = string\n/**\n *\n * Self-signed authentication configuration\n *\n */\nexport interface SelfSignedAuth {\n method: SelfSignedAuthMethod\n scope: Scope\n clientId: ClientId\n clientSecret: ClientSecret\n issuer: Issuer\n audience: Audience\n}\nexport type SelfIssuedAuthMethod = 'self_issued'\n/**\n *\n * Self-issued authentication configuration\n *\n */\nexport interface SelfIssuedAuth {\n method: SelfIssuedAuthMethod\n scope: Scope\n audience: Audience\n}\n/**\n *\n * Authentication configuration for a network\n *\n */\nexport type Auth =\n | AuthorizationCodeAuth\n | ClientCredentialsAuth\n | SelfSignedAuth\n | SelfIssuedAuth\n/**\n *\n * Ledger api url\n *\n */\nexport type LedgerApi = string\n/**\n *\n * Connected network metadata. Privileged credentials (adminAuth, serviceAccountAuth) are included only for the admin user.\n *\n */\nexport interface Network {\n id: NetworkId\n name: Name\n description: Description\n synchronizerId?: SynchronizerId\n identityProviderId: IdentityProviderId\n auth: Auth\n adminAuth?: Auth\n serviceAccountAuth?: Auth\n ledgerApi: LedgerApi\n}\n/**\n *\n * Ledger api url\n *\n */\nexport type NetworkName = string\nexport type Id = string\n/**\n *\n * OAuth identity provider\n *\n */\nexport type OauthIdpType = 'oauth'\n/**\n *\n * The configuration URL for the identity provider.\n *\n */\nexport type ConfigUrl = string\nexport interface OauthIdp {\n id: Id\n type: OauthIdpType\n issuer: Issuer\n configUrl: ConfigUrl\n}\n/**\n *\n * Self-signed identity provider\n *\n */\nexport type SelfSignedIdpType = 'self_signed'\nexport interface SelfSignedIdp {\n id: Id\n type: SelfSignedIdpType\n issuer: Issuer\n}\n/**\n *\n * Self-issued identity provider\n *\n */\nexport type SelfIssuedIdpType = 'self_issued'\nexport interface SelfIssuedIdp {\n id: Id\n type: SelfIssuedIdpType\n}\n/**\n *\n * Structure representing an identity provider\n *\n */\nexport type Idp = OauthIdp | SelfSignedIdp | SelfIssuedIdp\n/**\n *\n * Set as primary wallet for dApp usage.\n *\n */\nexport type Primary = boolean\n/**\n *\n * The party hint and name of the wallet.\n *\n */\nexport type PartyHint = string\n/**\n *\n * The signing provider ID the wallet corresponds to.\n *\n */\nexport type SigningProviderId = string\n/**\n *\n * Name of signing provider's key to use for getting keys.\n *\n */\nexport type KeyName = string\n/**\n *\n * User id used while onboarding.\n *\n */\nexport type Username = string\n/**\n *\n * The origin (dApp URL) that initiated this transaction request.\n *\n */\nexport type Origin = string\n/**\n *\n * Onboarding session id required by the remaining self-issued onboarding methods.\n *\n */\nexport type SessionId = string\n/**\n *\n * The party ID corresponding to the wallet.\n *\n */\nexport type PartyId = string\n/**\n *\n * Filter wallets by network IDs.\n *\n */\nexport type NetworkIds = NetworkId[]\n/**\n *\n * Filter wallets by signing provider IDs.\n *\n */\nexport type SigningProviderIds = SigningProviderId[]\n/**\n *\n * Filter for the wallets to be returned.\n *\n */\nexport interface WalletFilter {\n networkIds?: NetworkIds\n signingProviderIds?: SigningProviderIds\n}\n/**\n *\n * The internal transaction identifier.\n *\n */\nexport type TransactionId = string\n/**\n *\n * The internal identifier of the pending message-signing request.\n *\n */\nexport type MessageId = string\n/**\n *\n * Limit of transactions to return.\n *\n */\nexport type Limit = number\n/**\n *\n * Cursor for next page of results.\n *\n */\nexport type CursorAsString = string\n/**\n *\n * Cursor for next page of results.\n *\n */\nexport type Cursor = CursorAsString\n/**\n *\n * The public key of the party.\n *\n */\nexport type PublicKey = string\n/**\n *\n * Authentication method configured for this network\n *\n */\nexport type AuthMethod = string\n/**\n *\n * Network metadata exposed by listNetworks without sensitive auth configuration\n *\n */\nexport interface PublicNetwork {\n id: NetworkId\n name: Name\n description: Description\n synchronizerId?: SynchronizerId\n identityProviderId: IdentityProviderId\n ledgerApi: LedgerApi\n authMethod: AuthMethod\n clientId?: ClientId\n scope?: Scope\n audience?: Audience\n}\nexport type Networks = PublicNetwork[]\n/**\n *\n * The access token for the session.\n *\n */\nexport type AccessToken = string\nexport type Idps = Idp[]\n/**\n *\n * The status of the wallet.\n *\n */\nexport type WalletStatus = 'initialized' | 'allocated' | 'removed'\n/**\n *\n * The party hint and name of the wallet.\n *\n */\nexport type Hint = string\n/**\n *\n * The namespace of the party.\n *\n */\nexport type Namespace = string\n/**\n *\n * Unique identifier of the signed transaction given by the Signing Provider. This may not be the same as the internal txId given by the Wallet Gateway.\n *\n */\nexport type ExternalTxId = string\n/**\n *\n * The topology transactions\n *\n */\nexport type TopologyTransactions = string\n/**\n *\n * Whether the wallet is disabled. Wallets are disabled when no signing provider matches the party's namespace during sync. Disabled wallets use participant as the default signing provider.\n *\n */\nexport type Disabled = boolean\n/**\n *\n * Reason for the wallet state, e.g., 'no signing provider matched'.\n *\n */\nexport type Reason = string\n/**\n *\n * Whether the party authenticates the user with self-issued tokens.\n *\n */\nexport type IsAuthParty = boolean\nexport type PartyLevelRight = 'CanActAs' | 'CanReadAs' | 'CanExecuteAs'\n/**\n *\n * The rights of the wallet.\n *\n */\nexport type PartyRights = PartyLevelRight[]\n/**\n *\n * Structure representing a wallet\n *\n */\nexport interface Wallet {\n primary: Primary\n partyId: PartyId\n status: WalletStatus\n hint: Hint\n publicKey: PublicKey\n namespace: Namespace\n networkId: NetworkId\n signingProviderId: SigningProviderId\n externalTxId?: ExternalTxId\n topologyTransactions?: TopologyTransactions\n disabled?: Disabled\n reason?: Reason\n isAuthParty?: IsAuthParty\n rights: PartyRights\n}\n/**\n *\n * create when there is no ledger user yet. select when the user already authenticates with a primary party.\n *\n */\nexport type SelfIssuedLoginMode = 'create' | 'select'\ntype AlwaysTrue = any\n/**\n *\n * Party ids of non-disabled wallets added in this syncWallets call.\n *\n */\nexport type SyncWalletsResultAdded = PartyId[]\n/**\n *\n * Party ids of existing wallets whose status became initialized, whose rights changed, or whose isAuthParty flag changed in this syncWallets call.\n *\n */\nexport type SyncWalletsResultUpdated = PartyId[]\n/**\n *\n * Party ids of wallets added disabled, or existing wallets disabled, in this syncWallets call.\n *\n */\nexport type SyncWalletsResultDisabled = PartyId[]\n/**\n *\n * Whether wallet sync is needed. Returns true if there are disabled wallets or parties on the ledger that aren't in the store.\n *\n */\nexport type WalletSyncNeeded = boolean\nexport type TxStatusSigned = 'signed'\n/**\n *\n * The signature of the message.\n *\n */\nexport type Signature = string\nexport type SignedBy = string\nexport interface SignResultSigned {\n status: TxStatusSigned\n signature: Signature\n signedBy: SignedBy\n partyId: PartyId\n externalTxId?: ExternalTxId\n}\nexport type TxStatusPending = 'pending'\nexport interface SignResultPending {\n status: TxStatusPending\n partyId: PartyId\n externalTxId: ExternalTxId\n}\nexport type TxStatusRejected = 'rejected'\nexport interface SignResultRejected {\n status: TxStatusRejected\n partyId: PartyId\n externalTxId: ExternalTxId\n}\nexport type TxStatusFailed = 'failed'\nexport interface SignResultFailed {\n status: TxStatusFailed\n partyId: PartyId\n externalTxId: ExternalTxId\n}\n/**\n *\n * The status of the transaction.\n *\n */\nexport type Status = string\n/**\n *\n * Reason for why the transaction failed.\n *\n */\nexport type FailureReason = string\n/**\n *\n * The message to sign.\n *\n */\nexport type Message = string\n/**\n *\n * The timestamp when the API key was created.\n *\n */\nexport type CreatedAt = string\n/**\n *\n * The timestamp when the transaction was signed.\n *\n */\nexport type SignedAt = string\nexport interface MessageRaw {\n id: MessageId\n status: Status\n partyId: PartyId\n publicKey: PublicKey\n message: Message\n origin?: Origin\n createdAt: CreatedAt\n signedAt?: SignedAt\n signature?: Signature\n externalTxId?: ExternalTxId\n failureReason?: FailureReason\n}\nexport type Messages = MessageRaw[]\nexport type UserLevelRight = 'CanReadAsAnyParty' | 'CanExecuteAsAnyParty'\n/**\n *\n * The rights of the user for the network.\n *\n */\nexport type UserRights = UserLevelRight[]\n/**\n *\n * Structure representing the connected network session\n *\n */\nexport interface Session {\n id: Id\n origin?: Origin\n network: Network\n idp: Idp\n accessToken: AccessToken\n status: Status\n reason?: Reason\n rights: UserRights\n}\nexport type Sessions = Session[]\n/**\n *\n * The unique identifier of the command associated with the transaction.\n *\n */\nexport type CommandId = string\n/**\n *\n * The transaction data corresponding to the command ID.\n *\n */\nexport type PreparedTransaction = string\n/**\n *\n * The hash of the prepared transaction.\n *\n */\nexport type PreparedTransactionHash = string\n/**\n *\n * Optional payload associated with the transaction.\n *\n */\nexport type Payload = string\nexport interface Transaction {\n id: TransactionId\n commandId: CommandId\n status: Status\n createdAt?: CreatedAt\n signedAt?: SignedAt\n preparedTransaction: PreparedTransaction\n preparedTransactionHash: PreparedTransactionHash\n payload?: Payload\n origin?: Origin\n externalTxId?: ExternalTxId\n failureReason?: FailureReason\n}\nexport type Transactions = Transaction[]\n/**\n *\n * Cursor for next page of results.\n *\n */\nexport type NextCursor = string\n/**\n *\n * Number of total transactions for the user.\n *\n */\nexport type Count = number\n/**\n *\n * The unique identifier of the current user.\n *\n */\nexport type UserIdentifier = string\n/**\n *\n * Whether the current user is an admin.\n *\n */\nexport type IsAdminFlag = boolean\n/**\n *\n * The generated API key.\n *\n */\nexport type ApiKeyResult = string\nexport interface ApiKey {\n id: Id\n name: Name\n createdAt: CreatedAt\n}\n/**\n *\n * The list of API keys.\n *\n */\nexport type ApiKeys = ApiKey[]\n/**\n *\n * The IDs of the available signing providers.\n *\n */\nexport type SigningProviders = SigningProviderId[]\nexport interface Key {\n id: Id\n name: Name\n publicKey: PublicKey\n}\n/**\n *\n * The list of signing provider's available keys.\n *\n */\nexport type Keys = Key[]\n/**\n *\n * Represents a null value, used in responses where no data is returned.\n *\n */\nexport type Null = null\nexport interface AddNetworkParams {\n network: Network\n}\nexport interface RemoveNetworkParams {\n networkName: NetworkName\n}\nexport interface GetNetworkParams {\n networkId: NetworkId\n}\nexport interface SelfSignedAccessTokenParams {\n networkId: NetworkId\n clientId: ClientId\n clientSecret: ClientSecret\n}\nexport interface AddIdpParams {\n idp: Idp\n}\nexport interface RemoveIdpParams {\n identityProviderId: IdentityProviderId\n}\nexport interface CreateWalletParams {\n primary?: Primary\n partyHint: PartyHint\n signingProviderId: SigningProviderId\n keyName?: KeyName\n}\nexport interface StartSelfIssuedLoginSessionParams {\n username: Username\n networkId: NetworkId\n origin: Origin\n}\nexport interface GetSelfIssuedLoginModeParams {\n sessionId: SessionId\n}\nexport interface CreateSelfIssuedWalletParams {\n sessionId: SessionId\n partyHint: PartyHint\n signingProviderId: SigningProviderId\n}\nexport interface AllocateSelfIssuedWalletParams {\n sessionId: SessionId\n partyId: PartyId\n}\nexport interface CompleteSelfIssuedLoginParams {\n sessionId: SessionId\n partyId: PartyId\n}\nexport interface RemoveSelfIssuedLoginSessionParams {\n sessionId: SessionId\n}\nexport interface AllocatePartyForWalletParams {\n partyId: PartyId\n}\nexport interface SetPrimaryWalletParams {\n partyId: PartyId\n}\nexport interface RemoveWalletParams {\n partyId: PartyId\n}\nexport interface ListWalletsParams {\n filter?: WalletFilter\n}\nexport interface SignParams {\n transactionId: TransactionId\n partyId: PartyId\n}\nexport interface SignMessageParams {\n messageId: MessageId\n partyId?: PartyId\n}\nexport interface GetSignMessageStatusParams {\n messageId: MessageId\n}\nexport interface GetMessageToSignParams {\n messageId: MessageId\n}\nexport interface DeleteMessageToSignParams {\n messageId: MessageId\n}\nexport interface ExecuteParams {\n partyId: PartyId\n transactionId: TransactionId\n}\nexport interface AddSessionParams {\n origin: Origin\n networkId: NetworkId\n}\nexport interface GetTransactionParams {\n transactionId: TransactionId\n}\nexport interface GetTransactionStatusParams {\n transactionId: TransactionId\n partyId?: PartyId\n}\nexport interface ListTransactionsParams {\n limit?: Limit\n cursor?: Cursor\n}\nexport interface DeleteTransactionParams {\n transactionId: TransactionId\n}\nexport interface GenerateApiKeyParams {\n name: Name\n}\nexport interface RemoveApiKeyParams {\n id: Id\n}\nexport interface ListSigningProviderKeysParams {\n signingProviderId: SigningProviderId\n}\nexport interface GetWalletParams {\n partyId: PartyId\n}\nexport interface ChangeSigningProviderParams {\n signingProviderId: SigningProviderId\n partyId: PartyId\n publicKey: PublicKey\n}\nexport interface ListNetworksResult {\n networks: Networks\n}\nexport interface GetNetworkResult {\n network: Network\n}\nexport interface SelfSignedAccessTokenResult {\n accessToken: AccessToken\n}\nexport interface ListIdpsResult {\n idps: Idps\n}\nexport interface CreateWalletResult {\n wallet: Wallet\n}\nexport interface StartSelfIssuedLoginSessionResult {\n sessionId: SessionId\n}\nexport interface GetSelfIssuedLoginModeResult {\n mode: SelfIssuedLoginMode\n wallet?: Wallet\n}\nexport interface CreateSelfIssuedWalletResult {\n wallet: Wallet\n}\nexport interface AllocateSelfIssuedWalletResult {\n wallet: Wallet\n}\nexport interface CompleteSelfIssuedLoginResult {\n wallet: Wallet\n accessToken: AccessToken\n sessionId: SessionId\n}\nexport interface AllocatePartyForWalletResult {\n wallet: Wallet\n}\nexport interface RemovePartyResult {\n [key: string]: any\n}\n/**\n *\n * An array of wallets that match the filter criteria.\n *\n */\nexport type ListWalletsResult = Wallet[]\n/**\n *\n * Added, updated and disabled wallets as a result of the sync.\n *\n */\nexport interface SyncWalletsResult {\n added: SyncWalletsResultAdded\n updated: SyncWalletsResultUpdated\n disabled: SyncWalletsResultDisabled\n}\nexport interface IsWalletSyncNeededResult {\n walletSyncNeeded: WalletSyncNeeded\n}\nexport type SignResult =\n | SignResultSigned\n | SignResultPending\n | SignResultRejected\n | SignResultFailed\nexport interface SignMessageResult {\n signature?: Signature\n publicKey: PublicKey\n status: Status\n externalTxId?: ExternalTxId\n failureReason?: FailureReason\n}\nexport interface GetSignMessageStatusResult {\n status: Status\n externalTxId?: ExternalTxId\n signature?: Signature\n failureReason?: FailureReason\n}\nexport interface GetMessageToSignResult {\n message: MessageRaw\n}\nexport interface ListMessagesToSignResult {\n messages: Messages\n}\nexport interface ExecuteResult {\n [key: string]: any\n}\n/**\n *\n * Structure representing the connected network session\n *\n */\nexport interface AddSessionResult {\n id: Id\n origin?: Origin\n network: Network\n idp: Idp\n accessToken: AccessToken\n status: Status\n reason?: Reason\n rights: UserRights\n}\nexport interface ListSessionsResult {\n sessions: Sessions\n}\nexport interface GetTransactionResult {\n id: TransactionId\n commandId: CommandId\n status: Status\n createdAt?: CreatedAt\n signedAt?: SignedAt\n preparedTransaction: PreparedTransaction\n preparedTransactionHash: PreparedTransactionHash\n payload?: Payload\n origin?: Origin\n externalTxId?: ExternalTxId\n failureReason?: FailureReason\n}\nexport interface GetTransactionStatusResult {\n status: Status\n externalTxId?: ExternalTxId\n failureReason?: FailureReason\n}\nexport interface ListTransactionsResult {\n transactions: Transactions\n nextCursor?: NextCursor\n count: Count\n}\nexport interface GetUserResult {\n userId: UserIdentifier\n isAdmin: IsAdminFlag\n}\nexport interface GeneratedApiKey {\n id: Id\n apiKey: ApiKeyResult\n}\nexport interface ListApiKeysResult {\n apiKeys: ApiKeys\n}\nexport interface ListSigningProvidersResult {\n signingProviders: SigningProviders\n}\nexport interface ListSigningProviderKeysResult {\n keys: Keys\n}\nexport type GetWalletResult = Wallet | Null\n/**\n *\n * Generated! Represents an alias to any of the provided schemas\n *\n */\n\nexport type AddNetwork = (params: AddNetworkParams) => Promise<Null>\nexport type RemoveNetwork = (params: RemoveNetworkParams) => Promise<Null>\nexport type ListNetworks = () => Promise<ListNetworksResult>\nexport type GetNetwork = (params: GetNetworkParams) => Promise<GetNetworkResult>\nexport type SelfSignedAccessToken = (\n params: SelfSignedAccessTokenParams\n) => Promise<SelfSignedAccessTokenResult>\nexport type AddIdp = (params: AddIdpParams) => Promise<Null>\nexport type RemoveIdp = (params: RemoveIdpParams) => Promise<Null>\nexport type ListIdps = () => Promise<ListIdpsResult>\nexport type CreateWallet = (\n params: CreateWalletParams\n) => Promise<CreateWalletResult>\nexport type StartSelfIssuedLoginSession = (\n params: StartSelfIssuedLoginSessionParams\n) => Promise<StartSelfIssuedLoginSessionResult>\nexport type GetSelfIssuedLoginMode = (\n params: GetSelfIssuedLoginModeParams\n) => Promise<GetSelfIssuedLoginModeResult>\nexport type CreateSelfIssuedWallet = (\n params: CreateSelfIssuedWalletParams\n) => Promise<CreateSelfIssuedWalletResult>\nexport type AllocateSelfIssuedWallet = (\n params: AllocateSelfIssuedWalletParams\n) => Promise<AllocateSelfIssuedWalletResult>\nexport type CompleteSelfIssuedLogin = (\n params: CompleteSelfIssuedLoginParams\n) => Promise<CompleteSelfIssuedLoginResult>\nexport type RemoveSelfIssuedLoginSession = (\n params: RemoveSelfIssuedLoginSessionParams\n) => Promise<Null>\nexport type AllocatePartyForWallet = (\n params: AllocatePartyForWalletParams\n) => Promise<AllocatePartyForWalletResult>\nexport type SetPrimaryWallet = (params: SetPrimaryWalletParams) => Promise<Null>\nexport type RemoveWallet = (\n params: RemoveWalletParams\n) => Promise<RemovePartyResult>\nexport type ListWallets = (\n params: ListWalletsParams\n) => Promise<ListWalletsResult>\nexport type SyncWallets = () => Promise<SyncWalletsResult>\nexport type IsWalletSyncNeeded = () => Promise<IsWalletSyncNeededResult>\nexport type Sign = (params: SignParams) => Promise<SignResult>\nexport type SignMessage = (\n params: SignMessageParams\n) => Promise<SignMessageResult>\nexport type GetSignMessageStatus = (\n params: GetSignMessageStatusParams\n) => Promise<GetSignMessageStatusResult>\nexport type GetMessageToSign = (\n params: GetMessageToSignParams\n) => Promise<GetMessageToSignResult>\nexport type ListMessagesToSign = () => Promise<ListMessagesToSignResult>\nexport type DeleteMessageToSign = (\n params: DeleteMessageToSignParams\n) => Promise<Null>\nexport type Execute = (params: ExecuteParams) => Promise<ExecuteResult>\nexport type AddSession = (params: AddSessionParams) => Promise<AddSessionResult>\nexport type RemoveSession = () => Promise<Null>\nexport type ListSessions = () => Promise<ListSessionsResult>\nexport type GetTransaction = (\n params: GetTransactionParams\n) => Promise<GetTransactionResult>\nexport type GetTransactionStatus = (\n params: GetTransactionStatusParams\n) => Promise<GetTransactionStatusResult>\nexport type ListTransactions = (\n params: ListTransactionsParams\n) => Promise<ListTransactionsResult>\nexport type DeleteTransaction = (\n params: DeleteTransactionParams\n) => Promise<Null>\nexport type GetUser = () => Promise<GetUserResult>\nexport type GenerateApiKey = (\n params: GenerateApiKeyParams\n) => Promise<GeneratedApiKey>\nexport type ListApiKeys = () => Promise<ListApiKeysResult>\nexport type RemoveApiKey = (params: RemoveApiKeyParams) => Promise<Null>\nexport type ListSigningProviders = () => Promise<ListSigningProvidersResult>\nexport type ListSigningProviderKeys = (\n params: ListSigningProviderKeysParams\n) => Promise<ListSigningProviderKeysResult>\nexport type GetWallet = (params: GetWalletParams) => Promise<GetWalletResult>\nexport type ChangeSigningProvider = (\n params: ChangeSigningProviderParams\n) => Promise<Null>\n/* oxlint-enable no-unused-vars */\n\ntype Params<T> = T extends (...args: infer A) => any\n ? A extends []\n ? never\n : A[0]\n : never\ntype Result<T> = T extends (...args: any[]) => Promise<infer R> ? R : never\n\nexport type RpcTypes = {\n addNetwork: {\n params: Params<AddNetwork>\n result: Result<AddNetwork>\n }\n\n removeNetwork: {\n params: Params<RemoveNetwork>\n result: Result<RemoveNetwork>\n }\n\n listNetworks: {\n params: Params<ListNetworks>\n result: Result<ListNetworks>\n }\n\n getNetwork: {\n params: Params<GetNetwork>\n result: Result<GetNetwork>\n }\n\n selfSignedAccessToken: {\n params: Params<SelfSignedAccessToken>\n result: Result<SelfSignedAccessToken>\n }\n\n addIdp: {\n params: Params<AddIdp>\n result: Result<AddIdp>\n }\n\n removeIdp: {\n params: Params<RemoveIdp>\n result: Result<RemoveIdp>\n }\n\n listIdps: {\n params: Params<ListIdps>\n result: Result<ListIdps>\n }\n\n createWallet: {\n params: Params<CreateWallet>\n result: Result<CreateWallet>\n }\n\n startSelfIssuedLoginSession: {\n params: Params<StartSelfIssuedLoginSession>\n result: Result<StartSelfIssuedLoginSession>\n }\n\n getSelfIssuedLoginMode: {\n params: Params<GetSelfIssuedLoginMode>\n result: Result<GetSelfIssuedLoginMode>\n }\n\n createSelfIssuedWallet: {\n params: Params<CreateSelfIssuedWallet>\n result: Result<CreateSelfIssuedWallet>\n }\n\n allocateSelfIssuedWallet: {\n params: Params<AllocateSelfIssuedWallet>\n result: Result<AllocateSelfIssuedWallet>\n }\n\n completeSelfIssuedLogin: {\n params: Params<CompleteSelfIssuedLogin>\n result: Result<CompleteSelfIssuedLogin>\n }\n\n removeSelfIssuedLoginSession: {\n params: Params<RemoveSelfIssuedLoginSession>\n result: Result<RemoveSelfIssuedLoginSession>\n }\n\n allocatePartyForWallet: {\n params: Params<AllocatePartyForWallet>\n result: Result<AllocatePartyForWallet>\n }\n\n setPrimaryWallet: {\n params: Params<SetPrimaryWallet>\n result: Result<SetPrimaryWallet>\n }\n\n removeWallet: {\n params: Params<RemoveWallet>\n result: Result<RemoveWallet>\n }\n\n listWallets: {\n params: Params<ListWallets>\n result: Result<ListWallets>\n }\n\n syncWallets: {\n params: Params<SyncWallets>\n result: Result<SyncWallets>\n }\n\n isWalletSyncNeeded: {\n params: Params<IsWalletSyncNeeded>\n result: Result<IsWalletSyncNeeded>\n }\n\n sign: {\n params: Params<Sign>\n result: Result<Sign>\n }\n\n signMessage: {\n params: Params<SignMessage>\n result: Result<SignMessage>\n }\n\n getSignMessageStatus: {\n params: Params<GetSignMessageStatus>\n result: Result<GetSignMessageStatus>\n }\n\n getMessageToSign: {\n params: Params<GetMessageToSign>\n result: Result<GetMessageToSign>\n }\n\n listMessagesToSign: {\n params: Params<ListMessagesToSign>\n result: Result<ListMessagesToSign>\n }\n\n deleteMessageToSign: {\n params: Params<DeleteMessageToSign>\n result: Result<DeleteMessageToSign>\n }\n\n execute: {\n params: Params<Execute>\n result: Result<Execute>\n }\n\n addSession: {\n params: Params<AddSession>\n result: Result<AddSession>\n }\n\n removeSession: {\n params: Params<RemoveSession>\n result: Result<RemoveSession>\n }\n\n listSessions: {\n params: Params<ListSessions>\n result: Result<ListSessions>\n }\n\n getTransaction: {\n params: Params<GetTransaction>\n result: Result<GetTransaction>\n }\n\n getTransactionStatus: {\n params: Params<GetTransactionStatus>\n result: Result<GetTransactionStatus>\n }\n\n listTransactions: {\n params: Params<ListTransactions>\n result: Result<ListTransactions>\n }\n\n deleteTransaction: {\n params: Params<DeleteTransaction>\n result: Result<DeleteTransaction>\n }\n\n getUser: {\n params: Params<GetUser>\n result: Result<GetUser>\n }\n\n generateApiKey: {\n params: Params<GenerateApiKey>\n result: Result<GenerateApiKey>\n }\n\n listApiKeys: {\n params: Params<ListApiKeys>\n result: Result<ListApiKeys>\n }\n\n removeApiKey: {\n params: Params<RemoveApiKey>\n result: Result<RemoveApiKey>\n }\n\n listSigningProviders: {\n params: Params<ListSigningProviders>\n result: Result<ListSigningProviders>\n }\n\n listSigningProviderKeys: {\n params: Params<ListSigningProviderKeys>\n result: Result<ListSigningProviderKeys>\n }\n\n getWallet: {\n params: Params<GetWallet>\n result: Result<GetWallet>\n }\n\n changeSigningProvider: {\n params: Params<ChangeSigningProvider>\n result: Result<ChangeSigningProvider>\n }\n}\n\nexport class WalletJSONRPCUserAPI {\n public transport: RpcTransport\n\n constructor(transport: RpcTransport) {\n this.transport = transport\n }\n\n public async request<M extends keyof RpcTypes>(\n args: RequestArgs<RpcTypes, M>\n ): Promise<RpcTypes[M]['result']> {\n const response = await this.transport.submit(args as RequestPayload)\n return response.result as RpcTypes[M]['result']\n }\n}\nexport default WalletJSONRPCUserAPI\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgsCA,IAAa,uBAAb,MAAkC;CAG9B,YAAY,WAAyB;EAF9B,gBAAA,MAAA,aAAA,KAAA,CAAA;EAGH,KAAK,YAAY;CACrB;CAEA,MAAa,QACT,MAC8B;EAE9B,QAAO,MADgB,KAAK,UAAU,OAAO,IAAsB,EAAA,CACnD;CACpB;AACJ"}
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../src/index.ts"],"sourcesContent":["// Copyright (c) 2025-2026 Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved.\n// SPDX-License-Identifier: Apache-2.0\n\n// Code generated by @open-rpc/generator DO NOT EDIT.\nimport type { RequestArgs, RequestPayload } from '@canton-network/core-types'\nimport type { RpcTransport } from '@canton-network/core-rpc-transport'\n\n/* oxlint-disable no-unused-vars */\n/**\n *\n * The network ID the wallet corresponds to.\n *\n */\nexport type NetworkId = string\nexport type Name = string\n/**\n *\n * Description of network\n *\n */\nexport type Description = string\n/**\n *\n * Synchronizer ID\n *\n */\nexport type SynchronizerId = string\n/**\n *\n * Identity Provider ID\n *\n */\nexport type IdentityProviderId = string\nexport type AuthorizationCodeAuthMethod = 'authorization_code'\nexport type Scope = string\nexport type ClientId = string\n/**\n *\n * Bare participant ID, with no https://daml.com/jwt/aud/participant/ prefix (unlike the other auth methods).\n *\n */\nexport type Audience = string\ntype AlwaysFalse = any\n/**\n *\n * Authorization code authentication configuration\n *\n */\nexport interface AuthorizationCodeAuth {\n method: AuthorizationCodeAuthMethod\n scope: Scope\n clientId: ClientId\n audience: Audience\n}\nexport type ClientCredentialsAuthMethod = 'client_credentials'\n/**\n *\n * Overrides the network's identity provider for client credentials token acquisition\n *\n */\nexport type ClientCredentialsIdentityProviderId = string\nexport type ClientSecret = string\n/**\n *\n * Client credentials authentication configuration\n *\n */\nexport interface ClientCredentialsAuth {\n method: ClientCredentialsAuthMethod\n identityProviderId?: ClientCredentialsIdentityProviderId\n scope: Scope\n clientId: ClientId\n clientSecret: ClientSecret\n audience: Audience\n}\nexport type SelfSignedAuthMethod = 'self_signed'\n/**\n *\n * Issuer of identity provider\n *\n */\nexport type Issuer = string\n/**\n *\n * Self-signed authentication configuration\n *\n */\nexport interface SelfSignedAuth {\n method: SelfSignedAuthMethod\n scope: Scope\n clientId: ClientId\n clientSecret: ClientSecret\n issuer: Issuer\n audience: Audience\n}\nexport type SelfIssuedAuthMethod = 'self_issued'\n/**\n *\n * Self-issued authentication configuration\n *\n */\nexport interface SelfIssuedAuth {\n method: SelfIssuedAuthMethod\n scope: Scope\n audience: Audience\n}\n/**\n *\n * Authentication configuration for a network\n *\n */\nexport type Auth =\n | AuthorizationCodeAuth\n | ClientCredentialsAuth\n | SelfSignedAuth\n | SelfIssuedAuth\n/**\n *\n * Ledger api url\n *\n */\nexport type LedgerApi = string\n/**\n *\n * Connected network metadata. Privileged credentials (adminAuth, serviceAccountAuth) are included only for the admin user.\n *\n */\nexport interface Network {\n id: NetworkId\n name: Name\n description: Description\n synchronizerId?: SynchronizerId\n identityProviderId: IdentityProviderId\n auth: Auth\n adminAuth?: Auth\n serviceAccountAuth?: Auth\n ledgerApi: LedgerApi\n}\n/**\n *\n * Ledger api url\n *\n */\nexport type NetworkName = string\nexport type Id = string\n/**\n *\n * OAuth identity provider\n *\n */\nexport type OauthIdpType = 'oauth'\n/**\n *\n * The configuration URL for the identity provider.\n *\n */\nexport type ConfigUrl = string\nexport interface OauthIdp {\n id: Id\n type: OauthIdpType\n issuer: Issuer\n configUrl: ConfigUrl\n}\n/**\n *\n * Self-signed identity provider\n *\n */\nexport type SelfSignedIdpType = 'self_signed'\nexport interface SelfSignedIdp {\n id: Id\n type: SelfSignedIdpType\n issuer: Issuer\n}\n/**\n *\n * Self-issued identity provider\n *\n */\nexport type SelfIssuedIdpType = 'self_issued'\nexport interface SelfIssuedIdp {\n id: Id\n type: SelfIssuedIdpType\n}\n/**\n *\n * Structure representing an identity provider\n *\n */\nexport type Idp = OauthIdp | SelfSignedIdp | SelfIssuedIdp\n/**\n *\n * Set as primary wallet for dApp usage.\n *\n */\nexport type Primary = boolean\n/**\n *\n * The party hint and name of the wallet.\n *\n */\nexport type PartyHint = string\n/**\n *\n * The signing provider ID the wallet corresponds to.\n *\n */\nexport type SigningProviderId = string\n/**\n *\n * Name of signing provider's key to use for the wallet.\n *\n */\nexport type KeyName = string\n/**\n *\n * User id used while onboarding.\n *\n */\nexport type Username = string\n/**\n *\n * The origin (dApp URL) that initiated this transaction request.\n *\n */\nexport type Origin = string\n/**\n *\n * Session id required by the remaining self-issued onboarding methods.\n *\n */\nexport type SessionId = string\n/**\n *\n * The party ID corresponding to the wallet.\n *\n */\nexport type PartyId = string\n/**\n *\n * The internal identifier of the pending message-signing request.\n *\n */\nexport type MessageId = string\n/**\n *\n * Filter wallets by network IDs.\n *\n */\nexport type NetworkIds = NetworkId[]\n/**\n *\n * Filter wallets by signing provider IDs.\n *\n */\nexport type SigningProviderIds = SigningProviderId[]\n/**\n *\n * Filter for the wallets to be returned.\n *\n */\nexport interface WalletFilter {\n networkIds?: NetworkIds\n signingProviderIds?: SigningProviderIds\n}\n/**\n *\n * The internal transaction identifier.\n *\n */\nexport type TransactionId = string\n/**\n *\n * Limit of transactions to return.\n *\n */\nexport type Limit = number\n/**\n *\n * Cursor for next page of results.\n *\n */\nexport type CursorAsString = string\n/**\n *\n * Cursor for next page of results.\n *\n */\nexport type Cursor = CursorAsString\n/**\n *\n * The public key of the party.\n *\n */\nexport type PublicKey = string\n/**\n *\n * Authentication method configured for this network\n *\n */\nexport type AuthMethod = string\n/**\n *\n * Network metadata exposed by listNetworks without sensitive auth configuration\n *\n */\nexport interface PublicNetwork {\n id: NetworkId\n name: Name\n description: Description\n synchronizerId?: SynchronizerId\n identityProviderId: IdentityProviderId\n ledgerApi: LedgerApi\n authMethod: AuthMethod\n clientId?: ClientId\n scope?: Scope\n audience?: Audience\n}\nexport type Networks = PublicNetwork[]\n/**\n *\n * The access token for the session.\n *\n */\nexport type AccessToken = string\nexport type Idps = Idp[]\n/**\n *\n * The status of the wallet.\n *\n */\nexport type WalletStatus = 'initialized' | 'allocated' | 'removed'\n/**\n *\n * The party hint and name of the wallet.\n *\n */\nexport type Hint = string\n/**\n *\n * The namespace of the party.\n *\n */\nexport type Namespace = string\n/**\n *\n * Unique identifier of the signed transaction given by the Signing Provider. This may not be the same as the internal txId given by the Wallet Gateway.\n *\n */\nexport type ExternalTxId = string\n/**\n *\n * The topology transactions\n *\n */\nexport type TopologyTransactions = string\n/**\n *\n * Whether the wallet is disabled. Wallets are disabled when no signing provider matches the party's namespace during sync. Disabled wallets use participant as the default signing provider.\n *\n */\nexport type Disabled = boolean\n/**\n *\n * Reason for the wallet state, e.g., 'no signing provider matched'.\n *\n */\nexport type Reason = string\n/**\n *\n * Whether the party authenticates the user with self-issued tokens.\n *\n */\nexport type IsAuthParty = boolean\nexport type PartyLevelRight = 'CanActAs' | 'CanReadAs' | 'CanExecuteAs'\n/**\n *\n * The rights of the wallet.\n *\n */\nexport type PartyRights = PartyLevelRight[]\n/**\n *\n * Structure representing a wallet\n *\n */\nexport interface Wallet {\n primary: Primary\n partyId: PartyId\n status: WalletStatus\n hint: Hint\n publicKey: PublicKey\n namespace: Namespace\n networkId: NetworkId\n signingProviderId: SigningProviderId\n externalTxId?: ExternalTxId\n topologyTransactions?: TopologyTransactions\n disabled?: Disabled\n reason?: Reason\n isAuthParty?: IsAuthParty\n rights: PartyRights\n}\n/**\n *\n * create when there is no ledger user yet. select when the user already authenticates with a primary party.\n *\n */\nexport type SelfIssuedLoginMode = 'create' | 'select'\nexport interface Key {\n id: Id\n name: Name\n publicKey: PublicKey\n}\n/**\n *\n * The list of signing provider's available keys.\n *\n */\nexport type Keys = Key[]\nexport type SignSelfIssuedAccessTokenStatusConnected = 'connected'\nexport interface SignSelfIssuedAccessTokenConnected {\n status: SignSelfIssuedAccessTokenStatusConnected\n wallet: Wallet\n accessToken: AccessToken\n sessionId: SessionId\n}\nexport type SignSelfIssuedAccessTokenStatusAwaitingSignature =\n 'awaiting-signature'\nexport interface SignSelfIssuedAccessTokenAwaitingSignature {\n status: SignSelfIssuedAccessTokenStatusAwaitingSignature\n messageId: MessageId\n}\nexport type SignSelfIssuedAccessTokenStatusFailed = 'failed'\n/**\n *\n * Reason for why the transaction failed.\n *\n */\nexport type FailureReason = string\nexport interface SignSelfIssuedAccessTokenFailed {\n status: SignSelfIssuedAccessTokenStatusFailed\n messageId: MessageId\n failureReason: FailureReason\n}\ntype AlwaysTrue = any\n/**\n *\n * Party ids of non-disabled wallets added in this syncWallets call.\n *\n */\nexport type SyncWalletsResultAdded = PartyId[]\n/**\n *\n * Party ids of existing wallets whose status became initialized, whose rights changed, or whose isAuthParty flag changed in this syncWallets call.\n *\n */\nexport type SyncWalletsResultUpdated = PartyId[]\n/**\n *\n * Party ids of wallets added disabled, or existing wallets disabled, in this syncWallets call.\n *\n */\nexport type SyncWalletsResultDisabled = PartyId[]\n/**\n *\n * Whether wallet sync is needed. Returns true if there are disabled wallets or parties on the ledger that aren't in the store.\n *\n */\nexport type WalletSyncNeeded = boolean\nexport type TxStatusSigned = 'signed'\n/**\n *\n * The signature of the message.\n *\n */\nexport type Signature = string\nexport type SignedBy = string\nexport interface SignResultSigned {\n status: TxStatusSigned\n signature: Signature\n signedBy: SignedBy\n partyId: PartyId\n externalTxId?: ExternalTxId\n}\nexport type TxStatusPending = 'pending'\nexport interface SignResultPending {\n status: TxStatusPending\n partyId: PartyId\n externalTxId: ExternalTxId\n}\nexport type TxStatusRejected = 'rejected'\nexport interface SignResultRejected {\n status: TxStatusRejected\n partyId: PartyId\n externalTxId: ExternalTxId\n}\nexport type TxStatusFailed = 'failed'\nexport interface SignResultFailed {\n status: TxStatusFailed\n partyId: PartyId\n externalTxId: ExternalTxId\n}\n/**\n *\n * The status of the transaction.\n *\n */\nexport type Status = string\n/**\n *\n * The message to sign.\n *\n */\nexport type Message = string\n/**\n *\n * The timestamp when the API key was created.\n *\n */\nexport type CreatedAt = string\n/**\n *\n * The timestamp when the transaction was signed.\n *\n */\nexport type SignedAt = string\nexport interface MessageRaw {\n id: MessageId\n status: Status\n partyId: PartyId\n publicKey: PublicKey\n message: Message\n origin?: Origin\n createdAt: CreatedAt\n signedAt?: SignedAt\n signature?: Signature\n externalTxId?: ExternalTxId\n failureReason?: FailureReason\n}\nexport type Messages = MessageRaw[]\nexport type UserLevelRight = 'CanReadAsAnyParty' | 'CanExecuteAsAnyParty'\n/**\n *\n * The rights of the user for the network.\n *\n */\nexport type UserRights = UserLevelRight[]\n/**\n *\n * Structure representing the connected network session\n *\n */\nexport interface Session {\n id: Id\n origin?: Origin\n network: Network\n idp: Idp\n accessToken: AccessToken\n status: Status\n reason?: Reason\n rights: UserRights\n}\nexport type Sessions = Session[]\n/**\n *\n * The unique identifier of the command associated with the transaction.\n *\n */\nexport type CommandId = string\n/**\n *\n * The transaction data corresponding to the command ID.\n *\n */\nexport type PreparedTransaction = string\n/**\n *\n * The hash of the prepared transaction.\n *\n */\nexport type PreparedTransactionHash = string\n/**\n *\n * Optional payload associated with the transaction.\n *\n */\nexport type Payload = string\nexport interface Transaction {\n id: TransactionId\n commandId: CommandId\n status: Status\n createdAt?: CreatedAt\n signedAt?: SignedAt\n preparedTransaction: PreparedTransaction\n preparedTransactionHash: PreparedTransactionHash\n payload?: Payload\n origin?: Origin\n externalTxId?: ExternalTxId\n failureReason?: FailureReason\n}\nexport type Transactions = Transaction[]\n/**\n *\n * Cursor for next page of results.\n *\n */\nexport type NextCursor = string\n/**\n *\n * Number of total transactions for the user.\n *\n */\nexport type Count = number\n/**\n *\n * The unique identifier of the current user.\n *\n */\nexport type UserIdentifier = string\n/**\n *\n * Whether the current user is an admin.\n *\n */\nexport type IsAdminFlag = boolean\n/**\n *\n * The version of the Wallet Gateway.\n *\n */\nexport type GatewayVersion = string\n/**\n *\n * Stable identifier of the notice.\n *\n */\nexport type NoticeId = string\nexport type NoticeSeverity = 'info' | 'warning'\nexport type NoticeMessage = string\n/**\n *\n * When the notice was first reported.\n *\n */\nexport type NoticeFirstSeenAt = string\n/**\n *\n * When the notice was last reported.\n *\n */\nexport type NoticeLastSeenAt = string\n/**\n *\n * A notice for server administrators, e.g. about deprecated configuration.\n *\n */\nexport interface ServerNotice {\n id: NoticeId\n severity: NoticeSeverity\n message: NoticeMessage\n firstSeenAt: NoticeFirstSeenAt\n lastSeenAt: NoticeLastSeenAt\n}\nexport type ServerNotices = ServerNotice[]\n/**\n *\n * The generated API key.\n *\n */\nexport type ApiKeyResult = string\nexport interface ApiKey {\n id: Id\n name: Name\n createdAt: CreatedAt\n}\n/**\n *\n * The list of API keys.\n *\n */\nexport type ApiKeys = ApiKey[]\n/**\n *\n * The IDs of the available signing providers.\n *\n */\nexport type SigningProviders = SigningProviderId[]\n/**\n *\n * Represents a null value, used in responses where no data is returned.\n *\n */\nexport type Null = null\nexport interface AddNetworkParams {\n network: Network\n}\nexport interface RemoveNetworkParams {\n networkName: NetworkName\n}\nexport interface GetNetworkParams {\n networkId: NetworkId\n}\nexport interface SelfSignedAccessTokenParams {\n networkId: NetworkId\n clientId: ClientId\n clientSecret: ClientSecret\n}\nexport interface AddIdpParams {\n idp: Idp\n}\nexport interface RemoveIdpParams {\n identityProviderId: IdentityProviderId\n}\nexport interface CreateWalletParams {\n primary?: Primary\n partyHint: PartyHint\n signingProviderId: SigningProviderId\n keyName?: KeyName\n}\nexport interface StartSelfIssuedLoginSessionParams {\n username: Username\n networkId: NetworkId\n origin: Origin\n}\nexport interface GetSelfIssuedLoginModeParams {\n sessionId: SessionId\n}\nexport interface ListSelfIssuedSigningProviderKeysParams {\n sessionId: SessionId\n signingProviderId: SigningProviderId\n}\nexport interface CreateSelfIssuedWalletParams {\n sessionId: SessionId\n partyHint: PartyHint\n signingProviderId: SigningProviderId\n keyName?: KeyName\n}\nexport interface AllocateSelfIssuedWalletParams {\n sessionId: SessionId\n partyId: PartyId\n}\nexport interface SignSelfIssuedAccessTokenParams {\n sessionId: SessionId\n partyId: PartyId\n}\nexport interface GetSignSelfIssuedAccessTokenStatusParams {\n sessionId: SessionId\n messageId: MessageId\n}\nexport interface RemoveSelfIssuedLoginSessionParams {\n sessionId: SessionId\n}\nexport interface AllocatePartyForWalletParams {\n partyId: PartyId\n}\nexport interface SetPrimaryWalletParams {\n partyId: PartyId\n}\nexport interface RemoveWalletParams {\n partyId: PartyId\n}\nexport interface ListWalletsParams {\n filter?: WalletFilter\n}\nexport interface SignParams {\n transactionId: TransactionId\n partyId: PartyId\n}\nexport interface SignMessageParams {\n messageId: MessageId\n partyId?: PartyId\n}\nexport interface GetSignMessageStatusParams {\n messageId: MessageId\n}\nexport interface GetMessageToSignParams {\n messageId: MessageId\n}\nexport interface DeleteMessageToSignParams {\n messageId: MessageId\n}\nexport interface ExecuteParams {\n partyId: PartyId\n transactionId: TransactionId\n}\nexport interface AddSessionParams {\n origin: Origin\n networkId: NetworkId\n}\nexport interface GetTransactionParams {\n transactionId: TransactionId\n}\nexport interface GetTransactionStatusParams {\n transactionId: TransactionId\n partyId?: PartyId\n}\nexport interface ListTransactionsParams {\n limit?: Limit\n cursor?: Cursor\n}\nexport interface DeleteTransactionParams {\n transactionId: TransactionId\n}\nexport interface GenerateApiKeyParams {\n name: Name\n}\nexport interface RemoveApiKeyParams {\n id: Id\n}\nexport interface ListSigningProviderKeysParams {\n signingProviderId: SigningProviderId\n}\nexport interface GetWalletParams {\n partyId: PartyId\n}\nexport interface ChangeSigningProviderParams {\n signingProviderId: SigningProviderId\n partyId: PartyId\n publicKey: PublicKey\n}\nexport interface ListNetworksResult {\n networks: Networks\n}\nexport interface GetNetworkResult {\n network: Network\n}\nexport interface SelfSignedAccessTokenResult {\n accessToken: AccessToken\n}\nexport interface ListIdpsResult {\n idps: Idps\n}\nexport interface CreateWalletResult {\n wallet: Wallet\n}\nexport interface StartSelfIssuedLoginSessionResult {\n sessionId: SessionId\n}\nexport interface GetSelfIssuedLoginModeResult {\n mode: SelfIssuedLoginMode\n wallet?: Wallet\n}\nexport interface ListSigningProviderKeysResult {\n keys: Keys\n}\nexport interface CreateSelfIssuedWalletResult {\n wallet: Wallet\n}\nexport interface AllocateSelfIssuedWalletResult {\n wallet: Wallet\n}\nexport type SignSelfIssuedAccessTokenResult =\n | SignSelfIssuedAccessTokenConnected\n | SignSelfIssuedAccessTokenAwaitingSignature\n | SignSelfIssuedAccessTokenFailed\nexport interface AllocatePartyForWalletResult {\n wallet: Wallet\n}\nexport interface RemovePartyResult {\n [key: string]: any\n}\n/**\n *\n * An array of wallets that match the filter criteria.\n *\n */\nexport type ListWalletsResult = Wallet[]\n/**\n *\n * Added, updated and disabled wallets as a result of the sync.\n *\n */\nexport interface SyncWalletsResult {\n added: SyncWalletsResultAdded\n updated: SyncWalletsResultUpdated\n disabled: SyncWalletsResultDisabled\n}\nexport interface IsWalletSyncNeededResult {\n walletSyncNeeded: WalletSyncNeeded\n}\nexport type SignResult =\n | SignResultSigned\n | SignResultPending\n | SignResultRejected\n | SignResultFailed\nexport interface SignMessageResult {\n signature?: Signature\n publicKey: PublicKey\n status: Status\n externalTxId?: ExternalTxId\n failureReason?: FailureReason\n}\nexport interface GetSignMessageStatusResult {\n status: Status\n externalTxId?: ExternalTxId\n signature?: Signature\n failureReason?: FailureReason\n}\nexport interface GetMessageToSignResult {\n message: MessageRaw\n}\nexport interface ListMessagesToSignResult {\n messages: Messages\n}\nexport interface ExecuteResult {\n [key: string]: any\n}\n/**\n *\n * Structure representing the connected network session\n *\n */\nexport interface AddSessionResult {\n id: Id\n origin?: Origin\n network: Network\n idp: Idp\n accessToken: AccessToken\n status: Status\n reason?: Reason\n rights: UserRights\n}\nexport interface ListSessionsResult {\n sessions: Sessions\n}\nexport interface GetTransactionResult {\n id: TransactionId\n commandId: CommandId\n status: Status\n createdAt?: CreatedAt\n signedAt?: SignedAt\n preparedTransaction: PreparedTransaction\n preparedTransactionHash: PreparedTransactionHash\n payload?: Payload\n origin?: Origin\n externalTxId?: ExternalTxId\n failureReason?: FailureReason\n}\nexport interface GetTransactionStatusResult {\n status: Status\n externalTxId?: ExternalTxId\n failureReason?: FailureReason\n}\nexport interface ListTransactionsResult {\n transactions: Transactions\n nextCursor?: NextCursor\n count: Count\n}\nexport interface GetUserResult {\n userId: UserIdentifier\n isAdmin: IsAdminFlag\n}\nexport interface GetServerStatusResult {\n version: GatewayVersion\n notices: ServerNotices\n}\nexport interface GeneratedApiKey {\n id: Id\n apiKey: ApiKeyResult\n}\nexport interface ListApiKeysResult {\n apiKeys: ApiKeys\n}\nexport interface ListSigningProvidersResult {\n signingProviders: SigningProviders\n}\nexport type GetWalletResult = Wallet | Null\n/**\n *\n * Generated! Represents an alias to any of the provided schemas\n *\n */\n\nexport type AddNetwork = (params: AddNetworkParams) => Promise<Null>\nexport type RemoveNetwork = (params: RemoveNetworkParams) => Promise<Null>\nexport type ListNetworks = () => Promise<ListNetworksResult>\nexport type GetNetwork = (params: GetNetworkParams) => Promise<GetNetworkResult>\nexport type SelfSignedAccessToken = (\n params: SelfSignedAccessTokenParams\n) => Promise<SelfSignedAccessTokenResult>\nexport type AddIdp = (params: AddIdpParams) => Promise<Null>\nexport type RemoveIdp = (params: RemoveIdpParams) => Promise<Null>\nexport type ListIdps = () => Promise<ListIdpsResult>\nexport type CreateWallet = (\n params: CreateWalletParams\n) => Promise<CreateWalletResult>\nexport type StartSelfIssuedLoginSession = (\n params: StartSelfIssuedLoginSessionParams\n) => Promise<StartSelfIssuedLoginSessionResult>\nexport type GetSelfIssuedLoginMode = (\n params: GetSelfIssuedLoginModeParams\n) => Promise<GetSelfIssuedLoginModeResult>\nexport type ListSelfIssuedSigningProviderKeys = (\n params: ListSelfIssuedSigningProviderKeysParams\n) => Promise<ListSigningProviderKeysResult>\nexport type CreateSelfIssuedWallet = (\n params: CreateSelfIssuedWalletParams\n) => Promise<CreateSelfIssuedWalletResult>\nexport type AllocateSelfIssuedWallet = (\n params: AllocateSelfIssuedWalletParams\n) => Promise<AllocateSelfIssuedWalletResult>\nexport type SignSelfIssuedAccessToken = (\n params: SignSelfIssuedAccessTokenParams\n) => Promise<SignSelfIssuedAccessTokenResult>\nexport type GetSignSelfIssuedAccessTokenStatus = (\n params: GetSignSelfIssuedAccessTokenStatusParams\n) => Promise<SignSelfIssuedAccessTokenResult>\nexport type RemoveSelfIssuedLoginSession = (\n params: RemoveSelfIssuedLoginSessionParams\n) => Promise<Null>\nexport type AllocatePartyForWallet = (\n params: AllocatePartyForWalletParams\n) => Promise<AllocatePartyForWalletResult>\nexport type SetPrimaryWallet = (params: SetPrimaryWalletParams) => Promise<Null>\nexport type RemoveWallet = (\n params: RemoveWalletParams\n) => Promise<RemovePartyResult>\nexport type ListWallets = (\n params: ListWalletsParams\n) => Promise<ListWalletsResult>\nexport type SyncWallets = () => Promise<SyncWalletsResult>\nexport type IsWalletSyncNeeded = () => Promise<IsWalletSyncNeededResult>\nexport type Sign = (params: SignParams) => Promise<SignResult>\nexport type SignMessage = (\n params: SignMessageParams\n) => Promise<SignMessageResult>\nexport type GetSignMessageStatus = (\n params: GetSignMessageStatusParams\n) => Promise<GetSignMessageStatusResult>\nexport type GetMessageToSign = (\n params: GetMessageToSignParams\n) => Promise<GetMessageToSignResult>\nexport type ListMessagesToSign = () => Promise<ListMessagesToSignResult>\nexport type DeleteMessageToSign = (\n params: DeleteMessageToSignParams\n) => Promise<Null>\nexport type Execute = (params: ExecuteParams) => Promise<ExecuteResult>\nexport type AddSession = (params: AddSessionParams) => Promise<AddSessionResult>\nexport type RemoveSession = () => Promise<Null>\nexport type ListSessions = () => Promise<ListSessionsResult>\nexport type GetTransaction = (\n params: GetTransactionParams\n) => Promise<GetTransactionResult>\nexport type GetTransactionStatus = (\n params: GetTransactionStatusParams\n) => Promise<GetTransactionStatusResult>\nexport type ListTransactions = (\n params: ListTransactionsParams\n) => Promise<ListTransactionsResult>\nexport type DeleteTransaction = (\n params: DeleteTransactionParams\n) => Promise<Null>\nexport type GetUser = () => Promise<GetUserResult>\nexport type GetServerStatus = () => Promise<GetServerStatusResult>\nexport type GenerateApiKey = (\n params: GenerateApiKeyParams\n) => Promise<GeneratedApiKey>\nexport type ListApiKeys = () => Promise<ListApiKeysResult>\nexport type RemoveApiKey = (params: RemoveApiKeyParams) => Promise<Null>\nexport type ListSigningProviders = () => Promise<ListSigningProvidersResult>\nexport type ListSigningProviderKeys = (\n params: ListSigningProviderKeysParams\n) => Promise<ListSigningProviderKeysResult>\nexport type GetWallet = (params: GetWalletParams) => Promise<GetWalletResult>\nexport type ChangeSigningProvider = (\n params: ChangeSigningProviderParams\n) => Promise<Null>\n/* oxlint-enable no-unused-vars */\n\ntype Params<T> = T extends (...args: infer A) => any\n ? A extends []\n ? never\n : A[0]\n : never\ntype Result<T> = T extends (...args: any[]) => Promise<infer R> ? R : never\n\nexport type RpcTypes = {\n addNetwork: {\n params: Params<AddNetwork>\n result: Result<AddNetwork>\n }\n\n removeNetwork: {\n params: Params<RemoveNetwork>\n result: Result<RemoveNetwork>\n }\n\n listNetworks: {\n params: Params<ListNetworks>\n result: Result<ListNetworks>\n }\n\n getNetwork: {\n params: Params<GetNetwork>\n result: Result<GetNetwork>\n }\n\n selfSignedAccessToken: {\n params: Params<SelfSignedAccessToken>\n result: Result<SelfSignedAccessToken>\n }\n\n addIdp: {\n params: Params<AddIdp>\n result: Result<AddIdp>\n }\n\n removeIdp: {\n params: Params<RemoveIdp>\n result: Result<RemoveIdp>\n }\n\n listIdps: {\n params: Params<ListIdps>\n result: Result<ListIdps>\n }\n\n createWallet: {\n params: Params<CreateWallet>\n result: Result<CreateWallet>\n }\n\n startSelfIssuedLoginSession: {\n params: Params<StartSelfIssuedLoginSession>\n result: Result<StartSelfIssuedLoginSession>\n }\n\n getSelfIssuedLoginMode: {\n params: Params<GetSelfIssuedLoginMode>\n result: Result<GetSelfIssuedLoginMode>\n }\n\n listSelfIssuedSigningProviderKeys: {\n params: Params<ListSelfIssuedSigningProviderKeys>\n result: Result<ListSelfIssuedSigningProviderKeys>\n }\n\n createSelfIssuedWallet: {\n params: Params<CreateSelfIssuedWallet>\n result: Result<CreateSelfIssuedWallet>\n }\n\n allocateSelfIssuedWallet: {\n params: Params<AllocateSelfIssuedWallet>\n result: Result<AllocateSelfIssuedWallet>\n }\n\n signSelfIssuedAccessToken: {\n params: Params<SignSelfIssuedAccessToken>\n result: Result<SignSelfIssuedAccessToken>\n }\n\n getSignSelfIssuedAccessTokenStatus: {\n params: Params<GetSignSelfIssuedAccessTokenStatus>\n result: Result<GetSignSelfIssuedAccessTokenStatus>\n }\n\n removeSelfIssuedLoginSession: {\n params: Params<RemoveSelfIssuedLoginSession>\n result: Result<RemoveSelfIssuedLoginSession>\n }\n\n allocatePartyForWallet: {\n params: Params<AllocatePartyForWallet>\n result: Result<AllocatePartyForWallet>\n }\n\n setPrimaryWallet: {\n params: Params<SetPrimaryWallet>\n result: Result<SetPrimaryWallet>\n }\n\n removeWallet: {\n params: Params<RemoveWallet>\n result: Result<RemoveWallet>\n }\n\n listWallets: {\n params: Params<ListWallets>\n result: Result<ListWallets>\n }\n\n syncWallets: {\n params: Params<SyncWallets>\n result: Result<SyncWallets>\n }\n\n isWalletSyncNeeded: {\n params: Params<IsWalletSyncNeeded>\n result: Result<IsWalletSyncNeeded>\n }\n\n sign: {\n params: Params<Sign>\n result: Result<Sign>\n }\n\n signMessage: {\n params: Params<SignMessage>\n result: Result<SignMessage>\n }\n\n getSignMessageStatus: {\n params: Params<GetSignMessageStatus>\n result: Result<GetSignMessageStatus>\n }\n\n getMessageToSign: {\n params: Params<GetMessageToSign>\n result: Result<GetMessageToSign>\n }\n\n listMessagesToSign: {\n params: Params<ListMessagesToSign>\n result: Result<ListMessagesToSign>\n }\n\n deleteMessageToSign: {\n params: Params<DeleteMessageToSign>\n result: Result<DeleteMessageToSign>\n }\n\n execute: {\n params: Params<Execute>\n result: Result<Execute>\n }\n\n addSession: {\n params: Params<AddSession>\n result: Result<AddSession>\n }\n\n removeSession: {\n params: Params<RemoveSession>\n result: Result<RemoveSession>\n }\n\n listSessions: {\n params: Params<ListSessions>\n result: Result<ListSessions>\n }\n\n getTransaction: {\n params: Params<GetTransaction>\n result: Result<GetTransaction>\n }\n\n getTransactionStatus: {\n params: Params<GetTransactionStatus>\n result: Result<GetTransactionStatus>\n }\n\n listTransactions: {\n params: Params<ListTransactions>\n result: Result<ListTransactions>\n }\n\n deleteTransaction: {\n params: Params<DeleteTransaction>\n result: Result<DeleteTransaction>\n }\n\n getUser: {\n params: Params<GetUser>\n result: Result<GetUser>\n }\n\n getServerStatus: {\n params: Params<GetServerStatus>\n result: Result<GetServerStatus>\n }\n\n generateApiKey: {\n params: Params<GenerateApiKey>\n result: Result<GenerateApiKey>\n }\n\n listApiKeys: {\n params: Params<ListApiKeys>\n result: Result<ListApiKeys>\n }\n\n removeApiKey: {\n params: Params<RemoveApiKey>\n result: Result<RemoveApiKey>\n }\n\n listSigningProviders: {\n params: Params<ListSigningProviders>\n result: Result<ListSigningProviders>\n }\n\n listSigningProviderKeys: {\n params: Params<ListSigningProviderKeys>\n result: Result<ListSigningProviderKeys>\n }\n\n getWallet: {\n params: Params<GetWallet>\n result: Result<GetWallet>\n }\n\n changeSigningProvider: {\n params: Params<ChangeSigningProvider>\n result: Result<ChangeSigningProvider>\n }\n}\n\nexport class WalletJSONRPCUserAPI {\n public transport: RpcTransport\n\n constructor(transport: RpcTransport) {\n this.transport = transport\n }\n\n public async request<M extends keyof RpcTypes>(\n args: RequestArgs<RpcTypes, M>\n ): Promise<RpcTypes[M]['result']> {\n const response = await this.transport.submit(args as RequestPayload)\n return response.result as RpcTypes[M]['result']\n }\n}\nexport default WalletJSONRPCUserAPI\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4xCA,IAAa,uBAAb,MAAkC;CAG9B,YAAY,WAAyB;EAF9B,gBAAA,MAAA,aAAA,KAAA,CAAA;EAGH,KAAK,YAAY;CACrB;CAEA,MAAa,QACT,MAC8B;EAE9B,QAAO,MADgB,KAAK,UAAU,OAAO,IAAsB,EAAA,CACnD;CACpB;AACJ"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@canton-network/core-wallet-user-rpc-client",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.18.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "TypeScript client generated by OpenRPC",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -23,11 +23,11 @@
|
|
|
23
23
|
"access": "public"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@canton-network/core-rpc-transport": "1.
|
|
27
|
-
"@canton-network/core-types": "2.
|
|
26
|
+
"@canton-network/core-rpc-transport": "1.17.0",
|
|
27
|
+
"@canton-network/core-types": "2.3.0"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
|
-
"tsdown": "^0.23.
|
|
30
|
+
"tsdown": "^0.23.4",
|
|
31
31
|
"typedoc": "^0.28.20",
|
|
32
32
|
"typescript": "npm:@typescript/typescript6@^6.0.2"
|
|
33
33
|
},
|