@metatrongg/sdk 0.8.0-dev.a70a494 → 0.8.0-dev.bace078

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.
@@ -246,6 +246,7 @@ type OauthPaymentIntentContext = {
246
246
  studioXHandle: string | null;
247
247
  };
248
248
  } | null;
249
+ environment: "development" | "production";
249
250
  };
250
251
  type OauthPaymentIntentSignResponse = {
251
252
  chain: string;
@@ -396,25 +397,39 @@ type Review = {
396
397
  id: string;
397
398
  recommended: ReviewRecommended;
398
399
  body: ReviewBody;
400
+ reactions: ReviewReactionCounts;
401
+ tippedCents: number;
402
+ commentCount: number;
399
403
  author: ReviewAuthor;
404
+ authorStats: ReviewerStats;
400
405
  developerReply: ReviewReply;
401
406
  createdAt: string;
402
407
  updatedAt: string;
403
408
  };
404
409
  type ReviewRecommended = boolean;
405
410
  type ReviewBody = string;
411
+ type ReviewReactionCounts = {
412
+ helpful: number;
413
+ unhelpful: number;
414
+ funny: number;
415
+ };
406
416
  type ReviewAuthor = {
407
417
  userId: string;
408
418
  handle: string | null;
409
419
  name: string | null;
410
420
  avatarUrl: string | null;
411
421
  };
422
+ type ReviewerStats = {
423
+ playtimeSecondsThisGame: number;
424
+ gamesPlayed: number;
425
+ reviewsWritten: number;
426
+ };
412
427
  type ReviewReply = {
413
428
  body: ReviewReplyBody;
414
429
  repliedAt: string;
415
430
  } | null;
416
431
  type ReviewReplyBody = string;
417
- type ReviewSort = "newest" | "oldest";
432
+ type ReviewSort = "newest" | "oldest" | "helpful";
418
433
  type MyReviewResponse = {
419
434
  eligible: boolean;
420
435
  eligibleVia: ReviewEligibilityReason;
@@ -433,6 +448,58 @@ type UpsertReviewRequest = {
433
448
  recommended: ReviewRecommended;
434
449
  body: ReviewBody;
435
450
  };
451
+ type MyReviewReactionsResponse = {
452
+ reactions: Array<MyReviewReaction>;
453
+ };
454
+ type MyReviewReaction = {
455
+ reviewId: string;
456
+ vote: ReviewVote;
457
+ funny: boolean;
458
+ };
459
+ type ReviewVote = "helpful" | "unhelpful" | null;
460
+ type SetReviewReactionResponse = {
461
+ reactions: ReviewReactionCounts;
462
+ vote: ReviewVote;
463
+ funny: boolean;
464
+ };
465
+ type SetReviewReactionRequest = {
466
+ vote: ReviewVote;
467
+ funny: boolean;
468
+ };
469
+ type TipReviewResponse = {
470
+ status: "completed";
471
+ amountCents: number;
472
+ balanceCents: number;
473
+ tippedCents: number;
474
+ };
475
+ type TipReviewRequest = {
476
+ amountCents: number;
477
+ note?: string;
478
+ challengeId?: string;
479
+ signature?: string;
480
+ };
481
+ type ReviewCommentListResponse = {
482
+ comments: Array<ReviewComment>;
483
+ total: number;
484
+ hasMore: boolean;
485
+ };
486
+ type ReviewComment = {
487
+ id: string;
488
+ body: ReviewCommentBody;
489
+ author: ReviewAuthor;
490
+ createdAt: string;
491
+ };
492
+ type ReviewCommentBody = string;
493
+ type CreateReviewCommentResponse = {
494
+ comment: ReviewComment;
495
+ commentCount: number;
496
+ };
497
+ type CreateReviewCommentRequest = {
498
+ body: ReviewCommentBody;
499
+ };
500
+ type DeleteReviewCommentResponse = {
501
+ commentCount: number;
502
+ };
436
503
  type ReviewReplyResponse = {
437
504
  developerReply: ReviewReply;
438
505
  };
@@ -540,7 +607,9 @@ type ActivityRow = ({
540
607
  kind: "tron_transfer";
541
608
  } & ActivityRowTronTransfer) | ({
542
609
  kind: "referral_earning";
543
- } & ActivityRowReferralEarning);
610
+ } & ActivityRowReferralEarning) | ({
611
+ kind: "nft_charge";
612
+ } & ActivityRowNftCharge);
544
613
  type ActivityRowPayment = {
545
614
  kind: "payment";
546
615
  groupId: string | null;
@@ -852,6 +921,22 @@ type ActivityRowReferralEarning = {
852
921
  logIndex: number;
853
922
  usdCents: number | null;
854
923
  };
924
+ type ActivityRowNftCharge = {
925
+ kind: "nft_charge";
926
+ groupId: string | null;
927
+ id: string;
928
+ occurredAt: string;
929
+ role: "outgoing";
930
+ chargeKind: "registration" | "mint" | "transfer_gas";
931
+ amountCents: number;
932
+ usdCents: number;
933
+ status: "settled";
934
+ collectionAddress: string | null;
935
+ tokenId: string | null;
936
+ counterpartyUserId: string | null;
937
+ counterpartyHandle: string | null;
938
+ counterpartyDisplayName: string | null;
939
+ };
855
940
  type OutstandingResponse = {
856
941
  rows: Array<OutstandingByToken>;
857
942
  };
@@ -901,7 +986,7 @@ type TronLedgerResponse = {
901
986
  };
902
987
  type TronLedgerEntry = {
903
988
  id: string;
904
- kind: "deposit" | "pot_stake" | "pot_payout" | "dev_earning" | "cashout_hold" | "cashout_release" | "dispute_freeze" | "dispute_unfreeze" | "hosted_billing" | "store_purchase" | "referral_earning" | "peer_transfer";
989
+ kind: "deposit" | "pot_stake" | "pot_payout" | "dev_earning" | "cashout_hold" | "cashout_release" | "dispute_freeze" | "dispute_unfreeze" | "hosted_billing" | "store_purchase" | "referral_earning" | "peer_transfer" | "nft_registration" | "nft_mint" | "nft_gas";
905
990
  amountCents: number;
906
991
  currency: string;
907
992
  createdAt: string;
@@ -930,6 +1015,30 @@ type TronTransferRequest = {
930
1015
  recipientUserId: string;
931
1016
  amountCents: number;
932
1017
  note?: string;
1018
+ challengeId?: string;
1019
+ signature?: string;
1020
+ threadId?: string;
1021
+ };
1022
+ type TronSecuritySetting = {
1023
+ requireSignature: boolean;
1024
+ };
1025
+ type TronTransferChallengeResponse = ({
1026
+ required: false;
1027
+ } & TronTransferChallengeNotRequired) | ({
1028
+ required: true;
1029
+ } & TronTransferChallengeRequired);
1030
+ type TronTransferChallengeNotRequired = {
1031
+ required: false;
1032
+ };
1033
+ type TronTransferChallengeRequired = {
1034
+ required: true;
1035
+ challengeId: string;
1036
+ message: string;
1037
+ expiresAt: string;
1038
+ };
1039
+ type TronTransferChallengeRequest = {
1040
+ recipientUserId: string;
1041
+ amountCents: number;
933
1042
  };
934
1043
  type TronConnectOnboardingResponse = {
935
1044
  url: string;
@@ -1097,6 +1206,7 @@ type ThreadLastMessagePreview = {
1097
1206
  url: string;
1098
1207
  count: number;
1099
1208
  } | null;
1209
+ transaction?: MessageTransaction;
1100
1210
  sentAt: string;
1101
1211
  } | null;
1102
1212
  type MessageEnvelope = {
@@ -1108,6 +1218,20 @@ type MessageEnvelope = {
1108
1218
  iv: string;
1109
1219
  ct: string;
1110
1220
  } | null;
1221
+ type MessageTransaction = MessageTransactionTronTransfer | MessageTransactionNftTransfer;
1222
+ type MessageTransactionTronTransfer = {
1223
+ kind: "tron_transfer";
1224
+ amountCents: number;
1225
+ recipientUserId: string;
1226
+ };
1227
+ type MessageTransactionNftTransfer = {
1228
+ kind: "nft_transfer";
1229
+ recipientUserId: string;
1230
+ collectionAddress: string;
1231
+ tokenId: string;
1232
+ amount: string;
1233
+ itemName: string | null;
1234
+ };
1111
1235
  type GroupThreadSummary = {
1112
1236
  kind: "group";
1113
1237
  id: string;
@@ -1154,6 +1278,7 @@ type MessageItem = {
1154
1278
  id: string;
1155
1279
  threadId: string;
1156
1280
  senderUserId: string;
1281
+ transaction?: MessageTransaction;
1157
1282
  body: string;
1158
1283
  envelope?: MessageEnvelope;
1159
1284
  sentAt: string;
@@ -1365,11 +1490,45 @@ type InventoryHolding = {
1365
1490
  tokenId: string;
1366
1491
  amount: string;
1367
1492
  name: string | null;
1493
+ description: string | null;
1368
1494
  imageAssetId: string | null;
1369
1495
  bannerAssetId: string | null;
1370
1496
  devMetadata: {
1371
1497
  [key: string]: unknown;
1372
1498
  };
1499
+ appId: string | null;
1500
+ appName: string | null;
1501
+ appLogoUrl: string | null;
1502
+ };
1503
+ type InventoryPendingPermitListResponse = {
1504
+ permits: Array<InventoryPendingPermit>;
1505
+ };
1506
+ type InventoryPendingPermit = {
1507
+ id: string;
1508
+ appId: string;
1509
+ itemId: string;
1510
+ amount: string;
1511
+ priceCents: number | null;
1512
+ gasSponsored: boolean;
1513
+ environment: "development" | "production";
1514
+ createdAt: string;
1515
+ tokenId: string;
1516
+ name: string | null;
1517
+ description: string | null;
1518
+ imageAssetId: string | null;
1519
+ chain: string;
1520
+ collectionAddress: string;
1521
+ kind: "erc721" | "erc1155";
1522
+ };
1523
+ type InventoryPermitRedeemResult = {
1524
+ mint: MintRequestResult;
1525
+ charge: {
1526
+ currency: "tron";
1527
+ gasCents: number;
1528
+ priceCents: number;
1529
+ totalCents: number;
1530
+ gasPaidBy: "user" | "developer";
1531
+ };
1373
1532
  };
1374
1533
  type MintRequestResult = {
1375
1534
  mintRequestId: string;
@@ -1385,6 +1544,247 @@ type MintRequestInput = {
1385
1544
  tokenId?: string;
1386
1545
  amount?: string;
1387
1546
  };
1547
+ type InventoryCollectionListResponse = {
1548
+ collections: Array<InventoryCollectionSummary>;
1549
+ };
1550
+ type InventoryCollectionSummary = {
1551
+ id: string;
1552
+ chain: string;
1553
+ collectionAddress: string;
1554
+ kind: "erc721" | "erc1155";
1555
+ name: string | null;
1556
+ environment: "development" | "production";
1557
+ };
1558
+ type InventoryRegistrationQuote = {
1559
+ itemCount: number;
1560
+ baselineUsdCents: number;
1561
+ gasUsdCents: number;
1562
+ tron: {
1563
+ baselineCents: number;
1564
+ gasCents: number;
1565
+ totalCents: number;
1566
+ };
1567
+ eth: {
1568
+ baselineWei: string;
1569
+ gasWei: string;
1570
+ totalWei: string;
1571
+ };
1572
+ };
1573
+ type InventoryItemRegistrationInput = {
1574
+ collectionAddress: string;
1575
+ chain: string;
1576
+ items: Array<InventoryItemRegistrationSpec>;
1577
+ };
1578
+ type InventoryItemRegistrationSpec = {
1579
+ name?: string | null;
1580
+ description?: string | null;
1581
+ devMetadata?: {
1582
+ [key: string]: unknown;
1583
+ };
1584
+ supplyType?: InventorySupplyType;
1585
+ maxSupply?: string | null;
1586
+ active?: boolean;
1587
+ };
1588
+ type InventorySupplyType = "capped" | "flexible" | "unlimited";
1589
+ type InventoryItemRegistrationResult = {
1590
+ items: Array<InventoryItemRecord>;
1591
+ charge: {
1592
+ currency: "tron";
1593
+ amountCents: number;
1594
+ baselineCents: number;
1595
+ gasCents: number;
1596
+ addItemTxHash: string;
1597
+ };
1598
+ };
1599
+ type InventoryItemRecord = {
1600
+ id: string;
1601
+ collectionId: string;
1602
+ collectionAddress: string;
1603
+ chain: string;
1604
+ kind: "erc721" | "erc1155";
1605
+ tokenId: string;
1606
+ name: string | null;
1607
+ description: string | null;
1608
+ imageAssetId: string | null;
1609
+ bannerAssetId: string | null;
1610
+ devMetadata: {
1611
+ [key: string]: unknown;
1612
+ };
1613
+ supplyType: InventorySupplyType | null;
1614
+ maxSupply: string | null;
1615
+ active: boolean;
1616
+ };
1617
+ type InventoryItemListResponse = {
1618
+ items: Array<InventoryItemRecord>;
1619
+ };
1620
+ type InventoryMintPermitRecord = {
1621
+ id: string;
1622
+ appId: string;
1623
+ itemId: string;
1624
+ userId: string;
1625
+ amount: string;
1626
+ priceCents: number | null;
1627
+ gasSponsored: boolean;
1628
+ status: "pending" | "redeemed" | "revoked";
1629
+ createdAt: string;
1630
+ };
1631
+ type InventoryMintPermitCreateInput = {
1632
+ toUserId: string;
1633
+ amount?: string;
1634
+ priceCents?: number | null;
1635
+ gasSponsored?: boolean;
1636
+ };
1637
+ type InventoryItemHoldersResponse = {
1638
+ stats: InventoryItemStats;
1639
+ holders: Array<InventoryItemHolder>;
1640
+ };
1641
+ type InventoryItemStats = {
1642
+ holderCount: number;
1643
+ walletCount: number;
1644
+ totalHeld: string;
1645
+ };
1646
+ type InventoryItemHolder = {
1647
+ walletAddress: string;
1648
+ userId: string | null;
1649
+ amount: string;
1650
+ };
1651
+ type InventoryVaultPermitRecord = {
1652
+ id: string;
1653
+ appId: string;
1654
+ itemId: string;
1655
+ userId: string;
1656
+ direction: "vault_in" | "withdraw";
1657
+ lockKind: "vault" | "burn" | null;
1658
+ amount: string;
1659
+ gasSponsored: boolean;
1660
+ status: "pending" | "redeemed" | "revoked";
1661
+ custodyId: string | null;
1662
+ createdAt: string;
1663
+ };
1664
+ type InventoryVaultPermitCreateInput = {
1665
+ toUserId: string;
1666
+ lockKind: "vault" | "burn";
1667
+ amount?: string;
1668
+ gasSponsored?: boolean;
1669
+ };
1670
+ type InventoryWithdrawPermitCreateInput = {
1671
+ custodyId: string;
1672
+ };
1673
+ type InventoryPendingVaultPermitListResponse = {
1674
+ permits: Array<InventoryPendingVaultPermit>;
1675
+ };
1676
+ type InventoryPendingVaultPermit = {
1677
+ id: string;
1678
+ appId: string;
1679
+ itemId: string;
1680
+ direction: "vault_in" | "withdraw";
1681
+ lockKind: "vault" | "burn" | null;
1682
+ amount: string;
1683
+ gasSponsored: boolean;
1684
+ environment: "development" | "production";
1685
+ custodyId: string | null;
1686
+ createdAt: string;
1687
+ tokenId: string;
1688
+ name: string | null;
1689
+ description: string | null;
1690
+ imageAssetId: string | null;
1691
+ chain: string;
1692
+ collectionAddress: string;
1693
+ kind: "erc721" | "erc1155";
1694
+ };
1695
+ type InventorySignedVaultPermit = {
1696
+ permitId: string;
1697
+ direction: "vault_in" | "withdraw";
1698
+ vault: string;
1699
+ collection: string;
1700
+ user: string;
1701
+ tokenId: string;
1702
+ amount: string;
1703
+ lockKind: "vault" | "burn" | null;
1704
+ destination: string | null;
1705
+ deadline: number;
1706
+ signature: string;
1707
+ };
1708
+ type InventoryRelayedVaultQuoteResponse = {
1709
+ direction: "vault_in" | "withdraw";
1710
+ collection: string;
1711
+ vault: string;
1712
+ chainId: number;
1713
+ user: string;
1714
+ tokenId: string;
1715
+ amount: string;
1716
+ nonce: string | null;
1717
+ deadline: number;
1718
+ feeCents: number;
1719
+ gasWei: string;
1720
+ gasPaidBy: "developer" | "user";
1721
+ requiresUserSignature: boolean;
1722
+ };
1723
+ type InventoryRelayedVaultSubmitResponse = {
1724
+ ok: boolean;
1725
+ txHash: string;
1726
+ chargedCents: number;
1727
+ gasPaidBy: "developer" | "user";
1728
+ };
1729
+ type InventoryRelayedVaultSubmitRequest = {
1730
+ userSignature?: string;
1731
+ deadline?: number;
1732
+ };
1733
+ type InventoryNftTransferQuoteResponse = {
1734
+ collection: string;
1735
+ chainId: number;
1736
+ from: string;
1737
+ to: string;
1738
+ tokenId: string;
1739
+ amount: string;
1740
+ nonce: string;
1741
+ deadline: number;
1742
+ feeCents: number;
1743
+ gasWei: string;
1744
+ selfPayAvailable: boolean;
1745
+ };
1746
+ type InventoryNftTransferQuoteRequest = {
1747
+ toUserId: string;
1748
+ collection: string;
1749
+ tokenId: string;
1750
+ amount?: string;
1751
+ };
1752
+ type InventoryNftTransferResponse = {
1753
+ ok: boolean;
1754
+ txHash: string;
1755
+ chargedCents: number;
1756
+ };
1757
+ type InventoryNftTransferRequest = {
1758
+ toUserId: string;
1759
+ collection: string;
1760
+ tokenId: string;
1761
+ amount?: string;
1762
+ deadline: number;
1763
+ userSignature: string;
1764
+ threadId?: string;
1765
+ };
1766
+ type InventoryVaultCustodyListResponse = {
1767
+ custody: Array<InventoryVaultCustody>;
1768
+ };
1769
+ type InventoryVaultCustody = {
1770
+ id: string;
1771
+ collectionId: string;
1772
+ collectionAddress: string;
1773
+ chain: string;
1774
+ kind: "erc721" | "erc1155";
1775
+ tokenId: string;
1776
+ amount: string;
1777
+ lockKind: "vault" | "burn";
1778
+ vaultAddress: string;
1779
+ createdAt: string;
1780
+ name: string | null;
1781
+ description: string | null;
1782
+ imageAssetId: string | null;
1783
+ };
1784
+ type InventoryVaultForceWithdrawResponse = {
1785
+ ok: boolean;
1786
+ txHash: string;
1787
+ };
1388
1788
  type NotificationListResponse = {
1389
1789
  notifications: Array<NotificationItem>;
1390
1790
  unreadCount: number;
@@ -2467,6 +2867,12 @@ declare function listDevelopers(context: TransportContext, input: {
2467
2867
  readonly bearer: string;
2468
2868
  }): Promise<AdminDeveloperListResponse>;
2469
2869
  //#endregion
2870
+ //#region src/admin/inventory-vault.d.ts
2871
+ declare function forceWithdrawVaultCustody(context: TransportContext, input: {
2872
+ readonly bearer: string;
2873
+ readonly custodyId: string;
2874
+ }): Promise<InventoryVaultForceWithdrawResponse>;
2875
+ //#endregion
2470
2876
  //#region src/admin/payments.d.ts
2471
2877
  declare function getPlatformFees(context: TransportContext, input: {
2472
2878
  readonly bearer: string;
@@ -2629,6 +3035,41 @@ declare function deleteMyGameReview(context: TransportContext, input: {
2629
3035
  readonly slug: string;
2630
3036
  readonly bearer: string;
2631
3037
  }): Promise<MyReviewResponse>;
3038
+ declare function getMyGameReviewReactions(context: TransportContext, input: {
3039
+ readonly slug: string;
3040
+ readonly bearer: string;
3041
+ }): Promise<MyReviewReactionsResponse>;
3042
+ declare function setMyGameReviewReaction(context: TransportContext, input: {
3043
+ readonly slug: string;
3044
+ readonly reviewId: string;
3045
+ readonly bearer: string;
3046
+ readonly reaction: SetReviewReactionRequest;
3047
+ }): Promise<SetReviewReactionResponse>;
3048
+ declare function tipGameReview(context: TransportContext, input: {
3049
+ readonly slug: string;
3050
+ readonly reviewId: string;
3051
+ readonly bearer: string;
3052
+ readonly tip: TipReviewRequest;
3053
+ readonly idempotencyKey?: string;
3054
+ }): Promise<TipReviewResponse>;
3055
+ declare function listGameReviewComments(context: TransportContext, input: {
3056
+ readonly slug: string;
3057
+ readonly reviewId: string;
3058
+ readonly bearer?: string;
3059
+ readonly limit?: number;
3060
+ readonly offset?: number;
3061
+ }): Promise<ReviewCommentListResponse>;
3062
+ declare function commentOnGameReview(context: TransportContext, input: {
3063
+ readonly slug: string;
3064
+ readonly reviewId: string;
3065
+ readonly bearer: string;
3066
+ readonly comment: CreateReviewCommentRequest;
3067
+ }): Promise<CreateReviewCommentResponse>;
3068
+ declare function deleteGameReviewComment(context: TransportContext, input: {
3069
+ readonly slug: string;
3070
+ readonly commentId: string;
3071
+ readonly bearer: string;
3072
+ }): Promise<DeleteReviewCommentResponse>;
2632
3073
  declare function replyToGameReview(context: TransportContext, input: {
2633
3074
  readonly appId: string;
2634
3075
  readonly reviewId: string;
@@ -2851,6 +3292,53 @@ declare function updateDeveloperAppContentReportStatus(context: TransportContext
2851
3292
  readonly status: "acknowledged" | "dismissed";
2852
3293
  }): Promise<AppContentReport>;
2853
3294
  //#endregion
3295
+ //#region src/developer/inventory.d.ts
3296
+ declare function quoteDeveloperAppInventoryRegistration(context: TransportContext, input: {
3297
+ readonly bearer: string;
3298
+ readonly appId: string;
3299
+ readonly registration: InventoryItemRegistrationInput;
3300
+ }): Promise<InventoryRegistrationQuote>;
3301
+ declare function registerDeveloperAppInventoryItem(context: TransportContext, input: {
3302
+ readonly bearer: string;
3303
+ readonly appId: string;
3304
+ readonly registration: InventoryItemRegistrationInput;
3305
+ }): Promise<InventoryItemRegistrationResult>;
3306
+ declare function listDeveloperAppInventoryCollections(context: TransportContext, input: {
3307
+ readonly bearer: string;
3308
+ readonly appId: string;
3309
+ }): Promise<InventoryCollectionListResponse>;
3310
+ declare function listDeveloperAppInventoryItems(context: TransportContext, input: {
3311
+ readonly bearer: string;
3312
+ readonly appId: string;
3313
+ }): Promise<InventoryItemListResponse>;
3314
+ declare function createDeveloperAppMintPermit(context: TransportContext, input: {
3315
+ readonly bearer: string;
3316
+ readonly appId: string;
3317
+ readonly itemId: string;
3318
+ readonly grant: InventoryMintPermitCreateInput;
3319
+ }): Promise<InventoryMintPermitRecord>;
3320
+ declare function getDeveloperAppInventoryItemHolders(context: TransportContext, input: {
3321
+ readonly bearer: string;
3322
+ readonly appId: string;
3323
+ readonly itemId: string;
3324
+ }): Promise<InventoryItemHoldersResponse>;
3325
+ declare function uploadDeveloperAppInventoryItemImage(context: TransportContext, input: {
3326
+ readonly bearer: string;
3327
+ readonly appId: string;
3328
+ readonly itemId: string;
3329
+ readonly file: Blob | ArrayBufferView | ArrayBuffer;
3330
+ readonly filename: string;
3331
+ readonly contentType: string;
3332
+ }): Promise<InventoryItemRecord>;
3333
+ declare function uploadDeveloperAppInventoryItemBanner(context: TransportContext, input: {
3334
+ readonly bearer: string;
3335
+ readonly appId: string;
3336
+ readonly itemId: string;
3337
+ readonly file: Blob | ArrayBufferView | ArrayBuffer;
3338
+ readonly filename: string;
3339
+ readonly contentType: string;
3340
+ }): Promise<InventoryItemRecord>;
3341
+ //#endregion
2854
3342
  //#region src/developer/pages.d.ts
2855
3343
  declare function getDeveloperAppPage(context: TransportContext, input: {
2856
3344
  readonly bearer: string;
@@ -2975,6 +3463,20 @@ declare function uploadMultipart(context: TransportContext, input: {
2975
3463
  readonly contentType: string;
2976
3464
  }): Promise<unknown>;
2977
3465
  //#endregion
3466
+ //#region src/developer/vault.d.ts
3467
+ declare function createDeveloperVaultPermit(context: TransportContext, input: {
3468
+ readonly bearer: string;
3469
+ readonly appId: string;
3470
+ readonly itemId: string;
3471
+ readonly grant: InventoryVaultPermitCreateInput;
3472
+ }): Promise<InventoryVaultPermitRecord>;
3473
+ declare function createDeveloperWithdrawPermit(context: TransportContext, input: {
3474
+ readonly bearer: string;
3475
+ readonly appId: string;
3476
+ readonly itemId: string;
3477
+ readonly grant: InventoryWithdrawPermitCreateInput;
3478
+ }): Promise<InventoryVaultPermitRecord>;
3479
+ //#endregion
2978
3480
  //#region src/inventory/list.d.ts
2979
3481
  declare function listInventory(context: TransportContext, input: {
2980
3482
  readonly bearer: string;
@@ -2983,12 +3485,55 @@ declare function listInventoryForApp(context: TransportContext, input: {
2983
3485
  readonly bearer: string;
2984
3486
  }): Promise<InventoryListResponse>;
2985
3487
  //#endregion
3488
+ //#region src/inventory/nft-transfer.d.ts
3489
+ declare function quoteNftTransfer(context: TransportContext, input: {
3490
+ readonly bearer: string;
3491
+ readonly body: InventoryNftTransferQuoteRequest;
3492
+ }): Promise<InventoryNftTransferQuoteResponse>;
3493
+ declare function executeNftTransfer(context: TransportContext, input: {
3494
+ readonly bearer: string;
3495
+ readonly body: InventoryNftTransferRequest;
3496
+ }): Promise<InventoryNftTransferResponse>;
3497
+ //#endregion
3498
+ //#region src/inventory/permits.d.ts
3499
+ declare function listInventoryMintPermits(context: TransportContext, input: {
3500
+ readonly bearer: string;
3501
+ }): Promise<InventoryPendingPermitListResponse>;
3502
+ declare function redeemInventoryMintPermit(context: TransportContext, input: {
3503
+ readonly bearer: string;
3504
+ readonly permitId: string;
3505
+ }): Promise<InventoryPermitRedeemResult>;
3506
+ //#endregion
2986
3507
  //#region src/inventory/request-mint.d.ts
2987
3508
  declare function requestMint(context: TransportContext, input: {
2988
3509
  readonly appBearer: string;
2989
3510
  readonly body: MintRequestInput;
2990
3511
  }): Promise<MintRequestResult>;
2991
3512
  //#endregion
3513
+ //#region src/inventory/vault.d.ts
3514
+ declare function listInventoryVaultPermits(context: TransportContext, input: {
3515
+ readonly bearer: string;
3516
+ }): Promise<InventoryPendingVaultPermitListResponse>;
3517
+ declare function signInventoryVaultPermit(context: TransportContext, input: {
3518
+ readonly bearer: string;
3519
+ readonly permitId: string;
3520
+ }): Promise<InventorySignedVaultPermit>;
3521
+ declare function quoteRelayedVaultPermit(context: TransportContext, input: {
3522
+ readonly bearer: string;
3523
+ readonly permitId: string;
3524
+ }): Promise<InventoryRelayedVaultQuoteResponse>;
3525
+ declare function submitRelayedVaultPermit(context: TransportContext, input: {
3526
+ readonly bearer: string;
3527
+ readonly permitId: string;
3528
+ readonly body: InventoryRelayedVaultSubmitRequest;
3529
+ }): Promise<InventoryRelayedVaultSubmitResponse>;
3530
+ declare function listInventoryVaulted(context: TransportContext, input: {
3531
+ readonly bearer: string;
3532
+ }): Promise<InventoryVaultCustodyListResponse>;
3533
+ declare function listOauthInventoryVaulted(context: TransportContext, input: {
3534
+ readonly bearer: string;
3535
+ }): Promise<InventoryVaultCustodyListResponse>;
3536
+ //#endregion
2992
3537
  //#region src/messaging/dm-key-backup.d.ts
2993
3538
  declare function getDmKeyBackupStatus(context: TransportContext, input: {
2994
3539
  readonly bearer: string;
@@ -3270,6 +3815,17 @@ declare function createTronTransfer(context: TransportContext, input: {
3270
3815
  readonly body: TronTransferRequest;
3271
3816
  readonly idempotencyKey?: string;
3272
3817
  }): Promise<TronTransferResponse>;
3818
+ declare function getTronSecurity(context: TransportContext, input: {
3819
+ readonly bearer: string;
3820
+ }): Promise<TronSecuritySetting>;
3821
+ declare function setTronSecurity(context: TransportContext, input: {
3822
+ readonly bearer: string;
3823
+ readonly setting: TronSecuritySetting;
3824
+ }): Promise<TronSecuritySetting>;
3825
+ declare function createTronTransferChallenge(context: TransportContext, input: {
3826
+ readonly bearer: string;
3827
+ readonly body: TronTransferChallengeRequest;
3828
+ }): Promise<TronTransferChallengeResponse>;
3273
3829
  declare function createTronConnectOnboarding(context: TransportContext, input: {
3274
3830
  readonly bearer: string;
3275
3831
  }): Promise<TronConnectOnboardingResponse>;
@@ -3406,6 +3962,10 @@ declare function sendFriendRequest(context: TransportContext, input: {
3406
3962
  readonly bearer: string;
3407
3963
  readonly userId: string;
3408
3964
  }): Promise<void>;
3965
+ declare function removeFriend(context: TransportContext, input: {
3966
+ readonly bearer: string;
3967
+ readonly userId: string;
3968
+ }): Promise<void>;
3409
3969
  declare function decideFriendRequest(context: TransportContext, input: {
3410
3970
  readonly bearer: string;
3411
3971
  readonly requestId: string;
@@ -3709,4 +4269,4 @@ type CookieTokenStoreOptions = {
3709
4269
  };
3710
4270
  declare function createCookieTokenStore(options?: CookieTokenStoreOptions): TokenStore;
3711
4271
  //#endregion
3712
- 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, createTronTransfer, 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 };
4272
+ 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 };