@distilled.cloud/coinbase 0.9.0 → 0.10.1

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 (64) hide show
  1. package/lib/operations/createWebhookSubscription.d.ts +3 -0
  2. package/lib/operations/createWebhookSubscription.d.ts.map +1 -1
  3. package/lib/operations/createWebhookSubscription.js +3 -0
  4. package/lib/operations/createWebhookSubscription.js.map +1 -1
  5. package/lib/operations/getSQLGrammar.d.ts +3 -2
  6. package/lib/operations/getSQLGrammar.d.ts.map +1 -1
  7. package/lib/operations/getSQLGrammar.js +3 -2
  8. package/lib/operations/getSQLGrammar.js.map +1 -1
  9. package/lib/operations/getSQLSchema.d.ts +31 -0
  10. package/lib/operations/getSQLSchema.d.ts.map +1 -0
  11. package/lib/operations/getSQLSchema.js +37 -0
  12. package/lib/operations/getSQLSchema.js.map +1 -0
  13. package/lib/operations/getWebhookSubscription.d.ts +1 -0
  14. package/lib/operations/getWebhookSubscription.d.ts.map +1 -1
  15. package/lib/operations/getWebhookSubscription.js +1 -0
  16. package/lib/operations/getWebhookSubscription.js.map +1 -1
  17. package/lib/operations/index.d.ts +2 -0
  18. package/lib/operations/index.d.ts.map +1 -1
  19. package/lib/operations/index.js +2 -0
  20. package/lib/operations/index.js.map +1 -1
  21. package/lib/operations/listWebhookSubscriptionEvents.d.ts +52 -0
  22. package/lib/operations/listWebhookSubscriptionEvents.d.ts.map +1 -0
  23. package/lib/operations/listWebhookSubscriptionEvents.js +70 -0
  24. package/lib/operations/listWebhookSubscriptionEvents.js.map +1 -0
  25. package/lib/operations/listWebhookSubscriptions.d.ts +1 -0
  26. package/lib/operations/listWebhookSubscriptions.d.ts.map +1 -1
  27. package/lib/operations/listWebhookSubscriptions.js +1 -0
  28. package/lib/operations/listWebhookSubscriptions.js.map +1 -1
  29. package/lib/operations/requestSolanaFaucet.d.ts +2 -2
  30. package/lib/operations/requestSolanaFaucet.js +2 -2
  31. package/lib/operations/requestSolanaFaucet.js.map +1 -1
  32. package/lib/operations/runSQLQuery.d.ts +20 -8
  33. package/lib/operations/runSQLQuery.d.ts.map +1 -1
  34. package/lib/operations/runSQLQuery.js +20 -8
  35. package/lib/operations/runSQLQuery.js.map +1 -1
  36. package/lib/operations/sendSolanaTransaction.d.ts +1 -0
  37. package/lib/operations/sendSolanaTransaction.d.ts.map +1 -1
  38. package/lib/operations/sendSolanaTransaction.js +1 -0
  39. package/lib/operations/sendSolanaTransaction.js.map +1 -1
  40. package/lib/operations/settleX402Payment.d.ts +1 -0
  41. package/lib/operations/settleX402Payment.d.ts.map +1 -1
  42. package/lib/operations/settleX402Payment.js +1 -0
  43. package/lib/operations/settleX402Payment.js.map +1 -1
  44. package/lib/operations/supportedX402PaymentKinds.d.ts +1 -1
  45. package/lib/operations/supportedX402PaymentKinds.js +1 -1
  46. package/lib/operations/supportedX402PaymentKinds.js.map +1 -1
  47. package/lib/operations/updateWebhookSubscription.d.ts +1 -0
  48. package/lib/operations/updateWebhookSubscription.d.ts.map +1 -1
  49. package/lib/operations/updateWebhookSubscription.js +1 -0
  50. package/lib/operations/updateWebhookSubscription.js.map +1 -1
  51. package/package.json +4 -4
  52. package/src/operations/createWebhookSubscription.ts +3 -0
  53. package/src/operations/getSQLGrammar.ts +3 -2
  54. package/src/operations/getSQLSchema.ts +49 -0
  55. package/src/operations/getWebhookSubscription.ts +1 -0
  56. package/src/operations/index.ts +2 -0
  57. package/src/operations/listWebhookSubscriptionEvents.ts +82 -0
  58. package/src/operations/listWebhookSubscriptions.ts +1 -0
  59. package/src/operations/requestSolanaFaucet.ts +2 -2
  60. package/src/operations/runSQLQuery.ts +20 -8
  61. package/src/operations/sendSolanaTransaction.ts +1 -0
  62. package/src/operations/settleX402Payment.ts +1 -0
  63. package/src/operations/supportedX402PaymentKinds.ts +1 -1
  64. package/src/operations/updateWebhookSubscription.ts +1 -0
