@metatrongg/sdk 0.8.0-dev.b082f17 → 0.8.0-dev.b8ab51a
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 +1087 -32
- package/dist/browser/index.js +1 -1
- package/dist/contracts/index.d.ts +12700 -4379
- package/dist/contracts/index.js +1 -1
- package/dist/index.js +1 -1
- package/dist/node/index.d.ts +1167 -57
- package/dist/node/index.js +1 -1
- package/dist/webhook/express.js +1 -1
- package/dist/webhook/fastify.js +1 -1
- package/dist/webhook/hono.js +1 -1
- package/dist/webhook/index.js +1 -1
- package/package.json +4 -3
package/dist/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,7 +248,16 @@ type OauthPaymentIntentContext = {
|
|
|
246
248
|
studioXHandle: string | null;
|
|
247
249
|
};
|
|
248
250
|
} | null;
|
|
251
|
+
environment: "development" | "production";
|
|
252
|
+
onramp?: {
|
|
253
|
+
kind: "bridge";
|
|
254
|
+
from: PaymentNetwork;
|
|
255
|
+
to: PaymentNetwork;
|
|
256
|
+
} | {
|
|
257
|
+
kind: "insufficient";
|
|
258
|
+
};
|
|
249
259
|
};
|
|
260
|
+
type PaymentNetwork = "ethereum" | "base" | "solana";
|
|
250
261
|
type OauthPaymentIntentSignResponse = {
|
|
251
262
|
chain: string;
|
|
252
263
|
chainId: number;
|
|
@@ -276,6 +287,13 @@ type OauthPaymentIntentCompleteSigned = {
|
|
|
276
287
|
type OauthPaymentIntentCompleteOffline = {
|
|
277
288
|
method: "offline";
|
|
278
289
|
};
|
|
290
|
+
type OauthPaymentIntentSolanaPrepareResponse = {
|
|
291
|
+
transaction: string;
|
|
292
|
+
payer: string;
|
|
293
|
+
};
|
|
294
|
+
type OauthPaymentIntentSolanaCompleteRequest = {
|
|
295
|
+
signedTransaction: string;
|
|
296
|
+
};
|
|
279
297
|
type ListAppPaymentAuthorizationsResponse = {
|
|
280
298
|
authorizations: Array<AppPaymentAuthorizationItem>;
|
|
281
299
|
};
|
|
@@ -334,9 +352,17 @@ type PublicAppPage = {
|
|
|
334
352
|
chapters: AppPageChapters;
|
|
335
353
|
links: AppPageLinks;
|
|
336
354
|
studio: PublicAppPageStudio;
|
|
355
|
+
platforms: AppPagePlatforms;
|
|
356
|
+
gameType: AppPageGameType;
|
|
357
|
+
ageRating: AppPageAgeRating;
|
|
358
|
+
languages: AppPageLanguages;
|
|
359
|
+
releaseStatus: AppPageReleaseStatus;
|
|
360
|
+
paymentsMode: AppPagePaymentsMode;
|
|
337
361
|
oauthScopes: Array<string>;
|
|
338
362
|
chains: Array<string>;
|
|
363
|
+
devlog: boolean;
|
|
339
364
|
publishedAt: string;
|
|
365
|
+
updatedAt: string;
|
|
340
366
|
};
|
|
341
367
|
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
368
|
type AppPageTagline = string;
|
|
@@ -359,12 +385,134 @@ type AppPageLink = {
|
|
|
359
385
|
order: number;
|
|
360
386
|
};
|
|
361
387
|
type PublicAppPageStudio = {
|
|
388
|
+
ownerUserId: string | null;
|
|
362
389
|
name: string | null;
|
|
363
390
|
logoUrl: string | null;
|
|
364
391
|
websiteUrl: string | null;
|
|
365
392
|
xHandle: string | null;
|
|
366
393
|
githubUrl: string | null;
|
|
367
394
|
};
|
|
395
|
+
type AppPagePlatforms = Array<"web" | "ios" | "android" | "pc" | "playstation" | "xbox" | "switch">;
|
|
396
|
+
type AppPageGameType = "single_player" | "multiplayer" | "both" | null;
|
|
397
|
+
type AppPageAgeRating = "everyone" | "13_plus" | "16_plus" | "18_plus" | null;
|
|
398
|
+
type AppPageLanguages = Array<"en" | "es" | "fr" | "de" | "pt" | "it" | "ru" | "ja" | "ko" | "zh" | "hi" | "ar" | "tr" | "vi" | "id" | "th" | "pl" | "nl">;
|
|
399
|
+
type AppPageReleaseStatus = "live" | "open_beta" | "coming_soon";
|
|
400
|
+
type AppPagePaymentsMode = "tron" | "onchain" | "both" | null;
|
|
401
|
+
type PublicBipPage = {
|
|
402
|
+
appId: string;
|
|
403
|
+
slug: AppPageSlug;
|
|
404
|
+
appName: string;
|
|
405
|
+
appLogoUrl: string | null;
|
|
406
|
+
categories: AppPageCategories;
|
|
407
|
+
tagline: AppPageTagline;
|
|
408
|
+
bannerUrl: string | null;
|
|
409
|
+
discordUrl: string | null;
|
|
410
|
+
twitterUrl: string | null;
|
|
411
|
+
redditUrl: string | null;
|
|
412
|
+
telegramUrl: string | null;
|
|
413
|
+
gallery: AppPageGallery;
|
|
414
|
+
chapters: AppPageChapters;
|
|
415
|
+
links: AppPageLinks;
|
|
416
|
+
studio: PublicAppPageStudio;
|
|
417
|
+
platforms: AppPagePlatforms;
|
|
418
|
+
gameType: AppPageGameType;
|
|
419
|
+
ageRating: AppPageAgeRating;
|
|
420
|
+
languages: AppPageLanguages;
|
|
421
|
+
releaseStatus: AppPageReleaseStatus;
|
|
422
|
+
publishedAt: string;
|
|
423
|
+
updatedAt: string;
|
|
424
|
+
};
|
|
425
|
+
type BipUpdateListResponse = {
|
|
426
|
+
updates: Array<BipUpdate>;
|
|
427
|
+
total: number;
|
|
428
|
+
hasMore: boolean;
|
|
429
|
+
pinned: BipUpdate | null;
|
|
430
|
+
};
|
|
431
|
+
type BipUpdate = {
|
|
432
|
+
id: string;
|
|
433
|
+
appId: string;
|
|
434
|
+
body: BipUpdateBody;
|
|
435
|
+
attachments: BipUpdateAttachments;
|
|
436
|
+
reactions: BipUpdateReactionCounts;
|
|
437
|
+
commentCount: number;
|
|
438
|
+
createdAt: string;
|
|
439
|
+
updatedAt: string;
|
|
440
|
+
pinnedAt: string | null;
|
|
441
|
+
};
|
|
442
|
+
type BipUpdateBody = string;
|
|
443
|
+
type BipUpdateAttachments = Array<BipUpdateAttachment>;
|
|
444
|
+
type BipUpdateAttachment = {
|
|
445
|
+
url: string;
|
|
446
|
+
kind: "image" | "video";
|
|
447
|
+
order: number;
|
|
448
|
+
};
|
|
449
|
+
type BipUpdateReactionCounts = {
|
|
450
|
+
up: number;
|
|
451
|
+
down: number;
|
|
452
|
+
};
|
|
453
|
+
type BipUpdateCommentListResponse = {
|
|
454
|
+
comments: Array<BipUpdateComment>;
|
|
455
|
+
total: number;
|
|
456
|
+
hasMore: boolean;
|
|
457
|
+
};
|
|
458
|
+
type BipUpdateComment = {
|
|
459
|
+
id: string;
|
|
460
|
+
body: BipUpdateCommentBody;
|
|
461
|
+
author: ReviewAuthor;
|
|
462
|
+
createdAt: string;
|
|
463
|
+
};
|
|
464
|
+
type BipUpdateCommentBody = string;
|
|
465
|
+
type ReviewAuthor = {
|
|
466
|
+
userId: string;
|
|
467
|
+
handle: string | null;
|
|
468
|
+
name: string | null;
|
|
469
|
+
avatarUrl: string | null;
|
|
470
|
+
};
|
|
471
|
+
type BipInterestCountResponse = {
|
|
472
|
+
interestCount: number;
|
|
473
|
+
};
|
|
474
|
+
type BipEngagementResponse = {
|
|
475
|
+
interested: boolean;
|
|
476
|
+
subscribed: boolean;
|
|
477
|
+
interestCount: number;
|
|
478
|
+
};
|
|
479
|
+
type MyBipUpdateReactionsResponse = {
|
|
480
|
+
reactions: Array<MyBipUpdateReaction>;
|
|
481
|
+
};
|
|
482
|
+
type MyBipUpdateReaction = {
|
|
483
|
+
updateId: string;
|
|
484
|
+
vote: "up" | "down";
|
|
485
|
+
};
|
|
486
|
+
type SetBipUpdateReactionResponse = {
|
|
487
|
+
reactions: BipUpdateReactionCounts;
|
|
488
|
+
vote: BipUpdateVote;
|
|
489
|
+
};
|
|
490
|
+
type BipUpdateVote = "up" | "down" | null;
|
|
491
|
+
type SetBipUpdateReactionRequest = {
|
|
492
|
+
vote: BipUpdateVote;
|
|
493
|
+
};
|
|
494
|
+
type CreateBipUpdateCommentResponse = {
|
|
495
|
+
comment: BipUpdateComment;
|
|
496
|
+
commentCount: number;
|
|
497
|
+
};
|
|
498
|
+
type DeleteBipUpdateCommentResponse = {
|
|
499
|
+
commentCount: number;
|
|
500
|
+
};
|
|
501
|
+
type CreateBipUpdateRequest = {
|
|
502
|
+
body: BipUpdateBody;
|
|
503
|
+
attachments?: BipUpdateAttachments;
|
|
504
|
+
};
|
|
505
|
+
type UpdateBipUpdateRequest = {
|
|
506
|
+
body?: BipUpdateBody;
|
|
507
|
+
attachments?: BipUpdateAttachments;
|
|
508
|
+
};
|
|
509
|
+
type DeleteBipUpdateResponse = {
|
|
510
|
+
deleted: true;
|
|
511
|
+
};
|
|
512
|
+
type BipUpdateMediaUploadResponse = {
|
|
513
|
+
url: string;
|
|
514
|
+
kind: "image" | "video";
|
|
515
|
+
};
|
|
368
516
|
type ReviewListResponse = {
|
|
369
517
|
aggregate: ReviewAggregate;
|
|
370
518
|
reviews: Array<Review>;
|
|
@@ -372,38 +520,43 @@ type ReviewListResponse = {
|
|
|
372
520
|
hasMore: boolean;
|
|
373
521
|
};
|
|
374
522
|
type ReviewAggregate = {
|
|
375
|
-
average: number | null;
|
|
376
523
|
count: number;
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
1: number;
|
|
381
|
-
2: number;
|
|
382
|
-
3: number;
|
|
383
|
-
4: number;
|
|
384
|
-
5: number;
|
|
524
|
+
recommendedCount: number;
|
|
525
|
+
recommendedPct: number | null;
|
|
526
|
+
summaryLabel: ReviewSummaryLabel;
|
|
385
527
|
};
|
|
528
|
+
type ReviewSummaryLabel = "overwhelmingly_positive" | "very_positive" | "positive" | "mostly_positive" | "mixed" | "mostly_negative" | "negative" | "overwhelmingly_negative" | null;
|
|
386
529
|
type Review = {
|
|
387
530
|
id: string;
|
|
388
|
-
|
|
531
|
+
recommended: ReviewRecommended;
|
|
389
532
|
body: ReviewBody;
|
|
533
|
+
reactions: ReviewReactionCounts;
|
|
534
|
+
tippedCents: number;
|
|
535
|
+
commentCount: number;
|
|
390
536
|
author: ReviewAuthor;
|
|
537
|
+
authorStats: ReviewerStats;
|
|
391
538
|
developerReply: ReviewReply;
|
|
392
539
|
createdAt: string;
|
|
393
540
|
updatedAt: string;
|
|
394
541
|
};
|
|
395
|
-
type
|
|
542
|
+
type ReviewRecommended = boolean;
|
|
396
543
|
type ReviewBody = string;
|
|
397
|
-
type
|
|
398
|
-
|
|
399
|
-
|
|
544
|
+
type ReviewReactionCounts = {
|
|
545
|
+
helpful: number;
|
|
546
|
+
unhelpful: number;
|
|
547
|
+
funny: number;
|
|
548
|
+
};
|
|
549
|
+
type ReviewerStats = {
|
|
550
|
+
playtimeSecondsThisGame: number;
|
|
551
|
+
gamesPlayed: number;
|
|
552
|
+
reviewsWritten: number;
|
|
400
553
|
};
|
|
401
554
|
type ReviewReply = {
|
|
402
555
|
body: ReviewReplyBody;
|
|
403
556
|
repliedAt: string;
|
|
404
557
|
} | null;
|
|
405
558
|
type ReviewReplyBody = string;
|
|
406
|
-
type ReviewSort = "newest" | "oldest" | "
|
|
559
|
+
type ReviewSort = "newest" | "oldest" | "helpful";
|
|
407
560
|
type MyReviewResponse = {
|
|
408
561
|
eligible: boolean;
|
|
409
562
|
eligibleVia: ReviewEligibilityReason;
|
|
@@ -413,15 +566,67 @@ type MyReviewResponse = {
|
|
|
413
566
|
type ReviewEligibilityReason = "payment" | "reward" | null;
|
|
414
567
|
type OwnReview = {
|
|
415
568
|
id: string;
|
|
416
|
-
|
|
569
|
+
recommended: ReviewRecommended;
|
|
417
570
|
body: ReviewBody;
|
|
418
571
|
createdAt: string;
|
|
419
572
|
updatedAt: string;
|
|
420
573
|
} | null;
|
|
421
574
|
type UpsertReviewRequest = {
|
|
422
|
-
|
|
575
|
+
recommended: ReviewRecommended;
|
|
423
576
|
body: ReviewBody;
|
|
424
577
|
};
|
|
578
|
+
type MyReviewReactionsResponse = {
|
|
579
|
+
reactions: Array<MyReviewReaction>;
|
|
580
|
+
};
|
|
581
|
+
type MyReviewReaction = {
|
|
582
|
+
reviewId: string;
|
|
583
|
+
vote: ReviewVote;
|
|
584
|
+
funny: boolean;
|
|
585
|
+
};
|
|
586
|
+
type ReviewVote = "helpful" | "unhelpful" | null;
|
|
587
|
+
type SetReviewReactionResponse = {
|
|
588
|
+
reactions: ReviewReactionCounts;
|
|
589
|
+
vote: ReviewVote;
|
|
590
|
+
funny: boolean;
|
|
591
|
+
};
|
|
592
|
+
type SetReviewReactionRequest = {
|
|
593
|
+
vote: ReviewVote;
|
|
594
|
+
funny: boolean;
|
|
595
|
+
};
|
|
596
|
+
type TipReviewResponse = {
|
|
597
|
+
status: "completed";
|
|
598
|
+
amountCents: number;
|
|
599
|
+
balanceCents: number;
|
|
600
|
+
tippedCents: number;
|
|
601
|
+
};
|
|
602
|
+
type TipReviewRequest = {
|
|
603
|
+
amountCents: number;
|
|
604
|
+
note?: string;
|
|
605
|
+
challengeId?: string;
|
|
606
|
+
signature?: string;
|
|
607
|
+
};
|
|
608
|
+
type ReviewCommentListResponse = {
|
|
609
|
+
comments: Array<ReviewComment>;
|
|
610
|
+
total: number;
|
|
611
|
+
hasMore: boolean;
|
|
612
|
+
};
|
|
613
|
+
type ReviewComment = {
|
|
614
|
+
id: string;
|
|
615
|
+
body: ReviewCommentBody;
|
|
616
|
+
author: ReviewAuthor;
|
|
617
|
+
createdAt: string;
|
|
618
|
+
};
|
|
619
|
+
type ReviewCommentBody = string;
|
|
620
|
+
type CreateReviewCommentResponse = {
|
|
621
|
+
comment: ReviewComment;
|
|
622
|
+
commentCount: number;
|
|
623
|
+
};
|
|
624
|
+
type CreateReviewCommentRequest = {
|
|
625
|
+
body: ReviewCommentBody;
|
|
626
|
+
};
|
|
627
|
+
type DeleteReviewCommentResponse = {
|
|
628
|
+
commentCount: number;
|
|
629
|
+
};
|
|
425
630
|
type ReviewReplyResponse = {
|
|
426
631
|
developerReply: ReviewReply;
|
|
427
632
|
};
|
|
@@ -526,8 +731,16 @@ type ActivityRow = ({
|
|
|
526
731
|
} & ActivityRowTronPot) | ({
|
|
527
732
|
kind: "tron_cashout";
|
|
528
733
|
} & ActivityRowTronCashout) | ({
|
|
734
|
+
kind: "tron_transfer";
|
|
735
|
+
} & ActivityRowTronTransfer) | ({
|
|
529
736
|
kind: "referral_earning";
|
|
530
|
-
} & ActivityRowReferralEarning)
|
|
737
|
+
} & ActivityRowReferralEarning) | ({
|
|
738
|
+
kind: "nft_charge";
|
|
739
|
+
} & ActivityRowNftCharge) | ({
|
|
740
|
+
kind: "solana_stake";
|
|
741
|
+
} & ActivityRowSolanaStake) | ({
|
|
742
|
+
kind: "solana_pot_leg";
|
|
743
|
+
} & ActivityRowSolanaPotLeg);
|
|
531
744
|
type ActivityRowPayment = {
|
|
532
745
|
kind: "payment";
|
|
533
746
|
groupId: string | null;
|
|
@@ -773,6 +986,8 @@ type ActivityRowTronPot = {
|
|
|
773
986
|
role: "incoming" | "outgoing";
|
|
774
987
|
leg: "stake" | "payout" | "dev_cut" | "purchase" | "referral";
|
|
775
988
|
amountCents: number;
|
|
989
|
+
usdCents: number;
|
|
990
|
+
status: "settled";
|
|
776
991
|
app: {
|
|
777
992
|
id: string;
|
|
778
993
|
name: string;
|
|
@@ -780,8 +995,16 @@ type ActivityRowTronPot = {
|
|
|
780
995
|
slug: string | null;
|
|
781
996
|
bannerUrl: string | null;
|
|
782
997
|
} | null;
|
|
998
|
+
involvedUsers?: Array<ActivityTronInvolvedUser> | null;
|
|
783
999
|
metadata?: PaymentMetadata | null;
|
|
784
1000
|
};
|
|
1001
|
+
type ActivityTronInvolvedUser = {
|
|
1002
|
+
userId: string;
|
|
1003
|
+
handle: string | null;
|
|
1004
|
+
displayName: string | null;
|
|
1005
|
+
role: "stake" | "payout" | "dev_cut" | "purchase" | "referral";
|
|
1006
|
+
amountCents: number;
|
|
1007
|
+
};
|
|
785
1008
|
type ActivityRowTronCashout = {
|
|
786
1009
|
kind: "tron_cashout";
|
|
787
1010
|
groupId: string | null;
|
|
@@ -799,6 +1022,20 @@ type ActivityRowTronCashout = {
|
|
|
799
1022
|
rejectionReason: string | null;
|
|
800
1023
|
settledAt: string | null;
|
|
801
1024
|
};
|
|
1025
|
+
type ActivityRowTronTransfer = {
|
|
1026
|
+
kind: "tron_transfer";
|
|
1027
|
+
groupId: string | null;
|
|
1028
|
+
id: string;
|
|
1029
|
+
occurredAt: string;
|
|
1030
|
+
role: "incoming" | "outgoing";
|
|
1031
|
+
amountCents: number;
|
|
1032
|
+
usdCents: number;
|
|
1033
|
+
status: "settled";
|
|
1034
|
+
counterpartyUserId: string | null;
|
|
1035
|
+
counterpartyHandle: string | null;
|
|
1036
|
+
counterpartyDisplayName: string | null;
|
|
1037
|
+
note: string | null;
|
|
1038
|
+
};
|
|
802
1039
|
type ActivityRowReferralEarning = {
|
|
803
1040
|
kind: "referral_earning";
|
|
804
1041
|
groupId: string | null;
|
|
@@ -815,6 +1052,72 @@ type ActivityRowReferralEarning = {
|
|
|
815
1052
|
logIndex: number;
|
|
816
1053
|
usdCents: number | null;
|
|
817
1054
|
};
|
|
1055
|
+
type ActivityRowNftCharge = {
|
|
1056
|
+
kind: "nft_charge";
|
|
1057
|
+
groupId: string | null;
|
|
1058
|
+
id: string;
|
|
1059
|
+
occurredAt: string;
|
|
1060
|
+
role: "outgoing";
|
|
1061
|
+
chargeKind: "registration" | "mint" | "transfer_gas";
|
|
1062
|
+
amountCents: number;
|
|
1063
|
+
usdCents: number;
|
|
1064
|
+
status: "settled";
|
|
1065
|
+
collectionAddress: string | null;
|
|
1066
|
+
tokenId: string | null;
|
|
1067
|
+
counterpartyUserId: string | null;
|
|
1068
|
+
counterpartyHandle: string | null;
|
|
1069
|
+
counterpartyDisplayName: string | null;
|
|
1070
|
+
};
|
|
1071
|
+
type ActivityRowSolanaStake = {
|
|
1072
|
+
kind: "solana_stake";
|
|
1073
|
+
groupId: string | null;
|
|
1074
|
+
id: string;
|
|
1075
|
+
chain: string;
|
|
1076
|
+
occurredAt: string;
|
|
1077
|
+
role: "outgoing" | "incoming";
|
|
1078
|
+
amount: string;
|
|
1079
|
+
token: string;
|
|
1080
|
+
potId: string | null;
|
|
1081
|
+
usdCents: number;
|
|
1082
|
+
status: "completed";
|
|
1083
|
+
txHash: string | null;
|
|
1084
|
+
app: {
|
|
1085
|
+
id: string;
|
|
1086
|
+
name: string;
|
|
1087
|
+
logoUrl: string | null;
|
|
1088
|
+
slug: string | null;
|
|
1089
|
+
bannerUrl: string | null;
|
|
1090
|
+
} | null;
|
|
1091
|
+
stakerUserId?: string | null;
|
|
1092
|
+
stakerHandle?: string | null;
|
|
1093
|
+
stakerDisplayName?: string | null;
|
|
1094
|
+
metadata?: PaymentMetadata | null;
|
|
1095
|
+
};
|
|
1096
|
+
type ActivityRowSolanaPotLeg = {
|
|
1097
|
+
kind: "solana_pot_leg";
|
|
1098
|
+
groupId: string | null;
|
|
1099
|
+
id: string;
|
|
1100
|
+
chain: string;
|
|
1101
|
+
occurredAt: string;
|
|
1102
|
+
role: "outgoing" | "incoming";
|
|
1103
|
+
beneficiary: string;
|
|
1104
|
+
potId: string | null;
|
|
1105
|
+
amount: string;
|
|
1106
|
+
token: string;
|
|
1107
|
+
usdCents: number | null;
|
|
1108
|
+
status: "settled";
|
|
1109
|
+
app: {
|
|
1110
|
+
id: string;
|
|
1111
|
+
name: string;
|
|
1112
|
+
logoUrl: string | null;
|
|
1113
|
+
slug: string | null;
|
|
1114
|
+
bannerUrl: string | null;
|
|
1115
|
+
} | null;
|
|
1116
|
+
txHash: string | null;
|
|
1117
|
+
recipientUserId?: string | null;
|
|
1118
|
+
recipientHandle?: string | null;
|
|
1119
|
+
recipientDisplayName?: string | null;
|
|
1120
|
+
};
|
|
818
1121
|
type OutstandingResponse = {
|
|
819
1122
|
rows: Array<OutstandingByToken>;
|
|
820
1123
|
};
|
|
@@ -864,7 +1167,7 @@ type TronLedgerResponse = {
|
|
|
864
1167
|
};
|
|
865
1168
|
type TronLedgerEntry = {
|
|
866
1169
|
id: string;
|
|
867
|
-
kind: "deposit" | "pot_stake" | "pot_payout" | "dev_earning" | "cashout_hold" | "cashout_release" | "dispute_freeze" | "dispute_unfreeze" | "hosted_billing" | "store_purchase" | "referral_earning";
|
|
1170
|
+
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";
|
|
868
1171
|
amountCents: number;
|
|
869
1172
|
currency: string;
|
|
870
1173
|
createdAt: string;
|
|
@@ -879,6 +1182,45 @@ type TronDepositResponse = {
|
|
|
879
1182
|
type TronDepositRequest = {
|
|
880
1183
|
amountCents: number;
|
|
881
1184
|
};
|
|
1185
|
+
type TronTransferResponse = {
|
|
1186
|
+
status: "completed";
|
|
1187
|
+
amountCents: number;
|
|
1188
|
+
balanceCents: number;
|
|
1189
|
+
recipient: {
|
|
1190
|
+
userId: string;
|
|
1191
|
+
handle: string | null;
|
|
1192
|
+
displayName: string | null;
|
|
1193
|
+
};
|
|
1194
|
+
};
|
|
1195
|
+
type TronTransferRequest = {
|
|
1196
|
+
recipientUserId: string;
|
|
1197
|
+
amountCents: number;
|
|
1198
|
+
note?: string;
|
|
1199
|
+
challengeId?: string;
|
|
1200
|
+
signature?: string;
|
|
1201
|
+
threadId?: string;
|
|
1202
|
+
};
|
|
1203
|
+
type TronSecuritySetting = {
|
|
1204
|
+
requireSignature: boolean;
|
|
1205
|
+
};
|
|
1206
|
+
type TronTransferChallengeResponse = ({
|
|
1207
|
+
required: false;
|
|
1208
|
+
} & TronTransferChallengeNotRequired) | ({
|
|
1209
|
+
required: true;
|
|
1210
|
+
} & TronTransferChallengeRequired);
|
|
1211
|
+
type TronTransferChallengeNotRequired = {
|
|
1212
|
+
required: false;
|
|
1213
|
+
};
|
|
1214
|
+
type TronTransferChallengeRequired = {
|
|
1215
|
+
required: true;
|
|
1216
|
+
challengeId: string;
|
|
1217
|
+
message: string;
|
|
1218
|
+
expiresAt: string;
|
|
1219
|
+
};
|
|
1220
|
+
type TronTransferChallengeRequest = {
|
|
1221
|
+
recipientUserId: string;
|
|
1222
|
+
amountCents: number;
|
|
1223
|
+
};
|
|
882
1224
|
type TronConnectOnboardingResponse = {
|
|
883
1225
|
url: string;
|
|
884
1226
|
};
|
|
@@ -935,12 +1277,15 @@ type WalletListResponse = {
|
|
|
935
1277
|
wallets: Array<WalletItem>;
|
|
936
1278
|
};
|
|
937
1279
|
type WalletChainList = Array<{
|
|
938
|
-
id: "ethereum-mainnet" | "base-mainnet" | "ethereum-sepolia";
|
|
1280
|
+
id: "ethereum-mainnet" | "base-mainnet" | "ethereum-sepolia" | "base-sepolia" | "solana-mainnet" | "solana-devnet";
|
|
939
1281
|
displayName: string;
|
|
940
|
-
|
|
1282
|
+
family: "evm" | "solana";
|
|
1283
|
+
nativeSymbol: string;
|
|
1284
|
+
chainId?: number;
|
|
941
1285
|
}>;
|
|
942
1286
|
type WalletItem = {
|
|
943
|
-
address: string;
|
|
1287
|
+
address: string | string;
|
|
1288
|
+
family: "evm" | "solana";
|
|
944
1289
|
label: WalletLabel;
|
|
945
1290
|
kind: "personal" | "app";
|
|
946
1291
|
app: WalletAppLink;
|
|
@@ -957,6 +1302,9 @@ type WalletBalances = {
|
|
|
957
1302
|
"ethereum-mainnet"?: WalletChainBalance;
|
|
958
1303
|
"base-mainnet"?: WalletChainBalance;
|
|
959
1304
|
"ethereum-sepolia"?: WalletChainBalance;
|
|
1305
|
+
"base-sepolia"?: WalletChainBalance;
|
|
1306
|
+
"solana-mainnet"?: WalletChainBalance;
|
|
1307
|
+
"solana-devnet"?: WalletChainBalance;
|
|
960
1308
|
};
|
|
961
1309
|
type WalletChainBalance = {
|
|
962
1310
|
native: string;
|
|
@@ -966,12 +1314,14 @@ type WalletDelegationStatus = {
|
|
|
966
1314
|
mode: WalletDelegationMode;
|
|
967
1315
|
caps: WalletDelegationCaps;
|
|
968
1316
|
policyId: string | null;
|
|
1317
|
+
slippageBps: DelegationSlippageBps;
|
|
969
1318
|
};
|
|
970
1319
|
type WalletDelegationMode = "infinite" | "custom" | "scoped" | null;
|
|
971
1320
|
type WalletDelegationCaps = {
|
|
972
1321
|
native: string;
|
|
973
1322
|
usdc: string;
|
|
974
1323
|
} | null;
|
|
1324
|
+
type DelegationSlippageBps = number | null;
|
|
975
1325
|
type WalletLabelUpdateResponse = {
|
|
976
1326
|
address: string;
|
|
977
1327
|
label: WalletLabel;
|
|
@@ -1045,6 +1395,7 @@ type ThreadLastMessagePreview = {
|
|
|
1045
1395
|
url: string;
|
|
1046
1396
|
count: number;
|
|
1047
1397
|
} | null;
|
|
1398
|
+
transaction?: MessageTransactionTronTransfer | MessageTransactionNftTransfer | null;
|
|
1048
1399
|
sentAt: string;
|
|
1049
1400
|
} | null;
|
|
1050
1401
|
type MessageEnvelope = {
|
|
@@ -1056,6 +1407,20 @@ type MessageEnvelope = {
|
|
|
1056
1407
|
iv: string;
|
|
1057
1408
|
ct: string;
|
|
1058
1409
|
} | null;
|
|
1410
|
+
type MessageTransactionTronTransfer = {
|
|
1411
|
+
kind: "tron_transfer";
|
|
1412
|
+
amountCents: number;
|
|
1413
|
+
recipientUserId: string;
|
|
1414
|
+
};
|
|
1415
|
+
type MessageTransactionNftTransfer = {
|
|
1416
|
+
kind: "nft_transfer";
|
|
1417
|
+
recipientUserId: string;
|
|
1418
|
+
collectionAddress: string;
|
|
1419
|
+
tokenId: string;
|
|
1420
|
+
amount: string;
|
|
1421
|
+
itemName: string | null;
|
|
1422
|
+
imageAssetId?: string | null;
|
|
1423
|
+
};
|
|
1059
1424
|
type GroupThreadSummary = {
|
|
1060
1425
|
kind: "group";
|
|
1061
1426
|
id: string;
|
|
@@ -1102,6 +1467,7 @@ type MessageItem = {
|
|
|
1102
1467
|
id: string;
|
|
1103
1468
|
threadId: string;
|
|
1104
1469
|
senderUserId: string;
|
|
1470
|
+
transaction?: MessageTransactionTronTransfer | MessageTransactionNftTransfer | null;
|
|
1105
1471
|
body: string;
|
|
1106
1472
|
envelope?: MessageEnvelope;
|
|
1107
1473
|
sentAt: string;
|
|
@@ -1313,11 +1679,45 @@ type InventoryHolding = {
|
|
|
1313
1679
|
tokenId: string;
|
|
1314
1680
|
amount: string;
|
|
1315
1681
|
name: string | null;
|
|
1682
|
+
description: string | null;
|
|
1316
1683
|
imageAssetId: string | null;
|
|
1317
1684
|
bannerAssetId: string | null;
|
|
1318
1685
|
devMetadata: {
|
|
1319
1686
|
[key: string]: unknown;
|
|
1320
1687
|
};
|
|
1688
|
+
appId: string | null;
|
|
1689
|
+
appName: string | null;
|
|
1690
|
+
appLogoUrl: string | null;
|
|
1691
|
+
};
|
|
1692
|
+
type InventoryPendingPermitListResponse = {
|
|
1693
|
+
permits: Array<InventoryPendingPermit>;
|
|
1694
|
+
};
|
|
1695
|
+
type InventoryPendingPermit = {
|
|
1696
|
+
id: string;
|
|
1697
|
+
appId: string;
|
|
1698
|
+
itemId: string;
|
|
1699
|
+
amount: string;
|
|
1700
|
+
priceCents: number | null;
|
|
1701
|
+
gasSponsored: boolean;
|
|
1702
|
+
environment: "development" | "production";
|
|
1703
|
+
createdAt: string;
|
|
1704
|
+
tokenId: string;
|
|
1705
|
+
name: string | null;
|
|
1706
|
+
description: string | null;
|
|
1707
|
+
imageAssetId: string | null;
|
|
1708
|
+
chain: string;
|
|
1709
|
+
collectionAddress: string;
|
|
1710
|
+
kind: "erc721" | "erc1155";
|
|
1711
|
+
};
|
|
1712
|
+
type InventoryPermitRedeemResult = {
|
|
1713
|
+
mint: MintRequestResult;
|
|
1714
|
+
charge: {
|
|
1715
|
+
currency: "tron";
|
|
1716
|
+
gasCents: number;
|
|
1717
|
+
priceCents: number;
|
|
1718
|
+
totalCents: number;
|
|
1719
|
+
gasPaidBy: "user" | "developer";
|
|
1720
|
+
};
|
|
1321
1721
|
};
|
|
1322
1722
|
type MintRequestResult = {
|
|
1323
1723
|
mintRequestId: string;
|
|
@@ -1333,6 +1733,247 @@ type MintRequestInput = {
|
|
|
1333
1733
|
tokenId?: string;
|
|
1334
1734
|
amount?: string;
|
|
1335
1735
|
};
|
|
1736
|
+
type InventoryCollectionListResponse = {
|
|
1737
|
+
collections: Array<InventoryCollectionSummary>;
|
|
1738
|
+
};
|
|
1739
|
+
type InventoryCollectionSummary = {
|
|
1740
|
+
id: string;
|
|
1741
|
+
chain: string;
|
|
1742
|
+
collectionAddress: string;
|
|
1743
|
+
kind: "erc721" | "erc1155";
|
|
1744
|
+
name: string | null;
|
|
1745
|
+
environment: "development" | "production";
|
|
1746
|
+
};
|
|
1747
|
+
type InventoryRegistrationQuote = {
|
|
1748
|
+
itemCount: number;
|
|
1749
|
+
baselineUsdCents: number;
|
|
1750
|
+
gasUsdCents: number;
|
|
1751
|
+
tron: {
|
|
1752
|
+
baselineCents: number;
|
|
1753
|
+
gasCents: number;
|
|
1754
|
+
totalCents: number;
|
|
1755
|
+
};
|
|
1756
|
+
eth: {
|
|
1757
|
+
baselineWei: string;
|
|
1758
|
+
gasWei: string;
|
|
1759
|
+
totalWei: string;
|
|
1760
|
+
};
|
|
1761
|
+
};
|
|
1762
|
+
type InventoryItemRegistrationInput = {
|
|
1763
|
+
collectionAddress: string;
|
|
1764
|
+
chain: string;
|
|
1765
|
+
items: Array<InventoryItemRegistrationSpec>;
|
|
1766
|
+
};
|
|
1767
|
+
type InventoryItemRegistrationSpec = {
|
|
1768
|
+
name?: string | null;
|
|
1769
|
+
description?: string | null;
|
|
1770
|
+
devMetadata?: {
|
|
1771
|
+
[key: string]: unknown;
|
|
1772
|
+
};
|
|
1773
|
+
supplyType?: InventorySupplyType;
|
|
1774
|
+
maxSupply?: string | null;
|
|
1775
|
+
active?: boolean;
|
|
1776
|
+
};
|
|
1777
|
+
type InventorySupplyType = "capped" | "flexible" | "unlimited";
|
|
1778
|
+
type InventoryItemRegistrationResult = {
|
|
1779
|
+
items: Array<InventoryItemRecord>;
|
|
1780
|
+
charge: {
|
|
1781
|
+
currency: "tron";
|
|
1782
|
+
amountCents: number;
|
|
1783
|
+
baselineCents: number;
|
|
1784
|
+
gasCents: number;
|
|
1785
|
+
addItemTxHash: string;
|
|
1786
|
+
};
|
|
1787
|
+
};
|
|
1788
|
+
type InventoryItemRecord = {
|
|
1789
|
+
id: string;
|
|
1790
|
+
collectionId: string;
|
|
1791
|
+
collectionAddress: string;
|
|
1792
|
+
chain: string;
|
|
1793
|
+
kind: "erc721" | "erc1155";
|
|
1794
|
+
tokenId: string;
|
|
1795
|
+
name: string | null;
|
|
1796
|
+
description: string | null;
|
|
1797
|
+
imageAssetId: string | null;
|
|
1798
|
+
bannerAssetId: string | null;
|
|
1799
|
+
devMetadata: {
|
|
1800
|
+
[key: string]: unknown;
|
|
1801
|
+
};
|
|
1802
|
+
supplyType: InventorySupplyType | null;
|
|
1803
|
+
maxSupply: string | null;
|
|
1804
|
+
active: boolean;
|
|
1805
|
+
};
|
|
1806
|
+
type InventoryItemListResponse = {
|
|
1807
|
+
items: Array<InventoryItemRecord>;
|
|
1808
|
+
};
|
|
1809
|
+
type InventoryMintPermitRecord = {
|
|
1810
|
+
id: string;
|
|
1811
|
+
appId: string;
|
|
1812
|
+
itemId: string;
|
|
1813
|
+
userId: string;
|
|
1814
|
+
amount: string;
|
|
1815
|
+
priceCents: number | null;
|
|
1816
|
+
gasSponsored: boolean;
|
|
1817
|
+
status: "pending" | "redeemed" | "revoked";
|
|
1818
|
+
createdAt: string;
|
|
1819
|
+
};
|
|
1820
|
+
type InventoryMintPermitCreateInput = {
|
|
1821
|
+
toUserId: string;
|
|
1822
|
+
amount?: string;
|
|
1823
|
+
priceCents?: number | null;
|
|
1824
|
+
gasSponsored?: boolean;
|
|
1825
|
+
};
|
|
1826
|
+
type InventoryItemHoldersResponse = {
|
|
1827
|
+
stats: InventoryItemStats;
|
|
1828
|
+
holders: Array<InventoryItemHolder>;
|
|
1829
|
+
};
|
|
1830
|
+
type InventoryItemStats = {
|
|
1831
|
+
holderCount: number;
|
|
1832
|
+
walletCount: number;
|
|
1833
|
+
totalHeld: string;
|
|
1834
|
+
};
|
|
1835
|
+
type InventoryItemHolder = {
|
|
1836
|
+
walletAddress: string;
|
|
1837
|
+
userId: string | null;
|
|
1838
|
+
amount: string;
|
|
1839
|
+
};
|
|
1840
|
+
type InventoryVaultPermitRecord = {
|
|
1841
|
+
id: string;
|
|
1842
|
+
appId: string;
|
|
1843
|
+
itemId: string;
|
|
1844
|
+
userId: string;
|
|
1845
|
+
direction: "vault_in" | "withdraw";
|
|
1846
|
+
lockKind: "vault" | "burn" | null;
|
|
1847
|
+
amount: string;
|
|
1848
|
+
gasSponsored: boolean;
|
|
1849
|
+
status: "pending" | "redeemed" | "revoked";
|
|
1850
|
+
custodyId: string | null;
|
|
1851
|
+
createdAt: string;
|
|
1852
|
+
};
|
|
1853
|
+
type InventoryVaultPermitCreateInput = {
|
|
1854
|
+
toUserId: string;
|
|
1855
|
+
lockKind: "vault" | "burn";
|
|
1856
|
+
amount?: string;
|
|
1857
|
+
gasSponsored?: boolean;
|
|
1858
|
+
};
|
|
1859
|
+
type InventoryWithdrawPermitCreateInput = {
|
|
1860
|
+
custodyId: string;
|
|
1861
|
+
};
|
|
1862
|
+
type InventoryPendingVaultPermitListResponse = {
|
|
1863
|
+
permits: Array<InventoryPendingVaultPermit>;
|
|
1864
|
+
};
|
|
1865
|
+
type InventoryPendingVaultPermit = {
|
|
1866
|
+
id: string;
|
|
1867
|
+
appId: string;
|
|
1868
|
+
itemId: string;
|
|
1869
|
+
direction: "vault_in" | "withdraw";
|
|
1870
|
+
lockKind: "vault" | "burn" | null;
|
|
1871
|
+
amount: string;
|
|
1872
|
+
gasSponsored: boolean;
|
|
1873
|
+
environment: "development" | "production";
|
|
1874
|
+
custodyId: string | null;
|
|
1875
|
+
createdAt: string;
|
|
1876
|
+
tokenId: string;
|
|
1877
|
+
name: string | null;
|
|
1878
|
+
description: string | null;
|
|
1879
|
+
imageAssetId: string | null;
|
|
1880
|
+
chain: string;
|
|
1881
|
+
collectionAddress: string;
|
|
1882
|
+
kind: "erc721" | "erc1155";
|
|
1883
|
+
};
|
|
1884
|
+
type InventorySignedVaultPermit = {
|
|
1885
|
+
permitId: string;
|
|
1886
|
+
direction: "vault_in" | "withdraw";
|
|
1887
|
+
vault: string;
|
|
1888
|
+
collection: string;
|
|
1889
|
+
user: string;
|
|
1890
|
+
tokenId: string;
|
|
1891
|
+
amount: string;
|
|
1892
|
+
lockKind: "vault" | "burn" | null;
|
|
1893
|
+
destination: string | null;
|
|
1894
|
+
deadline: number;
|
|
1895
|
+
signature: string;
|
|
1896
|
+
};
|
|
1897
|
+
type InventoryRelayedVaultQuoteResponse = {
|
|
1898
|
+
direction: "vault_in" | "withdraw";
|
|
1899
|
+
collection: string;
|
|
1900
|
+
vault: string;
|
|
1901
|
+
chainId: number;
|
|
1902
|
+
user: string;
|
|
1903
|
+
tokenId: string;
|
|
1904
|
+
amount: string;
|
|
1905
|
+
nonce: string | null;
|
|
1906
|
+
deadline: number;
|
|
1907
|
+
feeCents: number;
|
|
1908
|
+
gasWei: string;
|
|
1909
|
+
gasPaidBy: "developer" | "user";
|
|
1910
|
+
requiresUserSignature: boolean;
|
|
1911
|
+
};
|
|
1912
|
+
type InventoryRelayedVaultSubmitResponse = {
|
|
1913
|
+
ok: boolean;
|
|
1914
|
+
txHash: string;
|
|
1915
|
+
chargedCents: number;
|
|
1916
|
+
gasPaidBy: "developer" | "user";
|
|
1917
|
+
};
|
|
1918
|
+
type InventoryRelayedVaultSubmitRequest = {
|
|
1919
|
+
userSignature?: string;
|
|
1920
|
+
deadline?: number;
|
|
1921
|
+
};
|
|
1922
|
+
type InventoryNftTransferQuoteResponse = {
|
|
1923
|
+
collection: string;
|
|
1924
|
+
chainId: number;
|
|
1925
|
+
from: string;
|
|
1926
|
+
to: string;
|
|
1927
|
+
tokenId: string;
|
|
1928
|
+
amount: string;
|
|
1929
|
+
nonce: string;
|
|
1930
|
+
deadline: number;
|
|
1931
|
+
feeCents: number;
|
|
1932
|
+
gasWei: string;
|
|
1933
|
+
selfPayAvailable: boolean;
|
|
1934
|
+
};
|
|
1935
|
+
type InventoryNftTransferQuoteRequest = {
|
|
1936
|
+
toUserId: string;
|
|
1937
|
+
collection: string;
|
|
1938
|
+
tokenId: string;
|
|
1939
|
+
amount?: string;
|
|
1940
|
+
};
|
|
1941
|
+
type InventoryNftTransferResponse = {
|
|
1942
|
+
ok: boolean;
|
|
1943
|
+
txHash: string;
|
|
1944
|
+
chargedCents: number;
|
|
1945
|
+
};
|
|
1946
|
+
type InventoryNftTransferRequest = {
|
|
1947
|
+
toUserId: string;
|
|
1948
|
+
collection: string;
|
|
1949
|
+
tokenId: string;
|
|
1950
|
+
amount?: string;
|
|
1951
|
+
deadline: number;
|
|
1952
|
+
userSignature: string;
|
|
1953
|
+
threadId?: string;
|
|
1954
|
+
};
|
|
1955
|
+
type InventoryVaultCustodyListResponse = {
|
|
1956
|
+
custody: Array<InventoryVaultCustody>;
|
|
1957
|
+
};
|
|
1958
|
+
type InventoryVaultCustody = {
|
|
1959
|
+
id: string;
|
|
1960
|
+
collectionId: string;
|
|
1961
|
+
collectionAddress: string;
|
|
1962
|
+
chain: string;
|
|
1963
|
+
kind: "erc721" | "erc1155";
|
|
1964
|
+
tokenId: string;
|
|
1965
|
+
amount: string;
|
|
1966
|
+
lockKind: "vault" | "burn";
|
|
1967
|
+
vaultAddress: string;
|
|
1968
|
+
createdAt: string;
|
|
1969
|
+
name: string | null;
|
|
1970
|
+
description: string | null;
|
|
1971
|
+
imageAssetId: string | null;
|
|
1972
|
+
};
|
|
1973
|
+
type InventoryVaultForceWithdrawResponse = {
|
|
1974
|
+
ok: boolean;
|
|
1975
|
+
txHash: string;
|
|
1976
|
+
};
|
|
1336
1977
|
type NotificationListResponse = {
|
|
1337
1978
|
notifications: Array<NotificationItem>;
|
|
1338
1979
|
unreadCount: number;
|
|
@@ -1361,6 +2002,18 @@ type NotificationItem = {
|
|
|
1361
2002
|
payload: AppPageRejectedNotificationPayload;
|
|
1362
2003
|
read: boolean;
|
|
1363
2004
|
createdAt: string;
|
|
2005
|
+
} | {
|
|
2006
|
+
id: string;
|
|
2007
|
+
kind: "bip_update_published";
|
|
2008
|
+
payload: BipUpdatePublishedNotificationPayload;
|
|
2009
|
+
read: boolean;
|
|
2010
|
+
createdAt: string;
|
|
2011
|
+
} | {
|
|
2012
|
+
id: string;
|
|
2013
|
+
kind: "bip_now_playable";
|
|
2014
|
+
payload: BipNowPlayableNotificationPayload;
|
|
2015
|
+
read: boolean;
|
|
2016
|
+
createdAt: string;
|
|
1364
2017
|
} | {
|
|
1365
2018
|
id: string;
|
|
1366
2019
|
kind: "app_participant_invite";
|
|
@@ -1391,14 +2044,25 @@ type FriendAcceptedNotificationPayload = {
|
|
|
1391
2044
|
type AppPageApprovedNotificationPayload = {
|
|
1392
2045
|
appId: string;
|
|
1393
2046
|
appName: string;
|
|
1394
|
-
scope: "publish" | "changes";
|
|
2047
|
+
scope: "publish" | "changes" | "bip_publish";
|
|
1395
2048
|
};
|
|
1396
2049
|
type AppPageRejectedNotificationPayload = {
|
|
1397
2050
|
appId: string;
|
|
1398
2051
|
appName: string;
|
|
1399
|
-
scope: "publish" | "changes";
|
|
2052
|
+
scope: "publish" | "changes" | "bip_publish";
|
|
1400
2053
|
notes: string;
|
|
1401
2054
|
};
|
|
2055
|
+
type BipUpdatePublishedNotificationPayload = {
|
|
2056
|
+
appId: string;
|
|
2057
|
+
appName: string;
|
|
2058
|
+
appSlug: string | null;
|
|
2059
|
+
updateId: string;
|
|
2060
|
+
};
|
|
2061
|
+
type BipNowPlayableNotificationPayload = {
|
|
2062
|
+
appId: string;
|
|
2063
|
+
appName: string;
|
|
2064
|
+
appSlug: string | null;
|
|
2065
|
+
};
|
|
1402
2066
|
type AppParticipantInviteNotificationPayload = {
|
|
1403
2067
|
appId: string;
|
|
1404
2068
|
appName: string;
|
|
@@ -1428,6 +2092,9 @@ type FriendListItem = {
|
|
|
1428
2092
|
onlineStatus: OnlineStatus;
|
|
1429
2093
|
};
|
|
1430
2094
|
type OnlineStatus = "online" | "offline";
|
|
2095
|
+
type AppFriendListResponse = {
|
|
2096
|
+
friends: Array<ThreadParticipant>;
|
|
2097
|
+
};
|
|
1431
2098
|
type FriendRequestDecision = {
|
|
1432
2099
|
decision: "accept" | "reject";
|
|
1433
2100
|
};
|
|
@@ -1500,7 +2167,7 @@ type ProfileRecentReview = {
|
|
|
1500
2167
|
appId: string;
|
|
1501
2168
|
appName: string;
|
|
1502
2169
|
appLogoUrl: string | null;
|
|
1503
|
-
|
|
2170
|
+
recommended: boolean;
|
|
1504
2171
|
body: string;
|
|
1505
2172
|
createdAt: string;
|
|
1506
2173
|
};
|
|
@@ -1557,17 +2224,20 @@ type CreateDeveloperAppChain = {
|
|
|
1557
2224
|
};
|
|
1558
2225
|
type UpdateDeveloperApp = {
|
|
1559
2226
|
name?: DeveloperAppName;
|
|
2227
|
+
slug?: AppPageSlug | null;
|
|
1560
2228
|
logoUrl?: string | null;
|
|
1561
2229
|
testAccess?: "private" | "public";
|
|
1562
2230
|
redirectUris?: Array<string>;
|
|
1563
2231
|
embedOrigins?: Array<EmbedOrigin>;
|
|
1564
2232
|
acceptedCurrencies?: AcceptedCurrencies;
|
|
2233
|
+
acceptedNetworks?: AcceptedNetworks;
|
|
1565
2234
|
paymentStatusWebhookUrl?: string | null;
|
|
1566
2235
|
paymentStatusWebhookUrlTest?: string | null;
|
|
1567
2236
|
};
|
|
1568
2237
|
type EmbedOrigin = string;
|
|
1569
2238
|
type AcceptedCurrencies = Array<PlatformCurrency>;
|
|
1570
2239
|
type PlatformCurrency = "eth" | "tron";
|
|
2240
|
+
type AcceptedNetworks = Array<PaymentNetwork> | null;
|
|
1571
2241
|
type DeveloperLogoUploadResponse = {
|
|
1572
2242
|
logoUrl: string | null;
|
|
1573
2243
|
};
|
|
@@ -1630,7 +2300,7 @@ type DeveloperAppWalletsResponse = {
|
|
|
1630
2300
|
};
|
|
1631
2301
|
type DeveloperAppWalletItem = {
|
|
1632
2302
|
chain: string;
|
|
1633
|
-
address: string;
|
|
2303
|
+
address: string | string;
|
|
1634
2304
|
custody: "server" | null;
|
|
1635
2305
|
walletId: string | null;
|
|
1636
2306
|
autoSweepEnabled: boolean;
|
|
@@ -1651,7 +2321,7 @@ type DeveloperAppProvisionWalletResponse = {
|
|
|
1651
2321
|
chain: string;
|
|
1652
2322
|
custody: "server";
|
|
1653
2323
|
walletId: string;
|
|
1654
|
-
address: string;
|
|
2324
|
+
address: string | string;
|
|
1655
2325
|
};
|
|
1656
2326
|
type DeveloperAppWithdrawResponse = {
|
|
1657
2327
|
appId: string;
|
|
@@ -1805,6 +2475,7 @@ type DeveloperProductionRequestPayload = {
|
|
|
1805
2475
|
type DeveloperAppItem = {
|
|
1806
2476
|
id: string;
|
|
1807
2477
|
name: DeveloperAppName;
|
|
2478
|
+
slug: AppPageSlug | null;
|
|
1808
2479
|
logoUrl: string | null;
|
|
1809
2480
|
environment: "development" | "production";
|
|
1810
2481
|
productionApprovedAt: string | null;
|
|
@@ -1813,6 +2484,7 @@ type DeveloperAppItem = {
|
|
|
1813
2484
|
redirectUris: Array<string>;
|
|
1814
2485
|
embedOrigins: Array<EmbedOrigin>;
|
|
1815
2486
|
acceptedCurrencies: AcceptedCurrencies;
|
|
2487
|
+
acceptedNetworks: AcceptedNetworks;
|
|
1816
2488
|
payoutAddresses: Array<DeveloperAppPayoutAddressItem>;
|
|
1817
2489
|
keys: Array<DeveloperAppKeyItem>;
|
|
1818
2490
|
pendingProductionRequestId: string | null;
|
|
@@ -1856,15 +2528,29 @@ type AppPageDraft = {
|
|
|
1856
2528
|
gallery: AppPageGallery;
|
|
1857
2529
|
chapters: AppPageChapters;
|
|
1858
2530
|
links: AppPageLinks;
|
|
2531
|
+
platforms: AppPagePlatforms;
|
|
2532
|
+
gameType: AppPageGameType;
|
|
2533
|
+
ageRating: AppPageAgeRating;
|
|
2534
|
+
languages: AppPageLanguages;
|
|
2535
|
+
releaseStatus: AppPageReleaseStatus;
|
|
1859
2536
|
firstPublishedAt: string | null;
|
|
1860
2537
|
reviewedAt: string | null;
|
|
1861
2538
|
reviewNotes: string | null;
|
|
1862
2539
|
hiddenAt: string | null;
|
|
1863
2540
|
hiddenReasonPublic: string | null;
|
|
1864
2541
|
pendingReview: boolean;
|
|
2542
|
+
bip: AppPageBipState;
|
|
2543
|
+
};
|
|
2544
|
+
type AppPageBipState = {
|
|
2545
|
+
enabled: boolean;
|
|
2546
|
+
status: "draft" | "pending_review" | "published" | "hidden";
|
|
2547
|
+
firstPublishedAt: string | null;
|
|
2548
|
+
reviewedAt: string | null;
|
|
2549
|
+
reviewNotes: string | null;
|
|
2550
|
+
hiddenAt: string | null;
|
|
2551
|
+
hiddenReasonPublic: string | null;
|
|
1865
2552
|
};
|
|
1866
2553
|
type UpdateAppPage = {
|
|
1867
|
-
slug?: AppPageSlug | null;
|
|
1868
2554
|
categories?: AppPageCategories;
|
|
1869
2555
|
tagline?: AppPageTagline | null;
|
|
1870
2556
|
bannerUrl?: string | null;
|
|
@@ -1878,10 +2564,18 @@ type UpdateAppPage = {
|
|
|
1878
2564
|
gallery?: AppPageGallery;
|
|
1879
2565
|
chapters?: AppPageChapters;
|
|
1880
2566
|
links?: AppPageLinks;
|
|
2567
|
+
platforms?: AppPagePlatforms;
|
|
2568
|
+
gameType?: AppPageGameType;
|
|
2569
|
+
ageRating?: AppPageAgeRating;
|
|
2570
|
+
languages?: AppPageLanguages;
|
|
2571
|
+
releaseStatus?: AppPageReleaseStatus;
|
|
1881
2572
|
};
|
|
1882
2573
|
type AppPageGalleryUploadResponse = {
|
|
1883
2574
|
url: string;
|
|
1884
2575
|
};
|
|
2576
|
+
type AppPageBipToggle = {
|
|
2577
|
+
enabled: boolean;
|
|
2578
|
+
};
|
|
1885
2579
|
type AdminActivePlayersResponse = {
|
|
1886
2580
|
players: Array<AdminActivePlayer>;
|
|
1887
2581
|
total: number;
|
|
@@ -1953,6 +2647,7 @@ type AdminAuditListResponse = {
|
|
|
1953
2647
|
total: number;
|
|
1954
2648
|
offset: number;
|
|
1955
2649
|
limit: number;
|
|
2650
|
+
nextCursor: string | null;
|
|
1956
2651
|
};
|
|
1957
2652
|
type AdminAuditListItem = {
|
|
1958
2653
|
id: string;
|
|
@@ -2020,6 +2715,11 @@ type AdminAppPageItem = {
|
|
|
2020
2715
|
hiddenAt: string | null;
|
|
2021
2716
|
hiddenReasonInternal: string | null;
|
|
2022
2717
|
pendingChangesSubmittedAt: string | null;
|
|
2718
|
+
bipEnabled: boolean;
|
|
2719
|
+
bipStatus: "draft" | "pending_review" | "published" | "hidden";
|
|
2720
|
+
bipFirstPublishedAt: string | null;
|
|
2721
|
+
bipHiddenAt: string | null;
|
|
2722
|
+
openReportCount: number;
|
|
2023
2723
|
};
|
|
2024
2724
|
type AdminAppPageStatusResponse = {
|
|
2025
2725
|
status: "draft" | "pending_review" | "published" | "hidden";
|
|
@@ -2045,6 +2745,25 @@ type AdminAppPageDiffField = {
|
|
|
2045
2745
|
from: string;
|
|
2046
2746
|
to: string;
|
|
2047
2747
|
};
|
|
2748
|
+
type AdminAppPageBipStatusResponse = {
|
|
2749
|
+
bipStatus: "draft" | "pending_review" | "published" | "hidden";
|
|
2750
|
+
};
|
|
2751
|
+
type AdminAppContentReportListResponse = {
|
|
2752
|
+
reports: Array<AdminAppContentReportItem>;
|
|
2753
|
+
total: number;
|
|
2754
|
+
hasMore: boolean;
|
|
2755
|
+
};
|
|
2756
|
+
type AdminAppContentReportItem = {
|
|
2757
|
+
id: string;
|
|
2758
|
+
category: AppContentReportCategory;
|
|
2759
|
+
details: string | null;
|
|
2760
|
+
status: AppContentReportStatus;
|
|
2761
|
+
acknowledgedAt: string | null;
|
|
2762
|
+
createdAt: string;
|
|
2763
|
+
appId: string;
|
|
2764
|
+
appName: string;
|
|
2765
|
+
appSlug: string | null;
|
|
2766
|
+
};
|
|
2048
2767
|
type PlatformFeesResponse = {
|
|
2049
2768
|
purchaseFeeBps: number;
|
|
2050
2769
|
stakeFeeBps: number;
|
|
@@ -2225,6 +2944,13 @@ type AppealResolveRequest = {
|
|
|
2225
2944
|
decision: "refund" | "dismiss";
|
|
2226
2945
|
notes?: string;
|
|
2227
2946
|
};
|
|
2947
|
+
type PaymentRatesResponse = {
|
|
2948
|
+
asOf: string;
|
|
2949
|
+
ethUsd: number | null;
|
|
2950
|
+
solUsd: number | null;
|
|
2951
|
+
solLamportsPerCent: number | null;
|
|
2952
|
+
tronUsdPerToken: number;
|
|
2953
|
+
};
|
|
2228
2954
|
type AppealFileResponse = {
|
|
2229
2955
|
appealId: string;
|
|
2230
2956
|
paymentId: string;
|
|
@@ -2334,7 +3060,7 @@ declare function listActivePlayers(context: TransportContext, input: {
|
|
|
2334
3060
|
//#region src/admin/app-pages.d.ts
|
|
2335
3061
|
declare function listAppPages(context: TransportContext, input: {
|
|
2336
3062
|
readonly bearer: string;
|
|
2337
|
-
readonly status?: "draft" | "pending_review" | "published" | "hidden" | "all" | "pending_changes";
|
|
3063
|
+
readonly status?: "draft" | "pending_review" | "published" | "hidden" | "all" | "pending_changes" | "bip_pending_review";
|
|
2338
3064
|
}): Promise<AdminAppPageListResponse>;
|
|
2339
3065
|
declare function getAppPageChanges(context: TransportContext, input: {
|
|
2340
3066
|
readonly bearer: string;
|
|
@@ -2359,6 +3085,20 @@ declare function reviewAppPage(context: TransportContext, input: {
|
|
|
2359
3085
|
readonly appId: string;
|
|
2360
3086
|
readonly body: ReviewAppPage;
|
|
2361
3087
|
}): Promise<AdminAppPageStatusResponse>;
|
|
3088
|
+
declare function reviewAppPageBip(context: TransportContext, input: {
|
|
3089
|
+
readonly bearer: string;
|
|
3090
|
+
readonly appId: string;
|
|
3091
|
+
readonly body: ReviewAppPage;
|
|
3092
|
+
}): Promise<AdminAppPageBipStatusResponse>;
|
|
3093
|
+
declare function hideAppPageBip(context: TransportContext, input: {
|
|
3094
|
+
readonly bearer: string;
|
|
3095
|
+
readonly appId: string;
|
|
3096
|
+
readonly body: HideAppPage;
|
|
3097
|
+
}): Promise<AdminAppPageBipStatusResponse>;
|
|
3098
|
+
declare function unhideAppPageBip(context: TransportContext, input: {
|
|
3099
|
+
readonly bearer: string;
|
|
3100
|
+
readonly appId: string;
|
|
3101
|
+
}): Promise<AdminAppPageBipStatusResponse>;
|
|
2362
3102
|
//#endregion
|
|
2363
3103
|
//#region src/admin/appeals.d.ts
|
|
2364
3104
|
declare function listAppealQueue(context: TransportContext, input: {
|
|
@@ -2390,6 +3130,19 @@ declare function resolveAppeal(context: TransportContext, input: {
|
|
|
2390
3130
|
readonly body: AppealResolveRequest;
|
|
2391
3131
|
}): Promise<AppealResolveSignedResponse>;
|
|
2392
3132
|
//#endregion
|
|
3133
|
+
//#region src/admin/content-reports.d.ts
|
|
3134
|
+
declare function listAdminContentReports(context: TransportContext, input: {
|
|
3135
|
+
readonly bearer: string;
|
|
3136
|
+
readonly status?: "open" | "acknowledged" | "dismissed" | "all";
|
|
3137
|
+
readonly limit?: number;
|
|
3138
|
+
readonly offset?: number;
|
|
3139
|
+
}): Promise<AdminAppContentReportListResponse>;
|
|
3140
|
+
declare function triageAdminContentReport(context: TransportContext, input: {
|
|
3141
|
+
readonly bearer: string;
|
|
3142
|
+
readonly reportId: string;
|
|
3143
|
+
readonly status: "acknowledged" | "dismissed";
|
|
3144
|
+
}): Promise<AppContentReport>;
|
|
3145
|
+
//#endregion
|
|
2393
3146
|
//#region src/admin/developers.d.ts
|
|
2394
3147
|
declare function listDeveloperRequests(context: TransportContext, input: {
|
|
2395
3148
|
readonly bearer: string;
|
|
@@ -2405,6 +3158,12 @@ declare function listDevelopers(context: TransportContext, input: {
|
|
|
2405
3158
|
readonly bearer: string;
|
|
2406
3159
|
}): Promise<AdminDeveloperListResponse>;
|
|
2407
3160
|
//#endregion
|
|
3161
|
+
//#region src/admin/inventory-vault.d.ts
|
|
3162
|
+
declare function forceWithdrawVaultCustody(context: TransportContext, input: {
|
|
3163
|
+
readonly bearer: string;
|
|
3164
|
+
readonly custodyId: string;
|
|
3165
|
+
}): Promise<InventoryVaultForceWithdrawResponse>;
|
|
3166
|
+
//#endregion
|
|
2408
3167
|
//#region src/admin/payments.d.ts
|
|
2409
3168
|
declare function getPlatformFees(context: TransportContext, input: {
|
|
2410
3169
|
readonly bearer: string;
|
|
@@ -2513,6 +3272,7 @@ declare function listAudit(context: TransportContext, input: {
|
|
|
2513
3272
|
readonly actorId?: string;
|
|
2514
3273
|
readonly targetType?: string;
|
|
2515
3274
|
readonly targetId?: string;
|
|
3275
|
+
readonly cursor?: string;
|
|
2516
3276
|
readonly offset?: number;
|
|
2517
3277
|
readonly limit?: number;
|
|
2518
3278
|
}): Promise<AdminAuditListResponse>;
|
|
@@ -2523,6 +3283,113 @@ declare function getAppPage(context: TransportContext, input: {
|
|
|
2523
3283
|
readonly slug: string;
|
|
2524
3284
|
}): Promise<PublicAppPage>;
|
|
2525
3285
|
//#endregion
|
|
3286
|
+
//#region src/catalog/bip-updates.d.ts
|
|
3287
|
+
declare function listBipUpdates(context: TransportContext, input: {
|
|
3288
|
+
readonly bearer?: string;
|
|
3289
|
+
readonly slug: string;
|
|
3290
|
+
readonly limit?: number;
|
|
3291
|
+
readonly offset?: number;
|
|
3292
|
+
}): Promise<BipUpdateListResponse>;
|
|
3293
|
+
declare function listBipUpdateComments(context: TransportContext, input: {
|
|
3294
|
+
readonly bearer?: string;
|
|
3295
|
+
readonly slug: string;
|
|
3296
|
+
readonly updateId: string;
|
|
3297
|
+
readonly limit?: number;
|
|
3298
|
+
readonly offset?: number;
|
|
3299
|
+
}): Promise<BipUpdateCommentListResponse>;
|
|
3300
|
+
declare function getMyBipUpdateReactions(context: TransportContext, input: {
|
|
3301
|
+
readonly bearer: string;
|
|
3302
|
+
readonly slug: string;
|
|
3303
|
+
}): Promise<MyBipUpdateReactionsResponse>;
|
|
3304
|
+
declare function setBipUpdateReaction(context: TransportContext, input: {
|
|
3305
|
+
readonly bearer: string;
|
|
3306
|
+
readonly slug: string;
|
|
3307
|
+
readonly updateId: string;
|
|
3308
|
+
readonly body: SetBipUpdateReactionRequest;
|
|
3309
|
+
}): Promise<SetBipUpdateReactionResponse>;
|
|
3310
|
+
declare function commentOnBipUpdate(context: TransportContext, input: {
|
|
3311
|
+
readonly bearer: string;
|
|
3312
|
+
readonly slug: string;
|
|
3313
|
+
readonly updateId: string;
|
|
3314
|
+
readonly body: string;
|
|
3315
|
+
}): Promise<CreateBipUpdateCommentResponse>;
|
|
3316
|
+
declare function deleteBipUpdateComment(context: TransportContext, input: {
|
|
3317
|
+
readonly bearer: string;
|
|
3318
|
+
readonly slug: string;
|
|
3319
|
+
readonly commentId: string;
|
|
3320
|
+
}): Promise<DeleteBipUpdateCommentResponse>;
|
|
3321
|
+
declare function listDeveloperBipUpdates(context: TransportContext, input: {
|
|
3322
|
+
readonly bearer: string;
|
|
3323
|
+
readonly appId: string;
|
|
3324
|
+
readonly limit?: number;
|
|
3325
|
+
readonly offset?: number;
|
|
3326
|
+
}): Promise<BipUpdateListResponse>;
|
|
3327
|
+
declare function createBipUpdate(context: TransportContext, input: {
|
|
3328
|
+
readonly bearer: string;
|
|
3329
|
+
readonly appId: string;
|
|
3330
|
+
readonly body: CreateBipUpdateRequest;
|
|
3331
|
+
}): Promise<BipUpdate>;
|
|
3332
|
+
declare function updateBipUpdate(context: TransportContext, input: {
|
|
3333
|
+
readonly bearer: string;
|
|
3334
|
+
readonly appId: string;
|
|
3335
|
+
readonly updateId: string;
|
|
3336
|
+
readonly body: UpdateBipUpdateRequest;
|
|
3337
|
+
}): Promise<BipUpdate>;
|
|
3338
|
+
declare function deleteBipUpdate(context: TransportContext, input: {
|
|
3339
|
+
readonly bearer: string;
|
|
3340
|
+
readonly appId: string;
|
|
3341
|
+
readonly updateId: string;
|
|
3342
|
+
}): Promise<DeleteBipUpdateResponse>;
|
|
3343
|
+
declare function pinBipUpdate(context: TransportContext, input: {
|
|
3344
|
+
readonly bearer: string;
|
|
3345
|
+
readonly appId: string;
|
|
3346
|
+
readonly updateId: string;
|
|
3347
|
+
}): Promise<BipUpdate>;
|
|
3348
|
+
declare function unpinBipUpdate(context: TransportContext, input: {
|
|
3349
|
+
readonly bearer: string;
|
|
3350
|
+
readonly appId: string;
|
|
3351
|
+
readonly updateId: string;
|
|
3352
|
+
}): Promise<BipUpdate>;
|
|
3353
|
+
declare function uploadBipUpdateMedia(context: TransportContext, input: {
|
|
3354
|
+
readonly bearer: string;
|
|
3355
|
+
readonly appId: string;
|
|
3356
|
+
readonly file: Blob;
|
|
3357
|
+
readonly filename: string;
|
|
3358
|
+
readonly contentType: string;
|
|
3359
|
+
}): Promise<BipUpdateMediaUploadResponse>;
|
|
3360
|
+
declare function getBipInterestCount(context: TransportContext, input: {
|
|
3361
|
+
readonly bearer?: string;
|
|
3362
|
+
readonly slug: string;
|
|
3363
|
+
}): Promise<BipInterestCountResponse>;
|
|
3364
|
+
declare function getMyBipEngagement(context: TransportContext, input: {
|
|
3365
|
+
readonly bearer: string;
|
|
3366
|
+
readonly slug: string;
|
|
3367
|
+
}): Promise<BipEngagementResponse>;
|
|
3368
|
+
declare function registerBipInterest(context: TransportContext, input: {
|
|
3369
|
+
readonly bearer: string;
|
|
3370
|
+
readonly slug: string;
|
|
3371
|
+
readonly interested: boolean;
|
|
3372
|
+
}): Promise<BipEngagementResponse>;
|
|
3373
|
+
declare function subscribeBipUpdates(context: TransportContext, input: {
|
|
3374
|
+
readonly bearer: string;
|
|
3375
|
+
readonly slug: string;
|
|
3376
|
+
readonly subscribed: boolean;
|
|
3377
|
+
}): Promise<BipEngagementResponse>;
|
|
3378
|
+
//#endregion
|
|
3379
|
+
//#region src/catalog/build-in-public.d.ts
|
|
3380
|
+
declare function getBipDirectory(context: TransportContext, input: {
|
|
3381
|
+
readonly bearer?: string;
|
|
3382
|
+
readonly genre?: string;
|
|
3383
|
+
readonly q?: string;
|
|
3384
|
+
readonly sort?: "newest" | "top";
|
|
3385
|
+
readonly before?: string;
|
|
3386
|
+
readonly limit?: number;
|
|
3387
|
+
}): Promise<LibraryListResponse>;
|
|
3388
|
+
declare function getBipPage(context: TransportContext, input: {
|
|
3389
|
+
readonly bearer?: string;
|
|
3390
|
+
readonly slug: string;
|
|
3391
|
+
}): Promise<PublicBipPage>;
|
|
3392
|
+
//#endregion
|
|
2526
3393
|
//#region src/catalog/content-reports.d.ts
|
|
2527
3394
|
declare function submitAppContentReport(context: TransportContext, input: {
|
|
2528
3395
|
readonly appId: string;
|
|
@@ -2535,6 +3402,7 @@ declare function getLibrary(context: TransportContext, input: {
|
|
|
2535
3402
|
readonly bearer?: string;
|
|
2536
3403
|
readonly genre?: string;
|
|
2537
3404
|
readonly q?: string;
|
|
3405
|
+
readonly sort?: "newest" | "top";
|
|
2538
3406
|
readonly before?: string;
|
|
2539
3407
|
readonly limit?: number;
|
|
2540
3408
|
}): Promise<LibraryListResponse>;
|
|
@@ -2567,6 +3435,41 @@ declare function deleteMyGameReview(context: TransportContext, input: {
|
|
|
2567
3435
|
readonly slug: string;
|
|
2568
3436
|
readonly bearer: string;
|
|
2569
3437
|
}): Promise<MyReviewResponse>;
|
|
3438
|
+
declare function getMyGameReviewReactions(context: TransportContext, input: {
|
|
3439
|
+
readonly slug: string;
|
|
3440
|
+
readonly bearer: string;
|
|
3441
|
+
}): Promise<MyReviewReactionsResponse>;
|
|
3442
|
+
declare function setMyGameReviewReaction(context: TransportContext, input: {
|
|
3443
|
+
readonly slug: string;
|
|
3444
|
+
readonly reviewId: string;
|
|
3445
|
+
readonly bearer: string;
|
|
3446
|
+
readonly reaction: SetReviewReactionRequest;
|
|
3447
|
+
}): Promise<SetReviewReactionResponse>;
|
|
3448
|
+
declare function tipGameReview(context: TransportContext, input: {
|
|
3449
|
+
readonly slug: string;
|
|
3450
|
+
readonly reviewId: string;
|
|
3451
|
+
readonly bearer: string;
|
|
3452
|
+
readonly tip: TipReviewRequest;
|
|
3453
|
+
readonly idempotencyKey?: string;
|
|
3454
|
+
}): Promise<TipReviewResponse>;
|
|
3455
|
+
declare function listGameReviewComments(context: TransportContext, input: {
|
|
3456
|
+
readonly slug: string;
|
|
3457
|
+
readonly reviewId: string;
|
|
3458
|
+
readonly bearer?: string;
|
|
3459
|
+
readonly limit?: number;
|
|
3460
|
+
readonly offset?: number;
|
|
3461
|
+
}): Promise<ReviewCommentListResponse>;
|
|
3462
|
+
declare function commentOnGameReview(context: TransportContext, input: {
|
|
3463
|
+
readonly slug: string;
|
|
3464
|
+
readonly reviewId: string;
|
|
3465
|
+
readonly bearer: string;
|
|
3466
|
+
readonly comment: CreateReviewCommentRequest;
|
|
3467
|
+
}): Promise<CreateReviewCommentResponse>;
|
|
3468
|
+
declare function deleteGameReviewComment(context: TransportContext, input: {
|
|
3469
|
+
readonly slug: string;
|
|
3470
|
+
readonly commentId: string;
|
|
3471
|
+
readonly bearer: string;
|
|
3472
|
+
}): Promise<DeleteReviewCommentResponse>;
|
|
2570
3473
|
declare function replyToGameReview(context: TransportContext, input: {
|
|
2571
3474
|
readonly appId: string;
|
|
2572
3475
|
readonly reviewId: string;
|
|
@@ -2652,6 +3555,9 @@ declare function getPaymentHistory(context: TransportContext, input: {
|
|
|
2652
3555
|
readonly before?: string;
|
|
2653
3556
|
}): Promise<PaymentHistoryResponse>;
|
|
2654
3557
|
//#endregion
|
|
3558
|
+
//#region src/dashboard/rates.d.ts
|
|
3559
|
+
declare function getPaymentRates(context: TransportContext): Promise<PaymentRatesResponse>;
|
|
3560
|
+
//#endregion
|
|
2655
3561
|
//#region src/developer/api-keys.d.ts
|
|
2656
3562
|
declare function createDeveloperApiKey(context: TransportContext, input: {
|
|
2657
3563
|
readonly bearer: string;
|
|
@@ -2789,6 +3695,53 @@ declare function updateDeveloperAppContentReportStatus(context: TransportContext
|
|
|
2789
3695
|
readonly status: "acknowledged" | "dismissed";
|
|
2790
3696
|
}): Promise<AppContentReport>;
|
|
2791
3697
|
//#endregion
|
|
3698
|
+
//#region src/developer/inventory.d.ts
|
|
3699
|
+
declare function quoteDeveloperAppInventoryRegistration(context: TransportContext, input: {
|
|
3700
|
+
readonly bearer: string;
|
|
3701
|
+
readonly appId: string;
|
|
3702
|
+
readonly registration: InventoryItemRegistrationInput;
|
|
3703
|
+
}): Promise<InventoryRegistrationQuote>;
|
|
3704
|
+
declare function registerDeveloperAppInventoryItem(context: TransportContext, input: {
|
|
3705
|
+
readonly bearer: string;
|
|
3706
|
+
readonly appId: string;
|
|
3707
|
+
readonly registration: InventoryItemRegistrationInput;
|
|
3708
|
+
}): Promise<InventoryItemRegistrationResult>;
|
|
3709
|
+
declare function listDeveloperAppInventoryCollections(context: TransportContext, input: {
|
|
3710
|
+
readonly bearer: string;
|
|
3711
|
+
readonly appId: string;
|
|
3712
|
+
}): Promise<InventoryCollectionListResponse>;
|
|
3713
|
+
declare function listDeveloperAppInventoryItems(context: TransportContext, input: {
|
|
3714
|
+
readonly bearer: string;
|
|
3715
|
+
readonly appId: string;
|
|
3716
|
+
}): Promise<InventoryItemListResponse>;
|
|
3717
|
+
declare function createDeveloperAppMintPermit(context: TransportContext, input: {
|
|
3718
|
+
readonly bearer: string;
|
|
3719
|
+
readonly appId: string;
|
|
3720
|
+
readonly itemId: string;
|
|
3721
|
+
readonly grant: InventoryMintPermitCreateInput;
|
|
3722
|
+
}): Promise<InventoryMintPermitRecord>;
|
|
3723
|
+
declare function getDeveloperAppInventoryItemHolders(context: TransportContext, input: {
|
|
3724
|
+
readonly bearer: string;
|
|
3725
|
+
readonly appId: string;
|
|
3726
|
+
readonly itemId: string;
|
|
3727
|
+
}): Promise<InventoryItemHoldersResponse>;
|
|
3728
|
+
declare function uploadDeveloperAppInventoryItemImage(context: TransportContext, input: {
|
|
3729
|
+
readonly bearer: string;
|
|
3730
|
+
readonly appId: string;
|
|
3731
|
+
readonly itemId: string;
|
|
3732
|
+
readonly file: Blob | ArrayBufferView | ArrayBuffer;
|
|
3733
|
+
readonly filename: string;
|
|
3734
|
+
readonly contentType: string;
|
|
3735
|
+
}): Promise<InventoryItemRecord>;
|
|
3736
|
+
declare function uploadDeveloperAppInventoryItemBanner(context: TransportContext, input: {
|
|
3737
|
+
readonly bearer: string;
|
|
3738
|
+
readonly appId: string;
|
|
3739
|
+
readonly itemId: string;
|
|
3740
|
+
readonly file: Blob | ArrayBufferView | ArrayBuffer;
|
|
3741
|
+
readonly filename: string;
|
|
3742
|
+
readonly contentType: string;
|
|
3743
|
+
}): Promise<InventoryItemRecord>;
|
|
3744
|
+
//#endregion
|
|
2792
3745
|
//#region src/developer/pages.d.ts
|
|
2793
3746
|
declare function getDeveloperAppPage(context: TransportContext, input: {
|
|
2794
3747
|
readonly bearer: string;
|
|
@@ -2847,6 +3800,19 @@ declare function unpublishAppPage(context: TransportContext, input: {
|
|
|
2847
3800
|
readonly bearer: string;
|
|
2848
3801
|
readonly appId: string;
|
|
2849
3802
|
}): Promise<AppPageDraft>;
|
|
3803
|
+
declare function setAppPageBip(context: TransportContext, input: {
|
|
3804
|
+
readonly bearer: string;
|
|
3805
|
+
readonly appId: string;
|
|
3806
|
+
readonly body: AppPageBipToggle;
|
|
3807
|
+
}): Promise<AppPageDraft>;
|
|
3808
|
+
declare function submitAppPageBipForReview(context: TransportContext, input: {
|
|
3809
|
+
readonly bearer: string;
|
|
3810
|
+
readonly appId: string;
|
|
3811
|
+
}): Promise<AppPageDraft>;
|
|
3812
|
+
declare function unpublishAppPageBip(context: TransportContext, input: {
|
|
3813
|
+
readonly bearer: string;
|
|
3814
|
+
readonly appId: string;
|
|
3815
|
+
}): Promise<AppPageDraft>;
|
|
2850
3816
|
//#endregion
|
|
2851
3817
|
//#region src/developer/participants.d.ts
|
|
2852
3818
|
declare function listDeveloperAppParticipants(context: TransportContext, input: {
|
|
@@ -2913,6 +3879,20 @@ declare function uploadMultipart(context: TransportContext, input: {
|
|
|
2913
3879
|
readonly contentType: string;
|
|
2914
3880
|
}): Promise<unknown>;
|
|
2915
3881
|
//#endregion
|
|
3882
|
+
//#region src/developer/vault.d.ts
|
|
3883
|
+
declare function createDeveloperVaultPermit(context: TransportContext, input: {
|
|
3884
|
+
readonly bearer: string;
|
|
3885
|
+
readonly appId: string;
|
|
3886
|
+
readonly itemId: string;
|
|
3887
|
+
readonly grant: InventoryVaultPermitCreateInput;
|
|
3888
|
+
}): Promise<InventoryVaultPermitRecord>;
|
|
3889
|
+
declare function createDeveloperWithdrawPermit(context: TransportContext, input: {
|
|
3890
|
+
readonly bearer: string;
|
|
3891
|
+
readonly appId: string;
|
|
3892
|
+
readonly itemId: string;
|
|
3893
|
+
readonly grant: InventoryWithdrawPermitCreateInput;
|
|
3894
|
+
}): Promise<InventoryVaultPermitRecord>;
|
|
3895
|
+
//#endregion
|
|
2916
3896
|
//#region src/inventory/list.d.ts
|
|
2917
3897
|
declare function listInventory(context: TransportContext, input: {
|
|
2918
3898
|
readonly bearer: string;
|
|
@@ -2921,12 +3901,55 @@ declare function listInventoryForApp(context: TransportContext, input: {
|
|
|
2921
3901
|
readonly bearer: string;
|
|
2922
3902
|
}): Promise<InventoryListResponse>;
|
|
2923
3903
|
//#endregion
|
|
3904
|
+
//#region src/inventory/nft-transfer.d.ts
|
|
3905
|
+
declare function quoteNftTransfer(context: TransportContext, input: {
|
|
3906
|
+
readonly bearer: string;
|
|
3907
|
+
readonly body: InventoryNftTransferQuoteRequest;
|
|
3908
|
+
}): Promise<InventoryNftTransferQuoteResponse>;
|
|
3909
|
+
declare function executeNftTransfer(context: TransportContext, input: {
|
|
3910
|
+
readonly bearer: string;
|
|
3911
|
+
readonly body: InventoryNftTransferRequest;
|
|
3912
|
+
}): Promise<InventoryNftTransferResponse>;
|
|
3913
|
+
//#endregion
|
|
3914
|
+
//#region src/inventory/permits.d.ts
|
|
3915
|
+
declare function listInventoryMintPermits(context: TransportContext, input: {
|
|
3916
|
+
readonly bearer: string;
|
|
3917
|
+
}): Promise<InventoryPendingPermitListResponse>;
|
|
3918
|
+
declare function redeemInventoryMintPermit(context: TransportContext, input: {
|
|
3919
|
+
readonly bearer: string;
|
|
3920
|
+
readonly permitId: string;
|
|
3921
|
+
}): Promise<InventoryPermitRedeemResult>;
|
|
3922
|
+
//#endregion
|
|
2924
3923
|
//#region src/inventory/request-mint.d.ts
|
|
2925
3924
|
declare function requestMint(context: TransportContext, input: {
|
|
2926
3925
|
readonly appBearer: string;
|
|
2927
3926
|
readonly body: MintRequestInput;
|
|
2928
3927
|
}): Promise<MintRequestResult>;
|
|
2929
3928
|
//#endregion
|
|
3929
|
+
//#region src/inventory/vault.d.ts
|
|
3930
|
+
declare function listInventoryVaultPermits(context: TransportContext, input: {
|
|
3931
|
+
readonly bearer: string;
|
|
3932
|
+
}): Promise<InventoryPendingVaultPermitListResponse>;
|
|
3933
|
+
declare function signInventoryVaultPermit(context: TransportContext, input: {
|
|
3934
|
+
readonly bearer: string;
|
|
3935
|
+
readonly permitId: string;
|
|
3936
|
+
}): Promise<InventorySignedVaultPermit>;
|
|
3937
|
+
declare function quoteRelayedVaultPermit(context: TransportContext, input: {
|
|
3938
|
+
readonly bearer: string;
|
|
3939
|
+
readonly permitId: string;
|
|
3940
|
+
}): Promise<InventoryRelayedVaultQuoteResponse>;
|
|
3941
|
+
declare function submitRelayedVaultPermit(context: TransportContext, input: {
|
|
3942
|
+
readonly bearer: string;
|
|
3943
|
+
readonly permitId: string;
|
|
3944
|
+
readonly body: InventoryRelayedVaultSubmitRequest;
|
|
3945
|
+
}): Promise<InventoryRelayedVaultSubmitResponse>;
|
|
3946
|
+
declare function listInventoryVaulted(context: TransportContext, input: {
|
|
3947
|
+
readonly bearer: string;
|
|
3948
|
+
}): Promise<InventoryVaultCustodyListResponse>;
|
|
3949
|
+
declare function listOauthInventoryVaulted(context: TransportContext, input: {
|
|
3950
|
+
readonly bearer: string;
|
|
3951
|
+
}): Promise<InventoryVaultCustodyListResponse>;
|
|
3952
|
+
//#endregion
|
|
2930
3953
|
//#region src/messaging/dm-key-backup.d.ts
|
|
2931
3954
|
declare function getDmKeyBackupStatus(context: TransportContext, input: {
|
|
2932
3955
|
readonly bearer: string;
|
|
@@ -3161,6 +4184,15 @@ declare function denyPaymentIntent(context: TransportContext, input: {
|
|
|
3161
4184
|
readonly bearer: string;
|
|
3162
4185
|
readonly intentId: string;
|
|
3163
4186
|
}): Promise<OauthPaymentIntentResolveResponse>;
|
|
4187
|
+
declare function preparePaymentIntentSolana(context: TransportContext, input: {
|
|
4188
|
+
readonly bearer: string;
|
|
4189
|
+
readonly intentId: string;
|
|
4190
|
+
}): Promise<OauthPaymentIntentSolanaPrepareResponse>;
|
|
4191
|
+
declare function completePaymentIntentSolana(context: TransportContext, input: {
|
|
4192
|
+
readonly bearer: string;
|
|
4193
|
+
readonly intentId: string;
|
|
4194
|
+
readonly body: OauthPaymentIntentSolanaCompleteRequest;
|
|
4195
|
+
}): Promise<OauthPaymentIntentResolveResponse>;
|
|
3164
4196
|
//#endregion
|
|
3165
4197
|
//#region src/payments/limits.d.ts
|
|
3166
4198
|
declare function getPaymentLimits(context: TransportContext, input: {
|
|
@@ -3203,6 +4235,22 @@ declare function createTronDeposit(context: TransportContext, input: {
|
|
|
3203
4235
|
readonly bearer: string;
|
|
3204
4236
|
readonly body: TronDepositRequest;
|
|
3205
4237
|
}): Promise<TronDepositResponse>;
|
|
4238
|
+
declare function createTronTransfer(context: TransportContext, input: {
|
|
4239
|
+
readonly bearer: string;
|
|
4240
|
+
readonly body: TronTransferRequest;
|
|
4241
|
+
readonly idempotencyKey?: string;
|
|
4242
|
+
}): Promise<TronTransferResponse>;
|
|
4243
|
+
declare function getTronSecurity(context: TransportContext, input: {
|
|
4244
|
+
readonly bearer: string;
|
|
4245
|
+
}): Promise<TronSecuritySetting>;
|
|
4246
|
+
declare function setTronSecurity(context: TransportContext, input: {
|
|
4247
|
+
readonly bearer: string;
|
|
4248
|
+
readonly setting: TronSecuritySetting;
|
|
4249
|
+
}): Promise<TronSecuritySetting>;
|
|
4250
|
+
declare function createTronTransferChallenge(context: TransportContext, input: {
|
|
4251
|
+
readonly bearer: string;
|
|
4252
|
+
readonly body: TronTransferChallengeRequest;
|
|
4253
|
+
}): Promise<TronTransferChallengeResponse>;
|
|
3206
4254
|
declare function createTronConnectOnboarding(context: TransportContext, input: {
|
|
3207
4255
|
readonly bearer: string;
|
|
3208
4256
|
}): Promise<TronConnectOnboardingResponse>;
|
|
@@ -3339,6 +4387,10 @@ declare function sendFriendRequest(context: TransportContext, input: {
|
|
|
3339
4387
|
readonly bearer: string;
|
|
3340
4388
|
readonly userId: string;
|
|
3341
4389
|
}): Promise<void>;
|
|
4390
|
+
declare function removeFriend(context: TransportContext, input: {
|
|
4391
|
+
readonly bearer: string;
|
|
4392
|
+
readonly userId: string;
|
|
4393
|
+
}): Promise<void>;
|
|
3342
4394
|
declare function decideFriendRequest(context: TransportContext, input: {
|
|
3343
4395
|
readonly bearer: string;
|
|
3344
4396
|
readonly requestId: string;
|
|
@@ -3351,6 +4403,9 @@ declare function cancelFriendRequest(context: TransportContext, input: {
|
|
|
3351
4403
|
declare function listFriends(context: TransportContext, input: {
|
|
3352
4404
|
readonly bearer: string;
|
|
3353
4405
|
}): Promise<FriendListResponse>;
|
|
4406
|
+
declare function listFriendsForApp(context: TransportContext, input: {
|
|
4407
|
+
readonly bearer: string;
|
|
4408
|
+
}): Promise<AppFriendListResponse>;
|
|
3354
4409
|
//#endregion
|
|
3355
4410
|
//#region src/reads/socials.d.ts
|
|
3356
4411
|
declare function listSocials(context: TransportContext, input: {
|
|
@@ -3642,4 +4697,4 @@ type CookieTokenStoreOptions = {
|
|
|
3642
4697
|
};
|
|
3643
4698
|
declare function createCookieTokenStore(options?: CookieTokenStoreOptions): TokenStore;
|
|
3644
4699
|
//#endregion
|
|
3645
|
-
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 };
|
|
4700
|
+
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, completePaymentIntentSolana, 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, getPaymentRates, 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, pinBipUpdate, pinThread, postAdminAppealRoomMessage, postAppealRoomMessage, preparePaymentIntentSolana, 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, unpinBipUpdate, unpinThread, unpublishAppPage, unpublishAppPageBip, updateAdminRole, updateAppFeeConfig, updateAppPage, updateBipUpdate, updateDeveloperApp, updateDeveloperAppAutoSweep, updateDeveloperAppContentReportStatus, updateDeveloperProfile, updateNotification, updateParticipantRole, updatePaymentAuthorization, updatePlatformFees, updateProfile, updateThreadSettings, updateUserBan, updateWalletLabel, uploadAdminAppealRoomAttachment, uploadAppPageBanner, uploadAppPageGallery, uploadAppPageThumbnail, uploadAppPageThumbnailVideo, uploadAppealRoomAttachment, uploadAttachment, uploadAvatar, uploadBipUpdateMedia, uploadDeveloperAppInventoryItemBanner, uploadDeveloperAppInventoryItemImage, uploadDeveloperAppLogo, uploadDeveloperProfileLogo, uploadDeveloperRequestLogo, uploadMultipart, uploadThreadLogo, upsertMyGameReview, verifyWebhook, withdrawDeveloperAppWallet };
|