@metatrongg/sdk 0.8.0-dev.43c7d53 → 0.8.0-dev.4ac3e68

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.
@@ -114,7 +114,7 @@ type Username = string;
114
114
  type DisplayName = string | null;
115
115
  type Bio = string | null;
116
116
  type WebsiteUrl = string | null;
117
- type BannerVariant = "yellow" | "green" | "blue" | "white" | "black";
117
+ type BannerVariant = "yellow" | "green" | "blue" | "white" | "black" | "red";
118
118
  type AdminRole = "super-admin" | "admin" | "read-only" | null;
119
119
  type PresenceStatusMode = "auto" | "online" | "offline";
120
120
  type PlatformEnvironment = "development" | "production";
@@ -129,7 +129,7 @@ type OauthAuthorizationServerMetadata = {
129
129
  grant_types_supported: Array<"authorization_code" | "refresh_token" | "client_credentials">;
130
130
  code_challenge_methods_supported: Array<"S256">;
131
131
  token_endpoint_auth_methods_supported: Array<"client_secret_basic" | "client_secret_post" | "none">;
132
- scopes_supported: Array<"openid" | "profile" | "payments:charge" | "inventory:read" | "developer:read" | "developer:apps" | "developer:pages">;
132
+ scopes_supported: Array<"openid" | "profile" | "payments:charge" | "inventory:read" | "social:read" | "developer:read" | "developer:apps" | "developer:pages">;
133
133
  };
