@metatrongg/sdk 0.8.0-dev.f0f6902 → 0.8.0-dev.f69896a

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.
@@ -91,7 +91,7 @@ type Username = string;
91
91
  type DisplayName = string | null;
92
92
  type Bio = string | null;
93
93
  type WebsiteUrl = string | null;
94
- type BannerVariant = "yellow" | "green" | "blue" | "white" | "black";
94
+ type BannerVariant = "yellow" | "green" | "blue" | "white" | "black" | "red";
95
95
  type AdminRole = "super-admin" | "admin" | "read-only" | null;
96
96
  type PresenceStatusMode = "auto" | "online" | "offline";
97
97
  type PlatformEnvironment = "development" | "production";
@@ -106,7 +106,7 @@ type OauthAuthorizationServerMetadata = {
106
106
  grant_types_supported: Array<"authorization_code" | "refresh_token" | "client_credentials">;
107
107
  code_challenge_methods_supported: Array<"S256">;
108
108
  token_endpoint_auth_methods_supported: Array<"client_secret_basic" | "client_secret_post" | "none">;
109
- scopes_supported: Array<"openid" | "profile" | "payments:charge" | "inventory:read" | "developer:read" | "developer:apps" | "developer:pages">;
109
+ scopes_supported: Array<"openid" | "profile" | "payments:charge" | "inventory:read" | "social:read" | "developer:read" | "developer:apps" | "developer:pages">;
110
110
  };
111
111
  type OauthScopeString = string;
112
112
  type OauthState = string;
