@metatrongg/sdk 0.8.0-dev.42c667f → 0.8.0-dev.45ada1b
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 +200 -7
- package/dist/browser/index.js +1 -1
- package/dist/contracts/index.d.ts +1554 -52
- package/dist/contracts/index.js +1 -1
- package/dist/index.js +1 -1
- package/dist/node/index.d.ts +201 -8
- 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 +3 -3
package/dist/node/index.d.ts
CHANGED
|
@@ -291,7 +291,15 @@ 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
|
+
};
|
|
294
301
|
};
|
|
302
|
+
type PaymentNetwork = "ethereum" | "base" | "solana";
|
|
295
303
|
type OauthPaymentIntentSignResponse = {
|
|
296
304
|
chain: string;
|
|
297
305
|
chainId: number;
|
|
@@ -321,6 +329,13 @@ type OauthPaymentIntentCompleteSigned = {
|
|
|
321
329
|
type OauthPaymentIntentCompleteOffline = {
|
|
322
330
|
method: "offline";
|
|
323
331
|
};
|
|
332
|
+
type OauthPaymentIntentSolanaPrepareResponse = {
|
|
333
|
+
transaction: string;
|
|
334
|
+
payer: string;
|
|
335
|
+
};
|
|
336
|
+
type OauthPaymentIntentSolanaCompleteRequest = {
|
|
337
|
+
signedTransaction: string;
|
|
338
|
+
};
|
|
324
339
|
type ListAppPaymentAuthorizationsResponse = {
|
|
325
340
|
authorizations: Array<AppPaymentAuthorizationItem>;
|
|
326
341
|
};
|
|
@@ -387,6 +402,7 @@ type PublicAppPage = {
|
|
|
387
402
|
paymentsMode: AppPagePaymentsMode;
|
|
388
403
|
oauthScopes: Array<string>;
|
|
389
404
|
chains: Array<string>;
|
|
405
|
+
devlog: boolean;
|
|
390
406
|
publishedAt: string;
|
|
391
407
|
updatedAt: string;
|
|
392
408
|
};
|
|
@@ -452,6 +468,7 @@ type BipUpdateListResponse = {
|
|
|
452
468
|
updates: Array<BipUpdate>;
|
|
453
469
|
total: number;
|
|
454
470
|
hasMore: boolean;
|
|
471
|
+
pinned: BipUpdate | null;
|
|
455
472
|
};
|
|
456
473
|
type BipUpdate = {
|
|
457
474
|
id: string;
|
|
@@ -462,6 +479,7 @@ type BipUpdate = {
|
|
|
462
479
|
commentCount: number;
|
|
463
480
|
createdAt: string;
|
|
464
481
|
updatedAt: string;
|
|
482
|
+
pinnedAt: string | null;
|
|
465
483
|
};
|
|
466
484
|
type BipUpdateBody = string;
|
|
467
485
|
type BipUpdateAttachments = Array<BipUpdateAttachment>;
|
|
@@ -492,6 +510,14 @@ type ReviewAuthor = {
|
|
|
492
510
|
name: string | null;
|
|
493
511
|
avatarUrl: string | null;
|
|
494
512
|
};
|
|
513
|
+
type BipInterestCountResponse = {
|
|
514
|
+
interestCount: number;
|
|
515
|
+
};
|
|
516
|
+
type BipEngagementResponse = {
|
|
517
|
+
interested: boolean;
|
|
518
|
+
subscribed: boolean;
|
|
519
|
+
interestCount: number;
|
|
520
|
+
};
|
|
495
521
|
type MyBipUpdateReactionsResponse = {
|
|
496
522
|
reactions: Array<MyBipUpdateReaction>;
|
|
497
523
|
};
|
|
@@ -752,7 +778,11 @@ type ActivityRow = ({
|
|
|
752
778
|
kind: "referral_earning";
|
|
753
779
|
} & ActivityRowReferralEarning) | ({
|
|
754
780
|
kind: "nft_charge";
|
|
755
|
-
} & ActivityRowNftCharge)
|
|
781
|
+
} & ActivityRowNftCharge) | ({
|
|
782
|
+
kind: "solana_stake";
|
|
783
|
+
} & ActivityRowSolanaStake) | ({
|
|
784
|
+
kind: "solana_pot_leg";
|
|
785
|
+
} & ActivityRowSolanaPotLeg);
|
|
756
786
|
type ActivityRowPayment = {
|
|
757
787
|
kind: "payment";
|
|
758
788
|
groupId: string | null;
|
|
@@ -1080,6 +1110,56 @@ type ActivityRowNftCharge = {
|
|
|
1080
1110
|
counterpartyHandle: string | null;
|
|
1081
1111
|
counterpartyDisplayName: string | null;
|
|
1082
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
|
+
};
|
|
1083
1163
|
type OutstandingResponse = {
|
|
1084
1164
|
rows: Array<OutstandingByToken>;
|
|
1085
1165
|
};
|
|
@@ -1315,12 +1395,15 @@ type WalletListResponse = {
|
|
|
1315
1395
|
wallets: Array<WalletItem>;
|
|
1316
1396
|
};
|
|
1317
1397
|
type WalletChainList = Array<{
|
|
1318
|
-
id: "ethereum-mainnet" | "base-mainnet" | "ethereum-sepolia";
|
|
1398
|
+
id: "ethereum-mainnet" | "base-mainnet" | "ethereum-sepolia" | "base-sepolia" | "solana-mainnet" | "solana-devnet";
|
|
1319
1399
|
displayName: string;
|
|
1320
|
-
|
|
1400
|
+
family: "evm" | "solana";
|
|
1401
|
+
nativeSymbol: string;
|
|
1402
|
+
chainId?: number;
|
|
1321
1403
|
}>;
|
|
1322
1404
|
type WalletItem = {
|
|
1323
|
-
address: string;
|
|
1405
|
+
address: string | string;
|
|
1406
|
+
family: "evm" | "solana";
|
|
1324
1407
|
label: WalletLabel;
|
|
1325
1408
|
kind: "personal" | "app";
|
|
1326
1409
|
app: WalletAppLink;
|
|
@@ -1337,6 +1420,9 @@ type WalletBalances = {
|
|
|
1337
1420
|
"ethereum-mainnet"?: WalletChainBalance;
|
|
1338
1421
|
"base-mainnet"?: WalletChainBalance;
|
|
1339
1422
|
"ethereum-sepolia"?: WalletChainBalance;
|
|
1423
|
+
"base-sepolia"?: WalletChainBalance;
|
|
1424
|
+
"solana-mainnet"?: WalletChainBalance;
|
|
1425
|
+
"solana-devnet"?: WalletChainBalance;
|
|
1340
1426
|
};
|
|
1341
1427
|
type WalletChainBalance = {
|
|
1342
1428
|
native: string;
|
|
@@ -1346,12 +1432,14 @@ type WalletDelegationStatus = {
|
|
|
1346
1432
|
mode: WalletDelegationMode;
|
|
1347
1433
|
caps: WalletDelegationCaps;
|
|
1348
1434
|
policyId: string | null;
|
|
1435
|
+
slippageBps: DelegationSlippageBps;
|
|
1349
1436
|
};
|
|
1350
1437
|
type WalletDelegationMode = "infinite" | "custom" | "scoped" | null;
|
|
1351
1438
|
type WalletDelegationCaps = {
|
|
1352
1439
|
native: string;
|
|
1353
1440
|
usdc: string;
|
|
1354
1441
|
} | null;
|
|
1442
|
+
type DelegationSlippageBps = number | null;
|
|
1355
1443
|
type WalletLabelUpdateResponse = {
|
|
1356
1444
|
address: string;
|
|
1357
1445
|
label: WalletLabel;
|
|
@@ -2011,6 +2099,18 @@ type NotificationItem = {
|
|
|
2011
2099
|
payload: AppPageRejectedNotificationPayload;
|
|
2012
2100
|
read: boolean;
|
|
2013
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;
|
|
2014
2114
|
} | {
|
|
2015
2115
|
id: string;
|
|
2016
2116
|
kind: "app_participant_invite";
|
|
@@ -2049,6 +2149,17 @@ type AppPageRejectedNotificationPayload = {
|
|
|
2049
2149
|
scope: "publish" | "changes" | "bip_publish";
|
|
2050
2150
|
notes: string;
|
|
2051
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
|
+
};
|
|
2052
2163
|
type AppParticipantInviteNotificationPayload = {
|
|
2053
2164
|
appId: string;
|
|
2054
2165
|
appName: string;
|
|
@@ -2216,12 +2327,14 @@ type UpdateDeveloperApp = {
|
|
|
2216
2327
|
redirectUris?: Array<string>;
|
|
2217
2328
|
embedOrigins?: Array<EmbedOrigin>;
|
|
2218
2329
|
acceptedCurrencies?: AcceptedCurrencies;
|
|
2330
|
+
acceptedNetworks?: AcceptedNetworks;
|
|
2219
2331
|
paymentStatusWebhookUrl?: string | null;
|
|
2220
2332
|
paymentStatusWebhookUrlTest?: string | null;
|
|
2221
2333
|
};
|
|
2222
2334
|
type EmbedOrigin = string;
|
|
2223
2335
|
type AcceptedCurrencies = Array<PlatformCurrency>;
|
|
2224
2336
|
type PlatformCurrency = "eth" | "tron";
|
|
2337
|
+
type AcceptedNetworks = Array<PaymentNetwork> | null;
|
|
2225
2338
|
type DeveloperLogoUploadResponse = {
|
|
2226
2339
|
logoUrl: string | null;
|
|
2227
2340
|
};
|
|
@@ -2284,7 +2397,7 @@ type DeveloperAppWalletsResponse = {
|
|
|
2284
2397
|
};
|
|
2285
2398
|
type DeveloperAppWalletItem = {
|
|
2286
2399
|
chain: string;
|
|
2287
|
-
address: string;
|
|
2400
|
+
address: string | string;
|
|
2288
2401
|
custody: "server" | null;
|
|
2289
2402
|
walletId: string | null;
|
|
2290
2403
|
autoSweepEnabled: boolean;
|
|
@@ -2305,7 +2418,7 @@ type DeveloperAppProvisionWalletResponse = {
|
|
|
2305
2418
|
chain: string;
|
|
2306
2419
|
custody: "server";
|
|
2307
2420
|
walletId: string;
|
|
2308
|
-
address: string;
|
|
2421
|
+
address: string | string;
|
|
2309
2422
|
};
|
|
2310
2423
|
type DeveloperAppWithdrawResponse = {
|
|
2311
2424
|
appId: string;
|
|
@@ -2468,6 +2581,7 @@ type DeveloperAppItem = {
|
|
|
2468
2581
|
redirectUris: Array<string>;
|
|
2469
2582
|
embedOrigins: Array<EmbedOrigin>;
|
|
2470
2583
|
acceptedCurrencies: AcceptedCurrencies;
|
|
2584
|
+
acceptedNetworks: AcceptedNetworks;
|
|
2471
2585
|
payoutAddresses: Array<DeveloperAppPayoutAddressItem>;
|
|
2472
2586
|
keys: Array<DeveloperAppKeyItem>;
|
|
2473
2587
|
pendingProductionRequestId: string | null;
|
|
@@ -2701,6 +2815,7 @@ type AdminAppPageItem = {
|
|
|
2701
2815
|
bipStatus: "draft" | "pending_review" | "published" | "hidden";
|
|
2702
2816
|
bipFirstPublishedAt: string | null;
|
|
2703
2817
|
bipHiddenAt: string | null;
|
|
2818
|
+
openReportCount: number;
|
|
2704
2819
|
};
|
|
2705
2820
|
type AdminAppPageStatusResponse = {
|
|
2706
2821
|
status: "draft" | "pending_review" | "published" | "hidden";
|
|
@@ -2729,6 +2844,22 @@ type AdminAppPageDiffField = {
|
|
|
2729
2844
|
type AdminAppPageBipStatusResponse = {
|
|
2730
2845
|
bipStatus: "draft" | "pending_review" | "published" | "hidden";
|
|
2731
2846
|
};
|
|
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
|
+
};
|
|
2732
2863
|
type PlatformFeesResponse = {
|
|
2733
2864
|
purchaseFeeBps: number;
|
|
2734
2865
|
stakeFeeBps: number;
|
|
@@ -2909,6 +3040,13 @@ type AppealResolveRequest = {
|
|
|
2909
3040
|
decision: "refund" | "dismiss";
|
|
2910
3041
|
notes?: string;
|
|
2911
3042
|
};
|
|
3043
|
+
type PaymentRatesResponse = {
|
|
3044
|
+
asOf: string;
|
|
3045
|
+
ethUsd: number | null;
|
|
3046
|
+
solUsd: number | null;
|
|
3047
|
+
solLamportsPerCent: number | null;
|
|
3048
|
+
tronUsdPerToken: number;
|
|
3049
|
+
};
|
|
2912
3050
|
type AppealFileResponse = {
|
|
2913
3051
|
appealId: string;
|
|
2914
3052
|
paymentId: string;
|
|
@@ -2957,7 +3095,7 @@ type OauthPaymentPayoutRequest = {
|
|
|
2957
3095
|
metadata?: PaymentMetadata;
|
|
2958
3096
|
};
|
|
2959
3097
|
type OauthPaymentDistributeResponse = {
|
|
2960
|
-
distributionId
|
|
3098
|
+
distributionId?: string;
|
|
2961
3099
|
txHash: string;
|
|
2962
3100
|
blockNumber: string;
|
|
2963
3101
|
potId: string;
|
|
@@ -3150,6 +3288,19 @@ declare function resolveAppeal(context: TransportContext, input: {
|
|
|
3150
3288
|
readonly body: AppealResolveRequest;
|
|
3151
3289
|
}): Promise<AppealResolveSignedResponse>;
|
|
3152
3290
|
//#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
|
|
3153
3304
|
//#region src/admin/developers.d.ts
|
|
3154
3305
|
declare function listDeveloperRequests(context: TransportContext, input: {
|
|
3155
3306
|
readonly bearer: string;
|
|
@@ -3346,6 +3497,16 @@ declare function deleteBipUpdate(context: TransportContext, input: {
|
|
|
3346
3497
|
readonly appId: string;
|
|
3347
3498
|
readonly updateId: string;
|
|
3348
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>;
|
|
3349
3510
|
declare function uploadBipUpdateMedia(context: TransportContext, input: {
|
|
3350
3511
|
readonly bearer: string;
|
|
3351
3512
|
readonly appId: string;
|
|
@@ -3353,12 +3514,31 @@ declare function uploadBipUpdateMedia(context: TransportContext, input: {
|
|
|
3353
3514
|
readonly filename: string;
|
|
3354
3515
|
readonly contentType: string;
|
|
3355
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>;
|
|
3356
3535
|
//#endregion
|
|
3357
3536
|
//#region src/catalog/build-in-public.d.ts
|
|
3358
3537
|
declare function getBipDirectory(context: TransportContext, input: {
|
|
3359
3538
|
readonly bearer?: string;
|
|
3360
3539
|
readonly genre?: string;
|
|
3361
3540
|
readonly q?: string;
|
|
3541
|
+
readonly sort?: "newest" | "top";
|
|
3362
3542
|
readonly before?: string;
|
|
3363
3543
|
readonly limit?: number;
|
|
3364
3544
|
}): Promise<LibraryListResponse>;
|
|
@@ -3379,6 +3559,7 @@ declare function getLibrary(context: TransportContext, input: {
|
|
|
3379
3559
|
readonly bearer?: string;
|
|
3380
3560
|
readonly genre?: string;
|
|
3381
3561
|
readonly q?: string;
|
|
3562
|
+
readonly sort?: "newest" | "top";
|
|
3382
3563
|
readonly before?: string;
|
|
3383
3564
|
readonly limit?: number;
|
|
3384
3565
|
}): Promise<LibraryListResponse>;
|
|
@@ -3537,6 +3718,9 @@ declare function getPaymentHistory(context: TransportContext, input: {
|
|
|
3537
3718
|
readonly before?: string;
|
|
3538
3719
|
}): Promise<PaymentHistoryResponse>;
|
|
3539
3720
|
//#endregion
|
|
3721
|
+
//#region src/dashboard/rates.d.ts
|
|
3722
|
+
declare function getPaymentRates(context: TransportContext): Promise<PaymentRatesResponse>;
|
|
3723
|
+
//#endregion
|
|
3540
3724
|
//#region src/developer/api-keys.d.ts
|
|
3541
3725
|
declare function createDeveloperApiKey(context: TransportContext, input: {
|
|
3542
3726
|
readonly bearer: string;
|
|
@@ -4324,6 +4508,15 @@ declare function denyPaymentIntent(context: TransportContext, input: {
|
|
|
4324
4508
|
readonly bearer: string;
|
|
4325
4509
|
readonly intentId: string;
|
|
4326
4510
|
}): Promise<OauthPaymentIntentResolveResponse>;
|
|
4511
|
+
declare function preparePaymentIntentSolana(context: TransportContext, input: {
|
|
4512
|
+
readonly bearer: string;
|
|
4513
|
+
readonly intentId: string;
|
|
4514
|
+
}): Promise<OauthPaymentIntentSolanaPrepareResponse>;
|
|
4515
|
+
declare function completePaymentIntentSolana(context: TransportContext, input: {
|
|
4516
|
+
readonly bearer: string;
|
|
4517
|
+
readonly intentId: string;
|
|
4518
|
+
readonly body: OauthPaymentIntentSolanaCompleteRequest;
|
|
4519
|
+
}): Promise<OauthPaymentIntentResolveResponse>;
|
|
4327
4520
|
//#endregion
|
|
4328
4521
|
//#region src/payments/limits.d.ts
|
|
4329
4522
|
declare function getPaymentLimits(context: TransportContext, input: {
|
|
@@ -4834,4 +5027,4 @@ declare class TronNodeClient {
|
|
|
4834
5027
|
};
|
|
4835
5028
|
}
|
|
4836
5029
|
//#endregion
|
|
4837
|
-
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, 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, getBipPage, getDelegation, getDeveloperAppActivity, getDeveloperAppBalances, getDeveloperAppEarnings, getDeveloperAppInventoryItemHolders, getDeveloperAppOverview, getDeveloperAppPage, getDeveloperAppPlaytime, getDeveloperAppTronBalance, getDeveloperAppWallets, getDeveloperPaymentAppeals, getDeveloperPaymentPendingDeposits, getDeveloperStatus, getDeveloperTronBalanceSummary, getDmKeyBackupStatus, getIntentStatus, getLibrary, getMoonpayAvailability, getMyBipUpdateReactions, 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, 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, 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, setBipUpdateReaction, 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, 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 };
|
|
5030
|
+
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 };
|