@dynamic-labs/sdk-api-core 0.0.961 → 0.0.964

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.
Files changed (54) hide show
  1. package/package.json +1 -1
  2. package/src/apis/SDKApi.cjs +613 -0
  3. package/src/apis/SDKApi.d.ts +258 -1
  4. package/src/apis/SDKApi.js +614 -1
  5. package/src/apis/WaasApi.cjs +4 -0
  6. package/src/apis/WaasApi.js +4 -0
  7. package/src/index.cjs +80 -0
  8. package/src/index.js +14 -1
  9. package/src/models/EmbeddedWalletChainEnum.cjs +1 -0
  10. package/src/models/EmbeddedWalletChainEnum.d.ts +2 -1
  11. package/src/models/EmbeddedWalletChainEnum.js +1 -0
  12. package/src/models/ExportAleoViewKeyRequest.cjs +43 -0
  13. package/src/models/ExportAleoViewKeyRequest.d.ts +27 -0
  14. package/src/models/ExportAleoViewKeyRequest.js +37 -0
  15. package/src/models/InlineObject1.cjs +46 -0
  16. package/src/models/InlineObject1.d.ts +47 -0
  17. package/src/models/InlineObject1.js +40 -0
  18. package/src/models/InlineObject2.cjs +56 -0
  19. package/src/models/InlineObject2.d.ts +47 -0
  20. package/src/models/InlineObject2.js +50 -0
  21. package/src/models/InlineObject3.cjs +54 -0
  22. package/src/models/InlineObject3.d.ts +43 -0
  23. package/src/models/InlineObject3.js +48 -0
  24. package/src/models/InlineObject4.cjs +54 -0
  25. package/src/models/InlineObject4.d.ts +41 -0
  26. package/src/models/InlineObject4.js +48 -0
  27. package/src/models/InlineResponse2001.cjs +34 -0
  28. package/src/models/InlineResponse2001.d.ts +28 -0
  29. package/src/models/InlineResponse2001.js +28 -0
  30. package/src/models/InlineResponse2001AllowedPrograms.cjs +35 -0
  31. package/src/models/InlineResponse2001AllowedPrograms.d.ts +33 -0
  32. package/src/models/InlineResponse2001AllowedPrograms.js +29 -0
  33. package/src/models/InlineResponse2002.cjs +43 -0
  34. package/src/models/InlineResponse2002.d.ts +27 -0
  35. package/src/models/InlineResponse2002.js +37 -0
  36. package/src/models/InlineResponse2003.cjs +43 -0
  37. package/src/models/InlineResponse2003.d.ts +27 -0
  38. package/src/models/InlineResponse2003.js +37 -0
  39. package/src/models/InlineResponse2004.cjs +45 -0
  40. package/src/models/InlineResponse2004.d.ts +33 -0
  41. package/src/models/InlineResponse2004.js +39 -0
  42. package/src/models/InlineResponse2005.cjs +43 -0
  43. package/src/models/InlineResponse2005.d.ts +27 -0
  44. package/src/models/InlineResponse2005.js +37 -0
  45. package/src/models/InlineResponse2006.cjs +43 -0
  46. package/src/models/InlineResponse2006.d.ts +29 -0
  47. package/src/models/InlineResponse2006.js +37 -0
  48. package/src/models/SignAleoRequestWithWaasRequest.cjs +43 -0
  49. package/src/models/SignAleoRequestWithWaasRequest.d.ts +29 -0
  50. package/src/models/SignAleoRequestWithWaasRequest.js +37 -0
  51. package/src/models/WaasChainEnum.cjs +1 -0
  52. package/src/models/WaasChainEnum.d.ts +2 -1
  53. package/src/models/WaasChainEnum.js +1 -0
  54. package/src/models/index.d.ts +13 -0
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import * as runtime from '../runtime';
13
- import { Account, AttachSourceRequest, BackupKeySharesToLocationRequest, BackupKeySharesToLocationResponse, BackupKeySharesToLocationsRequest, BackupKeySharesToLocationsResponse, BackupMultipleClientKeySharesResponse, ChainEnum, CheckoutTransaction, CheckoutTransactionCreateRequest, CheckoutTransactionCreateResponse, CoinbaseOnrampGetBuyUrlRequest, CoinbaseOnrampGetBuyUrlResponse, CoinbaseOnrampOrderCreateRequest, CoinbaseOnrampOrderResponse, CompletePasskeyRecoveryRequest, ConnectRequest, CreateEmbeddedWalletsRequest, CreateExchangeTransferRequest, CreateRoomsRequest, CreateRoomsResponse, CreateRoomsWithoutWalletIdRequest, CreateRoomsWithoutWalletIdResponse, CreateWaasAccountRequest, CreateWalletAccountRequest, CryptoDotComPaymentCreateRequest, CryptoDotComPaymentResponse, Currency, DelegatedShareDeliveryRequest, DelegatedShareDeliveryResponse, DeleteDeviceRegistrationResponse, DeleteEmbeddedWalletsRequest, DeleteUserPasskeyRequest, DeviceRegistrationsResponse, EmailProviderResponse, EmailVerificationCreateRequest, EmailVerificationCreateResponse, EmailVerificationMfaRequest, EmailVerificationRetryRequest, EmailVerificationVerifyRequest, EmbeddedWalletAuthToken, EmbeddedWalletAuthType, EmbeddedWalletChainEnum, EmbeddedWalletPasscodeClaimRequest, EmbeddedWalletSecret, ExchangeKeyEnum, ExchangeTransaction, ExchangeTransferResponse, ExportEmbeddedWalletResponse, ExportWaasWalletPrivateKeyRequest, ExternalAuthAssertionResponse, ExternalAuthSigninRequest, FarcasterSignInRequest, GeneratedTokenResponse, GetPasskeyAuthenticationOptionsResponse, GetPasskeyRegistrationOptionsResponse, GetUserPasskeysResponse, GlobalWalletConnection, GlobalWalletConnectionCreateRequest, GlobalWalletSettings, HealthcheckResponse, ImportWaasPrivateKeyRequest, InitEmailAuthRequest, InitEmailAuthResponse, InitPasskeyRecoveryRequest, InitPasskeyRecoveryResponse, InlineObject, InlineResponse200, JwksResponse, MFAAuthRecoveryDevicePostRequest, MFAAuthTotpDevicePostRequest, MFADevice, MFAGetRecoveryCodesResponse, MFAListDevicesResponse, MFAMethodsResponse, MFARegenRecoveryCodesResponse, MFARegisterPasskeyDeviceGetResponse, MFARegisterPasskeyDevicePostRequest, MFARegisterTotpDeviceGetResponse, MFARegisterTotpDevicePostRequest, MFAUpdateDeviceRequest, MergeUserConflictResolutions, MultichainAccountBalanceResponse, MultichainAccountBalancesRequest, NetworkConfigurationResponse, NonceResponse, NoncesResponse, OauthInitAuthRequest, OauthProviderLoginUrl, OauthRequest, OauthResultRequest, OauthResultResponse, OpenRoomResponse, OpenRoomResponseForReshare, OpenRoomResponseWithServerKeygenIds, PasskeyAuthRequest, PasskeyRegisterRequest, PrefetchRequest, PrepareSigningRequest, ProjectSettings, ProviderEnum, PublishEvents, QuoteRequest, RealtimeAuthTokenResponse, RecordBroadcastRequest, RecoverMultipleClientKeySharesRequest, RecoverMultipleClientKeySharesResponse, RefreshKeySharesRequest, RefreshKeySharesResponse, RegisterEmbeddedWalletSessionKeyResponse, RegisterSessionKeyRequest, ReshareRequest, ScanWebsiteUrlRequest, ScanWebsiteUrlResponse, SdkSettingsRequest, SdkUser, SignMessageWithWaasRequest, SimulateEVMTransactionRequest, SimulateSVMTransactionRequest, SimulateTransactionResponse, SimulateUserOpRequest, SmsVerificationCreateRequest, SmsVerificationCreateResponse, SmsVerificationRetryRequest, SmsVerificationVerifyRequest, SolanaTransactionOptimizationRequest, SolanaTransactionOptimizationResponse, SponsorSVMTransactionRequest, SponsorSVMTransactionResponse, SsoProviderCheckRequest, SsoProviderCheckResponse, StepUpCheckRequest, StepUpCheckResponse, SupportedOfframpsResponse, SupportedOnrampsResponse, SwapQuoteRequest, SwapQuoteResponse, SwapStatusRequest, SwapStatusResponse, TelegramPostRequest, TokenBalance, TransactionFeeEstimateRequest, TransactionFeeEstimateResponse, TransferDestinationResponse, TurnkeyCreateWalletAccountsRequestBody, TurnkeyDeleteEmbeddedWalletsRequestBody, UpdateRecoveryEmailRequest, UpdateSelfResponse, UpdateUserPasskeyRequest, UpdateWaasWalletSettingsRequest, UpdateWaasWalletSettingsResponse, UpgradeEmbeddedWalletToV2Request, UserFields, UserFieldsCheckParams, UserFieldsCheckResponse, UserOauthAccessTokenResponse, UserPasskey, UserWalletSelectionRequest, VerifyRequest, VerifyResponse, VerifyUnlinkRequest, WalletSanctionsResponse, WalletTransactionsResponse } from '../models';
13
+ import { Account, AttachSourceRequest, BackupKeySharesToLocationRequest, BackupKeySharesToLocationResponse, BackupKeySharesToLocationsRequest, BackupKeySharesToLocationsResponse, BackupMultipleClientKeySharesResponse, ChainEnum, CheckoutTransaction, CheckoutTransactionCreateRequest, CheckoutTransactionCreateResponse, CoinbaseOnrampGetBuyUrlRequest, CoinbaseOnrampGetBuyUrlResponse, CoinbaseOnrampOrderCreateRequest, CoinbaseOnrampOrderResponse, CompletePasskeyRecoveryRequest, ConnectRequest, CreateEmbeddedWalletsRequest, CreateExchangeTransferRequest, CreateRoomsRequest, CreateRoomsResponse, CreateRoomsWithoutWalletIdRequest, CreateRoomsWithoutWalletIdResponse, CreateWaasAccountRequest, CreateWalletAccountRequest, CryptoDotComPaymentCreateRequest, CryptoDotComPaymentResponse, Currency, DelegatedShareDeliveryRequest, DelegatedShareDeliveryResponse, DeleteDeviceRegistrationResponse, DeleteEmbeddedWalletsRequest, DeleteUserPasskeyRequest, DeviceRegistrationsResponse, EmailProviderResponse, EmailVerificationCreateRequest, EmailVerificationCreateResponse, EmailVerificationMfaRequest, EmailVerificationRetryRequest, EmailVerificationVerifyRequest, EmbeddedWalletAuthToken, EmbeddedWalletAuthType, EmbeddedWalletChainEnum, EmbeddedWalletPasscodeClaimRequest, EmbeddedWalletSecret, ExchangeKeyEnum, ExchangeTransaction, ExchangeTransferResponse, ExportAleoViewKeyRequest, ExportEmbeddedWalletResponse, ExportWaasWalletPrivateKeyRequest, ExternalAuthAssertionResponse, ExternalAuthSigninRequest, FarcasterSignInRequest, GeneratedTokenResponse, GetPasskeyAuthenticationOptionsResponse, GetPasskeyRegistrationOptionsResponse, GetUserPasskeysResponse, GlobalWalletConnection, GlobalWalletConnectionCreateRequest, GlobalWalletSettings, HealthcheckResponse, ImportWaasPrivateKeyRequest, InitEmailAuthRequest, InitEmailAuthResponse, InitPasskeyRecoveryRequest, InitPasskeyRecoveryResponse, InlineObject, InlineObject1, InlineObject2, InlineObject3, InlineObject4, InlineResponse200, InlineResponse2001, InlineResponse2002, InlineResponse2003, InlineResponse2004, InlineResponse2005, InlineResponse2006, JwksResponse, MFAAuthRecoveryDevicePostRequest, MFAAuthTotpDevicePostRequest, MFADevice, MFAGetRecoveryCodesResponse, MFAListDevicesResponse, MFAMethodsResponse, MFARegenRecoveryCodesResponse, MFARegisterPasskeyDeviceGetResponse, MFARegisterPasskeyDevicePostRequest, MFARegisterTotpDeviceGetResponse, MFARegisterTotpDevicePostRequest, MFAUpdateDeviceRequest, MergeUserConflictResolutions, MultichainAccountBalanceResponse, MultichainAccountBalancesRequest, NetworkConfigurationResponse, NonceResponse, NoncesResponse, OauthInitAuthRequest, OauthProviderLoginUrl, OauthRequest, OauthResultRequest, OauthResultResponse, OpenRoomResponse, OpenRoomResponseForReshare, OpenRoomResponseWithServerKeygenIds, PasskeyAuthRequest, PasskeyRegisterRequest, PrefetchRequest, PrepareSigningRequest, ProjectSettings, ProviderEnum, PublishEvents, QuoteRequest, RealtimeAuthTokenResponse, RecordBroadcastRequest, RecoverMultipleClientKeySharesRequest, RecoverMultipleClientKeySharesResponse, RefreshKeySharesRequest, RefreshKeySharesResponse, RegisterEmbeddedWalletSessionKeyResponse, RegisterSessionKeyRequest, ReshareRequest, ScanWebsiteUrlRequest, ScanWebsiteUrlResponse, SdkSettingsRequest, SdkUser, SignAleoRequestWithWaasRequest, SignMessageWithWaasRequest, SimulateEVMTransactionRequest, SimulateSVMTransactionRequest, SimulateTransactionResponse, SimulateUserOpRequest, SmsVerificationCreateRequest, SmsVerificationCreateResponse, SmsVerificationRetryRequest, SmsVerificationVerifyRequest, SolanaTransactionOptimizationRequest, SolanaTransactionOptimizationResponse, SponsorSVMTransactionRequest, SponsorSVMTransactionResponse, SsoProviderCheckRequest, SsoProviderCheckResponse, StepUpCheckRequest, StepUpCheckResponse, SupportedOfframpsResponse, SupportedOnrampsResponse, SwapQuoteRequest, SwapQuoteResponse, SwapStatusRequest, SwapStatusResponse, TelegramPostRequest, TokenBalance, TransactionFeeEstimateRequest, TransactionFeeEstimateResponse, TransferDestinationResponse, TurnkeyCreateWalletAccountsRequestBody, TurnkeyDeleteEmbeddedWalletsRequestBody, UpdateRecoveryEmailRequest, UpdateSelfResponse, UpdateUserPasskeyRequest, UpdateWaasWalletSettingsRequest, UpdateWaasWalletSettingsResponse, UpgradeEmbeddedWalletToV2Request, UserFields, UserFieldsCheckParams, UserFieldsCheckResponse, UserOauthAccessTokenResponse, UserPasskey, UserWalletSelectionRequest, VerifyRequest, VerifyResponse, VerifyUnlinkRequest, WalletSanctionsResponse, WalletTransactionsResponse } from '../models';
14
14
  export interface AttachSourceOperationRequest {
15
15
  environmentId: string;
16
16
  transactionId: string;
@@ -298,6 +298,15 @@ export interface EstimateTransactionFeeOptionsRequest {
298
298
  export interface EventsOptionsRequest {
299
299
  environmentId: string;
300
300
  }
301
+ export interface ExportAleoViewKeyOperationRequest {
302
+ environmentId: string;
303
+ walletId: string;
304
+ exportAleoViewKeyRequest: ExportAleoViewKeyRequest;
305
+ }
306
+ export interface ExportAleoViewKeyOptionsRequest {
307
+ environmentId: string;
308
+ walletId: string;
309
+ }
301
310
  export interface ExportPrivateKeyRequest {
302
311
  environmentId: string;
303
312
  walletId: string;
@@ -335,6 +344,13 @@ export interface FarcasterVerifyRequest {
335
344
  export interface FarcasterVerifyOptionsRequest {
336
345
  environmentId: string;
337
346
  }
347
+ export interface FindAleoScannerRecordsRequest {
348
+ environmentId: string;
349
+ inlineObject3: InlineObject3;
350
+ }
351
+ export interface FindAleoScannerRecordsOptionsRequest {
352
+ environmentId: string;
353
+ }
338
354
  export interface GenerateCoinbaseOnrampBuyUrlRequest {
339
355
  environmentId: string;
340
356
  coinbaseOnrampGetBuyUrlRequest: CoinbaseOnrampGetBuyUrlRequest;
@@ -357,6 +373,20 @@ export interface GetAccountBalancesOptionsRequest {
357
373
  accountAddress: string;
358
374
  transactionHash?: string;
359
375
  }
376
+ export interface GetAleoFeemasterPolicyRequest {
377
+ environmentId: string;
378
+ network: GetAleoFeemasterPolicyNetworkEnum;
379
+ }
380
+ export interface GetAleoFeemasterPolicyOptionsRequest {
381
+ environmentId: string;
382
+ }
383
+ export interface GetAleoScannerPubkeyRequest {
384
+ environmentId: string;
385
+ network: GetAleoScannerPubkeyNetworkEnum;
386
+ }
387
+ export interface GetAleoScannerPubkeyOptionsRequest {
388
+ environmentId: string;
389
+ }
360
390
  export interface GetAuthTokenRequest {
361
391
  environmentId: string;
362
392
  type?: EmbeddedWalletAuthType;
@@ -609,6 +639,15 @@ export interface InitPasskeyRecoveryOperationRequest {
609
639
  environmentId: string;
610
640
  initPasskeyRecoveryRequest: InitPasskeyRecoveryRequest;
611
641
  }
642
+ export interface IsAleoFeemasterCoveredRequest {
643
+ environmentId: string;
644
+ network: IsAleoFeemasterCoveredNetworkEnum;
645
+ programId: string;
646
+ functionName: string;
647
+ }
648
+ export interface IsAleoFeemasterCoveredOptionsRequest {
649
+ environmentId: string;
650
+ }
612
651
  export interface JwksOptionsRequest {
613
652
  environmentId: string;
614
653
  }
@@ -834,6 +873,13 @@ export interface RefreshKeySharesOptionsRequest {
834
873
  export interface RefreshOptionsRequest {
835
874
  environmentId: string;
836
875
  }
876
+ export interface RegisterAleoScannerRequest {
877
+ environmentId: string;
878
+ inlineObject2: InlineObject2;
879
+ }
880
+ export interface RegisterAleoScannerOptionsRequest {
881
+ environmentId: string;
882
+ }
837
883
  export interface RegisterPasskeyRequest {
838
884
  environmentId: string;
839
885
  passkeyRegisterRequest: PasskeyRegisterRequest;
@@ -862,6 +908,13 @@ export interface RegisterTotpMfaDeviceVerifyRequest {
862
908
  environmentId: string;
863
909
  mFARegisterTotpDevicePostRequest: MFARegisterTotpDevicePostRequest;
864
910
  }
911
+ export interface RequestAleoFeeAuthRequest {
912
+ environmentId: string;
913
+ inlineObject1: InlineObject1;
914
+ }
915
+ export interface RequestAleoFeeAuthOptionsRequest {
916
+ environmentId: string;
917
+ }
865
918
  export interface ReshareOperationRequest {
866
919
  environmentId: string;
867
920
  walletId: string;
@@ -893,6 +946,13 @@ export interface RetrySmsVerificationRequest {
893
946
  export interface RetrySmsVerificationOptionsRequest {
894
947
  environmentId: string;
895
948
  }
949
+ export interface RevokeAleoScannerRequest {
950
+ environmentId: string;
951
+ inlineObject4: InlineObject4;
952
+ }
953
+ export interface RevokeAleoScannerOptionsRequest {
954
+ environmentId: string;
955
+ }
896
956
  export interface RevokeSessionRequest {
897
957
  environmentId: string;
898
958
  }
@@ -928,6 +988,15 @@ export interface SessionKeyOptionsRequest {
928
988
  export interface SettingsOptionsRequest {
929
989
  environmentId: string;
930
990
  }
991
+ export interface SignAleoRequestRequest {
992
+ environmentId: string;
993
+ walletId: string;
994
+ signAleoRequestWithWaasRequest: SignAleoRequestWithWaasRequest;
995
+ }
996
+ export interface SignAleoRequestOptionsRequest {
997
+ environmentId: string;
998
+ walletId: string;
999
+ }
931
1000
  export interface SignInWithEmailVerificationRequest {
932
1001
  environmentId: string;
933
1002
  emailVerificationVerifyRequest: EmailVerificationVerifyRequest;
@@ -1816,6 +1885,24 @@ export declare class SDKApi extends runtime.BaseAPI {
1816
1885
  /**
1817
1886
  */
1818
1887
  eventsOptions(requestParameters: EventsOptionsRequest, initOverrides?: RequestInit): Promise<void>;
1888
+ /**
1889
+ * Runs the Aleo view-key export ceremony. The view key is delivered to the initiating client (iframe) via Sodot\'s relay.
1890
+ * Export an Aleo wallet view key
1891
+ */
1892
+ exportAleoViewKeyRaw(requestParameters: ExportAleoViewKeyOperationRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<string>>;
1893
+ /**
1894
+ * Runs the Aleo view-key export ceremony. The view key is delivered to the initiating client (iframe) via Sodot\'s relay.
1895
+ * Export an Aleo wallet view key
1896
+ */
1897
+ exportAleoViewKey(requestParameters: ExportAleoViewKeyOperationRequest, initOverrides?: RequestInit): Promise<string>;
1898
+ /**
1899
+ * Options call for this endpoint
1900
+ */
1901
+ exportAleoViewKeyOptionsRaw(requestParameters: ExportAleoViewKeyOptionsRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<void>>;
1902
+ /**
1903
+ * Options call for this endpoint
1904
+ */
1905
+ exportAleoViewKeyOptions(requestParameters: ExportAleoViewKeyOptionsRequest, initOverrides?: RequestInit): Promise<void>;
1819
1906
  /**
1820
1907
  * Exports the private key of a WAAS wallet through an MPC ceremony.
1821
1908
  * Export a WAAS wallet private key
@@ -1906,6 +1993,24 @@ export declare class SDKApi extends runtime.BaseAPI {
1906
1993
  * Options call for this endpoint
1907
1994
  */
1908
1995
  farcasterVerifyOptions(requestParameters: FarcasterVerifyOptionsRequest, initOverrides?: RequestInit): Promise<void>;
1996
+ /**
1997
+ * Forwards the SDK\'s `OwnedFilter` shape to Provable\'s `/records/owned`. Records returned are still in the on-wire format; the iframe decrypts locally with its view key.
1998
+ * Find owned records via the Provable scanner
1999
+ */
2000
+ findAleoScannerRecordsRaw(requestParameters: FindAleoScannerRecordsRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<InlineResponse2006>>;
2001
+ /**
2002
+ * Forwards the SDK\'s `OwnedFilter` shape to Provable\'s `/records/owned`. Records returned are still in the on-wire format; the iframe decrypts locally with its view key.
2003
+ * Find owned records via the Provable scanner
2004
+ */
2005
+ findAleoScannerRecords(requestParameters: FindAleoScannerRecordsRequest, initOverrides?: RequestInit): Promise<InlineResponse2006>;
2006
+ /**
2007
+ * Options call for this endpoint
2008
+ */
2009
+ findAleoScannerRecordsOptionsRaw(requestParameters: FindAleoScannerRecordsOptionsRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<void>>;
2010
+ /**
2011
+ * Options call for this endpoint
2012
+ */
2013
+ findAleoScannerRecordsOptions(requestParameters: FindAleoScannerRecordsOptionsRequest, initOverrides?: RequestInit): Promise<void>;
1909
2014
  /**
1910
2015
  * Generates a Coinbase onramp buy URL for purchasing crypto.
1911
2016
  * Generate a Coinbase onramp buy URL
@@ -1934,6 +2039,42 @@ export declare class SDKApi extends runtime.BaseAPI {
1934
2039
  * Options call for this endpoint
1935
2040
  */
1936
2041
  getAccountBalancesOptions(requestParameters: GetAccountBalancesOptionsRequest, initOverrides?: RequestInit): Promise<void>;
2042
+ /**
2043
+ * Returns the ANF-issued Feemaster policy for the given Aleo network. The policy lists which (programId, functionName) pairs the configured Bearer key sponsors. Forwarded server-side; the iframe never sees the Bearer key directly.
2044
+ * Get the ANF Feemaster sponsorship policy for Aleo
2045
+ */
2046
+ getAleoFeemasterPolicyRaw(requestParameters: GetAleoFeemasterPolicyRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<InlineResponse2001>>;
2047
+ /**
2048
+ * Returns the ANF-issued Feemaster policy for the given Aleo network. The policy lists which (programId, functionName) pairs the configured Bearer key sponsors. Forwarded server-side; the iframe never sees the Bearer key directly.
2049
+ * Get the ANF Feemaster sponsorship policy for Aleo
2050
+ */
2051
+ getAleoFeemasterPolicy(requestParameters: GetAleoFeemasterPolicyRequest, initOverrides?: RequestInit): Promise<InlineResponse2001>;
2052
+ /**
2053
+ * Options call for this endpoint
2054
+ */
2055
+ getAleoFeemasterPolicyOptionsRaw(requestParameters: GetAleoFeemasterPolicyOptionsRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<void>>;
2056
+ /**
2057
+ * Options call for this endpoint
2058
+ */
2059
+ getAleoFeemasterPolicyOptions(requestParameters: GetAleoFeemasterPolicyOptionsRequest, initOverrides?: RequestInit): Promise<void>;
2060
+ /**
2061
+ * Fetches a fresh `{ public_key, key_id }` from Provable\'s RecordScanner `/pubkey` endpoint. The iframe uses this to encrypt its view key before calling `/scanner/register`.
2062
+ * Get the Provable scanner ephemeral public key
2063
+ */
2064
+ getAleoScannerPubkeyRaw(requestParameters: GetAleoScannerPubkeyRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<InlineResponse2004>>;
2065
+ /**
2066
+ * Fetches a fresh `{ public_key, key_id }` from Provable\'s RecordScanner `/pubkey` endpoint. The iframe uses this to encrypt its view key before calling `/scanner/register`.
2067
+ * Get the Provable scanner ephemeral public key
2068
+ */
2069
+ getAleoScannerPubkey(requestParameters: GetAleoScannerPubkeyRequest, initOverrides?: RequestInit): Promise<InlineResponse2004>;
2070
+ /**
2071
+ * Options call for this endpoint
2072
+ */
2073
+ getAleoScannerPubkeyOptionsRaw(requestParameters: GetAleoScannerPubkeyOptionsRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<void>>;
2074
+ /**
2075
+ * Options call for this endpoint
2076
+ */
2077
+ getAleoScannerPubkeyOptions(requestParameters: GetAleoScannerPubkeyOptionsRequest, initOverrides?: RequestInit): Promise<void>;
1937
2078
  /**
1938
2079
  * Returns an auth token for the specified embedded wallet type.
1939
2080
  * Get an auth token for an embedded wallet type
@@ -2530,6 +2671,24 @@ export declare class SDKApi extends runtime.BaseAPI {
2530
2671
  * Initialize the passkey recovery process for a user\'s passkey embedded wallet
2531
2672
  */
2532
2673
  initPasskeyRecovery(requestParameters: InitPasskeyRecoveryOperationRequest, initOverrides?: RequestInit): Promise<InitPasskeyRecoveryResponse>;
2674
+ /**
2675
+ * Convenience endpoint that walks the cached Feemaster policy server-side and returns whether the given pair is covered by sponsorship.
2676
+ * Check whether a (programId, functionName) pair is sponsored
2677
+ */
2678
+ isAleoFeemasterCoveredRaw(requestParameters: IsAleoFeemasterCoveredRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<InlineResponse2002>>;
2679
+ /**
2680
+ * Convenience endpoint that walks the cached Feemaster policy server-side and returns whether the given pair is covered by sponsorship.
2681
+ * Check whether a (programId, functionName) pair is sponsored
2682
+ */
2683
+ isAleoFeemasterCovered(requestParameters: IsAleoFeemasterCoveredRequest, initOverrides?: RequestInit): Promise<InlineResponse2002>;
2684
+ /**
2685
+ * Options call for this endpoint
2686
+ */
2687
+ isAleoFeemasterCoveredOptionsRaw(requestParameters: IsAleoFeemasterCoveredOptionsRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<void>>;
2688
+ /**
2689
+ * Options call for this endpoint
2690
+ */
2691
+ isAleoFeemasterCoveredOptions(requestParameters: IsAleoFeemasterCoveredOptionsRequest, initOverrides?: RequestInit): Promise<void>;
2533
2692
  /**
2534
2693
  * Options call for this endpoint
2535
2694
  */
@@ -3018,6 +3177,24 @@ export declare class SDKApi extends runtime.BaseAPI {
3018
3177
  * Options call for this endpoint
3019
3178
  */
3020
3179
  refreshOptions(requestParameters: RefreshOptionsRequest, initOverrides?: RequestInit): Promise<void>;
3180
+ /**
3181
+ * Forwards the iframe\'s `{ key_id, ciphertext }` blob to Provable\'s `/register/encrypted`. The ciphertext is a `crypto_box_seal` of the view key against the ephemeral pubkey from `/scanner/pubkey`; the view key plaintext never leaves the iframe.
3182
+ * Register an encrypted view key with the Provable scanner
3183
+ */
3184
+ registerAleoScannerRaw(requestParameters: RegisterAleoScannerRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<InlineResponse2005>>;
3185
+ /**
3186
+ * Forwards the iframe\'s `{ key_id, ciphertext }` blob to Provable\'s `/register/encrypted`. The ciphertext is a `crypto_box_seal` of the view key against the ephemeral pubkey from `/scanner/pubkey`; the view key plaintext never leaves the iframe.
3187
+ * Register an encrypted view key with the Provable scanner
3188
+ */
3189
+ registerAleoScanner(requestParameters: RegisterAleoScannerRequest, initOverrides?: RequestInit): Promise<InlineResponse2005>;
3190
+ /**
3191
+ * Options call for this endpoint
3192
+ */
3193
+ registerAleoScannerOptionsRaw(requestParameters: RegisterAleoScannerOptionsRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<void>>;
3194
+ /**
3195
+ * Options call for this endpoint
3196
+ */
3197
+ registerAleoScannerOptions(requestParameters: RegisterAleoScannerOptionsRequest, initOverrides?: RequestInit): Promise<void>;
3021
3198
  /**
3022
3199
  * Registers a new passkey for the authenticated user using WebAuthn credentials.
3023
3200
  * Register a new passkey
@@ -3094,6 +3271,24 @@ export declare class SDKApi extends runtime.BaseAPI {
3094
3271
  * Verify TOTP MFA device
3095
3272
  */
3096
3273
  registerTotpMfaDeviceVerify(requestParameters: RegisterTotpMfaDeviceVerifyRequest, initOverrides?: RequestInit): Promise<MFADevice>;
3274
+ /**
3275
+ * Forwards a user-signed Aleo Authorization to ANF\'s Feemaster. Returns the corresponding fee_authorization for the iframe to bundle into a ProvingRequest. Charges the project\'s Feemaster quota.
3276
+ * Request a Feemaster fee authorization for an Aleo Authorization
3277
+ */
3278
+ requestAleoFeeAuthRaw(requestParameters: RequestAleoFeeAuthRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<InlineResponse2003>>;
3279
+ /**
3280
+ * Forwards a user-signed Aleo Authorization to ANF\'s Feemaster. Returns the corresponding fee_authorization for the iframe to bundle into a ProvingRequest. Charges the project\'s Feemaster quota.
3281
+ * Request a Feemaster fee authorization for an Aleo Authorization
3282
+ */
3283
+ requestAleoFeeAuth(requestParameters: RequestAleoFeeAuthRequest, initOverrides?: RequestInit): Promise<InlineResponse2003>;
3284
+ /**
3285
+ * Options call for this endpoint
3286
+ */
3287
+ requestAleoFeeAuthOptionsRaw(requestParameters: RequestAleoFeeAuthOptionsRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<void>>;
3288
+ /**
3289
+ * Options call for this endpoint
3290
+ */
3291
+ requestAleoFeeAuthOptions(requestParameters: RequestAleoFeeAuthOptionsRequest, initOverrides?: RequestInit): Promise<void>;
3097
3292
  /**
3098
3293
  * Reshares the MPC secret shares for the specified WAAS wallet.
3099
3294
  * Reshare WAAS secret shares
@@ -3166,6 +3361,26 @@ export declare class SDKApi extends runtime.BaseAPI {
3166
3361
  * Options call for this endpoint
3167
3362
  */
3168
3363
  retrySmsVerificationOptions(requestParameters: RetrySmsVerificationOptionsRequest, initOverrides?: RequestInit): Promise<void>;
3364
+ /**
3365
+ * Revoke a scanner UUID registration
3366
+ */
3367
+ revokeAleoScannerRaw(requestParameters: RevokeAleoScannerRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<{
3368
+ [key: string]: object;
3369
+ }>>;
3370
+ /**
3371
+ * Revoke a scanner UUID registration
3372
+ */
3373
+ revokeAleoScanner(requestParameters: RevokeAleoScannerRequest, initOverrides?: RequestInit): Promise<{
3374
+ [key: string]: object;
3375
+ }>;
3376
+ /**
3377
+ * Options call for this endpoint
3378
+ */
3379
+ revokeAleoScannerOptionsRaw(requestParameters: RevokeAleoScannerOptionsRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<void>>;
3380
+ /**
3381
+ * Options call for this endpoint
3382
+ */
3383
+ revokeAleoScannerOptions(requestParameters: RevokeAleoScannerOptionsRequest, initOverrides?: RequestInit): Promise<void>;
3169
3384
  /**
3170
3385
  * Revokes the current user session and invalidates the JWT.
3171
3386
  * Revoke a session
@@ -3260,6 +3475,24 @@ export declare class SDKApi extends runtime.BaseAPI {
3260
3475
  * Options call for this endpoint
3261
3476
  */
3262
3477
  settingsOptions(requestParameters: SettingsOptionsRequest, initOverrides?: RequestInit): Promise<void>;
3478
+ /**
3479
+ * Signs an Aleo EdBls12377 sign request payload using the specified WAAS wallet through an MPC ceremony.
3480
+ * Sign an Aleo function-call request with a WAAS wallet
3481
+ */
3482
+ signAleoRequestRaw(requestParameters: SignAleoRequestRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<string>>;
3483
+ /**
3484
+ * Signs an Aleo EdBls12377 sign request payload using the specified WAAS wallet through an MPC ceremony.
3485
+ * Sign an Aleo function-call request with a WAAS wallet
3486
+ */
3487
+ signAleoRequest(requestParameters: SignAleoRequestRequest, initOverrides?: RequestInit): Promise<string>;
3488
+ /**
3489
+ * Options call for this endpoint
3490
+ */
3491
+ signAleoRequestOptionsRaw(requestParameters: SignAleoRequestOptionsRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<void>>;
3492
+ /**
3493
+ * Options call for this endpoint
3494
+ */
3495
+ signAleoRequestOptions(requestParameters: SignAleoRequestOptionsRequest, initOverrides?: RequestInit): Promise<void>;
3263
3496
  /**
3264
3497
  * Verifies the email code and authenticates the user, returning a JWT.
3265
3498
  * Verify email and sign in
@@ -3827,3 +4060,27 @@ export declare class SDKApi extends runtime.BaseAPI {
3827
4060
  */
3828
4061
  walletsVerifyOptions(requestParameters: WalletsVerifyOptionsRequest, initOverrides?: RequestInit): Promise<void>;
3829
4062
  }
4063
+ /**
4064
+ * @export
4065
+ * @enum {string}
4066
+ */
4067
+ export declare enum GetAleoFeemasterPolicyNetworkEnum {
4068
+ Testnet = "testnet",
4069
+ Mainnet = "mainnet"
4070
+ }
4071
+ /**
4072
+ * @export
4073
+ * @enum {string}
4074
+ */
4075
+ export declare enum GetAleoScannerPubkeyNetworkEnum {
4076
+ Testnet = "testnet",
4077
+ Mainnet = "mainnet"
4078
+ }
4079
+ /**
4080
+ * @export
4081
+ * @enum {string}
4082
+ */
4083
+ export declare enum IsAleoFeemasterCoveredNetworkEnum {
4084
+ Testnet = "testnet",
4085
+ Mainnet = "mainnet"
4086
+ }