@herd-labs/sdk 0.5.2 → 0.6.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 (47) hide show
  1. package/dist/index.d.ts +3 -3
  2. package/dist/index.js +3 -3
  3. package/dist/src/errors.js +1 -1
  4. package/dist/src/live/ActionsServiceLive.d.ts +2 -2
  5. package/dist/src/live/AdaptersServiceLive.d.ts +2 -2
  6. package/dist/src/live/AgentWalletsServiceLive.d.ts +2 -2
  7. package/dist/src/live/AgentWorkflowsServiceLive.d.ts +2 -2
  8. package/dist/src/live/AgentWorkflowsServiceLive.js +10 -4
  9. package/dist/src/live/BookmarksServiceLive.d.ts +2 -2
  10. package/dist/src/live/CollectionsServiceLive.d.ts +2 -2
  11. package/dist/src/live/ContractsServiceLive.d.ts +2 -2
  12. package/dist/src/live/DocsServiceLive.d.ts +2 -2
  13. package/dist/src/live/DoubleClickServiceLive.d.ts +2 -2
  14. package/dist/src/live/DoubleClickServiceLive.js +13 -2
  15. package/dist/src/live/GroupsServiceLive.d.ts +2 -2
  16. package/dist/src/live/HalServiceLive.d.ts +2 -2
  17. package/dist/src/live/TransactionsServiceLive.d.ts +2 -2
  18. package/dist/src/schemas/actions.d.ts +4 -4
  19. package/dist/src/schemas/actions.js +3 -3
  20. package/dist/src/schemas/agent-wallets.d.ts +6 -6
  21. package/dist/src/schemas/agent-wallets.js +1 -1
  22. package/dist/src/schemas/agent-workflows.d.ts +117 -8
  23. package/dist/src/schemas/agent-workflows.js +45 -4
  24. package/dist/src/schemas/auth.d.ts +1 -1
  25. package/dist/src/schemas/auth.js +1 -1
  26. package/dist/src/schemas/bookmarks.d.ts +4 -4
  27. package/dist/src/schemas/codeblocks.d.ts +2 -2
  28. package/dist/src/schemas/codeblocks.js +2 -2
  29. package/dist/src/schemas/collections.d.ts +3 -3
  30. package/dist/src/schemas/collections.js +3 -3
  31. package/dist/src/schemas/common.d.ts +6 -6
  32. package/dist/src/schemas/common.js +12 -6
  33. package/dist/src/schemas/contracts.d.ts +55 -55
  34. package/dist/src/schemas/contracts.js +21 -21
  35. package/dist/src/schemas/doubleclick.d.ts +16 -3
  36. package/dist/src/schemas/doubleclick.js +2 -1
  37. package/dist/src/schemas/groups.d.ts +35 -8
  38. package/dist/src/schemas/groups.js +17 -7
  39. package/dist/src/schemas/hal.d.ts +16 -16
  40. package/dist/src/schemas/hal.js +5 -5
  41. package/dist/src/schemas/transactions.d.ts +145 -145
  42. package/dist/src/schemas/transactions.js +52 -52
  43. package/dist/src/schemas/wallets.d.ts +137 -137
  44. package/dist/src/schemas/wallets.js +51 -51
  45. package/dist/src/services/AgentWorkflowsService.d.ts +3 -2
  46. package/dist/src/services/DoubleClickService.d.ts +7 -1
  47. package/package.json +3 -3
