@coinbase/cdp-sdk 1.48.2 → 1.49.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (78) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/_cjs/client/end-user/endUser.js +47 -0
  3. package/_cjs/client/end-user/endUser.js.map +1 -1
  4. package/_cjs/client/end-user/toEndUserAccount.js +11 -0
  5. package/_cjs/client/end-user/toEndUserAccount.js.map +1 -1
  6. package/_cjs/index.js.map +1 -1
  7. package/_cjs/openapi-client/generated/coinbaseDeveloperPlatformAPIs.schemas.js +34 -2
  8. package/_cjs/openapi-client/generated/coinbaseDeveloperPlatformAPIs.schemas.js.map +1 -1
  9. package/_cjs/openapi-client/generated/embedded-wallets/embedded-wallets.js +47 -2
  10. package/_cjs/openapi-client/generated/embedded-wallets/embedded-wallets.js.map +1 -1
  11. package/_cjs/openapi-client/generated/end-user-accounts/end-user-accounts.js +24 -2
  12. package/_cjs/openapi-client/generated/end-user-accounts/end-user-accounts.js.map +1 -1
  13. package/_cjs/openapi-client/generated/onramp/onramp.js +23 -1
  14. package/_cjs/openapi-client/generated/onramp/onramp.js.map +1 -1
  15. package/_cjs/policies/evmSchema.js +65 -1
  16. package/_cjs/policies/evmSchema.js.map +1 -1
  17. package/_cjs/policies/solanaSchema.js +34 -1
  18. package/_cjs/policies/solanaSchema.js.map +1 -1
  19. package/_cjs/policies/types.js +3 -0
  20. package/_cjs/policies/types.js.map +1 -1
  21. package/_cjs/version.js +1 -1
  22. package/_esm/client/end-user/endUser.js +47 -0
  23. package/_esm/client/end-user/endUser.js.map +1 -1
  24. package/_esm/client/end-user/toEndUserAccount.js +11 -0
  25. package/_esm/client/end-user/toEndUserAccount.js.map +1 -1
  26. package/_esm/index.js.map +1 -1
  27. package/_esm/openapi-client/generated/coinbaseDeveloperPlatformAPIs.schemas.js +32 -0
  28. package/_esm/openapi-client/generated/coinbaseDeveloperPlatformAPIs.schemas.js.map +1 -1
  29. package/_esm/openapi-client/generated/embedded-wallets/embedded-wallets.js +43 -1
  30. package/_esm/openapi-client/generated/embedded-wallets/embedded-wallets.js.map +1 -1
  31. package/_esm/openapi-client/generated/end-user-accounts/end-user-accounts.js +22 -1
  32. package/_esm/openapi-client/generated/end-user-accounts/end-user-accounts.js.map +1 -1
  33. package/_esm/openapi-client/generated/onramp/onramp.js +21 -0
  34. package/_esm/openapi-client/generated/onramp/onramp.js.map +1 -1
  35. package/_esm/policies/evmSchema.js +64 -0
  36. package/_esm/policies/evmSchema.js.map +1 -1
  37. package/_esm/policies/solanaSchema.js +33 -0
  38. package/_esm/policies/solanaSchema.js.map +1 -1
  39. package/_esm/policies/types.js +5 -2
  40. package/_esm/policies/types.js.map +1 -1
  41. package/_esm/version.js +1 -1
  42. package/_types/client/end-user/endUser.d.ts +35 -1
  43. package/_types/client/end-user/endUser.d.ts.map +1 -1
  44. package/_types/client/end-user/endUser.types.d.ts +68 -1
  45. package/_types/client/end-user/endUser.types.d.ts.map +1 -1
  46. package/_types/client/end-user/toEndUserAccount.d.ts.map +1 -1
  47. package/_types/index.d.ts +1 -1
  48. package/_types/index.d.ts.map +1 -1
  49. package/_types/openapi-client/generated/coinbaseDeveloperPlatformAPIs.schemas.d.ts +207 -1
  50. package/_types/openapi-client/generated/coinbaseDeveloperPlatformAPIs.schemas.d.ts.map +1 -1
  51. package/_types/openapi-client/generated/embedded-wallets/embedded-wallets.d.ts +24 -2
  52. package/_types/openapi-client/generated/embedded-wallets/embedded-wallets.d.ts.map +1 -1
  53. package/_types/openapi-client/generated/end-user-accounts/end-user-accounts.d.ts +22 -2
  54. package/_types/openapi-client/generated/end-user-accounts/end-user-accounts.d.ts.map +1 -1
  55. package/_types/openapi-client/generated/onramp/onramp.d.ts +16 -1
  56. package/_types/openapi-client/generated/onramp/onramp.d.ts.map +1 -1
  57. package/_types/openapi-client/index.d.ts +5 -1
  58. package/_types/openapi-client/index.d.ts.map +1 -1
  59. package/_types/policies/evmSchema.d.ts +1448 -0
  60. package/_types/policies/evmSchema.d.ts.map +1 -1
  61. package/_types/policies/solanaSchema.d.ts +472 -0
  62. package/_types/policies/solanaSchema.d.ts.map +1 -1
  63. package/_types/policies/types.d.ts +7642 -4536
  64. package/_types/policies/types.d.ts.map +1 -1
  65. package/_types/version.d.ts +1 -1
  66. package/client/end-user/endUser.ts +67 -0
  67. package/client/end-user/endUser.types.ts +83 -0
  68. package/client/end-user/toEndUserAccount.ts +27 -0
  69. package/index.ts +3 -0
  70. package/openapi-client/generated/coinbaseDeveloperPlatformAPIs.schemas.ts +266 -1
  71. package/openapi-client/generated/embedded-wallets/embedded-wallets.ts +86 -0
  72. package/openapi-client/generated/end-user-accounts/end-user-accounts.ts +31 -1
  73. package/openapi-client/generated/onramp/onramp.ts +31 -0
  74. package/package.json +2 -1
  75. package/policies/evmSchema.ts +82 -0
  76. package/policies/solanaSchema.ts +42 -0
  77. package/policies/types.ts +6 -0
  78. package/version.ts +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../policies/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAwBxB;;GAEG;AACH,MAAM,MAAM,MAAM,GAAG;IACnB,4CAA4C;IAC5C,EAAE,EAAE,MAAM,CAAC;IACX,4DAA4D;IAC5D,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,oFAAoF;IACpF,KAAK,EAAE,WAAW,CAAC;IACnB,gDAAgD;IAChD,KAAK,EAAE,IAAI,EAAE,CAAC;IACd,8DAA8D;IAC9D,SAAS,EAAE,MAAM,CAAC;IAClB,mEAAmE;IACnE,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,eAAe,mCAAiC,CAAC;AAC9D;;;GAGG;AACH,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;AAE1D;;GAEG;AACH,eA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAEH,CAAC;AACH;;;;GAIG;AACH,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC"}