134
134
  type OauthClientRegistrationResponse = {
135
135
  client_id: string;
@@ -169,7 +169,9 @@ type OauthErrorResponse = {
169
169
  type OauthUserInfoResponse = {
170
170
  sub: string;
171
171
  name: string | null;
172
+ preferred_username: string | null;
172
173
  picture: string | null;
174
+ wallet_address: string | null;
173
175
  };
174
176
  type OauthPaymentChargeResponse = ({
175
177
  status: "completed";
@@ -288,6 +290,7 @@ type OauthPaymentIntentContext = {
288
290
  studioXHandle: string | null;
289
291
  };
290
292
  } | null;
293
+ environment: "development" | "production";
291
294
  };
292
295
  type OauthPaymentIntentSignResponse = {
293
296
  chain: string;
@@ -408,6 +411,7 @@ type AppPageLink = {
408
411
  order: number;
409
412
  };
410
413
  type PublicAppPageStudio = {
414
+ ownerUserId: string | null;
411
415
  name: string | null;
412
416
  logoUrl: string | null;
413
417
  websiteUrl: string | null;
@@ -420,6 +424,30 @@ type AppPageAgeRating = "everyone" | "13_plus" | "16_plus" | "18_plus" | null;
420
424
  type AppPageLanguages = Array<"en" | "es" | "fr" | "de" | "pt" | "it" | "ru" | "ja" | "ko" | "zh" | "hi" | "ar" | "tr" | "vi" | "id" | "th" | "pl" | "nl">;
421
425
  type AppPageReleaseStatus = "live" | "open_beta" | "coming_soon";
422
426
  type AppPagePaymentsMode = "tron" | "onchain" | "both" | null;
427
+ type PublicBipPage = {
428
+ appId: string;
429
+ slug: AppPageSlug;
430
+ appName: string;
431
+ appLogoUrl: string | null;
432
+ categories: AppPageCategories;
433
+ tagline: AppPageTagline;
434
+ bannerUrl: string | null;
435
+ discordUrl: string | null;
436
+ twitterUrl: string | null;
437
+ redditUrl: string | null;
438
+ telegramUrl: string | null;
439
+ gallery: AppPageGallery;
440
+ chapters: AppPageChapters;
441
+ links: AppPageLinks;
442
+ studio: PublicAppPageStudio;
443
+ platforms: AppPagePlatforms;
444
+ gameType: AppPageGameType;
445
+ ageRating: AppPageAgeRating;
446
+ languages: AppPageLanguages;
447
+ releaseStatus: AppPageReleaseStatus;
448
+ publishedAt: string;
449
+ updatedAt: string;
450
+ };
423
451
  type ReviewListResponse = {
424
452
  aggregate: ReviewAggregate;
425
453
  reviews: Array<Review>;
@@ -427,38 +455,49 @@ type ReviewListResponse = {
427
455
  hasMore: boolean;
428
456
  };
429
457
  type ReviewAggregate = {
430
- average: number | null;
431
458
  count: number;
432
- distribution: ReviewDistribution;
433
- };
434
- type ReviewDistribution = {
435
- 1: number;
436
- 2: number;
437
- 3: number;
438
- 4: number;
439
- 5: number;
459
+ recommendedCount: number;
460
+ recommendedPct: number | null;
461
+ summaryLabel: ReviewSummaryLabel;
440
462
  };
463
+ type ReviewSummaryLabel = "overwhelmingly_positive" | "very_positive" | "positive" | "mostly_positive" | "mixed" | "mostly_negative" | "negative" | "overwhelmingly_negative" | null;
441
464
  type Review = {
442
465
  id: string;
443
- rating: ReviewRating;
466
+ recommended: ReviewRecommended;
444
467
  body: ReviewBody;
468
+ reactions: ReviewReactionCounts;
469
+ tippedCents: number;
470
+ commentCount: number;
445
471
  author: ReviewAuthor;
472
+ authorStats: ReviewerStats;
446
473
  developerReply: ReviewReply;
447
474
  createdAt: string;
448
475
  updatedAt: string;
449
476
  };
450
- type ReviewRating = number;
477
+ type ReviewRecommended = boolean;
451
478
  type ReviewBody = string;
479
+ type ReviewReactionCounts = {
480
+ helpful: number;
481
+ unhelpful: number;
482
+ funny: number;
483
+ };
452
484
  type ReviewAuthor = {
485
+ userId: string;
486
+ handle: string | null;
453
487
  name: string | null;
454
488
  avatarUrl: string | null;
455
489
  };
490
+ type ReviewerStats = {
491
+ playtimeSecondsThisGame: number;
492
+ gamesPlayed: number;
493
+ reviewsWritten: number;
494
+ };
456
495
  type ReviewReply = {
457
496
  body: ReviewReplyBody;
458
497
  repliedAt: string;
459
498
  } | null;
460
499
  type ReviewReplyBody = string;
461
- type ReviewSort = "newest" | "oldest" | "highest" | "lowest";
500
+ type ReviewSort = "newest" | "oldest" | "helpful";
462
501
  type MyReviewResponse = {
463
502
  eligible: boolean;
464
503
  eligibleVia: ReviewEligibilityReason;
@@ -468,15 +507,67 @@ type MyReviewResponse = {
468
507
  type ReviewEligibilityReason = "payment" | "reward" | null;
469
508
  type OwnReview = {
470
509
  id: string;
471
- rating: ReviewRating;
510
+ recommended: ReviewRecommended;
472
511
  body: ReviewBody;
473
512
  createdAt: string;
474
513
  updatedAt: string;
475
514
  } | null;
476
515
  type UpsertReviewRequest = {
477
- rating: ReviewRating;
516
+ recommended: ReviewRecommended;
478
517
  body: ReviewBody;
479
518
  };
519
+ type MyReviewReactionsResponse = {
520
+ reactions: Array<MyReviewReaction>;
521
+ };
522
+ type MyReviewReaction = {
523
+ reviewId: string;
524
+ vote: ReviewVote;
525
+ funny: boolean;
526
+ };
527
+ type ReviewVote = "helpful" | "unhelpful" | null;
528
+ type SetReviewReactionResponse = {
529
+ reactions: ReviewReactionCounts;
530
+ vote: ReviewVote;
531
+ funny: boolean;
532
+ };
533
+ type SetReviewReactionRequest = {
534
+ vote: ReviewVote;
535
+ funny: boolean;
536
+ };
537
+ type TipReviewResponse = {
538
+ status: "completed";
539
+ amountCents: number;
540
+ balanceCents: number;
541
+ tippedCents: number;
542
+ };
543
+ type TipReviewRequest = {
544
+ amountCents: number;
545
+ note?: string;
546
+ challengeId?: string;
547
+ signature?: string;
548
+ };
549
+ type ReviewCommentListResponse = {
550
+ comments: Array<ReviewComment>;
551
+ total: number;
552
+ hasMore: boolean;
553
+ };
554
+ type ReviewComment = {
555
+ id: string;
556
+ body: ReviewCommentBody;
557
+ author: ReviewAuthor;
558
+ createdAt: string;
559
+ };
560
+ type ReviewCommentBody = string;
561
+ type CreateReviewCommentResponse = {
562
+ comment: ReviewComment;
563
+ commentCount: number;
564
+ };
565
+ type CreateReviewCommentRequest = {
566
+ body: ReviewCommentBody;
567
+ };
568
+ type DeleteReviewCommentResponse = {
569
+ commentCount: number;
570
+ };
480
571
  type ReviewReplyResponse = {
481
572
  developerReply: ReviewReply;
482
573
  };
@@ -581,8 +672,12 @@ type ActivityRow = ({
581
672
  } & ActivityRowTronPot) | ({
582
673
  kind: "tron_cashout";
583
674
  } & ActivityRowTronCashout) | ({
675
+ kind: "tron_transfer";
676
+ } & ActivityRowTronTransfer) | ({
584
677
  kind: "referral_earning";
585
- } & ActivityRowReferralEarning);
678
+ } & ActivityRowReferralEarning) | ({
679
+ kind: "nft_charge";
680
+ } & ActivityRowNftCharge);
586
681
  type ActivityRowPayment = {
587
682
  kind: "payment";
588
683
  groupId: string | null;
@@ -864,6 +959,20 @@ type ActivityRowTronCashout = {
864
959
  rejectionReason: string | null;
865
960
  settledAt: string | null;
866
961
  };
962
+ type ActivityRowTronTransfer = {
963
+ kind: "tron_transfer";
964
+ groupId: string | null;
965
+ id: string;
966
+ occurredAt: string;
967
+ role: "incoming" | "outgoing";
968
+ amountCents: number;
969
+ usdCents: number;
970
+ status: "settled";
971
+ counterpartyUserId: string | null;
972
+ counterpartyHandle: string | null;
973
+ counterpartyDisplayName: string | null;
974
+ note: string | null;
975
+ };
867
976
  type ActivityRowReferralEarning = {
868
977
  kind: "referral_earning";
869
978
  groupId: string | null;
@@ -880,6 +989,22 @@ type ActivityRowReferralEarning = {
880
989
  logIndex: number;
881
990
  usdCents: number | null;
882
991
  };
992
+ type ActivityRowNftCharge = {
993
+ kind: "nft_charge";
994
+ groupId: string | null;
995
+ id: string;
996
+ occurredAt: string;
997
+ role: "outgoing";
998
+ chargeKind: "registration" | "mint" | "transfer_gas";
999
+ amountCents: number;
1000
+ usdCents: number;
1001
+ status: "settled";
1002
+ collectionAddress: string | null;
1003
+ tokenId: string | null;
1004
+ counterpartyUserId: string | null;
1005
+ counterpartyHandle: string | null;
1006
+ counterpartyDisplayName: string | null;
1007
+ };
883
1008
  type OutstandingResponse = {
884
1009
  rows: Array<OutstandingByToken>;
885
1010
  };
@@ -929,7 +1054,7 @@ type TronLedgerResponse = {
929
1054
  };
930
1055
  type TronLedgerEntry = {
931
1056
  id: string;
932
- kind: "deposit" | "pot_stake" | "pot_payout" | "dev_earning" | "cashout_hold" | "cashout_release" | "dispute_freeze" | "dispute_unfreeze" | "hosted_billing" | "store_purchase" | "referral_earning";
1057
+ 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";
933
1058
  amountCents: number;
934
1059
  currency: string;
935
1060
  createdAt: string;
@@ -944,6 +1069,45 @@ type TronDepositResponse = {
944
1069
  type TronDepositRequest = {
945
1070
  amountCents: number;
946
1071
  };
1072
+ type TronTransferResponse = {
1073
+ status: "completed";
1074
+ amountCents: number;
1075
+ balanceCents: number;
1076
+ recipient: {
1077
+ userId: string;
1078
+ handle: string | null;
1079
+ displayName: string | null;
1080
+ };
1081
+ };
1082
+ type TronTransferRequest = {
1083
+ recipientUserId: string;
1084
+ amountCents: number;
1085
+ note?: string;
1086
+ challengeId?: string;
1087
+ signature?: string;
1088
+ threadId?: string;
1089
+ };
1090
+ type TronSecuritySetting = {
1091
+ requireSignature: boolean;
1092
+ };
1093
+ type TronTransferChallengeResponse = ({
1094
+ required: false;
1095
+ } & TronTransferChallengeNotRequired) | ({
1096
+ required: true;
1097
+ } & TronTransferChallengeRequired);
1098
+ type TronTransferChallengeNotRequired = {
1099
+ required: false;
1100
+ };
1101
+ type TronTransferChallengeRequired = {
1102
+ required: true;
1103
+ challengeId: string;
1104
+ message: string;
1105
+ expiresAt: string;
1106
+ };
1107
+ type TronTransferChallengeRequest = {
1108
+ recipientUserId: string;
1109
+ amountCents: number;
1110
+ };
947
1111
  type TronGameBalanceResponse = {
948
1112
  balanceCents: number;
949
1113
  rakeBps: number;
@@ -1186,6 +1350,7 @@ type ThreadLastMessagePreview = {
1186
1350
  url: string;
1187
1351
  count: number;
1188
1352
  } | null;
1353
+ transaction?: MessageTransactionTronTransfer | MessageTransactionNftTransfer | null;
1189
1354
  sentAt: string;
1190
1355
  } | null;
1191
1356
  type MessageEnvelope = {
@@ -1197,6 +1362,20 @@ type MessageEnvelope = {
1197
1362
  iv: string;
1198
1363
  ct: string;
1199
1364
  } | null;
1365
+ type MessageTransactionTronTransfer = {
1366
+ kind: "tron_transfer";
1367
+ amountCents: number;
1368
+ recipientUserId: string;
1369
+ };
1370
+ type MessageTransactionNftTransfer = {
1371
+ kind: "nft_transfer";
1372
+ recipientUserId: string;
1373
+ collectionAddress: string;
1374
+ tokenId: string;
1375
+ amount: string;
1376
+ itemName: string | null;
1377
+ imageAssetId?: string | null;
1378
+ };
1200
1379
  type GroupThreadSummary = {
1201
1380
  kind: "group";
1202
1381
  id: string;
@@ -1243,6 +1422,7 @@ type MessageItem = {
1243
1422
  id: string;
1244
1423
  threadId: string;
1245
1424
  senderUserId: string;
1425
+ transaction?: MessageTransactionTronTransfer | MessageTransactionNftTransfer | null;
1246
1426
  body: string;
1247
1427
  envelope?: MessageEnvelope;
1248
1428
  sentAt: string;
@@ -1433,11 +1613,45 @@ type InventoryHolding = {
1433
1613
  tokenId: string;
1434
1614
  amount: string;
1435
1615
  name: string | null;
1616
+ description: string | null;
1436
1617
  imageAssetId: string | null;
1437
1618
  bannerAssetId: string | null;
1438
1619
  devMetadata: {
1439
1620
  [key: string]: unknown;
1440
1621
  };
1622
+ appId: string | null;
1623
+ appName: string | null;
1624
+ appLogoUrl: string | null;
1625
+ };
1626
+ type InventoryPendingPermitListResponse = {
1627
+ permits: Array<InventoryPendingPermit>;
1628
+ };
1629
+ type InventoryPendingPermit = {
1630
+ id: string;
1631
+ appId: string;
1632
+ itemId: string;
1633
+ amount: string;
1634
+ priceCents: number | null;
1635
+ gasSponsored: boolean;
1636
+ environment: "development" | "production";
1637
+ createdAt: string;
1638
+ tokenId: string;
1639
+ name: string | null;
1640
+ description: string | null;
1641
+ imageAssetId: string | null;
1642
+ chain: string;
1643
+ collectionAddress: string;
1644
+ kind: "erc721" | "erc1155";
1645
+ };
1646
+ type InventoryPermitRedeemResult = {
1647
+ mint: MintRequestResult;
1648
+ charge: {
1649
+ currency: "tron";
1650
+ gasCents: number;
1651
+ priceCents: number;
1652
+ totalCents: number;
1653
+ gasPaidBy: "user" | "developer";
1654
+ };
1441
1655
  };
1442
1656
  type MintRequestResult = {
1443
1657
  mintRequestId: string;
@@ -1453,6 +1667,247 @@ type MintRequestInput = {
1453
1667
  tokenId?: string;
1454
1668
  amount?: string;
1455
1669
  };
1670
+ type InventoryCollectionListResponse = {
1671
+ collections: Array<InventoryCollectionSummary>;
1672
+ };
1673
+ type InventoryCollectionSummary = {
1674
+ id: string;
1675
+ chain: string;
1676
+ collectionAddress: string;
1677
+ kind: "erc721" | "erc1155";
1678
+ name: string | null;
1679
+ environment: "development" | "production";
1680
+ };
1681
+ type InventoryRegistrationQuote = {
1682
+ itemCount: number;
1683
+ baselineUsdCents: number;
1684
+ gasUsdCents: number;
1685
+ tron: {
1686
+ baselineCents: number;
1687
+ gasCents: number;
1688
+ totalCents: number;
1689
+ };
1690
+ eth: {
1691
+ baselineWei: string;
1692
+ gasWei: string;
1693
+ totalWei: string;
1694
+ };
1695
+ };
1696
+ type InventoryItemRegistrationInput = {
1697
+ collectionAddress: string;
1698
+ chain: string;
1699
+ items: Array<InventoryItemRegistrationSpec>;
1700
+ };
1701
+ type InventoryItemRegistrationSpec = {
1702
+ name?: string | null;
1703
+ description?: string | null;
1704
+ devMetadata?: {
1705
+ [key: string]: unknown;
1706
+ };
1707
+ supplyType?: InventorySupplyType;
1708
+ maxSupply?: string | null;
1709
+ active?: boolean;
1710
+ };
1711
+ type InventorySupplyType = "capped" | "flexible" | "unlimited";
1712
+ type InventoryItemRegistrationResult = {
1713
+ items: Array<InventoryItemRecord>;
1714
+ charge: {
1715
+ currency: "tron";
1716
+ amountCents: number;
1717
+ baselineCents: number;
1718
+ gasCents: number;
1719
+ addItemTxHash: string;
1720
+ };
1721
+ };
1722
+ type InventoryItemRecord = {
1723
+ id: string;
1724
+ collectionId: string;
1725
+ collectionAddress: string;
1726
+ chain: string;
1727
+ kind: "erc721" | "erc1155";
1728
+ tokenId: string;
1729
+ name: string | null;
1730
+ description: string | null;
1731
+ imageAssetId: string | null;
1732
+ bannerAssetId: string | null;
1733
+ devMetadata: {
1734
+ [key: string]: unknown;
1735
+ };
1736
+ supplyType: InventorySupplyType | null;
1737
+ maxSupply: string | null;
1738
+ active: boolean;
1739
+ };
1740
+ type InventoryItemListResponse = {
1741
+ items: Array<InventoryItemRecord>;
1742
+ };
1743
+ type InventoryMintPermitRecord = {
1744
+ id: string;
1745
+ appId: string;
1746
+ itemId: string;
1747
+ userId: string;
1748
+ amount: string;
1749
+ priceCents: number | null;
1750
+ gasSponsored: boolean;
1751
+ status: "pending" | "redeemed" | "revoked";
1752
+ createdAt: string;
1753
+ };
1754
+ type InventoryMintPermitCreateInput = {
1755
+ toUserId: string;
1756
+ amount?: string;
1757
+ priceCents?: number | null;
1758
+ gasSponsored?: boolean;
1759
+ };
1760
+ type InventoryItemHoldersResponse = {
1761
+ stats: InventoryItemStats;
1762
+ holders: Array<InventoryItemHolder>;
1763
+ };
1764
+ type InventoryItemStats = {
1765
+ holderCount: number;
1766
+ walletCount: number;
1767
+ totalHeld: string;
1768
+ };
1769
+ type InventoryItemHolder = {
1770
+ walletAddress: string;
1771
+ userId: string | null;
1772
+ amount: string;
1773
+ };
1774
+ type InventoryVaultPermitRecord = {
1775
+ id: string;
1776
+ appId: string;
1777
+ itemId: string;
1778
+ userId: string;
1779
+ direction: "vault_in" | "withdraw";
1780
+ lockKind: "vault" | "burn" | null;
1781
+ amount: string;
1782
+ gasSponsored: boolean;
1783
+ status: "pending" | "redeemed" | "revoked";
1784
+ custodyId: string | null;
1785
+ createdAt: string;
1786
+ };
1787
+ type InventoryVaultPermitCreateInput = {
1788
+ toUserId: string;
1789
+ lockKind: "vault" | "burn";
1790
+ amount?: string;
1791
+ gasSponsored?: boolean;
1792
+ };
1793
+ type InventoryWithdrawPermitCreateInput = {
1794
+ custodyId: string;
1795
+ };
1796
+ type InventoryPendingVaultPermitListResponse = {
1797
+ permits: Array<InventoryPendingVaultPermit>;
1798
+ };
1799
+ type InventoryPendingVaultPermit = {
1800
+ id: string;
1801
+ appId: string;
1802
+ itemId: string;
1803
+ direction: "vault_in" | "withdraw";
1804
+ lockKind: "vault" | "burn" | null;
1805
+ amount: string;
1806
+ gasSponsored: boolean;
1807
+ environment: "development" | "production";
1808
+ custodyId: string | null;
1809
+ createdAt: string;
1810
+ tokenId: string;
1811
+ name: string | null;
1812
+ description: string | null;
1813
+ imageAssetId: string | null;
1814
+ chain: string;
1815
+ collectionAddress: string;
1816
+ kind: "erc721" | "erc1155";
1817
+ };
1818
+ type InventorySignedVaultPermit = {
1819
+ permitId: string;
1820
+ direction: "vault_in" | "withdraw";
1821
+ vault: string;
1822
+ collection: string;
1823
+ user: string;
1824
+ tokenId: string;
1825
+ amount: string;
1826
+ lockKind: "vault" | "burn" | null;
1827
+ destination: string | null;
1828
+ deadline: number;
1829
+ signature: string;
1830
+ };
1831
+ type InventoryRelayedVaultQuoteResponse = {
1832
+ direction: "vault_in" | "withdraw";
1833
+ collection: string;
1834
+ vault: string;
1835
+ chainId: number;
1836
+ user: string;
1837
+ tokenId: string;
1838
+ amount: string;
1839
+ nonce: string | null;
1840
+ deadline: number;
1841
+ feeCents: number;
1842
+ gasWei: string;
1843
+ gasPaidBy: "developer" | "user";
1844
+ requiresUserSignature: boolean;
1845
+ };
1846
+ type InventoryRelayedVaultSubmitResponse = {
1847
+ ok: boolean;
1848
+ txHash: string;
1849
+ chargedCents: number;
1850
+ gasPaidBy: "developer" | "user";
1851
+ };
1852
+ type InventoryRelayedVaultSubmitRequest = {
1853
+ userSignature?: string;
1854
+ deadline?: number;
1855
+ };
1856
+ type InventoryNftTransferQuoteResponse = {
1857
+ collection: string;
1858
+ chainId: number;
1859
+ from: string;
1860
+ to: string;
1861
+ tokenId: string;
1862
+ amount: string;
1863
+ nonce: string;
1864
+ deadline: number;
1865
+ feeCents: number;
1866
+ gasWei: string;
1867
+ selfPayAvailable: boolean;
1868
+ };
1869
+ type InventoryNftTransferQuoteRequest = {
1870
+ toUserId: string;
1871
+ collection: string;
1872
+ tokenId: string;
1873
+ amount?: string;
1874
+ };
1875
+ type InventoryNftTransferResponse = {
1876
+ ok: boolean;
1877
+ txHash: string;
1878
+ chargedCents: number;
1879
+ };
1880
+ type InventoryNftTransferRequest = {
1881
+ toUserId: string;
1882
+ collection: string;
1883
+ tokenId: string;
1884
+ amount?: string;
1885
+ deadline: number;
1886
+ userSignature: string;
1887
+ threadId?: string;
1888
+ };
1889
+ type InventoryVaultCustodyListResponse = {
1890
+ custody: Array<InventoryVaultCustody>;
1891
+ };
1892
+ type InventoryVaultCustody = {
1893
+ id: string;
1894
+ collectionId: string;
1895
+ collectionAddress: string;
1896
+ chain: string;
1897
+ kind: "erc721" | "erc1155";
1898
+ tokenId: string;
1899
+ amount: string;
1900
+ lockKind: "vault" | "burn";
1901
+ vaultAddress: string;
1902
+ createdAt: string;
1903
+ name: string | null;
1904
+ description: string | null;
1905
+ imageAssetId: string | null;
1906
+ };
1907
+ type InventoryVaultForceWithdrawResponse = {
1908
+ ok: boolean;
1909
+ txHash: string;
1910
+ };
1456
1911
  type NotificationListResponse = {
1457
1912
  notifications: Array<NotificationItem>;
1458
1913
  unreadCount: number;
@@ -1511,12 +1966,12 @@ type FriendAcceptedNotificationPayload = {
1511
1966
  type AppPageApprovedNotificationPayload = {
1512
1967
  appId: string;
1513
1968
  appName: string;
1514
- scope: "publish" | "changes";
1969
+ scope: "publish" | "changes" | "bip_publish";
1515
1970
  };
1516
1971
  type AppPageRejectedNotificationPayload = {
1517
1972
  appId: string;
1518
1973
  appName: string;
1519
- scope: "publish" | "changes";
1974
+ scope: "publish" | "changes" | "bip_publish";
1520
1975
  notes: string;
1521
1976
  };
1522
1977
  type AppParticipantInviteNotificationPayload = {
@@ -1548,6 +2003,9 @@ type FriendListItem = {
1548
2003
  onlineStatus: OnlineStatus;
1549
2004
  };
1550
2005
  type OnlineStatus = "online" | "offline";
2006
+ type AppFriendListResponse = {
2007
+ friends: Array<ThreadParticipant>;
2008
+ };
1551
2009
  type FriendRequestDecision = {
1552
2010
  decision: "accept" | "reject";
1553
2011
  };
@@ -1620,7 +2078,7 @@ type ProfileRecentReview = {
1620
2078
  appId: string;
1621
2079
  appName: string;
1622
2080
  appLogoUrl: string | null;
1623
- rating: number;
2081
+ recommended: boolean;
1624
2082
  body: string;
1625
2083
  createdAt: string;
1626
2084
  };
@@ -1677,6 +2135,7 @@ type CreateDeveloperAppChain = {
1677
2135
  };
1678
2136
  type UpdateDeveloperApp = {
1679
2137
  name?: DeveloperAppName;
2138
+ slug?: AppPageSlug | null;
1680
2139
  logoUrl?: string | null;
1681
2140
  testAccess?: "private" | "public";
1682
2141
  redirectUris?: Array<string>;
@@ -1925,6 +2384,7 @@ type DeveloperProductionRequestPayload = {
1925
2384
  type DeveloperAppItem = {
1926
2385
  id: string;
1927
2386
  name: DeveloperAppName;
2387
+ slug: AppPageSlug | null;
1928
2388
  logoUrl: string | null;
1929
2389
  environment: "development" | "production";
1930
2390
  productionApprovedAt: string | null;
@@ -1987,9 +2447,18 @@ type AppPageDraft = {
1987
2447
  hiddenAt: string | null;
1988
2448
  hiddenReasonPublic: string | null;
1989
2449
  pendingReview: boolean;
2450
+ bip: AppPageBipState;
2451
+ };
2452
+ type AppPageBipState = {
2453
+ enabled: boolean;
2454
+ status: "draft" | "pending_review" | "published" | "hidden";
2455
+ firstPublishedAt: string | null;
2456
+ reviewedAt: string | null;
2457
+ reviewNotes: string | null;
2458
+ hiddenAt: string | null;
2459
+ hiddenReasonPublic: string | null;
1990
2460
  };
1991
2461
  type UpdateAppPage = {
1992
- slug?: AppPageSlug | null;
1993
2462
  categories?: AppPageCategories;
1994
2463
  tagline?: AppPageTagline | null;
1995
2464
  bannerUrl?: string | null;
@@ -2012,6 +2481,9 @@ type UpdateAppPage = {
2012
2481
  type AppPageGalleryUploadResponse = {
2013
2482
  url: string;
2014
2483
  };
2484
+ type AppPageBipToggle = {
2485
+ enabled: boolean;
2486
+ };
2015
2487
  type AdminActivePlayersResponse = {
2016
2488
  players: Array<AdminActivePlayer>;
2017
2489
  total: number;
@@ -2150,6 +2622,10 @@ type AdminAppPageItem = {
2150
2622
  hiddenAt: string | null;
2151
2623
  hiddenReasonInternal: string | null;
2152
2624
  pendingChangesSubmittedAt: string | null;
2625
+ bipEnabled: boolean;
2626
+ bipStatus: "draft" | "pending_review" | "published" | "hidden";
2627
+ bipFirstPublishedAt: string | null;
2628
+ bipHiddenAt: string | null;
2153
2629
  };
2154
2630
  type AdminAppPageStatusResponse = {
2155
2631
  status: "draft" | "pending_review" | "published" | "hidden";
@@ -2175,6 +2651,9 @@ type AdminAppPageDiffField = {
2175
2651
  from: string;
2176
2652
  to: string;
2177
2653
  };
2654
+ type AdminAppPageBipStatusResponse = {
2655
+ bipStatus: "draft" | "pending_review" | "published" | "hidden";
2656
+ };
2178
2657
  type PlatformFeesResponse = {
2179
2658
  purchaseFeeBps: number;
2180
2659
  stakeFeeBps: number;
@@ -2526,7 +3005,7 @@ declare function listActivePlayers(context: TransportContext, input: {
2526
3005
  //#region src/admin/app-pages.d.ts
2527
3006
  declare function listAppPages(context: TransportContext, input: {
2528
3007
  readonly bearer: string;
2529
- readonly status?: "draft" | "pending_review" | "published" | "hidden" | "all" | "pending_changes";
3008
+ readonly status?: "draft" | "pending_review" | "published" | "hidden" | "all" | "pending_changes" | "bip_pending_review";
2530
3009
  }): Promise<AdminAppPageListResponse>;
2531
3010
  declare function getAppPageChanges(context: TransportContext, input: {
2532
3011
  readonly bearer: string;
@@ -2551,6 +3030,20 @@ declare function reviewAppPage(context: TransportContext, input: {
2551
3030
  readonly appId: string;
2552
3031
  readonly body: ReviewAppPage;
2553
3032
  }): Promise<AdminAppPageStatusResponse>;
3033
+ declare function reviewAppPageBip(context: TransportContext, input: {
3034
+ readonly bearer: string;
3035
+ readonly appId: string;
3036
+ readonly body: ReviewAppPage;
3037
+ }): Promise<AdminAppPageBipStatusResponse>;
3038
+ declare function hideAppPageBip(context: TransportContext, input: {
3039
+ readonly bearer: string;
3040
+ readonly appId: string;
3041
+ readonly body: HideAppPage;
3042
+ }): Promise<AdminAppPageBipStatusResponse>;
3043
+ declare function unhideAppPageBip(context: TransportContext, input: {
3044
+ readonly bearer: string;
3045
+ readonly appId: string;
3046
+ }): Promise<AdminAppPageBipStatusResponse>;
2554
3047
  //#endregion
2555
3048
  //#region src/admin/appeals.d.ts
2556
3049
  declare function listAppealQueue(context: TransportContext, input: {
@@ -2597,6 +3090,12 @@ declare function listDevelopers(context: TransportContext, input: {
2597
3090
  readonly bearer: string;
2598
3091
  }): Promise<AdminDeveloperListResponse>;
2599
3092
  //#endregion
3093
+ //#region src/admin/inventory-vault.d.ts
3094
+ declare function forceWithdrawVaultCustody(context: TransportContext, input: {
3095
+ readonly bearer: string;
3096
+ readonly custodyId: string;
3097
+ }): Promise<InventoryVaultForceWithdrawResponse>;
3098
+ //#endregion
2600
3099
  //#region src/admin/payments.d.ts
2601
3100
  declare function getPlatformFees(context: TransportContext, input: {
2602
3101
  readonly bearer: string;
@@ -2715,6 +3214,19 @@ declare function getAppPage(context: TransportContext, input: {
2715
3214
  readonly slug: string;
2716
3215
  }): Promise<PublicAppPage>;
2717
3216
  //#endregion
3217
+ //#region src/catalog/build-in-public.d.ts
3218
+ declare function getBipDirectory(context: TransportContext, input: {
3219
+ readonly bearer?: string;
3220
+ readonly genre?: string;
3221
+ readonly q?: string;
3222
+ readonly before?: string;
3223
+ readonly limit?: number;
3224
+ }): Promise<LibraryListResponse>;
3225
+ declare function getBipPage(context: TransportContext, input: {
3226
+ readonly bearer?: string;
3227
+ readonly slug: string;
3228
+ }): Promise<PublicBipPage>;
3229
+ //#endregion
2718
3230
  //#region src/catalog/content-reports.d.ts
2719
3231
  declare function submitAppContentReport(context: TransportContext, input: {
2720
3232
  readonly appId: string;
@@ -2759,6 +3271,41 @@ declare function deleteMyGameReview(context: TransportContext, input: {
2759
3271
  readonly slug: string;
2760
3272
  readonly bearer: string;
2761
3273
  }): Promise<MyReviewResponse>;
3274
+ declare function getMyGameReviewReactions(context: TransportContext, input: {
3275
+ readonly slug: string;
3276
+ readonly bearer: string;
3277
+ }): Promise<MyReviewReactionsResponse>;
3278
+ declare function setMyGameReviewReaction(context: TransportContext, input: {
3279
+ readonly slug: string;
3280
+ readonly reviewId: string;
3281
+ readonly bearer: string;
3282
+ readonly reaction: SetReviewReactionRequest;
3283
+ }): Promise<SetReviewReactionResponse>;
3284
+ declare function tipGameReview(context: TransportContext, input: {
3285
+ readonly slug: string;
3286
+ readonly reviewId: string;
3287
+ readonly bearer: string;
3288
+ readonly tip: TipReviewRequest;
3289
+ readonly idempotencyKey?: string;
3290
+ }): Promise<TipReviewResponse>;
3291
+ declare function listGameReviewComments(context: TransportContext, input: {
3292
+ readonly slug: string;
3293
+ readonly reviewId: string;
3294
+ readonly bearer?: string;
3295
+ readonly limit?: number;
3296
+ readonly offset?: number;
3297
+ }): Promise<ReviewCommentListResponse>;
3298
+ declare function commentOnGameReview(context: TransportContext, input: {
3299
+ readonly slug: string;
3300
+ readonly reviewId: string;
3301
+ readonly bearer: string;
3302
+ readonly comment: CreateReviewCommentRequest;
3303
+ }): Promise<CreateReviewCommentResponse>;
3304
+ declare function deleteGameReviewComment(context: TransportContext, input: {
3305
+ readonly slug: string;
3306
+ readonly commentId: string;
3307
+ readonly bearer: string;
3308
+ }): Promise<DeleteReviewCommentResponse>;
2762
3309
  declare function replyToGameReview(context: TransportContext, input: {
2763
3310
  readonly appId: string;
2764
3311
  readonly reviewId: string;
@@ -2987,6 +3534,53 @@ declare function updateDeveloperAppContentReportStatus(context: TransportContext
2987
3534
  readonly status: "acknowledged" | "dismissed";
2988
3535
  }): Promise<AppContentReport>;
2989
3536
  //#endregion
3537
+ //#region src/developer/inventory.d.ts
3538
+ declare function quoteDeveloperAppInventoryRegistration(context: TransportContext, input: {
3539
+ readonly bearer: string;
3540
+ readonly appId: string;
3541
+ readonly registration: InventoryItemRegistrationInput;
3542
+ }): Promise<InventoryRegistrationQuote>;
3543
+ declare function registerDeveloperAppInventoryItem(context: TransportContext, input: {
3544
+ readonly bearer: string;
3545
+ readonly appId: string;
3546
+ readonly registration: InventoryItemRegistrationInput;
3547
+ }): Promise<InventoryItemRegistrationResult>;
3548
+ declare function listDeveloperAppInventoryCollections(context: TransportContext, input: {
3549
+ readonly bearer: string;
3550
+ readonly appId: string;
3551
+ }): Promise<InventoryCollectionListResponse>;
3552
+ declare function listDeveloperAppInventoryItems(context: TransportContext, input: {
3553
+ readonly bearer: string;
3554
+ readonly appId: string;
3555
+ }): Promise<InventoryItemListResponse>;
3556
+ declare function createDeveloperAppMintPermit(context: TransportContext, input: {
3557
+ readonly bearer: string;
3558
+ readonly appId: string;
3559
+ readonly itemId: string;
3560
+ readonly grant: InventoryMintPermitCreateInput;
3561
+ }): Promise<InventoryMintPermitRecord>;
3562
+ declare function getDeveloperAppInventoryItemHolders(context: TransportContext, input: {
3563
+ readonly bearer: string;
3564
+ readonly appId: string;
3565
+ readonly itemId: string;
3566
+ }): Promise<InventoryItemHoldersResponse>;
3567
+ declare function uploadDeveloperAppInventoryItemImage(context: TransportContext, input: {
3568
+ readonly bearer: string;
3569
+ readonly appId: string;
3570
+ readonly itemId: string;
3571
+ readonly file: Blob | ArrayBufferView | ArrayBuffer;
3572
+ readonly filename: string;
3573
+ readonly contentType: string;
3574
+ }): Promise<InventoryItemRecord>;
3575
+ declare function uploadDeveloperAppInventoryItemBanner(context: TransportContext, input: {
3576
+ readonly bearer: string;
3577
+ readonly appId: string;
3578
+ readonly itemId: string;
3579
+ readonly file: Blob | ArrayBufferView | ArrayBuffer;
3580
+ readonly filename: string;
3581
+ readonly contentType: string;
3582
+ }): Promise<InventoryItemRecord>;
3583
+ //#endregion
2990
3584
  //#region src/developer/pages.d.ts
2991
3585
  declare function getDeveloperAppPage(context: TransportContext, input: {
2992
3586
  readonly bearer: string;
@@ -3045,6 +3639,19 @@ declare function unpublishAppPage(context: TransportContext, input: {
3045
3639
  readonly bearer: string;
3046
3640
  readonly appId: string;
3047
3641
  }): Promise<AppPageDraft>;
3642
+ declare function setAppPageBip(context: TransportContext, input: {
3643
+ readonly bearer: string;
3644
+ readonly appId: string;
3645
+ readonly body: AppPageBipToggle;
3646
+ }): Promise<AppPageDraft>;
3647
+ declare function submitAppPageBipForReview(context: TransportContext, input: {
3648
+ readonly bearer: string;
3649
+ readonly appId: string;
3650
+ }): Promise<AppPageDraft>;
3651
+ declare function unpublishAppPageBip(context: TransportContext, input: {
3652
+ readonly bearer: string;
3653
+ readonly appId: string;
3654
+ }): Promise<AppPageDraft>;
3048
3655
  //#endregion
3049
3656
  //#region src/developer/participants.d.ts
3050
3657
  declare function listDeveloperAppParticipants(context: TransportContext, input: {
@@ -3111,6 +3718,68 @@ declare function uploadMultipart(context: TransportContext, input: {
3111
3718
  readonly contentType: string;
3112
3719
  }): Promise<unknown>;
3113
3720
  //#endregion
3721
+ //#region src/developer/vault.d.ts
3722
+ declare function createDeveloperVaultPermit(context: TransportContext, input: {
3723
+ readonly bearer: string;
3724
+ readonly appId: string;
3725
+ readonly itemId: string;
3726
+ readonly grant: InventoryVaultPermitCreateInput;
3727
+ }): Promise<InventoryVaultPermitRecord>;
3728
+ declare function createDeveloperWithdrawPermit(context: TransportContext, input: {
3729
+ readonly bearer: string;
3730
+ readonly appId: string;
3731
+ readonly itemId: string;
3732
+ readonly grant: InventoryWithdrawPermitCreateInput;
3733
+ }): Promise<InventoryVaultPermitRecord>;
3734
+ //#endregion
3735
+ //#region src/events/inventory-socket.d.ts
3736
+ declare const inventoryUpdateEventSchema: z.ZodObject<{
3737
+ event: z.ZodLiteral<"inventory.updated">;
3738
+ deliveredAt: z.ZodString;
3739
+ environment: z.ZodEnum<{
3740
+ development: "development";
3741
+ production: "production";
3742
+ }>;
3743
+ subject: z.ZodString;
3744
+ collectionId: z.ZodString;
3745
+ collectionAddress: z.ZodString;
3746
+ chain: z.ZodString;
3747
+ kind: z.ZodEnum<{
3748
+ erc721: "erc721";
3749
+ erc1155: "erc1155";
3750
+ }>;
3751
+ tokenId: z.ZodString;
3752
+ direction: z.ZodEnum<{
3753
+ credit: "credit";
3754
+ debit: "debit";
3755
+ }>;
3756
+ amount: z.ZodString;
3757
+ balance: z.ZodString;
3758
+ }, z.core.$strip>;
3759
+ type InventoryUpdateEvent = z.infer<typeof inventoryUpdateEventSchema>;
3760
+ type OauthInventoryEventsSubscriberLifecycle = {
3761
+ onOpen?: () => void;
3762
+ onSubscribed?: (appId: string) => void;
3763
+ onMessage: (body: InventoryUpdateEvent) => void | Promise<void>;
3764
+ onClose?: (error: TronWsCloseError) => void;
3765
+ onError?: (error: Error) => void;
3766
+ };
3767
+ type OauthInventoryEventsSubscriberOptions = {
3768
+ readonly issuer: string;
3769
+ readonly clientId: string;
3770
+ readonly clientSecret: string;
3771
+ readonly logger?: Logger;
3772
+ readonly lifecycle: OauthInventoryEventsSubscriberLifecycle;
3773
+ readonly initialBackoffMs?: number;
3774
+ readonly maxBackoffMs?: number;
3775
+ readonly shouldReconnect?: (error: TronWsCloseError) => boolean;
3776
+ readonly WebSocketImpl?: typeof globalThis.WebSocket;
3777
+ };
3778
+ type OauthInventoryEventsSubscriber = {
3779
+ readonly stop: () => void;
3780
+ };
3781
+ declare function startOauthInventoryEventsSubscriber(options: OauthInventoryEventsSubscriberOptions): OauthInventoryEventsSubscriber;
3782
+ //#endregion
3114
3783
  //#region src/webhook/verify.d.ts
3115
3784
  declare const oauthPaymentWebhookBodySchema: z.ZodObject<{
3116
3785
  event: z.ZodEnum<{
@@ -3185,6 +3854,7 @@ type OauthPaymentEventsSubscriberOptions = {
3185
3854
  readonly maxBackoffMs?: number;
3186
3855
  readonly shouldReconnect?: (error: TronWsCloseError) => boolean;
3187
3856
  readonly WebSocketImpl?: typeof globalThis.WebSocket;
3857
+ readonly disableEventAck?: boolean;
3188
3858
  };
3189
3859
  type OauthPaymentEventsSubscriber = {
3190
3860
  readonly stop: () => void;
@@ -3199,12 +3869,55 @@ declare function listInventoryForApp(context: TransportContext, input: {
3199
3869
  readonly bearer: string;
3200
3870
  }): Promise<InventoryListResponse>;
3201
3871
  //#endregion
3872
+ //#region src/inventory/nft-transfer.d.ts
3873
+ declare function quoteNftTransfer(context: TransportContext, input: {
3874
+ readonly bearer: string;
3875
+ readonly body: InventoryNftTransferQuoteRequest;
3876
+ }): Promise<InventoryNftTransferQuoteResponse>;
3877
+ declare function executeNftTransfer(context: TransportContext, input: {
3878
+ readonly bearer: string;
3879
+ readonly body: InventoryNftTransferRequest;
3880
+ }): Promise<InventoryNftTransferResponse>;
3881
+ //#endregion
3882
+ //#region src/inventory/permits.d.ts
3883
+ declare function listInventoryMintPermits(context: TransportContext, input: {
3884
+ readonly bearer: string;
3885
+ }): Promise<InventoryPendingPermitListResponse>;
3886
+ declare function redeemInventoryMintPermit(context: TransportContext, input: {
3887
+ readonly bearer: string;
3888
+ readonly permitId: string;
3889
+ }): Promise<InventoryPermitRedeemResult>;
3890
+ //#endregion
3202
3891
  //#region src/inventory/request-mint.d.ts
3203
3892
  declare function requestMint(context: TransportContext, input: {
3204
3893
  readonly appBearer: string;
3205
3894
  readonly body: MintRequestInput;
3206
3895
  }): Promise<MintRequestResult>;
3207
3896
  //#endregion
3897
+ //#region src/inventory/vault.d.ts
3898
+ declare function listInventoryVaultPermits(context: TransportContext, input: {
3899
+ readonly bearer: string;
3900
+ }): Promise<InventoryPendingVaultPermitListResponse>;
3901
+ declare function signInventoryVaultPermit(context: TransportContext, input: {
3902
+ readonly bearer: string;
3903
+ readonly permitId: string;
3904
+ }): Promise<InventorySignedVaultPermit>;
3905
+ declare function quoteRelayedVaultPermit(context: TransportContext, input: {
3906
+ readonly bearer: string;
3907
+ readonly permitId: string;
3908
+ }): Promise<InventoryRelayedVaultQuoteResponse>;
3909
+ declare function submitRelayedVaultPermit(context: TransportContext, input: {
3910
+ readonly bearer: string;
3911
+ readonly permitId: string;
3912
+ readonly body: InventoryRelayedVaultSubmitRequest;
3913
+ }): Promise<InventoryRelayedVaultSubmitResponse>;
3914
+ declare function listInventoryVaulted(context: TransportContext, input: {
3915
+ readonly bearer: string;
3916
+ }): Promise<InventoryVaultCustodyListResponse>;
3917
+ declare function listOauthInventoryVaulted(context: TransportContext, input: {
3918
+ readonly bearer: string;
3919
+ }): Promise<InventoryVaultCustodyListResponse>;
3920
+ //#endregion
3208
3921
  //#region src/messaging/dm-key-backup.d.ts
3209
3922
  declare function getDmKeyBackupStatus(context: TransportContext, input: {
3210
3923
  readonly bearer: string;
@@ -3519,6 +4232,22 @@ declare function createTronDeposit(context: TransportContext, input: {
3519
4232
  readonly bearer: string;
3520
4233
  readonly body: TronDepositRequest;
3521
4234
  }): Promise<TronDepositResponse>;
4235
+ declare function createTronTransfer(context: TransportContext, input: {
4236
+ readonly bearer: string;
4237
+ readonly body: TronTransferRequest;
4238
+ readonly idempotencyKey?: string;
4239
+ }): Promise<TronTransferResponse>;
4240
+ declare function getTronSecurity(context: TransportContext, input: {
4241
+ readonly bearer: string;
4242
+ }): Promise<TronSecuritySetting>;
4243
+ declare function setTronSecurity(context: TransportContext, input: {
4244
+ readonly bearer: string;
4245
+ readonly setting: TronSecuritySetting;
4246
+ }): Promise<TronSecuritySetting>;
4247
+ declare function createTronTransferChallenge(context: TransportContext, input: {
4248
+ readonly bearer: string;
4249
+ readonly body: TronTransferChallengeRequest;
4250
+ }): Promise<TronTransferChallengeResponse>;
3522
4251
  declare function createTronConnectOnboarding(context: TransportContext, input: {
3523
4252
  readonly bearer: string;
3524
4253
  }): Promise<TronConnectOnboardingResponse>;
@@ -3693,6 +4422,10 @@ declare function sendFriendRequest(context: TransportContext, input: {
3693
4422
  readonly bearer: string;
3694
4423
  readonly userId: string;
3695
4424
  }): Promise<void>;
4425
+ declare function removeFriend(context: TransportContext, input: {
4426
+ readonly bearer: string;
4427
+ readonly userId: string;
4428
+ }): Promise<void>;
3696
4429
  declare function decideFriendRequest(context: TransportContext, input: {
3697
4430
  readonly bearer: string;
3698
4431
  readonly requestId: string;
@@ -3705,6 +4438,9 @@ declare function cancelFriendRequest(context: TransportContext, input: {
3705
4438
  declare function listFriends(context: TransportContext, input: {
3706
4439
  readonly bearer: string;
3707
4440
  }): Promise<FriendListResponse>;
4441
+ declare function listFriendsForApp(context: TransportContext, input: {
4442
+ readonly bearer: string;
4443
+ }): Promise<AppFriendListResponse>;
3708
4444
  //#endregion
3709
4445
  //#region src/reads/socials.d.ts
3710
4446
  declare function listSocials(context: TransportContext, input: {
@@ -3831,6 +4567,7 @@ declare class TronNodeClient {
3831
4567
  };
3832
4568
  };
3833
4569
  subscribeOauthPaymentEvents(lifecycle: OauthPaymentEventsSubscriberLifecycle): OauthPaymentEventsSubscriber;
4570
+ subscribeOauthInventoryEvents(lifecycle: OauthInventoryEventsSubscriberLifecycle): OauthInventoryEventsSubscriber;
3834
4571
  get users(): {
3835
4572
  get: (input: {
3836
4573
  bearer?: string;
@@ -3931,6 +4668,11 @@ declare class TronNodeClient {
3931
4668
  body: MintRequestInput;
3932
4669
  }) => Promise<MintRequestResult>;
3933
4670
  };
4671
+ get friends(): {
4672
+ list: (input: {
4673
+ bearer: string;
4674
+ }) => Promise<AppFriendListResponse>;
4675
+ };
3934
4676
  get socials(): {
3935
4677
  list: (input: {
3936
4678
  bearer: string;
@@ -3952,4 +4694,4 @@ declare class TronNodeClient {
3952
4694
  };
3953
4695
  }
3954
4696
  //#endregion
3955
- export { AppTokenCache, AuthorizeUrl, type BrowserClientConfig, BuildAuthorizeUrlInput, ChargeResult, type FetchLike, GameHalfCredentials, HttpsGuardOptions, InflightDedup, type Logger, MountPresenceWidgetOptions, NOOP_RATE_LIMITER, type NodeClientConfig, OauthErrorCode, OauthPaymentEventsSubscriber, OauthPaymentEventsSubscriberLifecycle, OauthPaymentEventsSubscriberOptions, OauthPaymentWebhookBody, type OauthScope, PkcePair, PlaySessionGameStatus, PresenceStatus, PresenceWidgetHandle, RateLimitOptions, RateLimiter, RequestOptions, 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, TransportContext, TronError, TronNodeClient, TronOauthError, TronWsCloseCode, TronWsCloseError, VerifyWebhookFailure, VerifyWebhookInput, VerifyWebhookResult, VerifyWebhookSuccess, WEBHOOK_SIGNATURE_HEADER, WEBHOOK_TIMESTAMP_HEADER, acceptDeveloperInvite, addAdmin, addAppealBlacklist, addReaction, approveTronCashout, assertSecureIssuer, batchThreadDmKeys, bindReferral, buildAuthorizeUrl, cancelFriendRequest, cancelPot, charge, chargeTronDirect, chargeTronPot, completePaymentIntent, confirmPlaySession, consolidateDeveloperAppWallet, createAppTokenCache, createConsoleLogger, 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, distributePot, distributeTronPot, editMessage, endPlaySession, 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, getIntentStatus, getLibrary, getMoonpayAvailability, getMyDmKey, getMyGameReview, getOutstanding, getPaymentChains, getPaymentHistory, getPaymentIntent, getPaymentLimits, getPaymentPrice, getPlatformFees, getPlaytime, getPlaytimeTimeseries, getPublicProfile, getReferral, getThreadDmKey, getTronBalance, getTronGameBalance, heartbeatPlaySession, 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, mintClientCredentialsToken, mintMoonpayBuyUrl, mintMoonpaySellUrl, mountPresenceWidget, oauthPaymentWebhookBodySchema, parseJson, pinThread, postAdminAppealRoomMessage, postAppealRoomMessage, previewReferral, provisionDeveloperAppWallet, publishDmKey, refreshAccessToken, registerOauthClient, rejectTronCashout, removeAdmin, removeAppealBlacklist, removeParticipant, removeReaction, replyToGameReview, requestDeveloperAppProduction, requestMint, requestPayout, resolveAppeal, reviewAppPage, reviewAppPageChanges, reviewDeveloperRequest, revokeDeveloperApiKey, revokeDeveloperAppParticipant, revokePaymentAuthorization, revokeToken, rotateDeveloperAppKey, rotateDeveloperAppPaymentWebhookSecret, rotateProcessorTreasury, searchGiphy, searchUsers, send, sendFriendRequest, sendJson, sendMessage, sendPresenceHeartbeat, setProcessorWhitelist, setVaultOperator, setVaultPause, setVaultWithdrawLockDefault, setVaultWithdrawLockOverride, setupDmKeyBackup, sha256Base64Url, signPaymentIntent, startOauthPaymentEventsSubscriber, 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 };
4697
+ export { AppTokenCache, AuthorizeUrl, type BrowserClientConfig, BuildAuthorizeUrlInput, ChargeResult, type FetchLike, GameHalfCredentials, HttpsGuardOptions, InflightDedup, InventoryUpdateEvent, type Logger, MountPresenceWidgetOptions, NOOP_RATE_LIMITER, type NodeClientConfig, OauthErrorCode, OauthInventoryEventsSubscriber, OauthInventoryEventsSubscriberLifecycle, OauthInventoryEventsSubscriberOptions, OauthPaymentEventsSubscriber, OauthPaymentEventsSubscriberLifecycle, OauthPaymentEventsSubscriberOptions, OauthPaymentWebhookBody, type OauthScope, PkcePair, PlaySessionGameStatus, PresenceStatus, PresenceWidgetHandle, RateLimitOptions, RateLimiter, RequestOptions, 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, TransportContext, TronError, TronNodeClient, TronOauthError, TronWsCloseCode, TronWsCloseError, VerifyWebhookFailure, VerifyWebhookInput, VerifyWebhookResult, VerifyWebhookSuccess, WEBHOOK_SIGNATURE_HEADER, WEBHOOK_TIMESTAMP_HEADER, acceptDeveloperInvite, addAdmin, addAppealBlacklist, addReaction, approveTronCashout, assertSecureIssuer, batchThreadDmKeys, bindReferral, buildAuthorizeUrl, cancelFriendRequest, cancelPot, charge, chargeTronDirect, chargeTronPot, commentOnGameReview, completePaymentIntent, confirmPlaySession, consolidateDeveloperAppWallet, createAppTokenCache, createConsoleLogger, 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, distributePot, distributeTronPot, editMessage, endPlaySession, exchangeAuthorizationCode, executeNftTransfer, fetchAuthorizationServerMetadata, fetchUserInfo, fileAppeal, fileAppealPotLeg, followUser, forceWithdrawVaultCustody, generatePkce, generateState, getActivity, getActivityGroup, getAdminAppealRoom, getAppFeeConfig, getAppPage, getAppPageChanges, getAppealRoom, getBipDirectory, getBipPage, getDelegation, getDeveloperAppActivity, getDeveloperAppBalances, getDeveloperAppEarnings, getDeveloperAppInventoryItemHolders, getDeveloperAppOverview, getDeveloperAppPage, getDeveloperAppPlaytime, getDeveloperAppTronBalance, getDeveloperAppWallets, getDeveloperPaymentAppeals, getDeveloperPaymentPendingDeposits, getDeveloperStatus, getDeveloperTronBalanceSummary, getDmKeyBackupStatus, getIntentStatus, getLibrary, getMoonpayAvailability, getMyDmKey, getMyGameReview, getMyGameReviewReactions, getOutstanding, getPaymentChains, getPaymentHistory, getPaymentIntent, getPaymentLimits, getPaymentPrice, getPlatformFees, getPlaytime, getPlaytimeTimeseries, getPublicProfile, getReferral, getThreadDmKey, getTronBalance, getTronGameBalance, getTronSecurity, heartbeatPlaySession, hideAppPage, hideAppPageBip, hideThread, inventoryUpdateEventSchema, inviteDeveloperAppParticipant, inviteParticipants, leaveThread, listActivePlayers, listAdmins, listAppPages, listAppealBlacklist, listAppealQueue, listAudit, listDeveloperApiKeys, listDeveloperAppContentReports, listDeveloperAppInventoryCollections, listDeveloperAppInventoryItems, listDeveloperAppParticipants, listDeveloperAppReviews, listDeveloperInvites, listDeveloperRequests, listDevelopers, listFriends, listFriendsForApp, listGameReviewComments, listGameReviews, listInventory, listInventoryForApp, listInventoryMintPermits, listInventoryVaultPermits, listInventoryVaulted, listNotifications, listOauthInventoryVaulted, listPaymentAuthorizations, listSocials, listThreadMessages, listThreads, listTronCashoutQueue, listTronCashouts, listTronLedger, listUsers, listWalletManager, listWallets, markAllNotificationsRead, markThreadRead, mintClientCredentialsToken, mintMoonpayBuyUrl, mintMoonpaySellUrl, mountPresenceWidget, oauthPaymentWebhookBodySchema, parseJson, pinThread, postAdminAppealRoomMessage, postAppealRoomMessage, previewReferral, provisionDeveloperAppWallet, publishDmKey, quoteDeveloperAppInventoryRegistration, quoteNftTransfer, quoteRelayedVaultPermit, redeemInventoryMintPermit, refreshAccessToken, registerDeveloperAppInventoryItem, registerOauthClient, rejectTronCashout, removeAdmin, removeAppealBlacklist, removeFriend, removeParticipant, removeReaction, replyToGameReview, requestDeveloperAppProduction, requestMint, requestPayout, resolveAppeal, reviewAppPage, reviewAppPageBip, reviewAppPageChanges, reviewDeveloperRequest, revokeDeveloperApiKey, revokeDeveloperAppParticipant, revokePaymentAuthorization, revokeToken, rotateDeveloperAppKey, rotateDeveloperAppPaymentWebhookSecret, rotateProcessorTreasury, searchGiphy, searchUsers, send, sendFriendRequest, sendJson, sendMessage, sendPresenceHeartbeat, setAppPageBip, setMyGameReviewReaction, setProcessorWhitelist, setTronSecurity, setVaultOperator, setVaultPause, setVaultWithdrawLockDefault, setVaultWithdrawLockOverride, setupDmKeyBackup, sha256Base64Url, signInventoryVaultPermit, signPaymentIntent, startOauthInventoryEventsSubscriber, startOauthPaymentEventsSubscriber, submitAppContentReport, submitAppPageBipForReview, submitAppPageForReview, submitDeveloperRequest, submitRelayedVaultPermit, tipGameReview, toTokenSet, unfollowUser, unhideAppPage, unhideAppPageBip, unlockDmKeyBackup, unpinThread, unpublishAppPage, unpublishAppPageBip, 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 };