@metatrongg/sdk 0.8.0-dev.65a4da4 → 0.8.0-dev.6ac4e78
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/LICENSE +1 -0
- package/dist/browser/index.d.ts +199 -199
- package/dist/browser/index.js +1 -1
- package/dist/index.js +1 -1
- package/dist/node/index.d.ts +211 -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 +113 -113
package/dist/node/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
|
|
@@ -89,8 +89,8 @@ type TransportContext = {
|
|
|
89
89
|
readonly rateLimiter?: RateLimiter | undefined;
|
|
90
90
|
readonly dedupe?: InflightDedup | undefined;
|
|
91
91
|
};
|
|
92
|
-
declare function sendJson<T>(
|
|
93
|
-
declare function send(
|
|
92
|
+
declare function sendJson<T>(context: TransportContext, options: RequestOptions): Promise<T>;
|
|
93
|
+
declare function send(context: TransportContext, options: RequestOptions): Promise<Response>;
|
|
94
94
|
declare function parseJson<T>(response: Response): Promise<T>;
|
|
95
95
|
//#endregion
|
|
96
96
|
//#region src/generated/types.gen.d.ts
|
|
@@ -2444,229 +2444,229 @@ type PostMeDeveloperAppsByAppIdPageThumbnailVideoResponses = {
|
|
|
2444
2444
|
type PostMeDeveloperAppsByAppIdPageThumbnailVideoResponse = PostMeDeveloperAppsByAppIdPageThumbnailVideoResponses[keyof PostMeDeveloperAppsByAppIdPageThumbnailVideoResponses];
|
|
2445
2445
|
//#endregion
|
|
2446
2446
|
//#region src/account/avatar.d.ts
|
|
2447
|
-
declare function uploadAvatar(
|
|
2447
|
+
declare function uploadAvatar(context: TransportContext, input: {
|
|
2448
2448
|
readonly bearer: string;
|
|
2449
2449
|
readonly file: Blob | ArrayBufferView | ArrayBuffer;
|
|
2450
2450
|
readonly filename: string;
|
|
2451
2451
|
readonly contentType: string;
|
|
2452
2452
|
}): Promise<AuthUser>;
|
|
2453
|
-
declare function deleteAvatar(
|
|
2453
|
+
declare function deleteAvatar(context: TransportContext, input: {
|
|
2454
2454
|
readonly bearer: string;
|
|
2455
2455
|
}): Promise<AuthUser>;
|
|
2456
2456
|
//#endregion
|
|
2457
2457
|
//#region src/account/giphy.d.ts
|
|
2458
|
-
declare function searchGiphy(
|
|
2458
|
+
declare function searchGiphy(context: TransportContext, input: {
|
|
2459
2459
|
readonly bearer: string;
|
|
2460
2460
|
readonly q: string;
|
|
2461
2461
|
}): Promise<GiphySearchResponse>;
|
|
2462
2462
|
//#endregion
|
|
2463
2463
|
//#region src/account/payment-authorizations.d.ts
|
|
2464
|
-
declare function listPaymentAuthorizations(
|
|
2464
|
+
declare function listPaymentAuthorizations(context: TransportContext, input: {
|
|
2465
2465
|
readonly bearer: string;
|
|
2466
2466
|
}): Promise<ListAppPaymentAuthorizationsResponse>;
|
|
2467
|
-
declare function updatePaymentAuthorization(
|
|
2467
|
+
declare function updatePaymentAuthorization(context: TransportContext, input: {
|
|
2468
2468
|
readonly bearer: string;
|
|
2469
2469
|
readonly consentId: string;
|
|
2470
2470
|
readonly body: UpdateAppPaymentAuthorization;
|
|
2471
2471
|
}): Promise<void>;
|
|
2472
|
-
declare function revokePaymentAuthorization(
|
|
2472
|
+
declare function revokePaymentAuthorization(context: TransportContext, input: {
|
|
2473
2473
|
readonly bearer: string;
|
|
2474
2474
|
readonly consentId: string;
|
|
2475
2475
|
}): Promise<void>;
|
|
2476
2476
|
//#endregion
|
|
2477
2477
|
//#region src/account/presence-heartbeat.d.ts
|
|
2478
|
-
declare function sendPresenceHeartbeat(
|
|
2478
|
+
declare function sendPresenceHeartbeat(context: TransportContext, input: {
|
|
2479
2479
|
readonly bearer: string;
|
|
2480
2480
|
}): Promise<WebPresenceHeartbeatAck>;
|
|
2481
2481
|
//#endregion
|
|
2482
2482
|
//#region src/account/profile.d.ts
|
|
2483
|
-
declare function updateProfile(
|
|
2483
|
+
declare function updateProfile(context: TransportContext, input: {
|
|
2484
2484
|
readonly bearer: string;
|
|
2485
2485
|
readonly body: ProfileUpdate;
|
|
2486
2486
|
}): Promise<AuthUser>;
|
|
2487
2487
|
//#endregion
|
|
2488
2488
|
//#region src/admin/active-players.d.ts
|
|
2489
|
-
declare function listActivePlayers(
|
|
2489
|
+
declare function listActivePlayers(context: TransportContext, input: {
|
|
2490
2490
|
readonly bearer: string;
|
|
2491
2491
|
}): Promise<AdminActivePlayersResponse>;
|
|
2492
2492
|
//#endregion
|
|
2493
2493
|
//#region src/admin/app-pages.d.ts
|
|
2494
|
-
declare function listAppPages(
|
|
2494
|
+
declare function listAppPages(context: TransportContext, input: {
|
|
2495
2495
|
readonly bearer: string;
|
|
2496
2496
|
readonly status?: "draft" | "pending_review" | "published" | "hidden" | "all" | "pending_changes";
|
|
2497
2497
|
}): Promise<AdminAppPageListResponse>;
|
|
2498
|
-
declare function getAppPageChanges(
|
|
2498
|
+
declare function getAppPageChanges(context: TransportContext, input: {
|
|
2499
2499
|
readonly bearer: string;
|
|
2500
2500
|
readonly appId: string;
|
|
2501
2501
|
}): Promise<AdminAppPageDiffResponse>;
|
|
2502
|
-
declare function reviewAppPageChanges(
|
|
2502
|
+
declare function reviewAppPageChanges(context: TransportContext, input: {
|
|
2503
2503
|
readonly bearer: string;
|
|
2504
2504
|
readonly appId: string;
|
|
2505
2505
|
readonly body: ReviewAppPage;
|
|
2506
2506
|
}): Promise<AdminAppPageStatusResponse>;
|
|
2507
|
-
declare function hideAppPage(
|
|
2507
|
+
declare function hideAppPage(context: TransportContext, input: {
|
|
2508
2508
|
readonly bearer: string;
|
|
2509
2509
|
readonly appId: string;
|
|
2510
2510
|
readonly body: HideAppPage;
|
|
2511
2511
|
}): Promise<AdminAppPageStatusResponse>;
|
|
2512
|
-
declare function unhideAppPage(
|
|
2512
|
+
declare function unhideAppPage(context: TransportContext, input: {
|
|
2513
2513
|
readonly bearer: string;
|
|
2514
2514
|
readonly appId: string;
|
|
2515
2515
|
}): Promise<AdminAppPageStatusResponse>;
|
|
2516
|
-
declare function reviewAppPage(
|
|
2516
|
+
declare function reviewAppPage(context: TransportContext, input: {
|
|
2517
2517
|
readonly bearer: string;
|
|
2518
2518
|
readonly appId: string;
|
|
2519
2519
|
readonly body: ReviewAppPage;
|
|
2520
2520
|
}): Promise<AdminAppPageStatusResponse>;
|
|
2521
2521
|
//#endregion
|
|
2522
2522
|
//#region src/admin/appeals.d.ts
|
|
2523
|
-
declare function listAppealQueue(
|
|
2523
|
+
declare function listAppealQueue(context: TransportContext, input: {
|
|
2524
2524
|
readonly bearer: string;
|
|
2525
2525
|
readonly statuses?: readonly AppealStatusRow["status"][];
|
|
2526
2526
|
readonly chain?: string;
|
|
2527
2527
|
readonly cursorFiledAt?: string;
|
|
2528
2528
|
readonly limit?: number;
|
|
2529
2529
|
}): Promise<ListAppealsResponse>;
|
|
2530
|
-
declare function getAdminAppealRoom(
|
|
2530
|
+
declare function getAdminAppealRoom(context: TransportContext, input: {
|
|
2531
2531
|
readonly bearer: string;
|
|
2532
2532
|
readonly appealId: string;
|
|
2533
2533
|
}): Promise<AppealRoomView>;
|
|
2534
|
-
declare function postAdminAppealRoomMessage(
|
|
2534
|
+
declare function postAdminAppealRoomMessage(context: TransportContext, input: {
|
|
2535
2535
|
readonly bearer: string;
|
|
2536
2536
|
readonly appealId: string;
|
|
2537
2537
|
readonly body: AppealRoomPostRequest;
|
|
2538
2538
|
}): Promise<AppealRoomPostResponse>;
|
|
2539
|
-
declare function uploadAdminAppealRoomAttachment(
|
|
2539
|
+
declare function uploadAdminAppealRoomAttachment(context: TransportContext, input: {
|
|
2540
2540
|
readonly bearer: string;
|
|
2541
2541
|
readonly appealId: string;
|
|
2542
2542
|
readonly file: Blob | ArrayBufferView | ArrayBuffer;
|
|
2543
2543
|
readonly filename: string;
|
|
2544
2544
|
readonly contentType: string;
|
|
2545
2545
|
}): Promise<UploadAttachmentResponse>;
|
|
2546
|
-
declare function resolveAppeal(
|
|
2546
|
+
declare function resolveAppeal(context: TransportContext, input: {
|
|
2547
2547
|
readonly bearer: string;
|
|
2548
2548
|
readonly appealId: string;
|
|
2549
2549
|
readonly body: AppealResolveRequest;
|
|
2550
2550
|
}): Promise<AppealResolveSignedResponse>;
|
|
2551
2551
|
//#endregion
|
|
2552
2552
|
//#region src/admin/developers.d.ts
|
|
2553
|
-
declare function listDeveloperRequests(
|
|
2553
|
+
declare function listDeveloperRequests(context: TransportContext, input: {
|
|
2554
2554
|
readonly bearer: string;
|
|
2555
2555
|
readonly status?: "pending" | "approved" | "rejected" | "cancelled";
|
|
2556
2556
|
readonly kind?: "role" | "production";
|
|
2557
2557
|
}): Promise<ListDeveloperRequestsResponse>;
|
|
2558
|
-
declare function reviewDeveloperRequest(
|
|
2558
|
+
declare function reviewDeveloperRequest(context: TransportContext, input: {
|
|
2559
2559
|
readonly bearer: string;
|
|
2560
2560
|
readonly id: string;
|
|
2561
2561
|
readonly body: ReviewDeveloperRequest;
|
|
2562
2562
|
}): Promise<ReviewDeveloperRequestResponse>;
|
|
2563
|
-
declare function listDevelopers(
|
|
2563
|
+
declare function listDevelopers(context: TransportContext, input: {
|
|
2564
2564
|
readonly bearer: string;
|
|
2565
2565
|
}): Promise<AdminDeveloperListResponse>;
|
|
2566
2566
|
//#endregion
|
|
2567
2567
|
//#region src/admin/payments.d.ts
|
|
2568
|
-
declare function getPlatformFees(
|
|
2568
|
+
declare function getPlatformFees(context: TransportContext, input: {
|
|
2569
2569
|
readonly bearer: string;
|
|
2570
2570
|
}): Promise<PlatformFeesResponse>;
|
|
2571
|
-
declare function updatePlatformFees(
|
|
2571
|
+
declare function updatePlatformFees(context: TransportContext, input: {
|
|
2572
2572
|
readonly bearer: string;
|
|
2573
2573
|
readonly body: UpdatePlatformFeesRequest;
|
|
2574
2574
|
}): Promise<UpdatePlatformFeesResponse>;
|
|
2575
|
-
declare function getAppFeeConfig(
|
|
2575
|
+
declare function getAppFeeConfig(context: TransportContext, input: {
|
|
2576
2576
|
readonly bearer: string;
|
|
2577
2577
|
readonly appId: string;
|
|
2578
2578
|
}): Promise<AppFeeConfigResponse>;
|
|
2579
|
-
declare function updateAppFeeConfig(
|
|
2579
|
+
declare function updateAppFeeConfig(context: TransportContext, input: {
|
|
2580
2580
|
readonly bearer: string;
|
|
2581
2581
|
readonly appId: string;
|
|
2582
2582
|
readonly body: UpdateAppFeeConfigRequest;
|
|
2583
2583
|
}): Promise<AppFeeConfigResponse>;
|
|
2584
|
-
declare function setProcessorWhitelist(
|
|
2584
|
+
declare function setProcessorWhitelist(context: TransportContext, input: {
|
|
2585
2585
|
readonly bearer: string;
|
|
2586
2586
|
readonly body: SetProcessorWhitelistRequest;
|
|
2587
2587
|
}): Promise<CalldataEnvelope>;
|
|
2588
|
-
declare function rotateProcessorTreasury(
|
|
2588
|
+
declare function rotateProcessorTreasury(context: TransportContext, input: {
|
|
2589
2589
|
readonly bearer: string;
|
|
2590
2590
|
readonly processorId: string;
|
|
2591
2591
|
readonly body: RotateProcessorTreasuryRequest;
|
|
2592
2592
|
}): Promise<CalldataEnvelope>;
|
|
2593
|
-
declare function setVaultOperator(
|
|
2593
|
+
declare function setVaultOperator(context: TransportContext, input: {
|
|
2594
2594
|
readonly bearer: string;
|
|
2595
2595
|
readonly vaultAddress: string;
|
|
2596
2596
|
readonly body: SetOperatorRequest;
|
|
2597
2597
|
}): Promise<CalldataEnvelope>;
|
|
2598
|
-
declare function setVaultPause(
|
|
2598
|
+
declare function setVaultPause(context: TransportContext, input: {
|
|
2599
2599
|
readonly bearer: string;
|
|
2600
2600
|
readonly vaultAddress: string;
|
|
2601
2601
|
readonly body: PauseRequest;
|
|
2602
2602
|
}): Promise<CalldataEnvelope>;
|
|
2603
|
-
declare function setVaultWithdrawLockDefault(
|
|
2603
|
+
declare function setVaultWithdrawLockDefault(context: TransportContext, input: {
|
|
2604
2604
|
readonly bearer: string;
|
|
2605
2605
|
readonly vaultAddress: string;
|
|
2606
2606
|
readonly body: SetDefaultWithdrawLockRequest;
|
|
2607
2607
|
}): Promise<CalldataEnvelope>;
|
|
2608
|
-
declare function setVaultWithdrawLockOverride(
|
|
2608
|
+
declare function setVaultWithdrawLockOverride(context: TransportContext, input: {
|
|
2609
2609
|
readonly bearer: string;
|
|
2610
2610
|
readonly vaultAddress: string;
|
|
2611
2611
|
readonly body: SetWithdrawLockOverrideRequest;
|
|
2612
2612
|
}): Promise<CalldataEnvelope>;
|
|
2613
|
-
declare function addAppealBlacklist(
|
|
2613
|
+
declare function addAppealBlacklist(context: TransportContext, input: {
|
|
2614
2614
|
readonly bearer: string;
|
|
2615
2615
|
readonly body: AppealBlacklistAddRequest;
|
|
2616
2616
|
}): Promise<AppealBlacklistEntry>;
|
|
2617
|
-
declare function removeAppealBlacklist(
|
|
2617
|
+
declare function removeAppealBlacklist(context: TransportContext, input: {
|
|
2618
2618
|
readonly bearer: string;
|
|
2619
2619
|
readonly body: AppealBlacklistRemoveRequest;
|
|
2620
2620
|
}): Promise<AppealBlacklistRemoveResponse>;
|
|
2621
|
-
declare function listAppealBlacklist(
|
|
2621
|
+
declare function listAppealBlacklist(context: TransportContext, input: {
|
|
2622
2622
|
readonly bearer: string;
|
|
2623
2623
|
readonly chain?: string;
|
|
2624
2624
|
}): Promise<AppealBlacklistListResponse>;
|
|
2625
2625
|
//#endregion
|
|
2626
2626
|
//#region src/admin/tron-cashouts.d.ts
|
|
2627
|
-
declare function listTronCashoutQueue(
|
|
2627
|
+
declare function listTronCashoutQueue(context: TransportContext, input: {
|
|
2628
2628
|
readonly bearer: string;
|
|
2629
2629
|
readonly status?: AdminTronCashoutItem["status"];
|
|
2630
2630
|
}): Promise<AdminTronCashoutListResponse>;
|
|
2631
|
-
declare function approveTronCashout(
|
|
2631
|
+
declare function approveTronCashout(context: TransportContext, input: {
|
|
2632
2632
|
readonly bearer: string;
|
|
2633
2633
|
readonly id: string;
|
|
2634
2634
|
}): Promise<AdminTronCashoutItem>;
|
|
2635
|
-
declare function rejectTronCashout(
|
|
2635
|
+
declare function rejectTronCashout(context: TransportContext, input: {
|
|
2636
2636
|
readonly bearer: string;
|
|
2637
2637
|
readonly id: string;
|
|
2638
2638
|
readonly body: AdminTronCashoutRejectRequest;
|
|
2639
2639
|
}): Promise<AdminTronCashoutItem>;
|
|
2640
2640
|
//#endregion
|
|
2641
2641
|
//#region src/admin/users.d.ts
|
|
2642
|
-
declare function listAdmins(
|
|
2642
|
+
declare function listAdmins(context: TransportContext, input: {
|
|
2643
2643
|
readonly bearer: string;
|
|
2644
2644
|
}): Promise<ListAdminsResponse>;
|
|
2645
|
-
declare function addAdmin(
|
|
2645
|
+
declare function addAdmin(context: TransportContext, input: {
|
|
2646
2646
|
readonly bearer: string;
|
|
2647
2647
|
readonly body: AddAdminRequest;
|
|
2648
2648
|
}): Promise<AdminMutationResponse>;
|
|
2649
|
-
declare function updateAdminRole(
|
|
2649
|
+
declare function updateAdminRole(context: TransportContext, input: {
|
|
2650
2650
|
readonly bearer: string;
|
|
2651
2651
|
readonly id: string;
|
|
2652
2652
|
readonly body: UpdateAdminRoleRequest;
|
|
2653
2653
|
}): Promise<AdminRoleChangeResponse>;
|
|
2654
|
-
declare function removeAdmin(
|
|
2654
|
+
declare function removeAdmin(context: TransportContext, input: {
|
|
2655
2655
|
readonly bearer: string;
|
|
2656
2656
|
readonly id: string;
|
|
2657
2657
|
}): Promise<AdminMutationResponse>;
|
|
2658
|
-
declare function listUsers(
|
|
2658
|
+
declare function listUsers(context: TransportContext, input: {
|
|
2659
2659
|
readonly bearer: string;
|
|
2660
2660
|
readonly search?: string;
|
|
2661
2661
|
readonly offset?: number;
|
|
2662
2662
|
readonly limit?: number;
|
|
2663
2663
|
}): Promise<AdminUserListResponse>;
|
|
2664
|
-
declare function updateUserBan(
|
|
2664
|
+
declare function updateUserBan(context: TransportContext, input: {
|
|
2665
2665
|
readonly bearer: string;
|
|
2666
2666
|
readonly id: string;
|
|
2667
2667
|
readonly body: AdminUserBanRequest;
|
|
2668
2668
|
}): Promise<AdminUserBanResponse>;
|
|
2669
|
-
declare function listAudit(
|
|
2669
|
+
declare function listAudit(context: TransportContext, input: {
|
|
2670
2670
|
readonly bearer: string;
|
|
2671
2671
|
readonly action?: string;
|
|
2672
2672
|
readonly actorId?: string;
|
|
@@ -2677,20 +2677,20 @@ declare function listAudit(ctx: TransportContext, input: {
|
|
|
2677
2677
|
}): Promise<AdminAuditListResponse>;
|
|
2678
2678
|
//#endregion
|
|
2679
2679
|
//#region src/catalog/app-page.d.ts
|
|
2680
|
-
declare function getAppPage(
|
|
2680
|
+
declare function getAppPage(context: TransportContext, input: {
|
|
2681
2681
|
readonly bearer?: string;
|
|
2682
2682
|
readonly slug: string;
|
|
2683
2683
|
}): Promise<PublicAppPage>;
|
|
2684
2684
|
//#endregion
|
|
2685
2685
|
//#region src/catalog/content-reports.d.ts
|
|
2686
|
-
declare function submitAppContentReport(
|
|
2686
|
+
declare function submitAppContentReport(context: TransportContext, input: {
|
|
2687
2687
|
readonly appId: string;
|
|
2688
2688
|
readonly bearer: string;
|
|
2689
2689
|
readonly report: SubmitAppContentReportRequest;
|
|
2690
2690
|
}): Promise<SubmitAppContentReportResponse>;
|
|
2691
2691
|
//#endregion
|
|
2692
2692
|
//#region src/catalog/library.d.ts
|
|
2693
|
-
declare function getLibrary(
|
|
2693
|
+
declare function getLibrary(context: TransportContext, input: {
|
|
2694
2694
|
readonly bearer?: string;
|
|
2695
2695
|
readonly genre?: string;
|
|
2696
2696
|
readonly q?: string;
|
|
@@ -2699,40 +2699,40 @@ declare function getLibrary(ctx: TransportContext, input: {
|
|
|
2699
2699
|
}): Promise<LibraryListResponse>;
|
|
2700
2700
|
//#endregion
|
|
2701
2701
|
//#region src/catalog/reviews.d.ts
|
|
2702
|
-
declare function listGameReviews(
|
|
2702
|
+
declare function listGameReviews(context: TransportContext, input: {
|
|
2703
2703
|
readonly slug: string;
|
|
2704
2704
|
readonly bearer?: string;
|
|
2705
2705
|
readonly sort?: ReviewSort;
|
|
2706
2706
|
readonly limit?: number;
|
|
2707
2707
|
readonly offset?: number;
|
|
2708
2708
|
}): Promise<ReviewListResponse>;
|
|
2709
|
-
declare function listDeveloperAppReviews(
|
|
2709
|
+
declare function listDeveloperAppReviews(context: TransportContext, input: {
|
|
2710
2710
|
readonly appId: string;
|
|
2711
2711
|
readonly bearer: string;
|
|
2712
2712
|
readonly sort?: ReviewSort;
|
|
2713
2713
|
readonly limit?: number;
|
|
2714
2714
|
readonly offset?: number;
|
|
2715
2715
|
}): Promise<ReviewListResponse>;
|
|
2716
|
-
declare function getMyGameReview(
|
|
2716
|
+
declare function getMyGameReview(context: TransportContext, input: {
|
|
2717
2717
|
readonly slug: string;
|
|
2718
2718
|
readonly bearer: string;
|
|
2719
2719
|
}): Promise<MyReviewResponse>;
|
|
2720
|
-
declare function upsertMyGameReview(
|
|
2720
|
+
declare function upsertMyGameReview(context: TransportContext, input: {
|
|
2721
2721
|
readonly slug: string;
|
|
2722
2722
|
readonly bearer: string;
|
|
2723
2723
|
readonly review: UpsertReviewRequest;
|
|
2724
2724
|
}): Promise<MyReviewResponse>;
|
|
2725
|
-
declare function deleteMyGameReview(
|
|
2725
|
+
declare function deleteMyGameReview(context: TransportContext, input: {
|
|
2726
2726
|
readonly slug: string;
|
|
2727
2727
|
readonly bearer: string;
|
|
2728
2728
|
}): Promise<MyReviewResponse>;
|
|
2729
|
-
declare function replyToGameReview(
|
|
2729
|
+
declare function replyToGameReview(context: TransportContext, input: {
|
|
2730
2730
|
readonly appId: string;
|
|
2731
2731
|
readonly reviewId: string;
|
|
2732
2732
|
readonly bearer: string;
|
|
2733
2733
|
readonly reply: UpsertReviewReplyRequest;
|
|
2734
2734
|
}): Promise<ReviewReplyResponse>;
|
|
2735
|
-
declare function deleteGameReviewReply(
|
|
2735
|
+
declare function deleteGameReviewReply(context: TransportContext, input: {
|
|
2736
2736
|
readonly appId: string;
|
|
2737
2737
|
readonly reviewId: string;
|
|
2738
2738
|
readonly bearer: string;
|
|
@@ -2782,7 +2782,7 @@ declare function createConsoleLogger(prefix?: string): Logger;
|
|
|
2782
2782
|
declare function createInMemoryTokenStore(): TokenStore;
|
|
2783
2783
|
//#endregion
|
|
2784
2784
|
//#region src/dashboard/activity.d.ts
|
|
2785
|
-
declare function getActivity(
|
|
2785
|
+
declare function getActivity(context: TransportContext, input: {
|
|
2786
2786
|
readonly bearer: string;
|
|
2787
2787
|
readonly kind?: string;
|
|
2788
2788
|
readonly direction?: "outgoing" | "incoming";
|
|
@@ -2793,24 +2793,24 @@ declare function getActivity(ctx: TransportContext, input: {
|
|
|
2793
2793
|
readonly before?: string;
|
|
2794
2794
|
readonly includeInactive?: boolean;
|
|
2795
2795
|
}): Promise<ActivityResponse>;
|
|
2796
|
-
declare function getActivityGroup(
|
|
2796
|
+
declare function getActivityGroup(context: TransportContext, input: {
|
|
2797
2797
|
readonly bearer: string;
|
|
2798
2798
|
readonly groupId: string;
|
|
2799
2799
|
}): Promise<ActivityResponse>;
|
|
2800
2800
|
//#endregion
|
|
2801
2801
|
//#region src/dashboard/chains.d.ts
|
|
2802
|
-
declare function getPaymentChains(
|
|
2802
|
+
declare function getPaymentChains(context: TransportContext, input: {
|
|
2803
2803
|
readonly bearer: string;
|
|
2804
2804
|
}): Promise<PaymentChainsResponse>;
|
|
2805
2805
|
//#endregion
|
|
2806
2806
|
//#region src/dashboard/outstanding.d.ts
|
|
2807
|
-
declare function getOutstanding(
|
|
2807
|
+
declare function getOutstanding(context: TransportContext, input: {
|
|
2808
2808
|
readonly bearer: string;
|
|
2809
2809
|
readonly chain?: string;
|
|
2810
2810
|
}): Promise<OutstandingResponse>;
|
|
2811
2811
|
//#endregion
|
|
2812
2812
|
//#region src/dashboard/payment-history.d.ts
|
|
2813
|
-
declare function getPaymentHistory(
|
|
2813
|
+
declare function getPaymentHistory(context: TransportContext, input: {
|
|
2814
2814
|
readonly bearer: string;
|
|
2815
2815
|
readonly status?: "pending" | "completed" | "expired" | "all";
|
|
2816
2816
|
readonly limit?: number;
|
|
@@ -2818,52 +2818,52 @@ declare function getPaymentHistory(ctx: TransportContext, input: {
|
|
|
2818
2818
|
}): Promise<PaymentHistoryResponse>;
|
|
2819
2819
|
//#endregion
|
|
2820
2820
|
//#region src/developer/api-keys.d.ts
|
|
2821
|
-
declare function createDeveloperApiKey(
|
|
2821
|
+
declare function createDeveloperApiKey(context: TransportContext, input: {
|
|
2822
2822
|
readonly bearer: string;
|
|
2823
2823
|
readonly body: CreateDeveloperApiKey;
|
|
2824
2824
|
}): Promise<CreateDeveloperApiKeyResponse>;
|
|
2825
|
-
declare function listDeveloperApiKeys(
|
|
2825
|
+
declare function listDeveloperApiKeys(context: TransportContext, input: {
|
|
2826
2826
|
readonly bearer: string;
|
|
2827
2827
|
}): Promise<DeveloperApiKeysResponse>;
|
|
2828
|
-
declare function revokeDeveloperApiKey(
|
|
2828
|
+
declare function revokeDeveloperApiKey(context: TransportContext, input: {
|
|
2829
2829
|
readonly bearer: string;
|
|
2830
2830
|
readonly id: string;
|
|
2831
2831
|
}): Promise<DeveloperOkResponse>;
|
|
2832
2832
|
//#endregion
|
|
2833
2833
|
//#region src/developer/apps.d.ts
|
|
2834
|
-
declare function createDeveloperApp(
|
|
2834
|
+
declare function createDeveloperApp(context: TransportContext, input: {
|
|
2835
2835
|
readonly bearer: string;
|
|
2836
2836
|
readonly body: CreateDeveloperApp;
|
|
2837
2837
|
}): Promise<DeveloperAppIdResponse>;
|
|
2838
|
-
declare function updateDeveloperApp(
|
|
2838
|
+
declare function updateDeveloperApp(context: TransportContext, input: {
|
|
2839
2839
|
readonly bearer: string;
|
|
2840
2840
|
readonly id: string;
|
|
2841
2841
|
readonly body: UpdateDeveloperApp;
|
|
2842
2842
|
}): Promise<DeveloperAppIdResponse>;
|
|
2843
|
-
declare function deleteDeveloperApp(
|
|
2843
|
+
declare function deleteDeveloperApp(context: TransportContext, input: {
|
|
2844
2844
|
readonly bearer: string;
|
|
2845
2845
|
readonly id: string;
|
|
2846
2846
|
}): Promise<DeveloperAppIdResponse>;
|
|
2847
|
-
declare function uploadDeveloperAppLogo(
|
|
2847
|
+
declare function uploadDeveloperAppLogo(context: TransportContext, input: {
|
|
2848
2848
|
readonly bearer: string;
|
|
2849
2849
|
readonly id: string;
|
|
2850
2850
|
readonly file: Blob | ArrayBufferView | ArrayBuffer;
|
|
2851
2851
|
readonly filename: string;
|
|
2852
2852
|
readonly contentType: string;
|
|
2853
2853
|
}): Promise<DeveloperLogoUploadResponse>;
|
|
2854
|
-
declare function deleteDeveloperAppLogo(
|
|
2854
|
+
declare function deleteDeveloperAppLogo(context: TransportContext, input: {
|
|
2855
2855
|
readonly bearer: string;
|
|
2856
2856
|
readonly id: string;
|
|
2857
2857
|
}): Promise<DeveloperLogoUploadResponse>;
|
|
2858
|
-
declare function getDeveloperAppBalances(
|
|
2858
|
+
declare function getDeveloperAppBalances(context: TransportContext, input: {
|
|
2859
2859
|
readonly bearer: string;
|
|
2860
2860
|
readonly id: string;
|
|
2861
2861
|
}): Promise<DeveloperAppBalancesResponse>;
|
|
2862
|
-
declare function getDeveloperAppTronBalance(
|
|
2862
|
+
declare function getDeveloperAppTronBalance(context: TransportContext, input: {
|
|
2863
2863
|
readonly bearer: string;
|
|
2864
2864
|
readonly id: string;
|
|
2865
2865
|
}): Promise<DeveloperAppTronBalanceResponse>;
|
|
2866
|
-
declare function getDeveloperAppActivity(
|
|
2866
|
+
declare function getDeveloperAppActivity(context: TransportContext, input: {
|
|
2867
2867
|
readonly bearer: string;
|
|
2868
2868
|
readonly id: string;
|
|
2869
2869
|
readonly kind?: string;
|
|
@@ -2874,80 +2874,80 @@ declare function getDeveloperAppActivity(ctx: TransportContext, input: {
|
|
|
2874
2874
|
readonly cursor?: string;
|
|
2875
2875
|
readonly before?: string;
|
|
2876
2876
|
}): Promise<ActivityResponse>;
|
|
2877
|
-
declare function getDeveloperAppEarnings(
|
|
2877
|
+
declare function getDeveloperAppEarnings(context: TransportContext, input: {
|
|
2878
2878
|
readonly bearer: string;
|
|
2879
2879
|
readonly id: string;
|
|
2880
2880
|
readonly range?: string;
|
|
2881
2881
|
readonly chain?: string;
|
|
2882
2882
|
}): Promise<DeveloperAppEarningsResponse>;
|
|
2883
|
-
declare function getDeveloperAppPlaytime(
|
|
2883
|
+
declare function getDeveloperAppPlaytime(context: TransportContext, input: {
|
|
2884
2884
|
readonly bearer: string;
|
|
2885
2885
|
readonly id: string;
|
|
2886
2886
|
readonly range?: string;
|
|
2887
2887
|
}): Promise<DeveloperAppPlaytimeResponse>;
|
|
2888
|
-
declare function getDeveloperAppOverview(
|
|
2888
|
+
declare function getDeveloperAppOverview(context: TransportContext, input: {
|
|
2889
2889
|
readonly bearer: string;
|
|
2890
2890
|
readonly id: string;
|
|
2891
2891
|
}): Promise<DeveloperAppOverviewResponse>;
|
|
2892
|
-
declare function getDeveloperAppWallets(
|
|
2892
|
+
declare function getDeveloperAppWallets(context: TransportContext, input: {
|
|
2893
2893
|
readonly bearer: string;
|
|
2894
2894
|
readonly id: string;
|
|
2895
2895
|
}): Promise<DeveloperAppWalletsResponse>;
|
|
2896
|
-
declare function updateDeveloperAppAutoSweep(
|
|
2896
|
+
declare function updateDeveloperAppAutoSweep(context: TransportContext, input: {
|
|
2897
2897
|
readonly bearer: string;
|
|
2898
2898
|
readonly id: string;
|
|
2899
2899
|
readonly chain: string;
|
|
2900
2900
|
readonly body: DeveloperAppAutoSweepRequest;
|
|
2901
2901
|
}): Promise<DeveloperAppAutoSweepResponse>;
|
|
2902
|
-
declare function provisionDeveloperAppWallet(
|
|
2902
|
+
declare function provisionDeveloperAppWallet(context: TransportContext, input: {
|
|
2903
2903
|
readonly bearer: string;
|
|
2904
2904
|
readonly id: string;
|
|
2905
2905
|
readonly chain: string;
|
|
2906
2906
|
}): Promise<DeveloperAppProvisionWalletResponse>;
|
|
2907
|
-
declare function withdrawDeveloperAppWallet(
|
|
2907
|
+
declare function withdrawDeveloperAppWallet(context: TransportContext, input: {
|
|
2908
2908
|
readonly bearer: string;
|
|
2909
2909
|
readonly id: string;
|
|
2910
2910
|
readonly chain: string;
|
|
2911
2911
|
readonly token?: string;
|
|
2912
2912
|
}): Promise<DeveloperAppWithdrawResponse>;
|
|
2913
|
-
declare function consolidateDeveloperAppWallet(
|
|
2913
|
+
declare function consolidateDeveloperAppWallet(context: TransportContext, input: {
|
|
2914
2914
|
readonly bearer: string;
|
|
2915
2915
|
readonly id: string;
|
|
2916
2916
|
readonly chain: string;
|
|
2917
2917
|
}): Promise<DeveloperAppConsolidateResponse>;
|
|
2918
|
-
declare function rotateDeveloperAppKey(
|
|
2918
|
+
declare function rotateDeveloperAppKey(context: TransportContext, input: {
|
|
2919
2919
|
readonly bearer: string;
|
|
2920
2920
|
readonly id: string;
|
|
2921
2921
|
readonly env: "development" | "production";
|
|
2922
2922
|
}): Promise<RegenerateDeveloperAppKeyResponse>;
|
|
2923
|
-
declare function requestDeveloperAppProduction(
|
|
2923
|
+
declare function requestDeveloperAppProduction(context: TransportContext, input: {
|
|
2924
2924
|
readonly bearer: string;
|
|
2925
2925
|
readonly id: string;
|
|
2926
2926
|
readonly body: CreateDeveloperProductionRequest;
|
|
2927
2927
|
}): Promise<CreateDeveloperProductionRequestResponse>;
|
|
2928
|
-
declare function rotateDeveloperAppPaymentWebhookSecret(
|
|
2928
|
+
declare function rotateDeveloperAppPaymentWebhookSecret(context: TransportContext, input: {
|
|
2929
2929
|
readonly bearer: string;
|
|
2930
2930
|
readonly id: string;
|
|
2931
2931
|
}): Promise<RegenerateDeveloperAppWebhookSecretResponse>;
|
|
2932
|
-
declare function getDeveloperPaymentAppeals(
|
|
2932
|
+
declare function getDeveloperPaymentAppeals(context: TransportContext, input: {
|
|
2933
2933
|
readonly bearer: string;
|
|
2934
2934
|
readonly chain?: string;
|
|
2935
2935
|
}): Promise<DevAppealsResponse>;
|
|
2936
|
-
declare function getDeveloperPaymentPendingDeposits(
|
|
2936
|
+
declare function getDeveloperPaymentPendingDeposits(context: TransportContext, input: {
|
|
2937
2937
|
readonly bearer: string;
|
|
2938
2938
|
readonly chain?: string;
|
|
2939
2939
|
}): Promise<DevPendingDepositsResponse>;
|
|
2940
|
-
declare function getDeveloperTronBalanceSummary(
|
|
2940
|
+
declare function getDeveloperTronBalanceSummary(context: TransportContext, input: {
|
|
2941
2941
|
readonly bearer: string;
|
|
2942
2942
|
}): Promise<DeveloperTronBalanceSummaryResponse>;
|
|
2943
|
-
declare function listDeveloperAppContentReports(
|
|
2943
|
+
declare function listDeveloperAppContentReports(context: TransportContext, input: {
|
|
2944
2944
|
readonly bearer: string;
|
|
2945
2945
|
readonly id: string;
|
|
2946
2946
|
readonly status?: AppContentReportStatus;
|
|
2947
2947
|
readonly limit?: number;
|
|
2948
2948
|
readonly offset?: number;
|
|
2949
2949
|
}): Promise<AppContentReportListResponse>;
|
|
2950
|
-
declare function updateDeveloperAppContentReportStatus(
|
|
2950
|
+
declare function updateDeveloperAppContentReportStatus(context: TransportContext, input: {
|
|
2951
2951
|
readonly bearer: string;
|
|
2952
2952
|
readonly id: string;
|
|
2953
2953
|
readonly reportId: string;
|
|
@@ -2955,122 +2955,122 @@ declare function updateDeveloperAppContentReportStatus(ctx: TransportContext, in
|
|
|
2955
2955
|
}): Promise<AppContentReport>;
|
|
2956
2956
|
//#endregion
|
|
2957
2957
|
//#region src/developer/pages.d.ts
|
|
2958
|
-
declare function getDeveloperAppPage(
|
|
2958
|
+
declare function getDeveloperAppPage(context: TransportContext, input: {
|
|
2959
2959
|
readonly bearer: string;
|
|
2960
2960
|
readonly appId: string;
|
|
2961
2961
|
}): Promise<AppPageDraft>;
|
|
2962
|
-
declare function updateAppPage(
|
|
2962
|
+
declare function updateAppPage(context: TransportContext, input: {
|
|
2963
2963
|
readonly bearer: string;
|
|
2964
2964
|
readonly appId: string;
|
|
2965
2965
|
readonly body: UpdateAppPage;
|
|
2966
2966
|
}): Promise<AppPageDraft>;
|
|
2967
|
-
declare function uploadAppPageBanner(
|
|
2967
|
+
declare function uploadAppPageBanner(context: TransportContext, input: {
|
|
2968
2968
|
readonly bearer: string;
|
|
2969
2969
|
readonly appId: string;
|
|
2970
2970
|
readonly file: Blob | ArrayBufferView | ArrayBuffer;
|
|
2971
2971
|
readonly filename: string;
|
|
2972
2972
|
readonly contentType: string;
|
|
2973
2973
|
}): Promise<PostMeDeveloperAppsByAppIdPageBannerResponse>;
|
|
2974
|
-
declare function deleteAppPageBanner(
|
|
2974
|
+
declare function deleteAppPageBanner(context: TransportContext, input: {
|
|
2975
2975
|
readonly bearer: string;
|
|
2976
2976
|
readonly appId: string;
|
|
2977
2977
|
}): Promise<void>;
|
|
2978
|
-
declare function uploadAppPageThumbnail(
|
|
2978
|
+
declare function uploadAppPageThumbnail(context: TransportContext, input: {
|
|
2979
2979
|
readonly bearer: string;
|
|
2980
2980
|
readonly appId: string;
|
|
2981
2981
|
readonly file: Blob | ArrayBufferView | ArrayBuffer;
|
|
2982
2982
|
readonly filename: string;
|
|
2983
2983
|
readonly contentType: string;
|
|
2984
2984
|
}): Promise<PostMeDeveloperAppsByAppIdPageThumbnailResponse>;
|
|
2985
|
-
declare function deleteAppPageThumbnail(
|
|
2985
|
+
declare function deleteAppPageThumbnail(context: TransportContext, input: {
|
|
2986
2986
|
readonly bearer: string;
|
|
2987
2987
|
readonly appId: string;
|
|
2988
2988
|
}): Promise<void>;
|
|
2989
|
-
declare function uploadAppPageThumbnailVideo(
|
|
2989
|
+
declare function uploadAppPageThumbnailVideo(context: TransportContext, input: {
|
|
2990
2990
|
readonly bearer: string;
|
|
2991
2991
|
readonly appId: string;
|
|
2992
2992
|
readonly file: Blob | ArrayBufferView | ArrayBuffer;
|
|
2993
2993
|
readonly filename: string;
|
|
2994
2994
|
readonly contentType: string;
|
|
2995
2995
|
}): Promise<PostMeDeveloperAppsByAppIdPageThumbnailVideoResponse>;
|
|
2996
|
-
declare function deleteAppPageThumbnailVideo(
|
|
2996
|
+
declare function deleteAppPageThumbnailVideo(context: TransportContext, input: {
|
|
2997
2997
|
readonly bearer: string;
|
|
2998
2998
|
readonly appId: string;
|
|
2999
2999
|
}): Promise<void>;
|
|
3000
|
-
declare function uploadAppPageGallery(
|
|
3000
|
+
declare function uploadAppPageGallery(context: TransportContext, input: {
|
|
3001
3001
|
readonly bearer: string;
|
|
3002
3002
|
readonly appId: string;
|
|
3003
3003
|
readonly file: Blob | ArrayBufferView | ArrayBuffer;
|
|
3004
3004
|
readonly filename: string;
|
|
3005
3005
|
readonly contentType: string;
|
|
3006
3006
|
}): Promise<AppPageGalleryUploadResponse>;
|
|
3007
|
-
declare function submitAppPageForReview(
|
|
3007
|
+
declare function submitAppPageForReview(context: TransportContext, input: {
|
|
3008
3008
|
readonly bearer: string;
|
|
3009
3009
|
readonly appId: string;
|
|
3010
3010
|
}): Promise<AppPageDraft>;
|
|
3011
|
-
declare function unpublishAppPage(
|
|
3011
|
+
declare function unpublishAppPage(context: TransportContext, input: {
|
|
3012
3012
|
readonly bearer: string;
|
|
3013
3013
|
readonly appId: string;
|
|
3014
3014
|
}): Promise<AppPageDraft>;
|
|
3015
3015
|
//#endregion
|
|
3016
3016
|
//#region src/developer/participants.d.ts
|
|
3017
|
-
declare function listDeveloperAppParticipants(
|
|
3017
|
+
declare function listDeveloperAppParticipants(context: TransportContext, input: {
|
|
3018
3018
|
readonly bearer: string;
|
|
3019
3019
|
readonly id: string;
|
|
3020
3020
|
}): Promise<DeveloperAppParticipantsResponse>;
|
|
3021
|
-
declare function inviteDeveloperAppParticipant(
|
|
3021
|
+
declare function inviteDeveloperAppParticipant(context: TransportContext, input: {
|
|
3022
3022
|
readonly bearer: string;
|
|
3023
3023
|
readonly id: string;
|
|
3024
3024
|
readonly body: InviteDeveloperAppParticipant;
|
|
3025
3025
|
}): Promise<DeveloperAppParticipantsResponse>;
|
|
3026
|
-
declare function revokeDeveloperAppParticipant(
|
|
3026
|
+
declare function revokeDeveloperAppParticipant(context: TransportContext, input: {
|
|
3027
3027
|
readonly bearer: string;
|
|
3028
3028
|
readonly id: string;
|
|
3029
3029
|
readonly userId: string;
|
|
3030
3030
|
}): Promise<DeveloperOkResponse>;
|
|
3031
|
-
declare function listDeveloperInvites(
|
|
3031
|
+
declare function listDeveloperInvites(context: TransportContext, input: {
|
|
3032
3032
|
readonly bearer: string;
|
|
3033
3033
|
}): Promise<DeveloperInvitesResponse>;
|
|
3034
|
-
declare function acceptDeveloperInvite(
|
|
3034
|
+
declare function acceptDeveloperInvite(context: TransportContext, input: {
|
|
3035
3035
|
readonly bearer: string;
|
|
3036
3036
|
readonly appId: string;
|
|
3037
3037
|
}): Promise<DeveloperOkResponse>;
|
|
3038
|
-
declare function declineDeveloperInvite(
|
|
3038
|
+
declare function declineDeveloperInvite(context: TransportContext, input: {
|
|
3039
3039
|
readonly bearer: string;
|
|
3040
3040
|
readonly appId: string;
|
|
3041
3041
|
}): Promise<DeveloperOkResponse>;
|
|
3042
3042
|
//#endregion
|
|
3043
3043
|
//#region src/developer/profile.d.ts
|
|
3044
|
-
declare function getDeveloperStatus(
|
|
3044
|
+
declare function getDeveloperStatus(context: TransportContext, input: {
|
|
3045
3045
|
readonly bearer: string;
|
|
3046
3046
|
}): Promise<DeveloperMeStatus>;
|
|
3047
|
-
declare function updateDeveloperProfile(
|
|
3047
|
+
declare function updateDeveloperProfile(context: TransportContext, input: {
|
|
3048
3048
|
readonly bearer: string;
|
|
3049
3049
|
readonly body: UpdateDeveloperProfile;
|
|
3050
3050
|
}): Promise<DeveloperOkResponse>;
|
|
3051
|
-
declare function uploadDeveloperProfileLogo(
|
|
3051
|
+
declare function uploadDeveloperProfileLogo(context: TransportContext, input: {
|
|
3052
3052
|
readonly bearer: string;
|
|
3053
3053
|
readonly file: Blob | ArrayBufferView | ArrayBuffer;
|
|
3054
3054
|
readonly filename: string;
|
|
3055
3055
|
readonly contentType: string;
|
|
3056
3056
|
}): Promise<DeveloperLogoUploadResponse>;
|
|
3057
|
-
declare function deleteDeveloperProfileLogo(
|
|
3057
|
+
declare function deleteDeveloperProfileLogo(context: TransportContext, input: {
|
|
3058
3058
|
readonly bearer: string;
|
|
3059
3059
|
}): Promise<DeveloperLogoUploadResponse>;
|
|
3060
|
-
declare function submitDeveloperRequest(
|
|
3060
|
+
declare function submitDeveloperRequest(context: TransportContext, input: {
|
|
3061
3061
|
readonly bearer: string;
|
|
3062
3062
|
readonly body: CreateDeveloperRoleRequest;
|
|
3063
3063
|
}): Promise<DeveloperOkResponse>;
|
|
3064
|
-
declare function uploadDeveloperRequestLogo(
|
|
3064
|
+
declare function uploadDeveloperRequestLogo(context: TransportContext, input: {
|
|
3065
3065
|
readonly bearer: string;
|
|
3066
3066
|
readonly file: Blob | ArrayBufferView | ArrayBuffer;
|
|
3067
3067
|
readonly filename: string;
|
|
3068
3068
|
readonly contentType: string;
|
|
3069
3069
|
}): Promise<DeveloperLogoUploadResponse>;
|
|
3070
|
-
declare function deleteDeveloperRequestLogo(
|
|
3070
|
+
declare function deleteDeveloperRequestLogo(context: TransportContext, input: {
|
|
3071
3071
|
readonly bearer: string;
|
|
3072
3072
|
}): Promise<DeveloperLogoUploadResponse>;
|
|
3073
|
-
declare function uploadMultipart(
|
|
3073
|
+
declare function uploadMultipart(context: TransportContext, input: {
|
|
3074
3074
|
readonly path: string;
|
|
3075
3075
|
readonly bearer: string;
|
|
3076
3076
|
readonly file: Blob | ArrayBufferView | ArrayBuffer;
|
|
@@ -3159,81 +3159,81 @@ type OauthPaymentEventsSubscriber = {
|
|
|
3159
3159
|
declare function startOauthPaymentEventsSubscriber(options: OauthPaymentEventsSubscriberOptions): OauthPaymentEventsSubscriber;
|
|
3160
3160
|
//#endregion
|
|
3161
3161
|
//#region src/inventory/list.d.ts
|
|
3162
|
-
declare function listInventory(
|
|
3162
|
+
declare function listInventory(context: TransportContext, input: {
|
|
3163
3163
|
readonly bearer: string;
|
|
3164
3164
|
}): Promise<InventoryListResponse>;
|
|
3165
|
-
declare function listInventoryForApp(
|
|
3165
|
+
declare function listInventoryForApp(context: TransportContext, input: {
|
|
3166
3166
|
readonly bearer: string;
|
|
3167
3167
|
}): Promise<InventoryListResponse>;
|
|
3168
3168
|
//#endregion
|
|
3169
3169
|
//#region src/inventory/request-mint.d.ts
|
|
3170
|
-
declare function requestMint(
|
|
3170
|
+
declare function requestMint(context: TransportContext, input: {
|
|
3171
3171
|
readonly appBearer: string;
|
|
3172
3172
|
readonly body: MintRequestInput;
|
|
3173
3173
|
}): Promise<MintRequestResult>;
|
|
3174
3174
|
//#endregion
|
|
3175
3175
|
//#region src/messaging/dm-key-backup.d.ts
|
|
3176
|
-
declare function getDmKeyBackupStatus(
|
|
3176
|
+
declare function getDmKeyBackupStatus(context: TransportContext, input: {
|
|
3177
3177
|
readonly bearer: string;
|
|
3178
3178
|
}): Promise<DmKeyBackupStatusResponse>;
|
|
3179
|
-
declare function setupDmKeyBackup(
|
|
3179
|
+
declare function setupDmKeyBackup(context: TransportContext, input: {
|
|
3180
3180
|
readonly bearer: string;
|
|
3181
3181
|
readonly body: DmKeyBackupSetupBody;
|
|
3182
3182
|
}): Promise<DmKeyBackupOkResponse>;
|
|
3183
|
-
declare function unlockDmKeyBackup(
|
|
3183
|
+
declare function unlockDmKeyBackup(context: TransportContext, input: {
|
|
3184
3184
|
readonly bearer: string;
|
|
3185
3185
|
readonly body: DmKeyBackupUnlockBody;
|
|
3186
3186
|
}): Promise<DmKeyBackupUnlockResponse>;
|
|
3187
3187
|
//#endregion
|
|
3188
3188
|
//#region src/messaging/dm-keys.d.ts
|
|
3189
|
-
declare function publishDmKey(
|
|
3189
|
+
declare function publishDmKey(context: TransportContext, input: {
|
|
3190
3190
|
readonly bearer: string;
|
|
3191
3191
|
readonly body: PublishDmKeyBody;
|
|
3192
3192
|
}): Promise<DmKeyResponse>;
|
|
3193
|
-
declare function getMyDmKey(
|
|
3193
|
+
declare function getMyDmKey(context: TransportContext, input: {
|
|
3194
3194
|
readonly bearer: string;
|
|
3195
3195
|
}): Promise<DmKeyResponse | null>;
|
|
3196
|
-
declare function getThreadDmKey(
|
|
3196
|
+
declare function getThreadDmKey(context: TransportContext, input: {
|
|
3197
3197
|
readonly bearer: string;
|
|
3198
3198
|
readonly threadId: string;
|
|
3199
3199
|
}): Promise<DmKeyResponse>;
|
|
3200
|
-
declare function batchThreadDmKeys(
|
|
3200
|
+
declare function batchThreadDmKeys(context: TransportContext, input: {
|
|
3201
3201
|
readonly bearer: string;
|
|
3202
3202
|
readonly threadIds: readonly string[];
|
|
3203
3203
|
}): Promise<BatchThreadDmKeysResponse>;
|
|
3204
3204
|
//#endregion
|
|
3205
3205
|
//#region src/messaging/logo.d.ts
|
|
3206
|
-
declare function uploadThreadLogo(
|
|
3206
|
+
declare function uploadThreadLogo(context: TransportContext, input: {
|
|
3207
3207
|
readonly bearer: string;
|
|
3208
3208
|
readonly threadId: string;
|
|
3209
3209
|
readonly file: Blob | ArrayBufferView | ArrayBuffer;
|
|
3210
3210
|
readonly filename: string;
|
|
3211
3211
|
readonly contentType: string;
|
|
3212
3212
|
}): Promise<GroupThreadMutationResponse>;
|
|
3213
|
-
declare function deleteThreadLogo(
|
|
3213
|
+
declare function deleteThreadLogo(context: TransportContext, input: {
|
|
3214
3214
|
readonly bearer: string;
|
|
3215
3215
|
readonly threadId: string;
|
|
3216
3216
|
}): Promise<GroupThreadMutationResponse>;
|
|
3217
3217
|
//#endregion
|
|
3218
3218
|
//#region src/messaging/messages.d.ts
|
|
3219
|
-
declare function deleteMessage(
|
|
3219
|
+
declare function deleteMessage(context: TransportContext, input: {
|
|
3220
3220
|
readonly bearer: string;
|
|
3221
3221
|
readonly threadId: string;
|
|
3222
3222
|
readonly messageId: string;
|
|
3223
3223
|
}): Promise<MessagingOkResponse>;
|
|
3224
|
-
declare function editMessage(
|
|
3224
|
+
declare function editMessage(context: TransportContext, input: {
|
|
3225
3225
|
readonly bearer: string;
|
|
3226
3226
|
readonly threadId: string;
|
|
3227
3227
|
readonly messageId: string;
|
|
3228
3228
|
readonly body: EditMessageBody;
|
|
3229
3229
|
}): Promise<MessageItem>;
|
|
3230
|
-
declare function addReaction(
|
|
3230
|
+
declare function addReaction(context: TransportContext, input: {
|
|
3231
3231
|
readonly bearer: string;
|
|
3232
3232
|
readonly threadId: string;
|
|
3233
3233
|
readonly messageId: string;
|
|
3234
3234
|
readonly emoji: ReactionEmoji;
|
|
3235
3235
|
}): Promise<ReactionMutationResponse>;
|
|
3236
|
-
declare function removeReaction(
|
|
3236
|
+
declare function removeReaction(context: TransportContext, input: {
|
|
3237
3237
|
readonly bearer: string;
|
|
3238
3238
|
readonly threadId: string;
|
|
3239
3239
|
readonly messageId: string;
|
|
@@ -3241,12 +3241,12 @@ declare function removeReaction(ctx: TransportContext, input: {
|
|
|
3241
3241
|
}): Promise<ReactionMutationResponse>;
|
|
3242
3242
|
//#endregion
|
|
3243
3243
|
//#region src/messaging/participants.d.ts
|
|
3244
|
-
declare function removeParticipant(
|
|
3244
|
+
declare function removeParticipant(context: TransportContext, input: {
|
|
3245
3245
|
readonly bearer: string;
|
|
3246
3246
|
readonly threadId: string;
|
|
3247
3247
|
readonly userId: string;
|
|
3248
3248
|
}): Promise<GroupThreadMutationResponse>;
|
|
3249
|
-
declare function updateParticipantRole(
|
|
3249
|
+
declare function updateParticipantRole(context: TransportContext, input: {
|
|
3250
3250
|
readonly bearer: string;
|
|
3251
3251
|
readonly threadId: string;
|
|
3252
3252
|
readonly userId: string;
|
|
@@ -3254,33 +3254,33 @@ declare function updateParticipantRole(ctx: TransportContext, input: {
|
|
|
3254
3254
|
}): Promise<GroupThreadMutationResponse>;
|
|
3255
3255
|
//#endregion
|
|
3256
3256
|
//#region src/messaging/threads.d.ts
|
|
3257
|
-
declare function deleteThread(
|
|
3257
|
+
declare function deleteThread(context: TransportContext, input: {
|
|
3258
3258
|
readonly bearer: string;
|
|
3259
3259
|
readonly threadId: string;
|
|
3260
3260
|
}): Promise<MessagingOkResponse>;
|
|
3261
|
-
declare function updateThreadSettings(
|
|
3261
|
+
declare function updateThreadSettings(context: TransportContext, input: {
|
|
3262
3262
|
readonly bearer: string;
|
|
3263
3263
|
readonly threadId: string;
|
|
3264
3264
|
readonly body: UpdateThreadSettingsBody;
|
|
3265
3265
|
}): Promise<GroupThreadMutationResponse>;
|
|
3266
|
-
declare function hideThread(
|
|
3266
|
+
declare function hideThread(context: TransportContext, input: {
|
|
3267
3267
|
readonly bearer: string;
|
|
3268
3268
|
readonly threadId: string;
|
|
3269
3269
|
}): Promise<MessagingOkResponse>;
|
|
3270
|
-
declare function inviteParticipants(
|
|
3270
|
+
declare function inviteParticipants(context: TransportContext, input: {
|
|
3271
3271
|
readonly bearer: string;
|
|
3272
3272
|
readonly threadId: string;
|
|
3273
3273
|
readonly body: InviteParticipantsBody;
|
|
3274
3274
|
}): Promise<GroupThreadMutationResponse>;
|
|
3275
|
-
declare function leaveThread(
|
|
3275
|
+
declare function leaveThread(context: TransportContext, input: {
|
|
3276
3276
|
readonly bearer: string;
|
|
3277
3277
|
readonly threadId: string;
|
|
3278
3278
|
}): Promise<MessagingOkResponse>;
|
|
3279
|
-
declare function pinThread(
|
|
3279
|
+
declare function pinThread(context: TransportContext, input: {
|
|
3280
3280
|
readonly bearer: string;
|
|
3281
3281
|
readonly threadId: string;
|
|
3282
3282
|
}): Promise<PinThreadResponse>;
|
|
3283
|
-
declare function unpinThread(
|
|
3283
|
+
declare function unpinThread(context: TransportContext, input: {
|
|
3284
3284
|
readonly bearer: string;
|
|
3285
3285
|
readonly threadId: string;
|
|
3286
3286
|
}): Promise<MessagingOkResponse>;
|
|
@@ -3313,7 +3313,7 @@ type AuthorizeUrl = {
|
|
|
3313
3313
|
declare function buildAuthorizeUrl(input: BuildAuthorizeUrlInput): Promise<AuthorizeUrl>;
|
|
3314
3314
|
//#endregion
|
|
3315
3315
|
//#region src/oauth/client-credentials.d.ts
|
|
3316
|
-
declare function mintClientCredentialsToken(
|
|
3316
|
+
declare function mintClientCredentialsToken(context: TransportContext, input: {
|
|
3317
3317
|
readonly clientId: string;
|
|
3318
3318
|
readonly clientSecret: string;
|
|
3319
3319
|
readonly scope?: readonly OauthScope[] | undefined;
|
|
@@ -3330,7 +3330,7 @@ declare function createAppTokenCache(options: {
|
|
|
3330
3330
|
}): AppTokenCache;
|
|
3331
3331
|
//#endregion
|
|
3332
3332
|
//#region src/oauth/discovery.d.ts
|
|
3333
|
-
declare function fetchAuthorizationServerMetadata(
|
|
3333
|
+
declare function fetchAuthorizationServerMetadata(context: TransportContext): Promise<OauthAuthorizationServerMetadata>;
|
|
3334
3334
|
declare function defaultEndpoints(issuer: string): {
|
|
3335
3335
|
authorize: string;
|
|
3336
3336
|
token: string;
|
|
@@ -3339,10 +3339,10 @@ declare function defaultEndpoints(issuer: string): {
|
|
|
3339
3339
|
};
|
|
3340
3340
|
//#endregion
|
|
3341
3341
|
//#region src/oauth/registration.d.ts
|
|
3342
|
-
declare function registerOauthClient(
|
|
3342
|
+
declare function registerOauthClient(context: TransportContext, input: OauthClientRegistrationRequest): Promise<OauthClientRegistrationResponse>;
|
|
3343
3343
|
//#endregion
|
|
3344
3344
|
//#region src/oauth/revoke.d.ts
|
|
3345
|
-
declare function revokeToken(
|
|
3345
|
+
declare function revokeToken(context: TransportContext, input: {
|
|
3346
3346
|
readonly token: string;
|
|
3347
3347
|
readonly tokenTypeHint?: "access_token" | "refresh_token" | undefined;
|
|
3348
3348
|
readonly clientId: string;
|
|
@@ -3350,14 +3350,14 @@ declare function revokeToken(ctx: TransportContext, input: {
|
|
|
3350
3350
|
}): Promise<void>;
|
|
3351
3351
|
//#endregion
|
|
3352
3352
|
//#region src/oauth/token.d.ts
|
|
3353
|
-
declare function exchangeAuthorizationCode(
|
|
3353
|
+
declare function exchangeAuthorizationCode(context: TransportContext, input: {
|
|
3354
3354
|
readonly code: string;
|
|
3355
3355
|
readonly redirectUri: string;
|
|
3356
3356
|
readonly codeVerifier: string;
|
|
3357
3357
|
readonly clientId: string;
|
|
3358
3358
|
readonly clientSecret?: string | undefined;
|
|
3359
3359
|
}): Promise<OauthTokenResponse>;
|
|
3360
|
-
declare function refreshAccessToken(
|
|
3360
|
+
declare function refreshAccessToken(context: TransportContext, input: {
|
|
3361
3361
|
readonly refreshToken: string;
|
|
3362
3362
|
readonly clientId: string;
|
|
3363
3363
|
readonly clientSecret?: string | undefined;
|
|
@@ -3366,31 +3366,31 @@ declare function refreshAccessToken(ctx: TransportContext, input: {
|
|
|
3366
3366
|
declare function toTokenSet(now: number, response: OauthTokenResponse): TokenSet;
|
|
3367
3367
|
//#endregion
|
|
3368
3368
|
//#region src/oauth/userinfo.d.ts
|
|
3369
|
-
declare function fetchUserInfo(
|
|
3369
|
+
declare function fetchUserInfo(context: TransportContext, input: {
|
|
3370
3370
|
readonly bearer: string;
|
|
3371
3371
|
}): Promise<OauthUserInfoResponse>;
|
|
3372
3372
|
//#endregion
|
|
3373
3373
|
//#region src/payments/appeal.d.ts
|
|
3374
|
-
declare function fileAppeal(
|
|
3374
|
+
declare function fileAppeal(context: TransportContext, input: {
|
|
3375
3375
|
readonly bearer: string;
|
|
3376
3376
|
readonly body: AppealFileRequest;
|
|
3377
3377
|
}): Promise<AppealFileResponse>;
|
|
3378
|
-
declare function fileAppealPotLeg(
|
|
3378
|
+
declare function fileAppealPotLeg(context: TransportContext, input: {
|
|
3379
3379
|
readonly bearer: string;
|
|
3380
3380
|
readonly body: AppealPotLegFileRequest;
|
|
3381
3381
|
}): Promise<AppealFileResponse>;
|
|
3382
3382
|
//#endregion
|
|
3383
3383
|
//#region src/payments/appeal-room.d.ts
|
|
3384
|
-
declare function getAppealRoom(
|
|
3384
|
+
declare function getAppealRoom(context: TransportContext, input: {
|
|
3385
3385
|
readonly bearer: string;
|
|
3386
3386
|
readonly appealId: string;
|
|
3387
3387
|
}): Promise<AppealRoomView>;
|
|
3388
|
-
declare function postAppealRoomMessage(
|
|
3388
|
+
declare function postAppealRoomMessage(context: TransportContext, input: {
|
|
3389
3389
|
readonly bearer: string;
|
|
3390
3390
|
readonly appealId: string;
|
|
3391
3391
|
readonly body: AppealRoomPostRequest;
|
|
3392
3392
|
}): Promise<AppealRoomPostResponse>;
|
|
3393
|
-
declare function uploadAppealRoomAttachment(
|
|
3393
|
+
declare function uploadAppealRoomAttachment(context: TransportContext, input: {
|
|
3394
3394
|
readonly bearer: string;
|
|
3395
3395
|
readonly appealId: string;
|
|
3396
3396
|
readonly file: Blob | ArrayBufferView | ArrayBuffer;
|
|
@@ -3399,7 +3399,7 @@ declare function uploadAppealRoomAttachment(ctx: TransportContext, input: {
|
|
|
3399
3399
|
}): Promise<UploadAttachmentResponse>;
|
|
3400
3400
|
//#endregion
|
|
3401
3401
|
//#region src/payments/cancel-pot.d.ts
|
|
3402
|
-
declare function cancelPot(
|
|
3402
|
+
declare function cancelPot(context: TransportContext, input: {
|
|
3403
3403
|
readonly appBearer: string;
|
|
3404
3404
|
readonly body: OauthPaymentCancelPotRequest;
|
|
3405
3405
|
}): Promise<OauthPaymentCancelPotResponse>;
|
|
@@ -3408,112 +3408,112 @@ declare function cancelPot(ctx: TransportContext, input: {
|
|
|
3408
3408
|
type ChargeResult = OauthPaymentChargeResponse | ({
|
|
3409
3409
|
status: "monthly_limit_exceeded";
|
|
3410
3410
|
} & Omit<OauthPaymentChargeLimitExceeded, "error">);
|
|
3411
|
-
declare function charge(
|
|
3411
|
+
declare function charge(context: TransportContext, input: {
|
|
3412
3412
|
readonly bearer: string;
|
|
3413
3413
|
readonly body: OauthPaymentChargeRequest;
|
|
3414
3414
|
readonly idempotencyKey?: string;
|
|
3415
3415
|
}): Promise<ChargeResult>;
|
|
3416
3416
|
//#endregion
|
|
3417
3417
|
//#region src/payments/distribute.d.ts
|
|
3418
|
-
declare function distributePot(
|
|
3418
|
+
declare function distributePot(context: TransportContext, input: {
|
|
3419
3419
|
readonly appBearer: string;
|
|
3420
3420
|
readonly body: OauthPaymentDistributeRequest;
|
|
3421
3421
|
}): Promise<OauthPaymentDistributeResponse>;
|
|
3422
3422
|
//#endregion
|
|
3423
3423
|
//#region src/payments/intent.d.ts
|
|
3424
|
-
declare function getPaymentIntent(
|
|
3424
|
+
declare function getPaymentIntent(context: TransportContext, input: {
|
|
3425
3425
|
readonly bearer: string;
|
|
3426
3426
|
readonly intentId: string;
|
|
3427
3427
|
}): Promise<OauthPaymentIntentContext>;
|
|
3428
|
-
declare function signPaymentIntent(
|
|
3428
|
+
declare function signPaymentIntent(context: TransportContext, input: {
|
|
3429
3429
|
readonly bearer: string;
|
|
3430
3430
|
readonly intentId: string;
|
|
3431
3431
|
}): Promise<OauthPaymentIntentSignResponse>;
|
|
3432
|
-
declare function completePaymentIntent(
|
|
3432
|
+
declare function completePaymentIntent(context: TransportContext, input: {
|
|
3433
3433
|
readonly bearer: string;
|
|
3434
3434
|
readonly intentId: string;
|
|
3435
3435
|
readonly body: OauthPaymentIntentComplete;
|
|
3436
3436
|
}): Promise<OauthPaymentIntentResolveResponse>;
|
|
3437
|
-
declare function denyPaymentIntent(
|
|
3437
|
+
declare function denyPaymentIntent(context: TransportContext, input: {
|
|
3438
3438
|
readonly bearer: string;
|
|
3439
3439
|
readonly intentId: string;
|
|
3440
3440
|
}): Promise<OauthPaymentIntentResolveResponse>;
|
|
3441
3441
|
//#endregion
|
|
3442
3442
|
//#region src/payments/limits.d.ts
|
|
3443
|
-
declare function getPaymentLimits(
|
|
3443
|
+
declare function getPaymentLimits(context: TransportContext, input: {
|
|
3444
3444
|
readonly bearer: string;
|
|
3445
3445
|
}): Promise<OauthPaymentLimitsResponse>;
|
|
3446
3446
|
//#endregion
|
|
3447
3447
|
//#region src/payments/moonpay.d.ts
|
|
3448
|
-
declare function getMoonpayAvailability(
|
|
3448
|
+
declare function getMoonpayAvailability(context: TransportContext, input: {
|
|
3449
3449
|
readonly bearer: string;
|
|
3450
3450
|
}): Promise<MoonpayAvailabilityResponse>;
|
|
3451
|
-
declare function mintMoonpayBuyUrl(
|
|
3451
|
+
declare function mintMoonpayBuyUrl(context: TransportContext, input: {
|
|
3452
3452
|
readonly bearer: string;
|
|
3453
3453
|
readonly body: MoonpayBuyUrlRequest;
|
|
3454
3454
|
}): Promise<MoonpayBuyUrlResponse>;
|
|
3455
|
-
declare function mintMoonpaySellUrl(
|
|
3455
|
+
declare function mintMoonpaySellUrl(context: TransportContext, input: {
|
|
3456
3456
|
readonly bearer: string;
|
|
3457
3457
|
readonly body: MoonpaySellUrlRequest;
|
|
3458
3458
|
}): Promise<MoonpaySellUrlResponse>;
|
|
3459
3459
|
//#endregion
|
|
3460
3460
|
//#region src/payments/payout.d.ts
|
|
3461
|
-
declare function requestPayout(
|
|
3461
|
+
declare function requestPayout(context: TransportContext, input: {
|
|
3462
3462
|
readonly appBearer: string;
|
|
3463
3463
|
readonly body: OauthPaymentPayoutRequest;
|
|
3464
3464
|
}): Promise<OauthPaymentPayoutResponse>;
|
|
3465
3465
|
//#endregion
|
|
3466
3466
|
//#region src/payments/price.d.ts
|
|
3467
|
-
declare function getPaymentPrice(
|
|
3467
|
+
declare function getPaymentPrice(context: TransportContext, input: {
|
|
3468
3468
|
readonly bearer: string;
|
|
3469
3469
|
} & GetOauthPaymentsPriceData["query"]): Promise<OauthPaymentPriceResponse>;
|
|
3470
3470
|
//#endregion
|
|
3471
3471
|
//#region src/payments/status.d.ts
|
|
3472
|
-
declare function getIntentStatus(
|
|
3472
|
+
declare function getIntentStatus(context: TransportContext, input: {
|
|
3473
3473
|
readonly bearer: string;
|
|
3474
3474
|
readonly intentId: string;
|
|
3475
3475
|
}): Promise<OauthPaymentIntentStatus>;
|
|
3476
3476
|
//#endregion
|
|
3477
3477
|
//#region src/payments/tron.d.ts
|
|
3478
|
-
declare function getTronBalance(
|
|
3478
|
+
declare function getTronBalance(context: TransportContext, input: {
|
|
3479
3479
|
readonly bearer: string;
|
|
3480
3480
|
}): Promise<TronBalanceResponse>;
|
|
3481
|
-
declare function listTronLedger(
|
|
3481
|
+
declare function listTronLedger(context: TransportContext, input: {
|
|
3482
3482
|
readonly bearer: string;
|
|
3483
3483
|
readonly before?: string;
|
|
3484
3484
|
}): Promise<TronLedgerResponse>;
|
|
3485
|
-
declare function createTronDeposit(
|
|
3485
|
+
declare function createTronDeposit(context: TransportContext, input: {
|
|
3486
3486
|
readonly bearer: string;
|
|
3487
3487
|
readonly body: TronDepositRequest;
|
|
3488
3488
|
}): Promise<TronDepositResponse>;
|
|
3489
|
-
declare function createTronConnectOnboarding(
|
|
3489
|
+
declare function createTronConnectOnboarding(context: TransportContext, input: {
|
|
3490
3490
|
readonly bearer: string;
|
|
3491
3491
|
}): Promise<TronConnectOnboardingResponse>;
|
|
3492
|
-
declare function createTronCashout(
|
|
3492
|
+
declare function createTronCashout(context: TransportContext, input: {
|
|
3493
3493
|
readonly bearer: string;
|
|
3494
3494
|
readonly body: TronCashoutCreateRequest;
|
|
3495
3495
|
}): Promise<TronCashoutItem>;
|
|
3496
|
-
declare function listTronCashouts(
|
|
3496
|
+
declare function listTronCashouts(context: TransportContext, input: {
|
|
3497
3497
|
readonly bearer: string;
|
|
3498
3498
|
}): Promise<TronCashoutListResponse>;
|
|
3499
3499
|
//#endregion
|
|
3500
3500
|
//#region src/payments/tron-game.d.ts
|
|
3501
|
-
declare function chargeTronPot(
|
|
3501
|
+
declare function chargeTronPot(context: TransportContext, input: {
|
|
3502
3502
|
readonly bearer: string;
|
|
3503
3503
|
readonly idempotencyKey: string;
|
|
3504
3504
|
readonly body: TronChargeRequest;
|
|
3505
3505
|
}): Promise<TronChargeResponse>;
|
|
3506
|
-
declare function chargeTronDirect(
|
|
3506
|
+
declare function chargeTronDirect(context: TransportContext, input: {
|
|
3507
3507
|
readonly bearer: string;
|
|
3508
3508
|
readonly idempotencyKey: string;
|
|
3509
3509
|
readonly body: TronDirectChargeRequest;
|
|
3510
3510
|
}): Promise<TronDirectChargeResponse>;
|
|
3511
|
-
declare function distributeTronPot(
|
|
3511
|
+
declare function distributeTronPot(context: TransportContext, input: {
|
|
3512
3512
|
readonly bearer: string;
|
|
3513
3513
|
readonly idempotencyKey: string;
|
|
3514
3514
|
readonly body: TronDistributeRequest;
|
|
3515
3515
|
}): Promise<TronDistributeResponse>;
|
|
3516
|
-
declare function getTronGameBalance(
|
|
3516
|
+
declare function getTronGameBalance(context: TransportContext, input: {
|
|
3517
3517
|
readonly bearer: string;
|
|
3518
3518
|
}): Promise<TronGameBalanceResponse>;
|
|
3519
3519
|
//#endregion
|
|
@@ -3526,7 +3526,7 @@ type MountPresenceWidgetOptions = {
|
|
|
3526
3526
|
readonly container?: HTMLElement;
|
|
3527
3527
|
readonly onPlaySessionId?: (playSessionId: string | null) => void;
|
|
3528
3528
|
readonly onStatus?: (status: PresenceStatus) => void;
|
|
3529
|
-
readonly onAuthChange?: (
|
|
3529
|
+
readonly onAuthChange?: (isAuthenticated: boolean) => void;
|
|
3530
3530
|
readonly styleIframe?: (iframe: HTMLIFrameElement) => void;
|
|
3531
3531
|
readonly onPresentationChange?: (mode: "chip" | "overlay") => void;
|
|
3532
3532
|
readonly background?: string;
|
|
@@ -3549,46 +3549,46 @@ type ConfirmResponse = {
|
|
|
3549
3549
|
type StatusResponse = {
|
|
3550
3550
|
readonly status: PlaySessionGameStatus;
|
|
3551
3551
|
};
|
|
3552
|
-
declare function confirmPlaySession(
|
|
3552
|
+
declare function confirmPlaySession(context: TransportContext, input: {
|
|
3553
3553
|
readonly credentials: GameHalfCredentials;
|
|
3554
3554
|
readonly playSessionId: string;
|
|
3555
3555
|
readonly userId: string;
|
|
3556
3556
|
}): Promise<ConfirmResponse>;
|
|
3557
|
-
declare function heartbeatPlaySession(
|
|
3557
|
+
declare function heartbeatPlaySession(context: TransportContext, input: {
|
|
3558
3558
|
readonly credentials: GameHalfCredentials;
|
|
3559
3559
|
readonly playSessionId: string;
|
|
3560
3560
|
}): Promise<StatusResponse>;
|
|
3561
|
-
declare function endPlaySession(
|
|
3561
|
+
declare function endPlaySession(context: TransportContext, input: {
|
|
3562
3562
|
readonly credentials: GameHalfCredentials;
|
|
3563
3563
|
readonly playSessionId: string;
|
|
3564
3564
|
}): Promise<StatusResponse>;
|
|
3565
3565
|
//#endregion
|
|
3566
3566
|
//#region src/reads/messaging.d.ts
|
|
3567
|
-
declare function listThreads(
|
|
3567
|
+
declare function listThreads(context: TransportContext, input: {
|
|
3568
3568
|
readonly bearer: string;
|
|
3569
3569
|
readonly limit?: number;
|
|
3570
3570
|
readonly cursor?: string;
|
|
3571
3571
|
}): Promise<ThreadListResponse>;
|
|
3572
|
-
declare function createDirectThread(
|
|
3572
|
+
declare function createDirectThread(context: TransportContext, input: {
|
|
3573
3573
|
readonly bearer: string;
|
|
3574
3574
|
readonly body: CreateDirectThreadBody;
|
|
3575
3575
|
}): Promise<ThreadSummary>;
|
|
3576
|
-
declare function listThreadMessages(
|
|
3576
|
+
declare function listThreadMessages(context: TransportContext, input: {
|
|
3577
3577
|
readonly bearer: string;
|
|
3578
3578
|
readonly threadId: string;
|
|
3579
3579
|
readonly limit?: number;
|
|
3580
3580
|
readonly cursor?: string;
|
|
3581
3581
|
}): Promise<MessagesPageResponse>;
|
|
3582
|
-
declare function sendMessage(
|
|
3582
|
+
declare function sendMessage(context: TransportContext, input: {
|
|
3583
3583
|
readonly bearer: string;
|
|
3584
3584
|
readonly threadId: string;
|
|
3585
3585
|
readonly body: SendMessageBody;
|
|
3586
3586
|
}): Promise<void>;
|
|
3587
|
-
declare function markThreadRead(
|
|
3587
|
+
declare function markThreadRead(context: TransportContext, input: {
|
|
3588
3588
|
readonly bearer: string;
|
|
3589
3589
|
readonly threadId: string;
|
|
3590
3590
|
}): Promise<void>;
|
|
3591
|
-
declare function uploadAttachment(
|
|
3591
|
+
declare function uploadAttachment(context: TransportContext, input: {
|
|
3592
3592
|
readonly bearer: string;
|
|
3593
3593
|
readonly threadId: string;
|
|
3594
3594
|
readonly file: Blob | ArrayBufferView | ArrayBuffer;
|
|
@@ -3597,116 +3597,116 @@ declare function uploadAttachment(ctx: TransportContext, input: {
|
|
|
3597
3597
|
}): Promise<UploadAttachmentResponse>;
|
|
3598
3598
|
//#endregion
|
|
3599
3599
|
//#region src/reads/notifications.d.ts
|
|
3600
|
-
declare function listNotifications(
|
|
3600
|
+
declare function listNotifications(context: TransportContext, input: {
|
|
3601
3601
|
readonly bearer: string;
|
|
3602
3602
|
readonly limit?: number;
|
|
3603
3603
|
readonly cursor?: string;
|
|
3604
3604
|
}): Promise<NotificationListResponse>;
|
|
3605
|
-
declare function updateNotification(
|
|
3605
|
+
declare function updateNotification(context: TransportContext, input: {
|
|
3606
3606
|
readonly bearer: string;
|
|
3607
3607
|
readonly notificationId: string;
|
|
3608
3608
|
readonly body: NotificationUpdate;
|
|
3609
3609
|
}): Promise<void>;
|
|
3610
|
-
declare function markAllNotificationsRead(
|
|
3610
|
+
declare function markAllNotificationsRead(context: TransportContext, input: {
|
|
3611
3611
|
readonly bearer: string;
|
|
3612
3612
|
}): Promise<void>;
|
|
3613
3613
|
//#endregion
|
|
3614
3614
|
//#region src/reads/playtime.d.ts
|
|
3615
|
-
declare function getPlaytime(
|
|
3615
|
+
declare function getPlaytime(context: TransportContext, input: {
|
|
3616
3616
|
readonly bearer: string;
|
|
3617
3617
|
}): Promise<PlaytimeOverview>;
|
|
3618
|
-
declare function getPlaytimeTimeseries(
|
|
3618
|
+
declare function getPlaytimeTimeseries(context: TransportContext, input: {
|
|
3619
3619
|
readonly bearer: string;
|
|
3620
3620
|
readonly days?: number;
|
|
3621
3621
|
}): Promise<PlaytimeTimeseries>;
|
|
3622
3622
|
//#endregion
|
|
3623
3623
|
//#region src/reads/profile.d.ts
|
|
3624
|
-
declare function getPublicProfile(
|
|
3624
|
+
declare function getPublicProfile(context: TransportContext, input: {
|
|
3625
3625
|
readonly bearer?: string;
|
|
3626
3626
|
readonly handle: string;
|
|
3627
3627
|
}): Promise<PublicProfile>;
|
|
3628
|
-
declare function searchUsers(
|
|
3628
|
+
declare function searchUsers(context: TransportContext, input: {
|
|
3629
3629
|
readonly bearer: string;
|
|
3630
3630
|
readonly q: string;
|
|
3631
3631
|
readonly limit?: number;
|
|
3632
3632
|
}): Promise<UserSearchResponse>;
|
|
3633
3633
|
//#endregion
|
|
3634
3634
|
//#region src/reads/referral.d.ts
|
|
3635
|
-
declare function getReferral(
|
|
3635
|
+
declare function getReferral(context: TransportContext, input: {
|
|
3636
3636
|
readonly bearer: string;
|
|
3637
3637
|
}): Promise<ReferralOverview>;
|
|
3638
|
-
declare function createReferralCode(
|
|
3638
|
+
declare function createReferralCode(context: TransportContext, input: {
|
|
3639
3639
|
readonly bearer: string;
|
|
3640
3640
|
readonly regenerate?: boolean;
|
|
3641
3641
|
}): Promise<ReferralCodeResponse>;
|
|
3642
|
-
declare function previewReferral(
|
|
3642
|
+
declare function previewReferral(context: TransportContext, input: {
|
|
3643
3643
|
readonly bearer: string;
|
|
3644
3644
|
readonly code: string;
|
|
3645
3645
|
}): Promise<ReferralPreviewResponse>;
|
|
3646
|
-
declare function bindReferral(
|
|
3646
|
+
declare function bindReferral(context: TransportContext, input: {
|
|
3647
3647
|
readonly bearer: string;
|
|
3648
3648
|
} & ReferralBindRequest): Promise<ReferralBindResponse>;
|
|
3649
3649
|
//#endregion
|
|
3650
3650
|
//#region src/reads/social-graph.d.ts
|
|
3651
|
-
declare function followUser(
|
|
3651
|
+
declare function followUser(context: TransportContext, input: {
|
|
3652
3652
|
readonly bearer: string;
|
|
3653
3653
|
readonly userId: string;
|
|
3654
3654
|
}): Promise<void>;
|
|
3655
|
-
declare function unfollowUser(
|
|
3655
|
+
declare function unfollowUser(context: TransportContext, input: {
|
|
3656
3656
|
readonly bearer: string;
|
|
3657
3657
|
readonly userId: string;
|
|
3658
3658
|
}): Promise<void>;
|
|
3659
|
-
declare function sendFriendRequest(
|
|
3659
|
+
declare function sendFriendRequest(context: TransportContext, input: {
|
|
3660
3660
|
readonly bearer: string;
|
|
3661
3661
|
readonly userId: string;
|
|
3662
3662
|
}): Promise<void>;
|
|
3663
|
-
declare function decideFriendRequest(
|
|
3663
|
+
declare function decideFriendRequest(context: TransportContext, input: {
|
|
3664
3664
|
readonly bearer: string;
|
|
3665
3665
|
readonly requestId: string;
|
|
3666
3666
|
readonly decision: FriendRequestDecision["decision"];
|
|
3667
3667
|
}): Promise<void>;
|
|
3668
|
-
declare function cancelFriendRequest(
|
|
3668
|
+
declare function cancelFriendRequest(context: TransportContext, input: {
|
|
3669
3669
|
readonly bearer: string;
|
|
3670
3670
|
readonly requestId: string;
|
|
3671
3671
|
}): Promise<void>;
|
|
3672
|
-
declare function listFriends(
|
|
3672
|
+
declare function listFriends(context: TransportContext, input: {
|
|
3673
3673
|
readonly bearer: string;
|
|
3674
3674
|
}): Promise<FriendListResponse>;
|
|
3675
3675
|
//#endregion
|
|
3676
3676
|
//#region src/reads/socials.d.ts
|
|
3677
|
-
declare function listSocials(
|
|
3677
|
+
declare function listSocials(context: TransportContext, input: {
|
|
3678
3678
|
readonly bearer: string;
|
|
3679
3679
|
}): Promise<SocialListResponse>;
|
|
3680
3680
|
//#endregion
|
|
3681
3681
|
//#region src/reads/wallets.d.ts
|
|
3682
|
-
declare function listWallets(
|
|
3682
|
+
declare function listWallets(context: TransportContext, input: {
|
|
3683
3683
|
readonly bearer: string;
|
|
3684
3684
|
}): Promise<WalletListResponse>;
|
|
3685
3685
|
//#endregion
|
|
3686
3686
|
//#region src/wallets-mgmt/delegation.d.ts
|
|
3687
|
-
declare function getDelegation(
|
|
3687
|
+
declare function getDelegation(context: TransportContext, input: {
|
|
3688
3688
|
readonly bearer: string;
|
|
3689
3689
|
readonly address: string;
|
|
3690
3690
|
}): Promise<WalletDelegationStatus>;
|
|
3691
|
-
declare function createDelegation(
|
|
3691
|
+
declare function createDelegation(context: TransportContext, input: {
|
|
3692
3692
|
readonly bearer: string;
|
|
3693
3693
|
readonly address: string;
|
|
3694
3694
|
readonly body: CreateWalletDelegation;
|
|
3695
3695
|
}): Promise<CreateWalletDelegationResponse>;
|
|
3696
|
-
declare function deleteDelegation(
|
|
3696
|
+
declare function deleteDelegation(context: TransportContext, input: {
|
|
3697
3697
|
readonly bearer: string;
|
|
3698
3698
|
readonly address: string;
|
|
3699
3699
|
}): Promise<DeleteWalletDelegationResponse>;
|
|
3700
3700
|
//#endregion
|
|
3701
3701
|
//#region src/wallets-mgmt/label.d.ts
|
|
3702
|
-
declare function updateWalletLabel(
|
|
3702
|
+
declare function updateWalletLabel(context: TransportContext, input: {
|
|
3703
3703
|
readonly bearer: string;
|
|
3704
3704
|
readonly address: string;
|
|
3705
3705
|
readonly body: WalletLabelUpdate;
|
|
3706
3706
|
}): Promise<WalletLabelUpdateResponse>;
|
|
3707
3707
|
//#endregion
|
|
3708
3708
|
//#region src/wallets-mgmt/list.d.ts
|
|
3709
|
-
declare function listWalletManager(
|
|
3709
|
+
declare function listWalletManager(context: TransportContext, input: {
|
|
3710
3710
|
readonly bearer: string;
|
|
3711
3711
|
}): Promise<WalletListResponse>;
|
|
3712
3712
|
//#endregion
|