@polyester/sdk 0.36.0-devnet-20261119181946 → 0.36.0-devnet-20261119195411

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.
Files changed (35) hide show
  1. package/CHANGELOG.md +7 -1
  2. package/dist/realtime/client.js +7 -1
  3. package/dist/realtime/client.js.map +1 -1
  4. package/dist/services/account-activity/account-activity.schemas.d.ts +6 -6
  5. package/dist/services/assistant/assistant-events.schemas.d.ts +53 -24
  6. package/dist/services/assistant/assistant-events.schemas.d.ts.map +1 -1
  7. package/dist/services/assistant/assistant.schemas.d.ts +2 -2
  8. package/dist/services/auto-withdraw/auto-withdraw.schemas.d.ts +13 -13
  9. package/dist/services/changelog/changelog.schemas.d.ts +38 -38
  10. package/dist/services/checkpoints/checkpoints.schemas.d.ts +1 -1
  11. package/dist/services/claims/claims.schemas.d.ts +2 -2
  12. package/dist/services/dust-conversion/dust-conversion.schemas.d.ts +6 -6
  13. package/dist/services/heatmap/heatmap.schemas.d.ts +4 -4
  14. package/dist/services/lifecycle/lifecycle.schemas.d.ts +79 -79
  15. package/dist/services/notifications/notifications.schemas.d.ts +4 -4
  16. package/dist/services/orderbook/orderbook.d.ts.map +1 -1
  17. package/dist/services/orderbook/orderbook.js +5 -19
  18. package/dist/services/orderbook/orderbook.js.map +1 -1
  19. package/dist/services/orders/orders-batch.schemas.d.ts +7 -7
  20. package/dist/services/orders/orders-output.schemas.d.ts +6 -6
  21. package/dist/services/policies/api-key-policies/api-key-policies.schemas.d.ts +1 -1
  22. package/dist/services/policies/api-key-policies/api-key-policies.schemas.d.ts.map +1 -1
  23. package/dist/services/policies/api-key-policies/api-key-policies.schemas.js +1 -1
  24. package/dist/services/policies/api-key-policies/api-key-policies.schemas.js.map +1 -1
  25. package/dist/services/price-alerts/price-alerts.schemas.d.ts +11 -11
  26. package/dist/services/rewards/rewards.schemas.d.ts +4 -4
  27. package/dist/services/social-verification/social-verification.schemas.d.ts +2 -2
  28. package/dist/services/statement-exports/statement-exports.schemas.d.ts +6 -6
  29. package/dist/services/subaccounts/subaccounts.schemas.d.ts +3 -3
  30. package/dist/services/system/system.schemas.d.ts +13 -13
  31. package/dist/services/trades/trades.schemas.d.ts +1 -1
  32. package/dist/services/triggers/trigger-input.schemas.d.ts +2 -2
  33. package/dist/services/triggers/triggers-output.schemas.d.ts +28 -28
  34. package/dist/services/vip/vip.schemas.d.ts +3 -3
  35. package/package.json +1 -1
@@ -31,7 +31,7 @@ declare const ListChangelogChangesInputSchema: v.SchemaWithPipe<readonly [v.Stri
31
31
  }, undefined>, v.CheckAction<{
32
32
  categories: ("breaking_change" | "new_feature" | "improvement" | "bug_fix")[];
33
33
  actionRequired?: boolean | undefined;
34
- surfaces: ("assistant" | "api" | "rewards" | "trading" | "funding" | "accounts" | "explorer" | "documentation" | "platform" | "market_data" | "quickswap")[];
34
+ surfaces: ("assistant" | "trading" | "funding" | "accounts" | "api" | "explorer" | "documentation" | "platform" | "market_data" | "quickswap" | "rewards")[];
35
35
  audiences: ("all_users" | "traders" | "market_makers" | "developers")[];
36
36
  startTime?: number | undefined;
37
37
  endTime?: number | undefined;
@@ -42,7 +42,7 @@ declare const ListChangelogChangesInputSchema: v.SchemaWithPipe<readonly [v.Stri
42
42
  }, "endTime: must be after startTime">, v.TransformAction<{
43
43
  categories: ("breaking_change" | "new_feature" | "improvement" | "bug_fix")[];
44
44
  actionRequired?: boolean | undefined;
45
- surfaces: ("assistant" | "api" | "rewards" | "trading" | "funding" | "accounts" | "explorer" | "documentation" | "platform" | "market_data" | "quickswap")[];
45
+ surfaces: ("assistant" | "trading" | "funding" | "accounts" | "api" | "explorer" | "documentation" | "platform" | "market_data" | "quickswap" | "rewards")[];
46
46
  audiences: ("all_users" | "traders" | "market_makers" | "developers")[];
47
47
  startTime?: number | undefined;
48
48
  endTime?: number | undefined;
@@ -77,10 +77,10 @@ declare const ChangelogChangeSchema: v.ObjectSchema<{
77
77
  readonly actionRequired: v.BooleanSchema<undefined>;
78
78
  readonly migrationGuidance: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
79
79
  readonly audiences: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "all_users" | "traders" | "market_makers" | "developers">]>, undefined>, readonly []>;
80
- readonly surfaces: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "assistant" | "api" | "rewards" | "trading" | "funding" | "accounts" | "explorer" | "documentation" | "platform" | "market_data" | "quickswap">]>, undefined>, readonly []>;
80
+ readonly surfaces: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "assistant" | "trading" | "funding" | "accounts" | "api" | "explorer" | "documentation" | "platform" | "market_data" | "quickswap" | "rewards">]>, undefined>, readonly []>;
81
81
  readonly environmentExceptions: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
