@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.
- package/dist/browser/index.d.ts +476 -6
- package/dist/browser/index.js +1 -1
- package/dist/contracts/index.d.ts +7239 -3925
- package/dist/contracts/index.js +1 -1
- package/dist/index.js +1 -1
- package/dist/node/index.d.ts +531 -6
- package/dist/node/index.js +1 -1
- package/dist/webhook/express.js +1 -1
- package/dist/webhook/fastify.js +1 -1
- package/dist/webhook/hono.js +1 -1
- package/dist/webhook/index.js +1 -1
- package/package.json +2 -1
package/dist/node/index.d.ts
CHANGED
|
@@ -114,7 +114,7 @@ type Username = string;
|
|
|
114
114
|
type DisplayName = string | null;
|
|
115
115
|
type Bio = string | null;
|
|
116
116
|
type WebsiteUrl = string | null;
|
|
117
|
-
type BannerVariant = "yellow" | "green" | "blue" | "white" | "black";
|
|
117
|
+
type BannerVariant = "yellow" | "green" | "blue" | "white" | "black" | "red";
|
|
118
118
|
type AdminRole = "super-admin" | "admin" | "read-only" | null;
|
|
119
119
|
type PresenceStatusMode = "auto" | "online" | "offline";
|
|
120
120
|
type PlatformEnvironment = "development" | "production";
|
|
@@ -129,7 +129,7 @@ type OauthAuthorizationServerMetadata = {
|
|
|
129
129
|
grant_types_supported: Array<"authorization_code" | "refresh_token" | "client_credentials">;
|
|
130
130
|
code_challenge_methods_supported: Array<"S256">;
|
|
131
131
|
token_endpoint_auth_methods_supported: Array<"client_secret_basic" | "client_secret_post" | "none">;
|
|
132
|
-
scopes_supported: Array<"openid" | "profile" | "payments:charge" | "inventory:read" | "developer:read" | "developer:apps" | "developer:pages">;
|
|
132
|
+
scopes_supported: Array<"openid" | "profile" | "payments:charge" | "inventory:read" | "social:read" | "developer:read" | "developer:apps" | "developer:pages">;
|
|
133
133
|
};
|
|
134
134
|
type OauthClientRegistrationResponse = {
|
|
135
135
|
client_id: string;
|
|
@@ -169,7 +169,9 @@ type OauthErrorResponse = {
|
|
|
169
169
|
type OauthUserInfoResponse = {
|
|
170
170
|
sub: string;
|
|
171
171
|
name: string | null;
|
|
172
|
+
preferred_username: string | null;
|
|
172
173
|
picture: string | null;
|
|
174
|
+
wallet_address: string | null;
|
|
173
175
|
};
|
|
174
176
|
type OauthPaymentChargeResponse = ({
|
|
175
177
|
status: "completed";
|
|
@@ -288,6 +290,7 @@ type OauthPaymentIntentContext = {
|
|
|
288
290
|
studioXHandle: string | null;
|
|
289
291
|
};
|
|
290
292
|
} | null;
|
|
293
|
+
environment: "development" | "production";
|
|
291
294
|
};
|
|
292
295
|
type OauthPaymentIntentSignResponse = {
|
|
293
296
|
chain: string;
|
|
@@ -516,6 +519,8 @@ type TipReviewResponse = {
|
|
|
516
519
|
type TipReviewRequest = {
|
|
517
520
|
amountCents: number;
|
|
518
521
|
note?: string;
|
|
522
|
+
challengeId?: string;
|
|
523
|
+
signature?: string;
|
|
519
524
|
};
|
|
520
525
|
type ReviewCommentListResponse = {
|
|
521
526
|
comments: Array<ReviewComment>;
|
|
@@ -646,7 +651,9 @@ type ActivityRow = ({
|
|
|
646
651
|
kind: "tron_transfer";
|
|
647
652
|
} & ActivityRowTronTransfer) | ({
|
|
648
653
|
kind: "referral_earning";
|
|
649
|
-
} & ActivityRowReferralEarning)
|
|
654
|
+
} & ActivityRowReferralEarning) | ({
|
|
655
|
+
kind: "nft_charge";
|
|
656
|
+
} & ActivityRowNftCharge);
|
|
650
657
|
type ActivityRowPayment = {
|
|
651
658
|
kind: "payment";
|
|
652
659
|
groupId: string | null;
|
|
@@ -958,6 +965,22 @@ type ActivityRowReferralEarning = {
|
|
|
958
965
|
logIndex: number;
|
|
959
966
|
usdCents: number | null;
|
|
960
967
|
};
|
|
968
|
+
type ActivityRowNftCharge = {
|
|
969
|
+
kind: "nft_charge";
|
|
970
|
+
groupId: string | null;
|
|
971
|
+
id: string;
|
|
972
|
+
occurredAt: string;
|
|
973
|
+
role: "outgoing";
|
|
974
|
+
chargeKind: "registration" | "mint" | "transfer_gas";
|
|
975
|
+
amountCents: number;
|
|
976
|
+
usdCents: number;
|
|
977
|
+
status: "settled";
|
|
978
|
+
collectionAddress: string | null;
|
|
979
|
+
tokenId: string | null;
|
|
980
|
+
counterpartyUserId: string | null;
|
|
981
|
+
counterpartyHandle: string | null;
|
|
982
|
+
counterpartyDisplayName: string | null;
|
|
983
|
+
};
|
|
961
984
|
type OutstandingResponse = {
|
|
962
985
|
rows: Array<OutstandingByToken>;
|
|
963
986
|
};
|
|
@@ -1007,7 +1030,7 @@ type TronLedgerResponse = {
|
|
|
1007
1030
|
};
|
|
1008
1031
|
type TronLedgerEntry = {
|
|
1009
1032
|
id: string;
|
|
1010
|
-
kind: "deposit" | "pot_stake" | "pot_payout" | "dev_earning" | "cashout_hold" | "cashout_release" | "dispute_freeze" | "dispute_unfreeze" | "hosted_billing" | "store_purchase" | "referral_earning" | "peer_transfer";
|
|
1033
|
+
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";
|
|
1011
1034
|
amountCents: number;
|
|
1012
1035
|
currency: string;
|
|
1013
1036
|
createdAt: string;
|
|
@@ -1036,6 +1059,30 @@ type TronTransferRequest = {
|
|
|
1036
1059
|
recipientUserId: string;
|
|
1037
1060
|
amountCents: number;
|
|
1038
1061
|
note?: string;
|
|
1062
|
+
challengeId?: string;
|
|
1063
|
+
signature?: string;
|
|
1064
|
+
threadId?: string;
|
|
1065
|
+
};
|
|
1066
|
+
type TronSecuritySetting = {
|
|
1067
|
+
requireSignature: boolean;
|
|
1068
|
+
};
|
|
1069
|
+
type TronTransferChallengeResponse = ({
|
|
1070
|
+
required: false;
|
|
1071
|
+
} & TronTransferChallengeNotRequired) | ({
|
|
1072
|
+
required: true;
|
|
1073
|
+
} & TronTransferChallengeRequired);
|
|
1074
|
+
type TronTransferChallengeNotRequired = {
|
|
1075
|
+
required: false;
|
|
1076
|
+
};
|
|
1077
|
+
type TronTransferChallengeRequired = {
|
|
1078
|
+
required: true;
|
|
1079
|
+
challengeId: string;
|
|
1080
|
+
message: string;
|
|
1081
|
+
expiresAt: string;
|
|
1082
|
+
};
|
|
1083
|
+
type TronTransferChallengeRequest = {
|
|
1084
|
+
recipientUserId: string;
|
|
1085
|
+
amountCents: number;
|
|
1039
1086
|
};
|
|
1040
1087
|
type TronGameBalanceResponse = {
|
|
1041
1088
|
balanceCents: number;
|
|
@@ -1279,6 +1326,7 @@ type ThreadLastMessagePreview = {
|
|
|
1279
1326
|
url: string;
|
|
1280
1327
|
count: number;
|
|
1281
1328
|
} | null;
|
|
1329
|
+
transaction?: MessageTransactionTronTransfer | MessageTransactionNftTransfer | null;
|
|
1282
1330
|
sentAt: string;
|
|
1283
1331
|
} | null;
|
|
1284
1332
|
type MessageEnvelope = {
|
|
@@ -1290,6 +1338,20 @@ type MessageEnvelope = {
|
|
|
1290
1338
|
iv: string;
|
|
1291
1339
|
ct: string;
|
|
1292
1340
|
} | null;
|
|
1341
|
+
type MessageTransactionTronTransfer = {
|
|
1342
|
+
kind: "tron_transfer";
|
|
1343
|
+
amountCents: number;
|
|
1344
|
+
recipientUserId: string;
|
|
1345
|
+
};
|
|
1346
|
+
type MessageTransactionNftTransfer = {
|
|
1347
|
+
kind: "nft_transfer";
|
|
1348
|
+
recipientUserId: string;
|
|
1349
|
+
collectionAddress: string;
|
|
1350
|
+
tokenId: string;
|
|
1351
|
+
amount: string;
|
|
1352
|
+
itemName: string | null;
|
|
1353
|
+
imageAssetId?: string | null;
|
|
1354
|
+
};
|
|
1293
1355
|
type GroupThreadSummary = {
|
|
1294
1356
|
kind: "group";
|
|
1295
1357
|
id: string;
|
|
@@ -1336,6 +1398,7 @@ type MessageItem = {
|
|
|
1336
1398
|
id: string;
|
|
1337
1399
|
threadId: string;
|
|
1338
1400
|
senderUserId: string;
|
|
1401
|
+
transaction?: MessageTransactionTronTransfer | MessageTransactionNftTransfer | null;
|
|
1339
1402
|
body: string;
|
|
1340
1403
|
envelope?: MessageEnvelope;
|
|
1341
1404
|
sentAt: string;
|
|
@@ -1526,11 +1589,45 @@ type InventoryHolding = {
|
|
|
1526
1589
|
tokenId: string;
|
|
1527
1590
|
amount: string;
|
|
1528
1591
|
name: string | null;
|
|
1592
|
+
description: string | null;
|
|
1529
1593
|
imageAssetId: string | null;
|
|
1530
1594
|
bannerAssetId: string | null;
|
|
1531
1595
|
devMetadata: {
|
|
1532
1596
|
[key: string]: unknown;
|
|
1533
1597
|
};
|
|
1598
|
+
appId: string | null;
|
|
1599
|
+
appName: string | null;
|
|
1600
|
+
appLogoUrl: string | null;
|
|
1601
|
+
};
|
|
1602
|
+
type InventoryPendingPermitListResponse = {
|
|
1603
|
+
permits: Array<InventoryPendingPermit>;
|
|
1604
|
+
};
|
|
1605
|
+
type InventoryPendingPermit = {
|
|
1606
|
+
id: string;
|
|
1607
|
+
appId: string;
|
|
1608
|
+
itemId: string;
|
|
1609
|
+
amount: string;
|
|
1610
|
+
priceCents: number | null;
|
|
1611
|
+
gasSponsored: boolean;
|
|
1612
|
+
environment: "development" | "production";
|
|
1613
|
+
createdAt: string;
|
|
1614
|
+
tokenId: string;
|
|
1615
|
+
name: string | null;
|
|
1616
|
+
description: string | null;
|
|
1617
|
+
imageAssetId: string | null;
|
|
1618
|
+
chain: string;
|
|
1619
|
+
collectionAddress: string;
|
|
1620
|
+
kind: "erc721" | "erc1155";
|
|
1621
|
+
};
|
|
1622
|
+
type InventoryPermitRedeemResult = {
|
|
1623
|
+
mint: MintRequestResult;
|
|
1624
|
+
charge: {
|
|
1625
|
+
currency: "tron";
|
|
1626
|
+
gasCents: number;
|
|
1627
|
+
priceCents: number;
|
|
1628
|
+
totalCents: number;
|
|
1629
|
+
gasPaidBy: "user" | "developer";
|
|
1630
|
+
};
|
|
1534
1631
|
};
|
|
1535
1632
|
type MintRequestResult = {
|
|
1536
1633
|
mintRequestId: string;
|
|
@@ -1546,6 +1643,247 @@ type MintRequestInput = {
|
|
|
1546
1643
|
tokenId?: string;
|
|
1547
1644
|
amount?: string;
|
|
1548
1645
|
};
|
|
1646
|
+
type InventoryCollectionListResponse = {
|
|
1647
|
+
collections: Array<InventoryCollectionSummary>;
|
|
1648
|
+
};
|
|
1649
|
+
type InventoryCollectionSummary = {
|
|
1650
|
+
id: string;
|
|
1651
|
+
chain: string;
|
|
1652
|
+
collectionAddress: string;
|
|
1653
|
+
kind: "erc721" | "erc1155";
|
|
1654
|
+
name: string | null;
|
|
1655
|
+
environment: "development" | "production";
|
|
1656
|
+
};
|
|
1657
|
+
type InventoryRegistrationQuote = {
|
|
1658
|
+
itemCount: number;
|
|
1659
|
+
baselineUsdCents: number;
|
|
1660
|
+
gasUsdCents: number;
|
|
1661
|
+
tron: {
|
|
1662
|
+
baselineCents: number;
|
|
1663
|
+
gasCents: number;
|
|
1664
|
+
totalCents: number;
|
|
1665
|
+
};
|
|
1666
|
+
eth: {
|
|
1667
|
+
baselineWei: string;
|
|
1668
|
+
gasWei: string;
|
|
1669
|
+
totalWei: string;
|
|
1670
|
+
};
|
|
1671
|
+
};
|
|
1672
|
+
type InventoryItemRegistrationInput = {
|
|
1673
|
+
collectionAddress: string;
|
|
1674
|
+
chain: string;
|
|
1675
|
+
items: Array<InventoryItemRegistrationSpec>;
|
|
1676
|
+
};
|
|
1677
|
+
type InventoryItemRegistrationSpec = {
|
|
1678
|
+
name?: string | null;
|
|
1679
|
+
description?: string | null;
|
|
1680
|
+
devMetadata?: {
|
|
1681
|
+
[key: string]: unknown;
|
|
1682
|
+
};
|
|
1683
|
+
supplyType?: InventorySupplyType;
|
|
1684
|
+
maxSupply?: string | null;
|
|
1685
|
+
active?: boolean;
|
|
1686
|
+
};
|
|
1687
|
+
type InventorySupplyType = "capped" | "flexible" | "unlimited";
|
|
1688
|
+
type InventoryItemRegistrationResult = {
|
|
1689
|
+
items: Array<InventoryItemRecord>;
|
|
1690
|
+
charge: {
|
|
1691
|
+
currency: "tron";
|
|
1692
|
+
amountCents: number;
|
|
1693
|
+
baselineCents: number;
|
|
1694
|
+
gasCents: number;
|
|
1695
|
+
addItemTxHash: string;
|
|
1696
|
+
};
|
|
1697
|
+
};
|
|
1698
|
+
type InventoryItemRecord = {
|
|
1699
|
+
id: string;
|
|
1700
|
+
collectionId: string;
|
|
1701
|
+
collectionAddress: string;
|
|
1702
|
+
chain: string;
|
|
1703
|
+
kind: "erc721" | "erc1155";
|
|
1704
|
+
tokenId: string;
|
|
1705
|
+
name: string | null;
|
|
1706
|
+
description: string | null;
|
|
1707
|
+
imageAssetId: string | null;
|
|
1708
|
+
bannerAssetId: string | null;
|
|
1709
|
+
devMetadata: {
|
|
1710
|
+
[key: string]: unknown;
|
|
1711
|
+
};
|
|
1712
|
+
supplyType: InventorySupplyType | null;
|
|
1713
|
+
maxSupply: string | null;
|
|
1714
|
+
active: boolean;
|
|
1715
|
+
};
|
|
1716
|
+
type InventoryItemListResponse = {
|
|
1717
|
+
items: Array<InventoryItemRecord>;
|
|
1718
|
+
};
|
|
1719
|
+
type InventoryMintPermitRecord = {
|
|
1720
|
+
id: string;
|
|
1721
|
+
appId: string;
|
|
1722
|
+
itemId: string;
|
|
1723
|
+
userId: string;
|
|
1724
|
+
amount: string;
|
|
1725
|
+
priceCents: number | null;
|
|
1726
|
+
gasSponsored: boolean;
|
|
1727
|
+
status: "pending" | "redeemed" | "revoked";
|
|
1728
|
+
createdAt: string;
|
|
1729
|
+
};
|
|
1730
|
+
type InventoryMintPermitCreateInput = {
|
|
1731
|
+
toUserId: string;
|
|
1732
|
+
amount?: string;
|
|
1733
|
+
priceCents?: number | null;
|
|
1734
|
+
gasSponsored?: boolean;
|
|
1735
|
+
};
|
|
1736
|
+
type InventoryItemHoldersResponse = {
|
|
1737
|
+
stats: InventoryItemStats;
|
|
1738
|
+
holders: Array<InventoryItemHolder>;
|
|
1739
|
+
};
|
|
1740
|
+
type InventoryItemStats = {
|
|
1741
|
+
holderCount: number;
|
|
1742
|
+
walletCount: number;
|
|
1743
|
+
totalHeld: string;
|
|
1744
|
+
};
|
|
1745
|
+
type InventoryItemHolder = {
|
|
1746
|
+
walletAddress: string;
|
|
1747
|
+
userId: string | null;
|
|
1748
|
+
amount: string;
|
|
1749
|
+
};
|
|
1750
|
+
type InventoryVaultPermitRecord = {
|
|
1751
|
+
id: string;
|
|
1752
|
+
appId: string;
|
|
1753
|
+
itemId: string;
|
|
1754
|
+
userId: string;
|
|
1755
|
+
direction: "vault_in" | "withdraw";
|
|
1756
|
+
lockKind: "vault" | "burn" | null;
|
|
1757
|
+
amount: string;
|
|
1758
|
+
gasSponsored: boolean;
|
|
1759
|
+
status: "pending" | "redeemed" | "revoked";
|
|
1760
|
+
custodyId: string | null;
|
|
1761
|
+
createdAt: string;
|
|
1762
|
+
};
|
|
1763
|
+
type InventoryVaultPermitCreateInput = {
|
|
1764
|
+
toUserId: string;
|
|
1765
|
+
lockKind: "vault" | "burn";
|
|
1766
|
+
amount?: string;
|
|
1767
|
+
gasSponsored?: boolean;
|
|
1768
|
+
};
|
|
1769
|
+
type InventoryWithdrawPermitCreateInput = {
|
|
1770
|
+
custodyId: string;
|
|
1771
|
+
};
|
|
1772
|
+
type InventoryPendingVaultPermitListResponse = {
|
|
1773
|
+
permits: Array<InventoryPendingVaultPermit>;
|
|
1774
|
+
};
|
|
1775
|
+
type InventoryPendingVaultPermit = {
|
|
1776
|
+
id: string;
|
|
1777
|
+
appId: string;
|
|
1778
|
+
itemId: string;
|
|
1779
|
+
direction: "vault_in" | "withdraw";
|
|
1780
|
+
lockKind: "vault" | "burn" | null;
|
|
1781
|
+
amount: string;
|
|
1782
|
+
gasSponsored: boolean;
|
|
1783
|
+
environment: "development" | "production";
|
|
1784
|
+
custodyId: string | null;
|
|
1785
|
+
createdAt: string;
|
|
1786
|
+
tokenId: string;
|
|
1787
|
+
name: string | null;
|
|
1788
|
+
description: string | null;
|
|
1789
|
+
imageAssetId: string | null;
|
|
1790
|
+
chain: string;
|
|
1791
|
+
collectionAddress: string;
|
|
1792
|
+
kind: "erc721" | "erc1155";
|
|
1793
|
+
};
|
|
1794
|
+
type InventorySignedVaultPermit = {
|
|
1795
|
+
permitId: string;
|
|
1796
|
+
direction: "vault_in" | "withdraw";
|
|
1797
|
+
vault: string;
|
|
1798
|
+
collection: string;
|
|
1799
|
+
user: string;
|
|
1800
|
+
tokenId: string;
|
|
1801
|
+
amount: string;
|
|
1802
|
+
lockKind: "vault" | "burn" | null;
|
|
1803
|
+
destination: string | null;
|
|
1804
|
+
deadline: number;
|
|
1805
|
+
signature: string;
|
|
1806
|
+
};
|
|
1807
|
+
type InventoryRelayedVaultQuoteResponse = {
|
|
1808
|
+
direction: "vault_in" | "withdraw";
|
|
1809
|
+
collection: string;
|
|
1810
|
+
vault: string;
|
|
1811
|
+
chainId: number;
|
|
1812
|
+
user: string;
|
|
1813
|
+
tokenId: string;
|
|
1814
|
+
amount: string;
|
|
1815
|
+
nonce: string | null;
|
|
1816
|
+
deadline: number;
|
|
1817
|
+
feeCents: number;
|
|
1818
|
+
gasWei: string;
|
|
1819
|
+
gasPaidBy: "developer" | "user";
|
|
1820
|
+
requiresUserSignature: boolean;
|
|
1821
|
+
};
|
|
1822
|
+
type InventoryRelayedVaultSubmitResponse = {
|
|
1823
|
+
ok: boolean;
|
|
1824
|
+
txHash: string;
|
|
1825
|
+
chargedCents: number;
|
|
1826
|
+
gasPaidBy: "developer" | "user";
|
|
1827
|
+
};
|
|
1828
|
+
type InventoryRelayedVaultSubmitRequest = {
|
|
1829
|
+
userSignature?: string;
|
|
1830
|
+
deadline?: number;
|
|
1831
|
+
};
|
|
1832
|
+
type InventoryNftTransferQuoteResponse = {
|
|
1833
|
+
collection: string;
|
|
1834
|
+
chainId: number;
|
|
1835
|
+
from: string;
|
|
1836
|
+
to: string;
|
|
1837
|
+
tokenId: string;
|
|
1838
|
+
amount: string;
|
|
1839
|
+
nonce: string;
|
|
1840
|
+
deadline: number;
|
|
1841
|
+
feeCents: number;
|
|
1842
|
+
gasWei: string;
|
|
1843
|
+
selfPayAvailable: boolean;
|
|
1844
|
+
};
|
|
1845
|
+
type InventoryNftTransferQuoteRequest = {
|
|
1846
|
+
toUserId: string;
|
|
1847
|
+
collection: string;
|
|
1848
|
+
tokenId: string;
|
|
1849
|
+
amount?: string;
|
|
1850
|
+
};
|
|
1851
|
+
type InventoryNftTransferResponse = {
|
|
1852
|
+
ok: boolean;
|
|
1853
|
+
txHash: string;
|
|
1854
|
+
chargedCents: number;
|
|
1855
|
+
};
|
|
1856
|
+
type InventoryNftTransferRequest = {
|
|
1857
|
+
toUserId: string;
|
|
1858
|
+
collection: string;
|
|
1859
|
+
tokenId: string;
|
|
1860
|
+
amount?: string;
|
|
1861
|
+
deadline: number;
|
|
1862
|
+
userSignature: string;
|
|
1863
|
+
threadId?: string;
|
|
1864
|
+
};
|
|
1865
|
+
type InventoryVaultCustodyListResponse = {
|
|
1866
|
+
custody: Array<InventoryVaultCustody>;
|
|
1867
|
+
};
|
|
1868
|
+
type InventoryVaultCustody = {
|
|
1869
|
+
id: string;
|
|
1870
|
+
collectionId: string;
|
|
1871
|
+
collectionAddress: string;
|
|
1872
|
+
chain: string;
|
|
1873
|
+
kind: "erc721" | "erc1155";
|
|
1874
|
+
tokenId: string;
|
|
1875
|
+
amount: string;
|
|
1876
|
+
lockKind: "vault" | "burn";
|
|
1877
|
+
vaultAddress: string;
|
|
1878
|
+
createdAt: string;
|
|
1879
|
+
name: string | null;
|
|
1880
|
+
description: string | null;
|
|
1881
|
+
imageAssetId: string | null;
|
|
1882
|
+
};
|
|
1883
|
+
type InventoryVaultForceWithdrawResponse = {
|
|
1884
|
+
ok: boolean;
|
|
1885
|
+
txHash: string;
|
|
1886
|
+
};
|
|
1549
1887
|
type NotificationListResponse = {
|
|
1550
1888
|
notifications: Array<NotificationItem>;
|
|
1551
1889
|
unreadCount: number;
|
|
@@ -1641,6 +1979,9 @@ type FriendListItem = {
|
|
|
1641
1979
|
onlineStatus: OnlineStatus;
|
|
1642
1980
|
};
|
|
1643
1981
|
type OnlineStatus = "online" | "offline";
|
|
1982
|
+
type AppFriendListResponse = {
|
|
1983
|
+
friends: Array<ThreadParticipant>;
|
|
1984
|
+
};
|
|
1644
1985
|
type FriendRequestDecision = {
|
|
1645
1986
|
decision: "accept" | "reject";
|
|
1646
1987
|
};
|
|
@@ -1770,6 +2111,7 @@ type CreateDeveloperAppChain = {
|
|
|
1770
2111
|
};
|
|
1771
2112
|
type UpdateDeveloperApp = {
|
|
1772
2113
|
name?: DeveloperAppName;
|
|
2114
|
+
slug?: AppPageSlug | null;
|
|
1773
2115
|
logoUrl?: string | null;
|
|
1774
2116
|
testAccess?: "private" | "public";
|
|
1775
2117
|
redirectUris?: Array<string>;
|
|
@@ -2018,6 +2360,7 @@ type DeveloperProductionRequestPayload = {
|
|
|
2018
2360
|
type DeveloperAppItem = {
|
|
2019
2361
|
id: string;
|
|
2020
2362
|
name: DeveloperAppName;
|
|
2363
|
+
slug: AppPageSlug | null;
|
|
2021
2364
|
logoUrl: string | null;
|
|
2022
2365
|
environment: "development" | "production";
|
|
2023
2366
|
productionApprovedAt: string | null;
|
|
@@ -2082,7 +2425,6 @@ type AppPageDraft = {
|
|
|
2082
2425
|
pendingReview: boolean;
|
|
2083
2426
|
};
|
|
2084
2427
|
type UpdateAppPage = {
|
|
2085
|
-
slug?: AppPageSlug | null;
|
|
2086
2428
|
categories?: AppPageCategories;
|
|
2087
2429
|
tagline?: AppPageTagline | null;
|
|
2088
2430
|
bannerUrl?: string | null;
|
|
@@ -2690,6 +3032,12 @@ declare function listDevelopers(context: TransportContext, input: {
|
|
|
2690
3032
|
readonly bearer: string;
|
|
2691
3033
|
}): Promise<AdminDeveloperListResponse>;
|
|
2692
3034
|
//#endregion
|
|
3035
|
+
//#region src/admin/inventory-vault.d.ts
|
|
3036
|
+
declare function forceWithdrawVaultCustody(context: TransportContext, input: {
|
|
3037
|
+
readonly bearer: string;
|
|
3038
|
+
readonly custodyId: string;
|
|
3039
|
+
}): Promise<InventoryVaultForceWithdrawResponse>;
|
|
3040
|
+
//#endregion
|
|
2693
3041
|
//#region src/admin/payments.d.ts
|
|
2694
3042
|
declare function getPlatformFees(context: TransportContext, input: {
|
|
2695
3043
|
readonly bearer: string;
|
|
@@ -3115,6 +3463,53 @@ declare function updateDeveloperAppContentReportStatus(context: TransportContext
|
|
|
3115
3463
|
readonly status: "acknowledged" | "dismissed";
|
|
3116
3464
|
}): Promise<AppContentReport>;
|
|
3117
3465
|
//#endregion
|
|
3466
|
+
//#region src/developer/inventory.d.ts
|
|
3467
|
+
declare function quoteDeveloperAppInventoryRegistration(context: TransportContext, input: {
|
|
3468
|
+
readonly bearer: string;
|
|
3469
|
+
readonly appId: string;
|
|
3470
|
+
readonly registration: InventoryItemRegistrationInput;
|
|
3471
|
+
}): Promise<InventoryRegistrationQuote>;
|
|
3472
|
+
declare function registerDeveloperAppInventoryItem(context: TransportContext, input: {
|
|
3473
|
+
readonly bearer: string;
|
|
3474
|
+
readonly appId: string;
|
|
3475
|
+
readonly registration: InventoryItemRegistrationInput;
|
|
3476
|
+
}): Promise<InventoryItemRegistrationResult>;
|
|
3477
|
+
declare function listDeveloperAppInventoryCollections(context: TransportContext, input: {
|
|
3478
|
+
readonly bearer: string;
|
|
3479
|
+
readonly appId: string;
|
|
3480
|
+
}): Promise<InventoryCollectionListResponse>;
|
|
3481
|
+
declare function listDeveloperAppInventoryItems(context: TransportContext, input: {
|
|
3482
|
+
readonly bearer: string;
|
|
3483
|
+
readonly appId: string;
|
|
3484
|
+
}): Promise<InventoryItemListResponse>;
|
|
3485
|
+
declare function createDeveloperAppMintPermit(context: TransportContext, input: {
|
|
3486
|
+
readonly bearer: string;
|
|
3487
|
+
readonly appId: string;
|
|
3488
|
+
readonly itemId: string;
|
|
3489
|
+
readonly grant: InventoryMintPermitCreateInput;
|
|
3490
|
+
}): Promise<InventoryMintPermitRecord>;
|
|
3491
|
+
declare function getDeveloperAppInventoryItemHolders(context: TransportContext, input: {
|
|
3492
|
+
readonly bearer: string;
|
|
3493
|
+
readonly appId: string;
|
|
3494
|
+
readonly itemId: string;
|
|
3495
|
+
}): Promise<InventoryItemHoldersResponse>;
|
|
3496
|
+
declare function uploadDeveloperAppInventoryItemImage(context: TransportContext, input: {
|
|
3497
|
+
readonly bearer: string;
|
|
3498
|
+
readonly appId: string;
|
|
3499
|
+
readonly itemId: string;
|
|
3500
|
+
readonly file: Blob | ArrayBufferView | ArrayBuffer;
|
|
3501
|
+
readonly filename: string;
|
|
3502
|
+
readonly contentType: string;
|
|
3503
|
+
}): Promise<InventoryItemRecord>;
|
|
3504
|
+
declare function uploadDeveloperAppInventoryItemBanner(context: TransportContext, input: {
|
|
3505
|
+
readonly bearer: string;
|
|
3506
|
+
readonly appId: string;
|
|
3507
|
+
readonly itemId: string;
|
|
3508
|
+
readonly file: Blob | ArrayBufferView | ArrayBuffer;
|
|
3509
|
+
readonly filename: string;
|
|
3510
|
+
readonly contentType: string;
|
|
3511
|
+
}): Promise<InventoryItemRecord>;
|
|
3512
|
+
//#endregion
|
|
3118
3513
|
//#region src/developer/pages.d.ts
|
|
3119
3514
|
declare function getDeveloperAppPage(context: TransportContext, input: {
|
|
3120
3515
|
readonly bearer: string;
|
|
@@ -3239,6 +3634,68 @@ declare function uploadMultipart(context: TransportContext, input: {
|
|
|
3239
3634
|
readonly contentType: string;
|
|
3240
3635
|
}): Promise<unknown>;
|
|
3241
3636
|
//#endregion
|
|
3637
|
+
//#region src/developer/vault.d.ts
|
|
3638
|
+
declare function createDeveloperVaultPermit(context: TransportContext, input: {
|
|
3639
|
+
readonly bearer: string;
|
|
3640
|
+
readonly appId: string;
|
|
3641
|
+
readonly itemId: string;
|
|
3642
|
+
readonly grant: InventoryVaultPermitCreateInput;
|
|
3643
|
+
}): Promise<InventoryVaultPermitRecord>;
|
|
3644
|
+
declare function createDeveloperWithdrawPermit(context: TransportContext, input: {
|
|
3645
|
+
readonly bearer: string;
|
|
3646
|
+
readonly appId: string;
|
|
3647
|
+
readonly itemId: string;
|
|
3648
|
+
readonly grant: InventoryWithdrawPermitCreateInput;
|
|
3649
|
+
}): Promise<InventoryVaultPermitRecord>;
|
|
3650
|
+
//#endregion
|
|
3651
|
+
//#region src/events/inventory-socket.d.ts
|
|
3652
|
+
declare const inventoryUpdateEventSchema: z.ZodObject<{
|
|
3653
|
+
event: z.ZodLiteral<"inventory.updated">;
|
|
3654
|
+
deliveredAt: z.ZodString;
|
|
3655
|
+
environment: z.ZodEnum<{
|
|
3656
|
+
development: "development";
|
|
3657
|
+
production: "production";
|
|
3658
|
+
}>;
|
|
3659
|
+
subject: z.ZodString;
|
|
3660
|
+
collectionId: z.ZodString;
|
|
3661
|
+
collectionAddress: z.ZodString;
|
|
3662
|
+
chain: z.ZodString;
|
|
3663
|
+
kind: z.ZodEnum<{
|
|
3664
|
+
erc721: "erc721";
|
|
3665
|
+
erc1155: "erc1155";
|
|
3666
|
+
}>;
|
|
3667
|
+
tokenId: z.ZodString;
|
|
3668
|
+
direction: z.ZodEnum<{
|
|
3669
|
+
credit: "credit";
|
|
3670
|
+
debit: "debit";
|
|
3671
|
+
}>;
|
|
3672
|
+
amount: z.ZodString;
|
|
3673
|
+
balance: z.ZodString;
|
|
3674
|
+
}, z.core.$strip>;
|
|
3675
|
+
type InventoryUpdateEvent = z.infer<typeof inventoryUpdateEventSchema>;
|
|
3676
|
+
type OauthInventoryEventsSubscriberLifecycle = {
|
|
3677
|
+
onOpen?: () => void;
|
|
3678
|
+
onSubscribed?: (appId: string) => void;
|
|
3679
|
+
onMessage: (body: InventoryUpdateEvent) => void | Promise<void>;
|
|
3680
|
+
onClose?: (error: TronWsCloseError) => void;
|
|
3681
|
+
onError?: (error: Error) => void;
|
|
3682
|
+
};
|
|
3683
|
+
type OauthInventoryEventsSubscriberOptions = {
|
|
3684
|
+
readonly issuer: string;
|
|
3685
|
+
readonly clientId: string;
|
|
3686
|
+
readonly clientSecret: string;
|
|
3687
|
+
readonly logger?: Logger;
|
|
3688
|
+
readonly lifecycle: OauthInventoryEventsSubscriberLifecycle;
|
|
3689
|
+
readonly initialBackoffMs?: number;
|
|
3690
|
+
readonly maxBackoffMs?: number;
|
|
3691
|
+
readonly shouldReconnect?: (error: TronWsCloseError) => boolean;
|
|
3692
|
+
readonly WebSocketImpl?: typeof globalThis.WebSocket;
|
|
3693
|
+
};
|
|
3694
|
+
type OauthInventoryEventsSubscriber = {
|
|
3695
|
+
readonly stop: () => void;
|
|
3696
|
+
};
|
|
3697
|
+
declare function startOauthInventoryEventsSubscriber(options: OauthInventoryEventsSubscriberOptions): OauthInventoryEventsSubscriber;
|
|
3698
|
+
//#endregion
|
|
3242
3699
|
//#region src/webhook/verify.d.ts
|
|
3243
3700
|
declare const oauthPaymentWebhookBodySchema: z.ZodObject<{
|
|
3244
3701
|
event: z.ZodEnum<{
|
|
@@ -3313,6 +3770,7 @@ type OauthPaymentEventsSubscriberOptions = {
|
|
|
3313
3770
|
readonly maxBackoffMs?: number;
|
|
3314
3771
|
readonly shouldReconnect?: (error: TronWsCloseError) => boolean;
|
|
3315
3772
|
readonly WebSocketImpl?: typeof globalThis.WebSocket;
|
|
3773
|
+
readonly disableEventAck?: boolean;
|
|
3316
3774
|
};
|
|
3317
3775
|
type OauthPaymentEventsSubscriber = {
|
|
3318
3776
|
readonly stop: () => void;
|
|
@@ -3327,12 +3785,55 @@ declare function listInventoryForApp(context: TransportContext, input: {
|
|
|
3327
3785
|
readonly bearer: string;
|
|
3328
3786
|
}): Promise<InventoryListResponse>;
|
|
3329
3787
|
//#endregion
|
|
3788
|
+
//#region src/inventory/nft-transfer.d.ts
|
|
3789
|
+
declare function quoteNftTransfer(context: TransportContext, input: {
|
|
3790
|
+
readonly bearer: string;
|
|
3791
|
+
readonly body: InventoryNftTransferQuoteRequest;
|
|
3792
|
+
}): Promise<InventoryNftTransferQuoteResponse>;
|
|
3793
|
+
declare function executeNftTransfer(context: TransportContext, input: {
|
|
3794
|
+
readonly bearer: string;
|
|
3795
|
+
readonly body: InventoryNftTransferRequest;
|
|
3796
|
+
}): Promise<InventoryNftTransferResponse>;
|
|
3797
|
+
//#endregion
|
|
3798
|
+
//#region src/inventory/permits.d.ts
|
|
3799
|
+
declare function listInventoryMintPermits(context: TransportContext, input: {
|
|
3800
|
+
readonly bearer: string;
|
|
3801
|
+
}): Promise<InventoryPendingPermitListResponse>;
|
|
3802
|
+
declare function redeemInventoryMintPermit(context: TransportContext, input: {
|
|
3803
|
+
readonly bearer: string;
|
|
3804
|
+
readonly permitId: string;
|
|
3805
|
+
}): Promise<InventoryPermitRedeemResult>;
|
|
3806
|
+
//#endregion
|
|
3330
3807
|
//#region src/inventory/request-mint.d.ts
|
|
3331
3808
|
declare function requestMint(context: TransportContext, input: {
|
|
3332
3809
|
readonly appBearer: string;
|
|
3333
3810
|
readonly body: MintRequestInput;
|
|
3334
3811
|
}): Promise<MintRequestResult>;
|
|
3335
3812
|
//#endregion
|
|
3813
|
+
//#region src/inventory/vault.d.ts
|
|
3814
|
+
declare function listInventoryVaultPermits(context: TransportContext, input: {
|
|
3815
|
+
readonly bearer: string;
|
|
3816
|
+
}): Promise<InventoryPendingVaultPermitListResponse>;
|
|
3817
|
+
declare function signInventoryVaultPermit(context: TransportContext, input: {
|
|
3818
|
+
readonly bearer: string;
|
|
3819
|
+
readonly permitId: string;
|
|
3820
|
+
}): Promise<InventorySignedVaultPermit>;
|
|
3821
|
+
declare function quoteRelayedVaultPermit(context: TransportContext, input: {
|
|
3822
|
+
readonly bearer: string;
|
|
3823
|
+
readonly permitId: string;
|
|
3824
|
+
}): Promise<InventoryRelayedVaultQuoteResponse>;
|
|
3825
|
+
declare function submitRelayedVaultPermit(context: TransportContext, input: {
|
|
3826
|
+
readonly bearer: string;
|
|
3827
|
+
readonly permitId: string;
|
|
3828
|
+
readonly body: InventoryRelayedVaultSubmitRequest;
|
|
3829
|
+
}): Promise<InventoryRelayedVaultSubmitResponse>;
|
|
3830
|
+
declare function listInventoryVaulted(context: TransportContext, input: {
|
|
3831
|
+
readonly bearer: string;
|
|
3832
|
+
}): Promise<InventoryVaultCustodyListResponse>;
|
|
3833
|
+
declare function listOauthInventoryVaulted(context: TransportContext, input: {
|
|
3834
|
+
readonly bearer: string;
|
|
3835
|
+
}): Promise<InventoryVaultCustodyListResponse>;
|
|
3836
|
+
//#endregion
|
|
3336
3837
|
//#region src/messaging/dm-key-backup.d.ts
|
|
3337
3838
|
declare function getDmKeyBackupStatus(context: TransportContext, input: {
|
|
3338
3839
|
readonly bearer: string;
|
|
@@ -3652,6 +4153,17 @@ declare function createTronTransfer(context: TransportContext, input: {
|
|
|
3652
4153
|
readonly body: TronTransferRequest;
|
|
3653
4154
|
readonly idempotencyKey?: string;
|
|
3654
4155
|
}): Promise<TronTransferResponse>;
|
|
4156
|
+
declare function getTronSecurity(context: TransportContext, input: {
|
|
4157
|
+
readonly bearer: string;
|
|
4158
|
+
}): Promise<TronSecuritySetting>;
|
|
4159
|
+
declare function setTronSecurity(context: TransportContext, input: {
|
|
4160
|
+
readonly bearer: string;
|
|
4161
|
+
readonly setting: TronSecuritySetting;
|
|
4162
|
+
}): Promise<TronSecuritySetting>;
|
|
4163
|
+
declare function createTronTransferChallenge(context: TransportContext, input: {
|
|
4164
|
+
readonly bearer: string;
|
|
4165
|
+
readonly body: TronTransferChallengeRequest;
|
|
4166
|
+
}): Promise<TronTransferChallengeResponse>;
|
|
3655
4167
|
declare function createTronConnectOnboarding(context: TransportContext, input: {
|
|
3656
4168
|
readonly bearer: string;
|
|
3657
4169
|
}): Promise<TronConnectOnboardingResponse>;
|
|
@@ -3826,6 +4338,10 @@ declare function sendFriendRequest(context: TransportContext, input: {
|
|
|
3826
4338
|
readonly bearer: string;
|
|
3827
4339
|
readonly userId: string;
|
|
3828
4340
|
}): Promise<void>;
|
|
4341
|
+
declare function removeFriend(context: TransportContext, input: {
|
|
4342
|
+
readonly bearer: string;
|
|
4343
|
+
readonly userId: string;
|
|
4344
|
+
}): Promise<void>;
|
|
3829
4345
|
declare function decideFriendRequest(context: TransportContext, input: {
|
|
3830
4346
|
readonly bearer: string;
|
|
3831
4347
|
readonly requestId: string;
|
|
@@ -3838,6 +4354,9 @@ declare function cancelFriendRequest(context: TransportContext, input: {
|
|
|
3838
4354
|
declare function listFriends(context: TransportContext, input: {
|
|
3839
4355
|
readonly bearer: string;
|
|
3840
4356
|
}): Promise<FriendListResponse>;
|
|
4357
|
+
declare function listFriendsForApp(context: TransportContext, input: {
|
|
4358
|
+
readonly bearer: string;
|
|
4359
|
+
}): Promise<AppFriendListResponse>;
|
|
3841
4360
|
//#endregion
|
|
3842
4361
|
//#region src/reads/socials.d.ts
|
|
3843
4362
|
declare function listSocials(context: TransportContext, input: {
|
|
@@ -3964,6 +4483,7 @@ declare class TronNodeClient {
|
|
|
3964
4483
|
};
|
|
3965
4484
|
};
|
|
3966
4485
|
subscribeOauthPaymentEvents(lifecycle: OauthPaymentEventsSubscriberLifecycle): OauthPaymentEventsSubscriber;
|
|
4486
|
+
subscribeOauthInventoryEvents(lifecycle: OauthInventoryEventsSubscriberLifecycle): OauthInventoryEventsSubscriber;
|
|
3967
4487
|
get users(): {
|
|
3968
4488
|
get: (input: {
|
|
3969
4489
|
bearer?: string;
|
|
@@ -4064,6 +4584,11 @@ declare class TronNodeClient {
|
|
|
4064
4584
|
body: MintRequestInput;
|
|
4065
4585
|
}) => Promise<MintRequestResult>;
|
|
4066
4586
|
};
|
|
4587
|
+
get friends(): {
|
|
4588
|
+
list: (input: {
|
|
4589
|
+
bearer: string;
|
|
4590
|
+
}) => Promise<AppFriendListResponse>;
|
|
4591
|
+
};
|
|
4067
4592
|
get socials(): {
|
|
4068
4593
|
list: (input: {
|
|
4069
4594
|
bearer: string;
|
|
@@ -4085,4 +4610,4 @@ declare class TronNodeClient {
|
|
|
4085
4610
|
};
|
|
4086
4611
|
}
|
|
4087
4612
|
//#endregion
|
|
4088
|
-
export { AppTokenCache, AuthorizeUrl, type BrowserClientConfig, BuildAuthorizeUrlInput, ChargeResult, type FetchLike, GameHalfCredentials, HttpsGuardOptions, InflightDedup, type Logger, MountPresenceWidgetOptions, NOOP_RATE_LIMITER, type NodeClientConfig, OauthErrorCode, OauthPaymentEventsSubscriber, OauthPaymentEventsSubscriberLifecycle, OauthPaymentEventsSubscriberOptions, OauthPaymentWebhookBody, type OauthScope, PkcePair, PlaySessionGameStatus, PresenceStatus, PresenceWidgetHandle, RateLimitOptions, RateLimiter, RequestOptions, SERVER_RATE_LIMIT_MAX_MUTATING, SERVER_RATE_LIMIT_MAX_READ, SERVER_RATE_LIMIT_WINDOW_MS, type SdkBaseConfig, TRON_WS_CLOSE_CODES, type TokenSet, type TokenStore, TransportContext, TronError, TronNodeClient, TronOauthError, TronWsCloseCode, TronWsCloseError, VerifyWebhookFailure, VerifyWebhookInput, VerifyWebhookResult, VerifyWebhookSuccess, WEBHOOK_SIGNATURE_HEADER, WEBHOOK_TIMESTAMP_HEADER, acceptDeveloperInvite, addAdmin, addAppealBlacklist, addReaction, approveTronCashout, assertSecureIssuer, batchThreadDmKeys, bindReferral, buildAuthorizeUrl, cancelFriendRequest, cancelPot, charge, chargeTronDirect, chargeTronPot, commentOnGameReview, completePaymentIntent, confirmPlaySession, consolidateDeveloperAppWallet, createAppTokenCache, createConsoleLogger, 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, distributePot, distributeTronPot, editMessage, endPlaySession, exchangeAuthorizationCode, fetchAuthorizationServerMetadata, fetchUserInfo, fileAppeal, fileAppealPotLeg, followUser, generatePkce, generateState, getActivity, getActivityGroup, getAdminAppealRoom, getAppFeeConfig, getAppPage, getAppPageChanges, getAppealRoom, getDelegation, getDeveloperAppActivity, getDeveloperAppBalances, getDeveloperAppEarnings, getDeveloperAppOverview, getDeveloperAppPage, getDeveloperAppPlaytime, getDeveloperAppTronBalance, getDeveloperAppWallets, getDeveloperPaymentAppeals, getDeveloperPaymentPendingDeposits, getDeveloperStatus, getDeveloperTronBalanceSummary, getDmKeyBackupStatus, getIntentStatus, getLibrary, getMoonpayAvailability, getMyDmKey, getMyGameReview, getMyGameReviewReactions, getOutstanding, getPaymentChains, getPaymentHistory, getPaymentIntent, getPaymentLimits, getPaymentPrice, getPlatformFees, getPlaytime, getPlaytimeTimeseries, getPublicProfile, getReferral, getThreadDmKey, getTronBalance, getTronGameBalance, heartbeatPlaySession, hideAppPage, hideThread, inviteDeveloperAppParticipant, inviteParticipants, leaveThread, listActivePlayers, listAdmins, listAppPages, listAppealBlacklist, listAppealQueue, listAudit, listDeveloperApiKeys, listDeveloperAppContentReports, listDeveloperAppParticipants, listDeveloperAppReviews, listDeveloperInvites, listDeveloperRequests, listDevelopers, listFriends, listGameReviewComments, listGameReviews, listInventory, listInventoryForApp, listNotifications, listPaymentAuthorizations, listSocials, listThreadMessages, listThreads, listTronCashoutQueue, listTronCashouts, listTronLedger, listUsers, listWalletManager, listWallets, markAllNotificationsRead, markThreadRead, mintClientCredentialsToken, mintMoonpayBuyUrl, mintMoonpaySellUrl, mountPresenceWidget, oauthPaymentWebhookBodySchema, parseJson, pinThread, postAdminAppealRoomMessage, postAppealRoomMessage, previewReferral, provisionDeveloperAppWallet, publishDmKey, refreshAccessToken, registerOauthClient, rejectTronCashout, removeAdmin, removeAppealBlacklist, removeParticipant, removeReaction, replyToGameReview, requestDeveloperAppProduction, requestMint, requestPayout, resolveAppeal, reviewAppPage, reviewAppPageChanges, reviewDeveloperRequest, revokeDeveloperApiKey, revokeDeveloperAppParticipant, revokePaymentAuthorization, revokeToken, rotateDeveloperAppKey, rotateDeveloperAppPaymentWebhookSecret, rotateProcessorTreasury, searchGiphy, searchUsers, send, sendFriendRequest, sendJson, sendMessage, sendPresenceHeartbeat, setMyGameReviewReaction, setProcessorWhitelist, setVaultOperator, setVaultPause, setVaultWithdrawLockDefault, setVaultWithdrawLockOverride, setupDmKeyBackup, sha256Base64Url, signPaymentIntent, startOauthPaymentEventsSubscriber, 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 };
|
|
4613
|
+
export { AppTokenCache, AuthorizeUrl, type BrowserClientConfig, BuildAuthorizeUrlInput, ChargeResult, type FetchLike, GameHalfCredentials, HttpsGuardOptions, InflightDedup, InventoryUpdateEvent, type Logger, MountPresenceWidgetOptions, NOOP_RATE_LIMITER, type NodeClientConfig, OauthErrorCode, OauthInventoryEventsSubscriber, OauthInventoryEventsSubscriberLifecycle, OauthInventoryEventsSubscriberOptions, OauthPaymentEventsSubscriber, OauthPaymentEventsSubscriberLifecycle, OauthPaymentEventsSubscriberOptions, OauthPaymentWebhookBody, type OauthScope, PkcePair, PlaySessionGameStatus, PresenceStatus, PresenceWidgetHandle, RateLimitOptions, RateLimiter, RequestOptions, SERVER_RATE_LIMIT_MAX_MUTATING, SERVER_RATE_LIMIT_MAX_READ, SERVER_RATE_LIMIT_WINDOW_MS, type SdkBaseConfig, TRON_WS_CLOSE_CODES, type TokenSet, type TokenStore, TransportContext, TronError, TronNodeClient, TronOauthError, TronWsCloseCode, TronWsCloseError, VerifyWebhookFailure, VerifyWebhookInput, VerifyWebhookResult, VerifyWebhookSuccess, WEBHOOK_SIGNATURE_HEADER, WEBHOOK_TIMESTAMP_HEADER, acceptDeveloperInvite, addAdmin, addAppealBlacklist, addReaction, approveTronCashout, assertSecureIssuer, batchThreadDmKeys, bindReferral, buildAuthorizeUrl, cancelFriendRequest, cancelPot, charge, chargeTronDirect, chargeTronPot, commentOnGameReview, completePaymentIntent, confirmPlaySession, consolidateDeveloperAppWallet, createAppTokenCache, createConsoleLogger, createDelegation, createDeveloperApiKey, createDeveloperApp, createDeveloperAppMintPermit, createDeveloperVaultPermit, createDeveloperWithdrawPermit, createDirectThread, createInMemoryTokenStore, createInflightDedup, createNoopLogger, createRateLimiter, createReferralCode, createTronCashout, createTronConnectOnboarding, createTronDeposit, createTronTransfer, createTronTransferChallenge, decideFriendRequest, declineDeveloperInvite, defaultEndpoints, deleteAppPageBanner, deleteAppPageThumbnail, deleteAppPageThumbnailVideo, deleteAvatar, deleteDelegation, deleteDeveloperApp, deleteDeveloperAppLogo, deleteDeveloperProfileLogo, deleteDeveloperRequestLogo, deleteGameReviewComment, deleteGameReviewReply, deleteMessage, deleteMyGameReview, deleteThread, deleteThreadLogo, denyPaymentIntent, distributePot, distributeTronPot, editMessage, endPlaySession, exchangeAuthorizationCode, executeNftTransfer, fetchAuthorizationServerMetadata, fetchUserInfo, fileAppeal, fileAppealPotLeg, followUser, forceWithdrawVaultCustody, generatePkce, generateState, getActivity, getActivityGroup, getAdminAppealRoom, getAppFeeConfig, getAppPage, getAppPageChanges, getAppealRoom, getDelegation, getDeveloperAppActivity, getDeveloperAppBalances, getDeveloperAppEarnings, getDeveloperAppInventoryItemHolders, getDeveloperAppOverview, getDeveloperAppPage, getDeveloperAppPlaytime, getDeveloperAppTronBalance, getDeveloperAppWallets, getDeveloperPaymentAppeals, getDeveloperPaymentPendingDeposits, getDeveloperStatus, getDeveloperTronBalanceSummary, getDmKeyBackupStatus, getIntentStatus, getLibrary, getMoonpayAvailability, getMyDmKey, getMyGameReview, getMyGameReviewReactions, getOutstanding, getPaymentChains, getPaymentHistory, getPaymentIntent, getPaymentLimits, getPaymentPrice, getPlatformFees, getPlaytime, getPlaytimeTimeseries, getPublicProfile, getReferral, getThreadDmKey, getTronBalance, getTronGameBalance, getTronSecurity, heartbeatPlaySession, hideAppPage, hideThread, inventoryUpdateEventSchema, inviteDeveloperAppParticipant, inviteParticipants, leaveThread, listActivePlayers, listAdmins, listAppPages, listAppealBlacklist, listAppealQueue, listAudit, listDeveloperApiKeys, listDeveloperAppContentReports, listDeveloperAppInventoryCollections, listDeveloperAppInventoryItems, listDeveloperAppParticipants, listDeveloperAppReviews, listDeveloperInvites, listDeveloperRequests, listDevelopers, listFriends, listFriendsForApp, listGameReviewComments, listGameReviews, listInventory, listInventoryForApp, listInventoryMintPermits, listInventoryVaultPermits, listInventoryVaulted, listNotifications, listOauthInventoryVaulted, listPaymentAuthorizations, listSocials, listThreadMessages, listThreads, listTronCashoutQueue, listTronCashouts, listTronLedger, listUsers, listWalletManager, listWallets, markAllNotificationsRead, markThreadRead, mintClientCredentialsToken, mintMoonpayBuyUrl, mintMoonpaySellUrl, mountPresenceWidget, oauthPaymentWebhookBodySchema, parseJson, pinThread, postAdminAppealRoomMessage, postAppealRoomMessage, previewReferral, provisionDeveloperAppWallet, publishDmKey, quoteDeveloperAppInventoryRegistration, quoteNftTransfer, quoteRelayedVaultPermit, redeemInventoryMintPermit, refreshAccessToken, registerDeveloperAppInventoryItem, registerOauthClient, rejectTronCashout, removeAdmin, removeAppealBlacklist, removeFriend, removeParticipant, removeReaction, replyToGameReview, requestDeveloperAppProduction, requestMint, requestPayout, resolveAppeal, reviewAppPage, reviewAppPageChanges, reviewDeveloperRequest, revokeDeveloperApiKey, revokeDeveloperAppParticipant, revokePaymentAuthorization, revokeToken, rotateDeveloperAppKey, rotateDeveloperAppPaymentWebhookSecret, rotateProcessorTreasury, searchGiphy, searchUsers, send, sendFriendRequest, sendJson, sendMessage, sendPresenceHeartbeat, setMyGameReviewReaction, setProcessorWhitelist, setTronSecurity, setVaultOperator, setVaultPause, setVaultWithdrawLockDefault, setVaultWithdrawLockOverride, setupDmKeyBackup, sha256Base64Url, signInventoryVaultPermit, signPaymentIntent, startOauthInventoryEventsSubscriber, startOauthPaymentEventsSubscriber, 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 };
|