@polyester/sdk 0.33.1-devnet-20261105174258 → 0.34.0-devnet-20261105175240
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/CHANGELOG.md +5 -1
- package/dist/services/address-book/address-book.schemas.d.ts +2 -2
- package/dist/services/changelog/changelog.schemas.d.ts +17 -17
- package/dist/services/checkpoints/checkpoints.schemas.d.ts +2 -2
- package/dist/services/heatmap/heatmap.schemas.d.ts +4 -4
- package/dist/services/lifecycle/lifecycle.schemas.d.ts +39 -39
- package/dist/services/orderbook/orderbook.schemas.d.ts +1 -1
- package/dist/services/orders/orders-input.schemas.d.ts +2 -2
- package/dist/services/orders/orders-input.schemas.js +2 -2
- package/dist/services/orders/orders-input.schemas.js.map +1 -1
- package/dist/services/orders/orders-output.schemas.d.ts +3 -3
- package/dist/services/orders/orders.d.ts +2 -2
- package/dist/services/orders/orders.js +2 -2
- package/dist/services/orders/orders.js.map +1 -1
- package/dist/services/rewards/rewards.schemas.d.ts +3 -3
- package/dist/services/social-verification/social-verification.codecs.js +2 -2
- package/dist/services/social-verification/social-verification.codecs.js.map +1 -1
- package/dist/services/social-verification/social-verification.schemas.d.ts +2 -2
- package/dist/services/subaccounts/subaccounts.codecs.js +1 -1
- package/dist/services/subaccounts/subaccounts.codecs.js.map +1 -1
- package/dist/services/subaccounts/subaccounts.schemas.d.ts +16 -16
- package/dist/services/subaccounts/subaccounts.schemas.js +1 -1
- package/dist/services/subaccounts/subaccounts.schemas.js.map +1 -1
- package/dist/services/trades/trades.schemas.d.ts +2 -2
- package/dist/services/triggers/trigger-input.schemas.d.ts +1 -1
- package/dist/services/triggers/triggers-output.schemas.d.ts +27 -27
- package/dist/services/triggers/triggers.codecs.js +3 -3
- package/dist/services/triggers/triggers.codecs.js.map +1 -1
- package/dist/shared/connect-error-mapping.d.ts +1 -1
- package/dist/shared/connect-error-mapping.js +1 -1
- package/dist/shared/connect-error-mapping.js.map +1 -1
- package/dist/shared/request-options.d.ts +1 -1
- package/dist/shared/request-options.js.map +1 -1
- package/dist/smart-account/smart-account.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
# @polyester/sdk
|
|
2
2
|
|
|
3
|
-
## 0.
|
|
3
|
+
## 0.34.0-devnet-20261105175240
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- **Breaking:** every SDK label, key and filter value now uses the `canceled` spelling. Trigger status (output and the `triggers.list` `status` filter), sub-account invite status and social-verification status change from `"cancelled"` to `"canceled"`, matching order status and trigger events. The `orders.cancelAll` result renames `cancelledOrders` to `canceledOrders` and `totalCancelled` to `totalCanceled`. There are no aliases: update any code that compares against `"cancelled"` or reads the old keys. ([#230](https://github.com/Fabric-Labs/polyester-sdk-typescript/pull/230))
|
|
4
8
|
|
|
5
9
|
### Patch Changes
|
|
6
10
|
|
|
@@ -297,7 +297,7 @@ declare const AddressBookSchema: v.ObjectSchema<{
|
|
|
297
297
|
rootAccountId: string;
|
|
298
298
|
subaccountId: bigint;
|
|
299
299
|
}, AddressBookAccountScope>]>, undefined>;
|
|
300
|
-
readonly callerRole: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "owner" | "admin" | "treasury" | "leveraged_trader" | "trader" | "viewer"
|
|
300
|
+
readonly callerRole: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "owner" | "admin" | "treasury" | "leveraged_trader" | "trader" | "viewer">]>;
|
|
301
301
|
readonly label: v.StringSchema<undefined>;
|
|
302
302
|
readonly ownerUsername: v.StringSchema<undefined>;
|
|
303
303
|
readonly smartAccountAddress: v.StringSchema<undefined>;
|
|
@@ -1102,7 +1102,7 @@ declare const AddressBookViewSchema: v.ObjectSchema<{
|
|
|
1102
1102
|
rootAccountId: string;
|
|
1103
1103
|
subaccountId: bigint;
|
|
1104
1104
|
}, AddressBookAccountScope>]>, undefined>;
|
|
1105
|
-
readonly callerRole: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "owner" | "admin" | "treasury" | "leveraged_trader" | "trader" | "viewer"
|
|
1105
|
+
readonly callerRole: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "owner" | "admin" | "treasury" | "leveraged_trader" | "trader" | "viewer">]>;
|
|
1106
1106
|
readonly label: v.StringSchema<undefined>;
|
|
1107
1107
|
readonly ownerUsername: v.StringSchema<undefined>;
|
|
1108
1108
|
readonly smartAccountAddress: v.StringSchema<undefined>;
|
|
@@ -31,7 +31,7 @@ declare const ListChangelogChangesInputSchema: v.SchemaWithPipe<readonly [v.Stri
|
|
|
31
31
|
}, undefined>, v.CheckAction<{
|
|
32
32
|
categories: ("breaking_change" | "new_feature" | "improvement" | "bug_fix")[];
|
|
33
33
|
actionRequired?: boolean | undefined;
|
|
34
|
-
surfaces: ("
|
|
34
|
+
surfaces: ("trading" | "funding" | "accounts" | "api" | "explorer" | "documentation" | "platform" | "market_data" | "quickswap" | "rewards")[];
|
|
35
35
|
audiences: ("all_users" | "traders" | "market_makers" | "developers")[];
|
|
36
36
|
startTime?: number | undefined;
|
|
37
37
|
endTime?: number | undefined;
|
|
@@ -42,7 +42,7 @@ declare const ListChangelogChangesInputSchema: v.SchemaWithPipe<readonly [v.Stri
|
|
|
42
42
|
}, "endTime: must be after startTime">, v.TransformAction<{
|
|
43
43
|
categories: ("breaking_change" | "new_feature" | "improvement" | "bug_fix")[];
|
|
44
44
|
actionRequired?: boolean | undefined;
|
|
45
|
-
surfaces: ("
|
|
45
|
+
surfaces: ("trading" | "funding" | "accounts" | "api" | "explorer" | "documentation" | "platform" | "market_data" | "quickswap" | "rewards")[];
|
|
46
46
|
audiences: ("all_users" | "traders" | "market_makers" | "developers")[];
|
|
47
47
|
startTime?: number | undefined;
|
|
48
48
|
endTime?: number | undefined;
|
|
@@ -73,14 +73,14 @@ declare const ChangelogChangeSchema: v.ObjectSchema<{
|
|
|
73
73
|
readonly actionRequired: v.BooleanSchema<undefined>;
|
|
74
74
|
readonly migrationGuidance: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
75
75
|
readonly audiences: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "all_users" | "traders" | "market_makers" | "developers">]>, undefined>, readonly []>;
|
|
76
|
-
readonly surfaces: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
76
|
+
readonly surfaces: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "accounts" | "api" | "explorer" | "documentation" | "platform" | "market_data" | "quickswap" | "rewards">]>, undefined>, readonly []>;
|
|
77
77
|
}, undefined>;
|
|
78
78
|
type ChangelogChange = v.InferOutput<typeof ChangelogChangeSchema>;
|
|
79
79
|
/** `surface` is the product area the section covers, `"unspecified"` when it spans several. */
|
|
80
80
|
declare const ChangelogSectionSchema: v.ObjectSchema<{
|
|
81
81
|
readonly heading: v.StringSchema<undefined>;
|
|
82
82
|
readonly summary: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
83
|
-
readonly surface: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
83
|
+
readonly surface: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "accounts" | "api" | "explorer" | "documentation" | "platform" | "market_data" | "quickswap" | "rewards">]>;
|
|
84
84
|
readonly changes: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
85
85
|
readonly id: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
86
86
|
readonly title: v.StringSchema<undefined>;
|
|
@@ -90,7 +90,7 @@ declare const ChangelogSectionSchema: v.ObjectSchema<{
|
|
|
90
90
|
readonly actionRequired: v.BooleanSchema<undefined>;
|
|
91
91
|
readonly migrationGuidance: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
92
92
|
readonly audiences: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "all_users" | "traders" | "market_makers" | "developers">]>, undefined>, readonly []>;
|
|
93
|
-
readonly surfaces: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
93
|
+
readonly surfaces: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "accounts" | "api" | "explorer" | "documentation" | "platform" | "market_data" | "quickswap" | "rewards">]>, undefined>, readonly []>;
|
|
94
94
|
}, undefined>, undefined>, readonly []>;
|
|
95
95
|
}, undefined>;
|
|
96
96
|
type ChangelogSection = v.InferOutput<typeof ChangelogSectionSchema>;
|
|
@@ -179,7 +179,7 @@ declare const ChangelogPostSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
|
179
179
|
readonly sections: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
180
180
|
readonly heading: v.StringSchema<undefined>;
|
|
181
181
|
readonly summary: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
182
|
-
readonly surface: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
182
|
+
readonly surface: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "accounts" | "api" | "explorer" | "documentation" | "platform" | "market_data" | "quickswap" | "rewards">]>;
|
|
183
183
|
readonly changes: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
184
184
|
readonly id: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
185
185
|
readonly title: v.StringSchema<undefined>;
|
|
@@ -189,7 +189,7 @@ declare const ChangelogPostSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
|
189
189
|
readonly actionRequired: v.BooleanSchema<undefined>;
|
|
190
190
|
readonly migrationGuidance: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
191
191
|
readonly audiences: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "all_users" | "traders" | "market_makers" | "developers">]>, undefined>, readonly []>;
|
|
192
|
-
readonly surfaces: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
192
|
+
readonly surfaces: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "accounts" | "api" | "explorer" | "documentation" | "platform" | "market_data" | "quickswap" | "rewards">]>, undefined>, readonly []>;
|
|
193
193
|
}, undefined>, undefined>, readonly []>;
|
|
194
194
|
}, undefined>, undefined>, readonly []>;
|
|
195
195
|
}, undefined>, v.TransformAction<{
|
|
@@ -209,7 +209,7 @@ declare const ChangelogPostSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
|
209
209
|
sections: {
|
|
210
210
|
heading: string;
|
|
211
211
|
summary?: string | undefined;
|
|
212
|
-
surface: "unspecified" | "
|
|
212
|
+
surface: "unspecified" | "trading" | "funding" | "accounts" | "api" | "explorer" | "documentation" | "platform" | "market_data" | "quickswap" | "rewards";
|
|
213
213
|
changes: {
|
|
214
214
|
id: string;
|
|
215
215
|
title: string;
|
|
@@ -219,14 +219,14 @@ declare const ChangelogPostSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
|
219
219
|
actionRequired: boolean;
|
|
220
220
|
migrationGuidance?: string | undefined;
|
|
221
221
|
audiences: ("unspecified" | "all_users" | "traders" | "market_makers" | "developers")[];
|
|
222
|
-
surfaces: ("unspecified" | "
|
|
222
|
+
surfaces: ("unspecified" | "trading" | "funding" | "accounts" | "api" | "explorer" | "documentation" | "platform" | "market_data" | "quickswap" | "rewards")[];
|
|
223
223
|
}[];
|
|
224
224
|
}[];
|
|
225
225
|
}, {
|
|
226
226
|
sections: {
|
|
227
227
|
heading: string;
|
|
228
228
|
summary?: string | undefined;
|
|
229
|
-
surface: "unspecified" | "
|
|
229
|
+
surface: "unspecified" | "trading" | "funding" | "accounts" | "api" | "explorer" | "documentation" | "platform" | "market_data" | "quickswap" | "rewards";
|
|
230
230
|
changes: {
|
|
231
231
|
id: string;
|
|
232
232
|
title: string;
|
|
@@ -236,7 +236,7 @@ declare const ChangelogPostSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
|
236
236
|
actionRequired: boolean;
|
|
237
237
|
migrationGuidance?: string | undefined;
|
|
238
238
|
audiences: ("unspecified" | "all_users" | "traders" | "market_makers" | "developers")[];
|
|
239
|
-
surfaces: ("unspecified" | "
|
|
239
|
+
surfaces: ("unspecified" | "trading" | "funding" | "accounts" | "api" | "explorer" | "documentation" | "platform" | "market_data" | "quickswap" | "rewards")[];
|
|
240
240
|
}[];
|
|
241
241
|
}[];
|
|
242
242
|
slug: string;
|
|
@@ -262,7 +262,7 @@ declare const ChangelogChangeEntrySchema: v.SchemaWithPipe<readonly [v.ObjectSch
|
|
|
262
262
|
readonly actionRequired: v.BooleanSchema<undefined>;
|
|
263
263
|
readonly migrationGuidance: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
264
264
|
readonly audiences: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "all_users" | "traders" | "market_makers" | "developers">]>, undefined>, readonly []>;
|
|
265
|
-
readonly surfaces: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
265
|
+
readonly surfaces: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "accounts" | "api" | "explorer" | "documentation" | "platform" | "market_data" | "quickswap" | "rewards">]>, undefined>, readonly []>;
|
|
266
266
|
}, undefined>;
|
|
267
267
|
readonly postSlug: v.StringSchema<undefined>;
|
|
268
268
|
readonly publishedAt: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
@@ -283,7 +283,7 @@ declare const ChangelogChangeEntrySchema: v.SchemaWithPipe<readonly [v.ObjectSch
|
|
|
283
283
|
actionRequired: boolean;
|
|
284
284
|
migrationGuidance?: string | undefined;
|
|
285
285
|
audiences: ("unspecified" | "all_users" | "traders" | "market_makers" | "developers")[];
|
|
286
|
-
surfaces: ("unspecified" | "
|
|
286
|
+
surfaces: ("unspecified" | "trading" | "funding" | "accounts" | "api" | "explorer" | "documentation" | "platform" | "market_data" | "quickswap" | "rewards")[];
|
|
287
287
|
};
|
|
288
288
|
postSlug: string;
|
|
289
289
|
publishedAt: number;
|
|
@@ -300,7 +300,7 @@ declare const ChangelogChangeEntrySchema: v.SchemaWithPipe<readonly [v.ObjectSch
|
|
|
300
300
|
actionRequired: boolean;
|
|
301
301
|
migrationGuidance?: string | undefined;
|
|
302
302
|
audiences: ("unspecified" | "all_users" | "traders" | "market_makers" | "developers")[];
|
|
303
|
-
surfaces: ("unspecified" | "
|
|
303
|
+
surfaces: ("unspecified" | "trading" | "funding" | "accounts" | "api" | "explorer" | "documentation" | "platform" | "market_data" | "quickswap" | "rewards")[];
|
|
304
304
|
}>]>;
|
|
305
305
|
/** A change with the slug, publication time and section heading of the post that announced it. */
|
|
306
306
|
type ChangelogChangeEntry = v.InferOutput<typeof ChangelogChangeEntrySchema>;
|
|
@@ -315,7 +315,7 @@ declare const ListChangelogChangesResultSchema: v.ObjectSchema<{
|
|
|
315
315
|
readonly actionRequired: v.BooleanSchema<undefined>;
|
|
316
316
|
readonly migrationGuidance: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
317
317
|
readonly audiences: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "all_users" | "traders" | "market_makers" | "developers">]>, undefined>, readonly []>;
|
|
318
|
-
readonly surfaces: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
318
|
+
readonly surfaces: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "accounts" | "api" | "explorer" | "documentation" | "platform" | "market_data" | "quickswap" | "rewards">]>, undefined>, readonly []>;
|
|
319
319
|
}, undefined>;
|
|
320
320
|
readonly postSlug: v.StringSchema<undefined>;
|
|
321
321
|
readonly publishedAt: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
@@ -336,7 +336,7 @@ declare const ListChangelogChangesResultSchema: v.ObjectSchema<{
|
|
|
336
336
|
actionRequired: boolean;
|
|
337
337
|
migrationGuidance?: string | undefined;
|
|
338
338
|
audiences: ("unspecified" | "all_users" | "traders" | "market_makers" | "developers")[];
|
|
339
|
-
surfaces: ("unspecified" | "
|
|
339
|
+
surfaces: ("unspecified" | "trading" | "funding" | "accounts" | "api" | "explorer" | "documentation" | "platform" | "market_data" | "quickswap" | "rewards")[];
|
|
340
340
|
};
|
|
341
341
|
postSlug: string;
|
|
342
342
|
publishedAt: number;
|
|
@@ -353,7 +353,7 @@ declare const ListChangelogChangesResultSchema: v.ObjectSchema<{
|
|
|
353
353
|
actionRequired: boolean;
|
|
354
354
|
migrationGuidance?: string | undefined;
|
|
355
355
|
audiences: ("unspecified" | "all_users" | "traders" | "market_makers" | "developers")[];
|
|
356
|
-
surfaces: ("unspecified" | "
|
|
356
|
+
surfaces: ("unspecified" | "trading" | "funding" | "accounts" | "api" | "explorer" | "documentation" | "platform" | "market_data" | "quickswap" | "rewards")[];
|
|
357
357
|
}>]>, undefined>, readonly []>;
|
|
358
358
|
readonly nextPageToken: v.StringSchema<undefined>;
|
|
359
359
|
}, undefined>;
|
|
@@ -49,7 +49,7 @@ declare const CheckpointBiggestTradeSchema: v.SchemaWithPipe<readonly [v.ObjectS
|
|
|
49
49
|
side: number;
|
|
50
50
|
at: number;
|
|
51
51
|
}, {
|
|
52
|
-
side: "
|
|
52
|
+
side: "buy" | "sell" | "unspecified";
|
|
53
53
|
symbolId: number;
|
|
54
54
|
symbol: string;
|
|
55
55
|
at: number;
|
|
@@ -229,7 +229,7 @@ declare const CheckpointSchema: v.ObjectSchema<{
|
|
|
229
229
|
side: number;
|
|
230
230
|
at: number;
|
|
231
231
|
}, {
|
|
232
|
-
side: "
|
|
232
|
+
side: "buy" | "sell" | "unspecified";
|
|
233
233
|
symbolId: number;
|
|
234
234
|
symbol: string;
|
|
235
235
|
at: number;
|
|
@@ -14,7 +14,7 @@ type TimestampInit = {
|
|
|
14
14
|
declare const GetOrderbookHeatmapInputSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
15
15
|
readonly symbolId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.GtValueAction<number, 0, undefined>, v.MaxValueAction<number, 4294967295, undefined>]>;
|
|
16
16
|
readonly interval: v.SchemaWithPipe<readonly [v.OptionalSchema<v.PicklistSchema<readonly ["1s", "1m", "5m", "1h"], undefined>, "1s">, v.TransformAction<"1h" | "1m" | "1s" | "5m", HeatmapInterval>]>;
|
|
17
|
-
readonly depth: v.SchemaWithPipe<readonly [v.OptionalSchema<v.PicklistSchema<readonly [1, 5, 10, 20, 50, 100, 200, 500, 1000], undefined>, 50>, v.TransformAction<1 | 5 | 10 | 20 | 100 | 500 |
|
|
17
|
+
readonly depth: v.SchemaWithPipe<readonly [v.OptionalSchema<v.PicklistSchema<readonly [1, 5, 10, 20, 50, 100, 200, 500, 1000], undefined>, 50>, v.TransformAction<1 | 5 | 10 | 20 | 100 | 500 | 1000 | 50 | 200, HeatmapDepth>]>;
|
|
18
18
|
readonly quantityMode: v.SchemaWithPipe<readonly [v.OptionalSchema<v.PicklistSchema<readonly ["close", "peak"], undefined>, "close">, v.TransformAction<"close" | "peak", HeatmapQuantityMode>]>;
|
|
19
19
|
readonly limit: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.GtValueAction<number, 0, undefined>, v.MaxValueAction<number, 20000, undefined>]>;
|
|
20
20
|
readonly startTsSec: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, number, undefined>, v.TransformAction<number, bigint>]>, undefined>;
|
|
@@ -227,7 +227,7 @@ type OrderbookHeatmapDeltaChain = ReturnType<typeof convertHeatmapDeltaChain>;
|
|
|
227
227
|
declare function createOrderbookHeatmapResponseSchema(scales: SdkScales): v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
228
228
|
readonly symbolId: v.NumberSchema<undefined>;
|
|
229
229
|
readonly interval: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, DecodedEnum<"1h" | "1m" | "1s" | "5m">>]>;
|
|
230
|
-
readonly depth: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, 1 |
|
|
230
|
+
readonly depth: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, 1 | 5 | 10 | 20 | "unspecified" | 100 | 500 | 1000 | 50 | 200>]>;
|
|
231
231
|
readonly chain: v.OptionalSchema<v.ObjectSchema<{
|
|
232
232
|
readonly baseKeyframe: v.OptionalSchema<v.ObjectSchema<{
|
|
233
233
|
readonly tsSec: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, number>]>;
|
|
@@ -287,7 +287,7 @@ declare function createOrderbookHeatmapResponseSchema(scales: SdkScales): v.Sche
|
|
|
287
287
|
}, undefined>, v.TransformAction<{
|
|
288
288
|
symbolId: number;
|
|
289
289
|
interval: DecodedEnum<"1h" | "1m" | "1s" | "5m">;
|
|
290
|
-
depth: 1 |
|
|
290
|
+
depth: 1 | 5 | 10 | 20 | "unspecified" | 100 | 500 | 1000 | 50 | 200;
|
|
291
291
|
chain?: {
|
|
292
292
|
baseKeyframe?: {
|
|
293
293
|
tsSec: number;
|
|
@@ -347,7 +347,7 @@ declare function createOrderbookHeatmapResponseSchema(scales: SdkScales): v.Sche
|
|
|
347
347
|
}, {
|
|
348
348
|
symbolId: number;
|
|
349
349
|
interval: DecodedEnum<"1h" | "1m" | "1s" | "5m">;
|
|
350
|
-
depth: 1 |
|
|
350
|
+
depth: 1 | 5 | 10 | 20 | "unspecified" | 100 | 500 | 1000 | 50 | 200;
|
|
351
351
|
chain: {
|
|
352
352
|
baseKeyframe: {
|
|
353
353
|
tsSec: number;
|
|
@@ -141,7 +141,7 @@ declare const LifecycleFlowStepActivitySchema: v.SchemaWithPipe<readonly [v.Obje
|
|
|
141
141
|
/** Chain holding `txRef`; a `GetDepositWithdrawConfig` chain ID, 0 when `txRef` is not a chain transaction. */
|
|
142
142
|
readonly txChainId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, 0>;
|
|
143
143
|
readonly occurredAtUnixMs: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, number>]>;
|
|
144
|
-
readonly lifecycleSource: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
144
|
+
readonly lifecycleSource: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle">]>;
|
|
145
145
|
readonly lifecycleReason: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.TransformAction<number, LifecycleReasonValue>]>;
|
|
146
146
|
readonly zipperReason: v.OptionalSchema<v.ObjectSchema<{
|
|
147
147
|
readonly code: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -169,7 +169,7 @@ declare const LifecycleFlowStepActivitySchema: v.SchemaWithPipe<readonly [v.Obje
|
|
|
169
169
|
txRef: string;
|
|
170
170
|
txChainId: number;
|
|
171
171
|
occurredAtUnixMs: number;
|
|
172
|
-
lifecycleSource: "unspecified" | "
|
|
172
|
+
lifecycleSource: "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle";
|
|
173
173
|
lifecycleReason: LifecycleReasonValue;
|
|
174
174
|
zipperReason?: {
|
|
175
175
|
code: number;
|
|
@@ -191,7 +191,7 @@ declare const LifecycleFlowStepActivitySchema: v.SchemaWithPipe<readonly [v.Obje
|
|
|
191
191
|
txRef: string;
|
|
192
192
|
txChainId: number;
|
|
193
193
|
occurredAtUnixMs: number;
|
|
194
|
-
lifecycleSource: "unspecified" | "
|
|
194
|
+
lifecycleSource: "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle";
|
|
195
195
|
lifecycleReason: LifecycleReasonValue;
|
|
196
196
|
zipperReason?: {
|
|
197
197
|
code: number;
|
|
@@ -262,7 +262,7 @@ declare const LifecycleFlowStepSchema: v.SchemaWithPipe<readonly [v.ObjectSchema
|
|
|
262
262
|
readonly milestoneTxRef: v.StringSchema<undefined>;
|
|
263
263
|
/** Chain holding `milestoneTxRef`; a `GetDepositWithdrawConfig` chain ID, 0 when it is not a chain transaction. */
|
|
264
264
|
readonly milestoneTxChainId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, 0>;
|
|
265
|
-
readonly lifecycleSource: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
265
|
+
readonly lifecycleSource: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle">]>;
|
|
266
266
|
readonly lifecycleReason: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.TransformAction<number, LifecycleReasonValue>]>;
|
|
267
267
|
readonly zipperReason: v.OptionalSchema<v.ObjectSchema<{
|
|
268
268
|
readonly code: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -284,7 +284,7 @@ declare const LifecycleFlowStepSchema: v.SchemaWithPipe<readonly [v.ObjectSchema
|
|
|
284
284
|
/** Chain holding `txRef`; a `GetDepositWithdrawConfig` chain ID, 0 when `txRef` is not a chain transaction. */
|
|
285
285
|
readonly txChainId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, 0>;
|
|
286
286
|
readonly occurredAtUnixMs: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, number>]>;
|
|
287
|
-
readonly lifecycleSource: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
287
|
+
readonly lifecycleSource: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle">]>;
|
|
288
288
|
readonly lifecycleReason: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.TransformAction<number, LifecycleReasonValue>]>;
|
|
289
289
|
readonly zipperReason: v.OptionalSchema<v.ObjectSchema<{
|
|
290
290
|
readonly code: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -312,7 +312,7 @@ declare const LifecycleFlowStepSchema: v.SchemaWithPipe<readonly [v.ObjectSchema
|
|
|
312
312
|
txRef: string;
|
|
313
313
|
txChainId: number;
|
|
314
314
|
occurredAtUnixMs: number;
|
|
315
|
-
lifecycleSource: "unspecified" | "
|
|
315
|
+
lifecycleSource: "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle";
|
|
316
316
|
lifecycleReason: LifecycleReasonValue;
|
|
317
317
|
zipperReason?: {
|
|
318
318
|
code: number;
|
|
@@ -334,7 +334,7 @@ declare const LifecycleFlowStepSchema: v.SchemaWithPipe<readonly [v.ObjectSchema
|
|
|
334
334
|
txRef: string;
|
|
335
335
|
txChainId: number;
|
|
336
336
|
occurredAtUnixMs: number;
|
|
337
|
-
lifecycleSource: "unspecified" | "
|
|
337
|
+
lifecycleSource: "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle";
|
|
338
338
|
lifecycleReason: LifecycleReasonValue;
|
|
339
339
|
zipperReason?: {
|
|
340
340
|
code: number;
|
|
@@ -376,7 +376,7 @@ declare const LifecycleFlowStepSchema: v.SchemaWithPipe<readonly [v.ObjectSchema
|
|
|
376
376
|
}) | undefined;
|
|
377
377
|
milestoneTxRef: string;
|
|
378
378
|
milestoneTxChainId: number;
|
|
379
|
-
lifecycleSource: "unspecified" | "
|
|
379
|
+
lifecycleSource: "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle";
|
|
380
380
|
lifecycleReason: LifecycleReasonValue;
|
|
381
381
|
zipperReason?: {
|
|
382
382
|
code: number;
|
|
@@ -397,7 +397,7 @@ declare const LifecycleFlowStepSchema: v.SchemaWithPipe<readonly [v.ObjectSchema
|
|
|
397
397
|
txRef: string;
|
|
398
398
|
txChainId: number;
|
|
399
399
|
occurredAtUnixMs: number;
|
|
400
|
-
lifecycleSource: "unspecified" | "
|
|
400
|
+
lifecycleSource: "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle";
|
|
401
401
|
lifecycleReason: LifecycleReasonValue;
|
|
402
402
|
zipperReason?: {
|
|
403
403
|
code: number;
|
|
@@ -439,7 +439,7 @@ declare const LifecycleFlowStepSchema: v.SchemaWithPipe<readonly [v.ObjectSchema
|
|
|
439
439
|
}) | undefined;
|
|
440
440
|
milestoneTxRef: string;
|
|
441
441
|
milestoneTxChainId: number;
|
|
442
|
-
lifecycleSource: "unspecified" | "
|
|
442
|
+
lifecycleSource: "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle";
|
|
443
443
|
lifecycleReason: LifecycleReasonValue;
|
|
444
444
|
zipperReason?: {
|
|
445
445
|
code: number;
|
|
@@ -460,7 +460,7 @@ declare const LifecycleFlowStepSchema: v.SchemaWithPipe<readonly [v.ObjectSchema
|
|
|
460
460
|
txRef: string;
|
|
461
461
|
txChainId: number;
|
|
462
462
|
occurredAtUnixMs: number;
|
|
463
|
-
lifecycleSource: "unspecified" | "
|
|
463
|
+
lifecycleSource: "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle";
|
|
464
464
|
lifecycleReason: LifecycleReasonValue;
|
|
465
465
|
zipperReason?: {
|
|
466
466
|
code: number;
|
|
@@ -558,7 +558,7 @@ declare const LifecycleFlowSummarySchema: v.SchemaWithPipe<readonly [v.ObjectSch
|
|
|
558
558
|
readonly sourceDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending">]>;
|
|
559
559
|
readonly destinationDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending">]>;
|
|
560
560
|
readonly latestTxRef: v.StringSchema<undefined>;
|
|
561
|
-
readonly latestLifecycleSource: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
561
|
+
readonly latestLifecycleSource: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle">]>;
|
|
562
562
|
readonly lifecycleReason: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.TransformAction<number, LifecycleReasonValue>]>;
|
|
563
563
|
readonly zipperReason: v.OptionalSchema<v.ObjectSchema<{
|
|
564
564
|
readonly code: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -622,7 +622,7 @@ declare const LifecycleFlowSummarySchema: v.SchemaWithPipe<readonly [v.ObjectSch
|
|
|
622
622
|
sourceDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
623
623
|
destinationDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
624
624
|
latestTxRef: string;
|
|
625
|
-
latestLifecycleSource: "unspecified" | "
|
|
625
|
+
latestLifecycleSource: "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle";
|
|
626
626
|
lifecycleReason: LifecycleReasonValue;
|
|
627
627
|
zipperReason?: {
|
|
628
628
|
code: number;
|
|
@@ -685,7 +685,7 @@ declare const LifecycleFlowSummarySchema: v.SchemaWithPipe<readonly [v.ObjectSch
|
|
|
685
685
|
sourceDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
686
686
|
destinationDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
687
687
|
latestTxRef: string;
|
|
688
|
-
latestLifecycleSource: "unspecified" | "
|
|
688
|
+
latestLifecycleSource: "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle";
|
|
689
689
|
lifecycleReason: LifecycleReasonValue;
|
|
690
690
|
zipperReason?: {
|
|
691
691
|
code: number;
|
|
@@ -780,7 +780,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
780
780
|
readonly sourceDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending">]>;
|
|
781
781
|
readonly destinationDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending">]>;
|
|
782
782
|
readonly latestTxRef: v.StringSchema<undefined>;
|
|
783
|
-
readonly latestLifecycleSource: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
783
|
+
readonly latestLifecycleSource: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle">]>;
|
|
784
784
|
readonly lifecycleReason: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.TransformAction<number, LifecycleReasonValue>]>;
|
|
785
785
|
readonly zipperReason: v.OptionalSchema<v.ObjectSchema<{
|
|
786
786
|
readonly code: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -844,7 +844,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
844
844
|
sourceDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
845
845
|
destinationDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
846
846
|
latestTxRef: string;
|
|
847
|
-
latestLifecycleSource: "unspecified" | "
|
|
847
|
+
latestLifecycleSource: "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle";
|
|
848
848
|
lifecycleReason: LifecycleReasonValue;
|
|
849
849
|
zipperReason?: {
|
|
850
850
|
code: number;
|
|
@@ -907,7 +907,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
907
907
|
sourceDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
908
908
|
destinationDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
909
909
|
latestTxRef: string;
|
|
910
|
-
latestLifecycleSource: "unspecified" | "
|
|
910
|
+
latestLifecycleSource: "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle";
|
|
911
911
|
lifecycleReason: LifecycleReasonValue;
|
|
912
912
|
zipperReason?: {
|
|
913
913
|
code: number;
|
|
@@ -994,7 +994,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
994
994
|
readonly milestoneTxRef: v.StringSchema<undefined>;
|
|
995
995
|
/** Chain holding `milestoneTxRef`; a `GetDepositWithdrawConfig` chain ID, 0 when it is not a chain transaction. */
|
|
996
996
|
readonly milestoneTxChainId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, 0>;
|
|
997
|
-
readonly lifecycleSource: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
997
|
+
readonly lifecycleSource: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle">]>;
|
|
998
998
|
readonly lifecycleReason: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.TransformAction<number, LifecycleReasonValue>]>;
|
|
999
999
|
readonly zipperReason: v.OptionalSchema<v.ObjectSchema<{
|
|
1000
1000
|
readonly code: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -1016,7 +1016,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
1016
1016
|
/** Chain holding `txRef`; a `GetDepositWithdrawConfig` chain ID, 0 when `txRef` is not a chain transaction. */
|
|
1017
1017
|
readonly txChainId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, 0>;
|
|
1018
1018
|
readonly occurredAtUnixMs: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, number>]>;
|
|
1019
|
-
readonly lifecycleSource: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
1019
|
+
readonly lifecycleSource: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle">]>;
|
|
1020
1020
|
readonly lifecycleReason: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.TransformAction<number, LifecycleReasonValue>]>;
|
|
1021
1021
|
readonly zipperReason: v.OptionalSchema<v.ObjectSchema<{
|
|
1022
1022
|
readonly code: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -1044,7 +1044,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
1044
1044
|
txRef: string;
|
|
1045
1045
|
txChainId: number;
|
|
1046
1046
|
occurredAtUnixMs: number;
|
|
1047
|
-
lifecycleSource: "unspecified" | "
|
|
1047
|
+
lifecycleSource: "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle";
|
|
1048
1048
|
lifecycleReason: LifecycleReasonValue;
|
|
1049
1049
|
zipperReason?: {
|
|
1050
1050
|
code: number;
|
|
@@ -1066,7 +1066,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
1066
1066
|
txRef: string;
|
|
1067
1067
|
txChainId: number;
|
|
1068
1068
|
occurredAtUnixMs: number;
|
|
1069
|
-
lifecycleSource: "unspecified" | "
|
|
1069
|
+
lifecycleSource: "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle";
|
|
1070
1070
|
lifecycleReason: LifecycleReasonValue;
|
|
1071
1071
|
zipperReason?: {
|
|
1072
1072
|
code: number;
|
|
@@ -1108,7 +1108,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
1108
1108
|
}) | undefined;
|
|
1109
1109
|
milestoneTxRef: string;
|
|
1110
1110
|
milestoneTxChainId: number;
|
|
1111
|
-
lifecycleSource: "unspecified" | "
|
|
1111
|
+
lifecycleSource: "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle";
|
|
1112
1112
|
lifecycleReason: LifecycleReasonValue;
|
|
1113
1113
|
zipperReason?: {
|
|
1114
1114
|
code: number;
|
|
@@ -1129,7 +1129,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
1129
1129
|
txRef: string;
|
|
1130
1130
|
txChainId: number;
|
|
1131
1131
|
occurredAtUnixMs: number;
|
|
1132
|
-
lifecycleSource: "unspecified" | "
|
|
1132
|
+
lifecycleSource: "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle";
|
|
1133
1133
|
lifecycleReason: LifecycleReasonValue;
|
|
1134
1134
|
zipperReason?: {
|
|
1135
1135
|
code: number;
|
|
@@ -1171,7 +1171,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
1171
1171
|
}) | undefined;
|
|
1172
1172
|
milestoneTxRef: string;
|
|
1173
1173
|
milestoneTxChainId: number;
|
|
1174
|
-
lifecycleSource: "unspecified" | "
|
|
1174
|
+
lifecycleSource: "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle";
|
|
1175
1175
|
lifecycleReason: LifecycleReasonValue;
|
|
1176
1176
|
zipperReason?: {
|
|
1177
1177
|
code: number;
|
|
@@ -1192,7 +1192,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
|
|
|
1192
1192
|
txRef: string;
|
|
1193
1193
|
txChainId: number;
|
|
1194
1194
|
occurredAtUnixMs: number;
|
|
1195
|
-
lifecycleSource: "unspecified" | "
|
|
1195
|
+
lifecycleSource: "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle";
|
|
1196
1196
|
lifecycleReason: LifecycleReasonValue;
|
|
1197
1197
|
zipperReason?: {
|
|
1198
1198
|
code: number;
|
|
@@ -1276,7 +1276,7 @@ declare const ListLifecycleFlowsOutputSchema: v.ObjectSchema<{
|
|
|
1276
1276
|
readonly sourceDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending">]>;
|
|
1277
1277
|
readonly destinationDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending">]>;
|
|
1278
1278
|
readonly latestTxRef: v.StringSchema<undefined>;
|
|
1279
|
-
readonly latestLifecycleSource: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
1279
|
+
readonly latestLifecycleSource: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle">]>;
|
|
1280
1280
|
readonly lifecycleReason: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.TransformAction<number, LifecycleReasonValue>]>;
|
|
1281
1281
|
readonly zipperReason: v.OptionalSchema<v.ObjectSchema<{
|
|
1282
1282
|
readonly code: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -1340,7 +1340,7 @@ declare const ListLifecycleFlowsOutputSchema: v.ObjectSchema<{
|
|
|
1340
1340
|
sourceDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
1341
1341
|
destinationDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
1342
1342
|
latestTxRef: string;
|
|
1343
|
-
latestLifecycleSource: "unspecified" | "
|
|
1343
|
+
latestLifecycleSource: "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle";
|
|
1344
1344
|
lifecycleReason: LifecycleReasonValue;
|
|
1345
1345
|
zipperReason?: {
|
|
1346
1346
|
code: number;
|
|
@@ -1403,7 +1403,7 @@ declare const ListLifecycleFlowsOutputSchema: v.ObjectSchema<{
|
|
|
1403
1403
|
sourceDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
1404
1404
|
destinationDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
1405
1405
|
latestTxRef: string;
|
|
1406
|
-
latestLifecycleSource: "unspecified" | "
|
|
1406
|
+
latestLifecycleSource: "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle";
|
|
1407
1407
|
lifecycleReason: LifecycleReasonValue;
|
|
1408
1408
|
zipperReason?: {
|
|
1409
1409
|
code: number;
|
|
@@ -1501,7 +1501,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1501
1501
|
readonly sourceDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending">]>;
|
|
1502
1502
|
readonly destinationDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending">]>;
|
|
1503
1503
|
readonly latestTxRef: v.StringSchema<undefined>;
|
|
1504
|
-
readonly latestLifecycleSource: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
1504
|
+
readonly latestLifecycleSource: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle">]>;
|
|
1505
1505
|
readonly lifecycleReason: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.TransformAction<number, LifecycleReasonValue>]>;
|
|
1506
1506
|
readonly zipperReason: v.OptionalSchema<v.ObjectSchema<{
|
|
1507
1507
|
readonly code: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -1565,7 +1565,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1565
1565
|
sourceDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
1566
1566
|
destinationDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
1567
1567
|
latestTxRef: string;
|
|
1568
|
-
latestLifecycleSource: "unspecified" | "
|
|
1568
|
+
latestLifecycleSource: "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle";
|
|
1569
1569
|
lifecycleReason: LifecycleReasonValue;
|
|
1570
1570
|
zipperReason?: {
|
|
1571
1571
|
code: number;
|
|
@@ -1628,7 +1628,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1628
1628
|
sourceDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
1629
1629
|
destinationDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
|
|
1630
1630
|
latestTxRef: string;
|
|
1631
|
-
latestLifecycleSource: "unspecified" | "
|
|
1631
|
+
latestLifecycleSource: "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle";
|
|
1632
1632
|
lifecycleReason: LifecycleReasonValue;
|
|
1633
1633
|
zipperReason?: {
|
|
1634
1634
|
code: number;
|
|
@@ -1715,7 +1715,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1715
1715
|
readonly milestoneTxRef: v.StringSchema<undefined>;
|
|
1716
1716
|
/** Chain holding `milestoneTxRef`; a `GetDepositWithdrawConfig` chain ID, 0 when it is not a chain transaction. */
|
|
1717
1717
|
readonly milestoneTxChainId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, 0>;
|
|
1718
|
-
readonly lifecycleSource: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
1718
|
+
readonly lifecycleSource: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle">]>;
|
|
1719
1719
|
readonly lifecycleReason: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.TransformAction<number, LifecycleReasonValue>]>;
|
|
1720
1720
|
readonly zipperReason: v.OptionalSchema<v.ObjectSchema<{
|
|
1721
1721
|
readonly code: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -1737,7 +1737,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1737
1737
|
/** Chain holding `txRef`; a `GetDepositWithdrawConfig` chain ID, 0 when `txRef` is not a chain transaction. */
|
|
1738
1738
|
readonly txChainId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, 0>;
|
|
1739
1739
|
readonly occurredAtUnixMs: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, number>]>;
|
|
1740
|
-
readonly lifecycleSource: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "
|
|
1740
|
+
readonly lifecycleSource: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle">]>;
|
|
1741
1741
|
readonly lifecycleReason: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.TransformAction<number, LifecycleReasonValue>]>;
|
|
1742
1742
|
readonly zipperReason: v.OptionalSchema<v.ObjectSchema<{
|
|
1743
1743
|
readonly code: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -1765,7 +1765,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1765
1765
|
txRef: string;
|
|
1766
1766
|
txChainId: number;
|
|
1767
1767
|
occurredAtUnixMs: number;
|
|
1768
|
-
lifecycleSource: "unspecified" | "
|
|
1768
|
+
lifecycleSource: "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle";
|
|
1769
1769
|
lifecycleReason: LifecycleReasonValue;
|
|
1770
1770
|
zipperReason?: {
|
|
1771
1771
|
code: number;
|
|
@@ -1787,7 +1787,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1787
1787
|
txRef: string;
|
|
1788
1788
|
txChainId: number;
|
|
1789
1789
|
occurredAtUnixMs: number;
|
|
1790
|
-
lifecycleSource: "unspecified" | "
|
|
1790
|
+
lifecycleSource: "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle";
|
|
1791
1791
|
lifecycleReason: LifecycleReasonValue;
|
|
1792
1792
|
zipperReason?: {
|
|
1793
1793
|
code: number;
|
|
@@ -1829,7 +1829,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1829
1829
|
}) | undefined;
|
|
1830
1830
|
milestoneTxRef: string;
|
|
1831
1831
|
milestoneTxChainId: number;
|
|
1832
|
-
lifecycleSource: "unspecified" | "
|
|
1832
|
+
lifecycleSource: "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle";
|
|
1833
1833
|
lifecycleReason: LifecycleReasonValue;
|
|
1834
1834
|
zipperReason?: {
|
|
1835
1835
|
code: number;
|
|
@@ -1850,7 +1850,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1850
1850
|
txRef: string;
|
|
1851
1851
|
txChainId: number;
|
|
1852
1852
|
occurredAtUnixMs: number;
|
|
1853
|
-
lifecycleSource: "unspecified" | "
|
|
1853
|
+
lifecycleSource: "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle";
|
|
1854
1854
|
lifecycleReason: LifecycleReasonValue;
|
|
1855
1855
|
zipperReason?: {
|
|
1856
1856
|
code: number;
|
|
@@ -1892,7 +1892,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1892
1892
|
}) | undefined;
|
|
1893
1893
|
milestoneTxRef: string;
|
|
1894
1894
|
milestoneTxChainId: number;
|
|
1895
|
-
lifecycleSource: "unspecified" | "
|
|
1895
|
+
lifecycleSource: "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle";
|
|
1896
1896
|
lifecycleReason: LifecycleReasonValue;
|
|
1897
1897
|
zipperReason?: {
|
|
1898
1898
|
code: number;
|
|
@@ -1913,7 +1913,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
|
|
|
1913
1913
|
txRef: string;
|
|
1914
1914
|
txChainId: number;
|
|
1915
1915
|
occurredAtUnixMs: number;
|
|
1916
|
-
lifecycleSource: "unspecified" | "
|
|
1916
|
+
lifecycleSource: "unspecified" | "relayer" | "polyester_chain" | "executor" | "ledger" | "lifecycle";
|
|
1917
1917
|
lifecycleReason: LifecycleReasonValue;
|
|
1918
1918
|
zipperReason?: {
|
|
1919
1919
|
code: number;
|