82
82
  readonly environment: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "devnet" | "testnet" | "mainnet">]>;
83
- readonly availability: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "unavailable" | "pending" | "ahead">]>;
83
+ readonly availability: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "ahead" | "pending" | "unavailable">]>;
84
84
  readonly liveAt: v.SchemaWithPipe<readonly [v.OptionalSchema<v.ObjectSchema<{
85
85
  readonly seconds: v.BigintSchema<undefined>;
86
86
  readonly nanos: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
@@ -95,7 +95,7 @@ type ChangelogChange = v.InferOutput<typeof ChangelogChangeSchema>;
95
95
  declare const ChangelogSectionSchema: v.ObjectSchema<{
96
96
  readonly heading: v.StringSchema<undefined>;
97
97
  readonly summary: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
98
- readonly surface: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "assistant" | "api" | "rewards" | "trading" | "funding" | "accounts" | "explorer" | "documentation" | "platform" | "market_data" | "quickswap">]>;
98
+ readonly surface: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "assistant" | "trading" | "funding" | "accounts" | "api" | "explorer" | "documentation" | "platform" | "market_data" | "quickswap" | "rewards">]>;
99
99
  readonly changes: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
100
100
  readonly id: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
101
101
  readonly title: v.StringSchema<undefined>;
@@ -105,10 +105,10 @@ declare const ChangelogSectionSchema: v.ObjectSchema<{
105
105
  readonly actionRequired: v.BooleanSchema<undefined>;
106
106
  readonly migrationGuidance: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
107
107
  readonly audiences: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "all_users" | "traders" | "market_makers" | "developers">]>, undefined>, readonly []>;
108
- readonly surfaces: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "assistant" | "api" | "rewards" | "trading" | "funding" | "accounts" | "explorer" | "documentation" | "platform" | "market_data" | "quickswap">]>, undefined>, readonly []>;
108
+ readonly surfaces: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "assistant" | "trading" | "funding" | "accounts" | "api" | "explorer" | "documentation" | "platform" | "market_data" | "quickswap" | "rewards">]>, undefined>, readonly []>;
109
109
  readonly environmentExceptions: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
110
110
  readonly environment: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "devnet" | "testnet" | "mainnet">]>;
111
- readonly availability: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "unavailable" | "pending" | "ahead">]>;
111
+ readonly availability: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "ahead" | "pending" | "unavailable">]>;
112
112
  readonly liveAt: v.SchemaWithPipe<readonly [v.OptionalSchema<v.ObjectSchema<{
113
113
  readonly seconds: v.BigintSchema<undefined>;
114
114
  readonly nanos: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
@@ -283,7 +283,7 @@ declare const ChangelogPostSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
283
283
  readonly sections: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
284
284
  readonly heading: v.StringSchema<undefined>;
285
285
  readonly summary: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
286
- readonly surface: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "assistant" | "api" | "rewards" | "trading" | "funding" | "accounts" | "explorer" | "documentation" | "platform" | "market_data" | "quickswap">]>;
286
+ readonly surface: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "assistant" | "trading" | "funding" | "accounts" | "api" | "explorer" | "documentation" | "platform" | "market_data" | "quickswap" | "rewards">]>;
287
287
  readonly changes: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
288
288
  readonly id: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
289
289
  readonly title: v.StringSchema<undefined>;
@@ -293,10 +293,10 @@ declare const ChangelogPostSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
293
293
  readonly actionRequired: v.BooleanSchema<undefined>;
294
294
  readonly migrationGuidance: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
295
295
  readonly audiences: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "all_users" | "traders" | "market_makers" | "developers">]>, undefined>, readonly []>;
296
- readonly surfaces: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "assistant" | "api" | "rewards" | "trading" | "funding" | "accounts" | "explorer" | "documentation" | "platform" | "market_data" | "quickswap">]>, undefined>, readonly []>;
296
+ readonly surfaces: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "assistant" | "trading" | "funding" | "accounts" | "api" | "explorer" | "documentation" | "platform" | "market_data" | "quickswap" | "rewards">]>, undefined>, readonly []>;
297
297
  readonly environmentExceptions: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
298
298
  readonly environment: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "devnet" | "testnet" | "mainnet">]>;
