@metatrongg/sdk 0.8.0-dev.6ac4e78 → 0.8.0-dev.6be671d
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 +1070 -32
- package/dist/browser/index.js +1 -1
- package/dist/contracts/index.d.ts +12386 -4277
- package/dist/contracts/index.js +1 -1
- package/dist/index.js +1 -1
- package/dist/node/index.d.ts +1154 -61
- 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,16 @@ 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) | ({
|
|
779
|
+
kind: "solana_stake";
|
|
780
|
+
} & ActivityRowSolanaStake) | ({
|
|
781
|
+
kind: "solana_pot_leg";
|
|
782
|
+
} & ActivityRowSolanaPotLeg);
|
|
573
783
|
type ActivityRowPayment = {
|
|
574
784
|
kind: "payment";
|
|
575
785
|
groupId: string | null;
|
|
@@ -815,6 +1025,8 @@ type ActivityRowTronPot = {
|
|
|
815
1025
|
role: "incoming" | "outgoing";
|
|
816
1026
|
leg: "stake" | "payout" | "dev_cut" | "purchase" | "referral";
|
|
817
1027
|
amountCents: number;
|
|
1028
|
+
usdCents: number;
|
|
1029
|
+
status: "settled";
|
|
818
1030
|
app: {
|
|
819
1031
|
id: string;
|
|
820
1032
|
name: string;
|
|
@@ -822,8 +1034,16 @@ type ActivityRowTronPot = {
|
|
|
822
1034
|
slug: string | null;
|
|
823
1035
|
bannerUrl: string | null;
|
|
824
1036
|
} | null;
|
|
1037
|
+
involvedUsers?: Array<ActivityTronInvolvedUser> | null;
|
|
825
1038
|
metadata?: PaymentMetadata | null;
|
|
826
1039
|
};
|
|
1040
|
+
type ActivityTronInvolvedUser = {
|
|
1041
|
+
userId: string;
|
|
1042
|
+
handle: string | null;
|
|
1043
|
+
displayName: string | null;
|
|
1044
|
+
role: "stake" | "payout" | "dev_cut" | "purchase" | "referral";
|
|
1045
|
+
amountCents: number;
|
|
1046
|
+
};
|
|
827
1047
|
type ActivityRowTronCashout = {
|
|
828
1048
|
kind: "tron_cashout";
|
|
829
1049
|
groupId: string | null;
|
|
@@ -841,6 +1061,20 @@ type ActivityRowTronCashout = {
|
|
|
841
1061
|
rejectionReason: string | null;
|
|
842
1062
|
settledAt: string | null;
|
|
843
1063
|
};
|
|
1064
|
+
type ActivityRowTronTransfer = {
|
|
1065
|
+
kind: "tron_transfer";
|
|
1066
|
+
groupId: string | null;
|
|
1067
|
+
id: string;
|
|
1068
|
+
occurredAt: string;
|
|
1069
|
+
role: "incoming" | "outgoing";
|
|
1070
|
+
amountCents: number;
|
|
1071
|
+
usdCents: number;
|
|
1072
|
+
status: "settled";
|
|
1073
|
+
counterpartyUserId: string | null;
|
|
1074
|
+
counterpartyHandle: string | null;
|
|
1075
|
+
counterpartyDisplayName: string | null;
|
|
1076
|
+
note: string | null;
|
|
1077
|
+
};
|
|
844
1078
|
type ActivityRowReferralEarning = {
|
|
845
1079
|
kind: "referral_earning";
|
|
846
1080
|
groupId: string | null;
|
|
@@ -857,6 +1091,72 @@ type ActivityRowReferralEarning = {
|
|
|
857
1091
|
logIndex: number;
|
|
858
1092
|
usdCents: number | null;
|
|
859
1093
|
};
|
|
1094
|
+
type ActivityRowNftCharge = {
|
|
1095
|
+
kind: "nft_charge";
|
|
1096
|
+
groupId: string | null;
|
|
1097
|
+
id: string;
|
|
1098
|
+
occurredAt: string;
|
|
1099
|
+
role: "outgoing";
|
|
1100
|
+
chargeKind: "registration" | "mint" | "transfer_gas";
|
|
1101
|
+
amountCents: number;
|
|
1102
|
+
usdCents: number;
|
|
1103
|
+
status: "settled";
|
|
1104
|
+
collectionAddress: string | null;
|
|
1105
|
+
tokenId: string | null;
|
|
1106
|
+
counterpartyUserId: string | null;
|
|
1107
|
+
counterpartyHandle: string | null;
|
|
1108
|
+
counterpartyDisplayName: string | null;
|
|
1109
|
+
};
|
|
1110
|
+
type ActivityRowSolanaStake = {
|
|
1111
|
+
kind: "solana_stake";
|
|
1112
|
+
groupId: string | null;
|
|
1113
|
+
id: string;
|
|
1114
|
+
chain: string;
|
|
1115
|
+
occurredAt: string;
|
|
1116
|
+
role: "outgoing" | "incoming";
|
|
1117
|
+
amount: string;
|
|
1118
|
+
token: string;
|
|
1119
|
+
potId: string | null;
|
|
1120
|
+
usdCents: number;
|
|
1121
|
+
status: "completed";
|
|
1122
|
+
txHash: string | null;
|
|
1123
|
+
app: {
|
|
1124
|
+
id: string;
|
|
1125
|
+
name: string;
|
|
1126
|
+
logoUrl: string | null;
|
|
1127
|
+
slug: string | null;
|
|
1128
|
+
bannerUrl: string | null;
|
|
1129
|
+
} | null;
|
|
1130
|
+
stakerUserId?: string | null;
|
|
1131
|
+
stakerHandle?: string | null;
|
|
1132
|
+
stakerDisplayName?: string | null;
|
|
1133
|
+
metadata?: PaymentMetadata | null;
|
|
1134
|
+
};
|
|
1135
|
+
type ActivityRowSolanaPotLeg = {
|
|
1136
|
+
kind: "solana_pot_leg";
|
|
1137
|
+
groupId: string | null;
|
|
1138
|
+
id: string;
|
|
1139
|
+
chain: string;
|
|
1140
|
+
occurredAt: string;
|
|
1141
|
+
role: "outgoing" | "incoming";
|
|
1142
|
+
beneficiary: string;
|
|
1143
|
+
potId: string | null;
|
|
1144
|
+
amount: string;
|
|
1145
|
+
token: string;
|
|
1146
|
+
usdCents: number | null;
|
|
1147
|
+
status: "settled";
|
|
1148
|
+
app: {
|
|
1149
|
+
id: string;
|
|
1150
|
+
name: string;
|
|
1151
|
+
logoUrl: string | null;
|
|
1152
|
+
slug: string | null;
|
|
1153
|
+
bannerUrl: string | null;
|
|
1154
|
+
} | null;
|
|
1155
|
+
txHash: string | null;
|
|
1156
|
+
recipientUserId?: string | null;
|
|
1157
|
+
recipientHandle?: string | null;
|
|
1158
|
+
recipientDisplayName?: string | null;
|
|
1159
|
+
};
|
|
860
1160
|
type OutstandingResponse = {
|
|
861
1161
|
rows: Array<OutstandingByToken>;
|
|
862
1162
|
};
|
|
@@ -906,7 +1206,7 @@ type TronLedgerResponse = {
|
|
|
906
1206
|
};
|
|
907
1207
|
type TronLedgerEntry = {
|
|
908
1208
|
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";
|
|
1209
|
+
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
1210
|
amountCents: number;
|
|
911
1211
|
currency: string;
|
|
912
1212
|
createdAt: string;
|
|
@@ -921,6 +1221,45 @@ type TronDepositResponse = {
|
|
|
921
1221
|
type TronDepositRequest = {
|
|
922
1222
|
amountCents: number;
|
|
923
1223
|
};
|
|
1224
|
+
type TronTransferResponse = {
|
|
1225
|
+
status: "completed";
|
|
1226
|
+
amountCents: number;
|
|
1227
|
+
balanceCents: number;
|
|
1228
|
+
recipient: {
|
|
1229
|
+
userId: string;
|
|
1230
|
+
handle: string | null;
|
|
1231
|
+
displayName: string | null;
|
|
1232
|
+
};
|
|
1233
|
+
};
|
|
1234
|
+
type TronTransferRequest = {
|
|
1235
|
+
recipientUserId: string;
|
|
1236
|
+
amountCents: number;
|
|
1237
|
+
note?: string;
|
|
1238
|
+
challengeId?: string;
|
|
1239
|
+
signature?: string;
|
|
1240
|
+
threadId?: string;
|
|
1241
|
+
};
|
|
1242
|
+
type TronSecuritySetting = {
|
|
1243
|
+
requireSignature: boolean;
|
|
1244
|
+
};
|
|
1245
|
+
type TronTransferChallengeResponse = ({
|
|
1246
|
+
required: false;
|
|
1247
|
+
} & TronTransferChallengeNotRequired) | ({
|
|
1248
|
+
required: true;
|
|
1249
|
+
} & TronTransferChallengeRequired);
|
|
1250
|
+
type TronTransferChallengeNotRequired = {
|
|
1251
|
+
required: false;
|
|
1252
|
+
};
|
|
1253
|
+
type TronTransferChallengeRequired = {
|
|
1254
|
+
required: true;
|
|
1255
|
+
challengeId: string;
|
|
1256
|
+
message: string;
|
|
1257
|
+
expiresAt: string;
|
|
1258
|
+
};
|
|
1259
|
+
type TronTransferChallengeRequest = {
|
|
1260
|
+
recipientUserId: string;
|
|
1261
|
+
amountCents: number;
|
|
1262
|
+
};
|
|
924
1263
|
type TronGameBalanceResponse = {
|
|
925
1264
|
balanceCents: number;
|
|
926
1265
|
rakeBps: number;
|
|
@@ -1053,12 +1392,15 @@ type WalletListResponse = {
|
|
|
1053
1392
|
wallets: Array<WalletItem>;
|
|
1054
1393
|
};
|
|
1055
1394
|
type WalletChainList = Array<{
|
|
1056
|
-
id: "ethereum-mainnet" | "base-mainnet" | "ethereum-sepolia";
|
|
1395
|
+
id: "ethereum-mainnet" | "base-mainnet" | "ethereum-sepolia" | "base-sepolia" | "solana-mainnet" | "solana-devnet";
|
|
1057
1396
|
displayName: string;
|
|
1058
|
-
|
|
1397
|
+
family: "evm" | "solana";
|
|
1398
|
+
nativeSymbol: string;
|
|
1399
|
+
chainId?: number;
|
|
1059
1400
|
}>;
|
|
1060
1401
|
type WalletItem = {
|
|
1061
|
-
address: string;
|
|
1402
|
+
address: string | string;
|
|
1403
|
+
family: "evm" | "solana";
|
|
1062
1404
|
label: WalletLabel;
|
|
1063
1405
|
kind: "personal" | "app";
|
|
1064
1406
|
app: WalletAppLink;
|
|
@@ -1075,6 +1417,9 @@ type WalletBalances = {
|
|
|
1075
1417
|
"ethereum-mainnet"?: WalletChainBalance;
|
|
1076
1418
|
"base-mainnet"?: WalletChainBalance;
|
|
1077
1419
|
"ethereum-sepolia"?: WalletChainBalance;
|
|
1420
|
+
"base-sepolia"?: WalletChainBalance;
|
|
1421
|
+
"solana-mainnet"?: WalletChainBalance;
|
|
1422
|
+
"solana-devnet"?: WalletChainBalance;
|
|
1078
1423
|
};
|
|
1079
1424
|
type WalletChainBalance = {
|
|
1080
1425
|
native: string;
|
|
@@ -1084,12 +1429,14 @@ type WalletDelegationStatus = {
|
|
|
1084
1429
|
mode: WalletDelegationMode;
|
|
1085
1430
|
caps: WalletDelegationCaps;
|
|
1086
1431
|
policyId: string | null;
|
|
1432
|
+
slippageBps: DelegationSlippageBps;
|
|
1087
1433
|
};
|
|
1088
1434
|
type WalletDelegationMode = "infinite" | "custom" | "scoped" | null;
|
|
1089
1435
|
type WalletDelegationCaps = {
|
|
1090
1436
|
native: string;
|
|
1091
1437
|
usdc: string;
|
|
1092
1438
|
} | null;
|
|
1439
|
+
type DelegationSlippageBps = number | null;
|
|
1093
1440
|
type WalletLabelUpdateResponse = {
|
|
1094
1441
|
address: string;
|
|
1095
1442
|
label: WalletLabel;
|
|
@@ -1163,6 +1510,7 @@ type ThreadLastMessagePreview = {
|
|
|
1163
1510
|
url: string;
|
|
1164
1511
|
count: number;
|
|
1165
1512
|
} | null;
|
|
1513
|
+
transaction?: MessageTransactionTronTransfer | MessageTransactionNftTransfer | null;
|
|
1166
1514
|
sentAt: string;
|
|
1167
1515
|
} | null;
|
|
1168
1516
|
type MessageEnvelope = {
|
|
@@ -1174,6 +1522,20 @@ type MessageEnvelope = {
|
|
|
1174
1522
|
iv: string;
|
|
1175
1523
|
ct: string;
|
|
1176
1524
|
} | null;
|
|
1525
|
+
type MessageTransactionTronTransfer = {
|
|
1526
|
+
kind: "tron_transfer";
|
|
1527
|
+
amountCents: number;
|
|
1528
|
+
recipientUserId: string;
|
|
1529
|
+
};
|
|
1530
|
+
type MessageTransactionNftTransfer = {
|
|
1531
|
+
kind: "nft_transfer";
|
|
1532
|
+
recipientUserId: string;
|
|
1533
|
+
collectionAddress: string;
|
|
1534
|
+
tokenId: string;
|
|
1535
|
+
amount: string;
|
|
1536
|
+
itemName: string | null;
|
|
1537
|
+
imageAssetId?: string | null;
|
|
1538
|
+
};
|
|
1177
1539
|
type GroupThreadSummary = {
|
|
1178
1540
|
kind: "group";
|
|
1179
1541
|
id: string;
|
|
@@ -1220,6 +1582,7 @@ type MessageItem = {
|
|
|
1220
1582
|
id: string;
|
|
1221
1583
|
threadId: string;
|
|
1222
1584
|
senderUserId: string;
|
|
1585
|
+
transaction?: MessageTransactionTronTransfer | MessageTransactionNftTransfer | null;
|
|
1223
1586
|
body: string;
|
|
1224
1587
|
envelope?: MessageEnvelope;
|
|
1225
1588
|
sentAt: string;
|
|
@@ -1388,47 +1751,322 @@ type PlaytimeAppEntry = {
|
|
|
1388
1751
|
sessionCount: number;
|
|
1389
1752
|
totalDurationSeconds: number;
|
|
1390
1753
|
};
|
|
1391
|
-
type PlaytimeTimeseries = {
|
|
1392
|
-
from: string;
|
|
1393
|
-
to: string;
|
|
1394
|
-
buckets: Array<PlaytimeTimeseriesBucket>;
|
|
1754
|
+
type PlaytimeTimeseries = {
|
|
1755
|
+
from: string;
|
|
1756
|
+
to: string;
|
|
1757
|
+
buckets: Array<PlaytimeTimeseriesBucket>;
|
|
1758
|
+
};
|
|
1759
|
+
type PlaytimeTimeseriesBucket = {
|
|
1760
|
+
date: string;
|
|
1761
|
+
appId: PlaySessionAppId;
|
|
1762
|
+
sessionCount: number;
|
|
1763
|
+
totalDurationSeconds: number;
|
|
1764
|
+
};
|
|
1765
|
+
type InventoryListResponse = {
|
|
1766
|
+
items: Array<InventoryHolding>;
|
|
1767
|
+
};
|
|
1768
|
+
type InventoryHolding = {
|
|
1769
|
+
collectionId: string;
|
|
1770
|
+
collectionAddress: string;
|
|
1771
|
+
chain: string;
|
|
1772
|
+
kind: "erc721" | "erc1155";
|
|
1773
|
+
tokenId: string;
|
|
1774
|
+
amount: string;
|
|
1775
|
+
name: string | null;
|
|
1776
|
+
description: string | null;
|
|
1777
|
+
imageAssetId: string | null;
|
|
1778
|
+
bannerAssetId: string | null;
|
|
1779
|
+
devMetadata: {
|
|
1780
|
+
[key: string]: unknown;
|
|
1781
|
+
};
|
|
1782
|
+
appId: string | null;
|
|
1783
|
+
appName: string | null;
|
|
1784
|
+
appLogoUrl: string | null;
|
|
1785
|
+
};
|
|
1786
|
+
type InventoryPendingPermitListResponse = {
|
|
1787
|
+
permits: Array<InventoryPendingPermit>;
|
|
1788
|
+
};
|
|
1789
|
+
type InventoryPendingPermit = {
|
|
1790
|
+
id: string;
|
|
1791
|
+
appId: string;
|
|
1792
|
+
itemId: string;
|
|
1793
|
+
amount: string;
|
|
1794
|
+
priceCents: number | null;
|
|
1795
|
+
gasSponsored: boolean;
|
|
1796
|
+
environment: "development" | "production";
|
|
1797
|
+
createdAt: string;
|
|
1798
|
+
tokenId: string;
|
|
1799
|
+
name: string | null;
|
|
1800
|
+
description: string | null;
|
|
1801
|
+
imageAssetId: string | null;
|
|
1802
|
+
chain: string;
|
|
1803
|
+
collectionAddress: string;
|
|
1804
|
+
kind: "erc721" | "erc1155";
|
|
1805
|
+
};
|
|
1806
|
+
type InventoryPermitRedeemResult = {
|
|
1807
|
+
mint: MintRequestResult;
|
|
1808
|
+
charge: {
|
|
1809
|
+
currency: "tron";
|
|
1810
|
+
gasCents: number;
|
|
1811
|
+
priceCents: number;
|
|
1812
|
+
totalCents: number;
|
|
1813
|
+
gasPaidBy: "user" | "developer";
|
|
1814
|
+
};
|
|
1815
|
+
};
|
|
1816
|
+
type MintRequestResult = {
|
|
1817
|
+
mintRequestId: string;
|
|
1818
|
+
txHash: string;
|
|
1819
|
+
status: "submitted" | "completed";
|
|
1820
|
+
mintedTokenId: string | null;
|
|
1821
|
+
};
|
|
1822
|
+
type MintRequestInput = {
|
|
1823
|
+
collectionAddress: string;
|
|
1824
|
+
chain: string;
|
|
1825
|
+
toWallet?: string;
|
|
1826
|
+
toUserId?: string;
|
|
1827
|
+
tokenId?: string;
|
|
1828
|
+
amount?: string;
|
|
1829
|
+
};
|
|
1830
|
+
type InventoryCollectionListResponse = {
|
|
1831
|
+
collections: Array<InventoryCollectionSummary>;
|
|
1832
|
+
};
|
|
1833
|
+
type InventoryCollectionSummary = {
|
|
1834
|
+
id: string;
|
|
1835
|
+
chain: string;
|
|
1836
|
+
collectionAddress: string;
|
|
1837
|
+
kind: "erc721" | "erc1155";
|
|
1838
|
+
name: string | null;
|
|
1839
|
+
environment: "development" | "production";
|
|
1840
|
+
};
|
|
1841
|
+
type InventoryRegistrationQuote = {
|
|
1842
|
+
itemCount: number;
|
|
1843
|
+
baselineUsdCents: number;
|
|
1844
|
+
gasUsdCents: number;
|
|
1845
|
+
tron: {
|
|
1846
|
+
baselineCents: number;
|
|
1847
|
+
gasCents: number;
|
|
1848
|
+
totalCents: number;
|
|
1849
|
+
};
|
|
1850
|
+
eth: {
|
|
1851
|
+
baselineWei: string;
|
|
1852
|
+
gasWei: string;
|
|
1853
|
+
totalWei: string;
|
|
1854
|
+
};
|
|
1855
|
+
};
|
|
1856
|
+
type InventoryItemRegistrationInput = {
|
|
1857
|
+
collectionAddress: string;
|
|
1858
|
+
chain: string;
|
|
1859
|
+
items: Array<InventoryItemRegistrationSpec>;
|
|
1860
|
+
};
|
|
1861
|
+
type InventoryItemRegistrationSpec = {
|
|
1862
|
+
name?: string | null;
|
|
1863
|
+
description?: string | null;
|
|
1864
|
+
devMetadata?: {
|
|
1865
|
+
[key: string]: unknown;
|
|
1866
|
+
};
|
|
1867
|
+
supplyType?: InventorySupplyType;
|
|
1868
|
+
maxSupply?: string | null;
|
|
1869
|
+
active?: boolean;
|
|
1870
|
+
};
|
|
1871
|
+
type InventorySupplyType = "capped" | "flexible" | "unlimited";
|
|
1872
|
+
type InventoryItemRegistrationResult = {
|
|
1873
|
+
items: Array<InventoryItemRecord>;
|
|
1874
|
+
charge: {
|
|
1875
|
+
currency: "tron";
|
|
1876
|
+
amountCents: number;
|
|
1877
|
+
baselineCents: number;
|
|
1878
|
+
gasCents: number;
|
|
1879
|
+
addItemTxHash: string;
|
|
1880
|
+
};
|
|
1881
|
+
};
|
|
1882
|
+
type InventoryItemRecord = {
|
|
1883
|
+
id: string;
|
|
1884
|
+
collectionId: string;
|
|
1885
|
+
collectionAddress: string;
|
|
1886
|
+
chain: string;
|
|
1887
|
+
kind: "erc721" | "erc1155";
|
|
1888
|
+
tokenId: string;
|
|
1889
|
+
name: string | null;
|
|
1890
|
+
description: string | null;
|
|
1891
|
+
imageAssetId: string | null;
|
|
1892
|
+
bannerAssetId: string | null;
|
|
1893
|
+
devMetadata: {
|
|
1894
|
+
[key: string]: unknown;
|
|
1895
|
+
};
|
|
1896
|
+
supplyType: InventorySupplyType | null;
|
|
1897
|
+
maxSupply: string | null;
|
|
1898
|
+
active: boolean;
|
|
1899
|
+
};
|
|
1900
|
+
type InventoryItemListResponse = {
|
|
1901
|
+
items: Array<InventoryItemRecord>;
|
|
1902
|
+
};
|
|
1903
|
+
type InventoryMintPermitRecord = {
|
|
1904
|
+
id: string;
|
|
1905
|
+
appId: string;
|
|
1906
|
+
itemId: string;
|
|
1907
|
+
userId: string;
|
|
1908
|
+
amount: string;
|
|
1909
|
+
priceCents: number | null;
|
|
1910
|
+
gasSponsored: boolean;
|
|
1911
|
+
status: "pending" | "redeemed" | "revoked";
|
|
1912
|
+
createdAt: string;
|
|
1913
|
+
};
|
|
1914
|
+
type InventoryMintPermitCreateInput = {
|
|
1915
|
+
toUserId: string;
|
|
1916
|
+
amount?: string;
|
|
1917
|
+
priceCents?: number | null;
|
|
1918
|
+
gasSponsored?: boolean;
|
|
1919
|
+
};
|
|
1920
|
+
type InventoryItemHoldersResponse = {
|
|
1921
|
+
stats: InventoryItemStats;
|
|
1922
|
+
holders: Array<InventoryItemHolder>;
|
|
1923
|
+
};
|
|
1924
|
+
type InventoryItemStats = {
|
|
1925
|
+
holderCount: number;
|
|
1926
|
+
walletCount: number;
|
|
1927
|
+
totalHeld: string;
|
|
1928
|
+
};
|
|
1929
|
+
type InventoryItemHolder = {
|
|
1930
|
+
walletAddress: string;
|
|
1931
|
+
userId: string | null;
|
|
1932
|
+
amount: string;
|
|
1933
|
+
};
|
|
1934
|
+
type InventoryVaultPermitRecord = {
|
|
1935
|
+
id: string;
|
|
1936
|
+
appId: string;
|
|
1937
|
+
itemId: string;
|
|
1938
|
+
userId: string;
|
|
1939
|
+
direction: "vault_in" | "withdraw";
|
|
1940
|
+
lockKind: "vault" | "burn" | null;
|
|
1941
|
+
amount: string;
|
|
1942
|
+
gasSponsored: boolean;
|
|
1943
|
+
status: "pending" | "redeemed" | "revoked";
|
|
1944
|
+
custodyId: string | null;
|
|
1945
|
+
createdAt: string;
|
|
1946
|
+
};
|
|
1947
|
+
type InventoryVaultPermitCreateInput = {
|
|
1948
|
+
toUserId: string;
|
|
1949
|
+
lockKind: "vault" | "burn";
|
|
1950
|
+
amount?: string;
|
|
1951
|
+
gasSponsored?: boolean;
|
|
1952
|
+
};
|
|
1953
|
+
type InventoryWithdrawPermitCreateInput = {
|
|
1954
|
+
custodyId: string;
|
|
1955
|
+
};
|
|
1956
|
+
type InventoryPendingVaultPermitListResponse = {
|
|
1957
|
+
permits: Array<InventoryPendingVaultPermit>;
|
|
1958
|
+
};
|
|
1959
|
+
type InventoryPendingVaultPermit = {
|
|
1960
|
+
id: string;
|
|
1961
|
+
appId: string;
|
|
1962
|
+
itemId: string;
|
|
1963
|
+
direction: "vault_in" | "withdraw";
|
|
1964
|
+
lockKind: "vault" | "burn" | null;
|
|
1965
|
+
amount: string;
|
|
1966
|
+
gasSponsored: boolean;
|
|
1967
|
+
environment: "development" | "production";
|
|
1968
|
+
custodyId: string | null;
|
|
1969
|
+
createdAt: string;
|
|
1970
|
+
tokenId: string;
|
|
1971
|
+
name: string | null;
|
|
1972
|
+
description: string | null;
|
|
1973
|
+
imageAssetId: string | null;
|
|
1974
|
+
chain: string;
|
|
1975
|
+
collectionAddress: string;
|
|
1976
|
+
kind: "erc721" | "erc1155";
|
|
1977
|
+
};
|
|
1978
|
+
type InventorySignedVaultPermit = {
|
|
1979
|
+
permitId: string;
|
|
1980
|
+
direction: "vault_in" | "withdraw";
|
|
1981
|
+
vault: string;
|
|
1982
|
+
collection: string;
|
|
1983
|
+
user: string;
|
|
1984
|
+
tokenId: string;
|
|
1985
|
+
amount: string;
|
|
1986
|
+
lockKind: "vault" | "burn" | null;
|
|
1987
|
+
destination: string | null;
|
|
1988
|
+
deadline: number;
|
|
1989
|
+
signature: string;
|
|
1990
|
+
};
|
|
1991
|
+
type InventoryRelayedVaultQuoteResponse = {
|
|
1992
|
+
direction: "vault_in" | "withdraw";
|
|
1993
|
+
collection: string;
|
|
1994
|
+
vault: string;
|
|
1995
|
+
chainId: number;
|
|
1996
|
+
user: string;
|
|
1997
|
+
tokenId: string;
|
|
1998
|
+
amount: string;
|
|
1999
|
+
nonce: string | null;
|
|
2000
|
+
deadline: number;
|
|
2001
|
+
feeCents: number;
|
|
2002
|
+
gasWei: string;
|
|
2003
|
+
gasPaidBy: "developer" | "user";
|
|
2004
|
+
requiresUserSignature: boolean;
|
|
2005
|
+
};
|
|
2006
|
+
type InventoryRelayedVaultSubmitResponse = {
|
|
2007
|
+
ok: boolean;
|
|
2008
|
+
txHash: string;
|
|
2009
|
+
chargedCents: number;
|
|
2010
|
+
gasPaidBy: "developer" | "user";
|
|
2011
|
+
};
|
|
2012
|
+
type InventoryRelayedVaultSubmitRequest = {
|
|
2013
|
+
userSignature?: string;
|
|
2014
|
+
deadline?: number;
|
|
2015
|
+
};
|
|
2016
|
+
type InventoryNftTransferQuoteResponse = {
|
|
2017
|
+
collection: string;
|
|
2018
|
+
chainId: number;
|
|
2019
|
+
from: string;
|
|
2020
|
+
to: string;
|
|
2021
|
+
tokenId: string;
|
|
2022
|
+
amount: string;
|
|
2023
|
+
nonce: string;
|
|
2024
|
+
deadline: number;
|
|
2025
|
+
feeCents: number;
|
|
2026
|
+
gasWei: string;
|
|
2027
|
+
selfPayAvailable: boolean;
|
|
2028
|
+
};
|
|
2029
|
+
type InventoryNftTransferQuoteRequest = {
|
|
2030
|
+
toUserId: string;
|
|
2031
|
+
collection: string;
|
|
2032
|
+
tokenId: string;
|
|
2033
|
+
amount?: string;
|
|
2034
|
+
};
|
|
2035
|
+
type InventoryNftTransferResponse = {
|
|
2036
|
+
ok: boolean;
|
|
2037
|
+
txHash: string;
|
|
2038
|
+
chargedCents: number;
|
|
1395
2039
|
};
|
|
1396
|
-
type
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
2040
|
+
type InventoryNftTransferRequest = {
|
|
2041
|
+
toUserId: string;
|
|
2042
|
+
collection: string;
|
|
2043
|
+
tokenId: string;
|
|
2044
|
+
amount?: string;
|
|
2045
|
+
deadline: number;
|
|
2046
|
+
userSignature: string;
|
|
2047
|
+
threadId?: string;
|
|
1401
2048
|
};
|
|
1402
|
-
type
|
|
1403
|
-
|
|
2049
|
+
type InventoryVaultCustodyListResponse = {
|
|
2050
|
+
custody: Array<InventoryVaultCustody>;
|
|
1404
2051
|
};
|
|
1405
|
-
type
|
|
2052
|
+
type InventoryVaultCustody = {
|
|
2053
|
+
id: string;
|
|
1406
2054
|
collectionId: string;
|
|
1407
2055
|
collectionAddress: string;
|
|
1408
2056
|
chain: string;
|
|
1409
2057
|
kind: "erc721" | "erc1155";
|
|
1410
2058
|
tokenId: string;
|
|
1411
2059
|
amount: string;
|
|
2060
|
+
lockKind: "vault" | "burn";
|
|
2061
|
+
vaultAddress: string;
|
|
2062
|
+
createdAt: string;
|
|
1412
2063
|
name: string | null;
|
|
2064
|
+
description: string | null;
|
|
1413
2065
|
imageAssetId: string | null;
|
|
1414
|
-
bannerAssetId: string | null;
|
|
1415
|
-
devMetadata: {
|
|
1416
|
-
[key: string]: unknown;
|
|
1417
|
-
};
|
|
1418
2066
|
};
|
|
1419
|
-
type
|
|
1420
|
-
|
|
2067
|
+
type InventoryVaultForceWithdrawResponse = {
|
|
2068
|
+
ok: boolean;
|
|
1421
2069
|
txHash: string;
|
|
1422
|
-
status: "submitted" | "completed";
|
|
1423
|
-
mintedTokenId: string | null;
|
|
1424
|
-
};
|
|
1425
|
-
type MintRequestInput = {
|
|
1426
|
-
collectionAddress: string;
|
|
1427
|
-
chain: string;
|
|
1428
|
-
toWallet?: string;
|
|
1429
|
-
toUserId?: string;
|
|
1430
|
-
tokenId?: string;
|
|
1431
|
-
amount?: string;
|
|
1432
2070
|
};
|
|
1433
2071
|
type NotificationListResponse = {
|
|
1434
2072
|
notifications: Array<NotificationItem>;
|
|
@@ -1458,6 +2096,18 @@ type NotificationItem = {
|
|
|
1458
2096
|
payload: AppPageRejectedNotificationPayload;
|
|
1459
2097
|
read: boolean;
|
|
1460
2098
|
createdAt: string;
|
|
2099
|
+
} | {
|
|
2100
|
+
id: string;
|
|
2101
|
+
kind: "bip_update_published";
|
|
2102
|
+
payload: BipUpdatePublishedNotificationPayload;
|
|
2103
|
+
read: boolean;
|
|
2104
|
+
createdAt: string;
|
|
2105
|
+
} | {
|
|
2106
|
+
id: string;
|
|
2107
|
+
kind: "bip_now_playable";
|
|
2108
|
+
payload: BipNowPlayableNotificationPayload;
|
|
2109
|
+
read: boolean;
|
|
2110
|
+
createdAt: string;
|
|
1461
2111
|
} | {
|
|
1462
2112
|
id: string;
|
|
1463
2113
|
kind: "app_participant_invite";
|
|
@@ -1488,14 +2138,25 @@ type FriendAcceptedNotificationPayload = {
|
|
|
1488
2138
|
type AppPageApprovedNotificationPayload = {
|
|
1489
2139
|
appId: string;
|
|
1490
2140
|
appName: string;
|
|
1491
|
-
scope: "publish" | "changes";
|
|
2141
|
+
scope: "publish" | "changes" | "bip_publish";
|
|
1492
2142
|
};
|
|
1493
2143
|
type AppPageRejectedNotificationPayload = {
|
|
1494
2144
|
appId: string;
|
|
1495
2145
|
appName: string;
|
|
1496
|
-
scope: "publish" | "changes";
|
|
2146
|
+
scope: "publish" | "changes" | "bip_publish";
|
|
1497
2147
|
notes: string;
|
|
1498
2148
|
};
|
|
2149
|
+
type BipUpdatePublishedNotificationPayload = {
|
|
2150
|
+
appId: string;
|
|
2151
|
+
appName: string;
|
|
2152
|
+
appSlug: string | null;
|
|
2153
|
+
updateId: string;
|
|
2154
|
+
};
|
|
2155
|
+
type BipNowPlayableNotificationPayload = {
|
|
2156
|
+
appId: string;
|
|
2157
|
+
appName: string;
|
|
2158
|
+
appSlug: string | null;
|
|
2159
|
+
};
|
|
1499
2160
|
type AppParticipantInviteNotificationPayload = {
|
|
1500
2161
|
appId: string;
|
|
1501
2162
|
appName: string;
|
|
@@ -1525,6 +2186,9 @@ type FriendListItem = {
|
|
|
1525
2186
|
onlineStatus: OnlineStatus;
|
|
1526
2187
|
};
|
|
1527
2188
|
type OnlineStatus = "online" | "offline";
|
|
2189
|
+
type AppFriendListResponse = {
|
|
2190
|
+
friends: Array<ThreadParticipant>;
|
|
2191
|
+
};
|
|
1528
2192
|
type FriendRequestDecision = {
|
|
1529
2193
|
decision: "accept" | "reject";
|
|
1530
2194
|
};
|
|
@@ -1597,7 +2261,7 @@ type ProfileRecentReview = {
|
|
|
1597
2261
|
appId: string;
|
|
1598
2262
|
appName: string;
|
|
1599
2263
|
appLogoUrl: string | null;
|
|
1600
|
-
|
|
2264
|
+
recommended: boolean;
|
|
1601
2265
|
body: string;
|
|
1602
2266
|
createdAt: string;
|
|
1603
2267
|
};
|
|
@@ -1654,17 +2318,20 @@ type CreateDeveloperAppChain = {
|
|
|
1654
2318
|
};
|
|
1655
2319
|
type UpdateDeveloperApp = {
|
|
1656
2320
|
name?: DeveloperAppName;
|
|
2321
|
+
slug?: AppPageSlug | null;
|
|
1657
2322
|
logoUrl?: string | null;
|
|
1658
2323
|
testAccess?: "private" | "public";
|
|
1659
2324
|
redirectUris?: Array<string>;
|
|
1660
2325
|
embedOrigins?: Array<EmbedOrigin>;
|
|
1661
2326
|
acceptedCurrencies?: AcceptedCurrencies;
|
|
2327
|
+
acceptedNetworks?: AcceptedNetworks;
|
|
1662
2328
|
paymentStatusWebhookUrl?: string | null;
|
|
1663
2329
|
paymentStatusWebhookUrlTest?: string | null;
|
|
1664
2330
|
};
|
|
1665
2331
|
type EmbedOrigin = string;
|
|
1666
2332
|
type AcceptedCurrencies = Array<PlatformCurrency>;
|
|
1667
2333
|
type PlatformCurrency = "eth" | "tron";
|
|
2334
|
+
type AcceptedNetworks = Array<PaymentNetwork> | null;
|
|
1668
2335
|
type DeveloperLogoUploadResponse = {
|
|
1669
2336
|
logoUrl: string | null;
|
|
1670
2337
|
};
|
|
@@ -1727,7 +2394,7 @@ type DeveloperAppWalletsResponse = {
|
|
|
1727
2394
|
};
|
|
1728
2395
|
type DeveloperAppWalletItem = {
|
|
1729
2396
|
chain: string;
|
|
1730
|
-
address: string;
|
|
2397
|
+
address: string | string;
|
|
1731
2398
|
custody: "server" | null;
|
|
1732
2399
|
walletId: string | null;
|
|
1733
2400
|
autoSweepEnabled: boolean;
|
|
@@ -1748,7 +2415,7 @@ type DeveloperAppProvisionWalletResponse = {
|
|
|
1748
2415
|
chain: string;
|
|
1749
2416
|
custody: "server";
|
|
1750
2417
|
walletId: string;
|
|
1751
|
-
address: string;
|
|
2418
|
+
address: string | string;
|
|
1752
2419
|
};
|
|
1753
2420
|
type DeveloperAppWithdrawResponse = {
|
|
1754
2421
|
appId: string;
|
|
@@ -1902,6 +2569,7 @@ type DeveloperProductionRequestPayload = {
|
|
|
1902
2569
|
type DeveloperAppItem = {
|
|
1903
2570
|
id: string;
|
|
1904
2571
|
name: DeveloperAppName;
|
|
2572
|
+
slug: AppPageSlug | null;
|
|
1905
2573
|
logoUrl: string | null;
|
|
1906
2574
|
environment: "development" | "production";
|
|
1907
2575
|
productionApprovedAt: string | null;
|
|
@@ -1910,6 +2578,7 @@ type DeveloperAppItem = {
|
|
|
1910
2578
|
redirectUris: Array<string>;
|
|
1911
2579
|
embedOrigins: Array<EmbedOrigin>;
|
|
1912
2580
|
acceptedCurrencies: AcceptedCurrencies;
|
|
2581
|
+
acceptedNetworks: AcceptedNetworks;
|
|
1913
2582
|
payoutAddresses: Array<DeveloperAppPayoutAddressItem>;
|
|
1914
2583
|
keys: Array<DeveloperAppKeyItem>;
|
|
1915
2584
|
pendingProductionRequestId: string | null;
|
|
@@ -1953,15 +2622,29 @@ type AppPageDraft = {
|
|
|
1953
2622
|
gallery: AppPageGallery;
|
|
1954
2623
|
chapters: AppPageChapters;
|
|
1955
2624
|
links: AppPageLinks;
|
|
2625
|
+
platforms: AppPagePlatforms;
|
|
2626
|
+
gameType: AppPageGameType;
|
|
2627
|
+
ageRating: AppPageAgeRating;
|
|
2628
|
+
languages: AppPageLanguages;
|
|
2629
|
+
releaseStatus: AppPageReleaseStatus;
|
|
1956
2630
|
firstPublishedAt: string | null;
|
|
1957
2631
|
reviewedAt: string | null;
|
|
1958
2632
|
reviewNotes: string | null;
|
|
1959
2633
|
hiddenAt: string | null;
|
|
1960
2634
|
hiddenReasonPublic: string | null;
|
|
1961
2635
|
pendingReview: boolean;
|
|
2636
|
+
bip: AppPageBipState;
|
|
2637
|
+
};
|
|
2638
|
+
type AppPageBipState = {
|
|
2639
|
+
enabled: boolean;
|
|
2640
|
+
status: "draft" | "pending_review" | "published" | "hidden";
|
|
2641
|
+
firstPublishedAt: string | null;
|
|
2642
|
+
reviewedAt: string | null;
|
|
2643
|
+
reviewNotes: string | null;
|
|
2644
|
+
hiddenAt: string | null;
|
|
2645
|
+
hiddenReasonPublic: string | null;
|
|
1962
2646
|
};
|
|
1963
2647
|
type UpdateAppPage = {
|
|
1964
|
-
slug?: AppPageSlug | null;
|
|
1965
2648
|
categories?: AppPageCategories;
|
|
1966
2649
|
tagline?: AppPageTagline | null;
|
|
1967
2650
|
bannerUrl?: string | null;
|
|
@@ -1975,10 +2658,18 @@ type UpdateAppPage = {
|
|
|
1975
2658
|
gallery?: AppPageGallery;
|
|
1976
2659
|
chapters?: AppPageChapters;
|
|
1977
2660
|
links?: AppPageLinks;
|
|
2661
|
+
platforms?: AppPagePlatforms;
|
|
2662
|
+
gameType?: AppPageGameType;
|
|
2663
|
+
ageRating?: AppPageAgeRating;
|
|
2664
|
+
languages?: AppPageLanguages;
|
|
2665
|
+
releaseStatus?: AppPageReleaseStatus;
|
|
1978
2666
|
};
|
|
1979
2667
|
type AppPageGalleryUploadResponse = {
|
|
1980
2668
|
url: string;
|
|
1981
2669
|
};
|
|
2670
|
+
type AppPageBipToggle = {
|
|
2671
|
+
enabled: boolean;
|
|
2672
|
+
};
|
|
1982
2673
|
type AdminActivePlayersResponse = {
|
|
1983
2674
|
players: Array<AdminActivePlayer>;
|
|
1984
2675
|
total: number;
|
|
@@ -2117,6 +2808,11 @@ type AdminAppPageItem = {
|
|
|
2117
2808
|
hiddenAt: string | null;
|
|
2118
2809
|
hiddenReasonInternal: string | null;
|
|
2119
2810
|
pendingChangesSubmittedAt: string | null;
|
|
2811
|
+
bipEnabled: boolean;
|
|
2812
|
+
bipStatus: "draft" | "pending_review" | "published" | "hidden";
|
|
2813
|
+
bipFirstPublishedAt: string | null;
|
|
2814
|
+
bipHiddenAt: string | null;
|
|
2815
|
+
openReportCount: number;
|
|
2120
2816
|
};
|
|
2121
2817
|
type AdminAppPageStatusResponse = {
|
|
2122
2818
|
status: "draft" | "pending_review" | "published" | "hidden";
|
|
@@ -2142,6 +2838,25 @@ type AdminAppPageDiffField = {
|
|
|
2142
2838
|
from: string;
|
|
2143
2839
|
to: string;
|
|
2144
2840
|
};
|
|
2841
|
+
type AdminAppPageBipStatusResponse = {
|
|
2842
|
+
bipStatus: "draft" | "pending_review" | "published" | "hidden";
|
|
2843
|
+
};
|
|
2844
|
+
type AdminAppContentReportListResponse = {
|
|
2845
|
+
reports: Array<AdminAppContentReportItem>;
|
|
2846
|
+
total: number;
|
|
2847
|
+
hasMore: boolean;
|
|
2848
|
+
};
|
|
2849
|
+
type AdminAppContentReportItem = {
|
|
2850
|
+
id: string;
|
|
2851
|
+
category: AppContentReportCategory;
|
|
2852
|
+
details: string | null;
|
|
2853
|
+
status: AppContentReportStatus;
|
|
2854
|
+
acknowledgedAt: string | null;
|
|
2855
|
+
createdAt: string;
|
|
2856
|
+
appId: string;
|
|
2857
|
+
appName: string;
|
|
2858
|
+
appSlug: string | null;
|
|
2859
|
+
};
|
|
2145
2860
|
type PlatformFeesResponse = {
|
|
2146
2861
|
purchaseFeeBps: number;
|
|
2147
2862
|
stakeFeeBps: number;
|
|
@@ -2322,6 +3037,13 @@ type AppealResolveRequest = {
|
|
|
2322
3037
|
decision: "refund" | "dismiss";
|
|
2323
3038
|
notes?: string;
|
|
2324
3039
|
};
|
|
3040
|
+
type PaymentRatesResponse = {
|
|
3041
|
+
asOf: string;
|
|
3042
|
+
ethUsd: number | null;
|
|
3043
|
+
solUsd: number | null;
|
|
3044
|
+
solLamportsPerCent: number | null;
|
|
3045
|
+
tronUsdPerToken: number;
|
|
3046
|
+
};
|
|
2325
3047
|
type AppealFileResponse = {
|
|
2326
3048
|
appealId: string;
|
|
2327
3049
|
paymentId: string;
|
|
@@ -2370,7 +3092,7 @@ type OauthPaymentPayoutRequest = {
|
|
|
2370
3092
|
metadata?: PaymentMetadata;
|
|
2371
3093
|
};
|
|
2372
3094
|
type OauthPaymentDistributeResponse = {
|
|
2373
|
-
distributionId
|
|
3095
|
+
distributionId?: string;
|
|
2374
3096
|
txHash: string;
|
|
2375
3097
|
blockNumber: string;
|
|
2376
3098
|
potId: string;
|
|
@@ -2493,7 +3215,7 @@ declare function listActivePlayers(context: TransportContext, input: {
|
|
|
2493
3215
|
//#region src/admin/app-pages.d.ts
|
|
2494
3216
|
declare function listAppPages(context: TransportContext, input: {
|
|
2495
3217
|
readonly bearer: string;
|
|
2496
|
-
readonly status?: "draft" | "pending_review" | "published" | "hidden" | "all" | "pending_changes";
|
|
3218
|
+
readonly status?: "draft" | "pending_review" | "published" | "hidden" | "all" | "pending_changes" | "bip_pending_review";
|
|
2497
3219
|
}): Promise<AdminAppPageListResponse>;
|
|
2498
3220
|
declare function getAppPageChanges(context: TransportContext, input: {
|
|
2499
3221
|
readonly bearer: string;
|
|
@@ -2518,6 +3240,20 @@ declare function reviewAppPage(context: TransportContext, input: {
|
|
|
2518
3240
|
readonly appId: string;
|
|
2519
3241
|
readonly body: ReviewAppPage;
|
|
2520
3242
|
}): Promise<AdminAppPageStatusResponse>;
|
|
3243
|
+
declare function reviewAppPageBip(context: TransportContext, input: {
|
|
3244
|
+
readonly bearer: string;
|
|
3245
|
+
readonly appId: string;
|
|
3246
|
+
readonly body: ReviewAppPage;
|
|
3247
|
+
}): Promise<AdminAppPageBipStatusResponse>;
|
|
3248
|
+
declare function hideAppPageBip(context: TransportContext, input: {
|
|
3249
|
+
readonly bearer: string;
|
|
3250
|
+
readonly appId: string;
|
|
3251
|
+
readonly body: HideAppPage;
|
|
3252
|
+
}): Promise<AdminAppPageBipStatusResponse>;
|
|
3253
|
+
declare function unhideAppPageBip(context: TransportContext, input: {
|
|
3254
|
+
readonly bearer: string;
|
|
3255
|
+
readonly appId: string;
|
|
3256
|
+
}): Promise<AdminAppPageBipStatusResponse>;
|
|
2521
3257
|
//#endregion
|
|
2522
3258
|
//#region src/admin/appeals.d.ts
|
|
2523
3259
|
declare function listAppealQueue(context: TransportContext, input: {
|
|
@@ -2549,6 +3285,19 @@ declare function resolveAppeal(context: TransportContext, input: {
|
|
|
2549
3285
|
readonly body: AppealResolveRequest;
|
|
2550
3286
|
}): Promise<AppealResolveSignedResponse>;
|
|
2551
3287
|
//#endregion
|
|
3288
|
+
//#region src/admin/content-reports.d.ts
|
|
3289
|
+
declare function listAdminContentReports(context: TransportContext, input: {
|
|
3290
|
+
readonly bearer: string;
|
|
3291
|
+
readonly status?: "open" | "acknowledged" | "dismissed" | "all";
|
|
3292
|
+
readonly limit?: number;
|
|
3293
|
+
readonly offset?: number;
|
|
3294
|
+
}): Promise<AdminAppContentReportListResponse>;
|
|
3295
|
+
declare function triageAdminContentReport(context: TransportContext, input: {
|
|
3296
|
+
readonly bearer: string;
|
|
3297
|
+
readonly reportId: string;
|
|
3298
|
+
readonly status: "acknowledged" | "dismissed";
|
|
3299
|
+
}): Promise<AppContentReport>;
|
|
3300
|
+
//#endregion
|
|
2552
3301
|
//#region src/admin/developers.d.ts
|
|
2553
3302
|
declare function listDeveloperRequests(context: TransportContext, input: {
|
|
2554
3303
|
readonly bearer: string;
|
|
@@ -2564,6 +3313,12 @@ declare function listDevelopers(context: TransportContext, input: {
|
|
|
2564
3313
|
readonly bearer: string;
|
|
2565
3314
|
}): Promise<AdminDeveloperListResponse>;
|
|
2566
3315
|
//#endregion
|
|
3316
|
+
//#region src/admin/inventory-vault.d.ts
|
|
3317
|
+
declare function forceWithdrawVaultCustody(context: TransportContext, input: {
|
|
3318
|
+
readonly bearer: string;
|
|
3319
|
+
readonly custodyId: string;
|
|
3320
|
+
}): Promise<InventoryVaultForceWithdrawResponse>;
|
|
3321
|
+
//#endregion
|
|
2567
3322
|
//#region src/admin/payments.d.ts
|
|
2568
3323
|
declare function getPlatformFees(context: TransportContext, input: {
|
|
2569
3324
|
readonly bearer: string;
|
|
@@ -2682,6 +3437,102 @@ declare function getAppPage(context: TransportContext, input: {
|
|
|
2682
3437
|
readonly slug: string;
|
|
2683
3438
|
}): Promise<PublicAppPage>;
|
|
2684
3439
|
//#endregion
|
|
3440
|
+
//#region src/catalog/bip-updates.d.ts
|
|
3441
|
+
declare function listBipUpdates(context: TransportContext, input: {
|
|
3442
|
+
readonly bearer?: string;
|
|
3443
|
+
readonly slug: string;
|
|
3444
|
+
readonly limit?: number;
|
|
3445
|
+
readonly offset?: number;
|
|
3446
|
+
}): Promise<BipUpdateListResponse>;
|
|
3447
|
+
declare function listBipUpdateComments(context: TransportContext, input: {
|
|
3448
|
+
readonly bearer?: string;
|
|
3449
|
+
readonly slug: string;
|
|
3450
|
+
readonly updateId: string;
|
|
3451
|
+
readonly limit?: number;
|
|
3452
|
+
readonly offset?: number;
|
|
3453
|
+
}): Promise<BipUpdateCommentListResponse>;
|
|
3454
|
+
declare function getMyBipUpdateReactions(context: TransportContext, input: {
|
|
3455
|
+
readonly bearer: string;
|
|
3456
|
+
readonly slug: string;
|
|
3457
|
+
}): Promise<MyBipUpdateReactionsResponse>;
|
|
3458
|
+
declare function setBipUpdateReaction(context: TransportContext, input: {
|
|
3459
|
+
readonly bearer: string;
|
|
3460
|
+
readonly slug: string;
|
|
3461
|
+
readonly updateId: string;
|
|
3462
|
+
readonly body: SetBipUpdateReactionRequest;
|
|
3463
|
+
}): Promise<SetBipUpdateReactionResponse>;
|
|
3464
|
+
declare function commentOnBipUpdate(context: TransportContext, input: {
|
|
3465
|
+
readonly bearer: string;
|
|
3466
|
+
readonly slug: string;
|
|
3467
|
+
readonly updateId: string;
|
|
3468
|
+
readonly body: string;
|
|
3469
|
+
}): Promise<CreateBipUpdateCommentResponse>;
|
|
3470
|
+
declare function deleteBipUpdateComment(context: TransportContext, input: {
|
|
3471
|
+
readonly bearer: string;
|
|
3472
|
+
readonly slug: string;
|
|
3473
|
+
readonly commentId: string;
|
|
3474
|
+
}): Promise<DeleteBipUpdateCommentResponse>;
|
|
3475
|
+
declare function listDeveloperBipUpdates(context: TransportContext, input: {
|
|
3476
|
+
readonly bearer: string;
|
|
3477
|
+
readonly appId: string;
|
|
3478
|
+
readonly limit?: number;
|
|
3479
|
+
readonly offset?: number;
|
|
3480
|
+
}): Promise<BipUpdateListResponse>;
|
|
3481
|
+
declare function createBipUpdate(context: TransportContext, input: {
|
|
3482
|
+
readonly bearer: string;
|
|
3483
|
+
readonly appId: string;
|
|
3484
|
+
readonly body: CreateBipUpdateRequest;
|
|
3485
|
+
}): Promise<BipUpdate>;
|
|
3486
|
+
declare function updateBipUpdate(context: TransportContext, input: {
|
|
3487
|
+
readonly bearer: string;
|
|
3488
|
+
readonly appId: string;
|
|
3489
|
+
readonly updateId: string;
|
|
3490
|
+
readonly body: UpdateBipUpdateRequest;
|
|
3491
|
+
}): Promise<BipUpdate>;
|
|
3492
|
+
declare function deleteBipUpdate(context: TransportContext, input: {
|
|
3493
|
+
readonly bearer: string;
|
|
3494
|
+
readonly appId: string;
|
|
3495
|
+
readonly updateId: string;
|
|
3496
|
+
}): Promise<DeleteBipUpdateResponse>;
|
|
3497
|
+
declare function uploadBipUpdateMedia(context: TransportContext, input: {
|
|
3498
|
+
readonly bearer: string;
|
|
3499
|
+
readonly appId: string;
|
|
3500
|
+
readonly file: Blob;
|
|
3501
|
+
readonly filename: string;
|
|
3502
|
+
readonly contentType: string;
|
|
3503
|
+
}): Promise<BipUpdateMediaUploadResponse>;
|
|
3504
|
+
declare function getBipInterestCount(context: TransportContext, input: {
|
|
3505
|
+
readonly bearer?: string;
|
|
3506
|
+
readonly slug: string;
|
|
3507
|
+
}): Promise<BipInterestCountResponse>;
|
|
3508
|
+
declare function getMyBipEngagement(context: TransportContext, input: {
|
|
3509
|
+
readonly bearer: string;
|
|
3510
|
+
readonly slug: string;
|
|
3511
|
+
}): Promise<BipEngagementResponse>;
|
|
3512
|
+
declare function registerBipInterest(context: TransportContext, input: {
|
|
3513
|
+
readonly bearer: string;
|
|
3514
|
+
readonly slug: string;
|
|
3515
|
+
readonly interested: boolean;
|
|
3516
|
+
}): Promise<BipEngagementResponse>;
|
|
3517
|
+
declare function subscribeBipUpdates(context: TransportContext, input: {
|
|
3518
|
+
readonly bearer: string;
|
|
3519
|
+
readonly slug: string;
|
|
3520
|
+
readonly subscribed: boolean;
|
|
3521
|
+
}): Promise<BipEngagementResponse>;
|
|
3522
|
+
//#endregion
|
|
3523
|
+
//#region src/catalog/build-in-public.d.ts
|
|
3524
|
+
declare function getBipDirectory(context: TransportContext, input: {
|
|
3525
|
+
readonly bearer?: string;
|
|
3526
|
+
readonly genre?: string;
|
|
3527
|
+
readonly q?: string;
|
|
3528
|
+
readonly before?: string;
|
|
3529
|
+
readonly limit?: number;
|
|
3530
|
+
}): Promise<LibraryListResponse>;
|
|
3531
|
+
declare function getBipPage(context: TransportContext, input: {
|
|
3532
|
+
readonly bearer?: string;
|
|
3533
|
+
readonly slug: string;
|
|
3534
|
+
}): Promise<PublicBipPage>;
|
|
3535
|
+
//#endregion
|
|
2685
3536
|
//#region src/catalog/content-reports.d.ts
|
|
2686
3537
|
declare function submitAppContentReport(context: TransportContext, input: {
|
|
2687
3538
|
readonly appId: string;
|
|
@@ -2726,6 +3577,41 @@ declare function deleteMyGameReview(context: TransportContext, input: {
|
|
|
2726
3577
|
readonly slug: string;
|
|
2727
3578
|
readonly bearer: string;
|
|
2728
3579
|
}): Promise<MyReviewResponse>;
|
|
3580
|
+
declare function getMyGameReviewReactions(context: TransportContext, input: {
|
|
3581
|
+
readonly slug: string;
|
|
3582
|
+
readonly bearer: string;
|
|
3583
|
+
}): Promise<MyReviewReactionsResponse>;
|
|
3584
|
+
declare function setMyGameReviewReaction(context: TransportContext, input: {
|
|
3585
|
+
readonly slug: string;
|
|
3586
|
+
readonly reviewId: string;
|
|
3587
|
+
readonly bearer: string;
|
|
3588
|
+
readonly reaction: SetReviewReactionRequest;
|
|
3589
|
+
}): Promise<SetReviewReactionResponse>;
|
|
3590
|
+
declare function tipGameReview(context: TransportContext, input: {
|
|
3591
|
+
readonly slug: string;
|
|
3592
|
+
readonly reviewId: string;
|
|
3593
|
+
readonly bearer: string;
|
|
3594
|
+
readonly tip: TipReviewRequest;
|
|
3595
|
+
readonly idempotencyKey?: string;
|
|
3596
|
+
}): Promise<TipReviewResponse>;
|
|
3597
|
+
declare function listGameReviewComments(context: TransportContext, input: {
|
|
3598
|
+
readonly slug: string;
|
|
3599
|
+
readonly reviewId: string;
|
|
3600
|
+
readonly bearer?: string;
|
|
3601
|
+
readonly limit?: number;
|
|
3602
|
+
readonly offset?: number;
|
|
3603
|
+
}): Promise<ReviewCommentListResponse>;
|
|
3604
|
+
declare function commentOnGameReview(context: TransportContext, input: {
|
|
3605
|
+
readonly slug: string;
|
|
3606
|
+
readonly reviewId: string;
|
|
3607
|
+
readonly bearer: string;
|
|
3608
|
+
readonly comment: CreateReviewCommentRequest;
|
|
3609
|
+
}): Promise<CreateReviewCommentResponse>;
|
|
3610
|
+
declare function deleteGameReviewComment(context: TransportContext, input: {
|
|
3611
|
+
readonly slug: string;
|
|
3612
|
+
readonly commentId: string;
|
|
3613
|
+
readonly bearer: string;
|
|
3614
|
+
}): Promise<DeleteReviewCommentResponse>;
|
|
2729
3615
|
declare function replyToGameReview(context: TransportContext, input: {
|
|
2730
3616
|
readonly appId: string;
|
|
2731
3617
|
readonly reviewId: string;
|
|
@@ -2817,6 +3703,9 @@ declare function getPaymentHistory(context: TransportContext, input: {
|
|
|
2817
3703
|
readonly before?: string;
|
|
2818
3704
|
}): Promise<PaymentHistoryResponse>;
|
|
2819
3705
|
//#endregion
|
|
3706
|
+
//#region src/dashboard/rates.d.ts
|
|
3707
|
+
declare function getPaymentRates(context: TransportContext): Promise<PaymentRatesResponse>;
|
|
3708
|
+
//#endregion
|
|
2820
3709
|
//#region src/developer/api-keys.d.ts
|
|
2821
3710
|
declare function createDeveloperApiKey(context: TransportContext, input: {
|
|
2822
3711
|
readonly bearer: string;
|
|
@@ -2954,6 +3843,53 @@ declare function updateDeveloperAppContentReportStatus(context: TransportContext
|
|
|
2954
3843
|
readonly status: "acknowledged" | "dismissed";
|
|
2955
3844
|
}): Promise<AppContentReport>;
|
|
2956
3845
|
//#endregion
|
|
3846
|
+
//#region src/developer/inventory.d.ts
|
|
3847
|
+
declare function quoteDeveloperAppInventoryRegistration(context: TransportContext, input: {
|
|
3848
|
+
readonly bearer: string;
|
|
3849
|
+
readonly appId: string;
|
|
3850
|
+
readonly registration: InventoryItemRegistrationInput;
|
|
3851
|
+
}): Promise<InventoryRegistrationQuote>;
|
|
3852
|
+
declare function registerDeveloperAppInventoryItem(context: TransportContext, input: {
|
|
3853
|
+
readonly bearer: string;
|
|
3854
|
+
readonly appId: string;
|
|
3855
|
+
readonly registration: InventoryItemRegistrationInput;
|
|
3856
|
+
}): Promise<InventoryItemRegistrationResult>;
|
|
3857
|
+
declare function listDeveloperAppInventoryCollections(context: TransportContext, input: {
|
|
3858
|
+
readonly bearer: string;
|
|
3859
|
+
readonly appId: string;
|
|
3860
|
+
}): Promise<InventoryCollectionListResponse>;
|
|
3861
|
+
declare function listDeveloperAppInventoryItems(context: TransportContext, input: {
|
|
3862
|
+
readonly bearer: string;
|
|
3863
|
+
readonly appId: string;
|
|
3864
|
+
}): Promise<InventoryItemListResponse>;
|
|
3865
|
+
declare function createDeveloperAppMintPermit(context: TransportContext, input: {
|
|
3866
|
+
readonly bearer: string;
|
|
3867
|
+
readonly appId: string;
|
|
3868
|
+
readonly itemId: string;
|
|
3869
|
+
readonly grant: InventoryMintPermitCreateInput;
|
|
3870
|
+
}): Promise<InventoryMintPermitRecord>;
|
|
3871
|
+
declare function getDeveloperAppInventoryItemHolders(context: TransportContext, input: {
|
|
3872
|
+
readonly bearer: string;
|
|
3873
|
+
readonly appId: string;
|
|
3874
|
+
readonly itemId: string;
|
|
3875
|
+
}): Promise<InventoryItemHoldersResponse>;
|
|
3876
|
+
declare function uploadDeveloperAppInventoryItemImage(context: TransportContext, input: {
|
|
3877
|
+
readonly bearer: string;
|
|
3878
|
+
readonly appId: string;
|
|
3879
|
+
readonly itemId: string;
|
|
3880
|
+
readonly file: Blob | ArrayBufferView | ArrayBuffer;
|
|
3881
|
+
readonly filename: string;
|
|
3882
|
+
readonly contentType: string;
|
|
3883
|
+
}): Promise<InventoryItemRecord>;
|
|
3884
|
+
declare function uploadDeveloperAppInventoryItemBanner(context: TransportContext, input: {
|
|
3885
|
+
readonly bearer: string;
|
|
3886
|
+
readonly appId: string;
|
|
3887
|
+
readonly itemId: string;
|
|
3888
|
+
readonly file: Blob | ArrayBufferView | ArrayBuffer;
|
|
3889
|
+
readonly filename: string;
|
|
3890
|
+
readonly contentType: string;
|
|
3891
|
+
}): Promise<InventoryItemRecord>;
|
|
3892
|
+
//#endregion
|
|
2957
3893
|
//#region src/developer/pages.d.ts
|
|
2958
3894
|
declare function getDeveloperAppPage(context: TransportContext, input: {
|
|
2959
3895
|
readonly bearer: string;
|
|
@@ -3012,6 +3948,19 @@ declare function unpublishAppPage(context: TransportContext, input: {
|
|
|
3012
3948
|
readonly bearer: string;
|
|
3013
3949
|
readonly appId: string;
|
|
3014
3950
|
}): Promise<AppPageDraft>;
|
|
3951
|
+
declare function setAppPageBip(context: TransportContext, input: {
|
|
3952
|
+
readonly bearer: string;
|
|
3953
|
+
readonly appId: string;
|
|
3954
|
+
readonly body: AppPageBipToggle;
|
|
3955
|
+
}): Promise<AppPageDraft>;
|
|
3956
|
+
declare function submitAppPageBipForReview(context: TransportContext, input: {
|
|
3957
|
+
readonly bearer: string;
|
|
3958
|
+
readonly appId: string;
|
|
3959
|
+
}): Promise<AppPageDraft>;
|
|
3960
|
+
declare function unpublishAppPageBip(context: TransportContext, input: {
|
|
3961
|
+
readonly bearer: string;
|
|
3962
|
+
readonly appId: string;
|
|
3963
|
+
}): Promise<AppPageDraft>;
|
|
3015
3964
|
//#endregion
|
|
3016
3965
|
//#region src/developer/participants.d.ts
|
|
3017
3966
|
declare function listDeveloperAppParticipants(context: TransportContext, input: {
|
|
@@ -3078,6 +4027,68 @@ declare function uploadMultipart(context: TransportContext, input: {
|
|
|
3078
4027
|
readonly contentType: string;
|
|
3079
4028
|
}): Promise<unknown>;
|
|
3080
4029
|
//#endregion
|
|
4030
|
+
//#region src/developer/vault.d.ts
|
|
4031
|
+
declare function createDeveloperVaultPermit(context: TransportContext, input: {
|
|
4032
|
+
readonly bearer: string;
|
|
4033
|
+
readonly appId: string;
|
|
4034
|
+
readonly itemId: string;
|
|
4035
|
+
readonly grant: InventoryVaultPermitCreateInput;
|
|
4036
|
+
}): Promise<InventoryVaultPermitRecord>;
|
|
4037
|
+
declare function createDeveloperWithdrawPermit(context: TransportContext, input: {
|
|
4038
|
+
readonly bearer: string;
|
|
4039
|
+
readonly appId: string;
|
|
4040
|
+
readonly itemId: string;
|
|
4041
|
+
readonly grant: InventoryWithdrawPermitCreateInput;
|
|
4042
|
+
}): Promise<InventoryVaultPermitRecord>;
|
|
4043
|
+
//#endregion
|
|
4044
|
+
//#region src/events/inventory-socket.d.ts
|
|
4045
|
+
declare const inventoryUpdateEventSchema: z.ZodObject<{
|
|
4046
|
+
event: z.ZodLiteral<"inventory.updated">;
|
|
4047
|
+
deliveredAt: z.ZodString;
|
|
4048
|
+
environment: z.ZodEnum<{
|
|
4049
|
+
development: "development";
|
|
4050
|
+
production: "production";
|
|
4051
|
+
}>;
|
|
4052
|
+
subject: z.ZodString;
|
|
4053
|
+
collectionId: z.ZodString;
|
|
4054
|
+
collectionAddress: z.ZodString;
|
|
4055
|
+
chain: z.ZodString;
|
|
4056
|
+
kind: z.ZodEnum<{
|
|
4057
|
+
erc721: "erc721";
|
|
4058
|
+
erc1155: "erc1155";
|
|
4059
|
+
}>;
|
|
4060
|
+
tokenId: z.ZodString;
|
|
4061
|
+
direction: z.ZodEnum<{
|
|
4062
|
+
credit: "credit";
|
|
4063
|
+
debit: "debit";
|
|
4064
|
+
}>;
|
|
4065
|
+
amount: z.ZodString;
|
|
4066
|
+
balance: z.ZodString;
|
|
4067
|
+
}, z.core.$strip>;
|
|
4068
|
+
type InventoryUpdateEvent = z.infer<typeof inventoryUpdateEventSchema>;
|
|
4069
|
+
type OauthInventoryEventsSubscriberLifecycle = {
|
|
4070
|
+
onOpen?: () => void;
|
|
4071
|
+
onSubscribed?: (appId: string) => void;
|
|
4072
|
+
onMessage: (body: InventoryUpdateEvent) => void | Promise<void>;
|
|
4073
|
+
onClose?: (error: TronWsCloseError) => void;
|
|
4074
|
+
onError?: (error: Error) => void;
|
|
4075
|
+
};
|
|
4076
|
+
type OauthInventoryEventsSubscriberOptions = {
|
|
4077
|
+
readonly issuer: string;
|
|
4078
|
+
readonly clientId: string;
|
|
4079
|
+
readonly clientSecret: string;
|
|
4080
|
+
readonly logger?: Logger;
|
|
4081
|
+
readonly lifecycle: OauthInventoryEventsSubscriberLifecycle;
|
|
4082
|
+
readonly initialBackoffMs?: number;
|
|
4083
|
+
readonly maxBackoffMs?: number;
|
|
4084
|
+
readonly shouldReconnect?: (error: TronWsCloseError) => boolean;
|
|
4085
|
+
readonly WebSocketImpl?: typeof globalThis.WebSocket;
|
|
4086
|
+
};
|
|
4087
|
+
type OauthInventoryEventsSubscriber = {
|
|
4088
|
+
readonly stop: () => void;
|
|
4089
|
+
};
|
|
4090
|
+
declare function startOauthInventoryEventsSubscriber(options: OauthInventoryEventsSubscriberOptions): OauthInventoryEventsSubscriber;
|
|
4091
|
+
//#endregion
|
|
3081
4092
|
//#region src/webhook/verify.d.ts
|
|
3082
4093
|
declare const oauthPaymentWebhookBodySchema: z.ZodObject<{
|
|
3083
4094
|
event: z.ZodEnum<{
|
|
@@ -3152,6 +4163,7 @@ type OauthPaymentEventsSubscriberOptions = {
|
|
|
3152
4163
|
readonly maxBackoffMs?: number;
|
|
3153
4164
|
readonly shouldReconnect?: (error: TronWsCloseError) => boolean;
|
|
3154
4165
|
readonly WebSocketImpl?: typeof globalThis.WebSocket;
|
|
4166
|
+
readonly disableEventAck?: boolean;
|
|
3155
4167
|
};
|
|
3156
4168
|
type OauthPaymentEventsSubscriber = {
|
|
3157
4169
|
readonly stop: () => void;
|
|
@@ -3166,12 +4178,55 @@ declare function listInventoryForApp(context: TransportContext, input: {
|
|
|
3166
4178
|
readonly bearer: string;
|
|
3167
4179
|
}): Promise<InventoryListResponse>;
|
|
3168
4180
|
//#endregion
|
|
4181
|
+
//#region src/inventory/nft-transfer.d.ts
|
|
4182
|
+
declare function quoteNftTransfer(context: TransportContext, input: {
|
|
4183
|
+
readonly bearer: string;
|
|
4184
|
+
readonly body: InventoryNftTransferQuoteRequest;
|
|
4185
|
+
}): Promise<InventoryNftTransferQuoteResponse>;
|
|
4186
|
+
declare function executeNftTransfer(context: TransportContext, input: {
|
|
4187
|
+
readonly bearer: string;
|
|
4188
|
+
readonly body: InventoryNftTransferRequest;
|
|
4189
|
+
}): Promise<InventoryNftTransferResponse>;
|
|
4190
|
+
//#endregion
|
|
4191
|
+
//#region src/inventory/permits.d.ts
|
|
4192
|
+
declare function listInventoryMintPermits(context: TransportContext, input: {
|
|
4193
|
+
readonly bearer: string;
|
|
4194
|
+
}): Promise<InventoryPendingPermitListResponse>;
|
|
4195
|
+
declare function redeemInventoryMintPermit(context: TransportContext, input: {
|
|
4196
|
+
readonly bearer: string;
|
|
4197
|
+
readonly permitId: string;
|
|
4198
|
+
}): Promise<InventoryPermitRedeemResult>;
|
|
4199
|
+
//#endregion
|
|
3169
4200
|
//#region src/inventory/request-mint.d.ts
|
|
3170
4201
|
declare function requestMint(context: TransportContext, input: {
|
|
3171
4202
|
readonly appBearer: string;
|
|
3172
4203
|
readonly body: MintRequestInput;
|
|
3173
4204
|
}): Promise<MintRequestResult>;
|
|
3174
4205
|
//#endregion
|
|
4206
|
+
//#region src/inventory/vault.d.ts
|
|
4207
|
+
declare function listInventoryVaultPermits(context: TransportContext, input: {
|
|
4208
|
+
readonly bearer: string;
|
|
4209
|
+
}): Promise<InventoryPendingVaultPermitListResponse>;
|
|
4210
|
+
declare function signInventoryVaultPermit(context: TransportContext, input: {
|
|
4211
|
+
readonly bearer: string;
|
|
4212
|
+
readonly permitId: string;
|
|
4213
|
+
}): Promise<InventorySignedVaultPermit>;
|
|
4214
|
+
declare function quoteRelayedVaultPermit(context: TransportContext, input: {
|
|
4215
|
+
readonly bearer: string;
|
|
4216
|
+
readonly permitId: string;
|
|
4217
|
+
}): Promise<InventoryRelayedVaultQuoteResponse>;
|
|
4218
|
+
declare function submitRelayedVaultPermit(context: TransportContext, input: {
|
|
4219
|
+
readonly bearer: string;
|
|
4220
|
+
readonly permitId: string;
|
|
4221
|
+
readonly body: InventoryRelayedVaultSubmitRequest;
|
|
4222
|
+
}): Promise<InventoryRelayedVaultSubmitResponse>;
|
|
4223
|
+
declare function listInventoryVaulted(context: TransportContext, input: {
|
|
4224
|
+
readonly bearer: string;
|
|
4225
|
+
}): Promise<InventoryVaultCustodyListResponse>;
|
|
4226
|
+
declare function listOauthInventoryVaulted(context: TransportContext, input: {
|
|
4227
|
+
readonly bearer: string;
|
|
4228
|
+
}): Promise<InventoryVaultCustodyListResponse>;
|
|
4229
|
+
//#endregion
|
|
3175
4230
|
//#region src/messaging/dm-key-backup.d.ts
|
|
3176
4231
|
declare function getDmKeyBackupStatus(context: TransportContext, input: {
|
|
3177
4232
|
readonly bearer: string;
|
|
@@ -3438,6 +4493,15 @@ declare function denyPaymentIntent(context: TransportContext, input: {
|
|
|
3438
4493
|
readonly bearer: string;
|
|
3439
4494
|
readonly intentId: string;
|
|
3440
4495
|
}): Promise<OauthPaymentIntentResolveResponse>;
|
|
4496
|
+
declare function preparePaymentIntentSolana(context: TransportContext, input: {
|
|
4497
|
+
readonly bearer: string;
|
|
4498
|
+
readonly intentId: string;
|
|
4499
|
+
}): Promise<OauthPaymentIntentSolanaPrepareResponse>;
|
|
4500
|
+
declare function completePaymentIntentSolana(context: TransportContext, input: {
|
|
4501
|
+
readonly bearer: string;
|
|
4502
|
+
readonly intentId: string;
|
|
4503
|
+
readonly body: OauthPaymentIntentSolanaCompleteRequest;
|
|
4504
|
+
}): Promise<OauthPaymentIntentResolveResponse>;
|
|
3441
4505
|
//#endregion
|
|
3442
4506
|
//#region src/payments/limits.d.ts
|
|
3443
4507
|
declare function getPaymentLimits(context: TransportContext, input: {
|
|
@@ -3486,6 +4550,22 @@ declare function createTronDeposit(context: TransportContext, input: {
|
|
|
3486
4550
|
readonly bearer: string;
|
|
3487
4551
|
readonly body: TronDepositRequest;
|
|
3488
4552
|
}): Promise<TronDepositResponse>;
|
|
4553
|
+
declare function createTronTransfer(context: TransportContext, input: {
|
|
4554
|
+
readonly bearer: string;
|
|
4555
|
+
readonly body: TronTransferRequest;
|
|
4556
|
+
readonly idempotencyKey?: string;
|
|
4557
|
+
}): Promise<TronTransferResponse>;
|
|
4558
|
+
declare function getTronSecurity(context: TransportContext, input: {
|
|
4559
|
+
readonly bearer: string;
|
|
4560
|
+
}): Promise<TronSecuritySetting>;
|
|
4561
|
+
declare function setTronSecurity(context: TransportContext, input: {
|
|
4562
|
+
readonly bearer: string;
|
|
4563
|
+
readonly setting: TronSecuritySetting;
|
|
4564
|
+
}): Promise<TronSecuritySetting>;
|
|
4565
|
+
declare function createTronTransferChallenge(context: TransportContext, input: {
|
|
4566
|
+
readonly bearer: string;
|
|
4567
|
+
readonly body: TronTransferChallengeRequest;
|
|
4568
|
+
}): Promise<TronTransferChallengeResponse>;
|
|
3489
4569
|
declare function createTronConnectOnboarding(context: TransportContext, input: {
|
|
3490
4570
|
readonly bearer: string;
|
|
3491
4571
|
}): Promise<TronConnectOnboardingResponse>;
|
|
@@ -3660,6 +4740,10 @@ declare function sendFriendRequest(context: TransportContext, input: {
|
|
|
3660
4740
|
readonly bearer: string;
|
|
3661
4741
|
readonly userId: string;
|
|
3662
4742
|
}): Promise<void>;
|
|
4743
|
+
declare function removeFriend(context: TransportContext, input: {
|
|
4744
|
+
readonly bearer: string;
|
|
4745
|
+
readonly userId: string;
|
|
4746
|
+
}): Promise<void>;
|
|
3663
4747
|
declare function decideFriendRequest(context: TransportContext, input: {
|
|
3664
4748
|
readonly bearer: string;
|
|
3665
4749
|
readonly requestId: string;
|
|
@@ -3672,6 +4756,9 @@ declare function cancelFriendRequest(context: TransportContext, input: {
|
|
|
3672
4756
|
declare function listFriends(context: TransportContext, input: {
|
|
3673
4757
|
readonly bearer: string;
|
|
3674
4758
|
}): Promise<FriendListResponse>;
|
|
4759
|
+
declare function listFriendsForApp(context: TransportContext, input: {
|
|
4760
|
+
readonly bearer: string;
|
|
4761
|
+
}): Promise<AppFriendListResponse>;
|
|
3675
4762
|
//#endregion
|
|
3676
4763
|
//#region src/reads/socials.d.ts
|
|
3677
4764
|
declare function listSocials(context: TransportContext, input: {
|
|
@@ -3798,6 +4885,7 @@ declare class TronNodeClient {
|
|
|
3798
4885
|
};
|
|
3799
4886
|
};
|
|
3800
4887
|
subscribeOauthPaymentEvents(lifecycle: OauthPaymentEventsSubscriberLifecycle): OauthPaymentEventsSubscriber;
|
|
4888
|
+
subscribeOauthInventoryEvents(lifecycle: OauthInventoryEventsSubscriberLifecycle): OauthInventoryEventsSubscriber;
|
|
3801
4889
|
get users(): {
|
|
3802
4890
|
get: (input: {
|
|
3803
4891
|
bearer?: string;
|
|
@@ -3898,6 +4986,11 @@ declare class TronNodeClient {
|
|
|
3898
4986
|
body: MintRequestInput;
|
|
3899
4987
|
}) => Promise<MintRequestResult>;
|
|
3900
4988
|
};
|
|
4989
|
+
get friends(): {
|
|
4990
|
+
list: (input: {
|
|
4991
|
+
bearer: string;
|
|
4992
|
+
}) => Promise<AppFriendListResponse>;
|
|
4993
|
+
};
|
|
3901
4994
|
get socials(): {
|
|
3902
4995
|
list: (input: {
|
|
3903
4996
|
bearer: string;
|
|
@@ -3919,4 +5012,4 @@ declare class TronNodeClient {
|
|
|
3919
5012
|
};
|
|
3920
5013
|
}
|
|
3921
5014
|
//#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 };
|
|
5015
|
+
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 };
|