@metatrongg/sdk 0.8.0-dev.73cf69b → 0.8.0-dev.8266b7d

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;
@@ -291,7 +291,15 @@ type OauthPaymentIntentContext = {
291
291
  };
292
292
  } | null;
293
293
  environment: "development" | "production";
294
+ onramp?: {
295
+ kind: "bridge";
296
+ from: PaymentNetwork;
297
+ to: PaymentNetwork;
298
+ } | {
299
+ kind: "insufficient";
300
+ };
294
301
  };
302
+ type PaymentNetwork = "ethereum" | "base" | "solana";
295
303
  type OauthPaymentIntentSignResponse = {
296
304
  chain: string;
297
305
  chainId: number;
@@ -321,6 +329,13 @@ type OauthPaymentIntentCompleteSigned = {
321
329
  type OauthPaymentIntentCompleteOffline = {
322
330
  method: "offline";
323
331
  };
332
+ type OauthPaymentIntentSolanaPrepareResponse = {
333
+ transaction: string;
334
+ payer: string;
335
+ };
336
+ type OauthPaymentIntentSolanaCompleteRequest = {
337
+ signedTransaction: string;
338
+ };
324
339
  type ListAppPaymentAuthorizationsResponse = {
325
340
  authorizations: Array<AppPaymentAuthorizationItem>;
326
341
  };
@@ -424,6 +439,119 @@ type AppPageAgeRating = "everyone" | "13_plus" | "16_plus" | "18_plus" | null;
424
439
  type AppPageLanguages = Array<"en" | "es" | "fr" | "de" | "pt" | "it" | "ru" | "ja" | "ko" | "zh" | "hi" | "ar" | "tr" | "vi" | "id" | "th" | "pl" | "nl">;
425
440
  type AppPageReleaseStatus = "live" | "open_beta" | "coming_soon";
426
441
  type AppPagePaymentsMode = "tron" | "onchain" | "both" | null;
442
+ type PublicBipPage = {
443
+ appId: string;
444
+ slug: AppPageSlug;
445
+ appName: string;
446
+ appLogoUrl: string | null;
447
+ categories: AppPageCategories;
448
+ tagline: AppPageTagline;
449
+ bannerUrl: string | null;
450
+ discordUrl: string | null;
451
+ twitterUrl: string | null;
452
+ redditUrl: string | null;
453
+ telegramUrl: string | null;
454
+ gallery: AppPageGallery;
455
+ chapters: AppPageChapters;
456
+ links: AppPageLinks;
457
+ studio: PublicAppPageStudio;
458
+ platforms: AppPagePlatforms;
459
+ gameType: AppPageGameType;
460
+ ageRating: AppPageAgeRating;
461
+ languages: AppPageLanguages;
462
+ releaseStatus: AppPageReleaseStatus;
463
+ publishedAt: string;
464
+ updatedAt: string;
465
+ };
466
+ type BipUpdateListResponse = {
467
+ updates: Array<BipUpdate>;
468
+ total: number;
469
+ hasMore: boolean;
470
+ };
471
+ type BipUpdate = {
472
+ id: string;
473
+ appId: string;
474
+ body: BipUpdateBody;
475
+ attachments: BipUpdateAttachments;
476
+ reactions: BipUpdateReactionCounts;
477
+ commentCount: number;
478
+ createdAt: string;
479
+ updatedAt: string;
480
+ };
481
+ type BipUpdateBody = string;
482
+ type BipUpdateAttachments = Array<BipUpdateAttachment>;
483
+ type BipUpdateAttachment = {
484
+ url: string;
485
+ kind: "image" | "video";
486
+ order: number;
487
+ };
488
+ type BipUpdateReactionCounts = {
489
+ up: number;
490
+ down: number;
491
+ };
492
+ type BipUpdateCommentListResponse = {
493
+ comments: Array<BipUpdateComment>;
494
+ total: number;
495
+ hasMore: boolean;
496
+ };
497
+ type BipUpdateComment = {
498
+ id: string;
499
+ body: BipUpdateCommentBody;
500
+ author: ReviewAuthor;
501
+ createdAt: string;
502
+ };
503
+ type BipUpdateCommentBody = string;
504
+ type ReviewAuthor = {
505
+ userId: string;
506
+ handle: string | null;
507
+ name: string | null;
508
+ avatarUrl: string | null;
509
+ };
510
+ type BipInterestCountResponse = {
511
+ interestCount: number;
512
+ };
513
+ type BipEngagementResponse = {
514
+ interested: boolean;
515
+ subscribed: boolean;
516
+ interestCount: number;
517
+ };
518
+ type MyBipUpdateReactionsResponse = {
519
+ reactions: Array<MyBipUpdateReaction>;
520
+ };
521
+ type MyBipUpdateReaction = {
522
+ updateId: string;
523
+ vote: "up" | "down";
524
+ };
525
+ type SetBipUpdateReactionResponse = {
526
+ reactions: BipUpdateReactionCounts;
527
+ vote: BipUpdateVote;
528
+ };
529
+ type BipUpdateVote = "up" | "down" | null;
530
+ type SetBipUpdateReactionRequest = {
531
+ vote: BipUpdateVote;
532
+ };
533
+ type CreateBipUpdateCommentResponse = {
534
+ comment: BipUpdateComment;
535
+ commentCount: number;
536
+ };
537
+ type DeleteBipUpdateCommentResponse = {
538
+ commentCount: number;
539
+ };
540
+ type CreateBipUpdateRequest = {
541
+ body: BipUpdateBody;
542
+ attachments?: BipUpdateAttachments;
543
+ };
544
+ type UpdateBipUpdateRequest = {
545
+ body?: BipUpdateBody;
546
+ attachments?: BipUpdateAttachments;
547
+ };
548
+ type DeleteBipUpdateResponse = {
549
+ deleted: true;
550
+ };
551
+ type BipUpdateMediaUploadResponse = {
552
+ url: string;
553
+ kind: "image" | "video";
554
+ };
427
555
  type ReviewListResponse = {
428
556
  aggregate: ReviewAggregate;
429
557
  reviews: Array<Review>;
@@ -457,12 +585,6 @@ type ReviewReactionCounts = {
457
585
  unhelpful: number;
458
586
  funny: number;
459
587
  };
460
- type ReviewAuthor = {
461
- userId: string;
462
- handle: string | null;
463
- name: string | null;
464
- avatarUrl: string | null;
465
- };
466
588
  type ReviewerStats = {
467
589
  playtimeSecondsThisGame: number;
468
590
  gamesPlayed: number;
@@ -653,7 +775,11 @@ type ActivityRow = ({
653
775
  kind: "referral_earning";
654
776
  } & ActivityRowReferralEarning) | ({
655
777
  kind: "nft_charge";
656
- } & ActivityRowNftCharge);
778
+ } & ActivityRowNftCharge) | ({
779
+ kind: "solana_stake";
780
+ } & ActivityRowSolanaStake) | ({
781
+ kind: "solana_pot_leg";
782
+ } & ActivityRowSolanaPotLeg);
657
783
  type ActivityRowPayment = {
658
784
  kind: "payment";
659
785
  groupId: string | null;
@@ -981,6 +1107,56 @@ type ActivityRowNftCharge = {
981
1107
  counterpartyHandle: string | null;
982
1108
  counterpartyDisplayName: string | null;
983
1109
  };
1110
+ type ActivityRowSolanaStake = {
1111
+ kind: "solana_stake";
1112
+ groupId: string | null;
1113
+ id: string;
1114
+ chain: string;
1115
+ occurredAt: string;
1116
+ role: "outgoing" | "incoming";
1117
+ amount: string;
1118
+ token: string;
1119
+ potId: string | null;
1120
+ usdCents: number;
1121
+ status: "completed";
1122
+ txHash: string | null;
1123
+ app: {
1124
+ id: string;
1125
+ name: string;
1126
+ logoUrl: string | null;
1127
+ slug: string | null;
1128
+ bannerUrl: string | null;
1129
+ } | null;
1130
+ stakerUserId?: string | null;
1131
+ stakerHandle?: string | null;
1132
+ stakerDisplayName?: string | null;
1133
+ metadata?: PaymentMetadata | null;
1134
+ };
1135
+ type ActivityRowSolanaPotLeg = {
1136
+ kind: "solana_pot_leg";
1137
+ groupId: string | null;
1138
+ id: string;
1139
+ chain: string;
1140
+ occurredAt: string;
1141
+ role: "outgoing" | "incoming";
1142
+ beneficiary: string;
1143
+ potId: string | null;
1144
+ amount: string;
1145
+ token: string;
1146
+ usdCents: number | null;
1147
+ status: "settled";
1148
+ app: {
1149
+ id: string;
1150
+ name: string;
1151
+ logoUrl: string | null;
1152
+ slug: string | null;
1153
+ bannerUrl: string | null;
1154
+ } | null;
1155
+ txHash: string | null;
1156
+ recipientUserId?: string | null;
1157
+ recipientHandle?: string | null;
1158
+ recipientDisplayName?: string | null;
1159
+ };
984
1160
  type OutstandingResponse = {
985
1161
  rows: Array<OutstandingByToken>;
986
1162
  };
@@ -1216,12 +1392,15 @@ type WalletListResponse = {
1216
1392
  wallets: Array<WalletItem>;
1217
1393
  };
1218
1394
  type WalletChainList = Array<{
1219
- id: "ethereum-mainnet" | "base-mainnet" | "ethereum-sepolia";
1395
+ id: "ethereum-mainnet" | "base-mainnet" | "ethereum-sepolia" | "base-sepolia" | "solana-mainnet" | "solana-devnet";
1220
1396
  displayName: string;
1221
- chainId: number;
1397
+ family: "evm" | "solana";
1398
+ nativeSymbol: string;
1399
+ chainId?: number;
1222
1400
  }>;
1223
1401
  type WalletItem = {
1224
- address: string;
1402
+ address: string | string;
1403
+ family: "evm" | "solana";
1225
1404
  label: WalletLabel;
1226
1405
  kind: "personal" | "app";
1227
1406
  app: WalletAppLink;
@@ -1238,6 +1417,9 @@ type WalletBalances = {
1238
1417
  "ethereum-mainnet"?: WalletChainBalance;
1239
1418
  "base-mainnet"?: WalletChainBalance;
1240
1419
  "ethereum-sepolia"?: WalletChainBalance;
1420
+ "base-sepolia"?: WalletChainBalance;
1421
+ "solana-mainnet"?: WalletChainBalance;
1422
+ "solana-devnet"?: WalletChainBalance;
1241
1423
  };
1242
1424
  type WalletChainBalance = {
1243
1425
  native: string;
@@ -1247,12 +1429,14 @@ type WalletDelegationStatus = {
1247
1429
  mode: WalletDelegationMode;
1248
1430
  caps: WalletDelegationCaps;
1249
1431
  policyId: string | null;
1432
+ slippageBps: DelegationSlippageBps;
1250
1433
  };
1251
1434
  type WalletDelegationMode = "infinite" | "custom" | "scoped" | null;
1252
1435
  type WalletDelegationCaps = {
1253
1436
  native: string;
1254
1437
  usdc: string;
1255
1438
  } | null;
1439
+ type DelegationSlippageBps = number | null;
1256
1440
  type WalletLabelUpdateResponse = {
1257
1441
  address: string;
1258
1442
  label: WalletLabel;
@@ -1350,6 +1534,7 @@ type MessageTransactionNftTransfer = {
1350
1534
  tokenId: string;
1351
1535
  amount: string;
1352
1536
  itemName: string | null;
1537
+ imageAssetId?: string | null;
1353
1538
  };
1354
1539
  type GroupThreadSummary = {
1355
1540
  kind: "group";
@@ -1911,6 +2096,18 @@ type NotificationItem = {
1911
2096
  payload: AppPageRejectedNotificationPayload;
1912
2097
  read: boolean;
1913
2098
  createdAt: string;
2099
+ } | {
2100
+ id: string;
2101
+ kind: "bip_update_published";
2102
+ payload: BipUpdatePublishedNotificationPayload;
2103
+ read: boolean;
2104
+ createdAt: string;
2105
+ } | {
2106
+ id: string;
2107
+ kind: "bip_now_playable";
2108
+ payload: BipNowPlayableNotificationPayload;
2109
+ read: boolean;
2110
+ createdAt: string;
1914
2111
  } | {
1915
2112
  id: string;
1916
2113
  kind: "app_participant_invite";
@@ -1941,14 +2138,25 @@ type FriendAcceptedNotificationPayload = {
1941
2138
  type AppPageApprovedNotificationPayload = {
1942
2139
  appId: string;
1943
2140
  appName: string;
1944
- scope: "publish" | "changes";
2141
+ scope: "publish" | "changes" | "bip_publish";
1945
2142
  };
1946
2143
  type AppPageRejectedNotificationPayload = {
1947
2144
  appId: string;
1948
2145
  appName: string;
1949
- scope: "publish" | "changes";
2146
+ scope: "publish" | "changes" | "bip_publish";
1950
2147
  notes: string;
1951
2148
  };
2149
+ type BipUpdatePublishedNotificationPayload = {
2150
+ appId: string;
2151
+ appName: string;
2152
+ appSlug: string | null;
2153
+ updateId: string;
2154
+ };
2155
+ type BipNowPlayableNotificationPayload = {
2156
+ appId: string;
2157
+ appName: string;
2158
+ appSlug: string | null;
2159
+ };
1952
2160
  type AppParticipantInviteNotificationPayload = {
1953
2161
  appId: string;
1954
2162
  appName: string;
@@ -1978,6 +2186,9 @@ type FriendListItem = {
1978
2186
  onlineStatus: OnlineStatus;
1979
2187
  };
1980
2188
  type OnlineStatus = "online" | "offline";
2189
+ type AppFriendListResponse = {
2190
+ friends: Array<ThreadParticipant>;
2191
+ };
1981
2192
  type FriendRequestDecision = {
1982
2193
  decision: "accept" | "reject";
1983
2194
  };
@@ -2113,12 +2324,14 @@ type UpdateDeveloperApp = {
2113
2324
  redirectUris?: Array<string>;
2114
2325
  embedOrigins?: Array<EmbedOrigin>;
2115
2326
  acceptedCurrencies?: AcceptedCurrencies;
2327
+ acceptedNetworks?: AcceptedNetworks;
2116
2328
  paymentStatusWebhookUrl?: string | null;
2117
2329
  paymentStatusWebhookUrlTest?: string | null;
2118
2330
  };
2119
2331
  type EmbedOrigin = string;
2120
2332
  type AcceptedCurrencies = Array<PlatformCurrency>;
2121
2333
  type PlatformCurrency = "eth" | "tron";
2334
+ type AcceptedNetworks = Array<PaymentNetwork> | null;
2122
2335
  type DeveloperLogoUploadResponse = {
2123
2336
  logoUrl: string | null;
2124
2337
  };
@@ -2181,7 +2394,7 @@ type DeveloperAppWalletsResponse = {
2181
2394
  };
2182
2395
  type DeveloperAppWalletItem = {
2183
2396
  chain: string;
2184
- address: string;
2397
+ address: string | string;
2185
2398
  custody: "server" | null;
2186
2399
  walletId: string | null;
2187
2400
  autoSweepEnabled: boolean;
@@ -2202,7 +2415,7 @@ type DeveloperAppProvisionWalletResponse = {
2202
2415
  chain: string;
2203
2416
  custody: "server";
2204
2417
  walletId: string;
2205
- address: string;
2418
+ address: string | string;
2206
2419
  };
2207
2420
  type DeveloperAppWithdrawResponse = {
2208
2421
  appId: string;
@@ -2365,6 +2578,7 @@ type DeveloperAppItem = {
2365
2578
  redirectUris: Array<string>;
2366
2579
  embedOrigins: Array<EmbedOrigin>;
2367
2580
  acceptedCurrencies: AcceptedCurrencies;
2581
+ acceptedNetworks: AcceptedNetworks;
2368
2582
  payoutAddresses: Array<DeveloperAppPayoutAddressItem>;
2369
2583
  keys: Array<DeveloperAppKeyItem>;
2370
2584
  pendingProductionRequestId: string | null;
@@ -2419,6 +2633,16 @@ type AppPageDraft = {
2419
2633
  hiddenAt: string | null;
2420
2634
  hiddenReasonPublic: string | null;
2421
2635
  pendingReview: boolean;
2636
+ bip: AppPageBipState;
2637
+ };
2638
+ type AppPageBipState = {
2639
+ enabled: boolean;
2640
+ status: "draft" | "pending_review" | "published" | "hidden";
2641
+ firstPublishedAt: string | null;
2642
+ reviewedAt: string | null;
2643
+ reviewNotes: string | null;
2644
+ hiddenAt: string | null;
2645
+ hiddenReasonPublic: string | null;
2422
2646
  };
2423
2647
  type UpdateAppPage = {
2424
2648
  categories?: AppPageCategories;
@@ -2443,6 +2667,9 @@ type UpdateAppPage = {
2443
2667
  type AppPageGalleryUploadResponse = {
2444
2668
  url: string;
2445
2669
  };
2670
+ type AppPageBipToggle = {
2671
+ enabled: boolean;
2672
+ };
2446
2673
  type AdminActivePlayersResponse = {
2447
2674
  players: Array<AdminActivePlayer>;
2448
2675
  total: number;
@@ -2581,6 +2808,11 @@ type AdminAppPageItem = {
2581
2808
  hiddenAt: string | null;
2582
2809
  hiddenReasonInternal: string | null;
2583
2810
  pendingChangesSubmittedAt: string | null;
2811
+ bipEnabled: boolean;
2812
+ bipStatus: "draft" | "pending_review" | "published" | "hidden";
2813
+ bipFirstPublishedAt: string | null;
2814
+ bipHiddenAt: string | null;
2815
+ openReportCount: number;
2584
2816
  };
2585
2817
  type AdminAppPageStatusResponse = {
2586
2818
  status: "draft" | "pending_review" | "published" | "hidden";
@@ -2606,6 +2838,25 @@ type AdminAppPageDiffField = {
2606
2838
  from: string;
2607
2839
  to: string;
2608
2840
  };
2841
+ type AdminAppPageBipStatusResponse = {
2842
+ bipStatus: "draft" | "pending_review" | "published" | "hidden";
2843
+ };
2844
+ type AdminAppContentReportListResponse = {
2845
+ reports: Array<AdminAppContentReportItem>;
2846
+ total: number;
2847
+ hasMore: boolean;
2848
+ };
2849
+ type AdminAppContentReportItem = {
2850
+ id: string;
2851
+ category: AppContentReportCategory;
2852
+ details: string | null;
2853
+ status: AppContentReportStatus;
2854
+ acknowledgedAt: string | null;
2855
+ createdAt: string;
2856
+ appId: string;
2857
+ appName: string;
2858
+ appSlug: string | null;
2859
+ };
2609
2860
  type PlatformFeesResponse = {
2610
2861
  purchaseFeeBps: number;
2611
2862
  stakeFeeBps: number;
@@ -2786,6 +3037,13 @@ type AppealResolveRequest = {
2786
3037
  decision: "refund" | "dismiss";
2787
3038
  notes?: string;
2788
3039
  };
3040
+ type PaymentRatesResponse = {
3041
+ asOf: string;
3042
+ ethUsd: number | null;
3043
+ solUsd: number | null;
3044
+ solLamportsPerCent: number | null;
3045
+ tronUsdPerToken: number;
3046
+ };
2789
3047
  type AppealFileResponse = {
2790
3048
  appealId: string;
2791
3049
  paymentId: string;
@@ -2834,7 +3092,7 @@ type OauthPaymentPayoutRequest = {
2834
3092
  metadata?: PaymentMetadata;
2835
3093
  };
2836
3094
  type OauthPaymentDistributeResponse = {
2837
- distributionId: string;
3095
+ distributionId?: string;
2838
3096
  txHash: string;
2839
3097
  blockNumber: string;
2840
3098
  potId: string;
@@ -2957,7 +3215,7 @@ declare function listActivePlayers(context: TransportContext, input: {
2957
3215
  //#region src/admin/app-pages.d.ts
2958
3216
  declare function listAppPages(context: TransportContext, input: {
2959
3217
  readonly bearer: string;
2960
- readonly status?: "draft" | "pending_review" | "published" | "hidden" | "all" | "pending_changes";
3218
+ readonly status?: "draft" | "pending_review" | "published" | "hidden" | "all" | "pending_changes" | "bip_pending_review";
2961
3219
  }): Promise<AdminAppPageListResponse>;
2962
3220
  declare function getAppPageChanges(context: TransportContext, input: {
2963
3221
  readonly bearer: string;
@@ -2982,6 +3240,20 @@ declare function reviewAppPage(context: TransportContext, input: {
2982
3240
  readonly appId: string;
2983
3241
  readonly body: ReviewAppPage;
2984
3242
  }): Promise<AdminAppPageStatusResponse>;
3243
+ declare function reviewAppPageBip(context: TransportContext, input: {
3244
+ readonly bearer: string;
3245
+ readonly appId: string;
3246
+ readonly body: ReviewAppPage;
3247
+ }): Promise<AdminAppPageBipStatusResponse>;
3248
+ declare function hideAppPageBip(context: TransportContext, input: {
3249
+ readonly bearer: string;
3250
+ readonly appId: string;
3251
+ readonly body: HideAppPage;
3252
+ }): Promise<AdminAppPageBipStatusResponse>;
3253
+ declare function unhideAppPageBip(context: TransportContext, input: {
3254
+ readonly bearer: string;
3255
+ readonly appId: string;
3256
+ }): Promise<AdminAppPageBipStatusResponse>;
2985
3257
  //#endregion
2986
3258
  //#region src/admin/appeals.d.ts
2987
3259
  declare function listAppealQueue(context: TransportContext, input: {
@@ -3013,6 +3285,19 @@ declare function resolveAppeal(context: TransportContext, input: {
3013
3285
  readonly body: AppealResolveRequest;
3014
3286
  }): Promise<AppealResolveSignedResponse>;
3015
3287
  //#endregion
3288
+ //#region src/admin/content-reports.d.ts
3289
+ declare function listAdminContentReports(context: TransportContext, input: {
3290
+ readonly bearer: string;
3291
+ readonly status?: "open" | "acknowledged" | "dismissed" | "all";
3292
+ readonly limit?: number;
3293
+ readonly offset?: number;
3294
+ }): Promise<AdminAppContentReportListResponse>;
3295
+ declare function triageAdminContentReport(context: TransportContext, input: {
3296
+ readonly bearer: string;
3297
+ readonly reportId: string;
3298
+ readonly status: "acknowledged" | "dismissed";
3299
+ }): Promise<AppContentReport>;
3300
+ //#endregion
3016
3301
  //#region src/admin/developers.d.ts
3017
3302
  declare function listDeveloperRequests(context: TransportContext, input: {
3018
3303
  readonly bearer: string;
@@ -3152,6 +3437,102 @@ declare function getAppPage(context: TransportContext, input: {
3152
3437
  readonly slug: string;
3153
3438
  }): Promise<PublicAppPage>;
3154
3439
  //#endregion
3440
+ //#region src/catalog/bip-updates.d.ts
3441
+ declare function listBipUpdates(context: TransportContext, input: {
3442
+ readonly bearer?: string;
3443
+ readonly slug: string;
3444
+ readonly limit?: number;
3445
+ readonly offset?: number;
3446
+ }): Promise<BipUpdateListResponse>;
3447
+ declare function listBipUpdateComments(context: TransportContext, input: {
3448
+ readonly bearer?: string;
3449
+ readonly slug: string;
3450
+ readonly updateId: string;
3451
+ readonly limit?: number;
3452
+ readonly offset?: number;
3453
+ }): Promise<BipUpdateCommentListResponse>;
3454
+ declare function getMyBipUpdateReactions(context: TransportContext, input: {
3455
+ readonly bearer: string;
3456
+ readonly slug: string;
3457
+ }): Promise<MyBipUpdateReactionsResponse>;
3458
+ declare function setBipUpdateReaction(context: TransportContext, input: {
3459
+ readonly bearer: string;
3460
+ readonly slug: string;
3461
+ readonly updateId: string;
3462
+ readonly body: SetBipUpdateReactionRequest;
3463
+ }): Promise<SetBipUpdateReactionResponse>;
3464
+ declare function commentOnBipUpdate(context: TransportContext, input: {
3465
+ readonly bearer: string;
3466
+ readonly slug: string;
3467
+ readonly updateId: string;
3468
+ readonly body: string;
3469
+ }): Promise<CreateBipUpdateCommentResponse>;
3470
+ declare function deleteBipUpdateComment(context: TransportContext, input: {
3471
+ readonly bearer: string;
3472
+ readonly slug: string;
3473
+ readonly commentId: string;
3474
+ }): Promise<DeleteBipUpdateCommentResponse>;
3475
+ declare function listDeveloperBipUpdates(context: TransportContext, input: {
3476
+ readonly bearer: string;
3477
+ readonly appId: string;
3478
+ readonly limit?: number;
3479
+ readonly offset?: number;
3480
+ }): Promise<BipUpdateListResponse>;
3481
+ declare function createBipUpdate(context: TransportContext, input: {
3482
+ readonly bearer: string;
3483
+ readonly appId: string;
3484
+ readonly body: CreateBipUpdateRequest;
3485
+ }): Promise<BipUpdate>;
3486
+ declare function updateBipUpdate(context: TransportContext, input: {
3487
+ readonly bearer: string;
3488
+ readonly appId: string;
3489
+ readonly updateId: string;
3490
+ readonly body: UpdateBipUpdateRequest;
3491
+ }): Promise<BipUpdate>;
3492
+ declare function deleteBipUpdate(context: TransportContext, input: {
3493
+ readonly bearer: string;
3494
+ readonly appId: string;
3495
+ readonly updateId: string;
3496
+ }): Promise<DeleteBipUpdateResponse>;
3497
+ declare function uploadBipUpdateMedia(context: TransportContext, input: {
3498
+ readonly bearer: string;
3499
+ readonly appId: string;
3500
+ readonly file: Blob;
3501
+ readonly filename: string;
3502
+ readonly contentType: string;
3503
+ }): Promise<BipUpdateMediaUploadResponse>;
3504
+ declare function getBipInterestCount(context: TransportContext, input: {
3505
+ readonly bearer?: string;
3506
+ readonly slug: string;
3507
+ }): Promise<BipInterestCountResponse>;
3508
+ declare function getMyBipEngagement(context: TransportContext, input: {
3509
+ readonly bearer: string;
3510
+ readonly slug: string;
3511
+ }): Promise<BipEngagementResponse>;
3512
+ declare function registerBipInterest(context: TransportContext, input: {
3513
+ readonly bearer: string;
3514
+ readonly slug: string;
3515
+ readonly interested: boolean;
3516
+ }): Promise<BipEngagementResponse>;
3517
+ declare function subscribeBipUpdates(context: TransportContext, input: {
3518
+ readonly bearer: string;
3519
+ readonly slug: string;
3520
+ readonly subscribed: boolean;
3521
+ }): Promise<BipEngagementResponse>;
3522
+ //#endregion
3523
+ //#region src/catalog/build-in-public.d.ts
3524
+ declare function getBipDirectory(context: TransportContext, input: {
3525
+ readonly bearer?: string;
3526
+ readonly genre?: string;
3527
+ readonly q?: string;
3528
+ readonly before?: string;
3529
+ readonly limit?: number;
3530
+ }): Promise<LibraryListResponse>;
3531
+ declare function getBipPage(context: TransportContext, input: {
3532
+ readonly bearer?: string;
3533
+ readonly slug: string;
3534
+ }): Promise<PublicBipPage>;
3535
+ //#endregion
3155
3536
  //#region src/catalog/content-reports.d.ts
3156
3537
  declare function submitAppContentReport(context: TransportContext, input: {
3157
3538
  readonly appId: string;
@@ -3322,6 +3703,9 @@ declare function getPaymentHistory(context: TransportContext, input: {
3322
3703
  readonly before?: string;
3323
3704
  }): Promise<PaymentHistoryResponse>;
3324
3705
  //#endregion
3706
+ //#region src/dashboard/rates.d.ts
3707
+ declare function getPaymentRates(context: TransportContext): Promise<PaymentRatesResponse>;
3708
+ //#endregion
3325
3709
  //#region src/developer/api-keys.d.ts
3326
3710
  declare function createDeveloperApiKey(context: TransportContext, input: {
3327
3711
  readonly bearer: string;
@@ -3564,6 +3948,19 @@ declare function unpublishAppPage(context: TransportContext, input: {
3564
3948
  readonly bearer: string;
3565
3949
  readonly appId: string;
3566
3950
  }): Promise<AppPageDraft>;
3951
+ declare function setAppPageBip(context: TransportContext, input: {
3952
+ readonly bearer: string;
3953
+ readonly appId: string;
3954
+ readonly body: AppPageBipToggle;
3955
+ }): Promise<AppPageDraft>;
3956
+ declare function submitAppPageBipForReview(context: TransportContext, input: {
3957
+ readonly bearer: string;
3958
+ readonly appId: string;
3959
+ }): Promise<AppPageDraft>;
3960
+ declare function unpublishAppPageBip(context: TransportContext, input: {
3961
+ readonly bearer: string;
3962
+ readonly appId: string;
3963
+ }): Promise<AppPageDraft>;
3567
3964
  //#endregion
3568
3965
  //#region src/developer/participants.d.ts
3569
3966
  declare function listDeveloperAppParticipants(context: TransportContext, input: {
@@ -4096,6 +4493,15 @@ declare function denyPaymentIntent(context: TransportContext, input: {
4096
4493
  readonly bearer: string;
4097
4494
  readonly intentId: string;
4098
4495
  }): Promise<OauthPaymentIntentResolveResponse>;
4496
+ declare function preparePaymentIntentSolana(context: TransportContext, input: {
4497
+ readonly bearer: string;
4498
+ readonly intentId: string;
4499
+ }): Promise<OauthPaymentIntentSolanaPrepareResponse>;
4500
+ declare function completePaymentIntentSolana(context: TransportContext, input: {
4501
+ readonly bearer: string;
4502
+ readonly intentId: string;
4503
+ readonly body: OauthPaymentIntentSolanaCompleteRequest;
4504
+ }): Promise<OauthPaymentIntentResolveResponse>;
4099
4505
  //#endregion
4100
4506
  //#region src/payments/limits.d.ts
4101
4507
  declare function getPaymentLimits(context: TransportContext, input: {
@@ -4350,6 +4756,9 @@ declare function cancelFriendRequest(context: TransportContext, input: {
4350
4756
  declare function listFriends(context: TransportContext, input: {
4351
4757
  readonly bearer: string;
4352
4758
  }): Promise<FriendListResponse>;
4759
+ declare function listFriendsForApp(context: TransportContext, input: {
4760
+ readonly bearer: string;
4761
+ }): Promise<AppFriendListResponse>;
4353
4762
  //#endregion
4354
4763
  //#region src/reads/socials.d.ts
4355
4764
  declare function listSocials(context: TransportContext, input: {
@@ -4577,6 +4986,11 @@ declare class TronNodeClient {
4577
4986
  body: MintRequestInput;
4578
4987
  }) => Promise<MintRequestResult>;
4579
4988
  };
4989
+ get friends(): {
4990
+ list: (input: {
4991
+ bearer: string;
4992
+ }) => Promise<AppFriendListResponse>;
4993
+ };
4580
4994
  get socials(): {
4581
4995
  list: (input: {
4582
4996
  bearer: string;
@@ -4598,4 +5012,4 @@ declare class TronNodeClient {
4598
5012
  };
4599
5013
  }
4600
5014
  //#endregion
4601
- 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 };
5015
+ 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, completePaymentIntentSolana, 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, getPaymentRates, 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, preparePaymentIntentSolana, 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 };