299
- readonly availability: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "unavailable" | "pending" | "ahead">]>;
299
+ readonly availability: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "ahead" | "pending" | "unavailable">]>;
300
300
  readonly liveAt: v.SchemaWithPipe<readonly [v.OptionalSchema<v.ObjectSchema<{
301
301
  readonly seconds: v.BigintSchema<undefined>;
302
302
  readonly nanos: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
@@ -332,7 +332,7 @@ declare const ChangelogPostSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
332
332
  sections: {
333
333
  heading: string;
334
334
  summary?: string | undefined;
335
- surface: "unspecified" | "assistant" | "api" | "rewards" | "trading" | "funding" | "accounts" | "explorer" | "documentation" | "platform" | "market_data" | "quickswap";
335
+ surface: "unspecified" | "assistant" | "trading" | "funding" | "accounts" | "api" | "explorer" | "documentation" | "platform" | "market_data" | "quickswap" | "rewards";
336
336
  changes: {
337
337
  id: string;
338
338
  title: string;
@@ -342,10 +342,10 @@ declare const ChangelogPostSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
342
342
  actionRequired: boolean;
343
343
  migrationGuidance?: string | undefined;
344
344
  audiences: ("unspecified" | "all_users" | "traders" | "market_makers" | "developers")[];
345
- surfaces: ("unspecified" | "assistant" | "api" | "rewards" | "trading" | "funding" | "accounts" | "explorer" | "documentation" | "platform" | "market_data" | "quickswap")[];
345
+ surfaces: ("unspecified" | "assistant" | "trading" | "funding" | "accounts" | "api" | "explorer" | "documentation" | "platform" | "market_data" | "quickswap" | "rewards")[];
346
346
  environmentExceptions: {
347
347
  environment: "unspecified" | "devnet" | "testnet" | "mainnet";
348
- availability: "unspecified" | "unavailable" | "pending" | "ahead";
348
+ availability: "unspecified" | "ahead" | "pending" | "unavailable";
349
349
  liveAt?: number | undefined;
350
350
  }[];
351
351
  }[];
@@ -354,7 +354,7 @@ declare const ChangelogPostSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
354
354
  sections: {
355
355
  heading: string;
356
356
  summary?: string | undefined;
357
- surface: "unspecified" | "assistant" | "api" | "rewards" | "trading" | "funding" | "accounts" | "explorer" | "documentation" | "platform" | "market_data" | "quickswap";
357
+ surface: "unspecified" | "assistant" | "trading" | "funding" | "accounts" | "api" | "explorer" | "documentation" | "platform" | "market_data" | "quickswap" | "rewards";
358
358
  changes: {
359
359
  id: string;
360
360
  title: string;
@@ -364,10 +364,10 @@ declare const ChangelogPostSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
364
364
  actionRequired: boolean;
365
365
  migrationGuidance?: string | undefined;
366
366
  audiences: ("unspecified" | "all_users" | "traders" | "market_makers" | "developers")[];
367
- surfaces: ("unspecified" | "assistant" | "api" | "rewards" | "trading" | "funding" | "accounts" | "explorer" | "documentation" | "platform" | "market_data" | "quickswap")[];
367
+ surfaces: ("unspecified" | "assistant" | "trading" | "funding" | "accounts" | "api" | "explorer" | "documentation" | "platform" | "market_data" | "quickswap" | "rewards")[];
368
368
  environmentExceptions: {
369
369
  environment: "unspecified" | "devnet" | "testnet" | "mainnet";
370
- availability: "unspecified" | "unavailable" | "pending" | "ahead";
370
+ availability: "unspecified" | "ahead" | "pending" | "unavailable";
371
371
  liveAt?: number | undefined;
372
372
  }[];
373
373
  }[];
@@ -403,10 +403,10 @@ declare const ChangelogChangeEntrySchema: v.SchemaWithPipe<readonly [v.ObjectSch
403
403
  readonly actionRequired: v.BooleanSchema<undefined>;
404
404
  readonly migrationGuidance: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
405
405
  readonly audiences: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "all_users" | "traders" | "market_makers" | "developers">]>, undefined>, readonly []>;
406
- readonly surfaces: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "assistant" | "api" | "rewards" | "trading" | "funding" | "accounts" | "explorer" | "documentation" | "platform" | "market_data" | "quickswap">]>, undefined>, readonly []>;
406
+ readonly surfaces: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "assistant" | "trading" | "funding" | "accounts" | "api" | "explorer" | "documentation" | "platform" | "market_data" | "quickswap" | "rewards">]>, undefined>, readonly []>;
407
407
  readonly environmentExceptions: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
408
408
  readonly environment: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "devnet" | "testnet" | "mainnet">]>;
409
- readonly availability: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "unavailable" | "pending" | "ahead">]>;
409
+ readonly availability: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "ahead" | "pending" | "unavailable">]>;
410
410
  readonly liveAt: v.SchemaWithPipe<readonly [v.OptionalSchema<v.ObjectSchema<{
411
411
  readonly seconds: v.BigintSchema<undefined>;
412
412
  readonly nanos: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
@@ -435,10 +435,10 @@ declare const ChangelogChangeEntrySchema: v.SchemaWithPipe<readonly [v.ObjectSch
435
435
  actionRequired: boolean;
436
436
  migrationGuidance?: string | undefined;
437
437
  audiences: ("unspecified" | "all_users" | "traders" | "market_makers" | "developers")[];
438
- surfaces: ("unspecified" | "assistant" | "api" | "rewards" | "trading" | "funding" | "accounts" | "explorer" | "documentation" | "platform" | "market_data" | "quickswap")[];
438
+ surfaces: ("unspecified" | "assistant" | "trading" | "funding" | "accounts" | "api" | "explorer" | "documentation" | "platform" | "market_data" | "quickswap" | "rewards")[];
439
439
  environmentExceptions: {
440
440
  environment: "unspecified" | "devnet" | "testnet" | "mainnet";
441
- availability: "unspecified" | "unavailable" | "pending" | "ahead";
441
+ availability: "unspecified" | "ahead" | "pending" | "unavailable";
442
442
  liveAt?: number | undefined;
443
443
  }[];
444
444
  };
@@ -457,10 +457,10 @@ declare const ChangelogChangeEntrySchema: v.SchemaWithPipe<readonly [v.ObjectSch
457
457
  actionRequired: boolean;
458
458
  migrationGuidance?: string | undefined;
459
459
  audiences: ("unspecified" | "all_users" | "traders" | "market_makers" | "developers")[];
460
- surfaces: ("unspecified" | "assistant" | "api" | "rewards" | "trading" | "funding" | "accounts" | "explorer" | "documentation" | "platform" | "market_data" | "quickswap")[];
460
+ surfaces: ("unspecified" | "assistant" | "trading" | "funding" | "accounts" | "api" | "explorer" | "documentation" | "platform" | "market_data" | "quickswap" | "rewards")[];
461
461
  environmentExceptions: {
462
462
  environment: "unspecified" | "devnet" | "testnet" | "mainnet";
463
- availability: "unspecified" | "unavailable" | "pending" | "ahead";
463
+ availability: "unspecified" | "ahead" | "pending" | "unavailable";
464
464
  liveAt?: number | undefined;
465
465
  }[];
466
466
  }>]>;
@@ -477,10 +477,10 @@ declare const ListChangelogChangesResultSchema: v.ObjectSchema<{
477
477
  readonly actionRequired: v.BooleanSchema<undefined>;
478
478
  readonly migrationGuidance: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
479
479
  readonly audiences: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "all_users" | "traders" | "market_makers" | "developers">]>, undefined>, readonly []>;
480
- readonly surfaces: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "assistant" | "api" | "rewards" | "trading" | "funding" | "accounts" | "explorer" | "documentation" | "platform" | "market_data" | "quickswap">]>, undefined>, readonly []>;
480
+ readonly surfaces: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "assistant" | "trading" | "funding" | "accounts" | "api" | "explorer" | "documentation" | "platform" | "market_data" | "quickswap" | "rewards">]>, undefined>, readonly []>;
481
481
  readonly environmentExceptions: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
