@dynamic-labs/sdk-api-core 0.0.960 → 0.0.963
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/apis/SDKApi.cjs +477 -0
- package/src/apis/SDKApi.d.ts +204 -1
- package/src/apis/SDKApi.js +478 -1
- package/src/apis/WaasApi.cjs +4 -0
- package/src/apis/WaasApi.js +4 -0
- package/src/index.cjs +72 -0
- package/src/index.js +12 -1
- package/src/models/EmbeddedWalletChainEnum.cjs +1 -0
- package/src/models/EmbeddedWalletChainEnum.d.ts +2 -1
- package/src/models/EmbeddedWalletChainEnum.js +1 -0
- package/src/models/InlineObject1.cjs +46 -0
- package/src/models/InlineObject1.d.ts +47 -0
- package/src/models/InlineObject1.js +40 -0
- package/src/models/InlineObject2.cjs +56 -0
- package/src/models/InlineObject2.d.ts +47 -0
- package/src/models/InlineObject2.js +50 -0
- package/src/models/InlineObject3.cjs +54 -0
- package/src/models/InlineObject3.d.ts +43 -0
- package/src/models/InlineObject3.js +48 -0
- package/src/models/InlineObject4.cjs +54 -0
- package/src/models/InlineObject4.d.ts +41 -0
- package/src/models/InlineObject4.js +48 -0
- package/src/models/InlineResponse2001.cjs +34 -0
- package/src/models/InlineResponse2001.d.ts +28 -0
- package/src/models/InlineResponse2001.js +28 -0
- package/src/models/InlineResponse2001AllowedPrograms.cjs +35 -0
- package/src/models/InlineResponse2001AllowedPrograms.d.ts +33 -0
- package/src/models/InlineResponse2001AllowedPrograms.js +29 -0
- package/src/models/InlineResponse2002.cjs +43 -0
- package/src/models/InlineResponse2002.d.ts +27 -0
- package/src/models/InlineResponse2002.js +37 -0
- package/src/models/InlineResponse2003.cjs +43 -0
- package/src/models/InlineResponse2003.d.ts +27 -0
- package/src/models/InlineResponse2003.js +37 -0
- package/src/models/InlineResponse2004.cjs +45 -0
- package/src/models/InlineResponse2004.d.ts +33 -0
- package/src/models/InlineResponse2004.js +39 -0
- package/src/models/InlineResponse2005.cjs +43 -0
- package/src/models/InlineResponse2005.d.ts +27 -0
- package/src/models/InlineResponse2005.js +37 -0
- package/src/models/InlineResponse2006.cjs +43 -0
- package/src/models/InlineResponse2006.d.ts +29 -0
- package/src/models/InlineResponse2006.js +37 -0
- package/src/models/WaasChainEnum.cjs +1 -0
- package/src/models/WaasChainEnum.d.ts +2 -1
- package/src/models/WaasChainEnum.js +1 -0
- package/src/models/index.d.ts +11 -0
package/src/apis/SDKApi.d.ts
CHANGED
|
@@ -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, 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, 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;
|
|
@@ -335,6 +335,13 @@ export interface FarcasterVerifyRequest {
|
|
|
335
335
|
export interface FarcasterVerifyOptionsRequest {
|
|
336
336
|
environmentId: string;
|
|
337
337
|
}
|
|
338
|
+
export interface FindAleoScannerRecordsRequest {
|
|
339
|
+
environmentId: string;
|
|
340
|
+
inlineObject3: InlineObject3;
|
|
341
|
+
}
|
|
342
|
+
export interface FindAleoScannerRecordsOptionsRequest {
|
|
343
|
+
environmentId: string;
|
|
344
|
+
}
|
|
338
345
|
export interface GenerateCoinbaseOnrampBuyUrlRequest {
|
|
339
346
|
environmentId: string;
|
|
340
347
|
coinbaseOnrampGetBuyUrlRequest: CoinbaseOnrampGetBuyUrlRequest;
|
|
@@ -357,6 +364,20 @@ export interface GetAccountBalancesOptionsRequest {
|
|
|
357
364
|
accountAddress: string;
|
|
358
365
|
transactionHash?: string;
|
|
359
366
|
}
|
|
367
|
+
export interface GetAleoFeemasterPolicyRequest {
|
|
368
|
+
environmentId: string;
|
|
369
|
+
network: GetAleoFeemasterPolicyNetworkEnum;
|
|
370
|
+
}
|
|
371
|
+
export interface GetAleoFeemasterPolicyOptionsRequest {
|
|
372
|
+
environmentId: string;
|
|
373
|
+
}
|
|
374
|
+
export interface GetAleoScannerPubkeyRequest {
|
|
375
|
+
environmentId: string;
|
|
376
|
+
network: GetAleoScannerPubkeyNetworkEnum;
|
|
377
|
+
}
|
|
378
|
+
export interface GetAleoScannerPubkeyOptionsRequest {
|
|
379
|
+
environmentId: string;
|
|
380
|
+
}
|
|
360
381
|
export interface GetAuthTokenRequest {
|
|
361
382
|
environmentId: string;
|
|
362
383
|
type?: EmbeddedWalletAuthType;
|
|
@@ -609,6 +630,15 @@ export interface InitPasskeyRecoveryOperationRequest {
|
|
|
609
630
|
environmentId: string;
|
|
610
631
|
initPasskeyRecoveryRequest: InitPasskeyRecoveryRequest;
|
|
611
632
|
}
|
|
633
|
+
export interface IsAleoFeemasterCoveredRequest {
|
|
634
|
+
environmentId: string;
|
|
635
|
+
network: IsAleoFeemasterCoveredNetworkEnum;
|
|
636
|
+
programId: string;
|
|
637
|
+
functionName: string;
|
|
638
|
+
}
|
|
639
|
+
export interface IsAleoFeemasterCoveredOptionsRequest {
|
|
640
|
+
environmentId: string;
|
|
641
|
+
}
|
|
612
642
|
export interface JwksOptionsRequest {
|
|
613
643
|
environmentId: string;
|
|
614
644
|
}
|
|
@@ -834,6 +864,13 @@ export interface RefreshKeySharesOptionsRequest {
|
|
|
834
864
|
export interface RefreshOptionsRequest {
|
|
835
865
|
environmentId: string;
|
|
836
866
|
}
|
|
867
|
+
export interface RegisterAleoScannerRequest {
|
|
868
|
+
environmentId: string;
|
|
869
|
+
inlineObject2: InlineObject2;
|
|
870
|
+
}
|
|
871
|
+
export interface RegisterAleoScannerOptionsRequest {
|
|
872
|
+
environmentId: string;
|
|
873
|
+
}
|
|
837
874
|
export interface RegisterPasskeyRequest {
|
|
838
875
|
environmentId: string;
|
|
839
876
|
passkeyRegisterRequest: PasskeyRegisterRequest;
|
|
@@ -862,6 +899,13 @@ export interface RegisterTotpMfaDeviceVerifyRequest {
|
|
|
862
899
|
environmentId: string;
|
|
863
900
|
mFARegisterTotpDevicePostRequest: MFARegisterTotpDevicePostRequest;
|
|
864
901
|
}
|
|
902
|
+
export interface RequestAleoFeeAuthRequest {
|
|
903
|
+
environmentId: string;
|
|
904
|
+
inlineObject1: InlineObject1;
|
|
905
|
+
}
|
|
906
|
+
export interface RequestAleoFeeAuthOptionsRequest {
|
|
907
|
+
environmentId: string;
|
|
908
|
+
}
|
|
865
909
|
export interface ReshareOperationRequest {
|
|
866
910
|
environmentId: string;
|
|
867
911
|
walletId: string;
|
|
@@ -893,6 +937,13 @@ export interface RetrySmsVerificationRequest {
|
|
|
893
937
|
export interface RetrySmsVerificationOptionsRequest {
|
|
894
938
|
environmentId: string;
|
|
895
939
|
}
|
|
940
|
+
export interface RevokeAleoScannerRequest {
|
|
941
|
+
environmentId: string;
|
|
942
|
+
inlineObject4: InlineObject4;
|
|
943
|
+
}
|
|
944
|
+
export interface RevokeAleoScannerOptionsRequest {
|
|
945
|
+
environmentId: string;
|
|
946
|
+
}
|
|
896
947
|
export interface RevokeSessionRequest {
|
|
897
948
|
environmentId: string;
|
|
898
949
|
}
|
|
@@ -1906,6 +1957,24 @@ export declare class SDKApi extends runtime.BaseAPI {
|
|
|
1906
1957
|
* Options call for this endpoint
|
|
1907
1958
|
*/
|
|
1908
1959
|
farcasterVerifyOptions(requestParameters: FarcasterVerifyOptionsRequest, initOverrides?: RequestInit): Promise<void>;
|
|
1960
|
+
/**
|
|
1961
|
+
* 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.
|
|
1962
|
+
* Find owned records via the Provable scanner
|
|
1963
|
+
*/
|
|
1964
|
+
findAleoScannerRecordsRaw(requestParameters: FindAleoScannerRecordsRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<InlineResponse2006>>;
|
|
1965
|
+
/**
|
|
1966
|
+
* 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.
|
|
1967
|
+
* Find owned records via the Provable scanner
|
|
1968
|
+
*/
|
|
1969
|
+
findAleoScannerRecords(requestParameters: FindAleoScannerRecordsRequest, initOverrides?: RequestInit): Promise<InlineResponse2006>;
|
|
1970
|
+
/**
|
|
1971
|
+
* Options call for this endpoint
|
|
1972
|
+
*/
|
|
1973
|
+
findAleoScannerRecordsOptionsRaw(requestParameters: FindAleoScannerRecordsOptionsRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<void>>;
|
|
1974
|
+
/**
|
|
1975
|
+
* Options call for this endpoint
|
|
1976
|
+
*/
|
|
1977
|
+
findAleoScannerRecordsOptions(requestParameters: FindAleoScannerRecordsOptionsRequest, initOverrides?: RequestInit): Promise<void>;
|
|
1909
1978
|
/**
|
|
1910
1979
|
* Generates a Coinbase onramp buy URL for purchasing crypto.
|
|
1911
1980
|
* Generate a Coinbase onramp buy URL
|
|
@@ -1934,6 +2003,42 @@ export declare class SDKApi extends runtime.BaseAPI {
|
|
|
1934
2003
|
* Options call for this endpoint
|
|
1935
2004
|
*/
|
|
1936
2005
|
getAccountBalancesOptions(requestParameters: GetAccountBalancesOptionsRequest, initOverrides?: RequestInit): Promise<void>;
|
|
2006
|
+
/**
|
|
2007
|
+
* 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.
|
|
2008
|
+
* Get the ANF Feemaster sponsorship policy for Aleo
|
|
2009
|
+
*/
|
|
2010
|
+
getAleoFeemasterPolicyRaw(requestParameters: GetAleoFeemasterPolicyRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<InlineResponse2001>>;
|
|
2011
|
+
/**
|
|
2012
|
+
* 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.
|
|
2013
|
+
* Get the ANF Feemaster sponsorship policy for Aleo
|
|
2014
|
+
*/
|
|
2015
|
+
getAleoFeemasterPolicy(requestParameters: GetAleoFeemasterPolicyRequest, initOverrides?: RequestInit): Promise<InlineResponse2001>;
|
|
2016
|
+
/**
|
|
2017
|
+
* Options call for this endpoint
|
|
2018
|
+
*/
|
|
2019
|
+
getAleoFeemasterPolicyOptionsRaw(requestParameters: GetAleoFeemasterPolicyOptionsRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<void>>;
|
|
2020
|
+
/**
|
|
2021
|
+
* Options call for this endpoint
|
|
2022
|
+
*/
|
|
2023
|
+
getAleoFeemasterPolicyOptions(requestParameters: GetAleoFeemasterPolicyOptionsRequest, initOverrides?: RequestInit): Promise<void>;
|
|
2024
|
+
/**
|
|
2025
|
+
* 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`.
|
|
2026
|
+
* Get the Provable scanner ephemeral public key
|
|
2027
|
+
*/
|
|
2028
|
+
getAleoScannerPubkeyRaw(requestParameters: GetAleoScannerPubkeyRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<InlineResponse2004>>;
|
|
2029
|
+
/**
|
|
2030
|
+
* 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`.
|
|
2031
|
+
* Get the Provable scanner ephemeral public key
|
|
2032
|
+
*/
|
|
2033
|
+
getAleoScannerPubkey(requestParameters: GetAleoScannerPubkeyRequest, initOverrides?: RequestInit): Promise<InlineResponse2004>;
|
|
2034
|
+
/**
|
|
2035
|
+
* Options call for this endpoint
|
|
2036
|
+
*/
|
|
2037
|
+
getAleoScannerPubkeyOptionsRaw(requestParameters: GetAleoScannerPubkeyOptionsRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<void>>;
|
|
2038
|
+
/**
|
|
2039
|
+
* Options call for this endpoint
|
|
2040
|
+
*/
|
|
2041
|
+
getAleoScannerPubkeyOptions(requestParameters: GetAleoScannerPubkeyOptionsRequest, initOverrides?: RequestInit): Promise<void>;
|
|
1937
2042
|
/**
|
|
1938
2043
|
* Returns an auth token for the specified embedded wallet type.
|
|
1939
2044
|
* Get an auth token for an embedded wallet type
|
|
@@ -2530,6 +2635,24 @@ export declare class SDKApi extends runtime.BaseAPI {
|
|
|
2530
2635
|
* Initialize the passkey recovery process for a user\'s passkey embedded wallet
|
|
2531
2636
|
*/
|
|
2532
2637
|
initPasskeyRecovery(requestParameters: InitPasskeyRecoveryOperationRequest, initOverrides?: RequestInit): Promise<InitPasskeyRecoveryResponse>;
|
|
2638
|
+
/**
|
|
2639
|
+
* Convenience endpoint that walks the cached Feemaster policy server-side and returns whether the given pair is covered by sponsorship.
|
|
2640
|
+
* Check whether a (programId, functionName) pair is sponsored
|
|
2641
|
+
*/
|
|
2642
|
+
isAleoFeemasterCoveredRaw(requestParameters: IsAleoFeemasterCoveredRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<InlineResponse2002>>;
|
|
2643
|
+
/**
|
|
2644
|
+
* Convenience endpoint that walks the cached Feemaster policy server-side and returns whether the given pair is covered by sponsorship.
|
|
2645
|
+
* Check whether a (programId, functionName) pair is sponsored
|
|
2646
|
+
*/
|
|
2647
|
+
isAleoFeemasterCovered(requestParameters: IsAleoFeemasterCoveredRequest, initOverrides?: RequestInit): Promise<InlineResponse2002>;
|
|
2648
|
+
/**
|
|
2649
|
+
* Options call for this endpoint
|
|
2650
|
+
*/
|
|
2651
|
+
isAleoFeemasterCoveredOptionsRaw(requestParameters: IsAleoFeemasterCoveredOptionsRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<void>>;
|
|
2652
|
+
/**
|
|
2653
|
+
* Options call for this endpoint
|
|
2654
|
+
*/
|
|
2655
|
+
isAleoFeemasterCoveredOptions(requestParameters: IsAleoFeemasterCoveredOptionsRequest, initOverrides?: RequestInit): Promise<void>;
|
|
2533
2656
|
/**
|
|
2534
2657
|
* Options call for this endpoint
|
|
2535
2658
|
*/
|
|
@@ -3018,6 +3141,24 @@ export declare class SDKApi extends runtime.BaseAPI {
|
|
|
3018
3141
|
* Options call for this endpoint
|
|
3019
3142
|
*/
|
|
3020
3143
|
refreshOptions(requestParameters: RefreshOptionsRequest, initOverrides?: RequestInit): Promise<void>;
|
|
3144
|
+
/**
|
|
3145
|
+
* 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.
|
|
3146
|
+
* Register an encrypted view key with the Provable scanner
|
|
3147
|
+
*/
|
|
3148
|
+
registerAleoScannerRaw(requestParameters: RegisterAleoScannerRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<InlineResponse2005>>;
|
|
3149
|
+
/**
|
|
3150
|
+
* 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.
|
|
3151
|
+
* Register an encrypted view key with the Provable scanner
|
|
3152
|
+
*/
|
|
3153
|
+
registerAleoScanner(requestParameters: RegisterAleoScannerRequest, initOverrides?: RequestInit): Promise<InlineResponse2005>;
|
|
3154
|
+
/**
|
|
3155
|
+
* Options call for this endpoint
|
|
3156
|
+
*/
|
|
3157
|
+
registerAleoScannerOptionsRaw(requestParameters: RegisterAleoScannerOptionsRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<void>>;
|
|
3158
|
+
/**
|
|
3159
|
+
* Options call for this endpoint
|
|
3160
|
+
*/
|
|
3161
|
+
registerAleoScannerOptions(requestParameters: RegisterAleoScannerOptionsRequest, initOverrides?: RequestInit): Promise<void>;
|
|
3021
3162
|
/**
|
|
3022
3163
|
* Registers a new passkey for the authenticated user using WebAuthn credentials.
|
|
3023
3164
|
* Register a new passkey
|
|
@@ -3094,6 +3235,24 @@ export declare class SDKApi extends runtime.BaseAPI {
|
|
|
3094
3235
|
* Verify TOTP MFA device
|
|
3095
3236
|
*/
|
|
3096
3237
|
registerTotpMfaDeviceVerify(requestParameters: RegisterTotpMfaDeviceVerifyRequest, initOverrides?: RequestInit): Promise<MFADevice>;
|
|
3238
|
+
/**
|
|
3239
|
+
* 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.
|
|
3240
|
+
* Request a Feemaster fee authorization for an Aleo Authorization
|
|
3241
|
+
*/
|
|
3242
|
+
requestAleoFeeAuthRaw(requestParameters: RequestAleoFeeAuthRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<InlineResponse2003>>;
|
|
3243
|
+
/**
|
|
3244
|
+
* 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.
|
|
3245
|
+
* Request a Feemaster fee authorization for an Aleo Authorization
|
|
3246
|
+
*/
|
|
3247
|
+
requestAleoFeeAuth(requestParameters: RequestAleoFeeAuthRequest, initOverrides?: RequestInit): Promise<InlineResponse2003>;
|
|
3248
|
+
/**
|
|
3249
|
+
* Options call for this endpoint
|
|
3250
|
+
*/
|
|
3251
|
+
requestAleoFeeAuthOptionsRaw(requestParameters: RequestAleoFeeAuthOptionsRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<void>>;
|
|
3252
|
+
/**
|
|
3253
|
+
* Options call for this endpoint
|
|
3254
|
+
*/
|
|
3255
|
+
requestAleoFeeAuthOptions(requestParameters: RequestAleoFeeAuthOptionsRequest, initOverrides?: RequestInit): Promise<void>;
|
|
3097
3256
|
/**
|
|
3098
3257
|
* Reshares the MPC secret shares for the specified WAAS wallet.
|
|
3099
3258
|
* Reshare WAAS secret shares
|
|
@@ -3166,6 +3325,26 @@ export declare class SDKApi extends runtime.BaseAPI {
|
|
|
3166
3325
|
* Options call for this endpoint
|
|
3167
3326
|
*/
|
|
3168
3327
|
retrySmsVerificationOptions(requestParameters: RetrySmsVerificationOptionsRequest, initOverrides?: RequestInit): Promise<void>;
|
|
3328
|
+
/**
|
|
3329
|
+
* Revoke a scanner UUID registration
|
|
3330
|
+
*/
|
|
3331
|
+
revokeAleoScannerRaw(requestParameters: RevokeAleoScannerRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<{
|
|
3332
|
+
[key: string]: object;
|
|
3333
|
+
}>>;
|
|
3334
|
+
/**
|
|
3335
|
+
* Revoke a scanner UUID registration
|
|
3336
|
+
*/
|
|
3337
|
+
revokeAleoScanner(requestParameters: RevokeAleoScannerRequest, initOverrides?: RequestInit): Promise<{
|
|
3338
|
+
[key: string]: object;
|
|
3339
|
+
}>;
|
|
3340
|
+
/**
|
|
3341
|
+
* Options call for this endpoint
|
|
3342
|
+
*/
|
|
3343
|
+
revokeAleoScannerOptionsRaw(requestParameters: RevokeAleoScannerOptionsRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<void>>;
|
|
3344
|
+
/**
|
|
3345
|
+
* Options call for this endpoint
|
|
3346
|
+
*/
|
|
3347
|
+
revokeAleoScannerOptions(requestParameters: RevokeAleoScannerOptionsRequest, initOverrides?: RequestInit): Promise<void>;
|
|
3169
3348
|
/**
|
|
3170
3349
|
* Revokes the current user session and invalidates the JWT.
|
|
3171
3350
|
* Revoke a session
|
|
@@ -3827,3 +4006,27 @@ export declare class SDKApi extends runtime.BaseAPI {
|
|
|
3827
4006
|
*/
|
|
3828
4007
|
walletsVerifyOptions(requestParameters: WalletsVerifyOptionsRequest, initOverrides?: RequestInit): Promise<void>;
|
|
3829
4008
|
}
|
|
4009
|
+
/**
|
|
4010
|
+
* @export
|
|
4011
|
+
* @enum {string}
|
|
4012
|
+
*/
|
|
4013
|
+
export declare enum GetAleoFeemasterPolicyNetworkEnum {
|
|
4014
|
+
Testnet = "testnet",
|
|
4015
|
+
Mainnet = "mainnet"
|
|
4016
|
+
}
|
|
4017
|
+
/**
|
|
4018
|
+
* @export
|
|
4019
|
+
* @enum {string}
|
|
4020
|
+
*/
|
|
4021
|
+
export declare enum GetAleoScannerPubkeyNetworkEnum {
|
|
4022
|
+
Testnet = "testnet",
|
|
4023
|
+
Mainnet = "mainnet"
|
|
4024
|
+
}
|
|
4025
|
+
/**
|
|
4026
|
+
* @export
|
|
4027
|
+
* @enum {string}
|
|
4028
|
+
*/
|
|
4029
|
+
export declare enum IsAleoFeemasterCoveredNetworkEnum {
|
|
4030
|
+
Testnet = "testnet",
|
|
4031
|
+
Mainnet = "mainnet"
|
|
4032
|
+
}
|