@metatrongg/sdk 0.8.0-dev.731f2ff → 0.8.0-dev.7a9d6ea
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 +796 -22
- package/dist/browser/index.js +1 -1
- package/dist/contracts/index.d.ts +11906 -6015
- package/dist/contracts/index.js +1 -1
- package/dist/index.js +1 -1
- package/dist/node/index.d.ts +852 -23
- 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 +4 -3
package/dist/browser/index.d.ts
CHANGED
|
@@ -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,7 +248,16 @@ type OauthPaymentIntentContext = {
|
|
|
246
248
|
studioXHandle: string | null;
|
|
247
249
|
};
|
|
248
250
|
} | null;
|
|
251
|
+
environment: "development" | "production";
|
|
252
|
+
onramp?: {
|
|
253
|
+
kind: "bridge";
|
|
254
|
+
from: PaymentNetwork;
|
|
255
|
+
to: PaymentNetwork;
|
|
256
|
+
} | {
|
|
257
|
+
kind: "insufficient";
|
|
258
|
+
};
|
|
249
259
|
};
|
|
260
|
+
type PaymentNetwork = "ethereum" | "base" | "solana";
|
|
250
261
|
type OauthPaymentIntentSignResponse = {
|
|
251
262
|
chain: string;
|
|
252
263
|
chainId: number;
|
|
@@ -276,6 +287,13 @@ type OauthPaymentIntentCompleteSigned = {
|
|
|
276
287
|
type OauthPaymentIntentCompleteOffline = {
|
|
277
288
|
method: "offline";
|
|
278
289
|
};
|
|
290
|
+
type OauthPaymentIntentSolanaPrepareResponse = {
|
|
291
|
+
transaction: string;
|
|
292
|
+
payer: string;
|
|
293
|
+
};
|
|
294
|
+
type OauthPaymentIntentSolanaCompleteRequest = {
|
|
295
|
+
signedTransaction: string;
|
|
296
|
+
};
|
|
279
297
|
type ListAppPaymentAuthorizationsResponse = {
|
|
280
298
|
authorizations: Array<AppPaymentAuthorizationItem>;
|
|
281
299
|
};
|
|
@@ -379,6 +397,119 @@ type AppPageAgeRating = "everyone" | "13_plus" | "16_plus" | "18_plus" | null;
|
|
|
379
397
|
type AppPageLanguages = Array<"en" | "es" | "fr" | "de" | "pt" | "it" | "ru" | "ja" | "ko" | "zh" | "hi" | "ar" | "tr" | "vi" | "id" | "th" | "pl" | "nl">;
|
|
380
398
|
type AppPageReleaseStatus = "live" | "open_beta" | "coming_soon";
|
|
381
399
|
type AppPagePaymentsMode = "tron" | "onchain" | "both" | null;
|
|
400
|
+
type PublicBipPage = {
|
|
401
|
+
appId: string;
|
|
402
|
+
slug: AppPageSlug;
|
|
403
|
+
appName: string;
|
|
404
|
+
appLogoUrl: string | null;
|
|
405
|
+
categories: AppPageCategories;
|
|
406
|
+
tagline: AppPageTagline;
|
|
407
|
+
bannerUrl: string | null;
|
|
408
|
+
discordUrl: string | null;
|
|
409
|
+
twitterUrl: string | null;
|
|
410
|
+
redditUrl: string | null;
|
|
411
|
+
telegramUrl: string | null;
|
|
412
|
+
gallery: AppPageGallery;
|
|
413
|
+
chapters: AppPageChapters;
|
|
414
|
+
links: AppPageLinks;
|
|
415
|
+
studio: PublicAppPageStudio;
|
|
416
|
+
platforms: AppPagePlatforms;
|
|
417
|
+
gameType: AppPageGameType;
|
|
418
|
+
ageRating: AppPageAgeRating;
|
|
419
|
+
languages: AppPageLanguages;
|
|
420
|
+
releaseStatus: AppPageReleaseStatus;
|
|
421
|
+
publishedAt: string;
|
|
422
|
+
updatedAt: string;
|
|
423
|
+
};
|
|
424
|
+
type BipUpdateListResponse = {
|
|
425
|
+
updates: Array<BipUpdate>;
|
|
426
|
+
total: number;
|
|
427
|
+
hasMore: boolean;
|
|
428
|
+
};
|
|
429
|
+
type BipUpdate = {
|
|
430
|
+
id: string;
|
|
431
|
+
appId: string;
|
|
432
|
+
body: BipUpdateBody;
|
|
433
|
+
attachments: BipUpdateAttachments;
|
|
434
|
+
reactions: BipUpdateReactionCounts;
|
|
435
|
+
commentCount: number;
|
|
436
|
+
createdAt: string;
|
|
437
|
+
updatedAt: string;
|
|
438
|
+
};
|
|
439
|
+
type BipUpdateBody = string;
|
|
440
|
+
type BipUpdateAttachments = Array<BipUpdateAttachment>;
|
|
441
|
+
type BipUpdateAttachment = {
|
|
442
|
+
url: string;
|
|
443
|
+
kind: "image" | "video";
|
|
444
|
+
order: number;
|
|
445
|
+
};
|
|
446
|
+
type BipUpdateReactionCounts = {
|
|
447
|
+
up: number;
|
|
448
|
+
down: number;
|
|
449
|
+
};
|
|
450
|
+
type BipUpdateCommentListResponse = {
|
|
451
|
+
comments: Array<BipUpdateComment>;
|
|
452
|
+
total: number;
|
|
453
|
+
hasMore: boolean;
|
|
454
|
+
};
|
|
455
|
+
type BipUpdateComment = {
|
|
456
|
+
id: string;
|
|
457
|
+
body: BipUpdateCommentBody;
|
|
458
|
+
author: ReviewAuthor;
|
|
459
|
+
createdAt: string;
|
|
460
|
+
};
|
|
461
|
+
type BipUpdateCommentBody = string;
|
|
462
|
+
type ReviewAuthor = {
|
|
463
|
+
userId: string;
|
|
464
|
+
handle: string | null;
|
|
465
|
+
name: string | null;
|
|
466
|
+
avatarUrl: string | null;
|
|
467
|
+
};
|
|
468
|
+
type BipInterestCountResponse = {
|
|
469
|
+
interestCount: number;
|
|
470
|
+
};
|
|
471
|
+
type BipEngagementResponse = {
|
|
472
|
+
interested: boolean;
|
|
473
|
+
subscribed: boolean;
|
|
474
|
+
interestCount: number;
|
|
475
|
+
};
|
|
476
|
+
type MyBipUpdateReactionsResponse = {
|
|
477
|
+
reactions: Array<MyBipUpdateReaction>;
|
|
478
|
+
};
|
|
479
|
+
type MyBipUpdateReaction = {
|
|
480
|
+
updateId: string;
|
|
481
|
+
vote: "up" | "down";
|
|
482
|
+
};
|
|
483
|
+
type SetBipUpdateReactionResponse = {
|
|
484
|
+
reactions: BipUpdateReactionCounts;
|
|
485
|
+
vote: BipUpdateVote;
|
|
486
|
+
};
|
|
487
|
+
type BipUpdateVote = "up" | "down" | null;
|
|
488
|
+
type SetBipUpdateReactionRequest = {
|
|
489
|
+
vote: BipUpdateVote;
|
|
490
|
+
};
|
|
491
|
+
type CreateBipUpdateCommentResponse = {
|
|
492
|
+
comment: BipUpdateComment;
|
|
493
|
+
commentCount: number;
|
|
494
|
+
};
|
|
495
|
+
type DeleteBipUpdateCommentResponse = {
|
|
496
|
+
commentCount: number;
|
|
497
|
+
};
|
|
498
|
+
type CreateBipUpdateRequest = {
|
|
499
|
+
body: BipUpdateBody;
|
|
500
|
+
attachments?: BipUpdateAttachments;
|
|
501
|
+
};
|
|
502
|
+
type UpdateBipUpdateRequest = {
|
|
503
|
+
body?: BipUpdateBody;
|
|
504
|
+
attachments?: BipUpdateAttachments;
|
|
505
|
+
};
|
|
506
|
+
type DeleteBipUpdateResponse = {
|
|
507
|
+
deleted: true;
|
|
508
|
+
};
|
|
509
|
+
type BipUpdateMediaUploadResponse = {
|
|
510
|
+
url: string;
|
|
511
|
+
kind: "image" | "video";
|
|
512
|
+
};
|
|
382
513
|
type ReviewListResponse = {
|
|
383
514
|
aggregate: ReviewAggregate;
|
|
384
515
|
reviews: Array<Review>;
|
|
@@ -412,12 +543,6 @@ type ReviewReactionCounts = {
|
|
|
412
543
|
unhelpful: number;
|
|
413
544
|
funny: number;
|
|
414
545
|
};
|
|
415
|
-
type ReviewAuthor = {
|
|
416
|
-
userId: string;
|
|
417
|
-
handle: string | null;
|
|
418
|
-
name: string | null;
|
|
419
|
-
avatarUrl: string | null;
|
|
420
|
-
};
|
|
421
546
|
type ReviewerStats = {
|
|
422
547
|
playtimeSecondsThisGame: number;
|
|
423
548
|
gamesPlayed: number;
|
|
@@ -606,7 +731,9 @@ type ActivityRow = ({
|
|
|
606
731
|
kind: "tron_transfer";
|
|
607
732
|
} & ActivityRowTronTransfer) | ({
|
|
608
733
|
kind: "referral_earning";
|
|
609
|
-
} & ActivityRowReferralEarning)
|
|
734
|
+
} & ActivityRowReferralEarning) | ({
|
|
735
|
+
kind: "nft_charge";
|
|
736
|
+
} & ActivityRowNftCharge);
|
|
610
737
|
type ActivityRowPayment = {
|
|
611
738
|
kind: "payment";
|
|
612
739
|
groupId: string | null;
|
|
@@ -918,6 +1045,22 @@ type ActivityRowReferralEarning = {
|
|
|
918
1045
|
logIndex: number;
|
|
919
1046
|
usdCents: number | null;
|
|
920
1047
|
};
|
|
1048
|
+
type ActivityRowNftCharge = {
|
|
1049
|
+
kind: "nft_charge";
|
|
1050
|
+
groupId: string | null;
|
|
1051
|
+
id: string;
|
|
1052
|
+
occurredAt: string;
|
|
1053
|
+
role: "outgoing";
|
|
1054
|
+
chargeKind: "registration" | "mint" | "transfer_gas";
|
|
1055
|
+
amountCents: number;
|
|
1056
|
+
usdCents: number;
|
|
1057
|
+
status: "settled";
|
|
1058
|
+
collectionAddress: string | null;
|
|
1059
|
+
tokenId: string | null;
|
|
1060
|
+
counterpartyUserId: string | null;
|
|
1061
|
+
counterpartyHandle: string | null;
|
|
1062
|
+
counterpartyDisplayName: string | null;
|
|
1063
|
+
};
|
|
921
1064
|
type OutstandingResponse = {
|
|
922
1065
|
rows: Array<OutstandingByToken>;
|
|
923
1066
|
};
|
|
@@ -967,7 +1110,7 @@ type TronLedgerResponse = {
|
|
|
967
1110
|
};
|
|
968
1111
|
type TronLedgerEntry = {
|
|
969
1112
|
id: string;
|
|
970
|
-
kind: "deposit" | "pot_stake" | "pot_payout" | "dev_earning" | "cashout_hold" | "cashout_release" | "dispute_freeze" | "dispute_unfreeze" | "hosted_billing" | "store_purchase" | "referral_earning" | "peer_transfer";
|
|
1113
|
+
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";
|
|
971
1114
|
amountCents: number;
|
|
972
1115
|
currency: string;
|
|
973
1116
|
createdAt: string;
|
|
@@ -1077,12 +1220,15 @@ type WalletListResponse = {
|
|
|
1077
1220
|
wallets: Array<WalletItem>;
|
|
1078
1221
|
};
|
|
1079
1222
|
type WalletChainList = Array<{
|
|
1080
|
-
id: "ethereum-mainnet" | "base-mainnet" | "ethereum-sepolia";
|
|
1223
|
+
id: "ethereum-mainnet" | "base-mainnet" | "ethereum-sepolia" | "base-sepolia" | "solana-mainnet" | "solana-devnet";
|
|
1081
1224
|
displayName: string;
|
|
1082
|
-
|
|
1225
|
+
family: "evm" | "solana";
|
|
1226
|
+
nativeSymbol: string;
|
|
1227
|
+
chainId?: number;
|
|
1083
1228
|
}>;
|
|
1084
1229
|
type WalletItem = {
|
|
1085
|
-
address: string;
|
|
1230
|
+
address: string | string;
|
|
1231
|
+
family: "evm" | "solana";
|
|
1086
1232
|
label: WalletLabel;
|
|
1087
1233
|
kind: "personal" | "app";
|
|
1088
1234
|
app: WalletAppLink;
|
|
@@ -1099,6 +1245,9 @@ type WalletBalances = {
|
|
|
1099
1245
|
"ethereum-mainnet"?: WalletChainBalance;
|
|
1100
1246
|
"base-mainnet"?: WalletChainBalance;
|
|
1101
1247
|
"ethereum-sepolia"?: WalletChainBalance;
|
|
1248
|
+
"base-sepolia"?: WalletChainBalance;
|
|
1249
|
+
"solana-mainnet"?: WalletChainBalance;
|
|
1250
|
+
"solana-devnet"?: WalletChainBalance;
|
|
1102
1251
|
};
|
|
1103
1252
|
type WalletChainBalance = {
|
|
1104
1253
|
native: string;
|
|
@@ -1108,12 +1257,14 @@ type WalletDelegationStatus = {
|
|
|
1108
1257
|
mode: WalletDelegationMode;
|
|
1109
1258
|
caps: WalletDelegationCaps;
|
|
1110
1259
|
policyId: string | null;
|
|
1260
|
+
slippageBps: DelegationSlippageBps;
|
|
1111
1261
|
};
|
|
1112
1262
|
type WalletDelegationMode = "infinite" | "custom" | "scoped" | null;
|
|
1113
1263
|
type WalletDelegationCaps = {
|
|
1114
1264
|
native: string;
|
|
1115
1265
|
usdc: string;
|
|
1116
1266
|
} | null;
|
|
1267
|
+
type DelegationSlippageBps = number | null;
|
|
1117
1268
|
type WalletLabelUpdateResponse = {
|
|
1118
1269
|
address: string;
|
|
1119
1270
|
label: WalletLabel;
|
|
@@ -1187,7 +1338,7 @@ type ThreadLastMessagePreview = {
|
|
|
1187
1338
|
url: string;
|
|
1188
1339
|
count: number;
|
|
1189
1340
|
} | null;
|
|
1190
|
-
transaction?:
|
|
1341
|
+
transaction?: MessageTransactionTronTransfer | MessageTransactionNftTransfer | null;
|
|
1191
1342
|
sentAt: string;
|
|
1192
1343
|
} | null;
|
|
1193
1344
|
type MessageEnvelope = {
|
|
@@ -1199,11 +1350,20 @@ type MessageEnvelope = {
|
|
|
1199
1350
|
iv: string;
|
|
1200
1351
|
ct: string;
|
|
1201
1352
|
} | null;
|
|
1202
|
-
type
|
|
1353
|
+
type MessageTransactionTronTransfer = {
|
|
1203
1354
|
kind: "tron_transfer";
|
|
1204
1355
|
amountCents: number;
|
|
1205
1356
|
recipientUserId: string;
|
|
1206
|
-
}
|
|
1357
|
+
};
|
|
1358
|
+
type MessageTransactionNftTransfer = {
|
|
1359
|
+
kind: "nft_transfer";
|
|
1360
|
+
recipientUserId: string;
|
|
1361
|
+
collectionAddress: string;
|
|
1362
|
+
tokenId: string;
|
|
1363
|
+
amount: string;
|
|
1364
|
+
itemName: string | null;
|
|
1365
|
+
imageAssetId?: string | null;
|
|
1366
|
+
};
|
|
1207
1367
|
type GroupThreadSummary = {
|
|
1208
1368
|
kind: "group";
|
|
1209
1369
|
id: string;
|
|
@@ -1250,7 +1410,7 @@ type MessageItem = {
|
|
|
1250
1410
|
id: string;
|
|
1251
1411
|
threadId: string;
|
|
1252
1412
|
senderUserId: string;
|
|
1253
|
-
transaction?:
|
|
1413
|
+
transaction?: MessageTransactionTronTransfer | MessageTransactionNftTransfer | null;
|
|
1254
1414
|
body: string;
|
|
1255
1415
|
envelope?: MessageEnvelope;
|
|
1256
1416
|
sentAt: string;
|
|
@@ -1462,11 +1622,45 @@ type InventoryHolding = {
|
|
|
1462
1622
|
tokenId: string;
|
|
1463
1623
|
amount: string;
|
|
1464
1624
|
name: string | null;
|
|
1625
|
+
description: string | null;
|
|
1465
1626
|
imageAssetId: string | null;
|
|
1466
1627
|
bannerAssetId: string | null;
|
|
1467
1628
|
devMetadata: {
|
|
1468
1629
|
[key: string]: unknown;
|
|
1469
1630
|
};
|
|
1631
|
+
appId: string | null;
|
|
1632
|
+
appName: string | null;
|
|
1633
|
+
appLogoUrl: string | null;
|
|
1634
|
+
};
|
|
1635
|
+
type InventoryPendingPermitListResponse = {
|
|
1636
|
+
permits: Array<InventoryPendingPermit>;
|
|
1637
|
+
};
|
|
1638
|
+
type InventoryPendingPermit = {
|
|
1639
|
+
id: string;
|
|
1640
|
+
appId: string;
|
|
1641
|
+
itemId: string;
|
|
1642
|
+
amount: string;
|
|
1643
|
+
priceCents: number | null;
|
|
1644
|
+
gasSponsored: boolean;
|
|
1645
|
+
environment: "development" | "production";
|
|
1646
|
+
createdAt: string;
|
|
1647
|
+
tokenId: string;
|
|
1648
|
+
name: string | null;
|
|
1649
|
+
description: string | null;
|
|
1650
|
+
imageAssetId: string | null;
|
|
1651
|
+
chain: string;
|
|
1652
|
+
collectionAddress: string;
|
|
1653
|
+
kind: "erc721" | "erc1155";
|
|
1654
|
+
};
|
|
1655
|
+
type InventoryPermitRedeemResult = {
|
|
1656
|
+
mint: MintRequestResult;
|
|
1657
|
+
charge: {
|
|
1658
|
+
currency: "tron";
|
|
1659
|
+
gasCents: number;
|
|
1660
|
+
priceCents: number;
|
|
1661
|
+
totalCents: number;
|
|
1662
|
+
gasPaidBy: "user" | "developer";
|
|
1663
|
+
};
|
|
1470
1664
|
};
|
|
1471
1665
|
type MintRequestResult = {
|
|
1472
1666
|
mintRequestId: string;
|
|
@@ -1482,6 +1676,247 @@ type MintRequestInput = {
|
|
|
1482
1676
|
tokenId?: string;
|
|
1483
1677
|
amount?: string;
|
|
1484
1678
|
};
|
|
1679
|
+
type InventoryCollectionListResponse = {
|
|
1680
|
+
collections: Array<InventoryCollectionSummary>;
|
|
1681
|
+
};
|
|
1682
|
+
type InventoryCollectionSummary = {
|
|
1683
|
+
id: string;
|
|
1684
|
+
chain: string;
|
|
1685
|
+
collectionAddress: string;
|
|
1686
|
+
kind: "erc721" | "erc1155";
|
|
1687
|
+
name: string | null;
|
|
1688
|
+
environment: "development" | "production";
|
|
1689
|
+
};
|
|
1690
|
+
type InventoryRegistrationQuote = {
|
|
1691
|
+
itemCount: number;
|
|
1692
|
+
baselineUsdCents: number;
|
|
1693
|
+
gasUsdCents: number;
|
|
1694
|
+
tron: {
|
|
1695
|
+
baselineCents: number;
|
|
1696
|
+
gasCents: number;
|
|
1697
|
+
totalCents: number;
|
|
1698
|
+
};
|
|
1699
|
+
eth: {
|
|
1700
|
+
baselineWei: string;
|
|
1701
|
+
gasWei: string;
|
|
1702
|
+
totalWei: string;
|
|
1703
|
+
};
|
|
1704
|
+
};
|
|
1705
|
+
type InventoryItemRegistrationInput = {
|
|
1706
|
+
collectionAddress: string;
|
|
1707
|
+
chain: string;
|
|
1708
|
+
items: Array<InventoryItemRegistrationSpec>;
|
|
1709
|
+
};
|
|
1710
|
+
type InventoryItemRegistrationSpec = {
|
|
1711
|
+
name?: string | null;
|
|
1712
|
+
description?: string | null;
|
|
1713
|
+
devMetadata?: {
|
|
1714
|
+
[key: string]: unknown;
|
|
1715
|
+
};
|
|
1716
|
+
supplyType?: InventorySupplyType;
|
|
1717
|
+
maxSupply?: string | null;
|
|
1718
|
+
active?: boolean;
|
|
1719
|
+
};
|
|
1720
|
+
type InventorySupplyType = "capped" | "flexible" | "unlimited";
|
|
1721
|
+
type InventoryItemRegistrationResult = {
|
|
1722
|
+
items: Array<InventoryItemRecord>;
|
|
1723
|
+
charge: {
|
|
1724
|
+
currency: "tron";
|
|
1725
|
+
amountCents: number;
|
|
1726
|
+
baselineCents: number;
|
|
1727
|
+
gasCents: number;
|
|
1728
|
+
addItemTxHash: string;
|
|
1729
|
+
};
|
|
1730
|
+
};
|
|
1731
|
+
type InventoryItemRecord = {
|
|
1732
|
+
id: string;
|
|
1733
|
+
collectionId: string;
|
|
1734
|
+
collectionAddress: string;
|
|
1735
|
+
chain: string;
|
|
1736
|
+
kind: "erc721" | "erc1155";
|
|
1737
|
+
tokenId: string;
|
|
1738
|
+
name: string | null;
|
|
1739
|
+
description: string | null;
|
|
1740
|
+
imageAssetId: string | null;
|
|
1741
|
+
bannerAssetId: string | null;
|
|
1742
|
+
devMetadata: {
|
|
1743
|
+
[key: string]: unknown;
|
|
1744
|
+
};
|
|
1745
|
+
supplyType: InventorySupplyType | null;
|
|
1746
|
+
maxSupply: string | null;
|
|
1747
|
+
active: boolean;
|
|
1748
|
+
};
|
|
1749
|
+
type InventoryItemListResponse = {
|
|
1750
|
+
items: Array<InventoryItemRecord>;
|
|
1751
|
+
};
|
|
1752
|
+
type InventoryMintPermitRecord = {
|
|
1753
|
+
id: string;
|
|
1754
|
+
appId: string;
|
|
1755
|
+
itemId: string;
|
|
1756
|
+
userId: string;
|
|
1757
|
+
amount: string;
|
|
1758
|
+
priceCents: number | null;
|
|
1759
|
+
gasSponsored: boolean;
|
|
1760
|
+
status: "pending" | "redeemed" | "revoked";
|
|
1761
|
+
createdAt: string;
|
|
1762
|
+
};
|
|
1763
|
+
type InventoryMintPermitCreateInput = {
|
|
1764
|
+
toUserId: string;
|
|
1765
|
+
amount?: string;
|
|
1766
|
+
priceCents?: number | null;
|
|
1767
|
+
gasSponsored?: boolean;
|
|
1768
|
+
};
|
|
1769
|
+
type InventoryItemHoldersResponse = {
|
|
1770
|
+
stats: InventoryItemStats;
|
|
1771
|
+
holders: Array<InventoryItemHolder>;
|
|
1772
|
+
};
|
|
1773
|
+
type InventoryItemStats = {
|
|
1774
|
+
holderCount: number;
|
|
1775
|
+
walletCount: number;
|
|
1776
|
+
totalHeld: string;
|
|
1777
|
+
};
|
|
1778
|
+
type InventoryItemHolder = {
|
|
1779
|
+
walletAddress: string;
|
|
1780
|
+
userId: string | null;
|
|
1781
|
+
amount: string;
|
|
1782
|
+
};
|
|
1783
|
+
type InventoryVaultPermitRecord = {
|
|
1784
|
+
id: string;
|
|
1785
|
+
appId: string;
|
|
1786
|
+
itemId: string;
|
|
1787
|
+
userId: string;
|
|
1788
|
+
direction: "vault_in" | "withdraw";
|
|
1789
|
+
lockKind: "vault" | "burn" | null;
|
|
1790
|
+
amount: string;
|
|
1791
|
+
gasSponsored: boolean;
|
|
1792
|
+
status: "pending" | "redeemed" | "revoked";
|
|
1793
|
+
custodyId: string | null;
|
|
1794
|
+
createdAt: string;
|
|
1795
|
+
};
|
|
1796
|
+
type InventoryVaultPermitCreateInput = {
|
|
1797
|
+
toUserId: string;
|
|
1798
|
+
lockKind: "vault" | "burn";
|
|
1799
|
+
amount?: string;
|
|
1800
|
+
gasSponsored?: boolean;
|
|
1801
|
+
};
|
|
1802
|
+
type InventoryWithdrawPermitCreateInput = {
|
|
1803
|
+
custodyId: string;
|
|
1804
|
+
};
|
|
1805
|
+
type InventoryPendingVaultPermitListResponse = {
|
|
1806
|
+
permits: Array<InventoryPendingVaultPermit>;
|
|
1807
|
+
};
|
|
1808
|
+
type InventoryPendingVaultPermit = {
|
|
1809
|
+
id: string;
|
|
1810
|
+
appId: string;
|
|
1811
|
+
itemId: string;
|
|
1812
|
+
direction: "vault_in" | "withdraw";
|
|
1813
|
+
lockKind: "vault" | "burn" | null;
|
|
1814
|
+
amount: string;
|
|
1815
|
+
gasSponsored: boolean;
|
|
1816
|
+
environment: "development" | "production";
|
|
1817
|
+
custodyId: string | null;
|
|
1818
|
+
createdAt: string;
|
|
1819
|
+
tokenId: string;
|
|
1820
|
+
name: string | null;
|
|
1821
|
+
description: string | null;
|
|
1822
|
+
imageAssetId: string | null;
|
|
1823
|
+
chain: string;
|
|
1824
|
+
collectionAddress: string;
|
|
1825
|
+
kind: "erc721" | "erc1155";
|
|
1826
|
+
};
|
|
1827
|
+
type InventorySignedVaultPermit = {
|
|
1828
|
+
permitId: string;
|
|
1829
|
+
direction: "vault_in" | "withdraw";
|
|
1830
|
+
vault: string;
|
|
1831
|
+
collection: string;
|
|
1832
|
+
user: string;
|
|
1833
|
+
tokenId: string;
|
|
1834
|
+
amount: string;
|
|
1835
|
+
lockKind: "vault" | "burn" | null;
|
|
1836
|
+
destination: string | null;
|
|
1837
|
+
deadline: number;
|
|
1838
|
+
signature: string;
|
|
1839
|
+
};
|
|
1840
|
+
type InventoryRelayedVaultQuoteResponse = {
|
|
1841
|
+
direction: "vault_in" | "withdraw";
|
|
1842
|
+
collection: string;
|
|
1843
|
+
vault: string;
|
|
1844
|
+
chainId: number;
|
|
1845
|
+
user: string;
|
|
1846
|
+
tokenId: string;
|
|
1847
|
+
amount: string;
|
|
1848
|
+
nonce: string | null;
|
|
1849
|
+
deadline: number;
|
|
1850
|
+
feeCents: number;
|
|
1851
|
+
gasWei: string;
|
|
1852
|
+
gasPaidBy: "developer" | "user";
|
|
1853
|
+
requiresUserSignature: boolean;
|
|
1854
|
+
};
|
|
1855
|
+
type InventoryRelayedVaultSubmitResponse = {
|
|
1856
|
+
ok: boolean;
|
|
1857
|
+
txHash: string;
|
|
1858
|
+
chargedCents: number;
|
|
1859
|
+
gasPaidBy: "developer" | "user";
|
|
1860
|
+
};
|
|
1861
|
+
type InventoryRelayedVaultSubmitRequest = {
|
|
1862
|
+
userSignature?: string;
|
|
1863
|
+
deadline?: number;
|
|
1864
|
+
};
|
|
1865
|
+
type InventoryNftTransferQuoteResponse = {
|
|
1866
|
+
collection: string;
|
|
1867
|
+
chainId: number;
|
|
1868
|
+
from: string;
|
|
1869
|
+
to: string;
|
|
1870
|
+
tokenId: string;
|
|
1871
|
+
amount: string;
|
|
1872
|
+
nonce: string;
|
|
1873
|
+
deadline: number;
|
|
1874
|
+
feeCents: number;
|
|
1875
|
+
gasWei: string;
|
|
1876
|
+
selfPayAvailable: boolean;
|
|
1877
|
+
};
|
|
1878
|
+
type InventoryNftTransferQuoteRequest = {
|
|
1879
|
+
toUserId: string;
|
|
1880
|
+
collection: string;
|
|
1881
|
+
tokenId: string;
|
|
1882
|
+
amount?: string;
|
|
1883
|
+
};
|
|
1884
|
+
type InventoryNftTransferResponse = {
|
|
1885
|
+
ok: boolean;
|
|
1886
|
+
txHash: string;
|
|
1887
|
+
chargedCents: number;
|
|
1888
|
+
};
|
|
1889
|
+
type InventoryNftTransferRequest = {
|
|
1890
|
+
toUserId: string;
|
|
1891
|
+
collection: string;
|
|
1892
|
+
tokenId: string;
|
|
1893
|
+
amount?: string;
|
|
1894
|
+
deadline: number;
|
|
1895
|
+
userSignature: string;
|
|
1896
|
+
threadId?: string;
|
|
1897
|
+
};
|
|
1898
|
+
type InventoryVaultCustodyListResponse = {
|
|
1899
|
+
custody: Array<InventoryVaultCustody>;
|
|
1900
|
+
};
|
|
1901
|
+
type InventoryVaultCustody = {
|
|
1902
|
+
id: string;
|
|
1903
|
+
collectionId: string;
|
|
1904
|
+
collectionAddress: string;
|
|
1905
|
+
chain: string;
|
|
1906
|
+
kind: "erc721" | "erc1155";
|
|
1907
|
+
tokenId: string;
|
|
1908
|
+
amount: string;
|
|
1909
|
+
lockKind: "vault" | "burn";
|
|
1910
|
+
vaultAddress: string;
|
|
1911
|
+
createdAt: string;
|
|
1912
|
+
name: string | null;
|
|
1913
|
+
description: string | null;
|
|
1914
|
+
imageAssetId: string | null;
|
|
1915
|
+
};
|
|
1916
|
+
type InventoryVaultForceWithdrawResponse = {
|
|
1917
|
+
ok: boolean;
|
|
1918
|
+
txHash: string;
|
|
1919
|
+
};
|
|
1485
1920
|
type NotificationListResponse = {
|
|
1486
1921
|
notifications: Array<NotificationItem>;
|
|
1487
1922
|
unreadCount: number;
|
|
@@ -1510,6 +1945,18 @@ type NotificationItem = {
|
|
|
1510
1945
|
payload: AppPageRejectedNotificationPayload;
|
|
1511
1946
|
read: boolean;
|
|
1512
1947
|
createdAt: string;
|
|
1948
|
+
} | {
|
|
1949
|
+
id: string;
|
|
1950
|
+
kind: "bip_update_published";
|
|
1951
|
+
payload: BipUpdatePublishedNotificationPayload;
|
|
1952
|
+
read: boolean;
|
|
1953
|
+
createdAt: string;
|
|
1954
|
+
} | {
|
|
1955
|
+
id: string;
|
|
1956
|
+
kind: "bip_now_playable";
|
|
1957
|
+
payload: BipNowPlayableNotificationPayload;
|
|
1958
|
+
read: boolean;
|
|
1959
|
+
createdAt: string;
|
|
1513
1960
|
} | {
|
|
1514
1961
|
id: string;
|
|
1515
1962
|
kind: "app_participant_invite";
|
|
@@ -1540,14 +1987,25 @@ type FriendAcceptedNotificationPayload = {
|
|
|
1540
1987
|
type AppPageApprovedNotificationPayload = {
|
|
1541
1988
|
appId: string;
|
|
1542
1989
|
appName: string;
|
|
1543
|
-
scope: "publish" | "changes";
|
|
1990
|
+
scope: "publish" | "changes" | "bip_publish";
|
|
1544
1991
|
};
|
|
1545
1992
|
type AppPageRejectedNotificationPayload = {
|
|
1546
1993
|
appId: string;
|
|
1547
1994
|
appName: string;
|
|
1548
|
-
scope: "publish" | "changes";
|
|
1995
|
+
scope: "publish" | "changes" | "bip_publish";
|
|
1549
1996
|
notes: string;
|
|
1550
1997
|
};
|
|
1998
|
+
type BipUpdatePublishedNotificationPayload = {
|
|
1999
|
+
appId: string;
|
|
2000
|
+
appName: string;
|
|
2001
|
+
appSlug: string | null;
|
|
2002
|
+
updateId: string;
|
|
2003
|
+
};
|
|
2004
|
+
type BipNowPlayableNotificationPayload = {
|
|
2005
|
+
appId: string;
|
|
2006
|
+
appName: string;
|
|
2007
|
+
appSlug: string | null;
|
|
2008
|
+
};
|
|
1551
2009
|
type AppParticipantInviteNotificationPayload = {
|
|
1552
2010
|
appId: string;
|
|
1553
2011
|
appName: string;
|
|
@@ -1577,6 +2035,9 @@ type FriendListItem = {
|
|
|
1577
2035
|
onlineStatus: OnlineStatus;
|
|
1578
2036
|
};
|
|
1579
2037
|
type OnlineStatus = "online" | "offline";
|
|
2038
|
+
type AppFriendListResponse = {
|
|
2039
|
+
friends: Array<ThreadParticipant>;
|
|
2040
|
+
};
|
|
1580
2041
|
type FriendRequestDecision = {
|
|
1581
2042
|
decision: "accept" | "reject";
|
|
1582
2043
|
};
|
|
@@ -1706,17 +2167,20 @@ type CreateDeveloperAppChain = {
|
|
|
1706
2167
|
};
|
|
1707
2168
|
type UpdateDeveloperApp = {
|
|
1708
2169
|
name?: DeveloperAppName;
|
|
2170
|
+
slug?: AppPageSlug | null;
|
|
1709
2171
|
logoUrl?: string | null;
|
|
1710
2172
|
testAccess?: "private" | "public";
|
|
1711
2173
|
redirectUris?: Array<string>;
|
|
1712
2174
|
embedOrigins?: Array<EmbedOrigin>;
|
|
1713
2175
|
acceptedCurrencies?: AcceptedCurrencies;
|
|
2176
|
+
acceptedNetworks?: AcceptedNetworks;
|
|
1714
2177
|
paymentStatusWebhookUrl?: string | null;
|
|
1715
2178
|
paymentStatusWebhookUrlTest?: string | null;
|
|
1716
2179
|
};
|
|
1717
2180
|
type EmbedOrigin = string;
|
|
1718
2181
|
type AcceptedCurrencies = Array<PlatformCurrency>;
|
|
1719
2182
|
type PlatformCurrency = "eth" | "tron";
|
|
2183
|
+
type AcceptedNetworks = Array<PaymentNetwork> | null;
|
|
1720
2184
|
type DeveloperLogoUploadResponse = {
|
|
1721
2185
|
logoUrl: string | null;
|
|
1722
2186
|
};
|
|
@@ -1954,6 +2418,7 @@ type DeveloperProductionRequestPayload = {
|
|
|
1954
2418
|
type DeveloperAppItem = {
|
|
1955
2419
|
id: string;
|
|
1956
2420
|
name: DeveloperAppName;
|
|
2421
|
+
slug: AppPageSlug | null;
|
|
1957
2422
|
logoUrl: string | null;
|
|
1958
2423
|
environment: "development" | "production";
|
|
1959
2424
|
productionApprovedAt: string | null;
|
|
@@ -1962,6 +2427,7 @@ type DeveloperAppItem = {
|
|
|
1962
2427
|
redirectUris: Array<string>;
|
|
1963
2428
|
embedOrigins: Array<EmbedOrigin>;
|
|
1964
2429
|
acceptedCurrencies: AcceptedCurrencies;
|
|
2430
|
+
acceptedNetworks: AcceptedNetworks;
|
|
1965
2431
|
payoutAddresses: Array<DeveloperAppPayoutAddressItem>;
|
|
1966
2432
|
keys: Array<DeveloperAppKeyItem>;
|
|
1967
2433
|
pendingProductionRequestId: string | null;
|
|
@@ -2016,9 +2482,18 @@ type AppPageDraft = {
|
|
|
2016
2482
|
hiddenAt: string | null;
|
|
2017
2483
|
hiddenReasonPublic: string | null;
|
|
2018
2484
|
pendingReview: boolean;
|
|
2485
|
+
bip: AppPageBipState;
|
|
2486
|
+
};
|
|
2487
|
+
type AppPageBipState = {
|
|
2488
|
+
enabled: boolean;
|
|
2489
|
+
status: "draft" | "pending_review" | "published" | "hidden";
|
|
2490
|
+
firstPublishedAt: string | null;
|
|
2491
|
+
reviewedAt: string | null;
|
|
2492
|
+
reviewNotes: string | null;
|
|
2493
|
+
hiddenAt: string | null;
|
|
2494
|
+
hiddenReasonPublic: string | null;
|
|
2019
2495
|
};
|
|
2020
2496
|
type UpdateAppPage = {
|
|
2021
|
-
slug?: AppPageSlug | null;
|
|
2022
2497
|
categories?: AppPageCategories;
|
|
2023
2498
|
tagline?: AppPageTagline | null;
|
|
2024
2499
|
bannerUrl?: string | null;
|
|
@@ -2041,6 +2516,9 @@ type UpdateAppPage = {
|
|
|
2041
2516
|
type AppPageGalleryUploadResponse = {
|
|
2042
2517
|
url: string;
|
|
2043
2518
|
};
|
|
2519
|
+
type AppPageBipToggle = {
|
|
2520
|
+
enabled: boolean;
|
|
2521
|
+
};
|
|
2044
2522
|
type AdminActivePlayersResponse = {
|
|
2045
2523
|
players: Array<AdminActivePlayer>;
|
|
2046
2524
|
total: number;
|
|
@@ -2179,6 +2657,11 @@ type AdminAppPageItem = {
|
|
|
2179
2657
|
hiddenAt: string | null;
|
|
2180
2658
|
hiddenReasonInternal: string | null;
|
|
2181
2659
|
pendingChangesSubmittedAt: string | null;
|
|
2660
|
+
bipEnabled: boolean;
|
|
2661
|
+
bipStatus: "draft" | "pending_review" | "published" | "hidden";
|
|
2662
|
+
bipFirstPublishedAt: string | null;
|
|
2663
|
+
bipHiddenAt: string | null;
|
|
2664
|
+
openReportCount: number;
|
|
2182
2665
|
};
|
|
2183
2666
|
type AdminAppPageStatusResponse = {
|
|
2184
2667
|
status: "draft" | "pending_review" | "published" | "hidden";
|
|
@@ -2204,6 +2687,25 @@ type AdminAppPageDiffField = {
|
|
|
2204
2687
|
from: string;
|
|
2205
2688
|
to: string;
|
|
2206
2689
|
};
|
|
2690
|
+
type AdminAppPageBipStatusResponse = {
|
|
2691
|
+
bipStatus: "draft" | "pending_review" | "published" | "hidden";
|
|
2692
|
+
};
|
|
2693
|
+
type AdminAppContentReportListResponse = {
|
|
2694
|
+
reports: Array<AdminAppContentReportItem>;
|
|
2695
|
+
total: number;
|
|
2696
|
+
hasMore: boolean;
|
|
2697
|
+
};
|
|
2698
|
+
type AdminAppContentReportItem = {
|
|
2699
|
+
id: string;
|
|
2700
|
+
category: AppContentReportCategory;
|
|
2701
|
+
details: string | null;
|
|
2702
|
+
status: AppContentReportStatus;
|
|
2703
|
+
acknowledgedAt: string | null;
|
|
2704
|
+
createdAt: string;
|
|
2705
|
+
appId: string;
|
|
2706
|
+
appName: string;
|
|
2707
|
+
appSlug: string | null;
|
|
2708
|
+
};
|
|
2207
2709
|
type PlatformFeesResponse = {
|
|
2208
2710
|
purchaseFeeBps: number;
|
|
2209
2711
|
stakeFeeBps: number;
|
|
@@ -2384,6 +2886,13 @@ type AppealResolveRequest = {
|
|
|
2384
2886
|
decision: "refund" | "dismiss";
|
|
2385
2887
|
notes?: string;
|
|
2386
2888
|
};
|
|
2889
|
+
type PaymentRatesResponse = {
|
|
2890
|
+
asOf: string;
|
|
2891
|
+
ethUsd: number | null;
|
|
2892
|
+
solUsd: number | null;
|
|
2893
|
+
solLamportsPerCent: number | null;
|
|
2894
|
+
tronUsdPerToken: number;
|
|
2895
|
+
};
|
|
2387
2896
|
type AppealFileResponse = {
|
|
2388
2897
|
appealId: string;
|
|
2389
2898
|
paymentId: string;
|
|
@@ -2493,7 +3002,7 @@ declare function listActivePlayers(context: TransportContext, input: {
|
|
|
2493
3002
|
//#region src/admin/app-pages.d.ts
|
|
2494
3003
|
declare function listAppPages(context: TransportContext, input: {
|
|
2495
3004
|
readonly bearer: string;
|
|
2496
|
-
readonly status?: "draft" | "pending_review" | "published" | "hidden" | "all" | "pending_changes";
|
|
3005
|
+
readonly status?: "draft" | "pending_review" | "published" | "hidden" | "all" | "pending_changes" | "bip_pending_review";
|
|
2497
3006
|
}): Promise<AdminAppPageListResponse>;
|
|
2498
3007
|
declare function getAppPageChanges(context: TransportContext, input: {
|
|
2499
3008
|
readonly bearer: string;
|
|
@@ -2518,6 +3027,20 @@ declare function reviewAppPage(context: TransportContext, input: {
|
|
|
2518
3027
|
readonly appId: string;
|
|
2519
3028
|
readonly body: ReviewAppPage;
|
|
2520
3029
|
}): Promise<AdminAppPageStatusResponse>;
|
|
3030
|
+
declare function reviewAppPageBip(context: TransportContext, input: {
|
|
3031
|
+
readonly bearer: string;
|
|
3032
|
+
readonly appId: string;
|
|
3033
|
+
readonly body: ReviewAppPage;
|
|
3034
|
+
}): Promise<AdminAppPageBipStatusResponse>;
|
|
3035
|
+
declare function hideAppPageBip(context: TransportContext, input: {
|
|
3036
|
+
readonly bearer: string;
|
|
3037
|
+
readonly appId: string;
|
|
3038
|
+
readonly body: HideAppPage;
|
|
3039
|
+
}): Promise<AdminAppPageBipStatusResponse>;
|
|
3040
|
+
declare function unhideAppPageBip(context: TransportContext, input: {
|
|
3041
|
+
readonly bearer: string;
|
|
3042
|
+
readonly appId: string;
|
|
3043
|
+
}): Promise<AdminAppPageBipStatusResponse>;
|
|
2521
3044
|
//#endregion
|
|
2522
3045
|
//#region src/admin/appeals.d.ts
|
|
2523
3046
|
declare function listAppealQueue(context: TransportContext, input: {
|
|
@@ -2549,6 +3072,19 @@ declare function resolveAppeal(context: TransportContext, input: {
|
|
|
2549
3072
|
readonly body: AppealResolveRequest;
|
|
2550
3073
|
}): Promise<AppealResolveSignedResponse>;
|
|
2551
3074
|
//#endregion
|
|
3075
|
+
//#region src/admin/content-reports.d.ts
|
|
3076
|
+
declare function listAdminContentReports(context: TransportContext, input: {
|
|
3077
|
+
readonly bearer: string;
|
|
3078
|
+
readonly status?: "open" | "acknowledged" | "dismissed" | "all";
|
|
3079
|
+
readonly limit?: number;
|
|
3080
|
+
readonly offset?: number;
|
|
3081
|
+
}): Promise<AdminAppContentReportListResponse>;
|
|
3082
|
+
declare function triageAdminContentReport(context: TransportContext, input: {
|
|
3083
|
+
readonly bearer: string;
|
|
3084
|
+
readonly reportId: string;
|
|
3085
|
+
readonly status: "acknowledged" | "dismissed";
|
|
3086
|
+
}): Promise<AppContentReport>;
|
|
3087
|
+
//#endregion
|
|
2552
3088
|
//#region src/admin/developers.d.ts
|
|
2553
3089
|
declare function listDeveloperRequests(context: TransportContext, input: {
|
|
2554
3090
|
readonly bearer: string;
|
|
@@ -2564,6 +3100,12 @@ declare function listDevelopers(context: TransportContext, input: {
|
|
|
2564
3100
|
readonly bearer: string;
|
|
2565
3101
|
}): Promise<AdminDeveloperListResponse>;
|
|
2566
3102
|
//#endregion
|
|
3103
|
+
//#region src/admin/inventory-vault.d.ts
|
|
3104
|
+
declare function forceWithdrawVaultCustody(context: TransportContext, input: {
|
|
3105
|
+
readonly bearer: string;
|
|
3106
|
+
readonly custodyId: string;
|
|
3107
|
+
}): Promise<InventoryVaultForceWithdrawResponse>;
|
|
3108
|
+
//#endregion
|
|
2567
3109
|
//#region src/admin/payments.d.ts
|
|
2568
3110
|
declare function getPlatformFees(context: TransportContext, input: {
|
|
2569
3111
|
readonly bearer: string;
|
|
@@ -2682,6 +3224,102 @@ declare function getAppPage(context: TransportContext, input: {
|
|
|
2682
3224
|
readonly slug: string;
|
|
2683
3225
|
}): Promise<PublicAppPage>;
|
|
2684
3226
|
//#endregion
|
|
3227
|
+
//#region src/catalog/bip-updates.d.ts
|
|
3228
|
+
declare function listBipUpdates(context: TransportContext, input: {
|
|
3229
|
+
readonly bearer?: string;
|
|
3230
|
+
readonly slug: string;
|
|
3231
|
+
readonly limit?: number;
|
|
3232
|
+
readonly offset?: number;
|
|
3233
|
+
}): Promise<BipUpdateListResponse>;
|
|
3234
|
+
declare function listBipUpdateComments(context: TransportContext, input: {
|
|
3235
|
+
readonly bearer?: string;
|
|
3236
|
+
readonly slug: string;
|
|
3237
|
+
readonly updateId: string;
|
|
3238
|
+
readonly limit?: number;
|
|
3239
|
+
readonly offset?: number;
|
|
3240
|
+
}): Promise<BipUpdateCommentListResponse>;
|
|
3241
|
+
declare function getMyBipUpdateReactions(context: TransportContext, input: {
|
|
3242
|
+
readonly bearer: string;
|
|
3243
|
+
readonly slug: string;
|
|
3244
|
+
}): Promise<MyBipUpdateReactionsResponse>;
|
|
3245
|
+
declare function setBipUpdateReaction(context: TransportContext, input: {
|
|
3246
|
+
readonly bearer: string;
|
|
3247
|
+
readonly slug: string;
|
|
3248
|
+
readonly updateId: string;
|
|
3249
|
+
readonly body: SetBipUpdateReactionRequest;
|
|
3250
|
+
}): Promise<SetBipUpdateReactionResponse>;
|
|
3251
|
+
declare function commentOnBipUpdate(context: TransportContext, input: {
|
|
3252
|
+
readonly bearer: string;
|
|
3253
|
+
readonly slug: string;
|
|
3254
|
+
readonly updateId: string;
|
|
3255
|
+
readonly body: string;
|
|
3256
|
+
}): Promise<CreateBipUpdateCommentResponse>;
|
|
3257
|
+
declare function deleteBipUpdateComment(context: TransportContext, input: {
|
|
3258
|
+
readonly bearer: string;
|
|
3259
|
+
readonly slug: string;
|
|
3260
|
+
readonly commentId: string;
|
|
3261
|
+
}): Promise<DeleteBipUpdateCommentResponse>;
|
|
3262
|
+
declare function listDeveloperBipUpdates(context: TransportContext, input: {
|
|
3263
|
+
readonly bearer: string;
|
|
3264
|
+
readonly appId: string;
|
|
3265
|
+
readonly limit?: number;
|
|
3266
|
+
readonly offset?: number;
|
|
3267
|
+
}): Promise<BipUpdateListResponse>;
|
|
3268
|
+
declare function createBipUpdate(context: TransportContext, input: {
|
|
3269
|
+
readonly bearer: string;
|
|
3270
|
+
readonly appId: string;
|
|
3271
|
+
readonly body: CreateBipUpdateRequest;
|
|
3272
|
+
}): Promise<BipUpdate>;
|
|
3273
|
+
declare function updateBipUpdate(context: TransportContext, input: {
|
|
3274
|
+
readonly bearer: string;
|
|
3275
|
+
readonly appId: string;
|
|
3276
|
+
readonly updateId: string;
|
|
3277
|
+
readonly body: UpdateBipUpdateRequest;
|
|
3278
|
+
}): Promise<BipUpdate>;
|
|
3279
|
+
declare function deleteBipUpdate(context: TransportContext, input: {
|
|
3280
|
+
readonly bearer: string;
|
|
3281
|
+
readonly appId: string;
|
|
3282
|
+
readonly updateId: string;
|
|
3283
|
+
}): Promise<DeleteBipUpdateResponse>;
|
|
3284
|
+
declare function uploadBipUpdateMedia(context: TransportContext, input: {
|
|
3285
|
+
readonly bearer: string;
|
|
3286
|
+
readonly appId: string;
|
|
3287
|
+
readonly file: Blob;
|
|
3288
|
+
readonly filename: string;
|
|
3289
|
+
readonly contentType: string;
|
|
3290
|
+
}): Promise<BipUpdateMediaUploadResponse>;
|
|
3291
|
+
declare function getBipInterestCount(context: TransportContext, input: {
|
|
3292
|
+
readonly bearer?: string;
|
|
3293
|
+
readonly slug: string;
|
|
3294
|
+
}): Promise<BipInterestCountResponse>;
|
|
3295
|
+
declare function getMyBipEngagement(context: TransportContext, input: {
|
|
3296
|
+
readonly bearer: string;
|
|
3297
|
+
readonly slug: string;
|
|
3298
|
+
}): Promise<BipEngagementResponse>;
|
|
3299
|
+
declare function registerBipInterest(context: TransportContext, input: {
|
|
3300
|
+
readonly bearer: string;
|
|
3301
|
+
readonly slug: string;
|
|
3302
|
+
readonly interested: boolean;
|
|
3303
|
+
}): Promise<BipEngagementResponse>;
|
|
3304
|
+
declare function subscribeBipUpdates(context: TransportContext, input: {
|
|
3305
|
+
readonly bearer: string;
|
|
3306
|
+
readonly slug: string;
|
|
3307
|
+
readonly subscribed: boolean;
|
|
3308
|
+
}): Promise<BipEngagementResponse>;
|
|
3309
|
+
//#endregion
|
|
3310
|
+
//#region src/catalog/build-in-public.d.ts
|
|
3311
|
+
declare function getBipDirectory(context: TransportContext, input: {
|
|
3312
|
+
readonly bearer?: string;
|
|
3313
|
+
readonly genre?: string;
|
|
3314
|
+
readonly q?: string;
|
|
3315
|
+
readonly before?: string;
|
|
3316
|
+
readonly limit?: number;
|
|
3317
|
+
}): Promise<LibraryListResponse>;
|
|
3318
|
+
declare function getBipPage(context: TransportContext, input: {
|
|
3319
|
+
readonly bearer?: string;
|
|
3320
|
+
readonly slug: string;
|
|
3321
|
+
}): Promise<PublicBipPage>;
|
|
3322
|
+
//#endregion
|
|
2685
3323
|
//#region src/catalog/content-reports.d.ts
|
|
2686
3324
|
declare function submitAppContentReport(context: TransportContext, input: {
|
|
2687
3325
|
readonly appId: string;
|
|
@@ -2846,6 +3484,9 @@ declare function getPaymentHistory(context: TransportContext, input: {
|
|
|
2846
3484
|
readonly before?: string;
|
|
2847
3485
|
}): Promise<PaymentHistoryResponse>;
|
|
2848
3486
|
//#endregion
|
|
3487
|
+
//#region src/dashboard/rates.d.ts
|
|
3488
|
+
declare function getPaymentRates(context: TransportContext): Promise<PaymentRatesResponse>;
|
|
3489
|
+
//#endregion
|
|
2849
3490
|
//#region src/developer/api-keys.d.ts
|
|
2850
3491
|
declare function createDeveloperApiKey(context: TransportContext, input: {
|
|
2851
3492
|
readonly bearer: string;
|
|
@@ -2983,6 +3624,53 @@ declare function updateDeveloperAppContentReportStatus(context: TransportContext
|
|
|
2983
3624
|
readonly status: "acknowledged" | "dismissed";
|
|
2984
3625
|
}): Promise<AppContentReport>;
|
|
2985
3626
|
//#endregion
|
|
3627
|
+
//#region src/developer/inventory.d.ts
|
|
3628
|
+
declare function quoteDeveloperAppInventoryRegistration(context: TransportContext, input: {
|
|
3629
|
+
readonly bearer: string;
|
|
3630
|
+
readonly appId: string;
|
|
3631
|
+
readonly registration: InventoryItemRegistrationInput;
|
|
3632
|
+
}): Promise<InventoryRegistrationQuote>;
|
|
3633
|
+
declare function registerDeveloperAppInventoryItem(context: TransportContext, input: {
|
|
3634
|
+
readonly bearer: string;
|
|
3635
|
+
readonly appId: string;
|
|
3636
|
+
readonly registration: InventoryItemRegistrationInput;
|
|
3637
|
+
}): Promise<InventoryItemRegistrationResult>;
|
|
3638
|
+
declare function listDeveloperAppInventoryCollections(context: TransportContext, input: {
|
|
3639
|
+
readonly bearer: string;
|
|
3640
|
+
readonly appId: string;
|
|
3641
|
+
}): Promise<InventoryCollectionListResponse>;
|
|
3642
|
+
declare function listDeveloperAppInventoryItems(context: TransportContext, input: {
|
|
3643
|
+
readonly bearer: string;
|
|
3644
|
+
readonly appId: string;
|
|
3645
|
+
}): Promise<InventoryItemListResponse>;
|
|
3646
|
+
declare function createDeveloperAppMintPermit(context: TransportContext, input: {
|
|
3647
|
+
readonly bearer: string;
|
|
3648
|
+
readonly appId: string;
|
|
3649
|
+
readonly itemId: string;
|
|
3650
|
+
readonly grant: InventoryMintPermitCreateInput;
|
|
3651
|
+
}): Promise<InventoryMintPermitRecord>;
|
|
3652
|
+
declare function getDeveloperAppInventoryItemHolders(context: TransportContext, input: {
|
|
3653
|
+
readonly bearer: string;
|
|
3654
|
+
readonly appId: string;
|
|
3655
|
+
readonly itemId: string;
|
|
3656
|
+
}): Promise<InventoryItemHoldersResponse>;
|
|
3657
|
+
declare function uploadDeveloperAppInventoryItemImage(context: TransportContext, input: {
|
|
3658
|
+
readonly bearer: string;
|
|
3659
|
+
readonly appId: string;
|
|
3660
|
+
readonly itemId: string;
|
|
3661
|
+
readonly file: Blob | ArrayBufferView | ArrayBuffer;
|
|
3662
|
+
readonly filename: string;
|
|
3663
|
+
readonly contentType: string;
|
|
3664
|
+
}): Promise<InventoryItemRecord>;
|
|
3665
|
+
declare function uploadDeveloperAppInventoryItemBanner(context: TransportContext, input: {
|
|
3666
|
+
readonly bearer: string;
|
|
3667
|
+
readonly appId: string;
|
|
3668
|
+
readonly itemId: string;
|
|
3669
|
+
readonly file: Blob | ArrayBufferView | ArrayBuffer;
|
|
3670
|
+
readonly filename: string;
|
|
3671
|
+
readonly contentType: string;
|
|
3672
|
+
}): Promise<InventoryItemRecord>;
|
|
3673
|
+
//#endregion
|
|
2986
3674
|
//#region src/developer/pages.d.ts
|
|
2987
3675
|
declare function getDeveloperAppPage(context: TransportContext, input: {
|
|
2988
3676
|
readonly bearer: string;
|
|
@@ -3041,6 +3729,19 @@ declare function unpublishAppPage(context: TransportContext, input: {
|
|
|
3041
3729
|
readonly bearer: string;
|
|
3042
3730
|
readonly appId: string;
|
|
3043
3731
|
}): Promise<AppPageDraft>;
|
|
3732
|
+
declare function setAppPageBip(context: TransportContext, input: {
|
|
3733
|
+
readonly bearer: string;
|
|
3734
|
+
readonly appId: string;
|
|
3735
|
+
readonly body: AppPageBipToggle;
|
|
3736
|
+
}): Promise<AppPageDraft>;
|
|
3737
|
+
declare function submitAppPageBipForReview(context: TransportContext, input: {
|
|
3738
|
+
readonly bearer: string;
|
|
3739
|
+
readonly appId: string;
|
|
3740
|
+
}): Promise<AppPageDraft>;
|
|
3741
|
+
declare function unpublishAppPageBip(context: TransportContext, input: {
|
|
3742
|
+
readonly bearer: string;
|
|
3743
|
+
readonly appId: string;
|
|
3744
|
+
}): Promise<AppPageDraft>;
|
|
3044
3745
|
//#endregion
|
|
3045
3746
|
//#region src/developer/participants.d.ts
|
|
3046
3747
|
declare function listDeveloperAppParticipants(context: TransportContext, input: {
|
|
@@ -3107,6 +3808,20 @@ declare function uploadMultipart(context: TransportContext, input: {
|
|
|
3107
3808
|
readonly contentType: string;
|
|
3108
3809
|
}): Promise<unknown>;
|
|
3109
3810
|
//#endregion
|
|
3811
|
+
//#region src/developer/vault.d.ts
|
|
3812
|
+
declare function createDeveloperVaultPermit(context: TransportContext, input: {
|
|
3813
|
+
readonly bearer: string;
|
|
3814
|
+
readonly appId: string;
|
|
3815
|
+
readonly itemId: string;
|
|
3816
|
+
readonly grant: InventoryVaultPermitCreateInput;
|
|
3817
|
+
}): Promise<InventoryVaultPermitRecord>;
|
|
3818
|
+
declare function createDeveloperWithdrawPermit(context: TransportContext, input: {
|
|
3819
|
+
readonly bearer: string;
|
|
3820
|
+
readonly appId: string;
|
|
3821
|
+
readonly itemId: string;
|
|
3822
|
+
readonly grant: InventoryWithdrawPermitCreateInput;
|
|
3823
|
+
}): Promise<InventoryVaultPermitRecord>;
|
|
3824
|
+
//#endregion
|
|
3110
3825
|
//#region src/inventory/list.d.ts
|
|
3111
3826
|
declare function listInventory(context: TransportContext, input: {
|
|
3112
3827
|
readonly bearer: string;
|
|
@@ -3115,12 +3830,55 @@ declare function listInventoryForApp(context: TransportContext, input: {
|
|
|
3115
3830
|
readonly bearer: string;
|
|
3116
3831
|
}): Promise<InventoryListResponse>;
|
|
3117
3832
|
//#endregion
|
|
3833
|
+
//#region src/inventory/nft-transfer.d.ts
|
|
3834
|
+
declare function quoteNftTransfer(context: TransportContext, input: {
|
|
3835
|
+
readonly bearer: string;
|
|
3836
|
+
readonly body: InventoryNftTransferQuoteRequest;
|
|
3837
|
+
}): Promise<InventoryNftTransferQuoteResponse>;
|
|
3838
|
+
declare function executeNftTransfer(context: TransportContext, input: {
|
|
3839
|
+
readonly bearer: string;
|
|
3840
|
+
readonly body: InventoryNftTransferRequest;
|
|
3841
|
+
}): Promise<InventoryNftTransferResponse>;
|
|
3842
|
+
//#endregion
|
|
3843
|
+
//#region src/inventory/permits.d.ts
|
|
3844
|
+
declare function listInventoryMintPermits(context: TransportContext, input: {
|
|
3845
|
+
readonly bearer: string;
|
|
3846
|
+
}): Promise<InventoryPendingPermitListResponse>;
|
|
3847
|
+
declare function redeemInventoryMintPermit(context: TransportContext, input: {
|
|
3848
|
+
readonly bearer: string;
|
|
3849
|
+
readonly permitId: string;
|
|
3850
|
+
}): Promise<InventoryPermitRedeemResult>;
|
|
3851
|
+
//#endregion
|
|
3118
3852
|
//#region src/inventory/request-mint.d.ts
|
|
3119
3853
|
declare function requestMint(context: TransportContext, input: {
|
|
3120
3854
|
readonly appBearer: string;
|
|
3121
3855
|
readonly body: MintRequestInput;
|
|
3122
3856
|
}): Promise<MintRequestResult>;
|
|
3123
3857
|
//#endregion
|
|
3858
|
+
//#region src/inventory/vault.d.ts
|
|
3859
|
+
declare function listInventoryVaultPermits(context: TransportContext, input: {
|
|
3860
|
+
readonly bearer: string;
|
|
3861
|
+
}): Promise<InventoryPendingVaultPermitListResponse>;
|
|
3862
|
+
declare function signInventoryVaultPermit(context: TransportContext, input: {
|
|
3863
|
+
readonly bearer: string;
|
|
3864
|
+
readonly permitId: string;
|
|
3865
|
+
}): Promise<InventorySignedVaultPermit>;
|
|
3866
|
+
declare function quoteRelayedVaultPermit(context: TransportContext, input: {
|
|
3867
|
+
readonly bearer: string;
|
|
3868
|
+
readonly permitId: string;
|
|
3869
|
+
}): Promise<InventoryRelayedVaultQuoteResponse>;
|
|
3870
|
+
declare function submitRelayedVaultPermit(context: TransportContext, input: {
|
|
3871
|
+
readonly bearer: string;
|
|
3872
|
+
readonly permitId: string;
|
|
3873
|
+
readonly body: InventoryRelayedVaultSubmitRequest;
|
|
3874
|
+
}): Promise<InventoryRelayedVaultSubmitResponse>;
|
|
3875
|
+
declare function listInventoryVaulted(context: TransportContext, input: {
|
|
3876
|
+
readonly bearer: string;
|
|
3877
|
+
}): Promise<InventoryVaultCustodyListResponse>;
|
|
3878
|
+
declare function listOauthInventoryVaulted(context: TransportContext, input: {
|
|
3879
|
+
readonly bearer: string;
|
|
3880
|
+
}): Promise<InventoryVaultCustodyListResponse>;
|
|
3881
|
+
//#endregion
|
|
3124
3882
|
//#region src/messaging/dm-key-backup.d.ts
|
|
3125
3883
|
declare function getDmKeyBackupStatus(context: TransportContext, input: {
|
|
3126
3884
|
readonly bearer: string;
|
|
@@ -3355,6 +4113,15 @@ declare function denyPaymentIntent(context: TransportContext, input: {
|
|
|
3355
4113
|
readonly bearer: string;
|
|
3356
4114
|
readonly intentId: string;
|
|
3357
4115
|
}): Promise<OauthPaymentIntentResolveResponse>;
|
|
4116
|
+
declare function preparePaymentIntentSolana(context: TransportContext, input: {
|
|
4117
|
+
readonly bearer: string;
|
|
4118
|
+
readonly intentId: string;
|
|
4119
|
+
}): Promise<OauthPaymentIntentSolanaPrepareResponse>;
|
|
4120
|
+
declare function completePaymentIntentSolana(context: TransportContext, input: {
|
|
4121
|
+
readonly bearer: string;
|
|
4122
|
+
readonly intentId: string;
|
|
4123
|
+
readonly body: OauthPaymentIntentSolanaCompleteRequest;
|
|
4124
|
+
}): Promise<OauthPaymentIntentResolveResponse>;
|
|
3358
4125
|
//#endregion
|
|
3359
4126
|
//#region src/payments/limits.d.ts
|
|
3360
4127
|
declare function getPaymentLimits(context: TransportContext, input: {
|
|
@@ -3549,6 +4316,10 @@ declare function sendFriendRequest(context: TransportContext, input: {
|
|
|
3549
4316
|
readonly bearer: string;
|
|
3550
4317
|
readonly userId: string;
|
|
3551
4318
|
}): Promise<void>;
|
|
4319
|
+
declare function removeFriend(context: TransportContext, input: {
|
|
4320
|
+
readonly bearer: string;
|
|
4321
|
+
readonly userId: string;
|
|
4322
|
+
}): Promise<void>;
|
|
3552
4323
|
declare function decideFriendRequest(context: TransportContext, input: {
|
|
3553
4324
|
readonly bearer: string;
|
|
3554
4325
|
readonly requestId: string;
|
|
@@ -3561,6 +4332,9 @@ declare function cancelFriendRequest(context: TransportContext, input: {
|
|
|
3561
4332
|
declare function listFriends(context: TransportContext, input: {
|
|
3562
4333
|
readonly bearer: string;
|
|
3563
4334
|
}): Promise<FriendListResponse>;
|
|
4335
|
+
declare function listFriendsForApp(context: TransportContext, input: {
|
|
4336
|
+
readonly bearer: string;
|
|
4337
|
+
}): Promise<AppFriendListResponse>;
|
|
3564
4338
|
//#endregion
|
|
3565
4339
|
//#region src/reads/socials.d.ts
|
|
3566
4340
|
declare function listSocials(context: TransportContext, input: {
|
|
@@ -3852,4 +4626,4 @@ type CookieTokenStoreOptions = {
|
|
|
3852
4626
|
};
|
|
3853
4627
|
declare function createCookieTokenStore(options?: CookieTokenStoreOptions): TokenStore;
|
|
3854
4628
|
//#endregion
|
|
3855
|
-
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, createTronTransferChallenge, 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, getTronSecurity, 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, setTronSecurity, 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 };
|
|
4629
|
+
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, commentOnBipUpdate, commentOnGameReview, completePaymentIntent, completePaymentIntentSolana, consolidateDeveloperAppWallet, createBipUpdate, 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, deleteBipUpdate, deleteBipUpdateComment, 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, getBipDirectory, getBipInterestCount, getBipPage, getDelegation, getDeveloperAppActivity, getDeveloperAppBalances, getDeveloperAppEarnings, getDeveloperAppInventoryItemHolders, getDeveloperAppOverview, getDeveloperAppPage, getDeveloperAppPlaytime, getDeveloperAppTronBalance, getDeveloperAppWallets, getDeveloperPaymentAppeals, getDeveloperPaymentPendingDeposits, getDeveloperStatus, getDeveloperTronBalanceSummary, getDmKeyBackupStatus, getEarningsTimeseries, getIntentStatus, getLibrary, getMeStats, getMoonpayAvailability, getMyBipEngagement, getMyBipUpdateReactions, getMyDmKey, getMyGameReview, getMyGameReviewReactions, getOutstanding, getPaymentChains, getPaymentHistory, getPaymentIntent, getPaymentLimits, getPaymentPrice, getPaymentRates, getPlatformFees, getPlaytime, getPlaytimeTimeseries, getPublicProfile, getReferral, getThreadDmKey, getTronBalance, getTronSecurity, hideAppPage, hideAppPageBip, hideThread, inviteDeveloperAppParticipant, inviteParticipants, leaveThread, listActivePlayers, listAdminContentReports, listAdmins, listAppPages, listAppealBlacklist, listAppealQueue, listAudit, listBipUpdateComments, listBipUpdates, listDeveloperApiKeys, listDeveloperAppContentReports, listDeveloperAppInventoryCollections, listDeveloperAppInventoryItems, listDeveloperAppParticipants, listDeveloperAppReviews, listDeveloperBipUpdates, 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, preparePaymentIntentSolana, previewReferral, provisionDeveloperAppWallet, publishDmKey, quoteDeveloperAppInventoryRegistration, quoteNftTransfer, quoteRelayedVaultPermit, redeemInventoryMintPermit, refreshAccessToken, registerBipInterest, registerDeveloperAppInventoryItem, rejectTronCashout, removeAdmin, removeAppealBlacklist, removeFriend, removeParticipant, removeReaction, replyToGameReview, requestDeveloperAppProduction, requestMint, resolveAppeal, reviewAppPage, reviewAppPageBip, reviewAppPageChanges, reviewDeveloperRequest, revokeDeveloperApiKey, revokeDeveloperAppParticipant, revokePaymentAuthorization, revokeToken, rotateDeveloperAppKey, rotateDeveloperAppPaymentWebhookSecret, rotateProcessorTreasury, searchGiphy, searchUsers, sendFriendRequest, sendMessage, sendPresenceHeartbeat, setAppPageBip, setBipUpdateReaction, setMyGameReviewReaction, setProcessorWhitelist, setTronSecurity, setVaultOperator, setVaultPause, setVaultWithdrawLockDefault, setVaultWithdrawLockOverride, setupDmKeyBackup, sha256Base64Url, signInventoryVaultPermit, signPaymentIntent, submitAppContentReport, submitAppPageBipForReview, submitAppPageForReview, submitDeveloperRequest, submitRelayedVaultPermit, subscribeBipUpdates, tipGameReview, toTokenSet, triageAdminContentReport, unfollowUser, unhideAppPage, unhideAppPageBip, unlockDmKeyBackup, unpinThread, unpublishAppPage, unpublishAppPageBip, updateAdminRole, updateAppFeeConfig, updateAppPage, updateBipUpdate, updateDeveloperApp, updateDeveloperAppAutoSweep, updateDeveloperAppContentReportStatus, updateDeveloperProfile, updateNotification, updateParticipantRole, updatePaymentAuthorization, updatePlatformFees, updateProfile, updateThreadSettings, updateUserBan, updateWalletLabel, uploadAdminAppealRoomAttachment, uploadAppPageBanner, uploadAppPageGallery, uploadAppPageThumbnail, uploadAppPageThumbnailVideo, uploadAppealRoomAttachment, uploadAttachment, uploadAvatar, uploadBipUpdateMedia, uploadDeveloperAppInventoryItemBanner, uploadDeveloperAppInventoryItemImage, uploadDeveloperAppLogo, uploadDeveloperProfileLogo, uploadDeveloperRequestLogo, uploadMultipart, uploadThreadLogo, upsertMyGameReview, verifyWebhook, withdrawDeveloperAppWallet };
|