@herd-labs/sdk 0.0.1 → 0.0.2
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/src/live/ActionsServiceLive.d.ts +2 -2
- package/dist/src/live/AdaptersServiceLive.d.ts +2 -2
- package/dist/src/live/AuthServiceLive.d.ts +2 -2
- package/dist/src/live/BookmarksServiceLive.d.ts +2 -2
- package/dist/src/live/CodeBlocksServiceLive.d.ts +2 -2
- package/dist/src/live/CollectionsServiceLive.d.ts +2 -2
- package/dist/src/live/ContractsServiceLive.d.ts +2 -2
- package/dist/src/live/DocsServiceLive.d.ts +2 -2
- package/dist/src/live/HalServiceLive.d.ts +2 -2
- package/dist/src/live/TransactionsServiceLive.d.ts +2 -2
- package/dist/src/live/WalletsServiceLive.d.ts +2 -2
- package/dist/src/schemas/actions.d.ts +15 -15
- package/dist/src/schemas/adapters.d.ts +2 -2
- package/dist/src/schemas/auth.d.ts +2 -2
- package/dist/src/schemas/bookmarks.d.ts +27 -27
- package/dist/src/schemas/codeblocks.d.ts +15 -15
- package/dist/src/schemas/collections.d.ts +8 -8
- package/dist/src/schemas/contracts.d.ts +39 -39
- package/dist/src/schemas/docs.d.ts +2 -2
- package/dist/src/schemas/hal.d.ts +18 -18
- package/dist/src/schemas/transactions.d.ts +90 -90
- package/dist/src/schemas/wallets.d.ts +69 -69
- package/package.json +17 -8
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { HerdConfig } from "../config.js";
|
|
2
2
|
import { ActionsService } from "../services/ActionsService.js";
|
|
3
3
|
import { Layer } from "effect";
|
|
4
|
-
import * as
|
|
4
|
+
import * as _effect_platform_HttpClient1 from "@effect/platform/HttpClient";
|
|
5
5
|
|
|
6
6
|
//#region src/live/ActionsServiceLive.d.ts
|
|
7
|
-
declare const ActionsServiceLive: Layer.Layer<ActionsService, never, HerdConfig |
|
|
7
|
+
declare const ActionsServiceLive: Layer.Layer<ActionsService, never, HerdConfig | _effect_platform_HttpClient1.HttpClient>;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { ActionsServiceLive };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { HerdConfig } from "../config.js";
|
|
2
2
|
import { AdaptersService } from "../services/AdaptersService.js";
|
|
3
3
|
import { Layer } from "effect";
|
|
4
|
-
import * as
|
|
4
|
+
import * as _effect_platform_HttpClient4 from "@effect/platform/HttpClient";
|
|
5
5
|
|
|
6
6
|
//#region src/live/AdaptersServiceLive.d.ts
|
|
7
|
-
declare const AdaptersServiceLive: Layer.Layer<AdaptersService, never, HerdConfig |
|
|
7
|
+
declare const AdaptersServiceLive: Layer.Layer<AdaptersService, never, HerdConfig | _effect_platform_HttpClient4.HttpClient>;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { AdaptersServiceLive };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { HerdConfig } from "../config.js";
|
|
2
2
|
import { AuthService } from "../services/AuthService.js";
|
|
3
3
|
import { Layer } from "effect";
|
|
4
|
-
import * as
|
|
4
|
+
import * as _effect_platform_HttpClient3 from "@effect/platform/HttpClient";
|
|
5
5
|
|
|
6
6
|
//#region src/live/AuthServiceLive.d.ts
|
|
7
|
-
declare const AuthServiceLive: Layer.Layer<AuthService, never, HerdConfig |
|
|
7
|
+
declare const AuthServiceLive: Layer.Layer<AuthService, never, HerdConfig | _effect_platform_HttpClient3.HttpClient>;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { AuthServiceLive };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { HerdConfig } from "../config.js";
|
|
2
2
|
import { BookmarksService } from "../services/BookmarksService.js";
|
|
3
3
|
import { Layer } from "effect";
|
|
4
|
-
import * as
|
|
4
|
+
import * as _effect_platform_HttpClient7 from "@effect/platform/HttpClient";
|
|
5
5
|
|
|
6
6
|
//#region src/live/BookmarksServiceLive.d.ts
|
|
7
|
-
declare const BookmarksServiceLive: Layer.Layer<BookmarksService, never, HerdConfig |
|
|
7
|
+
declare const BookmarksServiceLive: Layer.Layer<BookmarksService, never, HerdConfig | _effect_platform_HttpClient7.HttpClient>;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { BookmarksServiceLive };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { HerdConfig } from "../config.js";
|
|
2
2
|
import { CodeBlocksService } from "../services/CodeBlocksService.js";
|
|
3
3
|
import { Layer } from "effect";
|
|
4
|
-
import * as
|
|
4
|
+
import * as _effect_platform_HttpClient0 from "@effect/platform/HttpClient";
|
|
5
5
|
|
|
6
6
|
//#region src/live/CodeBlocksServiceLive.d.ts
|
|
7
|
-
declare const CodeBlocksServiceLive: Layer.Layer<CodeBlocksService, never, HerdConfig |
|
|
7
|
+
declare const CodeBlocksServiceLive: Layer.Layer<CodeBlocksService, never, HerdConfig | _effect_platform_HttpClient0.HttpClient>;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { CodeBlocksServiceLive };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { HerdConfig } from "../config.js";
|
|
2
2
|
import { CollectionsService } from "../services/CollectionsService.js";
|
|
3
3
|
import { Layer } from "effect";
|
|
4
|
-
import * as
|
|
4
|
+
import * as _effect_platform_HttpClient5 from "@effect/platform/HttpClient";
|
|
5
5
|
|
|
6
6
|
//#region src/live/CollectionsServiceLive.d.ts
|
|
7
|
-
declare const CollectionsServiceLive: Layer.Layer<CollectionsService, never, HerdConfig |
|
|
7
|
+
declare const CollectionsServiceLive: Layer.Layer<CollectionsService, never, HerdConfig | _effect_platform_HttpClient5.HttpClient>;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { CollectionsServiceLive };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { HerdConfig } from "../config.js";
|
|
2
2
|
import { ContractsService } from "../services/ContractsService.js";
|
|
3
3
|
import { Layer } from "effect";
|
|
4
|
-
import * as
|
|
4
|
+
import * as _effect_platform_HttpClient6 from "@effect/platform/HttpClient";
|
|
5
5
|
|
|
6
6
|
//#region src/live/ContractsServiceLive.d.ts
|
|
7
|
-
declare const ContractsServiceLive: Layer.Layer<ContractsService, never, HerdConfig |
|
|
7
|
+
declare const ContractsServiceLive: Layer.Layer<ContractsService, never, HerdConfig | _effect_platform_HttpClient6.HttpClient>;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { ContractsServiceLive };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { HerdConfig } from "../config.js";
|
|
2
2
|
import { DocsService } from "../services/DocsService.js";
|
|
3
3
|
import { Layer } from "effect";
|
|
4
|
-
import * as
|
|
4
|
+
import * as _effect_platform_HttpClient8 from "@effect/platform/HttpClient";
|
|
5
5
|
|
|
6
6
|
//#region src/live/DocsServiceLive.d.ts
|
|
7
|
-
declare const DocsServiceLive: Layer.Layer<DocsService, never, HerdConfig |
|
|
7
|
+
declare const DocsServiceLive: Layer.Layer<DocsService, never, HerdConfig | _effect_platform_HttpClient8.HttpClient>;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { DocsServiceLive };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { HerdConfig } from "../config.js";
|
|
2
2
|
import { HalService } from "../services/HalService.js";
|
|
3
3
|
import { Layer } from "effect";
|
|
4
|
-
import * as
|
|
4
|
+
import * as _effect_platform_HttpClient2 from "@effect/platform/HttpClient";
|
|
5
5
|
|
|
6
6
|
//#region src/live/HalServiceLive.d.ts
|
|
7
|
-
declare const HalServiceLive: Layer.Layer<HalService, never, HerdConfig |
|
|
7
|
+
declare const HalServiceLive: Layer.Layer<HalService, never, HerdConfig | _effect_platform_HttpClient2.HttpClient>;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { HalServiceLive };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { HerdConfig } from "../config.js";
|
|
2
2
|
import { TransactionsService } from "../services/TransactionsService.js";
|
|
3
3
|
import { Layer } from "effect";
|
|
4
|
-
import * as
|
|
4
|
+
import * as _effect_platform_HttpClient0 from "@effect/platform/HttpClient";
|
|
5
5
|
|
|
6
6
|
//#region src/live/TransactionsServiceLive.d.ts
|
|
7
|
-
declare const TransactionsServiceLive: Layer.Layer<TransactionsService, never, HerdConfig |
|
|
7
|
+
declare const TransactionsServiceLive: Layer.Layer<TransactionsService, never, HerdConfig | _effect_platform_HttpClient0.HttpClient>;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { TransactionsServiceLive };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { HerdConfig } from "../config.js";
|
|
2
2
|
import { WalletsService } from "../services/WalletsService.js";
|
|
3
3
|
import { Layer } from "effect";
|
|
4
|
-
import * as
|
|
4
|
+
import * as _effect_platform_HttpClient9 from "@effect/platform/HttpClient";
|
|
5
5
|
|
|
6
6
|
//#region src/live/WalletsServiceLive.d.ts
|
|
7
|
-
declare const WalletsServiceLive: Layer.Layer<WalletsService, never, HerdConfig |
|
|
7
|
+
declare const WalletsServiceLive: Layer.Layer<WalletsService, never, HerdConfig | _effect_platform_HttpClient9.HttpClient>;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { WalletsServiceLive };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Schema } from "effect";
|
|
2
|
-
import * as
|
|
2
|
+
import * as effect_Brand5 from "effect/Brand";
|
|
3
3
|
|
|
4
4
|
//#region src/schemas/actions.d.ts
|
|
5
5
|
declare const ActionExpression_base: Schema.Class<ActionExpression, {
|
|
@@ -26,12 +26,12 @@ declare const ActionExpression_base: Schema.Class<ActionExpression, {
|
|
|
26
26
|
readonly id: string;
|
|
27
27
|
} & {
|
|
28
28
|
readonly name: string;
|
|
29
|
-
} & {
|
|
30
|
-
readonly expression: unknown;
|
|
31
29
|
} & {
|
|
32
30
|
readonly intent?: string | undefined;
|
|
33
31
|
} & {
|
|
34
32
|
readonly publishedAt?: string | null | undefined;
|
|
33
|
+
} & {
|
|
34
|
+
readonly expression: unknown;
|
|
35
35
|
}, {}, {}>;
|
|
36
36
|
declare class ActionExpression extends ActionExpression_base {}
|
|
37
37
|
declare const Action_base: Schema.Class<Action, {
|
|
@@ -102,12 +102,12 @@ declare const ActionVersion_base: Schema.Class<ActionVersion, {
|
|
|
102
102
|
readonly id: string;
|
|
103
103
|
} & {
|
|
104
104
|
readonly name: string;
|
|
105
|
-
} & {
|
|
106
|
-
readonly expression: unknown;
|
|
107
105
|
} & {
|
|
108
106
|
readonly intent?: string | undefined;
|
|
109
107
|
} & {
|
|
110
108
|
readonly publishedAt?: string | null | undefined;
|
|
109
|
+
} & {
|
|
110
|
+
readonly expression: unknown;
|
|
111
111
|
}, {}, {}>;
|
|
112
112
|
declare class ActionVersion extends ActionVersion_base {}
|
|
113
113
|
declare const ActionsSearchParams_base: Schema.Class<ActionsSearchParams, {
|
|
@@ -131,7 +131,7 @@ declare const ActionsSearchParams_base: Schema.Class<ActionsSearchParams, {
|
|
|
131
131
|
} & {
|
|
132
132
|
readonly offset: number;
|
|
133
133
|
} & {
|
|
134
|
-
readonly scope: readonly ("yours" | "
|
|
134
|
+
readonly scope: readonly ("yours" | "verified" | "all_published")[];
|
|
135
135
|
} & {
|
|
136
136
|
readonly filters?: {
|
|
137
137
|
readonly name?: string | undefined;
|
|
@@ -149,10 +149,10 @@ declare const ActionsSearchResponse_base: Schema.Class<ActionsSearchResponse, {
|
|
|
149
149
|
nextCursor: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
150
150
|
}>, never, {
|
|
151
151
|
readonly items: readonly Action[];
|
|
152
|
-
} & {
|
|
153
|
-
readonly totalCount?: number | undefined;
|
|
154
152
|
} & {
|
|
155
153
|
readonly nextCursor?: string | null | undefined;
|
|
154
|
+
} & {
|
|
155
|
+
readonly totalCount?: number | undefined;
|
|
156
156
|
}, {}, {}>;
|
|
157
157
|
declare class ActionsSearchResponse extends ActionsSearchResponse_base {}
|
|
158
158
|
declare const ActionVersionsResponse_base: Schema.Class<ActionVersionsResponse, {
|
|
@@ -210,9 +210,9 @@ declare const RelatedAdaptersContract_base: Schema.Class<RelatedAdaptersContract
|
|
|
210
210
|
contractAddress: typeof Schema.String;
|
|
211
211
|
functionSignatures: Schema.Array$<typeof RelatedAdaptersFunctionSignature>;
|
|
212
212
|
}>, never, {
|
|
213
|
-
readonly contractAddress: string;
|
|
214
|
-
} & {
|
|
215
213
|
readonly blockchain: string | null;
|
|
214
|
+
} & {
|
|
215
|
+
readonly contractAddress: string;
|
|
216
216
|
} & {
|
|
217
217
|
readonly functionSignatures: readonly RelatedAdaptersFunctionSignature[];
|
|
218
218
|
}, {}, {}>;
|
|
@@ -233,13 +233,13 @@ declare const RelatedAdaptersSearchParams_base: Schema.Class<RelatedAdaptersSear
|
|
|
233
233
|
}>>;
|
|
234
234
|
scope: Schema.Array$<Schema.Literal<["yours", "verified"]>>;
|
|
235
235
|
}>, never, {
|
|
236
|
+
readonly scope: readonly ("yours" | "verified")[];
|
|
237
|
+
} & {
|
|
236
238
|
readonly contracts: readonly {
|
|
239
|
+
readonly address: string & effect_Brand5.Brand<"EvmAddress">;
|
|
237
240
|
readonly blockchain?: "ethereum" | "base" | undefined;
|
|
238
|
-
readonly address: string & effect_Brand0.Brand<"EvmAddress">;
|
|
239
241
|
readonly functionSignatures?: readonly string[] | undefined;
|
|
240
242
|
}[];
|
|
241
|
-
} & {
|
|
242
|
-
readonly scope: readonly ("yours" | "verified")[];
|
|
243
243
|
}, {}, {}>;
|
|
244
244
|
declare class RelatedAdaptersSearchParams extends RelatedAdaptersSearchParams_base {}
|
|
245
245
|
declare const CreateActionParams_base: Schema.Class<CreateActionParams, {
|
|
@@ -252,10 +252,10 @@ declare const CreateActionParams_base: Schema.Class<CreateActionParams, {
|
|
|
252
252
|
expression: typeof Schema.Unknown;
|
|
253
253
|
}>, never, {
|
|
254
254
|
readonly name: string;
|
|
255
|
-
} & {
|
|
256
|
-
readonly expression: unknown;
|
|
257
255
|
} & {
|
|
258
256
|
readonly intent?: string | undefined;
|
|
257
|
+
} & {
|
|
258
|
+
readonly expression: unknown;
|
|
259
259
|
}, {}, {}>;
|
|
260
260
|
declare class CreateActionParams extends CreateActionParams_base {}
|
|
261
261
|
declare const CreateActionResponse_base: Schema.Class<CreateActionResponse, {
|
|
@@ -11,10 +11,10 @@ declare const CreateAdapterParams_base: Schema.Class<CreateAdapterParams, {
|
|
|
11
11
|
expression: typeof Schema.Unknown;
|
|
12
12
|
}>, never, {
|
|
13
13
|
readonly name: string;
|
|
14
|
-
} & {
|
|
15
|
-
readonly expression: unknown;
|
|
16
14
|
} & {
|
|
17
15
|
readonly intent?: string | undefined;
|
|
16
|
+
} & {
|
|
17
|
+
readonly expression: unknown;
|
|
18
18
|
}, {}, {}>;
|
|
19
19
|
declare class CreateAdapterParams extends CreateAdapterParams_base {}
|
|
20
20
|
//#endregion
|
|
@@ -24,13 +24,13 @@ declare const TokenResponse_base: Schema.Class<TokenResponse, {
|
|
|
24
24
|
expiresIn: typeof Schema.Number;
|
|
25
25
|
tokenType: typeof Schema.String;
|
|
26
26
|
}>, never, {
|
|
27
|
+
readonly tokenType: string;
|
|
28
|
+
} & {
|
|
27
29
|
readonly accessToken: string;
|
|
28
30
|
} & {
|
|
29
31
|
readonly refreshToken: string;
|
|
30
32
|
} & {
|
|
31
33
|
readonly expiresIn: number;
|
|
32
|
-
} & {
|
|
33
|
-
readonly tokenType: string;
|
|
34
34
|
}, {}, {}>;
|
|
35
35
|
declare class TokenResponse extends TokenResponse_base {}
|
|
36
36
|
declare const ApiKeyResponse_base: Schema.Class<ApiKeyResponse, {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Schema } from "effect";
|
|
2
|
-
import * as
|
|
2
|
+
import * as effect_Brand3 from "effect/Brand";
|
|
3
3
|
|
|
4
4
|
//#region src/schemas/bookmarks.d.ts
|
|
5
5
|
declare const BookmarkObjectType: Schema.Literal<["contract", "transaction", "wallet"]>;
|
|
@@ -23,21 +23,21 @@ declare const ContractBookmark_base: Schema.Class<ContractBookmark, {
|
|
|
23
23
|
createdAt: typeof Schema.String;
|
|
24
24
|
updatedAt: typeof Schema.String;
|
|
25
25
|
}>, never, {
|
|
26
|
-
readonly
|
|
26
|
+
readonly contractName: string | null;
|
|
27
|
+
} & {
|
|
28
|
+
readonly blockchain: string;
|
|
27
29
|
} & {
|
|
28
30
|
readonly contractAddress: string;
|
|
29
31
|
} & {
|
|
30
|
-
readonly
|
|
32
|
+
readonly id: string;
|
|
33
|
+
} & {
|
|
34
|
+
readonly label: string | null;
|
|
31
35
|
} & {
|
|
32
36
|
readonly createdAt: string;
|
|
33
37
|
} & {
|
|
34
38
|
readonly updatedAt: string;
|
|
35
39
|
} & {
|
|
36
40
|
readonly userLabel: string | null;
|
|
37
|
-
} & {
|
|
38
|
-
readonly contractName: string | null;
|
|
39
|
-
} & {
|
|
40
|
-
readonly label: string | null;
|
|
41
41
|
}, {}, {}>;
|
|
42
42
|
declare class ContractBookmark extends ContractBookmark_base {}
|
|
43
43
|
declare const TransactionBookmark_base: Schema.Class<TransactionBookmark, {
|
|
@@ -55,17 +55,17 @@ declare const TransactionBookmark_base: Schema.Class<TransactionBookmark, {
|
|
|
55
55
|
createdAt: typeof Schema.String;
|
|
56
56
|
updatedAt: typeof Schema.String;
|
|
57
57
|
}>, never, {
|
|
58
|
+
readonly blockchain: string;
|
|
59
|
+
} & {
|
|
58
60
|
readonly id: string;
|
|
59
61
|
} & {
|
|
60
|
-
readonly
|
|
62
|
+
readonly transactionHash: string;
|
|
61
63
|
} & {
|
|
62
64
|
readonly createdAt: string;
|
|
63
65
|
} & {
|
|
64
66
|
readonly updatedAt: string;
|
|
65
67
|
} & {
|
|
66
68
|
readonly userLabel: string | null;
|
|
67
|
-
} & {
|
|
68
|
-
readonly transactionHash: string;
|
|
69
69
|
}, {}, {}>;
|
|
70
70
|
declare class TransactionBookmark extends TransactionBookmark_base {}
|
|
71
71
|
declare const WalletBookmark_base: Schema.Class<WalletBookmark, {
|
|
@@ -81,6 +81,8 @@ declare const WalletBookmark_base: Schema.Class<WalletBookmark, {
|
|
|
81
81
|
createdAt: typeof Schema.String;
|
|
82
82
|
updatedAt: typeof Schema.String;
|
|
83
83
|
}>, never, {
|
|
84
|
+
readonly walletAddress: string;
|
|
85
|
+
} & {
|
|
84
86
|
readonly id: string;
|
|
85
87
|
} & {
|
|
86
88
|
readonly createdAt: string;
|
|
@@ -88,8 +90,6 @@ declare const WalletBookmark_base: Schema.Class<WalletBookmark, {
|
|
|
88
90
|
readonly updatedAt: string;
|
|
89
91
|
} & {
|
|
90
92
|
readonly userLabel: string | null;
|
|
91
|
-
} & {
|
|
92
|
-
readonly walletAddress: string;
|
|
93
93
|
}, {}, {}>;
|
|
94
94
|
declare class WalletBookmark extends WalletBookmark_base {}
|
|
95
95
|
declare const BookmarksList_base: Schema.Class<BookmarksList, {
|
|
@@ -101,9 +101,9 @@ declare const BookmarksList_base: Schema.Class<BookmarksList, {
|
|
|
101
101
|
transactions: Schema.Array$<typeof TransactionBookmark>;
|
|
102
102
|
wallets: Schema.Array$<typeof WalletBookmark>;
|
|
103
103
|
}>, never, {
|
|
104
|
-
readonly contracts: readonly ContractBookmark[];
|
|
105
|
-
} & {
|
|
106
104
|
readonly transactions: readonly TransactionBookmark[];
|
|
105
|
+
} & {
|
|
106
|
+
readonly contracts: readonly ContractBookmark[];
|
|
107
107
|
} & {
|
|
108
108
|
readonly wallets: readonly WalletBookmark[];
|
|
109
109
|
}, {}, {}>;
|
|
@@ -138,11 +138,11 @@ declare const AddContractBookmarkParams_base: Schema.Class<AddContractBookmarkPa
|
|
|
138
138
|
blockchain: Schema.Literal<["ethereum", "base"]>;
|
|
139
139
|
label: Schema.optional<typeof Schema.String>;
|
|
140
140
|
}>, never, {
|
|
141
|
+
readonly address: string & effect_Brand3.Brand<"EvmAddress">;
|
|
142
|
+
} & {
|
|
141
143
|
readonly blockchain: "ethereum" | "base";
|
|
142
144
|
} & {
|
|
143
145
|
readonly label?: string | undefined;
|
|
144
|
-
} & {
|
|
145
|
-
readonly address: string & effect_Brand0.Brand<"EvmAddress">;
|
|
146
146
|
}, {}, {}>;
|
|
147
147
|
declare class AddContractBookmarkParams extends AddContractBookmarkParams_base {}
|
|
148
148
|
declare const AddTransactionBookmarkParams_base: Schema.Class<AddTransactionBookmarkParams, {
|
|
@@ -155,10 +155,10 @@ declare const AddTransactionBookmarkParams_base: Schema.Class<AddTransactionBook
|
|
|
155
155
|
label: Schema.optional<typeof Schema.String>;
|
|
156
156
|
}>, never, {
|
|
157
157
|
readonly blockchain: "ethereum" | "base";
|
|
158
|
-
} & {
|
|
159
|
-
readonly label?: string | undefined;
|
|
160
158
|
} & {
|
|
161
159
|
readonly txHash: string;
|
|
160
|
+
} & {
|
|
161
|
+
readonly label?: string | undefined;
|
|
162
162
|
}, {}, {}>;
|
|
163
163
|
declare class AddTransactionBookmarkParams extends AddTransactionBookmarkParams_base {}
|
|
164
164
|
declare const AddWalletBookmarkParams_base: Schema.Class<AddWalletBookmarkParams, {
|
|
@@ -168,9 +168,9 @@ declare const AddWalletBookmarkParams_base: Schema.Class<AddWalletBookmarkParams
|
|
|
168
168
|
address: Schema.brand<Schema.filter<typeof Schema.String>, "EvmAddress">;
|
|
169
169
|
label: Schema.optional<typeof Schema.String>;
|
|
170
170
|
}>, never, {
|
|
171
|
-
readonly
|
|
171
|
+
readonly address: string & effect_Brand3.Brand<"EvmAddress">;
|
|
172
172
|
} & {
|
|
173
|
-
readonly
|
|
173
|
+
readonly label?: string | undefined;
|
|
174
174
|
}, {}, {}>;
|
|
175
175
|
declare class AddWalletBookmarkParams extends AddWalletBookmarkParams_base {}
|
|
176
176
|
declare const UpdateBookmarkLabelParams_base: Schema.Class<UpdateBookmarkLabelParams, {
|
|
@@ -186,15 +186,15 @@ declare const UpdateBookmarkLabelParams_base: Schema.Class<UpdateBookmarkLabelPa
|
|
|
186
186
|
blockchain: Schema.optional<Schema.Literal<["ethereum", "base"]>>;
|
|
187
187
|
label: Schema.NullOr<typeof Schema.String>;
|
|
188
188
|
}>, never, {
|
|
189
|
+
readonly address?: string | undefined;
|
|
190
|
+
} & {
|
|
189
191
|
readonly blockchain?: "ethereum" | "base" | undefined;
|
|
190
192
|
} & {
|
|
191
|
-
readonly
|
|
193
|
+
readonly txHash?: string | undefined;
|
|
192
194
|
} & {
|
|
193
|
-
readonly
|
|
195
|
+
readonly label: string | null;
|
|
194
196
|
} & {
|
|
195
197
|
readonly objectType: "contract" | "transaction" | "wallet";
|
|
196
|
-
} & {
|
|
197
|
-
readonly txHash?: string | undefined;
|
|
198
198
|
}, {}, {}>;
|
|
199
199
|
declare class UpdateBookmarkLabelParams extends UpdateBookmarkLabelParams_base {}
|
|
200
200
|
declare const DeleteBookmarkParams_base: Schema.Class<DeleteBookmarkParams, {
|
|
@@ -208,13 +208,13 @@ declare const DeleteBookmarkParams_base: Schema.Class<DeleteBookmarkParams, {
|
|
|
208
208
|
txHash: Schema.optional<typeof Schema.String>;
|
|
209
209
|
blockchain: Schema.optional<Schema.Literal<["ethereum", "base"]>>;
|
|
210
210
|
}>, never, {
|
|
211
|
-
readonly blockchain?: "ethereum" | "base" | undefined;
|
|
212
|
-
} & {
|
|
213
211
|
readonly address?: string | undefined;
|
|
214
212
|
} & {
|
|
215
|
-
readonly
|
|
213
|
+
readonly blockchain?: "ethereum" | "base" | undefined;
|
|
216
214
|
} & {
|
|
217
215
|
readonly txHash?: string | undefined;
|
|
216
|
+
} & {
|
|
217
|
+
readonly objectType: "contract" | "transaction" | "wallet";
|
|
218
218
|
}, {}, {}>;
|
|
219
219
|
declare class DeleteBookmarkParams extends DeleteBookmarkParams_base {}
|
|
220
220
|
//#endregion
|
|
@@ -21,16 +21,16 @@ declare const CodeBlockCode_base: Schema.Class<CodeBlockCode, {
|
|
|
21
21
|
readonly id: string;
|
|
22
22
|
} & {
|
|
23
23
|
readonly name: string;
|
|
24
|
-
} & {
|
|
25
|
-
readonly code: string;
|
|
26
24
|
} & {
|
|
27
25
|
readonly intent: string;
|
|
28
26
|
} & {
|
|
29
|
-
readonly
|
|
27
|
+
readonly code: string;
|
|
30
28
|
} & {
|
|
31
29
|
readonly valTownFileUrl: string;
|
|
32
30
|
} & {
|
|
33
31
|
readonly arguments?: unknown;
|
|
32
|
+
} & {
|
|
33
|
+
readonly publishedAt: string | null;
|
|
34
34
|
}, {}, {}>;
|
|
35
35
|
declare class CodeBlockCode extends CodeBlockCode_base {}
|
|
36
36
|
declare const CodeBlockVersion_base: Schema.Class<CodeBlockVersion, {
|
|
@@ -68,11 +68,11 @@ declare const CodeBlockDefinition_base: Schema.Class<CodeBlockDefinition, {
|
|
|
68
68
|
allVersions: Schema.optional<Schema.Array$<typeof CodeBlockVersion>>;
|
|
69
69
|
actionId: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
70
70
|
}>, never, {
|
|
71
|
+
readonly actionId?: string | null | undefined;
|
|
72
|
+
} & {
|
|
71
73
|
readonly id: string;
|
|
72
74
|
} & {
|
|
73
75
|
readonly name: string;
|
|
74
|
-
} & {
|
|
75
|
-
readonly actionId?: string | null | undefined;
|
|
76
76
|
} & {
|
|
77
77
|
readonly intent: string;
|
|
78
78
|
} & {
|
|
@@ -141,14 +141,14 @@ declare const CreateCodeBlockResponse_base: Schema.Class<CreateCodeBlockResponse
|
|
|
141
141
|
readonly id: string;
|
|
142
142
|
} & {
|
|
143
143
|
readonly name: string;
|
|
144
|
+
} & {
|
|
145
|
+
readonly intent: string;
|
|
144
146
|
} & {
|
|
145
147
|
readonly code: {
|
|
146
148
|
readonly id: string;
|
|
147
149
|
readonly name: string;
|
|
148
150
|
readonly valTownFileUrl: string;
|
|
149
151
|
};
|
|
150
|
-
} & {
|
|
151
|
-
readonly intent: string;
|
|
152
152
|
}, {}, {}>;
|
|
153
153
|
declare class CreateCodeBlockResponse extends CreateCodeBlockResponse_base {}
|
|
154
154
|
declare const PublishCodeBlockResponse_base: Schema.Class<PublishCodeBlockResponse, {
|
|
@@ -203,8 +203,8 @@ declare const CodeBlockExecuteResponse_base: Schema.Class<CodeBlockExecuteRespon
|
|
|
203
203
|
readonly response: unknown;
|
|
204
204
|
} & {
|
|
205
205
|
readonly error?: {
|
|
206
|
-
readonly message: string;
|
|
207
206
|
readonly body?: unknown;
|
|
207
|
+
readonly message: string;
|
|
208
208
|
readonly status?: number | undefined;
|
|
209
209
|
} | undefined;
|
|
210
210
|
} & {
|
|
@@ -221,10 +221,10 @@ declare const CreateCodeBlockParams_base: Schema.Class<CreateCodeBlockParams, {
|
|
|
221
221
|
intent: Schema.optional<typeof Schema.String>;
|
|
222
222
|
}>, never, {
|
|
223
223
|
readonly name: string;
|
|
224
|
-
} & {
|
|
225
|
-
readonly code: string;
|
|
226
224
|
} & {
|
|
227
225
|
readonly intent?: string | undefined;
|
|
226
|
+
} & {
|
|
227
|
+
readonly code: string;
|
|
228
228
|
}, {}, {}>;
|
|
229
229
|
declare class CreateCodeBlockParams extends CreateCodeBlockParams_base {}
|
|
230
230
|
declare const CreateCodeVersionParams_base: Schema.Class<CreateCodeVersionParams, {
|
|
@@ -237,10 +237,10 @@ declare const CreateCodeVersionParams_base: Schema.Class<CreateCodeVersionParams
|
|
|
237
237
|
intent: Schema.optional<typeof Schema.String>;
|
|
238
238
|
}>, never, {
|
|
239
239
|
readonly name: string;
|
|
240
|
-
} & {
|
|
241
|
-
readonly code: string;
|
|
242
240
|
} & {
|
|
243
241
|
readonly intent?: string | undefined;
|
|
242
|
+
} & {
|
|
243
|
+
readonly code: string;
|
|
244
244
|
}, {}, {}>;
|
|
245
245
|
declare class CreateCodeVersionParams extends CreateCodeVersionParams_base {}
|
|
246
246
|
declare const CreateCodeVersionResponse_base: Schema.Class<CreateCodeVersionResponse, {
|
|
@@ -261,14 +261,14 @@ declare const CreateCodeVersionResponse_base: Schema.Class<CreateCodeVersionResp
|
|
|
261
261
|
readonly id: string;
|
|
262
262
|
} & {
|
|
263
263
|
readonly name: string;
|
|
264
|
-
} & {
|
|
265
|
-
readonly code: string;
|
|
266
264
|
} & {
|
|
267
265
|
readonly intent: string;
|
|
268
266
|
} & {
|
|
269
|
-
readonly
|
|
267
|
+
readonly code: string;
|
|
270
268
|
} & {
|
|
271
269
|
readonly valTownFileUrl: string;
|
|
270
|
+
} & {
|
|
271
|
+
readonly publishedAt: string | null;
|
|
272
272
|
}, {}, {}>;
|
|
273
273
|
declare class CreateCodeVersionResponse extends CreateCodeVersionResponse_base {}
|
|
274
274
|
declare const UpdateCodeBlockMetadataParams_base: Schema.Class<UpdateCodeBlockMetadataParams, {
|
|
@@ -69,10 +69,10 @@ declare const Collection_base: Schema.Class<Collection, {
|
|
|
69
69
|
latestVersion: Schema.NullOr<typeof CollectionVersion>;
|
|
70
70
|
}>, never, {
|
|
71
71
|
readonly id: string;
|
|
72
|
-
} & {
|
|
73
|
-
readonly description: string;
|
|
74
72
|
} & {
|
|
75
73
|
readonly name: string;
|
|
74
|
+
} & {
|
|
75
|
+
readonly description: string;
|
|
76
76
|
} & {
|
|
77
77
|
readonly latestVersion: CollectionVersion | null;
|
|
78
78
|
}, {}, {}>;
|
|
@@ -96,7 +96,7 @@ declare const CollectionsSearchParams_base: Schema.Class<CollectionsSearchParams
|
|
|
96
96
|
} & {
|
|
97
97
|
readonly offset: number;
|
|
98
98
|
} & {
|
|
99
|
-
readonly scope?: readonly ("yours" | "
|
|
99
|
+
readonly scope?: readonly ("yours" | "all" | "verified")[] | undefined;
|
|
100
100
|
} & {
|
|
101
101
|
readonly filters?: {
|
|
102
102
|
readonly name?: string | undefined;
|
|
@@ -142,9 +142,9 @@ declare const CreateCollectionParams_base: Schema.Class<CreateCollectionParams,
|
|
|
142
142
|
expressionImports: Schema.Array$<typeof Schema.String>;
|
|
143
143
|
protocols: Schema.optional<Schema.Array$<typeof Schema.String>>;
|
|
144
144
|
}>, never, {
|
|
145
|
-
readonly description?: string | undefined;
|
|
146
|
-
} & {
|
|
147
145
|
readonly name: string;
|
|
146
|
+
} & {
|
|
147
|
+
readonly description?: string | undefined;
|
|
148
148
|
} & {
|
|
149
149
|
readonly spec: {
|
|
150
150
|
readonly items: readonly {
|
|
@@ -191,8 +191,8 @@ declare const CreateCollectionResponse_base: Schema.Class<CreateCollectionRespon
|
|
|
191
191
|
} & {
|
|
192
192
|
readonly collection: {
|
|
193
193
|
readonly id: string;
|
|
194
|
-
readonly description: string;
|
|
195
194
|
readonly name: string;
|
|
195
|
+
readonly description: string;
|
|
196
196
|
};
|
|
197
197
|
}, {}, {}>;
|
|
198
198
|
declare class CreateCollectionResponse extends CreateCollectionResponse_base {}
|
|
@@ -223,9 +223,9 @@ declare const UpdateCollectionParams_base: Schema.Class<UpdateCollectionParams,
|
|
|
223
223
|
expressionImports: Schema.optional<Schema.Array$<typeof Schema.String>>;
|
|
224
224
|
protocols: Schema.optional<Schema.Array$<typeof Schema.String>>;
|
|
225
225
|
}>, never, {
|
|
226
|
-
readonly description?: string | undefined;
|
|
227
|
-
} & {
|
|
228
226
|
readonly name?: string | undefined;
|
|
227
|
+
} & {
|
|
228
|
+
readonly description?: string | undefined;
|
|
229
229
|
} & {
|
|
230
230
|
readonly spec?: {
|
|
231
231
|
readonly items: readonly {
|