@coinbase/cdp-api-client 0.0.97 → 0.0.98
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/index.js +251 -237
- package/dist/esm/index14.js +1 -1
- package/dist/esm/index19.js +1 -1
- package/dist/esm/index20.js +1 -1
- package/dist/esm/index21.js +2 -2
- package/dist/esm/index22.js +2 -2
- package/dist/esm/index23.js +2 -2
- package/dist/esm/index4.js +1 -1
- package/dist/esm/index5.js +1086 -381
- package/dist/esm/index6.js +400 -1020
- package/dist/types/index.d.ts +518 -26
- package/package.json +1 -1
package/dist/types/index.d.ts
CHANGED
|
@@ -65,6 +65,11 @@ export declare type AccountId = string;
|
|
|
65
65
|
|
|
66
66
|
export declare type AccountName = string;
|
|
67
67
|
|
|
68
|
+
export declare interface AccountNetworkCapabilities {
|
|
69
|
+
accountId: AccountId;
|
|
70
|
+
depositDestinations: DepositDestinationCapabilities;
|
|
71
|
+
}
|
|
72
|
+
|
|
68
73
|
export declare interface AccountTokenAddressesResponse {
|
|
69
74
|
accountAddress?: string;
|
|
70
75
|
tokenAddresses?: string[];
|
|
@@ -237,6 +242,25 @@ export declare interface AuthManager {
|
|
|
237
242
|
}) => Promise<string>;
|
|
238
243
|
}
|
|
239
244
|
|
|
245
|
+
export declare interface Authorization {
|
|
246
|
+
authorizationId?: AuthorizationId;
|
|
247
|
+
paymentSessionId?: PaymentSessionId;
|
|
248
|
+
status?: PaymentActionStatus;
|
|
249
|
+
amount?: string;
|
|
250
|
+
error?: PaymentError;
|
|
251
|
+
metadata?: Metadata;
|
|
252
|
+
onchainTransactions?: AuthorizationOnchainTransactionsItem[];
|
|
253
|
+
createdAt?: string;
|
|
254
|
+
updatedAt?: string;
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
export declare type AuthorizationId = string;
|
|
258
|
+
|
|
259
|
+
export declare type AuthorizationOnchainTransactionsItem = {
|
|
260
|
+
transactionHash: string;
|
|
261
|
+
network: PaymentSourceNetwork;
|
|
262
|
+
};
|
|
263
|
+
|
|
240
264
|
export declare type BadGatewayErrorResponse = Error_2;
|
|
241
265
|
|
|
242
266
|
export declare interface Balance {
|
|
@@ -261,6 +285,10 @@ export declare interface BalancesAsset {
|
|
|
261
285
|
|
|
262
286
|
export declare type BlockchainAddress = string;
|
|
263
287
|
|
|
288
|
+
export declare interface CancelPaymentSessionRequest {
|
|
289
|
+
cancellationReason?: string;
|
|
290
|
+
}
|
|
291
|
+
|
|
264
292
|
export declare interface CapabilitiesMap {
|
|
265
293
|
custodyCrypto?: Capability;
|
|
266
294
|
custodyFiat?: Capability;
|
|
@@ -347,6 +375,26 @@ export declare const CapabilityStatus: {
|
|
|
347
375
|
readonly inactive: "inactive";
|
|
348
376
|
};
|
|
349
377
|
|
|
378
|
+
export declare interface Capture {
|
|
379
|
+
captureId?: CaptureId;
|
|
380
|
+
paymentSessionId?: PaymentSessionId;
|
|
381
|
+
status?: PaymentActionStatus;
|
|
382
|
+
amount?: string;
|
|
383
|
+
transferId?: string;
|
|
384
|
+
error?: PaymentError;
|
|
385
|
+
metadata?: Metadata;
|
|
386
|
+
onchainTransactions?: CaptureOnchainTransactionsItem[];
|
|
387
|
+
createdAt?: string;
|
|
388
|
+
updatedAt?: string;
|
|
389
|
+
}
|
|
390
|
+
|
|
391
|
+
export declare type CaptureId = string;
|
|
392
|
+
|
|
393
|
+
export declare type CaptureOnchainTransactionsItem = {
|
|
394
|
+
transactionHash: string;
|
|
395
|
+
network: PaymentSourceNetwork;
|
|
396
|
+
};
|
|
397
|
+
|
|
350
398
|
declare const cdpApiClient: <T>(config: AxiosRequestConfig, idempotencyKey?: string) => Promise<T>;
|
|
351
399
|
|
|
352
400
|
export declare type CdpOptions = {
|
|
@@ -399,11 +447,23 @@ export declare type CommonSwapResponseIssuesBalance = {
|
|
|
399
447
|
|
|
400
448
|
export declare const configureCdpApiClient: (options: CdpOptions) => void;
|
|
401
449
|
|
|
450
|
+
export declare type ConfirmPaymentSessionRequest = OnchainSelectedOption;
|
|
451
|
+
|
|
402
452
|
export declare interface CreateAccountRequest {
|
|
403
453
|
owner?: string;
|
|
404
454
|
name?: AccountName;
|
|
405
455
|
}
|
|
406
456
|
|
|
457
|
+
export declare interface CreateAuthorizationRequest {
|
|
458
|
+
amount?: string;
|
|
459
|
+
metadata?: Metadata;
|
|
460
|
+
}
|
|
461
|
+
|
|
462
|
+
export declare interface CreateCaptureRequest {
|
|
463
|
+
amount?: string;
|
|
464
|
+
metadata?: Metadata;
|
|
465
|
+
}
|
|
466
|
+
|
|
407
467
|
export declare interface CreateCustomAuthConfigRequest {
|
|
408
468
|
enabled: boolean;
|
|
409
469
|
jwksUrl: Url;
|
|
@@ -501,6 +561,44 @@ export declare type CreateEndUserEvmSmartAccountBody = {
|
|
|
501
561
|
|
|
502
562
|
export declare type CreateEndUserEvmSmartAccountResult = NonNullable<Awaited<ReturnType<typeof createEndUserEvmSmartAccount>>>;
|
|
503
563
|
|
|
564
|
+
export declare const createEndUserEvmSwap: (projectId: string, userId: string, createEndUserEvmSwapBody: CreateEndUserEvmSwapBody, options?: SecondParameter<typeof cdpApiClient>) => Promise<CreateEndUserEvmSwap200>;
|
|
565
|
+
|
|
566
|
+
export declare type CreateEndUserEvmSwap200 = {
|
|
567
|
+
transactionHash: string | null;
|
|
568
|
+
userOpHash: string | null;
|
|
569
|
+
network: EvmSwapsNetwork;
|
|
570
|
+
fromToken: string;
|
|
571
|
+
fromAmount: string;
|
|
572
|
+
toToken: string;
|
|
573
|
+
toAmount: string;
|
|
574
|
+
minToAmount: string;
|
|
575
|
+
totalNetworkFee?: string | null;
|
|
576
|
+
fees?: CreateEndUserEvmSwap200Fees;
|
|
577
|
+
};
|
|
578
|
+
|
|
579
|
+
export declare type CreateEndUserEvmSwap200Fees = {
|
|
580
|
+
gasFee?: CreateEndUserEvmSwap200FeesGasFee;
|
|
581
|
+
protocolFee?: CreateEndUserEvmSwap200FeesProtocolFee;
|
|
582
|
+
} | null;
|
|
583
|
+
|
|
584
|
+
export declare type CreateEndUserEvmSwap200FeesGasFee = TokenFee | null;
|
|
585
|
+
|
|
586
|
+
export declare type CreateEndUserEvmSwap200FeesProtocolFee = TokenFee | null;
|
|
587
|
+
|
|
588
|
+
export declare type CreateEndUserEvmSwapBody = {
|
|
589
|
+
walletSecretId: string;
|
|
590
|
+
taker: string;
|
|
591
|
+
network: EvmSwapsNetwork;
|
|
592
|
+
fromToken: string;
|
|
593
|
+
toToken: string;
|
|
594
|
+
fromAmount: string;
|
|
595
|
+
slippageBps?: number;
|
|
596
|
+
useCdpPaymaster?: boolean;
|
|
597
|
+
paymasterUrl?: Url;
|
|
598
|
+
};
|
|
599
|
+
|
|
600
|
+
export declare type CreateEndUserEvmSwapResult = NonNullable<Awaited<ReturnType<typeof createEndUserEvmSwap>>>;
|
|
601
|
+
|
|
504
602
|
export declare const createEndUserSolanaAccount: (projectId: string, userId: string, createEndUserSolanaAccountBody: CreateEndUserSolanaAccountBody, options?: SecondParameter<typeof cdpApiClient>) => Promise<EndUser>;
|
|
505
603
|
|
|
506
604
|
export declare type CreateEndUserSolanaAccountBody = {
|
|
@@ -519,16 +617,33 @@ export declare type CreateEvmEip7702DelegationWithEndUserAccountBody = {
|
|
|
519
617
|
address: string;
|
|
520
618
|
network: EvmEip7702DelegationNetwork;
|
|
521
619
|
enableSpendPermissions?: boolean;
|
|
522
|
-
walletSecretId
|
|
620
|
+
walletSecretId?: string;
|
|
523
621
|
};
|
|
524
622
|
|
|
525
623
|
export declare type CreateEvmEip7702DelegationWithEndUserAccountResult = NonNullable<Awaited<ReturnType<typeof createEvmEip7702DelegationWithEndUserAccount>>>;
|
|
526
624
|
|
|
625
|
+
export declare interface CreatePaymentSessionRequest {
|
|
626
|
+
amount: string;
|
|
627
|
+
asset: Asset;
|
|
628
|
+
target: PaymentSessionTarget;
|
|
629
|
+
expiries?: PaymentExpiries;
|
|
630
|
+
redirect?: PaymentRedirect;
|
|
631
|
+
execute?: PaymentExecutionBehavior;
|
|
632
|
+
metadata?: Metadata;
|
|
633
|
+
}
|
|
634
|
+
|
|
527
635
|
export declare interface CreateProjectConfigRequest {
|
|
528
636
|
name?: string;
|
|
529
637
|
delegatedSigningEnabled?: boolean;
|
|
530
638
|
}
|
|
531
639
|
|
|
640
|
+
export declare interface CreateRefundRequest {
|
|
641
|
+
source: RefundSource;
|
|
642
|
+
amount?: string;
|
|
643
|
+
reason?: string;
|
|
644
|
+
metadata?: Metadata;
|
|
645
|
+
}
|
|
646
|
+
|
|
532
647
|
export declare type CreateReportDestinationRequest = CreateReportDestinationRequestAllOf & CreateReportDestinationRequestAllOfThreeOneOf;
|
|
533
648
|
|
|
534
649
|
export declare type CreateReportDestinationRequestAllOf = {
|
|
@@ -602,6 +717,10 @@ export declare type CreateSwapQuoteResponseWrapper = CreateSwapQuoteResponse | S
|
|
|
602
717
|
|
|
603
718
|
export declare type CreateTransferSource = TransfersAccount | PaymentMethod;
|
|
604
719
|
|
|
720
|
+
export declare interface CreateVoidRequest {
|
|
721
|
+
metadata?: Metadata;
|
|
722
|
+
}
|
|
723
|
+
|
|
605
724
|
export declare interface CryptoDepositDestination {
|
|
606
725
|
depositDestinationId: DepositDestinationId;
|
|
607
726
|
accountId: AccountId;
|
|
@@ -699,6 +818,12 @@ export declare const DeliveryStatus: {
|
|
|
699
818
|
|
|
700
819
|
export declare type DepositDestination = CryptoDepositDestination;
|
|
701
820
|
|
|
821
|
+
export declare type DepositDestinationCapabilities = NetworkCapabilities & DepositDestinationCapabilitiesAllOf;
|
|
822
|
+
|
|
823
|
+
export declare type DepositDestinationCapabilitiesAllOf = {
|
|
824
|
+
liquidationSupported: boolean;
|
|
825
|
+
};
|
|
826
|
+
|
|
702
827
|
export declare type DepositDestinationId = string;
|
|
703
828
|
|
|
704
829
|
export declare interface DepositDestinationReference {
|
|
@@ -726,7 +851,7 @@ export declare interface DepositTravelRuleOriginator {
|
|
|
726
851
|
name?: string;
|
|
727
852
|
address?: PhysicalAddress;
|
|
728
853
|
walletType?: DepositTravelRuleOriginatorWalletType;
|
|
729
|
-
|
|
854
|
+
virtualAssetServiceProvider?: DepositTravelRuleVasp;
|
|
730
855
|
personalId?: string;
|
|
731
856
|
dateOfBirth?: DateOfBirth;
|
|
732
857
|
}
|
|
@@ -742,7 +867,6 @@ export declare interface DepositTravelRuleRequest {
|
|
|
742
867
|
originator?: DepositTravelRuleOriginator;
|
|
743
868
|
beneficiary?: DepositTravelRuleBeneficiary;
|
|
744
869
|
isSelf?: boolean;
|
|
745
|
-
optOutOfOwnershipVerification?: boolean;
|
|
746
870
|
}
|
|
747
871
|
|
|
748
872
|
export declare interface DepositTravelRuleResponse {
|
|
@@ -776,6 +900,18 @@ export declare const DeveloperJWTAuthenticationType: {
|
|
|
776
900
|
readonly jwt: "jwt";
|
|
777
901
|
};
|
|
778
902
|
|
|
903
|
+
export declare interface EIP3009Payload {
|
|
904
|
+
payloadId: string;
|
|
905
|
+
type: EIP3009PayloadType;
|
|
906
|
+
data: EIP712Message;
|
|
907
|
+
}
|
|
908
|
+
|
|
909
|
+
export declare type EIP3009PayloadType = (typeof EIP3009PayloadType)[keyof typeof EIP3009PayloadType];
|
|
910
|
+
|
|
911
|
+
export declare const EIP3009PayloadType: {
|
|
912
|
+
readonly eip3009: "eip3009";
|
|
913
|
+
};
|
|
914
|
+
|
|
779
915
|
export declare interface EIP712Domain {
|
|
780
916
|
name?: string;
|
|
781
917
|
version?: string;
|
|
@@ -934,16 +1070,43 @@ export declare interface Entity {
|
|
|
934
1070
|
type?: string;
|
|
935
1071
|
productionEntityId?: EntityId;
|
|
936
1072
|
capabilities: CapabilitiesMap;
|
|
1073
|
+
featureFlags: EntityFeatureFlags;
|
|
937
1074
|
createdAt: string;
|
|
938
1075
|
otherInfo?: EntityOtherInfo;
|
|
939
1076
|
}
|
|
940
1077
|
|
|
1078
|
+
export declare type EntityFeatureFlags = {
|
|
1079
|
+
[key: string]: boolean;
|
|
1080
|
+
};
|
|
1081
|
+
|
|
941
1082
|
export declare type EntityId = string;
|
|
942
1083
|
|
|
943
1084
|
export declare type EntityOtherInfo = {
|
|
944
1085
|
[key: string]: unknown;
|
|
945
1086
|
};
|
|
946
1087
|
|
|
1088
|
+
export declare interface Erc20ApprovalPayload {
|
|
1089
|
+
payloadId: string;
|
|
1090
|
+
type: Erc20ApprovalPayloadType;
|
|
1091
|
+
data: Erc20ApprovalPayloadData;
|
|
1092
|
+
}
|
|
1093
|
+
|
|
1094
|
+
export declare type Erc20ApprovalPayloadData = {
|
|
1095
|
+
chainId: number;
|
|
1096
|
+
to: string;
|
|
1097
|
+
data: string;
|
|
1098
|
+
value: string;
|
|
1099
|
+
gas?: string;
|
|
1100
|
+
maxFeePerGas?: string;
|
|
1101
|
+
maxPriorityFeePerGas?: string;
|
|
1102
|
+
};
|
|
1103
|
+
|
|
1104
|
+
export declare type Erc20ApprovalPayloadType = (typeof Erc20ApprovalPayloadType)[keyof typeof Erc20ApprovalPayloadType];
|
|
1105
|
+
|
|
1106
|
+
export declare const Erc20ApprovalPayloadType: {
|
|
1107
|
+
readonly erc20_approval: "erc20_approval";
|
|
1108
|
+
};
|
|
1109
|
+
|
|
947
1110
|
declare interface Error_2 {
|
|
948
1111
|
errorType: ErrorType;
|
|
949
1112
|
errorMessage: string;
|
|
@@ -1013,6 +1176,9 @@ export declare const ErrorType: {
|
|
|
1013
1176
|
readonly order_already_filled: "order_already_filled";
|
|
1014
1177
|
readonly order_already_canceled: "order_already_canceled";
|
|
1015
1178
|
readonly account_not_ready: "account_not_ready";
|
|
1179
|
+
readonly insufficient_liquidity: "insufficient_liquidity";
|
|
1180
|
+
readonly insufficient_allowance: "insufficient_allowance";
|
|
1181
|
+
readonly transaction_simulation_failed: "transaction_simulation_failed";
|
|
1016
1182
|
};
|
|
1017
1183
|
|
|
1018
1184
|
export declare interface EthValueCriterion {
|
|
@@ -1395,6 +1561,57 @@ export declare const getAuthenticatedEndUser: (projectId: string, userId: string
|
|
|
1395
1561
|
|
|
1396
1562
|
export declare type GetAuthenticatedEndUserResult = NonNullable<Awaited<ReturnType<typeof getAuthenticatedEndUser>>>;
|
|
1397
1563
|
|
|
1564
|
+
export declare const getEndUserEvmSwapPrice: (projectId: string, userId: string, params: GetEndUserEvmSwapPriceParams, options?: SecondParameter<typeof cdpApiClient>) => Promise<GetEndUserEvmSwapPrice200>;
|
|
1565
|
+
|
|
1566
|
+
export declare type GetEndUserEvmSwapPrice200 = {
|
|
1567
|
+
liquidityAvailable: boolean;
|
|
1568
|
+
network?: EvmSwapsNetwork;
|
|
1569
|
+
fromToken?: string;
|
|
1570
|
+
fromAmount?: string;
|
|
1571
|
+
toToken?: string;
|
|
1572
|
+
toAmount?: string;
|
|
1573
|
+
minToAmount?: string;
|
|
1574
|
+
totalNetworkFee?: string | null;
|
|
1575
|
+
fees?: GetEndUserEvmSwapPrice200Fees;
|
|
1576
|
+
issues?: GetEndUserEvmSwapPrice200Issues;
|
|
1577
|
+
};
|
|
1578
|
+
|
|
1579
|
+
export declare type GetEndUserEvmSwapPrice200Fees = {
|
|
1580
|
+
gasFee?: GetEndUserEvmSwapPrice200FeesGasFee;
|
|
1581
|
+
protocolFee?: GetEndUserEvmSwapPrice200FeesProtocolFee;
|
|
1582
|
+
} | null;
|
|
1583
|
+
|
|
1584
|
+
export declare type GetEndUserEvmSwapPrice200FeesGasFee = TokenFee | null;
|
|
1585
|
+
|
|
1586
|
+
export declare type GetEndUserEvmSwapPrice200FeesProtocolFee = TokenFee | null;
|
|
1587
|
+
|
|
1588
|
+
export declare type GetEndUserEvmSwapPrice200Issues = {
|
|
1589
|
+
allowance: GetEndUserEvmSwapPrice200IssuesAllowance;
|
|
1590
|
+
balance: GetEndUserEvmSwapPrice200IssuesBalance;
|
|
1591
|
+
} | null;
|
|
1592
|
+
|
|
1593
|
+
export declare type GetEndUserEvmSwapPrice200IssuesAllowance = {
|
|
1594
|
+
currentAllowance: string;
|
|
1595
|
+
spender: string;
|
|
1596
|
+
} | null;
|
|
1597
|
+
|
|
1598
|
+
export declare type GetEndUserEvmSwapPrice200IssuesBalance = {
|
|
1599
|
+
token: string;
|
|
1600
|
+
currentBalance: string;
|
|
1601
|
+
requiredBalance: string;
|
|
1602
|
+
} | null;
|
|
1603
|
+
|
|
1604
|
+
export declare type GetEndUserEvmSwapPriceParams = {
|
|
1605
|
+
taker: string;
|
|
1606
|
+
network: EvmSwapsNetwork;
|
|
1607
|
+
fromToken: string;
|
|
1608
|
+
toToken: string;
|
|
1609
|
+
fromAmount: string;
|
|
1610
|
+
slippageBps?: number;
|
|
1611
|
+
};
|
|
1612
|
+
|
|
1613
|
+
export declare type GetEndUserEvmSwapPriceResult = NonNullable<Awaited<ReturnType<typeof getEndUserEvmSwapPrice>>>;
|
|
1614
|
+
|
|
1398
1615
|
export declare const getEvmEip7702DelegationOperationByIdWithEndUserAccount: (projectId: string, userId: string, delegationOperationId: string, options?: SecondParameter<typeof cdpApiClient>) => Promise<EvmEip7702DelegationOperation>;
|
|
1399
1616
|
|
|
1400
1617
|
export declare type GetEvmEip7702DelegationOperationByIdWithEndUserAccountResult = NonNullable<Awaited<ReturnType<typeof getEvmEip7702DelegationOperationByIdWithEndUserAccount>>>;
|
|
@@ -1880,6 +2097,15 @@ export declare const Network: {
|
|
|
1880
2097
|
readonly polygon: "polygon";
|
|
1881
2098
|
};
|
|
1882
2099
|
|
|
2100
|
+
export declare interface NetworkAssets {
|
|
2101
|
+
network: Network;
|
|
2102
|
+
assets: Asset[];
|
|
2103
|
+
}
|
|
2104
|
+
|
|
2105
|
+
export declare interface NetworkCapabilities {
|
|
2106
|
+
networks: NetworkAssets[];
|
|
2107
|
+
}
|
|
2108
|
+
|
|
1883
2109
|
export declare interface OAuth2Authentication {
|
|
1884
2110
|
type: OAuth2ProviderType;
|
|
1885
2111
|
sub: string;
|
|
@@ -1983,6 +2209,27 @@ export declare interface OnchainDataTableSchema {
|
|
|
1983
2209
|
columns?: OnchainDataColumnSchema[];
|
|
1984
2210
|
}
|
|
1985
2211
|
|
|
2212
|
+
export declare interface OnchainPaymentOption {
|
|
2213
|
+
optionId: string;
|
|
2214
|
+
source?: PaymentSourceOnchainAddress;
|
|
2215
|
+
amount: string;
|
|
2216
|
+
asset: Asset;
|
|
2217
|
+
network: PaymentSourceNetwork;
|
|
2218
|
+
payloads: OnchainSignaturePayload[];
|
|
2219
|
+
}
|
|
2220
|
+
|
|
2221
|
+
export declare interface OnchainSelectedOption {
|
|
2222
|
+
optionId: string;
|
|
2223
|
+
signedPayloads: OnchainSignedPayload[];
|
|
2224
|
+
}
|
|
2225
|
+
|
|
2226
|
+
export declare type OnchainSignaturePayload = EIP3009Payload | Permit2Payload | Erc20ApprovalPayload;
|
|
2227
|
+
|
|
2228
|
+
export declare interface OnchainSignedPayload {
|
|
2229
|
+
payloadId?: string;
|
|
2230
|
+
signature?: string;
|
|
2231
|
+
}
|
|
2232
|
+
|
|
1986
2233
|
export declare type OnrampLimitType = (typeof OnrampLimitType)[keyof typeof OnrampLimitType];
|
|
1987
2234
|
|
|
1988
2235
|
export declare const OnrampLimitType: {
|
|
@@ -1999,10 +2246,12 @@ export declare type OnrampLimitUpgradeIdentityFieldKey = (typeof OnrampLimitUpgr
|
|
|
1999
2246
|
|
|
2000
2247
|
export declare const OnrampLimitUpgradeIdentityFieldKey: {
|
|
2001
2248
|
readonly ssnLast4: "ssnLast4";
|
|
2249
|
+
readonly dateOfBirth: "dateOfBirth";
|
|
2002
2250
|
};
|
|
2003
2251
|
|
|
2004
2252
|
export declare interface OnrampLimitUpgradeIdentityFields {
|
|
2005
2253
|
ssnLast4?: string;
|
|
2254
|
+
dateOfBirth?: DateOfBirth;
|
|
2006
2255
|
}
|
|
2007
2256
|
|
|
2008
2257
|
export declare interface OnrampLimitUpgradeOption {
|
|
@@ -2028,10 +2277,11 @@ export declare interface OnrampLimitUpgradeRequest {
|
|
|
2028
2277
|
export declare type OnrampLimitUpgradeStatus = (typeof OnrampLimitUpgradeStatus)[keyof typeof OnrampLimitUpgradeStatus];
|
|
2029
2278
|
|
|
2030
2279
|
export declare const OnrampLimitUpgradeStatus: {
|
|
2031
|
-
readonly
|
|
2032
|
-
readonly
|
|
2280
|
+
readonly unrequested: "unrequested";
|
|
2281
|
+
readonly resubmit: "resubmit";
|
|
2282
|
+
readonly pending: "pending";
|
|
2033
2283
|
readonly active: "active";
|
|
2034
|
-
readonly
|
|
2284
|
+
readonly inactive: "inactive";
|
|
2035
2285
|
};
|
|
2036
2286
|
|
|
2037
2287
|
export declare interface OnrampOrder {
|
|
@@ -2231,6 +2481,34 @@ export declare type PageSizeParameter = number;
|
|
|
2231
2481
|
|
|
2232
2482
|
export declare type PageTokenParameter = string;
|
|
2233
2483
|
|
|
2484
|
+
export declare type PaymentActionStatus = (typeof PaymentActionStatus)[keyof typeof PaymentActionStatus];
|
|
2485
|
+
|
|
2486
|
+
export declare const PaymentActionStatus: {
|
|
2487
|
+
readonly pending: "pending";
|
|
2488
|
+
readonly succeeded: "succeeded";
|
|
2489
|
+
readonly failed: "failed";
|
|
2490
|
+
};
|
|
2491
|
+
|
|
2492
|
+
export declare interface PaymentError {
|
|
2493
|
+
code?: string;
|
|
2494
|
+
message?: string;
|
|
2495
|
+
occurredAt?: string;
|
|
2496
|
+
}
|
|
2497
|
+
|
|
2498
|
+
export declare type PaymentExecutionBehavior = (typeof PaymentExecutionBehavior)[keyof typeof PaymentExecutionBehavior];
|
|
2499
|
+
|
|
2500
|
+
export declare const PaymentExecutionBehavior: {
|
|
2501
|
+
readonly manual: "manual";
|
|
2502
|
+
readonly auto_authorize: "auto_authorize";
|
|
2503
|
+
readonly auto_capture: "auto_capture";
|
|
2504
|
+
};
|
|
2505
|
+
|
|
2506
|
+
export declare interface PaymentExpiries {
|
|
2507
|
+
authorizationExpiresAt?: string;
|
|
2508
|
+
captureExpiresAt?: string;
|
|
2509
|
+
refundExpiresAt?: string;
|
|
2510
|
+
}
|
|
2511
|
+
|
|
2234
2512
|
export declare interface PaymentMethod {
|
|
2235
2513
|
paymentMethodId: string;
|
|
2236
2514
|
asset: Asset;
|
|
@@ -2249,6 +2527,102 @@ export declare type PaymentMethodRequiredErrorResponse = Error_2;
|
|
|
2249
2527
|
|
|
2250
2528
|
export declare type PaymentMethodsPaymentMethod = FedwirePaymentMethod | SwiftPaymentMethod;
|
|
2251
2529
|
|
|
2530
|
+
export declare type PaymentOption = OnchainPaymentOption;
|
|
2531
|
+
|
|
2532
|
+
export declare interface PaymentRedirect {
|
|
2533
|
+
failureUrl?: Url;
|
|
2534
|
+
successUrl?: Url;
|
|
2535
|
+
}
|
|
2536
|
+
|
|
2537
|
+
export declare interface PaymentSession {
|
|
2538
|
+
paymentSessionId?: PaymentSessionId;
|
|
2539
|
+
entityId?: string;
|
|
2540
|
+
amount?: string;
|
|
2541
|
+
asset?: Asset;
|
|
2542
|
+
target?: PaymentSessionTarget;
|
|
2543
|
+
execute?: PaymentExecutionBehavior;
|
|
2544
|
+
expiries?: PaymentExpiries;
|
|
2545
|
+
source?: PaymentSessionSource;
|
|
2546
|
+
status?: PaymentSessionStatus;
|
|
2547
|
+
balances?: PaymentSessionBalances;
|
|
2548
|
+
authorizations?: Authorization[];
|
|
2549
|
+
captures?: Capture[];
|
|
2550
|
+
voids?: Void[];
|
|
2551
|
+
refunds?: Refund[];
|
|
2552
|
+
readonly url?: Url;
|
|
2553
|
+
redirect?: PaymentRedirect;
|
|
2554
|
+
metadata?: Metadata;
|
|
2555
|
+
cancellationReason?: string;
|
|
2556
|
+
createdAt?: string;
|
|
2557
|
+
updatedAt?: string;
|
|
2558
|
+
}
|
|
2559
|
+
|
|
2560
|
+
export declare interface PaymentSessionBalances {
|
|
2561
|
+
capturable?: string;
|
|
2562
|
+
captured?: string;
|
|
2563
|
+
refundable?: string;
|
|
2564
|
+
refunded?: string;
|
|
2565
|
+
}
|
|
2566
|
+
|
|
2567
|
+
export declare type PaymentSessionId = string;
|
|
2568
|
+
|
|
2569
|
+
export declare interface PaymentSessionPreparation {
|
|
2570
|
+
paymentSession?: PaymentSession;
|
|
2571
|
+
paymentOptions?: PaymentOption[];
|
|
2572
|
+
}
|
|
2573
|
+
|
|
2574
|
+
export declare type PaymentSessionSource = PaymentSourceOnchainAddress;
|
|
2575
|
+
|
|
2576
|
+
export declare type PaymentSessionStatus = (typeof PaymentSessionStatus)[keyof typeof PaymentSessionStatus];
|
|
2577
|
+
|
|
2578
|
+
export declare const PaymentSessionStatus: {
|
|
2579
|
+
readonly created: "created";
|
|
2580
|
+
readonly prepared: "prepared";
|
|
2581
|
+
readonly confirmed: "confirmed";
|
|
2582
|
+
readonly authorized: "authorized";
|
|
2583
|
+
readonly partially_captured: "partially_captured";
|
|
2584
|
+
readonly captured: "captured";
|
|
2585
|
+
readonly voided: "voided";
|
|
2586
|
+
readonly partially_refunded: "partially_refunded";
|
|
2587
|
+
readonly refunded: "refunded";
|
|
2588
|
+
readonly cancelled: "cancelled";
|
|
2589
|
+
};
|
|
2590
|
+
|
|
2591
|
+
export declare type PaymentSessionTarget = PaymentTargetOnchainAddress;
|
|
2592
|
+
|
|
2593
|
+
export declare type PaymentSourceNetwork = (typeof PaymentSourceNetwork)[keyof typeof PaymentSourceNetwork];
|
|
2594
|
+
|
|
2595
|
+
export declare const PaymentSourceNetwork: {
|
|
2596
|
+
readonly arbitrum: "arbitrum";
|
|
2597
|
+
readonly "arbitrum-sepolia": "arbitrum-sepolia";
|
|
2598
|
+
readonly base: "base";
|
|
2599
|
+
readonly "base-sepolia": "base-sepolia";
|
|
2600
|
+
readonly ethereum: "ethereum";
|
|
2601
|
+
readonly "ethereum-sepolia": "ethereum-sepolia";
|
|
2602
|
+
readonly optimism: "optimism";
|
|
2603
|
+
readonly "optimism-sepolia": "optimism-sepolia";
|
|
2604
|
+
readonly polygon: "polygon";
|
|
2605
|
+
readonly "polygon-amoy": "polygon-amoy";
|
|
2606
|
+
};
|
|
2607
|
+
|
|
2608
|
+
export declare interface PaymentSourceOnchainAddress {
|
|
2609
|
+
address: BlockchainAddress;
|
|
2610
|
+
network?: PaymentSourceNetwork;
|
|
2611
|
+
asset?: Asset;
|
|
2612
|
+
}
|
|
2613
|
+
|
|
2614
|
+
export declare type PaymentTargetNetwork = (typeof PaymentTargetNetwork)[keyof typeof PaymentTargetNetwork];
|
|
2615
|
+
|
|
2616
|
+
export declare const PaymentTargetNetwork: {
|
|
2617
|
+
readonly base: "base";
|
|
2618
|
+
readonly "base-sepolia": "base-sepolia";
|
|
2619
|
+
};
|
|
2620
|
+
|
|
2621
|
+
export declare interface PaymentTargetOnchainAddress {
|
|
2622
|
+
address: BlockchainAddress;
|
|
2623
|
+
network?: PaymentTargetNetwork;
|
|
2624
|
+
}
|
|
2625
|
+
|
|
2252
2626
|
export declare interface Permission {
|
|
2253
2627
|
permissionId: PermissionId;
|
|
2254
2628
|
name: string;
|
|
@@ -2324,6 +2698,18 @@ export declare const PermissionVerb: {
|
|
|
2324
2698
|
readonly manage_all: "manage_all";
|
|
2325
2699
|
};
|
|
2326
2700
|
|
|
2701
|
+
export declare interface Permit2Payload {
|
|
2702
|
+
payloadId: string;
|
|
2703
|
+
type: Permit2PayloadType;
|
|
2704
|
+
data: EIP712Message;
|
|
2705
|
+
}
|
|
2706
|
+
|
|
2707
|
+
export declare type Permit2PayloadType = (typeof Permit2PayloadType)[keyof typeof Permit2PayloadType];
|
|
2708
|
+
|
|
2709
|
+
export declare const Permit2PayloadType: {
|
|
2710
|
+
readonly permit2: "permit2";
|
|
2711
|
+
};
|
|
2712
|
+
|
|
2327
2713
|
export declare interface PhysicalAddress {
|
|
2328
2714
|
line1?: string;
|
|
2329
2715
|
line2?: string;
|
|
@@ -2349,6 +2735,10 @@ export declare const PolicyScope: {
|
|
|
2349
2735
|
readonly account: "account";
|
|
2350
2736
|
};
|
|
2351
2737
|
|
|
2738
|
+
export declare interface PreparePaymentSessionRequest {
|
|
2739
|
+
sources: PaymentSessionSource[];
|
|
2740
|
+
}
|
|
2741
|
+
|
|
2352
2742
|
export declare type PrepareUserOperationCriteria = PrepareUserOperationCriteriaItem[];
|
|
2353
2743
|
|
|
2354
2744
|
export declare type PrepareUserOperationCriteriaItem = EthValueCriterion | EvmAddressCriterion | EvmNetworkCriterion | EvmDataCriterion | NetUSDChangeCriterion | RateLimitingCriterion;
|
|
@@ -2465,6 +2855,34 @@ export declare interface RefreshTokenStorage {
|
|
|
2465
2855
|
removeRefreshToken(): Promise<void>;
|
|
2466
2856
|
}
|
|
2467
2857
|
|
|
2858
|
+
export declare interface Refund {
|
|
2859
|
+
refundId?: RefundId;
|
|
2860
|
+
paymentSessionId?: PaymentSessionId;
|
|
2861
|
+
source?: RefundSource;
|
|
2862
|
+
status?: PaymentActionStatus;
|
|
2863
|
+
amount?: string;
|
|
2864
|
+
transferId?: string;
|
|
2865
|
+
reason?: string;
|
|
2866
|
+
error?: PaymentError;
|
|
2867
|
+
metadata?: Metadata;
|
|
2868
|
+
onchainTransactions?: RefundOnchainTransactionsItem[];
|
|
2869
|
+
createdAt?: string;
|
|
2870
|
+
updatedAt?: string;
|
|
2871
|
+
}
|
|
2872
|
+
|
|
2873
|
+
export declare type RefundId = string;
|
|
2874
|
+
|
|
2875
|
+
export declare interface RefundOnchainAddress {
|
|
2876
|
+
address: BlockchainAddress;
|
|
2877
|
+
}
|
|
2878
|
+
|
|
2879
|
+
export declare type RefundOnchainTransactionsItem = {
|
|
2880
|
+
transactionHash: string;
|
|
2881
|
+
network: PaymentSourceNetwork;
|
|
2882
|
+
};
|
|
2883
|
+
|
|
2884
|
+
export declare type RefundSource = TransfersAccount | RefundOnchainAddress;
|
|
2885
|
+
|
|
2468
2886
|
export declare const registerAttestation: (projectId: string, iosAttestationRegistrationRequest: IosAttestationRegistrationRequest, options?: SecondParameter<typeof cdpApiClient>) => Promise<IosAttestationRegistrationResponse>;
|
|
2469
2887
|
|
|
2470
2888
|
export declare type RegisterAttestationResult = NonNullable<Awaited<ReturnType<typeof registerAttestation>>>;
|
|
@@ -2573,7 +2991,11 @@ export declare const ResourceType: {
|
|
|
2573
2991
|
readonly transfers: "transfers";
|
|
2574
2992
|
};
|
|
2575
2993
|
|
|
2576
|
-
export declare const revokeDelegationForEndUser: (projectId: string, userId: string, options?: SecondParameter<typeof cdpApiClient>) => Promise<void>;
|
|
2994
|
+
export declare const revokeDelegationForEndUser: (projectId: string, userId: string, revokeDelegationForEndUserBody: RevokeDelegationForEndUserBody, options?: SecondParameter<typeof cdpApiClient>) => Promise<void>;
|
|
2995
|
+
|
|
2996
|
+
export declare type RevokeDelegationForEndUserBody = {
|
|
2997
|
+
walletSecretId?: string;
|
|
2998
|
+
};
|
|
2577
2999
|
|
|
2578
3000
|
export declare type RevokeDelegationForEndUserResult = NonNullable<Awaited<ReturnType<typeof revokeDelegationForEndUser>>>;
|
|
2579
3001
|
|
|
@@ -2600,7 +3022,7 @@ export declare interface Role {
|
|
|
2600
3022
|
|
|
2601
3023
|
export declare type RoleId = "role_entity_admin" | "role_entity_viewer" | string;
|
|
2602
3024
|
|
|
2603
|
-
export declare type Rule = SignEvmTransactionRule | SendEvmTransactionRule | SignEvmMessageRule | SignEvmTypedDataRule | SignSolTransactionRule | SendSolTransactionRule | SignSolMessageRule | SignEvmHashRule | PrepareUserOperationRule | SendUserOperationRule | SignEndUserEvmTransactionRule | SendEndUserEvmTransactionRule | SignEndUserEvmMessageRule | SignEndUserEvmTypedDataRule | SignEndUserSolTransactionRule | SendEndUserSolTransactionRule | SignEndUserSolMessageRule;
|
|
3025
|
+
export declare type Rule = SignEvmTransactionRule | SendEvmTransactionRule | SignEvmMessageRule | SignEvmTypedDataRule | SignSolTransactionRule | SendSolTransactionRule | SignSolMessageRule | SignEvmHashRule | PrepareUserOperationRule | SendUserOperationRule | SignEndUserEvmTransactionRule | SendEndUserEvmTransactionRule | SignEndUserEvmMessageRule | SignEndUserEvmTypedDataRule | SignEndUserSolTransactionRule | SendEndUserSolTransactionRule | SignEndUserSolMessageRule | SendEndUserEvmAssetRule | SendEndUserSolAssetRule;
|
|
2604
3026
|
|
|
2605
3027
|
export declare interface Schedule {
|
|
2606
3028
|
scheduleId: string;
|
|
@@ -2634,6 +3056,29 @@ export declare type SecondFactorProofTokenParameter = string;
|
|
|
2634
3056
|
|
|
2635
3057
|
declare type SecondParameter<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
2636
3058
|
|
|
3059
|
+
export declare type SendEndUserEvmAssetCriteria = SendEndUserEvmAssetCriteriaItem[];
|
|
3060
|
+
|
|
3061
|
+
export declare type SendEndUserEvmAssetCriteriaItem = EthValueCriterion | EvmAddressCriterion | EvmNetworkCriterion | EvmDataCriterion | NetUSDChangeCriterion | RateLimitingCriterion;
|
|
3062
|
+
|
|
3063
|
+
export declare interface SendEndUserEvmAssetRule {
|
|
3064
|
+
action: SendEndUserEvmAssetRuleAction;
|
|
3065
|
+
operation: SendEndUserEvmAssetRuleOperation;
|
|
3066
|
+
criteria: SendEndUserEvmAssetCriteria;
|
|
3067
|
+
}
|
|
3068
|
+
|
|
3069
|
+
export declare type SendEndUserEvmAssetRuleAction = (typeof SendEndUserEvmAssetRuleAction)[keyof typeof SendEndUserEvmAssetRuleAction];
|
|
3070
|
+
|
|
3071
|
+
export declare const SendEndUserEvmAssetRuleAction: {
|
|
3072
|
+
readonly reject: "reject";
|
|
3073
|
+
readonly accept: "accept";
|
|
3074
|
+
};
|
|
3075
|
+
|
|
3076
|
+
export declare type SendEndUserEvmAssetRuleOperation = (typeof SendEndUserEvmAssetRuleOperation)[keyof typeof SendEndUserEvmAssetRuleOperation];
|
|
3077
|
+
|
|
3078
|
+
export declare const SendEndUserEvmAssetRuleOperation: {
|
|
3079
|
+
readonly sendEndUserEvmAsset: "sendEndUserEvmAsset";
|
|
3080
|
+
};
|
|
3081
|
+
|
|
2637
3082
|
export declare type SendEndUserEvmTransactionCriteria = SendEndUserEvmTransactionCriteriaItem[];
|
|
2638
3083
|
|
|
2639
3084
|
export declare type SendEndUserEvmTransactionCriteriaItem = EthValueCriterion | EvmAddressCriterion | EvmNetworkCriterion | EvmDataCriterion | NetUSDChangeCriterion | RateLimitingCriterion;
|
|
@@ -2657,6 +3102,29 @@ export declare const SendEndUserEvmTransactionRuleOperation: {
|
|
|
2657
3102
|
readonly sendEndUserEvmTransaction: "sendEndUserEvmTransaction";
|
|
2658
3103
|
};
|
|
2659
3104
|
|
|
3105
|
+
export declare type SendEndUserSolAssetCriteria = SendEndUserSolAssetCriteriaItem[];
|
|
3106
|
+
|
|
3107
|
+
export declare type SendEndUserSolAssetCriteriaItem = SolAddressCriterion | SolValueCriterion | SplAddressCriterion | SplValueCriterion | MintAddressCriterion | SolDataCriterion | ProgramIdCriterion | SolNetworkCriterion | RateLimitingCriterion;
|
|
3108
|
+
|
|
3109
|
+
export declare interface SendEndUserSolAssetRule {
|
|
3110
|
+
action: SendEndUserSolAssetRuleAction;
|
|
3111
|
+
operation: SendEndUserSolAssetRuleOperation;
|
|
3112
|
+
criteria: SendEndUserSolAssetCriteria;
|
|
3113
|
+
}
|
|
3114
|
+
|
|
3115
|
+
export declare type SendEndUserSolAssetRuleAction = (typeof SendEndUserSolAssetRuleAction)[keyof typeof SendEndUserSolAssetRuleAction];
|
|
3116
|
+
|
|
3117
|
+
export declare const SendEndUserSolAssetRuleAction: {
|
|
3118
|
+
readonly reject: "reject";
|
|
3119
|
+
readonly accept: "accept";
|
|
3120
|
+
};
|
|
3121
|
+
|
|
3122
|
+
export declare type SendEndUserSolAssetRuleOperation = (typeof SendEndUserSolAssetRuleOperation)[keyof typeof SendEndUserSolAssetRuleOperation];
|
|
3123
|
+
|
|
3124
|
+
export declare const SendEndUserSolAssetRuleOperation: {
|
|
3125
|
+
readonly sendEndUserSolAsset: "sendEndUserSolAsset";
|
|
3126
|
+
};
|
|
3127
|
+
|
|
2660
3128
|
export declare type SendEndUserSolTransactionCriteria = SendEndUserSolTransactionCriteriaItem[];
|
|
2661
3129
|
|
|
2662
3130
|
export declare type SendEndUserSolTransactionCriteriaItem = SolAddressCriterion | SolValueCriterion | SplAddressCriterion | SplValueCriterion | MintAddressCriterion | SolDataCriterion | ProgramIdCriterion | SolNetworkCriterion | RateLimitingCriterion;
|
|
@@ -2693,7 +3161,7 @@ export declare type SendEvmAssetWithEndUserAccountBody = {
|
|
|
2693
3161
|
network: SendEvmAssetWithEndUserAccountBodyNetwork;
|
|
2694
3162
|
useCdpPaymaster?: boolean;
|
|
2695
3163
|
paymasterUrl?: Url;
|
|
2696
|
-
walletSecretId
|
|
3164
|
+
walletSecretId?: string;
|
|
2697
3165
|
};
|
|
2698
3166
|
|
|
2699
3167
|
export declare type SendEvmAssetWithEndUserAccountBodyNetwork = (typeof SendEvmAssetWithEndUserAccountBodyNetwork)[keyof typeof SendEvmAssetWithEndUserAccountBodyNetwork];
|
|
@@ -2743,7 +3211,7 @@ export declare type SendEvmTransactionWithEndUserAccount200 = {
|
|
|
2743
3211
|
export declare type SendEvmTransactionWithEndUserAccountBody = {
|
|
2744
3212
|
address: string;
|
|
2745
3213
|
network: SendEvmTransactionWithEndUserAccountBodyNetwork;
|
|
2746
|
-
walletSecretId
|
|
3214
|
+
walletSecretId?: string;
|
|
2747
3215
|
transaction: string;
|
|
2748
3216
|
};
|
|
2749
3217
|
|
|
@@ -2773,7 +3241,8 @@ export declare type SendSolanaAssetWithEndUserAccountBody = {
|
|
|
2773
3241
|
amount: string;
|
|
2774
3242
|
network: SendSolanaAssetWithEndUserAccountBodyNetwork;
|
|
2775
3243
|
createRecipientAta?: boolean;
|
|
2776
|
-
walletSecretId
|
|
3244
|
+
walletSecretId?: string;
|
|
3245
|
+
useCdpSponsor?: boolean;
|
|
2777
3246
|
};
|
|
2778
3247
|
|
|
2779
3248
|
export declare type SendSolanaAssetWithEndUserAccountBodyNetwork = (typeof SendSolanaAssetWithEndUserAccountBodyNetwork)[keyof typeof SendSolanaAssetWithEndUserAccountBodyNetwork];
|
|
@@ -2794,8 +3263,9 @@ export declare type SendSolanaTransactionWithEndUserAccount200 = {
|
|
|
2794
3263
|
export declare type SendSolanaTransactionWithEndUserAccountBody = {
|
|
2795
3264
|
address: string;
|
|
2796
3265
|
network: SendSolanaTransactionWithEndUserAccountBodyNetwork;
|
|
2797
|
-
walletSecretId
|
|
3266
|
+
walletSecretId?: string;
|
|
2798
3267
|
transaction: string;
|
|
3268
|
+
useCdpSponsor?: boolean;
|
|
2799
3269
|
};
|
|
2800
3270
|
|
|
2801
3271
|
export declare type SendSolanaTransactionWithEndUserAccountBodyNetwork = (typeof SendSolanaTransactionWithEndUserAccountBodyNetwork)[keyof typeof SendSolanaTransactionWithEndUserAccountBodyNetwork];
|
|
@@ -2860,7 +3330,7 @@ export declare type SendUserOperationWithEndUserAccountBody = {
|
|
|
2860
3330
|
calls: EvmCall[];
|
|
2861
3331
|
useCdpPaymaster: boolean;
|
|
2862
3332
|
paymasterUrl?: Url;
|
|
2863
|
-
walletSecretId
|
|
3333
|
+
walletSecretId?: string;
|
|
2864
3334
|
dataSuffix?: string;
|
|
2865
3335
|
};
|
|
2866
3336
|
|
|
@@ -3018,7 +3488,7 @@ export declare type SignEvmHashWithEndUserAccount200 = {
|
|
|
3018
3488
|
export declare type SignEvmHashWithEndUserAccountBody = {
|
|
3019
3489
|
hash: string;
|
|
3020
3490
|
address: string;
|
|
3021
|
-
walletSecretId
|
|
3491
|
+
walletSecretId?: string;
|
|
3022
3492
|
};
|
|
3023
3493
|
|
|
3024
3494
|
export declare type SignEvmHashWithEndUserAccountResult = NonNullable<Awaited<ReturnType<typeof signEvmHashWithEndUserAccount>>>;
|
|
@@ -3053,7 +3523,7 @@ export declare type SignEvmMessageWithEndUserAccount200 = {
|
|
|
3053
3523
|
export declare type SignEvmMessageWithEndUserAccountBody = {
|
|
3054
3524
|
address: string;
|
|
3055
3525
|
message: string;
|
|
3056
|
-
walletSecretId
|
|
3526
|
+
walletSecretId?: string;
|
|
3057
3527
|
};
|
|
3058
3528
|
|
|
3059
3529
|
export declare type SignEvmMessageWithEndUserAccountResult = NonNullable<Awaited<ReturnType<typeof signEvmMessageWithEndUserAccount>>>;
|
|
@@ -3090,7 +3560,7 @@ export declare type SignEvmTransactionWithEndUserAccount200 = {
|
|
|
3090
3560
|
export declare type SignEvmTransactionWithEndUserAccountBody = {
|
|
3091
3561
|
address: string;
|
|
3092
3562
|
transaction: string;
|
|
3093
|
-
walletSecretId
|
|
3563
|
+
walletSecretId?: string;
|
|
3094
3564
|
};
|
|
3095
3565
|
|
|
3096
3566
|
export declare type SignEvmTransactionWithEndUserAccountResult = NonNullable<Awaited<ReturnType<typeof signEvmTransactionWithEndUserAccount>>>;
|
|
@@ -3174,7 +3644,7 @@ export declare type SignEvmTypedDataWithEndUserAccount200 = {
|
|
|
3174
3644
|
export declare type SignEvmTypedDataWithEndUserAccountBody = {
|
|
3175
3645
|
address: string;
|
|
3176
3646
|
typedData: EIP712Message;
|
|
3177
|
-
walletSecretId
|
|
3647
|
+
walletSecretId?: string;
|
|
3178
3648
|
};
|
|
3179
3649
|
|
|
3180
3650
|
export declare type SignEvmTypedDataWithEndUserAccountResult = NonNullable<Awaited<ReturnType<typeof signEvmTypedDataWithEndUserAccount>>>;
|
|
@@ -3188,7 +3658,7 @@ export declare type SignSolanaHashWithEndUserAccount200 = {
|
|
|
3188
3658
|
export declare type SignSolanaHashWithEndUserAccountBody = {
|
|
3189
3659
|
hash: string;
|
|
3190
3660
|
address: string;
|
|
3191
|
-
walletSecretId
|
|
3661
|
+
walletSecretId?: string;
|
|
3192
3662
|
};
|
|
3193
3663
|
|
|
3194
3664
|
export declare type SignSolanaHashWithEndUserAccountResult = NonNullable<Awaited<ReturnType<typeof signSolanaHashWithEndUserAccount>>>;
|
|
@@ -3202,7 +3672,7 @@ export declare type SignSolanaMessageWithEndUserAccount200 = {
|
|
|
3202
3672
|
export declare type SignSolanaMessageWithEndUserAccountBody = {
|
|
3203
3673
|
address: string;
|
|
3204
3674
|
message: string;
|
|
3205
|
-
walletSecretId
|
|
3675
|
+
walletSecretId?: string;
|
|
3206
3676
|
};
|
|
3207
3677
|
|
|
3208
3678
|
export declare type SignSolanaMessageWithEndUserAccountResult = NonNullable<Awaited<ReturnType<typeof signSolanaMessageWithEndUserAccount>>>;
|
|
@@ -3216,7 +3686,7 @@ export declare type SignSolanaTransactionWithEndUserAccount200 = {
|
|
|
3216
3686
|
export declare type SignSolanaTransactionWithEndUserAccountBody = {
|
|
3217
3687
|
address: string;
|
|
3218
3688
|
transaction: string;
|
|
3219
|
-
walletSecretId
|
|
3689
|
+
walletSecretId?: string;
|
|
3220
3690
|
};
|
|
3221
3691
|
|
|
3222
3692
|
export declare type SignSolanaTransactionWithEndUserAccountResult = NonNullable<Awaited<ReturnType<typeof signSolanaTransactionWithEndUserAccount>>>;
|
|
@@ -3736,10 +4206,10 @@ export declare const TransferEventEventType: {
|
|
|
3736
4206
|
readonly paymentstransferscompleted: "payments.transfers.completed";
|
|
3737
4207
|
readonly paymentstransfersfailed: "payments.transfers.failed";
|
|
3738
4208
|
readonly paymentstransfersaction_required: "payments.transfers.action_required";
|
|
3739
|
-
readonly
|
|
3740
|
-
readonly
|
|
3741
|
-
readonly
|
|
3742
|
-
readonly
|
|
4209
|
+
readonly paymentstransferstravel_rule_incomplete: "payments.transfers.travel_rule_incomplete";
|
|
4210
|
+
readonly paymentstransferstravel_rule_completed: "payments.transfers.travel_rule_completed";
|
|
4211
|
+
readonly paymentstransferstravel_rule_in_review: "payments.transfers.travel_rule_in_review";
|
|
4212
|
+
readonly paymentstransferstravel_rule_blocked: "payments.transfers.travel_rule_blocked";
|
|
3743
4213
|
};
|
|
3744
4214
|
|
|
3745
4215
|
export declare type TransferExchangeRate = {
|
|
@@ -4063,6 +4533,25 @@ export declare interface VerifySmsAuthenticationRequest {
|
|
|
4063
4533
|
|
|
4064
4534
|
export declare type VerifySmsAuthenticationResult = NonNullable<Awaited<ReturnType<typeof verifySmsAuthentication>>>;
|
|
4065
4535
|
|
|
4536
|
+
export declare interface Void {
|
|
4537
|
+
voidId?: VoidId;
|
|
4538
|
+
paymentSessionId?: PaymentSessionId;
|
|
4539
|
+
status?: PaymentActionStatus;
|
|
4540
|
+
amount?: string;
|
|
4541
|
+
error?: PaymentError;
|
|
4542
|
+
metadata?: Metadata;
|
|
4543
|
+
onchainTransactions?: VoidOnchainTransactionsItem[];
|
|
4544
|
+
createdAt?: string;
|
|
4545
|
+
updatedAt?: string;
|
|
4546
|
+
}
|
|
4547
|
+
|
|
4548
|
+
export declare type VoidId = string;
|
|
4549
|
+
|
|
4550
|
+
export declare type VoidOnchainTransactionsItem = {
|
|
4551
|
+
transactionHash: string;
|
|
4552
|
+
network: PaymentSourceNetwork;
|
|
4553
|
+
};
|
|
4554
|
+
|
|
4066
4555
|
export declare interface WalletSecretMetadata {
|
|
4067
4556
|
updatedAt: string;
|
|
4068
4557
|
}
|
|
@@ -4088,6 +4577,7 @@ export declare type WebhookSubscriptionRequestLabels = {
|
|
|
4088
4577
|
|
|
4089
4578
|
export declare interface WebhookSubscriptionResponse {
|
|
4090
4579
|
createdAt: string;
|
|
4580
|
+
updatedAt?: string;
|
|
4091
4581
|
description?: Description;
|
|
4092
4582
|
eventTypes: string[];
|
|
4093
4583
|
isEnabled: boolean;
|
|
@@ -4265,9 +4755,9 @@ export declare type X402McpResponseResult = {
|
|
|
4265
4755
|
[key: string]: unknown;
|
|
4266
4756
|
};
|
|
4267
4757
|
|
|
4268
|
-
export declare type X402PaymentPayload =
|
|
4758
|
+
export declare type X402PaymentPayload = X402V2PaymentPayload | X402V1PaymentPayload;
|
|
4269
4759
|
|
|
4270
|
-
export declare type X402PaymentRequirements =
|
|
4760
|
+
export declare type X402PaymentRequirements = X402V2PaymentRequirements | X402V1PaymentRequirements;
|
|
4271
4761
|
|
|
4272
4762
|
export declare interface X402ResourceInfo {
|
|
4273
4763
|
url?: string;
|
|
@@ -4567,6 +5057,8 @@ export declare interface XConfig {
|
|
|
4567
5057
|
|
|
4568
5058
|
export declare type XDeveloperAuthParameter = string;
|
|
4569
5059
|
|
|
5060
|
+
export declare type XWalletAuthOptionalParameter = string;
|
|
5061
|
+
|
|
4570
5062
|
export declare type XWalletAuthParameter = string;
|
|
4571
5063
|
|
|
4572
5064
|
export { }
|