@metatrongg/sdk 0.8.0-dev.1703dbe → 0.8.0-dev.17481b6
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 +209 -199
- package/dist/browser/index.js +1 -1
- package/dist/contracts/index.d.ts +141 -16
- package/dist/contracts/index.js +1 -1
- package/dist/index.js +1 -1
- package/dist/node/index.d.ts +221 -211
- package/dist/node/index.js +1 -1
- package/dist/react/index.d.ts +4 -4
- package/dist/react/index.js +1 -1
- package/dist/webhook/express.d.ts +3 -3
- package/dist/webhook/express.js +1 -1
- package/dist/webhook/fastify.d.ts +2 -2
- package/dist/webhook/fastify.js +1 -1
- package/dist/webhook/hono.d.ts +3 -3
- package/dist/webhook/hono.js +1 -1
- package/dist/webhook/index.js +1 -1
- package/package.json +12 -12
package/dist/browser/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import * as z from "zod";
|
|
|
2
2
|
|
|
3
3
|
//#region src/core/dedup.d.ts
|
|
4
4
|
type InflightDedup = {
|
|
5
|
-
readonly run: <T>(key: string,
|
|
5
|
+
readonly run: <T>(key: string, function_: () => Promise<T>) => Promise<T>;
|
|
6
6
|
};
|
|
7
7
|
declare function createInflightDedup(): InflightDedup;
|
|
8
8
|
//#endregion
|
|
@@ -773,6 +773,8 @@ type ActivityRowTronPot = {
|
|
|
773
773
|
role: "incoming" | "outgoing";
|
|
774
774
|
leg: "stake" | "payout" | "dev_cut" | "purchase" | "referral";
|
|
775
775
|
amountCents: number;
|
|
776
|
+
usdCents: number;
|
|
777
|
+
status: "settled";
|
|
776
778
|
app: {
|
|
777
779
|
id: string;
|
|
778
780
|
name: string;
|
|
@@ -780,8 +782,16 @@ type ActivityRowTronPot = {
|
|
|
780
782
|
slug: string | null;
|
|
781
783
|
bannerUrl: string | null;
|
|
782
784
|
} | null;
|
|
785
|
+
involvedUsers?: Array<ActivityTronInvolvedUser> | null;
|
|
783
786
|
metadata?: PaymentMetadata | null;
|
|
784
787
|
};
|
|
788
|
+
type ActivityTronInvolvedUser = {
|
|
789
|
+
userId: string;
|
|
790
|
+
handle: string | null;
|
|
791
|
+
displayName: string | null;
|
|
792
|
+
role: "stake" | "payout" | "dev_cut" | "purchase" | "referral";
|
|
793
|
+
amountCents: number;
|
|
794
|
+
};
|
|
785
795
|
type ActivityRowTronCashout = {
|
|
786
796
|
kind: "tron_cashout";
|
|
787
797
|
groupId: string | null;
|
|
@@ -2285,229 +2295,229 @@ type PostMeDeveloperAppsByAppIdPageThumbnailVideoResponses = {
|
|
|
2285
2295
|
type PostMeDeveloperAppsByAppIdPageThumbnailVideoResponse = PostMeDeveloperAppsByAppIdPageThumbnailVideoResponses[keyof PostMeDeveloperAppsByAppIdPageThumbnailVideoResponses];
|
|
2286
2296
|
//#endregion
|
|
2287
2297
|
//#region src/account/avatar.d.ts
|
|
2288
|
-
declare function uploadAvatar(
|
|
2298
|
+
declare function uploadAvatar(context: TransportContext, input: {
|
|
2289
2299
|
readonly bearer: string;
|
|
2290
2300
|
readonly file: Blob | ArrayBufferView | ArrayBuffer;
|
|
2291
2301
|
readonly filename: string;
|
|
2292
2302
|
readonly contentType: string;
|
|
2293
2303
|
}): Promise<AuthUser>;
|
|
2294
|
-
declare function deleteAvatar(
|
|
2304
|
+
declare function deleteAvatar(context: TransportContext, input: {
|
|
2295
2305
|
readonly bearer: string;
|
|
2296
2306
|
}): Promise<AuthUser>;
|
|
2297
2307
|
//#endregion
|
|
2298
2308
|
//#region src/account/giphy.d.ts
|
|
2299
|
-
declare function searchGiphy(
|
|
2309
|
+
declare function searchGiphy(context: TransportContext, input: {
|
|
2300
2310
|
readonly bearer: string;
|
|
2301
2311
|
readonly q: string;
|
|
2302
2312
|
}): Promise<GiphySearchResponse>;
|
|
2303
2313
|
//#endregion
|
|
2304
2314
|
//#region src/account/payment-authorizations.d.ts
|
|
2305
|
-
declare function listPaymentAuthorizations(
|
|
2315
|
+
declare function listPaymentAuthorizations(context: TransportContext, input: {
|
|
2306
2316
|
readonly bearer: string;
|
|
2307
2317
|
}): Promise<ListAppPaymentAuthorizationsResponse>;
|
|
2308
|
-
declare function updatePaymentAuthorization(
|
|
2318
|
+
declare function updatePaymentAuthorization(context: TransportContext, input: {
|
|
2309
2319
|
readonly bearer: string;
|
|
2310
2320
|
readonly consentId: string;
|
|
2311
2321
|
readonly body: UpdateAppPaymentAuthorization;
|
|
2312
2322
|
}): Promise<void>;
|
|
2313
|
-
declare function revokePaymentAuthorization(
|
|
2323
|
+
declare function revokePaymentAuthorization(context: TransportContext, input: {
|
|
2314
2324
|
readonly bearer: string;
|
|
2315
2325
|
readonly consentId: string;
|
|
2316
2326
|
}): Promise<void>;
|
|
2317
2327
|
//#endregion
|
|
2318
2328
|
//#region src/account/presence-heartbeat.d.ts
|
|
2319
|
-
declare function sendPresenceHeartbeat(
|
|
2329
|
+
declare function sendPresenceHeartbeat(context: TransportContext, input: {
|
|
2320
2330
|
readonly bearer: string;
|
|
2321
2331
|
}): Promise<WebPresenceHeartbeatAck>;
|
|
2322
2332
|
//#endregion
|
|
2323
2333
|
//#region src/account/profile.d.ts
|
|
2324
|
-
declare function updateProfile(
|
|
2334
|
+
declare function updateProfile(context: TransportContext, input: {
|
|
2325
2335
|
readonly bearer: string;
|
|
2326
2336
|
readonly body: ProfileUpdate;
|
|
2327
2337
|
}): Promise<AuthUser>;
|
|
2328
2338
|
//#endregion
|
|
2329
2339
|
//#region src/admin/active-players.d.ts
|
|
2330
|
-
declare function listActivePlayers(
|
|
2340
|
+
declare function listActivePlayers(context: TransportContext, input: {
|
|
2331
2341
|
readonly bearer: string;
|
|
2332
2342
|
}): Promise<AdminActivePlayersResponse>;
|
|
2333
2343
|
//#endregion
|
|
2334
2344
|
//#region src/admin/app-pages.d.ts
|
|
2335
|
-
declare function listAppPages(
|
|
2345
|
+
declare function listAppPages(context: TransportContext, input: {
|
|
2336
2346
|
readonly bearer: string;
|
|
2337
2347
|
readonly status?: "draft" | "pending_review" | "published" | "hidden" | "all" | "pending_changes";
|
|
2338
2348
|
}): Promise<AdminAppPageListResponse>;
|
|
2339
|
-
declare function getAppPageChanges(
|
|
2349
|
+
declare function getAppPageChanges(context: TransportContext, input: {
|
|
2340
2350
|
readonly bearer: string;
|
|
2341
2351
|
readonly appId: string;
|
|
2342
2352
|
}): Promise<AdminAppPageDiffResponse>;
|
|
2343
|
-
declare function reviewAppPageChanges(
|
|
2353
|
+
declare function reviewAppPageChanges(context: TransportContext, input: {
|
|
2344
2354
|
readonly bearer: string;
|
|
2345
2355
|
readonly appId: string;
|
|
2346
2356
|
readonly body: ReviewAppPage;
|
|
2347
2357
|
}): Promise<AdminAppPageStatusResponse>;
|
|
2348
|
-
declare function hideAppPage(
|
|
2358
|
+
declare function hideAppPage(context: TransportContext, input: {
|
|
2349
2359
|
readonly bearer: string;
|
|
2350
2360
|
readonly appId: string;
|
|
2351
2361
|
readonly body: HideAppPage;
|
|
2352
2362
|
}): Promise<AdminAppPageStatusResponse>;
|
|
2353
|
-
declare function unhideAppPage(
|
|
2363
|
+
declare function unhideAppPage(context: TransportContext, input: {
|
|
2354
2364
|
readonly bearer: string;
|
|
2355
2365
|
readonly appId: string;
|
|
2356
2366
|
}): Promise<AdminAppPageStatusResponse>;
|
|
2357
|
-
declare function reviewAppPage(
|
|
2367
|
+
declare function reviewAppPage(context: TransportContext, input: {
|
|
2358
2368
|
readonly bearer: string;
|
|
2359
2369
|
readonly appId: string;
|
|
2360
2370
|
readonly body: ReviewAppPage;
|
|
2361
2371
|
}): Promise<AdminAppPageStatusResponse>;
|
|
2362
2372
|
//#endregion
|
|
2363
2373
|
//#region src/admin/appeals.d.ts
|
|
2364
|
-
declare function listAppealQueue(
|
|
2374
|
+
declare function listAppealQueue(context: TransportContext, input: {
|
|
2365
2375
|
readonly bearer: string;
|
|
2366
2376
|
readonly statuses?: readonly AppealStatusRow["status"][];
|
|
2367
2377
|
readonly chain?: string;
|
|
2368
2378
|
readonly cursorFiledAt?: string;
|
|
2369
2379
|
readonly limit?: number;
|
|
2370
2380
|
}): Promise<ListAppealsResponse>;
|
|
2371
|
-
declare function getAdminAppealRoom(
|
|
2381
|
+
declare function getAdminAppealRoom(context: TransportContext, input: {
|
|
2372
2382
|
readonly bearer: string;
|
|
2373
2383
|
readonly appealId: string;
|
|
2374
2384
|
}): Promise<AppealRoomView>;
|
|
2375
|
-
declare function postAdminAppealRoomMessage(
|
|
2385
|
+
declare function postAdminAppealRoomMessage(context: TransportContext, input: {
|
|
2376
2386
|
readonly bearer: string;
|
|
2377
2387
|
readonly appealId: string;
|
|
2378
2388
|
readonly body: AppealRoomPostRequest;
|
|
2379
2389
|
}): Promise<AppealRoomPostResponse>;
|
|
2380
|
-
declare function uploadAdminAppealRoomAttachment(
|
|
2390
|
+
declare function uploadAdminAppealRoomAttachment(context: TransportContext, input: {
|
|
2381
2391
|
readonly bearer: string;
|
|
2382
2392
|
readonly appealId: string;
|
|
2383
2393
|
readonly file: Blob | ArrayBufferView | ArrayBuffer;
|
|
2384
2394
|
readonly filename: string;
|
|
2385
2395
|
readonly contentType: string;
|
|
2386
2396
|
}): Promise<UploadAttachmentResponse>;
|
|
2387
|
-
declare function resolveAppeal(
|
|
2397
|
+
declare function resolveAppeal(context: TransportContext, input: {
|
|
2388
2398
|
readonly bearer: string;
|
|
2389
2399
|
readonly appealId: string;
|
|
2390
2400
|
readonly body: AppealResolveRequest;
|
|
2391
2401
|
}): Promise<AppealResolveSignedResponse>;
|
|
2392
2402
|
//#endregion
|
|
2393
2403
|
//#region src/admin/developers.d.ts
|
|
2394
|
-
declare function listDeveloperRequests(
|
|
2404
|
+
declare function listDeveloperRequests(context: TransportContext, input: {
|
|
2395
2405
|
readonly bearer: string;
|
|
2396
2406
|
readonly status?: "pending" | "approved" | "rejected" | "cancelled";
|
|
2397
2407
|
readonly kind?: "role" | "production";
|
|
2398
2408
|
}): Promise<ListDeveloperRequestsResponse>;
|
|
2399
|
-
declare function reviewDeveloperRequest(
|
|
2409
|
+
declare function reviewDeveloperRequest(context: TransportContext, input: {
|
|
2400
2410
|
readonly bearer: string;
|
|
2401
2411
|
readonly id: string;
|
|
2402
2412
|
readonly body: ReviewDeveloperRequest;
|
|
2403
2413
|
}): Promise<ReviewDeveloperRequestResponse>;
|
|
2404
|
-
declare function listDevelopers(
|
|
2414
|
+
declare function listDevelopers(context: TransportContext, input: {
|
|
2405
2415
|
readonly bearer: string;
|
|
2406
2416
|
}): Promise<AdminDeveloperListResponse>;
|
|
2407
2417
|
//#endregion
|
|
2408
2418
|
//#region src/admin/payments.d.ts
|
|
2409
|
-
declare function getPlatformFees(
|
|
2419
|
+
declare function getPlatformFees(context: TransportContext, input: {
|
|
2410
2420
|
readonly bearer: string;
|
|
2411
2421
|
}): Promise<PlatformFeesResponse>;
|
|
2412
|
-
declare function updatePlatformFees(
|
|
2422
|
+
declare function updatePlatformFees(context: TransportContext, input: {
|
|
2413
2423
|
readonly bearer: string;
|
|
2414
2424
|
readonly body: UpdatePlatformFeesRequest;
|
|
2415
2425
|
}): Promise<UpdatePlatformFeesResponse>;
|
|
2416
|
-
declare function getAppFeeConfig(
|
|
2426
|
+
declare function getAppFeeConfig(context: TransportContext, input: {
|
|
2417
2427
|
readonly bearer: string;
|
|
2418
2428
|
readonly appId: string;
|
|
2419
2429
|
}): Promise<AppFeeConfigResponse>;
|
|
2420
|
-
declare function updateAppFeeConfig(
|
|
2430
|
+
declare function updateAppFeeConfig(context: TransportContext, input: {
|
|
2421
2431
|
readonly bearer: string;
|
|
2422
2432
|
readonly appId: string;
|
|
2423
2433
|
readonly body: UpdateAppFeeConfigRequest;
|
|
2424
2434
|
}): Promise<AppFeeConfigResponse>;
|
|
2425
|
-
declare function setProcessorWhitelist(
|
|
2435
|
+
declare function setProcessorWhitelist(context: TransportContext, input: {
|
|
2426
2436
|
readonly bearer: string;
|
|
2427
2437
|
readonly body: SetProcessorWhitelistRequest;
|
|
2428
2438
|
}): Promise<CalldataEnvelope>;
|
|
2429
|
-
declare function rotateProcessorTreasury(
|
|
2439
|
+
declare function rotateProcessorTreasury(context: TransportContext, input: {
|
|
2430
2440
|
readonly bearer: string;
|
|
2431
2441
|
readonly processorId: string;
|
|
2432
2442
|
readonly body: RotateProcessorTreasuryRequest;
|
|
2433
2443
|
}): Promise<CalldataEnvelope>;
|
|
2434
|
-
declare function setVaultOperator(
|
|
2444
|
+
declare function setVaultOperator(context: TransportContext, input: {
|
|
2435
2445
|
readonly bearer: string;
|
|
2436
2446
|
readonly vaultAddress: string;
|
|
2437
2447
|
readonly body: SetOperatorRequest;
|
|
2438
2448
|
}): Promise<CalldataEnvelope>;
|
|
2439
|
-
declare function setVaultPause(
|
|
2449
|
+
declare function setVaultPause(context: TransportContext, input: {
|
|
2440
2450
|
readonly bearer: string;
|
|
2441
2451
|
readonly vaultAddress: string;
|
|
2442
2452
|
readonly body: PauseRequest;
|
|
2443
2453
|
}): Promise<CalldataEnvelope>;
|
|
2444
|
-
declare function setVaultWithdrawLockDefault(
|
|
2454
|
+
declare function setVaultWithdrawLockDefault(context: TransportContext, input: {
|
|
2445
2455
|
readonly bearer: string;
|
|
2446
2456
|
readonly vaultAddress: string;
|
|
2447
2457
|
readonly body: SetDefaultWithdrawLockRequest;
|
|
2448
2458
|
}): Promise<CalldataEnvelope>;
|
|
2449
|
-
declare function setVaultWithdrawLockOverride(
|
|
2459
|
+
declare function setVaultWithdrawLockOverride(context: TransportContext, input: {
|
|
2450
2460
|
readonly bearer: string;
|
|
2451
2461
|
readonly vaultAddress: string;
|
|
2452
2462
|
readonly body: SetWithdrawLockOverrideRequest;
|
|
2453
2463
|
}): Promise<CalldataEnvelope>;
|
|
2454
|
-
declare function addAppealBlacklist(
|
|
2464
|
+
declare function addAppealBlacklist(context: TransportContext, input: {
|
|
2455
2465
|
readonly bearer: string;
|
|
2456
2466
|
readonly body: AppealBlacklistAddRequest;
|
|
2457
2467
|
}): Promise<AppealBlacklistEntry>;
|
|
2458
|
-
declare function removeAppealBlacklist(
|
|
2468
|
+
declare function removeAppealBlacklist(context: TransportContext, input: {
|
|
2459
2469
|
readonly bearer: string;
|
|
2460
2470
|
readonly body: AppealBlacklistRemoveRequest;
|
|
2461
2471
|
}): Promise<AppealBlacklistRemoveResponse>;
|
|
2462
|
-
declare function listAppealBlacklist(
|
|
2472
|
+
declare function listAppealBlacklist(context: TransportContext, input: {
|
|
2463
2473
|
readonly bearer: string;
|
|
2464
2474
|
readonly chain?: string;
|
|
2465
2475
|
}): Promise<AppealBlacklistListResponse>;
|
|
2466
2476
|
//#endregion
|
|
2467
2477
|
//#region src/admin/tron-cashouts.d.ts
|
|
2468
|
-
declare function listTronCashoutQueue(
|
|
2478
|
+
declare function listTronCashoutQueue(context: TransportContext, input: {
|
|
2469
2479
|
readonly bearer: string;
|
|
2470
2480
|
readonly status?: AdminTronCashoutItem["status"];
|
|
2471
2481
|
}): Promise<AdminTronCashoutListResponse>;
|
|
2472
|
-
declare function approveTronCashout(
|
|
2482
|
+
declare function approveTronCashout(context: TransportContext, input: {
|
|
2473
2483
|
readonly bearer: string;
|
|
2474
2484
|
readonly id: string;
|
|
2475
2485
|
}): Promise<AdminTronCashoutItem>;
|
|
2476
|
-
declare function rejectTronCashout(
|
|
2486
|
+
declare function rejectTronCashout(context: TransportContext, input: {
|
|
2477
2487
|
readonly bearer: string;
|
|
2478
2488
|
readonly id: string;
|
|
2479
2489
|
readonly body: AdminTronCashoutRejectRequest;
|
|
2480
2490
|
}): Promise<AdminTronCashoutItem>;
|
|
2481
2491
|
//#endregion
|
|
2482
2492
|
//#region src/admin/users.d.ts
|
|
2483
|
-
declare function listAdmins(
|
|
2493
|
+
declare function listAdmins(context: TransportContext, input: {
|
|
2484
2494
|
readonly bearer: string;
|
|
2485
2495
|
}): Promise<ListAdminsResponse>;
|
|
2486
|
-
declare function addAdmin(
|
|
2496
|
+
declare function addAdmin(context: TransportContext, input: {
|
|
2487
2497
|
readonly bearer: string;
|
|
2488
2498
|
readonly body: AddAdminRequest;
|
|
2489
2499
|
}): Promise<AdminMutationResponse>;
|
|
2490
|
-
declare function updateAdminRole(
|
|
2500
|
+
declare function updateAdminRole(context: TransportContext, input: {
|
|
2491
2501
|
readonly bearer: string;
|
|
2492
2502
|
readonly id: string;
|
|
2493
2503
|
readonly body: UpdateAdminRoleRequest;
|
|
2494
2504
|
}): Promise<AdminRoleChangeResponse>;
|
|
2495
|
-
declare function removeAdmin(
|
|
2505
|
+
declare function removeAdmin(context: TransportContext, input: {
|
|
2496
2506
|
readonly bearer: string;
|
|
2497
2507
|
readonly id: string;
|
|
2498
2508
|
}): Promise<AdminMutationResponse>;
|
|
2499
|
-
declare function listUsers(
|
|
2509
|
+
declare function listUsers(context: TransportContext, input: {
|
|
2500
2510
|
readonly bearer: string;
|
|
2501
2511
|
readonly search?: string;
|
|
2502
2512
|
readonly offset?: number;
|
|
2503
2513
|
readonly limit?: number;
|
|
2504
2514
|
}): Promise<AdminUserListResponse>;
|
|
2505
|
-
declare function updateUserBan(
|
|
2515
|
+
declare function updateUserBan(context: TransportContext, input: {
|
|
2506
2516
|
readonly bearer: string;
|
|
2507
2517
|
readonly id: string;
|
|
2508
2518
|
readonly body: AdminUserBanRequest;
|
|
2509
2519
|
}): Promise<AdminUserBanResponse>;
|
|
2510
|
-
declare function listAudit(
|
|
2520
|
+
declare function listAudit(context: TransportContext, input: {
|
|
2511
2521
|
readonly bearer: string;
|
|
2512
2522
|
readonly action?: string;
|
|
2513
2523
|
readonly actorId?: string;
|
|
@@ -2518,20 +2528,20 @@ declare function listAudit(ctx: TransportContext, input: {
|
|
|
2518
2528
|
}): Promise<AdminAuditListResponse>;
|
|
2519
2529
|
//#endregion
|
|
2520
2530
|
//#region src/catalog/app-page.d.ts
|
|
2521
|
-
declare function getAppPage(
|
|
2531
|
+
declare function getAppPage(context: TransportContext, input: {
|
|
2522
2532
|
readonly bearer?: string;
|
|
2523
2533
|
readonly slug: string;
|
|
2524
2534
|
}): Promise<PublicAppPage>;
|
|
2525
2535
|
//#endregion
|
|
2526
2536
|
//#region src/catalog/content-reports.d.ts
|
|
2527
|
-
declare function submitAppContentReport(
|
|
2537
|
+
declare function submitAppContentReport(context: TransportContext, input: {
|
|
2528
2538
|
readonly appId: string;
|
|
2529
2539
|
readonly bearer: string;
|
|
2530
2540
|
readonly report: SubmitAppContentReportRequest;
|
|
2531
2541
|
}): Promise<SubmitAppContentReportResponse>;
|
|
2532
2542
|
//#endregion
|
|
2533
2543
|
//#region src/catalog/library.d.ts
|
|
2534
|
-
declare function getLibrary(
|
|
2544
|
+
declare function getLibrary(context: TransportContext, input: {
|
|
2535
2545
|
readonly bearer?: string;
|
|
2536
2546
|
readonly genre?: string;
|
|
2537
2547
|
readonly q?: string;
|
|
@@ -2540,40 +2550,40 @@ declare function getLibrary(ctx: TransportContext, input: {
|
|
|
2540
2550
|
}): Promise<LibraryListResponse>;
|
|
2541
2551
|
//#endregion
|
|
2542
2552
|
//#region src/catalog/reviews.d.ts
|
|
2543
|
-
declare function listGameReviews(
|
|
2553
|
+
declare function listGameReviews(context: TransportContext, input: {
|
|
2544
2554
|
readonly slug: string;
|
|
2545
2555
|
readonly bearer?: string;
|
|
2546
2556
|
readonly sort?: ReviewSort;
|
|
2547
2557
|
readonly limit?: number;
|
|
2548
2558
|
readonly offset?: number;
|
|
2549
2559
|
}): Promise<ReviewListResponse>;
|
|
2550
|
-
declare function listDeveloperAppReviews(
|
|
2560
|
+
declare function listDeveloperAppReviews(context: TransportContext, input: {
|
|
2551
2561
|
readonly appId: string;
|
|
2552
2562
|
readonly bearer: string;
|
|
2553
2563
|
readonly sort?: ReviewSort;
|
|
2554
2564
|
readonly limit?: number;
|
|
2555
2565
|
readonly offset?: number;
|
|
2556
2566
|
}): Promise<ReviewListResponse>;
|
|
2557
|
-
declare function getMyGameReview(
|
|
2567
|
+
declare function getMyGameReview(context: TransportContext, input: {
|
|
2558
2568
|
readonly slug: string;
|
|
2559
2569
|
readonly bearer: string;
|
|
2560
2570
|
}): Promise<MyReviewResponse>;
|
|
2561
|
-
declare function upsertMyGameReview(
|
|
2571
|
+
declare function upsertMyGameReview(context: TransportContext, input: {
|
|
2562
2572
|
readonly slug: string;
|
|
2563
2573
|
readonly bearer: string;
|
|
2564
2574
|
readonly review: UpsertReviewRequest;
|
|
2565
2575
|
}): Promise<MyReviewResponse>;
|
|
2566
|
-
declare function deleteMyGameReview(
|
|
2576
|
+
declare function deleteMyGameReview(context: TransportContext, input: {
|
|
2567
2577
|
readonly slug: string;
|
|
2568
2578
|
readonly bearer: string;
|
|
2569
2579
|
}): Promise<MyReviewResponse>;
|
|
2570
|
-
declare function replyToGameReview(
|
|
2580
|
+
declare function replyToGameReview(context: TransportContext, input: {
|
|
2571
2581
|
readonly appId: string;
|
|
2572
2582
|
readonly reviewId: string;
|
|
2573
2583
|
readonly bearer: string;
|
|
2574
2584
|
readonly reply: UpsertReviewReplyRequest;
|
|
2575
2585
|
}): Promise<ReviewReplyResponse>;
|
|
2576
|
-
declare function deleteGameReviewReply(
|
|
2586
|
+
declare function deleteGameReviewReply(context: TransportContext, input: {
|
|
2577
2587
|
readonly appId: string;
|
|
2578
2588
|
readonly reviewId: string;
|
|
2579
2589
|
readonly bearer: string;
|
|
@@ -2617,7 +2627,7 @@ declare function createConsoleLogger(prefix?: string): Logger;
|
|
|
2617
2627
|
declare function createInMemoryTokenStore(): TokenStore;
|
|
2618
2628
|
//#endregion
|
|
2619
2629
|
//#region src/dashboard/activity.d.ts
|
|
2620
|
-
declare function getActivity(
|
|
2630
|
+
declare function getActivity(context: TransportContext, input: {
|
|
2621
2631
|
readonly bearer: string;
|
|
2622
2632
|
readonly kind?: string;
|
|
2623
2633
|
readonly direction?: "outgoing" | "incoming";
|
|
@@ -2628,24 +2638,24 @@ declare function getActivity(ctx: TransportContext, input: {
|
|
|
2628
2638
|
readonly before?: string;
|
|
2629
2639
|
readonly includeInactive?: boolean;
|
|
2630
2640
|
}): Promise<ActivityResponse>;
|
|
2631
|
-
declare function getActivityGroup(
|
|
2641
|
+
declare function getActivityGroup(context: TransportContext, input: {
|
|
2632
2642
|
readonly bearer: string;
|
|
2633
2643
|
readonly groupId: string;
|
|
2634
2644
|
}): Promise<ActivityResponse>;
|
|
2635
2645
|
//#endregion
|
|
2636
2646
|
//#region src/dashboard/chains.d.ts
|
|
2637
|
-
declare function getPaymentChains(
|
|
2647
|
+
declare function getPaymentChains(context: TransportContext, input: {
|
|
2638
2648
|
readonly bearer: string;
|
|
2639
2649
|
}): Promise<PaymentChainsResponse>;
|
|
2640
2650
|
//#endregion
|
|
2641
2651
|
//#region src/dashboard/outstanding.d.ts
|
|
2642
|
-
declare function getOutstanding(
|
|
2652
|
+
declare function getOutstanding(context: TransportContext, input: {
|
|
2643
2653
|
readonly bearer: string;
|
|
2644
2654
|
readonly chain?: string;
|
|
2645
2655
|
}): Promise<OutstandingResponse>;
|
|
2646
2656
|
//#endregion
|
|
2647
2657
|
//#region src/dashboard/payment-history.d.ts
|
|
2648
|
-
declare function getPaymentHistory(
|
|
2658
|
+
declare function getPaymentHistory(context: TransportContext, input: {
|
|
2649
2659
|
readonly bearer: string;
|
|
2650
2660
|
readonly status?: "pending" | "completed" | "expired" | "all";
|
|
2651
2661
|
readonly limit?: number;
|
|
@@ -2653,52 +2663,52 @@ declare function getPaymentHistory(ctx: TransportContext, input: {
|
|
|
2653
2663
|
}): Promise<PaymentHistoryResponse>;
|
|
2654
2664
|
//#endregion
|
|
2655
2665
|
//#region src/developer/api-keys.d.ts
|
|
2656
|
-
declare function createDeveloperApiKey(
|
|
2666
|
+
declare function createDeveloperApiKey(context: TransportContext, input: {
|
|
2657
2667
|
readonly bearer: string;
|
|
2658
2668
|
readonly body: CreateDeveloperApiKey;
|
|
2659
2669
|
}): Promise<CreateDeveloperApiKeyResponse>;
|
|
2660
|
-
declare function listDeveloperApiKeys(
|
|
2670
|
+
declare function listDeveloperApiKeys(context: TransportContext, input: {
|
|
2661
2671
|
readonly bearer: string;
|
|
2662
2672
|
}): Promise<DeveloperApiKeysResponse>;
|
|
2663
|
-
declare function revokeDeveloperApiKey(
|
|
2673
|
+
declare function revokeDeveloperApiKey(context: TransportContext, input: {
|
|
2664
2674
|
readonly bearer: string;
|
|
2665
2675
|
readonly id: string;
|
|
2666
2676
|
}): Promise<DeveloperOkResponse>;
|
|
2667
2677
|
//#endregion
|
|
2668
2678
|
//#region src/developer/apps.d.ts
|
|
2669
|
-
declare function createDeveloperApp(
|
|
2679
|
+
declare function createDeveloperApp(context: TransportContext, input: {
|
|
2670
2680
|
readonly bearer: string;
|
|
2671
2681
|
readonly body: CreateDeveloperApp;
|
|
2672
2682
|
}): Promise<DeveloperAppIdResponse>;
|
|
2673
|
-
declare function updateDeveloperApp(
|
|
2683
|
+
declare function updateDeveloperApp(context: TransportContext, input: {
|
|
2674
2684
|
readonly bearer: string;
|
|
2675
2685
|
readonly id: string;
|
|
2676
2686
|
readonly body: UpdateDeveloperApp;
|
|
2677
2687
|
}): Promise<DeveloperAppIdResponse>;
|
|
2678
|
-
declare function deleteDeveloperApp(
|
|
2688
|
+
declare function deleteDeveloperApp(context: TransportContext, input: {
|
|
2679
2689
|
readonly bearer: string;
|
|
2680
2690
|
readonly id: string;
|
|
2681
2691
|
}): Promise<DeveloperAppIdResponse>;
|
|
2682
|
-
declare function uploadDeveloperAppLogo(
|
|
2692
|
+
declare function uploadDeveloperAppLogo(context: TransportContext, input: {
|
|
2683
2693
|
readonly bearer: string;
|
|
2684
2694
|
readonly id: string;
|
|
2685
2695
|
readonly file: Blob | ArrayBufferView | ArrayBuffer;
|
|
2686
2696
|
readonly filename: string;
|
|
2687
2697
|
readonly contentType: string;
|
|
2688
2698
|
}): Promise<DeveloperLogoUploadResponse>;
|
|
2689
|
-
declare function deleteDeveloperAppLogo(
|
|
2699
|
+
declare function deleteDeveloperAppLogo(context: TransportContext, input: {
|
|
2690
2700
|
readonly bearer: string;
|
|
2691
2701
|
readonly id: string;
|
|
2692
2702
|
}): Promise<DeveloperLogoUploadResponse>;
|
|
2693
|
-
declare function getDeveloperAppBalances(
|
|
2703
|
+
declare function getDeveloperAppBalances(context: TransportContext, input: {
|
|
2694
2704
|
readonly bearer: string;
|
|
2695
2705
|
readonly id: string;
|
|
2696
2706
|
}): Promise<DeveloperAppBalancesResponse>;
|
|
2697
|
-
declare function getDeveloperAppTronBalance(
|
|
2707
|
+
declare function getDeveloperAppTronBalance(context: TransportContext, input: {
|
|
2698
2708
|
readonly bearer: string;
|
|
2699
2709
|
readonly id: string;
|
|
2700
2710
|
}): Promise<DeveloperAppTronBalanceResponse>;
|
|
2701
|
-
declare function getDeveloperAppActivity(
|
|
2711
|
+
declare function getDeveloperAppActivity(context: TransportContext, input: {
|
|
2702
2712
|
readonly bearer: string;
|
|
2703
2713
|
readonly id: string;
|
|
2704
2714
|
readonly kind?: string;
|
|
@@ -2709,80 +2719,80 @@ declare function getDeveloperAppActivity(ctx: TransportContext, input: {
|
|
|
2709
2719
|
readonly cursor?: string;
|
|
2710
2720
|
readonly before?: string;
|
|
2711
2721
|
}): Promise<ActivityResponse>;
|
|
2712
|
-
declare function getDeveloperAppEarnings(
|
|
2722
|
+
declare function getDeveloperAppEarnings(context: TransportContext, input: {
|
|
2713
2723
|
readonly bearer: string;
|
|
2714
2724
|
readonly id: string;
|
|
2715
2725
|
readonly range?: string;
|
|
2716
2726
|
readonly chain?: string;
|
|
2717
2727
|
}): Promise<DeveloperAppEarningsResponse>;
|
|
2718
|
-
declare function getDeveloperAppPlaytime(
|
|
2728
|
+
declare function getDeveloperAppPlaytime(context: TransportContext, input: {
|
|
2719
2729
|
readonly bearer: string;
|
|
2720
2730
|
readonly id: string;
|
|
2721
2731
|
readonly range?: string;
|
|
2722
2732
|
}): Promise<DeveloperAppPlaytimeResponse>;
|
|
2723
|
-
declare function getDeveloperAppOverview(
|
|
2733
|
+
declare function getDeveloperAppOverview(context: TransportContext, input: {
|
|
2724
2734
|
readonly bearer: string;
|
|
2725
2735
|
readonly id: string;
|
|
2726
2736
|
}): Promise<DeveloperAppOverviewResponse>;
|
|
2727
|
-
declare function getDeveloperAppWallets(
|
|
2737
|
+
declare function getDeveloperAppWallets(context: TransportContext, input: {
|
|
2728
2738
|
readonly bearer: string;
|
|
2729
2739
|
readonly id: string;
|
|
2730
2740
|
}): Promise<DeveloperAppWalletsResponse>;
|
|
2731
|
-
declare function updateDeveloperAppAutoSweep(
|
|
2741
|
+
declare function updateDeveloperAppAutoSweep(context: TransportContext, input: {
|
|
2732
2742
|
readonly bearer: string;
|
|
2733
2743
|
readonly id: string;
|
|
2734
2744
|
readonly chain: string;
|
|
2735
2745
|
readonly body: DeveloperAppAutoSweepRequest;
|
|
2736
2746
|
}): Promise<DeveloperAppAutoSweepResponse>;
|
|
2737
|
-
declare function provisionDeveloperAppWallet(
|
|
2747
|
+
declare function provisionDeveloperAppWallet(context: TransportContext, input: {
|
|
2738
2748
|
readonly bearer: string;
|
|
2739
2749
|
readonly id: string;
|
|
2740
2750
|
readonly chain: string;
|
|
2741
2751
|
}): Promise<DeveloperAppProvisionWalletResponse>;
|
|
2742
|
-
declare function withdrawDeveloperAppWallet(
|
|
2752
|
+
declare function withdrawDeveloperAppWallet(context: TransportContext, input: {
|
|
2743
2753
|
readonly bearer: string;
|
|
2744
2754
|
readonly id: string;
|
|
2745
2755
|
readonly chain: string;
|
|
2746
2756
|
readonly token?: string;
|
|
2747
2757
|
}): Promise<DeveloperAppWithdrawResponse>;
|
|
2748
|
-
declare function consolidateDeveloperAppWallet(
|
|
2758
|
+
declare function consolidateDeveloperAppWallet(context: TransportContext, input: {
|
|
2749
2759
|
readonly bearer: string;
|
|
2750
2760
|
readonly id: string;
|
|
2751
2761
|
readonly chain: string;
|
|
2752
2762
|
}): Promise<DeveloperAppConsolidateResponse>;
|
|
2753
|
-
declare function rotateDeveloperAppKey(
|
|
2763
|
+
declare function rotateDeveloperAppKey(context: TransportContext, input: {
|
|
2754
2764
|
readonly bearer: string;
|
|
2755
2765
|
readonly id: string;
|
|
2756
2766
|
readonly env: "development" | "production";
|
|
2757
2767
|
}): Promise<RegenerateDeveloperAppKeyResponse>;
|
|
2758
|
-
declare function requestDeveloperAppProduction(
|
|
2768
|
+
declare function requestDeveloperAppProduction(context: TransportContext, input: {
|
|
2759
2769
|
readonly bearer: string;
|
|
2760
2770
|
readonly id: string;
|
|
2761
2771
|
readonly body: CreateDeveloperProductionRequest;
|
|
2762
2772
|
}): Promise<CreateDeveloperProductionRequestResponse>;
|
|
2763
|
-
declare function rotateDeveloperAppPaymentWebhookSecret(
|
|
2773
|
+
declare function rotateDeveloperAppPaymentWebhookSecret(context: TransportContext, input: {
|
|
2764
2774
|
readonly bearer: string;
|
|
2765
2775
|
readonly id: string;
|
|
2766
2776
|
}): Promise<RegenerateDeveloperAppWebhookSecretResponse>;
|
|
2767
|
-
declare function getDeveloperPaymentAppeals(
|
|
2777
|
+
declare function getDeveloperPaymentAppeals(context: TransportContext, input: {
|
|
2768
2778
|
readonly bearer: string;
|
|
2769
2779
|
readonly chain?: string;
|
|
2770
2780
|
}): Promise<DevAppealsResponse>;
|
|
2771
|
-
declare function getDeveloperPaymentPendingDeposits(
|
|
2781
|
+
declare function getDeveloperPaymentPendingDeposits(context: TransportContext, input: {
|
|
2772
2782
|
readonly bearer: string;
|
|
2773
2783
|
readonly chain?: string;
|
|
2774
2784
|
}): Promise<DevPendingDepositsResponse>;
|
|
2775
|
-
declare function getDeveloperTronBalanceSummary(
|
|
2785
|
+
declare function getDeveloperTronBalanceSummary(context: TransportContext, input: {
|
|
2776
2786
|
readonly bearer: string;
|
|
2777
2787
|
}): Promise<DeveloperTronBalanceSummaryResponse>;
|
|
2778
|
-
declare function listDeveloperAppContentReports(
|
|
2788
|
+
declare function listDeveloperAppContentReports(context: TransportContext, input: {
|
|
2779
2789
|
readonly bearer: string;
|
|
2780
2790
|
readonly id: string;
|
|
2781
2791
|
readonly status?: AppContentReportStatus;
|
|
2782
2792
|
readonly limit?: number;
|
|
2783
2793
|
readonly offset?: number;
|
|
2784
2794
|
}): Promise<AppContentReportListResponse>;
|
|
2785
|
-
declare function updateDeveloperAppContentReportStatus(
|
|
2795
|
+
declare function updateDeveloperAppContentReportStatus(context: TransportContext, input: {
|
|
2786
2796
|
readonly bearer: string;
|
|
2787
2797
|
readonly id: string;
|
|
2788
2798
|
readonly reportId: string;
|
|
@@ -2790,122 +2800,122 @@ declare function updateDeveloperAppContentReportStatus(ctx: TransportContext, in
|
|
|
2790
2800
|
}): Promise<AppContentReport>;
|
|
2791
2801
|
//#endregion
|
|
2792
2802
|
//#region src/developer/pages.d.ts
|
|
2793
|
-
declare function getDeveloperAppPage(
|
|
2803
|
+
declare function getDeveloperAppPage(context: TransportContext, input: {
|
|
2794
2804
|
readonly bearer: string;
|
|
2795
2805
|
readonly appId: string;
|
|
2796
2806
|
}): Promise<AppPageDraft>;
|
|
2797
|
-
declare function updateAppPage(
|
|
2807
|
+
declare function updateAppPage(context: TransportContext, input: {
|
|
2798
2808
|
readonly bearer: string;
|
|
2799
2809
|
readonly appId: string;
|
|
2800
2810
|
readonly body: UpdateAppPage;
|
|
2801
2811
|
}): Promise<AppPageDraft>;
|
|
2802
|
-
declare function uploadAppPageBanner(
|
|
2812
|
+
declare function uploadAppPageBanner(context: TransportContext, input: {
|
|
2803
2813
|
readonly bearer: string;
|
|
2804
2814
|
readonly appId: string;
|
|
2805
2815
|
readonly file: Blob | ArrayBufferView | ArrayBuffer;
|
|
2806
2816
|
readonly filename: string;
|
|
2807
2817
|
readonly contentType: string;
|
|
2808
2818
|
}): Promise<PostMeDeveloperAppsByAppIdPageBannerResponse>;
|
|
2809
|
-
declare function deleteAppPageBanner(
|
|
2819
|
+
declare function deleteAppPageBanner(context: TransportContext, input: {
|
|
2810
2820
|
readonly bearer: string;
|
|
2811
2821
|
readonly appId: string;
|
|
2812
2822
|
}): Promise<void>;
|
|
2813
|
-
declare function uploadAppPageThumbnail(
|
|
2823
|
+
declare function uploadAppPageThumbnail(context: TransportContext, input: {
|
|
2814
2824
|
readonly bearer: string;
|
|
2815
2825
|
readonly appId: string;
|
|
2816
2826
|
readonly file: Blob | ArrayBufferView | ArrayBuffer;
|
|
2817
2827
|
readonly filename: string;
|
|
2818
2828
|
readonly contentType: string;
|
|
2819
2829
|
}): Promise<PostMeDeveloperAppsByAppIdPageThumbnailResponse>;
|
|
2820
|
-
declare function deleteAppPageThumbnail(
|
|
2830
|
+
declare function deleteAppPageThumbnail(context: TransportContext, input: {
|
|
2821
2831
|
readonly bearer: string;
|
|
2822
2832
|
readonly appId: string;
|
|
2823
2833
|
}): Promise<void>;
|
|
2824
|
-
declare function uploadAppPageThumbnailVideo(
|
|
2834
|
+
declare function uploadAppPageThumbnailVideo(context: TransportContext, input: {
|
|
2825
2835
|
readonly bearer: string;
|
|
2826
2836
|
readonly appId: string;
|
|
2827
2837
|
readonly file: Blob | ArrayBufferView | ArrayBuffer;
|
|
2828
2838
|
readonly filename: string;
|
|
2829
2839
|
readonly contentType: string;
|
|
2830
2840
|
}): Promise<PostMeDeveloperAppsByAppIdPageThumbnailVideoResponse>;
|
|
2831
|
-
declare function deleteAppPageThumbnailVideo(
|
|
2841
|
+
declare function deleteAppPageThumbnailVideo(context: TransportContext, input: {
|
|
2832
2842
|
readonly bearer: string;
|
|
2833
2843
|
readonly appId: string;
|
|
2834
2844
|
}): Promise<void>;
|
|
2835
|
-
declare function uploadAppPageGallery(
|
|
2845
|
+
declare function uploadAppPageGallery(context: TransportContext, input: {
|
|
2836
2846
|
readonly bearer: string;
|
|
2837
2847
|
readonly appId: string;
|
|
2838
2848
|
readonly file: Blob | ArrayBufferView | ArrayBuffer;
|
|
2839
2849
|
readonly filename: string;
|
|
2840
2850
|
readonly contentType: string;
|
|
2841
2851
|
}): Promise<AppPageGalleryUploadResponse>;
|
|
2842
|
-
declare function submitAppPageForReview(
|
|
2852
|
+
declare function submitAppPageForReview(context: TransportContext, input: {
|
|
2843
2853
|
readonly bearer: string;
|
|
2844
2854
|
readonly appId: string;
|
|
2845
2855
|
}): Promise<AppPageDraft>;
|
|
2846
|
-
declare function unpublishAppPage(
|
|
2856
|
+
declare function unpublishAppPage(context: TransportContext, input: {
|
|
2847
2857
|
readonly bearer: string;
|
|
2848
2858
|
readonly appId: string;
|
|
2849
2859
|
}): Promise<AppPageDraft>;
|
|
2850
2860
|
//#endregion
|
|
2851
2861
|
//#region src/developer/participants.d.ts
|
|
2852
|
-
declare function listDeveloperAppParticipants(
|
|
2862
|
+
declare function listDeveloperAppParticipants(context: TransportContext, input: {
|
|
2853
2863
|
readonly bearer: string;
|
|
2854
2864
|
readonly id: string;
|
|
2855
2865
|
}): Promise<DeveloperAppParticipantsResponse>;
|
|
2856
|
-
declare function inviteDeveloperAppParticipant(
|
|
2866
|
+
declare function inviteDeveloperAppParticipant(context: TransportContext, input: {
|
|
2857
2867
|
readonly bearer: string;
|
|
2858
2868
|
readonly id: string;
|
|
2859
2869
|
readonly body: InviteDeveloperAppParticipant;
|
|
2860
2870
|
}): Promise<DeveloperAppParticipantsResponse>;
|
|
2861
|
-
declare function revokeDeveloperAppParticipant(
|
|
2871
|
+
declare function revokeDeveloperAppParticipant(context: TransportContext, input: {
|
|
2862
2872
|
readonly bearer: string;
|
|
2863
2873
|
readonly id: string;
|
|
2864
2874
|
readonly userId: string;
|
|
2865
2875
|
}): Promise<DeveloperOkResponse>;
|
|
2866
|
-
declare function listDeveloperInvites(
|
|
2876
|
+
declare function listDeveloperInvites(context: TransportContext, input: {
|
|
2867
2877
|
readonly bearer: string;
|
|
2868
2878
|
}): Promise<DeveloperInvitesResponse>;
|
|
2869
|
-
declare function acceptDeveloperInvite(
|
|
2879
|
+
declare function acceptDeveloperInvite(context: TransportContext, input: {
|
|
2870
2880
|
readonly bearer: string;
|
|
2871
2881
|
readonly appId: string;
|
|
2872
2882
|
}): Promise<DeveloperOkResponse>;
|
|
2873
|
-
declare function declineDeveloperInvite(
|
|
2883
|
+
declare function declineDeveloperInvite(context: TransportContext, input: {
|
|
2874
2884
|
readonly bearer: string;
|
|
2875
2885
|
readonly appId: string;
|
|
2876
2886
|
}): Promise<DeveloperOkResponse>;
|
|
2877
2887
|
//#endregion
|
|
2878
2888
|
//#region src/developer/profile.d.ts
|
|
2879
|
-
declare function getDeveloperStatus(
|
|
2889
|
+
declare function getDeveloperStatus(context: TransportContext, input: {
|
|
2880
2890
|
readonly bearer: string;
|
|
2881
2891
|
}): Promise<DeveloperMeStatus>;
|
|
2882
|
-
declare function updateDeveloperProfile(
|
|
2892
|
+
declare function updateDeveloperProfile(context: TransportContext, input: {
|
|
2883
2893
|
readonly bearer: string;
|
|
2884
2894
|
readonly body: UpdateDeveloperProfile;
|
|
2885
2895
|
}): Promise<DeveloperOkResponse>;
|
|
2886
|
-
declare function uploadDeveloperProfileLogo(
|
|
2896
|
+
declare function uploadDeveloperProfileLogo(context: TransportContext, input: {
|
|
2887
2897
|
readonly bearer: string;
|
|
2888
2898
|
readonly file: Blob | ArrayBufferView | ArrayBuffer;
|
|
2889
2899
|
readonly filename: string;
|
|
2890
2900
|
readonly contentType: string;
|
|
2891
2901
|
}): Promise<DeveloperLogoUploadResponse>;
|
|
2892
|
-
declare function deleteDeveloperProfileLogo(
|
|
2902
|
+
declare function deleteDeveloperProfileLogo(context: TransportContext, input: {
|
|
2893
2903
|
readonly bearer: string;
|
|
2894
2904
|
}): Promise<DeveloperLogoUploadResponse>;
|
|
2895
|
-
declare function submitDeveloperRequest(
|
|
2905
|
+
declare function submitDeveloperRequest(context: TransportContext, input: {
|
|
2896
2906
|
readonly bearer: string;
|
|
2897
2907
|
readonly body: CreateDeveloperRoleRequest;
|
|
2898
2908
|
}): Promise<DeveloperOkResponse>;
|
|
2899
|
-
declare function uploadDeveloperRequestLogo(
|
|
2909
|
+
declare function uploadDeveloperRequestLogo(context: TransportContext, input: {
|
|
2900
2910
|
readonly bearer: string;
|
|
2901
2911
|
readonly file: Blob | ArrayBufferView | ArrayBuffer;
|
|
2902
2912
|
readonly filename: string;
|
|
2903
2913
|
readonly contentType: string;
|
|
2904
2914
|
}): Promise<DeveloperLogoUploadResponse>;
|
|
2905
|
-
declare function deleteDeveloperRequestLogo(
|
|
2915
|
+
declare function deleteDeveloperRequestLogo(context: TransportContext, input: {
|
|
2906
2916
|
readonly bearer: string;
|
|
2907
2917
|
}): Promise<DeveloperLogoUploadResponse>;
|
|
2908
|
-
declare function uploadMultipart(
|
|
2918
|
+
declare function uploadMultipart(context: TransportContext, input: {
|
|
2909
2919
|
readonly path: string;
|
|
2910
2920
|
readonly bearer: string;
|
|
2911
2921
|
readonly file: Blob | ArrayBufferView | ArrayBuffer;
|
|
@@ -2914,81 +2924,81 @@ declare function uploadMultipart(ctx: TransportContext, input: {
|
|
|
2914
2924
|
}): Promise<unknown>;
|
|
2915
2925
|
//#endregion
|
|
2916
2926
|
//#region src/inventory/list.d.ts
|
|
2917
|
-
declare function listInventory(
|
|
2927
|
+
declare function listInventory(context: TransportContext, input: {
|
|
2918
2928
|
readonly bearer: string;
|
|
2919
2929
|
}): Promise<InventoryListResponse>;
|
|
2920
|
-
declare function listInventoryForApp(
|
|
2930
|
+
declare function listInventoryForApp(context: TransportContext, input: {
|
|
2921
2931
|
readonly bearer: string;
|
|
2922
2932
|
}): Promise<InventoryListResponse>;
|
|
2923
2933
|
//#endregion
|
|
2924
2934
|
//#region src/inventory/request-mint.d.ts
|
|
2925
|
-
declare function requestMint(
|
|
2935
|
+
declare function requestMint(context: TransportContext, input: {
|
|
2926
2936
|
readonly appBearer: string;
|
|
2927
2937
|
readonly body: MintRequestInput;
|
|
2928
2938
|
}): Promise<MintRequestResult>;
|
|
2929
2939
|
//#endregion
|
|
2930
2940
|
//#region src/messaging/dm-key-backup.d.ts
|
|
2931
|
-
declare function getDmKeyBackupStatus(
|
|
2941
|
+
declare function getDmKeyBackupStatus(context: TransportContext, input: {
|
|
2932
2942
|
readonly bearer: string;
|
|
2933
2943
|
}): Promise<DmKeyBackupStatusResponse>;
|
|
2934
|
-
declare function setupDmKeyBackup(
|
|
2944
|
+
declare function setupDmKeyBackup(context: TransportContext, input: {
|
|
2935
2945
|
readonly bearer: string;
|
|
2936
2946
|
readonly body: DmKeyBackupSetupBody;
|
|
2937
2947
|
}): Promise<DmKeyBackupOkResponse>;
|
|
2938
|
-
declare function unlockDmKeyBackup(
|
|
2948
|
+
declare function unlockDmKeyBackup(context: TransportContext, input: {
|
|
2939
2949
|
readonly bearer: string;
|
|
2940
2950
|
readonly body: DmKeyBackupUnlockBody;
|
|
2941
2951
|
}): Promise<DmKeyBackupUnlockResponse>;
|
|
2942
2952
|
//#endregion
|
|
2943
2953
|
//#region src/messaging/dm-keys.d.ts
|
|
2944
|
-
declare function publishDmKey(
|
|
2954
|
+
declare function publishDmKey(context: TransportContext, input: {
|
|
2945
2955
|
readonly bearer: string;
|
|
2946
2956
|
readonly body: PublishDmKeyBody;
|
|
2947
2957
|
}): Promise<DmKeyResponse>;
|
|
2948
|
-
declare function getMyDmKey(
|
|
2958
|
+
declare function getMyDmKey(context: TransportContext, input: {
|
|
2949
2959
|
readonly bearer: string;
|
|
2950
2960
|
}): Promise<DmKeyResponse | null>;
|
|
2951
|
-
declare function getThreadDmKey(
|
|
2961
|
+
declare function getThreadDmKey(context: TransportContext, input: {
|
|
2952
2962
|
readonly bearer: string;
|
|
2953
2963
|
readonly threadId: string;
|
|
2954
2964
|
}): Promise<DmKeyResponse>;
|
|
2955
|
-
declare function batchThreadDmKeys(
|
|
2965
|
+
declare function batchThreadDmKeys(context: TransportContext, input: {
|
|
2956
2966
|
readonly bearer: string;
|
|
2957
2967
|
readonly threadIds: readonly string[];
|
|
2958
2968
|
}): Promise<BatchThreadDmKeysResponse>;
|
|
2959
2969
|
//#endregion
|
|
2960
2970
|
//#region src/messaging/logo.d.ts
|
|
2961
|
-
declare function uploadThreadLogo(
|
|
2971
|
+
declare function uploadThreadLogo(context: TransportContext, input: {
|
|
2962
2972
|
readonly bearer: string;
|
|
2963
2973
|
readonly threadId: string;
|
|
2964
2974
|
readonly file: Blob | ArrayBufferView | ArrayBuffer;
|
|
2965
2975
|
readonly filename: string;
|
|
2966
2976
|
readonly contentType: string;
|
|
2967
2977
|
}): Promise<GroupThreadMutationResponse>;
|
|
2968
|
-
declare function deleteThreadLogo(
|
|
2978
|
+
declare function deleteThreadLogo(context: TransportContext, input: {
|
|
2969
2979
|
readonly bearer: string;
|
|
2970
2980
|
readonly threadId: string;
|
|
2971
2981
|
}): Promise<GroupThreadMutationResponse>;
|
|
2972
2982
|
//#endregion
|
|
2973
2983
|
//#region src/messaging/messages.d.ts
|
|
2974
|
-
declare function deleteMessage(
|
|
2984
|
+
declare function deleteMessage(context: TransportContext, input: {
|
|
2975
2985
|
readonly bearer: string;
|
|
2976
2986
|
readonly threadId: string;
|
|
2977
2987
|
readonly messageId: string;
|
|
2978
2988
|
}): Promise<MessagingOkResponse>;
|
|
2979
|
-
declare function editMessage(
|
|
2989
|
+
declare function editMessage(context: TransportContext, input: {
|
|
2980
2990
|
readonly bearer: string;
|
|
2981
2991
|
readonly threadId: string;
|
|
2982
2992
|
readonly messageId: string;
|
|
2983
2993
|
readonly body: EditMessageBody;
|
|
2984
2994
|
}): Promise<MessageItem>;
|
|
2985
|
-
declare function addReaction(
|
|
2995
|
+
declare function addReaction(context: TransportContext, input: {
|
|
2986
2996
|
readonly bearer: string;
|
|
2987
2997
|
readonly threadId: string;
|
|
2988
2998
|
readonly messageId: string;
|
|
2989
2999
|
readonly emoji: ReactionEmoji;
|
|
2990
3000
|
}): Promise<ReactionMutationResponse>;
|
|
2991
|
-
declare function removeReaction(
|
|
3001
|
+
declare function removeReaction(context: TransportContext, input: {
|
|
2992
3002
|
readonly bearer: string;
|
|
2993
3003
|
readonly threadId: string;
|
|
2994
3004
|
readonly messageId: string;
|
|
@@ -2996,12 +3006,12 @@ declare function removeReaction(ctx: TransportContext, input: {
|
|
|
2996
3006
|
}): Promise<ReactionMutationResponse>;
|
|
2997
3007
|
//#endregion
|
|
2998
3008
|
//#region src/messaging/participants.d.ts
|
|
2999
|
-
declare function removeParticipant(
|
|
3009
|
+
declare function removeParticipant(context: TransportContext, input: {
|
|
3000
3010
|
readonly bearer: string;
|
|
3001
3011
|
readonly threadId: string;
|
|
3002
3012
|
readonly userId: string;
|
|
3003
3013
|
}): Promise<GroupThreadMutationResponse>;
|
|
3004
|
-
declare function updateParticipantRole(
|
|
3014
|
+
declare function updateParticipantRole(context: TransportContext, input: {
|
|
3005
3015
|
readonly bearer: string;
|
|
3006
3016
|
readonly threadId: string;
|
|
3007
3017
|
readonly userId: string;
|
|
@@ -3009,33 +3019,33 @@ declare function updateParticipantRole(ctx: TransportContext, input: {
|
|
|
3009
3019
|
}): Promise<GroupThreadMutationResponse>;
|
|
3010
3020
|
//#endregion
|
|
3011
3021
|
//#region src/messaging/threads.d.ts
|
|
3012
|
-
declare function deleteThread(
|
|
3022
|
+
declare function deleteThread(context: TransportContext, input: {
|
|
3013
3023
|
readonly bearer: string;
|
|
3014
3024
|
readonly threadId: string;
|
|
3015
3025
|
}): Promise<MessagingOkResponse>;
|
|
3016
|
-
declare function updateThreadSettings(
|
|
3026
|
+
declare function updateThreadSettings(context: TransportContext, input: {
|
|
3017
3027
|
readonly bearer: string;
|
|
3018
3028
|
readonly threadId: string;
|
|
3019
3029
|
readonly body: UpdateThreadSettingsBody;
|
|
3020
3030
|
}): Promise<GroupThreadMutationResponse>;
|
|
3021
|
-
declare function hideThread(
|
|
3031
|
+
declare function hideThread(context: TransportContext, input: {
|
|
3022
3032
|
readonly bearer: string;
|
|
3023
3033
|
readonly threadId: string;
|
|
3024
3034
|
}): Promise<MessagingOkResponse>;
|
|
3025
|
-
declare function inviteParticipants(
|
|
3035
|
+
declare function inviteParticipants(context: TransportContext, input: {
|
|
3026
3036
|
readonly bearer: string;
|
|
3027
3037
|
readonly threadId: string;
|
|
3028
3038
|
readonly body: InviteParticipantsBody;
|
|
3029
3039
|
}): Promise<GroupThreadMutationResponse>;
|
|
3030
|
-
declare function leaveThread(
|
|
3040
|
+
declare function leaveThread(context: TransportContext, input: {
|
|
3031
3041
|
readonly bearer: string;
|
|
3032
3042
|
readonly threadId: string;
|
|
3033
3043
|
}): Promise<MessagingOkResponse>;
|
|
3034
|
-
declare function pinThread(
|
|
3044
|
+
declare function pinThread(context: TransportContext, input: {
|
|
3035
3045
|
readonly bearer: string;
|
|
3036
3046
|
readonly threadId: string;
|
|
3037
3047
|
}): Promise<PinThreadResponse>;
|
|
3038
|
-
declare function unpinThread(
|
|
3048
|
+
declare function unpinThread(context: TransportContext, input: {
|
|
3039
3049
|
readonly bearer: string;
|
|
3040
3050
|
readonly threadId: string;
|
|
3041
3051
|
}): Promise<MessagingOkResponse>;
|
|
@@ -3068,7 +3078,7 @@ type AuthorizeUrl = {
|
|
|
3068
3078
|
declare function buildAuthorizeUrl(input: BuildAuthorizeUrlInput): Promise<AuthorizeUrl>;
|
|
3069
3079
|
//#endregion
|
|
3070
3080
|
//#region src/oauth/discovery.d.ts
|
|
3071
|
-
declare function fetchAuthorizationServerMetadata(
|
|
3081
|
+
declare function fetchAuthorizationServerMetadata(context: TransportContext): Promise<OauthAuthorizationServerMetadata>;
|
|
3072
3082
|
declare function defaultEndpoints(issuer: string): {
|
|
3073
3083
|
authorize: string;
|
|
3074
3084
|
token: string;
|
|
@@ -3077,7 +3087,7 @@ declare function defaultEndpoints(issuer: string): {
|
|
|
3077
3087
|
};
|
|
3078
3088
|
//#endregion
|
|
3079
3089
|
//#region src/oauth/revoke.d.ts
|
|
3080
|
-
declare function revokeToken(
|
|
3090
|
+
declare function revokeToken(context: TransportContext, input: {
|
|
3081
3091
|
readonly token: string;
|
|
3082
3092
|
readonly tokenTypeHint?: "access_token" | "refresh_token" | undefined;
|
|
3083
3093
|
readonly clientId: string;
|
|
@@ -3085,14 +3095,14 @@ declare function revokeToken(ctx: TransportContext, input: {
|
|
|
3085
3095
|
}): Promise<void>;
|
|
3086
3096
|
//#endregion
|
|
3087
3097
|
//#region src/oauth/token.d.ts
|
|
3088
|
-
declare function exchangeAuthorizationCode(
|
|
3098
|
+
declare function exchangeAuthorizationCode(context: TransportContext, input: {
|
|
3089
3099
|
readonly code: string;
|
|
3090
3100
|
readonly redirectUri: string;
|
|
3091
3101
|
readonly codeVerifier: string;
|
|
3092
3102
|
readonly clientId: string;
|
|
3093
3103
|
readonly clientSecret?: string | undefined;
|
|
3094
3104
|
}): Promise<OauthTokenResponse>;
|
|
3095
|
-
declare function refreshAccessToken(
|
|
3105
|
+
declare function refreshAccessToken(context: TransportContext, input: {
|
|
3096
3106
|
readonly refreshToken: string;
|
|
3097
3107
|
readonly clientId: string;
|
|
3098
3108
|
readonly clientSecret?: string | undefined;
|
|
@@ -3101,31 +3111,31 @@ declare function refreshAccessToken(ctx: TransportContext, input: {
|
|
|
3101
3111
|
declare function toTokenSet(now: number, response: OauthTokenResponse): TokenSet;
|
|
3102
3112
|
//#endregion
|
|
3103
3113
|
//#region src/oauth/userinfo.d.ts
|
|
3104
|
-
declare function fetchUserInfo(
|
|
3114
|
+
declare function fetchUserInfo(context: TransportContext, input: {
|
|
3105
3115
|
readonly bearer: string;
|
|
3106
3116
|
}): Promise<OauthUserInfoResponse>;
|
|
3107
3117
|
//#endregion
|
|
3108
3118
|
//#region src/payments/appeal.d.ts
|
|
3109
|
-
declare function fileAppeal(
|
|
3119
|
+
declare function fileAppeal(context: TransportContext, input: {
|
|
3110
3120
|
readonly bearer: string;
|
|
3111
3121
|
readonly body: AppealFileRequest;
|
|
3112
3122
|
}): Promise<AppealFileResponse>;
|
|
3113
|
-
declare function fileAppealPotLeg(
|
|
3123
|
+
declare function fileAppealPotLeg(context: TransportContext, input: {
|
|
3114
3124
|
readonly bearer: string;
|
|
3115
3125
|
readonly body: AppealPotLegFileRequest;
|
|
3116
3126
|
}): Promise<AppealFileResponse>;
|
|
3117
3127
|
//#endregion
|
|
3118
3128
|
//#region src/payments/appeal-room.d.ts
|
|
3119
|
-
declare function getAppealRoom(
|
|
3129
|
+
declare function getAppealRoom(context: TransportContext, input: {
|
|
3120
3130
|
readonly bearer: string;
|
|
3121
3131
|
readonly appealId: string;
|
|
3122
3132
|
}): Promise<AppealRoomView>;
|
|
3123
|
-
declare function postAppealRoomMessage(
|
|
3133
|
+
declare function postAppealRoomMessage(context: TransportContext, input: {
|
|
3124
3134
|
readonly bearer: string;
|
|
3125
3135
|
readonly appealId: string;
|
|
3126
3136
|
readonly body: AppealRoomPostRequest;
|
|
3127
3137
|
}): Promise<AppealRoomPostResponse>;
|
|
3128
|
-
declare function uploadAppealRoomAttachment(
|
|
3138
|
+
declare function uploadAppealRoomAttachment(context: TransportContext, input: {
|
|
3129
3139
|
readonly bearer: string;
|
|
3130
3140
|
readonly appealId: string;
|
|
3131
3141
|
readonly file: Blob | ArrayBufferView | ArrayBuffer;
|
|
@@ -3137,80 +3147,80 @@ declare function uploadAppealRoomAttachment(ctx: TransportContext, input: {
|
|
|
3137
3147
|
type ChargeResult = OauthPaymentChargeResponse | ({
|
|
3138
3148
|
status: "monthly_limit_exceeded";
|
|
3139
3149
|
} & Omit<OauthPaymentChargeLimitExceeded, "error">);
|
|
3140
|
-
declare function charge(
|
|
3150
|
+
declare function charge(context: TransportContext, input: {
|
|
3141
3151
|
readonly bearer: string;
|
|
3142
3152
|
readonly body: OauthPaymentChargeRequest;
|
|
3143
3153
|
readonly idempotencyKey?: string;
|
|
3144
3154
|
}): Promise<ChargeResult>;
|
|
3145
3155
|
//#endregion
|
|
3146
3156
|
//#region src/payments/intent.d.ts
|
|
3147
|
-
declare function getPaymentIntent(
|
|
3157
|
+
declare function getPaymentIntent(context: TransportContext, input: {
|
|
3148
3158
|
readonly bearer: string;
|
|
3149
3159
|
readonly intentId: string;
|
|
3150
3160
|
}): Promise<OauthPaymentIntentContext>;
|
|
3151
|
-
declare function signPaymentIntent(
|
|
3161
|
+
declare function signPaymentIntent(context: TransportContext, input: {
|
|
3152
3162
|
readonly bearer: string;
|
|
3153
3163
|
readonly intentId: string;
|
|
3154
3164
|
}): Promise<OauthPaymentIntentSignResponse>;
|
|
3155
|
-
declare function completePaymentIntent(
|
|
3165
|
+
declare function completePaymentIntent(context: TransportContext, input: {
|
|
3156
3166
|
readonly bearer: string;
|
|
3157
3167
|
readonly intentId: string;
|
|
3158
3168
|
readonly body: OauthPaymentIntentComplete;
|
|
3159
3169
|
}): Promise<OauthPaymentIntentResolveResponse>;
|
|
3160
|
-
declare function denyPaymentIntent(
|
|
3170
|
+
declare function denyPaymentIntent(context: TransportContext, input: {
|
|
3161
3171
|
readonly bearer: string;
|
|
3162
3172
|
readonly intentId: string;
|
|
3163
3173
|
}): Promise<OauthPaymentIntentResolveResponse>;
|
|
3164
3174
|
//#endregion
|
|
3165
3175
|
//#region src/payments/limits.d.ts
|
|
3166
|
-
declare function getPaymentLimits(
|
|
3176
|
+
declare function getPaymentLimits(context: TransportContext, input: {
|
|
3167
3177
|
readonly bearer: string;
|
|
3168
3178
|
}): Promise<OauthPaymentLimitsResponse>;
|
|
3169
3179
|
//#endregion
|
|
3170
3180
|
//#region src/payments/moonpay.d.ts
|
|
3171
|
-
declare function getMoonpayAvailability(
|
|
3181
|
+
declare function getMoonpayAvailability(context: TransportContext, input: {
|
|
3172
3182
|
readonly bearer: string;
|
|
3173
3183
|
}): Promise<MoonpayAvailabilityResponse>;
|
|
3174
|
-
declare function mintMoonpayBuyUrl(
|
|
3184
|
+
declare function mintMoonpayBuyUrl(context: TransportContext, input: {
|
|
3175
3185
|
readonly bearer: string;
|
|
3176
3186
|
readonly body: MoonpayBuyUrlRequest;
|
|
3177
3187
|
}): Promise<MoonpayBuyUrlResponse>;
|
|
3178
|
-
declare function mintMoonpaySellUrl(
|
|
3188
|
+
declare function mintMoonpaySellUrl(context: TransportContext, input: {
|
|
3179
3189
|
readonly bearer: string;
|
|
3180
3190
|
readonly body: MoonpaySellUrlRequest;
|
|
3181
3191
|
}): Promise<MoonpaySellUrlResponse>;
|
|
3182
3192
|
//#endregion
|
|
3183
3193
|
//#region src/payments/price.d.ts
|
|
3184
|
-
declare function getPaymentPrice(
|
|
3194
|
+
declare function getPaymentPrice(context: TransportContext, input: {
|
|
3185
3195
|
readonly bearer: string;
|
|
3186
3196
|
} & GetOauthPaymentsPriceData["query"]): Promise<OauthPaymentPriceResponse>;
|
|
3187
3197
|
//#endregion
|
|
3188
3198
|
//#region src/payments/status.d.ts
|
|
3189
|
-
declare function getIntentStatus(
|
|
3199
|
+
declare function getIntentStatus(context: TransportContext, input: {
|
|
3190
3200
|
readonly bearer: string;
|
|
3191
3201
|
readonly intentId: string;
|
|
3192
3202
|
}): Promise<OauthPaymentIntentStatus>;
|
|
3193
3203
|
//#endregion
|
|
3194
3204
|
//#region src/payments/tron.d.ts
|
|
3195
|
-
declare function getTronBalance(
|
|
3205
|
+
declare function getTronBalance(context: TransportContext, input: {
|
|
3196
3206
|
readonly bearer: string;
|
|
3197
3207
|
}): Promise<TronBalanceResponse>;
|
|
3198
|
-
declare function listTronLedger(
|
|
3208
|
+
declare function listTronLedger(context: TransportContext, input: {
|
|
3199
3209
|
readonly bearer: string;
|
|
3200
3210
|
readonly before?: string;
|
|
3201
3211
|
}): Promise<TronLedgerResponse>;
|
|
3202
|
-
declare function createTronDeposit(
|
|
3212
|
+
declare function createTronDeposit(context: TransportContext, input: {
|
|
3203
3213
|
readonly bearer: string;
|
|
3204
3214
|
readonly body: TronDepositRequest;
|
|
3205
3215
|
}): Promise<TronDepositResponse>;
|
|
3206
|
-
declare function createTronConnectOnboarding(
|
|
3216
|
+
declare function createTronConnectOnboarding(context: TransportContext, input: {
|
|
3207
3217
|
readonly bearer: string;
|
|
3208
3218
|
}): Promise<TronConnectOnboardingResponse>;
|
|
3209
|
-
declare function createTronCashout(
|
|
3219
|
+
declare function createTronCashout(context: TransportContext, input: {
|
|
3210
3220
|
readonly bearer: string;
|
|
3211
3221
|
readonly body: TronCashoutCreateRequest;
|
|
3212
3222
|
}): Promise<TronCashoutItem>;
|
|
3213
|
-
declare function listTronCashouts(
|
|
3223
|
+
declare function listTronCashouts(context: TransportContext, input: {
|
|
3214
3224
|
readonly bearer: string;
|
|
3215
3225
|
}): Promise<TronCashoutListResponse>;
|
|
3216
3226
|
//#endregion
|
|
@@ -3223,7 +3233,7 @@ type MountPresenceWidgetOptions = {
|
|
|
3223
3233
|
readonly container?: HTMLElement;
|
|
3224
3234
|
readonly onPlaySessionId?: (playSessionId: string | null) => void;
|
|
3225
3235
|
readonly onStatus?: (status: PresenceStatus) => void;
|
|
3226
|
-
readonly onAuthChange?: (
|
|
3236
|
+
readonly onAuthChange?: (isAuthenticated: boolean) => void;
|
|
3227
3237
|
readonly styleIframe?: (iframe: HTMLIFrameElement) => void;
|
|
3228
3238
|
readonly onPresentationChange?: (mode: "chip" | "overlay") => void;
|
|
3229
3239
|
readonly background?: string;
|
|
@@ -3234,40 +3244,40 @@ type PresenceWidgetHandle = {
|
|
|
3234
3244
|
declare function mountPresenceWidget(options: MountPresenceWidgetOptions): PresenceWidgetHandle;
|
|
3235
3245
|
//#endregion
|
|
3236
3246
|
//#region src/reads/dashboard.d.ts
|
|
3237
|
-
declare function getMeStats(
|
|
3247
|
+
declare function getMeStats(context: TransportContext, input: {
|
|
3238
3248
|
readonly bearer: string;
|
|
3239
3249
|
}): Promise<MeStats>;
|
|
3240
|
-
declare function getEarningsTimeseries(
|
|
3250
|
+
declare function getEarningsTimeseries(context: TransportContext, input: {
|
|
3241
3251
|
readonly bearer: string;
|
|
3242
3252
|
readonly days?: number;
|
|
3243
3253
|
}): Promise<EarningsTimeseries>;
|
|
3244
3254
|
//#endregion
|
|
3245
3255
|
//#region src/reads/messaging.d.ts
|
|
3246
|
-
declare function listThreads(
|
|
3256
|
+
declare function listThreads(context: TransportContext, input: {
|
|
3247
3257
|
readonly bearer: string;
|
|
3248
3258
|
readonly limit?: number;
|
|
3249
3259
|
readonly cursor?: string;
|
|
3250
3260
|
}): Promise<ThreadListResponse>;
|
|
3251
|
-
declare function createDirectThread(
|
|
3261
|
+
declare function createDirectThread(context: TransportContext, input: {
|
|
3252
3262
|
readonly bearer: string;
|
|
3253
3263
|
readonly body: CreateDirectThreadBody;
|
|
3254
3264
|
}): Promise<ThreadSummary>;
|
|
3255
|
-
declare function listThreadMessages(
|
|
3265
|
+
declare function listThreadMessages(context: TransportContext, input: {
|
|
3256
3266
|
readonly bearer: string;
|
|
3257
3267
|
readonly threadId: string;
|
|
3258
3268
|
readonly limit?: number;
|
|
3259
3269
|
readonly cursor?: string;
|
|
3260
3270
|
}): Promise<MessagesPageResponse>;
|
|
3261
|
-
declare function sendMessage(
|
|
3271
|
+
declare function sendMessage(context: TransportContext, input: {
|
|
3262
3272
|
readonly bearer: string;
|
|
3263
3273
|
readonly threadId: string;
|
|
3264
3274
|
readonly body: SendMessageBody;
|
|
3265
3275
|
}): Promise<void>;
|
|
3266
|
-
declare function markThreadRead(
|
|
3276
|
+
declare function markThreadRead(context: TransportContext, input: {
|
|
3267
3277
|
readonly bearer: string;
|
|
3268
3278
|
readonly threadId: string;
|
|
3269
3279
|
}): Promise<void>;
|
|
3270
|
-
declare function uploadAttachment(
|
|
3280
|
+
declare function uploadAttachment(context: TransportContext, input: {
|
|
3271
3281
|
readonly bearer: string;
|
|
3272
3282
|
readonly threadId: string;
|
|
3273
3283
|
readonly file: Blob | ArrayBufferView | ArrayBuffer;
|
|
@@ -3276,116 +3286,116 @@ declare function uploadAttachment(ctx: TransportContext, input: {
|
|
|
3276
3286
|
}): Promise<UploadAttachmentResponse>;
|
|
3277
3287
|
//#endregion
|
|
3278
3288
|
//#region src/reads/notifications.d.ts
|
|
3279
|
-
declare function listNotifications(
|
|
3289
|
+
declare function listNotifications(context: TransportContext, input: {
|
|
3280
3290
|
readonly bearer: string;
|
|
3281
3291
|
readonly limit?: number;
|
|
3282
3292
|
readonly cursor?: string;
|
|
3283
3293
|
}): Promise<NotificationListResponse>;
|
|
3284
|
-
declare function updateNotification(
|
|
3294
|
+
declare function updateNotification(context: TransportContext, input: {
|
|
3285
3295
|
readonly bearer: string;
|
|
3286
3296
|
readonly notificationId: string;
|
|
3287
3297
|
readonly body: NotificationUpdate;
|
|
3288
3298
|
}): Promise<void>;
|
|
3289
|
-
declare function markAllNotificationsRead(
|
|
3299
|
+
declare function markAllNotificationsRead(context: TransportContext, input: {
|
|
3290
3300
|
readonly bearer: string;
|
|
3291
3301
|
}): Promise<void>;
|
|
3292
3302
|
//#endregion
|
|
3293
3303
|
//#region src/reads/playtime.d.ts
|
|
3294
|
-
declare function getPlaytime(
|
|
3304
|
+
declare function getPlaytime(context: TransportContext, input: {
|
|
3295
3305
|
readonly bearer: string;
|
|
3296
3306
|
}): Promise<PlaytimeOverview>;
|
|
3297
|
-
declare function getPlaytimeTimeseries(
|
|
3307
|
+
declare function getPlaytimeTimeseries(context: TransportContext, input: {
|
|
3298
3308
|
readonly bearer: string;
|
|
3299
3309
|
readonly days?: number;
|
|
3300
3310
|
}): Promise<PlaytimeTimeseries>;
|
|
3301
3311
|
//#endregion
|
|
3302
3312
|
//#region src/reads/profile.d.ts
|
|
3303
|
-
declare function getPublicProfile(
|
|
3313
|
+
declare function getPublicProfile(context: TransportContext, input: {
|
|
3304
3314
|
readonly bearer?: string;
|
|
3305
3315
|
readonly handle: string;
|
|
3306
3316
|
}): Promise<PublicProfile>;
|
|
3307
|
-
declare function searchUsers(
|
|
3317
|
+
declare function searchUsers(context: TransportContext, input: {
|
|
3308
3318
|
readonly bearer: string;
|
|
3309
3319
|
readonly q: string;
|
|
3310
3320
|
readonly limit?: number;
|
|
3311
3321
|
}): Promise<UserSearchResponse>;
|
|
3312
3322
|
//#endregion
|
|
3313
3323
|
//#region src/reads/referral.d.ts
|
|
3314
|
-
declare function getReferral(
|
|
3324
|
+
declare function getReferral(context: TransportContext, input: {
|
|
3315
3325
|
readonly bearer: string;
|
|
3316
3326
|
}): Promise<ReferralOverview>;
|
|
3317
|
-
declare function createReferralCode(
|
|
3327
|
+
declare function createReferralCode(context: TransportContext, input: {
|
|
3318
3328
|
readonly bearer: string;
|
|
3319
3329
|
readonly regenerate?: boolean;
|
|
3320
3330
|
}): Promise<ReferralCodeResponse>;
|
|
3321
|
-
declare function previewReferral(
|
|
3331
|
+
declare function previewReferral(context: TransportContext, input: {
|
|
3322
3332
|
readonly bearer: string;
|
|
3323
3333
|
readonly code: string;
|
|
3324
3334
|
}): Promise<ReferralPreviewResponse>;
|
|
3325
|
-
declare function bindReferral(
|
|
3335
|
+
declare function bindReferral(context: TransportContext, input: {
|
|
3326
3336
|
readonly bearer: string;
|
|
3327
3337
|
} & ReferralBindRequest): Promise<ReferralBindResponse>;
|
|
3328
3338
|
//#endregion
|
|
3329
3339
|
//#region src/reads/social-graph.d.ts
|
|
3330
|
-
declare function followUser(
|
|
3340
|
+
declare function followUser(context: TransportContext, input: {
|
|
3331
3341
|
readonly bearer: string;
|
|
3332
3342
|
readonly userId: string;
|
|
3333
3343
|
}): Promise<void>;
|
|
3334
|
-
declare function unfollowUser(
|
|
3344
|
+
declare function unfollowUser(context: TransportContext, input: {
|
|
3335
3345
|
readonly bearer: string;
|
|
3336
3346
|
readonly userId: string;
|
|
3337
3347
|
}): Promise<void>;
|
|
3338
|
-
declare function sendFriendRequest(
|
|
3348
|
+
declare function sendFriendRequest(context: TransportContext, input: {
|
|
3339
3349
|
readonly bearer: string;
|
|
3340
3350
|
readonly userId: string;
|
|
3341
3351
|
}): Promise<void>;
|
|
3342
|
-
declare function decideFriendRequest(
|
|
3352
|
+
declare function decideFriendRequest(context: TransportContext, input: {
|
|
3343
3353
|
readonly bearer: string;
|
|
3344
3354
|
readonly requestId: string;
|
|
3345
3355
|
readonly decision: FriendRequestDecision["decision"];
|
|
3346
3356
|
}): Promise<void>;
|
|
3347
|
-
declare function cancelFriendRequest(
|
|
3357
|
+
declare function cancelFriendRequest(context: TransportContext, input: {
|
|
3348
3358
|
readonly bearer: string;
|
|
3349
3359
|
readonly requestId: string;
|
|
3350
3360
|
}): Promise<void>;
|
|
3351
|
-
declare function listFriends(
|
|
3361
|
+
declare function listFriends(context: TransportContext, input: {
|
|
3352
3362
|
readonly bearer: string;
|
|
3353
3363
|
}): Promise<FriendListResponse>;
|
|
3354
3364
|
//#endregion
|
|
3355
3365
|
//#region src/reads/socials.d.ts
|
|
3356
|
-
declare function listSocials(
|
|
3366
|
+
declare function listSocials(context: TransportContext, input: {
|
|
3357
3367
|
readonly bearer: string;
|
|
3358
3368
|
}): Promise<SocialListResponse>;
|
|
3359
3369
|
//#endregion
|
|
3360
3370
|
//#region src/reads/wallets.d.ts
|
|
3361
|
-
declare function listWallets(
|
|
3371
|
+
declare function listWallets(context: TransportContext, input: {
|
|
3362
3372
|
readonly bearer: string;
|
|
3363
3373
|
}): Promise<WalletListResponse>;
|
|
3364
3374
|
//#endregion
|
|
3365
3375
|
//#region src/wallets-mgmt/delegation.d.ts
|
|
3366
|
-
declare function getDelegation(
|
|
3376
|
+
declare function getDelegation(context: TransportContext, input: {
|
|
3367
3377
|
readonly bearer: string;
|
|
3368
3378
|
readonly address: string;
|
|
3369
3379
|
}): Promise<WalletDelegationStatus>;
|
|
3370
|
-
declare function createDelegation(
|
|
3380
|
+
declare function createDelegation(context: TransportContext, input: {
|
|
3371
3381
|
readonly bearer: string;
|
|
3372
3382
|
readonly address: string;
|
|
3373
3383
|
readonly body: CreateWalletDelegation;
|
|
3374
3384
|
}): Promise<CreateWalletDelegationResponse>;
|
|
3375
|
-
declare function deleteDelegation(
|
|
3385
|
+
declare function deleteDelegation(context: TransportContext, input: {
|
|
3376
3386
|
readonly bearer: string;
|
|
3377
3387
|
readonly address: string;
|
|
3378
3388
|
}): Promise<DeleteWalletDelegationResponse>;
|
|
3379
3389
|
//#endregion
|
|
3380
3390
|
//#region src/wallets-mgmt/label.d.ts
|
|
3381
|
-
declare function updateWalletLabel(
|
|
3391
|
+
declare function updateWalletLabel(context: TransportContext, input: {
|
|
3382
3392
|
readonly bearer: string;
|
|
3383
3393
|
readonly address: string;
|
|
3384
3394
|
readonly body: WalletLabelUpdate;
|
|
3385
3395
|
}): Promise<WalletLabelUpdateResponse>;
|
|
3386
3396
|
//#endregion
|
|
3387
3397
|
//#region src/wallets-mgmt/list.d.ts
|
|
3388
|
-
declare function listWalletManager(
|
|
3398
|
+
declare function listWalletManager(context: TransportContext, input: {
|
|
3389
3399
|
readonly bearer: string;
|
|
3390
3400
|
}): Promise<WalletListResponse>;
|
|
3391
3401
|
//#endregion
|