@coinbase/cdp-api-client 0.0.73 → 0.0.74

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,146 +1,146 @@
1
1
  import { Analytics as e } from "./index2.js";
2
2
  import "./index3.js";
3
3
  import { VERSION as t } from "./index4.js";
4
- import { authenticateUserWithCustomAuth as s, createEndUserEvmAccount as p, createEndUserEvmSmartAccount as c, createEndUserSolanaAccount as d, createSpendPermissionWithEndUserAccount as m, exportEndUserEvmAccount as u, exportEndUserSolanaAccount as l, getAuthenticatedEndUser as y, getUserOperationWithEndUserAccount as T, initiateAuthentication as S, initiateMfaEnrollment as E, initiateMfaVerification as A, listSpendPermissionsWithEndUserAccount as h, logOutEndUser as C, recordMfaEnrollmentPrompted as O, refreshAccessToken as v, registerTemporaryWalletSecret as g, revokeSpendPermissionWithEndUserAccount as R, sendEvmTransactionWithEndUserAccount as k, sendSolanaTransactionWithEndUserAccount as P, sendUserOperationWithEndUserAccount as U, signEvmHashWithEndUserAccount as f, signEvmMessageWithEndUserAccount as w, signEvmTransactionWithEndUserAccount as N, signEvmTypedDataWithEndUserAccount as D, signSolanaHashWithEndUserAccount as M, signSolanaMessageWithEndUserAccount as W, signSolanaTransactionWithEndUserAccount as I, submitMfaEnrollment as V, submitMfaVerification as b, verifyEmailAuthentication as q, verifyOAuthCode as L, verifySmsAuthentication as X } from "./index5.js";
5
- import { AbiFunctionType as F, AbiInputType as B, AbiStateMutability as H, AccountType as K, AchDetailsAccountType as j, AddressRiskNetwork as G, AddressRiskRiskLevel as J, AssetType as Q, CapabilityStatus as _, CoolPaymentMethodType as z, CreateDepositDestinationRequestType as Y, CreatePaymentMethodRequestAchType as Z, CreatePaymentMethodRequestFedwireType as $, CryptoDepositDestinationType as ee, CustomerType as te, DepositDestinationType as re, DeveloperJWTAuthenticationType as ne, EmailAuthenticationType as ie, ErrorType as oe, EthValueCriterionOperator as ae, EthValueCriterionType as se, EvmAddressCriterionOperator as pe, EvmAddressCriterionType as ce, EvmDataCriterionType as de, EvmDataParameterConditionListOperator as me, EvmDataParameterConditionOperator as ue, EvmMessageCriterionType as le, EvmNetworkCriterionNetworksItem as ye, EvmNetworkCriterionOperator as Te, EvmNetworkCriterionType as Se, EvmSwapsNetwork as Ee, EvmTypedAddressConditionOperator as Ae, EvmTypedNumericalConditionOperator as he, EvmUserOperationNetwork as Ce, EvmUserOperationStatus as Oe, InitiateEmailAuthenticationNextStepType as ve, InitiateEmailAuthenticationRequestType as ge, InitiateSmsAuthenticationNextStepType as Re, InitiateSmsAuthenticationRequestType as ke, InvitationStatus as Pe, KnownAbiType as Ue, KnownIdlType as fe, LimitPeriod as we, LinkAccountType as Ne, LinkableEntityRole as De, LinkableEntityType as Me, ListEvmTokenBalancesNetwork as We, ListSolanaTokenBalancesNetwork as Ie, MfaMethod as Ve, MintAddressCriterionOperator as be, MintAddressCriterionType as qe, NetUSDChangeCriterionOperator as Le, NetUSDChangeCriterionType as Xe, Network as xe, OAuth2ProviderType as Fe, OnchainDataResultSchemaColumnsItemType as Be, OnrampOrderFeeType as He, OnrampOrderPaymentMethodTypeId as Ke, OnrampOrderStatus as je, OnrampPaymentLinkType as Ge, OnrampQuotePaymentMethodTypeId as Je, PermissionCatalogObjectsItemType as Qe, PermissionSubjectType as _e, PermissionVerb as ze, PolicyScope as Ye, PrepareUserOperationRuleAction as Ze, PrepareUserOperationRuleOperation as $e, ProgramIdCriterionOperator as et, ProgramIdCriterionType as tt, RefreshAccessTokenBodyGrantType as rt, RequirementErrorCode as nt, RequirementField as it, SendEvmTransactionRuleAction as ot, SendEvmTransactionRuleOperation as at, SendEvmTransactionWithEndUserAccountBodyNetwork as st, SendSolTransactionRuleAction as pt, SendSolTransactionRuleOperation as ct, SendSolanaTransactionWithEndUserAccountBodyNetwork as dt, SendUserOperationRuleAction as mt, SendUserOperationRuleOperation as ut, SignEvmHashRuleAction as lt, SignEvmHashRuleOperation as yt, SignEvmMessageRuleAction as Tt, SignEvmMessageRuleOperation as St, SignEvmTransactionRuleAction as Et, SignEvmTransactionRuleOperation as At, SignEvmTypedDataFieldCriterionType as ht, SignEvmTypedDataRuleAction as Ct, SignEvmTypedDataRuleOperation as Ot, SignEvmTypedDataVerifyingContractCriterionOperator as vt, SignEvmTypedDataVerifyingContractCriterionType as gt, SignSolMessageRuleAction as Rt, SignSolMessageRuleOperation as kt, SignSolTransactionRuleAction as Pt, SignSolTransactionRuleOperation as Ut, SmsAuthenticationType as ft, SolAddressCriterionOperator as wt, SolAddressCriterionType as Nt, SolDataCriterionType as Dt, SolDataParameterConditionListOperator as Mt, SolDataParameterConditionOperator as Wt, SolMessageCriterionType as It, SolNetworkCriterionNetworksItem as Vt, SolNetworkCriterionOperator as bt, SolNetworkCriterionType as qt, SolValueCriterionOperator as Lt, SolValueCriterionType as Xt, SpendPermissionNetwork as xt, SplAddressCriterionOperator as Ft, SplAddressCriterionType as Bt, SplValueCriterionOperator as Ht, SplValueCriterionType as Kt, TransferCancellationReason as jt, TransferFeeType as Gt, TransferRequestAmountType as Jt, TransferReversalReason as Qt, TransferStatus as _t, TransferStatusChangedWebhookEventEventType as zt, X402DiscoveryResourceType as Yt, X402PaymentPayloadNetwork as Zt, X402PaymentPayloadScheme as $t, X402PaymentRequirementsNetwork as er, X402PaymentRequirementsScheme as tr, X402SettleErrorReason as rr, X402SupportedPaymentKindNetwork as nr, X402SupportedPaymentKindScheme as ir, X402VerifyInvalidReason as or, X402Version as ar } from "./index6.js";
6
- import { configureCdpApiClient as pr, setAuthManager as cr } from "./index7.js";
7
- import { APIError as mr, HttpErrorType as ur, UnknownApiError as lr, UnknownError as yr, isOpenAPIError as Tr } from "./index8.js";
4
+ import { authenticateUserWithCustomAuth as s, createEndUserEvmAccount as p, createEndUserEvmSmartAccount as c, createEndUserSolanaAccount as d, createSpendPermissionWithEndUserAccount as m, exportEndUserEvmAccount as u, exportEndUserSolanaAccount as l, getAuthenticatedEndUser as y, getMfaConfig as T, getUserOperationWithEndUserAccount as S, initiateAuthentication as E, initiateMfaEnrollment as A, initiateMfaVerification as h, listSpendPermissionsWithEndUserAccount as C, logOutEndUser as O, recordMfaEnrollmentPrompted as v, refreshAccessToken as g, registerTemporaryWalletSecret as R, revokeSpendPermissionWithEndUserAccount as k, sendEvmTransactionWithEndUserAccount as P, sendSolanaTransactionWithEndUserAccount as U, sendUserOperationWithEndUserAccount as f, signEvmHashWithEndUserAccount as w, signEvmMessageWithEndUserAccount as N, signEvmTransactionWithEndUserAccount as M, signEvmTypedDataWithEndUserAccount as D, signSolanaHashWithEndUserAccount as W, signSolanaMessageWithEndUserAccount as I, signSolanaTransactionWithEndUserAccount as V, submitMfaEnrollment as b, submitMfaVerification as q, verifyEmailAuthentication as L, verifyOAuthCode as X, verifySmsAuthentication as x } from "./index5.js";
5
+ import { AbiFunctionType as B, AbiInputType as H, AbiStateMutability as K, AccountType as j, AchDetailsAccountType as G, AddressRiskNetwork as J, AddressRiskRiskLevel as Q, AssetType as _, CapabilityStatus as z, CoolPaymentMethodType as Y, CreateDepositDestinationRequestType as Z, CreatePaymentMethodRequestAchType as $, CreatePaymentMethodRequestFedwireType as ee, CryptoDepositDestinationType as te, CustomerType as re, DepositDestinationType as ne, DeveloperJWTAuthenticationType as ie, EmailAuthenticationType as oe, ErrorType as ae, EthValueCriterionOperator as se, EthValueCriterionType as pe, EvmAddressCriterionOperator as ce, EvmAddressCriterionType as de, EvmDataCriterionType as me, EvmDataParameterConditionListOperator as ue, EvmDataParameterConditionOperator as le, EvmMessageCriterionType as ye, EvmNetworkCriterionNetworksItem as Te, EvmNetworkCriterionOperator as Se, EvmNetworkCriterionType as Ee, EvmSwapsNetwork as Ae, EvmTypedAddressConditionOperator as he, EvmTypedNumericalConditionOperator as Ce, EvmUserOperationNetwork as Oe, EvmUserOperationStatus as ve, InitiateEmailAuthenticationNextStepType as ge, InitiateEmailAuthenticationRequestType as Re, InitiateSmsAuthenticationNextStepType as ke, InitiateSmsAuthenticationRequestType as Pe, InvitationStatus as Ue, KnownAbiType as fe, KnownIdlType as we, LimitPeriod as Ne, LinkAccountType as Me, LinkableEntityRole as De, LinkableEntityType as We, ListEvmTokenBalancesNetwork as Ie, ListSolanaTokenBalancesNetwork as Ve, MfaMethod as be, MintAddressCriterionOperator as qe, MintAddressCriterionType as Le, NetUSDChangeCriterionOperator as Xe, NetUSDChangeCriterionType as xe, Network as Fe, OAuth2ProviderType as Be, OnchainDataResultSchemaColumnsItemType as He, OnrampOrderFeeType as Ke, OnrampOrderPaymentMethodTypeId as je, OnrampOrderStatus as Ge, OnrampPaymentLinkType as Je, OnrampQuotePaymentMethodTypeId as Qe, PermissionCatalogObjectsItemType as _e, PermissionSubjectType as ze, PermissionVerb as Ye, PolicyScope as Ze, PrepareUserOperationRuleAction as $e, PrepareUserOperationRuleOperation as et, ProgramIdCriterionOperator as tt, ProgramIdCriterionType as rt, RefreshAccessTokenBodyGrantType as nt, RequirementErrorCode as it, RequirementField as ot, SendEvmTransactionRuleAction as at, SendEvmTransactionRuleOperation as st, SendEvmTransactionWithEndUserAccountBodyNetwork as pt, SendSolTransactionRuleAction as ct, SendSolTransactionRuleOperation as dt, SendSolanaTransactionWithEndUserAccountBodyNetwork as mt, SendUserOperationRuleAction as ut, SendUserOperationRuleOperation as lt, SignEvmHashRuleAction as yt, SignEvmHashRuleOperation as Tt, SignEvmMessageRuleAction as St, SignEvmMessageRuleOperation as Et, SignEvmTransactionRuleAction as At, SignEvmTransactionRuleOperation as ht, SignEvmTypedDataFieldCriterionType as Ct, SignEvmTypedDataRuleAction as Ot, SignEvmTypedDataRuleOperation as vt, SignEvmTypedDataVerifyingContractCriterionOperator as gt, SignEvmTypedDataVerifyingContractCriterionType as Rt, SignSolMessageRuleAction as kt, SignSolMessageRuleOperation as Pt, SignSolTransactionRuleAction as Ut, SignSolTransactionRuleOperation as ft, SmsAuthenticationType as wt, SolAddressCriterionOperator as Nt, SolAddressCriterionType as Mt, SolDataCriterionType as Dt, SolDataParameterConditionListOperator as Wt, SolDataParameterConditionOperator as It, SolMessageCriterionType as Vt, SolNetworkCriterionNetworksItem as bt, SolNetworkCriterionOperator as qt, SolNetworkCriterionType as Lt, SolValueCriterionOperator as Xt, SolValueCriterionType as xt, SpendPermissionNetwork as Ft, SplAddressCriterionOperator as Bt, SplAddressCriterionType as Ht, SplValueCriterionOperator as Kt, SplValueCriterionType as jt, TransferCancellationReason as Gt, TransferFeeType as Jt, TransferRequestAmountType as Qt, TransferReversalReason as _t, TransferStatus as zt, TransferStatusChangedWebhookEventEventType as Yt, X402DiscoveryResourceType as Zt, X402PaymentPayloadNetwork as $t, X402PaymentPayloadScheme as er, X402PaymentRequirementsNetwork as tr, X402PaymentRequirementsScheme as rr, X402SettleErrorReason as nr, X402SupportedPaymentKindNetwork as ir, X402SupportedPaymentKindScheme as or, X402VerifyInvalidReason as ar, X402Version as sr } from "./index6.js";
6
+ import { configureCdpApiClient as cr, setAuthManager as dr } from "./index7.js";
7
+ import { APIError as ur, HttpErrorType as lr, UnknownApiError as yr, UnknownError as Tr, isOpenAPIError as Sr } from "./index8.js";
8
8
  e.registerPackageVersion("api_client", t);
