@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.
@@ -114,7 +114,7 @@ type Username = string;
114
114
  type DisplayName = string | null;
115
115
  type Bio = string | null;
116
116
  type WebsiteUrl = string | null;
117
- type BannerVariant = "yellow" | "green" | "blue" | "white" | "black";
117
+ type BannerVariant = "yellow" | "green" | "blue" | "white" | "black" | "red";
118
118
  type AdminRole = "super-admin" | "admin" | "read-only" | null;
119
119
  type PresenceStatusMode = "auto" | "online" | "offline";
120
120
  type PlatformEnvironment = "development" | "production";
@@ -129,7 +129,7 @@ type OauthAuthorizationServerMetadata = {
129
129
  grant_types_supported: Array<"authorization_code" | "refresh_token" | "client_credentials">;
130
130
  code_challenge_methods_supported: Array<"S256">;
131
131
  token_endpoint_auth_methods_supported: Array<"client_secret_basic" | "client_secret_post" | "none">;
132
- scopes_supported: Array<"openid" | "profile" | "payments:charge" | "inventory:read" | "developer:read" | "developer:apps" | "developer:pages">;
132
+ scopes_supported: Array<"openid" | "profile" | "payments:charge" | "inventory:read" | "social:read" | "developer:read" | "developer:apps" | "developer:pages">;
133
133
  };
