@metatrongg/sdk 0.8.0-dev.e892968 → 0.8.0-dev.f0ab15b
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 +639 -19
- package/dist/browser/index.js +1 -1
- package/dist/contracts/index.d.ts +7994 -3513
- package/dist/contracts/index.js +1 -1
- package/dist/index.js +1 -1
- package/dist/node/index.d.ts +689 -19
- package/dist/node/index.js +1 -1
- package/dist/webhook/express.js +1 -1
- package/dist/webhook/fastify.js +1 -1
- package/dist/webhook/hono.js +1 -1
- package/dist/webhook/index.js +1 -1
- package/package.json +2 -1
package/dist/browser/index.d.ts
CHANGED
|
@@ -127,7 +127,9 @@ type OauthErrorResponse = {
|
|
|
127
127
|
type OauthUserInfoResponse = {
|
|
128
128
|
sub: string;
|
|
129
129
|
name: string | null;
|
|
130
|
+
preferred_username: string | null;
|
|
130
131
|
picture: string | null;
|
|
132
|
+
wallet_address: string | null;
|
|
131
133
|
};
|
|
132
134
|
type OauthPaymentChargeResponse = ({
|
|
133
135
|
status: "completed";
|
|
@@ -246,6 +248,7 @@ type OauthPaymentIntentContext = {
|
|
|
246
248
|
studioXHandle: string | null;
|
|
247
249
|
};
|
|
248
250
|
} | null;
|
|
251
|
+
environment: "development" | "production";
|
|
249
252
|
};
|
|
250
253
|
type OauthPaymentIntentSignResponse = {
|
|
251
254
|
chain: string;
|
|
@@ -334,9 +337,16 @@ type PublicAppPage = {
|
|
|
334
337
|
chapters: AppPageChapters;
|
|
335
338
|
links: AppPageLinks;
|
|
336
339
|
studio: PublicAppPageStudio;
|
|
340
|
+
platforms: AppPagePlatforms;
|
|
341
|
+
gameType: AppPageGameType;
|
|
342
|
+
ageRating: AppPageAgeRating;
|
|
343
|
+
languages: AppPageLanguages;
|
|
344
|
+
releaseStatus: AppPageReleaseStatus;
|
|
345
|
+
paymentsMode: AppPagePaymentsMode;
|
|
337
346
|
oauthScopes: Array<string>;
|
|
338
347
|
chains: Array<string>;
|
|
339
348
|
publishedAt: string;
|
|
349
|
+
updatedAt: string;
|
|
340
350
|
};
|
|
341
351
|
type AppPageCategories = Array<"adventure" | "battle_royale" | "board" | "cards" | "casino" | "casual" | "fighting" | "idle" | "mmo" | "moba" | "platformer" | "prediction" | "puzzle" | "racing" | "rhythm" | "roguelike" | "rpg" | "rts" | "sandbox" | "shooter" | "simulation" | "sports" | "strategy" | "survival" | "tools" | "tower_defense" | "visual_novel" | "other">;
|
|
342
352
|
type AppPageTagline = string;
|
|
@@ -359,12 +369,19 @@ type AppPageLink = {
|
|
|
359
369
|
order: number;
|
|
360
370
|
};
|
|
361
371
|
type PublicAppPageStudio = {
|
|
372
|
+
ownerUserId: string | null;
|
|
362
373
|
name: string | null;
|
|
363
374
|
logoUrl: string | null;
|
|
364
375
|
websiteUrl: string | null;
|
|
365
376
|
xHandle: string | null;
|
|
366
377
|
githubUrl: string | null;
|
|
367
378
|
};
|
|
379
|
+
type AppPagePlatforms = Array<"web" | "ios" | "android" | "pc" | "playstation" | "xbox" | "switch">;
|
|
380
|
+
type AppPageGameType = "single_player" | "multiplayer" | "both" | null;
|
|
381
|
+
type AppPageAgeRating = "everyone" | "13_plus" | "16_plus" | "18_plus" | null;
|
|
382
|
+
type AppPageLanguages = Array<"en" | "es" | "fr" | "de" | "pt" | "it" | "ru" | "ja" | "ko" | "zh" | "hi" | "ar" | "tr" | "vi" | "id" | "th" | "pl" | "nl">;
|
|
383
|
+
type AppPageReleaseStatus = "live" | "open_beta" | "coming_soon";
|
|
384
|
+
type AppPagePaymentsMode = "tron" | "onchain" | "both" | null;
|
|
368
385
|
type ReviewListResponse = {
|
|
369
386
|
aggregate: ReviewAggregate;
|
|
370
387
|
reviews: Array<Review>;
|
|
@@ -372,38 +389,49 @@ type ReviewListResponse = {
|
|
|
372
389
|
hasMore: boolean;
|
|
373
390
|
};
|
|
374
391
|
type ReviewAggregate = {
|
|
375
|
-
average: number | null;
|
|
376
392
|
count: number;
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
1: number;
|
|
381
|
-
2: number;
|
|
382
|
-
3: number;
|
|
383
|
-
4: number;
|
|
384
|
-
5: number;
|
|
393
|
+
recommendedCount: number;
|
|
394
|
+
recommendedPct: number | null;
|
|
395
|
+
summaryLabel: ReviewSummaryLabel;
|
|
385
396
|
};
|
|
397
|
+
type ReviewSummaryLabel = "overwhelmingly_positive" | "very_positive" | "positive" | "mostly_positive" | "mixed" | "mostly_negative" | "negative" | "overwhelmingly_negative" | null;
|
|
386
398
|
type Review = {
|
|
387
399
|
id: string;
|
|
388
|
-
|
|
400
|
+
recommended: ReviewRecommended;
|
|
389
401
|
body: ReviewBody;
|
|
402
|
+
reactions: ReviewReactionCounts;
|
|
403
|
+
tippedCents: number;
|
|
404
|
+
commentCount: number;
|
|
390
405
|
author: ReviewAuthor;
|
|
406
|
+
authorStats: ReviewerStats;
|
|
391
407
|
developerReply: ReviewReply;
|
|
392
408
|
createdAt: string;
|
|
393
409
|
updatedAt: string;
|
|
394
410
|
};
|
|
395
|
-
type
|
|
411
|
+
type ReviewRecommended = boolean;
|
|
396
412
|
type ReviewBody = string;
|
|
413
|
+
type ReviewReactionCounts = {
|
|
414
|
+
helpful: number;
|
|
415
|
+
unhelpful: number;
|
|
416
|
+
funny: number;
|
|
417
|
+
};
|
|
397
418
|
type ReviewAuthor = {
|
|
419
|
+
userId: string;
|
|
420
|
+
handle: string | null;
|
|
398
421
|
name: string | null;
|
|
399
422
|
avatarUrl: string | null;
|
|
400
423
|
};
|
|
424
|
+
type ReviewerStats = {
|
|
425
|
+
playtimeSecondsThisGame: number;
|
|
426
|
+
gamesPlayed: number;
|
|
427
|
+
reviewsWritten: number;
|
|
428
|
+
};
|
|
401
429
|
type ReviewReply = {
|
|
402
430
|
body: ReviewReplyBody;
|
|
403
431
|
repliedAt: string;
|
|
404
432
|
} | null;
|
|
405
433
|
type ReviewReplyBody = string;
|
|
406
|
-
type ReviewSort = "newest" | "oldest" | "
|
|
434
|
+
type ReviewSort = "newest" | "oldest" | "helpful";
|
|
407
435
|
type MyReviewResponse = {
|
|
408
436
|
eligible: boolean;
|
|
409
437
|
eligibleVia: ReviewEligibilityReason;
|
|
@@ -413,15 +441,67 @@ type MyReviewResponse = {
|
|
|
413
441
|
type ReviewEligibilityReason = "payment" | "reward" | null;
|
|
414
442
|
type OwnReview = {
|
|
415
443
|
id: string;
|
|
416
|
-
|
|
444
|
+
recommended: ReviewRecommended;
|
|
417
445
|
body: ReviewBody;
|
|
418
446
|
createdAt: string;
|
|
419
447
|
updatedAt: string;
|
|
420
448
|
} | null;
|
|
421
449
|
type UpsertReviewRequest = {
|
|
422
|
-
|
|
450
|
+
recommended: ReviewRecommended;
|
|
423
451
|
body: ReviewBody;
|
|
424
452
|
};
|
|
453
|
+
type MyReviewReactionsResponse = {
|
|
454
|
+
reactions: Array<MyReviewReaction>;
|
|
455
|
+
};
|
|
456
|
+
type MyReviewReaction = {
|
|
457
|
+
reviewId: string;
|
|
458
|
+
vote: ReviewVote;
|
|
459
|
+
funny: boolean;
|
|
460
|
+
};
|
|
461
|
+
type ReviewVote = "helpful" | "unhelpful" | null;
|
|
462
|
+
type SetReviewReactionResponse = {
|
|
463
|
+
reactions: ReviewReactionCounts;
|
|
464
|
+
vote: ReviewVote;
|
|
465
|
+
funny: boolean;
|
|
466
|
+
};
|
|
467
|
+
type SetReviewReactionRequest = {
|
|
468
|
+
vote: ReviewVote;
|
|
469
|
+
funny: boolean;
|
|
470
|
+
};
|
|
471
|
+
type TipReviewResponse = {
|
|
472
|
+
status: "completed";
|
|
473
|
+
amountCents: number;
|
|
474
|
+
balanceCents: number;
|
|
475
|
+
tippedCents: number;
|
|
476
|
+
};
|
|
477
|
+
type TipReviewRequest = {
|
|
478
|
+
amountCents: number;
|
|
479
|
+
note?: string;
|
|
480
|
+
challengeId?: string;
|
|
481
|
+
signature?: string;
|
|
482
|
+
};
|
|
483
|
+
type ReviewCommentListResponse = {
|
|
484
|
+
comments: Array<ReviewComment>;
|
|
485
|
+
total: number;
|
|
486
|
+
hasMore: boolean;
|
|
487
|
+
};
|
|
488
|
+
type ReviewComment = {
|
|
489
|
+
id: string;
|
|
490
|
+
body: ReviewCommentBody;
|
|
491
|
+
author: ReviewAuthor;
|
|
492
|
+
createdAt: string;
|
|
493
|
+
};
|
|
494
|
+
type ReviewCommentBody = string;
|
|
495
|
+
type CreateReviewCommentResponse = {
|
|
496
|
+
comment: ReviewComment;
|
|
497
|
+
commentCount: number;
|
|
498
|
+
};
|
|
499
|
+
type CreateReviewCommentRequest = {
|
|
500
|
+
body: ReviewCommentBody;
|
|
501
|
+
};
|
|
502
|
+
type DeleteReviewCommentResponse = {
|
|
503
|
+
commentCount: number;
|
|
504
|
+
};
|
|
425
505
|
type ReviewReplyResponse = {
|
|
426
506
|
developerReply: ReviewReply;
|
|
427
507
|
};
|
|
@@ -526,8 +606,12 @@ type ActivityRow = ({
|
|
|
526
606
|
} & ActivityRowTronPot) | ({
|
|
527
607
|
kind: "tron_cashout";
|
|
528
608
|
} & ActivityRowTronCashout) | ({
|
|
609
|
+
kind: "tron_transfer";
|
|
610
|
+
} & ActivityRowTronTransfer) | ({
|
|
529
611
|
kind: "referral_earning";
|
|
530
|
-
} & ActivityRowReferralEarning)
|
|
612
|
+
} & ActivityRowReferralEarning) | ({
|
|
613
|
+
kind: "nft_charge";
|
|
614
|
+
} & ActivityRowNftCharge);
|
|
531
615
|
type ActivityRowPayment = {
|
|
532
616
|
kind: "payment";
|
|
533
617
|
groupId: string | null;
|
|
@@ -809,6 +893,20 @@ type ActivityRowTronCashout = {
|
|
|
809
893
|
rejectionReason: string | null;
|
|
810
894
|
settledAt: string | null;
|
|
811
895
|
};
|
|
896
|
+
type ActivityRowTronTransfer = {
|
|
897
|
+
kind: "tron_transfer";
|
|
898
|
+
groupId: string | null;
|
|
899
|
+
id: string;
|
|
900
|
+
occurredAt: string;
|
|
901
|
+
role: "incoming" | "outgoing";
|
|
902
|
+
amountCents: number;
|
|
903
|
+
usdCents: number;
|
|
904
|
+
status: "settled";
|
|
905
|
+
counterpartyUserId: string | null;
|
|
906
|
+
counterpartyHandle: string | null;
|
|
907
|
+
counterpartyDisplayName: string | null;
|
|
908
|
+
note: string | null;
|
|
909
|
+
};
|
|
812
910
|
type ActivityRowReferralEarning = {
|
|
813
911
|
kind: "referral_earning";
|
|
814
912
|
groupId: string | null;
|
|
@@ -825,6 +923,22 @@ type ActivityRowReferralEarning = {
|
|
|
825
923
|
logIndex: number;
|
|
826
924
|
usdCents: number | null;
|
|
827
925
|
};
|
|
926
|
+
type ActivityRowNftCharge = {
|
|
927
|
+
kind: "nft_charge";
|
|
928
|
+
groupId: string | null;
|
|
929
|
+
id: string;
|
|
930
|
+
occurredAt: string;
|
|
931
|
+
role: "outgoing";
|
|
932
|
+
chargeKind: "registration" | "mint" | "transfer_gas";
|
|
933
|
+
amountCents: number;
|
|
934
|
+
usdCents: number;
|
|
935
|
+
status: "settled";
|
|
936
|
+
collectionAddress: string | null;
|
|
937
|
+
tokenId: string | null;
|
|
938
|
+
counterpartyUserId: string | null;
|
|
939
|
+
counterpartyHandle: string | null;
|
|
940
|
+
counterpartyDisplayName: string | null;
|
|
941
|
+
};
|
|
828
942
|
type OutstandingResponse = {
|
|
829
943
|
rows: Array<OutstandingByToken>;
|
|
830
944
|
};
|
|
@@ -874,7 +988,7 @@ type TronLedgerResponse = {
|
|
|
874
988
|
};
|
|
875
989
|
type TronLedgerEntry = {
|
|
876
990
|
id: string;
|
|
877
|
-
kind: "deposit" | "pot_stake" | "pot_payout" | "dev_earning" | "cashout_hold" | "cashout_release" | "dispute_freeze" | "dispute_unfreeze" | "hosted_billing" | "store_purchase" | "referral_earning";
|
|
991
|
+
kind: "deposit" | "pot_stake" | "pot_payout" | "dev_earning" | "cashout_hold" | "cashout_release" | "dispute_freeze" | "dispute_unfreeze" | "hosted_billing" | "store_purchase" | "referral_earning" | "peer_transfer" | "nft_registration" | "nft_mint" | "nft_gas";
|
|
878
992
|
amountCents: number;
|
|
879
993
|
currency: string;
|
|
880
994
|
createdAt: string;
|
|
@@ -889,6 +1003,45 @@ type TronDepositResponse = {
|
|
|
889
1003
|
type TronDepositRequest = {
|
|
890
1004
|
amountCents: number;
|
|
891
1005
|
};
|
|
1006
|
+
type TronTransferResponse = {
|
|
1007
|
+
status: "completed";
|
|
1008
|
+
amountCents: number;
|
|
1009
|
+
balanceCents: number;
|
|
1010
|
+
recipient: {
|
|
1011
|
+
userId: string;
|
|
1012
|
+
handle: string | null;
|
|
1013
|
+
displayName: string | null;
|
|
1014
|
+
};
|
|
1015
|
+
};
|
|
1016
|
+
type TronTransferRequest = {
|
|
1017
|
+
recipientUserId: string;
|
|
1018
|
+
amountCents: number;
|
|
1019
|
+
note?: string;
|
|
1020
|
+
challengeId?: string;
|
|
1021
|
+
signature?: string;
|
|
1022
|
+
threadId?: string;
|
|
1023
|
+
};
|
|
1024
|
+
type TronSecuritySetting = {
|
|
1025
|
+
requireSignature: boolean;
|
|
1026
|
+
};
|
|
1027
|
+
type TronTransferChallengeResponse = ({
|
|
1028
|
+
required: false;
|
|
1029
|
+
} & TronTransferChallengeNotRequired) | ({
|
|
1030
|
+
required: true;
|
|
1031
|
+
} & TronTransferChallengeRequired);
|
|
1032
|
+
type TronTransferChallengeNotRequired = {
|
|
1033
|
+
required: false;
|
|
1034
|
+
};
|
|
1035
|
+
type TronTransferChallengeRequired = {
|
|
1036
|
+
required: true;
|
|
1037
|
+
challengeId: string;
|
|
1038
|
+
message: string;
|
|
1039
|
+
expiresAt: string;
|
|
1040
|
+
};
|
|
1041
|
+
type TronTransferChallengeRequest = {
|
|
1042
|
+
recipientUserId: string;
|
|
1043
|
+
amountCents: number;
|
|
1044
|
+
};
|
|
892
1045
|
type TronConnectOnboardingResponse = {
|
|
893
1046
|
url: string;
|
|
894
1047
|
};
|
|
@@ -1055,6 +1208,7 @@ type ThreadLastMessagePreview = {
|
|
|
1055
1208
|
url: string;
|
|
1056
1209
|
count: number;
|
|
1057
1210
|
} | null;
|
|
1211
|
+
transaction?: MessageTransactionTronTransfer | MessageTransactionNftTransfer | null;
|
|
1058
1212
|
sentAt: string;
|
|
1059
1213
|
} | null;
|
|
1060
1214
|
type MessageEnvelope = {
|
|
@@ -1066,6 +1220,20 @@ type MessageEnvelope = {
|
|
|
1066
1220
|
iv: string;
|
|
1067
1221
|
ct: string;
|
|
1068
1222
|
} | null;
|
|
1223
|
+
type MessageTransactionTronTransfer = {
|
|
1224
|
+
kind: "tron_transfer";
|
|
1225
|
+
amountCents: number;
|
|
1226
|
+
recipientUserId: string;
|
|
1227
|
+
};
|
|
1228
|
+
type MessageTransactionNftTransfer = {
|
|
1229
|
+
kind: "nft_transfer";
|
|
1230
|
+
recipientUserId: string;
|
|
1231
|
+
collectionAddress: string;
|
|
1232
|
+
tokenId: string;
|
|
1233
|
+
amount: string;
|
|
1234
|
+
itemName: string | null;
|
|
1235
|
+
imageAssetId?: string | null;
|
|
1236
|
+
};
|
|
1069
1237
|
type GroupThreadSummary = {
|
|
1070
1238
|
kind: "group";
|
|
1071
1239
|
id: string;
|
|
@@ -1112,6 +1280,7 @@ type MessageItem = {
|
|
|
1112
1280
|
id: string;
|
|
1113
1281
|
threadId: string;
|
|
1114
1282
|
senderUserId: string;
|
|
1283
|
+
transaction?: MessageTransactionTronTransfer | MessageTransactionNftTransfer | null;
|
|
1115
1284
|
body: string;
|
|
1116
1285
|
envelope?: MessageEnvelope;
|
|
1117
1286
|
sentAt: string;
|
|
@@ -1323,11 +1492,45 @@ type InventoryHolding = {
|
|
|
1323
1492
|
tokenId: string;
|
|
1324
1493
|
amount: string;
|
|
1325
1494
|
name: string | null;
|
|
1495
|
+
description: string | null;
|
|
1326
1496
|
imageAssetId: string | null;
|
|
1327
1497
|
bannerAssetId: string | null;
|
|
1328
1498
|
devMetadata: {
|
|
1329
1499
|
[key: string]: unknown;
|
|
1330
1500
|
};
|
|
1501
|
+
appId: string | null;
|
|
1502
|
+
appName: string | null;
|
|
1503
|
+
appLogoUrl: string | null;
|
|
1504
|
+
};
|
|
1505
|
+
type InventoryPendingPermitListResponse = {
|
|
1506
|
+
permits: Array<InventoryPendingPermit>;
|
|
1507
|
+
};
|
|
1508
|
+
type InventoryPendingPermit = {
|
|
1509
|
+
id: string;
|
|
1510
|
+
appId: string;
|
|
1511
|
+
itemId: string;
|
|
1512
|
+
amount: string;
|
|
1513
|
+
priceCents: number | null;
|
|
1514
|
+
gasSponsored: boolean;
|
|
1515
|
+
environment: "development" | "production";
|
|
1516
|
+
createdAt: string;
|
|
1517
|
+
tokenId: string;
|
|
1518
|
+
name: string | null;
|
|
1519
|
+
description: string | null;
|
|
1520
|
+
imageAssetId: string | null;
|
|
1521
|
+
chain: string;
|
|
1522
|
+
collectionAddress: string;
|
|
1523
|
+
kind: "erc721" | "erc1155";
|
|
1524
|
+
};
|
|
1525
|
+
type InventoryPermitRedeemResult = {
|
|
1526
|
+
mint: MintRequestResult;
|
|
1527
|
+
charge: {
|
|
1528
|
+
currency: "tron";
|
|
1529
|
+
gasCents: number;
|
|
1530
|
+
priceCents: number;
|
|
1531
|
+
totalCents: number;
|
|
1532
|
+
gasPaidBy: "user" | "developer";
|
|
1533
|
+
};
|
|
1331
1534
|
};
|
|
1332
1535
|
type MintRequestResult = {
|
|
1333
1536
|
mintRequestId: string;
|
|
@@ -1343,6 +1546,247 @@ type MintRequestInput = {
|
|
|
1343
1546
|
tokenId?: string;
|
|
1344
1547
|
amount?: string;
|
|
1345
1548
|
};
|
|
1549
|
+
type InventoryCollectionListResponse = {
|
|
1550
|
+
collections: Array<InventoryCollectionSummary>;
|
|
1551
|
+
};
|
|
1552
|
+
type InventoryCollectionSummary = {
|
|
1553
|
+
id: string;
|
|
1554
|
+
chain: string;
|
|
1555
|
+
collectionAddress: string;
|
|
1556
|
+
kind: "erc721" | "erc1155";
|
|
1557
|
+
name: string | null;
|
|
1558
|
+
environment: "development" | "production";
|
|
1559
|
+
};
|
|
1560
|
+
type InventoryRegistrationQuote = {
|
|
1561
|
+
itemCount: number;
|
|
1562
|
+
baselineUsdCents: number;
|
|
1563
|
+
gasUsdCents: number;
|
|
1564
|
+
tron: {
|
|
1565
|
+
baselineCents: number;
|
|
1566
|
+
gasCents: number;
|
|
1567
|
+
totalCents: number;
|
|
1568
|
+
};
|
|
1569
|
+
eth: {
|
|
1570
|
+
baselineWei: string;
|
|
1571
|
+
gasWei: string;
|
|
1572
|
+
totalWei: string;
|
|
1573
|
+
};
|
|
1574
|
+
};
|
|
1575
|
+
type InventoryItemRegistrationInput = {
|
|
1576
|
+
collectionAddress: string;
|
|
1577
|
+
chain: string;
|
|
1578
|
+
items: Array<InventoryItemRegistrationSpec>;
|
|
1579
|
+
};
|
|
1580
|
+
type InventoryItemRegistrationSpec = {
|
|
1581
|
+
name?: string | null;
|
|
1582
|
+
description?: string | null;
|
|
1583
|
+
devMetadata?: {
|
|
1584
|
+
[key: string]: unknown;
|
|
1585
|
+
};
|
|
1586
|
+
supplyType?: InventorySupplyType;
|
|
1587
|
+
maxSupply?: string | null;
|
|
1588
|
+
active?: boolean;
|
|
1589
|
+
};
|
|
1590
|
+
type InventorySupplyType = "capped" | "flexible" | "unlimited";
|
|
1591
|
+
type InventoryItemRegistrationResult = {
|
|
1592
|
+
items: Array<InventoryItemRecord>;
|
|
1593
|
+
charge: {
|
|
1594
|
+
currency: "tron";
|
|
1595
|
+
amountCents: number;
|
|
1596
|
+
baselineCents: number;
|
|
1597
|
+
gasCents: number;
|
|
1598
|
+
addItemTxHash: string;
|
|
1599
|
+
};
|
|
1600
|
+
};
|
|
1601
|
+
type InventoryItemRecord = {
|
|
1602
|
+
id: string;
|
|
1603
|
+
collectionId: string;
|
|
1604
|
+
collectionAddress: string;
|
|
1605
|
+
chain: string;
|
|
1606
|
+
kind: "erc721" | "erc1155";
|
|
1607
|
+
tokenId: string;
|
|
1608
|
+
name: string | null;
|
|
1609
|
+
description: string | null;
|
|
1610
|
+
imageAssetId: string | null;
|
|
1611
|
+
bannerAssetId: string | null;
|
|
1612
|
+
devMetadata: {
|
|
1613
|
+
[key: string]: unknown;
|
|
1614
|
+
};
|
|
1615
|
+
supplyType: InventorySupplyType | null;
|
|
1616
|
+
maxSupply: string | null;
|
|
1617
|
+
active: boolean;
|
|
1618
|
+
};
|
|
1619
|
+
type InventoryItemListResponse = {
|
|
1620
|
+
items: Array<InventoryItemRecord>;
|
|
1621
|
+
};
|
|
1622
|
+
type InventoryMintPermitRecord = {
|
|
1623
|
+
id: string;
|
|
1624
|
+
appId: string;
|
|
1625
|
+
itemId: string;
|
|
1626
|
+
userId: string;
|
|
1627
|
+
amount: string;
|
|
1628
|
+
priceCents: number | null;
|
|
1629
|
+
gasSponsored: boolean;
|
|
1630
|
+
status: "pending" | "redeemed" | "revoked";
|
|
1631
|
+
createdAt: string;
|
|
1632
|
+
};
|
|
1633
|
+
type InventoryMintPermitCreateInput = {
|
|
1634
|
+
toUserId: string;
|
|
1635
|
+
amount?: string;
|
|
1636
|
+
priceCents?: number | null;
|
|
1637
|
+
gasSponsored?: boolean;
|
|
1638
|
+
};
|
|
1639
|
+
type InventoryItemHoldersResponse = {
|
|
1640
|
+
stats: InventoryItemStats;
|
|
1641
|
+
holders: Array<InventoryItemHolder>;
|
|
1642
|
+
};
|
|
1643
|
+
type InventoryItemStats = {
|
|
1644
|
+
holderCount: number;
|
|
1645
|
+
walletCount: number;
|
|
1646
|
+
totalHeld: string;
|
|
1647
|
+
};
|
|
1648
|
+
type InventoryItemHolder = {
|
|
1649
|
+
walletAddress: string;
|
|
1650
|
+
userId: string | null;
|
|
1651
|
+
amount: string;
|
|
1652
|
+
};
|
|
1653
|
+
type InventoryVaultPermitRecord = {
|
|
1654
|
+
id: string;
|
|
1655
|
+
appId: string;
|
|
1656
|
+
itemId: string;
|
|
1657
|
+
userId: string;
|
|
1658
|
+
direction: "vault_in" | "withdraw";
|
|
1659
|
+
lockKind: "vault" | "burn" | null;
|
|
1660
|
+
amount: string;
|
|
1661
|
+
gasSponsored: boolean;
|
|
1662
|
+
status: "pending" | "redeemed" | "revoked";
|
|
1663
|
+
custodyId: string | null;
|
|
1664
|
+
createdAt: string;
|
|
1665
|
+
};
|
|
1666
|
+
type InventoryVaultPermitCreateInput = {
|
|
1667
|
+
toUserId: string;
|
|
1668
|
+
lockKind: "vault" | "burn";
|
|
1669
|
+
amount?: string;
|
|
1670
|
+
gasSponsored?: boolean;
|
|
1671
|
+
};
|
|
1672
|
+
type InventoryWithdrawPermitCreateInput = {
|
|
1673
|
+
custodyId: string;
|
|
1674
|
+
};
|
|
1675
|
+
type InventoryPendingVaultPermitListResponse = {
|
|
1676
|
+
permits: Array<InventoryPendingVaultPermit>;
|
|
1677
|
+
};
|
|
1678
|
+
type InventoryPendingVaultPermit = {
|
|
1679
|
+
id: string;
|
|
1680
|
+
appId: string;
|
|
1681
|
+
itemId: string;
|
|
1682
|
+
direction: "vault_in" | "withdraw";
|
|
1683
|
+
lockKind: "vault" | "burn" | null;
|
|
1684
|
+
amount: string;
|
|
1685
|
+
gasSponsored: boolean;
|
|
1686
|
+
environment: "development" | "production";
|
|
1687
|
+
custodyId: string | null;
|
|
1688
|
+
createdAt: string;
|
|
1689
|
+
tokenId: string;
|
|
1690
|
+
name: string | null;
|
|
1691
|
+
description: string | null;
|
|
1692
|
+
imageAssetId: string | null;
|
|
1693
|
+
chain: string;
|
|
1694
|
+
collectionAddress: string;
|
|
1695
|
+
kind: "erc721" | "erc1155";
|
|
1696
|
+
};
|
|
1697
|
+
type InventorySignedVaultPermit = {
|
|
1698
|
+
permitId: string;
|
|
1699
|
+
direction: "vault_in" | "withdraw";
|
|
1700
|
+
vault: string;
|
|
1701
|
+
collection: string;
|
|
1702
|
+
user: string;
|
|
1703
|
+
tokenId: string;
|
|
1704
|
+
amount: string;
|
|
1705
|
+
lockKind: "vault" | "burn" | null;
|
|
1706
|
+
destination: string | null;
|
|
1707
|
+
deadline: number;
|
|
1708
|
+
signature: string;
|
|
1709
|
+
};
|
|
1710
|
+
type InventoryRelayedVaultQuoteResponse = {
|
|
1711
|
+
direction: "vault_in" | "withdraw";
|
|
1712
|
+
collection: string;
|
|
1713
|
+
vault: string;
|
|
1714
|
+
chainId: number;
|
|
1715
|
+
user: string;
|
|
1716
|
+
tokenId: string;
|
|
1717
|
+
amount: string;
|
|
1718
|
+
nonce: string | null;
|
|
1719
|
+
deadline: number;
|
|
1720
|
+
feeCents: number;
|
|
1721
|
+
gasWei: string;
|
|
1722
|
+
gasPaidBy: "developer" | "user";
|
|
1723
|
+
requiresUserSignature: boolean;
|
|
1724
|
+
};
|
|
1725
|
+
type InventoryRelayedVaultSubmitResponse = {
|
|
1726
|
+
ok: boolean;
|
|
1727
|
+
txHash: string;
|
|
1728
|
+
chargedCents: number;
|
|
1729
|
+
gasPaidBy: "developer" | "user";
|
|
1730
|
+
};
|
|
1731
|
+
type InventoryRelayedVaultSubmitRequest = {
|
|
1732
|
+
userSignature?: string;
|
|
1733
|
+
deadline?: number;
|
|
1734
|
+
};
|
|
1735
|
+
type InventoryNftTransferQuoteResponse = {
|
|
1736
|
+
collection: string;
|
|
1737
|
+
chainId: number;
|
|
1738
|
+
from: string;
|
|
1739
|
+
to: string;
|
|
1740
|
+
tokenId: string;
|
|
1741
|
+
amount: string;
|
|
1742
|
+
nonce: string;
|
|
1743
|
+
deadline: number;
|
|
1744
|
+
feeCents: number;
|
|
1745
|
+
gasWei: string;
|
|
1746
|
+
selfPayAvailable: boolean;
|
|
1747
|
+
};
|
|
1748
|
+
type InventoryNftTransferQuoteRequest = {
|
|
1749
|
+
toUserId: string;
|
|
1750
|
+
collection: string;
|
|
1751
|
+
tokenId: string;
|
|
1752
|
+
amount?: string;
|
|
1753
|
+
};
|
|
1754
|
+
type InventoryNftTransferResponse = {
|
|
1755
|
+
ok: boolean;
|
|
1756
|
+
txHash: string;
|
|
1757
|
+
chargedCents: number;
|
|
1758
|
+
};
|
|
1759
|
+
type InventoryNftTransferRequest = {
|
|
1760
|
+
toUserId: string;
|
|
1761
|
+
collection: string;
|
|
1762
|
+
tokenId: string;
|
|
1763
|
+
amount?: string;
|
|
1764
|
+
deadline: number;
|
|
1765
|
+
userSignature: string;
|
|
1766
|
+
threadId?: string;
|
|
1767
|
+
};
|
|
1768
|
+
type InventoryVaultCustodyListResponse = {
|
|
1769
|
+
custody: Array<InventoryVaultCustody>;
|
|
1770
|
+
};
|
|
1771
|
+
type InventoryVaultCustody = {
|
|
1772
|
+
id: string;
|
|
1773
|
+
collectionId: string;
|
|
1774
|
+
collectionAddress: string;
|
|
1775
|
+
chain: string;
|
|
1776
|
+
kind: "erc721" | "erc1155";
|
|
1777
|
+
tokenId: string;
|
|
1778
|
+
amount: string;
|
|
1779
|
+
lockKind: "vault" | "burn";
|
|
1780
|
+
vaultAddress: string;
|
|
1781
|
+
createdAt: string;
|
|
1782
|
+
name: string | null;
|
|
1783
|
+
description: string | null;
|
|
1784
|
+
imageAssetId: string | null;
|
|
1785
|
+
};
|
|
1786
|
+
type InventoryVaultForceWithdrawResponse = {
|
|
1787
|
+
ok: boolean;
|
|
1788
|
+
txHash: string;
|
|
1789
|
+
};
|
|
1346
1790
|
type NotificationListResponse = {
|
|
1347
1791
|
notifications: Array<NotificationItem>;
|
|
1348
1792
|
unreadCount: number;
|
|
@@ -1510,7 +1954,7 @@ type ProfileRecentReview = {
|
|
|
1510
1954
|
appId: string;
|
|
1511
1955
|
appName: string;
|
|
1512
1956
|
appLogoUrl: string | null;
|
|
1513
|
-
|
|
1957
|
+
recommended: boolean;
|
|
1514
1958
|
body: string;
|
|
1515
1959
|
createdAt: string;
|
|
1516
1960
|
};
|
|
@@ -1567,6 +2011,7 @@ type CreateDeveloperAppChain = {
|
|
|
1567
2011
|
};
|
|
1568
2012
|
type UpdateDeveloperApp = {
|
|
1569
2013
|
name?: DeveloperAppName;
|
|
2014
|
+
slug?: AppPageSlug | null;
|
|
1570
2015
|
logoUrl?: string | null;
|
|
1571
2016
|
testAccess?: "private" | "public";
|
|
1572
2017
|
redirectUris?: Array<string>;
|
|
@@ -1815,6 +2260,7 @@ type DeveloperProductionRequestPayload = {
|
|
|
1815
2260
|
type DeveloperAppItem = {
|
|
1816
2261
|
id: string;
|
|
1817
2262
|
name: DeveloperAppName;
|
|
2263
|
+
slug: AppPageSlug | null;
|
|
1818
2264
|
logoUrl: string | null;
|
|
1819
2265
|
environment: "development" | "production";
|
|
1820
2266
|
productionApprovedAt: string | null;
|
|
@@ -1866,6 +2312,11 @@ type AppPageDraft = {
|
|
|
1866
2312
|
gallery: AppPageGallery;
|
|
1867
2313
|
chapters: AppPageChapters;
|
|
1868
2314
|
links: AppPageLinks;
|
|
2315
|
+
platforms: AppPagePlatforms;
|
|
2316
|
+
gameType: AppPageGameType;
|
|
2317
|
+
ageRating: AppPageAgeRating;
|
|
2318
|
+
languages: AppPageLanguages;
|
|
2319
|
+
releaseStatus: AppPageReleaseStatus;
|
|
1869
2320
|
firstPublishedAt: string | null;
|
|
1870
2321
|
reviewedAt: string | null;
|
|
1871
2322
|
reviewNotes: string | null;
|
|
@@ -1874,7 +2325,6 @@ type AppPageDraft = {
|
|
|
1874
2325
|
pendingReview: boolean;
|
|
1875
2326
|
};
|
|
1876
2327
|
type UpdateAppPage = {
|
|
1877
|
-
slug?: AppPageSlug | null;
|
|
1878
2328
|
categories?: AppPageCategories;
|
|
1879
2329
|
tagline?: AppPageTagline | null;
|
|
1880
2330
|
bannerUrl?: string | null;
|
|
@@ -1888,6 +2338,11 @@ type UpdateAppPage = {
|
|
|
1888
2338
|
gallery?: AppPageGallery;
|
|
1889
2339
|
chapters?: AppPageChapters;
|
|
1890
2340
|
links?: AppPageLinks;
|
|
2341
|
+
platforms?: AppPagePlatforms;
|
|
2342
|
+
gameType?: AppPageGameType;
|
|
2343
|
+
ageRating?: AppPageAgeRating;
|
|
2344
|
+
languages?: AppPageLanguages;
|
|
2345
|
+
releaseStatus?: AppPageReleaseStatus;
|
|
1891
2346
|
};
|
|
1892
2347
|
type AppPageGalleryUploadResponse = {
|
|
1893
2348
|
url: string;
|
|
@@ -2415,6 +2870,12 @@ declare function listDevelopers(context: TransportContext, input: {
|
|
|
2415
2870
|
readonly bearer: string;
|
|
2416
2871
|
}): Promise<AdminDeveloperListResponse>;
|
|
2417
2872
|
//#endregion
|
|
2873
|
+
//#region src/admin/inventory-vault.d.ts
|
|
2874
|
+
declare function forceWithdrawVaultCustody(context: TransportContext, input: {
|
|
2875
|
+
readonly bearer: string;
|
|
2876
|
+
readonly custodyId: string;
|
|
2877
|
+
}): Promise<InventoryVaultForceWithdrawResponse>;
|
|
2878
|
+
//#endregion
|
|
2418
2879
|
//#region src/admin/payments.d.ts
|
|
2419
2880
|
declare function getPlatformFees(context: TransportContext, input: {
|
|
2420
2881
|
readonly bearer: string;
|
|
@@ -2577,6 +3038,41 @@ declare function deleteMyGameReview(context: TransportContext, input: {
|
|
|
2577
3038
|
readonly slug: string;
|
|
2578
3039
|
readonly bearer: string;
|
|
2579
3040
|
}): Promise<MyReviewResponse>;
|
|
3041
|
+
declare function getMyGameReviewReactions(context: TransportContext, input: {
|
|
3042
|
+
readonly slug: string;
|
|
3043
|
+
readonly bearer: string;
|
|
3044
|
+
}): Promise<MyReviewReactionsResponse>;
|
|
3045
|
+
declare function setMyGameReviewReaction(context: TransportContext, input: {
|
|
3046
|
+
readonly slug: string;
|
|
3047
|
+
readonly reviewId: string;
|
|
3048
|
+
readonly bearer: string;
|
|
3049
|
+
readonly reaction: SetReviewReactionRequest;
|
|
3050
|
+
}): Promise<SetReviewReactionResponse>;
|
|
3051
|
+
declare function tipGameReview(context: TransportContext, input: {
|
|
3052
|
+
readonly slug: string;
|
|
3053
|
+
readonly reviewId: string;
|
|
3054
|
+
readonly bearer: string;
|
|
3055
|
+
readonly tip: TipReviewRequest;
|
|
3056
|
+
readonly idempotencyKey?: string;
|
|
3057
|
+
}): Promise<TipReviewResponse>;
|
|
3058
|
+
declare function listGameReviewComments(context: TransportContext, input: {
|
|
3059
|
+
readonly slug: string;
|
|
3060
|
+
readonly reviewId: string;
|
|
3061
|
+
readonly bearer?: string;
|
|
3062
|
+
readonly limit?: number;
|
|
3063
|
+
readonly offset?: number;
|
|
3064
|
+
}): Promise<ReviewCommentListResponse>;
|
|
3065
|
+
declare function commentOnGameReview(context: TransportContext, input: {
|
|
3066
|
+
readonly slug: string;
|
|
3067
|
+
readonly reviewId: string;
|
|
3068
|
+
readonly bearer: string;
|
|
3069
|
+
readonly comment: CreateReviewCommentRequest;
|
|
3070
|
+
}): Promise<CreateReviewCommentResponse>;
|
|
3071
|
+
declare function deleteGameReviewComment(context: TransportContext, input: {
|
|
3072
|
+
readonly slug: string;
|
|
3073
|
+
readonly commentId: string;
|
|
3074
|
+
readonly bearer: string;
|
|
3075
|
+
}): Promise<DeleteReviewCommentResponse>;
|
|
2580
3076
|
declare function replyToGameReview(context: TransportContext, input: {
|
|
2581
3077
|
readonly appId: string;
|
|
2582
3078
|
readonly reviewId: string;
|
|
@@ -2799,6 +3295,53 @@ declare function updateDeveloperAppContentReportStatus(context: TransportContext
|
|
|
2799
3295
|
readonly status: "acknowledged" | "dismissed";
|
|
2800
3296
|
}): Promise<AppContentReport>;
|
|
2801
3297
|
//#endregion
|
|
3298
|
+
//#region src/developer/inventory.d.ts
|
|
3299
|
+
declare function quoteDeveloperAppInventoryRegistration(context: TransportContext, input: {
|
|
3300
|
+
readonly bearer: string;
|
|
3301
|
+
readonly appId: string;
|
|
3302
|
+
readonly registration: InventoryItemRegistrationInput;
|
|
3303
|
+
}): Promise<InventoryRegistrationQuote>;
|
|
3304
|
+
declare function registerDeveloperAppInventoryItem(context: TransportContext, input: {
|
|
3305
|
+
readonly bearer: string;
|
|
3306
|
+
readonly appId: string;
|
|
3307
|
+
readonly registration: InventoryItemRegistrationInput;
|
|
3308
|
+
}): Promise<InventoryItemRegistrationResult>;
|
|
3309
|
+
declare function listDeveloperAppInventoryCollections(context: TransportContext, input: {
|
|
3310
|
+
readonly bearer: string;
|
|
3311
|
+
readonly appId: string;
|
|
3312
|
+
}): Promise<InventoryCollectionListResponse>;
|
|
3313
|
+
declare function listDeveloperAppInventoryItems(context: TransportContext, input: {
|
|
3314
|
+
readonly bearer: string;
|
|
3315
|
+
readonly appId: string;
|
|
3316
|
+
}): Promise<InventoryItemListResponse>;
|
|
3317
|
+
declare function createDeveloperAppMintPermit(context: TransportContext, input: {
|
|
3318
|
+
readonly bearer: string;
|
|
3319
|
+
readonly appId: string;
|
|
3320
|
+
readonly itemId: string;
|
|
3321
|
+
readonly grant: InventoryMintPermitCreateInput;
|
|
3322
|
+
}): Promise<InventoryMintPermitRecord>;
|
|
3323
|
+
declare function getDeveloperAppInventoryItemHolders(context: TransportContext, input: {
|
|
3324
|
+
readonly bearer: string;
|
|
3325
|
+
readonly appId: string;
|
|
3326
|
+
readonly itemId: string;
|
|
3327
|
+
}): Promise<InventoryItemHoldersResponse>;
|
|
3328
|
+
declare function uploadDeveloperAppInventoryItemImage(context: TransportContext, input: {
|
|
3329
|
+
readonly bearer: string;
|
|
3330
|
+
readonly appId: string;
|
|
3331
|
+
readonly itemId: string;
|
|
3332
|
+
readonly file: Blob | ArrayBufferView | ArrayBuffer;
|
|
3333
|
+
readonly filename: string;
|
|
3334
|
+
readonly contentType: string;
|
|
3335
|
+
}): Promise<InventoryItemRecord>;
|
|
3336
|
+
declare function uploadDeveloperAppInventoryItemBanner(context: TransportContext, input: {
|
|
3337
|
+
readonly bearer: string;
|
|
3338
|
+
readonly appId: string;
|
|
3339
|
+
readonly itemId: string;
|
|
3340
|
+
readonly file: Blob | ArrayBufferView | ArrayBuffer;
|
|
3341
|
+
readonly filename: string;
|
|
3342
|
+
readonly contentType: string;
|
|
3343
|
+
}): Promise<InventoryItemRecord>;
|
|
3344
|
+
//#endregion
|
|
2802
3345
|
//#region src/developer/pages.d.ts
|
|
2803
3346
|
declare function getDeveloperAppPage(context: TransportContext, input: {
|
|
2804
3347
|
readonly bearer: string;
|
|
@@ -2923,6 +3466,20 @@ declare function uploadMultipart(context: TransportContext, input: {
|
|
|
2923
3466
|
readonly contentType: string;
|
|
2924
3467
|
}): Promise<unknown>;
|
|
2925
3468
|
//#endregion
|
|
3469
|
+
//#region src/developer/vault.d.ts
|
|
3470
|
+
declare function createDeveloperVaultPermit(context: TransportContext, input: {
|
|
3471
|
+
readonly bearer: string;
|
|
3472
|
+
readonly appId: string;
|
|
3473
|
+
readonly itemId: string;
|
|
3474
|
+
readonly grant: InventoryVaultPermitCreateInput;
|
|
3475
|
+
}): Promise<InventoryVaultPermitRecord>;
|
|
3476
|
+
declare function createDeveloperWithdrawPermit(context: TransportContext, input: {
|
|
3477
|
+
readonly bearer: string;
|
|
3478
|
+
readonly appId: string;
|
|
3479
|
+
readonly itemId: string;
|
|
3480
|
+
readonly grant: InventoryWithdrawPermitCreateInput;
|
|
3481
|
+
}): Promise<InventoryVaultPermitRecord>;
|
|
3482
|
+
//#endregion
|
|
2926
3483
|
//#region src/inventory/list.d.ts
|
|
2927
3484
|
declare function listInventory(context: TransportContext, input: {
|
|
2928
3485
|
readonly bearer: string;
|
|
@@ -2931,12 +3488,55 @@ declare function listInventoryForApp(context: TransportContext, input: {
|
|
|
2931
3488
|
readonly bearer: string;
|
|
2932
3489
|
}): Promise<InventoryListResponse>;
|
|
2933
3490
|
//#endregion
|
|
3491
|
+
//#region src/inventory/nft-transfer.d.ts
|
|
3492
|
+
declare function quoteNftTransfer(context: TransportContext, input: {
|
|
3493
|
+
readonly bearer: string;
|
|
3494
|
+
readonly body: InventoryNftTransferQuoteRequest;
|
|
3495
|
+
}): Promise<InventoryNftTransferQuoteResponse>;
|
|
3496
|
+
declare function executeNftTransfer(context: TransportContext, input: {
|
|
3497
|
+
readonly bearer: string;
|
|
3498
|
+
readonly body: InventoryNftTransferRequest;
|
|
3499
|
+
}): Promise<InventoryNftTransferResponse>;
|
|
3500
|
+
//#endregion
|
|
3501
|
+
//#region src/inventory/permits.d.ts
|
|
3502
|
+
declare function listInventoryMintPermits(context: TransportContext, input: {
|
|
3503
|
+
readonly bearer: string;
|
|
3504
|
+
}): Promise<InventoryPendingPermitListResponse>;
|
|
3505
|
+
declare function redeemInventoryMintPermit(context: TransportContext, input: {
|
|
3506
|
+
readonly bearer: string;
|
|
3507
|
+
readonly permitId: string;
|
|
3508
|
+
}): Promise<InventoryPermitRedeemResult>;
|
|
3509
|
+
//#endregion
|
|
2934
3510
|
//#region src/inventory/request-mint.d.ts
|
|
2935
3511
|
declare function requestMint(context: TransportContext, input: {
|
|
2936
3512
|
readonly appBearer: string;
|
|
2937
3513
|
readonly body: MintRequestInput;
|
|
2938
3514
|
}): Promise<MintRequestResult>;
|
|
2939
3515
|
//#endregion
|
|
3516
|
+
//#region src/inventory/vault.d.ts
|
|
3517
|
+
declare function listInventoryVaultPermits(context: TransportContext, input: {
|
|
3518
|
+
readonly bearer: string;
|
|
3519
|
+
}): Promise<InventoryPendingVaultPermitListResponse>;
|
|
3520
|
+
declare function signInventoryVaultPermit(context: TransportContext, input: {
|
|
3521
|
+
readonly bearer: string;
|
|
3522
|
+
readonly permitId: string;
|
|
3523
|
+
}): Promise<InventorySignedVaultPermit>;
|
|
3524
|
+
declare function quoteRelayedVaultPermit(context: TransportContext, input: {
|
|
3525
|
+
readonly bearer: string;
|
|
3526
|
+
readonly permitId: string;
|
|
3527
|
+
}): Promise<InventoryRelayedVaultQuoteResponse>;
|
|
3528
|
+
declare function submitRelayedVaultPermit(context: TransportContext, input: {
|
|
3529
|
+
readonly bearer: string;
|
|
3530
|
+
readonly permitId: string;
|
|
3531
|
+
readonly body: InventoryRelayedVaultSubmitRequest;
|
|
3532
|
+
}): Promise<InventoryRelayedVaultSubmitResponse>;
|
|
3533
|
+
declare function listInventoryVaulted(context: TransportContext, input: {
|
|
3534
|
+
readonly bearer: string;
|
|
3535
|
+
}): Promise<InventoryVaultCustodyListResponse>;
|
|
3536
|
+
declare function listOauthInventoryVaulted(context: TransportContext, input: {
|
|
3537
|
+
readonly bearer: string;
|
|
3538
|
+
}): Promise<InventoryVaultCustodyListResponse>;
|
|
3539
|
+
//#endregion
|
|
2940
3540
|
//#region src/messaging/dm-key-backup.d.ts
|
|
2941
3541
|
declare function getDmKeyBackupStatus(context: TransportContext, input: {
|
|
2942
3542
|
readonly bearer: string;
|
|
@@ -3213,6 +3813,22 @@ declare function createTronDeposit(context: TransportContext, input: {
|
|
|
3213
3813
|
readonly bearer: string;
|
|
3214
3814
|
readonly body: TronDepositRequest;
|
|
3215
3815
|
}): Promise<TronDepositResponse>;
|
|
3816
|
+
declare function createTronTransfer(context: TransportContext, input: {
|
|
3817
|
+
readonly bearer: string;
|
|
3818
|
+
readonly body: TronTransferRequest;
|
|
3819
|
+
readonly idempotencyKey?: string;
|
|
3820
|
+
}): Promise<TronTransferResponse>;
|
|
3821
|
+
declare function getTronSecurity(context: TransportContext, input: {
|
|
3822
|
+
readonly bearer: string;
|
|
3823
|
+
}): Promise<TronSecuritySetting>;
|
|
3824
|
+
declare function setTronSecurity(context: TransportContext, input: {
|
|
3825
|
+
readonly bearer: string;
|
|
3826
|
+
readonly setting: TronSecuritySetting;
|
|
3827
|
+
}): Promise<TronSecuritySetting>;
|
|
3828
|
+
declare function createTronTransferChallenge(context: TransportContext, input: {
|
|
3829
|
+
readonly bearer: string;
|
|
3830
|
+
readonly body: TronTransferChallengeRequest;
|
|
3831
|
+
}): Promise<TronTransferChallengeResponse>;
|
|
3216
3832
|
declare function createTronConnectOnboarding(context: TransportContext, input: {
|
|
3217
3833
|
readonly bearer: string;
|
|
3218
3834
|
}): Promise<TronConnectOnboardingResponse>;
|
|
@@ -3349,6 +3965,10 @@ declare function sendFriendRequest(context: TransportContext, input: {
|
|
|
3349
3965
|
readonly bearer: string;
|
|
3350
3966
|
readonly userId: string;
|
|
3351
3967
|
}): Promise<void>;
|
|
3968
|
+
declare function removeFriend(context: TransportContext, input: {
|
|
3969
|
+
readonly bearer: string;
|
|
3970
|
+
readonly userId: string;
|
|
3971
|
+
}): Promise<void>;
|
|
3352
3972
|
declare function decideFriendRequest(context: TransportContext, input: {
|
|
3353
3973
|
readonly bearer: string;
|
|
3354
3974
|
readonly requestId: string;
|
|
@@ -3652,4 +4272,4 @@ type CookieTokenStoreOptions = {
|
|
|
3652
4272
|
};
|
|
3653
4273
|
declare function createCookieTokenStore(options?: CookieTokenStoreOptions): TokenStore;
|
|
3654
4274
|
//#endregion
|
|
3655
|
-
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 };
|
|
4275
|
+
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 };
|