@metatrongg/sdk 0.8.0-dev.5526790 → 0.8.0-dev.59008a3
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 +981 -30
- package/dist/browser/index.js +1 -1
- package/dist/contracts/index.d.ts +14028 -7002
- package/dist/contracts/index.js +1 -1
- package/dist/index.js +1 -1
- package/dist/node/index.d.ts +1037 -31
- 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/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
|
};
|
|
@@ -366,6 +384,7 @@ type AppPageLink = {
|
|
|
366
384
|
order: number;
|
|
367
385
|
};
|
|
368
386
|
type PublicAppPageStudio = {
|
|
387
|
+
ownerUserId: string | null;
|
|
369
388
|
name: string | null;
|
|
370
389
|
logoUrl: string | null;
|
|
371
390
|
websiteUrl: string | null;
|
|
@@ -378,6 +397,119 @@ type AppPageAgeRating = "everyone" | "13_plus" | "16_plus" | "18_plus" | null;
|
|
|
378
397
|
type AppPageLanguages = Array<"en" | "es" | "fr" | "de" | "pt" | "it" | "ru" | "ja" | "ko" | "zh" | "hi" | "ar" | "tr" | "vi" | "id" | "th" | "pl" | "nl">;
|
|
379
398
|
type AppPageReleaseStatus = "live" | "open_beta" | "coming_soon";
|
|
380
399
|
type AppPagePaymentsMode = "tron" | "onchain" | "both" | null;
|
|
400
|
+
type PublicBipPage = {
|
|
401
|
+
appId: string;
|
|
402
|
+
slug: AppPageSlug;
|
|
403
|
+
appName: string;
|
|
404
|
+
appLogoUrl: string | null;
|
|
405
|
+
categories: AppPageCategories;
|
|
406
|
+
tagline: AppPageTagline;
|
|
407
|
+
bannerUrl: string | null;
|
|
408
|
+
discordUrl: string | null;
|
|
409
|
+
twitterUrl: string | null;
|
|
410
|
+
redditUrl: string | null;
|
|
411
|
+
telegramUrl: string | null;
|
|
412
|
+
gallery: AppPageGallery;
|
|
413
|
+
chapters: AppPageChapters;
|
|
414
|
+
links: AppPageLinks;
|
|
415
|
+
studio: PublicAppPageStudio;
|
|
416
|
+
platforms: AppPagePlatforms;
|
|
417
|
+
gameType: AppPageGameType;
|
|
418
|
+
ageRating: AppPageAgeRating;
|
|
419
|
+
languages: AppPageLanguages;
|
|
420
|
+
releaseStatus: AppPageReleaseStatus;
|
|
421
|
+
publishedAt: string;
|
|
422
|
+
updatedAt: string;
|
|
423
|
+
};
|
|
424
|
+
type BipUpdateListResponse = {
|
|
425
|
+
updates: Array<BipUpdate>;
|
|
426
|
+
total: number;
|
|
427
|
+
hasMore: boolean;
|
|
428
|
+
};
|
|
429
|
+
type BipUpdate = {
|
|
430
|
+
id: string;
|
|
431
|
+
appId: string;
|
|
432
|
+
body: BipUpdateBody;
|
|
433
|
+
attachments: BipUpdateAttachments;
|
|
434
|
+
reactions: BipUpdateReactionCounts;
|
|
435
|
+
commentCount: number;
|
|
436
|
+
createdAt: string;
|
|
437
|
+
updatedAt: string;
|
|
438
|
+
};
|
|
439
|
+
type BipUpdateBody = string;
|
|
440
|
+
type BipUpdateAttachments = Array<BipUpdateAttachment>;
|
|
441
|
+
type BipUpdateAttachment = {
|
|
442
|
+
url: string;
|
|
443
|
+
kind: "image" | "video";
|
|
444
|
+
order: number;
|
|
445
|
+
};
|
|
446
|
+
type BipUpdateReactionCounts = {
|
|
447
|
+
up: number;
|
|
448
|
+
down: number;
|
|
449
|
+
};
|
|
450
|
+
type BipUpdateCommentListResponse = {
|
|
451
|
+
comments: Array<BipUpdateComment>;
|
|
452
|
+
total: number;
|
|
453
|
+
hasMore: boolean;
|
|
454
|
+
};
|
|
455
|
+
type BipUpdateComment = {
|
|
456
|
+
id: string;
|
|
457
|
+
body: BipUpdateCommentBody;
|
|
458
|
+
author: ReviewAuthor;
|
|
459
|
+
createdAt: string;
|
|
460
|
+
};
|
|
461
|
+
type BipUpdateCommentBody = string;
|
|
462
|
+
type ReviewAuthor = {
|
|
463
|
+
userId: string;
|
|
464
|
+
handle: string | null;
|
|
465
|
+
name: string | null;
|
|
466
|
+
avatarUrl: string | null;
|
|
467
|
+
};
|
|
468
|
+
type BipInterestCountResponse = {
|
|
469
|
+
interestCount: number;
|
|
470
|
+
};
|
|
471
|
+
type BipEngagementResponse = {
|
|
472
|
+
interested: boolean;
|
|
473
|
+
subscribed: boolean;
|
|
474
|
+
interestCount: number;
|
|
475
|
+
};
|
|
476
|
+
type MyBipUpdateReactionsResponse = {
|
|
477
|
+
reactions: Array<MyBipUpdateReaction>;
|
|
478
|
+
};
|
|
479
|
+
type MyBipUpdateReaction = {
|
|
480
|
+
updateId: string;
|
|
481
|
+
vote: "up" | "down";
|
|
482
|
+
};
|
|
483
|
+
type SetBipUpdateReactionResponse = {
|
|
484
|
+
reactions: BipUpdateReactionCounts;
|
|
485
|
+
vote: BipUpdateVote;
|
|
486
|
+
};
|
|
487
|
+
type BipUpdateVote = "up" | "down" | null;
|
|
488
|
+
type SetBipUpdateReactionRequest = {
|
|
489
|
+
vote: BipUpdateVote;
|
|
490
|
+
};
|
|
491
|
+
type CreateBipUpdateCommentResponse = {
|
|
492
|
+
comment: BipUpdateComment;
|
|
493
|
+
commentCount: number;
|
|
494
|
+
};
|
|
495
|
+
type DeleteBipUpdateCommentResponse = {
|
|
496
|
+
commentCount: number;
|
|
497
|
+
};
|
|
498
|
+
type CreateBipUpdateRequest = {
|
|
499
|
+
body: BipUpdateBody;
|
|
500
|
+
attachments?: BipUpdateAttachments;
|
|
501
|
+
};
|
|
502
|
+
type UpdateBipUpdateRequest = {
|
|
503
|
+
body?: BipUpdateBody;
|
|
504
|
+
attachments?: BipUpdateAttachments;
|
|
505
|
+
};
|
|
506
|
+
type DeleteBipUpdateResponse = {
|
|
507
|
+
deleted: true;
|
|
508
|
+
};
|
|
509
|
+
type BipUpdateMediaUploadResponse = {
|
|
510
|
+
url: string;
|
|
511
|
+
kind: "image" | "video";
|
|
512
|
+
};
|
|
381
513
|
type ReviewListResponse = {
|
|
382
514
|
aggregate: ReviewAggregate;
|
|
383
515
|
reviews: Array<Review>;
|
|
@@ -385,38 +517,43 @@ type ReviewListResponse = {
|
|
|
385
517
|
hasMore: boolean;
|
|
386
518
|
};
|
|
387
519
|
type ReviewAggregate = {
|
|
388
|
-
average: number | null;
|
|
389
520
|
count: number;
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
1: number;
|
|
394
|
-
2: number;
|
|
395
|
-
3: number;
|
|
396
|
-
4: number;
|
|
397
|
-
5: number;
|
|
521
|
+
recommendedCount: number;
|
|
522
|
+
recommendedPct: number | null;
|
|
523
|
+
summaryLabel: ReviewSummaryLabel;
|
|
398
524
|
};
|
|
525
|
+
type ReviewSummaryLabel = "overwhelmingly_positive" | "very_positive" | "positive" | "mostly_positive" | "mixed" | "mostly_negative" | "negative" | "overwhelmingly_negative" | null;
|
|
399
526
|
type Review = {
|
|
400
527
|
id: string;
|
|
401
|
-
|
|
528
|
+
recommended: ReviewRecommended;
|
|
402
529
|
body: ReviewBody;
|
|
530
|
+
reactions: ReviewReactionCounts;
|
|
531
|
+
tippedCents: number;
|
|
532
|
+
commentCount: number;
|
|
403
533
|
author: ReviewAuthor;
|
|
534
|
+
authorStats: ReviewerStats;
|
|
404
535
|
developerReply: ReviewReply;
|
|
405
536
|
createdAt: string;
|
|
406
537
|
updatedAt: string;
|
|
407
538
|
};
|
|
408
|
-
type
|
|
539
|
+
type ReviewRecommended = boolean;
|
|
409
540
|
type ReviewBody = string;
|
|
410
|
-
type
|
|
411
|
-
|
|
412
|
-
|
|
541
|
+
type ReviewReactionCounts = {
|
|
542
|
+
helpful: number;
|
|
543
|
+
unhelpful: number;
|
|
544
|
+
funny: number;
|
|
545
|
+
};
|
|
546
|
+
type ReviewerStats = {
|
|
547
|
+
playtimeSecondsThisGame: number;
|
|
548
|
+
gamesPlayed: number;
|
|
549
|
+
reviewsWritten: number;
|
|
413
550
|
};
|
|
414
551
|
type ReviewReply = {
|
|
415
552
|
body: ReviewReplyBody;
|
|
416
553
|
repliedAt: string;
|
|
417
554
|
} | null;
|
|
418
555
|
type ReviewReplyBody = string;
|
|
419
|
-
type ReviewSort = "newest" | "oldest" | "
|
|
556
|
+
type ReviewSort = "newest" | "oldest" | "helpful";
|
|
420
557
|
type MyReviewResponse = {
|
|
421
558
|
eligible: boolean;
|
|
422
559
|
eligibleVia: ReviewEligibilityReason;
|
|
@@ -426,15 +563,67 @@ type MyReviewResponse = {
|
|
|
426
563
|
type ReviewEligibilityReason = "payment" | "reward" | null;
|
|
427
564
|
type OwnReview = {
|
|
428
565
|
id: string;
|
|
429
|
-
|
|
566
|
+
recommended: ReviewRecommended;
|
|
430
567
|
body: ReviewBody;
|
|
431
568
|
createdAt: string;
|
|
432
569
|
updatedAt: string;
|
|
433
570
|
} | null;
|
|
434
571
|
type UpsertReviewRequest = {
|
|
435
|
-
|
|
572
|
+
recommended: ReviewRecommended;
|
|
436
573
|
body: ReviewBody;
|
|
437
574
|
};
|
|
575
|
+
type MyReviewReactionsResponse = {
|
|
576
|
+
reactions: Array<MyReviewReaction>;
|
|
577
|
+
};
|
|
578
|
+
type MyReviewReaction = {
|
|
579
|
+
reviewId: string;
|
|
580
|
+
vote: ReviewVote;
|
|
581
|
+
funny: boolean;
|
|
582
|
+
};
|
|
583
|
+
type ReviewVote = "helpful" | "unhelpful" | null;
|
|
584
|
+
type SetReviewReactionResponse = {
|
|
585
|
+
reactions: ReviewReactionCounts;
|
|
586
|
+
vote: ReviewVote;
|
|
587
|
+
funny: boolean;
|
|
588
|
+
};
|
|
589
|
+
type SetReviewReactionRequest = {
|
|
590
|
+
vote: ReviewVote;
|
|
591
|
+
funny: boolean;
|
|
592
|
+
};
|
|
593
|
+
type TipReviewResponse = {
|
|
594
|
+
status: "completed";
|
|
595
|
+
amountCents: number;
|
|
596
|
+
balanceCents: number;
|
|
597
|
+
tippedCents: number;
|
|
598
|
+
};
|
|
599
|
+
type TipReviewRequest = {
|
|
600
|
+
amountCents: number;
|
|
601
|
+
note?: string;
|
|
602
|
+
challengeId?: string;
|
|
603
|
+
signature?: string;
|
|
604
|
+
};
|
|
605
|
+
type ReviewCommentListResponse = {
|
|
606
|
+
comments: Array<ReviewComment>;
|
|
607
|
+
total: number;
|
|
608
|
+
hasMore: boolean;
|
|
609
|
+
};
|
|
610
|
+
type ReviewComment = {
|
|
611
|
+
id: string;
|
|
612
|
+
body: ReviewCommentBody;
|
|
613
|
+
author: ReviewAuthor;
|
|
614
|
+
createdAt: string;
|
|
615
|
+
};
|
|
616
|
+
type ReviewCommentBody = string;
|
|
617
|
+
type CreateReviewCommentResponse = {
|
|
618
|
+
comment: ReviewComment;
|
|
619
|
+
commentCount: number;
|
|
620
|
+
};
|
|
621
|
+
type CreateReviewCommentRequest = {
|
|
622
|
+
body: ReviewCommentBody;
|
|
623
|
+
};
|
|
624
|
+
type DeleteReviewCommentResponse = {
|
|
625
|
+
commentCount: number;
|
|
626
|
+
};
|
|
438
627
|
type ReviewReplyResponse = {
|
|
439
628
|
developerReply: ReviewReply;
|
|
440
629
|
};
|
|
@@ -539,8 +728,12 @@ type ActivityRow = ({
|
|
|
539
728
|
} & ActivityRowTronPot) | ({
|
|
540
729
|
kind: "tron_cashout";
|
|
541
730
|
} & ActivityRowTronCashout) | ({
|
|
731
|
+
kind: "tron_transfer";
|
|
732
|
+
} & ActivityRowTronTransfer) | ({
|
|
542
733
|
kind: "referral_earning";
|
|
543
|
-
} & ActivityRowReferralEarning)
|
|
734
|
+
} & ActivityRowReferralEarning) | ({
|
|
735
|
+
kind: "nft_charge";
|
|
736
|
+
} & ActivityRowNftCharge);
|
|
544
737
|
type ActivityRowPayment = {
|
|
545
738
|
kind: "payment";
|
|
546
739
|
groupId: string | null;
|
|
@@ -822,6 +1015,20 @@ type ActivityRowTronCashout = {
|
|
|
822
1015
|
rejectionReason: string | null;
|
|
823
1016
|
settledAt: string | null;
|
|
824
1017
|
};
|
|
1018
|
+
type ActivityRowTronTransfer = {
|
|
1019
|
+
kind: "tron_transfer";
|
|
1020
|
+
groupId: string | null;
|
|
1021
|
+
id: string;
|
|
1022
|
+
occurredAt: string;
|
|
1023
|
+
role: "incoming" | "outgoing";
|
|
1024
|
+
amountCents: number;
|
|
1025
|
+
usdCents: number;
|
|
1026
|
+
status: "settled";
|
|
1027
|
+
counterpartyUserId: string | null;
|
|
1028
|
+
counterpartyHandle: string | null;
|
|
1029
|
+
counterpartyDisplayName: string | null;
|
|
1030
|
+
note: string | null;
|
|
1031
|
+
};
|
|
825
1032
|
type ActivityRowReferralEarning = {
|
|
826
1033
|
kind: "referral_earning";
|
|
827
1034
|
groupId: string | null;
|
|
@@ -838,6 +1045,22 @@ type ActivityRowReferralEarning = {
|
|
|
838
1045
|
logIndex: number;
|
|
839
1046
|
usdCents: number | null;
|
|
840
1047
|
};
|
|
1048
|
+
type ActivityRowNftCharge = {
|
|
1049
|
+
kind: "nft_charge";
|
|
1050
|
+
groupId: string | null;
|
|
1051
|
+
id: string;
|
|
1052
|
+
occurredAt: string;
|
|
1053
|
+
role: "outgoing";
|
|
1054
|
+
chargeKind: "registration" | "mint" | "transfer_gas";
|
|
1055
|
+
amountCents: number;
|
|
1056
|
+
usdCents: number;
|
|
1057
|
+
status: "settled";
|
|
1058
|
+
collectionAddress: string | null;
|
|
1059
|
+
tokenId: string | null;
|
|
1060
|
+
counterpartyUserId: string | null;
|
|
1061
|
+
counterpartyHandle: string | null;
|
|
1062
|
+
counterpartyDisplayName: string | null;
|
|
1063
|
+
};
|
|
841
1064
|
type OutstandingResponse = {
|
|
842
1065
|
rows: Array<OutstandingByToken>;
|
|
843
1066
|
};
|
|
@@ -887,7 +1110,7 @@ type TronLedgerResponse = {
|
|
|
887
1110
|
};
|
|
888
1111
|
type TronLedgerEntry = {
|
|
889
1112
|
id: string;
|
|
890
|
-
kind: "deposit" | "pot_stake" | "pot_payout" | "dev_earning" | "cashout_hold" | "cashout_release" | "dispute_freeze" | "dispute_unfreeze" | "hosted_billing" | "store_purchase" | "referral_earning";
|
|
1113
|
+
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";
|
|
891
1114
|
amountCents: number;
|
|
892
1115
|
currency: string;
|
|
893
1116
|
createdAt: string;
|
|
@@ -902,6 +1125,45 @@ type TronDepositResponse = {
|
|
|
902
1125
|
type TronDepositRequest = {
|
|
903
1126
|
amountCents: number;
|
|
904
1127
|
};
|
|
1128
|
+
type TronTransferResponse = {
|
|
1129
|
+
status: "completed";
|
|
1130
|
+
amountCents: number;
|
|
1131
|
+
balanceCents: number;
|
|
1132
|
+
recipient: {
|
|
1133
|
+
userId: string;
|
|
1134
|
+
handle: string | null;
|
|
1135
|
+
displayName: string | null;
|
|
1136
|
+
};
|
|
1137
|
+
};
|
|
1138
|
+
type TronTransferRequest = {
|
|
1139
|
+
recipientUserId: string;
|
|
1140
|
+
amountCents: number;
|
|
1141
|
+
note?: string;
|
|
1142
|
+
challengeId?: string;
|
|
1143
|
+
signature?: string;
|
|
1144
|
+
threadId?: string;
|
|
1145
|
+
};
|
|
1146
|
+
type TronSecuritySetting = {
|
|
1147
|
+
requireSignature: boolean;
|
|
1148
|
+
};
|
|
1149
|
+
type TronTransferChallengeResponse = ({
|
|
1150
|
+
required: false;
|
|
1151
|
+
} & TronTransferChallengeNotRequired) | ({
|
|
1152
|
+
required: true;
|
|
1153
|
+
} & TronTransferChallengeRequired);
|
|
1154
|
+
type TronTransferChallengeNotRequired = {
|
|
1155
|
+
required: false;
|
|
1156
|
+
};
|
|
1157
|
+
type TronTransferChallengeRequired = {
|
|
1158
|
+
required: true;
|
|
1159
|
+
challengeId: string;
|
|
1160
|
+
message: string;
|
|
1161
|
+
expiresAt: string;
|
|
1162
|
+
};
|
|
1163
|
+
type TronTransferChallengeRequest = {
|
|
1164
|
+
recipientUserId: string;
|
|
1165
|
+
amountCents: number;
|
|
1166
|
+
};
|
|
905
1167
|
type TronConnectOnboardingResponse = {
|
|
906
1168
|
url: string;
|
|
907
1169
|
};
|
|
@@ -958,12 +1220,15 @@ type WalletListResponse = {
|
|
|
958
1220
|
wallets: Array<WalletItem>;
|
|
959
1221
|
};
|
|
960
1222
|
type WalletChainList = Array<{
|
|
961
|
-
id: "ethereum-mainnet" | "base-mainnet" | "ethereum-sepolia";
|
|
1223
|
+
id: "ethereum-mainnet" | "base-mainnet" | "ethereum-sepolia" | "base-sepolia" | "solana-mainnet" | "solana-devnet";
|
|
962
1224
|
displayName: string;
|
|
963
|
-
|
|
1225
|
+
family: "evm" | "solana";
|
|
1226
|
+
nativeSymbol: string;
|
|
1227
|
+
chainId?: number;
|
|
964
1228
|
}>;
|
|
965
1229
|
type WalletItem = {
|
|
966
|
-
address: string;
|
|
1230
|
+
address: string | string;
|
|
1231
|
+
family: "evm" | "solana";
|
|
967
1232
|
label: WalletLabel;
|
|
968
1233
|
kind: "personal" | "app";
|
|
969
1234
|
app: WalletAppLink;
|
|
@@ -980,6 +1245,9 @@ type WalletBalances = {
|
|
|
980
1245
|
"ethereum-mainnet"?: WalletChainBalance;
|
|
981
1246
|
"base-mainnet"?: WalletChainBalance;
|
|
982
1247
|
"ethereum-sepolia"?: WalletChainBalance;
|
|
1248
|
+
"base-sepolia"?: WalletChainBalance;
|
|
1249
|
+
"solana-mainnet"?: WalletChainBalance;
|
|
1250
|
+
"solana-devnet"?: WalletChainBalance;
|
|
983
1251
|
};
|
|
984
1252
|
type WalletChainBalance = {
|
|
985
1253
|
native: string;
|
|
@@ -989,12 +1257,14 @@ type WalletDelegationStatus = {
|
|
|
989
1257
|
mode: WalletDelegationMode;
|
|
990
1258
|
caps: WalletDelegationCaps;
|
|
991
1259
|
policyId: string | null;
|
|
1260
|
+
slippageBps: DelegationSlippageBps;
|
|
992
1261
|
};
|
|
993
1262
|
type WalletDelegationMode = "infinite" | "custom" | "scoped" | null;
|
|
994
1263
|
type WalletDelegationCaps = {
|
|
995
1264
|
native: string;
|
|
996
1265
|
usdc: string;
|
|
997
1266
|
} | null;
|
|
1267
|
+
type DelegationSlippageBps = number | null;
|
|
998
1268
|
type WalletLabelUpdateResponse = {
|
|
999
1269
|
address: string;
|
|
1000
1270
|
label: WalletLabel;
|
|
@@ -1068,6 +1338,7 @@ type ThreadLastMessagePreview = {
|
|
|
1068
1338
|
url: string;
|
|
1069
1339
|
count: number;
|
|
1070
1340
|
} | null;
|
|
1341
|
+
transaction?: MessageTransactionTronTransfer | MessageTransactionNftTransfer | null;
|
|
1071
1342
|
sentAt: string;
|
|
1072
1343
|
} | null;
|
|
1073
1344
|
type MessageEnvelope = {
|
|
@@ -1079,6 +1350,20 @@ type MessageEnvelope = {
|
|
|
1079
1350
|
iv: string;
|
|
1080
1351
|
ct: string;
|
|
1081
1352
|
} | null;
|
|
1353
|
+
type MessageTransactionTronTransfer = {
|
|
1354
|
+
kind: "tron_transfer";
|
|
1355
|
+
amountCents: number;
|
|
1356
|
+
recipientUserId: string;
|
|
1357
|
+
};
|
|
1358
|
+
type MessageTransactionNftTransfer = {
|
|
1359
|
+
kind: "nft_transfer";
|
|
1360
|
+
recipientUserId: string;
|
|
1361
|
+
collectionAddress: string;
|
|
1362
|
+
tokenId: string;
|
|
1363
|
+
amount: string;
|
|
1364
|
+
itemName: string | null;
|
|
1365
|
+
imageAssetId?: string | null;
|
|
1366
|
+
};
|
|
1082
1367
|
type GroupThreadSummary = {
|
|
1083
1368
|
kind: "group";
|
|
1084
1369
|
id: string;
|
|
@@ -1125,6 +1410,7 @@ type MessageItem = {
|
|
|
1125
1410
|
id: string;
|
|
1126
1411
|
threadId: string;
|
|
1127
1412
|
senderUserId: string;
|
|
1413
|
+
transaction?: MessageTransactionTronTransfer | MessageTransactionNftTransfer | null;
|
|
1128
1414
|
body: string;
|
|
1129
1415
|
envelope?: MessageEnvelope;
|
|
1130
1416
|
sentAt: string;
|
|
@@ -1336,11 +1622,45 @@ type InventoryHolding = {
|
|
|
1336
1622
|
tokenId: string;
|
|
1337
1623
|
amount: string;
|
|
1338
1624
|
name: string | null;
|
|
1625
|
+
description: string | null;
|
|
1339
1626
|
imageAssetId: string | null;
|
|
1340
1627
|
bannerAssetId: string | null;
|
|
1341
1628
|
devMetadata: {
|
|
1342
1629
|
[key: string]: unknown;
|
|
1343
1630
|
};
|
|
1631
|
+
appId: string | null;
|
|
1632
|
+
appName: string | null;
|
|
1633
|
+
appLogoUrl: string | null;
|
|
1634
|
+
};
|
|
1635
|
+
type InventoryPendingPermitListResponse = {
|
|
1636
|
+
permits: Array<InventoryPendingPermit>;
|
|
1637
|
+
};
|
|
1638
|
+
type InventoryPendingPermit = {
|
|
1639
|
+
id: string;
|
|
1640
|
+
appId: string;
|
|
1641
|
+
itemId: string;
|
|
1642
|
+
amount: string;
|
|
1643
|
+
priceCents: number | null;
|
|
1644
|
+
gasSponsored: boolean;
|
|
1645
|
+
environment: "development" | "production";
|
|
1646
|
+
createdAt: string;
|
|
1647
|
+
tokenId: string;
|
|
1648
|
+
name: string | null;
|
|
1649
|
+
description: string | null;
|
|
1650
|
+
imageAssetId: string | null;
|
|
1651
|
+
chain: string;
|
|
1652
|
+
collectionAddress: string;
|
|
1653
|
+
kind: "erc721" | "erc1155";
|
|
1654
|
+
};
|
|
1655
|
+
type InventoryPermitRedeemResult = {
|
|
1656
|
+
mint: MintRequestResult;
|
|
1657
|
+
charge: {
|
|
1658
|
+
currency: "tron";
|
|
1659
|
+
gasCents: number;
|
|
1660
|
+
priceCents: number;
|
|
1661
|
+
totalCents: number;
|
|
1662
|
+
gasPaidBy: "user" | "developer";
|
|
1663
|
+
};
|
|
1344
1664
|
};
|
|
1345
1665
|
type MintRequestResult = {
|
|
1346
1666
|
mintRequestId: string;
|
|
@@ -1356,6 +1676,247 @@ type MintRequestInput = {
|
|
|
1356
1676
|
tokenId?: string;
|
|
1357
1677
|
amount?: string;
|
|
1358
1678
|
};
|
|
1679
|
+
type InventoryCollectionListResponse = {
|
|
1680
|
+
collections: Array<InventoryCollectionSummary>;
|
|
1681
|
+
};
|
|
1682
|
+
type InventoryCollectionSummary = {
|
|
1683
|
+
id: string;
|
|
1684
|
+
chain: string;
|
|
1685
|
+
collectionAddress: string;
|
|
1686
|
+
kind: "erc721" | "erc1155";
|
|
1687
|
+
name: string | null;
|
|
1688
|
+
environment: "development" | "production";
|
|
1689
|
+
};
|
|
1690
|
+
type InventoryRegistrationQuote = {
|
|
1691
|
+
itemCount: number;
|
|
1692
|
+
baselineUsdCents: number;
|
|
1693
|
+
gasUsdCents: number;
|
|
1694
|
+
tron: {
|
|
1695
|
+
baselineCents: number;
|
|
1696
|
+
gasCents: number;
|
|
1697
|
+
totalCents: number;
|
|
1698
|
+
};
|
|
1699
|
+
eth: {
|
|
1700
|
+
baselineWei: string;
|
|
1701
|
+
gasWei: string;
|
|
1702
|
+
totalWei: string;
|
|
1703
|
+
};
|
|
1704
|
+
};
|
|
1705
|
+
type InventoryItemRegistrationInput = {
|
|
1706
|
+
collectionAddress: string;
|
|
1707
|
+
chain: string;
|
|
1708
|
+
items: Array<InventoryItemRegistrationSpec>;
|
|
1709
|
+
};
|
|
1710
|
+
type InventoryItemRegistrationSpec = {
|
|
1711
|
+
name?: string | null;
|
|
1712
|
+
description?: string | null;
|
|
1713
|
+
devMetadata?: {
|
|
1714
|
+
[key: string]: unknown;
|
|
1715
|
+
};
|
|
1716
|
+
supplyType?: InventorySupplyType;
|
|
1717
|
+
maxSupply?: string | null;
|
|
1718
|
+
active?: boolean;
|
|
1719
|
+
};
|
|
1720
|
+
type InventorySupplyType = "capped" | "flexible" | "unlimited";
|
|
1721
|
+
type InventoryItemRegistrationResult = {
|
|
1722
|
+
items: Array<InventoryItemRecord>;
|
|
1723
|
+
charge: {
|
|
1724
|
+
currency: "tron";
|
|
1725
|
+
amountCents: number;
|
|
1726
|
+
baselineCents: number;
|
|
1727
|
+
gasCents: number;
|
|
1728
|
+
addItemTxHash: string;
|
|
1729
|
+
};
|
|
1730
|
+
};
|
|
1731
|
+
type InventoryItemRecord = {
|
|
1732
|
+
id: string;
|
|
1733
|
+
collectionId: string;
|
|
1734
|
+
collectionAddress: string;
|
|
1735
|
+
chain: string;
|
|
1736
|
+
kind: "erc721" | "erc1155";
|
|
1737
|
+
tokenId: string;
|
|
1738
|
+
name: string | null;
|
|
1739
|
+
description: string | null;
|
|
1740
|
+
imageAssetId: string | null;
|
|
1741
|
+
bannerAssetId: string | null;
|
|
1742
|
+
devMetadata: {
|
|
1743
|
+
[key: string]: unknown;
|
|
1744
|
+
};
|
|
1745
|
+
supplyType: InventorySupplyType | null;
|
|
1746
|
+
maxSupply: string | null;
|
|
1747
|
+
active: boolean;
|
|
1748
|
+
};
|
|
1749
|
+
type InventoryItemListResponse = {
|
|
1750
|
+
items: Array<InventoryItemRecord>;
|
|
1751
|
+
};
|
|
1752
|
+
type InventoryMintPermitRecord = {
|
|
1753
|
+
id: string;
|
|
1754
|
+
appId: string;
|
|
1755
|
+
itemId: string;
|
|
1756
|
+
userId: string;
|
|
1757
|
+
amount: string;
|
|
1758
|
+
priceCents: number | null;
|
|
1759
|
+
gasSponsored: boolean;
|
|
1760
|
+
status: "pending" | "redeemed" | "revoked";
|
|
1761
|
+
createdAt: string;
|
|
1762
|
+
};
|
|
1763
|
+
type InventoryMintPermitCreateInput = {
|
|
1764
|
+
toUserId: string;
|
|
1765
|
+
amount?: string;
|
|
1766
|
+
priceCents?: number | null;
|
|
1767
|
+
gasSponsored?: boolean;
|
|
1768
|
+
};
|
|
1769
|
+
type InventoryItemHoldersResponse = {
|
|
1770
|
+
stats: InventoryItemStats;
|
|
1771
|
+
holders: Array<InventoryItemHolder>;
|
|
1772
|
+
};
|
|
1773
|
+
type InventoryItemStats = {
|
|
1774
|
+
holderCount: number;
|
|
1775
|
+
walletCount: number;
|
|
1776
|
+
totalHeld: string;
|
|
1777
|
+
};
|
|
1778
|
+
type InventoryItemHolder = {
|
|
1779
|
+
walletAddress: string;
|
|
1780
|
+
userId: string | null;
|
|
1781
|
+
amount: string;
|
|
1782
|
+
};
|
|
1783
|
+
type InventoryVaultPermitRecord = {
|
|
1784
|
+
id: string;
|
|
1785
|
+
appId: string;
|
|
1786
|
+
itemId: string;
|
|
1787
|
+
userId: string;
|
|
1788
|
+
direction: "vault_in" | "withdraw";
|
|
1789
|
+
lockKind: "vault" | "burn" | null;
|
|
1790
|
+
amount: string;
|
|
1791
|
+
gasSponsored: boolean;
|
|
1792
|
+
status: "pending" | "redeemed" | "revoked";
|
|
1793
|
+
custodyId: string | null;
|
|
1794
|
+
createdAt: string;
|
|
1795
|
+
};
|
|
1796
|
+
type InventoryVaultPermitCreateInput = {
|
|
1797
|
+
toUserId: string;
|
|
1798
|
+
lockKind: "vault" | "burn";
|
|
1799
|
+
amount?: string;
|
|
1800
|
+
gasSponsored?: boolean;
|
|
1801
|
+
};
|
|
1802
|
+
type InventoryWithdrawPermitCreateInput = {
|
|
1803
|
+
custodyId: string;
|
|
1804
|
+
};
|
|
1805
|
+
type InventoryPendingVaultPermitListResponse = {
|
|
1806
|
+
permits: Array<InventoryPendingVaultPermit>;
|
|
1807
|
+
};
|
|
1808
|
+
type InventoryPendingVaultPermit = {
|
|
1809
|
+
id: string;
|
|
1810
|
+
appId: string;
|
|
1811
|
+
itemId: string;
|
|
1812
|
+
direction: "vault_in" | "withdraw";
|
|
1813
|
+
lockKind: "vault" | "burn" | null;
|
|
1814
|
+
amount: string;
|
|
1815
|
+
gasSponsored: boolean;
|
|
1816
|
+
environment: "development" | "production";
|
|
1817
|
+
custodyId: string | null;
|
|
1818
|
+
createdAt: string;
|
|
1819
|
+
tokenId: string;
|
|
1820
|
+
name: string | null;
|
|
1821
|
+
description: string | null;
|
|
1822
|
+
imageAssetId: string | null;
|
|
1823
|
+
chain: string;
|
|
1824
|
+
collectionAddress: string;
|
|
1825
|
+
kind: "erc721" | "erc1155";
|
|
1826
|
+
};
|
|
1827
|
+
type InventorySignedVaultPermit = {
|
|
1828
|
+
permitId: string;
|
|
1829
|
+
direction: "vault_in" | "withdraw";
|
|
1830
|
+
vault: string;
|
|
1831
|
+
collection: string;
|
|
1832
|
+
user: string;
|
|
1833
|
+
tokenId: string;
|
|
1834
|
+
amount: string;
|
|
1835
|
+
lockKind: "vault" | "burn" | null;
|
|
1836
|
+
destination: string | null;
|
|
1837
|
+
deadline: number;
|
|
1838
|
+
signature: string;
|
|
1839
|
+
};
|
|
1840
|
+
type InventoryRelayedVaultQuoteResponse = {
|
|
1841
|
+
direction: "vault_in" | "withdraw";
|
|
1842
|
+
collection: string;
|
|
1843
|
+
vault: string;
|
|
1844
|
+
chainId: number;
|
|
1845
|
+
user: string;
|
|
1846
|
+
tokenId: string;
|
|
1847
|
+
amount: string;
|
|
1848
|
+
nonce: string | null;
|
|
1849
|
+
deadline: number;
|
|
1850
|
+
feeCents: number;
|
|
1851
|
+
gasWei: string;
|
|
1852
|
+
gasPaidBy: "developer" | "user";
|
|
1853
|
+
requiresUserSignature: boolean;
|
|
1854
|
+
};
|
|
1855
|
+
type InventoryRelayedVaultSubmitResponse = {
|
|
1856
|
+
ok: boolean;
|
|
1857
|
+
txHash: string;
|
|
1858
|
+
chargedCents: number;
|
|
1859
|
+
gasPaidBy: "developer" | "user";
|
|
1860
|
+
};
|
|
1861
|
+
type InventoryRelayedVaultSubmitRequest = {
|
|
1862
|
+
userSignature?: string;
|
|
1863
|
+
deadline?: number;
|
|
1864
|
+
};
|
|
1865
|
+
type InventoryNftTransferQuoteResponse = {
|
|
1866
|
+
collection: string;
|
|
1867
|
+
chainId: number;
|
|
1868
|
+
from: string;
|
|
1869
|
+
to: string;
|
|
1870
|
+
tokenId: string;
|
|
1871
|
+
amount: string;
|
|
1872
|
+
nonce: string;
|
|
1873
|
+
deadline: number;
|
|
1874
|
+
feeCents: number;
|
|
1875
|
+
gasWei: string;
|
|
1876
|
+
selfPayAvailable: boolean;
|
|
1877
|
+
};
|
|
1878
|
+
type InventoryNftTransferQuoteRequest = {
|
|
1879
|
+
toUserId: string;
|
|
1880
|
+
collection: string;
|
|
1881
|
+
tokenId: string;
|
|
1882
|
+
amount?: string;
|
|
1883
|
+
};
|
|
1884
|
+
type InventoryNftTransferResponse = {
|
|
1885
|
+
ok: boolean;
|
|
1886
|
+
txHash: string;
|
|
1887
|
+
chargedCents: number;
|
|
1888
|
+
};
|
|
1889
|
+
type InventoryNftTransferRequest = {
|
|
1890
|
+
toUserId: string;
|
|
1891
|
+
collection: string;
|
|
1892
|
+
tokenId: string;
|
|
1893
|
+
amount?: string;
|
|
1894
|
+
deadline: number;
|
|
1895
|
+
userSignature: string;
|
|
1896
|
+
threadId?: string;
|
|
1897
|
+
};
|
|
1898
|
+
type InventoryVaultCustodyListResponse = {
|
|
1899
|
+
custody: Array<InventoryVaultCustody>;
|
|
1900
|
+
};
|
|
1901
|
+
type InventoryVaultCustody = {
|
|
1902
|
+
id: string;
|
|
1903
|
+
collectionId: string;
|
|
1904
|
+
collectionAddress: string;
|
|
1905
|
+
chain: string;
|
|
1906
|
+
kind: "erc721" | "erc1155";
|
|
1907
|
+
tokenId: string;
|
|
1908
|
+
amount: string;
|
|
1909
|
+
lockKind: "vault" | "burn";
|
|
1910
|
+
vaultAddress: string;
|
|
1911
|
+
createdAt: string;
|
|
1912
|
+
name: string | null;
|
|
1913
|
+
description: string | null;
|
|
1914
|
+
imageAssetId: string | null;
|
|
1915
|
+
};
|
|
1916
|
+
type InventoryVaultForceWithdrawResponse = {
|
|
1917
|
+
ok: boolean;
|
|
1918
|
+
txHash: string;
|
|
1919
|
+
};
|
|
1359
1920
|
type NotificationListResponse = {
|
|
1360
1921
|
notifications: Array<NotificationItem>;
|
|
1361
1922
|
unreadCount: number;
|
|
@@ -1384,6 +1945,18 @@ type NotificationItem = {
|
|
|
1384
1945
|
payload: AppPageRejectedNotificationPayload;
|
|
1385
1946
|
read: boolean;
|
|
1386
1947
|
createdAt: string;
|
|
1948
|
+
} | {
|
|
1949
|
+
id: string;
|
|
1950
|
+
kind: "bip_update_published";
|
|
1951
|
+
payload: BipUpdatePublishedNotificationPayload;
|
|
1952
|
+
read: boolean;
|
|
1953
|
+
createdAt: string;
|
|
1954
|
+
} | {
|
|
1955
|
+
id: string;
|
|
1956
|
+
kind: "bip_now_playable";
|
|
1957
|
+
payload: BipNowPlayableNotificationPayload;
|
|
1958
|
+
read: boolean;
|
|
1959
|
+
createdAt: string;
|
|
1387
1960
|
} | {
|
|
1388
1961
|
id: string;
|
|
1389
1962
|
kind: "app_participant_invite";
|
|
@@ -1414,14 +1987,25 @@ type FriendAcceptedNotificationPayload = {
|
|
|
1414
1987
|
type AppPageApprovedNotificationPayload = {
|
|
1415
1988
|
appId: string;
|
|
1416
1989
|
appName: string;
|
|
1417
|
-
scope: "publish" | "changes";
|
|
1990
|
+
scope: "publish" | "changes" | "bip_publish";
|
|
1418
1991
|
};
|
|
1419
1992
|
type AppPageRejectedNotificationPayload = {
|
|
1420
1993
|
appId: string;
|
|
1421
1994
|
appName: string;
|
|
1422
|
-
scope: "publish" | "changes";
|
|
1995
|
+
scope: "publish" | "changes" | "bip_publish";
|
|
1423
1996
|
notes: string;
|
|
1424
1997
|
};
|
|
1998
|
+
type BipUpdatePublishedNotificationPayload = {
|
|
1999
|
+
appId: string;
|
|
2000
|
+
appName: string;
|
|
2001
|
+
appSlug: string | null;
|
|
2002
|
+
updateId: string;
|
|
2003
|
+
};
|
|
2004
|
+
type BipNowPlayableNotificationPayload = {
|
|
2005
|
+
appId: string;
|
|
2006
|
+
appName: string;
|
|
2007
|
+
appSlug: string | null;
|
|
2008
|
+
};
|
|
1425
2009
|
type AppParticipantInviteNotificationPayload = {
|
|
1426
2010
|
appId: string;
|
|
1427
2011
|
appName: string;
|
|
@@ -1451,6 +2035,9 @@ type FriendListItem = {
|
|
|
1451
2035
|
onlineStatus: OnlineStatus;
|
|
1452
2036
|
};
|
|
1453
2037
|
type OnlineStatus = "online" | "offline";
|
|
2038
|
+
type AppFriendListResponse = {
|
|
2039
|
+
friends: Array<ThreadParticipant>;
|
|
2040
|
+
};
|
|
1454
2041
|
type FriendRequestDecision = {
|
|
1455
2042
|
decision: "accept" | "reject";
|
|
1456
2043
|
};
|
|
@@ -1523,7 +2110,7 @@ type ProfileRecentReview = {
|
|
|
1523
2110
|
appId: string;
|
|
1524
2111
|
appName: string;
|
|
1525
2112
|
appLogoUrl: string | null;
|
|
1526
|
-
|
|
2113
|
+
recommended: boolean;
|
|
1527
2114
|
body: string;
|
|
1528
2115
|
createdAt: string;
|
|
1529
2116
|
};
|
|
@@ -1580,17 +2167,20 @@ type CreateDeveloperAppChain = {
|
|
|
1580
2167
|
};
|
|
1581
2168
|
type UpdateDeveloperApp = {
|
|
1582
2169
|
name?: DeveloperAppName;
|
|
2170
|
+
slug?: AppPageSlug | null;
|
|
1583
2171
|
logoUrl?: string | null;
|
|
1584
2172
|
testAccess?: "private" | "public";
|
|
1585
2173
|
redirectUris?: Array<string>;
|
|
1586
2174
|
embedOrigins?: Array<EmbedOrigin>;
|
|
1587
2175
|
acceptedCurrencies?: AcceptedCurrencies;
|
|
2176
|
+
acceptedNetworks?: AcceptedNetworks;
|
|
1588
2177
|
paymentStatusWebhookUrl?: string | null;
|
|
1589
2178
|
paymentStatusWebhookUrlTest?: string | null;
|
|
1590
2179
|
};
|
|
1591
2180
|
type EmbedOrigin = string;
|
|
1592
2181
|
type AcceptedCurrencies = Array<PlatformCurrency>;
|
|
1593
2182
|
type PlatformCurrency = "eth" | "tron";
|
|
2183
|
+
type AcceptedNetworks = Array<PaymentNetwork> | null;
|
|
1594
2184
|
type DeveloperLogoUploadResponse = {
|
|
1595
2185
|
logoUrl: string | null;
|
|
1596
2186
|
};
|
|
@@ -1828,6 +2418,7 @@ type DeveloperProductionRequestPayload = {
|
|
|
1828
2418
|
type DeveloperAppItem = {
|
|
1829
2419
|
id: string;
|
|
1830
2420
|
name: DeveloperAppName;
|
|
2421
|
+
slug: AppPageSlug | null;
|
|
1831
2422
|
logoUrl: string | null;
|
|
1832
2423
|
environment: "development" | "production";
|
|
1833
2424
|
productionApprovedAt: string | null;
|
|
@@ -1836,6 +2427,7 @@ type DeveloperAppItem = {
|
|
|
1836
2427
|
redirectUris: Array<string>;
|
|
1837
2428
|
embedOrigins: Array<EmbedOrigin>;
|
|
1838
2429
|
acceptedCurrencies: AcceptedCurrencies;
|
|
2430
|
+
acceptedNetworks: AcceptedNetworks;
|
|
1839
2431
|
payoutAddresses: Array<DeveloperAppPayoutAddressItem>;
|
|
1840
2432
|
keys: Array<DeveloperAppKeyItem>;
|
|
1841
2433
|
pendingProductionRequestId: string | null;
|
|
@@ -1890,9 +2482,18 @@ type AppPageDraft = {
|
|
|
1890
2482
|
hiddenAt: string | null;
|
|
1891
2483
|
hiddenReasonPublic: string | null;
|
|
1892
2484
|
pendingReview: boolean;
|
|
2485
|
+
bip: AppPageBipState;
|
|
2486
|
+
};
|
|
2487
|
+
type AppPageBipState = {
|
|
2488
|
+
enabled: boolean;
|
|
2489
|
+
status: "draft" | "pending_review" | "published" | "hidden";
|
|
2490
|
+
firstPublishedAt: string | null;
|
|
2491
|
+
reviewedAt: string | null;
|
|
2492
|
+
reviewNotes: string | null;
|
|
2493
|
+
hiddenAt: string | null;
|
|
2494
|
+
hiddenReasonPublic: string | null;
|
|
1893
2495
|
};
|
|
1894
2496
|
type UpdateAppPage = {
|
|
1895
|
-
slug?: AppPageSlug | null;
|
|
1896
2497
|
categories?: AppPageCategories;
|
|
1897
2498
|
tagline?: AppPageTagline | null;
|
|
1898
2499
|
bannerUrl?: string | null;
|
|
@@ -1915,6 +2516,9 @@ type UpdateAppPage = {
|
|
|
1915
2516
|
type AppPageGalleryUploadResponse = {
|
|
1916
2517
|
url: string;
|
|
1917
2518
|
};
|
|
2519
|
+
type AppPageBipToggle = {
|
|
2520
|
+
enabled: boolean;
|
|
2521
|
+
};
|
|
1918
2522
|
type AdminActivePlayersResponse = {
|
|
1919
2523
|
players: Array<AdminActivePlayer>;
|
|
1920
2524
|
total: number;
|
|
@@ -2053,6 +2657,11 @@ type AdminAppPageItem = {
|
|
|
2053
2657
|
hiddenAt: string | null;
|
|
2054
2658
|
hiddenReasonInternal: string | null;
|
|
2055
2659
|
pendingChangesSubmittedAt: string | null;
|
|
2660
|
+
bipEnabled: boolean;
|
|
2661
|
+
bipStatus: "draft" | "pending_review" | "published" | "hidden";
|
|
2662
|
+
bipFirstPublishedAt: string | null;
|
|
2663
|
+
bipHiddenAt: string | null;
|
|
2664
|
+
openReportCount: number;
|
|
2056
2665
|
};
|
|
2057
2666
|
type AdminAppPageStatusResponse = {
|
|
2058
2667
|
status: "draft" | "pending_review" | "published" | "hidden";
|
|
@@ -2078,6 +2687,25 @@ type AdminAppPageDiffField = {
|
|
|
2078
2687
|
from: string;
|
|
2079
2688
|
to: string;
|
|
2080
2689
|
};
|
|
2690
|
+
type AdminAppPageBipStatusResponse = {
|
|
2691
|
+
bipStatus: "draft" | "pending_review" | "published" | "hidden";
|
|
2692
|
+
};
|
|
2693
|
+
type AdminAppContentReportListResponse = {
|
|
2694
|
+
reports: Array<AdminAppContentReportItem>;
|
|
2695
|
+
total: number;
|
|
2696
|
+
hasMore: boolean;
|
|
2697
|
+
};
|
|
2698
|
+
type AdminAppContentReportItem = {
|
|
2699
|
+
id: string;
|
|
2700
|
+
category: AppContentReportCategory;
|
|
2701
|
+
details: string | null;
|
|
2702
|
+
status: AppContentReportStatus;
|
|
2703
|
+
acknowledgedAt: string | null;
|
|
2704
|
+
createdAt: string;
|
|
2705
|
+
appId: string;
|
|
2706
|
+
appName: string;
|
|
2707
|
+
appSlug: string | null;
|
|
2708
|
+
};
|
|
2081
2709
|
type PlatformFeesResponse = {
|
|
2082
2710
|
purchaseFeeBps: number;
|
|
2083
2711
|
stakeFeeBps: number;
|
|
@@ -2258,6 +2886,13 @@ type AppealResolveRequest = {
|
|
|
2258
2886
|
decision: "refund" | "dismiss";
|
|
2259
2887
|
notes?: string;
|
|
2260
2888
|
};
|
|
2889
|
+
type PaymentRatesResponse = {
|
|
2890
|
+
asOf: string;
|
|
2891
|
+
ethUsd: number | null;
|
|
2892
|
+
solUsd: number | null;
|
|
2893
|
+
solLamportsPerCent: number | null;
|
|
2894
|
+
tronUsdPerToken: number;
|
|
2895
|
+
};
|
|
2261
2896
|
type AppealFileResponse = {
|
|
2262
2897
|
appealId: string;
|
|
2263
2898
|
paymentId: string;
|
|
@@ -2367,7 +3002,7 @@ declare function listActivePlayers(context: TransportContext, input: {
|
|
|
2367
3002
|
//#region src/admin/app-pages.d.ts
|
|
2368
3003
|
declare function listAppPages(context: TransportContext, input: {
|
|
2369
3004
|
readonly bearer: string;
|
|
2370
|
-
readonly status?: "draft" | "pending_review" | "published" | "hidden" | "all" | "pending_changes";
|
|
3005
|
+
readonly status?: "draft" | "pending_review" | "published" | "hidden" | "all" | "pending_changes" | "bip_pending_review";
|
|
2371
3006
|
}): Promise<AdminAppPageListResponse>;
|
|
2372
3007
|
declare function getAppPageChanges(context: TransportContext, input: {
|
|
2373
3008
|
readonly bearer: string;
|
|
@@ -2392,6 +3027,20 @@ declare function reviewAppPage(context: TransportContext, input: {
|
|
|
2392
3027
|
readonly appId: string;
|
|
2393
3028
|
readonly body: ReviewAppPage;
|
|
2394
3029
|
}): Promise<AdminAppPageStatusResponse>;
|
|
3030
|
+
declare function reviewAppPageBip(context: TransportContext, input: {
|
|
3031
|
+
readonly bearer: string;
|
|
3032
|
+
readonly appId: string;
|
|
3033
|
+
readonly body: ReviewAppPage;
|
|
3034
|
+
}): Promise<AdminAppPageBipStatusResponse>;
|
|
3035
|
+
declare function hideAppPageBip(context: TransportContext, input: {
|
|
3036
|
+
readonly bearer: string;
|
|
3037
|
+
readonly appId: string;
|
|
3038
|
+
readonly body: HideAppPage;
|
|
3039
|
+
}): Promise<AdminAppPageBipStatusResponse>;
|
|
3040
|
+
declare function unhideAppPageBip(context: TransportContext, input: {
|
|
3041
|
+
readonly bearer: string;
|
|
3042
|
+
readonly appId: string;
|
|
3043
|
+
}): Promise<AdminAppPageBipStatusResponse>;
|
|
2395
3044
|
//#endregion
|
|
2396
3045
|
//#region src/admin/appeals.d.ts
|
|
2397
3046
|
declare function listAppealQueue(context: TransportContext, input: {
|
|
@@ -2423,6 +3072,19 @@ declare function resolveAppeal(context: TransportContext, input: {
|
|
|
2423
3072
|
readonly body: AppealResolveRequest;
|
|
2424
3073
|
}): Promise<AppealResolveSignedResponse>;
|
|
2425
3074
|
//#endregion
|
|
3075
|
+
//#region src/admin/content-reports.d.ts
|
|
3076
|
+
declare function listAdminContentReports(context: TransportContext, input: {
|
|
3077
|
+
readonly bearer: string;
|
|
3078
|
+
readonly status?: "open" | "acknowledged" | "dismissed" | "all";
|
|
3079
|
+
readonly limit?: number;
|
|
3080
|
+
readonly offset?: number;
|
|
3081
|
+
}): Promise<AdminAppContentReportListResponse>;
|
|
3082
|
+
declare function triageAdminContentReport(context: TransportContext, input: {
|
|
3083
|
+
readonly bearer: string;
|
|
3084
|
+
readonly reportId: string;
|
|
3085
|
+
readonly status: "acknowledged" | "dismissed";
|
|
3086
|
+
}): Promise<AppContentReport>;
|
|
3087
|
+
//#endregion
|
|
2426
3088
|
//#region src/admin/developers.d.ts
|
|
2427
3089
|
declare function listDeveloperRequests(context: TransportContext, input: {
|
|
2428
3090
|
readonly bearer: string;
|
|
@@ -2438,6 +3100,12 @@ declare function listDevelopers(context: TransportContext, input: {
|
|
|
2438
3100
|
readonly bearer: string;
|
|
2439
3101
|
}): Promise<AdminDeveloperListResponse>;
|
|
2440
3102
|
//#endregion
|
|
3103
|
+
//#region src/admin/inventory-vault.d.ts
|
|
3104
|
+
declare function forceWithdrawVaultCustody(context: TransportContext, input: {
|
|
3105
|
+
readonly bearer: string;
|
|
3106
|
+
readonly custodyId: string;
|
|
3107
|
+
}): Promise<InventoryVaultForceWithdrawResponse>;
|
|
3108
|
+
//#endregion
|
|
2441
3109
|
//#region src/admin/payments.d.ts
|
|
2442
3110
|
declare function getPlatformFees(context: TransportContext, input: {
|
|
2443
3111
|
readonly bearer: string;
|
|
@@ -2556,6 +3224,102 @@ declare function getAppPage(context: TransportContext, input: {
|
|
|
2556
3224
|
readonly slug: string;
|
|
2557
3225
|
}): Promise<PublicAppPage>;
|
|
2558
3226
|
//#endregion
|
|
3227
|
+
//#region src/catalog/bip-updates.d.ts
|
|
3228
|
+
declare function listBipUpdates(context: TransportContext, input: {
|
|
3229
|
+
readonly bearer?: string;
|
|
3230
|
+
readonly slug: string;
|
|
3231
|
+
readonly limit?: number;
|
|
3232
|
+
readonly offset?: number;
|
|
3233
|
+
}): Promise<BipUpdateListResponse>;
|
|
3234
|
+
declare function listBipUpdateComments(context: TransportContext, input: {
|
|
3235
|
+
readonly bearer?: string;
|
|
3236
|
+
readonly slug: string;
|
|
3237
|
+
readonly updateId: string;
|
|
3238
|
+
readonly limit?: number;
|
|
3239
|
+
readonly offset?: number;
|
|
3240
|
+
}): Promise<BipUpdateCommentListResponse>;
|
|
3241
|
+
declare function getMyBipUpdateReactions(context: TransportContext, input: {
|
|
3242
|
+
readonly bearer: string;
|
|
3243
|
+
readonly slug: string;
|
|
3244
|
+
}): Promise<MyBipUpdateReactionsResponse>;
|
|
3245
|
+
declare function setBipUpdateReaction(context: TransportContext, input: {
|
|
3246
|
+
readonly bearer: string;
|
|
3247
|
+
readonly slug: string;
|
|
3248
|
+
readonly updateId: string;
|
|
3249
|
+
readonly body: SetBipUpdateReactionRequest;
|
|
3250
|
+
}): Promise<SetBipUpdateReactionResponse>;
|
|
3251
|
+
declare function commentOnBipUpdate(context: TransportContext, input: {
|
|
3252
|
+
readonly bearer: string;
|
|
3253
|
+
readonly slug: string;
|
|
3254
|
+
readonly updateId: string;
|
|
3255
|
+
readonly body: string;
|
|
3256
|
+
}): Promise<CreateBipUpdateCommentResponse>;
|
|
3257
|
+
declare function deleteBipUpdateComment(context: TransportContext, input: {
|
|
3258
|
+
readonly bearer: string;
|
|
3259
|
+
readonly slug: string;
|
|
3260
|
+
readonly commentId: string;
|
|
3261
|
+
}): Promise<DeleteBipUpdateCommentResponse>;
|
|
3262
|
+
declare function listDeveloperBipUpdates(context: TransportContext, input: {
|
|
3263
|
+
readonly bearer: string;
|
|
3264
|
+
readonly appId: string;
|
|
3265
|
+
readonly limit?: number;
|
|
3266
|
+
readonly offset?: number;
|
|
3267
|
+
}): Promise<BipUpdateListResponse>;
|
|
3268
|
+
declare function createBipUpdate(context: TransportContext, input: {
|
|
3269
|
+
readonly bearer: string;
|
|
3270
|
+
readonly appId: string;
|
|
3271
|
+
readonly body: CreateBipUpdateRequest;
|
|
3272
|
+
}): Promise<BipUpdate>;
|
|
3273
|
+
declare function updateBipUpdate(context: TransportContext, input: {
|
|
3274
|
+
readonly bearer: string;
|
|
3275
|
+
readonly appId: string;
|
|
3276
|
+
readonly updateId: string;
|
|
3277
|
+
readonly body: UpdateBipUpdateRequest;
|
|
3278
|
+
}): Promise<BipUpdate>;
|
|
3279
|
+
declare function deleteBipUpdate(context: TransportContext, input: {
|
|
3280
|
+
readonly bearer: string;
|
|
3281
|
+
readonly appId: string;
|
|
3282
|
+
readonly updateId: string;
|
|
3283
|
+
}): Promise<DeleteBipUpdateResponse>;
|
|
3284
|
+
declare function uploadBipUpdateMedia(context: TransportContext, input: {
|
|
3285
|
+
readonly bearer: string;
|
|
3286
|
+
readonly appId: string;
|
|
3287
|
+
readonly file: Blob;
|
|
3288
|
+
readonly filename: string;
|
|
3289
|
+
readonly contentType: string;
|
|
3290
|
+
}): Promise<BipUpdateMediaUploadResponse>;
|
|
3291
|
+
declare function getBipInterestCount(context: TransportContext, input: {
|
|
3292
|
+
readonly bearer?: string;
|
|
3293
|
+
readonly slug: string;
|
|
3294
|
+
}): Promise<BipInterestCountResponse>;
|
|
3295
|
+
declare function getMyBipEngagement(context: TransportContext, input: {
|
|
3296
|
+
readonly bearer: string;
|
|
3297
|
+
readonly slug: string;
|
|
3298
|
+
}): Promise<BipEngagementResponse>;
|
|
3299
|
+
declare function registerBipInterest(context: TransportContext, input: {
|
|
3300
|
+
readonly bearer: string;
|
|
3301
|
+
readonly slug: string;
|
|
3302
|
+
readonly interested: boolean;
|
|
3303
|
+
}): Promise<BipEngagementResponse>;
|
|
3304
|
+
declare function subscribeBipUpdates(context: TransportContext, input: {
|
|
3305
|
+
readonly bearer: string;
|
|
3306
|
+
readonly slug: string;
|
|
3307
|
+
readonly subscribed: boolean;
|
|
3308
|
+
}): Promise<BipEngagementResponse>;
|
|
3309
|
+
//#endregion
|
|
3310
|
+
//#region src/catalog/build-in-public.d.ts
|
|
3311
|
+
declare function getBipDirectory(context: TransportContext, input: {
|
|
3312
|
+
readonly bearer?: string;
|
|
3313
|
+
readonly genre?: string;
|
|
3314
|
+
readonly q?: string;
|
|
3315
|
+
readonly before?: string;
|
|
3316
|
+
readonly limit?: number;
|
|
3317
|
+
}): Promise<LibraryListResponse>;
|
|
3318
|
+
declare function getBipPage(context: TransportContext, input: {
|
|
3319
|
+
readonly bearer?: string;
|
|
3320
|
+
readonly slug: string;
|
|
3321
|
+
}): Promise<PublicBipPage>;
|
|
3322
|
+
//#endregion
|
|
2559
3323
|
//#region src/catalog/content-reports.d.ts
|
|
2560
3324
|
declare function submitAppContentReport(context: TransportContext, input: {
|
|
2561
3325
|
readonly appId: string;
|
|
@@ -2600,6 +3364,41 @@ declare function deleteMyGameReview(context: TransportContext, input: {
|
|
|
2600
3364
|
readonly slug: string;
|
|
2601
3365
|
readonly bearer: string;
|
|
2602
3366
|
}): Promise<MyReviewResponse>;
|
|
3367
|
+
declare function getMyGameReviewReactions(context: TransportContext, input: {
|
|
3368
|
+
readonly slug: string;
|
|
3369
|
+
readonly bearer: string;
|
|
3370
|
+
}): Promise<MyReviewReactionsResponse>;
|
|
3371
|
+
declare function setMyGameReviewReaction(context: TransportContext, input: {
|
|
3372
|
+
readonly slug: string;
|
|
3373
|
+
readonly reviewId: string;
|
|
3374
|
+
readonly bearer: string;
|
|
3375
|
+
readonly reaction: SetReviewReactionRequest;
|
|
3376
|
+
}): Promise<SetReviewReactionResponse>;
|
|
3377
|
+
declare function tipGameReview(context: TransportContext, input: {
|
|
3378
|
+
readonly slug: string;
|
|
3379
|
+
readonly reviewId: string;
|
|
3380
|
+
readonly bearer: string;
|
|
3381
|
+
readonly tip: TipReviewRequest;
|
|
3382
|
+
readonly idempotencyKey?: string;
|
|
3383
|
+
}): Promise<TipReviewResponse>;
|
|
3384
|
+
declare function listGameReviewComments(context: TransportContext, input: {
|
|
3385
|
+
readonly slug: string;
|
|
3386
|
+
readonly reviewId: string;
|
|
3387
|
+
readonly bearer?: string;
|
|
3388
|
+
readonly limit?: number;
|
|
3389
|
+
readonly offset?: number;
|
|
3390
|
+
}): Promise<ReviewCommentListResponse>;
|
|
3391
|
+
declare function commentOnGameReview(context: TransportContext, input: {
|
|
3392
|
+
readonly slug: string;
|
|
3393
|
+
readonly reviewId: string;
|
|
3394
|
+
readonly bearer: string;
|
|
3395
|
+
readonly comment: CreateReviewCommentRequest;
|
|
3396
|
+
}): Promise<CreateReviewCommentResponse>;
|
|
3397
|
+
declare function deleteGameReviewComment(context: TransportContext, input: {
|
|
3398
|
+
readonly slug: string;
|
|
3399
|
+
readonly commentId: string;
|
|
3400
|
+
readonly bearer: string;
|
|
3401
|
+
}): Promise<DeleteReviewCommentResponse>;
|
|
2603
3402
|
declare function replyToGameReview(context: TransportContext, input: {
|
|
2604
3403
|
readonly appId: string;
|
|
2605
3404
|
readonly reviewId: string;
|
|
@@ -2685,6 +3484,9 @@ declare function getPaymentHistory(context: TransportContext, input: {
|
|
|
2685
3484
|
readonly before?: string;
|
|
2686
3485
|
}): Promise<PaymentHistoryResponse>;
|
|
2687
3486
|
//#endregion
|
|
3487
|
+
//#region src/dashboard/rates.d.ts
|
|
3488
|
+
declare function getPaymentRates(context: TransportContext): Promise<PaymentRatesResponse>;
|
|
3489
|
+
//#endregion
|
|
2688
3490
|
//#region src/developer/api-keys.d.ts
|
|
2689
3491
|
declare function createDeveloperApiKey(context: TransportContext, input: {
|
|
2690
3492
|
readonly bearer: string;
|
|
@@ -2822,6 +3624,53 @@ declare function updateDeveloperAppContentReportStatus(context: TransportContext
|
|
|
2822
3624
|
readonly status: "acknowledged" | "dismissed";
|
|
2823
3625
|
}): Promise<AppContentReport>;
|
|
2824
3626
|
//#endregion
|
|
3627
|
+
//#region src/developer/inventory.d.ts
|
|
3628
|
+
declare function quoteDeveloperAppInventoryRegistration(context: TransportContext, input: {
|
|
3629
|
+
readonly bearer: string;
|
|
3630
|
+
readonly appId: string;
|
|
3631
|
+
readonly registration: InventoryItemRegistrationInput;
|
|
3632
|
+
}): Promise<InventoryRegistrationQuote>;
|
|
3633
|
+
declare function registerDeveloperAppInventoryItem(context: TransportContext, input: {
|
|
3634
|
+
readonly bearer: string;
|
|
3635
|
+
readonly appId: string;
|
|
3636
|
+
readonly registration: InventoryItemRegistrationInput;
|
|
3637
|
+
}): Promise<InventoryItemRegistrationResult>;
|
|
3638
|
+
declare function listDeveloperAppInventoryCollections(context: TransportContext, input: {
|
|
3639
|
+
readonly bearer: string;
|
|
3640
|
+
readonly appId: string;
|
|
3641
|
+
}): Promise<InventoryCollectionListResponse>;
|
|
3642
|
+
declare function listDeveloperAppInventoryItems(context: TransportContext, input: {
|
|
3643
|
+
readonly bearer: string;
|
|
3644
|
+
readonly appId: string;
|
|
3645
|
+
}): Promise<InventoryItemListResponse>;
|
|
3646
|
+
declare function createDeveloperAppMintPermit(context: TransportContext, input: {
|
|
3647
|
+
readonly bearer: string;
|
|
3648
|
+
readonly appId: string;
|
|
3649
|
+
readonly itemId: string;
|
|
3650
|
+
readonly grant: InventoryMintPermitCreateInput;
|
|
3651
|
+
}): Promise<InventoryMintPermitRecord>;
|
|
3652
|
+
declare function getDeveloperAppInventoryItemHolders(context: TransportContext, input: {
|
|
3653
|
+
readonly bearer: string;
|
|
3654
|
+
readonly appId: string;
|
|
3655
|
+
readonly itemId: string;
|
|
3656
|
+
}): Promise<InventoryItemHoldersResponse>;
|
|
3657
|
+
declare function uploadDeveloperAppInventoryItemImage(context: TransportContext, input: {
|
|
3658
|
+
readonly bearer: string;
|
|
3659
|
+
readonly appId: string;
|
|
3660
|
+
readonly itemId: string;
|
|
3661
|
+
readonly file: Blob | ArrayBufferView | ArrayBuffer;
|
|
3662
|
+
readonly filename: string;
|
|
3663
|
+
readonly contentType: string;
|
|
3664
|
+
}): Promise<InventoryItemRecord>;
|
|
3665
|
+
declare function uploadDeveloperAppInventoryItemBanner(context: TransportContext, input: {
|
|
3666
|
+
readonly bearer: string;
|
|
3667
|
+
readonly appId: string;
|
|
3668
|
+
readonly itemId: string;
|
|
3669
|
+
readonly file: Blob | ArrayBufferView | ArrayBuffer;
|
|
3670
|
+
readonly filename: string;
|
|
3671
|
+
readonly contentType: string;
|
|
3672
|
+
}): Promise<InventoryItemRecord>;
|
|
3673
|
+
//#endregion
|
|
2825
3674
|
//#region src/developer/pages.d.ts
|
|
2826
3675
|
declare function getDeveloperAppPage(context: TransportContext, input: {
|
|
2827
3676
|
readonly bearer: string;
|
|
@@ -2880,6 +3729,19 @@ declare function unpublishAppPage(context: TransportContext, input: {
|
|
|
2880
3729
|
readonly bearer: string;
|
|
2881
3730
|
readonly appId: string;
|
|
2882
3731
|
}): Promise<AppPageDraft>;
|
|
3732
|
+
declare function setAppPageBip(context: TransportContext, input: {
|
|
3733
|
+
readonly bearer: string;
|
|
3734
|
+
readonly appId: string;
|
|
3735
|
+
readonly body: AppPageBipToggle;
|
|
3736
|
+
}): Promise<AppPageDraft>;
|
|
3737
|
+
declare function submitAppPageBipForReview(context: TransportContext, input: {
|
|
3738
|
+
readonly bearer: string;
|
|
3739
|
+
readonly appId: string;
|
|
3740
|
+
}): Promise<AppPageDraft>;
|
|
3741
|
+
declare function unpublishAppPageBip(context: TransportContext, input: {
|
|
3742
|
+
readonly bearer: string;
|
|
3743
|
+
readonly appId: string;
|
|
3744
|
+
}): Promise<AppPageDraft>;
|
|
2883
3745
|
//#endregion
|
|
2884
3746
|
//#region src/developer/participants.d.ts
|
|
2885
3747
|
declare function listDeveloperAppParticipants(context: TransportContext, input: {
|
|
@@ -2946,6 +3808,20 @@ declare function uploadMultipart(context: TransportContext, input: {
|
|
|
2946
3808
|
readonly contentType: string;
|
|
2947
3809
|
}): Promise<unknown>;
|
|
2948
3810
|
//#endregion
|
|
3811
|
+
//#region src/developer/vault.d.ts
|
|
3812
|
+
declare function createDeveloperVaultPermit(context: TransportContext, input: {
|
|
3813
|
+
readonly bearer: string;
|
|
3814
|
+
readonly appId: string;
|
|
3815
|
+
readonly itemId: string;
|
|
3816
|
+
readonly grant: InventoryVaultPermitCreateInput;
|
|
3817
|
+
}): Promise<InventoryVaultPermitRecord>;
|
|
3818
|
+
declare function createDeveloperWithdrawPermit(context: TransportContext, input: {
|
|
3819
|
+
readonly bearer: string;
|
|
3820
|
+
readonly appId: string;
|
|
3821
|
+
readonly itemId: string;
|
|
3822
|
+
readonly grant: InventoryWithdrawPermitCreateInput;
|
|
3823
|
+
}): Promise<InventoryVaultPermitRecord>;
|
|
3824
|
+
//#endregion
|
|
2949
3825
|
//#region src/inventory/list.d.ts
|
|
2950
3826
|
declare function listInventory(context: TransportContext, input: {
|
|
2951
3827
|
readonly bearer: string;
|
|
@@ -2954,12 +3830,55 @@ declare function listInventoryForApp(context: TransportContext, input: {
|
|
|
2954
3830
|
readonly bearer: string;
|
|
2955
3831
|
}): Promise<InventoryListResponse>;
|
|
2956
3832
|
//#endregion
|
|
3833
|
+
//#region src/inventory/nft-transfer.d.ts
|
|
3834
|
+
declare function quoteNftTransfer(context: TransportContext, input: {
|
|
3835
|
+
readonly bearer: string;
|
|
3836
|
+
readonly body: InventoryNftTransferQuoteRequest;
|
|
3837
|
+
}): Promise<InventoryNftTransferQuoteResponse>;
|
|
3838
|
+
declare function executeNftTransfer(context: TransportContext, input: {
|
|
3839
|
+
readonly bearer: string;
|
|
3840
|
+
readonly body: InventoryNftTransferRequest;
|
|
3841
|
+
}): Promise<InventoryNftTransferResponse>;
|
|
3842
|
+
//#endregion
|
|
3843
|
+
//#region src/inventory/permits.d.ts
|
|
3844
|
+
declare function listInventoryMintPermits(context: TransportContext, input: {
|
|
3845
|
+
readonly bearer: string;
|
|
3846
|
+
}): Promise<InventoryPendingPermitListResponse>;
|
|
3847
|
+
declare function redeemInventoryMintPermit(context: TransportContext, input: {
|
|
3848
|
+
readonly bearer: string;
|
|
3849
|
+
readonly permitId: string;
|
|
3850
|
+
}): Promise<InventoryPermitRedeemResult>;
|
|
3851
|
+
//#endregion
|
|
2957
3852
|
//#region src/inventory/request-mint.d.ts
|
|
2958
3853
|
declare function requestMint(context: TransportContext, input: {
|
|
2959
3854
|
readonly appBearer: string;
|
|
2960
3855
|
readonly body: MintRequestInput;
|
|
2961
3856
|
}): Promise<MintRequestResult>;
|
|
2962
3857
|
//#endregion
|
|
3858
|
+
//#region src/inventory/vault.d.ts
|
|
3859
|
+
declare function listInventoryVaultPermits(context: TransportContext, input: {
|
|
3860
|
+
readonly bearer: string;
|
|
3861
|
+
}): Promise<InventoryPendingVaultPermitListResponse>;
|
|
3862
|
+
declare function signInventoryVaultPermit(context: TransportContext, input: {
|
|
3863
|
+
readonly bearer: string;
|
|
3864
|
+
readonly permitId: string;
|
|
3865
|
+
}): Promise<InventorySignedVaultPermit>;
|
|
3866
|
+
declare function quoteRelayedVaultPermit(context: TransportContext, input: {
|
|
3867
|
+
readonly bearer: string;
|
|
3868
|
+
readonly permitId: string;
|
|
3869
|
+
}): Promise<InventoryRelayedVaultQuoteResponse>;
|
|
3870
|
+
declare function submitRelayedVaultPermit(context: TransportContext, input: {
|
|
3871
|
+
readonly bearer: string;
|
|
3872
|
+
readonly permitId: string;
|
|
3873
|
+
readonly body: InventoryRelayedVaultSubmitRequest;
|
|
3874
|
+
}): Promise<InventoryRelayedVaultSubmitResponse>;
|
|
3875
|
+
declare function listInventoryVaulted(context: TransportContext, input: {
|
|
3876
|
+
readonly bearer: string;
|
|
3877
|
+
}): Promise<InventoryVaultCustodyListResponse>;
|
|
3878
|
+
declare function listOauthInventoryVaulted(context: TransportContext, input: {
|
|
3879
|
+
readonly bearer: string;
|
|
3880
|
+
}): Promise<InventoryVaultCustodyListResponse>;
|
|
3881
|
+
//#endregion
|
|
2963
3882
|
//#region src/messaging/dm-key-backup.d.ts
|
|
2964
3883
|
declare function getDmKeyBackupStatus(context: TransportContext, input: {
|
|
2965
3884
|
readonly bearer: string;
|
|
@@ -3194,6 +4113,15 @@ declare function denyPaymentIntent(context: TransportContext, input: {
|
|
|
3194
4113
|
readonly bearer: string;
|
|
3195
4114
|
readonly intentId: string;
|
|
3196
4115
|
}): Promise<OauthPaymentIntentResolveResponse>;
|
|
4116
|
+
declare function preparePaymentIntentSolana(context: TransportContext, input: {
|
|
4117
|
+
readonly bearer: string;
|
|
4118
|
+
readonly intentId: string;
|
|
4119
|
+
}): Promise<OauthPaymentIntentSolanaPrepareResponse>;
|
|
4120
|
+
declare function completePaymentIntentSolana(context: TransportContext, input: {
|
|
4121
|
+
readonly bearer: string;
|
|
4122
|
+
readonly intentId: string;
|
|
4123
|
+
readonly body: OauthPaymentIntentSolanaCompleteRequest;
|
|
4124
|
+
}): Promise<OauthPaymentIntentResolveResponse>;
|
|
3197
4125
|
//#endregion
|
|
3198
4126
|
//#region src/payments/limits.d.ts
|
|
3199
4127
|
declare function getPaymentLimits(context: TransportContext, input: {
|
|
@@ -3236,6 +4164,22 @@ declare function createTronDeposit(context: TransportContext, input: {
|
|
|
3236
4164
|
readonly bearer: string;
|
|
3237
4165
|
readonly body: TronDepositRequest;
|
|
3238
4166
|
}): Promise<TronDepositResponse>;
|
|
4167
|
+
declare function createTronTransfer(context: TransportContext, input: {
|
|
4168
|
+
readonly bearer: string;
|
|
4169
|
+
readonly body: TronTransferRequest;
|
|
4170
|
+
readonly idempotencyKey?: string;
|
|
4171
|
+
}): Promise<TronTransferResponse>;
|
|
4172
|
+
declare function getTronSecurity(context: TransportContext, input: {
|
|
4173
|
+
readonly bearer: string;
|
|
4174
|
+
}): Promise<TronSecuritySetting>;
|
|
4175
|
+
declare function setTronSecurity(context: TransportContext, input: {
|
|
4176
|
+
readonly bearer: string;
|
|
4177
|
+
readonly setting: TronSecuritySetting;
|
|
4178
|
+
}): Promise<TronSecuritySetting>;
|
|
4179
|
+
declare function createTronTransferChallenge(context: TransportContext, input: {
|
|
4180
|
+
readonly bearer: string;
|
|
4181
|
+
readonly body: TronTransferChallengeRequest;
|
|
4182
|
+
}): Promise<TronTransferChallengeResponse>;
|
|
3239
4183
|
declare function createTronConnectOnboarding(context: TransportContext, input: {
|
|
3240
4184
|
readonly bearer: string;
|
|
3241
4185
|
}): Promise<TronConnectOnboardingResponse>;
|
|
@@ -3372,6 +4316,10 @@ declare function sendFriendRequest(context: TransportContext, input: {
|
|
|
3372
4316
|
readonly bearer: string;
|
|
3373
4317
|
readonly userId: string;
|
|
3374
4318
|
}): Promise<void>;
|
|
4319
|
+
declare function removeFriend(context: TransportContext, input: {
|
|
4320
|
+
readonly bearer: string;
|
|
4321
|
+
readonly userId: string;
|
|
4322
|
+
}): Promise<void>;
|
|
3375
4323
|
declare function decideFriendRequest(context: TransportContext, input: {
|
|
3376
4324
|
readonly bearer: string;
|
|
3377
4325
|
readonly requestId: string;
|
|
@@ -3384,6 +4332,9 @@ declare function cancelFriendRequest(context: TransportContext, input: {
|
|
|
3384
4332
|
declare function listFriends(context: TransportContext, input: {
|
|
3385
4333
|
readonly bearer: string;
|
|
3386
4334
|
}): Promise<FriendListResponse>;
|
|
4335
|
+
declare function listFriendsForApp(context: TransportContext, input: {
|
|
4336
|
+
readonly bearer: string;
|
|
4337
|
+
}): Promise<AppFriendListResponse>;
|
|
3387
4338
|
//#endregion
|
|
3388
4339
|
//#region src/reads/socials.d.ts
|
|
3389
4340
|
declare function listSocials(context: TransportContext, input: {
|
|
@@ -3675,4 +4626,4 @@ type CookieTokenStoreOptions = {
|
|
|
3675
4626
|
};
|
|
3676
4627
|
declare function createCookieTokenStore(options?: CookieTokenStoreOptions): TokenStore;
|
|
3677
4628
|
//#endregion
|
|
3678
|
-
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 };
|
|
4629
|
+
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, 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, 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 };
|