@coinbase/cdp-api-client 0.0.43 → 0.0.45

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 CHANGED
@@ -1,160 +1,182 @@
1
- import { createEndUserEvmAccount as r, createEndUserEvmSmartAccount as n, createEndUserSolanaAccount as o, createSpendPermissionWithEndUserAccount as i, exportEndUserEvmAccount as a, exportEndUserSolanaAccount as s, getAuthenticatedEndUser as p, getUserOperationWithEndUserAccount as c, initiateAuthentication as d, listEndUsers as m, listSpendPermissionsWithEndUserAccount as u, logOutEndUser as y, refreshAccessToken as S, registerTemporaryWalletSecret as T, revokeSpendPermissionWithEndUserAccount as l, sendEvmTransactionWithEndUserAccount as E, sendSolanaTransactionWithEndUserAccount as A, sendUserOperationWithEndUserAccount as h, signEvmHashWithEndUserAccount as C, signEvmMessageWithEndUserAccount as O, signEvmTransactionWithEndUserAccount as v, signEvmTypedDataWithEndUserAccount as g, signSolanaHashWithEndUserAccount as U, signSolanaMessageWithEndUserAccount as P, signSolanaTransactionWithEndUserAccount as R, verifyEmailAuthentication as k, verifySmsAuthentication as w } from "./index2.js";
2
- import { AbiFunctionType as D, AbiInputType as M, AbiStateMutability as I, AccountSourceType as W, AccountType as f, AchDetailsAccountType as V, AddressRiskNetwork as X, AddressRiskRiskLevel as x, CoolPaymentMethodType as L, CreatePaymentMethodRequestAchType as q, CreatePaymentMethodRequestFedwireType as F, CreateTransferQuoteAmountType as b, DeveloperJWTAuthenticationType as B, EmailAuthenticationType as H, ErrorType as K, EthValueCriterionOperator as Q, EthValueCriterionType as G, EvmAddressCriterionOperator as J, EvmAddressCriterionType as j, EvmDataCriterionType as z, EvmDataParameterConditionListOperator as Y, EvmDataParameterConditionOperator as Z, EvmMessageCriterionType as _, EvmNetworkCriterionNetworksItem as $, EvmNetworkCriterionOperator as ee, EvmNetworkCriterionType as te, EvmSwapsNetwork as re, EvmTypedAddressConditionOperator as ne, EvmTypedNumericalConditionOperator as oe, EvmUserOperationNetwork as ie, EvmUserOperationStatus as ae, FeeDetailsType as se, FeeType as pe, InitiateEmailAuthenticationNextStepType as ce, InitiateEmailAuthenticationRequestType as de, InitiateSmsAuthenticationNextStepType as me, InitiateSmsAuthenticationRequestType as ue, KnownAbiType as ye, KnownIdlType as Se, LimitPeriod as Te, ListEndUsersSortItem as le, ListEvmTokenBalancesNetwork as Ee, ListSolanaTokenBalancesNetwork as Ae, MintAddressCriterionOperator as he, MintAddressCriterionType as Ce, NetUSDChangeCriterionOperator as Oe, NetUSDChangeCriterionType as ve, Network as ge, OnchainDataResultSchemaColumnsItemType as Ue, OnrampOrderFeeType as Pe, OnrampOrderPaymentMethodTypeId as Re, OnrampOrderStatus as ke, OnrampPaymentLinkType as we, OnrampQuotePaymentMethodTypeId as Ne, PaymentMethodSourceType as De, PaymentMethodType as Me, PaymentRailAction as Ie, PaymentStatus as We, PolicyScope as fe, PrepareUserOperationRuleAction as Ve, PrepareUserOperationRuleOperation as Xe, ProgramIdCriterionOperator as xe, ProgramIdCriterionType as Le, RefreshAccessTokenBodyGrantType as qe, SendEvmTransactionRuleAction as Fe, SendEvmTransactionRuleOperation as be, SendEvmTransactionWithEndUserAccountBodyNetwork as Be, SendSolTransactionRuleAction as He, SendSolTransactionRuleOperation as Ke, SendSolanaTransactionWithEndUserAccountBodyNetwork as Qe, SendUserOperationRuleAction as Ge, SendUserOperationRuleOperation as Je, SignEvmHashRuleAction as je, SignEvmHashRuleOperation as ze, SignEvmMessageRuleAction as Ye, SignEvmMessageRuleOperation as Ze, SignEvmTransactionRuleAction as _e, SignEvmTransactionRuleOperation as $e, SignEvmTypedDataFieldCriterionType as et, SignEvmTypedDataRuleAction as tt, SignEvmTypedDataRuleOperation as rt, SignEvmTypedDataVerifyingContractCriterionOperator as nt, SignEvmTypedDataVerifyingContractCriterionType as ot, SignSolMessageRuleAction as it, SignSolMessageRuleOperation as at, SignSolTransactionRuleAction as st, SignSolTransactionRuleOperation as pt, SmsAuthenticationType as ct, SolAddressCriterionOperator as dt, SolAddressCriterionType as mt, SolDataCriterionType as ut, SolDataParameterConditionListOperator as yt, SolDataParameterConditionOperator as St, SolMessageCriterionType as Tt, SolNetworkCriterionNetworksItem as lt, SolNetworkCriterionOperator as Et, SolNetworkCriterionType as At, SolValueCriterionOperator as ht, SolValueCriterionType as Ct, SourceDepositInstructionsCurrency as Ot, SourceDepositInstructionsPaymentMethodType as vt, SourceType as gt, SpendPermissionNetwork as Ut, SplAddressCriterionOperator as Pt, SplAddressCriterionType as Rt, SplValueCriterionOperator as kt, SplValueCriterionType as wt, TransferSourceType as Nt, TransferStatus as Dt, TransferTargetType as Mt, X402DiscoveryResourceType as It, X402PaymentPayloadNetwork as Wt, X402PaymentPayloadScheme as ft, X402PaymentRequirementsNetwork as Vt, X402PaymentRequirementsScheme as Xt, X402SettleErrorReason as xt, X402SupportedPaymentKindNetwork as Lt, X402SupportedPaymentKindScheme as qt, X402VerifyInvalidReason as Ft, X402Version as bt } from "./index3.js";
3
- import { configureCdpApiClient as Ht, setAuthManager as Kt } from "./index4.js";
4
- import { APIError as Gt, HttpErrorType as Jt, UnknownApiError as jt, UnknownError as zt, isOpenAPIError as Yt } from "./index5.js";
1
+ import { createEndUserEvmAccount as r, createEndUserEvmSmartAccount as n, createEndUserSolanaAccount as i, createSpendPermissionWithEndUserAccount as o, exportEndUserEvmAccount as a, exportEndUserSolanaAccount as s, getAuthenticatedEndUser as p, getUserOperationWithEndUserAccount as c, initiateAuthentication as d, listSpendPermissionsWithEndUserAccount as u, logOutEndUser as y, refreshAccessToken as m, registerTemporaryWalletSecret as T, revokeSpendPermissionWithEndUserAccount as l, sendEvmTransactionWithEndUserAccount as S, sendSolanaTransactionWithEndUserAccount as A, sendUserOperationWithEndUserAccount as E, signEvmHashWithEndUserAccount as C, signEvmMessageWithEndUserAccount as h, signEvmTransactionWithEndUserAccount as v, signEvmTypedDataWithEndUserAccount as O, signSolanaHashWithEndUserAccount as P, signSolanaMessageWithEndUserAccount as g, signSolanaTransactionWithEndUserAccount as R, verifyEmailAuthentication as U, verifyOAuthCode as k, verifySmsAuthentication as I } from "./index2.js";
2
+ import { AbiFunctionType as N, AbiInputType as f, AbiStateMutability as D, AccountType as M, AchDetailsAccountType as W, AddressRiskNetwork as V, AddressRiskRiskLevel as b, AssetType as X, CapabilityStatus as F, CoolPaymentMethodType as L, CreateAccountRequestType as q, CreatePaymentMethodRequestAchType as x, CreatePaymentMethodRequestFedwireType as B, CreateTransferQuoteAmountType as H, CustomerType as K, DeveloperJWTAuthenticationType as j, EmailAuthenticationType as Q, EntityStatus as G, ErrorType as J, EthValueCriterionOperator as z, EthValueCriterionType as Y, EvmAddressCriterionOperator as Z, EvmAddressCriterionType as _, EvmDataCriterionType as $, EvmDataParameterConditionListOperator as ee, EvmDataParameterConditionOperator as te, EvmMessageCriterionType as re, EvmNetworkCriterionNetworksItem as ne, EvmNetworkCriterionOperator as ie, EvmNetworkCriterionType as oe, EvmSwapsNetwork as ae, EvmTypedAddressConditionOperator as se, EvmTypedNumericalConditionOperator as pe, EvmUserOperationNetwork as ce, EvmUserOperationStatus as de, FeeDetailsType as ue, FeeType as ye, IndividualConnectionToPolitician as me, IndividualCryptoActivity as Te, IndividualIndustry as le, IndividualSourceOfFunds as Se, InitiateEmailAuthenticationNextStepType as Ae, InitiateEmailAuthenticationRequestType as Ee, InitiateSmsAuthenticationNextStepType as Ce, InitiateSmsAuthenticationRequestType as he, InvitationStatus as ve, KnownAbiType as Oe, KnownIdlType as Pe, LimitPeriod as ge, LinkAccountType as Re, LinkableEntityType as Ue, ListEvmTokenBalancesNetwork as ke, ListSolanaTokenBalancesNetwork as Ie, MintAddressCriterionOperator as we, MintAddressCriterionType as Ne, NetUSDChangeCriterionOperator as fe, NetUSDChangeCriterionType as De, Network as Me, OAuth2ErrorCode as We, OAuth2ProviderType as Ve, OnchainDataResultSchemaColumnsItemType as be, OnrampOrderFeeType as Xe, OnrampOrderPaymentMethodTypeId as Fe, OnrampOrderStatus as Le, OnrampPaymentLinkType as qe, OnrampQuotePaymentMethodTypeId as xe, PaymentAccountType as Be, PaymentRailAction as He, PaymentStatus as Ke, PaymentsPaymentMethodType as je, PaymentsTransferSourceType as Qe, PaymentsTransferStatus as Ge, PaymentsTransferTargetType as Je, PermissionCatalogObjectsItemType as ze, PermissionSubjectType as Ye, PermissionVerb as Ze, PolicyScope as _e, PrepareUserOperationRuleAction as $e, PrepareUserOperationRuleOperation as et, ProgramIdCriterionOperator as tt, ProgramIdCriterionType as rt, RefreshAccessTokenBodyGrantType as nt, RequirementErrorCode as it, SendEvmTransactionRuleAction as ot, SendEvmTransactionRuleOperation as at, SendEvmTransactionWithEndUserAccountBodyNetwork as st, SendSolTransactionRuleAction as pt, SendSolTransactionRuleOperation as ct, SendSolanaTransactionWithEndUserAccountBodyNetwork as dt, SendUserOperationRuleAction as ut, SendUserOperationRuleOperation as yt, SignEvmHashRuleAction as mt, SignEvmHashRuleOperation as Tt, SignEvmMessageRuleAction as lt, SignEvmMessageRuleOperation as St, SignEvmTransactionRuleAction as At, SignEvmTransactionRuleOperation as Et, SignEvmTypedDataFieldCriterionType as Ct, SignEvmTypedDataRuleAction as ht, SignEvmTypedDataRuleOperation as vt, SignEvmTypedDataVerifyingContractCriterionOperator as Ot, SignEvmTypedDataVerifyingContractCriterionType as Pt, SignSolMessageRuleAction as gt, SignSolMessageRuleOperation as Rt, SignSolTransactionRuleAction as Ut, SignSolTransactionRuleOperation as kt, SmsAuthenticationType as It, SolAddressCriterionOperator as wt, SolAddressCriterionType as Nt, SolDataCriterionType as ft, SolDataParameterConditionListOperator as Dt, SolDataParameterConditionOperator as Mt, SolMessageCriterionType as Wt, SolNetworkCriterionNetworksItem as Vt, SolNetworkCriterionOperator as bt, SolNetworkCriterionType as Xt, SolValueCriterionOperator as Ft, SolValueCriterionType as Lt, SourceDepositInstructionsCurrency as qt, SourceDepositInstructionsPaymentMethodType as xt, SpendPermissionNetwork as Bt, SplAddressCriterionOperator as Ht, SplAddressCriterionType as Kt, SplValueCriterionOperator as jt, SplValueCriterionType as Qt, TransferCancellationReason as Gt, TransferFailureReason as Jt, TransferFeeName as zt, TransferReversalReason as Yt, TransferSourceDepositsInstructionsAssetId as Zt, TransferSourceDepositsInstructionsPaymentMethodType as _t, TransferStatus as $t, X402DiscoveryResourceType as er, X402PaymentPayloadNetwork as tr, X402PaymentPayloadScheme as rr, X402PaymentRequirementsNetwork as nr, X402PaymentRequirementsScheme as ir, X402SettleErrorReason as or, X402SupportedPaymentKindNetwork as ar, X402SupportedPaymentKindScheme as sr, X402VerifyInvalidReason as pr, X402Version as cr } from "./index3.js";
3
+ import { configureCdpApiClient as ur, setAuthManager as yr } from "./index4.js";
4
+ import { APIError as Tr, HttpErrorType as lr, UnknownApiError as Sr, UnknownError as Ar, isOpenAPIError as Er } from "./index5.js";
5
5
  export {
6
- Gt as APIError,
7
- D as AbiFunctionType,
8
- M as AbiInputType,
9
- I as AbiStateMutability,
10
- W as AccountSourceType,
11
- f as AccountType,
12
- V as AchDetailsAccountType,
13
- X as AddressRiskNetwork,
14
- x as AddressRiskRiskLevel,
6
+ Tr as APIError,
7
+ N as AbiFunctionType,
8
+ f as AbiInputType,
9
+ D as AbiStateMutability,
10
+ M as AccountType,
11
+ W as AchDetailsAccountType,
12
+ V as AddressRiskNetwork,
13
+ b as AddressRiskRiskLevel,
14
+ X as AssetType,
15
+ F as CapabilityStatus,
15
16
  L as CoolPaymentMethodType,
16
- q as CreatePaymentMethodRequestAchType,
17
- F as CreatePaymentMethodRequestFedwireType,
18
- b as CreateTransferQuoteAmountType,
19
- B as DeveloperJWTAuthenticationType,
20
- H as EmailAuthenticationType,
21
- K as ErrorType,
22
- Q as EthValueCriterionOperator,
23
- G as EthValueCriterionType,
24
- J as EvmAddressCriterionOperator,
25
- j as EvmAddressCriterionType,
26
- z as EvmDataCriterionType,
27
- Y as EvmDataParameterConditionListOperator,
28
- Z as EvmDataParameterConditionOperator,
29
- _ as EvmMessageCriterionType,
30
- $ as EvmNetworkCriterionNetworksItem,
31
- ee as EvmNetworkCriterionOperator,
32
- te as EvmNetworkCriterionType,
33
- re as EvmSwapsNetwork,
34
- ne as EvmTypedAddressConditionOperator,
35
- oe as EvmTypedNumericalConditionOperator,
36
- ie as EvmUserOperationNetwork,
37
- ae as EvmUserOperationStatus,
38
- se as FeeDetailsType,
39
- pe as FeeType,
40
- Jt as HttpErrorType,
41
- ce as InitiateEmailAuthenticationNextStepType,
42
- de as InitiateEmailAuthenticationRequestType,
43
- me as InitiateSmsAuthenticationNextStepType,
44
- ue as InitiateSmsAuthenticationRequestType,
45
- ye as KnownAbiType,
46
- Se as KnownIdlType,
47
- Te as LimitPeriod,
48
- le as ListEndUsersSortItem,
49
- Ee as ListEvmTokenBalancesNetwork,
50
- Ae as ListSolanaTokenBalancesNetwork,
51
- he as MintAddressCriterionOperator,
52
- Ce as MintAddressCriterionType,
53
- Oe as NetUSDChangeCriterionOperator,
54
- ve as NetUSDChangeCriterionType,
55
- ge as Network,
56
- Ue as OnchainDataResultSchemaColumnsItemType,
57
- Pe as OnrampOrderFeeType,
58
- Re as OnrampOrderPaymentMethodTypeId,
59
- ke as OnrampOrderStatus,
60
- we as OnrampPaymentLinkType,
61
- Ne as OnrampQuotePaymentMethodTypeId,
62
- De as PaymentMethodSourceType,
63
- Me as PaymentMethodType,
64
- Ie as PaymentRailAction,
65
- We as PaymentStatus,
66
- fe as PolicyScope,
67
- Ve as PrepareUserOperationRuleAction,
68
- Xe as PrepareUserOperationRuleOperation,
69
- xe as ProgramIdCriterionOperator,
70
- Le as ProgramIdCriterionType,
71
- qe as RefreshAccessTokenBodyGrantType,
72
- Fe as SendEvmTransactionRuleAction,
73
- be as SendEvmTransactionRuleOperation,
74
- Be as SendEvmTransactionWithEndUserAccountBodyNetwork,
75
- He as SendSolTransactionRuleAction,
76
- Ke as SendSolTransactionRuleOperation,
77
- Qe as SendSolanaTransactionWithEndUserAccountBodyNetwork,
78
- Ge as SendUserOperationRuleAction,
79
- Je as SendUserOperationRuleOperation,
80
- je as SignEvmHashRuleAction,
81
- ze as SignEvmHashRuleOperation,
82
- Ye as SignEvmMessageRuleAction,
83
- Ze as SignEvmMessageRuleOperation,
84
- _e as SignEvmTransactionRuleAction,
85
- $e as SignEvmTransactionRuleOperation,
86
- et as SignEvmTypedDataFieldCriterionType,
87
- tt as SignEvmTypedDataRuleAction,
88
- rt as SignEvmTypedDataRuleOperation,
89
- nt as SignEvmTypedDataVerifyingContractCriterionOperator,
90
- ot as SignEvmTypedDataVerifyingContractCriterionType,
91
- it as SignSolMessageRuleAction,
92
- at as SignSolMessageRuleOperation,
93
- st as SignSolTransactionRuleAction,
94
- pt as SignSolTransactionRuleOperation,
95
- ct as SmsAuthenticationType,
96
- dt as SolAddressCriterionOperator,
97
- mt as SolAddressCriterionType,
98
- ut as SolDataCriterionType,
99
- yt as SolDataParameterConditionListOperator,
100
- St as SolDataParameterConditionOperator,
101
- Tt as SolMessageCriterionType,
102
- lt as SolNetworkCriterionNetworksItem,
103
- Et as SolNetworkCriterionOperator,
104
- At as SolNetworkCriterionType,
105
- ht as SolValueCriterionOperator,
106
- Ct as SolValueCriterionType,
107
- Ot as SourceDepositInstructionsCurrency,
108
- vt as SourceDepositInstructionsPaymentMethodType,
109
- gt as SourceType,
110
- Ut as SpendPermissionNetwork,
111
- Pt as SplAddressCriterionOperator,
112
- Rt as SplAddressCriterionType,
113
- kt as SplValueCriterionOperator,
114
- wt as SplValueCriterionType,
115
- Nt as TransferSourceType,
116
- Dt as TransferStatus,
117
- Mt as TransferTargetType,
118
- jt as UnknownApiError,
119
- zt as UnknownError,
120
- It as X402DiscoveryResourceType,
121
- Wt as X402PaymentPayloadNetwork,
122
- ft as X402PaymentPayloadScheme,
123
- Vt as X402PaymentRequirementsNetwork,
124
- Xt as X402PaymentRequirementsScheme,
125
- xt as X402SettleErrorReason,
126
- Lt as X402SupportedPaymentKindNetwork,
127
- qt as X402SupportedPaymentKindScheme,
128
- Ft as X402VerifyInvalidReason,
129
- bt as X402Version,
130
- Ht as configureCdpApiClient,
17
+ q as CreateAccountRequestType,
18
+ x as CreatePaymentMethodRequestAchType,
19
+ B as CreatePaymentMethodRequestFedwireType,
20
+ H as CreateTransferQuoteAmountType,
21
+ K as CustomerType,
22
+ j as DeveloperJWTAuthenticationType,
23
+ Q as EmailAuthenticationType,
24
+ G as EntityStatus,
25
+ J as ErrorType,
26
+ z as EthValueCriterionOperator,
27
+ Y as EthValueCriterionType,
28
+ Z as EvmAddressCriterionOperator,
29
+ _ as EvmAddressCriterionType,
30
+ $ as EvmDataCriterionType,
31
+ ee as EvmDataParameterConditionListOperator,
32
+ te as EvmDataParameterConditionOperator,
33
+ re as EvmMessageCriterionType,
34
+ ne as EvmNetworkCriterionNetworksItem,
35
+ ie as EvmNetworkCriterionOperator,
36
+ oe as EvmNetworkCriterionType,
37
+ ae as EvmSwapsNetwork,
38
+ se as EvmTypedAddressConditionOperator,
39
+ pe as EvmTypedNumericalConditionOperator,
40
+ ce as EvmUserOperationNetwork,
41
+ de as EvmUserOperationStatus,
42
+ ue as FeeDetailsType,
43
+ ye as FeeType,
44
+ lr as HttpErrorType,
45
+ me as IndividualConnectionToPolitician,
46
+ Te as IndividualCryptoActivity,
47
+ le as IndividualIndustry,
48
+ Se as IndividualSourceOfFunds,
49
+ Ae as InitiateEmailAuthenticationNextStepType,
50
+ Ee as InitiateEmailAuthenticationRequestType,
51
+ Ce as InitiateSmsAuthenticationNextStepType,
52
+ he as InitiateSmsAuthenticationRequestType,
53
+ ve as InvitationStatus,
54
+ Oe as KnownAbiType,
55
+ Pe as KnownIdlType,
56
+ ge as LimitPeriod,
57
+ Re as LinkAccountType,
58
+ Ue as LinkableEntityType,
59
+ ke as ListEvmTokenBalancesNetwork,
60
+ Ie as ListSolanaTokenBalancesNetwork,
61
+ we as MintAddressCriterionOperator,
62
+ Ne as MintAddressCriterionType,
63
+ fe as NetUSDChangeCriterionOperator,
64
+ De as NetUSDChangeCriterionType,
65
+ Me as Network,
66
+ We as OAuth2ErrorCode,
67
+ Ve as OAuth2ProviderType,
68
+ be as OnchainDataResultSchemaColumnsItemType,
69
+ Xe as OnrampOrderFeeType,
70
+ Fe as OnrampOrderPaymentMethodTypeId,
71
+ Le as OnrampOrderStatus,
72
+ qe as OnrampPaymentLinkType,
73
+ xe as OnrampQuotePaymentMethodTypeId,
74
+ Be as PaymentAccountType,
75
+ He as PaymentRailAction,
76
+ Ke as PaymentStatus,
77
+ je as PaymentsPaymentMethodType,
78
+ Qe as PaymentsTransferSourceType,
79
+ Ge as PaymentsTransferStatus,
80
+ Je as PaymentsTransferTargetType,
81
+ ze as PermissionCatalogObjectsItemType,
82
+ Ye as PermissionSubjectType,
83
+ Ze as PermissionVerb,
84
+ _e as PolicyScope,
85
+ $e as PrepareUserOperationRuleAction,
86
+ et as PrepareUserOperationRuleOperation,
87
+ tt as ProgramIdCriterionOperator,
88
+ rt as ProgramIdCriterionType,
89
+ nt as RefreshAccessTokenBodyGrantType,
90
+ it as RequirementErrorCode,
91
+ ot as SendEvmTransactionRuleAction,
92
+ at as SendEvmTransactionRuleOperation,
93
+ st as SendEvmTransactionWithEndUserAccountBodyNetwork,
94
+ pt as SendSolTransactionRuleAction,
95
+ ct as SendSolTransactionRuleOperation,
96
+ dt as SendSolanaTransactionWithEndUserAccountBodyNetwork,
97
+ ut as SendUserOperationRuleAction,
98
+ yt as SendUserOperationRuleOperation,
99
+ mt as SignEvmHashRuleAction,
100
+ Tt as SignEvmHashRuleOperation,
101
+ lt as SignEvmMessageRuleAction,
102
+ St as SignEvmMessageRuleOperation,
103
+ At as SignEvmTransactionRuleAction,
104
+ Et as SignEvmTransactionRuleOperation,
105
+ Ct as SignEvmTypedDataFieldCriterionType,
106
+ ht as SignEvmTypedDataRuleAction,
107
+ vt as SignEvmTypedDataRuleOperation,
108
+ Ot as SignEvmTypedDataVerifyingContractCriterionOperator,
109
+ Pt as SignEvmTypedDataVerifyingContractCriterionType,
110
+ gt as SignSolMessageRuleAction,
111
+ Rt as SignSolMessageRuleOperation,
112
+ Ut as SignSolTransactionRuleAction,
113
+ kt as SignSolTransactionRuleOperation,
114
+ It as SmsAuthenticationType,
115
+ wt as SolAddressCriterionOperator,
116
+ Nt as SolAddressCriterionType,
117
+ ft as SolDataCriterionType,
118
+ Dt as SolDataParameterConditionListOperator,
119
+ Mt as SolDataParameterConditionOperator,
120
+ Wt as SolMessageCriterionType,
121
+ Vt as SolNetworkCriterionNetworksItem,
122
+ bt as SolNetworkCriterionOperator,
123
+ Xt as SolNetworkCriterionType,
124
+ Ft as SolValueCriterionOperator,
125
+ Lt as SolValueCriterionType,
126
+ qt as SourceDepositInstructionsCurrency,
127
+ xt as SourceDepositInstructionsPaymentMethodType,
128
+ Bt as SpendPermissionNetwork,
129
+ Ht as SplAddressCriterionOperator,
130
+ Kt as SplAddressCriterionType,
131
+ jt as SplValueCriterionOperator,
132
+ Qt as SplValueCriterionType,
133
+ Gt as TransferCancellationReason,
134
+ Jt as TransferFailureReason,
135
+ zt as TransferFeeName,
136
+ Yt as TransferReversalReason,
137
+ Zt as TransferSourceDepositsInstructionsAssetId,
138
+ _t as TransferSourceDepositsInstructionsPaymentMethodType,
139
+ $t as TransferStatus,
140
+ Sr as UnknownApiError,
141
+ Ar as UnknownError,
142
+ er as X402DiscoveryResourceType,
143
+ tr as X402PaymentPayloadNetwork,
144
+ rr as X402PaymentPayloadScheme,
145
+ nr as X402PaymentRequirementsNetwork,
146
+ ir as X402PaymentRequirementsScheme,
147
+ or as X402SettleErrorReason,
148
+ ar as X402SupportedPaymentKindNetwork,
149
+ sr as X402SupportedPaymentKindScheme,
150
+ pr as X402VerifyInvalidReason,
151
+ cr as X402Version,
152
+ ur as configureCdpApiClient,
131
153
  r as createEndUserEvmAccount,
132
154
  n as createEndUserEvmSmartAccount,
133
- o as createEndUserSolanaAccount,
134
- i as createSpendPermissionWithEndUserAccount,
155
+ i as createEndUserSolanaAccount,
156
+ o as createSpendPermissionWithEndUserAccount,
135
157
  a as exportEndUserEvmAccount,
136
158
  s as exportEndUserSolanaAccount,
137
159
  p as getAuthenticatedEndUser,
138
160
  c as getUserOperationWithEndUserAccount,
139
161
  d as initiateAuthentication,
140
- Yt as isOpenAPIError,
141
- m as listEndUsers,
162
+ Er as isOpenAPIError,
142
163
  u as listSpendPermissionsWithEndUserAccount,
143
164
  y as logOutEndUser,
144
- S as refreshAccessToken,
165
+ m as refreshAccessToken,
145
166
  T as registerTemporaryWalletSecret,
146
167
  l as revokeSpendPermissionWithEndUserAccount,
147
- E as sendEvmTransactionWithEndUserAccount,
168
+ S as sendEvmTransactionWithEndUserAccount,
148
169
  A as sendSolanaTransactionWithEndUserAccount,
149
- h as sendUserOperationWithEndUserAccount,
150
- Kt as setAuthManager,
170
+ E as sendUserOperationWithEndUserAccount,
171
+ yr as setAuthManager,
151
172
  C as signEvmHashWithEndUserAccount,
152
- O as signEvmMessageWithEndUserAccount,
173
+ h as signEvmMessageWithEndUserAccount,
153
174
  v as signEvmTransactionWithEndUserAccount,
154
- g as signEvmTypedDataWithEndUserAccount,
155
- U as signSolanaHashWithEndUserAccount,
156
- P as signSolanaMessageWithEndUserAccount,
175
+ O as signEvmTypedDataWithEndUserAccount,
176
+ P as signSolanaHashWithEndUserAccount,
177
+ g as signSolanaMessageWithEndUserAccount,
157
178
  R as signSolanaTransactionWithEndUserAccount,
158
- k as verifyEmailAuthentication,
159
- w as verifySmsAuthentication
179
+ U as verifyEmailAuthentication,
180
+ k as verifyOAuthCode,
181
+ I as verifySmsAuthentication
160
182
  };