@@ -1,2 +1,2 @@
1
- export declare const version = "1.48.2";
1
+ export declare const version = "1.49.0";
2
2
  //# sourceMappingURL=version.d.ts.map
@@ -17,6 +17,9 @@ import {
17
17
  type GetDelegationForEndUserOptions,
18
18
  type GetDelegationForEndUserResult,
19
19
  type RevokeDelegationForEndUserOptions,
20
+ type GetDelegationForEndUserAccountOptions,
21
+ type GetDelegationForEndUserAccountResult,
22
+ type RevokeDelegationForEndUserAccountOptions,
20
23
  type SignEvmTransactionOptions,
21
24
  type SignEvmTransactionResult,
22
25
  type SignEvmMessageOptions,
@@ -313,6 +316,70 @@ export class EndUserClient {
313
316
  await CdpOpenApiClient.revokeDelegationForEndUser(userId, {});
314
317
  }
315
318
 
319
+ // ─── Account-Scoped Delegation Methods ───
320
+
321
+ /**
322
+ * Gets the active account-scoped delegation for the specified end user account address, if one exists.
323
+ *
324
+ * @param options - The options for getting the account-scoped delegation.
325
+ *
326
+ * @returns A promise that resolves to the delegation details including its expiry.
327
+ *
328
+ * @example **Get the account-scoped delegation for an address**
329
+ * ```ts
330
+ * const delegation = await cdp.endUser.getDelegationForEndUserAccount({
331
+ * userId: "user-123",
332
+ * address: "0x1234...",
333
+ * });
334
+ * console.log(delegation.expiresAt);
335
+ * ```
336
+ */
337
+ async getDelegationForEndUserAccount(
338
+ options: GetDelegationForEndUserAccountOptions,
339
+ ): Promise<GetDelegationForEndUserAccountResult> {
340
+ Analytics.trackAction({
341
+ action: "get_delegation_for_end_user_account",
342
+ });
343
+
344
+ const { userId, address } = options;
345
+
346
+ return CdpOpenApiClient.getDelegationForEndUserAccount(userId, address);
347
+ }
348
+
349
+ /**
350
+ * Revokes the active account-scoped delegation for the specified end user account address.
351
+ * Other account-scoped delegations for the same user are unaffected.
352
+ *
353
+ * @param options - The options for revoking the account-scoped delegation.
354
+ *
355
+ * @returns A promise that resolves when the delegation has been revoked.
356
+ *
357
+ * @example **Revoke the account-scoped delegation for an address**
358
+ * ```ts
359
+ * await cdp.endUser.revokeDelegationForEndUserAccount({
360
+ * userId: "user-123",
361
+ * address: "0x1234...",
362
+ * });
363
+ * ```
364
+ */
365
+ async revokeDelegationForEndUserAccount(
366
+ options: RevokeDelegationForEndUserAccountOptions,
367
+ ): Promise<void> {
368
+ Analytics.trackAction({
369
+ action: "revoke_delegation_for_end_user_account",
370
+ });
371
+
372
+ const { userId, address, idempotencyKey } = options;
373
+
374
+ await CdpOpenApiClient.revokeDelegationForEndUserAccount(
375
+ userId,
376
+ address,
377
+ {},
378
+ undefined,
379
+ idempotencyKey,
380
+ );
381
+ }
382
+
316
383
  // ─── Delegated EVM Sign Methods ───
317
384
 
318
385
  /**
@@ -8,6 +8,7 @@ import type {
8
8
  AddEndUserSolanaAccount201,
9
9
  EndUser as OpenAPIEndUser,
10
10
  GetDelegationForEndUser200,
11
+ GetDelegationForEndUserAccount200,
11
12
  SignEvmTransactionWithEndUserAccount200,
12
13
  SignEvmMessageWithEndUserAccount200,
13
14
  SignEvmTypedDataWithEndUserAccount200,
@@ -165,6 +166,53 @@ export interface RevokeDelegationForEndUserOptions {
165
166
  userId: string;
166
167
  }
167
168
 
169
+ // ─── Account-Scoped Delegation Options/Results ───
170
+
171
+ /**
172
+ * The options for getting the account-scoped delegation for a specific end user account address.
173
+ */
174
+ export interface GetDelegationForEndUserAccountOptions {
175
+ /** The unique identifier of the end user. */
176
+ userId: string;
177
+ /** The blockchain address to get the delegation for. Must belong to the end user. */
178
+ address: string;
179
+ }
180
+
181
+ /** The result of getting the account-scoped delegation for a specific end user account. */
182
+ export type GetDelegationForEndUserAccountResult = GetDelegationForEndUserAccount200;
183
+
184
+ /**
185
+ * The options for revoking the account-scoped delegation for a specific end user account address.
186
+ */
187
+ export interface RevokeDelegationForEndUserAccountOptions {
188
+ /** The unique identifier of the end user. */
189
+ userId: string;
190
+ /** The blockchain address whose delegation should be revoked. Must belong to the end user. */
191
+ address: string;
192
+ /** Optional idempotency key for safe retries. */
193
+ idempotencyKey?: string;
194
+ }
195
+
196
+ // ─── Account-Scoped Delegation Options for EndUserAccount object ───
197
+
198
+ /**
199
+ * The options for getting the account-scoped delegation on an EndUserAccount object.
200
+ */
201
+ export interface AccountGetDelegationForAccountOptions {
202
+ /** The blockchain address to get the delegation for. Defaults to the first EVM EOA address. */
203
+ address?: string;
204
+ }
205
+
206
+ /**
207
+ * The options for revoking the account-scoped delegation on an EndUserAccount object.
208
+ */
209
+ export interface AccountRevokeDelegationForAccountOptions {
210
+ /** The blockchain address whose delegation should be revoked. Defaults to the first EVM EOA address. */
211
+ address?: string;
212
+ /** Optional idempotency key for safe retries. */
213
+ idempotencyKey?: string;
214
+ }
215
+
168
216
  // ─── EVM Sign Options/Results ───
169
217
 
170
218
  /**
@@ -641,6 +689,41 @@ export type EndUserAccountActions = {
641
689
  */
642
690
  revokeDelegation: () => Promise<void>;
643
691
 
692
+ // ─── Account-Scoped Delegation Methods ───
693
+
694
+ /**
695
+ * Gets the active account-scoped delegation for a specific blockchain address owned by this end user.
696
+ *
697
+ * @param options - The options for getting the delegation.
698
+ * @returns A promise that resolves to the delegation details including its expiry.
699
+ *
700
+ * @example
701
+ * ```ts
702
+ * const endUser = await cdp.endUser.getEndUser({ userId: "user-123" });
703
+ *
704
+ * const delegation = await endUser.getDelegationForAccount({ address: "0x1234..." });
705
+ * console.log(delegation.expiresAt);
706
+ * ```
707
+ */
708
+ getDelegationForAccount: (
709
+ options: AccountGetDelegationForAccountOptions,
710
+ ) => Promise<GetDelegationForEndUserAccountResult>;
711
+
712
+ /**
713
+ * Revokes the account-scoped delegation for a specific blockchain address owned by this end user.
714
+ *
715
+ * @param options - The options for revoking the delegation.
716
+ * @returns A promise that resolves when the delegation has been revoked.
717
+ *
718
+ * @example
719
+ * ```ts
720
+ * const endUser = await cdp.endUser.getEndUser({ userId: "user-123" });
721
+ *
722
+ * await endUser.revokeDelegationForAccount({ address: "0x1234..." });
723
+ * ```
724
+ */
725
+ revokeDelegationForAccount: (options: AccountRevokeDelegationForAccountOptions) => Promise<void>;
726
+
644
727
  // ─── Delegated EVM Sign Methods ───
645
728
 
646
729
  /**
@@ -7,6 +7,9 @@ import type {
7
7
  AddEndUserSolanaAccountResult,
8
8
  AddEvmSmartAccountOptions,
9
9
  GetDelegationForEndUserResult,
10
+ GetDelegationForEndUserAccountResult,
11
+ AccountGetDelegationForAccountOptions,
12
+ AccountRevokeDelegationForAccountOptions,
10
13
  SignEvmTransactionResult,
11
14
  SignEvmMessageResult,
12
15
  SignEvmTypedDataResult,
@@ -154,6 +157,30 @@ export function toEndUserAccount(
154
157
  await apiClient.revokeDelegationForEndUser(endUser.userId, {});
155
158
  },
156
159
 
160
+ // ─── Account-Scoped Delegation Methods ───
161
+
162
+ async getDelegationForAccount(
163
+ opts: AccountGetDelegationForAccountOptions,
164
+ ): Promise<GetDelegationForEndUserAccountResult> {
165
+ Analytics.trackAction({ action: "end_user_get_delegation_for_account" });
166
+ const address = resolveEvmAddress(endUser, opts.address);
167
+ return apiClient.getDelegationForEndUserAccount(endUser.userId, address);
168
+ },
169
+
170
+ async revokeDelegationForAccount(
171
+ opts: AccountRevokeDelegationForAccountOptions,
172
+ ): Promise<void> {
173
+ Analytics.trackAction({ action: "end_user_revoke_delegation_for_account" });
174
+ const address = resolveEvmAddress(endUser, opts.address);
175
+ await apiClient.revokeDelegationForEndUserAccount(
176
+ endUser.userId,
177
+ address,
178
+ {},
179
+ undefined,
180
+ opts.idempotencyKey,
181
+ );
182
+ },
183
+
157
184
  // ─── Delegated EVM Sign Methods ───
158
185
 
159
186
  async signEvmTransaction(
package/index.ts CHANGED
@@ -19,6 +19,9 @@ export type {
19
19
  ListEndUsersOptions,
20
20
  EndUserAccount,
21
21
  RevokeDelegationForEndUserOptions,
22
+ GetDelegationForEndUserAccountOptions,
23
+ GetDelegationForEndUserAccountResult,
24
+ RevokeDelegationForEndUserAccountOptions,
22
25
  SignEvmTransactionOptions,
23
26
  SignEvmTransactionResult,
24
27
  SignEvmMessageOptions,
@@ -2776,6 +2776,130 @@ export interface SignEndUserSolMessageRule {
2776
2776
  criteria: SignEndUserSolMessageCriteria;
2777
2777
  }
2778
2778
 
2779
+ export type SendEndUserEvmAssetCriteriaItem =
2780
+ | EvmNetworkCriterion
2781
+ | EvmDataCriterion
2782
+ | NetUSDChangeCriterion;
2783
+
2784
+ /**
2785
+ * A schema for specifying criteria for the sendEndUserEvmAsset operation.
2786
+ */
2787
+ export type SendEndUserEvmAssetCriteria = SendEndUserEvmAssetCriteriaItem[];
2788
+
2789
+ /**
2790
+ * Whether matching the rule will cause the request to be rejected or accepted.
2791
+ */
2792
+ export type SendEndUserEvmAssetRuleAction =
2793
+ (typeof SendEndUserEvmAssetRuleAction)[keyof typeof SendEndUserEvmAssetRuleAction];
2794
+
2795
+ // eslint-disable-next-line @typescript-eslint/no-redeclare
2796
+ export const SendEndUserEvmAssetRuleAction = {
2797
+ reject: "reject",
2798
+ accept: "accept",
2799
+ } as const;
2800
+
2801
+ /**
2802
+ * The operation to which the rule applies. Every element of the `criteria` array must match the specified operation.
2803
+ */
2804
+ export type SendEndUserEvmAssetRuleOperation =
2805
+ (typeof SendEndUserEvmAssetRuleOperation)[keyof typeof SendEndUserEvmAssetRuleOperation];
2806
+
2807
+ // eslint-disable-next-line @typescript-eslint/no-redeclare
2808
+ export const SendEndUserEvmAssetRuleOperation = {
2809
+ sendEndUserEvmAsset: "sendEndUserEvmAsset",
2810
+ } as const;
2811
+
2812
+ export interface SendEndUserEvmAssetRule {
2813
+ /** Whether matching the rule will cause the request to be rejected or accepted. */
2814
+ action: SendEndUserEvmAssetRuleAction;
2815
+ /** The operation to which the rule applies. Every element of the `criteria` array must match the specified operation. */
2816
+ operation: SendEndUserEvmAssetRuleOperation;
2817
+ criteria: SendEndUserEvmAssetCriteria;
2818
+ }
2819
+
2820
+ export type SendEndUserSolAssetCriteriaItem =
2821
+ | SplAddressCriterion
2822
+ | SplValueCriterion
2823
+ | SolDataCriterion
2824
+ | SolNetworkCriterion;
2825
+
2826
+ /**
2827
+ * A schema for specifying criteria for the sendEndUserSolAsset operation.
2828
+ */
2829
+ export type SendEndUserSolAssetCriteria = SendEndUserSolAssetCriteriaItem[];
2830
+
2831
+ /**
2832
+ * Whether matching the rule will cause the request to be rejected or accepted.
2833
+ */
2834
+ export type SendEndUserSolAssetRuleAction =
2835
+ (typeof SendEndUserSolAssetRuleAction)[keyof typeof SendEndUserSolAssetRuleAction];
2836
+
2837
+ // eslint-disable-next-line @typescript-eslint/no-redeclare
2838
+ export const SendEndUserSolAssetRuleAction = {
2839
+ reject: "reject",
2840
+ accept: "accept",
2841
+ } as const;
2842
+
2843
+ /**
2844
+ * The operation to which the rule applies. Every element of the `criteria` array must match the specified operation.
2845
+ */
2846
+ export type SendEndUserSolAssetRuleOperation =
2847
+ (typeof SendEndUserSolAssetRuleOperation)[keyof typeof SendEndUserSolAssetRuleOperation];
2848
+
2849
+ // eslint-disable-next-line @typescript-eslint/no-redeclare
2850
+ export const SendEndUserSolAssetRuleOperation = {
2851
+ sendEndUserSolAsset: "sendEndUserSolAsset",
2852
+ } as const;
2853
+
2854
+ export interface SendEndUserSolAssetRule {
2855
+ /** Whether matching the rule will cause the request to be rejected or accepted. */
2856
+ action: SendEndUserSolAssetRuleAction;
2857
+ /** The operation to which the rule applies. Every element of the `criteria` array must match the specified operation. */
2858
+ operation: SendEndUserSolAssetRuleOperation;
2859
+ criteria: SendEndUserSolAssetCriteria;
2860
+ }
2861
+
2862
+ export type CreateEndUserEvmSwapCriteriaItem =
2863
+ | EvmNetworkCriterion
2864
+ | EvmDataCriterion
2865
+ | NetUSDChangeCriterion;
2866
+
2867
+ /**
2868
+ * A schema for specifying criteria for the createEndUserEvmSwap operation.
2869
+ */
2870
+ export type CreateEndUserEvmSwapCriteria = CreateEndUserEvmSwapCriteriaItem[];
2871
+
2872
+ /**
2873
+ * Whether matching the rule will cause the request to be rejected or accepted.
2874
+ */
2875
+ export type CreateEndUserEvmSwapRuleAction =
2876
+ (typeof CreateEndUserEvmSwapRuleAction)[keyof typeof CreateEndUserEvmSwapRuleAction];
2877
+
2878
+ // eslint-disable-next-line @typescript-eslint/no-redeclare
2879
+ export const CreateEndUserEvmSwapRuleAction = {
2880
+ reject: "reject",
2881
+ accept: "accept",
2882
+ } as const;
2883
+
2884
+ /**
2885
+ * The operation to which the rule applies. Every element of the `criteria` array must match the specified operation.
2886
+ */
2887
+ export type CreateEndUserEvmSwapRuleOperation =
2888
+ (typeof CreateEndUserEvmSwapRuleOperation)[keyof typeof CreateEndUserEvmSwapRuleOperation];
2889
+
2890
+ // eslint-disable-next-line @typescript-eslint/no-redeclare
2891
+ export const CreateEndUserEvmSwapRuleOperation = {
2892
+ createEndUserEvmSwap: "createEndUserEvmSwap",
2893
+ } as const;
2894
+
2895
+ export interface CreateEndUserEvmSwapRule {
2896
+ /** Whether matching the rule will cause the request to be rejected or accepted. */
2897
+ action: CreateEndUserEvmSwapRuleAction;
2898
+ /** The operation to which the rule applies. Every element of the `criteria` array must match the specified operation. */
2899
+ operation: CreateEndUserEvmSwapRuleOperation;
2900
+ criteria: CreateEndUserEvmSwapCriteria;
2901
+ }
2902
+
2779
2903
  /**
2780
2904
  * A rule that limits the behavior of an account.
2781
2905
  */
@@ -2797,7 +2921,10 @@ export type Rule =
2797
2921
  | SignEndUserEvmHashRule
2798
2922
  | SignEndUserSolTransactionRule
2799
2923
  | SendEndUserSolTransactionRule
2800
- | SignEndUserSolMessageRule;
2924
+ | SignEndUserSolMessageRule
2925
+ | SendEndUserEvmAssetRule
2926
+ | SendEndUserSolAssetRule
2927
+ | CreateEndUserEvmSwapRule;
2801
2928
 
2802
2929
  /**
2803
2930
  * The scope of the policy. Only one project-level policy can exist at any time.
@@ -3890,6 +4017,11 @@ export const X402SupportedPaymentKindNetwork = {
3890
4017
  "eip155:137": "eip155:137",
3891
4018
  "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
3892
4019
  "solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1": "solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1",
4020
+ avalanche: "avalanche",
4021
+ arbitrum: "arbitrum",
4022
+ "arbitrum-sepolia": "arbitrum-sepolia",
4023
+ world: "world",
4024
+ "world-sepolia": "world-sepolia",
3893
4025
  } as const;
3894
4026
 
3895
4027
  /**
@@ -4114,6 +4246,54 @@ export interface OnrampUserLimit {
4114
4246
  remaining: string;
4115
4247
  }
4116
4248
 
4249
+ /**
4250
+ * Date of birth.
4251
+ */
4252
+ export interface DateOfBirth {
4253
+ /**
4254
+ * Day of birth (01-31).
4255
+ * @minLength 2
4256
+ * @maxLength 2
4257
+ * @pattern ^[0-9]{2}$
4258
+ */
4259
+ day?: string;
4260
+ /**
4261
+ * Month of birth (01-12).
4262
+ * @minLength 2
4263
+ * @maxLength 2
4264
+ * @pattern ^[0-9]{2}$
4265
+ */
4266
+ month?: string;
4267
+ /**
4268
+ * Year of birth (four digits).
4269
+ * @minLength 4
4270
+ * @maxLength 4
4271
+ * @pattern ^[0-9]{4}$
4272
+ */
4273
+ year?: string;
4274
+ }
4275
+
4276
+ /**
4277
+ * Populate the properties that correspond to the `fields` array from the user's `OnrampLimitUpgradeOption`.
4278
+ */
4279
+ export interface OnrampLimitUpgradeIdentityFields {
4280
+ /** Last 4 digits of the Social Security Number (no dashes or spaces). */
4281
+ ssnLast4?: string;
4282
+ /** Date of birth. */
4283
+ dateOfBirth?: DateOfBirth;
4284
+ }
4285
+
4286
+ /**
4287
+ * Request to request a limits upgrade for a user.
4288
+ */
4289
+ export interface OnrampLimitUpgradeRequest {
4290
+ /** The user identifier value. For `phone_number` type, this must be in E.164 format. */
4291
+ userId: string;
4292
+ userIdType: OnrampUserIdType;
4293
+ /** Populate the properties that correspond to the `fields` array from the user's `OnrampLimitUpgradeOption`. */
4294
+ fields: OnrampLimitUpgradeIdentityFields;
4295
+ }
4296
+
4117
4297
  /**
4118
4298
  * Unauthorized.
4119
4299
  */
@@ -4358,6 +4538,31 @@ export type ValidateEndUserAccessTokenBody = {
4358
4538
  accessToken: string;
4359
4539
  };
4360
4540
 
4541
+ export type LookupEndUserParams = {
4542
+ /**
4543
+ * The email address to search for across all email-based authentication methods.
4544
+ */
4545
+ email?: string;
4546
+ /**
4547
+ * The OAuth provider to search by. Must be provided together with oauthSubject.
4548
+ */
4549
+ oauthProvider?: OAuth2ProviderType;
4550
+ /**
4551
+ * The OAuth subject (the `sub` claim from the provider's ID token). Must be provided together with oauthProvider.
4552
+ */
4553
+ oauthSubject?: string;
4554
+ /**
4555
+ * The E.164-formatted phone number to search for. Must be URL-encoded when passed as a query parameter (e.g. `+14155552671` → `%2B14155552671`).
4556
+ * @pattern ^\+[1-9]\d{1,14}$
4557
+ */
4558
+ phoneNumber?: string;
4559
+ };
4560
+
4561
+ export type LookupEndUser200 = {
4562
+ /** The list of end users matching the lookup. */
4563
+ endUsers: EndUser[];
4564
+ };
4565
+
4361
4566
  export type AddEndUserEvmAccountBody = { [key: string]: unknown };
4362
4567
 
4363
4568
  export type AddEndUserEvmAccount201 = {
@@ -4618,6 +4823,14 @@ export type GetDelegationForEndUser200 = {
4618
4823
  expiresAt: string;
4619
4824
  };
4620
4825
 
4826
+ export type RevokeDelegationForEndUserParams = {
4827
+ /**
4828
+ * The ID of the CDP Project. Required for end users authenticated using custom auth (i.e. a non-CDP JWT provider).
4829
+ * @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
4830
+ */
4831
+ projectID?: ProjectIDOptionalParameter;
4832
+ };
4833
+
4621
4834
  export type RevokeDelegationForEndUserBody = {
4622
4835
  /**
4623
4836
  * When revoking with a wallet authentication scheme, the ID of the Temporary Wallet Secret that was used to sign the X-Wallet-Auth Header.
@@ -4626,6 +4839,58 @@ export type RevokeDelegationForEndUserBody = {
4626
4839
  walletSecretId?: string;
4627
4840
  };
4628
4841
 
4842
+ export type CreateDelegationForEndUserAccountParams = {
4843
+ /**
4844
+ * The ID of the CDP Project. Required for end users authenticated using custom auth (i.e. a non-CDP JWT provider).
4845
+ * @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
4846
+ */
4847
+ projectID?: ProjectIDOptionalParameter;
4848
+ };
4849
+
4850
+ export type CreateDelegationForEndUserAccountBody = {
4851
+ /** The date until which the delegation is valid. */
4852
+ expiresAt: string;
4853
+ /**
4854
+ * The ID of the Temporary Wallet Secret that was used to sign the X-Wallet-Auth Header.
4855
+ * @pattern ^[a-zA-Z0-9-]{1,100}$
4856
+ */
4857
+ walletSecretId: string;
4858
+ };
4859
+
4860
+ export type CreateDelegationForEndUserAccount201 = {
4861
+ /** The date until which the delegation is valid. */
4862
+ expiresAt: string;
4863
+ };
4864
+
4865
+ export type GetDelegationForEndUserAccountParams = {
4866
+ /**
4867
+ * The ID of the CDP Project. Required for end users authenticated using custom auth (i.e. a non-CDP JWT provider).
4868
+ * @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
4869
+ */
4870
+ projectID?: ProjectIDOptionalParameter;
4871
+ };
4872
+
4873
+ export type GetDelegationForEndUserAccount200 = {
4874
+ /** The date until which the delegation is valid. */
4875
+ expiresAt: string;
4876
+ };
4877
+
4878
+ export type RevokeDelegationForEndUserAccountParams = {
4879
+ /**
4880
+ * The ID of the CDP Project. Required for end users authenticated using custom auth (i.e. a non-CDP JWT provider).
4881
+ * @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
4882
+ */
4883
+ projectID?: ProjectIDOptionalParameter;
4884
+ };
4885
+
4886
+ export type RevokeDelegationForEndUserAccountBody = {
4887
+ /**
4888
+ * When revoking with a wallet authentication scheme, the ID of the Temporary Wallet Secret that was used to sign the X-Wallet-Auth Header.
4889
+ * @pattern ^[a-zA-Z0-9-]{1,100}$
4890
+ */
4891
+ walletSecretId?: string;
4892
+ };
4893
+
4629
4894
  export type CreateEvmEip7702DelegationWithEndUserAccountParams = {
4630
4895
  /**
4631
4896
  * The ID of the CDP Project. Required for end users authenticated using custom auth (i.e. a non-CDP JWT provider).