@metatrongg/sdk 0.8.0-dev.5f0a52b → 0.8.0-dev.bd2258f

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