@metatrongg/sdk 0.8.0-dev.5f0a52b → 0.8.0-dev.618280

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.
@@ -2,7 +2,7 @@ import * as z from "zod";
2
2
 
3
3
  //#region src/core/dedup.d.ts
4
4
  type InflightDedup = {
5
- readonly run: <T>(key: string, fn: () => Promise<T>) => Promise<T>;
5
+ readonly run: <T>(key: string, function_: () => Promise<T>) => Promise<T>;
6
6
  };
7
7
  declare function createInflightDedup(): InflightDedup;
8
8
  //#endregion
@@ -246,6 +246,7 @@ type OauthPaymentIntentContext = {
246
246
  studioXHandle: string | null;
247
247
  };
248
248
  } | null;
249
+ environment: "development" | "production";
249
250
  };
250
251
  type OauthPaymentIntentSignResponse = {
251
252
  chain: string;
@@ -334,9 +335,16 @@ type PublicAppPage = {
334
335
  chapters: AppPageChapters;
335
336
  links: AppPageLinks;
336
337
  studio: PublicAppPageStudio;
338
+ platforms: AppPagePlatforms;
339
+ gameType: AppPageGameType;
340
+ ageRating: AppPageAgeRating;
341
+ languages: AppPageLanguages;
342
+ releaseStatus: AppPageReleaseStatus;
343
+ paymentsMode: AppPagePaymentsMode;
337
344
  oauthScopes: Array<string>;
338
345
  chains: Array<string>;
339
346
  publishedAt: string;
347
+ updatedAt: string;
340
348
  };
341
349
  type AppPageCategories = Array<"adventure" | "battle_royale" | "board" | "cards" | "casino" | "casual" | "fighting" | "idle" | "mmo" | "moba" | "platformer" | "prediction" | "puzzle" | "racing" | "rhythm" | "roguelike" | "rpg" | "rts" | "sandbox" | "shooter" | "simulation" | "sports" | "strategy" | "survival" | "tools" | "tower_defense" | "visual_novel" | "other">;
342
350
  type AppPageTagline = string;
@@ -359,12 +367,19 @@ type AppPageLink = {
359
367
  order: number;
360
368
  };
361
369
  type PublicAppPageStudio = {
370
+ ownerUserId: string | null;
362
371
  name: string | null;
363
372
  logoUrl: string | null;
364
373
  websiteUrl: string | null;
365
374
  xHandle: string | null;
366
375
  githubUrl: string | null;
367
376
  };
377
+ type AppPagePlatforms = Array<"web" | "ios" | "android" | "pc" | "playstation" | "xbox" | "switch">;
378
+ type AppPageGameType = "single_player" | "multiplayer" | "both" | null;
379
+ type AppPageAgeRating = "everyone" | "13_plus" | "16_plus" | "18_plus" | null;
380
+ type AppPageLanguages = Array<"en" | "es" | "fr" | "de" | "pt" | "it" | "ru" | "ja" | "ko" | "zh" | "hi" | "ar" | "tr" | "vi" | "id" | "th" | "pl" | "nl">;
381
+ type AppPageReleaseStatus = "live" | "open_beta" | "coming_soon";
382
+ type AppPagePaymentsMode = "tron" | "onchain" | "both" | null;
368
383
  type ReviewListResponse = {
369
384
  aggregate: ReviewAggregate;
370
385
  reviews: Array<Review>;
@@ -372,38 +387,49 @@ type ReviewListResponse = {
372
387
  hasMore: boolean;
373
388
  };
374
389
  type ReviewAggregate = {
375
- average: number | null;
376
390
  count: number;
377
- distribution: ReviewDistribution;
378
- };
379
- type ReviewDistribution = {
380
- 1: number;
381
- 2: number;
382
- 3: number;
383
- 4: number;
384
- 5: number;
391
+ recommendedCount: number;
392
+ recommendedPct: number | null;
393
+ summaryLabel: ReviewSummaryLabel;
385
394
  };
395
+ type ReviewSummaryLabel = "overwhelmingly_positive" | "very_positive" | "positive" | "mostly_positive" | "mixed" | "mostly_negative" | "negative" | "overwhelmingly_negative" | null;
386
396
  type Review = {
387
397
  id: string;
388
- rating: ReviewRating;
398
+ recommended: ReviewRecommended;
389
399
  body: ReviewBody;
400
+ reactions: ReviewReactionCounts;
401
+ tippedCents: number;
402
+ commentCount: number;
390
403
  author: ReviewAuthor;
404
+ authorStats: ReviewerStats;
391
405
  developerReply: ReviewReply;
392
406
  createdAt: string;
393
407
  updatedAt: string;
394
408
  };
395
- type ReviewRating = number;
409
+ type ReviewRecommended = boolean;
396
410
  type ReviewBody = string;
411
+ type ReviewReactionCounts = {
412
+ helpful: number;
413
+ unhelpful: number;
414
+ funny: number;
415
+ };
397
416
  type ReviewAuthor = {
417
+ userId: string;
418
+ handle: string | null;
398
419
  name: string | null;
399
420
  avatarUrl: string | null;
400
421
  };
422
+ type ReviewerStats = {
423
+ playtimeSecondsThisGame: number;
424
+ gamesPlayed: number;
425
+ reviewsWritten: number;
426
+ };
401
427
  type ReviewReply = {
402
428
  body: ReviewReplyBody;
403
429
  repliedAt: string;
404
430
  } | null;
405
431
  type ReviewReplyBody = string;
406
- type ReviewSort = "newest" | "oldest" | "highest" | "lowest";
432
+ type ReviewSort = "newest" | "oldest" | "helpful";
407
433
  type MyReviewResponse = {
408
434
  eligible: boolean;
409
435
  eligibleVia: ReviewEligibilityReason;
@@ -413,15 +439,67 @@ type MyReviewResponse = {
413
439
  type ReviewEligibilityReason = "payment" | "reward" | null;
414
440
  type OwnReview = {
415
441
  id: string;
416
- rating: ReviewRating;
442
+ recommended: ReviewRecommended;
417
443
  body: ReviewBody;
418
444
  createdAt: string;
419
445
  updatedAt: string;
420
446
  } | null;
421
447
  type UpsertReviewRequest = {
422
- rating: ReviewRating;
448
+ recommended: ReviewRecommended;
423
449
  body: ReviewBody;
424
450
  };
451
+ type MyReviewReactionsResponse = {
452
+ reactions: Array<MyReviewReaction>;
453
+ };
454
+ type MyReviewReaction = {
455
+ reviewId: string;
456
+ vote: ReviewVote;
457
+ funny: boolean;
458
+ };
459
+ type ReviewVote = "helpful" | "unhelpful" | null;
460
+ type SetReviewReactionResponse = {
461
+ reactions: ReviewReactionCounts;
462
+ vote: ReviewVote;
463
+ funny: boolean;
464
+ };
465
+ type SetReviewReactionRequest = {
466
+ vote: ReviewVote;
467
+ funny: boolean;
468
+ };
469
+ type TipReviewResponse = {
470
+ status: "completed";
471
+ amountCents: number;
472
+ balanceCents: number;
473
+ tippedCents: number;
474
+ };
475
+ type TipReviewRequest = {
476
+ amountCents: number;
477
+ note?: string;
478
+ challengeId?: string;
479
+ signature?: string;
480
+ };
481
+ type ReviewCommentListResponse = {
482
+ comments: Array<ReviewComment>;
483
+ total: number;
484
+ hasMore: boolean;
485
+ };
486
+ type ReviewComment = {
487
+ id: string;
488
+ body: ReviewCommentBody;
489
+ author: ReviewAuthor;
490
+ createdAt: string;
491
+ };
492
+ type ReviewCommentBody = string;
493
+ type CreateReviewCommentResponse = {
494
+ comment: ReviewComment;
495
+ commentCount: number;
496
+ };
497
+ type CreateReviewCommentRequest = {
498
+ body: ReviewCommentBody;
499
+ };
500
+ type DeleteReviewCommentResponse = {
501
+ commentCount: number;
502
+ };
425
503
  type ReviewReplyResponse = {
426
504
  developerReply: ReviewReply;
427
505
  };
@@ -526,8 +604,12 @@ type ActivityRow = ({
526
604
  } & ActivityRowTronPot) | ({
527
605
  kind: "tron_cashout";
528
606
  } & ActivityRowTronCashout) | ({
607
+ kind: "tron_transfer";
608
+ } & ActivityRowTronTransfer) | ({
529
609
  kind: "referral_earning";
530
- } & ActivityRowReferralEarning);
610
+ } & ActivityRowReferralEarning) | ({
611
+ kind: "nft_charge";
612
+ } & ActivityRowNftCharge);
531
613
  type ActivityRowPayment = {
532
614
  kind: "payment";
533
615
  groupId: string | null;
@@ -773,6 +855,8 @@ type ActivityRowTronPot = {
773
855
  role: "incoming" | "outgoing";
774
856
  leg: "stake" | "payout" | "dev_cut" | "purchase" | "referral";
775
857
  amountCents: number;
858
+ usdCents: number;
859
+ status: "settled";
776
860
  app: {
777
861
  id: string;
778
862
  name: string;
@@ -780,8 +864,16 @@ type ActivityRowTronPot = {
780
864
  slug: string | null;
781
865
  bannerUrl: string | null;
782
866
  } | null;
867
+ involvedUsers?: Array<ActivityTronInvolvedUser> | null;
783
868
  metadata?: PaymentMetadata | null;
784
869
  };
870
+ type ActivityTronInvolvedUser = {
871
+ userId: string;
872
+ handle: string | null;
873
+ displayName: string | null;
874
+ role: "stake" | "payout" | "dev_cut" | "purchase" | "referral";
875
+ amountCents: number;
876
+ };
785
877
  type ActivityRowTronCashout = {
786
878
  kind: "tron_cashout";
787
879
  groupId: string | null;
@@ -799,6 +891,20 @@ type ActivityRowTronCashout = {
799
891
  rejectionReason: string | null;
800
892
  settledAt: string | null;
801
893
  };
894
+ type ActivityRowTronTransfer = {
895
+ kind: "tron_transfer";
896
+ groupId: string | null;
897
+ id: string;
898
+ occurredAt: string;
899
+ role: "incoming" | "outgoing";
900
+ amountCents: number;
901
+ usdCents: number;
902
+ status: "settled";
903
+ counterpartyUserId: string | null;
904
+ counterpartyHandle: string | null;
905
+ counterpartyDisplayName: string | null;
906
+ note: string | null;
907
+ };
802
908
  type ActivityRowReferralEarning = {
803
909
  kind: "referral_earning";
804
910
  groupId: string | null;
@@ -815,6 +921,22 @@ type ActivityRowReferralEarning = {
815
921
  logIndex: number;
816
922
  usdCents: number | null;
817
923
  };
924
+ type ActivityRowNftCharge = {
925
+ kind: "nft_charge";
926
+ groupId: string | null;
927
+ id: string;
928
+ occurredAt: string;
929
+ role: "outgoing";
930
+ chargeKind: "registration" | "mint" | "transfer_gas";
931
+ amountCents: number;
932
+ usdCents: number;
933
+ status: "settled";
934
+ collectionAddress: string | null;
935
+ tokenId: string | null;
936
+ counterpartyUserId: string | null;
937
+ counterpartyHandle: string | null;
938
+ counterpartyDisplayName: string | null;
939
+ };
818
940
  type OutstandingResponse = {
819
941
  rows: Array<OutstandingByToken>;
820
942
  };
@@ -864,7 +986,7 @@ type TronLedgerResponse = {
864
986
  };
865
987
  type TronLedgerEntry = {
866
988
  id: string;
867
- kind: "deposit" | "pot_stake" | "pot_payout" | "dev_earning" | "cashout_hold" | "cashout_release" | "dispute_freeze" | "dispute_unfreeze" | "hosted_billing" | "store_purchase" | "referral_earning";
989
+ kind: "deposit" | "pot_stake" | "pot_payout" | "dev_earning" | "cashout_hold" | "cashout_release" | "dispute_freeze" | "dispute_unfreeze" | "hosted_billing" | "store_purchase" | "referral_earning" | "peer_transfer" | "nft_registration" | "nft_mint" | "nft_gas";
868
990
  amountCents: number;
869
991
  currency: string;
870
992
  createdAt: string;
@@ -879,6 +1001,45 @@ type TronDepositResponse = {
879
1001
  type TronDepositRequest = {
880
1002
  amountCents: number;
881
1003
  };
1004
+ type TronTransferResponse = {
1005
+ status: "completed";
1006
+ amountCents: number;
1007
+ balanceCents: number;
1008
+ recipient: {
1009
+ userId: string;
1010
+ handle: string | null;
1011
+ displayName: string | null;
1012
+ };
1013
+ };
1014
+ type TronTransferRequest = {
1015
+ recipientUserId: string;
1016
+ amountCents: number;
1017
+ note?: string;
1018
+ challengeId?: string;
1019
+ signature?: string;
1020
+ threadId?: string;
1021
+ };
1022
+ type TronSecuritySetting = {
1023
+ requireSignature: boolean;
1024
+ };
1025
+ type TronTransferChallengeResponse = ({
1026
+ required: false;
1027
+ } & TronTransferChallengeNotRequired) | ({
1028
+ required: true;
1029
+ } & TronTransferChallengeRequired);
1030
+ type TronTransferChallengeNotRequired = {
1031
+ required: false;
1032
+ };
1033
+ type TronTransferChallengeRequired = {
1034
+ required: true;
1035
+ challengeId: string;
1036
+ message: string;
1037
+ expiresAt: string;
1038
+ };
1039
+ type TronTransferChallengeRequest = {
1040
+ recipientUserId: string;
1041
+ amountCents: number;
1042
+ };
882
1043
  type TronConnectOnboardingResponse = {
883
1044
  url: string;
884
1045
  };
@@ -1045,6 +1206,7 @@ type ThreadLastMessagePreview = {
1045
1206
  url: string;
1046
1207
  count: number;
1047
1208
  } | null;
1209
+ transaction?: MessageTransactionTronTransfer | MessageTransactionNftTransfer | null;
1048
1210
  sentAt: string;
1049
1211
  } | null;
1050
1212
  type MessageEnvelope = {
@@ -1056,6 +1218,19 @@ type MessageEnvelope = {
1056
1218
  iv: string;
1057
1219
  ct: string;
1058
1220
  } | null;
1221
+ type MessageTransactionTronTransfer = {
1222
+ kind: "tron_transfer";
1223
+ amountCents: number;
1224
+ recipientUserId: string;
1225
+ };
1226
+ type MessageTransactionNftTransfer = {
1227
+ kind: "nft_transfer";
1228
+ recipientUserId: string;
1229
+ collectionAddress: string;
1230
+ tokenId: string;
1231
+ amount: string;
1232
+ itemName: string | null;
1233
+ };
1059
1234
  type GroupThreadSummary = {
1060
1235
  kind: "group";
1061
1236
  id: string;
@@ -1102,6 +1277,7 @@ type MessageItem = {
1102
1277
  id: string;
1103
1278
  threadId: string;
1104
1279
  senderUserId: string;
1280
+ transaction?: MessageTransactionTronTransfer | MessageTransactionNftTransfer | null;
1105
1281
  body: string;
1106
1282
  envelope?: MessageEnvelope;
1107
1283
  sentAt: string;
@@ -1313,11 +1489,45 @@ type InventoryHolding = {
1313
1489
  tokenId: string;
1314
1490
  amount: string;
1315
1491
  name: string | null;
1492
+ description: string | null;
1316
1493
  imageAssetId: string | null;
1317
1494
  bannerAssetId: string | null;
1318
1495
  devMetadata: {
1319
1496
  [key: string]: unknown;
1320
1497
  };
1498
+ appId: string | null;
1499
+ appName: string | null;
1500
+ appLogoUrl: string | null;
1501
+ };
1502
+ type InventoryPendingPermitListResponse = {
1503
+ permits: Array<InventoryPendingPermit>;
1504
+ };
1505
+ type InventoryPendingPermit = {
1506
+ id: string;
1507
+ appId: string;
1508
+ itemId: string;
1509
+ amount: string;
1510
+ priceCents: number | null;
1511
+ gasSponsored: boolean;
1512
+ environment: "development" | "production";
1513
+ createdAt: string;
1514
+ tokenId: string;
1515
+ name: string | null;
1516
+ description: string | null;
1517
+ imageAssetId: string | null;
1518
+ chain: string;
1519
+ collectionAddress: string;
1520
+ kind: "erc721" | "erc1155";
1521
+ };
1522
+ type InventoryPermitRedeemResult = {
1523
+ mint: MintRequestResult;
1524
+ charge: {
1525
+ currency: "tron";
1526
+ gasCents: number;
1527
+ priceCents: number;
1528
+ totalCents: number;
1529
+ gasPaidBy: "user" | "developer";
1530
+ };
1321
1531
  };
1322
1532
  type MintRequestResult = {
1323
1533
  mintRequestId: string;
@@ -1333,6 +1543,247 @@ type MintRequestInput = {
1333
1543
  tokenId?: string;
1334
1544
  amount?: string;
1335
1545
  };
1546
+ type InventoryCollectionListResponse = {
1547
+ collections: Array<InventoryCollectionSummary>;
1548
+ };
1549
+ type InventoryCollectionSummary = {
1550
+ id: string;
1551
+ chain: string;
1552
+ collectionAddress: string;
1553
+ kind: "erc721" | "erc1155";
1554
+ name: string | null;
1555
+ environment: "development" | "production";
1556
+ };
1557
+ type InventoryRegistrationQuote = {
1558
+ itemCount: number;
1559
+ baselineUsdCents: number;
1560
+ gasUsdCents: number;
1561
+ tron: {
1562
+ baselineCents: number;
1563
+ gasCents: number;
1564
+ totalCents: number;
1565
+ };
1566
+ eth: {
1567
+ baselineWei: string;
1568
+ gasWei: string;
1569
+ totalWei: string;
1570
+ };
1571
+ };
1572
+ type InventoryItemRegistrationInput = {
1573
+ collectionAddress: string;
1574
+ chain: string;
1575
+ items: Array<InventoryItemRegistrationSpec>;
1576
+ };
1577
+ type InventoryItemRegistrationSpec = {
1578
+ name?: string | null;
1579
+ description?: string | null;
1580
+ devMetadata?: {
1581
+ [key: string]: unknown;
1582
+ };
1583
+ supplyType?: InventorySupplyType;
1584
+ maxSupply?: string | null;
1585
+ active?: boolean;
1586
+ };
1587
+ type InventorySupplyType = "capped" | "flexible" | "unlimited";
1588
+ type InventoryItemRegistrationResult = {
1589
+ items: Array<InventoryItemRecord>;
1590
+ charge: {
1591
+ currency: "tron";
1592
+ amountCents: number;
1593
+ baselineCents: number;
1594
+ gasCents: number;
1595
+ addItemTxHash: string;
1596
+ };
1597
+ };
1598
+ type InventoryItemRecord = {
1599
+ id: string;
1600
+ collectionId: string;
1601
+ collectionAddress: string;
1602
+ chain: string;
1603
+ kind: "erc721" | "erc1155";
1604
+ tokenId: string;
1605
+ name: string | null;
1606
+ description: string | null;
1607
+ imageAssetId: string | null;
1608
+ bannerAssetId: string | null;
1609
+ devMetadata: {
1610
+ [key: string]: unknown;
1611
+ };
1612
+ supplyType: InventorySupplyType | null;
1613
+ maxSupply: string | null;
1614
+ active: boolean;
1615
+ };
1616
+ type InventoryItemListResponse = {
1617
+ items: Array<InventoryItemRecord>;
1618
+ };
1619
+ type InventoryMintPermitRecord = {
1620
+ id: string;
1621
+ appId: string;
1622
+ itemId: string;
1623
+ userId: string;
1624
+ amount: string;
1625
+ priceCents: number | null;
1626
+ gasSponsored: boolean;
1627
+ status: "pending" | "redeemed" | "revoked";
1628
+ createdAt: string;
1629
+ };
1630
+ type InventoryMintPermitCreateInput = {
1631
+ toUserId: string;
1632
+ amount?: string;
1633
+ priceCents?: number | null;
1634
+ gasSponsored?: boolean;
1635
+ };
1636
+ type InventoryItemHoldersResponse = {
1637
+ stats: InventoryItemStats;
1638
+ holders: Array<InventoryItemHolder>;
1639
+ };
1640
+ type InventoryItemStats = {
1641
+ holderCount: number;
1642
+ walletCount: number;
1643
+ totalHeld: string;
1644
+ };
1645
+ type InventoryItemHolder = {
1646
+ walletAddress: string;
1647
+ userId: string | null;
1648
+ amount: string;
1649
+ };
1650
+ type InventoryVaultPermitRecord = {
1651
+ id: string;
1652
+ appId: string;
1653
+ itemId: string;
1654
+ userId: string;
1655
+ direction: "vault_in" | "withdraw";
1656
+ lockKind: "vault" | "burn" | null;
1657
+ amount: string;
1658
+ gasSponsored: boolean;
1659
+ status: "pending" | "redeemed" | "revoked";
1660
+ custodyId: string | null;
1661
+ createdAt: string;
1662
+ };
1663
+ type InventoryVaultPermitCreateInput = {
1664
+ toUserId: string;
1665
+ lockKind: "vault" | "burn";
1666
+ amount?: string;
1667
+ gasSponsored?: boolean;
1668
+ };
1669
+ type InventoryWithdrawPermitCreateInput = {
1670
+ custodyId: string;
1671
+ };
1672
+ type InventoryPendingVaultPermitListResponse = {
1673
+ permits: Array<InventoryPendingVaultPermit>;
1674
+ };
1675
+ type InventoryPendingVaultPermit = {
1676
+ id: string;
1677
+ appId: string;
1678
+ itemId: string;
1679
+ direction: "vault_in" | "withdraw";
1680
+ lockKind: "vault" | "burn" | null;
1681
+ amount: string;
1682
+ gasSponsored: boolean;
1683
+ environment: "development" | "production";
1684
+ custodyId: string | null;
1685
+ createdAt: string;
1686
+ tokenId: string;
1687
+ name: string | null;
1688
+ description: string | null;
1689
+ imageAssetId: string | null;
1690
+ chain: string;
1691
+ collectionAddress: string;
1692
+ kind: "erc721" | "erc1155";
1693
+ };
1694
+ type InventorySignedVaultPermit = {
1695
+ permitId: string;
1696
+ direction: "vault_in" | "withdraw";
1697
+ vault: string;
1698
+ collection: string;
1699
+ user: string;
1700
+ tokenId: string;
1701
+ amount: string;
1702
+ lockKind: "vault" | "burn" | null;
1703
+ destination: string | null;
1704
+ deadline: number;
1705
+ signature: string;
1706
+ };
1707
+ type InventoryRelayedVaultQuoteResponse = {
1708
+ direction: "vault_in" | "withdraw";
1709
+ collection: string;
1710
+ vault: string;
1711
+ chainId: number;
1712
+ user: string;
1713
+ tokenId: string;
1714
+ amount: string;
1715
+ nonce: string | null;
1716
+ deadline: number;
1717
+ feeCents: number;
1718
+ gasWei: string;
1719
+ gasPaidBy: "developer" | "user";
1720
+ requiresUserSignature: boolean;
1721
+ };
1722
+ type InventoryRelayedVaultSubmitResponse = {
1723
+ ok: boolean;
1724
+ txHash: string;
1725
+ chargedCents: number;
1726
+ gasPaidBy: "developer" | "user";
1727
+ };
1728
+ type InventoryRelayedVaultSubmitRequest = {
1729
+ userSignature?: string;
1730
+ deadline?: number;
1731
+ };
1732
+ type InventoryNftTransferQuoteResponse = {
1733
+ collection: string;
1734
+ chainId: number;
1735
+ from: string;
1736
+ to: string;
1737
+ tokenId: string;
1738
+ amount: string;
1739
+ nonce: string;
1740
+ deadline: number;
1741
+ feeCents: number;
1742
+ gasWei: string;
1743
+ selfPayAvailable: boolean;
1744
+ };
1745
+ type InventoryNftTransferQuoteRequest = {
1746
+ toUserId: string;
1747
+ collection: string;
1748
+ tokenId: string;
1749
+ amount?: string;
1750
+ };
1751
+ type InventoryNftTransferResponse = {
1752
+ ok: boolean;
1753
+ txHash: string;
1754
+ chargedCents: number;
1755
+ };
1756
+ type InventoryNftTransferRequest = {
1757
+ toUserId: string;
1758
+ collection: string;
1759
+ tokenId: string;
1760
+ amount?: string;
1761
+ deadline: number;
1762
+ userSignature: string;
1763
+ threadId?: string;
1764
+ };
1765
+ type InventoryVaultCustodyListResponse = {
1766
+ custody: Array<InventoryVaultCustody>;
1767
+ };
1768
+ type InventoryVaultCustody = {
1769
+ id: string;
1770
+ collectionId: string;
1771
+ collectionAddress: string;
1772
+ chain: string;
1773
+ kind: "erc721" | "erc1155";
1774
+ tokenId: string;
1775
+ amount: string;
1776
+ lockKind: "vault" | "burn";
1777
+ vaultAddress: string;
1778
+ createdAt: string;
1779
+ name: string | null;
1780
+ description: string | null;
1781
+ imageAssetId: string | null;
1782
+ };
1783
+ type InventoryVaultForceWithdrawResponse = {
1784
+ ok: boolean;
1785
+ txHash: string;
1786
+ };
1336
1787
  type NotificationListResponse = {
1337
1788
  notifications: Array<NotificationItem>;
1338
1789
  unreadCount: number;
@@ -1500,7 +1951,7 @@ type ProfileRecentReview = {
1500
1951
  appId: string;
1501
1952
  appName: string;
1502
1953
  appLogoUrl: string | null;
1503
- rating: number;
1954
+ recommended: boolean;
1504
1955
  body: string;
1505
1956
  createdAt: string;
1506
1957
  };
@@ -1856,6 +2307,11 @@ type AppPageDraft = {
1856
2307
  gallery: AppPageGallery;
1857
2308
  chapters: AppPageChapters;
1858
2309
  links: AppPageLinks;
2310
+ platforms: AppPagePlatforms;
2311
+ gameType: AppPageGameType;
2312
+ ageRating: AppPageAgeRating;
2313
+ languages: AppPageLanguages;
2314
+ releaseStatus: AppPageReleaseStatus;
1859
2315
  firstPublishedAt: string | null;
1860
2316
  reviewedAt: string | null;
1861
2317
  reviewNotes: string | null;
@@ -1878,6 +2334,11 @@ type UpdateAppPage = {
1878
2334
  gallery?: AppPageGallery;
1879
2335
  chapters?: AppPageChapters;
1880
2336
  links?: AppPageLinks;
2337
+ platforms?: AppPagePlatforms;
2338
+ gameType?: AppPageGameType;
2339
+ ageRating?: AppPageAgeRating;
2340
+ languages?: AppPageLanguages;
2341
+ releaseStatus?: AppPageReleaseStatus;
1881
2342
  };
1882
2343
  type AppPageGalleryUploadResponse = {
1883
2344
  url: string;
@@ -2285,229 +2746,235 @@ type PostMeDeveloperAppsByAppIdPageThumbnailVideoResponses = {
2285
2746
  type PostMeDeveloperAppsByAppIdPageThumbnailVideoResponse = PostMeDeveloperAppsByAppIdPageThumbnailVideoResponses[keyof PostMeDeveloperAppsByAppIdPageThumbnailVideoResponses];
2286
2747
  //#endregion
2287
2748
  //#region src/account/avatar.d.ts
2288
- declare function uploadAvatar(ctx: TransportContext, input: {
2749
+ declare function uploadAvatar(context: TransportContext, input: {
2289
2750
  readonly bearer: string;
2290
2751
  readonly file: Blob | ArrayBufferView | ArrayBuffer;
2291
2752
  readonly filename: string;
2292
2753
  readonly contentType: string;
2293
2754
  }): Promise<AuthUser>;
2294
- declare function deleteAvatar(ctx: TransportContext, input: {
2755
+ declare function deleteAvatar(context: TransportContext, input: {
2295
2756
  readonly bearer: string;
2296
2757
  }): Promise<AuthUser>;
2297
2758
  //#endregion
2298
2759
  //#region src/account/giphy.d.ts
2299
- declare function searchGiphy(ctx: TransportContext, input: {
2760
+ declare function searchGiphy(context: TransportContext, input: {
2300
2761
  readonly bearer: string;
2301
2762
  readonly q: string;
2302
2763
  }): Promise<GiphySearchResponse>;
2303
2764
  //#endregion
2304
2765
  //#region src/account/payment-authorizations.d.ts
2305
- declare function listPaymentAuthorizations(ctx: TransportContext, input: {
2766
+ declare function listPaymentAuthorizations(context: TransportContext, input: {
2306
2767
  readonly bearer: string;
2307
2768
  }): Promise<ListAppPaymentAuthorizationsResponse>;
2308
- declare function updatePaymentAuthorization(ctx: TransportContext, input: {
2769
+ declare function updatePaymentAuthorization(context: TransportContext, input: {
2309
2770
  readonly bearer: string;
2310
2771
  readonly consentId: string;
2311
2772
  readonly body: UpdateAppPaymentAuthorization;
2312
2773
  }): Promise<void>;
2313
- declare function revokePaymentAuthorization(ctx: TransportContext, input: {
2774
+ declare function revokePaymentAuthorization(context: TransportContext, input: {
2314
2775
  readonly bearer: string;
2315
2776
  readonly consentId: string;
2316
2777
  }): Promise<void>;
2317
2778
  //#endregion
2318
2779
  //#region src/account/presence-heartbeat.d.ts
2319
- declare function sendPresenceHeartbeat(ctx: TransportContext, input: {
2780
+ declare function sendPresenceHeartbeat(context: TransportContext, input: {
2320
2781
  readonly bearer: string;
2321
2782
  }): Promise<WebPresenceHeartbeatAck>;
2322
2783
  //#endregion
2323
2784
  //#region src/account/profile.d.ts
2324
- declare function updateProfile(ctx: TransportContext, input: {
2785
+ declare function updateProfile(context: TransportContext, input: {
2325
2786
  readonly bearer: string;
2326
2787
  readonly body: ProfileUpdate;
2327
2788
  }): Promise<AuthUser>;
2328
2789
  //#endregion
2329
2790
  //#region src/admin/active-players.d.ts
2330
- declare function listActivePlayers(ctx: TransportContext, input: {
2791
+ declare function listActivePlayers(context: TransportContext, input: {
2331
2792
  readonly bearer: string;
2332
2793
  }): Promise<AdminActivePlayersResponse>;
2333
2794
  //#endregion
2334
2795
  //#region src/admin/app-pages.d.ts
2335
- declare function listAppPages(ctx: TransportContext, input: {
2796
+ declare function listAppPages(context: TransportContext, input: {
2336
2797
  readonly bearer: string;
2337
2798
  readonly status?: "draft" | "pending_review" | "published" | "hidden" | "all" | "pending_changes";
2338
2799
  }): Promise<AdminAppPageListResponse>;
2339
- declare function getAppPageChanges(ctx: TransportContext, input: {
2800
+ declare function getAppPageChanges(context: TransportContext, input: {
2340
2801
  readonly bearer: string;
2341
2802
  readonly appId: string;
2342
2803
  }): Promise<AdminAppPageDiffResponse>;
2343
- declare function reviewAppPageChanges(ctx: TransportContext, input: {
2804
+ declare function reviewAppPageChanges(context: TransportContext, input: {
2344
2805
  readonly bearer: string;
2345
2806
  readonly appId: string;
2346
2807
  readonly body: ReviewAppPage;
2347
2808
  }): Promise<AdminAppPageStatusResponse>;
2348
- declare function hideAppPage(ctx: TransportContext, input: {
2809
+ declare function hideAppPage(context: TransportContext, input: {
2349
2810
  readonly bearer: string;
2350
2811
  readonly appId: string;
2351
2812
  readonly body: HideAppPage;
2352
2813
  }): Promise<AdminAppPageStatusResponse>;
2353
- declare function unhideAppPage(ctx: TransportContext, input: {
2814
+ declare function unhideAppPage(context: TransportContext, input: {
2354
2815
  readonly bearer: string;
2355
2816
  readonly appId: string;
2356
2817
  }): Promise<AdminAppPageStatusResponse>;
2357
- declare function reviewAppPage(ctx: TransportContext, input: {
2818
+ declare function reviewAppPage(context: TransportContext, input: {
2358
2819
  readonly bearer: string;
2359
2820
  readonly appId: string;
2360
2821
  readonly body: ReviewAppPage;
2361
2822
  }): Promise<AdminAppPageStatusResponse>;
2362
2823
  //#endregion
2363
2824
  //#region src/admin/appeals.d.ts
2364
- declare function listAppealQueue(ctx: TransportContext, input: {
2825
+ declare function listAppealQueue(context: TransportContext, input: {
2365
2826
  readonly bearer: string;
2366
2827
  readonly statuses?: readonly AppealStatusRow["status"][];
2367
2828
  readonly chain?: string;
2368
2829
  readonly cursorFiledAt?: string;
2369
2830
  readonly limit?: number;
2370
2831
  }): Promise<ListAppealsResponse>;
2371
- declare function getAdminAppealRoom(ctx: TransportContext, input: {
2832
+ declare function getAdminAppealRoom(context: TransportContext, input: {
2372
2833
  readonly bearer: string;
2373
2834
  readonly appealId: string;
2374
2835
  }): Promise<AppealRoomView>;
2375
- declare function postAdminAppealRoomMessage(ctx: TransportContext, input: {
2836
+ declare function postAdminAppealRoomMessage(context: TransportContext, input: {
2376
2837
  readonly bearer: string;
2377
2838
  readonly appealId: string;
2378
2839
  readonly body: AppealRoomPostRequest;
2379
2840
  }): Promise<AppealRoomPostResponse>;
2380
- declare function uploadAdminAppealRoomAttachment(ctx: TransportContext, input: {
2841
+ declare function uploadAdminAppealRoomAttachment(context: TransportContext, input: {
2381
2842
  readonly bearer: string;
2382
2843
  readonly appealId: string;
2383
2844
  readonly file: Blob | ArrayBufferView | ArrayBuffer;
2384
2845
  readonly filename: string;
2385
2846
  readonly contentType: string;
2386
2847
  }): Promise<UploadAttachmentResponse>;
2387
- declare function resolveAppeal(ctx: TransportContext, input: {
2848
+ declare function resolveAppeal(context: TransportContext, input: {
2388
2849
  readonly bearer: string;
2389
2850
  readonly appealId: string;
2390
2851
  readonly body: AppealResolveRequest;
2391
2852
  }): Promise<AppealResolveSignedResponse>;
2392
2853
  //#endregion
2393
2854
  //#region src/admin/developers.d.ts
2394
- declare function listDeveloperRequests(ctx: TransportContext, input: {
2855
+ declare function listDeveloperRequests(context: TransportContext, input: {
2395
2856
  readonly bearer: string;
2396
2857
  readonly status?: "pending" | "approved" | "rejected" | "cancelled";
2397
2858
  readonly kind?: "role" | "production";
2398
2859
  }): Promise<ListDeveloperRequestsResponse>;
2399
- declare function reviewDeveloperRequest(ctx: TransportContext, input: {
2860
+ declare function reviewDeveloperRequest(context: TransportContext, input: {
2400
2861
  readonly bearer: string;
2401
2862
  readonly id: string;
2402
2863
  readonly body: ReviewDeveloperRequest;
2403
2864
  }): Promise<ReviewDeveloperRequestResponse>;
2404
- declare function listDevelopers(ctx: TransportContext, input: {
2865
+ declare function listDevelopers(context: TransportContext, input: {
2405
2866
  readonly bearer: string;
2406
2867
  }): Promise<AdminDeveloperListResponse>;
2407
2868
  //#endregion
2869
+ //#region src/admin/inventory-vault.d.ts
2870
+ declare function forceWithdrawVaultCustody(context: TransportContext, input: {
2871
+ readonly bearer: string;
2872
+ readonly custodyId: string;
2873
+ }): Promise<InventoryVaultForceWithdrawResponse>;
2874
+ //#endregion
2408
2875
  //#region src/admin/payments.d.ts
2409
- declare function getPlatformFees(ctx: TransportContext, input: {
2876
+ declare function getPlatformFees(context: TransportContext, input: {
2410
2877
  readonly bearer: string;
2411
2878
  }): Promise<PlatformFeesResponse>;
2412
- declare function updatePlatformFees(ctx: TransportContext, input: {
2879
+ declare function updatePlatformFees(context: TransportContext, input: {
2413
2880
  readonly bearer: string;
2414
2881
  readonly body: UpdatePlatformFeesRequest;
2415
2882
  }): Promise<UpdatePlatformFeesResponse>;
2416
- declare function getAppFeeConfig(ctx: TransportContext, input: {
2883
+ declare function getAppFeeConfig(context: TransportContext, input: {
2417
2884
  readonly bearer: string;
2418
2885
  readonly appId: string;
2419
2886
  }): Promise<AppFeeConfigResponse>;
2420
- declare function updateAppFeeConfig(ctx: TransportContext, input: {
2887
+ declare function updateAppFeeConfig(context: TransportContext, input: {
2421
2888
  readonly bearer: string;
2422
2889
  readonly appId: string;
2423
2890
  readonly body: UpdateAppFeeConfigRequest;
2424
2891
  }): Promise<AppFeeConfigResponse>;
2425
- declare function setProcessorWhitelist(ctx: TransportContext, input: {
2892
+ declare function setProcessorWhitelist(context: TransportContext, input: {
2426
2893
  readonly bearer: string;
2427
2894
  readonly body: SetProcessorWhitelistRequest;
2428
2895
  }): Promise<CalldataEnvelope>;
2429
- declare function rotateProcessorTreasury(ctx: TransportContext, input: {
2896
+ declare function rotateProcessorTreasury(context: TransportContext, input: {
2430
2897
  readonly bearer: string;
2431
2898
  readonly processorId: string;
2432
2899
  readonly body: RotateProcessorTreasuryRequest;
2433
2900
  }): Promise<CalldataEnvelope>;
2434
- declare function setVaultOperator(ctx: TransportContext, input: {
2901
+ declare function setVaultOperator(context: TransportContext, input: {
2435
2902
  readonly bearer: string;
2436
2903
  readonly vaultAddress: string;
2437
2904
  readonly body: SetOperatorRequest;
2438
2905
  }): Promise<CalldataEnvelope>;
2439
- declare function setVaultPause(ctx: TransportContext, input: {
2906
+ declare function setVaultPause(context: TransportContext, input: {
2440
2907
  readonly bearer: string;
2441
2908
  readonly vaultAddress: string;
2442
2909
  readonly body: PauseRequest;
2443
2910
  }): Promise<CalldataEnvelope>;
2444
- declare function setVaultWithdrawLockDefault(ctx: TransportContext, input: {
2911
+ declare function setVaultWithdrawLockDefault(context: TransportContext, input: {
2445
2912
  readonly bearer: string;
2446
2913
  readonly vaultAddress: string;
2447
2914
  readonly body: SetDefaultWithdrawLockRequest;
2448
2915
  }): Promise<CalldataEnvelope>;
2449
- declare function setVaultWithdrawLockOverride(ctx: TransportContext, input: {
2916
+ declare function setVaultWithdrawLockOverride(context: TransportContext, input: {
2450
2917
  readonly bearer: string;
2451
2918
  readonly vaultAddress: string;
2452
2919
  readonly body: SetWithdrawLockOverrideRequest;
2453
2920
  }): Promise<CalldataEnvelope>;
2454
- declare function addAppealBlacklist(ctx: TransportContext, input: {
2921
+ declare function addAppealBlacklist(context: TransportContext, input: {
2455
2922
  readonly bearer: string;
2456
2923
  readonly body: AppealBlacklistAddRequest;
2457
2924
  }): Promise<AppealBlacklistEntry>;
2458
- declare function removeAppealBlacklist(ctx: TransportContext, input: {
2925
+ declare function removeAppealBlacklist(context: TransportContext, input: {
2459
2926
  readonly bearer: string;
2460
2927
  readonly body: AppealBlacklistRemoveRequest;
2461
2928
  }): Promise<AppealBlacklistRemoveResponse>;
2462
- declare function listAppealBlacklist(ctx: TransportContext, input: {
2929
+ declare function listAppealBlacklist(context: TransportContext, input: {
2463
2930
  readonly bearer: string;
2464
2931
  readonly chain?: string;
2465
2932
  }): Promise<AppealBlacklistListResponse>;
2466
2933
  //#endregion
2467
2934
  //#region src/admin/tron-cashouts.d.ts
2468
- declare function listTronCashoutQueue(ctx: TransportContext, input: {
2935
+ declare function listTronCashoutQueue(context: TransportContext, input: {
2469
2936
  readonly bearer: string;
2470
2937
  readonly status?: AdminTronCashoutItem["status"];
2471
2938
  }): Promise<AdminTronCashoutListResponse>;
2472
- declare function approveTronCashout(ctx: TransportContext, input: {
2939
+ declare function approveTronCashout(context: TransportContext, input: {
2473
2940
  readonly bearer: string;
2474
2941
  readonly id: string;
2475
2942
  }): Promise<AdminTronCashoutItem>;
2476
- declare function rejectTronCashout(ctx: TransportContext, input: {
2943
+ declare function rejectTronCashout(context: TransportContext, input: {
2477
2944
  readonly bearer: string;
2478
2945
  readonly id: string;
2479
2946
  readonly body: AdminTronCashoutRejectRequest;
2480
2947
  }): Promise<AdminTronCashoutItem>;
2481
2948
  //#endregion
2482
2949
  //#region src/admin/users.d.ts
2483
- declare function listAdmins(ctx: TransportContext, input: {
2950
+ declare function listAdmins(context: TransportContext, input: {
2484
2951
  readonly bearer: string;
2485
2952
  }): Promise<ListAdminsResponse>;
2486
- declare function addAdmin(ctx: TransportContext, input: {
2953
+ declare function addAdmin(context: TransportContext, input: {
2487
2954
  readonly bearer: string;
2488
2955
  readonly body: AddAdminRequest;
2489
2956
  }): Promise<AdminMutationResponse>;
2490
- declare function updateAdminRole(ctx: TransportContext, input: {
2957
+ declare function updateAdminRole(context: TransportContext, input: {
2491
2958
  readonly bearer: string;
2492
2959
  readonly id: string;
2493
2960
  readonly body: UpdateAdminRoleRequest;
2494
2961
  }): Promise<AdminRoleChangeResponse>;
2495
- declare function removeAdmin(ctx: TransportContext, input: {
2962
+ declare function removeAdmin(context: TransportContext, input: {
2496
2963
  readonly bearer: string;
2497
2964
  readonly id: string;
2498
2965
  }): Promise<AdminMutationResponse>;
2499
- declare function listUsers(ctx: TransportContext, input: {
2966
+ declare function listUsers(context: TransportContext, input: {
2500
2967
  readonly bearer: string;
2501
2968
  readonly search?: string;
2502
2969
  readonly offset?: number;
2503
2970
  readonly limit?: number;
2504
2971
  }): Promise<AdminUserListResponse>;
2505
- declare function updateUserBan(ctx: TransportContext, input: {
2972
+ declare function updateUserBan(context: TransportContext, input: {
2506
2973
  readonly bearer: string;
2507
2974
  readonly id: string;
2508
2975
  readonly body: AdminUserBanRequest;
2509
2976
  }): Promise<AdminUserBanResponse>;
2510
- declare function listAudit(ctx: TransportContext, input: {
2977
+ declare function listAudit(context: TransportContext, input: {
2511
2978
  readonly bearer: string;
2512
2979
  readonly action?: string;
2513
2980
  readonly actorId?: string;
@@ -2518,20 +2985,20 @@ declare function listAudit(ctx: TransportContext, input: {
2518
2985
  }): Promise<AdminAuditListResponse>;
2519
2986
  //#endregion
2520
2987
  //#region src/catalog/app-page.d.ts
2521
- declare function getAppPage(ctx: TransportContext, input: {
2988
+ declare function getAppPage(context: TransportContext, input: {
2522
2989
  readonly bearer?: string;
2523
2990
  readonly slug: string;
2524
2991
  }): Promise<PublicAppPage>;
2525
2992
  //#endregion
2526
2993
  //#region src/catalog/content-reports.d.ts
2527
- declare function submitAppContentReport(ctx: TransportContext, input: {
2994
+ declare function submitAppContentReport(context: TransportContext, input: {
2528
2995
  readonly appId: string;
2529
2996
  readonly bearer: string;
2530
2997
  readonly report: SubmitAppContentReportRequest;
2531
2998
  }): Promise<SubmitAppContentReportResponse>;
2532
2999
  //#endregion
2533
3000
  //#region src/catalog/library.d.ts
2534
- declare function getLibrary(ctx: TransportContext, input: {
3001
+ declare function getLibrary(context: TransportContext, input: {
2535
3002
  readonly bearer?: string;
2536
3003
  readonly genre?: string;
2537
3004
  readonly q?: string;
@@ -2540,40 +3007,75 @@ declare function getLibrary(ctx: TransportContext, input: {
2540
3007
  }): Promise<LibraryListResponse>;
2541
3008
  //#endregion
2542
3009
  //#region src/catalog/reviews.d.ts
2543
- declare function listGameReviews(ctx: TransportContext, input: {
3010
+ declare function listGameReviews(context: TransportContext, input: {
2544
3011
  readonly slug: string;
2545
3012
  readonly bearer?: string;
2546
3013
  readonly sort?: ReviewSort;
2547
3014
  readonly limit?: number;
2548
3015
  readonly offset?: number;
2549
3016
  }): Promise<ReviewListResponse>;
2550
- declare function listDeveloperAppReviews(ctx: TransportContext, input: {
3017
+ declare function listDeveloperAppReviews(context: TransportContext, input: {
2551
3018
  readonly appId: string;
2552
3019
  readonly bearer: string;
2553
3020
  readonly sort?: ReviewSort;
2554
3021
  readonly limit?: number;
2555
3022
  readonly offset?: number;
2556
3023
  }): Promise<ReviewListResponse>;
2557
- declare function getMyGameReview(ctx: TransportContext, input: {
3024
+ declare function getMyGameReview(context: TransportContext, input: {
2558
3025
  readonly slug: string;
2559
3026
  readonly bearer: string;
2560
3027
  }): Promise<MyReviewResponse>;
2561
- declare function upsertMyGameReview(ctx: TransportContext, input: {
3028
+ declare function upsertMyGameReview(context: TransportContext, input: {
2562
3029
  readonly slug: string;
2563
3030
  readonly bearer: string;
2564
3031
  readonly review: UpsertReviewRequest;
2565
3032
  }): Promise<MyReviewResponse>;
2566
- declare function deleteMyGameReview(ctx: TransportContext, input: {
3033
+ declare function deleteMyGameReview(context: TransportContext, input: {
2567
3034
  readonly slug: string;
2568
3035
  readonly bearer: string;
2569
3036
  }): Promise<MyReviewResponse>;
2570
- declare function replyToGameReview(ctx: TransportContext, input: {
3037
+ declare function getMyGameReviewReactions(context: TransportContext, input: {
3038
+ readonly slug: string;
3039
+ readonly bearer: string;
3040
+ }): Promise<MyReviewReactionsResponse>;
3041
+ declare function setMyGameReviewReaction(context: TransportContext, input: {
3042
+ readonly slug: string;
3043
+ readonly reviewId: string;
3044
+ readonly bearer: string;
3045
+ readonly reaction: SetReviewReactionRequest;
3046
+ }): Promise<SetReviewReactionResponse>;
3047
+ declare function tipGameReview(context: TransportContext, input: {
3048
+ readonly slug: string;
3049
+ readonly reviewId: string;
3050
+ readonly bearer: string;
3051
+ readonly tip: TipReviewRequest;
3052
+ readonly idempotencyKey?: string;
3053
+ }): Promise<TipReviewResponse>;
3054
+ declare function listGameReviewComments(context: TransportContext, input: {
3055
+ readonly slug: string;
3056
+ readonly reviewId: string;
3057
+ readonly bearer?: string;
3058
+ readonly limit?: number;
3059
+ readonly offset?: number;
3060
+ }): Promise<ReviewCommentListResponse>;
3061
+ declare function commentOnGameReview(context: TransportContext, input: {
3062
+ readonly slug: string;
3063
+ readonly reviewId: string;
3064
+ readonly bearer: string;
3065
+ readonly comment: CreateReviewCommentRequest;
3066
+ }): Promise<CreateReviewCommentResponse>;
3067
+ declare function deleteGameReviewComment(context: TransportContext, input: {
3068
+ readonly slug: string;
3069
+ readonly commentId: string;
3070
+ readonly bearer: string;
3071
+ }): Promise<DeleteReviewCommentResponse>;
3072
+ declare function replyToGameReview(context: TransportContext, input: {
2571
3073
  readonly appId: string;
2572
3074
  readonly reviewId: string;
2573
3075
  readonly bearer: string;
2574
3076
  readonly reply: UpsertReviewReplyRequest;
2575
3077
  }): Promise<ReviewReplyResponse>;
2576
- declare function deleteGameReviewReply(ctx: TransportContext, input: {
3078
+ declare function deleteGameReviewReply(context: TransportContext, input: {
2577
3079
  readonly appId: string;
2578
3080
  readonly reviewId: string;
2579
3081
  readonly bearer: string;
@@ -2617,7 +3119,7 @@ declare function createConsoleLogger(prefix?: string): Logger;
2617
3119
  declare function createInMemoryTokenStore(): TokenStore;
2618
3120
  //#endregion
2619
3121
  //#region src/dashboard/activity.d.ts
2620
- declare function getActivity(ctx: TransportContext, input: {
3122
+ declare function getActivity(context: TransportContext, input: {
2621
3123
  readonly bearer: string;
2622
3124
  readonly kind?: string;
2623
3125
  readonly direction?: "outgoing" | "incoming";
@@ -2628,24 +3130,24 @@ declare function getActivity(ctx: TransportContext, input: {
2628
3130
  readonly before?: string;
2629
3131
  readonly includeInactive?: boolean;
2630
3132
  }): Promise<ActivityResponse>;
2631
- declare function getActivityGroup(ctx: TransportContext, input: {
3133
+ declare function getActivityGroup(context: TransportContext, input: {
2632
3134
  readonly bearer: string;
2633
3135
  readonly groupId: string;
2634
3136
  }): Promise<ActivityResponse>;
2635
3137
  //#endregion
2636
3138
  //#region src/dashboard/chains.d.ts
2637
- declare function getPaymentChains(ctx: TransportContext, input: {
3139
+ declare function getPaymentChains(context: TransportContext, input: {
2638
3140
  readonly bearer: string;
2639
3141
  }): Promise<PaymentChainsResponse>;
2640
3142
  //#endregion
2641
3143
  //#region src/dashboard/outstanding.d.ts
2642
- declare function getOutstanding(ctx: TransportContext, input: {
3144
+ declare function getOutstanding(context: TransportContext, input: {
2643
3145
  readonly bearer: string;
2644
3146
  readonly chain?: string;
2645
3147
  }): Promise<OutstandingResponse>;
2646
3148
  //#endregion
2647
3149
  //#region src/dashboard/payment-history.d.ts
2648
- declare function getPaymentHistory(ctx: TransportContext, input: {
3150
+ declare function getPaymentHistory(context: TransportContext, input: {
2649
3151
  readonly bearer: string;
2650
3152
  readonly status?: "pending" | "completed" | "expired" | "all";
2651
3153
  readonly limit?: number;
@@ -2653,52 +3155,52 @@ declare function getPaymentHistory(ctx: TransportContext, input: {
2653
3155
  }): Promise<PaymentHistoryResponse>;
2654
3156
  //#endregion
2655
3157
  //#region src/developer/api-keys.d.ts
2656
- declare function createDeveloperApiKey(ctx: TransportContext, input: {
3158
+ declare function createDeveloperApiKey(context: TransportContext, input: {
2657
3159
  readonly bearer: string;
2658
3160
  readonly body: CreateDeveloperApiKey;
2659
3161
  }): Promise<CreateDeveloperApiKeyResponse>;
2660
- declare function listDeveloperApiKeys(ctx: TransportContext, input: {
3162
+ declare function listDeveloperApiKeys(context: TransportContext, input: {
2661
3163
  readonly bearer: string;
2662
3164
  }): Promise<DeveloperApiKeysResponse>;
2663
- declare function revokeDeveloperApiKey(ctx: TransportContext, input: {
3165
+ declare function revokeDeveloperApiKey(context: TransportContext, input: {
2664
3166
  readonly bearer: string;
2665
3167
  readonly id: string;
2666
3168
  }): Promise<DeveloperOkResponse>;
2667
3169
  //#endregion
2668
3170
  //#region src/developer/apps.d.ts
2669
- declare function createDeveloperApp(ctx: TransportContext, input: {
3171
+ declare function createDeveloperApp(context: TransportContext, input: {
2670
3172
  readonly bearer: string;
2671
3173
  readonly body: CreateDeveloperApp;
2672
3174
  }): Promise<DeveloperAppIdResponse>;
2673
- declare function updateDeveloperApp(ctx: TransportContext, input: {
3175
+ declare function updateDeveloperApp(context: TransportContext, input: {
2674
3176
  readonly bearer: string;
2675
3177
  readonly id: string;
2676
3178
  readonly body: UpdateDeveloperApp;
2677
3179
  }): Promise<DeveloperAppIdResponse>;
2678
- declare function deleteDeveloperApp(ctx: TransportContext, input: {
3180
+ declare function deleteDeveloperApp(context: TransportContext, input: {
2679
3181
  readonly bearer: string;
2680
3182
  readonly id: string;
2681
3183
  }): Promise<DeveloperAppIdResponse>;
2682
- declare function uploadDeveloperAppLogo(ctx: TransportContext, input: {
3184
+ declare function uploadDeveloperAppLogo(context: TransportContext, input: {
2683
3185
  readonly bearer: string;
2684
3186
  readonly id: string;
2685
3187
  readonly file: Blob | ArrayBufferView | ArrayBuffer;
2686
3188
  readonly filename: string;
2687
3189
  readonly contentType: string;
2688
3190
  }): Promise<DeveloperLogoUploadResponse>;
2689
- declare function deleteDeveloperAppLogo(ctx: TransportContext, input: {
3191
+ declare function deleteDeveloperAppLogo(context: TransportContext, input: {
2690
3192
  readonly bearer: string;
2691
3193
  readonly id: string;
2692
3194
  }): Promise<DeveloperLogoUploadResponse>;
2693
- declare function getDeveloperAppBalances(ctx: TransportContext, input: {
3195
+ declare function getDeveloperAppBalances(context: TransportContext, input: {
2694
3196
  readonly bearer: string;
2695
3197
  readonly id: string;
2696
3198
  }): Promise<DeveloperAppBalancesResponse>;
2697
- declare function getDeveloperAppTronBalance(ctx: TransportContext, input: {
3199
+ declare function getDeveloperAppTronBalance(context: TransportContext, input: {
2698
3200
  readonly bearer: string;
2699
3201
  readonly id: string;
2700
3202
  }): Promise<DeveloperAppTronBalanceResponse>;
2701
- declare function getDeveloperAppActivity(ctx: TransportContext, input: {
3203
+ declare function getDeveloperAppActivity(context: TransportContext, input: {
2702
3204
  readonly bearer: string;
2703
3205
  readonly id: string;
2704
3206
  readonly kind?: string;
@@ -2709,203 +3211,250 @@ declare function getDeveloperAppActivity(ctx: TransportContext, input: {
2709
3211
  readonly cursor?: string;
2710
3212
  readonly before?: string;
2711
3213
  }): Promise<ActivityResponse>;
2712
- declare function getDeveloperAppEarnings(ctx: TransportContext, input: {
3214
+ declare function getDeveloperAppEarnings(context: TransportContext, input: {
2713
3215
  readonly bearer: string;
2714
3216
  readonly id: string;
2715
3217
  readonly range?: string;
2716
3218
  readonly chain?: string;
2717
3219
  }): Promise<DeveloperAppEarningsResponse>;
2718
- declare function getDeveloperAppPlaytime(ctx: TransportContext, input: {
3220
+ declare function getDeveloperAppPlaytime(context: TransportContext, input: {
2719
3221
  readonly bearer: string;
2720
3222
  readonly id: string;
2721
3223
  readonly range?: string;
2722
3224
  }): Promise<DeveloperAppPlaytimeResponse>;
2723
- declare function getDeveloperAppOverview(ctx: TransportContext, input: {
3225
+ declare function getDeveloperAppOverview(context: TransportContext, input: {
2724
3226
  readonly bearer: string;
2725
3227
  readonly id: string;
2726
3228
  }): Promise<DeveloperAppOverviewResponse>;
2727
- declare function getDeveloperAppWallets(ctx: TransportContext, input: {
3229
+ declare function getDeveloperAppWallets(context: TransportContext, input: {
2728
3230
  readonly bearer: string;
2729
3231
  readonly id: string;
2730
3232
  }): Promise<DeveloperAppWalletsResponse>;
2731
- declare function updateDeveloperAppAutoSweep(ctx: TransportContext, input: {
3233
+ declare function updateDeveloperAppAutoSweep(context: TransportContext, input: {
2732
3234
  readonly bearer: string;
2733
3235
  readonly id: string;
2734
3236
  readonly chain: string;
2735
3237
  readonly body: DeveloperAppAutoSweepRequest;
2736
3238
  }): Promise<DeveloperAppAutoSweepResponse>;
2737
- declare function provisionDeveloperAppWallet(ctx: TransportContext, input: {
3239
+ declare function provisionDeveloperAppWallet(context: TransportContext, input: {
2738
3240
  readonly bearer: string;
2739
3241
  readonly id: string;
2740
3242
  readonly chain: string;
2741
3243
  }): Promise<DeveloperAppProvisionWalletResponse>;
2742
- declare function withdrawDeveloperAppWallet(ctx: TransportContext, input: {
3244
+ declare function withdrawDeveloperAppWallet(context: TransportContext, input: {
2743
3245
  readonly bearer: string;
2744
3246
  readonly id: string;
2745
3247
  readonly chain: string;
2746
3248
  readonly token?: string;
2747
3249
  }): Promise<DeveloperAppWithdrawResponse>;
2748
- declare function consolidateDeveloperAppWallet(ctx: TransportContext, input: {
3250
+ declare function consolidateDeveloperAppWallet(context: TransportContext, input: {
2749
3251
  readonly bearer: string;
2750
3252
  readonly id: string;
2751
3253
  readonly chain: string;
2752
3254
  }): Promise<DeveloperAppConsolidateResponse>;
2753
- declare function rotateDeveloperAppKey(ctx: TransportContext, input: {
3255
+ declare function rotateDeveloperAppKey(context: TransportContext, input: {
2754
3256
  readonly bearer: string;
2755
3257
  readonly id: string;
2756
3258
  readonly env: "development" | "production";
2757
3259
  }): Promise<RegenerateDeveloperAppKeyResponse>;
2758
- declare function requestDeveloperAppProduction(ctx: TransportContext, input: {
3260
+ declare function requestDeveloperAppProduction(context: TransportContext, input: {
2759
3261
  readonly bearer: string;
2760
3262
  readonly id: string;
2761
3263
  readonly body: CreateDeveloperProductionRequest;
2762
3264
  }): Promise<CreateDeveloperProductionRequestResponse>;
2763
- declare function rotateDeveloperAppPaymentWebhookSecret(ctx: TransportContext, input: {
3265
+ declare function rotateDeveloperAppPaymentWebhookSecret(context: TransportContext, input: {
2764
3266
  readonly bearer: string;
2765
3267
  readonly id: string;
2766
3268
  }): Promise<RegenerateDeveloperAppWebhookSecretResponse>;
2767
- declare function getDeveloperPaymentAppeals(ctx: TransportContext, input: {
3269
+ declare function getDeveloperPaymentAppeals(context: TransportContext, input: {
2768
3270
  readonly bearer: string;
2769
3271
  readonly chain?: string;
2770
3272
  }): Promise<DevAppealsResponse>;
2771
- declare function getDeveloperPaymentPendingDeposits(ctx: TransportContext, input: {
3273
+ declare function getDeveloperPaymentPendingDeposits(context: TransportContext, input: {
2772
3274
  readonly bearer: string;
2773
3275
  readonly chain?: string;
2774
3276
  }): Promise<DevPendingDepositsResponse>;
2775
- declare function getDeveloperTronBalanceSummary(ctx: TransportContext, input: {
3277
+ declare function getDeveloperTronBalanceSummary(context: TransportContext, input: {
2776
3278
  readonly bearer: string;
2777
3279
  }): Promise<DeveloperTronBalanceSummaryResponse>;
2778
- declare function listDeveloperAppContentReports(ctx: TransportContext, input: {
3280
+ declare function listDeveloperAppContentReports(context: TransportContext, input: {
2779
3281
  readonly bearer: string;
2780
3282
  readonly id: string;
2781
3283
  readonly status?: AppContentReportStatus;
2782
3284
  readonly limit?: number;
2783
3285
  readonly offset?: number;
2784
3286
  }): Promise<AppContentReportListResponse>;
2785
- declare function updateDeveloperAppContentReportStatus(ctx: TransportContext, input: {
3287
+ declare function updateDeveloperAppContentReportStatus(context: TransportContext, input: {
2786
3288
  readonly bearer: string;
2787
3289
  readonly id: string;
2788
3290
  readonly reportId: string;
2789
3291
  readonly status: "acknowledged" | "dismissed";
2790
3292
  }): Promise<AppContentReport>;
2791
3293
  //#endregion
3294
+ //#region src/developer/inventory.d.ts
3295
+ declare function quoteDeveloperAppInventoryRegistration(context: TransportContext, input: {
3296
+ readonly bearer: string;
3297
+ readonly appId: string;
3298
+ readonly registration: InventoryItemRegistrationInput;
3299
+ }): Promise<InventoryRegistrationQuote>;
3300
+ declare function registerDeveloperAppInventoryItem(context: TransportContext, input: {
3301
+ readonly bearer: string;
3302
+ readonly appId: string;
3303
+ readonly registration: InventoryItemRegistrationInput;
3304
+ }): Promise<InventoryItemRegistrationResult>;
3305
+ declare function listDeveloperAppInventoryCollections(context: TransportContext, input: {
3306
+ readonly bearer: string;
3307
+ readonly appId: string;
3308
+ }): Promise<InventoryCollectionListResponse>;
3309
+ declare function listDeveloperAppInventoryItems(context: TransportContext, input: {
3310
+ readonly bearer: string;
3311
+ readonly appId: string;
3312
+ }): Promise<InventoryItemListResponse>;
3313
+ declare function createDeveloperAppMintPermit(context: TransportContext, input: {
3314
+ readonly bearer: string;
3315
+ readonly appId: string;
3316
+ readonly itemId: string;
3317
+ readonly grant: InventoryMintPermitCreateInput;
3318
+ }): Promise<InventoryMintPermitRecord>;
3319
+ declare function getDeveloperAppInventoryItemHolders(context: TransportContext, input: {
3320
+ readonly bearer: string;
3321
+ readonly appId: string;
3322
+ readonly itemId: string;
3323
+ }): Promise<InventoryItemHoldersResponse>;
3324
+ declare function uploadDeveloperAppInventoryItemImage(context: TransportContext, input: {
3325
+ readonly bearer: string;
3326
+ readonly appId: string;
3327
+ readonly itemId: string;
3328
+ readonly file: Blob | ArrayBufferView | ArrayBuffer;
3329
+ readonly filename: string;
3330
+ readonly contentType: string;
3331
+ }): Promise<InventoryItemRecord>;
3332
+ declare function uploadDeveloperAppInventoryItemBanner(context: TransportContext, input: {
3333
+ readonly bearer: string;
3334
+ readonly appId: string;
3335
+ readonly itemId: string;
3336
+ readonly file: Blob | ArrayBufferView | ArrayBuffer;
3337
+ readonly filename: string;
3338
+ readonly contentType: string;
3339
+ }): Promise<InventoryItemRecord>;
3340
+ //#endregion
2792
3341
  //#region src/developer/pages.d.ts
2793
- declare function getDeveloperAppPage(ctx: TransportContext, input: {
3342
+ declare function getDeveloperAppPage(context: TransportContext, input: {
2794
3343
  readonly bearer: string;
2795
3344
  readonly appId: string;
2796
3345
  }): Promise<AppPageDraft>;
2797
- declare function updateAppPage(ctx: TransportContext, input: {
3346
+ declare function updateAppPage(context: TransportContext, input: {
2798
3347
  readonly bearer: string;
2799
3348
  readonly appId: string;
2800
3349
  readonly body: UpdateAppPage;
2801
3350
  }): Promise<AppPageDraft>;
2802
- declare function uploadAppPageBanner(ctx: TransportContext, input: {
3351
+ declare function uploadAppPageBanner(context: TransportContext, input: {
2803
3352
  readonly bearer: string;
2804
3353
  readonly appId: string;
2805
3354
  readonly file: Blob | ArrayBufferView | ArrayBuffer;
2806
3355
  readonly filename: string;
2807
3356
  readonly contentType: string;
2808
3357
  }): Promise<PostMeDeveloperAppsByAppIdPageBannerResponse>;
2809
- declare function deleteAppPageBanner(ctx: TransportContext, input: {
3358
+ declare function deleteAppPageBanner(context: TransportContext, input: {
2810
3359
  readonly bearer: string;
2811
3360
  readonly appId: string;
2812
3361
  }): Promise<void>;
2813
- declare function uploadAppPageThumbnail(ctx: TransportContext, input: {
3362
+ declare function uploadAppPageThumbnail(context: TransportContext, input: {
2814
3363
  readonly bearer: string;
2815
3364
  readonly appId: string;
2816
3365
  readonly file: Blob | ArrayBufferView | ArrayBuffer;
2817
3366
  readonly filename: string;
2818
3367
  readonly contentType: string;
2819
3368
  }): Promise<PostMeDeveloperAppsByAppIdPageThumbnailResponse>;
2820
- declare function deleteAppPageThumbnail(ctx: TransportContext, input: {
3369
+ declare function deleteAppPageThumbnail(context: TransportContext, input: {
2821
3370
  readonly bearer: string;
2822
3371
  readonly appId: string;
2823
3372
  }): Promise<void>;
2824
- declare function uploadAppPageThumbnailVideo(ctx: TransportContext, input: {
3373
+ declare function uploadAppPageThumbnailVideo(context: TransportContext, input: {
2825
3374
  readonly bearer: string;
2826
3375
  readonly appId: string;
2827
3376
  readonly file: Blob | ArrayBufferView | ArrayBuffer;
2828
3377
  readonly filename: string;
2829
3378
  readonly contentType: string;
2830
3379
  }): Promise<PostMeDeveloperAppsByAppIdPageThumbnailVideoResponse>;
2831
- declare function deleteAppPageThumbnailVideo(ctx: TransportContext, input: {
3380
+ declare function deleteAppPageThumbnailVideo(context: TransportContext, input: {
2832
3381
  readonly bearer: string;
2833
3382
  readonly appId: string;
2834
3383
  }): Promise<void>;
2835
- declare function uploadAppPageGallery(ctx: TransportContext, input: {
3384
+ declare function uploadAppPageGallery(context: TransportContext, input: {
2836
3385
  readonly bearer: string;
2837
3386
  readonly appId: string;
2838
3387
  readonly file: Blob | ArrayBufferView | ArrayBuffer;
2839
3388
  readonly filename: string;
2840
3389
  readonly contentType: string;
2841
3390
  }): Promise<AppPageGalleryUploadResponse>;
2842
- declare function submitAppPageForReview(ctx: TransportContext, input: {
3391
+ declare function submitAppPageForReview(context: TransportContext, input: {
2843
3392
  readonly bearer: string;
2844
3393
  readonly appId: string;
2845
3394
  }): Promise<AppPageDraft>;
2846
- declare function unpublishAppPage(ctx: TransportContext, input: {
3395
+ declare function unpublishAppPage(context: TransportContext, input: {
2847
3396
  readonly bearer: string;
2848
3397
  readonly appId: string;
2849
3398
  }): Promise<AppPageDraft>;
2850
3399
  //#endregion
2851
3400
  //#region src/developer/participants.d.ts
2852
- declare function listDeveloperAppParticipants(ctx: TransportContext, input: {
3401
+ declare function listDeveloperAppParticipants(context: TransportContext, input: {
2853
3402
  readonly bearer: string;
2854
3403
  readonly id: string;
2855
3404
  }): Promise<DeveloperAppParticipantsResponse>;
2856
- declare function inviteDeveloperAppParticipant(ctx: TransportContext, input: {
3405
+ declare function inviteDeveloperAppParticipant(context: TransportContext, input: {
2857
3406
  readonly bearer: string;
2858
3407
  readonly id: string;
2859
3408
  readonly body: InviteDeveloperAppParticipant;
2860
3409
  }): Promise<DeveloperAppParticipantsResponse>;
2861
- declare function revokeDeveloperAppParticipant(ctx: TransportContext, input: {
3410
+ declare function revokeDeveloperAppParticipant(context: TransportContext, input: {
2862
3411
  readonly bearer: string;
2863
3412
  readonly id: string;
2864
3413
  readonly userId: string;
2865
3414
  }): Promise<DeveloperOkResponse>;
2866
- declare function listDeveloperInvites(ctx: TransportContext, input: {
3415
+ declare function listDeveloperInvites(context: TransportContext, input: {
2867
3416
  readonly bearer: string;
2868
3417
  }): Promise<DeveloperInvitesResponse>;
2869
- declare function acceptDeveloperInvite(ctx: TransportContext, input: {
3418
+ declare function acceptDeveloperInvite(context: TransportContext, input: {
2870
3419
  readonly bearer: string;
2871
3420
  readonly appId: string;
2872
3421
  }): Promise<DeveloperOkResponse>;
2873
- declare function declineDeveloperInvite(ctx: TransportContext, input: {
3422
+ declare function declineDeveloperInvite(context: TransportContext, input: {
2874
3423
  readonly bearer: string;
2875
3424
  readonly appId: string;
2876
3425
  }): Promise<DeveloperOkResponse>;
2877
3426
  //#endregion
2878
3427
  //#region src/developer/profile.d.ts
2879
- declare function getDeveloperStatus(ctx: TransportContext, input: {
3428
+ declare function getDeveloperStatus(context: TransportContext, input: {
2880
3429
  readonly bearer: string;
2881
3430
  }): Promise<DeveloperMeStatus>;
2882
- declare function updateDeveloperProfile(ctx: TransportContext, input: {
3431
+ declare function updateDeveloperProfile(context: TransportContext, input: {
2883
3432
  readonly bearer: string;
2884
3433
  readonly body: UpdateDeveloperProfile;
2885
3434
  }): Promise<DeveloperOkResponse>;
2886
- declare function uploadDeveloperProfileLogo(ctx: TransportContext, input: {
3435
+ declare function uploadDeveloperProfileLogo(context: TransportContext, input: {
2887
3436
  readonly bearer: string;
2888
3437
  readonly file: Blob | ArrayBufferView | ArrayBuffer;
2889
3438
  readonly filename: string;
2890
3439
  readonly contentType: string;
2891
3440
  }): Promise<DeveloperLogoUploadResponse>;
2892
- declare function deleteDeveloperProfileLogo(ctx: TransportContext, input: {
3441
+ declare function deleteDeveloperProfileLogo(context: TransportContext, input: {
2893
3442
  readonly bearer: string;
2894
3443
  }): Promise<DeveloperLogoUploadResponse>;
2895
- declare function submitDeveloperRequest(ctx: TransportContext, input: {
3444
+ declare function submitDeveloperRequest(context: TransportContext, input: {
2896
3445
  readonly bearer: string;
2897
3446
  readonly body: CreateDeveloperRoleRequest;
2898
3447
  }): Promise<DeveloperOkResponse>;
2899
- declare function uploadDeveloperRequestLogo(ctx: TransportContext, input: {
3448
+ declare function uploadDeveloperRequestLogo(context: TransportContext, input: {
2900
3449
  readonly bearer: string;
2901
3450
  readonly file: Blob | ArrayBufferView | ArrayBuffer;
2902
3451
  readonly filename: string;
2903
3452
  readonly contentType: string;
2904
3453
  }): Promise<DeveloperLogoUploadResponse>;
2905
- declare function deleteDeveloperRequestLogo(ctx: TransportContext, input: {
3454
+ declare function deleteDeveloperRequestLogo(context: TransportContext, input: {
2906
3455
  readonly bearer: string;
2907
3456
  }): Promise<DeveloperLogoUploadResponse>;
2908
- declare function uploadMultipart(ctx: TransportContext, input: {
3457
+ declare function uploadMultipart(context: TransportContext, input: {
2909
3458
  readonly path: string;
2910
3459
  readonly bearer: string;
2911
3460
  readonly file: Blob | ArrayBufferView | ArrayBuffer;
@@ -2913,82 +3462,139 @@ declare function uploadMultipart(ctx: TransportContext, input: {
2913
3462
  readonly contentType: string;
2914
3463
  }): Promise<unknown>;
2915
3464
  //#endregion
3465
+ //#region src/developer/vault.d.ts
3466
+ declare function createDeveloperVaultPermit(context: TransportContext, input: {
3467
+ readonly bearer: string;
3468
+ readonly appId: string;
3469
+ readonly itemId: string;
3470
+ readonly grant: InventoryVaultPermitCreateInput;
3471
+ }): Promise<InventoryVaultPermitRecord>;
3472
+ declare function createDeveloperWithdrawPermit(context: TransportContext, input: {
3473
+ readonly bearer: string;
3474
+ readonly appId: string;
3475
+ readonly itemId: string;
3476
+ readonly grant: InventoryWithdrawPermitCreateInput;
3477
+ }): Promise<InventoryVaultPermitRecord>;
3478
+ //#endregion
2916
3479
  //#region src/inventory/list.d.ts
2917
- declare function listInventory(ctx: TransportContext, input: {
3480
+ declare function listInventory(context: TransportContext, input: {
2918
3481
  readonly bearer: string;
2919
3482
  }): Promise<InventoryListResponse>;
2920
- declare function listInventoryForApp(ctx: TransportContext, input: {
3483
+ declare function listInventoryForApp(context: TransportContext, input: {
2921
3484
  readonly bearer: string;
2922
3485
  }): Promise<InventoryListResponse>;
2923
3486
  //#endregion
3487
+ //#region src/inventory/nft-transfer.d.ts
3488
+ declare function quoteNftTransfer(context: TransportContext, input: {
3489
+ readonly bearer: string;
3490
+ readonly body: InventoryNftTransferQuoteRequest;
3491
+ }): Promise<InventoryNftTransferQuoteResponse>;
3492
+ declare function executeNftTransfer(context: TransportContext, input: {
3493
+ readonly bearer: string;
3494
+ readonly body: InventoryNftTransferRequest;
3495
+ }): Promise<InventoryNftTransferResponse>;
3496
+ //#endregion
3497
+ //#region src/inventory/permits.d.ts
3498
+ declare function listInventoryMintPermits(context: TransportContext, input: {
3499
+ readonly bearer: string;
3500
+ }): Promise<InventoryPendingPermitListResponse>;
3501
+ declare function redeemInventoryMintPermit(context: TransportContext, input: {
3502
+ readonly bearer: string;
3503
+ readonly permitId: string;
3504
+ }): Promise<InventoryPermitRedeemResult>;
3505
+ //#endregion
2924
3506
  //#region src/inventory/request-mint.d.ts
2925
- declare function requestMint(ctx: TransportContext, input: {
3507
+ declare function requestMint(context: TransportContext, input: {
2926
3508
  readonly appBearer: string;
2927
3509
  readonly body: MintRequestInput;
2928
3510
  }): Promise<MintRequestResult>;
2929
3511
  //#endregion
3512
+ //#region src/inventory/vault.d.ts
3513
+ declare function listInventoryVaultPermits(context: TransportContext, input: {
3514
+ readonly bearer: string;
3515
+ }): Promise<InventoryPendingVaultPermitListResponse>;
3516
+ declare function signInventoryVaultPermit(context: TransportContext, input: {
3517
+ readonly bearer: string;
3518
+ readonly permitId: string;
3519
+ }): Promise<InventorySignedVaultPermit>;
3520
+ declare function quoteRelayedVaultPermit(context: TransportContext, input: {
3521
+ readonly bearer: string;
3522
+ readonly permitId: string;
3523
+ }): Promise<InventoryRelayedVaultQuoteResponse>;
3524
+ declare function submitRelayedVaultPermit(context: TransportContext, input: {
3525
+ readonly bearer: string;
3526
+ readonly permitId: string;
3527
+ readonly body: InventoryRelayedVaultSubmitRequest;
3528
+ }): Promise<InventoryRelayedVaultSubmitResponse>;
3529
+ declare function listInventoryVaulted(context: TransportContext, input: {
3530
+ readonly bearer: string;
3531
+ }): Promise<InventoryVaultCustodyListResponse>;
3532
+ declare function listOauthInventoryVaulted(context: TransportContext, input: {
3533
+ readonly bearer: string;
3534
+ }): Promise<InventoryVaultCustodyListResponse>;
3535
+ //#endregion
2930
3536
  //#region src/messaging/dm-key-backup.d.ts
2931
- declare function getDmKeyBackupStatus(ctx: TransportContext, input: {
3537
+ declare function getDmKeyBackupStatus(context: TransportContext, input: {
2932
3538
  readonly bearer: string;
2933
3539
  }): Promise<DmKeyBackupStatusResponse>;
2934
- declare function setupDmKeyBackup(ctx: TransportContext, input: {
3540
+ declare function setupDmKeyBackup(context: TransportContext, input: {
2935
3541
  readonly bearer: string;
2936
3542
  readonly body: DmKeyBackupSetupBody;
2937
3543
  }): Promise<DmKeyBackupOkResponse>;
2938
- declare function unlockDmKeyBackup(ctx: TransportContext, input: {
3544
+ declare function unlockDmKeyBackup(context: TransportContext, input: {
2939
3545
  readonly bearer: string;
2940
3546
  readonly body: DmKeyBackupUnlockBody;
2941
3547
  }): Promise<DmKeyBackupUnlockResponse>;
2942
3548
  //#endregion
2943
3549
  //#region src/messaging/dm-keys.d.ts
2944
- declare function publishDmKey(ctx: TransportContext, input: {
3550
+ declare function publishDmKey(context: TransportContext, input: {
2945
3551
  readonly bearer: string;
2946
3552
  readonly body: PublishDmKeyBody;
2947
3553
  }): Promise<DmKeyResponse>;
2948
- declare function getMyDmKey(ctx: TransportContext, input: {
3554
+ declare function getMyDmKey(context: TransportContext, input: {
2949
3555
  readonly bearer: string;
2950
3556
  }): Promise<DmKeyResponse | null>;
2951
- declare function getThreadDmKey(ctx: TransportContext, input: {
3557
+ declare function getThreadDmKey(context: TransportContext, input: {
2952
3558
  readonly bearer: string;
2953
3559
  readonly threadId: string;
2954
3560
  }): Promise<DmKeyResponse>;
2955
- declare function batchThreadDmKeys(ctx: TransportContext, input: {
3561
+ declare function batchThreadDmKeys(context: TransportContext, input: {
2956
3562
  readonly bearer: string;
2957
3563
  readonly threadIds: readonly string[];
2958
3564
  }): Promise<BatchThreadDmKeysResponse>;
2959
3565
  //#endregion
2960
3566
  //#region src/messaging/logo.d.ts
2961
- declare function uploadThreadLogo(ctx: TransportContext, input: {
3567
+ declare function uploadThreadLogo(context: TransportContext, input: {
2962
3568
  readonly bearer: string;
2963
3569
  readonly threadId: string;
2964
3570
  readonly file: Blob | ArrayBufferView | ArrayBuffer;
2965
3571
  readonly filename: string;
2966
3572
  readonly contentType: string;
2967
3573
  }): Promise<GroupThreadMutationResponse>;
2968
- declare function deleteThreadLogo(ctx: TransportContext, input: {
3574
+ declare function deleteThreadLogo(context: TransportContext, input: {
2969
3575
  readonly bearer: string;
2970
3576
  readonly threadId: string;
2971
3577
  }): Promise<GroupThreadMutationResponse>;
2972
3578
  //#endregion
2973
3579
  //#region src/messaging/messages.d.ts
2974
- declare function deleteMessage(ctx: TransportContext, input: {
3580
+ declare function deleteMessage(context: TransportContext, input: {
2975
3581
  readonly bearer: string;
2976
3582
  readonly threadId: string;
2977
3583
  readonly messageId: string;
2978
3584
  }): Promise<MessagingOkResponse>;
2979
- declare function editMessage(ctx: TransportContext, input: {
3585
+ declare function editMessage(context: TransportContext, input: {
2980
3586
  readonly bearer: string;
2981
3587
  readonly threadId: string;
2982
3588
  readonly messageId: string;
2983
3589
  readonly body: EditMessageBody;
2984
3590
  }): Promise<MessageItem>;
2985
- declare function addReaction(ctx: TransportContext, input: {
3591
+ declare function addReaction(context: TransportContext, input: {
2986
3592
  readonly bearer: string;
2987
3593
  readonly threadId: string;
2988
3594
  readonly messageId: string;
2989
3595
  readonly emoji: ReactionEmoji;
2990
3596
  }): Promise<ReactionMutationResponse>;
2991
- declare function removeReaction(ctx: TransportContext, input: {
3597
+ declare function removeReaction(context: TransportContext, input: {
2992
3598
  readonly bearer: string;
2993
3599
  readonly threadId: string;
2994
3600
  readonly messageId: string;
@@ -2996,12 +3602,12 @@ declare function removeReaction(ctx: TransportContext, input: {
2996
3602
  }): Promise<ReactionMutationResponse>;
2997
3603
  //#endregion
2998
3604
  //#region src/messaging/participants.d.ts
2999
- declare function removeParticipant(ctx: TransportContext, input: {
3605
+ declare function removeParticipant(context: TransportContext, input: {
3000
3606
  readonly bearer: string;
3001
3607
  readonly threadId: string;
3002
3608
  readonly userId: string;
3003
3609
  }): Promise<GroupThreadMutationResponse>;
3004
- declare function updateParticipantRole(ctx: TransportContext, input: {
3610
+ declare function updateParticipantRole(context: TransportContext, input: {
3005
3611
  readonly bearer: string;
3006
3612
  readonly threadId: string;
3007
3613
  readonly userId: string;
@@ -3009,33 +3615,33 @@ declare function updateParticipantRole(ctx: TransportContext, input: {
3009
3615
  }): Promise<GroupThreadMutationResponse>;
3010
3616
  //#endregion
3011
3617
  //#region src/messaging/threads.d.ts
3012
- declare function deleteThread(ctx: TransportContext, input: {
3618
+ declare function deleteThread(context: TransportContext, input: {
3013
3619
  readonly bearer: string;
3014
3620
  readonly threadId: string;
3015
3621
  }): Promise<MessagingOkResponse>;
3016
- declare function updateThreadSettings(ctx: TransportContext, input: {
3622
+ declare function updateThreadSettings(context: TransportContext, input: {
3017
3623
  readonly bearer: string;
3018
3624
  readonly threadId: string;
3019
3625
  readonly body: UpdateThreadSettingsBody;
3020
3626
  }): Promise<GroupThreadMutationResponse>;
3021
- declare function hideThread(ctx: TransportContext, input: {
3627
+ declare function hideThread(context: TransportContext, input: {
3022
3628
  readonly bearer: string;
3023
3629
  readonly threadId: string;
3024
3630
  }): Promise<MessagingOkResponse>;
3025
- declare function inviteParticipants(ctx: TransportContext, input: {
3631
+ declare function inviteParticipants(context: TransportContext, input: {
3026
3632
  readonly bearer: string;
3027
3633
  readonly threadId: string;
3028
3634
  readonly body: InviteParticipantsBody;
3029
3635
  }): Promise<GroupThreadMutationResponse>;
3030
- declare function leaveThread(ctx: TransportContext, input: {
3636
+ declare function leaveThread(context: TransportContext, input: {
3031
3637
  readonly bearer: string;
3032
3638
  readonly threadId: string;
3033
3639
  }): Promise<MessagingOkResponse>;
3034
- declare function pinThread(ctx: TransportContext, input: {
3640
+ declare function pinThread(context: TransportContext, input: {
3035
3641
  readonly bearer: string;
3036
3642
  readonly threadId: string;
3037
3643
  }): Promise<PinThreadResponse>;
3038
- declare function unpinThread(ctx: TransportContext, input: {
3644
+ declare function unpinThread(context: TransportContext, input: {
3039
3645
  readonly bearer: string;
3040
3646
  readonly threadId: string;
3041
3647
  }): Promise<MessagingOkResponse>;
@@ -3068,7 +3674,7 @@ type AuthorizeUrl = {
3068
3674
  declare function buildAuthorizeUrl(input: BuildAuthorizeUrlInput): Promise<AuthorizeUrl>;
3069
3675
  //#endregion
3070
3676
  //#region src/oauth/discovery.d.ts
3071
- declare function fetchAuthorizationServerMetadata(ctx: TransportContext): Promise<OauthAuthorizationServerMetadata>;
3677
+ declare function fetchAuthorizationServerMetadata(context: TransportContext): Promise<OauthAuthorizationServerMetadata>;
3072
3678
  declare function defaultEndpoints(issuer: string): {
3073
3679
  authorize: string;
3074
3680
  token: string;
@@ -3077,7 +3683,7 @@ declare function defaultEndpoints(issuer: string): {
3077
3683
  };
3078
3684
  //#endregion
3079
3685
  //#region src/oauth/revoke.d.ts
3080
- declare function revokeToken(ctx: TransportContext, input: {
3686
+ declare function revokeToken(context: TransportContext, input: {
3081
3687
  readonly token: string;
3082
3688
  readonly tokenTypeHint?: "access_token" | "refresh_token" | undefined;
3083
3689
  readonly clientId: string;
@@ -3085,14 +3691,14 @@ declare function revokeToken(ctx: TransportContext, input: {
3085
3691
  }): Promise<void>;
3086
3692
  //#endregion
3087
3693
  //#region src/oauth/token.d.ts
3088
- declare function exchangeAuthorizationCode(ctx: TransportContext, input: {
3694
+ declare function exchangeAuthorizationCode(context: TransportContext, input: {
3089
3695
  readonly code: string;
3090
3696
  readonly redirectUri: string;
3091
3697
  readonly codeVerifier: string;
3092
3698
  readonly clientId: string;
3093
3699
  readonly clientSecret?: string | undefined;
3094
3700
  }): Promise<OauthTokenResponse>;
3095
- declare function refreshAccessToken(ctx: TransportContext, input: {
3701
+ declare function refreshAccessToken(context: TransportContext, input: {
3096
3702
  readonly refreshToken: string;
3097
3703
  readonly clientId: string;
3098
3704
  readonly clientSecret?: string | undefined;
@@ -3101,31 +3707,31 @@ declare function refreshAccessToken(ctx: TransportContext, input: {
3101
3707
  declare function toTokenSet(now: number, response: OauthTokenResponse): TokenSet;
3102
3708
  //#endregion
3103
3709
  //#region src/oauth/userinfo.d.ts
3104
- declare function fetchUserInfo(ctx: TransportContext, input: {
3710
+ declare function fetchUserInfo(context: TransportContext, input: {
3105
3711
  readonly bearer: string;
3106
3712
  }): Promise<OauthUserInfoResponse>;
3107
3713
  //#endregion
3108
3714
  //#region src/payments/appeal.d.ts
3109
- declare function fileAppeal(ctx: TransportContext, input: {
3715
+ declare function fileAppeal(context: TransportContext, input: {
3110
3716
  readonly bearer: string;
3111
3717
  readonly body: AppealFileRequest;
3112
3718
  }): Promise<AppealFileResponse>;
3113
- declare function fileAppealPotLeg(ctx: TransportContext, input: {
3719
+ declare function fileAppealPotLeg(context: TransportContext, input: {
3114
3720
  readonly bearer: string;
3115
3721
  readonly body: AppealPotLegFileRequest;
3116
3722
  }): Promise<AppealFileResponse>;
3117
3723
  //#endregion
3118
3724
  //#region src/payments/appeal-room.d.ts
3119
- declare function getAppealRoom(ctx: TransportContext, input: {
3725
+ declare function getAppealRoom(context: TransportContext, input: {
3120
3726
  readonly bearer: string;
3121
3727
  readonly appealId: string;
3122
3728
  }): Promise<AppealRoomView>;
3123
- declare function postAppealRoomMessage(ctx: TransportContext, input: {
3729
+ declare function postAppealRoomMessage(context: TransportContext, input: {
3124
3730
  readonly bearer: string;
3125
3731
  readonly appealId: string;
3126
3732
  readonly body: AppealRoomPostRequest;
3127
3733
  }): Promise<AppealRoomPostResponse>;
3128
- declare function uploadAppealRoomAttachment(ctx: TransportContext, input: {
3734
+ declare function uploadAppealRoomAttachment(context: TransportContext, input: {
3129
3735
  readonly bearer: string;
3130
3736
  readonly appealId: string;
3131
3737
  readonly file: Blob | ArrayBufferView | ArrayBuffer;
@@ -3137,80 +3743,96 @@ declare function uploadAppealRoomAttachment(ctx: TransportContext, input: {
3137
3743
  type ChargeResult = OauthPaymentChargeResponse | ({
3138
3744
  status: "monthly_limit_exceeded";
3139
3745
  } & Omit<OauthPaymentChargeLimitExceeded, "error">);
3140
- declare function charge(ctx: TransportContext, input: {
3746
+ declare function charge(context: TransportContext, input: {
3141
3747
  readonly bearer: string;
3142
3748
  readonly body: OauthPaymentChargeRequest;
3143
3749
  readonly idempotencyKey?: string;
3144
3750
  }): Promise<ChargeResult>;
3145
3751
  //#endregion
3146
3752
  //#region src/payments/intent.d.ts
3147
- declare function getPaymentIntent(ctx: TransportContext, input: {
3753
+ declare function getPaymentIntent(context: TransportContext, input: {
3148
3754
  readonly bearer: string;
3149
3755
  readonly intentId: string;
3150
3756
  }): Promise<OauthPaymentIntentContext>;
3151
- declare function signPaymentIntent(ctx: TransportContext, input: {
3757
+ declare function signPaymentIntent(context: TransportContext, input: {
3152
3758
  readonly bearer: string;
3153
3759
  readonly intentId: string;
3154
3760
  }): Promise<OauthPaymentIntentSignResponse>;
3155
- declare function completePaymentIntent(ctx: TransportContext, input: {
3761
+ declare function completePaymentIntent(context: TransportContext, input: {
3156
3762
  readonly bearer: string;
3157
3763
  readonly intentId: string;
3158
3764
  readonly body: OauthPaymentIntentComplete;
3159
3765
  }): Promise<OauthPaymentIntentResolveResponse>;
3160
- declare function denyPaymentIntent(ctx: TransportContext, input: {
3766
+ declare function denyPaymentIntent(context: TransportContext, input: {
3161
3767
  readonly bearer: string;
3162
3768
  readonly intentId: string;
3163
3769
  }): Promise<OauthPaymentIntentResolveResponse>;
3164
3770
  //#endregion
3165
3771
  //#region src/payments/limits.d.ts
3166
- declare function getPaymentLimits(ctx: TransportContext, input: {
3772
+ declare function getPaymentLimits(context: TransportContext, input: {
3167
3773
  readonly bearer: string;
3168
3774
  }): Promise<OauthPaymentLimitsResponse>;
3169
3775
  //#endregion
3170
3776
  //#region src/payments/moonpay.d.ts
3171
- declare function getMoonpayAvailability(ctx: TransportContext, input: {
3777
+ declare function getMoonpayAvailability(context: TransportContext, input: {
3172
3778
  readonly bearer: string;
3173
3779
  }): Promise<MoonpayAvailabilityResponse>;
3174
- declare function mintMoonpayBuyUrl(ctx: TransportContext, input: {
3780
+ declare function mintMoonpayBuyUrl(context: TransportContext, input: {
3175
3781
  readonly bearer: string;
3176
3782
  readonly body: MoonpayBuyUrlRequest;
3177
3783
  }): Promise<MoonpayBuyUrlResponse>;
3178
- declare function mintMoonpaySellUrl(ctx: TransportContext, input: {
3784
+ declare function mintMoonpaySellUrl(context: TransportContext, input: {
3179
3785
  readonly bearer: string;
3180
3786
  readonly body: MoonpaySellUrlRequest;
3181
3787
  }): Promise<MoonpaySellUrlResponse>;
3182
3788
  //#endregion
3183
3789
  //#region src/payments/price.d.ts
3184
- declare function getPaymentPrice(ctx: TransportContext, input: {
3790
+ declare function getPaymentPrice(context: TransportContext, input: {
3185
3791
  readonly bearer: string;
3186
3792
  } & GetOauthPaymentsPriceData["query"]): Promise<OauthPaymentPriceResponse>;
3187
3793
  //#endregion
3188
3794
  //#region src/payments/status.d.ts
3189
- declare function getIntentStatus(ctx: TransportContext, input: {
3795
+ declare function getIntentStatus(context: TransportContext, input: {
3190
3796
  readonly bearer: string;
3191
3797
  readonly intentId: string;
3192
3798
  }): Promise<OauthPaymentIntentStatus>;
3193
3799
  //#endregion
3194
3800
  //#region src/payments/tron.d.ts
3195
- declare function getTronBalance(ctx: TransportContext, input: {
3801
+ declare function getTronBalance(context: TransportContext, input: {
3196
3802
  readonly bearer: string;
3197
3803
  }): Promise<TronBalanceResponse>;
3198
- declare function listTronLedger(ctx: TransportContext, input: {
3804
+ declare function listTronLedger(context: TransportContext, input: {
3199
3805
  readonly bearer: string;
3200
3806
  readonly before?: string;
3201
3807
  }): Promise<TronLedgerResponse>;
3202
- declare function createTronDeposit(ctx: TransportContext, input: {
3808
+ declare function createTronDeposit(context: TransportContext, input: {
3203
3809
  readonly bearer: string;
3204
3810
  readonly body: TronDepositRequest;
3205
3811
  }): Promise<TronDepositResponse>;
3206
- declare function createTronConnectOnboarding(ctx: TransportContext, input: {
3812
+ declare function createTronTransfer(context: TransportContext, input: {
3813
+ readonly bearer: string;
3814
+ readonly body: TronTransferRequest;
3815
+ readonly idempotencyKey?: string;
3816
+ }): Promise<TronTransferResponse>;
3817
+ declare function getTronSecurity(context: TransportContext, input: {
3818
+ readonly bearer: string;
3819
+ }): Promise<TronSecuritySetting>;
3820
+ declare function setTronSecurity(context: TransportContext, input: {
3821
+ readonly bearer: string;
3822
+ readonly setting: TronSecuritySetting;
3823
+ }): Promise<TronSecuritySetting>;
3824
+ declare function createTronTransferChallenge(context: TransportContext, input: {
3825
+ readonly bearer: string;
3826
+ readonly body: TronTransferChallengeRequest;
3827
+ }): Promise<TronTransferChallengeResponse>;
3828
+ declare function createTronConnectOnboarding(context: TransportContext, input: {
3207
3829
  readonly bearer: string;
3208
3830
  }): Promise<TronConnectOnboardingResponse>;
3209
- declare function createTronCashout(ctx: TransportContext, input: {
3831
+ declare function createTronCashout(context: TransportContext, input: {
3210
3832
  readonly bearer: string;
3211
3833
  readonly body: TronCashoutCreateRequest;
3212
3834
  }): Promise<TronCashoutItem>;
3213
- declare function listTronCashouts(ctx: TransportContext, input: {
3835
+ declare function listTronCashouts(context: TransportContext, input: {
3214
3836
  readonly bearer: string;
3215
3837
  }): Promise<TronCashoutListResponse>;
3216
3838
  //#endregion
@@ -3223,7 +3845,7 @@ type MountPresenceWidgetOptions = {
3223
3845
  readonly container?: HTMLElement;
3224
3846
  readonly onPlaySessionId?: (playSessionId: string | null) => void;
3225
3847
  readonly onStatus?: (status: PresenceStatus) => void;
3226
- readonly onAuthChange?: (authenticated: boolean) => void;
3848
+ readonly onAuthChange?: (isAuthenticated: boolean) => void;
3227
3849
  readonly styleIframe?: (iframe: HTMLIFrameElement) => void;
3228
3850
  readonly onPresentationChange?: (mode: "chip" | "overlay") => void;
3229
3851
  readonly background?: string;
@@ -3234,40 +3856,40 @@ type PresenceWidgetHandle = {
3234
3856
  declare function mountPresenceWidget(options: MountPresenceWidgetOptions): PresenceWidgetHandle;
3235
3857
  //#endregion
3236
3858
  //#region src/reads/dashboard.d.ts
3237
- declare function getMeStats(ctx: TransportContext, input: {
3859
+ declare function getMeStats(context: TransportContext, input: {
3238
3860
  readonly bearer: string;
3239
3861
  }): Promise<MeStats>;
3240
- declare function getEarningsTimeseries(ctx: TransportContext, input: {
3862
+ declare function getEarningsTimeseries(context: TransportContext, input: {
3241
3863
  readonly bearer: string;
3242
3864
  readonly days?: number;
3243
3865
  }): Promise<EarningsTimeseries>;
3244
3866
  //#endregion
3245
3867
  //#region src/reads/messaging.d.ts
3246
- declare function listThreads(ctx: TransportContext, input: {
3868
+ declare function listThreads(context: TransportContext, input: {
3247
3869
  readonly bearer: string;
3248
3870
  readonly limit?: number;
3249
3871
  readonly cursor?: string;
3250
3872
  }): Promise<ThreadListResponse>;
3251
- declare function createDirectThread(ctx: TransportContext, input: {
3873
+ declare function createDirectThread(context: TransportContext, input: {
3252
3874
  readonly bearer: string;
3253
3875
  readonly body: CreateDirectThreadBody;
3254
3876
  }): Promise<ThreadSummary>;
3255
- declare function listThreadMessages(ctx: TransportContext, input: {
3877
+ declare function listThreadMessages(context: TransportContext, input: {
3256
3878
  readonly bearer: string;
3257
3879
  readonly threadId: string;
3258
3880
  readonly limit?: number;
3259
3881
  readonly cursor?: string;
3260
3882
  }): Promise<MessagesPageResponse>;
3261
- declare function sendMessage(ctx: TransportContext, input: {
3883
+ declare function sendMessage(context: TransportContext, input: {
3262
3884
  readonly bearer: string;
3263
3885
  readonly threadId: string;
3264
3886
  readonly body: SendMessageBody;
3265
3887
  }): Promise<void>;
3266
- declare function markThreadRead(ctx: TransportContext, input: {
3888
+ declare function markThreadRead(context: TransportContext, input: {
3267
3889
  readonly bearer: string;
3268
3890
  readonly threadId: string;
3269
3891
  }): Promise<void>;
3270
- declare function uploadAttachment(ctx: TransportContext, input: {
3892
+ declare function uploadAttachment(context: TransportContext, input: {
3271
3893
  readonly bearer: string;
3272
3894
  readonly threadId: string;
3273
3895
  readonly file: Blob | ArrayBufferView | ArrayBuffer;
@@ -3276,116 +3898,120 @@ declare function uploadAttachment(ctx: TransportContext, input: {
3276
3898
  }): Promise<UploadAttachmentResponse>;
3277
3899
  //#endregion
3278
3900
  //#region src/reads/notifications.d.ts
3279
- declare function listNotifications(ctx: TransportContext, input: {
3901
+ declare function listNotifications(context: TransportContext, input: {
3280
3902
  readonly bearer: string;
3281
3903
  readonly limit?: number;
3282
3904
  readonly cursor?: string;
3283
3905
  }): Promise<NotificationListResponse>;
3284
- declare function updateNotification(ctx: TransportContext, input: {
3906
+ declare function updateNotification(context: TransportContext, input: {
3285
3907
  readonly bearer: string;
3286
3908
  readonly notificationId: string;
3287
3909
  readonly body: NotificationUpdate;
3288
3910
  }): Promise<void>;
3289
- declare function markAllNotificationsRead(ctx: TransportContext, input: {
3911
+ declare function markAllNotificationsRead(context: TransportContext, input: {
3290
3912
  readonly bearer: string;
3291
3913
  }): Promise<void>;
3292
3914
  //#endregion
3293
3915
  //#region src/reads/playtime.d.ts
3294
- declare function getPlaytime(ctx: TransportContext, input: {
3916
+ declare function getPlaytime(context: TransportContext, input: {
3295
3917
  readonly bearer: string;
3296
3918
  }): Promise<PlaytimeOverview>;
3297
- declare function getPlaytimeTimeseries(ctx: TransportContext, input: {
3919
+ declare function getPlaytimeTimeseries(context: TransportContext, input: {
3298
3920
  readonly bearer: string;
3299
3921
  readonly days?: number;
3300
3922
  }): Promise<PlaytimeTimeseries>;
3301
3923
  //#endregion
3302
3924
  //#region src/reads/profile.d.ts
3303
- declare function getPublicProfile(ctx: TransportContext, input: {
3925
+ declare function getPublicProfile(context: TransportContext, input: {
3304
3926
  readonly bearer?: string;
3305
3927
  readonly handle: string;
3306
3928
  }): Promise<PublicProfile>;
3307
- declare function searchUsers(ctx: TransportContext, input: {
3929
+ declare function searchUsers(context: TransportContext, input: {
3308
3930
  readonly bearer: string;
3309
3931
  readonly q: string;
3310
3932
  readonly limit?: number;
3311
3933
  }): Promise<UserSearchResponse>;
3312
3934
  //#endregion
3313
3935
  //#region src/reads/referral.d.ts
3314
- declare function getReferral(ctx: TransportContext, input: {
3936
+ declare function getReferral(context: TransportContext, input: {
3315
3937
  readonly bearer: string;
3316
3938
  }): Promise<ReferralOverview>;
3317
- declare function createReferralCode(ctx: TransportContext, input: {
3939
+ declare function createReferralCode(context: TransportContext, input: {
3318
3940
  readonly bearer: string;
3319
3941
  readonly regenerate?: boolean;
3320
3942
  }): Promise<ReferralCodeResponse>;
3321
- declare function previewReferral(ctx: TransportContext, input: {
3943
+ declare function previewReferral(context: TransportContext, input: {
3322
3944
  readonly bearer: string;
3323
3945
  readonly code: string;
3324
3946
  }): Promise<ReferralPreviewResponse>;
3325
- declare function bindReferral(ctx: TransportContext, input: {
3947
+ declare function bindReferral(context: TransportContext, input: {
3326
3948
  readonly bearer: string;
3327
3949
  } & ReferralBindRequest): Promise<ReferralBindResponse>;
3328
3950
  //#endregion
3329
3951
  //#region src/reads/social-graph.d.ts
3330
- declare function followUser(ctx: TransportContext, input: {
3952
+ declare function followUser(context: TransportContext, input: {
3953
+ readonly bearer: string;
3954
+ readonly userId: string;
3955
+ }): Promise<void>;
3956
+ declare function unfollowUser(context: TransportContext, input: {
3331
3957
  readonly bearer: string;
3332
3958
  readonly userId: string;
3333
3959
  }): Promise<void>;
3334
- declare function unfollowUser(ctx: TransportContext, input: {
3960
+ declare function sendFriendRequest(context: TransportContext, input: {
3335
3961
  readonly bearer: string;
3336
3962
  readonly userId: string;
3337
3963
  }): Promise<void>;
3338
- declare function sendFriendRequest(ctx: TransportContext, input: {
3964
+ declare function removeFriend(context: TransportContext, input: {
3339
3965
  readonly bearer: string;
3340
3966
  readonly userId: string;
3341
3967
  }): Promise<void>;
3342
- declare function decideFriendRequest(ctx: TransportContext, input: {
3968
+ declare function decideFriendRequest(context: TransportContext, input: {
3343
3969
  readonly bearer: string;
3344
3970
  readonly requestId: string;
3345
3971
  readonly decision: FriendRequestDecision["decision"];
3346
3972
  }): Promise<void>;
3347
- declare function cancelFriendRequest(ctx: TransportContext, input: {
3973
+ declare function cancelFriendRequest(context: TransportContext, input: {
3348
3974
  readonly bearer: string;
3349
3975
  readonly requestId: string;
3350
3976
  }): Promise<void>;
3351
- declare function listFriends(ctx: TransportContext, input: {
3977
+ declare function listFriends(context: TransportContext, input: {
3352
3978
  readonly bearer: string;
3353
3979
  }): Promise<FriendListResponse>;
3354
3980
  //#endregion
3355
3981
  //#region src/reads/socials.d.ts
3356
- declare function listSocials(ctx: TransportContext, input: {
3982
+ declare function listSocials(context: TransportContext, input: {
3357
3983
  readonly bearer: string;
3358
3984
  }): Promise<SocialListResponse>;
3359
3985
  //#endregion
3360
3986
  //#region src/reads/wallets.d.ts
3361
- declare function listWallets(ctx: TransportContext, input: {
3987
+ declare function listWallets(context: TransportContext, input: {
3362
3988
  readonly bearer: string;
3363
3989
  }): Promise<WalletListResponse>;
3364
3990
  //#endregion
3365
3991
  //#region src/wallets-mgmt/delegation.d.ts
3366
- declare function getDelegation(ctx: TransportContext, input: {
3992
+ declare function getDelegation(context: TransportContext, input: {
3367
3993
  readonly bearer: string;
3368
3994
  readonly address: string;
3369
3995
  }): Promise<WalletDelegationStatus>;
3370
- declare function createDelegation(ctx: TransportContext, input: {
3996
+ declare function createDelegation(context: TransportContext, input: {
3371
3997
  readonly bearer: string;
3372
3998
  readonly address: string;
3373
3999
  readonly body: CreateWalletDelegation;
3374
4000
  }): Promise<CreateWalletDelegationResponse>;
3375
- declare function deleteDelegation(ctx: TransportContext, input: {
4001
+ declare function deleteDelegation(context: TransportContext, input: {
3376
4002
  readonly bearer: string;
3377
4003
  readonly address: string;
3378
4004
  }): Promise<DeleteWalletDelegationResponse>;
3379
4005
  //#endregion
3380
4006
  //#region src/wallets-mgmt/label.d.ts
3381
- declare function updateWalletLabel(ctx: TransportContext, input: {
4007
+ declare function updateWalletLabel(context: TransportContext, input: {
3382
4008
  readonly bearer: string;
3383
4009
  readonly address: string;
3384
4010
  readonly body: WalletLabelUpdate;
3385
4011
  }): Promise<WalletLabelUpdateResponse>;
3386
4012
  //#endregion
3387
4013
  //#region src/wallets-mgmt/list.d.ts
3388
- declare function listWalletManager(ctx: TransportContext, input: {
4014
+ declare function listWalletManager(context: TransportContext, input: {
3389
4015
  readonly bearer: string;
3390
4016
  }): Promise<WalletListResponse>;
3391
4017
  //#endregion
@@ -3642,4 +4268,4 @@ type CookieTokenStoreOptions = {
3642
4268
  };
3643
4269
  declare function createCookieTokenStore(options?: CookieTokenStoreOptions): TokenStore;
3644
4270
  //#endregion
3645
- export { AuthorizeUrl, type BrowserClientConfig, BuildAuthorizeUrlInput, ChargeResult, CookieTokenStoreOptions, type FetchLike, InflightDedup, type Logger, MountPresenceWidgetOptions, NOOP_RATE_LIMITER, OauthErrorCode, OauthPaymentWebhookBody, type OauthScope, PkcePair, PresenceStatus, PresenceWidgetHandle, RateLimitOptions, RateLimiter, SERVER_RATE_LIMIT_MAX_MUTATING, SERVER_RATE_LIMIT_MAX_READ, SERVER_RATE_LIMIT_WINDOW_MS, type SdkBaseConfig, TRON_WS_CLOSE_CODES, type TokenSet, type TokenStore, TronBrowserClient, TronError, TronOauthError, TronWsCloseCode, TronWsCloseError, VerifyWebhookFailure, VerifyWebhookInput, VerifyWebhookResult, VerifyWebhookSuccess, WEBHOOK_SIGNATURE_HEADER, WEBHOOK_TIMESTAMP_HEADER, acceptDeveloperInvite, addAdmin, addAppealBlacklist, addReaction, approveTronCashout, batchThreadDmKeys, bindReferral, buildAuthorizeUrl, cancelFriendRequest, charge, completePaymentIntent, consolidateDeveloperAppWallet, createConsoleLogger, createCookieTokenStore, createDelegation, createDeveloperApiKey, createDeveloperApp, createDirectThread, createInMemoryTokenStore, createInflightDedup, createNoopLogger, createRateLimiter, createReferralCode, createTronCashout, createTronConnectOnboarding, createTronDeposit, decideFriendRequest, declineDeveloperInvite, defaultEndpoints, deleteAppPageBanner, deleteAppPageThumbnail, deleteAppPageThumbnailVideo, deleteAvatar, deleteDelegation, deleteDeveloperApp, deleteDeveloperAppLogo, deleteDeveloperProfileLogo, deleteDeveloperRequestLogo, deleteGameReviewReply, deleteMessage, deleteMyGameReview, deleteThread, deleteThreadLogo, denyPaymentIntent, editMessage, exchangeAuthorizationCode, fetchAuthorizationServerMetadata, fetchUserInfo, fileAppeal, fileAppealPotLeg, followUser, generatePkce, generateState, getActivity, getActivityGroup, getAdminAppealRoom, getAppFeeConfig, getAppPage, getAppPageChanges, getAppealRoom, getDelegation, getDeveloperAppActivity, getDeveloperAppBalances, getDeveloperAppEarnings, getDeveloperAppOverview, getDeveloperAppPage, getDeveloperAppPlaytime, getDeveloperAppTronBalance, getDeveloperAppWallets, getDeveloperPaymentAppeals, getDeveloperPaymentPendingDeposits, getDeveloperStatus, getDeveloperTronBalanceSummary, getDmKeyBackupStatus, getEarningsTimeseries, getIntentStatus, getLibrary, getMeStats, getMoonpayAvailability, getMyDmKey, getMyGameReview, getOutstanding, getPaymentChains, getPaymentHistory, getPaymentIntent, getPaymentLimits, getPaymentPrice, getPlatformFees, getPlaytime, getPlaytimeTimeseries, getPublicProfile, getReferral, getThreadDmKey, getTronBalance, hideAppPage, hideThread, inviteDeveloperAppParticipant, inviteParticipants, leaveThread, listActivePlayers, listAdmins, listAppPages, listAppealBlacklist, listAppealQueue, listAudit, listDeveloperApiKeys, listDeveloperAppContentReports, listDeveloperAppParticipants, listDeveloperAppReviews, listDeveloperInvites, listDeveloperRequests, listDevelopers, listFriends, listGameReviews, listInventory, listInventoryForApp, listNotifications, listPaymentAuthorizations, listSocials, listThreadMessages, listThreads, listTronCashoutQueue, listTronCashouts, listTronLedger, listUsers, listWalletManager, listWallets, markAllNotificationsRead, markThreadRead, mintMoonpayBuyUrl, mintMoonpaySellUrl, mountPresenceWidget, oauthPaymentWebhookBodySchema, pinThread, postAdminAppealRoomMessage, postAppealRoomMessage, previewReferral, provisionDeveloperAppWallet, publishDmKey, refreshAccessToken, rejectTronCashout, removeAdmin, removeAppealBlacklist, removeParticipant, removeReaction, replyToGameReview, requestDeveloperAppProduction, requestMint, resolveAppeal, reviewAppPage, reviewAppPageChanges, reviewDeveloperRequest, revokeDeveloperApiKey, revokeDeveloperAppParticipant, revokePaymentAuthorization, revokeToken, rotateDeveloperAppKey, rotateDeveloperAppPaymentWebhookSecret, rotateProcessorTreasury, searchGiphy, searchUsers, sendFriendRequest, sendMessage, sendPresenceHeartbeat, setProcessorWhitelist, setVaultOperator, setVaultPause, setVaultWithdrawLockDefault, setVaultWithdrawLockOverride, setupDmKeyBackup, sha256Base64Url, signPaymentIntent, submitAppContentReport, submitAppPageForReview, submitDeveloperRequest, toTokenSet, unfollowUser, unhideAppPage, unlockDmKeyBackup, unpinThread, unpublishAppPage, updateAdminRole, updateAppFeeConfig, updateAppPage, updateDeveloperApp, updateDeveloperAppAutoSweep, updateDeveloperAppContentReportStatus, updateDeveloperProfile, updateNotification, updateParticipantRole, updatePaymentAuthorization, updatePlatformFees, updateProfile, updateThreadSettings, updateUserBan, updateWalletLabel, uploadAdminAppealRoomAttachment, uploadAppPageBanner, uploadAppPageGallery, uploadAppPageThumbnail, uploadAppPageThumbnailVideo, uploadAppealRoomAttachment, uploadAttachment, uploadAvatar, uploadDeveloperAppLogo, uploadDeveloperProfileLogo, uploadDeveloperRequestLogo, uploadMultipart, uploadThreadLogo, upsertMyGameReview, verifyWebhook, withdrawDeveloperAppWallet };
4271
+ export { AuthorizeUrl, type BrowserClientConfig, BuildAuthorizeUrlInput, ChargeResult, CookieTokenStoreOptions, type FetchLike, InflightDedup, type Logger, MountPresenceWidgetOptions, NOOP_RATE_LIMITER, OauthErrorCode, OauthPaymentWebhookBody, type OauthScope, PkcePair, PresenceStatus, PresenceWidgetHandle, RateLimitOptions, RateLimiter, SERVER_RATE_LIMIT_MAX_MUTATING, SERVER_RATE_LIMIT_MAX_READ, SERVER_RATE_LIMIT_WINDOW_MS, type SdkBaseConfig, TRON_WS_CLOSE_CODES, type TokenSet, type TokenStore, TronBrowserClient, TronError, TronOauthError, TronWsCloseCode, TronWsCloseError, VerifyWebhookFailure, VerifyWebhookInput, VerifyWebhookResult, VerifyWebhookSuccess, WEBHOOK_SIGNATURE_HEADER, WEBHOOK_TIMESTAMP_HEADER, acceptDeveloperInvite, addAdmin, addAppealBlacklist, addReaction, approveTronCashout, batchThreadDmKeys, bindReferral, buildAuthorizeUrl, cancelFriendRequest, charge, commentOnGameReview, completePaymentIntent, consolidateDeveloperAppWallet, createConsoleLogger, createCookieTokenStore, createDelegation, createDeveloperApiKey, createDeveloperApp, createDeveloperAppMintPermit, createDeveloperVaultPermit, createDeveloperWithdrawPermit, createDirectThread, createInMemoryTokenStore, createInflightDedup, createNoopLogger, createRateLimiter, createReferralCode, createTronCashout, createTronConnectOnboarding, createTronDeposit, createTronTransfer, createTronTransferChallenge, decideFriendRequest, declineDeveloperInvite, defaultEndpoints, deleteAppPageBanner, deleteAppPageThumbnail, deleteAppPageThumbnailVideo, deleteAvatar, deleteDelegation, deleteDeveloperApp, deleteDeveloperAppLogo, deleteDeveloperProfileLogo, deleteDeveloperRequestLogo, deleteGameReviewComment, deleteGameReviewReply, deleteMessage, deleteMyGameReview, deleteThread, deleteThreadLogo, denyPaymentIntent, editMessage, exchangeAuthorizationCode, executeNftTransfer, fetchAuthorizationServerMetadata, fetchUserInfo, fileAppeal, fileAppealPotLeg, followUser, forceWithdrawVaultCustody, generatePkce, generateState, getActivity, getActivityGroup, getAdminAppealRoom, getAppFeeConfig, getAppPage, getAppPageChanges, getAppealRoom, getDelegation, getDeveloperAppActivity, getDeveloperAppBalances, getDeveloperAppEarnings, getDeveloperAppInventoryItemHolders, getDeveloperAppOverview, getDeveloperAppPage, getDeveloperAppPlaytime, getDeveloperAppTronBalance, getDeveloperAppWallets, getDeveloperPaymentAppeals, getDeveloperPaymentPendingDeposits, getDeveloperStatus, getDeveloperTronBalanceSummary, getDmKeyBackupStatus, getEarningsTimeseries, getIntentStatus, getLibrary, getMeStats, getMoonpayAvailability, getMyDmKey, getMyGameReview, getMyGameReviewReactions, getOutstanding, getPaymentChains, getPaymentHistory, getPaymentIntent, getPaymentLimits, getPaymentPrice, getPlatformFees, getPlaytime, getPlaytimeTimeseries, getPublicProfile, getReferral, getThreadDmKey, getTronBalance, getTronSecurity, hideAppPage, hideThread, inviteDeveloperAppParticipant, inviteParticipants, leaveThread, listActivePlayers, listAdmins, listAppPages, listAppealBlacklist, listAppealQueue, listAudit, listDeveloperApiKeys, listDeveloperAppContentReports, listDeveloperAppInventoryCollections, listDeveloperAppInventoryItems, listDeveloperAppParticipants, listDeveloperAppReviews, listDeveloperInvites, listDeveloperRequests, listDevelopers, listFriends, listGameReviewComments, listGameReviews, listInventory, listInventoryForApp, listInventoryMintPermits, listInventoryVaultPermits, listInventoryVaulted, listNotifications, listOauthInventoryVaulted, listPaymentAuthorizations, listSocials, listThreadMessages, listThreads, listTronCashoutQueue, listTronCashouts, listTronLedger, listUsers, listWalletManager, listWallets, markAllNotificationsRead, markThreadRead, mintMoonpayBuyUrl, mintMoonpaySellUrl, mountPresenceWidget, oauthPaymentWebhookBodySchema, pinThread, postAdminAppealRoomMessage, postAppealRoomMessage, previewReferral, provisionDeveloperAppWallet, publishDmKey, quoteDeveloperAppInventoryRegistration, quoteNftTransfer, quoteRelayedVaultPermit, redeemInventoryMintPermit, refreshAccessToken, registerDeveloperAppInventoryItem, rejectTronCashout, removeAdmin, removeAppealBlacklist, removeFriend, removeParticipant, removeReaction, replyToGameReview, requestDeveloperAppProduction, requestMint, resolveAppeal, reviewAppPage, reviewAppPageChanges, reviewDeveloperRequest, revokeDeveloperApiKey, revokeDeveloperAppParticipant, revokePaymentAuthorization, revokeToken, rotateDeveloperAppKey, rotateDeveloperAppPaymentWebhookSecret, rotateProcessorTreasury, searchGiphy, searchUsers, sendFriendRequest, sendMessage, sendPresenceHeartbeat, setMyGameReviewReaction, setProcessorWhitelist, setTronSecurity, setVaultOperator, setVaultPause, setVaultWithdrawLockDefault, setVaultWithdrawLockOverride, setupDmKeyBackup, sha256Base64Url, signInventoryVaultPermit, signPaymentIntent, submitAppContentReport, submitAppPageForReview, submitDeveloperRequest, submitRelayedVaultPermit, tipGameReview, toTokenSet, unfollowUser, unhideAppPage, unlockDmKeyBackup, unpinThread, unpublishAppPage, updateAdminRole, updateAppFeeConfig, updateAppPage, updateDeveloperApp, updateDeveloperAppAutoSweep, updateDeveloperAppContentReportStatus, updateDeveloperProfile, updateNotification, updateParticipantRole, updatePaymentAuthorization, updatePlatformFees, updateProfile, updateThreadSettings, updateUserBan, updateWalletLabel, uploadAdminAppealRoomAttachment, uploadAppPageBanner, uploadAppPageGallery, uploadAppPageThumbnail, uploadAppPageThumbnailVideo, uploadAppealRoomAttachment, uploadAttachment, uploadAvatar, uploadDeveloperAppInventoryItemBanner, uploadDeveloperAppInventoryItemImage, uploadDeveloperAppLogo, uploadDeveloperProfileLogo, uploadDeveloperRequestLogo, uploadMultipart, uploadThreadLogo, upsertMyGameReview, verifyWebhook, withdrawDeveloperAppWallet };