482
482
  readonly environment: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "devnet" | "testnet" | "mainnet">]>;
483
- readonly availability: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "unavailable" | "pending" | "ahead">]>;
483
+ readonly availability: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "ahead" | "pending" | "unavailable">]>;
484
484
  readonly liveAt: v.SchemaWithPipe<readonly [v.OptionalSchema<v.ObjectSchema<{
485
485
  readonly seconds: v.BigintSchema<undefined>;
486
486
  readonly nanos: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
@@ -509,10 +509,10 @@ declare const ListChangelogChangesResultSchema: v.ObjectSchema<{
509
509
  actionRequired: boolean;
510
510
  migrationGuidance?: string | undefined;
511
511
  audiences: ("unspecified" | "all_users" | "traders" | "market_makers" | "developers")[];
512
- surfaces: ("unspecified" | "assistant" | "api" | "rewards" | "trading" | "funding" | "accounts" | "explorer" | "documentation" | "platform" | "market_data" | "quickswap")[];
512
+ surfaces: ("unspecified" | "assistant" | "trading" | "funding" | "accounts" | "api" | "explorer" | "documentation" | "platform" | "market_data" | "quickswap" | "rewards")[];
513
513
  environmentExceptions: {
514
514
  environment: "unspecified" | "devnet" | "testnet" | "mainnet";
515
- availability: "unspecified" | "unavailable" | "pending" | "ahead";
515
+ availability: "unspecified" | "ahead" | "pending" | "unavailable";
516
516
  liveAt?: number | undefined;
517
517
  }[];
518
518
  };
@@ -531,10 +531,10 @@ declare const ListChangelogChangesResultSchema: v.ObjectSchema<{
531
531
  actionRequired: boolean;
532
532
  migrationGuidance?: string | undefined;
533
533
  audiences: ("unspecified" | "all_users" | "traders" | "market_makers" | "developers")[];
534
- surfaces: ("unspecified" | "assistant" | "api" | "rewards" | "trading" | "funding" | "accounts" | "explorer" | "documentation" | "platform" | "market_data" | "quickswap")[];
534
+ surfaces: ("unspecified" | "assistant" | "trading" | "funding" | "accounts" | "api" | "explorer" | "documentation" | "platform" | "market_data" | "quickswap" | "rewards")[];
535
535
  environmentExceptions: {
536
536
  environment: "unspecified" | "devnet" | "testnet" | "mainnet";
537
- availability: "unspecified" | "unavailable" | "pending" | "ahead";
537
+ availability: "unspecified" | "ahead" | "pending" | "unavailable";
538
538
  liveAt?: number | undefined;
539
539
  }[];
540
540
  }>]>, undefined>, readonly []>;
@@ -683,10 +683,10 @@ declare const ChangelogDeploymentGroupSchema: v.SchemaWithPipe<readonly [v.Objec
683
683
  readonly actionRequired: v.BooleanSchema<undefined>;
684
684
  readonly migrationGuidance: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
685
685
  readonly audiences: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "all_users" | "traders" | "market_makers" | "developers">]>, undefined>, readonly []>;
686
- readonly surfaces: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "assistant" | "api" | "rewards" | "trading" | "funding" | "accounts" | "explorer" | "documentation" | "platform" | "market_data" | "quickswap">]>, undefined>, readonly []>;
686
+ readonly surfaces: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "assistant" | "trading" | "funding" | "accounts" | "api" | "explorer" | "documentation" | "platform" | "market_data" | "quickswap" | "rewards">]>, undefined>, readonly []>;
687
687
  readonly environmentExceptions: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
