@metatrongg/sdk 0.8.0-dev.35a45fe → 0.8.0-dev.3dc9fcb

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.
@@ -114,7 +114,7 @@ type Username = string;
114
114
  type DisplayName = string | null;
115
115
  type Bio = string | null;
116
116
  type WebsiteUrl = string | null;
117
- type BannerVariant = "yellow" | "green" | "blue" | "white" | "black";
117
+ type BannerVariant = "yellow" | "green" | "blue" | "white" | "black" | "red";
118
118
  type AdminRole = "super-admin" | "admin" | "read-only" | null;
119
119
  type PresenceStatusMode = "auto" | "online" | "offline";
120
120
  type PlatformEnvironment = "development" | "production";
@@ -129,7 +129,7 @@ type OauthAuthorizationServerMetadata = {
129
129
  grant_types_supported: Array<"authorization_code" | "refresh_token" | "client_credentials">;
130
130
  code_challenge_methods_supported: Array<"S256">;
131
131
  token_endpoint_auth_methods_supported: Array<"client_secret_basic" | "client_secret_post" | "none">;
132
- scopes_supported: Array<"openid" | "profile" | "payments:charge" | "inventory:read" | "developer:read" | "developer:apps" | "developer:pages">;
132
+ scopes_supported: Array<"openid" | "profile" | "payments:charge" | "inventory:read" | "social:read" | "developer:read" | "developer:apps" | "developer:pages">;
133
133
  };
