@metatrongg/sdk 0.8.0-dev.bf445a4 → 0.8.0-dev.c6c5e97
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 +1014 -30
- package/dist/browser/index.js +1 -1
- package/dist/contracts/index.d.ts +13383 -5742
- package/dist/contracts/index.js +1 -1
- package/dist/index.js +1 -1
- package/dist/node/index.d.ts +1070 -31
- package/dist/node/index.js +1 -1
- package/dist/webhook/express.js +1 -1
- package/dist/webhook/fastify.js +1 -1
- package/dist/webhook/hono.js +1 -1
- package/dist/webhook/index.js +1 -1
- package/package.json +2 -1
package/dist/node/index.d.ts
CHANGED
|
@@ -114,7 +114,7 @@ type Username = string;
|
|
|
114
114
|
type DisplayName = string | null;
|
|
115
115
|
type Bio = string | null;
|
|
116
116
|
type WebsiteUrl = string | null;
|
|
117
|
-
type BannerVariant = "yellow" | "green" | "blue" | "white" | "black";
|
|
117
|
+
type BannerVariant = "yellow" | "green" | "blue" | "white" | "black" | "red";
|
|
118
118
|
type AdminRole = "super-admin" | "admin" | "read-only" | null;
|
|
119
119
|
type PresenceStatusMode = "auto" | "online" | "offline";
|
|
120
120
|
type PlatformEnvironment = "development" | "production";
|
|
@@ -129,7 +129,7 @@ type OauthAuthorizationServerMetadata = {
|
|
|
129
129
|
grant_types_supported: Array<"authorization_code" | "refresh_token" | "client_credentials">;
|
|
130
130
|
code_challenge_methods_supported: Array<"S256">;
|
|
131
131
|
token_endpoint_auth_methods_supported: Array<"client_secret_basic" | "client_secret_post" | "none">;
|
|
132
|
-
scopes_supported: Array<"openid" | "profile" | "payments:charge" | "inventory:read" | "developer:read" | "developer:apps" | "developer:pages">;
|
|
132
|
+
scopes_supported: Array<"openid" | "profile" | "payments:charge" | "inventory:read" | "social:read" | "developer:read" | "developer:apps" | "developer:pages">;
|
|
133
133
|
};
|
|
134
134
|
type OauthClientRegistrationResponse = {
|
|
135
135
|
client_id: string;
|
|
@@ -169,7 +169,9 @@ type OauthErrorResponse = {
|
|
|
169
169
|
type OauthUserInfoResponse = {
|
|
170
170
|
sub: string;
|
|
171
171
|
name: string | null;
|
|
172
|
+
preferred_username: string | null;
|
|
172
173
|
picture: string | null;
|
|
174
|
+
wallet_address: string | null;
|
|
173
175
|
};
|
|
174
176
|
type OauthPaymentChargeResponse = ({
|
|
175
177
|
status: "completed";
|
|
@@ -288,7 +290,16 @@ type OauthPaymentIntentContext = {
|
|
|
288
290
|
studioXHandle: string | null;
|
|
289
291
|
};
|
|
290
292
|
} | null;
|
|
293
|
+
environment: "development" | "production";
|
|
294
|
+
onramp?: {
|
|
295
|
+
kind: "bridge";
|
|
296
|
+
from: PaymentNetwork;
|
|
297
|
+
to: PaymentNetwork;
|
|
298
|
+
} | {
|
|
299
|
+
kind: "insufficient";
|
|
300
|
+
};
|
|
291
301
|
};
|
|
302
|
+
type PaymentNetwork = "ethereum" | "base" | "solana";
|
|
292
303
|
type OauthPaymentIntentSignResponse = {
|
|
293
304
|
chain: string;
|
|
294
305
|
chainId: number;
|
|
@@ -318,6 +329,13 @@ type OauthPaymentIntentCompleteSigned = {
|
|
|
318
329
|
type OauthPaymentIntentCompleteOffline = {
|
|
319
330
|
method: "offline";
|
|
320
331
|
};
|
|
332
|
+
type OauthPaymentIntentSolanaPrepareResponse = {
|
|
333
|
+
transaction: string;
|
|
334
|
+
payer: string;
|
|
335
|
+
};
|
|
336
|
+
type OauthPaymentIntentSolanaCompleteRequest = {
|
|
337
|
+
signedTransaction: string;
|
|
338
|
+
};
|
|
321
339
|
type ListAppPaymentAuthorizationsResponse = {
|
|
322
340
|
authorizations: Array<AppPaymentAuthorizationItem>;
|
|
323
341
|
};
|
|
@@ -376,9 +394,16 @@ type PublicAppPage = {
|
|
|
376
394
|
chapters: AppPageChapters;
|
|
377
395
|
links: AppPageLinks;
|
|
378
396
|
studio: PublicAppPageStudio;
|
|
397
|
+
platforms: AppPagePlatforms;
|
|
398
|
+
gameType: AppPageGameType;
|
|
399
|
+
ageRating: AppPageAgeRating;
|
|
400
|
+
languages: AppPageLanguages;
|
|
401
|
+
releaseStatus: AppPageReleaseStatus;
|
|
402
|
+
paymentsMode: AppPagePaymentsMode;
|
|
379
403
|
oauthScopes: Array<string>;
|
|
380
404
|
chains: Array<string>;
|
|
381
405
|
publishedAt: string;
|
|
406
|
+
updatedAt: string;
|
|
382
407
|
};
|
|
383
408
|
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">;
|
|
384
409
|
type AppPageTagline = string;
|
|
@@ -401,12 +426,132 @@ type AppPageLink = {
|
|
|
401
426
|
order: number;
|
|
402
427
|
};
|
|
403
428
|
type PublicAppPageStudio = {
|
|
429
|
+
ownerUserId: string | null;
|
|
404
430
|
name: string | null;
|
|
405
431
|
logoUrl: string | null;
|
|
406
432
|
websiteUrl: string | null;
|
|
407
433
|
xHandle: string | null;
|
|
408
434
|
githubUrl: string | null;
|
|
409
435
|
};
|
|
436
|
+
type AppPagePlatforms = Array<"web" | "ios" | "android" | "pc" | "playstation" | "xbox" | "switch">;
|
|
437
|
+
type AppPageGameType = "single_player" | "multiplayer" | "both" | null;
|
|
438
|
+
type AppPageAgeRating = "everyone" | "13_plus" | "16_plus" | "18_plus" | null;
|
|
439
|
+
type AppPageLanguages = Array<"en" | "es" | "fr" | "de" | "pt" | "it" | "ru" | "ja" | "ko" | "zh" | "hi" | "ar" | "tr" | "vi" | "id" | "th" | "pl" | "nl">;
|
|
440
|
+
type AppPageReleaseStatus = "live" | "open_beta" | "coming_soon";
|
|
441
|
+
type AppPagePaymentsMode = "tron" | "onchain" | "both" | null;
|
|
442
|
+
type PublicBipPage = {
|
|
443
|
+
appId: string;
|
|
444
|
+
slug: AppPageSlug;
|
|
445
|
+
appName: string;
|
|
446
|
+
appLogoUrl: string | null;
|
|
447
|
+
categories: AppPageCategories;
|
|
448
|
+
tagline: AppPageTagline;
|
|
449
|
+
bannerUrl: string | null;
|
|
450
|
+
discordUrl: string | null;
|
|
451
|
+
twitterUrl: string | null;
|
|
452
|
+
redditUrl: string | null;
|
|
453
|
+
telegramUrl: string | null;
|
|
454
|
+
gallery: AppPageGallery;
|
|
455
|
+
chapters: AppPageChapters;
|
|
456
|
+
links: AppPageLinks;
|
|
457
|
+
studio: PublicAppPageStudio;
|
|
458
|
+
platforms: AppPagePlatforms;
|
|
459
|
+
gameType: AppPageGameType;
|
|
460
|
+
ageRating: AppPageAgeRating;
|
|
461
|
+
languages: AppPageLanguages;
|
|
462
|
+
releaseStatus: AppPageReleaseStatus;
|
|
463
|
+
publishedAt: string;
|
|
464
|
+
updatedAt: string;
|
|
465
|
+
};
|
|
466
|
+
type BipUpdateListResponse = {
|
|
467
|
+
updates: Array<BipUpdate>;
|
|
468
|
+
total: number;
|
|
469
|
+
hasMore: boolean;
|
|
470
|
+
};
|
|
471
|
+
type BipUpdate = {
|
|
472
|
+
id: string;
|
|
473
|
+
appId: string;
|
|
474
|
+
body: BipUpdateBody;
|
|
475
|
+
attachments: BipUpdateAttachments;
|
|
476
|
+
reactions: BipUpdateReactionCounts;
|
|
477
|
+
commentCount: number;
|
|
478
|
+
createdAt: string;
|
|
479
|
+
updatedAt: string;
|
|
480
|
+
};
|
|
481
|
+
type BipUpdateBody = string;
|
|
482
|
+
type BipUpdateAttachments = Array<BipUpdateAttachment>;
|
|
483
|
+
type BipUpdateAttachment = {
|
|
484
|
+
url: string;
|
|
485
|
+
kind: "image" | "video";
|
|
486
|
+
order: number;
|
|
487
|
+
};
|
|
488
|
+
type BipUpdateReactionCounts = {
|
|
489
|
+
up: number;
|
|
490
|
+
down: number;
|
|
491
|
+
};
|
|
492
|
+
type BipUpdateCommentListResponse = {
|
|
493
|
+
comments: Array<BipUpdateComment>;
|
|
494
|
+
total: number;
|
|
495
|
+
hasMore: boolean;
|
|
496
|
+
};
|
|
497
|
+
type BipUpdateComment = {
|
|
498
|
+
id: string;
|
|
499
|
+
body: BipUpdateCommentBody;
|
|
500
|
+
author: ReviewAuthor;
|
|
501
|
+
createdAt: string;
|
|
502
|
+
};
|
|
503
|
+
type BipUpdateCommentBody = string;
|
|
504
|
+
type ReviewAuthor = {
|
|
505
|
+
userId: string;
|
|
506
|
+
handle: string | null;
|
|
507
|
+
name: string | null;
|
|
508
|
+
avatarUrl: string | null;
|
|
509
|
+
};
|
|
510
|
+
type BipInterestCountResponse = {
|
|
511
|
+
interestCount: number;
|
|
512
|
+
};
|
|
513
|
+
type BipEngagementResponse = {
|
|
514
|
+
interested: boolean;
|
|
515
|
+
subscribed: boolean;
|
|
516
|
+
interestCount: number;
|
|
517
|
+
};
|
|
518
|
+
type MyBipUpdateReactionsResponse = {
|
|
519
|
+
reactions: Array<MyBipUpdateReaction>;
|
|
520
|
+
};
|
|
521
|
+
type MyBipUpdateReaction = {
|
|
522
|
+
updateId: string;
|
|
523
|
+
vote: "up" | "down";
|
|
524
|
+
};
|
|
525
|
+
type SetBipUpdateReactionResponse = {
|
|
526
|
+
reactions: BipUpdateReactionCounts;
|
|
527
|
+
vote: BipUpdateVote;
|
|
528
|
+
};
|
|
529
|
+
type BipUpdateVote = "up" | "down" | null;
|
|
530
|
+
type SetBipUpdateReactionRequest = {
|
|
531
|
+
vote: BipUpdateVote;
|
|
532
|
+
};
|
|
533
|
+
type CreateBipUpdateCommentResponse = {
|
|
534
|
+
comment: BipUpdateComment;
|
|
535
|
+
commentCount: number;
|
|
536
|
+
};
|
|
537
|
+
type DeleteBipUpdateCommentResponse = {
|
|
538
|
+
commentCount: number;
|
|
539
|
+
};
|
|
540
|
+
type CreateBipUpdateRequest = {
|
|
541
|
+
body: BipUpdateBody;
|
|
542
|
+
attachments?: BipUpdateAttachments;
|
|
543
|
+
};
|
|
544
|
+
type UpdateBipUpdateRequest = {
|
|
545
|
+
body?: BipUpdateBody;
|
|
546
|
+
attachments?: BipUpdateAttachments;
|
|
547
|
+
};
|
|
548
|
+
type DeleteBipUpdateResponse = {
|
|
549
|
+
deleted: true;
|
|
550
|
+
};
|
|
551
|
+
type BipUpdateMediaUploadResponse = {
|
|
552
|
+
url: string;
|
|
553
|
+
kind: "image" | "video";
|
|
554
|
+
};
|
|
410
555
|
type ReviewListResponse = {
|
|
411
556
|
aggregate: ReviewAggregate;
|
|
412
557
|
reviews: Array<Review>;
|
|
@@ -414,38 +559,43 @@ type ReviewListResponse = {
|
|
|
414
559
|
hasMore: boolean;
|
|
415
560
|
};
|
|
416
561
|
type ReviewAggregate = {
|
|
417
|
-
average: number | null;
|
|
418
562
|
count: number;
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
1: number;
|
|
423
|
-
2: number;
|
|
424
|
-
3: number;
|
|
425
|
-
4: number;
|
|
426
|
-
5: number;
|
|
563
|
+
recommendedCount: number;
|
|
564
|
+
recommendedPct: number | null;
|
|
565
|
+
summaryLabel: ReviewSummaryLabel;
|
|
427
566
|
};
|
|
567
|
+
type ReviewSummaryLabel = "overwhelmingly_positive" | "very_positive" | "positive" | "mostly_positive" | "mixed" | "mostly_negative" | "negative" | "overwhelmingly_negative" | null;
|
|
428
568
|
type Review = {
|
|
429
569
|
id: string;
|
|
430
|
-
|
|
570
|
+
recommended: ReviewRecommended;
|
|
431
571
|
body: ReviewBody;
|
|
572
|
+
reactions: ReviewReactionCounts;
|
|
573
|
+
tippedCents: number;
|
|
574
|
+
commentCount: number;
|
|
432
575
|
author: ReviewAuthor;
|
|
576
|
+
authorStats: ReviewerStats;
|
|
433
577
|
developerReply: ReviewReply;
|
|
434
578
|
createdAt: string;
|
|
435
579
|
updatedAt: string;
|
|
436
580
|
};
|
|
437
|
-
type
|
|
581
|
+
type ReviewRecommended = boolean;
|
|
438
582
|
type ReviewBody = string;
|
|
439
|
-
type
|
|
440
|
-
|
|
441
|
-
|
|
583
|
+
type ReviewReactionCounts = {
|
|
584
|
+
helpful: number;
|
|
585
|
+
unhelpful: number;
|
|
586
|
+
funny: number;
|
|
587
|
+
};
|
|
588
|
+
type ReviewerStats = {
|
|
589
|
+
playtimeSecondsThisGame: number;
|
|
590
|
+
gamesPlayed: number;
|
|
591
|
+
reviewsWritten: number;
|
|
442
592
|
};
|
|
443
593
|
type ReviewReply = {
|
|
444
594
|
body: ReviewReplyBody;
|
|
445
595
|
repliedAt: string;
|
|
446
596
|
} | null;
|
|
447
597
|
type ReviewReplyBody = string;
|
|
448
|
-
type ReviewSort = "newest" | "oldest" | "
|
|
598
|
+
type ReviewSort = "newest" | "oldest" | "helpful";
|
|
449
599
|
type MyReviewResponse = {
|
|
450
600
|
eligible: boolean;
|
|
451
601
|
eligibleVia: ReviewEligibilityReason;
|
|
@@ -455,15 +605,67 @@ type MyReviewResponse = {
|
|
|
455
605
|
type ReviewEligibilityReason = "payment" | "reward" | null;
|
|
456
606
|
type OwnReview = {
|
|
457
607
|
id: string;
|
|
458
|
-
|
|
608
|
+
recommended: ReviewRecommended;
|
|
459
609
|
body: ReviewBody;
|
|
460
610
|
createdAt: string;
|
|
461
611
|
updatedAt: string;
|
|
462
612
|
} | null;
|
|
463
613
|
type UpsertReviewRequest = {
|
|
464
|
-
|
|
614
|
+
recommended: ReviewRecommended;
|
|
465
615
|
body: ReviewBody;
|
|
466
616
|
};
|
|
617
|
+
type MyReviewReactionsResponse = {
|
|
618
|
+
reactions: Array<MyReviewReaction>;
|
|
619
|
+
};
|
|
620
|
+
type MyReviewReaction = {
|
|
621
|
+
reviewId: string;
|
|
622
|
+
vote: ReviewVote;
|
|
623
|
+
funny: boolean;
|
|
624
|
+
};
|
|
625
|
+
type ReviewVote = "helpful" | "unhelpful" | null;
|
|
626
|
+
type SetReviewReactionResponse = {
|
|
627
|
+
reactions: ReviewReactionCounts;
|
|
628
|
+
vote: ReviewVote;
|
|
629
|
+
funny: boolean;
|
|
630
|
+
};
|
|
631
|
+
type SetReviewReactionRequest = {
|
|
632
|
+
vote: ReviewVote;
|
|
633
|
+
funny: boolean;
|
|
634
|
+
};
|
|
635
|
+
type TipReviewResponse = {
|
|
636
|
+
status: "completed";
|
|
637
|
+
amountCents: number;
|
|
638
|
+
balanceCents: number;
|
|
639
|
+
tippedCents: number;
|
|
640
|
+
};
|
|
641
|
+
type TipReviewRequest = {
|
|
642
|
+
amountCents: number;
|
|
643
|
+
note?: string;
|
|
644
|
+
challengeId?: string;
|
|
645
|
+
signature?: string;
|
|
646
|
+
};
|
|
647
|
+
type ReviewCommentListResponse = {
|
|
648
|
+
comments: Array<ReviewComment>;
|
|
649
|
+
total: number;
|
|
650
|
+
hasMore: boolean;
|
|
651
|
+
};
|
|
652
|
+
type ReviewComment = {
|
|
653
|
+
id: string;
|
|
654
|
+
body: ReviewCommentBody;
|
|
655
|
+
author: ReviewAuthor;
|
|
656
|
+
createdAt: string;
|
|
657
|
+
};
|
|
658
|
+
type ReviewCommentBody = string;
|
|
659
|
+
type CreateReviewCommentResponse = {
|
|
660
|
+
comment: ReviewComment;
|
|
661
|
+
commentCount: number;
|
|
662
|
+
};
|
|
663
|
+
type CreateReviewCommentRequest = {
|
|
664
|
+
body: ReviewCommentBody;
|
|
665
|
+
};
|
|
666
|
+
type DeleteReviewCommentResponse = {
|
|
667
|
+
commentCount: number;
|
|
668
|
+
};
|
|
467
669
|
type ReviewReplyResponse = {
|
|
468
670
|
developerReply: ReviewReply;
|
|
469
671
|
};
|
|
@@ -568,8 +770,12 @@ type ActivityRow = ({
|
|
|
568
770
|
} & ActivityRowTronPot) | ({
|
|
569
771
|
kind: "tron_cashout";
|
|
570
772
|
} & ActivityRowTronCashout) | ({
|
|
773
|
+
kind: "tron_transfer";
|
|
774
|
+
} & ActivityRowTronTransfer) | ({
|
|
571
775
|
kind: "referral_earning";
|
|
572
|
-
} & ActivityRowReferralEarning)
|
|
776
|
+
} & ActivityRowReferralEarning) | ({
|
|
777
|
+
kind: "nft_charge";
|
|
778
|
+
} & ActivityRowNftCharge);
|
|
573
779
|
type ActivityRowPayment = {
|
|
574
780
|
kind: "payment";
|
|
575
781
|
groupId: string | null;
|
|
@@ -815,6 +1021,8 @@ type ActivityRowTronPot = {
|
|
|
815
1021
|
role: "incoming" | "outgoing";
|
|
816
1022
|
leg: "stake" | "payout" | "dev_cut" | "purchase" | "referral";
|
|
817
1023
|
amountCents: number;
|
|
1024
|
+
usdCents: number;
|
|
1025
|
+
status: "settled";
|
|
818
1026
|
app: {
|
|
819
1027
|
id: string;
|
|
820
1028
|
name: string;
|
|
@@ -822,8 +1030,16 @@ type ActivityRowTronPot = {
|
|
|
822
1030
|
slug: string | null;
|
|
823
1031
|
bannerUrl: string | null;
|
|
824
1032
|
} | null;
|
|
1033
|
+
involvedUsers?: Array<ActivityTronInvolvedUser> | null;
|
|
825
1034
|
metadata?: PaymentMetadata | null;
|
|
826
1035
|
};
|
|
1036
|
+
type ActivityTronInvolvedUser = {
|
|
1037
|
+
userId: string;
|
|
1038
|
+
handle: string | null;
|
|
1039
|
+
displayName: string | null;
|
|
1040
|
+
role: "stake" | "payout" | "dev_cut" | "purchase" | "referral";
|
|
1041
|
+
amountCents: number;
|
|
1042
|
+
};
|
|
827
1043
|
type ActivityRowTronCashout = {
|
|
828
1044
|
kind: "tron_cashout";
|
|
829
1045
|
groupId: string | null;
|
|
@@ -841,6 +1057,20 @@ type ActivityRowTronCashout = {
|
|
|
841
1057
|
rejectionReason: string | null;
|
|
842
1058
|
settledAt: string | null;
|
|
843
1059
|
};
|
|
1060
|
+
type ActivityRowTronTransfer = {
|
|
1061
|
+
kind: "tron_transfer";
|
|
1062
|
+
groupId: string | null;
|
|
1063
|
+
id: string;
|
|
1064
|
+
occurredAt: string;
|
|
1065
|
+
role: "incoming" | "outgoing";
|
|
1066
|
+
amountCents: number;
|
|
1067
|
+
usdCents: number;
|
|
1068
|
+
status: "settled";
|
|
1069
|
+
counterpartyUserId: string | null;
|
|
1070
|
+
counterpartyHandle: string | null;
|
|
1071
|
+
counterpartyDisplayName: string | null;
|
|
1072
|
+
note: string | null;
|
|
1073
|
+
};
|
|
844
1074
|
type ActivityRowReferralEarning = {
|
|
845
1075
|
kind: "referral_earning";
|
|
846
1076
|
groupId: string | null;
|
|
@@ -857,6 +1087,22 @@ type ActivityRowReferralEarning = {
|
|
|
857
1087
|
logIndex: number;
|
|
858
1088
|
usdCents: number | null;
|
|
859
1089
|
};
|
|
1090
|
+
type ActivityRowNftCharge = {
|
|
1091
|
+
kind: "nft_charge";
|
|
1092
|
+
groupId: string | null;
|
|
1093
|
+
id: string;
|
|
1094
|
+
occurredAt: string;
|
|
1095
|
+
role: "outgoing";
|
|
1096
|
+
chargeKind: "registration" | "mint" | "transfer_gas";
|
|
1097
|
+
amountCents: number;
|
|
1098
|
+
usdCents: number;
|
|
1099
|
+
status: "settled";
|
|
1100
|
+
collectionAddress: string | null;
|
|
1101
|
+
tokenId: string | null;
|
|
1102
|
+
counterpartyUserId: string | null;
|
|
1103
|
+
counterpartyHandle: string | null;
|
|
1104
|
+
counterpartyDisplayName: string | null;
|
|
1105
|
+
};
|
|
860
1106
|
type OutstandingResponse = {
|
|
861
1107
|
rows: Array<OutstandingByToken>;
|
|
862
1108
|
};
|
|
@@ -906,7 +1152,7 @@ type TronLedgerResponse = {
|
|
|
906
1152
|
};
|
|
907
1153
|
type TronLedgerEntry = {
|
|
908
1154
|
id: string;
|
|
909
|
-
kind: "deposit" | "pot_stake" | "pot_payout" | "dev_earning" | "cashout_hold" | "cashout_release" | "dispute_freeze" | "dispute_unfreeze" | "hosted_billing" | "store_purchase" | "referral_earning";
|
|
1155
|
+
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";
|
|
910
1156
|
amountCents: number;
|
|
911
1157
|
currency: string;
|
|
912
1158
|
createdAt: string;
|
|
@@ -921,6 +1167,45 @@ type TronDepositResponse = {
|
|
|
921
1167
|
type TronDepositRequest = {
|
|
922
1168
|
amountCents: number;
|
|
923
1169
|
};
|
|
1170
|
+
type TronTransferResponse = {
|
|
1171
|
+
status: "completed";
|
|
1172
|
+
amountCents: number;
|
|
1173
|
+
balanceCents: number;
|
|
1174
|
+
recipient: {
|
|
1175
|
+
userId: string;
|
|
1176
|
+
handle: string | null;
|
|
1177
|
+
displayName: string | null;
|
|
1178
|
+
};
|
|
1179
|
+
};
|
|
1180
|
+
type TronTransferRequest = {
|
|
1181
|
+
recipientUserId: string;
|
|
1182
|
+
amountCents: number;
|
|
1183
|
+
note?: string;
|
|
1184
|
+
challengeId?: string;
|
|
1185
|
+
signature?: string;
|
|
1186
|
+
threadId?: string;
|
|
1187
|
+
};
|
|
1188
|
+
type TronSecuritySetting = {
|
|
1189
|
+
requireSignature: boolean;
|
|
1190
|
+
};
|
|
1191
|
+
type TronTransferChallengeResponse = ({
|
|
1192
|
+
required: false;
|
|
1193
|
+
} & TronTransferChallengeNotRequired) | ({
|
|
1194
|
+
required: true;
|
|
1195
|
+
} & TronTransferChallengeRequired);
|
|
1196
|
+
type TronTransferChallengeNotRequired = {
|
|
1197
|
+
required: false;
|
|
1198
|
+
};
|
|
1199
|
+
type TronTransferChallengeRequired = {
|
|
1200
|
+
required: true;
|
|
1201
|
+
challengeId: string;
|
|
1202
|
+
message: string;
|
|
1203
|
+
expiresAt: string;
|
|
1204
|
+
};
|
|
1205
|
+
type TronTransferChallengeRequest = {
|
|
1206
|
+
recipientUserId: string;
|
|
1207
|
+
amountCents: number;
|
|
1208
|
+
};
|
|
924
1209
|
type TronGameBalanceResponse = {
|
|
925
1210
|
balanceCents: number;
|
|
926
1211
|
rakeBps: number;
|
|
@@ -1053,12 +1338,15 @@ type WalletListResponse = {
|
|
|
1053
1338
|
wallets: Array<WalletItem>;
|
|
1054
1339
|
};
|
|
1055
1340
|
type WalletChainList = Array<{
|
|
1056
|
-
id: "ethereum-mainnet" | "base-mainnet" | "ethereum-sepolia";
|
|
1341
|
+
id: "ethereum-mainnet" | "base-mainnet" | "ethereum-sepolia" | "base-sepolia" | "solana-mainnet" | "solana-devnet";
|
|
1057
1342
|
displayName: string;
|
|
1058
|
-
|
|
1343
|
+
family: "evm" | "solana";
|
|
1344
|
+
nativeSymbol: string;
|
|
1345
|
+
chainId?: number;
|
|
1059
1346
|
}>;
|
|
1060
1347
|
type WalletItem = {
|
|
1061
|
-
address: string;
|
|
1348
|
+
address: string | string;
|
|
1349
|
+
family: "evm" | "solana";
|
|
1062
1350
|
label: WalletLabel;
|
|
1063
1351
|
kind: "personal" | "app";
|
|
1064
1352
|
app: WalletAppLink;
|
|
@@ -1075,6 +1363,9 @@ type WalletBalances = {
|
|
|
1075
1363
|
"ethereum-mainnet"?: WalletChainBalance;
|
|
1076
1364
|
"base-mainnet"?: WalletChainBalance;
|
|
1077
1365
|
"ethereum-sepolia"?: WalletChainBalance;
|
|
1366
|
+
"base-sepolia"?: WalletChainBalance;
|
|
1367
|
+
"solana-mainnet"?: WalletChainBalance;
|
|
1368
|
+
"solana-devnet"?: WalletChainBalance;
|
|
1078
1369
|
};
|
|
1079
1370
|
type WalletChainBalance = {
|
|
1080
1371
|
native: string;
|
|
@@ -1084,12 +1375,14 @@ type WalletDelegationStatus = {
|
|
|
1084
1375
|
mode: WalletDelegationMode;
|
|
1085
1376
|
caps: WalletDelegationCaps;
|
|
1086
1377
|
policyId: string | null;
|
|
1378
|
+
slippageBps: DelegationSlippageBps;
|
|
1087
1379
|
};
|
|
1088
1380
|
type WalletDelegationMode = "infinite" | "custom" | "scoped" | null;
|
|
1089
1381
|
type WalletDelegationCaps = {
|
|
1090
1382
|
native: string;
|
|
1091
1383
|
usdc: string;
|
|
1092
1384
|
} | null;
|
|
1385
|
+
type DelegationSlippageBps = number | null;
|
|
1093
1386
|
type WalletLabelUpdateResponse = {
|
|
1094
1387
|
address: string;
|
|
1095
1388
|
label: WalletLabel;
|
|
@@ -1163,6 +1456,7 @@ type ThreadLastMessagePreview = {
|
|
|
1163
1456
|
url: string;
|
|
1164
1457
|
count: number;
|
|
1165
1458
|
} | null;
|
|
1459
|
+
transaction?: MessageTransactionTronTransfer | MessageTransactionNftTransfer | null;
|
|
1166
1460
|
sentAt: string;
|
|
1167
1461
|
} | null;
|
|
1168
1462
|
type MessageEnvelope = {
|
|
@@ -1174,6 +1468,20 @@ type MessageEnvelope = {
|
|
|
1174
1468
|
iv: string;
|
|
1175
1469
|
ct: string;
|
|
1176
1470
|
} | null;
|
|
1471
|
+
type MessageTransactionTronTransfer = {
|
|
1472
|
+
kind: "tron_transfer";
|
|
1473
|
+
amountCents: number;
|
|
1474
|
+
recipientUserId: string;
|
|
1475
|
+
};
|
|
1476
|
+
type MessageTransactionNftTransfer = {
|
|
1477
|
+
kind: "nft_transfer";
|
|
1478
|
+
recipientUserId: string;
|
|
1479
|
+
collectionAddress: string;
|
|
1480
|
+
tokenId: string;
|
|
1481
|
+
amount: string;
|
|
1482
|
+
itemName: string | null;
|
|
1483
|
+
imageAssetId?: string | null;
|
|
1484
|
+
};
|
|
1177
1485
|
type GroupThreadSummary = {
|
|
1178
1486
|
kind: "group";
|
|
1179
1487
|
id: string;
|
|
@@ -1220,6 +1528,7 @@ type MessageItem = {
|
|
|
1220
1528
|
id: string;
|
|
1221
1529
|
threadId: string;
|
|
1222
1530
|
senderUserId: string;
|
|
1531
|
+
transaction?: MessageTransactionTronTransfer | MessageTransactionNftTransfer | null;
|
|
1223
1532
|
body: string;
|
|
1224
1533
|
envelope?: MessageEnvelope;
|
|
1225
1534
|
sentAt: string;
|
|
@@ -1410,11 +1719,45 @@ type InventoryHolding = {
|
|
|
1410
1719
|
tokenId: string;
|
|
1411
1720
|
amount: string;
|
|
1412
1721
|
name: string | null;
|
|
1722
|
+
description: string | null;
|
|
1413
1723
|
imageAssetId: string | null;
|
|
1414
1724
|
bannerAssetId: string | null;
|
|
1415
1725
|
devMetadata: {
|
|
1416
1726
|
[key: string]: unknown;
|
|
1417
1727
|
};
|
|
1728
|
+
appId: string | null;
|
|
1729
|
+
appName: string | null;
|
|
1730
|
+
appLogoUrl: string | null;
|
|
1731
|
+
};
|
|
1732
|
+
type InventoryPendingPermitListResponse = {
|
|
1733
|
+
permits: Array<InventoryPendingPermit>;
|
|
1734
|
+
};
|
|
1735
|
+
type InventoryPendingPermit = {
|
|
1736
|
+
id: string;
|
|
1737
|
+
appId: string;
|
|
1738
|
+
itemId: string;
|
|
1739
|
+
amount: string;
|
|
1740
|
+
priceCents: number | null;
|
|
1741
|
+
gasSponsored: boolean;
|
|
1742
|
+
environment: "development" | "production";
|
|
1743
|
+
createdAt: string;
|
|
1744
|
+
tokenId: string;
|
|
1745
|
+
name: string | null;
|
|
1746
|
+
description: string | null;
|
|
1747
|
+
imageAssetId: string | null;
|
|
1748
|
+
chain: string;
|
|
1749
|
+
collectionAddress: string;
|
|
1750
|
+
kind: "erc721" | "erc1155";
|
|
1751
|
+
};
|
|
1752
|
+
type InventoryPermitRedeemResult = {
|
|
1753
|
+
mint: MintRequestResult;
|
|
1754
|
+
charge: {
|
|
1755
|
+
currency: "tron";
|
|
1756
|
+
gasCents: number;
|
|
1757
|
+
priceCents: number;
|
|
1758
|
+
totalCents: number;
|
|
1759
|
+
gasPaidBy: "user" | "developer";
|
|
1760
|
+
};
|
|
1418
1761
|
};
|
|
1419
1762
|
type MintRequestResult = {
|
|
1420
1763
|
mintRequestId: string;
|
|
@@ -1430,6 +1773,247 @@ type MintRequestInput = {
|
|
|
1430
1773
|
tokenId?: string;
|
|
1431
1774
|
amount?: string;
|
|
1432
1775
|
};
|
|
1776
|
+
type InventoryCollectionListResponse = {
|
|
1777
|
+
collections: Array<InventoryCollectionSummary>;
|
|
1778
|
+
};
|
|
1779
|
+
type InventoryCollectionSummary = {
|
|
1780
|
+
id: string;
|
|
1781
|
+
chain: string;
|
|
1782
|
+
collectionAddress: string;
|
|
1783
|
+
kind: "erc721" | "erc1155";
|
|
1784
|
+
name: string | null;
|
|
1785
|
+
environment: "development" | "production";
|
|
1786
|
+
};
|
|
1787
|
+
type InventoryRegistrationQuote = {
|
|
1788
|
+
itemCount: number;
|
|
1789
|
+
baselineUsdCents: number;
|
|
1790
|
+
gasUsdCents: number;
|
|
1791
|
+
tron: {
|
|
1792
|
+
baselineCents: number;
|
|
1793
|
+
gasCents: number;
|
|
1794
|
+
totalCents: number;
|
|
1795
|
+
};
|
|
1796
|
+
eth: {
|
|
1797
|
+
baselineWei: string;
|
|
1798
|
+
gasWei: string;
|
|
1799
|
+
totalWei: string;
|
|
1800
|
+
};
|
|
1801
|
+
};
|
|
1802
|
+
type InventoryItemRegistrationInput = {
|
|
1803
|
+
collectionAddress: string;
|
|
1804
|
+
chain: string;
|
|
1805
|
+
items: Array<InventoryItemRegistrationSpec>;
|
|
1806
|
+
};
|
|
1807
|
+
type InventoryItemRegistrationSpec = {
|
|
1808
|
+
name?: string | null;
|
|
1809
|
+
description?: string | null;
|
|
1810
|
+
devMetadata?: {
|
|
1811
|
+
[key: string]: unknown;
|
|
1812
|
+
};
|
|
1813
|
+
supplyType?: InventorySupplyType;
|
|
1814
|
+
maxSupply?: string | null;
|
|
1815
|
+
active?: boolean;
|
|
1816
|
+
};
|
|
1817
|
+
type InventorySupplyType = "capped" | "flexible" | "unlimited";
|
|
1818
|
+
type InventoryItemRegistrationResult = {
|
|
1819
|
+
items: Array<InventoryItemRecord>;
|
|
1820
|
+
charge: {
|
|
1821
|
+
currency: "tron";
|
|
1822
|
+
amountCents: number;
|
|
1823
|
+
baselineCents: number;
|
|
1824
|
+
gasCents: number;
|
|
1825
|
+
addItemTxHash: string;
|
|
1826
|
+
};
|
|
1827
|
+
};
|
|
1828
|
+
type InventoryItemRecord = {
|
|
1829
|
+
id: string;
|
|
1830
|
+
collectionId: string;
|
|
1831
|
+
collectionAddress: string;
|
|
1832
|
+
chain: string;
|
|
1833
|
+
kind: "erc721" | "erc1155";
|
|
1834
|
+
tokenId: string;
|
|
1835
|
+
name: string | null;
|
|
1836
|
+
description: string | null;
|
|
1837
|
+
imageAssetId: string | null;
|
|
1838
|
+
bannerAssetId: string | null;
|
|
1839
|
+
devMetadata: {
|
|
1840
|
+
[key: string]: unknown;
|
|
1841
|
+
};
|
|
1842
|
+
supplyType: InventorySupplyType | null;
|
|
1843
|
+
maxSupply: string | null;
|
|
1844
|
+
active: boolean;
|
|
1845
|
+
};
|
|
1846
|
+
type InventoryItemListResponse = {
|
|
1847
|
+
items: Array<InventoryItemRecord>;
|
|
1848
|
+
};
|
|
1849
|
+
type InventoryMintPermitRecord = {
|
|
1850
|
+
id: string;
|
|
1851
|
+
appId: string;
|
|
1852
|
+
itemId: string;
|
|
1853
|
+
userId: string;
|
|
1854
|
+
amount: string;
|
|
1855
|
+
priceCents: number | null;
|
|
1856
|
+
gasSponsored: boolean;
|
|
1857
|
+
status: "pending" | "redeemed" | "revoked";
|
|
1858
|
+
createdAt: string;
|
|
1859
|
+
};
|
|
1860
|
+
type InventoryMintPermitCreateInput = {
|
|
1861
|
+
toUserId: string;
|
|
1862
|
+
amount?: string;
|
|
1863
|
+
priceCents?: number | null;
|
|
1864
|
+
gasSponsored?: boolean;
|
|
1865
|
+
};
|
|
1866
|
+
type InventoryItemHoldersResponse = {
|
|
1867
|
+
stats: InventoryItemStats;
|
|
1868
|
+
holders: Array<InventoryItemHolder>;
|
|
1869
|
+
};
|
|
1870
|
+
type InventoryItemStats = {
|
|
1871
|
+
holderCount: number;
|
|
1872
|
+
walletCount: number;
|
|
1873
|
+
totalHeld: string;
|
|
1874
|
+
};
|
|
1875
|
+
type InventoryItemHolder = {
|
|
1876
|
+
walletAddress: string;
|
|
1877
|
+
userId: string | null;
|
|
1878
|
+
amount: string;
|
|
1879
|
+
};
|
|
1880
|
+
type InventoryVaultPermitRecord = {
|
|
1881
|
+
id: string;
|
|
1882
|
+
appId: string;
|
|
1883
|
+
itemId: string;
|
|
1884
|
+
userId: string;
|
|
1885
|
+
direction: "vault_in" | "withdraw";
|
|
1886
|
+
lockKind: "vault" | "burn" | null;
|
|
1887
|
+
amount: string;
|
|
1888
|
+
gasSponsored: boolean;
|
|
1889
|
+
status: "pending" | "redeemed" | "revoked";
|
|
1890
|
+
custodyId: string | null;
|
|
1891
|
+
createdAt: string;
|
|
1892
|
+
};
|
|
1893
|
+
type InventoryVaultPermitCreateInput = {
|
|
1894
|
+
toUserId: string;
|
|
1895
|
+
lockKind: "vault" | "burn";
|
|
1896
|
+
amount?: string;
|
|
1897
|
+
gasSponsored?: boolean;
|
|
1898
|
+
};
|
|
1899
|
+
type InventoryWithdrawPermitCreateInput = {
|
|
1900
|
+
custodyId: string;
|
|
1901
|
+
};
|
|
1902
|
+
type InventoryPendingVaultPermitListResponse = {
|
|
1903
|
+
permits: Array<InventoryPendingVaultPermit>;
|
|
1904
|
+
};
|
|
1905
|
+
type InventoryPendingVaultPermit = {
|
|
1906
|
+
id: string;
|
|
1907
|
+
appId: string;
|
|
1908
|
+
itemId: string;
|
|
1909
|
+
direction: "vault_in" | "withdraw";
|
|
1910
|
+
lockKind: "vault" | "burn" | null;
|
|
1911
|
+
amount: string;
|
|
1912
|
+
gasSponsored: boolean;
|
|
1913
|
+
environment: "development" | "production";
|
|
1914
|
+
custodyId: string | null;
|
|
1915
|
+
createdAt: string;
|
|
1916
|
+
tokenId: string;
|
|
1917
|
+
name: string | null;
|
|
1918
|
+
description: string | null;
|
|
1919
|
+
imageAssetId: string | null;
|
|
1920
|
+
chain: string;
|
|
1921
|
+
collectionAddress: string;
|
|
1922
|
+
kind: "erc721" | "erc1155";
|
|
1923
|
+
};
|
|
1924
|
+
type InventorySignedVaultPermit = {
|
|
1925
|
+
permitId: string;
|
|
1926
|
+
direction: "vault_in" | "withdraw";
|
|
1927
|
+
vault: string;
|
|
1928
|
+
collection: string;
|
|
1929
|
+
user: string;
|
|
1930
|
+
tokenId: string;
|
|
1931
|
+
amount: string;
|
|
1932
|
+
lockKind: "vault" | "burn" | null;
|
|
1933
|
+
destination: string | null;
|
|
1934
|
+
deadline: number;
|
|
1935
|
+
signature: string;
|
|
1936
|
+
};
|
|
1937
|
+
type InventoryRelayedVaultQuoteResponse = {
|
|
1938
|
+
direction: "vault_in" | "withdraw";
|
|
1939
|
+
collection: string;
|
|
1940
|
+
vault: string;
|
|
1941
|
+
chainId: number;
|
|
1942
|
+
user: string;
|
|
1943
|
+
tokenId: string;
|
|
1944
|
+
amount: string;
|
|
1945
|
+
nonce: string | null;
|
|
1946
|
+
deadline: number;
|
|
1947
|
+
feeCents: number;
|
|
1948
|
+
gasWei: string;
|
|
1949
|
+
gasPaidBy: "developer" | "user";
|
|
1950
|
+
requiresUserSignature: boolean;
|
|
1951
|
+
};
|
|
1952
|
+
type InventoryRelayedVaultSubmitResponse = {
|
|
1953
|
+
ok: boolean;
|
|
1954
|
+
txHash: string;
|
|
1955
|
+
chargedCents: number;
|
|
1956
|
+
gasPaidBy: "developer" | "user";
|
|
1957
|
+
};
|
|
1958
|
+
type InventoryRelayedVaultSubmitRequest = {
|
|
1959
|
+
userSignature?: string;
|
|
1960
|
+
deadline?: number;
|
|
1961
|
+
};
|
|
1962
|
+
type InventoryNftTransferQuoteResponse = {
|
|
1963
|
+
collection: string;
|
|
1964
|
+
chainId: number;
|
|
1965
|
+
from: string;
|
|
1966
|
+
to: string;
|
|
1967
|
+
tokenId: string;
|
|
1968
|
+
amount: string;
|
|
1969
|
+
nonce: string;
|
|
1970
|
+
deadline: number;
|
|
1971
|
+
feeCents: number;
|
|
1972
|
+
gasWei: string;
|
|
1973
|
+
selfPayAvailable: boolean;
|
|
1974
|
+
};
|
|
1975
|
+
type InventoryNftTransferQuoteRequest = {
|
|
1976
|
+
toUserId: string;
|
|
1977
|
+
collection: string;
|
|
1978
|
+
tokenId: string;
|
|
1979
|
+
amount?: string;
|
|
1980
|
+
};
|
|
1981
|
+
type InventoryNftTransferResponse = {
|
|
1982
|
+
ok: boolean;
|
|
1983
|
+
txHash: string;
|
|
1984
|
+
chargedCents: number;
|
|
1985
|
+
};
|
|
1986
|
+
type InventoryNftTransferRequest = {
|
|
1987
|
+
toUserId: string;
|
|
1988
|
+
collection: string;
|
|
1989
|
+
tokenId: string;
|
|
1990
|
+
amount?: string;
|
|
1991
|
+
deadline: number;
|
|
1992
|
+
userSignature: string;
|
|
1993
|
+
threadId?: string;
|
|
1994
|
+
};
|
|
1995
|
+
type InventoryVaultCustodyListResponse = {
|
|
1996
|
+
custody: Array<InventoryVaultCustody>;
|
|
1997
|
+
};
|
|
1998
|
+
type InventoryVaultCustody = {
|
|
1999
|
+
id: string;
|
|
2000
|
+
collectionId: string;
|
|
2001
|
+
collectionAddress: string;
|
|
2002
|
+
chain: string;
|
|
2003
|
+
kind: "erc721" | "erc1155";
|
|
2004
|
+
tokenId: string;
|
|
2005
|
+
amount: string;
|
|
2006
|
+
lockKind: "vault" | "burn";
|
|
2007
|
+
vaultAddress: string;
|
|
2008
|
+
createdAt: string;
|
|
2009
|
+
name: string | null;
|
|
2010
|
+
description: string | null;
|
|
2011
|
+
imageAssetId: string | null;
|
|
2012
|
+
};
|
|
2013
|
+
type InventoryVaultForceWithdrawResponse = {
|
|
2014
|
+
ok: boolean;
|
|
2015
|
+
txHash: string;
|
|
2016
|
+
};
|
|
1433
2017
|
type NotificationListResponse = {
|
|
1434
2018
|
notifications: Array<NotificationItem>;
|
|
1435
2019
|
unreadCount: number;
|
|
@@ -1458,6 +2042,18 @@ type NotificationItem = {
|
|
|
1458
2042
|
payload: AppPageRejectedNotificationPayload;
|
|
1459
2043
|
read: boolean;
|
|
1460
2044
|
createdAt: string;
|
|
2045
|
+
} | {
|
|
2046
|
+
id: string;
|
|
2047
|
+
kind: "bip_update_published";
|
|
2048
|
+
payload: BipUpdatePublishedNotificationPayload;
|
|
2049
|
+
read: boolean;
|
|
2050
|
+
createdAt: string;
|
|
2051
|
+
} | {
|
|
2052
|
+
id: string;
|
|
2053
|
+
kind: "bip_now_playable";
|
|
2054
|
+
payload: BipNowPlayableNotificationPayload;
|
|
2055
|
+
read: boolean;
|
|
2056
|
+
createdAt: string;
|
|
1461
2057
|
} | {
|
|
1462
2058
|
id: string;
|
|
1463
2059
|
kind: "app_participant_invite";
|
|
@@ -1488,14 +2084,25 @@ type FriendAcceptedNotificationPayload = {
|
|
|
1488
2084
|
type AppPageApprovedNotificationPayload = {
|
|
1489
2085
|
appId: string;
|
|
1490
2086
|
appName: string;
|
|
1491
|
-
scope: "publish" | "changes";
|
|
2087
|
+
scope: "publish" | "changes" | "bip_publish";
|
|
1492
2088
|
};
|
|
1493
2089
|
type AppPageRejectedNotificationPayload = {
|
|
1494
2090
|
appId: string;
|
|
1495
2091
|
appName: string;
|
|
1496
|
-
scope: "publish" | "changes";
|
|
2092
|
+
scope: "publish" | "changes" | "bip_publish";
|
|
1497
2093
|
notes: string;
|
|
1498
2094
|
};
|
|
2095
|
+
type BipUpdatePublishedNotificationPayload = {
|
|
2096
|
+
appId: string;
|
|
2097
|
+
appName: string;
|
|
2098
|
+
appSlug: string | null;
|
|
2099
|
+
updateId: string;
|
|
2100
|
+
};
|
|
2101
|
+
type BipNowPlayableNotificationPayload = {
|
|
2102
|
+
appId: string;
|
|
2103
|
+
appName: string;
|
|
2104
|
+
appSlug: string | null;
|
|
2105
|
+
};
|
|
1499
2106
|
type AppParticipantInviteNotificationPayload = {
|
|
1500
2107
|
appId: string;
|
|
1501
2108
|
appName: string;
|
|
@@ -1525,6 +2132,9 @@ type FriendListItem = {
|
|
|
1525
2132
|
onlineStatus: OnlineStatus;
|
|
1526
2133
|
};
|
|
1527
2134
|
type OnlineStatus = "online" | "offline";
|
|
2135
|
+
type AppFriendListResponse = {
|
|
2136
|
+
friends: Array<ThreadParticipant>;
|
|
2137
|
+
};
|
|
1528
2138
|
type FriendRequestDecision = {
|
|
1529
2139
|
decision: "accept" | "reject";
|
|
1530
2140
|
};
|
|
@@ -1597,7 +2207,7 @@ type ProfileRecentReview = {
|
|
|
1597
2207
|
appId: string;
|
|
1598
2208
|
appName: string;
|
|
1599
2209
|
appLogoUrl: string | null;
|
|
1600
|
-
|
|
2210
|
+
recommended: boolean;
|
|
1601
2211
|
body: string;
|
|
1602
2212
|
createdAt: string;
|
|
1603
2213
|
};
|
|
@@ -1654,17 +2264,20 @@ type CreateDeveloperAppChain = {
|
|
|
1654
2264
|
};
|
|
1655
2265
|
type UpdateDeveloperApp = {
|
|
1656
2266
|
name?: DeveloperAppName;
|
|
2267
|
+
slug?: AppPageSlug | null;
|
|
1657
2268
|
logoUrl?: string | null;
|
|
1658
2269
|
testAccess?: "private" | "public";
|
|
1659
2270
|
redirectUris?: Array<string>;
|
|
1660
2271
|
embedOrigins?: Array<EmbedOrigin>;
|
|
1661
2272
|
acceptedCurrencies?: AcceptedCurrencies;
|
|
2273
|
+
acceptedNetworks?: AcceptedNetworks;
|
|
1662
2274
|
paymentStatusWebhookUrl?: string | null;
|
|
1663
2275
|
paymentStatusWebhookUrlTest?: string | null;
|
|
1664
2276
|
};
|
|
1665
2277
|
type EmbedOrigin = string;
|
|
1666
2278
|
type AcceptedCurrencies = Array<PlatformCurrency>;
|
|
1667
2279
|
type PlatformCurrency = "eth" | "tron";
|
|
2280
|
+
type AcceptedNetworks = Array<PaymentNetwork> | null;
|
|
1668
2281
|
type DeveloperLogoUploadResponse = {
|
|
1669
2282
|
logoUrl: string | null;
|
|
1670
2283
|
};
|
|
@@ -1902,6 +2515,7 @@ type DeveloperProductionRequestPayload = {
|
|
|
1902
2515
|
type DeveloperAppItem = {
|
|
1903
2516
|
id: string;
|
|
1904
2517
|
name: DeveloperAppName;
|
|
2518
|
+
slug: AppPageSlug | null;
|
|
1905
2519
|
logoUrl: string | null;
|
|
1906
2520
|
environment: "development" | "production";
|
|
1907
2521
|
productionApprovedAt: string | null;
|
|
@@ -1910,6 +2524,7 @@ type DeveloperAppItem = {
|
|
|
1910
2524
|
redirectUris: Array<string>;
|
|
1911
2525
|
embedOrigins: Array<EmbedOrigin>;
|
|
1912
2526
|
acceptedCurrencies: AcceptedCurrencies;
|
|
2527
|
+
acceptedNetworks: AcceptedNetworks;
|
|
1913
2528
|
payoutAddresses: Array<DeveloperAppPayoutAddressItem>;
|
|
1914
2529
|
keys: Array<DeveloperAppKeyItem>;
|
|
1915
2530
|
pendingProductionRequestId: string | null;
|
|
@@ -1953,15 +2568,29 @@ type AppPageDraft = {
|
|
|
1953
2568
|
gallery: AppPageGallery;
|
|
1954
2569
|
chapters: AppPageChapters;
|
|
1955
2570
|
links: AppPageLinks;
|
|
2571
|
+
platforms: AppPagePlatforms;
|
|
2572
|
+
gameType: AppPageGameType;
|
|
2573
|
+
ageRating: AppPageAgeRating;
|
|
2574
|
+
languages: AppPageLanguages;
|
|
2575
|
+
releaseStatus: AppPageReleaseStatus;
|
|
1956
2576
|
firstPublishedAt: string | null;
|
|
1957
2577
|
reviewedAt: string | null;
|
|
1958
2578
|
reviewNotes: string | null;
|
|
1959
2579
|
hiddenAt: string | null;
|
|
1960
2580
|
hiddenReasonPublic: string | null;
|
|
1961
2581
|
pendingReview: boolean;
|
|
2582
|
+
bip: AppPageBipState;
|
|
2583
|
+
};
|
|
2584
|
+
type AppPageBipState = {
|
|
2585
|
+
enabled: boolean;
|
|
2586
|
+
status: "draft" | "pending_review" | "published" | "hidden";
|
|
2587
|
+
firstPublishedAt: string | null;
|
|
2588
|
+
reviewedAt: string | null;
|
|
2589
|
+
reviewNotes: string | null;
|
|
2590
|
+
hiddenAt: string | null;
|
|
2591
|
+
hiddenReasonPublic: string | null;
|
|
1962
2592
|
};
|
|
1963
2593
|
type UpdateAppPage = {
|
|
1964
|
-
slug?: AppPageSlug | null;
|
|
1965
2594
|
categories?: AppPageCategories;
|
|
1966
2595
|
tagline?: AppPageTagline | null;
|
|
1967
2596
|
bannerUrl?: string | null;
|
|
@@ -1975,10 +2604,18 @@ type UpdateAppPage = {
|
|
|
1975
2604
|
gallery?: AppPageGallery;
|
|
1976
2605
|
chapters?: AppPageChapters;
|
|
1977
2606
|
links?: AppPageLinks;
|
|
2607
|
+
platforms?: AppPagePlatforms;
|
|
2608
|
+
gameType?: AppPageGameType;
|
|
2609
|
+
ageRating?: AppPageAgeRating;
|
|
2610
|
+
languages?: AppPageLanguages;
|
|
2611
|
+
releaseStatus?: AppPageReleaseStatus;
|
|
1978
2612
|
};
|
|
1979
2613
|
type AppPageGalleryUploadResponse = {
|
|
1980
2614
|
url: string;
|
|
1981
2615
|
};
|
|
2616
|
+
type AppPageBipToggle = {
|
|
2617
|
+
enabled: boolean;
|
|
2618
|
+
};
|
|
1982
2619
|
type AdminActivePlayersResponse = {
|
|
1983
2620
|
players: Array<AdminActivePlayer>;
|
|
1984
2621
|
total: number;
|
|
@@ -2117,6 +2754,11 @@ type AdminAppPageItem = {
|
|
|
2117
2754
|
hiddenAt: string | null;
|
|
2118
2755
|
hiddenReasonInternal: string | null;
|
|
2119
2756
|
pendingChangesSubmittedAt: string | null;
|
|
2757
|
+
bipEnabled: boolean;
|
|
2758
|
+
bipStatus: "draft" | "pending_review" | "published" | "hidden";
|
|
2759
|
+
bipFirstPublishedAt: string | null;
|
|
2760
|
+
bipHiddenAt: string | null;
|
|
2761
|
+
openReportCount: number;
|
|
2120
2762
|
};
|
|
2121
2763
|
type AdminAppPageStatusResponse = {
|
|
2122
2764
|
status: "draft" | "pending_review" | "published" | "hidden";
|
|
@@ -2142,6 +2784,25 @@ type AdminAppPageDiffField = {
|
|
|
2142
2784
|
from: string;
|
|
2143
2785
|
to: string;
|
|
2144
2786
|
};
|
|
2787
|
+
type AdminAppPageBipStatusResponse = {
|
|
2788
|
+
bipStatus: "draft" | "pending_review" | "published" | "hidden";
|
|
2789
|
+
};
|
|
2790
|
+
type AdminAppContentReportListResponse = {
|
|
2791
|
+
reports: Array<AdminAppContentReportItem>;
|
|
2792
|
+
total: number;
|
|
2793
|
+
hasMore: boolean;
|
|
2794
|
+
};
|
|
2795
|
+
type AdminAppContentReportItem = {
|
|
2796
|
+
id: string;
|
|
2797
|
+
category: AppContentReportCategory;
|
|
2798
|
+
details: string | null;
|
|
2799
|
+
status: AppContentReportStatus;
|
|
2800
|
+
acknowledgedAt: string | null;
|
|
2801
|
+
createdAt: string;
|
|
2802
|
+
appId: string;
|
|
2803
|
+
appName: string;
|
|
2804
|
+
appSlug: string | null;
|
|
2805
|
+
};
|
|
2145
2806
|
type PlatformFeesResponse = {
|
|
2146
2807
|
purchaseFeeBps: number;
|
|
2147
2808
|
stakeFeeBps: number;
|
|
@@ -2322,6 +2983,13 @@ type AppealResolveRequest = {
|
|
|
2322
2983
|
decision: "refund" | "dismiss";
|
|
2323
2984
|
notes?: string;
|
|
2324
2985
|
};
|
|
2986
|
+
type PaymentRatesResponse = {
|
|
2987
|
+
asOf: string;
|
|
2988
|
+
ethUsd: number | null;
|
|
2989
|
+
solUsd: number | null;
|
|
2990
|
+
solLamportsPerCent: number | null;
|
|
2991
|
+
tronUsdPerToken: number;
|
|
2992
|
+
};
|
|
2325
2993
|
type AppealFileResponse = {
|
|
2326
2994
|
appealId: string;
|
|
2327
2995
|
paymentId: string;
|
|
@@ -2370,7 +3038,7 @@ type OauthPaymentPayoutRequest = {
|
|
|
2370
3038
|
metadata?: PaymentMetadata;
|
|
2371
3039
|
};
|
|
2372
3040
|
type OauthPaymentDistributeResponse = {
|
|
2373
|
-
distributionId
|
|
3041
|
+
distributionId?: string;
|
|
2374
3042
|
txHash: string;
|
|
2375
3043
|
blockNumber: string;
|
|
2376
3044
|
potId: string;
|
|
@@ -2493,7 +3161,7 @@ declare function listActivePlayers(context: TransportContext, input: {
|
|
|
2493
3161
|
//#region src/admin/app-pages.d.ts
|
|
2494
3162
|
declare function listAppPages(context: TransportContext, input: {
|
|
2495
3163
|
readonly bearer: string;
|
|
2496
|
-
readonly status?: "draft" | "pending_review" | "published" | "hidden" | "all" | "pending_changes";
|
|
3164
|
+
readonly status?: "draft" | "pending_review" | "published" | "hidden" | "all" | "pending_changes" | "bip_pending_review";
|
|
2497
3165
|
}): Promise<AdminAppPageListResponse>;
|
|
2498
3166
|
declare function getAppPageChanges(context: TransportContext, input: {
|
|
2499
3167
|
readonly bearer: string;
|
|
@@ -2518,6 +3186,20 @@ declare function reviewAppPage(context: TransportContext, input: {
|
|
|
2518
3186
|
readonly appId: string;
|
|
2519
3187
|
readonly body: ReviewAppPage;
|
|
2520
3188
|
}): Promise<AdminAppPageStatusResponse>;
|
|
3189
|
+
declare function reviewAppPageBip(context: TransportContext, input: {
|
|
3190
|
+
readonly bearer: string;
|
|
3191
|
+
readonly appId: string;
|
|
3192
|
+
readonly body: ReviewAppPage;
|
|
3193
|
+
}): Promise<AdminAppPageBipStatusResponse>;
|
|
3194
|
+
declare function hideAppPageBip(context: TransportContext, input: {
|
|
3195
|
+
readonly bearer: string;
|
|
3196
|
+
readonly appId: string;
|
|
3197
|
+
readonly body: HideAppPage;
|
|
3198
|
+
}): Promise<AdminAppPageBipStatusResponse>;
|
|
3199
|
+
declare function unhideAppPageBip(context: TransportContext, input: {
|
|
3200
|
+
readonly bearer: string;
|
|
3201
|
+
readonly appId: string;
|
|
3202
|
+
}): Promise<AdminAppPageBipStatusResponse>;
|
|
2521
3203
|
//#endregion
|
|
2522
3204
|
//#region src/admin/appeals.d.ts
|
|
2523
3205
|
declare function listAppealQueue(context: TransportContext, input: {
|
|
@@ -2549,6 +3231,19 @@ declare function resolveAppeal(context: TransportContext, input: {
|
|
|
2549
3231
|
readonly body: AppealResolveRequest;
|
|
2550
3232
|
}): Promise<AppealResolveSignedResponse>;
|
|
2551
3233
|
//#endregion
|
|
3234
|
+
//#region src/admin/content-reports.d.ts
|
|
3235
|
+
declare function listAdminContentReports(context: TransportContext, input: {
|
|
3236
|
+
readonly bearer: string;
|
|
3237
|
+
readonly status?: "open" | "acknowledged" | "dismissed" | "all";
|
|
3238
|
+
readonly limit?: number;
|
|
3239
|
+
readonly offset?: number;
|
|
3240
|
+
}): Promise<AdminAppContentReportListResponse>;
|
|
3241
|
+
declare function triageAdminContentReport(context: TransportContext, input: {
|
|
3242
|
+
readonly bearer: string;
|
|
3243
|
+
readonly reportId: string;
|
|
3244
|
+
readonly status: "acknowledged" | "dismissed";
|
|
3245
|
+
}): Promise<AppContentReport>;
|
|
3246
|
+
//#endregion
|
|
2552
3247
|
//#region src/admin/developers.d.ts
|
|
2553
3248
|
declare function listDeveloperRequests(context: TransportContext, input: {
|
|
2554
3249
|
readonly bearer: string;
|
|
@@ -2564,6 +3259,12 @@ declare function listDevelopers(context: TransportContext, input: {
|
|
|
2564
3259
|
readonly bearer: string;
|
|
2565
3260
|
}): Promise<AdminDeveloperListResponse>;
|
|
2566
3261
|
//#endregion
|
|
3262
|
+
//#region src/admin/inventory-vault.d.ts
|
|
3263
|
+
declare function forceWithdrawVaultCustody(context: TransportContext, input: {
|
|
3264
|
+
readonly bearer: string;
|
|
3265
|
+
readonly custodyId: string;
|
|
3266
|
+
}): Promise<InventoryVaultForceWithdrawResponse>;
|
|
3267
|
+
//#endregion
|
|
2567
3268
|
//#region src/admin/payments.d.ts
|
|
2568
3269
|
declare function getPlatformFees(context: TransportContext, input: {
|
|
2569
3270
|
readonly bearer: string;
|
|
@@ -2682,6 +3383,102 @@ declare function getAppPage(context: TransportContext, input: {
|
|
|
2682
3383
|
readonly slug: string;
|
|
2683
3384
|
}): Promise<PublicAppPage>;
|
|
2684
3385
|
//#endregion
|
|
3386
|
+
//#region src/catalog/bip-updates.d.ts
|
|
3387
|
+
declare function listBipUpdates(context: TransportContext, input: {
|
|
3388
|
+
readonly bearer?: string;
|
|
3389
|
+
readonly slug: string;
|
|
3390
|
+
readonly limit?: number;
|
|
3391
|
+
readonly offset?: number;
|
|
3392
|
+
}): Promise<BipUpdateListResponse>;
|
|
3393
|
+
declare function listBipUpdateComments(context: TransportContext, input: {
|
|
3394
|
+
readonly bearer?: string;
|
|
3395
|
+
readonly slug: string;
|
|
3396
|
+
readonly updateId: string;
|
|
3397
|
+
readonly limit?: number;
|
|
3398
|
+
readonly offset?: number;
|
|
3399
|
+
}): Promise<BipUpdateCommentListResponse>;
|
|
3400
|
+
declare function getMyBipUpdateReactions(context: TransportContext, input: {
|
|
3401
|
+
readonly bearer: string;
|
|
3402
|
+
readonly slug: string;
|
|
3403
|
+
}): Promise<MyBipUpdateReactionsResponse>;
|
|
3404
|
+
declare function setBipUpdateReaction(context: TransportContext, input: {
|
|
3405
|
+
readonly bearer: string;
|
|
3406
|
+
readonly slug: string;
|
|
3407
|
+
readonly updateId: string;
|
|
3408
|
+
readonly body: SetBipUpdateReactionRequest;
|
|
3409
|
+
}): Promise<SetBipUpdateReactionResponse>;
|
|
3410
|
+
declare function commentOnBipUpdate(context: TransportContext, input: {
|
|
3411
|
+
readonly bearer: string;
|
|
3412
|
+
readonly slug: string;
|
|
3413
|
+
readonly updateId: string;
|
|
3414
|
+
readonly body: string;
|
|
3415
|
+
}): Promise<CreateBipUpdateCommentResponse>;
|
|
3416
|
+
declare function deleteBipUpdateComment(context: TransportContext, input: {
|
|
3417
|
+
readonly bearer: string;
|
|
3418
|
+
readonly slug: string;
|
|
3419
|
+
readonly commentId: string;
|
|
3420
|
+
}): Promise<DeleteBipUpdateCommentResponse>;
|
|
3421
|
+
declare function listDeveloperBipUpdates(context: TransportContext, input: {
|
|
3422
|
+
readonly bearer: string;
|
|
3423
|
+
readonly appId: string;
|
|
3424
|
+
readonly limit?: number;
|
|
3425
|
+
readonly offset?: number;
|
|
3426
|
+
}): Promise<BipUpdateListResponse>;
|
|
3427
|
+
declare function createBipUpdate(context: TransportContext, input: {
|
|
3428
|
+
readonly bearer: string;
|
|
3429
|
+
readonly appId: string;
|
|
3430
|
+
readonly body: CreateBipUpdateRequest;
|
|
3431
|
+
}): Promise<BipUpdate>;
|
|
3432
|
+
declare function updateBipUpdate(context: TransportContext, input: {
|
|
3433
|
+
readonly bearer: string;
|
|
3434
|
+
readonly appId: string;
|
|
3435
|
+
readonly updateId: string;
|
|
3436
|
+
readonly body: UpdateBipUpdateRequest;
|
|
3437
|
+
}): Promise<BipUpdate>;
|
|
3438
|
+
declare function deleteBipUpdate(context: TransportContext, input: {
|
|
3439
|
+
readonly bearer: string;
|
|
3440
|
+
readonly appId: string;
|
|
3441
|
+
readonly updateId: string;
|
|
3442
|
+
}): Promise<DeleteBipUpdateResponse>;
|
|
3443
|
+
declare function uploadBipUpdateMedia(context: TransportContext, input: {
|
|
3444
|
+
readonly bearer: string;
|
|
3445
|
+
readonly appId: string;
|
|
3446
|
+
readonly file: Blob;
|
|
3447
|
+
readonly filename: string;
|
|
3448
|
+
readonly contentType: string;
|
|
3449
|
+
}): Promise<BipUpdateMediaUploadResponse>;
|
|
3450
|
+
declare function getBipInterestCount(context: TransportContext, input: {
|
|
3451
|
+
readonly bearer?: string;
|
|
3452
|
+
readonly slug: string;
|
|
3453
|
+
}): Promise<BipInterestCountResponse>;
|
|
3454
|
+
declare function getMyBipEngagement(context: TransportContext, input: {
|
|
3455
|
+
readonly bearer: string;
|
|
3456
|
+
readonly slug: string;
|
|
3457
|
+
}): Promise<BipEngagementResponse>;
|
|
3458
|
+
declare function registerBipInterest(context: TransportContext, input: {
|
|
3459
|
+
readonly bearer: string;
|
|
3460
|
+
readonly slug: string;
|
|
3461
|
+
readonly interested: boolean;
|
|
3462
|
+
}): Promise<BipEngagementResponse>;
|
|
3463
|
+
declare function subscribeBipUpdates(context: TransportContext, input: {
|
|
3464
|
+
readonly bearer: string;
|
|
3465
|
+
readonly slug: string;
|
|
3466
|
+
readonly subscribed: boolean;
|
|
3467
|
+
}): Promise<BipEngagementResponse>;
|
|
3468
|
+
//#endregion
|
|
3469
|
+
//#region src/catalog/build-in-public.d.ts
|
|
3470
|
+
declare function getBipDirectory(context: TransportContext, input: {
|
|
3471
|
+
readonly bearer?: string;
|
|
3472
|
+
readonly genre?: string;
|
|
3473
|
+
readonly q?: string;
|
|
3474
|
+
readonly before?: string;
|
|
3475
|
+
readonly limit?: number;
|
|
3476
|
+
}): Promise<LibraryListResponse>;
|
|
3477
|
+
declare function getBipPage(context: TransportContext, input: {
|
|
3478
|
+
readonly bearer?: string;
|
|
3479
|
+
readonly slug: string;
|
|
3480
|
+
}): Promise<PublicBipPage>;
|
|
3481
|
+
//#endregion
|
|
2685
3482
|
//#region src/catalog/content-reports.d.ts
|
|
2686
3483
|
declare function submitAppContentReport(context: TransportContext, input: {
|
|
2687
3484
|
readonly appId: string;
|
|
@@ -2726,6 +3523,41 @@ declare function deleteMyGameReview(context: TransportContext, input: {
|
|
|
2726
3523
|
readonly slug: string;
|
|
2727
3524
|
readonly bearer: string;
|
|
2728
3525
|
}): Promise<MyReviewResponse>;
|
|
3526
|
+
declare function getMyGameReviewReactions(context: TransportContext, input: {
|
|
3527
|
+
readonly slug: string;
|
|
3528
|
+
readonly bearer: string;
|
|
3529
|
+
}): Promise<MyReviewReactionsResponse>;
|
|
3530
|
+
declare function setMyGameReviewReaction(context: TransportContext, input: {
|
|
3531
|
+
readonly slug: string;
|
|
3532
|
+
readonly reviewId: string;
|
|
3533
|
+
readonly bearer: string;
|
|
3534
|
+
readonly reaction: SetReviewReactionRequest;
|
|
3535
|
+
}): Promise<SetReviewReactionResponse>;
|
|
3536
|
+
declare function tipGameReview(context: TransportContext, input: {
|
|
3537
|
+
readonly slug: string;
|
|
3538
|
+
readonly reviewId: string;
|
|
3539
|
+
readonly bearer: string;
|
|
3540
|
+
readonly tip: TipReviewRequest;
|
|
3541
|
+
readonly idempotencyKey?: string;
|
|
3542
|
+
}): Promise<TipReviewResponse>;
|
|
3543
|
+
declare function listGameReviewComments(context: TransportContext, input: {
|
|
3544
|
+
readonly slug: string;
|
|
3545
|
+
readonly reviewId: string;
|
|
3546
|
+
readonly bearer?: string;
|
|
3547
|
+
readonly limit?: number;
|
|
3548
|
+
readonly offset?: number;
|
|
3549
|
+
}): Promise<ReviewCommentListResponse>;
|
|
3550
|
+
declare function commentOnGameReview(context: TransportContext, input: {
|
|
3551
|
+
readonly slug: string;
|
|
3552
|
+
readonly reviewId: string;
|
|
3553
|
+
readonly bearer: string;
|
|
3554
|
+
readonly comment: CreateReviewCommentRequest;
|
|
3555
|
+
}): Promise<CreateReviewCommentResponse>;
|
|
3556
|
+
declare function deleteGameReviewComment(context: TransportContext, input: {
|
|
3557
|
+
readonly slug: string;
|
|
3558
|
+
readonly commentId: string;
|
|
3559
|
+
readonly bearer: string;
|
|
3560
|
+
}): Promise<DeleteReviewCommentResponse>;
|
|
2729
3561
|
declare function replyToGameReview(context: TransportContext, input: {
|
|
2730
3562
|
readonly appId: string;
|
|
2731
3563
|
readonly reviewId: string;
|
|
@@ -2817,6 +3649,9 @@ declare function getPaymentHistory(context: TransportContext, input: {
|
|
|
2817
3649
|
readonly before?: string;
|
|
2818
3650
|
}): Promise<PaymentHistoryResponse>;
|
|
2819
3651
|
//#endregion
|
|
3652
|
+
//#region src/dashboard/rates.d.ts
|
|
3653
|
+
declare function getPaymentRates(context: TransportContext): Promise<PaymentRatesResponse>;
|
|
3654
|
+
//#endregion
|
|
2820
3655
|
//#region src/developer/api-keys.d.ts
|
|
2821
3656
|
declare function createDeveloperApiKey(context: TransportContext, input: {
|
|
2822
3657
|
readonly bearer: string;
|
|
@@ -2954,6 +3789,53 @@ declare function updateDeveloperAppContentReportStatus(context: TransportContext
|
|
|
2954
3789
|
readonly status: "acknowledged" | "dismissed";
|
|
2955
3790
|
}): Promise<AppContentReport>;
|
|
2956
3791
|
//#endregion
|
|
3792
|
+
//#region src/developer/inventory.d.ts
|
|
3793
|
+
declare function quoteDeveloperAppInventoryRegistration(context: TransportContext, input: {
|
|
3794
|
+
readonly bearer: string;
|
|
3795
|
+
readonly appId: string;
|
|
3796
|
+
readonly registration: InventoryItemRegistrationInput;
|
|
3797
|
+
}): Promise<InventoryRegistrationQuote>;
|
|
3798
|
+
declare function registerDeveloperAppInventoryItem(context: TransportContext, input: {
|
|
3799
|
+
readonly bearer: string;
|
|
3800
|
+
readonly appId: string;
|
|
3801
|
+
readonly registration: InventoryItemRegistrationInput;
|
|
3802
|
+
}): Promise<InventoryItemRegistrationResult>;
|
|
3803
|
+
declare function listDeveloperAppInventoryCollections(context: TransportContext, input: {
|
|
3804
|
+
readonly bearer: string;
|
|
3805
|
+
readonly appId: string;
|
|
3806
|
+
}): Promise<InventoryCollectionListResponse>;
|
|
3807
|
+
declare function listDeveloperAppInventoryItems(context: TransportContext, input: {
|
|
3808
|
+
readonly bearer: string;
|
|
3809
|
+
readonly appId: string;
|
|
3810
|
+
}): Promise<InventoryItemListResponse>;
|
|
3811
|
+
declare function createDeveloperAppMintPermit(context: TransportContext, input: {
|
|
3812
|
+
readonly bearer: string;
|
|
3813
|
+
readonly appId: string;
|
|
3814
|
+
readonly itemId: string;
|
|
3815
|
+
readonly grant: InventoryMintPermitCreateInput;
|
|
3816
|
+
}): Promise<InventoryMintPermitRecord>;
|
|
3817
|
+
declare function getDeveloperAppInventoryItemHolders(context: TransportContext, input: {
|
|
3818
|
+
readonly bearer: string;
|
|
3819
|
+
readonly appId: string;
|
|
3820
|
+
readonly itemId: string;
|
|
3821
|
+
}): Promise<InventoryItemHoldersResponse>;
|
|
3822
|
+
declare function uploadDeveloperAppInventoryItemImage(context: TransportContext, input: {
|
|
3823
|
+
readonly bearer: string;
|
|
3824
|
+
readonly appId: string;
|
|
3825
|
+
readonly itemId: string;
|
|
3826
|
+
readonly file: Blob | ArrayBufferView | ArrayBuffer;
|
|
3827
|
+
readonly filename: string;
|
|
3828
|
+
readonly contentType: string;
|
|
3829
|
+
}): Promise<InventoryItemRecord>;
|
|
3830
|
+
declare function uploadDeveloperAppInventoryItemBanner(context: TransportContext, input: {
|
|
3831
|
+
readonly bearer: string;
|
|
3832
|
+
readonly appId: string;
|
|
3833
|
+
readonly itemId: string;
|
|
3834
|
+
readonly file: Blob | ArrayBufferView | ArrayBuffer;
|
|
3835
|
+
readonly filename: string;
|
|
3836
|
+
readonly contentType: string;
|
|
3837
|
+
}): Promise<InventoryItemRecord>;
|
|
3838
|
+
//#endregion
|
|
2957
3839
|
//#region src/developer/pages.d.ts
|
|
2958
3840
|
declare function getDeveloperAppPage(context: TransportContext, input: {
|
|
2959
3841
|
readonly bearer: string;
|
|
@@ -3012,6 +3894,19 @@ declare function unpublishAppPage(context: TransportContext, input: {
|
|
|
3012
3894
|
readonly bearer: string;
|
|
3013
3895
|
readonly appId: string;
|
|
3014
3896
|
}): Promise<AppPageDraft>;
|
|
3897
|
+
declare function setAppPageBip(context: TransportContext, input: {
|
|
3898
|
+
readonly bearer: string;
|
|
3899
|
+
readonly appId: string;
|
|
3900
|
+
readonly body: AppPageBipToggle;
|
|
3901
|
+
}): Promise<AppPageDraft>;
|
|
3902
|
+
declare function submitAppPageBipForReview(context: TransportContext, input: {
|
|
3903
|
+
readonly bearer: string;
|
|
3904
|
+
readonly appId: string;
|
|
3905
|
+
}): Promise<AppPageDraft>;
|
|
3906
|
+
declare function unpublishAppPageBip(context: TransportContext, input: {
|
|
3907
|
+
readonly bearer: string;
|
|
3908
|
+
readonly appId: string;
|
|
3909
|
+
}): Promise<AppPageDraft>;
|
|
3015
3910
|
//#endregion
|
|
3016
3911
|
//#region src/developer/participants.d.ts
|
|
3017
3912
|
declare function listDeveloperAppParticipants(context: TransportContext, input: {
|
|
@@ -3078,6 +3973,68 @@ declare function uploadMultipart(context: TransportContext, input: {
|
|
|
3078
3973
|
readonly contentType: string;
|
|
3079
3974
|
}): Promise<unknown>;
|
|
3080
3975
|
//#endregion
|
|
3976
|
+
//#region src/developer/vault.d.ts
|
|
3977
|
+
declare function createDeveloperVaultPermit(context: TransportContext, input: {
|
|
3978
|
+
readonly bearer: string;
|
|
3979
|
+
readonly appId: string;
|
|
3980
|
+
readonly itemId: string;
|
|
3981
|
+
readonly grant: InventoryVaultPermitCreateInput;
|
|
3982
|
+
}): Promise<InventoryVaultPermitRecord>;
|
|
3983
|
+
declare function createDeveloperWithdrawPermit(context: TransportContext, input: {
|
|
3984
|
+
readonly bearer: string;
|
|
3985
|
+
readonly appId: string;
|
|
3986
|
+
readonly itemId: string;
|
|
3987
|
+
readonly grant: InventoryWithdrawPermitCreateInput;
|
|
3988
|
+
}): Promise<InventoryVaultPermitRecord>;
|
|
3989
|
+
//#endregion
|
|
3990
|
+
//#region src/events/inventory-socket.d.ts
|
|
3991
|
+
declare const inventoryUpdateEventSchema: z.ZodObject<{
|
|
3992
|
+
event: z.ZodLiteral<"inventory.updated">;
|
|
3993
|
+
deliveredAt: z.ZodString;
|
|
3994
|
+
environment: z.ZodEnum<{
|
|
3995
|
+
development: "development";
|
|
3996
|
+
production: "production";
|
|
3997
|
+
}>;
|
|
3998
|
+
subject: z.ZodString;
|
|
3999
|
+
collectionId: z.ZodString;
|
|
4000
|
+
collectionAddress: z.ZodString;
|
|
4001
|
+
chain: z.ZodString;
|
|
4002
|
+
kind: z.ZodEnum<{
|
|
4003
|
+
erc721: "erc721";
|
|
4004
|
+
erc1155: "erc1155";
|
|
4005
|
+
}>;
|
|
4006
|
+
tokenId: z.ZodString;
|
|
4007
|
+
direction: z.ZodEnum<{
|
|
4008
|
+
credit: "credit";
|
|
4009
|
+
debit: "debit";
|
|
4010
|
+
}>;
|
|
4011
|
+
amount: z.ZodString;
|
|
4012
|
+
balance: z.ZodString;
|
|
4013
|
+
}, z.core.$strip>;
|
|
4014
|
+
type InventoryUpdateEvent = z.infer<typeof inventoryUpdateEventSchema>;
|
|
4015
|
+
type OauthInventoryEventsSubscriberLifecycle = {
|
|
4016
|
+
onOpen?: () => void;
|
|
4017
|
+
onSubscribed?: (appId: string) => void;
|
|
4018
|
+
onMessage: (body: InventoryUpdateEvent) => void | Promise<void>;
|
|
4019
|
+
onClose?: (error: TronWsCloseError) => void;
|
|
4020
|
+
onError?: (error: Error) => void;
|
|
4021
|
+
};
|
|
4022
|
+
type OauthInventoryEventsSubscriberOptions = {
|
|
4023
|
+
readonly issuer: string;
|
|
4024
|
+
readonly clientId: string;
|
|
4025
|
+
readonly clientSecret: string;
|
|
4026
|
+
readonly logger?: Logger;
|
|
4027
|
+
readonly lifecycle: OauthInventoryEventsSubscriberLifecycle;
|
|
4028
|
+
readonly initialBackoffMs?: number;
|
|
4029
|
+
readonly maxBackoffMs?: number;
|
|
4030
|
+
readonly shouldReconnect?: (error: TronWsCloseError) => boolean;
|
|
4031
|
+
readonly WebSocketImpl?: typeof globalThis.WebSocket;
|
|
4032
|
+
};
|
|
4033
|
+
type OauthInventoryEventsSubscriber = {
|
|
4034
|
+
readonly stop: () => void;
|
|
4035
|
+
};
|
|
4036
|
+
declare function startOauthInventoryEventsSubscriber(options: OauthInventoryEventsSubscriberOptions): OauthInventoryEventsSubscriber;
|
|
4037
|
+
//#endregion
|
|
3081
4038
|
//#region src/webhook/verify.d.ts
|
|
3082
4039
|
declare const oauthPaymentWebhookBodySchema: z.ZodObject<{
|
|
3083
4040
|
event: z.ZodEnum<{
|
|
@@ -3152,6 +4109,7 @@ type OauthPaymentEventsSubscriberOptions = {
|
|
|
3152
4109
|
readonly maxBackoffMs?: number;
|
|
3153
4110
|
readonly shouldReconnect?: (error: TronWsCloseError) => boolean;
|
|
3154
4111
|
readonly WebSocketImpl?: typeof globalThis.WebSocket;
|
|
4112
|
+
readonly disableEventAck?: boolean;
|
|
3155
4113
|
};
|
|
3156
4114
|
type OauthPaymentEventsSubscriber = {
|
|
3157
4115
|
readonly stop: () => void;
|
|
@@ -3166,12 +4124,55 @@ declare function listInventoryForApp(context: TransportContext, input: {
|
|
|
3166
4124
|
readonly bearer: string;
|
|
3167
4125
|
}): Promise<InventoryListResponse>;
|
|
3168
4126
|
//#endregion
|
|
4127
|
+
//#region src/inventory/nft-transfer.d.ts
|
|
4128
|
+
declare function quoteNftTransfer(context: TransportContext, input: {
|
|
4129
|
+
readonly bearer: string;
|
|
4130
|
+
readonly body: InventoryNftTransferQuoteRequest;
|
|
4131
|
+
}): Promise<InventoryNftTransferQuoteResponse>;
|
|
4132
|
+
declare function executeNftTransfer(context: TransportContext, input: {
|
|
4133
|
+
readonly bearer: string;
|
|
4134
|
+
readonly body: InventoryNftTransferRequest;
|
|
4135
|
+
}): Promise<InventoryNftTransferResponse>;
|
|
4136
|
+
//#endregion
|
|
4137
|
+
//#region src/inventory/permits.d.ts
|
|
4138
|
+
declare function listInventoryMintPermits(context: TransportContext, input: {
|
|
4139
|
+
readonly bearer: string;
|
|
4140
|
+
}): Promise<InventoryPendingPermitListResponse>;
|
|
4141
|
+
declare function redeemInventoryMintPermit(context: TransportContext, input: {
|
|
4142
|
+
readonly bearer: string;
|
|
4143
|
+
readonly permitId: string;
|
|
4144
|
+
}): Promise<InventoryPermitRedeemResult>;
|
|
4145
|
+
//#endregion
|
|
3169
4146
|
//#region src/inventory/request-mint.d.ts
|
|
3170
4147
|
declare function requestMint(context: TransportContext, input: {
|
|
3171
4148
|
readonly appBearer: string;
|
|
3172
4149
|
readonly body: MintRequestInput;
|
|
3173
4150
|
}): Promise<MintRequestResult>;
|
|
3174
4151
|
//#endregion
|
|
4152
|
+
//#region src/inventory/vault.d.ts
|
|
4153
|
+
declare function listInventoryVaultPermits(context: TransportContext, input: {
|
|
4154
|
+
readonly bearer: string;
|
|
4155
|
+
}): Promise<InventoryPendingVaultPermitListResponse>;
|
|
4156
|
+
declare function signInventoryVaultPermit(context: TransportContext, input: {
|
|
4157
|
+
readonly bearer: string;
|
|
4158
|
+
readonly permitId: string;
|
|
4159
|
+
}): Promise<InventorySignedVaultPermit>;
|
|
4160
|
+
declare function quoteRelayedVaultPermit(context: TransportContext, input: {
|
|
4161
|
+
readonly bearer: string;
|
|
4162
|
+
readonly permitId: string;
|
|
4163
|
+
}): Promise<InventoryRelayedVaultQuoteResponse>;
|
|
4164
|
+
declare function submitRelayedVaultPermit(context: TransportContext, input: {
|
|
4165
|
+
readonly bearer: string;
|
|
4166
|
+
readonly permitId: string;
|
|
4167
|
+
readonly body: InventoryRelayedVaultSubmitRequest;
|
|
4168
|
+
}): Promise<InventoryRelayedVaultSubmitResponse>;
|
|
4169
|
+
declare function listInventoryVaulted(context: TransportContext, input: {
|
|
4170
|
+
readonly bearer: string;
|
|
4171
|
+
}): Promise<InventoryVaultCustodyListResponse>;
|
|
4172
|
+
declare function listOauthInventoryVaulted(context: TransportContext, input: {
|
|
4173
|
+
readonly bearer: string;
|
|
4174
|
+
}): Promise<InventoryVaultCustodyListResponse>;
|
|
4175
|
+
//#endregion
|
|
3175
4176
|
//#region src/messaging/dm-key-backup.d.ts
|
|
3176
4177
|
declare function getDmKeyBackupStatus(context: TransportContext, input: {
|
|
3177
4178
|
readonly bearer: string;
|
|
@@ -3438,6 +4439,15 @@ declare function denyPaymentIntent(context: TransportContext, input: {
|
|
|
3438
4439
|
readonly bearer: string;
|
|
3439
4440
|
readonly intentId: string;
|
|
3440
4441
|
}): Promise<OauthPaymentIntentResolveResponse>;
|
|
4442
|
+
declare function preparePaymentIntentSolana(context: TransportContext, input: {
|
|
4443
|
+
readonly bearer: string;
|
|
4444
|
+
readonly intentId: string;
|
|
4445
|
+
}): Promise<OauthPaymentIntentSolanaPrepareResponse>;
|
|
4446
|
+
declare function completePaymentIntentSolana(context: TransportContext, input: {
|
|
4447
|
+
readonly bearer: string;
|
|
4448
|
+
readonly intentId: string;
|
|
4449
|
+
readonly body: OauthPaymentIntentSolanaCompleteRequest;
|
|
4450
|
+
}): Promise<OauthPaymentIntentResolveResponse>;
|
|
3441
4451
|
//#endregion
|
|
3442
4452
|
//#region src/payments/limits.d.ts
|
|
3443
4453
|
declare function getPaymentLimits(context: TransportContext, input: {
|
|
@@ -3486,6 +4496,22 @@ declare function createTronDeposit(context: TransportContext, input: {
|
|
|
3486
4496
|
readonly bearer: string;
|
|
3487
4497
|
readonly body: TronDepositRequest;
|
|
3488
4498
|
}): Promise<TronDepositResponse>;
|
|
4499
|
+
declare function createTronTransfer(context: TransportContext, input: {
|
|
4500
|
+
readonly bearer: string;
|
|
4501
|
+
readonly body: TronTransferRequest;
|
|
4502
|
+
readonly idempotencyKey?: string;
|
|
4503
|
+
}): Promise<TronTransferResponse>;
|
|
4504
|
+
declare function getTronSecurity(context: TransportContext, input: {
|
|
4505
|
+
readonly bearer: string;
|
|
4506
|
+
}): Promise<TronSecuritySetting>;
|
|
4507
|
+
declare function setTronSecurity(context: TransportContext, input: {
|
|
4508
|
+
readonly bearer: string;
|
|
4509
|
+
readonly setting: TronSecuritySetting;
|
|
4510
|
+
}): Promise<TronSecuritySetting>;
|
|
4511
|
+
declare function createTronTransferChallenge(context: TransportContext, input: {
|
|
4512
|
+
readonly bearer: string;
|
|
4513
|
+
readonly body: TronTransferChallengeRequest;
|
|
4514
|
+
}): Promise<TronTransferChallengeResponse>;
|
|
3489
4515
|
declare function createTronConnectOnboarding(context: TransportContext, input: {
|
|
3490
4516
|
readonly bearer: string;
|
|
3491
4517
|
}): Promise<TronConnectOnboardingResponse>;
|
|
@@ -3660,6 +4686,10 @@ declare function sendFriendRequest(context: TransportContext, input: {
|
|
|
3660
4686
|
readonly bearer: string;
|
|
3661
4687
|
readonly userId: string;
|
|
3662
4688
|
}): Promise<void>;
|
|
4689
|
+
declare function removeFriend(context: TransportContext, input: {
|
|
4690
|
+
readonly bearer: string;
|
|
4691
|
+
readonly userId: string;
|
|
4692
|
+
}): Promise<void>;
|
|
3663
4693
|
declare function decideFriendRequest(context: TransportContext, input: {
|
|
3664
4694
|
readonly bearer: string;
|
|
3665
4695
|
readonly requestId: string;
|
|
@@ -3672,6 +4702,9 @@ declare function cancelFriendRequest(context: TransportContext, input: {
|
|
|
3672
4702
|
declare function listFriends(context: TransportContext, input: {
|
|
3673
4703
|
readonly bearer: string;
|
|
3674
4704
|
}): Promise<FriendListResponse>;
|
|
4705
|
+
declare function listFriendsForApp(context: TransportContext, input: {
|
|
4706
|
+
readonly bearer: string;
|
|
4707
|
+
}): Promise<AppFriendListResponse>;
|
|
3675
4708
|
//#endregion
|
|
3676
4709
|
//#region src/reads/socials.d.ts
|
|
3677
4710
|
declare function listSocials(context: TransportContext, input: {
|
|
@@ -3798,6 +4831,7 @@ declare class TronNodeClient {
|
|
|
3798
4831
|
};
|
|
3799
4832
|
};
|
|
3800
4833
|
subscribeOauthPaymentEvents(lifecycle: OauthPaymentEventsSubscriberLifecycle): OauthPaymentEventsSubscriber;
|
|
4834
|
+
subscribeOauthInventoryEvents(lifecycle: OauthInventoryEventsSubscriberLifecycle): OauthInventoryEventsSubscriber;
|
|
3801
4835
|
get users(): {
|
|
3802
4836
|
get: (input: {
|
|
3803
4837
|
bearer?: string;
|
|
@@ -3898,6 +4932,11 @@ declare class TronNodeClient {
|
|
|
3898
4932
|
body: MintRequestInput;
|
|
3899
4933
|
}) => Promise<MintRequestResult>;
|
|
3900
4934
|
};
|
|
4935
|
+
get friends(): {
|
|
4936
|
+
list: (input: {
|
|
4937
|
+
bearer: string;
|
|
4938
|
+
}) => Promise<AppFriendListResponse>;
|
|
4939
|
+
};
|
|
3901
4940
|
get socials(): {
|
|
3902
4941
|
list: (input: {
|
|
3903
4942
|
bearer: string;
|
|
@@ -3919,4 +4958,4 @@ declare class TronNodeClient {
|
|
|
3919
4958
|
};
|
|
3920
4959
|
}
|
|
3921
4960
|
//#endregion
|
|
3922
|
-
export { AppTokenCache, AuthorizeUrl, type BrowserClientConfig, BuildAuthorizeUrlInput, ChargeResult, type FetchLike, GameHalfCredentials, HttpsGuardOptions, InflightDedup, type Logger, MountPresenceWidgetOptions, NOOP_RATE_LIMITER, type NodeClientConfig, OauthErrorCode, OauthPaymentEventsSubscriber, OauthPaymentEventsSubscriberLifecycle, OauthPaymentEventsSubscriberOptions, OauthPaymentWebhookBody, type OauthScope, PkcePair, PlaySessionGameStatus, PresenceStatus, PresenceWidgetHandle, RateLimitOptions, RateLimiter, RequestOptions, SERVER_RATE_LIMIT_MAX_MUTATING, SERVER_RATE_LIMIT_MAX_READ, SERVER_RATE_LIMIT_WINDOW_MS, type SdkBaseConfig, TRON_WS_CLOSE_CODES, type TokenSet, type TokenStore, TransportContext, TronError, TronNodeClient, TronOauthError, TronWsCloseCode, TronWsCloseError, VerifyWebhookFailure, VerifyWebhookInput, VerifyWebhookResult, VerifyWebhookSuccess, WEBHOOK_SIGNATURE_HEADER, WEBHOOK_TIMESTAMP_HEADER, acceptDeveloperInvite, addAdmin, addAppealBlacklist, addReaction, approveTronCashout, assertSecureIssuer, batchThreadDmKeys, bindReferral, buildAuthorizeUrl, cancelFriendRequest, cancelPot, charge, chargeTronDirect, chargeTronPot, completePaymentIntent, confirmPlaySession, consolidateDeveloperAppWallet, createAppTokenCache, createConsoleLogger, 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, distributePot, distributeTronPot, editMessage, endPlaySession, exchangeAuthorizationCode, fetchAuthorizationServerMetadata, fetchUserInfo, fileAppeal, fileAppealPotLeg, followUser, generatePkce, generateState, getActivity, getActivityGroup, getAdminAppealRoom, getAppFeeConfig, getAppPage, getAppPageChanges, getAppealRoom, getDelegation, getDeveloperAppActivity, getDeveloperAppBalances, getDeveloperAppEarnings, getDeveloperAppOverview, getDeveloperAppPage, getDeveloperAppPlaytime, getDeveloperAppTronBalance, getDeveloperAppWallets, getDeveloperPaymentAppeals, getDeveloperPaymentPendingDeposits, getDeveloperStatus, getDeveloperTronBalanceSummary, getDmKeyBackupStatus, getIntentStatus, getLibrary, getMoonpayAvailability, getMyDmKey, getMyGameReview, getOutstanding, getPaymentChains, getPaymentHistory, getPaymentIntent, getPaymentLimits, getPaymentPrice, getPlatformFees, getPlaytime, getPlaytimeTimeseries, getPublicProfile, getReferral, getThreadDmKey, getTronBalance, getTronGameBalance, heartbeatPlaySession, hideAppPage, hideThread, inviteDeveloperAppParticipant, inviteParticipants, leaveThread, listActivePlayers, listAdmins, listAppPages, listAppealBlacklist, listAppealQueue, listAudit, listDeveloperApiKeys, listDeveloperAppContentReports, listDeveloperAppParticipants, listDeveloperAppReviews, listDeveloperInvites, listDeveloperRequests, listDevelopers, listFriends, listGameReviews, listInventory, listInventoryForApp, listNotifications, listPaymentAuthorizations, listSocials, listThreadMessages, listThreads, listTronCashoutQueue, listTronCashouts, listTronLedger, listUsers, listWalletManager, listWallets, markAllNotificationsRead, markThreadRead, mintClientCredentialsToken, mintMoonpayBuyUrl, mintMoonpaySellUrl, mountPresenceWidget, oauthPaymentWebhookBodySchema, parseJson, pinThread, postAdminAppealRoomMessage, postAppealRoomMessage, previewReferral, provisionDeveloperAppWallet, publishDmKey, refreshAccessToken, registerOauthClient, rejectTronCashout, removeAdmin, removeAppealBlacklist, removeParticipant, removeReaction, replyToGameReview, requestDeveloperAppProduction, requestMint, requestPayout, resolveAppeal, reviewAppPage, reviewAppPageChanges, reviewDeveloperRequest, revokeDeveloperApiKey, revokeDeveloperAppParticipant, revokePaymentAuthorization, revokeToken, rotateDeveloperAppKey, rotateDeveloperAppPaymentWebhookSecret, rotateProcessorTreasury, searchGiphy, searchUsers, send, sendFriendRequest, sendJson, sendMessage, sendPresenceHeartbeat, setProcessorWhitelist, setVaultOperator, setVaultPause, setVaultWithdrawLockDefault, setVaultWithdrawLockOverride, setupDmKeyBackup, sha256Base64Url, signPaymentIntent, startOauthPaymentEventsSubscriber, 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 };
|
|
4961
|
+
export { AppTokenCache, AuthorizeUrl, type BrowserClientConfig, BuildAuthorizeUrlInput, ChargeResult, type FetchLike, GameHalfCredentials, HttpsGuardOptions, InflightDedup, InventoryUpdateEvent, type Logger, MountPresenceWidgetOptions, NOOP_RATE_LIMITER, type NodeClientConfig, OauthErrorCode, OauthInventoryEventsSubscriber, OauthInventoryEventsSubscriberLifecycle, OauthInventoryEventsSubscriberOptions, OauthPaymentEventsSubscriber, OauthPaymentEventsSubscriberLifecycle, OauthPaymentEventsSubscriberOptions, OauthPaymentWebhookBody, type OauthScope, PkcePair, PlaySessionGameStatus, PresenceStatus, PresenceWidgetHandle, RateLimitOptions, RateLimiter, RequestOptions, SERVER_RATE_LIMIT_MAX_MUTATING, SERVER_RATE_LIMIT_MAX_READ, SERVER_RATE_LIMIT_WINDOW_MS, type SdkBaseConfig, TRON_WS_CLOSE_CODES, type TokenSet, type TokenStore, TransportContext, TronError, TronNodeClient, TronOauthError, TronWsCloseCode, TronWsCloseError, VerifyWebhookFailure, VerifyWebhookInput, VerifyWebhookResult, VerifyWebhookSuccess, WEBHOOK_SIGNATURE_HEADER, WEBHOOK_TIMESTAMP_HEADER, acceptDeveloperInvite, addAdmin, addAppealBlacklist, addReaction, approveTronCashout, assertSecureIssuer, batchThreadDmKeys, bindReferral, buildAuthorizeUrl, cancelFriendRequest, cancelPot, charge, chargeTronDirect, chargeTronPot, commentOnBipUpdate, commentOnGameReview, completePaymentIntent, completePaymentIntentSolana, confirmPlaySession, consolidateDeveloperAppWallet, createAppTokenCache, createBipUpdate, createConsoleLogger, createDelegation, createDeveloperApiKey, createDeveloperApp, createDeveloperAppMintPermit, createDeveloperVaultPermit, createDeveloperWithdrawPermit, createDirectThread, createInMemoryTokenStore, createInflightDedup, createNoopLogger, createRateLimiter, createReferralCode, createTronCashout, createTronConnectOnboarding, createTronDeposit, createTronTransfer, createTronTransferChallenge, decideFriendRequest, declineDeveloperInvite, defaultEndpoints, deleteAppPageBanner, deleteAppPageThumbnail, deleteAppPageThumbnailVideo, deleteAvatar, deleteBipUpdate, deleteBipUpdateComment, deleteDelegation, deleteDeveloperApp, deleteDeveloperAppLogo, deleteDeveloperProfileLogo, deleteDeveloperRequestLogo, deleteGameReviewComment, deleteGameReviewReply, deleteMessage, deleteMyGameReview, deleteThread, deleteThreadLogo, denyPaymentIntent, distributePot, distributeTronPot, editMessage, endPlaySession, exchangeAuthorizationCode, executeNftTransfer, fetchAuthorizationServerMetadata, fetchUserInfo, fileAppeal, fileAppealPotLeg, followUser, forceWithdrawVaultCustody, generatePkce, generateState, getActivity, getActivityGroup, getAdminAppealRoom, getAppFeeConfig, getAppPage, getAppPageChanges, getAppealRoom, getBipDirectory, getBipInterestCount, getBipPage, getDelegation, getDeveloperAppActivity, getDeveloperAppBalances, getDeveloperAppEarnings, getDeveloperAppInventoryItemHolders, getDeveloperAppOverview, getDeveloperAppPage, getDeveloperAppPlaytime, getDeveloperAppTronBalance, getDeveloperAppWallets, getDeveloperPaymentAppeals, getDeveloperPaymentPendingDeposits, getDeveloperStatus, getDeveloperTronBalanceSummary, getDmKeyBackupStatus, getIntentStatus, getLibrary, getMoonpayAvailability, getMyBipEngagement, getMyBipUpdateReactions, getMyDmKey, getMyGameReview, getMyGameReviewReactions, getOutstanding, getPaymentChains, getPaymentHistory, getPaymentIntent, getPaymentLimits, getPaymentPrice, getPaymentRates, getPlatformFees, getPlaytime, getPlaytimeTimeseries, getPublicProfile, getReferral, getThreadDmKey, getTronBalance, getTronGameBalance, getTronSecurity, heartbeatPlaySession, hideAppPage, hideAppPageBip, hideThread, inventoryUpdateEventSchema, inviteDeveloperAppParticipant, inviteParticipants, leaveThread, listActivePlayers, listAdminContentReports, listAdmins, listAppPages, listAppealBlacklist, listAppealQueue, listAudit, listBipUpdateComments, listBipUpdates, listDeveloperApiKeys, listDeveloperAppContentReports, listDeveloperAppInventoryCollections, listDeveloperAppInventoryItems, listDeveloperAppParticipants, listDeveloperAppReviews, listDeveloperBipUpdates, listDeveloperInvites, listDeveloperRequests, listDevelopers, listFriends, listFriendsForApp, listGameReviewComments, listGameReviews, listInventory, listInventoryForApp, listInventoryMintPermits, listInventoryVaultPermits, listInventoryVaulted, listNotifications, listOauthInventoryVaulted, listPaymentAuthorizations, listSocials, listThreadMessages, listThreads, listTronCashoutQueue, listTronCashouts, listTronLedger, listUsers, listWalletManager, listWallets, markAllNotificationsRead, markThreadRead, mintClientCredentialsToken, mintMoonpayBuyUrl, mintMoonpaySellUrl, mountPresenceWidget, oauthPaymentWebhookBodySchema, parseJson, pinThread, postAdminAppealRoomMessage, postAppealRoomMessage, preparePaymentIntentSolana, previewReferral, provisionDeveloperAppWallet, publishDmKey, quoteDeveloperAppInventoryRegistration, quoteNftTransfer, quoteRelayedVaultPermit, redeemInventoryMintPermit, refreshAccessToken, registerBipInterest, registerDeveloperAppInventoryItem, registerOauthClient, rejectTronCashout, removeAdmin, removeAppealBlacklist, removeFriend, removeParticipant, removeReaction, replyToGameReview, requestDeveloperAppProduction, requestMint, requestPayout, resolveAppeal, reviewAppPage, reviewAppPageBip, reviewAppPageChanges, reviewDeveloperRequest, revokeDeveloperApiKey, revokeDeveloperAppParticipant, revokePaymentAuthorization, revokeToken, rotateDeveloperAppKey, rotateDeveloperAppPaymentWebhookSecret, rotateProcessorTreasury, searchGiphy, searchUsers, send, sendFriendRequest, sendJson, sendMessage, sendPresenceHeartbeat, setAppPageBip, setBipUpdateReaction, setMyGameReviewReaction, setProcessorWhitelist, setTronSecurity, setVaultOperator, setVaultPause, setVaultWithdrawLockDefault, setVaultWithdrawLockOverride, setupDmKeyBackup, sha256Base64Url, signInventoryVaultPermit, signPaymentIntent, startOauthInventoryEventsSubscriber, startOauthPaymentEventsSubscriber, submitAppContentReport, submitAppPageBipForReview, submitAppPageForReview, submitDeveloperRequest, submitRelayedVaultPermit, subscribeBipUpdates, tipGameReview, toTokenSet, triageAdminContentReport, unfollowUser, unhideAppPage, unhideAppPageBip, unlockDmKeyBackup, unpinThread, unpublishAppPage, unpublishAppPageBip, updateAdminRole, updateAppFeeConfig, updateAppPage, updateBipUpdate, updateDeveloperApp, updateDeveloperAppAutoSweep, updateDeveloperAppContentReportStatus, updateDeveloperProfile, updateNotification, updateParticipantRole, updatePaymentAuthorization, updatePlatformFees, updateProfile, updateThreadSettings, updateUserBan, updateWalletLabel, uploadAdminAppealRoomAttachment, uploadAppPageBanner, uploadAppPageGallery, uploadAppPageThumbnail, uploadAppPageThumbnailVideo, uploadAppealRoomAttachment, uploadAttachment, uploadAvatar, uploadBipUpdateMedia, uploadDeveloperAppInventoryItemBanner, uploadDeveloperAppInventoryItemImage, uploadDeveloperAppLogo, uploadDeveloperProfileLogo, uploadDeveloperRequestLogo, uploadMultipart, uploadThreadLogo, upsertMyGameReview, verifyWebhook, withdrawDeveloperAppWallet };
|