@metatrongg/sdk 0.8.0-dev.f506276 → 0.8.0-dev.f69896a
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 +13 -361
- package/dist/browser/index.js +1 -1
- package/dist/contracts/index.d.ts +3869 -6805
- package/dist/contracts/index.js +1 -1
- package/dist/index.js +1 -1
- package/dist/node/index.d.ts +14 -362
- 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/browser/index.d.ts
CHANGED
|
@@ -249,15 +249,7 @@ type OauthPaymentIntentContext = {
|
|
|
249
249
|
};
|
|
250
250
|
} | null;
|
|
251
251
|
environment: "development" | "production";
|
|
252
|
-
onramp?: {
|
|
253
|
-
kind: "bridge";
|
|
254
|
-
from: PaymentNetwork;
|
|
255
|
-
to: PaymentNetwork;
|
|
256
|
-
} | {
|
|
257
|
-
kind: "insufficient";
|
|
258
|
-
};
|
|
259
252
|
};
|
|
260
|
-
type PaymentNetwork = "ethereum" | "base" | "solana";
|
|
261
253
|
type OauthPaymentIntentSignResponse = {
|
|
262
254
|
chain: string;
|
|
263
255
|
chainId: number;
|
|
@@ -287,13 +279,6 @@ type OauthPaymentIntentCompleteSigned = {
|
|
|
287
279
|
type OauthPaymentIntentCompleteOffline = {
|
|
288
280
|
method: "offline";
|
|
289
281
|
};
|
|
290
|
-
type OauthPaymentIntentSolanaPrepareResponse = {
|
|
291
|
-
transaction: string;
|
|
292
|
-
payer: string;
|
|
293
|
-
};
|
|
294
|
-
type OauthPaymentIntentSolanaCompleteRequest = {
|
|
295
|
-
signedTransaction: string;
|
|
296
|
-
};
|
|
297
282
|
type ListAppPaymentAuthorizationsResponse = {
|
|
298
283
|
authorizations: Array<AppPaymentAuthorizationItem>;
|
|
299
284
|
};
|
|
@@ -397,119 +382,6 @@ type AppPageAgeRating = "everyone" | "13_plus" | "16_plus" | "18_plus" | null;
|
|
|
397
382
|
type AppPageLanguages = Array<"en" | "es" | "fr" | "de" | "pt" | "it" | "ru" | "ja" | "ko" | "zh" | "hi" | "ar" | "tr" | "vi" | "id" | "th" | "pl" | "nl">;
|
|
398
383
|
type AppPageReleaseStatus = "live" | "open_beta" | "coming_soon";
|
|
399
384
|
type AppPagePaymentsMode = "tron" | "onchain" | "both" | null;
|
|
400
|
-
type PublicBipPage = {
|
|
401
|
-
appId: string;
|
|
402
|
-
slug: AppPageSlug;
|
|
403
|
-
appName: string;
|
|
404
|
-
appLogoUrl: string | null;
|
|
405
|
-
categories: AppPageCategories;
|
|
406
|
-
tagline: AppPageTagline;
|
|
407
|
-
bannerUrl: string | null;
|
|
408
|
-
discordUrl: string | null;
|
|
409
|
-
twitterUrl: string | null;
|
|
410
|
-
redditUrl: string | null;
|
|
411
|
-
telegramUrl: string | null;
|
|
412
|
-
gallery: AppPageGallery;
|
|
413
|
-
chapters: AppPageChapters;
|
|
414
|
-
links: AppPageLinks;
|
|
415
|
-
studio: PublicAppPageStudio;
|
|
416
|
-
platforms: AppPagePlatforms;
|
|
417
|
-
gameType: AppPageGameType;
|
|
418
|
-
ageRating: AppPageAgeRating;
|
|
419
|
-
languages: AppPageLanguages;
|
|
420
|
-
releaseStatus: AppPageReleaseStatus;
|
|
421
|
-
publishedAt: string;
|
|
422
|
-
updatedAt: string;
|
|
423
|
-
};
|
|
424
|
-
type BipUpdateListResponse = {
|
|
425
|
-
updates: Array<BipUpdate>;
|
|
426
|
-
total: number;
|
|
427
|
-
hasMore: boolean;
|
|
428
|
-
};
|
|
429
|
-
type BipUpdate = {
|
|
430
|
-
id: string;
|
|
431
|
-
appId: string;
|
|
432
|
-
body: BipUpdateBody;
|
|
433
|
-
attachments: BipUpdateAttachments;
|
|
434
|
-
reactions: BipUpdateReactionCounts;
|
|
435
|
-
commentCount: number;
|
|
436
|
-
createdAt: string;
|
|
437
|
-
updatedAt: string;
|
|
438
|
-
};
|
|
439
|
-
type BipUpdateBody = string;
|
|
440
|
-
type BipUpdateAttachments = Array<BipUpdateAttachment>;
|
|
441
|
-
type BipUpdateAttachment = {
|
|
442
|
-
url: string;
|
|
443
|
-
kind: "image" | "video";
|
|
444
|
-
order: number;
|
|
445
|
-
};
|
|
446
|
-
type BipUpdateReactionCounts = {
|
|
447
|
-
up: number;
|
|
448
|
-
down: number;
|
|
449
|
-
};
|
|
450
|
-
type BipUpdateCommentListResponse = {
|
|
451
|
-
comments: Array<BipUpdateComment>;
|
|
452
|
-
total: number;
|
|
453
|
-
hasMore: boolean;
|
|
454
|
-
};
|
|
455
|
-
type BipUpdateComment = {
|
|
456
|
-
id: string;
|
|
457
|
-
body: BipUpdateCommentBody;
|
|
458
|
-
author: ReviewAuthor;
|
|
459
|
-
createdAt: string;
|
|
460
|
-
};
|
|
461
|
-
type BipUpdateCommentBody = string;
|
|
462
|
-
type ReviewAuthor = {
|
|
463
|
-
userId: string;
|
|
464
|
-
handle: string | null;
|
|
465
|
-
name: string | null;
|
|
466
|
-
avatarUrl: string | null;
|
|
467
|
-
};
|
|
468
|
-
type BipInterestCountResponse = {
|
|
469
|
-
interestCount: number;
|
|
470
|
-
};
|
|
471
|
-
type BipEngagementResponse = {
|
|
472
|
-
interested: boolean;
|
|
473
|
-
subscribed: boolean;
|
|
474
|
-
interestCount: number;
|
|
475
|
-
};
|
|
476
|
-
type MyBipUpdateReactionsResponse = {
|
|
477
|
-
reactions: Array<MyBipUpdateReaction>;
|
|
478
|
-
};
|
|
479
|
-
type MyBipUpdateReaction = {
|
|
480
|
-
updateId: string;
|
|
481
|
-
vote: "up" | "down";
|
|
482
|
-
};
|
|
483
|
-
type SetBipUpdateReactionResponse = {
|
|
484
|
-
reactions: BipUpdateReactionCounts;
|
|
485
|
-
vote: BipUpdateVote;
|
|
486
|
-
};
|
|
487
|
-
type BipUpdateVote = "up" | "down" | null;
|
|
488
|
-
type SetBipUpdateReactionRequest = {
|
|
489
|
-
vote: BipUpdateVote;
|
|
490
|
-
};
|
|
491
|
-
type CreateBipUpdateCommentResponse = {
|
|
492
|
-
comment: BipUpdateComment;
|
|
493
|
-
commentCount: number;
|
|
494
|
-
};
|
|
495
|
-
type DeleteBipUpdateCommentResponse = {
|
|
496
|
-
commentCount: number;
|
|
497
|
-
};
|
|
498
|
-
type CreateBipUpdateRequest = {
|
|
499
|
-
body: BipUpdateBody;
|
|
500
|
-
attachments?: BipUpdateAttachments;
|
|
501
|
-
};
|
|
502
|
-
type UpdateBipUpdateRequest = {
|
|
503
|
-
body?: BipUpdateBody;
|
|
504
|
-
attachments?: BipUpdateAttachments;
|
|
505
|
-
};
|
|
506
|
-
type DeleteBipUpdateResponse = {
|
|
507
|
-
deleted: true;
|
|
508
|
-
};
|
|
509
|
-
type BipUpdateMediaUploadResponse = {
|
|
510
|
-
url: string;
|
|
511
|
-
kind: "image" | "video";
|
|
512
|
-
};
|
|
513
385
|
type ReviewListResponse = {
|
|
514
386
|
aggregate: ReviewAggregate;
|
|
515
387
|
reviews: Array<Review>;
|
|
@@ -543,6 +415,12 @@ type ReviewReactionCounts = {
|
|
|
543
415
|
unhelpful: number;
|
|
544
416
|
funny: number;
|
|
545
417
|
};
|
|
418
|
+
type ReviewAuthor = {
|
|
419
|
+
userId: string;
|
|
420
|
+
handle: string | null;
|
|
421
|
+
name: string | null;
|
|
422
|
+
avatarUrl: string | null;
|
|
423
|
+
};
|
|
546
424
|
type ReviewerStats = {
|
|
547
425
|
playtimeSecondsThisGame: number;
|
|
548
426
|
gamesPlayed: number;
|
|
@@ -1220,15 +1098,12 @@ type WalletListResponse = {
|
|
|
1220
1098
|
wallets: Array<WalletItem>;
|
|
1221
1099
|
};
|
|
1222
1100
|
type WalletChainList = Array<{
|
|
1223
|
-
id: "ethereum-mainnet" | "base-mainnet" | "ethereum-sepolia"
|
|
1101
|
+
id: "ethereum-mainnet" | "base-mainnet" | "ethereum-sepolia";
|
|
1224
1102
|
displayName: string;
|
|
1225
|
-
|
|
1226
|
-
nativeSymbol: string;
|
|
1227
|
-
chainId?: number;
|
|
1103
|
+
chainId: number;
|
|
1228
1104
|
}>;
|
|
1229
1105
|
type WalletItem = {
|
|
1230
|
-
address: string
|
|
1231
|
-
family: "evm" | "solana";
|
|
1106
|
+
address: string;
|
|
1232
1107
|
label: WalletLabel;
|
|
1233
1108
|
kind: "personal" | "app";
|
|
1234
1109
|
app: WalletAppLink;
|
|
@@ -1245,9 +1120,6 @@ type WalletBalances = {
|
|
|
1245
1120
|
"ethereum-mainnet"?: WalletChainBalance;
|
|
1246
1121
|
"base-mainnet"?: WalletChainBalance;
|
|
1247
1122
|
"ethereum-sepolia"?: WalletChainBalance;
|
|
1248
|
-
"base-sepolia"?: WalletChainBalance;
|
|
1249
|
-
"solana-mainnet"?: WalletChainBalance;
|
|
1250
|
-
"solana-devnet"?: WalletChainBalance;
|
|
1251
1123
|
};
|
|
1252
1124
|
type WalletChainBalance = {
|
|
1253
1125
|
native: string;
|
|
@@ -1257,14 +1129,12 @@ type WalletDelegationStatus = {
|
|
|
1257
1129
|
mode: WalletDelegationMode;
|
|
1258
1130
|
caps: WalletDelegationCaps;
|
|
1259
1131
|
policyId: string | null;
|
|
1260
|
-
slippageBps: DelegationSlippageBps;
|
|
1261
1132
|
};
|
|
1262
1133
|
type WalletDelegationMode = "infinite" | "custom" | "scoped" | null;
|
|
1263
1134
|
type WalletDelegationCaps = {
|
|
1264
1135
|
native: string;
|
|
1265
1136
|
usdc: string;
|
|
1266
1137
|
} | null;
|
|
1267
|
-
type DelegationSlippageBps = number | null;
|
|
1268
1138
|
type WalletLabelUpdateResponse = {
|
|
1269
1139
|
address: string;
|
|
1270
1140
|
label: WalletLabel;
|
|
@@ -1945,18 +1815,6 @@ type NotificationItem = {
|
|
|
1945
1815
|
payload: AppPageRejectedNotificationPayload;
|
|
1946
1816
|
read: boolean;
|
|
1947
1817
|
createdAt: string;
|
|
1948
|
-
} | {
|
|
1949
|
-
id: string;
|
|
1950
|
-
kind: "bip_update_published";
|
|
1951
|
-
payload: BipUpdatePublishedNotificationPayload;
|
|
1952
|
-
read: boolean;
|
|
1953
|
-
createdAt: string;
|
|
1954
|
-
} | {
|
|
1955
|
-
id: string;
|
|
1956
|
-
kind: "bip_now_playable";
|
|
1957
|
-
payload: BipNowPlayableNotificationPayload;
|
|
1958
|
-
read: boolean;
|
|
1959
|
-
createdAt: string;
|
|
1960
1818
|
} | {
|
|
1961
1819
|
id: string;
|
|
1962
1820
|
kind: "app_participant_invite";
|
|
@@ -1987,25 +1845,14 @@ type FriendAcceptedNotificationPayload = {
|
|
|
1987
1845
|
type AppPageApprovedNotificationPayload = {
|
|
1988
1846
|
appId: string;
|
|
1989
1847
|
appName: string;
|
|
1990
|
-
scope: "publish" | "changes"
|
|
1848
|
+
scope: "publish" | "changes";
|
|
1991
1849
|
};
|
|
1992
1850
|
type AppPageRejectedNotificationPayload = {
|
|
1993
1851
|
appId: string;
|
|
1994
1852
|
appName: string;
|
|
1995
|
-
scope: "publish" | "changes"
|
|
1853
|
+
scope: "publish" | "changes";
|
|
1996
1854
|
notes: string;
|
|
1997
1855
|
};
|
|
1998
|
-
type BipUpdatePublishedNotificationPayload = {
|
|
1999
|
-
appId: string;
|
|
2000
|
-
appName: string;
|
|
2001
|
-
appSlug: string | null;
|
|
2002
|
-
updateId: string;
|
|
2003
|
-
};
|
|
2004
|
-
type BipNowPlayableNotificationPayload = {
|
|
2005
|
-
appId: string;
|
|
2006
|
-
appName: string;
|
|
2007
|
-
appSlug: string | null;
|
|
2008
|
-
};
|
|
2009
1856
|
type AppParticipantInviteNotificationPayload = {
|
|
2010
1857
|
appId: string;
|
|
2011
1858
|
appName: string;
|
|
@@ -2173,14 +2020,12 @@ type UpdateDeveloperApp = {
|
|
|
2173
2020
|
redirectUris?: Array<string>;
|
|
2174
2021
|
embedOrigins?: Array<EmbedOrigin>;
|
|
2175
2022
|
acceptedCurrencies?: AcceptedCurrencies;
|
|
2176
|
-
acceptedNetworks?: AcceptedNetworks;
|
|
2177
2023
|
paymentStatusWebhookUrl?: string | null;
|
|
2178
2024
|
paymentStatusWebhookUrlTest?: string | null;
|
|
2179
2025
|
};
|
|
2180
2026
|
type EmbedOrigin = string;
|
|
2181
2027
|
type AcceptedCurrencies = Array<PlatformCurrency>;
|
|
2182
2028
|
type PlatformCurrency = "eth" | "tron";
|
|
2183
|
-
type AcceptedNetworks = Array<PaymentNetwork> | null;
|
|
2184
2029
|
type DeveloperLogoUploadResponse = {
|
|
2185
2030
|
logoUrl: string | null;
|
|
2186
2031
|
};
|
|
@@ -2427,7 +2272,6 @@ type DeveloperAppItem = {
|
|
|
2427
2272
|
redirectUris: Array<string>;
|
|
2428
2273
|
embedOrigins: Array<EmbedOrigin>;
|
|
2429
2274
|
acceptedCurrencies: AcceptedCurrencies;
|
|
2430
|
-
acceptedNetworks: AcceptedNetworks;
|
|
2431
2275
|
payoutAddresses: Array<DeveloperAppPayoutAddressItem>;
|
|
2432
2276
|
keys: Array<DeveloperAppKeyItem>;
|
|
2433
2277
|
pendingProductionRequestId: string | null;
|
|
@@ -2482,16 +2326,6 @@ type AppPageDraft = {
|
|
|
2482
2326
|
hiddenAt: string | null;
|
|
2483
2327
|
hiddenReasonPublic: string | null;
|
|
2484
2328
|
pendingReview: boolean;
|
|
2485
|
-
bip: AppPageBipState;
|
|
2486
|
-
};
|
|
2487
|
-
type AppPageBipState = {
|
|
2488
|
-
enabled: boolean;
|
|
2489
|
-
status: "draft" | "pending_review" | "published" | "hidden";
|
|
2490
|
-
firstPublishedAt: string | null;
|
|
2491
|
-
reviewedAt: string | null;
|
|
2492
|
-
reviewNotes: string | null;
|
|
2493
|
-
hiddenAt: string | null;
|
|
2494
|
-
hiddenReasonPublic: string | null;
|
|
2495
2329
|
};
|
|
2496
2330
|
type UpdateAppPage = {
|
|
2497
2331
|
categories?: AppPageCategories;
|
|
@@ -2516,9 +2350,6 @@ type UpdateAppPage = {
|
|
|
2516
2350
|
type AppPageGalleryUploadResponse = {
|
|
2517
2351
|
url: string;
|
|
2518
2352
|
};
|
|
2519
|
-
type AppPageBipToggle = {
|
|
2520
|
-
enabled: boolean;
|
|
2521
|
-
};
|
|
2522
2353
|
type AdminActivePlayersResponse = {
|
|
2523
2354
|
players: Array<AdminActivePlayer>;
|
|
2524
2355
|
total: number;
|
|
@@ -2657,11 +2488,6 @@ type AdminAppPageItem = {
|
|
|
2657
2488
|
hiddenAt: string | null;
|
|
2658
2489
|
hiddenReasonInternal: string | null;
|
|
2659
2490
|
pendingChangesSubmittedAt: string | null;
|
|
2660
|
-
bipEnabled: boolean;
|
|
2661
|
-
bipStatus: "draft" | "pending_review" | "published" | "hidden";
|
|
2662
|
-
bipFirstPublishedAt: string | null;
|
|
2663
|
-
bipHiddenAt: string | null;
|
|
2664
|
-
openReportCount: number;
|
|
2665
2491
|
};
|
|
2666
2492
|
type AdminAppPageStatusResponse = {
|
|
2667
2493
|
status: "draft" | "pending_review" | "published" | "hidden";
|
|
@@ -2687,25 +2513,6 @@ type AdminAppPageDiffField = {
|
|
|
2687
2513
|
from: string;
|
|
2688
2514
|
to: string;
|
|
2689
2515
|
};
|
|
2690
|
-
type AdminAppPageBipStatusResponse = {
|
|
2691
|
-
bipStatus: "draft" | "pending_review" | "published" | "hidden";
|
|
2692
|
-
};
|
|
2693
|
-
type AdminAppContentReportListResponse = {
|
|
2694
|
-
reports: Array<AdminAppContentReportItem>;
|
|
2695
|
-
total: number;
|
|
2696
|
-
hasMore: boolean;
|
|
2697
|
-
};
|
|
2698
|
-
type AdminAppContentReportItem = {
|
|
2699
|
-
id: string;
|
|
2700
|
-
category: AppContentReportCategory;
|
|
2701
|
-
details: string | null;
|
|
2702
|
-
status: AppContentReportStatus;
|
|
2703
|
-
acknowledgedAt: string | null;
|
|
2704
|
-
createdAt: string;
|
|
2705
|
-
appId: string;
|
|
2706
|
-
appName: string;
|
|
2707
|
-
appSlug: string | null;
|
|
2708
|
-
};
|
|
2709
2516
|
type PlatformFeesResponse = {
|
|
2710
2517
|
purchaseFeeBps: number;
|
|
2711
2518
|
stakeFeeBps: number;
|
|
@@ -2886,13 +2693,6 @@ type AppealResolveRequest = {
|
|
|
2886
2693
|
decision: "refund" | "dismiss";
|
|
2887
2694
|
notes?: string;
|
|
2888
2695
|
};
|
|
2889
|
-
type PaymentRatesResponse = {
|
|
2890
|
-
asOf: string;
|
|
2891
|
-
ethUsd: number | null;
|
|
2892
|
-
solUsd: number | null;
|
|
2893
|
-
solLamportsPerCent: number | null;
|
|
2894
|
-
tronUsdPerToken: number;
|
|
2895
|
-
};
|
|
2896
2696
|
type AppealFileResponse = {
|
|
2897
2697
|
appealId: string;
|
|
2898
2698
|
paymentId: string;
|
|
@@ -3002,7 +2802,7 @@ declare function listActivePlayers(context: TransportContext, input: {
|
|
|
3002
2802
|
//#region src/admin/app-pages.d.ts
|
|
3003
2803
|
declare function listAppPages(context: TransportContext, input: {
|
|
3004
2804
|
readonly bearer: string;
|
|
3005
|
-
readonly status?: "draft" | "pending_review" | "published" | "hidden" | "all" | "pending_changes"
|
|
2805
|
+
readonly status?: "draft" | "pending_review" | "published" | "hidden" | "all" | "pending_changes";
|
|
3006
2806
|
}): Promise<AdminAppPageListResponse>;
|
|
3007
2807
|
declare function getAppPageChanges(context: TransportContext, input: {
|
|
3008
2808
|
readonly bearer: string;
|
|
@@ -3027,20 +2827,6 @@ declare function reviewAppPage(context: TransportContext, input: {
|
|
|
3027
2827
|
readonly appId: string;
|
|
3028
2828
|
readonly body: ReviewAppPage;
|
|
3029
2829
|
}): Promise<AdminAppPageStatusResponse>;
|
|
3030
|
-
declare function reviewAppPageBip(context: TransportContext, input: {
|
|
3031
|
-
readonly bearer: string;
|
|
3032
|
-
readonly appId: string;
|
|
3033
|
-
readonly body: ReviewAppPage;
|
|
3034
|
-
}): Promise<AdminAppPageBipStatusResponse>;
|
|
3035
|
-
declare function hideAppPageBip(context: TransportContext, input: {
|
|
3036
|
-
readonly bearer: string;
|
|
3037
|
-
readonly appId: string;
|
|
3038
|
-
readonly body: HideAppPage;
|
|
3039
|
-
}): Promise<AdminAppPageBipStatusResponse>;
|
|
3040
|
-
declare function unhideAppPageBip(context: TransportContext, input: {
|
|
3041
|
-
readonly bearer: string;
|
|
3042
|
-
readonly appId: string;
|
|
3043
|
-
}): Promise<AdminAppPageBipStatusResponse>;
|
|
3044
2830
|
//#endregion
|
|
3045
2831
|
//#region src/admin/appeals.d.ts
|
|
3046
2832
|
declare function listAppealQueue(context: TransportContext, input: {
|
|
@@ -3072,19 +2858,6 @@ declare function resolveAppeal(context: TransportContext, input: {
|
|
|
3072
2858
|
readonly body: AppealResolveRequest;
|
|
3073
2859
|
}): Promise<AppealResolveSignedResponse>;
|
|
3074
2860
|
//#endregion
|
|
3075
|
-
//#region src/admin/content-reports.d.ts
|
|
3076
|
-
declare function listAdminContentReports(context: TransportContext, input: {
|
|
3077
|
-
readonly bearer: string;
|
|
3078
|
-
readonly status?: "open" | "acknowledged" | "dismissed" | "all";
|
|
3079
|
-
readonly limit?: number;
|
|
3080
|
-
readonly offset?: number;
|
|
3081
|
-
}): Promise<AdminAppContentReportListResponse>;
|
|
3082
|
-
declare function triageAdminContentReport(context: TransportContext, input: {
|
|
3083
|
-
readonly bearer: string;
|
|
3084
|
-
readonly reportId: string;
|
|
3085
|
-
readonly status: "acknowledged" | "dismissed";
|
|
3086
|
-
}): Promise<AppContentReport>;
|
|
3087
|
-
//#endregion
|
|
3088
2861
|
//#region src/admin/developers.d.ts
|
|
3089
2862
|
declare function listDeveloperRequests(context: TransportContext, input: {
|
|
3090
2863
|
readonly bearer: string;
|
|
@@ -3224,102 +2997,6 @@ declare function getAppPage(context: TransportContext, input: {
|
|
|
3224
2997
|
readonly slug: string;
|
|
3225
2998
|
}): Promise<PublicAppPage>;
|
|
3226
2999
|
//#endregion
|
|
3227
|
-
//#region src/catalog/bip-updates.d.ts
|
|
3228
|
-
declare function listBipUpdates(context: TransportContext, input: {
|
|
3229
|
-
readonly bearer?: string;
|
|
3230
|
-
readonly slug: string;
|
|
3231
|
-
readonly limit?: number;
|
|
3232
|
-
readonly offset?: number;
|
|
3233
|
-
}): Promise<BipUpdateListResponse>;
|
|
3234
|
-
declare function listBipUpdateComments(context: TransportContext, input: {
|
|
3235
|
-
readonly bearer?: string;
|
|
3236
|
-
readonly slug: string;
|
|
3237
|
-
readonly updateId: string;
|
|
3238
|
-
readonly limit?: number;
|
|
3239
|
-
readonly offset?: number;
|
|
3240
|
-
}): Promise<BipUpdateCommentListResponse>;
|
|
3241
|
-
declare function getMyBipUpdateReactions(context: TransportContext, input: {
|
|
3242
|
-
readonly bearer: string;
|
|
3243
|
-
readonly slug: string;
|
|
3244
|
-
}): Promise<MyBipUpdateReactionsResponse>;
|
|
3245
|
-
declare function setBipUpdateReaction(context: TransportContext, input: {
|
|
3246
|
-
readonly bearer: string;
|
|
3247
|
-
readonly slug: string;
|
|
3248
|
-
readonly updateId: string;
|
|
3249
|
-
readonly body: SetBipUpdateReactionRequest;
|
|
3250
|
-
}): Promise<SetBipUpdateReactionResponse>;
|
|
3251
|
-
declare function commentOnBipUpdate(context: TransportContext, input: {
|
|
3252
|
-
readonly bearer: string;
|
|
3253
|
-
readonly slug: string;
|
|
3254
|
-
readonly updateId: string;
|
|
3255
|
-
readonly body: string;
|
|
3256
|
-
}): Promise<CreateBipUpdateCommentResponse>;
|
|
3257
|
-
declare function deleteBipUpdateComment(context: TransportContext, input: {
|
|
3258
|
-
readonly bearer: string;
|
|
3259
|
-
readonly slug: string;
|
|
3260
|
-
readonly commentId: string;
|
|
3261
|
-
}): Promise<DeleteBipUpdateCommentResponse>;
|
|
3262
|
-
declare function listDeveloperBipUpdates(context: TransportContext, input: {
|
|
3263
|
-
readonly bearer: string;
|
|
3264
|
-
readonly appId: string;
|
|
3265
|
-
readonly limit?: number;
|
|
3266
|
-
readonly offset?: number;
|
|
3267
|
-
}): Promise<BipUpdateListResponse>;
|
|
3268
|
-
declare function createBipUpdate(context: TransportContext, input: {
|
|
3269
|
-
readonly bearer: string;
|
|
3270
|
-
readonly appId: string;
|
|
3271
|
-
readonly body: CreateBipUpdateRequest;
|
|
3272
|
-
}): Promise<BipUpdate>;
|
|
3273
|
-
declare function updateBipUpdate(context: TransportContext, input: {
|
|
3274
|
-
readonly bearer: string;
|
|
3275
|
-
readonly appId: string;
|
|
3276
|
-
readonly updateId: string;
|
|
3277
|
-
readonly body: UpdateBipUpdateRequest;
|
|
3278
|
-
}): Promise<BipUpdate>;
|
|
3279
|
-
declare function deleteBipUpdate(context: TransportContext, input: {
|
|
3280
|
-
readonly bearer: string;
|
|
3281
|
-
readonly appId: string;
|
|
3282
|
-
readonly updateId: string;
|
|
3283
|
-
}): Promise<DeleteBipUpdateResponse>;
|
|
3284
|
-
declare function uploadBipUpdateMedia(context: TransportContext, input: {
|
|
3285
|
-
readonly bearer: string;
|
|
3286
|
-
readonly appId: string;
|
|
3287
|
-
readonly file: Blob;
|
|
3288
|
-
readonly filename: string;
|
|
3289
|
-
readonly contentType: string;
|
|
3290
|
-
}): Promise<BipUpdateMediaUploadResponse>;
|
|
3291
|
-
declare function getBipInterestCount(context: TransportContext, input: {
|
|
3292
|
-
readonly bearer?: string;
|
|
3293
|
-
readonly slug: string;
|
|
3294
|
-
}): Promise<BipInterestCountResponse>;
|
|
3295
|
-
declare function getMyBipEngagement(context: TransportContext, input: {
|
|
3296
|
-
readonly bearer: string;
|
|
3297
|
-
readonly slug: string;
|
|
3298
|
-
}): Promise<BipEngagementResponse>;
|
|
3299
|
-
declare function registerBipInterest(context: TransportContext, input: {
|
|
3300
|
-
readonly bearer: string;
|
|
3301
|
-
readonly slug: string;
|
|
3302
|
-
readonly interested: boolean;
|
|
3303
|
-
}): Promise<BipEngagementResponse>;
|
|
3304
|
-
declare function subscribeBipUpdates(context: TransportContext, input: {
|
|
3305
|
-
readonly bearer: string;
|
|
3306
|
-
readonly slug: string;
|
|
3307
|
-
readonly subscribed: boolean;
|
|
3308
|
-
}): Promise<BipEngagementResponse>;
|
|
3309
|
-
//#endregion
|
|
3310
|
-
//#region src/catalog/build-in-public.d.ts
|
|
3311
|
-
declare function getBipDirectory(context: TransportContext, input: {
|
|
3312
|
-
readonly bearer?: string;
|
|
3313
|
-
readonly genre?: string;
|
|
3314
|
-
readonly q?: string;
|
|
3315
|
-
readonly before?: string;
|
|
3316
|
-
readonly limit?: number;
|
|
3317
|
-
}): Promise<LibraryListResponse>;
|
|
3318
|
-
declare function getBipPage(context: TransportContext, input: {
|
|
3319
|
-
readonly bearer?: string;
|
|
3320
|
-
readonly slug: string;
|
|
3321
|
-
}): Promise<PublicBipPage>;
|
|
3322
|
-
//#endregion
|
|
3323
3000
|
//#region src/catalog/content-reports.d.ts
|
|
3324
3001
|
declare function submitAppContentReport(context: TransportContext, input: {
|
|
3325
3002
|
readonly appId: string;
|
|
@@ -3484,9 +3161,6 @@ declare function getPaymentHistory(context: TransportContext, input: {
|
|
|
3484
3161
|
readonly before?: string;
|
|
3485
3162
|
}): Promise<PaymentHistoryResponse>;
|
|
3486
3163
|
//#endregion
|
|
3487
|
-
//#region src/dashboard/rates.d.ts
|
|
3488
|
-
declare function getPaymentRates(context: TransportContext): Promise<PaymentRatesResponse>;
|
|
3489
|
-
//#endregion
|
|
3490
3164
|
//#region src/developer/api-keys.d.ts
|
|
3491
3165
|
declare function createDeveloperApiKey(context: TransportContext, input: {
|
|
3492
3166
|
readonly bearer: string;
|
|
@@ -3729,19 +3403,6 @@ declare function unpublishAppPage(context: TransportContext, input: {
|
|
|
3729
3403
|
readonly bearer: string;
|
|
3730
3404
|
readonly appId: string;
|
|
3731
3405
|
}): Promise<AppPageDraft>;
|
|
3732
|
-
declare function setAppPageBip(context: TransportContext, input: {
|
|
3733
|
-
readonly bearer: string;
|
|
3734
|
-
readonly appId: string;
|
|
3735
|
-
readonly body: AppPageBipToggle;
|
|
3736
|
-
}): Promise<AppPageDraft>;
|
|
3737
|
-
declare function submitAppPageBipForReview(context: TransportContext, input: {
|
|
3738
|
-
readonly bearer: string;
|
|
3739
|
-
readonly appId: string;
|
|
3740
|
-
}): Promise<AppPageDraft>;
|
|
3741
|
-
declare function unpublishAppPageBip(context: TransportContext, input: {
|
|
3742
|
-
readonly bearer: string;
|
|
3743
|
-
readonly appId: string;
|
|
3744
|
-
}): Promise<AppPageDraft>;
|
|
3745
3406
|
//#endregion
|
|
3746
3407
|
//#region src/developer/participants.d.ts
|
|
3747
3408
|
declare function listDeveloperAppParticipants(context: TransportContext, input: {
|
|
@@ -4113,15 +3774,6 @@ declare function denyPaymentIntent(context: TransportContext, input: {
|
|
|
4113
3774
|
readonly bearer: string;
|
|
4114
3775
|
readonly intentId: string;
|
|
4115
3776
|
}): Promise<OauthPaymentIntentResolveResponse>;
|
|
4116
|
-
declare function preparePaymentIntentSolana(context: TransportContext, input: {
|
|
4117
|
-
readonly bearer: string;
|
|
4118
|
-
readonly intentId: string;
|
|
4119
|
-
}): Promise<OauthPaymentIntentSolanaPrepareResponse>;
|
|
4120
|
-
declare function completePaymentIntentSolana(context: TransportContext, input: {
|
|
4121
|
-
readonly bearer: string;
|
|
4122
|
-
readonly intentId: string;
|
|
4123
|
-
readonly body: OauthPaymentIntentSolanaCompleteRequest;
|
|
4124
|
-
}): Promise<OauthPaymentIntentResolveResponse>;
|
|
4125
3777
|
//#endregion
|
|
4126
3778
|
//#region src/payments/limits.d.ts
|
|
4127
3779
|
declare function getPaymentLimits(context: TransportContext, input: {
|
|
@@ -4626,4 +4278,4 @@ type CookieTokenStoreOptions = {
|
|
|
4626
4278
|
};
|
|
4627
4279
|
declare function createCookieTokenStore(options?: CookieTokenStoreOptions): TokenStore;
|
|
4628
4280
|
//#endregion
|
|
4629
|
-
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,
|
|
4281
|
+
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, 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, 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 };
|