@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/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
|
};
|
|
@@ -360,7 +345,6 @@ type PublicAppPage = {
|
|
|
360
345
|
paymentsMode: AppPagePaymentsMode;
|
|
361
346
|
oauthScopes: Array<string>;
|
|
362
347
|
chains: Array<string>;
|
|
363
|
-
devlog: boolean;
|
|
364
348
|
publishedAt: string;
|
|
365
349
|
updatedAt: string;
|
|
366
350
|
};
|
|
@@ -422,97 +406,6 @@ type PublicBipPage = {
|
|
|
422
406
|
publishedAt: string;
|
|
423
407
|
updatedAt: string;
|
|
424
408
|
};
|
|
425
|
-
type BipUpdateListResponse = {
|
|
426
|
-
updates: Array<BipUpdate>;
|
|
427
|
-
total: number;
|
|
428
|
-
hasMore: boolean;
|
|
429
|
-
pinned: BipUpdate | null;
|
|
430
|
-
};
|
|
431
|
-
type BipUpdate = {
|
|
432
|
-
id: string;
|
|
433
|
-
appId: string;
|
|
434
|
-
body: BipUpdateBody;
|
|
435
|
-
attachments: BipUpdateAttachments;
|
|
436
|
-
reactions: BipUpdateReactionCounts;
|
|
437
|
-
commentCount: number;
|
|
438
|
-
createdAt: string;
|
|
439
|
-
updatedAt: string;
|
|
440
|
-
pinnedAt: string | null;
|
|
441
|
-
};
|
|
442
|
-
type BipUpdateBody = string;
|
|
443
|
-
type BipUpdateAttachments = Array<BipUpdateAttachment>;
|
|
444
|
-
type BipUpdateAttachment = {
|
|
445
|
-
url: string;
|
|
446
|
-
kind: "image" | "video";
|
|
447
|
-
order: number;
|
|
448
|
-
};
|
|
449
|
-
type BipUpdateReactionCounts = {
|
|
450
|
-
up: number;
|
|
451
|
-
down: number;
|
|
452
|
-
};
|
|
453
|
-
type BipUpdateCommentListResponse = {
|
|
454
|
-
comments: Array<BipUpdateComment>;
|
|
455
|
-
total: number;
|
|
456
|
-
hasMore: boolean;
|
|
457
|
-
};
|
|
458
|
-
type BipUpdateComment = {
|
|
459
|
-
id: string;
|
|
460
|
-
body: BipUpdateCommentBody;
|
|
461
|
-
author: ReviewAuthor;
|
|
462
|
-
createdAt: string;
|
|
463
|
-
};
|
|
464
|
-
type BipUpdateCommentBody = string;
|
|
465
|
-
type ReviewAuthor = {
|
|
466
|
-
userId: string;
|
|
467
|
-
handle: string | null;
|
|
468
|
-
name: string | null;
|
|
469
|
-
avatarUrl: string | null;
|
|
470
|
-
};
|
|
471
|
-
type BipInterestCountResponse = {
|
|
472
|
-
interestCount: number;
|
|
473
|
-
};
|
|
474
|
-
type BipEngagementResponse = {
|
|
475
|
-
interested: boolean;
|
|
476
|
-
subscribed: boolean;
|
|
477
|
-
interestCount: number;
|
|
478
|
-
};
|
|
479
|
-
type MyBipUpdateReactionsResponse = {
|
|
480
|
-
reactions: Array<MyBipUpdateReaction>;
|
|
481
|
-
};
|
|
482
|
-
type MyBipUpdateReaction = {
|
|
483
|
-
updateId: string;
|
|
484
|
-
vote: "up" | "down";
|
|
485
|
-
};
|
|
486
|
-
type SetBipUpdateReactionResponse = {
|
|
487
|
-
reactions: BipUpdateReactionCounts;
|
|
488
|
-
vote: BipUpdateVote;
|
|
489
|
-
};
|
|
490
|
-
type BipUpdateVote = "up" | "down" | null;
|
|
491
|
-
type SetBipUpdateReactionRequest = {
|
|
492
|
-
vote: BipUpdateVote;
|
|
493
|
-
};
|
|
494
|
-
type CreateBipUpdateCommentResponse = {
|
|
495
|
-
comment: BipUpdateComment;
|
|
496
|
-
commentCount: number;
|
|
497
|
-
};
|
|
498
|
-
type DeleteBipUpdateCommentResponse = {
|
|
499
|
-
commentCount: number;
|
|
500
|
-
};
|
|
501
|
-
type CreateBipUpdateRequest = {
|
|
502
|
-
body: BipUpdateBody;
|
|
503
|
-
attachments?: BipUpdateAttachments;
|
|
504
|
-
};
|
|
505
|
-
type UpdateBipUpdateRequest = {
|
|
506
|
-
body?: BipUpdateBody;
|
|
507
|
-
attachments?: BipUpdateAttachments;
|
|
508
|
-
};
|
|
509
|
-
type DeleteBipUpdateResponse = {
|
|
510
|
-
deleted: true;
|
|
511
|
-
};
|
|
512
|
-
type BipUpdateMediaUploadResponse = {
|
|
513
|
-
url: string;
|
|
514
|
-
kind: "image" | "video";
|
|
515
|
-
};
|
|
516
409
|
type ReviewListResponse = {
|
|
517
410
|
aggregate: ReviewAggregate;
|
|
518
411
|
reviews: Array<Review>;
|
|
@@ -546,6 +439,12 @@ type ReviewReactionCounts = {
|
|
|
546
439
|
unhelpful: number;
|
|
547
440
|
funny: number;
|
|
548
441
|
};
|
|
442
|
+
type ReviewAuthor = {
|
|
443
|
+
userId: string;
|
|
444
|
+
handle: string | null;
|
|
445
|
+
name: string | null;
|
|
446
|
+
avatarUrl: string | null;
|
|
447
|
+
};
|
|
549
448
|
type ReviewerStats = {
|
|
550
449
|
playtimeSecondsThisGame: number;
|
|
551
450
|
gamesPlayed: number;
|
|
@@ -736,11 +635,7 @@ type ActivityRow = ({
|
|
|
736
635
|
kind: "referral_earning";
|
|
737
636
|
} & ActivityRowReferralEarning) | ({
|
|
738
637
|
kind: "nft_charge";
|
|
739
|
-
} & ActivityRowNftCharge)
|
|
740
|
-
kind: "solana_stake";
|
|
741
|
-
} & ActivityRowSolanaStake) | ({
|
|
742
|
-
kind: "solana_pot_leg";
|
|
743
|
-
} & ActivityRowSolanaPotLeg);
|
|
638
|
+
} & ActivityRowNftCharge);
|
|
744
639
|
type ActivityRowPayment = {
|
|
745
640
|
kind: "payment";
|
|
746
641
|
groupId: string | null;
|
|
@@ -1068,56 +963,6 @@ type ActivityRowNftCharge = {
|
|
|
1068
963
|
counterpartyHandle: string | null;
|
|
1069
964
|
counterpartyDisplayName: string | null;
|
|
1070
965
|
};
|
|
1071
|
-
type ActivityRowSolanaStake = {
|
|
1072
|
-
kind: "solana_stake";
|
|
1073
|
-
groupId: string | null;
|
|
1074
|
-
id: string;
|
|
1075
|
-
chain: string;
|
|
1076
|
-
occurredAt: string;
|
|
1077
|
-
role: "outgoing" | "incoming";
|
|
1078
|
-
amount: string;
|
|
1079
|
-
token: string;
|
|
1080
|
-
potId: string | null;
|
|
1081
|
-
usdCents: number;
|
|
1082
|
-
status: "completed";
|
|
1083
|
-
txHash: string | null;
|
|
1084
|
-
app: {
|
|
1085
|
-
id: string;
|
|
1086
|
-
name: string;
|
|
1087
|
-
logoUrl: string | null;
|
|
1088
|
-
slug: string | null;
|
|
1089
|
-
bannerUrl: string | null;
|
|
1090
|
-
} | null;
|
|
1091
|
-
stakerUserId?: string | null;
|
|
1092
|
-
stakerHandle?: string | null;
|
|
1093
|
-
stakerDisplayName?: string | null;
|
|
1094
|
-
metadata?: PaymentMetadata | null;
|
|
1095
|
-
};
|
|
1096
|
-
type ActivityRowSolanaPotLeg = {
|
|
1097
|
-
kind: "solana_pot_leg";
|
|
1098
|
-
groupId: string | null;
|
|
1099
|
-
id: string;
|
|
1100
|
-
chain: string;
|
|
1101
|
-
occurredAt: string;
|
|
1102
|
-
role: "outgoing" | "incoming";
|
|
1103
|
-
beneficiary: string;
|
|
1104
|
-
potId: string | null;
|
|
1105
|
-
amount: string;
|
|
1106
|
-
token: string;
|
|
1107
|
-
usdCents: number | null;
|
|
1108
|
-
status: "settled";
|
|
1109
|
-
app: {
|
|
1110
|
-
id: string;
|
|
1111
|
-
name: string;
|
|
1112
|
-
logoUrl: string | null;
|
|
1113
|
-
slug: string | null;
|
|
1114
|
-
bannerUrl: string | null;
|
|
1115
|
-
} | null;
|
|
1116
|
-
txHash: string | null;
|
|
1117
|
-
recipientUserId?: string | null;
|
|
1118
|
-
recipientHandle?: string | null;
|
|
1119
|
-
recipientDisplayName?: string | null;
|
|
1120
|
-
};
|
|
1121
966
|
type OutstandingResponse = {
|
|
1122
967
|
rows: Array<OutstandingByToken>;
|
|
1123
968
|
};
|
|
@@ -1277,15 +1122,12 @@ type WalletListResponse = {
|
|
|
1277
1122
|
wallets: Array<WalletItem>;
|
|
1278
1123
|
};
|
|
1279
1124
|
type WalletChainList = Array<{
|
|
1280
|
-
id: "ethereum-mainnet" | "base-mainnet" | "ethereum-sepolia"
|
|
1125
|
+
id: "ethereum-mainnet" | "base-mainnet" | "ethereum-sepolia";
|
|
1281
1126
|
displayName: string;
|
|
1282
|
-
|
|
1283
|
-
nativeSymbol: string;
|
|
1284
|
-
chainId?: number;
|
|
1127
|
+
chainId: number;
|
|
1285
1128
|
}>;
|
|
1286
1129
|
type WalletItem = {
|
|
1287
|
-
address: string
|
|
1288
|
-
family: "evm" | "solana";
|
|
1130
|
+
address: string;
|
|
1289
1131
|
label: WalletLabel;
|
|
1290
1132
|
kind: "personal" | "app";
|
|
1291
1133
|
app: WalletAppLink;
|
|
@@ -1302,9 +1144,6 @@ type WalletBalances = {
|
|
|
1302
1144
|
"ethereum-mainnet"?: WalletChainBalance;
|
|
1303
1145
|
"base-mainnet"?: WalletChainBalance;
|
|
1304
1146
|
"ethereum-sepolia"?: WalletChainBalance;
|
|
1305
|
-
"base-sepolia"?: WalletChainBalance;
|
|
1306
|
-
"solana-mainnet"?: WalletChainBalance;
|
|
1307
|
-
"solana-devnet"?: WalletChainBalance;
|
|
1308
1147
|
};
|
|
1309
1148
|
type WalletChainBalance = {
|
|
1310
1149
|
native: string;
|
|
@@ -1314,14 +1153,12 @@ type WalletDelegationStatus = {
|
|
|
1314
1153
|
mode: WalletDelegationMode;
|
|
1315
1154
|
caps: WalletDelegationCaps;
|
|
1316
1155
|
policyId: string | null;
|
|
1317
|
-
slippageBps: DelegationSlippageBps;
|
|
1318
1156
|
};
|
|
1319
1157
|
type WalletDelegationMode = "infinite" | "custom" | "scoped" | null;
|
|
1320
1158
|
type WalletDelegationCaps = {
|
|
1321
1159
|
native: string;
|
|
1322
1160
|
usdc: string;
|
|
1323
1161
|
} | null;
|
|
1324
|
-
type DelegationSlippageBps = number | null;
|
|
1325
1162
|
type WalletLabelUpdateResponse = {
|
|
1326
1163
|
address: string;
|
|
1327
1164
|
label: WalletLabel;
|
|
@@ -2002,18 +1839,6 @@ type NotificationItem = {
|
|
|
2002
1839
|
payload: AppPageRejectedNotificationPayload;
|
|
2003
1840
|
read: boolean;
|
|
2004
1841
|
createdAt: string;
|
|
2005
|
-
} | {
|
|
2006
|
-
id: string;
|
|
2007
|
-
kind: "bip_update_published";
|
|
2008
|
-
payload: BipUpdatePublishedNotificationPayload;
|
|
2009
|
-
read: boolean;
|
|
2010
|
-
createdAt: string;
|
|
2011
|
-
} | {
|
|
2012
|
-
id: string;
|
|
2013
|
-
kind: "bip_now_playable";
|
|
2014
|
-
payload: BipNowPlayableNotificationPayload;
|
|
2015
|
-
read: boolean;
|
|
2016
|
-
createdAt: string;
|
|
2017
1842
|
} | {
|
|
2018
1843
|
id: string;
|
|
2019
1844
|
kind: "app_participant_invite";
|
|
@@ -2052,17 +1877,6 @@ type AppPageRejectedNotificationPayload = {
|
|
|
2052
1877
|
scope: "publish" | "changes" | "bip_publish";
|
|
2053
1878
|
notes: string;
|
|
2054
1879
|
};
|
|
2055
|
-
type BipUpdatePublishedNotificationPayload = {
|
|
2056
|
-
appId: string;
|
|
2057
|
-
appName: string;
|
|
2058
|
-
appSlug: string | null;
|
|
2059
|
-
updateId: string;
|
|
2060
|
-
};
|
|
2061
|
-
type BipNowPlayableNotificationPayload = {
|
|
2062
|
-
appId: string;
|
|
2063
|
-
appName: string;
|
|
2064
|
-
appSlug: string | null;
|
|
2065
|
-
};
|
|
2066
1880
|
type AppParticipantInviteNotificationPayload = {
|
|
2067
1881
|
appId: string;
|
|
2068
1882
|
appName: string;
|
|
@@ -2230,14 +2044,12 @@ type UpdateDeveloperApp = {
|
|
|
2230
2044
|
redirectUris?: Array<string>;
|
|
2231
2045
|
embedOrigins?: Array<EmbedOrigin>;
|
|
2232
2046
|
acceptedCurrencies?: AcceptedCurrencies;
|
|
2233
|
-
acceptedNetworks?: AcceptedNetworks;
|
|
2234
2047
|
paymentStatusWebhookUrl?: string | null;
|
|
2235
2048
|
paymentStatusWebhookUrlTest?: string | null;
|
|
2236
2049
|
};
|
|
2237
2050
|
type EmbedOrigin = string;
|
|
2238
2051
|
type AcceptedCurrencies = Array<PlatformCurrency>;
|
|
2239
2052
|
type PlatformCurrency = "eth" | "tron";
|
|
2240
|
-
type AcceptedNetworks = Array<PaymentNetwork> | null;
|
|
2241
2053
|
type DeveloperLogoUploadResponse = {
|
|
2242
2054
|
logoUrl: string | null;
|
|
2243
2055
|
};
|
|
@@ -2300,7 +2112,7 @@ type DeveloperAppWalletsResponse = {
|
|
|
2300
2112
|
};
|
|
2301
2113
|
type DeveloperAppWalletItem = {
|
|
2302
2114
|
chain: string;
|
|
2303
|
-
address: string
|
|
2115
|
+
address: string;
|
|
2304
2116
|
custody: "server" | null;
|
|
2305
2117
|
walletId: string | null;
|
|
2306
2118
|
autoSweepEnabled: boolean;
|
|
@@ -2321,7 +2133,7 @@ type DeveloperAppProvisionWalletResponse = {
|
|
|
2321
2133
|
chain: string;
|
|
2322
2134
|
custody: "server";
|
|
2323
2135
|
walletId: string;
|
|
2324
|
-
address: string
|
|
2136
|
+
address: string;
|
|
2325
2137
|
};
|
|
2326
2138
|
type DeveloperAppWithdrawResponse = {
|
|
2327
2139
|
appId: string;
|
|
@@ -2484,7 +2296,6 @@ type DeveloperAppItem = {
|
|
|
2484
2296
|
redirectUris: Array<string>;
|
|
2485
2297
|
embedOrigins: Array<EmbedOrigin>;
|
|
2486
2298
|
acceptedCurrencies: AcceptedCurrencies;
|
|
2487
|
-
acceptedNetworks: AcceptedNetworks;
|
|
2488
2299
|
payoutAddresses: Array<DeveloperAppPayoutAddressItem>;
|
|
2489
2300
|
keys: Array<DeveloperAppKeyItem>;
|
|
2490
2301
|
pendingProductionRequestId: string | null;
|
|
@@ -2718,7 +2529,6 @@ type AdminAppPageItem = {
|
|
|
2718
2529
|
bipStatus: "draft" | "pending_review" | "published" | "hidden";
|
|
2719
2530
|
bipFirstPublishedAt: string | null;
|
|
2720
2531
|
bipHiddenAt: string | null;
|
|
2721
|
-
openReportCount: number;
|
|
2722
2532
|
};
|
|
2723
2533
|
type AdminAppPageStatusResponse = {
|
|
2724
2534
|
status: "draft" | "pending_review" | "published" | "hidden";
|
|
@@ -2747,22 +2557,6 @@ type AdminAppPageDiffField = {
|
|
|
2747
2557
|
type AdminAppPageBipStatusResponse = {
|
|
2748
2558
|
bipStatus: "draft" | "pending_review" | "published" | "hidden";
|
|
2749
2559
|
};
|
|
2750
|
-
type AdminAppContentReportListResponse = {
|
|
2751
|
-
reports: Array<AdminAppContentReportItem>;
|
|
2752
|
-
total: number;
|
|
2753
|
-
hasMore: boolean;
|
|
2754
|
-
};
|
|
2755
|
-
type AdminAppContentReportItem = {
|
|
2756
|
-
id: string;
|
|
2757
|
-
category: AppContentReportCategory;
|
|
2758
|
-
details: string | null;
|
|
2759
|
-
status: AppContentReportStatus;
|
|
2760
|
-
acknowledgedAt: string | null;
|
|
2761
|
-
createdAt: string;
|
|
2762
|
-
appId: string;
|
|
2763
|
-
appName: string;
|
|
2764
|
-
appSlug: string | null;
|
|
2765
|
-
};
|
|
2766
2560
|
type PlatformFeesResponse = {
|
|
2767
2561
|
purchaseFeeBps: number;
|
|
2768
2562
|
stakeFeeBps: number;
|
|
@@ -2943,13 +2737,6 @@ type AppealResolveRequest = {
|
|
|
2943
2737
|
decision: "refund" | "dismiss";
|
|
2944
2738
|
notes?: string;
|
|
2945
2739
|
};
|
|
2946
|
-
type PaymentRatesResponse = {
|
|
2947
|
-
asOf: string;
|
|
2948
|
-
ethUsd: number | null;
|
|
2949
|
-
solUsd: number | null;
|
|
2950
|
-
solLamportsPerCent: number | null;
|
|
2951
|
-
tronUsdPerToken: number;
|
|
2952
|
-
};
|
|
2953
2740
|
type AppealFileResponse = {
|
|
2954
2741
|
appealId: string;
|
|
2955
2742
|
paymentId: string;
|
|
@@ -3129,19 +2916,6 @@ declare function resolveAppeal(context: TransportContext, input: {
|
|
|
3129
2916
|
readonly body: AppealResolveRequest;
|
|
3130
2917
|
}): Promise<AppealResolveSignedResponse>;
|
|
3131
2918
|
//#endregion
|
|
3132
|
-
//#region src/admin/content-reports.d.ts
|
|
3133
|
-
declare function listAdminContentReports(context: TransportContext, input: {
|
|
3134
|
-
readonly bearer: string;
|
|
3135
|
-
readonly status?: "open" | "acknowledged" | "dismissed" | "all";
|
|
3136
|
-
readonly limit?: number;
|
|
3137
|
-
readonly offset?: number;
|
|
3138
|
-
}): Promise<AdminAppContentReportListResponse>;
|
|
3139
|
-
declare function triageAdminContentReport(context: TransportContext, input: {
|
|
3140
|
-
readonly bearer: string;
|
|
3141
|
-
readonly reportId: string;
|
|
3142
|
-
readonly status: "acknowledged" | "dismissed";
|
|
3143
|
-
}): Promise<AppContentReport>;
|
|
3144
|
-
//#endregion
|
|
3145
2919
|
//#region src/admin/developers.d.ts
|
|
3146
2920
|
declare function listDeveloperRequests(context: TransportContext, input: {
|
|
3147
2921
|
readonly bearer: string;
|
|
@@ -3281,99 +3055,6 @@ declare function getAppPage(context: TransportContext, input: {
|
|
|
3281
3055
|
readonly slug: string;
|
|
3282
3056
|
}): Promise<PublicAppPage>;
|
|
3283
3057
|
//#endregion
|
|
3284
|
-
//#region src/catalog/bip-updates.d.ts
|
|
3285
|
-
declare function listBipUpdates(context: TransportContext, input: {
|
|
3286
|
-
readonly bearer?: string;
|
|
3287
|
-
readonly slug: string;
|
|
3288
|
-
readonly limit?: number;
|
|
3289
|
-
readonly offset?: number;
|
|
3290
|
-
}): Promise<BipUpdateListResponse>;
|
|
3291
|
-
declare function listBipUpdateComments(context: TransportContext, input: {
|
|
3292
|
-
readonly bearer?: string;
|
|
3293
|
-
readonly slug: string;
|
|
3294
|
-
readonly updateId: string;
|
|
3295
|
-
readonly limit?: number;
|
|
3296
|
-
readonly offset?: number;
|
|
3297
|
-
}): Promise<BipUpdateCommentListResponse>;
|
|
3298
|
-
declare function getMyBipUpdateReactions(context: TransportContext, input: {
|
|
3299
|
-
readonly bearer: string;
|
|
3300
|
-
readonly slug: string;
|
|
3301
|
-
}): Promise<MyBipUpdateReactionsResponse>;
|
|
3302
|
-
declare function setBipUpdateReaction(context: TransportContext, input: {
|
|
3303
|
-
readonly bearer: string;
|
|
3304
|
-
readonly slug: string;
|
|
3305
|
-
readonly updateId: string;
|
|
3306
|
-
readonly body: SetBipUpdateReactionRequest;
|
|
3307
|
-
}): Promise<SetBipUpdateReactionResponse>;
|
|
3308
|
-
declare function commentOnBipUpdate(context: TransportContext, input: {
|
|
3309
|
-
readonly bearer: string;
|
|
3310
|
-
readonly slug: string;
|
|
3311
|
-
readonly updateId: string;
|
|
3312
|
-
readonly body: string;
|
|
3313
|
-
}): Promise<CreateBipUpdateCommentResponse>;
|
|
3314
|
-
declare function deleteBipUpdateComment(context: TransportContext, input: {
|
|
3315
|
-
readonly bearer: string;
|
|
3316
|
-
readonly slug: string;
|
|
3317
|
-
readonly commentId: string;
|
|
3318
|
-
}): Promise<DeleteBipUpdateCommentResponse>;
|
|
3319
|
-
declare function listDeveloperBipUpdates(context: TransportContext, input: {
|
|
3320
|
-
readonly bearer: string;
|
|
3321
|
-
readonly appId: string;
|
|
3322
|
-
readonly limit?: number;
|
|
3323
|
-
readonly offset?: number;
|
|
3324
|
-
}): Promise<BipUpdateListResponse>;
|
|
3325
|
-
declare function createBipUpdate(context: TransportContext, input: {
|
|
3326
|
-
readonly bearer: string;
|
|
3327
|
-
readonly appId: string;
|
|
3328
|
-
readonly body: CreateBipUpdateRequest;
|
|
3329
|
-
}): Promise<BipUpdate>;
|
|
3330
|
-
declare function updateBipUpdate(context: TransportContext, input: {
|
|
3331
|
-
readonly bearer: string;
|
|
3332
|
-
readonly appId: string;
|
|
3333
|
-
readonly updateId: string;
|
|
3334
|
-
readonly body: UpdateBipUpdateRequest;
|
|
3335
|
-
}): Promise<BipUpdate>;
|
|
3336
|
-
declare function deleteBipUpdate(context: TransportContext, input: {
|
|
3337
|
-
readonly bearer: string;
|
|
3338
|
-
readonly appId: string;
|
|
3339
|
-
readonly updateId: string;
|
|
3340
|
-
}): Promise<DeleteBipUpdateResponse>;
|
|
3341
|
-
declare function pinBipUpdate(context: TransportContext, input: {
|
|
3342
|
-
readonly bearer: string;
|
|
3343
|
-
readonly appId: string;
|
|
3344
|
-
readonly updateId: string;
|
|
3345
|
-
}): Promise<BipUpdate>;
|
|
3346
|
-
declare function unpinBipUpdate(context: TransportContext, input: {
|
|
3347
|
-
readonly bearer: string;
|
|
3348
|
-
readonly appId: string;
|
|
3349
|
-
readonly updateId: string;
|
|
3350
|
-
}): Promise<BipUpdate>;
|
|
3351
|
-
declare function uploadBipUpdateMedia(context: TransportContext, input: {
|
|
3352
|
-
readonly bearer: string;
|
|
3353
|
-
readonly appId: string;
|
|
3354
|
-
readonly file: Blob;
|
|
3355
|
-
readonly filename: string;
|
|
3356
|
-
readonly contentType: string;
|
|
3357
|
-
}): Promise<BipUpdateMediaUploadResponse>;
|
|
3358
|
-
declare function getBipInterestCount(context: TransportContext, input: {
|
|
3359
|
-
readonly bearer?: string;
|
|
3360
|
-
readonly slug: string;
|
|
3361
|
-
}): Promise<BipInterestCountResponse>;
|
|
3362
|
-
declare function getMyBipEngagement(context: TransportContext, input: {
|
|
3363
|
-
readonly bearer: string;
|
|
3364
|
-
readonly slug: string;
|
|
3365
|
-
}): Promise<BipEngagementResponse>;
|
|
3366
|
-
declare function registerBipInterest(context: TransportContext, input: {
|
|
3367
|
-
readonly bearer: string;
|
|
3368
|
-
readonly slug: string;
|
|
3369
|
-
readonly interested: boolean;
|
|
3370
|
-
}): Promise<BipEngagementResponse>;
|
|
3371
|
-
declare function subscribeBipUpdates(context: TransportContext, input: {
|
|
3372
|
-
readonly bearer: string;
|
|
3373
|
-
readonly slug: string;
|
|
3374
|
-
readonly subscribed: boolean;
|
|
3375
|
-
}): Promise<BipEngagementResponse>;
|
|
3376
|
-
//#endregion
|
|
3377
3058
|
//#region src/catalog/build-in-public.d.ts
|
|
3378
3059
|
declare function getBipDirectory(context: TransportContext, input: {
|
|
3379
3060
|
readonly bearer?: string;
|
|
@@ -3551,9 +3232,6 @@ declare function getPaymentHistory(context: TransportContext, input: {
|
|
|
3551
3232
|
readonly before?: string;
|
|
3552
3233
|
}): Promise<PaymentHistoryResponse>;
|
|
3553
3234
|
//#endregion
|
|
3554
|
-
//#region src/dashboard/rates.d.ts
|
|
3555
|
-
declare function getPaymentRates(context: TransportContext): Promise<PaymentRatesResponse>;
|
|
3556
|
-
//#endregion
|
|
3557
3235
|
//#region src/developer/api-keys.d.ts
|
|
3558
3236
|
declare function createDeveloperApiKey(context: TransportContext, input: {
|
|
3559
3237
|
readonly bearer: string;
|
|
@@ -4180,15 +3858,6 @@ declare function denyPaymentIntent(context: TransportContext, input: {
|
|
|
4180
3858
|
readonly bearer: string;
|
|
4181
3859
|
readonly intentId: string;
|
|
4182
3860
|
}): Promise<OauthPaymentIntentResolveResponse>;
|
|
4183
|
-
declare function preparePaymentIntentSolana(context: TransportContext, input: {
|
|
4184
|
-
readonly bearer: string;
|
|
4185
|
-
readonly intentId: string;
|
|
4186
|
-
}): Promise<OauthPaymentIntentSolanaPrepareResponse>;
|
|
4187
|
-
declare function completePaymentIntentSolana(context: TransportContext, input: {
|
|
4188
|
-
readonly bearer: string;
|
|
4189
|
-
readonly intentId: string;
|
|
4190
|
-
readonly body: OauthPaymentIntentSolanaCompleteRequest;
|
|
4191
|
-
}): Promise<OauthPaymentIntentResolveResponse>;
|
|
4192
3861
|
//#endregion
|
|
4193
3862
|
//#region src/payments/limits.d.ts
|
|
4194
3863
|
declare function getPaymentLimits(context: TransportContext, input: {
|
|
@@ -4693,4 +4362,4 @@ type CookieTokenStoreOptions = {
|
|
|
4693
4362
|
};
|
|
4694
4363
|
declare function createCookieTokenStore(options?: CookieTokenStoreOptions): TokenStore;
|
|
4695
4364
|
//#endregion
|
|
4696
|
-
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,
|
|
4365
|
+
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, getBipDirectory, getBipPage, 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, hideAppPageBip, 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, reviewAppPageBip, reviewAppPageChanges, reviewDeveloperRequest, revokeDeveloperApiKey, revokeDeveloperAppParticipant, revokePaymentAuthorization, revokeToken, rotateDeveloperAppKey, rotateDeveloperAppPaymentWebhookSecret, rotateProcessorTreasury, searchGiphy, searchUsers, sendFriendRequest, sendMessage, sendPresenceHeartbeat, setAppPageBip, setMyGameReviewReaction, setProcessorWhitelist, setTronSecurity, setVaultOperator, setVaultPause, setVaultWithdrawLockDefault, setVaultWithdrawLockOverride, setupDmKeyBackup, sha256Base64Url, signInventoryVaultPermit, signPaymentIntent, 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 };
|