@metatrongg/sdk 0.8.0-dev.43c7d53 → 0.8.0-dev.45ada1b
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 +1052 -32
- package/dist/browser/index.js +1 -1
- package/dist/contracts/index.d.ts +12865 -5164
- package/dist/contracts/index.js +1 -1
- package/dist/index.js +1 -1
- package/dist/node/index.d.ts +1132 -57
- package/dist/node/index.js +1 -1
- package/dist/webhook/express.js +1 -1
- package/dist/webhook/fastify.js +1 -1
- package/dist/webhook/hono.js +1 -1
- package/dist/webhook/index.js +1 -1
- package/package.json +4 -3
package/dist/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
|
};
|
|
@@ -384,6 +402,7 @@ type PublicAppPage = {
|
|
|
384
402
|
paymentsMode: AppPagePaymentsMode;
|
|
385
403
|
oauthScopes: Array<string>;
|
|
386
404
|
chains: Array<string>;
|
|
405
|
+
devlog: boolean;
|
|
387
406
|
publishedAt: string;
|
|
388
407
|
updatedAt: string;
|
|
389
408
|
};
|
|
@@ -408,6 +427,7 @@ type AppPageLink = {
|
|
|
408
427
|
order: number;
|
|
409
428
|
};
|
|
410
429
|
type PublicAppPageStudio = {
|
|
430
|
+
ownerUserId: string | null;
|
|
411
431
|
name: string | null;
|
|
412
432
|
logoUrl: string | null;
|
|
413
433
|
websiteUrl: string | null;
|
|
@@ -420,6 +440,121 @@ type AppPageAgeRating = "everyone" | "13_plus" | "16_plus" | "18_plus" | null;
|
|
|
420
440
|
type AppPageLanguages = Array<"en" | "es" | "fr" | "de" | "pt" | "it" | "ru" | "ja" | "ko" | "zh" | "hi" | "ar" | "tr" | "vi" | "id" | "th" | "pl" | "nl">;
|
|
421
441
|
type AppPageReleaseStatus = "live" | "open_beta" | "coming_soon";
|
|
422
442
|
type AppPagePaymentsMode = "tron" | "onchain" | "both" | null;
|
|
443
|
+
type PublicBipPage = {
|
|
444
|
+
appId: string;
|
|
445
|
+
slug: AppPageSlug;
|
|
446
|
+
appName: string;
|
|
447
|
+
appLogoUrl: string | null;
|
|
448
|
+
categories: AppPageCategories;
|
|
449
|
+
tagline: AppPageTagline;
|
|
450
|
+
bannerUrl: string | null;
|
|
451
|
+
discordUrl: string | null;
|
|
452
|
+
twitterUrl: string | null;
|
|
453
|
+
redditUrl: string | null;
|
|
454
|
+
telegramUrl: string | null;
|
|
455
|
+
gallery: AppPageGallery;
|
|
456
|
+
chapters: AppPageChapters;
|
|
457
|
+
links: AppPageLinks;
|
|
458
|
+
studio: PublicAppPageStudio;
|
|
459
|
+
platforms: AppPagePlatforms;
|
|
460
|
+
gameType: AppPageGameType;
|
|
461
|
+
ageRating: AppPageAgeRating;
|
|
462
|
+
languages: AppPageLanguages;
|
|
463
|
+
releaseStatus: AppPageReleaseStatus;
|
|
464
|
+
publishedAt: string;
|
|
465
|
+
updatedAt: string;
|
|
466
|
+
};
|
|
467
|
+
type BipUpdateListResponse = {
|
|
468
|
+
updates: Array<BipUpdate>;
|
|
469
|
+
total: number;
|
|
470
|
+
hasMore: boolean;
|
|
471
|
+
pinned: BipUpdate | null;
|
|
472
|
+
};
|
|
473
|
+
type BipUpdate = {
|
|
474
|
+
id: string;
|
|
475
|
+
appId: string;
|
|
476
|
+
body: BipUpdateBody;
|
|
477
|
+
attachments: BipUpdateAttachments;
|
|
478
|
+
reactions: BipUpdateReactionCounts;
|
|
479
|
+
commentCount: number;
|
|
480
|
+
createdAt: string;
|
|
481
|
+
updatedAt: string;
|
|
482
|
+
pinnedAt: string | null;
|
|
483
|
+
};
|
|
484
|
+
type BipUpdateBody = string;
|
|
485
|
+
type BipUpdateAttachments = Array<BipUpdateAttachment>;
|
|
486
|
+
type BipUpdateAttachment = {
|
|
487
|
+
url: string;
|
|
488
|
+
kind: "image" | "video";
|
|
489
|
+
order: number;
|
|
490
|
+
};
|
|
491
|
+
type BipUpdateReactionCounts = {
|
|
492
|
+
up: number;
|
|
493
|
+
down: number;
|
|
494
|
+
};
|
|
495
|
+
type BipUpdateCommentListResponse = {
|
|
496
|
+
comments: Array<BipUpdateComment>;
|
|
497
|
+
total: number;
|
|
498
|
+
hasMore: boolean;
|
|
499
|
+
};
|
|
500
|
+
type BipUpdateComment = {
|
|
501
|
+
id: string;
|
|
502
|
+
body: BipUpdateCommentBody;
|
|
503
|
+
author: ReviewAuthor;
|
|
504
|
+
createdAt: string;
|
|
505
|
+
};
|
|
506
|
+
type BipUpdateCommentBody = string;
|
|
507
|
+
type ReviewAuthor = {
|
|
508
|
+
userId: string;
|
|
509
|
+
handle: string | null;
|
|
510
|
+
name: string | null;
|
|
511
|
+
avatarUrl: string | null;
|
|
512
|
+
};
|
|
513
|
+
type BipInterestCountResponse = {
|
|
514
|
+
interestCount: number;
|
|
515
|
+
};
|
|
516
|
+
type BipEngagementResponse = {
|
|
517
|
+
interested: boolean;
|
|
518
|
+
subscribed: boolean;
|
|
519
|
+
interestCount: number;
|
|
520
|
+
};
|
|
521
|
+
type MyBipUpdateReactionsResponse = {
|
|
522
|
+
reactions: Array<MyBipUpdateReaction>;
|
|
523
|
+
};
|
|
524
|
+
type MyBipUpdateReaction = {
|
|
525
|
+
updateId: string;
|
|
526
|
+
vote: "up" | "down";
|
|
527
|
+
};
|
|
528
|
+
type SetBipUpdateReactionResponse = {
|
|
529
|
+
reactions: BipUpdateReactionCounts;
|
|
530
|
+
vote: BipUpdateVote;
|
|
531
|
+
};
|
|
532
|
+
type BipUpdateVote = "up" | "down" | null;
|
|
533
|
+
type SetBipUpdateReactionRequest = {
|
|
534
|
+
vote: BipUpdateVote;
|
|
535
|
+
};
|
|
536
|
+
type CreateBipUpdateCommentResponse = {
|
|
537
|
+
comment: BipUpdateComment;
|
|
538
|
+
commentCount: number;
|
|
539
|
+
};
|
|
540
|
+
type DeleteBipUpdateCommentResponse = {
|
|
541
|
+
commentCount: number;
|
|
542
|
+
};
|
|
543
|
+
type CreateBipUpdateRequest = {
|
|
544
|
+
body: BipUpdateBody;
|
|
545
|
+
attachments?: BipUpdateAttachments;
|
|
546
|
+
};
|
|
547
|
+
type UpdateBipUpdateRequest = {
|
|
548
|
+
body?: BipUpdateBody;
|
|
549
|
+
attachments?: BipUpdateAttachments;
|
|
550
|
+
};
|
|
551
|
+
type DeleteBipUpdateResponse = {
|
|
552
|
+
deleted: true;
|
|
553
|
+
};
|
|
554
|
+
type BipUpdateMediaUploadResponse = {
|
|
555
|
+
url: string;
|
|
556
|
+
kind: "image" | "video";
|
|
557
|
+
};
|
|
423
558
|
type ReviewListResponse = {
|
|
424
559
|
aggregate: ReviewAggregate;
|
|
425
560
|
reviews: Array<Review>;
|
|
@@ -427,38 +562,43 @@ type ReviewListResponse = {
|
|
|
427
562
|
hasMore: boolean;
|
|
428
563
|
};
|
|
429
564
|
type ReviewAggregate = {
|
|
430
|
-
average: number | null;
|
|
431
565
|
count: number;
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
1: number;
|
|
436
|
-
2: number;
|
|
437
|
-
3: number;
|
|
438
|
-
4: number;
|
|
439
|
-
5: number;
|
|
566
|
+
recommendedCount: number;
|
|
567
|
+
recommendedPct: number | null;
|
|
568
|
+
summaryLabel: ReviewSummaryLabel;
|
|
440
569
|
};
|
|
570
|
+
type ReviewSummaryLabel = "overwhelmingly_positive" | "very_positive" | "positive" | "mostly_positive" | "mixed" | "mostly_negative" | "negative" | "overwhelmingly_negative" | null;
|
|
441
571
|
type Review = {
|
|
442
572
|
id: string;
|
|
443
|
-
|
|
573
|
+
recommended: ReviewRecommended;
|
|
444
574
|
body: ReviewBody;
|
|
575
|
+
reactions: ReviewReactionCounts;
|
|
576
|
+
tippedCents: number;
|
|
577
|
+
commentCount: number;
|
|
445
578
|
author: ReviewAuthor;
|
|
579
|
+
authorStats: ReviewerStats;
|
|
446
580
|
developerReply: ReviewReply;
|
|
447
581
|
createdAt: string;
|
|
448
582
|
updatedAt: string;
|
|
449
583
|
};
|
|
450
|
-
type
|
|
584
|
+
type ReviewRecommended = boolean;
|
|
451
585
|
type ReviewBody = string;
|
|
452
|
-
type
|
|
453
|
-
|
|
454
|
-
|
|
586
|
+
type ReviewReactionCounts = {
|
|
587
|
+
helpful: number;
|
|
588
|
+
unhelpful: number;
|
|
589
|
+
funny: number;
|
|
590
|
+
};
|
|
591
|
+
type ReviewerStats = {
|
|
592
|
+
playtimeSecondsThisGame: number;
|
|
593
|
+
gamesPlayed: number;
|
|
594
|
+
reviewsWritten: number;
|
|
455
595
|
};
|
|
456
596
|
type ReviewReply = {
|
|
457
597
|
body: ReviewReplyBody;
|
|
458
598
|
repliedAt: string;
|
|
459
599
|
} | null;
|
|
460
600
|
type ReviewReplyBody = string;
|
|
461
|
-
type ReviewSort = "newest" | "oldest" | "
|
|
601
|
+
type ReviewSort = "newest" | "oldest" | "helpful";
|
|
462
602
|
type MyReviewResponse = {
|
|
463
603
|
eligible: boolean;
|
|
464
604
|
eligibleVia: ReviewEligibilityReason;
|
|
@@ -468,15 +608,67 @@ type MyReviewResponse = {
|
|
|
468
608
|
type ReviewEligibilityReason = "payment" | "reward" | null;
|
|
469
609
|
type OwnReview = {
|
|
470
610
|
id: string;
|
|
471
|
-
|
|
611
|
+
recommended: ReviewRecommended;
|
|
472
612
|
body: ReviewBody;
|
|
473
613
|
createdAt: string;
|
|
474
614
|
updatedAt: string;
|
|
475
615
|
} | null;
|
|
476
616
|
type UpsertReviewRequest = {
|
|
477
|
-
|
|
617
|
+
recommended: ReviewRecommended;
|
|
478
618
|
body: ReviewBody;
|
|
479
619
|
};
|
|
620
|
+
type MyReviewReactionsResponse = {
|
|
621
|
+
reactions: Array<MyReviewReaction>;
|
|
622
|
+
};
|
|
623
|
+
type MyReviewReaction = {
|
|
624
|
+
reviewId: string;
|
|
625
|
+
vote: ReviewVote;
|
|
626
|
+
funny: boolean;
|
|
627
|
+
};
|
|
628
|
+
type ReviewVote = "helpful" | "unhelpful" | null;
|
|
629
|
+
type SetReviewReactionResponse = {
|
|
630
|
+
reactions: ReviewReactionCounts;
|
|
631
|
+
vote: ReviewVote;
|
|
632
|
+
funny: boolean;
|
|
633
|
+
};
|
|
634
|
+
type SetReviewReactionRequest = {
|
|
635
|
+
vote: ReviewVote;
|
|
636
|
+
funny: boolean;
|
|
637
|
+
};
|
|
638
|
+
type TipReviewResponse = {
|
|
639
|
+
status: "completed";
|
|
640
|
+
amountCents: number;
|
|
641
|
+
balanceCents: number;
|
|
642
|
+
tippedCents: number;
|
|
643
|
+
};
|
|
644
|
+
type TipReviewRequest = {
|
|
645
|
+
amountCents: number;
|
|
646
|
+
note?: string;
|
|
647
|
+
challengeId?: string;
|
|
648
|
+
signature?: string;
|
|
649
|
+
};
|
|
650
|
+
type ReviewCommentListResponse = {
|
|
651
|
+
comments: Array<ReviewComment>;
|
|
652
|
+
total: number;
|
|
653
|
+
hasMore: boolean;
|
|
654
|
+
};
|
|
655
|
+
type ReviewComment = {
|
|
656
|
+
id: string;
|
|
657
|
+
body: ReviewCommentBody;
|
|
658
|
+
author: ReviewAuthor;
|
|
659
|
+
createdAt: string;
|
|
660
|
+
};
|
|
661
|
+
type ReviewCommentBody = string;
|
|
662
|
+
type CreateReviewCommentResponse = {
|
|
663
|
+
comment: ReviewComment;
|
|
664
|
+
commentCount: number;
|
|
665
|
+
};
|
|
666
|
+
type CreateReviewCommentRequest = {
|
|
667
|
+
body: ReviewCommentBody;
|
|
668
|
+
};
|
|
669
|
+
type DeleteReviewCommentResponse = {
|
|
670
|
+
commentCount: number;
|
|
671
|
+
};
|
|
480
672
|
type ReviewReplyResponse = {
|
|
481
673
|
developerReply: ReviewReply;
|
|
482
674
|
};
|
|
@@ -581,8 +773,16 @@ type ActivityRow = ({
|
|
|
581
773
|
} & ActivityRowTronPot) | ({
|
|
582
774
|
kind: "tron_cashout";
|
|
583
775
|
} & ActivityRowTronCashout) | ({
|
|
776
|
+
kind: "tron_transfer";
|
|
777
|
+
} & ActivityRowTronTransfer) | ({
|
|
584
778
|
kind: "referral_earning";
|
|
585
|
-
} & ActivityRowReferralEarning)
|
|
779
|
+
} & ActivityRowReferralEarning) | ({
|
|
780
|
+
kind: "nft_charge";
|
|
781
|
+
} & ActivityRowNftCharge) | ({
|
|
782
|
+
kind: "solana_stake";
|
|
783
|
+
} & ActivityRowSolanaStake) | ({
|
|
784
|
+
kind: "solana_pot_leg";
|
|
785
|
+
} & ActivityRowSolanaPotLeg);
|
|
586
786
|
type ActivityRowPayment = {
|
|
587
787
|
kind: "payment";
|
|
588
788
|
groupId: string | null;
|
|
@@ -864,6 +1064,20 @@ type ActivityRowTronCashout = {
|
|
|
864
1064
|
rejectionReason: string | null;
|
|
865
1065
|
settledAt: string | null;
|
|
866
1066
|
};
|
|
1067
|
+
type ActivityRowTronTransfer = {
|
|
1068
|
+
kind: "tron_transfer";
|
|
1069
|
+
groupId: string | null;
|
|
1070
|
+
id: string;
|
|
1071
|
+
occurredAt: string;
|
|
1072
|
+
role: "incoming" | "outgoing";
|
|
1073
|
+
amountCents: number;
|
|
1074
|
+
usdCents: number;
|
|
1075
|
+
status: "settled";
|
|
1076
|
+
counterpartyUserId: string | null;
|
|
1077
|
+
counterpartyHandle: string | null;
|
|
1078
|
+
counterpartyDisplayName: string | null;
|
|
1079
|
+
note: string | null;
|
|
1080
|
+
};
|
|
867
1081
|
type ActivityRowReferralEarning = {
|
|
868
1082
|
kind: "referral_earning";
|
|
869
1083
|
groupId: string | null;
|
|
@@ -880,6 +1094,72 @@ type ActivityRowReferralEarning = {
|
|
|
880
1094
|
logIndex: number;
|
|
881
1095
|
usdCents: number | null;
|
|
882
1096
|
};
|
|
1097
|
+
type ActivityRowNftCharge = {
|
|
1098
|
+
kind: "nft_charge";
|
|
1099
|
+
groupId: string | null;
|
|
1100
|
+
id: string;
|
|
1101
|
+
occurredAt: string;
|
|
1102
|
+
role: "outgoing";
|
|
1103
|
+
chargeKind: "registration" | "mint" | "transfer_gas";
|
|
1104
|
+
amountCents: number;
|
|
1105
|
+
usdCents: number;
|
|
1106
|
+
status: "settled";
|
|
1107
|
+
collectionAddress: string | null;
|
|
1108
|
+
tokenId: string | null;
|
|
1109
|
+
counterpartyUserId: string | null;
|
|
1110
|
+
counterpartyHandle: string | null;
|
|
1111
|
+
counterpartyDisplayName: string | null;
|
|
1112
|
+
};
|
|
1113
|
+
type ActivityRowSolanaStake = {
|
|
1114
|
+
kind: "solana_stake";
|
|
1115
|
+
groupId: string | null;
|
|
1116
|
+
id: string;
|
|
1117
|
+
chain: string;
|
|
1118
|
+
occurredAt: string;
|
|
1119
|
+
role: "outgoing" | "incoming";
|
|
1120
|
+
amount: string;
|
|
1121
|
+
token: string;
|
|
1122
|
+
potId: string | null;
|
|
1123
|
+
usdCents: number;
|
|
1124
|
+
status: "completed";
|
|
1125
|
+
txHash: string | null;
|
|
1126
|
+
app: {
|
|
1127
|
+
id: string;
|
|
1128
|
+
name: string;
|
|
1129
|
+
logoUrl: string | null;
|
|
1130
|
+
slug: string | null;
|
|
1131
|
+
bannerUrl: string | null;
|
|
1132
|
+
} | null;
|
|
1133
|
+
stakerUserId?: string | null;
|
|
1134
|
+
stakerHandle?: string | null;
|
|
1135
|
+
stakerDisplayName?: string | null;
|
|
1136
|
+
metadata?: PaymentMetadata | null;
|
|
1137
|
+
};
|
|
1138
|
+
type ActivityRowSolanaPotLeg = {
|
|
1139
|
+
kind: "solana_pot_leg";
|
|
1140
|
+
groupId: string | null;
|
|
1141
|
+
id: string;
|
|
1142
|
+
chain: string;
|
|
1143
|
+
occurredAt: string;
|
|
1144
|
+
role: "outgoing" | "incoming";
|
|
1145
|
+
beneficiary: string;
|
|
1146
|
+
potId: string | null;
|
|
1147
|
+
amount: string;
|
|
1148
|
+
token: string;
|
|
1149
|
+
usdCents: number | null;
|
|
1150
|
+
status: "settled";
|
|
1151
|
+
app: {
|
|
1152
|
+
id: string;
|
|
1153
|
+
name: string;
|
|
1154
|
+
logoUrl: string | null;
|
|
1155
|
+
slug: string | null;
|
|
1156
|
+
bannerUrl: string | null;
|
|
1157
|
+
} | null;
|
|
1158
|
+
txHash: string | null;
|
|
1159
|
+
recipientUserId?: string | null;
|
|
1160
|
+
recipientHandle?: string | null;
|
|
1161
|
+
recipientDisplayName?: string | null;
|
|
1162
|
+
};
|
|
883
1163
|
type OutstandingResponse = {
|
|
884
1164
|
rows: Array<OutstandingByToken>;
|
|
885
1165
|
};
|
|
@@ -929,7 +1209,7 @@ type TronLedgerResponse = {
|
|
|
929
1209
|
};
|
|
930
1210
|
type TronLedgerEntry = {
|
|
931
1211
|
id: string;
|
|
932
|
-
kind: "deposit" | "pot_stake" | "pot_payout" | "dev_earning" | "cashout_hold" | "cashout_release" | "dispute_freeze" | "dispute_unfreeze" | "hosted_billing" | "store_purchase" | "referral_earning";
|
|
1212
|
+
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";
|
|
933
1213
|
amountCents: number;
|
|
934
1214
|
currency: string;
|
|
935
1215
|
createdAt: string;
|
|
@@ -944,6 +1224,45 @@ type TronDepositResponse = {
|
|
|
944
1224
|
type TronDepositRequest = {
|
|
945
1225
|
amountCents: number;
|
|
946
1226
|
};
|
|
1227
|
+
type TronTransferResponse = {
|
|
1228
|
+
status: "completed";
|
|
1229
|
+
amountCents: number;
|
|
1230
|
+
balanceCents: number;
|
|
1231
|
+
recipient: {
|
|
1232
|
+
userId: string;
|
|
1233
|
+
handle: string | null;
|
|
1234
|
+
displayName: string | null;
|
|
1235
|
+
};
|
|
1236
|
+
};
|
|
1237
|
+
type TronTransferRequest = {
|
|
1238
|
+
recipientUserId: string;
|
|
1239
|
+
amountCents: number;
|
|
1240
|
+
note?: string;
|
|
1241
|
+
challengeId?: string;
|
|
1242
|
+
signature?: string;
|
|
1243
|
+
threadId?: string;
|
|
1244
|
+
};
|
|
1245
|
+
type TronSecuritySetting = {
|
|
1246
|
+
requireSignature: boolean;
|
|
1247
|
+
};
|
|
1248
|
+
type TronTransferChallengeResponse = ({
|
|
1249
|
+
required: false;
|
|
1250
|
+
} & TronTransferChallengeNotRequired) | ({
|
|
1251
|
+
required: true;
|
|
1252
|
+
} & TronTransferChallengeRequired);
|
|
1253
|
+
type TronTransferChallengeNotRequired = {
|
|
1254
|
+
required: false;
|
|
1255
|
+
};
|
|
1256
|
+
type TronTransferChallengeRequired = {
|
|
1257
|
+
required: true;
|
|
1258
|
+
challengeId: string;
|
|
1259
|
+
message: string;
|
|
1260
|
+
expiresAt: string;
|
|
1261
|
+
};
|
|
1262
|
+
type TronTransferChallengeRequest = {
|
|
1263
|
+
recipientUserId: string;
|
|
1264
|
+
amountCents: number;
|
|
1265
|
+
};
|
|
947
1266
|
type TronGameBalanceResponse = {
|
|
948
1267
|
balanceCents: number;
|
|
949
1268
|
rakeBps: number;
|
|
@@ -1076,12 +1395,15 @@ type WalletListResponse = {
|
|
|
1076
1395
|
wallets: Array<WalletItem>;
|
|
1077
1396
|
};
|
|
1078
1397
|
type WalletChainList = Array<{
|
|
1079
|
-
id: "ethereum-mainnet" | "base-mainnet" | "ethereum-sepolia";
|
|
1398
|
+
id: "ethereum-mainnet" | "base-mainnet" | "ethereum-sepolia" | "base-sepolia" | "solana-mainnet" | "solana-devnet";
|
|
1080
1399
|
displayName: string;
|
|
1081
|
-
|
|
1400
|
+
family: "evm" | "solana";
|
|
1401
|
+
nativeSymbol: string;
|
|
1402
|
+
chainId?: number;
|
|
1082
1403
|
}>;
|
|
1083
1404
|
type WalletItem = {
|
|
1084
|
-
address: string;
|
|
1405
|
+
address: string | string;
|
|
1406
|
+
family: "evm" | "solana";
|
|
1085
1407
|
label: WalletLabel;
|
|
1086
1408
|
kind: "personal" | "app";
|
|
1087
1409
|
app: WalletAppLink;
|
|
@@ -1098,6 +1420,9 @@ type WalletBalances = {
|
|
|
1098
1420
|
"ethereum-mainnet"?: WalletChainBalance;
|
|
1099
1421
|
"base-mainnet"?: WalletChainBalance;
|
|
1100
1422
|
"ethereum-sepolia"?: WalletChainBalance;
|
|
1423
|
+
"base-sepolia"?: WalletChainBalance;
|
|
1424
|
+
"solana-mainnet"?: WalletChainBalance;
|
|
1425
|
+
"solana-devnet"?: WalletChainBalance;
|
|
1101
1426
|
};
|
|
1102
1427
|
type WalletChainBalance = {
|
|
1103
1428
|
native: string;
|
|
@@ -1107,12 +1432,14 @@ type WalletDelegationStatus = {
|
|
|
1107
1432
|
mode: WalletDelegationMode;
|
|
1108
1433
|
caps: WalletDelegationCaps;
|
|
1109
1434
|
policyId: string | null;
|
|
1435
|
+
slippageBps: DelegationSlippageBps;
|
|
1110
1436
|
};
|
|
1111
1437
|
type WalletDelegationMode = "infinite" | "custom" | "scoped" | null;
|
|
1112
1438
|
type WalletDelegationCaps = {
|
|
1113
1439
|
native: string;
|
|
1114
1440
|
usdc: string;
|
|
1115
1441
|
} | null;
|
|
1442
|
+
type DelegationSlippageBps = number | null;
|
|
1116
1443
|
type WalletLabelUpdateResponse = {
|
|
1117
1444
|
address: string;
|
|
1118
1445
|
label: WalletLabel;
|
|
@@ -1186,6 +1513,7 @@ type ThreadLastMessagePreview = {
|
|
|
1186
1513
|
url: string;
|
|
1187
1514
|
count: number;
|
|
1188
1515
|
} | null;
|
|
1516
|
+
transaction?: MessageTransactionTronTransfer | MessageTransactionNftTransfer | null;
|
|
1189
1517
|
sentAt: string;
|
|
1190
1518
|
} | null;
|
|
1191
1519
|
type MessageEnvelope = {
|
|
@@ -1197,6 +1525,20 @@ type MessageEnvelope = {
|
|
|
1197
1525
|
iv: string;
|
|
1198
1526
|
ct: string;
|
|
1199
1527
|
} | null;
|
|
1528
|
+
type MessageTransactionTronTransfer = {
|
|
1529
|
+
kind: "tron_transfer";
|
|
1530
|
+
amountCents: number;
|
|
1531
|
+
recipientUserId: string;
|
|
1532
|
+
};
|
|
1533
|
+
type MessageTransactionNftTransfer = {
|
|
1534
|
+
kind: "nft_transfer";
|
|
1535
|
+
recipientUserId: string;
|
|
1536
|
+
collectionAddress: string;
|
|
1537
|
+
tokenId: string;
|
|
1538
|
+
amount: string;
|
|
1539
|
+
itemName: string | null;
|
|
1540
|
+
imageAssetId?: string | null;
|
|
1541
|
+
};
|
|
1200
1542
|
type GroupThreadSummary = {
|
|
1201
1543
|
kind: "group";
|
|
1202
1544
|
id: string;
|
|
@@ -1243,6 +1585,7 @@ type MessageItem = {
|
|
|
1243
1585
|
id: string;
|
|
1244
1586
|
threadId: string;
|
|
1245
1587
|
senderUserId: string;
|
|
1588
|
+
transaction?: MessageTransactionTronTransfer | MessageTransactionNftTransfer | null;
|
|
1246
1589
|
body: string;
|
|
1247
1590
|
envelope?: MessageEnvelope;
|
|
1248
1591
|
sentAt: string;
|
|
@@ -1416,42 +1759,317 @@ type PlaytimeTimeseries = {
|
|
|
1416
1759
|
to: string;
|
|
1417
1760
|
buckets: Array<PlaytimeTimeseriesBucket>;
|
|
1418
1761
|
};
|
|
1419
|
-
type PlaytimeTimeseriesBucket = {
|
|
1420
|
-
date: string;
|
|
1421
|
-
appId: PlaySessionAppId;
|
|
1422
|
-
sessionCount: number;
|
|
1423
|
-
totalDurationSeconds: number;
|
|
1762
|
+
type PlaytimeTimeseriesBucket = {
|
|
1763
|
+
date: string;
|
|
1764
|
+
appId: PlaySessionAppId;
|
|
1765
|
+
sessionCount: number;
|
|
1766
|
+
totalDurationSeconds: number;
|
|
1767
|
+
};
|
|
1768
|
+
type InventoryListResponse = {
|
|
1769
|
+
items: Array<InventoryHolding>;
|
|
1770
|
+
};
|
|
1771
|
+
type InventoryHolding = {
|
|
1772
|
+
collectionId: string;
|
|
1773
|
+
collectionAddress: string;
|
|
1774
|
+
chain: string;
|
|
1775
|
+
kind: "erc721" | "erc1155";
|
|
1776
|
+
tokenId: string;
|
|
1777
|
+
amount: string;
|
|
1778
|
+
name: string | null;
|
|
1779
|
+
description: string | null;
|
|
1780
|
+
imageAssetId: string | null;
|
|
1781
|
+
bannerAssetId: string | null;
|
|
1782
|
+
devMetadata: {
|
|
1783
|
+
[key: string]: unknown;
|
|
1784
|
+
};
|
|
1785
|
+
appId: string | null;
|
|
1786
|
+
appName: string | null;
|
|
1787
|
+
appLogoUrl: string | null;
|
|
1788
|
+
};
|
|
1789
|
+
type InventoryPendingPermitListResponse = {
|
|
1790
|
+
permits: Array<InventoryPendingPermit>;
|
|
1791
|
+
};
|
|
1792
|
+
type InventoryPendingPermit = {
|
|
1793
|
+
id: string;
|
|
1794
|
+
appId: string;
|
|
1795
|
+
itemId: string;
|
|
1796
|
+
amount: string;
|
|
1797
|
+
priceCents: number | null;
|
|
1798
|
+
gasSponsored: boolean;
|
|
1799
|
+
environment: "development" | "production";
|
|
1800
|
+
createdAt: string;
|
|
1801
|
+
tokenId: string;
|
|
1802
|
+
name: string | null;
|
|
1803
|
+
description: string | null;
|
|
1804
|
+
imageAssetId: string | null;
|
|
1805
|
+
chain: string;
|
|
1806
|
+
collectionAddress: string;
|
|
1807
|
+
kind: "erc721" | "erc1155";
|
|
1808
|
+
};
|
|
1809
|
+
type InventoryPermitRedeemResult = {
|
|
1810
|
+
mint: MintRequestResult;
|
|
1811
|
+
charge: {
|
|
1812
|
+
currency: "tron";
|
|
1813
|
+
gasCents: number;
|
|
1814
|
+
priceCents: number;
|
|
1815
|
+
totalCents: number;
|
|
1816
|
+
gasPaidBy: "user" | "developer";
|
|
1817
|
+
};
|
|
1818
|
+
};
|
|
1819
|
+
type MintRequestResult = {
|
|
1820
|
+
mintRequestId: string;
|
|
1821
|
+
txHash: string;
|
|
1822
|
+
status: "submitted" | "completed";
|
|
1823
|
+
mintedTokenId: string | null;
|
|
1824
|
+
};
|
|
1825
|
+
type MintRequestInput = {
|
|
1826
|
+
collectionAddress: string;
|
|
1827
|
+
chain: string;
|
|
1828
|
+
toWallet?: string;
|
|
1829
|
+
toUserId?: string;
|
|
1830
|
+
tokenId?: string;
|
|
1831
|
+
amount?: string;
|
|
1832
|
+
};
|
|
1833
|
+
type InventoryCollectionListResponse = {
|
|
1834
|
+
collections: Array<InventoryCollectionSummary>;
|
|
1835
|
+
};
|
|
1836
|
+
type InventoryCollectionSummary = {
|
|
1837
|
+
id: string;
|
|
1838
|
+
chain: string;
|
|
1839
|
+
collectionAddress: string;
|
|
1840
|
+
kind: "erc721" | "erc1155";
|
|
1841
|
+
name: string | null;
|
|
1842
|
+
environment: "development" | "production";
|
|
1843
|
+
};
|
|
1844
|
+
type InventoryRegistrationQuote = {
|
|
1845
|
+
itemCount: number;
|
|
1846
|
+
baselineUsdCents: number;
|
|
1847
|
+
gasUsdCents: number;
|
|
1848
|
+
tron: {
|
|
1849
|
+
baselineCents: number;
|
|
1850
|
+
gasCents: number;
|
|
1851
|
+
totalCents: number;
|
|
1852
|
+
};
|
|
1853
|
+
eth: {
|
|
1854
|
+
baselineWei: string;
|
|
1855
|
+
gasWei: string;
|
|
1856
|
+
totalWei: string;
|
|
1857
|
+
};
|
|
1858
|
+
};
|
|
1859
|
+
type InventoryItemRegistrationInput = {
|
|
1860
|
+
collectionAddress: string;
|
|
1861
|
+
chain: string;
|
|
1862
|
+
items: Array<InventoryItemRegistrationSpec>;
|
|
1863
|
+
};
|
|
1864
|
+
type InventoryItemRegistrationSpec = {
|
|
1865
|
+
name?: string | null;
|
|
1866
|
+
description?: string | null;
|
|
1867
|
+
devMetadata?: {
|
|
1868
|
+
[key: string]: unknown;
|
|
1869
|
+
};
|
|
1870
|
+
supplyType?: InventorySupplyType;
|
|
1871
|
+
maxSupply?: string | null;
|
|
1872
|
+
active?: boolean;
|
|
1873
|
+
};
|
|
1874
|
+
type InventorySupplyType = "capped" | "flexible" | "unlimited";
|
|
1875
|
+
type InventoryItemRegistrationResult = {
|
|
1876
|
+
items: Array<InventoryItemRecord>;
|
|
1877
|
+
charge: {
|
|
1878
|
+
currency: "tron";
|
|
1879
|
+
amountCents: number;
|
|
1880
|
+
baselineCents: number;
|
|
1881
|
+
gasCents: number;
|
|
1882
|
+
addItemTxHash: string;
|
|
1883
|
+
};
|
|
1884
|
+
};
|
|
1885
|
+
type InventoryItemRecord = {
|
|
1886
|
+
id: string;
|
|
1887
|
+
collectionId: string;
|
|
1888
|
+
collectionAddress: string;
|
|
1889
|
+
chain: string;
|
|
1890
|
+
kind: "erc721" | "erc1155";
|
|
1891
|
+
tokenId: string;
|
|
1892
|
+
name: string | null;
|
|
1893
|
+
description: string | null;
|
|
1894
|
+
imageAssetId: string | null;
|
|
1895
|
+
bannerAssetId: string | null;
|
|
1896
|
+
devMetadata: {
|
|
1897
|
+
[key: string]: unknown;
|
|
1898
|
+
};
|
|
1899
|
+
supplyType: InventorySupplyType | null;
|
|
1900
|
+
maxSupply: string | null;
|
|
1901
|
+
active: boolean;
|
|
1902
|
+
};
|
|
1903
|
+
type InventoryItemListResponse = {
|
|
1904
|
+
items: Array<InventoryItemRecord>;
|
|
1905
|
+
};
|
|
1906
|
+
type InventoryMintPermitRecord = {
|
|
1907
|
+
id: string;
|
|
1908
|
+
appId: string;
|
|
1909
|
+
itemId: string;
|
|
1910
|
+
userId: string;
|
|
1911
|
+
amount: string;
|
|
1912
|
+
priceCents: number | null;
|
|
1913
|
+
gasSponsored: boolean;
|
|
1914
|
+
status: "pending" | "redeemed" | "revoked";
|
|
1915
|
+
createdAt: string;
|
|
1916
|
+
};
|
|
1917
|
+
type InventoryMintPermitCreateInput = {
|
|
1918
|
+
toUserId: string;
|
|
1919
|
+
amount?: string;
|
|
1920
|
+
priceCents?: number | null;
|
|
1921
|
+
gasSponsored?: boolean;
|
|
1922
|
+
};
|
|
1923
|
+
type InventoryItemHoldersResponse = {
|
|
1924
|
+
stats: InventoryItemStats;
|
|
1925
|
+
holders: Array<InventoryItemHolder>;
|
|
1926
|
+
};
|
|
1927
|
+
type InventoryItemStats = {
|
|
1928
|
+
holderCount: number;
|
|
1929
|
+
walletCount: number;
|
|
1930
|
+
totalHeld: string;
|
|
1931
|
+
};
|
|
1932
|
+
type InventoryItemHolder = {
|
|
1933
|
+
walletAddress: string;
|
|
1934
|
+
userId: string | null;
|
|
1935
|
+
amount: string;
|
|
1936
|
+
};
|
|
1937
|
+
type InventoryVaultPermitRecord = {
|
|
1938
|
+
id: string;
|
|
1939
|
+
appId: string;
|
|
1940
|
+
itemId: string;
|
|
1941
|
+
userId: string;
|
|
1942
|
+
direction: "vault_in" | "withdraw";
|
|
1943
|
+
lockKind: "vault" | "burn" | null;
|
|
1944
|
+
amount: string;
|
|
1945
|
+
gasSponsored: boolean;
|
|
1946
|
+
status: "pending" | "redeemed" | "revoked";
|
|
1947
|
+
custodyId: string | null;
|
|
1948
|
+
createdAt: string;
|
|
1949
|
+
};
|
|
1950
|
+
type InventoryVaultPermitCreateInput = {
|
|
1951
|
+
toUserId: string;
|
|
1952
|
+
lockKind: "vault" | "burn";
|
|
1953
|
+
amount?: string;
|
|
1954
|
+
gasSponsored?: boolean;
|
|
1955
|
+
};
|
|
1956
|
+
type InventoryWithdrawPermitCreateInput = {
|
|
1957
|
+
custodyId: string;
|
|
1958
|
+
};
|
|
1959
|
+
type InventoryPendingVaultPermitListResponse = {
|
|
1960
|
+
permits: Array<InventoryPendingVaultPermit>;
|
|
1961
|
+
};
|
|
1962
|
+
type InventoryPendingVaultPermit = {
|
|
1963
|
+
id: string;
|
|
1964
|
+
appId: string;
|
|
1965
|
+
itemId: string;
|
|
1966
|
+
direction: "vault_in" | "withdraw";
|
|
1967
|
+
lockKind: "vault" | "burn" | null;
|
|
1968
|
+
amount: string;
|
|
1969
|
+
gasSponsored: boolean;
|
|
1970
|
+
environment: "development" | "production";
|
|
1971
|
+
custodyId: string | null;
|
|
1972
|
+
createdAt: string;
|
|
1973
|
+
tokenId: string;
|
|
1974
|
+
name: string | null;
|
|
1975
|
+
description: string | null;
|
|
1976
|
+
imageAssetId: string | null;
|
|
1977
|
+
chain: string;
|
|
1978
|
+
collectionAddress: string;
|
|
1979
|
+
kind: "erc721" | "erc1155";
|
|
1980
|
+
};
|
|
1981
|
+
type InventorySignedVaultPermit = {
|
|
1982
|
+
permitId: string;
|
|
1983
|
+
direction: "vault_in" | "withdraw";
|
|
1984
|
+
vault: string;
|
|
1985
|
+
collection: string;
|
|
1986
|
+
user: string;
|
|
1987
|
+
tokenId: string;
|
|
1988
|
+
amount: string;
|
|
1989
|
+
lockKind: "vault" | "burn" | null;
|
|
1990
|
+
destination: string | null;
|
|
1991
|
+
deadline: number;
|
|
1992
|
+
signature: string;
|
|
1993
|
+
};
|
|
1994
|
+
type InventoryRelayedVaultQuoteResponse = {
|
|
1995
|
+
direction: "vault_in" | "withdraw";
|
|
1996
|
+
collection: string;
|
|
1997
|
+
vault: string;
|
|
1998
|
+
chainId: number;
|
|
1999
|
+
user: string;
|
|
2000
|
+
tokenId: string;
|
|
2001
|
+
amount: string;
|
|
2002
|
+
nonce: string | null;
|
|
2003
|
+
deadline: number;
|
|
2004
|
+
feeCents: number;
|
|
2005
|
+
gasWei: string;
|
|
2006
|
+
gasPaidBy: "developer" | "user";
|
|
2007
|
+
requiresUserSignature: boolean;
|
|
2008
|
+
};
|
|
2009
|
+
type InventoryRelayedVaultSubmitResponse = {
|
|
2010
|
+
ok: boolean;
|
|
2011
|
+
txHash: string;
|
|
2012
|
+
chargedCents: number;
|
|
2013
|
+
gasPaidBy: "developer" | "user";
|
|
2014
|
+
};
|
|
2015
|
+
type InventoryRelayedVaultSubmitRequest = {
|
|
2016
|
+
userSignature?: string;
|
|
2017
|
+
deadline?: number;
|
|
2018
|
+
};
|
|
2019
|
+
type InventoryNftTransferQuoteResponse = {
|
|
2020
|
+
collection: string;
|
|
2021
|
+
chainId: number;
|
|
2022
|
+
from: string;
|
|
2023
|
+
to: string;
|
|
2024
|
+
tokenId: string;
|
|
2025
|
+
amount: string;
|
|
2026
|
+
nonce: string;
|
|
2027
|
+
deadline: number;
|
|
2028
|
+
feeCents: number;
|
|
2029
|
+
gasWei: string;
|
|
2030
|
+
selfPayAvailable: boolean;
|
|
2031
|
+
};
|
|
2032
|
+
type InventoryNftTransferQuoteRequest = {
|
|
2033
|
+
toUserId: string;
|
|
2034
|
+
collection: string;
|
|
2035
|
+
tokenId: string;
|
|
2036
|
+
amount?: string;
|
|
2037
|
+
};
|
|
2038
|
+
type InventoryNftTransferResponse = {
|
|
2039
|
+
ok: boolean;
|
|
2040
|
+
txHash: string;
|
|
2041
|
+
chargedCents: number;
|
|
1424
2042
|
};
|
|
1425
|
-
type
|
|
1426
|
-
|
|
2043
|
+
type InventoryNftTransferRequest = {
|
|
2044
|
+
toUserId: string;
|
|
2045
|
+
collection: string;
|
|
2046
|
+
tokenId: string;
|
|
2047
|
+
amount?: string;
|
|
2048
|
+
deadline: number;
|
|
2049
|
+
userSignature: string;
|
|
2050
|
+
threadId?: string;
|
|
1427
2051
|
};
|
|
1428
|
-
type
|
|
2052
|
+
type InventoryVaultCustodyListResponse = {
|
|
2053
|
+
custody: Array<InventoryVaultCustody>;
|
|
2054
|
+
};
|
|
2055
|
+
type InventoryVaultCustody = {
|
|
2056
|
+
id: string;
|
|
1429
2057
|
collectionId: string;
|
|
1430
2058
|
collectionAddress: string;
|
|
1431
2059
|
chain: string;
|
|
1432
2060
|
kind: "erc721" | "erc1155";
|
|
1433
2061
|
tokenId: string;
|
|
1434
2062
|
amount: string;
|
|
2063
|
+
lockKind: "vault" | "burn";
|
|
2064
|
+
vaultAddress: string;
|
|
2065
|
+
createdAt: string;
|
|
1435
2066
|
name: string | null;
|
|
2067
|
+
description: string | null;
|
|
1436
2068
|
imageAssetId: string | null;
|
|
1437
|
-
bannerAssetId: string | null;
|
|
1438
|
-
devMetadata: {
|
|
1439
|
-
[key: string]: unknown;
|
|
1440
|
-
};
|
|
1441
2069
|
};
|
|
1442
|
-
type
|
|
1443
|
-
|
|
2070
|
+
type InventoryVaultForceWithdrawResponse = {
|
|
2071
|
+
ok: boolean;
|
|
1444
2072
|
txHash: string;
|
|
1445
|
-
status: "submitted" | "completed";
|
|
1446
|
-
mintedTokenId: string | null;
|
|
1447
|
-
};
|
|
1448
|
-
type MintRequestInput = {
|
|
1449
|
-
collectionAddress: string;
|
|
1450
|
-
chain: string;
|
|
1451
|
-
toWallet?: string;
|
|
1452
|
-
toUserId?: string;
|
|
1453
|
-
tokenId?: string;
|
|
1454
|
-
amount?: string;
|
|
1455
2073
|
};
|
|
1456
2074
|
type NotificationListResponse = {
|
|
1457
2075
|
notifications: Array<NotificationItem>;
|
|
@@ -1481,6 +2099,18 @@ type NotificationItem = {
|
|
|
1481
2099
|
payload: AppPageRejectedNotificationPayload;
|
|
1482
2100
|
read: boolean;
|
|
1483
2101
|
createdAt: string;
|
|
2102
|
+
} | {
|
|
2103
|
+
id: string;
|
|
2104
|
+
kind: "bip_update_published";
|
|
2105
|
+
payload: BipUpdatePublishedNotificationPayload;
|
|
2106
|
+
read: boolean;
|
|
2107
|
+
createdAt: string;
|
|
2108
|
+
} | {
|
|
2109
|
+
id: string;
|
|
2110
|
+
kind: "bip_now_playable";
|
|
2111
|
+
payload: BipNowPlayableNotificationPayload;
|
|
2112
|
+
read: boolean;
|
|
2113
|
+
createdAt: string;
|
|
1484
2114
|
} | {
|
|
1485
2115
|
id: string;
|
|
1486
2116
|
kind: "app_participant_invite";
|
|
@@ -1511,14 +2141,25 @@ type FriendAcceptedNotificationPayload = {
|
|
|
1511
2141
|
type AppPageApprovedNotificationPayload = {
|
|
1512
2142
|
appId: string;
|
|
1513
2143
|
appName: string;
|
|
1514
|
-
scope: "publish" | "changes";
|
|
2144
|
+
scope: "publish" | "changes" | "bip_publish";
|
|
1515
2145
|
};
|
|
1516
2146
|
type AppPageRejectedNotificationPayload = {
|
|
1517
2147
|
appId: string;
|
|
1518
2148
|
appName: string;
|
|
1519
|
-
scope: "publish" | "changes";
|
|
2149
|
+
scope: "publish" | "changes" | "bip_publish";
|
|
1520
2150
|
notes: string;
|
|
1521
2151
|
};
|
|
2152
|
+
type BipUpdatePublishedNotificationPayload = {
|
|
2153
|
+
appId: string;
|
|
2154
|
+
appName: string;
|
|
2155
|
+
appSlug: string | null;
|
|
2156
|
+
updateId: string;
|
|
2157
|
+
};
|
|
2158
|
+
type BipNowPlayableNotificationPayload = {
|
|
2159
|
+
appId: string;
|
|
2160
|
+
appName: string;
|
|
2161
|
+
appSlug: string | null;
|
|
2162
|
+
};
|
|
1522
2163
|
type AppParticipantInviteNotificationPayload = {
|
|
1523
2164
|
appId: string;
|
|
1524
2165
|
appName: string;
|
|
@@ -1548,6 +2189,9 @@ type FriendListItem = {
|
|
|
1548
2189
|
onlineStatus: OnlineStatus;
|
|
1549
2190
|
};
|
|
1550
2191
|
type OnlineStatus = "online" | "offline";
|
|
2192
|
+
type AppFriendListResponse = {
|
|
2193
|
+
friends: Array<ThreadParticipant>;
|
|
2194
|
+
};
|
|
1551
2195
|
type FriendRequestDecision = {
|
|
1552
2196
|
decision: "accept" | "reject";
|
|
1553
2197
|
};
|
|
@@ -1620,7 +2264,7 @@ type ProfileRecentReview = {
|
|
|
1620
2264
|
appId: string;
|
|
1621
2265
|
appName: string;
|
|
1622
2266
|
appLogoUrl: string | null;
|
|
1623
|
-
|
|
2267
|
+
recommended: boolean;
|
|
1624
2268
|
body: string;
|
|
1625
2269
|
createdAt: string;
|
|
1626
2270
|
};
|
|
@@ -1677,17 +2321,20 @@ type CreateDeveloperAppChain = {
|
|
|
1677
2321
|
};
|
|
1678
2322
|
type UpdateDeveloperApp = {
|
|
1679
2323
|
name?: DeveloperAppName;
|
|
2324
|
+
slug?: AppPageSlug | null;
|
|
1680
2325
|
logoUrl?: string | null;
|
|
1681
2326
|
testAccess?: "private" | "public";
|
|
1682
2327
|
redirectUris?: Array<string>;
|
|
1683
2328
|
embedOrigins?: Array<EmbedOrigin>;
|
|
1684
2329
|
acceptedCurrencies?: AcceptedCurrencies;
|
|
2330
|
+
acceptedNetworks?: AcceptedNetworks;
|
|
1685
2331
|
paymentStatusWebhookUrl?: string | null;
|
|
1686
2332
|
paymentStatusWebhookUrlTest?: string | null;
|
|
1687
2333
|
};
|
|
1688
2334
|
type EmbedOrigin = string;
|
|
1689
2335
|
type AcceptedCurrencies = Array<PlatformCurrency>;
|
|
1690
2336
|
type PlatformCurrency = "eth" | "tron";
|
|
2337
|
+
type AcceptedNetworks = Array<PaymentNetwork> | null;
|
|
1691
2338
|
type DeveloperLogoUploadResponse = {
|
|
1692
2339
|
logoUrl: string | null;
|
|
1693
2340
|
};
|
|
@@ -1750,7 +2397,7 @@ type DeveloperAppWalletsResponse = {
|
|
|
1750
2397
|
};
|
|
1751
2398
|
type DeveloperAppWalletItem = {
|
|
1752
2399
|
chain: string;
|
|
1753
|
-
address: string;
|
|
2400
|
+
address: string | string;
|
|
1754
2401
|
custody: "server" | null;
|
|
1755
2402
|
walletId: string | null;
|
|
1756
2403
|
autoSweepEnabled: boolean;
|
|
@@ -1771,7 +2418,7 @@ type DeveloperAppProvisionWalletResponse = {
|
|
|
1771
2418
|
chain: string;
|
|
1772
2419
|
custody: "server";
|
|
1773
2420
|
walletId: string;
|
|
1774
|
-
address: string;
|
|
2421
|
+
address: string | string;
|
|
1775
2422
|
};
|
|
1776
2423
|
type DeveloperAppWithdrawResponse = {
|
|
1777
2424
|
appId: string;
|
|
@@ -1925,6 +2572,7 @@ type DeveloperProductionRequestPayload = {
|
|
|
1925
2572
|
type DeveloperAppItem = {
|
|
1926
2573
|
id: string;
|
|
1927
2574
|
name: DeveloperAppName;
|
|
2575
|
+
slug: AppPageSlug | null;
|
|
1928
2576
|
logoUrl: string | null;
|
|
1929
2577
|
environment: "development" | "production";
|
|
1930
2578
|
productionApprovedAt: string | null;
|
|
@@ -1933,6 +2581,7 @@ type DeveloperAppItem = {
|
|
|
1933
2581
|
redirectUris: Array<string>;
|
|
1934
2582
|
embedOrigins: Array<EmbedOrigin>;
|
|
1935
2583
|
acceptedCurrencies: AcceptedCurrencies;
|
|
2584
|
+
acceptedNetworks: AcceptedNetworks;
|
|
1936
2585
|
payoutAddresses: Array<DeveloperAppPayoutAddressItem>;
|
|
1937
2586
|
keys: Array<DeveloperAppKeyItem>;
|
|
1938
2587
|
pendingProductionRequestId: string | null;
|
|
@@ -1987,9 +2636,18 @@ type AppPageDraft = {
|
|
|
1987
2636
|
hiddenAt: string | null;
|
|
1988
2637
|
hiddenReasonPublic: string | null;
|
|
1989
2638
|
pendingReview: boolean;
|
|
2639
|
+
bip: AppPageBipState;
|
|
2640
|
+
};
|
|
2641
|
+
type AppPageBipState = {
|
|
2642
|
+
enabled: boolean;
|
|
2643
|
+
status: "draft" | "pending_review" | "published" | "hidden";
|
|
2644
|
+
firstPublishedAt: string | null;
|
|
2645
|
+
reviewedAt: string | null;
|
|
2646
|
+
reviewNotes: string | null;
|
|
2647
|
+
hiddenAt: string | null;
|
|
2648
|
+
hiddenReasonPublic: string | null;
|
|
1990
2649
|
};
|
|
1991
2650
|
type UpdateAppPage = {
|
|
1992
|
-
slug?: AppPageSlug | null;
|
|
1993
2651
|
categories?: AppPageCategories;
|
|
1994
2652
|
tagline?: AppPageTagline | null;
|
|
1995
2653
|
bannerUrl?: string | null;
|
|
@@ -2012,6 +2670,9 @@ type UpdateAppPage = {
|
|
|
2012
2670
|
type AppPageGalleryUploadResponse = {
|
|
2013
2671
|
url: string;
|
|
2014
2672
|
};
|
|
2673
|
+
type AppPageBipToggle = {
|
|
2674
|
+
enabled: boolean;
|
|
2675
|
+
};
|
|
2015
2676
|
type AdminActivePlayersResponse = {
|
|
2016
2677
|
players: Array<AdminActivePlayer>;
|
|
2017
2678
|
total: number;
|
|
@@ -2150,6 +2811,11 @@ type AdminAppPageItem = {
|
|
|
2150
2811
|
hiddenAt: string | null;
|
|
2151
2812
|
hiddenReasonInternal: string | null;
|
|
2152
2813
|
pendingChangesSubmittedAt: string | null;
|
|
2814
|
+
bipEnabled: boolean;
|
|
2815
|
+
bipStatus: "draft" | "pending_review" | "published" | "hidden";
|
|
2816
|
+
bipFirstPublishedAt: string | null;
|
|
2817
|
+
bipHiddenAt: string | null;
|
|
2818
|
+
openReportCount: number;
|
|
2153
2819
|
};
|
|
2154
2820
|
type AdminAppPageStatusResponse = {
|
|
2155
2821
|
status: "draft" | "pending_review" | "published" | "hidden";
|
|
@@ -2175,6 +2841,25 @@ type AdminAppPageDiffField = {
|
|
|
2175
2841
|
from: string;
|
|
2176
2842
|
to: string;
|
|
2177
2843
|
};
|
|
2844
|
+
type AdminAppPageBipStatusResponse = {
|
|
2845
|
+
bipStatus: "draft" | "pending_review" | "published" | "hidden";
|
|
2846
|
+
};
|
|
2847
|
+
type AdminAppContentReportListResponse = {
|
|
2848
|
+
reports: Array<AdminAppContentReportItem>;
|
|
2849
|
+
total: number;
|
|
2850
|
+
hasMore: boolean;
|
|
2851
|
+
};
|
|
2852
|
+
type AdminAppContentReportItem = {
|
|
2853
|
+
id: string;
|
|
2854
|
+
category: AppContentReportCategory;
|
|
2855
|
+
details: string | null;
|
|
2856
|
+
status: AppContentReportStatus;
|
|
2857
|
+
acknowledgedAt: string | null;
|
|
2858
|
+
createdAt: string;
|
|
2859
|
+
appId: string;
|
|
2860
|
+
appName: string;
|
|
2861
|
+
appSlug: string | null;
|
|
2862
|
+
};
|
|
2178
2863
|
type PlatformFeesResponse = {
|
|
2179
2864
|
purchaseFeeBps: number;
|
|
2180
2865
|
stakeFeeBps: number;
|
|
@@ -2355,6 +3040,13 @@ type AppealResolveRequest = {
|
|
|
2355
3040
|
decision: "refund" | "dismiss";
|
|
2356
3041
|
notes?: string;
|
|
2357
3042
|
};
|
|
3043
|
+
type PaymentRatesResponse = {
|
|
3044
|
+
asOf: string;
|
|
3045
|
+
ethUsd: number | null;
|
|
3046
|
+
solUsd: number | null;
|
|
3047
|
+
solLamportsPerCent: number | null;
|
|
3048
|
+
tronUsdPerToken: number;
|
|
3049
|
+
};
|
|
2358
3050
|
type AppealFileResponse = {
|
|
2359
3051
|
appealId: string;
|
|
2360
3052
|
paymentId: string;
|
|
@@ -2403,7 +3095,7 @@ type OauthPaymentPayoutRequest = {
|
|
|
2403
3095
|
metadata?: PaymentMetadata;
|
|
2404
3096
|
};
|
|
2405
3097
|
type OauthPaymentDistributeResponse = {
|
|
2406
|
-
distributionId
|
|
3098
|
+
distributionId?: string;
|
|
2407
3099
|
txHash: string;
|
|
2408
3100
|
blockNumber: string;
|
|
2409
3101
|
potId: string;
|
|
@@ -2526,7 +3218,7 @@ declare function listActivePlayers(context: TransportContext, input: {
|
|
|
2526
3218
|
//#region src/admin/app-pages.d.ts
|
|
2527
3219
|
declare function listAppPages(context: TransportContext, input: {
|
|
2528
3220
|
readonly bearer: string;
|
|
2529
|
-
readonly status?: "draft" | "pending_review" | "published" | "hidden" | "all" | "pending_changes";
|
|
3221
|
+
readonly status?: "draft" | "pending_review" | "published" | "hidden" | "all" | "pending_changes" | "bip_pending_review";
|
|
2530
3222
|
}): Promise<AdminAppPageListResponse>;
|
|
2531
3223
|
declare function getAppPageChanges(context: TransportContext, input: {
|
|
2532
3224
|
readonly bearer: string;
|
|
@@ -2551,6 +3243,20 @@ declare function reviewAppPage(context: TransportContext, input: {
|
|
|
2551
3243
|
readonly appId: string;
|
|
2552
3244
|
readonly body: ReviewAppPage;
|
|
2553
3245
|
}): Promise<AdminAppPageStatusResponse>;
|
|
3246
|
+
declare function reviewAppPageBip(context: TransportContext, input: {
|
|
3247
|
+
readonly bearer: string;
|
|
3248
|
+
readonly appId: string;
|
|
3249
|
+
readonly body: ReviewAppPage;
|
|
3250
|
+
}): Promise<AdminAppPageBipStatusResponse>;
|
|
3251
|
+
declare function hideAppPageBip(context: TransportContext, input: {
|
|
3252
|
+
readonly bearer: string;
|
|
3253
|
+
readonly appId: string;
|
|
3254
|
+
readonly body: HideAppPage;
|
|
3255
|
+
}): Promise<AdminAppPageBipStatusResponse>;
|
|
3256
|
+
declare function unhideAppPageBip(context: TransportContext, input: {
|
|
3257
|
+
readonly bearer: string;
|
|
3258
|
+
readonly appId: string;
|
|
3259
|
+
}): Promise<AdminAppPageBipStatusResponse>;
|
|
2554
3260
|
//#endregion
|
|
2555
3261
|
//#region src/admin/appeals.d.ts
|
|
2556
3262
|
declare function listAppealQueue(context: TransportContext, input: {
|
|
@@ -2582,6 +3288,19 @@ declare function resolveAppeal(context: TransportContext, input: {
|
|
|
2582
3288
|
readonly body: AppealResolveRequest;
|
|
2583
3289
|
}): Promise<AppealResolveSignedResponse>;
|
|
2584
3290
|
//#endregion
|
|
3291
|
+
//#region src/admin/content-reports.d.ts
|
|
3292
|
+
declare function listAdminContentReports(context: TransportContext, input: {
|
|
3293
|
+
readonly bearer: string;
|
|
3294
|
+
readonly status?: "open" | "acknowledged" | "dismissed" | "all";
|
|
3295
|
+
readonly limit?: number;
|
|
3296
|
+
readonly offset?: number;
|
|
3297
|
+
}): Promise<AdminAppContentReportListResponse>;
|
|
3298
|
+
declare function triageAdminContentReport(context: TransportContext, input: {
|
|
3299
|
+
readonly bearer: string;
|
|
3300
|
+
readonly reportId: string;
|
|
3301
|
+
readonly status: "acknowledged" | "dismissed";
|
|
3302
|
+
}): Promise<AppContentReport>;
|
|
3303
|
+
//#endregion
|
|
2585
3304
|
//#region src/admin/developers.d.ts
|
|
2586
3305
|
declare function listDeveloperRequests(context: TransportContext, input: {
|
|
2587
3306
|
readonly bearer: string;
|
|
@@ -2597,6 +3316,12 @@ declare function listDevelopers(context: TransportContext, input: {
|
|
|
2597
3316
|
readonly bearer: string;
|
|
2598
3317
|
}): Promise<AdminDeveloperListResponse>;
|
|
2599
3318
|
//#endregion
|
|
3319
|
+
//#region src/admin/inventory-vault.d.ts
|
|
3320
|
+
declare function forceWithdrawVaultCustody(context: TransportContext, input: {
|
|
3321
|
+
readonly bearer: string;
|
|
3322
|
+
readonly custodyId: string;
|
|
3323
|
+
}): Promise<InventoryVaultForceWithdrawResponse>;
|
|
3324
|
+
//#endregion
|
|
2600
3325
|
//#region src/admin/payments.d.ts
|
|
2601
3326
|
declare function getPlatformFees(context: TransportContext, input: {
|
|
2602
3327
|
readonly bearer: string;
|
|
@@ -2715,6 +3440,113 @@ declare function getAppPage(context: TransportContext, input: {
|
|
|
2715
3440
|
readonly slug: string;
|
|
2716
3441
|
}): Promise<PublicAppPage>;
|
|
2717
3442
|
//#endregion
|
|
3443
|
+
//#region src/catalog/bip-updates.d.ts
|
|
3444
|
+
declare function listBipUpdates(context: TransportContext, input: {
|
|
3445
|
+
readonly bearer?: string;
|
|
3446
|
+
readonly slug: string;
|
|
3447
|
+
readonly limit?: number;
|
|
3448
|
+
readonly offset?: number;
|
|
3449
|
+
}): Promise<BipUpdateListResponse>;
|
|
3450
|
+
declare function listBipUpdateComments(context: TransportContext, input: {
|
|
3451
|
+
readonly bearer?: string;
|
|
3452
|
+
readonly slug: string;
|
|
3453
|
+
readonly updateId: string;
|
|
3454
|
+
readonly limit?: number;
|
|
3455
|
+
readonly offset?: number;
|
|
3456
|
+
}): Promise<BipUpdateCommentListResponse>;
|
|
3457
|
+
declare function getMyBipUpdateReactions(context: TransportContext, input: {
|
|
3458
|
+
readonly bearer: string;
|
|
3459
|
+
readonly slug: string;
|
|
3460
|
+
}): Promise<MyBipUpdateReactionsResponse>;
|
|
3461
|
+
declare function setBipUpdateReaction(context: TransportContext, input: {
|
|
3462
|
+
readonly bearer: string;
|
|
3463
|
+
readonly slug: string;
|
|
3464
|
+
readonly updateId: string;
|
|
3465
|
+
readonly body: SetBipUpdateReactionRequest;
|
|
3466
|
+
}): Promise<SetBipUpdateReactionResponse>;
|
|
3467
|
+
declare function commentOnBipUpdate(context: TransportContext, input: {
|
|
3468
|
+
readonly bearer: string;
|
|
3469
|
+
readonly slug: string;
|
|
3470
|
+
readonly updateId: string;
|
|
3471
|
+
readonly body: string;
|
|
3472
|
+
}): Promise<CreateBipUpdateCommentResponse>;
|
|
3473
|
+
declare function deleteBipUpdateComment(context: TransportContext, input: {
|
|
3474
|
+
readonly bearer: string;
|
|
3475
|
+
readonly slug: string;
|
|
3476
|
+
readonly commentId: string;
|
|
3477
|
+
}): Promise<DeleteBipUpdateCommentResponse>;
|
|
3478
|
+
declare function listDeveloperBipUpdates(context: TransportContext, input: {
|
|
3479
|
+
readonly bearer: string;
|
|
3480
|
+
readonly appId: string;
|
|
3481
|
+
readonly limit?: number;
|
|
3482
|
+
readonly offset?: number;
|
|
3483
|
+
}): Promise<BipUpdateListResponse>;
|
|
3484
|
+
declare function createBipUpdate(context: TransportContext, input: {
|
|
3485
|
+
readonly bearer: string;
|
|
3486
|
+
readonly appId: string;
|
|
3487
|
+
readonly body: CreateBipUpdateRequest;
|
|
3488
|
+
}): Promise<BipUpdate>;
|
|
3489
|
+
declare function updateBipUpdate(context: TransportContext, input: {
|
|
3490
|
+
readonly bearer: string;
|
|
3491
|
+
readonly appId: string;
|
|
3492
|
+
readonly updateId: string;
|
|
3493
|
+
readonly body: UpdateBipUpdateRequest;
|
|
3494
|
+
}): Promise<BipUpdate>;
|
|
3495
|
+
declare function deleteBipUpdate(context: TransportContext, input: {
|
|
3496
|
+
readonly bearer: string;
|
|
3497
|
+
readonly appId: string;
|
|
3498
|
+
readonly updateId: string;
|
|
3499
|
+
}): Promise<DeleteBipUpdateResponse>;
|
|
3500
|
+
declare function pinBipUpdate(context: TransportContext, input: {
|
|
3501
|
+
readonly bearer: string;
|
|
3502
|
+
readonly appId: string;
|
|
3503
|
+
readonly updateId: string;
|
|
3504
|
+
}): Promise<BipUpdate>;
|
|
3505
|
+
declare function unpinBipUpdate(context: TransportContext, input: {
|
|
3506
|
+
readonly bearer: string;
|
|
3507
|
+
readonly appId: string;
|
|
3508
|
+
readonly updateId: string;
|
|
3509
|
+
}): Promise<BipUpdate>;
|
|
3510
|
+
declare function uploadBipUpdateMedia(context: TransportContext, input: {
|
|
3511
|
+
readonly bearer: string;
|
|
3512
|
+
readonly appId: string;
|
|
3513
|
+
readonly file: Blob;
|
|
3514
|
+
readonly filename: string;
|
|
3515
|
+
readonly contentType: string;
|
|
3516
|
+
}): Promise<BipUpdateMediaUploadResponse>;
|
|
3517
|
+
declare function getBipInterestCount(context: TransportContext, input: {
|
|
3518
|
+
readonly bearer?: string;
|
|
3519
|
+
readonly slug: string;
|
|
3520
|
+
}): Promise<BipInterestCountResponse>;
|
|
3521
|
+
declare function getMyBipEngagement(context: TransportContext, input: {
|
|
3522
|
+
readonly bearer: string;
|
|
3523
|
+
readonly slug: string;
|
|
3524
|
+
}): Promise<BipEngagementResponse>;
|
|
3525
|
+
declare function registerBipInterest(context: TransportContext, input: {
|
|
3526
|
+
readonly bearer: string;
|
|
3527
|
+
readonly slug: string;
|
|
3528
|
+
readonly interested: boolean;
|
|
3529
|
+
}): Promise<BipEngagementResponse>;
|
|
3530
|
+
declare function subscribeBipUpdates(context: TransportContext, input: {
|
|
3531
|
+
readonly bearer: string;
|
|
3532
|
+
readonly slug: string;
|
|
3533
|
+
readonly subscribed: boolean;
|
|
3534
|
+
}): Promise<BipEngagementResponse>;
|
|
3535
|
+
//#endregion
|
|
3536
|
+
//#region src/catalog/build-in-public.d.ts
|
|
3537
|
+
declare function getBipDirectory(context: TransportContext, input: {
|
|
3538
|
+
readonly bearer?: string;
|
|
3539
|
+
readonly genre?: string;
|
|
3540
|
+
readonly q?: string;
|
|
3541
|
+
readonly sort?: "newest" | "top";
|
|
3542
|
+
readonly before?: string;
|
|
3543
|
+
readonly limit?: number;
|
|
3544
|
+
}): Promise<LibraryListResponse>;
|
|
3545
|
+
declare function getBipPage(context: TransportContext, input: {
|
|
3546
|
+
readonly bearer?: string;
|
|
3547
|
+
readonly slug: string;
|
|
3548
|
+
}): Promise<PublicBipPage>;
|
|
3549
|
+
//#endregion
|
|
2718
3550
|
//#region src/catalog/content-reports.d.ts
|
|
2719
3551
|
declare function submitAppContentReport(context: TransportContext, input: {
|
|
2720
3552
|
readonly appId: string;
|
|
@@ -2727,6 +3559,7 @@ declare function getLibrary(context: TransportContext, input: {
|
|
|
2727
3559
|
readonly bearer?: string;
|
|
2728
3560
|
readonly genre?: string;
|
|
2729
3561
|
readonly q?: string;
|
|
3562
|
+
readonly sort?: "newest" | "top";
|
|
2730
3563
|
readonly before?: string;
|
|
2731
3564
|
readonly limit?: number;
|
|
2732
3565
|
}): Promise<LibraryListResponse>;
|
|
@@ -2759,6 +3592,41 @@ declare function deleteMyGameReview(context: TransportContext, input: {
|
|
|
2759
3592
|
readonly slug: string;
|
|
2760
3593
|
readonly bearer: string;
|
|
2761
3594
|
}): Promise<MyReviewResponse>;
|
|
3595
|
+
declare function getMyGameReviewReactions(context: TransportContext, input: {
|
|
3596
|
+
readonly slug: string;
|
|
3597
|
+
readonly bearer: string;
|
|
3598
|
+
}): Promise<MyReviewReactionsResponse>;
|
|
3599
|
+
declare function setMyGameReviewReaction(context: TransportContext, input: {
|
|
3600
|
+
readonly slug: string;
|
|
3601
|
+
readonly reviewId: string;
|
|
3602
|
+
readonly bearer: string;
|
|
3603
|
+
readonly reaction: SetReviewReactionRequest;
|
|
3604
|
+
}): Promise<SetReviewReactionResponse>;
|
|
3605
|
+
declare function tipGameReview(context: TransportContext, input: {
|
|
3606
|
+
readonly slug: string;
|
|
3607
|
+
readonly reviewId: string;
|
|
3608
|
+
readonly bearer: string;
|
|
3609
|
+
readonly tip: TipReviewRequest;
|
|
3610
|
+
readonly idempotencyKey?: string;
|
|
3611
|
+
}): Promise<TipReviewResponse>;
|
|
3612
|
+
declare function listGameReviewComments(context: TransportContext, input: {
|
|
3613
|
+
readonly slug: string;
|
|
3614
|
+
readonly reviewId: string;
|
|
3615
|
+
readonly bearer?: string;
|
|
3616
|
+
readonly limit?: number;
|
|
3617
|
+
readonly offset?: number;
|
|
3618
|
+
}): Promise<ReviewCommentListResponse>;
|
|
3619
|
+
declare function commentOnGameReview(context: TransportContext, input: {
|
|
3620
|
+
readonly slug: string;
|
|
3621
|
+
readonly reviewId: string;
|
|
3622
|
+
readonly bearer: string;
|
|
3623
|
+
readonly comment: CreateReviewCommentRequest;
|
|
3624
|
+
}): Promise<CreateReviewCommentResponse>;
|
|
3625
|
+
declare function deleteGameReviewComment(context: TransportContext, input: {
|
|
3626
|
+
readonly slug: string;
|
|
3627
|
+
readonly commentId: string;
|
|
3628
|
+
readonly bearer: string;
|
|
3629
|
+
}): Promise<DeleteReviewCommentResponse>;
|
|
2762
3630
|
declare function replyToGameReview(context: TransportContext, input: {
|
|
2763
3631
|
readonly appId: string;
|
|
2764
3632
|
readonly reviewId: string;
|
|
@@ -2850,6 +3718,9 @@ declare function getPaymentHistory(context: TransportContext, input: {
|
|
|
2850
3718
|
readonly before?: string;
|
|
2851
3719
|
}): Promise<PaymentHistoryResponse>;
|
|
2852
3720
|
//#endregion
|
|
3721
|
+
//#region src/dashboard/rates.d.ts
|
|
3722
|
+
declare function getPaymentRates(context: TransportContext): Promise<PaymentRatesResponse>;
|
|
3723
|
+
//#endregion
|
|
2853
3724
|
//#region src/developer/api-keys.d.ts
|
|
2854
3725
|
declare function createDeveloperApiKey(context: TransportContext, input: {
|
|
2855
3726
|
readonly bearer: string;
|
|
@@ -2987,6 +3858,53 @@ declare function updateDeveloperAppContentReportStatus(context: TransportContext
|
|
|
2987
3858
|
readonly status: "acknowledged" | "dismissed";
|
|
2988
3859
|
}): Promise<AppContentReport>;
|
|
2989
3860
|
//#endregion
|
|
3861
|
+
//#region src/developer/inventory.d.ts
|
|
3862
|
+
declare function quoteDeveloperAppInventoryRegistration(context: TransportContext, input: {
|
|
3863
|
+
readonly bearer: string;
|
|
3864
|
+
readonly appId: string;
|
|
3865
|
+
readonly registration: InventoryItemRegistrationInput;
|
|
3866
|
+
}): Promise<InventoryRegistrationQuote>;
|
|
3867
|
+
declare function registerDeveloperAppInventoryItem(context: TransportContext, input: {
|
|
3868
|
+
readonly bearer: string;
|
|
3869
|
+
readonly appId: string;
|
|
3870
|
+
readonly registration: InventoryItemRegistrationInput;
|
|
3871
|
+
}): Promise<InventoryItemRegistrationResult>;
|
|
3872
|
+
declare function listDeveloperAppInventoryCollections(context: TransportContext, input: {
|
|
3873
|
+
readonly bearer: string;
|
|
3874
|
+
readonly appId: string;
|
|
3875
|
+
}): Promise<InventoryCollectionListResponse>;
|
|
3876
|
+
declare function listDeveloperAppInventoryItems(context: TransportContext, input: {
|
|
3877
|
+
readonly bearer: string;
|
|
3878
|
+
readonly appId: string;
|
|
3879
|
+
}): Promise<InventoryItemListResponse>;
|
|
3880
|
+
declare function createDeveloperAppMintPermit(context: TransportContext, input: {
|
|
3881
|
+
readonly bearer: string;
|
|
3882
|
+
readonly appId: string;
|
|
3883
|
+
readonly itemId: string;
|
|
3884
|
+
readonly grant: InventoryMintPermitCreateInput;
|
|
3885
|
+
}): Promise<InventoryMintPermitRecord>;
|
|
3886
|
+
declare function getDeveloperAppInventoryItemHolders(context: TransportContext, input: {
|
|
3887
|
+
readonly bearer: string;
|
|
3888
|
+
readonly appId: string;
|
|
3889
|
+
readonly itemId: string;
|
|
3890
|
+
}): Promise<InventoryItemHoldersResponse>;
|
|
3891
|
+
declare function uploadDeveloperAppInventoryItemImage(context: TransportContext, input: {
|
|
3892
|
+
readonly bearer: string;
|
|
3893
|
+
readonly appId: string;
|
|
3894
|
+
readonly itemId: string;
|
|
3895
|
+
readonly file: Blob | ArrayBufferView | ArrayBuffer;
|
|
3896
|
+
readonly filename: string;
|
|
3897
|
+
readonly contentType: string;
|
|
3898
|
+
}): Promise<InventoryItemRecord>;
|
|
3899
|
+
declare function uploadDeveloperAppInventoryItemBanner(context: TransportContext, input: {
|
|
3900
|
+
readonly bearer: string;
|
|
3901
|
+
readonly appId: string;
|
|
3902
|
+
readonly itemId: string;
|
|
3903
|
+
readonly file: Blob | ArrayBufferView | ArrayBuffer;
|
|
3904
|
+
readonly filename: string;
|
|
3905
|
+
readonly contentType: string;
|
|
3906
|
+
}): Promise<InventoryItemRecord>;
|
|
3907
|
+
//#endregion
|
|
2990
3908
|
//#region src/developer/pages.d.ts
|
|
2991
3909
|
declare function getDeveloperAppPage(context: TransportContext, input: {
|
|
2992
3910
|
readonly bearer: string;
|
|
@@ -3045,6 +3963,19 @@ declare function unpublishAppPage(context: TransportContext, input: {
|
|
|
3045
3963
|
readonly bearer: string;
|
|
3046
3964
|
readonly appId: string;
|
|
3047
3965
|
}): Promise<AppPageDraft>;
|
|
3966
|
+
declare function setAppPageBip(context: TransportContext, input: {
|
|
3967
|
+
readonly bearer: string;
|
|
3968
|
+
readonly appId: string;
|
|
3969
|
+
readonly body: AppPageBipToggle;
|
|
3970
|
+
}): Promise<AppPageDraft>;
|
|
3971
|
+
declare function submitAppPageBipForReview(context: TransportContext, input: {
|
|
3972
|
+
readonly bearer: string;
|
|
3973
|
+
readonly appId: string;
|
|
3974
|
+
}): Promise<AppPageDraft>;
|
|
3975
|
+
declare function unpublishAppPageBip(context: TransportContext, input: {
|
|
3976
|
+
readonly bearer: string;
|
|
3977
|
+
readonly appId: string;
|
|
3978
|
+
}): Promise<AppPageDraft>;
|
|
3048
3979
|
//#endregion
|
|
3049
3980
|
//#region src/developer/participants.d.ts
|
|
3050
3981
|
declare function listDeveloperAppParticipants(context: TransportContext, input: {
|
|
@@ -3111,6 +4042,68 @@ declare function uploadMultipart(context: TransportContext, input: {
|
|
|
3111
4042
|
readonly contentType: string;
|
|
3112
4043
|
}): Promise<unknown>;
|
|
3113
4044
|
//#endregion
|
|
4045
|
+
//#region src/developer/vault.d.ts
|
|
4046
|
+
declare function createDeveloperVaultPermit(context: TransportContext, input: {
|
|
4047
|
+
readonly bearer: string;
|
|
4048
|
+
readonly appId: string;
|
|
4049
|
+
readonly itemId: string;
|
|
4050
|
+
readonly grant: InventoryVaultPermitCreateInput;
|
|
4051
|
+
}): Promise<InventoryVaultPermitRecord>;
|
|
4052
|
+
declare function createDeveloperWithdrawPermit(context: TransportContext, input: {
|
|
4053
|
+
readonly bearer: string;
|
|
4054
|
+
readonly appId: string;
|
|
4055
|
+
readonly itemId: string;
|
|
4056
|
+
readonly grant: InventoryWithdrawPermitCreateInput;
|
|
4057
|
+
}): Promise<InventoryVaultPermitRecord>;
|
|
4058
|
+
//#endregion
|
|
4059
|
+
//#region src/events/inventory-socket.d.ts
|
|
4060
|
+
declare const inventoryUpdateEventSchema: z.ZodObject<{
|
|
4061
|
+
event: z.ZodLiteral<"inventory.updated">;
|
|
4062
|
+
deliveredAt: z.ZodString;
|
|
4063
|
+
environment: z.ZodEnum<{
|
|
4064
|
+
development: "development";
|
|
4065
|
+
production: "production";
|
|
4066
|
+
}>;
|
|
4067
|
+
subject: z.ZodString;
|
|
4068
|
+
collectionId: z.ZodString;
|
|
4069
|
+
collectionAddress: z.ZodString;
|
|
4070
|
+
chain: z.ZodString;
|
|
4071
|
+
kind: z.ZodEnum<{
|
|
4072
|
+
erc721: "erc721";
|
|
4073
|
+
erc1155: "erc1155";
|
|
4074
|
+
}>;
|
|
4075
|
+
tokenId: z.ZodString;
|
|
4076
|
+
direction: z.ZodEnum<{
|
|
4077
|
+
credit: "credit";
|
|
4078
|
+
debit: "debit";
|
|
4079
|
+
}>;
|
|
4080
|
+
amount: z.ZodString;
|
|
4081
|
+
balance: z.ZodString;
|
|
4082
|
+
}, z.core.$strip>;
|
|
4083
|
+
type InventoryUpdateEvent = z.infer<typeof inventoryUpdateEventSchema>;
|
|
4084
|
+
type OauthInventoryEventsSubscriberLifecycle = {
|
|
4085
|
+
onOpen?: () => void;
|
|
4086
|
+
onSubscribed?: (appId: string) => void;
|
|
4087
|
+
onMessage: (body: InventoryUpdateEvent) => void | Promise<void>;
|
|
4088
|
+
onClose?: (error: TronWsCloseError) => void;
|
|
4089
|
+
onError?: (error: Error) => void;
|
|
4090
|
+
};
|
|
4091
|
+
type OauthInventoryEventsSubscriberOptions = {
|
|
4092
|
+
readonly issuer: string;
|
|
4093
|
+
readonly clientId: string;
|
|
4094
|
+
readonly clientSecret: string;
|
|
4095
|
+
readonly logger?: Logger;
|
|
4096
|
+
readonly lifecycle: OauthInventoryEventsSubscriberLifecycle;
|
|
4097
|
+
readonly initialBackoffMs?: number;
|
|
4098
|
+
readonly maxBackoffMs?: number;
|
|
4099
|
+
readonly shouldReconnect?: (error: TronWsCloseError) => boolean;
|
|
4100
|
+
readonly WebSocketImpl?: typeof globalThis.WebSocket;
|
|
4101
|
+
};
|
|
4102
|
+
type OauthInventoryEventsSubscriber = {
|
|
4103
|
+
readonly stop: () => void;
|
|
4104
|
+
};
|
|
4105
|
+
declare function startOauthInventoryEventsSubscriber(options: OauthInventoryEventsSubscriberOptions): OauthInventoryEventsSubscriber;
|
|
4106
|
+
//#endregion
|
|
3114
4107
|
//#region src/webhook/verify.d.ts
|
|
3115
4108
|
declare const oauthPaymentWebhookBodySchema: z.ZodObject<{
|
|
3116
4109
|
event: z.ZodEnum<{
|
|
@@ -3185,6 +4178,7 @@ type OauthPaymentEventsSubscriberOptions = {
|
|
|
3185
4178
|
readonly maxBackoffMs?: number;
|
|
3186
4179
|
readonly shouldReconnect?: (error: TronWsCloseError) => boolean;
|
|
3187
4180
|
readonly WebSocketImpl?: typeof globalThis.WebSocket;
|
|
4181
|
+
readonly disableEventAck?: boolean;
|
|
3188
4182
|
};
|
|
3189
4183
|
type OauthPaymentEventsSubscriber = {
|
|
3190
4184
|
readonly stop: () => void;
|
|
@@ -3199,12 +4193,55 @@ declare function listInventoryForApp(context: TransportContext, input: {
|
|
|
3199
4193
|
readonly bearer: string;
|
|
3200
4194
|
}): Promise<InventoryListResponse>;
|
|
3201
4195
|
//#endregion
|
|
4196
|
+
//#region src/inventory/nft-transfer.d.ts
|
|
4197
|
+
declare function quoteNftTransfer(context: TransportContext, input: {
|
|
4198
|
+
readonly bearer: string;
|
|
4199
|
+
readonly body: InventoryNftTransferQuoteRequest;
|
|
4200
|
+
}): Promise<InventoryNftTransferQuoteResponse>;
|
|
4201
|
+
declare function executeNftTransfer(context: TransportContext, input: {
|
|
4202
|
+
readonly bearer: string;
|
|
4203
|
+
readonly body: InventoryNftTransferRequest;
|
|
4204
|
+
}): Promise<InventoryNftTransferResponse>;
|
|
4205
|
+
//#endregion
|
|
4206
|
+
//#region src/inventory/permits.d.ts
|
|
4207
|
+
declare function listInventoryMintPermits(context: TransportContext, input: {
|
|
4208
|
+
readonly bearer: string;
|
|
4209
|
+
}): Promise<InventoryPendingPermitListResponse>;
|
|
4210
|
+
declare function redeemInventoryMintPermit(context: TransportContext, input: {
|
|
4211
|
+
readonly bearer: string;
|
|
4212
|
+
readonly permitId: string;
|
|
4213
|
+
}): Promise<InventoryPermitRedeemResult>;
|
|
4214
|
+
//#endregion
|
|
3202
4215
|
//#region src/inventory/request-mint.d.ts
|
|
3203
4216
|
declare function requestMint(context: TransportContext, input: {
|
|
3204
4217
|
readonly appBearer: string;
|
|
3205
4218
|
readonly body: MintRequestInput;
|
|
3206
4219
|
}): Promise<MintRequestResult>;
|
|
3207
4220
|
//#endregion
|
|
4221
|
+
//#region src/inventory/vault.d.ts
|
|
4222
|
+
declare function listInventoryVaultPermits(context: TransportContext, input: {
|
|
4223
|
+
readonly bearer: string;
|
|
4224
|
+
}): Promise<InventoryPendingVaultPermitListResponse>;
|
|
4225
|
+
declare function signInventoryVaultPermit(context: TransportContext, input: {
|
|
4226
|
+
readonly bearer: string;
|
|
4227
|
+
readonly permitId: string;
|
|
4228
|
+
}): Promise<InventorySignedVaultPermit>;
|
|
4229
|
+
declare function quoteRelayedVaultPermit(context: TransportContext, input: {
|
|
4230
|
+
readonly bearer: string;
|
|
4231
|
+
readonly permitId: string;
|
|
4232
|
+
}): Promise<InventoryRelayedVaultQuoteResponse>;
|
|
4233
|
+
declare function submitRelayedVaultPermit(context: TransportContext, input: {
|
|
4234
|
+
readonly bearer: string;
|
|
4235
|
+
readonly permitId: string;
|
|
4236
|
+
readonly body: InventoryRelayedVaultSubmitRequest;
|
|
4237
|
+
}): Promise<InventoryRelayedVaultSubmitResponse>;
|
|
4238
|
+
declare function listInventoryVaulted(context: TransportContext, input: {
|
|
4239
|
+
readonly bearer: string;
|
|
4240
|
+
}): Promise<InventoryVaultCustodyListResponse>;
|
|
4241
|
+
declare function listOauthInventoryVaulted(context: TransportContext, input: {
|
|
4242
|
+
readonly bearer: string;
|
|
4243
|
+
}): Promise<InventoryVaultCustodyListResponse>;
|
|
4244
|
+
//#endregion
|
|
3208
4245
|
//#region src/messaging/dm-key-backup.d.ts
|
|
3209
4246
|
declare function getDmKeyBackupStatus(context: TransportContext, input: {
|
|
3210
4247
|
readonly bearer: string;
|
|
@@ -3471,6 +4508,15 @@ declare function denyPaymentIntent(context: TransportContext, input: {
|
|
|
3471
4508
|
readonly bearer: string;
|
|
3472
4509
|
readonly intentId: string;
|
|
3473
4510
|
}): Promise<OauthPaymentIntentResolveResponse>;
|
|
4511
|
+
declare function preparePaymentIntentSolana(context: TransportContext, input: {
|
|
4512
|
+
readonly bearer: string;
|
|
4513
|
+
readonly intentId: string;
|
|
4514
|
+
}): Promise<OauthPaymentIntentSolanaPrepareResponse>;
|
|
4515
|
+
declare function completePaymentIntentSolana(context: TransportContext, input: {
|
|
4516
|
+
readonly bearer: string;
|
|
4517
|
+
readonly intentId: string;
|
|
4518
|
+
readonly body: OauthPaymentIntentSolanaCompleteRequest;
|
|
4519
|
+
}): Promise<OauthPaymentIntentResolveResponse>;
|
|
3474
4520
|
//#endregion
|
|
3475
4521
|
//#region src/payments/limits.d.ts
|
|
3476
4522
|
declare function getPaymentLimits(context: TransportContext, input: {
|
|
@@ -3519,6 +4565,22 @@ declare function createTronDeposit(context: TransportContext, input: {
|
|
|
3519
4565
|
readonly bearer: string;
|
|
3520
4566
|
readonly body: TronDepositRequest;
|
|
3521
4567
|
}): Promise<TronDepositResponse>;
|
|
4568
|
+
declare function createTronTransfer(context: TransportContext, input: {
|
|
4569
|
+
readonly bearer: string;
|
|
4570
|
+
readonly body: TronTransferRequest;
|
|
4571
|
+
readonly idempotencyKey?: string;
|
|
4572
|
+
}): Promise<TronTransferResponse>;
|
|
4573
|
+
declare function getTronSecurity(context: TransportContext, input: {
|
|
4574
|
+
readonly bearer: string;
|
|
4575
|
+
}): Promise<TronSecuritySetting>;
|
|
4576
|
+
declare function setTronSecurity(context: TransportContext, input: {
|
|
4577
|
+
readonly bearer: string;
|
|
4578
|
+
readonly setting: TronSecuritySetting;
|
|
4579
|
+
}): Promise<TronSecuritySetting>;
|
|
4580
|
+
declare function createTronTransferChallenge(context: TransportContext, input: {
|
|
4581
|
+
readonly bearer: string;
|
|
4582
|
+
readonly body: TronTransferChallengeRequest;
|
|
4583
|
+
}): Promise<TronTransferChallengeResponse>;
|
|
3522
4584
|
declare function createTronConnectOnboarding(context: TransportContext, input: {
|
|
3523
4585
|
readonly bearer: string;
|
|
3524
4586
|
}): Promise<TronConnectOnboardingResponse>;
|
|
@@ -3693,6 +4755,10 @@ declare function sendFriendRequest(context: TransportContext, input: {
|
|
|
3693
4755
|
readonly bearer: string;
|
|
3694
4756
|
readonly userId: string;
|
|
3695
4757
|
}): Promise<void>;
|
|
4758
|
+
declare function removeFriend(context: TransportContext, input: {
|
|
4759
|
+
readonly bearer: string;
|
|
4760
|
+
readonly userId: string;
|
|
4761
|
+
}): Promise<void>;
|
|
3696
4762
|
declare function decideFriendRequest(context: TransportContext, input: {
|
|
3697
4763
|
readonly bearer: string;
|
|
3698
4764
|
readonly requestId: string;
|
|
@@ -3705,6 +4771,9 @@ declare function cancelFriendRequest(context: TransportContext, input: {
|
|
|
3705
4771
|
declare function listFriends(context: TransportContext, input: {
|
|
3706
4772
|
readonly bearer: string;
|
|
3707
4773
|
}): Promise<FriendListResponse>;
|
|
4774
|
+
declare function listFriendsForApp(context: TransportContext, input: {
|
|
4775
|
+
readonly bearer: string;
|
|
4776
|
+
}): Promise<AppFriendListResponse>;
|
|
3708
4777
|
//#endregion
|
|
3709
4778
|
//#region src/reads/socials.d.ts
|
|
3710
4779
|
declare function listSocials(context: TransportContext, input: {
|
|
@@ -3831,6 +4900,7 @@ declare class TronNodeClient {
|
|
|
3831
4900
|
};
|
|
3832
4901
|
};
|
|
3833
4902
|
subscribeOauthPaymentEvents(lifecycle: OauthPaymentEventsSubscriberLifecycle): OauthPaymentEventsSubscriber;
|
|
4903
|
+
subscribeOauthInventoryEvents(lifecycle: OauthInventoryEventsSubscriberLifecycle): OauthInventoryEventsSubscriber;
|
|
3834
4904
|
get users(): {
|
|
3835
4905
|
get: (input: {
|
|
3836
4906
|
bearer?: string;
|
|
@@ -3931,6 +5001,11 @@ declare class TronNodeClient {
|
|
|
3931
5001
|
body: MintRequestInput;
|
|
3932
5002
|
}) => Promise<MintRequestResult>;
|
|
3933
5003
|
};
|
|
5004
|
+
get friends(): {
|
|
5005
|
+
list: (input: {
|
|
5006
|
+
bearer: string;
|
|
5007
|
+
}) => Promise<AppFriendListResponse>;
|
|
5008
|
+
};
|
|
3934
5009
|
get socials(): {
|
|
3935
5010
|
list: (input: {
|
|
3936
5011
|
bearer: string;
|
|
@@ -3952,4 +5027,4 @@ declare class TronNodeClient {
|
|
|
3952
5027
|
};
|
|
3953
5028
|
}
|
|
3954
5029
|
//#endregion
|
|
3955
|
-
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 };
|
|
5030
|
+
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, pinBipUpdate, 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, unpinBipUpdate, 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 };
|