688
688
  readonly environment: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "devnet" | "testnet" | "mainnet">]>;
689
- readonly availability: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "unavailable" | "pending" | "ahead">]>;
689
+ readonly availability: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "ahead" | "pending" | "unavailable">]>;
690
690
  readonly liveAt: v.SchemaWithPipe<readonly [v.OptionalSchema<v.ObjectSchema<{
691
691
  readonly seconds: v.BigintSchema<undefined>;
692
692
  readonly nanos: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
@@ -708,10 +708,10 @@ declare const ChangelogDeploymentGroupSchema: v.SchemaWithPipe<readonly [v.Objec
708
708
  actionRequired: boolean;
709
709
  migrationGuidance?: string | undefined;
710
710
  audiences: ("unspecified" | "all_users" | "traders" | "market_makers" | "developers")[];
711
- surfaces: ("unspecified" | "assistant" | "api" | "rewards" | "trading" | "funding" | "accounts" | "explorer" | "documentation" | "platform" | "market_data" | "quickswap")[];
711
+ surfaces: ("unspecified" | "assistant" | "trading" | "funding" | "accounts" | "api" | "explorer" | "documentation" | "platform" | "market_data" | "quickswap" | "rewards")[];
712
712
  environmentExceptions: {
713
713
  environment: "unspecified" | "devnet" | "testnet" | "mainnet";
714
- availability: "unspecified" | "unavailable" | "pending" | "ahead";
714
+ availability: "unspecified" | "ahead" | "pending" | "unavailable";
715
715
  liveAt?: number | undefined;
716
716
  }[];
717
717
  };
@@ -728,10 +728,10 @@ declare const ChangelogDeploymentGroupSchema: v.SchemaWithPipe<readonly [v.Objec
728
728
  actionRequired: boolean;
729
729
  migrationGuidance?: string | undefined;
730
730
  audiences: ("unspecified" | "all_users" | "traders" | "market_makers" | "developers")[];
731
- surfaces: ("unspecified" | "assistant" | "api" | "rewards" | "trading" | "funding" | "accounts" | "explorer" | "documentation" | "platform" | "market_data" | "quickswap")[];
731
+ surfaces: ("unspecified" | "assistant" | "trading" | "funding" | "accounts" | "api" | "explorer" | "documentation" | "platform" | "market_data" | "quickswap" | "rewards")[];
732
732
  environmentExceptions: {
733
733
  environment: "unspecified" | "devnet" | "testnet" | "mainnet";
734
- availability: "unspecified" | "unavailable" | "pending" | "ahead";
734
+ availability: "unspecified" | "ahead" | "pending" | "unavailable";
735
735
  liveAt?: number | undefined;
736
736
  }[];
737
737
  }>]>, undefined>, readonly []>;
@@ -770,10 +770,10 @@ declare const ChangelogDeploymentGroupSchema: v.SchemaWithPipe<readonly [v.Objec
770
770
  actionRequired: boolean;
771
771
  migrationGuidance?: string | undefined;
772
772
  audiences: ("unspecified" | "all_users" | "traders" | "market_makers" | "developers")[];
773
- surfaces: ("unspecified" | "assistant" | "api" | "rewards" | "trading" | "funding" | "accounts" | "explorer" | "documentation" | "platform" | "market_data" | "quickswap")[];
773
+ surfaces: ("unspecified" | "assistant" | "trading" | "funding" | "accounts" | "api" | "explorer" | "documentation" | "platform" | "market_data" | "quickswap" | "rewards")[];
774
774
  environmentExceptions: {
775
775
  environment: "unspecified" | "devnet" | "testnet" | "mainnet";
776
- availability: "unspecified" | "unavailable" | "pending" | "ahead";
776
+ availability: "unspecified" | "ahead" | "pending" | "unavailable";
777
777
  liveAt?: number | undefined;
778
778
  }[];
779
779
  }[];
@@ -794,10 +794,10 @@ declare const ChangelogDeploymentGroupSchema: v.SchemaWithPipe<readonly [v.Objec
794
794
  actionRequired: boolean;
795
795
  migrationGuidance?: string | undefined;
796
796
  audiences: ("unspecified" | "all_users" | "traders" | "market_makers" | "developers")[];
797
- surfaces: ("unspecified" | "assistant" | "api" | "rewards" | "trading" | "funding" | "accounts" | "explorer" | "documentation" | "platform" | "market_data" | "quickswap")[];
797
+ surfaces: ("unspecified" | "assistant" | "trading" | "funding" | "accounts" | "api" | "explorer" | "documentation" | "platform" | "market_data" | "quickswap" | "rewards")[];
798
798
  environmentExceptions: {
799
799
  environment: "unspecified" | "devnet" | "testnet" | "mainnet";
800
- availability: "unspecified" | "unavailable" | "pending" | "ahead";
800
+ availability: "unspecified" | "ahead" | "pending" | "unavailable";
801
801
  liveAt?: number | undefined;
802
802
  }[];
803
803
  }[];
@@ -427,7 +427,7 @@ declare const CheckpointSchema: v.ObjectSchema<{
427
427
  readonly seasonResultUsd: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
428
428
  readonly subaccounts: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.MaxValueAction<bigint, bigint, undefined>, v.TransformAction<any, number>]>;
429
429
  /** Values computed from partial evidence; show them with an approximation marker. */
430
- readonly incomplete: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "transfers" | "deposits" | "withdrawals" | "volume" | "tools" | "top_pairs" | "order_types" | "time_in_force" | "order_status" | "median_limit_rest" | "internal_transfers" | "daily_claim_amounts" | "portfolio_value" | "trading_balances" | "funding_balances" | "season_result">]>, undefined>, readonly []>;
430
+ readonly incomplete: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "deposits" | "withdrawals" | "transfers" | "tools" | "volume" | "top_pairs" | "order_types" | "time_in_force" | "order_status" | "median_limit_rest" | "internal_transfers" | "daily_claim_amounts" | "portfolio_value" | "trading_balances" | "funding_balances" | "season_result">]>, undefined>, readonly []>;
431
431
  }, undefined>;
