@metatrongg/sdk 0.8.0-dev.eb5de24 → 0.8.0-dev.edb8e7e

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.
@@ -91,7 +91,7 @@ type Username = string;
91
91
  type DisplayName = string | null;
92
92
  type Bio = string | null;
93
93
  type WebsiteUrl = string | null;
94
- type BannerVariant = "yellow" | "green" | "blue" | "white" | "black";
94
+ type BannerVariant = "yellow" | "green" | "blue" | "white" | "black" | "red";
95
95
  type AdminRole = "super-admin" | "admin" | "read-only" | null;
96
96
  type PresenceStatusMode = "auto" | "online" | "offline";
97
97
  type PlatformEnvironment = "development" | "production";
@@ -249,7 +249,15 @@ type OauthPaymentIntentContext = {
249
249
  };
250
250
  } | null;
251
251
  environment: "development" | "production";
252
+ onramp?: {
253
+ kind: "bridge";
254
+ from: PaymentNetwork;
255
+ to: PaymentNetwork;
256
+ } | {
257
+ kind: "insufficient";
258
+ };
252
259
  };
260
+ type PaymentNetwork = "ethereum" | "base" | "solana";
253
261
  type OauthPaymentIntentSignResponse = {
254
262
  chain: string;
255
263
  chainId: number;
@@ -279,6 +287,13 @@ type OauthPaymentIntentCompleteSigned = {
279
287
  type OauthPaymentIntentCompleteOffline = {
280
288
  method: "offline";
281
289
  };
290
+ type OauthPaymentIntentSolanaPrepareResponse = {
291
+ transaction: string;
292
+ payer: string;
293
+ };
294
+ type OauthPaymentIntentSolanaCompleteRequest = {
295
+ signedTransaction: string;
296
+ };
282
297
  type ListAppPaymentAuthorizationsResponse = {
283
298
  authorizations: Array<AppPaymentAuthorizationItem>;
284
299
  };
@@ -345,6 +360,7 @@ type PublicAppPage = {
345
360
  paymentsMode: AppPagePaymentsMode;
346
361
  oauthScopes: Array<string>;
347
362
  chains: Array<string>;
363
+ devlog: boolean;
348
364
  publishedAt: string;
349
365
  updatedAt: string;
350
366
  };
@@ -382,6 +398,121 @@ type AppPageAgeRating = "everyone" | "13_plus" | "16_plus" | "18_plus" | null;
382
398
  type AppPageLanguages = Array<"en" | "es" | "fr" | "de" | "pt" | "it" | "ru" | "ja" | "ko" | "zh" | "hi" | "ar" | "tr" | "vi" | "id" | "th" | "pl" | "nl">;
383
399
  type AppPageReleaseStatus = "live" | "open_beta" | "coming_soon";
384
400
  type AppPagePaymentsMode = "tron" | "onchain" | "both" | null;
401
+ type PublicBipPage = {
402
+ appId: string;
403
+ slug: AppPageSlug;
404
+ appName: string;
405
+ appLogoUrl: string | null;
406
+ categories: AppPageCategories;
407
+ tagline: AppPageTagline;
408
+ bannerUrl: string | null;
409
+ discordUrl: string | null;
410
+ twitterUrl: string | null;
411
+ redditUrl: string | null;
412
+ telegramUrl: string | null;
413
+ gallery: AppPageGallery;
414
+ chapters: AppPageChapters;
415
+ links: AppPageLinks;
416
+ studio: PublicAppPageStudio;
417
+ platforms: AppPagePlatforms;
418
+ gameType: AppPageGameType;
419
+ ageRating: AppPageAgeRating;
420
+ languages: AppPageLanguages;
421
+ releaseStatus: AppPageReleaseStatus;
422
+ publishedAt: string;
423
+ updatedAt: string;
424
+ };
425
+ type BipUpdateListResponse = {
426
+ updates: Array<BipUpdate>;
427
+ total: number;
428
+ hasMore: boolean;
429
+ pinned: BipUpdate | null;
430
+ };
431
+ type BipUpdate = {
432
+ id: string;
433
+ appId: string;
434
+ body: BipUpdateBody;
435
+ attachments: BipUpdateAttachments;
436
+ reactions: BipUpdateReactionCounts;
437
+ commentCount: number;
438
+ createdAt: string;
439
+ updatedAt: string;
440
+ pinnedAt: string | null;
441
+ };
442
+ type BipUpdateBody = string;
443
+ type BipUpdateAttachments = Array<BipUpdateAttachment>;
444
+ type BipUpdateAttachment = {
445
+ url: string;
446
+ kind: "image" | "video";
447
+ order: number;
448
+ };
449
+ type BipUpdateReactionCounts = {
450
+ up: number;
451
+ down: number;
452
+ };
453
+ type BipUpdateCommentListResponse = {
454
+ comments: Array<BipUpdateComment>;
455
+ total: number;
456
+ hasMore: boolean;
457
+ };
458
+ type BipUpdateComment = {
459
+ id: string;
460
+ body: BipUpdateCommentBody;
461
+ author: ReviewAuthor;
462
+ createdAt: string;
463
+ };
464
+ type BipUpdateCommentBody = string;
465
+ type ReviewAuthor = {
466
+ userId: string;
467
+ handle: string | null;
468
+ name: string | null;
469
+ avatarUrl: string | null;
470
+ };
471
+ type BipInterestCountResponse = {
472
+ interestCount: number;
473
+ };
474
+ type BipEngagementResponse = {
475
+ interested: boolean;
476
+ subscribed: boolean;
477
+ interestCount: number;
478
+ };
479
+ type MyBipUpdateReactionsResponse = {
480
+ reactions: Array<MyBipUpdateReaction>;
481
+ };
482
+ type MyBipUpdateReaction = {
483
+ updateId: string;
484
+ vote: "up" | "down";
485
+ };
486
+ type SetBipUpdateReactionResponse = {
487
+ reactions: BipUpdateReactionCounts;
488
+ vote: BipUpdateVote;
489
+ };
490
+ type BipUpdateVote = "up" | "down" | null;
491
+ type SetBipUpdateReactionRequest = {
492
+ vote: BipUpdateVote;
493
+ };
494
+ type CreateBipUpdateCommentResponse = {
495
+ comment: BipUpdateComment;
496
+ commentCount: number;
497
+ };
498
+ type DeleteBipUpdateCommentResponse = {
499
+ commentCount: number;
500
+ };
501
+ type CreateBipUpdateRequest = {
502
+ body: BipUpdateBody;
503
+ attachments?: BipUpdateAttachments;
504
+ };
505
+ type UpdateBipUpdateRequest = {
506
+ body?: BipUpdateBody;
507
+ attachments?: BipUpdateAttachments;
508
+ };
509
+ type DeleteBipUpdateResponse = {
510
+ deleted: true;
511
+ };
512
+ type BipUpdateMediaUploadResponse = {
513
+ url: string;
514
+ kind: "image" | "video";
515
+ };
385
516
  type ReviewListResponse = {
386
517
  aggregate: ReviewAggregate;
387
518
  reviews: Array<Review>;
@@ -415,12 +546,6 @@ type ReviewReactionCounts = {
415
546
  unhelpful: number;
416
547
  funny: number;
417
548
  };
418
- type ReviewAuthor = {
419
- userId: string;
420
- handle: string | null;
421
- name: string | null;
422
- avatarUrl: string | null;
423
- };
424
549
  type ReviewerStats = {
425
550
  playtimeSecondsThisGame: number;
426
551
  gamesPlayed: number;
@@ -611,7 +736,11 @@ type ActivityRow = ({
611
736
  kind: "referral_earning";
612
737
  } & ActivityRowReferralEarning) | ({
613
738
  kind: "nft_charge";
614
- } & ActivityRowNftCharge);
739
+ } & ActivityRowNftCharge) | ({
740
+ kind: "solana_stake";
741
+ } & ActivityRowSolanaStake) | ({
742
+ kind: "solana_pot_leg";
743
+ } & ActivityRowSolanaPotLeg);
615
744
  type ActivityRowPayment = {
616
745
  kind: "payment";
617
746
  groupId: string | null;
@@ -939,6 +1068,56 @@ type ActivityRowNftCharge = {
939
1068
  counterpartyHandle: string | null;
940
1069
  counterpartyDisplayName: string | null;
941
1070
  };
1071
+ type ActivityRowSolanaStake = {
1072
+ kind: "solana_stake";
1073
+ groupId: string | null;
1074
+ id: string;
1075
+ chain: string;
1076
+ occurredAt: string;
1077
+ role: "outgoing" | "incoming";
1078
+ amount: string;
1079
+ token: string;
1080
+ potId: string | null;
1081
+ usdCents: number;
1082
+ status: "completed";
1083
+ txHash: string | null;
1084
+ app: {
1085
+ id: string;
1086
+ name: string;
1087
+ logoUrl: string | null;
1088
+ slug: string | null;
1089
+ bannerUrl: string | null;
1090
+ } | null;
1091
+ stakerUserId?: string | null;
1092
+ stakerHandle?: string | null;
1093
+ stakerDisplayName?: string | null;
1094
+ metadata?: PaymentMetadata | null;
1095
+ };
1096
+ type ActivityRowSolanaPotLeg = {
1097
+ kind: "solana_pot_leg";
1098
+ groupId: string | null;
1099
+ id: string;
1100
+ chain: string;
1101
+ occurredAt: string;
1102
+ role: "outgoing" | "incoming";
1103
+ beneficiary: string;
1104
+ potId: string | null;
1105
+ amount: string;
1106
+ token: string;
1107
+ usdCents: number | null;
1108
+ status: "settled";
1109
+ app: {
1110
+ id: string;
1111
+ name: string;
1112
+ logoUrl: string | null;
1113
+ slug: string | null;
1114
+ bannerUrl: string | null;
1115
+ } | null;
1116
+ txHash: string | null;
1117
+ recipientUserId?: string | null;
1118
+ recipientHandle?: string | null;
1119
+ recipientDisplayName?: string | null;
1120
+ };
942
1121
  type OutstandingResponse = {
943
1122
  rows: Array<OutstandingByToken>;
944
1123
  };
@@ -1098,12 +1277,15 @@ type WalletListResponse = {
1098
1277
  wallets: Array<WalletItem>;
1099
1278
  };
1100
1279
  type WalletChainList = Array<{
1101
- id: "ethereum-mainnet" | "base-mainnet" | "ethereum-sepolia";
1280
+ id: "ethereum-mainnet" | "base-mainnet" | "ethereum-sepolia" | "base-sepolia" | "solana-mainnet" | "solana-devnet";
1102
1281
  displayName: string;
1103
- chainId: number;
1282
+ family: "evm" | "solana";
1283
+ nativeSymbol: string;
1284
+ chainId?: number;
1104
1285
  }>;
1105
1286
  type WalletItem = {
1106
- address: string;
1287
+ address: string | string;
1288
+ family: "evm" | "solana";
1107
1289
  label: WalletLabel;
1108
1290
  kind: "personal" | "app";
1109
1291
  app: WalletAppLink;
@@ -1120,6 +1302,9 @@ type WalletBalances = {
1120
1302
  "ethereum-mainnet"?: WalletChainBalance;
1121
1303
  "base-mainnet"?: WalletChainBalance;
1122
1304
  "ethereum-sepolia"?: WalletChainBalance;
1305
+ "base-sepolia"?: WalletChainBalance;
1306
+ "solana-mainnet"?: WalletChainBalance;
1307
+ "solana-devnet"?: WalletChainBalance;
1123
1308
  };
1124
1309
  type WalletChainBalance = {
1125
1310
  native: string;
@@ -1129,12 +1314,14 @@ type WalletDelegationStatus = {
1129
1314
  mode: WalletDelegationMode;
1130
1315
  caps: WalletDelegationCaps;
1131
1316
  policyId: string | null;
1317
+ slippageBps: DelegationSlippageBps;
1132
1318
  };
1133
1319
  type WalletDelegationMode = "infinite" | "custom" | "scoped" | null;
1134
1320
  type WalletDelegationCaps = {
1135
1321
  native: string;
1136
1322
  usdc: string;
1137
1323
  } | null;
1324
+ type DelegationSlippageBps = number | null;
1138
1325
  type WalletLabelUpdateResponse = {
1139
1326
  address: string;
1140
1327
  label: WalletLabel;
@@ -1815,6 +2002,18 @@ type NotificationItem = {
1815
2002
  payload: AppPageRejectedNotificationPayload;
1816
2003
  read: boolean;
1817
2004
  createdAt: string;
2005
+ } | {
2006
+ id: string;
2007
+ kind: "bip_update_published";
2008
+ payload: BipUpdatePublishedNotificationPayload;
2009
+ read: boolean;
2010
+ createdAt: string;
2011
+ } | {
2012
+ id: string;
2013
+ kind: "bip_now_playable";
2014
+ payload: BipNowPlayableNotificationPayload;
2015
+ read: boolean;
2016
+ createdAt: string;
1818
2017
  } | {
1819
2018
  id: string;
1820
2019
  kind: "app_participant_invite";
@@ -1845,14 +2044,25 @@ type FriendAcceptedNotificationPayload = {
1845
2044
  type AppPageApprovedNotificationPayload = {
1846
2045
  appId: string;
1847
2046
  appName: string;
1848
- scope: "publish" | "changes";
2047
+ scope: "publish" | "changes" | "bip_publish";
1849
2048
  };
1850
2049
  type AppPageRejectedNotificationPayload = {
1851
2050
  appId: string;
1852
2051
  appName: string;
1853
- scope: "publish" | "changes";
2052
+ scope: "publish" | "changes" | "bip_publish";
1854
2053
  notes: string;
1855
2054
  };
2055
+ type BipUpdatePublishedNotificationPayload = {
2056
+ appId: string;
2057
+ appName: string;
2058
+ appSlug: string | null;
2059
+ updateId: string;
2060
+ };
2061
+ type BipNowPlayableNotificationPayload = {
2062
+ appId: string;
2063
+ appName: string;
2064
+ appSlug: string | null;
2065
+ };
1856
2066
  type AppParticipantInviteNotificationPayload = {
1857
2067
  appId: string;
1858
2068
  appName: string;
@@ -2020,12 +2230,14 @@ type UpdateDeveloperApp = {
2020
2230
  redirectUris?: Array<string>;
2021
2231
  embedOrigins?: Array<EmbedOrigin>;
2022
2232
  acceptedCurrencies?: AcceptedCurrencies;
2233
+ acceptedNetworks?: AcceptedNetworks;
2023
2234
  paymentStatusWebhookUrl?: string | null;
2024
2235
  paymentStatusWebhookUrlTest?: string | null;
2025
2236
  };
2026
2237
  type EmbedOrigin = string;
2027
2238
  type AcceptedCurrencies = Array<PlatformCurrency>;
2028
2239
  type PlatformCurrency = "eth" | "tron";
2240
+ type AcceptedNetworks = Array<PaymentNetwork> | null;
2029
2241
  type DeveloperLogoUploadResponse = {
2030
2242
  logoUrl: string | null;
2031
2243
  };
@@ -2088,7 +2300,7 @@ type DeveloperAppWalletsResponse = {
2088
2300
  };
2089
2301
  type DeveloperAppWalletItem = {
2090
2302
  chain: string;
2091
- address: string;
2303
+ address: string | string;
2092
2304
  custody: "server" | null;
2093
2305
  walletId: string | null;
2094
2306
  autoSweepEnabled: boolean;
@@ -2109,7 +2321,7 @@ type DeveloperAppProvisionWalletResponse = {
2109
2321
  chain: string;
2110
2322
  custody: "server";
2111
2323
  walletId: string;
2112
- address: string;
2324
+ address: string | string;
2113
2325
  };
2114
2326
  type DeveloperAppWithdrawResponse = {
2115
2327
  appId: string;
@@ -2272,6 +2484,7 @@ type DeveloperAppItem = {
2272
2484
  redirectUris: Array<string>;
2273
2485
  embedOrigins: Array<EmbedOrigin>;
2274
2486
  acceptedCurrencies: AcceptedCurrencies;
2487
+ acceptedNetworks: AcceptedNetworks;
2275
2488
  payoutAddresses: Array<DeveloperAppPayoutAddressItem>;
2276
2489
  keys: Array<DeveloperAppKeyItem>;
2277
2490
  pendingProductionRequestId: string | null;
@@ -2326,6 +2539,16 @@ type AppPageDraft = {
2326
2539
  hiddenAt: string | null;
2327
2540
  hiddenReasonPublic: string | null;
2328
2541
  pendingReview: boolean;
2542
+ bip: AppPageBipState;
2543
+ };
2544
+ type AppPageBipState = {
2545
+ enabled: boolean;
2546
+ status: "draft" | "pending_review" | "published" | "hidden";
2547
+ firstPublishedAt: string | null;
2548
+ reviewedAt: string | null;
2549
+ reviewNotes: string | null;
2550
+ hiddenAt: string | null;
2551
+ hiddenReasonPublic: string | null;
2329
2552
  };
2330
2553
  type UpdateAppPage = {
2331
2554
  categories?: AppPageCategories;
@@ -2350,6 +2573,9 @@ type UpdateAppPage = {
2350
2573
  type AppPageGalleryUploadResponse = {
2351
2574
  url: string;
2352
2575
  };
2576
+ type AppPageBipToggle = {
2577
+ enabled: boolean;
2578
+ };
2353
2579
  type AdminActivePlayersResponse = {
2354
2580
  players: Array<AdminActivePlayer>;
2355
2581
  total: number;
@@ -2421,6 +2647,7 @@ type AdminAuditListResponse = {
2421
2647
  total: number;
2422
2648
  offset: number;
2423
2649
  limit: number;
2650
+ nextCursor: string | null;
2424
2651
  };
2425
2652
  type AdminAuditListItem = {
2426
2653
  id: string;
@@ -2488,6 +2715,11 @@ type AdminAppPageItem = {
2488
2715
  hiddenAt: string | null;
2489
2716
  hiddenReasonInternal: string | null;
2490
2717
  pendingChangesSubmittedAt: string | null;
2718
+ bipEnabled: boolean;
2719
+ bipStatus: "draft" | "pending_review" | "published" | "hidden";
2720
+ bipFirstPublishedAt: string | null;
2721
+ bipHiddenAt: string | null;
2722
+ openReportCount: number;
2491
2723
  };
2492
2724
  type AdminAppPageStatusResponse = {
2493
2725
  status: "draft" | "pending_review" | "published" | "hidden";
@@ -2513,6 +2745,25 @@ type AdminAppPageDiffField = {
2513
2745
  from: string;
2514
2746
  to: string;
2515
2747
  };
2748
+ type AdminAppPageBipStatusResponse = {
2749
+ bipStatus: "draft" | "pending_review" | "published" | "hidden";
2750
+ };
2751
+ type AdminAppContentReportListResponse = {
2752
+ reports: Array<AdminAppContentReportItem>;
2753
+ total: number;
2754
+ hasMore: boolean;
2755
+ };
2756
+ type AdminAppContentReportItem = {
2757
+ id: string;
2758
+ category: AppContentReportCategory;
2759
+ details: string | null;
2760
+ status: AppContentReportStatus;
2761
+ acknowledgedAt: string | null;
2762
+ createdAt: string;
2763
+ appId: string;
2764
+ appName: string;
2765
+ appSlug: string | null;
2766
+ };
2516
2767
  type PlatformFeesResponse = {
2517
2768
  purchaseFeeBps: number;
2518
2769
  stakeFeeBps: number;
@@ -2693,6 +2944,13 @@ type AppealResolveRequest = {
2693
2944
  decision: "refund" | "dismiss";
2694
2945
  notes?: string;
2695
2946
  };
2947
+ type PaymentRatesResponse = {
2948
+ asOf: string;
2949
+ ethUsd: number | null;
2950
+ solUsd: number | null;
2951
+ solLamportsPerCent: number | null;
2952
+ tronUsdPerToken: number;
2953
+ };
2696
2954
  type AppealFileResponse = {
2697
2955
  appealId: string;
2698
2956
  paymentId: string;
@@ -2802,7 +3060,7 @@ declare function listActivePlayers(context: TransportContext, input: {
2802
3060
  //#region src/admin/app-pages.d.ts
2803
3061
  declare function listAppPages(context: TransportContext, input: {
2804
3062
  readonly bearer: string;
2805
- readonly status?: "draft" | "pending_review" | "published" | "hidden" | "all" | "pending_changes";
3063
+ readonly status?: "draft" | "pending_review" | "published" | "hidden" | "all" | "pending_changes" | "bip_pending_review";
2806
3064
  }): Promise<AdminAppPageListResponse>;
2807
3065
  declare function getAppPageChanges(context: TransportContext, input: {
2808
3066
  readonly bearer: string;
@@ -2827,6 +3085,20 @@ declare function reviewAppPage(context: TransportContext, input: {
2827
3085
  readonly appId: string;
2828
3086
  readonly body: ReviewAppPage;
2829
3087
  }): Promise<AdminAppPageStatusResponse>;
3088
+ declare function reviewAppPageBip(context: TransportContext, input: {
3089
+ readonly bearer: string;
3090
+ readonly appId: string;
3091
+ readonly body: ReviewAppPage;
3092
+ }): Promise<AdminAppPageBipStatusResponse>;
3093
+ declare function hideAppPageBip(context: TransportContext, input: {
3094
+ readonly bearer: string;
3095
+ readonly appId: string;
3096
+ readonly body: HideAppPage;
3097
+ }): Promise<AdminAppPageBipStatusResponse>;
3098
+ declare function unhideAppPageBip(context: TransportContext, input: {
3099
+ readonly bearer: string;
3100
+ readonly appId: string;
3101
+ }): Promise<AdminAppPageBipStatusResponse>;
2830
3102
  //#endregion
2831
3103
  //#region src/admin/appeals.d.ts
2832
3104
  declare function listAppealQueue(context: TransportContext, input: {
@@ -2858,6 +3130,19 @@ declare function resolveAppeal(context: TransportContext, input: {
2858
3130
  readonly body: AppealResolveRequest;
2859
3131
  }): Promise<AppealResolveSignedResponse>;
2860
3132
  //#endregion
3133
+ //#region src/admin/content-reports.d.ts
3134
+ declare function listAdminContentReports(context: TransportContext, input: {
3135
+ readonly bearer: string;
3136
+ readonly status?: "open" | "acknowledged" | "dismissed" | "all";
3137
+ readonly limit?: number;
3138
+ readonly offset?: number;
3139
+ }): Promise<AdminAppContentReportListResponse>;
3140
+ declare function triageAdminContentReport(context: TransportContext, input: {
3141
+ readonly bearer: string;
3142
+ readonly reportId: string;
3143
+ readonly status: "acknowledged" | "dismissed";
3144
+ }): Promise<AppContentReport>;
3145
+ //#endregion
2861
3146
  //#region src/admin/developers.d.ts
2862
3147
  declare function listDeveloperRequests(context: TransportContext, input: {
2863
3148
  readonly bearer: string;
@@ -2987,6 +3272,7 @@ declare function listAudit(context: TransportContext, input: {
2987
3272
  readonly actorId?: string;
2988
3273
  readonly targetType?: string;
2989
3274
  readonly targetId?: string;
3275
+ readonly cursor?: string;
2990
3276
  readonly offset?: number;
2991
3277
  readonly limit?: number;
2992
3278
  }): Promise<AdminAuditListResponse>;
@@ -2997,6 +3283,113 @@ declare function getAppPage(context: TransportContext, input: {
2997
3283
  readonly slug: string;
2998
3284
  }): Promise<PublicAppPage>;
2999
3285
  //#endregion
3286
+ //#region src/catalog/bip-updates.d.ts
3287
+ declare function listBipUpdates(context: TransportContext, input: {
3288
+ readonly bearer?: string;
3289
+ readonly slug: string;
3290
+ readonly limit?: number;
3291
+ readonly offset?: number;
3292
+ }): Promise<BipUpdateListResponse>;
3293
+ declare function listBipUpdateComments(context: TransportContext, input: {
3294
+ readonly bearer?: string;
3295
+ readonly slug: string;
3296
+ readonly updateId: string;
3297
+ readonly limit?: number;
3298
+ readonly offset?: number;
3299
+ }): Promise<BipUpdateCommentListResponse>;
3300
+ declare function getMyBipUpdateReactions(context: TransportContext, input: {
3301
+ readonly bearer: string;
3302
+ readonly slug: string;
3303
+ }): Promise<MyBipUpdateReactionsResponse>;
3304
+ declare function setBipUpdateReaction(context: TransportContext, input: {
3305
+ readonly bearer: string;
3306
+ readonly slug: string;
3307
+ readonly updateId: string;
3308
+ readonly body: SetBipUpdateReactionRequest;
3309
+ }): Promise<SetBipUpdateReactionResponse>;
3310
+ declare function commentOnBipUpdate(context: TransportContext, input: {
3311
+ readonly bearer: string;
3312
+ readonly slug: string;
3313
+ readonly updateId: string;
3314
+ readonly body: string;
3315
+ }): Promise<CreateBipUpdateCommentResponse>;
3316
+ declare function deleteBipUpdateComment(context: TransportContext, input: {
3317
+ readonly bearer: string;
3318
+ readonly slug: string;
3319
+ readonly commentId: string;
3320
+ }): Promise<DeleteBipUpdateCommentResponse>;
3321
+ declare function listDeveloperBipUpdates(context: TransportContext, input: {
3322
+ readonly bearer: string;
3323
+ readonly appId: string;
3324
+ readonly limit?: number;
3325
+ readonly offset?: number;
3326
+ }): Promise<BipUpdateListResponse>;
3327
+ declare function createBipUpdate(context: TransportContext, input: {
3328
+ readonly bearer: string;
3329
+ readonly appId: string;
3330
+ readonly body: CreateBipUpdateRequest;
3331
+ }): Promise<BipUpdate>;
3332
+ declare function updateBipUpdate(context: TransportContext, input: {
3333
+ readonly bearer: string;
3334
+ readonly appId: string;
3335
+ readonly updateId: string;
3336
+ readonly body: UpdateBipUpdateRequest;
3337
+ }): Promise<BipUpdate>;
3338
+ declare function deleteBipUpdate(context: TransportContext, input: {
3339
+ readonly bearer: string;
3340
+ readonly appId: string;
3341
+ readonly updateId: string;
3342
+ }): Promise<DeleteBipUpdateResponse>;
3343
+ declare function pinBipUpdate(context: TransportContext, input: {
3344
+ readonly bearer: string;
3345
+ readonly appId: string;
3346
+ readonly updateId: string;
3347
+ }): Promise<BipUpdate>;
3348
+ declare function unpinBipUpdate(context: TransportContext, input: {
3349
+ readonly bearer: string;
3350
+ readonly appId: string;
3351
+ readonly updateId: string;
3352
+ }): Promise<BipUpdate>;
3353
+ declare function uploadBipUpdateMedia(context: TransportContext, input: {
3354
+ readonly bearer: string;
3355
+ readonly appId: string;
3356
+ readonly file: Blob;
3357
+ readonly filename: string;
3358
+ readonly contentType: string;
3359
+ }): Promise<BipUpdateMediaUploadResponse>;
3360
+ declare function getBipInterestCount(context: TransportContext, input: {
3361
+ readonly bearer?: string;
3362
+ readonly slug: string;
3363
+ }): Promise<BipInterestCountResponse>;
3364
+ declare function getMyBipEngagement(context: TransportContext, input: {
3365
+ readonly bearer: string;
3366
+ readonly slug: string;
3367
+ }): Promise<BipEngagementResponse>;
3368
+ declare function registerBipInterest(context: TransportContext, input: {
3369
+ readonly bearer: string;
3370
+ readonly slug: string;
3371
+ readonly interested: boolean;
3372
+ }): Promise<BipEngagementResponse>;
3373
+ declare function subscribeBipUpdates(context: TransportContext, input: {
3374
+ readonly bearer: string;
3375
+ readonly slug: string;
3376
+ readonly subscribed: boolean;
3377
+ }): Promise<BipEngagementResponse>;
3378
+ //#endregion
3379
+ //#region src/catalog/build-in-public.d.ts
3380
+ declare function getBipDirectory(context: TransportContext, input: {
3381
+ readonly bearer?: string;
3382
+ readonly genre?: string;
3383
+ readonly q?: string;
3384
+ readonly sort?: "newest" | "top";
3385
+ readonly before?: string;
3386
+ readonly limit?: number;
3387
+ }): Promise<LibraryListResponse>;
3388
+ declare function getBipPage(context: TransportContext, input: {
3389
+ readonly bearer?: string;
3390
+ readonly slug: string;
3391
+ }): Promise<PublicBipPage>;
3392
+ //#endregion
3000
3393
  //#region src/catalog/content-reports.d.ts
3001
3394
  declare function submitAppContentReport(context: TransportContext, input: {
3002
3395
  readonly appId: string;
@@ -3009,6 +3402,7 @@ declare function getLibrary(context: TransportContext, input: {
3009
3402
  readonly bearer?: string;
3010
3403
  readonly genre?: string;
3011
3404
  readonly q?: string;
3405
+ readonly sort?: "newest" | "top";
3012
3406
  readonly before?: string;
3013
3407
  readonly limit?: number;
3014
3408
  }): Promise<LibraryListResponse>;
@@ -3161,6 +3555,9 @@ declare function getPaymentHistory(context: TransportContext, input: {
3161
3555
  readonly before?: string;
3162
3556
  }): Promise<PaymentHistoryResponse>;
3163
3557
  //#endregion
3558
+ //#region src/dashboard/rates.d.ts
3559
+ declare function getPaymentRates(context: TransportContext): Promise<PaymentRatesResponse>;
3560
+ //#endregion
3164
3561
  //#region src/developer/api-keys.d.ts
3165
3562
  declare function createDeveloperApiKey(context: TransportContext, input: {
3166
3563
  readonly bearer: string;
@@ -3403,6 +3800,19 @@ declare function unpublishAppPage(context: TransportContext, input: {
3403
3800
  readonly bearer: string;
3404
3801
  readonly appId: string;
3405
3802
  }): Promise<AppPageDraft>;
3803
+ declare function setAppPageBip(context: TransportContext, input: {
3804
+ readonly bearer: string;
3805
+ readonly appId: string;
3806
+ readonly body: AppPageBipToggle;
3807
+ }): Promise<AppPageDraft>;
3808
+ declare function submitAppPageBipForReview(context: TransportContext, input: {
3809
+ readonly bearer: string;
3810
+ readonly appId: string;
3811
+ }): Promise<AppPageDraft>;
3812
+ declare function unpublishAppPageBip(context: TransportContext, input: {
3813
+ readonly bearer: string;
3814
+ readonly appId: string;
3815
+ }): Promise<AppPageDraft>;
3406
3816
  //#endregion
3407
3817
  //#region src/developer/participants.d.ts
3408
3818
  declare function listDeveloperAppParticipants(context: TransportContext, input: {
@@ -3774,6 +4184,15 @@ declare function denyPaymentIntent(context: TransportContext, input: {
3774
4184
  readonly bearer: string;
3775
4185
  readonly intentId: string;
3776
4186
  }): Promise<OauthPaymentIntentResolveResponse>;
4187
+ declare function preparePaymentIntentSolana(context: TransportContext, input: {
4188
+ readonly bearer: string;
4189
+ readonly intentId: string;
4190
+ }): Promise<OauthPaymentIntentSolanaPrepareResponse>;
4191
+ declare function completePaymentIntentSolana(context: TransportContext, input: {
4192
+ readonly bearer: string;
4193
+ readonly intentId: string;
4194
+ readonly body: OauthPaymentIntentSolanaCompleteRequest;
4195
+ }): Promise<OauthPaymentIntentResolveResponse>;
3777
4196
  //#endregion
3778
4197
  //#region src/payments/limits.d.ts
3779
4198
  declare function getPaymentLimits(context: TransportContext, input: {
@@ -4278,4 +4697,4 @@ type CookieTokenStoreOptions = {
4278
4697
  };
4279
4698
  declare function createCookieTokenStore(options?: CookieTokenStoreOptions): TokenStore;
4280
4699
  //#endregion
4281
- export { AuthorizeUrl, type BrowserClientConfig, BuildAuthorizeUrlInput, ChargeResult, CookieTokenStoreOptions, type FetchLike, InflightDedup, type Logger, MountPresenceWidgetOptions, NOOP_RATE_LIMITER, OauthErrorCode, OauthPaymentWebhookBody, type OauthScope, PkcePair, PresenceStatus, PresenceWidgetHandle, RateLimitOptions, RateLimiter, 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, TronBrowserClient, TronError, TronOauthError, TronWsCloseCode, TronWsCloseError, VerifyWebhookFailure, VerifyWebhookInput, VerifyWebhookResult, VerifyWebhookSuccess, WEBHOOK_SIGNATURE_HEADER, WEBHOOK_TIMESTAMP_HEADER, acceptDeveloperInvite, addAdmin, addAppealBlacklist, addReaction, approveTronCashout, batchThreadDmKeys, bindReferral, buildAuthorizeUrl, cancelFriendRequest, charge, commentOnGameReview, completePaymentIntent, consolidateDeveloperAppWallet, createConsoleLogger, createCookieTokenStore, 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, editMessage, 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, getEarningsTimeseries, getIntentStatus, getLibrary, getMeStats, getMoonpayAvailability, getMyDmKey, getMyGameReview, getMyGameReviewReactions, getOutstanding, getPaymentChains, getPaymentHistory, getPaymentIntent, getPaymentLimits, getPaymentPrice, getPlatformFees, getPlaytime, getPlaytimeTimeseries, getPublicProfile, getReferral, getThreadDmKey, getTronBalance, getTronSecurity, hideAppPage, hideThread, inviteDeveloperAppParticipant, inviteParticipants, leaveThread, listActivePlayers, listAdmins, listAppPages, listAppealBlacklist, listAppealQueue, listAudit, listDeveloperApiKeys, listDeveloperAppContentReports, listDeveloperAppInventoryCollections, listDeveloperAppInventoryItems, listDeveloperAppParticipants, listDeveloperAppReviews, 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, mintMoonpayBuyUrl, mintMoonpaySellUrl, mountPresenceWidget, oauthPaymentWebhookBodySchema, pinThread, postAdminAppealRoomMessage, postAppealRoomMessage, previewReferral, provisionDeveloperAppWallet, publishDmKey, quoteDeveloperAppInventoryRegistration, quoteNftTransfer, quoteRelayedVaultPermit, redeemInventoryMintPermit, refreshAccessToken, registerDeveloperAppInventoryItem, rejectTronCashout, removeAdmin, removeAppealBlacklist, removeFriend, removeParticipant, removeReaction, replyToGameReview, requestDeveloperAppProduction, requestMint, resolveAppeal, reviewAppPage, reviewAppPageChanges, reviewDeveloperRequest, revokeDeveloperApiKey, revokeDeveloperAppParticipant, revokePaymentAuthorization, revokeToken, rotateDeveloperAppKey, rotateDeveloperAppPaymentWebhookSecret, rotateProcessorTreasury, searchGiphy, searchUsers, sendFriendRequest, sendMessage, sendPresenceHeartbeat, setMyGameReviewReaction, setProcessorWhitelist, setTronSecurity, setVaultOperator, setVaultPause, setVaultWithdrawLockDefault, setVaultWithdrawLockOverride, setupDmKeyBackup, sha256Base64Url, signInventoryVaultPermit, signPaymentIntent, 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 };
4700
+ export { AuthorizeUrl, type BrowserClientConfig, BuildAuthorizeUrlInput, ChargeResult, CookieTokenStoreOptions, type FetchLike, InflightDedup, type Logger, MountPresenceWidgetOptions, NOOP_RATE_LIMITER, OauthErrorCode, OauthPaymentWebhookBody, type OauthScope, PkcePair, PresenceStatus, PresenceWidgetHandle, RateLimitOptions, RateLimiter, 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, TronBrowserClient, TronError, TronOauthError, TronWsCloseCode, TronWsCloseError, VerifyWebhookFailure, VerifyWebhookInput, VerifyWebhookResult, VerifyWebhookSuccess, WEBHOOK_SIGNATURE_HEADER, WEBHOOK_TIMESTAMP_HEADER, acceptDeveloperInvite, addAdmin, addAppealBlacklist, addReaction, approveTronCashout, batchThreadDmKeys, bindReferral, buildAuthorizeUrl, cancelFriendRequest, charge, commentOnBipUpdate, commentOnGameReview, completePaymentIntent, completePaymentIntentSolana, consolidateDeveloperAppWallet, createBipUpdate, createConsoleLogger, createCookieTokenStore, 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, editMessage, 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, getEarningsTimeseries, getIntentStatus, getLibrary, getMeStats, getMoonpayAvailability, getMyBipEngagement, getMyBipUpdateReactions, getMyDmKey, getMyGameReview, getMyGameReviewReactions, getOutstanding, getPaymentChains, getPaymentHistory, getPaymentIntent, getPaymentLimits, getPaymentPrice, getPaymentRates, getPlatformFees, getPlaytime, getPlaytimeTimeseries, getPublicProfile, getReferral, getThreadDmKey, getTronBalance, getTronSecurity, hideAppPage, hideAppPageBip, hideThread, 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, mintMoonpayBuyUrl, mintMoonpaySellUrl, mountPresenceWidget, oauthPaymentWebhookBodySchema, pinBipUpdate, pinThread, postAdminAppealRoomMessage, postAppealRoomMessage, preparePaymentIntentSolana, previewReferral, provisionDeveloperAppWallet, publishDmKey, quoteDeveloperAppInventoryRegistration, quoteNftTransfer, quoteRelayedVaultPermit, redeemInventoryMintPermit, refreshAccessToken, registerBipInterest, registerDeveloperAppInventoryItem, rejectTronCashout, removeAdmin, removeAppealBlacklist, removeFriend, removeParticipant, removeReaction, replyToGameReview, requestDeveloperAppProduction, requestMint, resolveAppeal, reviewAppPage, reviewAppPageBip, reviewAppPageChanges, reviewDeveloperRequest, revokeDeveloperApiKey, revokeDeveloperAppParticipant, revokePaymentAuthorization, revokeToken, rotateDeveloperAppKey, rotateDeveloperAppPaymentWebhookSecret, rotateProcessorTreasury, searchGiphy, searchUsers, sendFriendRequest, sendMessage, sendPresenceHeartbeat, setAppPageBip, setBipUpdateReaction, setMyGameReviewReaction, setProcessorWhitelist, setTronSecurity, setVaultOperator, setVaultPause, setVaultWithdrawLockDefault, setVaultWithdrawLockOverride, setupDmKeyBackup, sha256Base64Url, signInventoryVaultPermit, signPaymentIntent, submitAppContentReport, submitAppPageBipForReview, submitAppPageForReview, submitDeveloperRequest, submitRelayedVaultPermit, subscribeBipUpdates, tipGameReview, toTokenSet, triageAdminContentReport, unfollowUser, unhideAppPage, unhideAppPageBip, unlockDmKeyBackup, unpinBipUpdate, 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 };