@metatrongg/sdk 0.8.0-dev.bace078 → 0.8.0-dev.bd4f2f0
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 +450 -22
- package/dist/browser/index.js +1 -1
- package/dist/contracts/index.d.ts +9980 -6183
- package/dist/contracts/index.js +1 -1
- package/dist/index.js +1 -1
- package/dist/node/index.d.ts +457 -24
- 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 +4 -3
package/dist/node/index.d.ts
CHANGED
|
@@ -114,7 +114,7 @@ type Username = string;
|
|
|
114
114
|
type DisplayName = string | null;
|
|
115
115
|
type Bio = string | null;
|
|
116
116
|
type WebsiteUrl = string | null;
|
|
117
|
-
type BannerVariant = "yellow" | "green" | "blue" | "white" | "black";
|
|
117
|
+
type BannerVariant = "yellow" | "green" | "blue" | "white" | "black" | "red";
|
|
118
118
|
type AdminRole = "super-admin" | "admin" | "read-only" | null;
|
|
119
119
|
type PresenceStatusMode = "auto" | "online" | "offline";
|
|
120
120
|
type PlatformEnvironment = "development" | "production";
|
|
@@ -129,7 +129,7 @@ type OauthAuthorizationServerMetadata = {
|
|
|
129
129
|
grant_types_supported: Array<"authorization_code" | "refresh_token" | "client_credentials">;
|
|
130
130
|
code_challenge_methods_supported: Array<"S256">;
|
|
131
131
|
token_endpoint_auth_methods_supported: Array<"client_secret_basic" | "client_secret_post" | "none">;
|
|
132
|
-
scopes_supported: Array<"openid" | "profile" | "payments:charge" | "inventory:read" | "developer:read" | "developer:apps" | "developer:pages">;
|
|
132
|
+
scopes_supported: Array<"openid" | "profile" | "payments:charge" | "inventory:read" | "social:read" | "developer:read" | "developer:apps" | "developer:pages">;
|
|
133
133
|
};
|
|
134
134
|
type OauthClientRegistrationResponse = {
|
|
135
135
|
client_id: string;
|
|
@@ -169,7 +169,9 @@ type OauthErrorResponse = {
|
|
|
169
169
|
type OauthUserInfoResponse = {
|
|
170
170
|
sub: string;
|
|
171
171
|
name: string | null;
|
|
172
|
+
preferred_username: string | null;
|
|
172
173
|
picture: string | null;
|
|
174
|
+
wallet_address: string | null;
|
|
173
175
|
};
|
|
174
176
|
type OauthPaymentChargeResponse = ({
|
|
175
177
|
status: "completed";
|
|
@@ -289,7 +291,15 @@ type OauthPaymentIntentContext = {
|
|
|
289
291
|
};
|
|
290
292
|
} | null;
|
|
291
293
|
environment: "development" | "production";
|
|
294
|
+
onramp?: {
|
|
295
|
+
kind: "bridge";
|
|
296
|
+
from: PaymentNetwork;
|
|
297
|
+
to: PaymentNetwork;
|
|
298
|
+
} | {
|
|
299
|
+
kind: "insufficient";
|
|
300
|
+
};
|
|
292
301
|
};
|
|
302
|
+
type PaymentNetwork = "ethereum" | "base" | "solana";
|
|
293
303
|
type OauthPaymentIntentSignResponse = {
|
|
294
304
|
chain: string;
|
|
295
305
|
chainId: number;
|
|
@@ -319,6 +329,13 @@ type OauthPaymentIntentCompleteSigned = {
|
|
|
319
329
|
type OauthPaymentIntentCompleteOffline = {
|
|
320
330
|
method: "offline";
|
|
321
331
|
};
|
|
332
|
+
type OauthPaymentIntentSolanaPrepareResponse = {
|
|
333
|
+
transaction: string;
|
|
334
|
+
payer: string;
|
|
335
|
+
};
|
|
336
|
+
type OauthPaymentIntentSolanaCompleteRequest = {
|
|
337
|
+
signedTransaction: string;
|
|
338
|
+
};
|
|
322
339
|
type ListAppPaymentAuthorizationsResponse = {
|
|
323
340
|
authorizations: Array<AppPaymentAuthorizationItem>;
|
|
324
341
|
};
|
|
@@ -385,6 +402,7 @@ type PublicAppPage = {
|
|
|
385
402
|
paymentsMode: AppPagePaymentsMode;
|
|
386
403
|
oauthScopes: Array<string>;
|
|
387
404
|
chains: Array<string>;
|
|
405
|
+
devlog: boolean;
|
|
388
406
|
publishedAt: string;
|
|
389
407
|
updatedAt: string;
|
|
390
408
|
};
|
|
@@ -422,6 +440,121 @@ type AppPageAgeRating = "everyone" | "13_plus" | "16_plus" | "18_plus" | null;
|
|
|
422
440
|
type AppPageLanguages = Array<"en" | "es" | "fr" | "de" | "pt" | "it" | "ru" | "ja" | "ko" | "zh" | "hi" | "ar" | "tr" | "vi" | "id" | "th" | "pl" | "nl">;
|
|
423
441
|
type AppPageReleaseStatus = "live" | "open_beta" | "coming_soon";
|
|
424
442
|
type AppPagePaymentsMode = "tron" | "onchain" | "both" | null;
|
|
443
|
+
type PublicBipPage = {
|
|
444
|
+
appId: string;
|
|
445
|
+
slug: AppPageSlug;
|
|
446
|
+
appName: string;
|
|
447
|
+
appLogoUrl: string | null;
|
|
448
|
+
categories: AppPageCategories;
|
|
449
|
+
tagline: AppPageTagline;
|
|
450
|
+
bannerUrl: string | null;
|
|
451
|
+
discordUrl: string | null;
|
|
452
|
+
twitterUrl: string | null;
|
|
453
|
+
redditUrl: string | null;
|
|
454
|
+
telegramUrl: string | null;
|
|
455
|
+
gallery: AppPageGallery;
|
|
456
|
+
chapters: AppPageChapters;
|
|
457
|
+
links: AppPageLinks;
|
|
458
|
+
studio: PublicAppPageStudio;
|
|
459
|
+
platforms: AppPagePlatforms;
|
|
460
|
+
gameType: AppPageGameType;
|
|
461
|
+
ageRating: AppPageAgeRating;
|
|
462
|
+
languages: AppPageLanguages;
|
|
463
|
+
releaseStatus: AppPageReleaseStatus;
|
|
464
|
+
publishedAt: string;
|
|
465
|
+
updatedAt: string;
|
|
466
|
+
};
|
|
467
|
+
type BipUpdateListResponse = {
|
|
468
|
+
updates: Array<BipUpdate>;
|
|
469
|
+
total: number;
|
|
470
|
+
hasMore: boolean;
|
|
471
|
+
pinned: BipUpdate | null;
|
|
472
|
+
};
|
|
473
|
+
type BipUpdate = {
|
|
474
|
+
id: string;
|
|
475
|
+
appId: string;
|
|
476
|
+
body: BipUpdateBody;
|
|
477
|
+
attachments: BipUpdateAttachments;
|
|
478
|
+
reactions: BipUpdateReactionCounts;
|
|
479
|
+
commentCount: number;
|
|
480
|
+
createdAt: string;
|
|
481
|
+
updatedAt: string;
|
|
482
|
+
pinnedAt: string | null;
|
|
483
|
+
};
|
|
484
|
+
type BipUpdateBody = string;
|
|
485
|
+
type BipUpdateAttachments = Array<BipUpdateAttachment>;
|
|
486
|
+
type BipUpdateAttachment = {
|
|
487
|
+
url: string;
|
|
488
|
+
kind: "image" | "video";
|
|
489
|
+
order: number;
|
|
490
|
+
};
|
|
491
|
+
type BipUpdateReactionCounts = {
|
|
492
|
+
up: number;
|
|
493
|
+
down: number;
|
|
494
|
+
};
|
|
495
|
+
type BipUpdateCommentListResponse = {
|
|
496
|
+
comments: Array<BipUpdateComment>;
|
|
497
|
+
total: number;
|
|
498
|
+
hasMore: boolean;
|
|
499
|
+
};
|
|
500
|
+
type BipUpdateComment = {
|
|
501
|
+
id: string;
|
|
502
|
+
body: BipUpdateCommentBody;
|
|
503
|
+
author: ReviewAuthor;
|
|
504
|
+
createdAt: string;
|
|
505
|
+
};
|
|
506
|
+
type BipUpdateCommentBody = string;
|
|
507
|
+
type ReviewAuthor = {
|
|
508
|
+
userId: string;
|
|
509
|
+
handle: string | null;
|
|
510
|
+
name: string | null;
|
|
511
|
+
avatarUrl: string | null;
|
|
512
|
+
};
|
|
513
|
+
type BipInterestCountResponse = {
|
|
514
|
+
interestCount: number;
|
|
515
|
+
};
|
|
516
|
+
type BipEngagementResponse = {
|
|
517
|
+
interested: boolean;
|
|
518
|
+
subscribed: boolean;
|
|
519
|
+
interestCount: number;
|
|
520
|
+
};
|
|
521
|
+
type MyBipUpdateReactionsResponse = {
|
|
522
|
+
reactions: Array<MyBipUpdateReaction>;
|
|
523
|
+
};
|
|
524
|
+
type MyBipUpdateReaction = {
|
|
525
|
+
updateId: string;
|
|
526
|
+
vote: "up" | "down";
|
|
527
|
+
};
|
|
528
|
+
type SetBipUpdateReactionResponse = {
|
|
529
|
+
reactions: BipUpdateReactionCounts;
|
|
530
|
+
vote: BipUpdateVote;
|
|
531
|
+
};
|
|
532
|
+
type BipUpdateVote = "up" | "down" | null;
|
|
533
|
+
type SetBipUpdateReactionRequest = {
|
|
534
|
+
vote: BipUpdateVote;
|
|
535
|
+
};
|
|
536
|
+
type CreateBipUpdateCommentResponse = {
|
|
537
|
+
comment: BipUpdateComment;
|
|
538
|
+
commentCount: number;
|
|
539
|
+
};
|
|
540
|
+
type DeleteBipUpdateCommentResponse = {
|
|
541
|
+
commentCount: number;
|
|
542
|
+
};
|
|
543
|
+
type CreateBipUpdateRequest = {
|
|
544
|
+
body: BipUpdateBody;
|
|
545
|
+
attachments?: BipUpdateAttachments;
|
|
546
|
+
};
|
|
547
|
+
type UpdateBipUpdateRequest = {
|
|
548
|
+
body?: BipUpdateBody;
|
|
549
|
+
attachments?: BipUpdateAttachments;
|
|
550
|
+
};
|
|
551
|
+
type DeleteBipUpdateResponse = {
|
|
552
|
+
deleted: true;
|
|
553
|
+
};
|
|
554
|
+
type BipUpdateMediaUploadResponse = {
|
|
555
|
+
url: string;
|
|
556
|
+
kind: "image" | "video";
|
|
557
|
+
};
|
|
425
558
|
type ReviewListResponse = {
|
|
426
559
|
aggregate: ReviewAggregate;
|
|
427
560
|
reviews: Array<Review>;
|
|
@@ -455,12 +588,6 @@ type ReviewReactionCounts = {
|
|
|
455
588
|
unhelpful: number;
|
|
456
589
|
funny: number;
|
|
457
590
|
};
|
|
458
|
-
type ReviewAuthor = {
|
|
459
|
-
userId: string;
|
|
460
|
-
handle: string | null;
|
|
461
|
-
name: string | null;
|
|
462
|
-
avatarUrl: string | null;
|
|
463
|
-
};
|
|
464
591
|
type ReviewerStats = {
|
|
465
592
|
playtimeSecondsThisGame: number;
|
|
466
593
|
gamesPlayed: number;
|
|
@@ -651,7 +778,11 @@ type ActivityRow = ({
|
|
|
651
778
|
kind: "referral_earning";
|
|
652
779
|
} & ActivityRowReferralEarning) | ({
|
|
653
780
|
kind: "nft_charge";
|
|
654
|
-
} & ActivityRowNftCharge)
|
|
781
|
+
} & ActivityRowNftCharge) | ({
|
|
782
|
+
kind: "solana_stake";
|
|
783
|
+
} & ActivityRowSolanaStake) | ({
|
|
784
|
+
kind: "solana_pot_leg";
|
|
785
|
+
} & ActivityRowSolanaPotLeg);
|
|
655
786
|
type ActivityRowPayment = {
|
|
656
787
|
kind: "payment";
|
|
657
788
|
groupId: string | null;
|
|
@@ -979,6 +1110,56 @@ type ActivityRowNftCharge = {
|
|
|
979
1110
|
counterpartyHandle: string | null;
|
|
980
1111
|
counterpartyDisplayName: string | null;
|
|
981
1112
|
};
|
|
1113
|
+
type ActivityRowSolanaStake = {
|
|
1114
|
+
kind: "solana_stake";
|
|
1115
|
+
groupId: string | null;
|
|
1116
|
+
id: string;
|
|
1117
|
+
chain: string;
|
|
1118
|
+
occurredAt: string;
|
|
1119
|
+
role: "outgoing" | "incoming";
|
|
1120
|
+
amount: string;
|
|
1121
|
+
token: string;
|
|
1122
|
+
potId: string | null;
|
|
1123
|
+
usdCents: number;
|
|
1124
|
+
status: "completed";
|
|
1125
|
+
txHash: string | null;
|
|
1126
|
+
app: {
|
|
1127
|
+
id: string;
|
|
1128
|
+
name: string;
|
|
1129
|
+
logoUrl: string | null;
|
|
1130
|
+
slug: string | null;
|
|
1131
|
+
bannerUrl: string | null;
|
|
1132
|
+
} | null;
|
|
1133
|
+
stakerUserId?: string | null;
|
|
1134
|
+
stakerHandle?: string | null;
|
|
1135
|
+
stakerDisplayName?: string | null;
|
|
1136
|
+
metadata?: PaymentMetadata | null;
|
|
1137
|
+
};
|
|
1138
|
+
type ActivityRowSolanaPotLeg = {
|
|
1139
|
+
kind: "solana_pot_leg";
|
|
1140
|
+
groupId: string | null;
|
|
1141
|
+
id: string;
|
|
1142
|
+
chain: string;
|
|
1143
|
+
occurredAt: string;
|
|
1144
|
+
role: "outgoing" | "incoming";
|
|
1145
|
+
beneficiary: string;
|
|
1146
|
+
potId: string | null;
|
|
1147
|
+
amount: string;
|
|
1148
|
+
token: string;
|
|
1149
|
+
usdCents: number | null;
|
|
1150
|
+
status: "settled";
|
|
1151
|
+
app: {
|
|
1152
|
+
id: string;
|
|
1153
|
+
name: string;
|
|
1154
|
+
logoUrl: string | null;
|
|
1155
|
+
slug: string | null;
|
|
1156
|
+
bannerUrl: string | null;
|
|
1157
|
+
} | null;
|
|
1158
|
+
txHash: string | null;
|
|
1159
|
+
recipientUserId?: string | null;
|
|
1160
|
+
recipientHandle?: string | null;
|
|
1161
|
+
recipientDisplayName?: string | null;
|
|
1162
|
+
};
|
|
982
1163
|
type OutstandingResponse = {
|
|
983
1164
|
rows: Array<OutstandingByToken>;
|
|
984
1165
|
};
|
|
@@ -1214,12 +1395,15 @@ type WalletListResponse = {
|
|
|
1214
1395
|
wallets: Array<WalletItem>;
|
|
1215
1396
|
};
|
|
1216
1397
|
type WalletChainList = Array<{
|
|
1217
|
-
id: "ethereum-mainnet" | "base-mainnet" | "ethereum-sepolia";
|
|
1398
|
+
id: "ethereum-mainnet" | "base-mainnet" | "ethereum-sepolia" | "base-sepolia" | "solana-mainnet" | "solana-devnet";
|
|
1218
1399
|
displayName: string;
|
|
1219
|
-
|
|
1400
|
+
family: "evm" | "solana";
|
|
1401
|
+
nativeSymbol: string;
|
|
1402
|
+
chainId?: number;
|
|
1220
1403
|
}>;
|
|
1221
1404
|
type WalletItem = {
|
|
1222
|
-
address: string;
|
|
1405
|
+
address: string | string;
|
|
1406
|
+
family: "evm" | "solana";
|
|
1223
1407
|
label: WalletLabel;
|
|
1224
1408
|
kind: "personal" | "app";
|
|
1225
1409
|
app: WalletAppLink;
|
|
@@ -1236,6 +1420,9 @@ type WalletBalances = {
|
|
|
1236
1420
|
"ethereum-mainnet"?: WalletChainBalance;
|
|
1237
1421
|
"base-mainnet"?: WalletChainBalance;
|
|
1238
1422
|
"ethereum-sepolia"?: WalletChainBalance;
|
|
1423
|
+
"base-sepolia"?: WalletChainBalance;
|
|
1424
|
+
"solana-mainnet"?: WalletChainBalance;
|
|
1425
|
+
"solana-devnet"?: WalletChainBalance;
|
|
1239
1426
|
};
|
|
1240
1427
|
type WalletChainBalance = {
|
|
1241
1428
|
native: string;
|
|
@@ -1245,12 +1432,14 @@ type WalletDelegationStatus = {
|
|
|
1245
1432
|
mode: WalletDelegationMode;
|
|
1246
1433
|
caps: WalletDelegationCaps;
|
|
1247
1434
|
policyId: string | null;
|
|
1435
|
+
slippageBps: DelegationSlippageBps;
|
|
1248
1436
|
};
|
|
1249
1437
|
type WalletDelegationMode = "infinite" | "custom" | "scoped" | null;
|
|
1250
1438
|
type WalletDelegationCaps = {
|
|
1251
1439
|
native: string;
|
|
1252
1440
|
usdc: string;
|
|
1253
1441
|
} | null;
|
|
1442
|
+
type DelegationSlippageBps = number | null;
|
|
1254
1443
|
type WalletLabelUpdateResponse = {
|
|
1255
1444
|
address: string;
|
|
1256
1445
|
label: WalletLabel;
|
|
@@ -1324,7 +1513,7 @@ type ThreadLastMessagePreview = {
|
|
|
1324
1513
|
url: string;
|
|
1325
1514
|
count: number;
|
|
1326
1515
|
} | null;
|
|
1327
|
-
transaction?:
|
|
1516
|
+
transaction?: MessageTransactionTronTransfer | MessageTransactionNftTransfer | null;
|
|
1328
1517
|
sentAt: string;
|
|
1329
1518
|
} | null;
|
|
1330
1519
|
type MessageEnvelope = {
|
|
@@ -1336,7 +1525,6 @@ type MessageEnvelope = {
|
|
|
1336
1525
|
iv: string;
|
|
1337
1526
|
ct: string;
|
|
1338
1527
|
} | null;
|
|
1339
|
-
type MessageTransaction = MessageTransactionTronTransfer | MessageTransactionNftTransfer;
|
|
1340
1528
|
type MessageTransactionTronTransfer = {
|
|
1341
1529
|
kind: "tron_transfer";
|
|
1342
1530
|
amountCents: number;
|
|
@@ -1349,6 +1537,7 @@ type MessageTransactionNftTransfer = {
|
|
|
1349
1537
|
tokenId: string;
|
|
1350
1538
|
amount: string;
|
|
1351
1539
|
itemName: string | null;
|
|
1540
|
+
imageAssetId?: string | null;
|
|
1352
1541
|
};
|
|
1353
1542
|
type GroupThreadSummary = {
|
|
1354
1543
|
kind: "group";
|
|
@@ -1396,7 +1585,7 @@ type MessageItem = {
|
|
|
1396
1585
|
id: string;
|
|
1397
1586
|
threadId: string;
|
|
1398
1587
|
senderUserId: string;
|
|
1399
|
-
transaction?:
|
|
1588
|
+
transaction?: MessageTransactionTronTransfer | MessageTransactionNftTransfer | null;
|
|
1400
1589
|
body: string;
|
|
1401
1590
|
envelope?: MessageEnvelope;
|
|
1402
1591
|
sentAt: string;
|
|
@@ -1910,6 +2099,18 @@ type NotificationItem = {
|
|
|
1910
2099
|
payload: AppPageRejectedNotificationPayload;
|
|
1911
2100
|
read: boolean;
|
|
1912
2101
|
createdAt: string;
|
|
2102
|
+
} | {
|
|
2103
|
+
id: string;
|
|
2104
|
+
kind: "bip_update_published";
|
|
2105
|
+
payload: BipUpdatePublishedNotificationPayload;
|
|
2106
|
+
read: boolean;
|
|
2107
|
+
createdAt: string;
|
|
2108
|
+
} | {
|
|
2109
|
+
id: string;
|
|
2110
|
+
kind: "bip_now_playable";
|
|
2111
|
+
payload: BipNowPlayableNotificationPayload;
|
|
2112
|
+
read: boolean;
|
|
2113
|
+
createdAt: string;
|
|
1913
2114
|
} | {
|
|
1914
2115
|
id: string;
|
|
1915
2116
|
kind: "app_participant_invite";
|
|
@@ -1940,14 +2141,25 @@ type FriendAcceptedNotificationPayload = {
|
|
|
1940
2141
|
type AppPageApprovedNotificationPayload = {
|
|
1941
2142
|
appId: string;
|
|
1942
2143
|
appName: string;
|
|
1943
|
-
scope: "publish" | "changes";
|
|
2144
|
+
scope: "publish" | "changes" | "bip_publish";
|
|
1944
2145
|
};
|
|
1945
2146
|
type AppPageRejectedNotificationPayload = {
|
|
1946
2147
|
appId: string;
|
|
1947
2148
|
appName: string;
|
|
1948
|
-
scope: "publish" | "changes";
|
|
2149
|
+
scope: "publish" | "changes" | "bip_publish";
|
|
1949
2150
|
notes: string;
|
|
1950
2151
|
};
|
|
2152
|
+
type BipUpdatePublishedNotificationPayload = {
|
|
2153
|
+
appId: string;
|
|
2154
|
+
appName: string;
|
|
2155
|
+
appSlug: string | null;
|
|
2156
|
+
updateId: string;
|
|
2157
|
+
};
|
|
2158
|
+
type BipNowPlayableNotificationPayload = {
|
|
2159
|
+
appId: string;
|
|
2160
|
+
appName: string;
|
|
2161
|
+
appSlug: string | null;
|
|
2162
|
+
};
|
|
1951
2163
|
type AppParticipantInviteNotificationPayload = {
|
|
1952
2164
|
appId: string;
|
|
1953
2165
|
appName: string;
|
|
@@ -1977,6 +2189,9 @@ type FriendListItem = {
|
|
|
1977
2189
|
onlineStatus: OnlineStatus;
|
|
1978
2190
|
};
|
|
1979
2191
|
type OnlineStatus = "online" | "offline";
|
|
2192
|
+
type AppFriendListResponse = {
|
|
2193
|
+
friends: Array<ThreadParticipant>;
|
|
2194
|
+
};
|
|
1980
2195
|
type FriendRequestDecision = {
|
|
1981
2196
|
decision: "accept" | "reject";
|
|
1982
2197
|
};
|
|
@@ -2106,17 +2321,20 @@ type CreateDeveloperAppChain = {
|
|
|
2106
2321
|
};
|
|
2107
2322
|
type UpdateDeveloperApp = {
|
|
2108
2323
|
name?: DeveloperAppName;
|
|
2324
|
+
slug?: AppPageSlug | null;
|
|
2109
2325
|
logoUrl?: string | null;
|
|
2110
2326
|
testAccess?: "private" | "public";
|
|
2111
2327
|
redirectUris?: Array<string>;
|
|
2112
2328
|
embedOrigins?: Array<EmbedOrigin>;
|
|
2113
2329
|
acceptedCurrencies?: AcceptedCurrencies;
|
|
2330
|
+
acceptedNetworks?: AcceptedNetworks;
|
|
2114
2331
|
paymentStatusWebhookUrl?: string | null;
|
|
2115
2332
|
paymentStatusWebhookUrlTest?: string | null;
|
|
2116
2333
|
};
|
|
2117
2334
|
type EmbedOrigin = string;
|
|
2118
2335
|
type AcceptedCurrencies = Array<PlatformCurrency>;
|
|
2119
2336
|
type PlatformCurrency = "eth" | "tron";
|
|
2337
|
+
type AcceptedNetworks = Array<PaymentNetwork> | null;
|
|
2120
2338
|
type DeveloperLogoUploadResponse = {
|
|
2121
2339
|
logoUrl: string | null;
|
|
2122
2340
|
};
|
|
@@ -2179,7 +2397,7 @@ type DeveloperAppWalletsResponse = {
|
|
|
2179
2397
|
};
|
|
2180
2398
|
type DeveloperAppWalletItem = {
|
|
2181
2399
|
chain: string;
|
|
2182
|
-
address: string;
|
|
2400
|
+
address: string | string;
|
|
2183
2401
|
custody: "server" | null;
|
|
2184
2402
|
walletId: string | null;
|
|
2185
2403
|
autoSweepEnabled: boolean;
|
|
@@ -2200,7 +2418,7 @@ type DeveloperAppProvisionWalletResponse = {
|
|
|
2200
2418
|
chain: string;
|
|
2201
2419
|
custody: "server";
|
|
2202
2420
|
walletId: string;
|
|
2203
|
-
address: string;
|
|
2421
|
+
address: string | string;
|
|
2204
2422
|
};
|
|
2205
2423
|
type DeveloperAppWithdrawResponse = {
|
|
2206
2424
|
appId: string;
|
|
@@ -2354,6 +2572,7 @@ type DeveloperProductionRequestPayload = {
|
|
|
2354
2572
|
type DeveloperAppItem = {
|
|
2355
2573
|
id: string;
|
|
2356
2574
|
name: DeveloperAppName;
|
|
2575
|
+
slug: AppPageSlug | null;
|
|
2357
2576
|
logoUrl: string | null;
|
|
2358
2577
|
environment: "development" | "production";
|
|
2359
2578
|
productionApprovedAt: string | null;
|
|
@@ -2362,6 +2581,7 @@ type DeveloperAppItem = {
|
|
|
2362
2581
|
redirectUris: Array<string>;
|
|
2363
2582
|
embedOrigins: Array<EmbedOrigin>;
|
|
2364
2583
|
acceptedCurrencies: AcceptedCurrencies;
|
|
2584
|
+
acceptedNetworks: AcceptedNetworks;
|
|
2365
2585
|
payoutAddresses: Array<DeveloperAppPayoutAddressItem>;
|
|
2366
2586
|
keys: Array<DeveloperAppKeyItem>;
|
|
2367
2587
|
pendingProductionRequestId: string | null;
|
|
@@ -2416,9 +2636,18 @@ type AppPageDraft = {
|
|
|
2416
2636
|
hiddenAt: string | null;
|
|
2417
2637
|
hiddenReasonPublic: string | null;
|
|
2418
2638
|
pendingReview: boolean;
|
|
2639
|
+
bip: AppPageBipState;
|
|
2640
|
+
};
|
|
2641
|
+
type AppPageBipState = {
|
|
2642
|
+
enabled: boolean;
|
|
2643
|
+
status: "draft" | "pending_review" | "published" | "hidden";
|
|
2644
|
+
firstPublishedAt: string | null;
|
|
2645
|
+
reviewedAt: string | null;
|
|
2646
|
+
reviewNotes: string | null;
|
|
2647
|
+
hiddenAt: string | null;
|
|
2648
|
+
hiddenReasonPublic: string | null;
|
|
2419
2649
|
};
|
|
2420
2650
|
type UpdateAppPage = {
|
|
2421
|
-
slug?: AppPageSlug | null;
|
|
2422
2651
|
categories?: AppPageCategories;
|
|
2423
2652
|
tagline?: AppPageTagline | null;
|
|
2424
2653
|
bannerUrl?: string | null;
|
|
@@ -2441,6 +2670,9 @@ type UpdateAppPage = {
|
|
|
2441
2670
|
type AppPageGalleryUploadResponse = {
|
|
2442
2671
|
url: string;
|
|
2443
2672
|
};
|
|
2673
|
+
type AppPageBipToggle = {
|
|
2674
|
+
enabled: boolean;
|
|
2675
|
+
};
|
|
2444
2676
|
type AdminActivePlayersResponse = {
|
|
2445
2677
|
players: Array<AdminActivePlayer>;
|
|
2446
2678
|
total: number;
|
|
@@ -2512,6 +2744,7 @@ type AdminAuditListResponse = {
|
|
|
2512
2744
|
total: number;
|
|
2513
2745
|
offset: number;
|
|
2514
2746
|
limit: number;
|
|
2747
|
+
nextCursor: string | null;
|
|
2515
2748
|
};
|
|
2516
2749
|
type AdminAuditListItem = {
|
|
2517
2750
|
id: string;
|
|
@@ -2579,6 +2812,11 @@ type AdminAppPageItem = {
|
|
|
2579
2812
|
hiddenAt: string | null;
|
|
2580
2813
|
hiddenReasonInternal: string | null;
|
|
2581
2814
|
pendingChangesSubmittedAt: string | null;
|
|
2815
|
+
bipEnabled: boolean;
|
|
2816
|
+
bipStatus: "draft" | "pending_review" | "published" | "hidden";
|
|
2817
|
+
bipFirstPublishedAt: string | null;
|
|
2818
|
+
bipHiddenAt: string | null;
|
|
2819
|
+
openReportCount: number;
|
|
2582
2820
|
};
|
|
2583
2821
|
type AdminAppPageStatusResponse = {
|
|
2584
2822
|
status: "draft" | "pending_review" | "published" | "hidden";
|
|
@@ -2604,6 +2842,25 @@ type AdminAppPageDiffField = {
|
|
|
2604
2842
|
from: string;
|
|
2605
2843
|
to: string;
|
|
2606
2844
|
};
|
|
2845
|
+
type AdminAppPageBipStatusResponse = {
|
|
2846
|
+
bipStatus: "draft" | "pending_review" | "published" | "hidden";
|
|
2847
|
+
};
|
|
2848
|
+
type AdminAppContentReportListResponse = {
|
|
2849
|
+
reports: Array<AdminAppContentReportItem>;
|
|
2850
|
+
total: number;
|
|
2851
|
+
hasMore: boolean;
|
|
2852
|
+
};
|
|
2853
|
+
type AdminAppContentReportItem = {
|
|
2854
|
+
id: string;
|
|
2855
|
+
category: AppContentReportCategory;
|
|
2856
|
+
details: string | null;
|
|
2857
|
+
status: AppContentReportStatus;
|
|
2858
|
+
acknowledgedAt: string | null;
|
|
2859
|
+
createdAt: string;
|
|
2860
|
+
appId: string;
|
|
2861
|
+
appName: string;
|
|
2862
|
+
appSlug: string | null;
|
|
2863
|
+
};
|
|
2607
2864
|
type PlatformFeesResponse = {
|
|
2608
2865
|
purchaseFeeBps: number;
|
|
2609
2866
|
stakeFeeBps: number;
|
|
@@ -2784,6 +3041,13 @@ type AppealResolveRequest = {
|
|
|
2784
3041
|
decision: "refund" | "dismiss";
|
|
2785
3042
|
notes?: string;
|
|
2786
3043
|
};
|
|
3044
|
+
type PaymentRatesResponse = {
|
|
3045
|
+
asOf: string;
|
|
3046
|
+
ethUsd: number | null;
|
|
3047
|
+
solUsd: number | null;
|
|
3048
|
+
solLamportsPerCent: number | null;
|
|
3049
|
+
tronUsdPerToken: number;
|
|
3050
|
+
};
|
|
2787
3051
|
type AppealFileResponse = {
|
|
2788
3052
|
appealId: string;
|
|
2789
3053
|
paymentId: string;
|
|
@@ -2832,7 +3096,7 @@ type OauthPaymentPayoutRequest = {
|
|
|
2832
3096
|
metadata?: PaymentMetadata;
|
|
2833
3097
|
};
|
|
2834
3098
|
type OauthPaymentDistributeResponse = {
|
|
2835
|
-
distributionId
|
|
3099
|
+
distributionId?: string;
|
|
2836
3100
|
txHash: string;
|
|
2837
3101
|
blockNumber: string;
|
|
2838
3102
|
potId: string;
|
|
@@ -2955,7 +3219,7 @@ declare function listActivePlayers(context: TransportContext, input: {
|
|
|
2955
3219
|
//#region src/admin/app-pages.d.ts
|
|
2956
3220
|
declare function listAppPages(context: TransportContext, input: {
|
|
2957
3221
|
readonly bearer: string;
|
|
2958
|
-
readonly status?: "draft" | "pending_review" | "published" | "hidden" | "all" | "pending_changes";
|
|
3222
|
+
readonly status?: "draft" | "pending_review" | "published" | "hidden" | "all" | "pending_changes" | "bip_pending_review";
|
|
2959
3223
|
}): Promise<AdminAppPageListResponse>;
|
|
2960
3224
|
declare function getAppPageChanges(context: TransportContext, input: {
|
|
2961
3225
|
readonly bearer: string;
|
|
@@ -2980,6 +3244,20 @@ declare function reviewAppPage(context: TransportContext, input: {
|
|
|
2980
3244
|
readonly appId: string;
|
|
2981
3245
|
readonly body: ReviewAppPage;
|
|
2982
3246
|
}): Promise<AdminAppPageStatusResponse>;
|
|
3247
|
+
declare function reviewAppPageBip(context: TransportContext, input: {
|
|
3248
|
+
readonly bearer: string;
|
|
3249
|
+
readonly appId: string;
|
|
3250
|
+
readonly body: ReviewAppPage;
|
|
3251
|
+
}): Promise<AdminAppPageBipStatusResponse>;
|
|
3252
|
+
declare function hideAppPageBip(context: TransportContext, input: {
|
|
3253
|
+
readonly bearer: string;
|
|
3254
|
+
readonly appId: string;
|
|
3255
|
+
readonly body: HideAppPage;
|
|
3256
|
+
}): Promise<AdminAppPageBipStatusResponse>;
|
|
3257
|
+
declare function unhideAppPageBip(context: TransportContext, input: {
|
|
3258
|
+
readonly bearer: string;
|
|
3259
|
+
readonly appId: string;
|
|
3260
|
+
}): Promise<AdminAppPageBipStatusResponse>;
|
|
2983
3261
|
//#endregion
|
|
2984
3262
|
//#region src/admin/appeals.d.ts
|
|
2985
3263
|
declare function listAppealQueue(context: TransportContext, input: {
|
|
@@ -3011,6 +3289,19 @@ declare function resolveAppeal(context: TransportContext, input: {
|
|
|
3011
3289
|
readonly body: AppealResolveRequest;
|
|
3012
3290
|
}): Promise<AppealResolveSignedResponse>;
|
|
3013
3291
|
//#endregion
|
|
3292
|
+
//#region src/admin/content-reports.d.ts
|
|
3293
|
+
declare function listAdminContentReports(context: TransportContext, input: {
|
|
3294
|
+
readonly bearer: string;
|
|
3295
|
+
readonly status?: "open" | "acknowledged" | "dismissed" | "all";
|
|
3296
|
+
readonly limit?: number;
|
|
3297
|
+
readonly offset?: number;
|
|
3298
|
+
}): Promise<AdminAppContentReportListResponse>;
|
|
3299
|
+
declare function triageAdminContentReport(context: TransportContext, input: {
|
|
3300
|
+
readonly bearer: string;
|
|
3301
|
+
readonly reportId: string;
|
|
3302
|
+
readonly status: "acknowledged" | "dismissed";
|
|
3303
|
+
}): Promise<AppContentReport>;
|
|
3304
|
+
//#endregion
|
|
3014
3305
|
//#region src/admin/developers.d.ts
|
|
3015
3306
|
declare function listDeveloperRequests(context: TransportContext, input: {
|
|
3016
3307
|
readonly bearer: string;
|
|
@@ -3140,6 +3431,7 @@ declare function listAudit(context: TransportContext, input: {
|
|
|
3140
3431
|
readonly actorId?: string;
|
|
3141
3432
|
readonly targetType?: string;
|
|
3142
3433
|
readonly targetId?: string;
|
|
3434
|
+
readonly cursor?: string;
|
|
3143
3435
|
readonly offset?: number;
|
|
3144
3436
|
readonly limit?: number;
|
|
3145
3437
|
}): Promise<AdminAuditListResponse>;
|
|
@@ -3150,6 +3442,113 @@ declare function getAppPage(context: TransportContext, input: {
|
|
|
3150
3442
|
readonly slug: string;
|
|
3151
3443
|
}): Promise<PublicAppPage>;
|
|
3152
3444
|
//#endregion
|
|
3445
|
+
//#region src/catalog/bip-updates.d.ts
|
|
3446
|
+
declare function listBipUpdates(context: TransportContext, input: {
|
|
3447
|
+
readonly bearer?: string;
|
|
3448
|
+
readonly slug: string;
|
|
3449
|
+
readonly limit?: number;
|
|
3450
|
+
readonly offset?: number;
|
|
3451
|
+
}): Promise<BipUpdateListResponse>;
|
|
3452
|
+
declare function listBipUpdateComments(context: TransportContext, input: {
|
|
3453
|
+
readonly bearer?: string;
|
|
3454
|
+
readonly slug: string;
|
|
3455
|
+
readonly updateId: string;
|
|
3456
|
+
readonly limit?: number;
|
|
3457
|
+
readonly offset?: number;
|
|
3458
|
+
}): Promise<BipUpdateCommentListResponse>;
|
|
3459
|
+
declare function getMyBipUpdateReactions(context: TransportContext, input: {
|
|
3460
|
+
readonly bearer: string;
|
|
3461
|
+
readonly slug: string;
|
|
3462
|
+
}): Promise<MyBipUpdateReactionsResponse>;
|
|
3463
|
+
declare function setBipUpdateReaction(context: TransportContext, input: {
|
|
3464
|
+
readonly bearer: string;
|
|
3465
|
+
readonly slug: string;
|
|
3466
|
+
readonly updateId: string;
|
|
3467
|
+
readonly body: SetBipUpdateReactionRequest;
|
|
3468
|
+
}): Promise<SetBipUpdateReactionResponse>;
|
|
3469
|
+
declare function commentOnBipUpdate(context: TransportContext, input: {
|
|
3470
|
+
readonly bearer: string;
|
|
3471
|
+
readonly slug: string;
|
|
3472
|
+
readonly updateId: string;
|
|
3473
|
+
readonly body: string;
|
|
3474
|
+
}): Promise<CreateBipUpdateCommentResponse>;
|
|
3475
|
+
declare function deleteBipUpdateComment(context: TransportContext, input: {
|
|
3476
|
+
readonly bearer: string;
|
|
3477
|
+
readonly slug: string;
|
|
3478
|
+
readonly commentId: string;
|
|
3479
|
+
}): Promise<DeleteBipUpdateCommentResponse>;
|
|
3480
|
+
declare function listDeveloperBipUpdates(context: TransportContext, input: {
|
|
3481
|
+
readonly bearer: string;
|
|
3482
|
+
readonly appId: string;
|
|
3483
|
+
readonly limit?: number;
|
|
3484
|
+
readonly offset?: number;
|
|
3485
|
+
}): Promise<BipUpdateListResponse>;
|
|
3486
|
+
declare function createBipUpdate(context: TransportContext, input: {
|
|
3487
|
+
readonly bearer: string;
|
|
3488
|
+
readonly appId: string;
|
|
3489
|
+
readonly body: CreateBipUpdateRequest;
|
|
3490
|
+
}): Promise<BipUpdate>;
|
|
3491
|
+
declare function updateBipUpdate(context: TransportContext, input: {
|
|
3492
|
+
readonly bearer: string;
|
|
3493
|
+
readonly appId: string;
|
|
3494
|
+
readonly updateId: string;
|
|
3495
|
+
readonly body: UpdateBipUpdateRequest;
|
|
3496
|
+
}): Promise<BipUpdate>;
|
|
3497
|
+
declare function deleteBipUpdate(context: TransportContext, input: {
|
|
3498
|
+
readonly bearer: string;
|
|
3499
|
+
readonly appId: string;
|
|
3500
|
+
readonly updateId: string;
|
|
3501
|
+
}): Promise<DeleteBipUpdateResponse>;
|
|
3502
|
+
declare function pinBipUpdate(context: TransportContext, input: {
|
|
3503
|
+
readonly bearer: string;
|
|
3504
|
+
readonly appId: string;
|
|
3505
|
+
readonly updateId: string;
|
|
3506
|
+
}): Promise<BipUpdate>;
|
|
3507
|
+
declare function unpinBipUpdate(context: TransportContext, input: {
|
|
3508
|
+
readonly bearer: string;
|
|
3509
|
+
readonly appId: string;
|
|
3510
|
+
readonly updateId: string;
|
|
3511
|
+
}): Promise<BipUpdate>;
|
|
3512
|
+
declare function uploadBipUpdateMedia(context: TransportContext, input: {
|
|
3513
|
+
readonly bearer: string;
|
|
3514
|
+
readonly appId: string;
|
|
3515
|
+
readonly file: Blob;
|
|
3516
|
+
readonly filename: string;
|
|
3517
|
+
readonly contentType: string;
|
|
3518
|
+
}): Promise<BipUpdateMediaUploadResponse>;
|
|
3519
|
+
declare function getBipInterestCount(context: TransportContext, input: {
|
|
3520
|
+
readonly bearer?: string;
|
|
3521
|
+
readonly slug: string;
|
|
3522
|
+
}): Promise<BipInterestCountResponse>;
|
|
3523
|
+
declare function getMyBipEngagement(context: TransportContext, input: {
|
|
3524
|
+
readonly bearer: string;
|
|
3525
|
+
readonly slug: string;
|
|
3526
|
+
}): Promise<BipEngagementResponse>;
|
|
3527
|
+
declare function registerBipInterest(context: TransportContext, input: {
|
|
3528
|
+
readonly bearer: string;
|
|
3529
|
+
readonly slug: string;
|
|
3530
|
+
readonly interested: boolean;
|
|
3531
|
+
}): Promise<BipEngagementResponse>;
|
|
3532
|
+
declare function subscribeBipUpdates(context: TransportContext, input: {
|
|
3533
|
+
readonly bearer: string;
|
|
3534
|
+
readonly slug: string;
|
|
3535
|
+
readonly subscribed: boolean;
|
|
3536
|
+
}): Promise<BipEngagementResponse>;
|
|
3537
|
+
//#endregion
|
|
3538
|
+
//#region src/catalog/build-in-public.d.ts
|
|
3539
|
+
declare function getBipDirectory(context: TransportContext, input: {
|
|
3540
|
+
readonly bearer?: string;
|
|
3541
|
+
readonly genre?: string;
|
|
3542
|
+
readonly q?: string;
|
|
3543
|
+
readonly sort?: "newest" | "top";
|
|
3544
|
+
readonly before?: string;
|
|
3545
|
+
readonly limit?: number;
|
|
3546
|
+
}): Promise<LibraryListResponse>;
|
|
3547
|
+
declare function getBipPage(context: TransportContext, input: {
|
|
3548
|
+
readonly bearer?: string;
|
|
3549
|
+
readonly slug: string;
|
|
3550
|
+
}): Promise<PublicBipPage>;
|
|
3551
|
+
//#endregion
|
|
3153
3552
|
//#region src/catalog/content-reports.d.ts
|
|
3154
3553
|
declare function submitAppContentReport(context: TransportContext, input: {
|
|
3155
3554
|
readonly appId: string;
|
|
@@ -3162,6 +3561,7 @@ declare function getLibrary(context: TransportContext, input: {
|
|
|
3162
3561
|
readonly bearer?: string;
|
|
3163
3562
|
readonly genre?: string;
|
|
3164
3563
|
readonly q?: string;
|
|
3564
|
+
readonly sort?: "newest" | "top";
|
|
3165
3565
|
readonly before?: string;
|
|
3166
3566
|
readonly limit?: number;
|
|
3167
3567
|
}): Promise<LibraryListResponse>;
|
|
@@ -3320,6 +3720,9 @@ declare function getPaymentHistory(context: TransportContext, input: {
|
|
|
3320
3720
|
readonly before?: string;
|
|
3321
3721
|
}): Promise<PaymentHistoryResponse>;
|
|
3322
3722
|
//#endregion
|
|
3723
|
+
//#region src/dashboard/rates.d.ts
|
|
3724
|
+
declare function getPaymentRates(context: TransportContext): Promise<PaymentRatesResponse>;
|
|
3725
|
+
//#endregion
|
|
3323
3726
|
//#region src/developer/api-keys.d.ts
|
|
3324
3727
|
declare function createDeveloperApiKey(context: TransportContext, input: {
|
|
3325
3728
|
readonly bearer: string;
|
|
@@ -3562,6 +3965,19 @@ declare function unpublishAppPage(context: TransportContext, input: {
|
|
|
3562
3965
|
readonly bearer: string;
|
|
3563
3966
|
readonly appId: string;
|
|
3564
3967
|
}): Promise<AppPageDraft>;
|
|
3968
|
+
declare function setAppPageBip(context: TransportContext, input: {
|
|
3969
|
+
readonly bearer: string;
|
|
3970
|
+
readonly appId: string;
|
|
3971
|
+
readonly body: AppPageBipToggle;
|
|
3972
|
+
}): Promise<AppPageDraft>;
|
|
3973
|
+
declare function submitAppPageBipForReview(context: TransportContext, input: {
|
|
3974
|
+
readonly bearer: string;
|
|
3975
|
+
readonly appId: string;
|
|
3976
|
+
}): Promise<AppPageDraft>;
|
|
3977
|
+
declare function unpublishAppPageBip(context: TransportContext, input: {
|
|
3978
|
+
readonly bearer: string;
|
|
3979
|
+
readonly appId: string;
|
|
3980
|
+
}): Promise<AppPageDraft>;
|
|
3565
3981
|
//#endregion
|
|
3566
3982
|
//#region src/developer/participants.d.ts
|
|
3567
3983
|
declare function listDeveloperAppParticipants(context: TransportContext, input: {
|
|
@@ -3703,9 +4119,9 @@ declare const oauthPaymentWebhookBodySchema: z.ZodObject<{
|
|
|
3703
4119
|
intentId: z.ZodString;
|
|
3704
4120
|
appId: z.ZodString;
|
|
3705
4121
|
status: z.ZodEnum<{
|
|
4122
|
+
completed: "completed";
|
|
3706
4123
|
pending: "pending";
|
|
3707
4124
|
awaiting_funding: "awaiting_funding";
|
|
3708
|
-
completed: "completed";
|
|
3709
4125
|
denied: "denied";
|
|
3710
4126
|
expired: "expired";
|
|
3711
4127
|
}>;
|
|
@@ -4094,6 +4510,15 @@ declare function denyPaymentIntent(context: TransportContext, input: {
|
|
|
4094
4510
|
readonly bearer: string;
|
|
4095
4511
|
readonly intentId: string;
|
|
4096
4512
|
}): Promise<OauthPaymentIntentResolveResponse>;
|
|
4513
|
+
declare function preparePaymentIntentSolana(context: TransportContext, input: {
|
|
4514
|
+
readonly bearer: string;
|
|
4515
|
+
readonly intentId: string;
|
|
4516
|
+
}): Promise<OauthPaymentIntentSolanaPrepareResponse>;
|
|
4517
|
+
declare function completePaymentIntentSolana(context: TransportContext, input: {
|
|
4518
|
+
readonly bearer: string;
|
|
4519
|
+
readonly intentId: string;
|
|
4520
|
+
readonly body: OauthPaymentIntentSolanaCompleteRequest;
|
|
4521
|
+
}): Promise<OauthPaymentIntentResolveResponse>;
|
|
4097
4522
|
//#endregion
|
|
4098
4523
|
//#region src/payments/limits.d.ts
|
|
4099
4524
|
declare function getPaymentLimits(context: TransportContext, input: {
|
|
@@ -4348,6 +4773,9 @@ declare function cancelFriendRequest(context: TransportContext, input: {
|
|
|
4348
4773
|
declare function listFriends(context: TransportContext, input: {
|
|
4349
4774
|
readonly bearer: string;
|
|
4350
4775
|
}): Promise<FriendListResponse>;
|
|
4776
|
+
declare function listFriendsForApp(context: TransportContext, input: {
|
|
4777
|
+
readonly bearer: string;
|
|
4778
|
+
}): Promise<AppFriendListResponse>;
|
|
4351
4779
|
//#endregion
|
|
4352
4780
|
//#region src/reads/socials.d.ts
|
|
4353
4781
|
declare function listSocials(context: TransportContext, input: {
|
|
@@ -4575,6 +5003,11 @@ declare class TronNodeClient {
|
|
|
4575
5003
|
body: MintRequestInput;
|
|
4576
5004
|
}) => Promise<MintRequestResult>;
|
|
4577
5005
|
};
|
|
5006
|
+
get friends(): {
|
|
5007
|
+
list: (input: {
|
|
5008
|
+
bearer: string;
|
|
5009
|
+
}) => Promise<AppFriendListResponse>;
|
|
5010
|
+
};
|
|
4578
5011
|
get socials(): {
|
|
4579
5012
|
list: (input: {
|
|
4580
5013
|
bearer: string;
|
|
@@ -4596,4 +5029,4 @@ declare class TronNodeClient {
|
|
|
4596
5029
|
};
|
|
4597
5030
|
}
|
|
4598
5031
|
//#endregion
|
|
4599
|
-
export { AppTokenCache, AuthorizeUrl, type BrowserClientConfig, BuildAuthorizeUrlInput, ChargeResult, type FetchLike, GameHalfCredentials, HttpsGuardOptions, InflightDedup, InventoryUpdateEvent, type Logger, MountPresenceWidgetOptions, NOOP_RATE_LIMITER, type NodeClientConfig, OauthErrorCode, OauthInventoryEventsSubscriber, OauthInventoryEventsSubscriberLifecycle, OauthInventoryEventsSubscriberOptions, OauthPaymentEventsSubscriber, OauthPaymentEventsSubscriberLifecycle, OauthPaymentEventsSubscriberOptions, OauthPaymentWebhookBody, type OauthScope, PkcePair, PlaySessionGameStatus, PresenceStatus, PresenceWidgetHandle, RateLimitOptions, RateLimiter, RequestOptions, SERVER_RATE_LIMIT_MAX_MUTATING, SERVER_RATE_LIMIT_MAX_READ, SERVER_RATE_LIMIT_WINDOW_MS, type SdkBaseConfig, TRON_WS_CLOSE_CODES, type TokenSet, type TokenStore, TransportContext, TronError, TronNodeClient, TronOauthError, TronWsCloseCode, TronWsCloseError, VerifyWebhookFailure, VerifyWebhookInput, VerifyWebhookResult, VerifyWebhookSuccess, WEBHOOK_SIGNATURE_HEADER, WEBHOOK_TIMESTAMP_HEADER, acceptDeveloperInvite, addAdmin, addAppealBlacklist, addReaction, approveTronCashout, assertSecureIssuer, batchThreadDmKeys, bindReferral, buildAuthorizeUrl, cancelFriendRequest, cancelPot, charge, chargeTronDirect, chargeTronPot, commentOnGameReview, completePaymentIntent, confirmPlaySession, consolidateDeveloperAppWallet, createAppTokenCache, createConsoleLogger, createDelegation, createDeveloperApiKey, createDeveloperApp, createDeveloperAppMintPermit, createDeveloperVaultPermit, createDeveloperWithdrawPermit, createDirectThread, createInMemoryTokenStore, createInflightDedup, createNoopLogger, createRateLimiter, createReferralCode, createTronCashout, createTronConnectOnboarding, createTronDeposit, createTronTransfer, createTronTransferChallenge, decideFriendRequest, declineDeveloperInvite, defaultEndpoints, deleteAppPageBanner, deleteAppPageThumbnail, deleteAppPageThumbnailVideo, deleteAvatar, deleteDelegation, deleteDeveloperApp, deleteDeveloperAppLogo, deleteDeveloperProfileLogo, deleteDeveloperRequestLogo, deleteGameReviewComment, deleteGameReviewReply, deleteMessage, deleteMyGameReview, deleteThread, deleteThreadLogo, denyPaymentIntent, distributePot, distributeTronPot, editMessage, endPlaySession, exchangeAuthorizationCode, executeNftTransfer, fetchAuthorizationServerMetadata, fetchUserInfo, fileAppeal, fileAppealPotLeg, followUser, forceWithdrawVaultCustody, generatePkce, generateState, getActivity, getActivityGroup, getAdminAppealRoom, getAppFeeConfig, getAppPage, getAppPageChanges, getAppealRoom, getDelegation, getDeveloperAppActivity, getDeveloperAppBalances, getDeveloperAppEarnings, getDeveloperAppInventoryItemHolders, getDeveloperAppOverview, getDeveloperAppPage, getDeveloperAppPlaytime, getDeveloperAppTronBalance, getDeveloperAppWallets, getDeveloperPaymentAppeals, getDeveloperPaymentPendingDeposits, getDeveloperStatus, getDeveloperTronBalanceSummary, getDmKeyBackupStatus, getIntentStatus, getLibrary, getMoonpayAvailability, getMyDmKey, getMyGameReview, getMyGameReviewReactions, getOutstanding, getPaymentChains, getPaymentHistory, getPaymentIntent, getPaymentLimits, getPaymentPrice, getPlatformFees, getPlaytime, getPlaytimeTimeseries, getPublicProfile, getReferral, getThreadDmKey, getTronBalance, getTronGameBalance, getTronSecurity, heartbeatPlaySession, hideAppPage, hideThread, inventoryUpdateEventSchema, inviteDeveloperAppParticipant, inviteParticipants, leaveThread, listActivePlayers, listAdmins, listAppPages, listAppealBlacklist, listAppealQueue, listAudit, listDeveloperApiKeys, listDeveloperAppContentReports, listDeveloperAppInventoryCollections, listDeveloperAppInventoryItems, listDeveloperAppParticipants, listDeveloperAppReviews, listDeveloperInvites, listDeveloperRequests, listDevelopers, listFriends, listGameReviewComments, listGameReviews, listInventory, listInventoryForApp, listInventoryMintPermits, listInventoryVaultPermits, listInventoryVaulted, listNotifications, listOauthInventoryVaulted, listPaymentAuthorizations, listSocials, listThreadMessages, listThreads, listTronCashoutQueue, listTronCashouts, listTronLedger, listUsers, listWalletManager, listWallets, markAllNotificationsRead, markThreadRead, mintClientCredentialsToken, mintMoonpayBuyUrl, mintMoonpaySellUrl, mountPresenceWidget, oauthPaymentWebhookBodySchema, parseJson, pinThread, postAdminAppealRoomMessage, postAppealRoomMessage, previewReferral, provisionDeveloperAppWallet, publishDmKey, quoteDeveloperAppInventoryRegistration, quoteNftTransfer, quoteRelayedVaultPermit, redeemInventoryMintPermit, refreshAccessToken, registerDeveloperAppInventoryItem, registerOauthClient, rejectTronCashout, removeAdmin, removeAppealBlacklist, removeFriend, removeParticipant, removeReaction, replyToGameReview, requestDeveloperAppProduction, requestMint, requestPayout, resolveAppeal, reviewAppPage, reviewAppPageChanges, reviewDeveloperRequest, revokeDeveloperApiKey, revokeDeveloperAppParticipant, revokePaymentAuthorization, revokeToken, rotateDeveloperAppKey, rotateDeveloperAppPaymentWebhookSecret, rotateProcessorTreasury, searchGiphy, searchUsers, send, sendFriendRequest, sendJson, sendMessage, sendPresenceHeartbeat, setMyGameReviewReaction, setProcessorWhitelist, setTronSecurity, setVaultOperator, setVaultPause, setVaultWithdrawLockDefault, setVaultWithdrawLockOverride, setupDmKeyBackup, sha256Base64Url, signInventoryVaultPermit, signPaymentIntent, startOauthInventoryEventsSubscriber, startOauthPaymentEventsSubscriber, submitAppContentReport, submitAppPageForReview, submitDeveloperRequest, submitRelayedVaultPermit, tipGameReview, toTokenSet, unfollowUser, unhideAppPage, unlockDmKeyBackup, unpinThread, unpublishAppPage, updateAdminRole, updateAppFeeConfig, updateAppPage, updateDeveloperApp, updateDeveloperAppAutoSweep, updateDeveloperAppContentReportStatus, updateDeveloperProfile, updateNotification, updateParticipantRole, updatePaymentAuthorization, updatePlatformFees, updateProfile, updateThreadSettings, updateUserBan, updateWalletLabel, uploadAdminAppealRoomAttachment, uploadAppPageBanner, uploadAppPageGallery, uploadAppPageThumbnail, uploadAppPageThumbnailVideo, uploadAppealRoomAttachment, uploadAttachment, uploadAvatar, uploadDeveloperAppInventoryItemBanner, uploadDeveloperAppInventoryItemImage, uploadDeveloperAppLogo, uploadDeveloperProfileLogo, uploadDeveloperRequestLogo, uploadMultipart, uploadThreadLogo, upsertMyGameReview, verifyWebhook, withdrawDeveloperAppWallet };
|
|
5032
|
+
export { AppTokenCache, AuthorizeUrl, type BrowserClientConfig, BuildAuthorizeUrlInput, ChargeResult, type FetchLike, GameHalfCredentials, HttpsGuardOptions, InflightDedup, InventoryUpdateEvent, type Logger, MountPresenceWidgetOptions, NOOP_RATE_LIMITER, type NodeClientConfig, OauthErrorCode, OauthInventoryEventsSubscriber, OauthInventoryEventsSubscriberLifecycle, OauthInventoryEventsSubscriberOptions, OauthPaymentEventsSubscriber, OauthPaymentEventsSubscriberLifecycle, OauthPaymentEventsSubscriberOptions, OauthPaymentWebhookBody, type OauthScope, PkcePair, PlaySessionGameStatus, PresenceStatus, PresenceWidgetHandle, RateLimitOptions, RateLimiter, RequestOptions, SERVER_RATE_LIMIT_MAX_MUTATING, SERVER_RATE_LIMIT_MAX_READ, SERVER_RATE_LIMIT_WINDOW_MS, type SdkBaseConfig, TRON_WS_CLOSE_CODES, type TokenSet, type TokenStore, TransportContext, TronError, TronNodeClient, TronOauthError, TronWsCloseCode, TronWsCloseError, VerifyWebhookFailure, VerifyWebhookInput, VerifyWebhookResult, VerifyWebhookSuccess, WEBHOOK_SIGNATURE_HEADER, WEBHOOK_TIMESTAMP_HEADER, acceptDeveloperInvite, addAdmin, addAppealBlacklist, addReaction, approveTronCashout, assertSecureIssuer, batchThreadDmKeys, bindReferral, buildAuthorizeUrl, cancelFriendRequest, cancelPot, charge, chargeTronDirect, chargeTronPot, commentOnBipUpdate, commentOnGameReview, completePaymentIntent, completePaymentIntentSolana, confirmPlaySession, consolidateDeveloperAppWallet, createAppTokenCache, createBipUpdate, createConsoleLogger, createDelegation, createDeveloperApiKey, createDeveloperApp, createDeveloperAppMintPermit, createDeveloperVaultPermit, createDeveloperWithdrawPermit, createDirectThread, createInMemoryTokenStore, createInflightDedup, createNoopLogger, createRateLimiter, createReferralCode, createTronCashout, createTronConnectOnboarding, createTronDeposit, createTronTransfer, createTronTransferChallenge, decideFriendRequest, declineDeveloperInvite, defaultEndpoints, deleteAppPageBanner, deleteAppPageThumbnail, deleteAppPageThumbnailVideo, deleteAvatar, deleteBipUpdate, deleteBipUpdateComment, deleteDelegation, deleteDeveloperApp, deleteDeveloperAppLogo, deleteDeveloperProfileLogo, deleteDeveloperRequestLogo, deleteGameReviewComment, deleteGameReviewReply, deleteMessage, deleteMyGameReview, deleteThread, deleteThreadLogo, denyPaymentIntent, distributePot, distributeTronPot, editMessage, endPlaySession, exchangeAuthorizationCode, executeNftTransfer, fetchAuthorizationServerMetadata, fetchUserInfo, fileAppeal, fileAppealPotLeg, followUser, forceWithdrawVaultCustody, generatePkce, generateState, getActivity, getActivityGroup, getAdminAppealRoom, getAppFeeConfig, getAppPage, getAppPageChanges, getAppealRoom, getBipDirectory, getBipInterestCount, getBipPage, getDelegation, getDeveloperAppActivity, getDeveloperAppBalances, getDeveloperAppEarnings, getDeveloperAppInventoryItemHolders, getDeveloperAppOverview, getDeveloperAppPage, getDeveloperAppPlaytime, getDeveloperAppTronBalance, getDeveloperAppWallets, getDeveloperPaymentAppeals, getDeveloperPaymentPendingDeposits, getDeveloperStatus, getDeveloperTronBalanceSummary, getDmKeyBackupStatus, getIntentStatus, getLibrary, getMoonpayAvailability, getMyBipEngagement, getMyBipUpdateReactions, getMyDmKey, getMyGameReview, getMyGameReviewReactions, getOutstanding, getPaymentChains, getPaymentHistory, getPaymentIntent, getPaymentLimits, getPaymentPrice, getPaymentRates, getPlatformFees, getPlaytime, getPlaytimeTimeseries, getPublicProfile, getReferral, getThreadDmKey, getTronBalance, getTronGameBalance, getTronSecurity, heartbeatPlaySession, hideAppPage, hideAppPageBip, hideThread, inventoryUpdateEventSchema, inviteDeveloperAppParticipant, inviteParticipants, leaveThread, listActivePlayers, listAdminContentReports, listAdmins, listAppPages, listAppealBlacklist, listAppealQueue, listAudit, listBipUpdateComments, listBipUpdates, listDeveloperApiKeys, listDeveloperAppContentReports, listDeveloperAppInventoryCollections, listDeveloperAppInventoryItems, listDeveloperAppParticipants, listDeveloperAppReviews, listDeveloperBipUpdates, listDeveloperInvites, listDeveloperRequests, listDevelopers, listFriends, listFriendsForApp, listGameReviewComments, listGameReviews, listInventory, listInventoryForApp, listInventoryMintPermits, listInventoryVaultPermits, listInventoryVaulted, listNotifications, listOauthInventoryVaulted, listPaymentAuthorizations, listSocials, listThreadMessages, listThreads, listTronCashoutQueue, listTronCashouts, listTronLedger, listUsers, listWalletManager, listWallets, markAllNotificationsRead, markThreadRead, mintClientCredentialsToken, mintMoonpayBuyUrl, mintMoonpaySellUrl, mountPresenceWidget, oauthPaymentWebhookBodySchema, parseJson, pinBipUpdate, pinThread, postAdminAppealRoomMessage, postAppealRoomMessage, preparePaymentIntentSolana, previewReferral, provisionDeveloperAppWallet, publishDmKey, quoteDeveloperAppInventoryRegistration, quoteNftTransfer, quoteRelayedVaultPermit, redeemInventoryMintPermit, refreshAccessToken, registerBipInterest, registerDeveloperAppInventoryItem, registerOauthClient, rejectTronCashout, removeAdmin, removeAppealBlacklist, removeFriend, removeParticipant, removeReaction, replyToGameReview, requestDeveloperAppProduction, requestMint, requestPayout, resolveAppeal, reviewAppPage, reviewAppPageBip, reviewAppPageChanges, reviewDeveloperRequest, revokeDeveloperApiKey, revokeDeveloperAppParticipant, revokePaymentAuthorization, revokeToken, rotateDeveloperAppKey, rotateDeveloperAppPaymentWebhookSecret, rotateProcessorTreasury, searchGiphy, searchUsers, send, sendFriendRequest, sendJson, sendMessage, sendPresenceHeartbeat, setAppPageBip, setBipUpdateReaction, setMyGameReviewReaction, setProcessorWhitelist, setTronSecurity, setVaultOperator, setVaultPause, setVaultWithdrawLockDefault, setVaultWithdrawLockOverride, setupDmKeyBackup, sha256Base64Url, signInventoryVaultPermit, signPaymentIntent, startOauthInventoryEventsSubscriber, startOauthPaymentEventsSubscriber, submitAppContentReport, submitAppPageBipForReview, submitAppPageForReview, submitDeveloperRequest, submitRelayedVaultPermit, subscribeBipUpdates, tipGameReview, toTokenSet, triageAdminContentReport, unfollowUser, unhideAppPage, unhideAppPageBip, unlockDmKeyBackup, unpinBipUpdate, 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 };
|