@metatrongg/sdk 0.8.0-dev.3419bfc → 0.8.0-dev.35a4105
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 +14 -362
- package/dist/browser/index.js +1 -1
- package/dist/contracts/index.d.ts +3870 -6824
- package/dist/contracts/index.js +1 -1
- package/dist/index.js +1 -1
- package/dist/node/index.d.ts +15 -363
- 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 +1 -1
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";
|
|
118
118
|
type AdminRole = "super-admin" | "admin" | "read-only" | null;
|
|
119
119
|
type PresenceStatusMode = "auto" | "online" | "offline";
|
|
120
120
|
type PlatformEnvironment = "development" | "production";
|
|
@@ -291,15 +291,7 @@ type OauthPaymentIntentContext = {
|
|
|
291
291
|
};
|
|
292
292
|
} | null;
|
|
293
293
|
environment: "development" | "production";
|
|
294
|
-
onramp?: {
|
|
295
|
-
kind: "bridge";
|
|
296
|
-
from: PaymentNetwork;
|
|
297
|
-
to: PaymentNetwork;
|
|
298
|
-
} | {
|
|
299
|
-
kind: "insufficient";
|
|
300
|
-
};
|
|
301
294
|
};
|
|
302
|
-
type PaymentNetwork = "ethereum" | "base" | "solana";
|
|
303
295
|
type OauthPaymentIntentSignResponse = {
|
|
304
296
|
chain: string;
|
|
305
297
|
chainId: number;
|
|
@@ -329,13 +321,6 @@ type OauthPaymentIntentCompleteSigned = {
|
|
|
329
321
|
type OauthPaymentIntentCompleteOffline = {
|
|
330
322
|
method: "offline";
|
|
331
323
|
};
|
|
332
|
-
type OauthPaymentIntentSolanaPrepareResponse = {
|
|
333
|
-
transaction: string;
|
|
334
|
-
payer: string;
|
|
335
|
-
};
|
|
336
|
-
type OauthPaymentIntentSolanaCompleteRequest = {
|
|
337
|
-
signedTransaction: string;
|
|
338
|
-
};
|
|
339
324
|
type ListAppPaymentAuthorizationsResponse = {
|
|
340
325
|
authorizations: Array<AppPaymentAuthorizationItem>;
|
|
341
326
|
};
|
|
@@ -439,119 +424,6 @@ type AppPageAgeRating = "everyone" | "13_plus" | "16_plus" | "18_plus" | null;
|
|
|
439
424
|
type AppPageLanguages = Array<"en" | "es" | "fr" | "de" | "pt" | "it" | "ru" | "ja" | "ko" | "zh" | "hi" | "ar" | "tr" | "vi" | "id" | "th" | "pl" | "nl">;
|
|
440
425
|
type AppPageReleaseStatus = "live" | "open_beta" | "coming_soon";
|
|
441
426
|
type AppPagePaymentsMode = "tron" | "onchain" | "both" | null;
|
|
442
|
-
type PublicBipPage = {
|
|
443
|
-
appId: string;
|
|
444
|
-
slug: AppPageSlug;
|
|
445
|
-
appName: string;
|
|
446
|
-
appLogoUrl: string | null;
|
|
447
|
-
categories: AppPageCategories;
|
|
448
|
-
tagline: AppPageTagline;
|
|
449
|
-
bannerUrl: string | null;
|
|
450
|
-
discordUrl: string | null;
|
|
451
|
-
twitterUrl: string | null;
|
|
452
|
-
redditUrl: string | null;
|
|
453
|
-
telegramUrl: string | null;
|
|
454
|
-
gallery: AppPageGallery;
|
|
455
|
-
chapters: AppPageChapters;
|
|
456
|
-
links: AppPageLinks;
|
|
457
|
-
studio: PublicAppPageStudio;
|
|
458
|
-
platforms: AppPagePlatforms;
|
|
459
|
-
gameType: AppPageGameType;
|
|
460
|
-
ageRating: AppPageAgeRating;
|
|
461
|
-
languages: AppPageLanguages;
|
|
462
|
-
releaseStatus: AppPageReleaseStatus;
|
|
463
|
-
publishedAt: string;
|
|
464
|
-
updatedAt: string;
|
|
465
|
-
};
|
|
466
|
-
type BipUpdateListResponse = {
|
|
467
|
-
updates: Array<BipUpdate>;
|
|
468
|
-
total: number;
|
|
469
|
-
hasMore: boolean;
|
|
470
|
-
};
|
|
471
|
-
type BipUpdate = {
|
|
472
|
-
id: string;
|
|
473
|
-
appId: string;
|
|
474
|
-
body: BipUpdateBody;
|
|
475
|
-
attachments: BipUpdateAttachments;
|
|
476
|
-
reactions: BipUpdateReactionCounts;
|
|
477
|
-
commentCount: number;
|
|
478
|
-
createdAt: string;
|
|
479
|
-
updatedAt: string;
|
|
480
|
-
};
|
|
481
|
-
type BipUpdateBody = string;
|
|
482
|
-
type BipUpdateAttachments = Array<BipUpdateAttachment>;
|
|
483
|
-
type BipUpdateAttachment = {
|
|
484
|
-
url: string;
|
|
485
|
-
kind: "image" | "video";
|
|
486
|
-
order: number;
|
|
487
|
-
};
|
|
488
|
-
type BipUpdateReactionCounts = {
|
|
489
|
-
up: number;
|
|
490
|
-
down: number;
|
|
491
|
-
};
|
|
492
|
-
type BipUpdateCommentListResponse = {
|
|
493
|
-
comments: Array<BipUpdateComment>;
|
|
494
|
-
total: number;
|
|
495
|
-
hasMore: boolean;
|
|
496
|
-
};
|
|
497
|
-
type BipUpdateComment = {
|
|
498
|
-
id: string;
|
|
499
|
-
body: BipUpdateCommentBody;
|
|
500
|
-
author: ReviewAuthor;
|
|
501
|
-
createdAt: string;
|
|
502
|
-
};
|
|
503
|
-
type BipUpdateCommentBody = string;
|
|
504
|
-
type ReviewAuthor = {
|
|
505
|
-
userId: string;
|
|
506
|
-
handle: string | null;
|
|
507
|
-
name: string | null;
|
|
508
|
-
avatarUrl: string | null;
|
|
509
|
-
};
|
|
510
|
-
type BipInterestCountResponse = {
|
|
511
|
-
interestCount: number;
|
|
512
|
-
};
|
|
513
|
-
type BipEngagementResponse = {
|
|
514
|
-
interested: boolean;
|
|
515
|
-
subscribed: boolean;
|
|
516
|
-
interestCount: number;
|
|
517
|
-
};
|
|
518
|
-
type MyBipUpdateReactionsResponse = {
|
|
519
|
-
reactions: Array<MyBipUpdateReaction>;
|
|
520
|
-
};
|
|
521
|
-
type MyBipUpdateReaction = {
|
|
522
|
-
updateId: string;
|
|
523
|
-
vote: "up" | "down";
|
|
524
|
-
};
|
|
525
|
-
type SetBipUpdateReactionResponse = {
|
|
526
|
-
reactions: BipUpdateReactionCounts;
|
|
527
|
-
vote: BipUpdateVote;
|
|
528
|
-
};
|
|
529
|
-
type BipUpdateVote = "up" | "down" | null;
|
|
530
|
-
type SetBipUpdateReactionRequest = {
|
|
531
|
-
vote: BipUpdateVote;
|
|
532
|
-
};
|
|
533
|
-
type CreateBipUpdateCommentResponse = {
|
|
534
|
-
comment: BipUpdateComment;
|
|
535
|
-
commentCount: number;
|
|
536
|
-
};
|
|
537
|
-
type DeleteBipUpdateCommentResponse = {
|
|
538
|
-
commentCount: number;
|
|
539
|
-
};
|
|
540
|
-
type CreateBipUpdateRequest = {
|
|
541
|
-
body: BipUpdateBody;
|
|
542
|
-
attachments?: BipUpdateAttachments;
|
|
543
|
-
};
|
|
544
|
-
type UpdateBipUpdateRequest = {
|
|
545
|
-
body?: BipUpdateBody;
|
|
546
|
-
attachments?: BipUpdateAttachments;
|
|
547
|
-
};
|
|
548
|
-
type DeleteBipUpdateResponse = {
|
|
549
|
-
deleted: true;
|
|
550
|
-
};
|
|
551
|
-
type BipUpdateMediaUploadResponse = {
|
|
552
|
-
url: string;
|
|
553
|
-
kind: "image" | "video";
|
|
554
|
-
};
|
|
555
427
|
type ReviewListResponse = {
|
|
556
428
|
aggregate: ReviewAggregate;
|
|
557
429
|
reviews: Array<Review>;
|
|
@@ -585,6 +457,12 @@ type ReviewReactionCounts = {
|
|
|
585
457
|
unhelpful: number;
|
|
586
458
|
funny: number;
|
|
587
459
|
};
|
|
460
|
+
type ReviewAuthor = {
|
|
461
|
+
userId: string;
|
|
462
|
+
handle: string | null;
|
|
463
|
+
name: string | null;
|
|
464
|
+
avatarUrl: string | null;
|
|
465
|
+
};
|
|
588
466
|
type ReviewerStats = {
|
|
589
467
|
playtimeSecondsThisGame: number;
|
|
590
468
|
gamesPlayed: number;
|
|
@@ -1338,15 +1216,12 @@ type WalletListResponse = {
|
|
|
1338
1216
|
wallets: Array<WalletItem>;
|
|
1339
1217
|
};
|
|
1340
1218
|
type WalletChainList = Array<{
|
|
1341
|
-
id: "ethereum-mainnet" | "base-mainnet" | "ethereum-sepolia"
|
|
1219
|
+
id: "ethereum-mainnet" | "base-mainnet" | "ethereum-sepolia";
|
|
1342
1220
|
displayName: string;
|
|
1343
|
-
|
|
1344
|
-
nativeSymbol: string;
|
|
1345
|
-
chainId?: number;
|
|
1221
|
+
chainId: number;
|
|
1346
1222
|
}>;
|
|
1347
1223
|
type WalletItem = {
|
|
1348
|
-
address: string
|
|
1349
|
-
family: "evm" | "solana";
|
|
1224
|
+
address: string;
|
|
1350
1225
|
label: WalletLabel;
|
|
1351
1226
|
kind: "personal" | "app";
|
|
1352
1227
|
app: WalletAppLink;
|
|
@@ -1363,9 +1238,6 @@ type WalletBalances = {
|
|
|
1363
1238
|
"ethereum-mainnet"?: WalletChainBalance;
|
|
1364
1239
|
"base-mainnet"?: WalletChainBalance;
|
|
1365
1240
|
"ethereum-sepolia"?: WalletChainBalance;
|
|
1366
|
-
"base-sepolia"?: WalletChainBalance;
|
|
1367
|
-
"solana-mainnet"?: WalletChainBalance;
|
|
1368
|
-
"solana-devnet"?: WalletChainBalance;
|
|
1369
1241
|
};
|
|
1370
1242
|
type WalletChainBalance = {
|
|
1371
1243
|
native: string;
|
|
@@ -1375,14 +1247,12 @@ type WalletDelegationStatus = {
|
|
|
1375
1247
|
mode: WalletDelegationMode;
|
|
1376
1248
|
caps: WalletDelegationCaps;
|
|
1377
1249
|
policyId: string | null;
|
|
1378
|
-
slippageBps: DelegationSlippageBps;
|
|
1379
1250
|
};
|
|
1380
1251
|
type WalletDelegationMode = "infinite" | "custom" | "scoped" | null;
|
|
1381
1252
|
type WalletDelegationCaps = {
|
|
1382
1253
|
native: string;
|
|
1383
1254
|
usdc: string;
|
|
1384
1255
|
} | null;
|
|
1385
|
-
type DelegationSlippageBps = number | null;
|
|
1386
1256
|
type WalletLabelUpdateResponse = {
|
|
1387
1257
|
address: string;
|
|
1388
1258
|
label: WalletLabel;
|
|
@@ -2042,18 +1912,6 @@ type NotificationItem = {
|
|
|
2042
1912
|
payload: AppPageRejectedNotificationPayload;
|
|
2043
1913
|
read: boolean;
|
|
2044
1914
|
createdAt: string;
|
|
2045
|
-
} | {
|
|
2046
|
-
id: string;
|
|
2047
|
-
kind: "bip_update_published";
|
|
2048
|
-
payload: BipUpdatePublishedNotificationPayload;
|
|
2049
|
-
read: boolean;
|
|
2050
|
-
createdAt: string;
|
|
2051
|
-
} | {
|
|
2052
|
-
id: string;
|
|
2053
|
-
kind: "bip_now_playable";
|
|
2054
|
-
payload: BipNowPlayableNotificationPayload;
|
|
2055
|
-
read: boolean;
|
|
2056
|
-
createdAt: string;
|
|
2057
1915
|
} | {
|
|
2058
1916
|
id: string;
|
|
2059
1917
|
kind: "app_participant_invite";
|
|
@@ -2084,25 +1942,14 @@ type FriendAcceptedNotificationPayload = {
|
|
|
2084
1942
|
type AppPageApprovedNotificationPayload = {
|
|
2085
1943
|
appId: string;
|
|
2086
1944
|
appName: string;
|
|
2087
|
-
scope: "publish" | "changes"
|
|
1945
|
+
scope: "publish" | "changes";
|
|
2088
1946
|
};
|
|
2089
1947
|
type AppPageRejectedNotificationPayload = {
|
|
2090
1948
|
appId: string;
|
|
2091
1949
|
appName: string;
|
|
2092
|
-
scope: "publish" | "changes"
|
|
1950
|
+
scope: "publish" | "changes";
|
|
2093
1951
|
notes: string;
|
|
2094
1952
|
};
|
|
2095
|
-
type BipUpdatePublishedNotificationPayload = {
|
|
2096
|
-
appId: string;
|
|
2097
|
-
appName: string;
|
|
2098
|
-
appSlug: string | null;
|
|
2099
|
-
updateId: string;
|
|
2100
|
-
};
|
|
2101
|
-
type BipNowPlayableNotificationPayload = {
|
|
2102
|
-
appId: string;
|
|
2103
|
-
appName: string;
|
|
2104
|
-
appSlug: string | null;
|
|
2105
|
-
};
|
|
2106
1953
|
type AppParticipantInviteNotificationPayload = {
|
|
2107
1954
|
appId: string;
|
|
2108
1955
|
appName: string;
|
|
@@ -2270,14 +2117,12 @@ type UpdateDeveloperApp = {
|
|
|
2270
2117
|
redirectUris?: Array<string>;
|
|
2271
2118
|
embedOrigins?: Array<EmbedOrigin>;
|
|
2272
2119
|
acceptedCurrencies?: AcceptedCurrencies;
|
|
2273
|
-
acceptedNetworks?: AcceptedNetworks;
|
|
2274
2120
|
paymentStatusWebhookUrl?: string | null;
|
|
2275
2121
|
paymentStatusWebhookUrlTest?: string | null;
|
|
2276
2122
|
};
|
|
2277
2123
|
type EmbedOrigin = string;
|
|
2278
2124
|
type AcceptedCurrencies = Array<PlatformCurrency>;
|
|
2279
2125
|
type PlatformCurrency = "eth" | "tron";
|
|
2280
|
-
type AcceptedNetworks = Array<PaymentNetwork> | null;
|
|
2281
2126
|
type DeveloperLogoUploadResponse = {
|
|
2282
2127
|
logoUrl: string | null;
|
|
2283
2128
|
};
|
|
@@ -2524,7 +2369,6 @@ type DeveloperAppItem = {
|
|
|
2524
2369
|
redirectUris: Array<string>;
|
|
2525
2370
|
embedOrigins: Array<EmbedOrigin>;
|
|
2526
2371
|
acceptedCurrencies: AcceptedCurrencies;
|
|
2527
|
-
acceptedNetworks: AcceptedNetworks;
|
|
2528
2372
|
payoutAddresses: Array<DeveloperAppPayoutAddressItem>;
|
|
2529
2373
|
keys: Array<DeveloperAppKeyItem>;
|
|
2530
2374
|
pendingProductionRequestId: string | null;
|
|
@@ -2579,16 +2423,6 @@ type AppPageDraft = {
|
|
|
2579
2423
|
hiddenAt: string | null;
|
|
2580
2424
|
hiddenReasonPublic: string | null;
|
|
2581
2425
|
pendingReview: boolean;
|
|
2582
|
-
bip: AppPageBipState;
|
|
2583
|
-
};
|
|
2584
|
-
type AppPageBipState = {
|
|
2585
|
-
enabled: boolean;
|
|
2586
|
-
status: "draft" | "pending_review" | "published" | "hidden";
|
|
2587
|
-
firstPublishedAt: string | null;
|
|
2588
|
-
reviewedAt: string | null;
|
|
2589
|
-
reviewNotes: string | null;
|
|
2590
|
-
hiddenAt: string | null;
|
|
2591
|
-
hiddenReasonPublic: string | null;
|
|
2592
2426
|
};
|
|
2593
2427
|
type UpdateAppPage = {
|
|
2594
2428
|
categories?: AppPageCategories;
|
|
@@ -2613,9 +2447,6 @@ type UpdateAppPage = {
|
|
|
2613
2447
|
type AppPageGalleryUploadResponse = {
|
|
2614
2448
|
url: string;
|
|
2615
2449
|
};
|
|
2616
|
-
type AppPageBipToggle = {
|
|
2617
|
-
enabled: boolean;
|
|
2618
|
-
};
|
|
2619
2450
|
type AdminActivePlayersResponse = {
|
|
2620
2451
|
players: Array<AdminActivePlayer>;
|
|
2621
2452
|
total: number;
|
|
@@ -2754,11 +2585,6 @@ type AdminAppPageItem = {
|
|
|
2754
2585
|
hiddenAt: string | null;
|
|
2755
2586
|
hiddenReasonInternal: string | null;
|
|
2756
2587
|
pendingChangesSubmittedAt: string | null;
|
|
2757
|
-
bipEnabled: boolean;
|
|
2758
|
-
bipStatus: "draft" | "pending_review" | "published" | "hidden";
|
|
2759
|
-
bipFirstPublishedAt: string | null;
|
|
2760
|
-
bipHiddenAt: string | null;
|
|
2761
|
-
openReportCount: number;
|
|
2762
2588
|
};
|
|
2763
2589
|
type AdminAppPageStatusResponse = {
|
|
2764
2590
|
status: "draft" | "pending_review" | "published" | "hidden";
|
|
@@ -2784,25 +2610,6 @@ type AdminAppPageDiffField = {
|
|
|
2784
2610
|
from: string;
|
|
2785
2611
|
to: string;
|
|
2786
2612
|
};
|
|
2787
|
-
type AdminAppPageBipStatusResponse = {
|
|
2788
|
-
bipStatus: "draft" | "pending_review" | "published" | "hidden";
|
|
2789
|
-
};
|
|
2790
|
-
type AdminAppContentReportListResponse = {
|
|
2791
|
-
reports: Array<AdminAppContentReportItem>;
|
|
2792
|
-
total: number;
|
|
2793
|
-
hasMore: boolean;
|
|
2794
|
-
};
|
|
2795
|
-
type AdminAppContentReportItem = {
|
|
2796
|
-
id: string;
|
|
2797
|
-
category: AppContentReportCategory;
|
|
2798
|
-
details: string | null;
|
|
2799
|
-
status: AppContentReportStatus;
|
|
2800
|
-
acknowledgedAt: string | null;
|
|
2801
|
-
createdAt: string;
|
|
2802
|
-
appId: string;
|
|
2803
|
-
appName: string;
|
|
2804
|
-
appSlug: string | null;
|
|
2805
|
-
};
|
|
2806
2613
|
type PlatformFeesResponse = {
|
|
2807
2614
|
purchaseFeeBps: number;
|
|
2808
2615
|
stakeFeeBps: number;
|
|
@@ -2983,13 +2790,6 @@ type AppealResolveRequest = {
|
|
|
2983
2790
|
decision: "refund" | "dismiss";
|
|
2984
2791
|
notes?: string;
|
|
2985
2792
|
};
|
|
2986
|
-
type PaymentRatesResponse = {
|
|
2987
|
-
asOf: string;
|
|
2988
|
-
ethUsd: number | null;
|
|
2989
|
-
solUsd: number | null;
|
|
2990
|
-
solLamportsPerCent: number | null;
|
|
2991
|
-
tronUsdPerToken: number;
|
|
2992
|
-
};
|
|
2993
2793
|
type AppealFileResponse = {
|
|
2994
2794
|
appealId: string;
|
|
2995
2795
|
paymentId: string;
|
|
@@ -3038,7 +2838,7 @@ type OauthPaymentPayoutRequest = {
|
|
|
3038
2838
|
metadata?: PaymentMetadata;
|
|
3039
2839
|
};
|
|
3040
2840
|
type OauthPaymentDistributeResponse = {
|
|
3041
|
-
distributionId
|
|
2841
|
+
distributionId: string;
|
|
3042
2842
|
txHash: string;
|
|
3043
2843
|
blockNumber: string;
|
|
3044
2844
|
potId: string;
|
|
@@ -3161,7 +2961,7 @@ declare function listActivePlayers(context: TransportContext, input: {
|
|
|
3161
2961
|
//#region src/admin/app-pages.d.ts
|
|
3162
2962
|
declare function listAppPages(context: TransportContext, input: {
|
|
3163
2963
|
readonly bearer: string;
|
|
3164
|
-
readonly status?: "draft" | "pending_review" | "published" | "hidden" | "all" | "pending_changes"
|
|
2964
|
+
readonly status?: "draft" | "pending_review" | "published" | "hidden" | "all" | "pending_changes";
|
|
3165
2965
|
}): Promise<AdminAppPageListResponse>;
|
|
3166
2966
|
declare function getAppPageChanges(context: TransportContext, input: {
|
|
3167
2967
|
readonly bearer: string;
|
|
@@ -3186,20 +2986,6 @@ declare function reviewAppPage(context: TransportContext, input: {
|
|
|
3186
2986
|
readonly appId: string;
|
|
3187
2987
|
readonly body: ReviewAppPage;
|
|
3188
2988
|
}): Promise<AdminAppPageStatusResponse>;
|
|
3189
|
-
declare function reviewAppPageBip(context: TransportContext, input: {
|
|
3190
|
-
readonly bearer: string;
|
|
3191
|
-
readonly appId: string;
|
|
3192
|
-
readonly body: ReviewAppPage;
|
|
3193
|
-
}): Promise<AdminAppPageBipStatusResponse>;
|
|
3194
|
-
declare function hideAppPageBip(context: TransportContext, input: {
|
|
3195
|
-
readonly bearer: string;
|
|
3196
|
-
readonly appId: string;
|
|
3197
|
-
readonly body: HideAppPage;
|
|
3198
|
-
}): Promise<AdminAppPageBipStatusResponse>;
|
|
3199
|
-
declare function unhideAppPageBip(context: TransportContext, input: {
|
|
3200
|
-
readonly bearer: string;
|
|
3201
|
-
readonly appId: string;
|
|
3202
|
-
}): Promise<AdminAppPageBipStatusResponse>;
|
|
3203
2989
|
//#endregion
|
|
3204
2990
|
//#region src/admin/appeals.d.ts
|
|
3205
2991
|
declare function listAppealQueue(context: TransportContext, input: {
|
|
@@ -3231,19 +3017,6 @@ declare function resolveAppeal(context: TransportContext, input: {
|
|
|
3231
3017
|
readonly body: AppealResolveRequest;
|
|
3232
3018
|
}): Promise<AppealResolveSignedResponse>;
|
|
3233
3019
|
//#endregion
|
|
3234
|
-
//#region src/admin/content-reports.d.ts
|
|
3235
|
-
declare function listAdminContentReports(context: TransportContext, input: {
|
|
3236
|
-
readonly bearer: string;
|
|
3237
|
-
readonly status?: "open" | "acknowledged" | "dismissed" | "all";
|
|
3238
|
-
readonly limit?: number;
|
|
3239
|
-
readonly offset?: number;
|
|
3240
|
-
}): Promise<AdminAppContentReportListResponse>;
|
|
3241
|
-
declare function triageAdminContentReport(context: TransportContext, input: {
|
|
3242
|
-
readonly bearer: string;
|
|
3243
|
-
readonly reportId: string;
|
|
3244
|
-
readonly status: "acknowledged" | "dismissed";
|
|
3245
|
-
}): Promise<AppContentReport>;
|
|
3246
|
-
//#endregion
|
|
3247
3020
|
//#region src/admin/developers.d.ts
|
|
3248
3021
|
declare function listDeveloperRequests(context: TransportContext, input: {
|
|
3249
3022
|
readonly bearer: string;
|
|
@@ -3383,102 +3156,6 @@ declare function getAppPage(context: TransportContext, input: {
|
|
|
3383
3156
|
readonly slug: string;
|
|
3384
3157
|
}): Promise<PublicAppPage>;
|
|
3385
3158
|
//#endregion
|
|
3386
|
-
//#region src/catalog/bip-updates.d.ts
|
|
3387
|
-
declare function listBipUpdates(context: TransportContext, input: {
|
|
3388
|
-
readonly bearer?: string;
|
|
3389
|
-
readonly slug: string;
|
|
3390
|
-
readonly limit?: number;
|
|
3391
|
-
readonly offset?: number;
|
|
3392
|
-
}): Promise<BipUpdateListResponse>;
|
|
3393
|
-
declare function listBipUpdateComments(context: TransportContext, input: {
|
|
3394
|
-
readonly bearer?: string;
|
|
3395
|
-
readonly slug: string;
|
|
3396
|
-
readonly updateId: string;
|
|
3397
|
-
readonly limit?: number;
|
|
3398
|
-
readonly offset?: number;
|
|
3399
|
-
}): Promise<BipUpdateCommentListResponse>;
|
|
3400
|
-
declare function getMyBipUpdateReactions(context: TransportContext, input: {
|
|
3401
|
-
readonly bearer: string;
|
|
3402
|
-
readonly slug: string;
|
|
3403
|
-
}): Promise<MyBipUpdateReactionsResponse>;
|
|
3404
|
-
declare function setBipUpdateReaction(context: TransportContext, input: {
|
|
3405
|
-
readonly bearer: string;
|
|
3406
|
-
readonly slug: string;
|
|
3407
|
-
readonly updateId: string;
|
|
3408
|
-
readonly body: SetBipUpdateReactionRequest;
|
|
3409
|
-
}): Promise<SetBipUpdateReactionResponse>;
|
|
3410
|
-
declare function commentOnBipUpdate(context: TransportContext, input: {
|
|
3411
|
-
readonly bearer: string;
|
|
3412
|
-
readonly slug: string;
|
|
3413
|
-
readonly updateId: string;
|
|
3414
|
-
readonly body: string;
|
|
3415
|
-
}): Promise<CreateBipUpdateCommentResponse>;
|
|
3416
|
-
declare function deleteBipUpdateComment(context: TransportContext, input: {
|
|
3417
|
-
readonly bearer: string;
|
|
3418
|
-
readonly slug: string;
|
|
3419
|
-
readonly commentId: string;
|
|
3420
|
-
}): Promise<DeleteBipUpdateCommentResponse>;
|
|
3421
|
-
declare function listDeveloperBipUpdates(context: TransportContext, input: {
|
|
3422
|
-
readonly bearer: string;
|
|
3423
|
-
readonly appId: string;
|
|
3424
|
-
readonly limit?: number;
|
|
3425
|
-
readonly offset?: number;
|
|
3426
|
-
}): Promise<BipUpdateListResponse>;
|
|
3427
|
-
declare function createBipUpdate(context: TransportContext, input: {
|
|
3428
|
-
readonly bearer: string;
|
|
3429
|
-
readonly appId: string;
|
|
3430
|
-
readonly body: CreateBipUpdateRequest;
|
|
3431
|
-
}): Promise<BipUpdate>;
|
|
3432
|
-
declare function updateBipUpdate(context: TransportContext, input: {
|
|
3433
|
-
readonly bearer: string;
|
|
3434
|
-
readonly appId: string;
|
|
3435
|
-
readonly updateId: string;
|
|
3436
|
-
readonly body: UpdateBipUpdateRequest;
|
|
3437
|
-
}): Promise<BipUpdate>;
|
|
3438
|
-
declare function deleteBipUpdate(context: TransportContext, input: {
|
|
3439
|
-
readonly bearer: string;
|
|
3440
|
-
readonly appId: string;
|
|
3441
|
-
readonly updateId: string;
|
|
3442
|
-
}): Promise<DeleteBipUpdateResponse>;
|
|
3443
|
-
declare function uploadBipUpdateMedia(context: TransportContext, input: {
|
|
3444
|
-
readonly bearer: string;
|
|
3445
|
-
readonly appId: string;
|
|
3446
|
-
readonly file: Blob;
|
|
3447
|
-
readonly filename: string;
|
|
3448
|
-
readonly contentType: string;
|
|
3449
|
-
}): Promise<BipUpdateMediaUploadResponse>;
|
|
3450
|
-
declare function getBipInterestCount(context: TransportContext, input: {
|
|
3451
|
-
readonly bearer?: string;
|
|
3452
|
-
readonly slug: string;
|
|
3453
|
-
}): Promise<BipInterestCountResponse>;
|
|
3454
|
-
declare function getMyBipEngagement(context: TransportContext, input: {
|
|
3455
|
-
readonly bearer: string;
|
|
3456
|
-
readonly slug: string;
|
|
3457
|
-
}): Promise<BipEngagementResponse>;
|
|
3458
|
-
declare function registerBipInterest(context: TransportContext, input: {
|
|
3459
|
-
readonly bearer: string;
|
|
3460
|
-
readonly slug: string;
|
|
3461
|
-
readonly interested: boolean;
|
|
3462
|
-
}): Promise<BipEngagementResponse>;
|
|
3463
|
-
declare function subscribeBipUpdates(context: TransportContext, input: {
|
|
3464
|
-
readonly bearer: string;
|
|
3465
|
-
readonly slug: string;
|
|
3466
|
-
readonly subscribed: boolean;
|
|
3467
|
-
}): Promise<BipEngagementResponse>;
|
|
3468
|
-
//#endregion
|
|
3469
|
-
//#region src/catalog/build-in-public.d.ts
|
|
3470
|
-
declare function getBipDirectory(context: TransportContext, input: {
|
|
3471
|
-
readonly bearer?: string;
|
|
3472
|
-
readonly genre?: string;
|
|
3473
|
-
readonly q?: string;
|
|
3474
|
-
readonly before?: string;
|
|
3475
|
-
readonly limit?: number;
|
|
3476
|
-
}): Promise<LibraryListResponse>;
|
|
3477
|
-
declare function getBipPage(context: TransportContext, input: {
|
|
3478
|
-
readonly bearer?: string;
|
|
3479
|
-
readonly slug: string;
|
|
3480
|
-
}): Promise<PublicBipPage>;
|
|
3481
|
-
//#endregion
|
|
3482
3159
|
//#region src/catalog/content-reports.d.ts
|
|
3483
3160
|
declare function submitAppContentReport(context: TransportContext, input: {
|
|
3484
3161
|
readonly appId: string;
|
|
@@ -3649,9 +3326,6 @@ declare function getPaymentHistory(context: TransportContext, input: {
|
|
|
3649
3326
|
readonly before?: string;
|
|
3650
3327
|
}): Promise<PaymentHistoryResponse>;
|
|
3651
3328
|
//#endregion
|
|
3652
|
-
//#region src/dashboard/rates.d.ts
|
|
3653
|
-
declare function getPaymentRates(context: TransportContext): Promise<PaymentRatesResponse>;
|
|
3654
|
-
//#endregion
|
|
3655
3329
|
//#region src/developer/api-keys.d.ts
|
|
3656
3330
|
declare function createDeveloperApiKey(context: TransportContext, input: {
|
|
3657
3331
|
readonly bearer: string;
|
|
@@ -3894,19 +3568,6 @@ declare function unpublishAppPage(context: TransportContext, input: {
|
|
|
3894
3568
|
readonly bearer: string;
|
|
3895
3569
|
readonly appId: string;
|
|
3896
3570
|
}): Promise<AppPageDraft>;
|
|
3897
|
-
declare function setAppPageBip(context: TransportContext, input: {
|
|
3898
|
-
readonly bearer: string;
|
|
3899
|
-
readonly appId: string;
|
|
3900
|
-
readonly body: AppPageBipToggle;
|
|
3901
|
-
}): Promise<AppPageDraft>;
|
|
3902
|
-
declare function submitAppPageBipForReview(context: TransportContext, input: {
|
|
3903
|
-
readonly bearer: string;
|
|
3904
|
-
readonly appId: string;
|
|
3905
|
-
}): Promise<AppPageDraft>;
|
|
3906
|
-
declare function unpublishAppPageBip(context: TransportContext, input: {
|
|
3907
|
-
readonly bearer: string;
|
|
3908
|
-
readonly appId: string;
|
|
3909
|
-
}): Promise<AppPageDraft>;
|
|
3910
3571
|
//#endregion
|
|
3911
3572
|
//#region src/developer/participants.d.ts
|
|
3912
3573
|
declare function listDeveloperAppParticipants(context: TransportContext, input: {
|
|
@@ -4439,15 +4100,6 @@ declare function denyPaymentIntent(context: TransportContext, input: {
|
|
|
4439
4100
|
readonly bearer: string;
|
|
4440
4101
|
readonly intentId: string;
|
|
4441
4102
|
}): Promise<OauthPaymentIntentResolveResponse>;
|
|
4442
|
-
declare function preparePaymentIntentSolana(context: TransportContext, input: {
|
|
4443
|
-
readonly bearer: string;
|
|
4444
|
-
readonly intentId: string;
|
|
4445
|
-
}): Promise<OauthPaymentIntentSolanaPrepareResponse>;
|
|
4446
|
-
declare function completePaymentIntentSolana(context: TransportContext, input: {
|
|
4447
|
-
readonly bearer: string;
|
|
4448
|
-
readonly intentId: string;
|
|
4449
|
-
readonly body: OauthPaymentIntentSolanaCompleteRequest;
|
|
4450
|
-
}): Promise<OauthPaymentIntentResolveResponse>;
|
|
4451
4103
|
//#endregion
|
|
4452
4104
|
//#region src/payments/limits.d.ts
|
|
4453
4105
|
declare function getPaymentLimits(context: TransportContext, input: {
|
|
@@ -4958,4 +4610,4 @@ declare class TronNodeClient {
|
|
|
4958
4610
|
};
|
|
4959
4611
|
}
|
|
4960
4612
|
//#endregion
|
|
4961
|
-
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,
|
|
4613
|
+
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, 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, 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 };
|