@metatrongg/sdk 0.8.0-dev.1ef20e5 → 0.8.0-dev.35a45fe
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 +611 -18
- package/dist/browser/index.js +1 -1
- package/dist/contracts/index.d.ts +6680 -2788
- package/dist/contracts/index.js +1 -1
- package/dist/index.js +1 -1
- package/dist/node/index.d.ts +661 -18
- 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
|
@@ -246,6 +246,7 @@ type OauthPaymentIntentContext = {
|
|
|
246
246
|
studioXHandle: string | null;
|
|
247
247
|
};
|
|
248
248
|
} | null;
|
|
249
|
+
environment: "development" | "production";
|
|
249
250
|
};
|
|
250
251
|
type OauthPaymentIntentSignResponse = {
|
|
251
252
|
chain: string;
|
|
@@ -366,6 +367,7 @@ type AppPageLink = {
|
|
|
366
367
|
order: number;
|
|
367
368
|
};
|
|
368
369
|
type PublicAppPageStudio = {
|
|
370
|
+
ownerUserId: string | null;
|
|
369
371
|
name: string | null;
|
|
370
372
|
logoUrl: string | null;
|
|
371
373
|
websiteUrl: string | null;
|
|
@@ -385,38 +387,49 @@ type ReviewListResponse = {
|
|
|
385
387
|
hasMore: boolean;
|
|
386
388
|
};
|
|
387
389
|
type ReviewAggregate = {
|
|
388
|
-
average: number | null;
|
|
389
390
|
count: number;
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
1: number;
|
|
394
|
-
2: number;
|
|
395
|
-
3: number;
|
|
396
|
-
4: number;
|
|
397
|
-
5: number;
|
|
391
|
+
recommendedCount: number;
|
|
392
|
+
recommendedPct: number | null;
|
|
393
|
+
summaryLabel: ReviewSummaryLabel;
|
|
398
394
|
};
|
|
395
|
+
type ReviewSummaryLabel = "overwhelmingly_positive" | "very_positive" | "positive" | "mostly_positive" | "mixed" | "mostly_negative" | "negative" | "overwhelmingly_negative" | null;
|
|
399
396
|
type Review = {
|
|
400
397
|
id: string;
|
|
401
|
-
|
|
398
|
+
recommended: ReviewRecommended;
|
|
402
399
|
body: ReviewBody;
|
|
400
|
+
reactions: ReviewReactionCounts;
|
|
401
|
+
tippedCents: number;
|
|
402
|
+
commentCount: number;
|
|
403
403
|
author: ReviewAuthor;
|
|
404
|
+
authorStats: ReviewerStats;
|
|
404
405
|
developerReply: ReviewReply;
|
|
405
406
|
createdAt: string;
|
|
406
407
|
updatedAt: string;
|
|
407
408
|
};
|
|
408
|
-
type
|
|
409
|
+
type ReviewRecommended = boolean;
|
|
409
410
|
type ReviewBody = string;
|
|
411
|
+
type ReviewReactionCounts = {
|
|
412
|
+
helpful: number;
|
|
413
|
+
unhelpful: number;
|
|
414
|
+
funny: number;
|
|
415
|
+
};
|
|
410
416
|
type ReviewAuthor = {
|
|
417
|
+
userId: string;
|
|
418
|
+
handle: string | null;
|
|
411
419
|
name: string | null;
|
|
412
420
|
avatarUrl: string | null;
|
|
413
421
|
};
|
|
422
|
+
type ReviewerStats = {
|
|
423
|
+
playtimeSecondsThisGame: number;
|
|
424
|
+
gamesPlayed: number;
|
|
425
|
+
reviewsWritten: number;
|
|
426
|
+
};
|
|
414
427
|
type ReviewReply = {
|
|
415
428
|
body: ReviewReplyBody;
|
|
416
429
|
repliedAt: string;
|
|
417
430
|
} | null;
|
|
418
431
|
type ReviewReplyBody = string;
|
|
419
|
-
type ReviewSort = "newest" | "oldest" | "
|
|
432
|
+
type ReviewSort = "newest" | "oldest" | "helpful";
|
|
420
433
|
type MyReviewResponse = {
|
|
421
434
|
eligible: boolean;
|
|
422
435
|
eligibleVia: ReviewEligibilityReason;
|
|
@@ -426,15 +439,67 @@ type MyReviewResponse = {
|
|
|
426
439
|
type ReviewEligibilityReason = "payment" | "reward" | null;
|
|
427
440
|
type OwnReview = {
|
|
428
441
|
id: string;
|
|
429
|
-
|
|
442
|
+
recommended: ReviewRecommended;
|
|
430
443
|
body: ReviewBody;
|
|
431
444
|
createdAt: string;
|
|
432
445
|
updatedAt: string;
|
|
433
446
|
} | null;
|
|
434
447
|
type UpsertReviewRequest = {
|
|
435
|
-
|
|
448
|
+
recommended: ReviewRecommended;
|
|
436
449
|
body: ReviewBody;
|
|
437
450
|
};
|
|
451
|
+
type MyReviewReactionsResponse = {
|
|
452
|
+
reactions: Array<MyReviewReaction>;
|
|
453
|
+
};
|
|
454
|
+
type MyReviewReaction = {
|
|
455
|
+
reviewId: string;
|
|
456
|
+
vote: ReviewVote;
|
|
457
|
+
funny: boolean;
|
|
458
|
+
};
|
|
459
|
+
type ReviewVote = "helpful" | "unhelpful" | null;
|
|
460
|
+
type SetReviewReactionResponse = {
|
|
461
|
+
reactions: ReviewReactionCounts;
|
|
462
|
+
vote: ReviewVote;
|
|
463
|
+
funny: boolean;
|
|
464
|
+
};
|
|
465
|
+
type SetReviewReactionRequest = {
|
|
466
|
+
vote: ReviewVote;
|
|
467
|
+
funny: boolean;
|
|
468
|
+
};
|
|
469
|
+
type TipReviewResponse = {
|
|
470
|
+
status: "completed";
|
|
471
|
+
amountCents: number;
|
|
472
|
+
balanceCents: number;
|
|
473
|
+
tippedCents: number;
|
|
474
|
+
};
|
|
475
|
+
type TipReviewRequest = {
|
|
476
|
+
amountCents: number;
|
|
477
|
+
note?: string;
|
|
478
|
+
challengeId?: string;
|
|
479
|
+
signature?: string;
|
|
480
|
+
};
|
|
481
|
+
type ReviewCommentListResponse = {
|
|
482
|
+
comments: Array<ReviewComment>;
|
|
483
|
+
total: number;
|
|
484
|
+
hasMore: boolean;
|
|
485
|
+
};
|
|
486
|
+
type ReviewComment = {
|
|
487
|
+
id: string;
|
|
488
|
+
body: ReviewCommentBody;
|
|
489
|
+
author: ReviewAuthor;
|
|
490
|
+
createdAt: string;
|
|
491
|
+
};
|
|
492
|
+
type ReviewCommentBody = string;
|
|
493
|
+
type CreateReviewCommentResponse = {
|
|
494
|
+
comment: ReviewComment;
|
|
495
|
+
commentCount: number;
|
|
496
|
+
};
|
|
497
|
+
type CreateReviewCommentRequest = {
|
|
498
|
+
body: ReviewCommentBody;
|
|
499
|
+
};
|
|
500
|
+
type DeleteReviewCommentResponse = {
|
|
501
|
+
commentCount: number;
|
|
502
|
+
};
|
|
438
503
|
type ReviewReplyResponse = {
|
|
439
504
|
developerReply: ReviewReply;
|
|
440
505
|
};
|
|
@@ -539,8 +604,12 @@ type ActivityRow = ({
|
|
|
539
604
|
} & ActivityRowTronPot) | ({
|
|
540
605
|
kind: "tron_cashout";
|
|
541
606
|
} & ActivityRowTronCashout) | ({
|
|
607
|
+
kind: "tron_transfer";
|
|
608
|
+
} & ActivityRowTronTransfer) | ({
|
|
542
609
|
kind: "referral_earning";
|
|
543
|
-
} & ActivityRowReferralEarning)
|
|
610
|
+
} & ActivityRowReferralEarning) | ({
|
|
611
|
+
kind: "nft_charge";
|
|
612
|
+
} & ActivityRowNftCharge);
|
|
544
613
|
type ActivityRowPayment = {
|
|
545
614
|
kind: "payment";
|
|
546
615
|
groupId: string | null;
|
|
@@ -822,6 +891,20 @@ type ActivityRowTronCashout = {
|
|
|
822
891
|
rejectionReason: string | null;
|
|
823
892
|
settledAt: string | null;
|
|
824
893
|
};
|
|
894
|
+
type ActivityRowTronTransfer = {
|
|
895
|
+
kind: "tron_transfer";
|
|
896
|
+
groupId: string | null;
|
|
897
|
+
id: string;
|
|
898
|
+
occurredAt: string;
|
|
899
|
+
role: "incoming" | "outgoing";
|
|
900
|
+
amountCents: number;
|
|
901
|
+
usdCents: number;
|
|
902
|
+
status: "settled";
|
|
903
|
+
counterpartyUserId: string | null;
|
|
904
|
+
counterpartyHandle: string | null;
|
|
905
|
+
counterpartyDisplayName: string | null;
|
|
906
|
+
note: string | null;
|
|
907
|
+
};
|
|
825
908
|
type ActivityRowReferralEarning = {
|
|
826
909
|
kind: "referral_earning";
|
|
827
910
|
groupId: string | null;
|
|
@@ -838,6 +921,22 @@ type ActivityRowReferralEarning = {
|
|
|
838
921
|
logIndex: number;
|
|
839
922
|
usdCents: number | null;
|
|
840
923
|
};
|
|
924
|
+
type ActivityRowNftCharge = {
|
|
925
|
+
kind: "nft_charge";
|
|
926
|
+
groupId: string | null;
|
|
927
|
+
id: string;
|
|
928
|
+
occurredAt: string;
|
|
929
|
+
role: "outgoing";
|
|
930
|
+
chargeKind: "registration" | "mint" | "transfer_gas";
|
|
931
|
+
amountCents: number;
|
|
932
|
+
usdCents: number;
|
|
933
|
+
status: "settled";
|
|
934
|
+
collectionAddress: string | null;
|
|
935
|
+
tokenId: string | null;
|
|
936
|
+
counterpartyUserId: string | null;
|
|
937
|
+
counterpartyHandle: string | null;
|
|
938
|
+
counterpartyDisplayName: string | null;
|
|
939
|
+
};
|
|
841
940
|
type OutstandingResponse = {
|
|
842
941
|
rows: Array<OutstandingByToken>;
|
|
843
942
|
};
|
|
@@ -887,7 +986,7 @@ type TronLedgerResponse = {
|
|
|
887
986
|
};
|
|
888
987
|
type TronLedgerEntry = {
|
|
889
988
|
id: string;
|
|
890
|
-
kind: "deposit" | "pot_stake" | "pot_payout" | "dev_earning" | "cashout_hold" | "cashout_release" | "dispute_freeze" | "dispute_unfreeze" | "hosted_billing" | "store_purchase" | "referral_earning";
|
|
989
|
+
kind: "deposit" | "pot_stake" | "pot_payout" | "dev_earning" | "cashout_hold" | "cashout_release" | "dispute_freeze" | "dispute_unfreeze" | "hosted_billing" | "store_purchase" | "referral_earning" | "peer_transfer" | "nft_registration" | "nft_mint" | "nft_gas";
|
|
891
990
|
amountCents: number;
|
|
892
991
|
currency: string;
|
|
893
992
|
createdAt: string;
|
|
@@ -902,6 +1001,45 @@ type TronDepositResponse = {
|
|
|
902
1001
|
type TronDepositRequest = {
|
|
903
1002
|
amountCents: number;
|
|
904
1003
|
};
|
|
1004
|
+
type TronTransferResponse = {
|
|
1005
|
+
status: "completed";
|
|
1006
|
+
amountCents: number;
|
|
1007
|
+
balanceCents: number;
|
|
1008
|
+
recipient: {
|
|
1009
|
+
userId: string;
|
|
1010
|
+
handle: string | null;
|
|
1011
|
+
displayName: string | null;
|
|
1012
|
+
};
|
|
1013
|
+
};
|
|
1014
|
+
type TronTransferRequest = {
|
|
1015
|
+
recipientUserId: string;
|
|
1016
|
+
amountCents: number;
|
|
1017
|
+
note?: string;
|
|
1018
|
+
challengeId?: string;
|
|
1019
|
+
signature?: string;
|
|
1020
|
+
threadId?: string;
|
|
1021
|
+
};
|
|
1022
|
+
type TronSecuritySetting = {
|
|
1023
|
+
requireSignature: boolean;
|
|
1024
|
+
};
|
|
1025
|
+
type TronTransferChallengeResponse = ({
|
|
1026
|
+
required: false;
|
|
1027
|
+
} & TronTransferChallengeNotRequired) | ({
|
|
1028
|
+
required: true;
|
|
1029
|
+
} & TronTransferChallengeRequired);
|
|
1030
|
+
type TronTransferChallengeNotRequired = {
|
|
1031
|
+
required: false;
|
|
1032
|
+
};
|
|
1033
|
+
type TronTransferChallengeRequired = {
|
|
1034
|
+
required: true;
|
|
1035
|
+
challengeId: string;
|
|
1036
|
+
message: string;
|
|
1037
|
+
expiresAt: string;
|
|
1038
|
+
};
|
|
1039
|
+
type TronTransferChallengeRequest = {
|
|
1040
|
+
recipientUserId: string;
|
|
1041
|
+
amountCents: number;
|
|
1042
|
+
};
|
|
905
1043
|
type TronConnectOnboardingResponse = {
|
|
906
1044
|
url: string;
|
|
907
1045
|
};
|
|
@@ -1068,6 +1206,7 @@ type ThreadLastMessagePreview = {
|
|
|
1068
1206
|
url: string;
|
|
1069
1207
|
count: number;
|
|
1070
1208
|
} | null;
|
|
1209
|
+
transaction?: MessageTransactionTronTransfer | MessageTransactionNftTransfer | null;
|
|
1071
1210
|
sentAt: string;
|
|
1072
1211
|
} | null;
|
|
1073
1212
|
type MessageEnvelope = {
|
|
@@ -1079,6 +1218,19 @@ type MessageEnvelope = {
|
|
|
1079
1218
|
iv: string;
|
|
1080
1219
|
ct: string;
|
|
1081
1220
|
} | null;
|
|
1221
|
+
type MessageTransactionTronTransfer = {
|
|
1222
|
+
kind: "tron_transfer";
|
|
1223
|
+
amountCents: number;
|
|
1224
|
+
recipientUserId: string;
|
|
1225
|
+
};
|
|
1226
|
+
type MessageTransactionNftTransfer = {
|
|
1227
|
+
kind: "nft_transfer";
|
|
1228
|
+
recipientUserId: string;
|
|
1229
|
+
collectionAddress: string;
|
|
1230
|
+
tokenId: string;
|
|
1231
|
+
amount: string;
|
|
1232
|
+
itemName: string | null;
|
|
1233
|
+
};
|
|
1082
1234
|
type GroupThreadSummary = {
|
|
1083
1235
|
kind: "group";
|
|
1084
1236
|
id: string;
|
|
@@ -1125,6 +1277,7 @@ type MessageItem = {
|
|
|
1125
1277
|
id: string;
|
|
1126
1278
|
threadId: string;
|
|
1127
1279
|
senderUserId: string;
|
|
1280
|
+
transaction?: MessageTransactionTronTransfer | MessageTransactionNftTransfer | null;
|
|
1128
1281
|
body: string;
|
|
1129
1282
|
envelope?: MessageEnvelope;
|
|
1130
1283
|
sentAt: string;
|
|
@@ -1336,11 +1489,45 @@ type InventoryHolding = {
|
|
|
1336
1489
|
tokenId: string;
|
|
1337
1490
|
amount: string;
|
|
1338
1491
|
name: string | null;
|
|
1492
|
+
description: string | null;
|
|
1339
1493
|
imageAssetId: string | null;
|
|
1340
1494
|
bannerAssetId: string | null;
|
|
1341
1495
|
devMetadata: {
|
|
1342
1496
|
[key: string]: unknown;
|
|
1343
1497
|
};
|
|
1498
|
+
appId: string | null;
|
|
1499
|
+
appName: string | null;
|
|
1500
|
+
appLogoUrl: string | null;
|
|
1501
|
+
};
|
|
1502
|
+
type InventoryPendingPermitListResponse = {
|
|
1503
|
+
permits: Array<InventoryPendingPermit>;
|
|
1504
|
+
};
|
|
1505
|
+
type InventoryPendingPermit = {
|
|
1506
|
+
id: string;
|
|
1507
|
+
appId: string;
|
|
1508
|
+
itemId: string;
|
|
1509
|
+
amount: string;
|
|
1510
|
+
priceCents: number | null;
|
|
1511
|
+
gasSponsored: boolean;
|
|
1512
|
+
environment: "development" | "production";
|
|
1513
|
+
createdAt: string;
|
|
1514
|
+
tokenId: string;
|
|
1515
|
+
name: string | null;
|
|
1516
|
+
description: string | null;
|
|
1517
|
+
imageAssetId: string | null;
|
|
1518
|
+
chain: string;
|
|
1519
|
+
collectionAddress: string;
|
|
1520
|
+
kind: "erc721" | "erc1155";
|
|
1521
|
+
};
|
|
1522
|
+
type InventoryPermitRedeemResult = {
|
|
1523
|
+
mint: MintRequestResult;
|
|
1524
|
+
charge: {
|
|
1525
|
+
currency: "tron";
|
|
1526
|
+
gasCents: number;
|
|
1527
|
+
priceCents: number;
|
|
1528
|
+
totalCents: number;
|
|
1529
|
+
gasPaidBy: "user" | "developer";
|
|
1530
|
+
};
|
|
1344
1531
|
};
|
|
1345
1532
|
type MintRequestResult = {
|
|
1346
1533
|
mintRequestId: string;
|
|
@@ -1356,6 +1543,247 @@ type MintRequestInput = {
|
|
|
1356
1543
|
tokenId?: string;
|
|
1357
1544
|
amount?: string;
|
|
1358
1545
|
};
|
|
1546
|
+
type InventoryCollectionListResponse = {
|
|
1547
|
+
collections: Array<InventoryCollectionSummary>;
|
|
1548
|
+
};
|
|
1549
|
+
type InventoryCollectionSummary = {
|
|
1550
|
+
id: string;
|
|
1551
|
+
chain: string;
|
|
1552
|
+
collectionAddress: string;
|
|
1553
|
+
kind: "erc721" | "erc1155";
|
|
1554
|
+
name: string | null;
|
|
1555
|
+
environment: "development" | "production";
|
|
1556
|
+
};
|
|
1557
|
+
type InventoryRegistrationQuote = {
|
|
1558
|
+
itemCount: number;
|
|
1559
|
+
baselineUsdCents: number;
|
|
1560
|
+
gasUsdCents: number;
|
|
1561
|
+
tron: {
|
|
1562
|
+
baselineCents: number;
|
|
1563
|
+
gasCents: number;
|
|
1564
|
+
totalCents: number;
|
|
1565
|
+
};
|
|
1566
|
+
eth: {
|
|
1567
|
+
baselineWei: string;
|
|
1568
|
+
gasWei: string;
|
|
1569
|
+
totalWei: string;
|
|
1570
|
+
};
|
|
1571
|
+
};
|
|
1572
|
+
type InventoryItemRegistrationInput = {
|
|
1573
|
+
collectionAddress: string;
|
|
1574
|
+
chain: string;
|
|
1575
|
+
items: Array<InventoryItemRegistrationSpec>;
|
|
1576
|
+
};
|
|
1577
|
+
type InventoryItemRegistrationSpec = {
|
|
1578
|
+
name?: string | null;
|
|
1579
|
+
description?: string | null;
|
|
1580
|
+
devMetadata?: {
|
|
1581
|
+
[key: string]: unknown;
|
|
1582
|
+
};
|
|
1583
|
+
supplyType?: InventorySupplyType;
|
|
1584
|
+
maxSupply?: string | null;
|
|
1585
|
+
active?: boolean;
|
|
1586
|
+
};
|
|
1587
|
+
type InventorySupplyType = "capped" | "flexible" | "unlimited";
|
|
1588
|
+
type InventoryItemRegistrationResult = {
|
|
1589
|
+
items: Array<InventoryItemRecord>;
|
|
1590
|
+
charge: {
|
|
1591
|
+
currency: "tron";
|
|
1592
|
+
amountCents: number;
|
|
1593
|
+
baselineCents: number;
|
|
1594
|
+
gasCents: number;
|
|
1595
|
+
addItemTxHash: string;
|
|
1596
|
+
};
|
|
1597
|
+
};
|
|
1598
|
+
type InventoryItemRecord = {
|
|
1599
|
+
id: string;
|
|
1600
|
+
collectionId: string;
|
|
1601
|
+
collectionAddress: string;
|
|
1602
|
+
chain: string;
|
|
1603
|
+
kind: "erc721" | "erc1155";
|
|
1604
|
+
tokenId: string;
|
|
1605
|
+
name: string | null;
|
|
1606
|
+
description: string | null;
|
|
1607
|
+
imageAssetId: string | null;
|
|
1608
|
+
bannerAssetId: string | null;
|
|
1609
|
+
devMetadata: {
|
|
1610
|
+
[key: string]: unknown;
|
|
1611
|
+
};
|
|
1612
|
+
supplyType: InventorySupplyType | null;
|
|
1613
|
+
maxSupply: string | null;
|
|
1614
|
+
active: boolean;
|
|
1615
|
+
};
|
|
1616
|
+
type InventoryItemListResponse = {
|
|
1617
|
+
items: Array<InventoryItemRecord>;
|
|
1618
|
+
};
|
|
1619
|
+
type InventoryMintPermitRecord = {
|
|
1620
|
+
id: string;
|
|
1621
|
+
appId: string;
|
|
1622
|
+
itemId: string;
|
|
1623
|
+
userId: string;
|
|
1624
|
+
amount: string;
|
|
1625
|
+
priceCents: number | null;
|
|
1626
|
+
gasSponsored: boolean;
|
|
1627
|
+
status: "pending" | "redeemed" | "revoked";
|
|
1628
|
+
createdAt: string;
|
|
1629
|
+
};
|
|
1630
|
+
type InventoryMintPermitCreateInput = {
|
|
1631
|
+
toUserId: string;
|
|
1632
|
+
amount?: string;
|
|
1633
|
+
priceCents?: number | null;
|
|
1634
|
+
gasSponsored?: boolean;
|
|
1635
|
+
};
|
|
1636
|
+
type InventoryItemHoldersResponse = {
|
|
1637
|
+
stats: InventoryItemStats;
|
|
1638
|
+
holders: Array<InventoryItemHolder>;
|
|
1639
|
+
};
|
|
1640
|
+
type InventoryItemStats = {
|
|
1641
|
+
holderCount: number;
|
|
1642
|
+
walletCount: number;
|
|
1643
|
+
totalHeld: string;
|
|
1644
|
+
};
|
|
1645
|
+
type InventoryItemHolder = {
|
|
1646
|
+
walletAddress: string;
|
|
1647
|
+
userId: string | null;
|
|
1648
|
+
amount: string;
|
|
1649
|
+
};
|
|
1650
|
+
type InventoryVaultPermitRecord = {
|
|
1651
|
+
id: string;
|
|
1652
|
+
appId: string;
|
|
1653
|
+
itemId: string;
|
|
1654
|
+
userId: string;
|
|
1655
|
+
direction: "vault_in" | "withdraw";
|
|
1656
|
+
lockKind: "vault" | "burn" | null;
|
|
1657
|
+
amount: string;
|
|
1658
|
+
gasSponsored: boolean;
|
|
1659
|
+
status: "pending" | "redeemed" | "revoked";
|
|
1660
|
+
custodyId: string | null;
|
|
1661
|
+
createdAt: string;
|
|
1662
|
+
};
|
|
1663
|
+
type InventoryVaultPermitCreateInput = {
|
|
1664
|
+
toUserId: string;
|
|
1665
|
+
lockKind: "vault" | "burn";
|
|
1666
|
+
amount?: string;
|
|
1667
|
+
gasSponsored?: boolean;
|
|
1668
|
+
};
|
|
1669
|
+
type InventoryWithdrawPermitCreateInput = {
|
|
1670
|
+
custodyId: string;
|
|
1671
|
+
};
|
|
1672
|
+
type InventoryPendingVaultPermitListResponse = {
|
|
1673
|
+
permits: Array<InventoryPendingVaultPermit>;
|
|
1674
|
+
};
|
|
1675
|
+
type InventoryPendingVaultPermit = {
|
|
1676
|
+
id: string;
|
|
1677
|
+
appId: string;
|
|
1678
|
+
itemId: string;
|
|
1679
|
+
direction: "vault_in" | "withdraw";
|
|
1680
|
+
lockKind: "vault" | "burn" | null;
|
|
1681
|
+
amount: string;
|
|
1682
|
+
gasSponsored: boolean;
|
|
1683
|
+
environment: "development" | "production";
|
|
1684
|
+
custodyId: string | null;
|
|
1685
|
+
createdAt: string;
|
|
1686
|
+
tokenId: string;
|
|
1687
|
+
name: string | null;
|
|
1688
|
+
description: string | null;
|
|
1689
|
+
imageAssetId: string | null;
|
|
1690
|
+
chain: string;
|
|
1691
|
+
collectionAddress: string;
|
|
1692
|
+
kind: "erc721" | "erc1155";
|
|
1693
|
+
};
|
|
1694
|
+
type InventorySignedVaultPermit = {
|
|
1695
|
+
permitId: string;
|
|
1696
|
+
direction: "vault_in" | "withdraw";
|
|
1697
|
+
vault: string;
|
|
1698
|
+
collection: string;
|
|
1699
|
+
user: string;
|
|
1700
|
+
tokenId: string;
|
|
1701
|
+
amount: string;
|
|
1702
|
+
lockKind: "vault" | "burn" | null;
|
|
1703
|
+
destination: string | null;
|
|
1704
|
+
deadline: number;
|
|
1705
|
+
signature: string;
|
|
1706
|
+
};
|
|
1707
|
+
type InventoryRelayedVaultQuoteResponse = {
|
|
1708
|
+
direction: "vault_in" | "withdraw";
|
|
1709
|
+
collection: string;
|
|
1710
|
+
vault: string;
|
|
1711
|
+
chainId: number;
|
|
1712
|
+
user: string;
|
|
1713
|
+
tokenId: string;
|
|
1714
|
+
amount: string;
|
|
1715
|
+
nonce: string | null;
|
|
1716
|
+
deadline: number;
|
|
1717
|
+
feeCents: number;
|
|
1718
|
+
gasWei: string;
|
|
1719
|
+
gasPaidBy: "developer" | "user";
|
|
1720
|
+
requiresUserSignature: boolean;
|
|
1721
|
+
};
|
|
1722
|
+
type InventoryRelayedVaultSubmitResponse = {
|
|
1723
|
+
ok: boolean;
|
|
1724
|
+
txHash: string;
|
|
1725
|
+
chargedCents: number;
|
|
1726
|
+
gasPaidBy: "developer" | "user";
|
|
1727
|
+
};
|
|
1728
|
+
type InventoryRelayedVaultSubmitRequest = {
|
|
1729
|
+
userSignature?: string;
|
|
1730
|
+
deadline?: number;
|
|
1731
|
+
};
|
|
1732
|
+
type InventoryNftTransferQuoteResponse = {
|
|
1733
|
+
collection: string;
|
|
1734
|
+
chainId: number;
|
|
1735
|
+
from: string;
|
|
1736
|
+
to: string;
|
|
1737
|
+
tokenId: string;
|
|
1738
|
+
amount: string;
|
|
1739
|
+
nonce: string;
|
|
1740
|
+
deadline: number;
|
|
1741
|
+
feeCents: number;
|
|
1742
|
+
gasWei: string;
|
|
1743
|
+
selfPayAvailable: boolean;
|
|
1744
|
+
};
|
|
1745
|
+
type InventoryNftTransferQuoteRequest = {
|
|
1746
|
+
toUserId: string;
|
|
1747
|
+
collection: string;
|
|
1748
|
+
tokenId: string;
|
|
1749
|
+
amount?: string;
|
|
1750
|
+
};
|
|
1751
|
+
type InventoryNftTransferResponse = {
|
|
1752
|
+
ok: boolean;
|
|
1753
|
+
txHash: string;
|
|
1754
|
+
chargedCents: number;
|
|
1755
|
+
};
|
|
1756
|
+
type InventoryNftTransferRequest = {
|
|
1757
|
+
toUserId: string;
|
|
1758
|
+
collection: string;
|
|
1759
|
+
tokenId: string;
|
|
1760
|
+
amount?: string;
|
|
1761
|
+
deadline: number;
|
|
1762
|
+
userSignature: string;
|
|
1763
|
+
threadId?: string;
|
|
1764
|
+
};
|
|
1765
|
+
type InventoryVaultCustodyListResponse = {
|
|
1766
|
+
custody: Array<InventoryVaultCustody>;
|
|
1767
|
+
};
|
|
1768
|
+
type InventoryVaultCustody = {
|
|
1769
|
+
id: string;
|
|
1770
|
+
collectionId: string;
|
|
1771
|
+
collectionAddress: string;
|
|
1772
|
+
chain: string;
|
|
1773
|
+
kind: "erc721" | "erc1155";
|
|
1774
|
+
tokenId: string;
|
|
1775
|
+
amount: string;
|
|
1776
|
+
lockKind: "vault" | "burn";
|
|
1777
|
+
vaultAddress: string;
|
|
1778
|
+
createdAt: string;
|
|
1779
|
+
name: string | null;
|
|
1780
|
+
description: string | null;
|
|
1781
|
+
imageAssetId: string | null;
|
|
1782
|
+
};
|
|
1783
|
+
type InventoryVaultForceWithdrawResponse = {
|
|
1784
|
+
ok: boolean;
|
|
1785
|
+
txHash: string;
|
|
1786
|
+
};
|
|
1359
1787
|
type NotificationListResponse = {
|
|
1360
1788
|
notifications: Array<NotificationItem>;
|
|
1361
1789
|
unreadCount: number;
|
|
@@ -1523,7 +1951,7 @@ type ProfileRecentReview = {
|
|
|
1523
1951
|
appId: string;
|
|
1524
1952
|
appName: string;
|
|
1525
1953
|
appLogoUrl: string | null;
|
|
1526
|
-
|
|
1954
|
+
recommended: boolean;
|
|
1527
1955
|
body: string;
|
|
1528
1956
|
createdAt: string;
|
|
1529
1957
|
};
|
|
@@ -2438,6 +2866,12 @@ declare function listDevelopers(context: TransportContext, input: {
|
|
|
2438
2866
|
readonly bearer: string;
|
|
2439
2867
|
}): Promise<AdminDeveloperListResponse>;
|
|
2440
2868
|
//#endregion
|
|
2869
|
+
//#region src/admin/inventory-vault.d.ts
|
|
2870
|
+
declare function forceWithdrawVaultCustody(context: TransportContext, input: {
|
|
2871
|
+
readonly bearer: string;
|
|
2872
|
+
readonly custodyId: string;
|
|
2873
|
+
}): Promise<InventoryVaultForceWithdrawResponse>;
|
|
2874
|
+
//#endregion
|
|
2441
2875
|
//#region src/admin/payments.d.ts
|
|
2442
2876
|
declare function getPlatformFees(context: TransportContext, input: {
|
|
2443
2877
|
readonly bearer: string;
|
|
@@ -2600,6 +3034,41 @@ declare function deleteMyGameReview(context: TransportContext, input: {
|
|
|
2600
3034
|
readonly slug: string;
|
|
2601
3035
|
readonly bearer: string;
|
|
2602
3036
|
}): Promise<MyReviewResponse>;
|
|
3037
|
+
declare function getMyGameReviewReactions(context: TransportContext, input: {
|
|
3038
|
+
readonly slug: string;
|
|
3039
|
+
readonly bearer: string;
|
|
3040
|
+
}): Promise<MyReviewReactionsResponse>;
|
|
3041
|
+
declare function setMyGameReviewReaction(context: TransportContext, input: {
|
|
3042
|
+
readonly slug: string;
|
|
3043
|
+
readonly reviewId: string;
|
|
3044
|
+
readonly bearer: string;
|
|
3045
|
+
readonly reaction: SetReviewReactionRequest;
|
|
3046
|
+
}): Promise<SetReviewReactionResponse>;
|
|
3047
|
+
declare function tipGameReview(context: TransportContext, input: {
|
|
3048
|
+
readonly slug: string;
|
|
3049
|
+
readonly reviewId: string;
|
|
3050
|
+
readonly bearer: string;
|
|
3051
|
+
readonly tip: TipReviewRequest;
|
|
3052
|
+
readonly idempotencyKey?: string;
|
|
3053
|
+
}): Promise<TipReviewResponse>;
|
|
3054
|
+
declare function listGameReviewComments(context: TransportContext, input: {
|
|
3055
|
+
readonly slug: string;
|
|
3056
|
+
readonly reviewId: string;
|
|
3057
|
+
readonly bearer?: string;
|
|
3058
|
+
readonly limit?: number;
|
|
3059
|
+
readonly offset?: number;
|
|
3060
|
+
}): Promise<ReviewCommentListResponse>;
|
|
3061
|
+
declare function commentOnGameReview(context: TransportContext, input: {
|
|
3062
|
+
readonly slug: string;
|
|
3063
|
+
readonly reviewId: string;
|
|
3064
|
+
readonly bearer: string;
|
|
3065
|
+
readonly comment: CreateReviewCommentRequest;
|
|
3066
|
+
}): Promise<CreateReviewCommentResponse>;
|
|
3067
|
+
declare function deleteGameReviewComment(context: TransportContext, input: {
|
|
3068
|
+
readonly slug: string;
|
|
3069
|
+
readonly commentId: string;
|
|
3070
|
+
readonly bearer: string;
|
|
3071
|
+
}): Promise<DeleteReviewCommentResponse>;
|
|
2603
3072
|
declare function replyToGameReview(context: TransportContext, input: {
|
|
2604
3073
|
readonly appId: string;
|
|
2605
3074
|
readonly reviewId: string;
|
|
@@ -2822,6 +3291,53 @@ declare function updateDeveloperAppContentReportStatus(context: TransportContext
|
|
|
2822
3291
|
readonly status: "acknowledged" | "dismissed";
|
|
2823
3292
|
}): Promise<AppContentReport>;
|
|
2824
3293
|
//#endregion
|
|
3294
|
+
//#region src/developer/inventory.d.ts
|
|
3295
|
+
declare function quoteDeveloperAppInventoryRegistration(context: TransportContext, input: {
|
|
3296
|
+
readonly bearer: string;
|
|
3297
|
+
readonly appId: string;
|
|
3298
|
+
readonly registration: InventoryItemRegistrationInput;
|
|
3299
|
+
}): Promise<InventoryRegistrationQuote>;
|
|
3300
|
+
declare function registerDeveloperAppInventoryItem(context: TransportContext, input: {
|
|
3301
|
+
readonly bearer: string;
|
|
3302
|
+
readonly appId: string;
|
|
3303
|
+
readonly registration: InventoryItemRegistrationInput;
|
|
3304
|
+
}): Promise<InventoryItemRegistrationResult>;
|
|
3305
|
+
declare function listDeveloperAppInventoryCollections(context: TransportContext, input: {
|
|
3306
|
+
readonly bearer: string;
|
|
3307
|
+
readonly appId: string;
|
|
3308
|
+
}): Promise<InventoryCollectionListResponse>;
|
|
3309
|
+
declare function listDeveloperAppInventoryItems(context: TransportContext, input: {
|
|
3310
|
+
readonly bearer: string;
|
|
3311
|
+
readonly appId: string;
|
|
3312
|
+
}): Promise<InventoryItemListResponse>;
|
|
3313
|
+
declare function createDeveloperAppMintPermit(context: TransportContext, input: {
|
|
3314
|
+
readonly bearer: string;
|
|
3315
|
+
readonly appId: string;
|
|
3316
|
+
readonly itemId: string;
|
|
3317
|
+
readonly grant: InventoryMintPermitCreateInput;
|
|
3318
|
+
}): Promise<InventoryMintPermitRecord>;
|
|
3319
|
+
declare function getDeveloperAppInventoryItemHolders(context: TransportContext, input: {
|
|
3320
|
+
readonly bearer: string;
|
|
3321
|
+
readonly appId: string;
|
|
3322
|
+
readonly itemId: string;
|
|
3323
|
+
}): Promise<InventoryItemHoldersResponse>;
|
|
3324
|
+
declare function uploadDeveloperAppInventoryItemImage(context: TransportContext, input: {
|
|
3325
|
+
readonly bearer: string;
|
|
3326
|
+
readonly appId: string;
|
|
3327
|
+
readonly itemId: string;
|
|
3328
|
+
readonly file: Blob | ArrayBufferView | ArrayBuffer;
|
|
3329
|
+
readonly filename: string;
|
|
3330
|
+
readonly contentType: string;
|
|
3331
|
+
}): Promise<InventoryItemRecord>;
|
|
3332
|
+
declare function uploadDeveloperAppInventoryItemBanner(context: TransportContext, input: {
|
|
3333
|
+
readonly bearer: string;
|
|
3334
|
+
readonly appId: string;
|
|
3335
|
+
readonly itemId: string;
|
|
3336
|
+
readonly file: Blob | ArrayBufferView | ArrayBuffer;
|
|
3337
|
+
readonly filename: string;
|
|
3338
|
+
readonly contentType: string;
|
|
3339
|
+
}): Promise<InventoryItemRecord>;
|
|
3340
|
+
//#endregion
|
|
2825
3341
|
//#region src/developer/pages.d.ts
|
|
2826
3342
|
declare function getDeveloperAppPage(context: TransportContext, input: {
|
|
2827
3343
|
readonly bearer: string;
|
|
@@ -2946,6 +3462,20 @@ declare function uploadMultipart(context: TransportContext, input: {
|
|
|
2946
3462
|
readonly contentType: string;
|
|
2947
3463
|
}): Promise<unknown>;
|
|
2948
3464
|
//#endregion
|
|
3465
|
+
//#region src/developer/vault.d.ts
|
|
3466
|
+
declare function createDeveloperVaultPermit(context: TransportContext, input: {
|
|
3467
|
+
readonly bearer: string;
|
|
3468
|
+
readonly appId: string;
|
|
3469
|
+
readonly itemId: string;
|
|
3470
|
+
readonly grant: InventoryVaultPermitCreateInput;
|
|
3471
|
+
}): Promise<InventoryVaultPermitRecord>;
|
|
3472
|
+
declare function createDeveloperWithdrawPermit(context: TransportContext, input: {
|
|
3473
|
+
readonly bearer: string;
|
|
3474
|
+
readonly appId: string;
|
|
3475
|
+
readonly itemId: string;
|
|
3476
|
+
readonly grant: InventoryWithdrawPermitCreateInput;
|
|
3477
|
+
}): Promise<InventoryVaultPermitRecord>;
|
|
3478
|
+
//#endregion
|
|
2949
3479
|
//#region src/inventory/list.d.ts
|
|
2950
3480
|
declare function listInventory(context: TransportContext, input: {
|
|
2951
3481
|
readonly bearer: string;
|
|
@@ -2954,12 +3484,55 @@ declare function listInventoryForApp(context: TransportContext, input: {
|
|
|
2954
3484
|
readonly bearer: string;
|
|
2955
3485
|
}): Promise<InventoryListResponse>;
|
|
2956
3486
|
//#endregion
|
|
3487
|
+
//#region src/inventory/nft-transfer.d.ts
|
|
3488
|
+
declare function quoteNftTransfer(context: TransportContext, input: {
|
|
3489
|
+
readonly bearer: string;
|
|
3490
|
+
readonly body: InventoryNftTransferQuoteRequest;
|
|
3491
|
+
}): Promise<InventoryNftTransferQuoteResponse>;
|
|
3492
|
+
declare function executeNftTransfer(context: TransportContext, input: {
|
|
3493
|
+
readonly bearer: string;
|
|
3494
|
+
readonly body: InventoryNftTransferRequest;
|
|
3495
|
+
}): Promise<InventoryNftTransferResponse>;
|
|
3496
|
+
//#endregion
|
|
3497
|
+
//#region src/inventory/permits.d.ts
|
|
3498
|
+
declare function listInventoryMintPermits(context: TransportContext, input: {
|
|
3499
|
+
readonly bearer: string;
|
|
3500
|
+
}): Promise<InventoryPendingPermitListResponse>;
|
|
3501
|
+
declare function redeemInventoryMintPermit(context: TransportContext, input: {
|
|
3502
|
+
readonly bearer: string;
|
|
3503
|
+
readonly permitId: string;
|
|
3504
|
+
}): Promise<InventoryPermitRedeemResult>;
|
|
3505
|
+
//#endregion
|
|
2957
3506
|
//#region src/inventory/request-mint.d.ts
|
|
2958
3507
|
declare function requestMint(context: TransportContext, input: {
|
|
2959
3508
|
readonly appBearer: string;
|
|
2960
3509
|
readonly body: MintRequestInput;
|
|
2961
3510
|
}): Promise<MintRequestResult>;
|
|
2962
3511
|
//#endregion
|
|
3512
|
+
//#region src/inventory/vault.d.ts
|
|
3513
|
+
declare function listInventoryVaultPermits(context: TransportContext, input: {
|
|
3514
|
+
readonly bearer: string;
|
|
3515
|
+
}): Promise<InventoryPendingVaultPermitListResponse>;
|
|
3516
|
+
declare function signInventoryVaultPermit(context: TransportContext, input: {
|
|
3517
|
+
readonly bearer: string;
|
|
3518
|
+
readonly permitId: string;
|
|
3519
|
+
}): Promise<InventorySignedVaultPermit>;
|
|
3520
|
+
declare function quoteRelayedVaultPermit(context: TransportContext, input: {
|
|
3521
|
+
readonly bearer: string;
|
|
3522
|
+
readonly permitId: string;
|
|
3523
|
+
}): Promise<InventoryRelayedVaultQuoteResponse>;
|
|
3524
|
+
declare function submitRelayedVaultPermit(context: TransportContext, input: {
|
|
3525
|
+
readonly bearer: string;
|
|
3526
|
+
readonly permitId: string;
|
|
3527
|
+
readonly body: InventoryRelayedVaultSubmitRequest;
|
|
3528
|
+
}): Promise<InventoryRelayedVaultSubmitResponse>;
|
|
3529
|
+
declare function listInventoryVaulted(context: TransportContext, input: {
|
|
3530
|
+
readonly bearer: string;
|
|
3531
|
+
}): Promise<InventoryVaultCustodyListResponse>;
|
|
3532
|
+
declare function listOauthInventoryVaulted(context: TransportContext, input: {
|
|
3533
|
+
readonly bearer: string;
|
|
3534
|
+
}): Promise<InventoryVaultCustodyListResponse>;
|
|
3535
|
+
//#endregion
|
|
2963
3536
|
//#region src/messaging/dm-key-backup.d.ts
|
|
2964
3537
|
declare function getDmKeyBackupStatus(context: TransportContext, input: {
|
|
2965
3538
|
readonly bearer: string;
|
|
@@ -3236,6 +3809,22 @@ declare function createTronDeposit(context: TransportContext, input: {
|
|
|
3236
3809
|
readonly bearer: string;
|
|
3237
3810
|
readonly body: TronDepositRequest;
|
|
3238
3811
|
}): Promise<TronDepositResponse>;
|
|
3812
|
+
declare function createTronTransfer(context: TransportContext, input: {
|
|
3813
|
+
readonly bearer: string;
|
|
3814
|
+
readonly body: TronTransferRequest;
|
|
3815
|
+
readonly idempotencyKey?: string;
|
|
3816
|
+
}): Promise<TronTransferResponse>;
|
|
3817
|
+
declare function getTronSecurity(context: TransportContext, input: {
|
|
3818
|
+
readonly bearer: string;
|
|
3819
|
+
}): Promise<TronSecuritySetting>;
|
|
3820
|
+
declare function setTronSecurity(context: TransportContext, input: {
|
|
3821
|
+
readonly bearer: string;
|
|
3822
|
+
readonly setting: TronSecuritySetting;
|
|
3823
|
+
}): Promise<TronSecuritySetting>;
|
|
3824
|
+
declare function createTronTransferChallenge(context: TransportContext, input: {
|
|
3825
|
+
readonly bearer: string;
|
|
3826
|
+
readonly body: TronTransferChallengeRequest;
|
|
3827
|
+
}): Promise<TronTransferChallengeResponse>;
|
|
3239
3828
|
declare function createTronConnectOnboarding(context: TransportContext, input: {
|
|
3240
3829
|
readonly bearer: string;
|
|
3241
3830
|
}): Promise<TronConnectOnboardingResponse>;
|
|
@@ -3372,6 +3961,10 @@ declare function sendFriendRequest(context: TransportContext, input: {
|
|
|
3372
3961
|
readonly bearer: string;
|
|
3373
3962
|
readonly userId: string;
|
|
3374
3963
|
}): Promise<void>;
|
|
3964
|
+
declare function removeFriend(context: TransportContext, input: {
|
|
3965
|
+
readonly bearer: string;
|
|
3966
|
+
readonly userId: string;
|
|
3967
|
+
}): Promise<void>;
|
|
3375
3968
|
declare function decideFriendRequest(context: TransportContext, input: {
|
|
3376
3969
|
readonly bearer: string;
|
|
3377
3970
|
readonly requestId: string;
|
|
@@ -3675,4 +4268,4 @@ type CookieTokenStoreOptions = {
|
|
|
3675
4268
|
};
|
|
3676
4269
|
declare function createCookieTokenStore(options?: CookieTokenStoreOptions): TokenStore;
|
|
3677
4270
|
//#endregion
|
|
3678
|
-
export { AuthorizeUrl, type BrowserClientConfig, BuildAuthorizeUrlInput, ChargeResult, CookieTokenStoreOptions, type FetchLike, InflightDedup, type Logger, MountPresenceWidgetOptions, NOOP_RATE_LIMITER, OauthErrorCode, OauthPaymentWebhookBody, type OauthScope, PkcePair, PresenceStatus, PresenceWidgetHandle, RateLimitOptions, RateLimiter, SERVER_RATE_LIMIT_MAX_MUTATING, SERVER_RATE_LIMIT_MAX_READ, SERVER_RATE_LIMIT_WINDOW_MS, type SdkBaseConfig, TRON_WS_CLOSE_CODES, type TokenSet, type TokenStore, TronBrowserClient, TronError, TronOauthError, TronWsCloseCode, TronWsCloseError, VerifyWebhookFailure, VerifyWebhookInput, VerifyWebhookResult, VerifyWebhookSuccess, WEBHOOK_SIGNATURE_HEADER, WEBHOOK_TIMESTAMP_HEADER, acceptDeveloperInvite, addAdmin, addAppealBlacklist, addReaction, approveTronCashout, batchThreadDmKeys, bindReferral, buildAuthorizeUrl, cancelFriendRequest, charge, completePaymentIntent, consolidateDeveloperAppWallet, createConsoleLogger, createCookieTokenStore, createDelegation, createDeveloperApiKey, createDeveloperApp, createDirectThread, createInMemoryTokenStore, createInflightDedup, createNoopLogger, createRateLimiter, createReferralCode, createTronCashout, createTronConnectOnboarding, createTronDeposit, decideFriendRequest, declineDeveloperInvite, defaultEndpoints, deleteAppPageBanner, deleteAppPageThumbnail, deleteAppPageThumbnailVideo, deleteAvatar, deleteDelegation, deleteDeveloperApp, deleteDeveloperAppLogo, deleteDeveloperProfileLogo, deleteDeveloperRequestLogo, deleteGameReviewReply, deleteMessage, deleteMyGameReview, deleteThread, deleteThreadLogo, denyPaymentIntent, editMessage, exchangeAuthorizationCode, fetchAuthorizationServerMetadata, fetchUserInfo, fileAppeal, fileAppealPotLeg, followUser, generatePkce, generateState, getActivity, getActivityGroup, getAdminAppealRoom, getAppFeeConfig, getAppPage, getAppPageChanges, getAppealRoom, getDelegation, getDeveloperAppActivity, getDeveloperAppBalances, getDeveloperAppEarnings, getDeveloperAppOverview, getDeveloperAppPage, getDeveloperAppPlaytime, getDeveloperAppTronBalance, getDeveloperAppWallets, getDeveloperPaymentAppeals, getDeveloperPaymentPendingDeposits, getDeveloperStatus, getDeveloperTronBalanceSummary, getDmKeyBackupStatus, getEarningsTimeseries, getIntentStatus, getLibrary, getMeStats, getMoonpayAvailability, getMyDmKey, getMyGameReview, getOutstanding, getPaymentChains, getPaymentHistory, getPaymentIntent, getPaymentLimits, getPaymentPrice, getPlatformFees, getPlaytime, getPlaytimeTimeseries, getPublicProfile, getReferral, getThreadDmKey, getTronBalance, hideAppPage, hideThread, inviteDeveloperAppParticipant, inviteParticipants, leaveThread, listActivePlayers, listAdmins, listAppPages, listAppealBlacklist, listAppealQueue, listAudit, listDeveloperApiKeys, listDeveloperAppContentReports, listDeveloperAppParticipants, listDeveloperAppReviews, listDeveloperInvites, listDeveloperRequests, listDevelopers, listFriends, listGameReviews, listInventory, listInventoryForApp, listNotifications, listPaymentAuthorizations, listSocials, listThreadMessages, listThreads, listTronCashoutQueue, listTronCashouts, listTronLedger, listUsers, listWalletManager, listWallets, markAllNotificationsRead, markThreadRead, mintMoonpayBuyUrl, mintMoonpaySellUrl, mountPresenceWidget, oauthPaymentWebhookBodySchema, pinThread, postAdminAppealRoomMessage, postAppealRoomMessage, previewReferral, provisionDeveloperAppWallet, publishDmKey, refreshAccessToken, rejectTronCashout, removeAdmin, removeAppealBlacklist, removeParticipant, removeReaction, replyToGameReview, requestDeveloperAppProduction, requestMint, resolveAppeal, reviewAppPage, reviewAppPageChanges, reviewDeveloperRequest, revokeDeveloperApiKey, revokeDeveloperAppParticipant, revokePaymentAuthorization, revokeToken, rotateDeveloperAppKey, rotateDeveloperAppPaymentWebhookSecret, rotateProcessorTreasury, searchGiphy, searchUsers, sendFriendRequest, sendMessage, sendPresenceHeartbeat, setProcessorWhitelist, setVaultOperator, setVaultPause, setVaultWithdrawLockDefault, setVaultWithdrawLockOverride, setupDmKeyBackup, sha256Base64Url, signPaymentIntent, submitAppContentReport, submitAppPageForReview, submitDeveloperRequest, toTokenSet, unfollowUser, unhideAppPage, unlockDmKeyBackup, unpinThread, unpublishAppPage, updateAdminRole, updateAppFeeConfig, updateAppPage, updateDeveloperApp, updateDeveloperAppAutoSweep, updateDeveloperAppContentReportStatus, updateDeveloperProfile, updateNotification, updateParticipantRole, updatePaymentAuthorization, updatePlatformFees, updateProfile, updateThreadSettings, updateUserBan, updateWalletLabel, uploadAdminAppealRoomAttachment, uploadAppPageBanner, uploadAppPageGallery, uploadAppPageThumbnail, uploadAppPageThumbnailVideo, uploadAppealRoomAttachment, uploadAttachment, uploadAvatar, uploadDeveloperAppLogo, uploadDeveloperProfileLogo, uploadDeveloperRequestLogo, uploadMultipart, uploadThreadLogo, upsertMyGameReview, verifyWebhook, withdrawDeveloperAppWallet };
|
|
4271
|
+
export { AuthorizeUrl, type BrowserClientConfig, BuildAuthorizeUrlInput, ChargeResult, CookieTokenStoreOptions, type FetchLike, InflightDedup, type Logger, MountPresenceWidgetOptions, NOOP_RATE_LIMITER, OauthErrorCode, OauthPaymentWebhookBody, type OauthScope, PkcePair, PresenceStatus, PresenceWidgetHandle, RateLimitOptions, RateLimiter, SERVER_RATE_LIMIT_MAX_MUTATING, SERVER_RATE_LIMIT_MAX_READ, SERVER_RATE_LIMIT_WINDOW_MS, type SdkBaseConfig, TRON_WS_CLOSE_CODES, type TokenSet, type TokenStore, TronBrowserClient, TronError, TronOauthError, TronWsCloseCode, TronWsCloseError, VerifyWebhookFailure, VerifyWebhookInput, VerifyWebhookResult, VerifyWebhookSuccess, WEBHOOK_SIGNATURE_HEADER, WEBHOOK_TIMESTAMP_HEADER, acceptDeveloperInvite, addAdmin, addAppealBlacklist, addReaction, approveTronCashout, batchThreadDmKeys, bindReferral, buildAuthorizeUrl, cancelFriendRequest, charge, commentOnGameReview, completePaymentIntent, consolidateDeveloperAppWallet, createConsoleLogger, createCookieTokenStore, createDelegation, createDeveloperApiKey, createDeveloperApp, createDeveloperAppMintPermit, createDeveloperVaultPermit, createDeveloperWithdrawPermit, createDirectThread, createInMemoryTokenStore, createInflightDedup, createNoopLogger, createRateLimiter, createReferralCode, createTronCashout, createTronConnectOnboarding, createTronDeposit, createTronTransfer, createTronTransferChallenge, decideFriendRequest, declineDeveloperInvite, defaultEndpoints, deleteAppPageBanner, deleteAppPageThumbnail, deleteAppPageThumbnailVideo, deleteAvatar, deleteDelegation, deleteDeveloperApp, deleteDeveloperAppLogo, deleteDeveloperProfileLogo, deleteDeveloperRequestLogo, deleteGameReviewComment, deleteGameReviewReply, deleteMessage, deleteMyGameReview, deleteThread, deleteThreadLogo, denyPaymentIntent, editMessage, exchangeAuthorizationCode, executeNftTransfer, fetchAuthorizationServerMetadata, fetchUserInfo, fileAppeal, fileAppealPotLeg, followUser, forceWithdrawVaultCustody, generatePkce, generateState, getActivity, getActivityGroup, getAdminAppealRoom, getAppFeeConfig, getAppPage, getAppPageChanges, getAppealRoom, getDelegation, getDeveloperAppActivity, getDeveloperAppBalances, getDeveloperAppEarnings, getDeveloperAppInventoryItemHolders, getDeveloperAppOverview, getDeveloperAppPage, getDeveloperAppPlaytime, getDeveloperAppTronBalance, getDeveloperAppWallets, getDeveloperPaymentAppeals, getDeveloperPaymentPendingDeposits, getDeveloperStatus, getDeveloperTronBalanceSummary, getDmKeyBackupStatus, getEarningsTimeseries, getIntentStatus, getLibrary, getMeStats, getMoonpayAvailability, getMyDmKey, getMyGameReview, getMyGameReviewReactions, getOutstanding, getPaymentChains, getPaymentHistory, getPaymentIntent, getPaymentLimits, getPaymentPrice, getPlatformFees, getPlaytime, getPlaytimeTimeseries, getPublicProfile, getReferral, getThreadDmKey, getTronBalance, getTronSecurity, hideAppPage, hideThread, inviteDeveloperAppParticipant, inviteParticipants, leaveThread, listActivePlayers, listAdmins, listAppPages, listAppealBlacklist, listAppealQueue, listAudit, listDeveloperApiKeys, listDeveloperAppContentReports, listDeveloperAppInventoryCollections, listDeveloperAppInventoryItems, listDeveloperAppParticipants, listDeveloperAppReviews, listDeveloperInvites, listDeveloperRequests, listDevelopers, listFriends, listGameReviewComments, listGameReviews, listInventory, listInventoryForApp, listInventoryMintPermits, listInventoryVaultPermits, listInventoryVaulted, listNotifications, listOauthInventoryVaulted, listPaymentAuthorizations, listSocials, listThreadMessages, listThreads, listTronCashoutQueue, listTronCashouts, listTronLedger, listUsers, listWalletManager, listWallets, markAllNotificationsRead, markThreadRead, mintMoonpayBuyUrl, mintMoonpaySellUrl, mountPresenceWidget, oauthPaymentWebhookBodySchema, pinThread, postAdminAppealRoomMessage, postAppealRoomMessage, previewReferral, provisionDeveloperAppWallet, publishDmKey, quoteDeveloperAppInventoryRegistration, quoteNftTransfer, quoteRelayedVaultPermit, redeemInventoryMintPermit, refreshAccessToken, registerDeveloperAppInventoryItem, rejectTronCashout, removeAdmin, removeAppealBlacklist, removeFriend, removeParticipant, removeReaction, replyToGameReview, requestDeveloperAppProduction, requestMint, resolveAppeal, reviewAppPage, reviewAppPageChanges, reviewDeveloperRequest, revokeDeveloperApiKey, revokeDeveloperAppParticipant, revokePaymentAuthorization, revokeToken, rotateDeveloperAppKey, rotateDeveloperAppPaymentWebhookSecret, rotateProcessorTreasury, searchGiphy, searchUsers, sendFriendRequest, sendMessage, sendPresenceHeartbeat, setMyGameReviewReaction, setProcessorWhitelist, setTronSecurity, setVaultOperator, setVaultPause, setVaultWithdrawLockDefault, setVaultWithdrawLockOverride, setupDmKeyBackup, sha256Base64Url, signInventoryVaultPermit, signPaymentIntent, submitAppContentReport, submitAppPageForReview, submitDeveloperRequest, submitRelayedVaultPermit, tipGameReview, toTokenSet, unfollowUser, unhideAppPage, unlockDmKeyBackup, unpinThread, unpublishAppPage, updateAdminRole, updateAppFeeConfig, updateAppPage, updateDeveloperApp, updateDeveloperAppAutoSweep, updateDeveloperAppContentReportStatus, updateDeveloperProfile, updateNotification, updateParticipantRole, updatePaymentAuthorization, updatePlatformFees, updateProfile, updateThreadSettings, updateUserBan, updateWalletLabel, uploadAdminAppealRoomAttachment, uploadAppPageBanner, uploadAppPageGallery, uploadAppPageThumbnail, uploadAppPageThumbnailVideo, uploadAppealRoomAttachment, uploadAttachment, uploadAvatar, uploadDeveloperAppInventoryItemBanner, uploadDeveloperAppInventoryItemImage, uploadDeveloperAppLogo, uploadDeveloperProfileLogo, uploadDeveloperRequestLogo, uploadMultipart, uploadThreadLogo, upsertMyGameReview, verifyWebhook, withdrawDeveloperAppWallet };
|