@@ -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;
@@ -474,6 +477,8 @@ type TipReviewResponse = {
474
477
  type TipReviewRequest = {
475
478
  amountCents: number;
476
479
  note?: string;
480
+ challengeId?: string;
481
+ signature?: string;
477
482
  };
478
483
  type ReviewCommentListResponse = {
479
484
  comments: Array<ReviewComment>;
@@ -604,7 +609,9 @@ type ActivityRow = ({
604
609
  kind: "tron_transfer";
605
610
  } & ActivityRowTronTransfer) | ({
606
611
  kind: "referral_earning";
607
- } & ActivityRowReferralEarning);
612
+ } & ActivityRowReferralEarning) | ({
613
+ kind: "nft_charge";
614
+ } & ActivityRowNftCharge);
608
615
  type ActivityRowPayment = {
609
616
  kind: "payment";
610
617
  groupId: string | null;
@@ -916,6 +923,22 @@ type ActivityRowReferralEarning = {
916
923
  logIndex: number;
917
924
  usdCents: number | null;
918
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
+ };
919
942
  type OutstandingResponse = {
920
943
  rows: Array<OutstandingByToken>;
921
944
  };
@@ -965,7 +988,7 @@ type TronLedgerResponse = {
965
988
  };
966
989
  type TronLedgerEntry = {
967
990
  id: string;
968
- kind: "deposit" | "pot_stake" | "pot_payout" | "dev_earning" | "cashout_hold" | "cashout_release" | "dispute_freeze" | "dispute_unfreeze" | "hosted_billing" | "store_purchase" | "referral_earning" | "peer_transfer";
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";
969
992
  amountCents: number;
970
993
  currency: string;
971
994
  createdAt: string;
@@ -994,6 +1017,30 @@ type TronTransferRequest = {
994
1017
  recipientUserId: string;
995
1018
  amountCents: number;
996
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;
997
1044
  };
998
1045
  type TronConnectOnboardingResponse = {
999
1046
  url: string;
@@ -1161,6 +1208,7 @@ type ThreadLastMessagePreview = {
1161
1208
  url: string;
1162
1209
  count: number;
1163
1210
  } | null;
1211
+ transaction?: MessageTransactionTronTransfer | MessageTransactionNftTransfer | null;
1164
1212
  sentAt: string;
1165
1213
  } | null;
1166
1214
  type MessageEnvelope = {
@@ -1172,6 +1220,20 @@ type MessageEnvelope = {
1172
1220
  iv: string;
1173
1221
  ct: string;
1174
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
+ imageAssetId?: string | null;
1236
+ };
1175
1237
  type GroupThreadSummary = {
1176
1238
  kind: "group";
1177
1239
  id: string;
@@ -1218,6 +1280,7 @@ type MessageItem = {
1218
1280
  id: string;
1219
1281
  threadId: string;
1220
1282
  senderUserId: string;
1283
+ transaction?: MessageTransactionTronTransfer | MessageTransactionNftTransfer | null;
1221
1284
  body: string;
1222
1285
  envelope?: MessageEnvelope;
1223
1286
  sentAt: string;
@@ -1429,11 +1492,45 @@ type InventoryHolding = {
1429
1492
  tokenId: string;
1430
1493
  amount: string;
1431
1494
  name: string | null;
1495
+ description: string | null;
1432
1496
  imageAssetId: string | null;
1433
1497
  bannerAssetId: string | null;
1434
1498
  devMetadata: {
1435
1499
  [key: string]: unknown;
1436
1500
  };
1501
+ appId: string | null;
1502
+ appName: string | null;
1503
+ appLogoUrl: string | null;
1504
+ };
1505
+ type InventoryPendingPermitListResponse = {
1506
+ permits: Array<InventoryPendingPermit>;
1507
+ };
1508
+ type InventoryPendingPermit = {
1509
+ id: string;
1510
+ appId: string;
1511
+ itemId: string;
1512
+ amount: string;
1513
+ priceCents: number | null;
1514
+ gasSponsored: boolean;
1515
+ environment: "development" | "production";
1516
+ createdAt: string;
1517
+ tokenId: string;
1518
+ name: string | null;
1519
+ description: string | null;
1520
+ imageAssetId: string | null;
1521
+ chain: string;
1522
+ collectionAddress: string;
1523
+ kind: "erc721" | "erc1155";
1524
+ };
1525
+ type InventoryPermitRedeemResult = {
1526
+ mint: MintRequestResult;
1527
+ charge: {
1528
+ currency: "tron";
1529
+ gasCents: number;
1530
+ priceCents: number;
1531
+ totalCents: number;
1532
+ gasPaidBy: "user" | "developer";
1533
+ };
1437
1534
  };
1438
1535
  type MintRequestResult = {
1439
1536
  mintRequestId: string;
@@ -1449,6 +1546,247 @@ type MintRequestInput = {
1449
1546
  tokenId?: string;
1450
1547
  amount?: string;
1451
1548
  };
1549
+ type InventoryCollectionListResponse = {
1550
+ collections: Array<InventoryCollectionSummary>;
1551
+ };
1552
+ type InventoryCollectionSummary = {
1553
+ id: string;
1554
+ chain: string;
1555
+ collectionAddress: string;
1556
+ kind: "erc721" | "erc1155";
1557
+ name: string | null;
1558
+ environment: "development" | "production";
1559
+ };
1560
+ type InventoryRegistrationQuote = {
1561
+ itemCount: number;
1562
+ baselineUsdCents: number;
1563
+ gasUsdCents: number;
1564
+ tron: {
1565
+ baselineCents: number;
1566
+ gasCents: number;
1567
+ totalCents: number;
1568
+ };
1569
+ eth: {
1570
+ baselineWei: string;
1571
+ gasWei: string;
1572
+ totalWei: string;
1573
+ };
1574
+ };
1575
+ type InventoryItemRegistrationInput = {
1576
+ collectionAddress: string;
1577
+ chain: string;
1578
+ items: Array<InventoryItemRegistrationSpec>;
1579
+ };
1580
+ type InventoryItemRegistrationSpec = {
1581
+ name?: string | null;
1582
+ description?: string | null;
1583
+ devMetadata?: {
1584
+ [key: string]: unknown;
1585
+ };
1586
+ supplyType?: InventorySupplyType;
1587
+ maxSupply?: string | null;
1588
+ active?: boolean;
1589
+ };
1590
+ type InventorySupplyType = "capped" | "flexible" | "unlimited";
1591
+ type InventoryItemRegistrationResult = {
1592
+ items: Array<InventoryItemRecord>;
1593
+ charge: {
1594
+ currency: "tron";
1595
+ amountCents: number;
1596
+ baselineCents: number;
1597
+ gasCents: number;
1598
+ addItemTxHash: string;
1599
+ };
1600
+ };
1601
+ type InventoryItemRecord = {
1602
+ id: string;
1603
+ collectionId: string;
1604
+ collectionAddress: string;
1605
+ chain: string;
1606
+ kind: "erc721" | "erc1155";
1607
+ tokenId: string;
1608
+ name: string | null;
1609
+ description: string | null;
1610
+ imageAssetId: string | null;
1611
+ bannerAssetId: string | null;
1612
+ devMetadata: {
1613
+ [key: string]: unknown;
1614
+ };
1615
+ supplyType: InventorySupplyType | null;
1616
+ maxSupply: string | null;
1617
+ active: boolean;
1618
+ };
1619
+ type InventoryItemListResponse = {
1620
+ items: Array<InventoryItemRecord>;
1621
+ };
1622
+ type InventoryMintPermitRecord = {
1623
+ id: string;
1624
+ appId: string;
1625
+ itemId: string;
1626
+ userId: string;
1627
+ amount: string;
1628
+ priceCents: number | null;
1629
+ gasSponsored: boolean;
1630
+ status: "pending" | "redeemed" | "revoked";
1631
+ createdAt: string;
1632
+ };
1633
+ type InventoryMintPermitCreateInput = {
1634
+ toUserId: string;
1635
+ amount?: string;
1636
+ priceCents?: number | null;
1637
+ gasSponsored?: boolean;
1638
+ };
1639
+ type InventoryItemHoldersResponse = {
1640
+ stats: InventoryItemStats;
1641
+ holders: Array<InventoryItemHolder>;
1642
+ };
1643
+ type InventoryItemStats = {
1644
+ holderCount: number;
1645
+ walletCount: number;
1646
+ totalHeld: string;
1647
+ };
1648
+ type InventoryItemHolder = {
1649
+ walletAddress: string;
1650
+ userId: string | null;
1651
+ amount: string;
1652
+ };
1653
+ type InventoryVaultPermitRecord = {
1654
+ id: string;
1655
+ appId: string;
1656
+ itemId: string;
1657
+ userId: string;
1658
+ direction: "vault_in" | "withdraw";
1659
+ lockKind: "vault" | "burn" | null;
1660
+ amount: string;
1661
+ gasSponsored: boolean;
1662
+ status: "pending" | "redeemed" | "revoked";
1663
+ custodyId: string | null;
1664
+ createdAt: string;
1665
+ };
1666
+ type InventoryVaultPermitCreateInput = {
1667
+ toUserId: string;
1668
+ lockKind: "vault" | "burn";
1669
+ amount?: string;
1670
+ gasSponsored?: boolean;
1671
+ };
1672
+ type InventoryWithdrawPermitCreateInput = {
1673
+ custodyId: string;
1674
+ };
1675
+ type InventoryPendingVaultPermitListResponse = {
1676
+ permits: Array<InventoryPendingVaultPermit>;
1677
+ };
1678
+ type InventoryPendingVaultPermit = {
1679
+ id: string;
1680
+ appId: string;
1681
+ itemId: string;
1682
+ direction: "vault_in" | "withdraw";
1683
+ lockKind: "vault" | "burn" | null;
1684
+ amount: string;
1685
+ gasSponsored: boolean;
1686
+ environment: "development" | "production";
1687
+ custodyId: string | null;
1688
+ createdAt: string;
1689
+ tokenId: string;
1690
+ name: string | null;
1691
+ description: string | null;
1692
+ imageAssetId: string | null;
1693
+ chain: string;
1694
+ collectionAddress: string;
1695
+ kind: "erc721" | "erc1155";
1696
+ };
1697
+ type InventorySignedVaultPermit = {
1698
+ permitId: string;
1699
+ direction: "vault_in" | "withdraw";
1700
+ vault: string;
1701
+ collection: string;
1702
+ user: string;
1703
+ tokenId: string;
1704
+ amount: string;
1705
+ lockKind: "vault" | "burn" | null;
1706
+ destination: string | null;
1707
+ deadline: number;
1708
+ signature: string;
1709
+ };
1710
+ type InventoryRelayedVaultQuoteResponse = {
1711
+ direction: "vault_in" | "withdraw";
1712
+ collection: string;
1713
+ vault: string;
1714
+ chainId: number;
1715
+ user: string;
1716
+ tokenId: string;
1717
+ amount: string;
1718
+ nonce: string | null;
1719
+ deadline: number;
1720
+ feeCents: number;
1721
+ gasWei: string;
1722
+ gasPaidBy: "developer" | "user";
1723
+ requiresUserSignature: boolean;
1724
+ };
1725
+ type InventoryRelayedVaultSubmitResponse = {
1726
+ ok: boolean;
1727
+ txHash: string;
1728
+ chargedCents: number;
1729
+ gasPaidBy: "developer" | "user";
1730
+ };
1731
+ type InventoryRelayedVaultSubmitRequest = {
1732
+ userSignature?: string;
1733
+ deadline?: number;
1734
+ };
1735
+ type InventoryNftTransferQuoteResponse = {
1736
+ collection: string;
1737
+ chainId: number;
1738
+ from: string;
1739
+ to: string;
1740
+ tokenId: string;
1741
+ amount: string;
1742
+ nonce: string;
1743
+ deadline: number;
1744
+ feeCents: number;
1745
+ gasWei: string;
1746
+ selfPayAvailable: boolean;
1747
+ };
1748
+ type InventoryNftTransferQuoteRequest = {
1749
+ toUserId: string;
1750
+ collection: string;
1751
+ tokenId: string;
1752
+ amount?: string;
1753
+ };
1754
+ type InventoryNftTransferResponse = {
1755
+ ok: boolean;
1756
+ txHash: string;
1757
+ chargedCents: number;
1758
+ };
1759
+ type InventoryNftTransferRequest = {
1760
+ toUserId: string;
1761
+ collection: string;
1762
+ tokenId: string;
1763
+ amount?: string;
1764
+ deadline: number;
1765
+ userSignature: string;
1766
+ threadId?: string;
1767
+ };
1768
+ type InventoryVaultCustodyListResponse = {
1769
+ custody: Array<InventoryVaultCustody>;
1770
+ };
1771
+ type InventoryVaultCustody = {
1772
+ id: string;
1773
+ collectionId: string;
1774
+ collectionAddress: string;
1775
+ chain: string;
1776
+ kind: "erc721" | "erc1155";
1777
+ tokenId: string;
1778
+ amount: string;
1779
+ lockKind: "vault" | "burn";
1780
+ vaultAddress: string;
1781
+ createdAt: string;
1782
+ name: string | null;
1783
+ description: string | null;
1784
+ imageAssetId: string | null;
1785
+ };
1786
+ type InventoryVaultForceWithdrawResponse = {
1787
+ ok: boolean;
1788
+ txHash: string;
1789
+ };
1452
1790
  type NotificationListResponse = {
1453
1791
  notifications: Array<NotificationItem>;
1454
1792
  unreadCount: number;
@@ -1544,6 +1882,9 @@ type FriendListItem = {
1544
1882
  onlineStatus: OnlineStatus;
1545
1883
  };
1546
1884
  type OnlineStatus = "online" | "offline";
1885
+ type AppFriendListResponse = {
1886
+ friends: Array<ThreadParticipant>;
1887
+ };
1547
1888
  type FriendRequestDecision = {
1548
1889
  decision: "accept" | "reject";
1549
1890
  };
@@ -1673,6 +2014,7 @@ type CreateDeveloperAppChain = {
1673
2014
  };
1674
2015
  type UpdateDeveloperApp = {
1675
2016
  name?: DeveloperAppName;
2017
+ slug?: AppPageSlug | null;
1676
2018
  logoUrl?: string | null;
1677
2019
  testAccess?: "private" | "public";
1678
2020
  redirectUris?: Array<string>;
@@ -1921,6 +2263,7 @@ type DeveloperProductionRequestPayload = {
1921
2263
  type DeveloperAppItem = {
1922
2264
  id: string;
1923
2265
  name: DeveloperAppName;
2266
+ slug: AppPageSlug | null;
1924
2267
  logoUrl: string | null;
1925
2268
  environment: "development" | "production";
1926
2269
  productionApprovedAt: string | null;
@@ -1985,7 +2328,6 @@ type AppPageDraft = {
1985
2328
  pendingReview: boolean;
1986
2329
  };
1987
2330
  type UpdateAppPage = {
1988
- slug?: AppPageSlug | null;
1989
2331
  categories?: AppPageCategories;
1990
2332
  tagline?: AppPageTagline | null;
1991
2333
  bannerUrl?: string | null;
@@ -2531,6 +2873,12 @@ declare function listDevelopers(context: TransportContext, input: {
2531
2873
  readonly bearer: string;
2532
2874
  }): Promise<AdminDeveloperListResponse>;
2533
2875
  //#endregion
2876
+ //#region src/admin/inventory-vault.d.ts
2877
+ declare function forceWithdrawVaultCustody(context: TransportContext, input: {
2878
+ readonly bearer: string;
2879
+ readonly custodyId: string;
2880
+ }): Promise<InventoryVaultForceWithdrawResponse>;
2881
+ //#endregion
2534
2882
  //#region src/admin/payments.d.ts
2535
2883
  declare function getPlatformFees(context: TransportContext, input: {
2536
2884
  readonly bearer: string;
@@ -2950,6 +3298,53 @@ declare function updateDeveloperAppContentReportStatus(context: TransportContext
2950
3298
  readonly status: "acknowledged" | "dismissed";
2951
3299
  }): Promise<AppContentReport>;
2952
3300
  //#endregion
3301
+ //#region src/developer/inventory.d.ts
3302
+ declare function quoteDeveloperAppInventoryRegistration(context: TransportContext, input: {
3303
+ readonly bearer: string;
3304
+ readonly appId: string;
3305
+ readonly registration: InventoryItemRegistrationInput;
3306
+ }): Promise<InventoryRegistrationQuote>;
3307
+ declare function registerDeveloperAppInventoryItem(context: TransportContext, input: {
3308
+ readonly bearer: string;
3309
+ readonly appId: string;
3310
+ readonly registration: InventoryItemRegistrationInput;
3311
+ }): Promise<InventoryItemRegistrationResult>;
3312
+ declare function listDeveloperAppInventoryCollections(context: TransportContext, input: {
3313
+ readonly bearer: string;
3314
+ readonly appId: string;
3315
+ }): Promise<InventoryCollectionListResponse>;
3316
+ declare function listDeveloperAppInventoryItems(context: TransportContext, input: {
3317
+ readonly bearer: string;
3318
+ readonly appId: string;
3319
+ }): Promise<InventoryItemListResponse>;
3320
+ declare function createDeveloperAppMintPermit(context: TransportContext, input: {
3321
+ readonly bearer: string;
3322
+ readonly appId: string;
3323
+ readonly itemId: string;
3324
+ readonly grant: InventoryMintPermitCreateInput;
3325
+ }): Promise<InventoryMintPermitRecord>;
3326
+ declare function getDeveloperAppInventoryItemHolders(context: TransportContext, input: {
3327
+ readonly bearer: string;
3328
+ readonly appId: string;
3329
+ readonly itemId: string;
3330
+ }): Promise<InventoryItemHoldersResponse>;
3331
+ declare function uploadDeveloperAppInventoryItemImage(context: TransportContext, input: {
3332
+ readonly bearer: string;
3333
+ readonly appId: string;
3334
+ readonly itemId: string;
3335
+ readonly file: Blob | ArrayBufferView | ArrayBuffer;
3336
+ readonly filename: string;
3337
+ readonly contentType: string;
3338
+ }): Promise<InventoryItemRecord>;
3339
+ declare function uploadDeveloperAppInventoryItemBanner(context: TransportContext, input: {
3340
+ readonly bearer: string;
3341
+ readonly appId: string;
3342
+ readonly itemId: string;
3343
+ readonly file: Blob | ArrayBufferView | ArrayBuffer;
3344
+ readonly filename: string;
3345
+ readonly contentType: string;
3346
+ }): Promise<InventoryItemRecord>;
3347
+ //#endregion
2953
3348
  //#region src/developer/pages.d.ts
2954
3349
  declare function getDeveloperAppPage(context: TransportContext, input: {
2955
3350
  readonly bearer: string;
@@ -3074,6 +3469,20 @@ declare function uploadMultipart(context: TransportContext, input: {
3074
3469
  readonly contentType: string;
3075
3470
  }): Promise<unknown>;
3076
3471
  //#endregion
3472
+ //#region src/developer/vault.d.ts
3473
+ declare function createDeveloperVaultPermit(context: TransportContext, input: {
3474
+ readonly bearer: string;
3475
+ readonly appId: string;
3476
+ readonly itemId: string;
3477
+ readonly grant: InventoryVaultPermitCreateInput;
3478
+ }): Promise<InventoryVaultPermitRecord>;
3479
+ declare function createDeveloperWithdrawPermit(context: TransportContext, input: {
3480
+ readonly bearer: string;
3481
+ readonly appId: string;
3482
+ readonly itemId: string;
3483
+ readonly grant: InventoryWithdrawPermitCreateInput;
3484
+ }): Promise<InventoryVaultPermitRecord>;
3485
+ //#endregion
3077
3486
  //#region src/inventory/list.d.ts
3078
3487
  declare function listInventory(context: TransportContext, input: {
3079
3488
  readonly bearer: string;
@@ -3082,12 +3491,55 @@ declare function listInventoryForApp(context: TransportContext, input: {
3082
3491
  readonly bearer: string;
3083
3492
  }): Promise<InventoryListResponse>;
3084
3493
  //#endregion
3494
+ //#region src/inventory/nft-transfer.d.ts
3495
+ declare function quoteNftTransfer(context: TransportContext, input: {
3496
+ readonly bearer: string;
3497
+ readonly body: InventoryNftTransferQuoteRequest;
3498
+ }): Promise<InventoryNftTransferQuoteResponse>;
3499
+ declare function executeNftTransfer(context: TransportContext, input: {
3500
+ readonly bearer: string;
3501
+ readonly body: InventoryNftTransferRequest;
3502
+ }): Promise<InventoryNftTransferResponse>;
3503
+ //#endregion
3504
+ //#region src/inventory/permits.d.ts
3505
+ declare function listInventoryMintPermits(context: TransportContext, input: {
3506
+ readonly bearer: string;
3507
+ }): Promise<InventoryPendingPermitListResponse>;
3508
+ declare function redeemInventoryMintPermit(context: TransportContext, input: {
3509
+ readonly bearer: string;
3510
+ readonly permitId: string;
3511
+ }): Promise<InventoryPermitRedeemResult>;
3512
+ //#endregion
3085
3513
  //#region src/inventory/request-mint.d.ts
3086
3514
  declare function requestMint(context: TransportContext, input: {
3087
3515
  readonly appBearer: string;
3088
3516
  readonly body: MintRequestInput;
3089
3517
  }): Promise<MintRequestResult>;
3090
3518
  //#endregion
3519
+ //#region src/inventory/vault.d.ts
3520
+ declare function listInventoryVaultPermits(context: TransportContext, input: {
3521
+ readonly bearer: string;
3522
+ }): Promise<InventoryPendingVaultPermitListResponse>;
3523
+ declare function signInventoryVaultPermit(context: TransportContext, input: {
3524
+ readonly bearer: string;
3525
+ readonly permitId: string;
3526
+ }): Promise<InventorySignedVaultPermit>;
3527
+ declare function quoteRelayedVaultPermit(context: TransportContext, input: {
3528
+ readonly bearer: string;
3529
+ readonly permitId: string;
3530
+ }): Promise<InventoryRelayedVaultQuoteResponse>;
3531
+ declare function submitRelayedVaultPermit(context: TransportContext, input: {
3532
+ readonly bearer: string;
3533
+ readonly permitId: string;
3534
+ readonly body: InventoryRelayedVaultSubmitRequest;
3535
+ }): Promise<InventoryRelayedVaultSubmitResponse>;
3536
+ declare function listInventoryVaulted(context: TransportContext, input: {
3537
+ readonly bearer: string;
3538
+ }): Promise<InventoryVaultCustodyListResponse>;
3539
+ declare function listOauthInventoryVaulted(context: TransportContext, input: {
3540
+ readonly bearer: string;
3541
+ }): Promise<InventoryVaultCustodyListResponse>;
3542
+ //#endregion
3091
3543
  //#region src/messaging/dm-key-backup.d.ts
3092
3544
  declare function getDmKeyBackupStatus(context: TransportContext, input: {
3093
3545
  readonly bearer: string;
@@ -3369,6 +3821,17 @@ declare function createTronTransfer(context: TransportContext, input: {
3369
3821
  readonly body: TronTransferRequest;
3370
3822
  readonly idempotencyKey?: string;
3371
3823
  }): Promise<TronTransferResponse>;
3824
+ declare function getTronSecurity(context: TransportContext, input: {
3825
+ readonly bearer: string;
3826
+ }): Promise<TronSecuritySetting>;
3827
+ declare function setTronSecurity(context: TransportContext, input: {
3828
+ readonly bearer: string;
3829
+ readonly setting: TronSecuritySetting;
3830
+ }): Promise<TronSecuritySetting>;
3831
+ declare function createTronTransferChallenge(context: TransportContext, input: {
3832
+ readonly bearer: string;
3833
+ readonly body: TronTransferChallengeRequest;
3834
+ }): Promise<TronTransferChallengeResponse>;
3372
3835
  declare function createTronConnectOnboarding(context: TransportContext, input: {
3373
3836
  readonly bearer: string;
3374
3837
  }): Promise<TronConnectOnboardingResponse>;
@@ -3505,6 +3968,10 @@ declare function sendFriendRequest(context: TransportContext, input: {
3505
3968
  readonly bearer: string;
3506
3969
  readonly userId: string;
3507
3970
  }): Promise<void>;
3971
+ declare function removeFriend(context: TransportContext, input: {
3972
+ readonly bearer: string;
3973
+ readonly userId: string;
3974
+ }): Promise<void>;
3508
3975
  declare function decideFriendRequest(context: TransportContext, input: {
3509
3976
  readonly bearer: string;
3510
3977
  readonly requestId: string;
@@ -3517,6 +3984,9 @@ declare function cancelFriendRequest(context: TransportContext, input: {
3517
3984
  declare function listFriends(context: TransportContext, input: {
3518
3985
  readonly bearer: string;
3519
3986
  }): Promise<FriendListResponse>;
3987
+ declare function listFriendsForApp(context: TransportContext, input: {
3988
+ readonly bearer: string;
3989
+ }): Promise<AppFriendListResponse>;
3520
3990
  //#endregion
3521
3991
  //#region src/reads/socials.d.ts
3522
3992
  declare function listSocials(context: TransportContext, input: {
@@ -3808,4 +4278,4 @@ type CookieTokenStoreOptions = {
3808
4278
  };
3809
4279
  declare function createCookieTokenStore(options?: CookieTokenStoreOptions): TokenStore;
3810
4280
  //#endregion
3811
- 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, createDirectThread, createInMemoryTokenStore, createInflightDedup, createNoopLogger, createRateLimiter, createReferralCode, createTronCashout, createTronConnectOnboarding, createTronDeposit, createTronTransfer, decideFriendRequest, declineDeveloperInvite, defaultEndpoints, deleteAppPageBanner, deleteAppPageThumbnail, deleteAppPageThumbnailVideo, deleteAvatar, deleteDelegation, deleteDeveloperApp, deleteDeveloperAppLogo, deleteDeveloperProfileLogo, deleteDeveloperRequestLogo, deleteGameReviewComment, 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, getMyGameReviewReactions, 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, listGameReviewComments, 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, setMyGameReviewReaction, setProcessorWhitelist, setVaultOperator, setVaultPause, setVaultWithdrawLockDefault, setVaultWithdrawLockOverride, setupDmKeyBackup, sha256Base64Url, signPaymentIntent, submitAppContentReport, submitAppPageForReview, submitDeveloperRequest, 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, uploadDeveloperAppLogo, uploadDeveloperProfileLogo, uploadDeveloperRequestLogo, uploadMultipart, uploadThreadLogo, upsertMyGameReview, verifyWebhook, withdrawDeveloperAppWallet };
4281
+ 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, listFriendsForApp, 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 };