@metatrongg/sdk 0.8.0-dev.b082f17 → 0.8.0-dev.b4cd8bd

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";
@@ -106,7 +106,7 @@ type OauthAuthorizationServerMetadata = {
106
106
  grant_types_supported: Array<"authorization_code" | "refresh_token" | "client_credentials">;
107
107
  code_challenge_methods_supported: Array<"S256">;
108
108
  token_endpoint_auth_methods_supported: Array<"client_secret_basic" | "client_secret_post" | "none">;
109
- scopes_supported: Array<"openid" | "profile" | "payments:charge" | "inventory:read" | "developer:read" | "developer:apps" | "developer:pages">;
109
+ scopes_supported: Array<"openid" | "profile" | "payments:charge" | "inventory:read" | "social:read" | "developer:read" | "developer:apps" | "developer:pages">;
110
110
  };
111
111
  type OauthScopeString = string;
112
112
  type OauthState = string;
@@ -127,7 +127,9 @@ type OauthErrorResponse = {
127
127
  type OauthUserInfoResponse = {
128
128
  sub: string;
129
129
  name: string | null;
130
+ preferred_username: string | null;
130
131
  picture: string | null;
132
+ wallet_address: string | null;
131
133
  };
132
134
  type OauthPaymentChargeResponse = ({
133
135
  status: "completed";
@@ -246,7 +248,16 @@ type OauthPaymentIntentContext = {
246
248
  studioXHandle: string | null;
247
249
  };
248
250
  } | null;
251
+ environment: "development" | "production";
252
+ onramp?: {
253
+ kind: "bridge";
254
+ from: PaymentNetwork;
255
+ to: PaymentNetwork;
256
+ } | {
257
+ kind: "insufficient";
258
+ };
249
259
  };
260
+ type PaymentNetwork = "ethereum" | "base" | "solana";
250
261
  type OauthPaymentIntentSignResponse = {
251
262
  chain: string;
252
263
  chainId: number;
@@ -276,6 +287,13 @@ type OauthPaymentIntentCompleteSigned = {
276
287
  type OauthPaymentIntentCompleteOffline = {
277
288
  method: "offline";
278
289
  };
290
+ type OauthPaymentIntentSolanaPrepareResponse = {
291
+ transaction: string;
292
+ payer: string;
293
+ };
294
+ type OauthPaymentIntentSolanaCompleteRequest = {
295
+ signedTransaction: string;
296
+ };
279
297
  type ListAppPaymentAuthorizationsResponse = {
280
298
  authorizations: Array<AppPaymentAuthorizationItem>;
281
299
  };
@@ -334,9 +352,17 @@ type PublicAppPage = {
334
352
  chapters: AppPageChapters;
335
353
  links: AppPageLinks;
336
354
  studio: PublicAppPageStudio;
355
+ platforms: AppPagePlatforms;
356
+ gameType: AppPageGameType;
357
+ ageRating: AppPageAgeRating;
358
+ languages: AppPageLanguages;
359
+ releaseStatus: AppPageReleaseStatus;
360
+ paymentsMode: AppPagePaymentsMode;
337
361
  oauthScopes: Array<string>;
338
362
  chains: Array<string>;
363
+ devlog: boolean;
339
364
  publishedAt: string;
365
+ updatedAt: string;
340
366
  };
341
367
  type AppPageCategories = Array<"adventure" | "battle_royale" | "board" | "cards" | "casino" | "casual" | "fighting" | "idle" | "mmo" | "moba" | "platformer" | "prediction" | "puzzle" | "racing" | "rhythm" | "roguelike" | "rpg" | "rts" | "sandbox" | "shooter" | "simulation" | "sports" | "strategy" | "survival" | "tools" | "tower_defense" | "visual_novel" | "other">;
342
368
  type AppPageTagline = string;
@@ -359,12 +385,134 @@ type AppPageLink = {
359
385
  order: number;
360
386
  };
361
387
  type PublicAppPageStudio = {
388
+ ownerUserId: string | null;
362
389
  name: string | null;
363
390
  logoUrl: string | null;
364
391
  websiteUrl: string | null;
365
392
  xHandle: string | null;
366
393
  githubUrl: string | null;
367
394
  };
395
+ type AppPagePlatforms = Array<"web" | "ios" | "android" | "pc" | "playstation" | "xbox" | "switch">;
396
+ type AppPageGameType = "single_player" | "multiplayer" | "both" | null;
397
+ type AppPageAgeRating = "everyone" | "13_plus" | "16_plus" | "18_plus" | null;
398
+ type AppPageLanguages = Array<"en" | "es" | "fr" | "de" | "pt" | "it" | "ru" | "ja" | "ko" | "zh" | "hi" | "ar" | "tr" | "vi" | "id" | "th" | "pl" | "nl">;
399
+ type AppPageReleaseStatus = "live" | "open_beta" | "coming_soon";
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
+ };
368
516
  type ReviewListResponse = {
369
517
  aggregate: ReviewAggregate;
370
518
  reviews: Array<Review>;
@@ -372,38 +520,43 @@ type ReviewListResponse = {
372
520
  hasMore: boolean;
373
521
  };
374
522
  type ReviewAggregate = {
375
- average: number | null;
376
523
  count: number;
377
- distribution: ReviewDistribution;
378
- };
379
- type ReviewDistribution = {
380
- 1: number;
381
- 2: number;
382
- 3: number;
383
- 4: number;
384
- 5: number;
524
+ recommendedCount: number;
525
+ recommendedPct: number | null;
526
+ summaryLabel: ReviewSummaryLabel;
385
527
  };
528
+ type ReviewSummaryLabel = "overwhelmingly_positive" | "very_positive" | "positive" | "mostly_positive" | "mixed" | "mostly_negative" | "negative" | "overwhelmingly_negative" | null;
386
529
  type Review = {
387
530
  id: string;
388
- rating: ReviewRating;
531
+ recommended: ReviewRecommended;
389
532
  body: ReviewBody;
533
+ reactions: ReviewReactionCounts;
534
+ tippedCents: number;
535
+ commentCount: number;
390
536
  author: ReviewAuthor;
537
+ authorStats: ReviewerStats;
391
538
  developerReply: ReviewReply;
392
539
  createdAt: string;
393
540
  updatedAt: string;
394
541
  };
395
- type ReviewRating = number;
542
+ type ReviewRecommended = boolean;
396
543
  type ReviewBody = string;
397
- type ReviewAuthor = {
398
- name: string | null;
399
- avatarUrl: string | null;
544
+ type ReviewReactionCounts = {
545
+ helpful: number;
546
+ unhelpful: number;
547
+ funny: number;
548
+ };
549
+ type ReviewerStats = {
550
+ playtimeSecondsThisGame: number;
551
+ gamesPlayed: number;
552
+ reviewsWritten: number;
400
553
  };
401
554
  type ReviewReply = {
402
555
  body: ReviewReplyBody;
403
556
  repliedAt: string;
404
557
  } | null;
405
558
  type ReviewReplyBody = string;
406
- type ReviewSort = "newest" | "oldest" | "highest" | "lowest";
559
+ type ReviewSort = "newest" | "oldest" | "helpful";
407
560
  type MyReviewResponse = {
408
561
  eligible: boolean;
409
562
  eligibleVia: ReviewEligibilityReason;
@@ -413,15 +566,67 @@ type MyReviewResponse = {
413
566
  type ReviewEligibilityReason = "payment" | "reward" | null;
414
567
  type OwnReview = {
415
568
  id: string;
416
- rating: ReviewRating;
569
+ recommended: ReviewRecommended;
417
570
  body: ReviewBody;
418
571
  createdAt: string;
419
572
  updatedAt: string;
420
573
  } | null;
421
574
  type UpsertReviewRequest = {
422
- rating: ReviewRating;
575
+ recommended: ReviewRecommended;
423
576
  body: ReviewBody;
424
577
  };
578
+ type MyReviewReactionsResponse = {
579
+ reactions: Array<MyReviewReaction>;
580
+ };
581
+ type MyReviewReaction = {
582
+ reviewId: string;
583
+ vote: ReviewVote;
584
+ funny: boolean;
585
+ };
586
+ type ReviewVote = "helpful" | "unhelpful" | null;
587
+ type SetReviewReactionResponse = {
588
+ reactions: ReviewReactionCounts;
589
+ vote: ReviewVote;
590
+ funny: boolean;
591
+ };
592
+ type SetReviewReactionRequest = {
593
+ vote: ReviewVote;
594
+ funny: boolean;
595
+ };
596
+ type TipReviewResponse = {
597
+ status: "completed";
598
+ amountCents: number;
599
+ balanceCents: number;
600
+ tippedCents: number;
601
+ };
602
+ type TipReviewRequest = {
603
+ amountCents: number;
604
+ note?: string;
605
+ challengeId?: string;
606
+ signature?: string;
607
+ };
608
+ type ReviewCommentListResponse = {
609
+ comments: Array<ReviewComment>;
610
+ total: number;
611
+ hasMore: boolean;
612
+ };
613
+ type ReviewComment = {
614
+ id: string;
615
+ body: ReviewCommentBody;
616
+ author: ReviewAuthor;
617
+ createdAt: string;
618
+ };
619
+ type ReviewCommentBody = string;
620
+ type CreateReviewCommentResponse = {
621
+ comment: ReviewComment;
622
+ commentCount: number;
623
+ };
624
+ type CreateReviewCommentRequest = {
625
+ body: ReviewCommentBody;
626
+ };
627
+ type DeleteReviewCommentResponse = {
628
+ commentCount: number;
629
+ };
425
630
  type ReviewReplyResponse = {
426
631
  developerReply: ReviewReply;
427
632
  };
@@ -526,8 +731,16 @@ type ActivityRow = ({
526
731
  } & ActivityRowTronPot) | ({
527
732
  kind: "tron_cashout";
528
733
  } & ActivityRowTronCashout) | ({
734
+ kind: "tron_transfer";
735
+ } & ActivityRowTronTransfer) | ({
529
736
  kind: "referral_earning";
530
- } & ActivityRowReferralEarning);
737
+ } & ActivityRowReferralEarning) | ({
738
+ kind: "nft_charge";
739
+ } & ActivityRowNftCharge) | ({
740
+ kind: "solana_stake";
741
+ } & ActivityRowSolanaStake) | ({
742
+ kind: "solana_pot_leg";
743
+ } & ActivityRowSolanaPotLeg);
531
744
  type ActivityRowPayment = {
532
745
  kind: "payment";
533
746
  groupId: string | null;
@@ -773,6 +986,8 @@ type ActivityRowTronPot = {
773
986
  role: "incoming" | "outgoing";
774
987
  leg: "stake" | "payout" | "dev_cut" | "purchase" | "referral";
775
988
  amountCents: number;
989
+ usdCents: number;
990
+ status: "settled";
776
991
  app: {
777
992
  id: string;
778
993
  name: string;
@@ -780,8 +995,16 @@ type ActivityRowTronPot = {
780
995
  slug: string | null;
781
996
  bannerUrl: string | null;
782
997
  } | null;
998
+ involvedUsers?: Array<ActivityTronInvolvedUser> | null;
783
999
  metadata?: PaymentMetadata | null;
784
1000
  };
1001
+ type ActivityTronInvolvedUser = {
1002
+ userId: string;
1003
+ handle: string | null;
1004
+ displayName: string | null;
1005
+ role: "stake" | "payout" | "dev_cut" | "purchase" | "referral";
1006
+ amountCents: number;
1007
+ };
785
1008
  type ActivityRowTronCashout = {
786
1009
  kind: "tron_cashout";
787
1010
  groupId: string | null;
@@ -799,6 +1022,20 @@ type ActivityRowTronCashout = {
799
1022
  rejectionReason: string | null;
800
1023
  settledAt: string | null;
801
1024
  };
1025
+ type ActivityRowTronTransfer = {
1026
+ kind: "tron_transfer";
1027
+ groupId: string | null;
1028
+ id: string;
1029
+ occurredAt: string;
1030
+ role: "incoming" | "outgoing";
1031
+ amountCents: number;
1032
+ usdCents: number;
1033
+ status: "settled";
1034
+ counterpartyUserId: string | null;
1035
+ counterpartyHandle: string | null;
1036
+ counterpartyDisplayName: string | null;
1037
+ note: string | null;
1038
+ };
802
1039
  type ActivityRowReferralEarning = {
803
1040
  kind: "referral_earning";
804
1041
  groupId: string | null;
@@ -815,6 +1052,72 @@ type ActivityRowReferralEarning = {
815
1052
  logIndex: number;
816
1053
  usdCents: number | null;
817
1054
  };
1055
+ type ActivityRowNftCharge = {
1056
+ kind: "nft_charge";
1057
+ groupId: string | null;
1058
+ id: string;
1059
+ occurredAt: string;
1060
+ role: "outgoing";
1061
+ chargeKind: "registration" | "mint" | "transfer_gas";
1062
+ amountCents: number;
1063
+ usdCents: number;
1064
+ status: "settled";
1065
+ collectionAddress: string | null;
1066
+ tokenId: string | null;
1067
+ counterpartyUserId: string | null;
1068
+ counterpartyHandle: string | null;
1069
+ counterpartyDisplayName: string | null;
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
+ };
818
1121
  type OutstandingResponse = {
819
1122
  rows: Array<OutstandingByToken>;
820
1123
  };
@@ -864,7 +1167,7 @@ type TronLedgerResponse = {
864
1167
  };
865
1168
  type TronLedgerEntry = {
866
1169
  id: string;
867
- kind: "deposit" | "pot_stake" | "pot_payout" | "dev_earning" | "cashout_hold" | "cashout_release" | "dispute_freeze" | "dispute_unfreeze" | "hosted_billing" | "store_purchase" | "referral_earning";
1170
+ kind: "deposit" | "pot_stake" | "pot_payout" | "dev_earning" | "cashout_hold" | "cashout_release" | "dispute_freeze" | "dispute_unfreeze" | "hosted_billing" | "store_purchase" | "referral_earning" | "peer_transfer" | "nft_registration" | "nft_mint" | "nft_gas";
868
1171
  amountCents: number;
869
1172
  currency: string;
870
1173
  createdAt: string;
@@ -879,6 +1182,45 @@ type TronDepositResponse = {
879
1182
  type TronDepositRequest = {
880
1183
  amountCents: number;
881
1184
  };
1185
+ type TronTransferResponse = {
1186
+ status: "completed";
1187
+ amountCents: number;
1188
+ balanceCents: number;
1189
+ recipient: {
1190
+ userId: string;
1191
+ handle: string | null;
1192
+ displayName: string | null;
1193
+ };
1194
+ };
1195
+ type TronTransferRequest = {
1196
+ recipientUserId: string;
1197
+ amountCents: number;
1198
+ note?: string;
1199
+ challengeId?: string;
1200
+ signature?: string;
1201
+ threadId?: string;
1202
+ };
1203
+ type TronSecuritySetting = {
1204
+ requireSignature: boolean;
1205
+ };
1206
+ type TronTransferChallengeResponse = ({
1207
+ required: false;
1208
+ } & TronTransferChallengeNotRequired) | ({
1209
+ required: true;
1210
+ } & TronTransferChallengeRequired);
1211
+ type TronTransferChallengeNotRequired = {
1212
+ required: false;
1213
+ };
1214
+ type TronTransferChallengeRequired = {
1215
+ required: true;
1216
+ challengeId: string;
1217
+ message: string;
1218
+ expiresAt: string;
1219
+ };
1220
+ type TronTransferChallengeRequest = {
1221
+ recipientUserId: string;
1222
+ amountCents: number;
1223
+ };
882
1224
  type TronConnectOnboardingResponse = {
883
1225
  url: string;
884
1226
  };
@@ -935,12 +1277,15 @@ type WalletListResponse = {
935
1277
  wallets: Array<WalletItem>;
936
1278
  };
937
1279
  type WalletChainList = Array<{
938
- id: "ethereum-mainnet" | "base-mainnet" | "ethereum-sepolia";
1280
+ id: "ethereum-mainnet" | "base-mainnet" | "ethereum-sepolia" | "base-sepolia" | "solana-mainnet" | "solana-devnet";
939
1281
  displayName: string;
940
- chainId: number;
1282
+ family: "evm" | "solana";
1283
+ nativeSymbol: string;
1284
+ chainId?: number;
941
1285
  }>;
942
1286
  type WalletItem = {
943
- address: string;
1287
+ address: string | string;
1288
+ family: "evm" | "solana";
944
1289
  label: WalletLabel;
945
1290
  kind: "personal" | "app";
946
1291
  app: WalletAppLink;
@@ -957,6 +1302,9 @@ type WalletBalances = {
957
1302
  "ethereum-mainnet"?: WalletChainBalance;
958
1303
  "base-mainnet"?: WalletChainBalance;
959
1304
  "ethereum-sepolia"?: WalletChainBalance;
1305
+ "base-sepolia"?: WalletChainBalance;
1306
+ "solana-mainnet"?: WalletChainBalance;
1307
+ "solana-devnet"?: WalletChainBalance;
960
1308
  };
961
1309
  type WalletChainBalance = {
962
1310
  native: string;
@@ -966,12 +1314,14 @@ type WalletDelegationStatus = {
966
1314
  mode: WalletDelegationMode;
967
1315
  caps: WalletDelegationCaps;
968
1316
  policyId: string | null;
1317
+ slippageBps: DelegationSlippageBps;
969
1318
  };
970
1319
  type WalletDelegationMode = "infinite" | "custom" | "scoped" | null;
971
1320
  type WalletDelegationCaps = {
972
1321
  native: string;
973
1322
  usdc: string;
974
1323
  } | null;
1324
+ type DelegationSlippageBps = number | null;
975
1325
  type WalletLabelUpdateResponse = {
976
1326
  address: string;
977
1327
  label: WalletLabel;
@@ -1045,6 +1395,7 @@ type ThreadLastMessagePreview = {
1045
1395
  url: string;
1046
1396
  count: number;
1047
1397
  } | null;
1398
+ transaction?: MessageTransactionTronTransfer | MessageTransactionNftTransfer | null;
1048
1399
  sentAt: string;
1049
1400
  } | null;
1050
1401
  type MessageEnvelope = {
@@ -1056,6 +1407,20 @@ type MessageEnvelope = {
1056
1407
  iv: string;
1057
1408
  ct: string;
1058
1409
  } | null;
1410
+ type MessageTransactionTronTransfer = {
1411
+ kind: "tron_transfer";
1412
+ amountCents: number;
1413
+ recipientUserId: string;
1414
+ };
1415
+ type MessageTransactionNftTransfer = {
1416
+ kind: "nft_transfer";
1417
+ recipientUserId: string;
1418
+ collectionAddress: string;
1419
+ tokenId: string;
1420
+ amount: string;
1421
+ itemName: string | null;
1422
+ imageAssetId?: string | null;
1423
+ };
1059
1424
  type GroupThreadSummary = {
1060
1425
  kind: "group";
1061
1426
  id: string;
@@ -1102,6 +1467,7 @@ type MessageItem = {
1102
1467
  id: string;
1103
1468
  threadId: string;
1104
1469
  senderUserId: string;
1470
+ transaction?: MessageTransactionTronTransfer | MessageTransactionNftTransfer | null;
1105
1471
  body: string;
1106
1472
  envelope?: MessageEnvelope;
1107
1473
  sentAt: string;
@@ -1217,6 +1583,19 @@ type DmKeyBackupUnlockBody = {
1217
1583
  type UpdateParticipantRoleBody = {
1218
1584
  role: ParticipantRole;
1219
1585
  };
1586
+ type SubmitMessageReportResponse = {
1587
+ created: boolean;
1588
+ };
1589
+ type SubmitMessageReportRequest = {
1590
+ category: MessageReportCategory;
1591
+ note?: string;
1592
+ disclosures: Array<MessageReportDisclosure>;
1593
+ };
1594
+ type MessageReportCategory = "harassment" | "explicit_content" | "scam" | "other";
1595
+ type MessageReportDisclosure = {
1596
+ messageId: string;
1597
+ plaintext: string;
1598
+ };
1220
1599
  type ReferralOverview = {
1221
1600
  code: string | null;
1222
1601
  xLinked: boolean;
@@ -1302,36 +1681,311 @@ type EarningsTimeseriesBucket = {
1302
1681
  rewardsWon: number;
1303
1682
  valueUsdCents: number;
1304
1683
  };
1305
- type InventoryListResponse = {
1306
- items: Array<InventoryHolding>;
1684
+ type InventoryListResponse = {
1685
+ items: Array<InventoryHolding>;
1686
+ };
1687
+ type InventoryHolding = {
1688
+ collectionId: string;
1689
+ collectionAddress: string;
1690
+ chain: string;
1691
+ kind: "erc721" | "erc1155";
1692
+ tokenId: string;
1693
+ amount: string;
1694
+ name: string | null;
1695
+ description: string | null;
1696
+ imageAssetId: string | null;
1697
+ bannerAssetId: string | null;
1698
+ devMetadata: {
1699
+ [key: string]: unknown;
1700
+ };
1701
+ appId: string | null;
1702
+ appName: string | null;
1703
+ appLogoUrl: string | null;
1704
+ };
1705
+ type InventoryPendingPermitListResponse = {
1706
+ permits: Array<InventoryPendingPermit>;
1707
+ };
1708
+ type InventoryPendingPermit = {
1709
+ id: string;
1710
+ appId: string;
1711
+ itemId: string;
1712
+ amount: string;
1713
+ priceCents: number | null;
1714
+ gasSponsored: boolean;
1715
+ environment: "development" | "production";
1716
+ createdAt: string;
1717
+ tokenId: string;
1718
+ name: string | null;
1719
+ description: string | null;
1720
+ imageAssetId: string | null;
1721
+ chain: string;
1722
+ collectionAddress: string;
1723
+ kind: "erc721" | "erc1155";
1724
+ };
1725
+ type InventoryPermitRedeemResult = {
1726
+ mint: MintRequestResult;
1727
+ charge: {
1728
+ currency: "tron";
1729
+ gasCents: number;
1730
+ priceCents: number;
1731
+ totalCents: number;
1732
+ gasPaidBy: "user" | "developer";
1733
+ };
1734
+ };
1735
+ type MintRequestResult = {
1736
+ mintRequestId: string;
1737
+ txHash: string;
1738
+ status: "submitted" | "completed";
1739
+ mintedTokenId: string | null;
1740
+ };
1741
+ type MintRequestInput = {
1742
+ collectionAddress: string;
1743
+ chain: string;
1744
+ toWallet?: string;
1745
+ toUserId?: string;
1746
+ tokenId?: string;
1747
+ amount?: string;
1748
+ };
1749
+ type InventoryCollectionListResponse = {
1750
+ collections: Array<InventoryCollectionSummary>;
1751
+ };
1752
+ type InventoryCollectionSummary = {
1753
+ id: string;
1754
+ chain: string;
1755
+ collectionAddress: string;
1756
+ kind: "erc721" | "erc1155";
1757
+ name: string | null;
1758
+ environment: "development" | "production";
1759
+ };
1760
+ type InventoryRegistrationQuote = {
1761
+ itemCount: number;
1762
+ baselineUsdCents: number;
1763
+ gasUsdCents: number;
1764
+ tron: {
1765
+ baselineCents: number;
1766
+ gasCents: number;
1767
+ totalCents: number;
1768
+ };
1769
+ eth: {
1770
+ baselineWei: string;
1771
+ gasWei: string;
1772
+ totalWei: string;
1773
+ };
1774
+ };
1775
+ type InventoryItemRegistrationInput = {
1776
+ collectionAddress: string;
1777
+ chain: string;
1778
+ items: Array<InventoryItemRegistrationSpec>;
1779
+ };
1780
+ type InventoryItemRegistrationSpec = {
1781
+ name?: string | null;
1782
+ description?: string | null;
1783
+ devMetadata?: {
1784
+ [key: string]: unknown;
1785
+ };
1786
+ supplyType?: InventorySupplyType;
1787
+ maxSupply?: string | null;
1788
+ active?: boolean;
1789
+ };
1790
+ type InventorySupplyType = "capped" | "flexible" | "unlimited";
1791
+ type InventoryItemRegistrationResult = {
1792
+ items: Array<InventoryItemRecord>;
1793
+ charge: {
1794
+ currency: "tron";
1795
+ amountCents: number;
1796
+ baselineCents: number;
1797
+ gasCents: number;
1798
+ addItemTxHash: string;
1799
+ };
1800
+ };
1801
+ type InventoryItemRecord = {
1802
+ id: string;
1803
+ collectionId: string;
1804
+ collectionAddress: string;
1805
+ chain: string;
1806
+ kind: "erc721" | "erc1155";
1807
+ tokenId: string;
1808
+ name: string | null;
1809
+ description: string | null;
1810
+ imageAssetId: string | null;
1811
+ bannerAssetId: string | null;
1812
+ devMetadata: {
1813
+ [key: string]: unknown;
1814
+ };
1815
+ supplyType: InventorySupplyType | null;
1816
+ maxSupply: string | null;
1817
+ active: boolean;
1818
+ };
1819
+ type InventoryItemListResponse = {
1820
+ items: Array<InventoryItemRecord>;
1821
+ };
1822
+ type InventoryMintPermitRecord = {
1823
+ id: string;
1824
+ appId: string;
1825
+ itemId: string;
1826
+ userId: string;
1827
+ amount: string;
1828
+ priceCents: number | null;
1829
+ gasSponsored: boolean;
1830
+ status: "pending" | "redeemed" | "revoked";
1831
+ createdAt: string;
1832
+ };
1833
+ type InventoryMintPermitCreateInput = {
1834
+ toUserId: string;
1835
+ amount?: string;
1836
+ priceCents?: number | null;
1837
+ gasSponsored?: boolean;
1838
+ };
1839
+ type InventoryItemHoldersResponse = {
1840
+ stats: InventoryItemStats;
1841
+ holders: Array<InventoryItemHolder>;
1842
+ };
1843
+ type InventoryItemStats = {
1844
+ holderCount: number;
1845
+ walletCount: number;
1846
+ totalHeld: string;
1847
+ };
1848
+ type InventoryItemHolder = {
1849
+ walletAddress: string;
1850
+ userId: string | null;
1851
+ amount: string;
1852
+ };
1853
+ type InventoryVaultPermitRecord = {
1854
+ id: string;
1855
+ appId: string;
1856
+ itemId: string;
1857
+ userId: string;
1858
+ direction: "vault_in" | "withdraw";
1859
+ lockKind: "vault" | "burn" | null;
1860
+ amount: string;
1861
+ gasSponsored: boolean;
1862
+ status: "pending" | "redeemed" | "revoked";
1863
+ custodyId: string | null;
1864
+ createdAt: string;
1865
+ };
1866
+ type InventoryVaultPermitCreateInput = {
1867
+ toUserId: string;
1868
+ lockKind: "vault" | "burn";
1869
+ amount?: string;
1870
+ gasSponsored?: boolean;
1871
+ };
1872
+ type InventoryWithdrawPermitCreateInput = {
1873
+ custodyId: string;
1874
+ };
1875
+ type InventoryPendingVaultPermitListResponse = {
1876
+ permits: Array<InventoryPendingVaultPermit>;
1877
+ };
1878
+ type InventoryPendingVaultPermit = {
1879
+ id: string;
1880
+ appId: string;
1881
+ itemId: string;
1882
+ direction: "vault_in" | "withdraw";
1883
+ lockKind: "vault" | "burn" | null;
1884
+ amount: string;
1885
+ gasSponsored: boolean;
1886
+ environment: "development" | "production";
1887
+ custodyId: string | null;
1888
+ createdAt: string;
1889
+ tokenId: string;
1890
+ name: string | null;
1891
+ description: string | null;
1892
+ imageAssetId: string | null;
1893
+ chain: string;
1894
+ collectionAddress: string;
1895
+ kind: "erc721" | "erc1155";
1896
+ };
1897
+ type InventorySignedVaultPermit = {
1898
+ permitId: string;
1899
+ direction: "vault_in" | "withdraw";
1900
+ vault: string;
1901
+ collection: string;
1902
+ user: string;
1903
+ tokenId: string;
1904
+ amount: string;
1905
+ lockKind: "vault" | "burn" | null;
1906
+ destination: string | null;
1907
+ deadline: number;
1908
+ signature: string;
1909
+ };
1910
+ type InventoryRelayedVaultQuoteResponse = {
1911
+ direction: "vault_in" | "withdraw";
1912
+ collection: string;
1913
+ vault: string;
1914
+ chainId: number;
1915
+ user: string;
1916
+ tokenId: string;
1917
+ amount: string;
1918
+ nonce: string | null;
1919
+ deadline: number;
1920
+ feeCents: number;
1921
+ gasWei: string;
1922
+ gasPaidBy: "developer" | "user";
1923
+ requiresUserSignature: boolean;
1924
+ };
1925
+ type InventoryRelayedVaultSubmitResponse = {
1926
+ ok: boolean;
1927
+ txHash: string;
1928
+ chargedCents: number;
1929
+ gasPaidBy: "developer" | "user";
1930
+ };
1931
+ type InventoryRelayedVaultSubmitRequest = {
1932
+ userSignature?: string;
1933
+ deadline?: number;
1934
+ };
1935
+ type InventoryNftTransferQuoteResponse = {
1936
+ collection: string;
1937
+ chainId: number;
1938
+ from: string;
1939
+ to: string;
1940
+ tokenId: string;
1941
+ amount: string;
1942
+ nonce: string;
1943
+ deadline: number;
1944
+ feeCents: number;
1945
+ gasWei: string;
1946
+ selfPayAvailable: boolean;
1947
+ };
1948
+ type InventoryNftTransferQuoteRequest = {
1949
+ toUserId: string;
1950
+ collection: string;
1951
+ tokenId: string;
1952
+ amount?: string;
1953
+ };
1954
+ type InventoryNftTransferResponse = {
1955
+ ok: boolean;
1956
+ txHash: string;
1957
+ chargedCents: number;
1958
+ };
1959
+ type InventoryNftTransferRequest = {
1960
+ toUserId: string;
1961
+ collection: string;
1962
+ tokenId: string;
1963
+ amount?: string;
1964
+ deadline: number;
1965
+ userSignature: string;
1966
+ threadId?: string;
1307
1967
  };
1308
- type InventoryHolding = {
1968
+ type InventoryVaultCustodyListResponse = {
1969
+ custody: Array<InventoryVaultCustody>;
1970
+ };
1971
+ type InventoryVaultCustody = {
1972
+ id: string;
1309
1973
  collectionId: string;
1310
1974
  collectionAddress: string;
1311
1975
  chain: string;
1312
1976
  kind: "erc721" | "erc1155";
1313
1977
  tokenId: string;
1314
1978
  amount: string;
1979
+ lockKind: "vault" | "burn";
1980
+ vaultAddress: string;
1981
+ createdAt: string;
1315
1982
  name: string | null;
1983
+ description: string | null;
1316
1984
  imageAssetId: string | null;
1317
- bannerAssetId: string | null;
1318
- devMetadata: {
1319
- [key: string]: unknown;
1320
- };
1321
1985
  };
1322
- type MintRequestResult = {
1323
- mintRequestId: string;
1986
+ type InventoryVaultForceWithdrawResponse = {
1987
+ ok: boolean;
1324
1988
  txHash: string;
1325
- status: "submitted" | "completed";
1326
- mintedTokenId: string | null;
1327
- };
1328
- type MintRequestInput = {
1329
- collectionAddress: string;
1330
- chain: string;
1331
- toWallet?: string;
1332
- toUserId?: string;
1333
- tokenId?: string;
1334
- amount?: string;
1335
1989
  };
1336
1990
  type NotificationListResponse = {
1337
1991
  notifications: Array<NotificationItem>;
@@ -1361,6 +2015,18 @@ type NotificationItem = {
1361
2015
  payload: AppPageRejectedNotificationPayload;
1362
2016
  read: boolean;
1363
2017
  createdAt: string;
2018
+ } | {
2019
+ id: string;
2020
+ kind: "bip_update_published";
2021
+ payload: BipUpdatePublishedNotificationPayload;
2022
+ read: boolean;
2023
+ createdAt: string;
2024
+ } | {
2025
+ id: string;
2026
+ kind: "bip_now_playable";
2027
+ payload: BipNowPlayableNotificationPayload;
2028
+ read: boolean;
2029
+ createdAt: string;
1364
2030
  } | {
1365
2031
  id: string;
1366
2032
  kind: "app_participant_invite";
@@ -1391,14 +2057,25 @@ type FriendAcceptedNotificationPayload = {
1391
2057
  type AppPageApprovedNotificationPayload = {
1392
2058
  appId: string;
1393
2059
  appName: string;
1394
- scope: "publish" | "changes";
2060
+ scope: "publish" | "changes" | "bip_publish";
1395
2061
  };
1396
2062
  type AppPageRejectedNotificationPayload = {
1397
2063
  appId: string;
1398
2064
  appName: string;
1399
- scope: "publish" | "changes";
2065
+ scope: "publish" | "changes" | "bip_publish";
1400
2066
  notes: string;
1401
2067
  };
2068
+ type BipUpdatePublishedNotificationPayload = {
2069
+ appId: string;
2070
+ appName: string;
2071
+ appSlug: string | null;
2072
+ updateId: string;
2073
+ };
2074
+ type BipNowPlayableNotificationPayload = {
2075
+ appId: string;
2076
+ appName: string;
2077
+ appSlug: string | null;
2078
+ };
1402
2079
  type AppParticipantInviteNotificationPayload = {
1403
2080
  appId: string;
1404
2081
  appName: string;
@@ -1428,6 +2105,9 @@ type FriendListItem = {
1428
2105
  onlineStatus: OnlineStatus;
1429
2106
  };
1430
2107
  type OnlineStatus = "online" | "offline";
2108
+ type AppFriendListResponse = {
2109
+ friends: Array<ThreadParticipant>;
2110
+ };
1431
2111
  type FriendRequestDecision = {
1432
2112
  decision: "accept" | "reject";
1433
2113
  };
@@ -1500,7 +2180,7 @@ type ProfileRecentReview = {
1500
2180
  appId: string;
1501
2181
  appName: string;
1502
2182
  appLogoUrl: string | null;
1503
- rating: number;
2183
+ recommended: boolean;
1504
2184
  body: string;
1505
2185
  createdAt: string;
1506
2186
  };
@@ -1557,17 +2237,20 @@ type CreateDeveloperAppChain = {
1557
2237
  };
1558
2238
  type UpdateDeveloperApp = {
1559
2239
  name?: DeveloperAppName;
2240
+ slug?: AppPageSlug | null;
1560
2241
  logoUrl?: string | null;
1561
2242
  testAccess?: "private" | "public";
1562
2243
  redirectUris?: Array<string>;
1563
2244
  embedOrigins?: Array<EmbedOrigin>;
1564
2245
  acceptedCurrencies?: AcceptedCurrencies;
2246
+ acceptedNetworks?: AcceptedNetworks;
1565
2247
  paymentStatusWebhookUrl?: string | null;
1566
2248
  paymentStatusWebhookUrlTest?: string | null;
1567
2249
  };
1568
2250
  type EmbedOrigin = string;
1569
2251
  type AcceptedCurrencies = Array<PlatformCurrency>;
1570
2252
  type PlatformCurrency = "eth" | "tron";
2253
+ type AcceptedNetworks = Array<PaymentNetwork> | null;
1571
2254
  type DeveloperLogoUploadResponse = {
1572
2255
  logoUrl: string | null;
1573
2256
  };
@@ -1630,7 +2313,7 @@ type DeveloperAppWalletsResponse = {
1630
2313
  };
1631
2314
  type DeveloperAppWalletItem = {
1632
2315
  chain: string;
1633
- address: string;
2316
+ address: string | string;
1634
2317
  custody: "server" | null;
1635
2318
  walletId: string | null;
1636
2319
  autoSweepEnabled: boolean;
@@ -1651,7 +2334,7 @@ type DeveloperAppProvisionWalletResponse = {
1651
2334
  chain: string;
1652
2335
  custody: "server";
1653
2336
  walletId: string;
1654
- address: string;
2337
+ address: string | string;
1655
2338
  };
1656
2339
  type DeveloperAppWithdrawResponse = {
1657
2340
  appId: string;
@@ -1805,6 +2488,7 @@ type DeveloperProductionRequestPayload = {
1805
2488
  type DeveloperAppItem = {
1806
2489
  id: string;
1807
2490
  name: DeveloperAppName;
2491
+ slug: AppPageSlug | null;
1808
2492
  logoUrl: string | null;
1809
2493
  environment: "development" | "production";
1810
2494
  productionApprovedAt: string | null;
@@ -1813,6 +2497,7 @@ type DeveloperAppItem = {
1813
2497
  redirectUris: Array<string>;
1814
2498
  embedOrigins: Array<EmbedOrigin>;
1815
2499
  acceptedCurrencies: AcceptedCurrencies;
2500
+ acceptedNetworks: AcceptedNetworks;
1816
2501
  payoutAddresses: Array<DeveloperAppPayoutAddressItem>;
1817
2502
  keys: Array<DeveloperAppKeyItem>;
1818
2503
  pendingProductionRequestId: string | null;
@@ -1856,15 +2541,29 @@ type AppPageDraft = {
1856
2541
  gallery: AppPageGallery;
1857
2542
  chapters: AppPageChapters;
1858
2543
  links: AppPageLinks;
2544
+ platforms: AppPagePlatforms;
2545
+ gameType: AppPageGameType;
2546
+ ageRating: AppPageAgeRating;
2547
+ languages: AppPageLanguages;
2548
+ releaseStatus: AppPageReleaseStatus;
1859
2549
  firstPublishedAt: string | null;
1860
2550
  reviewedAt: string | null;
1861
2551
  reviewNotes: string | null;
1862
2552
  hiddenAt: string | null;
1863
2553
  hiddenReasonPublic: string | null;
1864
2554
  pendingReview: boolean;
2555
+ bip: AppPageBipState;
2556
+ };
2557
+ type AppPageBipState = {
2558
+ enabled: boolean;
2559
+ status: "draft" | "pending_review" | "published" | "hidden";
2560
+ firstPublishedAt: string | null;
2561
+ reviewedAt: string | null;
2562
+ reviewNotes: string | null;
2563
+ hiddenAt: string | null;
2564
+ hiddenReasonPublic: string | null;
1865
2565
  };
1866
2566
  type UpdateAppPage = {
1867
- slug?: AppPageSlug | null;
1868
2567
  categories?: AppPageCategories;
1869
2568
  tagline?: AppPageTagline | null;
1870
2569
  bannerUrl?: string | null;
@@ -1878,10 +2577,18 @@ type UpdateAppPage = {
1878
2577
  gallery?: AppPageGallery;
1879
2578
  chapters?: AppPageChapters;
1880
2579
  links?: AppPageLinks;
2580
+ platforms?: AppPagePlatforms;
2581
+ gameType?: AppPageGameType;
2582
+ ageRating?: AppPageAgeRating;
2583
+ languages?: AppPageLanguages;
2584
+ releaseStatus?: AppPageReleaseStatus;
1881
2585
  };
1882
2586
  type AppPageGalleryUploadResponse = {
1883
2587
  url: string;
1884
2588
  };
2589
+ type AppPageBipToggle = {
2590
+ enabled: boolean;
2591
+ };
1885
2592
  type AdminActivePlayersResponse = {
1886
2593
  players: Array<AdminActivePlayer>;
1887
2594
  total: number;
@@ -1938,14 +2645,17 @@ type AdminUserListItem = {
1938
2645
  email: string | null;
1939
2646
  createdAt: string;
1940
2647
  bannedAt: string | null;
2648
+ messagingRevokedAt: string | null;
1941
2649
  deletedAt: string | null;
1942
2650
  };
1943
2651
  type AdminUserBanResponse = {
1944
2652
  id: string;
1945
2653
  banned: boolean;
2654
+ messagingRevoked: boolean;
1946
2655
  };
1947
2656
  type AdminUserBanRequest = {
1948
- banned: boolean;
2657
+ banned?: boolean;
2658
+ messagingRevoked?: boolean;
1949
2659
  reason?: string;
1950
2660
  };
1951
2661
  type AdminAuditListResponse = {
@@ -1953,6 +2663,7 @@ type AdminAuditListResponse = {
1953
2663
  total: number;
1954
2664
  offset: number;
1955
2665
  limit: number;
2666
+ nextCursor: string | null;
1956
2667
  };
1957
2668
  type AdminAuditListItem = {
1958
2669
  id: string;
@@ -2020,6 +2731,11 @@ type AdminAppPageItem = {
2020
2731
  hiddenAt: string | null;
2021
2732
  hiddenReasonInternal: string | null;
2022
2733
  pendingChangesSubmittedAt: string | null;
2734
+ bipEnabled: boolean;
2735
+ bipStatus: "draft" | "pending_review" | "published" | "hidden";
2736
+ bipFirstPublishedAt: string | null;
2737
+ bipHiddenAt: string | null;
2738
+ openReportCount: number;
2023
2739
  };
2024
2740
  type AdminAppPageStatusResponse = {
2025
2741
  status: "draft" | "pending_review" | "published" | "hidden";
@@ -2045,6 +2761,58 @@ type AdminAppPageDiffField = {
2045
2761
  from: string;
2046
2762
  to: string;
2047
2763
  };
2764
+ type AdminAppPageBipStatusResponse = {
2765
+ bipStatus: "draft" | "pending_review" | "published" | "hidden";
2766
+ };
2767
+ type AdminAppContentReportListResponse = {
2768
+ reports: Array<AdminAppContentReportItem>;
2769
+ total: number;
2770
+ hasMore: boolean;
2771
+ };
2772
+ type AdminAppContentReportItem = {
2773
+ id: string;
2774
+ category: AppContentReportCategory;
2775
+ details: string | null;
2776
+ status: AppContentReportStatus;
2777
+ acknowledgedAt: string | null;
2778
+ createdAt: string;
2779
+ appId: string;
2780
+ appName: string;
2781
+ appSlug: string | null;
2782
+ };
2783
+ type AdminMessageReportListResponse = {
2784
+ reports: Array<AdminMessageReportItem>;
2785
+ total: number;
2786
+ hasMore: boolean;
2787
+ };
2788
+ type AdminMessageReportItem = {
2789
+ id: string;
2790
+ threadId: string;
2791
+ reportedMessageId: string;
2792
+ reporterUserId: string;
2793
+ participants: Array<MessageReportParticipant>;
2794
+ category: MessageReportCategory;
2795
+ note: string | null;
2796
+ status: MessageReportStatus;
2797
+ evidence: Array<MessageReportEvidenceItem>;
2798
+ createdAt: string;
2799
+ updatedAt: string;
2800
+ };
2801
+ type MessageReportParticipant = {
2802
+ userId: string;
2803
+ handle: string | null;
2804
+ displayName: string | null;
2805
+ };
2806
+ type MessageReportStatus = "open" | "resolved" | "dismissed";
2807
+ type MessageReportEvidenceItem = {
2808
+ messageId: string;
2809
+ senderUserId: string;
2810
+ sentAt: string;
2811
+ contentKind: "plaintext" | "encrypted" | "transaction";
2812
+ disclosedPlaintext?: string;
2813
+ storedBody?: string;
2814
+ envelope?: MessageEnvelope;
2815
+ };
2048
2816
  type PlatformFeesResponse = {
2049
2817
  purchaseFeeBps: number;
2050
2818
  stakeFeeBps: number;
@@ -2225,6 +2993,13 @@ type AppealResolveRequest = {
2225
2993
  decision: "refund" | "dismiss";
2226
2994
  notes?: string;
2227
2995
  };
2996
+ type PaymentRatesResponse = {
2997
+ asOf: string;
2998
+ ethUsd: number | null;
2999
+ solUsd: number | null;
3000
+ solLamportsPerCent: number | null;
3001
+ tronUsdPerToken: number;
3002
+ };
2228
3003
  type AppealFileResponse = {
2229
3004
  appealId: string;
2230
3005
  paymentId: string;
@@ -2334,7 +3109,7 @@ declare function listActivePlayers(context: TransportContext, input: {
2334
3109
  //#region src/admin/app-pages.d.ts
2335
3110
  declare function listAppPages(context: TransportContext, input: {
2336
3111
  readonly bearer: string;
2337
- readonly status?: "draft" | "pending_review" | "published" | "hidden" | "all" | "pending_changes";
3112
+ readonly status?: "draft" | "pending_review" | "published" | "hidden" | "all" | "pending_changes" | "bip_pending_review";
2338
3113
  }): Promise<AdminAppPageListResponse>;
2339
3114
  declare function getAppPageChanges(context: TransportContext, input: {
2340
3115
  readonly bearer: string;
@@ -2359,6 +3134,20 @@ declare function reviewAppPage(context: TransportContext, input: {
2359
3134
  readonly appId: string;
2360
3135
  readonly body: ReviewAppPage;
2361
3136
  }): Promise<AdminAppPageStatusResponse>;
3137
+ declare function reviewAppPageBip(context: TransportContext, input: {
3138
+ readonly bearer: string;
3139
+ readonly appId: string;
3140
+ readonly body: ReviewAppPage;
3141
+ }): Promise<AdminAppPageBipStatusResponse>;
3142
+ declare function hideAppPageBip(context: TransportContext, input: {
3143
+ readonly bearer: string;
3144
+ readonly appId: string;
3145
+ readonly body: HideAppPage;
3146
+ }): Promise<AdminAppPageBipStatusResponse>;
3147
+ declare function unhideAppPageBip(context: TransportContext, input: {
3148
+ readonly bearer: string;
3149
+ readonly appId: string;
3150
+ }): Promise<AdminAppPageBipStatusResponse>;
2362
3151
  //#endregion
2363
3152
  //#region src/admin/appeals.d.ts
2364
3153
  declare function listAppealQueue(context: TransportContext, input: {
@@ -2390,6 +3179,19 @@ declare function resolveAppeal(context: TransportContext, input: {
2390
3179
  readonly body: AppealResolveRequest;
2391
3180
  }): Promise<AppealResolveSignedResponse>;
2392
3181
  //#endregion
3182
+ //#region src/admin/content-reports.d.ts
3183
+ declare function listAdminContentReports(context: TransportContext, input: {
3184
+ readonly bearer: string;
3185
+ readonly status?: "open" | "acknowledged" | "dismissed" | "all";
3186
+ readonly limit?: number;
3187
+ readonly offset?: number;
3188
+ }): Promise<AdminAppContentReportListResponse>;
3189
+ declare function triageAdminContentReport(context: TransportContext, input: {
3190
+ readonly bearer: string;
3191
+ readonly reportId: string;
3192
+ readonly status: "acknowledged" | "dismissed";
3193
+ }): Promise<AppContentReport>;
3194
+ //#endregion
2393
3195
  //#region src/admin/developers.d.ts
2394
3196
  declare function listDeveloperRequests(context: TransportContext, input: {
2395
3197
  readonly bearer: string;
@@ -2405,6 +3207,25 @@ declare function listDevelopers(context: TransportContext, input: {
2405
3207
  readonly bearer: string;
2406
3208
  }): Promise<AdminDeveloperListResponse>;
2407
3209
  //#endregion
3210
+ //#region src/admin/inventory-vault.d.ts
3211
+ declare function forceWithdrawVaultCustody(context: TransportContext, input: {
3212
+ readonly bearer: string;
3213
+ readonly custodyId: string;
3214
+ }): Promise<InventoryVaultForceWithdrawResponse>;
3215
+ //#endregion
3216
+ //#region src/admin/message-reports.d.ts
3217
+ declare function listAdminMessageReports(context: TransportContext, input: {
3218
+ readonly bearer: string;
3219
+ readonly status?: "open" | "resolved" | "dismissed" | "all";
3220
+ readonly limit?: number;
3221
+ readonly offset?: number;
3222
+ }): Promise<AdminMessageReportListResponse>;
3223
+ declare function triageAdminMessageReport(context: TransportContext, input: {
3224
+ readonly bearer: string;
3225
+ readonly reportId: string;
3226
+ readonly status: "resolved" | "dismissed";
3227
+ }): Promise<AdminMessageReportItem>;
3228
+ //#endregion
2408
3229
  //#region src/admin/payments.d.ts
2409
3230
  declare function getPlatformFees(context: TransportContext, input: {
2410
3231
  readonly bearer: string;
@@ -2513,6 +3334,7 @@ declare function listAudit(context: TransportContext, input: {
2513
3334
  readonly actorId?: string;
2514
3335
  readonly targetType?: string;
2515
3336
  readonly targetId?: string;
3337
+ readonly cursor?: string;
2516
3338
  readonly offset?: number;
2517
3339
  readonly limit?: number;
2518
3340
  }): Promise<AdminAuditListResponse>;
@@ -2523,6 +3345,113 @@ declare function getAppPage(context: TransportContext, input: {
2523
3345
  readonly slug: string;
2524
3346
  }): Promise<PublicAppPage>;
2525
3347
  //#endregion
3348
+ //#region src/catalog/bip-updates.d.ts
3349
+ declare function listBipUpdates(context: TransportContext, input: {
3350
+ readonly bearer?: string;
3351
+ readonly slug: string;
3352
+ readonly limit?: number;
3353
+ readonly offset?: number;
3354
+ }): Promise<BipUpdateListResponse>;
3355
+ declare function listBipUpdateComments(context: TransportContext, input: {
3356
+ readonly bearer?: string;
3357
+ readonly slug: string;
3358
+ readonly updateId: string;
3359
+ readonly limit?: number;
3360
+ readonly offset?: number;
3361
+ }): Promise<BipUpdateCommentListResponse>;
3362
+ declare function getMyBipUpdateReactions(context: TransportContext, input: {
3363
+ readonly bearer: string;
3364
+ readonly slug: string;
3365
+ }): Promise<MyBipUpdateReactionsResponse>;
3366
+ declare function setBipUpdateReaction(context: TransportContext, input: {
3367
+ readonly bearer: string;
3368
+ readonly slug: string;
3369
+ readonly updateId: string;
3370
+ readonly body: SetBipUpdateReactionRequest;
3371
+ }): Promise<SetBipUpdateReactionResponse>;
3372
+ declare function commentOnBipUpdate(context: TransportContext, input: {
3373
+ readonly bearer: string;
3374
+ readonly slug: string;
3375
+ readonly updateId: string;
3376
+ readonly body: string;
3377
+ }): Promise<CreateBipUpdateCommentResponse>;
3378
+ declare function deleteBipUpdateComment(context: TransportContext, input: {
3379
+ readonly bearer: string;
3380
+ readonly slug: string;
3381
+ readonly commentId: string;
3382
+ }): Promise<DeleteBipUpdateCommentResponse>;
3383
+ declare function listDeveloperBipUpdates(context: TransportContext, input: {
3384
+ readonly bearer: string;
3385
+ readonly appId: string;
3386
+ readonly limit?: number;
3387
+ readonly offset?: number;
3388
+ }): Promise<BipUpdateListResponse>;
3389
+ declare function createBipUpdate(context: TransportContext, input: {
3390
+ readonly bearer: string;
3391
+ readonly appId: string;
3392
+ readonly body: CreateBipUpdateRequest;
3393
+ }): Promise<BipUpdate>;
3394
+ declare function updateBipUpdate(context: TransportContext, input: {
3395
+ readonly bearer: string;
3396
+ readonly appId: string;
3397
+ readonly updateId: string;
3398
+ readonly body: UpdateBipUpdateRequest;
3399
+ }): Promise<BipUpdate>;
3400
+ declare function deleteBipUpdate(context: TransportContext, input: {
3401
+ readonly bearer: string;
3402
+ readonly appId: string;
3403
+ readonly updateId: string;
3404
+ }): Promise<DeleteBipUpdateResponse>;
3405
+ declare function pinBipUpdate(context: TransportContext, input: {
3406
+ readonly bearer: string;
3407
+ readonly appId: string;
3408
+ readonly updateId: string;
3409
+ }): Promise<BipUpdate>;
3410
+ declare function unpinBipUpdate(context: TransportContext, input: {
3411
+ readonly bearer: string;
3412
+ readonly appId: string;
3413
+ readonly updateId: string;
3414
+ }): Promise<BipUpdate>;
3415
+ declare function uploadBipUpdateMedia(context: TransportContext, input: {
3416
+ readonly bearer: string;
3417
+ readonly appId: string;
3418
+ readonly file: Blob;
3419
+ readonly filename: string;
3420
+ readonly contentType: string;
3421
+ }): Promise<BipUpdateMediaUploadResponse>;
3422
+ declare function getBipInterestCount(context: TransportContext, input: {
3423
+ readonly bearer?: string;
3424
+ readonly slug: string;
3425
+ }): Promise<BipInterestCountResponse>;
3426
+ declare function getMyBipEngagement(context: TransportContext, input: {
3427
+ readonly bearer: string;
3428
+ readonly slug: string;
3429
+ }): Promise<BipEngagementResponse>;
3430
+ declare function registerBipInterest(context: TransportContext, input: {
3431
+ readonly bearer: string;
3432
+ readonly slug: string;
3433
+ readonly interested: boolean;
3434
+ }): Promise<BipEngagementResponse>;
3435
+ declare function subscribeBipUpdates(context: TransportContext, input: {
3436
+ readonly bearer: string;
3437
+ readonly slug: string;
3438
+ readonly subscribed: boolean;
3439
+ }): Promise<BipEngagementResponse>;
3440
+ //#endregion
3441
+ //#region src/catalog/build-in-public.d.ts
3442
+ declare function getBipDirectory(context: TransportContext, input: {
3443
+ readonly bearer?: string;
3444
+ readonly genre?: string;
3445
+ readonly q?: string;
3446
+ readonly sort?: "newest" | "top";
3447
+ readonly before?: string;
3448
+ readonly limit?: number;
3449
+ }): Promise<LibraryListResponse>;
3450
+ declare function getBipPage(context: TransportContext, input: {
3451
+ readonly bearer?: string;
3452
+ readonly slug: string;
3453
+ }): Promise<PublicBipPage>;
3454
+ //#endregion
2526
3455
  //#region src/catalog/content-reports.d.ts
2527
3456
  declare function submitAppContentReport(context: TransportContext, input: {
2528
3457
  readonly appId: string;
@@ -2535,6 +3464,7 @@ declare function getLibrary(context: TransportContext, input: {
2535
3464
  readonly bearer?: string;
2536
3465
  readonly genre?: string;
2537
3466
  readonly q?: string;
3467
+ readonly sort?: "newest" | "top";
2538
3468
  readonly before?: string;
2539
3469
  readonly limit?: number;
2540
3470
  }): Promise<LibraryListResponse>;
@@ -2567,6 +3497,41 @@ declare function deleteMyGameReview(context: TransportContext, input: {
2567
3497
  readonly slug: string;
2568
3498
  readonly bearer: string;
2569
3499
  }): Promise<MyReviewResponse>;
3500
+ declare function getMyGameReviewReactions(context: TransportContext, input: {
3501
+ readonly slug: string;
3502
+ readonly bearer: string;
3503
+ }): Promise<MyReviewReactionsResponse>;
3504
+ declare function setMyGameReviewReaction(context: TransportContext, input: {
3505
+ readonly slug: string;
3506
+ readonly reviewId: string;
3507
+ readonly bearer: string;
3508
+ readonly reaction: SetReviewReactionRequest;
3509
+ }): Promise<SetReviewReactionResponse>;
3510
+ declare function tipGameReview(context: TransportContext, input: {
3511
+ readonly slug: string;
3512
+ readonly reviewId: string;
3513
+ readonly bearer: string;
3514
+ readonly tip: TipReviewRequest;
3515
+ readonly idempotencyKey?: string;
3516
+ }): Promise<TipReviewResponse>;
3517
+ declare function listGameReviewComments(context: TransportContext, input: {
3518
+ readonly slug: string;
3519
+ readonly reviewId: string;
3520
+ readonly bearer?: string;
3521
+ readonly limit?: number;
3522
+ readonly offset?: number;
3523
+ }): Promise<ReviewCommentListResponse>;
3524
+ declare function commentOnGameReview(context: TransportContext, input: {
3525
+ readonly slug: string;
3526
+ readonly reviewId: string;
3527
+ readonly bearer: string;
3528
+ readonly comment: CreateReviewCommentRequest;
3529
+ }): Promise<CreateReviewCommentResponse>;
3530
+ declare function deleteGameReviewComment(context: TransportContext, input: {
3531
+ readonly slug: string;
3532
+ readonly commentId: string;
3533
+ readonly bearer: string;
3534
+ }): Promise<DeleteReviewCommentResponse>;
2570
3535
  declare function replyToGameReview(context: TransportContext, input: {
2571
3536
  readonly appId: string;
2572
3537
  readonly reviewId: string;
@@ -2652,6 +3617,9 @@ declare function getPaymentHistory(context: TransportContext, input: {
2652
3617
  readonly before?: string;
2653
3618
  }): Promise<PaymentHistoryResponse>;
2654
3619
  //#endregion
3620
+ //#region src/dashboard/rates.d.ts
3621
+ declare function getPaymentRates(context: TransportContext): Promise<PaymentRatesResponse>;
3622
+ //#endregion
2655
3623
  //#region src/developer/api-keys.d.ts
2656
3624
  declare function createDeveloperApiKey(context: TransportContext, input: {
2657
3625
  readonly bearer: string;
@@ -2789,6 +3757,53 @@ declare function updateDeveloperAppContentReportStatus(context: TransportContext
2789
3757
  readonly status: "acknowledged" | "dismissed";
2790
3758
  }): Promise<AppContentReport>;
2791
3759
  //#endregion
3760
+ //#region src/developer/inventory.d.ts
3761
+ declare function quoteDeveloperAppInventoryRegistration(context: TransportContext, input: {
3762
+ readonly bearer: string;
3763
+ readonly appId: string;
3764
+ readonly registration: InventoryItemRegistrationInput;
3765
+ }): Promise<InventoryRegistrationQuote>;
3766
+ declare function registerDeveloperAppInventoryItem(context: TransportContext, input: {
3767
+ readonly bearer: string;
3768
+ readonly appId: string;
3769
+ readonly registration: InventoryItemRegistrationInput;
3770
+ }): Promise<InventoryItemRegistrationResult>;
3771
+ declare function listDeveloperAppInventoryCollections(context: TransportContext, input: {
3772
+ readonly bearer: string;
3773
+ readonly appId: string;
3774
+ }): Promise<InventoryCollectionListResponse>;
3775
+ declare function listDeveloperAppInventoryItems(context: TransportContext, input: {
3776
+ readonly bearer: string;
3777
+ readonly appId: string;
3778
+ }): Promise<InventoryItemListResponse>;
3779
+ declare function createDeveloperAppMintPermit(context: TransportContext, input: {
3780
+ readonly bearer: string;
3781
+ readonly appId: string;
3782
+ readonly itemId: string;
3783
+ readonly grant: InventoryMintPermitCreateInput;
3784
+ }): Promise<InventoryMintPermitRecord>;
3785
+ declare function getDeveloperAppInventoryItemHolders(context: TransportContext, input: {
3786
+ readonly bearer: string;
3787
+ readonly appId: string;
3788
+ readonly itemId: string;
3789
+ }): Promise<InventoryItemHoldersResponse>;
3790
+ declare function uploadDeveloperAppInventoryItemImage(context: TransportContext, input: {
3791
+ readonly bearer: string;
3792
+ readonly appId: string;
3793
+ readonly itemId: string;
3794
+ readonly file: Blob | ArrayBufferView | ArrayBuffer;
3795
+ readonly filename: string;
3796
+ readonly contentType: string;
3797
+ }): Promise<InventoryItemRecord>;
3798
+ declare function uploadDeveloperAppInventoryItemBanner(context: TransportContext, input: {
3799
+ readonly bearer: string;
3800
+ readonly appId: string;
3801
+ readonly itemId: string;
3802
+ readonly file: Blob | ArrayBufferView | ArrayBuffer;
3803
+ readonly filename: string;
3804
+ readonly contentType: string;
3805
+ }): Promise<InventoryItemRecord>;
3806
+ //#endregion
2792
3807
  //#region src/developer/pages.d.ts
2793
3808
  declare function getDeveloperAppPage(context: TransportContext, input: {
2794
3809
  readonly bearer: string;
@@ -2847,6 +3862,19 @@ declare function unpublishAppPage(context: TransportContext, input: {
2847
3862
  readonly bearer: string;
2848
3863
  readonly appId: string;
2849
3864
  }): Promise<AppPageDraft>;
3865
+ declare function setAppPageBip(context: TransportContext, input: {
3866
+ readonly bearer: string;
3867
+ readonly appId: string;
3868
+ readonly body: AppPageBipToggle;
3869
+ }): Promise<AppPageDraft>;
3870
+ declare function submitAppPageBipForReview(context: TransportContext, input: {
3871
+ readonly bearer: string;
3872
+ readonly appId: string;
3873
+ }): Promise<AppPageDraft>;
3874
+ declare function unpublishAppPageBip(context: TransportContext, input: {
3875
+ readonly bearer: string;
3876
+ readonly appId: string;
3877
+ }): Promise<AppPageDraft>;
2850
3878
  //#endregion
2851
3879
  //#region src/developer/participants.d.ts
2852
3880
  declare function listDeveloperAppParticipants(context: TransportContext, input: {
@@ -2913,6 +3941,20 @@ declare function uploadMultipart(context: TransportContext, input: {
2913
3941
  readonly contentType: string;
2914
3942
  }): Promise<unknown>;
2915
3943
  //#endregion
3944
+ //#region src/developer/vault.d.ts
3945
+ declare function createDeveloperVaultPermit(context: TransportContext, input: {
3946
+ readonly bearer: string;
3947
+ readonly appId: string;
3948
+ readonly itemId: string;
3949
+ readonly grant: InventoryVaultPermitCreateInput;
3950
+ }): Promise<InventoryVaultPermitRecord>;
3951
+ declare function createDeveloperWithdrawPermit(context: TransportContext, input: {
3952
+ readonly bearer: string;
3953
+ readonly appId: string;
3954
+ readonly itemId: string;
3955
+ readonly grant: InventoryWithdrawPermitCreateInput;
3956
+ }): Promise<InventoryVaultPermitRecord>;
3957
+ //#endregion
2916
3958
  //#region src/inventory/list.d.ts
2917
3959
  declare function listInventory(context: TransportContext, input: {
2918
3960
  readonly bearer: string;
@@ -2921,12 +3963,55 @@ declare function listInventoryForApp(context: TransportContext, input: {
2921
3963
  readonly bearer: string;
2922
3964
  }): Promise<InventoryListResponse>;
2923
3965
  //#endregion
3966
+ //#region src/inventory/nft-transfer.d.ts
3967
+ declare function quoteNftTransfer(context: TransportContext, input: {
3968
+ readonly bearer: string;
3969
+ readonly body: InventoryNftTransferQuoteRequest;
3970
+ }): Promise<InventoryNftTransferQuoteResponse>;
3971
+ declare function executeNftTransfer(context: TransportContext, input: {
3972
+ readonly bearer: string;
3973
+ readonly body: InventoryNftTransferRequest;
3974
+ }): Promise<InventoryNftTransferResponse>;
3975
+ //#endregion
3976
+ //#region src/inventory/permits.d.ts
3977
+ declare function listInventoryMintPermits(context: TransportContext, input: {
3978
+ readonly bearer: string;
3979
+ }): Promise<InventoryPendingPermitListResponse>;
3980
+ declare function redeemInventoryMintPermit(context: TransportContext, input: {
3981
+ readonly bearer: string;
3982
+ readonly permitId: string;
3983
+ }): Promise<InventoryPermitRedeemResult>;
3984
+ //#endregion
2924
3985
  //#region src/inventory/request-mint.d.ts
2925
3986
  declare function requestMint(context: TransportContext, input: {
2926
3987
  readonly appBearer: string;
2927
3988
  readonly body: MintRequestInput;
2928
3989
  }): Promise<MintRequestResult>;
2929
3990
  //#endregion
3991
+ //#region src/inventory/vault.d.ts
3992
+ declare function listInventoryVaultPermits(context: TransportContext, input: {
3993
+ readonly bearer: string;
3994
+ }): Promise<InventoryPendingVaultPermitListResponse>;
3995
+ declare function signInventoryVaultPermit(context: TransportContext, input: {
3996
+ readonly bearer: string;
3997
+ readonly permitId: string;
3998
+ }): Promise<InventorySignedVaultPermit>;
3999
+ declare function quoteRelayedVaultPermit(context: TransportContext, input: {
4000
+ readonly bearer: string;
4001
+ readonly permitId: string;
4002
+ }): Promise<InventoryRelayedVaultQuoteResponse>;
4003
+ declare function submitRelayedVaultPermit(context: TransportContext, input: {
4004
+ readonly bearer: string;
4005
+ readonly permitId: string;
4006
+ readonly body: InventoryRelayedVaultSubmitRequest;
4007
+ }): Promise<InventoryRelayedVaultSubmitResponse>;
4008
+ declare function listInventoryVaulted(context: TransportContext, input: {
4009
+ readonly bearer: string;
4010
+ }): Promise<InventoryVaultCustodyListResponse>;
4011
+ declare function listOauthInventoryVaulted(context: TransportContext, input: {
4012
+ readonly bearer: string;
4013
+ }): Promise<InventoryVaultCustodyListResponse>;
4014
+ //#endregion
2930
4015
  //#region src/messaging/dm-key-backup.d.ts
2931
4016
  declare function getDmKeyBackupStatus(context: TransportContext, input: {
2932
4017
  readonly bearer: string;
@@ -3008,6 +4093,14 @@ declare function updateParticipantRole(context: TransportContext, input: {
3008
4093
  readonly body: UpdateParticipantRoleBody;
3009
4094
  }): Promise<GroupThreadMutationResponse>;
3010
4095
  //#endregion
4096
+ //#region src/messaging/reports.d.ts
4097
+ declare function submitMessageReport(context: TransportContext, input: {
4098
+ readonly bearer: string;
4099
+ readonly threadId: string;
4100
+ readonly messageId: string;
4101
+ readonly body: SubmitMessageReportRequest;
4102
+ }): Promise<SubmitMessageReportResponse>;
4103
+ //#endregion
3011
4104
  //#region src/messaging/threads.d.ts
3012
4105
  declare function deleteThread(context: TransportContext, input: {
3013
4106
  readonly bearer: string;
@@ -3161,6 +4254,15 @@ declare function denyPaymentIntent(context: TransportContext, input: {
3161
4254
  readonly bearer: string;
3162
4255
  readonly intentId: string;
3163
4256
  }): Promise<OauthPaymentIntentResolveResponse>;
4257
+ declare function preparePaymentIntentSolana(context: TransportContext, input: {
4258
+ readonly bearer: string;
4259
+ readonly intentId: string;
4260
+ }): Promise<OauthPaymentIntentSolanaPrepareResponse>;
4261
+ declare function completePaymentIntentSolana(context: TransportContext, input: {
4262
+ readonly bearer: string;
4263
+ readonly intentId: string;
4264
+ readonly body: OauthPaymentIntentSolanaCompleteRequest;
4265
+ }): Promise<OauthPaymentIntentResolveResponse>;
3164
4266
  //#endregion
3165
4267
  //#region src/payments/limits.d.ts
3166
4268
  declare function getPaymentLimits(context: TransportContext, input: {
@@ -3203,6 +4305,22 @@ declare function createTronDeposit(context: TransportContext, input: {
3203
4305
  readonly bearer: string;
3204
4306
  readonly body: TronDepositRequest;
3205
4307
  }): Promise<TronDepositResponse>;
4308
+ declare function createTronTransfer(context: TransportContext, input: {
4309
+ readonly bearer: string;
4310
+ readonly body: TronTransferRequest;
4311
+ readonly idempotencyKey?: string;
4312
+ }): Promise<TronTransferResponse>;
4313
+ declare function getTronSecurity(context: TransportContext, input: {
4314
+ readonly bearer: string;
4315
+ }): Promise<TronSecuritySetting>;
4316
+ declare function setTronSecurity(context: TransportContext, input: {
4317
+ readonly bearer: string;
4318
+ readonly setting: TronSecuritySetting;
4319
+ }): Promise<TronSecuritySetting>;
4320
+ declare function createTronTransferChallenge(context: TransportContext, input: {
4321
+ readonly bearer: string;
4322
+ readonly body: TronTransferChallengeRequest;
4323
+ }): Promise<TronTransferChallengeResponse>;
3206
4324
  declare function createTronConnectOnboarding(context: TransportContext, input: {
3207
4325
  readonly bearer: string;
3208
4326
  }): Promise<TronConnectOnboardingResponse>;
@@ -3339,6 +4457,10 @@ declare function sendFriendRequest(context: TransportContext, input: {
3339
4457
  readonly bearer: string;
3340
4458
  readonly userId: string;
3341
4459
  }): Promise<void>;
4460
+ declare function removeFriend(context: TransportContext, input: {
4461
+ readonly bearer: string;
4462
+ readonly userId: string;
4463
+ }): Promise<void>;
3342
4464
  declare function decideFriendRequest(context: TransportContext, input: {
3343
4465
  readonly bearer: string;
3344
4466
  readonly requestId: string;
@@ -3351,6 +4473,9 @@ declare function cancelFriendRequest(context: TransportContext, input: {
3351
4473
  declare function listFriends(context: TransportContext, input: {
3352
4474
  readonly bearer: string;
3353
4475
  }): Promise<FriendListResponse>;
4476
+ declare function listFriendsForApp(context: TransportContext, input: {
4477
+ readonly bearer: string;
4478
+ }): Promise<AppFriendListResponse>;
3354
4479
  //#endregion
3355
4480
  //#region src/reads/socials.d.ts
3356
4481
  declare function listSocials(context: TransportContext, input: {
@@ -3642,4 +4767,4 @@ type CookieTokenStoreOptions = {
3642
4767
  };
3643
4768
  declare function createCookieTokenStore(options?: CookieTokenStoreOptions): TokenStore;
3644
4769
  //#endregion
3645
- 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, completePaymentIntent, consolidateDeveloperAppWallet, createConsoleLogger, createCookieTokenStore, createDelegation, createDeveloperApiKey, createDeveloperApp, createDirectThread, createInMemoryTokenStore, createInflightDedup, createNoopLogger, createRateLimiter, createReferralCode, createTronCashout, createTronConnectOnboarding, createTronDeposit, decideFriendRequest, declineDeveloperInvite, defaultEndpoints, deleteAppPageBanner, deleteAppPageThumbnail, deleteAppPageThumbnailVideo, deleteAvatar, deleteDelegation, deleteDeveloperApp, deleteDeveloperAppLogo, deleteDeveloperProfileLogo, deleteDeveloperRequestLogo, deleteGameReviewReply, deleteMessage, deleteMyGameReview, deleteThread, deleteThreadLogo, denyPaymentIntent, editMessage, exchangeAuthorizationCode, fetchAuthorizationServerMetadata, fetchUserInfo, fileAppeal, fileAppealPotLeg, followUser, generatePkce, generateState, getActivity, getActivityGroup, getAdminAppealRoom, getAppFeeConfig, getAppPage, getAppPageChanges, getAppealRoom, getDelegation, getDeveloperAppActivity, getDeveloperAppBalances, getDeveloperAppEarnings, getDeveloperAppOverview, getDeveloperAppPage, getDeveloperAppPlaytime, getDeveloperAppTronBalance, getDeveloperAppWallets, getDeveloperPaymentAppeals, getDeveloperPaymentPendingDeposits, getDeveloperStatus, getDeveloperTronBalanceSummary, getDmKeyBackupStatus, getEarningsTimeseries, getIntentStatus, getLibrary, getMeStats, getMoonpayAvailability, getMyDmKey, getMyGameReview, getOutstanding, getPaymentChains, getPaymentHistory, getPaymentIntent, getPaymentLimits, getPaymentPrice, getPlatformFees, getPlaytime, getPlaytimeTimeseries, getPublicProfile, getReferral, getThreadDmKey, getTronBalance, hideAppPage, hideThread, inviteDeveloperAppParticipant, inviteParticipants, leaveThread, listActivePlayers, listAdmins, listAppPages, listAppealBlacklist, listAppealQueue, listAudit, listDeveloperApiKeys, listDeveloperAppContentReports, listDeveloperAppParticipants, listDeveloperAppReviews, listDeveloperInvites, listDeveloperRequests, listDevelopers, listFriends, listGameReviews, listInventory, listInventoryForApp, listNotifications, listPaymentAuthorizations, listSocials, listThreadMessages, listThreads, listTronCashoutQueue, listTronCashouts, listTronLedger, listUsers, listWalletManager, listWallets, markAllNotificationsRead, markThreadRead, mintMoonpayBuyUrl, mintMoonpaySellUrl, mountPresenceWidget, oauthPaymentWebhookBodySchema, pinThread, postAdminAppealRoomMessage, postAppealRoomMessage, previewReferral, provisionDeveloperAppWallet, publishDmKey, refreshAccessToken, rejectTronCashout, removeAdmin, removeAppealBlacklist, removeParticipant, removeReaction, replyToGameReview, requestDeveloperAppProduction, requestMint, resolveAppeal, reviewAppPage, reviewAppPageChanges, reviewDeveloperRequest, revokeDeveloperApiKey, revokeDeveloperAppParticipant, revokePaymentAuthorization, revokeToken, rotateDeveloperAppKey, rotateDeveloperAppPaymentWebhookSecret, rotateProcessorTreasury, searchGiphy, searchUsers, sendFriendRequest, sendMessage, sendPresenceHeartbeat, setProcessorWhitelist, setVaultOperator, setVaultPause, setVaultWithdrawLockDefault, setVaultWithdrawLockOverride, setupDmKeyBackup, sha256Base64Url, signPaymentIntent, submitAppContentReport, submitAppPageForReview, submitDeveloperRequest, 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, uploadDeveloperAppLogo, uploadDeveloperProfileLogo, uploadDeveloperRequestLogo, uploadMultipart, uploadThreadLogo, upsertMyGameReview, verifyWebhook, withdrawDeveloperAppWallet };
4770
+ 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, listAdminMessageReports, 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, submitMessageReport, submitRelayedVaultPermit, subscribeBipUpdates, tipGameReview, toTokenSet, triageAdminContentReport, triageAdminMessageReport, 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 };