@polymarket/bindings 0.11.0 → 0.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
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';
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 ListCommentsKeysetResponse, h as ListCommentsKeysetResponseSchema, i as ListCommentsResponse, j as ListCommentsResponseSchema, k as Reaction, l as ReactionSchema, R as ReactionType, m as ReactionTypeSchema } from '../comment-CKJIqOZS.js';
2
2
  import { CategoryId, IsoDateTimeString, ClobRewardId, ConditionId, DecimalString, IsoCalendarDateString, ImageOptimizationId, EventId, InternalUserId, MarketId, TagId, TokenId, PositionId, TickSizeValue, QuestionId, ResolutionRequestId, 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';
@@ -1956,6 +1956,7 @@ declare const TeamSchema: z.ZodObject<{
1956
1956
  declare const SportsMetadataSchema: z.ZodObject<{
1957
1957
  id: z.ZodPipe<z.ZodNumber, z.ZodTransform<SportId, number>>;
1958
1958
  sport: z.ZodString;
1959
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1959
1960
  image: z.ZodString;
1960
1961
  resolution: z.ZodString;
1961
1962
  ordering: z.ZodString;
@@ -1981,6 +1982,7 @@ declare const ListTeamsResponseSchema: z.ZodArray<z.ZodObject<{
1981
1982
  declare const ListSportsMetadataResponseSchema: z.ZodArray<z.ZodObject<{
1982
1983
  id: z.ZodPipe<z.ZodNumber, z.ZodTransform<SportId, number>>;
1983
1984
  sport: z.ZodString;
1985
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1984
1986
  image: z.ZodString;
1985
1987
  resolution: z.ZodString;
1986
1988
  ordering: z.ZodString;
@@ -2876,6 +2878,7 @@ declare const GammaEventSchema: z.ZodObject<{
2876
2878
  sport: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2877
2879
  id: z.ZodPipe<z.ZodNumber, z.ZodTransform<SportId, number>>;
2878
2880
  sport: z.ZodString;
2881
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2879
2882
  image: z.ZodString;
2880
2883
  resolution: z.ZodString;
2881
2884
  ordering: z.ZodString;
@@ -3624,6 +3627,7 @@ declare const EventSchema: z.ZodPipe<z.ZodObject<{
3624
3627
  sport: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3625
3628
  id: z.ZodPipe<z.ZodNumber, z.ZodTransform<SportId, number>>;
3626
3629
  sport: z.ZodString;
3630
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3627
3631
  image: z.ZodString;
3628
3632
  resolution: z.ZodString;
3629
3633
  ordering: z.ZodString;
@@ -3938,6 +3942,7 @@ declare const EventSchema: z.ZodPipe<z.ZodObject<{
3938
3942
  ordering: string;
3939
3943
  tags: string;
3940
3944
  series: string;
3945
+ name?: string | null | undefined;
3941
3946
  createdAt?: IsoDateTimeString | null | undefined;
3942
3947
  updatedAt?: IsoDateTimeString | null | undefined;
3943
3948
  } | null | undefined;
@@ -4681,6 +4686,7 @@ declare const ListEventsResponseSchema: z.ZodArray<z.ZodPipe<z.ZodObject<{
4681
4686
  sport: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4682
4687
  id: z.ZodPipe<z.ZodNumber, z.ZodTransform<SportId, number>>;
4683
4688
  sport: z.ZodString;
4689
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4684
4690
  image: z.ZodString;
4685
4691
  resolution: z.ZodString;
4686
4692
  ordering: z.ZodString;
@@ -4995,6 +5001,7 @@ declare const ListEventsResponseSchema: z.ZodArray<z.ZodPipe<z.ZodObject<{
4995
5001
  ordering: string;
4996
5002
  tags: string;
4997
5003
  series: string;
5004
+ name?: string | null | undefined;
4998
5005
  createdAt?: IsoDateTimeString | null | undefined;
4999
5006
  updatedAt?: IsoDateTimeString | null | undefined;
5000
5007
  } | null | undefined;
@@ -5739,6 +5746,7 @@ declare const ListEventsKeysetResponseSchema: z.ZodPipe<z.ZodObject<{
5739
5746
  sport: z.ZodOptional<z.ZodNullable<z.ZodObject<{
5740
5747
  id: z.ZodPipe<z.ZodNumber, z.ZodTransform<SportId, number>>;
5741
5748
  sport: z.ZodString;
5749
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5742
5750
  image: z.ZodString;
5743
5751
  resolution: z.ZodString;
5744
5752
  ordering: z.ZodString;
@@ -6053,6 +6061,7 @@ declare const ListEventsKeysetResponseSchema: z.ZodPipe<z.ZodObject<{
6053
6061
  ordering: string;
6054
6062
  tags: string;
6055
6063
  series: string;
6064
+ name?: string | null | undefined;
6056
6065
  createdAt?: IsoDateTimeString | null | undefined;
6057
6066
  updatedAt?: IsoDateTimeString | null | undefined;
6058
6067
  } | null | undefined;
@@ -7095,6 +7104,7 @@ declare const PublicSearchResponseSchema: z.ZodObject<{
7095
7104
  sport: z.ZodOptional<z.ZodNullable<z.ZodObject<{
7096
7105
  id: z.ZodPipe<z.ZodNumber, z.ZodTransform<SportId, number>>;
7097
7106
  sport: z.ZodString;
7107
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7098
7108
  image: z.ZodString;
7099
7109
  resolution: z.ZodString;
7100
7110
  ordering: z.ZodString;
@@ -7409,6 +7419,7 @@ declare const PublicSearchResponseSchema: z.ZodObject<{
7409
7419
  ordering: string;
7410
7420
  tags: string;
7411
7421
  series: string;
7422
+ name?: string | null | undefined;
7412
7423
  createdAt?: IsoDateTimeString | null | undefined;
7413
7424
  updatedAt?: IsoDateTimeString | null | undefined;
7414
7425
  } | null | undefined;
@@ -8339,6 +8350,7 @@ declare const SeriesSchema: z.ZodObject<{
8339
8350
  sport: z.ZodOptional<z.ZodNullable<z.ZodObject<{
8340
8351
  id: z.ZodPipe<z.ZodNumber, z.ZodTransform<SportId, number>>;
8341
8352
  sport: z.ZodString;
8353
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8342
8354
  image: z.ZodString;
8343
8355
  resolution: z.ZodString;
8344
8356
  ordering: z.ZodString;
@@ -8653,6 +8665,7 @@ declare const SeriesSchema: z.ZodObject<{
8653
8665
  ordering: string;
8654
8666
  tags: string;
8655
8667
  series: string;
8668
+ name?: string | null | undefined;
8656
8669
  createdAt?: IsoDateTimeString | null | undefined;
8657
8670
  updatedAt?: IsoDateTimeString | null | undefined;
8658
8671
  } | null | undefined;
@@ -9492,6 +9505,7 @@ declare const ListSeriesResponseSchema: z.ZodArray<z.ZodObject<{
9492
9505
  sport: z.ZodOptional<z.ZodNullable<z.ZodObject<{
9493
9506
  id: z.ZodPipe<z.ZodNumber, z.ZodTransform<SportId, number>>;
9494
9507
  sport: z.ZodString;
9508
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9495
9509
  image: z.ZodString;
9496
9510
  resolution: z.ZodString;
9497
9511
  ordering: z.ZodString;
@@ -9806,6 +9820,7 @@ declare const ListSeriesResponseSchema: z.ZodArray<z.ZodObject<{
9806
9820
  ordering: string;
9807
9821
  tags: string;
9808
9822
  series: string;
9823
+ name?: string | null | undefined;
9809
9824
  createdAt?: IsoDateTimeString | null | undefined;
9810
9825
  updatedAt?: IsoDateTimeString | null | undefined;
9811
9826
  } | null | undefined;
@@ -1,2 +1,2 @@
1
- import {a,I,e,v,u as u$1,t}from'../chunk-NILFT6EF.js';export{A as BestLineSchema,d as CategoryReferenceSchema,w as ChatSchema,g as ClobRewardsSchema,t as CollectionReferenceSchema,i as ComboKnownStatus,R as CommentMediaSchema,M as CommentPositionSchema,N as CommentProfileSchema,S as CommentSchema,x as EventCreatorSchema,z as EventExternalPartnerMappingSchema,c as EventReferenceSchema,I as EventSchema,b as FeeScheduleSchema,L as FetchEventTagsResponseSchema,p as FetchMarketTagsResponseSchema,H as GammaEventSchema,l as GammaMarketSchema,a as ImageOptimizationSchema,h as InternalUserSchema,T as ListCommentsResponseSchema,K as ListEventsKeysetResponseSchema,J as ListEventsResponseSchema,o as ListMarketsKeysetResponseSchema,n as ListMarketsResponseSchema,F as ListSportsMetadataResponseSchema,E as ListTeamsResponseSchema,m as MarketSchema,y as PartnerSchema,j as ProtocolVersion,Q as ReactionSchema,O as ReactionType,P as ReactionTypeSchema,f as RelatedMarketSchema,s as SeriesIdSchema,u as SeriesReferenceSchema,G as SportsMarketTypesResponseSchema,D as SportsMetadataSchema,e as TagReferenceSchema,B as TeamOrdering,C as TeamSchema,v as TemplateReferenceSchema,k as UmaResolutionStatus,r as hasBinaryOutcomes,q as normalizeMarket}from'../chunk-NILFT6EF.js';import {B,oa,Na,ca,Fa,ma,Ka}from'../chunk-RGWF46B7.js';export{Ka as TagIdSchema}from'../chunk-RGWF46B7.js';import {z as z$1}from'zod';var z=(a=>(a.Pending="pending",a.Queued="queued",a.Success="success",a.Failed="failed",a.Cancelled="cancelled",a))(z||{}),E=z$1.union([z$1.string(),z$1.number().int().transform(String)]).transform(B),O=z$1.object({id:z$1.number().int(),marketId:E.nullish(),eventId:ma.nullish(),questionId:Fa.nullish(),content:z$1.string().nullish(),state:z$1.enum(z).nullish(),clearBook:z$1.boolean().nullish(),notifyDiscord:z$1.boolean().nullish(),showInFrontend:z$1.boolean().nullish(),adapterAddress:ca.nullish(),negRiskRequestId:z$1.string().nullish(),txHash:Na.nullish(),createdAt:oa.nullish(),queuedAt:oa.nullish(),scheduledFor:oa.nullish(),txTimestamp:oa.nullish()}),Ie=z$1.array(O);var Ae=z$1.object({hasMore:z$1.boolean().nullish(),totalResults:z$1.number().int().nullish()});var j=z$1.object({id:z$1.string(),communityMod:z$1.boolean().nullish(),creator:z$1.boolean().nullish(),mod:z$1.boolean().nullish()}),L=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:oa.nullish(),updatedAt:oa.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.nullish(),isCloseOnly:z$1.boolean().nullish(),isCertReq:z$1.boolean().nullish(),certReqDate:oa.nullish(),discordUsername:z$1.string().nullish(),xUsername:z$1.string().nullish(),verifiedBadge:z$1.boolean().nullish(),dubPartnerId:z$1.string().nullish(),termsAcceptedAt:oa.nullish(),viewOnlyAcknowledgedAt:oa.nullish(),isReferralRestricted:z$1.boolean().nullish()}).transform(({proxyWallet:i,...l})=>({...l,wallet:i})),ke=z$1.object({createdAt:oa.nullish(),proxyWallet:ca.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(j).nullish(),xUsername:z$1.string().nullish(),verifiedBadge:z$1.boolean().nullish()}).transform(({proxyWallet:i,...l})=>({...l,wallet:i}));var k=z$1.object({id:Ka,event_count:z$1.number().int().nullish(),label:z$1.string().nullish(),slug:z$1.string().nullish()}).transform(({event_count:i,...l})=>({...l,eventCount:i})),C=z$1.object({hasMore:z$1.boolean().nullish(),totalResults:z$1.number().int().nullish()}),qe=z$1.object({events:z$1.array(I).nullish(),tags:z$1.array(k).nullish(),profiles:z$1.array(L).nullish(),pagination:C.nullish()});var u=e.extend({templates:z$1.array(v).nullish()}),D=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:i,relatedTagID:l,...v})=>({...v,tagId:i,relatedTagId:l})),Ge=z$1.array(u),He=z$1.array(D),Qe=z$1.array(u);var U=u$1.extend({events:z$1.array(I).nullish(),collections:z$1.array(t).nullish(),tags:z$1.array(u).nullish()}),Ze=z$1.array(U);var A=(s=>(s[s.EOA=0]="EOA",s[s.POLY_PROXY=1]="POLY_PROXY",s[s.GNOSIS_SAFE=2]="GNOSIS_SAFE",s[s.DEPOSIT_WALLET=3]="DEPOSIT_WALLET",s))(A||{}),er=z$1.object({type:z$1.enum(A),typeName:z$1.enum(["EOA","POLY_PROXY","GNOSIS_SAFE","DEPOSIT_WALLET"])});export{Ie as ListMarketClarificationsResponseSchema,Qe as ListRelatedTagResourcesResponseSchema,He as ListRelatedTagsResponseSchema,Ze as ListSeriesResponseSchema,Ge as ListTagsResponseSchema,O as MarketClarificationSchema,z as MarketClarificationState,Ae as PaginationEnvelopeSchema,L as ProfileSchema,ke as PublicProfileSchema,j as PublicProfileUserSchema,qe as PublicSearchResponseSchema,D as RelatedTagSchema,C as SearchPaginationSchema,k as SearchTagSchema,U as SeriesSchema,u as TagSchema,A as WalletType,er as WalletTypeSchema};//# sourceMappingURL=index.js.map
1
+ import {a,I,e,v,u as u$1,t}from'../chunk-2FRDSBWY.js';export{A as BestLineSchema,d as CategoryReferenceSchema,w as ChatSchema,g as ClobRewardsSchema,t as CollectionReferenceSchema,i as ComboKnownStatus,R as CommentMediaSchema,M as CommentPositionSchema,N as CommentProfileSchema,S as CommentSchema,x as EventCreatorSchema,z as EventExternalPartnerMappingSchema,c as EventReferenceSchema,I as EventSchema,b as FeeScheduleSchema,L as FetchEventTagsResponseSchema,p as FetchMarketTagsResponseSchema,H as GammaEventSchema,l as GammaMarketSchema,a as ImageOptimizationSchema,h as InternalUserSchema,U as ListCommentsKeysetResponseSchema,T as ListCommentsResponseSchema,K as ListEventsKeysetResponseSchema,J as ListEventsResponseSchema,o as ListMarketsKeysetResponseSchema,n as ListMarketsResponseSchema,F as ListSportsMetadataResponseSchema,E as ListTeamsResponseSchema,m as MarketSchema,y as PartnerSchema,j as ProtocolVersion,Q as ReactionSchema,O as ReactionType,P as ReactionTypeSchema,f as RelatedMarketSchema,s as SeriesIdSchema,u as SeriesReferenceSchema,G as SportsMarketTypesResponseSchema,D as SportsMetadataSchema,e as TagReferenceSchema,B as TeamOrdering,C as TeamSchema,v as TemplateReferenceSchema,k as UmaResolutionStatus,r as hasBinaryOutcomes,q as normalizeMarket}from'../chunk-2FRDSBWY.js';import {B,oa,Na,ca,Fa,ma,Ka}from'../chunk-3IZ4N7C2.js';export{Ka as TagIdSchema}from'../chunk-3IZ4N7C2.js';import {z as z$1}from'zod';var z=(a=>(a.Pending="pending",a.Queued="queued",a.Success="success",a.Failed="failed",a.Cancelled="cancelled",a))(z||{}),E=z$1.union([z$1.string(),z$1.number().int().transform(String)]).transform(B),O=z$1.object({id:z$1.number().int(),marketId:E.nullish(),eventId:ma.nullish(),questionId:Fa.nullish(),content:z$1.string().nullish(),state:z$1.enum(z).nullish(),clearBook:z$1.boolean().nullish(),notifyDiscord:z$1.boolean().nullish(),showInFrontend:z$1.boolean().nullish(),adapterAddress:ca.nullish(),negRiskRequestId:z$1.string().nullish(),txHash:Na.nullish(),createdAt:oa.nullish(),queuedAt:oa.nullish(),scheduledFor:oa.nullish(),txTimestamp:oa.nullish()}),ze=z$1.array(O);var ve=z$1.object({hasMore:z$1.boolean().nullish(),totalResults:z$1.number().int().nullish()});var j=z$1.object({id:z$1.string(),communityMod:z$1.boolean().nullish(),creator:z$1.boolean().nullish(),mod:z$1.boolean().nullish()}),L=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:oa.nullish(),updatedAt:oa.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.nullish(),isCloseOnly:z$1.boolean().nullish(),isCertReq:z$1.boolean().nullish(),certReqDate:oa.nullish(),discordUsername:z$1.string().nullish(),xUsername:z$1.string().nullish(),verifiedBadge:z$1.boolean().nullish(),dubPartnerId:z$1.string().nullish(),termsAcceptedAt:oa.nullish(),viewOnlyAcknowledgedAt:oa.nullish(),isReferralRestricted:z$1.boolean().nullish()}).transform(({proxyWallet:i,...l})=>({...l,wallet:i})),Ce=z$1.object({createdAt:oa.nullish(),proxyWallet:ca.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(j).nullish(),xUsername:z$1.string().nullish(),verifiedBadge:z$1.boolean().nullish()}).transform(({proxyWallet:i,...l})=>({...l,wallet:i}));var k=z$1.object({id:Ka,event_count:z$1.number().int().nullish(),label:z$1.string().nullish(),slug:z$1.string().nullish()}).transform(({event_count:i,...l})=>({...l,eventCount:i})),C=z$1.object({hasMore:z$1.boolean().nullish(),totalResults:z$1.number().int().nullish()}),we=z$1.object({events:z$1.array(I).nullish(),tags:z$1.array(k).nullish(),profiles:z$1.array(L).nullish(),pagination:C.nullish()});var u=e.extend({templates:z$1.array(v).nullish()}),D=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:i,relatedTagID:l,...v})=>({...v,tagId:i,relatedTagId:l})),He=z$1.array(u),Qe=z$1.array(D),Xe=z$1.array(u);var U=u$1.extend({events:z$1.array(I).nullish(),collections:z$1.array(t).nullish(),tags:z$1.array(u).nullish()}),$e=z$1.array(U);var A=(s=>(s[s.EOA=0]="EOA",s[s.POLY_PROXY=1]="POLY_PROXY",s[s.GNOSIS_SAFE=2]="GNOSIS_SAFE",s[s.DEPOSIT_WALLET=3]="DEPOSIT_WALLET",s))(A||{}),rr=z$1.object({type:z$1.enum(A),typeName:z$1.enum(["EOA","POLY_PROXY","GNOSIS_SAFE","DEPOSIT_WALLET"])});export{ze as ListMarketClarificationsResponseSchema,Xe as ListRelatedTagResourcesResponseSchema,Qe as ListRelatedTagsResponseSchema,$e as ListSeriesResponseSchema,He as ListTagsResponseSchema,O as MarketClarificationSchema,z as MarketClarificationState,ve as PaginationEnvelopeSchema,L as ProfileSchema,Ce as PublicProfileSchema,j as PublicProfileUserSchema,we as PublicSearchResponseSchema,D as RelatedTagSchema,C as SearchPaginationSchema,k as SearchTagSchema,U as SeriesSchema,u as TagSchema,A as WalletType,rr as WalletTypeSchema};//# sourceMappingURL=index.js.map
2
2
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/gamma/market-clarification.ts","../../src/gamma/pagination.ts","../../src/gamma/profile.ts","../../src/gamma/search.ts","../../src/gamma/tag.ts","../../src/gamma/series.ts","../../src/gamma/wallet.ts"],"names":["MarketClarificationState","MarketIdFromWireSchema","z","toMarketId","MarketClarificationSchema","EventIdSchema","QuestionIdSchema","EvmAddressSchema","TxHashSchema","IsoDateTimeStringSchema","ListMarketClarificationsResponseSchema","PaginationEnvelopeSchema","PublicProfileUserSchema","ProfileSchema","ImageOptimizationSchema","proxyWallet","rest","PublicProfileSchema","SearchTagSchema","TagIdSchema","event_count","SearchPaginationSchema","PublicSearchResponseSchema","EventSchema","TagSchema","TagReferenceSchema","TemplateReferenceSchema","RelatedTagSchema","tagID","relatedTagID","ListTagsResponseSchema","ListRelatedTagsResponseSchema","ListRelatedTagResourcesResponseSchema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CAAAA,CAAAA,CAAAA,CAAA,IAAM,CAAA,CAAA,CAAN,KAAA,CACAA,IAAA,UAAA,CAAa,CAAA,CAAA,CAAb,aACAA,CAAAA,CAAAA,CAAAA,CAAA,WAAA,CAAc,GAAd,aAAA,CACAA,CAAAA,CAAAA,CAAAA,CAAA,eAAiB,CAAA,CAAA,CAAjB,gBAAA,CAJUA,CAAAA,CAAAA,EAAAA,CAAAA,EAAA,EAAA,CAAA,CAOCC,GAAmBpC,GAAAA,CAAE,MAAA,CAAO,CACvC,IAAA,CAAMA,GAAAA,CAAE,KAAKmC,CAAU,CAAA,CACvB,SAAUnC,GAAAA,CAAE,IAAA,CAAK,CAAC,KAAA,CAAO,YAAA,CAAc,cAAe,gBAAgB,CAAC,CACzE,CAAC","file":"index.js","sourcesContent":["import { z } from 'zod';\nimport {\n EventIdSchema,\n EvmAddressSchema,\n IsoDateTimeStringSchema,\n QuestionIdSchema,\n TxHashSchema,\n toMarketId,\n} from '../shared';\n\n/** Lifecycle state of a clarification as it is scheduled and posted on-chain. */\nexport enum MarketClarificationState {\n Pending = 'pending',\n Queued = 'queued',\n Success = 'success',\n Failed = 'failed',\n Cancelled = 'cancelled',\n}\n\n// The upstream payload returns `marketId` as a JSON number, but the `MarketId`\n// brand is string-valued, so accept number-or-string here (mirrors `EventIdSchema`).\nconst MarketIdFromWireSchema = z\n .union([z.string(), z.number().int().transform(String)])\n .transform(toMarketId);\n\nexport const MarketClarificationSchema = z.object({\n id: z.number().int(),\n marketId: MarketIdFromWireSchema.nullish(),\n eventId: EventIdSchema.nullish(),\n questionId: QuestionIdSchema.nullish(),\n content: z.string().nullish(),\n state: z.enum(MarketClarificationState).nullish(),\n clearBook: z.boolean().nullish(),\n notifyDiscord: z.boolean().nullish(),\n showInFrontend: z.boolean().nullish(),\n adapterAddress: EvmAddressSchema.nullish(),\n negRiskRequestId: z.string().nullish(),\n txHash: TxHashSchema.nullish(),\n createdAt: IsoDateTimeStringSchema.nullish(),\n queuedAt: IsoDateTimeStringSchema.nullish(),\n scheduledFor: IsoDateTimeStringSchema.nullish(),\n txTimestamp: IsoDateTimeStringSchema.nullish(),\n});\n\nexport const ListMarketClarificationsResponseSchema = z.array(\n MarketClarificationSchema,\n);\n\nexport type MarketClarification = z.infer<typeof MarketClarificationSchema>;\nexport type ListMarketClarificationsResponse = z.infer<\n typeof ListMarketClarificationsResponseSchema\n>;\n","import { z } from 'zod';\n\nexport const PaginationEnvelopeSchema = z.object({\n hasMore: z.boolean().nullish(),\n totalResults: z.number().int().nullish(),\n});\n\nexport type PaginationEnvelope = z.infer<typeof PaginationEnvelopeSchema>;\n","import { z } from 'zod';\nimport { EvmAddressSchema, IsoDateTimeStringSchema } from '../shared';\nimport { ImageOptimizationSchema } from './common';\n\nexport const PublicProfileUserSchema = z.object({\n id: z.string(),\n communityMod: z.boolean().nullish(),\n creator: z.boolean().nullish(),\n mod: z.boolean().nullish(),\n});\n\nexport const ProfileSchema = z\n .object({\n id: z.string().nullish(),\n name: z.string().nullish(),\n user: z.number().int().nullish(),\n referral: z.string().nullish(),\n createdBy: z.number().int().nullish(),\n updatedBy: z.number().int().nullish(),\n createdAt: IsoDateTimeStringSchema.nullish(),\n updatedAt: IsoDateTimeStringSchema.nullish(),\n utmSource: z.string().nullish(),\n utmMedium: z.string().nullish(),\n utmCampaign: z.string().nullish(),\n utmContent: z.string().nullish(),\n utmTerm: z.string().nullish(),\n walletActivated: z.boolean().nullish(),\n pseudonym: z.string().nullish(),\n displayUsernamePublic: z.boolean().nullish(),\n profileImage: z.string().nullish(),\n bio: z.string().nullish(),\n proxyWallet: z.string().nullish(),\n profileImageOptimized: ImageOptimizationSchema.nullish(),\n isCloseOnly: z.boolean().nullish(),\n isCertReq: z.boolean().nullish(),\n certReqDate: IsoDateTimeStringSchema.nullish(),\n discordUsername: z.string().nullish(),\n xUsername: z.string().nullish(),\n verifiedBadge: z.boolean().nullish(),\n dubPartnerId: z.string().nullish(),\n termsAcceptedAt: IsoDateTimeStringSchema.nullish(),\n viewOnlyAcknowledgedAt: IsoDateTimeStringSchema.nullish(),\n isReferralRestricted: z.boolean().nullish(),\n })\n .transform(({ proxyWallet, ...rest }) => ({\n ...rest,\n wallet: proxyWallet,\n }));\n\nexport const PublicProfileSchema = z\n .object({\n createdAt: IsoDateTimeStringSchema.nullish(),\n proxyWallet: EvmAddressSchema.nullish(),\n profileImage: z.string().nullish(),\n displayUsernamePublic: z.boolean().nullish(),\n bio: z.string().nullish(),\n pseudonym: z.string().nullish(),\n name: z.string().nullish(),\n users: z.array(PublicProfileUserSchema).nullish(),\n xUsername: z.string().nullish(),\n verifiedBadge: z.boolean().nullish(),\n })\n .transform(({ proxyWallet, ...rest }) => ({\n ...rest,\n wallet: proxyWallet,\n }));\n\nexport type PublicProfile = z.infer<typeof PublicProfileSchema>;\nexport type Profile = z.infer<typeof ProfileSchema>;\nexport type PublicProfileUser = z.infer<typeof PublicProfileUserSchema>;\n","import { z } from 'zod';\nimport { TagIdSchema } from '../shared';\nimport { EventSchema } from './event';\nimport { ProfileSchema } from './profile';\n\nexport const SearchTagSchema = z\n .object({\n id: TagIdSchema,\n event_count: z.number().int().nullish(),\n label: z.string().nullish(),\n slug: z.string().nullish(),\n })\n .transform(({ event_count, ...rest }) => ({\n ...rest,\n eventCount: event_count,\n }));\n\nexport const SearchPaginationSchema = z.object({\n hasMore: z.boolean().nullish(),\n totalResults: z.number().int().nullish(),\n});\n\nexport const PublicSearchResponseSchema = z.object({\n events: z.array(EventSchema).nullish(),\n tags: z.array(SearchTagSchema).nullish(),\n profiles: z.array(ProfileSchema).nullish(),\n pagination: SearchPaginationSchema.nullish(),\n});\n\nexport type SearchTag = z.infer<typeof SearchTagSchema>;\nexport type SearchPagination = z.infer<typeof SearchPaginationSchema>;\nexport type PublicSearchResponse = z.infer<typeof PublicSearchResponseSchema>;\n","import { z } from 'zod';\nimport { TagIdSchema } from '../shared';\nimport { TagReferenceSchema } from './common';\nimport { TemplateReferenceSchema } from './event';\n\nexport const TagSchema = TagReferenceSchema.extend({\n templates: z.array(TemplateReferenceSchema).nullish(),\n});\n\nexport const RelatedTagSchema = z\n .object({\n id: z.string(),\n tagID: z.number().int().nullish(),\n relatedTagID: z.number().int().nullish(),\n rank: z.number().int().nullish(),\n })\n .transform(({ tagID, relatedTagID, ...rest }) => ({\n ...rest,\n tagId: tagID,\n relatedTagId: relatedTagID,\n }));\n\nexport const ListTagsResponseSchema = z.array(TagSchema);\nexport const ListRelatedTagsResponseSchema = z.array(RelatedTagSchema);\nexport const ListRelatedTagResourcesResponseSchema = z.array(TagSchema);\n\nexport type Tag = z.infer<typeof TagSchema>;\nexport type RelatedTag = z.infer<typeof RelatedTagSchema>;\nexport type ListTagsResponse = z.infer<typeof ListTagsResponseSchema>;\nexport type ListRelatedTagsResponse = z.infer<\n typeof ListRelatedTagsResponseSchema\n>;\nexport type ListRelatedTagResourcesResponse = z.infer<\n typeof ListRelatedTagResourcesResponseSchema\n>;\n\nexport { TagIdSchema };\n","import { z } from 'zod';\nimport {\n CollectionReferenceSchema,\n EventSchema,\n SeriesReferenceSchema,\n} from './event';\nimport { TagSchema } from './tag';\n\nexport const SeriesSchema = SeriesReferenceSchema.extend({\n events: z.array(EventSchema).nullish(),\n collections: z.array(CollectionReferenceSchema).nullish(),\n tags: z.array(TagSchema).nullish(),\n});\n\nexport const ListSeriesResponseSchema = z.array(SeriesSchema);\n\nexport type Series = z.infer<typeof SeriesSchema>;\nexport type ListSeriesResponse = z.infer<typeof ListSeriesResponseSchema>;\n","import { z } from 'zod';\n\nexport enum WalletType {\n EOA = 0,\n POLY_PROXY = 1,\n GNOSIS_SAFE = 2,\n DEPOSIT_WALLET = 3,\n}\n\nexport const WalletTypeSchema = z.object({\n type: z.enum(WalletType),\n typeName: z.enum(['EOA', 'POLY_PROXY', 'GNOSIS_SAFE', 'DEPOSIT_WALLET']),\n});\n"]}
1
+ {"version":3,"sources":["../../src/gamma/market-clarification.ts","../../src/gamma/pagination.ts","../../src/gamma/profile.ts","../../src/gamma/search.ts","../../src/gamma/tag.ts","../../src/gamma/series.ts","../../src/gamma/wallet.ts"],"names":["MarketClarificationState","MarketIdFromWireSchema","z","toMarketId","MarketClarificationSchema","EventIdSchema","QuestionIdSchema","EvmAddressSchema","TxHashSchema","IsoDateTimeStringSchema","ListMarketClarificationsResponseSchema","PaginationEnvelopeSchema","PublicProfileUserSchema","ProfileSchema","ImageOptimizationSchema","proxyWallet","rest","PublicProfileSchema","SearchTagSchema","TagIdSchema","event_count","SearchPaginationSchema","PublicSearchResponseSchema","EventSchema","TagSchema","TagReferenceSchema","TemplateReferenceSchema","RelatedTagSchema","tagID","relatedTagID","ListTagsResponseSchema","ListRelatedTagsResponseSchema","ListRelatedTagResourcesResponseSchema","SeriesSchema","SeriesReferenceSchema","CollectionReferenceSchema","ListSeriesResponseSchema","WalletType","WalletTypeSchema"],"mappings":"i6CAWYA,CAAAA,CAAAA,CAAAA,CAAAA,GACVA,CAAAA,CAAA,QAAU,SAAA,CACVA,CAAAA,CAAA,MAAA,CAAS,QAAA,CACTA,EAAA,OAAA,CAAU,SAAA,CACVA,EAAA,MAAA,CAAS,QAAA,CACTA,EAAA,SAAA,CAAY,WAAA,CALFA,CAAAA,CAAAA,EAAAA,CAAAA,EAAA,EAAA,CAAA,CAUNC,EAAyBC,GAAAA,CAC5B,KAAA,CAAM,CAACA,GAAAA,CAAE,MAAA,GAAUA,GAAAA,CAAE,MAAA,GAAS,GAAA,EAAI,CAAE,UAAU,MAAM,CAAC,CAAC,CAAA,CACtD,SAAA,CAAUC,CAAU,CAAA,CAEVC,CAAAA,CAA4BF,GAAAA,CAAE,MAAA,CAAO,CAChD,EAAA,CAAIA,GAAAA,CAAE,QAAO,CAAE,GAAA,GACf,QAAA,CAAUD,CAAAA,CAAuB,SAAQ,CACzC,OAAA,CAASI,GAAc,OAAA,EAAQ,CAC/B,WAAYC,EAAAA,CAAiB,OAAA,GAC7B,OAAA,CAASJ,GAAAA,CAAE,MAAA,EAAO,CAAE,SA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AA,CAC1CO,EAAAA,CAAgC7B,IAAE,KAAA,CAAMyB,CAAgB,EACxDK,EAAAA,CAAwC9B,GAAAA,CAAE,MAAMsB,CAAS,MChBzDS,CAAAA,CAAeC,GAAAA,CAAsB,OAAO,CACvD,MAAA,CAAQhC,IAAE,KAAA,CAAMqB,CAAW,CAAA,CAAE,OAAA,GAC7B,WAAA,CAAarB,GAAAA,CAAE,MAAMiC,CAAyB,CAAA,CAAE,SAAQ,CACxD,IAAA,CAAMjC,IAAE,KAAA,CAAMsB,CAAS,EAAE,OAAA,EAC3B,CAAC,CAAA,CAEYY,EAAAA,CAA2BlC,IAAE,KAAA,CAAM+B,CAAY,MCZhDI,CAAAA,CAAAA,CAAAA,CAAAA,GACVA,CAAAA,CAAAA,CAAAA,CAAA,IAAM,CAAA,CAAA,CAAN,KAAA,CACAA,IAAA,UAAA,CAAa,CAAA,CAAA,CAAb,aACAA,CAAAA,CAAAA,CAAAA,CAAA,WAAA,CAAc,GAAd,aAAA,CACAA,CAAAA,CAAAA,CAAAA,CAAA,eAAiB,CAAA,CAAA,CAAjB,gBAAA,CAJUA,CAAAA,CAAAA,EAAAA,CAAAA,EAAA,EAAA,CAAA,CAOCC,GAAmBpC,GAAAA,CAAE,MAAA,CAAO,CACvC,IAAA,CAAMA,GAAAA,CAAE,KAAKmC,CAAU,CAAA,CACvB,SAAUnC,GAAAA,CAAE,IAAA,CAAK,CAAC,KAAA,CAAO,YAAA,CAAc,cAAe,gBAAgB,CAAC,CACzE,CAAC","file":"index.js","sourcesContent":["import { z } from 'zod';\nimport {\n EventIdSchema,\n EvmAddressSchema,\n IsoDateTimeStringSchema,\n QuestionIdSchema,\n TxHashSchema,\n toMarketId,\n} from '../shared';\n\n/** Lifecycle state of a clarification as it is scheduled and posted on-chain. */\nexport enum MarketClarificationState {\n Pending = 'pending',\n Queued = 'queued',\n Success = 'success',\n Failed = 'failed',\n Cancelled = 'cancelled',\n}\n\n// The upstream payload returns `marketId` as a JSON number, but the `MarketId`\n// brand is string-valued, so accept number-or-string here (mirrors `EventIdSchema`).\nconst MarketIdFromWireSchema = z\n .union([z.string(), z.number().int().transform(String)])\n .transform(toMarketId);\n\nexport const MarketClarificationSchema = z.object({\n id: z.number().int(),\n marketId: MarketIdFromWireSchema.nullish(),\n eventId: EventIdSchema.nullish(),\n questionId: QuestionIdSchema.nullish(),\n content: z.string().nullish(),\n state: z.enum(MarketClarificationState).nullish(),\n clearBook: z.boolean().nullish(),\n notifyDiscord: z.boolean().nullish(),\n showInFrontend: z.boolean().nullish(),\n adapterAddress: EvmAddressSchema.nullish(),\n negRiskRequestId: z.string().nullish(),\n txHash: TxHashSchema.nullish(),\n createdAt: IsoDateTimeStringSchema.nullish(),\n queuedAt: IsoDateTimeStringSchema.nullish(),\n scheduledFor: IsoDateTimeStringSchema.nullish(),\n txTimestamp: IsoDateTimeStringSchema.nullish(),\n});\n\nexport const ListMarketClarificationsResponseSchema = z.array(\n MarketClarificationSchema,\n);\n\nexport type MarketClarification = z.infer<typeof MarketClarificationSchema>;\nexport type ListMarketClarificationsResponse = z.infer<\n typeof ListMarketClarificationsResponseSchema\n>;\n","import { z } from 'zod';\n\nexport const PaginationEnvelopeSchema = z.object({\n hasMore: z.boolean().nullish(),\n totalResults: z.number().int().nullish(),\n});\n\nexport type PaginationEnvelope = z.infer<typeof PaginationEnvelopeSchema>;\n","import { z } from 'zod';\nimport { EvmAddressSchema, IsoDateTimeStringSchema } from '../shared';\nimport { ImageOptimizationSchema } from './common';\n\nexport const PublicProfileUserSchema = z.object({\n id: z.string(),\n communityMod: z.boolean().nullish(),\n creator: z.boolean().nullish(),\n mod: z.boolean().nullish(),\n});\n\nexport const ProfileSchema = z\n .object({\n id: z.string().nullish(),\n name: z.string().nullish(),\n user: z.number().int().nullish(),\n referral: z.string().nullish(),\n createdBy: z.number().int().nullish(),\n updatedBy: z.number().int().nullish(),\n createdAt: IsoDateTimeStringSchema.nullish(),\n updatedAt: IsoDateTimeStringSchema.nullish(),\n utmSource: z.string().nullish(),\n utmMedium: z.string().nullish(),\n utmCampaign: z.string().nullish(),\n utmContent: z.string().nullish(),\n utmTerm: z.string().nullish(),\n walletActivated: z.boolean().nullish(),\n pseudonym: z.string().nullish(),\n displayUsernamePublic: z.boolean().nullish(),\n profileImage: z.string().nullish(),\n bio: z.string().nullish(),\n proxyWallet: z.string().nullish(),\n profileImageOptimized: ImageOptimizationSchema.nullish(),\n isCloseOnly: z.boolean().nullish(),\n isCertReq: z.boolean().nullish(),\n certReqDate: IsoDateTimeStringSchema.nullish(),\n discordUsername: z.string().nullish(),\n xUsername: z.string().nullish(),\n verifiedBadge: z.boolean().nullish(),\n dubPartnerId: z.string().nullish(),\n termsAcceptedAt: IsoDateTimeStringSchema.nullish(),\n viewOnlyAcknowledgedAt: IsoDateTimeStringSchema.nullish(),\n isReferralRestricted: z.boolean().nullish(),\n })\n .transform(({ proxyWallet, ...rest }) => ({\n ...rest,\n wallet: proxyWallet,\n }));\n\nexport const PublicProfileSchema = z\n .object({\n createdAt: IsoDateTimeStringSchema.nullish(),\n proxyWallet: EvmAddressSchema.nullish(),\n profileImage: z.string().nullish(),\n displayUsernamePublic: z.boolean().nullish(),\n bio: z.string().nullish(),\n pseudonym: z.string().nullish(),\n name: z.string().nullish(),\n users: z.array(PublicProfileUserSchema).nullish(),\n xUsername: z.string().nullish(),\n verifiedBadge: z.boolean().nullish(),\n })\n .transform(({ proxyWallet, ...rest }) => ({\n ...rest,\n wallet: proxyWallet,\n }));\n\nexport type PublicProfile = z.infer<typeof PublicProfileSchema>;\nexport type Profile = z.infer<typeof ProfileSchema>;\nexport type PublicProfileUser = z.infer<typeof PublicProfileUserSchema>;\n","import { z } from 'zod';\nimport { TagIdSchema } from '../shared';\nimport { EventSchema } from './event';\nimport { ProfileSchema } from './profile';\n\nexport const SearchTagSchema = z\n .object({\n id: TagIdSchema,\n event_count: z.number().int().nullish(),\n label: z.string().nullish(),\n slug: z.string().nullish(),\n })\n .transform(({ event_count, ...rest }) => ({\n ...rest,\n eventCount: event_count,\n }));\n\nexport const SearchPaginationSchema = z.object({\n hasMore: z.boolean().nullish(),\n totalResults: z.number().int().nullish(),\n});\n\nexport const PublicSearchResponseSchema = z.object({\n events: z.array(EventSchema).nullish(),\n tags: z.array(SearchTagSchema).nullish(),\n profiles: z.array(ProfileSchema).nullish(),\n pagination: SearchPaginationSchema.nullish(),\n});\n\nexport type SearchTag = z.infer<typeof SearchTagSchema>;\nexport type SearchPagination = z.infer<typeof SearchPaginationSchema>;\nexport type PublicSearchResponse = z.infer<typeof PublicSearchResponseSchema>;\n","import { z } from 'zod';\nimport { TagIdSchema } from '../shared';\nimport { TagReferenceSchema } from './common';\nimport { TemplateReferenceSchema } from './event';\n\nexport const TagSchema = TagReferenceSchema.extend({\n templates: z.array(TemplateReferenceSchema).nullish(),\n});\n\nexport const RelatedTagSchema = z\n .object({\n id: z.string(),\n tagID: z.number().int().nullish(),\n relatedTagID: z.number().int().nullish(),\n rank: z.number().int().nullish(),\n })\n .transform(({ tagID, relatedTagID, ...rest }) => ({\n ...rest,\n tagId: tagID,\n relatedTagId: relatedTagID,\n }));\n\nexport const ListTagsResponseSchema = z.array(TagSchema);\nexport const ListRelatedTagsResponseSchema = z.array(RelatedTagSchema);\nexport const ListRelatedTagResourcesResponseSchema = z.array(TagSchema);\n\nexport type Tag = z.infer<typeof TagSchema>;\nexport type RelatedTag = z.infer<typeof RelatedTagSchema>;\nexport type ListTagsResponse = z.infer<typeof ListTagsResponseSchema>;\nexport type ListRelatedTagsResponse = z.infer<\n typeof ListRelatedTagsResponseSchema\n>;\nexport type ListRelatedTagResourcesResponse = z.infer<\n typeof ListRelatedTagResourcesResponseSchema\n>;\n\nexport { TagIdSchema };\n","import { z } from 'zod';\nimport {\n CollectionReferenceSchema,\n EventSchema,\n SeriesReferenceSchema,\n} from './event';\nimport { TagSchema } from './tag';\n\nexport const SeriesSchema = SeriesReferenceSchema.extend({\n events: z.array(EventSchema).nullish(),\n collections: z.array(CollectionReferenceSchema).nullish(),\n tags: z.array(TagSchema).nullish(),\n});\n\nexport const ListSeriesResponseSchema = z.array(SeriesSchema);\n\nexport type Series = z.infer<typeof SeriesSchema>;\nexport type ListSeriesResponse = z.infer<typeof ListSeriesResponseSchema>;\n","import { z } from 'zod';\n\nexport enum WalletType {\n EOA = 0,\n POLY_PROXY = 1,\n GNOSIS_SAFE = 2,\n DEPOSIT_WALLET = 3,\n}\n\nexport const WalletTypeSchema = z.object({\n type: z.enum(WalletType),\n typeName: z.enum(['EOA', 'POLY_PROXY', 'GNOSIS_SAFE', 'DEPOSIT_WALLET']),\n});\n"]}
package/dist/index.d.ts CHANGED
@@ -201,6 +201,12 @@ type TickSizeValue = z.output<typeof TickSizeValueSchema>;
201
201
  * with `.nullish()` when the field can also be absent.
202
202
  */
203
203
  declare function emptyStringToNull(value: unknown): unknown;
204
+ /**
205
+ * Preprocess helper for upstream fields that omit missing values or serialize
206
+ * them as empty strings. Normalizes `''` to `undefined` so the field can parse
207
+ * as `Schema.optional()`.
208
+ */
209
+ declare function emptyStringToUndefined(value: unknown): unknown;
204
210
  /**
205
211
  * Optional decimal field whose upstream serialization uses an empty string
206
212
  * for missing values. Normalizes `''` to `null` so consumers never receive
@@ -208,4 +214,4 @@ declare function emptyStringToNull(value: unknown): unknown;
208
214
  */
209
215
  declare const OptionalDecimalStringSchema: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>>>>;
210
216
 
211
- export { type ApiKey, ApiKeySchema, type BaseUnits, BaseUnitsSchema, type BestLineId, type BuilderCode, BuilderCodeSchema, type CategoryId, CategoryIdSchema, type ChatId, type ClobAssetId, ClobAssetIdSchema, type ClobRewardId, ClobRewardIdSchema, type CollectionId, type ComboActivityId, ComboActivityIdSchema, type ComboConditionId, ComboConditionIdSchema, type CommentId, CommentIdSchema, CommentParentEntityType, CommentParentEntityTypeSchema, type ConditionId, ConditionIdResponseSchema, ConditionIdSchema, type CtfConditionId, DateLikeToIsoDateTimeStringSchema, type DecimalString, DecimalStringSchema, DecimalishSchema, E6BigIntStringToDecimalStringSchema, EpochLikeToIsoDateTimeStringSchema, type EpochMilliseconds, EpochMillisecondsSchema, EpochMillisecondsStringSchema, EpochMillisecondsToIsoDateTimeStringSchema, EpochSecondsToMillisecondsSchema, type EventCreatorId, type EventExternalPartnerMappingId, type EventId, EventIdSchema, EvmAddressSchema, ISOCalendarDateSchema, type ISOCalendarDateString, type ISODateString, ISODateStringSchema, type ImageOptimizationId, ImageOptimizationIdSchema, type InternalUserId, InternalUserIdSchema, type IsoCalendarDateString, IsoCalendarDateStringSchema, type IsoDateTimeString, IsoDateTimeStringSchema, type MarketId, MarketIdSchema, type MixedDateTimeString, MixedDateTimeStringSchema, type NotificationId, NotificationIdSchema, OptionalDateLikeToIsoDateTimeStringSchema, OptionalDecimalStringSchema, OptionalEpochLikeToIsoDateTimeStringSchema, OptionalEpochMillisecondsToIsoDateTimeStringSchema, type OrderId, OrderIdSchema, OrderSide, OrderSideSchema, OrderType, OrderTypeSchema, type PaginationCursor, PaginationCursorSchema, type PartnerId, type PositionId, PositionIdSchema, PositiveDecimalNumberSchema, type QuestionId, QuestionIdSchema, type ResolutionRequestId, ResolutionRequestIdSchema, type RfqId, RfqIdSchema, type RfqQuoteId, RfqQuoteIdSchema, type RfqRequestorPublicId, RfqRequestorPublicIdSchema, type SeriesId, SessionSignerKnownScope, type SessionSignerScope, SessionSignerScopeSchema, type SportId, type TagId, TagIdSchema, type TeamId, type TemplateId, type TickSizeValue, TickSizeValueSchema, type TokenId, TokenIdSchema, TradeStatus, TradeStatusSchema, type TransactionId, TransactionIdSchema, TxHashSchema, type Uuid, emptyStringToNull, toApiKey, toBaseUnits, toBestLineId, toBuilderCode, toCategoryId, toChatId, toClobRewardId, toCollectionId, toComboActivityId, toComboConditionId, toCommentId, toConditionId, toDecimalString, toEpochMilliseconds, toEventCreatorId, toEventExternalPartnerMappingId, toEventId, toImageOptimizationId, toInternalUserId, toIsoCalendarDateString, toIsoDateTimeString, toMarketId, toMixedDateTimeString, toNotificationId, toOrderId, toPaginationCursor, toPartnerId, toPositionId, toQuestionId, toResolutionRequestId, toRfqId, toRfqQuoteId, toRfqRequestorPublicId, toSeriesId, toSportId, toTagId, toTeamId, toTemplateId, toTokenId, toTransactionId, toUuid };
217
+ export { type ApiKey, ApiKeySchema, type BaseUnits, BaseUnitsSchema, type BestLineId, type BuilderCode, BuilderCodeSchema, type CategoryId, CategoryIdSchema, type ChatId, type ClobAssetId, ClobAssetIdSchema, type ClobRewardId, ClobRewardIdSchema, type CollectionId, type ComboActivityId, ComboActivityIdSchema, type ComboConditionId, ComboConditionIdSchema, type CommentId, CommentIdSchema, CommentParentEntityType, CommentParentEntityTypeSchema, type ConditionId, ConditionIdResponseSchema, ConditionIdSchema, type CtfConditionId, DateLikeToIsoDateTimeStringSchema, type DecimalString, DecimalStringSchema, DecimalishSchema, E6BigIntStringToDecimalStringSchema, EpochLikeToIsoDateTimeStringSchema, type EpochMilliseconds, EpochMillisecondsSchema, EpochMillisecondsStringSchema, EpochMillisecondsToIsoDateTimeStringSchema, EpochSecondsToMillisecondsSchema, type EventCreatorId, type EventExternalPartnerMappingId, type EventId, EventIdSchema, EvmAddressSchema, ISOCalendarDateSchema, type ISOCalendarDateString, type ISODateString, ISODateStringSchema, type ImageOptimizationId, ImageOptimizationIdSchema, type InternalUserId, InternalUserIdSchema, type IsoCalendarDateString, IsoCalendarDateStringSchema, type IsoDateTimeString, IsoDateTimeStringSchema, type MarketId, MarketIdSchema, type MixedDateTimeString, MixedDateTimeStringSchema, type NotificationId, NotificationIdSchema, OptionalDateLikeToIsoDateTimeStringSchema, OptionalDecimalStringSchema, OptionalEpochLikeToIsoDateTimeStringSchema, OptionalEpochMillisecondsToIsoDateTimeStringSchema, type OrderId, OrderIdSchema, OrderSide, OrderSideSchema, OrderType, OrderTypeSchema, type PaginationCursor, PaginationCursorSchema, type PartnerId, type PositionId, PositionIdSchema, PositiveDecimalNumberSchema, type QuestionId, QuestionIdSchema, type ResolutionRequestId, ResolutionRequestIdSchema, type RfqId, RfqIdSchema, type RfqQuoteId, RfqQuoteIdSchema, type RfqRequestorPublicId, RfqRequestorPublicIdSchema, type SeriesId, SessionSignerKnownScope, type SessionSignerScope, SessionSignerScopeSchema, type SportId, type TagId, TagIdSchema, type TeamId, type TemplateId, type TickSizeValue, TickSizeValueSchema, type TokenId, TokenIdSchema, TradeStatus, TradeStatusSchema, type TransactionId, TransactionIdSchema, TxHashSchema, type Uuid, emptyStringToNull, emptyStringToUndefined, toApiKey, toBaseUnits, toBestLineId, toBuilderCode, toCategoryId, toChatId, toClobRewardId, toCollectionId, toComboActivityId, toComboConditionId, toCommentId, toConditionId, toDecimalString, toEpochMilliseconds, toEventCreatorId, toEventExternalPartnerMappingId, toEventId, toImageOptimizationId, toInternalUserId, toIsoCalendarDateString, toIsoDateTimeString, toMarketId, toMixedDateTimeString, toNotificationId, toOrderId, toPaginationCursor, toPartnerId, toPositionId, toQuestionId, toResolutionRequestId, toRfqId, toRfqQuoteId, toRfqRequestorPublicId, toSeriesId, toSportId, toTagId, toTeamId, toTemplateId, toTokenId, toTransactionId, toUuid };
package/dist/index.js CHANGED
@@ -1,2 +1,2 @@
1
- export{W as ApiKeySchema,Sa as BaseUnitsSchema,X as BuilderCodeSchema,V as CategoryIdSchema,Ea as ClobAssetIdSchema,Y as ClobRewardIdSchema,_ as ComboActivityIdSchema,$ as ComboConditionIdSchema,Z as CommentIdSchema,a as CommentParentEntityType,xa as CommentParentEntityTypeSchema,ba as ConditionIdResponseSchema,aa as ConditionIdSchema,ga as DateLikeToIsoDateTimeStringSchema,Oa as DecimalStringSchema,Qa as DecimalishSchema,Pa as E6BigIntStringToDecimalStringSchema,ha as EpochLikeToIsoDateTimeStringSchema,da as EpochMillisecondsSchema,fa as EpochMillisecondsStringSchema,ka as EpochMillisecondsToIsoDateTimeStringSchema,ea as EpochSecondsToMillisecondsSchema,ma as EventIdSchema,ca as EvmAddressSchema,sa as ISOCalendarDateSchema,ra as ISODateStringSchema,ta as ImageOptimizationIdSchema,ua as InternalUserIdSchema,pa as IsoCalendarDateStringSchema,oa as IsoDateTimeStringSchema,va as MarketIdSchema,qa as MixedDateTimeStringSchema,wa as NotificationIdSchema,ia as OptionalDateLikeToIsoDateTimeStringSchema,Ua as OptionalDecimalStringSchema,ja as OptionalEpochLikeToIsoDateTimeStringSchema,la as OptionalEpochMillisecondsToIsoDateTimeStringSchema,ya as OrderIdSchema,b as OrderSide,za as OrderSideSchema,c as OrderType,Aa as OrderTypeSchema,Ca as PaginationCursorSchema,Da as PositionIdSchema,Ra as PositiveDecimalNumberSchema,Fa as QuestionIdSchema,Ga as ResolutionRequestIdSchema,Ha as RfqIdSchema,Ia as RfqQuoteIdSchema,Ja as RfqRequestorPublicIdSchema,e as SessionSignerKnownScope,f as SessionSignerScopeSchema,Ka as TagIdSchema,na as TickSizeValueSchema,La as TokenIdSchema,d as TradeStatus,Ba as TradeStatusSchema,Ma as TransactionIdSchema,Na as TxHashSchema,Ta as emptyStringToNull,j as toApiKey,U as toBaseUnits,g as toBestLineId,h as toBuilderCode,k as toCategoryId,l as toChatId,m as toClobRewardId,r as toCollectionId,o as toComboActivityId,q as toComboConditionId,n as toCommentId,p as toConditionId,T as toDecimalString,u as toEpochMilliseconds,s as toEventCreatorId,t as toEventExternalPartnerMappingId,v as toEventId,w as toImageOptimizationId,x as toInternalUserId,y as toIsoCalendarDateString,z as toIsoDateTimeString,B as toMarketId,A as toMixedDateTimeString,C as toNotificationId,D as toOrderId,F as toPaginationCursor,E as toPartnerId,G as toPositionId,H as toQuestionId,I as toResolutionRequestId,J as toRfqId,K as toRfqQuoteId,L as toRfqRequestorPublicId,M as toSeriesId,N as toSportId,O as toTagId,P as toTeamId,Q as toTemplateId,S as toTokenId,R as toTransactionId,i as toUuid}from'./chunk-RGWF46B7.js';//# sourceMappingURL=index.js.map
1
+ export{W as ApiKeySchema,Sa as BaseUnitsSchema,X as BuilderCodeSchema,V as CategoryIdSchema,Ea as ClobAssetIdSchema,Y as ClobRewardIdSchema,_ as ComboActivityIdSchema,$ as ComboConditionIdSchema,Z as CommentIdSchema,a as CommentParentEntityType,xa as CommentParentEntityTypeSchema,ba as ConditionIdResponseSchema,aa as ConditionIdSchema,ga as DateLikeToIsoDateTimeStringSchema,Oa as DecimalStringSchema,Qa as DecimalishSchema,Pa as E6BigIntStringToDecimalStringSchema,ha as EpochLikeToIsoDateTimeStringSchema,da as EpochMillisecondsSchema,fa as EpochMillisecondsStringSchema,ka as EpochMillisecondsToIsoDateTimeStringSchema,ea as EpochSecondsToMillisecondsSchema,ma as EventIdSchema,ca as EvmAddressSchema,sa as ISOCalendarDateSchema,ra as ISODateStringSchema,ta as ImageOptimizationIdSchema,ua as InternalUserIdSchema,pa as IsoCalendarDateStringSchema,oa as IsoDateTimeStringSchema,va as MarketIdSchema,qa as MixedDateTimeStringSchema,wa as NotificationIdSchema,ia as OptionalDateLikeToIsoDateTimeStringSchema,Va as OptionalDecimalStringSchema,ja as OptionalEpochLikeToIsoDateTimeStringSchema,la as OptionalEpochMillisecondsToIsoDateTimeStringSchema,ya as OrderIdSchema,b as OrderSide,za as OrderSideSchema,c as OrderType,Aa as OrderTypeSchema,Ca as PaginationCursorSchema,Da as PositionIdSchema,Ra as PositiveDecimalNumberSchema,Fa as QuestionIdSchema,Ga as ResolutionRequestIdSchema,Ha as RfqIdSchema,Ia as RfqQuoteIdSchema,Ja as RfqRequestorPublicIdSchema,e as SessionSignerKnownScope,f as SessionSignerScopeSchema,Ka as TagIdSchema,na as TickSizeValueSchema,La as TokenIdSchema,d as TradeStatus,Ba as TradeStatusSchema,Ma as TransactionIdSchema,Na as TxHashSchema,Ta as emptyStringToNull,Ua as emptyStringToUndefined,j as toApiKey,U as toBaseUnits,g as toBestLineId,h as toBuilderCode,k as toCategoryId,l as toChatId,m as toClobRewardId,r as toCollectionId,o as toComboActivityId,q as toComboConditionId,n as toCommentId,p as toConditionId,T as toDecimalString,u as toEpochMilliseconds,s as toEventCreatorId,t as toEventExternalPartnerMappingId,v as toEventId,w as toImageOptimizationId,x as toInternalUserId,y as toIsoCalendarDateString,z as toIsoDateTimeString,B as toMarketId,A as toMixedDateTimeString,C as toNotificationId,D as toOrderId,F as toPaginationCursor,E as toPartnerId,G as toPositionId,H as toQuestionId,I as toResolutionRequestId,J as toRfqId,K as toRfqQuoteId,L as toRfqRequestorPublicId,M as toSeriesId,N as toSportId,O as toTagId,P as toTeamId,Q as toTemplateId,S as toTokenId,R as toTransactionId,i as toUuid}from'./chunk-3IZ4N7C2.js';//# sourceMappingURL=index.js.map
2
2
  //# sourceMappingURL=index.js.map