@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/browser/index.d.ts
CHANGED
|
@@ -91,7 +91,7 @@ type Username = string;
|
|
|
91
91
|
type DisplayName = string | null;
|
|
92
92
|
type Bio = string | null;
|
|
93
93
|
type WebsiteUrl = string | null;
|
|
94
|
-
type BannerVariant = "yellow" | "green" | "blue" | "white" | "black";
|
|
94
|
+
type BannerVariant = "yellow" | "green" | "blue" | "white" | "black" | "red";
|
|
95
95
|
type AdminRole = "super-admin" | "admin" | "read-only" | null;
|
|
96
96
|
type PresenceStatusMode = "auto" | "online" | "offline";
|
|
97
97
|
type PlatformEnvironment = "development" | "production";
|
|
@@ -106,7 +106,7 @@ type OauthAuthorizationServerMetadata = {
|
|
|
106
106
|
grant_types_supported: Array<"authorization_code" | "refresh_token" | "client_credentials">;
|
|
107
107
|
code_challenge_methods_supported: Array<"S256">;
|
|
108
108
|
token_endpoint_auth_methods_supported: Array<"client_secret_basic" | "client_secret_post" | "none">;
|
|
109
|
-
scopes_supported: Array<"openid" | "profile" | "payments:charge" | "inventory:read" | "developer:read" | "developer:apps" | "developer:pages">;
|
|
109
|
+
scopes_supported: Array<"openid" | "profile" | "payments:charge" | "inventory:read" | "social:read" | "developer:read" | "developer:apps" | "developer:pages">;
|
|
110
110
|
};
|
|
111
111
|
type OauthScopeString = string;
|
|
112
112
|
type OauthState = string;
|
|
@@ -382,6 +382,111 @@ type AppPageAgeRating = "everyone" | "13_plus" | "16_plus" | "18_plus" | null;
|
|
|
382
382
|
type AppPageLanguages = Array<"en" | "es" | "fr" | "de" | "pt" | "it" | "ru" | "ja" | "ko" | "zh" | "hi" | "ar" | "tr" | "vi" | "id" | "th" | "pl" | "nl">;
|
|
383
383
|
type AppPageReleaseStatus = "live" | "open_beta" | "coming_soon";
|
|
384
384
|
type AppPagePaymentsMode = "tron" | "onchain" | "both" | null;
|
|
385
|
+
type PublicBipPage = {
|
|
386
|
+
appId: string;
|
|
387
|
+
slug: AppPageSlug;
|
|
388
|
+
appName: string;
|
|
389
|
+
appLogoUrl: string | null;
|
|
390
|
+
categories: AppPageCategories;
|
|
391
|
+
tagline: AppPageTagline;
|
|
392
|
+
bannerUrl: string | null;
|
|
393
|
+
discordUrl: string | null;
|
|
394
|
+
twitterUrl: string | null;
|
|
395
|
+
redditUrl: string | null;
|
|
396
|
+
telegramUrl: string | null;
|
|
397
|
+
gallery: AppPageGallery;
|
|
398
|
+
chapters: AppPageChapters;
|
|
399
|
+
links: AppPageLinks;
|
|
400
|
+
studio: PublicAppPageStudio;
|
|
401
|
+
platforms: AppPagePlatforms;
|
|
402
|
+
gameType: AppPageGameType;
|
|
403
|
+
ageRating: AppPageAgeRating;
|
|
404
|
+
languages: AppPageLanguages;
|
|
405
|
+
releaseStatus: AppPageReleaseStatus;
|
|
406
|
+
publishedAt: string;
|
|
407
|
+
updatedAt: string;
|
|
408
|
+
};
|
|
409
|
+
type BipUpdateListResponse = {
|
|
410
|
+
updates: Array<BipUpdate>;
|
|
411
|
+
total: number;
|
|
412
|
+
hasMore: boolean;
|
|
413
|
+
};
|
|
414
|
+
type BipUpdate = {
|
|
415
|
+
id: string;
|
|
416
|
+
appId: string;
|
|
417
|
+
body: BipUpdateBody;
|
|
418
|
+
attachments: BipUpdateAttachments;
|
|
419
|
+
reactions: BipUpdateReactionCounts;
|
|
420
|
+
commentCount: number;
|
|
421
|
+
createdAt: string;
|
|
422
|
+
updatedAt: string;
|
|
423
|
+
};
|
|
424
|
+
type BipUpdateBody = string;
|
|
425
|
+
type BipUpdateAttachments = Array<BipUpdateAttachment>;
|
|
426
|
+
type BipUpdateAttachment = {
|
|
427
|
+
url: string;
|
|
428
|
+
kind: "image" | "video";
|
|
429
|
+
order: number;
|
|
430
|
+
};
|
|
431
|
+
type BipUpdateReactionCounts = {
|
|
432
|
+
up: number;
|
|
433
|
+
down: number;
|
|
434
|
+
};
|
|
435
|
+
type BipUpdateCommentListResponse = {
|
|
436
|
+
comments: Array<BipUpdateComment>;
|
|
437
|
+
total: number;
|
|
438
|
+
hasMore: boolean;
|
|
439
|
+
};
|
|
440
|
+
type BipUpdateComment = {
|
|
441
|
+
id: string;
|
|
442
|
+
body: BipUpdateCommentBody;
|
|
443
|
+
author: ReviewAuthor;
|
|
444
|
+
createdAt: string;
|
|
445
|
+
};
|
|
446
|
+
type BipUpdateCommentBody = string;
|
|
447
|
+
type ReviewAuthor = {
|
|
448
|
+
userId: string;
|
|
449
|
+
handle: string | null;
|
|
450
|
+
name: string | null;
|
|
451
|
+
avatarUrl: string | null;
|
|
452
|
+
};
|
|
453
|
+
type MyBipUpdateReactionsResponse = {
|
|
454
|
+
reactions: Array<MyBipUpdateReaction>;
|
|
455
|
+
};
|
|
456
|
+
type MyBipUpdateReaction = {
|
|
457
|
+
updateId: string;
|
|
458
|
+
vote: "up" | "down";
|
|
459
|
+
};
|
|
460
|
+
type SetBipUpdateReactionResponse = {
|
|
461
|
+
reactions: BipUpdateReactionCounts;
|
|
462
|
+
vote: BipUpdateVote;
|
|
463
|
+
};
|
|
464
|
+
type BipUpdateVote = "up" | "down" | null;
|
|
465
|
+
type SetBipUpdateReactionRequest = {
|
|
466
|
+
vote: BipUpdateVote;
|
|
467
|
+
};
|
|
468
|
+
type CreateBipUpdateCommentResponse = {
|
|
469
|
+
comment: BipUpdateComment;
|
|
470
|
+
commentCount: number;
|
|
471
|
+
};
|
|
472
|
+
type DeleteBipUpdateCommentResponse = {
|
|
473
|
+
commentCount: number;
|
|
474
|
+
};
|
|
475
|
+
type CreateBipUpdateRequest = {
|
|
476
|
+
body: BipUpdateBody;
|
|
477
|
+
attachments?: BipUpdateAttachments;
|
|
478
|
+
};
|
|
479
|
+
type UpdateBipUpdateRequest = {
|
|
480
|
+
body?: BipUpdateBody;
|
|
481
|
+
attachments?: BipUpdateAttachments;
|
|
482
|
+
};
|
|
483
|
+
type DeleteBipUpdateResponse = {
|
|
484
|
+
deleted: true;
|
|
485
|
+
};
|
|
486
|
+
type BipUpdateMediaUploadResponse = {
|
|
487
|
+
url: string;
|
|
488
|
+
kind: "image" | "video";
|
|
489
|
+
};
|
|
385
490
|
type ReviewListResponse = {
|
|
386
491
|
aggregate: ReviewAggregate;
|
|
387
492
|
reviews: Array<Review>;
|
|
@@ -415,12 +520,6 @@ type ReviewReactionCounts = {
|
|
|
415
520
|
unhelpful: number;
|
|
416
521
|
funny: number;
|
|
417
522
|
};
|
|
418
|
-
type ReviewAuthor = {
|
|
419
|
-
userId: string;
|
|
420
|
-
handle: string | null;
|
|
421
|
-
name: string | null;
|
|
422
|
-
avatarUrl: string | null;
|
|
423
|
-
};
|
|
424
523
|
type ReviewerStats = {
|
|
425
524
|
playtimeSecondsThisGame: number;
|
|
426
525
|
gamesPlayed: number;
|
|
@@ -1232,6 +1331,7 @@ type MessageTransactionNftTransfer = {
|
|
|
1232
1331
|
tokenId: string;
|
|
1233
1332
|
amount: string;
|
|
1234
1333
|
itemName: string | null;
|
|
1334
|
+
imageAssetId?: string | null;
|
|
1235
1335
|
};
|
|
1236
1336
|
type GroupThreadSummary = {
|
|
1237
1337
|
kind: "group";
|
|
@@ -1844,12 +1944,12 @@ type FriendAcceptedNotificationPayload = {
|
|
|
1844
1944
|
type AppPageApprovedNotificationPayload = {
|
|
1845
1945
|
appId: string;
|
|
1846
1946
|
appName: string;
|
|
1847
|
-
scope: "publish" | "changes";
|
|
1947
|
+
scope: "publish" | "changes" | "bip_publish";
|
|
1848
1948
|
};
|
|
1849
1949
|
type AppPageRejectedNotificationPayload = {
|
|
1850
1950
|
appId: string;
|
|
1851
1951
|
appName: string;
|
|
1852
|
-
scope: "publish" | "changes";
|
|
1952
|
+
scope: "publish" | "changes" | "bip_publish";
|
|
1853
1953
|
notes: string;
|
|
1854
1954
|
};
|
|
1855
1955
|
type AppParticipantInviteNotificationPayload = {
|
|
@@ -1881,6 +1981,9 @@ type FriendListItem = {
|
|
|
1881
1981
|
onlineStatus: OnlineStatus;
|
|
1882
1982
|
};
|
|
1883
1983
|
type OnlineStatus = "online" | "offline";
|
|
1984
|
+
type AppFriendListResponse = {
|
|
1985
|
+
friends: Array<ThreadParticipant>;
|
|
1986
|
+
};
|
|
1884
1987
|
type FriendRequestDecision = {
|
|
1885
1988
|
decision: "accept" | "reject";
|
|
1886
1989
|
};
|
|
@@ -2322,6 +2425,16 @@ type AppPageDraft = {
|
|
|
2322
2425
|
hiddenAt: string | null;
|
|
2323
2426
|
hiddenReasonPublic: string | null;
|
|
2324
2427
|
pendingReview: boolean;
|
|
2428
|
+
bip: AppPageBipState;
|
|
2429
|
+
};
|
|
2430
|
+
type AppPageBipState = {
|
|
2431
|
+
enabled: boolean;
|
|
2432
|
+
status: "draft" | "pending_review" | "published" | "hidden";
|
|
2433
|
+
firstPublishedAt: string | null;
|
|
2434
|
+
reviewedAt: string | null;
|
|
2435
|
+
reviewNotes: string | null;
|
|
2436
|
+
hiddenAt: string | null;
|
|
2437
|
+
hiddenReasonPublic: string | null;
|
|
2325
2438
|
};
|
|
2326
2439
|
type UpdateAppPage = {
|
|
2327
2440
|
categories?: AppPageCategories;
|
|
@@ -2346,6 +2459,9 @@ type UpdateAppPage = {
|
|
|
2346
2459
|
type AppPageGalleryUploadResponse = {
|
|
2347
2460
|
url: string;
|
|
2348
2461
|
};
|
|
2462
|
+
type AppPageBipToggle = {
|
|
2463
|
+
enabled: boolean;
|
|
2464
|
+
};
|
|
2349
2465
|
type AdminActivePlayersResponse = {
|
|
2350
2466
|
players: Array<AdminActivePlayer>;
|
|
2351
2467
|
total: number;
|
|
@@ -2484,6 +2600,10 @@ type AdminAppPageItem = {
|
|
|
2484
2600
|
hiddenAt: string | null;
|
|
2485
2601
|
hiddenReasonInternal: string | null;
|
|
2486
2602
|
pendingChangesSubmittedAt: string | null;
|
|
2603
|
+
bipEnabled: boolean;
|
|
2604
|
+
bipStatus: "draft" | "pending_review" | "published" | "hidden";
|
|
2605
|
+
bipFirstPublishedAt: string | null;
|
|
2606
|
+
bipHiddenAt: string | null;
|
|
2487
2607
|
};
|
|
2488
2608
|
type AdminAppPageStatusResponse = {
|
|
2489
2609
|
status: "draft" | "pending_review" | "published" | "hidden";
|
|
@@ -2509,6 +2629,25 @@ type AdminAppPageDiffField = {
|
|
|
2509
2629
|
from: string;
|
|
2510
2630
|
to: string;
|
|
2511
2631
|
};
|
|
2632
|
+
type AdminAppPageBipStatusResponse = {
|
|
2633
|
+
bipStatus: "draft" | "pending_review" | "published" | "hidden";
|
|
2634
|
+
};
|
|
2635
|
+
type AdminAppContentReportListResponse = {
|
|
2636
|
+
reports: Array<AdminAppContentReportItem>;
|
|
2637
|
+
total: number;
|
|
2638
|
+
hasMore: boolean;
|
|
2639
|
+
};
|
|
2640
|
+
type AdminAppContentReportItem = {
|
|
2641
|
+
id: string;
|
|
2642
|
+
category: AppContentReportCategory;
|
|
2643
|
+
details: string | null;
|
|
2644
|
+
status: AppContentReportStatus;
|
|
2645
|
+
acknowledgedAt: string | null;
|
|
2646
|
+
createdAt: string;
|
|
2647
|
+
appId: string;
|
|
2648
|
+
appName: string;
|
|
2649
|
+
appSlug: string | null;
|
|
2650
|
+
};
|
|
2512
2651
|
type PlatformFeesResponse = {
|
|
2513
2652
|
purchaseFeeBps: number;
|
|
2514
2653
|
stakeFeeBps: number;
|
|
@@ -2798,7 +2937,7 @@ declare function listActivePlayers(context: TransportContext, input: {
|
|
|
2798
2937
|
//#region src/admin/app-pages.d.ts
|
|
2799
2938
|
declare function listAppPages(context: TransportContext, input: {
|
|
2800
2939
|
readonly bearer: string;
|
|
2801
|
-
readonly status?: "draft" | "pending_review" | "published" | "hidden" | "all" | "pending_changes";
|
|
2940
|
+
readonly status?: "draft" | "pending_review" | "published" | "hidden" | "all" | "pending_changes" | "bip_pending_review";
|
|
2802
2941
|
}): Promise<AdminAppPageListResponse>;
|
|
2803
2942
|
declare function getAppPageChanges(context: TransportContext, input: {
|
|
2804
2943
|
readonly bearer: string;
|
|
@@ -2823,6 +2962,20 @@ declare function reviewAppPage(context: TransportContext, input: {
|
|
|
2823
2962
|
readonly appId: string;
|
|
2824
2963
|
readonly body: ReviewAppPage;
|
|
2825
2964
|
}): Promise<AdminAppPageStatusResponse>;
|
|
2965
|
+
declare function reviewAppPageBip(context: TransportContext, input: {
|
|
2966
|
+
readonly bearer: string;
|
|
2967
|
+
readonly appId: string;
|
|
2968
|
+
readonly body: ReviewAppPage;
|
|
2969
|
+
}): Promise<AdminAppPageBipStatusResponse>;
|
|
2970
|
+
declare function hideAppPageBip(context: TransportContext, input: {
|
|
2971
|
+
readonly bearer: string;
|
|
2972
|
+
readonly appId: string;
|
|
2973
|
+
readonly body: HideAppPage;
|
|
2974
|
+
}): Promise<AdminAppPageBipStatusResponse>;
|
|
2975
|
+
declare function unhideAppPageBip(context: TransportContext, input: {
|
|
2976
|
+
readonly bearer: string;
|
|
2977
|
+
readonly appId: string;
|
|
2978
|
+
}): Promise<AdminAppPageBipStatusResponse>;
|
|
2826
2979
|
//#endregion
|
|
2827
2980
|
//#region src/admin/appeals.d.ts
|
|
2828
2981
|
declare function listAppealQueue(context: TransportContext, input: {
|
|
@@ -2854,6 +3007,19 @@ declare function resolveAppeal(context: TransportContext, input: {
|
|
|
2854
3007
|
readonly body: AppealResolveRequest;
|
|
2855
3008
|
}): Promise<AppealResolveSignedResponse>;
|
|
2856
3009
|
//#endregion
|
|
3010
|
+
//#region src/admin/content-reports.d.ts
|
|
3011
|
+
declare function listAdminContentReports(context: TransportContext, input: {
|
|
3012
|
+
readonly bearer: string;
|
|
3013
|
+
readonly status?: "open" | "acknowledged" | "dismissed" | "all";
|
|
3014
|
+
readonly limit?: number;
|
|
3015
|
+
readonly offset?: number;
|
|
3016
|
+
}): Promise<AdminAppContentReportListResponse>;
|
|
3017
|
+
declare function triageAdminContentReport(context: TransportContext, input: {
|
|
3018
|
+
readonly bearer: string;
|
|
3019
|
+
readonly reportId: string;
|
|
3020
|
+
readonly status: "acknowledged" | "dismissed";
|
|
3021
|
+
}): Promise<AppContentReport>;
|
|
3022
|
+
//#endregion
|
|
2857
3023
|
//#region src/admin/developers.d.ts
|
|
2858
3024
|
declare function listDeveloperRequests(context: TransportContext, input: {
|
|
2859
3025
|
readonly bearer: string;
|
|
@@ -2993,6 +3159,84 @@ declare function getAppPage(context: TransportContext, input: {
|
|
|
2993
3159
|
readonly slug: string;
|
|
2994
3160
|
}): Promise<PublicAppPage>;
|
|
2995
3161
|
//#endregion
|
|
3162
|
+
//#region src/catalog/bip-updates.d.ts
|
|
3163
|
+
declare function listBipUpdates(context: TransportContext, input: {
|
|
3164
|
+
readonly bearer?: string;
|
|
3165
|
+
readonly slug: string;
|
|
3166
|
+
readonly limit?: number;
|
|
3167
|
+
readonly offset?: number;
|
|
3168
|
+
}): Promise<BipUpdateListResponse>;
|
|
3169
|
+
declare function listBipUpdateComments(context: TransportContext, input: {
|
|
3170
|
+
readonly bearer?: string;
|
|
3171
|
+
readonly slug: string;
|
|
3172
|
+
readonly updateId: string;
|
|
3173
|
+
readonly limit?: number;
|
|
3174
|
+
readonly offset?: number;
|
|
3175
|
+
}): Promise<BipUpdateCommentListResponse>;
|
|
3176
|
+
declare function getMyBipUpdateReactions(context: TransportContext, input: {
|
|
3177
|
+
readonly bearer: string;
|
|
3178
|
+
readonly slug: string;
|
|
3179
|
+
}): Promise<MyBipUpdateReactionsResponse>;
|
|
3180
|
+
declare function setBipUpdateReaction(context: TransportContext, input: {
|
|
3181
|
+
readonly bearer: string;
|
|
3182
|
+
readonly slug: string;
|
|
3183
|
+
readonly updateId: string;
|
|
3184
|
+
readonly body: SetBipUpdateReactionRequest;
|
|
3185
|
+
}): Promise<SetBipUpdateReactionResponse>;
|
|
3186
|
+
declare function commentOnBipUpdate(context: TransportContext, input: {
|
|
3187
|
+
readonly bearer: string;
|
|
3188
|
+
readonly slug: string;
|
|
3189
|
+
readonly updateId: string;
|
|
3190
|
+
readonly body: string;
|
|
3191
|
+
}): Promise<CreateBipUpdateCommentResponse>;
|
|
3192
|
+
declare function deleteBipUpdateComment(context: TransportContext, input: {
|
|
3193
|
+
readonly bearer: string;
|
|
3194
|
+
readonly slug: string;
|
|
3195
|
+
readonly commentId: string;
|
|
3196
|
+
}): Promise<DeleteBipUpdateCommentResponse>;
|
|
3197
|
+
declare function listDeveloperBipUpdates(context: TransportContext, input: {
|
|
3198
|
+
readonly bearer: string;
|
|
3199
|
+
readonly appId: string;
|
|
3200
|
+
readonly limit?: number;
|
|
3201
|
+
readonly offset?: number;
|
|
3202
|
+
}): Promise<BipUpdateListResponse>;
|
|
3203
|
+
declare function createBipUpdate(context: TransportContext, input: {
|
|
3204
|
+
readonly bearer: string;
|
|
3205
|
+
readonly appId: string;
|
|
3206
|
+
readonly body: CreateBipUpdateRequest;
|
|
3207
|
+
}): Promise<BipUpdate>;
|
|
3208
|
+
declare function updateBipUpdate(context: TransportContext, input: {
|
|
3209
|
+
readonly bearer: string;
|
|
3210
|
+
readonly appId: string;
|
|
3211
|
+
readonly updateId: string;
|
|
3212
|
+
readonly body: UpdateBipUpdateRequest;
|
|
3213
|
+
}): Promise<BipUpdate>;
|
|
3214
|
+
declare function deleteBipUpdate(context: TransportContext, input: {
|
|
3215
|
+
readonly bearer: string;
|
|
3216
|
+
readonly appId: string;
|
|
3217
|
+
readonly updateId: string;
|
|
3218
|
+
}): Promise<DeleteBipUpdateResponse>;
|
|
3219
|
+
declare function uploadBipUpdateMedia(context: TransportContext, input: {
|
|
3220
|
+
readonly bearer: string;
|
|
3221
|
+
readonly appId: string;
|
|
3222
|
+
readonly file: Blob;
|
|
3223
|
+
readonly filename: string;
|
|
3224
|
+
readonly contentType: string;
|
|
3225
|
+
}): Promise<BipUpdateMediaUploadResponse>;
|
|
3226
|
+
//#endregion
|
|
3227
|
+
//#region src/catalog/build-in-public.d.ts
|
|
3228
|
+
declare function getBipDirectory(context: TransportContext, input: {
|
|
3229
|
+
readonly bearer?: string;
|
|
3230
|
+
readonly genre?: string;
|
|
3231
|
+
readonly q?: string;
|
|
3232
|
+
readonly before?: string;
|
|
3233
|
+
readonly limit?: number;
|
|
3234
|
+
}): Promise<LibraryListResponse>;
|
|
3235
|
+
declare function getBipPage(context: TransportContext, input: {
|
|
3236
|
+
readonly bearer?: string;
|
|
3237
|
+
readonly slug: string;
|
|
3238
|
+
}): Promise<PublicBipPage>;
|
|
3239
|
+
//#endregion
|
|
2996
3240
|
//#region src/catalog/content-reports.d.ts
|
|
2997
3241
|
declare function submitAppContentReport(context: TransportContext, input: {
|
|
2998
3242
|
readonly appId: string;
|
|
@@ -3399,6 +3643,19 @@ declare function unpublishAppPage(context: TransportContext, input: {
|
|
|
3399
3643
|
readonly bearer: string;
|
|
3400
3644
|
readonly appId: string;
|
|
3401
3645
|
}): Promise<AppPageDraft>;
|
|
3646
|
+
declare function setAppPageBip(context: TransportContext, input: {
|
|
3647
|
+
readonly bearer: string;
|
|
3648
|
+
readonly appId: string;
|
|
3649
|
+
readonly body: AppPageBipToggle;
|
|
3650
|
+
}): Promise<AppPageDraft>;
|
|
3651
|
+
declare function submitAppPageBipForReview(context: TransportContext, input: {
|
|
3652
|
+
readonly bearer: string;
|
|
3653
|
+
readonly appId: string;
|
|
3654
|
+
}): Promise<AppPageDraft>;
|
|
3655
|
+
declare function unpublishAppPageBip(context: TransportContext, input: {
|
|
3656
|
+
readonly bearer: string;
|
|
3657
|
+
readonly appId: string;
|
|
3658
|
+
}): Promise<AppPageDraft>;
|
|
3402
3659
|
//#endregion
|
|
3403
3660
|
//#region src/developer/participants.d.ts
|
|
3404
3661
|
declare function listDeveloperAppParticipants(context: TransportContext, input: {
|
|
@@ -3980,6 +4237,9 @@ declare function cancelFriendRequest(context: TransportContext, input: {
|
|
|
3980
4237
|
declare function listFriends(context: TransportContext, input: {
|
|
3981
4238
|
readonly bearer: string;
|
|
3982
4239
|
}): Promise<FriendListResponse>;
|
|
4240
|
+
declare function listFriendsForApp(context: TransportContext, input: {
|
|
4241
|
+
readonly bearer: string;
|
|
4242
|
+
}): Promise<AppFriendListResponse>;
|
|
3983
4243
|
//#endregion
|
|
3984
4244
|
//#region src/reads/socials.d.ts
|
|
3985
4245
|
declare function listSocials(context: TransportContext, input: {
|
|
@@ -4271,4 +4531,4 @@ type CookieTokenStoreOptions = {
|
|
|
4271
4531
|
};
|
|
4272
4532
|
declare function createCookieTokenStore(options?: CookieTokenStoreOptions): TokenStore;
|
|
4273
4533
|
//#endregion
|
|
4274
|
-
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, 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, editMessage, 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, 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, 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, mintMoonpayBuyUrl, mintMoonpaySellUrl, mountPresenceWidget, oauthPaymentWebhookBodySchema, pinThread, postAdminAppealRoomMessage, postAppealRoomMessage, previewReferral, provisionDeveloperAppWallet, publishDmKey, quoteDeveloperAppInventoryRegistration, quoteNftTransfer, quoteRelayedVaultPermit, redeemInventoryMintPermit, refreshAccessToken, registerDeveloperAppInventoryItem, rejectTronCashout, removeAdmin, removeAppealBlacklist, removeFriend, 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, signInventoryVaultPermit, signPaymentIntent, 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 };
|
|
4534
|
+
export { AuthorizeUrl, type BrowserClientConfig, BuildAuthorizeUrlInput, ChargeResult, CookieTokenStoreOptions, type FetchLike, InflightDedup, type Logger, MountPresenceWidgetOptions, NOOP_RATE_LIMITER, OauthErrorCode, OauthPaymentWebhookBody, type OauthScope, PkcePair, PresenceStatus, PresenceWidgetHandle, RateLimitOptions, RateLimiter, SERVER_RATE_LIMIT_MAX_MUTATING, SERVER_RATE_LIMIT_MAX_READ, SERVER_RATE_LIMIT_WINDOW_MS, type SdkBaseConfig, TRON_WS_CLOSE_CODES, type TokenSet, type TokenStore, TronBrowserClient, TronError, TronOauthError, TronWsCloseCode, TronWsCloseError, VerifyWebhookFailure, VerifyWebhookInput, VerifyWebhookResult, VerifyWebhookSuccess, WEBHOOK_SIGNATURE_HEADER, WEBHOOK_TIMESTAMP_HEADER, acceptDeveloperInvite, addAdmin, addAppealBlacklist, addReaction, approveTronCashout, batchThreadDmKeys, bindReferral, buildAuthorizeUrl, cancelFriendRequest, charge, commentOnBipUpdate, commentOnGameReview, completePaymentIntent, consolidateDeveloperAppWallet, createBipUpdate, createConsoleLogger, createCookieTokenStore, createDelegation, createDeveloperApiKey, createDeveloperApp, createDeveloperAppMintPermit, createDeveloperVaultPermit, createDeveloperWithdrawPermit, createDirectThread, createInMemoryTokenStore, createInflightDedup, createNoopLogger, createRateLimiter, createReferralCode, createTronCashout, createTronConnectOnboarding, createTronDeposit, createTronTransfer, createTronTransferChallenge, decideFriendRequest, declineDeveloperInvite, defaultEndpoints, deleteAppPageBanner, deleteAppPageThumbnail, deleteAppPageThumbnailVideo, deleteAvatar, deleteBipUpdate, deleteBipUpdateComment, deleteDelegation, deleteDeveloperApp, deleteDeveloperAppLogo, deleteDeveloperProfileLogo, deleteDeveloperRequestLogo, deleteGameReviewComment, deleteGameReviewReply, deleteMessage, deleteMyGameReview, deleteThread, deleteThreadLogo, denyPaymentIntent, editMessage, exchangeAuthorizationCode, executeNftTransfer, fetchAuthorizationServerMetadata, fetchUserInfo, fileAppeal, fileAppealPotLeg, followUser, forceWithdrawVaultCustody, generatePkce, generateState, getActivity, getActivityGroup, getAdminAppealRoom, getAppFeeConfig, getAppPage, getAppPageChanges, getAppealRoom, getBipDirectory, getBipPage, getDelegation, getDeveloperAppActivity, getDeveloperAppBalances, getDeveloperAppEarnings, getDeveloperAppInventoryItemHolders, getDeveloperAppOverview, getDeveloperAppPage, getDeveloperAppPlaytime, getDeveloperAppTronBalance, getDeveloperAppWallets, getDeveloperPaymentAppeals, getDeveloperPaymentPendingDeposits, getDeveloperStatus, getDeveloperTronBalanceSummary, getDmKeyBackupStatus, getEarningsTimeseries, getIntentStatus, getLibrary, getMeStats, getMoonpayAvailability, getMyBipUpdateReactions, getMyDmKey, getMyGameReview, getMyGameReviewReactions, getOutstanding, getPaymentChains, getPaymentHistory, getPaymentIntent, getPaymentLimits, getPaymentPrice, getPlatformFees, getPlaytime, getPlaytimeTimeseries, getPublicProfile, getReferral, getThreadDmKey, getTronBalance, getTronSecurity, hideAppPage, hideAppPageBip, hideThread, inviteDeveloperAppParticipant, inviteParticipants, leaveThread, listActivePlayers, listAdminContentReports, listAdmins, listAppPages, listAppealBlacklist, listAppealQueue, listAudit, listBipUpdateComments, listBipUpdates, listDeveloperApiKeys, listDeveloperAppContentReports, listDeveloperAppInventoryCollections, listDeveloperAppInventoryItems, listDeveloperAppParticipants, listDeveloperAppReviews, listDeveloperBipUpdates, listDeveloperInvites, listDeveloperRequests, listDevelopers, listFriends, listFriendsForApp, listGameReviewComments, listGameReviews, listInventory, listInventoryForApp, listInventoryMintPermits, listInventoryVaultPermits, listInventoryVaulted, listNotifications, listOauthInventoryVaulted, listPaymentAuthorizations, listSocials, listThreadMessages, listThreads, listTronCashoutQueue, listTronCashouts, listTronLedger, listUsers, listWalletManager, listWallets, markAllNotificationsRead, markThreadRead, mintMoonpayBuyUrl, mintMoonpaySellUrl, mountPresenceWidget, oauthPaymentWebhookBodySchema, pinThread, postAdminAppealRoomMessage, postAppealRoomMessage, previewReferral, provisionDeveloperAppWallet, publishDmKey, quoteDeveloperAppInventoryRegistration, quoteNftTransfer, quoteRelayedVaultPermit, redeemInventoryMintPermit, refreshAccessToken, registerDeveloperAppInventoryItem, rejectTronCashout, removeAdmin, removeAppealBlacklist, removeFriend, removeParticipant, removeReaction, replyToGameReview, requestDeveloperAppProduction, requestMint, resolveAppeal, reviewAppPage, reviewAppPageBip, reviewAppPageChanges, reviewDeveloperRequest, revokeDeveloperApiKey, revokeDeveloperAppParticipant, revokePaymentAuthorization, revokeToken, rotateDeveloperAppKey, rotateDeveloperAppPaymentWebhookSecret, rotateProcessorTreasury, searchGiphy, searchUsers, sendFriendRequest, sendMessage, sendPresenceHeartbeat, setAppPageBip, setBipUpdateReaction, setMyGameReviewReaction, setProcessorWhitelist, setTronSecurity, setVaultOperator, setVaultPause, setVaultWithdrawLockDefault, setVaultWithdrawLockOverride, setupDmKeyBackup, sha256Base64Url, signInventoryVaultPermit, signPaymentIntent, submitAppContentReport, submitAppPageBipForReview, submitAppPageForReview, submitDeveloperRequest, submitRelayedVaultPermit, 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 };
|