cilantro-sdk 0.0.19 → 0.0.21

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.
@@ -99,6 +99,7 @@ export * from "./sendTokenParamsDto";
99
99
  export * from "./sendTransactionDto";
100
100
  export * from "./signMessageDto";
101
101
  export * from "./simulateTransactionDto";
102
+ export * from "./startPasskeyAuthenticationDto";
102
103
  export * from "./submitTransactionDto";
103
104
  export * from "./subscriptionControllerFindAllParams";
104
105
  export * from "./subscriptionControllerFindAllStatus";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/models/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,0BAA0B,CAAC;AACzC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,yCAAyC,CAAC;AACxD,cAAc,oDAAoD,CAAC;AACnE,cAAc,gDAAgD,CAAC;AAC/D,cAAc,gDAAgD,CAAC;AAC/D,cAAc,8CAA8C,CAAC;AAC7D,cAAc,wCAAwC,CAAC;AACvD,cAAc,wCAAwC,CAAC;AACvD,cAAc,4CAA4C,CAAC;AAC3D,cAAc,2CAA2C,CAAC;AAC1D,cAAc,wCAAwC,CAAC;AACvD,cAAc,wBAAwB,CAAC;AACvC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,iBAAiB,CAAC;AAChC,cAAc,oCAAoC,CAAC;AACnD,cAAc,0BAA0B,CAAC;AACzC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,kCAAkC,CAAC;AACjD,cAAc,sCAAsC,CAAC;AACrD,cAAc,wBAAwB,CAAC;AACvC,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,yBAAyB,CAAC;AACxC,cAAc,iCAAiC,CAAC;AAChD,cAAc,qBA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iB,CAAC;AAChC,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,0BAA0B,CAAC;AACzC,cAAc,kCAAkC,CAAC;AACjD,cAAc,kBAAkB,CAAC;AACjC,cAAc,0BAA0B,CAAC;AACzC,cAAc,mCAAmC,CAAC;AAClD,cAAc,kCAAkC,CAAC;AACjD,cAAc,iCAAiC,CAAC;AAChD,cAAc,kDAAkD,CAAC;AACjE,cAAc,4CAA4C,CAAC;AAC3D,cAAc,yCAAyC,CAAC;AACxD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,oCAAoC,CAAC;AACnD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,yCAAyC,CAAC;AACxD,cAAc,6CAA6C,CAAC;AAC5D,cAAc,8BAA8B,CAAC;AAC7C,cAAc,oCAAoC,CAAC;AACnD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,sCAAsC,CAAC;AACrD,cAAc,kCAAkC,CAAC;AACjD,cAAc,sCAAsC,CAAC;AACrD,cAAc,wCAAwC,CAAC;AACvD,cAAc,4CAA4C,CAAC;AAC3D,cAAc,gBAAgB,CAAC"}
@@ -0,0 +1,12 @@
1
+ /**
2
+ * Generated by orval v7.17.0 🍺
3
+ * Do not edit manually.
4
+ * Cilantro Smart API v2
5
+ * API documentation for Cilantro Smart API v2 - A Solana wallet management system
6
+ * OpenAPI spec version: 2.0
7
+ */
8
+ export interface StartPasskeyAuthenticationDto {
9
+ /** Optional: Specific passkey credential ID to authenticate with. If not provided, all passkeys for the wallet will be included. */
10
+ credentialId?: string;
11
+ }
12
+ //# sourceMappingURL=startPasskeyAuthenticationDto.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"startPasskeyAuthenticationDto.d.ts","sourceRoot":"","sources":["../../src/models/startPasskeyAuthenticationDto.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,MAAM,WAAW,6BAA6B;IAC5C,oIAAoI;IACpI,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB"}
@@ -7,7 +7,7 @@ export { createEmailSignerHelper, getEmailSignerKeypair, signWithEmailSigner, cl
7
7
  export { createPhoneSignerHelper, getPhoneSignerKeypair, signWithPhoneSigner, clearPhoneSignerCache, getPhoneSignerByPhone, type PhoneSignerConfig, type PhoneSignerOptions } from './phoneSigner';
8
8
  export { getSignerDeviceKeys, validateDeviceKey, resolveDeviceKey, findAndValidateDeviceKey, getBestDeviceIdentity, type DeviceIdentity, type DeviceKeyValidationResult } from './deviceKeyHelpers';
9
9
  export { addDeviceIdentityToSigner, replaceDeviceIdentity, addNewDeviceToSigner, canAddDeviceToSigner, type AddDeviceIdentityOptions, type ReplaceDeviceIdentityOptions } from './deviceIdentityHelpers';
10
- export { isWebAuthnSupported, isPlatformAuthenticatorAvailable, registerPasskey, authenticateWithPasskey, ensureBase64URLCredentialId, formatRegistrationResponse, formatAuthenticationResponse } from './passkeyHelpers';
10
+ export { isWebAuthnSupported, isPlatformAuthenticatorAvailable, registerPasskey, authenticateWithPasskey, formatRegistrationResponse, formatAuthenticationResponse } from './passkeyHelpers';
11
11
  export { createSigner, revokeSigner, getSigners } from './signerLifecycle';
12
12
  export { addDevice, replaceDevice, getDevices, updateDevice } from './multiDeviceManager';
13
13
  export { isValidEmail, isValidPhone, isBrowserCompatible } from './signerValidation';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/signers/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,OAAO,EACL,mBAAmB,EACnB,cAAc,EACd,mBAAmB,EACnB,gBAAgB,EAChB,aAAa,EACb,KAAK,UAAU,EACf,KAAK,OAAO,EACZ,KAAK,aAAa,EAClB,KAAK,WAAW,EACjB,MAAM,iBAAiB,CAAC;AAGzB,OAAO,EACL,uBAAuB,EACvB,qBAAqB,EACrB,mBAAmB,EACnB,qBAAqB,EACrB,qBAAqB,EACrB,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,EACxB,MAAM,eAAe,CAAC;AAGvB,OAAO,EACL,uBAAuB,EACvB,qBAAqB,EACrB,mBAAmB,EACnB,qBAAqB,EACrB,qBAAqB,EACrB,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,EACxB,MAAM,eAAe,CAAC;AAGvB,OAAO,EACL,mBAAmB,EACnB,iBAAiB,EACjB,gBAAgB,EAChB,wBAAwB,EACxB,qBAAqB,EACrB,KAAK,cAAc,EACnB,KAAK,yBAAyB,EAC/B,MAAM,oBAAoB,CAAC;AAG5B,OAAO,EACL,yBAAyB,EACzB,qBAAqB,EACrB,oBAAoB,EACpB,oBAAoB,EACpB,KAAK,wBAAwB,EAC7B,KAAK,4BAA4B,EAClC,MAAM,yBAAyB,CAAC;AAGjC,OAAO,EACL,mBAAmB,EACnB,gCAAgC,EAChC,eAAe,EACf,uBAAuB,EACvB,2BAA2B,EAC3B,0BAA0B,EAC1B,4BAA4B,EAC7B,MAAM,kBAAkB,CAAC;AAG1B,OAAO,EACL,YAAY,EACZ,YAAY,EACZ,UAAU,EACX,MAAM,mBAAmB,CAAC;AAG3B,OAAO,EACL,SAAS,EACT,aAAa,EACb,UAAU,EACV,YAAY,EACb,MAAM,sBAAsB,CAAC;AAG9B,OAAO,EACL,YAAY,EACZ,YAAY,EACZ,mBAAmB,EACpB,MAAM,oBAAoB,CAAC;AAG5B,OAAO,EACL,aAAa,EACb,SAAS,EACT,aAAa,EACb,eAAe,EACf,WAAW,EACX,KAAK,YAAY,EAClB,MAAM,yBAAyB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/signers/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,OAAO,EACL,mBAAmB,EACnB,cAAc,EACd,mBAAmB,EACnB,gBAAgB,EAChB,aAAa,EACb,KAAK,UAAU,EACf,KAAK,OAAO,EACZ,KAAK,aAAa,EAClB,KAAK,WAAW,EACjB,MAAM,iBAAiB,CAAC;AAGzB,OAAO,EACL,uBAAuB,EACvB,qBAAqB,EACrB,mBAAmB,EACnB,qBAAqB,EACrB,qBAAqB,EACrB,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,EACxB,MAAM,eAAe,CAAC;AAGvB,OAAO,EACL,uBAAuB,EACvB,qBAAqB,EACrB,mBAAmB,EACnB,qBAAqB,EACrB,qBAAqB,EACrB,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,EACxB,MAAM,eAAe,CAAC;AAGvB,OAAO,EACL,mBAAmB,EACnB,iBAAiB,EACjB,gBAAgB,EAChB,wBAAwB,EACxB,qBAAqB,EACrB,KAAK,cAAc,EACnB,KAAK,yBAAyB,EAC/B,MAAM,oBAAoB,CAAC;AAG5B,OAAO,EACL,yBAAyB,EACzB,qBAAqB,EACrB,oBAAoB,EACpB,oBAAoB,EACpB,KAAK,wBAAwB,EAC7B,KAAK,4BAA4B,EAClC,MAAM,yBAAyB,CAAC;AAGjC,OAAO,EACL,mBAAmB,EACnB,gCAAgC,EAChC,eAAe,EACf,uBAAuB,EACvB,0BAA0B,EAC1B,4BAA4B,EAC7B,MAAM,kBAAkB,CAAC;AAG1B,OAAO,EACL,YAAY,EACZ,YAAY,EACZ,UAAU,EACX,MAAM,mBAAmB,CAAC;AAG3B,OAAO,EACL,SAAS,EACT,aAAa,EACb,UAAU,EACV,YAAY,EACb,MAAM,sBAAsB,CAAC;AAG9B,OAAO,EACL,YAAY,EACZ,YAAY,EACZ,mBAAmB,EACpB,MAAM,oBAAoB,CAAC;AAG5B,OAAO,EACL,aAAa,EACb,SAAS,EACT,aAAa,EACb,eAAe,EACf,WAAW,EACX,KAAK,YAAY,EAClB,MAAM,yBAAyB,CAAC"}
@@ -8,28 +8,19 @@ type PublicKeyCredentialRequestOptionsJSON = Parameters<typeof startAuthenticati
8
8
  type RegistrationResponseJSON = Awaited<ReturnType<typeof startRegistration>>;
9
9
  type AuthenticationResponseJSON = Awaited<ReturnType<typeof startAuthentication>>;
10
10
  /**
11
- * Ensure credential ID is properly base64url-encoded
12
- * Base64url uses - and _ instead of + and /, and omits padding
13
- * This ensures the credential ID format matches what the server expects
11
+ * Format a registration response to ensure all fields are properly base64url-encoded
12
+ * This handles cases where ArrayBuffers are serialized as number arrays
14
13
  *
15
- * @param credentialId - The credential ID to normalize
16
- * @returns The base64url-encoded credential ID
17
- */
18
- export declare function ensureBase64URLCredentialId(credentialId: string): string;
19
- /**
20
- * Format a registration response to ensure all credential IDs are properly base64url-encoded
21
- * This is useful when manually constructing registration responses or when using the raw WebAuthn API
22
- *
23
- * @param response - The registration response from startRegistration() or navigator.credentials.create()
24
- * @returns The formatted registration response with normalized credential IDs
14
+ * @param response - The registration response from startRegistration()
15
+ * @returns The formatted registration response with normalized fields
25
16
  */
26
17
  export declare function formatRegistrationResponse(response: RegistrationResponseJSON): RegistrationResponseJSON;
27
18
  /**
28
- * Format an authentication response to ensure all credential IDs are properly base64url-encoded
29
- * This is useful when manually constructing authentication responses or when using the raw WebAuthn API
19
+ * Format an authentication response to ensure all fields are properly base64url-encoded
20
+ * This handles cases where ArrayBuffers are serialized as number arrays
30
21
  *
31
- * @param response - The authentication response from startAuthentication() or navigator.credentials.get()
32
- * @returns The formatted authentication response with normalized credential IDs
22
+ * @param response - The authentication response from startAuthentication()
23
+ * @returns The formatted authentication response with normalized fields
33
24
  */
34
25
  export declare function formatAuthenticationResponse(response: AuthenticationResponseJSON): AuthenticationResponseJSON;
35
26
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"passkeyHelpers.d.ts","sourceRoot":"","sources":["../../src/signers/passkeyHelpers.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EACL,iBAAiB,EACjB,mBAAmB,EAGpB,MAAM,yBAAyB,CAAC;AAGjC,KAAK,sCAAsC,GAAG,UAAU,CAAC,OAAO,iBAAiB,CAAC,CAAC,CAAC,CAAC,CAAC;AACtF,KAAK,qCAAqC,GAAG,UAAU,CAAC,OAAO,mBAAmB,CAAC,CAAC,CAAC,CAAC,CAAC;AACvF,KAAK,wBAAwB,GAAG,OAAO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A8ClF;;;;;;GAMG;AACH,wBAAgB,0BAA0B,CACxC,QAAQ,EAAE,wBAAwB,GACjC,wBAAwB,CA2B1B;AAED;;;;;;GAMG;AACH,wBAAgB,4BAA4B,CAC1C,QAAQ,EAAE,0BAA0B,GACnC,0BAA0B,CA+B5B;AAED;;GAEG;AACH,wBAAgB,mBAAmB,IAAI,OAAO,CAE7C;AAED;;GAEG;AACH,wBAAsB,gCAAgC,IAAI,OAAO,CAAC,OAAO,CAAC,CAEzE;AAED;;GAEG;AACH,wBAAsB,eAAe,CACnC,OAAO,EAAE,sCAAsC,GAC9C,OAAO,CAAC,wBAAwB,CAAC,CAkBnC;AAED;;GAEG;AACH,wBAAsB,uBAAuB,CAC3C,OAAO,EAAE,qCAAqC,GAC7C,OAAO,CAAC,0BAA0B,CAAC,CAkBrC"}
package/dist/wallet.cjs CHANGED
@@ -366,9 +366,14 @@ var getWallets = () => {
366
366
  options
367
367
  );
368
368
  };
