@metatrongg/sdk 0.8.0-dev.a70a494 → 0.8.0-dev.ae9c911
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 +1008 -20
- package/dist/browser/index.js +1 -1
- package/dist/contracts/index.d.ts +13536 -6072
- package/dist/contracts/index.js +1 -1
- package/dist/index.js +1 -1
- package/dist/node/index.d.ts +1088 -45
- package/dist/node/index.js +1 -1
- package/dist/webhook/express.js +1 -1
- package/dist/webhook/fastify.js +1 -1
- package/dist/webhook/hono.js +1 -1
- package/dist/webhook/index.js +1 -1
- package/package.json +2 -1
package/dist/node/index.d.ts
CHANGED
|
@@ -114,7 +114,7 @@ type Username = string;
|
|
|
114
114
|
type DisplayName = string | null;
|
|
115
115
|
type Bio = string | null;
|
|
116
116
|
type WebsiteUrl = string | null;
|
|
117
|
-
type BannerVariant = "yellow" | "green" | "blue" | "white" | "black";
|
|
117
|
+
type BannerVariant = "yellow" | "green" | "blue" | "white" | "black" | "red";
|
|
118
118
|
type AdminRole = "super-admin" | "admin" | "read-only" | null;
|
|
119
119
|
type PresenceStatusMode = "auto" | "online" | "offline";
|
|
120
120
|
type PlatformEnvironment = "development" | "production";
|
|
@@ -129,7 +129,7 @@ type OauthAuthorizationServerMetadata = {
|
|
|
129
129
|
grant_types_supported: Array<"authorization_code" | "refresh_token" | "client_credentials">;
|
|
130
130
|
code_challenge_methods_supported: Array<"S256">;
|
|
131
131
|
token_endpoint_auth_methods_supported: Array<"client_secret_basic" | "client_secret_post" | "none">;
|
|
132
|
-
scopes_supported: Array<"openid" | "profile" | "payments:charge" | "inventory:read" | "developer:read" | "developer:apps" | "developer:pages">;
|
|
132
|
+
scopes_supported: Array<"openid" | "profile" | "payments:charge" | "inventory:read" | "social:read" | "developer:read" | "developer:apps" | "developer:pages">;
|
|
133
133
|
};
|
|
134
134
|
type OauthClientRegistrationResponse = {
|
|
135
135
|
client_id: string;
|
|
@@ -169,7 +169,9 @@ type OauthErrorResponse = {
|
|
|
169
169
|
type OauthUserInfoResponse = {
|
|
170
170
|
sub: string;
|
|
171
171
|
name: string | null;
|
|
172
|
+
preferred_username: string | null;
|
|
172
173
|
picture: string | null;
|
|
174
|
+
wallet_address: string | null;
|
|
173
175
|
};
|
|
174
176
|
type OauthPaymentChargeResponse = ({
|
|
175
177
|
status: "completed";
|
|
@@ -288,7 +290,16 @@ type OauthPaymentIntentContext = {
|
|
|
288
290
|
studioXHandle: string | null;
|
|
289
291
|
};
|
|
290
292
|
} | null;
|
|
293
|
+
environment: "development" | "production";
|
|
294
|
+
onramp?: {
|
|
295
|
+
kind: "bridge";
|
|
296
|
+
from: PaymentNetwork;
|
|
297
|
+
to: PaymentNetwork;
|
|
298
|
+
} | {
|
|
299
|
+
kind: "insufficient";
|
|
300
|
+
};
|
|
291
301
|
};
|
|
302
|
+
type PaymentNetwork = "ethereum" | "base" | "solana";
|
|
292
303
|
type OauthPaymentIntentSignResponse = {
|
|
293
304
|
chain: string;
|
|
294
305
|
chainId: number;
|
|
@@ -318,6 +329,13 @@ type OauthPaymentIntentCompleteSigned = {
|
|
|
318
329
|
type OauthPaymentIntentCompleteOffline = {
|
|
319
330
|
method: "offline";
|
|
320
331
|
};
|
|
332
|
+
type OauthPaymentIntentSolanaPrepareResponse = {
|
|
333
|
+
transaction: string;
|
|
334
|
+
payer: string;
|
|
335
|
+
};
|
|
336
|
+
type OauthPaymentIntentSolanaCompleteRequest = {
|
|
337
|
+
signedTransaction: string;
|
|
338
|
+
};
|
|
321
339
|
type ListAppPaymentAuthorizationsResponse = {
|
|
322
340
|
authorizations: Array<AppPaymentAuthorizationItem>;
|
|
323
341
|
};
|
|
@@ -384,6 +402,7 @@ type PublicAppPage = {
|
|
|
384
402
|
paymentsMode: AppPagePaymentsMode;
|
|
385
403
|
oauthScopes: Array<string>;
|
|
386
404
|
chains: Array<string>;
|
|
405
|
+
devlog: boolean;
|
|
387
406
|
publishedAt: string;
|
|
388
407
|
updatedAt: string;
|
|
389
408
|
};
|
|
@@ -421,6 +440,121 @@ type AppPageAgeRating = "everyone" | "13_plus" | "16_plus" | "18_plus" | null;
|
|
|
421
440
|
type AppPageLanguages = Array<"en" | "es" | "fr" | "de" | "pt" | "it" | "ru" | "ja" | "ko" | "zh" | "hi" | "ar" | "tr" | "vi" | "id" | "th" | "pl" | "nl">;
|
|
422
441
|
type AppPageReleaseStatus = "live" | "open_beta" | "coming_soon";
|
|
423
442
|
type AppPagePaymentsMode = "tron" | "onchain" | "both" | null;
|
|
443
|
+
type PublicBipPage = {
|
|
444
|
+
appId: string;
|
|
445
|
+
slug: AppPageSlug;
|
|
446
|
+
appName: string;
|
|
447
|
+
appLogoUrl: string | null;
|
|
448
|
+
categories: AppPageCategories;
|
|
449
|
+
tagline: AppPageTagline;
|
|
450
|
+
bannerUrl: string | null;
|
|
451
|
+
discordUrl: string | null;
|
|
452
|
+
twitterUrl: string | null;
|
|
453
|
+
redditUrl: string | null;
|
|
454
|
+
telegramUrl: string | null;
|
|
455
|
+
gallery: AppPageGallery;
|
|
456
|
+
chapters: AppPageChapters;
|
|
457
|
+
links: AppPageLinks;
|
|
458
|
+
studio: PublicAppPageStudio;
|
|
459
|
+
platforms: AppPagePlatforms;
|
|
460
|
+
gameType: AppPageGameType;
|
|
461
|
+
ageRating: AppPageAgeRating;
|
|
462
|
+
languages: AppPageLanguages;
|
|
463
|
+
releaseStatus: AppPageReleaseStatus;
|
|
464
|
+
publishedAt: string;
|
|
465
|
+
updatedAt: string;
|
|
466
|
+
};
|
|
467
|
+
type BipUpdateListResponse = {
|
|
468
|
+
updates: Array<BipUpdate>;
|
|
469
|
+
total: number;
|
|
470
|
+
hasMore: boolean;
|
|
471
|
+
pinned: BipUpdate | null;
|
|
472
|
+
};
|
|
473
|
+
type BipUpdate = {
|
|
474
|
+
id: string;
|
|
475
|
+
appId: string;
|
|
476
|
+
body: BipUpdateBody;
|
|
477
|
+
attachments: BipUpdateAttachments;
|
|
478
|
+
reactions: BipUpdateReactionCounts;
|
|
479
|
+
commentCount: number;
|
|
480
|
+
createdAt: string;
|
|
481
|
+
updatedAt: string;
|
|
482
|
+
pinnedAt: string | null;
|
|
483
|
+
};
|
|
484
|
+
type BipUpdateBody = string;
|
|
485
|
+
type BipUpdateAttachments = Array<BipUpdateAttachment>;
|
|
486
|
+
type BipUpdateAttachment = {
|
|
487
|
+
url: string;
|
|
488
|
+
kind: "image" | "video";
|
|
489
|
+
order: number;
|
|
490
|
+
};
|
|
491
|
+
type BipUpdateReactionCounts = {
|
|
492
|
+
up: number;
|
|
493
|
+
down: number;
|
|
494
|
+
};
|
|
495
|
+
type BipUpdateCommentListResponse = {
|
|
496
|
+
comments: Array<BipUpdateComment>;
|
|
497
|
+
total: number;
|
|
498
|
+
hasMore: boolean;
|
|
499
|
+
};
|
|
500
|
+
type BipUpdateComment = {
|
|
501
|
+
id: string;
|
|
502
|
+
body: BipUpdateCommentBody;
|
|
503
|
+
author: ReviewAuthor;
|
|
504
|
+
createdAt: string;
|
|
505
|
+
};
|
|
506
|
+
type BipUpdateCommentBody = string;
|
|
507
|
+
type ReviewAuthor = {
|
|
508
|
+
userId: string;
|
|
509
|
+
handle: string | null;
|
|
510
|
+
name: string | null;
|
|
511
|
+
avatarUrl: string | null;
|
|
512
|
+
};
|
|
513
|
+
type BipInterestCountResponse = {
|
|
514
|
+
interestCount: number;
|
|
515
|
+
};
|
|
516
|
+
type BipEngagementResponse = {
|
|
517
|
+
interested: boolean;
|
|
518
|
+
subscribed: boolean;
|
|
519
|
+
interestCount: number;
|
|
520
|
+
};
|
|
521
|
+
type MyBipUpdateReactionsResponse = {
|
|
522
|
+
reactions: Array<MyBipUpdateReaction>;
|
|
523
|
+
};
|
|
524
|
+
type MyBipUpdateReaction = {
|
|
525
|
+
updateId: string;
|
|
526
|
+
vote: "up" | "down";
|
|
527
|
+
};
|
|
528
|
+
type SetBipUpdateReactionResponse = {
|
|
529
|
+
reactions: BipUpdateReactionCounts;
|
|
530
|
+
vote: BipUpdateVote;
|
|
531
|
+
};
|
|
532
|
+
type BipUpdateVote = "up" | "down" | null;
|
|
533
|
+
type SetBipUpdateReactionRequest = {
|
|
534
|
+
vote: BipUpdateVote;
|
|
535
|
+
};
|
|
536
|
+
type CreateBipUpdateCommentResponse = {
|
|
537
|
+
comment: BipUpdateComment;
|
|
538
|
+
commentCount: number;
|
|
539
|
+
};
|
|
540
|
+
type DeleteBipUpdateCommentResponse = {
|
|
541
|
+
commentCount: number;
|
|
542
|
+
};
|
|
543
|
+
type CreateBipUpdateRequest = {
|
|
544
|
+
body: BipUpdateBody;
|
|
545
|
+
attachments?: BipUpdateAttachments;
|
|
546
|
+
};
|
|
547
|
+
type UpdateBipUpdateRequest = {
|
|
548
|
+
body?: BipUpdateBody;
|
|
549
|
+
attachments?: BipUpdateAttachments;
|
|
550
|
+
};
|
|
551
|
+
type DeleteBipUpdateResponse = {
|
|
552
|
+
deleted: true;
|
|
553
|
+
};
|
|
554
|
+
type BipUpdateMediaUploadResponse = {
|
|
555
|
+
url: string;
|
|
556
|
+
kind: "image" | "video";
|
|
557
|
+
};
|
|
424
558
|
type ReviewListResponse = {
|
|
425
559
|
aggregate: ReviewAggregate;
|
|
426
560
|
reviews: Array<Review>;
|
|
@@ -438,25 +572,33 @@ type Review = {
|
|
|
438
572
|
id: string;
|
|
439
573
|
recommended: ReviewRecommended;
|
|
440
574
|
body: ReviewBody;
|
|
575
|
+
reactions: ReviewReactionCounts;
|
|
576
|
+
tippedCents: number;
|
|
577
|
+
commentCount: number;
|
|
441
578
|
author: ReviewAuthor;
|
|
579
|
+
authorStats: ReviewerStats;
|
|
442
580
|
developerReply: ReviewReply;
|
|
443
581
|
createdAt: string;
|
|
444
582
|
updatedAt: string;
|
|
445
583
|
};
|
|
446
584
|
type ReviewRecommended = boolean;
|
|
447
585
|
type ReviewBody = string;
|
|
448
|
-
type
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
586
|
+
type ReviewReactionCounts = {
|
|
587
|
+
helpful: number;
|
|
588
|
+
unhelpful: number;
|
|
589
|
+
funny: number;
|
|
590
|
+
};
|
|
591
|
+
type ReviewerStats = {
|
|
592
|
+
playtimeSecondsThisGame: number;
|
|
593
|
+
gamesPlayed: number;
|
|
594
|
+
reviewsWritten: number;
|
|
453
595
|
};
|
|
454
596
|
type ReviewReply = {
|
|
455
597
|
body: ReviewReplyBody;
|
|
456
598
|
repliedAt: string;
|
|
457
599
|
} | null;
|
|
458
600
|
type ReviewReplyBody = string;
|
|
459
|
-
type ReviewSort = "newest" | "oldest";
|
|
601
|
+
type ReviewSort = "newest" | "oldest" | "helpful";
|
|
460
602
|
type MyReviewResponse = {
|
|
461
603
|
eligible: boolean;
|
|
462
604
|
eligibleVia: ReviewEligibilityReason;
|
|
@@ -475,6 +617,58 @@ type UpsertReviewRequest = {
|
|
|
475
617
|
recommended: ReviewRecommended;
|
|
476
618
|
body: ReviewBody;
|
|
477
619
|
};
|
|
620
|
+
type MyReviewReactionsResponse = {
|
|
621
|
+
reactions: Array<MyReviewReaction>;
|
|
622
|
+
};
|
|
623
|
+
type MyReviewReaction = {
|
|
624
|
+
reviewId: string;
|
|
625
|
+
vote: ReviewVote;
|
|
626
|
+
funny: boolean;
|
|
627
|
+
};
|
|
628
|
+
type ReviewVote = "helpful" | "unhelpful" | null;
|
|
629
|
+
type SetReviewReactionResponse = {
|
|
630
|
+
reactions: ReviewReactionCounts;
|
|
631
|
+
vote: ReviewVote;
|
|
632
|
+
funny: boolean;
|
|
633
|
+
};
|
|
634
|
+
type SetReviewReactionRequest = {
|
|
635
|
+
vote: ReviewVote;
|
|
636
|
+
funny: boolean;
|
|
637
|
+
};
|
|
638
|
+
type TipReviewResponse = {
|
|
639
|
+
status: "completed";
|
|
640
|
+
amountCents: number;
|
|
641
|
+
balanceCents: number;
|
|
642
|
+
tippedCents: number;
|
|
643
|
+
};
|
|
644
|
+
type TipReviewRequest = {
|
|
645
|
+
amountCents: number;
|
|
646
|
+
note?: string;
|
|
647
|
+
challengeId?: string;
|
|
648
|
+
signature?: string;
|
|
649
|
+
};
|
|
650
|
+
type ReviewCommentListResponse = {
|
|
651
|
+
comments: Array<ReviewComment>;
|
|
652
|
+
total: number;
|
|
653
|
+
hasMore: boolean;
|
|
654
|
+
};
|
|
655
|
+
type ReviewComment = {
|
|
656
|
+
id: string;
|
|
657
|
+
body: ReviewCommentBody;
|
|
658
|
+
author: ReviewAuthor;
|
|
659
|
+
createdAt: string;
|
|
660
|
+
};
|
|
661
|
+
type ReviewCommentBody = string;
|
|
662
|
+
type CreateReviewCommentResponse = {
|
|
663
|
+
comment: ReviewComment;
|
|
664
|
+
commentCount: number;
|
|
665
|
+
};
|
|
666
|
+
type CreateReviewCommentRequest = {
|
|
667
|
+
body: ReviewCommentBody;
|
|
668
|
+
};
|
|
669
|
+
type DeleteReviewCommentResponse = {
|
|
670
|
+
commentCount: number;
|
|
671
|
+
};
|
|
478
672
|
type ReviewReplyResponse = {
|
|
479
673
|
developerReply: ReviewReply;
|
|
480
674
|
};
|
|
@@ -582,7 +776,13 @@ type ActivityRow = ({
|
|
|
582
776
|
kind: "tron_transfer";
|
|
583
777
|
} & ActivityRowTronTransfer) | ({
|
|
584
778
|
kind: "referral_earning";
|
|
585
|
-
} & ActivityRowReferralEarning)
|
|
779
|
+
} & ActivityRowReferralEarning) | ({
|
|
780
|
+
kind: "nft_charge";
|
|
781
|
+
} & ActivityRowNftCharge) | ({
|
|
782
|
+
kind: "solana_stake";
|
|
783
|
+
} & ActivityRowSolanaStake) | ({
|
|
784
|
+
kind: "solana_pot_leg";
|
|
785
|
+
} & ActivityRowSolanaPotLeg);
|
|
586
786
|
type ActivityRowPayment = {
|
|
587
787
|
kind: "payment";
|
|
588
788
|
groupId: string | null;
|
|
@@ -894,6 +1094,72 @@ type ActivityRowReferralEarning = {
|
|
|
894
1094
|
logIndex: number;
|
|
895
1095
|
usdCents: number | null;
|
|
896
1096
|
};
|
|
1097
|
+
type ActivityRowNftCharge = {
|
|
1098
|
+
kind: "nft_charge";
|
|
1099
|
+
groupId: string | null;
|
|
1100
|
+
id: string;
|
|
1101
|
+
occurredAt: string;
|
|
1102
|
+
role: "outgoing";
|
|
1103
|
+
chargeKind: "registration" | "mint" | "transfer_gas";
|
|
1104
|
+
amountCents: number;
|
|
1105
|
+
usdCents: number;
|
|
1106
|
+
status: "settled";
|
|
1107
|
+
collectionAddress: string | null;
|
|
1108
|
+
tokenId: string | null;
|
|
1109
|
+
counterpartyUserId: string | null;
|
|
1110
|
+
counterpartyHandle: string | null;
|
|
1111
|
+
counterpartyDisplayName: string | null;
|
|
1112
|
+
};
|
|
1113
|
+
type ActivityRowSolanaStake = {
|
|
1114
|
+
kind: "solana_stake";
|
|
1115
|
+
groupId: string | null;
|
|
1116
|
+
id: string;
|
|
1117
|
+
chain: string;
|
|
1118
|
+
occurredAt: string;
|
|
1119
|
+
role: "outgoing" | "incoming";
|
|
1120
|
+
amount: string;
|
|
1121
|
+
token: string;
|
|
1122
|
+
potId: string | null;
|
|
1123
|
+
usdCents: number;
|
|
1124
|
+
status: "completed";
|
|
1125
|
+
txHash: string | null;
|
|
1126
|
+
app: {
|
|
1127
|
+
id: string;
|
|
1128
|
+
name: string;
|
|
1129
|
+
logoUrl: string | null;
|
|
1130
|
+
slug: string | null;
|
|
1131
|
+
bannerUrl: string | null;
|
|
1132
|
+
} | null;
|
|
1133
|
+
stakerUserId?: string | null;
|
|
1134
|
+
stakerHandle?: string | null;
|
|
1135
|
+
stakerDisplayName?: string | null;
|
|
1136
|
+
metadata?: PaymentMetadata | null;
|
|
1137
|
+
};
|
|
1138
|
+
type ActivityRowSolanaPotLeg = {
|
|
1139
|
+
kind: "solana_pot_leg";
|
|
1140
|
+
groupId: string | null;
|
|
1141
|
+
id: string;
|
|
1142
|
+
chain: string;
|
|
1143
|
+
occurredAt: string;
|
|
1144
|
+
role: "outgoing" | "incoming";
|
|
1145
|
+
beneficiary: string;
|
|
1146
|
+
potId: string | null;
|
|
1147
|
+
amount: string;
|
|
1148
|
+
token: string;
|
|
1149
|
+
usdCents: number | null;
|
|
1150
|
+
status: "settled";
|
|
1151
|
+
app: {
|
|
1152
|
+
id: string;
|
|
1153
|
+
name: string;
|
|
1154
|
+
logoUrl: string | null;
|
|
1155
|
+
slug: string | null;
|
|
1156
|
+
bannerUrl: string | null;
|
|
1157
|
+
} | null;
|
|
1158
|
+
txHash: string | null;
|
|
1159
|
+
recipientUserId?: string | null;
|
|
1160
|
+
recipientHandle?: string | null;
|
|
1161
|
+
recipientDisplayName?: string | null;
|
|
1162
|
+
};
|
|
897
1163
|
type OutstandingResponse = {
|
|
898
1164
|
rows: Array<OutstandingByToken>;
|
|
899
1165
|
};
|
|
@@ -943,7 +1209,7 @@ type TronLedgerResponse = {
|
|
|
943
1209
|
};
|
|
944
1210
|
type TronLedgerEntry = {
|
|
945
1211
|
id: string;
|
|
946
|
-
kind: "deposit" | "pot_stake" | "pot_payout" | "dev_earning" | "cashout_hold" | "cashout_release" | "dispute_freeze" | "dispute_unfreeze" | "hosted_billing" | "store_purchase" | "referral_earning" | "peer_transfer";
|
|
1212
|
+
kind: "deposit" | "pot_stake" | "pot_payout" | "dev_earning" | "cashout_hold" | "cashout_release" | "dispute_freeze" | "dispute_unfreeze" | "hosted_billing" | "store_purchase" | "referral_earning" | "peer_transfer" | "nft_registration" | "nft_mint" | "nft_gas";
|
|
947
1213
|
amountCents: number;
|
|
948
1214
|
currency: string;
|
|
949
1215
|
createdAt: string;
|
|
@@ -972,6 +1238,30 @@ type TronTransferRequest = {
|
|
|
972
1238
|
recipientUserId: string;
|
|
973
1239
|
amountCents: number;
|
|
974
1240
|
note?: string;
|
|
1241
|
+
challengeId?: string;
|
|
1242
|
+
signature?: string;
|
|
1243
|
+
threadId?: string;
|
|
1244
|
+
};
|
|
1245
|
+
type TronSecuritySetting = {
|
|
1246
|
+
requireSignature: boolean;
|
|
1247
|
+
};
|
|
1248
|
+
type TronTransferChallengeResponse = ({
|
|
1249
|
+
required: false;
|
|
1250
|
+
} & TronTransferChallengeNotRequired) | ({
|
|
1251
|
+
required: true;
|
|
1252
|
+
} & TronTransferChallengeRequired);
|
|
1253
|
+
type TronTransferChallengeNotRequired = {
|
|
1254
|
+
required: false;
|
|
1255
|
+
};
|
|
1256
|
+
type TronTransferChallengeRequired = {
|
|
1257
|
+
required: true;
|
|
1258
|
+
challengeId: string;
|
|
1259
|
+
message: string;
|
|
1260
|
+
expiresAt: string;
|
|
1261
|
+
};
|
|
1262
|
+
type TronTransferChallengeRequest = {
|
|
1263
|
+
recipientUserId: string;
|
|
1264
|
+
amountCents: number;
|
|
975
1265
|
};
|
|
976
1266
|
type TronGameBalanceResponse = {
|
|
977
1267
|
balanceCents: number;
|
|
@@ -1105,12 +1395,15 @@ type WalletListResponse = {
|
|
|
1105
1395
|
wallets: Array<WalletItem>;
|
|
1106
1396
|
};
|
|
1107
1397
|
type WalletChainList = Array<{
|
|
1108
|
-
id: "ethereum-mainnet" | "base-mainnet" | "ethereum-sepolia";
|
|
1398
|
+
id: "ethereum-mainnet" | "base-mainnet" | "ethereum-sepolia" | "base-sepolia" | "solana-mainnet" | "solana-devnet";
|
|
1109
1399
|
displayName: string;
|
|
1110
|
-
|
|
1400
|
+
family: "evm" | "solana";
|
|
1401
|
+
nativeSymbol: string;
|
|
1402
|
+
chainId?: number;
|
|
1111
1403
|
}>;
|
|
1112
1404
|
type WalletItem = {
|
|
1113
|
-
address: string;
|
|
1405
|
+
address: string | string;
|
|
1406
|
+
family: "evm" | "solana";
|
|
1114
1407
|
label: WalletLabel;
|
|
1115
1408
|
kind: "personal" | "app";
|
|
1116
1409
|
app: WalletAppLink;
|
|
@@ -1127,6 +1420,9 @@ type WalletBalances = {
|
|
|
1127
1420
|
"ethereum-mainnet"?: WalletChainBalance;
|
|
1128
1421
|
"base-mainnet"?: WalletChainBalance;
|
|
1129
1422
|
"ethereum-sepolia"?: WalletChainBalance;
|
|
1423
|
+
"base-sepolia"?: WalletChainBalance;
|
|
1424
|
+
"solana-mainnet"?: WalletChainBalance;
|
|
1425
|
+
"solana-devnet"?: WalletChainBalance;
|
|
1130
1426
|
};
|
|
1131
1427
|
type WalletChainBalance = {
|
|
1132
1428
|
native: string;
|
|
@@ -1136,12 +1432,14 @@ type WalletDelegationStatus = {
|
|
|
1136
1432
|
mode: WalletDelegationMode;
|
|
1137
1433
|
caps: WalletDelegationCaps;
|
|
1138
1434
|
policyId: string | null;
|
|
1435
|
+
slippageBps: DelegationSlippageBps;
|
|
1139
1436
|
};
|
|
1140
1437
|
type WalletDelegationMode = "infinite" | "custom" | "scoped" | null;
|
|
1141
1438
|
type WalletDelegationCaps = {
|
|
1142
1439
|
native: string;
|
|
1143
1440
|
usdc: string;
|
|
1144
1441
|
} | null;
|
|
1442
|
+
type DelegationSlippageBps = number | null;
|
|
1145
1443
|
type WalletLabelUpdateResponse = {
|
|
1146
1444
|
address: string;
|
|
1147
1445
|
label: WalletLabel;
|
|
@@ -1215,6 +1513,7 @@ type ThreadLastMessagePreview = {
|
|
|
1215
1513
|
url: string;
|
|
1216
1514
|
count: number;
|
|
1217
1515
|
} | null;
|
|
1516
|
+
transaction?: MessageTransactionTronTransfer | MessageTransactionNftTransfer | null;
|
|
1218
1517
|
sentAt: string;
|
|
1219
1518
|
} | null;
|
|
1220
1519
|
type MessageEnvelope = {
|
|
@@ -1226,6 +1525,20 @@ type MessageEnvelope = {
|
|
|
1226
1525
|
iv: string;
|
|
1227
1526
|
ct: string;
|
|
1228
1527
|
} | null;
|
|
1528
|
+
type MessageTransactionTronTransfer = {
|
|
1529
|
+
kind: "tron_transfer";
|
|
1530
|
+
amountCents: number;
|
|
1531
|
+
recipientUserId: string;
|
|
1532
|
+
};
|
|
1533
|
+
type MessageTransactionNftTransfer = {
|
|
1534
|
+
kind: "nft_transfer";
|
|
1535
|
+
recipientUserId: string;
|
|
1536
|
+
collectionAddress: string;
|
|
1537
|
+
tokenId: string;
|
|
1538
|
+
amount: string;
|
|
1539
|
+
itemName: string | null;
|
|
1540
|
+
imageAssetId?: string | null;
|
|
1541
|
+
};
|
|
1229
1542
|
type GroupThreadSummary = {
|
|
1230
1543
|
kind: "group";
|
|
1231
1544
|
id: string;
|
|
@@ -1272,6 +1585,7 @@ type MessageItem = {
|
|
|
1272
1585
|
id: string;
|
|
1273
1586
|
threadId: string;
|
|
1274
1587
|
senderUserId: string;
|
|
1588
|
+
transaction?: MessageTransactionTronTransfer | MessageTransactionNftTransfer | null;
|
|
1275
1589
|
body: string;
|
|
1276
1590
|
envelope?: MessageEnvelope;
|
|
1277
1591
|
sentAt: string;
|
|
@@ -1445,42 +1759,317 @@ type PlaytimeTimeseries = {
|
|
|
1445
1759
|
to: string;
|
|
1446
1760
|
buckets: Array<PlaytimeTimeseriesBucket>;
|
|
1447
1761
|
};
|
|
1448
|
-
type PlaytimeTimeseriesBucket = {
|
|
1449
|
-
date: string;
|
|
1450
|
-
appId: PlaySessionAppId;
|
|
1451
|
-
sessionCount: number;
|
|
1452
|
-
totalDurationSeconds: number;
|
|
1762
|
+
type PlaytimeTimeseriesBucket = {
|
|
1763
|
+
date: string;
|
|
1764
|
+
appId: PlaySessionAppId;
|
|
1765
|
+
sessionCount: number;
|
|
1766
|
+
totalDurationSeconds: number;
|
|
1767
|
+
};
|
|
1768
|
+
type InventoryListResponse = {
|
|
1769
|
+
items: Array<InventoryHolding>;
|
|
1770
|
+
};
|
|
1771
|
+
type InventoryHolding = {
|
|
1772
|
+
collectionId: string;
|
|
1773
|
+
collectionAddress: string;
|
|
1774
|
+
chain: string;
|
|
1775
|
+
kind: "erc721" | "erc1155";
|
|
1776
|
+
tokenId: string;
|
|
1777
|
+
amount: string;
|
|
1778
|
+
name: string | null;
|
|
1779
|
+
description: string | null;
|
|
1780
|
+
imageAssetId: string | null;
|
|
1781
|
+
bannerAssetId: string | null;
|
|
1782
|
+
devMetadata: {
|
|
1783
|
+
[key: string]: unknown;
|
|
1784
|
+
};
|
|
1785
|
+
appId: string | null;
|
|
1786
|
+
appName: string | null;
|
|
1787
|
+
appLogoUrl: string | null;
|
|
1788
|
+
};
|
|
1789
|
+
type InventoryPendingPermitListResponse = {
|
|
1790
|
+
permits: Array<InventoryPendingPermit>;
|
|
1791
|
+
};
|
|
1792
|
+
type InventoryPendingPermit = {
|
|
1793
|
+
id: string;
|
|
1794
|
+
appId: string;
|
|
1795
|
+
itemId: string;
|
|
1796
|
+
amount: string;
|
|
1797
|
+
priceCents: number | null;
|
|
1798
|
+
gasSponsored: boolean;
|
|
1799
|
+
environment: "development" | "production";
|
|
1800
|
+
createdAt: string;
|
|
1801
|
+
tokenId: string;
|
|
1802
|
+
name: string | null;
|
|
1803
|
+
description: string | null;
|
|
1804
|
+
imageAssetId: string | null;
|
|
1805
|
+
chain: string;
|
|
1806
|
+
collectionAddress: string;
|
|
1807
|
+
kind: "erc721" | "erc1155";
|
|
1808
|
+
};
|
|
1809
|
+
type InventoryPermitRedeemResult = {
|
|
1810
|
+
mint: MintRequestResult;
|
|
1811
|
+
charge: {
|
|
1812
|
+
currency: "tron";
|
|
1813
|
+
gasCents: number;
|
|
1814
|
+
priceCents: number;
|
|
1815
|
+
totalCents: number;
|
|
1816
|
+
gasPaidBy: "user" | "developer";
|
|
1817
|
+
};
|
|
1818
|
+
};
|
|
1819
|
+
type MintRequestResult = {
|
|
1820
|
+
mintRequestId: string;
|
|
1821
|
+
txHash: string;
|
|
1822
|
+
status: "submitted" | "completed";
|
|
1823
|
+
mintedTokenId: string | null;
|
|
1824
|
+
};
|
|
1825
|
+
type MintRequestInput = {
|
|
1826
|
+
collectionAddress: string;
|
|
1827
|
+
chain: string;
|
|
1828
|
+
toWallet?: string;
|
|
1829
|
+
toUserId?: string;
|
|
1830
|
+
tokenId?: string;
|
|
1831
|
+
amount?: string;
|
|
1832
|
+
};
|
|
1833
|
+
type InventoryCollectionListResponse = {
|
|
1834
|
+
collections: Array<InventoryCollectionSummary>;
|
|
1835
|
+
};
|
|
1836
|
+
type InventoryCollectionSummary = {
|
|
1837
|
+
id: string;
|
|
1838
|
+
chain: string;
|
|
1839
|
+
collectionAddress: string;
|
|
1840
|
+
kind: "erc721" | "erc1155";
|
|
1841
|
+
name: string | null;
|
|
1842
|
+
environment: "development" | "production";
|
|
1843
|
+
};
|
|
1844
|
+
type InventoryRegistrationQuote = {
|
|
1845
|
+
itemCount: number;
|
|
1846
|
+
baselineUsdCents: number;
|
|
1847
|
+
gasUsdCents: number;
|
|
1848
|
+
tron: {
|
|
1849
|
+
baselineCents: number;
|
|
1850
|
+
gasCents: number;
|
|
1851
|
+
totalCents: number;
|
|
1852
|
+
};
|
|
1853
|
+
eth: {
|
|
1854
|
+
baselineWei: string;
|
|
1855
|
+
gasWei: string;
|
|
1856
|
+
totalWei: string;
|
|
1857
|
+
};
|
|
1858
|
+
};
|
|
1859
|
+
type InventoryItemRegistrationInput = {
|
|
1860
|
+
collectionAddress: string;
|
|
1861
|
+
chain: string;
|
|
1862
|
+
items: Array<InventoryItemRegistrationSpec>;
|
|
1863
|
+
};
|
|
1864
|
+
type InventoryItemRegistrationSpec = {
|
|
1865
|
+
name?: string | null;
|
|
1866
|
+
description?: string | null;
|
|
1867
|
+
devMetadata?: {
|
|
1868
|
+
[key: string]: unknown;
|
|
1869
|
+
};
|
|
1870
|
+
supplyType?: InventorySupplyType;
|
|
1871
|
+
maxSupply?: string | null;
|
|
1872
|
+
active?: boolean;
|
|
1873
|
+
};
|
|
1874
|
+
type InventorySupplyType = "capped" | "flexible" | "unlimited";
|
|
1875
|
+
type InventoryItemRegistrationResult = {
|
|
1876
|
+
items: Array<InventoryItemRecord>;
|
|
1877
|
+
charge: {
|
|
1878
|
+
currency: "tron";
|
|
1879
|
+
amountCents: number;
|
|
1880
|
+
baselineCents: number;
|
|
1881
|
+
gasCents: number;
|
|
1882
|
+
addItemTxHash: string;
|
|
1883
|
+
};
|
|
1884
|
+
};
|
|
1885
|
+
type InventoryItemRecord = {
|
|
1886
|
+
id: string;
|
|
1887
|
+
collectionId: string;
|
|
1888
|
+
collectionAddress: string;
|
|
1889
|
+
chain: string;
|
|
1890
|
+
kind: "erc721" | "erc1155";
|
|
1891
|
+
tokenId: string;
|
|
1892
|
+
name: string | null;
|
|
1893
|
+
description: string | null;
|
|
1894
|
+
imageAssetId: string | null;
|
|
1895
|
+
bannerAssetId: string | null;
|
|
1896
|
+
devMetadata: {
|
|
1897
|
+
[key: string]: unknown;
|
|
1898
|
+
};
|
|
1899
|
+
supplyType: InventorySupplyType | null;
|
|
1900
|
+
maxSupply: string | null;
|
|
1901
|
+
active: boolean;
|
|
1902
|
+
};
|
|
1903
|
+
type InventoryItemListResponse = {
|
|
1904
|
+
items: Array<InventoryItemRecord>;
|
|
1905
|
+
};
|
|
1906
|
+
type InventoryMintPermitRecord = {
|
|
1907
|
+
id: string;
|
|
1908
|
+
appId: string;
|
|
1909
|
+
itemId: string;
|
|
1910
|
+
userId: string;
|
|
1911
|
+
amount: string;
|
|
1912
|
+
priceCents: number | null;
|
|
1913
|
+
gasSponsored: boolean;
|
|
1914
|
+
status: "pending" | "redeemed" | "revoked";
|
|
1915
|
+
createdAt: string;
|
|
1916
|
+
};
|
|
1917
|
+
type InventoryMintPermitCreateInput = {
|
|
1918
|
+
toUserId: string;
|
|
1919
|
+
amount?: string;
|
|
1920
|
+
priceCents?: number | null;
|
|
1921
|
+
gasSponsored?: boolean;
|
|
1922
|
+
};
|
|
1923
|
+
type InventoryItemHoldersResponse = {
|
|
1924
|
+
stats: InventoryItemStats;
|
|
1925
|
+
holders: Array<InventoryItemHolder>;
|
|
1926
|
+
};
|
|
1927
|
+
type InventoryItemStats = {
|
|
1928
|
+
holderCount: number;
|
|
1929
|
+
walletCount: number;
|
|
1930
|
+
totalHeld: string;
|
|
1931
|
+
};
|
|
1932
|
+
type InventoryItemHolder = {
|
|
1933
|
+
walletAddress: string;
|
|
1934
|
+
userId: string | null;
|
|
1935
|
+
amount: string;
|
|
1936
|
+
};
|
|
1937
|
+
type InventoryVaultPermitRecord = {
|
|
1938
|
+
id: string;
|
|
1939
|
+
appId: string;
|
|
1940
|
+
itemId: string;
|
|
1941
|
+
userId: string;
|
|
1942
|
+
direction: "vault_in" | "withdraw";
|
|
1943
|
+
lockKind: "vault" | "burn" | null;
|
|
1944
|
+
amount: string;
|
|
1945
|
+
gasSponsored: boolean;
|
|
1946
|
+
status: "pending" | "redeemed" | "revoked";
|
|
1947
|
+
custodyId: string | null;
|
|
1948
|
+
createdAt: string;
|
|
1949
|
+
};
|
|
1950
|
+
type InventoryVaultPermitCreateInput = {
|
|
1951
|
+
toUserId: string;
|
|
1952
|
+
lockKind: "vault" | "burn";
|
|
1953
|
+
amount?: string;
|
|
1954
|
+
gasSponsored?: boolean;
|
|
1955
|
+
};
|
|
1956
|
+
type InventoryWithdrawPermitCreateInput = {
|
|
1957
|
+
custodyId: string;
|
|
1958
|
+
};
|
|
1959
|
+
type InventoryPendingVaultPermitListResponse = {
|
|
1960
|
+
permits: Array<InventoryPendingVaultPermit>;
|
|
1961
|
+
};
|
|
1962
|
+
type InventoryPendingVaultPermit = {
|
|
1963
|
+
id: string;
|
|
1964
|
+
appId: string;
|
|
1965
|
+
itemId: string;
|
|
1966
|
+
direction: "vault_in" | "withdraw";
|
|
1967
|
+
lockKind: "vault" | "burn" | null;
|
|
1968
|
+
amount: string;
|
|
1969
|
+
gasSponsored: boolean;
|
|
1970
|
+
environment: "development" | "production";
|
|
1971
|
+
custodyId: string | null;
|
|
1972
|
+
createdAt: string;
|
|
1973
|
+
tokenId: string;
|
|
1974
|
+
name: string | null;
|
|
1975
|
+
description: string | null;
|
|
1976
|
+
imageAssetId: string | null;
|
|
1977
|
+
chain: string;
|
|
1978
|
+
collectionAddress: string;
|
|
1979
|
+
kind: "erc721" | "erc1155";
|
|
1980
|
+
};
|
|
1981
|
+
type InventorySignedVaultPermit = {
|
|
1982
|
+
permitId: string;
|
|
1983
|
+
direction: "vault_in" | "withdraw";
|
|
1984
|
+
vault: string;
|
|
1985
|
+
collection: string;
|
|
1986
|
+
user: string;
|
|
1987
|
+
tokenId: string;
|
|
1988
|
+
amount: string;
|
|
1989
|
+
lockKind: "vault" | "burn" | null;
|
|
1990
|
+
destination: string | null;
|
|
1991
|
+
deadline: number;
|
|
1992
|
+
signature: string;
|
|
1993
|
+
};
|
|
1994
|
+
type InventoryRelayedVaultQuoteResponse = {
|
|
1995
|
+
direction: "vault_in" | "withdraw";
|
|
1996
|
+
collection: string;
|
|
1997
|
+
vault: string;
|
|
1998
|
+
chainId: number;
|
|
1999
|
+
user: string;
|
|
2000
|
+
tokenId: string;
|
|
2001
|
+
amount: string;
|
|
2002
|
+
nonce: string | null;
|
|
2003
|
+
deadline: number;
|
|
2004
|
+
feeCents: number;
|
|
2005
|
+
gasWei: string;
|
|
2006
|
+
gasPaidBy: "developer" | "user";
|
|
2007
|
+
requiresUserSignature: boolean;
|
|
2008
|
+
};
|
|
2009
|
+
type InventoryRelayedVaultSubmitResponse = {
|
|
2010
|
+
ok: boolean;
|
|
2011
|
+
txHash: string;
|
|
2012
|
+
chargedCents: number;
|
|
2013
|
+
gasPaidBy: "developer" | "user";
|
|
2014
|
+
};
|
|
2015
|
+
type InventoryRelayedVaultSubmitRequest = {
|
|
2016
|
+
userSignature?: string;
|
|
2017
|
+
deadline?: number;
|
|
2018
|
+
};
|
|
2019
|
+
type InventoryNftTransferQuoteResponse = {
|
|
2020
|
+
collection: string;
|
|
2021
|
+
chainId: number;
|
|
2022
|
+
from: string;
|
|
2023
|
+
to: string;
|
|
2024
|
+
tokenId: string;
|
|
2025
|
+
amount: string;
|
|
2026
|
+
nonce: string;
|
|
2027
|
+
deadline: number;
|
|
2028
|
+
feeCents: number;
|
|
2029
|
+
gasWei: string;
|
|
2030
|
+
selfPayAvailable: boolean;
|
|
2031
|
+
};
|
|
2032
|
+
type InventoryNftTransferQuoteRequest = {
|
|
2033
|
+
toUserId: string;
|
|
2034
|
+
collection: string;
|
|
2035
|
+
tokenId: string;
|
|
2036
|
+
amount?: string;
|
|
2037
|
+
};
|
|
2038
|
+
type InventoryNftTransferResponse = {
|
|
2039
|
+
ok: boolean;
|
|
2040
|
+
txHash: string;
|
|
2041
|
+
chargedCents: number;
|
|
1453
2042
|
};
|
|
1454
|
-
type
|
|
1455
|
-
|
|
2043
|
+
type InventoryNftTransferRequest = {
|
|
2044
|
+
toUserId: string;
|
|
2045
|
+
collection: string;
|
|
2046
|
+
tokenId: string;
|
|
2047
|
+
amount?: string;
|
|
2048
|
+
deadline: number;
|
|
2049
|
+
userSignature: string;
|
|
2050
|
+
threadId?: string;
|
|
1456
2051
|
};
|
|
1457
|
-
type
|
|
2052
|
+
type InventoryVaultCustodyListResponse = {
|
|
2053
|
+
custody: Array<InventoryVaultCustody>;
|
|
2054
|
+
};
|
|
2055
|
+
type InventoryVaultCustody = {
|
|
2056
|
+
id: string;
|
|
1458
2057
|
collectionId: string;
|
|
1459
2058
|
collectionAddress: string;
|
|
1460
2059
|
chain: string;
|
|
1461
2060
|
kind: "erc721" | "erc1155";
|
|
1462
2061
|
tokenId: string;
|
|
1463
2062
|
amount: string;
|
|
2063
|
+
lockKind: "vault" | "burn";
|
|
2064
|
+
vaultAddress: string;
|
|
2065
|
+
createdAt: string;
|
|
1464
2066
|
name: string | null;
|
|
2067
|
+
description: string | null;
|
|
1465
2068
|
imageAssetId: string | null;
|
|
1466
|
-
bannerAssetId: string | null;
|
|
1467
|
-
devMetadata: {
|
|
1468
|
-
[key: string]: unknown;
|
|
1469
|
-
};
|
|
1470
2069
|
};
|
|
1471
|
-
type
|
|
1472
|
-
|
|
2070
|
+
type InventoryVaultForceWithdrawResponse = {
|
|
2071
|
+
ok: boolean;
|
|
1473
2072
|
txHash: string;
|
|
1474
|
-
status: "submitted" | "completed";
|
|
1475
|
-
mintedTokenId: string | null;
|
|
1476
|
-
};
|
|
1477
|
-
type MintRequestInput = {
|
|
1478
|
-
collectionAddress: string;
|
|
1479
|
-
chain: string;
|
|
1480
|
-
toWallet?: string;
|
|
1481
|
-
toUserId?: string;
|
|
1482
|
-
tokenId?: string;
|
|
1483
|
-
amount?: string;
|
|
1484
2073
|
};
|
|
1485
2074
|
type NotificationListResponse = {
|
|
1486
2075
|
notifications: Array<NotificationItem>;
|
|
@@ -1510,6 +2099,18 @@ type NotificationItem = {
|
|
|
1510
2099
|
payload: AppPageRejectedNotificationPayload;
|
|
1511
2100
|
read: boolean;
|
|
1512
2101
|
createdAt: string;
|
|
2102
|
+
} | {
|
|
2103
|
+
id: string;
|
|
2104
|
+
kind: "bip_update_published";
|
|
2105
|
+
payload: BipUpdatePublishedNotificationPayload;
|
|
2106
|
+
read: boolean;
|
|
2107
|
+
createdAt: string;
|
|
2108
|
+
} | {
|
|
2109
|
+
id: string;
|
|
2110
|
+
kind: "bip_now_playable";
|
|
2111
|
+
payload: BipNowPlayableNotificationPayload;
|
|
2112
|
+
read: boolean;
|
|
2113
|
+
createdAt: string;
|
|
1513
2114
|
} | {
|
|
1514
2115
|
id: string;
|
|
1515
2116
|
kind: "app_participant_invite";
|
|
@@ -1540,14 +2141,25 @@ type FriendAcceptedNotificationPayload = {
|
|
|
1540
2141
|
type AppPageApprovedNotificationPayload = {
|
|
1541
2142
|
appId: string;
|
|
1542
2143
|
appName: string;
|
|
1543
|
-
scope: "publish" | "changes";
|
|
2144
|
+
scope: "publish" | "changes" | "bip_publish";
|
|
1544
2145
|
};
|
|
1545
2146
|
type AppPageRejectedNotificationPayload = {
|
|
1546
2147
|
appId: string;
|
|
1547
2148
|
appName: string;
|
|
1548
|
-
scope: "publish" | "changes";
|
|
2149
|
+
scope: "publish" | "changes" | "bip_publish";
|
|
1549
2150
|
notes: string;
|
|
1550
2151
|
};
|
|
2152
|
+
type BipUpdatePublishedNotificationPayload = {
|
|
2153
|
+
appId: string;
|
|
2154
|
+
appName: string;
|
|
2155
|
+
appSlug: string | null;
|
|
2156
|
+
updateId: string;
|
|
2157
|
+
};
|
|
2158
|
+
type BipNowPlayableNotificationPayload = {
|
|
2159
|
+
appId: string;
|
|
2160
|
+
appName: string;
|
|
2161
|
+
appSlug: string | null;
|
|
2162
|
+
};
|
|
1551
2163
|
type AppParticipantInviteNotificationPayload = {
|
|
1552
2164
|
appId: string;
|
|
1553
2165
|
appName: string;
|
|
@@ -1577,6 +2189,9 @@ type FriendListItem = {
|
|
|
1577
2189
|
onlineStatus: OnlineStatus;
|
|
1578
2190
|
};
|
|
1579
2191
|
type OnlineStatus = "online" | "offline";
|
|
2192
|
+
type AppFriendListResponse = {
|
|
2193
|
+
friends: Array<ThreadParticipant>;
|
|
2194
|
+
};
|
|
1580
2195
|
type FriendRequestDecision = {
|
|
1581
2196
|
decision: "accept" | "reject";
|
|
1582
2197
|
};
|
|
@@ -1706,17 +2321,20 @@ type CreateDeveloperAppChain = {
|
|
|
1706
2321
|
};
|
|
1707
2322
|
type UpdateDeveloperApp = {
|
|
1708
2323
|
name?: DeveloperAppName;
|
|
2324
|
+
slug?: AppPageSlug | null;
|
|
1709
2325
|
logoUrl?: string | null;
|
|
1710
2326
|
testAccess?: "private" | "public";
|
|
1711
2327
|
redirectUris?: Array<string>;
|
|
1712
2328
|
embedOrigins?: Array<EmbedOrigin>;
|
|
1713
2329
|
acceptedCurrencies?: AcceptedCurrencies;
|
|
2330
|
+
acceptedNetworks?: AcceptedNetworks;
|
|
1714
2331
|
paymentStatusWebhookUrl?: string | null;
|
|
1715
2332
|
paymentStatusWebhookUrlTest?: string | null;
|
|
1716
2333
|
};
|
|
1717
2334
|
type EmbedOrigin = string;
|
|
1718
2335
|
type AcceptedCurrencies = Array<PlatformCurrency>;
|
|
1719
2336
|
type PlatformCurrency = "eth" | "tron";
|
|
2337
|
+
type AcceptedNetworks = Array<PaymentNetwork> | null;
|
|
1720
2338
|
type DeveloperLogoUploadResponse = {
|
|
1721
2339
|
logoUrl: string | null;
|
|
1722
2340
|
};
|
|
@@ -1779,7 +2397,7 @@ type DeveloperAppWalletsResponse = {
|
|
|
1779
2397
|
};
|
|
1780
2398
|
type DeveloperAppWalletItem = {
|
|
1781
2399
|
chain: string;
|
|
1782
|
-
address: string;
|
|
2400
|
+
address: string | string;
|
|
1783
2401
|
custody: "server" | null;
|
|
1784
2402
|
walletId: string | null;
|
|
1785
2403
|
autoSweepEnabled: boolean;
|
|
@@ -1800,7 +2418,7 @@ type DeveloperAppProvisionWalletResponse = {
|
|
|
1800
2418
|
chain: string;
|
|
1801
2419
|
custody: "server";
|
|
1802
2420
|
walletId: string;
|
|
1803
|
-
address: string;
|
|
2421
|
+
address: string | string;
|
|
1804
2422
|
};
|
|
1805
2423
|
type DeveloperAppWithdrawResponse = {
|
|
1806
2424
|
appId: string;
|
|
@@ -1954,6 +2572,7 @@ type DeveloperProductionRequestPayload = {
|
|
|
1954
2572
|
type DeveloperAppItem = {
|
|
1955
2573
|
id: string;
|
|
1956
2574
|
name: DeveloperAppName;
|
|
2575
|
+
slug: AppPageSlug | null;
|
|
1957
2576
|
logoUrl: string | null;
|
|
1958
2577
|
environment: "development" | "production";
|
|
1959
2578
|
productionApprovedAt: string | null;
|
|
@@ -1962,6 +2581,7 @@ type DeveloperAppItem = {
|
|
|
1962
2581
|
redirectUris: Array<string>;
|
|
1963
2582
|
embedOrigins: Array<EmbedOrigin>;
|
|
1964
2583
|
acceptedCurrencies: AcceptedCurrencies;
|
|
2584
|
+
acceptedNetworks: AcceptedNetworks;
|
|
1965
2585
|
payoutAddresses: Array<DeveloperAppPayoutAddressItem>;
|
|
1966
2586
|
keys: Array<DeveloperAppKeyItem>;
|
|
1967
2587
|
pendingProductionRequestId: string | null;
|
|
@@ -2016,9 +2636,18 @@ type AppPageDraft = {
|
|
|
2016
2636
|
hiddenAt: string | null;
|
|
2017
2637
|
hiddenReasonPublic: string | null;
|
|
2018
2638
|
pendingReview: boolean;
|
|
2639
|
+
bip: AppPageBipState;
|
|
2640
|
+
};
|
|
2641
|
+
type AppPageBipState = {
|
|
2642
|
+
enabled: boolean;
|
|
2643
|
+
status: "draft" | "pending_review" | "published" | "hidden";
|
|
2644
|
+
firstPublishedAt: string | null;
|
|
2645
|
+
reviewedAt: string | null;
|
|
2646
|
+
reviewNotes: string | null;
|
|
2647
|
+
hiddenAt: string | null;
|
|
2648
|
+
hiddenReasonPublic: string | null;
|
|
2019
2649
|
};
|
|
2020
2650
|
type UpdateAppPage = {
|
|
2021
|
-
slug?: AppPageSlug | null;
|
|
2022
2651
|
categories?: AppPageCategories;
|
|
2023
2652
|
tagline?: AppPageTagline | null;
|
|
2024
2653
|
bannerUrl?: string | null;
|
|
@@ -2041,6 +2670,9 @@ type UpdateAppPage = {
|
|
|
2041
2670
|
type AppPageGalleryUploadResponse = {
|
|
2042
2671
|
url: string;
|
|
2043
2672
|
};
|
|
2673
|
+
type AppPageBipToggle = {
|
|
2674
|
+
enabled: boolean;
|
|
2675
|
+
};
|
|
2044
2676
|
type AdminActivePlayersResponse = {
|
|
2045
2677
|
players: Array<AdminActivePlayer>;
|
|
2046
2678
|
total: number;
|
|
@@ -2112,6 +2744,7 @@ type AdminAuditListResponse = {
|
|
|
2112
2744
|
total: number;
|
|
2113
2745
|
offset: number;
|
|
2114
2746
|
limit: number;
|
|
2747
|
+
nextCursor: string | null;
|
|
2115
2748
|
};
|
|
2116
2749
|
type AdminAuditListItem = {
|
|
2117
2750
|
id: string;
|
|
@@ -2179,6 +2812,11 @@ type AdminAppPageItem = {
|
|
|
2179
2812
|
hiddenAt: string | null;
|
|
2180
2813
|
hiddenReasonInternal: string | null;
|
|
2181
2814
|
pendingChangesSubmittedAt: string | null;
|
|
2815
|
+
bipEnabled: boolean;
|
|
2816
|
+
bipStatus: "draft" | "pending_review" | "published" | "hidden";
|
|
2817
|
+
bipFirstPublishedAt: string | null;
|
|
2818
|
+
bipHiddenAt: string | null;
|
|
2819
|
+
openReportCount: number;
|
|
2182
2820
|
};
|
|
2183
2821
|
type AdminAppPageStatusResponse = {
|
|
2184
2822
|
status: "draft" | "pending_review" | "published" | "hidden";
|
|
@@ -2204,6 +2842,25 @@ type AdminAppPageDiffField = {
|
|
|
2204
2842
|
from: string;
|
|
2205
2843
|
to: string;
|
|
2206
2844
|
};
|
|
2845
|
+
type AdminAppPageBipStatusResponse = {
|
|
2846
|
+
bipStatus: "draft" | "pending_review" | "published" | "hidden";
|
|
2847
|
+
};
|
|
2848
|
+
type AdminAppContentReportListResponse = {
|
|
2849
|
+
reports: Array<AdminAppContentReportItem>;
|
|
2850
|
+
total: number;
|
|
2851
|
+
hasMore: boolean;
|
|
2852
|
+
};
|
|
2853
|
+
type AdminAppContentReportItem = {
|
|
2854
|
+
id: string;
|
|
2855
|
+
category: AppContentReportCategory;
|
|
2856
|
+
details: string | null;
|
|
2857
|
+
status: AppContentReportStatus;
|
|
2858
|
+
acknowledgedAt: string | null;
|
|
2859
|
+
createdAt: string;
|
|
2860
|
+
appId: string;
|
|
2861
|
+
appName: string;
|
|
2862
|
+
appSlug: string | null;
|
|
2863
|
+
};
|
|
2207
2864
|
type PlatformFeesResponse = {
|
|
2208
2865
|
purchaseFeeBps: number;
|
|
2209
2866
|
stakeFeeBps: number;
|
|
@@ -2384,6 +3041,13 @@ type AppealResolveRequest = {
|
|
|
2384
3041
|
decision: "refund" | "dismiss";
|
|
2385
3042
|
notes?: string;
|
|
2386
3043
|
};
|
|
3044
|
+
type PaymentRatesResponse = {
|
|
3045
|
+
asOf: string;
|
|
3046
|
+
ethUsd: number | null;
|
|
3047
|
+
solUsd: number | null;
|
|
3048
|
+
solLamportsPerCent: number | null;
|
|
3049
|
+
tronUsdPerToken: number;
|
|
3050
|
+
};
|
|
2387
3051
|
type AppealFileResponse = {
|
|
2388
3052
|
appealId: string;
|
|
2389
3053
|
paymentId: string;
|
|
@@ -2432,7 +3096,7 @@ type OauthPaymentPayoutRequest = {
|
|
|
2432
3096
|
metadata?: PaymentMetadata;
|
|
2433
3097
|
};
|
|
2434
3098
|
type OauthPaymentDistributeResponse = {
|
|
2435
|
-
distributionId
|
|
3099
|
+
distributionId?: string;
|
|
2436
3100
|
txHash: string;
|
|
2437
3101
|
blockNumber: string;
|
|
2438
3102
|
potId: string;
|
|
@@ -2555,7 +3219,7 @@ declare function listActivePlayers(context: TransportContext, input: {
|
|
|
2555
3219
|
//#region src/admin/app-pages.d.ts
|
|
2556
3220
|
declare function listAppPages(context: TransportContext, input: {
|
|
2557
3221
|
readonly bearer: string;
|
|
2558
|
-
readonly status?: "draft" | "pending_review" | "published" | "hidden" | "all" | "pending_changes";
|
|
3222
|
+
readonly status?: "draft" | "pending_review" | "published" | "hidden" | "all" | "pending_changes" | "bip_pending_review";
|
|
2559
3223
|
}): Promise<AdminAppPageListResponse>;
|
|
2560
3224
|
declare function getAppPageChanges(context: TransportContext, input: {
|
|
2561
3225
|
readonly bearer: string;
|
|
@@ -2580,6 +3244,20 @@ declare function reviewAppPage(context: TransportContext, input: {
|
|
|
2580
3244
|
readonly appId: string;
|
|
2581
3245
|
readonly body: ReviewAppPage;
|
|
2582
3246
|
}): Promise<AdminAppPageStatusResponse>;
|
|
3247
|
+
declare function reviewAppPageBip(context: TransportContext, input: {
|
|
3248
|
+
readonly bearer: string;
|
|
3249
|
+
readonly appId: string;
|
|
3250
|
+
readonly body: ReviewAppPage;
|
|
3251
|
+
}): Promise<AdminAppPageBipStatusResponse>;
|
|
3252
|
+
declare function hideAppPageBip(context: TransportContext, input: {
|
|
3253
|
+
readonly bearer: string;
|
|
3254
|
+
readonly appId: string;
|
|
3255
|
+
readonly body: HideAppPage;
|
|
3256
|
+
}): Promise<AdminAppPageBipStatusResponse>;
|
|
3257
|
+
declare function unhideAppPageBip(context: TransportContext, input: {
|
|
3258
|
+
readonly bearer: string;
|
|
3259
|
+
readonly appId: string;
|
|
3260
|
+
}): Promise<AdminAppPageBipStatusResponse>;
|
|
2583
3261
|
//#endregion
|
|
2584
3262
|
//#region src/admin/appeals.d.ts
|
|
2585
3263
|
declare function listAppealQueue(context: TransportContext, input: {
|
|
@@ -2611,6 +3289,19 @@ declare function resolveAppeal(context: TransportContext, input: {
|
|
|
2611
3289
|
readonly body: AppealResolveRequest;
|
|
2612
3290
|
}): Promise<AppealResolveSignedResponse>;
|
|
2613
3291
|
//#endregion
|
|
3292
|
+
//#region src/admin/content-reports.d.ts
|
|
3293
|
+
declare function listAdminContentReports(context: TransportContext, input: {
|
|
3294
|
+
readonly bearer: string;
|
|
3295
|
+
readonly status?: "open" | "acknowledged" | "dismissed" | "all";
|
|
3296
|
+
readonly limit?: number;
|
|
3297
|
+
readonly offset?: number;
|
|
3298
|
+
}): Promise<AdminAppContentReportListResponse>;
|
|
3299
|
+
declare function triageAdminContentReport(context: TransportContext, input: {
|
|
3300
|
+
readonly bearer: string;
|
|
3301
|
+
readonly reportId: string;
|
|
3302
|
+
readonly status: "acknowledged" | "dismissed";
|
|
3303
|
+
}): Promise<AppContentReport>;
|
|
3304
|
+
//#endregion
|
|
2614
3305
|
//#region src/admin/developers.d.ts
|
|
2615
3306
|
declare function listDeveloperRequests(context: TransportContext, input: {
|
|
2616
3307
|
readonly bearer: string;
|
|
@@ -2626,6 +3317,12 @@ declare function listDevelopers(context: TransportContext, input: {
|
|
|
2626
3317
|
readonly bearer: string;
|
|
2627
3318
|
}): Promise<AdminDeveloperListResponse>;
|
|
2628
3319
|
//#endregion
|
|
3320
|
+
//#region src/admin/inventory-vault.d.ts
|
|
3321
|
+
declare function forceWithdrawVaultCustody(context: TransportContext, input: {
|
|
3322
|
+
readonly bearer: string;
|
|
3323
|
+
readonly custodyId: string;
|
|
3324
|
+
}): Promise<InventoryVaultForceWithdrawResponse>;
|
|
3325
|
+
//#endregion
|
|
2629
3326
|
//#region src/admin/payments.d.ts
|
|
2630
3327
|
declare function getPlatformFees(context: TransportContext, input: {
|
|
2631
3328
|
readonly bearer: string;
|
|
@@ -2734,6 +3431,7 @@ declare function listAudit(context: TransportContext, input: {
|
|
|
2734
3431
|
readonly actorId?: string;
|
|
2735
3432
|
readonly targetType?: string;
|
|
2736
3433
|
readonly targetId?: string;
|
|
3434
|
+
readonly cursor?: string;
|
|
2737
3435
|
readonly offset?: number;
|
|
2738
3436
|
readonly limit?: number;
|
|
2739
3437
|
}): Promise<AdminAuditListResponse>;
|
|
@@ -2744,6 +3442,113 @@ declare function getAppPage(context: TransportContext, input: {
|
|
|
2744
3442
|
readonly slug: string;
|
|
2745
3443
|
}): Promise<PublicAppPage>;
|
|
2746
3444
|
//#endregion
|
|
3445
|
+
//#region src/catalog/bip-updates.d.ts
|
|
3446
|
+
declare function listBipUpdates(context: TransportContext, input: {
|
|
3447
|
+
readonly bearer?: string;
|
|
3448
|
+
readonly slug: string;
|
|
3449
|
+
readonly limit?: number;
|
|
3450
|
+
readonly offset?: number;
|
|
3451
|
+
}): Promise<BipUpdateListResponse>;
|
|
3452
|
+
declare function listBipUpdateComments(context: TransportContext, input: {
|
|
3453
|
+
readonly bearer?: string;
|
|
3454
|
+
readonly slug: string;
|
|
3455
|
+
readonly updateId: string;
|
|
3456
|
+
readonly limit?: number;
|
|
3457
|
+
readonly offset?: number;
|
|
3458
|
+
}): Promise<BipUpdateCommentListResponse>;
|
|
3459
|
+
declare function getMyBipUpdateReactions(context: TransportContext, input: {
|
|
3460
|
+
readonly bearer: string;
|
|
3461
|
+
readonly slug: string;
|
|
3462
|
+
}): Promise<MyBipUpdateReactionsResponse>;
|
|
3463
|
+
declare function setBipUpdateReaction(context: TransportContext, input: {
|
|
3464
|
+
readonly bearer: string;
|
|
3465
|
+
readonly slug: string;
|
|
3466
|
+
readonly updateId: string;
|
|
3467
|
+
readonly body: SetBipUpdateReactionRequest;
|
|
3468
|
+
}): Promise<SetBipUpdateReactionResponse>;
|
|
3469
|
+
declare function commentOnBipUpdate(context: TransportContext, input: {
|
|
3470
|
+
readonly bearer: string;
|
|
3471
|
+
readonly slug: string;
|
|
3472
|
+
readonly updateId: string;
|
|
3473
|
+
readonly body: string;
|
|
3474
|
+
}): Promise<CreateBipUpdateCommentResponse>;
|
|
3475
|
+
declare function deleteBipUpdateComment(context: TransportContext, input: {
|
|
3476
|
+
readonly bearer: string;
|
|
3477
|
+
readonly slug: string;
|
|
3478
|
+
readonly commentId: string;
|
|
3479
|
+
}): Promise<DeleteBipUpdateCommentResponse>;
|
|
3480
|
+
declare function listDeveloperBipUpdates(context: TransportContext, input: {
|
|
3481
|
+
readonly bearer: string;
|
|
3482
|
+
readonly appId: string;
|
|
3483
|
+
readonly limit?: number;
|
|
3484
|
+
readonly offset?: number;
|
|
3485
|
+
}): Promise<BipUpdateListResponse>;
|
|
3486
|
+
declare function createBipUpdate(context: TransportContext, input: {
|
|
3487
|
+
readonly bearer: string;
|
|
3488
|
+
readonly appId: string;
|
|
3489
|
+
readonly body: CreateBipUpdateRequest;
|
|
3490
|
+
}): Promise<BipUpdate>;
|
|
3491
|
+
declare function updateBipUpdate(context: TransportContext, input: {
|
|
3492
|
+
readonly bearer: string;
|
|
3493
|
+
readonly appId: string;
|
|
3494
|
+
readonly updateId: string;
|
|
3495
|
+
readonly body: UpdateBipUpdateRequest;
|
|
3496
|
+
}): Promise<BipUpdate>;
|
|
3497
|
+
declare function deleteBipUpdate(context: TransportContext, input: {
|
|
3498
|
+
readonly bearer: string;
|
|
3499
|
+
readonly appId: string;
|
|
3500
|
+
readonly updateId: string;
|
|
3501
|
+
}): Promise<DeleteBipUpdateResponse>;
|
|
3502
|
+
declare function pinBipUpdate(context: TransportContext, input: {
|
|
3503
|
+
readonly bearer: string;
|
|
3504
|
+
readonly appId: string;
|
|
3505
|
+
readonly updateId: string;
|
|
3506
|
+
}): Promise<BipUpdate>;
|
|
3507
|
+
declare function unpinBipUpdate(context: TransportContext, input: {
|
|
3508
|
+
readonly bearer: string;
|
|
3509
|
+
readonly appId: string;
|
|
3510
|
+
readonly updateId: string;
|
|
3511
|
+
}): Promise<BipUpdate>;
|
|
3512
|
+
declare function uploadBipUpdateMedia(context: TransportContext, input: {
|
|
3513
|
+
readonly bearer: string;
|
|
3514
|
+
readonly appId: string;
|
|
3515
|
+
readonly file: Blob;
|
|
3516
|
+
readonly filename: string;
|
|
3517
|
+
readonly contentType: string;
|
|
3518
|
+
}): Promise<BipUpdateMediaUploadResponse>;
|
|
3519
|
+
declare function getBipInterestCount(context: TransportContext, input: {
|
|
3520
|
+
readonly bearer?: string;
|
|
3521
|
+
readonly slug: string;
|
|
3522
|
+
}): Promise<BipInterestCountResponse>;
|
|
3523
|
+
declare function getMyBipEngagement(context: TransportContext, input: {
|
|
3524
|
+
readonly bearer: string;
|
|
3525
|
+
readonly slug: string;
|
|
3526
|
+
}): Promise<BipEngagementResponse>;
|
|
3527
|
+
declare function registerBipInterest(context: TransportContext, input: {
|
|
3528
|
+
readonly bearer: string;
|
|
3529
|
+
readonly slug: string;
|
|
3530
|
+
readonly interested: boolean;
|
|
3531
|
+
}): Promise<BipEngagementResponse>;
|
|
3532
|
+
declare function subscribeBipUpdates(context: TransportContext, input: {
|
|
3533
|
+
readonly bearer: string;
|
|
3534
|
+
readonly slug: string;
|
|
3535
|
+
readonly subscribed: boolean;
|
|
3536
|
+
}): Promise<BipEngagementResponse>;
|
|
3537
|
+
//#endregion
|
|
3538
|
+
//#region src/catalog/build-in-public.d.ts
|
|
3539
|
+
declare function getBipDirectory(context: TransportContext, input: {
|
|
3540
|
+
readonly bearer?: string;
|
|
3541
|
+
readonly genre?: string;
|
|
3542
|
+
readonly q?: string;
|
|
3543
|
+
readonly sort?: "newest" | "top";
|
|
3544
|
+
readonly before?: string;
|
|
3545
|
+
readonly limit?: number;
|
|
3546
|
+
}): Promise<LibraryListResponse>;
|
|
3547
|
+
declare function getBipPage(context: TransportContext, input: {
|
|
3548
|
+
readonly bearer?: string;
|
|
3549
|
+
readonly slug: string;
|
|
3550
|
+
}): Promise<PublicBipPage>;
|
|
3551
|
+
//#endregion
|
|
2747
3552
|
//#region src/catalog/content-reports.d.ts
|
|
2748
3553
|
declare function submitAppContentReport(context: TransportContext, input: {
|
|
2749
3554
|
readonly appId: string;
|
|
@@ -2756,6 +3561,7 @@ declare function getLibrary(context: TransportContext, input: {
|
|
|
2756
3561
|
readonly bearer?: string;
|
|
2757
3562
|
readonly genre?: string;
|
|
2758
3563
|
readonly q?: string;
|
|
3564
|
+
readonly sort?: "newest" | "top";
|
|
2759
3565
|
readonly before?: string;
|
|
2760
3566
|
readonly limit?: number;
|
|
2761
3567
|
}): Promise<LibraryListResponse>;
|
|
@@ -2788,6 +3594,41 @@ declare function deleteMyGameReview(context: TransportContext, input: {
|
|
|
2788
3594
|
readonly slug: string;
|
|
2789
3595
|
readonly bearer: string;
|
|
2790
3596
|
}): Promise<MyReviewResponse>;
|
|
3597
|
+
declare function getMyGameReviewReactions(context: TransportContext, input: {
|
|
3598
|
+
readonly slug: string;
|
|
3599
|
+
readonly bearer: string;
|
|
3600
|
+
}): Promise<MyReviewReactionsResponse>;
|
|
3601
|
+
declare function setMyGameReviewReaction(context: TransportContext, input: {
|
|
3602
|
+
readonly slug: string;
|
|
3603
|
+
readonly reviewId: string;
|
|
3604
|
+
readonly bearer: string;
|
|
3605
|
+
readonly reaction: SetReviewReactionRequest;
|
|
3606
|
+
}): Promise<SetReviewReactionResponse>;
|
|
3607
|
+
declare function tipGameReview(context: TransportContext, input: {
|
|
3608
|
+
readonly slug: string;
|
|
3609
|
+
readonly reviewId: string;
|
|
3610
|
+
readonly bearer: string;
|
|
3611
|
+
readonly tip: TipReviewRequest;
|
|
3612
|
+
readonly idempotencyKey?: string;
|
|
3613
|
+
}): Promise<TipReviewResponse>;
|
|
3614
|
+
declare function listGameReviewComments(context: TransportContext, input: {
|
|
3615
|
+
readonly slug: string;
|
|
3616
|
+
readonly reviewId: string;
|
|
3617
|
+
readonly bearer?: string;
|
|
3618
|
+
readonly limit?: number;
|
|
3619
|
+
readonly offset?: number;
|
|
3620
|
+
}): Promise<ReviewCommentListResponse>;
|
|
3621
|
+
declare function commentOnGameReview(context: TransportContext, input: {
|
|
3622
|
+
readonly slug: string;
|
|
3623
|
+
readonly reviewId: string;
|
|
3624
|
+
readonly bearer: string;
|
|
3625
|
+
readonly comment: CreateReviewCommentRequest;
|
|
3626
|
+
}): Promise<CreateReviewCommentResponse>;
|
|
3627
|
+
declare function deleteGameReviewComment(context: TransportContext, input: {
|
|
3628
|
+
readonly slug: string;
|
|
3629
|
+
readonly commentId: string;
|
|
3630
|
+
readonly bearer: string;
|
|
3631
|
+
}): Promise<DeleteReviewCommentResponse>;
|
|
2791
3632
|
declare function replyToGameReview(context: TransportContext, input: {
|
|
2792
3633
|
readonly appId: string;
|
|
2793
3634
|
readonly reviewId: string;
|
|
@@ -2879,6 +3720,9 @@ declare function getPaymentHistory(context: TransportContext, input: {
|
|
|
2879
3720
|
readonly before?: string;
|
|
2880
3721
|
}): Promise<PaymentHistoryResponse>;
|
|
2881
3722
|
//#endregion
|
|
3723
|
+
//#region src/dashboard/rates.d.ts
|
|
3724
|
+
declare function getPaymentRates(context: TransportContext): Promise<PaymentRatesResponse>;
|
|
3725
|
+
//#endregion
|
|
2882
3726
|
//#region src/developer/api-keys.d.ts
|
|
2883
3727
|
declare function createDeveloperApiKey(context: TransportContext, input: {
|
|
2884
3728
|
readonly bearer: string;
|
|
@@ -3016,6 +3860,53 @@ declare function updateDeveloperAppContentReportStatus(context: TransportContext
|
|
|
3016
3860
|
readonly status: "acknowledged" | "dismissed";
|
|
3017
3861
|
}): Promise<AppContentReport>;
|
|
3018
3862
|
//#endregion
|
|
3863
|
+
//#region src/developer/inventory.d.ts
|
|
3864
|
+
declare function quoteDeveloperAppInventoryRegistration(context: TransportContext, input: {
|
|
3865
|
+
readonly bearer: string;
|
|
3866
|
+
readonly appId: string;
|
|
3867
|
+
readonly registration: InventoryItemRegistrationInput;
|
|
3868
|
+
}): Promise<InventoryRegistrationQuote>;
|
|
3869
|
+
declare function registerDeveloperAppInventoryItem(context: TransportContext, input: {
|
|
3870
|
+
readonly bearer: string;
|
|
3871
|
+
readonly appId: string;
|
|
3872
|
+
readonly registration: InventoryItemRegistrationInput;
|
|
3873
|
+
}): Promise<InventoryItemRegistrationResult>;
|
|
3874
|
+
declare function listDeveloperAppInventoryCollections(context: TransportContext, input: {
|
|
3875
|
+
readonly bearer: string;
|
|
3876
|
+
readonly appId: string;
|
|
3877
|
+
}): Promise<InventoryCollectionListResponse>;
|
|
3878
|
+
declare function listDeveloperAppInventoryItems(context: TransportContext, input: {
|
|
3879
|
+
readonly bearer: string;
|
|
3880
|
+
readonly appId: string;
|
|
3881
|
+
}): Promise<InventoryItemListResponse>;
|
|
3882
|
+
declare function createDeveloperAppMintPermit(context: TransportContext, input: {
|
|
3883
|
+
readonly bearer: string;
|
|
3884
|
+
readonly appId: string;
|
|
3885
|
+
readonly itemId: string;
|
|
3886
|
+
readonly grant: InventoryMintPermitCreateInput;
|
|
3887
|
+
}): Promise<InventoryMintPermitRecord>;
|
|
3888
|
+
declare function getDeveloperAppInventoryItemHolders(context: TransportContext, input: {
|
|
3889
|
+
readonly bearer: string;
|
|
3890
|
+
readonly appId: string;
|
|
3891
|
+
readonly itemId: string;
|
|
3892
|
+
}): Promise<InventoryItemHoldersResponse>;
|
|
3893
|
+
declare function uploadDeveloperAppInventoryItemImage(context: TransportContext, input: {
|
|
3894
|
+
readonly bearer: string;
|
|
3895
|
+
readonly appId: string;
|
|
3896
|
+
readonly itemId: string;
|
|
3897
|
+
readonly file: Blob | ArrayBufferView | ArrayBuffer;
|
|
3898
|
+
readonly filename: string;
|
|
3899
|
+
readonly contentType: string;
|
|
3900
|
+
}): Promise<InventoryItemRecord>;
|
|
3901
|
+
declare function uploadDeveloperAppInventoryItemBanner(context: TransportContext, input: {
|
|
3902
|
+
readonly bearer: string;
|
|
3903
|
+
readonly appId: string;
|
|
3904
|
+
readonly itemId: string;
|
|
3905
|
+
readonly file: Blob | ArrayBufferView | ArrayBuffer;
|
|
3906
|
+
readonly filename: string;
|
|
3907
|
+
readonly contentType: string;
|
|
3908
|
+
}): Promise<InventoryItemRecord>;
|
|
3909
|
+
//#endregion
|
|
3019
3910
|
//#region src/developer/pages.d.ts
|
|
3020
3911
|
declare function getDeveloperAppPage(context: TransportContext, input: {
|
|
3021
3912
|
readonly bearer: string;
|
|
@@ -3074,6 +3965,19 @@ declare function unpublishAppPage(context: TransportContext, input: {
|
|
|
3074
3965
|
readonly bearer: string;
|
|
3075
3966
|
readonly appId: string;
|
|
3076
3967
|
}): Promise<AppPageDraft>;
|
|
3968
|
+
declare function setAppPageBip(context: TransportContext, input: {
|
|
3969
|
+
readonly bearer: string;
|
|
3970
|
+
readonly appId: string;
|
|
3971
|
+
readonly body: AppPageBipToggle;
|
|
3972
|
+
}): Promise<AppPageDraft>;
|
|
3973
|
+
declare function submitAppPageBipForReview(context: TransportContext, input: {
|
|
3974
|
+
readonly bearer: string;
|
|
3975
|
+
readonly appId: string;
|
|
3976
|
+
}): Promise<AppPageDraft>;
|
|
3977
|
+
declare function unpublishAppPageBip(context: TransportContext, input: {
|
|
3978
|
+
readonly bearer: string;
|
|
3979
|
+
readonly appId: string;
|
|
3980
|
+
}): Promise<AppPageDraft>;
|
|
3077
3981
|
//#endregion
|
|
3078
3982
|
//#region src/developer/participants.d.ts
|
|
3079
3983
|
declare function listDeveloperAppParticipants(context: TransportContext, input: {
|
|
@@ -3140,6 +4044,68 @@ declare function uploadMultipart(context: TransportContext, input: {
|
|
|
3140
4044
|
readonly contentType: string;
|
|
3141
4045
|
}): Promise<unknown>;
|
|
3142
4046
|
//#endregion
|
|
4047
|
+
//#region src/developer/vault.d.ts
|
|
4048
|
+
declare function createDeveloperVaultPermit(context: TransportContext, input: {
|
|
4049
|
+
readonly bearer: string;
|
|
4050
|
+
readonly appId: string;
|
|
4051
|
+
readonly itemId: string;
|
|
4052
|
+
readonly grant: InventoryVaultPermitCreateInput;
|
|
4053
|
+
}): Promise<InventoryVaultPermitRecord>;
|
|
4054
|
+
declare function createDeveloperWithdrawPermit(context: TransportContext, input: {
|
|
4055
|
+
readonly bearer: string;
|
|
4056
|
+
readonly appId: string;
|
|
4057
|
+
readonly itemId: string;
|
|
4058
|
+
readonly grant: InventoryWithdrawPermitCreateInput;
|
|
4059
|
+
}): Promise<InventoryVaultPermitRecord>;
|
|
4060
|
+
//#endregion
|
|
4061
|
+
//#region src/events/inventory-socket.d.ts
|
|
4062
|
+
declare const inventoryUpdateEventSchema: z.ZodObject<{
|
|
4063
|
+
event: z.ZodLiteral<"inventory.updated">;
|
|
4064
|
+
deliveredAt: z.ZodString;
|
|
4065
|
+
environment: z.ZodEnum<{
|
|
4066
|
+
development: "development";
|
|
4067
|
+
production: "production";
|
|
4068
|
+
}>;
|
|
4069
|
+
subject: z.ZodString;
|
|
4070
|
+
collectionId: z.ZodString;
|
|
4071
|
+
collectionAddress: z.ZodString;
|
|
4072
|
+
chain: z.ZodString;
|
|
4073
|
+
kind: z.ZodEnum<{
|
|
4074
|
+
erc721: "erc721";
|
|
4075
|
+
erc1155: "erc1155";
|
|
4076
|
+
}>;
|
|
4077
|
+
tokenId: z.ZodString;
|
|
4078
|
+
direction: z.ZodEnum<{
|
|
4079
|
+
credit: "credit";
|
|
4080
|
+
debit: "debit";
|
|
4081
|
+
}>;
|
|
4082
|
+
amount: z.ZodString;
|
|
4083
|
+
balance: z.ZodString;
|
|
4084
|
+
}, z.core.$strip>;
|
|
4085
|
+
type InventoryUpdateEvent = z.infer<typeof inventoryUpdateEventSchema>;
|
|
4086
|
+
type OauthInventoryEventsSubscriberLifecycle = {
|
|
4087
|
+
onOpen?: () => void;
|
|
4088
|
+
onSubscribed?: (appId: string) => void;
|
|
4089
|
+
onMessage: (body: InventoryUpdateEvent) => void | Promise<void>;
|
|
4090
|
+
onClose?: (error: TronWsCloseError) => void;
|
|
4091
|
+
onError?: (error: Error) => void;
|
|
4092
|
+
};
|
|
4093
|
+
type OauthInventoryEventsSubscriberOptions = {
|
|
4094
|
+
readonly issuer: string;
|
|
4095
|
+
readonly clientId: string;
|
|
4096
|
+
readonly clientSecret: string;
|
|
4097
|
+
readonly logger?: Logger;
|
|
4098
|
+
readonly lifecycle: OauthInventoryEventsSubscriberLifecycle;
|
|
4099
|
+
readonly initialBackoffMs?: number;
|
|
4100
|
+
readonly maxBackoffMs?: number;
|
|
4101
|
+
readonly shouldReconnect?: (error: TronWsCloseError) => boolean;
|
|
4102
|
+
readonly WebSocketImpl?: typeof globalThis.WebSocket;
|
|
4103
|
+
};
|
|
4104
|
+
type OauthInventoryEventsSubscriber = {
|
|
4105
|
+
readonly stop: () => void;
|
|
4106
|
+
};
|
|
4107
|
+
declare function startOauthInventoryEventsSubscriber(options: OauthInventoryEventsSubscriberOptions): OauthInventoryEventsSubscriber;
|
|
4108
|
+
//#endregion
|
|
3143
4109
|
//#region src/webhook/verify.d.ts
|
|
3144
4110
|
declare const oauthPaymentWebhookBodySchema: z.ZodObject<{
|
|
3145
4111
|
event: z.ZodEnum<{
|
|
@@ -3214,6 +4180,7 @@ type OauthPaymentEventsSubscriberOptions = {
|
|
|
3214
4180
|
readonly maxBackoffMs?: number;
|
|
3215
4181
|
readonly shouldReconnect?: (error: TronWsCloseError) => boolean;
|
|
3216
4182
|
readonly WebSocketImpl?: typeof globalThis.WebSocket;
|
|
4183
|
+
readonly disableEventAck?: boolean;
|
|
3217
4184
|
};
|
|
3218
4185
|
type OauthPaymentEventsSubscriber = {
|
|
3219
4186
|
readonly stop: () => void;
|
|
@@ -3228,12 +4195,55 @@ declare function listInventoryForApp(context: TransportContext, input: {
|
|
|
3228
4195
|
readonly bearer: string;
|
|
3229
4196
|
}): Promise<InventoryListResponse>;
|
|
3230
4197
|
//#endregion
|
|
4198
|
+
//#region src/inventory/nft-transfer.d.ts
|
|
4199
|
+
declare function quoteNftTransfer(context: TransportContext, input: {
|
|
4200
|
+
readonly bearer: string;
|
|
4201
|
+
readonly body: InventoryNftTransferQuoteRequest;
|
|
4202
|
+
}): Promise<InventoryNftTransferQuoteResponse>;
|
|
4203
|
+
declare function executeNftTransfer(context: TransportContext, input: {
|
|
4204
|
+
readonly bearer: string;
|
|
4205
|
+
readonly body: InventoryNftTransferRequest;
|
|
4206
|
+
}): Promise<InventoryNftTransferResponse>;
|
|
4207
|
+
//#endregion
|
|
4208
|
+
//#region src/inventory/permits.d.ts
|
|
4209
|
+
declare function listInventoryMintPermits(context: TransportContext, input: {
|
|
4210
|
+
readonly bearer: string;
|
|
4211
|
+
}): Promise<InventoryPendingPermitListResponse>;
|
|
4212
|
+
declare function redeemInventoryMintPermit(context: TransportContext, input: {
|
|
4213
|
+
readonly bearer: string;
|
|
4214
|
+
readonly permitId: string;
|
|
4215
|
+
}): Promise<InventoryPermitRedeemResult>;
|
|
4216
|
+
//#endregion
|
|
3231
4217
|
//#region src/inventory/request-mint.d.ts
|
|
3232
4218
|
declare function requestMint(context: TransportContext, input: {
|
|
3233
4219
|
readonly appBearer: string;
|
|
3234
4220
|
readonly body: MintRequestInput;
|
|
3235
4221
|
}): Promise<MintRequestResult>;
|
|
3236
4222
|
//#endregion
|
|
4223
|
+
//#region src/inventory/vault.d.ts
|
|
4224
|
+
declare function listInventoryVaultPermits(context: TransportContext, input: {
|
|
4225
|
+
readonly bearer: string;
|
|
4226
|
+
}): Promise<InventoryPendingVaultPermitListResponse>;
|
|
4227
|
+
declare function signInventoryVaultPermit(context: TransportContext, input: {
|
|
4228
|
+
readonly bearer: string;
|
|
4229
|
+
readonly permitId: string;
|
|
4230
|
+
}): Promise<InventorySignedVaultPermit>;
|
|
4231
|
+
declare function quoteRelayedVaultPermit(context: TransportContext, input: {
|
|
4232
|
+
readonly bearer: string;
|
|
4233
|
+
readonly permitId: string;
|
|
4234
|
+
}): Promise<InventoryRelayedVaultQuoteResponse>;
|
|
4235
|
+
declare function submitRelayedVaultPermit(context: TransportContext, input: {
|
|
4236
|
+
readonly bearer: string;
|
|
4237
|
+
readonly permitId: string;
|
|
4238
|
+
readonly body: InventoryRelayedVaultSubmitRequest;
|
|
4239
|
+
}): Promise<InventoryRelayedVaultSubmitResponse>;
|
|
4240
|
+
declare function listInventoryVaulted(context: TransportContext, input: {
|
|
4241
|
+
readonly bearer: string;
|
|
4242
|
+
}): Promise<InventoryVaultCustodyListResponse>;
|
|
4243
|
+
declare function listOauthInventoryVaulted(context: TransportContext, input: {
|
|
4244
|
+
readonly bearer: string;
|
|
4245
|
+
}): Promise<InventoryVaultCustodyListResponse>;
|
|
4246
|
+
//#endregion
|
|
3237
4247
|
//#region src/messaging/dm-key-backup.d.ts
|
|
3238
4248
|
declare function getDmKeyBackupStatus(context: TransportContext, input: {
|
|
3239
4249
|
readonly bearer: string;
|
|
@@ -3500,6 +4510,15 @@ declare function denyPaymentIntent(context: TransportContext, input: {
|
|
|
3500
4510
|
readonly bearer: string;
|
|
3501
4511
|
readonly intentId: string;
|
|
3502
4512
|
}): Promise<OauthPaymentIntentResolveResponse>;
|
|
4513
|
+
declare function preparePaymentIntentSolana(context: TransportContext, input: {
|
|
4514
|
+
readonly bearer: string;
|
|
4515
|
+
readonly intentId: string;
|
|
4516
|
+
}): Promise<OauthPaymentIntentSolanaPrepareResponse>;
|
|
4517
|
+
declare function completePaymentIntentSolana(context: TransportContext, input: {
|
|
4518
|
+
readonly bearer: string;
|
|
4519
|
+
readonly intentId: string;
|
|
4520
|
+
readonly body: OauthPaymentIntentSolanaCompleteRequest;
|
|
4521
|
+
}): Promise<OauthPaymentIntentResolveResponse>;
|
|
3503
4522
|
//#endregion
|
|
3504
4523
|
//#region src/payments/limits.d.ts
|
|
3505
4524
|
declare function getPaymentLimits(context: TransportContext, input: {
|
|
@@ -3553,6 +4572,17 @@ declare function createTronTransfer(context: TransportContext, input: {
|
|
|
3553
4572
|
readonly body: TronTransferRequest;
|
|
3554
4573
|
readonly idempotencyKey?: string;
|
|
3555
4574
|
}): Promise<TronTransferResponse>;
|
|
4575
|
+
declare function getTronSecurity(context: TransportContext, input: {
|
|
4576
|
+
readonly bearer: string;
|
|
4577
|
+
}): Promise<TronSecuritySetting>;
|
|
4578
|
+
declare function setTronSecurity(context: TransportContext, input: {
|
|
4579
|
+
readonly bearer: string;
|
|
4580
|
+
readonly setting: TronSecuritySetting;
|
|
4581
|
+
}): Promise<TronSecuritySetting>;
|
|
4582
|
+
declare function createTronTransferChallenge(context: TransportContext, input: {
|
|
4583
|
+
readonly bearer: string;
|
|
4584
|
+
readonly body: TronTransferChallengeRequest;
|
|
4585
|
+
}): Promise<TronTransferChallengeResponse>;
|
|
3556
4586
|
declare function createTronConnectOnboarding(context: TransportContext, input: {
|
|
3557
4587
|
readonly bearer: string;
|
|
3558
4588
|
}): Promise<TronConnectOnboardingResponse>;
|
|
@@ -3727,6 +4757,10 @@ declare function sendFriendRequest(context: TransportContext, input: {
|
|
|
3727
4757
|
readonly bearer: string;
|
|
3728
4758
|
readonly userId: string;
|
|
3729
4759
|
}): Promise<void>;
|
|
4760
|
+
declare function removeFriend(context: TransportContext, input: {
|
|
4761
|
+
readonly bearer: string;
|
|
4762
|
+
readonly userId: string;
|
|
4763
|
+
}): Promise<void>;
|
|
3730
4764
|
declare function decideFriendRequest(context: TransportContext, input: {
|
|
3731
4765
|
readonly bearer: string;
|
|
3732
4766
|
readonly requestId: string;
|
|
@@ -3739,6 +4773,9 @@ declare function cancelFriendRequest(context: TransportContext, input: {
|
|
|
3739
4773
|
declare function listFriends(context: TransportContext, input: {
|
|
3740
4774
|
readonly bearer: string;
|
|
3741
4775
|
}): Promise<FriendListResponse>;
|
|
4776
|
+
declare function listFriendsForApp(context: TransportContext, input: {
|
|
4777
|
+
readonly bearer: string;
|
|
4778
|
+
}): Promise<AppFriendListResponse>;
|
|
3742
4779
|
//#endregion
|
|
3743
4780
|
//#region src/reads/socials.d.ts
|
|
3744
4781
|
declare function listSocials(context: TransportContext, input: {
|
|
@@ -3865,6 +4902,7 @@ declare class TronNodeClient {
|
|
|
3865
4902
|
};
|
|
3866
4903
|
};
|
|
3867
4904
|
subscribeOauthPaymentEvents(lifecycle: OauthPaymentEventsSubscriberLifecycle): OauthPaymentEventsSubscriber;
|
|
4905
|
+
subscribeOauthInventoryEvents(lifecycle: OauthInventoryEventsSubscriberLifecycle): OauthInventoryEventsSubscriber;
|
|
3868
4906
|
get users(): {
|
|
3869
4907
|
get: (input: {
|
|
3870
4908
|
bearer?: string;
|
|
@@ -3965,6 +5003,11 @@ declare class TronNodeClient {
|
|
|
3965
5003
|
body: MintRequestInput;
|
|
3966
5004
|
}) => Promise<MintRequestResult>;
|
|
3967
5005
|
};
|
|
5006
|
+
get friends(): {
|
|
5007
|
+
list: (input: {
|
|
5008
|
+
bearer: string;
|
|
5009
|
+
}) => Promise<AppFriendListResponse>;
|
|
5010
|
+
};
|
|
3968
5011
|
get socials(): {
|
|
3969
5012
|
list: (input: {
|
|
3970
5013
|
bearer: string;
|
|
@@ -3986,4 +5029,4 @@ declare class TronNodeClient {
|
|
|
3986
5029
|
};
|
|
3987
5030
|
}
|
|
3988
5031
|
//#endregion
|
|
3989
|
-
export { AppTokenCache, AuthorizeUrl, type BrowserClientConfig, BuildAuthorizeUrlInput, ChargeResult, type FetchLike, GameHalfCredentials, HttpsGuardOptions, InflightDedup, type Logger, MountPresenceWidgetOptions, NOOP_RATE_LIMITER, type NodeClientConfig, OauthErrorCode, OauthPaymentEventsSubscriber, OauthPaymentEventsSubscriberLifecycle, OauthPaymentEventsSubscriberOptions, OauthPaymentWebhookBody, type OauthScope, PkcePair, PlaySessionGameStatus, PresenceStatus, PresenceWidgetHandle, RateLimitOptions, RateLimiter, RequestOptions, SERVER_RATE_LIMIT_MAX_MUTATING, SERVER_RATE_LIMIT_MAX_READ, SERVER_RATE_LIMIT_WINDOW_MS, type SdkBaseConfig, TRON_WS_CLOSE_CODES, type TokenSet, type TokenStore, TransportContext, TronError, TronNodeClient, TronOauthError, TronWsCloseCode, TronWsCloseError, VerifyWebhookFailure, VerifyWebhookInput, VerifyWebhookResult, VerifyWebhookSuccess, WEBHOOK_SIGNATURE_HEADER, WEBHOOK_TIMESTAMP_HEADER, acceptDeveloperInvite, addAdmin, addAppealBlacklist, addReaction, approveTronCashout, assertSecureIssuer, batchThreadDmKeys, bindReferral, buildAuthorizeUrl, cancelFriendRequest, cancelPot, charge, chargeTronDirect, chargeTronPot, completePaymentIntent, confirmPlaySession, consolidateDeveloperAppWallet, createAppTokenCache, createConsoleLogger, createDelegation, createDeveloperApiKey, createDeveloperApp, createDirectThread, createInMemoryTokenStore, createInflightDedup, createNoopLogger, createRateLimiter, createReferralCode, createTronCashout, createTronConnectOnboarding, createTronDeposit, createTronTransfer, decideFriendRequest, declineDeveloperInvite, defaultEndpoints, deleteAppPageBanner, deleteAppPageThumbnail, deleteAppPageThumbnailVideo, deleteAvatar, deleteDelegation, deleteDeveloperApp, deleteDeveloperAppLogo, deleteDeveloperProfileLogo, deleteDeveloperRequestLogo, deleteGameReviewReply, deleteMessage, deleteMyGameReview, deleteThread, deleteThreadLogo, denyPaymentIntent, distributePot, distributeTronPot, editMessage, endPlaySession, exchangeAuthorizationCode, fetchAuthorizationServerMetadata, fetchUserInfo, fileAppeal, fileAppealPotLeg, followUser, generatePkce, generateState, getActivity, getActivityGroup, getAdminAppealRoom, getAppFeeConfig, getAppPage, getAppPageChanges, getAppealRoom, getDelegation, getDeveloperAppActivity, getDeveloperAppBalances, getDeveloperAppEarnings, getDeveloperAppOverview, getDeveloperAppPage, getDeveloperAppPlaytime, getDeveloperAppTronBalance, getDeveloperAppWallets, getDeveloperPaymentAppeals, getDeveloperPaymentPendingDeposits, getDeveloperStatus, getDeveloperTronBalanceSummary, getDmKeyBackupStatus, getIntentStatus, getLibrary, getMoonpayAvailability, getMyDmKey, getMyGameReview, getOutstanding, getPaymentChains, getPaymentHistory, getPaymentIntent, getPaymentLimits, getPaymentPrice, getPlatformFees, getPlaytime, getPlaytimeTimeseries, getPublicProfile, getReferral, getThreadDmKey, getTronBalance, getTronGameBalance, heartbeatPlaySession, hideAppPage, hideThread, inviteDeveloperAppParticipant, inviteParticipants, leaveThread, listActivePlayers, listAdmins, listAppPages, listAppealBlacklist, listAppealQueue, listAudit, listDeveloperApiKeys, listDeveloperAppContentReports, listDeveloperAppParticipants, listDeveloperAppReviews, listDeveloperInvites, listDeveloperRequests, listDevelopers, listFriends, listGameReviews, listInventory, listInventoryForApp, listNotifications, listPaymentAuthorizations, listSocials, listThreadMessages, listThreads, listTronCashoutQueue, listTronCashouts, listTronLedger, listUsers, listWalletManager, listWallets, markAllNotificationsRead, markThreadRead, mintClientCredentialsToken, mintMoonpayBuyUrl, mintMoonpaySellUrl, mountPresenceWidget, oauthPaymentWebhookBodySchema, parseJson, pinThread, postAdminAppealRoomMessage, postAppealRoomMessage, previewReferral, provisionDeveloperAppWallet, publishDmKey, refreshAccessToken, registerOauthClient, rejectTronCashout, removeAdmin, removeAppealBlacklist, removeParticipant, removeReaction, replyToGameReview, requestDeveloperAppProduction, requestMint, requestPayout, resolveAppeal, reviewAppPage, reviewAppPageChanges, reviewDeveloperRequest, revokeDeveloperApiKey, revokeDeveloperAppParticipant, revokePaymentAuthorization, revokeToken, rotateDeveloperAppKey, rotateDeveloperAppPaymentWebhookSecret, rotateProcessorTreasury, searchGiphy, searchUsers, send, sendFriendRequest, sendJson, sendMessage, sendPresenceHeartbeat, setProcessorWhitelist, setVaultOperator, setVaultPause, setVaultWithdrawLockDefault, setVaultWithdrawLockOverride, setupDmKeyBackup, sha256Base64Url, signPaymentIntent, startOauthPaymentEventsSubscriber, submitAppContentReport, submitAppPageForReview, submitDeveloperRequest, toTokenSet, unfollowUser, unhideAppPage, unlockDmKeyBackup, unpinThread, unpublishAppPage, updateAdminRole, updateAppFeeConfig, updateAppPage, updateDeveloperApp, updateDeveloperAppAutoSweep, updateDeveloperAppContentReportStatus, updateDeveloperProfile, updateNotification, updateParticipantRole, updatePaymentAuthorization, updatePlatformFees, updateProfile, updateThreadSettings, updateUserBan, updateWalletLabel, uploadAdminAppealRoomAttachment, uploadAppPageBanner, uploadAppPageGallery, uploadAppPageThumbnail, uploadAppPageThumbnailVideo, uploadAppealRoomAttachment, uploadAttachment, uploadAvatar, uploadDeveloperAppLogo, uploadDeveloperProfileLogo, uploadDeveloperRequestLogo, uploadMultipart, uploadThreadLogo, upsertMyGameReview, verifyWebhook, withdrawDeveloperAppWallet };
|
|
5032
|
+
export { AppTokenCache, AuthorizeUrl, type BrowserClientConfig, BuildAuthorizeUrlInput, ChargeResult, type FetchLike, GameHalfCredentials, HttpsGuardOptions, InflightDedup, InventoryUpdateEvent, type Logger, MountPresenceWidgetOptions, NOOP_RATE_LIMITER, type NodeClientConfig, OauthErrorCode, OauthInventoryEventsSubscriber, OauthInventoryEventsSubscriberLifecycle, OauthInventoryEventsSubscriberOptions, OauthPaymentEventsSubscriber, OauthPaymentEventsSubscriberLifecycle, OauthPaymentEventsSubscriberOptions, OauthPaymentWebhookBody, type OauthScope, PkcePair, PlaySessionGameStatus, PresenceStatus, PresenceWidgetHandle, RateLimitOptions, RateLimiter, RequestOptions, SERVER_RATE_LIMIT_MAX_MUTATING, SERVER_RATE_LIMIT_MAX_READ, SERVER_RATE_LIMIT_WINDOW_MS, type SdkBaseConfig, TRON_WS_CLOSE_CODES, type TokenSet, type TokenStore, TransportContext, TronError, TronNodeClient, TronOauthError, TronWsCloseCode, TronWsCloseError, VerifyWebhookFailure, VerifyWebhookInput, VerifyWebhookResult, VerifyWebhookSuccess, WEBHOOK_SIGNATURE_HEADER, WEBHOOK_TIMESTAMP_HEADER, acceptDeveloperInvite, addAdmin, addAppealBlacklist, addReaction, approveTronCashout, assertSecureIssuer, batchThreadDmKeys, bindReferral, buildAuthorizeUrl, cancelFriendRequest, cancelPot, charge, chargeTronDirect, chargeTronPot, commentOnBipUpdate, commentOnGameReview, completePaymentIntent, completePaymentIntentSolana, confirmPlaySession, consolidateDeveloperAppWallet, createAppTokenCache, createBipUpdate, createConsoleLogger, createDelegation, createDeveloperApiKey, createDeveloperApp, createDeveloperAppMintPermit, createDeveloperVaultPermit, createDeveloperWithdrawPermit, createDirectThread, createInMemoryTokenStore, createInflightDedup, createNoopLogger, createRateLimiter, createReferralCode, createTronCashout, createTronConnectOnboarding, createTronDeposit, createTronTransfer, createTronTransferChallenge, decideFriendRequest, declineDeveloperInvite, defaultEndpoints, deleteAppPageBanner, deleteAppPageThumbnail, deleteAppPageThumbnailVideo, deleteAvatar, deleteBipUpdate, deleteBipUpdateComment, deleteDelegation, deleteDeveloperApp, deleteDeveloperAppLogo, deleteDeveloperProfileLogo, deleteDeveloperRequestLogo, deleteGameReviewComment, deleteGameReviewReply, deleteMessage, deleteMyGameReview, deleteThread, deleteThreadLogo, denyPaymentIntent, distributePot, distributeTronPot, editMessage, endPlaySession, exchangeAuthorizationCode, executeNftTransfer, fetchAuthorizationServerMetadata, fetchUserInfo, fileAppeal, fileAppealPotLeg, followUser, forceWithdrawVaultCustody, generatePkce, generateState, getActivity, getActivityGroup, getAdminAppealRoom, getAppFeeConfig, getAppPage, getAppPageChanges, getAppealRoom, getBipDirectory, getBipInterestCount, getBipPage, getDelegation, getDeveloperAppActivity, getDeveloperAppBalances, getDeveloperAppEarnings, getDeveloperAppInventoryItemHolders, getDeveloperAppOverview, getDeveloperAppPage, getDeveloperAppPlaytime, getDeveloperAppTronBalance, getDeveloperAppWallets, getDeveloperPaymentAppeals, getDeveloperPaymentPendingDeposits, getDeveloperStatus, getDeveloperTronBalanceSummary, getDmKeyBackupStatus, getIntentStatus, getLibrary, getMoonpayAvailability, getMyBipEngagement, getMyBipUpdateReactions, getMyDmKey, getMyGameReview, getMyGameReviewReactions, getOutstanding, getPaymentChains, getPaymentHistory, getPaymentIntent, getPaymentLimits, getPaymentPrice, getPaymentRates, getPlatformFees, getPlaytime, getPlaytimeTimeseries, getPublicProfile, getReferral, getThreadDmKey, getTronBalance, getTronGameBalance, getTronSecurity, heartbeatPlaySession, hideAppPage, hideAppPageBip, hideThread, inventoryUpdateEventSchema, inviteDeveloperAppParticipant, inviteParticipants, leaveThread, listActivePlayers, listAdminContentReports, listAdmins, listAppPages, listAppealBlacklist, listAppealQueue, listAudit, listBipUpdateComments, listBipUpdates, listDeveloperApiKeys, listDeveloperAppContentReports, listDeveloperAppInventoryCollections, listDeveloperAppInventoryItems, listDeveloperAppParticipants, listDeveloperAppReviews, listDeveloperBipUpdates, listDeveloperInvites, listDeveloperRequests, listDevelopers, listFriends, listFriendsForApp, listGameReviewComments, listGameReviews, listInventory, listInventoryForApp, listInventoryMintPermits, listInventoryVaultPermits, listInventoryVaulted, listNotifications, listOauthInventoryVaulted, listPaymentAuthorizations, listSocials, listThreadMessages, listThreads, listTronCashoutQueue, listTronCashouts, listTronLedger, listUsers, listWalletManager, listWallets, markAllNotificationsRead, markThreadRead, mintClientCredentialsToken, mintMoonpayBuyUrl, mintMoonpaySellUrl, mountPresenceWidget, oauthPaymentWebhookBodySchema, parseJson, pinBipUpdate, pinThread, postAdminAppealRoomMessage, postAppealRoomMessage, preparePaymentIntentSolana, previewReferral, provisionDeveloperAppWallet, publishDmKey, quoteDeveloperAppInventoryRegistration, quoteNftTransfer, quoteRelayedVaultPermit, redeemInventoryMintPermit, refreshAccessToken, registerBipInterest, registerDeveloperAppInventoryItem, registerOauthClient, rejectTronCashout, removeAdmin, removeAppealBlacklist, removeFriend, removeParticipant, removeReaction, replyToGameReview, requestDeveloperAppProduction, requestMint, requestPayout, resolveAppeal, reviewAppPage, reviewAppPageBip, reviewAppPageChanges, reviewDeveloperRequest, revokeDeveloperApiKey, revokeDeveloperAppParticipant, revokePaymentAuthorization, revokeToken, rotateDeveloperAppKey, rotateDeveloperAppPaymentWebhookSecret, rotateProcessorTreasury, searchGiphy, searchUsers, send, sendFriendRequest, sendJson, sendMessage, sendPresenceHeartbeat, setAppPageBip, setBipUpdateReaction, setMyGameReviewReaction, setProcessorWhitelist, setTronSecurity, setVaultOperator, setVaultPause, setVaultWithdrawLockDefault, setVaultWithdrawLockOverride, setupDmKeyBackup, sha256Base64Url, signInventoryVaultPermit, signPaymentIntent, startOauthInventoryEventsSubscriber, startOauthPaymentEventsSubscriber, submitAppContentReport, submitAppPageBipForReview, submitAppPageForReview, submitDeveloperRequest, submitRelayedVaultPermit, subscribeBipUpdates, tipGameReview, toTokenSet, triageAdminContentReport, unfollowUser, unhideAppPage, unhideAppPageBip, unlockDmKeyBackup, unpinBipUpdate, unpinThread, unpublishAppPage, unpublishAppPageBip, updateAdminRole, updateAppFeeConfig, updateAppPage, updateBipUpdate, updateDeveloperApp, updateDeveloperAppAutoSweep, updateDeveloperAppContentReportStatus, updateDeveloperProfile, updateNotification, updateParticipantRole, updatePaymentAuthorization, updatePlatformFees, updateProfile, updateThreadSettings, updateUserBan, updateWalletLabel, uploadAdminAppealRoomAttachment, uploadAppPageBanner, uploadAppPageGallery, uploadAppPageThumbnail, uploadAppPageThumbnailVideo, uploadAppealRoomAttachment, uploadAttachment, uploadAvatar, uploadBipUpdateMedia, uploadDeveloperAppInventoryItemBanner, uploadDeveloperAppInventoryItemImage, uploadDeveloperAppLogo, uploadDeveloperProfileLogo, uploadDeveloperRequestLogo, uploadMultipart, uploadThreadLogo, upsertMyGameReview, verifyWebhook, withdrawDeveloperAppWallet };
|