432
432
  /**
433
433
  * One frozen season recap of a root account and all of its subaccounts. An absent USD value
@@ -36,7 +36,7 @@ declare const DailyClaimTransferSchema: v.ObjectSchema<{
36
36
  }, undefined>;
37
37
  type DailyClaimTransfer = v.InferOutput<typeof DailyClaimTransferSchema>;
38
38
  declare const DailyClaimStatusSchema: v.ObjectSchema<{
39
- readonly state: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "available" | "processing" | "claimed" | "unavailable" | "payout_delayed">]>;
39
+ readonly state: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "unavailable" | "processing" | "available" | "claimed" | "payout_delayed">]>;
40
40
  readonly resetAt: v.SchemaWithPipe<readonly [v.OptionalSchema<v.ObjectSchema<{
41
41
  readonly seconds: v.BigintSchema<undefined>;
42
42
  readonly nanos: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
@@ -76,7 +76,7 @@ declare const DailyClaimStatusSchema: v.ObjectSchema<{
76
76
  type DailyClaimStatus = v.InferOutput<typeof DailyClaimStatusSchema>;
77
77
  declare const ClaimDailyRewardResultSchema: v.ObjectSchema<{
78
78
  readonly claimId: v.StringSchema<undefined>;
79
- readonly state: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "available" | "processing" | "claimed" | "unavailable" | "payout_delayed">]>;
79
+ readonly state: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "unavailable" | "processing" | "available" | "claimed" | "payout_delayed">]>;
80
80
  readonly claimedAt: v.SchemaWithPipe<readonly [v.OptionalSchema<v.ObjectSchema<{
81
81
  readonly seconds: v.BigintSchema<undefined>;
82
82
  readonly nanos: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
@@ -147,7 +147,7 @@ type DustAssetPrice = v.InferOutput<typeof DustAssetPriceSchema>;
147
147
  declare const DustConversionSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
148
148
  readonly conversionId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
149
149
  readonly quoteId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
150
- readonly state: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "processing" | "completed" | "refused">]>;
150
+ readonly state: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "completed" | "processing" | "refused">]>;
151
151
  readonly refusalCode: v.NumberSchema<undefined>;
152
152
  readonly targetAssetId: v.NumberSchema<undefined>;
153
153
  readonly sources: v.ArraySchema<v.ObjectSchema<{
@@ -187,7 +187,7 @@ declare const DustConversionSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
187
187
  }, undefined>, v.TransformAction<{
188
188
  conversionId: string;
189
189
  quoteId: string;
190
- state: "unspecified" | "processing" | "completed" | "refused";
190
+ state: "unspecified" | "completed" | "processing" | "refused";
191
191
  refusalCode: number;
192
192
  targetAssetId: number;
193
193
  sources: {
@@ -216,7 +216,7 @@ declare const DustConversionSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
216
216
  conversionId: string;
217
217
  /** The quote the conversion converted. */
