@polymarket/bindings 0.1.0-beta.3 → 0.1.0-beta.5
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/chunk-IHJYHHWK.js +2 -0
- package/dist/chunk-IHJYHHWK.js.map +1 -0
- package/dist/chunk-YJ7M6UHS.js +2 -0
- package/dist/chunk-YJ7M6UHS.js.map +1 -0
- package/dist/clob/index.d.ts +50 -50
- package/dist/clob/index.js +1 -1
- package/dist/clob/index.js.map +1 -1
- package/dist/data/index.d.ts +56 -56
- package/dist/data/index.js +1 -1
- package/dist/data/index.js.map +1 -1
- package/dist/gamma/index.d.ts +67 -67
- package/dist/gamma/index.js +1 -1
- package/dist/index.d.ts +16 -5
- package/dist/index.js +1 -1
- package/dist/relayer/index.js +1 -1
- package/dist/relayer/index.js.map +1 -1
- package/dist/rfq.d.ts +92 -17
- package/dist/rfq.js +1 -1
- package/dist/rfq.js.map +1 -1
- package/dist/subscriptions/index.d.ts +10 -10
- package/dist/subscriptions/index.js +1 -1
- package/dist/subscriptions/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/chunk-HLGLT7ER.js +0 -2
- package/dist/chunk-HLGLT7ER.js.map +0 -1
- package/dist/chunk-KZQH7LDK.js +0 -2
- package/dist/chunk-KZQH7LDK.js.map +0 -1
package/dist/gamma/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { C as Comment, a as CommentMedia, b as CommentMediaSchema, c as CommentPosition, d as CommentPositionSchema, e as CommentProfile, f as CommentProfileSchema, g as CommentSchema, L as ListCommentsResponse, h as ListCommentsResponseSchema, i as Reaction, j as ReactionSchema, R as ReactionType, k as ReactionTypeSchema } from '../comment-C-jBbhp7.js';
|
|
2
|
-
import { CategoryId, IsoDateTimeString, ClobRewardId,
|
|
2
|
+
import { CategoryId, IsoDateTimeString, ClobRewardId, CtfConditionId, DecimalString, IsoCalendarDateString, ImageOptimizationId, EventId, InternalUserId, MarketId, TagId, TokenId, TickSizeValue, QuestionId, ResolutionRequestId, PositionId, MixedDateTimeString, PaginationCursor, BestLineId, ChatId, CollectionId, TeamId, SportId, EventExternalPartnerMappingId, PartnerId, SeriesId, EventCreatorId, TemplateId } from '../index.js';
|
|
3
3
|
export { TagIdSchema } from '../index.js';
|
|
4
4
|
import { z } from 'zod';
|
|
5
5
|
import * as _polymarket_types from '@polymarket/types';
|
|
@@ -54,7 +54,7 @@ declare const TagReferenceSchema: z.ZodObject<{
|
|
|
54
54
|
}, z.core.$strip>;
|
|
55
55
|
declare const RelatedMarketSchema: z.ZodObject<{
|
|
56
56
|
id: z.ZodPipe<z.ZodString, z.ZodTransform<MarketId, string>>;
|
|
57
|
-
conditionId: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<
|
|
57
|
+
conditionId: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<CtfConditionId, string>>>>;
|
|
58
58
|
slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
59
59
|
image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
60
60
|
volume: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>>>;
|
|
@@ -66,7 +66,7 @@ declare const RelatedMarketSchema: z.ZodObject<{
|
|
|
66
66
|
}, z.core.$strip>;
|
|
67
67
|
declare const ClobRewardsSchema: z.ZodObject<{
|
|
68
68
|
id: z.ZodPipe<z.ZodString, z.ZodTransform<ClobRewardId, string>>;
|
|
69
|
-
conditionId: z.ZodPipe<z.ZodString, z.ZodTransform<
|
|
69
|
+
conditionId: z.ZodPipe<z.ZodString, z.ZodTransform<CtfConditionId, string>>;
|
|
70
70
|
assetAddress: z.ZodString;
|
|
71
71
|
rewardsAmount: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>;
|
|
72
72
|
rewardsDailyRate: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>;
|
|
@@ -177,7 +177,7 @@ type MarketTag = {
|
|
|
177
177
|
type Market = {
|
|
178
178
|
id: MarketId;
|
|
179
179
|
slug?: string | null;
|
|
180
|
-
conditionId:
|
|
180
|
+
conditionId: CtfConditionId | null;
|
|
181
181
|
question?: string | null;
|
|
182
182
|
description?: string | null;
|
|
183
183
|
category?: string | null;
|
|
@@ -198,7 +198,7 @@ type Market = {
|
|
|
198
198
|
declare const GammaMarketSchema: z.ZodObject<{
|
|
199
199
|
id: z.ZodPipe<z.ZodString, z.ZodTransform<MarketId, string>>;
|
|
200
200
|
question: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
201
|
-
conditionId: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<
|
|
201
|
+
conditionId: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<CtfConditionId, string>>>>>, z.ZodTransform<CtfConditionId | null, CtfConditionId | null | undefined>>;
|
|
202
202
|
slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
203
203
|
twitterCardImage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
204
204
|
resolutionSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -333,7 +333,7 @@ declare const GammaMarketSchema: z.ZodObject<{
|
|
|
333
333
|
categories: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
|
|
334
334
|
markets: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
335
335
|
id: z.ZodPipe<z.ZodString, z.ZodTransform<MarketId, string>>;
|
|
336
|
-
conditionId: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<
|
|
336
|
+
conditionId: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<CtfConditionId, string>>>>;
|
|
337
337
|
slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
338
338
|
image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
339
339
|
volume: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>>>;
|
|
@@ -371,7 +371,7 @@ declare const GammaMarketSchema: z.ZodObject<{
|
|
|
371
371
|
approved: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
372
372
|
clobRewards: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
373
373
|
id: z.ZodPipe<z.ZodString, z.ZodTransform<ClobRewardId, string>>;
|
|
374
|
-
conditionId: z.ZodPipe<z.ZodString, z.ZodTransform<
|
|
374
|
+
conditionId: z.ZodPipe<z.ZodString, z.ZodTransform<CtfConditionId, string>>;
|
|
375
375
|
assetAddress: z.ZodString;
|
|
376
376
|
rewardsAmount: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>;
|
|
377
377
|
rewardsDailyRate: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>;
|
|
@@ -428,7 +428,7 @@ declare const GammaMarketSchema: z.ZodObject<{
|
|
|
428
428
|
declare const MarketSchema: z.ZodPipe<z.ZodObject<{
|
|
429
429
|
id: z.ZodPipe<z.ZodString, z.ZodTransform<MarketId, string>>;
|
|
430
430
|
question: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
431
|
-
conditionId: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<
|
|
431
|
+
conditionId: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<CtfConditionId, string>>>>>, z.ZodTransform<CtfConditionId | null, CtfConditionId | null | undefined>>;
|
|
432
432
|
slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
433
433
|
twitterCardImage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
434
434
|
resolutionSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -563,7 +563,7 @@ declare const MarketSchema: z.ZodPipe<z.ZodObject<{
|
|
|
563
563
|
categories: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
|
|
564
564
|
markets: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
565
565
|
id: z.ZodPipe<z.ZodString, z.ZodTransform<MarketId, string>>;
|
|
566
|
-
conditionId: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<
|
|
566
|
+
conditionId: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<CtfConditionId, string>>>>;
|
|
567
567
|
slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
568
568
|
image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
569
569
|
volume: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>>>;
|
|
@@ -601,7 +601,7 @@ declare const MarketSchema: z.ZodPipe<z.ZodObject<{
|
|
|
601
601
|
approved: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
602
602
|
clobRewards: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
603
603
|
id: z.ZodPipe<z.ZodString, z.ZodTransform<ClobRewardId, string>>;
|
|
604
|
-
conditionId: z.ZodPipe<z.ZodString, z.ZodTransform<
|
|
604
|
+
conditionId: z.ZodPipe<z.ZodString, z.ZodTransform<CtfConditionId, string>>;
|
|
605
605
|
assetAddress: z.ZodString;
|
|
606
606
|
rewardsAmount: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>;
|
|
607
607
|
rewardsDailyRate: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>;
|
|
@@ -656,7 +656,7 @@ declare const MarketSchema: z.ZodPipe<z.ZodObject<{
|
|
|
656
656
|
}, z.core.$strip>>>;
|
|
657
657
|
}, z.core.$strip>, z.ZodTransform<Market, {
|
|
658
658
|
id: MarketId;
|
|
659
|
-
conditionId:
|
|
659
|
+
conditionId: CtfConditionId | null;
|
|
660
660
|
outcomes: string[];
|
|
661
661
|
outcomePrices: DecimalString[];
|
|
662
662
|
marketMakerAddress: string;
|
|
@@ -792,7 +792,7 @@ declare const MarketSchema: z.ZodPipe<z.ZodObject<{
|
|
|
792
792
|
categories?: unknown[] | null | undefined;
|
|
793
793
|
markets?: {
|
|
794
794
|
id: MarketId;
|
|
795
|
-
conditionId?:
|
|
795
|
+
conditionId?: CtfConditionId | undefined;
|
|
796
796
|
slug?: string | null | undefined;
|
|
797
797
|
image?: string | null | undefined;
|
|
798
798
|
volume?: DecimalString | null | undefined;
|
|
@@ -830,7 +830,7 @@ declare const MarketSchema: z.ZodPipe<z.ZodObject<{
|
|
|
830
830
|
approved?: boolean | null | undefined;
|
|
831
831
|
clobRewards?: {
|
|
832
832
|
id: ClobRewardId;
|
|
833
|
-
conditionId:
|
|
833
|
+
conditionId: CtfConditionId;
|
|
834
834
|
assetAddress: string;
|
|
835
835
|
rewardsAmount: DecimalString;
|
|
836
836
|
rewardsDailyRate: DecimalString;
|
|
@@ -887,7 +887,7 @@ declare const MarketSchema: z.ZodPipe<z.ZodObject<{
|
|
|
887
887
|
declare const ListMarketsResponseSchema: z.ZodArray<z.ZodPipe<z.ZodObject<{
|
|
888
888
|
id: z.ZodPipe<z.ZodString, z.ZodTransform<MarketId, string>>;
|
|
889
889
|
question: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
890
|
-
conditionId: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<
|
|
890
|
+
conditionId: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<CtfConditionId, string>>>>>, z.ZodTransform<CtfConditionId | null, CtfConditionId | null | undefined>>;
|
|
891
891
|
slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
892
892
|
twitterCardImage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
893
893
|
resolutionSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1022,7 +1022,7 @@ declare const ListMarketsResponseSchema: z.ZodArray<z.ZodPipe<z.ZodObject<{
|
|
|
1022
1022
|
categories: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
|
|
1023
1023
|
markets: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
1024
1024
|
id: z.ZodPipe<z.ZodString, z.ZodTransform<MarketId, string>>;
|
|
1025
|
-
conditionId: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<
|
|
1025
|
+
conditionId: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<CtfConditionId, string>>>>;
|
|
1026
1026
|
slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1027
1027
|
image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1028
1028
|
volume: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>>>;
|
|
@@ -1060,7 +1060,7 @@ declare const ListMarketsResponseSchema: z.ZodArray<z.ZodPipe<z.ZodObject<{
|
|
|
1060
1060
|
approved: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1061
1061
|
clobRewards: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
1062
1062
|
id: z.ZodPipe<z.ZodString, z.ZodTransform<ClobRewardId, string>>;
|
|
1063
|
-
conditionId: z.ZodPipe<z.ZodString, z.ZodTransform<
|
|
1063
|
+
conditionId: z.ZodPipe<z.ZodString, z.ZodTransform<CtfConditionId, string>>;
|
|
1064
1064
|
assetAddress: z.ZodString;
|
|
1065
1065
|
rewardsAmount: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>;
|
|
1066
1066
|
rewardsDailyRate: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>;
|
|
@@ -1115,7 +1115,7 @@ declare const ListMarketsResponseSchema: z.ZodArray<z.ZodPipe<z.ZodObject<{
|
|
|
1115
1115
|
}, z.core.$strip>>>;
|
|
1116
1116
|
}, z.core.$strip>, z.ZodTransform<Market, {
|
|
1117
1117
|
id: MarketId;
|
|
1118
|
-
conditionId:
|
|
1118
|
+
conditionId: CtfConditionId | null;
|
|
1119
1119
|
outcomes: string[];
|
|
1120
1120
|
outcomePrices: DecimalString[];
|
|
1121
1121
|
marketMakerAddress: string;
|
|
@@ -1251,7 +1251,7 @@ declare const ListMarketsResponseSchema: z.ZodArray<z.ZodPipe<z.ZodObject<{
|
|
|
1251
1251
|
categories?: unknown[] | null | undefined;
|
|
1252
1252
|
markets?: {
|
|
1253
1253
|
id: MarketId;
|
|
1254
|
-
conditionId?:
|
|
1254
|
+
conditionId?: CtfConditionId | undefined;
|
|
1255
1255
|
slug?: string | null | undefined;
|
|
1256
1256
|
image?: string | null | undefined;
|
|
1257
1257
|
volume?: DecimalString | null | undefined;
|
|
@@ -1289,7 +1289,7 @@ declare const ListMarketsResponseSchema: z.ZodArray<z.ZodPipe<z.ZodObject<{
|
|
|
1289
1289
|
approved?: boolean | null | undefined;
|
|
1290
1290
|
clobRewards?: {
|
|
1291
1291
|
id: ClobRewardId;
|
|
1292
|
-
conditionId:
|
|
1292
|
+
conditionId: CtfConditionId;
|
|
1293
1293
|
assetAddress: string;
|
|
1294
1294
|
rewardsAmount: DecimalString;
|
|
1295
1295
|
rewardsDailyRate: DecimalString;
|
|
@@ -1347,7 +1347,7 @@ declare const ListMarketsKeysetResponseSchema: z.ZodPipe<z.ZodObject<{
|
|
|
1347
1347
|
markets: z.ZodArray<z.ZodPipe<z.ZodObject<{
|
|
1348
1348
|
id: z.ZodPipe<z.ZodString, z.ZodTransform<MarketId, string>>;
|
|
1349
1349
|
question: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1350
|
-
conditionId: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<
|
|
1350
|
+
conditionId: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<CtfConditionId, string>>>>>, z.ZodTransform<CtfConditionId | null, CtfConditionId | null | undefined>>;
|
|
1351
1351
|
slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1352
1352
|
twitterCardImage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1353
1353
|
resolutionSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1482,7 +1482,7 @@ declare const ListMarketsKeysetResponseSchema: z.ZodPipe<z.ZodObject<{
|
|
|
1482
1482
|
categories: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
|
|
1483
1483
|
markets: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
1484
1484
|
id: z.ZodPipe<z.ZodString, z.ZodTransform<MarketId, string>>;
|
|
1485
|
-
conditionId: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<
|
|
1485
|
+
conditionId: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<CtfConditionId, string>>>>;
|
|
1486
1486
|
slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1487
1487
|
image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1488
1488
|
volume: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>>>;
|
|
@@ -1520,7 +1520,7 @@ declare const ListMarketsKeysetResponseSchema: z.ZodPipe<z.ZodObject<{
|
|
|
1520
1520
|
approved: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1521
1521
|
clobRewards: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
1522
1522
|
id: z.ZodPipe<z.ZodString, z.ZodTransform<ClobRewardId, string>>;
|
|
1523
|
-
conditionId: z.ZodPipe<z.ZodString, z.ZodTransform<
|
|
1523
|
+
conditionId: z.ZodPipe<z.ZodString, z.ZodTransform<CtfConditionId, string>>;
|
|
1524
1524
|
assetAddress: z.ZodString;
|
|
1525
1525
|
rewardsAmount: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>;
|
|
1526
1526
|
rewardsDailyRate: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>;
|
|
@@ -1575,7 +1575,7 @@ declare const ListMarketsKeysetResponseSchema: z.ZodPipe<z.ZodObject<{
|
|
|
1575
1575
|
}, z.core.$strip>>>;
|
|
1576
1576
|
}, z.core.$strip>, z.ZodTransform<Market, {
|
|
1577
1577
|
id: MarketId;
|
|
1578
|
-
conditionId:
|
|
1578
|
+
conditionId: CtfConditionId | null;
|
|
1579
1579
|
outcomes: string[];
|
|
1580
1580
|
outcomePrices: DecimalString[];
|
|
1581
1581
|
marketMakerAddress: string;
|
|
@@ -1711,7 +1711,7 @@ declare const ListMarketsKeysetResponseSchema: z.ZodPipe<z.ZodObject<{
|
|
|
1711
1711
|
categories?: unknown[] | null | undefined;
|
|
1712
1712
|
markets?: {
|
|
1713
1713
|
id: MarketId;
|
|
1714
|
-
conditionId?:
|
|
1714
|
+
conditionId?: CtfConditionId | undefined;
|
|
1715
1715
|
slug?: string | null | undefined;
|
|
1716
1716
|
image?: string | null | undefined;
|
|
1717
1717
|
volume?: DecimalString | null | undefined;
|
|
@@ -1749,7 +1749,7 @@ declare const ListMarketsKeysetResponseSchema: z.ZodPipe<z.ZodObject<{
|
|
|
1749
1749
|
approved?: boolean | null | undefined;
|
|
1750
1750
|
clobRewards?: {
|
|
1751
1751
|
id: ClobRewardId;
|
|
1752
|
-
conditionId:
|
|
1752
|
+
conditionId: CtfConditionId;
|
|
1753
1753
|
assetAddress: string;
|
|
1754
1754
|
rewardsAmount: DecimalString;
|
|
1755
1755
|
rewardsDailyRate: DecimalString;
|
|
@@ -2260,7 +2260,7 @@ declare const GammaEventSchema: z.ZodObject<{
|
|
|
2260
2260
|
markets: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodArray<z.ZodPipe<z.ZodObject<{
|
|
2261
2261
|
id: z.ZodPipe<z.ZodString, z.ZodTransform<MarketId, string>>;
|
|
2262
2262
|
question: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2263
|
-
conditionId: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<
|
|
2263
|
+
conditionId: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<CtfConditionId, string>>>>>, z.ZodTransform<CtfConditionId | null, CtfConditionId | null | undefined>>;
|
|
2264
2264
|
slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2265
2265
|
twitterCardImage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2266
2266
|
resolutionSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -2395,7 +2395,7 @@ declare const GammaEventSchema: z.ZodObject<{
|
|
|
2395
2395
|
categories: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
|
|
2396
2396
|
markets: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
2397
2397
|
id: z.ZodPipe<z.ZodString, z.ZodTransform<MarketId, string>>;
|
|
2398
|
-
conditionId: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<
|
|
2398
|
+
conditionId: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<CtfConditionId, string>>>>;
|
|
2399
2399
|
slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2400
2400
|
image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2401
2401
|
volume: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>>>;
|
|
@@ -2433,7 +2433,7 @@ declare const GammaEventSchema: z.ZodObject<{
|
|
|
2433
2433
|
approved: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
2434
2434
|
clobRewards: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
2435
2435
|
id: z.ZodPipe<z.ZodString, z.ZodTransform<ClobRewardId, string>>;
|
|
2436
|
-
conditionId: z.ZodPipe<z.ZodString, z.ZodTransform<
|
|
2436
|
+
conditionId: z.ZodPipe<z.ZodString, z.ZodTransform<CtfConditionId, string>>;
|
|
2437
2437
|
assetAddress: z.ZodString;
|
|
2438
2438
|
rewardsAmount: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>;
|
|
2439
2439
|
rewardsDailyRate: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>;
|
|
@@ -2488,7 +2488,7 @@ declare const GammaEventSchema: z.ZodObject<{
|
|
|
2488
2488
|
}, z.core.$strip>>>;
|
|
2489
2489
|
}, z.core.$strip>, z.ZodTransform<Market | null, {
|
|
2490
2490
|
id: MarketId;
|
|
2491
|
-
conditionId:
|
|
2491
|
+
conditionId: CtfConditionId | null;
|
|
2492
2492
|
outcomes: string[];
|
|
2493
2493
|
outcomePrices: DecimalString[];
|
|
2494
2494
|
marketMakerAddress: string;
|
|
@@ -2624,7 +2624,7 @@ declare const GammaEventSchema: z.ZodObject<{
|
|
|
2624
2624
|
categories?: unknown[] | null | undefined;
|
|
2625
2625
|
markets?: {
|
|
2626
2626
|
id: MarketId;
|
|
2627
|
-
conditionId?:
|
|
2627
|
+
conditionId?: CtfConditionId | undefined;
|
|
2628
2628
|
slug?: string | null | undefined;
|
|
2629
2629
|
image?: string | null | undefined;
|
|
2630
2630
|
volume?: DecimalString | null | undefined;
|
|
@@ -2662,7 +2662,7 @@ declare const GammaEventSchema: z.ZodObject<{
|
|
|
2662
2662
|
approved?: boolean | null | undefined;
|
|
2663
2663
|
clobRewards?: {
|
|
2664
2664
|
id: ClobRewardId;
|
|
2665
|
-
conditionId:
|
|
2665
|
+
conditionId: CtfConditionId;
|
|
2666
2666
|
assetAddress: string;
|
|
2667
2667
|
rewardsAmount: DecimalString;
|
|
2668
2668
|
rewardsDailyRate: DecimalString;
|
|
@@ -3030,7 +3030,7 @@ declare const EventSchema: z.ZodPipe<z.ZodObject<{
|
|
|
3030
3030
|
markets: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodArray<z.ZodPipe<z.ZodObject<{
|
|
3031
3031
|
id: z.ZodPipe<z.ZodString, z.ZodTransform<MarketId, string>>;
|
|
3032
3032
|
question: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3033
|
-
conditionId: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<
|
|
3033
|
+
conditionId: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<CtfConditionId, string>>>>>, z.ZodTransform<CtfConditionId | null, CtfConditionId | null | undefined>>;
|
|
3034
3034
|
slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3035
3035
|
twitterCardImage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3036
3036
|
resolutionSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -3165,7 +3165,7 @@ declare const EventSchema: z.ZodPipe<z.ZodObject<{
|
|
|
3165
3165
|
categories: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
|
|
3166
3166
|
markets: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
3167
3167
|
id: z.ZodPipe<z.ZodString, z.ZodTransform<MarketId, string>>;
|
|
3168
|
-
conditionId: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<
|
|
3168
|
+
conditionId: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<CtfConditionId, string>>>>;
|
|
3169
3169
|
slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3170
3170
|
image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3171
3171
|
volume: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>>>;
|
|
@@ -3203,7 +3203,7 @@ declare const EventSchema: z.ZodPipe<z.ZodObject<{
|
|
|
3203
3203
|
approved: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
3204
3204
|
clobRewards: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
3205
3205
|
id: z.ZodPipe<z.ZodString, z.ZodTransform<ClobRewardId, string>>;
|
|
3206
|
-
conditionId: z.ZodPipe<z.ZodString, z.ZodTransform<
|
|
3206
|
+
conditionId: z.ZodPipe<z.ZodString, z.ZodTransform<CtfConditionId, string>>;
|
|
3207
3207
|
assetAddress: z.ZodString;
|
|
3208
3208
|
rewardsAmount: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>;
|
|
3209
3209
|
rewardsDailyRate: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>;
|
|
@@ -3258,7 +3258,7 @@ declare const EventSchema: z.ZodPipe<z.ZodObject<{
|
|
|
3258
3258
|
}, z.core.$strip>>>;
|
|
3259
3259
|
}, z.core.$strip>, z.ZodTransform<Market | null, {
|
|
3260
3260
|
id: MarketId;
|
|
3261
|
-
conditionId:
|
|
3261
|
+
conditionId: CtfConditionId | null;
|
|
3262
3262
|
outcomes: string[];
|
|
3263
3263
|
outcomePrices: DecimalString[];
|
|
3264
3264
|
marketMakerAddress: string;
|
|
@@ -3394,7 +3394,7 @@ declare const EventSchema: z.ZodPipe<z.ZodObject<{
|
|
|
3394
3394
|
categories?: unknown[] | null | undefined;
|
|
3395
3395
|
markets?: {
|
|
3396
3396
|
id: MarketId;
|
|
3397
|
-
conditionId?:
|
|
3397
|
+
conditionId?: CtfConditionId | undefined;
|
|
3398
3398
|
slug?: string | null | undefined;
|
|
3399
3399
|
image?: string | null | undefined;
|
|
3400
3400
|
volume?: DecimalString | null | undefined;
|
|
@@ -3432,7 +3432,7 @@ declare const EventSchema: z.ZodPipe<z.ZodObject<{
|
|
|
3432
3432
|
approved?: boolean | null | undefined;
|
|
3433
3433
|
clobRewards?: {
|
|
3434
3434
|
id: ClobRewardId;
|
|
3435
|
-
conditionId:
|
|
3435
|
+
conditionId: CtfConditionId;
|
|
3436
3436
|
assetAddress: string;
|
|
3437
3437
|
rewardsAmount: DecimalString;
|
|
3438
3438
|
rewardsDailyRate: DecimalString;
|
|
@@ -4111,7 +4111,7 @@ declare const ListEventsResponseSchema: z.ZodArray<z.ZodPipe<z.ZodObject<{
|
|
|
4111
4111
|
markets: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodArray<z.ZodPipe<z.ZodObject<{
|
|
4112
4112
|
id: z.ZodPipe<z.ZodString, z.ZodTransform<MarketId, string>>;
|
|
4113
4113
|
question: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4114
|
-
conditionId: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<
|
|
4114
|
+
conditionId: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<CtfConditionId, string>>>>>, z.ZodTransform<CtfConditionId | null, CtfConditionId | null | undefined>>;
|
|
4115
4115
|
slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4116
4116
|
twitterCardImage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4117
4117
|
resolutionSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -4246,7 +4246,7 @@ declare const ListEventsResponseSchema: z.ZodArray<z.ZodPipe<z.ZodObject<{
|
|
|
4246
4246
|
categories: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
|
|
4247
4247
|
markets: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
4248
4248
|
id: z.ZodPipe<z.ZodString, z.ZodTransform<MarketId, string>>;
|
|
4249
|
-
conditionId: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<
|
|
4249
|
+
conditionId: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<CtfConditionId, string>>>>;
|
|
4250
4250
|
slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4251
4251
|
image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4252
4252
|
volume: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>>>;
|
|
@@ -4284,7 +4284,7 @@ declare const ListEventsResponseSchema: z.ZodArray<z.ZodPipe<z.ZodObject<{
|
|
|
4284
4284
|
approved: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
4285
4285
|
clobRewards: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
4286
4286
|
id: z.ZodPipe<z.ZodString, z.ZodTransform<ClobRewardId, string>>;
|
|
4287
|
-
conditionId: z.ZodPipe<z.ZodString, z.ZodTransform<
|
|
4287
|
+
conditionId: z.ZodPipe<z.ZodString, z.ZodTransform<CtfConditionId, string>>;
|
|
4288
4288
|
assetAddress: z.ZodString;
|
|
4289
4289
|
rewardsAmount: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>;
|
|
4290
4290
|
rewardsDailyRate: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>;
|
|
@@ -4339,7 +4339,7 @@ declare const ListEventsResponseSchema: z.ZodArray<z.ZodPipe<z.ZodObject<{
|
|
|
4339
4339
|
}, z.core.$strip>>>;
|
|
4340
4340
|
}, z.core.$strip>, z.ZodTransform<Market | null, {
|
|
4341
4341
|
id: MarketId;
|
|
4342
|
-
conditionId:
|
|
4342
|
+
conditionId: CtfConditionId | null;
|
|
4343
4343
|
outcomes: string[];
|
|
4344
4344
|
outcomePrices: DecimalString[];
|
|
4345
4345
|
marketMakerAddress: string;
|
|
@@ -4475,7 +4475,7 @@ declare const ListEventsResponseSchema: z.ZodArray<z.ZodPipe<z.ZodObject<{
|
|
|
4475
4475
|
categories?: unknown[] | null | undefined;
|
|
4476
4476
|
markets?: {
|
|
4477
4477
|
id: MarketId;
|
|
4478
|
-
conditionId?:
|
|
4478
|
+
conditionId?: CtfConditionId | undefined;
|
|
4479
4479
|
slug?: string | null | undefined;
|
|
4480
4480
|
image?: string | null | undefined;
|
|
4481
4481
|
volume?: DecimalString | null | undefined;
|
|
@@ -4513,7 +4513,7 @@ declare const ListEventsResponseSchema: z.ZodArray<z.ZodPipe<z.ZodObject<{
|
|
|
4513
4513
|
approved?: boolean | null | undefined;
|
|
4514
4514
|
clobRewards?: {
|
|
4515
4515
|
id: ClobRewardId;
|
|
4516
|
-
conditionId:
|
|
4516
|
+
conditionId: CtfConditionId;
|
|
4517
4517
|
assetAddress: string;
|
|
4518
4518
|
rewardsAmount: DecimalString;
|
|
4519
4519
|
rewardsDailyRate: DecimalString;
|
|
@@ -5193,7 +5193,7 @@ declare const ListEventsKeysetResponseSchema: z.ZodPipe<z.ZodObject<{
|
|
|
5193
5193
|
markets: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodArray<z.ZodPipe<z.ZodObject<{
|
|
5194
5194
|
id: z.ZodPipe<z.ZodString, z.ZodTransform<MarketId, string>>;
|
|
5195
5195
|
question: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5196
|
-
conditionId: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<
|
|
5196
|
+
conditionId: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<CtfConditionId, string>>>>>, z.ZodTransform<CtfConditionId | null, CtfConditionId | null | undefined>>;
|
|
5197
5197
|
slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5198
5198
|
twitterCardImage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5199
5199
|
resolutionSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -5328,7 +5328,7 @@ declare const ListEventsKeysetResponseSchema: z.ZodPipe<z.ZodObject<{
|
|
|
5328
5328
|
categories: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
|
|
5329
5329
|
markets: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
5330
5330
|
id: z.ZodPipe<z.ZodString, z.ZodTransform<MarketId, string>>;
|
|
5331
|
-
conditionId: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<
|
|
5331
|
+
conditionId: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<CtfConditionId, string>>>>;
|
|
5332
5332
|
slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5333
5333
|
image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5334
5334
|
volume: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>>>;
|
|
@@ -5366,7 +5366,7 @@ declare const ListEventsKeysetResponseSchema: z.ZodPipe<z.ZodObject<{
|
|
|
5366
5366
|
approved: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
5367
5367
|
clobRewards: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
5368
5368
|
id: z.ZodPipe<z.ZodString, z.ZodTransform<ClobRewardId, string>>;
|
|
5369
|
-
conditionId: z.ZodPipe<z.ZodString, z.ZodTransform<
|
|
5369
|
+
conditionId: z.ZodPipe<z.ZodString, z.ZodTransform<CtfConditionId, string>>;
|
|
5370
5370
|
assetAddress: z.ZodString;
|
|
5371
5371
|
rewardsAmount: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>;
|
|
5372
5372
|
rewardsDailyRate: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>;
|
|
@@ -5421,7 +5421,7 @@ declare const ListEventsKeysetResponseSchema: z.ZodPipe<z.ZodObject<{
|
|
|
5421
5421
|
}, z.core.$strip>>>;
|
|
5422
5422
|
}, z.core.$strip>, z.ZodTransform<Market | null, {
|
|
5423
5423
|
id: MarketId;
|
|
5424
|
-
conditionId:
|
|
5424
|
+
conditionId: CtfConditionId | null;
|
|
5425
5425
|
outcomes: string[];
|
|
5426
5426
|
outcomePrices: DecimalString[];
|
|
5427
5427
|
marketMakerAddress: string;
|
|
@@ -5557,7 +5557,7 @@ declare const ListEventsKeysetResponseSchema: z.ZodPipe<z.ZodObject<{
|
|
|
5557
5557
|
categories?: unknown[] | null | undefined;
|
|
5558
5558
|
markets?: {
|
|
5559
5559
|
id: MarketId;
|
|
5560
|
-
conditionId?:
|
|
5560
|
+
conditionId?: CtfConditionId | undefined;
|
|
5561
5561
|
slug?: string | null | undefined;
|
|
5562
5562
|
image?: string | null | undefined;
|
|
5563
5563
|
volume?: DecimalString | null | undefined;
|
|
@@ -5595,7 +5595,7 @@ declare const ListEventsKeysetResponseSchema: z.ZodPipe<z.ZodObject<{
|
|
|
5595
5595
|
approved?: boolean | null | undefined;
|
|
5596
5596
|
clobRewards?: {
|
|
5597
5597
|
id: ClobRewardId;
|
|
5598
|
-
conditionId:
|
|
5598
|
+
conditionId: CtfConditionId;
|
|
5599
5599
|
assetAddress: string;
|
|
5600
5600
|
rewardsAmount: DecimalString;
|
|
5601
5601
|
rewardsDailyRate: DecimalString;
|
|
@@ -6527,7 +6527,7 @@ declare const PublicSearchResponseSchema: z.ZodObject<{
|
|
|
6527
6527
|
markets: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodArray<z.ZodPipe<z.ZodObject<{
|
|
6528
6528
|
id: z.ZodPipe<z.ZodString, z.ZodTransform<MarketId, string>>;
|
|
6529
6529
|
question: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6530
|
-
conditionId: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<
|
|
6530
|
+
conditionId: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<CtfConditionId, string>>>>>, z.ZodTransform<CtfConditionId | null, CtfConditionId | null | undefined>>;
|
|
6531
6531
|
slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6532
6532
|
twitterCardImage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6533
6533
|
resolutionSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -6662,7 +6662,7 @@ declare const PublicSearchResponseSchema: z.ZodObject<{
|
|
|
6662
6662
|
categories: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
|
|
6663
6663
|
markets: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
6664
6664
|
id: z.ZodPipe<z.ZodString, z.ZodTransform<MarketId, string>>;
|
|
6665
|
-
conditionId: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<
|
|
6665
|
+
conditionId: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<CtfConditionId, string>>>>;
|
|
6666
6666
|
slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6667
6667
|
image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6668
6668
|
volume: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>>>;
|
|
@@ -6700,7 +6700,7 @@ declare const PublicSearchResponseSchema: z.ZodObject<{
|
|
|
6700
6700
|
approved: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
6701
6701
|
clobRewards: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
6702
6702
|
id: z.ZodPipe<z.ZodString, z.ZodTransform<ClobRewardId, string>>;
|
|
6703
|
-
conditionId: z.ZodPipe<z.ZodString, z.ZodTransform<
|
|
6703
|
+
conditionId: z.ZodPipe<z.ZodString, z.ZodTransform<CtfConditionId, string>>;
|
|
6704
6704
|
assetAddress: z.ZodString;
|
|
6705
6705
|
rewardsAmount: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>;
|
|
6706
6706
|
rewardsDailyRate: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>;
|
|
@@ -6755,7 +6755,7 @@ declare const PublicSearchResponseSchema: z.ZodObject<{
|
|
|
6755
6755
|
}, z.core.$strip>>>;
|
|
6756
6756
|
}, z.core.$strip>, z.ZodTransform<Market | null, {
|
|
6757
6757
|
id: MarketId;
|
|
6758
|
-
conditionId:
|
|
6758
|
+
conditionId: CtfConditionId | null;
|
|
6759
6759
|
outcomes: string[];
|
|
6760
6760
|
outcomePrices: DecimalString[];
|
|
6761
6761
|
marketMakerAddress: string;
|
|
@@ -6891,7 +6891,7 @@ declare const PublicSearchResponseSchema: z.ZodObject<{
|
|
|
6891
6891
|
categories?: unknown[] | null | undefined;
|
|
6892
6892
|
markets?: {
|
|
6893
6893
|
id: MarketId;
|
|
6894
|
-
conditionId?:
|
|
6894
|
+
conditionId?: CtfConditionId | undefined;
|
|
6895
6895
|
slug?: string | null | undefined;
|
|
6896
6896
|
image?: string | null | undefined;
|
|
6897
6897
|
volume?: DecimalString | null | undefined;
|
|
@@ -6929,7 +6929,7 @@ declare const PublicSearchResponseSchema: z.ZodObject<{
|
|
|
6929
6929
|
approved?: boolean | null | undefined;
|
|
6930
6930
|
clobRewards?: {
|
|
6931
6931
|
id: ClobRewardId;
|
|
6932
|
-
conditionId:
|
|
6932
|
+
conditionId: CtfConditionId;
|
|
6933
6933
|
assetAddress: string;
|
|
6934
6934
|
rewardsAmount: DecimalString;
|
|
6935
6935
|
rewardsDailyRate: DecimalString;
|
|
@@ -7796,7 +7796,7 @@ declare const SeriesSchema: z.ZodObject<{
|
|
|
7796
7796
|
markets: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodArray<z.ZodPipe<z.ZodObject<{
|
|
7797
7797
|
id: z.ZodPipe<z.ZodString, z.ZodTransform<MarketId, string>>;
|
|
7798
7798
|
question: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7799
|
-
conditionId: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<
|
|
7799
|
+
conditionId: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<CtfConditionId, string>>>>>, z.ZodTransform<CtfConditionId | null, CtfConditionId | null | undefined>>;
|
|
7800
7800
|
slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7801
7801
|
twitterCardImage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7802
7802
|
resolutionSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -7931,7 +7931,7 @@ declare const SeriesSchema: z.ZodObject<{
|
|
|
7931
7931
|
categories: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
|
|
7932
7932
|
markets: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
7933
7933
|
id: z.ZodPipe<z.ZodString, z.ZodTransform<MarketId, string>>;
|
|
7934
|
-
conditionId: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<
|
|
7934
|
+
conditionId: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<CtfConditionId, string>>>>;
|
|
7935
7935
|
slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7936
7936
|
image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7937
7937
|
volume: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>>>;
|
|
@@ -7969,7 +7969,7 @@ declare const SeriesSchema: z.ZodObject<{
|
|
|
7969
7969
|
approved: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
7970
7970
|
clobRewards: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
7971
7971
|
id: z.ZodPipe<z.ZodString, z.ZodTransform<ClobRewardId, string>>;
|
|
7972
|
-
conditionId: z.ZodPipe<z.ZodString, z.ZodTransform<
|
|
7972
|
+
conditionId: z.ZodPipe<z.ZodString, z.ZodTransform<CtfConditionId, string>>;
|
|
7973
7973
|
assetAddress: z.ZodString;
|
|
7974
7974
|
rewardsAmount: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>;
|
|
7975
7975
|
rewardsDailyRate: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>;
|
|
@@ -8024,7 +8024,7 @@ declare const SeriesSchema: z.ZodObject<{
|
|
|
8024
8024
|
}, z.core.$strip>>>;
|
|
8025
8025
|
}, z.core.$strip>, z.ZodTransform<Market | null, {
|
|
8026
8026
|
id: MarketId;
|
|
8027
|
-
conditionId:
|
|
8027
|
+
conditionId: CtfConditionId | null;
|
|
8028
8028
|
outcomes: string[];
|
|
8029
8029
|
outcomePrices: DecimalString[];
|
|
8030
8030
|
marketMakerAddress: string;
|
|
@@ -8160,7 +8160,7 @@ declare const SeriesSchema: z.ZodObject<{
|
|
|
8160
8160
|
categories?: unknown[] | null | undefined;
|
|
8161
8161
|
markets?: {
|
|
8162
8162
|
id: MarketId;
|
|
8163
|
-
conditionId?:
|
|
8163
|
+
conditionId?: CtfConditionId | undefined;
|
|
8164
8164
|
slug?: string | null | undefined;
|
|
8165
8165
|
image?: string | null | undefined;
|
|
8166
8166
|
volume?: DecimalString | null | undefined;
|
|
@@ -8198,7 +8198,7 @@ declare const SeriesSchema: z.ZodObject<{
|
|
|
8198
8198
|
approved?: boolean | null | undefined;
|
|
8199
8199
|
clobRewards?: {
|
|
8200
8200
|
id: ClobRewardId;
|
|
8201
|
-
conditionId:
|
|
8201
|
+
conditionId: CtfConditionId;
|
|
8202
8202
|
assetAddress: string;
|
|
8203
8203
|
rewardsAmount: DecimalString;
|
|
8204
8204
|
rewardsDailyRate: DecimalString;
|
|
@@ -8975,7 +8975,7 @@ declare const ListSeriesResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
8975
8975
|
markets: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodArray<z.ZodPipe<z.ZodObject<{
|
|
8976
8976
|
id: z.ZodPipe<z.ZodString, z.ZodTransform<MarketId, string>>;
|
|
8977
8977
|
question: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8978
|
-
conditionId: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<
|
|
8978
|
+
conditionId: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<CtfConditionId, string>>>>>, z.ZodTransform<CtfConditionId | null, CtfConditionId | null | undefined>>;
|
|
8979
8979
|
slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8980
8980
|
twitterCardImage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8981
8981
|
resolutionSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -9110,7 +9110,7 @@ declare const ListSeriesResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
9110
9110
|
categories: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
|
|
9111
9111
|
markets: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
9112
9112
|
id: z.ZodPipe<z.ZodString, z.ZodTransform<MarketId, string>>;
|
|
9113
|
-
conditionId: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<
|
|
9113
|
+
conditionId: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<CtfConditionId, string>>>>;
|
|
9114
9114
|
slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9115
9115
|
image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9116
9116
|
volume: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>>>;
|
|
@@ -9148,7 +9148,7 @@ declare const ListSeriesResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
9148
9148
|
approved: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
9149
9149
|
clobRewards: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
9150
9150
|
id: z.ZodPipe<z.ZodString, z.ZodTransform<ClobRewardId, string>>;
|
|
9151
|
-
conditionId: z.ZodPipe<z.ZodString, z.ZodTransform<
|
|
9151
|
+
conditionId: z.ZodPipe<z.ZodString, z.ZodTransform<CtfConditionId, string>>;
|
|
9152
9152
|
assetAddress: z.ZodString;
|
|
9153
9153
|
rewardsAmount: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>;
|
|
9154
9154
|
rewardsDailyRate: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>;
|
|
@@ -9203,7 +9203,7 @@ declare const ListSeriesResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
9203
9203
|
}, z.core.$strip>>>;
|
|
9204
9204
|
}, z.core.$strip>, z.ZodTransform<Market | null, {
|
|
9205
9205
|
id: MarketId;
|
|
9206
|
-
conditionId:
|
|
9206
|
+
conditionId: CtfConditionId | null;
|
|
9207
9207
|
outcomes: string[];
|
|
9208
9208
|
outcomePrices: DecimalString[];
|
|
9209
9209
|
marketMakerAddress: string;
|
|
@@ -9339,7 +9339,7 @@ declare const ListSeriesResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
9339
9339
|
categories?: unknown[] | null | undefined;
|
|
9340
9340
|
markets?: {
|
|
9341
9341
|
id: MarketId;
|
|
9342
|
-
conditionId?:
|
|
9342
|
+
conditionId?: CtfConditionId | undefined;
|
|
9343
9343
|
slug?: string | null | undefined;
|
|
9344
9344
|
image?: string | null | undefined;
|
|
9345
9345
|
volume?: DecimalString | null | undefined;
|
|
@@ -9377,7 +9377,7 @@ declare const ListSeriesResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
9377
9377
|
approved?: boolean | null | undefined;
|
|
9378
9378
|
clobRewards?: {
|
|
9379
9379
|
id: ClobRewardId;
|
|
9380
|
-
conditionId:
|
|
9380
|
+
conditionId: CtfConditionId;
|
|
9381
9381
|
assetAddress: string;
|
|
9382
9382
|
rewardsAmount: DecimalString;
|
|
9383
9383
|
rewardsDailyRate: DecimalString;
|
package/dist/gamma/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {a as a$1,E,e,s,r,q}from'../chunk-
|
|
1
|
+
import {a as a$1,E,e,s,r,q}from'../chunk-YJ7M6UHS.js';export{x as BestLineSchema,d as CategoryReferenceSchema,t as ChatSchema,g as ClobRewardsSchema,q as CollectionReferenceSchema,N as CommentMediaSchema,I as CommentPositionSchema,J as CommentProfileSchema,O as CommentSchema,u as EventCreatorSchema,w as EventExternalPartnerMappingSchema,c as EventReferenceSchema,E as EventSchema,b as FeeScheduleSchema,H as FetchEventTagsResponseSchema,n as FetchMarketTagsResponseSchema,D as GammaEventSchema,j as GammaMarketSchema,a as ImageOptimizationSchema,h as InternalUserSchema,P as ListCommentsResponseSchema,G as ListEventsKeysetResponseSchema,F as ListEventsResponseSchema,m as ListMarketsKeysetResponseSchema,l as ListMarketsResponseSchema,B as ListSportsMetadataResponseSchema,A as ListTeamsResponseSchema,k as MarketSchema,v as PartnerSchema,M as ReactionSchema,K as ReactionType,L as ReactionTypeSchema,f as RelatedMarketSchema,p as SeriesIdSchema,r as SeriesReferenceSchema,C as SportsMarketTypesResponseSchema,z as SportsMetadataSchema,e as TagReferenceSchema,y as TeamSchema,s as TemplateReferenceSchema,i as UmaResolutionStatus,o as normalizeMarket}from'../chunk-YJ7M6UHS.js';import {ka,$,Da}from'../chunk-IHJYHHWK.js';export{Da as TagIdSchema}from'../chunk-IHJYHHWK.js';import {z as z$1}from'zod';var pe=z$1.object({hasMore:z$1.boolean().nullish(),totalResults:z$1.number().int().nullish()});var P=z$1.object({id:z$1.string(),communityMod:z$1.boolean().nullish(),creator:z$1.boolean().nullish(),mod:z$1.boolean().nullish()}),b=z$1.object({id:z$1.string().nullish(),name:z$1.string().nullish(),user:z$1.number().int().nullish(),referral:z$1.string().nullish(),createdBy:z$1.number().int().nullish(),updatedBy:z$1.number().int().nullish(),createdAt:ka.nullish(),updatedAt:ka.nullish(),utmSource:z$1.string().nullish(),utmMedium:z$1.string().nullish(),utmCampaign:z$1.string().nullish(),utmContent:z$1.string().nullish(),utmTerm:z$1.string().nullish(),walletActivated:z$1.boolean().nullish(),pseudonym:z$1.string().nullish(),displayUsernamePublic:z$1.boolean().nullish(),profileImage:z$1.string().nullish(),bio:z$1.string().nullish(),proxyWallet:z$1.string().nullish(),profileImageOptimized:a$1.nullish(),isCloseOnly:z$1.boolean().nullish(),isCertReq:z$1.boolean().nullish(),certReqDate:ka.nullish(),discordUsername:z$1.string().nullish(),xUsername:z$1.string().nullish(),verifiedBadge:z$1.boolean().nullish(),dubPartnerId:z$1.string().nullish(),termsAcceptedAt:ka.nullish(),viewOnlyAcknowledgedAt:ka.nullish(),isReferralRestricted:z$1.boolean().nullish()}).transform(({proxyWallet:o,...i})=>({...i,wallet:o})),ge=z$1.object({createdAt:ka.nullish(),proxyWallet:$.nullish(),profileImage:z$1.string().nullish(),displayUsernamePublic:z$1.boolean().nullish(),bio:z$1.string().nullish(),pseudonym:z$1.string().nullish(),name:z$1.string().nullish(),users:z$1.array(P).nullish(),xUsername:z$1.string().nullish(),verifiedBadge:z$1.boolean().nullish()}).transform(({proxyWallet:o,...i})=>({...i,wallet:o}));var T=z$1.object({id:Da,event_count:z$1.number().int().nullish(),label:z$1.string().nullish(),slug:z$1.string().nullish()}).transform(({event_count:o,...i})=>({...i,eventCount:o})),z=z$1.object({hasMore:z$1.boolean().nullish(),totalResults:z$1.number().int().nullish()}),Re=z$1.object({events:z$1.array(E).nullish(),tags:z$1.array(T).nullish(),profiles:z$1.array(b).nullish(),pagination:z.nullish()});var a=e.extend({templates:z$1.array(s).nullish()}),L=z$1.object({id:z$1.string(),tagID:z$1.number().int().nullish(),relatedTagID:z$1.number().int().nullish(),rank:z$1.number().int().nullish()}).transform(({tagID:o,relatedTagID:i,...R})=>({...R,tagId:o,relatedTagId:i})),Ae=z$1.array(a),ve=z$1.array(L),Ee=z$1.array(a);var I=r.extend({events:z$1.array(E).nullish(),collections:z$1.array(q).nullish(),tags:z$1.array(a).nullish()}),Ce=z$1.array(I);var y=(n=>(n[n.EOA=0]="EOA",n[n.POLY_PROXY=1]="POLY_PROXY",n[n.GNOSIS_SAFE=2]="GNOSIS_SAFE",n[n.DEPOSIT_WALLET=3]="DEPOSIT_WALLET",n))(y||{}),Be=z$1.object({type:z$1.enum(y),typeName:z$1.enum(["EOA","POLY_PROXY","GNOSIS_SAFE","DEPOSIT_WALLET"])});export{Ee as ListRelatedTagResourcesResponseSchema,ve as ListRelatedTagsResponseSchema,Ce as ListSeriesResponseSchema,Ae as ListTagsResponseSchema,pe as PaginationEnvelopeSchema,b as ProfileSchema,ge as PublicProfileSchema,P as PublicProfileUserSchema,Re as PublicSearchResponseSchema,L as RelatedTagSchema,z as SearchPaginationSchema,T as SearchTagSchema,I as SeriesSchema,a as TagSchema,y as WalletType,Be as WalletTypeSchema};//# sourceMappingURL=index.js.map
|
|
2
2
|
//# sourceMappingURL=index.js.map
|