@@ -13,6 +13,7 @@ export declare const CreateWebhookSubscriptionInput: Schema.Struct<{
13
13
  export type CreateWebhookSubscriptionInput = typeof CreateWebhookSubscriptionInput.Type;
14
14
  export declare const CreateWebhookSubscriptionOutput: Schema.Struct<{
15
15
  readonly createdAt: Schema.String;
16
+ readonly updatedAt: Schema.optional<Schema.String>;
16
17
  readonly description: Schema.optional<Schema.Struct<{}>>;
17
18
  readonly eventTypes: Schema.$Array<Schema.String>;
18
19
  readonly isEnabled: Schema.Boolean;
@@ -47,6 +48,8 @@ export type CreateWebhookSubscriptionOutput = typeof CreateWebhookSubscriptionOu
47
48
  * - `payments.transfers.processing`
48
49
  * - `payments.transfers.completed`
49
50
  * - `payments.transfers.failed`
51
+ * - `payments.transfers.travel_rule_incomplete`
52
+ * - `payments.transfers.travel_rule_completed`
50
53
  * - **No labels required** - enable the transfers webhook to monitor status transitions
51
54
  * **Wallet Events** - Wallet activity notifications:
52
55
  * - `wallet.activity.detected`
@@ -1 +1 @@
1
- {"version":3,"file":"createWebhookSubscription.d.ts","sourceRoot":"","sources":["../../src/operations/createWebhookSubscription.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAMxC,eAAO,MAAM,8BAA8B;;;;;;;;;;EAWmC,CAAC;AAC/E,MAAM,MAAM,8BAA8B,GACxC,OAAO,8BAA8B,CAAC,IAAI,CAAC;AAG7C,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;EAkBxC,CAAC;AACL,MAAM,MAAM,+BAA+B,GACzC,OAAO,+BAA+B,CAAC,IAAI,CAAC;AAG9C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AACH,eAAO,MAAM,yBAAyB,KAKrC,CAAC"}
1
+ {"version":3,"file":"createWebhookSubscription.d.ts","sourceRoot":"","sources":["../../src/operations/createWebhookSubscription.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAMxC,eAAO,MAAM,8BAA8B;;;;;;;;;;EAWmC,CAAC;AAC/E,MAAM,MAAM,8BAA8B,GACxC,OAAO,8BAA8B,CAAC,IAAI,CAAC;AAG7C,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;EAmBxC,CAAC;AACL,MAAM,MAAM,+BAA+B,GACzC,OAAO,+BAA+B,CAAC,IAAI,CAAC;AAG9C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2CG;AACH,eAAO,MAAM,yBAAyB,KAKrC,CAAC"}
@@ -19,6 +19,7 @@ export const CreateWebhookSubscriptionInput =
19
19
  export const CreateWebhookSubscriptionOutput =
20
20
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
21
21
  createdAt: Schema.String,
22
+ updatedAt: Schema.optional(Schema.String),
22
23
  description: Schema.optional(Schema.Struct({})),
23
24
  eventTypes: Schema.Array(Schema.String),
24
25
  isEnabled: Schema.Boolean,
@@ -53,6 +54,8 @@ export const CreateWebhookSubscriptionOutput =
53
54
  * - `payments.transfers.processing`
54
55
  * - `payments.transfers.completed`
55
56
  * - `payments.transfers.failed`
57
+ * - `payments.transfers.travel_rule_incomplete`
58
+ * - `payments.transfers.travel_rule_completed`
56
59
  * - **No labels required** - enable the transfers webhook to monitor status transitions
57
60
  * **Wallet Events** - Wallet activity notifications:
58
61
  * - `wallet.activity.detected`
@@ -1 +1 @@
1
- {"version":3,"file":"createWebhookSubscription.js","sourceRoot":"","sources":["../../src/operations/createWebhookSubscription.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,WAAW,CAAC;AAChC,OAAO,KAAK,CAAC,MAAM,WAAW,CAAC;AAC/B,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAE/C,eAAe;AACf,MAAM,CAAC,MAAM,8BAA8B;AACzC,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,WAAW,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC,EA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,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC;QACtB,OAAO,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,CAAC;KACtE,CAAC;IACF,MAAM,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,CAAC;CACrE,CAAC,CAAC;AAIL,gBAAgB;AAChB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2CG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAAG,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAC3E,GAAG,EAAE,CAAC,CAAC;IACL,WAAW,EAAE,8BAA8B;IAC3C,YAAY,EAAE,+BAA+B;CAC9C,CAAC,CACH,CAAC"}
@@ -7,8 +7,9 @@ export type GetSQLGrammarOutput = typeof GetSQLGrammarOutput.Type;
7
7
  * Get SQL grammar
8
8
  *
9
9
  * Retrieve the SQL grammar for the SQL API.
10
- * The SQL queries that are supported by the SQL API are defined via an ANTLR4 grammar which is evaluated by server before executing the query. This ensures the safety and soundness of the SQL API.
11
- * This endpoint returns the ANTLR4 grammar that is used to evaluate the SQL queries so that developers can understand the SQL API and build SQL queries with high confidence and correctness. LLMs interact well with ANTLR4 grammar as well.
10
+ * The SQL queries that are supported by the SQL API are defined in ANTLR4 grammar which is evaluated by server before executing the query. This ensures the safety and soundness of the SQL query before execution.
11
+ * This endpoint returns the ANTLR4 grammar that is used to evaluate the SQL queries so that developers can understand the SQL API and build SQL queries with high confidence and correctness.
12
+ * LLMs interact well with ANTLR4 grammar. You can feed the grammar directly into the LLMs to help generate SQL queries.
12
13
  */
13
14
  export declare const getSQLGrammar: any;
14
15
  //# sourceMappingURL=getSQLGrammar.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"getSQLGrammar.d.ts","sourceRoot":"","sources":["../../src/operations/getSQLGrammar.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,kBAAkB,mBAEkC,CAAC;AAClE,MAAM,MAAM,kBAAkB,GAAG,OAAO,kBAAkB,CAAC,IAAI,CAAC;AAGhE,eAAO,MAAM,mBAAmB,eAA4C,CAAC;AAC7E,MAAM,MAAM,mBAAmB,GAAG,OAAO,mBAAmB,CAAC,IAAI,CAAC;AAGlE;;;;;;GAMG;AACH,eAAO,MAAM,aAAa,KAGvB,CAAC"}
1
+ {"version":3,"file":"getSQLGrammar.d.ts","sourceRoot":"","sources":["../../src/operations/getSQLGrammar.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,kBAAkB,mBAEkC,CAAC;AAClE,MAAM,MAAM,kBAAkB,GAAG,OAAO,kBAAkB,CAAC,IAAI,CAAC;AAGhE,eAAO,MAAM,mBAAmB,eAA4C,CAAC;AAC7E,MAAM,MAAM,mBAAmB,GAAG,OAAO,mBAAmB,CAAC,IAAI,CAAC;AAGlE;;;;;;;GAOG;AACH,eAAO,MAAM,aAAa,KAGvB,CAAC"}
@@ -10,8 +10,9 @@ export const GetSQLGrammarOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.String;
10
10
  * Get SQL grammar
11
11
  *
12
12
  * Retrieve the SQL grammar for the SQL API.
13
- * The SQL queries that are supported by the SQL API are defined via an ANTLR4 grammar which is evaluated by server before executing the query. This ensures the safety and soundness of the SQL API.
14
- * This endpoint returns the ANTLR4 grammar that is used to evaluate the SQL queries so that developers can understand the SQL API and build SQL queries with high confidence and correctness. LLMs interact well with ANTLR4 grammar as well.
13
+ * The SQL queries that are supported by the SQL API are defined in ANTLR4 grammar which is evaluated by server before executing the query. This ensures the safety and soundness of the SQL query before execution.
14
+ * This endpoint returns the ANTLR4 grammar that is used to evaluate the SQL queries so that developers can understand the SQL API and build SQL queries with high confidence and correctness.
15
+ * LLMs interact well with ANTLR4 grammar. You can feed the grammar directly into the LLMs to help generate SQL queries.
15
16
  */
16
17
  export const getSQLGrammar = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
17
18
  inputSchema: GetSQLGrammarInput,
@@ -1 +1 @@
1
- {"version":3,"file":"getSQLGrammar.js","sourceRoot":"","sources":["../../src/operations/getSQLGrammar.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,WAAW,CAAC;AAChC,OAAO,KAAK,CAAC,MAAM,WAAW,CAAC;AAE/B,eAAe;AACf,MAAM,CAAC,MAAM,kBAAkB,GAAG,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CACzE,EAAE,CACH,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,wBAAwB,EAAE,CAAC,CAAC,CAAC;AAGlE,gBAAgB;AAChB,MAAM,CAAC,MAAM,mBAAmB,GAAG,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;AAG7E,gBAAgB;AAChB;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IACvE,WAAW,EAAE,kBAAkB;IAC/B,YAAY,EAAE,mBAAmB;CAClC,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"getSQLGrammar.js","sourceRoot":"","sources":["../../src/operations/getSQLGrammar.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,WAAW,CAAC;AAChC,OAAO,KAAK,CAAC,MAAM,WAAW,CAAC;AAE/B,eAAe;AACf,MAAM,CAAC,MAAM,kBAAkB,GAAG,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CACzE,EAAE,CACH,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,wBAAwB,EAAE,CAAC,CAAC,CAAC;AAGlE,gBAAgB;AAChB,MAAM,CAAC,MAAM,mBAAmB,GAAG,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;AAG7E,gBAAgB;AAChB;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IACvE,WAAW,EAAE,kBAAkB;IAC/B,YAAY,EAAE,mBAAmB;CAClC,CAAC,CAAC,CAAC"}
@@ -0,0 +1,31 @@
1
+ import * as Schema from "effect/Schema";
2
+ export declare const GetSQLSchemaInput: Schema.Struct<{
3
+ readonly database: Schema.optional<Schema.Literals<readonly ["base", "base_sepolia"]>>;
4
+ readonly table: Schema.optional<Schema.String>;
5
+ }>;
6
+ export type GetSQLSchemaInput = typeof GetSQLSchemaInput.Type;
7
+ export declare const GetSQLSchemaOutput: Schema.Struct<{
8
+ readonly tables: Schema.optional<Schema.$Array<Schema.Struct<{
9
+ readonly database: Schema.optional<Schema.String>;
10
+ readonly table: Schema.optional<Schema.String>;
11
+ readonly columns: Schema.optional<Schema.$Array<Schema.Struct<{
12
+ readonly name: Schema.optional<Schema.String>;
13
+ readonly type: Schema.optional<Schema.String>;
14
+ readonly nullable: Schema.optional<Schema.Boolean>;
15
+ readonly description: Schema.optional<Schema.Struct<{}>>;
16
+ readonly indexOrder: Schema.optional<Schema.Number>;
17
+ }>>>;
18
+ }>>>;
19
+ }>;
20
+ export type GetSQLSchemaOutput = typeof GetSQLSchemaOutput.Type;
21
+ /**
22
+ * Get schemas details
23
+ *
24
+ * Retrieve the schema information for the available tables in the SQL API's indexed data.
25
+ * This includes table names, column definitions, data types, and indexed fields.
26
+ *
27
+ * @param database - The name of the database to query. Defaults to "base" when not specified.
28
+ * @param table - Get the schema for a specific table.
29
+ */
30
+ export declare const getSQLSchema: any;
31
+ //# sourceMappingURL=getSQLSchema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getSQLSchema.d.ts","sourceRoot":"","sources":["../../src/operations/getSQLSchema.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,iBAAiB;;;EAGmC,CAAC;AAClE,MAAM,MAAM,iBAAiB,GAAG,OAAO,iBAAiB,CAAC,IAAI,CAAC;AAG9D,eAAO,MAAM,kBAAkB;;;;;;;;;;;;EAoB7B,CAAC;AACH,MAAM,MAAM,kBAAkB,GAAG,OAAO,kBAAkB,CAAC,IAAI,CAAC;AAGhE;;;;;;;;GAQG;AACH,eAAO,MAAM,YAAY,KAGtB,CAAC"}
@@ -0,0 +1,37 @@
1
+ import * as Schema from "effect/Schema";
2
+ import { API } from "../client";
3
+ import * as T from "../traits";
4
+ // Input Schema
5
+ export const GetSQLSchemaInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
6
+ database: Schema.optional(Schema.Literals(["base", "base_sepolia"])),
7
+ table: Schema.optional(Schema.String),
8
+ }).pipe(T.Http({ method: "GET", path: "/v2/data/query/schema" }));
9
+ // Output Schema
10
+ export const GetSQLSchemaOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
11
+ tables: Schema.optional(Schema.Array(Schema.Struct({
12
+ database: Schema.optional(Schema.String),
13
+ table: Schema.optional(Schema.String),
14
+ columns: Schema.optional(Schema.Array(Schema.Struct({
15
+ name: Schema.optional(Schema.String),
16
+ type: Schema.optional(Schema.String),
17
+ nullable: Schema.optional(Schema.Boolean),
18
+ description: Schema.optional(Schema.Struct({})),
19
+ indexOrder: Schema.optional(Schema.Number),
20
+ }))),
21
+ }))),
22
+ });
23
+ // The operation
24
+ /**
25
+ * Get schemas details
26
+ *
27
+ * Retrieve the schema information for the available tables in the SQL API's indexed data.
28
+ * This includes table names, column definitions, data types, and indexed fields.
29
+ *
30
+ * @param database - The name of the database to query. Defaults to "base" when not specified.
31
+ * @param table - Get the schema for a specific table.
32
+ */
33
+ export const getSQLSchema = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
34
+ inputSchema: GetSQLSchemaInput,
35
+ outputSchema: GetSQLSchemaOutput,
36
+ }));
37
+ //# sourceMappingURL=getSQLSchema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getSQLSchema.js","sourceRoot":"","sources":["../../src/operations/getSQLSchema.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,WAAW,CAAC;AAChC,OAAO,KAAK,CAAC,MAAM,WAAW,CAAC;AAE/B,eAAe;AACf,MAAM,CAAC,MAAM,iBAAiB,GAAG,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACzE,QAAQ,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC,MAAM,EAAE,cAAc,CAAC,CAAC,CAAC;IACpE,KAAK,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;CACtC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,uBAAuB,EAAE,CAAC,CAAC,CAAC;AAGlE,gBAAgB;AAChB,MAAM,CAAC,MAAM,kBAAkB,GAAG,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IAC1E,MAAM,EAAE,MAAM,CAAC,QAAQ,CACrB,MAAM,CAAC,KAAK,CACV,MAAM,CAAC,MAAM,CAAC;QACZ,QAAQ,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;QACxC,KAAK,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;QACrC,OAAO,EAAE,MAAM,CAAC,QAAQ,CACtB,MAAM,CAAC,KAAK,CACV,MAAM,CAAC,MAAM,CAAC;YACZ,IAAI,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;YACpC,IAAI,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;YACpC,QAAQ,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,OAAO,CAAC;YACzC,WAAW,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;YAC/C,UAAU,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;SAC3C,CAAC,CACH,CACF;KACF,CAAC,CACH,CACF;CACF,CAAC,CAAC;AAGH,gBAAgB;AAChB;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IACtE,WAAW,EAAE,iBAAiB;IAC9B,YAAY,EAAE,kBAAkB;CACjC,CAAC,CAAC,CAAC"}
@@ -5,6 +5,7 @@ export declare const GetWebhookSubscriptionInput: Schema.Struct<{
5
5
  export type GetWebhookSubscriptionInput = typeof GetWebhookSubscriptionInput.Type;
6
6
  export declare const GetWebhookSubscriptionOutput: Schema.Struct<{
7
7
  readonly createdAt: Schema.String;
8
+ readonly updatedAt: Schema.optional<Schema.String>;
8
9
  readonly description: Schema.optional<Schema.Struct<{}>>;
9
10
  readonly eventTypes: Schema.$Array<Schema.String>;
10
11
  readonly isEnabled: Schema.Boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"getWebhookSubscription.d.ts","sourceRoot":"","sources":["../../src/operations/getWebhookSubscription.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAMxC,eAAO,MAAM,2BAA2B;;EAQrC,CAAC;AACJ,MAAM,MAAM,2BAA2B,GACrC,OAAO,2BAA2B,CAAC,IAAI,CAAC;AAG1C,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;EAkBrC,CAAC;AACL,MAAM,MAAM,4BAA4B,GACtC,OAAO,4BAA4B,CAAC,IAAI,CAAC;AAG3C;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,sBAAsB,KAKlC,CAAC"}
1
+ {"version":3,"file":"getWebhookSubscription.d.ts","sourceRoot":"","sources":["../../src/operations/getWebhookSubscription.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAMxC,eAAO,MAAM,2BAA2B;;EAQrC,CAAC;AACJ,MAAM,MAAM,2BAA2B,GACrC,OAAO,2BAA2B,CAAC,IAAI,CAAC;AAG1C,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;EAmBrC,CAAC;AACL,MAAM,MAAM,4BAA4B,GACtC,OAAO,4BAA4B,CAAC,IAAI,CAAC;AAG3C;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,sBAAsB,KAKlC,CAAC"}
@@ -14,6 +14,7 @@ export const GetWebhookSubscriptionInput =
14
14
  export const GetWebhookSubscriptionOutput =
15
15
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
16
16
  createdAt: Schema.String,
17
+ updatedAt: Schema.optional(Schema.String),
17
18
  description: Schema.optional(Schema.Struct({})),
18
19
  eventTypes: Schema.Array(Schema.String),
19
20
  isEnabled: Schema.Boolean,
@@ -1 +1 @@
1
- {"version":3,"file":"getWebhookSubscription.js","sourceRoot":"","sources":["../../src/operations/getWebhookSubscription.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,WAAW,CAAC;AAChC,OAAO,KAAK,CAAC,MAAM,WAAW,CAAC;AAC/B,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AA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;QACZ,MAAM,EAAE,MAAM,CAAC,QAAQ,CAAC,eAAe,CAAC;KACzC,CAAC,CACH;IACD,MAAM,EAAE,eAAe;IACvB,cAAc,EAAE,MAAM,CAAC,MAAM;IAC7B,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC;QACpB,GAAG,EAAE,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC;QACtB,OAAO,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,CAAC;KACtE,CAAC;IACF,MAAM,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,CAAC;CACrE,CAAC,CAAC;AAIL,gBAAgB;AAChB;;;;;;;;;;;;GAYG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAG,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CACxE,GAAG,EAAE,CAAC,CAAC;IACL,WAAW,EAAE,2BAA2B;IACxC,YAAY,EAAE,4BAA4B;CAC3C,CAAC,CACH,CAAC"}
@@ -57,6 +57,7 @@ export * from "./requestSolanaFaucet";
57
57
  export * from "./listSolanaTokenBalances";
58
58
  export * from "./runSQLQuery";
59
59
  export * from "./getSQLGrammar";
60
+ export * from "./getSQLSchema";
60
61
  export * from "./listTokensForAccount";
61
62
  export * from "./listDataTokenBalances";
62
63
  export * from "./listWebhookSubscriptions";
@@ -64,6 +65,7 @@ export * from "./createWebhookSubscription";
64
65
  export * from "./getWebhookSubscription";
65
66
  export * from "./updateWebhookSubscription";
66
67
  export * from "./deleteWebhookSubscription";
68
+ export * from "./listWebhookSubscriptionEvents";
67
69
  export * from "./verifyX402Payment";
68
70
  export * from "./settleX402Payment";
69
71
  export * from "./supportedX402PaymentKinds";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/operations/index.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xC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,0BAA0B,CAAC;AACzC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,iCAAiC,CAAC;AAChD,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC"}
@@ -57,6 +57,7 @@ export * from "./requestSolanaFaucet";
57
57
  export * from "./listSolanaTokenBalances";
58
58
  export * from "./runSQLQuery";
59
59
  export * from "./getSQLGrammar";
60
+ export * from "./getSQLSchema";
60
61
  export * from "./listTokensForAccount";
61
62
  export * from "./listDataTokenBalances";
62
63
  export * from "./listWebhookSubscriptions";
@@ -64,6 +65,7 @@ export * from "./createWebhookSubscription";
64
65
  export * from "./getWebhookSubscription";
65
66
  export * from "./updateWebhookSubscription";
66
67
  export * from "./deleteWebhookSubscription";
68
+ export * from "./listWebhookSubscriptionEvents";
67
69
  export * from "./verifyX402Payment";
68
70
  export * from "./settleX402Payment";
69
71
  export * from "./supportedX402PaymentKinds";
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/operations/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,cAAc,CAAC;AAC7B,cAAc,wBAAwB,CAAC;AACvC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,iBAAiB,CAAC;AAChC,cAAc,oBAAoB,CAAC;AACnC,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAs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/Schema";
2
+ export declare const ListWebhookSubscriptionEventsInput: Schema.Struct<{
3
+ readonly subscriptionId: Schema.String;
4
+ readonly eventId: Schema.optional<Schema.String>;
5
+ readonly minCreatedAt: Schema.optional<Schema.String>;
6
+ readonly maxCreatedAt: Schema.optional<Schema.String>;
7
+ readonly eventTypeNames: Schema.optional<Schema.String>;
8
+ }>;
9
+ export type ListWebhookSubscriptionEventsInput = typeof ListWebhookSubscriptionEventsInput.Type;
10
+ export declare const ListWebhookSubscriptionEventsOutput: Schema.Struct<{
11
+ readonly events: Schema.$Array<Schema.Struct<{
12
+ readonly eventId: Schema.String;
13
+ readonly eventTypeName: Schema.String;
14
+ readonly status: Schema.Literals<readonly ["pending", "processing", "succeeded", "failed", "retrying"]>;
15
+ readonly createdAt: Schema.String;
16
+ readonly succeededAt: Schema.optional<Schema.String>;
17
+ readonly retryCount: Schema.Number;
18
+ readonly response: Schema.optional<Schema.Struct<{
19
+ readonly httpCode: Schema.optional<Schema.Number>;
20
+ readonly elapsedTimeMs: Schema.optional<Schema.Number>;
21
+ readonly body: Schema.optional<Schema.String>;
22
+ readonly errorName: Schema.optional<Schema.String>;
23
+ }>>;
24
+ }>>;
25
+ }>;
26
+ export type ListWebhookSubscriptionEventsOutput = typeof ListWebhookSubscriptionEventsOutput.Type;
27
+ /**
28
+ * List webhook subscription events
29
+ *
30
+ * Retrieve webhook event delivery attempts for a specific subscription.
31
+ * Returns event deliveries in descending order by creation time (newest first),
32
+ * including delivery status, retry count, and response details.
33
+ * ### Use Cases
34
+ * - Debug webhook delivery failures and inspect response codes
35
+ * - Monitor delivery status and retry counts
36
+ * - Audit event delivery history for a subscription
37
+ * - Verify that expected events were sent to webhook URLs
38
+ * ### Filtering
39
+ * Use optional query parameters to narrow results:
40
+ * - `eventId` — find a specific event by ID
41
+ * - `minCreatedAt` / `maxCreatedAt` — filter by time range
42
+ * - `eventTypeNames` — filter by event type (comma-separated)
43
+ * **Note:** Results are limited to the 50 most recent events (newest first). No pagination is supported.
44
+ *
45
+ * @param subscriptionId - Unique identifier for the webhook subscription.
46
+ * @param eventId - Filter by a specific event ID.
47
+ * @param minCreatedAt - Filter events created at or after this timestamp (RFC 3339 format).
48
+ * @param maxCreatedAt - Filter events created at or before this timestamp (RFC 3339 format).
49
+ * @param eventTypeNames - Filter by event type names (comma-separated).
50
+ */
51
+ export declare const listWebhookSubscriptionEvents: any;
52
+ //# sourceMappingURL=listWebhookSubscriptionEvents.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"listWebhookSubscriptionEvents.d.ts","sourceRoot":"","sources":["../../src/operations/listWebhookSubscriptionEvents.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,kCAAkC;;;;;;EAY5C,CAAC;AACJ,MAAM,MAAM,kCAAkC,GAC5C,OAAO,kCAAkC,CAAC,IAAI,CAAC;AAGjD,eAAO,MAAM,mCAAmC;;;;;;;;;;;;;;;EA0B5C,CAAC;AACL,MAAM,MAAM,mCAAmC,GAC7C,OAAO,mCAAmC,CAAC,IAAI,CAAC;AAGlD;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,eAAO,MAAM,6BAA6B,KAIrC,CAAC"}
@@ -0,0 +1,70 @@
1
+ import * as Schema from "effect/Schema";
2
+ import { API } from "../client";
3
+ import * as T from "../traits";
4
+ // Input Schema
5
+ export const ListWebhookSubscriptionEventsInput =
6
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
7
+ subscriptionId: Schema.String.pipe(T.PathParam()),
8
+ eventId: Schema.optional(Schema.String),
9
+ minCreatedAt: Schema.optional(Schema.String),
10
+ maxCreatedAt: Schema.optional(Schema.String),
11
+ eventTypeNames: Schema.optional(Schema.String),
12
+ }).pipe(T.Http({
13
+ method: "GET",
14
+ path: "/v2/data/webhooks/subscriptions/{subscriptionId}/events",
15
+ }));
16
+ // Output Schema
17
+ export const ListWebhookSubscriptionEventsOutput =
18
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
19
+ events: Schema.Array(Schema.Struct({
20
+ eventId: Schema.String,
21
+ eventTypeName: Schema.String,
22
+ status: Schema.Literals([
23
+ "pending",
24
+ "processing",
25
+ "succeeded",
26
+ "failed",
27
+ "retrying",
28
+ ]),
29
+ createdAt: Schema.String,
30
+ succeededAt: Schema.optional(Schema.String),
31
+ retryCount: Schema.Number,
32
+ response: Schema.optional(Schema.Struct({
33
+ httpCode: Schema.optional(Schema.Number),
34
+ elapsedTimeMs: Schema.optional(Schema.Number),
35
+ body: Schema.optional(Schema.String),
36
+ errorName: Schema.optional(Schema.String),
37
+ })),
38
+ })),
39
+ });
40
+ // The operation
41
+ /**
42
+ * List webhook subscription events
43
+ *
44
+ * Retrieve webhook event delivery attempts for a specific subscription.
45
+ * Returns event deliveries in descending order by creation time (newest first),
46
+ * including delivery status, retry count, and response details.
47
+ * ### Use Cases
48
+ * - Debug webhook delivery failures and inspect response codes
49
+ * - Monitor delivery status and retry counts
50
+ * - Audit event delivery history for a subscription
51
+ * - Verify that expected events were sent to webhook URLs
52
+ * ### Filtering
53
+ * Use optional query parameters to narrow results:
54
+ * - `eventId` — find a specific event by ID
55
+ * - `minCreatedAt` / `maxCreatedAt` — filter by time range
56
+ * - `eventTypeNames` — filter by event type (comma-separated)
57
+ * **Note:** Results are limited to the 50 most recent events (newest first). No pagination is supported.
58
+ *
59
+ * @param subscriptionId - Unique identifier for the webhook subscription.
60
+ * @param eventId - Filter by a specific event ID.
61
+ * @param minCreatedAt - Filter events created at or after this timestamp (RFC 3339 format).
62
+ * @param maxCreatedAt - Filter events created at or before this timestamp (RFC 3339 format).
63
+ * @param eventTypeNames - Filter by event type names (comma-separated).
64
+ */
65
+ export const listWebhookSubscriptionEvents =
66
+ /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
67
+ inputSchema: ListWebhookSubscriptionEventsInput,
68
+ outputSchema: ListWebhookSubscriptionEventsOutput,
69
+ }));
70
+ //# sourceMappingURL=listWebhookSubscriptionEvents.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"listWebhookSubscriptionEvents.js","sourceRoot":"","sources":["../../src/operations/listWebhookSubscriptionEvents.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,WAAW,CAAC;AAChC,OAAO,KAAK,CAAC,MAAM,WAAW,CAAC;AAE/B,eAAe;AACf,MAAM,CAAC,MAAM,kCAAkC;AAC7C,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,cAAc,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;IACjD,OAAO,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IACvC,YAAY,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IAC5C,YAAY,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IAC5C,cAAc,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;CAC/C,CAAC,CAAC,IAAI,CACL,CAAC,CAAC,IAAI,CAAC;IACL,MAAM,EAAE,KAAK;IACb,IAAI,EAAE,yDAAyD;CAChE,CAAC,CACH,CAAC;AAIJ,gBAAgB;AAChB,MAAM,CAAC,MAAM,mCAAmC;AAC9C,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,MAAM,EAAE,MAAM,CAAC,KAAK,CAClB,MAAM,CAAC,MAAM,CAAC;QACZ,OAAO,EAAE,MAAM,CAAC,MAAM;QACtB,aAAa,EAAE,MAAM,CAAC,MAAM;QAC5B,MAAM,EAAE,MAAM,CAAC,QAAQ,CAAC;YACtB,SAAS;YACT,YAAY;YACZ,WAAW;YACX,QAAQ;YACR,UAAU;SACX,CAAC;QACF,SAAS,EAAE,MAAM,CAAC,MAAM;QACxB,WAAW,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;QAC3C,UAAU,EAAE,MAAM,CAAC,MAAM;QACzB,QAAQ,EAAE,MAAM,CAAC,QAAQ,CACvB,MAAM,CAAC,MAAM,CAAC;YACZ,QAAQ,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;YACxC,aAAa,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;YAC7C,IAAI,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;YACpC,SAAS,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;SAC1C,CAAC,CACH;KACF,CAAC,CACH;CACF,CAAC,CAAC;AAIL,gBAAgB;AAChB;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,MAAM,CAAC,MAAM,6BAA6B;AACxC,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IAC1C,WAAW,EAAE,kCAAkC;IAC/C,YAAY,EAAE,mCAAmC;CAClD,CAAC,CAAC,CAAC"}
@@ -7,6 +7,7 @@ export type ListWebhookSubscriptionsInput = typeof ListWebhookSubscriptionsInput
7
7
  export declare const ListWebhookSubscriptionsOutput: Schema.Struct<{
8
8
  readonly subscriptions: Schema.$Array<Schema.Struct<{
9
9
  readonly createdAt: Schema.String;
10
+ readonly updatedAt: Schema.optional<Schema.String>;
10
11
  readonly description: Schema.optional<Schema.Struct<{}>>;
11
12
  readonly eventTypes: Schema.$Array<Schema.String>;
12
13
  readonly isEnabled: Schema.Boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"listWebhookSubscriptions.d.ts","sourceRoot":"","sources":["../../src/operations/listWebhookSubscriptions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAMxC,eAAO,MAAM,6BAA6B;;;EAImC,CAAC;AAC9E,MAAM,MAAM,6BAA6B,GACvC,OAAO,6BAA6B,CAAC,IAAI,CAAC;AAG5C,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;EAuBvC,CAAC;AACL,MAAM,MAAM,8BAA8B,GACxC,OAAO,8BAA8B,CAAC,IAAI,CAAC;AAG7C;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,wBAAwB,KAKpC,CAAC"}
1
+ {"version":3,"file":"listWebhookSubscriptions.d.ts","sourceRoot":"","sources":["../../src/operations/listWebhookSubscriptions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAMxC,eAAO,MAAM,6BAA6B;;;EAImC,CAAC;AAC9E,MAAM,MAAM,6BAA6B,GACvC,OAAO,6BAA6B,CAAC,IAAI,CAAC;AAG5C,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;EAwBvC,CAAC;AACL,MAAM,MAAM,8BAA8B,GACxC,OAAO,8BAA8B,CAAC,IAAI,CAAC;AAG7C;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,wBAAwB,KAKpC,CAAC"}
@@ -13,6 +13,7 @@ export const ListWebhookSubscriptionsOutput =
13
13
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
14
14
  subscriptions: Schema.Array(Schema.Struct({
15
15
  createdAt: Schema.String,
16
+ updatedAt: Schema.optional(Schema.String),
16
17
  description: Schema.optional(Schema.Struct({})),
17
18
  eventTypes: Schema.Array(Schema.String),
18
19
  isEnabled: Schema.Boolean,
@@ -1 +1 @@
1
- {"version":3,"file":"listWebhookSubscriptions.js","sourceRoot":"","sources":["../../src/operations/listWebhookSubscriptions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,WAAW,CAAC;AAChC,OAAO,KAAK,CAAC,MAAM,WAAW,CAAC;AAC/B,OAAO,EAAE,eAAe,EAA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declare const RequestSolanaFaucetInput: Schema.Struct<{
3
3
  readonly address: Schema.String;
4
- readonly token: Schema.Literals<readonly ["sol", "usdc"]>;
4
+ readonly token: Schema.Literals<readonly ["sol", "usdc", "cbtusd"]>;
5
5
  }>;
6
6
  export type RequestSolanaFaucetInput = typeof RequestSolanaFaucetInput.Type;
7
7
  export declare const RequestSolanaFaucetOutput: Schema.Struct<{
@@ -12,7 +12,7 @@ export type RequestSolanaFaucetOutput = typeof RequestSolanaFaucetOutput.Type;
12
12
  * Request funds on Solana devnet
13
13
  *
14
14
  * Request funds from the CDP Faucet on Solana devnet.
15
- * Faucets are available for SOL.
15
+ * Faucets are available for SOL, USDC, and CBTUSD.
16
16
  * To prevent abuse, we enforce rate limits within a rolling 24-hour window to control the amount of funds that can be requested.
17
17
  * These limits are applied at both the CDP Project level and the blockchain address level.
18
18
  * A single blockchain address cannot exceed the specified limits, even if multiple users submit requests to the same address.
@@ -5,7 +5,7 @@ import * as T from "../traits";
5
5
  export const RequestSolanaFaucetInput =
6
6
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
7
7
  address: Schema.String,
8
- token: Schema.Literals(["sol", "usdc"]),
8
+ token: Schema.Literals(["sol", "usdc", "cbtusd"]),
9
9
  }).pipe(T.Http({ method: "POST", path: "/v2/solana/faucet" }));
10
10
  // Output Schema
11
11
  export const RequestSolanaFaucetOutput =
@@ -17,7 +17,7 @@ export const RequestSolanaFaucetOutput =
17
17
  * Request funds on Solana devnet
18
18
  *
19
19
  * Request funds from the CDP Faucet on Solana devnet.
20
- * Faucets are available for SOL.
20
+ * Faucets are available for SOL, USDC, and CBTUSD.
21
21
  * To prevent abuse, we enforce rate limits within a rolling 24-hour window to control the amount of funds that can be requested.
22
22
  * These limits are applied at both the CDP Project level and the blockchain address level.
23
23
  * A single blockchain address cannot exceed the specified limits, even if multiple users submit requests to the same address.
@@ -1 +1 @@
1
- {"version":3,"file":"requestSolanaFaucet.js","sourceRoot":"","sources":["../../src/operations/requestSolanaFaucet.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,WAAW,CAAC;AAChC,OAAO,KAAK,CAAC,MAAM,WAAW,CAAC;AAE/B,eAAe;AACf,MAAM,CAAC,MAAM,wBAAwB;AACnC,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,OAAO,EAAE,MAAM,CAAC,MAAM;IACtB,KAAK,EAAE,MAAM,CAAC,QAAQ,CAAC,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC;CACxC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,mBAAmB,EAAE,CAAC,CAAC,CAAC;AAGjE,gBAAgB;AAChB,MAAM,CAAC,MAAM,yBAAyB;AACpC,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,oBAAoB,EAAE,MAAM,CAAC,MAAM;CACpC,CAAC,CAAC;AAGL,gBAAgB;AAChB;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAG,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IAC7E,WAAW,EAAE,wBAAwB;IACrC,YAAY,EAAE,yBAAyB;CACxC,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"requestSolanaFaucet.js","sourceRoot":"","sources":["../../src/operations/requestSolanaFaucet.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,WAAW,CAAC;AAChC,OAAO,KAAK,CAAC,MAAM,WAAW,CAAC;AAE/B,eAAe;AACf,MAAM,CAAC,MAAM,wBAAwB;AACnC,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,OAAO,EAAE,MAAM,CAAC,MAAM;IACtB,KAAK,EAAE,MAAM,CAAC,QAAQ,CAAC,CAAC,KAAK,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC;CAClD,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,mBAAmB,EAAE,CAAC,CAAC,CAAC;AAGjE,gBAAgB;AAChB,MAAM,CAAC,MAAM,yBAAyB;AACpC,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,oBAAoB,EAAE,MAAM,CAAC,MAAM;CACpC,CAAC,CAAC;AAGL,gBAAgB;AAChB;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAG,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IAC7E,WAAW,EAAE,wBAAwB;IACrC,YAAY,EAAE,yBAAyB;CACxC,CAAC,CAAC,CAAC"}
@@ -29,19 +29,31 @@ export type RunSQLQueryOutput = typeof RunSQLQueryOutput.Type;
29
29
  * This endpoint provides direct SQL access to comprehensive blockchain data across supported networks.
30
30
  * Queries are executed against optimized data structures for high-performance analytics.
31
31
  * ### Allowed Queries
32
- * - Standard SQL syntax (ClickHouse dialect)
32
+ * - Standard SQL syntax (CoinbaSeQL dialect, based on ClickHouse dialect)
33
33
  * - Read-only queries (SELECT statements)
34
34
  * - No DDL or DML operations
35
- * - No cartesian products
35
+ * - Query that follow limits (defined below)
36
36
  * ### Supported Tables
37
- * - `base.events` - Base mainnet decoded event logs with parameters, event signature, topics, and more.
38
- * - `base.transactions` - Base mainnet transaction data including hash, block number, gas usage.
39
- * - `base.blocks` - Base mainnet block information.
40
- * - `base.encoded_logs` - Encoded log data of event logs that aren't able to be decoded by our event decoder (ex: log0 opcode).
41
- * - `base.transfers` - All event logs with event signature `Transfer(address,address,uint256)`. ERC-20, ERC-721, and ERC-1155 transfers are all included.
37
+ * - `<network>.events` - Base mainnet decoded event logs with parameters, event signature, topics, and more.
38
+ * - `<network>.transactions` - Base mainnet transaction data including hash, block number, gas usage.
39
+ * - `<network>.blocks` - Base mainnet block information.
40
+ * - `<network>.encoded_logs` - Encoded log data of event logs that aren't able to be decoded by our event decoder (ex: log0 opcode).
41
+ * - `<network>.decoded_user_operations` - Decoded user operations data including hash, block number, gas usage, builder codes, entrypoint version, and more.
42
+ * - `<network>.transaction_attributions` - Information about the attributions of a transaction to a builder and associated builder codes.
43
+ * ### Supported Networks
44
+ * - Base Mainnet: `base`
45
+ * - Base Sepolia: `base_sepolia`
46
+ * So for example, valid tables are: `base.events`, `base_sepolia.events`, `base.transactions`, etc.
42
47
  * ### Query Limits
43
- * - Maximum result set: 100,000 rows
48
+ * - Maximum result set: 50,000 rows
49
+ * - Maximum query length: 10,000 characters
50
+ * - Maximum on-disk data to read: 100GB
51
+ * - Maximum memory usage: 15GB
44
52
  * - Query timeout: 30 seconds
53
+ * - Maximum JOINs: 12
54
+ * ### Query Caching
55
+ * By default, each query result is returned from cache so long as the result is from an identical query and less than 750ms old. This freshness tolerance can be modified upwards, to a maximum of 900000ms (i.e. 900s, 15m).
56
+ * This can be helpful for users who wish to reduce expensive calls to the SQL API by reusing cached results.
45
57
  */
46
58
  export declare const runSQLQuery: any;
47
59
  //# sourceMappingURL=runSQLQuery.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"runSQLQuery.d.ts","sourceRoot":"","sources":["../../src/operations/runSQLQuery.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,gBAAgB;;;;;EAOkC,CAAC;AAChE,MAAM,MAAM,gBAAgB,GAAG,OAAO,gBAAgB,CAAC,IAAI,CAAC;AAG5D,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;EA+C5B,CAAC;AACH,MAAM,MAAM,iBAAiB,GAAG,OAAO,iBAAiB,CAAC,IAAI,CAAC;AAG9D;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,eAAO,MAAM,WAAW,KAGrB,CAAC"}
1
+ {"version":3,"file":"runSQLQuery.d.ts","sourceRoot":"","sources":["../../src/operations/runSQLQuery.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,gBAAgB;;;;;EAOkC,CAAC;AAChE,MAAM,MAAM,gBAAgB,GAAG,OAAO,gBAAgB,CAAC,IAAI,CAAC;AAG5D,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;EA+C5B,CAAC;AACH,MAAM,MAAM,iBAAiB,GAAG,OAAO,iBAAiB,CAAC,IAAI,CAAC;AAG9D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,eAAO,MAAM,WAAW,KAGrB,CAAC"}
@@ -53,19 +53,31 @@ export const RunSQLQueryOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
53
53
  * This endpoint provides direct SQL access to comprehensive blockchain data across supported networks.
54
54
  * Queries are executed against optimized data structures for high-performance analytics.
55
55
  * ### Allowed Queries
56
- * - Standard SQL syntax (ClickHouse dialect)
56
+ * - Standard SQL syntax (CoinbaSeQL dialect, based on ClickHouse dialect)
57
57
  * - Read-only queries (SELECT statements)
58
58
  * - No DDL or DML operations
59
- * - No cartesian products
59
+ * - Query that follow limits (defined below)
60
60
  * ### Supported Tables
61
- * - `base.events` - Base mainnet decoded event logs with parameters, event signature, topics, and more.
62
- * - `base.transactions` - Base mainnet transaction data including hash, block number, gas usage.
63
- * - `base.blocks` - Base mainnet block information.
64
- * - `base.encoded_logs` - Encoded log data of event logs that aren't able to be decoded by our event decoder (ex: log0 opcode).
65
- * - `base.transfers` - All event logs with event signature `Transfer(address,address,uint256)`. ERC-20, ERC-721, and ERC-1155 transfers are all included.
61
+ * - `<network>.events` - Base mainnet decoded event logs with parameters, event signature, topics, and more.
62
+ * - `<network>.transactions` - Base mainnet transaction data including hash, block number, gas usage.
63
+ * - `<network>.blocks` - Base mainnet block information.
64
+ * - `<network>.encoded_logs` - Encoded log data of event logs that aren't able to be decoded by our event decoder (ex: log0 opcode).
65
+ * - `<network>.decoded_user_operations` - Decoded user operations data including hash, block number, gas usage, builder codes, entrypoint version, and more.
66
+ * - `<network>.transaction_attributions` - Information about the attributions of a transaction to a builder and associated builder codes.
67
+ * ### Supported Networks
68
+ * - Base Mainnet: `base`
69
+ * - Base Sepolia: `base_sepolia`
70
+ * So for example, valid tables are: `base.events`, `base_sepolia.events`, `base.transactions`, etc.
66
71
  * ### Query Limits
67
- * - Maximum result set: 100,000 rows
72
+ * - Maximum result set: 50,000 rows
73
+ * - Maximum query length: 10,000 characters
74
+ * - Maximum on-disk data to read: 100GB
75
+ * - Maximum memory usage: 15GB
68
76
  * - Query timeout: 30 seconds
77
+ * - Maximum JOINs: 12
78
+ * ### Query Caching
79
+ * By default, each query result is returned from cache so long as the result is from an identical query and less than 750ms old. This freshness tolerance can be modified upwards, to a maximum of 900000ms (i.e. 900s, 15m).
80
+ * This can be helpful for users who wish to reduce expensive calls to the SQL API by reusing cached results.
69
81
  */
70
82
  export const runSQLQuery = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
71
83
  inputSchema: RunSQLQueryInput,
@@ -1 +1 @@
1
- {"version":3,"file":"runSQLQuery.js","sourceRoot":"","sources":["../../src/operations/runSQLQuery.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,WAAW,CAAC;AAChC,OAAO,KAAK,CAAC,MAAM,WAAW,CAAC;AAE/B,eAAe;AACf,MAAM,CAAC,MAAM,gBAAgB,GAAG,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxE,GAAG,EAAE,MAAM,CAAC,MAAM;IAClB,KAAK,EAAE,MAAM,CAAC,QAAQ,CACpB,MAAM,CAAC,MAAM,CAAC;QACZ,QAAQ,EAAE,MAAM,CAAC,QAAQ,C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Y,EAAE,iBAAiB;CAChC,CAAC,CAAC,CAAC"}
@@ -2,6 +2,7 @@ import * as Schema from "effect/Schema";
2
2
  export declare const SendSolanaTransactionInput: Schema.Struct<{
3
3
  readonly network: Schema.Literals<readonly ["solana", "solana-devnet"]>;
4
4
  readonly transaction: Schema.String;
5
+ readonly useCdpSponsor: Schema.optional<Schema.Boolean>;
5
6
  }>;
6
7
  export type SendSolanaTransactionInput = typeof SendSolanaTransactionInput.Type;
7
8
  export declare const SendSolanaTransactionOutput: Schema.Struct<{
@@ -1 +1 @@
1
- {"version":3,"file":"sendSolanaTransaction.d.ts","sourceRoot":"","sources":["../../src/operations/sendSolanaTransaction.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,0BAA0B;;;EAMpC,CAAC;AACJ,MAAM,MAAM,0BAA0B,GAAG,OAAO,0BAA0B,CAAC,IAAI,CAAC;AAGhF,eAAO,MAAM,2BAA2B;;EAGpC,CAAC;AACL,MAAM,MAAM,2BAA2B,GACrC,OAAO,2BAA2B,CAAC,IAAI,CAAC;AAG1C;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,eAAO,MAAM,qBAAqB,KAKjC,CAAC"}
1
+ {"version":3,"file":"sendSolanaTransaction.d.ts","sourceRoot":"","sources":["../../src/operations/sendSolanaTransaction.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,0BAA0B;;;;EAOpC,CAAC;AACJ,MAAM,MAAM,0BAA0B,GAAG,OAAO,0BAA0B,CAAC,IAAI,CAAC;AAGhF,eAAO,MAAM,2BAA2B;;EAGpC,CAAC;AACL,MAAM,MAAM,2BAA2B,GACrC,OAAO,2BAA2B,CAAC,IAAI,CAAC;AAG1C;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,eAAO,MAAM,qBAAqB,KAKjC,CAAC"}
@@ -6,6 +6,7 @@ export const SendSolanaTransactionInput =
6
6
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
7
7
  network: Schema.Literals(["solana", "solana-devnet"]),
8
8
  transaction: Schema.String,
9
+ useCdpSponsor: Schema.optional(Schema.Boolean),
9
10
  }).pipe(T.Http({ method: "POST", path: "/v2/solana/accounts/send/transaction" }));
10
11
  // Output Schema
11
12
  export const SendSolanaTransactionOutput =
@@ -1 +1 @@
1
- {"version":3,"file":"sendSolanaTransaction.js","sourceRoot":"","sources":["../../src/operations/sendSolanaTransaction.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,WAAW,CAAC;AAChC,OAAO,KAAK,CAAC,MAAM,WAAW,CAAC;AAE/B,eAAe;AACf,MAAM,CAAC,MAAM,0BAA0B;AACrC,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,OAAO,EAAE,MAAM,CAAC,QAAQ,CAAC,CAAC,QAAQ,EAAE,eAAe,CAAC,CAAC;IACrD,WAAW,EAAE,MAAM,CAAC,MAAM;CAC3B,CAAC,CAAC,IAAI,CACL,CAAC,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,sCAAsC,EAAE,CAAC,CACzE,CAAC;AAGJ,gBAAgB;AAChB,MAAM,CAAC,MAAM,2BAA2B;AACtC,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,oBAAoB,EAAE,MAAM,CAAC,MAAM;CACpC,CAAC,CAAC;AAIL,gBAAgB;AAChB;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAG,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CACvE,GAAG,EAAE,CAAC,CAAC;IACL,WAAW,EAAE,0BAA0B;IACvC,YAAY,EAAE,2BAA2B;CAC1C,CAAC,CACH,CAAC"}
1
+ {"version":3,"file":"sendSolanaTransaction.js","sourceRoot":"","sources":["../../src/operations/sendSolanaTransaction.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,WAAW,CAAC;AAChC,OAAO,KAAK,CAAC,MAAM,WAAW,CAAC;AAE/B,eAAe;AACf,MAAM,CAAC,MAAM,0BAA0B;AACrC,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,OAAO,EAAE,MAAM,CAAC,QAAQ,CAAC,CAAC,QAAQ,EAAE,eAAe,CAAC,CAAC;IACrD,WAAW,EAAE,MAAM,CAAC,MAAM;IAC1B,aAAa,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,OAAO,CAAC;CAC/C,CAAC,CAAC,IAAI,CACL,CAAC,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,sCAAsC,EAAE,CAAC,CACzE,CAAC;AAGJ,gBAAgB;AAChB,MAAM,CAAC,MAAM,2BAA2B;AACtC,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,oBAAoB,EAAE,MAAM,CAAC,MAAM;CACpC,CAAC,CAAC;AAIL,gBAAgB;AAChB;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAG,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CACvE,GAAG,EAAE,CAAC,CAAC;IACL,WAAW,EAAE,0BAA0B;IACvC,YAAY,EAAE,2BAA2B;CAC1C,CAAC,CACH,CAAC"}
@@ -12,6 +12,7 @@ export declare const SettleX402PaymentOutput: Schema.Struct<{
12
12
  readonly payer: Schema.String;
13
13
  readonly transaction: Schema.String;
14
14
  readonly network: Schema.String;
15
+ readonly amount: Schema.optional<Schema.String>;
15
16
  }>;
16
17
  export type SettleX402PaymentOutput = typeof SettleX402PaymentOutput.Type;
17
18
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"settleX402Payment.d.ts","sourceRoot":"","sources":["../../src/operations/settleX402Payment.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,sBAAsB;;;;EAMwB,CAAC;AAC5D,MAAM,MAAM,sBAAsB,GAAG,OAAO,sBAAsB,CAAC,IAAI,CAAC;AAGxE,eAAO,MAAM,uBAAuB;;;;;;;EA2DhC,CAAC;AACL,MAAM,MAAM,uBAAuB,GAAG,OAAO,uBAAuB,CAAC,IAAI,CAAC;AAG1E;;;;GAIG;AACH,eAAO,MAAM,iBAAiB,KAG3B,CAAC"}
1
+ {"version":3,"file":"settleX402Payment.d.ts","sourceRoot":"","sources":["../../src/operations/settleX402Payment.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,sBAAsB;;;;EAMwB,CAAC;AAC5D,MAAM,MAAM,sBAAsB,GAAG,OAAO,sBAAsB,CAAC,IAAI,CAAC;AAGxE,eAAO,MAAM,uBAAuB;;;;;;;;EA4DhC,CAAC;AACL,MAAM,MAAM,uBAAuB,GAAG,OAAO,uBAAuB,CAAC,IAAI,CAAC;AAG1E;;;;GAIG;AACH,eAAO,MAAM,iBAAiB,KAG3B,CAAC"}
@@ -65,6 +65,7 @@ export const SettleX402PaymentOutput =
65
65
  payer: Schema.String,
66
66
  transaction: Schema.String,
67
67
  network: Schema.String,
68
+ amount: Schema.optional(Schema.String),
68
69
  });
69
70
  // The operation
70
71
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"settleX402Payment.js","sourceRoot":"","sources":["../../src/operations/settleX402Payment.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,WAAW,CAAC;AAChC,OAAO,KAAK,CAAC,MAAM,WAAW,CAAC;AAE/B,eAAe;AAC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EAAE,uBAAuB;CACtC,CAAC,CAAC,CAAC"}
@@ -4,7 +4,7 @@ export type SupportedX402PaymentKindsInput = typeof SupportedX402PaymentKindsInp
4
4
  export declare const SupportedX402PaymentKindsOutput: Schema.Struct<{
5
5
  readonly kinds: Schema.$Array<Schema.Struct<{
6
6
  readonly x402Version: Schema.Literals<readonly ["1", "2"]>;
7
- readonly scheme: Schema.Literals<readonly ["exact"]>;
7
+ readonly scheme: Schema.Literals<readonly ["exact", "upto"]>;
8
8
  readonly network: Schema.Literals<readonly ["base-sepolia", "base", "solana-devnet", "solana", "polygon", "eip155:8453", "eip155:84532", "eip155:137", "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp", "solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1"]>;
9
9
  readonly extra: Schema.optional<Schema.$Record<Schema.String, Schema.Unknown>>;
10
10
  }>>;
@@ -9,7 +9,7 @@ export const SupportedX402PaymentKindsOutput =
9
9
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
10
10
  kinds: Schema.Array(Schema.Struct({
11
11
  x402Version: Schema.Literals(["1", "2"]),
12
- scheme: Schema.Literals(["exact"]),
12
+ scheme: Schema.Literals(["exact", "upto"]),
13
13
  network: Schema.Literals([
14
14
  "base-sepolia",
15
15
  "base",
@@ -1 +1 @@
1
- {"version":3,"file":"supportedX402PaymentKinds.js","sourceRoot":"","sources":["../../src/operations/supportedX402PaymentKinds.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,WAAW,CAAC;AAChC,OAAO,KAAK,CAAC,MAAM,WAAW,CAAC;AAE/B,eAAe;AACf,MAAM,CAAC,MAAM,8BAA8B;AACzC,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,IAAI,CAChD,CAAC,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,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a,CAAC,GAAG,CAAC,IAAI,CAC3E,GAAG,EAAE,CAAC,CAAC;IACL,WAAW,EAAE,8BAA8B;IAC3C,YAAY,EAAE,+BAA+B;CAC9C,CAAC,CACH,CAAC"}
@@ -14,6 +14,7 @@ export declare const UpdateWebhookSubscriptionInput: Schema.Struct<{
14
14
  export type UpdateWebhookSubscriptionInput = typeof UpdateWebhookSubscriptionInput.Type;
15
15
  export declare const UpdateWebhookSubscriptionOutput: Schema.Struct<{
16
16
  readonly createdAt: Schema.String;
17
+ readonly updatedAt: Schema.optional<Schema.String>;
17
18
  readonly description: Schema.optional<Schema.Struct<{}>>;
18
19
  readonly eventTypes: Schema.$Array<Schema.String>;
19
20
  readonly isEnabled: Schema.Boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"updateWebhookSubscription.d.ts","sourceRoot":"","sources":["../../src/operations/updateWebhookSubscription.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAMxC,eAAO,MAAM,8BAA8B;;;;;;;;;;;EAiBxC,CAAC;AACJ,MAAM,MAAM,8BAA8B,GACxC,OAAO,8BAA8B,CAAC,IAAI,CAAC;AAG7C,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;EAkBxC,CAAC;AACL,MAAM,MAAM,+BAA+B,GACzC,OAAO,+BAA+B,CAAC,IAAI,CAAC;AAG9C;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,yBAAyB,KAKrC,CAAC"}
1
+ {"version":3,"file":"updateWebhookSubscription.d.ts","sourceRoot":"","sources":["../../src/operations/updateWebhookSubscription.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAMxC,eAAO,MAAM,8BAA8B;;;;;;;;;;;EAiBxC,CAAC;AACJ,MAAM,MAAM,8BAA8B,GACxC,OAAO,8BAA8B,CAAC,IAAI,CAAC;AAG7C,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;EAmBxC,CAAC;AACL,MAAM,MAAM,+BAA+B,GACzC,OAAO,+BAA+B,CAAC,IAAI,CAAC;AAG9C;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,yBAAyB,KAKrC,CAAC"}
@@ -23,6 +23,7 @@ export const UpdateWebhookSubscriptionInput =
23
23
  export const UpdateWebhookSubscriptionOutput =
24
24
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
25
25
  createdAt: Schema.String,
26
+ updatedAt: Schema.optional(Schema.String),
26
27
  description: Schema.optional(Schema.Struct({})),
27
28
  eventTypes: Schema.Array(Schema.String),
28
29
  isEnabled: Schema.Boolean,
@@ -1 +1 @@
1
- {"version":3,"file":"updateWebhookSubscription.js","sourceRoot":"","sources":["../../src/operations/updateWebhookSubscription.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,WAAW,CAAC;AAChC,OAAO,KAAK,CAAC,MAAM,WAAW,CAAC;AAC/B,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAE/C,eAAe;AACf,MAAM,CAAC,MAAM,8BAA8B;AACzC,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,cAAc,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;IACjD,WAAW,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;IAC/C,UAAU,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC;IACvC,SAAS,EAAE,MAAM,CAAC,OAAO;IACzB,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC;QACpB,GAAG,EAAE,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC;QACtB,OAAO,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC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AM,CAAC,CAAC;CACrE,CAAC,CAAC;AAIL,gBAAgB;AAChB;;;;;;;;;;;;;GAaG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAAG,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAC3E,GAAG,EAAE,CAAC,CAAC;IACL,WAAW,EAAE,8BAA8B;IAC3C,YAAY,EAAE,+BAA+B;CAC9C,CAAC,CACH,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@distilled.cloud/coinbase",
3
- "version": "0.9.0",
3
+ "version": "0.10.1",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/alchemy-run/distilled",
@@ -73,8 +73,8 @@
73
73
  "specs:update": "git -C specs/cdp-sdk fetch && git -C specs/cdp-sdk checkout main && git -C specs/cdp-sdk pull"
74
74
  },
75
75
  "dependencies": {
76
- "@distilled.cloud/core": "0.9.0",
77
- "effect": "4.0.0-beta.46"
76
+ "@distilled.cloud/core": "0.10.1",
77
+ "effect": "4.0.0-beta.48"
78
78
  },
79
79
  "devDependencies": {
80
80
  "@types/bun": "^1.3.0",
@@ -84,6 +84,6 @@
84
84
  "yaml": "^2.8.2"
85
85
  },
86
86
  "peerDependencies": {
87
- "effect": "4.0.0-beta.46"
87
+ "effect": "4.0.0-beta.48"
88
88
  }
89
89
  }
@@ -23,6 +23,7 @@ export type CreateWebhookSubscriptionInput =
23
23
  export const CreateWebhookSubscriptionOutput =
24
24
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
25
25
  createdAt: Schema.String,
26
+ updatedAt: Schema.optional(Schema.String),
26
27
  description: Schema.optional(Schema.Struct({})),
27
28
  eventTypes: Schema.Array(Schema.String),
28
29
  isEnabled: Schema.Boolean,
@@ -62,6 +63,8 @@ export type CreateWebhookSubscriptionOutput =
62
63
  * - `payments.transfers.processing`
63
64
  * - `payments.transfers.completed`
64
65
  * - `payments.transfers.failed`
66
+ * - `payments.transfers.travel_rule_incomplete`
67
+ * - `payments.transfers.travel_rule_completed`
65
68
  * - **No labels required** - enable the transfers webhook to monitor status transitions
66
69
  * **Wallet Events** - Wallet activity notifications:
67
70
  * - `wallet.activity.detected`
@@ -17,8 +17,9 @@ export type GetSQLGrammarOutput = typeof GetSQLGrammarOutput.Type;
17
17
  * Get SQL grammar
18
18
  *
19
19
  * Retrieve the SQL grammar for the SQL API.
20
- * The SQL queries that are supported by the SQL API are defined via an ANTLR4 grammar which is evaluated by server before executing the query. This ensures the safety and soundness of the SQL API.
21
- * This endpoint returns the ANTLR4 grammar that is used to evaluate the SQL queries so that developers can understand the SQL API and build SQL queries with high confidence and correctness. LLMs interact well with ANTLR4 grammar as well.
20
+ * The SQL queries that are supported by the SQL API are defined in ANTLR4 grammar which is evaluated by server before executing the query. This ensures the safety and soundness of the SQL query before execution.
21
+ * This endpoint returns the ANTLR4 grammar that is used to evaluate the SQL queries so that developers can understand the SQL API and build SQL queries with high confidence and correctness.
22
+ * LLMs interact well with ANTLR4 grammar. You can feed the grammar directly into the LLMs to help generate SQL queries.
22
23
  */
23
24
  export const getSQLGrammar = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
24
25
  inputSchema: GetSQLGrammarInput,
@@ -0,0 +1,49 @@
1
+ import * as Schema from "effect/Schema";
2
+ import { API } from "../client";
3
+ import * as T from "../traits";
4
+
5
+ // Input Schema
6
+ export const GetSQLSchemaInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
7
+ database: Schema.optional(Schema.Literals(["base", "base_sepolia"])),
8
+ table: Schema.optional(Schema.String),
9
+ }).pipe(T.Http({ method: "GET", path: "/v2/data/query/schema" }));
10
+ export type GetSQLSchemaInput = typeof GetSQLSchemaInput.Type;
11
+
12
+ // Output Schema
13
+ export const GetSQLSchemaOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
14
+ tables: Schema.optional(
15
+ Schema.Array(
16
+ Schema.Struct({
17
+ database: Schema.optional(Schema.String),
18
+ table: Schema.optional(Schema.String),
19
+ columns: Schema.optional(
20
+ Schema.Array(
21
+ Schema.Struct({
22
+ name: Schema.optional(Schema.String),
23
+ type: Schema.optional(Schema.String),
24
+ nullable: Schema.optional(Schema.Boolean),
25
+ description: Schema.optional(Schema.Struct({})),
26
+ indexOrder: Schema.optional(Schema.Number),
27
+ }),
28
+ ),
29
+ ),
30
+ }),
31
+ ),
32
+ ),
33
+ });
34
+ export type GetSQLSchemaOutput = typeof GetSQLSchemaOutput.Type;
35
+
36
+ // The operation
37
+ /**
38
+ * Get schemas details
39
+ *
40
+ * Retrieve the schema information for the available tables in the SQL API's indexed data.
41
+ * This includes table names, column definitions, data types, and indexed fields.
42
+ *
43
+ * @param database - The name of the database to query. Defaults to "base" when not specified.
44
+ * @param table - Get the schema for a specific table.
45
+ */
46
+ export const getSQLSchema = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
47
+ inputSchema: GetSQLSchemaInput,
48
+ outputSchema: GetSQLSchemaOutput,
49
+ }));
@@ -20,6 +20,7 @@ export type GetWebhookSubscriptionInput =
20
20
  export const GetWebhookSubscriptionOutput =
21
21
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
22
22
  createdAt: Schema.String,
23
+ updatedAt: Schema.optional(Schema.String),
23
24
  description: Schema.optional(Schema.Struct({})),
24
25
  eventTypes: Schema.Array(Schema.String),
25
26
  isEnabled: Schema.Boolean,
@@ -57,6 +57,7 @@ export * from "./requestSolanaFaucet";
57
57
  export * from "./listSolanaTokenBalances";
58
58
  export * from "./runSQLQuery";
59
59
  export * from "./getSQLGrammar";
60
+ export * from "./getSQLSchema";
60
61
  export * from "./listTokensForAccount";
61
62
  export * from "./listDataTokenBalances";
62
63
  export * from "./listWebhookSubscriptions";
@@ -64,6 +65,7 @@ export * from "./createWebhookSubscription";
64
65
  export * from "./getWebhookSubscription";
65
66
  export * from "./updateWebhookSubscription";
66
67
  export * from "./deleteWebhookSubscription";
68
+ export * from "./listWebhookSubscriptionEvents";
67
69
  export * from "./verifyX402Payment";
68
70
  export * from "./settleX402Payment";
69
71
  export * from "./supportedX402PaymentKinds";
@@ -0,0 +1,82 @@
1
+ import * as Schema from "effect/Schema";
2
+ import { API } from "../client";
3
+ import * as T from "../traits";
4
+
5
+ // Input Schema
6
+ export const ListWebhookSubscriptionEventsInput =
7
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
8
+ subscriptionId: Schema.String.pipe(T.PathParam()),
9
+ eventId: Schema.optional(Schema.String),
10
+ minCreatedAt: Schema.optional(Schema.String),
11
+ maxCreatedAt: Schema.optional(Schema.String),
12
+ eventTypeNames: Schema.optional(Schema.String),
13
+ }).pipe(
14
+ T.Http({
15
+ method: "GET",
16
+ path: "/v2/data/webhooks/subscriptions/{subscriptionId}/events",
17
+ }),
18
+ );
19
+ export type ListWebhookSubscriptionEventsInput =
20
+ typeof ListWebhookSubscriptionEventsInput.Type;
21
+
22
+ // Output Schema
23
+ export const ListWebhookSubscriptionEventsOutput =
24
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
25
+ events: Schema.Array(
26
+ Schema.Struct({
27
+ eventId: Schema.String,
28
+ eventTypeName: Schema.String,
29
+ status: Schema.Literals([
30
+ "pending",
31
+ "processing",
32
+ "succeeded",
33
+ "failed",
34
+ "retrying",
35
+ ]),
36
+ createdAt: Schema.String,
37
+ succeededAt: Schema.optional(Schema.String),
38
+ retryCount: Schema.Number,
39
+ response: Schema.optional(
40
+ Schema.Struct({
41
+ httpCode: Schema.optional(Schema.Number),
42
+ elapsedTimeMs: Schema.optional(Schema.Number),
43
+ body: Schema.optional(Schema.String),
44
+ errorName: Schema.optional(Schema.String),
45
+ }),
46
+ ),
47
+ }),
48
+ ),
49
+ });
50
+ export type ListWebhookSubscriptionEventsOutput =
51
+ typeof ListWebhookSubscriptionEventsOutput.Type;
52
+
53
+ // The operation
54
+ /**
55
+ * List webhook subscription events
56
+ *
57
+ * Retrieve webhook event delivery attempts for a specific subscription.
58
+ * Returns event deliveries in descending order by creation time (newest first),
59
+ * including delivery status, retry count, and response details.
60
+ * ### Use Cases
61
+ * - Debug webhook delivery failures and inspect response codes
62
+ * - Monitor delivery status and retry counts
63
+ * - Audit event delivery history for a subscription
64
+ * - Verify that expected events were sent to webhook URLs
65
+ * ### Filtering
66
+ * Use optional query parameters to narrow results:
67
+ * - `eventId` — find a specific event by ID
68
+ * - `minCreatedAt` / `maxCreatedAt` — filter by time range
69
+ * - `eventTypeNames` — filter by event type (comma-separated)
70
+ * **Note:** Results are limited to the 50 most recent events (newest first). No pagination is supported.
71
+ *
72
+ * @param subscriptionId - Unique identifier for the webhook subscription.
73
+ * @param eventId - Filter by a specific event ID.
74
+ * @param minCreatedAt - Filter events created at or after this timestamp (RFC 3339 format).
75
+ * @param maxCreatedAt - Filter events created at or before this timestamp (RFC 3339 format).
76
+ * @param eventTypeNames - Filter by event type names (comma-separated).
77
+ */
78
+ export const listWebhookSubscriptionEvents =
79
+ /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
80
+ inputSchema: ListWebhookSubscriptionEventsInput,
81
+ outputSchema: ListWebhookSubscriptionEventsOutput,
82
+ }));
@@ -18,6 +18,7 @@ export const ListWebhookSubscriptionsOutput =
18
18
  subscriptions: Schema.Array(
19
19
  Schema.Struct({
20
20
  createdAt: Schema.String,
21
+ updatedAt: Schema.optional(Schema.String),
21
22
  description: Schema.optional(Schema.Struct({})),
22
23
  eventTypes: Schema.Array(Schema.String),
23
24
  isEnabled: Schema.Boolean,
@@ -6,7 +6,7 @@ import * as T from "../traits";
6
6
  export const RequestSolanaFaucetInput =
7
7
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
8
8
  address: Schema.String,
9
- token: Schema.Literals(["sol", "usdc"]),
9
+ token: Schema.Literals(["sol", "usdc", "cbtusd"]),
10
10
  }).pipe(T.Http({ method: "POST", path: "/v2/solana/faucet" }));
11
11
  export type RequestSolanaFaucetInput = typeof RequestSolanaFaucetInput.Type;
12
12
 
@@ -22,7 +22,7 @@ export type RequestSolanaFaucetOutput = typeof RequestSolanaFaucetOutput.Type;
22
22
  * Request funds on Solana devnet
23
23
  *
24
24
  * Request funds from the CDP Faucet on Solana devnet.
25
- * Faucets are available for SOL.
25
+ * Faucets are available for SOL, USDC, and CBTUSD.
26
26
  * To prevent abuse, we enforce rate limits within a rolling 24-hour window to control the amount of funds that can be requested.
27
27
  * These limits are applied at both the CDP Project level and the blockchain address level.
28
28
  * A single blockchain address cannot exceed the specified limits, even if multiple users submit requests to the same address.
@@ -72,19 +72,31 @@ export type RunSQLQueryOutput = typeof RunSQLQueryOutput.Type;
72
72
  * This endpoint provides direct SQL access to comprehensive blockchain data across supported networks.
73
73
  * Queries are executed against optimized data structures for high-performance analytics.
74
74
  * ### Allowed Queries
75
- * - Standard SQL syntax (ClickHouse dialect)
75
+ * - Standard SQL syntax (CoinbaSeQL dialect, based on ClickHouse dialect)
76
76
  * - Read-only queries (SELECT statements)
77
77
  * - No DDL or DML operations
78
- * - No cartesian products
78
+ * - Query that follow limits (defined below)
79
79
  * ### Supported Tables
80
- * - `base.events` - Base mainnet decoded event logs with parameters, event signature, topics, and more.
81
- * - `base.transactions` - Base mainnet transaction data including hash, block number, gas usage.
82
- * - `base.blocks` - Base mainnet block information.
83
- * - `base.encoded_logs` - Encoded log data of event logs that aren't able to be decoded by our event decoder (ex: log0 opcode).
84
- * - `base.transfers` - All event logs with event signature `Transfer(address,address,uint256)`. ERC-20, ERC-721, and ERC-1155 transfers are all included.
80
+ * - `<network>.events` - Base mainnet decoded event logs with parameters, event signature, topics, and more.
81
+ * - `<network>.transactions` - Base mainnet transaction data including hash, block number, gas usage.
82
+ * - `<network>.blocks` - Base mainnet block information.
83
+ * - `<network>.encoded_logs` - Encoded log data of event logs that aren't able to be decoded by our event decoder (ex: log0 opcode).
84
+ * - `<network>.decoded_user_operations` - Decoded user operations data including hash, block number, gas usage, builder codes, entrypoint version, and more.
85
+ * - `<network>.transaction_attributions` - Information about the attributions of a transaction to a builder and associated builder codes.
86
+ * ### Supported Networks
87
+ * - Base Mainnet: `base`
88
+ * - Base Sepolia: `base_sepolia`
89
+ * So for example, valid tables are: `base.events`, `base_sepolia.events`, `base.transactions`, etc.
85
90
  * ### Query Limits
86
- * - Maximum result set: 100,000 rows
91
+ * - Maximum result set: 50,000 rows
92
+ * - Maximum query length: 10,000 characters
93
+ * - Maximum on-disk data to read: 100GB
94
+ * - Maximum memory usage: 15GB
87
95
  * - Query timeout: 30 seconds
96
+ * - Maximum JOINs: 12
97
+ * ### Query Caching
98
+ * By default, each query result is returned from cache so long as the result is from an identical query and less than 750ms old. This freshness tolerance can be modified upwards, to a maximum of 900000ms (i.e. 900s, 15m).
99
+ * This can be helpful for users who wish to reduce expensive calls to the SQL API by reusing cached results.
88
100
  */
89
101
  export const runSQLQuery = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
90
102
  inputSchema: RunSQLQueryInput,
@@ -7,6 +7,7 @@ export const SendSolanaTransactionInput =
7
7
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
8
8
  network: Schema.Literals(["solana", "solana-devnet"]),
9
9
  transaction: Schema.String,
10
+ useCdpSponsor: Schema.optional(Schema.Boolean),
10
11
  }).pipe(
11
12
  T.Http({ method: "POST", path: "/v2/solana/accounts/send/transaction" }),
12
13
  );
@@ -72,6 +72,7 @@ export const SettleX402PaymentOutput =
72
72
  payer: Schema.String,
73
73
  transaction: Schema.String,
74
74
  network: Schema.String,
75
+ amount: Schema.optional(Schema.String),
75
76
  });
76
77
  export type SettleX402PaymentOutput = typeof SettleX402PaymentOutput.Type;
77
78
 
@@ -16,7 +16,7 @@ export const SupportedX402PaymentKindsOutput =
16
16
  kinds: Schema.Array(
17
17
  Schema.Struct({
18
18
  x402Version: Schema.Literals(["1", "2"]),
19
- scheme: Schema.Literals(["exact"]),
19
+ scheme: Schema.Literals(["exact", "upto"]),
20
20
  network: Schema.Literals([
21
21
  "base-sepolia",
22
22
  "base",
@@ -29,6 +29,7 @@ export type UpdateWebhookSubscriptionInput =
29
29
  export const UpdateWebhookSubscriptionOutput =
30
30
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
31
31
  createdAt: Schema.String,
32
+ updatedAt: Schema.optional(Schema.String),
32
33
  description: Schema.optional(Schema.Struct({})),
33
34
  eventTypes: Schema.Array(Schema.String),
34
35
  isEnabled: Schema.Boolean,