134
134
  type OauthClientRegistrationResponse = {
135
135
  client_id: string;
@@ -169,7 +169,9 @@ type OauthErrorResponse = {
169
169
  type OauthUserInfoResponse = {
170
170
  sub: string;
171
171
  name: string | null;
172
+ preferred_username: string | null;
172
173
  picture: string | null;
174
+ wallet_address: string | null;
173
175
  };
174
176
  type OauthPaymentChargeResponse = ({
175
177
  status: "completed";
@@ -288,7 +290,16 @@ type OauthPaymentIntentContext = {
288
290
  studioXHandle: string | null;
289
291
  };
290
292
  } | null;
293
+ environment: "development" | "production";
294
+ onramp?: {
295
+ kind: "bridge";
296
+ from: PaymentNetwork;
297
+ to: PaymentNetwork;
298
+ } | {
299
+ kind: "insufficient";
300
+ };
291
301
  };
302
+ type PaymentNetwork = "ethereum" | "base" | "solana";
292
303
  type OauthPaymentIntentSignResponse = {
293
304
  chain: string;
294
305
  chainId: number;
@@ -318,6 +329,13 @@ type OauthPaymentIntentCompleteSigned = {
318
329
  type OauthPaymentIntentCompleteOffline = {
319
330
  method: "offline";
320
331
  };
332
+ type OauthPaymentIntentSolanaPrepareResponse = {
333
+ transaction: string;
334
+ payer: string;
335
+ };
336
+ type OauthPaymentIntentSolanaCompleteRequest = {
337
+ signedTransaction: string;
338
+ };
321
339
  type ListAppPaymentAuthorizationsResponse = {
322
340
  authorizations: Array<AppPaymentAuthorizationItem>;
323
341
  };
@@ -376,9 +394,17 @@ type PublicAppPage = {
376
394
  chapters: AppPageChapters;
377
395
  links: AppPageLinks;
378
396
  studio: PublicAppPageStudio;
397
+ platforms: AppPagePlatforms;
398
+ gameType: AppPageGameType;
399
+ ageRating: AppPageAgeRating;
400
+ languages: AppPageLanguages;
401
+ releaseStatus: AppPageReleaseStatus;
402
+ paymentsMode: AppPagePaymentsMode;
379
403
  oauthScopes: Array<string>;
380
404
  chains: Array<string>;
405
+ devlog: boolean;
381
406
  publishedAt: string;
407
+ updatedAt: string;
382
408
  };
383
409
  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">;
384
410
  type AppPageTagline = string;
@@ -401,12 +427,134 @@ type AppPageLink = {
401
427
  order: number;
402
428
  };
403
429
  type PublicAppPageStudio = {
430
+ ownerUserId: string | null;
404
431
  name: string | null;
405
432
  logoUrl: string | null;
406
433
  websiteUrl: string | null;
407
434
  xHandle: string | null;
408
435
  githubUrl: string | null;
409
436
  };
437
+ type AppPagePlatforms = Array<"web" | "ios" | "android" | "pc" | "playstation" | "xbox" | "switch">;
438
+ type AppPageGameType = "single_player" | "multiplayer" | "both" | null;
439
+ type AppPageAgeRating = "everyone" | "13_plus" | "16_plus" | "18_plus" | null;
440
+ type AppPageLanguages = Array<"en" | "es" | "fr" | "de" | "pt" | "it" | "ru" | "ja" | "ko" | "zh" | "hi" | "ar" | "tr" | "vi" | "id" | "th" | "pl" | "nl">;
441
+ type AppPageReleaseStatus = "live" | "open_beta" | "coming_soon";
442
+ type AppPagePaymentsMode = "tron" | "onchain" | "both" | null;
443
+ type PublicBipPage = {
444
+ appId: string;
445
+ slug: AppPageSlug;
446
+ appName: string;
447
+ appLogoUrl: string | null;
448
+ categories: AppPageCategories;
449
+ tagline: AppPageTagline;
450
+ bannerUrl: string | null;
451
+ discordUrl: string | null;
452
+ twitterUrl: string | null;
453
+ redditUrl: string | null;
454
+ telegramUrl: string | null;
455
+ gallery: AppPageGallery;
456
+ chapters: AppPageChapters;
457
+ links: AppPageLinks;
458
+ studio: PublicAppPageStudio;
459
+ platforms: AppPagePlatforms;
460
+ gameType: AppPageGameType;
461
+ ageRating: AppPageAgeRating;
462
+ languages: AppPageLanguages;
463
+ releaseStatus: AppPageReleaseStatus;
464
+ publishedAt: string;
465
+ updatedAt: string;
466
+ };
467
+ type BipUpdateListResponse = {
468
+ updates: Array<BipUpdate>;
469
+ total: number;
470
+ hasMore: boolean;
471
+ pinned: BipUpdate | null;
472
+ };
473
+ type BipUpdate = {
474
+ id: string;
475
+ appId: string;
476
+ body: BipUpdateBody;
477
+ attachments: BipUpdateAttachments;
478
+ reactions: BipUpdateReactionCounts;
479
+ commentCount: number;
480
+ createdAt: string;
481
+ updatedAt: string;
482
+ pinnedAt: string | null;
483
+ };
484
+ type BipUpdateBody = string;
485
+ type BipUpdateAttachments = Array<BipUpdateAttachment>;
486
+ type BipUpdateAttachment = {
487
+ url: string;
488
+ kind: "image" | "video";
489
+ order: number;
490
+ };
491
+ type BipUpdateReactionCounts = {
492
+ up: number;
493
+ down: number;
494
+ };
495
+ type BipUpdateCommentListResponse = {
496
+ comments: Array<BipUpdateComment>;
497
+ total: number;
498
+ hasMore: boolean;
499
+ };
500
+ type BipUpdateComment = {
501
+ id: string;
502
+ body: BipUpdateCommentBody;
503
+ author: ReviewAuthor;
504
+ createdAt: string;
505
+ };
506
+ type BipUpdateCommentBody = string;
507
+ type ReviewAuthor = {
508
+ userId: string;
509
+ handle: string | null;
510
+ name: string | null;
511
+ avatarUrl: string | null;
512
+ };
513
+ type BipInterestCountResponse = {
514
+ interestCount: number;
515
+ };
516
+ type BipEngagementResponse = {
517
+ interested: boolean;
518
+ subscribed: boolean;
519
+ interestCount: number;
520
+ };
521
+ type MyBipUpdateReactionsResponse = {
522
+ reactions: Array<MyBipUpdateReaction>;
523
+ };
524
+ type MyBipUpdateReaction = {
525
+ updateId: string;
526
+ vote: "up" | "down";
527
+ };
528
+ type SetBipUpdateReactionResponse = {
529
+ reactions: BipUpdateReactionCounts;
530
+ vote: BipUpdateVote;
531
+ };
532
+ type BipUpdateVote = "up" | "down" | null;
533
+ type SetBipUpdateReactionRequest = {
534
+ vote: BipUpdateVote;
535
+ };
536
+ type CreateBipUpdateCommentResponse = {
537
+ comment: BipUpdateComment;
538
+ commentCount: number;
539
+ };
540
+ type DeleteBipUpdateCommentResponse = {
541
+ commentCount: number;
542
+ };
543
+ type CreateBipUpdateRequest = {
544
+ body: BipUpdateBody;
545
+ attachments?: BipUpdateAttachments;
546
+ };
547
+ type UpdateBipUpdateRequest = {
548
+ body?: BipUpdateBody;
549
+ attachments?: BipUpdateAttachments;
550
+ };
551
+ type DeleteBipUpdateResponse = {
552
+ deleted: true;
553
+ };
554
+ type BipUpdateMediaUploadResponse = {
555
+ url: string;
556
+ kind: "image" | "video";
557
+ };
410
558
  type ReviewListResponse = {
411
559
  aggregate: ReviewAggregate;
412
560
  reviews: Array<Review>;
@@ -414,38 +562,43 @@ type ReviewListResponse = {
414
562
  hasMore: boolean;
415
563
  };
416
564
  type ReviewAggregate = {
417
- average: number | null;
418
565
  count: number;
419
- distribution: ReviewDistribution;
420
- };
421
- type ReviewDistribution = {
422
- 1: number;
423
- 2: number;
424
- 3: number;
425
- 4: number;
426
- 5: number;
566
+ recommendedCount: number;
567
+ recommendedPct: number | null;
568
+ summaryLabel: ReviewSummaryLabel;
427
569
  };
570
+ type ReviewSummaryLabel = "overwhelmingly_positive" | "very_positive" | "positive" | "mostly_positive" | "mixed" | "mostly_negative" | "negative" | "overwhelmingly_negative" | null;
428
571
  type Review = {
429
572
  id: string;
430
- rating: ReviewRating;
573
+ recommended: ReviewRecommended;
431
574
  body: ReviewBody;
575
+ reactions: ReviewReactionCounts;
576
+ tippedCents: number;
577
+ commentCount: number;
432
578
  author: ReviewAuthor;
579
+ authorStats: ReviewerStats;
433
580
  developerReply: ReviewReply;
434
581
  createdAt: string;
435
582
  updatedAt: string;
436
583
  };
437
- type ReviewRating = number;
584
+ type ReviewRecommended = boolean;
438
585
  type ReviewBody = string;
439
- type ReviewAuthor = {
440
- name: string | null;
441
- avatarUrl: string | null;
586
+ type ReviewReactionCounts = {
587
+ helpful: number;
588
+ unhelpful: number;
589
+ funny: number;
590
+ };
591
+ type ReviewerStats = {
592
+ playtimeSecondsThisGame: number;
593
+ gamesPlayed: number;
594
+ reviewsWritten: number;
442
595
  };
443
596
  type ReviewReply = {
444
597
  body: ReviewReplyBody;
445
598
  repliedAt: string;
446
599
  } | null;
447
600
  type ReviewReplyBody = string;
448
- type ReviewSort = "newest" | "oldest" | "highest" | "lowest";
601
+ type ReviewSort = "newest" | "oldest" | "helpful";
449
602
  type MyReviewResponse = {
450
603
  eligible: boolean;
451
604
  eligibleVia: ReviewEligibilityReason;
@@ -455,15 +608,67 @@ type MyReviewResponse = {
455
608
  type ReviewEligibilityReason = "payment" | "reward" | null;
456
609
  type OwnReview = {
457
610
  id: string;
458
- rating: ReviewRating;
611
+ recommended: ReviewRecommended;
459
612
  body: ReviewBody;
460
613
  createdAt: string;
461
614
  updatedAt: string;
462
615
  } | null;
463
616
  type UpsertReviewRequest = {
464
- rating: ReviewRating;
617
+ recommended: ReviewRecommended;
465
618
  body: ReviewBody;
466
619
  };
620
+ type MyReviewReactionsResponse = {
621
+ reactions: Array<MyReviewReaction>;
622
+ };
623
+ type MyReviewReaction = {
624
+ reviewId: string;
625
+ vote: ReviewVote;
626
+ funny: boolean;
627
+ };
628
+ type ReviewVote = "helpful" | "unhelpful" | null;
629
+ type SetReviewReactionResponse = {
630
+ reactions: ReviewReactionCounts;
631
+ vote: ReviewVote;
632
+ funny: boolean;
633
+ };
634
+ type SetReviewReactionRequest = {
635
+ vote: ReviewVote;
636
+ funny: boolean;
637
+ };
638
+ type TipReviewResponse = {
639
+ status: "completed";
640
+ amountCents: number;
641
+ balanceCents: number;
642
+ tippedCents: number;
643
+ };
644
+ type TipReviewRequest = {
645
+ amountCents: number;
646
+ note?: string;
647
+ challengeId?: string;
648
+ signature?: string;
649
+ };
650
+ type ReviewCommentListResponse = {
651
+ comments: Array<ReviewComment>;
652
+ total: number;
653
+ hasMore: boolean;
654
+ };
655
+ type ReviewComment = {
656
+ id: string;
657
+ body: ReviewCommentBody;
658
+ author: ReviewAuthor;
659
+ createdAt: string;
660
+ };
661
+ type ReviewCommentBody = string;
662
+ type CreateReviewCommentResponse = {
663
+ comment: ReviewComment;
664
+ commentCount: number;
665
+ };
666
+ type CreateReviewCommentRequest = {
667
+ body: ReviewCommentBody;
668
+ };
669
+ type DeleteReviewCommentResponse = {
670
+ commentCount: number;
671
+ };
467
672
  type ReviewReplyResponse = {
468
673
  developerReply: ReviewReply;
469
674
  };
@@ -568,8 +773,16 @@ type ActivityRow = ({
568
773
  } & ActivityRowTronPot) | ({
569
774
  kind: "tron_cashout";
570
775
  } & ActivityRowTronCashout) | ({
776
+ kind: "tron_transfer";
777
+ } & ActivityRowTronTransfer) | ({
571
778
  kind: "referral_earning";
572
- } & ActivityRowReferralEarning);
779
+ } & ActivityRowReferralEarning) | ({
780
+ kind: "nft_charge";
781
+ } & ActivityRowNftCharge) | ({
782
+ kind: "solana_stake";
783
+ } & ActivityRowSolanaStake) | ({
784
+ kind: "solana_pot_leg";
785
+ } & ActivityRowSolanaPotLeg);
573
786
  type ActivityRowPayment = {
574
787
  kind: "payment";
575
788
  groupId: string | null;
@@ -815,6 +1028,8 @@ type ActivityRowTronPot = {
815
1028
  role: "incoming" | "outgoing";
816
1029
  leg: "stake" | "payout" | "dev_cut" | "purchase" | "referral";
817
1030
  amountCents: number;
1031
+ usdCents: number;
1032
+ status: "settled";
818
1033
  app: {
819
1034
  id: string;
820
1035
  name: string;
@@ -822,8 +1037,16 @@ type ActivityRowTronPot = {
822
1037
  slug: string | null;
823
1038
  bannerUrl: string | null;
824
1039
  } | null;
1040
+ involvedUsers?: Array<ActivityTronInvolvedUser> | null;
825
1041
  metadata?: PaymentMetadata | null;
826
1042
  };
1043
+ type ActivityTronInvolvedUser = {
1044
+ userId: string;
1045
+ handle: string | null;
1046
+ displayName: string | null;
1047
+ role: "stake" | "payout" | "dev_cut" | "purchase" | "referral";
1048
+ amountCents: number;
1049
+ };
827
1050
  type ActivityRowTronCashout = {
828
1051
  kind: "tron_cashout";
829
1052
  groupId: string | null;
@@ -841,6 +1064,20 @@ type ActivityRowTronCashout = {
841
1064
  rejectionReason: string | null;
842
1065
  settledAt: string | null;
843
1066
  };
1067
+ type ActivityRowTronTransfer = {
1068
+ kind: "tron_transfer";
1069
+ groupId: string | null;
1070
+ id: string;
1071
+ occurredAt: string;
1072
+ role: "incoming" | "outgoing";
1073
+ amountCents: number;
1074
+ usdCents: number;
1075
+ status: "settled";
1076
+ counterpartyUserId: string | null;
1077
+ counterpartyHandle: string | null;
1078
+ counterpartyDisplayName: string | null;
1079
+ note: string | null;
1080
+ };
844
1081
  type ActivityRowReferralEarning = {
845
1082
  kind: "referral_earning";
846
1083
  groupId: string | null;
@@ -857,6 +1094,72 @@ type ActivityRowReferralEarning = {
857
1094
  logIndex: number;
858
1095
  usdCents: number | null;
859
1096
  };
1097
+ type ActivityRowNftCharge = {
1098
+ kind: "nft_charge";
1099
+ groupId: string | null;
1100
+ id: string;
1101
+ occurredAt: string;
1102
+ role: "outgoing";
1103
+ chargeKind: "registration" | "mint" | "transfer_gas";
1104
+ amountCents: number;
1105
+ usdCents: number;
1106
+ status: "settled";
1107
+ collectionAddress: string | null;
1108
+ tokenId: string | null;
1109
+ counterpartyUserId: string | null;
1110
+ counterpartyHandle: string | null;
1111
+ counterpartyDisplayName: string | null;
1112
+ };
1113
+ type ActivityRowSolanaStake = {
1114
+ kind: "solana_stake";
1115
+ groupId: string | null;
1116
+ id: string;
1117
+ chain: string;
1118
+ occurredAt: string;
1119
+ role: "outgoing" | "incoming";
1120
+ amount: string;
1121
+ token: string;
1122
+ potId: string | null;
1123
+ usdCents: number;
1124
+ status: "completed";
1125
+ txHash: string | null;
1126
+ app: {
1127
+ id: string;
1128
+ name: string;
1129
+ logoUrl: string | null;
1130
+ slug: string | null;
1131
+ bannerUrl: string | null;
1132
+ } | null;
1133
+ stakerUserId?: string | null;
1134
+ stakerHandle?: string | null;
1135
+ stakerDisplayName?: string | null;
1136
+ metadata?: PaymentMetadata | null;
1137
+ };
1138
+ type ActivityRowSolanaPotLeg = {
1139
+ kind: "solana_pot_leg";
1140
+ groupId: string | null;
1141
+ id: string;
1142
+ chain: string;
1143
+ occurredAt: string;
1144
+ role: "outgoing" | "incoming";
1145
+ beneficiary: string;
1146
+ potId: string | null;
1147
+ amount: string;
1148
+ token: string;
1149
+ usdCents: number | null;
1150
+ status: "settled";
1151
+ app: {
1152
+ id: string;
1153
+ name: string;
1154
+ logoUrl: string | null;
1155
+ slug: string | null;
1156
+ bannerUrl: string | null;
1157
+ } | null;
1158
+ txHash: string | null;
1159
+ recipientUserId?: string | null;
1160
+ recipientHandle?: string | null;
1161
+ recipientDisplayName?: string | null;
1162
+ };
860
1163
  type OutstandingResponse = {
861
1164
  rows: Array<OutstandingByToken>;
862
1165
  };
@@ -906,7 +1209,7 @@ type TronLedgerResponse = {
906
1209
  };
907
1210
  type TronLedgerEntry = {
908
1211
  id: string;
909
- kind: "deposit" | "pot_stake" | "pot_payout" | "dev_earning" | "cashout_hold" | "cashout_release" | "dispute_freeze" | "dispute_unfreeze" | "hosted_billing" | "store_purchase" | "referral_earning";
1212
+ 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";
910
1213
  amountCents: number;
911
1214
  currency: string;
912
1215
  createdAt: string;
@@ -921,6 +1224,45 @@ type TronDepositResponse = {
921
1224
  type TronDepositRequest = {
922
1225
  amountCents: number;
923
1226
  };
1227
+ type TronTransferResponse = {
1228
+ status: "completed";
1229
+ amountCents: number;
1230
+ balanceCents: number;
1231
+ recipient: {
1232
+ userId: string;
1233
+ handle: string | null;
1234
+ displayName: string | null;
1235
+ };
1236
+ };
1237
+ type TronTransferRequest = {
1238
+ recipientUserId: string;
1239
+ amountCents: number;
1240
+ note?: string;
1241
+ challengeId?: string;
1242
+ signature?: string;
1243
+ threadId?: string;
1244
+ };
1245
+ type TronSecuritySetting = {
1246
+ requireSignature: boolean;
1247
+ };
1248
+ type TronTransferChallengeResponse = ({
1249
+ required: false;
1250
+ } & TronTransferChallengeNotRequired) | ({
1251
+ required: true;
1252
+ } & TronTransferChallengeRequired);
1253
+ type TronTransferChallengeNotRequired = {
1254
+ required: false;
1255
+ };
1256
+ type TronTransferChallengeRequired = {
1257
+ required: true;
1258
+ challengeId: string;
1259
+ message: string;
1260
+ expiresAt: string;
1261
+ };
1262
+ type TronTransferChallengeRequest = {
1263
+ recipientUserId: string;
1264
+ amountCents: number;
1265
+ };
924
1266
  type TronGameBalanceResponse = {
925
1267
  balanceCents: number;
926
1268
  rakeBps: number;
@@ -1053,12 +1395,15 @@ type WalletListResponse = {
1053
1395
  wallets: Array<WalletItem>;
1054
1396
  };
1055
1397
  type WalletChainList = Array<{
1056
- id: "ethereum-mainnet" | "base-mainnet" | "ethereum-sepolia";
1398
+ id: "ethereum-mainnet" | "base-mainnet" | "ethereum-sepolia" | "base-sepolia" | "solana-mainnet" | "solana-devnet";
1057
1399
  displayName: string;
1058
- chainId: number;
1400
+ family: "evm" | "solana";
1401
+ nativeSymbol: string;
1402
+ chainId?: number;
1059
1403
  }>;
1060
1404
  type WalletItem = {
1061
- address: string;
1405
+ address: string | string;
1406
+ family: "evm" | "solana";
1062
1407
  label: WalletLabel;
1063
1408
  kind: "personal" | "app";
1064
1409
  app: WalletAppLink;
@@ -1075,6 +1420,9 @@ type WalletBalances = {
1075
1420
  "ethereum-mainnet"?: WalletChainBalance;
1076
1421
  "base-mainnet"?: WalletChainBalance;
1077
1422
  "ethereum-sepolia"?: WalletChainBalance;
1423
+ "base-sepolia"?: WalletChainBalance;
1424
+ "solana-mainnet"?: WalletChainBalance;
1425
+ "solana-devnet"?: WalletChainBalance;
1078
1426
  };
1079
1427
  type WalletChainBalance = {
1080
1428
  native: string;
@@ -1084,12 +1432,14 @@ type WalletDelegationStatus = {
1084
1432
  mode: WalletDelegationMode;
1085
1433
  caps: WalletDelegationCaps;
1086
1434
  policyId: string | null;
1435
+ slippageBps: DelegationSlippageBps;
1087
1436
  };
1088
1437
  type WalletDelegationMode = "infinite" | "custom" | "scoped" | null;
1089
1438
  type WalletDelegationCaps = {
1090
1439
  native: string;
1091
1440
  usdc: string;
1092
1441
  } | null;
1442
+ type DelegationSlippageBps = number | null;
1093
1443
  type WalletLabelUpdateResponse = {
1094
1444
  address: string;
1095
1445
  label: WalletLabel;
@@ -1163,6 +1513,7 @@ type ThreadLastMessagePreview = {
1163
1513
  url: string;
1164
1514
  count: number;
1165
1515
  } | null;
1516
+ transaction?: MessageTransactionTronTransfer | MessageTransactionNftTransfer | null;
1166
1517
  sentAt: string;
1167
1518
  } | null;
1168
1519
  type MessageEnvelope = {
@@ -1174,6 +1525,20 @@ type MessageEnvelope = {
1174
1525
  iv: string;
1175
1526
  ct: string;
1176
1527
  } | null;
1528
+ type MessageTransactionTronTransfer = {
1529
+ kind: "tron_transfer";
1530
+ amountCents: number;
1531
+ recipientUserId: string;
1532
+ };
1533
+ type MessageTransactionNftTransfer = {
1534
+ kind: "nft_transfer";
1535
+ recipientUserId: string;
1536
+ collectionAddress: string;
1537
+ tokenId: string;
1538
+ amount: string;
1539
+ itemName: string | null;
1540
+ imageAssetId?: string | null;
1541
+ };
1177
1542
  type GroupThreadSummary = {
1178
1543
  kind: "group";
1179
1544
  id: string;
@@ -1220,6 +1585,7 @@ type MessageItem = {
1220
1585
  id: string;
1221
1586
  threadId: string;
1222
1587
  senderUserId: string;
1588
+ transaction?: MessageTransactionTronTransfer | MessageTransactionNftTransfer | null;
1223
1589
  body: string;
1224
1590
  envelope?: MessageEnvelope;
1225
1591
  sentAt: string;
@@ -1335,6 +1701,19 @@ type DmKeyBackupUnlockBody = {
1335
1701
  type UpdateParticipantRoleBody = {
1336
1702
  role: ParticipantRole;
1337
1703
  };
1704
+ type SubmitMessageReportResponse = {
1705
+ created: boolean;
1706
+ };
1707
+ type SubmitMessageReportRequest = {
1708
+ category: MessageReportCategory;
1709
+ note?: string;
1710
+ disclosures: Array<MessageReportDisclosure>;
1711
+ };
1712
+ type MessageReportCategory = "harassment" | "explicit_content" | "scam" | "other";
1713
+ type MessageReportDisclosure = {
1714
+ messageId: string;
1715
+ plaintext: string;
1716
+ };
1338
1717
  type ReferralOverview = {
1339
1718
  code: string | null;
1340
1719
  xLinked: boolean;
@@ -1410,11 +1789,45 @@ type InventoryHolding = {
1410
1789
  tokenId: string;
1411
1790
  amount: string;
1412
1791
  name: string | null;
1792
+ description: string | null;
1413
1793
  imageAssetId: string | null;
1414
1794
  bannerAssetId: string | null;
1415
1795
  devMetadata: {
1416
1796
  [key: string]: unknown;
1417
1797
  };
1798
+ appId: string | null;
1799
+ appName: string | null;
1800
+ appLogoUrl: string | null;
1801
+ };
1802
+ type InventoryPendingPermitListResponse = {
1803
+ permits: Array<InventoryPendingPermit>;
1804
+ };
1805
+ type InventoryPendingPermit = {
1806
+ id: string;
1807
+ appId: string;
1808
+ itemId: string;
1809
+ amount: string;
1810
+ priceCents: number | null;
1811
+ gasSponsored: boolean;
1812
+ environment: "development" | "production";
1813
+ createdAt: string;
1814
+ tokenId: string;
1815
+ name: string | null;
1816
+ description: string | null;
1817
+ imageAssetId: string | null;
1818
+ chain: string;
1819
+ collectionAddress: string;
1820
+ kind: "erc721" | "erc1155";
1821
+ };
1822
+ type InventoryPermitRedeemResult = {
1823
+ mint: MintRequestResult;
1824
+ charge: {
1825
+ currency: "tron";
1826
+ gasCents: number;
1827
+ priceCents: number;
1828
+ totalCents: number;
1829
+ gasPaidBy: "user" | "developer";
1830
+ };
1418
1831
  };
1419
1832
  type MintRequestResult = {
1420
1833
  mintRequestId: string;
@@ -1430,6 +1843,247 @@ type MintRequestInput = {
1430
1843
  tokenId?: string;
1431
1844
  amount?: string;
1432
1845
  };
1846
+ type InventoryCollectionListResponse = {
1847
+ collections: Array<InventoryCollectionSummary>;
1848
+ };
1849
+ type InventoryCollectionSummary = {
1850
+ id: string;
1851
+ chain: string;
1852
+ collectionAddress: string;
1853
+ kind: "erc721" | "erc1155";
1854
+ name: string | null;
1855
+ environment: "development" | "production";
1856
+ };
1857
+ type InventoryRegistrationQuote = {
1858
+ itemCount: number;
1859
+ baselineUsdCents: number;
1860
+ gasUsdCents: number;
1861
+ tron: {
1862
+ baselineCents: number;
1863
+ gasCents: number;
1864
+ totalCents: number;
1865
+ };
1866
+ eth: {
1867
+ baselineWei: string;
1868
+ gasWei: string;
1869
+ totalWei: string;
1870
+ };
1871
+ };
1872
+ type InventoryItemRegistrationInput = {
1873
+ collectionAddress: string;
1874
+ chain: string;
1875
+ items: Array<InventoryItemRegistrationSpec>;
1876
+ };
1877
+ type InventoryItemRegistrationSpec = {
1878
+ name?: string | null;
1879
+ description?: string | null;
1880
+ devMetadata?: {
1881
+ [key: string]: unknown;
1882
+ };
1883
+ supplyType?: InventorySupplyType;
1884
+ maxSupply?: string | null;
1885
+ active?: boolean;
1886
+ };
1887
+ type InventorySupplyType = "capped" | "flexible" | "unlimited";
1888
+ type InventoryItemRegistrationResult = {
1889
+ items: Array<InventoryItemRecord>;
1890
+ charge: {
1891
+ currency: "tron";
1892
+ amountCents: number;
1893
+ baselineCents: number;
1894
+ gasCents: number;
1895
+ addItemTxHash: string;
1896
+ };
1897
+ };
1898
+ type InventoryItemRecord = {
1899
+ id: string;
1900
+ collectionId: string;
1901
+ collectionAddress: string;
1902
+ chain: string;
1903
+ kind: "erc721" | "erc1155";
1904
+ tokenId: string;
1905
+ name: string | null;
1906
+ description: string | null;
1907
+ imageAssetId: string | null;
1908
+ bannerAssetId: string | null;
1909
+ devMetadata: {
1910
+ [key: string]: unknown;
1911
+ };
1912
+ supplyType: InventorySupplyType | null;
1913
+ maxSupply: string | null;
1914
+ active: boolean;
1915
+ };
1916
+ type InventoryItemListResponse = {
1917
+ items: Array<InventoryItemRecord>;
1918
+ };
1919
+ type InventoryMintPermitRecord = {
1920
+ id: string;
1921
+ appId: string;
1922
+ itemId: string;
1923
+ userId: string;
1924
+ amount: string;
1925
+ priceCents: number | null;
1926
+ gasSponsored: boolean;
1927
+ status: "pending" | "redeemed" | "revoked";
1928
+ createdAt: string;
1929
+ };
1930
+ type InventoryMintPermitCreateInput = {
1931
+ toUserId: string;
1932
+ amount?: string;
1933
+ priceCents?: number | null;
1934
+ gasSponsored?: boolean;
1935
+ };
1936
+ type InventoryItemHoldersResponse = {
1937
+ stats: InventoryItemStats;
1938
+ holders: Array<InventoryItemHolder>;
1939
+ };
1940
+ type InventoryItemStats = {
1941
+ holderCount: number;
1942
+ walletCount: number;
1943
+ totalHeld: string;
1944
+ };
1945
+ type InventoryItemHolder = {
1946
+ walletAddress: string;
1947
+ userId: string | null;
1948
+ amount: string;
1949
+ };
1950
+ type InventoryVaultPermitRecord = {
1951
+ id: string;
1952
+ appId: string;
1953
+ itemId: string;
1954
+ userId: string;
1955
+ direction: "vault_in" | "withdraw";
1956
+ lockKind: "vault" | "burn" | null;
1957
+ amount: string;
1958
+ gasSponsored: boolean;
1959
+ status: "pending" | "redeemed" | "revoked";
1960
+ custodyId: string | null;
1961
+ createdAt: string;
1962
+ };
1963
+ type InventoryVaultPermitCreateInput = {
1964
+ toUserId: string;
1965
+ lockKind: "vault" | "burn";
1966
+ amount?: string;
1967
+ gasSponsored?: boolean;
1968
+ };
1969
+ type InventoryWithdrawPermitCreateInput = {
1970
+ custodyId: string;
1971
+ };
1972
+ type InventoryPendingVaultPermitListResponse = {
1973
+ permits: Array<InventoryPendingVaultPermit>;
1974
+ };
1975
+ type InventoryPendingVaultPermit = {
1976
+ id: string;
1977
+ appId: string;
1978
+ itemId: string;
1979
+ direction: "vault_in" | "withdraw";
1980
+ lockKind: "vault" | "burn" | null;
1981
+ amount: string;
1982
+ gasSponsored: boolean;
1983
+ environment: "development" | "production";
1984
+ custodyId: string | null;
1985
+ createdAt: string;
1986
+ tokenId: string;
1987
+ name: string | null;
1988
+ description: string | null;
1989
+ imageAssetId: string | null;
1990
+ chain: string;
1991
+ collectionAddress: string;
1992
+ kind: "erc721" | "erc1155";
1993
+ };
1994
+ type InventorySignedVaultPermit = {
1995
+ permitId: string;
1996
+ direction: "vault_in" | "withdraw";
1997
+ vault: string;
1998
+ collection: string;
1999
+ user: string;
2000
+ tokenId: string;
2001
+ amount: string;
2002
+ lockKind: "vault" | "burn" | null;
2003
+ destination: string | null;
2004
+ deadline: number;
2005
+ signature: string;
2006
+ };
2007
+ type InventoryRelayedVaultQuoteResponse = {
2008
+ direction: "vault_in" | "withdraw";
2009
+ collection: string;
2010
+ vault: string;
2011
+ chainId: number;
2012
+ user: string;
2013
+ tokenId: string;
2014
+ amount: string;
2015
+ nonce: string | null;
2016
+ deadline: number;
2017
+ feeCents: number;
2018
+ gasWei: string;
2019
+ gasPaidBy: "developer" | "user";
2020
+ requiresUserSignature: boolean;
2021
+ };
2022
+ type InventoryRelayedVaultSubmitResponse = {
2023
+ ok: boolean;
2024
+ txHash: string;
2025
+ chargedCents: number;
2026
+ gasPaidBy: "developer" | "user";
2027
+ };
2028
+ type InventoryRelayedVaultSubmitRequest = {
2029
+ userSignature?: string;
2030
+ deadline?: number;
2031
+ };
2032
+ type InventoryNftTransferQuoteResponse = {
2033
+ collection: string;
2034
+ chainId: number;
2035
+ from: string;
2036
+ to: string;
2037
+ tokenId: string;
2038
+ amount: string;
2039
+ nonce: string;
2040
+ deadline: number;
2041
+ feeCents: number;
2042
+ gasWei: string;
2043
+ selfPayAvailable: boolean;
2044
+ };
2045
+ type InventoryNftTransferQuoteRequest = {
2046
+ toUserId: string;
2047
+ collection: string;
2048
+ tokenId: string;
2049
+ amount?: string;
2050
+ };
2051
+ type InventoryNftTransferResponse = {
2052
+ ok: boolean;
2053
+ txHash: string;
2054
+ chargedCents: number;
2055
+ };
2056
+ type InventoryNftTransferRequest = {
2057
+ toUserId: string;
2058
+ collection: string;
2059
+ tokenId: string;
2060
+ amount?: string;
2061
+ deadline: number;
2062
+ userSignature: string;
2063
+ threadId?: string;
2064
+ };
2065
+ type InventoryVaultCustodyListResponse = {
2066
+ custody: Array<InventoryVaultCustody>;
2067
+ };
2068
+ type InventoryVaultCustody = {
2069
+ id: string;
2070
+ collectionId: string;
2071
+ collectionAddress: string;
2072
+ chain: string;
2073
+ kind: "erc721" | "erc1155";
2074
+ tokenId: string;
2075
+ amount: string;
2076
+ lockKind: "vault" | "burn";
2077
+ vaultAddress: string;
2078
+ createdAt: string;
2079
+ name: string | null;
2080
+ description: string | null;
2081
+ imageAssetId: string | null;
2082
+ };
2083
+ type InventoryVaultForceWithdrawResponse = {
2084
+ ok: boolean;
2085
+ txHash: string;
2086
+ };
1433
2087
  type NotificationListResponse = {
1434
2088
  notifications: Array<NotificationItem>;
1435
2089
  unreadCount: number;
@@ -1458,6 +2112,18 @@ type NotificationItem = {
1458
2112
  payload: AppPageRejectedNotificationPayload;
1459
2113
  read: boolean;
1460
2114
  createdAt: string;
2115
+ } | {
2116
+ id: string;
2117
+ kind: "bip_update_published";
2118
+ payload: BipUpdatePublishedNotificationPayload;
2119
+ read: boolean;
2120
+ createdAt: string;
2121
+ } | {
2122
+ id: string;
2123
+ kind: "bip_now_playable";
2124
+ payload: BipNowPlayableNotificationPayload;
2125
+ read: boolean;
2126
+ createdAt: string;
1461
2127
  } | {
1462
2128
  id: string;
1463
2129
  kind: "app_participant_invite";
@@ -1488,14 +2154,25 @@ type FriendAcceptedNotificationPayload = {
1488
2154
  type AppPageApprovedNotificationPayload = {
1489
2155
  appId: string;
1490
2156
  appName: string;
1491
- scope: "publish" | "changes";
2157
+ scope: "publish" | "changes" | "bip_publish";
1492
2158
  };
1493
2159
  type AppPageRejectedNotificationPayload = {
1494
2160
  appId: string;
1495
2161
  appName: string;
1496
- scope: "publish" | "changes";
2162
+ scope: "publish" | "changes" | "bip_publish";
1497
2163
  notes: string;
1498
2164
  };
2165
+ type BipUpdatePublishedNotificationPayload = {
2166
+ appId: string;
2167
+ appName: string;
2168
+ appSlug: string | null;
2169
+ updateId: string;
2170
+ };
2171
+ type BipNowPlayableNotificationPayload = {
2172
+ appId: string;
2173
+ appName: string;
2174
+ appSlug: string | null;
2175
+ };
1499
2176
  type AppParticipantInviteNotificationPayload = {
1500
2177
  appId: string;
1501
2178
  appName: string;
@@ -1525,6 +2202,9 @@ type FriendListItem = {
1525
2202
  onlineStatus: OnlineStatus;
1526
2203
  };
1527
2204
  type OnlineStatus = "online" | "offline";
2205
+ type AppFriendListResponse = {
2206
+ friends: Array<ThreadParticipant>;
2207
+ };
1528
2208
  type FriendRequestDecision = {
1529
2209
  decision: "accept" | "reject";
1530
2210
  };
@@ -1597,7 +2277,7 @@ type ProfileRecentReview = {
1597
2277
  appId: string;
1598
2278
  appName: string;
1599
2279
  appLogoUrl: string | null;
1600
- rating: number;
2280
+ recommended: boolean;
1601
2281
  body: string;
1602
2282
  createdAt: string;
1603
2283
  };
@@ -1654,17 +2334,20 @@ type CreateDeveloperAppChain = {
1654
2334
  };
1655
2335
  type UpdateDeveloperApp = {
1656
2336
  name?: DeveloperAppName;
2337
+ slug?: AppPageSlug | null;
1657
2338
  logoUrl?: string | null;
1658
2339
  testAccess?: "private" | "public";
1659
2340
  redirectUris?: Array<string>;
1660
2341
  embedOrigins?: Array<EmbedOrigin>;
1661
2342
  acceptedCurrencies?: AcceptedCurrencies;
2343
+ acceptedNetworks?: AcceptedNetworks;
1662
2344
  paymentStatusWebhookUrl?: string | null;
1663
2345
  paymentStatusWebhookUrlTest?: string | null;
1664
2346
  };
1665
2347
  type EmbedOrigin = string;
1666
2348
  type AcceptedCurrencies = Array<PlatformCurrency>;
1667
2349
  type PlatformCurrency = "eth" | "tron";
2350
+ type AcceptedNetworks = Array<PaymentNetwork> | null;
1668
2351
  type DeveloperLogoUploadResponse = {
1669
2352
  logoUrl: string | null;
1670
2353
  };
@@ -1727,7 +2410,7 @@ type DeveloperAppWalletsResponse = {
1727
2410
  };
1728
2411
  type DeveloperAppWalletItem = {
1729
2412
  chain: string;
1730
- address: string;
2413
+ address: string | string;
1731
2414
  custody: "server" | null;
1732
2415
  walletId: string | null;
1733
2416
  autoSweepEnabled: boolean;
@@ -1748,7 +2431,7 @@ type DeveloperAppProvisionWalletResponse = {
1748
2431
  chain: string;
1749
2432
  custody: "server";
1750
2433
  walletId: string;
1751
- address: string;
2434
+ address: string | string;
1752
2435
  };
1753
2436
  type DeveloperAppWithdrawResponse = {
1754
2437
  appId: string;
@@ -1902,6 +2585,7 @@ type DeveloperProductionRequestPayload = {
1902
2585
  type DeveloperAppItem = {
1903
2586
  id: string;
1904
2587
  name: DeveloperAppName;
2588
+ slug: AppPageSlug | null;
1905
2589
  logoUrl: string | null;
1906
2590
  environment: "development" | "production";
1907
2591
  productionApprovedAt: string | null;
@@ -1910,6 +2594,7 @@ type DeveloperAppItem = {
1910
2594
  redirectUris: Array<string>;
1911
2595
  embedOrigins: Array<EmbedOrigin>;
1912
2596
  acceptedCurrencies: AcceptedCurrencies;
2597
+ acceptedNetworks: AcceptedNetworks;
1913
2598
  payoutAddresses: Array<DeveloperAppPayoutAddressItem>;
1914
2599
  keys: Array<DeveloperAppKeyItem>;
1915
2600
  pendingProductionRequestId: string | null;
@@ -1953,15 +2638,29 @@ type AppPageDraft = {
1953
2638
  gallery: AppPageGallery;
1954
2639
  chapters: AppPageChapters;
1955
2640
  links: AppPageLinks;
2641
+ platforms: AppPagePlatforms;
2642
+ gameType: AppPageGameType;
2643
+ ageRating: AppPageAgeRating;
2644
+ languages: AppPageLanguages;
2645
+ releaseStatus: AppPageReleaseStatus;
1956
2646
  firstPublishedAt: string | null;
1957
2647
  reviewedAt: string | null;
1958
2648
  reviewNotes: string | null;
1959
2649
  hiddenAt: string | null;
1960
2650
  hiddenReasonPublic: string | null;
1961
2651
  pendingReview: boolean;
2652
+ bip: AppPageBipState;
2653
+ };
2654
+ type AppPageBipState = {
2655
+ enabled: boolean;
2656
+ status: "draft" | "pending_review" | "published" | "hidden";
2657
+ firstPublishedAt: string | null;
2658
+ reviewedAt: string | null;
2659
+ reviewNotes: string | null;
2660
+ hiddenAt: string | null;
2661
+ hiddenReasonPublic: string | null;
1962
2662
  };
1963
2663
  type UpdateAppPage = {
1964
- slug?: AppPageSlug | null;
1965
2664
  categories?: AppPageCategories;
1966
2665
  tagline?: AppPageTagline | null;
1967
2666
  bannerUrl?: string | null;
@@ -1975,10 +2674,18 @@ type UpdateAppPage = {
1975
2674
  gallery?: AppPageGallery;
1976
2675
  chapters?: AppPageChapters;
1977
2676
  links?: AppPageLinks;
2677
+ platforms?: AppPagePlatforms;
2678
+ gameType?: AppPageGameType;
2679
+ ageRating?: AppPageAgeRating;
2680
+ languages?: AppPageLanguages;
2681
+ releaseStatus?: AppPageReleaseStatus;
1978
2682
  };
1979
2683
  type AppPageGalleryUploadResponse = {
1980
2684
  url: string;
1981
2685
  };
2686
+ type AppPageBipToggle = {
2687
+ enabled: boolean;
2688
+ };
1982
2689
  type AdminActivePlayersResponse = {
1983
2690
  players: Array<AdminActivePlayer>;
1984
2691
  total: number;
@@ -2035,14 +2742,17 @@ type AdminUserListItem = {
2035
2742
  email: string | null;
2036
2743
  createdAt: string;
2037
2744
  bannedAt: string | null;
2745
+ messagingRevokedAt: string | null;
2038
2746
  deletedAt: string | null;
2039
2747
  };
2040
2748
  type AdminUserBanResponse = {
2041
2749
  id: string;
2042
2750
  banned: boolean;
2751
+ messagingRevoked: boolean;
2043
2752
  };
2044
2753
  type AdminUserBanRequest = {
2045
- banned: boolean;
2754
+ banned?: boolean;
2755
+ messagingRevoked?: boolean;
2046
2756
  reason?: string;
2047
2757
  };
2048
2758
  type AdminAuditListResponse = {
@@ -2050,6 +2760,7 @@ type AdminAuditListResponse = {
2050
2760
  total: number;
2051
2761
  offset: number;
2052
2762
  limit: number;
2763
+ nextCursor: string | null;
2053
2764
  };
2054
2765
  type AdminAuditListItem = {
2055
2766
  id: string;
@@ -2117,6 +2828,11 @@ type AdminAppPageItem = {
2117
2828
  hiddenAt: string | null;
2118
2829
  hiddenReasonInternal: string | null;
2119
2830
  pendingChangesSubmittedAt: string | null;
2831
+ bipEnabled: boolean;
2832
+ bipStatus: "draft" | "pending_review" | "published" | "hidden";
2833
+ bipFirstPublishedAt: string | null;
2834
+ bipHiddenAt: string | null;
2835
+ openReportCount: number;
2120
2836
  };
2121
2837
  type AdminAppPageStatusResponse = {
2122
2838
  status: "draft" | "pending_review" | "published" | "hidden";
@@ -2142,6 +2858,58 @@ type AdminAppPageDiffField = {
2142
2858
  from: string;
2143
2859
  to: string;
2144
2860
  };
2861
+ type AdminAppPageBipStatusResponse = {
2862
+ bipStatus: "draft" | "pending_review" | "published" | "hidden";
2863
+ };
2864
+ type AdminAppContentReportListResponse = {
2865
+ reports: Array<AdminAppContentReportItem>;
2866
+ total: number;
2867
+ hasMore: boolean;
2868
+ };
2869
+ type AdminAppContentReportItem = {
2870
+ id: string;
2871
+ category: AppContentReportCategory;
2872
+ details: string | null;
2873
+ status: AppContentReportStatus;
2874
+ acknowledgedAt: string | null;
2875
+ createdAt: string;
2876
+ appId: string;
2877
+ appName: string;
2878
+ appSlug: string | null;
2879
+ };
2880
+ type AdminMessageReportListResponse = {
2881
+ reports: Array<AdminMessageReportItem>;
2882
+ total: number;
2883
+ hasMore: boolean;
2884
+ };
2885
+ type AdminMessageReportItem = {
2886
+ id: string;
2887
+ threadId: string;
2888
+ reportedMessageId: string;
2889
+ reporterUserId: string;
2890
+ participants: Array<MessageReportParticipant>;
2891
+ category: MessageReportCategory;
2892
+ note: string | null;
2893
+ status: MessageReportStatus;
2894
+ evidence: Array<MessageReportEvidenceItem>;
2895
+ createdAt: string;
2896
+ updatedAt: string;
2897
+ };
2898
+ type MessageReportParticipant = {
2899
+ userId: string;
2900
+ handle: string | null;
2901
+ displayName: string | null;
2902
+ };
2903
+ type MessageReportStatus = "open" | "resolved" | "dismissed";
2904
+ type MessageReportEvidenceItem = {
2905
+ messageId: string;
2906
+ senderUserId: string;
2907
+ sentAt: string;
2908
+ contentKind: "plaintext" | "encrypted" | "transaction";
2909
+ disclosedPlaintext?: string;
2910
+ storedBody?: string;
2911
+ envelope?: MessageEnvelope;
2912
+ };
2145
2913
  type PlatformFeesResponse = {
2146
2914
  purchaseFeeBps: number;
2147
2915
  stakeFeeBps: number;
@@ -2322,6 +3090,13 @@ type AppealResolveRequest = {
2322
3090
  decision: "refund" | "dismiss";
2323
3091
  notes?: string;
2324
3092
  };
3093
+ type PaymentRatesResponse = {
3094
+ asOf: string;
3095
+ ethUsd: number | null;
3096
+ solUsd: number | null;
3097
+ solLamportsPerCent: number | null;
3098
+ tronUsdPerToken: number;
3099
+ };
2325
3100
  type AppealFileResponse = {
2326
3101
  appealId: string;
2327
3102
  paymentId: string;
@@ -2370,7 +3145,7 @@ type OauthPaymentPayoutRequest = {
2370
3145
  metadata?: PaymentMetadata;
2371
3146
  };
2372
3147
  type OauthPaymentDistributeResponse = {
2373
- distributionId: string;
3148
+ distributionId?: string;
2374
3149
  txHash: string;
2375
3150
  blockNumber: string;
2376
3151
  potId: string;
@@ -2493,7 +3268,7 @@ declare function listActivePlayers(context: TransportContext, input: {
2493
3268
  //#region src/admin/app-pages.d.ts
2494
3269
  declare function listAppPages(context: TransportContext, input: {
2495
3270
  readonly bearer: string;
2496
- readonly status?: "draft" | "pending_review" | "published" | "hidden" | "all" | "pending_changes";
3271
+ readonly status?: "draft" | "pending_review" | "published" | "hidden" | "all" | "pending_changes" | "bip_pending_review";
2497
3272
  }): Promise<AdminAppPageListResponse>;
2498
3273
  declare function getAppPageChanges(context: TransportContext, input: {
2499
3274
  readonly bearer: string;
@@ -2518,6 +3293,20 @@ declare function reviewAppPage(context: TransportContext, input: {
2518
3293
  readonly appId: string;
2519
3294
  readonly body: ReviewAppPage;
2520
3295
  }): Promise<AdminAppPageStatusResponse>;
3296
+ declare function reviewAppPageBip(context: TransportContext, input: {
3297
+ readonly bearer: string;
3298
+ readonly appId: string;
3299
+ readonly body: ReviewAppPage;
3300
+ }): Promise<AdminAppPageBipStatusResponse>;
3301
+ declare function hideAppPageBip(context: TransportContext, input: {
3302
+ readonly bearer: string;
3303
+ readonly appId: string;
3304
+ readonly body: HideAppPage;
3305
+ }): Promise<AdminAppPageBipStatusResponse>;
3306
+ declare function unhideAppPageBip(context: TransportContext, input: {
3307
+ readonly bearer: string;
3308
+ readonly appId: string;
3309
+ }): Promise<AdminAppPageBipStatusResponse>;
2521
3310
  //#endregion
2522
3311
  //#region src/admin/appeals.d.ts
2523
3312
  declare function listAppealQueue(context: TransportContext, input: {
@@ -2549,6 +3338,19 @@ declare function resolveAppeal(context: TransportContext, input: {
2549
3338
  readonly body: AppealResolveRequest;
2550
3339
  }): Promise<AppealResolveSignedResponse>;
2551
3340
  //#endregion
3341
+ //#region src/admin/content-reports.d.ts
3342
+ declare function listAdminContentReports(context: TransportContext, input: {
3343
+ readonly bearer: string;
3344
+ readonly status?: "open" | "acknowledged" | "dismissed" | "all";
3345
+ readonly limit?: number;
3346
+ readonly offset?: number;
3347
+ }): Promise<AdminAppContentReportListResponse>;
3348
+ declare function triageAdminContentReport(context: TransportContext, input: {
3349
+ readonly bearer: string;
3350
+ readonly reportId: string;
3351
+ readonly status: "acknowledged" | "dismissed";
3352
+ }): Promise<AppContentReport>;
3353
+ //#endregion
2552
3354
  //#region src/admin/developers.d.ts
2553
3355
  declare function listDeveloperRequests(context: TransportContext, input: {
2554
3356
  readonly bearer: string;
@@ -2564,6 +3366,25 @@ declare function listDevelopers(context: TransportContext, input: {
2564
3366
  readonly bearer: string;
2565
3367
  }): Promise<AdminDeveloperListResponse>;
2566
3368
  //#endregion
3369
+ //#region src/admin/inventory-vault.d.ts
3370
+ declare function forceWithdrawVaultCustody(context: TransportContext, input: {
3371
+ readonly bearer: string;
3372
+ readonly custodyId: string;
3373
+ }): Promise<InventoryVaultForceWithdrawResponse>;
3374
+ //#endregion
3375
+ //#region src/admin/message-reports.d.ts
3376
+ declare function listAdminMessageReports(context: TransportContext, input: {
3377
+ readonly bearer: string;
3378
+ readonly status?: "open" | "resolved" | "dismissed" | "all";
3379
+ readonly limit?: number;
3380
+ readonly offset?: number;
3381
+ }): Promise<AdminMessageReportListResponse>;
3382
+ declare function triageAdminMessageReport(context: TransportContext, input: {
3383
+ readonly bearer: string;
3384
+ readonly reportId: string;
3385
+ readonly status: "resolved" | "dismissed";
3386
+ }): Promise<AdminMessageReportItem>;
3387
+ //#endregion
2567
3388
  //#region src/admin/payments.d.ts
2568
3389
  declare function getPlatformFees(context: TransportContext, input: {
2569
3390
  readonly bearer: string;
@@ -2672,6 +3493,7 @@ declare function listAudit(context: TransportContext, input: {
2672
3493
  readonly actorId?: string;
2673
3494
  readonly targetType?: string;
2674
3495
  readonly targetId?: string;
3496
+ readonly cursor?: string;
2675
3497
  readonly offset?: number;
2676
3498
  readonly limit?: number;
2677
3499
  }): Promise<AdminAuditListResponse>;
@@ -2682,6 +3504,113 @@ declare function getAppPage(context: TransportContext, input: {
2682
3504
  readonly slug: string;
2683
3505
  }): Promise<PublicAppPage>;
2684
3506
  //#endregion
3507
+ //#region src/catalog/bip-updates.d.ts
3508
+ declare function listBipUpdates(context: TransportContext, input: {
3509
+ readonly bearer?: string;
3510
+ readonly slug: string;
3511
+ readonly limit?: number;
3512
+ readonly offset?: number;
3513
+ }): Promise<BipUpdateListResponse>;
3514
+ declare function listBipUpdateComments(context: TransportContext, input: {
3515
+ readonly bearer?: string;
3516
+ readonly slug: string;
3517
+ readonly updateId: string;
3518
+ readonly limit?: number;
3519
+ readonly offset?: number;
3520
+ }): Promise<BipUpdateCommentListResponse>;
3521
+ declare function getMyBipUpdateReactions(context: TransportContext, input: {
3522
+ readonly bearer: string;
3523
+ readonly slug: string;
3524
+ }): Promise<MyBipUpdateReactionsResponse>;
3525
+ declare function setBipUpdateReaction(context: TransportContext, input: {
3526
+ readonly bearer: string;
3527
+ readonly slug: string;
3528
+ readonly updateId: string;
3529
+ readonly body: SetBipUpdateReactionRequest;
3530
+ }): Promise<SetBipUpdateReactionResponse>;
3531
+ declare function commentOnBipUpdate(context: TransportContext, input: {
3532
+ readonly bearer: string;
3533
+ readonly slug: string;
3534
+ readonly updateId: string;
3535
+ readonly body: string;
3536
+ }): Promise<CreateBipUpdateCommentResponse>;
3537
+ declare function deleteBipUpdateComment(context: TransportContext, input: {
3538
+ readonly bearer: string;
3539
+ readonly slug: string;
3540
+ readonly commentId: string;
3541
+ }): Promise<DeleteBipUpdateCommentResponse>;
3542
+ declare function listDeveloperBipUpdates(context: TransportContext, input: {
3543
+ readonly bearer: string;
3544
+ readonly appId: string;
3545
+ readonly limit?: number;
3546
+ readonly offset?: number;
3547
+ }): Promise<BipUpdateListResponse>;
3548
+ declare function createBipUpdate(context: TransportContext, input: {
3549
+ readonly bearer: string;
3550
+ readonly appId: string;
3551
+ readonly body: CreateBipUpdateRequest;
3552
+ }): Promise<BipUpdate>;
3553
+ declare function updateBipUpdate(context: TransportContext, input: {
3554
+ readonly bearer: string;
3555
+ readonly appId: string;
3556
+ readonly updateId: string;
3557
+ readonly body: UpdateBipUpdateRequest;
3558
+ }): Promise<BipUpdate>;
3559
+ declare function deleteBipUpdate(context: TransportContext, input: {
3560
+ readonly bearer: string;
3561
+ readonly appId: string;
3562
+ readonly updateId: string;
3563
+ }): Promise<DeleteBipUpdateResponse>;
3564
+ declare function pinBipUpdate(context: TransportContext, input: {
3565
+ readonly bearer: string;
3566
+ readonly appId: string;
3567
+ readonly updateId: string;
3568
+ }): Promise<BipUpdate>;
3569
+ declare function unpinBipUpdate(context: TransportContext, input: {
3570
+ readonly bearer: string;
3571
+ readonly appId: string;
3572
+ readonly updateId: string;
3573
+ }): Promise<BipUpdate>;
3574
+ declare function uploadBipUpdateMedia(context: TransportContext, input: {
3575
+ readonly bearer: string;
3576
+ readonly appId: string;
3577
+ readonly file: Blob;
3578
+ readonly filename: string;
3579
+ readonly contentType: string;
3580
+ }): Promise<BipUpdateMediaUploadResponse>;
3581
+ declare function getBipInterestCount(context: TransportContext, input: {
3582
+ readonly bearer?: string;
3583
+ readonly slug: string;
3584
+ }): Promise<BipInterestCountResponse>;
3585
+ declare function getMyBipEngagement(context: TransportContext, input: {
3586
+ readonly bearer: string;
3587
+ readonly slug: string;
3588
+ }): Promise<BipEngagementResponse>;
3589
+ declare function registerBipInterest(context: TransportContext, input: {
3590
+ readonly bearer: string;
3591
+ readonly slug: string;
3592
+ readonly interested: boolean;
3593
+ }): Promise<BipEngagementResponse>;
3594
+ declare function subscribeBipUpdates(context: TransportContext, input: {
3595
+ readonly bearer: string;
3596
+ readonly slug: string;
3597
+ readonly subscribed: boolean;
3598
+ }): Promise<BipEngagementResponse>;
3599
+ //#endregion
3600
+ //#region src/catalog/build-in-public.d.ts
3601
+ declare function getBipDirectory(context: TransportContext, input: {
3602
+ readonly bearer?: string;
3603
+ readonly genre?: string;
3604
+ readonly q?: string;
3605
+ readonly sort?: "newest" | "top";
3606
+ readonly before?: string;
3607
+ readonly limit?: number;
3608
+ }): Promise<LibraryListResponse>;
3609
+ declare function getBipPage(context: TransportContext, input: {
3610
+ readonly bearer?: string;
3611
+ readonly slug: string;
3612
+ }): Promise<PublicBipPage>;
3613
+ //#endregion
2685
3614
  //#region src/catalog/content-reports.d.ts
2686
3615
  declare function submitAppContentReport(context: TransportContext, input: {
2687
3616
  readonly appId: string;
@@ -2694,6 +3623,7 @@ declare function getLibrary(context: TransportContext, input: {
2694
3623
  readonly bearer?: string;
2695
3624
  readonly genre?: string;
2696
3625
  readonly q?: string;
3626
+ readonly sort?: "newest" | "top";
2697
3627
  readonly before?: string;
2698
3628
  readonly limit?: number;
2699
3629
  }): Promise<LibraryListResponse>;
@@ -2726,6 +3656,41 @@ declare function deleteMyGameReview(context: TransportContext, input: {
2726
3656
  readonly slug: string;
2727
3657
  readonly bearer: string;
2728
3658
  }): Promise<MyReviewResponse>;
3659
+ declare function getMyGameReviewReactions(context: TransportContext, input: {
3660
+ readonly slug: string;
3661
+ readonly bearer: string;
3662
+ }): Promise<MyReviewReactionsResponse>;
3663
+ declare function setMyGameReviewReaction(context: TransportContext, input: {
3664
+ readonly slug: string;
3665
+ readonly reviewId: string;
3666
+ readonly bearer: string;
3667
+ readonly reaction: SetReviewReactionRequest;
3668
+ }): Promise<SetReviewReactionResponse>;
3669
+ declare function tipGameReview(context: TransportContext, input: {
3670
+ readonly slug: string;
3671
+ readonly reviewId: string;
3672
+ readonly bearer: string;
3673
+ readonly tip: TipReviewRequest;
3674
+ readonly idempotencyKey?: string;
3675
+ }): Promise<TipReviewResponse>;
3676
+ declare function listGameReviewComments(context: TransportContext, input: {
3677
+ readonly slug: string;
3678
+ readonly reviewId: string;
3679
+ readonly bearer?: string;
3680
+ readonly limit?: number;
3681
+ readonly offset?: number;
3682
+ }): Promise<ReviewCommentListResponse>;
3683
+ declare function commentOnGameReview(context: TransportContext, input: {
3684
+ readonly slug: string;
3685
+ readonly reviewId: string;
3686
+ readonly bearer: string;
3687
+ readonly comment: CreateReviewCommentRequest;
3688
+ }): Promise<CreateReviewCommentResponse>;
3689
+ declare function deleteGameReviewComment(context: TransportContext, input: {
3690
+ readonly slug: string;
3691
+ readonly commentId: string;
3692
+ readonly bearer: string;
3693
+ }): Promise<DeleteReviewCommentResponse>;
2729
3694
  declare function replyToGameReview(context: TransportContext, input: {
2730
3695
  readonly appId: string;
2731
3696
  readonly reviewId: string;
@@ -2817,6 +3782,9 @@ declare function getPaymentHistory(context: TransportContext, input: {
2817
3782
  readonly before?: string;
2818
3783
  }): Promise<PaymentHistoryResponse>;
2819
3784
  //#endregion
3785
+ //#region src/dashboard/rates.d.ts
3786
+ declare function getPaymentRates(context: TransportContext): Promise<PaymentRatesResponse>;
3787
+ //#endregion
2820
3788
  //#region src/developer/api-keys.d.ts
2821
3789
  declare function createDeveloperApiKey(context: TransportContext, input: {
2822
3790
  readonly bearer: string;
@@ -2954,6 +3922,53 @@ declare function updateDeveloperAppContentReportStatus(context: TransportContext
2954
3922
  readonly status: "acknowledged" | "dismissed";
2955
3923
  }): Promise<AppContentReport>;
2956
3924
  //#endregion
3925
+ //#region src/developer/inventory.d.ts
3926
+ declare function quoteDeveloperAppInventoryRegistration(context: TransportContext, input: {
3927
+ readonly bearer: string;
3928
+ readonly appId: string;
3929
+ readonly registration: InventoryItemRegistrationInput;
3930
+ }): Promise<InventoryRegistrationQuote>;
3931
+ declare function registerDeveloperAppInventoryItem(context: TransportContext, input: {
3932
+ readonly bearer: string;
3933
+ readonly appId: string;
3934
+ readonly registration: InventoryItemRegistrationInput;
3935
+ }): Promise<InventoryItemRegistrationResult>;
3936
+ declare function listDeveloperAppInventoryCollections(context: TransportContext, input: {
3937
+ readonly bearer: string;
3938
+ readonly appId: string;
3939
+ }): Promise<InventoryCollectionListResponse>;
3940
+ declare function listDeveloperAppInventoryItems(context: TransportContext, input: {
3941
+ readonly bearer: string;
3942
+ readonly appId: string;
3943
+ }): Promise<InventoryItemListResponse>;
3944
+ declare function createDeveloperAppMintPermit(context: TransportContext, input: {
3945
+ readonly bearer: string;
3946
+ readonly appId: string;
3947
+ readonly itemId: string;
3948
+ readonly grant: InventoryMintPermitCreateInput;
3949
+ }): Promise<InventoryMintPermitRecord>;
3950
+ declare function getDeveloperAppInventoryItemHolders(context: TransportContext, input: {
3951
+ readonly bearer: string;
3952
+ readonly appId: string;
3953
+ readonly itemId: string;
3954
+ }): Promise<InventoryItemHoldersResponse>;
3955
+ declare function uploadDeveloperAppInventoryItemImage(context: TransportContext, input: {
3956
+ readonly bearer: string;
3957
+ readonly appId: string;
3958
+ readonly itemId: string;
3959
+ readonly file: Blob | ArrayBufferView | ArrayBuffer;
3960
+ readonly filename: string;
3961
+ readonly contentType: string;
3962
+ }): Promise<InventoryItemRecord>;
3963
+ declare function uploadDeveloperAppInventoryItemBanner(context: TransportContext, input: {
3964
+ readonly bearer: string;
3965
+ readonly appId: string;
3966
+ readonly itemId: string;
3967
+ readonly file: Blob | ArrayBufferView | ArrayBuffer;
3968
+ readonly filename: string;
3969
+ readonly contentType: string;
3970
+ }): Promise<InventoryItemRecord>;
3971
+ //#endregion
2957
3972
  //#region src/developer/pages.d.ts
2958
3973
  declare function getDeveloperAppPage(context: TransportContext, input: {
2959
3974
  readonly bearer: string;
@@ -3012,6 +4027,19 @@ declare function unpublishAppPage(context: TransportContext, input: {
3012
4027
  readonly bearer: string;
3013
4028
  readonly appId: string;
3014
4029
  }): Promise<AppPageDraft>;
4030
+ declare function setAppPageBip(context: TransportContext, input: {
4031
+ readonly bearer: string;
4032
+ readonly appId: string;
4033
+ readonly body: AppPageBipToggle;
4034
+ }): Promise<AppPageDraft>;
4035
+ declare function submitAppPageBipForReview(context: TransportContext, input: {
4036
+ readonly bearer: string;
4037
+ readonly appId: string;
4038
+ }): Promise<AppPageDraft>;
4039
+ declare function unpublishAppPageBip(context: TransportContext, input: {
4040
+ readonly bearer: string;
4041
+ readonly appId: string;
4042
+ }): Promise<AppPageDraft>;
3015
4043
  //#endregion
3016
4044
  //#region src/developer/participants.d.ts
3017
4045
  declare function listDeveloperAppParticipants(context: TransportContext, input: {
@@ -3078,6 +4106,68 @@ declare function uploadMultipart(context: TransportContext, input: {
3078
4106
  readonly contentType: string;
3079
4107
  }): Promise<unknown>;
3080
4108
  //#endregion
4109
+ //#region src/developer/vault.d.ts
4110
+ declare function createDeveloperVaultPermit(context: TransportContext, input: {
4111
+ readonly bearer: string;
4112
+ readonly appId: string;
4113
+ readonly itemId: string;
4114
+ readonly grant: InventoryVaultPermitCreateInput;
4115
+ }): Promise<InventoryVaultPermitRecord>;
4116
+ declare function createDeveloperWithdrawPermit(context: TransportContext, input: {
4117
+ readonly bearer: string;
4118
+ readonly appId: string;
4119
+ readonly itemId: string;
4120
+ readonly grant: InventoryWithdrawPermitCreateInput;
4121
+ }): Promise<InventoryVaultPermitRecord>;
4122
+ //#endregion
4123
+ //#region src/events/inventory-socket.d.ts
4124
+ declare const inventoryUpdateEventSchema: z.ZodObject<{
4125
+ event: z.ZodLiteral<"inventory.updated">;
4126
+ deliveredAt: z.ZodString;
4127
+ environment: z.ZodEnum<{
4128
+ development: "development";
4129
+ production: "production";
4130
+ }>;
4131
+ subject: z.ZodString;
4132
+ collectionId: z.ZodString;
4133
+ collectionAddress: z.ZodString;
4134
+ chain: z.ZodString;
4135
+ kind: z.ZodEnum<{
4136
+ erc721: "erc721";
4137
+ erc1155: "erc1155";
4138
+ }>;
4139
+ tokenId: z.ZodString;
4140
+ direction: z.ZodEnum<{
4141
+ credit: "credit";
4142
+ debit: "debit";
4143
+ }>;
4144
+ amount: z.ZodString;
4145
+ balance: z.ZodString;
4146
+ }, z.core.$strip>;
4147
+ type InventoryUpdateEvent = z.infer<typeof inventoryUpdateEventSchema>;
4148
+ type OauthInventoryEventsSubscriberLifecycle = {
4149
+ onOpen?: () => void;
4150
+ onSubscribed?: (appId: string) => void;
4151
+ onMessage: (body: InventoryUpdateEvent) => void | Promise<void>;
4152
+ onClose?: (error: TronWsCloseError) => void;
4153
+ onError?: (error: Error) => void;
4154
+ };
4155
+ type OauthInventoryEventsSubscriberOptions = {
4156
+ readonly issuer: string;
4157
+ readonly clientId: string;
4158
+ readonly clientSecret: string;
4159
+ readonly logger?: Logger;
4160
+ readonly lifecycle: OauthInventoryEventsSubscriberLifecycle;
4161
+ readonly initialBackoffMs?: number;
4162
+ readonly maxBackoffMs?: number;
4163
+ readonly shouldReconnect?: (error: TronWsCloseError) => boolean;
4164
+ readonly WebSocketImpl?: typeof globalThis.WebSocket;
4165
+ };
4166
+ type OauthInventoryEventsSubscriber = {
4167
+ readonly stop: () => void;
4168
+ };
4169
+ declare function startOauthInventoryEventsSubscriber(options: OauthInventoryEventsSubscriberOptions): OauthInventoryEventsSubscriber;
4170
+ //#endregion
3081
4171
  //#region src/webhook/verify.d.ts
3082
4172
  declare const oauthPaymentWebhookBodySchema: z.ZodObject<{
3083
4173
  event: z.ZodEnum<{
@@ -3152,6 +4242,7 @@ type OauthPaymentEventsSubscriberOptions = {
3152
4242
  readonly maxBackoffMs?: number;
3153
4243
  readonly shouldReconnect?: (error: TronWsCloseError) => boolean;
3154
4244
  readonly WebSocketImpl?: typeof globalThis.WebSocket;
4245
+ readonly disableEventAck?: boolean;
3155
4246
  };
3156
4247
  type OauthPaymentEventsSubscriber = {
3157
4248
  readonly stop: () => void;
@@ -3166,12 +4257,55 @@ declare function listInventoryForApp(context: TransportContext, input: {
3166
4257
  readonly bearer: string;
3167
4258
  }): Promise<InventoryListResponse>;
3168
4259
  //#endregion
4260
+ //#region src/inventory/nft-transfer.d.ts
4261
+ declare function quoteNftTransfer(context: TransportContext, input: {
4262
+ readonly bearer: string;
4263
+ readonly body: InventoryNftTransferQuoteRequest;
4264
+ }): Promise<InventoryNftTransferQuoteResponse>;
4265
+ declare function executeNftTransfer(context: TransportContext, input: {
4266
+ readonly bearer: string;
4267
+ readonly body: InventoryNftTransferRequest;
4268
+ }): Promise<InventoryNftTransferResponse>;
4269
+ //#endregion
4270
+ //#region src/inventory/permits.d.ts
4271
+ declare function listInventoryMintPermits(context: TransportContext, input: {
4272
+ readonly bearer: string;
4273
+ }): Promise<InventoryPendingPermitListResponse>;
4274
+ declare function redeemInventoryMintPermit(context: TransportContext, input: {
4275
+ readonly bearer: string;
4276
+ readonly permitId: string;
4277
+ }): Promise<InventoryPermitRedeemResult>;
4278
+ //#endregion
3169
4279
  //#region src/inventory/request-mint.d.ts
3170
4280
  declare function requestMint(context: TransportContext, input: {
3171
4281
  readonly appBearer: string;
3172
4282
  readonly body: MintRequestInput;
3173
4283
  }): Promise<MintRequestResult>;
3174
4284
  //#endregion
4285
+ //#region src/inventory/vault.d.ts
4286
+ declare function listInventoryVaultPermits(context: TransportContext, input: {
4287
+ readonly bearer: string;
4288
+ }): Promise<InventoryPendingVaultPermitListResponse>;
4289
+ declare function signInventoryVaultPermit(context: TransportContext, input: {
4290
+ readonly bearer: string;
4291
+ readonly permitId: string;
4292
+ }): Promise<InventorySignedVaultPermit>;
4293
+ declare function quoteRelayedVaultPermit(context: TransportContext, input: {
4294
+ readonly bearer: string;
4295
+ readonly permitId: string;
4296
+ }): Promise<InventoryRelayedVaultQuoteResponse>;
4297
+ declare function submitRelayedVaultPermit(context: TransportContext, input: {
4298
+ readonly bearer: string;
4299
+ readonly permitId: string;
4300
+ readonly body: InventoryRelayedVaultSubmitRequest;
4301
+ }): Promise<InventoryRelayedVaultSubmitResponse>;
4302
+ declare function listInventoryVaulted(context: TransportContext, input: {
4303
+ readonly bearer: string;
4304
+ }): Promise<InventoryVaultCustodyListResponse>;
4305
+ declare function listOauthInventoryVaulted(context: TransportContext, input: {
4306
+ readonly bearer: string;
4307
+ }): Promise<InventoryVaultCustodyListResponse>;
4308
+ //#endregion
3175
4309
  //#region src/messaging/dm-key-backup.d.ts
3176
4310
  declare function getDmKeyBackupStatus(context: TransportContext, input: {
3177
4311
  readonly bearer: string;
@@ -3253,6 +4387,14 @@ declare function updateParticipantRole(context: TransportContext, input: {
3253
4387
  readonly body: UpdateParticipantRoleBody;
3254
4388
  }): Promise<GroupThreadMutationResponse>;
3255
4389
  //#endregion
4390
+ //#region src/messaging/reports.d.ts
4391
+ declare function submitMessageReport(context: TransportContext, input: {
4392
+ readonly bearer: string;
4393
+ readonly threadId: string;
4394
+ readonly messageId: string;
4395
+ readonly body: SubmitMessageReportRequest;
4396
+ }): Promise<SubmitMessageReportResponse>;
4397
+ //#endregion
3256
4398
  //#region src/messaging/threads.d.ts
3257
4399
  declare function deleteThread(context: TransportContext, input: {
3258
4400
  readonly bearer: string;
@@ -3438,6 +4580,15 @@ declare function denyPaymentIntent(context: TransportContext, input: {
3438
4580
  readonly bearer: string;
3439
4581
  readonly intentId: string;
3440
4582
  }): Promise<OauthPaymentIntentResolveResponse>;
4583
+ declare function preparePaymentIntentSolana(context: TransportContext, input: {
4584
+ readonly bearer: string;
4585
+ readonly intentId: string;
4586
+ }): Promise<OauthPaymentIntentSolanaPrepareResponse>;
4587
+ declare function completePaymentIntentSolana(context: TransportContext, input: {
4588
+ readonly bearer: string;
4589
+ readonly intentId: string;
4590
+ readonly body: OauthPaymentIntentSolanaCompleteRequest;
4591
+ }): Promise<OauthPaymentIntentResolveResponse>;
3441
4592
  //#endregion
3442
4593
  //#region src/payments/limits.d.ts
3443
4594
  declare function getPaymentLimits(context: TransportContext, input: {
@@ -3486,6 +4637,22 @@ declare function createTronDeposit(context: TransportContext, input: {
3486
4637
  readonly bearer: string;
3487
4638
  readonly body: TronDepositRequest;
3488
4639
  }): Promise<TronDepositResponse>;
4640
+ declare function createTronTransfer(context: TransportContext, input: {
4641
+ readonly bearer: string;
4642
+ readonly body: TronTransferRequest;
4643
+ readonly idempotencyKey?: string;
4644
+ }): Promise<TronTransferResponse>;
4645
+ declare function getTronSecurity(context: TransportContext, input: {
4646
+ readonly bearer: string;
4647
+ }): Promise<TronSecuritySetting>;
4648
+ declare function setTronSecurity(context: TransportContext, input: {
4649
+ readonly bearer: string;
4650
+ readonly setting: TronSecuritySetting;
4651
+ }): Promise<TronSecuritySetting>;
4652
+ declare function createTronTransferChallenge(context: TransportContext, input: {
4653
+ readonly bearer: string;
4654
+ readonly body: TronTransferChallengeRequest;
4655
+ }): Promise<TronTransferChallengeResponse>;
3489
4656
  declare function createTronConnectOnboarding(context: TransportContext, input: {
3490
4657
  readonly bearer: string;
3491
4658
  }): Promise<TronConnectOnboardingResponse>;
@@ -3660,6 +4827,10 @@ declare function sendFriendRequest(context: TransportContext, input: {
3660
4827
  readonly bearer: string;
3661
4828
  readonly userId: string;
3662
4829
  }): Promise<void>;
4830
+ declare function removeFriend(context: TransportContext, input: {
4831
+ readonly bearer: string;
4832
+ readonly userId: string;
4833
+ }): Promise<void>;
3663
4834
  declare function decideFriendRequest(context: TransportContext, input: {
3664
4835
  readonly bearer: string;
3665
4836
  readonly requestId: string;
@@ -3672,6 +4843,9 @@ declare function cancelFriendRequest(context: TransportContext, input: {
3672
4843
  declare function listFriends(context: TransportContext, input: {
3673
4844
  readonly bearer: string;
3674
4845
  }): Promise<FriendListResponse>;
4846
+ declare function listFriendsForApp(context: TransportContext, input: {
4847
+ readonly bearer: string;
4848
+ }): Promise<AppFriendListResponse>;
3675
4849
  //#endregion
3676
4850
  //#region src/reads/socials.d.ts
3677
4851
  declare function listSocials(context: TransportContext, input: {
@@ -3798,6 +4972,7 @@ declare class TronNodeClient {
3798
4972
  };
3799
4973
  };
3800
4974
  subscribeOauthPaymentEvents(lifecycle: OauthPaymentEventsSubscriberLifecycle): OauthPaymentEventsSubscriber;
4975
+ subscribeOauthInventoryEvents(lifecycle: OauthInventoryEventsSubscriberLifecycle): OauthInventoryEventsSubscriber;
3801
4976
  get users(): {
3802
4977
  get: (input: {
3803
4978
  bearer?: string;
@@ -3898,6 +5073,11 @@ declare class TronNodeClient {
3898
5073
  body: MintRequestInput;
3899
5074
  }) => Promise<MintRequestResult>;
3900
5075
  };
5076
+ get friends(): {
5077
+ list: (input: {
5078
+ bearer: string;
5079
+ }) => Promise<AppFriendListResponse>;
5080
+ };
3901
5081
  get socials(): {
3902
5082
  list: (input: {
3903
5083
  bearer: string;
@@ -3919,4 +5099,4 @@ declare class TronNodeClient {
3919
5099
  };
3920
5100
  }
3921
5101
  //#endregion
3922
- export { AppTokenCache, AuthorizeUrl, type BrowserClientConfig, BuildAuthorizeUrlInput, ChargeResult, type FetchLike, GameHalfCredentials, HttpsGuardOptions, InflightDedup, type Logger, MountPresenceWidgetOptions, NOOP_RATE_LIMITER, type NodeClientConfig, OauthErrorCode, OauthPaymentEventsSubscriber, OauthPaymentEventsSubscriberLifecycle, OauthPaymentEventsSubscriberOptions, OauthPaymentWebhookBody, type OauthScope, PkcePair, PlaySessionGameStatus, PresenceStatus, PresenceWidgetHandle, RateLimitOptions, RateLimiter, RequestOptions, SERVER_RATE_LIMIT_MAX_MUTATING, SERVER_RATE_LIMIT_MAX_READ, SERVER_RATE_LIMIT_WINDOW_MS, type SdkBaseConfig, TRON_WS_CLOSE_CODES, type TokenSet, type TokenStore, TransportContext, TronError, TronNodeClient, TronOauthError, TronWsCloseCode, TronWsCloseError, VerifyWebhookFailure, VerifyWebhookInput, VerifyWebhookResult, VerifyWebhookSuccess, WEBHOOK_SIGNATURE_HEADER, WEBHOOK_TIMESTAMP_HEADER, acceptDeveloperInvite, addAdmin, addAppealBlacklist, addReaction, approveTronCashout, assertSecureIssuer, batchThreadDmKeys, bindReferral, buildAuthorizeUrl, cancelFriendRequest, cancelPot, charge, chargeTronDirect, chargeTronPot, completePaymentIntent, confirmPlaySession, consolidateDeveloperAppWallet, createAppTokenCache, createConsoleLogger, 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, distributePot, distributeTronPot, editMessage, endPlaySession, 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, getIntentStatus, getLibrary, getMoonpayAvailability, getMyDmKey, getMyGameReview, getOutstanding, getPaymentChains, getPaymentHistory, getPaymentIntent, getPaymentLimits, getPaymentPrice, getPlatformFees, getPlaytime, getPlaytimeTimeseries, getPublicProfile, getReferral, getThreadDmKey, getTronBalance, getTronGameBalance, heartbeatPlaySession, 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, mintClientCredentialsToken, mintMoonpayBuyUrl, mintMoonpaySellUrl, mountPresenceWidget, oauthPaymentWebhookBodySchema, parseJson, pinThread, postAdminAppealRoomMessage, postAppealRoomMessage, previewReferral, provisionDeveloperAppWallet, publishDmKey, refreshAccessToken, registerOauthClient, rejectTronCashout, removeAdmin, removeAppealBlacklist, removeParticipant, removeReaction, replyToGameReview, requestDeveloperAppProduction, requestMint, requestPayout, resolveAppeal, reviewAppPage, reviewAppPageChanges, reviewDeveloperRequest, revokeDeveloperApiKey, revokeDeveloperAppParticipant, revokePaymentAuthorization, revokeToken, rotateDeveloperAppKey, rotateDeveloperAppPaymentWebhookSecret, rotateProcessorTreasury, searchGiphy, searchUsers, send, sendFriendRequest, sendJson, sendMessage, sendPresenceHeartbeat, setProcessorWhitelist, setVaultOperator, setVaultPause, setVaultWithdrawLockDefault, setVaultWithdrawLockOverride, setupDmKeyBackup, sha256Base64Url, signPaymentIntent, startOauthPaymentEventsSubscriber, 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 };
5102
+ export { AppTokenCache, AuthorizeUrl, type BrowserClientConfig, BuildAuthorizeUrlInput, ChargeResult, type FetchLike, GameHalfCredentials, HttpsGuardOptions, InflightDedup, InventoryUpdateEvent, type Logger, MountPresenceWidgetOptions, NOOP_RATE_LIMITER, type NodeClientConfig, OauthErrorCode, OauthInventoryEventsSubscriber, OauthInventoryEventsSubscriberLifecycle, OauthInventoryEventsSubscriberOptions, OauthPaymentEventsSubscriber, OauthPaymentEventsSubscriberLifecycle, OauthPaymentEventsSubscriberOptions, OauthPaymentWebhookBody, type OauthScope, PkcePair, PlaySessionGameStatus, PresenceStatus, PresenceWidgetHandle, RateLimitOptions, RateLimiter, RequestOptions, SERVER_RATE_LIMIT_MAX_MUTATING, SERVER_RATE_LIMIT_MAX_READ, SERVER_RATE_LIMIT_WINDOW_MS, type SdkBaseConfig, TRON_WS_CLOSE_CODES, type TokenSet, type TokenStore, TransportContext, TronError, TronNodeClient, TronOauthError, TronWsCloseCode, TronWsCloseError, VerifyWebhookFailure, VerifyWebhookInput, VerifyWebhookResult, VerifyWebhookSuccess, WEBHOOK_SIGNATURE_HEADER, WEBHOOK_TIMESTAMP_HEADER, acceptDeveloperInvite, addAdmin, addAppealBlacklist, addReaction, approveTronCashout, assertSecureIssuer, batchThreadDmKeys, bindReferral, buildAuthorizeUrl, cancelFriendRequest, cancelPot, charge, chargeTronDirect, chargeTronPot, commentOnBipUpdate, commentOnGameReview, completePaymentIntent, completePaymentIntentSolana, confirmPlaySession, consolidateDeveloperAppWallet, createAppTokenCache, createBipUpdate, createConsoleLogger, createDelegation, createDeveloperApiKey, createDeveloperApp, createDeveloperAppMintPermit, createDeveloperVaultPermit, createDeveloperWithdrawPermit, createDirectThread, createInMemoryTokenStore, createInflightDedup, createNoopLogger, createRateLimiter, createReferralCode, createTronCashout, createTronConnectOnboarding, createTronDeposit, createTronTransfer, createTronTransferChallenge, decideFriendRequest, declineDeveloperInvite, defaultEndpoints, deleteAppPageBanner, deleteAppPageThumbnail, deleteAppPageThumbnailVideo, deleteAvatar, deleteBipUpdate, deleteBipUpdateComment, deleteDelegation, deleteDeveloperApp, deleteDeveloperAppLogo, deleteDeveloperProfileLogo, deleteDeveloperRequestLogo, deleteGameReviewComment, deleteGameReviewReply, deleteMessage, deleteMyGameReview, deleteThread, deleteThreadLogo, denyPaymentIntent, distributePot, distributeTronPot, editMessage, endPlaySession, exchangeAuthorizationCode, executeNftTransfer, fetchAuthorizationServerMetadata, fetchUserInfo, fileAppeal, fileAppealPotLeg, followUser, forceWithdrawVaultCustody, generatePkce, generateState, getActivity, getActivityGroup, getAdminAppealRoom, getAppFeeConfig, getAppPage, getAppPageChanges, getAppealRoom, getBipDirectory, getBipInterestCount, getBipPage, getDelegation, getDeveloperAppActivity, getDeveloperAppBalances, getDeveloperAppEarnings, getDeveloperAppInventoryItemHolders, getDeveloperAppOverview, getDeveloperAppPage, getDeveloperAppPlaytime, getDeveloperAppTronBalance, getDeveloperAppWallets, getDeveloperPaymentAppeals, getDeveloperPaymentPendingDeposits, getDeveloperStatus, getDeveloperTronBalanceSummary, getDmKeyBackupStatus, getIntentStatus, getLibrary, getMoonpayAvailability, getMyBipEngagement, getMyBipUpdateReactions, getMyDmKey, getMyGameReview, getMyGameReviewReactions, getOutstanding, getPaymentChains, getPaymentHistory, getPaymentIntent, getPaymentLimits, getPaymentPrice, getPaymentRates, getPlatformFees, getPlaytime, getPlaytimeTimeseries, getPublicProfile, getReferral, getThreadDmKey, getTronBalance, getTronGameBalance, getTronSecurity, heartbeatPlaySession, hideAppPage, hideAppPageBip, hideThread, inventoryUpdateEventSchema, inviteDeveloperAppParticipant, inviteParticipants, leaveThread, listActivePlayers, listAdminContentReports, 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, mintClientCredentialsToken, mintMoonpayBuyUrl, mintMoonpaySellUrl, mountPresenceWidget, oauthPaymentWebhookBodySchema, parseJson, pinBipUpdate, pinThread, postAdminAppealRoomMessage, postAppealRoomMessage, preparePaymentIntentSolana, previewReferral, provisionDeveloperAppWallet, publishDmKey, quoteDeveloperAppInventoryRegistration, quoteNftTransfer, quoteRelayedVaultPermit, redeemInventoryMintPermit, refreshAccessToken, registerBipInterest, registerDeveloperAppInventoryItem, registerOauthClient, rejectTronCashout, removeAdmin, removeAppealBlacklist, removeFriend, removeParticipant, removeReaction, replyToGameReview, requestDeveloperAppProduction, requestMint, requestPayout, resolveAppeal, reviewAppPage, reviewAppPageBip, reviewAppPageChanges, reviewDeveloperRequest, revokeDeveloperApiKey, revokeDeveloperAppParticipant, revokePaymentAuthorization, revokeToken, rotateDeveloperAppKey, rotateDeveloperAppPaymentWebhookSecret, rotateProcessorTreasury, searchGiphy, searchUsers, send, sendFriendRequest, sendJson, sendMessage, sendPresenceHeartbeat, setAppPageBip, setBipUpdateReaction, setMyGameReviewReaction, setProcessorWhitelist, setTronSecurity, setVaultOperator, setVaultPause, setVaultWithdrawLockDefault, setVaultWithdrawLockOverride, setupDmKeyBackup, sha256Base64Url, signInventoryVaultPermit, signPaymentIntent, startOauthInventoryEventsSubscriber, startOauthPaymentEventsSubscriber, submitAppContentReport, submitAppPageBipForReview, submitAppPageForReview, submitDeveloperRequest, 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 };