@metatrongg/sdk 0.8.0-dev.f7c6bfe → 0.8.0-dev.f962bdb

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;
@@ -379,6 +390,119 @@ type AppPageAgeRating = "everyone" | "13_plus" | "16_plus" | "18_plus" | null;
379
390
  type AppPageLanguages = Array<"en" | "es" | "fr" | "de" | "pt" | "it" | "ru" | "ja" | "ko" | "zh" | "hi" | "ar" | "tr" | "vi" | "id" | "th" | "pl" | "nl">;
380
391
  type AppPageReleaseStatus = "live" | "open_beta" | "coming_soon";
381
392
  type AppPagePaymentsMode = "tron" | "onchain" | "both" | null;
393
+ type PublicBipPage = {
394
+ appId: string;
395
+ slug: AppPageSlug;
396
+ appName: string;
397
+ appLogoUrl: string | null;
398
+ categories: AppPageCategories;
399
+ tagline: AppPageTagline;
400
+ bannerUrl: string | null;
401
+ discordUrl: string | null;
402
+ twitterUrl: string | null;
403
+ redditUrl: string | null;
404
+ telegramUrl: string | null;
405
+ gallery: AppPageGallery;
406
+ chapters: AppPageChapters;
407
+ links: AppPageLinks;
408
+ studio: PublicAppPageStudio;
409
+ platforms: AppPagePlatforms;
410
+ gameType: AppPageGameType;
411
+ ageRating: AppPageAgeRating;
412
+ languages: AppPageLanguages;
413
+ releaseStatus: AppPageReleaseStatus;
414
+ publishedAt: string;
415
+ updatedAt: string;
416
+ };
417
+ type BipUpdateListResponse = {
418
+ updates: Array<BipUpdate>;
419
+ total: number;
420
+ hasMore: boolean;
421
+ };
422
+ type BipUpdate = {
423
+ id: string;
424
+ appId: string;
425
+ body: BipUpdateBody;
426
+ attachments: BipUpdateAttachments;
427
+ reactions: BipUpdateReactionCounts;
428
+ commentCount: number;
429
+ createdAt: string;
430
+ updatedAt: string;
431
+ };
432
+ type BipUpdateBody = string;
433
+ type BipUpdateAttachments = Array<BipUpdateAttachment>;
434
+ type BipUpdateAttachment = {
435
+ url: string;
436
+ kind: "image" | "video";
437
+ order: number;
438
+ };
439
+ type BipUpdateReactionCounts = {
440
+ up: number;
441
+ down: number;
442
+ };
443
+ type BipUpdateCommentListResponse = {
444
+ comments: Array<BipUpdateComment>;
445
+ total: number;
446
+ hasMore: boolean;
447
+ };
448
+ type BipUpdateComment = {
449
+ id: string;
450
+ body: BipUpdateCommentBody;
451
+ author: ReviewAuthor;
452
+ createdAt: string;
453
+ };
454
+ type BipUpdateCommentBody = string;
455
+ type ReviewAuthor = {
456
+ userId: string;
457
+ handle: string | null;
458
+ name: string | null;
459
+ avatarUrl: string | null;
460
+ };
461
+ type BipInterestCountResponse = {
462
+ interestCount: number;
463
+ };
464
+ type BipEngagementResponse = {
465
+ interested: boolean;
466
+ subscribed: boolean;
467
+ interestCount: number;
468
+ };
469
+ type MyBipUpdateReactionsResponse = {
470
+ reactions: Array<MyBipUpdateReaction>;
471
+ };
472
+ type MyBipUpdateReaction = {
473
+ updateId: string;
474
+ vote: "up" | "down";
475
+ };
476
+ type SetBipUpdateReactionResponse = {
477
+ reactions: BipUpdateReactionCounts;
478
+ vote: BipUpdateVote;
479
+ };
480
+ type BipUpdateVote = "up" | "down" | null;
481
+ type SetBipUpdateReactionRequest = {
482
+ vote: BipUpdateVote;
483
+ };
484
+ type CreateBipUpdateCommentResponse = {
485
+ comment: BipUpdateComment;
486
+ commentCount: number;
487
+ };
488
+ type DeleteBipUpdateCommentResponse = {
489
+ commentCount: number;
490
+ };
491
+ type CreateBipUpdateRequest = {
492
+ body: BipUpdateBody;
493
+ attachments?: BipUpdateAttachments;
494
+ };
495
+ type UpdateBipUpdateRequest = {
496
+ body?: BipUpdateBody;
497
+ attachments?: BipUpdateAttachments;
498
+ };
499
+ type DeleteBipUpdateResponse = {
500
+ deleted: true;
501
+ };
502
+ type BipUpdateMediaUploadResponse = {
503
+ url: string;
504
+ kind: "image" | "video";
505
+ };
382
506
  type ReviewListResponse = {
383
507
  aggregate: ReviewAggregate;
384
508
  reviews: Array<Review>;
@@ -386,40 +510,43 @@ type ReviewListResponse = {
386
510
  hasMore: boolean;
387
511
  };
388
512
  type ReviewAggregate = {
389
- average: number | null;
390
513
  count: number;
391
- distribution: ReviewDistribution;
392
- };
393
- type ReviewDistribution = {
394
- 1: number;
395
- 2: number;
396
- 3: number;
397
- 4: number;
398
- 5: number;
514
+ recommendedCount: number;
515
+ recommendedPct: number | null;
516
+ summaryLabel: ReviewSummaryLabel;
399
517
  };
518
+ type ReviewSummaryLabel = "overwhelmingly_positive" | "very_positive" | "positive" | "mostly_positive" | "mixed" | "mostly_negative" | "negative" | "overwhelmingly_negative" | null;
400
519
  type Review = {
401
520
  id: string;
402
- rating: ReviewRating;
521
+ recommended: ReviewRecommended;
403
522
  body: ReviewBody;
523
+ reactions: ReviewReactionCounts;
524
+ tippedCents: number;
525
+ commentCount: number;
404
526
  author: ReviewAuthor;
527
+ authorStats: ReviewerStats;
405
528
  developerReply: ReviewReply;
406
529
  createdAt: string;
407
530
  updatedAt: string;
408
531
  };
409
- type ReviewRating = number;
532
+ type ReviewRecommended = boolean;
410
533
  type ReviewBody = string;
411
- type ReviewAuthor = {
412
- userId: string;
413
- handle: string | null;
414
- name: string | null;
415
- avatarUrl: string | null;
534
+ type ReviewReactionCounts = {
535
+ helpful: number;
536
+ unhelpful: number;
537
+ funny: number;
538
+ };
539
+ type ReviewerStats = {
540
+ playtimeSecondsThisGame: number;
541
+ gamesPlayed: number;
542
+ reviewsWritten: number;
416
543
  };
417
544
  type ReviewReply = {
418
545
  body: ReviewReplyBody;
419
546
  repliedAt: string;
420
547
  } | null;
421
548
  type ReviewReplyBody = string;
422
- type ReviewSort = "newest" | "oldest" | "highest" | "lowest";
549
+ type ReviewSort = "newest" | "oldest" | "helpful";
423
550
  type MyReviewResponse = {
424
551
  eligible: boolean;
425
552
  eligibleVia: ReviewEligibilityReason;
@@ -429,15 +556,67 @@ type MyReviewResponse = {
429
556
  type ReviewEligibilityReason = "payment" | "reward" | null;
430
557
  type OwnReview = {
431
558
  id: string;
432
- rating: ReviewRating;
559
+ recommended: ReviewRecommended;
433
560
  body: ReviewBody;
434
561
  createdAt: string;
435
562
  updatedAt: string;
436
563
  } | null;
437
564
  type UpsertReviewRequest = {
438
- rating: ReviewRating;
565
+ recommended: ReviewRecommended;
439
566
  body: ReviewBody;
440
567
  };
568
+ type MyReviewReactionsResponse = {
569
+ reactions: Array<MyReviewReaction>;
570
+ };
571
+ type MyReviewReaction = {
572
+ reviewId: string;
573
+ vote: ReviewVote;
574
+ funny: boolean;
575
+ };
576
+ type ReviewVote = "helpful" | "unhelpful" | null;
577
+ type SetReviewReactionResponse = {
578
+ reactions: ReviewReactionCounts;
579
+ vote: ReviewVote;
580
+ funny: boolean;
581
+ };
582
+ type SetReviewReactionRequest = {
583
+ vote: ReviewVote;
584
+ funny: boolean;
585
+ };
586
+ type TipReviewResponse = {
587
+ status: "completed";
588
+ amountCents: number;
589
+ balanceCents: number;
590
+ tippedCents: number;
591
+ };
592
+ type TipReviewRequest = {
593
+ amountCents: number;
594
+ note?: string;
595
+ challengeId?: string;
596
+ signature?: string;
597
+ };
598
+ type ReviewCommentListResponse = {
599
+ comments: Array<ReviewComment>;
600
+ total: number;
601
+ hasMore: boolean;
602
+ };
603
+ type ReviewComment = {
604
+ id: string;
605
+ body: ReviewCommentBody;
606
+ author: ReviewAuthor;
607
+ createdAt: string;
608
+ };
609
+ type ReviewCommentBody = string;
610
+ type CreateReviewCommentResponse = {
611
+ comment: ReviewComment;
612
+ commentCount: number;
613
+ };
614
+ type CreateReviewCommentRequest = {
615
+ body: ReviewCommentBody;
616
+ };
617
+ type DeleteReviewCommentResponse = {
618
+ commentCount: number;
619
+ };
441
620
  type ReviewReplyResponse = {
442
621
  developerReply: ReviewReply;
443
622
  };
@@ -545,7 +724,9 @@ type ActivityRow = ({
545
724
  kind: "tron_transfer";
546
725
  } & ActivityRowTronTransfer) | ({
547
726
  kind: "referral_earning";
548
- } & ActivityRowReferralEarning);
727
+ } & ActivityRowReferralEarning) | ({
728
+ kind: "nft_charge";
729
+ } & ActivityRowNftCharge);
549
730
  type ActivityRowPayment = {
550
731
  kind: "payment";
551
732
  groupId: string | null;
@@ -857,6 +1038,22 @@ type ActivityRowReferralEarning = {
857
1038
  logIndex: number;
858
1039
  usdCents: number | null;
859
1040
  };
1041
+ type ActivityRowNftCharge = {
1042
+ kind: "nft_charge";
1043
+ groupId: string | null;
1044
+ id: string;
1045
+ occurredAt: string;
1046
+ role: "outgoing";
1047
+ chargeKind: "registration" | "mint" | "transfer_gas";
1048
+ amountCents: number;
1049
+ usdCents: number;
1050
+ status: "settled";
1051
+ collectionAddress: string | null;
1052
+ tokenId: string | null;
1053
+ counterpartyUserId: string | null;
1054
+ counterpartyHandle: string | null;
1055
+ counterpartyDisplayName: string | null;
1056
+ };
860
1057
  type OutstandingResponse = {
861
1058
  rows: Array<OutstandingByToken>;
862
1059
  };
@@ -906,7 +1103,7 @@ type TronLedgerResponse = {
906
1103
  };
907
1104
  type TronLedgerEntry = {
908
1105
  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" | "peer_transfer";
1106
+ 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
1107
  amountCents: number;
911
1108
  currency: string;
912
1109
  createdAt: string;
@@ -935,6 +1132,30 @@ type TronTransferRequest = {
935
1132
  recipientUserId: string;
936
1133
  amountCents: number;
937
1134
  note?: string;
1135
+ challengeId?: string;
1136
+ signature?: string;
1137
+ threadId?: string;
1138
+ };
1139
+ type TronSecuritySetting = {
1140
+ requireSignature: boolean;
1141
+ };
1142
+ type TronTransferChallengeResponse = ({
1143
+ required: false;
1144
+ } & TronTransferChallengeNotRequired) | ({
1145
+ required: true;
1146
+ } & TronTransferChallengeRequired);
1147
+ type TronTransferChallengeNotRequired = {
1148
+ required: false;
1149
+ };
1150
+ type TronTransferChallengeRequired = {
1151
+ required: true;
1152
+ challengeId: string;
1153
+ message: string;
1154
+ expiresAt: string;
1155
+ };
1156
+ type TronTransferChallengeRequest = {
1157
+ recipientUserId: string;
1158
+ amountCents: number;
938
1159
  };
939
1160
  type TronConnectOnboardingResponse = {
940
1161
  url: string;
@@ -992,12 +1213,15 @@ type WalletListResponse = {
992
1213
  wallets: Array<WalletItem>;
993
1214
  };
994
1215
  type WalletChainList = Array<{
995
- id: "ethereum-mainnet" | "base-mainnet" | "ethereum-sepolia";
1216
+ id: "ethereum-mainnet" | "base-mainnet" | "ethereum-sepolia" | "base-sepolia" | "solana-mainnet" | "solana-devnet";
996
1217
  displayName: string;
997
- chainId: number;
1218
+ family: "evm" | "solana";
1219
+ nativeSymbol: string;
1220
+ chainId?: number;
998
1221
  }>;
999
1222
  type WalletItem = {
1000
- address: string;
1223
+ address: string | string;
1224
+ family: "evm" | "solana";
1001
1225
  label: WalletLabel;
1002
1226
  kind: "personal" | "app";
1003
1227
  app: WalletAppLink;
@@ -1014,6 +1238,9 @@ type WalletBalances = {
1014
1238
  "ethereum-mainnet"?: WalletChainBalance;
1015
1239
  "base-mainnet"?: WalletChainBalance;
1016
1240
  "ethereum-sepolia"?: WalletChainBalance;
1241
+ "base-sepolia"?: WalletChainBalance;
1242
+ "solana-mainnet"?: WalletChainBalance;
1243
+ "solana-devnet"?: WalletChainBalance;
1017
1244
  };
1018
1245
  type WalletChainBalance = {
1019
1246
  native: string;
@@ -1023,12 +1250,14 @@ type WalletDelegationStatus = {
1023
1250
  mode: WalletDelegationMode;
1024
1251
  caps: WalletDelegationCaps;
1025
1252
  policyId: string | null;
1253
+ slippageBps: DelegationSlippageBps;
1026
1254
  };
1027
1255
  type WalletDelegationMode = "infinite" | "custom" | "scoped" | null;
1028
1256
  type WalletDelegationCaps = {
1029
1257
  native: string;
1030
1258
  usdc: string;
1031
1259
  } | null;
1260
+ type DelegationSlippageBps = number | null;
1032
1261
  type WalletLabelUpdateResponse = {
1033
1262
  address: string;
1034
1263
  label: WalletLabel;
@@ -1102,6 +1331,7 @@ type ThreadLastMessagePreview = {
1102
1331
  url: string;
1103
1332
  count: number;
1104
1333
  } | null;
1334
+ transaction?: MessageTransactionTronTransfer | MessageTransactionNftTransfer | null;
1105
1335
  sentAt: string;
1106
1336
  } | null;
1107
1337
  type MessageEnvelope = {
@@ -1113,6 +1343,20 @@ type MessageEnvelope = {
1113
1343
  iv: string;
1114
1344
  ct: string;
1115
1345
  } | null;
1346
+ type MessageTransactionTronTransfer = {
1347
+ kind: "tron_transfer";
1348
+ amountCents: number;
1349
+ recipientUserId: string;
1350
+ };
1351
+ type MessageTransactionNftTransfer = {
1352
+ kind: "nft_transfer";
1353
+ recipientUserId: string;
1354
+ collectionAddress: string;
1355
+ tokenId: string;
1356
+ amount: string;
1357
+ itemName: string | null;
1358
+ imageAssetId?: string | null;
1359
+ };
1116
1360
  type GroupThreadSummary = {
1117
1361
  kind: "group";
1118
1362
  id: string;
@@ -1159,6 +1403,7 @@ type MessageItem = {
1159
1403
  id: string;
1160
1404
  threadId: string;
1161
1405
  senderUserId: string;
1406
+ transaction?: MessageTransactionTronTransfer | MessageTransactionNftTransfer | null;
1162
1407
  body: string;
1163
1408
  envelope?: MessageEnvelope;
1164
1409
  sentAt: string;
@@ -1370,11 +1615,45 @@ type InventoryHolding = {
1370
1615
  tokenId: string;
1371
1616
  amount: string;
1372
1617
  name: string | null;
1618
+ description: string | null;
1373
1619
  imageAssetId: string | null;
1374
1620
  bannerAssetId: string | null;
1375
1621
  devMetadata: {
1376
1622
  [key: string]: unknown;
1377
1623
  };
1624
+ appId: string | null;
1625
+ appName: string | null;
1626
+ appLogoUrl: string | null;
1627
+ };
1628
+ type InventoryPendingPermitListResponse = {
1629
+ permits: Array<InventoryPendingPermit>;
1630
+ };
1631
+ type InventoryPendingPermit = {
1632
+ id: string;
1633
+ appId: string;
1634
+ itemId: string;
1635
+ amount: string;
1636
+ priceCents: number | null;
1637
+ gasSponsored: boolean;
1638
+ environment: "development" | "production";
1639
+ createdAt: string;
1640
+ tokenId: string;
1641
+ name: string | null;
1642
+ description: string | null;
1643
+ imageAssetId: string | null;
1644
+ chain: string;
1645
+ collectionAddress: string;
1646
+ kind: "erc721" | "erc1155";
1647
+ };
1648
+ type InventoryPermitRedeemResult = {
1649
+ mint: MintRequestResult;
1650
+ charge: {
1651
+ currency: "tron";
1652
+ gasCents: number;
1653
+ priceCents: number;
1654
+ totalCents: number;
1655
+ gasPaidBy: "user" | "developer";
1656
+ };
1378
1657
  };
1379
1658
  type MintRequestResult = {
1380
1659
  mintRequestId: string;
@@ -1390,6 +1669,247 @@ type MintRequestInput = {
1390
1669
  tokenId?: string;
1391
1670
  amount?: string;
1392
1671
  };
1672
+ type InventoryCollectionListResponse = {
1673
+ collections: Array<InventoryCollectionSummary>;
1674
+ };
1675
+ type InventoryCollectionSummary = {
1676
+ id: string;
1677
+ chain: string;
1678
+ collectionAddress: string;
1679
+ kind: "erc721" | "erc1155";
1680
+ name: string | null;
1681
+ environment: "development" | "production";
1682
+ };
1683
+ type InventoryRegistrationQuote = {
1684
+ itemCount: number;
1685
+ baselineUsdCents: number;
1686
+ gasUsdCents: number;
1687
+ tron: {
1688
+ baselineCents: number;
1689
+ gasCents: number;
1690
+ totalCents: number;
1691
+ };
1692
+ eth: {
1693
+ baselineWei: string;
1694
+ gasWei: string;
1695
+ totalWei: string;
1696
+ };
1697
+ };
1698
+ type InventoryItemRegistrationInput = {
1699
+ collectionAddress: string;
1700
+ chain: string;
1701
+ items: Array<InventoryItemRegistrationSpec>;
1702
+ };
1703
+ type InventoryItemRegistrationSpec = {
1704
+ name?: string | null;
1705
+ description?: string | null;
1706
+ devMetadata?: {
1707
+ [key: string]: unknown;
1708
+ };
1709
+ supplyType?: InventorySupplyType;
1710
+ maxSupply?: string | null;
1711
+ active?: boolean;
1712
+ };
1713
+ type InventorySupplyType = "capped" | "flexible" | "unlimited";
1714
+ type InventoryItemRegistrationResult = {
1715
+ items: Array<InventoryItemRecord>;
1716
+ charge: {
1717
+ currency: "tron";
1718
+ amountCents: number;
1719
+ baselineCents: number;
1720
+ gasCents: number;
1721
+ addItemTxHash: string;
1722
+ };
1723
+ };
1724
+ type InventoryItemRecord = {
1725
+ id: string;
1726
+ collectionId: string;
1727
+ collectionAddress: string;
1728
+ chain: string;
1729
+ kind: "erc721" | "erc1155";
1730
+ tokenId: string;
1731
+ name: string | null;
1732
+ description: string | null;
1733
+ imageAssetId: string | null;
1734
+ bannerAssetId: string | null;
1735
+ devMetadata: {
1736
+ [key: string]: unknown;
1737
+ };
1738
+ supplyType: InventorySupplyType | null;
1739
+ maxSupply: string | null;
1740
+ active: boolean;
1741
+ };
1742
+ type InventoryItemListResponse = {
1743
+ items: Array<InventoryItemRecord>;
1744
+ };
1745
+ type InventoryMintPermitRecord = {
1746
+ id: string;
1747
+ appId: string;
1748
+ itemId: string;
1749
+ userId: string;
1750
+ amount: string;
1751
+ priceCents: number | null;
1752
+ gasSponsored: boolean;
1753
+ status: "pending" | "redeemed" | "revoked";
1754
+ createdAt: string;
1755
+ };
1756
+ type InventoryMintPermitCreateInput = {
1757
+ toUserId: string;
1758
+ amount?: string;
1759
+ priceCents?: number | null;
1760
+ gasSponsored?: boolean;
1761
+ };
1762
+ type InventoryItemHoldersResponse = {
1763
+ stats: InventoryItemStats;
1764
+ holders: Array<InventoryItemHolder>;
1765
+ };
1766
+ type InventoryItemStats = {
1767
+ holderCount: number;
1768
+ walletCount: number;
1769
+ totalHeld: string;
1770
+ };
1771
+ type InventoryItemHolder = {
1772
+ walletAddress: string;
1773
+ userId: string | null;
1774
+ amount: string;
1775
+ };
1776
+ type InventoryVaultPermitRecord = {
1777
+ id: string;
1778
+ appId: string;
1779
+ itemId: string;
1780
+ userId: string;
1781
+ direction: "vault_in" | "withdraw";
1782
+ lockKind: "vault" | "burn" | null;
1783
+ amount: string;
1784
+ gasSponsored: boolean;
1785
+ status: "pending" | "redeemed" | "revoked";
1786
+ custodyId: string | null;
1787
+ createdAt: string;
1788
+ };
1789
+ type InventoryVaultPermitCreateInput = {
1790
+ toUserId: string;
1791
+ lockKind: "vault" | "burn";
1792
+ amount?: string;
1793
+ gasSponsored?: boolean;
1794
+ };
1795
+ type InventoryWithdrawPermitCreateInput = {
1796
+ custodyId: string;
1797
+ };
1798
+ type InventoryPendingVaultPermitListResponse = {
1799
+ permits: Array<InventoryPendingVaultPermit>;
1800
+ };
1801
+ type InventoryPendingVaultPermit = {
1802
+ id: string;
1803
+ appId: string;
1804
+ itemId: string;
1805
+ direction: "vault_in" | "withdraw";
1806
+ lockKind: "vault" | "burn" | null;
1807
+ amount: string;
1808
+ gasSponsored: boolean;
1809
+ environment: "development" | "production";
1810
+ custodyId: string | null;
1811
+ createdAt: string;
1812
+ tokenId: string;
1813
+ name: string | null;
1814
+ description: string | null;
1815
+ imageAssetId: string | null;
1816
+ chain: string;
1817
+ collectionAddress: string;
1818
+ kind: "erc721" | "erc1155";
1819
+ };
1820
+ type InventorySignedVaultPermit = {
1821
+ permitId: string;
1822
+ direction: "vault_in" | "withdraw";
1823
+ vault: string;
1824
+ collection: string;
1825
+ user: string;
1826
+ tokenId: string;
1827
+ amount: string;
1828
+ lockKind: "vault" | "burn" | null;
1829
+ destination: string | null;
1830
+ deadline: number;
1831
+ signature: string;
1832
+ };
1833
+ type InventoryRelayedVaultQuoteResponse = {
1834
+ direction: "vault_in" | "withdraw";
1835
+ collection: string;
1836
+ vault: string;
1837
+ chainId: number;
1838
+ user: string;
1839
+ tokenId: string;
1840
+ amount: string;
1841
+ nonce: string | null;
1842
+ deadline: number;
1843
+ feeCents: number;
1844
+ gasWei: string;
1845
+ gasPaidBy: "developer" | "user";
1846
+ requiresUserSignature: boolean;
1847
+ };
1848
+ type InventoryRelayedVaultSubmitResponse = {
1849
+ ok: boolean;
1850
+ txHash: string;
1851
+ chargedCents: number;
1852
+ gasPaidBy: "developer" | "user";
1853
+ };
1854
+ type InventoryRelayedVaultSubmitRequest = {
1855
+ userSignature?: string;
1856
+ deadline?: number;
1857
+ };
1858
+ type InventoryNftTransferQuoteResponse = {
1859
+ collection: string;
1860
+ chainId: number;
1861
+ from: string;
1862
+ to: string;
1863
+ tokenId: string;
1864
+ amount: string;
1865
+ nonce: string;
1866
+ deadline: number;
1867
+ feeCents: number;
1868
+ gasWei: string;
1869
+ selfPayAvailable: boolean;
1870
+ };
1871
+ type InventoryNftTransferQuoteRequest = {
1872
+ toUserId: string;
1873
+ collection: string;
1874
+ tokenId: string;
1875
+ amount?: string;
1876
+ };
1877
+ type InventoryNftTransferResponse = {
1878
+ ok: boolean;
1879
+ txHash: string;
1880
+ chargedCents: number;
1881
+ };
1882
+ type InventoryNftTransferRequest = {
1883
+ toUserId: string;
1884
+ collection: string;
1885
+ tokenId: string;
1886
+ amount?: string;
1887
+ deadline: number;
1888
+ userSignature: string;
1889
+ threadId?: string;
1890
+ };
1891
+ type InventoryVaultCustodyListResponse = {
1892
+ custody: Array<InventoryVaultCustody>;
1893
+ };
1894
+ type InventoryVaultCustody = {
1895
+ id: string;
1896
+ collectionId: string;
1897
+ collectionAddress: string;
1898
+ chain: string;
1899
+ kind: "erc721" | "erc1155";
1900
+ tokenId: string;
1901
+ amount: string;
1902
+ lockKind: "vault" | "burn";
1903
+ vaultAddress: string;
1904
+ createdAt: string;
1905
+ name: string | null;
1906
+ description: string | null;
1907
+ imageAssetId: string | null;
1908
+ };
1909
+ type InventoryVaultForceWithdrawResponse = {
1910
+ ok: boolean;
1911
+ txHash: string;
1912
+ };
1393
1913
  type NotificationListResponse = {
1394
1914
  notifications: Array<NotificationItem>;
1395
1915
  unreadCount: number;
@@ -1418,6 +1938,18 @@ type NotificationItem = {
1418
1938
  payload: AppPageRejectedNotificationPayload;
1419
1939
  read: boolean;
1420
1940
  createdAt: string;
1941
+ } | {
1942
+ id: string;
1943
+ kind: "bip_update_published";
1944
+ payload: BipUpdatePublishedNotificationPayload;
1945
+ read: boolean;
1946
+ createdAt: string;
1947
+ } | {
1948
+ id: string;
1949
+ kind: "bip_now_playable";
1950
+ payload: BipNowPlayableNotificationPayload;
1951
+ read: boolean;
1952
+ createdAt: string;
1421
1953
  } | {
1422
1954
  id: string;
1423
1955
  kind: "app_participant_invite";
@@ -1448,14 +1980,25 @@ type FriendAcceptedNotificationPayload = {
1448
1980
  type AppPageApprovedNotificationPayload = {
1449
1981
  appId: string;
1450
1982
  appName: string;
1451
- scope: "publish" | "changes";
1983
+ scope: "publish" | "changes" | "bip_publish";
1452
1984
  };
1453
1985
  type AppPageRejectedNotificationPayload = {
1454
1986
  appId: string;
1455
1987
  appName: string;
1456
- scope: "publish" | "changes";
1988
+ scope: "publish" | "changes" | "bip_publish";
1457
1989
  notes: string;
1458
1990
  };
1991
+ type BipUpdatePublishedNotificationPayload = {
1992
+ appId: string;
1993
+ appName: string;
1994
+ appSlug: string | null;
1995
+ updateId: string;
1996
+ };
1997
+ type BipNowPlayableNotificationPayload = {
1998
+ appId: string;
1999
+ appName: string;
2000
+ appSlug: string | null;
2001
+ };
1459
2002
  type AppParticipantInviteNotificationPayload = {
1460
2003
  appId: string;
1461
2004
  appName: string;
@@ -1485,6 +2028,9 @@ type FriendListItem = {
1485
2028
  onlineStatus: OnlineStatus;
1486
2029
  };
1487
2030
  type OnlineStatus = "online" | "offline";
2031
+ type AppFriendListResponse = {
2032
+ friends: Array<ThreadParticipant>;
2033
+ };
1488
2034
  type FriendRequestDecision = {
1489
2035
  decision: "accept" | "reject";
1490
2036
  };
@@ -1557,7 +2103,7 @@ type ProfileRecentReview = {
1557
2103
  appId: string;
1558
2104
  appName: string;
1559
2105
  appLogoUrl: string | null;
1560
- rating: number;
2106
+ recommended: boolean;
1561
2107
  body: string;
1562
2108
  createdAt: string;
1563
2109
  };
@@ -1614,17 +2160,20 @@ type CreateDeveloperAppChain = {
1614
2160
  };
1615
2161
  type UpdateDeveloperApp = {
1616
2162
  name?: DeveloperAppName;
2163
+ slug?: AppPageSlug | null;
1617
2164
  logoUrl?: string | null;
1618
2165
  testAccess?: "private" | "public";
1619
2166
  redirectUris?: Array<string>;
1620
2167
  embedOrigins?: Array<EmbedOrigin>;
1621
2168
  acceptedCurrencies?: AcceptedCurrencies;
2169
+ acceptedNetworks?: AcceptedNetworks;
1622
2170
  paymentStatusWebhookUrl?: string | null;
1623
2171
  paymentStatusWebhookUrlTest?: string | null;
1624
2172
  };
1625
2173
  type EmbedOrigin = string;
1626
2174
  type AcceptedCurrencies = Array<PlatformCurrency>;
1627
2175
  type PlatformCurrency = "eth" | "tron";
2176
+ type AcceptedNetworks = Array<PaymentNetwork> | null;
1628
2177
  type DeveloperLogoUploadResponse = {
1629
2178
  logoUrl: string | null;
1630
2179
  };
@@ -1862,6 +2411,7 @@ type DeveloperProductionRequestPayload = {
1862
2411
  type DeveloperAppItem = {
1863
2412
  id: string;
1864
2413
  name: DeveloperAppName;
2414
+ slug: AppPageSlug | null;
1865
2415
  logoUrl: string | null;
1866
2416
  environment: "development" | "production";
1867
2417
  productionApprovedAt: string | null;
@@ -1870,6 +2420,7 @@ type DeveloperAppItem = {
1870
2420
  redirectUris: Array<string>;
1871
2421
  embedOrigins: Array<EmbedOrigin>;
1872
2422
  acceptedCurrencies: AcceptedCurrencies;
2423
+ acceptedNetworks: AcceptedNetworks;
1873
2424
  payoutAddresses: Array<DeveloperAppPayoutAddressItem>;
1874
2425
  keys: Array<DeveloperAppKeyItem>;
1875
2426
  pendingProductionRequestId: string | null;
@@ -1924,9 +2475,18 @@ type AppPageDraft = {
1924
2475
  hiddenAt: string | null;
1925
2476
  hiddenReasonPublic: string | null;
1926
2477
  pendingReview: boolean;
2478
+ bip: AppPageBipState;
2479
+ };
2480
+ type AppPageBipState = {
2481
+ enabled: boolean;
2482
+ status: "draft" | "pending_review" | "published" | "hidden";
2483
+ firstPublishedAt: string | null;
2484
+ reviewedAt: string | null;
2485
+ reviewNotes: string | null;
2486
+ hiddenAt: string | null;
2487
+ hiddenReasonPublic: string | null;
1927
2488
  };
1928
2489
  type UpdateAppPage = {
1929
- slug?: AppPageSlug | null;
1930
2490
  categories?: AppPageCategories;
1931
2491
  tagline?: AppPageTagline | null;
1932
2492
  bannerUrl?: string | null;
@@ -1949,6 +2509,9 @@ type UpdateAppPage = {
1949
2509
  type AppPageGalleryUploadResponse = {
1950
2510
  url: string;
1951
2511
  };
2512
+ type AppPageBipToggle = {
2513
+ enabled: boolean;
2514
+ };
1952
2515
  type AdminActivePlayersResponse = {
1953
2516
  players: Array<AdminActivePlayer>;
1954
2517
  total: number;
@@ -2087,6 +2650,11 @@ type AdminAppPageItem = {
2087
2650
  hiddenAt: string | null;
2088
2651
  hiddenReasonInternal: string | null;
2089
2652
  pendingChangesSubmittedAt: string | null;
2653
+ bipEnabled: boolean;
2654
+ bipStatus: "draft" | "pending_review" | "published" | "hidden";
2655
+ bipFirstPublishedAt: string | null;
2656
+ bipHiddenAt: string | null;
2657
+ openReportCount: number;
2090
2658
  };
2091
2659
  type AdminAppPageStatusResponse = {
2092
2660
  status: "draft" | "pending_review" | "published" | "hidden";
@@ -2112,6 +2680,25 @@ type AdminAppPageDiffField = {
2112
2680
  from: string;
2113
2681
  to: string;
2114
2682
  };
2683
+ type AdminAppPageBipStatusResponse = {
2684
+ bipStatus: "draft" | "pending_review" | "published" | "hidden";
2685
+ };
2686
+ type AdminAppContentReportListResponse = {
2687
+ reports: Array<AdminAppContentReportItem>;
2688
+ total: number;
2689
+ hasMore: boolean;
2690
+ };
2691
+ type AdminAppContentReportItem = {
2692
+ id: string;
2693
+ category: AppContentReportCategory;
2694
+ details: string | null;
2695
+ status: AppContentReportStatus;
2696
+ acknowledgedAt: string | null;
2697
+ createdAt: string;
2698
+ appId: string;
2699
+ appName: string;
2700
+ appSlug: string | null;
2701
+ };
2115
2702
  type PlatformFeesResponse = {
2116
2703
  purchaseFeeBps: number;
2117
2704
  stakeFeeBps: number;
@@ -2401,7 +2988,7 @@ declare function listActivePlayers(context: TransportContext, input: {
2401
2988
  //#region src/admin/app-pages.d.ts
2402
2989
  declare function listAppPages(context: TransportContext, input: {
2403
2990
  readonly bearer: string;
2404
- readonly status?: "draft" | "pending_review" | "published" | "hidden" | "all" | "pending_changes";
2991
+ readonly status?: "draft" | "pending_review" | "published" | "hidden" | "all" | "pending_changes" | "bip_pending_review";
2405
2992
  }): Promise<AdminAppPageListResponse>;
2406
2993
  declare function getAppPageChanges(context: TransportContext, input: {
2407
2994
  readonly bearer: string;
@@ -2426,6 +3013,20 @@ declare function reviewAppPage(context: TransportContext, input: {
2426
3013
  readonly appId: string;
2427
3014
  readonly body: ReviewAppPage;
2428
3015
  }): Promise<AdminAppPageStatusResponse>;
3016
+ declare function reviewAppPageBip(context: TransportContext, input: {
3017
+ readonly bearer: string;
3018
+ readonly appId: string;
3019
+ readonly body: ReviewAppPage;
3020
+ }): Promise<AdminAppPageBipStatusResponse>;
3021
+ declare function hideAppPageBip(context: TransportContext, input: {
3022
+ readonly bearer: string;
3023
+ readonly appId: string;
3024
+ readonly body: HideAppPage;
3025
+ }): Promise<AdminAppPageBipStatusResponse>;
3026
+ declare function unhideAppPageBip(context: TransportContext, input: {
3027
+ readonly bearer: string;
3028
+ readonly appId: string;
3029
+ }): Promise<AdminAppPageBipStatusResponse>;
2429
3030
  //#endregion
2430
3031
  //#region src/admin/appeals.d.ts
2431
3032
  declare function listAppealQueue(context: TransportContext, input: {
@@ -2457,6 +3058,19 @@ declare function resolveAppeal(context: TransportContext, input: {
2457
3058
  readonly body: AppealResolveRequest;
2458
3059
  }): Promise<AppealResolveSignedResponse>;
2459
3060
  //#endregion
3061
+ //#region src/admin/content-reports.d.ts
3062
+ declare function listAdminContentReports(context: TransportContext, input: {
3063
+ readonly bearer: string;
3064
+ readonly status?: "open" | "acknowledged" | "dismissed" | "all";
3065
+ readonly limit?: number;
3066
+ readonly offset?: number;
3067
+ }): Promise<AdminAppContentReportListResponse>;
3068
+ declare function triageAdminContentReport(context: TransportContext, input: {
3069
+ readonly bearer: string;
3070
+ readonly reportId: string;
3071
+ readonly status: "acknowledged" | "dismissed";
3072
+ }): Promise<AppContentReport>;
3073
+ //#endregion
2460
3074
  //#region src/admin/developers.d.ts
2461
3075
  declare function listDeveloperRequests(context: TransportContext, input: {
2462
3076
  readonly bearer: string;
@@ -2472,6 +3086,12 @@ declare function listDevelopers(context: TransportContext, input: {
2472
3086
  readonly bearer: string;
2473
3087
  }): Promise<AdminDeveloperListResponse>;
2474
3088
  //#endregion
3089
+ //#region src/admin/inventory-vault.d.ts
3090
+ declare function forceWithdrawVaultCustody(context: TransportContext, input: {
3091
+ readonly bearer: string;
3092
+ readonly custodyId: string;
3093
+ }): Promise<InventoryVaultForceWithdrawResponse>;
3094
+ //#endregion
2475
3095
  //#region src/admin/payments.d.ts
2476
3096
  declare function getPlatformFees(context: TransportContext, input: {
2477
3097
  readonly bearer: string;
@@ -2590,6 +3210,102 @@ declare function getAppPage(context: TransportContext, input: {
2590
3210
  readonly slug: string;
2591
3211
  }): Promise<PublicAppPage>;
2592
3212
  //#endregion
3213
+ //#region src/catalog/bip-updates.d.ts
3214
+ declare function listBipUpdates(context: TransportContext, input: {
3215
+ readonly bearer?: string;
3216
+ readonly slug: string;
3217
+ readonly limit?: number;
3218
+ readonly offset?: number;
3219
+ }): Promise<BipUpdateListResponse>;
3220
+ declare function listBipUpdateComments(context: TransportContext, input: {
3221
+ readonly bearer?: string;
3222
+ readonly slug: string;
3223
+ readonly updateId: string;
3224
+ readonly limit?: number;
3225
+ readonly offset?: number;
3226
+ }): Promise<BipUpdateCommentListResponse>;
3227
+ declare function getMyBipUpdateReactions(context: TransportContext, input: {
3228
+ readonly bearer: string;
3229
+ readonly slug: string;
3230
+ }): Promise<MyBipUpdateReactionsResponse>;
3231
+ declare function setBipUpdateReaction(context: TransportContext, input: {
3232
+ readonly bearer: string;
3233
+ readonly slug: string;
3234
+ readonly updateId: string;
3235
+ readonly body: SetBipUpdateReactionRequest;
3236
+ }): Promise<SetBipUpdateReactionResponse>;
3237
+ declare function commentOnBipUpdate(context: TransportContext, input: {
3238
+ readonly bearer: string;
3239
+ readonly slug: string;
3240
+ readonly updateId: string;
3241
+ readonly body: string;
3242
+ }): Promise<CreateBipUpdateCommentResponse>;
3243
+ declare function deleteBipUpdateComment(context: TransportContext, input: {
3244
+ readonly bearer: string;
3245
+ readonly slug: string;
3246
+ readonly commentId: string;
3247
+ }): Promise<DeleteBipUpdateCommentResponse>;
3248
+ declare function listDeveloperBipUpdates(context: TransportContext, input: {
3249
+ readonly bearer: string;
3250
+ readonly appId: string;
3251
+ readonly limit?: number;
3252
+ readonly offset?: number;
3253
+ }): Promise<BipUpdateListResponse>;
3254
+ declare function createBipUpdate(context: TransportContext, input: {
3255
+ readonly bearer: string;
3256
+ readonly appId: string;
3257
+ readonly body: CreateBipUpdateRequest;
3258
+ }): Promise<BipUpdate>;
3259
+ declare function updateBipUpdate(context: TransportContext, input: {
3260
+ readonly bearer: string;
3261
+ readonly appId: string;
3262
+ readonly updateId: string;
3263
+ readonly body: UpdateBipUpdateRequest;
3264
+ }): Promise<BipUpdate>;
3265
+ declare function deleteBipUpdate(context: TransportContext, input: {
3266
+ readonly bearer: string;
3267
+ readonly appId: string;
3268
+ readonly updateId: string;
3269
+ }): Promise<DeleteBipUpdateResponse>;
3270
+ declare function uploadBipUpdateMedia(context: TransportContext, input: {
3271
+ readonly bearer: string;
3272
+ readonly appId: string;
3273
+ readonly file: Blob;
3274
+ readonly filename: string;
3275
+ readonly contentType: string;
3276
+ }): Promise<BipUpdateMediaUploadResponse>;
3277
+ declare function getBipInterestCount(context: TransportContext, input: {
3278
+ readonly bearer?: string;
3279
+ readonly slug: string;
3280
+ }): Promise<BipInterestCountResponse>;
3281
+ declare function getMyBipEngagement(context: TransportContext, input: {
3282
+ readonly bearer: string;
3283
+ readonly slug: string;
3284
+ }): Promise<BipEngagementResponse>;
3285
+ declare function registerBipInterest(context: TransportContext, input: {
3286
+ readonly bearer: string;
3287
+ readonly slug: string;
3288
+ readonly interested: boolean;
3289
+ }): Promise<BipEngagementResponse>;
3290
+ declare function subscribeBipUpdates(context: TransportContext, input: {
3291
+ readonly bearer: string;
3292
+ readonly slug: string;
3293
+ readonly subscribed: boolean;
3294
+ }): Promise<BipEngagementResponse>;
3295
+ //#endregion
3296
+ //#region src/catalog/build-in-public.d.ts
3297
+ declare function getBipDirectory(context: TransportContext, input: {
3298
+ readonly bearer?: string;
3299
+ readonly genre?: string;
3300
+ readonly q?: string;
3301
+ readonly before?: string;
3302
+ readonly limit?: number;
3303
+ }): Promise<LibraryListResponse>;
3304
+ declare function getBipPage(context: TransportContext, input: {
3305
+ readonly bearer?: string;
3306
+ readonly slug: string;
3307
+ }): Promise<PublicBipPage>;
3308
+ //#endregion
2593
3309
  //#region src/catalog/content-reports.d.ts
2594
3310
  declare function submitAppContentReport(context: TransportContext, input: {
2595
3311
  readonly appId: string;
@@ -2634,6 +3350,41 @@ declare function deleteMyGameReview(context: TransportContext, input: {
2634
3350
  readonly slug: string;
2635
3351
  readonly bearer: string;
2636
3352
  }): Promise<MyReviewResponse>;
3353
+ declare function getMyGameReviewReactions(context: TransportContext, input: {
3354
+ readonly slug: string;
3355
+ readonly bearer: string;
3356
+ }): Promise<MyReviewReactionsResponse>;
3357
+ declare function setMyGameReviewReaction(context: TransportContext, input: {
3358
+ readonly slug: string;
3359
+ readonly reviewId: string;
3360
+ readonly bearer: string;
3361
+ readonly reaction: SetReviewReactionRequest;
3362
+ }): Promise<SetReviewReactionResponse>;
3363
+ declare function tipGameReview(context: TransportContext, input: {
3364
+ readonly slug: string;
3365
+ readonly reviewId: string;
3366
+ readonly bearer: string;
3367
+ readonly tip: TipReviewRequest;
3368
+ readonly idempotencyKey?: string;
3369
+ }): Promise<TipReviewResponse>;
3370
+ declare function listGameReviewComments(context: TransportContext, input: {
3371
+ readonly slug: string;
3372
+ readonly reviewId: string;
3373
+ readonly bearer?: string;
3374
+ readonly limit?: number;
3375
+ readonly offset?: number;
3376
+ }): Promise<ReviewCommentListResponse>;
3377
+ declare function commentOnGameReview(context: TransportContext, input: {
3378
+ readonly slug: string;
3379
+ readonly reviewId: string;
3380
+ readonly bearer: string;
3381
+ readonly comment: CreateReviewCommentRequest;
3382
+ }): Promise<CreateReviewCommentResponse>;
3383
+ declare function deleteGameReviewComment(context: TransportContext, input: {
3384
+ readonly slug: string;
3385
+ readonly commentId: string;
3386
+ readonly bearer: string;
3387
+ }): Promise<DeleteReviewCommentResponse>;
2637
3388
  declare function replyToGameReview(context: TransportContext, input: {
2638
3389
  readonly appId: string;
2639
3390
  readonly reviewId: string;
@@ -2856,6 +3607,53 @@ declare function updateDeveloperAppContentReportStatus(context: TransportContext
2856
3607
  readonly status: "acknowledged" | "dismissed";
2857
3608
  }): Promise<AppContentReport>;
2858
3609
  //#endregion
3610
+ //#region src/developer/inventory.d.ts
3611
+ declare function quoteDeveloperAppInventoryRegistration(context: TransportContext, input: {
3612
+ readonly bearer: string;
3613
+ readonly appId: string;
3614
+ readonly registration: InventoryItemRegistrationInput;
3615
+ }): Promise<InventoryRegistrationQuote>;
3616
+ declare function registerDeveloperAppInventoryItem(context: TransportContext, input: {
3617
+ readonly bearer: string;
3618
+ readonly appId: string;
3619
+ readonly registration: InventoryItemRegistrationInput;
3620
+ }): Promise<InventoryItemRegistrationResult>;
3621
+ declare function listDeveloperAppInventoryCollections(context: TransportContext, input: {
3622
+ readonly bearer: string;
3623
+ readonly appId: string;
3624
+ }): Promise<InventoryCollectionListResponse>;
3625
+ declare function listDeveloperAppInventoryItems(context: TransportContext, input: {
3626
+ readonly bearer: string;
3627
+ readonly appId: string;
3628
+ }): Promise<InventoryItemListResponse>;
3629
+ declare function createDeveloperAppMintPermit(context: TransportContext, input: {
3630
+ readonly bearer: string;
3631
+ readonly appId: string;
3632
+ readonly itemId: string;
3633
+ readonly grant: InventoryMintPermitCreateInput;
3634
+ }): Promise<InventoryMintPermitRecord>;
3635
+ declare function getDeveloperAppInventoryItemHolders(context: TransportContext, input: {
3636
+ readonly bearer: string;
3637
+ readonly appId: string;
3638
+ readonly itemId: string;
3639
+ }): Promise<InventoryItemHoldersResponse>;
3640
+ declare function uploadDeveloperAppInventoryItemImage(context: TransportContext, input: {
3641
+ readonly bearer: string;
3642
+ readonly appId: string;
3643
+ readonly itemId: string;
3644
+ readonly file: Blob | ArrayBufferView | ArrayBuffer;
3645
+ readonly filename: string;
3646
+ readonly contentType: string;
3647
+ }): Promise<InventoryItemRecord>;
3648
+ declare function uploadDeveloperAppInventoryItemBanner(context: TransportContext, input: {
3649
+ readonly bearer: string;
3650
+ readonly appId: string;
3651
+ readonly itemId: string;
3652
+ readonly file: Blob | ArrayBufferView | ArrayBuffer;
3653
+ readonly filename: string;
3654
+ readonly contentType: string;
3655
+ }): Promise<InventoryItemRecord>;
3656
+ //#endregion
2859
3657
  //#region src/developer/pages.d.ts
2860
3658
  declare function getDeveloperAppPage(context: TransportContext, input: {
2861
3659
  readonly bearer: string;
@@ -2914,6 +3712,19 @@ declare function unpublishAppPage(context: TransportContext, input: {
2914
3712
  readonly bearer: string;
2915
3713
  readonly appId: string;
2916
3714
  }): Promise<AppPageDraft>;
3715
+ declare function setAppPageBip(context: TransportContext, input: {
3716
+ readonly bearer: string;
3717
+ readonly appId: string;
3718
+ readonly body: AppPageBipToggle;
3719
+ }): Promise<AppPageDraft>;
3720
+ declare function submitAppPageBipForReview(context: TransportContext, input: {
3721
+ readonly bearer: string;
3722
+ readonly appId: string;
3723
+ }): Promise<AppPageDraft>;
3724
+ declare function unpublishAppPageBip(context: TransportContext, input: {
3725
+ readonly bearer: string;
3726
+ readonly appId: string;
3727
+ }): Promise<AppPageDraft>;
2917
3728
  //#endregion
2918
3729
  //#region src/developer/participants.d.ts
2919
3730
  declare function listDeveloperAppParticipants(context: TransportContext, input: {
@@ -2980,6 +3791,20 @@ declare function uploadMultipart(context: TransportContext, input: {
2980
3791
  readonly contentType: string;
2981
3792
  }): Promise<unknown>;
2982
3793
  //#endregion
3794
+ //#region src/developer/vault.d.ts
3795
+ declare function createDeveloperVaultPermit(context: TransportContext, input: {
3796
+ readonly bearer: string;
3797
+ readonly appId: string;
3798
+ readonly itemId: string;
3799
+ readonly grant: InventoryVaultPermitCreateInput;
3800
+ }): Promise<InventoryVaultPermitRecord>;
3801
+ declare function createDeveloperWithdrawPermit(context: TransportContext, input: {
3802
+ readonly bearer: string;
3803
+ readonly appId: string;
3804
+ readonly itemId: string;
3805
+ readonly grant: InventoryWithdrawPermitCreateInput;
3806
+ }): Promise<InventoryVaultPermitRecord>;
3807
+ //#endregion
2983
3808
  //#region src/inventory/list.d.ts
2984
3809
  declare function listInventory(context: TransportContext, input: {
2985
3810
  readonly bearer: string;
@@ -2988,12 +3813,55 @@ declare function listInventoryForApp(context: TransportContext, input: {
2988
3813
  readonly bearer: string;
2989
3814
  }): Promise<InventoryListResponse>;
2990
3815
  //#endregion
3816
+ //#region src/inventory/nft-transfer.d.ts
3817
+ declare function quoteNftTransfer(context: TransportContext, input: {
3818
+ readonly bearer: string;
3819
+ readonly body: InventoryNftTransferQuoteRequest;
3820
+ }): Promise<InventoryNftTransferQuoteResponse>;
3821
+ declare function executeNftTransfer(context: TransportContext, input: {
3822
+ readonly bearer: string;
3823
+ readonly body: InventoryNftTransferRequest;
3824
+ }): Promise<InventoryNftTransferResponse>;
3825
+ //#endregion
3826
+ //#region src/inventory/permits.d.ts
3827
+ declare function listInventoryMintPermits(context: TransportContext, input: {
3828
+ readonly bearer: string;
3829
+ }): Promise<InventoryPendingPermitListResponse>;
3830
+ declare function redeemInventoryMintPermit(context: TransportContext, input: {
3831
+ readonly bearer: string;
3832
+ readonly permitId: string;
3833
+ }): Promise<InventoryPermitRedeemResult>;
3834
+ //#endregion
2991
3835
  //#region src/inventory/request-mint.d.ts
2992
3836
  declare function requestMint(context: TransportContext, input: {
2993
3837
  readonly appBearer: string;
2994
3838
  readonly body: MintRequestInput;
2995
3839
  }): Promise<MintRequestResult>;
2996
3840
  //#endregion
3841
+ //#region src/inventory/vault.d.ts
3842
+ declare function listInventoryVaultPermits(context: TransportContext, input: {
3843
+ readonly bearer: string;
3844
+ }): Promise<InventoryPendingVaultPermitListResponse>;
3845
+ declare function signInventoryVaultPermit(context: TransportContext, input: {
3846
+ readonly bearer: string;
3847
+ readonly permitId: string;
3848
+ }): Promise<InventorySignedVaultPermit>;
3849
+ declare function quoteRelayedVaultPermit(context: TransportContext, input: {
3850
+ readonly bearer: string;
3851
+ readonly permitId: string;
3852
+ }): Promise<InventoryRelayedVaultQuoteResponse>;
3853
+ declare function submitRelayedVaultPermit(context: TransportContext, input: {
3854
+ readonly bearer: string;
3855
+ readonly permitId: string;
3856
+ readonly body: InventoryRelayedVaultSubmitRequest;
3857
+ }): Promise<InventoryRelayedVaultSubmitResponse>;
3858
+ declare function listInventoryVaulted(context: TransportContext, input: {
3859
+ readonly bearer: string;
3860
+ }): Promise<InventoryVaultCustodyListResponse>;
3861
+ declare function listOauthInventoryVaulted(context: TransportContext, input: {
3862
+ readonly bearer: string;
3863
+ }): Promise<InventoryVaultCustodyListResponse>;
3864
+ //#endregion
2997
3865
  //#region src/messaging/dm-key-backup.d.ts
2998
3866
  declare function getDmKeyBackupStatus(context: TransportContext, input: {
2999
3867
  readonly bearer: string;
@@ -3275,6 +4143,17 @@ declare function createTronTransfer(context: TransportContext, input: {
3275
4143
  readonly body: TronTransferRequest;
3276
4144
  readonly idempotencyKey?: string;
3277
4145
  }): Promise<TronTransferResponse>;
4146
+ declare function getTronSecurity(context: TransportContext, input: {
4147
+ readonly bearer: string;
4148
+ }): Promise<TronSecuritySetting>;
4149
+ declare function setTronSecurity(context: TransportContext, input: {
4150
+ readonly bearer: string;
4151
+ readonly setting: TronSecuritySetting;
4152
+ }): Promise<TronSecuritySetting>;
4153
+ declare function createTronTransferChallenge(context: TransportContext, input: {
4154
+ readonly bearer: string;
4155
+ readonly body: TronTransferChallengeRequest;
4156
+ }): Promise<TronTransferChallengeResponse>;
3278
4157
  declare function createTronConnectOnboarding(context: TransportContext, input: {
3279
4158
  readonly bearer: string;
3280
4159
  }): Promise<TronConnectOnboardingResponse>;
@@ -3411,6 +4290,10 @@ declare function sendFriendRequest(context: TransportContext, input: {
3411
4290
  readonly bearer: string;
3412
4291
  readonly userId: string;
3413
4292
  }): Promise<void>;
4293
+ declare function removeFriend(context: TransportContext, input: {
4294
+ readonly bearer: string;
4295
+ readonly userId: string;
4296
+ }): Promise<void>;
3414
4297
  declare function decideFriendRequest(context: TransportContext, input: {
3415
4298
  readonly bearer: string;
3416
4299
  readonly requestId: string;
@@ -3423,6 +4306,9 @@ declare function cancelFriendRequest(context: TransportContext, input: {
3423
4306
  declare function listFriends(context: TransportContext, input: {
3424
4307
  readonly bearer: string;
3425
4308
  }): Promise<FriendListResponse>;
4309
+ declare function listFriendsForApp(context: TransportContext, input: {
4310
+ readonly bearer: string;
4311
+ }): Promise<AppFriendListResponse>;
3426
4312
  //#endregion
3427
4313
  //#region src/reads/socials.d.ts
3428
4314
  declare function listSocials(context: TransportContext, input: {
@@ -3714,4 +4600,4 @@ type CookieTokenStoreOptions = {
3714
4600
  };
3715
4601
  declare function createCookieTokenStore(options?: CookieTokenStoreOptions): TokenStore;
3716
4602
  //#endregion
3717
- 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, createTronTransfer, 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 };
4603
+ 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, 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, getPlatformFees, getPlaytime, getPlaytimeTimeseries, getPublicProfile, getReferral, getThreadDmKey, getTronBalance, getTronSecurity, hideAppPage, hideAppPageBip, hideThread, inviteDeveloperAppParticipant, inviteParticipants, leaveThread, listActivePlayers, listAdminContentReports, listAdmins, listAppPages, listAppealBlacklist, listAppealQueue, listAudit, listBipUpdateComments, listBipUpdates, listDeveloperApiKeys, listDeveloperAppContentReports, listDeveloperAppInventoryCollections, listDeveloperAppInventoryItems, listDeveloperAppParticipants, listDeveloperAppReviews, listDeveloperBipUpdates, listDeveloperInvites, listDeveloperRequests, listDevelopers, listFriends, listFriendsForApp, listGameReviewComments, listGameReviews, listInventory, listInventoryForApp, listInventoryMintPermits, listInventoryVaultPermits, listInventoryVaulted, listNotifications, listOauthInventoryVaulted, listPaymentAuthorizations, listSocials, listThreadMessages, listThreads, listTronCashoutQueue, listTronCashouts, listTronLedger, listUsers, listWalletManager, listWallets, markAllNotificationsRead, markThreadRead, mintMoonpayBuyUrl, mintMoonpaySellUrl, mountPresenceWidget, oauthPaymentWebhookBodySchema, pinThread, postAdminAppealRoomMessage, postAppealRoomMessage, previewReferral, provisionDeveloperAppWallet, publishDmKey, quoteDeveloperAppInventoryRegistration, quoteNftTransfer, quoteRelayedVaultPermit, redeemInventoryMintPermit, refreshAccessToken, registerBipInterest, registerDeveloperAppInventoryItem, rejectTronCashout, removeAdmin, removeAppealBlacklist, removeFriend, removeParticipant, removeReaction, replyToGameReview, requestDeveloperAppProduction, requestMint, resolveAppeal, reviewAppPage, reviewAppPageBip, reviewAppPageChanges, reviewDeveloperRequest, revokeDeveloperApiKey, revokeDeveloperAppParticipant, revokePaymentAuthorization, revokeToken, rotateDeveloperAppKey, rotateDeveloperAppPaymentWebhookSecret, rotateProcessorTreasury, searchGiphy, searchUsers, sendFriendRequest, sendMessage, sendPresenceHeartbeat, setAppPageBip, setBipUpdateReaction, setMyGameReviewReaction, setProcessorWhitelist, setTronSecurity, setVaultOperator, setVaultPause, setVaultWithdrawLockDefault, setVaultWithdrawLockOverride, setupDmKeyBackup, sha256Base64Url, signInventoryVaultPermit, signPaymentIntent, submitAppContentReport, submitAppPageBipForReview, submitAppPageForReview, submitDeveloperRequest, submitRelayedVaultPermit, subscribeBipUpdates, tipGameReview, toTokenSet, triageAdminContentReport, unfollowUser, unhideAppPage, unhideAppPageBip, unlockDmKeyBackup, 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 };