@@ -1,5 +1,5 @@
1
- import { cdpApiClient as a } from "./index4.js";
2
- const d = (e, t) => a({ url: "/v2/end-users", method: "GET", params: e }, t), c = (e, t, n) => a(
1
+ import { cdpApiClient as s } from "./index4.js";
2
+ const d = (e, t, n) => s(
3
3
  {
4
4
  url: `/v2/embedded-wallet-api/projects/${e}/auth/init`,
5
5
  method: "POST",
@@ -7,7 +7,7 @@ const d = (e, t) => a({ url: "/v2/end-users", method: "GET", params: e }, t), c
7
7
  data: t
8
8
  },
9
9
  n
10
- ), i = (e, t, n) => a(
10
+ ), i = (e, t, n) => s(
11
11
  {
12
12
  url: `/v2/embedded-wallet-api/projects/${e}/auth/verify/email`,
13
13
  method: "POST",
@@ -15,7 +15,7 @@ const d = (e, t) => a({ url: "/v2/end-users", method: "GET", params: e }, t), c
15
15
  data: t
16
16
  },
17
17
  n
18
- ), p = (e, t, n) => a(
18
+ ), c = (e, t, n) => s(
19
19
  {
20
20
  url: `/v2/embedded-wallet-api/projects/${e}/auth/verify/sms`,
21
21
  method: "POST",
@@ -23,7 +23,15 @@ const d = (e, t) => a({ url: "/v2/end-users", method: "GET", params: e }, t), c
23
23
  data: t
24
24
  },
25
25
  n
26
- ), l = (e, t, n) => a(
26
+ ), p = (e, t, n, a) => s(
27
+ {
28
+ url: `/v2/embedded-wallet-api/projects/${e}/auth/verify/oauth/${t}`,
29
+ method: "POST",
30
+ headers: { "Content-Type": "application/json" },
31
+ data: n
32
+ },
33
+ a
34
+ ), l = (e, t, n) => s(
27
35
  {
28
36
  url: `/v2/embedded-wallet-api/projects/${e}/auth/refresh`,
29
37
  method: "POST",
@@ -31,196 +39,201 @@ const d = (e, t) => a({ url: "/v2/end-users", method: "GET", params: e }, t), c
31
39
  data: t
32
40
  },
33
41
  n
34
- ), u = (e, t) => a(
35
- { url: `/v2/embedded-wallet-api/projects/${e}/auth/logout`, method: "POST" },
36
- t
37
- ), m = (e, t, n) => a(
42
+ ), u = (e, t, n) => s(
43
+ {
44
+ url: `/v2/embedded-wallet-api/projects/${e}/auth/logout`,
45
+ method: "POST",
46
+ headers: { "Content-Type": "application/json" },
47
+ data: t
48
+ },
49
+ n
50
+ ), m = (e, t, n) => s(
38
51
  { url: `/v2/embedded-wallet-api/projects/${e}/end-users/${t}`, method: "GET" },
39
52
  n
40
- ), h = (e, t, n, s) => a(
53
+ ), h = (e, t, n, a) => s(
41
54
  {
42
55
  url: `/v2/embedded-wallet-api/projects/${e}/end-users/${t}/wallet-secrets`,
43
56
  method: "PUT",
44
57
  headers: { "Content-Type": "application/json" },
45
58
  data: n
46
59
  },
47
- s
48
- ), T = (e, t, n, s) => a(
60
+ a
61
+ ), T = (e, t, n, a) => s(
49
62
  {
50
63
  url: `/v2/embedded-wallet-api/projects/${e}/end-users/${t}/evm`,
51
64
  method: "POST",
52
65
  headers: { "Content-Type": "application/json" },
53
66
  data: n
54
67
  },
55
- s
56
- ), v = (e, t, n, s) => a(
68
+ a
69
+ ), v = (e, t, n, a) => s(
57
70
  {
58
71
  url: `/v2/embedded-wallet-api/projects/${e}/end-users/${t}/evm/sign`,
59
72
  method: "POST",
60
73
  headers: { "Content-Type": "application/json" },
61
74
  data: n
62
75
  },
63
- s
64
- ), $ = (e, t, n, s) => a(
76
+ a
77
+ ), $ = (e, t, n, a) => s(
65
78
  {
66
79
  url: `/v2/embedded-wallet-api/projects/${e}/end-users/${t}/evm/sign/transaction`,
67
80
  method: "POST",
68
81
  headers: { "Content-Type": "application/json" },
69
82
  data: n
70
83
  },
71
- s
72
- ), j = (e, t, n, s) => a(
84
+ a
85
+ ), j = (e, t, n, a) => s(
73
86
  {
74
87
  url: `/v2/embedded-wallet-api/projects/${e}/end-users/${t}/evm/send/transaction`,
75
88
  method: "POST",
76
89
  headers: { "Content-Type": "application/json" },
77
90
  data: n
78
91
  },
79
- s
80
- ), E = (e, t, n, s) => a(
92
+ a
93
+ ), S = (e, t, n, a) => s(
81
94
  {
82
95
  url: `/v2/embedded-wallet-api/projects/${e}/end-users/${t}/evm/sign/message`,
83
96
  method: "POST",
84
97
  headers: { "Content-Type": "application/json" },
85
98
  data: n
86
99
  },
87
- s
88
- ), S = (e, t, n, s) => a(
100
+ a
101
+ ), y = (e, t, n, a) => s(
89
102
  {
90
103
  url: `/v2/embedded-wallet-api/projects/${e}/end-users/${t}/evm/sign/typed-data`,
91
104
  method: "POST",
92
105
  headers: { "Content-Type": "application/json" },
93
106
  data: n
94
107
  },
95
- s
96
- ), y = (e, t, n, s) => a(
108
+ a
109
+ ), E = (e, t, n, a) => s(
97
110
  {
98
111
  url: `/v2/embedded-wallet-api/projects/${e}/end-users/${t}/evm/export`,
99
112
  method: "POST",
100
113
  headers: { "Content-Type": "application/json" },
101
114
  data: n
102
115
  },
103
- s
104
- ), w = (e, t, n, s) => a(
116
+ a
117
+ ), w = (e, t, n, a) => s(
105
118
  {
106
119
  url: `/v2/embedded-wallet-api/projects/${e}/end-users/${t}/evm/smart-accounts`,
107
120
  method: "POST",
108
121
  headers: { "Content-Type": "application/json" },
109
122
  data: n
110
123
  },
111
- s
112
- ), b = (e, t, n, s, r) => a(
124
+ a
125
+ ), b = (e, t, n, a, r) => s(
113
126
  {
114
- url: `/v2/embedded-wallet-api/projects/${e}/end-users/${t}/evm/smart-accounts/${n}/user-operations/${s}`,
127
+ url: `/v2/embedded-wallet-api/projects/${e}/end-users/${t}/evm/smart-accounts/${n}/user-operations/${a}`,
115
128
  method: "GET"
116
129
  },
117
130
  r
118
- ), P = (e, t, n, s, r) => a(
131
+ ), O = (e, t, n, a, r) => s(
119
132
  {
120
133
  url: `/v2/embedded-wallet-api/projects/${e}/end-users/${t}/evm/smart-accounts/${n}/send`,
121
134
  method: "POST",
122
135
  headers: { "Content-Type": "application/json" },
123
- data: s
136
+ data: a
124
137
  },
125
138
  r
126
- ), A = (e, t, n, s, r) => a(
139
+ ), P = (e, t, n, a, r) => s(
127
140
  {
128
141
  url: `/v2/embedded-wallet-api/projects/${e}/end-users/${t}/evm/smart-accounts/${n}/spend-permissions`,
129
142
  method: "POST",
130
143
  headers: { "Content-Type": "application/json" },
131
- data: s
144
+ data: a
132
145
  },
133
146
  r
134
- ), O = (e, t, n, s, r) => a(
147
+ ), A = (e, t, n, a, r) => s(
135
148
  {
136
149
  url: `/v2/embedded-wallet-api/projects/${e}/end-users/${t}/evm/smart-accounts/${n}/spend-permissions/list`,
137
150
  method: "GET",
138
- params: s
151
+ params: a
139
152
  },
140
153
  r
141
- ), U = (e, t, n, s, r) => a(
154
+ ), C = (e, t, n, a, r) => s(
142
155
  {
143
156
  url: `/v2/embedded-wallet-api/projects/${e}/end-users/${t}/evm/smart-accounts/${n}/spend-permissions/revoke`,
144
157
  method: "POST",
145
158
  headers: { "Content-Type": "application/json" },
146
- data: s
159
+ data: a
147
160
  },
148
161
  r
149
- ), g = (e, t, n, s) => a(
162
+ ), U = (e, t, n, a) => s(
150
163
  {
151
164
  url: `/v2/embedded-wallet-api/projects/${e}/end-users/${t}/solana`,
152
165
  method: "POST",
153
166
  headers: { "Content-Type": "application/json" },
154
167
  data: n
155
168
  },
156
- s
157
- ), C = (e, t, n, s) => a(
169
+ a
170
+ ), g = (e, t, n, a) => s(
158
171
  {
159
172
  url: `/v2/embedded-wallet-api/projects/${e}/end-users/${t}/solana/export`,
160
173
  method: "POST",
161
174
  headers: { "Content-Type": "application/json" },
162
175
  data: n
163
176
  },
164
- s
165
- ), W = (e, t, n, s) => a(
177
+ a
178
+ ), W = (e, t, n, a) => s(
166
179
  {
167
180
  url: `/v2/embedded-wallet-api/projects/${e}/end-users/${t}/solana/sign`,
168
181
  method: "POST",
169
182
  headers: { "Content-Type": "application/json" },
170
183
  data: n
171
184
  },
172
- s
173
- ), f = (e, t, n, s) => a(
185
+ a
186
+ ), f = (e, t, n, a) => s(
174
187
  {
175
188
  url: `/v2/embedded-wallet-api/projects/${e}/end-users/${t}/solana/sign/message`,
176
189
  method: "POST",
177
190
  headers: { "Content-Type": "application/json" },
178
191
  data: n
179
192
  },
180
- s
181
- ), x = (e, t, n, s) => a(
193
+ a
194
+ ), x = (e, t, n, a) => s(
182
195
  {
183
196
  url: `/v2/embedded-wallet-api/projects/${e}/end-users/${t}/solana/sign/transaction`,
184
197
  method: "POST",
185
198
  headers: { "Content-Type": "application/json" },
186
199
  data: n
187
200
  },
188
- s
189
- ), G = (e, t, n, s) => a(
201
+ a
202
+ ), k = (e, t, n, a) => s(
190
203
  {
191
204
  url: `/v2/embedded-wallet-api/projects/${e}/end-users/${t}/solana/send/transaction`,
192
205
  method: "POST",
193
206
  headers: { "Content-Type": "application/json" },
194
207
  data: n
195
208
  },
196
- s
209
+ a
197
210
  );
198
211
  export {
199
212
  T as createEndUserEvmAccount,
200
213
  w as createEndUserEvmSmartAccount,
201
- g as createEndUserSolanaAccount,
202
- A as createSpendPermissionWithEndUserAccount,
203
- y as exportEndUserEvmAccount,
204
- C as exportEndUserSolanaAccount,
214
+ U as createEndUserSolanaAccount,
215
+ P as createSpendPermissionWithEndUserAccount,
216
+ E as exportEndUserEvmAccount,
217
+ g as exportEndUserSolanaAccount,
205
218
  m as getAuthenticatedEndUser,
206
219
  b as getUserOperationWithEndUserAccount,
207
- c as initiateAuthentication,
208
- d as listEndUsers,
209
- O as listSpendPermissionsWithEndUserAccount,
220
+ d as initiateAuthentication,
221
+ A as listSpendPermissionsWithEndUserAccount,
210
222
  u as logOutEndUser,
211
223
  l as refreshAccessToken,
212
224
  h as registerTemporaryWalletSecret,
213
- U as revokeSpendPermissionWithEndUserAccount,
225
+ C as revokeSpendPermissionWithEndUserAccount,
214
226
  j as sendEvmTransactionWithEndUserAccount,
215
- G as sendSolanaTransactionWithEndUserAccount,
216
- P as sendUserOperationWithEndUserAccount,
227
+ k as sendSolanaTransactionWithEndUserAccount,
228
+ O as sendUserOperationWithEndUserAccount,
217
229
  v as signEvmHashWithEndUserAccount,
218
- E as signEvmMessageWithEndUserAccount,
230
+ S as signEvmMessageWithEndUserAccount,
219
231
  $ as signEvmTransactionWithEndUserAccount,
220
- S as signEvmTypedDataWithEndUserAccount,
232
+ y as signEvmTypedDataWithEndUserAccount,
221
233
  W as signSolanaHashWithEndUserAccount,
222
234
  f as signSolanaMessageWithEndUserAccount,
223
235
  x as signSolanaTransactionWithEndUserAccount,
224
236
  i as verifyEmailAuthentication,
225
- p as verifySmsAuthentication
237
+ p as verifyOAuthCode,
238
+ c as verifySmsAuthentication
226
239
  };