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