@@ -20,51 +20,51 @@ declare const TokenImageSchema: Schema.Struct<{
20
20
  type TokenImage = typeof TokenImageSchema.Type;
21
21
  declare const TopHolderSchema: Schema.Struct<{
22
22
  readonly address: Schema.String;
23
- readonly balance: Schema.Number;
23
+ readonly balance: Schema.Finite;
24
24
  readonly coingeckoLabel: Schema.optional<Schema.String>;
25
25
  readonly entityLabel: Schema.optional<Schema.String>;
26
26
  readonly name: Schema.optional<Schema.String>;
27
- readonly rank: Schema.Number;
28
- readonly sharePercentage: Schema.Number;
27
+ readonly rank: Schema.Finite;
28
+ readonly sharePercentage: Schema.Finite;
29
29
  readonly type: Schema.Literals<readonly ["contract", "wallet"]>;
30
- readonly valueUsd: Schema.Number;
30
+ readonly valueUsd: Schema.Finite;
31
31
  }>;
32
32
  type TopHolder = typeof TopHolderSchema.Type;
33
33
  declare const TokenDetailsSchema: Schema.Struct<{
34
- readonly athUsd: Schema.optional<Schema.Number>;
35
- readonly currentPriceUsd: Schema.optional<Schema.Number>;
36
- readonly decimals: Schema.optional<Schema.Number>;
34
+ readonly athUsd: Schema.optional<Schema.Finite>;
35
+ readonly currentPriceUsd: Schema.optional<Schema.Finite>;
36
+ readonly decimals: Schema.optional<Schema.Finite>;
37
37
  readonly description: Schema.optional<Schema.String>;
38
- readonly fullyDilutedValuationUsd: Schema.optional<Schema.Number>;
38
+ readonly fullyDilutedValuationUsd: Schema.optional<Schema.Finite>;
39
39
  readonly image: Schema.optional<Schema.Struct<{
40
40
  readonly large: Schema.optional<Schema.String>;
41
41
  readonly small: Schema.optional<Schema.String>;
42
42
  readonly thumb: Schema.optional<Schema.String>;
43
43
  }>>;
44
- readonly marketCapRank: Schema.optional<Schema.Number>;
45
- readonly marketCapUsd: Schema.optional<Schema.Number>;
44
+ readonly marketCapRank: Schema.optional<Schema.Finite>;
45
+ readonly marketCapUsd: Schema.optional<Schema.Finite>;
46
46
  readonly name: Schema.String;
47
47
  readonly symbol: Schema.String;
48
48
  readonly tokenType: Schema.Literals<readonly ["ERC20", "ERC721", "ERC1155"]>;
49
49
  readonly topHolders: Schema.optional<Schema.$Array<Schema.Struct<{
50
50
  readonly address: Schema.String;
51
- readonly balance: Schema.Number;
51
+ readonly balance: Schema.Finite;
52
52
  readonly coingeckoLabel: Schema.optional<Schema.String>;
53
53
  readonly entityLabel: Schema.optional<Schema.String>;
54
54
  readonly name: Schema.optional<Schema.String>;
55
- readonly rank: Schema.Number;
56
- readonly sharePercentage: Schema.Number;
55
+ readonly rank: Schema.Finite;
56
+ readonly sharePercentage: Schema.Finite;
57
57
  readonly type: Schema.Literals<readonly ["contract", "wallet"]>;
58
- readonly valueUsd: Schema.Number;
58
+ readonly valueUsd: Schema.Finite;
59
59
  }>>>;
60
- readonly totalSupply: Schema.optional<Schema.Number>;
61
- readonly totalVolumeUsd: Schema.optional<Schema.Number>;
60
+ readonly totalSupply: Schema.optional<Schema.Finite>;
61
+ readonly totalVolumeUsd: Schema.optional<Schema.Finite>;
62
62
  }>;
63
63
  type TokenDetails = typeof TokenDetailsSchema.Type;
64
64
  declare const AddressDetailsSchema: Schema.Struct<{
65
65
  readonly address: Schema.String;
66
66
  readonly constructorArgs: Schema.optional<Schema.$Record<Schema.String, Schema.Unknown>>;
67
- readonly deploymentBlockNumber: Schema.optional<Schema.Number>;
67
+ readonly deploymentBlockNumber: Schema.optional<Schema.Finite>;
68
68
  readonly deploymentTimestamp: Schema.optional<Schema.String>;
69
69
  readonly deploymentTimestampUtc: Schema.optional<Schema.String>;
70
70
  readonly deploymentTxHash: Schema.optional<Schema.String>;
@@ -76,13 +76,13 @@ declare const AddressDetailsSchema: Schema.Struct<{
76
76
  type AddressDetails = typeof AddressDetailsSchema.Type;
77
77
  declare const HistoricalImplementationSchema: Schema.Struct<{
78
78
  readonly address: Schema.String;
79
- readonly deploymentBlockNumber: Schema.optional<Schema.Number>;
80
- readonly deploymentBlockTimestamp: Schema.optional<Schema.Number>;
79
+ readonly deploymentBlockNumber: Schema.optional<Schema.Finite>;
80
+ readonly deploymentBlockTimestamp: Schema.optional<Schema.Finite>;
81
81
  readonly deploymentBlockTimestampUtc: Schema.optional<Schema.String>;
82
82
  readonly deploymentTxHash: Schema.optional<Schema.String>;
83
83
  readonly newEvents: Schema.optional<Schema.$Array<Schema.String>>;
84
84
  readonly newFunctions: Schema.optional<Schema.$Array<Schema.String>>;
85
- readonly versionNumber: Schema.Number;
85
+ readonly versionNumber: Schema.Finite;
86
86
  }>;
87
87
  type HistoricalImplementation = typeof HistoricalImplementationSchema.Type;
88
88
  declare const ContractMetadataSchema: Schema.Struct<{
@@ -90,7 +90,7 @@ declare const ContractMetadataSchema: Schema.Struct<{
90
90
  readonly addressDetails: Schema.optional<Schema.Struct<{
91
91
  readonly address: Schema.String;
92
92
  readonly constructorArgs: Schema.optional<Schema.$Record<Schema.String, Schema.Unknown>>;
93
- readonly deploymentBlockNumber: Schema.optional<Schema.Number>;
93
+ readonly deploymentBlockNumber: Schema.optional<Schema.Finite>;
94
94
  readonly deploymentTimestamp: Schema.optional<Schema.String>;
95
95
  readonly deploymentTimestampUtc: Schema.optional<Schema.String>;
96
96
  readonly deploymentTxHash: Schema.optional<Schema.String>;
@@ -113,56 +113,56 @@ declare const ContractMetadataSchema: Schema.Struct<{
113
113
  }>>>;
114
114
  readonly historicalImplementations: Schema.optional<Schema.$Array<Schema.Struct<{
115
115
  readonly address: Schema.String;
116
- readonly deploymentBlockNumber: Schema.optional<Schema.Number>;
117
- readonly deploymentBlockTimestamp: Schema.optional<Schema.Number>;
116
+ readonly deploymentBlockNumber: Schema.optional<Schema.Finite>;
117
+ readonly deploymentBlockTimestamp: Schema.optional<Schema.Finite>;
118
118
  readonly deploymentBlockTimestampUtc: Schema.optional<Schema.String>;
119
119
  readonly deploymentTxHash: Schema.optional<Schema.String>;
120
120
  readonly newEvents: Schema.optional<Schema.$Array<Schema.String>>;
121
121
  readonly newFunctions: Schema.optional<Schema.$Array<Schema.String>>;
122
- readonly versionNumber: Schema.Number;
122
+ readonly versionNumber: Schema.Finite;
123
123
  }>>>;
124
124
  readonly proxyAbi: Schema.optional<Schema.$Array<Schema.$Record<Schema.String, Schema.Unknown>>>;
125
125
  readonly signatureImplementationNames: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
126
126
  readonly signatureImplementations: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
127
127
  readonly tokenDetails: Schema.optional<Schema.Struct<{
128
- readonly athUsd: Schema.optional<Schema.Number>;
129
- readonly currentPriceUsd: Schema.optional<Schema.Number>;
130
- readonly decimals: Schema.optional<Schema.Number>;
128
+ readonly athUsd: Schema.optional<Schema.Finite>;
129
+ readonly currentPriceUsd: Schema.optional<Schema.Finite>;
130
+ readonly decimals: Schema.optional<Schema.Finite>;
131
131
  readonly description: Schema.optional<Schema.String>;
132
- readonly fullyDilutedValuationUsd: Schema.optional<Schema.Number>;
132
+ readonly fullyDilutedValuationUsd: Schema.optional<Schema.Finite>;
133
133
  readonly image: Schema.optional<Schema.Struct<{
134
134
  readonly large: Schema.optional<Schema.String>;
135
135
  readonly small: Schema.optional<Schema.String>;
136
136
  readonly thumb: Schema.optional<Schema.String>;
137
137
  }>>;
138
- readonly marketCapRank: Schema.optional<Schema.Number>;
139
- readonly marketCapUsd: Schema.optional<Schema.Number>;
138
+ readonly marketCapRank: Schema.optional<Schema.Finite>;
139
+ readonly marketCapUsd: Schema.optional<Schema.Finite>;
140
140
  readonly name: Schema.String;
141
141
  readonly symbol: Schema.String;
142
142
  readonly tokenType: Schema.Literals<readonly ["ERC20", "ERC721", "ERC1155"]>;
143
143
  readonly topHolders: Schema.optional<Schema.$Array<Schema.Struct<{
144
144
  readonly address: Schema.String;
145
- readonly balance: Schema.Number;
145
+ readonly balance: Schema.Finite;
146
146
  readonly coingeckoLabel: Schema.optional<Schema.String>;
147
147
  readonly entityLabel: Schema.optional<Schema.String>;
148
148
  readonly name: Schema.optional<Schema.String>;
149
- readonly rank: Schema.Number;
150
- readonly sharePercentage: Schema.Number;
149
+ readonly rank: Schema.Finite;
150
+ readonly sharePercentage: Schema.Finite;
151
151
  readonly type: Schema.Literals<readonly ["contract", "wallet"]>;
152
- readonly valueUsd: Schema.Number;
152
+ readonly valueUsd: Schema.Finite;
153
153
  }>>>;
154
- readonly totalSupply: Schema.optional<Schema.Number>;
155
- readonly totalVolumeUsd: Schema.optional<Schema.Number>;
154
+ readonly totalSupply: Schema.optional<Schema.Finite>;
155
+ readonly totalVolumeUsd: Schema.optional<Schema.Finite>;
156
156
  }>>;
157
157
  }>;
158
158
  type ContractMetadata = typeof ContractMetadataSchema.Type;
159
159
  declare const ContractCodeMatchBlockSchema: Schema.Struct<{
160
160
  readonly code: Schema.String;
161
- readonly endLine: Schema.Number;
161
+ readonly endLine: Schema.Finite;
162
162
  readonly fileName: Schema.String;
163
- readonly numberOfMatches: Schema.Number;
163
+ readonly numberOfMatches: Schema.Finite;
164
164
  readonly patterns: Schema.$Array<Schema.String>;
165
- readonly startLine: Schema.Number;
165
+ readonly startLine: Schema.Finite;
166
166
  }>;
167
167
  type ContractCodeMatchBlock = typeof ContractCodeMatchBlockSchema.Type;
168
168
  declare const ContractCodeSearchResultSchema: Schema.Struct<{
@@ -172,11 +172,11 @@ declare const ContractCodeSearchResultSchema: Schema.Struct<{
172
172
  readonly contractName: Schema.String;
173
173
  readonly matches: Schema.optional<Schema.$Array<Schema.Struct<{
174
174
  readonly code: Schema.String;
175
- readonly endLine: Schema.Number;
175
+ readonly endLine: Schema.Finite;
176
176
  readonly fileName: Schema.String;
177
- readonly numberOfMatches: Schema.Number;
177
+ readonly numberOfMatches: Schema.Finite;
178
178
  readonly patterns: Schema.$Array<Schema.String>;
179
- readonly startLine: Schema.Number;
179
+ readonly startLine: Schema.Finite;
180
180
  }>>>;
181
181
  readonly proxyCode: Schema.optional<Schema.String>;
182
182
  }>;
@@ -198,11 +198,11 @@ declare const GetContractCodeResponseSchema: Schema.Struct<{
198
198
  readonly contractName: Schema.String;
199
199
  readonly matches: Schema.optional<Schema.$Array<Schema.Struct<{
200
200
  readonly code: Schema.String;
201
- readonly endLine: Schema.Number;
201
+ readonly endLine: Schema.Finite;
202
202
  readonly fileName: Schema.String;
203
- readonly numberOfMatches: Schema.Number;
203
+ readonly numberOfMatches: Schema.Finite;
204
204
  readonly patterns: Schema.$Array<Schema.String>;
205
- readonly startLine: Schema.Number;
205
+ readonly startLine: Schema.Finite;
206
206
  }>>>;
207
207
  readonly proxyCode: Schema.optional<Schema.String>;
208
208
  }>>>;
@@ -211,25 +211,25 @@ declare const GetContractCodeResponseSchema: Schema.Struct<{
211
211
  }>;
212
212
  type GetContractCodeResponse = typeof GetContractCodeResponseSchema.Type;
213
213
  declare const DiffVersionInfoSchema: Schema.Struct<{
214
- readonly blockNumber: Schema.Number;
214
+ readonly blockNumber: Schema.Finite;
215
215
  readonly contractName: Schema.String;
216
216
  readonly implementationAddress: Schema.String;
217
- readonly versionNumber: Schema.Number;
217
+ readonly versionNumber: Schema.Finite;
218
218
  }>;
219
219
  type DiffVersionInfo = typeof DiffVersionInfoSchema.Type;
220
220
  declare const DiffEntrySchema: Schema.Struct<{
221
221
  readonly diff: Schema.String;
222
222
  readonly version1Info: Schema.Struct<{
223
- readonly blockNumber: Schema.Number;
223
+ readonly blockNumber: Schema.Finite;
224
224
  readonly contractName: Schema.String;
225
225
  readonly implementationAddress: Schema.String;
226
- readonly versionNumber: Schema.Number;
226
+ readonly versionNumber: Schema.Finite;
227
227
  }>;
228
228
  readonly version2Info: Schema.Struct<{
229
- readonly blockNumber: Schema.Number;
229
+ readonly blockNumber: Schema.Finite;
230
230
  readonly contractName: Schema.String;
231
231
  readonly implementationAddress: Schema.String;
232
- readonly versionNumber: Schema.Number;
232
+ readonly versionNumber: Schema.Finite;
233
233
  }>;
234
234
  }>;
235
235
  type DiffEntry = typeof DiffEntrySchema.Type;
@@ -239,16 +239,16 @@ declare const ContractDiffSchema: Schema.Struct<{
239
239
  readonly diffs: Schema.optional<Schema.$Array<Schema.Struct<{
240
240
  readonly diff: Schema.String;
241
241
  readonly version1Info: Schema.Struct<{
242
- readonly blockNumber: Schema.Number;
242
+ readonly blockNumber: Schema.Finite;
243
243
  readonly contractName: Schema.String;
244
244
  readonly implementationAddress: Schema.String;
245
- readonly versionNumber: Schema.Number;
245
+ readonly versionNumber: Schema.Finite;
246
246
  }>;
247
247
  readonly version2Info: Schema.Struct<{
248
- readonly blockNumber: Schema.Number;
248
+ readonly blockNumber: Schema.Finite;
249
249
  readonly contractName: Schema.String;
250
250
  readonly implementationAddress: Schema.String;
251
- readonly versionNumber: Schema.Number;
251
+ readonly versionNumber: Schema.Finite;
252
252
  }>;
253
253
  }>>>;
254
254
  readonly errorMessage: Schema.optional<Schema.String>;
@@ -18,24 +18,24 @@ const TokenImageSchema = Schema.Struct({
18
18
  });
19
19
  const TopHolderSchema = Schema.Struct({
20
20
  address: Schema.String,
21
- balance: Schema.Number,
21
+ balance: Schema.Finite,
22
22
  coingeckoLabel: Schema.optional(Schema.String),
23
23
  entityLabel: Schema.optional(Schema.String),
24
24
  name: Schema.optional(Schema.String),
25
- rank: Schema.Number,
26
- sharePercentage: Schema.Number,
25
+ rank: Schema.Finite,
26
+ sharePercentage: Schema.Finite,
27
27
  type: Schema.Literals(["contract", "wallet"]),
28
- valueUsd: Schema.Number
28
+ valueUsd: Schema.Finite
29
29
  });
30
30
  const TokenDetailsSchema = Schema.Struct({
31
- athUsd: Schema.optional(Schema.Number),
32
- currentPriceUsd: Schema.optional(Schema.Number),
33
- decimals: Schema.optional(Schema.Number),
31
+ athUsd: Schema.optional(Schema.Finite),
32
+ currentPriceUsd: Schema.optional(Schema.Finite),
33
+ decimals: Schema.optional(Schema.Finite),
34
34
  description: Schema.optional(Schema.String),
35
- fullyDilutedValuationUsd: Schema.optional(Schema.Number),
35
+ fullyDilutedValuationUsd: Schema.optional(Schema.Finite),
36
36
  image: Schema.optional(TokenImageSchema),
37
- marketCapRank: Schema.optional(Schema.Number),
38
- marketCapUsd: Schema.optional(Schema.Number),
37
+ marketCapRank: Schema.optional(Schema.Finite),
38
+ marketCapUsd: Schema.optional(Schema.Finite),
39
39
  name: Schema.String,
40
40
  symbol: Schema.String,
41
41
  tokenType: Schema.Literals([
@@ -44,13 +44,13 @@ const TokenDetailsSchema = Schema.Struct({
44
44
  "ERC1155"
45
45
  ]),
46
46
  topHolders: Schema.optional(Schema.Array(TopHolderSchema)),
47
- totalSupply: Schema.optional(Schema.Number),
48
- totalVolumeUsd: Schema.optional(Schema.Number)
47
+ totalSupply: Schema.optional(Schema.Finite),
48
+ totalVolumeUsd: Schema.optional(Schema.Finite)
49
49
  });
50
50
  const AddressDetailsSchema = Schema.Struct({
51
51
  address: Schema.String,
52
52
  constructorArgs: Schema.optional(Schema.Record(Schema.String, Schema.Unknown)),
53
- deploymentBlockNumber: Schema.optional(Schema.Number),
53
+ deploymentBlockNumber: Schema.optional(Schema.Finite),
54
54
  deploymentTimestamp: Schema.optional(Schema.String),
55
55
  deploymentTimestampUtc: Schema.optional(Schema.String),
56
56
  deploymentTxHash: Schema.optional(Schema.String),
@@ -61,13 +61,13 @@ const AddressDetailsSchema = Schema.Struct({
61
61
  });
62
62
  const HistoricalImplementationSchema = Schema.Struct({
63
63
  address: Schema.String,
64
- deploymentBlockNumber: Schema.optional(Schema.Number),
65
- deploymentBlockTimestamp: Schema.optional(Schema.Number),
64
+ deploymentBlockNumber: Schema.optional(Schema.Finite),
65
+ deploymentBlockTimestamp: Schema.optional(Schema.Finite),
66
66
  deploymentBlockTimestampUtc: Schema.optional(Schema.String),
67
67
  deploymentTxHash: Schema.optional(Schema.String),
68
68
  newEvents: Schema.optional(Schema.Array(Schema.String)),
69
69
  newFunctions: Schema.optional(Schema.Array(Schema.String)),
70
- versionNumber: Schema.Number
70
+ versionNumber: Schema.Finite
71
71
  });
72
72
  const ContractMetadataSchema = Schema.Struct({
73
73
  abi: Schema.optional(Schema.Array(Schema.Record(Schema.String, Schema.Unknown))),
@@ -85,11 +85,11 @@ const ContractMetadataSchema = Schema.Struct({
85
85
  });
86
86
  const ContractCodeMatchBlockSchema = Schema.Struct({
87
87
  code: Schema.String,
88
- endLine: Schema.Number,
88
+ endLine: Schema.Finite,
89
89
  fileName: Schema.String,
90
- numberOfMatches: Schema.Number,
90
+ numberOfMatches: Schema.Finite,
91
91
  patterns: Schema.Array(Schema.String),
92
- startLine: Schema.Number
92
+ startLine: Schema.Finite
93
93
  });
94
94
  const ContractCodeSearchResultSchema = Schema.Struct({
95
95
  blockchain: Schema.Literals(["ethereum", "base"]),
@@ -113,10 +113,10 @@ const GetContractCodeResponseSchema = Schema.Struct({
113
113
  query: Schema.optional(Schema.String)
114
114
  });
115
115
  const DiffVersionInfoSchema = Schema.Struct({
116
- blockNumber: Schema.Number,
116
+ blockNumber: Schema.Finite,
117
117
  contractName: Schema.String,
118
118
  implementationAddress: Schema.String,
119
- versionNumber: Schema.Number
119
+ versionNumber: Schema.Finite
120
120
  });
121
121
  const DiffEntrySchema = Schema.Struct({
122
122
  diff: Schema.String,
@@ -3,13 +3,13 @@ import { Schema } from "effect";
3
3
  //#region src/schemas/doubleclick.d.ts
4
4
  declare const DoubleClickJsonResponseSchema: Schema.Unknown;
5
5
  type DoubleClickJsonResponse = typeof DoubleClickJsonResponseSchema.Type;
6
- declare const IntegrityCheckKeySchema: Schema.Literals<readonly ["schema-defects", "stale-queries", "fixed-slot-shape-defects", "dangling-underlying-keys", "version-pointer-defects", "entity-reference-defects", "duplicate-edges", "base-query-id-defects", "live-param-query-usage", "live-slots-bad-bases"]>;
6
+ declare const IntegrityCheckKeySchema: Schema.Literals<readonly ["schema-defects", "stale-queries", "fixed-slot-shape-defects", "dangling-underlying-keys", "version-pointer-defects", "entity-reference-defects", "duplicate-edges", "morpho-balance-ids", "base-query-id-defects", "live-param-query-usage", "live-slots-bad-bases"]>;
7
7
  type IntegrityCheckKey = typeof IntegrityCheckKeySchema.Type;
8
8
  declare const SlotTargetTypeSchema: Schema.Literals<readonly ["node", "edge"]>;
9
9
  type SlotTargetType = typeof SlotTargetTypeSchema.Type;
10
10
  declare const ParamQueryOutputTypeSchema: Schema.Literals<readonly ["holding", "backing", "metric", "conversionRate", "conversionShare", "positionState"]>;
11
11
  type ParamQueryOutputType = typeof ParamQueryOutputTypeSchema.Type;
12
- declare const TraverseDepthSchema: Schema.Union<readonly [Schema.Number, Schema.Literal<"full">]>;
12
+ declare const TraverseDepthSchema: Schema.Union<readonly [Schema.Finite, Schema.Literal<"full">]>;
13
13
  type TraverseDepth = typeof TraverseDepthSchema.Type;
14
14
  declare const GraphVersionTargetSchema: Schema.Literals<readonly ["node", "edge"]>;
15
15
  type GraphVersionTarget = typeof GraphVersionTargetSchema.Type;
@@ -193,6 +193,7 @@ type RefreshSingleTokenParams = {
193
193
  readonly nodeId: string;
194
194
  readonly side?: "assets" | "liabilities" | undefined;
195
195
  readonly maxAgeMs?: number | undefined;
196
+ readonly adminLive?: boolean | undefined;
196
197
  };
197
198
  type RefreshAllTokensParams = {
198
199
  readonly staleMs?: number | undefined;
@@ -215,5 +216,17 @@ type BulkVersionReviewParams = {
215
216
  readonly versionIds: readonly string[];
216
217
  readonly notes?: string | undefined;
217
218
  };
219
+ type ForumItemParams = {
220
+ readonly itemId: string;
221
+ };
222
+ type CreateForumThreadParams = {
223
+ readonly body: string;
224
+ readonly agentName?: string | undefined;
225
+ readonly agentModel?: string | undefined;
226
+ };
227
+ type UpdateForumItemParams = {
228
+ readonly itemId: string;
229
+ readonly body: string;
230
+ };
218
231
  //#endregion
219
- export { AccountingCheckNodesParams, AccountingCheckParams, AddIssuerTokenParams, AddSlotParams, BulkVersionReviewParams, ChainAddressParams, ConvertSlotToFixedParams, CreateIssuerParams, CreateParamQueryParams, DirectionalTraversalParams, DoubleClickJsonResponse, DoubleClickJsonResponseSchema, ExecuteManyParamQueriesParams, ExecuteParamQueryParams, GetNodeByIdentityParams, GetNodeParams, GraphVersionTarget, GraphVersionTargetSchema, IncludeDraftsParams, IntegrityCheckKey, IntegrityCheckKeySchema, IntegrityCheckParams, IssuerTokensParams, ListCuratedTokensParams, ListResearchRunsParams, LogoBatchParams, MarkResearchRunFailedParams, NodeReadParams, OptionalSlotMethodologyParams, ParamQueryOutputType, ParamQueryOutputTypeSchema, QueryType, RefreshAllTokensParams, RefreshSingleTokenParams, RefreshStaleSlotsForExpansionParams, RefreshStaleSlotsForNodeParams, RegisterTokenParams, RepointParamQueryTarget, RepointParamQueryToLatestParams, SetCuratedParams, SetLogoParams, SetPrimaryTokenParams, SlotMethodologyParams, SlotPathParams, SlotTargetParams, SlotTargetType, SlotTargetTypeSchema, StartResearchRunParams, SubmitResearchGraphParams, TraversalParams, TraverseDepth, TraverseDepthSchema, UpdateIssuerParams, UpsertSideMetricsParams, VersionReviewParams };
232
+ export { AccountingCheckNodesParams, AccountingCheckParams, AddIssuerTokenParams, AddSlotParams, BulkVersionReviewParams, ChainAddressParams, ConvertSlotToFixedParams, CreateForumThreadParams, CreateIssuerParams, CreateParamQueryParams, DirectionalTraversalParams, DoubleClickJsonResponse, DoubleClickJsonResponseSchema, ExecuteManyParamQueriesParams, ExecuteParamQueryParams, ForumItemParams, GetNodeByIdentityParams, GetNodeParams, GraphVersionTarget, GraphVersionTargetSchema, IncludeDraftsParams, IntegrityCheckKey, IntegrityCheckKeySchema, IntegrityCheckParams, IssuerTokensParams, ListCuratedTokensParams, ListResearchRunsParams, LogoBatchParams, MarkResearchRunFailedParams, NodeReadParams, OptionalSlotMethodologyParams, ParamQueryOutputType, ParamQueryOutputTypeSchema, QueryType, RefreshAllTokensParams, RefreshSingleTokenParams, RefreshStaleSlotsForExpansionParams, RefreshStaleSlotsForNodeParams, RegisterTokenParams, RepointParamQueryTarget, RepointParamQueryToLatestParams, SetCuratedParams, SetLogoParams, SetPrimaryTokenParams, SlotMethodologyParams, SlotPathParams, SlotTargetParams, SlotTargetType, SlotTargetTypeSchema, StartResearchRunParams, SubmitResearchGraphParams, TraversalParams, TraverseDepth, TraverseDepthSchema, UpdateForumItemParams, UpdateIssuerParams, UpsertSideMetricsParams, VersionReviewParams };
@@ -10,6 +10,7 @@ const IntegrityCheckKeySchema = Schema.Literals([
10
10
  "version-pointer-defects",
11
11
  "entity-reference-defects",
12
12
  "duplicate-edges",
13
+ "morpho-balance-ids",
13
14
  "base-query-id-defects",
14
15
  "live-param-query-usage",
15
16
  "live-slots-bad-bases"
@@ -23,7 +24,7 @@ const ParamQueryOutputTypeSchema = Schema.Literals([
23
24
  "conversionShare",
24
25
  "positionState"
25
26
  ]);
26
- const TraverseDepthSchema = Schema.Union([Schema.Number, Schema.Literal("full")]);
27
+ const TraverseDepthSchema = Schema.Union([Schema.Finite, Schema.Literal("full")]);
27
28
  const GraphVersionTargetSchema = Schema.Literals(["node", "edge"]);
28
29
 
29
30
  //#endregion
@@ -5,9 +5,10 @@ declare const GroupSummarySchema: Schema.Struct<{
5
5
  readonly createdAt: Schema.String;
6
6
  readonly id: Schema.String;
7
7
  readonly intent: Schema.NullOr<Schema.String>;
8
- readonly memberCount: Schema.Number;
8
+ readonly memberCount: Schema.Finite;
9
9
  readonly name: Schema.NullOr<Schema.String>;
10
- readonly quorum: Schema.Number;
10
+ readonly quorum: Schema.Finite;
11
+ readonly walletAddress: Schema.NullOr<Schema.String>;
11
12
  }>;
12
13
  type GroupSummary = typeof GroupSummarySchema.Type;
13
14
  declare const GroupMemberSchema: Schema.Struct<{
@@ -16,9 +17,26 @@ declare const GroupMemberSchema: Schema.Struct<{
16
17
  readonly userId: Schema.String;
17
18
  }>;
18
19
  type GroupMember = typeof GroupMemberSchema.Type;
20
+ declare const GroupWalletSafeSchema: Schema.Struct<{
21
+ readonly blockchain: Schema.Literals<readonly ["ethereum", "base"]>;
22
+ readonly intent: Schema.NullOr<Schema.String>;
23
+ readonly isProposer: Schema.Boolean;
24
+ readonly isSigner: Schema.Boolean;
25
+ readonly name: Schema.NullOr<Schema.String>;
26
+ readonly safeAddress: Schema.String;
27
+ }>;
28
+ type GroupWalletSafe = typeof GroupWalletSafeSchema.Type;
19
29
  declare const GroupWalletSchema: Schema.Struct<{
20
30
  readonly address: Schema.String;
21
31
  readonly name: Schema.NullOr<Schema.String>;
32
+ readonly safes: Schema.$Array<Schema.Struct<{
33
+ readonly blockchain: Schema.Literals<readonly ["ethereum", "base"]>;
34
+ readonly intent: Schema.NullOr<Schema.String>;
35
+ readonly isProposer: Schema.Boolean;
36
+ readonly isSigner: Schema.Boolean;
37
+ readonly name: Schema.NullOr<Schema.String>;
38
+ readonly safeAddress: Schema.String;
39
+ }>>;
22
40
  }>;
23
41
  type GroupWallet = typeof GroupWalletSchema.Type;
24
42
  declare const GroupDetailsSchema: Schema.Struct<{
@@ -31,10 +49,18 @@ declare const GroupDetailsSchema: Schema.Struct<{
31
49
  readonly userId: Schema.String;
32
50
  }>>;
33
51
  readonly name: Schema.NullOr<Schema.String>;
34
- readonly quorum: Schema.Number;
52
+ readonly quorum: Schema.Finite;
35
53
  readonly wallet: Schema.NullOr<Schema.Struct<{
36
54
  readonly address: Schema.String;
37
55
  readonly name: Schema.NullOr<Schema.String>;
56
+ readonly safes: Schema.$Array<Schema.Struct<{
57
+ readonly blockchain: Schema.Literals<readonly ["ethereum", "base"]>;
58
+ readonly intent: Schema.NullOr<Schema.String>;
59
+ readonly isProposer: Schema.Boolean;
60
+ readonly isSigner: Schema.Boolean;
61
+ readonly name: Schema.NullOr<Schema.String>;
62
+ readonly safeAddress: Schema.String;
63
+ }>>;
38
64
  }>>;
39
65
  }>;
40
66
  type GroupDetails = typeof GroupDetailsSchema.Type;
@@ -42,7 +68,7 @@ declare const CreateGroupParamsSchema: Schema.Struct<{
42
68
  readonly intent: Schema.optional<Schema.String>;
43
69
  readonly members: Schema.$Array<Schema.String>;
44
70
  readonly name: Schema.String;
45
- readonly quorum: Schema.Number;
71
+ readonly quorum: Schema.Finite;
46
72
  }>;
47
73
  type CreateGroupParams = typeof CreateGroupParamsSchema.Type;
48
74
  declare const CreateGroupResponseSchema: Schema.Struct<{
@@ -55,9 +81,10 @@ declare const ListGroupsResponseSchema: Schema.Struct<{
55
81
  readonly createdAt: Schema.String;
56
82
  readonly id: Schema.String;
57
83
  readonly intent: Schema.NullOr<Schema.String>;
58
- readonly memberCount: Schema.Number;
84
+ readonly memberCount: Schema.Finite;
59
85
  readonly name: Schema.NullOr<Schema.String>;
60
- readonly quorum: Schema.Number;
86
+ readonly quorum: Schema.Finite;
87
+ readonly walletAddress: Schema.NullOr<Schema.String>;
61
88
  }>>;
62
89
  }>;
63
90
  type ListGroupsResponse = typeof ListGroupsResponseSchema.Type;
@@ -71,7 +98,7 @@ declare const ProposeMemberChangeParamsSchema: Schema.Struct<{
71
98
  }>;
72
99
  type ProposeMemberChangeParams = typeof ProposeMemberChangeParamsSchema.Type;
73
100
  declare const ProposeQuorumChangeParamsSchema: Schema.Struct<{
74
- readonly quorum: Schema.Number;
101
+ readonly quorum: Schema.Finite;
75
102
  }>;
76
103
  type ProposeQuorumChangeParams = typeof ProposeQuorumChangeParamsSchema.Type;
77
104
  declare const ProposalResponseSchema: Schema.Struct<{
@@ -91,4 +118,4 @@ declare const EditGroupMetadataResponseSchema: Schema.Struct<{
91
118
  }>;
92
119
  type EditGroupMetadataResponse = typeof EditGroupMetadataResponseSchema.Type;
93
120
  //#endregion
94
- export { CreateGroupParams, CreateGroupParamsSchema, CreateGroupResponse, CreateGroupResponseSchema, EditGroupMetadataParams, EditGroupMetadataParamsSchema, EditGroupMetadataResponse, EditGroupMetadataResponseSchema, GroupDetails, GroupDetailsSchema, GroupIdParams, GroupIdParamsSchema, GroupMember, GroupMemberSchema, GroupSummary, GroupSummarySchema, GroupWallet, GroupWalletSchema, ListGroupsResponse, ListGroupsResponseSchema, ProposalResponse, ProposalResponseSchema, ProposeMemberChangeParams, ProposeMemberChangeParamsSchema, ProposeQuorumChangeParams, ProposeQuorumChangeParamsSchema };
121
+ export { CreateGroupParams, CreateGroupParamsSchema, CreateGroupResponse, CreateGroupResponseSchema, EditGroupMetadataParams, EditGroupMetadataParamsSchema, EditGroupMetadataResponse, EditGroupMetadataResponseSchema, GroupDetails, GroupDetailsSchema, GroupIdParams, GroupIdParamsSchema, GroupMember, GroupMemberSchema, GroupSummary, GroupSummarySchema, GroupWallet, GroupWalletSafe, GroupWalletSafeSchema, GroupWalletSchema, ListGroupsResponse, ListGroupsResponseSchema, ProposalResponse, ProposalResponseSchema, ProposeMemberChangeParams, ProposeMemberChangeParamsSchema, ProposeQuorumChangeParams, ProposeQuorumChangeParamsSchema };
@@ -5,18 +5,28 @@ const GroupSummarySchema = Schema.Struct({
5
5
  createdAt: Schema.String,
6
6
  id: Schema.String,
7
7
  intent: Schema.NullOr(Schema.String),
8
- memberCount: Schema.Number,
8
+ memberCount: Schema.Finite,
9
9
  name: Schema.NullOr(Schema.String),
10
- quorum: Schema.Number
10
+ quorum: Schema.Finite,
11
+ walletAddress: Schema.NullOr(Schema.String)
11
12
  });
12
13
  const GroupMemberSchema = Schema.Struct({
13
14
  email: Schema.NullOr(Schema.String),
14
15
  joinedAt: Schema.String,
15
16
  userId: Schema.String
16
17
  });
18
+ const GroupWalletSafeSchema = Schema.Struct({
19
+ blockchain: Schema.Literals(["ethereum", "base"]),
20
+ intent: Schema.NullOr(Schema.String),
21
+ isProposer: Schema.Boolean,
22
+ isSigner: Schema.Boolean,
23
+ name: Schema.NullOr(Schema.String),
24
+ safeAddress: Schema.String
25
+ });
17
26
  const GroupWalletSchema = Schema.Struct({
18
27
  address: Schema.String,
19
- name: Schema.NullOr(Schema.String)
28
+ name: Schema.NullOr(Schema.String),
29
+ safes: Schema.Array(GroupWalletSafeSchema)
20
30
  });
21
31
  const GroupDetailsSchema = Schema.Struct({
22
32
  createdAt: Schema.String,
@@ -24,14 +34,14 @@ const GroupDetailsSchema = Schema.Struct({
24
34
  intent: Schema.NullOr(Schema.String),
25
35
  members: Schema.Array(GroupMemberSchema),
26
36
  name: Schema.NullOr(Schema.String),
27
- quorum: Schema.Number,
37
+ quorum: Schema.Finite,
28
38
  wallet: Schema.NullOr(GroupWalletSchema)
29
39
  });
30
40
  const CreateGroupParamsSchema = Schema.Struct({
31
41
  intent: Schema.optional(Schema.String),
32
42
  members: Schema.Array(Schema.String),
33
43
  name: Schema.String,
34
- quorum: Schema.Number
44
+ quorum: Schema.Finite
35
45
  });
36
46
  const CreateGroupResponseSchema = Schema.Struct({
37
47
  groupId: Schema.String,
@@ -43,7 +53,7 @@ const ProposeMemberChangeParamsSchema = Schema.Struct({
43
53
  email: Schema.String,
44
54
  type: Schema.Literals(["add", "remove"])
45
55
  });
46
- const ProposeQuorumChangeParamsSchema = Schema.Struct({ quorum: Schema.Number });
56
+ const ProposeQuorumChangeParamsSchema = Schema.Struct({ quorum: Schema.Finite });
47
57
  const ProposalResponseSchema = Schema.Struct({
48
58
  workflowId: Schema.String,
49
59
  workflowRunId: Schema.String
@@ -59,4 +69,4 @@ const EditGroupMetadataResponseSchema = Schema.Struct({
59
69
  });
60
70
 
61
71
  //#endregion
62
- export { CreateGroupParamsSchema, CreateGroupResponseSchema, EditGroupMetadataParamsSchema, EditGroupMetadataResponseSchema, GroupDetailsSchema, GroupIdParamsSchema, GroupMemberSchema, GroupSummarySchema, GroupWalletSchema, ListGroupsResponseSchema, ProposalResponseSchema, ProposeMemberChangeParamsSchema, ProposeQuorumChangeParamsSchema };
72
+ export { CreateGroupParamsSchema, CreateGroupResponseSchema, EditGroupMetadataParamsSchema, EditGroupMetadataResponseSchema, GroupDetailsSchema, GroupIdParamsSchema, GroupMemberSchema, GroupSummarySchema, GroupWalletSafeSchema, GroupWalletSchema, ListGroupsResponseSchema, ProposalResponseSchema, ProposeMemberChangeParamsSchema, ProposeQuorumChangeParamsSchema };
@@ -9,7 +9,7 @@ declare const EvaluateParamsSchema: Schema.Struct<{
9
9
  readonly tokenAddress: Schema.String;
10
10
  readonly startingBalanceRaw: Schema.String;
11
11
  }>>>;
12
- readonly simulationBlockNumber: Schema.optional<Schema.Number>;
12
+ readonly simulationBlockNumber: Schema.optional<Schema.Finite>;
13
13
  readonly tevmForkId: Schema.optional<Schema.String>;
14
14
  readonly walletAddress: Schema.brand<Schema.String, "EvmAddress">;
15
15
  }>;
@@ -23,7 +23,7 @@ declare const EvaluateExistingParamsSchema: Schema.Struct<{
23
23
  readonly startingBalanceRaw: Schema.String;
24
24
  readonly tokenAddress: Schema.String;
25
25
  }>>>;
26
- readonly simulationBlockNumber: Schema.optional<Schema.Number>;
26
+ readonly simulationBlockNumber: Schema.optional<Schema.Finite>;
27
27
  readonly tevmForkId: Schema.optional<Schema.String>;
28
28
  readonly walletAddress: Schema.brand<Schema.String, "EvmAddress">;
29
29
  }>;
@@ -31,10 +31,10 @@ type EvaluateExistingParams = typeof EvaluateExistingParamsSchema.Type;
31
31
  declare const TransactionStatusSchema: Schema.Struct<{
32
32
  readonly args: Schema.optional<Schema.NullOr<Schema.Unknown>>;
33
33
  readonly batchName: Schema.NullOr<Schema.String>;
34
- readonly batchStepIndex: Schema.NullOr<Schema.Number>;
35
- readonly blockNumber: Schema.NullOr<Schema.Number>;
36
- readonly blockTimestamp: Schema.NullOr<Schema.Number>;
37
- readonly blockchain: Schema.optional<Schema.Literals<readonly ["ethereum", "base"]>>;
34
+ readonly batchStepIndex: Schema.NullOr<Schema.Finite>;
35
+ readonly blockNumber: Schema.NullOr<Schema.Finite>;
36
+ readonly blockTimestamp: Schema.NullOr<Schema.Finite>;
37
+ readonly blockchain: Schema.optional<Schema.Literals<readonly ["ethereum", "base", "bsc", "arbitrum", "monad"]>>;
38
38
  readonly data: Schema.optional<Schema.String>;
39
39
  /** Full batch row fields when the API returns BatchTransactionStatus (simulation / evaluate). */
40
40
  readonly operationId: Schema.optional<Schema.String>;
@@ -56,15 +56,15 @@ declare const EvaluateResponseSchema: Schema.Struct<{
56
56
  readonly oplog: Schema.optional<Schema.Unknown>;
57
57
  readonly result: Schema.optional<Schema.Unknown>;
58
58
  readonly status: Schema.Literals<readonly ["completed", "suspended", "failed"]>;
59
- readonly tevmForkBlockchain: Schema.optional<Schema.Literals<readonly ["ethereum", "base"]>>;
59
+ readonly tevmForkBlockchain: Schema.optional<Schema.Literals<readonly ["ethereum", "base", "bsc", "arbitrum", "monad"]>>;
60
60
  readonly tevmForkId: Schema.optional<Schema.String>;
61
61
  readonly transactionStatuses: Schema.optional<Schema.$Array<Schema.Struct<{
62
62
  readonly args: Schema.optional<Schema.NullOr<Schema.Unknown>>;
63
63
  readonly batchName: Schema.NullOr<Schema.String>;
64
- readonly batchStepIndex: Schema.NullOr<Schema.Number>;
65
- readonly blockNumber: Schema.NullOr<Schema.Number>;
66
- readonly blockTimestamp: Schema.NullOr<Schema.Number>;
67
- readonly blockchain: Schema.optional<Schema.Literals<readonly ["ethereum", "base"]>>;
64
+ readonly batchStepIndex: Schema.NullOr<Schema.Finite>;
65
+ readonly blockNumber: Schema.NullOr<Schema.Finite>;
66
+ readonly blockTimestamp: Schema.NullOr<Schema.Finite>;
67
+ readonly blockchain: Schema.optional<Schema.Literals<readonly ["ethereum", "base", "bsc", "arbitrum", "monad"]>>;
68
68
  readonly data: Schema.optional<Schema.String>;
69
69
  /** Full batch row fields when the API returns BatchTransactionStatus (simulation / evaluate). */
70
70
  readonly operationId: Schema.optional<Schema.String>;
@@ -91,15 +91,15 @@ declare const EvaluateExistingResponseSchema: Schema.Struct<{
91
91
  readonly oplog: Schema.optional<Schema.Unknown>;
92
92
  readonly result: Schema.optional<Schema.Unknown>;
93
93
  readonly status: Schema.Literals<readonly ["completed", "suspended", "failed"]>;
94
- readonly tevmForkBlockchain: Schema.optional<Schema.Literals<readonly ["ethereum", "base"]>>;
94
+ readonly tevmForkBlockchain: Schema.optional<Schema.Literals<readonly ["ethereum", "base", "bsc", "arbitrum", "monad"]>>;
95
95
  readonly tevmForkId: Schema.optional<Schema.String>;
96
96
  readonly transactionStatuses: Schema.optional<Schema.$Array<Schema.Struct<{
97
97
  readonly args: Schema.optional<Schema.NullOr<Schema.Unknown>>;
98
98
  readonly batchName: Schema.NullOr<Schema.String>;
99
- readonly batchStepIndex: Schema.NullOr<Schema.Number>;
100
- readonly blockNumber: Schema.NullOr<Schema.Number>;
101
- readonly blockTimestamp: Schema.NullOr<Schema.Number>;
102
- readonly blockchain: Schema.optional<Schema.Literals<readonly ["ethereum", "base"]>>;
99
+ readonly batchStepIndex: Schema.NullOr<Schema.Finite>;
100
+ readonly blockNumber: Schema.NullOr<Schema.Finite>;
101
+ readonly blockTimestamp: Schema.NullOr<Schema.Finite>;
102
+ readonly blockchain: Schema.optional<Schema.Literals<readonly ["ethereum", "base", "bsc", "arbitrum", "monad"]>>;
103
103
  readonly data: Schema.optional<Schema.String>;
104
104
  /** Full batch row fields when the API returns BatchTransactionStatus (simulation / evaluate). */
105
105
  readonly operationId: Schema.optional<Schema.String>;