369
- const walletControllerStartPasskeyAuthentication2 = (id, options) => {
369
+ const walletControllerStartPasskeyAuthentication2 = (id, startPasskeyAuthenticationDto, options) => {
370
370
  return customInstance(
371
- { url: `/wallets/${id}/signers/passkey/authenticate`, method: "POST" },
371
+ {
372
+ url: `/wallets/${id}/signers/passkey/authenticate`,
373
+ method: "POST",
374
+ headers: { "Content-Type": "application/json" },
375
+ data: startPasskeyAuthenticationDto
376
+ },
372
377
  options
373
378
  );
374
379
  };
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../src/wallet.ts", "../src/api-client.ts", "../src/config.ts", "../src/api/wallets/wallets.ts"],
4
- "sourcesContent": ["/**\r\n * Wallet module - Simplified exports for wallet-related API functions\r\n */\r\n\r\nimport { getWallets } from './api/wallets/wallets';\r\n\r\nconst {\r\n walletControllerCreate,\r\n walletControllerFindAll,\r\n walletControllerGetTotalBalance,\r\n walletControllerFindOne,\r\n walletControllerUpdate,\r\n walletControllerRemove,\r\n walletControllerFindByAddress,\r\n walletControllerSendSOL,\r\n walletControllerSendSPL,\r\n walletControllerMintNFT,\r\n walletControllerMintNFTSimple,\r\n walletControllerMintToken,\r\n walletControllerSendTransaction,\r\n walletControllerGetWalletAssets,\r\n walletControllerSyncWalletAssets,\r\n walletControllerDeactivateWallet,\r\n walletControllerActivateWallet,\r\n walletControllerBatchCreateWallets,\r\n walletControllerBatchSendSOL,\r\n walletControllerBatchSendSPL,\r\n walletControllerSimulateTransaction,\r\n walletControllerGetWalletCustodyInfo,\r\n walletControllerCreateEmailSigner,\r\n walletControllerCreatePhoneSigner,\r\n walletControllerStartPasskeyRegistration,\r\n walletControllerVerifyPasskeyRegistration,\r\n walletControllerStartPasskeyAuthentication,\r\n walletControllerVerifyPasskeyAuthentication,\r\n walletControllerCreateExternalWalletSigner,\r\n walletControllerCreateApiKeySigner,\r\n walletControllerGetSignerById,\r\n walletControllerUpdateSigner,\r\n walletControllerDeleteSigner,\r\n walletControllerGetDeviceEncryptedSecret,\r\n walletControllerUpdateDeviceIdentity,\r\n walletControllerAddSigner,\r\n walletControllerListSigners,\r\n walletControllerRemoveSigner,\r\n walletControllerUpdateSignerPermissions,\r\n walletControllerUpdateAdminSigner,\r\n} = getWallets();\r\n\r\n// Export wallet functions with simplified names\r\nexport const create = walletControllerCreate;\r\nexport const findAll = walletControllerFindAll;\r\nexport const getTotalBalance = walletControllerGetTotalBalance;\r\nexport const findOne = walletControllerFindOne;\r\nexport const update = walletControllerUpdate;\r\nexport const remove = walletControllerRemove;\r\nexport const findByAddress = walletControllerFindByAddress;\r\nexport const sendSOL = walletControllerSendSOL;\r\nexport const sendSPL = walletControllerSendSPL;\r\nexport const mintNFT = walletControllerMintNFT;\r\nexport const mintNFTSimple = walletControllerMintNFTSimple;\r\nexport const mintToken = walletControllerMintToken;\r\nexport const sendTransaction = walletControllerSendTransaction;\r\nexport const getAssets = walletControllerGetWalletAssets;\r\nexport const syncAssets = walletControllerSyncWalletAssets;\r\nexport const deactivate = walletControllerDeactivateWallet;\r\nexport const activate = walletControllerActivateWallet;\r\nexport const batchCreate = walletControllerBatchCreateWallets;\r\nexport const batchSendSOL = walletControllerBatchSendSOL;\r\nexport const batchSendSPL = walletControllerBatchSendSPL;\r\nexport const simulateTransaction = walletControllerSimulateTransaction;\r\n\r\n// Export signer management functions\r\nexport const getCustodyInfo = walletControllerGetWalletCustodyInfo;\r\nexport const createEmailSigner = walletControllerCreateEmailSigner;\r\nexport const createPhoneSigner = walletControllerCreatePhoneSigner;\r\nexport const startPasskeyRegistration = walletControllerStartPasskeyRegistration;\r\nexport const verifyPasskeyRegistration = walletControllerVerifyPasskeyRegistration;\r\nexport const startPasskeyAuthentication = walletControllerStartPasskeyAuthentication;\r\nexport const verifyPasskeyAuthentication = walletControllerVerifyPasskeyAuthentication;\r\nexport const createExternalWalletSigner = walletControllerCreateExternalWalletSigner;\r\nexport const createApiKeySigner = walletControllerCreateApiKeySigner;\r\nexport const getSignerById = walletControllerGetSignerById;\r\nexport const updateSigner = walletControllerUpdateSigner;\r\nexport const deleteSigner = walletControllerDeleteSigner;\r\nexport const getDeviceEncryptedSecret = walletControllerGetDeviceEncryptedSecret;\r\nexport const updateDeviceIdentity = walletControllerUpdateDeviceIdentity;\r\nexport const addSigner = walletControllerAddSigner;\r\nexport const listSigners = walletControllerListSigners;\r\nexport const removeSigner = walletControllerRemoveSigner;\r\nexport const updateSignerPermissions = walletControllerUpdateSignerPermissions;\r\nexport const updateAdminSigner = walletControllerUpdateAdminSigner;\r\n\r\n// Export types\r\nexport type {\r\n WalletControllerCreateResult,\r\n WalletControllerFindAllResult,\r\n WalletControllerGetTotalBalanceResult,\r\n WalletControllerFindOneResult,\r\n WalletControllerUpdateResult,\r\n WalletControllerRemoveResult,\r\n WalletControllerFindByAddressResult,\r\n WalletControllerSendSOLResult,\r\n WalletControllerSendSPLResult,\r\n WalletControllerMintNFTResult,\r\n WalletControllerMintNFTSimpleResult,\r\n WalletControllerMintTokenResult,\r\n WalletControllerSendTransactionResult,\r\n WalletControllerGetWalletAssetsResult,\r\n WalletControllerSyncWalletAssetsResult,\r\n WalletControllerDeactivateWalletResult,\r\n WalletControllerActivateWalletResult,\r\n WalletControllerBatchCreateWalletsResult,\r\n WalletControllerBatchSendSOLResult,\r\n WalletControllerBatchSendSPLResult,\r\n WalletControllerSimulateTransactionResult,\r\n WalletControllerGetWalletCustodyInfoResult,\r\n WalletControllerCreateEmailSignerResult,\r\n WalletControllerCreatePhoneSignerResult,\r\n WalletControllerStartPasskeyRegistrationResult,\r\n WalletControllerVerifyPasskeyRegistrationResult,\r\n WalletControllerStartPasskeyAuthenticationResult,\r\n WalletControllerVerifyPasskeyAuthenticationResult,\r\n WalletControllerCreateExternalWalletSignerResult,\r\n WalletControllerCreateApiKeySignerResult,\r\n WalletControllerGetSignerByIdResult,\r\n WalletControllerUpdateSignerResult,\r\n WalletControllerDeleteSignerResult,\r\n WalletControllerGetDeviceEncryptedSecretResult,\r\n WalletControllerUpdateDeviceIdentityResult,\r\n WalletControllerAddSignerResult,\r\n WalletControllerListSignersResult,\r\n WalletControllerRemoveSignerResult,\r\n WalletControllerUpdateSignerPermissionsResult,\r\n WalletControllerUpdateAdminSignerResult,\r\n} from './api/wallets/wallets';\r\n\r\nexport type {\r\n CreateWalletDto,\r\n UpdateWalletDto,\r\n SendSolDto,\r\n SendSplDto,\r\n MintNftDto,\r\n MintNftSimpleDto,\r\n MintTokenDto,\r\n SendTransactionDto,\r\n WalletControllerGetWalletAssetsParams,\r\n WalletAssetResponseDto,\r\n BatchCreateWalletDto,\r\n BatchSendSolDto,\r\n BatchSendSplDto,\r\n SimulateTransactionDto,\r\n AddSignerDto,\r\n CreateEmailSignerDto,\r\n CreatePhoneSignerDto,\r\n CreateExternalWalletSignerDto,\r\n CreateApiKeySignerDto,\r\n UpdateSignerDto,\r\n UpdateSignerPermissionsDto,\r\n UpdateAdminSignerDto,\r\n WalletControllerGetDeviceEncryptedSecretParams,\r\n UpdateDeviceIdentityDto,\r\n} from './models';\r\n\r\n", "/**\r\n * Custom API client instance for Cilantro Smart SDK\r\n * Handles authentication (JWT tokens and API keys) automatically\r\n * @internal\r\n */\r\n\r\nimport axios, { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';\r\nimport { getConfig } from './config';\r\n\r\n// Create axios instance with dynamic baseURL\r\nconst axiosInstance: AxiosInstance = axios.create();\r\n\r\n// Request interceptor to add authentication headers and dynamic baseURL\r\naxiosInstance.interceptors.request.use(\r\n (config) => {\r\n const sdkConfig = getConfig();\r\n \r\n // Set baseURL dynamically from config\r\n config.baseURL = sdkConfig.baseURL || 'https://api.cilantro.gg';\r\n \r\n // Add JWT token if available\r\n if (sdkConfig.jwt) {\r\n config.headers.Authorization = `Bearer ${sdkConfig.jwt}`;\r\n }\r\n \r\n // Add API key if available (for platform/user authentication)\r\n if (sdkConfig.apiKey) {\r\n config.headers['X-API-Key'] = sdkConfig.apiKey;\r\n }\r\n \r\n return config;\r\n },\r\n (error) => {\r\n return Promise.reject(error);\r\n }\r\n);\r\n\r\n/**\r\n * Custom instance wrapper for orval\r\n * @internal\r\n */\r\nexport const customInstance = <T>(\r\n config: AxiosRequestConfig,\r\n options?: AxiosRequestConfig,\r\n): Promise<T> => {\r\n const source = axios.CancelToken.source();\r\n const promise = axiosInstance({\r\n ...config,\r\n ...options,\r\n cancelToken: source.token,\r\n }).then(({ data }: AxiosResponse<T>) => data);\r\n\r\n // @ts-ignore\r\n promise.cancel = () => {\r\n source.cancel('Query was cancelled');\r\n };\r\n\r\n return promise;\r\n};\r\n\r\nexport default customInstance;\r\n", "/**\r\n * SDK Configuration Management\r\n * Centralized configuration for authentication and API settings\r\n */\r\n\r\n/**\r\n * SDK Configuration interface\r\n */\r\nexport interface SDKConfig {\r\n /** JWT token for authentication */\r\n jwt?: string;\r\n /** API key for authentication (alternative to JWT) */\r\n apiKey?: string;\r\n /** Base URL for the API (defaults to https://api.cilantro.gg) */\r\n baseURL?: string;\r\n}\r\n\r\n/**\r\n * Internal configuration state\r\n * Uses global variable to share state across bundled modules\r\n */\r\nconst GLOBAL_CONFIG_KEY = '__CILANTRO_SDK_CONFIG__';\r\n\r\n// Extend global types\r\ndeclare global {\r\n var __CILANTRO_SDK_CONFIG__: SDKConfig | undefined;\r\n}\r\n\r\n// Get or create global config\r\nfunction getGlobalConfig(): SDKConfig {\r\n const defaultConfig: SDKConfig = {\r\n baseURL: process.env.CILANTRO_API_URL || 'https://api.cilantro.gg',\r\n };\r\n \r\n if (typeof global !== 'undefined') {\r\n if (!global.__CILANTRO_SDK_CONFIG__) {\r\n global.__CILANTRO_SDK_CONFIG__ = defaultConfig;\r\n }\r\n return global.__CILANTRO_SDK_CONFIG__;\r\n } else if (typeof (globalThis as any).window !== 'undefined') {\r\n const win = (globalThis as any).window;\r\n if (!win[GLOBAL_CONFIG_KEY]) {\r\n win[GLOBAL_CONFIG_KEY] = defaultConfig;\r\n }\r\n return win[GLOBAL_CONFIG_KEY];\r\n }\r\n \r\n // Fallback for environments without global/window\r\n return defaultConfig;\r\n}\r\n\r\nlet currentConfig: SDKConfig = getGlobalConfig();\r\n\r\n/**\r\n * Configure the SDK with authentication credentials and settings\r\n * \r\n * @param config - Configuration options\r\n * @example\r\n * ```typescript\r\n * import { configure } from 'cilantro-smart-sdk';\r\n * \r\n * // Configure with API key\r\n * configure({ \r\n * apiKey: 'your-api-key',\r\n * baseURL: 'https://api.cilantro.gg' \r\n * });\r\n * \r\n * // Configure with JWT token\r\n * configure({ \r\n * jwt: 'your-jwt-token' \r\n * });\r\n * ```\r\n */\r\nexport function configure(config: SDKConfig): void {\r\n currentConfig = {\r\n ...currentConfig,\r\n ...config,\r\n };\r\n // Also update global config\r\n if (typeof global !== 'undefined') {\r\n global.__CILANTRO_SDK_CONFIG__ = currentConfig;\r\n } else if (typeof (globalThis as any).window !== 'undefined') {\r\n ((globalThis as any).window as any)[GLOBAL_CONFIG_KEY] = currentConfig;\r\n }\r\n}\r\n\r\n/**\r\n * Set or update authentication credentials\r\n * \r\n * @param auth - Authentication credentials (JWT and/or API key)\r\n * @example\r\n * ```typescript\r\n * import { setAuth } from 'cilantro-smart-sdk';\r\n * import { login } from 'cilantro-smart-sdk/auth';\r\n * \r\n * const result = await login({ \r\n * usernameOrEmail: 'user@example.com',\r\n * password: 'password123' \r\n * });\r\n * \r\n * setAuth({ jwt: result.data.jwt });\r\n * ```\r\n */\r\nexport function setAuth(auth: { jwt?: string; apiKey?: string }): void {\r\n // Refresh from global first\r\n currentConfig = getGlobalConfig();\r\n \r\n if (auth.jwt !== undefined) {\r\n currentConfig.jwt = auth.jwt;\r\n }\r\n if (auth.apiKey !== undefined) {\r\n currentConfig.apiKey = auth.apiKey;\r\n }\r\n \r\n // Update global config\r\n if (typeof global !== 'undefined') {\r\n global.__CILANTRO_SDK_CONFIG__ = currentConfig;\r\n } else if (typeof (globalThis as any).window !== 'undefined') {\r\n ((globalThis as any).window as any)[GLOBAL_CONFIG_KEY] = currentConfig;\r\n }\r\n}\r\n\r\n/**\r\n * Clear all authentication credentials\r\n * \r\n * @example\r\n * ```typescript\r\n * import { clearAuth } from 'cilantro-smart-sdk';\r\n * \r\n * clearAuth();\r\n * ```\r\n */\r\nexport function clearAuth(): void {\r\n currentConfig = getGlobalConfig();\r\n currentConfig.jwt = undefined;\r\n currentConfig.apiKey = undefined;\r\n \r\n // Update global config\r\n if (typeof global !== 'undefined') {\r\n global.__CILANTRO_SDK_CONFIG__ = currentConfig;\r\n } else if (typeof (globalThis as any).window !== 'undefined') {\r\n ((globalThis as any).window as any)[GLOBAL_CONFIG_KEY] = currentConfig;\r\n }\r\n}\r\n\r\n/**\r\n * Get current SDK configuration (internal use only)\r\n * @internal\r\n */\r\nexport function getConfig(): Readonly<SDKConfig> {\r\n // Always get fresh from global to ensure we have the latest config\r\n currentConfig = getGlobalConfig();\r\n return currentConfig;\r\n}\r\n", "/**\n * Generated by orval v7.17.0 \uD83C\uDF7A\n * Do not edit manually.\n * Cilantro Smart API v2\n * API documentation for Cilantro Smart API v2 - A Solana wallet management system\n * OpenAPI spec version: 2.0\n */\nimport type {\n AddSignerDto,\n BatchCreateWalletDto,\n BatchSendSolDto,\n BatchSendSplDto,\n CreateApiKeySignerDto,\n CreateEmailSignerDto,\n CreateExternalWalletSignerDto,\n CreatePhoneSignerDto,\n CreateWalletDto,\n MintNftDto,\n MintNftSimpleDto,\n MintTokenDto,\n PasskeyAuthenticationDto,\n PasskeyRegistrationDto,\n PrepareTransactionDto,\n SendSolDto,\n SendSplDto,\n SendTransactionDto,\n SignMessageDto,\n SimulateTransactionDto,\n SubmitTransactionDto,\n UpdateAdminSignerDto,\n UpdateDeviceIdentityDto,\n UpdateSignerDto,\n UpdateSignerPermissionsDto,\n UpdateWalletDto,\n WalletAssetResponseDto,\n WalletControllerFindAllParams,\n WalletControllerGetDeviceEncryptedSecretParams,\n WalletControllerGetWalletAssetsParams,\n WalletControllerMintNFT200,\n WalletControllerMintNFTSimple200,\n WalletControllerMintToken200,\n WalletControllerPrepareTransaction200,\n WalletControllerSendSOL200,\n WalletControllerSendSPL200,\n WalletControllerSendTransaction200,\n WalletControllerSignMessage200,\n WalletControllerSubmitTransaction200,\n} from \"../../models\";\n\nimport { customInstance } from \"../../api-client\";\n\ntype SecondParameter<T extends (...args: never) => unknown> = Parameters<T>[1];\n\nexport const getWallets = () => {\n /**\n * @summary Create a new smart contract wallet\n */\n const walletControllerCreate = (\n createWalletDto: CreateWalletDto,\n options?: SecondParameter<typeof customInstance<void>>,\n ) => {\n return customInstance<void>(\n {\n url: `/wallets`,\n method: \"POST\",\n headers: { \"Content-Type\": \"application/json\" },\n data: createWalletDto,\n },\n options,\n );\n };\n /**\n * @summary Get all wallets for authenticated user\n */\n const walletControllerFindAll = (\n params?: WalletControllerFindAllParams,\n options?: SecondParameter<typeof customInstance<void>>,\n ) => {\n return customInstance<void>(\n { url: `/wallets`, method: \"GET\", params },\n options,\n );\n };\n /**\n * @summary Get total balance across all user wallets\n */\n const walletControllerGetTotalBalance = (\n options?: SecondParameter<typeof customInstance<number>>,\n ) => {\n return customInstance<number>(\n { url: `/wallets/balance/total`, method: \"GET\" },\n options,\n );\n };\n /**\n * @summary Get wallet by ID\n */\n const walletControllerFindOne = (\n id: string,\n options?: SecondParameter<typeof customInstance<void>>,\n ) => {\n return customInstance<void>(\n { url: `/wallets/${id}`, method: \"GET\" },\n options,\n );\n };\n /**\n * @summary Update wallet\n */\n const walletControllerUpdate = (\n id: string,\n updateWalletDto: UpdateWalletDto,\n options?: SecondParameter<typeof customInstance<void>>,\n ) => {\n return customInstance<void>(\n {\n url: `/wallets/${id}`,\n method: \"PATCH\",\n headers: { \"Content-Type\": \"application/json\" },\n data: updateWalletDto,\n },\n options,\n );\n };\n /**\n * @summary Delete wallet\n */\n const walletControllerRemove = (\n id: string,\n options?: SecondParameter<typeof customInstance<void>>,\n ) => {\n return customInstance<void>(\n { url: `/wallets/${id}`, method: \"DELETE\" },\n options,\n );\n };\n /**\n * @summary Get wallet by address\n */\n const walletControllerFindByAddress = (\n address: string,\n options?: SecondParameter<typeof customInstance<void>>,\n ) => {\n return customInstance<void>(\n { url: `/wallets/address/${address}`, method: \"GET\" },\n options,\n );\n };\n /**\n * @summary Send SOL from wallet to recipient\n */\n const walletControllerSendSOL = (\n id: string,\n sendSolDto: SendSolDto,\n options?: SecondParameter<\n typeof customInstance<WalletControllerSendSOL200>\n >,\n ) => {\n return customInstance<WalletControllerSendSOL200>(\n {\n url: `/wallets/${id}/send-sol`,\n method: \"POST\",\n headers: { \"Content-Type\": \"application/json\" },\n data: sendSolDto,\n },\n options,\n );\n };\n /**\n * @summary Send SPL tokens from wallet to recipient\n */\n const walletControllerSendSPL = (\n id: string,\n sendSplDto: SendSplDto,\n options?: SecondParameter<\n typeof customInstance<WalletControllerSendSPL200>\n >,\n ) => {\n return customInstance<WalletControllerSendSPL200>(\n {\n url: `/wallets/${id}/send-spl`,\n method: \"POST\",\n headers: { \"Content-Type\": \"application/json\" },\n data: sendSplDto,\n },\n options,\n );\n };\n /**\n * @summary Mint NFT using Metaplex via CPI (Advanced)\n */\n const walletControllerMintNFT = (\n id: string,\n mintNftDto: MintNftDto,\n options?: SecondParameter<\n typeof customInstance<WalletControllerMintNFT200>\n >,\n ) => {\n return customInstance<WalletControllerMintNFT200>(\n {\n url: `/wallets/${id}/mint-nft`,\n method: \"POST\",\n headers: { \"Content-Type\": \"application/json\" },\n data: mintNftDto,\n },\n options,\n );\n };\n /**\n * @summary Mint NFT with metadata - handles all logic internally using Metaplex Core\n */\n const walletControllerMintNFTSimple = (\n id: string,\n mintNftSimpleDto: MintNftSimpleDto,\n options?: SecondParameter<\n typeof customInstance<WalletControllerMintNFTSimple200>\n >,\n ) => {\n return customInstance<WalletControllerMintNFTSimple200>(\n {\n url: `/wallets/${id}/mint-nft-simple`,\n method: \"POST\",\n headers: { \"Content-Type\": \"application/json\" },\n data: mintNftSimpleDto,\n },\n options,\n );\n };\n /**\n * @summary Mint fungible token (SPL or Token-2022) with initial supply to wallet\n */\n const walletControllerMintToken = (\n id: string,\n mintTokenDto: MintTokenDto,\n options?: SecondParameter<\n typeof customInstance<WalletControllerMintToken200>\n >,\n ) => {\n return customInstance<WalletControllerMintToken200>(\n {\n url: `/wallets/${id}/mint-token`,\n method: \"POST\",\n headers: { \"Content-Type\": \"application/json\" },\n data: mintTokenDto,\n },\n options,\n );\n };\n /**\n * @summary Execute arbitrary transaction via CPI to any Solana program\n */\n const walletControllerSendTransaction = (\n id: string,\n sendTransactionDto: SendTransactionDto,\n options?: SecondParameter<\n typeof customInstance<WalletControllerSendTransaction200>\n >,\n ) => {\n return customInstance<WalletControllerSendTransaction200>(\n {\n url: `/wallets/${id}/send-transaction`,\n method: \"POST\",\n headers: { \"Content-Type\": \"application/json\" },\n data: sendTransactionDto,\n },\n options,\n );\n };\n /**\n * @summary Get all assets for a wallet (cached with auto-refresh)\n */\n const walletControllerGetWalletAssets = (\n id: string,\n params?: WalletControllerGetWalletAssetsParams,\n options?: SecondParameter<typeof customInstance<WalletAssetResponseDto[]>>,\n ) => {\n return customInstance<WalletAssetResponseDto[]>(\n { url: `/wallets/${id}/assets`, method: \"GET\", params },\n options,\n );\n };\n /**\n * @summary Force sync wallet balance and assets from blockchain immediately\n */\n const walletControllerSyncWalletAssets = (\n id: string,\n options?: SecondParameter<typeof customInstance<WalletAssetResponseDto[]>>,\n ) => {\n return customInstance<WalletAssetResponseDto[]>(\n { url: `/wallets/${id}/sync`, method: \"POST\" },\n options,\n );\n };\n /**\n * @summary Deactivate a wallet\n */\n const walletControllerDeactivateWallet = (\n id: string,\n options?: SecondParameter<typeof customInstance<void>>,\n ) => {\n return customInstance<void>(\n { url: `/wallets/${id}/deactivate`, method: \"POST\" },\n options,\n );\n };\n /**\n * @summary Activate a wallet\n */\n const walletControllerActivateWallet = (\n id: string,\n options?: SecondParameter<typeof customInstance<void>>,\n ) => {\n return customInstance<void>(\n { url: `/wallets/${id}/activate`, method: \"POST\" },\n options,\n );\n };\n /**\n * @summary Batch create multiple wallets\n */\n const walletControllerBatchCreateWallets = (\n batchCreateWalletDto: BatchCreateWalletDto,\n options?: SecondParameter<typeof customInstance<void>>,\n ) => {\n return customInstance<void>(\n {\n url: `/wallets/batch/create`,\n method: \"POST\",\n headers: { \"Content-Type\": \"application/json\" },\n data: batchCreateWalletDto,\n },\n options,\n );\n };\n /**\n * @summary Batch send SOL to multiple recipients\n */\n const walletControllerBatchSendSOL = (\n id: string,\n batchSendSolDto: BatchSendSolDto,\n options?: SecondParameter<typeof customInstance<void>>,\n ) => {\n return customInstance<void>(\n {\n url: `/wallets/${id}/batch/send-sol`,\n method: \"POST\",\n headers: { \"Content-Type\": \"application/json\" },\n data: batchSendSolDto,\n },\n options,\n );\n };\n /**\n * @summary Batch send SPL tokens to multiple recipients\n */\n const walletControllerBatchSendSPL = (\n id: string,\n batchSendSplDto: BatchSendSplDto,\n options?: SecondParameter<typeof customInstance<void>>,\n ) => {\n return customInstance<void>(\n {\n url: `/wallets/${id}/batch/send-spl`,\n method: \"POST\",\n headers: { \"Content-Type\": \"application/json\" },\n data: batchSendSplDto,\n },\n options,\n );\n };\n /**\n * @summary Simulate a transaction without executing it\n */\n const walletControllerSimulateTransaction = (\n id: string,\n simulateTransactionDto: SimulateTransactionDto,\n options?: SecondParameter<typeof customInstance<void>>,\n ) => {\n return customInstance<void>(\n {\n url: `/wallets/${id}/simulate-transaction`,\n method: \"POST\",\n headers: { \"Content-Type\": \"application/json\" },\n data: simulateTransactionDto,\n },\n options,\n );\n };\n /**\n * @summary Get wallet custody information and signers\n */\n const walletControllerGetWalletCustodyInfo = (\n id: string,\n options?: SecondParameter<typeof customInstance<void>>,\n ) => {\n return customInstance<void>(\n { url: `/wallets/${id}/custody`, method: \"GET\" },\n options,\n );\n };\n /**\n * Create an email-based signer for the wallet and automatically register it on-chain. The user controls their keys via email authentication.\n * @summary Create email signer (non-custodial)\n */\n const walletControllerCreateEmailSigner = (\n id: string,\n createEmailSignerDto: CreateEmailSignerDto,\n options?: SecondParameter<typeof customInstance<void>>,\n ) => {\n return customInstance<void>(\n {\n url: `/wallets/${id}/signers/email`,\n method: \"POST\",\n headers: { \"Content-Type\": \"application/json\" },\n data: createEmailSignerDto,\n },\n options,\n );\n };\n /**\n * Create a phone-based signer for the wallet and automatically register it on-chain. The user controls their keys via SMS authentication.\n * @summary Create phone signer (non-custodial)\n */\n const walletControllerCreatePhoneSigner = (\n id: string,\n createPhoneSignerDto: CreatePhoneSignerDto,\n options?: SecondParameter<typeof customInstance<void>>,\n ) => {\n return customInstance<void>(\n {\n url: `/wallets/${id}/signers/phone`,\n method: \"POST\",\n headers: { \"Content-Type\": \"application/json\" },\n data: createPhoneSignerDto,\n },\n options,\n );\n };\n /**\n * Generate WebAuthn registration options for creating a passkey signer. Returns options to be used with the browser WebAuthn API.\n * @summary Start passkey registration\n */\n const walletControllerStartPasskeyRegistration = (\n id: string,\n options?: SecondParameter<typeof customInstance<void>>,\n ) => {\n return customInstance<void>(\n { url: `/wallets/${id}/signers/passkey/register`, method: \"POST\" },\n options,\n );\n };\n /**\n * Verify the WebAuthn registration response and create a passkey signer for the wallet, automatically registering it on-chain.\n * @summary Verify passkey registration and create signer\n */\n const walletControllerVerifyPasskeyRegistration = (\n id: string,\n passkeyRegistrationDto: PasskeyRegistrationDto,\n options?: SecondParameter<typeof customInstance<void>>,\n ) => {\n return customInstance<void>(\n {\n url: `/wallets/${id}/signers/passkey/verify`,\n method: \"POST\",\n headers: { \"Content-Type\": \"application/json\" },\n data: passkeyRegistrationDto,\n },\n options,\n );\n };\n /**\n * Generate WebAuthn authentication options for signing with an existing passkey. Returns options to be used with the browser WebAuthn API.\n * @summary Start passkey authentication\n */\n const walletControllerStartPasskeyAuthentication = (\n id: string,\n options?: SecondParameter<typeof customInstance<void>>,\n ) => {\n return customInstance<void>(\n { url: `/wallets/${id}/signers/passkey/authenticate`, method: \"POST\" },\n options,\n );\n };\n /**\n * Verify the WebAuthn authentication response. Updates the passkey counter to prevent replay attacks.\n * @summary Verify passkey authentication\n */\n const walletControllerVerifyPasskeyAuthentication = (\n id: string,\n passkeyAuthenticationDto: PasskeyAuthenticationDto,\n options?: SecondParameter<typeof customInstance<void>>,\n ) => {\n return customInstance<void>(\n {\n url: `/wallets/${id}/signers/passkey/verify-auth`,\n method: \"POST\",\n headers: { \"Content-Type\": \"application/json\" },\n data: passkeyAuthenticationDto,\n },\n options,\n );\n };\n /**\n * Link an external wallet (e.g., Phantom, Solflare) as a signer for the wallet and automatically register it on-chain. The external wallet can then sign transactions.\n * @summary Create external wallet signer\n */\n const walletControllerCreateExternalWalletSigner = (\n id: string,\n createExternalWalletSignerDto: CreateExternalWalletSignerDto,\n options?: SecondParameter<typeof customInstance<void>>,\n ) => {\n return customInstance<void>(\n {\n url: `/wallets/${id}/signers/external-wallet`,\n method: \"POST\",\n headers: { \"Content-Type\": \"application/json\" },\n data: createExternalWalletSignerDto,\n },\n options,\n );\n };\n /**\n * Create an API key-based custodial signer and automatically register it on-chain. The platform manages the signing keys on behalf of the user.\n * @summary Create API key signer (custodial)\n */\n const walletControllerCreateApiKeySigner = (\n id: string,\n createApiKeySignerDto: CreateApiKeySignerDto,\n options?: SecondParameter<typeof customInstance<void>>,\n ) => {\n return customInstance<void>(\n {\n url: `/wallets/${id}/signers/api-key`,\n method: \"POST\",\n headers: { \"Content-Type\": \"application/json\" },\n data: createApiKeySignerDto,\n },\n options,\n );\n };\n /**\n * Retrieve detailed information about a specific authentication signer.\n * @summary Get signer by ID\n */\n const walletControllerGetSignerById = (\n id: string,\n signerId: string,\n options?: SecondParameter<typeof customInstance<void>>,\n ) => {\n return customInstance<void>(\n { url: `/wallets/${id}/signers/${signerId}`, method: \"GET\" },\n options,\n );\n };\n /**\n * Update signer configuration such as active status or primary designation.\n * @summary Update signer\n */\n const walletControllerUpdateSigner = (\n id: string,\n signerId: string,\n updateSignerDto: UpdateSignerDto,\n options?: SecondParameter<typeof customInstance<void>>,\n ) => {\n return customInstance<void>(\n {\n url: `/wallets/${id}/signers/${signerId}`,\n method: \"PATCH\",\n headers: { \"Content-Type\": \"application/json\" },\n data: updateSignerDto,\n },\n options,\n );\n };\n /**\n * Remove an authentication signer from the wallet. This will also remove it from on-chain registration. At least one signer must remain active.\n * @summary Delete signer\n */\n const walletControllerDeleteSigner = (\n id: string,\n signerId: string,\n options?: SecondParameter<typeof customInstance<void>>,\n ) => {\n return customInstance<void>(\n { url: `/wallets/${id}/signers/${signerId}`, method: \"DELETE\" },\n options,\n );\n };\n /**\n * Retrieve the encrypted master secret for email/phone signers. Used for device-specific key recovery.\n * @summary Get encrypted master secret for device\n */\n const walletControllerGetDeviceEncryptedSecret = (\n id: string,\n signerId: string,\n params: WalletControllerGetDeviceEncryptedSecretParams,\n options?: SecondParameter<typeof customInstance<void>>,\n ) => {\n return customInstance<void>(\n {\n url: `/wallets/${id}/signers/${signerId}/encrypted-secret`,\n method: \"GET\",\n params,\n },\n options,\n );\n };\n /**\n * Replace a device for an email/phone signer while keeping the same signer. Provide oldDevicePublicKey (or omit if signer has only one device) and new devicePublicKey with encryptedMasterSecret. Can also update device fingerprint metadata.\n * @summary Update device identity\n */\n const walletControllerUpdateDeviceIdentity = (\n id: string,\n signerId: string,\n updateDeviceIdentityDto: UpdateDeviceIdentityDto,\n options?: SecondParameter<typeof customInstance<void>>,\n ) => {\n return customInstance<void>(\n {\n url: `/wallets/${id}/signers/${signerId}/device-identity`,\n method: \"PATCH\",\n headers: { \"Content-Type\": \"application/json\" },\n data: updateDeviceIdentityDto,\n },\n options,\n );\n };\n /**\n * @summary Add a new signer to the wallet (on-chain only)\n */\n const walletControllerAddSigner = (\n id: string,\n addSignerDto: AddSignerDto,\n options?: SecondParameter<typeof customInstance<void>>,\n ) => {\n return customInstance<void>(\n {\n url: `/wallets/${id}/signers`,\n method: \"POST\",\n headers: { \"Content-Type\": \"application/json\" },\n data: addSignerDto,\n },\n options,\n );\n };\n /**\n * @summary List all signers for the wallet (both authentication and on-chain signers)\n */\n const walletControllerListSigners = (\n id: string,\n options?: SecondParameter<typeof customInstance<void>>,\n ) => {\n return customInstance<void>(\n { url: `/wallets/${id}/signers`, method: \"GET\" },\n options,\n );\n };\n /**\n * @summary Remove a signer from the wallet\n */\n const walletControllerRemoveSigner = (\n id: string,\n pubkey: string,\n options?: SecondParameter<typeof customInstance<void>>,\n ) => {\n return customInstance<void>(\n { url: `/wallets/${id}/signers/${pubkey}`, method: \"DELETE\" },\n options,\n );\n };\n /**\n * @summary Update signer permissions\n */\n const walletControllerUpdateSignerPermissions = (\n id: string,\n pubkey: string,\n updateSignerPermissionsDto: UpdateSignerPermissionsDto,\n options?: SecondParameter<typeof customInstance<void>>,\n ) => {\n return customInstance<void>(\n {\n url: `/wallets/${id}/signers/${pubkey}`,\n method: \"PATCH\",\n headers: { \"Content-Type\": \"application/json\" },\n data: updateSignerPermissionsDto,\n },\n options,\n );\n };\n /**\n * @summary Update admin signer (provider migration)\n */\n const walletControllerUpdateAdminSigner = (\n id: string,\n updateAdminSignerDto: UpdateAdminSignerDto,\n options?: SecondParameter<typeof customInstance<void>>,\n ) => {\n return customInstance<void>(\n {\n url: `/wallets/${id}/admin/update`,\n method: \"POST\",\n headers: { \"Content-Type\": \"application/json\" },\n data: updateAdminSignerDto,\n },\n options,\n );\n };\n /**\n * Builds an unsigned transaction that can be signed by external wallet, passkey, or email/phone signer. Returns serialized transaction for signing. This enables non-custodial wallet flows where the user controls their keys.\n * @summary Prepare transaction for client-side signing\n */\n const walletControllerPrepareTransaction = (\n id: string,\n prepareTransactionDto: PrepareTransactionDto,\n options?: SecondParameter<\n typeof customInstance<WalletControllerPrepareTransaction200>\n >,\n ) => {\n return customInstance<WalletControllerPrepareTransaction200>(\n {\n url: `/wallets/${id}/prepare-transaction`,\n method: \"POST\",\n headers: { \"Content-Type\": \"application/json\" },\n data: prepareTransactionDto,\n },\n options,\n );\n };\n /**\n * Submits a client-signed transaction to the Solana blockchain. Use after preparing transaction with /prepare-transaction endpoint and signing it with your signer (external wallet, passkey, email/phone key derivation).\n * @summary Submit signed transaction to blockchain\n */\n const walletControllerSubmitTransaction = (\n id: string,\n submitTransactionDto: SubmitTransactionDto,\n options?: SecondParameter<\n typeof customInstance<WalletControllerSubmitTransaction200>\n >,\n ) => {\n return customInstance<WalletControllerSubmitTransaction200>(\n {\n url: `/wallets/${id}/submit-transaction`,\n method: \"POST\",\n headers: { \"Content-Type\": \"application/json\" },\n data: submitTransactionDto,\n },\n options,\n );\n };\n /**\n * Sign a message using the wallet for authentication or verification purposes. Useful for proving wallet ownership, dApp authentication, or creating verifiable signatures.\n * @summary Sign arbitrary message with wallet\n */\n const walletControllerSignMessage = (\n id: string,\n signMessageDto: SignMessageDto,\n options?: SecondParameter<\n typeof customInstance<WalletControllerSignMessage200>\n >,\n ) => {\n return customInstance<WalletControllerSignMessage200>(\n {\n url: `/wallets/${id}/sign-message`,\n method: \"POST\",\n headers: { \"Content-Type\": \"application/json\" },\n data: signMessageDto,\n },\n options,\n );\n };\n return {\n walletControllerCreate,\n walletControllerFindAll,\n walletControllerGetTotalBalance,\n walletControllerFindOne,\n walletControllerUpdate,\n walletControllerRemove,\n walletControllerFindByAddress,\n walletControllerSendSOL,\n walletControllerSendSPL,\n walletControllerMintNFT,\n walletControllerMintNFTSimple,\n walletControllerMintToken,\n walletControllerSendTransaction,\n walletControllerGetWalletAssets,\n walletControllerSyncWalletAssets,\n walletControllerDeactivateWallet,\n walletControllerActivateWallet,\n walletControllerBatchCreateWallets,\n walletControllerBatchSendSOL,\n walletControllerBatchSendSPL,\n walletControllerSimulateTransaction,\n walletControllerGetWalletCustodyInfo,\n walletControllerCreateEmailSigner,\n walletControllerCreatePhoneSigner,\n walletControllerStartPasskeyRegistration,\n walletControllerVerifyPasskeyRegistration,\n walletControllerStartPasskeyAuthentication,\n walletControllerVerifyPasskeyAuthentication,\n walletControllerCreateExternalWalletSigner,\n walletControllerCreateApiKeySigner,\n walletControllerGetSignerById,\n walletControllerUpdateSigner,\n walletControllerDeleteSigner,\n walletControllerGetDeviceEncryptedSecret,\n walletControllerUpdateDeviceIdentity,\n walletControllerAddSigner,\n walletControllerListSigners,\n walletControllerRemoveSigner,\n walletControllerUpdateSignerPermissions,\n walletControllerUpdateAdminSigner,\n walletControllerPrepareTransaction,\n walletControllerSubmitTransaction,\n walletControllerSignMessage,\n };\n};\nexport type WalletControllerCreateResult = NonNullable<\n Awaited<ReturnType<ReturnType<typeof getWallets>[\"walletControllerCreate\"]>>\n>;\nexport type WalletControllerFindAllResult = NonNullable<\n Awaited<ReturnType<ReturnType<typeof getWallets>[\"walletControllerFindAll\"]>>\n>;\nexport type WalletControllerGetTotalBalanceResult = NonNullable<\n Awaited<\n ReturnType<ReturnType<typeof getWallets>[\"walletControllerGetTotalBalance\"]>\n >\n>;\nexport type WalletControllerFindOneResult = NonNullable<\n Awaited<ReturnType<ReturnType<typeof getWallets>[\"walletControllerFindOne\"]>>\n>;\nexport type WalletControllerUpdateResult = NonNullable<\n Awaited<ReturnType<ReturnType<typeof getWallets>[\"walletControllerUpdate\"]>>\n>;\nexport type WalletControllerRemoveResult = NonNullable<\n Awaited<ReturnType<ReturnType<typeof getWallets>[\"walletControllerRemove\"]>>\n>;\nexport type WalletControllerFindByAddressResult = NonNullable<\n Awaited<\n ReturnType<ReturnType<typeof getWallets>[\"walletControllerFindByAddress\"]>\n >\n>;\nexport type WalletControllerSendSOLResult = NonNullable<\n Awaited<ReturnType<ReturnType<typeof getWallets>[\"walletControllerSendSOL\"]>>\n>;\nexport type WalletControllerSendSPLResult = NonNullable<\n Awaited<ReturnType<ReturnType<typeof getWallets>[\"walletControllerSendSPL\"]>>\n>;\nexport type WalletControllerMintNFTResult = NonNullable<\n Awaited<ReturnType<ReturnType<typeof getWallets>[\"walletControllerMintNFT\"]>>\n>;\nexport type WalletControllerMintNFTSimpleResult = NonNullable<\n Awaited<\n ReturnType<ReturnType<typeof getWallets>[\"walletControllerMintNFTSimple\"]>\n >\n>;\nexport type WalletControllerMintTokenResult = NonNullable<\n Awaited<\n ReturnType<ReturnType<typeof getWallets>[\"walletControllerMintToken\"]>\n >\n>;\nexport type WalletControllerSendTransactionResult = NonNullable<\n Awaited<\n ReturnType<ReturnType<typeof getWallets>[\"walletControllerSendTransaction\"]>\n >\n>;\nexport type WalletControllerGetWalletAssetsResult = NonNullable<\n Awaited<\n ReturnType<ReturnType<typeof getWallets>[\"walletControllerGetWalletAssets\"]>\n >\n>;\nexport type WalletControllerSyncWalletAssetsResult = NonNullable<\n Awaited<\n ReturnType<\n ReturnType<typeof getWallets>[\"walletControllerSyncWalletAssets\"]\n >\n >\n>;\nexport type WalletControllerDeactivateWalletResult = NonNullable<\n Awaited<\n ReturnType<\n ReturnType<typeof getWallets>[\"walletControllerDeactivateWallet\"]\n >\n >\n>;\nexport type WalletControllerActivateWalletResult = NonNullable<\n Awaited<\n ReturnType<ReturnType<typeof getWallets>[\"walletControllerActivateWallet\"]>\n >\n>;\nexport type WalletControllerBatchCreateWalletsResult = NonNullable<\n Awaited<\n ReturnType<\n ReturnType<typeof getWallets>[\"walletControllerBatchCreateWallets\"]\n >\n >\n>;\nexport type WalletControllerBatchSendSOLResult = NonNullable<\n Awaited<\n ReturnType<ReturnType<typeof getWallets>[\"walletControllerBatchSendSOL\"]>\n >\n>;\nexport type WalletControllerBatchSendSPLResult = NonNullable<\n Awaited<\n ReturnType<ReturnType<typeof getWallets>[\"walletControllerBatchSendSPL\"]>\n >\n>;\nexport type WalletControllerSimulateTransactionResult = NonNullable<\n Awaited<\n ReturnType<\n ReturnType<typeof getWallets>[\"walletControllerSimulateTransaction\"]\n >\n >\n>;\nexport type WalletControllerGetWalletCustodyInfoResult = NonNullable<\n Awaited<\n ReturnType<\n ReturnType<typeof getWallets>[\"walletControllerGetWalletCustodyInfo\"]\n >\n >\n>;\nexport type WalletControllerCreateEmailSignerResult = NonNullable<\n Awaited<\n ReturnType<\n ReturnType<typeof getWallets>[\"walletControllerCreateEmailSigner\"]\n >\n >\n>;\nexport type WalletControllerCreatePhoneSignerResult = NonNullable<\n Awaited<\n ReturnType<\n ReturnType<typeof getWallets>[\"walletControllerCreatePhoneSigner\"]\n >\n >\n>;\nexport type WalletControllerStartPasskeyRegistrationResult = NonNullable<\n Awaited<\n ReturnType<\n ReturnType<typeof getWallets>[\"walletControllerStartPasskeyRegistration\"]\n >\n >\n>;\nexport type WalletControllerVerifyPasskeyRegistrationResult = NonNullable<\n Awaited<\n ReturnType<\n ReturnType<typeof getWallets>[\"walletControllerVerifyPasskeyRegistration\"]\n >\n >\n>;\nexport type WalletControllerStartPasskeyAuthenticationResult = NonNullable<\n Awaited<\n ReturnType<\n ReturnType<\n typeof getWallets\n >[\"walletControllerStartPasskeyAuthentication\"]\n >\n >\n>;\nexport type WalletControllerVerifyPasskeyAuthenticationResult = NonNullable<\n Awaited<\n ReturnType<\n ReturnType<\n typeof getWallets\n >[\"walletControllerVerifyPasskeyAuthentication\"]\n >\n >\n>;\nexport type WalletControllerCreateExternalWalletSignerResult = NonNullable<\n Awaited<\n ReturnType<\n ReturnType<\n typeof getWallets\n >[\"walletControllerCreateExternalWalletSigner\"]\n >\n >\n>;\nexport type WalletControllerCreateApiKeySignerResult = NonNullable<\n Awaited<\n ReturnType<\n ReturnType<typeof getWallets>[\"walletControllerCreateApiKeySigner\"]\n >\n >\n>;\nexport type WalletControllerGetSignerByIdResult = NonNullable<\n Awaited<\n ReturnType<ReturnType<typeof getWallets>[\"walletControllerGetSignerById\"]>\n >\n>;\nexport type WalletControllerUpdateSignerResult = NonNullable<\n Awaited<\n ReturnType<ReturnType<typeof getWallets>[\"walletControllerUpdateSigner\"]>\n >\n>;\nexport type WalletControllerDeleteSignerResult = NonNullable<\n Awaited<\n ReturnType<ReturnType<typeof getWallets>[\"walletControllerDeleteSigner\"]>\n >\n>;\nexport type WalletControllerGetDeviceEncryptedSecretResult = NonNullable<\n Awaited<\n ReturnType<\n ReturnType<typeof getWallets>[\"walletControllerGetDeviceEncryptedSecret\"]\n >\n >\n>;\nexport type WalletControllerUpdateDeviceIdentityResult = NonNullable<\n Awaited<\n ReturnType<\n ReturnType<typeof getWallets>[\"walletControllerUpdateDeviceIdentity\"]\n >\n >\n>;\nexport type WalletControllerAddSignerResult = NonNullable<\n Awaited<\n ReturnType<ReturnType<typeof getWallets>[\"walletControllerAddSigner\"]>\n >\n>;\nexport type WalletControllerListSignersResult = NonNullable<\n Awaited<\n ReturnType<ReturnType<typeof getWallets>[\"walletControllerListSigners\"]>\n >\n>;\nexport type WalletControllerRemoveSignerResult = NonNullable<\n Awaited<\n ReturnType<ReturnType<typeof getWallets>[\"walletControllerRemoveSigner\"]>\n >\n>;\nexport type WalletControllerUpdateSignerPermissionsResult = NonNullable<\n Awaited<\n ReturnType<\n ReturnType<typeof getWallets>[\"walletControllerUpdateSignerPermissions\"]\n >\n >\n>;\nexport type WalletControllerUpdateAdminSignerResult = NonNullable<\n Awaited<\n ReturnType<\n ReturnType<typeof getWallets>[\"walletControllerUpdateAdminSigner\"]\n >\n >\n>;\nexport type WalletControllerPrepareTransactionResult = NonNullable<\n Awaited<\n ReturnType<\n ReturnType<typeof getWallets>[\"walletControllerPrepareTransaction\"]\n >\n >\n>;\nexport type WalletControllerSubmitTransactionResult = NonNullable<\n Awaited<\n ReturnType<\n ReturnType<typeof getWallets>[\"walletControllerSubmitTransaction\"]\n >\n >\n>;\nexport type WalletControllerSignMessageResult = NonNullable<\n Awaited<\n ReturnType<ReturnType<typeof getWallets>[\"walletControllerSignMessage\"]>\n >\n>;\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACMA,mBAAwE;;;ACexE,IAAM,oBAAoB;AAQ1B,SAAS,kBAA6B;AACpC,QAAM,gBAA2B;AAAA,IAC/B,SAAS,QAAQ,IAAI,oBAAoB;AAAA,EAC3C;AAEA,MAAI,OAAO,WAAW,aAAa;AACjC,QAAI,CAAC,OAAO,yBAAyB;AACnC,aAAO,0BAA0B;AAAA,IACnC;AACA,WAAO,OAAO;AAAA,EAChB,WAAW,OAAQ,WAAmB,WAAW,aAAa;AAC5D,UAAM,MAAO,WAAmB;AAChC,QAAI,CAAC,IAAI,iBAAiB,GAAG;AAC3B,UAAI,iBAAiB,IAAI;AAAA,IAC3B;AACA,WAAO,IAAI,iBAAiB;AAAA,EAC9B;AAGA,SAAO;AACT;AAEA,IAAI,gBAA2B,gBAAgB;AAkGxC,SAAS,YAAiC;AAE/C,kBAAgB,gBAAgB;AAChC,SAAO;AACT;;;AD/IA,IAAM,gBAA+B,aAAAA,QAAM,OAAO;AAGlD,cAAc,aAAa,QAAQ;AAAA,EACjC,CAAC,WAAW;AACV,U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ACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,IAAI,WAAW;AAGR,IAAM,SAAS;AACf,IAAM,UAAU;AAChB,IAAM,kBAAkB;AACxB,IAAM,UAAU;AAChB,IAAM,SAAS;AACf,IAAM,SAAS;AACf,IAAM,gBAAgB;AACtB,IAAM,UAAU;AAChB,IAAM,UAAU;AAChB,IAAM,UAAU;AAChB,IAAM,gBAAgB;AACtB,IAAM,YAAY;AAClB,IAAM,kBAAkB;AACxB,IAAM,YAAY;AAClB,IAAM,aAAa;AACnB,IAAM,aAAa;AACnB,IAAM,WAAW;AACjB,IAAM,cAAc;AACpB,IAAM,eAAe;AACrB,IAAM,eAAe;AACrB,IAAM,sBAAsB;AAG5B,IAAM,iBAAiB;AACvB,IAAM,oBAAoB;AAC1B,IAAM,oBAAoB;AAC1B,IAAM,2BAA2B;AACjC,IAAM,4BAA4B;AAClC,IAAM,6BAA6B;AACnC,IAAM,8BAA8B;AACpC,IAAM,6BAA6B;AACnC,IAAM,qBAAqB;AAC3B,IAAM,gBAAgB;AACtB,IAAM,eAAe;AACrB,IAAM,eAAe;AACrB,IAAM,2BAA2B;AACjC,IAAM,uBAAuB;AAC7B,IAAM,YAAY;AAClB,IAAM,cAAc;AACpB,IAAM,eAAe;AACrB,IAAM,0BAA0B;AAChC,IAAM,oBAAoB;",
4
+ "sourcesContent": ["/**\r\n * Wallet module - Simplified exports for wallet-related API functions\r\n */\r\n\r\nimport { getWallets } from './api/wallets/wallets';\r\n\r\nconst {\r\n walletControllerCreate,\r\n walletControllerFindAll,\r\n walletControllerGetTotalBalance,\r\n walletControllerFindOne,\r\n walletControllerUpdate,\r\n walletControllerRemove,\r\n walletControllerFindByAddress,\r\n walletControllerSendSOL,\r\n walletControllerSendSPL,\r\n walletControllerMintNFT,\r\n walletControllerMintNFTSimple,\r\n walletControllerMintToken,\r\n walletControllerSendTransaction,\r\n walletControllerGetWalletAssets,\r\n walletControllerSyncWalletAssets,\r\n walletControllerDeactivateWallet,\r\n walletControllerActivateWallet,\r\n walletControllerBatchCreateWallets,\r\n walletControllerBatchSendSOL,\r\n walletControllerBatchSendSPL,\r\n walletControllerSimulateTransaction,\r\n walletControllerGetWalletCustodyInfo,\r\n walletControllerCreateEmailSigner,\r\n walletControllerCreatePhoneSigner,\r\n walletControllerStartPasskeyRegistration,\r\n walletControllerVerifyPasskeyRegistration,\r\n walletControllerStartPasskeyAuthentication,\r\n walletControllerVerifyPasskeyAuthentication,\r\n walletControllerCreateExternalWalletSigner,\r\n walletControllerCreateApiKeySigner,\r\n walletControllerGetSignerById,\r\n walletControllerUpdateSigner,\r\n walletControllerDeleteSigner,\r\n walletControllerGetDeviceEncryptedSecret,\r\n walletControllerUpdateDeviceIdentity,\r\n walletControllerAddSigner,\r\n walletControllerListSigners,\r\n walletControllerRemoveSigner,\r\n walletControllerUpdateSignerPermissions,\r\n walletControllerUpdateAdminSigner,\r\n} = getWallets();\r\n\r\n// Export wallet functions with simplified names\r\nexport const create = walletControllerCreate;\r\nexport const findAll = walletControllerFindAll;\r\nexport const getTotalBalance = walletControllerGetTotalBalance;\r\nexport const findOne = walletControllerFindOne;\r\nexport const update = walletControllerUpdate;\r\nexport const remove = walletControllerRemove;\r\nexport const findByAddress = walletControllerFindByAddress;\r\nexport const sendSOL = walletControllerSendSOL;\r\nexport const sendSPL = walletControllerSendSPL;\r\nexport const mintNFT = walletControllerMintNFT;\r\nexport const mintNFTSimple = walletControllerMintNFTSimple;\r\nexport const mintToken = walletControllerMintToken;\r\nexport const sendTransaction = walletControllerSendTransaction;\r\nexport const getAssets = walletControllerGetWalletAssets;\r\nexport const syncAssets = walletControllerSyncWalletAssets;\r\nexport const deactivate = walletControllerDeactivateWallet;\r\nexport const activate = walletControllerActivateWallet;\r\nexport const batchCreate = walletControllerBatchCreateWallets;\r\nexport const batchSendSOL = walletControllerBatchSendSOL;\r\nexport const batchSendSPL = walletControllerBatchSendSPL;\r\nexport const simulateTransaction = walletControllerSimulateTransaction;\r\n\r\n// Export signer management functions\r\nexport const getCustodyInfo = walletControllerGetWalletCustodyInfo;\r\nexport const createEmailSigner = walletControllerCreateEmailSigner;\r\nexport const createPhoneSigner = walletControllerCreatePhoneSigner;\r\nexport const startPasskeyRegistration = walletControllerStartPasskeyRegistration;\r\nexport const verifyPasskeyRegistration = walletControllerVerifyPasskeyRegistration;\r\nexport const startPasskeyAuthentication = walletControllerStartPasskeyAuthentication;\r\nexport const verifyPasskeyAuthentication = walletControllerVerifyPasskeyAuthentication;\r\nexport const createExternalWalletSigner = walletControllerCreateExternalWalletSigner;\r\nexport const createApiKeySigner = walletControllerCreateApiKeySigner;\r\nexport const getSignerById = walletControllerGetSignerById;\r\nexport const updateSigner = walletControllerUpdateSigner;\r\nexport const deleteSigner = walletControllerDeleteSigner;\r\nexport const getDeviceEncryptedSecret = walletControllerGetDeviceEncryptedSecret;\r\nexport const updateDeviceIdentity = walletControllerUpdateDeviceIdentity;\r\nexport const addSigner = walletControllerAddSigner;\r\nexport const listSigners = walletControllerListSigners;\r\nexport const removeSigner = walletControllerRemoveSigner;\r\nexport const updateSignerPermissions = walletControllerUpdateSignerPermissions;\r\nexport const updateAdminSigner = walletControllerUpdateAdminSigner;\r\n\r\n// Export types\r\nexport type {\r\n WalletControllerCreateResult,\r\n WalletControllerFindAllResult,\r\n WalletControllerGetTotalBalanceResult,\r\n WalletControllerFindOneResult,\r\n WalletControllerUpdateResult,\r\n WalletControllerRemoveResult,\r\n WalletControllerFindByAddressResult,\r\n WalletControllerSendSOLResult,\r\n WalletControllerSendSPLResult,\r\n WalletControllerMintNFTResult,\r\n WalletControllerMintNFTSimpleResult,\r\n WalletControllerMintTokenResult,\r\n WalletControllerSendTransactionResult,\r\n WalletControllerGetWalletAssetsResult,\r\n WalletControllerSyncWalletAssetsResult,\r\n WalletControllerDeactivateWalletResult,\r\n WalletControllerActivateWalletResult,\r\n WalletControllerBatchCreateWalletsResult,\r\n WalletControllerBatchSendSOLResult,\r\n WalletControllerBatchSendSPLResult,\r\n WalletControllerSimulateTransactionResult,\r\n WalletControllerGetWalletCustodyInfoResult,\r\n WalletControllerCreateEmailSignerResult,\r\n WalletControllerCreatePhoneSignerResult,\r\n WalletControllerStartPasskeyRegistrationResult,\r\n WalletControllerVerifyPasskeyRegistrationResult,\r\n WalletControllerStartPasskeyAuthenticationResult,\r\n WalletControllerVerifyPasskeyAuthenticationResult,\r\n WalletControllerCreateExternalWalletSignerResult,\r\n WalletControllerCreateApiKeySignerResult,\r\n WalletControllerGetSignerByIdResult,\r\n WalletControllerUpdateSignerResult,\r\n WalletControllerDeleteSignerResult,\r\n WalletControllerGetDeviceEncryptedSecretResult,\r\n WalletControllerUpdateDeviceIdentityResult,\r\n WalletControllerAddSignerResult,\r\n WalletControllerListSignersResult,\r\n WalletControllerRemoveSignerResult,\r\n WalletControllerUpdateSignerPermissionsResult,\r\n WalletControllerUpdateAdminSignerResult,\r\n} from './api/wallets/wallets';\r\n\r\nexport type {\r\n CreateWalletDto,\r\n UpdateWalletDto,\r\n SendSolDto,\r\n SendSplDto,\r\n MintNftDto,\r\n MintNftSimpleDto,\r\n MintTokenDto,\r\n SendTransactionDto,\r\n WalletControllerGetWalletAssetsParams,\r\n WalletAssetResponseDto,\r\n BatchCreateWalletDto,\r\n BatchSendSolDto,\r\n BatchSendSplDto,\r\n SimulateTransactionDto,\r\n AddSignerDto,\r\n CreateEmailSignerDto,\r\n CreatePhoneSignerDto,\r\n CreateExternalWalletSignerDto,\r\n CreateApiKeySignerDto,\r\n UpdateSignerDto,\r\n UpdateSignerPermissionsDto,\r\n UpdateAdminSignerDto,\r\n WalletControllerGetDeviceEncryptedSecretParams,\r\n UpdateDeviceIdentityDto,\r\n PasskeyAuthenticationDto,\r\n PasskeyAuthenticationDtoCredential,\r\n PasskeyRegistrationDto,\r\n PasskeyRegistrationDtoCredential,\r\n StartPasskeyAuthenticationDto,\r\n} from './models';\r\n\r\n", "/**\r\n * Custom API client instance for Cilantro Smart SDK\r\n * Handles authentication (JWT tokens and API keys) automatically\r\n * @internal\r\n */\r\n\r\nimport axios, { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';\r\nimport { getConfig } from './config';\r\n\r\n// Create axios instance with dynamic baseURL\r\nconst axiosInstance: AxiosInstance = axios.create();\r\n\r\n// Request interceptor to add authentication headers and dynamic baseURL\r\naxiosInstance.interceptors.request.use(\r\n (config) => {\r\n const sdkConfig = getConfig();\r\n \r\n // Set baseURL dynamically from config\r\n config.baseURL = sdkConfig.baseURL || 'https://api.cilantro.gg';\r\n \r\n // Add JWT token if available\r\n if (sdkConfig.jwt) {\r\n config.headers.Authorization = `Bearer ${sdkConfig.jwt}`;\r\n }\r\n \r\n // Add API key if available (for platform/user authentication)\r\n if (sdkConfig.apiKey) {\r\n config.headers['X-API-Key'] = sdkConfig.apiKey;\r\n }\r\n \r\n return config;\r\n },\r\n (error) => {\r\n return Promise.reject(error);\r\n }\r\n);\r\n\r\n/**\r\n * Custom instance wrapper for orval\r\n * @internal\r\n */\r\nexport const customInstance = <T>(\r\n config: AxiosRequestConfig,\r\n options?: AxiosRequestConfig,\r\n): Promise<T> => {\r\n const source = axios.CancelToken.source();\r\n const promise = axiosInstance({\r\n ...config,\r\n ...options,\r\n cancelToken: source.token,\r\n }).then(({ data }: AxiosResponse<T>) => data);\r\n\r\n // @ts-ignore\r\n promise.cancel = () => {\r\n source.cancel('Query was cancelled');\r\n };\r\n\r\n return promise;\r\n};\r\n\r\nexport default customInstance;\r\n", "/**\r\n * SDK Configuration Management\r\n * Centralized configuration for authentication and API settings\r\n */\r\n\r\n/**\r\n * SDK Configuration interface\r\n */\r\nexport interface SDKConfig {\r\n /** JWT token for authentication */\r\n jwt?: string;\r\n /** API key for authentication (alternative to JWT) */\r\n apiKey?: string;\r\n /** Base URL for the API (defaults to https://api.cilantro.gg) */\r\n baseURL?: string;\r\n}\r\n\r\n/**\r\n * Internal configuration state\r\n * Uses global variable to share state across bundled modules\r\n */\r\nconst GLOBAL_CONFIG_KEY = '__CILANTRO_SDK_CONFIG__';\r\n\r\n// Extend global types\r\ndeclare global {\r\n var __CILANTRO_SDK_CONFIG__: SDKConfig | undefined;\r\n}\r\n\r\n// Get or create global config\r\nfunction getGlobalConfig(): SDKConfig {\r\n const defaultConfig: SDKConfig = {\r\n baseURL: process.env.CILANTRO_API_URL || 'https://api.cilantro.gg',\r\n };\r\n \r\n if (typeof global !== 'undefined') {\r\n if (!global.__CILANTRO_SDK_CONFIG__) {\r\n global.__CILANTRO_SDK_CONFIG__ = defaultConfig;\r\n }\r\n return global.__CILANTRO_SDK_CONFIG__;\r\n } else if (typeof (globalThis as any).window !== 'undefined') {\r\n const win = (globalThis as any).window;\r\n if (!win[GLOBAL_CONFIG_KEY]) {\r\n win[GLOBAL_CONFIG_KEY] = defaultConfig;\r\n }\r\n return win[GLOBAL_CONFIG_KEY];\r\n }\r\n \r\n // Fallback for environments without global/window\r\n return defaultConfig;\r\n}\r\n\r\nlet currentConfig: SDKConfig = getGlobalConfig();\r\n\r\n/**\r\n * Configure the SDK with authentication credentials and settings\r\n * \r\n * @param config - Configuration options\r\n * @example\r\n * ```typescript\r\n * import { configure } from 'cilantro-smart-sdk';\r\n * \r\n * // Configure with API key\r\n * configure({ \r\n * apiKey: 'your-api-key',\r\n * baseURL: 'https://api.cilantro.gg' \r\n * });\r\n * \r\n * // Configure with JWT token\r\n * configure({ \r\n * jwt: 'your-jwt-token' \r\n * });\r\n * ```\r\n */\r\nexport function configure(config: SDKConfig): void {\r\n currentConfig = {\r\n ...currentConfig,\r\n ...config,\r\n };\r\n // Also update global config\r\n if (typeof global !== 'undefined') {\r\n global.__CILANTRO_SDK_CONFIG__ = currentConfig;\r\n } else if (typeof (globalThis as any).window !== 'undefined') {\r\n ((globalThis as any).window as any)[GLOBAL_CONFIG_KEY] = currentConfig;\r\n }\r\n}\r\n\r\n/**\r\n * Set or update authentication credentials\r\n * \r\n * @param auth - Authentication credentials (JWT and/or API key)\r\n * @example\r\n * ```typescript\r\n * import { setAuth } from 'cilantro-smart-sdk';\r\n * import { login } from 'cilantro-smart-sdk/auth';\r\n * \r\n * const result = await login({ \r\n * usernameOrEmail: 'user@example.com',\r\n * password: 'password123' \r\n * });\r\n * \r\n * setAuth({ jwt: result.data.jwt });\r\n * ```\r\n */\r\nexport function setAuth(auth: { jwt?: string; apiKey?: string }): void {\r\n // Refresh from global first\r\n currentConfig = getGlobalConfig();\r\n \r\n if (auth.jwt !== undefined) {\r\n currentConfig.jwt = auth.jwt;\r\n }\r\n if (auth.apiKey !== undefined) {\r\n currentConfig.apiKey = auth.apiKey;\r\n }\r\n \r\n // Update global config\r\n if (typeof global !== 'undefined') {\r\n global.__CILANTRO_SDK_CONFIG__ = currentConfig;\r\n } else if (typeof (globalThis as any).window !== 'undefined') {\r\n ((globalThis as any).window as any)[GLOBAL_CONFIG_KEY] = currentConfig;\r\n }\r\n}\r\n\r\n/**\r\n * Clear all authentication credentials\r\n * \r\n * @example\r\n * ```typescript\r\n * import { clearAuth } from 'cilantro-smart-sdk';\r\n * \r\n * clearAuth();\r\n * ```\r\n */\r\nexport function clearAuth(): void {\r\n currentConfig = getGlobalConfig();\r\n currentConfig.jwt = undefined;\r\n currentConfig.apiKey = undefined;\r\n \r\n // Update global config\r\n if (typeof global !== 'undefined') {\r\n global.__CILANTRO_SDK_CONFIG__ = currentConfig;\r\n } else if (typeof (globalThis as any).window !== 'undefined') {\r\n ((globalThis as any).window as any)[GLOBAL_CONFIG_KEY] = currentConfig;\r\n }\r\n}\r\n\r\n/**\r\n * Get current SDK configuration (internal use only)\r\n * @internal\r\n */\r\nexport function getConfig(): Readonly<SDKConfig> {\r\n // Always get fresh from global to ensure we have the latest config\r\n currentConfig = getGlobalConfig();\r\n return currentConfig;\r\n}\r\n", "/**\n * Generated by orval v7.17.0 \uD83C\uDF7A\n * Do not edit manually.\n * Cilantro Smart API v2\n * API documentation for Cilantro Smart API v2 - A Solana wallet management system\n * OpenAPI spec version: 2.0\n */\nimport type {\n AddSignerDto,\n BatchCreateWalletDto,\n BatchSendSolDto,\n BatchSendSplDto,\n CreateApiKeySignerDto,\n CreateEmailSignerDto,\n CreateExternalWalletSignerDto,\n CreatePhoneSignerDto,\n CreateWalletDto,\n MintNftDto,\n MintNftSimpleDto,\n MintTokenDto,\n PasskeyAuthenticationDto,\n PasskeyRegistrationDto,\n PrepareTransactionDto,\n SendSolDto,\n SendSplDto,\n SendTransactionDto,\n SignMessageDto,\n SimulateTransactionDto,\n StartPasskeyAuthenticationDto,\n SubmitTransactionDto,\n UpdateAdminSignerDto,\n UpdateDeviceIdentityDto,\n UpdateSignerDto,\n UpdateSignerPermissionsDto,\n UpdateWalletDto,\n WalletAssetResponseDto,\n WalletControllerFindAllParams,\n WalletControllerGetDeviceEncryptedSecretParams,\n WalletControllerGetWalletAssetsParams,\n WalletControllerMintNFT200,\n WalletControllerMintNFTSimple200,\n WalletControllerMintToken200,\n WalletControllerPrepareTransaction200,\n WalletControllerSendSOL200,\n WalletControllerSendSPL200,\n WalletControllerSendTransaction200,\n WalletControllerSignMessage200,\n WalletControllerSubmitTransaction200,\n} from \"../../models\";\n\nimport { customInstance } from \"../../api-client\";\n\ntype SecondParameter<T extends (...args: never) => unknown> = Parameters<T>[1];\n\nexport const getWallets = () => {\n /**\n * @summary Create a new smart contract wallet\n */\n const walletControllerCreate = (\n createWalletDto: CreateWalletDto,\n options?: SecondParameter<typeof customInstance<void>>,\n ) => {\n return customInstance<void>(\n {\n url: `/wallets`,\n method: \"POST\",\n headers: { \"Content-Type\": \"application/json\" },\n data: createWalletDto,\n },\n options,\n );\n };\n /**\n * @summary Get all wallets for authenticated user\n */\n const walletControllerFindAll = (\n params?: WalletControllerFindAllParams,\n options?: SecondParameter<typeof customInstance<void>>,\n ) => {\n return customInstance<void>(\n { url: `/wallets`, method: \"GET\", params },\n options,\n );\n };\n /**\n * @summary Get total balance across all user wallets\n */\n const walletControllerGetTotalBalance = (\n options?: SecondParameter<typeof customInstance<number>>,\n ) => {\n return customInstance<number>(\n { url: `/wallets/balance/total`, method: \"GET\" },\n options,\n );\n };\n /**\n * @summary Get wallet by ID\n */\n const walletControllerFindOne = (\n id: string,\n options?: SecondParameter<typeof customInstance<void>>,\n ) => {\n return customInstance<void>(\n { url: `/wallets/${id}`, method: \"GET\" },\n options,\n );\n };\n /**\n * @summary Update wallet\n */\n const walletControllerUpdate = (\n id: string,\n updateWalletDto: UpdateWalletDto,\n options?: SecondParameter<typeof customInstance<void>>,\n ) => {\n return customInstance<void>(\n {\n url: `/wallets/${id}`,\n method: \"PATCH\",\n headers: { \"Content-Type\": \"application/json\" },\n data: updateWalletDto,\n },\n options,\n );\n };\n /**\n * @summary Delete wallet\n */\n const walletControllerRemove = (\n id: string,\n options?: SecondParameter<typeof customInstance<void>>,\n ) => {\n return customInstance<void>(\n { url: `/wallets/${id}`, method: \"DELETE\" },\n options,\n );\n };\n /**\n * @summary Get wallet by address\n */\n const walletControllerFindByAddress = (\n address: string,\n options?: SecondParameter<typeof customInstance<void>>,\n ) => {\n return customInstance<void>(\n { url: `/wallets/address/${address}`, method: \"GET\" },\n options,\n );\n };\n /**\n * @summary Send SOL from wallet to recipient\n */\n const walletControllerSendSOL = (\n id: string,\n sendSolDto: SendSolDto,\n options?: SecondParameter<\n typeof customInstance<WalletControllerSendSOL200>\n >,\n ) => {\n return customInstance<WalletControllerSendSOL200>(\n {\n url: `/wallets/${id}/send-sol`,\n method: \"POST\",\n headers: { \"Content-Type\": \"application/json\" },\n data: sendSolDto,\n },\n options,\n );\n };\n /**\n * @summary Send SPL tokens from wallet to recipient\n */\n const walletControllerSendSPL = (\n id: string,\n sendSplDto: SendSplDto,\n options?: SecondParameter<\n typeof customInstance<WalletControllerSendSPL200>\n >,\n ) => {\n return customInstance<WalletControllerSendSPL200>(\n {\n url: `/wallets/${id}/send-spl`,\n method: \"POST\",\n headers: { \"Content-Type\": \"application/json\" },\n data: sendSplDto,\n },\n options,\n );\n };\n /**\n * @summary Mint NFT using Metaplex via CPI (Advanced)\n */\n const walletControllerMintNFT = (\n id: string,\n mintNftDto: MintNftDto,\n options?: SecondParameter<\n typeof customInstance<WalletControllerMintNFT200>\n >,\n ) => {\n return customInstance<WalletControllerMintNFT200>(\n {\n url: `/wallets/${id}/mint-nft`,\n method: \"POST\",\n headers: { \"Content-Type\": \"application/json\" },\n data: mintNftDto,\n },\n options,\n );\n };\n /**\n * @summary Mint NFT with metadata - handles all logic internally using Metaplex Core\n */\n const walletControllerMintNFTSimple = (\n id: string,\n mintNftSimpleDto: MintNftSimpleDto,\n options?: SecondParameter<\n typeof customInstance<WalletControllerMintNFTSimple200>\n >,\n ) => {\n return customInstance<WalletControllerMintNFTSimple200>(\n {\n url: `/wallets/${id}/mint-nft-simple`,\n method: \"POST\",\n headers: { \"Content-Type\": \"application/json\" },\n data: mintNftSimpleDto,\n },\n options,\n );\n };\n /**\n * @summary Mint fungible token (SPL or Token-2022) with initial supply to wallet\n */\n const walletControllerMintToken = (\n id: string,\n mintTokenDto: MintTokenDto,\n options?: SecondParameter<\n typeof customInstance<WalletControllerMintToken200>\n >,\n ) => {\n return customInstance<WalletControllerMintToken200>(\n {\n url: `/wallets/${id}/mint-token`,\n method: \"POST\",\n headers: { \"Content-Type\": \"application/json\" },\n data: mintTokenDto,\n },\n options,\n );\n };\n /**\n * @summary Execute arbitrary transaction via CPI to any Solana program\n */\n const walletControllerSendTransaction = (\n id: string,\n sendTransactionDto: SendTransactionDto,\n options?: SecondParameter<\n typeof customInstance<WalletControllerSendTransaction200>\n >,\n ) => {\n return customInstance<WalletControllerSendTransaction200>(\n {\n url: `/wallets/${id}/send-transaction`,\n method: \"POST\",\n headers: { \"Content-Type\": \"application/json\" },\n data: sendTransactionDto,\n },\n options,\n );\n };\n /**\n * @summary Get all assets for a wallet (cached with auto-refresh)\n */\n const walletControllerGetWalletAssets = (\n id: string,\n params?: WalletControllerGetWalletAssetsParams,\n options?: SecondParameter<typeof customInstance<WalletAssetResponseDto[]>>,\n ) => {\n return customInstance<WalletAssetResponseDto[]>(\n { url: `/wallets/${id}/assets`, method: \"GET\", params },\n options,\n );\n };\n /**\n * @summary Force sync wallet balance and assets from blockchain immediately\n */\n const walletControllerSyncWalletAssets = (\n id: string,\n options?: SecondParameter<typeof customInstance<WalletAssetResponseDto[]>>,\n ) => {\n return customInstance<WalletAssetResponseDto[]>(\n { url: `/wallets/${id}/sync`, method: \"POST\" },\n options,\n );\n };\n /**\n * @summary Deactivate a wallet\n */\n const walletControllerDeactivateWallet = (\n id: string,\n options?: SecondParameter<typeof customInstance<void>>,\n ) => {\n return customInstance<void>(\n { url: `/wallets/${id}/deactivate`, method: \"POST\" },\n options,\n );\n };\n /**\n * @summary Activate a wallet\n */\n const walletControllerActivateWallet = (\n id: string,\n options?: SecondParameter<typeof customInstance<void>>,\n ) => {\n return customInstance<void>(\n { url: `/wallets/${id}/activate`, method: \"POST\" },\n options,\n );\n };\n /**\n * @summary Batch create multiple wallets\n */\n const walletControllerBatchCreateWallets = (\n batchCreateWalletDto: BatchCreateWalletDto,\n options?: SecondParameter<typeof customInstance<void>>,\n ) => {\n return customInstance<void>(\n {\n url: `/wallets/batch/create`,\n method: \"POST\",\n headers: { \"Content-Type\": \"application/json\" },\n data: batchCreateWalletDto,\n },\n options,\n );\n };\n /**\n * @summary Batch send SOL to multiple recipients\n */\n const walletControllerBatchSendSOL = (\n id: string,\n batchSendSolDto: BatchSendSolDto,\n options?: SecondParameter<typeof customInstance<void>>,\n ) => {\n return customInstance<void>(\n {\n url: `/wallets/${id}/batch/send-sol`,\n method: \"POST\",\n headers: { \"Content-Type\": \"application/json\" },\n data: batchSendSolDto,\n },\n options,\n );\n };\n /**\n * @summary Batch send SPL tokens to multiple recipients\n */\n const walletControllerBatchSendSPL = (\n id: string,\n batchSendSplDto: BatchSendSplDto,\n options?: SecondParameter<typeof customInstance<void>>,\n ) => {\n return customInstance<void>(\n {\n url: `/wallets/${id}/batch/send-spl`,\n method: \"POST\",\n headers: { \"Content-Type\": \"application/json\" },\n data: batchSendSplDto,\n },\n options,\n );\n };\n /**\n * @summary Simulate a transaction without executing it\n */\n const walletControllerSimulateTransaction = (\n id: string,\n simulateTransactionDto: SimulateTransactionDto,\n options?: SecondParameter<typeof customInstance<void>>,\n ) => {\n return customInstance<void>(\n {\n url: `/wallets/${id}/simulate-transaction`,\n method: \"POST\",\n headers: { \"Content-Type\": \"application/json\" },\n data: simulateTransactionDto,\n },\n options,\n );\n };\n /**\n * @summary Get wallet custody information and signers\n */\n const walletControllerGetWalletCustodyInfo = (\n id: string,\n options?: SecondParameter<typeof customInstance<void>>,\n ) => {\n return customInstance<void>(\n { url: `/wallets/${id}/custody`, method: \"GET\" },\n options,\n );\n };\n /**\n * Create an email-based signer for the wallet and automatically register it on-chain. The user controls their keys via email authentication.\n * @summary Create email signer (non-custodial)\n */\n const walletControllerCreateEmailSigner = (\n id: string,\n createEmailSignerDto: CreateEmailSignerDto,\n options?: SecondParameter<typeof customInstance<void>>,\n ) => {\n return customInstance<void>(\n {\n url: `/wallets/${id}/signers/email`,\n method: \"POST\",\n headers: { \"Content-Type\": \"application/json\" },\n data: createEmailSignerDto,\n },\n options,\n );\n };\n /**\n * Create a phone-based signer for the wallet and automatically register it on-chain. The user controls their keys via SMS authentication.\n * @summary Create phone signer (non-custodial)\n */\n const walletControllerCreatePhoneSigner = (\n id: string,\n createPhoneSignerDto: CreatePhoneSignerDto,\n options?: SecondParameter<typeof customInstance<void>>,\n ) => {\n return customInstance<void>(\n {\n url: `/wallets/${id}/signers/phone`,\n method: \"POST\",\n headers: { \"Content-Type\": \"application/json\" },\n data: createPhoneSignerDto,\n },\n options,\n );\n };\n /**\n * Generate WebAuthn registration options for creating a passkey signer. Returns options to be used with the browser WebAuthn API.\n * @summary Start passkey registration\n */\n const walletControllerStartPasskeyRegistration = (\n id: string,\n options?: SecondParameter<typeof customInstance<void>>,\n ) => {\n return customInstance<void>(\n { url: `/wallets/${id}/signers/passkey/register`, method: \"POST\" },\n options,\n );\n };\n /**\n * Verify the WebAuthn registration response and create a passkey signer for the wallet, automatically registering it on-chain.\n * @summary Verify passkey registration and create signer\n */\n const walletControllerVerifyPasskeyRegistration = (\n id: string,\n passkeyRegistrationDto: PasskeyRegistrationDto,\n options?: SecondParameter<typeof customInstance<void>>,\n ) => {\n return customInstance<void>(\n {\n url: `/wallets/${id}/signers/passkey/verify`,\n method: \"POST\",\n headers: { \"Content-Type\": \"application/json\" },\n data: passkeyRegistrationDto,\n },\n options,\n );\n };\n /**\n * Generate WebAuthn authentication options for signing with an existing passkey. If credentialId is provided in the body, only that specific passkey will be included. Returns options to be used with the browser WebAuthn API.\n * @summary Start passkey authentication\n */\n const walletControllerStartPasskeyAuthentication = (\n id: string,\n startPasskeyAuthenticationDto: StartPasskeyAuthenticationDto,\n options?: SecondParameter<typeof customInstance<void>>,\n ) => {\n return customInstance<void>(\n {\n url: `/wallets/${id}/signers/passkey/authenticate`,\n method: \"POST\",\n headers: { \"Content-Type\": \"application/json\" },\n data: startPasskeyAuthenticationDto,\n },\n options,\n );\n };\n /**\n * Verify the WebAuthn authentication response. Updates the passkey counter to prevent replay attacks.\n * @summary Verify passkey authentication\n */\n const walletControllerVerifyPasskeyAuthentication = (\n id: string,\n passkeyAuthenticationDto: PasskeyAuthenticationDto,\n options?: SecondParameter<typeof customInstance<void>>,\n ) => {\n return customInstance<void>(\n {\n url: `/wallets/${id}/signers/passkey/verify-auth`,\n method: \"POST\",\n headers: { \"Content-Type\": \"application/json\" },\n data: passkeyAuthenticationDto,\n },\n options,\n );\n };\n /**\n * Link an external wallet (e.g., Phantom, Solflare) as a signer for the wallet and automatically register it on-chain. The external wallet can then sign transactions.\n * @summary Create external wallet signer\n */\n const walletControllerCreateExternalWalletSigner = (\n id: string,\n createExternalWalletSignerDto: CreateExternalWalletSignerDto,\n options?: SecondParameter<typeof customInstance<void>>,\n ) => {\n return customInstance<void>(\n {\n url: `/wallets/${id}/signers/external-wallet`,\n method: \"POST\",\n headers: { \"Content-Type\": \"application/json\" },\n data: createExternalWalletSignerDto,\n },\n options,\n );\n };\n /**\n * Create an API key-based custodial signer and automatically register it on-chain. The platform manages the signing keys on behalf of the user.\n * @summary Create API key signer (custodial)\n */\n const walletControllerCreateApiKeySigner = (\n id: string,\n createApiKeySignerDto: CreateApiKeySignerDto,\n options?: SecondParameter<typeof customInstance<void>>,\n ) => {\n return customInstance<void>(\n {\n url: `/wallets/${id}/signers/api-key`,\n method: \"POST\",\n headers: { \"Content-Type\": \"application/json\" },\n data: createApiKeySignerDto,\n },\n options,\n );\n };\n /**\n * Retrieve detailed information about a specific authentication signer.\n * @summary Get signer by ID\n */\n const walletControllerGetSignerById = (\n id: string,\n signerId: string,\n options?: SecondParameter<typeof customInstance<void>>,\n ) => {\n return customInstance<void>(\n { url: `/wallets/${id}/signers/${signerId}`, method: \"GET\" },\n options,\n );\n };\n /**\n * Update signer configuration such as active status or primary designation.\n * @summary Update signer\n */\n const walletControllerUpdateSigner = (\n id: string,\n signerId: string,\n updateSignerDto: UpdateSignerDto,\n options?: SecondParameter<typeof customInstance<void>>,\n ) => {\n return customInstance<void>(\n {\n url: `/wallets/${id}/signers/${signerId}`,\n method: \"PATCH\",\n headers: { \"Content-Type\": \"application/json\" },\n data: updateSignerDto,\n },\n options,\n );\n };\n /**\n * Remove an authentication signer from the wallet. This will also remove it from on-chain registration. At least one signer must remain active.\n * @summary Delete signer\n */\n const walletControllerDeleteSigner = (\n id: string,\n signerId: string,\n options?: SecondParameter<typeof customInstance<void>>,\n ) => {\n return customInstance<void>(\n { url: `/wallets/${id}/signers/${signerId}`, method: \"DELETE\" },\n options,\n );\n };\n /**\n * Retrieve the encrypted master secret for email/phone signers. Used for device-specific key recovery.\n * @summary Get encrypted master secret for device\n */\n const walletControllerGetDeviceEncryptedSecret = (\n id: string,\n signerId: string,\n params: WalletControllerGetDeviceEncryptedSecretParams,\n options?: SecondParameter<typeof customInstance<void>>,\n ) => {\n return customInstance<void>(\n {\n url: `/wallets/${id}/signers/${signerId}/encrypted-secret`,\n method: \"GET\",\n params,\n },\n options,\n );\n };\n /**\n * Replace a device for an email/phone signer while keeping the same signer. Provide oldDevicePublicKey (or omit if signer has only one device) and new devicePublicKey with encryptedMasterSecret. Can also update device fingerprint metadata.\n * @summary Update device identity\n */\n const walletControllerUpdateDeviceIdentity = (\n id: string,\n signerId: string,\n updateDeviceIdentityDto: UpdateDeviceIdentityDto,\n options?: SecondParameter<typeof customInstance<void>>,\n ) => {\n return customInstance<void>(\n {\n url: `/wallets/${id}/signers/${signerId}/device-identity`,\n method: \"PATCH\",\n headers: { \"Content-Type\": \"application/json\" },\n data: updateDeviceIdentityDto,\n },\n options,\n );\n };\n /**\n * @summary Add a new signer to the wallet (on-chain only)\n */\n const walletControllerAddSigner = (\n id: string,\n addSignerDto: AddSignerDto,\n options?: SecondParameter<typeof customInstance<void>>,\n ) => {\n return customInstance<void>(\n {\n url: `/wallets/${id}/signers`,\n method: \"POST\",\n headers: { \"Content-Type\": \"application/json\" },\n data: addSignerDto,\n },\n options,\n );\n };\n /**\n * @summary List all signers for the wallet (both authentication and on-chain signers)\n */\n const walletControllerListSigners = (\n id: string,\n options?: SecondParameter<typeof customInstance<void>>,\n ) => {\n return customInstance<void>(\n { url: `/wallets/${id}/signers`, method: \"GET\" },\n options,\n );\n };\n /**\n * @summary Remove a signer from the wallet\n */\n const walletControllerRemoveSigner = (\n id: string,\n pubkey: string,\n options?: SecondParameter<typeof customInstance<void>>,\n ) => {\n return customInstance<void>(\n { url: `/wallets/${id}/signers/${pubkey}`, method: \"DELETE\" },\n options,\n );\n };\n /**\n * @summary Update signer permissions\n */\n const walletControllerUpdateSignerPermissions = (\n id: string,\n pubkey: string,\n updateSignerPermissionsDto: UpdateSignerPermissionsDto,\n options?: SecondParameter<typeof customInstance<void>>,\n ) => {\n return customInstance<void>(\n {\n url: `/wallets/${id}/signers/${pubkey}`,\n method: \"PATCH\",\n headers: { \"Content-Type\": \"application/json\" },\n data: updateSignerPermissionsDto,\n },\n options,\n );\n };\n /**\n * @summary Update admin signer (provider migration)\n */\n const walletControllerUpdateAdminSigner = (\n id: string,\n updateAdminSignerDto: UpdateAdminSignerDto,\n options?: SecondParameter<typeof customInstance<void>>,\n ) => {\n return customInstance<void>(\n {\n url: `/wallets/${id}/admin/update`,\n method: \"POST\",\n headers: { \"Content-Type\": \"application/json\" },\n data: updateAdminSignerDto,\n },\n options,\n );\n };\n /**\n * Builds an unsigned transaction that can be signed by external wallet, passkey, or email/phone signer. Returns serialized transaction for signing. This enables non-custodial wallet flows where the user controls their keys.\n * @summary Prepare transaction for client-side signing\n */\n const walletControllerPrepareTransaction = (\n id: string,\n prepareTransactionDto: PrepareTransactionDto,\n options?: SecondParameter<\n typeof customInstance<WalletControllerPrepareTransaction200>\n >,\n ) => {\n return customInstance<WalletControllerPrepareTransaction200>(\n {\n url: `/wallets/${id}/prepare-transaction`,\n method: \"POST\",\n headers: { \"Content-Type\": \"application/json\" },\n data: prepareTransactionDto,\n },\n options,\n );\n };\n /**\n * Submits a client-signed transaction to the Solana blockchain. Use after preparing transaction with /prepare-transaction endpoint and signing it with your signer (external wallet, passkey, email/phone key derivation).\n * @summary Submit signed transaction to blockchain\n */\n const walletControllerSubmitTransaction = (\n id: string,\n submitTransactionDto: SubmitTransactionDto,\n options?: SecondParameter<\n typeof customInstance<WalletControllerSubmitTransaction200>\n >,\n ) => {\n return customInstance<WalletControllerSubmitTransaction200>(\n {\n url: `/wallets/${id}/submit-transaction`,\n method: \"POST\",\n headers: { \"Content-Type\": \"application/json\" },\n data: submitTransactionDto,\n },\n options,\n );\n };\n /**\n * Sign a message using the wallet for authentication or verification purposes. Useful for proving wallet ownership, dApp authentication, or creating verifiable signatures.\n * @summary Sign arbitrary message with wallet\n */\n const walletControllerSignMessage = (\n id: string,\n signMessageDto: SignMessageDto,\n options?: SecondParameter<\n typeof customInstance<WalletControllerSignMessage200>\n >,\n ) => {\n return customInstance<WalletControllerSignMessage200>(\n {\n url: `/wallets/${id}/sign-message`,\n method: \"POST\",\n headers: { \"Content-Type\": \"application/json\" },\n data: signMessageDto,\n },\n options,\n );\n };\n return {\n walletControllerCreate,\n walletControllerFindAll,\n walletControllerGetTotalBalance,\n walletControllerFindOne,\n walletControllerUpdate,\n walletControllerRemove,\n walletControllerFindByAddress,\n walletControllerSendSOL,\n walletControllerSendSPL,\n walletControllerMintNFT,\n walletControllerMintNFTSimple,\n walletControllerMintToken,\n walletControllerSendTransaction,\n walletControllerGetWalletAssets,\n walletControllerSyncWalletAssets,\n walletControllerDeactivateWallet,\n walletControllerActivateWallet,\n walletControllerBatchCreateWallets,\n walletControllerBatchSendSOL,\n walletControllerBatchSendSPL,\n walletControllerSimulateTransaction,\n walletControllerGetWalletCustodyInfo,\n walletControllerCreateEmailSigner,\n walletControllerCreatePhoneSigner,\n walletControllerStartPasskeyRegistration,\n walletControllerVerifyPasskeyRegistration,\n walletControllerStartPasskeyAuthentication,\n walletControllerVerifyPasskeyAuthentication,\n walletControllerCreateExternalWalletSigner,\n walletControllerCreateApiKeySigner,\n walletControllerGetSignerById,\n walletControllerUpdateSigner,\n walletControllerDeleteSigner,\n walletControllerGetDeviceEncryptedSecret,\n walletControllerUpdateDeviceIdentity,\n walletControllerAddSigner,\n walletControllerListSigners,\n walletControllerRemoveSigner,\n walletControllerUpdateSignerPermissions,\n walletControllerUpdateAdminSigner,\n walletControllerPrepareTransaction,\n walletControllerSubmitTransaction,\n walletControllerSignMessage,\n };\n};\nexport type WalletControllerCreateResult = NonNullable<\n Awaited<ReturnType<ReturnType<typeof getWallets>[\"walletControllerCreate\"]>>\n>;\nexport type WalletControllerFindAllResult = NonNullable<\n Awaited<ReturnType<ReturnType<typeof getWallets>[\"walletControllerFindAll\"]>>\n>;\nexport type WalletControllerGetTotalBalanceResult = NonNullable<\n Awaited<\n ReturnType<ReturnType<typeof getWallets>[\"walletControllerGetTotalBalance\"]>\n >\n>;\nexport type WalletControllerFindOneResult = NonNullable<\n Awaited<ReturnType<ReturnType<typeof getWallets>[\"walletControllerFindOne\"]>>\n>;\nexport type WalletControllerUpdateResult = NonNullable<\n Awaited<ReturnType<ReturnType<typeof getWallets>[\"walletControllerUpdate\"]>>\n>;\nexport type WalletControllerRemoveResult = NonNullable<\n Awaited<ReturnType<ReturnType<typeof getWallets>[\"walletControllerRemove\"]>>\n>;\nexport type WalletControllerFindByAddressResult = NonNullable<\n Awaited<\n ReturnType<ReturnType<typeof getWallets>[\"walletControllerFindByAddress\"]>\n >\n>;\nexport type WalletControllerSendSOLResult = NonNullable<\n Awaited<ReturnType<ReturnType<typeof getWallets>[\"walletControllerSendSOL\"]>>\n>;\nexport type WalletControllerSendSPLResult = NonNullable<\n Awaited<ReturnType<ReturnType<typeof getWallets>[\"walletControllerSendSPL\"]>>\n>;\nexport type WalletControllerMintNFTResult = NonNullable<\n Awaited<ReturnType<ReturnType<typeof getWallets>[\"walletControllerMintNFT\"]>>\n>;\nexport type WalletControllerMintNFTSimpleResult = NonNullable<\n Awaited<\n ReturnType<ReturnType<typeof getWallets>[\"walletControllerMintNFTSimple\"]>\n >\n>;\nexport type WalletControllerMintTokenResult = NonNullable<\n Awaited<\n ReturnType<ReturnType<typeof getWallets>[\"walletControllerMintToken\"]>\n >\n>;\nexport type WalletControllerSendTransactionResult = NonNullable<\n Awaited<\n ReturnType<ReturnType<typeof getWallets>[\"walletControllerSendTransaction\"]>\n >\n>;\nexport type WalletControllerGetWalletAssetsResult = NonNullable<\n Awaited<\n ReturnType<ReturnType<typeof getWallets>[\"walletControllerGetWalletAssets\"]>\n >\n>;\nexport type WalletControllerSyncWalletAssetsResult = NonNullable<\n Awaited<\n ReturnType<\n ReturnType<typeof getWallets>[\"walletControllerSyncWalletAssets\"]\n >\n >\n>;\nexport type WalletControllerDeactivateWalletResult = NonNullable<\n Awaited<\n ReturnType<\n ReturnType<typeof getWallets>[\"walletControllerDeactivateWallet\"]\n >\n >\n>;\nexport type WalletControllerActivateWalletResult = NonNullable<\n Awaited<\n ReturnType<ReturnType<typeof getWallets>[\"walletControllerActivateWallet\"]>\n >\n>;\nexport type WalletControllerBatchCreateWalletsResult = NonNullable<\n Awaited<\n ReturnType<\n ReturnType<typeof getWallets>[\"walletControllerBatchCreateWallets\"]\n >\n >\n>;\nexport type WalletControllerBatchSendSOLResult = NonNullable<\n Awaited<\n ReturnType<ReturnType<typeof getWallets>[\"walletControllerBatchSendSOL\"]>\n >\n>;\nexport type WalletControllerBatchSendSPLResult = NonNullable<\n Awaited<\n ReturnType<ReturnType<typeof getWallets>[\"walletControllerBatchSendSPL\"]>\n >\n>;\nexport type WalletControllerSimulateTransactionResult = NonNullable<\n Awaited<\n ReturnType<\n ReturnType<typeof getWallets>[\"walletControllerSimulateTransaction\"]\n >\n >\n>;\nexport type WalletControllerGetWalletCustodyInfoResult = NonNullable<\n Awaited<\n ReturnType<\n ReturnType<typeof getWallets>[\"walletControllerGetWalletCustodyInfo\"]\n >\n >\n>;\nexport type WalletControllerCreateEmailSignerResult = NonNullable<\n Awaited<\n ReturnType<\n ReturnType<typeof getWallets>[\"walletControllerCreateEmailSigner\"]\n >\n >\n>;\nexport type WalletControllerCreatePhoneSignerResult = NonNullable<\n Awaited<\n ReturnType<\n ReturnType<typeof getWallets>[\"walletControllerCreatePhoneSigner\"]\n >\n >\n>;\nexport type WalletControllerStartPasskeyRegistrationResult = NonNullable<\n Awaited<\n ReturnType<\n ReturnType<typeof getWallets>[\"walletControllerStartPasskeyRegistration\"]\n >\n >\n>;\nexport type WalletControllerVerifyPasskeyRegistrationResult = NonNullable<\n Awaited<\n ReturnType<\n ReturnType<typeof getWallets>[\"walletControllerVerifyPasskeyRegistration\"]\n >\n >\n>;\nexport type WalletControllerStartPasskeyAuthenticationResult = NonNullable<\n Awaited<\n ReturnType<\n ReturnType<\n typeof getWallets\n >[\"walletControllerStartPasskeyAuthentication\"]\n >\n >\n>;\nexport type WalletControllerVerifyPasskeyAuthenticationResult = NonNullable<\n Awaited<\n ReturnType<\n ReturnType<\n typeof getWallets\n >[\"walletControllerVerifyPasskeyAuthentication\"]\n >\n >\n>;\nexport type WalletControllerCreateExternalWalletSignerResult = NonNullable<\n Awaited<\n ReturnType<\n ReturnType<\n typeof getWallets\n >[\"walletControllerCreateExternalWalletSigner\"]\n >\n >\n>;\nexport type WalletControllerCreateApiKeySignerResult = NonNullable<\n Awaited<\n ReturnType<\n ReturnType<typeof getWallets>[\"walletControllerCreateApiKeySigner\"]\n >\n >\n>;\nexport type WalletControllerGetSignerByIdResult = NonNullable<\n Awaited<\n ReturnType<ReturnType<typeof getWallets>[\"walletControllerGetSignerById\"]>\n >\n>;\nexport type WalletControllerUpdateSignerResult = NonNullable<\n Awaited<\n ReturnType<ReturnType<typeof getWallets>[\"walletControllerUpdateSigner\"]>\n >\n>;\nexport type WalletControllerDeleteSignerResult = NonNullable<\n Awaited<\n ReturnType<ReturnType<typeof getWallets>[\"walletControllerDeleteSigner\"]>\n >\n>;\nexport type WalletControllerGetDeviceEncryptedSecretResult = NonNullable<\n Awaited<\n ReturnType<\n ReturnType<typeof getWallets>[\"walletControllerGetDeviceEncryptedSecret\"]\n >\n >\n>;\nexport type WalletControllerUpdateDeviceIdentityResult = NonNullable<\n Awaited<\n ReturnType<\n ReturnType<typeof getWallets>[\"walletControllerUpdateDeviceIdentity\"]\n >\n >\n>;\nexport type WalletControllerAddSignerResult = NonNullable<\n Awaited<\n ReturnType<ReturnType<typeof getWallets>[\"walletControllerAddSigner\"]>\n >\n>;\nexport type WalletControllerListSignersResult = NonNullable<\n Awaited<\n ReturnType<ReturnType<typeof getWallets>[\"walletControllerListSigners\"]>\n >\n>;\nexport type WalletControllerRemoveSignerResult = NonNullable<\n Awaited<\n ReturnType<ReturnType<typeof getWallets>[\"walletControllerRemoveSigner\"]>\n >\n>;\nexport type WalletControllerUpdateSignerPermissionsResult = NonNullable<\n Awaited<\n ReturnType<\n ReturnType<typeof getWallets>[\"walletControllerUpdateSignerPermissions\"]\n >\n >\n>;\nexport type WalletControllerUpdateAdminSignerResult = NonNullable<\n Awaited<\n ReturnType<\n ReturnType<typeof getWallets>[\"walletControllerUpdateAdminSigner\"]\n >\n >\n>;\nexport type WalletControllerPrepareTransactionResult = NonNullable<\n Awaited<\n ReturnType<\n ReturnType<typeof getWallets>[\"walletControllerPrepareTransaction\"]\n >\n >\n>;\nexport type WalletControllerSubmitTransactionResult = NonNullable<\n Awaited<\n ReturnType<\n ReturnType<typeof getWallets>[\"walletControllerSubmitTransaction\"]\n >\n >\n>;\nexport type WalletControllerSignMessageResult = NonNullable<\n Awaited<\n ReturnType<ReturnType<typeof getWallets>[\"walletControllerSignMessage\"]>\n >\n>;\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACMA,mBAAwE;;;ACexE,IAAM,oBAAoB;AAQ1B,SAAS,kBAA6B;AACpC,QAAM,gBAA2B;AAAA,IAC/B,SAAS,QAAQ,IAAI,oBAAoB;AAAA,EAC3C;AAEA,MAAI,OAAO,WAAW,aAAa;AACjC,QAAI,CAAC,OAAO,yBAAyB;AACnC,aAAO,0BAA0B;AAAA,IACnC;AACA,WAAO,OAAO;AAAA,EAChB,WAAW,OAAQ,WAAmB,WAAW,aAAa;AAC5D,UAAM,MAAO,WAAmB;AAChC,QAAI,CAAC,IAAI,iBAAiB,GAAG;AAC3B,UAAI,iBAAiB,IAAI;AAAA,IAC3B;AACA,WAAO,IAAI,iBAAiB;AAAA,EAC9B;AAGA,SAAO;AACT;AAEA,IAAI,gBAA2B,gB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;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,IAAI,WAAW;AAGR,IAAM,SAAS;AACf,IAAM,UAAU;AAChB,IAAM,kBAAkB;AACxB,IAAM,UAAU;AAChB,IAAM,SAAS;AACf,IAAM,SAAS;AACf,IAAM,gBAAgB;AACtB,IAAM,UAAU;AAChB,IAAM,UAAU;AAChB,IAAM,UAAU;AAChB,IAAM,gBAAgB;AACtB,IAAM,YAAY;AAClB,IAAM,kBAAkB;AACxB,IAAM,YAAY;AAClB,IAAM,aAAa;AACnB,IAAM,aAAa;AACnB,IAAM,WAAW;AACjB,IAAM,cAAc;AACpB,IAAM,eAAe;AACrB,IAAM,eAAe;AACrB,IAAM,sBAAsB;AAG5B,IAAM,iBAAiB;AACvB,IAAM,oBAAoB;AAC1B,IAAM,oBAAoB;AAC1B,IAAM,2BAA2B;AACjC,IAAM,4BAA4B;AAClC,IAAM,6BAA6B;AACnC,IAAM,8BAA8B;AACpC,IAAM,6BAA6B;AACnC,IAAM,qBAAqB;AAC3B,IAAM,gBAAgB;AACtB,IAAM,eAAe;AACrB,IAAM,eAAe;AACrB,IAAM,2BAA2B;AACjC,IAAM,uBAAuB;AAC7B,IAAM,YAAY;AAClB,IAAM,cAAc;AACpB,IAAM,eAAe;AACrB,IAAM,0BAA0B;AAChC,IAAM,oBAAoB;",
6
6
  "names": ["axios", "walletControllerCreate", "walletControllerFindAll", "walletControllerGetTotalBalance", "walletControllerFindOne", "walletControllerUpdate", "walletControllerRemove", "walletControllerFindByAddress", "walletControllerSendSOL", "walletControllerSendSPL", "walletControllerMintNFT", "walletControllerMintNFTSimple", "walletControllerMintToken", "walletControllerSendTransaction", "walletControllerGetWalletAssets", "walletControllerSyncWalletAssets", "walletControllerDeactivateWallet", "walletControllerActivateWallet", "walletControllerBatchCreateWallets", "walletControllerBatchSendSOL", "walletControllerBatchSendSPL", "walletControllerSimulateTransaction", "walletControllerGetWalletCustodyInfo", "walletControllerCreateEmailSigner", "walletControllerCreatePhoneSigner", "walletControllerStartPasskeyRegistration", "walletControllerVerifyPasskeyRegistration", "walletControllerStartPasskeyAuthentication", "walletControllerVerifyPasskeyAuthentication", "walletControllerCreateExternalWalletSigner", "walletControllerCreateApiKeySigner", "walletControllerGetSignerById", "walletControllerUpdateSigner", "walletControllerDeleteSigner", "walletControllerGetDeviceEncryptedSecret", "walletControllerUpdateDeviceIdentity", "walletControllerAddSigner", "walletControllerListSigners", "walletControllerRemoveSigner", "walletControllerUpdateSignerPermissions", "walletControllerUpdateAdminSigner"]
7
7
  }
package/dist/wallet.d.ts CHANGED
@@ -27,7 +27,7 @@ export declare const createEmailSigner: (id: string, createEmailSignerDto: impor
27
27
  export declare const createPhoneSigner: (id: string, createPhoneSignerDto: import("./models").CreatePhoneSignerDto, options?: import("axios").AxiosRequestConfig<any> | undefined) => Promise<void>;
28
28
  export declare const startPasskeyRegistration: (id: string, options?: import("axios").AxiosRequestConfig<any> | undefined) => Promise<void>;
29
29
  export declare const verifyPasskeyRegistration: (id: string, passkeyRegistrationDto: import("./models").PasskeyRegistrationDto, options?: import("axios").AxiosRequestConfig<any> | undefined) => Promise<void>;
30
- export declare const startPasskeyAuthentication: (id: string, options?: import("axios").AxiosRequestConfig<any> | undefined) => Promise<void>;
30
+ export declare const startPasskeyAuthentication: (id: string, startPasskeyAuthenticationDto: import("./models").StartPasskeyAuthenticationDto, options?: import("axios").AxiosRequestConfig<any> | undefined) => Promise<void>;
31
31
  export declare const verifyPasskeyAuthentication: (id: string, passkeyAuthenticationDto: import("./models").PasskeyAuthenticationDto, options?: import("axios").AxiosRequestConfig<any> | undefined) => Promise<void>;
32
32
  export declare const createExternalWalletSigner: (id: string, createExternalWalletSignerDto: import("./models").CreateExternalWalletSignerDto, options?: import("axios").AxiosRequestConfig<any> | undefined) => Promise<void>;
33
33
  export declare const createApiKeySigner: (id: string, createApiKeySignerDto: import("./models").CreateApiKeySignerDto, options?: import("axios").AxiosRequestConfig<any> | undefined) => Promise<void>;
@@ -42,5 +42,5 @@ export declare const removeSigner: (id: string, pubkey: string, options?: import
42
42
  export declare const updateSignerPermissions: (id: string, pubkey: string, updateSignerPermissionsDto: import("./models").UpdateSignerPermissionsDto, options?: import("axios").AxiosRequestConfig<any> | undefined) => Promise<void>;
43
43
  export declare const updateAdminSigner: (id: string, updateAdminSignerDto: import("./models").UpdateAdminSignerDto, options?: import("axios").AxiosRequestConfig<any> | undefined) => Promise<void>;
44
44
  export type { WalletControllerCreateResult, WalletControllerFindAllResult, WalletControllerGetTotalBalanceResult, WalletControllerFindOneResult, WalletControllerUpdateResult, WalletControllerRemoveResult, WalletControllerFindByAddressResult, WalletControllerSendSOLResult, WalletControllerSendSPLResult, WalletControllerMintNFTResult, WalletControllerMintNFTSimpleResult, WalletControllerMintTokenResult, WalletControllerSendTransactionResult, WalletControllerGetWalletAssetsResult, WalletControllerSyncWalletAssetsResult, WalletControllerDeactivateWalletResult, WalletControllerActivateWalletResult, WalletControllerBatchCreateWalletsResult, WalletControllerBatchSendSOLResult, WalletControllerBatchSendSPLResult, WalletControllerSimulateTransactionResult, WalletControllerGetWalletCustodyInfoResult, WalletControllerCreateEmailSignerResult, WalletControllerCreatePhoneSignerResult, WalletControllerStartPasskeyRegistrationResult, WalletControllerVerifyPasskeyRegistrationResult, WalletControllerStartPasskeyAuthenticationResult, WalletControllerVerifyPasskeyAuthenticationResult, WalletControllerCreateExternalWalletSignerResult, WalletControllerCreateApiKeySignerResult, WalletControllerGetSignerByIdResult, WalletControllerUpdateSignerResult, WalletControllerDeleteSignerResult, WalletControllerGetDeviceEncryptedSecretResult, WalletControllerUpdateDeviceIdentityResult, WalletControllerAddSignerResult, WalletControllerListSignersResult, WalletControllerRemoveSignerResult, WalletControllerUpdateSignerPermissionsResult, WalletControllerUpdateAdminSignerResult, } from './api/wallets/wallets';
45
- export type { CreateWalletDto, UpdateWalletDto, SendSolDto, SendSplDto, MintNftDto, MintNftSimpleDto, MintTokenDto, SendTransactionDto, WalletControllerGetWalletAssetsParams, WalletAssetResponseDto, BatchCreateWalletDto, BatchSendSolDto, BatchSendSplDto, SimulateTransactionDto, AddSignerDto, CreateEmailSignerDto, CreatePhoneSignerDto, CreateExternalWalletSignerDto, CreateApiKeySignerDto, UpdateSignerDto, UpdateSignerPermissionsDto, UpdateAdminSignerDto, WalletControllerGetDeviceEncryptedSecretParams, UpdateDeviceIdentityDto, } from './models';
45
+ export type { CreateWalletDto, UpdateWalletDto, SendSolDto, SendSplDto, MintNftDto, MintNftSimpleDto, MintTokenDto, SendTransactionDto, WalletControllerGetWalletAssetsParams, WalletAssetResponseDto, BatchCreateWalletDto, BatchSendSolDto, BatchSendSplDto, SimulateTransactionDto, AddSignerDto, CreateEmailSignerDto, CreatePhoneSignerDto, CreateExternalWalletSignerDto, CreateApiKeySignerDto, UpdateSignerDto, UpdateSignerPermissionsDto, UpdateAdminSignerDto, WalletControllerGetDeviceEncryptedSecretParams, UpdateDeviceIdentityDto, PasskeyAuthenticationDto, PasskeyAuthenticationDtoCredential, PasskeyRegistrationDto, PasskeyRegistrationDtoCredential, StartPasskeyAuthenticationDto, } from './models';
46
46
  //# sourceMappingURL=wallet.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"wallet.d.ts","sourceRoot":"","sources":["../src/wallet.ts"],"names":[],"mappings":"AAAA;;GAEG;AAgDH,eAAO,MAAM,MAAM,uIAAyB,CAAC;AAC7C,eAAO,MAAM,OAAO,6IAA0B,CAAC;AAC/C,eAAO,MAAM,eAA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AsB,EACtB,oBAAoB,EACpB,eAAe,EACf,eAAe,EACf,sBAAsB,EACtB,YAAY,EACZ,oBAAoB,EACpB,oBAAoB,EACpB,6BAA6B,EAC7B,qBAAqB,EACrB,eAAe,EACf,0BAA0B,EAC1B,oBAAoB,EACpB,8CAA8C,EAC9C,uBAAuB,EACvB,wBAAwB,EACxB,kCAAkC,EAClC,sBAAsB,EACtB,gCAAgC,EAChC,6BAA6B,GAC9B,MAAM,UAAU,CAAC"}
package/dist/wallet.mjs CHANGED
@@ -291,9 +291,14 @@ var getWallets = () => {
291
291
  options
292
292
  );
293
293
  };
294
- const walletControllerStartPasskeyAuthentication2 = (id, options) => {
294
+ const walletControllerStartPasskeyAuthentication2 = (id, startPasskeyAuthenticationDto, options) => {
295
295
  return customInstance(
296
- { url: `/wallets/${id}/signers/passkey/authenticate`, method: "POST" },
296
+ {
297
+ url: `/wallets/${id}/signers/passkey/authenticate`,
298
+ method: "POST",
299
+ headers: { "Content-Type": "application/json" },
300
+ data: startPasskeyAuthenticationDto
301
+ },
297
302
  options
298
303
  );
299
304
  };