@metatrongg/sdk 0.8.0-dev.1ef20e5 → 0.8.0-dev.303f1ae

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.
@@ -127,7 +127,9 @@ type OauthErrorResponse = {
127
127
  type OauthUserInfoResponse = {
128
128
  sub: string;
129
129
  name: string | null;
130
+ preferred_username: string | null;
130
131
  picture: string | null;
132
+ wallet_address: string | null;
131
133
  };
132
134
  type OauthPaymentChargeResponse = ({
133
135
  status: "completed";
@@ -246,6 +248,7 @@ type OauthPaymentIntentContext = {
246
248
  studioXHandle: string | null;
247
249
  };
248
250
  } | null;
251
+ environment: "development" | "production";
249
252
  };
250
253
  type OauthPaymentIntentSignResponse = {
251
254
  chain: string;
@@ -366,6 +369,7 @@ type AppPageLink = {
366
369
  order: number;
367
370
  };
368
371
  type PublicAppPageStudio = {
372
+ ownerUserId: string | null;
369
373
  name: string | null;
370
374
  logoUrl: string | null;
371
375
  websiteUrl: string | null;
@@ -385,38 +389,49 @@ type ReviewListResponse = {
385
389
  hasMore: boolean;
386
390
  };
387
391
  type ReviewAggregate = {
388
- average: number | null;
389
392
  count: number;
390
- distribution: ReviewDistribution;
391
- };
392
- type ReviewDistribution = {
393
- 1: number;
394
- 2: number;
395
- 3: number;
396
- 4: number;
397
- 5: number;
393
+ recommendedCount: number;
394
+ recommendedPct: number | null;
395
+ summaryLabel: ReviewSummaryLabel;
398
396
  };
397
+ type ReviewSummaryLabel = "overwhelmingly_positive" | "very_positive" | "positive" | "mostly_positive" | "mixed" | "mostly_negative" | "negative" | "overwhelmingly_negative" | null;
399
398
  type Review = {
400
399
  id: string;
401
- rating: ReviewRating;
400
+ recommended: ReviewRecommended;
402
401
  body: ReviewBody;
402
+ reactions: ReviewReactionCounts;
403
+ tippedCents: number;
404
+ commentCount: number;
403
405
  author: ReviewAuthor;
406
+ authorStats: ReviewerStats;
404
407
  developerReply: ReviewReply;
405
408
  createdAt: string;
406
409
  updatedAt: string;
407
410
  };
408
- type ReviewRating = number;
411
+ type ReviewRecommended = boolean;
409
412
  type ReviewBody = string;
413
+ type ReviewReactionCounts = {
414
+ helpful: number;
415
+ unhelpful: number;
416
+ funny: number;
417
+ };
410
418
  type ReviewAuthor = {
419
+ userId: string;
420
+ handle: string | null;
411
421
  name: string | null;
412
422
  avatarUrl: string | null;
413
423
  };
424
+ type ReviewerStats = {
425
+ playtimeSecondsThisGame: number;
426
+ gamesPlayed: number;
427
+ reviewsWritten: number;
428
+ };
414
429
  type ReviewReply = {
415
430
  body: ReviewReplyBody;
416
431
  repliedAt: string;
417
432
  } | null;
418
433
  type ReviewReplyBody = string;
419
- type ReviewSort = "newest" | "oldest" | "highest" | "lowest";
434
+ type ReviewSort = "newest" | "oldest" | "helpful";
420
435
  type MyReviewResponse = {
421
436
  eligible: boolean;
422
437
  eligibleVia: ReviewEligibilityReason;
@@ -426,15 +441,67 @@ type MyReviewResponse = {
426
441
  type ReviewEligibilityReason = "payment" | "reward" | null;
427
442
  type OwnReview = {
428
443
  id: string;
429
- rating: ReviewRating;
444
+ recommended: ReviewRecommended;
430
445
  body: ReviewBody;
431
446
  createdAt: string;
432
447
  updatedAt: string;
433
448
  } | null;
434
449
  type UpsertReviewRequest = {
435
- rating: ReviewRating;
450
+ recommended: ReviewRecommended;
436
451
  body: ReviewBody;
437
452
  };
453
+ type MyReviewReactionsResponse = {
454
+ reactions: Array<MyReviewReaction>;
455
+ };
456
+ type MyReviewReaction = {
457
+ reviewId: string;
458
+ vote: ReviewVote;
459
+ funny: boolean;
460
+ };
461
+ type ReviewVote = "helpful" | "unhelpful" | null;
462
+ type SetReviewReactionResponse = {
463
+ reactions: ReviewReactionCounts;
464
+ vote: ReviewVote;
465
+ funny: boolean;
466
+ };
467
+ type SetReviewReactionRequest = {
468
+ vote: ReviewVote;
469
+ funny: boolean;
470
+ };
471
+ type TipReviewResponse = {
472
+ status: "completed";
473
+ amountCents: number;
474
+ balanceCents: number;
475
+ tippedCents: number;
476
+ };
477
+ type TipReviewRequest = {
478
+ amountCents: number;
479
+ note?: string;
480
+ challengeId?: string;
481
+ signature?: string;
482
+ };
483
+ type ReviewCommentListResponse = {
484
+ comments: Array<ReviewComment>;
485
+ total: number;
486
+ hasMore: boolean;
487
+ };
488
+ type ReviewComment = {
489
+ id: string;
490
+ body: ReviewCommentBody;
491
+ author: ReviewAuthor;
492
+ createdAt: string;
493
+ };
494
+ type ReviewCommentBody = string;
495
+ type CreateReviewCommentResponse = {
496
+ comment: ReviewComment;
497
+ commentCount: number;
498
+ };
499
+ type CreateReviewCommentRequest = {
500
+ body: ReviewCommentBody;
501
+ };
502
+ type DeleteReviewCommentResponse = {
503
+ commentCount: number;
504
+ };
438
505
  type ReviewReplyResponse = {
439
506
  developerReply: ReviewReply;
440
507
  };
@@ -539,8 +606,12 @@ type ActivityRow = ({
539
606
  } & ActivityRowTronPot) | ({
540
607
  kind: "tron_cashout";
541
608
  } & ActivityRowTronCashout) | ({
609
+ kind: "tron_transfer";
610
+ } & ActivityRowTronTransfer) | ({
542
611
  kind: "referral_earning";
543
- } & ActivityRowReferralEarning);
612
+ } & ActivityRowReferralEarning) | ({
613
+ kind: "nft_charge";
614
+ } & ActivityRowNftCharge);
544
615
  type ActivityRowPayment = {
545
616
  kind: "payment";
546
617
  groupId: string | null;
@@ -822,6 +893,20 @@ type ActivityRowTronCashout = {
822
893
  rejectionReason: string | null;
823
894
  settledAt: string | null;
824
895
  };
896
+ type ActivityRowTronTransfer = {
897
+ kind: "tron_transfer";
898
+ groupId: string | null;
899
+ id: string;
900
+ occurredAt: string;
901
+ role: "incoming" | "outgoing";
902
+ amountCents: number;
903
+ usdCents: number;
904
+ status: "settled";
905
+ counterpartyUserId: string | null;
906
+ counterpartyHandle: string | null;
907
+ counterpartyDisplayName: string | null;
908
+ note: string | null;
909
+ };
825
910
  type ActivityRowReferralEarning = {
826
911
  kind: "referral_earning";
827
912
  groupId: string | null;
@@ -838,6 +923,22 @@ type ActivityRowReferralEarning = {
838
923
  logIndex: number;
839
924
  usdCents: number | null;
840
925
  };
926
+ type ActivityRowNftCharge = {
927
+ kind: "nft_charge";
928
+ groupId: string | null;
929
+ id: string;
930
+ occurredAt: string;
931
+ role: "outgoing";
932
+ chargeKind: "registration" | "mint" | "transfer_gas";
933
+ amountCents: number;
934
+ usdCents: number;
935
+ status: "settled";
936
+ collectionAddress: string | null;
937
+ tokenId: string | null;
938
+ counterpartyUserId: string | null;
939
+ counterpartyHandle: string | null;
940
+ counterpartyDisplayName: string | null;
941
+ };
841
942
  type OutstandingResponse = {
842
943
  rows: Array<OutstandingByToken>;
843
944
  };
@@ -887,7 +988,7 @@ type TronLedgerResponse = {
887
988
  };
888
989
  type TronLedgerEntry = {
889
990
  id: string;
890
- kind: "deposit" | "pot_stake" | "pot_payout" | "dev_earning" | "cashout_hold" | "cashout_release" | "dispute_freeze" | "dispute_unfreeze" | "hosted_billing" | "store_purchase" | "referral_earning";
991
+ 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";
891
992
  amountCents: number;
892
993
  currency: string;
893
994
  createdAt: string;
@@ -902,6 +1003,45 @@ type TronDepositResponse = {
902
1003
  type TronDepositRequest = {
903
1004
  amountCents: number;
904
1005
  };
1006
+ type TronTransferResponse = {
1007
+ status: "completed";
1008
+ amountCents: number;
1009
+ balanceCents: number;
1010
+ recipient: {
1011
+ userId: string;
1012
+ handle: string | null;
1013
+ displayName: string | null;
1014
+ };
1015
+ };
1016
+ type TronTransferRequest = {
1017
+ recipientUserId: string;
1018
+ amountCents: number;
1019
+ note?: string;
1020
+ challengeId?: string;
1021
+ signature?: string;
1022
+ threadId?: string;
1023
+ };
1024
+ type TronSecuritySetting = {
1025
+ requireSignature: boolean;
1026
+ };
1027
+ type TronTransferChallengeResponse = ({
1028
+ required: false;
1029
+ } & TronTransferChallengeNotRequired) | ({
1030
+ required: true;
1031
+ } & TronTransferChallengeRequired);
1032
+ type TronTransferChallengeNotRequired = {
1033
+ required: false;
1034
+ };
1035
+ type TronTransferChallengeRequired = {
1036
+ required: true;
1037
+ challengeId: string;
1038
+ message: string;
1039
+ expiresAt: string;
1040
+ };
1041
+ type TronTransferChallengeRequest = {
1042
+ recipientUserId: string;
1043
+ amountCents: number;
1044
+ };
905
1045
  type TronConnectOnboardingResponse = {
906
1046
  url: string;
907
1047
  };
@@ -1068,6 +1208,7 @@ type ThreadLastMessagePreview = {
1068
1208
  url: string;
1069
1209
  count: number;
1070
1210
  } | null;
1211
+ transaction?: MessageTransactionTronTransfer | MessageTransactionNftTransfer | null;
1071
1212
  sentAt: string;
1072
1213
  } | null;
1073
1214
  type MessageEnvelope = {
@@ -1079,6 +1220,19 @@ type MessageEnvelope = {
1079
1220
  iv: string;
1080
1221
  ct: string;
1081
1222
  } | null;
1223
+ type MessageTransactionTronTransfer = {
1224
+ kind: "tron_transfer";
1225
+ amountCents: number;
1226
+ recipientUserId: string;
1227
+ };
1228
+ type MessageTransactionNftTransfer = {
1229
+ kind: "nft_transfer";
1230
+ recipientUserId: string;
1231
+ collectionAddress: string;
1232
+ tokenId: string;
1233
+ amount: string;
1234
+ itemName: string | null;
1235
+ };
1082
1236
  type GroupThreadSummary = {
1083
1237
  kind: "group";
1084
1238
  id: string;
@@ -1125,6 +1279,7 @@ type MessageItem = {
1125
1279
  id: string;
1126
1280
  threadId: string;
1127
1281
  senderUserId: string;
1282
+ transaction?: MessageTransactionTronTransfer | MessageTransactionNftTransfer | null;
1128
1283
  body: string;
1129
1284
  envelope?: MessageEnvelope;
1130
1285
  sentAt: string;
@@ -1336,11 +1491,45 @@ type InventoryHolding = {
1336
1491
  tokenId: string;
1337
1492
  amount: string;
1338
1493
  name: string | null;
1494
+ description: string | null;
1339
1495
  imageAssetId: string | null;
1340
1496
  bannerAssetId: string | null;
1341
1497
  devMetadata: {
1342
1498
  [key: string]: unknown;
1343
1499
  };
1500
+ appId: string | null;
1501
+ appName: string | null;
1502
+ appLogoUrl: string | null;
1503
+ };
1504
+ type InventoryPendingPermitListResponse = {
1505
+ permits: Array<InventoryPendingPermit>;
1506
+ };
1507
+ type InventoryPendingPermit = {
1508
+ id: string;
1509
+ appId: string;
1510
+ itemId: string;
1511
+ amount: string;
1512
+ priceCents: number | null;
1513
+ gasSponsored: boolean;
1514
+ environment: "development" | "production";
1515
+ createdAt: string;
1516
+ tokenId: string;
1517
+ name: string | null;
1518
+ description: string | null;
1519
+ imageAssetId: string | null;
1520
+ chain: string;
1521
+ collectionAddress: string;
1522
+ kind: "erc721" | "erc1155";
1523
+ };
1524
+ type InventoryPermitRedeemResult = {
1525
+ mint: MintRequestResult;
1526
+ charge: {
1527
+ currency: "tron";
1528
+ gasCents: number;
1529
+ priceCents: number;
1530
+ totalCents: number;
1531
+ gasPaidBy: "user" | "developer";
1532
+ };
1344
1533
  };
1345
1534
  type MintRequestResult = {
1346
1535
  mintRequestId: string;
@@ -1356,6 +1545,247 @@ type MintRequestInput = {
1356
1545
  tokenId?: string;
1357
1546
  amount?: string;
1358
1547
  };
1548
+ type InventoryCollectionListResponse = {
1549
+ collections: Array<InventoryCollectionSummary>;
1550
+ };
1551
+ type InventoryCollectionSummary = {
1552
+ id: string;
1553
+ chain: string;
1554
+ collectionAddress: string;
1555
+ kind: "erc721" | "erc1155";
1556
+ name: string | null;
1557
+ environment: "development" | "production";
1558
+ };
1559
+ type InventoryRegistrationQuote = {
1560
+ itemCount: number;
1561
+ baselineUsdCents: number;
1562
+ gasUsdCents: number;
1563
+ tron: {
1564
+ baselineCents: number;
1565
+ gasCents: number;
1566
+ totalCents: number;
1567
+ };
1568
+ eth: {
1569
+ baselineWei: string;
1570
+ gasWei: string;
1571
+ totalWei: string;
1572
+ };
1573
+ };
1574
+ type InventoryItemRegistrationInput = {
1575
+ collectionAddress: string;
1576
+ chain: string;
1577
+ items: Array<InventoryItemRegistrationSpec>;
1578
+ };
1579
+ type InventoryItemRegistrationSpec = {
1580
+ name?: string | null;
1581
+ description?: string | null;
1582
+ devMetadata?: {
1583
+ [key: string]: unknown;
1584
+ };
1585
+ supplyType?: InventorySupplyType;
1586
+ maxSupply?: string | null;
1587
+ active?: boolean;
1588
+ };
1589
+ type InventorySupplyType = "capped" | "flexible" | "unlimited";
1590
+ type InventoryItemRegistrationResult = {
1591
+ items: Array<InventoryItemRecord>;
1592
+ charge: {
1593
+ currency: "tron";
1594
+ amountCents: number;
1595
+ baselineCents: number;
1596
+ gasCents: number;
1597
+ addItemTxHash: string;
1598
+ };
1599
+ };
1600
+ type InventoryItemRecord = {
1601
+ id: string;
1602
+ collectionId: string;
1603
+ collectionAddress: string;
1604
+ chain: string;
1605
+ kind: "erc721" | "erc1155";
1606
+ tokenId: string;
1607
+ name: string | null;
1608
+ description: string | null;
1609
+ imageAssetId: string | null;
1610
+ bannerAssetId: string | null;
1611
+ devMetadata: {
1612
+ [key: string]: unknown;
1613
+ };
1614
+ supplyType: InventorySupplyType | null;
1615
+ maxSupply: string | null;
1616
+ active: boolean;
1617
+ };
1618
+ type InventoryItemListResponse = {
1619
+ items: Array<InventoryItemRecord>;
1620
+ };
1621
+ type InventoryMintPermitRecord = {
1622
+ id: string;
1623
+ appId: string;
1624
+ itemId: string;
1625
+ userId: string;
1626
+ amount: string;
1627
+ priceCents: number | null;
1628
+ gasSponsored: boolean;
1629
+ status: "pending" | "redeemed" | "revoked";
1630
+ createdAt: string;
1631
+ };
1632
+ type InventoryMintPermitCreateInput = {
1633
+ toUserId: string;
1634
+ amount?: string;
1635
+ priceCents?: number | null;
1636
+ gasSponsored?: boolean;
1637
+ };
1638
+ type InventoryItemHoldersResponse = {
1639
+ stats: InventoryItemStats;
1640
+ holders: Array<InventoryItemHolder>;
1641
+ };
1642
+ type InventoryItemStats = {
1643
+ holderCount: number;
1644
+ walletCount: number;
1645
+ totalHeld: string;
1646
+ };
1647
+ type InventoryItemHolder = {
1648
+ walletAddress: string;
1649
+ userId: string | null;
1650
+ amount: string;
1651
+ };
1652
+ type InventoryVaultPermitRecord = {
1653
+ id: string;
1654
+ appId: string;
1655
+ itemId: string;
1656
+ userId: string;
1657
+ direction: "vault_in" | "withdraw";
1658
+ lockKind: "vault" | "burn" | null;
1659
+ amount: string;
1660
+ gasSponsored: boolean;
1661
+ status: "pending" | "redeemed" | "revoked";
1662
+ custodyId: string | null;
1663
+ createdAt: string;
1664
+ };
1665
+ type InventoryVaultPermitCreateInput = {
1666
+ toUserId: string;
1667
+ lockKind: "vault" | "burn";
1668
+ amount?: string;
1669
+ gasSponsored?: boolean;
1670
+ };
1671
+ type InventoryWithdrawPermitCreateInput = {
1672
+ custodyId: string;
1673
+ };
1674
+ type InventoryPendingVaultPermitListResponse = {
1675
+ permits: Array<InventoryPendingVaultPermit>;
1676
+ };
1677
+ type InventoryPendingVaultPermit = {
1678
+ id: string;
1679
+ appId: string;
1680
+ itemId: string;
1681
+ direction: "vault_in" | "withdraw";
1682
+ lockKind: "vault" | "burn" | null;
1683
+ amount: string;
1684
+ gasSponsored: boolean;
1685
+ environment: "development" | "production";
1686
+ custodyId: string | null;
1687
+ createdAt: string;
1688
+ tokenId: string;
1689
+ name: string | null;
1690
+ description: string | null;
1691
+ imageAssetId: string | null;
1692
+ chain: string;
1693
+ collectionAddress: string;
1694
+ kind: "erc721" | "erc1155";
1695
+ };
1696
+ type InventorySignedVaultPermit = {
1697
+ permitId: string;
1698
+ direction: "vault_in" | "withdraw";
1699
+ vault: string;
1700
+ collection: string;
1701
+ user: string;
1702
+ tokenId: string;
1703
+ amount: string;
1704
+ lockKind: "vault" | "burn" | null;
1705
+ destination: string | null;
1706
+ deadline: number;
1707
+ signature: string;
1708
+ };
1709
+ type InventoryRelayedVaultQuoteResponse = {
1710
+ direction: "vault_in" | "withdraw";
1711
+ collection: string;
1712
+ vault: string;
1713
+ chainId: number;
1714
+ user: string;
1715
+ tokenId: string;
1716
+ amount: string;
1717
+ nonce: string | null;
1718
+ deadline: number;
1719
+ feeCents: number;
1720
+ gasWei: string;
1721
+ gasPaidBy: "developer" | "user";
1722
+ requiresUserSignature: boolean;
1723
+ };
1724
+ type InventoryRelayedVaultSubmitResponse = {
1725
+ ok: boolean;
1726
+ txHash: string;
1727
+ chargedCents: number;
1728
+ gasPaidBy: "developer" | "user";
1729
+ };
1730
+ type InventoryRelayedVaultSubmitRequest = {
1731
+ userSignature?: string;
1732
+ deadline?: number;
1733
+ };
1734
+ type InventoryNftTransferQuoteResponse = {
1735
+ collection: string;
1736
+ chainId: number;
1737
+ from: string;
1738
+ to: string;
1739
+ tokenId: string;
1740
+ amount: string;
1741
+ nonce: string;
1742
+ deadline: number;
1743
+ feeCents: number;
1744
+ gasWei: string;
1745
+ selfPayAvailable: boolean;
1746
+ };
1747
+ type InventoryNftTransferQuoteRequest = {
1748
+ toUserId: string;
1749
+ collection: string;
1750
+ tokenId: string;
1751
+ amount?: string;
1752
+ };
1753
+ type InventoryNftTransferResponse = {
1754
+ ok: boolean;
1755
+ txHash: string;
1756
+ chargedCents: number;
1757
+ };
1758
+ type InventoryNftTransferRequest = {
1759
+ toUserId: string;
1760
+ collection: string;
1761
+ tokenId: string;
1762
+ amount?: string;
1763
+ deadline: number;
1764
+ userSignature: string;
1765
+ threadId?: string;
1766
+ };
1767
+ type InventoryVaultCustodyListResponse = {
1768
+ custody: Array<InventoryVaultCustody>;
1769
+ };
1770
+ type InventoryVaultCustody = {
1771
+ id: string;
1772
+ collectionId: string;
1773
+ collectionAddress: string;
1774
+ chain: string;
1775
+ kind: "erc721" | "erc1155";
1776
+ tokenId: string;
1777
+ amount: string;
1778
+ lockKind: "vault" | "burn";
1779
+ vaultAddress: string;
1780
+ createdAt: string;
1781
+ name: string | null;
1782
+ description: string | null;
1783
+ imageAssetId: string | null;
1784
+ };
1785
+ type InventoryVaultForceWithdrawResponse = {
1786
+ ok: boolean;
1787
+ txHash: string;
1788
+ };
1359
1789
  type NotificationListResponse = {
1360
1790
  notifications: Array<NotificationItem>;
1361
1791
  unreadCount: number;
@@ -1523,7 +1953,7 @@ type ProfileRecentReview = {
1523
1953
  appId: string;
1524
1954
  appName: string;
1525
1955
  appLogoUrl: string | null;
1526
- rating: number;
1956
+ recommended: boolean;
1527
1957
  body: string;
1528
1958
  createdAt: string;
1529
1959
  };
@@ -1580,6 +2010,7 @@ type CreateDeveloperAppChain = {
1580
2010
  };
1581
2011
  type UpdateDeveloperApp = {
1582
2012
  name?: DeveloperAppName;
2013
+ slug?: AppPageSlug | null;
1583
2014
  logoUrl?: string | null;
1584
2015
  testAccess?: "private" | "public";
1585
2016
  redirectUris?: Array<string>;
@@ -1828,6 +2259,7 @@ type DeveloperProductionRequestPayload = {
1828
2259
  type DeveloperAppItem = {
1829
2260
  id: string;
1830
2261
  name: DeveloperAppName;
2262
+ slug: AppPageSlug | null;
1831
2263
  logoUrl: string | null;
1832
2264
  environment: "development" | "production";
1833
2265
  productionApprovedAt: string | null;
@@ -1892,7 +2324,6 @@ type AppPageDraft = {
1892
2324
  pendingReview: boolean;
1893
2325
  };
1894
2326
  type UpdateAppPage = {
1895
- slug?: AppPageSlug | null;
1896
2327
  categories?: AppPageCategories;
1897
2328
  tagline?: AppPageTagline | null;
1898
2329
  bannerUrl?: string | null;
@@ -2438,6 +2869,12 @@ declare function listDevelopers(context: TransportContext, input: {
2438
2869
  readonly bearer: string;
2439
2870
  }): Promise<AdminDeveloperListResponse>;
2440
2871
  //#endregion
2872
+ //#region src/admin/inventory-vault.d.ts
2873
+ declare function forceWithdrawVaultCustody(context: TransportContext, input: {
2874
+ readonly bearer: string;
2875
+ readonly custodyId: string;
2876
+ }): Promise<InventoryVaultForceWithdrawResponse>;
2877
+ //#endregion
2441
2878
  //#region src/admin/payments.d.ts
2442
2879
  declare function getPlatformFees(context: TransportContext, input: {
2443
2880
  readonly bearer: string;
@@ -2600,6 +3037,41 @@ declare function deleteMyGameReview(context: TransportContext, input: {
2600
3037
  readonly slug: string;
2601
3038
  readonly bearer: string;
2602
3039
  }): Promise<MyReviewResponse>;
3040
+ declare function getMyGameReviewReactions(context: TransportContext, input: {
3041
+ readonly slug: string;
3042
+ readonly bearer: string;
3043
+ }): Promise<MyReviewReactionsResponse>;
3044
+ declare function setMyGameReviewReaction(context: TransportContext, input: {
3045
+ readonly slug: string;
3046
+ readonly reviewId: string;
3047
+ readonly bearer: string;
3048
+ readonly reaction: SetReviewReactionRequest;
3049
+ }): Promise<SetReviewReactionResponse>;
3050
+ declare function tipGameReview(context: TransportContext, input: {
3051
+ readonly slug: string;
3052
+ readonly reviewId: string;
3053
+ readonly bearer: string;
3054
+ readonly tip: TipReviewRequest;
3055
+ readonly idempotencyKey?: string;
3056
+ }): Promise<TipReviewResponse>;
3057
+ declare function listGameReviewComments(context: TransportContext, input: {
3058
+ readonly slug: string;
3059
+ readonly reviewId: string;
3060
+ readonly bearer?: string;
3061
+ readonly limit?: number;
3062
+ readonly offset?: number;
3063
+ }): Promise<ReviewCommentListResponse>;
3064
+ declare function commentOnGameReview(context: TransportContext, input: {
3065
+ readonly slug: string;
3066
+ readonly reviewId: string;
3067
+ readonly bearer: string;
3068
+ readonly comment: CreateReviewCommentRequest;
3069
+ }): Promise<CreateReviewCommentResponse>;
3070
+ declare function deleteGameReviewComment(context: TransportContext, input: {
3071
+ readonly slug: string;
3072
+ readonly commentId: string;
3073
+ readonly bearer: string;
3074
+ }): Promise<DeleteReviewCommentResponse>;
2603
3075
  declare function replyToGameReview(context: TransportContext, input: {
2604
3076
  readonly appId: string;
2605
3077
  readonly reviewId: string;
@@ -2822,6 +3294,53 @@ declare function updateDeveloperAppContentReportStatus(context: TransportContext
2822
3294
  readonly status: "acknowledged" | "dismissed";
2823
3295
  }): Promise<AppContentReport>;
2824
3296
  //#endregion
3297
+ //#region src/developer/inventory.d.ts
3298
+ declare function quoteDeveloperAppInventoryRegistration(context: TransportContext, input: {
3299
+ readonly bearer: string;
3300
+ readonly appId: string;
3301
+ readonly registration: InventoryItemRegistrationInput;
3302
+ }): Promise<InventoryRegistrationQuote>;
3303
+ declare function registerDeveloperAppInventoryItem(context: TransportContext, input: {
3304
+ readonly bearer: string;
3305
+ readonly appId: string;
3306
+ readonly registration: InventoryItemRegistrationInput;
3307
+ }): Promise<InventoryItemRegistrationResult>;
3308
+ declare function listDeveloperAppInventoryCollections(context: TransportContext, input: {
3309
+ readonly bearer: string;
3310
+ readonly appId: string;
3311
+ }): Promise<InventoryCollectionListResponse>;
3312
+ declare function listDeveloperAppInventoryItems(context: TransportContext, input: {
3313
+ readonly bearer: string;
3314
+ readonly appId: string;
3315
+ }): Promise<InventoryItemListResponse>;
3316
+ declare function createDeveloperAppMintPermit(context: TransportContext, input: {
3317
+ readonly bearer: string;
3318
+ readonly appId: string;
3319
+ readonly itemId: string;
3320
+ readonly grant: InventoryMintPermitCreateInput;
3321
+ }): Promise<InventoryMintPermitRecord>;
3322
+ declare function getDeveloperAppInventoryItemHolders(context: TransportContext, input: {
3323
+ readonly bearer: string;
3324
+ readonly appId: string;
3325
+ readonly itemId: string;
3326
+ }): Promise<InventoryItemHoldersResponse>;
3327
+ declare function uploadDeveloperAppInventoryItemImage(context: TransportContext, input: {
3328
+ readonly bearer: string;
3329
+ readonly appId: string;
3330
+ readonly itemId: string;
3331
+ readonly file: Blob | ArrayBufferView | ArrayBuffer;
3332
+ readonly filename: string;
3333
+ readonly contentType: string;
3334
+ }): Promise<InventoryItemRecord>;
3335
+ declare function uploadDeveloperAppInventoryItemBanner(context: TransportContext, input: {
3336
+ readonly bearer: string;
3337
+ readonly appId: string;
3338
+ readonly itemId: string;
3339
+ readonly file: Blob | ArrayBufferView | ArrayBuffer;
3340
+ readonly filename: string;
3341
+ readonly contentType: string;
3342
+ }): Promise<InventoryItemRecord>;
3343
+ //#endregion
2825
3344
  //#region src/developer/pages.d.ts
2826
3345
  declare function getDeveloperAppPage(context: TransportContext, input: {
2827
3346
  readonly bearer: string;
@@ -2946,6 +3465,20 @@ declare function uploadMultipart(context: TransportContext, input: {
2946
3465
  readonly contentType: string;
2947
3466
  }): Promise<unknown>;
2948
3467
  //#endregion
3468
+ //#region src/developer/vault.d.ts
3469
+ declare function createDeveloperVaultPermit(context: TransportContext, input: {
3470
+ readonly bearer: string;
3471
+ readonly appId: string;
3472
+ readonly itemId: string;
3473
+ readonly grant: InventoryVaultPermitCreateInput;
3474
+ }): Promise<InventoryVaultPermitRecord>;
3475
+ declare function createDeveloperWithdrawPermit(context: TransportContext, input: {
3476
+ readonly bearer: string;
3477
+ readonly appId: string;
3478
+ readonly itemId: string;
3479
+ readonly grant: InventoryWithdrawPermitCreateInput;
3480
+ }): Promise<InventoryVaultPermitRecord>;
3481
+ //#endregion
2949
3482
  //#region src/inventory/list.d.ts
2950
3483
  declare function listInventory(context: TransportContext, input: {
2951
3484
  readonly bearer: string;
@@ -2954,12 +3487,55 @@ declare function listInventoryForApp(context: TransportContext, input: {
2954
3487
  readonly bearer: string;
2955
3488
  }): Promise<InventoryListResponse>;
2956
3489
  //#endregion
3490
+ //#region src/inventory/nft-transfer.d.ts
3491
+ declare function quoteNftTransfer(context: TransportContext, input: {
3492
+ readonly bearer: string;
3493
+ readonly body: InventoryNftTransferQuoteRequest;
3494
+ }): Promise<InventoryNftTransferQuoteResponse>;
3495
+ declare function executeNftTransfer(context: TransportContext, input: {
3496
+ readonly bearer: string;
3497
+ readonly body: InventoryNftTransferRequest;
3498
+ }): Promise<InventoryNftTransferResponse>;
3499
+ //#endregion
3500
+ //#region src/inventory/permits.d.ts
3501
+ declare function listInventoryMintPermits(context: TransportContext, input: {
3502
+ readonly bearer: string;
3503
+ }): Promise<InventoryPendingPermitListResponse>;
3504
+ declare function redeemInventoryMintPermit(context: TransportContext, input: {
3505
+ readonly bearer: string;
3506
+ readonly permitId: string;
3507
+ }): Promise<InventoryPermitRedeemResult>;
3508
+ //#endregion
2957
3509
  //#region src/inventory/request-mint.d.ts
2958
3510
  declare function requestMint(context: TransportContext, input: {
2959
3511
  readonly appBearer: string;
2960
3512
  readonly body: MintRequestInput;
2961
3513
  }): Promise<MintRequestResult>;
2962
3514
  //#endregion
3515
+ //#region src/inventory/vault.d.ts
3516
+ declare function listInventoryVaultPermits(context: TransportContext, input: {
3517
+ readonly bearer: string;
3518
+ }): Promise<InventoryPendingVaultPermitListResponse>;
3519
+ declare function signInventoryVaultPermit(context: TransportContext, input: {
3520
+ readonly bearer: string;
3521
+ readonly permitId: string;
3522
+ }): Promise<InventorySignedVaultPermit>;
3523
+ declare function quoteRelayedVaultPermit(context: TransportContext, input: {
3524
+ readonly bearer: string;
3525
+ readonly permitId: string;
3526
+ }): Promise<InventoryRelayedVaultQuoteResponse>;
3527
+ declare function submitRelayedVaultPermit(context: TransportContext, input: {
3528
+ readonly bearer: string;
3529
+ readonly permitId: string;
3530
+ readonly body: InventoryRelayedVaultSubmitRequest;
3531
+ }): Promise<InventoryRelayedVaultSubmitResponse>;
3532
+ declare function listInventoryVaulted(context: TransportContext, input: {
3533
+ readonly bearer: string;
3534
+ }): Promise<InventoryVaultCustodyListResponse>;
3535
+ declare function listOauthInventoryVaulted(context: TransportContext, input: {
3536
+ readonly bearer: string;
3537
+ }): Promise<InventoryVaultCustodyListResponse>;
3538
+ //#endregion
2963
3539
  //#region src/messaging/dm-key-backup.d.ts
2964
3540
  declare function getDmKeyBackupStatus(context: TransportContext, input: {
2965
3541
  readonly bearer: string;
@@ -3236,6 +3812,22 @@ declare function createTronDeposit(context: TransportContext, input: {
3236
3812
  readonly bearer: string;
3237
3813
  readonly body: TronDepositRequest;
3238
3814
  }): Promise<TronDepositResponse>;
3815
+ declare function createTronTransfer(context: TransportContext, input: {
3816
+ readonly bearer: string;
3817
+ readonly body: TronTransferRequest;
3818
+ readonly idempotencyKey?: string;
3819
+ }): Promise<TronTransferResponse>;
3820
+ declare function getTronSecurity(context: TransportContext, input: {
3821
+ readonly bearer: string;
3822
+ }): Promise<TronSecuritySetting>;
3823
+ declare function setTronSecurity(context: TransportContext, input: {
3824
+ readonly bearer: string;
3825
+ readonly setting: TronSecuritySetting;
3826
+ }): Promise<TronSecuritySetting>;
3827
+ declare function createTronTransferChallenge(context: TransportContext, input: {
3828
+ readonly bearer: string;
3829
+ readonly body: TronTransferChallengeRequest;
3830
+ }): Promise<TronTransferChallengeResponse>;
3239
3831
  declare function createTronConnectOnboarding(context: TransportContext, input: {
3240
3832
  readonly bearer: string;
3241
3833
  }): Promise<TronConnectOnboardingResponse>;
@@ -3372,6 +3964,10 @@ declare function sendFriendRequest(context: TransportContext, input: {
3372
3964
  readonly bearer: string;
3373
3965
  readonly userId: string;
3374
3966
  }): Promise<void>;
3967
+ declare function removeFriend(context: TransportContext, input: {
3968
+ readonly bearer: string;
3969
+ readonly userId: string;
3970
+ }): Promise<void>;
3375
3971
  declare function decideFriendRequest(context: TransportContext, input: {
3376
3972
  readonly bearer: string;
3377
3973
  readonly requestId: string;
@@ -3675,4 +4271,4 @@ type CookieTokenStoreOptions = {
3675
4271
  };
3676
4272
  declare function createCookieTokenStore(options?: CookieTokenStoreOptions): TokenStore;
3677
4273
  //#endregion
3678
- 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 };
4274
+ 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 };