9
9
  export {
10
- mr as APIError,
11
- F as AbiFunctionType,
12
- B as AbiInputType,
13
- H as AbiStateMutability,
14
- K as AccountType,
15
- j as AchDetailsAccountType,
16
- G as AddressRiskNetwork,
17
- J as AddressRiskRiskLevel,
18
- Q as AssetType,
19
- _ as CapabilityStatus,
20
- z as CoolPaymentMethodType,
21
- Y as CreateDepositDestinationRequestType,
22
- Z as CreatePaymentMethodRequestAchType,
23
- $ as CreatePaymentMethodRequestFedwireType,
24
- ee as CryptoDepositDestinationType,
25
- te as CustomerType,
26
- re as DepositDestinationType,
27
- ne as DeveloperJWTAuthenticationType,
28
- ie as EmailAuthenticationType,
29
- oe as ErrorType,
30
- ae as EthValueCriterionOperator,
31
- se as EthValueCriterionType,
32
- pe as EvmAddressCriterionOperator,
33
- ce as EvmAddressCriterionType,
34
- de as EvmDataCriterionType,
35
- me as EvmDataParameterConditionListOperator,
36
- ue as EvmDataParameterConditionOperator,
37
- le as EvmMessageCriterionType,
38
- ye as EvmNetworkCriterionNetworksItem,
39
- Te as EvmNetworkCriterionOperator,
40
- Se as EvmNetworkCriterionType,
41
- Ee as EvmSwapsNetwork,
42
- Ae as EvmTypedAddressConditionOperator,
43
- he as EvmTypedNumericalConditionOperator,
44
- Ce as EvmUserOperationNetwork,
45
- Oe as EvmUserOperationStatus,
46
- ur as HttpErrorType,
47
- ve as InitiateEmailAuthenticationNextStepType,
48
- ge as InitiateEmailAuthenticationRequestType,
49
- Re as InitiateSmsAuthenticationNextStepType,
50
- ke as InitiateSmsAuthenticationRequestType,
51
- Pe as InvitationStatus,
52
- Ue as KnownAbiType,
53
- fe as KnownIdlType,
54
- we as LimitPeriod,
55
- Ne as LinkAccountType,
10
+ ur as APIError,
11
+ B as AbiFunctionType,
12
+ H as AbiInputType,
13
+ K as AbiStateMutability,
14
+ j as AccountType,
15
+ G as AchDetailsAccountType,
16
+ J as AddressRiskNetwork,
17
+ Q as AddressRiskRiskLevel,
18
+ _ as AssetType,
19
+ z as CapabilityStatus,
20
+ Y as CoolPaymentMethodType,
21
+ Z as CreateDepositDestinationRequestType,
22
+ $ as CreatePaymentMethodRequestAchType,
23
+ ee as CreatePaymentMethodRequestFedwireType,
24
+ te as CryptoDepositDestinationType,
25
+ re as CustomerType,
26
+ ne as DepositDestinationType,
27
+ ie as DeveloperJWTAuthenticationType,
28
+ oe as EmailAuthenticationType,
29
+ ae as ErrorType,
30
+ se as EthValueCriterionOperator,
31
+ pe as EthValueCriterionType,
32
+ ce as EvmAddressCriterionOperator,
33
+ de as EvmAddressCriterionType,
34
+ me as EvmDataCriterionType,
35
+ ue as EvmDataParameterConditionListOperator,
36
+ le as EvmDataParameterConditionOperator,
37
+ ye as EvmMessageCriterionType,
38
+ Te as EvmNetworkCriterionNetworksItem,
39
+ Se as EvmNetworkCriterionOperator,
40
+ Ee as EvmNetworkCriterionType,
41
+ Ae as EvmSwapsNetwork,
42
+ he as EvmTypedAddressConditionOperator,
43
+ Ce as EvmTypedNumericalConditionOperator,
44
+ Oe as EvmUserOperationNetwork,
45
+ ve as EvmUserOperationStatus,
46
+ lr as HttpErrorType,
47
+ ge as InitiateEmailAuthenticationNextStepType,
48
+ Re as InitiateEmailAuthenticationRequestType,
49
+ ke as InitiateSmsAuthenticationNextStepType,
50
+ Pe as InitiateSmsAuthenticationRequestType,
51
+ Ue as InvitationStatus,
52
+ fe as KnownAbiType,
53
+ we as KnownIdlType,
54
+ Ne as LimitPeriod,
55
+ Me as LinkAccountType,
56
56
  De as LinkableEntityRole,
57
- Me as LinkableEntityType,
58
- We as ListEvmTokenBalancesNetwork,
59
- Ie as ListSolanaTokenBalancesNetwork,
60
- Ve as MfaMethod,
61
- be as MintAddressCriterionOperator,
62
- qe as MintAddressCriterionType,
63
- Le as NetUSDChangeCriterionOperator,
64
- Xe as NetUSDChangeCriterionType,
65
- xe as Network,
66
- Fe as OAuth2ProviderType,
67
- Be as OnchainDataResultSchemaColumnsItemType,
68
- He as OnrampOrderFeeType,
69
- Ke as OnrampOrderPaymentMethodTypeId,
70
- je as OnrampOrderStatus,
71
- Ge as OnrampPaymentLinkType,
72
- Je as OnrampQuotePaymentMethodTypeId,
73
- Qe as PermissionCatalogObjectsItemType,
74
- _e as PermissionSubjectType,
75
- ze as PermissionVerb,
76
- Ye as PolicyScope,
77
- Ze as PrepareUserOperationRuleAction,
78
- $e as PrepareUserOperationRuleOperation,
79
- et as ProgramIdCriterionOperator,
80
- tt as ProgramIdCriterionType,
81
- rt as RefreshAccessTokenBodyGrantType,
82
- nt as RequirementErrorCode,
83
- it as RequirementField,
84
- ot as SendEvmTransactionRuleAction,
85
- at as SendEvmTransactionRuleOperation,
86
- st as SendEvmTransactionWithEndUserAccountBodyNetwork,
87
- pt as SendSolTransactionRuleAction,
88
- ct as SendSolTransactionRuleOperation,
89
- dt as SendSolanaTransactionWithEndUserAccountBodyNetwork,
90
- mt as SendUserOperationRuleAction,
91
- ut as SendUserOperationRuleOperation,
92
- lt as SignEvmHashRuleAction,
93
- yt as SignEvmHashRuleOperation,
94
- Tt as SignEvmMessageRuleAction,
95
- St as SignEvmMessageRuleOperation,
96
- Et as SignEvmTransactionRuleAction,
97
- At as SignEvmTransactionRuleOperation,
98
- ht as SignEvmTypedDataFieldCriterionType,
99
- Ct as SignEvmTypedDataRuleAction,
100
- Ot as SignEvmTypedDataRuleOperation,
101
- vt as SignEvmTypedDataVerifyingContractCriterionOperator,
102
- gt as SignEvmTypedDataVerifyingContractCriterionType,
103
- Rt as SignSolMessageRuleAction,
104
- kt as SignSolMessageRuleOperation,
105
- Pt as SignSolTransactionRuleAction,
106
- Ut as SignSolTransactionRuleOperation,
107
- ft as SmsAuthenticationType,
108
- wt as SolAddressCriterionOperator,
109
- Nt as SolAddressCriterionType,
57
+ We as LinkableEntityType,
58
+ Ie as ListEvmTokenBalancesNetwork,
59
+ Ve as ListSolanaTokenBalancesNetwork,
60
+ be as MfaMethod,
61
+ qe as MintAddressCriterionOperator,
62
+ Le as MintAddressCriterionType,
63
+ Xe as NetUSDChangeCriterionOperator,
64
+ xe as NetUSDChangeCriterionType,
65
+ Fe as Network,
66
+ Be as OAuth2ProviderType,
67
+ He as OnchainDataResultSchemaColumnsItemType,
68
+ Ke as OnrampOrderFeeType,
69
+ je as OnrampOrderPaymentMethodTypeId,
70
+ Ge as OnrampOrderStatus,
71
+ Je as OnrampPaymentLinkType,
72
+ Qe as OnrampQuotePaymentMethodTypeId,
73
+ _e as PermissionCatalogObjectsItemType,
74
+ ze as PermissionSubjectType,
75
+ Ye as PermissionVerb,
76
+ Ze as PolicyScope,
77
+ $e as PrepareUserOperationRuleAction,
78
+ et as PrepareUserOperationRuleOperation,
79
+ tt as ProgramIdCriterionOperator,
80
+ rt as ProgramIdCriterionType,
81
+ nt as RefreshAccessTokenBodyGrantType,
82
+ it as RequirementErrorCode,
83
+ ot as RequirementField,
84
+ at as SendEvmTransactionRuleAction,
85
+ st as SendEvmTransactionRuleOperation,
86
+ pt as SendEvmTransactionWithEndUserAccountBodyNetwork,
87
+ ct as SendSolTransactionRuleAction,
88
+ dt as SendSolTransactionRuleOperation,
89
+ mt as SendSolanaTransactionWithEndUserAccountBodyNetwork,
90
+ ut as SendUserOperationRuleAction,
91
+ lt as SendUserOperationRuleOperation,
92
+ yt as SignEvmHashRuleAction,
93
+ Tt as SignEvmHashRuleOperation,
94
+ St as SignEvmMessageRuleAction,
95
+ Et as SignEvmMessageRuleOperation,
96
+ At as SignEvmTransactionRuleAction,
97
+ ht as SignEvmTransactionRuleOperation,
98
+ Ct as SignEvmTypedDataFieldCriterionType,
99
+ Ot as SignEvmTypedDataRuleAction,
100
+ vt as SignEvmTypedDataRuleOperation,
101
+ gt as SignEvmTypedDataVerifyingContractCriterionOperator,
102
+ Rt as SignEvmTypedDataVerifyingContractCriterionType,
103
+ kt as SignSolMessageRuleAction,
104
+ Pt as SignSolMessageRuleOperation,
105
+ Ut as SignSolTransactionRuleAction,
106
+ ft as SignSolTransactionRuleOperation,
107
+ wt as SmsAuthenticationType,
108
+ Nt as SolAddressCriterionOperator,
109
+ Mt as SolAddressCriterionType,
110
110
  Dt as SolDataCriterionType,
111
- Mt as SolDataParameterConditionListOperator,
112
- Wt as SolDataParameterConditionOperator,
113
- It as SolMessageCriterionType,
114
- Vt as SolNetworkCriterionNetworksItem,
115
- bt as SolNetworkCriterionOperator,
116
- qt as SolNetworkCriterionType,
117
- Lt as SolValueCriterionOperator,
118
- Xt as SolValueCriterionType,
119
- xt as SpendPermissionNetwork,
120
- Ft as SplAddressCriterionOperator,
121
- Bt as SplAddressCriterionType,
122
- Ht as SplValueCriterionOperator,
123
- Kt as SplValueCriterionType,
124
- jt as TransferCancellationReason,
125
- Gt as TransferFeeType,
126
- Jt as TransferRequestAmountType,
127
- Qt as TransferReversalReason,
128
- _t as TransferStatus,
129
- zt as TransferStatusChangedWebhookEventEventType,
130
- lr as UnknownApiError,
131
- yr as UnknownError,
132
- Yt as X402DiscoveryResourceType,
133
- Zt as X402PaymentPayloadNetwork,
134
- $t as X402PaymentPayloadScheme,
135
- er as X402PaymentRequirementsNetwork,
136
- tr as X402PaymentRequirementsScheme,
137
- rr as X402SettleErrorReason,
138
- nr as X402SupportedPaymentKindNetwork,
139
- ir as X402SupportedPaymentKindScheme,
140
- or as X402VerifyInvalidReason,
141
- ar as X402Version,
111
+ Wt as SolDataParameterConditionListOperator,
112
+ It as SolDataParameterConditionOperator,
113
+ Vt as SolMessageCriterionType,
114
+ bt as SolNetworkCriterionNetworksItem,
115
+ qt as SolNetworkCriterionOperator,
116
+ Lt as SolNetworkCriterionType,
117
+ Xt as SolValueCriterionOperator,
118
+ xt as SolValueCriterionType,
119
+ Ft as SpendPermissionNetwork,
120
+ Bt as SplAddressCriterionOperator,
121
+ Ht as SplAddressCriterionType,
122
+ Kt as SplValueCriterionOperator,
123
+ jt as SplValueCriterionType,
124
+ Gt as TransferCancellationReason,
125
+ Jt as TransferFeeType,
126
+ Qt as TransferRequestAmountType,
127
+ _t as TransferReversalReason,
128
+ zt as TransferStatus,
129
+ Yt as TransferStatusChangedWebhookEventEventType,
130
+ yr as UnknownApiError,
131
+ Tr as UnknownError,
132
+ Zt as X402DiscoveryResourceType,
133
+ $t as X402PaymentPayloadNetwork,
134
+ er as X402PaymentPayloadScheme,
135
+ tr as X402PaymentRequirementsNetwork,
136
+ rr as X402PaymentRequirementsScheme,
137
+ nr as X402SettleErrorReason,
138
+ ir as X402SupportedPaymentKindNetwork,
139
+ or as X402SupportedPaymentKindScheme,
140
+ ar as X402VerifyInvalidReason,
141
+ sr as X402Version,
142
142
  s as authenticateUserWithCustomAuth,
143
- pr as configureCdpApiClient,
143
+ cr as configureCdpApiClient,
144
144
  p as createEndUserEvmAccount,
145
145
  c as createEndUserEvmSmartAccount,
146
146
  d as createEndUserSolanaAccount,
@@ -148,31 +148,32 @@ export {
148
148
  u as exportEndUserEvmAccount,
149
149
  l as exportEndUserSolanaAccount,
150
150
  y as getAuthenticatedEndUser,
151
- T as getUserOperationWithEndUserAccount,
152
- S as initiateAuthentication,
153
- E as initiateMfaEnrollment,
154
- A as initiateMfaVerification,
155
- Tr as isOpenAPIError,
156
- h as listSpendPermissionsWithEndUserAccount,
157
- C as logOutEndUser,
158
- O as recordMfaEnrollmentPrompted,
159
- v as refreshAccessToken,
160
- g as registerTemporaryWalletSecret,
161
- R as revokeSpendPermissionWithEndUserAccount,
162
- k as sendEvmTransactionWithEndUserAccount,
163
- P as sendSolanaTransactionWithEndUserAccount,
164
- U as sendUserOperationWithEndUserAccount,
165
- cr as setAuthManager,
166
- f as signEvmHashWithEndUserAccount,
167
- w as signEvmMessageWithEndUserAccount,
168
- N as signEvmTransactionWithEndUserAccount,
151
+ T as getMfaConfig,
152
+ S as getUserOperationWithEndUserAccount,
153
+ E as initiateAuthentication,
154
+ A as initiateMfaEnrollment,
155
+ h as initiateMfaVerification,
156
+ Sr as isOpenAPIError,
157
+ C as listSpendPermissionsWithEndUserAccount,
158
+ O as logOutEndUser,
159
+ v as recordMfaEnrollmentPrompted,
160
+ g as refreshAccessToken,
161
+ R as registerTemporaryWalletSecret,
162
+ k as revokeSpendPermissionWithEndUserAccount,
163
+ P as sendEvmTransactionWithEndUserAccount,
164
+ U as sendSolanaTransactionWithEndUserAccount,
165
+ f as sendUserOperationWithEndUserAccount,
166
+ dr as setAuthManager,
167
+ w as signEvmHashWithEndUserAccount,
168
+ N as signEvmMessageWithEndUserAccount,
169
+ M as signEvmTransactionWithEndUserAccount,
169
170
  D as signEvmTypedDataWithEndUserAccount,
170
- M as signSolanaHashWithEndUserAccount,
171
- W as signSolanaMessageWithEndUserAccount,
172
- I as signSolanaTransactionWithEndUserAccount,
173
- V as submitMfaEnrollment,
174
- b as submitMfaVerification,
175
- q as verifyEmailAuthentication,
176
- L as verifyOAuthCode,
177
- X as verifySmsAuthentication
171
+ W as signSolanaHashWithEndUserAccount,
172
+ I as signSolanaMessageWithEndUserAccount,
173
+ V as signSolanaTransactionWithEndUserAccount,
174
+ b as submitMfaEnrollment,
175
+ q as submitMfaVerification,
176
+ L as verifyEmailAuthentication,
177
+ X as verifyOAuthCode,
178
+ x as verifySmsAuthentication
178
179
  };
@@ -1,4 +1,4 @@
1
- const o = "0.0.73";
1
+ const o = "0.0.74";
2
2
  export {
3
3
  o as VERSION
4
4
  };
@@ -53,10 +53,13 @@ const d = (e, t, n) => s(
53
53
  method: "POST"
54
54
  },
55
55
  t
56
- ), h = (e, t, n) => s(
56
+ ), h = (e, t) => s(
57
+ { url: `/v2/embedded-wallet-api/projects/${e}/auth/mfa`, method: "GET" },
58
+ t
59
+ ), $ = (e, t, n) => s(
57
60
  { url: `/v2/embedded-wallet-api/projects/${e}/end-users/${t}`, method: "GET" },
58
61
  n
59
- ), $ = (e, t, n, a) => s(
62
+ ), T = (e, t, n, a) => s(
60
63
  {
61
64
  url: `/v2/embedded-wallet-api/projects/${e}/end-users/${t}/wallet-secrets`,
62
65
  method: "PUT",
@@ -64,7 +67,7 @@ const d = (e, t, n) => s(
64
67
  data: n
65
68
  },
66
69
  a
67
- ), T = (e, t, n, a) => s(
70
+ ), v = (e, t, n, a) => s(
68
71
  {
69
72
  url: `/v2/embedded-wallet-api/projects/${e}/end-users/${t}/evm`,
70
73
  method: "POST",
@@ -72,7 +75,7 @@ const d = (e, t, n) => s(
72
75
  data: n
73
76
  },
74
77
  a
75
- ), v = (e, t, n, a) => s(
78
+ ), j = (e, t, n, a) => s(
76
79
  {
77
80
  url: `/v2/embedded-wallet-api/projects/${e}/end-users/${t}/evm/sign`,
78
81
  method: "POST",
@@ -80,7 +83,7 @@ const d = (e, t, n) => s(
80
83
  data: n
81
84
  },
82
85
  a
83
- ), j = (e, t, n, a) => s(
86
+ ), S = (e, t, n, a) => s(
84
87
  {
85
88
  url: `/v2/embedded-wallet-api/projects/${e}/end-users/${t}/evm/sign/transaction`,
86
89
  method: "POST",
@@ -88,7 +91,7 @@ const d = (e, t, n) => s(
88
91
  data: n
89
92
  },
90
93
  a
91
- ), S = (e, t, n, a) => s(
94
+ ), b = (e, t, n, a) => s(
92
95
  {
93
96
  url: `/v2/embedded-wallet-api/projects/${e}/end-users/${t}/evm/send/transaction`,
94
97
  method: "POST",
@@ -96,7 +99,7 @@ const d = (e, t, n) => s(
96
99
  data: n
97
100
  },
98
101
  a
99
- ), b = (e, t, n, a) => s(
102
+ ), y = (e, t, n, a) => s(
100
103
  {
101
104
  url: `/v2/embedded-wallet-api/projects/${e}/end-users/${t}/evm/sign/message`,
102
105
  method: "POST",
@@ -104,7 +107,7 @@ const d = (e, t, n) => s(
104
107
  data: n
105
108
  },
106
109
  a
107
- ), y = (e, t, n, a) => s(
110
+ ), E = (e, t, n, a) => s(
108
111
  {
109
112
  url: `/v2/embedded-wallet-api/projects/${e}/end-users/${t}/evm/sign/typed-data`,
110
113
  method: "POST",
@@ -112,7 +115,7 @@ const d = (e, t, n) => s(
112
115
  data: n
113
116
  },
114
117
  a
115
- ), E = (e, t, n, a) => s(
118
+ ), w = (e, t, n, a) => s(
116
119
  {
117
120
  url: `/v2/embedded-wallet-api/projects/${e}/end-users/${t}/evm/export`,
118
121
  method: "POST",
@@ -120,7 +123,7 @@ const d = (e, t, n) => s(
120
123
  data: n
121
124
  },
122
125
  a
123
- ), w = (e, t, n, a) => s(
126
+ ), P = (e, t, n, a) => s(
124
127
  {
125
128
  url: `/v2/embedded-wallet-api/projects/${e}/end-users/${t}/evm/smart-accounts`,
126
129
  method: "POST",
@@ -128,13 +131,13 @@ const d = (e, t, n) => s(
128
131
  data: n
129
132
  },
130
133
  a
131
- ), P = (e, t, n, a, r) => s(
134
+ ), O = (e, t, n, a, r) => s(
132
135
  {
133
136
  url: `/v2/embedded-wallet-api/projects/${e}/end-users/${t}/evm/smart-accounts/${n}/user-operations/${a}`,
134
137
  method: "GET"
135
138
  },
136
139
  r
137
- ), O = (e, t, n, a, r) => s(
140
+ ), C = (e, t, n, a, r) => s(
138
141
  {
139
142
  url: `/v2/embedded-wallet-api/projects/${e}/end-users/${t}/evm/smart-accounts/${n}/send`,
140
143
  method: "POST",
@@ -142,7 +145,7 @@ const d = (e, t, n) => s(
142
145
  data: a
143
146
  },
144
147
  r
145
- ), C = (e, t, n, a, r) => s(
148
+ ), A = (e, t, n, a, r) => s(
146
149
  {
147
150
  url: `/v2/embedded-wallet-api/projects/${e}/end-users/${t}/evm/smart-accounts/${n}/spend-permissions`,
148
151
  method: "POST",
@@ -150,7 +153,7 @@ const d = (e, t, n) => s(
150
153
  data: a
151
154
  },
152
155
  r
153
- ), A = (e, t, n, a, r) => s(
156
+ ), f = (e, t, n, a, r) => s(
154
157
  {
155
158
  url: `/v2/embedded-wallet-api/projects/${e}/end-users/${t}/evm/smart-accounts/${n}/spend-permissions/list`,
156
159
  method: "GET",
@@ -165,7 +168,7 @@ const d = (e, t, n) => s(
165
168
  data: a
166
169
  },
167
170
  r
168
- ), f = (e, t, n, a) => s(
171
+ ), g = (e, t, n, a) => s(
169
172
  {
170
173
  url: `/v2/embedded-wallet-api/projects/${e}/end-users/${t}/solana`,
171
174
  method: "POST",
@@ -173,7 +176,7 @@ const d = (e, t, n) => s(
173
176
  data: n
174
177
  },
175
178
  a
176
- ), g = (e, t, n, a) => s(
179
+ ), W = (e, t, n, a) => s(
177
180
  {
178
181
  url: `/v2/embedded-wallet-api/projects/${e}/end-users/${t}/solana/export`,
179
182
  method: "POST",
@@ -181,7 +184,7 @@ const d = (e, t, n) => s(
181
184
  data: n
182
185
  },
183
186
  a
184
- ), W = (e, t, n, a) => s(
187
+ ), M = (e, t, n, a) => s(
185
188
  {
186
189
  url: `/v2/embedded-wallet-api/projects/${e}/end-users/${t}/solana/sign`,
187
190
  method: "POST",
@@ -189,7 +192,7 @@ const d = (e, t, n) => s(
189
192
  data: n
190
193
  },
191
194
  a
192
- ), M = (e, t, n, a) => s(
195
+ ), x = (e, t, n, a) => s(
193
196
  {
194
197
  url: `/v2/embedded-wallet-api/projects/${e}/end-users/${t}/solana/sign/message`,
195
198
  method: "POST",
@@ -197,7 +200,7 @@ const d = (e, t, n) => s(
197
200
  data: n
198
201
  },
199
202
  a
200
- ), x = (e, t, n, a) => s(
203
+ ), G = (e, t, n, a) => s(
201
204
  {
202
205
  url: `/v2/embedded-wallet-api/projects/${e}/end-users/${t}/solana/sign/transaction`,
203
206
  method: "POST",
@@ -213,13 +216,13 @@ const d = (e, t, n) => s(
213
216
  data: n
214
217
  },
215
218
  a
216
- ), G = (e, t, n, a) => s(
219
+ ), H = (e, t, n, a) => s(
217
220
  {
218
221
  url: `/v2/embedded-wallet-api/projects/${e}/end-users/${t}/mfa/enroll/${n}/init`,
219
222
  method: "POST"
220
223
  },
221
224
  a
222
- ), H = (e, t, n, a, r) => s(
225
+ ), V = (e, t, n, a, r) => s(
223
226
  {
224
227
  url: `/v2/embedded-wallet-api/projects/${e}/end-users/${t}/mfa/enroll/${n}/submit`,
225
228
  method: "POST",
@@ -227,13 +230,13 @@ const d = (e, t, n) => s(
227
230
  data: a
228
231
  },
229
232
  r
230
- ), V = (e, t, n, a) => s(
233
+ ), D = (e, t, n, a) => s(
231
234
  {
232
235
  url: `/v2/embedded-wallet-api/projects/${e}/end-users/${t}/mfa/verify/${n}/init`,
233
236
  method: "POST"
234
237
  },
235
238
  a
236
- ), D = (e, t, n, a, r) => s(
239
+ ), q = (e, t, n, a, r) => s(
237
240
  {
238
241
  url: `/v2/embedded-wallet-api/projects/${e}/end-users/${t}/mfa/verify/${n}/submit`,
239
242
  method: "POST",
@@ -241,7 +244,7 @@ const d = (e, t, n) => s(
241
244
  data: a
242
245
  },
243
246
  r
244
- ), q = (e, t, n) => s(
247
+ ), z = (e, t, n) => s(
245
248
  {
246
249
  url: `/v2/embedded-wallet-api/projects/${e}/end-users/${t}/mfa/prompt`,
247
250
  method: "PUT"
@@ -250,35 +253,36 @@ const d = (e, t, n) => s(
250
253
  );
251
254
  export {
252
255
  m as authenticateUserWithCustomAuth,
253
- T as createEndUserEvmAccount,
254
- w as createEndUserEvmSmartAccount,
255
- f as createEndUserSolanaAccount,
256
- C as createSpendPermissionWithEndUserAccount,
257
- E as exportEndUserEvmAccount,
258
- g as exportEndUserSolanaAccount,
259
- h as getAuthenticatedEndUser,
260
- P as getUserOperationWithEndUserAccount,
256
+ v as createEndUserEvmAccount,
257
+ P as createEndUserEvmSmartAccount,
258
+ g as createEndUserSolanaAccount,
259
+ A as createSpendPermissionWithEndUserAccount,
260
+ w as exportEndUserEvmAccount,
261
+ W as exportEndUserSolanaAccount,
262
+ $ as getAuthenticatedEndUser,
263
+ h as getMfaConfig,
264
+ O as getUserOperationWithEndUserAccount,
261
265
  d as initiateAuthentication,
262
- G as initiateMfaEnrollment,
263
- V as initiateMfaVerification,
264
- A as listSpendPermissionsWithEndUserAccount,
266
+ H as initiateMfaEnrollment,
267
+ D as initiateMfaVerification,
268
+ f as listSpendPermissionsWithEndUserAccount,
265
269
  u as logOutEndUser,
266
- q as recordMfaEnrollmentPrompted,
270
+ z as recordMfaEnrollmentPrompted,
267
271
  l as refreshAccessToken,
268
- $ as registerTemporaryWalletSecret,
272
+ T as registerTemporaryWalletSecret,
269
273
  U as revokeSpendPermissionWithEndUserAccount,
270
- S as sendEvmTransactionWithEndUserAccount,
274
+ b as sendEvmTransactionWithEndUserAccount,
271
275
  k as sendSolanaTransactionWithEndUserAccount,
272
- O as sendUserOperationWithEndUserAccount,
273
- v as signEvmHashWithEndUserAccount,
274
- b as signEvmMessageWithEndUserAccount,
275
- j as signEvmTransactionWithEndUserAccount,
276
- y as signEvmTypedDataWithEndUserAccount,
277
- W as signSolanaHashWithEndUserAccount,
278
- M as signSolanaMessageWithEndUserAccount,
279
- x as signSolanaTransactionWithEndUserAccount,
280
- H as submitMfaEnrollment,
281
- D as submitMfaVerification,
276
+ C as sendUserOperationWithEndUserAccount,
277
+ j as signEvmHashWithEndUserAccount,
278
+ y as signEvmMessageWithEndUserAccount,
279
+ S as signEvmTransactionWithEndUserAccount,
280
+ E as signEvmTypedDataWithEndUserAccount,
281
+ M as signSolanaHashWithEndUserAccount,
282
+ x as signSolanaMessageWithEndUserAccount,
283
+ G as signSolanaTransactionWithEndUserAccount,
284
+ V as submitMfaEnrollment,
285
+ q as submitMfaVerification,
282
286
  i as verifyEmailAuthentication,
283
287
  c as verifyOAuthCode,
284
288
  p as verifySmsAuthentication
@@ -968,6 +968,10 @@ export declare const getAuthenticatedEndUser: (projectId: string, userId: string
968
968
 
969
969
  export declare type GetAuthenticatedEndUserResult = NonNullable<Awaited<ReturnType<typeof getAuthenticatedEndUser>>>;
970
970
 
971
+ export declare const getMfaConfig: (projectId: string, options?: SecondParameter<typeof cdpApiClient>) => Promise<MfaConfig>;
972
+
973
+ export declare type GetMfaConfigResult = NonNullable<Awaited<ReturnType<typeof getMfaConfig>>>;
974
+
971
975
  export declare type GetSwapPriceResponse = CommonSwapResponse & GetSwapPriceResponseAllOf;
972
976
 
973
977
  export declare type GetSwapPriceResponseAllOf = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coinbase/cdp-api-client",
3
- "version": "0.0.73",
3
+ "version": "0.0.74",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist/**",