@metatrongg/sdk 0.8.0-dev.46fc1a5 → 0.8.0-dev.4ac3e68
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 -344
- package/dist/browser/index.js +1 -1
- package/dist/contracts/index.d.ts +3823 -6202
- package/dist/contracts/index.js +1 -1
- package/dist/index.js +1 -1
- package/dist/node/index.d.ts +14 -345
- 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 +2 -2
package/dist/node/index.d.ts
CHANGED
|
@@ -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
|
};
|
|
@@ -402,7 +387,6 @@ type PublicAppPage = {
|
|
|
402
387
|
paymentsMode: AppPagePaymentsMode;
|
|
403
388
|
oauthScopes: Array<string>;
|
|
404
389
|
chains: Array<string>;
|
|
405
|
-
devlog: boolean;
|
|
406
390
|
publishedAt: string;
|
|
407
391
|
updatedAt: string;
|
|
408
392
|
};
|
|
@@ -464,97 +448,6 @@ type PublicBipPage = {
|
|
|
464
448
|
publishedAt: string;
|
|
465
449
|
updatedAt: string;
|
|
466
450
|
};
|
|
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
|
-
};
|
|
558
451
|
type ReviewListResponse = {
|
|
559
452
|
aggregate: ReviewAggregate;
|
|
560
453
|
reviews: Array<Review>;
|
|
@@ -588,6 +481,12 @@ type ReviewReactionCounts = {
|
|
|
588
481
|
unhelpful: number;
|
|
589
482
|
funny: number;
|
|
590
483
|
};
|
|
484
|
+
type ReviewAuthor = {
|
|
485
|
+
userId: string;
|
|
486
|
+
handle: string | null;
|
|
487
|
+
name: string | null;
|
|
488
|
+
avatarUrl: string | null;
|
|
489
|
+
};
|
|
591
490
|
type ReviewerStats = {
|
|
592
491
|
playtimeSecondsThisGame: number;
|
|
593
492
|
gamesPlayed: number;
|
|
@@ -778,11 +677,7 @@ type ActivityRow = ({
|
|
|
778
677
|
kind: "referral_earning";
|
|
779
678
|
} & ActivityRowReferralEarning) | ({
|
|
780
679
|
kind: "nft_charge";
|
|
781
|
-
} & ActivityRowNftCharge)
|
|
782
|
-
kind: "solana_stake";
|
|
783
|
-
} & ActivityRowSolanaStake) | ({
|
|
784
|
-
kind: "solana_pot_leg";
|
|
785
|
-
} & ActivityRowSolanaPotLeg);
|
|
680
|
+
} & ActivityRowNftCharge);
|
|
786
681
|
type ActivityRowPayment = {
|
|
787
682
|
kind: "payment";
|
|
788
683
|
groupId: string | null;
|
|
@@ -1110,56 +1005,6 @@ type ActivityRowNftCharge = {
|
|
|
1110
1005
|
counterpartyHandle: string | null;
|
|
1111
1006
|
counterpartyDisplayName: string | null;
|
|
1112
1007
|
};
|
|
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
|
-
};
|
|
1163
1008
|
type OutstandingResponse = {
|
|
1164
1009
|
rows: Array<OutstandingByToken>;
|
|
1165
1010
|
};
|
|
@@ -1395,15 +1240,12 @@ type WalletListResponse = {
|
|
|
1395
1240
|
wallets: Array<WalletItem>;
|
|
1396
1241
|
};
|
|
1397
1242
|
type WalletChainList = Array<{
|
|
1398
|
-
id: "ethereum-mainnet" | "base-mainnet" | "ethereum-sepolia"
|
|
1243
|
+
id: "ethereum-mainnet" | "base-mainnet" | "ethereum-sepolia";
|
|
1399
1244
|
displayName: string;
|
|
1400
|
-
|
|
1401
|
-
nativeSymbol: string;
|
|
1402
|
-
chainId?: number;
|
|
1245
|
+
chainId: number;
|
|
1403
1246
|
}>;
|
|
1404
1247
|
type WalletItem = {
|
|
1405
|
-
address: string
|
|
1406
|
-
family: "evm" | "solana";
|
|
1248
|
+
address: string;
|
|
1407
1249
|
label: WalletLabel;
|
|
1408
1250
|
kind: "personal" | "app";
|
|
1409
1251
|
app: WalletAppLink;
|
|
@@ -1420,9 +1262,6 @@ type WalletBalances = {
|
|
|
1420
1262
|
"ethereum-mainnet"?: WalletChainBalance;
|
|
1421
1263
|
"base-mainnet"?: WalletChainBalance;
|
|
1422
1264
|
"ethereum-sepolia"?: WalletChainBalance;
|
|
1423
|
-
"base-sepolia"?: WalletChainBalance;
|
|
1424
|
-
"solana-mainnet"?: WalletChainBalance;
|
|
1425
|
-
"solana-devnet"?: WalletChainBalance;
|
|
1426
1265
|
};
|
|
1427
1266
|
type WalletChainBalance = {
|
|
1428
1267
|
native: string;
|
|
@@ -1432,14 +1271,12 @@ type WalletDelegationStatus = {
|
|
|
1432
1271
|
mode: WalletDelegationMode;
|
|
1433
1272
|
caps: WalletDelegationCaps;
|
|
1434
1273
|
policyId: string | null;
|
|
1435
|
-
slippageBps: DelegationSlippageBps;
|
|
1436
1274
|
};
|
|
1437
1275
|
type WalletDelegationMode = "infinite" | "custom" | "scoped" | null;
|
|
1438
1276
|
type WalletDelegationCaps = {
|
|
1439
1277
|
native: string;
|
|
1440
1278
|
usdc: string;
|
|
1441
1279
|
} | null;
|
|
1442
|
-
type DelegationSlippageBps = number | null;
|
|
1443
1280
|
type WalletLabelUpdateResponse = {
|
|
1444
1281
|
address: string;
|
|
1445
1282
|
label: WalletLabel;
|
|
@@ -2099,18 +1936,6 @@ type NotificationItem = {
|
|
|
2099
1936
|
payload: AppPageRejectedNotificationPayload;
|
|
2100
1937
|
read: boolean;
|
|
2101
1938
|
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;
|
|
2114
1939
|
} | {
|
|
2115
1940
|
id: string;
|
|
2116
1941
|
kind: "app_participant_invite";
|
|
@@ -2149,17 +1974,6 @@ type AppPageRejectedNotificationPayload = {
|
|
|
2149
1974
|
scope: "publish" | "changes" | "bip_publish";
|
|
2150
1975
|
notes: string;
|
|
2151
1976
|
};
|
|
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
|
-
};
|
|
2163
1977
|
type AppParticipantInviteNotificationPayload = {
|
|
2164
1978
|
appId: string;
|
|
2165
1979
|
appName: string;
|
|
@@ -2327,14 +2141,12 @@ type UpdateDeveloperApp = {
|
|
|
2327
2141
|
redirectUris?: Array<string>;
|
|
2328
2142
|
embedOrigins?: Array<EmbedOrigin>;
|
|
2329
2143
|
acceptedCurrencies?: AcceptedCurrencies;
|
|
2330
|
-
acceptedNetworks?: AcceptedNetworks;
|
|
2331
2144
|
paymentStatusWebhookUrl?: string | null;
|
|
2332
2145
|
paymentStatusWebhookUrlTest?: string | null;
|
|
2333
2146
|
};
|
|
2334
2147
|
type EmbedOrigin = string;
|
|
2335
2148
|
type AcceptedCurrencies = Array<PlatformCurrency>;
|
|
2336
2149
|
type PlatformCurrency = "eth" | "tron";
|
|
2337
|
-
type AcceptedNetworks = Array<PaymentNetwork> | null;
|
|
2338
2150
|
type DeveloperLogoUploadResponse = {
|
|
2339
2151
|
logoUrl: string | null;
|
|
2340
2152
|
};
|
|
@@ -2397,7 +2209,7 @@ type DeveloperAppWalletsResponse = {
|
|
|
2397
2209
|
};
|
|
2398
2210
|
type DeveloperAppWalletItem = {
|
|
2399
2211
|
chain: string;
|
|
2400
|
-
address: string
|
|
2212
|
+
address: string;
|
|
2401
2213
|
custody: "server" | null;
|
|
2402
2214
|
walletId: string | null;
|
|
2403
2215
|
autoSweepEnabled: boolean;
|
|
@@ -2418,7 +2230,7 @@ type DeveloperAppProvisionWalletResponse = {
|
|
|
2418
2230
|
chain: string;
|
|
2419
2231
|
custody: "server";
|
|
2420
2232
|
walletId: string;
|
|
2421
|
-
address: string
|
|
2233
|
+
address: string;
|
|
2422
2234
|
};
|
|
2423
2235
|
type DeveloperAppWithdrawResponse = {
|
|
2424
2236
|
appId: string;
|
|
@@ -2581,7 +2393,6 @@ type DeveloperAppItem = {
|
|
|
2581
2393
|
redirectUris: Array<string>;
|
|
2582
2394
|
embedOrigins: Array<EmbedOrigin>;
|
|
2583
2395
|
acceptedCurrencies: AcceptedCurrencies;
|
|
2584
|
-
acceptedNetworks: AcceptedNetworks;
|
|
2585
2396
|
payoutAddresses: Array<DeveloperAppPayoutAddressItem>;
|
|
2586
2397
|
keys: Array<DeveloperAppKeyItem>;
|
|
2587
2398
|
pendingProductionRequestId: string | null;
|
|
@@ -2815,7 +2626,6 @@ type AdminAppPageItem = {
|
|
|
2815
2626
|
bipStatus: "draft" | "pending_review" | "published" | "hidden";
|
|
2816
2627
|
bipFirstPublishedAt: string | null;
|
|
2817
2628
|
bipHiddenAt: string | null;
|
|
2818
|
-
openReportCount: number;
|
|
2819
2629
|
};
|
|
2820
2630
|
type AdminAppPageStatusResponse = {
|
|
2821
2631
|
status: "draft" | "pending_review" | "published" | "hidden";
|
|
@@ -2844,22 +2654,6 @@ type AdminAppPageDiffField = {
|
|
|
2844
2654
|
type AdminAppPageBipStatusResponse = {
|
|
2845
2655
|
bipStatus: "draft" | "pending_review" | "published" | "hidden";
|
|
2846
2656
|
};
|
|
2847
|
-
type AdminAppContentReportListResponse = {
|
|
2848
|
-
reports: Array<AdminAppContentReportItem>;
|
|
2849
|
-
total: number;
|
|
2850
|
-
hasMore: boolean;
|
|
2851
|
-
};
|
|
2852
|
-
type AdminAppContentReportItem = {
|
|
2853
|
-
id: string;
|
|
2854
|
-
category: AppContentReportCategory;
|
|
2855
|
-
details: string | null;
|
|
2856
|
-
status: AppContentReportStatus;
|
|
2857
|
-
acknowledgedAt: string | null;
|
|
2858
|
-
createdAt: string;
|
|
2859
|
-
appId: string;
|
|
2860
|
-
appName: string;
|
|
2861
|
-
appSlug: string | null;
|
|
2862
|
-
};
|
|
2863
2657
|
type PlatformFeesResponse = {
|
|
2864
2658
|
purchaseFeeBps: number;
|
|
2865
2659
|
stakeFeeBps: number;
|
|
@@ -3040,13 +2834,6 @@ type AppealResolveRequest = {
|
|
|
3040
2834
|
decision: "refund" | "dismiss";
|
|
3041
2835
|
notes?: string;
|
|
3042
2836
|
};
|
|
3043
|
-
type PaymentRatesResponse = {
|
|
3044
|
-
asOf: string;
|
|
3045
|
-
ethUsd: number | null;
|
|
3046
|
-
solUsd: number | null;
|
|
3047
|
-
solLamportsPerCent: number | null;
|
|
3048
|
-
tronUsdPerToken: number;
|
|
3049
|
-
};
|
|
3050
2837
|
type AppealFileResponse = {
|
|
3051
2838
|
appealId: string;
|
|
3052
2839
|
paymentId: string;
|
|
@@ -3095,7 +2882,7 @@ type OauthPaymentPayoutRequest = {
|
|
|
3095
2882
|
metadata?: PaymentMetadata;
|
|
3096
2883
|
};
|
|
3097
2884
|
type OauthPaymentDistributeResponse = {
|
|
3098
|
-
distributionId
|
|
2885
|
+
distributionId: string;
|
|
3099
2886
|
txHash: string;
|
|
3100
2887
|
blockNumber: string;
|
|
3101
2888
|
potId: string;
|
|
@@ -3288,19 +3075,6 @@ declare function resolveAppeal(context: TransportContext, input: {
|
|
|
3288
3075
|
readonly body: AppealResolveRequest;
|
|
3289
3076
|
}): Promise<AppealResolveSignedResponse>;
|
|
3290
3077
|
//#endregion
|
|
3291
|
-
//#region src/admin/content-reports.d.ts
|
|
3292
|
-
declare function listAdminContentReports(context: TransportContext, input: {
|
|
3293
|
-
readonly bearer: string;
|
|
3294
|
-
readonly status?: "open" | "acknowledged" | "dismissed" | "all";
|
|
3295
|
-
readonly limit?: number;
|
|
3296
|
-
readonly offset?: number;
|
|
3297
|
-
}): Promise<AdminAppContentReportListResponse>;
|
|
3298
|
-
declare function triageAdminContentReport(context: TransportContext, input: {
|
|
3299
|
-
readonly bearer: string;
|
|
3300
|
-
readonly reportId: string;
|
|
3301
|
-
readonly status: "acknowledged" | "dismissed";
|
|
3302
|
-
}): Promise<AppContentReport>;
|
|
3303
|
-
//#endregion
|
|
3304
3078
|
//#region src/admin/developers.d.ts
|
|
3305
3079
|
declare function listDeveloperRequests(context: TransportContext, input: {
|
|
3306
3080
|
readonly bearer: string;
|
|
@@ -3440,99 +3214,6 @@ declare function getAppPage(context: TransportContext, input: {
|
|
|
3440
3214
|
readonly slug: string;
|
|
3441
3215
|
}): Promise<PublicAppPage>;
|
|
3442
3216
|
//#endregion
|
|
3443
|
-
//#region src/catalog/bip-updates.d.ts
|
|
3444
|
-
declare function listBipUpdates(context: TransportContext, input: {
|
|
3445
|
-
readonly bearer?: string;
|
|
3446
|
-
readonly slug: string;
|
|
3447
|
-
readonly limit?: number;
|
|
3448
|
-
readonly offset?: number;
|
|
3449
|
-
}): Promise<BipUpdateListResponse>;
|
|
3450
|
-
declare function listBipUpdateComments(context: TransportContext, input: {
|
|
3451
|
-
readonly bearer?: string;
|
|
3452
|
-
readonly slug: string;
|
|
3453
|
-
readonly updateId: string;
|
|
3454
|
-
readonly limit?: number;
|
|
3455
|
-
readonly offset?: number;
|
|
3456
|
-
}): Promise<BipUpdateCommentListResponse>;
|
|
3457
|
-
declare function getMyBipUpdateReactions(context: TransportContext, input: {
|
|
3458
|
-
readonly bearer: string;
|
|
3459
|
-
readonly slug: string;
|
|
3460
|
-
}): Promise<MyBipUpdateReactionsResponse>;
|
|
3461
|
-
declare function setBipUpdateReaction(context: TransportContext, input: {
|
|
3462
|
-
readonly bearer: string;
|
|
3463
|
-
readonly slug: string;
|
|
3464
|
-
readonly updateId: string;
|
|
3465
|
-
readonly body: SetBipUpdateReactionRequest;
|
|
3466
|
-
}): Promise<SetBipUpdateReactionResponse>;
|
|
3467
|
-
declare function commentOnBipUpdate(context: TransportContext, input: {
|
|
3468
|
-
readonly bearer: string;
|
|
3469
|
-
readonly slug: string;
|
|
3470
|
-
readonly updateId: string;
|
|
3471
|
-
readonly body: string;
|
|
3472
|
-
}): Promise<CreateBipUpdateCommentResponse>;
|
|
3473
|
-
declare function deleteBipUpdateComment(context: TransportContext, input: {
|
|
3474
|
-
readonly bearer: string;
|
|
3475
|
-
readonly slug: string;
|
|
3476
|
-
readonly commentId: string;
|
|
3477
|
-
}): Promise<DeleteBipUpdateCommentResponse>;
|
|
3478
|
-
declare function listDeveloperBipUpdates(context: TransportContext, input: {
|
|
3479
|
-
readonly bearer: string;
|
|
3480
|
-
readonly appId: string;
|
|
3481
|
-
readonly limit?: number;
|
|
3482
|
-
readonly offset?: number;
|
|
3483
|
-
}): Promise<BipUpdateListResponse>;
|
|
3484
|
-
declare function createBipUpdate(context: TransportContext, input: {
|
|
3485
|
-
readonly bearer: string;
|
|
3486
|
-
readonly appId: string;
|
|
3487
|
-
readonly body: CreateBipUpdateRequest;
|
|
3488
|
-
}): Promise<BipUpdate>;
|
|
3489
|
-
declare function updateBipUpdate(context: TransportContext, input: {
|
|
3490
|
-
readonly bearer: string;
|
|
3491
|
-
readonly appId: string;
|
|
3492
|
-
readonly updateId: string;
|
|
3493
|
-
readonly body: UpdateBipUpdateRequest;
|
|
3494
|
-
}): Promise<BipUpdate>;
|
|
3495
|
-
declare function deleteBipUpdate(context: TransportContext, input: {
|
|
3496
|
-
readonly bearer: string;
|
|
3497
|
-
readonly appId: string;
|
|
3498
|
-
readonly updateId: string;
|
|
3499
|
-
}): Promise<DeleteBipUpdateResponse>;
|
|
3500
|
-
declare function pinBipUpdate(context: TransportContext, input: {
|
|
3501
|
-
readonly bearer: string;
|
|
3502
|
-
readonly appId: string;
|
|
3503
|
-
readonly updateId: string;
|
|
3504
|
-
}): Promise<BipUpdate>;
|
|
3505
|
-
declare function unpinBipUpdate(context: TransportContext, input: {
|
|
3506
|
-
readonly bearer: string;
|
|
3507
|
-
readonly appId: string;
|
|
3508
|
-
readonly updateId: string;
|
|
3509
|
-
}): Promise<BipUpdate>;
|
|
3510
|
-
declare function uploadBipUpdateMedia(context: TransportContext, input: {
|
|
3511
|
-
readonly bearer: string;
|
|
3512
|
-
readonly appId: string;
|
|
3513
|
-
readonly file: Blob;
|
|
3514
|
-
readonly filename: string;
|
|
3515
|
-
readonly contentType: string;
|
|
3516
|
-
}): Promise<BipUpdateMediaUploadResponse>;
|
|
3517
|
-
declare function getBipInterestCount(context: TransportContext, input: {
|
|
3518
|
-
readonly bearer?: string;
|
|
3519
|
-
readonly slug: string;
|
|
3520
|
-
}): Promise<BipInterestCountResponse>;
|
|
3521
|
-
declare function getMyBipEngagement(context: TransportContext, input: {
|
|
3522
|
-
readonly bearer: string;
|
|
3523
|
-
readonly slug: string;
|
|
3524
|
-
}): Promise<BipEngagementResponse>;
|
|
3525
|
-
declare function registerBipInterest(context: TransportContext, input: {
|
|
3526
|
-
readonly bearer: string;
|
|
3527
|
-
readonly slug: string;
|
|
3528
|
-
readonly interested: boolean;
|
|
3529
|
-
}): Promise<BipEngagementResponse>;
|
|
3530
|
-
declare function subscribeBipUpdates(context: TransportContext, input: {
|
|
3531
|
-
readonly bearer: string;
|
|
3532
|
-
readonly slug: string;
|
|
3533
|
-
readonly subscribed: boolean;
|
|
3534
|
-
}): Promise<BipEngagementResponse>;
|
|
3535
|
-
//#endregion
|
|
3536
3217
|
//#region src/catalog/build-in-public.d.ts
|
|
3537
3218
|
declare function getBipDirectory(context: TransportContext, input: {
|
|
3538
3219
|
readonly bearer?: string;
|
|
@@ -3716,9 +3397,6 @@ declare function getPaymentHistory(context: TransportContext, input: {
|
|
|
3716
3397
|
readonly before?: string;
|
|
3717
3398
|
}): Promise<PaymentHistoryResponse>;
|
|
3718
3399
|
//#endregion
|
|
3719
|
-
//#region src/dashboard/rates.d.ts
|
|
3720
|
-
declare function getPaymentRates(context: TransportContext): Promise<PaymentRatesResponse>;
|
|
3721
|
-
//#endregion
|
|
3722
3400
|
//#region src/developer/api-keys.d.ts
|
|
3723
3401
|
declare function createDeveloperApiKey(context: TransportContext, input: {
|
|
3724
3402
|
readonly bearer: string;
|
|
@@ -4506,15 +4184,6 @@ declare function denyPaymentIntent(context: TransportContext, input: {
|
|
|
4506
4184
|
readonly bearer: string;
|
|
4507
4185
|
readonly intentId: string;
|
|
4508
4186
|
}): Promise<OauthPaymentIntentResolveResponse>;
|
|
4509
|
-
declare function preparePaymentIntentSolana(context: TransportContext, input: {
|
|
4510
|
-
readonly bearer: string;
|
|
4511
|
-
readonly intentId: string;
|
|
4512
|
-
}): Promise<OauthPaymentIntentSolanaPrepareResponse>;
|
|
4513
|
-
declare function completePaymentIntentSolana(context: TransportContext, input: {
|
|
4514
|
-
readonly bearer: string;
|
|
4515
|
-
readonly intentId: string;
|
|
4516
|
-
readonly body: OauthPaymentIntentSolanaCompleteRequest;
|
|
4517
|
-
}): Promise<OauthPaymentIntentResolveResponse>;
|
|
4518
4187
|
//#endregion
|
|
4519
4188
|
//#region src/payments/limits.d.ts
|
|
4520
4189
|
declare function getPaymentLimits(context: TransportContext, input: {
|
|
@@ -5025,4 +4694,4 @@ declare class TronNodeClient {
|
|
|
5025
4694
|
};
|
|
5026
4695
|
}
|
|
5027
4696
|
//#endregion
|
|
5028
|
-
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,
|
|
4697
|
+
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, getBipDirectory, getBipPage, 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, hideAppPageBip, 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, reviewAppPageBip, reviewAppPageChanges, reviewDeveloperRequest, revokeDeveloperApiKey, revokeDeveloperAppParticipant, revokePaymentAuthorization, revokeToken, rotateDeveloperAppKey, rotateDeveloperAppPaymentWebhookSecret, rotateProcessorTreasury, searchGiphy, searchUsers, send, sendFriendRequest, sendJson, sendMessage, sendPresenceHeartbeat, setAppPageBip, setMyGameReviewReaction, setProcessorWhitelist, setTronSecurity, setVaultOperator, setVaultPause, setVaultWithdrawLockDefault, setVaultWithdrawLockOverride, setupDmKeyBackup, sha256Base64Url, signInventoryVaultPermit, signPaymentIntent, startOauthInventoryEventsSubscriber, startOauthPaymentEventsSubscriber, submitAppContentReport, submitAppPageBipForReview, submitAppPageForReview, submitDeveloperRequest, submitRelayedVaultPermit, tipGameReview, toTokenSet, unfollowUser, unhideAppPage, unhideAppPageBip, unlockDmKeyBackup, unpinThread, unpublishAppPage, unpublishAppPageBip, 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 };
|