@metatrongg/sdk 0.8.0-dev.5f0a52b → 0.8.0-dev.60b34b5

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