@metatrongg/sdk 0.8.0-dev.911f8da → 0.8.0-dev.91af108
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser/index.d.ts +272 -12
- package/dist/browser/index.js +1 -1
- package/dist/contracts/index.d.ts +4610 -2178
- package/dist/contracts/index.js +1 -1
- package/dist/index.js +1 -1
- package/dist/node/index.d.ts +277 -12
- package/dist/node/index.js +1 -1
- package/dist/webhook/express.js +1 -1
- package/dist/webhook/fastify.js +1 -1
- package/dist/webhook/hono.js +1 -1
- package/dist/webhook/index.js +1 -1
- package/package.json +3 -3
package/dist/node/index.d.ts
CHANGED
|
@@ -114,7 +114,7 @@ type Username = string;
|
|
|
114
114
|
type DisplayName = string | null;
|
|
115
115
|
type Bio = string | null;
|
|
116
116
|
type WebsiteUrl = string | null;
|
|
117
|
-
type BannerVariant = "yellow" | "green" | "blue" | "white" | "black";
|
|
117
|
+
type BannerVariant = "yellow" | "green" | "blue" | "white" | "black" | "red";
|
|
118
118
|
type AdminRole = "super-admin" | "admin" | "read-only" | null;
|
|
119
119
|
type PresenceStatusMode = "auto" | "online" | "offline";
|
|
120
120
|
type PlatformEnvironment = "development" | "production";
|
|
@@ -129,7 +129,7 @@ type OauthAuthorizationServerMetadata = {
|
|
|
129
129
|
grant_types_supported: Array<"authorization_code" | "refresh_token" | "client_credentials">;
|
|
130
130
|
code_challenge_methods_supported: Array<"S256">;
|
|
131
131
|
token_endpoint_auth_methods_supported: Array<"client_secret_basic" | "client_secret_post" | "none">;
|
|
132
|
-
scopes_supported: Array<"openid" | "profile" | "payments:charge" | "inventory:read" | "developer:read" | "developer:apps" | "developer:pages">;
|
|
132
|
+
scopes_supported: Array<"openid" | "profile" | "payments:charge" | "inventory:read" | "social:read" | "developer:read" | "developer:apps" | "developer:pages">;
|
|
133
133
|
};
|
|
134
134
|
type OauthClientRegistrationResponse = {
|
|
135
135
|
client_id: string;
|
|
@@ -424,6 +424,111 @@ type AppPageAgeRating = "everyone" | "13_plus" | "16_plus" | "18_plus" | null;
|
|
|
424
424
|
type AppPageLanguages = Array<"en" | "es" | "fr" | "de" | "pt" | "it" | "ru" | "ja" | "ko" | "zh" | "hi" | "ar" | "tr" | "vi" | "id" | "th" | "pl" | "nl">;
|
|
425
425
|
type AppPageReleaseStatus = "live" | "open_beta" | "coming_soon";
|
|
426
426
|
type AppPagePaymentsMode = "tron" | "onchain" | "both" | null;
|
|
427
|
+
type PublicBipPage = {
|
|
428
|
+
appId: string;
|
|
429
|
+
slug: AppPageSlug;
|
|
430
|
+
appName: string;
|
|
431
|
+
appLogoUrl: string | null;
|
|
432
|
+
categories: AppPageCategories;
|
|
433
|
+
tagline: AppPageTagline;
|
|
434
|
+
bannerUrl: string | null;
|
|
435
|
+
discordUrl: string | null;
|
|
436
|
+
twitterUrl: string | null;
|
|
437
|
+
redditUrl: string | null;
|
|
438
|
+
telegramUrl: string | null;
|
|
439
|
+
gallery: AppPageGallery;
|
|
440
|
+
chapters: AppPageChapters;
|
|
441
|
+
links: AppPageLinks;
|
|
442
|
+
studio: PublicAppPageStudio;
|
|
443
|
+
platforms: AppPagePlatforms;
|
|
444
|
+
gameType: AppPageGameType;
|
|
445
|
+
ageRating: AppPageAgeRating;
|
|
446
|
+
languages: AppPageLanguages;
|
|
447
|
+
releaseStatus: AppPageReleaseStatus;
|
|
448
|
+
publishedAt: string;
|
|
449
|
+
updatedAt: string;
|
|
450
|
+
};
|
|
451
|
+
type BipUpdateListResponse = {
|
|
452
|
+
updates: Array<BipUpdate>;
|
|
453
|
+
total: number;
|
|
454
|
+
hasMore: boolean;
|
|
455
|
+
};
|
|
456
|
+
type BipUpdate = {
|
|
457
|
+
id: string;
|
|
458
|
+
appId: string;
|
|
459
|
+
body: BipUpdateBody;
|
|
460
|
+
attachments: BipUpdateAttachments;
|
|
461
|
+
reactions: BipUpdateReactionCounts;
|
|
462
|
+
commentCount: number;
|
|
463
|
+
createdAt: string;
|
|
464
|
+
updatedAt: string;
|
|
465
|
+
};
|
|
466
|
+
type BipUpdateBody = string;
|
|
467
|
+
type BipUpdateAttachments = Array<BipUpdateAttachment>;
|
|
468
|
+
type BipUpdateAttachment = {
|
|
469
|
+
url: string;
|
|
470
|
+
kind: "image" | "video";
|
|
471
|
+
order: number;
|
|
472
|
+
};
|
|
473
|
+
type BipUpdateReactionCounts = {
|
|
474
|
+
up: number;
|
|
475
|
+
down: number;
|
|
476
|
+
};
|
|
477
|
+
type BipUpdateCommentListResponse = {
|
|
478
|
+
comments: Array<BipUpdateComment>;
|
|
479
|
+
total: number;
|
|
480
|
+
hasMore: boolean;
|
|
481
|
+
};
|
|
482
|
+
type BipUpdateComment = {
|
|
483
|
+
id: string;
|
|
484
|
+
body: BipUpdateCommentBody;
|
|
485
|
+
author: ReviewAuthor;
|
|
486
|
+
createdAt: string;
|
|
487
|
+
};
|
|
488
|
+
type BipUpdateCommentBody = string;
|
|
489
|
+
type ReviewAuthor = {
|
|
490
|
+
userId: string;
|
|
491
|
+
handle: string | null;
|
|
492
|
+
name: string | null;
|
|
493
|
+
avatarUrl: string | null;
|
|
494
|
+
};
|
|
495
|
+
type MyBipUpdateReactionsResponse = {
|
|
496
|
+
reactions: Array<MyBipUpdateReaction>;
|
|
497
|
+
};
|
|
498
|
+
type MyBipUpdateReaction = {
|
|
499
|
+
updateId: string;
|
|
500
|
+
vote: "up" | "down";
|
|
501
|
+
};
|
|
502
|
+
type SetBipUpdateReactionResponse = {
|
|
503
|
+
reactions: BipUpdateReactionCounts;
|
|
504
|
+
vote: BipUpdateVote;
|
|
505
|
+
};
|
|
506
|
+
type BipUpdateVote = "up" | "down" | null;
|
|
507
|
+
type SetBipUpdateReactionRequest = {
|
|
508
|
+
vote: BipUpdateVote;
|
|
509
|
+
};
|
|
510
|
+
type CreateBipUpdateCommentResponse = {
|
|
511
|
+
comment: BipUpdateComment;
|
|
512
|
+
commentCount: number;
|
|
513
|
+
};
|
|
514
|
+
type DeleteBipUpdateCommentResponse = {
|
|
515
|
+
commentCount: number;
|
|
516
|
+
};
|
|
517
|
+
type CreateBipUpdateRequest = {
|
|
518
|
+
body: BipUpdateBody;
|
|
519
|
+
attachments?: BipUpdateAttachments;
|
|
520
|
+
};
|
|
521
|
+
type UpdateBipUpdateRequest = {
|
|
522
|
+
body?: BipUpdateBody;
|
|
523
|
+
attachments?: BipUpdateAttachments;
|
|
524
|
+
};
|
|
525
|
+
type DeleteBipUpdateResponse = {
|
|
526
|
+
deleted: true;
|
|
527
|
+
};
|
|
528
|
+
type BipUpdateMediaUploadResponse = {
|
|
529
|
+
url: string;
|
|
530
|
+
kind: "image" | "video";
|
|
531
|
+
};
|
|
427
532
|
type ReviewListResponse = {
|
|
428
533
|
aggregate: ReviewAggregate;
|
|
429
534
|
reviews: Array<Review>;
|
|
@@ -457,12 +562,6 @@ type ReviewReactionCounts = {
|
|
|
457
562
|
unhelpful: number;
|
|
458
563
|
funny: number;
|
|
459
564
|
};
|
|
460
|
-
type ReviewAuthor = {
|
|
461
|
-
userId: string;
|
|
462
|
-
handle: string | null;
|
|
463
|
-
name: string | null;
|
|
464
|
-
avatarUrl: string | null;
|
|
465
|
-
};
|
|
466
565
|
type ReviewerStats = {
|
|
467
566
|
playtimeSecondsThisGame: number;
|
|
468
567
|
gamesPlayed: number;
|
|
@@ -1350,6 +1449,7 @@ type MessageTransactionNftTransfer = {
|
|
|
1350
1449
|
tokenId: string;
|
|
1351
1450
|
amount: string;
|
|
1352
1451
|
itemName: string | null;
|
|
1452
|
+
imageAssetId?: string | null;
|
|
1353
1453
|
};
|
|
1354
1454
|
type GroupThreadSummary = {
|
|
1355
1455
|
kind: "group";
|
|
@@ -1941,12 +2041,12 @@ type FriendAcceptedNotificationPayload = {
|
|
|
1941
2041
|
type AppPageApprovedNotificationPayload = {
|
|
1942
2042
|
appId: string;
|
|
1943
2043
|
appName: string;
|
|
1944
|
-
scope: "publish" | "changes";
|
|
2044
|
+
scope: "publish" | "changes" | "bip_publish";
|
|
1945
2045
|
};
|
|
1946
2046
|
type AppPageRejectedNotificationPayload = {
|
|
1947
2047
|
appId: string;
|
|
1948
2048
|
appName: string;
|
|
1949
|
-
scope: "publish" | "changes";
|
|
2049
|
+
scope: "publish" | "changes" | "bip_publish";
|
|
1950
2050
|
notes: string;
|
|
1951
2051
|
};
|
|
1952
2052
|
type AppParticipantInviteNotificationPayload = {
|
|
@@ -1978,6 +2078,9 @@ type FriendListItem = {
|
|
|
1978
2078
|
onlineStatus: OnlineStatus;
|
|
1979
2079
|
};
|
|
1980
2080
|
type OnlineStatus = "online" | "offline";
|
|
2081
|
+
type AppFriendListResponse = {
|
|
2082
|
+
friends: Array<ThreadParticipant>;
|
|
2083
|
+
};
|
|
1981
2084
|
type FriendRequestDecision = {
|
|
1982
2085
|
decision: "accept" | "reject";
|
|
1983
2086
|
};
|
|
@@ -2419,6 +2522,16 @@ type AppPageDraft = {
|
|
|
2419
2522
|
hiddenAt: string | null;
|
|
2420
2523
|
hiddenReasonPublic: string | null;
|
|
2421
2524
|
pendingReview: boolean;
|
|
2525
|
+
bip: AppPageBipState;
|
|
2526
|
+
};
|
|
2527
|
+
type AppPageBipState = {
|
|
2528
|
+
enabled: boolean;
|
|
2529
|
+
status: "draft" | "pending_review" | "published" | "hidden";
|
|
2530
|
+
firstPublishedAt: string | null;
|
|
2531
|
+
reviewedAt: string | null;
|
|
2532
|
+
reviewNotes: string | null;
|
|
2533
|
+
hiddenAt: string | null;
|
|
2534
|
+
hiddenReasonPublic: string | null;
|
|
2422
2535
|
};
|
|
2423
2536
|
type UpdateAppPage = {
|
|
2424
2537
|
categories?: AppPageCategories;
|
|
@@ -2443,6 +2556,9 @@ type UpdateAppPage = {
|
|
|
2443
2556
|
type AppPageGalleryUploadResponse = {
|
|
2444
2557
|
url: string;
|
|
2445
2558
|
};
|
|
2559
|
+
type AppPageBipToggle = {
|
|
2560
|
+
enabled: boolean;
|
|
2561
|
+
};
|
|
2446
2562
|
type AdminActivePlayersResponse = {
|
|
2447
2563
|
players: Array<AdminActivePlayer>;
|
|
2448
2564
|
total: number;
|
|
@@ -2581,6 +2697,10 @@ type AdminAppPageItem = {
|
|
|
2581
2697
|
hiddenAt: string | null;
|
|
2582
2698
|
hiddenReasonInternal: string | null;
|
|
2583
2699
|
pendingChangesSubmittedAt: string | null;
|
|
2700
|
+
bipEnabled: boolean;
|
|
2701
|
+
bipStatus: "draft" | "pending_review" | "published" | "hidden";
|
|
2702
|
+
bipFirstPublishedAt: string | null;
|
|
2703
|
+
bipHiddenAt: string | null;
|
|
2584
2704
|
};
|
|
2585
2705
|
type AdminAppPageStatusResponse = {
|
|
2586
2706
|
status: "draft" | "pending_review" | "published" | "hidden";
|
|
@@ -2606,6 +2726,25 @@ type AdminAppPageDiffField = {
|
|
|
2606
2726
|
from: string;
|
|
2607
2727
|
to: string;
|
|
2608
2728
|
};
|
|
2729
|
+
type AdminAppPageBipStatusResponse = {
|
|
2730
|
+
bipStatus: "draft" | "pending_review" | "published" | "hidden";
|
|
2731
|
+
};
|
|
2732
|
+
type AdminAppContentReportListResponse = {
|
|
2733
|
+
reports: Array<AdminAppContentReportItem>;
|
|
2734
|
+
total: number;
|
|
2735
|
+
hasMore: boolean;
|
|
2736
|
+
};
|
|
2737
|
+
type AdminAppContentReportItem = {
|
|
2738
|
+
id: string;
|
|
2739
|
+
category: AppContentReportCategory;
|
|
2740
|
+
details: string | null;
|
|
2741
|
+
status: AppContentReportStatus;
|
|
2742
|
+
acknowledgedAt: string | null;
|
|
2743
|
+
createdAt: string;
|
|
2744
|
+
appId: string;
|
|
2745
|
+
appName: string;
|
|
2746
|
+
appSlug: string | null;
|
|
2747
|
+
};
|
|
2609
2748
|
type PlatformFeesResponse = {
|
|
2610
2749
|
purchaseFeeBps: number;
|
|
2611
2750
|
stakeFeeBps: number;
|
|
@@ -2957,7 +3096,7 @@ declare function listActivePlayers(context: TransportContext, input: {
|
|
|
2957
3096
|
//#region src/admin/app-pages.d.ts
|
|
2958
3097
|
declare function listAppPages(context: TransportContext, input: {
|
|
2959
3098
|
readonly bearer: string;
|
|
2960
|
-
readonly status?: "draft" | "pending_review" | "published" | "hidden" | "all" | "pending_changes";
|
|
3099
|
+
readonly status?: "draft" | "pending_review" | "published" | "hidden" | "all" | "pending_changes" | "bip_pending_review";
|
|
2961
3100
|
}): Promise<AdminAppPageListResponse>;
|
|
2962
3101
|
declare function getAppPageChanges(context: TransportContext, input: {
|
|
2963
3102
|
readonly bearer: string;
|
|
@@ -2982,6 +3121,20 @@ declare function reviewAppPage(context: TransportContext, input: {
|
|
|
2982
3121
|
readonly appId: string;
|
|
2983
3122
|
readonly body: ReviewAppPage;
|
|
2984
3123
|
}): Promise<AdminAppPageStatusResponse>;
|
|
3124
|
+
declare function reviewAppPageBip(context: TransportContext, input: {
|
|
3125
|
+
readonly bearer: string;
|
|
3126
|
+
readonly appId: string;
|
|
3127
|
+
readonly body: ReviewAppPage;
|
|
3128
|
+
}): Promise<AdminAppPageBipStatusResponse>;
|
|
3129
|
+
declare function hideAppPageBip(context: TransportContext, input: {
|
|
3130
|
+
readonly bearer: string;
|
|
3131
|
+
readonly appId: string;
|
|
3132
|
+
readonly body: HideAppPage;
|
|
3133
|
+
}): Promise<AdminAppPageBipStatusResponse>;
|
|
3134
|
+
declare function unhideAppPageBip(context: TransportContext, input: {
|
|
3135
|
+
readonly bearer: string;
|
|
3136
|
+
readonly appId: string;
|
|
3137
|
+
}): Promise<AdminAppPageBipStatusResponse>;
|
|
2985
3138
|
//#endregion
|
|
2986
3139
|
//#region src/admin/appeals.d.ts
|
|
2987
3140
|
declare function listAppealQueue(context: TransportContext, input: {
|
|
@@ -3013,6 +3166,19 @@ declare function resolveAppeal(context: TransportContext, input: {
|
|
|
3013
3166
|
readonly body: AppealResolveRequest;
|
|
3014
3167
|
}): Promise<AppealResolveSignedResponse>;
|
|
3015
3168
|
//#endregion
|
|
3169
|
+
//#region src/admin/content-reports.d.ts
|
|
3170
|
+
declare function listAdminContentReports(context: TransportContext, input: {
|
|
3171
|
+
readonly bearer: string;
|
|
3172
|
+
readonly status?: "open" | "acknowledged" | "dismissed" | "all";
|
|
3173
|
+
readonly limit?: number;
|
|
3174
|
+
readonly offset?: number;
|
|
3175
|
+
}): Promise<AdminAppContentReportListResponse>;
|
|
3176
|
+
declare function triageAdminContentReport(context: TransportContext, input: {
|
|
3177
|
+
readonly bearer: string;
|
|
3178
|
+
readonly reportId: string;
|
|
3179
|
+
readonly status: "acknowledged" | "dismissed";
|
|
3180
|
+
}): Promise<AppContentReport>;
|
|
3181
|
+
//#endregion
|
|
3016
3182
|
//#region src/admin/developers.d.ts
|
|
3017
3183
|
declare function listDeveloperRequests(context: TransportContext, input: {
|
|
3018
3184
|
readonly bearer: string;
|
|
@@ -3152,6 +3318,84 @@ declare function getAppPage(context: TransportContext, input: {
|
|
|
3152
3318
|
readonly slug: string;
|
|
3153
3319
|
}): Promise<PublicAppPage>;
|
|
3154
3320
|
//#endregion
|
|
3321
|
+
//#region src/catalog/bip-updates.d.ts
|
|
3322
|
+
declare function listBipUpdates(context: TransportContext, input: {
|
|
3323
|
+
readonly bearer?: string;
|
|
3324
|
+
readonly slug: string;
|
|
3325
|
+
readonly limit?: number;
|
|
3326
|
+
readonly offset?: number;
|
|
3327
|
+
}): Promise<BipUpdateListResponse>;
|
|
3328
|
+
declare function listBipUpdateComments(context: TransportContext, input: {
|
|
3329
|
+
readonly bearer?: string;
|
|
3330
|
+
readonly slug: string;
|
|
3331
|
+
readonly updateId: string;
|
|
3332
|
+
readonly limit?: number;
|
|
3333
|
+
readonly offset?: number;
|
|
3334
|
+
}): Promise<BipUpdateCommentListResponse>;
|
|
3335
|
+
declare function getMyBipUpdateReactions(context: TransportContext, input: {
|
|
3336
|
+
readonly bearer: string;
|
|
3337
|
+
readonly slug: string;
|
|
3338
|
+
}): Promise<MyBipUpdateReactionsResponse>;
|
|
3339
|
+
declare function setBipUpdateReaction(context: TransportContext, input: {
|
|
3340
|
+
readonly bearer: string;
|
|
3341
|
+
readonly slug: string;
|
|
3342
|
+
readonly updateId: string;
|
|
3343
|
+
readonly body: SetBipUpdateReactionRequest;
|
|
3344
|
+
}): Promise<SetBipUpdateReactionResponse>;
|
|
3345
|
+
declare function commentOnBipUpdate(context: TransportContext, input: {
|
|
3346
|
+
readonly bearer: string;
|
|
3347
|
+
readonly slug: string;
|
|
3348
|
+
readonly updateId: string;
|
|
3349
|
+
readonly body: string;
|
|
3350
|
+
}): Promise<CreateBipUpdateCommentResponse>;
|
|
3351
|
+
declare function deleteBipUpdateComment(context: TransportContext, input: {
|
|
3352
|
+
readonly bearer: string;
|
|
3353
|
+
readonly slug: string;
|
|
3354
|
+
readonly commentId: string;
|
|
3355
|
+
}): Promise<DeleteBipUpdateCommentResponse>;
|
|
3356
|
+
declare function listDeveloperBipUpdates(context: TransportContext, input: {
|
|
3357
|
+
readonly bearer: string;
|
|
3358
|
+
readonly appId: string;
|
|
3359
|
+
readonly limit?: number;
|
|
3360
|
+
readonly offset?: number;
|
|
3361
|
+
}): Promise<BipUpdateListResponse>;
|
|
3362
|
+
declare function createBipUpdate(context: TransportContext, input: {
|
|
3363
|
+
readonly bearer: string;
|
|
3364
|
+
readonly appId: string;
|
|
3365
|
+
readonly body: CreateBipUpdateRequest;
|
|
3366
|
+
}): Promise<BipUpdate>;
|
|
3367
|
+
declare function updateBipUpdate(context: TransportContext, input: {
|
|
3368
|
+
readonly bearer: string;
|
|
3369
|
+
readonly appId: string;
|
|
3370
|
+
readonly updateId: string;
|
|
3371
|
+
readonly body: UpdateBipUpdateRequest;
|
|
3372
|
+
}): Promise<BipUpdate>;
|
|
3373
|
+
declare function deleteBipUpdate(context: TransportContext, input: {
|
|
3374
|
+
readonly bearer: string;
|
|
3375
|
+
readonly appId: string;
|
|
3376
|
+
readonly updateId: string;
|
|
3377
|
+
}): Promise<DeleteBipUpdateResponse>;
|
|
3378
|
+
declare function uploadBipUpdateMedia(context: TransportContext, input: {
|
|
3379
|
+
readonly bearer: string;
|
|
3380
|
+
readonly appId: string;
|
|
3381
|
+
readonly file: Blob;
|
|
3382
|
+
readonly filename: string;
|
|
3383
|
+
readonly contentType: string;
|
|
3384
|
+
}): Promise<BipUpdateMediaUploadResponse>;
|
|
3385
|
+
//#endregion
|
|
3386
|
+
//#region src/catalog/build-in-public.d.ts
|
|
3387
|
+
declare function getBipDirectory(context: TransportContext, input: {
|
|
3388
|
+
readonly bearer?: string;
|
|
3389
|
+
readonly genre?: string;
|
|
3390
|
+
readonly q?: string;
|
|
3391
|
+
readonly before?: string;
|
|
3392
|
+
readonly limit?: number;
|
|
3393
|
+
}): Promise<LibraryListResponse>;
|
|
3394
|
+
declare function getBipPage(context: TransportContext, input: {
|
|
3395
|
+
readonly bearer?: string;
|
|
3396
|
+
readonly slug: string;
|
|
3397
|
+
}): Promise<PublicBipPage>;
|
|
3398
|
+
//#endregion
|
|
3155
3399
|
//#region src/catalog/content-reports.d.ts
|
|
3156
3400
|
declare function submitAppContentReport(context: TransportContext, input: {
|
|
3157
3401
|
readonly appId: string;
|
|
@@ -3564,6 +3808,19 @@ declare function unpublishAppPage(context: TransportContext, input: {
|
|
|
3564
3808
|
readonly bearer: string;
|
|
3565
3809
|
readonly appId: string;
|
|
3566
3810
|
}): Promise<AppPageDraft>;
|
|
3811
|
+
declare function setAppPageBip(context: TransportContext, input: {
|
|
3812
|
+
readonly bearer: string;
|
|
3813
|
+
readonly appId: string;
|
|
3814
|
+
readonly body: AppPageBipToggle;
|
|
3815
|
+
}): Promise<AppPageDraft>;
|
|
3816
|
+
declare function submitAppPageBipForReview(context: TransportContext, input: {
|
|
3817
|
+
readonly bearer: string;
|
|
3818
|
+
readonly appId: string;
|
|
3819
|
+
}): Promise<AppPageDraft>;
|
|
3820
|
+
declare function unpublishAppPageBip(context: TransportContext, input: {
|
|
3821
|
+
readonly bearer: string;
|
|
3822
|
+
readonly appId: string;
|
|
3823
|
+
}): Promise<AppPageDraft>;
|
|
3567
3824
|
//#endregion
|
|
3568
3825
|
//#region src/developer/participants.d.ts
|
|
3569
3826
|
declare function listDeveloperAppParticipants(context: TransportContext, input: {
|
|
@@ -4350,6 +4607,9 @@ declare function cancelFriendRequest(context: TransportContext, input: {
|
|
|
4350
4607
|
declare function listFriends(context: TransportContext, input: {
|
|
4351
4608
|
readonly bearer: string;
|
|
4352
4609
|
}): Promise<FriendListResponse>;
|
|
4610
|
+
declare function listFriendsForApp(context: TransportContext, input: {
|
|
4611
|
+
readonly bearer: string;
|
|
4612
|
+
}): Promise<AppFriendListResponse>;
|
|
4353
4613
|
//#endregion
|
|
4354
4614
|
//#region src/reads/socials.d.ts
|
|
4355
4615
|
declare function listSocials(context: TransportContext, input: {
|
|
@@ -4577,6 +4837,11 @@ declare class TronNodeClient {
|
|
|
4577
4837
|
body: MintRequestInput;
|
|
4578
4838
|
}) => Promise<MintRequestResult>;
|
|
4579
4839
|
};
|
|
4840
|
+
get friends(): {
|
|
4841
|
+
list: (input: {
|
|
4842
|
+
bearer: string;
|
|
4843
|
+
}) => Promise<AppFriendListResponse>;
|
|
4844
|
+
};
|
|
4580
4845
|
get socials(): {
|
|
4581
4846
|
list: (input: {
|
|
4582
4847
|
bearer: string;
|
|
@@ -4598,4 +4863,4 @@ declare class TronNodeClient {
|
|
|
4598
4863
|
};
|
|
4599
4864
|
}
|
|
4600
4865
|
//#endregion
|
|
4601
|
-
export { AppTokenCache, AuthorizeUrl, type BrowserClientConfig, BuildAuthorizeUrlInput, ChargeResult, type FetchLike, GameHalfCredentials, HttpsGuardOptions, InflightDedup, InventoryUpdateEvent, type Logger, MountPresenceWidgetOptions, NOOP_RATE_LIMITER, type NodeClientConfig, OauthErrorCode, OauthInventoryEventsSubscriber, OauthInventoryEventsSubscriberLifecycle, OauthInventoryEventsSubscriberOptions, OauthPaymentEventsSubscriber, OauthPaymentEventsSubscriberLifecycle, OauthPaymentEventsSubscriberOptions, OauthPaymentWebhookBody, type OauthScope, PkcePair, PlaySessionGameStatus, PresenceStatus, PresenceWidgetHandle, RateLimitOptions, RateLimiter, RequestOptions, SERVER_RATE_LIMIT_MAX_MUTATING, SERVER_RATE_LIMIT_MAX_READ, SERVER_RATE_LIMIT_WINDOW_MS, type SdkBaseConfig, TRON_WS_CLOSE_CODES, type TokenSet, type TokenStore, TransportContext, TronError, TronNodeClient, TronOauthError, TronWsCloseCode, TronWsCloseError, VerifyWebhookFailure, VerifyWebhookInput, VerifyWebhookResult, VerifyWebhookSuccess, WEBHOOK_SIGNATURE_HEADER, WEBHOOK_TIMESTAMP_HEADER, acceptDeveloperInvite, addAdmin, addAppealBlacklist, addReaction, approveTronCashout, assertSecureIssuer, batchThreadDmKeys, bindReferral, buildAuthorizeUrl, cancelFriendRequest, cancelPot, charge, chargeTronDirect, chargeTronPot, commentOnGameReview, completePaymentIntent, confirmPlaySession, consolidateDeveloperAppWallet, createAppTokenCache, createConsoleLogger, createDelegation, createDeveloperApiKey, createDeveloperApp, createDeveloperAppMintPermit, createDeveloperVaultPermit, createDeveloperWithdrawPermit, createDirectThread, createInMemoryTokenStore, createInflightDedup, createNoopLogger, createRateLimiter, createReferralCode, createTronCashout, createTronConnectOnboarding, createTronDeposit, createTronTransfer, createTronTransferChallenge, decideFriendRequest, declineDeveloperInvite, defaultEndpoints, deleteAppPageBanner, deleteAppPageThumbnail, deleteAppPageThumbnailVideo, deleteAvatar, deleteDelegation, deleteDeveloperApp, deleteDeveloperAppLogo, deleteDeveloperProfileLogo, deleteDeveloperRequestLogo, deleteGameReviewComment, deleteGameReviewReply, deleteMessage, deleteMyGameReview, deleteThread, deleteThreadLogo, denyPaymentIntent, distributePot, distributeTronPot, editMessage, endPlaySession, exchangeAuthorizationCode, executeNftTransfer, fetchAuthorizationServerMetadata, fetchUserInfo, fileAppeal, fileAppealPotLeg, followUser, forceWithdrawVaultCustody, generatePkce, generateState, getActivity, getActivityGroup, getAdminAppealRoom, getAppFeeConfig, getAppPage, getAppPageChanges, getAppealRoom, getDelegation, getDeveloperAppActivity, getDeveloperAppBalances, getDeveloperAppEarnings, getDeveloperAppInventoryItemHolders, getDeveloperAppOverview, getDeveloperAppPage, getDeveloperAppPlaytime, getDeveloperAppTronBalance, getDeveloperAppWallets, getDeveloperPaymentAppeals, getDeveloperPaymentPendingDeposits, getDeveloperStatus, getDeveloperTronBalanceSummary, getDmKeyBackupStatus, getIntentStatus, getLibrary, getMoonpayAvailability, getMyDmKey, getMyGameReview, getMyGameReviewReactions, getOutstanding, getPaymentChains, getPaymentHistory, getPaymentIntent, getPaymentLimits, getPaymentPrice, getPlatformFees, getPlaytime, getPlaytimeTimeseries, getPublicProfile, getReferral, getThreadDmKey, getTronBalance, getTronGameBalance, getTronSecurity, heartbeatPlaySession, hideAppPage, hideThread, inventoryUpdateEventSchema, inviteDeveloperAppParticipant, inviteParticipants, leaveThread, listActivePlayers, listAdmins, listAppPages, listAppealBlacklist, listAppealQueue, listAudit, listDeveloperApiKeys, listDeveloperAppContentReports, listDeveloperAppInventoryCollections, listDeveloperAppInventoryItems, listDeveloperAppParticipants, listDeveloperAppReviews, listDeveloperInvites, listDeveloperRequests, listDevelopers, listFriends, listGameReviewComments, listGameReviews, listInventory, listInventoryForApp, listInventoryMintPermits, listInventoryVaultPermits, listInventoryVaulted, listNotifications, listOauthInventoryVaulted, listPaymentAuthorizations, listSocials, listThreadMessages, listThreads, listTronCashoutQueue, listTronCashouts, listTronLedger, listUsers, listWalletManager, listWallets, markAllNotificationsRead, markThreadRead, mintClientCredentialsToken, mintMoonpayBuyUrl, mintMoonpaySellUrl, mountPresenceWidget, oauthPaymentWebhookBodySchema, parseJson, pinThread, postAdminAppealRoomMessage, postAppealRoomMessage, previewReferral, provisionDeveloperAppWallet, publishDmKey, quoteDeveloperAppInventoryRegistration, quoteNftTransfer, quoteRelayedVaultPermit, redeemInventoryMintPermit, refreshAccessToken, registerDeveloperAppInventoryItem, registerOauthClient, rejectTronCashout, removeAdmin, removeAppealBlacklist, removeFriend, removeParticipant, removeReaction, replyToGameReview, requestDeveloperAppProduction, requestMint, requestPayout, resolveAppeal, reviewAppPage, reviewAppPageChanges, reviewDeveloperRequest, revokeDeveloperApiKey, revokeDeveloperAppParticipant, revokePaymentAuthorization, revokeToken, rotateDeveloperAppKey, rotateDeveloperAppPaymentWebhookSecret, rotateProcessorTreasury, searchGiphy, searchUsers, send, sendFriendRequest, sendJson, sendMessage, sendPresenceHeartbeat, setMyGameReviewReaction, setProcessorWhitelist, setTronSecurity, setVaultOperator, setVaultPause, setVaultWithdrawLockDefault, setVaultWithdrawLockOverride, setupDmKeyBackup, sha256Base64Url, signInventoryVaultPermit, signPaymentIntent, startOauthInventoryEventsSubscriber, startOauthPaymentEventsSubscriber, submitAppContentReport, submitAppPageForReview, submitDeveloperRequest, submitRelayedVaultPermit, tipGameReview, toTokenSet, unfollowUser, unhideAppPage, unlockDmKeyBackup, unpinThread, unpublishAppPage, updateAdminRole, updateAppFeeConfig, updateAppPage, updateDeveloperApp, updateDeveloperAppAutoSweep, updateDeveloperAppContentReportStatus, updateDeveloperProfile, updateNotification, updateParticipantRole, updatePaymentAuthorization, updatePlatformFees, updateProfile, updateThreadSettings, updateUserBan, updateWalletLabel, uploadAdminAppealRoomAttachment, uploadAppPageBanner, uploadAppPageGallery, uploadAppPageThumbnail, uploadAppPageThumbnailVideo, uploadAppealRoomAttachment, uploadAttachment, uploadAvatar, uploadDeveloperAppInventoryItemBanner, uploadDeveloperAppInventoryItemImage, uploadDeveloperAppLogo, uploadDeveloperProfileLogo, uploadDeveloperRequestLogo, uploadMultipart, uploadThreadLogo, upsertMyGameReview, verifyWebhook, withdrawDeveloperAppWallet };
|
|
4866
|
+
export { AppTokenCache, AuthorizeUrl, type BrowserClientConfig, BuildAuthorizeUrlInput, ChargeResult, type FetchLike, GameHalfCredentials, HttpsGuardOptions, InflightDedup, InventoryUpdateEvent, type Logger, MountPresenceWidgetOptions, NOOP_RATE_LIMITER, type NodeClientConfig, OauthErrorCode, OauthInventoryEventsSubscriber, OauthInventoryEventsSubscriberLifecycle, OauthInventoryEventsSubscriberOptions, OauthPaymentEventsSubscriber, OauthPaymentEventsSubscriberLifecycle, OauthPaymentEventsSubscriberOptions, OauthPaymentWebhookBody, type OauthScope, PkcePair, PlaySessionGameStatus, PresenceStatus, PresenceWidgetHandle, RateLimitOptions, RateLimiter, RequestOptions, SERVER_RATE_LIMIT_MAX_MUTATING, SERVER_RATE_LIMIT_MAX_READ, SERVER_RATE_LIMIT_WINDOW_MS, type SdkBaseConfig, TRON_WS_CLOSE_CODES, type TokenSet, type TokenStore, TransportContext, TronError, TronNodeClient, TronOauthError, TronWsCloseCode, TronWsCloseError, VerifyWebhookFailure, VerifyWebhookInput, VerifyWebhookResult, VerifyWebhookSuccess, WEBHOOK_SIGNATURE_HEADER, WEBHOOK_TIMESTAMP_HEADER, acceptDeveloperInvite, addAdmin, addAppealBlacklist, addReaction, approveTronCashout, assertSecureIssuer, batchThreadDmKeys, bindReferral, buildAuthorizeUrl, cancelFriendRequest, cancelPot, charge, chargeTronDirect, chargeTronPot, commentOnBipUpdate, commentOnGameReview, completePaymentIntent, confirmPlaySession, consolidateDeveloperAppWallet, createAppTokenCache, createBipUpdate, createConsoleLogger, createDelegation, createDeveloperApiKey, createDeveloperApp, createDeveloperAppMintPermit, createDeveloperVaultPermit, createDeveloperWithdrawPermit, createDirectThread, createInMemoryTokenStore, createInflightDedup, createNoopLogger, createRateLimiter, createReferralCode, createTronCashout, createTronConnectOnboarding, createTronDeposit, createTronTransfer, createTronTransferChallenge, decideFriendRequest, declineDeveloperInvite, defaultEndpoints, deleteAppPageBanner, deleteAppPageThumbnail, deleteAppPageThumbnailVideo, deleteAvatar, deleteBipUpdate, deleteBipUpdateComment, deleteDelegation, deleteDeveloperApp, deleteDeveloperAppLogo, deleteDeveloperProfileLogo, deleteDeveloperRequestLogo, deleteGameReviewComment, deleteGameReviewReply, deleteMessage, deleteMyGameReview, deleteThread, deleteThreadLogo, denyPaymentIntent, distributePot, distributeTronPot, editMessage, endPlaySession, exchangeAuthorizationCode, executeNftTransfer, fetchAuthorizationServerMetadata, fetchUserInfo, fileAppeal, fileAppealPotLeg, followUser, forceWithdrawVaultCustody, generatePkce, generateState, getActivity, getActivityGroup, getAdminAppealRoom, getAppFeeConfig, getAppPage, getAppPageChanges, getAppealRoom, getBipDirectory, getBipPage, getDelegation, getDeveloperAppActivity, getDeveloperAppBalances, getDeveloperAppEarnings, getDeveloperAppInventoryItemHolders, getDeveloperAppOverview, getDeveloperAppPage, getDeveloperAppPlaytime, getDeveloperAppTronBalance, getDeveloperAppWallets, getDeveloperPaymentAppeals, getDeveloperPaymentPendingDeposits, getDeveloperStatus, getDeveloperTronBalanceSummary, getDmKeyBackupStatus, getIntentStatus, getLibrary, getMoonpayAvailability, getMyBipUpdateReactions, getMyDmKey, getMyGameReview, getMyGameReviewReactions, getOutstanding, getPaymentChains, getPaymentHistory, getPaymentIntent, getPaymentLimits, getPaymentPrice, getPlatformFees, getPlaytime, getPlaytimeTimeseries, getPublicProfile, getReferral, getThreadDmKey, getTronBalance, getTronGameBalance, getTronSecurity, heartbeatPlaySession, hideAppPage, hideAppPageBip, hideThread, inventoryUpdateEventSchema, inviteDeveloperAppParticipant, inviteParticipants, leaveThread, listActivePlayers, listAdminContentReports, listAdmins, listAppPages, listAppealBlacklist, listAppealQueue, listAudit, listBipUpdateComments, listBipUpdates, listDeveloperApiKeys, listDeveloperAppContentReports, listDeveloperAppInventoryCollections, listDeveloperAppInventoryItems, listDeveloperAppParticipants, listDeveloperAppReviews, listDeveloperBipUpdates, listDeveloperInvites, listDeveloperRequests, listDevelopers, listFriends, listFriendsForApp, listGameReviewComments, listGameReviews, listInventory, listInventoryForApp, listInventoryMintPermits, listInventoryVaultPermits, listInventoryVaulted, listNotifications, listOauthInventoryVaulted, listPaymentAuthorizations, listSocials, listThreadMessages, listThreads, listTronCashoutQueue, listTronCashouts, listTronLedger, listUsers, listWalletManager, listWallets, markAllNotificationsRead, markThreadRead, mintClientCredentialsToken, mintMoonpayBuyUrl, mintMoonpaySellUrl, mountPresenceWidget, oauthPaymentWebhookBodySchema, parseJson, pinThread, postAdminAppealRoomMessage, postAppealRoomMessage, previewReferral, provisionDeveloperAppWallet, publishDmKey, quoteDeveloperAppInventoryRegistration, quoteNftTransfer, quoteRelayedVaultPermit, redeemInventoryMintPermit, refreshAccessToken, registerDeveloperAppInventoryItem, registerOauthClient, rejectTronCashout, removeAdmin, removeAppealBlacklist, removeFriend, removeParticipant, removeReaction, replyToGameReview, requestDeveloperAppProduction, requestMint, requestPayout, resolveAppeal, reviewAppPage, reviewAppPageBip, reviewAppPageChanges, reviewDeveloperRequest, revokeDeveloperApiKey, revokeDeveloperAppParticipant, revokePaymentAuthorization, revokeToken, rotateDeveloperAppKey, rotateDeveloperAppPaymentWebhookSecret, rotateProcessorTreasury, searchGiphy, searchUsers, send, sendFriendRequest, sendJson, sendMessage, sendPresenceHeartbeat, setAppPageBip, setBipUpdateReaction, setMyGameReviewReaction, setProcessorWhitelist, setTronSecurity, setVaultOperator, setVaultPause, setVaultWithdrawLockDefault, setVaultWithdrawLockOverride, setupDmKeyBackup, sha256Base64Url, signInventoryVaultPermit, signPaymentIntent, startOauthInventoryEventsSubscriber, startOauthPaymentEventsSubscriber, submitAppContentReport, submitAppPageBipForReview, submitAppPageForReview, submitDeveloperRequest, submitRelayedVaultPermit, tipGameReview, toTokenSet, triageAdminContentReport, unfollowUser, unhideAppPage, unhideAppPageBip, unlockDmKeyBackup, unpinThread, unpublishAppPage, unpublishAppPageBip, updateAdminRole, updateAppFeeConfig, updateAppPage, updateBipUpdate, updateDeveloperApp, updateDeveloperAppAutoSweep, updateDeveloperAppContentReportStatus, updateDeveloperProfile, updateNotification, updateParticipantRole, updatePaymentAuthorization, updatePlatformFees, updateProfile, updateThreadSettings, updateUserBan, updateWalletLabel, uploadAdminAppealRoomAttachment, uploadAppPageBanner, uploadAppPageGallery, uploadAppPageThumbnail, uploadAppPageThumbnailVideo, uploadAppealRoomAttachment, uploadAttachment, uploadAvatar, uploadBipUpdateMedia, uploadDeveloperAppInventoryItemBanner, uploadDeveloperAppInventoryItemImage, uploadDeveloperAppLogo, uploadDeveloperProfileLogo, uploadDeveloperRequestLogo, uploadMultipart, uploadThreadLogo, upsertMyGameReview, verifyWebhook, withdrawDeveloperAppWallet };
|