@herd-labs/sdk 0.3.1 → 0.5.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.
- package/dist/index.d.ts +17 -17
- package/dist/index.js +17 -17
- package/dist/src/config.d.ts +11 -11
- package/dist/src/config.js +9 -12
- package/dist/src/errors.d.ts +35 -44
- package/dist/src/errors.js +19 -16
- package/dist/src/live/ActionsServiceLive.d.ts +3 -3
- package/dist/src/live/ActionsServiceLive.js +14 -14
- package/dist/src/live/AdaptersServiceLive.d.ts +3 -3
- package/dist/src/live/AdaptersServiceLive.js +8 -8
- package/dist/src/live/AgentSafesServiceLive.d.ts +3 -3
- package/dist/src/live/AgentSafesServiceLive.js +5 -5
- package/dist/src/live/AgentWalletsServiceLive.d.ts +3 -3
- package/dist/src/live/AgentWalletsServiceLive.js +4 -4
- package/dist/src/live/AgentWorkflowsServiceLive.d.ts +3 -3
- package/dist/src/live/AgentWorkflowsServiceLive.js +14 -14
- package/dist/src/live/AuthServiceLive.d.ts +3 -3
- package/dist/src/live/AuthServiceLive.js +7 -7
- package/dist/src/live/BookmarksServiceLive.d.ts +3 -3
- package/dist/src/live/BookmarksServiceLive.js +20 -20
- package/dist/src/live/CodeBlocksServiceLive.d.ts +3 -3
- package/dist/src/live/CodeBlocksServiceLive.js +11 -11
- package/dist/src/live/CollectionsServiceLive.d.ts +3 -3
- package/dist/src/live/CollectionsServiceLive.js +6 -6
- package/dist/src/live/ContractsServiceLive.d.ts +3 -3
- package/dist/src/live/ContractsServiceLive.js +10 -10
- package/dist/src/live/DocsServiceLive.d.ts +3 -3
- package/dist/src/live/DocsServiceLive.js +4 -4
- package/dist/src/live/GroupsServiceLive.d.ts +3 -3
- package/dist/src/live/GroupsServiceLive.js +9 -9
- package/dist/src/live/HalServiceLive.d.ts +3 -3
- package/dist/src/live/HalServiceLive.js +12 -12
- package/dist/src/live/TransactionsServiceLive.d.ts +3 -3
- package/dist/src/live/TransactionsServiceLive.js +18 -18
- package/dist/src/live/WalletsServiceLive.d.ts +3 -3
- package/dist/src/live/WalletsServiceLive.js +18 -18
- package/dist/src/live/http.d.ts +6 -6
- package/dist/src/live/http.js +15 -15
- package/dist/src/schemas/actions.d.ts +179 -339
- package/dist/src/schemas/actions.js +80 -76
- package/dist/src/schemas/adapters.d.ts +7 -17
- package/dist/src/schemas/adapters.js +5 -5
- package/dist/src/schemas/agent-wallets.d.ts +98 -222
- package/dist/src/schemas/agent-wallets.js +52 -52
- package/dist/src/schemas/agent-workflows.d.ts +104 -104
- package/dist/src/schemas/agent-workflows.js +53 -49
- package/dist/src/schemas/auth.d.ts +35 -64
- package/dist/src/schemas/auth.js +16 -16
- package/dist/src/schemas/bookmarks.d.ts +98 -216
- package/dist/src/schemas/bookmarks.js +55 -51
- package/dist/src/schemas/codeblocks.d.ts +149 -308
- package/dist/src/schemas/codeblocks.js +72 -67
- package/dist/src/schemas/collections.d.ts +120 -232
- package/dist/src/schemas/collections.js +48 -44
- package/dist/src/schemas/common.d.ts +13 -29
- package/dist/src/schemas/common.js +8 -8
- package/dist/src/schemas/contracts.d.ts +256 -447
- package/dist/src/schemas/contracts.js +92 -103
- package/dist/src/schemas/docs.d.ts +12 -29
- package/dist/src/schemas/docs.js +9 -9
- package/dist/src/schemas/groups.d.ts +74 -74
- package/dist/src/schemas/groups.js +32 -32
- package/dist/src/schemas/hal.d.ts +109 -217
- package/dist/src/schemas/hal.js +44 -42
- package/dist/src/schemas/transactions.d.ts +648 -926
- package/dist/src/schemas/transactions.js +158 -162
- package/dist/src/schemas/wallets.d.ts +577 -731
- package/dist/src/schemas/wallets.js +206 -145
- package/dist/src/services/ActionsService.d.ts +3 -3
- package/dist/src/services/ActionsService.js +2 -2
- package/dist/src/services/AdaptersService.d.ts +1 -1
- package/dist/src/services/AdaptersService.js +2 -2
- package/dist/src/services/AgentSafesService.d.ts +5 -5
- package/dist/src/services/AgentSafesService.js +2 -2
- package/dist/src/services/AgentWalletsService.d.ts +3 -3
- package/dist/src/services/AgentWalletsService.js +2 -2
- package/dist/src/services/AgentWorkflowsService.d.ts +11 -11
- package/dist/src/services/AgentWorkflowsService.js +6 -2
- package/dist/src/services/AuthService.d.ts +5 -5
- package/dist/src/services/AuthService.js +2 -2
- package/dist/src/services/BookmarksService.d.ts +3 -3
- package/dist/src/services/BookmarksService.js +2 -2
- package/dist/src/services/CodeBlocksService.d.ts +1 -1
- package/dist/src/services/CodeBlocksService.js +2 -2
- package/dist/src/services/CollectionsService.d.ts +1 -1
- package/dist/src/services/CollectionsService.js +2 -2
- package/dist/src/services/ContractsService.d.ts +6 -6
- package/dist/src/services/ContractsService.js +2 -2
- package/dist/src/services/DocsService.d.ts +2 -2
- package/dist/src/services/DocsService.js +2 -2
- package/dist/src/services/GroupsService.d.ts +13 -13
- package/dist/src/services/GroupsService.js +4 -2
- package/dist/src/services/HalService.d.ts +1 -1
- package/dist/src/services/HalService.js +2 -2
- package/dist/src/services/TransactionsService.d.ts +5 -5
- package/dist/src/services/TransactionsService.js +2 -2
- package/dist/src/services/WalletsService.d.ts +5 -5
- package/dist/src/services/WalletsService.js +2 -2
- package/package.json +13 -18
|
@@ -1,347 +1,187 @@
|
|
|
1
1
|
import { Schema } from "effect";
|
|
2
|
-
import * as effect_Brand0 from "effect/Brand";
|
|
3
2
|
|
|
4
3
|
//#region src/schemas/actions.d.ts
|
|
5
|
-
declare const
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
id:
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
}>;
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
readonly
|
|
31
|
-
|
|
32
|
-
readonly
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
declare
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
intent: Schema.optionalWith<typeof Schema.String, {
|
|
41
|
-
default: () => string;
|
|
42
|
-
}>;
|
|
43
|
-
expressionType: Schema.optionalWith<typeof Schema.String, {
|
|
44
|
-
default: () => string;
|
|
45
|
-
}>;
|
|
46
|
-
latestExpression: Schema.optionalWith<Schema.NullOr<typeof ActionExpression>, {
|
|
47
|
-
default: () => null;
|
|
48
|
-
}>;
|
|
49
|
-
expressionWithReferences: Schema.optionalWith<Schema.NullOr<typeof Schema.String>, {
|
|
50
|
-
default: () => null;
|
|
51
|
-
}>;
|
|
52
|
-
}, Schema.Struct.Encoded<{
|
|
53
|
-
id: typeof Schema.String;
|
|
54
|
-
name: typeof Schema.String;
|
|
55
|
-
intent: Schema.optionalWith<typeof Schema.String, {
|
|
56
|
-
default: () => string;
|
|
57
|
-
}>;
|
|
58
|
-
expressionType: Schema.optionalWith<typeof Schema.String, {
|
|
59
|
-
default: () => string;
|
|
60
|
-
}>;
|
|
61
|
-
latestExpression: Schema.optionalWith<Schema.NullOr<typeof ActionExpression>, {
|
|
62
|
-
default: () => null;
|
|
63
|
-
}>;
|
|
64
|
-
expressionWithReferences: Schema.optionalWith<Schema.NullOr<typeof Schema.String>, {
|
|
65
|
-
default: () => null;
|
|
66
|
-
}>;
|
|
67
|
-
}>, never, {
|
|
68
|
-
readonly id: string;
|
|
69
|
-
} & {
|
|
70
|
-
readonly name: string;
|
|
71
|
-
} & {
|
|
72
|
-
readonly intent?: string;
|
|
73
|
-
} & {
|
|
74
|
-
readonly expressionType?: string;
|
|
75
|
-
} & {
|
|
76
|
-
readonly latestExpression?: ActionExpression | null;
|
|
77
|
-
} & {
|
|
78
|
-
readonly expressionWithReferences?: string | null;
|
|
79
|
-
}, {}, {}>;
|
|
80
|
-
declare class Action extends Action_base {}
|
|
81
|
-
declare const ActionVersion_base: Schema.Class<ActionVersion, {
|
|
82
|
-
id: typeof Schema.String;
|
|
83
|
-
name: typeof Schema.String;
|
|
84
|
-
expression: typeof Schema.Unknown;
|
|
85
|
-
intent: Schema.optionalWith<typeof Schema.String, {
|
|
86
|
-
default: () => string;
|
|
87
|
-
}>;
|
|
88
|
-
publishedAt: Schema.optionalWith<Schema.NullOr<typeof Schema.String>, {
|
|
89
|
-
default: () => null;
|
|
90
|
-
}>;
|
|
91
|
-
}, Schema.Struct.Encoded<{
|
|
92
|
-
id: typeof Schema.String;
|
|
93
|
-
name: typeof Schema.String;
|
|
94
|
-
expression: typeof Schema.Unknown;
|
|
95
|
-
intent: Schema.optionalWith<typeof Schema.String, {
|
|
96
|
-
default: () => string;
|
|
97
|
-
}>;
|
|
98
|
-
publishedAt: Schema.optionalWith<Schema.NullOr<typeof Schema.String>, {
|
|
99
|
-
default: () => null;
|
|
100
|
-
}>;
|
|
101
|
-
}>, never, {
|
|
102
|
-
readonly id: string;
|
|
103
|
-
} & {
|
|
104
|
-
readonly name: string;
|
|
105
|
-
} & {
|
|
106
|
-
readonly intent?: string;
|
|
107
|
-
} & {
|
|
108
|
-
readonly expression: unknown;
|
|
109
|
-
} & {
|
|
110
|
-
readonly publishedAt?: string | null;
|
|
111
|
-
}, {}, {}>;
|
|
112
|
-
declare class ActionVersion extends ActionVersion_base {}
|
|
113
|
-
declare const ActionsSearchParams_base: Schema.Class<ActionsSearchParams, {
|
|
114
|
-
scope: Schema.Array$<Schema.Literal<["yours", "all_published", "verified"]>>;
|
|
115
|
-
limit: Schema.filter<typeof Schema.Number>;
|
|
116
|
-
offset: typeof Schema.Number;
|
|
117
|
-
filters: Schema.optional<Schema.Struct<{
|
|
118
|
-
name: Schema.optional<typeof Schema.String>;
|
|
119
|
-
expressionType: Schema.optional<Schema.Literal<["action", "adapter"]>>;
|
|
4
|
+
declare const ActionExpressionSchema: Schema.Struct<{
|
|
5
|
+
readonly expression: Schema.Unknown;
|
|
6
|
+
readonly id: Schema.String;
|
|
7
|
+
readonly intent: Schema.withDecodingDefaultType<Schema.String, never>;
|
|
8
|
+
readonly name: Schema.String;
|
|
9
|
+
readonly publishedAt: Schema.withDecodingDefaultType<Schema.NullOr<Schema.String>, never>;
|
|
10
|
+
}>;
|
|
11
|
+
type ActionExpression = typeof ActionExpressionSchema.Type;
|
|
12
|
+
declare const ActionSchema: Schema.Struct<{
|
|
13
|
+
readonly expressionType: Schema.withDecodingDefaultType<Schema.String, never>;
|
|
14
|
+
readonly expressionWithReferences: Schema.withDecodingDefaultType<Schema.NullOr<Schema.String>, never>;
|
|
15
|
+
readonly id: Schema.String;
|
|
16
|
+
readonly intent: Schema.withDecodingDefaultType<Schema.String, never>;
|
|
17
|
+
readonly latestExpression: Schema.withDecodingDefaultType<Schema.NullOr<Schema.Struct<{
|
|
18
|
+
readonly expression: Schema.Unknown;
|
|
19
|
+
readonly id: Schema.String;
|
|
20
|
+
readonly intent: Schema.withDecodingDefaultType<Schema.String, never>;
|
|
21
|
+
readonly name: Schema.String;
|
|
22
|
+
readonly publishedAt: Schema.withDecodingDefaultType<Schema.NullOr<Schema.String>, never>;
|
|
23
|
+
}>>, never>;
|
|
24
|
+
readonly name: Schema.String;
|
|
25
|
+
}>;
|
|
26
|
+
type Action = typeof ActionSchema.Type;
|
|
27
|
+
declare const ActionVersionSchema: Schema.Struct<{
|
|
28
|
+
readonly expression: Schema.Unknown;
|
|
29
|
+
readonly id: Schema.String;
|
|
30
|
+
readonly intent: Schema.withDecodingDefaultType<Schema.String, never>;
|
|
31
|
+
readonly name: Schema.String;
|
|
32
|
+
readonly publishedAt: Schema.withDecodingDefaultType<Schema.NullOr<Schema.String>, never>;
|
|
33
|
+
}>;
|
|
34
|
+
type ActionVersion = typeof ActionVersionSchema.Type;
|
|
35
|
+
declare const ActionsSearchParamsSchema: Schema.Struct<{
|
|
36
|
+
readonly filters: Schema.optional<Schema.Struct<{
|
|
37
|
+
readonly name: Schema.optional<Schema.String>;
|
|
38
|
+
readonly expressionType: Schema.optional<Schema.Literals<readonly ["action", "adapter"]>>;
|
|
120
39
|
}>>;
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
40
|
+
readonly limit: Schema.Number;
|
|
41
|
+
readonly offset: Schema.Number;
|
|
42
|
+
readonly scope: Schema.$Array<Schema.Literals<readonly ["yours", "all_published", "verified"]>>;
|
|
43
|
+
}>;
|
|
44
|
+
type ActionsSearchParams = typeof ActionsSearchParamsSchema.Type;
|
|
45
|
+
declare const ActionsSearchResponseSchema: Schema.Struct<{
|
|
46
|
+
readonly items: Schema.$Array<Schema.Struct<{
|
|
47
|
+
readonly expressionType: Schema.withDecodingDefaultType<Schema.String, never>;
|
|
48
|
+
readonly expressionWithReferences: Schema.withDecodingDefaultType<Schema.NullOr<Schema.String>, never>;
|
|
49
|
+
readonly id: Schema.String;
|
|
50
|
+
readonly intent: Schema.withDecodingDefaultType<Schema.String, never>;
|
|
51
|
+
readonly latestExpression: Schema.withDecodingDefaultType<Schema.NullOr<Schema.Struct<{
|
|
52
|
+
readonly expression: Schema.Unknown;
|
|
53
|
+
readonly id: Schema.String;
|
|
54
|
+
readonly intent: Schema.withDecodingDefaultType<Schema.String, never>;
|
|
55
|
+
readonly name: Schema.String;
|
|
56
|
+
readonly publishedAt: Schema.withDecodingDefaultType<Schema.NullOr<Schema.String>, never>;
|
|
57
|
+
}>>, never>;
|
|
58
|
+
readonly name: Schema.String;
|
|
128
59
|
}>>;
|
|
129
|
-
|
|
130
|
-
readonly
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
readonly
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
readonly
|
|
138
|
-
readonly
|
|
139
|
-
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
readonly
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
}, {}, {}>;
|
|
157
|
-
declare class ActionsSearchResponse extends ActionsSearchResponse_base {}
|
|
158
|
-
declare const ActionVersionsResponse_base: Schema.Class<ActionVersionsResponse, {
|
|
159
|
-
versionsByActionId: Schema.Record$<typeof Schema.String, Schema.Array$<typeof ActionVersion>>;
|
|
160
|
-
}, Schema.Struct.Encoded<{
|
|
161
|
-
versionsByActionId: Schema.Record$<typeof Schema.String, Schema.Array$<typeof ActionVersion>>;
|
|
162
|
-
}>, never, {
|
|
163
|
-
readonly versionsByActionId: {
|
|
164
|
-
readonly [x: string]: readonly ActionVersion[];
|
|
165
|
-
};
|
|
166
|
-
}, {}, {}>;
|
|
167
|
-
declare class ActionVersionsResponse extends ActionVersionsResponse_base {}
|
|
168
|
-
declare const RelatedAdapterItem_base: Schema.Class<RelatedAdapterItem, {
|
|
169
|
-
id: typeof Schema.String;
|
|
170
|
-
name: typeof Schema.String;
|
|
171
|
-
intent: typeof Schema.String;
|
|
172
|
-
expressionType: typeof Schema.String;
|
|
173
|
-
}, Schema.Struct.Encoded<{
|
|
174
|
-
id: typeof Schema.String;
|
|
175
|
-
name: typeof Schema.String;
|
|
176
|
-
intent: typeof Schema.String;
|
|
177
|
-
expressionType: typeof Schema.String;
|
|
178
|
-
}>, never, {
|
|
179
|
-
readonly id: string;
|
|
180
|
-
} & {
|
|
181
|
-
readonly name: string;
|
|
182
|
-
} & {
|
|
183
|
-
readonly intent: string;
|
|
184
|
-
} & {
|
|
185
|
-
readonly expressionType: string;
|
|
186
|
-
}, {}, {}>;
|
|
187
|
-
declare class RelatedAdapterItem extends RelatedAdapterItem_base {}
|
|
188
|
-
declare const RelatedAdaptersFunctionSignature_base: Schema.Class<RelatedAdaptersFunctionSignature, {
|
|
189
|
-
functionSignature: typeof Schema.String;
|
|
190
|
-
adapters: Schema.Array$<typeof RelatedAdapterItem>;
|
|
191
|
-
actions: Schema.Array$<typeof RelatedAdapterItem>;
|
|
192
|
-
}, Schema.Struct.Encoded<{
|
|
193
|
-
functionSignature: typeof Schema.String;
|
|
194
|
-
adapters: Schema.Array$<typeof RelatedAdapterItem>;
|
|
195
|
-
actions: Schema.Array$<typeof RelatedAdapterItem>;
|
|
196
|
-
}>, never, {
|
|
197
|
-
readonly functionSignature: string;
|
|
198
|
-
} & {
|
|
199
|
-
readonly adapters: readonly RelatedAdapterItem[];
|
|
200
|
-
} & {
|
|
201
|
-
readonly actions: readonly RelatedAdapterItem[];
|
|
202
|
-
}, {}, {}>;
|
|
203
|
-
declare class RelatedAdaptersFunctionSignature extends RelatedAdaptersFunctionSignature_base {}
|
|
204
|
-
declare const RelatedAdaptersContract_base: Schema.Class<RelatedAdaptersContract, {
|
|
205
|
-
blockchain: Schema.NullOr<typeof Schema.String>;
|
|
206
|
-
contractAddress: typeof Schema.String;
|
|
207
|
-
functionSignatures: Schema.Array$<typeof RelatedAdaptersFunctionSignature>;
|
|
208
|
-
}, Schema.Struct.Encoded<{
|
|
209
|
-
blockchain: Schema.NullOr<typeof Schema.String>;
|
|
210
|
-
contractAddress: typeof Schema.String;
|
|
211
|
-
functionSignatures: Schema.Array$<typeof RelatedAdaptersFunctionSignature>;
|
|
212
|
-
}>, never, {
|
|
213
|
-
readonly blockchain: string | null;
|
|
214
|
-
} & {
|
|
215
|
-
readonly contractAddress: string;
|
|
216
|
-
} & {
|
|
217
|
-
readonly functionSignatures: readonly RelatedAdaptersFunctionSignature[];
|
|
218
|
-
}, {}, {}>;
|
|
219
|
-
declare class RelatedAdaptersContract extends RelatedAdaptersContract_base {}
|
|
220
|
-
declare const RelatedAdaptersResponse: Schema.Array$<typeof RelatedAdaptersContract>;
|
|
221
|
-
declare const RelatedAdaptersSearchParams_base: Schema.Class<RelatedAdaptersSearchParams, {
|
|
222
|
-
contracts: Schema.Array$<Schema.Struct<{
|
|
223
|
-
address: Schema.brand<Schema.filter<typeof Schema.String>, "EvmAddress">;
|
|
224
|
-
blockchain: Schema.optional<Schema.Literal<["ethereum", "base"]>>;
|
|
225
|
-
functionSignatures: Schema.optional<Schema.Array$<typeof Schema.String>>;
|
|
60
|
+
readonly nextCursor: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
61
|
+
readonly totalCount: Schema.optional<Schema.Number>;
|
|
62
|
+
}>;
|
|
63
|
+
type ActionsSearchResponse = typeof ActionsSearchResponseSchema.Type;
|
|
64
|
+
declare const ActionVersionsResponseSchema: Schema.Struct<{
|
|
65
|
+
readonly versionsByActionId: Schema.$Record<Schema.String, Schema.$Array<Schema.Struct<{
|
|
66
|
+
readonly expression: Schema.Unknown;
|
|
67
|
+
readonly id: Schema.String;
|
|
68
|
+
readonly intent: Schema.withDecodingDefaultType<Schema.String, never>;
|
|
69
|
+
readonly name: Schema.String;
|
|
70
|
+
readonly publishedAt: Schema.withDecodingDefaultType<Schema.NullOr<Schema.String>, never>;
|
|
71
|
+
}>>>;
|
|
72
|
+
}>;
|
|
73
|
+
type ActionVersionsResponse = typeof ActionVersionsResponseSchema.Type;
|
|
74
|
+
declare const RelatedAdapterItemSchema: Schema.Struct<{
|
|
75
|
+
readonly expressionType: Schema.String;
|
|
76
|
+
readonly id: Schema.String;
|
|
77
|
+
readonly intent: Schema.String;
|
|
78
|
+
readonly name: Schema.String;
|
|
79
|
+
}>;
|
|
80
|
+
type RelatedAdapterItem = typeof RelatedAdapterItemSchema.Type;
|
|
81
|
+
declare const RelatedAdaptersFunctionSignatureSchema: Schema.Struct<{
|
|
82
|
+
readonly actions: Schema.$Array<Schema.Struct<{
|
|
83
|
+
readonly expressionType: Schema.String;
|
|
84
|
+
readonly id: Schema.String;
|
|
85
|
+
readonly intent: Schema.String;
|
|
86
|
+
readonly name: Schema.String;
|
|
226
87
|
}>>;
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
functionSignatures: Schema.optional<Schema.Array$<typeof Schema.String>>;
|
|
88
|
+
readonly adapters: Schema.$Array<Schema.Struct<{
|
|
89
|
+
readonly expressionType: Schema.String;
|
|
90
|
+
readonly id: Schema.String;
|
|
91
|
+
readonly intent: Schema.String;
|
|
92
|
+
readonly name: Schema.String;
|
|
233
93
|
}>>;
|
|
234
|
-
|
|
235
|
-
}
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
readonly
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
readonly
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
}
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
readonly
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
readonly
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
id:
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
}
|
|
299
|
-
readonly
|
|
300
|
-
}
|
|
301
|
-
|
|
302
|
-
declare const
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
}
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
readonly
|
|
310
|
-
}
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
}
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
readonly intent
|
|
324
|
-
}
|
|
325
|
-
|
|
326
|
-
declare const UpdateExpressionParams_base: Schema.Class<UpdateExpressionParams, {
|
|
327
|
-
name: typeof Schema.String;
|
|
328
|
-
expression: typeof Schema.Unknown;
|
|
329
|
-
}, Schema.Struct.Encoded<{
|
|
330
|
-
name: typeof Schema.String;
|
|
331
|
-
expression: typeof Schema.Unknown;
|
|
332
|
-
}>, never, {
|
|
333
|
-
readonly name: string;
|
|
334
|
-
} & {
|
|
335
|
-
readonly expression: unknown;
|
|
336
|
-
}, {}, {}>;
|
|
337
|
-
declare class UpdateExpressionParams extends UpdateExpressionParams_base {}
|
|
338
|
-
declare const PublishExpressionParams_base: Schema.Class<PublishExpressionParams, {
|
|
339
|
-
intent: Schema.optional<typeof Schema.String>;
|
|
340
|
-
}, Schema.Struct.Encoded<{
|
|
341
|
-
intent: Schema.optional<typeof Schema.String>;
|
|
342
|
-
}>, never, {
|
|
343
|
-
readonly intent?: string | undefined;
|
|
344
|
-
}, {}, {}>;
|
|
345
|
-
declare class PublishExpressionParams extends PublishExpressionParams_base {}
|
|
94
|
+
readonly functionSignature: Schema.String;
|
|
95
|
+
}>;
|
|
96
|
+
type RelatedAdaptersFunctionSignature = typeof RelatedAdaptersFunctionSignatureSchema.Type;
|
|
97
|
+
declare const RelatedAdaptersContractSchema: Schema.Struct<{
|
|
98
|
+
readonly blockchain: Schema.NullOr<Schema.String>;
|
|
99
|
+
readonly contractAddress: Schema.String;
|
|
100
|
+
readonly functionSignatures: Schema.$Array<Schema.Struct<{
|
|
101
|
+
readonly actions: Schema.$Array<Schema.Struct<{
|
|
102
|
+
readonly expressionType: Schema.String;
|
|
103
|
+
readonly id: Schema.String;
|
|
104
|
+
readonly intent: Schema.String;
|
|
105
|
+
readonly name: Schema.String;
|
|
106
|
+
}>>;
|
|
107
|
+
readonly adapters: Schema.$Array<Schema.Struct<{
|
|
108
|
+
readonly expressionType: Schema.String;
|
|
109
|
+
readonly id: Schema.String;
|
|
110
|
+
readonly intent: Schema.String;
|
|
111
|
+
readonly name: Schema.String;
|
|
112
|
+
}>>;
|
|
113
|
+
readonly functionSignature: Schema.String;
|
|
114
|
+
}>>;
|
|
115
|
+
}>;
|
|
116
|
+
type RelatedAdaptersContract = typeof RelatedAdaptersContractSchema.Type;
|
|
117
|
+
declare const RelatedAdaptersResponseSchema: Schema.$Array<Schema.Struct<{
|
|
118
|
+
readonly blockchain: Schema.NullOr<Schema.String>;
|
|
119
|
+
readonly contractAddress: Schema.String;
|
|
120
|
+
readonly functionSignatures: Schema.$Array<Schema.Struct<{
|
|
121
|
+
readonly actions: Schema.$Array<Schema.Struct<{
|
|
122
|
+
readonly expressionType: Schema.String;
|
|
123
|
+
readonly id: Schema.String;
|
|
124
|
+
readonly intent: Schema.String;
|
|
125
|
+
readonly name: Schema.String;
|
|
126
|
+
}>>;
|
|
127
|
+
readonly adapters: Schema.$Array<Schema.Struct<{
|
|
128
|
+
readonly expressionType: Schema.String;
|
|
129
|
+
readonly id: Schema.String;
|
|
130
|
+
readonly intent: Schema.String;
|
|
131
|
+
readonly name: Schema.String;
|
|
132
|
+
}>>;
|
|
133
|
+
readonly functionSignature: Schema.String;
|
|
134
|
+
}>>;
|
|
135
|
+
}>>;
|
|
136
|
+
type RelatedAdaptersResponse = typeof RelatedAdaptersResponseSchema.Type;
|
|
137
|
+
declare const RelatedAdaptersSearchParamsSchema: Schema.Struct<{
|
|
138
|
+
readonly contracts: Schema.$Array<Schema.Struct<{
|
|
139
|
+
readonly address: Schema.brand<Schema.String, "EvmAddress">;
|
|
140
|
+
readonly blockchain: Schema.optional<Schema.Literals<readonly ["ethereum", "base"]>>;
|
|
141
|
+
readonly functionSignatures: Schema.optional<Schema.$Array<Schema.String>>;
|
|
142
|
+
}>>;
|
|
143
|
+
readonly scope: Schema.$Array<Schema.Literals<readonly ["yours", "verified"]>>;
|
|
144
|
+
}>;
|
|
145
|
+
type RelatedAdaptersSearchParams = typeof RelatedAdaptersSearchParamsSchema.Type;
|
|
146
|
+
declare const CreateActionParamsSchema: Schema.Struct<{
|
|
147
|
+
readonly expression: Schema.Unknown;
|
|
148
|
+
readonly intent: Schema.optional<Schema.String>;
|
|
149
|
+
readonly name: Schema.String;
|
|
150
|
+
}>;
|
|
151
|
+
type CreateActionParams = typeof CreateActionParamsSchema.Type;
|
|
152
|
+
declare const CreateActionResponseSchema: Schema.Struct<{
|
|
153
|
+
readonly expressionType: Schema.String;
|
|
154
|
+
readonly id: Schema.String;
|
|
155
|
+
readonly latestExpression: Schema.Struct<{
|
|
156
|
+
readonly id: Schema.String;
|
|
157
|
+
readonly name: Schema.String;
|
|
158
|
+
}>;
|
|
159
|
+
readonly name: Schema.String;
|
|
160
|
+
}>;
|
|
161
|
+
type CreateActionResponse = typeof CreateActionResponseSchema.Type;
|
|
162
|
+
declare const PublishExpressionResponseSchema: Schema.Struct<{
|
|
163
|
+
readonly id: Schema.String;
|
|
164
|
+
readonly publishedAt: Schema.String;
|
|
165
|
+
}>;
|
|
166
|
+
type PublishExpressionResponse = typeof PublishExpressionResponseSchema.Type;
|
|
167
|
+
declare const GetActionVersionsParamsSchema: Schema.Struct<{
|
|
168
|
+
readonly actionIds: Schema.$Array<Schema.String>;
|
|
169
|
+
readonly latest: Schema.optional<Schema.Boolean>;
|
|
170
|
+
}>;
|
|
171
|
+
type GetActionVersionsParams = typeof GetActionVersionsParamsSchema.Type;
|
|
172
|
+
declare const UpdateActionMetadataParamsSchema: Schema.Struct<{
|
|
173
|
+
readonly intent: Schema.optional<Schema.String>;
|
|
174
|
+
readonly name: Schema.optional<Schema.String>;
|
|
175
|
+
}>;
|
|
176
|
+
type UpdateActionMetadataParams = typeof UpdateActionMetadataParamsSchema.Type;
|
|
177
|
+
declare const UpdateExpressionParamsSchema: Schema.Struct<{
|
|
178
|
+
readonly expression: Schema.Unknown;
|
|
179
|
+
readonly name: Schema.String;
|
|
180
|
+
}>;
|
|
181
|
+
type UpdateExpressionParams = typeof UpdateExpressionParamsSchema.Type;
|
|
182
|
+
declare const PublishExpressionParamsSchema: Schema.Struct<{
|
|
183
|
+
readonly intent: Schema.optional<Schema.String>;
|
|
184
|
+
}>;
|
|
185
|
+
type PublishExpressionParams = typeof PublishExpressionParamsSchema.Type;
|
|
346
186
|
//#endregion
|
|
347
|
-
export { Action, ActionExpression, ActionVersion, ActionVersionsResponse, ActionsSearchParams, ActionsSearchResponse, CreateActionParams, CreateActionResponse, GetActionVersionsParams, PublishExpressionParams, PublishExpressionResponse, RelatedAdapterItem, RelatedAdaptersContract, RelatedAdaptersFunctionSignature, RelatedAdaptersResponse, RelatedAdaptersSearchParams, UpdateActionMetadataParams, UpdateExpressionParams };
|
|
187
|
+
export { Action, ActionExpression, ActionExpressionSchema, ActionSchema, ActionVersion, ActionVersionSchema, ActionVersionsResponse, ActionVersionsResponseSchema, ActionsSearchParams, ActionsSearchParamsSchema, ActionsSearchResponse, ActionsSearchResponseSchema, CreateActionParams, CreateActionParamsSchema, CreateActionResponse, CreateActionResponseSchema, GetActionVersionsParams, GetActionVersionsParamsSchema, PublishExpressionParams, PublishExpressionParamsSchema, PublishExpressionResponse, PublishExpressionResponseSchema, RelatedAdapterItem, RelatedAdapterItemSchema, RelatedAdaptersContract, RelatedAdaptersContractSchema, RelatedAdaptersFunctionSignature, RelatedAdaptersFunctionSignatureSchema, RelatedAdaptersResponse, RelatedAdaptersResponseSchema, RelatedAdaptersSearchParams, RelatedAdaptersSearchParamsSchema, UpdateActionMetadataParams, UpdateActionMetadataParamsSchema, UpdateExpressionParams, UpdateExpressionParamsSchema };
|