@metatrongg/sdk 0.8.0-dev.4ba5890 → 0.8.0-dev.4fc3172
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 +956 -27
- package/dist/browser/index.js +1 -1
- package/dist/contracts/index.d.ts +12338 -5155
- package/dist/contracts/index.js +1 -1
- package/dist/index.js +1 -1
- package/dist/node/index.d.ts +1011 -27
- 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 +3 -2
package/dist/browser/index.d.ts
CHANGED
|
@@ -91,7 +91,7 @@ type Username = string;
|
|
|
91
91
|
type DisplayName = string | null;
|
|
92
92
|
type Bio = string | null;
|
|
93
93
|
type WebsiteUrl = string | null;
|
|
94
|
-
type BannerVariant = "yellow" | "green" | "blue" | "white" | "black";
|
|
94
|
+
type BannerVariant = "yellow" | "green" | "blue" | "white" | "black" | "red";
|
|
95
95
|
type AdminRole = "super-admin" | "admin" | "read-only" | null;
|
|
96
96
|
type PresenceStatusMode = "auto" | "online" | "offline";
|
|
97
97
|
type PlatformEnvironment = "development" | "production";
|
|
@@ -106,7 +106,7 @@ type OauthAuthorizationServerMetadata = {
|
|
|
106
106
|
grant_types_supported: Array<"authorization_code" | "refresh_token" | "client_credentials">;
|
|
107
107
|
code_challenge_methods_supported: Array<"S256">;
|
|
108
108
|
token_endpoint_auth_methods_supported: Array<"client_secret_basic" | "client_secret_post" | "none">;
|
|
109
|
-
scopes_supported: Array<"openid" | "profile" | "payments:charge" | "inventory:read" | "developer:read" | "developer:apps" | "developer:pages">;
|
|
109
|
+
scopes_supported: Array<"openid" | "profile" | "payments:charge" | "inventory:read" | "social:read" | "developer:read" | "developer:apps" | "developer:pages">;
|
|
110
110
|
};
|
|
111
111
|
type OauthScopeString = string;
|
|
112
112
|
type OauthState = string;
|
|
@@ -127,7 +127,9 @@ type OauthErrorResponse = {
|
|
|
127
127
|
type OauthUserInfoResponse = {
|
|
128
128
|
sub: string;
|
|
129
129
|
name: string | null;
|
|
130
|
+
preferred_username: string | null;
|
|
130
131
|
picture: string | null;
|
|
132
|
+
wallet_address: string | null;
|
|
131
133
|
};
|
|
132
134
|
type OauthPaymentChargeResponse = ({
|
|
133
135
|
status: "completed";
|
|
@@ -246,6 +248,7 @@ type OauthPaymentIntentContext = {
|
|
|
246
248
|
studioXHandle: string | null;
|
|
247
249
|
};
|
|
248
250
|
} | null;
|
|
251
|
+
environment: "development" | "production";
|
|
249
252
|
};
|
|
250
253
|
type OauthPaymentIntentSignResponse = {
|
|
251
254
|
chain: string;
|
|
@@ -334,9 +337,16 @@ type PublicAppPage = {
|
|
|
334
337
|
chapters: AppPageChapters;
|
|
335
338
|
links: AppPageLinks;
|
|
336
339
|
studio: PublicAppPageStudio;
|
|
340
|
+
platforms: AppPagePlatforms;
|
|
341
|
+
gameType: AppPageGameType;
|
|
342
|
+
ageRating: AppPageAgeRating;
|
|
343
|
+
languages: AppPageLanguages;
|
|
344
|
+
releaseStatus: AppPageReleaseStatus;
|
|
345
|
+
paymentsMode: AppPagePaymentsMode;
|
|
337
346
|
oauthScopes: Array<string>;
|
|
338
347
|
chains: Array<string>;
|
|
339
348
|
publishedAt: string;
|
|
349
|
+
updatedAt: string;
|
|
340
350
|
};
|
|
341
351
|
type AppPageCategories = Array<"adventure" | "battle_royale" | "board" | "cards" | "casino" | "casual" | "fighting" | "idle" | "mmo" | "moba" | "platformer" | "prediction" | "puzzle" | "racing" | "rhythm" | "roguelike" | "rpg" | "rts" | "sandbox" | "shooter" | "simulation" | "sports" | "strategy" | "survival" | "tools" | "tower_defense" | "visual_novel" | "other">;
|
|
342
352
|
type AppPageTagline = string;
|
|
@@ -359,12 +369,132 @@ type AppPageLink = {
|
|
|
359
369
|
order: number;
|
|
360
370
|
};
|
|
361
371
|
type PublicAppPageStudio = {
|
|
372
|
+
ownerUserId: string | null;
|
|
362
373
|
name: string | null;
|
|
363
374
|
logoUrl: string | null;
|
|
364
375
|
websiteUrl: string | null;
|
|
365
376
|
xHandle: string | null;
|
|
366
377
|
githubUrl: string | null;
|
|
367
378
|
};
|
|
379
|
+
type AppPagePlatforms = Array<"web" | "ios" | "android" | "pc" | "playstation" | "xbox" | "switch">;
|
|
380
|
+
type AppPageGameType = "single_player" | "multiplayer" | "both" | null;
|
|
381
|
+
type AppPageAgeRating = "everyone" | "13_plus" | "16_plus" | "18_plus" | null;
|
|
382
|
+
type AppPageLanguages = Array<"en" | "es" | "fr" | "de" | "pt" | "it" | "ru" | "ja" | "ko" | "zh" | "hi" | "ar" | "tr" | "vi" | "id" | "th" | "pl" | "nl">;
|
|
383
|
+
type AppPageReleaseStatus = "live" | "open_beta" | "coming_soon";
|
|
384
|
+
type AppPagePaymentsMode = "tron" | "onchain" | "both" | null;
|
|
385
|
+
type PublicBipPage = {
|
|
386
|
+
appId: string;
|
|
387
|
+
slug: AppPageSlug;
|
|
388
|
+
appName: string;
|
|
389
|
+
appLogoUrl: string | null;
|
|
390
|
+
categories: AppPageCategories;
|
|
391
|
+
tagline: AppPageTagline;
|
|
392
|
+
bannerUrl: string | null;
|
|
393
|
+
discordUrl: string | null;
|
|
394
|
+
twitterUrl: string | null;
|
|
395
|
+
redditUrl: string | null;
|
|
396
|
+
telegramUrl: string | null;
|
|
397
|
+
gallery: AppPageGallery;
|
|
398
|
+
chapters: AppPageChapters;
|
|
399
|
+
links: AppPageLinks;
|
|
400
|
+
studio: PublicAppPageStudio;
|
|
401
|
+
platforms: AppPagePlatforms;
|
|
402
|
+
gameType: AppPageGameType;
|
|
403
|
+
ageRating: AppPageAgeRating;
|
|
404
|
+
languages: AppPageLanguages;
|
|
405
|
+
releaseStatus: AppPageReleaseStatus;
|
|
406
|
+
publishedAt: string;
|
|
407
|
+
updatedAt: string;
|
|
408
|
+
};
|
|
409
|
+
type BipUpdateListResponse = {
|
|
410
|
+
updates: Array<BipUpdate>;
|
|
411
|
+
total: number;
|
|
412
|
+
hasMore: boolean;
|
|
413
|
+
};
|
|
414
|
+
type BipUpdate = {
|
|
415
|
+
id: string;
|
|
416
|
+
appId: string;
|
|
417
|
+
body: BipUpdateBody;
|
|
418
|
+
attachments: BipUpdateAttachments;
|
|
419
|
+
reactions: BipUpdateReactionCounts;
|
|
420
|
+
commentCount: number;
|
|
421
|
+
createdAt: string;
|
|
422
|
+
updatedAt: string;
|
|
423
|
+
};
|
|
424
|
+
type BipUpdateBody = string;
|
|
425
|
+
type BipUpdateAttachments = Array<BipUpdateAttachment>;
|
|
426
|
+
type BipUpdateAttachment = {
|
|
427
|
+
url: string;
|
|
428
|
+
kind: "image" | "video";
|
|
429
|
+
order: number;
|
|
430
|
+
};
|
|
431
|
+
type BipUpdateReactionCounts = {
|
|
432
|
+
up: number;
|
|
433
|
+
down: number;
|
|
434
|
+
};
|
|
435
|
+
type BipUpdateCommentListResponse = {
|
|
436
|
+
comments: Array<BipUpdateComment>;
|
|
437
|
+
total: number;
|
|
438
|
+
hasMore: boolean;
|
|
439
|
+
};
|
|
440
|
+
type BipUpdateComment = {
|
|
441
|
+
id: string;
|
|
442
|
+
body: BipUpdateCommentBody;
|
|
443
|
+
author: ReviewAuthor;
|
|
444
|
+
createdAt: string;
|
|
445
|
+
};
|
|
446
|
+
type BipUpdateCommentBody = string;
|
|
447
|
+
type ReviewAuthor = {
|
|
448
|
+
userId: string;
|
|
449
|
+
handle: string | null;
|
|
450
|
+
name: string | null;
|
|
451
|
+
avatarUrl: string | null;
|
|
452
|
+
};
|
|
453
|
+
type BipInterestCountResponse = {
|
|
454
|
+
interestCount: number;
|
|
455
|
+
};
|
|
456
|
+
type BipEngagementResponse = {
|
|
457
|
+
interested: boolean;
|
|
458
|
+
subscribed: boolean;
|
|
459
|
+
interestCount: number;
|
|
460
|
+
};
|
|
461
|
+
type MyBipUpdateReactionsResponse = {
|
|
462
|
+
reactions: Array<MyBipUpdateReaction>;
|
|
463
|
+
};
|
|
464
|
+
type MyBipUpdateReaction = {
|
|
465
|
+
updateId: string;
|
|
466
|
+
vote: "up" | "down";
|
|
467
|
+
};
|
|
468
|
+
type SetBipUpdateReactionResponse = {
|
|
469
|
+
reactions: BipUpdateReactionCounts;
|
|
470
|
+
vote: BipUpdateVote;
|
|
471
|
+
};
|
|
472
|
+
type BipUpdateVote = "up" | "down" | null;
|
|
473
|
+
type SetBipUpdateReactionRequest = {
|
|
474
|
+
vote: BipUpdateVote;
|
|
475
|
+
};
|
|
476
|
+
type CreateBipUpdateCommentResponse = {
|
|
477
|
+
comment: BipUpdateComment;
|
|
478
|
+
commentCount: number;
|
|
479
|
+
};
|
|
480
|
+
type DeleteBipUpdateCommentResponse = {
|
|
481
|
+
commentCount: number;
|
|
482
|
+
};
|
|
483
|
+
type CreateBipUpdateRequest = {
|
|
484
|
+
body: BipUpdateBody;
|
|
485
|
+
attachments?: BipUpdateAttachments;
|
|
486
|
+
};
|
|
487
|
+
type UpdateBipUpdateRequest = {
|
|
488
|
+
body?: BipUpdateBody;
|
|
489
|
+
attachments?: BipUpdateAttachments;
|
|
490
|
+
};
|
|
491
|
+
type DeleteBipUpdateResponse = {
|
|
492
|
+
deleted: true;
|
|
493
|
+
};
|
|
494
|
+
type BipUpdateMediaUploadResponse = {
|
|
495
|
+
url: string;
|
|
496
|
+
kind: "image" | "video";
|
|
497
|
+
};
|
|
368
498
|
type ReviewListResponse = {
|
|
369
499
|
aggregate: ReviewAggregate;
|
|
370
500
|
reviews: Array<Review>;
|
|
@@ -372,38 +502,43 @@ type ReviewListResponse = {
|
|
|
372
502
|
hasMore: boolean;
|
|
373
503
|
};
|
|
374
504
|
type ReviewAggregate = {
|
|
375
|
-
average: number | null;
|
|
376
505
|
count: number;
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
1: number;
|
|
381
|
-
2: number;
|
|
382
|
-
3: number;
|
|
383
|
-
4: number;
|
|
384
|
-
5: number;
|
|
506
|
+
recommendedCount: number;
|
|
507
|
+
recommendedPct: number | null;
|
|
508
|
+
summaryLabel: ReviewSummaryLabel;
|
|
385
509
|
};
|
|
510
|
+
type ReviewSummaryLabel = "overwhelmingly_positive" | "very_positive" | "positive" | "mostly_positive" | "mixed" | "mostly_negative" | "negative" | "overwhelmingly_negative" | null;
|
|
386
511
|
type Review = {
|
|
387
512
|
id: string;
|
|
388
|
-
|
|
513
|
+
recommended: ReviewRecommended;
|
|
389
514
|
body: ReviewBody;
|
|
515
|
+
reactions: ReviewReactionCounts;
|
|
516
|
+
tippedCents: number;
|
|
517
|
+
commentCount: number;
|
|
390
518
|
author: ReviewAuthor;
|
|
519
|
+
authorStats: ReviewerStats;
|
|
391
520
|
developerReply: ReviewReply;
|
|
392
521
|
createdAt: string;
|
|
393
522
|
updatedAt: string;
|
|
394
523
|
};
|
|
395
|
-
type
|
|
524
|
+
type ReviewRecommended = boolean;
|
|
396
525
|
type ReviewBody = string;
|
|
397
|
-
type
|
|
398
|
-
|
|
399
|
-
|
|
526
|
+
type ReviewReactionCounts = {
|
|
527
|
+
helpful: number;
|
|
528
|
+
unhelpful: number;
|
|
529
|
+
funny: number;
|
|
530
|
+
};
|
|
531
|
+
type ReviewerStats = {
|
|
532
|
+
playtimeSecondsThisGame: number;
|
|
533
|
+
gamesPlayed: number;
|
|
534
|
+
reviewsWritten: number;
|
|
400
535
|
};
|
|
401
536
|
type ReviewReply = {
|
|
402
537
|
body: ReviewReplyBody;
|
|
403
538
|
repliedAt: string;
|
|
404
539
|
} | null;
|
|
405
540
|
type ReviewReplyBody = string;
|
|
406
|
-
type ReviewSort = "newest" | "oldest" | "
|
|
541
|
+
type ReviewSort = "newest" | "oldest" | "helpful";
|
|
407
542
|
type MyReviewResponse = {
|
|
408
543
|
eligible: boolean;
|
|
409
544
|
eligibleVia: ReviewEligibilityReason;
|
|
@@ -413,15 +548,67 @@ type MyReviewResponse = {
|
|
|
413
548
|
type ReviewEligibilityReason = "payment" | "reward" | null;
|
|
414
549
|
type OwnReview = {
|
|
415
550
|
id: string;
|
|
416
|
-
|
|
551
|
+
recommended: ReviewRecommended;
|
|
417
552
|
body: ReviewBody;
|
|
418
553
|
createdAt: string;
|
|
419
554
|
updatedAt: string;
|
|
420
555
|
} | null;
|
|
421
556
|
type UpsertReviewRequest = {
|
|
422
|
-
|
|
557
|
+
recommended: ReviewRecommended;
|
|
423
558
|
body: ReviewBody;
|
|
424
559
|
};
|
|
560
|
+
type MyReviewReactionsResponse = {
|
|
561
|
+
reactions: Array<MyReviewReaction>;
|
|
562
|
+
};
|
|
563
|
+
type MyReviewReaction = {
|
|
564
|
+
reviewId: string;
|
|
565
|
+
vote: ReviewVote;
|
|
566
|
+
funny: boolean;
|
|
567
|
+
};
|
|
568
|
+
type ReviewVote = "helpful" | "unhelpful" | null;
|
|
569
|
+
type SetReviewReactionResponse = {
|
|
570
|
+
reactions: ReviewReactionCounts;
|
|
571
|
+
vote: ReviewVote;
|
|
572
|
+
funny: boolean;
|
|
573
|
+
};
|
|
574
|
+
type SetReviewReactionRequest = {
|
|
575
|
+
vote: ReviewVote;
|
|
576
|
+
funny: boolean;
|
|
577
|
+
};
|
|
578
|
+
type TipReviewResponse = {
|
|
579
|
+
status: "completed";
|
|
580
|
+
amountCents: number;
|
|
581
|
+
balanceCents: number;
|
|
582
|
+
tippedCents: number;
|
|
583
|
+
};
|
|
584
|
+
type TipReviewRequest = {
|
|
585
|
+
amountCents: number;
|
|
586
|
+
note?: string;
|
|
587
|
+
challengeId?: string;
|
|
588
|
+
signature?: string;
|
|
589
|
+
};
|
|
590
|
+
type ReviewCommentListResponse = {
|
|
591
|
+
comments: Array<ReviewComment>;
|
|
592
|
+
total: number;
|
|
593
|
+
hasMore: boolean;
|
|
594
|
+
};
|
|
595
|
+
type ReviewComment = {
|
|
596
|
+
id: string;
|
|
597
|
+
body: ReviewCommentBody;
|
|
598
|
+
author: ReviewAuthor;
|
|
599
|
+
createdAt: string;
|
|
600
|
+
};
|
|
601
|
+
type ReviewCommentBody = string;
|
|
602
|
+
type CreateReviewCommentResponse = {
|
|
603
|
+
comment: ReviewComment;
|
|
604
|
+
commentCount: number;
|
|
605
|
+
};
|
|
606
|
+
type CreateReviewCommentRequest = {
|
|
607
|
+
body: ReviewCommentBody;
|
|
608
|
+
};
|
|
609
|
+
type DeleteReviewCommentResponse = {
|
|
610
|
+
commentCount: number;
|
|
611
|
+
};
|
|
425
612
|
type ReviewReplyResponse = {
|
|
426
613
|
developerReply: ReviewReply;
|
|
427
614
|
};
|
|
@@ -526,8 +713,12 @@ type ActivityRow = ({
|
|
|
526
713
|
} & ActivityRowTronPot) | ({
|
|
527
714
|
kind: "tron_cashout";
|
|
528
715
|
} & ActivityRowTronCashout) | ({
|
|
716
|
+
kind: "tron_transfer";
|
|
717
|
+
} & ActivityRowTronTransfer) | ({
|
|
529
718
|
kind: "referral_earning";
|
|
530
|
-
} & ActivityRowReferralEarning)
|
|
719
|
+
} & ActivityRowReferralEarning) | ({
|
|
720
|
+
kind: "nft_charge";
|
|
721
|
+
} & ActivityRowNftCharge);
|
|
531
722
|
type ActivityRowPayment = {
|
|
532
723
|
kind: "payment";
|
|
533
724
|
groupId: string | null;
|
|
@@ -809,6 +1000,20 @@ type ActivityRowTronCashout = {
|
|
|
809
1000
|
rejectionReason: string | null;
|
|
810
1001
|
settledAt: string | null;
|
|
811
1002
|
};
|
|
1003
|
+
type ActivityRowTronTransfer = {
|
|
1004
|
+
kind: "tron_transfer";
|
|
1005
|
+
groupId: string | null;
|
|
1006
|
+
id: string;
|
|
1007
|
+
occurredAt: string;
|
|
1008
|
+
role: "incoming" | "outgoing";
|
|
1009
|
+
amountCents: number;
|
|
1010
|
+
usdCents: number;
|
|
1011
|
+
status: "settled";
|
|
1012
|
+
counterpartyUserId: string | null;
|
|
1013
|
+
counterpartyHandle: string | null;
|
|
1014
|
+
counterpartyDisplayName: string | null;
|
|
1015
|
+
note: string | null;
|
|
1016
|
+
};
|
|
812
1017
|
type ActivityRowReferralEarning = {
|
|
813
1018
|
kind: "referral_earning";
|
|
814
1019
|
groupId: string | null;
|
|
@@ -825,6 +1030,22 @@ type ActivityRowReferralEarning = {
|
|
|
825
1030
|
logIndex: number;
|
|
826
1031
|
usdCents: number | null;
|
|
827
1032
|
};
|
|
1033
|
+
type ActivityRowNftCharge = {
|
|
1034
|
+
kind: "nft_charge";
|
|
1035
|
+
groupId: string | null;
|
|
1036
|
+
id: string;
|
|
1037
|
+
occurredAt: string;
|
|
1038
|
+
role: "outgoing";
|
|
1039
|
+
chargeKind: "registration" | "mint" | "transfer_gas";
|
|
1040
|
+
amountCents: number;
|
|
1041
|
+
usdCents: number;
|
|
1042
|
+
status: "settled";
|
|
1043
|
+
collectionAddress: string | null;
|
|
1044
|
+
tokenId: string | null;
|
|
1045
|
+
counterpartyUserId: string | null;
|
|
1046
|
+
counterpartyHandle: string | null;
|
|
1047
|
+
counterpartyDisplayName: string | null;
|
|
1048
|
+
};
|
|
828
1049
|
type OutstandingResponse = {
|
|
829
1050
|
rows: Array<OutstandingByToken>;
|
|
830
1051
|
};
|
|
@@ -874,7 +1095,7 @@ type TronLedgerResponse = {
|
|
|
874
1095
|
};
|
|
875
1096
|
type TronLedgerEntry = {
|
|
876
1097
|
id: string;
|
|
877
|
-
kind: "deposit" | "pot_stake" | "pot_payout" | "dev_earning" | "cashout_hold" | "cashout_release" | "dispute_freeze" | "dispute_unfreeze" | "hosted_billing" | "store_purchase" | "referral_earning";
|
|
1098
|
+
kind: "deposit" | "pot_stake" | "pot_payout" | "dev_earning" | "cashout_hold" | "cashout_release" | "dispute_freeze" | "dispute_unfreeze" | "hosted_billing" | "store_purchase" | "referral_earning" | "peer_transfer" | "nft_registration" | "nft_mint" | "nft_gas";
|
|
878
1099
|
amountCents: number;
|
|
879
1100
|
currency: string;
|
|
880
1101
|
createdAt: string;
|
|
@@ -889,6 +1110,45 @@ type TronDepositResponse = {
|
|
|
889
1110
|
type TronDepositRequest = {
|
|
890
1111
|
amountCents: number;
|
|
891
1112
|
};
|
|
1113
|
+
type TronTransferResponse = {
|
|
1114
|
+
status: "completed";
|
|
1115
|
+
amountCents: number;
|
|
1116
|
+
balanceCents: number;
|
|
1117
|
+
recipient: {
|
|
1118
|
+
userId: string;
|
|
1119
|
+
handle: string | null;
|
|
1120
|
+
displayName: string | null;
|
|
1121
|
+
};
|
|
1122
|
+
};
|
|
1123
|
+
type TronTransferRequest = {
|
|
1124
|
+
recipientUserId: string;
|
|
1125
|
+
amountCents: number;
|
|
1126
|
+
note?: string;
|
|
1127
|
+
challengeId?: string;
|
|
1128
|
+
signature?: string;
|
|
1129
|
+
threadId?: string;
|
|
1130
|
+
};
|
|
1131
|
+
type TronSecuritySetting = {
|
|
1132
|
+
requireSignature: boolean;
|
|
1133
|
+
};
|
|
1134
|
+
type TronTransferChallengeResponse = ({
|
|
1135
|
+
required: false;
|
|
1136
|
+
} & TronTransferChallengeNotRequired) | ({
|
|
1137
|
+
required: true;
|
|
1138
|
+
} & TronTransferChallengeRequired);
|
|
1139
|
+
type TronTransferChallengeNotRequired = {
|
|
1140
|
+
required: false;
|
|
1141
|
+
};
|
|
1142
|
+
type TronTransferChallengeRequired = {
|
|
1143
|
+
required: true;
|
|
1144
|
+
challengeId: string;
|
|
1145
|
+
message: string;
|
|
1146
|
+
expiresAt: string;
|
|
1147
|
+
};
|
|
1148
|
+
type TronTransferChallengeRequest = {
|
|
1149
|
+
recipientUserId: string;
|
|
1150
|
+
amountCents: number;
|
|
1151
|
+
};
|
|
892
1152
|
type TronConnectOnboardingResponse = {
|
|
893
1153
|
url: string;
|
|
894
1154
|
};
|
|
@@ -1055,6 +1315,7 @@ type ThreadLastMessagePreview = {
|
|
|
1055
1315
|
url: string;
|
|
1056
1316
|
count: number;
|
|
1057
1317
|
} | null;
|
|
1318
|
+
transaction?: MessageTransactionTronTransfer | MessageTransactionNftTransfer | null;
|
|
1058
1319
|
sentAt: string;
|
|
1059
1320
|
} | null;
|
|
1060
1321
|
type MessageEnvelope = {
|
|
@@ -1066,6 +1327,20 @@ type MessageEnvelope = {
|
|
|
1066
1327
|
iv: string;
|
|
1067
1328
|
ct: string;
|
|
1068
1329
|
} | null;
|
|
1330
|
+
type MessageTransactionTronTransfer = {
|
|
1331
|
+
kind: "tron_transfer";
|
|
1332
|
+
amountCents: number;
|
|
1333
|
+
recipientUserId: string;
|
|
1334
|
+
};
|
|
1335
|
+
type MessageTransactionNftTransfer = {
|
|
1336
|
+
kind: "nft_transfer";
|
|
1337
|
+
recipientUserId: string;
|
|
1338
|
+
collectionAddress: string;
|
|
1339
|
+
tokenId: string;
|
|
1340
|
+
amount: string;
|
|
1341
|
+
itemName: string | null;
|
|
1342
|
+
imageAssetId?: string | null;
|
|
1343
|
+
};
|
|
1069
1344
|
type GroupThreadSummary = {
|
|
1070
1345
|
kind: "group";
|
|
1071
1346
|
id: string;
|
|
@@ -1112,6 +1387,7 @@ type MessageItem = {
|
|
|
1112
1387
|
id: string;
|
|
1113
1388
|
threadId: string;
|
|
1114
1389
|
senderUserId: string;
|
|
1390
|
+
transaction?: MessageTransactionTronTransfer | MessageTransactionNftTransfer | null;
|
|
1115
1391
|
body: string;
|
|
1116
1392
|
envelope?: MessageEnvelope;
|
|
1117
1393
|
sentAt: string;
|
|
@@ -1323,11 +1599,45 @@ type InventoryHolding = {
|
|
|
1323
1599
|
tokenId: string;
|
|
1324
1600
|
amount: string;
|
|
1325
1601
|
name: string | null;
|
|
1602
|
+
description: string | null;
|
|
1326
1603
|
imageAssetId: string | null;
|
|
1327
1604
|
bannerAssetId: string | null;
|
|
1328
1605
|
devMetadata: {
|
|
1329
1606
|
[key: string]: unknown;
|
|
1330
1607
|
};
|
|
1608
|
+
appId: string | null;
|
|
1609
|
+
appName: string | null;
|
|
1610
|
+
appLogoUrl: string | null;
|
|
1611
|
+
};
|
|
1612
|
+
type InventoryPendingPermitListResponse = {
|
|
1613
|
+
permits: Array<InventoryPendingPermit>;
|
|
1614
|
+
};
|
|
1615
|
+
type InventoryPendingPermit = {
|
|
1616
|
+
id: string;
|
|
1617
|
+
appId: string;
|
|
1618
|
+
itemId: string;
|
|
1619
|
+
amount: string;
|
|
1620
|
+
priceCents: number | null;
|
|
1621
|
+
gasSponsored: boolean;
|
|
1622
|
+
environment: "development" | "production";
|
|
1623
|
+
createdAt: string;
|
|
1624
|
+
tokenId: string;
|
|
1625
|
+
name: string | null;
|
|
1626
|
+
description: string | null;
|
|
1627
|
+
imageAssetId: string | null;
|
|
1628
|
+
chain: string;
|
|
1629
|
+
collectionAddress: string;
|
|
1630
|
+
kind: "erc721" | "erc1155";
|
|
1631
|
+
};
|
|
1632
|
+
type InventoryPermitRedeemResult = {
|
|
1633
|
+
mint: MintRequestResult;
|
|
1634
|
+
charge: {
|
|
1635
|
+
currency: "tron";
|
|
1636
|
+
gasCents: number;
|
|
1637
|
+
priceCents: number;
|
|
1638
|
+
totalCents: number;
|
|
1639
|
+
gasPaidBy: "user" | "developer";
|
|
1640
|
+
};
|
|
1331
1641
|
};
|
|
1332
1642
|
type MintRequestResult = {
|
|
1333
1643
|
mintRequestId: string;
|
|
@@ -1343,6 +1653,247 @@ type MintRequestInput = {
|
|
|
1343
1653
|
tokenId?: string;
|
|
1344
1654
|
amount?: string;
|
|
1345
1655
|
};
|
|
1656
|
+
type InventoryCollectionListResponse = {
|
|
1657
|
+
collections: Array<InventoryCollectionSummary>;
|
|
1658
|
+
};
|
|
1659
|
+
type InventoryCollectionSummary = {
|
|
1660
|
+
id: string;
|
|
1661
|
+
chain: string;
|
|
1662
|
+
collectionAddress: string;
|
|
1663
|
+
kind: "erc721" | "erc1155";
|
|
1664
|
+
name: string | null;
|
|
1665
|
+
environment: "development" | "production";
|
|
1666
|
+
};
|
|
1667
|
+
type InventoryRegistrationQuote = {
|
|
1668
|
+
itemCount: number;
|
|
1669
|
+
baselineUsdCents: number;
|
|
1670
|
+
gasUsdCents: number;
|
|
1671
|
+
tron: {
|
|
1672
|
+
baselineCents: number;
|
|
1673
|
+
gasCents: number;
|
|
1674
|
+
totalCents: number;
|
|
1675
|
+
};
|
|
1676
|
+
eth: {
|
|
1677
|
+
baselineWei: string;
|
|
1678
|
+
gasWei: string;
|
|
1679
|
+
totalWei: string;
|
|
1680
|
+
};
|
|
1681
|
+
};
|
|
1682
|
+
type InventoryItemRegistrationInput = {
|
|
1683
|
+
collectionAddress: string;
|
|
1684
|
+
chain: string;
|
|
1685
|
+
items: Array<InventoryItemRegistrationSpec>;
|
|
1686
|
+
};
|
|
1687
|
+
type InventoryItemRegistrationSpec = {
|
|
1688
|
+
name?: string | null;
|
|
1689
|
+
description?: string | null;
|
|
1690
|
+
devMetadata?: {
|
|
1691
|
+
[key: string]: unknown;
|
|
1692
|
+
};
|
|
1693
|
+
supplyType?: InventorySupplyType;
|
|
1694
|
+
maxSupply?: string | null;
|
|
1695
|
+
active?: boolean;
|
|
1696
|
+
};
|
|
1697
|
+
type InventorySupplyType = "capped" | "flexible" | "unlimited";
|
|
1698
|
+
type InventoryItemRegistrationResult = {
|
|
1699
|
+
items: Array<InventoryItemRecord>;
|
|
1700
|
+
charge: {
|
|
1701
|
+
currency: "tron";
|
|
1702
|
+
amountCents: number;
|
|
1703
|
+
baselineCents: number;
|
|
1704
|
+
gasCents: number;
|
|
1705
|
+
addItemTxHash: string;
|
|
1706
|
+
};
|
|
1707
|
+
};
|
|
1708
|
+
type InventoryItemRecord = {
|
|
1709
|
+
id: string;
|
|
1710
|
+
collectionId: string;
|
|
1711
|
+
collectionAddress: string;
|
|
1712
|
+
chain: string;
|
|
1713
|
+
kind: "erc721" | "erc1155";
|
|
1714
|
+
tokenId: string;
|
|
1715
|
+
name: string | null;
|
|
1716
|
+
description: string | null;
|
|
1717
|
+
imageAssetId: string | null;
|
|
1718
|
+
bannerAssetId: string | null;
|
|
1719
|
+
devMetadata: {
|
|
1720
|
+
[key: string]: unknown;
|
|
1721
|
+
};
|
|
1722
|
+
supplyType: InventorySupplyType | null;
|
|
1723
|
+
maxSupply: string | null;
|
|
1724
|
+
active: boolean;
|
|
1725
|
+
};
|
|
1726
|
+
type InventoryItemListResponse = {
|
|
1727
|
+
items: Array<InventoryItemRecord>;
|
|
1728
|
+
};
|
|
1729
|
+
type InventoryMintPermitRecord = {
|
|
1730
|
+
id: string;
|
|
1731
|
+
appId: string;
|
|
1732
|
+
itemId: string;
|
|
1733
|
+
userId: string;
|
|
1734
|
+
amount: string;
|
|
1735
|
+
priceCents: number | null;
|
|
1736
|
+
gasSponsored: boolean;
|
|
1737
|
+
status: "pending" | "redeemed" | "revoked";
|
|
1738
|
+
createdAt: string;
|
|
1739
|
+
};
|
|
1740
|
+
type InventoryMintPermitCreateInput = {
|
|
1741
|
+
toUserId: string;
|
|
1742
|
+
amount?: string;
|
|
1743
|
+
priceCents?: number | null;
|
|
1744
|
+
gasSponsored?: boolean;
|
|
1745
|
+
};
|
|
1746
|
+
type InventoryItemHoldersResponse = {
|
|
1747
|
+
stats: InventoryItemStats;
|
|
1748
|
+
holders: Array<InventoryItemHolder>;
|
|
1749
|
+
};
|
|
1750
|
+
type InventoryItemStats = {
|
|
1751
|
+
holderCount: number;
|
|
1752
|
+
walletCount: number;
|
|
1753
|
+
totalHeld: string;
|
|
1754
|
+
};
|
|
1755
|
+
type InventoryItemHolder = {
|
|
1756
|
+
walletAddress: string;
|
|
1757
|
+
userId: string | null;
|
|
1758
|
+
amount: string;
|
|
1759
|
+
};
|
|
1760
|
+
type InventoryVaultPermitRecord = {
|
|
1761
|
+
id: string;
|
|
1762
|
+
appId: string;
|
|
1763
|
+
itemId: string;
|
|
1764
|
+
userId: string;
|
|
1765
|
+
direction: "vault_in" | "withdraw";
|
|
1766
|
+
lockKind: "vault" | "burn" | null;
|
|
1767
|
+
amount: string;
|
|
1768
|
+
gasSponsored: boolean;
|
|
1769
|
+
status: "pending" | "redeemed" | "revoked";
|
|
1770
|
+
custodyId: string | null;
|
|
1771
|
+
createdAt: string;
|
|
1772
|
+
};
|
|
1773
|
+
type InventoryVaultPermitCreateInput = {
|
|
1774
|
+
toUserId: string;
|
|
1775
|
+
lockKind: "vault" | "burn";
|
|
1776
|
+
amount?: string;
|
|
1777
|
+
gasSponsored?: boolean;
|
|
1778
|
+
};
|
|
1779
|
+
type InventoryWithdrawPermitCreateInput = {
|
|
1780
|
+
custodyId: string;
|
|
1781
|
+
};
|
|
1782
|
+
type InventoryPendingVaultPermitListResponse = {
|
|
1783
|
+
permits: Array<InventoryPendingVaultPermit>;
|
|
1784
|
+
};
|
|
1785
|
+
type InventoryPendingVaultPermit = {
|
|
1786
|
+
id: string;
|
|
1787
|
+
appId: string;
|
|
1788
|
+
itemId: string;
|
|
1789
|
+
direction: "vault_in" | "withdraw";
|
|
1790
|
+
lockKind: "vault" | "burn" | null;
|
|
1791
|
+
amount: string;
|
|
1792
|
+
gasSponsored: boolean;
|
|
1793
|
+
environment: "development" | "production";
|
|
1794
|
+
custodyId: string | null;
|
|
1795
|
+
createdAt: string;
|
|
1796
|
+
tokenId: string;
|
|
1797
|
+
name: string | null;
|
|
1798
|
+
description: string | null;
|
|
1799
|
+
imageAssetId: string | null;
|
|
1800
|
+
chain: string;
|
|
1801
|
+
collectionAddress: string;
|
|
1802
|
+
kind: "erc721" | "erc1155";
|
|
1803
|
+
};
|
|
1804
|
+
type InventorySignedVaultPermit = {
|
|
1805
|
+
permitId: string;
|
|
1806
|
+
direction: "vault_in" | "withdraw";
|
|
1807
|
+
vault: string;
|
|
1808
|
+
collection: string;
|
|
1809
|
+
user: string;
|
|
1810
|
+
tokenId: string;
|
|
1811
|
+
amount: string;
|
|
1812
|
+
lockKind: "vault" | "burn" | null;
|
|
1813
|
+
destination: string | null;
|
|
1814
|
+
deadline: number;
|
|
1815
|
+
signature: string;
|
|
1816
|
+
};
|
|
1817
|
+
type InventoryRelayedVaultQuoteResponse = {
|
|
1818
|
+
direction: "vault_in" | "withdraw";
|
|
1819
|
+
collection: string;
|
|
1820
|
+
vault: string;
|
|
1821
|
+
chainId: number;
|
|
1822
|
+
user: string;
|
|
1823
|
+
tokenId: string;
|
|
1824
|
+
amount: string;
|
|
1825
|
+
nonce: string | null;
|
|
1826
|
+
deadline: number;
|
|
1827
|
+
feeCents: number;
|
|
1828
|
+
gasWei: string;
|
|
1829
|
+
gasPaidBy: "developer" | "user";
|
|
1830
|
+
requiresUserSignature: boolean;
|
|
1831
|
+
};
|
|
1832
|
+
type InventoryRelayedVaultSubmitResponse = {
|
|
1833
|
+
ok: boolean;
|
|
1834
|
+
txHash: string;
|
|
1835
|
+
chargedCents: number;
|
|
1836
|
+
gasPaidBy: "developer" | "user";
|
|
1837
|
+
};
|
|
1838
|
+
type InventoryRelayedVaultSubmitRequest = {
|
|
1839
|
+
userSignature?: string;
|
|
1840
|
+
deadline?: number;
|
|
1841
|
+
};
|
|
1842
|
+
type InventoryNftTransferQuoteResponse = {
|
|
1843
|
+
collection: string;
|
|
1844
|
+
chainId: number;
|
|
1845
|
+
from: string;
|
|
1846
|
+
to: string;
|
|
1847
|
+
tokenId: string;
|
|
1848
|
+
amount: string;
|
|
1849
|
+
nonce: string;
|
|
1850
|
+
deadline: number;
|
|
1851
|
+
feeCents: number;
|
|
1852
|
+
gasWei: string;
|
|
1853
|
+
selfPayAvailable: boolean;
|
|
1854
|
+
};
|
|
1855
|
+
type InventoryNftTransferQuoteRequest = {
|
|
1856
|
+
toUserId: string;
|
|
1857
|
+
collection: string;
|
|
1858
|
+
tokenId: string;
|
|
1859
|
+
amount?: string;
|
|
1860
|
+
};
|
|
1861
|
+
type InventoryNftTransferResponse = {
|
|
1862
|
+
ok: boolean;
|
|
1863
|
+
txHash: string;
|
|
1864
|
+
chargedCents: number;
|
|
1865
|
+
};
|
|
1866
|
+
type InventoryNftTransferRequest = {
|
|
1867
|
+
toUserId: string;
|
|
1868
|
+
collection: string;
|
|
1869
|
+
tokenId: string;
|
|
1870
|
+
amount?: string;
|
|
1871
|
+
deadline: number;
|
|
1872
|
+
userSignature: string;
|
|
1873
|
+
threadId?: string;
|
|
1874
|
+
};
|
|
1875
|
+
type InventoryVaultCustodyListResponse = {
|
|
1876
|
+
custody: Array<InventoryVaultCustody>;
|
|
1877
|
+
};
|
|
1878
|
+
type InventoryVaultCustody = {
|
|
1879
|
+
id: string;
|
|
1880
|
+
collectionId: string;
|
|
1881
|
+
collectionAddress: string;
|
|
1882
|
+
chain: string;
|
|
1883
|
+
kind: "erc721" | "erc1155";
|
|
1884
|
+
tokenId: string;
|
|
1885
|
+
amount: string;
|
|
1886
|
+
lockKind: "vault" | "burn";
|
|
1887
|
+
vaultAddress: string;
|
|
1888
|
+
createdAt: string;
|
|
1889
|
+
name: string | null;
|
|
1890
|
+
description: string | null;
|
|
1891
|
+
imageAssetId: string | null;
|
|
1892
|
+
};
|
|
1893
|
+
type InventoryVaultForceWithdrawResponse = {
|
|
1894
|
+
ok: boolean;
|
|
1895
|
+
txHash: string;
|
|
1896
|
+
};
|
|
1346
1897
|
type NotificationListResponse = {
|
|
1347
1898
|
notifications: Array<NotificationItem>;
|
|
1348
1899
|
unreadCount: number;
|
|
@@ -1371,6 +1922,18 @@ type NotificationItem = {
|
|
|
1371
1922
|
payload: AppPageRejectedNotificationPayload;
|
|
1372
1923
|
read: boolean;
|
|
1373
1924
|
createdAt: string;
|
|
1925
|
+
} | {
|
|
1926
|
+
id: string;
|
|
1927
|
+
kind: "bip_update_published";
|
|
1928
|
+
payload: BipUpdatePublishedNotificationPayload;
|
|
1929
|
+
read: boolean;
|
|
1930
|
+
createdAt: string;
|
|
1931
|
+
} | {
|
|
1932
|
+
id: string;
|
|
1933
|
+
kind: "bip_now_playable";
|
|
1934
|
+
payload: BipNowPlayableNotificationPayload;
|
|
1935
|
+
read: boolean;
|
|
1936
|
+
createdAt: string;
|
|
1374
1937
|
} | {
|
|
1375
1938
|
id: string;
|
|
1376
1939
|
kind: "app_participant_invite";
|
|
@@ -1401,14 +1964,25 @@ type FriendAcceptedNotificationPayload = {
|
|
|
1401
1964
|
type AppPageApprovedNotificationPayload = {
|
|
1402
1965
|
appId: string;
|
|
1403
1966
|
appName: string;
|
|
1404
|
-
scope: "publish" | "changes";
|
|
1967
|
+
scope: "publish" | "changes" | "bip_publish";
|
|
1405
1968
|
};
|
|
1406
1969
|
type AppPageRejectedNotificationPayload = {
|
|
1407
1970
|
appId: string;
|
|
1408
1971
|
appName: string;
|
|
1409
|
-
scope: "publish" | "changes";
|
|
1972
|
+
scope: "publish" | "changes" | "bip_publish";
|
|
1410
1973
|
notes: string;
|
|
1411
1974
|
};
|
|
1975
|
+
type BipUpdatePublishedNotificationPayload = {
|
|
1976
|
+
appId: string;
|
|
1977
|
+
appName: string;
|
|
1978
|
+
appSlug: string | null;
|
|
1979
|
+
updateId: string;
|
|
1980
|
+
};
|
|
1981
|
+
type BipNowPlayableNotificationPayload = {
|
|
1982
|
+
appId: string;
|
|
1983
|
+
appName: string;
|
|
1984
|
+
appSlug: string | null;
|
|
1985
|
+
};
|
|
1412
1986
|
type AppParticipantInviteNotificationPayload = {
|
|
1413
1987
|
appId: string;
|
|
1414
1988
|
appName: string;
|
|
@@ -1438,6 +2012,9 @@ type FriendListItem = {
|
|
|
1438
2012
|
onlineStatus: OnlineStatus;
|
|
1439
2013
|
};
|
|
1440
2014
|
type OnlineStatus = "online" | "offline";
|
|
2015
|
+
type AppFriendListResponse = {
|
|
2016
|
+
friends: Array<ThreadParticipant>;
|
|
2017
|
+
};
|
|
1441
2018
|
type FriendRequestDecision = {
|
|
1442
2019
|
decision: "accept" | "reject";
|
|
1443
2020
|
};
|
|
@@ -1510,7 +2087,7 @@ type ProfileRecentReview = {
|
|
|
1510
2087
|
appId: string;
|
|
1511
2088
|
appName: string;
|
|
1512
2089
|
appLogoUrl: string | null;
|
|
1513
|
-
|
|
2090
|
+
recommended: boolean;
|
|
1514
2091
|
body: string;
|
|
1515
2092
|
createdAt: string;
|
|
1516
2093
|
};
|
|
@@ -1567,6 +2144,7 @@ type CreateDeveloperAppChain = {
|
|
|
1567
2144
|
};
|
|
1568
2145
|
type UpdateDeveloperApp = {
|
|
1569
2146
|
name?: DeveloperAppName;
|
|
2147
|
+
slug?: AppPageSlug | null;
|
|
1570
2148
|
logoUrl?: string | null;
|
|
1571
2149
|
testAccess?: "private" | "public";
|
|
1572
2150
|
redirectUris?: Array<string>;
|
|
@@ -1815,6 +2393,7 @@ type DeveloperProductionRequestPayload = {
|
|
|
1815
2393
|
type DeveloperAppItem = {
|
|
1816
2394
|
id: string;
|
|
1817
2395
|
name: DeveloperAppName;
|
|
2396
|
+
slug: AppPageSlug | null;
|
|
1818
2397
|
logoUrl: string | null;
|
|
1819
2398
|
environment: "development" | "production";
|
|
1820
2399
|
productionApprovedAt: string | null;
|
|
@@ -1866,15 +2445,29 @@ type AppPageDraft = {
|
|
|
1866
2445
|
gallery: AppPageGallery;
|
|
1867
2446
|
chapters: AppPageChapters;
|
|
1868
2447
|
links: AppPageLinks;
|
|
2448
|
+
platforms: AppPagePlatforms;
|
|
2449
|
+
gameType: AppPageGameType;
|
|
2450
|
+
ageRating: AppPageAgeRating;
|
|
2451
|
+
languages: AppPageLanguages;
|
|
2452
|
+
releaseStatus: AppPageReleaseStatus;
|
|
1869
2453
|
firstPublishedAt: string | null;
|
|
1870
2454
|
reviewedAt: string | null;
|
|
1871
2455
|
reviewNotes: string | null;
|
|
1872
2456
|
hiddenAt: string | null;
|
|
1873
2457
|
hiddenReasonPublic: string | null;
|
|
1874
2458
|
pendingReview: boolean;
|
|
2459
|
+
bip: AppPageBipState;
|
|
2460
|
+
};
|
|
2461
|
+
type AppPageBipState = {
|
|
2462
|
+
enabled: boolean;
|
|
2463
|
+
status: "draft" | "pending_review" | "published" | "hidden";
|
|
2464
|
+
firstPublishedAt: string | null;
|
|
2465
|
+
reviewedAt: string | null;
|
|
2466
|
+
reviewNotes: string | null;
|
|
2467
|
+
hiddenAt: string | null;
|
|
2468
|
+
hiddenReasonPublic: string | null;
|
|
1875
2469
|
};
|
|
1876
2470
|
type UpdateAppPage = {
|
|
1877
|
-
slug?: AppPageSlug | null;
|
|
1878
2471
|
categories?: AppPageCategories;
|
|
1879
2472
|
tagline?: AppPageTagline | null;
|
|
1880
2473
|
bannerUrl?: string | null;
|
|
@@ -1888,10 +2481,18 @@ type UpdateAppPage = {
|
|
|
1888
2481
|
gallery?: AppPageGallery;
|
|
1889
2482
|
chapters?: AppPageChapters;
|
|
1890
2483
|
links?: AppPageLinks;
|
|
2484
|
+
platforms?: AppPagePlatforms;
|
|
2485
|
+
gameType?: AppPageGameType;
|
|
2486
|
+
ageRating?: AppPageAgeRating;
|
|
2487
|
+
languages?: AppPageLanguages;
|
|
2488
|
+
releaseStatus?: AppPageReleaseStatus;
|
|
1891
2489
|
};
|
|
1892
2490
|
type AppPageGalleryUploadResponse = {
|
|
1893
2491
|
url: string;
|
|
1894
2492
|
};
|
|
2493
|
+
type AppPageBipToggle = {
|
|
2494
|
+
enabled: boolean;
|
|
2495
|
+
};
|
|
1895
2496
|
type AdminActivePlayersResponse = {
|
|
1896
2497
|
players: Array<AdminActivePlayer>;
|
|
1897
2498
|
total: number;
|
|
@@ -2030,6 +2631,11 @@ type AdminAppPageItem = {
|
|
|
2030
2631
|
hiddenAt: string | null;
|
|
2031
2632
|
hiddenReasonInternal: string | null;
|
|
2032
2633
|
pendingChangesSubmittedAt: string | null;
|
|
2634
|
+
bipEnabled: boolean;
|
|
2635
|
+
bipStatus: "draft" | "pending_review" | "published" | "hidden";
|
|
2636
|
+
bipFirstPublishedAt: string | null;
|
|
2637
|
+
bipHiddenAt: string | null;
|
|
2638
|
+
openReportCount: number;
|
|
2033
2639
|
};
|
|
2034
2640
|
type AdminAppPageStatusResponse = {
|
|
2035
2641
|
status: "draft" | "pending_review" | "published" | "hidden";
|
|
@@ -2055,6 +2661,25 @@ type AdminAppPageDiffField = {
|
|
|
2055
2661
|
from: string;
|
|
2056
2662
|
to: string;
|
|
2057
2663
|
};
|
|
2664
|
+
type AdminAppPageBipStatusResponse = {
|
|
2665
|
+
bipStatus: "draft" | "pending_review" | "published" | "hidden";
|
|
2666
|
+
};
|
|
2667
|
+
type AdminAppContentReportListResponse = {
|
|
2668
|
+
reports: Array<AdminAppContentReportItem>;
|
|
2669
|
+
total: number;
|
|
2670
|
+
hasMore: boolean;
|
|
2671
|
+
};
|
|
2672
|
+
type AdminAppContentReportItem = {
|
|
2673
|
+
id: string;
|
|
2674
|
+
category: AppContentReportCategory;
|
|
2675
|
+
details: string | null;
|
|
2676
|
+
status: AppContentReportStatus;
|
|
2677
|
+
acknowledgedAt: string | null;
|
|
2678
|
+
createdAt: string;
|
|
2679
|
+
appId: string;
|
|
2680
|
+
appName: string;
|
|
2681
|
+
appSlug: string | null;
|
|
2682
|
+
};
|
|
2058
2683
|
type PlatformFeesResponse = {
|
|
2059
2684
|
purchaseFeeBps: number;
|
|
2060
2685
|
stakeFeeBps: number;
|
|
@@ -2344,7 +2969,7 @@ declare function listActivePlayers(context: TransportContext, input: {
|
|
|
2344
2969
|
//#region src/admin/app-pages.d.ts
|
|
2345
2970
|
declare function listAppPages(context: TransportContext, input: {
|
|
2346
2971
|
readonly bearer: string;
|
|
2347
|
-
readonly status?: "draft" | "pending_review" | "published" | "hidden" | "all" | "pending_changes";
|
|
2972
|
+
readonly status?: "draft" | "pending_review" | "published" | "hidden" | "all" | "pending_changes" | "bip_pending_review";
|
|
2348
2973
|
}): Promise<AdminAppPageListResponse>;
|
|
2349
2974
|
declare function getAppPageChanges(context: TransportContext, input: {
|
|
2350
2975
|
readonly bearer: string;
|
|
@@ -2369,6 +2994,20 @@ declare function reviewAppPage(context: TransportContext, input: {
|
|
|
2369
2994
|
readonly appId: string;
|
|
2370
2995
|
readonly body: ReviewAppPage;
|
|
2371
2996
|
}): Promise<AdminAppPageStatusResponse>;
|
|
2997
|
+
declare function reviewAppPageBip(context: TransportContext, input: {
|
|
2998
|
+
readonly bearer: string;
|
|
2999
|
+
readonly appId: string;
|
|
3000
|
+
readonly body: ReviewAppPage;
|
|
3001
|
+
}): Promise<AdminAppPageBipStatusResponse>;
|
|
3002
|
+
declare function hideAppPageBip(context: TransportContext, input: {
|
|
3003
|
+
readonly bearer: string;
|
|
3004
|
+
readonly appId: string;
|
|
3005
|
+
readonly body: HideAppPage;
|
|
3006
|
+
}): Promise<AdminAppPageBipStatusResponse>;
|
|
3007
|
+
declare function unhideAppPageBip(context: TransportContext, input: {
|
|
3008
|
+
readonly bearer: string;
|
|
3009
|
+
readonly appId: string;
|
|
3010
|
+
}): Promise<AdminAppPageBipStatusResponse>;
|
|
2372
3011
|
//#endregion
|
|
2373
3012
|
//#region src/admin/appeals.d.ts
|
|
2374
3013
|
declare function listAppealQueue(context: TransportContext, input: {
|
|
@@ -2400,6 +3039,19 @@ declare function resolveAppeal(context: TransportContext, input: {
|
|
|
2400
3039
|
readonly body: AppealResolveRequest;
|
|
2401
3040
|
}): Promise<AppealResolveSignedResponse>;
|
|
2402
3041
|
//#endregion
|
|
3042
|
+
//#region src/admin/content-reports.d.ts
|
|
3043
|
+
declare function listAdminContentReports(context: TransportContext, input: {
|
|
3044
|
+
readonly bearer: string;
|
|
3045
|
+
readonly status?: "open" | "acknowledged" | "dismissed" | "all";
|
|
3046
|
+
readonly limit?: number;
|
|
3047
|
+
readonly offset?: number;
|
|
3048
|
+
}): Promise<AdminAppContentReportListResponse>;
|
|
3049
|
+
declare function triageAdminContentReport(context: TransportContext, input: {
|
|
3050
|
+
readonly bearer: string;
|
|
3051
|
+
readonly reportId: string;
|
|
3052
|
+
readonly status: "acknowledged" | "dismissed";
|
|
3053
|
+
}): Promise<AppContentReport>;
|
|
3054
|
+
//#endregion
|
|
2403
3055
|
//#region src/admin/developers.d.ts
|
|
2404
3056
|
declare function listDeveloperRequests(context: TransportContext, input: {
|
|
2405
3057
|
readonly bearer: string;
|
|
@@ -2415,6 +3067,12 @@ declare function listDevelopers(context: TransportContext, input: {
|
|
|
2415
3067
|
readonly bearer: string;
|
|
2416
3068
|
}): Promise<AdminDeveloperListResponse>;
|
|
2417
3069
|
//#endregion
|
|
3070
|
+
//#region src/admin/inventory-vault.d.ts
|
|
3071
|
+
declare function forceWithdrawVaultCustody(context: TransportContext, input: {
|
|
3072
|
+
readonly bearer: string;
|
|
3073
|
+
readonly custodyId: string;
|
|
3074
|
+
}): Promise<InventoryVaultForceWithdrawResponse>;
|
|
3075
|
+
//#endregion
|
|
2418
3076
|
//#region src/admin/payments.d.ts
|
|
2419
3077
|
declare function getPlatformFees(context: TransportContext, input: {
|
|
2420
3078
|
readonly bearer: string;
|
|
@@ -2533,6 +3191,102 @@ declare function getAppPage(context: TransportContext, input: {
|
|
|
2533
3191
|
readonly slug: string;
|
|
2534
3192
|
}): Promise<PublicAppPage>;
|
|
2535
3193
|
//#endregion
|
|
3194
|
+
//#region src/catalog/bip-updates.d.ts
|
|
3195
|
+
declare function listBipUpdates(context: TransportContext, input: {
|
|
3196
|
+
readonly bearer?: string;
|
|
3197
|
+
readonly slug: string;
|
|
3198
|
+
readonly limit?: number;
|
|
3199
|
+
readonly offset?: number;
|
|
3200
|
+
}): Promise<BipUpdateListResponse>;
|
|
3201
|
+
declare function listBipUpdateComments(context: TransportContext, input: {
|
|
3202
|
+
readonly bearer?: string;
|
|
3203
|
+
readonly slug: string;
|
|
3204
|
+
readonly updateId: string;
|
|
3205
|
+
readonly limit?: number;
|
|
3206
|
+
readonly offset?: number;
|
|
3207
|
+
}): Promise<BipUpdateCommentListResponse>;
|
|
3208
|
+
declare function getMyBipUpdateReactions(context: TransportContext, input: {
|
|
3209
|
+
readonly bearer: string;
|
|
3210
|
+
readonly slug: string;
|
|
3211
|
+
}): Promise<MyBipUpdateReactionsResponse>;
|
|
3212
|
+
declare function setBipUpdateReaction(context: TransportContext, input: {
|
|
3213
|
+
readonly bearer: string;
|
|
3214
|
+
readonly slug: string;
|
|
3215
|
+
readonly updateId: string;
|
|
3216
|
+
readonly body: SetBipUpdateReactionRequest;
|
|
3217
|
+
}): Promise<SetBipUpdateReactionResponse>;
|
|
3218
|
+
declare function commentOnBipUpdate(context: TransportContext, input: {
|
|
3219
|
+
readonly bearer: string;
|
|
3220
|
+
readonly slug: string;
|
|
3221
|
+
readonly updateId: string;
|
|
3222
|
+
readonly body: string;
|
|
3223
|
+
}): Promise<CreateBipUpdateCommentResponse>;
|
|
3224
|
+
declare function deleteBipUpdateComment(context: TransportContext, input: {
|
|
3225
|
+
readonly bearer: string;
|
|
3226
|
+
readonly slug: string;
|
|
3227
|
+
readonly commentId: string;
|
|
3228
|
+
}): Promise<DeleteBipUpdateCommentResponse>;
|
|
3229
|
+
declare function listDeveloperBipUpdates(context: TransportContext, input: {
|
|
3230
|
+
readonly bearer: string;
|
|
3231
|
+
readonly appId: string;
|
|
3232
|
+
readonly limit?: number;
|
|
3233
|
+
readonly offset?: number;
|
|
3234
|
+
}): Promise<BipUpdateListResponse>;
|
|
3235
|
+
declare function createBipUpdate(context: TransportContext, input: {
|
|
3236
|
+
readonly bearer: string;
|
|
3237
|
+
readonly appId: string;
|
|
3238
|
+
readonly body: CreateBipUpdateRequest;
|
|
3239
|
+
}): Promise<BipUpdate>;
|
|
3240
|
+
declare function updateBipUpdate(context: TransportContext, input: {
|
|
3241
|
+
readonly bearer: string;
|
|
3242
|
+
readonly appId: string;
|
|
3243
|
+
readonly updateId: string;
|
|
3244
|
+
readonly body: UpdateBipUpdateRequest;
|
|
3245
|
+
}): Promise<BipUpdate>;
|
|
3246
|
+
declare function deleteBipUpdate(context: TransportContext, input: {
|
|
3247
|
+
readonly bearer: string;
|
|
3248
|
+
readonly appId: string;
|
|
3249
|
+
readonly updateId: string;
|
|
3250
|
+
}): Promise<DeleteBipUpdateResponse>;
|
|
3251
|
+
declare function uploadBipUpdateMedia(context: TransportContext, input: {
|
|
3252
|
+
readonly bearer: string;
|
|
3253
|
+
readonly appId: string;
|
|
3254
|
+
readonly file: Blob;
|
|
3255
|
+
readonly filename: string;
|
|
3256
|
+
readonly contentType: string;
|
|
3257
|
+
}): Promise<BipUpdateMediaUploadResponse>;
|
|
3258
|
+
declare function getBipInterestCount(context: TransportContext, input: {
|
|
3259
|
+
readonly bearer?: string;
|
|
3260
|
+
readonly slug: string;
|
|
3261
|
+
}): Promise<BipInterestCountResponse>;
|
|
3262
|
+
declare function getMyBipEngagement(context: TransportContext, input: {
|
|
3263
|
+
readonly bearer: string;
|
|
3264
|
+
readonly slug: string;
|
|
3265
|
+
}): Promise<BipEngagementResponse>;
|
|
3266
|
+
declare function registerBipInterest(context: TransportContext, input: {
|
|
3267
|
+
readonly bearer: string;
|
|
3268
|
+
readonly slug: string;
|
|
3269
|
+
readonly interested: boolean;
|
|
3270
|
+
}): Promise<BipEngagementResponse>;
|
|
3271
|
+
declare function subscribeBipUpdates(context: TransportContext, input: {
|
|
3272
|
+
readonly bearer: string;
|
|
3273
|
+
readonly slug: string;
|
|
3274
|
+
readonly subscribed: boolean;
|
|
3275
|
+
}): Promise<BipEngagementResponse>;
|
|
3276
|
+
//#endregion
|
|
3277
|
+
//#region src/catalog/build-in-public.d.ts
|
|
3278
|
+
declare function getBipDirectory(context: TransportContext, input: {
|
|
3279
|
+
readonly bearer?: string;
|
|
3280
|
+
readonly genre?: string;
|
|
3281
|
+
readonly q?: string;
|
|
3282
|
+
readonly before?: string;
|
|
3283
|
+
readonly limit?: number;
|
|
3284
|
+
}): Promise<LibraryListResponse>;
|
|
3285
|
+
declare function getBipPage(context: TransportContext, input: {
|
|
3286
|
+
readonly bearer?: string;
|
|
3287
|
+
readonly slug: string;
|
|
3288
|
+
}): Promise<PublicBipPage>;
|
|
3289
|
+
//#endregion
|
|
2536
3290
|
//#region src/catalog/content-reports.d.ts
|
|
2537
3291
|
declare function submitAppContentReport(context: TransportContext, input: {
|
|
2538
3292
|
readonly appId: string;
|
|
@@ -2577,6 +3331,41 @@ declare function deleteMyGameReview(context: TransportContext, input: {
|
|
|
2577
3331
|
readonly slug: string;
|
|
2578
3332
|
readonly bearer: string;
|
|
2579
3333
|
}): Promise<MyReviewResponse>;
|
|
3334
|
+
declare function getMyGameReviewReactions(context: TransportContext, input: {
|
|
3335
|
+
readonly slug: string;
|
|
3336
|
+
readonly bearer: string;
|
|
3337
|
+
}): Promise<MyReviewReactionsResponse>;
|
|
3338
|
+
declare function setMyGameReviewReaction(context: TransportContext, input: {
|
|
3339
|
+
readonly slug: string;
|
|
3340
|
+
readonly reviewId: string;
|
|
3341
|
+
readonly bearer: string;
|
|
3342
|
+
readonly reaction: SetReviewReactionRequest;
|
|
3343
|
+
}): Promise<SetReviewReactionResponse>;
|
|
3344
|
+
declare function tipGameReview(context: TransportContext, input: {
|
|
3345
|
+
readonly slug: string;
|
|
3346
|
+
readonly reviewId: string;
|
|
3347
|
+
readonly bearer: string;
|
|
3348
|
+
readonly tip: TipReviewRequest;
|
|
3349
|
+
readonly idempotencyKey?: string;
|
|
3350
|
+
}): Promise<TipReviewResponse>;
|
|
3351
|
+
declare function listGameReviewComments(context: TransportContext, input: {
|
|
3352
|
+
readonly slug: string;
|
|
3353
|
+
readonly reviewId: string;
|
|
3354
|
+
readonly bearer?: string;
|
|
3355
|
+
readonly limit?: number;
|
|
3356
|
+
readonly offset?: number;
|
|
3357
|
+
}): Promise<ReviewCommentListResponse>;
|
|
3358
|
+
declare function commentOnGameReview(context: TransportContext, input: {
|
|
3359
|
+
readonly slug: string;
|
|
3360
|
+
readonly reviewId: string;
|
|
3361
|
+
readonly bearer: string;
|
|
3362
|
+
readonly comment: CreateReviewCommentRequest;
|
|
3363
|
+
}): Promise<CreateReviewCommentResponse>;
|
|
3364
|
+
declare function deleteGameReviewComment(context: TransportContext, input: {
|
|
3365
|
+
readonly slug: string;
|
|
3366
|
+
readonly commentId: string;
|
|
3367
|
+
readonly bearer: string;
|
|
3368
|
+
}): Promise<DeleteReviewCommentResponse>;
|
|
2580
3369
|
declare function replyToGameReview(context: TransportContext, input: {
|
|
2581
3370
|
readonly appId: string;
|
|
2582
3371
|
readonly reviewId: string;
|
|
@@ -2799,6 +3588,53 @@ declare function updateDeveloperAppContentReportStatus(context: TransportContext
|
|
|
2799
3588
|
readonly status: "acknowledged" | "dismissed";
|
|
2800
3589
|
}): Promise<AppContentReport>;
|
|
2801
3590
|
//#endregion
|
|
3591
|
+
//#region src/developer/inventory.d.ts
|
|
3592
|
+
declare function quoteDeveloperAppInventoryRegistration(context: TransportContext, input: {
|
|
3593
|
+
readonly bearer: string;
|
|
3594
|
+
readonly appId: string;
|
|
3595
|
+
readonly registration: InventoryItemRegistrationInput;
|
|
3596
|
+
}): Promise<InventoryRegistrationQuote>;
|
|
3597
|
+
declare function registerDeveloperAppInventoryItem(context: TransportContext, input: {
|
|
3598
|
+
readonly bearer: string;
|
|
3599
|
+
readonly appId: string;
|
|
3600
|
+
readonly registration: InventoryItemRegistrationInput;
|
|
3601
|
+
}): Promise<InventoryItemRegistrationResult>;
|
|
3602
|
+
declare function listDeveloperAppInventoryCollections(context: TransportContext, input: {
|
|
3603
|
+
readonly bearer: string;
|
|
3604
|
+
readonly appId: string;
|
|
3605
|
+
}): Promise<InventoryCollectionListResponse>;
|
|
3606
|
+
declare function listDeveloperAppInventoryItems(context: TransportContext, input: {
|
|
3607
|
+
readonly bearer: string;
|
|
3608
|
+
readonly appId: string;
|
|
3609
|
+
}): Promise<InventoryItemListResponse>;
|
|
3610
|
+
declare function createDeveloperAppMintPermit(context: TransportContext, input: {
|
|
3611
|
+
readonly bearer: string;
|
|
3612
|
+
readonly appId: string;
|
|
3613
|
+
readonly itemId: string;
|
|
3614
|
+
readonly grant: InventoryMintPermitCreateInput;
|
|
3615
|
+
}): Promise<InventoryMintPermitRecord>;
|
|
3616
|
+
declare function getDeveloperAppInventoryItemHolders(context: TransportContext, input: {
|
|
3617
|
+
readonly bearer: string;
|
|
3618
|
+
readonly appId: string;
|
|
3619
|
+
readonly itemId: string;
|
|
3620
|
+
}): Promise<InventoryItemHoldersResponse>;
|
|
3621
|
+
declare function uploadDeveloperAppInventoryItemImage(context: TransportContext, input: {
|
|
3622
|
+
readonly bearer: string;
|
|
3623
|
+
readonly appId: string;
|
|
3624
|
+
readonly itemId: string;
|
|
3625
|
+
readonly file: Blob | ArrayBufferView | ArrayBuffer;
|
|
3626
|
+
readonly filename: string;
|
|
3627
|
+
readonly contentType: string;
|
|
3628
|
+
}): Promise<InventoryItemRecord>;
|
|
3629
|
+
declare function uploadDeveloperAppInventoryItemBanner(context: TransportContext, input: {
|
|
3630
|
+
readonly bearer: string;
|
|
3631
|
+
readonly appId: string;
|
|
3632
|
+
readonly itemId: string;
|
|
3633
|
+
readonly file: Blob | ArrayBufferView | ArrayBuffer;
|
|
3634
|
+
readonly filename: string;
|
|
3635
|
+
readonly contentType: string;
|
|
3636
|
+
}): Promise<InventoryItemRecord>;
|
|
3637
|
+
//#endregion
|
|
2802
3638
|
//#region src/developer/pages.d.ts
|
|
2803
3639
|
declare function getDeveloperAppPage(context: TransportContext, input: {
|
|
2804
3640
|
readonly bearer: string;
|
|
@@ -2857,6 +3693,19 @@ declare function unpublishAppPage(context: TransportContext, input: {
|
|
|
2857
3693
|
readonly bearer: string;
|
|
2858
3694
|
readonly appId: string;
|
|
2859
3695
|
}): Promise<AppPageDraft>;
|
|
3696
|
+
declare function setAppPageBip(context: TransportContext, input: {
|
|
3697
|
+
readonly bearer: string;
|
|
3698
|
+
readonly appId: string;
|
|
3699
|
+
readonly body: AppPageBipToggle;
|
|
3700
|
+
}): Promise<AppPageDraft>;
|
|
3701
|
+
declare function submitAppPageBipForReview(context: TransportContext, input: {
|
|
3702
|
+
readonly bearer: string;
|
|
3703
|
+
readonly appId: string;
|
|
3704
|
+
}): Promise<AppPageDraft>;
|
|
3705
|
+
declare function unpublishAppPageBip(context: TransportContext, input: {
|
|
3706
|
+
readonly bearer: string;
|
|
3707
|
+
readonly appId: string;
|
|
3708
|
+
}): Promise<AppPageDraft>;
|
|
2860
3709
|
//#endregion
|
|
2861
3710
|
//#region src/developer/participants.d.ts
|
|
2862
3711
|
declare function listDeveloperAppParticipants(context: TransportContext, input: {
|
|
@@ -2923,6 +3772,20 @@ declare function uploadMultipart(context: TransportContext, input: {
|
|
|
2923
3772
|
readonly contentType: string;
|
|
2924
3773
|
}): Promise<unknown>;
|
|
2925
3774
|
//#endregion
|
|
3775
|
+
//#region src/developer/vault.d.ts
|
|
3776
|
+
declare function createDeveloperVaultPermit(context: TransportContext, input: {
|
|
3777
|
+
readonly bearer: string;
|
|
3778
|
+
readonly appId: string;
|
|
3779
|
+
readonly itemId: string;
|
|
3780
|
+
readonly grant: InventoryVaultPermitCreateInput;
|
|
3781
|
+
}): Promise<InventoryVaultPermitRecord>;
|
|
3782
|
+
declare function createDeveloperWithdrawPermit(context: TransportContext, input: {
|
|
3783
|
+
readonly bearer: string;
|
|
3784
|
+
readonly appId: string;
|
|
3785
|
+
readonly itemId: string;
|
|
3786
|
+
readonly grant: InventoryWithdrawPermitCreateInput;
|
|
3787
|
+
}): Promise<InventoryVaultPermitRecord>;
|
|
3788
|
+
//#endregion
|
|
2926
3789
|
//#region src/inventory/list.d.ts
|
|
2927
3790
|
declare function listInventory(context: TransportContext, input: {
|
|
2928
3791
|
readonly bearer: string;
|
|
@@ -2931,12 +3794,55 @@ declare function listInventoryForApp(context: TransportContext, input: {
|
|
|
2931
3794
|
readonly bearer: string;
|
|
2932
3795
|
}): Promise<InventoryListResponse>;
|
|
2933
3796
|
//#endregion
|
|
3797
|
+
//#region src/inventory/nft-transfer.d.ts
|
|
3798
|
+
declare function quoteNftTransfer(context: TransportContext, input: {
|
|
3799
|
+
readonly bearer: string;
|
|
3800
|
+
readonly body: InventoryNftTransferQuoteRequest;
|
|
3801
|
+
}): Promise<InventoryNftTransferQuoteResponse>;
|
|
3802
|
+
declare function executeNftTransfer(context: TransportContext, input: {
|
|
3803
|
+
readonly bearer: string;
|
|
3804
|
+
readonly body: InventoryNftTransferRequest;
|
|
3805
|
+
}): Promise<InventoryNftTransferResponse>;
|
|
3806
|
+
//#endregion
|
|
3807
|
+
//#region src/inventory/permits.d.ts
|
|
3808
|
+
declare function listInventoryMintPermits(context: TransportContext, input: {
|
|
3809
|
+
readonly bearer: string;
|
|
3810
|
+
}): Promise<InventoryPendingPermitListResponse>;
|
|
3811
|
+
declare function redeemInventoryMintPermit(context: TransportContext, input: {
|
|
3812
|
+
readonly bearer: string;
|
|
3813
|
+
readonly permitId: string;
|
|
3814
|
+
}): Promise<InventoryPermitRedeemResult>;
|
|
3815
|
+
//#endregion
|
|
2934
3816
|
//#region src/inventory/request-mint.d.ts
|
|
2935
3817
|
declare function requestMint(context: TransportContext, input: {
|
|
2936
3818
|
readonly appBearer: string;
|
|
2937
3819
|
readonly body: MintRequestInput;
|
|
2938
3820
|
}): Promise<MintRequestResult>;
|
|
2939
3821
|
//#endregion
|
|
3822
|
+
//#region src/inventory/vault.d.ts
|
|
3823
|
+
declare function listInventoryVaultPermits(context: TransportContext, input: {
|
|
3824
|
+
readonly bearer: string;
|
|
3825
|
+
}): Promise<InventoryPendingVaultPermitListResponse>;
|
|
3826
|
+
declare function signInventoryVaultPermit(context: TransportContext, input: {
|
|
3827
|
+
readonly bearer: string;
|
|
3828
|
+
readonly permitId: string;
|
|
3829
|
+
}): Promise<InventorySignedVaultPermit>;
|
|
3830
|
+
declare function quoteRelayedVaultPermit(context: TransportContext, input: {
|
|
3831
|
+
readonly bearer: string;
|
|
3832
|
+
readonly permitId: string;
|
|
3833
|
+
}): Promise<InventoryRelayedVaultQuoteResponse>;
|
|
3834
|
+
declare function submitRelayedVaultPermit(context: TransportContext, input: {
|
|
3835
|
+
readonly bearer: string;
|
|
3836
|
+
readonly permitId: string;
|
|
3837
|
+
readonly body: InventoryRelayedVaultSubmitRequest;
|
|
3838
|
+
}): Promise<InventoryRelayedVaultSubmitResponse>;
|
|
3839
|
+
declare function listInventoryVaulted(context: TransportContext, input: {
|
|
3840
|
+
readonly bearer: string;
|
|
3841
|
+
}): Promise<InventoryVaultCustodyListResponse>;
|
|
3842
|
+
declare function listOauthInventoryVaulted(context: TransportContext, input: {
|
|
3843
|
+
readonly bearer: string;
|
|
3844
|
+
}): Promise<InventoryVaultCustodyListResponse>;
|
|
3845
|
+
//#endregion
|
|
2940
3846
|
//#region src/messaging/dm-key-backup.d.ts
|
|
2941
3847
|
declare function getDmKeyBackupStatus(context: TransportContext, input: {
|
|
2942
3848
|
readonly bearer: string;
|
|
@@ -3213,6 +4119,22 @@ declare function createTronDeposit(context: TransportContext, input: {
|
|
|
3213
4119
|
readonly bearer: string;
|
|
3214
4120
|
readonly body: TronDepositRequest;
|
|
3215
4121
|
}): Promise<TronDepositResponse>;
|
|
4122
|
+
declare function createTronTransfer(context: TransportContext, input: {
|
|
4123
|
+
readonly bearer: string;
|
|
4124
|
+
readonly body: TronTransferRequest;
|
|
4125
|
+
readonly idempotencyKey?: string;
|
|
4126
|
+
}): Promise<TronTransferResponse>;
|
|
4127
|
+
declare function getTronSecurity(context: TransportContext, input: {
|
|
4128
|
+
readonly bearer: string;
|
|
4129
|
+
}): Promise<TronSecuritySetting>;
|
|
4130
|
+
declare function setTronSecurity(context: TransportContext, input: {
|
|
4131
|
+
readonly bearer: string;
|
|
4132
|
+
readonly setting: TronSecuritySetting;
|
|
4133
|
+
}): Promise<TronSecuritySetting>;
|
|
4134
|
+
declare function createTronTransferChallenge(context: TransportContext, input: {
|
|
4135
|
+
readonly bearer: string;
|
|
4136
|
+
readonly body: TronTransferChallengeRequest;
|
|
4137
|
+
}): Promise<TronTransferChallengeResponse>;
|
|
3216
4138
|
declare function createTronConnectOnboarding(context: TransportContext, input: {
|
|
3217
4139
|
readonly bearer: string;
|
|
3218
4140
|
}): Promise<TronConnectOnboardingResponse>;
|
|
@@ -3349,6 +4271,10 @@ declare function sendFriendRequest(context: TransportContext, input: {
|
|
|
3349
4271
|
readonly bearer: string;
|
|
3350
4272
|
readonly userId: string;
|
|
3351
4273
|
}): Promise<void>;
|
|
4274
|
+
declare function removeFriend(context: TransportContext, input: {
|
|
4275
|
+
readonly bearer: string;
|
|
4276
|
+
readonly userId: string;
|
|
4277
|
+
}): Promise<void>;
|
|
3352
4278
|
declare function decideFriendRequest(context: TransportContext, input: {
|
|
3353
4279
|
readonly bearer: string;
|
|
3354
4280
|
readonly requestId: string;
|
|
@@ -3361,6 +4287,9 @@ declare function cancelFriendRequest(context: TransportContext, input: {
|
|
|
3361
4287
|
declare function listFriends(context: TransportContext, input: {
|
|
3362
4288
|
readonly bearer: string;
|
|
3363
4289
|
}): Promise<FriendListResponse>;
|
|
4290
|
+
declare function listFriendsForApp(context: TransportContext, input: {
|
|
4291
|
+
readonly bearer: string;
|
|
4292
|
+
}): Promise<AppFriendListResponse>;
|
|
3364
4293
|
//#endregion
|
|
3365
4294
|
//#region src/reads/socials.d.ts
|
|
3366
4295
|
declare function listSocials(context: TransportContext, input: {
|
|
@@ -3652,4 +4581,4 @@ type CookieTokenStoreOptions = {
|
|
|
3652
4581
|
};
|
|
3653
4582
|
declare function createCookieTokenStore(options?: CookieTokenStoreOptions): TokenStore;
|
|
3654
4583
|
//#endregion
|
|
3655
|
-
export { AuthorizeUrl, type BrowserClientConfig, BuildAuthorizeUrlInput, ChargeResult, CookieTokenStoreOptions, type FetchLike, InflightDedup, type Logger, MountPresenceWidgetOptions, NOOP_RATE_LIMITER, OauthErrorCode, OauthPaymentWebhookBody, type OauthScope, PkcePair, PresenceStatus, PresenceWidgetHandle, RateLimitOptions, RateLimiter, SERVER_RATE_LIMIT_MAX_MUTATING, SERVER_RATE_LIMIT_MAX_READ, SERVER_RATE_LIMIT_WINDOW_MS, type SdkBaseConfig, TRON_WS_CLOSE_CODES, type TokenSet, type TokenStore, TronBrowserClient, TronError, TronOauthError, TronWsCloseCode, TronWsCloseError, VerifyWebhookFailure, VerifyWebhookInput, VerifyWebhookResult, VerifyWebhookSuccess, WEBHOOK_SIGNATURE_HEADER, WEBHOOK_TIMESTAMP_HEADER, acceptDeveloperInvite, addAdmin, addAppealBlacklist, addReaction, approveTronCashout, batchThreadDmKeys, bindReferral, buildAuthorizeUrl, cancelFriendRequest, charge, completePaymentIntent, consolidateDeveloperAppWallet, createConsoleLogger, createCookieTokenStore, createDelegation, createDeveloperApiKey, createDeveloperApp, createDirectThread, createInMemoryTokenStore, createInflightDedup, createNoopLogger, createRateLimiter, createReferralCode, createTronCashout, createTronConnectOnboarding, createTronDeposit, decideFriendRequest, declineDeveloperInvite, defaultEndpoints, deleteAppPageBanner, deleteAppPageThumbnail, deleteAppPageThumbnailVideo, deleteAvatar, deleteDelegation, deleteDeveloperApp, deleteDeveloperAppLogo, deleteDeveloperProfileLogo, deleteDeveloperRequestLogo, deleteGameReviewReply, deleteMessage, deleteMyGameReview, deleteThread, deleteThreadLogo, denyPaymentIntent, editMessage, exchangeAuthorizationCode, fetchAuthorizationServerMetadata, fetchUserInfo, fileAppeal, fileAppealPotLeg, followUser, generatePkce, generateState, getActivity, getActivityGroup, getAdminAppealRoom, getAppFeeConfig, getAppPage, getAppPageChanges, getAppealRoom, getDelegation, getDeveloperAppActivity, getDeveloperAppBalances, getDeveloperAppEarnings, getDeveloperAppOverview, getDeveloperAppPage, getDeveloperAppPlaytime, getDeveloperAppTronBalance, getDeveloperAppWallets, getDeveloperPaymentAppeals, getDeveloperPaymentPendingDeposits, getDeveloperStatus, getDeveloperTronBalanceSummary, getDmKeyBackupStatus, getEarningsTimeseries, getIntentStatus, getLibrary, getMeStats, getMoonpayAvailability, getMyDmKey, getMyGameReview, getOutstanding, getPaymentChains, getPaymentHistory, getPaymentIntent, getPaymentLimits, getPaymentPrice, getPlatformFees, getPlaytime, getPlaytimeTimeseries, getPublicProfile, getReferral, getThreadDmKey, getTronBalance, hideAppPage, hideThread, inviteDeveloperAppParticipant, inviteParticipants, leaveThread, listActivePlayers, listAdmins, listAppPages, listAppealBlacklist, listAppealQueue, listAudit, listDeveloperApiKeys, listDeveloperAppContentReports, listDeveloperAppParticipants, listDeveloperAppReviews, listDeveloperInvites, listDeveloperRequests, listDevelopers, listFriends, listGameReviews, listInventory, listInventoryForApp, listNotifications, listPaymentAuthorizations, listSocials, listThreadMessages, listThreads, listTronCashoutQueue, listTronCashouts, listTronLedger, listUsers, listWalletManager, listWallets, markAllNotificationsRead, markThreadRead, mintMoonpayBuyUrl, mintMoonpaySellUrl, mountPresenceWidget, oauthPaymentWebhookBodySchema, pinThread, postAdminAppealRoomMessage, postAppealRoomMessage, previewReferral, provisionDeveloperAppWallet, publishDmKey, refreshAccessToken, rejectTronCashout, removeAdmin, removeAppealBlacklist, removeParticipant, removeReaction, replyToGameReview, requestDeveloperAppProduction, requestMint, resolveAppeal, reviewAppPage, reviewAppPageChanges, reviewDeveloperRequest, revokeDeveloperApiKey, revokeDeveloperAppParticipant, revokePaymentAuthorization, revokeToken, rotateDeveloperAppKey, rotateDeveloperAppPaymentWebhookSecret, rotateProcessorTreasury, searchGiphy, searchUsers, sendFriendRequest, sendMessage, sendPresenceHeartbeat, setProcessorWhitelist, setVaultOperator, setVaultPause, setVaultWithdrawLockDefault, setVaultWithdrawLockOverride, setupDmKeyBackup, sha256Base64Url, signPaymentIntent, submitAppContentReport, submitAppPageForReview, submitDeveloperRequest, toTokenSet, unfollowUser, unhideAppPage, unlockDmKeyBackup, unpinThread, unpublishAppPage, updateAdminRole, updateAppFeeConfig, updateAppPage, updateDeveloperApp, updateDeveloperAppAutoSweep, updateDeveloperAppContentReportStatus, updateDeveloperProfile, updateNotification, updateParticipantRole, updatePaymentAuthorization, updatePlatformFees, updateProfile, updateThreadSettings, updateUserBan, updateWalletLabel, uploadAdminAppealRoomAttachment, uploadAppPageBanner, uploadAppPageGallery, uploadAppPageThumbnail, uploadAppPageThumbnailVideo, uploadAppealRoomAttachment, uploadAttachment, uploadAvatar, uploadDeveloperAppLogo, uploadDeveloperProfileLogo, uploadDeveloperRequestLogo, uploadMultipart, uploadThreadLogo, upsertMyGameReview, verifyWebhook, withdrawDeveloperAppWallet };
|
|
4584
|
+
export { AuthorizeUrl, type BrowserClientConfig, BuildAuthorizeUrlInput, ChargeResult, CookieTokenStoreOptions, type FetchLike, InflightDedup, type Logger, MountPresenceWidgetOptions, NOOP_RATE_LIMITER, OauthErrorCode, OauthPaymentWebhookBody, type OauthScope, PkcePair, PresenceStatus, PresenceWidgetHandle, RateLimitOptions, RateLimiter, SERVER_RATE_LIMIT_MAX_MUTATING, SERVER_RATE_LIMIT_MAX_READ, SERVER_RATE_LIMIT_WINDOW_MS, type SdkBaseConfig, TRON_WS_CLOSE_CODES, type TokenSet, type TokenStore, TronBrowserClient, TronError, TronOauthError, TronWsCloseCode, TronWsCloseError, VerifyWebhookFailure, VerifyWebhookInput, VerifyWebhookResult, VerifyWebhookSuccess, WEBHOOK_SIGNATURE_HEADER, WEBHOOK_TIMESTAMP_HEADER, acceptDeveloperInvite, addAdmin, addAppealBlacklist, addReaction, approveTronCashout, batchThreadDmKeys, bindReferral, buildAuthorizeUrl, cancelFriendRequest, charge, commentOnBipUpdate, commentOnGameReview, completePaymentIntent, consolidateDeveloperAppWallet, createBipUpdate, createConsoleLogger, createCookieTokenStore, createDelegation, createDeveloperApiKey, createDeveloperApp, createDeveloperAppMintPermit, createDeveloperVaultPermit, createDeveloperWithdrawPermit, createDirectThread, createInMemoryTokenStore, createInflightDedup, createNoopLogger, createRateLimiter, createReferralCode, createTronCashout, createTronConnectOnboarding, createTronDeposit, createTronTransfer, createTronTransferChallenge, decideFriendRequest, declineDeveloperInvite, defaultEndpoints, deleteAppPageBanner, deleteAppPageThumbnail, deleteAppPageThumbnailVideo, deleteAvatar, deleteBipUpdate, deleteBipUpdateComment, deleteDelegation, deleteDeveloperApp, deleteDeveloperAppLogo, deleteDeveloperProfileLogo, deleteDeveloperRequestLogo, deleteGameReviewComment, deleteGameReviewReply, deleteMessage, deleteMyGameReview, deleteThread, deleteThreadLogo, denyPaymentIntent, editMessage, exchangeAuthorizationCode, executeNftTransfer, fetchAuthorizationServerMetadata, fetchUserInfo, fileAppeal, fileAppealPotLeg, followUser, forceWithdrawVaultCustody, generatePkce, generateState, getActivity, getActivityGroup, getAdminAppealRoom, getAppFeeConfig, getAppPage, getAppPageChanges, getAppealRoom, getBipDirectory, getBipInterestCount, getBipPage, getDelegation, getDeveloperAppActivity, getDeveloperAppBalances, getDeveloperAppEarnings, getDeveloperAppInventoryItemHolders, getDeveloperAppOverview, getDeveloperAppPage, getDeveloperAppPlaytime, getDeveloperAppTronBalance, getDeveloperAppWallets, getDeveloperPaymentAppeals, getDeveloperPaymentPendingDeposits, getDeveloperStatus, getDeveloperTronBalanceSummary, getDmKeyBackupStatus, getEarningsTimeseries, getIntentStatus, getLibrary, getMeStats, getMoonpayAvailability, getMyBipEngagement, getMyBipUpdateReactions, getMyDmKey, getMyGameReview, getMyGameReviewReactions, getOutstanding, getPaymentChains, getPaymentHistory, getPaymentIntent, getPaymentLimits, getPaymentPrice, getPlatformFees, getPlaytime, getPlaytimeTimeseries, getPublicProfile, getReferral, getThreadDmKey, getTronBalance, getTronSecurity, hideAppPage, hideAppPageBip, hideThread, 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, mintMoonpayBuyUrl, mintMoonpaySellUrl, mountPresenceWidget, oauthPaymentWebhookBodySchema, pinThread, postAdminAppealRoomMessage, postAppealRoomMessage, previewReferral, provisionDeveloperAppWallet, publishDmKey, quoteDeveloperAppInventoryRegistration, quoteNftTransfer, quoteRelayedVaultPermit, redeemInventoryMintPermit, refreshAccessToken, registerBipInterest, registerDeveloperAppInventoryItem, rejectTronCashout, removeAdmin, removeAppealBlacklist, removeFriend, removeParticipant, removeReaction, replyToGameReview, requestDeveloperAppProduction, requestMint, resolveAppeal, reviewAppPage, reviewAppPageBip, reviewAppPageChanges, reviewDeveloperRequest, revokeDeveloperApiKey, revokeDeveloperAppParticipant, revokePaymentAuthorization, revokeToken, rotateDeveloperAppKey, rotateDeveloperAppPaymentWebhookSecret, rotateProcessorTreasury, searchGiphy, searchUsers, sendFriendRequest, sendMessage, sendPresenceHeartbeat, setAppPageBip, setBipUpdateReaction, setMyGameReviewReaction, setProcessorWhitelist, setTronSecurity, setVaultOperator, setVaultPause, setVaultWithdrawLockDefault, setVaultWithdrawLockOverride, setupDmKeyBackup, sha256Base64Url, signInventoryVaultPermit, signPaymentIntent, 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 };
|