134
134
  type OauthClientRegistrationResponse = {
135
135
  client_id: string;
@@ -169,7 +169,9 @@ type OauthErrorResponse = {
169
169
  type OauthUserInfoResponse = {
170
170
  sub: string;
171
171
  name: string | null;
172
+ preferred_username: string | null;
172
173
  picture: string | null;
174
+ wallet_address: string | null;
173
175
  };
174
176
  type OauthPaymentChargeResponse = ({
175
177
  status: "completed";
@@ -289,7 +291,15 @@ type OauthPaymentIntentContext = {
289
291
  };
290
292
  } | null;
291
293
  environment: "development" | "production";
294
+ onramp?: {
295
+ kind: "bridge";
296
+ from: PaymentNetwork;
297
+ to: PaymentNetwork;
298
+ } | {
299
+ kind: "insufficient";
300
+ };
292
301
  };
302
+ type PaymentNetwork = "ethereum" | "base" | "solana";
293
303
  type OauthPaymentIntentSignResponse = {
294
304
  chain: string;
295
305
  chainId: number;
@@ -422,6 +432,119 @@ type AppPageAgeRating = "everyone" | "13_plus" | "16_plus" | "18_plus" | null;
422
432
  type AppPageLanguages = Array<"en" | "es" | "fr" | "de" | "pt" | "it" | "ru" | "ja" | "ko" | "zh" | "hi" | "ar" | "tr" | "vi" | "id" | "th" | "pl" | "nl">;
423
433
  type AppPageReleaseStatus = "live" | "open_beta" | "coming_soon";
424
434
  type AppPagePaymentsMode = "tron" | "onchain" | "both" | null;
435
+ type PublicBipPage = {
436
+ appId: string;
437
+ slug: AppPageSlug;
438
+ appName: string;
439
+ appLogoUrl: string | null;
440
+ categories: AppPageCategories;
441
+ tagline: AppPageTagline;
442
+ bannerUrl: string | null;
443
+ discordUrl: string | null;
444
+ twitterUrl: string | null;
445
+ redditUrl: string | null;
446
+ telegramUrl: string | null;
447
+ gallery: AppPageGallery;
448
+ chapters: AppPageChapters;
449
+ links: AppPageLinks;
450
+ studio: PublicAppPageStudio;
451
+ platforms: AppPagePlatforms;
452
+ gameType: AppPageGameType;
453
+ ageRating: AppPageAgeRating;
454
+ languages: AppPageLanguages;
455
+ releaseStatus: AppPageReleaseStatus;
456
+ publishedAt: string;
457
+ updatedAt: string;
458
+ };
459
+ type BipUpdateListResponse = {
460
+ updates: Array<BipUpdate>;
461
+ total: number;
462
+ hasMore: boolean;
463
+ };
464
+ type BipUpdate = {
465
+ id: string;
466
+ appId: string;
467
+ body: BipUpdateBody;
468
+ attachments: BipUpdateAttachments;
469
+ reactions: BipUpdateReactionCounts;
470
+ commentCount: number;
471
+ createdAt: string;
472
+ updatedAt: string;
473
+ };
474
+ type BipUpdateBody = string;
475
+ type BipUpdateAttachments = Array<BipUpdateAttachment>;
476
+ type BipUpdateAttachment = {
477
+ url: string;
478
+ kind: "image" | "video";
479
+ order: number;
480
+ };
481
+ type BipUpdateReactionCounts = {
482
+ up: number;
483
+ down: number;
484
+ };
485
+ type BipUpdateCommentListResponse = {
486
+ comments: Array<BipUpdateComment>;
487
+ total: number;
488
+ hasMore: boolean;
489
+ };
490
+ type BipUpdateComment = {
491
+ id: string;
492
+ body: BipUpdateCommentBody;
493
+ author: ReviewAuthor;
494
+ createdAt: string;
495
+ };
496
+ type BipUpdateCommentBody = string;
497
+ type ReviewAuthor = {
498
+ userId: string;
499
+ handle: string | null;
500
+ name: string | null;
501
+ avatarUrl: string | null;
502
+ };
503
+ type BipInterestCountResponse = {
504
+ interestCount: number;
505
+ };
506
+ type BipEngagementResponse = {
507
+ interested: boolean;
508
+ subscribed: boolean;
509
+ interestCount: number;
510
+ };
511
+ type MyBipUpdateReactionsResponse = {
512
+ reactions: Array<MyBipUpdateReaction>;
513
+ };
514
+ type MyBipUpdateReaction = {
515
+ updateId: string;
516
+ vote: "up" | "down";
517
+ };
518
+ type SetBipUpdateReactionResponse = {
519
+ reactions: BipUpdateReactionCounts;
520
+ vote: BipUpdateVote;
521
+ };
522
+ type BipUpdateVote = "up" | "down" | null;
523
+ type SetBipUpdateReactionRequest = {
524
+ vote: BipUpdateVote;
525
+ };
526
+ type CreateBipUpdateCommentResponse = {
527
+ comment: BipUpdateComment;
528
+ commentCount: number;
529
+ };
530
+ type DeleteBipUpdateCommentResponse = {
531
+ commentCount: number;
532
+ };
533
+ type CreateBipUpdateRequest = {
534
+ body: BipUpdateBody;
535
+ attachments?: BipUpdateAttachments;
536
+ };
537
+ type UpdateBipUpdateRequest = {
538
+ body?: BipUpdateBody;
539
+ attachments?: BipUpdateAttachments;
540
+ };
541
+ type DeleteBipUpdateResponse = {
542
+ deleted: true;
543
+ };
544
+ type BipUpdateMediaUploadResponse = {
545
+ url: string;
546
+ kind: "image" | "video";
547
+ };
425
548
  type ReviewListResponse = {
426
549
  aggregate: ReviewAggregate;
427
550
  reviews: Array<Review>;
@@ -455,12 +578,6 @@ type ReviewReactionCounts = {
455
578
  unhelpful: number;
456
579
  funny: number;
457
580
  };
458
- type ReviewAuthor = {
459
- userId: string;
460
- handle: string | null;
461
- name: string | null;
462
- avatarUrl: string | null;
463
- };
464
581
  type ReviewerStats = {
465
582
  playtimeSecondsThisGame: number;
466
583
  gamesPlayed: number;
@@ -1214,12 +1331,15 @@ type WalletListResponse = {
1214
1331
  wallets: Array<WalletItem>;
1215
1332
  };
1216
1333
  type WalletChainList = Array<{
1217
- id: "ethereum-mainnet" | "base-mainnet" | "ethereum-sepolia";
1334
+ id: "ethereum-mainnet" | "base-mainnet" | "ethereum-sepolia" | "base-sepolia" | "solana-mainnet" | "solana-devnet";
1218
1335
  displayName: string;
1219
- chainId: number;
1336
+ family: "evm" | "solana";
1337
+ nativeSymbol: string;
1338
+ chainId?: number;
1220
1339
  }>;
1221
1340
  type WalletItem = {
1222
- address: string;
1341
+ address: string | string;
1342
+ family: "evm" | "solana";
1223
1343
  label: WalletLabel;
1224
1344
  kind: "personal" | "app";
1225
1345
  app: WalletAppLink;
@@ -1236,6 +1356,9 @@ type WalletBalances = {
1236
1356
  "ethereum-mainnet"?: WalletChainBalance;
1237
1357
  "base-mainnet"?: WalletChainBalance;
1238
1358
  "ethereum-sepolia"?: WalletChainBalance;
1359
+ "base-sepolia"?: WalletChainBalance;
1360
+ "solana-mainnet"?: WalletChainBalance;
1361
+ "solana-devnet"?: WalletChainBalance;
1239
1362
  };
1240
1363
  type WalletChainBalance = {
1241
1364
  native: string;
@@ -1245,12 +1368,14 @@ type WalletDelegationStatus = {
1245
1368
  mode: WalletDelegationMode;
1246
1369
  caps: WalletDelegationCaps;
1247
1370
  policyId: string | null;
1371
+ slippageBps: DelegationSlippageBps;
1248
1372
  };
1249
1373
  type WalletDelegationMode = "infinite" | "custom" | "scoped" | null;
1250
1374
  type WalletDelegationCaps = {
1251
1375
  native: string;
1252
1376
  usdc: string;
1253
1377
  } | null;
1378
+ type DelegationSlippageBps = number | null;
1254
1379
  type WalletLabelUpdateResponse = {
1255
1380
  address: string;
1256
1381
  label: WalletLabel;
@@ -1348,6 +1473,7 @@ type MessageTransactionNftTransfer = {
1348
1473
  tokenId: string;
1349
1474
  amount: string;
1350
1475
  itemName: string | null;
1476
+ imageAssetId?: string | null;
1351
1477
  };
1352
1478
  type GroupThreadSummary = {
1353
1479
  kind: "group";
@@ -1909,6 +2035,18 @@ type NotificationItem = {
1909
2035
  payload: AppPageRejectedNotificationPayload;
1910
2036
  read: boolean;
1911
2037
  createdAt: string;
2038
+ } | {
2039
+ id: string;
2040
+ kind: "bip_update_published";
2041
+ payload: BipUpdatePublishedNotificationPayload;
2042
+ read: boolean;
2043
+ createdAt: string;
2044
+ } | {
2045
+ id: string;
2046
+ kind: "bip_now_playable";
2047
+ payload: BipNowPlayableNotificationPayload;
2048
+ read: boolean;
2049
+ createdAt: string;
1912
2050
  } | {
1913
2051
  id: string;
1914
2052
  kind: "app_participant_invite";
@@ -1939,14 +2077,25 @@ type FriendAcceptedNotificationPayload = {
1939
2077
  type AppPageApprovedNotificationPayload = {
1940
2078
  appId: string;
1941
2079
  appName: string;
1942
- scope: "publish" | "changes";
2080
+ scope: "publish" | "changes" | "bip_publish";
1943
2081
  };
1944
2082
  type AppPageRejectedNotificationPayload = {
1945
2083
  appId: string;
1946
2084
  appName: string;
1947
- scope: "publish" | "changes";
2085
+ scope: "publish" | "changes" | "bip_publish";
1948
2086
  notes: string;
1949
2087
  };
2088
+ type BipUpdatePublishedNotificationPayload = {
2089
+ appId: string;
2090
+ appName: string;
2091
+ appSlug: string | null;
2092
+ updateId: string;
2093
+ };
2094
+ type BipNowPlayableNotificationPayload = {
2095
+ appId: string;
2096
+ appName: string;
2097
+ appSlug: string | null;
2098
+ };
1950
2099
  type AppParticipantInviteNotificationPayload = {
1951
2100
  appId: string;
1952
2101
  appName: string;
@@ -1976,6 +2125,9 @@ type FriendListItem = {
1976
2125
  onlineStatus: OnlineStatus;
1977
2126
  };
1978
2127
  type OnlineStatus = "online" | "offline";
2128
+ type AppFriendListResponse = {
2129
+ friends: Array<ThreadParticipant>;
2130
+ };
1979
2131
  type FriendRequestDecision = {
1980
2132
  decision: "accept" | "reject";
1981
2133
  };
@@ -2105,17 +2257,20 @@ type CreateDeveloperAppChain = {
2105
2257
  };
2106
2258
  type UpdateDeveloperApp = {
2107
2259
  name?: DeveloperAppName;
2260
+ slug?: AppPageSlug | null;
2108
2261
  logoUrl?: string | null;
2109
2262
  testAccess?: "private" | "public";
2110
2263
  redirectUris?: Array<string>;
2111
2264
  embedOrigins?: Array<EmbedOrigin>;
2112
2265
  acceptedCurrencies?: AcceptedCurrencies;
2266
+ acceptedNetworks?: AcceptedNetworks;
2113
2267
  paymentStatusWebhookUrl?: string | null;
2114
2268
  paymentStatusWebhookUrlTest?: string | null;
2115
2269
  };
2116
2270
  type EmbedOrigin = string;
2117
2271
  type AcceptedCurrencies = Array<PlatformCurrency>;
2118
2272
  type PlatformCurrency = "eth" | "tron";
2273
+ type AcceptedNetworks = Array<PaymentNetwork> | null;
2119
2274
  type DeveloperLogoUploadResponse = {
2120
2275
  logoUrl: string | null;
2121
2276
  };
@@ -2353,6 +2508,7 @@ type DeveloperProductionRequestPayload = {
2353
2508
  type DeveloperAppItem = {
2354
2509
  id: string;
2355
2510
  name: DeveloperAppName;
2511
+ slug: AppPageSlug | null;
2356
2512
  logoUrl: string | null;
2357
2513
  environment: "development" | "production";
2358
2514
  productionApprovedAt: string | null;
@@ -2361,6 +2517,7 @@ type DeveloperAppItem = {
2361
2517
  redirectUris: Array<string>;
2362
2518
  embedOrigins: Array<EmbedOrigin>;
2363
2519
  acceptedCurrencies: AcceptedCurrencies;
2520
+ acceptedNetworks: AcceptedNetworks;
2364
2521
  payoutAddresses: Array<DeveloperAppPayoutAddressItem>;
2365
2522
  keys: Array<DeveloperAppKeyItem>;
2366
2523
  pendingProductionRequestId: string | null;
@@ -2415,9 +2572,18 @@ type AppPageDraft = {
2415
2572
  hiddenAt: string | null;
2416
2573
  hiddenReasonPublic: string | null;
2417
2574
  pendingReview: boolean;
2575
+ bip: AppPageBipState;
2576
+ };
2577
+ type AppPageBipState = {
2578
+ enabled: boolean;
2579
+ status: "draft" | "pending_review" | "published" | "hidden";
2580
+ firstPublishedAt: string | null;
2581
+ reviewedAt: string | null;
2582
+ reviewNotes: string | null;
2583
+ hiddenAt: string | null;
2584
+ hiddenReasonPublic: string | null;
2418
2585
  };
2419
2586
  type UpdateAppPage = {
2420
- slug?: AppPageSlug | null;
2421
2587
  categories?: AppPageCategories;
2422
2588
  tagline?: AppPageTagline | null;
2423
2589
  bannerUrl?: string | null;
@@ -2440,6 +2606,9 @@ type UpdateAppPage = {
2440
2606
  type AppPageGalleryUploadResponse = {
2441
2607
  url: string;
2442
2608
  };
2609
+ type AppPageBipToggle = {
2610
+ enabled: boolean;
2611
+ };
2443
2612
  type AdminActivePlayersResponse = {
2444
2613
  players: Array<AdminActivePlayer>;
2445
2614
  total: number;
@@ -2578,6 +2747,11 @@ type AdminAppPageItem = {
2578
2747
  hiddenAt: string | null;
2579
2748
  hiddenReasonInternal: string | null;
2580
2749
  pendingChangesSubmittedAt: string | null;
2750
+ bipEnabled: boolean;
2751
+ bipStatus: "draft" | "pending_review" | "published" | "hidden";
2752
+ bipFirstPublishedAt: string | null;
2753
+ bipHiddenAt: string | null;
2754
+ openReportCount: number;
2581
2755
  };
2582
2756
  type AdminAppPageStatusResponse = {
2583
2757
  status: "draft" | "pending_review" | "published" | "hidden";
@@ -2603,6 +2777,25 @@ type AdminAppPageDiffField = {
2603
2777
  from: string;
2604
2778
  to: string;
2605
2779
  };
2780
+ type AdminAppPageBipStatusResponse = {
2781
+ bipStatus: "draft" | "pending_review" | "published" | "hidden";
2782
+ };
2783
+ type AdminAppContentReportListResponse = {
2784
+ reports: Array<AdminAppContentReportItem>;
2785
+ total: number;
2786
+ hasMore: boolean;
2787
+ };
2788
+ type AdminAppContentReportItem = {
2789
+ id: string;
2790
+ category: AppContentReportCategory;
2791
+ details: string | null;
2792
+ status: AppContentReportStatus;
2793
+ acknowledgedAt: string | null;
2794
+ createdAt: string;
2795
+ appId: string;
2796
+ appName: string;
2797
+ appSlug: string | null;
2798
+ };
2606
2799
  type PlatformFeesResponse = {
2607
2800
  purchaseFeeBps: number;
2608
2801
  stakeFeeBps: number;
@@ -2831,7 +3024,7 @@ type OauthPaymentPayoutRequest = {
2831
3024
  metadata?: PaymentMetadata;
2832
3025
  };
2833
3026
  type OauthPaymentDistributeResponse = {
2834
- distributionId: string;
3027
+ distributionId?: string;
2835
3028
  txHash: string;
2836
3029
  blockNumber: string;
2837
3030
  potId: string;
@@ -2954,7 +3147,7 @@ declare function listActivePlayers(context: TransportContext, input: {
2954
3147
  //#region src/admin/app-pages.d.ts
2955
3148
  declare function listAppPages(context: TransportContext, input: {
2956
3149
  readonly bearer: string;
2957
- readonly status?: "draft" | "pending_review" | "published" | "hidden" | "all" | "pending_changes";
3150
+ readonly status?: "draft" | "pending_review" | "published" | "hidden" | "all" | "pending_changes" | "bip_pending_review";
2958
3151
  }): Promise<AdminAppPageListResponse>;
2959
3152
  declare function getAppPageChanges(context: TransportContext, input: {
2960
3153
  readonly bearer: string;
@@ -2979,6 +3172,20 @@ declare function reviewAppPage(context: TransportContext, input: {
2979
3172
  readonly appId: string;
2980
3173
  readonly body: ReviewAppPage;
2981
3174
  }): Promise<AdminAppPageStatusResponse>;
3175
+ declare function reviewAppPageBip(context: TransportContext, input: {
3176
+ readonly bearer: string;
3177
+ readonly appId: string;
3178
+ readonly body: ReviewAppPage;
3179
+ }): Promise<AdminAppPageBipStatusResponse>;
3180
+ declare function hideAppPageBip(context: TransportContext, input: {
3181
+ readonly bearer: string;
3182
+ readonly appId: string;
3183
+ readonly body: HideAppPage;
3184
+ }): Promise<AdminAppPageBipStatusResponse>;
3185
+ declare function unhideAppPageBip(context: TransportContext, input: {
3186
+ readonly bearer: string;
3187
+ readonly appId: string;
3188
+ }): Promise<AdminAppPageBipStatusResponse>;
2982
3189
  //#endregion
2983
3190
  //#region src/admin/appeals.d.ts
2984
3191
  declare function listAppealQueue(context: TransportContext, input: {
@@ -3010,6 +3217,19 @@ declare function resolveAppeal(context: TransportContext, input: {
3010
3217
  readonly body: AppealResolveRequest;
3011
3218
  }): Promise<AppealResolveSignedResponse>;
3012
3219
  //#endregion
3220
+ //#region src/admin/content-reports.d.ts
3221
+ declare function listAdminContentReports(context: TransportContext, input: {
3222
+ readonly bearer: string;
3223
+ readonly status?: "open" | "acknowledged" | "dismissed" | "all";
3224
+ readonly limit?: number;
3225
+ readonly offset?: number;
3226
+ }): Promise<AdminAppContentReportListResponse>;
3227
+ declare function triageAdminContentReport(context: TransportContext, input: {
3228
+ readonly bearer: string;
3229
+ readonly reportId: string;
3230
+ readonly status: "acknowledged" | "dismissed";
3231
+ }): Promise<AppContentReport>;
3232
+ //#endregion
3013
3233
  //#region src/admin/developers.d.ts
3014
3234
  declare function listDeveloperRequests(context: TransportContext, input: {
3015
3235
  readonly bearer: string;
@@ -3149,6 +3369,102 @@ declare function getAppPage(context: TransportContext, input: {
3149
3369
  readonly slug: string;
3150
3370
  }): Promise<PublicAppPage>;
3151
3371
  //#endregion
3372
+ //#region src/catalog/bip-updates.d.ts
3373
+ declare function listBipUpdates(context: TransportContext, input: {
3374
+ readonly bearer?: string;
3375
+ readonly slug: string;
3376
+ readonly limit?: number;
3377
+ readonly offset?: number;
3378
+ }): Promise<BipUpdateListResponse>;
3379
+ declare function listBipUpdateComments(context: TransportContext, input: {
3380
+ readonly bearer?: string;
3381
+ readonly slug: string;
3382
+ readonly updateId: string;
3383
+ readonly limit?: number;
3384
+ readonly offset?: number;
3385
+ }): Promise<BipUpdateCommentListResponse>;
3386
+ declare function getMyBipUpdateReactions(context: TransportContext, input: {
3387
+ readonly bearer: string;
3388
+ readonly slug: string;
3389
+ }): Promise<MyBipUpdateReactionsResponse>;
3390
+ declare function setBipUpdateReaction(context: TransportContext, input: {
3391
+ readonly bearer: string;
3392
+ readonly slug: string;
3393
+ readonly updateId: string;
3394
+ readonly body: SetBipUpdateReactionRequest;
3395
+ }): Promise<SetBipUpdateReactionResponse>;
3396
+ declare function commentOnBipUpdate(context: TransportContext, input: {
3397
+ readonly bearer: string;
3398
+ readonly slug: string;
3399
+ readonly updateId: string;
3400
+ readonly body: string;
3401
+ }): Promise<CreateBipUpdateCommentResponse>;
3402
+ declare function deleteBipUpdateComment(context: TransportContext, input: {
3403
+ readonly bearer: string;
3404
+ readonly slug: string;
3405
+ readonly commentId: string;
3406
+ }): Promise<DeleteBipUpdateCommentResponse>;
3407
+ declare function listDeveloperBipUpdates(context: TransportContext, input: {
3408
+ readonly bearer: string;
3409
+ readonly appId: string;
3410
+ readonly limit?: number;
3411
+ readonly offset?: number;
3412
+ }): Promise<BipUpdateListResponse>;
3413
+ declare function createBipUpdate(context: TransportContext, input: {
3414
+ readonly bearer: string;
3415
+ readonly appId: string;
3416
+ readonly body: CreateBipUpdateRequest;
3417
+ }): Promise<BipUpdate>;
3418
+ declare function updateBipUpdate(context: TransportContext, input: {
3419
+ readonly bearer: string;
3420
+ readonly appId: string;
3421
+ readonly updateId: string;
3422
+ readonly body: UpdateBipUpdateRequest;
3423
+ }): Promise<BipUpdate>;
3424
+ declare function deleteBipUpdate(context: TransportContext, input: {
3425
+ readonly bearer: string;
3426
+ readonly appId: string;
3427
+ readonly updateId: string;
3428
+ }): Promise<DeleteBipUpdateResponse>;
3429
+ declare function uploadBipUpdateMedia(context: TransportContext, input: {
3430
+ readonly bearer: string;
3431
+ readonly appId: string;
3432
+ readonly file: Blob;
3433
+ readonly filename: string;
3434
+ readonly contentType: string;
3435
+ }): Promise<BipUpdateMediaUploadResponse>;
3436
+ declare function getBipInterestCount(context: TransportContext, input: {
3437
+ readonly bearer?: string;
3438
+ readonly slug: string;
3439
+ }): Promise<BipInterestCountResponse>;
3440
+ declare function getMyBipEngagement(context: TransportContext, input: {
3441
+ readonly bearer: string;
3442
+ readonly slug: string;
3443
+ }): Promise<BipEngagementResponse>;
3444
+ declare function registerBipInterest(context: TransportContext, input: {
3445
+ readonly bearer: string;
3446
+ readonly slug: string;
3447
+ readonly interested: boolean;
3448
+ }): Promise<BipEngagementResponse>;
3449
+ declare function subscribeBipUpdates(context: TransportContext, input: {
3450
+ readonly bearer: string;
3451
+ readonly slug: string;
3452
+ readonly subscribed: boolean;
3453
+ }): Promise<BipEngagementResponse>;
3454
+ //#endregion
3455
+ //#region src/catalog/build-in-public.d.ts
3456
+ declare function getBipDirectory(context: TransportContext, input: {
3457
+ readonly bearer?: string;
3458
+ readonly genre?: string;
3459
+ readonly q?: string;
3460
+ readonly before?: string;
3461
+ readonly limit?: number;
3462
+ }): Promise<LibraryListResponse>;
3463
+ declare function getBipPage(context: TransportContext, input: {
3464
+ readonly bearer?: string;
3465
+ readonly slug: string;
3466
+ }): Promise<PublicBipPage>;
3467
+ //#endregion
3152
3468
  //#region src/catalog/content-reports.d.ts
3153
3469
  declare function submitAppContentReport(context: TransportContext, input: {
3154
3470
  readonly appId: string;
@@ -3561,6 +3877,19 @@ declare function unpublishAppPage(context: TransportContext, input: {
3561
3877
  readonly bearer: string;
3562
3878
  readonly appId: string;
3563
3879
  }): Promise<AppPageDraft>;
3880
+ declare function setAppPageBip(context: TransportContext, input: {
3881
+ readonly bearer: string;
3882
+ readonly appId: string;
3883
+ readonly body: AppPageBipToggle;
3884
+ }): Promise<AppPageDraft>;
3885
+ declare function submitAppPageBipForReview(context: TransportContext, input: {
3886
+ readonly bearer: string;
3887
+ readonly appId: string;
3888
+ }): Promise<AppPageDraft>;
3889
+ declare function unpublishAppPageBip(context: TransportContext, input: {
3890
+ readonly bearer: string;
3891
+ readonly appId: string;
3892
+ }): Promise<AppPageDraft>;
3564
3893
  //#endregion
3565
3894
  //#region src/developer/participants.d.ts
3566
3895
  declare function listDeveloperAppParticipants(context: TransportContext, input: {
@@ -4347,6 +4676,9 @@ declare function cancelFriendRequest(context: TransportContext, input: {
4347
4676
  declare function listFriends(context: TransportContext, input: {
4348
4677
  readonly bearer: string;
4349
4678
  }): Promise<FriendListResponse>;
4679
+ declare function listFriendsForApp(context: TransportContext, input: {
4680
+ readonly bearer: string;
4681
+ }): Promise<AppFriendListResponse>;
4350
4682
  //#endregion
4351
4683
  //#region src/reads/socials.d.ts
4352
4684
  declare function listSocials(context: TransportContext, input: {
@@ -4574,6 +4906,11 @@ declare class TronNodeClient {
4574
4906
  body: MintRequestInput;
4575
4907
  }) => Promise<MintRequestResult>;
4576
4908
  };
4909
+ get friends(): {
4910
+ list: (input: {
4911
+ bearer: string;
4912
+ }) => Promise<AppFriendListResponse>;
4913
+ };
4577
4914
  get socials(): {
4578
4915
  list: (input: {
4579
4916
  bearer: string;
@@ -4595,4 +4932,4 @@ declare class TronNodeClient {
4595
4932
  };
4596
4933
  }
4597
4934
  //#endregion
4598
- export { AppTokenCache, AuthorizeUrl, type BrowserClientConfig, BuildAuthorizeUrlInput, ChargeResult, type FetchLike, GameHalfCredentials, HttpsGuardOptions, InflightDedup, InventoryUpdateEvent, type Logger, MountPresenceWidgetOptions, NOOP_RATE_LIMITER, type NodeClientConfig, OauthErrorCode, OauthInventoryEventsSubscriber, OauthInventoryEventsSubscriberLifecycle, OauthInventoryEventsSubscriberOptions, OauthPaymentEventsSubscriber, OauthPaymentEventsSubscriberLifecycle, OauthPaymentEventsSubscriberOptions, OauthPaymentWebhookBody, type OauthScope, PkcePair, PlaySessionGameStatus, PresenceStatus, PresenceWidgetHandle, RateLimitOptions, RateLimiter, RequestOptions, SERVER_RATE_LIMIT_MAX_MUTATING, SERVER_RATE_LIMIT_MAX_READ, SERVER_RATE_LIMIT_WINDOW_MS, type SdkBaseConfig, TRON_WS_CLOSE_CODES, type TokenSet, type TokenStore, TransportContext, TronError, TronNodeClient, TronOauthError, TronWsCloseCode, TronWsCloseError, VerifyWebhookFailure, VerifyWebhookInput, VerifyWebhookResult, VerifyWebhookSuccess, WEBHOOK_SIGNATURE_HEADER, WEBHOOK_TIMESTAMP_HEADER, acceptDeveloperInvite, addAdmin, addAppealBlacklist, addReaction, approveTronCashout, assertSecureIssuer, batchThreadDmKeys, bindReferral, buildAuthorizeUrl, cancelFriendRequest, cancelPot, charge, chargeTronDirect, chargeTronPot, commentOnGameReview, completePaymentIntent, confirmPlaySession, consolidateDeveloperAppWallet, createAppTokenCache, createConsoleLogger, createDelegation, createDeveloperApiKey, createDeveloperApp, createDeveloperAppMintPermit, createDeveloperVaultPermit, createDeveloperWithdrawPermit, createDirectThread, createInMemoryTokenStore, createInflightDedup, createNoopLogger, createRateLimiter, createReferralCode, createTronCashout, createTronConnectOnboarding, createTronDeposit, createTronTransfer, createTronTransferChallenge, decideFriendRequest, declineDeveloperInvite, defaultEndpoints, deleteAppPageBanner, deleteAppPageThumbnail, deleteAppPageThumbnailVideo, deleteAvatar, deleteDelegation, deleteDeveloperApp, deleteDeveloperAppLogo, deleteDeveloperProfileLogo, deleteDeveloperRequestLogo, deleteGameReviewComment, deleteGameReviewReply, deleteMessage, deleteMyGameReview, deleteThread, deleteThreadLogo, denyPaymentIntent, distributePot, distributeTronPot, editMessage, endPlaySession, exchangeAuthorizationCode, executeNftTransfer, fetchAuthorizationServerMetadata, fetchUserInfo, fileAppeal, fileAppealPotLeg, followUser, forceWithdrawVaultCustody, generatePkce, generateState, getActivity, getActivityGroup, getAdminAppealRoom, getAppFeeConfig, getAppPage, getAppPageChanges, getAppealRoom, getDelegation, getDeveloperAppActivity, getDeveloperAppBalances, getDeveloperAppEarnings, getDeveloperAppInventoryItemHolders, getDeveloperAppOverview, getDeveloperAppPage, getDeveloperAppPlaytime, getDeveloperAppTronBalance, getDeveloperAppWallets, getDeveloperPaymentAppeals, getDeveloperPaymentPendingDeposits, getDeveloperStatus, getDeveloperTronBalanceSummary, getDmKeyBackupStatus, getIntentStatus, getLibrary, getMoonpayAvailability, getMyDmKey, getMyGameReview, getMyGameReviewReactions, getOutstanding, getPaymentChains, getPaymentHistory, getPaymentIntent, getPaymentLimits, getPaymentPrice, getPlatformFees, getPlaytime, getPlaytimeTimeseries, getPublicProfile, getReferral, getThreadDmKey, getTronBalance, getTronGameBalance, getTronSecurity, heartbeatPlaySession, hideAppPage, hideThread, inventoryUpdateEventSchema, inviteDeveloperAppParticipant, inviteParticipants, leaveThread, listActivePlayers, listAdmins, listAppPages, listAppealBlacklist, listAppealQueue, listAudit, listDeveloperApiKeys, listDeveloperAppContentReports, listDeveloperAppInventoryCollections, listDeveloperAppInventoryItems, listDeveloperAppParticipants, listDeveloperAppReviews, listDeveloperInvites, listDeveloperRequests, listDevelopers, listFriends, listGameReviewComments, listGameReviews, listInventory, listInventoryForApp, listInventoryMintPermits, listInventoryVaultPermits, listInventoryVaulted, listNotifications, listOauthInventoryVaulted, listPaymentAuthorizations, listSocials, listThreadMessages, listThreads, listTronCashoutQueue, listTronCashouts, listTronLedger, listUsers, listWalletManager, listWallets, markAllNotificationsRead, markThreadRead, mintClientCredentialsToken, mintMoonpayBuyUrl, mintMoonpaySellUrl, mountPresenceWidget, oauthPaymentWebhookBodySchema, parseJson, pinThread, postAdminAppealRoomMessage, postAppealRoomMessage, previewReferral, provisionDeveloperAppWallet, publishDmKey, quoteDeveloperAppInventoryRegistration, quoteNftTransfer, quoteRelayedVaultPermit, redeemInventoryMintPermit, refreshAccessToken, registerDeveloperAppInventoryItem, registerOauthClient, rejectTronCashout, removeAdmin, removeAppealBlacklist, removeFriend, removeParticipant, removeReaction, replyToGameReview, requestDeveloperAppProduction, requestMint, requestPayout, resolveAppeal, reviewAppPage, reviewAppPageChanges, reviewDeveloperRequest, revokeDeveloperApiKey, revokeDeveloperAppParticipant, revokePaymentAuthorization, revokeToken, rotateDeveloperAppKey, rotateDeveloperAppPaymentWebhookSecret, rotateProcessorTreasury, searchGiphy, searchUsers, send, sendFriendRequest, sendJson, sendMessage, sendPresenceHeartbeat, setMyGameReviewReaction, setProcessorWhitelist, setTronSecurity, setVaultOperator, setVaultPause, setVaultWithdrawLockDefault, setVaultWithdrawLockOverride, setupDmKeyBackup, sha256Base64Url, signInventoryVaultPermit, signPaymentIntent, startOauthInventoryEventsSubscriber, startOauthPaymentEventsSubscriber, submitAppContentReport, submitAppPageForReview, submitDeveloperRequest, submitRelayedVaultPermit, tipGameReview, toTokenSet, unfollowUser, unhideAppPage, unlockDmKeyBackup, unpinThread, unpublishAppPage, updateAdminRole, updateAppFeeConfig, updateAppPage, updateDeveloperApp, updateDeveloperAppAutoSweep, updateDeveloperAppContentReportStatus, updateDeveloperProfile, updateNotification, updateParticipantRole, updatePaymentAuthorization, updatePlatformFees, updateProfile, updateThreadSettings, updateUserBan, updateWalletLabel, uploadAdminAppealRoomAttachment, uploadAppPageBanner, uploadAppPageGallery, uploadAppPageThumbnail, uploadAppPageThumbnailVideo, uploadAppealRoomAttachment, uploadAttachment, uploadAvatar, uploadDeveloperAppInventoryItemBanner, uploadDeveloperAppInventoryItemImage, uploadDeveloperAppLogo, uploadDeveloperProfileLogo, uploadDeveloperRequestLogo, uploadMultipart, uploadThreadLogo, upsertMyGameReview, verifyWebhook, withdrawDeveloperAppWallet };
4935
+ export { AppTokenCache, AuthorizeUrl, type BrowserClientConfig, BuildAuthorizeUrlInput, ChargeResult, type FetchLike, GameHalfCredentials, HttpsGuardOptions, InflightDedup, InventoryUpdateEvent, type Logger, MountPresenceWidgetOptions, NOOP_RATE_LIMITER, type NodeClientConfig, OauthErrorCode, OauthInventoryEventsSubscriber, OauthInventoryEventsSubscriberLifecycle, OauthInventoryEventsSubscriberOptions, OauthPaymentEventsSubscriber, OauthPaymentEventsSubscriberLifecycle, OauthPaymentEventsSubscriberOptions, OauthPaymentWebhookBody, type OauthScope, PkcePair, PlaySessionGameStatus, PresenceStatus, PresenceWidgetHandle, RateLimitOptions, RateLimiter, RequestOptions, SERVER_RATE_LIMIT_MAX_MUTATING, SERVER_RATE_LIMIT_MAX_READ, SERVER_RATE_LIMIT_WINDOW_MS, type SdkBaseConfig, TRON_WS_CLOSE_CODES, type TokenSet, type TokenStore, TransportContext, TronError, TronNodeClient, TronOauthError, TronWsCloseCode, TronWsCloseError, VerifyWebhookFailure, VerifyWebhookInput, VerifyWebhookResult, VerifyWebhookSuccess, WEBHOOK_SIGNATURE_HEADER, WEBHOOK_TIMESTAMP_HEADER, acceptDeveloperInvite, addAdmin, addAppealBlacklist, addReaction, approveTronCashout, assertSecureIssuer, batchThreadDmKeys, bindReferral, buildAuthorizeUrl, cancelFriendRequest, cancelPot, charge, chargeTronDirect, chargeTronPot, commentOnBipUpdate, commentOnGameReview, completePaymentIntent, confirmPlaySession, consolidateDeveloperAppWallet, createAppTokenCache, createBipUpdate, createConsoleLogger, createDelegation, createDeveloperApiKey, createDeveloperApp, createDeveloperAppMintPermit, createDeveloperVaultPermit, createDeveloperWithdrawPermit, createDirectThread, createInMemoryTokenStore, createInflightDedup, createNoopLogger, createRateLimiter, createReferralCode, createTronCashout, createTronConnectOnboarding, createTronDeposit, createTronTransfer, createTronTransferChallenge, decideFriendRequest, declineDeveloperInvite, defaultEndpoints, deleteAppPageBanner, deleteAppPageThumbnail, deleteAppPageThumbnailVideo, deleteAvatar, deleteBipUpdate, deleteBipUpdateComment, deleteDelegation, deleteDeveloperApp, deleteDeveloperAppLogo, deleteDeveloperProfileLogo, deleteDeveloperRequestLogo, deleteGameReviewComment, deleteGameReviewReply, deleteMessage, deleteMyGameReview, deleteThread, deleteThreadLogo, denyPaymentIntent, distributePot, distributeTronPot, editMessage, endPlaySession, exchangeAuthorizationCode, executeNftTransfer, fetchAuthorizationServerMetadata, fetchUserInfo, fileAppeal, fileAppealPotLeg, followUser, forceWithdrawVaultCustody, generatePkce, generateState, getActivity, getActivityGroup, getAdminAppealRoom, getAppFeeConfig, getAppPage, getAppPageChanges, getAppealRoom, getBipDirectory, getBipInterestCount, getBipPage, getDelegation, getDeveloperAppActivity, getDeveloperAppBalances, getDeveloperAppEarnings, getDeveloperAppInventoryItemHolders, getDeveloperAppOverview, getDeveloperAppPage, getDeveloperAppPlaytime, getDeveloperAppTronBalance, getDeveloperAppWallets, getDeveloperPaymentAppeals, getDeveloperPaymentPendingDeposits, getDeveloperStatus, getDeveloperTronBalanceSummary, getDmKeyBackupStatus, getIntentStatus, getLibrary, getMoonpayAvailability, getMyBipEngagement, getMyBipUpdateReactions, getMyDmKey, getMyGameReview, getMyGameReviewReactions, getOutstanding, getPaymentChains, getPaymentHistory, getPaymentIntent, getPaymentLimits, getPaymentPrice, getPlatformFees, getPlaytime, getPlaytimeTimeseries, getPublicProfile, getReferral, getThreadDmKey, getTronBalance, getTronGameBalance, getTronSecurity, heartbeatPlaySession, hideAppPage, hideAppPageBip, hideThread, inventoryUpdateEventSchema, inviteDeveloperAppParticipant, inviteParticipants, leaveThread, listActivePlayers, listAdminContentReports, listAdmins, listAppPages, listAppealBlacklist, listAppealQueue, listAudit, listBipUpdateComments, listBipUpdates, listDeveloperApiKeys, listDeveloperAppContentReports, listDeveloperAppInventoryCollections, listDeveloperAppInventoryItems, listDeveloperAppParticipants, listDeveloperAppReviews, listDeveloperBipUpdates, listDeveloperInvites, listDeveloperRequests, listDevelopers, listFriends, listFriendsForApp, listGameReviewComments, listGameReviews, listInventory, listInventoryForApp, listInventoryMintPermits, listInventoryVaultPermits, listInventoryVaulted, listNotifications, listOauthInventoryVaulted, listPaymentAuthorizations, listSocials, listThreadMessages, listThreads, listTronCashoutQueue, listTronCashouts, listTronLedger, listUsers, listWalletManager, listWallets, markAllNotificationsRead, markThreadRead, mintClientCredentialsToken, mintMoonpayBuyUrl, mintMoonpaySellUrl, mountPresenceWidget, oauthPaymentWebhookBodySchema, parseJson, pinThread, postAdminAppealRoomMessage, postAppealRoomMessage, previewReferral, provisionDeveloperAppWallet, publishDmKey, quoteDeveloperAppInventoryRegistration, quoteNftTransfer, quoteRelayedVaultPermit, redeemInventoryMintPermit, refreshAccessToken, registerBipInterest, registerDeveloperAppInventoryItem, registerOauthClient, rejectTronCashout, removeAdmin, removeAppealBlacklist, removeFriend, removeParticipant, removeReaction, replyToGameReview, requestDeveloperAppProduction, requestMint, requestPayout, resolveAppeal, reviewAppPage, reviewAppPageBip, reviewAppPageChanges, reviewDeveloperRequest, revokeDeveloperApiKey, revokeDeveloperAppParticipant, revokePaymentAuthorization, revokeToken, rotateDeveloperAppKey, rotateDeveloperAppPaymentWebhookSecret, rotateProcessorTreasury, searchGiphy, searchUsers, send, sendFriendRequest, sendJson, sendMessage, sendPresenceHeartbeat, setAppPageBip, setBipUpdateReaction, setMyGameReviewReaction, setProcessorWhitelist, setTronSecurity, setVaultOperator, setVaultPause, setVaultWithdrawLockDefault, setVaultWithdrawLockOverride, setupDmKeyBackup, sha256Base64Url, signInventoryVaultPermit, signPaymentIntent, startOauthInventoryEventsSubscriber, startOauthPaymentEventsSubscriber, submitAppContentReport, submitAppPageBipForReview, submitAppPageForReview, submitDeveloperRequest, submitRelayedVaultPermit, subscribeBipUpdates, tipGameReview, toTokenSet, triageAdminContentReport, unfollowUser, unhideAppPage, unhideAppPageBip, unlockDmKeyBackup, unpinThread, unpublishAppPage, unpublishAppPageBip, updateAdminRole, updateAppFeeConfig, updateAppPage, updateBipUpdate, updateDeveloperApp, updateDeveloperAppAutoSweep, updateDeveloperAppContentReportStatus, updateDeveloperProfile, updateNotification, updateParticipantRole, updatePaymentAuthorization, updatePlatformFees, updateProfile, updateThreadSettings, updateUserBan, updateWalletLabel, uploadAdminAppealRoomAttachment, uploadAppPageBanner, uploadAppPageGallery, uploadAppPageThumbnail, uploadAppPageThumbnailVideo, uploadAppealRoomAttachment, uploadAttachment, uploadAvatar, uploadBipUpdateMedia, uploadDeveloperAppInventoryItemBanner, uploadDeveloperAppInventoryItemImage, uploadDeveloperAppLogo, uploadDeveloperProfileLogo, uploadDeveloperRequestLogo, uploadMultipart, uploadThreadLogo, upsertMyGameReview, verifyWebhook, withdrawDeveloperAppWallet };