@metatrongg/sdk 0.8.0-dev.65a4da4 → 0.8.0-dev.731f2ff
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/LICENSE +1 -0
- package/dist/browser/index.d.ts +426 -216
- package/dist/browser/index.js +1 -1
- package/dist/contracts/index.d.ts +1844 -94
- package/dist/contracts/index.js +1 -1
- package/dist/index.js +1 -1
- package/dist/node/index.d.ts +438 -228
- 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 +113 -113
package/dist/browser/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
|
|
@@ -334,9 +334,16 @@ type PublicAppPage = {
|
|
|
334
334
|
chapters: AppPageChapters;
|
|
335
335
|
links: AppPageLinks;
|
|
336
336
|
studio: PublicAppPageStudio;
|
|
337
|
+
platforms: AppPagePlatforms;
|
|
338
|
+
gameType: AppPageGameType;
|
|
339
|
+
ageRating: AppPageAgeRating;
|
|
340
|
+
languages: AppPageLanguages;
|
|
341
|
+
releaseStatus: AppPageReleaseStatus;
|
|
342
|
+
paymentsMode: AppPagePaymentsMode;
|
|
337
343
|
oauthScopes: Array<string>;
|
|
338
344
|
chains: Array<string>;
|
|
339
345
|
publishedAt: string;
|
|
346
|
+
updatedAt: string;
|
|
340
347
|
};
|
|
341
348
|
type AppPageCategories = Array<"adventure" | "battle_royale" | "board" | "cards" | "casino" | "casual" | "fighting" | "idle" | "mmo" | "moba" | "platformer" | "prediction" | "puzzle" | "racing" | "rhythm" | "roguelike" | "rpg" | "rts" | "sandbox" | "shooter" | "simulation" | "sports" | "strategy" | "survival" | "tools" | "tower_defense" | "visual_novel" | "other">;
|
|
342
349
|
type AppPageTagline = string;
|
|
@@ -359,12 +366,19 @@ type AppPageLink = {
|
|
|
359
366
|
order: number;
|
|
360
367
|
};
|
|
361
368
|
type PublicAppPageStudio = {
|
|
369
|
+
ownerUserId: string | null;
|
|
362
370
|
name: string | null;
|
|
363
371
|
logoUrl: string | null;
|
|
364
372
|
websiteUrl: string | null;
|
|
365
373
|
xHandle: string | null;
|
|
366
374
|
githubUrl: string | null;
|
|
367
375
|
};
|
|
376
|
+
type AppPagePlatforms = Array<"web" | "ios" | "android" | "pc" | "playstation" | "xbox" | "switch">;
|
|
377
|
+
type AppPageGameType = "single_player" | "multiplayer" | "both" | null;
|
|
378
|
+
type AppPageAgeRating = "everyone" | "13_plus" | "16_plus" | "18_plus" | null;
|
|
379
|
+
type AppPageLanguages = Array<"en" | "es" | "fr" | "de" | "pt" | "it" | "ru" | "ja" | "ko" | "zh" | "hi" | "ar" | "tr" | "vi" | "id" | "th" | "pl" | "nl">;
|
|
380
|
+
type AppPageReleaseStatus = "live" | "open_beta" | "coming_soon";
|
|
381
|
+
type AppPagePaymentsMode = "tron" | "onchain" | "both" | null;
|
|
368
382
|
type ReviewListResponse = {
|
|
369
383
|
aggregate: ReviewAggregate;
|
|
370
384
|
reviews: Array<Review>;
|
|
@@ -372,38 +386,49 @@ type ReviewListResponse = {
|
|
|
372
386
|
hasMore: boolean;
|
|
373
387
|
};
|
|
374
388
|
type ReviewAggregate = {
|
|
375
|
-
average: number | null;
|
|
376
389
|
count: number;
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
1: number;
|
|
381
|
-
2: number;
|
|
382
|
-
3: number;
|
|
383
|
-
4: number;
|
|
384
|
-
5: number;
|
|
390
|
+
recommendedCount: number;
|
|
391
|
+
recommendedPct: number | null;
|
|
392
|
+
summaryLabel: ReviewSummaryLabel;
|
|
385
393
|
};
|
|
394
|
+
type ReviewSummaryLabel = "overwhelmingly_positive" | "very_positive" | "positive" | "mostly_positive" | "mixed" | "mostly_negative" | "negative" | "overwhelmingly_negative" | null;
|
|
386
395
|
type Review = {
|
|
387
396
|
id: string;
|
|
388
|
-
|
|
397
|
+
recommended: ReviewRecommended;
|
|
389
398
|
body: ReviewBody;
|
|
399
|
+
reactions: ReviewReactionCounts;
|
|
400
|
+
tippedCents: number;
|
|
401
|
+
commentCount: number;
|
|
390
402
|
author: ReviewAuthor;
|
|
403
|
+
authorStats: ReviewerStats;
|
|
391
404
|
developerReply: ReviewReply;
|
|
392
405
|
createdAt: string;
|
|
393
406
|
updatedAt: string;
|
|
394
407
|
};
|
|
395
|
-
type
|
|
408
|
+
type ReviewRecommended = boolean;
|
|
396
409
|
type ReviewBody = string;
|
|
410
|
+
type ReviewReactionCounts = {
|
|
411
|
+
helpful: number;
|
|
412
|
+
unhelpful: number;
|
|
413
|
+
funny: number;
|
|
414
|
+
};
|
|
397
415
|
type ReviewAuthor = {
|
|
416
|
+
userId: string;
|
|
417
|
+
handle: string | null;
|
|
398
418
|
name: string | null;
|
|
399
419
|
avatarUrl: string | null;
|
|
400
420
|
};
|
|
421
|
+
type ReviewerStats = {
|
|
422
|
+
playtimeSecondsThisGame: number;
|
|
423
|
+
gamesPlayed: number;
|
|
424
|
+
reviewsWritten: number;
|
|
425
|
+
};
|
|
401
426
|
type ReviewReply = {
|
|
402
427
|
body: ReviewReplyBody;
|
|
403
428
|
repliedAt: string;
|
|
404
429
|
} | null;
|
|
405
430
|
type ReviewReplyBody = string;
|
|
406
|
-
type ReviewSort = "newest" | "oldest" | "
|
|
431
|
+
type ReviewSort = "newest" | "oldest" | "helpful";
|
|
407
432
|
type MyReviewResponse = {
|
|
408
433
|
eligible: boolean;
|
|
409
434
|
eligibleVia: ReviewEligibilityReason;
|
|
@@ -413,15 +438,67 @@ type MyReviewResponse = {
|
|
|
413
438
|
type ReviewEligibilityReason = "payment" | "reward" | null;
|
|
414
439
|
type OwnReview = {
|
|
415
440
|
id: string;
|
|
416
|
-
|
|
441
|
+
recommended: ReviewRecommended;
|
|
417
442
|
body: ReviewBody;
|
|
418
443
|
createdAt: string;
|
|
419
444
|
updatedAt: string;
|
|
420
445
|
} | null;
|
|
421
446
|
type UpsertReviewRequest = {
|
|
422
|
-
|
|
447
|
+
recommended: ReviewRecommended;
|
|
423
448
|
body: ReviewBody;
|
|
424
449
|
};
|
|
450
|
+
type MyReviewReactionsResponse = {
|
|
451
|
+
reactions: Array<MyReviewReaction>;
|
|
452
|
+
};
|
|
453
|
+
type MyReviewReaction = {
|
|
454
|
+
reviewId: string;
|
|
455
|
+
vote: ReviewVote;
|
|
456
|
+
funny: boolean;
|
|
457
|
+
};
|
|
458
|
+
type ReviewVote = "helpful" | "unhelpful" | null;
|
|
459
|
+
type SetReviewReactionResponse = {
|
|
460
|
+
reactions: ReviewReactionCounts;
|
|
461
|
+
vote: ReviewVote;
|
|
462
|
+
funny: boolean;
|
|
463
|
+
};
|
|
464
|
+
type SetReviewReactionRequest = {
|
|
465
|
+
vote: ReviewVote;
|
|
466
|
+
funny: boolean;
|
|
467
|
+
};
|
|
468
|
+
type TipReviewResponse = {
|
|
469
|
+
status: "completed";
|
|
470
|
+
amountCents: number;
|
|
471
|
+
balanceCents: number;
|
|
472
|
+
tippedCents: number;
|
|
473
|
+
};
|
|
474
|
+
type TipReviewRequest = {
|
|
475
|
+
amountCents: number;
|
|
476
|
+
note?: string;
|
|
477
|
+
challengeId?: string;
|
|
478
|
+
signature?: string;
|
|
479
|
+
};
|
|
480
|
+
type ReviewCommentListResponse = {
|
|
481
|
+
comments: Array<ReviewComment>;
|
|
482
|
+
total: number;
|
|
483
|
+
hasMore: boolean;
|
|
484
|
+
};
|
|
485
|
+
type ReviewComment = {
|
|
486
|
+
id: string;
|
|
487
|
+
body: ReviewCommentBody;
|
|
488
|
+
author: ReviewAuthor;
|
|
489
|
+
createdAt: string;
|
|
490
|
+
};
|
|
491
|
+
type ReviewCommentBody = string;
|
|
492
|
+
type CreateReviewCommentResponse = {
|
|
493
|
+
comment: ReviewComment;
|
|
494
|
+
commentCount: number;
|
|
495
|
+
};
|
|
496
|
+
type CreateReviewCommentRequest = {
|
|
497
|
+
body: ReviewCommentBody;
|
|
498
|
+
};
|
|
499
|
+
type DeleteReviewCommentResponse = {
|
|
500
|
+
commentCount: number;
|
|
501
|
+
};
|
|
425
502
|
type ReviewReplyResponse = {
|
|
426
503
|
developerReply: ReviewReply;
|
|
427
504
|
};
|
|
@@ -526,6 +603,8 @@ type ActivityRow = ({
|
|
|
526
603
|
} & ActivityRowTronPot) | ({
|
|
527
604
|
kind: "tron_cashout";
|
|
528
605
|
} & ActivityRowTronCashout) | ({
|
|
606
|
+
kind: "tron_transfer";
|
|
607
|
+
} & ActivityRowTronTransfer) | ({
|
|
529
608
|
kind: "referral_earning";
|
|
530
609
|
} & ActivityRowReferralEarning);
|
|
531
610
|
type ActivityRowPayment = {
|
|
@@ -773,6 +852,8 @@ type ActivityRowTronPot = {
|
|
|
773
852
|
role: "incoming" | "outgoing";
|
|
774
853
|
leg: "stake" | "payout" | "dev_cut" | "purchase" | "referral";
|
|
775
854
|
amountCents: number;
|
|
855
|
+
usdCents: number;
|
|
856
|
+
status: "settled";
|
|
776
857
|
app: {
|
|
777
858
|
id: string;
|
|
778
859
|
name: string;
|
|
@@ -780,8 +861,16 @@ type ActivityRowTronPot = {
|
|
|
780
861
|
slug: string | null;
|
|
781
862
|
bannerUrl: string | null;
|
|
782
863
|
} | null;
|
|
864
|
+
involvedUsers?: Array<ActivityTronInvolvedUser> | null;
|
|
783
865
|
metadata?: PaymentMetadata | null;
|
|
784
866
|
};
|
|
867
|
+
type ActivityTronInvolvedUser = {
|
|
868
|
+
userId: string;
|
|
869
|
+
handle: string | null;
|
|
870
|
+
displayName: string | null;
|
|
871
|
+
role: "stake" | "payout" | "dev_cut" | "purchase" | "referral";
|
|
872
|
+
amountCents: number;
|
|
873
|
+
};
|
|
785
874
|
type ActivityRowTronCashout = {
|
|
786
875
|
kind: "tron_cashout";
|
|
787
876
|
groupId: string | null;
|
|
@@ -799,6 +888,20 @@ type ActivityRowTronCashout = {
|
|
|
799
888
|
rejectionReason: string | null;
|
|
800
889
|
settledAt: string | null;
|
|
801
890
|
};
|
|
891
|
+
type ActivityRowTronTransfer = {
|
|
892
|
+
kind: "tron_transfer";
|
|
893
|
+
groupId: string | null;
|
|
894
|
+
id: string;
|
|
895
|
+
occurredAt: string;
|
|
896
|
+
role: "incoming" | "outgoing";
|
|
897
|
+
amountCents: number;
|
|
898
|
+
usdCents: number;
|
|
899
|
+
status: "settled";
|
|
900
|
+
counterpartyUserId: string | null;
|
|
901
|
+
counterpartyHandle: string | null;
|
|
902
|
+
counterpartyDisplayName: string | null;
|
|
903
|
+
note: string | null;
|
|
904
|
+
};
|
|
802
905
|
type ActivityRowReferralEarning = {
|
|
803
906
|
kind: "referral_earning";
|
|
804
907
|
groupId: string | null;
|
|
@@ -864,7 +967,7 @@ type TronLedgerResponse = {
|
|
|
864
967
|
};
|
|
865
968
|
type TronLedgerEntry = {
|
|
866
969
|
id: string;
|
|
867
|
-
kind: "deposit" | "pot_stake" | "pot_payout" | "dev_earning" | "cashout_hold" | "cashout_release" | "dispute_freeze" | "dispute_unfreeze" | "hosted_billing" | "store_purchase" | "referral_earning";
|
|
970
|
+
kind: "deposit" | "pot_stake" | "pot_payout" | "dev_earning" | "cashout_hold" | "cashout_release" | "dispute_freeze" | "dispute_unfreeze" | "hosted_billing" | "store_purchase" | "referral_earning" | "peer_transfer";
|
|
868
971
|
amountCents: number;
|
|
869
972
|
currency: string;
|
|
870
973
|
createdAt: string;
|
|
@@ -879,6 +982,45 @@ type TronDepositResponse = {
|
|
|
879
982
|
type TronDepositRequest = {
|
|
880
983
|
amountCents: number;
|
|
881
984
|
};
|
|
985
|
+
type TronTransferResponse = {
|
|
986
|
+
status: "completed";
|
|
987
|
+
amountCents: number;
|
|
988
|
+
balanceCents: number;
|
|
989
|
+
recipient: {
|
|
990
|
+
userId: string;
|
|
991
|
+
handle: string | null;
|
|
992
|
+
displayName: string | null;
|
|
993
|
+
};
|
|
994
|
+
};
|
|
995
|
+
type TronTransferRequest = {
|
|
996
|
+
recipientUserId: string;
|
|
997
|
+
amountCents: number;
|
|
998
|
+
note?: string;
|
|
999
|
+
challengeId?: string;
|
|
1000
|
+
signature?: string;
|
|
1001
|
+
threadId?: string;
|
|
1002
|
+
};
|
|
1003
|
+
type TronSecuritySetting = {
|
|
1004
|
+
requireSignature: boolean;
|
|
1005
|
+
};
|
|
1006
|
+
type TronTransferChallengeResponse = ({
|
|
1007
|
+
required: false;
|
|
1008
|
+
} & TronTransferChallengeNotRequired) | ({
|
|
1009
|
+
required: true;
|
|
1010
|
+
} & TronTransferChallengeRequired);
|
|
1011
|
+
type TronTransferChallengeNotRequired = {
|
|
1012
|
+
required: false;
|
|
1013
|
+
};
|
|
1014
|
+
type TronTransferChallengeRequired = {
|
|
1015
|
+
required: true;
|
|
1016
|
+
challengeId: string;
|
|
1017
|
+
message: string;
|
|
1018
|
+
expiresAt: string;
|
|
1019
|
+
};
|
|
1020
|
+
type TronTransferChallengeRequest = {
|
|
1021
|
+
recipientUserId: string;
|
|
1022
|
+
amountCents: number;
|
|
1023
|
+
};
|
|
882
1024
|
type TronConnectOnboardingResponse = {
|
|
883
1025
|
url: string;
|
|
884
1026
|
};
|
|
@@ -1045,6 +1187,7 @@ type ThreadLastMessagePreview = {
|
|
|
1045
1187
|
url: string;
|
|
1046
1188
|
count: number;
|
|
1047
1189
|
} | null;
|
|
1190
|
+
transaction?: MessageTransaction;
|
|
1048
1191
|
sentAt: string;
|
|
1049
1192
|
} | null;
|
|
1050
1193
|
type MessageEnvelope = {
|
|
@@ -1056,6 +1199,11 @@ type MessageEnvelope = {
|
|
|
1056
1199
|
iv: string;
|
|
1057
1200
|
ct: string;
|
|
1058
1201
|
} | null;
|
|
1202
|
+
type MessageTransaction = {
|
|
1203
|
+
kind: "tron_transfer";
|
|
1204
|
+
amountCents: number;
|
|
1205
|
+
recipientUserId: string;
|
|
1206
|
+
} | null;
|
|
1059
1207
|
type GroupThreadSummary = {
|
|
1060
1208
|
kind: "group";
|
|
1061
1209
|
id: string;
|
|
@@ -1102,6 +1250,7 @@ type MessageItem = {
|
|
|
1102
1250
|
id: string;
|
|
1103
1251
|
threadId: string;
|
|
1104
1252
|
senderUserId: string;
|
|
1253
|
+
transaction?: MessageTransaction;
|
|
1105
1254
|
body: string;
|
|
1106
1255
|
envelope?: MessageEnvelope;
|
|
1107
1256
|
sentAt: string;
|
|
@@ -1500,7 +1649,7 @@ type ProfileRecentReview = {
|
|
|
1500
1649
|
appId: string;
|
|
1501
1650
|
appName: string;
|
|
1502
1651
|
appLogoUrl: string | null;
|
|
1503
|
-
|
|
1652
|
+
recommended: boolean;
|
|
1504
1653
|
body: string;
|
|
1505
1654
|
createdAt: string;
|
|
1506
1655
|
};
|
|
@@ -1856,6 +2005,11 @@ type AppPageDraft = {
|
|
|
1856
2005
|
gallery: AppPageGallery;
|
|
1857
2006
|
chapters: AppPageChapters;
|
|
1858
2007
|
links: AppPageLinks;
|
|
2008
|
+
platforms: AppPagePlatforms;
|
|
2009
|
+
gameType: AppPageGameType;
|
|
2010
|
+
ageRating: AppPageAgeRating;
|
|
2011
|
+
languages: AppPageLanguages;
|
|
2012
|
+
releaseStatus: AppPageReleaseStatus;
|
|
1859
2013
|
firstPublishedAt: string | null;
|
|
1860
2014
|
reviewedAt: string | null;
|
|
1861
2015
|
reviewNotes: string | null;
|
|
@@ -1878,6 +2032,11 @@ type UpdateAppPage = {
|
|
|
1878
2032
|
gallery?: AppPageGallery;
|
|
1879
2033
|
chapters?: AppPageChapters;
|
|
1880
2034
|
links?: AppPageLinks;
|
|
2035
|
+
platforms?: AppPagePlatforms;
|
|
2036
|
+
gameType?: AppPageGameType;
|
|
2037
|
+
ageRating?: AppPageAgeRating;
|
|
2038
|
+
languages?: AppPageLanguages;
|
|
2039
|
+
releaseStatus?: AppPageReleaseStatus;
|
|
1881
2040
|
};
|
|
1882
2041
|
type AppPageGalleryUploadResponse = {
|
|
1883
2042
|
url: string;
|
|
@@ -2285,229 +2444,229 @@ type PostMeDeveloperAppsByAppIdPageThumbnailVideoResponses = {
|
|
|
2285
2444
|
type PostMeDeveloperAppsByAppIdPageThumbnailVideoResponse = PostMeDeveloperAppsByAppIdPageThumbnailVideoResponses[keyof PostMeDeveloperAppsByAppIdPageThumbnailVideoResponses];
|
|
2286
2445
|
//#endregion
|
|
2287
2446
|
//#region src/account/avatar.d.ts
|
|
2288
|
-
declare function uploadAvatar(
|
|
2447
|
+
declare function uploadAvatar(context: TransportContext, input: {
|
|
2289
2448
|
readonly bearer: string;
|
|
2290
2449
|
readonly file: Blob | ArrayBufferView | ArrayBuffer;
|
|
2291
2450
|
readonly filename: string;
|
|
2292
2451
|
readonly contentType: string;
|
|
2293
2452
|
}): Promise<AuthUser>;
|
|
2294
|
-
declare function deleteAvatar(
|
|
2453
|
+
declare function deleteAvatar(context: TransportContext, input: {
|
|
2295
2454
|
readonly bearer: string;
|
|
2296
2455
|
}): Promise<AuthUser>;
|
|
2297
2456
|
//#endregion
|
|
2298
2457
|
//#region src/account/giphy.d.ts
|
|
2299
|
-
declare function searchGiphy(
|
|
2458
|
+
declare function searchGiphy(context: TransportContext, input: {
|
|
2300
2459
|
readonly bearer: string;
|
|
2301
2460
|
readonly q: string;
|
|
2302
2461
|
}): Promise<GiphySearchResponse>;
|
|
2303
2462
|
//#endregion
|
|
2304
2463
|
//#region src/account/payment-authorizations.d.ts
|
|
2305
|
-
declare function listPaymentAuthorizations(
|
|
2464
|
+
declare function listPaymentAuthorizations(context: TransportContext, input: {
|
|
2306
2465
|
readonly bearer: string;
|
|
2307
2466
|
}): Promise<ListAppPaymentAuthorizationsResponse>;
|
|
2308
|
-
declare function updatePaymentAuthorization(
|
|
2467
|
+
declare function updatePaymentAuthorization(context: TransportContext, input: {
|
|
2309
2468
|
readonly bearer: string;
|
|
2310
2469
|
readonly consentId: string;
|
|
2311
2470
|
readonly body: UpdateAppPaymentAuthorization;
|
|
2312
2471
|
}): Promise<void>;
|
|
2313
|
-
declare function revokePaymentAuthorization(
|
|
2472
|
+
declare function revokePaymentAuthorization(context: TransportContext, input: {
|
|
2314
2473
|
readonly bearer: string;
|
|
2315
2474
|
readonly consentId: string;
|
|
2316
2475
|
}): Promise<void>;
|
|
2317
2476
|
//#endregion
|
|
2318
2477
|
//#region src/account/presence-heartbeat.d.ts
|
|
2319
|
-
declare function sendPresenceHeartbeat(
|
|
2478
|
+
declare function sendPresenceHeartbeat(context: TransportContext, input: {
|
|
2320
2479
|
readonly bearer: string;
|
|
2321
2480
|
}): Promise<WebPresenceHeartbeatAck>;
|
|
2322
2481
|
//#endregion
|
|
2323
2482
|
//#region src/account/profile.d.ts
|
|
2324
|
-
declare function updateProfile(
|
|
2483
|
+
declare function updateProfile(context: TransportContext, input: {
|
|
2325
2484
|
readonly bearer: string;
|
|
2326
2485
|
readonly body: ProfileUpdate;
|
|
2327
2486
|
}): Promise<AuthUser>;
|
|
2328
2487
|
//#endregion
|
|
2329
2488
|
//#region src/admin/active-players.d.ts
|
|
2330
|
-
declare function listActivePlayers(
|
|
2489
|
+
declare function listActivePlayers(context: TransportContext, input: {
|
|
2331
2490
|
readonly bearer: string;
|
|
2332
2491
|
}): Promise<AdminActivePlayersResponse>;
|
|
2333
2492
|
//#endregion
|
|
2334
2493
|
//#region src/admin/app-pages.d.ts
|
|
2335
|
-
declare function listAppPages(
|
|
2494
|
+
declare function listAppPages(context: TransportContext, input: {
|
|
2336
2495
|
readonly bearer: string;
|
|
2337
2496
|
readonly status?: "draft" | "pending_review" | "published" | "hidden" | "all" | "pending_changes";
|
|
2338
2497
|
}): Promise<AdminAppPageListResponse>;
|
|
2339
|
-
declare function getAppPageChanges(
|
|
2498
|
+
declare function getAppPageChanges(context: TransportContext, input: {
|
|
2340
2499
|
readonly bearer: string;
|
|
2341
2500
|
readonly appId: string;
|
|
2342
2501
|
}): Promise<AdminAppPageDiffResponse>;
|
|
2343
|
-
declare function reviewAppPageChanges(
|
|
2502
|
+
declare function reviewAppPageChanges(context: TransportContext, input: {
|
|
2344
2503
|
readonly bearer: string;
|
|
2345
2504
|
readonly appId: string;
|
|
2346
2505
|
readonly body: ReviewAppPage;
|
|
2347
2506
|
}): Promise<AdminAppPageStatusResponse>;
|
|
2348
|
-
declare function hideAppPage(
|
|
2507
|
+
declare function hideAppPage(context: TransportContext, input: {
|
|
2349
2508
|
readonly bearer: string;
|
|
2350
2509
|
readonly appId: string;
|
|
2351
2510
|
readonly body: HideAppPage;
|
|
2352
2511
|
}): Promise<AdminAppPageStatusResponse>;
|
|
2353
|
-
declare function unhideAppPage(
|
|
2512
|
+
declare function unhideAppPage(context: TransportContext, input: {
|
|
2354
2513
|
readonly bearer: string;
|
|
2355
2514
|
readonly appId: string;
|
|
2356
2515
|
}): Promise<AdminAppPageStatusResponse>;
|
|
2357
|
-
declare function reviewAppPage(
|
|
2516
|
+
declare function reviewAppPage(context: TransportContext, input: {
|
|
2358
2517
|
readonly bearer: string;
|
|
2359
2518
|
readonly appId: string;
|
|
2360
2519
|
readonly body: ReviewAppPage;
|
|
2361
2520
|
}): Promise<AdminAppPageStatusResponse>;
|
|
2362
2521
|
//#endregion
|
|
2363
2522
|
//#region src/admin/appeals.d.ts
|
|
2364
|
-
declare function listAppealQueue(
|
|
2523
|
+
declare function listAppealQueue(context: TransportContext, input: {
|
|
2365
2524
|
readonly bearer: string;
|
|
2366
2525
|
readonly statuses?: readonly AppealStatusRow["status"][];
|
|
2367
2526
|
readonly chain?: string;
|
|
2368
2527
|
readonly cursorFiledAt?: string;
|
|
2369
2528
|
readonly limit?: number;
|
|
2370
2529
|
}): Promise<ListAppealsResponse>;
|
|
2371
|
-
declare function getAdminAppealRoom(
|
|
2530
|
+
declare function getAdminAppealRoom(context: TransportContext, input: {
|
|
2372
2531
|
readonly bearer: string;
|
|
2373
2532
|
readonly appealId: string;
|
|
2374
2533
|
}): Promise<AppealRoomView>;
|
|
2375
|
-
declare function postAdminAppealRoomMessage(
|
|
2534
|
+
declare function postAdminAppealRoomMessage(context: TransportContext, input: {
|
|
2376
2535
|
readonly bearer: string;
|
|
2377
2536
|
readonly appealId: string;
|
|
2378
2537
|
readonly body: AppealRoomPostRequest;
|
|
2379
2538
|
}): Promise<AppealRoomPostResponse>;
|
|
2380
|
-
declare function uploadAdminAppealRoomAttachment(
|
|
2539
|
+
declare function uploadAdminAppealRoomAttachment(context: TransportContext, input: {
|
|
2381
2540
|
readonly bearer: string;
|
|
2382
2541
|
readonly appealId: string;
|
|
2383
2542
|
readonly file: Blob | ArrayBufferView | ArrayBuffer;
|
|
2384
2543
|
readonly filename: string;
|
|
2385
2544
|
readonly contentType: string;
|
|
2386
2545
|
}): Promise<UploadAttachmentResponse>;
|
|
2387
|
-
declare function resolveAppeal(
|
|
2546
|
+
declare function resolveAppeal(context: TransportContext, input: {
|
|
2388
2547
|
readonly bearer: string;
|
|
2389
2548
|
readonly appealId: string;
|
|
2390
2549
|
readonly body: AppealResolveRequest;
|
|
2391
2550
|
}): Promise<AppealResolveSignedResponse>;
|
|
2392
2551
|
//#endregion
|
|
2393
2552
|
//#region src/admin/developers.d.ts
|
|
2394
|
-
declare function listDeveloperRequests(
|
|
2553
|
+
declare function listDeveloperRequests(context: TransportContext, input: {
|
|
2395
2554
|
readonly bearer: string;
|
|
2396
2555
|
readonly status?: "pending" | "approved" | "rejected" | "cancelled";
|
|
2397
2556
|
readonly kind?: "role" | "production";
|
|
2398
2557
|
}): Promise<ListDeveloperRequestsResponse>;
|
|
2399
|
-
declare function reviewDeveloperRequest(
|
|
2558
|
+
declare function reviewDeveloperRequest(context: TransportContext, input: {
|
|
2400
2559
|
readonly bearer: string;
|
|
2401
2560
|
readonly id: string;
|
|
2402
2561
|
readonly body: ReviewDeveloperRequest;
|
|
2403
2562
|
}): Promise<ReviewDeveloperRequestResponse>;
|
|
2404
|
-
declare function listDevelopers(
|
|
2563
|
+
declare function listDevelopers(context: TransportContext, input: {
|
|
2405
2564
|
readonly bearer: string;
|
|
2406
2565
|
}): Promise<AdminDeveloperListResponse>;
|
|
2407
2566
|
//#endregion
|
|
2408
2567
|
//#region src/admin/payments.d.ts
|
|
2409
|
-
declare function getPlatformFees(
|
|
2568
|
+
declare function getPlatformFees(context: TransportContext, input: {
|
|
2410
2569
|
readonly bearer: string;
|
|
2411
2570
|
}): Promise<PlatformFeesResponse>;
|
|
2412
|
-
declare function updatePlatformFees(
|
|
2571
|
+
declare function updatePlatformFees(context: TransportContext, input: {
|
|
2413
2572
|
readonly bearer: string;
|
|
2414
2573
|
readonly body: UpdatePlatformFeesRequest;
|
|
2415
2574
|
}): Promise<UpdatePlatformFeesResponse>;
|
|
2416
|
-
declare function getAppFeeConfig(
|
|
2575
|
+
declare function getAppFeeConfig(context: TransportContext, input: {
|
|
2417
2576
|
readonly bearer: string;
|
|
2418
2577
|
readonly appId: string;
|
|
2419
2578
|
}): Promise<AppFeeConfigResponse>;
|
|
2420
|
-
declare function updateAppFeeConfig(
|
|
2579
|
+
declare function updateAppFeeConfig(context: TransportContext, input: {
|
|
2421
2580
|
readonly bearer: string;
|
|
2422
2581
|
readonly appId: string;
|
|
2423
2582
|
readonly body: UpdateAppFeeConfigRequest;
|
|
2424
2583
|
}): Promise<AppFeeConfigResponse>;
|
|
2425
|
-
declare function setProcessorWhitelist(
|
|
2584
|
+
declare function setProcessorWhitelist(context: TransportContext, input: {
|
|
2426
2585
|
readonly bearer: string;
|
|
2427
2586
|
readonly body: SetProcessorWhitelistRequest;
|
|
2428
2587
|
}): Promise<CalldataEnvelope>;
|
|
2429
|
-
declare function rotateProcessorTreasury(
|
|
2588
|
+
declare function rotateProcessorTreasury(context: TransportContext, input: {
|
|
2430
2589
|
readonly bearer: string;
|
|
2431
2590
|
readonly processorId: string;
|
|
2432
2591
|
readonly body: RotateProcessorTreasuryRequest;
|
|
2433
2592
|
}): Promise<CalldataEnvelope>;
|
|
2434
|
-
declare function setVaultOperator(
|
|
2593
|
+
declare function setVaultOperator(context: TransportContext, input: {
|
|
2435
2594
|
readonly bearer: string;
|
|
2436
2595
|
readonly vaultAddress: string;
|
|
2437
2596
|
readonly body: SetOperatorRequest;
|
|
2438
2597
|
}): Promise<CalldataEnvelope>;
|
|
2439
|
-
declare function setVaultPause(
|
|
2598
|
+
declare function setVaultPause(context: TransportContext, input: {
|
|
2440
2599
|
readonly bearer: string;
|
|
2441
2600
|
readonly vaultAddress: string;
|
|
2442
2601
|
readonly body: PauseRequest;
|
|
2443
2602
|
}): Promise<CalldataEnvelope>;
|
|
2444
|
-
declare function setVaultWithdrawLockDefault(
|
|
2603
|
+
declare function setVaultWithdrawLockDefault(context: TransportContext, input: {
|
|
2445
2604
|
readonly bearer: string;
|
|
2446
2605
|
readonly vaultAddress: string;
|
|
2447
2606
|
readonly body: SetDefaultWithdrawLockRequest;
|
|
2448
2607
|
}): Promise<CalldataEnvelope>;
|
|
2449
|
-
declare function setVaultWithdrawLockOverride(
|
|
2608
|
+
declare function setVaultWithdrawLockOverride(context: TransportContext, input: {
|
|
2450
2609
|
readonly bearer: string;
|
|
2451
2610
|
readonly vaultAddress: string;
|
|
2452
2611
|
readonly body: SetWithdrawLockOverrideRequest;
|
|
2453
2612
|
}): Promise<CalldataEnvelope>;
|
|
2454
|
-
declare function addAppealBlacklist(
|
|
2613
|
+
declare function addAppealBlacklist(context: TransportContext, input: {
|
|
2455
2614
|
readonly bearer: string;
|
|
2456
2615
|
readonly body: AppealBlacklistAddRequest;
|
|
2457
2616
|
}): Promise<AppealBlacklistEntry>;
|
|
2458
|
-
declare function removeAppealBlacklist(
|
|
2617
|
+
declare function removeAppealBlacklist(context: TransportContext, input: {
|
|
2459
2618
|
readonly bearer: string;
|
|
2460
2619
|
readonly body: AppealBlacklistRemoveRequest;
|
|
2461
2620
|
}): Promise<AppealBlacklistRemoveResponse>;
|
|
2462
|
-
declare function listAppealBlacklist(
|
|
2621
|
+
declare function listAppealBlacklist(context: TransportContext, input: {
|
|
2463
2622
|
readonly bearer: string;
|
|
2464
2623
|
readonly chain?: string;
|
|
2465
2624
|
}): Promise<AppealBlacklistListResponse>;
|
|
2466
2625
|
//#endregion
|
|
2467
2626
|
//#region src/admin/tron-cashouts.d.ts
|
|
2468
|
-
declare function listTronCashoutQueue(
|
|
2627
|
+
declare function listTronCashoutQueue(context: TransportContext, input: {
|
|
2469
2628
|
readonly bearer: string;
|
|
2470
2629
|
readonly status?: AdminTronCashoutItem["status"];
|
|
2471
2630
|
}): Promise<AdminTronCashoutListResponse>;
|
|
2472
|
-
declare function approveTronCashout(
|
|
2631
|
+
declare function approveTronCashout(context: TransportContext, input: {
|
|
2473
2632
|
readonly bearer: string;
|
|
2474
2633
|
readonly id: string;
|
|
2475
2634
|
}): Promise<AdminTronCashoutItem>;
|
|
2476
|
-
declare function rejectTronCashout(
|
|
2635
|
+
declare function rejectTronCashout(context: TransportContext, input: {
|
|
2477
2636
|
readonly bearer: string;
|
|
2478
2637
|
readonly id: string;
|
|
2479
2638
|
readonly body: AdminTronCashoutRejectRequest;
|
|
2480
2639
|
}): Promise<AdminTronCashoutItem>;
|
|
2481
2640
|
//#endregion
|
|
2482
2641
|
//#region src/admin/users.d.ts
|
|
2483
|
-
declare function listAdmins(
|
|
2642
|
+
declare function listAdmins(context: TransportContext, input: {
|
|
2484
2643
|
readonly bearer: string;
|
|
2485
2644
|
}): Promise<ListAdminsResponse>;
|
|
2486
|
-
declare function addAdmin(
|
|
2645
|
+
declare function addAdmin(context: TransportContext, input: {
|
|
2487
2646
|
readonly bearer: string;
|
|
2488
2647
|
readonly body: AddAdminRequest;
|
|
2489
2648
|
}): Promise<AdminMutationResponse>;
|
|
2490
|
-
declare function updateAdminRole(
|
|
2649
|
+
declare function updateAdminRole(context: TransportContext, input: {
|
|
2491
2650
|
readonly bearer: string;
|
|
2492
2651
|
readonly id: string;
|
|
2493
2652
|
readonly body: UpdateAdminRoleRequest;
|
|
2494
2653
|
}): Promise<AdminRoleChangeResponse>;
|
|
2495
|
-
declare function removeAdmin(
|
|
2654
|
+
declare function removeAdmin(context: TransportContext, input: {
|
|
2496
2655
|
readonly bearer: string;
|
|
2497
2656
|
readonly id: string;
|
|
2498
2657
|
}): Promise<AdminMutationResponse>;
|
|
2499
|
-
declare function listUsers(
|
|
2658
|
+
declare function listUsers(context: TransportContext, input: {
|
|
2500
2659
|
readonly bearer: string;
|
|
2501
2660
|
readonly search?: string;
|
|
2502
2661
|
readonly offset?: number;
|
|
2503
2662
|
readonly limit?: number;
|
|
2504
2663
|
}): Promise<AdminUserListResponse>;
|
|
2505
|
-
declare function updateUserBan(
|
|
2664
|
+
declare function updateUserBan(context: TransportContext, input: {
|
|
2506
2665
|
readonly bearer: string;
|
|
2507
2666
|
readonly id: string;
|
|
2508
2667
|
readonly body: AdminUserBanRequest;
|
|
2509
2668
|
}): Promise<AdminUserBanResponse>;
|
|
2510
|
-
declare function listAudit(
|
|
2669
|
+
declare function listAudit(context: TransportContext, input: {
|
|
2511
2670
|
readonly bearer: string;
|
|
2512
2671
|
readonly action?: string;
|
|
2513
2672
|
readonly actorId?: string;
|
|
@@ -2518,20 +2677,20 @@ declare function listAudit(ctx: TransportContext, input: {
|
|
|
2518
2677
|
}): Promise<AdminAuditListResponse>;
|
|
2519
2678
|
//#endregion
|
|
2520
2679
|
//#region src/catalog/app-page.d.ts
|
|
2521
|
-
declare function getAppPage(
|
|
2680
|
+
declare function getAppPage(context: TransportContext, input: {
|
|
2522
2681
|
readonly bearer?: string;
|
|
2523
2682
|
readonly slug: string;
|
|
2524
2683
|
}): Promise<PublicAppPage>;
|
|
2525
2684
|
//#endregion
|
|
2526
2685
|
//#region src/catalog/content-reports.d.ts
|
|
2527
|
-
declare function submitAppContentReport(
|
|
2686
|
+
declare function submitAppContentReport(context: TransportContext, input: {
|
|
2528
2687
|
readonly appId: string;
|
|
2529
2688
|
readonly bearer: string;
|
|
2530
2689
|
readonly report: SubmitAppContentReportRequest;
|
|
2531
2690
|
}): Promise<SubmitAppContentReportResponse>;
|
|
2532
2691
|
//#endregion
|
|
2533
2692
|
//#region src/catalog/library.d.ts
|
|
2534
|
-
declare function getLibrary(
|
|
2693
|
+
declare function getLibrary(context: TransportContext, input: {
|
|
2535
2694
|
readonly bearer?: string;
|
|
2536
2695
|
readonly genre?: string;
|
|
2537
2696
|
readonly q?: string;
|
|
@@ -2540,40 +2699,75 @@ declare function getLibrary(ctx: TransportContext, input: {
|
|
|
2540
2699
|
}): Promise<LibraryListResponse>;
|
|
2541
2700
|
//#endregion
|
|
2542
2701
|
//#region src/catalog/reviews.d.ts
|
|
2543
|
-
declare function listGameReviews(
|
|
2702
|
+
declare function listGameReviews(context: TransportContext, input: {
|
|
2544
2703
|
readonly slug: string;
|
|
2545
2704
|
readonly bearer?: string;
|
|
2546
2705
|
readonly sort?: ReviewSort;
|
|
2547
2706
|
readonly limit?: number;
|
|
2548
2707
|
readonly offset?: number;
|
|
2549
2708
|
}): Promise<ReviewListResponse>;
|
|
2550
|
-
declare function listDeveloperAppReviews(
|
|
2709
|
+
declare function listDeveloperAppReviews(context: TransportContext, input: {
|
|
2551
2710
|
readonly appId: string;
|
|
2552
2711
|
readonly bearer: string;
|
|
2553
2712
|
readonly sort?: ReviewSort;
|
|
2554
2713
|
readonly limit?: number;
|
|
2555
2714
|
readonly offset?: number;
|
|
2556
2715
|
}): Promise<ReviewListResponse>;
|
|
2557
|
-
declare function getMyGameReview(
|
|
2716
|
+
declare function getMyGameReview(context: TransportContext, input: {
|
|
2558
2717
|
readonly slug: string;
|
|
2559
2718
|
readonly bearer: string;
|
|
2560
2719
|
}): Promise<MyReviewResponse>;
|
|
2561
|
-
declare function upsertMyGameReview(
|
|
2720
|
+
declare function upsertMyGameReview(context: TransportContext, input: {
|
|
2562
2721
|
readonly slug: string;
|
|
2563
2722
|
readonly bearer: string;
|
|
2564
2723
|
readonly review: UpsertReviewRequest;
|
|
2565
2724
|
}): Promise<MyReviewResponse>;
|
|
2566
|
-
declare function deleteMyGameReview(
|
|
2725
|
+
declare function deleteMyGameReview(context: TransportContext, input: {
|
|
2567
2726
|
readonly slug: string;
|
|
2568
2727
|
readonly bearer: string;
|
|
2569
2728
|
}): Promise<MyReviewResponse>;
|
|
2570
|
-
declare function
|
|
2729
|
+
declare function getMyGameReviewReactions(context: TransportContext, input: {
|
|
2730
|
+
readonly slug: string;
|
|
2731
|
+
readonly bearer: string;
|
|
2732
|
+
}): Promise<MyReviewReactionsResponse>;
|
|
2733
|
+
declare function setMyGameReviewReaction(context: TransportContext, input: {
|
|
2734
|
+
readonly slug: string;
|
|
2735
|
+
readonly reviewId: string;
|
|
2736
|
+
readonly bearer: string;
|
|
2737
|
+
readonly reaction: SetReviewReactionRequest;
|
|
2738
|
+
}): Promise<SetReviewReactionResponse>;
|
|
2739
|
+
declare function tipGameReview(context: TransportContext, input: {
|
|
2740
|
+
readonly slug: string;
|
|
2741
|
+
readonly reviewId: string;
|
|
2742
|
+
readonly bearer: string;
|
|
2743
|
+
readonly tip: TipReviewRequest;
|
|
2744
|
+
readonly idempotencyKey?: string;
|
|
2745
|
+
}): Promise<TipReviewResponse>;
|
|
2746
|
+
declare function listGameReviewComments(context: TransportContext, input: {
|
|
2747
|
+
readonly slug: string;
|
|
2748
|
+
readonly reviewId: string;
|
|
2749
|
+
readonly bearer?: string;
|
|
2750
|
+
readonly limit?: number;
|
|
2751
|
+
readonly offset?: number;
|
|
2752
|
+
}): Promise<ReviewCommentListResponse>;
|
|
2753
|
+
declare function commentOnGameReview(context: TransportContext, input: {
|
|
2754
|
+
readonly slug: string;
|
|
2755
|
+
readonly reviewId: string;
|
|
2756
|
+
readonly bearer: string;
|
|
2757
|
+
readonly comment: CreateReviewCommentRequest;
|
|
2758
|
+
}): Promise<CreateReviewCommentResponse>;
|
|
2759
|
+
declare function deleteGameReviewComment(context: TransportContext, input: {
|
|
2760
|
+
readonly slug: string;
|
|
2761
|
+
readonly commentId: string;
|
|
2762
|
+
readonly bearer: string;
|
|
2763
|
+
}): Promise<DeleteReviewCommentResponse>;
|
|
2764
|
+
declare function replyToGameReview(context: TransportContext, input: {
|
|
2571
2765
|
readonly appId: string;
|
|
2572
2766
|
readonly reviewId: string;
|
|
2573
2767
|
readonly bearer: string;
|
|
2574
2768
|
readonly reply: UpsertReviewReplyRequest;
|
|
2575
2769
|
}): Promise<ReviewReplyResponse>;
|
|
2576
|
-
declare function deleteGameReviewReply(
|
|
2770
|
+
declare function deleteGameReviewReply(context: TransportContext, input: {
|
|
2577
2771
|
readonly appId: string;
|
|
2578
2772
|
readonly reviewId: string;
|
|
2579
2773
|
readonly bearer: string;
|
|
@@ -2617,7 +2811,7 @@ declare function createConsoleLogger(prefix?: string): Logger;
|
|
|
2617
2811
|
declare function createInMemoryTokenStore(): TokenStore;
|
|
2618
2812
|
//#endregion
|
|
2619
2813
|
//#region src/dashboard/activity.d.ts
|
|
2620
|
-
declare function getActivity(
|
|
2814
|
+
declare function getActivity(context: TransportContext, input: {
|
|
2621
2815
|
readonly bearer: string;
|
|
2622
2816
|
readonly kind?: string;
|
|
2623
2817
|
readonly direction?: "outgoing" | "incoming";
|
|
@@ -2628,24 +2822,24 @@ declare function getActivity(ctx: TransportContext, input: {
|
|
|
2628
2822
|
readonly before?: string;
|
|
2629
2823
|
readonly includeInactive?: boolean;
|
|
2630
2824
|
}): Promise<ActivityResponse>;
|
|
2631
|
-
declare function getActivityGroup(
|
|
2825
|
+
declare function getActivityGroup(context: TransportContext, input: {
|
|
2632
2826
|
readonly bearer: string;
|
|
2633
2827
|
readonly groupId: string;
|
|
2634
2828
|
}): Promise<ActivityResponse>;
|
|
2635
2829
|
//#endregion
|
|
2636
2830
|
//#region src/dashboard/chains.d.ts
|
|
2637
|
-
declare function getPaymentChains(
|
|
2831
|
+
declare function getPaymentChains(context: TransportContext, input: {
|
|
2638
2832
|
readonly bearer: string;
|
|
2639
2833
|
}): Promise<PaymentChainsResponse>;
|
|
2640
2834
|
//#endregion
|
|
2641
2835
|
//#region src/dashboard/outstanding.d.ts
|
|
2642
|
-
declare function getOutstanding(
|
|
2836
|
+
declare function getOutstanding(context: TransportContext, input: {
|
|
2643
2837
|
readonly bearer: string;
|
|
2644
2838
|
readonly chain?: string;
|
|
2645
2839
|
}): Promise<OutstandingResponse>;
|
|
2646
2840
|
//#endregion
|
|
2647
2841
|
//#region src/dashboard/payment-history.d.ts
|
|
2648
|
-
declare function getPaymentHistory(
|
|
2842
|
+
declare function getPaymentHistory(context: TransportContext, input: {
|
|
2649
2843
|
readonly bearer: string;
|
|
2650
2844
|
readonly status?: "pending" | "completed" | "expired" | "all";
|
|
2651
2845
|
readonly limit?: number;
|
|
@@ -2653,52 +2847,52 @@ declare function getPaymentHistory(ctx: TransportContext, input: {
|
|
|
2653
2847
|
}): Promise<PaymentHistoryResponse>;
|
|
2654
2848
|
//#endregion
|
|
2655
2849
|
//#region src/developer/api-keys.d.ts
|
|
2656
|
-
declare function createDeveloperApiKey(
|
|
2850
|
+
declare function createDeveloperApiKey(context: TransportContext, input: {
|
|
2657
2851
|
readonly bearer: string;
|
|
2658
2852
|
readonly body: CreateDeveloperApiKey;
|
|
2659
2853
|
}): Promise<CreateDeveloperApiKeyResponse>;
|
|
2660
|
-
declare function listDeveloperApiKeys(
|
|
2854
|
+
declare function listDeveloperApiKeys(context: TransportContext, input: {
|
|
2661
2855
|
readonly bearer: string;
|
|
2662
2856
|
}): Promise<DeveloperApiKeysResponse>;
|
|
2663
|
-
declare function revokeDeveloperApiKey(
|
|
2857
|
+
declare function revokeDeveloperApiKey(context: TransportContext, input: {
|
|
2664
2858
|
readonly bearer: string;
|
|
2665
2859
|
readonly id: string;
|
|
2666
2860
|
}): Promise<DeveloperOkResponse>;
|
|
2667
2861
|
//#endregion
|
|
2668
2862
|
//#region src/developer/apps.d.ts
|
|
2669
|
-
declare function createDeveloperApp(
|
|
2863
|
+
declare function createDeveloperApp(context: TransportContext, input: {
|
|
2670
2864
|
readonly bearer: string;
|
|
2671
2865
|
readonly body: CreateDeveloperApp;
|
|
2672
2866
|
}): Promise<DeveloperAppIdResponse>;
|
|
2673
|
-
declare function updateDeveloperApp(
|
|
2867
|
+
declare function updateDeveloperApp(context: TransportContext, input: {
|
|
2674
2868
|
readonly bearer: string;
|
|
2675
2869
|
readonly id: string;
|
|
2676
2870
|
readonly body: UpdateDeveloperApp;
|
|
2677
2871
|
}): Promise<DeveloperAppIdResponse>;
|
|
2678
|
-
declare function deleteDeveloperApp(
|
|
2872
|
+
declare function deleteDeveloperApp(context: TransportContext, input: {
|
|
2679
2873
|
readonly bearer: string;
|
|
2680
2874
|
readonly id: string;
|
|
2681
2875
|
}): Promise<DeveloperAppIdResponse>;
|
|
2682
|
-
declare function uploadDeveloperAppLogo(
|
|
2876
|
+
declare function uploadDeveloperAppLogo(context: TransportContext, input: {
|
|
2683
2877
|
readonly bearer: string;
|
|
2684
2878
|
readonly id: string;
|
|
2685
2879
|
readonly file: Blob | ArrayBufferView | ArrayBuffer;
|
|
2686
2880
|
readonly filename: string;
|
|
2687
2881
|
readonly contentType: string;
|
|
2688
2882
|
}): Promise<DeveloperLogoUploadResponse>;
|
|
2689
|
-
declare function deleteDeveloperAppLogo(
|
|
2883
|
+
declare function deleteDeveloperAppLogo(context: TransportContext, input: {
|
|
2690
2884
|
readonly bearer: string;
|
|
2691
2885
|
readonly id: string;
|
|
2692
2886
|
}): Promise<DeveloperLogoUploadResponse>;
|
|
2693
|
-
declare function getDeveloperAppBalances(
|
|
2887
|
+
declare function getDeveloperAppBalances(context: TransportContext, input: {
|
|
2694
2888
|
readonly bearer: string;
|
|
2695
2889
|
readonly id: string;
|
|
2696
2890
|
}): Promise<DeveloperAppBalancesResponse>;
|
|
2697
|
-
declare function getDeveloperAppTronBalance(
|
|
2891
|
+
declare function getDeveloperAppTronBalance(context: TransportContext, input: {
|
|
2698
2892
|
readonly bearer: string;
|
|
2699
2893
|
readonly id: string;
|
|
2700
2894
|
}): Promise<DeveloperAppTronBalanceResponse>;
|
|
2701
|
-
declare function getDeveloperAppActivity(
|
|
2895
|
+
declare function getDeveloperAppActivity(context: TransportContext, input: {
|
|
2702
2896
|
readonly bearer: string;
|
|
2703
2897
|
readonly id: string;
|
|
2704
2898
|
readonly kind?: string;
|
|
@@ -2709,80 +2903,80 @@ declare function getDeveloperAppActivity(ctx: TransportContext, input: {
|
|
|
2709
2903
|
readonly cursor?: string;
|
|
2710
2904
|
readonly before?: string;
|
|
2711
2905
|
}): Promise<ActivityResponse>;
|
|
2712
|
-
declare function getDeveloperAppEarnings(
|
|
2906
|
+
declare function getDeveloperAppEarnings(context: TransportContext, input: {
|
|
2713
2907
|
readonly bearer: string;
|
|
2714
2908
|
readonly id: string;
|
|
2715
2909
|
readonly range?: string;
|
|
2716
2910
|
readonly chain?: string;
|
|
2717
2911
|
}): Promise<DeveloperAppEarningsResponse>;
|
|
2718
|
-
declare function getDeveloperAppPlaytime(
|
|
2912
|
+
declare function getDeveloperAppPlaytime(context: TransportContext, input: {
|
|
2719
2913
|
readonly bearer: string;
|
|
2720
2914
|
readonly id: string;
|
|
2721
2915
|
readonly range?: string;
|
|
2722
2916
|
}): Promise<DeveloperAppPlaytimeResponse>;
|
|
2723
|
-
declare function getDeveloperAppOverview(
|
|
2917
|
+
declare function getDeveloperAppOverview(context: TransportContext, input: {
|
|
2724
2918
|
readonly bearer: string;
|
|
2725
2919
|
readonly id: string;
|
|
2726
2920
|
}): Promise<DeveloperAppOverviewResponse>;
|
|
2727
|
-
declare function getDeveloperAppWallets(
|
|
2921
|
+
declare function getDeveloperAppWallets(context: TransportContext, input: {
|
|
2728
2922
|
readonly bearer: string;
|
|
2729
2923
|
readonly id: string;
|
|
2730
2924
|
}): Promise<DeveloperAppWalletsResponse>;
|
|
2731
|
-
declare function updateDeveloperAppAutoSweep(
|
|
2925
|
+
declare function updateDeveloperAppAutoSweep(context: TransportContext, input: {
|
|
2732
2926
|
readonly bearer: string;
|
|
2733
2927
|
readonly id: string;
|
|
2734
2928
|
readonly chain: string;
|
|
2735
2929
|
readonly body: DeveloperAppAutoSweepRequest;
|
|
2736
2930
|
}): Promise<DeveloperAppAutoSweepResponse>;
|
|
2737
|
-
declare function provisionDeveloperAppWallet(
|
|
2931
|
+
declare function provisionDeveloperAppWallet(context: TransportContext, input: {
|
|
2738
2932
|
readonly bearer: string;
|
|
2739
2933
|
readonly id: string;
|
|
2740
2934
|
readonly chain: string;
|
|
2741
2935
|
}): Promise<DeveloperAppProvisionWalletResponse>;
|
|
2742
|
-
declare function withdrawDeveloperAppWallet(
|
|
2936
|
+
declare function withdrawDeveloperAppWallet(context: TransportContext, input: {
|
|
2743
2937
|
readonly bearer: string;
|
|
2744
2938
|
readonly id: string;
|
|
2745
2939
|
readonly chain: string;
|
|
2746
2940
|
readonly token?: string;
|
|
2747
2941
|
}): Promise<DeveloperAppWithdrawResponse>;
|
|
2748
|
-
declare function consolidateDeveloperAppWallet(
|
|
2942
|
+
declare function consolidateDeveloperAppWallet(context: TransportContext, input: {
|
|
2749
2943
|
readonly bearer: string;
|
|
2750
2944
|
readonly id: string;
|
|
2751
2945
|
readonly chain: string;
|
|
2752
2946
|
}): Promise<DeveloperAppConsolidateResponse>;
|
|
2753
|
-
declare function rotateDeveloperAppKey(
|
|
2947
|
+
declare function rotateDeveloperAppKey(context: TransportContext, input: {
|
|
2754
2948
|
readonly bearer: string;
|
|
2755
2949
|
readonly id: string;
|
|
2756
2950
|
readonly env: "development" | "production";
|
|
2757
2951
|
}): Promise<RegenerateDeveloperAppKeyResponse>;
|
|
2758
|
-
declare function requestDeveloperAppProduction(
|
|
2952
|
+
declare function requestDeveloperAppProduction(context: TransportContext, input: {
|
|
2759
2953
|
readonly bearer: string;
|
|
2760
2954
|
readonly id: string;
|
|
2761
2955
|
readonly body: CreateDeveloperProductionRequest;
|
|
2762
2956
|
}): Promise<CreateDeveloperProductionRequestResponse>;
|
|
2763
|
-
declare function rotateDeveloperAppPaymentWebhookSecret(
|
|
2957
|
+
declare function rotateDeveloperAppPaymentWebhookSecret(context: TransportContext, input: {
|
|
2764
2958
|
readonly bearer: string;
|
|
2765
2959
|
readonly id: string;
|
|
2766
2960
|
}): Promise<RegenerateDeveloperAppWebhookSecretResponse>;
|
|
2767
|
-
declare function getDeveloperPaymentAppeals(
|
|
2961
|
+
declare function getDeveloperPaymentAppeals(context: TransportContext, input: {
|
|
2768
2962
|
readonly bearer: string;
|
|
2769
2963
|
readonly chain?: string;
|
|
2770
2964
|
}): Promise<DevAppealsResponse>;
|
|
2771
|
-
declare function getDeveloperPaymentPendingDeposits(
|
|
2965
|
+
declare function getDeveloperPaymentPendingDeposits(context: TransportContext, input: {
|
|
2772
2966
|
readonly bearer: string;
|
|
2773
2967
|
readonly chain?: string;
|
|
2774
2968
|
}): Promise<DevPendingDepositsResponse>;
|
|
2775
|
-
declare function getDeveloperTronBalanceSummary(
|
|
2969
|
+
declare function getDeveloperTronBalanceSummary(context: TransportContext, input: {
|
|
2776
2970
|
readonly bearer: string;
|
|
2777
2971
|
}): Promise<DeveloperTronBalanceSummaryResponse>;
|
|
2778
|
-
declare function listDeveloperAppContentReports(
|
|
2972
|
+
declare function listDeveloperAppContentReports(context: TransportContext, input: {
|
|
2779
2973
|
readonly bearer: string;
|
|
2780
2974
|
readonly id: string;
|
|
2781
2975
|
readonly status?: AppContentReportStatus;
|
|
2782
2976
|
readonly limit?: number;
|
|
2783
2977
|
readonly offset?: number;
|
|
2784
2978
|
}): Promise<AppContentReportListResponse>;
|
|
2785
|
-
declare function updateDeveloperAppContentReportStatus(
|
|
2979
|
+
declare function updateDeveloperAppContentReportStatus(context: TransportContext, input: {
|
|
2786
2980
|
readonly bearer: string;
|
|
2787
2981
|
readonly id: string;
|
|
2788
2982
|
readonly reportId: string;
|
|
@@ -2790,122 +2984,122 @@ declare function updateDeveloperAppContentReportStatus(ctx: TransportContext, in
|
|
|
2790
2984
|
}): Promise<AppContentReport>;
|
|
2791
2985
|
//#endregion
|
|
2792
2986
|
//#region src/developer/pages.d.ts
|
|
2793
|
-
declare function getDeveloperAppPage(
|
|
2987
|
+
declare function getDeveloperAppPage(context: TransportContext, input: {
|
|
2794
2988
|
readonly bearer: string;
|
|
2795
2989
|
readonly appId: string;
|
|
2796
2990
|
}): Promise<AppPageDraft>;
|
|
2797
|
-
declare function updateAppPage(
|
|
2991
|
+
declare function updateAppPage(context: TransportContext, input: {
|
|
2798
2992
|
readonly bearer: string;
|
|
2799
2993
|
readonly appId: string;
|
|
2800
2994
|
readonly body: UpdateAppPage;
|
|
2801
2995
|
}): Promise<AppPageDraft>;
|
|
2802
|
-
declare function uploadAppPageBanner(
|
|
2996
|
+
declare function uploadAppPageBanner(context: TransportContext, input: {
|
|
2803
2997
|
readonly bearer: string;
|
|
2804
2998
|
readonly appId: string;
|
|
2805
2999
|
readonly file: Blob | ArrayBufferView | ArrayBuffer;
|
|
2806
3000
|
readonly filename: string;
|
|
2807
3001
|
readonly contentType: string;
|
|
2808
3002
|
}): Promise<PostMeDeveloperAppsByAppIdPageBannerResponse>;
|
|
2809
|
-
declare function deleteAppPageBanner(
|
|
3003
|
+
declare function deleteAppPageBanner(context: TransportContext, input: {
|
|
2810
3004
|
readonly bearer: string;
|
|
2811
3005
|
readonly appId: string;
|
|
2812
3006
|
}): Promise<void>;
|
|
2813
|
-
declare function uploadAppPageThumbnail(
|
|
3007
|
+
declare function uploadAppPageThumbnail(context: TransportContext, input: {
|
|
2814
3008
|
readonly bearer: string;
|
|
2815
3009
|
readonly appId: string;
|
|
2816
3010
|
readonly file: Blob | ArrayBufferView | ArrayBuffer;
|
|
2817
3011
|
readonly filename: string;
|
|
2818
3012
|
readonly contentType: string;
|
|
2819
3013
|
}): Promise<PostMeDeveloperAppsByAppIdPageThumbnailResponse>;
|
|
2820
|
-
declare function deleteAppPageThumbnail(
|
|
3014
|
+
declare function deleteAppPageThumbnail(context: TransportContext, input: {
|
|
2821
3015
|
readonly bearer: string;
|
|
2822
3016
|
readonly appId: string;
|
|
2823
3017
|
}): Promise<void>;
|
|
2824
|
-
declare function uploadAppPageThumbnailVideo(
|
|
3018
|
+
declare function uploadAppPageThumbnailVideo(context: TransportContext, input: {
|
|
2825
3019
|
readonly bearer: string;
|
|
2826
3020
|
readonly appId: string;
|
|
2827
3021
|
readonly file: Blob | ArrayBufferView | ArrayBuffer;
|
|
2828
3022
|
readonly filename: string;
|
|
2829
3023
|
readonly contentType: string;
|
|
2830
3024
|
}): Promise<PostMeDeveloperAppsByAppIdPageThumbnailVideoResponse>;
|
|
2831
|
-
declare function deleteAppPageThumbnailVideo(
|
|
3025
|
+
declare function deleteAppPageThumbnailVideo(context: TransportContext, input: {
|
|
2832
3026
|
readonly bearer: string;
|
|
2833
3027
|
readonly appId: string;
|
|
2834
3028
|
}): Promise<void>;
|
|
2835
|
-
declare function uploadAppPageGallery(
|
|
3029
|
+
declare function uploadAppPageGallery(context: TransportContext, input: {
|
|
2836
3030
|
readonly bearer: string;
|
|
2837
3031
|
readonly appId: string;
|
|
2838
3032
|
readonly file: Blob | ArrayBufferView | ArrayBuffer;
|
|
2839
3033
|
readonly filename: string;
|
|
2840
3034
|
readonly contentType: string;
|
|
2841
3035
|
}): Promise<AppPageGalleryUploadResponse>;
|
|
2842
|
-
declare function submitAppPageForReview(
|
|
3036
|
+
declare function submitAppPageForReview(context: TransportContext, input: {
|
|
2843
3037
|
readonly bearer: string;
|
|
2844
3038
|
readonly appId: string;
|
|
2845
3039
|
}): Promise<AppPageDraft>;
|
|
2846
|
-
declare function unpublishAppPage(
|
|
3040
|
+
declare function unpublishAppPage(context: TransportContext, input: {
|
|
2847
3041
|
readonly bearer: string;
|
|
2848
3042
|
readonly appId: string;
|
|
2849
3043
|
}): Promise<AppPageDraft>;
|
|
2850
3044
|
//#endregion
|
|
2851
3045
|
//#region src/developer/participants.d.ts
|
|
2852
|
-
declare function listDeveloperAppParticipants(
|
|
3046
|
+
declare function listDeveloperAppParticipants(context: TransportContext, input: {
|
|
2853
3047
|
readonly bearer: string;
|
|
2854
3048
|
readonly id: string;
|
|
2855
3049
|
}): Promise<DeveloperAppParticipantsResponse>;
|
|
2856
|
-
declare function inviteDeveloperAppParticipant(
|
|
3050
|
+
declare function inviteDeveloperAppParticipant(context: TransportContext, input: {
|
|
2857
3051
|
readonly bearer: string;
|
|
2858
3052
|
readonly id: string;
|
|
2859
3053
|
readonly body: InviteDeveloperAppParticipant;
|
|
2860
3054
|
}): Promise<DeveloperAppParticipantsResponse>;
|
|
2861
|
-
declare function revokeDeveloperAppParticipant(
|
|
3055
|
+
declare function revokeDeveloperAppParticipant(context: TransportContext, input: {
|
|
2862
3056
|
readonly bearer: string;
|
|
2863
3057
|
readonly id: string;
|
|
2864
3058
|
readonly userId: string;
|
|
2865
3059
|
}): Promise<DeveloperOkResponse>;
|
|
2866
|
-
declare function listDeveloperInvites(
|
|
3060
|
+
declare function listDeveloperInvites(context: TransportContext, input: {
|
|
2867
3061
|
readonly bearer: string;
|
|
2868
3062
|
}): Promise<DeveloperInvitesResponse>;
|
|
2869
|
-
declare function acceptDeveloperInvite(
|
|
3063
|
+
declare function acceptDeveloperInvite(context: TransportContext, input: {
|
|
2870
3064
|
readonly bearer: string;
|
|
2871
3065
|
readonly appId: string;
|
|
2872
3066
|
}): Promise<DeveloperOkResponse>;
|
|
2873
|
-
declare function declineDeveloperInvite(
|
|
3067
|
+
declare function declineDeveloperInvite(context: TransportContext, input: {
|
|
2874
3068
|
readonly bearer: string;
|
|
2875
3069
|
readonly appId: string;
|
|
2876
3070
|
}): Promise<DeveloperOkResponse>;
|
|
2877
3071
|
//#endregion
|
|
2878
3072
|
//#region src/developer/profile.d.ts
|
|
2879
|
-
declare function getDeveloperStatus(
|
|
3073
|
+
declare function getDeveloperStatus(context: TransportContext, input: {
|
|
2880
3074
|
readonly bearer: string;
|
|
2881
3075
|
}): Promise<DeveloperMeStatus>;
|
|
2882
|
-
declare function updateDeveloperProfile(
|
|
3076
|
+
declare function updateDeveloperProfile(context: TransportContext, input: {
|
|
2883
3077
|
readonly bearer: string;
|
|
2884
3078
|
readonly body: UpdateDeveloperProfile;
|
|
2885
3079
|
}): Promise<DeveloperOkResponse>;
|
|
2886
|
-
declare function uploadDeveloperProfileLogo(
|
|
3080
|
+
declare function uploadDeveloperProfileLogo(context: TransportContext, input: {
|
|
2887
3081
|
readonly bearer: string;
|
|
2888
3082
|
readonly file: Blob | ArrayBufferView | ArrayBuffer;
|
|
2889
3083
|
readonly filename: string;
|
|
2890
3084
|
readonly contentType: string;
|
|
2891
3085
|
}): Promise<DeveloperLogoUploadResponse>;
|
|
2892
|
-
declare function deleteDeveloperProfileLogo(
|
|
3086
|
+
declare function deleteDeveloperProfileLogo(context: TransportContext, input: {
|
|
2893
3087
|
readonly bearer: string;
|
|
2894
3088
|
}): Promise<DeveloperLogoUploadResponse>;
|
|
2895
|
-
declare function submitDeveloperRequest(
|
|
3089
|
+
declare function submitDeveloperRequest(context: TransportContext, input: {
|
|
2896
3090
|
readonly bearer: string;
|
|
2897
3091
|
readonly body: CreateDeveloperRoleRequest;
|
|
2898
3092
|
}): Promise<DeveloperOkResponse>;
|
|
2899
|
-
declare function uploadDeveloperRequestLogo(
|
|
3093
|
+
declare function uploadDeveloperRequestLogo(context: TransportContext, input: {
|
|
2900
3094
|
readonly bearer: string;
|
|
2901
3095
|
readonly file: Blob | ArrayBufferView | ArrayBuffer;
|
|
2902
3096
|
readonly filename: string;
|
|
2903
3097
|
readonly contentType: string;
|
|
2904
3098
|
}): Promise<DeveloperLogoUploadResponse>;
|
|
2905
|
-
declare function deleteDeveloperRequestLogo(
|
|
3099
|
+
declare function deleteDeveloperRequestLogo(context: TransportContext, input: {
|
|
2906
3100
|
readonly bearer: string;
|
|
2907
3101
|
}): Promise<DeveloperLogoUploadResponse>;
|
|
2908
|
-
declare function uploadMultipart(
|
|
3102
|
+
declare function uploadMultipart(context: TransportContext, input: {
|
|
2909
3103
|
readonly path: string;
|
|
2910
3104
|
readonly bearer: string;
|
|
2911
3105
|
readonly file: Blob | ArrayBufferView | ArrayBuffer;
|
|
@@ -2914,81 +3108,81 @@ declare function uploadMultipart(ctx: TransportContext, input: {
|
|
|
2914
3108
|
}): Promise<unknown>;
|
|
2915
3109
|
//#endregion
|
|
2916
3110
|
//#region src/inventory/list.d.ts
|
|
2917
|
-
declare function listInventory(
|
|
3111
|
+
declare function listInventory(context: TransportContext, input: {
|
|
2918
3112
|
readonly bearer: string;
|
|
2919
3113
|
}): Promise<InventoryListResponse>;
|
|
2920
|
-
declare function listInventoryForApp(
|
|
3114
|
+
declare function listInventoryForApp(context: TransportContext, input: {
|
|
2921
3115
|
readonly bearer: string;
|
|
2922
3116
|
}): Promise<InventoryListResponse>;
|
|
2923
3117
|
//#endregion
|
|
2924
3118
|
//#region src/inventory/request-mint.d.ts
|
|
2925
|
-
declare function requestMint(
|
|
3119
|
+
declare function requestMint(context: TransportContext, input: {
|
|
2926
3120
|
readonly appBearer: string;
|
|
2927
3121
|
readonly body: MintRequestInput;
|
|
2928
3122
|
}): Promise<MintRequestResult>;
|
|
2929
3123
|
//#endregion
|
|
2930
3124
|
//#region src/messaging/dm-key-backup.d.ts
|
|
2931
|
-
declare function getDmKeyBackupStatus(
|
|
3125
|
+
declare function getDmKeyBackupStatus(context: TransportContext, input: {
|
|
2932
3126
|
readonly bearer: string;
|
|
2933
3127
|
}): Promise<DmKeyBackupStatusResponse>;
|
|
2934
|
-
declare function setupDmKeyBackup(
|
|
3128
|
+
declare function setupDmKeyBackup(context: TransportContext, input: {
|
|
2935
3129
|
readonly bearer: string;
|
|
2936
3130
|
readonly body: DmKeyBackupSetupBody;
|
|
2937
3131
|
}): Promise<DmKeyBackupOkResponse>;
|
|
2938
|
-
declare function unlockDmKeyBackup(
|
|
3132
|
+
declare function unlockDmKeyBackup(context: TransportContext, input: {
|
|
2939
3133
|
readonly bearer: string;
|
|
2940
3134
|
readonly body: DmKeyBackupUnlockBody;
|
|
2941
3135
|
}): Promise<DmKeyBackupUnlockResponse>;
|
|
2942
3136
|
//#endregion
|
|
2943
3137
|
//#region src/messaging/dm-keys.d.ts
|
|
2944
|
-
declare function publishDmKey(
|
|
3138
|
+
declare function publishDmKey(context: TransportContext, input: {
|
|
2945
3139
|
readonly bearer: string;
|
|
2946
3140
|
readonly body: PublishDmKeyBody;
|
|
2947
3141
|
}): Promise<DmKeyResponse>;
|
|
2948
|
-
declare function getMyDmKey(
|
|
3142
|
+
declare function getMyDmKey(context: TransportContext, input: {
|
|
2949
3143
|
readonly bearer: string;
|
|
2950
3144
|
}): Promise<DmKeyResponse | null>;
|
|
2951
|
-
declare function getThreadDmKey(
|
|
3145
|
+
declare function getThreadDmKey(context: TransportContext, input: {
|
|
2952
3146
|
readonly bearer: string;
|
|
2953
3147
|
readonly threadId: string;
|
|
2954
3148
|
}): Promise<DmKeyResponse>;
|
|
2955
|
-
declare function batchThreadDmKeys(
|
|
3149
|
+
declare function batchThreadDmKeys(context: TransportContext, input: {
|
|
2956
3150
|
readonly bearer: string;
|
|
2957
3151
|
readonly threadIds: readonly string[];
|
|
2958
3152
|
}): Promise<BatchThreadDmKeysResponse>;
|
|
2959
3153
|
//#endregion
|
|
2960
3154
|
//#region src/messaging/logo.d.ts
|
|
2961
|
-
declare function uploadThreadLogo(
|
|
3155
|
+
declare function uploadThreadLogo(context: TransportContext, input: {
|
|
2962
3156
|
readonly bearer: string;
|
|
2963
3157
|
readonly threadId: string;
|
|
2964
3158
|
readonly file: Blob | ArrayBufferView | ArrayBuffer;
|
|
2965
3159
|
readonly filename: string;
|
|
2966
3160
|
readonly contentType: string;
|
|
2967
3161
|
}): Promise<GroupThreadMutationResponse>;
|
|
2968
|
-
declare function deleteThreadLogo(
|
|
3162
|
+
declare function deleteThreadLogo(context: TransportContext, input: {
|
|
2969
3163
|
readonly bearer: string;
|
|
2970
3164
|
readonly threadId: string;
|
|
2971
3165
|
}): Promise<GroupThreadMutationResponse>;
|
|
2972
3166
|
//#endregion
|
|
2973
3167
|
//#region src/messaging/messages.d.ts
|
|
2974
|
-
declare function deleteMessage(
|
|
3168
|
+
declare function deleteMessage(context: TransportContext, input: {
|
|
2975
3169
|
readonly bearer: string;
|
|
2976
3170
|
readonly threadId: string;
|
|
2977
3171
|
readonly messageId: string;
|
|
2978
3172
|
}): Promise<MessagingOkResponse>;
|
|
2979
|
-
declare function editMessage(
|
|
3173
|
+
declare function editMessage(context: TransportContext, input: {
|
|
2980
3174
|
readonly bearer: string;
|
|
2981
3175
|
readonly threadId: string;
|
|
2982
3176
|
readonly messageId: string;
|
|
2983
3177
|
readonly body: EditMessageBody;
|
|
2984
3178
|
}): Promise<MessageItem>;
|
|
2985
|
-
declare function addReaction(
|
|
3179
|
+
declare function addReaction(context: TransportContext, input: {
|
|
2986
3180
|
readonly bearer: string;
|
|
2987
3181
|
readonly threadId: string;
|
|
2988
3182
|
readonly messageId: string;
|
|
2989
3183
|
readonly emoji: ReactionEmoji;
|
|
2990
3184
|
}): Promise<ReactionMutationResponse>;
|
|
2991
|
-
declare function removeReaction(
|
|
3185
|
+
declare function removeReaction(context: TransportContext, input: {
|
|
2992
3186
|
readonly bearer: string;
|
|
2993
3187
|
readonly threadId: string;
|
|
2994
3188
|
readonly messageId: string;
|
|
@@ -2996,12 +3190,12 @@ declare function removeReaction(ctx: TransportContext, input: {
|
|
|
2996
3190
|
}): Promise<ReactionMutationResponse>;
|
|
2997
3191
|
//#endregion
|
|
2998
3192
|
//#region src/messaging/participants.d.ts
|
|
2999
|
-
declare function removeParticipant(
|
|
3193
|
+
declare function removeParticipant(context: TransportContext, input: {
|
|
3000
3194
|
readonly bearer: string;
|
|
3001
3195
|
readonly threadId: string;
|
|
3002
3196
|
readonly userId: string;
|
|
3003
3197
|
}): Promise<GroupThreadMutationResponse>;
|
|
3004
|
-
declare function updateParticipantRole(
|
|
3198
|
+
declare function updateParticipantRole(context: TransportContext, input: {
|
|
3005
3199
|
readonly bearer: string;
|
|
3006
3200
|
readonly threadId: string;
|
|
3007
3201
|
readonly userId: string;
|
|
@@ -3009,33 +3203,33 @@ declare function updateParticipantRole(ctx: TransportContext, input: {
|
|
|
3009
3203
|
}): Promise<GroupThreadMutationResponse>;
|
|
3010
3204
|
//#endregion
|
|
3011
3205
|
//#region src/messaging/threads.d.ts
|
|
3012
|
-
declare function deleteThread(
|
|
3206
|
+
declare function deleteThread(context: TransportContext, input: {
|
|
3013
3207
|
readonly bearer: string;
|
|
3014
3208
|
readonly threadId: string;
|
|
3015
3209
|
}): Promise<MessagingOkResponse>;
|
|
3016
|
-
declare function updateThreadSettings(
|
|
3210
|
+
declare function updateThreadSettings(context: TransportContext, input: {
|
|
3017
3211
|
readonly bearer: string;
|
|
3018
3212
|
readonly threadId: string;
|
|
3019
3213
|
readonly body: UpdateThreadSettingsBody;
|
|
3020
3214
|
}): Promise<GroupThreadMutationResponse>;
|
|
3021
|
-
declare function hideThread(
|
|
3215
|
+
declare function hideThread(context: TransportContext, input: {
|
|
3022
3216
|
readonly bearer: string;
|
|
3023
3217
|
readonly threadId: string;
|
|
3024
3218
|
}): Promise<MessagingOkResponse>;
|
|
3025
|
-
declare function inviteParticipants(
|
|
3219
|
+
declare function inviteParticipants(context: TransportContext, input: {
|
|
3026
3220
|
readonly bearer: string;
|
|
3027
3221
|
readonly threadId: string;
|
|
3028
3222
|
readonly body: InviteParticipantsBody;
|
|
3029
3223
|
}): Promise<GroupThreadMutationResponse>;
|
|
3030
|
-
declare function leaveThread(
|
|
3224
|
+
declare function leaveThread(context: TransportContext, input: {
|
|
3031
3225
|
readonly bearer: string;
|
|
3032
3226
|
readonly threadId: string;
|
|
3033
3227
|
}): Promise<MessagingOkResponse>;
|
|
3034
|
-
declare function pinThread(
|
|
3228
|
+
declare function pinThread(context: TransportContext, input: {
|
|
3035
3229
|
readonly bearer: string;
|
|
3036
3230
|
readonly threadId: string;
|
|
3037
3231
|
}): Promise<PinThreadResponse>;
|
|
3038
|
-
declare function unpinThread(
|
|
3232
|
+
declare function unpinThread(context: TransportContext, input: {
|
|
3039
3233
|
readonly bearer: string;
|
|
3040
3234
|
readonly threadId: string;
|
|
3041
3235
|
}): Promise<MessagingOkResponse>;
|
|
@@ -3068,7 +3262,7 @@ type AuthorizeUrl = {
|
|
|
3068
3262
|
declare function buildAuthorizeUrl(input: BuildAuthorizeUrlInput): Promise<AuthorizeUrl>;
|
|
3069
3263
|
//#endregion
|
|
3070
3264
|
//#region src/oauth/discovery.d.ts
|
|
3071
|
-
declare function fetchAuthorizationServerMetadata(
|
|
3265
|
+
declare function fetchAuthorizationServerMetadata(context: TransportContext): Promise<OauthAuthorizationServerMetadata>;
|
|
3072
3266
|
declare function defaultEndpoints(issuer: string): {
|
|
3073
3267
|
authorize: string;
|
|
3074
3268
|
token: string;
|
|
@@ -3077,7 +3271,7 @@ declare function defaultEndpoints(issuer: string): {
|
|
|
3077
3271
|
};
|
|
3078
3272
|
//#endregion
|
|
3079
3273
|
//#region src/oauth/revoke.d.ts
|
|
3080
|
-
declare function revokeToken(
|
|
3274
|
+
declare function revokeToken(context: TransportContext, input: {
|
|
3081
3275
|
readonly token: string;
|
|
3082
3276
|
readonly tokenTypeHint?: "access_token" | "refresh_token" | undefined;
|
|
3083
3277
|
readonly clientId: string;
|
|
@@ -3085,14 +3279,14 @@ declare function revokeToken(ctx: TransportContext, input: {
|
|
|
3085
3279
|
}): Promise<void>;
|
|
3086
3280
|
//#endregion
|
|
3087
3281
|
//#region src/oauth/token.d.ts
|
|
3088
|
-
declare function exchangeAuthorizationCode(
|
|
3282
|
+
declare function exchangeAuthorizationCode(context: TransportContext, input: {
|
|
3089
3283
|
readonly code: string;
|
|
3090
3284
|
readonly redirectUri: string;
|
|
3091
3285
|
readonly codeVerifier: string;
|
|
3092
3286
|
readonly clientId: string;
|
|
3093
3287
|
readonly clientSecret?: string | undefined;
|
|
3094
3288
|
}): Promise<OauthTokenResponse>;
|
|
3095
|
-
declare function refreshAccessToken(
|
|
3289
|
+
declare function refreshAccessToken(context: TransportContext, input: {
|
|
3096
3290
|
readonly refreshToken: string;
|
|
3097
3291
|
readonly clientId: string;
|
|
3098
3292
|
readonly clientSecret?: string | undefined;
|
|
@@ -3101,31 +3295,31 @@ declare function refreshAccessToken(ctx: TransportContext, input: {
|
|
|
3101
3295
|
declare function toTokenSet(now: number, response: OauthTokenResponse): TokenSet;
|
|
3102
3296
|
//#endregion
|
|
3103
3297
|
//#region src/oauth/userinfo.d.ts
|
|
3104
|
-
declare function fetchUserInfo(
|
|
3298
|
+
declare function fetchUserInfo(context: TransportContext, input: {
|
|
3105
3299
|
readonly bearer: string;
|
|
3106
3300
|
}): Promise<OauthUserInfoResponse>;
|
|
3107
3301
|
//#endregion
|
|
3108
3302
|
//#region src/payments/appeal.d.ts
|
|
3109
|
-
declare function fileAppeal(
|
|
3303
|
+
declare function fileAppeal(context: TransportContext, input: {
|
|
3110
3304
|
readonly bearer: string;
|
|
3111
3305
|
readonly body: AppealFileRequest;
|
|
3112
3306
|
}): Promise<AppealFileResponse>;
|
|
3113
|
-
declare function fileAppealPotLeg(
|
|
3307
|
+
declare function fileAppealPotLeg(context: TransportContext, input: {
|
|
3114
3308
|
readonly bearer: string;
|
|
3115
3309
|
readonly body: AppealPotLegFileRequest;
|
|
3116
3310
|
}): Promise<AppealFileResponse>;
|
|
3117
3311
|
//#endregion
|
|
3118
3312
|
//#region src/payments/appeal-room.d.ts
|
|
3119
|
-
declare function getAppealRoom(
|
|
3313
|
+
declare function getAppealRoom(context: TransportContext, input: {
|
|
3120
3314
|
readonly bearer: string;
|
|
3121
3315
|
readonly appealId: string;
|
|
3122
3316
|
}): Promise<AppealRoomView>;
|
|
3123
|
-
declare function postAppealRoomMessage(
|
|
3317
|
+
declare function postAppealRoomMessage(context: TransportContext, input: {
|
|
3124
3318
|
readonly bearer: string;
|
|
3125
3319
|
readonly appealId: string;
|
|
3126
3320
|
readonly body: AppealRoomPostRequest;
|
|
3127
3321
|
}): Promise<AppealRoomPostResponse>;
|
|
3128
|
-
declare function uploadAppealRoomAttachment(
|
|
3322
|
+
declare function uploadAppealRoomAttachment(context: TransportContext, input: {
|
|
3129
3323
|
readonly bearer: string;
|
|
3130
3324
|
readonly appealId: string;
|
|
3131
3325
|
readonly file: Blob | ArrayBufferView | ArrayBuffer;
|
|
@@ -3137,80 +3331,96 @@ declare function uploadAppealRoomAttachment(ctx: TransportContext, input: {
|
|
|
3137
3331
|
type ChargeResult = OauthPaymentChargeResponse | ({
|
|
3138
3332
|
status: "monthly_limit_exceeded";
|
|
3139
3333
|
} & Omit<OauthPaymentChargeLimitExceeded, "error">);
|
|
3140
|
-
declare function charge(
|
|
3334
|
+
declare function charge(context: TransportContext, input: {
|
|
3141
3335
|
readonly bearer: string;
|
|
3142
3336
|
readonly body: OauthPaymentChargeRequest;
|
|
3143
3337
|
readonly idempotencyKey?: string;
|
|
3144
3338
|
}): Promise<ChargeResult>;
|
|
3145
3339
|
//#endregion
|
|
3146
3340
|
//#region src/payments/intent.d.ts
|
|
3147
|
-
declare function getPaymentIntent(
|
|
3341
|
+
declare function getPaymentIntent(context: TransportContext, input: {
|
|
3148
3342
|
readonly bearer: string;
|
|
3149
3343
|
readonly intentId: string;
|
|
3150
3344
|
}): Promise<OauthPaymentIntentContext>;
|
|
3151
|
-
declare function signPaymentIntent(
|
|
3345
|
+
declare function signPaymentIntent(context: TransportContext, input: {
|
|
3152
3346
|
readonly bearer: string;
|
|
3153
3347
|
readonly intentId: string;
|
|
3154
3348
|
}): Promise<OauthPaymentIntentSignResponse>;
|
|
3155
|
-
declare function completePaymentIntent(
|
|
3349
|
+
declare function completePaymentIntent(context: TransportContext, input: {
|
|
3156
3350
|
readonly bearer: string;
|
|
3157
3351
|
readonly intentId: string;
|
|
3158
3352
|
readonly body: OauthPaymentIntentComplete;
|
|
3159
3353
|
}): Promise<OauthPaymentIntentResolveResponse>;
|
|
3160
|
-
declare function denyPaymentIntent(
|
|
3354
|
+
declare function denyPaymentIntent(context: TransportContext, input: {
|
|
3161
3355
|
readonly bearer: string;
|
|
3162
3356
|
readonly intentId: string;
|
|
3163
3357
|
}): Promise<OauthPaymentIntentResolveResponse>;
|
|
3164
3358
|
//#endregion
|
|
3165
3359
|
//#region src/payments/limits.d.ts
|
|
3166
|
-
declare function getPaymentLimits(
|
|
3360
|
+
declare function getPaymentLimits(context: TransportContext, input: {
|
|
3167
3361
|
readonly bearer: string;
|
|
3168
3362
|
}): Promise<OauthPaymentLimitsResponse>;
|
|
3169
3363
|
//#endregion
|
|
3170
3364
|
//#region src/payments/moonpay.d.ts
|
|
3171
|
-
declare function getMoonpayAvailability(
|
|
3365
|
+
declare function getMoonpayAvailability(context: TransportContext, input: {
|
|
3172
3366
|
readonly bearer: string;
|
|
3173
3367
|
}): Promise<MoonpayAvailabilityResponse>;
|
|
3174
|
-
declare function mintMoonpayBuyUrl(
|
|
3368
|
+
declare function mintMoonpayBuyUrl(context: TransportContext, input: {
|
|
3175
3369
|
readonly bearer: string;
|
|
3176
3370
|
readonly body: MoonpayBuyUrlRequest;
|
|
3177
3371
|
}): Promise<MoonpayBuyUrlResponse>;
|
|
3178
|
-
declare function mintMoonpaySellUrl(
|
|
3372
|
+
declare function mintMoonpaySellUrl(context: TransportContext, input: {
|
|
3179
3373
|
readonly bearer: string;
|
|
3180
3374
|
readonly body: MoonpaySellUrlRequest;
|
|
3181
3375
|
}): Promise<MoonpaySellUrlResponse>;
|
|
3182
3376
|
//#endregion
|
|
3183
3377
|
//#region src/payments/price.d.ts
|
|
3184
|
-
declare function getPaymentPrice(
|
|
3378
|
+
declare function getPaymentPrice(context: TransportContext, input: {
|
|
3185
3379
|
readonly bearer: string;
|
|
3186
3380
|
} & GetOauthPaymentsPriceData["query"]): Promise<OauthPaymentPriceResponse>;
|
|
3187
3381
|
//#endregion
|
|
3188
3382
|
//#region src/payments/status.d.ts
|
|
3189
|
-
declare function getIntentStatus(
|
|
3383
|
+
declare function getIntentStatus(context: TransportContext, input: {
|
|
3190
3384
|
readonly bearer: string;
|
|
3191
3385
|
readonly intentId: string;
|
|
3192
3386
|
}): Promise<OauthPaymentIntentStatus>;
|
|
3193
3387
|
//#endregion
|
|
3194
3388
|
//#region src/payments/tron.d.ts
|
|
3195
|
-
declare function getTronBalance(
|
|
3389
|
+
declare function getTronBalance(context: TransportContext, input: {
|
|
3196
3390
|
readonly bearer: string;
|
|
3197
3391
|
}): Promise<TronBalanceResponse>;
|
|
3198
|
-
declare function listTronLedger(
|
|
3392
|
+
declare function listTronLedger(context: TransportContext, input: {
|
|
3199
3393
|
readonly bearer: string;
|
|
3200
3394
|
readonly before?: string;
|
|
3201
3395
|
}): Promise<TronLedgerResponse>;
|
|
3202
|
-
declare function createTronDeposit(
|
|
3396
|
+
declare function createTronDeposit(context: TransportContext, input: {
|
|
3203
3397
|
readonly bearer: string;
|
|
3204
3398
|
readonly body: TronDepositRequest;
|
|
3205
3399
|
}): Promise<TronDepositResponse>;
|
|
3206
|
-
declare function
|
|
3400
|
+
declare function createTronTransfer(context: TransportContext, input: {
|
|
3401
|
+
readonly bearer: string;
|
|
3402
|
+
readonly body: TronTransferRequest;
|
|
3403
|
+
readonly idempotencyKey?: string;
|
|
3404
|
+
}): Promise<TronTransferResponse>;
|
|
3405
|
+
declare function getTronSecurity(context: TransportContext, input: {
|
|
3406
|
+
readonly bearer: string;
|
|
3407
|
+
}): Promise<TronSecuritySetting>;
|
|
3408
|
+
declare function setTronSecurity(context: TransportContext, input: {
|
|
3409
|
+
readonly bearer: string;
|
|
3410
|
+
readonly setting: TronSecuritySetting;
|
|
3411
|
+
}): Promise<TronSecuritySetting>;
|
|
3412
|
+
declare function createTronTransferChallenge(context: TransportContext, input: {
|
|
3413
|
+
readonly bearer: string;
|
|
3414
|
+
readonly body: TronTransferChallengeRequest;
|
|
3415
|
+
}): Promise<TronTransferChallengeResponse>;
|
|
3416
|
+
declare function createTronConnectOnboarding(context: TransportContext, input: {
|
|
3207
3417
|
readonly bearer: string;
|
|
3208
3418
|
}): Promise<TronConnectOnboardingResponse>;
|
|
3209
|
-
declare function createTronCashout(
|
|
3419
|
+
declare function createTronCashout(context: TransportContext, input: {
|
|
3210
3420
|
readonly bearer: string;
|
|
3211
3421
|
readonly body: TronCashoutCreateRequest;
|
|
3212
3422
|
}): Promise<TronCashoutItem>;
|
|
3213
|
-
declare function listTronCashouts(
|
|
3423
|
+
declare function listTronCashouts(context: TransportContext, input: {
|
|
3214
3424
|
readonly bearer: string;
|
|
3215
3425
|
}): Promise<TronCashoutListResponse>;
|
|
3216
3426
|
//#endregion
|
|
@@ -3223,7 +3433,7 @@ type MountPresenceWidgetOptions = {
|
|
|
3223
3433
|
readonly container?: HTMLElement;
|
|
3224
3434
|
readonly onPlaySessionId?: (playSessionId: string | null) => void;
|
|
3225
3435
|
readonly onStatus?: (status: PresenceStatus) => void;
|
|
3226
|
-
readonly onAuthChange?: (
|
|
3436
|
+
readonly onAuthChange?: (isAuthenticated: boolean) => void;
|
|
3227
3437
|
readonly styleIframe?: (iframe: HTMLIFrameElement) => void;
|
|
3228
3438
|
readonly onPresentationChange?: (mode: "chip" | "overlay") => void;
|
|
3229
3439
|
readonly background?: string;
|
|
@@ -3234,40 +3444,40 @@ type PresenceWidgetHandle = {
|
|
|
3234
3444
|
declare function mountPresenceWidget(options: MountPresenceWidgetOptions): PresenceWidgetHandle;
|
|
3235
3445
|
//#endregion
|
|
3236
3446
|
//#region src/reads/dashboard.d.ts
|
|
3237
|
-
declare function getMeStats(
|
|
3447
|
+
declare function getMeStats(context: TransportContext, input: {
|
|
3238
3448
|
readonly bearer: string;
|
|
3239
3449
|
}): Promise<MeStats>;
|
|
3240
|
-
declare function getEarningsTimeseries(
|
|
3450
|
+
declare function getEarningsTimeseries(context: TransportContext, input: {
|
|
3241
3451
|
readonly bearer: string;
|
|
3242
3452
|
readonly days?: number;
|
|
3243
3453
|
}): Promise<EarningsTimeseries>;
|
|
3244
3454
|
//#endregion
|
|
3245
3455
|
//#region src/reads/messaging.d.ts
|
|
3246
|
-
declare function listThreads(
|
|
3456
|
+
declare function listThreads(context: TransportContext, input: {
|
|
3247
3457
|
readonly bearer: string;
|
|
3248
3458
|
readonly limit?: number;
|
|
3249
3459
|
readonly cursor?: string;
|
|
3250
3460
|
}): Promise<ThreadListResponse>;
|
|
3251
|
-
declare function createDirectThread(
|
|
3461
|
+
declare function createDirectThread(context: TransportContext, input: {
|
|
3252
3462
|
readonly bearer: string;
|
|
3253
3463
|
readonly body: CreateDirectThreadBody;
|
|
3254
3464
|
}): Promise<ThreadSummary>;
|
|
3255
|
-
declare function listThreadMessages(
|
|
3465
|
+
declare function listThreadMessages(context: TransportContext, input: {
|
|
3256
3466
|
readonly bearer: string;
|
|
3257
3467
|
readonly threadId: string;
|
|
3258
3468
|
readonly limit?: number;
|
|
3259
3469
|
readonly cursor?: string;
|
|
3260
3470
|
}): Promise<MessagesPageResponse>;
|
|
3261
|
-
declare function sendMessage(
|
|
3471
|
+
declare function sendMessage(context: TransportContext, input: {
|
|
3262
3472
|
readonly bearer: string;
|
|
3263
3473
|
readonly threadId: string;
|
|
3264
3474
|
readonly body: SendMessageBody;
|
|
3265
3475
|
}): Promise<void>;
|
|
3266
|
-
declare function markThreadRead(
|
|
3476
|
+
declare function markThreadRead(context: TransportContext, input: {
|
|
3267
3477
|
readonly bearer: string;
|
|
3268
3478
|
readonly threadId: string;
|
|
3269
3479
|
}): Promise<void>;
|
|
3270
|
-
declare function uploadAttachment(
|
|
3480
|
+
declare function uploadAttachment(context: TransportContext, input: {
|
|
3271
3481
|
readonly bearer: string;
|
|
3272
3482
|
readonly threadId: string;
|
|
3273
3483
|
readonly file: Blob | ArrayBufferView | ArrayBuffer;
|
|
@@ -3276,116 +3486,116 @@ declare function uploadAttachment(ctx: TransportContext, input: {
|
|
|
3276
3486
|
}): Promise<UploadAttachmentResponse>;
|
|
3277
3487
|
//#endregion
|
|
3278
3488
|
//#region src/reads/notifications.d.ts
|
|
3279
|
-
declare function listNotifications(
|
|
3489
|
+
declare function listNotifications(context: TransportContext, input: {
|
|
3280
3490
|
readonly bearer: string;
|
|
3281
3491
|
readonly limit?: number;
|
|
3282
3492
|
readonly cursor?: string;
|
|
3283
3493
|
}): Promise<NotificationListResponse>;
|
|
3284
|
-
declare function updateNotification(
|
|
3494
|
+
declare function updateNotification(context: TransportContext, input: {
|
|
3285
3495
|
readonly bearer: string;
|
|
3286
3496
|
readonly notificationId: string;
|
|
3287
3497
|
readonly body: NotificationUpdate;
|
|
3288
3498
|
}): Promise<void>;
|
|
3289
|
-
declare function markAllNotificationsRead(
|
|
3499
|
+
declare function markAllNotificationsRead(context: TransportContext, input: {
|
|
3290
3500
|
readonly bearer: string;
|
|
3291
3501
|
}): Promise<void>;
|
|
3292
3502
|
//#endregion
|
|
3293
3503
|
//#region src/reads/playtime.d.ts
|
|
3294
|
-
declare function getPlaytime(
|
|
3504
|
+
declare function getPlaytime(context: TransportContext, input: {
|
|
3295
3505
|
readonly bearer: string;
|
|
3296
3506
|
}): Promise<PlaytimeOverview>;
|
|
3297
|
-
declare function getPlaytimeTimeseries(
|
|
3507
|
+
declare function getPlaytimeTimeseries(context: TransportContext, input: {
|
|
3298
3508
|
readonly bearer: string;
|
|
3299
3509
|
readonly days?: number;
|
|
3300
3510
|
}): Promise<PlaytimeTimeseries>;
|
|
3301
3511
|
//#endregion
|
|
3302
3512
|
//#region src/reads/profile.d.ts
|
|
3303
|
-
declare function getPublicProfile(
|
|
3513
|
+
declare function getPublicProfile(context: TransportContext, input: {
|
|
3304
3514
|
readonly bearer?: string;
|
|
3305
3515
|
readonly handle: string;
|
|
3306
3516
|
}): Promise<PublicProfile>;
|
|
3307
|
-
declare function searchUsers(
|
|
3517
|
+
declare function searchUsers(context: TransportContext, input: {
|
|
3308
3518
|
readonly bearer: string;
|
|
3309
3519
|
readonly q: string;
|
|
3310
3520
|
readonly limit?: number;
|
|
3311
3521
|
}): Promise<UserSearchResponse>;
|
|
3312
3522
|
//#endregion
|
|
3313
3523
|
//#region src/reads/referral.d.ts
|
|
3314
|
-
declare function getReferral(
|
|
3524
|
+
declare function getReferral(context: TransportContext, input: {
|
|
3315
3525
|
readonly bearer: string;
|
|
3316
3526
|
}): Promise<ReferralOverview>;
|
|
3317
|
-
declare function createReferralCode(
|
|
3527
|
+
declare function createReferralCode(context: TransportContext, input: {
|
|
3318
3528
|
readonly bearer: string;
|
|
3319
3529
|
readonly regenerate?: boolean;
|
|
3320
3530
|
}): Promise<ReferralCodeResponse>;
|
|
3321
|
-
declare function previewReferral(
|
|
3531
|
+
declare function previewReferral(context: TransportContext, input: {
|
|
3322
3532
|
readonly bearer: string;
|
|
3323
3533
|
readonly code: string;
|
|
3324
3534
|
}): Promise<ReferralPreviewResponse>;
|
|
3325
|
-
declare function bindReferral(
|
|
3535
|
+
declare function bindReferral(context: TransportContext, input: {
|
|
3326
3536
|
readonly bearer: string;
|
|
3327
3537
|
} & ReferralBindRequest): Promise<ReferralBindResponse>;
|
|
3328
3538
|
//#endregion
|
|
3329
3539
|
//#region src/reads/social-graph.d.ts
|
|
3330
|
-
declare function followUser(
|
|
3540
|
+
declare function followUser(context: TransportContext, input: {
|
|
3331
3541
|
readonly bearer: string;
|
|
3332
3542
|
readonly userId: string;
|
|
3333
3543
|
}): Promise<void>;
|
|
3334
|
-
declare function unfollowUser(
|
|
3544
|
+
declare function unfollowUser(context: TransportContext, input: {
|
|
3335
3545
|
readonly bearer: string;
|
|
3336
3546
|
readonly userId: string;
|
|
3337
3547
|
}): Promise<void>;
|
|
3338
|
-
declare function sendFriendRequest(
|
|
3548
|
+
declare function sendFriendRequest(context: TransportContext, input: {
|
|
3339
3549
|
readonly bearer: string;
|
|
3340
3550
|
readonly userId: string;
|
|
3341
3551
|
}): Promise<void>;
|
|
3342
|
-
declare function decideFriendRequest(
|
|
3552
|
+
declare function decideFriendRequest(context: TransportContext, input: {
|
|
3343
3553
|
readonly bearer: string;
|
|
3344
3554
|
readonly requestId: string;
|
|
3345
3555
|
readonly decision: FriendRequestDecision["decision"];
|
|
3346
3556
|
}): Promise<void>;
|
|
3347
|
-
declare function cancelFriendRequest(
|
|
3557
|
+
declare function cancelFriendRequest(context: TransportContext, input: {
|
|
3348
3558
|
readonly bearer: string;
|
|
3349
3559
|
readonly requestId: string;
|
|
3350
3560
|
}): Promise<void>;
|
|
3351
|
-
declare function listFriends(
|
|
3561
|
+
declare function listFriends(context: TransportContext, input: {
|
|
3352
3562
|
readonly bearer: string;
|
|
3353
3563
|
}): Promise<FriendListResponse>;
|
|
3354
3564
|
//#endregion
|
|
3355
3565
|
//#region src/reads/socials.d.ts
|
|
3356
|
-
declare function listSocials(
|
|
3566
|
+
declare function listSocials(context: TransportContext, input: {
|
|
3357
3567
|
readonly bearer: string;
|
|
3358
3568
|
}): Promise<SocialListResponse>;
|
|
3359
3569
|
//#endregion
|
|
3360
3570
|
//#region src/reads/wallets.d.ts
|
|
3361
|
-
declare function listWallets(
|
|
3571
|
+
declare function listWallets(context: TransportContext, input: {
|
|
3362
3572
|
readonly bearer: string;
|
|
3363
3573
|
}): Promise<WalletListResponse>;
|
|
3364
3574
|
//#endregion
|
|
3365
3575
|
//#region src/wallets-mgmt/delegation.d.ts
|
|
3366
|
-
declare function getDelegation(
|
|
3576
|
+
declare function getDelegation(context: TransportContext, input: {
|
|
3367
3577
|
readonly bearer: string;
|
|
3368
3578
|
readonly address: string;
|
|
3369
3579
|
}): Promise<WalletDelegationStatus>;
|
|
3370
|
-
declare function createDelegation(
|
|
3580
|
+
declare function createDelegation(context: TransportContext, input: {
|
|
3371
3581
|
readonly bearer: string;
|
|
3372
3582
|
readonly address: string;
|
|
3373
3583
|
readonly body: CreateWalletDelegation;
|
|
3374
3584
|
}): Promise<CreateWalletDelegationResponse>;
|
|
3375
|
-
declare function deleteDelegation(
|
|
3585
|
+
declare function deleteDelegation(context: TransportContext, input: {
|
|
3376
3586
|
readonly bearer: string;
|
|
3377
3587
|
readonly address: string;
|
|
3378
3588
|
}): Promise<DeleteWalletDelegationResponse>;
|
|
3379
3589
|
//#endregion
|
|
3380
3590
|
//#region src/wallets-mgmt/label.d.ts
|
|
3381
|
-
declare function updateWalletLabel(
|
|
3591
|
+
declare function updateWalletLabel(context: TransportContext, input: {
|
|
3382
3592
|
readonly bearer: string;
|
|
3383
3593
|
readonly address: string;
|
|
3384
3594
|
readonly body: WalletLabelUpdate;
|
|
3385
3595
|
}): Promise<WalletLabelUpdateResponse>;
|
|
3386
3596
|
//#endregion
|
|
3387
3597
|
//#region src/wallets-mgmt/list.d.ts
|
|
3388
|
-
declare function listWalletManager(
|
|
3598
|
+
declare function listWalletManager(context: TransportContext, input: {
|
|
3389
3599
|
readonly bearer: string;
|
|
3390
3600
|
}): Promise<WalletListResponse>;
|
|
3391
3601
|
//#endregion
|
|
@@ -3642,4 +3852,4 @@ type CookieTokenStoreOptions = {
|
|
|
3642
3852
|
};
|
|
3643
3853
|
declare function createCookieTokenStore(options?: CookieTokenStoreOptions): TokenStore;
|
|
3644
3854
|
//#endregion
|
|
3645
|
-
export { AuthorizeUrl, type BrowserClientConfig, BuildAuthorizeUrlInput, ChargeResult, CookieTokenStoreOptions, type FetchLike, InflightDedup, type Logger, MountPresenceWidgetOptions, NOOP_RATE_LIMITER, OauthErrorCode, OauthPaymentWebhookBody, type OauthScope, PkcePair, PresenceStatus, PresenceWidgetHandle, RateLimitOptions, RateLimiter, SERVER_RATE_LIMIT_MAX_MUTATING, SERVER_RATE_LIMIT_MAX_READ, SERVER_RATE_LIMIT_WINDOW_MS, type SdkBaseConfig, TRON_WS_CLOSE_CODES, type TokenSet, type TokenStore, TronBrowserClient, TronError, TronOauthError, TronWsCloseCode, TronWsCloseError, VerifyWebhookFailure, VerifyWebhookInput, VerifyWebhookResult, VerifyWebhookSuccess, WEBHOOK_SIGNATURE_HEADER, WEBHOOK_TIMESTAMP_HEADER, acceptDeveloperInvite, addAdmin, addAppealBlacklist, addReaction, approveTronCashout, batchThreadDmKeys, bindReferral, buildAuthorizeUrl, cancelFriendRequest, charge, completePaymentIntent, consolidateDeveloperAppWallet, createConsoleLogger, createCookieTokenStore, createDelegation, createDeveloperApiKey, createDeveloperApp, createDirectThread, createInMemoryTokenStore, createInflightDedup, createNoopLogger, createRateLimiter, createReferralCode, createTronCashout, createTronConnectOnboarding, createTronDeposit, decideFriendRequest, declineDeveloperInvite, defaultEndpoints, deleteAppPageBanner, deleteAppPageThumbnail, deleteAppPageThumbnailVideo, deleteAvatar, deleteDelegation, deleteDeveloperApp, deleteDeveloperAppLogo, deleteDeveloperProfileLogo, deleteDeveloperRequestLogo, deleteGameReviewReply, deleteMessage, deleteMyGameReview, deleteThread, deleteThreadLogo, denyPaymentIntent, editMessage, exchangeAuthorizationCode, fetchAuthorizationServerMetadata, fetchUserInfo, fileAppeal, fileAppealPotLeg, followUser, generatePkce, generateState, getActivity, getActivityGroup, getAdminAppealRoom, getAppFeeConfig, getAppPage, getAppPageChanges, getAppealRoom, getDelegation, getDeveloperAppActivity, getDeveloperAppBalances, getDeveloperAppEarnings, getDeveloperAppOverview, getDeveloperAppPage, getDeveloperAppPlaytime, getDeveloperAppTronBalance, getDeveloperAppWallets, getDeveloperPaymentAppeals, getDeveloperPaymentPendingDeposits, getDeveloperStatus, getDeveloperTronBalanceSummary, getDmKeyBackupStatus, getEarningsTimeseries, getIntentStatus, getLibrary, getMeStats, getMoonpayAvailability, getMyDmKey, getMyGameReview, getOutstanding, getPaymentChains, getPaymentHistory, getPaymentIntent, getPaymentLimits, getPaymentPrice, getPlatformFees, getPlaytime, getPlaytimeTimeseries, getPublicProfile, getReferral, getThreadDmKey, getTronBalance, hideAppPage, hideThread, inviteDeveloperAppParticipant, inviteParticipants, leaveThread, listActivePlayers, listAdmins, listAppPages, listAppealBlacklist, listAppealQueue, listAudit, listDeveloperApiKeys, listDeveloperAppContentReports, listDeveloperAppParticipants, listDeveloperAppReviews, listDeveloperInvites, listDeveloperRequests, listDevelopers, listFriends, listGameReviews, listInventory, listInventoryForApp, listNotifications, listPaymentAuthorizations, listSocials, listThreadMessages, listThreads, listTronCashoutQueue, listTronCashouts, listTronLedger, listUsers, listWalletManager, listWallets, markAllNotificationsRead, markThreadRead, mintMoonpayBuyUrl, mintMoonpaySellUrl, mountPresenceWidget, oauthPaymentWebhookBodySchema, pinThread, postAdminAppealRoomMessage, postAppealRoomMessage, previewReferral, provisionDeveloperAppWallet, publishDmKey, refreshAccessToken, rejectTronCashout, removeAdmin, removeAppealBlacklist, removeParticipant, removeReaction, replyToGameReview, requestDeveloperAppProduction, requestMint, resolveAppeal, reviewAppPage, reviewAppPageChanges, reviewDeveloperRequest, revokeDeveloperApiKey, revokeDeveloperAppParticipant, revokePaymentAuthorization, revokeToken, rotateDeveloperAppKey, rotateDeveloperAppPaymentWebhookSecret, rotateProcessorTreasury, searchGiphy, searchUsers, sendFriendRequest, sendMessage, sendPresenceHeartbeat, setProcessorWhitelist, setVaultOperator, setVaultPause, setVaultWithdrawLockDefault, setVaultWithdrawLockOverride, setupDmKeyBackup, sha256Base64Url, signPaymentIntent, submitAppContentReport, submitAppPageForReview, submitDeveloperRequest, toTokenSet, unfollowUser, unhideAppPage, unlockDmKeyBackup, unpinThread, unpublishAppPage, updateAdminRole, updateAppFeeConfig, updateAppPage, updateDeveloperApp, updateDeveloperAppAutoSweep, updateDeveloperAppContentReportStatus, updateDeveloperProfile, updateNotification, updateParticipantRole, updatePaymentAuthorization, updatePlatformFees, updateProfile, updateThreadSettings, updateUserBan, updateWalletLabel, uploadAdminAppealRoomAttachment, uploadAppPageBanner, uploadAppPageGallery, uploadAppPageThumbnail, uploadAppPageThumbnailVideo, uploadAppealRoomAttachment, uploadAttachment, uploadAvatar, uploadDeveloperAppLogo, uploadDeveloperProfileLogo, uploadDeveloperRequestLogo, uploadMultipart, uploadThreadLogo, upsertMyGameReview, verifyWebhook, withdrawDeveloperAppWallet };
|
|
3855
|
+
export { AuthorizeUrl, type BrowserClientConfig, BuildAuthorizeUrlInput, ChargeResult, CookieTokenStoreOptions, type FetchLike, InflightDedup, type Logger, MountPresenceWidgetOptions, NOOP_RATE_LIMITER, OauthErrorCode, OauthPaymentWebhookBody, type OauthScope, PkcePair, PresenceStatus, PresenceWidgetHandle, RateLimitOptions, RateLimiter, SERVER_RATE_LIMIT_MAX_MUTATING, SERVER_RATE_LIMIT_MAX_READ, SERVER_RATE_LIMIT_WINDOW_MS, type SdkBaseConfig, TRON_WS_CLOSE_CODES, type TokenSet, type TokenStore, TronBrowserClient, TronError, TronOauthError, TronWsCloseCode, TronWsCloseError, VerifyWebhookFailure, VerifyWebhookInput, VerifyWebhookResult, VerifyWebhookSuccess, WEBHOOK_SIGNATURE_HEADER, WEBHOOK_TIMESTAMP_HEADER, acceptDeveloperInvite, addAdmin, addAppealBlacklist, addReaction, approveTronCashout, batchThreadDmKeys, bindReferral, buildAuthorizeUrl, cancelFriendRequest, charge, commentOnGameReview, completePaymentIntent, consolidateDeveloperAppWallet, createConsoleLogger, createCookieTokenStore, createDelegation, createDeveloperApiKey, createDeveloperApp, 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, editMessage, exchangeAuthorizationCode, fetchAuthorizationServerMetadata, fetchUserInfo, fileAppeal, fileAppealPotLeg, followUser, generatePkce, generateState, getActivity, getActivityGroup, getAdminAppealRoom, getAppFeeConfig, getAppPage, getAppPageChanges, getAppealRoom, getDelegation, getDeveloperAppActivity, getDeveloperAppBalances, getDeveloperAppEarnings, getDeveloperAppOverview, getDeveloperAppPage, getDeveloperAppPlaytime, getDeveloperAppTronBalance, getDeveloperAppWallets, getDeveloperPaymentAppeals, getDeveloperPaymentPendingDeposits, getDeveloperStatus, getDeveloperTronBalanceSummary, getDmKeyBackupStatus, getEarningsTimeseries, getIntentStatus, getLibrary, getMeStats, getMoonpayAvailability, getMyDmKey, getMyGameReview, getMyGameReviewReactions, getOutstanding, getPaymentChains, getPaymentHistory, getPaymentIntent, getPaymentLimits, getPaymentPrice, getPlatformFees, getPlaytime, getPlaytimeTimeseries, getPublicProfile, getReferral, getThreadDmKey, getTronBalance, getTronSecurity, hideAppPage, hideThread, inviteDeveloperAppParticipant, inviteParticipants, leaveThread, listActivePlayers, listAdmins, listAppPages, listAppealBlacklist, listAppealQueue, listAudit, listDeveloperApiKeys, listDeveloperAppContentReports, listDeveloperAppParticipants, listDeveloperAppReviews, listDeveloperInvites, listDeveloperRequests, listDevelopers, listFriends, listGameReviewComments, listGameReviews, listInventory, listInventoryForApp, listNotifications, listPaymentAuthorizations, listSocials, listThreadMessages, listThreads, listTronCashoutQueue, listTronCashouts, listTronLedger, listUsers, listWalletManager, listWallets, markAllNotificationsRead, markThreadRead, mintMoonpayBuyUrl, mintMoonpaySellUrl, mountPresenceWidget, oauthPaymentWebhookBodySchema, pinThread, postAdminAppealRoomMessage, postAppealRoomMessage, previewReferral, provisionDeveloperAppWallet, publishDmKey, refreshAccessToken, rejectTronCashout, removeAdmin, removeAppealBlacklist, removeParticipant, removeReaction, replyToGameReview, requestDeveloperAppProduction, requestMint, resolveAppeal, reviewAppPage, reviewAppPageChanges, reviewDeveloperRequest, revokeDeveloperApiKey, revokeDeveloperAppParticipant, revokePaymentAuthorization, revokeToken, rotateDeveloperAppKey, rotateDeveloperAppPaymentWebhookSecret, rotateProcessorTreasury, searchGiphy, searchUsers, sendFriendRequest, sendMessage, sendPresenceHeartbeat, setMyGameReviewReaction, setProcessorWhitelist, setTronSecurity, setVaultOperator, setVaultPause, setVaultWithdrawLockDefault, setVaultWithdrawLockOverride, setupDmKeyBackup, sha256Base64Url, signPaymentIntent, submitAppContentReport, submitAppPageForReview, submitDeveloperRequest, 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, uploadDeveloperAppLogo, uploadDeveloperProfileLogo, uploadDeveloperRequestLogo, uploadMultipart, uploadThreadLogo, upsertMyGameReview, verifyWebhook, withdrawDeveloperAppWallet };
|