218
218
  quoteId: string;
219
- state: "unspecified" | "processing" | "completed" | "refused";
219
+ state: "unspecified" | "completed" | "processing" | "refused";
220
220
  /** Why a `refused` conversion was refused; null otherwise. */
221
221
  refusalCode: "UNSPECIFIED" | "UNAUTHENTICATED" | "RATE_LIMIT_EXCEEDED" | "CONFLICT" | "INVALID_REQUEST" | "SERVICE_UNAVAILABLE" | "INTERNAL_ERROR" | "PERMISSION_DENIED" | "FAILED_PRECONDITION" | "SUBACCOUNT_NOT_FOUND" | "INSUFFICIENT_FUNDS" | "INVALID_SUBACCOUNT_ID" | "SOURCE_ACCOUNT_INACTIVE" | "UNSUPPORTED_ASSET" | "INVALID_AMOUNT" | "INVALID_DESTINATION" | "DESTINATION_NOT_FOUND" | "DESTINATION_INACTIVE" | "SAME_SOURCE_DESTINATION" | "DESTINATION_NOT_WHITELISTED" | "SMART_ACCOUNT_UNAVAILABLE" | "STEP_UP_UNAVAILABLE" | "IDEMPOTENCY_CONFLICT" | "FUNDS_LOCK_CONFLICT" | "CAPITAL_VIEW_UNAVAILABLE" | "ACCOUNT_SHARD_UNAVAILABLE" | "POLICY_DENIED" | "NOT_FOUND" | "DUST_QUOTE_EXPIRED" | "DUST_PRICE_MOVED" | "DUST_NOT_ELIGIBLE" | "DUST_WINDOW_ACTIVE" | "DUST_DAILY_LIMIT" | "DUST_BUSY" | "DUST_TARGET_UNAVAILABLE" | "DUST_BALANCE_CHANGED" | "DUST_CONVERSION_FAILED" | "BATCH_TOO_MANY_SOURCES" | null;
222
222
  targetAssetId: number;
@@ -463,7 +463,7 @@ declare const ListDustConversionsResultSchema: v.ObjectSchema<{
463
463
  readonly conversions: v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
464
464
  readonly conversionId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
465
465
  readonly quoteId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
466
- readonly state: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "processing" | "completed" | "refused">]>;
466
+ readonly state: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "completed" | "processing" | "refused">]>;
467
467
  readonly refusalCode: v.NumberSchema<undefined>;
468
468
  readonly targetAssetId: v.NumberSchema<undefined>;
