@metatrongg/sdk 0.8.0-dev.1703dbe → 0.8.0-dev.18f8137
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 +843 -217
- package/dist/browser/index.js +1 -1
- package/dist/contracts/index.d.ts +7999 -3492
- package/dist/contracts/index.js +1 -1
- package/dist/index.js +1 -1
- package/dist/node/index.d.ts +905 -229
- package/dist/node/index.js +1 -1
- package/dist/react/index.d.ts +4 -4
- package/dist/react/index.js +1 -1
- package/dist/webhook/express.d.ts +3 -3
- package/dist/webhook/express.js +1 -1
- package/dist/webhook/fastify.d.ts +2 -2
- package/dist/webhook/fastify.js +1 -1
- package/dist/webhook/hono.d.ts +3 -3
- package/dist/webhook/hono.js +1 -1
- package/dist/webhook/index.js +1 -1
- package/package.json +13 -12
package/dist/node/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import * as z from "zod";
|
|
|
2
2
|
|
|
3
3
|
//#region src/core/dedup.d.ts
|
|
4
4
|
type InflightDedup = {
|
|
5
|
-
readonly run: <T>(key: string,
|
|
5
|
+
readonly run: <T>(key: string, function_: () => Promise<T>) => Promise<T>;
|
|
6
6
|
};
|
|
7
7
|
declare function createInflightDedup(): InflightDedup;
|
|
8
8
|
//#endregion
|
|
@@ -89,8 +89,8 @@ type TransportContext = {
|
|
|
89
89
|
readonly rateLimiter?: RateLimiter | undefined;
|
|
90
90
|
readonly dedupe?: InflightDedup | undefined;
|
|
91
91
|
};
|
|
92
|
-
declare function sendJson<T>(
|
|
93
|
-
declare function send(
|
|
92
|
+
declare function sendJson<T>(context: TransportContext, options: RequestOptions): Promise<T>;
|
|
93
|
+
declare function send(context: TransportContext, options: RequestOptions): Promise<Response>;
|
|
94
94
|
declare function parseJson<T>(response: Response): Promise<T>;
|
|
95
95
|
//#endregion
|
|
96
96
|
//#region src/generated/types.gen.d.ts
|
|
@@ -288,6 +288,7 @@ type OauthPaymentIntentContext = {
|
|
|
288
288
|
studioXHandle: string | null;
|
|
289
289
|
};
|
|
290
290
|
} | null;
|
|
291
|
+
environment: "development" | "production";
|
|
291
292
|
};
|
|
292
293
|
type OauthPaymentIntentSignResponse = {
|
|
293
294
|
chain: string;
|
|
@@ -376,9 +377,16 @@ type PublicAppPage = {
|
|
|
376
377
|
chapters: AppPageChapters;
|
|
377
378
|
links: AppPageLinks;
|
|
378
379
|
studio: PublicAppPageStudio;
|
|
380
|
+
platforms: AppPagePlatforms;
|
|
381
|
+
gameType: AppPageGameType;
|
|
382
|
+
ageRating: AppPageAgeRating;
|
|
383
|
+
languages: AppPageLanguages;
|
|
384
|
+
releaseStatus: AppPageReleaseStatus;
|
|
385
|
+
paymentsMode: AppPagePaymentsMode;
|
|
379
386
|
oauthScopes: Array<string>;
|
|
380
387
|
chains: Array<string>;
|
|
381
388
|
publishedAt: string;
|
|
389
|
+
updatedAt: string;
|
|
382
390
|
};
|
|
383
391
|
type AppPageCategories = Array<"adventure" | "battle_royale" | "board" | "cards" | "casino" | "casual" | "fighting" | "idle" | "mmo" | "moba" | "platformer" | "prediction" | "puzzle" | "racing" | "rhythm" | "roguelike" | "rpg" | "rts" | "sandbox" | "shooter" | "simulation" | "sports" | "strategy" | "survival" | "tools" | "tower_defense" | "visual_novel" | "other">;
|
|
384
392
|
type AppPageTagline = string;
|
|
@@ -401,12 +409,19 @@ type AppPageLink = {
|
|
|
401
409
|
order: number;
|
|
402
410
|
};
|
|
403
411
|
type PublicAppPageStudio = {
|
|
412
|
+
ownerUserId: string | null;
|
|
404
413
|
name: string | null;
|
|
405
414
|
logoUrl: string | null;
|
|
406
415
|
websiteUrl: string | null;
|
|
407
416
|
xHandle: string | null;
|
|
408
417
|
githubUrl: string | null;
|
|
409
418
|
};
|
|
419
|
+
type AppPagePlatforms = Array<"web" | "ios" | "android" | "pc" | "playstation" | "xbox" | "switch">;
|
|
420
|
+
type AppPageGameType = "single_player" | "multiplayer" | "both" | null;
|
|
421
|
+
type AppPageAgeRating = "everyone" | "13_plus" | "16_plus" | "18_plus" | null;
|
|
422
|
+
type AppPageLanguages = Array<"en" | "es" | "fr" | "de" | "pt" | "it" | "ru" | "ja" | "ko" | "zh" | "hi" | "ar" | "tr" | "vi" | "id" | "th" | "pl" | "nl">;
|
|
423
|
+
type AppPageReleaseStatus = "live" | "open_beta" | "coming_soon";
|
|
424
|
+
type AppPagePaymentsMode = "tron" | "onchain" | "both" | null;
|
|
410
425
|
type ReviewListResponse = {
|
|
411
426
|
aggregate: ReviewAggregate;
|
|
412
427
|
reviews: Array<Review>;
|
|
@@ -414,38 +429,49 @@ type ReviewListResponse = {
|
|
|
414
429
|
hasMore: boolean;
|
|
415
430
|
};
|
|
416
431
|
type ReviewAggregate = {
|
|
417
|
-
average: number | null;
|
|
418
432
|
count: number;
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
1: number;
|
|
423
|
-
2: number;
|
|
424
|
-
3: number;
|
|
425
|
-
4: number;
|
|
426
|
-
5: number;
|
|
433
|
+
recommendedCount: number;
|
|
434
|
+
recommendedPct: number | null;
|
|
435
|
+
summaryLabel: ReviewSummaryLabel;
|
|
427
436
|
};
|
|
437
|
+
type ReviewSummaryLabel = "overwhelmingly_positive" | "very_positive" | "positive" | "mostly_positive" | "mixed" | "mostly_negative" | "negative" | "overwhelmingly_negative" | null;
|
|
428
438
|
type Review = {
|
|
429
439
|
id: string;
|
|
430
|
-
|
|
440
|
+
recommended: ReviewRecommended;
|
|
431
441
|
body: ReviewBody;
|
|
442
|
+
reactions: ReviewReactionCounts;
|
|
443
|
+
tippedCents: number;
|
|
444
|
+
commentCount: number;
|
|
432
445
|
author: ReviewAuthor;
|
|
446
|
+
authorStats: ReviewerStats;
|
|
433
447
|
developerReply: ReviewReply;
|
|
434
448
|
createdAt: string;
|
|
435
449
|
updatedAt: string;
|
|
436
450
|
};
|
|
437
|
-
type
|
|
451
|
+
type ReviewRecommended = boolean;
|
|
438
452
|
type ReviewBody = string;
|
|
453
|
+
type ReviewReactionCounts = {
|
|
454
|
+
helpful: number;
|
|
455
|
+
unhelpful: number;
|
|
456
|
+
funny: number;
|
|
457
|
+
};
|
|
439
458
|
type ReviewAuthor = {
|
|
459
|
+
userId: string;
|
|
460
|
+
handle: string | null;
|
|
440
461
|
name: string | null;
|
|
441
462
|
avatarUrl: string | null;
|
|
442
463
|
};
|
|
464
|
+
type ReviewerStats = {
|
|
465
|
+
playtimeSecondsThisGame: number;
|
|
466
|
+
gamesPlayed: number;
|
|
467
|
+
reviewsWritten: number;
|
|
468
|
+
};
|
|
443
469
|
type ReviewReply = {
|
|
444
470
|
body: ReviewReplyBody;
|
|
445
471
|
repliedAt: string;
|
|
446
472
|
} | null;
|
|
447
473
|
type ReviewReplyBody = string;
|
|
448
|
-
type ReviewSort = "newest" | "oldest" | "
|
|
474
|
+
type ReviewSort = "newest" | "oldest" | "helpful";
|
|
449
475
|
type MyReviewResponse = {
|
|
450
476
|
eligible: boolean;
|
|
451
477
|
eligibleVia: ReviewEligibilityReason;
|
|
@@ -455,15 +481,67 @@ type MyReviewResponse = {
|
|
|
455
481
|
type ReviewEligibilityReason = "payment" | "reward" | null;
|
|
456
482
|
type OwnReview = {
|
|
457
483
|
id: string;
|
|
458
|
-
|
|
484
|
+
recommended: ReviewRecommended;
|
|
459
485
|
body: ReviewBody;
|
|
460
486
|
createdAt: string;
|
|
461
487
|
updatedAt: string;
|
|
462
488
|
} | null;
|
|
463
489
|
type UpsertReviewRequest = {
|
|
464
|
-
|
|
490
|
+
recommended: ReviewRecommended;
|
|
465
491
|
body: ReviewBody;
|
|
466
492
|
};
|
|
493
|
+
type MyReviewReactionsResponse = {
|
|
494
|
+
reactions: Array<MyReviewReaction>;
|
|
495
|
+
};
|
|
496
|
+
type MyReviewReaction = {
|
|
497
|
+
reviewId: string;
|
|
498
|
+
vote: ReviewVote;
|
|
499
|
+
funny: boolean;
|
|
500
|
+
};
|
|
501
|
+
type ReviewVote = "helpful" | "unhelpful" | null;
|
|
502
|
+
type SetReviewReactionResponse = {
|
|
503
|
+
reactions: ReviewReactionCounts;
|
|
504
|
+
vote: ReviewVote;
|
|
505
|
+
funny: boolean;
|
|
506
|
+
};
|
|
507
|
+
type SetReviewReactionRequest = {
|
|
508
|
+
vote: ReviewVote;
|
|
509
|
+
funny: boolean;
|
|
510
|
+
};
|
|
511
|
+
type TipReviewResponse = {
|
|
512
|
+
status: "completed";
|
|
513
|
+
amountCents: number;
|
|
514
|
+
balanceCents: number;
|
|
515
|
+
tippedCents: number;
|
|
516
|
+
};
|
|
517
|
+
type TipReviewRequest = {
|
|
518
|
+
amountCents: number;
|
|
519
|
+
note?: string;
|
|
520
|
+
challengeId?: string;
|
|
521
|
+
signature?: string;
|
|
522
|
+
};
|
|
523
|
+
type ReviewCommentListResponse = {
|
|
524
|
+
comments: Array<ReviewComment>;
|
|
525
|
+
total: number;
|
|
526
|
+
hasMore: boolean;
|
|
527
|
+
};
|
|
528
|
+
type ReviewComment = {
|
|
529
|
+
id: string;
|
|
530
|
+
body: ReviewCommentBody;
|
|
531
|
+
author: ReviewAuthor;
|
|
532
|
+
createdAt: string;
|
|
533
|
+
};
|
|
534
|
+
type ReviewCommentBody = string;
|
|
535
|
+
type CreateReviewCommentResponse = {
|
|
536
|
+
comment: ReviewComment;
|
|
537
|
+
commentCount: number;
|
|
538
|
+
};
|
|
539
|
+
type CreateReviewCommentRequest = {
|
|
540
|
+
body: ReviewCommentBody;
|
|
541
|
+
};
|
|
542
|
+
type DeleteReviewCommentResponse = {
|
|
543
|
+
commentCount: number;
|
|
544
|
+
};
|
|
467
545
|
type ReviewReplyResponse = {
|
|
468
546
|
developerReply: ReviewReply;
|
|
469
547
|
};
|
|
@@ -568,8 +646,12 @@ type ActivityRow = ({
|
|
|
568
646
|
} & ActivityRowTronPot) | ({
|
|
569
647
|
kind: "tron_cashout";
|
|
570
648
|
} & ActivityRowTronCashout) | ({
|
|
649
|
+
kind: "tron_transfer";
|
|
650
|
+
} & ActivityRowTronTransfer) | ({
|
|
571
651
|
kind: "referral_earning";
|
|
572
|
-
} & ActivityRowReferralEarning)
|
|
652
|
+
} & ActivityRowReferralEarning) | ({
|
|
653
|
+
kind: "nft_charge";
|
|
654
|
+
} & ActivityRowNftCharge);
|
|
573
655
|
type ActivityRowPayment = {
|
|
574
656
|
kind: "payment";
|
|
575
657
|
groupId: string | null;
|
|
@@ -815,6 +897,8 @@ type ActivityRowTronPot = {
|
|
|
815
897
|
role: "incoming" | "outgoing";
|
|
816
898
|
leg: "stake" | "payout" | "dev_cut" | "purchase" | "referral";
|
|
817
899
|
amountCents: number;
|
|
900
|
+
usdCents: number;
|
|
901
|
+
status: "settled";
|
|
818
902
|
app: {
|
|
819
903
|
id: string;
|
|
820
904
|
name: string;
|
|
@@ -822,8 +906,16 @@ type ActivityRowTronPot = {
|
|
|
822
906
|
slug: string | null;
|
|
823
907
|
bannerUrl: string | null;
|
|
824
908
|
} | null;
|
|
909
|
+
involvedUsers?: Array<ActivityTronInvolvedUser> | null;
|
|
825
910
|
metadata?: PaymentMetadata | null;
|
|
826
911
|
};
|
|
912
|
+
type ActivityTronInvolvedUser = {
|
|
913
|
+
userId: string;
|
|
914
|
+
handle: string | null;
|
|
915
|
+
displayName: string | null;
|
|
916
|
+
role: "stake" | "payout" | "dev_cut" | "purchase" | "referral";
|
|
917
|
+
amountCents: number;
|
|
918
|
+
};
|
|
827
919
|
type ActivityRowTronCashout = {
|
|
828
920
|
kind: "tron_cashout";
|
|
829
921
|
groupId: string | null;
|
|
@@ -841,6 +933,20 @@ type ActivityRowTronCashout = {
|
|
|
841
933
|
rejectionReason: string | null;
|
|
842
934
|
settledAt: string | null;
|
|
843
935
|
};
|
|
936
|
+
type ActivityRowTronTransfer = {
|
|
937
|
+
kind: "tron_transfer";
|
|
938
|
+
groupId: string | null;
|
|
939
|
+
id: string;
|
|
940
|
+
occurredAt: string;
|
|
941
|
+
role: "incoming" | "outgoing";
|
|
942
|
+
amountCents: number;
|
|
943
|
+
usdCents: number;
|
|
944
|
+
status: "settled";
|
|
945
|
+
counterpartyUserId: string | null;
|
|
946
|
+
counterpartyHandle: string | null;
|
|
947
|
+
counterpartyDisplayName: string | null;
|
|
948
|
+
note: string | null;
|
|
949
|
+
};
|
|
844
950
|
type ActivityRowReferralEarning = {
|
|
845
951
|
kind: "referral_earning";
|
|
846
952
|
groupId: string | null;
|
|
@@ -857,6 +963,22 @@ type ActivityRowReferralEarning = {
|
|
|
857
963
|
logIndex: number;
|
|
858
964
|
usdCents: number | null;
|
|
859
965
|
};
|
|
966
|
+
type ActivityRowNftCharge = {
|
|
967
|
+
kind: "nft_charge";
|
|
968
|
+
groupId: string | null;
|
|
969
|
+
id: string;
|
|
970
|
+
occurredAt: string;
|
|
971
|
+
role: "outgoing";
|
|
972
|
+
chargeKind: "registration" | "mint" | "transfer_gas";
|
|
973
|
+
amountCents: number;
|
|
974
|
+
usdCents: number;
|
|
975
|
+
status: "settled";
|
|
976
|
+
collectionAddress: string | null;
|
|
977
|
+
tokenId: string | null;
|
|
978
|
+
counterpartyUserId: string | null;
|
|
979
|
+
counterpartyHandle: string | null;
|
|
980
|
+
counterpartyDisplayName: string | null;
|
|
981
|
+
};
|
|
860
982
|
type OutstandingResponse = {
|
|
861
983
|
rows: Array<OutstandingByToken>;
|
|
862
984
|
};
|
|
@@ -906,7 +1028,7 @@ type TronLedgerResponse = {
|
|
|
906
1028
|
};
|
|
907
1029
|
type TronLedgerEntry = {
|
|
908
1030
|
id: string;
|
|
909
|
-
kind: "deposit" | "pot_stake" | "pot_payout" | "dev_earning" | "cashout_hold" | "cashout_release" | "dispute_freeze" | "dispute_unfreeze" | "hosted_billing" | "store_purchase" | "referral_earning";
|
|
1031
|
+
kind: "deposit" | "pot_stake" | "pot_payout" | "dev_earning" | "cashout_hold" | "cashout_release" | "dispute_freeze" | "dispute_unfreeze" | "hosted_billing" | "store_purchase" | "referral_earning" | "peer_transfer" | "nft_registration" | "nft_mint" | "nft_gas";
|
|
910
1032
|
amountCents: number;
|
|
911
1033
|
currency: string;
|
|
912
1034
|
createdAt: string;
|
|
@@ -921,6 +1043,45 @@ type TronDepositResponse = {
|
|
|
921
1043
|
type TronDepositRequest = {
|
|
922
1044
|
amountCents: number;
|
|
923
1045
|
};
|
|
1046
|
+
type TronTransferResponse = {
|
|
1047
|
+
status: "completed";
|
|
1048
|
+
amountCents: number;
|
|
1049
|
+
balanceCents: number;
|
|
1050
|
+
recipient: {
|
|
1051
|
+
userId: string;
|
|
1052
|
+
handle: string | null;
|
|
1053
|
+
displayName: string | null;
|
|
1054
|
+
};
|
|
1055
|
+
};
|
|
1056
|
+
type TronTransferRequest = {
|
|
1057
|
+
recipientUserId: string;
|
|
1058
|
+
amountCents: number;
|
|
1059
|
+
note?: string;
|
|
1060
|
+
challengeId?: string;
|
|
1061
|
+
signature?: string;
|
|
1062
|
+
threadId?: string;
|
|
1063
|
+
};
|
|
1064
|
+
type TronSecuritySetting = {
|
|
1065
|
+
requireSignature: boolean;
|
|
1066
|
+
};
|
|
1067
|
+
type TronTransferChallengeResponse = ({
|
|
1068
|
+
required: false;
|
|
1069
|
+
} & TronTransferChallengeNotRequired) | ({
|
|
1070
|
+
required: true;
|
|
1071
|
+
} & TronTransferChallengeRequired);
|
|
1072
|
+
type TronTransferChallengeNotRequired = {
|
|
1073
|
+
required: false;
|
|
1074
|
+
};
|
|
1075
|
+
type TronTransferChallengeRequired = {
|
|
1076
|
+
required: true;
|
|
1077
|
+
challengeId: string;
|
|
1078
|
+
message: string;
|
|
1079
|
+
expiresAt: string;
|
|
1080
|
+
};
|
|
1081
|
+
type TronTransferChallengeRequest = {
|
|
1082
|
+
recipientUserId: string;
|
|
1083
|
+
amountCents: number;
|
|
1084
|
+
};
|
|
924
1085
|
type TronGameBalanceResponse = {
|
|
925
1086
|
balanceCents: number;
|
|
926
1087
|
rakeBps: number;
|
|
@@ -1163,6 +1324,7 @@ type ThreadLastMessagePreview = {
|
|
|
1163
1324
|
url: string;
|
|
1164
1325
|
count: number;
|
|
1165
1326
|
} | null;
|
|
1327
|
+
transaction?: MessageTransactionTronTransfer | MessageTransactionNftTransfer | null;
|
|
1166
1328
|
sentAt: string;
|
|
1167
1329
|
} | null;
|
|
1168
1330
|
type MessageEnvelope = {
|
|
@@ -1174,6 +1336,19 @@ type MessageEnvelope = {
|
|
|
1174
1336
|
iv: string;
|
|
1175
1337
|
ct: string;
|
|
1176
1338
|
} | null;
|
|
1339
|
+
type MessageTransactionTronTransfer = {
|
|
1340
|
+
kind: "tron_transfer";
|
|
1341
|
+
amountCents: number;
|
|
1342
|
+
recipientUserId: string;
|
|
1343
|
+
};
|
|
1344
|
+
type MessageTransactionNftTransfer = {
|
|
1345
|
+
kind: "nft_transfer";
|
|
1346
|
+
recipientUserId: string;
|
|
1347
|
+
collectionAddress: string;
|
|
1348
|
+
tokenId: string;
|
|
1349
|
+
amount: string;
|
|
1350
|
+
itemName: string | null;
|
|
1351
|
+
};
|
|
1177
1352
|
type GroupThreadSummary = {
|
|
1178
1353
|
kind: "group";
|
|
1179
1354
|
id: string;
|
|
@@ -1220,6 +1395,7 @@ type MessageItem = {
|
|
|
1220
1395
|
id: string;
|
|
1221
1396
|
threadId: string;
|
|
1222
1397
|
senderUserId: string;
|
|
1398
|
+
transaction?: MessageTransactionTronTransfer | MessageTransactionNftTransfer | null;
|
|
1223
1399
|
body: string;
|
|
1224
1400
|
envelope?: MessageEnvelope;
|
|
1225
1401
|
sentAt: string;
|
|
@@ -1410,11 +1586,45 @@ type InventoryHolding = {
|
|
|
1410
1586
|
tokenId: string;
|
|
1411
1587
|
amount: string;
|
|
1412
1588
|
name: string | null;
|
|
1589
|
+
description: string | null;
|
|
1413
1590
|
imageAssetId: string | null;
|
|
1414
1591
|
bannerAssetId: string | null;
|
|
1415
1592
|
devMetadata: {
|
|
1416
1593
|
[key: string]: unknown;
|
|
1417
1594
|
};
|
|
1595
|
+
appId: string | null;
|
|
1596
|
+
appName: string | null;
|
|
1597
|
+
appLogoUrl: string | null;
|
|
1598
|
+
};
|
|
1599
|
+
type InventoryPendingPermitListResponse = {
|
|
1600
|
+
permits: Array<InventoryPendingPermit>;
|
|
1601
|
+
};
|
|
1602
|
+
type InventoryPendingPermit = {
|
|
1603
|
+
id: string;
|
|
1604
|
+
appId: string;
|
|
1605
|
+
itemId: string;
|
|
1606
|
+
amount: string;
|
|
1607
|
+
priceCents: number | null;
|
|
1608
|
+
gasSponsored: boolean;
|
|
1609
|
+
environment: "development" | "production";
|
|
1610
|
+
createdAt: string;
|
|
1611
|
+
tokenId: string;
|
|
1612
|
+
name: string | null;
|
|
1613
|
+
description: string | null;
|
|
1614
|
+
imageAssetId: string | null;
|
|
1615
|
+
chain: string;
|
|
1616
|
+
collectionAddress: string;
|
|
1617
|
+
kind: "erc721" | "erc1155";
|
|
1618
|
+
};
|
|
1619
|
+
type InventoryPermitRedeemResult = {
|
|
1620
|
+
mint: MintRequestResult;
|
|
1621
|
+
charge: {
|
|
1622
|
+
currency: "tron";
|
|
1623
|
+
gasCents: number;
|
|
1624
|
+
priceCents: number;
|
|
1625
|
+
totalCents: number;
|
|
1626
|
+
gasPaidBy: "user" | "developer";
|
|
1627
|
+
};
|
|
1418
1628
|
};
|
|
1419
1629
|
type MintRequestResult = {
|
|
1420
1630
|
mintRequestId: string;
|
|
@@ -1430,6 +1640,247 @@ type MintRequestInput = {
|
|
|
1430
1640
|
tokenId?: string;
|
|
1431
1641
|
amount?: string;
|
|
1432
1642
|
};
|
|
1643
|
+
type InventoryCollectionListResponse = {
|
|
1644
|
+
collections: Array<InventoryCollectionSummary>;
|
|
1645
|
+
};
|
|
1646
|
+
type InventoryCollectionSummary = {
|
|
1647
|
+
id: string;
|
|
1648
|
+
chain: string;
|
|
1649
|
+
collectionAddress: string;
|
|
1650
|
+
kind: "erc721" | "erc1155";
|
|
1651
|
+
name: string | null;
|
|
1652
|
+
environment: "development" | "production";
|
|
1653
|
+
};
|
|
1654
|
+
type InventoryRegistrationQuote = {
|
|
1655
|
+
itemCount: number;
|
|
1656
|
+
baselineUsdCents: number;
|
|
1657
|
+
gasUsdCents: number;
|
|
1658
|
+
tron: {
|
|
1659
|
+
baselineCents: number;
|
|
1660
|
+
gasCents: number;
|
|
1661
|
+
totalCents: number;
|
|
1662
|
+
};
|
|
1663
|
+
eth: {
|
|
1664
|
+
baselineWei: string;
|
|
1665
|
+
gasWei: string;
|
|
1666
|
+
totalWei: string;
|
|
1667
|
+
};
|
|
1668
|
+
};
|
|
1669
|
+
type InventoryItemRegistrationInput = {
|
|
1670
|
+
collectionAddress: string;
|
|
1671
|
+
chain: string;
|
|
1672
|
+
items: Array<InventoryItemRegistrationSpec>;
|
|
1673
|
+
};
|
|
1674
|
+
type InventoryItemRegistrationSpec = {
|
|
1675
|
+
name?: string | null;
|
|
1676
|
+
description?: string | null;
|
|
1677
|
+
devMetadata?: {
|
|
1678
|
+
[key: string]: unknown;
|
|
1679
|
+
};
|
|
1680
|
+
supplyType?: InventorySupplyType;
|
|
1681
|
+
maxSupply?: string | null;
|
|
1682
|
+
active?: boolean;
|
|
1683
|
+
};
|
|
1684
|
+
type InventorySupplyType = "capped" | "flexible" | "unlimited";
|
|
1685
|
+
type InventoryItemRegistrationResult = {
|
|
1686
|
+
items: Array<InventoryItemRecord>;
|
|
1687
|
+
charge: {
|
|
1688
|
+
currency: "tron";
|
|
1689
|
+
amountCents: number;
|
|
1690
|
+
baselineCents: number;
|
|
1691
|
+
gasCents: number;
|
|
1692
|
+
addItemTxHash: string;
|
|
1693
|
+
};
|
|
1694
|
+
};
|
|
1695
|
+
type InventoryItemRecord = {
|
|
1696
|
+
id: string;
|
|
1697
|
+
collectionId: string;
|
|
1698
|
+
collectionAddress: string;
|
|
1699
|
+
chain: string;
|
|
1700
|
+
kind: "erc721" | "erc1155";
|
|
1701
|
+
tokenId: string;
|
|
1702
|
+
name: string | null;
|
|
1703
|
+
description: string | null;
|
|
1704
|
+
imageAssetId: string | null;
|
|
1705
|
+
bannerAssetId: string | null;
|
|
1706
|
+
devMetadata: {
|
|
1707
|
+
[key: string]: unknown;
|
|
1708
|
+
};
|
|
1709
|
+
supplyType: InventorySupplyType | null;
|
|
1710
|
+
maxSupply: string | null;
|
|
1711
|
+
active: boolean;
|
|
1712
|
+
};
|
|
1713
|
+
type InventoryItemListResponse = {
|
|
1714
|
+
items: Array<InventoryItemRecord>;
|
|
1715
|
+
};
|
|
1716
|
+
type InventoryMintPermitRecord = {
|
|
1717
|
+
id: string;
|
|
1718
|
+
appId: string;
|
|
1719
|
+
itemId: string;
|
|
1720
|
+
userId: string;
|
|
1721
|
+
amount: string;
|
|
1722
|
+
priceCents: number | null;
|
|
1723
|
+
gasSponsored: boolean;
|
|
1724
|
+
status: "pending" | "redeemed" | "revoked";
|
|
1725
|
+
createdAt: string;
|
|
1726
|
+
};
|
|
1727
|
+
type InventoryMintPermitCreateInput = {
|
|
1728
|
+
toUserId: string;
|
|
1729
|
+
amount?: string;
|
|
1730
|
+
priceCents?: number | null;
|
|
1731
|
+
gasSponsored?: boolean;
|
|
1732
|
+
};
|
|
1733
|
+
type InventoryItemHoldersResponse = {
|
|
1734
|
+
stats: InventoryItemStats;
|
|
1735
|
+
holders: Array<InventoryItemHolder>;
|
|
1736
|
+
};
|
|
1737
|
+
type InventoryItemStats = {
|
|
1738
|
+
holderCount: number;
|
|
1739
|
+
walletCount: number;
|
|
1740
|
+
totalHeld: string;
|
|
1741
|
+
};
|
|
1742
|
+
type InventoryItemHolder = {
|
|
1743
|
+
walletAddress: string;
|
|
1744
|
+
userId: string | null;
|
|
1745
|
+
amount: string;
|
|
1746
|
+
};
|
|
1747
|
+
type InventoryVaultPermitRecord = {
|
|
1748
|
+
id: string;
|
|
1749
|
+
appId: string;
|
|
1750
|
+
itemId: string;
|
|
1751
|
+
userId: string;
|
|
1752
|
+
direction: "vault_in" | "withdraw";
|
|
1753
|
+
lockKind: "vault" | "burn" | null;
|
|
1754
|
+
amount: string;
|
|
1755
|
+
gasSponsored: boolean;
|
|
1756
|
+
status: "pending" | "redeemed" | "revoked";
|
|
1757
|
+
custodyId: string | null;
|
|
1758
|
+
createdAt: string;
|
|
1759
|
+
};
|
|
1760
|
+
type InventoryVaultPermitCreateInput = {
|
|
1761
|
+
toUserId: string;
|
|
1762
|
+
lockKind: "vault" | "burn";
|
|
1763
|
+
amount?: string;
|
|
1764
|
+
gasSponsored?: boolean;
|
|
1765
|
+
};
|
|
1766
|
+
type InventoryWithdrawPermitCreateInput = {
|
|
1767
|
+
custodyId: string;
|
|
1768
|
+
};
|
|
1769
|
+
type InventoryPendingVaultPermitListResponse = {
|
|
1770
|
+
permits: Array<InventoryPendingVaultPermit>;
|
|
1771
|
+
};
|
|
1772
|
+
type InventoryPendingVaultPermit = {
|
|
1773
|
+
id: string;
|
|
1774
|
+
appId: string;
|
|
1775
|
+
itemId: string;
|
|
1776
|
+
direction: "vault_in" | "withdraw";
|
|
1777
|
+
lockKind: "vault" | "burn" | null;
|
|
1778
|
+
amount: string;
|
|
1779
|
+
gasSponsored: boolean;
|
|
1780
|
+
environment: "development" | "production";
|
|
1781
|
+
custodyId: string | null;
|
|
1782
|
+
createdAt: string;
|
|
1783
|
+
tokenId: string;
|
|
1784
|
+
name: string | null;
|
|
1785
|
+
description: string | null;
|
|
1786
|
+
imageAssetId: string | null;
|
|
1787
|
+
chain: string;
|
|
1788
|
+
collectionAddress: string;
|
|
1789
|
+
kind: "erc721" | "erc1155";
|
|
1790
|
+
};
|
|
1791
|
+
type InventorySignedVaultPermit = {
|
|
1792
|
+
permitId: string;
|
|
1793
|
+
direction: "vault_in" | "withdraw";
|
|
1794
|
+
vault: string;
|
|
1795
|
+
collection: string;
|
|
1796
|
+
user: string;
|
|
1797
|
+
tokenId: string;
|
|
1798
|
+
amount: string;
|
|
1799
|
+
lockKind: "vault" | "burn" | null;
|
|
1800
|
+
destination: string | null;
|
|
1801
|
+
deadline: number;
|
|
1802
|
+
signature: string;
|
|
1803
|
+
};
|
|
1804
|
+
type InventoryRelayedVaultQuoteResponse = {
|
|
1805
|
+
direction: "vault_in" | "withdraw";
|
|
1806
|
+
collection: string;
|
|
1807
|
+
vault: string;
|
|
1808
|
+
chainId: number;
|
|
1809
|
+
user: string;
|
|
1810
|
+
tokenId: string;
|
|
1811
|
+
amount: string;
|
|
1812
|
+
nonce: string | null;
|
|
1813
|
+
deadline: number;
|
|
1814
|
+
feeCents: number;
|
|
1815
|
+
gasWei: string;
|
|
1816
|
+
gasPaidBy: "developer" | "user";
|
|
1817
|
+
requiresUserSignature: boolean;
|
|
1818
|
+
};
|
|
1819
|
+
type InventoryRelayedVaultSubmitResponse = {
|
|
1820
|
+
ok: boolean;
|
|
1821
|
+
txHash: string;
|
|
1822
|
+
chargedCents: number;
|
|
1823
|
+
gasPaidBy: "developer" | "user";
|
|
1824
|
+
};
|
|
1825
|
+
type InventoryRelayedVaultSubmitRequest = {
|
|
1826
|
+
userSignature?: string;
|
|
1827
|
+
deadline?: number;
|
|
1828
|
+
};
|
|
1829
|
+
type InventoryNftTransferQuoteResponse = {
|
|
1830
|
+
collection: string;
|
|
1831
|
+
chainId: number;
|
|
1832
|
+
from: string;
|
|
1833
|
+
to: string;
|
|
1834
|
+
tokenId: string;
|
|
1835
|
+
amount: string;
|
|
1836
|
+
nonce: string;
|
|
1837
|
+
deadline: number;
|
|
1838
|
+
feeCents: number;
|
|
1839
|
+
gasWei: string;
|
|
1840
|
+
selfPayAvailable: boolean;
|
|
1841
|
+
};
|
|
1842
|
+
type InventoryNftTransferQuoteRequest = {
|
|
1843
|
+
toUserId: string;
|
|
1844
|
+
collection: string;
|
|
1845
|
+
tokenId: string;
|
|
1846
|
+
amount?: string;
|
|
1847
|
+
};
|
|
1848
|
+
type InventoryNftTransferResponse = {
|
|
1849
|
+
ok: boolean;
|
|
1850
|
+
txHash: string;
|
|
1851
|
+
chargedCents: number;
|
|
1852
|
+
};
|
|
1853
|
+
type InventoryNftTransferRequest = {
|
|
1854
|
+
toUserId: string;
|
|
1855
|
+
collection: string;
|
|
1856
|
+
tokenId: string;
|
|
1857
|
+
amount?: string;
|
|
1858
|
+
deadline: number;
|
|
1859
|
+
userSignature: string;
|
|
1860
|
+
threadId?: string;
|
|
1861
|
+
};
|
|
1862
|
+
type InventoryVaultCustodyListResponse = {
|
|
1863
|
+
custody: Array<InventoryVaultCustody>;
|
|
1864
|
+
};
|
|
1865
|
+
type InventoryVaultCustody = {
|
|
1866
|
+
id: string;
|
|
1867
|
+
collectionId: string;
|
|
1868
|
+
collectionAddress: string;
|
|
1869
|
+
chain: string;
|
|
1870
|
+
kind: "erc721" | "erc1155";
|
|
1871
|
+
tokenId: string;
|
|
1872
|
+
amount: string;
|
|
1873
|
+
lockKind: "vault" | "burn";
|
|
1874
|
+
vaultAddress: string;
|
|
1875
|
+
createdAt: string;
|
|
1876
|
+
name: string | null;
|
|
1877
|
+
description: string | null;
|
|
1878
|
+
imageAssetId: string | null;
|
|
1879
|
+
};
|
|
1880
|
+
type InventoryVaultForceWithdrawResponse = {
|
|
1881
|
+
ok: boolean;
|
|
1882
|
+
txHash: string;
|
|
1883
|
+
};
|
|
1433
1884
|
type NotificationListResponse = {
|
|
1434
1885
|
notifications: Array<NotificationItem>;
|
|
1435
1886
|
unreadCount: number;
|
|
@@ -1597,7 +2048,7 @@ type ProfileRecentReview = {
|
|
|
1597
2048
|
appId: string;
|
|
1598
2049
|
appName: string;
|
|
1599
2050
|
appLogoUrl: string | null;
|
|
1600
|
-
|
|
2051
|
+
recommended: boolean;
|
|
1601
2052
|
body: string;
|
|
1602
2053
|
createdAt: string;
|
|
1603
2054
|
};
|
|
@@ -1953,6 +2404,11 @@ type AppPageDraft = {
|
|
|
1953
2404
|
gallery: AppPageGallery;
|
|
1954
2405
|
chapters: AppPageChapters;
|
|
1955
2406
|
links: AppPageLinks;
|
|
2407
|
+
platforms: AppPagePlatforms;
|
|
2408
|
+
gameType: AppPageGameType;
|
|
2409
|
+
ageRating: AppPageAgeRating;
|
|
2410
|
+
languages: AppPageLanguages;
|
|
2411
|
+
releaseStatus: AppPageReleaseStatus;
|
|
1956
2412
|
firstPublishedAt: string | null;
|
|
1957
2413
|
reviewedAt: string | null;
|
|
1958
2414
|
reviewNotes: string | null;
|
|
@@ -1975,6 +2431,11 @@ type UpdateAppPage = {
|
|
|
1975
2431
|
gallery?: AppPageGallery;
|
|
1976
2432
|
chapters?: AppPageChapters;
|
|
1977
2433
|
links?: AppPageLinks;
|
|
2434
|
+
platforms?: AppPagePlatforms;
|
|
2435
|
+
gameType?: AppPageGameType;
|
|
2436
|
+
ageRating?: AppPageAgeRating;
|
|
2437
|
+
languages?: AppPageLanguages;
|
|
2438
|
+
releaseStatus?: AppPageReleaseStatus;
|
|
1978
2439
|
};
|
|
1979
2440
|
type AppPageGalleryUploadResponse = {
|
|
1980
2441
|
url: string;
|
|
@@ -2444,229 +2905,235 @@ type PostMeDeveloperAppsByAppIdPageThumbnailVideoResponses = {
|
|
|
2444
2905
|
type PostMeDeveloperAppsByAppIdPageThumbnailVideoResponse = PostMeDeveloperAppsByAppIdPageThumbnailVideoResponses[keyof PostMeDeveloperAppsByAppIdPageThumbnailVideoResponses];
|
|
2445
2906
|
//#endregion
|
|
2446
2907
|
//#region src/account/avatar.d.ts
|
|
2447
|
-
declare function uploadAvatar(
|
|
2908
|
+
declare function uploadAvatar(context: TransportContext, input: {
|
|
2448
2909
|
readonly bearer: string;
|
|
2449
2910
|
readonly file: Blob | ArrayBufferView | ArrayBuffer;
|
|
2450
2911
|
readonly filename: string;
|
|
2451
2912
|
readonly contentType: string;
|
|
2452
2913
|
}): Promise<AuthUser>;
|
|
2453
|
-
declare function deleteAvatar(
|
|
2914
|
+
declare function deleteAvatar(context: TransportContext, input: {
|
|
2454
2915
|
readonly bearer: string;
|
|
2455
2916
|
}): Promise<AuthUser>;
|
|
2456
2917
|
//#endregion
|
|
2457
2918
|
//#region src/account/giphy.d.ts
|
|
2458
|
-
declare function searchGiphy(
|
|
2919
|
+
declare function searchGiphy(context: TransportContext, input: {
|
|
2459
2920
|
readonly bearer: string;
|
|
2460
2921
|
readonly q: string;
|
|
2461
2922
|
}): Promise<GiphySearchResponse>;
|
|
2462
2923
|
//#endregion
|
|
2463
2924
|
//#region src/account/payment-authorizations.d.ts
|
|
2464
|
-
declare function listPaymentAuthorizations(
|
|
2925
|
+
declare function listPaymentAuthorizations(context: TransportContext, input: {
|
|
2465
2926
|
readonly bearer: string;
|
|
2466
2927
|
}): Promise<ListAppPaymentAuthorizationsResponse>;
|
|
2467
|
-
declare function updatePaymentAuthorization(
|
|
2928
|
+
declare function updatePaymentAuthorization(context: TransportContext, input: {
|
|
2468
2929
|
readonly bearer: string;
|
|
2469
2930
|
readonly consentId: string;
|
|
2470
2931
|
readonly body: UpdateAppPaymentAuthorization;
|
|
2471
2932
|
}): Promise<void>;
|
|
2472
|
-
declare function revokePaymentAuthorization(
|
|
2933
|
+
declare function revokePaymentAuthorization(context: TransportContext, input: {
|
|
2473
2934
|
readonly bearer: string;
|
|
2474
2935
|
readonly consentId: string;
|
|
2475
2936
|
}): Promise<void>;
|
|
2476
2937
|
//#endregion
|
|
2477
2938
|
//#region src/account/presence-heartbeat.d.ts
|
|
2478
|
-
declare function sendPresenceHeartbeat(
|
|
2939
|
+
declare function sendPresenceHeartbeat(context: TransportContext, input: {
|
|
2479
2940
|
readonly bearer: string;
|
|
2480
2941
|
}): Promise<WebPresenceHeartbeatAck>;
|
|
2481
2942
|
//#endregion
|
|
2482
2943
|
//#region src/account/profile.d.ts
|
|
2483
|
-
declare function updateProfile(
|
|
2944
|
+
declare function updateProfile(context: TransportContext, input: {
|
|
2484
2945
|
readonly bearer: string;
|
|
2485
2946
|
readonly body: ProfileUpdate;
|
|
2486
2947
|
}): Promise<AuthUser>;
|
|
2487
2948
|
//#endregion
|
|
2488
2949
|
//#region src/admin/active-players.d.ts
|
|
2489
|
-
declare function listActivePlayers(
|
|
2950
|
+
declare function listActivePlayers(context: TransportContext, input: {
|
|
2490
2951
|
readonly bearer: string;
|
|
2491
2952
|
}): Promise<AdminActivePlayersResponse>;
|
|
2492
2953
|
//#endregion
|
|
2493
2954
|
//#region src/admin/app-pages.d.ts
|
|
2494
|
-
declare function listAppPages(
|
|
2955
|
+
declare function listAppPages(context: TransportContext, input: {
|
|
2495
2956
|
readonly bearer: string;
|
|
2496
2957
|
readonly status?: "draft" | "pending_review" | "published" | "hidden" | "all" | "pending_changes";
|
|
2497
2958
|
}): Promise<AdminAppPageListResponse>;
|
|
2498
|
-
declare function getAppPageChanges(
|
|
2959
|
+
declare function getAppPageChanges(context: TransportContext, input: {
|
|
2499
2960
|
readonly bearer: string;
|
|
2500
2961
|
readonly appId: string;
|
|
2501
2962
|
}): Promise<AdminAppPageDiffResponse>;
|
|
2502
|
-
declare function reviewAppPageChanges(
|
|
2963
|
+
declare function reviewAppPageChanges(context: TransportContext, input: {
|
|
2503
2964
|
readonly bearer: string;
|
|
2504
2965
|
readonly appId: string;
|
|
2505
2966
|
readonly body: ReviewAppPage;
|
|
2506
2967
|
}): Promise<AdminAppPageStatusResponse>;
|
|
2507
|
-
declare function hideAppPage(
|
|
2968
|
+
declare function hideAppPage(context: TransportContext, input: {
|
|
2508
2969
|
readonly bearer: string;
|
|
2509
2970
|
readonly appId: string;
|
|
2510
2971
|
readonly body: HideAppPage;
|
|
2511
2972
|
}): Promise<AdminAppPageStatusResponse>;
|
|
2512
|
-
declare function unhideAppPage(
|
|
2973
|
+
declare function unhideAppPage(context: TransportContext, input: {
|
|
2513
2974
|
readonly bearer: string;
|
|
2514
2975
|
readonly appId: string;
|
|
2515
2976
|
}): Promise<AdminAppPageStatusResponse>;
|
|
2516
|
-
declare function reviewAppPage(
|
|
2977
|
+
declare function reviewAppPage(context: TransportContext, input: {
|
|
2517
2978
|
readonly bearer: string;
|
|
2518
2979
|
readonly appId: string;
|
|
2519
2980
|
readonly body: ReviewAppPage;
|
|
2520
2981
|
}): Promise<AdminAppPageStatusResponse>;
|
|
2521
2982
|
//#endregion
|
|
2522
2983
|
//#region src/admin/appeals.d.ts
|
|
2523
|
-
declare function listAppealQueue(
|
|
2984
|
+
declare function listAppealQueue(context: TransportContext, input: {
|
|
2524
2985
|
readonly bearer: string;
|
|
2525
2986
|
readonly statuses?: readonly AppealStatusRow["status"][];
|
|
2526
2987
|
readonly chain?: string;
|
|
2527
2988
|
readonly cursorFiledAt?: string;
|
|
2528
2989
|
readonly limit?: number;
|
|
2529
2990
|
}): Promise<ListAppealsResponse>;
|
|
2530
|
-
declare function getAdminAppealRoom(
|
|
2991
|
+
declare function getAdminAppealRoom(context: TransportContext, input: {
|
|
2531
2992
|
readonly bearer: string;
|
|
2532
2993
|
readonly appealId: string;
|
|
2533
2994
|
}): Promise<AppealRoomView>;
|
|
2534
|
-
declare function postAdminAppealRoomMessage(
|
|
2995
|
+
declare function postAdminAppealRoomMessage(context: TransportContext, input: {
|
|
2535
2996
|
readonly bearer: string;
|
|
2536
2997
|
readonly appealId: string;
|
|
2537
2998
|
readonly body: AppealRoomPostRequest;
|
|
2538
2999
|
}): Promise<AppealRoomPostResponse>;
|
|
2539
|
-
declare function uploadAdminAppealRoomAttachment(
|
|
3000
|
+
declare function uploadAdminAppealRoomAttachment(context: TransportContext, input: {
|
|
2540
3001
|
readonly bearer: string;
|
|
2541
3002
|
readonly appealId: string;
|
|
2542
3003
|
readonly file: Blob | ArrayBufferView | ArrayBuffer;
|
|
2543
3004
|
readonly filename: string;
|
|
2544
3005
|
readonly contentType: string;
|
|
2545
3006
|
}): Promise<UploadAttachmentResponse>;
|
|
2546
|
-
declare function resolveAppeal(
|
|
3007
|
+
declare function resolveAppeal(context: TransportContext, input: {
|
|
2547
3008
|
readonly bearer: string;
|
|
2548
3009
|
readonly appealId: string;
|
|
2549
3010
|
readonly body: AppealResolveRequest;
|
|
2550
3011
|
}): Promise<AppealResolveSignedResponse>;
|
|
2551
3012
|
//#endregion
|
|
2552
3013
|
//#region src/admin/developers.d.ts
|
|
2553
|
-
declare function listDeveloperRequests(
|
|
3014
|
+
declare function listDeveloperRequests(context: TransportContext, input: {
|
|
2554
3015
|
readonly bearer: string;
|
|
2555
3016
|
readonly status?: "pending" | "approved" | "rejected" | "cancelled";
|
|
2556
3017
|
readonly kind?: "role" | "production";
|
|
2557
3018
|
}): Promise<ListDeveloperRequestsResponse>;
|
|
2558
|
-
declare function reviewDeveloperRequest(
|
|
3019
|
+
declare function reviewDeveloperRequest(context: TransportContext, input: {
|
|
2559
3020
|
readonly bearer: string;
|
|
2560
3021
|
readonly id: string;
|
|
2561
3022
|
readonly body: ReviewDeveloperRequest;
|
|
2562
3023
|
}): Promise<ReviewDeveloperRequestResponse>;
|
|
2563
|
-
declare function listDevelopers(
|
|
3024
|
+
declare function listDevelopers(context: TransportContext, input: {
|
|
2564
3025
|
readonly bearer: string;
|
|
2565
3026
|
}): Promise<AdminDeveloperListResponse>;
|
|
2566
3027
|
//#endregion
|
|
3028
|
+
//#region src/admin/inventory-vault.d.ts
|
|
3029
|
+
declare function forceWithdrawVaultCustody(context: TransportContext, input: {
|
|
3030
|
+
readonly bearer: string;
|
|
3031
|
+
readonly custodyId: string;
|
|
3032
|
+
}): Promise<InventoryVaultForceWithdrawResponse>;
|
|
3033
|
+
//#endregion
|
|
2567
3034
|
//#region src/admin/payments.d.ts
|
|
2568
|
-
declare function getPlatformFees(
|
|
3035
|
+
declare function getPlatformFees(context: TransportContext, input: {
|
|
2569
3036
|
readonly bearer: string;
|
|
2570
3037
|
}): Promise<PlatformFeesResponse>;
|
|
2571
|
-
declare function updatePlatformFees(
|
|
3038
|
+
declare function updatePlatformFees(context: TransportContext, input: {
|
|
2572
3039
|
readonly bearer: string;
|
|
2573
3040
|
readonly body: UpdatePlatformFeesRequest;
|
|
2574
3041
|
}): Promise<UpdatePlatformFeesResponse>;
|
|
2575
|
-
declare function getAppFeeConfig(
|
|
3042
|
+
declare function getAppFeeConfig(context: TransportContext, input: {
|
|
2576
3043
|
readonly bearer: string;
|
|
2577
3044
|
readonly appId: string;
|
|
2578
3045
|
}): Promise<AppFeeConfigResponse>;
|
|
2579
|
-
declare function updateAppFeeConfig(
|
|
3046
|
+
declare function updateAppFeeConfig(context: TransportContext, input: {
|
|
2580
3047
|
readonly bearer: string;
|
|
2581
3048
|
readonly appId: string;
|
|
2582
3049
|
readonly body: UpdateAppFeeConfigRequest;
|
|
2583
3050
|
}): Promise<AppFeeConfigResponse>;
|
|
2584
|
-
declare function setProcessorWhitelist(
|
|
3051
|
+
declare function setProcessorWhitelist(context: TransportContext, input: {
|
|
2585
3052
|
readonly bearer: string;
|
|
2586
3053
|
readonly body: SetProcessorWhitelistRequest;
|
|
2587
3054
|
}): Promise<CalldataEnvelope>;
|
|
2588
|
-
declare function rotateProcessorTreasury(
|
|
3055
|
+
declare function rotateProcessorTreasury(context: TransportContext, input: {
|
|
2589
3056
|
readonly bearer: string;
|
|
2590
3057
|
readonly processorId: string;
|
|
2591
3058
|
readonly body: RotateProcessorTreasuryRequest;
|
|
2592
3059
|
}): Promise<CalldataEnvelope>;
|
|
2593
|
-
declare function setVaultOperator(
|
|
3060
|
+
declare function setVaultOperator(context: TransportContext, input: {
|
|
2594
3061
|
readonly bearer: string;
|
|
2595
3062
|
readonly vaultAddress: string;
|
|
2596
3063
|
readonly body: SetOperatorRequest;
|
|
2597
3064
|
}): Promise<CalldataEnvelope>;
|
|
2598
|
-
declare function setVaultPause(
|
|
3065
|
+
declare function setVaultPause(context: TransportContext, input: {
|
|
2599
3066
|
readonly bearer: string;
|
|
2600
3067
|
readonly vaultAddress: string;
|
|
2601
3068
|
readonly body: PauseRequest;
|
|
2602
3069
|
}): Promise<CalldataEnvelope>;
|
|
2603
|
-
declare function setVaultWithdrawLockDefault(
|
|
3070
|
+
declare function setVaultWithdrawLockDefault(context: TransportContext, input: {
|
|
2604
3071
|
readonly bearer: string;
|
|
2605
3072
|
readonly vaultAddress: string;
|
|
2606
3073
|
readonly body: SetDefaultWithdrawLockRequest;
|
|
2607
3074
|
}): Promise<CalldataEnvelope>;
|
|
2608
|
-
declare function setVaultWithdrawLockOverride(
|
|
3075
|
+
declare function setVaultWithdrawLockOverride(context: TransportContext, input: {
|
|
2609
3076
|
readonly bearer: string;
|
|
2610
3077
|
readonly vaultAddress: string;
|
|
2611
3078
|
readonly body: SetWithdrawLockOverrideRequest;
|
|
2612
3079
|
}): Promise<CalldataEnvelope>;
|
|
2613
|
-
declare function addAppealBlacklist(
|
|
3080
|
+
declare function addAppealBlacklist(context: TransportContext, input: {
|
|
2614
3081
|
readonly bearer: string;
|
|
2615
3082
|
readonly body: AppealBlacklistAddRequest;
|
|
2616
3083
|
}): Promise<AppealBlacklistEntry>;
|
|
2617
|
-
declare function removeAppealBlacklist(
|
|
3084
|
+
declare function removeAppealBlacklist(context: TransportContext, input: {
|
|
2618
3085
|
readonly bearer: string;
|
|
2619
3086
|
readonly body: AppealBlacklistRemoveRequest;
|
|
2620
3087
|
}): Promise<AppealBlacklistRemoveResponse>;
|
|
2621
|
-
declare function listAppealBlacklist(
|
|
3088
|
+
declare function listAppealBlacklist(context: TransportContext, input: {
|
|
2622
3089
|
readonly bearer: string;
|
|
2623
3090
|
readonly chain?: string;
|
|
2624
3091
|
}): Promise<AppealBlacklistListResponse>;
|
|
2625
3092
|
//#endregion
|
|
2626
3093
|
//#region src/admin/tron-cashouts.d.ts
|
|
2627
|
-
declare function listTronCashoutQueue(
|
|
3094
|
+
declare function listTronCashoutQueue(context: TransportContext, input: {
|
|
2628
3095
|
readonly bearer: string;
|
|
2629
3096
|
readonly status?: AdminTronCashoutItem["status"];
|
|
2630
3097
|
}): Promise<AdminTronCashoutListResponse>;
|
|
2631
|
-
declare function approveTronCashout(
|
|
3098
|
+
declare function approveTronCashout(context: TransportContext, input: {
|
|
2632
3099
|
readonly bearer: string;
|
|
2633
3100
|
readonly id: string;
|
|
2634
3101
|
}): Promise<AdminTronCashoutItem>;
|
|
2635
|
-
declare function rejectTronCashout(
|
|
3102
|
+
declare function rejectTronCashout(context: TransportContext, input: {
|
|
2636
3103
|
readonly bearer: string;
|
|
2637
3104
|
readonly id: string;
|
|
2638
3105
|
readonly body: AdminTronCashoutRejectRequest;
|
|
2639
3106
|
}): Promise<AdminTronCashoutItem>;
|
|
2640
3107
|
//#endregion
|
|
2641
3108
|
//#region src/admin/users.d.ts
|
|
2642
|
-
declare function listAdmins(
|
|
3109
|
+
declare function listAdmins(context: TransportContext, input: {
|
|
2643
3110
|
readonly bearer: string;
|
|
2644
3111
|
}): Promise<ListAdminsResponse>;
|
|
2645
|
-
declare function addAdmin(
|
|
3112
|
+
declare function addAdmin(context: TransportContext, input: {
|
|
2646
3113
|
readonly bearer: string;
|
|
2647
3114
|
readonly body: AddAdminRequest;
|
|
2648
3115
|
}): Promise<AdminMutationResponse>;
|
|
2649
|
-
declare function updateAdminRole(
|
|
3116
|
+
declare function updateAdminRole(context: TransportContext, input: {
|
|
2650
3117
|
readonly bearer: string;
|
|
2651
3118
|
readonly id: string;
|
|
2652
3119
|
readonly body: UpdateAdminRoleRequest;
|
|
2653
3120
|
}): Promise<AdminRoleChangeResponse>;
|
|
2654
|
-
declare function removeAdmin(
|
|
3121
|
+
declare function removeAdmin(context: TransportContext, input: {
|
|
2655
3122
|
readonly bearer: string;
|
|
2656
3123
|
readonly id: string;
|
|
2657
3124
|
}): Promise<AdminMutationResponse>;
|
|
2658
|
-
declare function listUsers(
|
|
3125
|
+
declare function listUsers(context: TransportContext, input: {
|
|
2659
3126
|
readonly bearer: string;
|
|
2660
3127
|
readonly search?: string;
|
|
2661
3128
|
readonly offset?: number;
|
|
2662
3129
|
readonly limit?: number;
|
|
2663
3130
|
}): Promise<AdminUserListResponse>;
|
|
2664
|
-
declare function updateUserBan(
|
|
3131
|
+
declare function updateUserBan(context: TransportContext, input: {
|
|
2665
3132
|
readonly bearer: string;
|
|
2666
3133
|
readonly id: string;
|
|
2667
3134
|
readonly body: AdminUserBanRequest;
|
|
2668
3135
|
}): Promise<AdminUserBanResponse>;
|
|
2669
|
-
declare function listAudit(
|
|
3136
|
+
declare function listAudit(context: TransportContext, input: {
|
|
2670
3137
|
readonly bearer: string;
|
|
2671
3138
|
readonly action?: string;
|
|
2672
3139
|
readonly actorId?: string;
|
|
@@ -2677,20 +3144,20 @@ declare function listAudit(ctx: TransportContext, input: {
|
|
|
2677
3144
|
}): Promise<AdminAuditListResponse>;
|
|
2678
3145
|
//#endregion
|
|
2679
3146
|
//#region src/catalog/app-page.d.ts
|
|
2680
|
-
declare function getAppPage(
|
|
3147
|
+
declare function getAppPage(context: TransportContext, input: {
|
|
2681
3148
|
readonly bearer?: string;
|
|
2682
3149
|
readonly slug: string;
|
|
2683
3150
|
}): Promise<PublicAppPage>;
|
|
2684
3151
|
//#endregion
|
|
2685
3152
|
//#region src/catalog/content-reports.d.ts
|
|
2686
|
-
declare function submitAppContentReport(
|
|
3153
|
+
declare function submitAppContentReport(context: TransportContext, input: {
|
|
2687
3154
|
readonly appId: string;
|
|
2688
3155
|
readonly bearer: string;
|
|
2689
3156
|
readonly report: SubmitAppContentReportRequest;
|
|
2690
3157
|
}): Promise<SubmitAppContentReportResponse>;
|
|
2691
3158
|
//#endregion
|
|
2692
3159
|
//#region src/catalog/library.d.ts
|
|
2693
|
-
declare function getLibrary(
|
|
3160
|
+
declare function getLibrary(context: TransportContext, input: {
|
|
2694
3161
|
readonly bearer?: string;
|
|
2695
3162
|
readonly genre?: string;
|
|
2696
3163
|
readonly q?: string;
|
|
@@ -2699,40 +3166,75 @@ declare function getLibrary(ctx: TransportContext, input: {
|
|
|
2699
3166
|
}): Promise<LibraryListResponse>;
|
|
2700
3167
|
//#endregion
|
|
2701
3168
|
//#region src/catalog/reviews.d.ts
|
|
2702
|
-
declare function listGameReviews(
|
|
3169
|
+
declare function listGameReviews(context: TransportContext, input: {
|
|
2703
3170
|
readonly slug: string;
|
|
2704
3171
|
readonly bearer?: string;
|
|
2705
3172
|
readonly sort?: ReviewSort;
|
|
2706
3173
|
readonly limit?: number;
|
|
2707
3174
|
readonly offset?: number;
|
|
2708
3175
|
}): Promise<ReviewListResponse>;
|
|
2709
|
-
declare function listDeveloperAppReviews(
|
|
3176
|
+
declare function listDeveloperAppReviews(context: TransportContext, input: {
|
|
2710
3177
|
readonly appId: string;
|
|
2711
3178
|
readonly bearer: string;
|
|
2712
3179
|
readonly sort?: ReviewSort;
|
|
2713
3180
|
readonly limit?: number;
|
|
2714
3181
|
readonly offset?: number;
|
|
2715
3182
|
}): Promise<ReviewListResponse>;
|
|
2716
|
-
declare function getMyGameReview(
|
|
3183
|
+
declare function getMyGameReview(context: TransportContext, input: {
|
|
2717
3184
|
readonly slug: string;
|
|
2718
3185
|
readonly bearer: string;
|
|
2719
3186
|
}): Promise<MyReviewResponse>;
|
|
2720
|
-
declare function upsertMyGameReview(
|
|
3187
|
+
declare function upsertMyGameReview(context: TransportContext, input: {
|
|
2721
3188
|
readonly slug: string;
|
|
2722
3189
|
readonly bearer: string;
|
|
2723
3190
|
readonly review: UpsertReviewRequest;
|
|
2724
3191
|
}): Promise<MyReviewResponse>;
|
|
2725
|
-
declare function deleteMyGameReview(
|
|
3192
|
+
declare function deleteMyGameReview(context: TransportContext, input: {
|
|
2726
3193
|
readonly slug: string;
|
|
2727
3194
|
readonly bearer: string;
|
|
2728
3195
|
}): Promise<MyReviewResponse>;
|
|
2729
|
-
declare function
|
|
3196
|
+
declare function getMyGameReviewReactions(context: TransportContext, input: {
|
|
3197
|
+
readonly slug: string;
|
|
3198
|
+
readonly bearer: string;
|
|
3199
|
+
}): Promise<MyReviewReactionsResponse>;
|
|
3200
|
+
declare function setMyGameReviewReaction(context: TransportContext, input: {
|
|
3201
|
+
readonly slug: string;
|
|
3202
|
+
readonly reviewId: string;
|
|
3203
|
+
readonly bearer: string;
|
|
3204
|
+
readonly reaction: SetReviewReactionRequest;
|
|
3205
|
+
}): Promise<SetReviewReactionResponse>;
|
|
3206
|
+
declare function tipGameReview(context: TransportContext, input: {
|
|
3207
|
+
readonly slug: string;
|
|
3208
|
+
readonly reviewId: string;
|
|
3209
|
+
readonly bearer: string;
|
|
3210
|
+
readonly tip: TipReviewRequest;
|
|
3211
|
+
readonly idempotencyKey?: string;
|
|
3212
|
+
}): Promise<TipReviewResponse>;
|
|
3213
|
+
declare function listGameReviewComments(context: TransportContext, input: {
|
|
3214
|
+
readonly slug: string;
|
|
3215
|
+
readonly reviewId: string;
|
|
3216
|
+
readonly bearer?: string;
|
|
3217
|
+
readonly limit?: number;
|
|
3218
|
+
readonly offset?: number;
|
|
3219
|
+
}): Promise<ReviewCommentListResponse>;
|
|
3220
|
+
declare function commentOnGameReview(context: TransportContext, input: {
|
|
3221
|
+
readonly slug: string;
|
|
3222
|
+
readonly reviewId: string;
|
|
3223
|
+
readonly bearer: string;
|
|
3224
|
+
readonly comment: CreateReviewCommentRequest;
|
|
3225
|
+
}): Promise<CreateReviewCommentResponse>;
|
|
3226
|
+
declare function deleteGameReviewComment(context: TransportContext, input: {
|
|
3227
|
+
readonly slug: string;
|
|
3228
|
+
readonly commentId: string;
|
|
3229
|
+
readonly bearer: string;
|
|
3230
|
+
}): Promise<DeleteReviewCommentResponse>;
|
|
3231
|
+
declare function replyToGameReview(context: TransportContext, input: {
|
|
2730
3232
|
readonly appId: string;
|
|
2731
3233
|
readonly reviewId: string;
|
|
2732
3234
|
readonly bearer: string;
|
|
2733
3235
|
readonly reply: UpsertReviewReplyRequest;
|
|
2734
3236
|
}): Promise<ReviewReplyResponse>;
|
|
2735
|
-
declare function deleteGameReviewReply(
|
|
3237
|
+
declare function deleteGameReviewReply(context: TransportContext, input: {
|
|
2736
3238
|
readonly appId: string;
|
|
2737
3239
|
readonly reviewId: string;
|
|
2738
3240
|
readonly bearer: string;
|
|
@@ -2782,7 +3284,7 @@ declare function createConsoleLogger(prefix?: string): Logger;
|
|
|
2782
3284
|
declare function createInMemoryTokenStore(): TokenStore;
|
|
2783
3285
|
//#endregion
|
|
2784
3286
|
//#region src/dashboard/activity.d.ts
|
|
2785
|
-
declare function getActivity(
|
|
3287
|
+
declare function getActivity(context: TransportContext, input: {
|
|
2786
3288
|
readonly bearer: string;
|
|
2787
3289
|
readonly kind?: string;
|
|
2788
3290
|
readonly direction?: "outgoing" | "incoming";
|
|
@@ -2793,24 +3295,24 @@ declare function getActivity(ctx: TransportContext, input: {
|
|
|
2793
3295
|
readonly before?: string;
|
|
2794
3296
|
readonly includeInactive?: boolean;
|
|
2795
3297
|
}): Promise<ActivityResponse>;
|
|
2796
|
-
declare function getActivityGroup(
|
|
3298
|
+
declare function getActivityGroup(context: TransportContext, input: {
|
|
2797
3299
|
readonly bearer: string;
|
|
2798
3300
|
readonly groupId: string;
|
|
2799
3301
|
}): Promise<ActivityResponse>;
|
|
2800
3302
|
//#endregion
|
|
2801
3303
|
//#region src/dashboard/chains.d.ts
|
|
2802
|
-
declare function getPaymentChains(
|
|
3304
|
+
declare function getPaymentChains(context: TransportContext, input: {
|
|
2803
3305
|
readonly bearer: string;
|
|
2804
3306
|
}): Promise<PaymentChainsResponse>;
|
|
2805
3307
|
//#endregion
|
|
2806
3308
|
//#region src/dashboard/outstanding.d.ts
|
|
2807
|
-
declare function getOutstanding(
|
|
3309
|
+
declare function getOutstanding(context: TransportContext, input: {
|
|
2808
3310
|
readonly bearer: string;
|
|
2809
3311
|
readonly chain?: string;
|
|
2810
3312
|
}): Promise<OutstandingResponse>;
|
|
2811
3313
|
//#endregion
|
|
2812
3314
|
//#region src/dashboard/payment-history.d.ts
|
|
2813
|
-
declare function getPaymentHistory(
|
|
3315
|
+
declare function getPaymentHistory(context: TransportContext, input: {
|
|
2814
3316
|
readonly bearer: string;
|
|
2815
3317
|
readonly status?: "pending" | "completed" | "expired" | "all";
|
|
2816
3318
|
readonly limit?: number;
|
|
@@ -2818,52 +3320,52 @@ declare function getPaymentHistory(ctx: TransportContext, input: {
|
|
|
2818
3320
|
}): Promise<PaymentHistoryResponse>;
|
|
2819
3321
|
//#endregion
|
|
2820
3322
|
//#region src/developer/api-keys.d.ts
|
|
2821
|
-
declare function createDeveloperApiKey(
|
|
3323
|
+
declare function createDeveloperApiKey(context: TransportContext, input: {
|
|
2822
3324
|
readonly bearer: string;
|
|
2823
3325
|
readonly body: CreateDeveloperApiKey;
|
|
2824
3326
|
}): Promise<CreateDeveloperApiKeyResponse>;
|
|
2825
|
-
declare function listDeveloperApiKeys(
|
|
3327
|
+
declare function listDeveloperApiKeys(context: TransportContext, input: {
|
|
2826
3328
|
readonly bearer: string;
|
|
2827
3329
|
}): Promise<DeveloperApiKeysResponse>;
|
|
2828
|
-
declare function revokeDeveloperApiKey(
|
|
3330
|
+
declare function revokeDeveloperApiKey(context: TransportContext, input: {
|
|
2829
3331
|
readonly bearer: string;
|
|
2830
3332
|
readonly id: string;
|
|
2831
3333
|
}): Promise<DeveloperOkResponse>;
|
|
2832
3334
|
//#endregion
|
|
2833
3335
|
//#region src/developer/apps.d.ts
|
|
2834
|
-
declare function createDeveloperApp(
|
|
3336
|
+
declare function createDeveloperApp(context: TransportContext, input: {
|
|
2835
3337
|
readonly bearer: string;
|
|
2836
3338
|
readonly body: CreateDeveloperApp;
|
|
2837
3339
|
}): Promise<DeveloperAppIdResponse>;
|
|
2838
|
-
declare function updateDeveloperApp(
|
|
3340
|
+
declare function updateDeveloperApp(context: TransportContext, input: {
|
|
2839
3341
|
readonly bearer: string;
|
|
2840
3342
|
readonly id: string;
|
|
2841
3343
|
readonly body: UpdateDeveloperApp;
|
|
2842
3344
|
}): Promise<DeveloperAppIdResponse>;
|
|
2843
|
-
declare function deleteDeveloperApp(
|
|
3345
|
+
declare function deleteDeveloperApp(context: TransportContext, input: {
|
|
2844
3346
|
readonly bearer: string;
|
|
2845
3347
|
readonly id: string;
|
|
2846
3348
|
}): Promise<DeveloperAppIdResponse>;
|
|
2847
|
-
declare function uploadDeveloperAppLogo(
|
|
3349
|
+
declare function uploadDeveloperAppLogo(context: TransportContext, input: {
|
|
2848
3350
|
readonly bearer: string;
|
|
2849
3351
|
readonly id: string;
|
|
2850
3352
|
readonly file: Blob | ArrayBufferView | ArrayBuffer;
|
|
2851
3353
|
readonly filename: string;
|
|
2852
3354
|
readonly contentType: string;
|
|
2853
3355
|
}): Promise<DeveloperLogoUploadResponse>;
|
|
2854
|
-
declare function deleteDeveloperAppLogo(
|
|
3356
|
+
declare function deleteDeveloperAppLogo(context: TransportContext, input: {
|
|
2855
3357
|
readonly bearer: string;
|
|
2856
3358
|
readonly id: string;
|
|
2857
3359
|
}): Promise<DeveloperLogoUploadResponse>;
|
|
2858
|
-
declare function getDeveloperAppBalances(
|
|
3360
|
+
declare function getDeveloperAppBalances(context: TransportContext, input: {
|
|
2859
3361
|
readonly bearer: string;
|
|
2860
3362
|
readonly id: string;
|
|
2861
3363
|
}): Promise<DeveloperAppBalancesResponse>;
|
|
2862
|
-
declare function getDeveloperAppTronBalance(
|
|
3364
|
+
declare function getDeveloperAppTronBalance(context: TransportContext, input: {
|
|
2863
3365
|
readonly bearer: string;
|
|
2864
3366
|
readonly id: string;
|
|
2865
3367
|
}): Promise<DeveloperAppTronBalanceResponse>;
|
|
2866
|
-
declare function getDeveloperAppActivity(
|
|
3368
|
+
declare function getDeveloperAppActivity(context: TransportContext, input: {
|
|
2867
3369
|
readonly bearer: string;
|
|
2868
3370
|
readonly id: string;
|
|
2869
3371
|
readonly kind?: string;
|
|
@@ -2874,203 +3376,250 @@ declare function getDeveloperAppActivity(ctx: TransportContext, input: {
|
|
|
2874
3376
|
readonly cursor?: string;
|
|
2875
3377
|
readonly before?: string;
|
|
2876
3378
|
}): Promise<ActivityResponse>;
|
|
2877
|
-
declare function getDeveloperAppEarnings(
|
|
3379
|
+
declare function getDeveloperAppEarnings(context: TransportContext, input: {
|
|
2878
3380
|
readonly bearer: string;
|
|
2879
3381
|
readonly id: string;
|
|
2880
3382
|
readonly range?: string;
|
|
2881
3383
|
readonly chain?: string;
|
|
2882
3384
|
}): Promise<DeveloperAppEarningsResponse>;
|
|
2883
|
-
declare function getDeveloperAppPlaytime(
|
|
3385
|
+
declare function getDeveloperAppPlaytime(context: TransportContext, input: {
|
|
2884
3386
|
readonly bearer: string;
|
|
2885
3387
|
readonly id: string;
|
|
2886
3388
|
readonly range?: string;
|
|
2887
3389
|
}): Promise<DeveloperAppPlaytimeResponse>;
|
|
2888
|
-
declare function getDeveloperAppOverview(
|
|
3390
|
+
declare function getDeveloperAppOverview(context: TransportContext, input: {
|
|
2889
3391
|
readonly bearer: string;
|
|
2890
3392
|
readonly id: string;
|
|
2891
3393
|
}): Promise<DeveloperAppOverviewResponse>;
|
|
2892
|
-
declare function getDeveloperAppWallets(
|
|
3394
|
+
declare function getDeveloperAppWallets(context: TransportContext, input: {
|
|
2893
3395
|
readonly bearer: string;
|
|
2894
3396
|
readonly id: string;
|
|
2895
3397
|
}): Promise<DeveloperAppWalletsResponse>;
|
|
2896
|
-
declare function updateDeveloperAppAutoSweep(
|
|
3398
|
+
declare function updateDeveloperAppAutoSweep(context: TransportContext, input: {
|
|
2897
3399
|
readonly bearer: string;
|
|
2898
3400
|
readonly id: string;
|
|
2899
3401
|
readonly chain: string;
|
|
2900
3402
|
readonly body: DeveloperAppAutoSweepRequest;
|
|
2901
3403
|
}): Promise<DeveloperAppAutoSweepResponse>;
|
|
2902
|
-
declare function provisionDeveloperAppWallet(
|
|
3404
|
+
declare function provisionDeveloperAppWallet(context: TransportContext, input: {
|
|
2903
3405
|
readonly bearer: string;
|
|
2904
3406
|
readonly id: string;
|
|
2905
3407
|
readonly chain: string;
|
|
2906
3408
|
}): Promise<DeveloperAppProvisionWalletResponse>;
|
|
2907
|
-
declare function withdrawDeveloperAppWallet(
|
|
3409
|
+
declare function withdrawDeveloperAppWallet(context: TransportContext, input: {
|
|
2908
3410
|
readonly bearer: string;
|
|
2909
3411
|
readonly id: string;
|
|
2910
3412
|
readonly chain: string;
|
|
2911
3413
|
readonly token?: string;
|
|
2912
3414
|
}): Promise<DeveloperAppWithdrawResponse>;
|
|
2913
|
-
declare function consolidateDeveloperAppWallet(
|
|
3415
|
+
declare function consolidateDeveloperAppWallet(context: TransportContext, input: {
|
|
2914
3416
|
readonly bearer: string;
|
|
2915
3417
|
readonly id: string;
|
|
2916
3418
|
readonly chain: string;
|
|
2917
3419
|
}): Promise<DeveloperAppConsolidateResponse>;
|
|
2918
|
-
declare function rotateDeveloperAppKey(
|
|
3420
|
+
declare function rotateDeveloperAppKey(context: TransportContext, input: {
|
|
2919
3421
|
readonly bearer: string;
|
|
2920
3422
|
readonly id: string;
|
|
2921
3423
|
readonly env: "development" | "production";
|
|
2922
3424
|
}): Promise<RegenerateDeveloperAppKeyResponse>;
|
|
2923
|
-
declare function requestDeveloperAppProduction(
|
|
3425
|
+
declare function requestDeveloperAppProduction(context: TransportContext, input: {
|
|
2924
3426
|
readonly bearer: string;
|
|
2925
3427
|
readonly id: string;
|
|
2926
3428
|
readonly body: CreateDeveloperProductionRequest;
|
|
2927
3429
|
}): Promise<CreateDeveloperProductionRequestResponse>;
|
|
2928
|
-
declare function rotateDeveloperAppPaymentWebhookSecret(
|
|
3430
|
+
declare function rotateDeveloperAppPaymentWebhookSecret(context: TransportContext, input: {
|
|
2929
3431
|
readonly bearer: string;
|
|
2930
3432
|
readonly id: string;
|
|
2931
3433
|
}): Promise<RegenerateDeveloperAppWebhookSecretResponse>;
|
|
2932
|
-
declare function getDeveloperPaymentAppeals(
|
|
3434
|
+
declare function getDeveloperPaymentAppeals(context: TransportContext, input: {
|
|
2933
3435
|
readonly bearer: string;
|
|
2934
3436
|
readonly chain?: string;
|
|
2935
3437
|
}): Promise<DevAppealsResponse>;
|
|
2936
|
-
declare function getDeveloperPaymentPendingDeposits(
|
|
3438
|
+
declare function getDeveloperPaymentPendingDeposits(context: TransportContext, input: {
|
|
2937
3439
|
readonly bearer: string;
|
|
2938
3440
|
readonly chain?: string;
|
|
2939
3441
|
}): Promise<DevPendingDepositsResponse>;
|
|
2940
|
-
declare function getDeveloperTronBalanceSummary(
|
|
3442
|
+
declare function getDeveloperTronBalanceSummary(context: TransportContext, input: {
|
|
2941
3443
|
readonly bearer: string;
|
|
2942
3444
|
}): Promise<DeveloperTronBalanceSummaryResponse>;
|
|
2943
|
-
declare function listDeveloperAppContentReports(
|
|
3445
|
+
declare function listDeveloperAppContentReports(context: TransportContext, input: {
|
|
2944
3446
|
readonly bearer: string;
|
|
2945
3447
|
readonly id: string;
|
|
2946
3448
|
readonly status?: AppContentReportStatus;
|
|
2947
3449
|
readonly limit?: number;
|
|
2948
3450
|
readonly offset?: number;
|
|
2949
3451
|
}): Promise<AppContentReportListResponse>;
|
|
2950
|
-
declare function updateDeveloperAppContentReportStatus(
|
|
3452
|
+
declare function updateDeveloperAppContentReportStatus(context: TransportContext, input: {
|
|
2951
3453
|
readonly bearer: string;
|
|
2952
3454
|
readonly id: string;
|
|
2953
3455
|
readonly reportId: string;
|
|
2954
3456
|
readonly status: "acknowledged" | "dismissed";
|
|
2955
3457
|
}): Promise<AppContentReport>;
|
|
2956
3458
|
//#endregion
|
|
3459
|
+
//#region src/developer/inventory.d.ts
|
|
3460
|
+
declare function quoteDeveloperAppInventoryRegistration(context: TransportContext, input: {
|
|
3461
|
+
readonly bearer: string;
|
|
3462
|
+
readonly appId: string;
|
|
3463
|
+
readonly registration: InventoryItemRegistrationInput;
|
|
3464
|
+
}): Promise<InventoryRegistrationQuote>;
|
|
3465
|
+
declare function registerDeveloperAppInventoryItem(context: TransportContext, input: {
|
|
3466
|
+
readonly bearer: string;
|
|
3467
|
+
readonly appId: string;
|
|
3468
|
+
readonly registration: InventoryItemRegistrationInput;
|
|
3469
|
+
}): Promise<InventoryItemRegistrationResult>;
|
|
3470
|
+
declare function listDeveloperAppInventoryCollections(context: TransportContext, input: {
|
|
3471
|
+
readonly bearer: string;
|
|
3472
|
+
readonly appId: string;
|
|
3473
|
+
}): Promise<InventoryCollectionListResponse>;
|
|
3474
|
+
declare function listDeveloperAppInventoryItems(context: TransportContext, input: {
|
|
3475
|
+
readonly bearer: string;
|
|
3476
|
+
readonly appId: string;
|
|
3477
|
+
}): Promise<InventoryItemListResponse>;
|
|
3478
|
+
declare function createDeveloperAppMintPermit(context: TransportContext, input: {
|
|
3479
|
+
readonly bearer: string;
|
|
3480
|
+
readonly appId: string;
|
|
3481
|
+
readonly itemId: string;
|
|
3482
|
+
readonly grant: InventoryMintPermitCreateInput;
|
|
3483
|
+
}): Promise<InventoryMintPermitRecord>;
|
|
3484
|
+
declare function getDeveloperAppInventoryItemHolders(context: TransportContext, input: {
|
|
3485
|
+
readonly bearer: string;
|
|
3486
|
+
readonly appId: string;
|
|
3487
|
+
readonly itemId: string;
|
|
3488
|
+
}): Promise<InventoryItemHoldersResponse>;
|
|
3489
|
+
declare function uploadDeveloperAppInventoryItemImage(context: TransportContext, input: {
|
|
3490
|
+
readonly bearer: string;
|
|
3491
|
+
readonly appId: string;
|
|
3492
|
+
readonly itemId: string;
|
|
3493
|
+
readonly file: Blob | ArrayBufferView | ArrayBuffer;
|
|
3494
|
+
readonly filename: string;
|
|
3495
|
+
readonly contentType: string;
|
|
3496
|
+
}): Promise<InventoryItemRecord>;
|
|
3497
|
+
declare function uploadDeveloperAppInventoryItemBanner(context: TransportContext, input: {
|
|
3498
|
+
readonly bearer: string;
|
|
3499
|
+
readonly appId: string;
|
|
3500
|
+
readonly itemId: string;
|
|
3501
|
+
readonly file: Blob | ArrayBufferView | ArrayBuffer;
|
|
3502
|
+
readonly filename: string;
|
|
3503
|
+
readonly contentType: string;
|
|
3504
|
+
}): Promise<InventoryItemRecord>;
|
|
3505
|
+
//#endregion
|
|
2957
3506
|
//#region src/developer/pages.d.ts
|
|
2958
|
-
declare function getDeveloperAppPage(
|
|
3507
|
+
declare function getDeveloperAppPage(context: TransportContext, input: {
|
|
2959
3508
|
readonly bearer: string;
|
|
2960
3509
|
readonly appId: string;
|
|
2961
3510
|
}): Promise<AppPageDraft>;
|
|
2962
|
-
declare function updateAppPage(
|
|
3511
|
+
declare function updateAppPage(context: TransportContext, input: {
|
|
2963
3512
|
readonly bearer: string;
|
|
2964
3513
|
readonly appId: string;
|
|
2965
3514
|
readonly body: UpdateAppPage;
|
|
2966
3515
|
}): Promise<AppPageDraft>;
|
|
2967
|
-
declare function uploadAppPageBanner(
|
|
3516
|
+
declare function uploadAppPageBanner(context: TransportContext, input: {
|
|
2968
3517
|
readonly bearer: string;
|
|
2969
3518
|
readonly appId: string;
|
|
2970
3519
|
readonly file: Blob | ArrayBufferView | ArrayBuffer;
|
|
2971
3520
|
readonly filename: string;
|
|
2972
3521
|
readonly contentType: string;
|
|
2973
3522
|
}): Promise<PostMeDeveloperAppsByAppIdPageBannerResponse>;
|
|
2974
|
-
declare function deleteAppPageBanner(
|
|
3523
|
+
declare function deleteAppPageBanner(context: TransportContext, input: {
|
|
2975
3524
|
readonly bearer: string;
|
|
2976
3525
|
readonly appId: string;
|
|
2977
3526
|
}): Promise<void>;
|
|
2978
|
-
declare function uploadAppPageThumbnail(
|
|
3527
|
+
declare function uploadAppPageThumbnail(context: TransportContext, input: {
|
|
2979
3528
|
readonly bearer: string;
|
|
2980
3529
|
readonly appId: string;
|
|
2981
3530
|
readonly file: Blob | ArrayBufferView | ArrayBuffer;
|
|
2982
3531
|
readonly filename: string;
|
|
2983
3532
|
readonly contentType: string;
|
|
2984
3533
|
}): Promise<PostMeDeveloperAppsByAppIdPageThumbnailResponse>;
|
|
2985
|
-
declare function deleteAppPageThumbnail(
|
|
3534
|
+
declare function deleteAppPageThumbnail(context: TransportContext, input: {
|
|
2986
3535
|
readonly bearer: string;
|
|
2987
3536
|
readonly appId: string;
|
|
2988
3537
|
}): Promise<void>;
|
|
2989
|
-
declare function uploadAppPageThumbnailVideo(
|
|
3538
|
+
declare function uploadAppPageThumbnailVideo(context: TransportContext, input: {
|
|
2990
3539
|
readonly bearer: string;
|
|
2991
3540
|
readonly appId: string;
|
|
2992
3541
|
readonly file: Blob | ArrayBufferView | ArrayBuffer;
|
|
2993
3542
|
readonly filename: string;
|
|
2994
3543
|
readonly contentType: string;
|
|
2995
3544
|
}): Promise<PostMeDeveloperAppsByAppIdPageThumbnailVideoResponse>;
|
|
2996
|
-
declare function deleteAppPageThumbnailVideo(
|
|
3545
|
+
declare function deleteAppPageThumbnailVideo(context: TransportContext, input: {
|
|
2997
3546
|
readonly bearer: string;
|
|
2998
3547
|
readonly appId: string;
|
|
2999
3548
|
}): Promise<void>;
|
|
3000
|
-
declare function uploadAppPageGallery(
|
|
3549
|
+
declare function uploadAppPageGallery(context: TransportContext, input: {
|
|
3001
3550
|
readonly bearer: string;
|
|
3002
3551
|
readonly appId: string;
|
|
3003
3552
|
readonly file: Blob | ArrayBufferView | ArrayBuffer;
|
|
3004
3553
|
readonly filename: string;
|
|
3005
3554
|
readonly contentType: string;
|
|
3006
3555
|
}): Promise<AppPageGalleryUploadResponse>;
|
|
3007
|
-
declare function submitAppPageForReview(
|
|
3556
|
+
declare function submitAppPageForReview(context: TransportContext, input: {
|
|
3008
3557
|
readonly bearer: string;
|
|
3009
3558
|
readonly appId: string;
|
|
3010
3559
|
}): Promise<AppPageDraft>;
|
|
3011
|
-
declare function unpublishAppPage(
|
|
3560
|
+
declare function unpublishAppPage(context: TransportContext, input: {
|
|
3012
3561
|
readonly bearer: string;
|
|
3013
3562
|
readonly appId: string;
|
|
3014
3563
|
}): Promise<AppPageDraft>;
|
|
3015
3564
|
//#endregion
|
|
3016
3565
|
//#region src/developer/participants.d.ts
|
|
3017
|
-
declare function listDeveloperAppParticipants(
|
|
3566
|
+
declare function listDeveloperAppParticipants(context: TransportContext, input: {
|
|
3018
3567
|
readonly bearer: string;
|
|
3019
3568
|
readonly id: string;
|
|
3020
3569
|
}): Promise<DeveloperAppParticipantsResponse>;
|
|
3021
|
-
declare function inviteDeveloperAppParticipant(
|
|
3570
|
+
declare function inviteDeveloperAppParticipant(context: TransportContext, input: {
|
|
3022
3571
|
readonly bearer: string;
|
|
3023
3572
|
readonly id: string;
|
|
3024
3573
|
readonly body: InviteDeveloperAppParticipant;
|
|
3025
3574
|
}): Promise<DeveloperAppParticipantsResponse>;
|
|
3026
|
-
declare function revokeDeveloperAppParticipant(
|
|
3575
|
+
declare function revokeDeveloperAppParticipant(context: TransportContext, input: {
|
|
3027
3576
|
readonly bearer: string;
|
|
3028
3577
|
readonly id: string;
|
|
3029
3578
|
readonly userId: string;
|
|
3030
3579
|
}): Promise<DeveloperOkResponse>;
|
|
3031
|
-
declare function listDeveloperInvites(
|
|
3580
|
+
declare function listDeveloperInvites(context: TransportContext, input: {
|
|
3032
3581
|
readonly bearer: string;
|
|
3033
3582
|
}): Promise<DeveloperInvitesResponse>;
|
|
3034
|
-
declare function acceptDeveloperInvite(
|
|
3583
|
+
declare function acceptDeveloperInvite(context: TransportContext, input: {
|
|
3035
3584
|
readonly bearer: string;
|
|
3036
3585
|
readonly appId: string;
|
|
3037
3586
|
}): Promise<DeveloperOkResponse>;
|
|
3038
|
-
declare function declineDeveloperInvite(
|
|
3587
|
+
declare function declineDeveloperInvite(context: TransportContext, input: {
|
|
3039
3588
|
readonly bearer: string;
|
|
3040
3589
|
readonly appId: string;
|
|
3041
3590
|
}): Promise<DeveloperOkResponse>;
|
|
3042
3591
|
//#endregion
|
|
3043
3592
|
//#region src/developer/profile.d.ts
|
|
3044
|
-
declare function getDeveloperStatus(
|
|
3593
|
+
declare function getDeveloperStatus(context: TransportContext, input: {
|
|
3045
3594
|
readonly bearer: string;
|
|
3046
3595
|
}): Promise<DeveloperMeStatus>;
|
|
3047
|
-
declare function updateDeveloperProfile(
|
|
3596
|
+
declare function updateDeveloperProfile(context: TransportContext, input: {
|
|
3048
3597
|
readonly bearer: string;
|
|
3049
3598
|
readonly body: UpdateDeveloperProfile;
|
|
3050
3599
|
}): Promise<DeveloperOkResponse>;
|
|
3051
|
-
declare function uploadDeveloperProfileLogo(
|
|
3600
|
+
declare function uploadDeveloperProfileLogo(context: TransportContext, input: {
|
|
3052
3601
|
readonly bearer: string;
|
|
3053
3602
|
readonly file: Blob | ArrayBufferView | ArrayBuffer;
|
|
3054
3603
|
readonly filename: string;
|
|
3055
3604
|
readonly contentType: string;
|
|
3056
3605
|
}): Promise<DeveloperLogoUploadResponse>;
|
|
3057
|
-
declare function deleteDeveloperProfileLogo(
|
|
3606
|
+
declare function deleteDeveloperProfileLogo(context: TransportContext, input: {
|
|
3058
3607
|
readonly bearer: string;
|
|
3059
3608
|
}): Promise<DeveloperLogoUploadResponse>;
|
|
3060
|
-
declare function submitDeveloperRequest(
|
|
3609
|
+
declare function submitDeveloperRequest(context: TransportContext, input: {
|
|
3061
3610
|
readonly bearer: string;
|
|
3062
3611
|
readonly body: CreateDeveloperRoleRequest;
|
|
3063
3612
|
}): Promise<DeveloperOkResponse>;
|
|
3064
|
-
declare function uploadDeveloperRequestLogo(
|
|
3613
|
+
declare function uploadDeveloperRequestLogo(context: TransportContext, input: {
|
|
3065
3614
|
readonly bearer: string;
|
|
3066
3615
|
readonly file: Blob | ArrayBufferView | ArrayBuffer;
|
|
3067
3616
|
readonly filename: string;
|
|
3068
3617
|
readonly contentType: string;
|
|
3069
3618
|
}): Promise<DeveloperLogoUploadResponse>;
|
|
3070
|
-
declare function deleteDeveloperRequestLogo(
|
|
3619
|
+
declare function deleteDeveloperRequestLogo(context: TransportContext, input: {
|
|
3071
3620
|
readonly bearer: string;
|
|
3072
3621
|
}): Promise<DeveloperLogoUploadResponse>;
|
|
3073
|
-
declare function uploadMultipart(
|
|
3622
|
+
declare function uploadMultipart(context: TransportContext, input: {
|
|
3074
3623
|
readonly path: string;
|
|
3075
3624
|
readonly bearer: string;
|
|
3076
3625
|
readonly file: Blob | ArrayBufferView | ArrayBuffer;
|
|
@@ -3078,6 +3627,68 @@ declare function uploadMultipart(ctx: TransportContext, input: {
|
|
|
3078
3627
|
readonly contentType: string;
|
|
3079
3628
|
}): Promise<unknown>;
|
|
3080
3629
|
//#endregion
|
|
3630
|
+
//#region src/developer/vault.d.ts
|
|
3631
|
+
declare function createDeveloperVaultPermit(context: TransportContext, input: {
|
|
3632
|
+
readonly bearer: string;
|
|
3633
|
+
readonly appId: string;
|
|
3634
|
+
readonly itemId: string;
|
|
3635
|
+
readonly grant: InventoryVaultPermitCreateInput;
|
|
3636
|
+
}): Promise<InventoryVaultPermitRecord>;
|
|
3637
|
+
declare function createDeveloperWithdrawPermit(context: TransportContext, input: {
|
|
3638
|
+
readonly bearer: string;
|
|
3639
|
+
readonly appId: string;
|
|
3640
|
+
readonly itemId: string;
|
|
3641
|
+
readonly grant: InventoryWithdrawPermitCreateInput;
|
|
3642
|
+
}): Promise<InventoryVaultPermitRecord>;
|
|
3643
|
+
//#endregion
|
|
3644
|
+
//#region src/events/inventory-socket.d.ts
|
|
3645
|
+
declare const inventoryUpdateEventSchema: z.ZodObject<{
|
|
3646
|
+
event: z.ZodLiteral<"inventory.updated">;
|
|
3647
|
+
deliveredAt: z.ZodString;
|
|
3648
|
+
environment: z.ZodEnum<{
|
|
3649
|
+
development: "development";
|
|
3650
|
+
production: "production";
|
|
3651
|
+
}>;
|
|
3652
|
+
subject: z.ZodString;
|
|
3653
|
+
collectionId: z.ZodString;
|
|
3654
|
+
collectionAddress: z.ZodString;
|
|
3655
|
+
chain: z.ZodString;
|
|
3656
|
+
kind: z.ZodEnum<{
|
|
3657
|
+
erc721: "erc721";
|
|
3658
|
+
erc1155: "erc1155";
|
|
3659
|
+
}>;
|
|
3660
|
+
tokenId: z.ZodString;
|
|
3661
|
+
direction: z.ZodEnum<{
|
|
3662
|
+
credit: "credit";
|
|
3663
|
+
debit: "debit";
|
|
3664
|
+
}>;
|
|
3665
|
+
amount: z.ZodString;
|
|
3666
|
+
balance: z.ZodString;
|
|
3667
|
+
}, z.core.$strip>;
|
|
3668
|
+
type InventoryUpdateEvent = z.infer<typeof inventoryUpdateEventSchema>;
|
|
3669
|
+
type OauthInventoryEventsSubscriberLifecycle = {
|
|
3670
|
+
onOpen?: () => void;
|
|
3671
|
+
onSubscribed?: (appId: string) => void;
|
|
3672
|
+
onMessage: (body: InventoryUpdateEvent) => void | Promise<void>;
|
|
3673
|
+
onClose?: (error: TronWsCloseError) => void;
|
|
3674
|
+
onError?: (error: Error) => void;
|
|
3675
|
+
};
|
|
3676
|
+
type OauthInventoryEventsSubscriberOptions = {
|
|
3677
|
+
readonly issuer: string;
|
|
3678
|
+
readonly clientId: string;
|
|
3679
|
+
readonly clientSecret: string;
|
|
3680
|
+
readonly logger?: Logger;
|
|
3681
|
+
readonly lifecycle: OauthInventoryEventsSubscriberLifecycle;
|
|
3682
|
+
readonly initialBackoffMs?: number;
|
|
3683
|
+
readonly maxBackoffMs?: number;
|
|
3684
|
+
readonly shouldReconnect?: (error: TronWsCloseError) => boolean;
|
|
3685
|
+
readonly WebSocketImpl?: typeof globalThis.WebSocket;
|
|
3686
|
+
};
|
|
3687
|
+
type OauthInventoryEventsSubscriber = {
|
|
3688
|
+
readonly stop: () => void;
|
|
3689
|
+
};
|
|
3690
|
+
declare function startOauthInventoryEventsSubscriber(options: OauthInventoryEventsSubscriberOptions): OauthInventoryEventsSubscriber;
|
|
3691
|
+
//#endregion
|
|
3081
3692
|
//#region src/webhook/verify.d.ts
|
|
3082
3693
|
declare const oauthPaymentWebhookBodySchema: z.ZodObject<{
|
|
3083
3694
|
event: z.ZodEnum<{
|
|
@@ -3152,6 +3763,7 @@ type OauthPaymentEventsSubscriberOptions = {
|
|
|
3152
3763
|
readonly maxBackoffMs?: number;
|
|
3153
3764
|
readonly shouldReconnect?: (error: TronWsCloseError) => boolean;
|
|
3154
3765
|
readonly WebSocketImpl?: typeof globalThis.WebSocket;
|
|
3766
|
+
readonly disableEventAck?: boolean;
|
|
3155
3767
|
};
|
|
3156
3768
|
type OauthPaymentEventsSubscriber = {
|
|
3157
3769
|
readonly stop: () => void;
|
|
@@ -3159,81 +3771,124 @@ type OauthPaymentEventsSubscriber = {
|
|
|
3159
3771
|
declare function startOauthPaymentEventsSubscriber(options: OauthPaymentEventsSubscriberOptions): OauthPaymentEventsSubscriber;
|
|
3160
3772
|
//#endregion
|
|
3161
3773
|
//#region src/inventory/list.d.ts
|
|
3162
|
-
declare function listInventory(
|
|
3774
|
+
declare function listInventory(context: TransportContext, input: {
|
|
3163
3775
|
readonly bearer: string;
|
|
3164
3776
|
}): Promise<InventoryListResponse>;
|
|
3165
|
-
declare function listInventoryForApp(
|
|
3777
|
+
declare function listInventoryForApp(context: TransportContext, input: {
|
|
3166
3778
|
readonly bearer: string;
|
|
3167
3779
|
}): Promise<InventoryListResponse>;
|
|
3168
3780
|
//#endregion
|
|
3781
|
+
//#region src/inventory/nft-transfer.d.ts
|
|
3782
|
+
declare function quoteNftTransfer(context: TransportContext, input: {
|
|
3783
|
+
readonly bearer: string;
|
|
3784
|
+
readonly body: InventoryNftTransferQuoteRequest;
|
|
3785
|
+
}): Promise<InventoryNftTransferQuoteResponse>;
|
|
3786
|
+
declare function executeNftTransfer(context: TransportContext, input: {
|
|
3787
|
+
readonly bearer: string;
|
|
3788
|
+
readonly body: InventoryNftTransferRequest;
|
|
3789
|
+
}): Promise<InventoryNftTransferResponse>;
|
|
3790
|
+
//#endregion
|
|
3791
|
+
//#region src/inventory/permits.d.ts
|
|
3792
|
+
declare function listInventoryMintPermits(context: TransportContext, input: {
|
|
3793
|
+
readonly bearer: string;
|
|
3794
|
+
}): Promise<InventoryPendingPermitListResponse>;
|
|
3795
|
+
declare function redeemInventoryMintPermit(context: TransportContext, input: {
|
|
3796
|
+
readonly bearer: string;
|
|
3797
|
+
readonly permitId: string;
|
|
3798
|
+
}): Promise<InventoryPermitRedeemResult>;
|
|
3799
|
+
//#endregion
|
|
3169
3800
|
//#region src/inventory/request-mint.d.ts
|
|
3170
|
-
declare function requestMint(
|
|
3801
|
+
declare function requestMint(context: TransportContext, input: {
|
|
3171
3802
|
readonly appBearer: string;
|
|
3172
3803
|
readonly body: MintRequestInput;
|
|
3173
3804
|
}): Promise<MintRequestResult>;
|
|
3174
3805
|
//#endregion
|
|
3806
|
+
//#region src/inventory/vault.d.ts
|
|
3807
|
+
declare function listInventoryVaultPermits(context: TransportContext, input: {
|
|
3808
|
+
readonly bearer: string;
|
|
3809
|
+
}): Promise<InventoryPendingVaultPermitListResponse>;
|
|
3810
|
+
declare function signInventoryVaultPermit(context: TransportContext, input: {
|
|
3811
|
+
readonly bearer: string;
|
|
3812
|
+
readonly permitId: string;
|
|
3813
|
+
}): Promise<InventorySignedVaultPermit>;
|
|
3814
|
+
declare function quoteRelayedVaultPermit(context: TransportContext, input: {
|
|
3815
|
+
readonly bearer: string;
|
|
3816
|
+
readonly permitId: string;
|
|
3817
|
+
}): Promise<InventoryRelayedVaultQuoteResponse>;
|
|
3818
|
+
declare function submitRelayedVaultPermit(context: TransportContext, input: {
|
|
3819
|
+
readonly bearer: string;
|
|
3820
|
+
readonly permitId: string;
|
|
3821
|
+
readonly body: InventoryRelayedVaultSubmitRequest;
|
|
3822
|
+
}): Promise<InventoryRelayedVaultSubmitResponse>;
|
|
3823
|
+
declare function listInventoryVaulted(context: TransportContext, input: {
|
|
3824
|
+
readonly bearer: string;
|
|
3825
|
+
}): Promise<InventoryVaultCustodyListResponse>;
|
|
3826
|
+
declare function listOauthInventoryVaulted(context: TransportContext, input: {
|
|
3827
|
+
readonly bearer: string;
|
|
3828
|
+
}): Promise<InventoryVaultCustodyListResponse>;
|
|
3829
|
+
//#endregion
|
|
3175
3830
|
//#region src/messaging/dm-key-backup.d.ts
|
|
3176
|
-
declare function getDmKeyBackupStatus(
|
|
3831
|
+
declare function getDmKeyBackupStatus(context: TransportContext, input: {
|
|
3177
3832
|
readonly bearer: string;
|
|
3178
3833
|
}): Promise<DmKeyBackupStatusResponse>;
|
|
3179
|
-
declare function setupDmKeyBackup(
|
|
3834
|
+
declare function setupDmKeyBackup(context: TransportContext, input: {
|
|
3180
3835
|
readonly bearer: string;
|
|
3181
3836
|
readonly body: DmKeyBackupSetupBody;
|
|
3182
3837
|
}): Promise<DmKeyBackupOkResponse>;
|
|
3183
|
-
declare function unlockDmKeyBackup(
|
|
3838
|
+
declare function unlockDmKeyBackup(context: TransportContext, input: {
|
|
3184
3839
|
readonly bearer: string;
|
|
3185
3840
|
readonly body: DmKeyBackupUnlockBody;
|
|
3186
3841
|
}): Promise<DmKeyBackupUnlockResponse>;
|
|
3187
3842
|
//#endregion
|
|
3188
3843
|
//#region src/messaging/dm-keys.d.ts
|
|
3189
|
-
declare function publishDmKey(
|
|
3844
|
+
declare function publishDmKey(context: TransportContext, input: {
|
|
3190
3845
|
readonly bearer: string;
|
|
3191
3846
|
readonly body: PublishDmKeyBody;
|
|
3192
3847
|
}): Promise<DmKeyResponse>;
|
|
3193
|
-
declare function getMyDmKey(
|
|
3848
|
+
declare function getMyDmKey(context: TransportContext, input: {
|
|
3194
3849
|
readonly bearer: string;
|
|
3195
3850
|
}): Promise<DmKeyResponse | null>;
|
|
3196
|
-
declare function getThreadDmKey(
|
|
3851
|
+
declare function getThreadDmKey(context: TransportContext, input: {
|
|
3197
3852
|
readonly bearer: string;
|
|
3198
3853
|
readonly threadId: string;
|
|
3199
3854
|
}): Promise<DmKeyResponse>;
|
|
3200
|
-
declare function batchThreadDmKeys(
|
|
3855
|
+
declare function batchThreadDmKeys(context: TransportContext, input: {
|
|
3201
3856
|
readonly bearer: string;
|
|
3202
3857
|
readonly threadIds: readonly string[];
|
|
3203
3858
|
}): Promise<BatchThreadDmKeysResponse>;
|
|
3204
3859
|
//#endregion
|
|
3205
3860
|
//#region src/messaging/logo.d.ts
|
|
3206
|
-
declare function uploadThreadLogo(
|
|
3861
|
+
declare function uploadThreadLogo(context: TransportContext, input: {
|
|
3207
3862
|
readonly bearer: string;
|
|
3208
3863
|
readonly threadId: string;
|
|
3209
3864
|
readonly file: Blob | ArrayBufferView | ArrayBuffer;
|
|
3210
3865
|
readonly filename: string;
|
|
3211
3866
|
readonly contentType: string;
|
|
3212
3867
|
}): Promise<GroupThreadMutationResponse>;
|
|
3213
|
-
declare function deleteThreadLogo(
|
|
3868
|
+
declare function deleteThreadLogo(context: TransportContext, input: {
|
|
3214
3869
|
readonly bearer: string;
|
|
3215
3870
|
readonly threadId: string;
|
|
3216
3871
|
}): Promise<GroupThreadMutationResponse>;
|
|
3217
3872
|
//#endregion
|
|
3218
3873
|
//#region src/messaging/messages.d.ts
|
|
3219
|
-
declare function deleteMessage(
|
|
3874
|
+
declare function deleteMessage(context: TransportContext, input: {
|
|
3220
3875
|
readonly bearer: string;
|
|
3221
3876
|
readonly threadId: string;
|
|
3222
3877
|
readonly messageId: string;
|
|
3223
3878
|
}): Promise<MessagingOkResponse>;
|
|
3224
|
-
declare function editMessage(
|
|
3879
|
+
declare function editMessage(context: TransportContext, input: {
|
|
3225
3880
|
readonly bearer: string;
|
|
3226
3881
|
readonly threadId: string;
|
|
3227
3882
|
readonly messageId: string;
|
|
3228
3883
|
readonly body: EditMessageBody;
|
|
3229
3884
|
}): Promise<MessageItem>;
|
|
3230
|
-
declare function addReaction(
|
|
3885
|
+
declare function addReaction(context: TransportContext, input: {
|
|
3231
3886
|
readonly bearer: string;
|
|
3232
3887
|
readonly threadId: string;
|
|
3233
3888
|
readonly messageId: string;
|
|
3234
3889
|
readonly emoji: ReactionEmoji;
|
|
3235
3890
|
}): Promise<ReactionMutationResponse>;
|
|
3236
|
-
declare function removeReaction(
|
|
3891
|
+
declare function removeReaction(context: TransportContext, input: {
|
|
3237
3892
|
readonly bearer: string;
|
|
3238
3893
|
readonly threadId: string;
|
|
3239
3894
|
readonly messageId: string;
|
|
@@ -3241,12 +3896,12 @@ declare function removeReaction(ctx: TransportContext, input: {
|
|
|
3241
3896
|
}): Promise<ReactionMutationResponse>;
|
|
3242
3897
|
//#endregion
|
|
3243
3898
|
//#region src/messaging/participants.d.ts
|
|
3244
|
-
declare function removeParticipant(
|
|
3899
|
+
declare function removeParticipant(context: TransportContext, input: {
|
|
3245
3900
|
readonly bearer: string;
|
|
3246
3901
|
readonly threadId: string;
|
|
3247
3902
|
readonly userId: string;
|
|
3248
3903
|
}): Promise<GroupThreadMutationResponse>;
|
|
3249
|
-
declare function updateParticipantRole(
|
|
3904
|
+
declare function updateParticipantRole(context: TransportContext, input: {
|
|
3250
3905
|
readonly bearer: string;
|
|
3251
3906
|
readonly threadId: string;
|
|
3252
3907
|
readonly userId: string;
|
|
@@ -3254,33 +3909,33 @@ declare function updateParticipantRole(ctx: TransportContext, input: {
|
|
|
3254
3909
|
}): Promise<GroupThreadMutationResponse>;
|
|
3255
3910
|
//#endregion
|
|
3256
3911
|
//#region src/messaging/threads.d.ts
|
|
3257
|
-
declare function deleteThread(
|
|
3912
|
+
declare function deleteThread(context: TransportContext, input: {
|
|
3258
3913
|
readonly bearer: string;
|
|
3259
3914
|
readonly threadId: string;
|
|
3260
3915
|
}): Promise<MessagingOkResponse>;
|
|
3261
|
-
declare function updateThreadSettings(
|
|
3916
|
+
declare function updateThreadSettings(context: TransportContext, input: {
|
|
3262
3917
|
readonly bearer: string;
|
|
3263
3918
|
readonly threadId: string;
|
|
3264
3919
|
readonly body: UpdateThreadSettingsBody;
|
|
3265
3920
|
}): Promise<GroupThreadMutationResponse>;
|
|
3266
|
-
declare function hideThread(
|
|
3921
|
+
declare function hideThread(context: TransportContext, input: {
|
|
3267
3922
|
readonly bearer: string;
|
|
3268
3923
|
readonly threadId: string;
|
|
3269
3924
|
}): Promise<MessagingOkResponse>;
|
|
3270
|
-
declare function inviteParticipants(
|
|
3925
|
+
declare function inviteParticipants(context: TransportContext, input: {
|
|
3271
3926
|
readonly bearer: string;
|
|
3272
3927
|
readonly threadId: string;
|
|
3273
3928
|
readonly body: InviteParticipantsBody;
|
|
3274
3929
|
}): Promise<GroupThreadMutationResponse>;
|
|
3275
|
-
declare function leaveThread(
|
|
3930
|
+
declare function leaveThread(context: TransportContext, input: {
|
|
3276
3931
|
readonly bearer: string;
|
|
3277
3932
|
readonly threadId: string;
|
|
3278
3933
|
}): Promise<MessagingOkResponse>;
|
|
3279
|
-
declare function pinThread(
|
|
3934
|
+
declare function pinThread(context: TransportContext, input: {
|
|
3280
3935
|
readonly bearer: string;
|
|
3281
3936
|
readonly threadId: string;
|
|
3282
3937
|
}): Promise<PinThreadResponse>;
|
|
3283
|
-
declare function unpinThread(
|
|
3938
|
+
declare function unpinThread(context: TransportContext, input: {
|
|
3284
3939
|
readonly bearer: string;
|
|
3285
3940
|
readonly threadId: string;
|
|
3286
3941
|
}): Promise<MessagingOkResponse>;
|
|
@@ -3313,7 +3968,7 @@ type AuthorizeUrl = {
|
|
|
3313
3968
|
declare function buildAuthorizeUrl(input: BuildAuthorizeUrlInput): Promise<AuthorizeUrl>;
|
|
3314
3969
|
//#endregion
|
|
3315
3970
|
//#region src/oauth/client-credentials.d.ts
|
|
3316
|
-
declare function mintClientCredentialsToken(
|
|
3971
|
+
declare function mintClientCredentialsToken(context: TransportContext, input: {
|
|
3317
3972
|
readonly clientId: string;
|
|
3318
3973
|
readonly clientSecret: string;
|
|
3319
3974
|
readonly scope?: readonly OauthScope[] | undefined;
|
|
@@ -3330,7 +3985,7 @@ declare function createAppTokenCache(options: {
|
|
|
3330
3985
|
}): AppTokenCache;
|
|
3331
3986
|
//#endregion
|
|
3332
3987
|
//#region src/oauth/discovery.d.ts
|
|
3333
|
-
declare function fetchAuthorizationServerMetadata(
|
|
3988
|
+
declare function fetchAuthorizationServerMetadata(context: TransportContext): Promise<OauthAuthorizationServerMetadata>;
|
|
3334
3989
|
declare function defaultEndpoints(issuer: string): {
|
|
3335
3990
|
authorize: string;
|
|
3336
3991
|
token: string;
|
|
@@ -3339,10 +3994,10 @@ declare function defaultEndpoints(issuer: string): {
|
|
|
3339
3994
|
};
|
|
3340
3995
|
//#endregion
|
|
3341
3996
|
//#region src/oauth/registration.d.ts
|
|
3342
|
-
declare function registerOauthClient(
|
|
3997
|
+
declare function registerOauthClient(context: TransportContext, input: OauthClientRegistrationRequest): Promise<OauthClientRegistrationResponse>;
|
|
3343
3998
|
//#endregion
|
|
3344
3999
|
//#region src/oauth/revoke.d.ts
|
|
3345
|
-
declare function revokeToken(
|
|
4000
|
+
declare function revokeToken(context: TransportContext, input: {
|
|
3346
4001
|
readonly token: string;
|
|
3347
4002
|
readonly tokenTypeHint?: "access_token" | "refresh_token" | undefined;
|
|
3348
4003
|
readonly clientId: string;
|
|
@@ -3350,14 +4005,14 @@ declare function revokeToken(ctx: TransportContext, input: {
|
|
|
3350
4005
|
}): Promise<void>;
|
|
3351
4006
|
//#endregion
|
|
3352
4007
|
//#region src/oauth/token.d.ts
|
|
3353
|
-
declare function exchangeAuthorizationCode(
|
|
4008
|
+
declare function exchangeAuthorizationCode(context: TransportContext, input: {
|
|
3354
4009
|
readonly code: string;
|
|
3355
4010
|
readonly redirectUri: string;
|
|
3356
4011
|
readonly codeVerifier: string;
|
|
3357
4012
|
readonly clientId: string;
|
|
3358
4013
|
readonly clientSecret?: string | undefined;
|
|
3359
4014
|
}): Promise<OauthTokenResponse>;
|
|
3360
|
-
declare function refreshAccessToken(
|
|
4015
|
+
declare function refreshAccessToken(context: TransportContext, input: {
|
|
3361
4016
|
readonly refreshToken: string;
|
|
3362
4017
|
readonly clientId: string;
|
|
3363
4018
|
readonly clientSecret?: string | undefined;
|
|
@@ -3366,31 +4021,31 @@ declare function refreshAccessToken(ctx: TransportContext, input: {
|
|
|
3366
4021
|
declare function toTokenSet(now: number, response: OauthTokenResponse): TokenSet;
|
|
3367
4022
|
//#endregion
|
|
3368
4023
|
//#region src/oauth/userinfo.d.ts
|
|
3369
|
-
declare function fetchUserInfo(
|
|
4024
|
+
declare function fetchUserInfo(context: TransportContext, input: {
|
|
3370
4025
|
readonly bearer: string;
|
|
3371
4026
|
}): Promise<OauthUserInfoResponse>;
|
|
3372
4027
|
//#endregion
|
|
3373
4028
|
//#region src/payments/appeal.d.ts
|
|
3374
|
-
declare function fileAppeal(
|
|
4029
|
+
declare function fileAppeal(context: TransportContext, input: {
|
|
3375
4030
|
readonly bearer: string;
|
|
3376
4031
|
readonly body: AppealFileRequest;
|
|
3377
4032
|
}): Promise<AppealFileResponse>;
|
|
3378
|
-
declare function fileAppealPotLeg(
|
|
4033
|
+
declare function fileAppealPotLeg(context: TransportContext, input: {
|
|
3379
4034
|
readonly bearer: string;
|
|
3380
4035
|
readonly body: AppealPotLegFileRequest;
|
|
3381
4036
|
}): Promise<AppealFileResponse>;
|
|
3382
4037
|
//#endregion
|
|
3383
4038
|
//#region src/payments/appeal-room.d.ts
|
|
3384
|
-
declare function getAppealRoom(
|
|
4039
|
+
declare function getAppealRoom(context: TransportContext, input: {
|
|
3385
4040
|
readonly bearer: string;
|
|
3386
4041
|
readonly appealId: string;
|
|
3387
4042
|
}): Promise<AppealRoomView>;
|
|
3388
|
-
declare function postAppealRoomMessage(
|
|
4043
|
+
declare function postAppealRoomMessage(context: TransportContext, input: {
|
|
3389
4044
|
readonly bearer: string;
|
|
3390
4045
|
readonly appealId: string;
|
|
3391
4046
|
readonly body: AppealRoomPostRequest;
|
|
3392
4047
|
}): Promise<AppealRoomPostResponse>;
|
|
3393
|
-
declare function uploadAppealRoomAttachment(
|
|
4048
|
+
declare function uploadAppealRoomAttachment(context: TransportContext, input: {
|
|
3394
4049
|
readonly bearer: string;
|
|
3395
4050
|
readonly appealId: string;
|
|
3396
4051
|
readonly file: Blob | ArrayBufferView | ArrayBuffer;
|
|
@@ -3399,7 +4054,7 @@ declare function uploadAppealRoomAttachment(ctx: TransportContext, input: {
|
|
|
3399
4054
|
}): Promise<UploadAttachmentResponse>;
|
|
3400
4055
|
//#endregion
|
|
3401
4056
|
//#region src/payments/cancel-pot.d.ts
|
|
3402
|
-
declare function cancelPot(
|
|
4057
|
+
declare function cancelPot(context: TransportContext, input: {
|
|
3403
4058
|
readonly appBearer: string;
|
|
3404
4059
|
readonly body: OauthPaymentCancelPotRequest;
|
|
3405
4060
|
}): Promise<OauthPaymentCancelPotResponse>;
|
|
@@ -3408,112 +4063,128 @@ declare function cancelPot(ctx: TransportContext, input: {
|
|
|
3408
4063
|
type ChargeResult = OauthPaymentChargeResponse | ({
|
|
3409
4064
|
status: "monthly_limit_exceeded";
|
|
3410
4065
|
} & Omit<OauthPaymentChargeLimitExceeded, "error">);
|
|
3411
|
-
declare function charge(
|
|
4066
|
+
declare function charge(context: TransportContext, input: {
|
|
3412
4067
|
readonly bearer: string;
|
|
3413
4068
|
readonly body: OauthPaymentChargeRequest;
|
|
3414
4069
|
readonly idempotencyKey?: string;
|
|
3415
4070
|
}): Promise<ChargeResult>;
|
|
3416
4071
|
//#endregion
|
|
3417
4072
|
//#region src/payments/distribute.d.ts
|
|
3418
|
-
declare function distributePot(
|
|
4073
|
+
declare function distributePot(context: TransportContext, input: {
|
|
3419
4074
|
readonly appBearer: string;
|
|
3420
4075
|
readonly body: OauthPaymentDistributeRequest;
|
|
3421
4076
|
}): Promise<OauthPaymentDistributeResponse>;
|
|
3422
4077
|
//#endregion
|
|
3423
4078
|
//#region src/payments/intent.d.ts
|
|
3424
|
-
declare function getPaymentIntent(
|
|
4079
|
+
declare function getPaymentIntent(context: TransportContext, input: {
|
|
3425
4080
|
readonly bearer: string;
|
|
3426
4081
|
readonly intentId: string;
|
|
3427
4082
|
}): Promise<OauthPaymentIntentContext>;
|
|
3428
|
-
declare function signPaymentIntent(
|
|
4083
|
+
declare function signPaymentIntent(context: TransportContext, input: {
|
|
3429
4084
|
readonly bearer: string;
|
|
3430
4085
|
readonly intentId: string;
|
|
3431
4086
|
}): Promise<OauthPaymentIntentSignResponse>;
|
|
3432
|
-
declare function completePaymentIntent(
|
|
4087
|
+
declare function completePaymentIntent(context: TransportContext, input: {
|
|
3433
4088
|
readonly bearer: string;
|
|
3434
4089
|
readonly intentId: string;
|
|
3435
4090
|
readonly body: OauthPaymentIntentComplete;
|
|
3436
4091
|
}): Promise<OauthPaymentIntentResolveResponse>;
|
|
3437
|
-
declare function denyPaymentIntent(
|
|
4092
|
+
declare function denyPaymentIntent(context: TransportContext, input: {
|
|
3438
4093
|
readonly bearer: string;
|
|
3439
4094
|
readonly intentId: string;
|
|
3440
4095
|
}): Promise<OauthPaymentIntentResolveResponse>;
|
|
3441
4096
|
//#endregion
|
|
3442
4097
|
//#region src/payments/limits.d.ts
|
|
3443
|
-
declare function getPaymentLimits(
|
|
4098
|
+
declare function getPaymentLimits(context: TransportContext, input: {
|
|
3444
4099
|
readonly bearer: string;
|
|
3445
4100
|
}): Promise<OauthPaymentLimitsResponse>;
|
|
3446
4101
|
//#endregion
|
|
3447
4102
|
//#region src/payments/moonpay.d.ts
|
|
3448
|
-
declare function getMoonpayAvailability(
|
|
4103
|
+
declare function getMoonpayAvailability(context: TransportContext, input: {
|
|
3449
4104
|
readonly bearer: string;
|
|
3450
4105
|
}): Promise<MoonpayAvailabilityResponse>;
|
|
3451
|
-
declare function mintMoonpayBuyUrl(
|
|
4106
|
+
declare function mintMoonpayBuyUrl(context: TransportContext, input: {
|
|
3452
4107
|
readonly bearer: string;
|
|
3453
4108
|
readonly body: MoonpayBuyUrlRequest;
|
|
3454
4109
|
}): Promise<MoonpayBuyUrlResponse>;
|
|
3455
|
-
declare function mintMoonpaySellUrl(
|
|
4110
|
+
declare function mintMoonpaySellUrl(context: TransportContext, input: {
|
|
3456
4111
|
readonly bearer: string;
|
|
3457
4112
|
readonly body: MoonpaySellUrlRequest;
|
|
3458
4113
|
}): Promise<MoonpaySellUrlResponse>;
|
|
3459
4114
|
//#endregion
|
|
3460
4115
|
//#region src/payments/payout.d.ts
|
|
3461
|
-
declare function requestPayout(
|
|
4116
|
+
declare function requestPayout(context: TransportContext, input: {
|
|
3462
4117
|
readonly appBearer: string;
|
|
3463
4118
|
readonly body: OauthPaymentPayoutRequest;
|
|
3464
4119
|
}): Promise<OauthPaymentPayoutResponse>;
|
|
3465
4120
|
//#endregion
|
|
3466
4121
|
//#region src/payments/price.d.ts
|
|
3467
|
-
declare function getPaymentPrice(
|
|
4122
|
+
declare function getPaymentPrice(context: TransportContext, input: {
|
|
3468
4123
|
readonly bearer: string;
|
|
3469
4124
|
} & GetOauthPaymentsPriceData["query"]): Promise<OauthPaymentPriceResponse>;
|
|
3470
4125
|
//#endregion
|
|
3471
4126
|
//#region src/payments/status.d.ts
|
|
3472
|
-
declare function getIntentStatus(
|
|
4127
|
+
declare function getIntentStatus(context: TransportContext, input: {
|
|
3473
4128
|
readonly bearer: string;
|
|
3474
4129
|
readonly intentId: string;
|
|
3475
4130
|
}): Promise<OauthPaymentIntentStatus>;
|
|
3476
4131
|
//#endregion
|
|
3477
4132
|
//#region src/payments/tron.d.ts
|
|
3478
|
-
declare function getTronBalance(
|
|
4133
|
+
declare function getTronBalance(context: TransportContext, input: {
|
|
3479
4134
|
readonly bearer: string;
|
|
3480
4135
|
}): Promise<TronBalanceResponse>;
|
|
3481
|
-
declare function listTronLedger(
|
|
4136
|
+
declare function listTronLedger(context: TransportContext, input: {
|
|
3482
4137
|
readonly bearer: string;
|
|
3483
4138
|
readonly before?: string;
|
|
3484
4139
|
}): Promise<TronLedgerResponse>;
|
|
3485
|
-
declare function createTronDeposit(
|
|
4140
|
+
declare function createTronDeposit(context: TransportContext, input: {
|
|
3486
4141
|
readonly bearer: string;
|
|
3487
4142
|
readonly body: TronDepositRequest;
|
|
3488
4143
|
}): Promise<TronDepositResponse>;
|
|
3489
|
-
declare function
|
|
4144
|
+
declare function createTronTransfer(context: TransportContext, input: {
|
|
4145
|
+
readonly bearer: string;
|
|
4146
|
+
readonly body: TronTransferRequest;
|
|
4147
|
+
readonly idempotencyKey?: string;
|
|
4148
|
+
}): Promise<TronTransferResponse>;
|
|
4149
|
+
declare function getTronSecurity(context: TransportContext, input: {
|
|
4150
|
+
readonly bearer: string;
|
|
4151
|
+
}): Promise<TronSecuritySetting>;
|
|
4152
|
+
declare function setTronSecurity(context: TransportContext, input: {
|
|
4153
|
+
readonly bearer: string;
|
|
4154
|
+
readonly setting: TronSecuritySetting;
|
|
4155
|
+
}): Promise<TronSecuritySetting>;
|
|
4156
|
+
declare function createTronTransferChallenge(context: TransportContext, input: {
|
|
4157
|
+
readonly bearer: string;
|
|
4158
|
+
readonly body: TronTransferChallengeRequest;
|
|
4159
|
+
}): Promise<TronTransferChallengeResponse>;
|
|
4160
|
+
declare function createTronConnectOnboarding(context: TransportContext, input: {
|
|
3490
4161
|
readonly bearer: string;
|
|
3491
4162
|
}): Promise<TronConnectOnboardingResponse>;
|
|
3492
|
-
declare function createTronCashout(
|
|
4163
|
+
declare function createTronCashout(context: TransportContext, input: {
|
|
3493
4164
|
readonly bearer: string;
|
|
3494
4165
|
readonly body: TronCashoutCreateRequest;
|
|
3495
4166
|
}): Promise<TronCashoutItem>;
|
|
3496
|
-
declare function listTronCashouts(
|
|
4167
|
+
declare function listTronCashouts(context: TransportContext, input: {
|
|
3497
4168
|
readonly bearer: string;
|
|
3498
4169
|
}): Promise<TronCashoutListResponse>;
|
|
3499
4170
|
//#endregion
|
|
3500
4171
|
//#region src/payments/tron-game.d.ts
|
|
3501
|
-
declare function chargeTronPot(
|
|
4172
|
+
declare function chargeTronPot(context: TransportContext, input: {
|
|
3502
4173
|
readonly bearer: string;
|
|
3503
4174
|
readonly idempotencyKey: string;
|
|
3504
4175
|
readonly body: TronChargeRequest;
|
|
3505
4176
|
}): Promise<TronChargeResponse>;
|
|
3506
|
-
declare function chargeTronDirect(
|
|
4177
|
+
declare function chargeTronDirect(context: TransportContext, input: {
|
|
3507
4178
|
readonly bearer: string;
|
|
3508
4179
|
readonly idempotencyKey: string;
|
|
3509
4180
|
readonly body: TronDirectChargeRequest;
|
|
3510
4181
|
}): Promise<TronDirectChargeResponse>;
|
|
3511
|
-
declare function distributeTronPot(
|
|
4182
|
+
declare function distributeTronPot(context: TransportContext, input: {
|
|
3512
4183
|
readonly bearer: string;
|
|
3513
4184
|
readonly idempotencyKey: string;
|
|
3514
4185
|
readonly body: TronDistributeRequest;
|
|
3515
4186
|
}): Promise<TronDistributeResponse>;
|
|
3516
|
-
declare function getTronGameBalance(
|
|
4187
|
+
declare function getTronGameBalance(context: TransportContext, input: {
|
|
3517
4188
|
readonly bearer: string;
|
|
3518
4189
|
}): Promise<TronGameBalanceResponse>;
|
|
3519
4190
|
//#endregion
|
|
@@ -3526,7 +4197,7 @@ type MountPresenceWidgetOptions = {
|
|
|
3526
4197
|
readonly container?: HTMLElement;
|
|
3527
4198
|
readonly onPlaySessionId?: (playSessionId: string | null) => void;
|
|
3528
4199
|
readonly onStatus?: (status: PresenceStatus) => void;
|
|
3529
|
-
readonly onAuthChange?: (
|
|
4200
|
+
readonly onAuthChange?: (isAuthenticated: boolean) => void;
|
|
3530
4201
|
readonly styleIframe?: (iframe: HTMLIFrameElement) => void;
|
|
3531
4202
|
readonly onPresentationChange?: (mode: "chip" | "overlay") => void;
|
|
3532
4203
|
readonly background?: string;
|
|
@@ -3549,46 +4220,46 @@ type ConfirmResponse = {
|
|
|
3549
4220
|
type StatusResponse = {
|
|
3550
4221
|
readonly status: PlaySessionGameStatus;
|
|
3551
4222
|
};
|
|
3552
|
-
declare function confirmPlaySession(
|
|
4223
|
+
declare function confirmPlaySession(context: TransportContext, input: {
|
|
3553
4224
|
readonly credentials: GameHalfCredentials;
|
|
3554
4225
|
readonly playSessionId: string;
|
|
3555
4226
|
readonly userId: string;
|
|
3556
4227
|
}): Promise<ConfirmResponse>;
|
|
3557
|
-
declare function heartbeatPlaySession(
|
|
4228
|
+
declare function heartbeatPlaySession(context: TransportContext, input: {
|
|
3558
4229
|
readonly credentials: GameHalfCredentials;
|
|
3559
4230
|
readonly playSessionId: string;
|
|
3560
4231
|
}): Promise<StatusResponse>;
|
|
3561
|
-
declare function endPlaySession(
|
|
4232
|
+
declare function endPlaySession(context: TransportContext, input: {
|
|
3562
4233
|
readonly credentials: GameHalfCredentials;
|
|
3563
4234
|
readonly playSessionId: string;
|
|
3564
4235
|
}): Promise<StatusResponse>;
|
|
3565
4236
|
//#endregion
|
|
3566
4237
|
//#region src/reads/messaging.d.ts
|
|
3567
|
-
declare function listThreads(
|
|
4238
|
+
declare function listThreads(context: TransportContext, input: {
|
|
3568
4239
|
readonly bearer: string;
|
|
3569
4240
|
readonly limit?: number;
|
|
3570
4241
|
readonly cursor?: string;
|
|
3571
4242
|
}): Promise<ThreadListResponse>;
|
|
3572
|
-
declare function createDirectThread(
|
|
4243
|
+
declare function createDirectThread(context: TransportContext, input: {
|
|
3573
4244
|
readonly bearer: string;
|
|
3574
4245
|
readonly body: CreateDirectThreadBody;
|
|
3575
4246
|
}): Promise<ThreadSummary>;
|
|
3576
|
-
declare function listThreadMessages(
|
|
4247
|
+
declare function listThreadMessages(context: TransportContext, input: {
|
|
3577
4248
|
readonly bearer: string;
|
|
3578
4249
|
readonly threadId: string;
|
|
3579
4250
|
readonly limit?: number;
|
|
3580
4251
|
readonly cursor?: string;
|
|
3581
4252
|
}): Promise<MessagesPageResponse>;
|
|
3582
|
-
declare function sendMessage(
|
|
4253
|
+
declare function sendMessage(context: TransportContext, input: {
|
|
3583
4254
|
readonly bearer: string;
|
|
3584
4255
|
readonly threadId: string;
|
|
3585
4256
|
readonly body: SendMessageBody;
|
|
3586
4257
|
}): Promise<void>;
|
|
3587
|
-
declare function markThreadRead(
|
|
4258
|
+
declare function markThreadRead(context: TransportContext, input: {
|
|
3588
4259
|
readonly bearer: string;
|
|
3589
4260
|
readonly threadId: string;
|
|
3590
4261
|
}): Promise<void>;
|
|
3591
|
-
declare function uploadAttachment(
|
|
4262
|
+
declare function uploadAttachment(context: TransportContext, input: {
|
|
3592
4263
|
readonly bearer: string;
|
|
3593
4264
|
readonly threadId: string;
|
|
3594
4265
|
readonly file: Blob | ArrayBufferView | ArrayBuffer;
|
|
@@ -3597,116 +4268,120 @@ declare function uploadAttachment(ctx: TransportContext, input: {
|
|
|
3597
4268
|
}): Promise<UploadAttachmentResponse>;
|
|
3598
4269
|
//#endregion
|
|
3599
4270
|
//#region src/reads/notifications.d.ts
|
|
3600
|
-
declare function listNotifications(
|
|
4271
|
+
declare function listNotifications(context: TransportContext, input: {
|
|
3601
4272
|
readonly bearer: string;
|
|
3602
4273
|
readonly limit?: number;
|
|
3603
4274
|
readonly cursor?: string;
|
|
3604
4275
|
}): Promise<NotificationListResponse>;
|
|
3605
|
-
declare function updateNotification(
|
|
4276
|
+
declare function updateNotification(context: TransportContext, input: {
|
|
3606
4277
|
readonly bearer: string;
|
|
3607
4278
|
readonly notificationId: string;
|
|
3608
4279
|
readonly body: NotificationUpdate;
|
|
3609
4280
|
}): Promise<void>;
|
|
3610
|
-
declare function markAllNotificationsRead(
|
|
4281
|
+
declare function markAllNotificationsRead(context: TransportContext, input: {
|
|
3611
4282
|
readonly bearer: string;
|
|
3612
4283
|
}): Promise<void>;
|
|
3613
4284
|
//#endregion
|
|
3614
4285
|
//#region src/reads/playtime.d.ts
|
|
3615
|
-
declare function getPlaytime(
|
|
4286
|
+
declare function getPlaytime(context: TransportContext, input: {
|
|
3616
4287
|
readonly bearer: string;
|
|
3617
4288
|
}): Promise<PlaytimeOverview>;
|
|
3618
|
-
declare function getPlaytimeTimeseries(
|
|
4289
|
+
declare function getPlaytimeTimeseries(context: TransportContext, input: {
|
|
3619
4290
|
readonly bearer: string;
|
|
3620
4291
|
readonly days?: number;
|
|
3621
4292
|
}): Promise<PlaytimeTimeseries>;
|
|
3622
4293
|
//#endregion
|
|
3623
4294
|
//#region src/reads/profile.d.ts
|
|
3624
|
-
declare function getPublicProfile(
|
|
4295
|
+
declare function getPublicProfile(context: TransportContext, input: {
|
|
3625
4296
|
readonly bearer?: string;
|
|
3626
4297
|
readonly handle: string;
|
|
3627
4298
|
}): Promise<PublicProfile>;
|
|
3628
|
-
declare function searchUsers(
|
|
4299
|
+
declare function searchUsers(context: TransportContext, input: {
|
|
3629
4300
|
readonly bearer: string;
|
|
3630
4301
|
readonly q: string;
|
|
3631
4302
|
readonly limit?: number;
|
|
3632
4303
|
}): Promise<UserSearchResponse>;
|
|
3633
4304
|
//#endregion
|
|
3634
4305
|
//#region src/reads/referral.d.ts
|
|
3635
|
-
declare function getReferral(
|
|
4306
|
+
declare function getReferral(context: TransportContext, input: {
|
|
3636
4307
|
readonly bearer: string;
|
|
3637
4308
|
}): Promise<ReferralOverview>;
|
|
3638
|
-
declare function createReferralCode(
|
|
4309
|
+
declare function createReferralCode(context: TransportContext, input: {
|
|
3639
4310
|
readonly bearer: string;
|
|
3640
4311
|
readonly regenerate?: boolean;
|
|
3641
4312
|
}): Promise<ReferralCodeResponse>;
|
|
3642
|
-
declare function previewReferral(
|
|
4313
|
+
declare function previewReferral(context: TransportContext, input: {
|
|
3643
4314
|
readonly bearer: string;
|
|
3644
4315
|
readonly code: string;
|
|
3645
4316
|
}): Promise<ReferralPreviewResponse>;
|
|
3646
|
-
declare function bindReferral(
|
|
4317
|
+
declare function bindReferral(context: TransportContext, input: {
|
|
3647
4318
|
readonly bearer: string;
|
|
3648
4319
|
} & ReferralBindRequest): Promise<ReferralBindResponse>;
|
|
3649
4320
|
//#endregion
|
|
3650
4321
|
//#region src/reads/social-graph.d.ts
|
|
3651
|
-
declare function followUser(
|
|
4322
|
+
declare function followUser(context: TransportContext, input: {
|
|
4323
|
+
readonly bearer: string;
|
|
4324
|
+
readonly userId: string;
|
|
4325
|
+
}): Promise<void>;
|
|
4326
|
+
declare function unfollowUser(context: TransportContext, input: {
|
|
3652
4327
|
readonly bearer: string;
|
|
3653
4328
|
readonly userId: string;
|
|
3654
4329
|
}): Promise<void>;
|
|
3655
|
-
declare function
|
|
4330
|
+
declare function sendFriendRequest(context: TransportContext, input: {
|
|
3656
4331
|
readonly bearer: string;
|
|
3657
4332
|
readonly userId: string;
|
|
3658
4333
|
}): Promise<void>;
|
|
3659
|
-
declare function
|
|
4334
|
+
declare function removeFriend(context: TransportContext, input: {
|
|
3660
4335
|
readonly bearer: string;
|
|
3661
4336
|
readonly userId: string;
|
|
3662
4337
|
}): Promise<void>;
|
|
3663
|
-
declare function decideFriendRequest(
|
|
4338
|
+
declare function decideFriendRequest(context: TransportContext, input: {
|
|
3664
4339
|
readonly bearer: string;
|
|
3665
4340
|
readonly requestId: string;
|
|
3666
4341
|
readonly decision: FriendRequestDecision["decision"];
|
|
3667
4342
|
}): Promise<void>;
|
|
3668
|
-
declare function cancelFriendRequest(
|
|
4343
|
+
declare function cancelFriendRequest(context: TransportContext, input: {
|
|
3669
4344
|
readonly bearer: string;
|
|
3670
4345
|
readonly requestId: string;
|
|
3671
4346
|
}): Promise<void>;
|
|
3672
|
-
declare function listFriends(
|
|
4347
|
+
declare function listFriends(context: TransportContext, input: {
|
|
3673
4348
|
readonly bearer: string;
|
|
3674
4349
|
}): Promise<FriendListResponse>;
|
|
3675
4350
|
//#endregion
|
|
3676
4351
|
//#region src/reads/socials.d.ts
|
|
3677
|
-
declare function listSocials(
|
|
4352
|
+
declare function listSocials(context: TransportContext, input: {
|
|
3678
4353
|
readonly bearer: string;
|
|
3679
4354
|
}): Promise<SocialListResponse>;
|
|
3680
4355
|
//#endregion
|
|
3681
4356
|
//#region src/reads/wallets.d.ts
|
|
3682
|
-
declare function listWallets(
|
|
4357
|
+
declare function listWallets(context: TransportContext, input: {
|
|
3683
4358
|
readonly bearer: string;
|
|
3684
4359
|
}): Promise<WalletListResponse>;
|
|
3685
4360
|
//#endregion
|
|
3686
4361
|
//#region src/wallets-mgmt/delegation.d.ts
|
|
3687
|
-
declare function getDelegation(
|
|
4362
|
+
declare function getDelegation(context: TransportContext, input: {
|
|
3688
4363
|
readonly bearer: string;
|
|
3689
4364
|
readonly address: string;
|
|
3690
4365
|
}): Promise<WalletDelegationStatus>;
|
|
3691
|
-
declare function createDelegation(
|
|
4366
|
+
declare function createDelegation(context: TransportContext, input: {
|
|
3692
4367
|
readonly bearer: string;
|
|
3693
4368
|
readonly address: string;
|
|
3694
4369
|
readonly body: CreateWalletDelegation;
|
|
3695
4370
|
}): Promise<CreateWalletDelegationResponse>;
|
|
3696
|
-
declare function deleteDelegation(
|
|
4371
|
+
declare function deleteDelegation(context: TransportContext, input: {
|
|
3697
4372
|
readonly bearer: string;
|
|
3698
4373
|
readonly address: string;
|
|
3699
4374
|
}): Promise<DeleteWalletDelegationResponse>;
|
|
3700
4375
|
//#endregion
|
|
3701
4376
|
//#region src/wallets-mgmt/label.d.ts
|
|
3702
|
-
declare function updateWalletLabel(
|
|
4377
|
+
declare function updateWalletLabel(context: TransportContext, input: {
|
|
3703
4378
|
readonly bearer: string;
|
|
3704
4379
|
readonly address: string;
|
|
3705
4380
|
readonly body: WalletLabelUpdate;
|
|
3706
4381
|
}): Promise<WalletLabelUpdateResponse>;
|
|
3707
4382
|
//#endregion
|
|
3708
4383
|
//#region src/wallets-mgmt/list.d.ts
|
|
3709
|
-
declare function listWalletManager(
|
|
4384
|
+
declare function listWalletManager(context: TransportContext, input: {
|
|
3710
4385
|
readonly bearer: string;
|
|
3711
4386
|
}): Promise<WalletListResponse>;
|
|
3712
4387
|
//#endregion
|
|
@@ -3798,6 +4473,7 @@ declare class TronNodeClient {
|
|
|
3798
4473
|
};
|
|
3799
4474
|
};
|
|
3800
4475
|
subscribeOauthPaymentEvents(lifecycle: OauthPaymentEventsSubscriberLifecycle): OauthPaymentEventsSubscriber;
|
|
4476
|
+
subscribeOauthInventoryEvents(lifecycle: OauthInventoryEventsSubscriberLifecycle): OauthInventoryEventsSubscriber;
|
|
3801
4477
|
get users(): {
|
|
3802
4478
|
get: (input: {
|
|
3803
4479
|
bearer?: string;
|
|
@@ -3919,4 +4595,4 @@ declare class TronNodeClient {
|
|
|
3919
4595
|
};
|
|
3920
4596
|
}
|
|
3921
4597
|
//#endregion
|
|
3922
|
-
export { AppTokenCache, AuthorizeUrl, type BrowserClientConfig, BuildAuthorizeUrlInput, ChargeResult, type FetchLike, GameHalfCredentials, HttpsGuardOptions, InflightDedup, type Logger, MountPresenceWidgetOptions, NOOP_RATE_LIMITER, type NodeClientConfig, OauthErrorCode, OauthPaymentEventsSubscriber, OauthPaymentEventsSubscriberLifecycle, OauthPaymentEventsSubscriberOptions, OauthPaymentWebhookBody, type OauthScope, PkcePair, PlaySessionGameStatus, PresenceStatus, PresenceWidgetHandle, RateLimitOptions, RateLimiter, RequestOptions, SERVER_RATE_LIMIT_MAX_MUTATING, SERVER_RATE_LIMIT_MAX_READ, SERVER_RATE_LIMIT_WINDOW_MS, type SdkBaseConfig, TRON_WS_CLOSE_CODES, type TokenSet, type TokenStore, TransportContext, TronError, TronNodeClient, TronOauthError, TronWsCloseCode, TronWsCloseError, VerifyWebhookFailure, VerifyWebhookInput, VerifyWebhookResult, VerifyWebhookSuccess, WEBHOOK_SIGNATURE_HEADER, WEBHOOK_TIMESTAMP_HEADER, acceptDeveloperInvite, addAdmin, addAppealBlacklist, addReaction, approveTronCashout, assertSecureIssuer, batchThreadDmKeys, bindReferral, buildAuthorizeUrl, cancelFriendRequest, cancelPot, charge, chargeTronDirect, chargeTronPot, completePaymentIntent, confirmPlaySession, consolidateDeveloperAppWallet, createAppTokenCache, createConsoleLogger, createDelegation, createDeveloperApiKey, createDeveloperApp, createDirectThread, createInMemoryTokenStore, createInflightDedup, createNoopLogger, createRateLimiter, createReferralCode, createTronCashout, createTronConnectOnboarding, createTronDeposit, decideFriendRequest, declineDeveloperInvite, defaultEndpoints, deleteAppPageBanner, deleteAppPageThumbnail, deleteAppPageThumbnailVideo, deleteAvatar, deleteDelegation, deleteDeveloperApp, deleteDeveloperAppLogo, deleteDeveloperProfileLogo, deleteDeveloperRequestLogo, deleteGameReviewReply, deleteMessage, deleteMyGameReview, deleteThread, deleteThreadLogo, denyPaymentIntent, distributePot, distributeTronPot, editMessage, endPlaySession, exchangeAuthorizationCode, fetchAuthorizationServerMetadata, fetchUserInfo, fileAppeal, fileAppealPotLeg, followUser, generatePkce, generateState, getActivity, getActivityGroup, getAdminAppealRoom, getAppFeeConfig, getAppPage, getAppPageChanges, getAppealRoom, getDelegation, getDeveloperAppActivity, getDeveloperAppBalances, getDeveloperAppEarnings, getDeveloperAppOverview, getDeveloperAppPage, getDeveloperAppPlaytime, getDeveloperAppTronBalance, getDeveloperAppWallets, getDeveloperPaymentAppeals, getDeveloperPaymentPendingDeposits, getDeveloperStatus, getDeveloperTronBalanceSummary, getDmKeyBackupStatus, getIntentStatus, getLibrary, getMoonpayAvailability, getMyDmKey, getMyGameReview, getOutstanding, getPaymentChains, getPaymentHistory, getPaymentIntent, getPaymentLimits, getPaymentPrice, getPlatformFees, getPlaytime, getPlaytimeTimeseries, getPublicProfile, getReferral, getThreadDmKey, getTronBalance, getTronGameBalance, heartbeatPlaySession, hideAppPage, hideThread, inviteDeveloperAppParticipant, inviteParticipants, leaveThread, listActivePlayers, listAdmins, listAppPages, listAppealBlacklist, listAppealQueue, listAudit, listDeveloperApiKeys, listDeveloperAppContentReports, listDeveloperAppParticipants, listDeveloperAppReviews, listDeveloperInvites, listDeveloperRequests, listDevelopers, listFriends, listGameReviews, listInventory, listInventoryForApp, listNotifications, listPaymentAuthorizations, listSocials, listThreadMessages, listThreads, listTronCashoutQueue, listTronCashouts, listTronLedger, listUsers, listWalletManager, listWallets, markAllNotificationsRead, markThreadRead, mintClientCredentialsToken, mintMoonpayBuyUrl, mintMoonpaySellUrl, mountPresenceWidget, oauthPaymentWebhookBodySchema, parseJson, pinThread, postAdminAppealRoomMessage, postAppealRoomMessage, previewReferral, provisionDeveloperAppWallet, publishDmKey, refreshAccessToken, registerOauthClient, rejectTronCashout, removeAdmin, removeAppealBlacklist, removeParticipant, removeReaction, replyToGameReview, requestDeveloperAppProduction, requestMint, requestPayout, resolveAppeal, reviewAppPage, reviewAppPageChanges, reviewDeveloperRequest, revokeDeveloperApiKey, revokeDeveloperAppParticipant, revokePaymentAuthorization, revokeToken, rotateDeveloperAppKey, rotateDeveloperAppPaymentWebhookSecret, rotateProcessorTreasury, searchGiphy, searchUsers, send, sendFriendRequest, sendJson, sendMessage, sendPresenceHeartbeat, setProcessorWhitelist, setVaultOperator, setVaultPause, setVaultWithdrawLockDefault, setVaultWithdrawLockOverride, setupDmKeyBackup, sha256Base64Url, signPaymentIntent, startOauthPaymentEventsSubscriber, submitAppContentReport, submitAppPageForReview, submitDeveloperRequest, toTokenSet, unfollowUser, unhideAppPage, unlockDmKeyBackup, unpinThread, unpublishAppPage, updateAdminRole, updateAppFeeConfig, updateAppPage, updateDeveloperApp, updateDeveloperAppAutoSweep, updateDeveloperAppContentReportStatus, updateDeveloperProfile, updateNotification, updateParticipantRole, updatePaymentAuthorization, updatePlatformFees, updateProfile, updateThreadSettings, updateUserBan, updateWalletLabel, uploadAdminAppealRoomAttachment, uploadAppPageBanner, uploadAppPageGallery, uploadAppPageThumbnail, uploadAppPageThumbnailVideo, uploadAppealRoomAttachment, uploadAttachment, uploadAvatar, uploadDeveloperAppLogo, uploadDeveloperProfileLogo, uploadDeveloperRequestLogo, uploadMultipart, uploadThreadLogo, upsertMyGameReview, verifyWebhook, withdrawDeveloperAppWallet };
|
|
4598
|
+
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, commentOnGameReview, completePaymentIntent, confirmPlaySession, consolidateDeveloperAppWallet, createAppTokenCache, 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, 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, getDelegation, getDeveloperAppActivity, getDeveloperAppBalances, getDeveloperAppEarnings, getDeveloperAppInventoryItemHolders, getDeveloperAppOverview, getDeveloperAppPage, getDeveloperAppPlaytime, getDeveloperAppTronBalance, getDeveloperAppWallets, getDeveloperPaymentAppeals, getDeveloperPaymentPendingDeposits, getDeveloperStatus, getDeveloperTronBalanceSummary, getDmKeyBackupStatus, getIntentStatus, getLibrary, getMoonpayAvailability, getMyDmKey, getMyGameReview, getMyGameReviewReactions, getOutstanding, getPaymentChains, getPaymentHistory, getPaymentIntent, getPaymentLimits, getPaymentPrice, getPlatformFees, getPlaytime, getPlaytimeTimeseries, getPublicProfile, getReferral, getThreadDmKey, getTronBalance, getTronGameBalance, getTronSecurity, heartbeatPlaySession, hideAppPage, hideThread, inventoryUpdateEventSchema, inviteDeveloperAppParticipant, inviteParticipants, leaveThread, listActivePlayers, listAdmins, listAppPages, listAppealBlacklist, listAppealQueue, listAudit, listDeveloperApiKeys, listDeveloperAppContentReports, listDeveloperAppInventoryCollections, listDeveloperAppInventoryItems, listDeveloperAppParticipants, listDeveloperAppReviews, listDeveloperInvites, listDeveloperRequests, listDevelopers, listFriends, listGameReviewComments, listGameReviews, listInventory, listInventoryForApp, listInventoryMintPermits, listInventoryVaultPermits, listInventoryVaulted, listNotifications, listOauthInventoryVaulted, listPaymentAuthorizations, listSocials, listThreadMessages, listThreads, listTronCashoutQueue, listTronCashouts, listTronLedger, listUsers, listWalletManager, listWallets, markAllNotificationsRead, markThreadRead, mintClientCredentialsToken, mintMoonpayBuyUrl, mintMoonpaySellUrl, mountPresenceWidget, oauthPaymentWebhookBodySchema, parseJson, pinThread, postAdminAppealRoomMessage, postAppealRoomMessage, previewReferral, provisionDeveloperAppWallet, publishDmKey, quoteDeveloperAppInventoryRegistration, quoteNftTransfer, quoteRelayedVaultPermit, redeemInventoryMintPermit, refreshAccessToken, registerDeveloperAppInventoryItem, registerOauthClient, rejectTronCashout, removeAdmin, removeAppealBlacklist, removeFriend, removeParticipant, removeReaction, replyToGameReview, requestDeveloperAppProduction, requestMint, requestPayout, resolveAppeal, reviewAppPage, reviewAppPageChanges, reviewDeveloperRequest, revokeDeveloperApiKey, revokeDeveloperAppParticipant, revokePaymentAuthorization, revokeToken, rotateDeveloperAppKey, rotateDeveloperAppPaymentWebhookSecret, rotateProcessorTreasury, searchGiphy, searchUsers, send, sendFriendRequest, sendJson, sendMessage, sendPresenceHeartbeat, setMyGameReviewReaction, setProcessorWhitelist, setTronSecurity, setVaultOperator, setVaultPause, setVaultWithdrawLockDefault, setVaultWithdrawLockOverride, setupDmKeyBackup, sha256Base64Url, signInventoryVaultPermit, signPaymentIntent, startOauthInventoryEventsSubscriber, startOauthPaymentEventsSubscriber, submitAppContentReport, submitAppPageForReview, submitDeveloperRequest, submitRelayedVaultPermit, tipGameReview, 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, uploadDeveloperAppInventoryItemBanner, uploadDeveloperAppInventoryItemImage, uploadDeveloperAppLogo, uploadDeveloperProfileLogo, uploadDeveloperRequestLogo, uploadMultipart, uploadThreadLogo, upsertMyGameReview, verifyWebhook, withdrawDeveloperAppWallet };
|