469
469
  readonly sources: v.ArraySchema<v.ObjectSchema<{
@@ -503,7 +503,7 @@ declare const ListDustConversionsResultSchema: v.ObjectSchema<{
503
503
  }, undefined>, v.TransformAction<{
504
504
  conversionId: string;
505
505
  quoteId: string;
506
- state: "unspecified" | "processing" | "completed" | "refused";
506
+ state: "unspecified" | "completed" | "processing" | "refused";
507
507
  refusalCode: number;
508
508
  targetAssetId: number;
509
509
  sources: {
@@ -532,7 +532,7 @@ declare const ListDustConversionsResultSchema: v.ObjectSchema<{
532
532
  conversionId: string;
533
533
  /** The quote the conversion converted. */
534
534
  quoteId: string;
535
- state: "unspecified" | "processing" | "completed" | "refused";
535
+ state: "unspecified" | "completed" | "processing" | "refused";
536
536
  /** Why a `refused` conversion was refused; null otherwise. */
537
537
  refusalCode: "UNSPECIFIED" | "UNAUTHENTICATED" | "RATE_LIMIT_EXCEEDED" | "CONFLICT" | "INVALID_REQUEST" | "SERVICE_UNAVAILABLE" | "INTERNAL_ERROR" | "PERMISSION_DENIED" | "FAILED_PRECONDITION" | "SUBACCOUNT_NOT_FOUND" | "INSUFFICIENT_FUNDS" | "INVALID_SUBACCOUNT_ID" | "SOURCE_ACCOUNT_INACTIVE" | "UNSUPPORTED_ASSET" | "INVALID_AMOUNT" | "INVALID_DESTINATION" | "DESTINATION_NOT_FOUND" | "DESTINATION_INACTIVE" | "SAME_SOURCE_DESTINATION" | "DESTINATION_NOT_WHITELISTED" | "SMART_ACCOUNT_UNAVAILABLE" | "STEP_UP_UNAVAILABLE" | "IDEMPOTENCY_CONFLICT" | "FUNDS_LOCK_CONFLICT" | "CAPITAL_VIEW_UNAVAILABLE" | "ACCOUNT_SHARD_UNAVAILABLE" | "POLICY_DENIED" | "NOT_FOUND" | "DUST_QUOTE_EXPIRED" | "DUST_PRICE_MOVED" | "DUST_NOT_ELIGIBLE" | "DUST_WINDOW_ACTIVE" | "DUST_DAILY_LIMIT" | "DUST_BUSY" | "DUST_TARGET_UNAVAILABLE" | "DUST_BALANCE_CHANGED" | "DUST_CONVERSION_FAILED" | "BATCH_TOO_MANY_SOURCES" | null;
538
538
  targetAssetId: number;
@@ -15,7 +15,7 @@ type TimestampInit = {
15
15
  declare const GetOrderbookHeatmapInputSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
16
16
  readonly symbolId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.GtValueAction<number, 0, undefined>, v.MaxValueAction<number, 4294967295, undefined>]>;
17
17
  readonly interval: v.SchemaWithPipe<readonly [v.OptionalSchema<v.PicklistSchema<readonly ["1s", "1m", "5m", "1h"], undefined>, "1s">, v.TransformAction<"1s" | "1m" | "5m" | "1h", HeatmapInterval>]>;
18
- readonly depth: v.SchemaWithPipe<readonly [v.OptionalSchema<v.PicklistSchema<readonly [1, 5, 10, 20, 50, 100, 200, 500, 1000], undefined>, 50>, v.TransformAction<1 | 5 | 10 | 20 | 200 | 100 | 500 | 1000 | 50, DepthTier>]>;
18
+ readonly depth: v.SchemaWithPipe<readonly [v.OptionalSchema<v.PicklistSchema<readonly [1, 5, 10, 20, 50, 100, 200, 500, 1000], undefined>, 50>, v.TransformAction<1 | 5 | 10 | 20 | 100 | 200 | 500 | 1000 | 50, DepthTier>]>;
19
19
  readonly quantityMode: v.SchemaWithPipe<readonly [v.OptionalSchema<v.PicklistSchema<readonly ["close", "peak"], undefined>, "close">, v.TransformAction<"close" | "peak", HeatmapQuantityMode>]>;
20
20
  readonly limit: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.GtValueAction<number, 0, undefined>, v.MaxValueAction<number, 20000, undefined>]>;
21
21
  readonly startTsSec: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, number, undefined>, v.TransformAction<number, bigint>]>, undefined>;
@@ -228,7 +228,7 @@ type OrderbookHeatmapDeltaChain = ReturnType<typeof convertHeatmapDeltaChain>;
228
228
  declare function createOrderbookHeatmapResponseSchema(scales: SdkScales): v.SchemaWithPipe<readonly [v.ObjectSchema<{
229
229
  readonly symbolId: v.NumberSchema<undefined>;
230
230
  readonly interval: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, DecodedEnum<"1s" | "1m" | "5m" | "1h">>]>;
231
- readonly depth: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, 1 | 5 | 10 | 20 | "unspecified" | 200 | 100 | 500 | 1000 | 50 | 5000>]>;
231
+ readonly depth: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, 1 | 5 | 10 | 20 | "unspecified" | 100 | 200 | 500 | 1000 | 50 | 5000>]>;
232
232
  readonly chain: v.OptionalSchema<v.ObjectSchema<{
233
233
  readonly baseKeyframe: v.OptionalSchema<v.ObjectSchema<{
234
234
  readonly tsSec: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, number>]>;
@@ -288,7 +288,7 @@ declare function createOrderbookHeatmapResponseSchema(scales: SdkScales): v.Sche
288
288
  }, undefined>, v.TransformAction<{
289
289
  symbolId: number;
290
290
  interval: DecodedEnum<"1s" | "1m" | "5m" | "1h">;
291
- depth: 1 | 5 | 10 | 20 | "unspecified" | 200 | 100 | 500 | 1000 | 50 | 5000;
291
+ depth: 1 | 5 | 10 | 20 | "unspecified" | 100 | 200 | 500 | 1000 | 50 | 5000;
292
292
  chain?: {
293
293
  baseKeyframe?: {
294
294
  tsSec: number;
@@ -348,7 +348,7 @@ declare function createOrderbookHeatmapResponseSchema(scales: SdkScales): v.Sche
348
348
  }, {
349
349
  symbolId: number;
350
350
  interval: DecodedEnum<"1s" | "1m" | "5m" | "1h">;
351
- depth: 1 | 5 | 10 | 20 | "unspecified" | 200 | 100 | 500 | 1000 | 50 | 5000;
351
+ depth: 1 | 5 | 10 | 20 | "unspecified" | 100 | 200 | 500 | 1000 | 50 | 5000;
352
352
  chain: {
353
353
  baseKeyframe: {
354
354
  tsSec: number;