@metatrongg/sdk 0.8.0-dev.f92f9cf → 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>;
@@ -400,6 +524,7 @@ type Review = {
400
524
  tippedCents: number;
401
525
  commentCount: number;
402
526
  author: ReviewAuthor;
527
+ authorStats: ReviewerStats;
403
528
  developerReply: ReviewReply;
404
529
  createdAt: string;
405
530
  updatedAt: string;
@@ -411,11 +536,10 @@ type ReviewReactionCounts = {
411
536
  unhelpful: number;
412
537
  funny: number;
413
538
  };
414
- type ReviewAuthor = {
415
- userId: string;
416
- handle: string | null;
417
- name: string | null;
418
- avatarUrl: string | null;
539
+ type ReviewerStats = {
540
+ playtimeSecondsThisGame: number;
541
+ gamesPlayed: number;
542
+ reviewsWritten: number;
419
543
  };
420
544
  type ReviewReply = {
421
545
  body: ReviewReplyBody;
@@ -468,6 +592,8 @@ type TipReviewResponse = {
468
592
  type TipReviewRequest = {
469
593
  amountCents: number;
470
594
  note?: string;
595
+ challengeId?: string;
596
+ signature?: string;
471
597
  };
472
598
  type ReviewCommentListResponse = {
473
599
  comments: Array<ReviewComment>;
@@ -598,7 +724,9 @@ type ActivityRow = ({
598
724
  kind: "tron_transfer";
599
725
  } & ActivityRowTronTransfer) | ({
600
726
  kind: "referral_earning";
601
- } & ActivityRowReferralEarning);
727
+ } & ActivityRowReferralEarning) | ({
728
+ kind: "nft_charge";
729
+ } & ActivityRowNftCharge);
602
730
  type ActivityRowPayment = {
603
731
  kind: "payment";
604
732
  groupId: string | null;
@@ -910,6 +1038,22 @@ type ActivityRowReferralEarning = {
910
1038
  logIndex: number;
911
1039
  usdCents: number | null;
912
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
+ };
913
1057
  type OutstandingResponse = {
914
1058
  rows: Array<OutstandingByToken>;
915
1059
  };
@@ -959,7 +1103,7 @@ type TronLedgerResponse = {
959
1103
  };
960
1104
  type TronLedgerEntry = {
961
1105
  id: string;
962
- 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";
963
1107
  amountCents: number;
964
1108
  currency: string;
965
1109
  createdAt: string;
@@ -988,6 +1132,30 @@ type TronTransferRequest = {
988
1132
  recipientUserId: string;
989
1133
  amountCents: number;
990
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;
991
1159
  };
992
1160
  type TronConnectOnboardingResponse = {
993
1161
  url: string;
@@ -1045,12 +1213,15 @@ type WalletListResponse = {
1045
1213
  wallets: Array<WalletItem>;
1046
1214
  };
1047
1215
  type WalletChainList = Array<{
1048
- id: "ethereum-mainnet" | "base-mainnet" | "ethereum-sepolia";
1216
+ id: "ethereum-mainnet" | "base-mainnet" | "ethereum-sepolia" | "base-sepolia" | "solana-mainnet" | "solana-devnet";
1049
1217
  displayName: string;
1050
- chainId: number;
1218
+ family: "evm" | "solana";
1219
+ nativeSymbol: string;
1220
+ chainId?: number;
1051
1221
  }>;
1052
1222
  type WalletItem = {
1053
- address: string;
1223
+ address: string | string;
1224
+ family: "evm" | "solana";
1054
1225
  label: WalletLabel;
1055
1226
  kind: "personal" | "app";
1056
1227
  app: WalletAppLink;
@@ -1067,6 +1238,9 @@ type WalletBalances = {
1067
1238
  "ethereum-mainnet"?: WalletChainBalance;
1068
1239
  "base-mainnet"?: WalletChainBalance;
1069
1240
  "ethereum-sepolia"?: WalletChainBalance;
1241
+ "base-sepolia"?: WalletChainBalance;
1242
+ "solana-mainnet"?: WalletChainBalance;
1243
+ "solana-devnet"?: WalletChainBalance;
1070
1244
  };
1071
1245
  type WalletChainBalance = {
1072
1246
  native: string;
@@ -1076,12 +1250,14 @@ type WalletDelegationStatus = {
1076
1250
  mode: WalletDelegationMode;
1077
1251
  caps: WalletDelegationCaps;
1078
1252
  policyId: string | null;
1253
+ slippageBps: DelegationSlippageBps;
1079
1254
  };
1080
1255
  type WalletDelegationMode = "infinite" | "custom" | "scoped" | null;
1081
1256
  type WalletDelegationCaps = {
1082
1257
  native: string;
1083
1258
  usdc: string;
1084
1259
  } | null;
1260
+ type DelegationSlippageBps = number | null;
1085
1261
  type WalletLabelUpdateResponse = {
1086
1262
  address: string;
1087
1263
  label: WalletLabel;
@@ -1155,6 +1331,7 @@ type ThreadLastMessagePreview = {
1155
1331
  url: string;
1156
1332
  count: number;
1157
1333
  } | null;
1334
+ transaction?: MessageTransactionTronTransfer | MessageTransactionNftTransfer | null;
1158
1335
  sentAt: string;
1159
1336
  } | null;
1160
1337
  type MessageEnvelope = {
@@ -1166,6 +1343,20 @@ type MessageEnvelope = {
1166
1343
  iv: string;
1167
1344
  ct: string;
1168
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
+ };
1169
1360
  type GroupThreadSummary = {
1170
1361
  kind: "group";
1171
1362
  id: string;
@@ -1212,6 +1403,7 @@ type MessageItem = {
1212
1403
  id: string;
1213
1404
  threadId: string;
1214
1405
  senderUserId: string;
1406
+ transaction?: MessageTransactionTronTransfer | MessageTransactionNftTransfer | null;
1215
1407
  body: string;
1216
1408
  envelope?: MessageEnvelope;
1217
1409
  sentAt: string;
@@ -1423,11 +1615,45 @@ type InventoryHolding = {
1423
1615
  tokenId: string;
1424
1616
  amount: string;
1425
1617
  name: string | null;
1618
+ description: string | null;
1426
1619
  imageAssetId: string | null;
1427
1620
  bannerAssetId: string | null;
1428
1621
  devMetadata: {
1429
1622
  [key: string]: unknown;
1430
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
+ };
1431
1657
  };
1432
1658
  type MintRequestResult = {
1433
1659
  mintRequestId: string;
@@ -1443,6 +1669,247 @@ type MintRequestInput = {
1443
1669
  tokenId?: string;
1444
1670
  amount?: string;
1445
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
+ };
1446
1913
  type NotificationListResponse = {
1447
1914
  notifications: Array<NotificationItem>;
1448
1915
  unreadCount: number;
@@ -1471,6 +1938,18 @@ type NotificationItem = {
1471
1938
  payload: AppPageRejectedNotificationPayload;
1472
1939
  read: boolean;
1473
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;
1474
1953
  } | {
1475
1954
  id: string;
1476
1955
  kind: "app_participant_invite";
@@ -1501,14 +1980,25 @@ type FriendAcceptedNotificationPayload = {
1501
1980
  type AppPageApprovedNotificationPayload = {
1502
1981
  appId: string;
1503
1982
  appName: string;
1504
- scope: "publish" | "changes";
1983
+ scope: "publish" | "changes" | "bip_publish";
1505
1984
  };
1506
1985
  type AppPageRejectedNotificationPayload = {
1507
1986
  appId: string;
1508
1987
  appName: string;
1509
- scope: "publish" | "changes";
1988
+ scope: "publish" | "changes" | "bip_publish";
1510
1989
  notes: string;
1511
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
+ };
1512
2002
  type AppParticipantInviteNotificationPayload = {
1513
2003
  appId: string;
1514
2004
  appName: string;
@@ -1538,6 +2028,9 @@ type FriendListItem = {
1538
2028
  onlineStatus: OnlineStatus;
1539
2029
  };
1540
2030
  type OnlineStatus = "online" | "offline";
2031
+ type AppFriendListResponse = {
2032
+ friends: Array<ThreadParticipant>;
2033
+ };
1541
2034
  type FriendRequestDecision = {
1542
2035
  decision: "accept" | "reject";
1543
2036
  };
@@ -1667,17 +2160,20 @@ type CreateDeveloperAppChain = {
1667
2160
  };
1668
2161
  type UpdateDeveloperApp = {
1669
2162
  name?: DeveloperAppName;
2163
+ slug?: AppPageSlug | null;
1670
2164
  logoUrl?: string | null;
1671
2165
  testAccess?: "private" | "public";
1672
2166
  redirectUris?: Array<string>;
1673
2167
  embedOrigins?: Array<EmbedOrigin>;
1674
2168
  acceptedCurrencies?: AcceptedCurrencies;
2169
+ acceptedNetworks?: AcceptedNetworks;
1675
2170
  paymentStatusWebhookUrl?: string | null;
1676
2171
  paymentStatusWebhookUrlTest?: string | null;
1677
2172
  };
1678
2173
  type EmbedOrigin = string;
1679
2174
  type AcceptedCurrencies = Array<PlatformCurrency>;
1680
2175
  type PlatformCurrency = "eth" | "tron";
2176
+ type AcceptedNetworks = Array<PaymentNetwork> | null;
1681
2177
  type DeveloperLogoUploadResponse = {
1682
2178
  logoUrl: string | null;
1683
2179
  };
@@ -1915,6 +2411,7 @@ type DeveloperProductionRequestPayload = {
1915
2411
  type DeveloperAppItem = {
1916
2412
  id: string;
1917
2413
  name: DeveloperAppName;
2414
+ slug: AppPageSlug | null;
1918
2415
  logoUrl: string | null;
1919
2416
  environment: "development" | "production";
1920
2417
  productionApprovedAt: string | null;
@@ -1923,6 +2420,7 @@ type DeveloperAppItem = {
1923
2420
  redirectUris: Array<string>;
1924
2421
  embedOrigins: Array<EmbedOrigin>;
1925
2422
  acceptedCurrencies: AcceptedCurrencies;
2423
+ acceptedNetworks: AcceptedNetworks;
1926
2424
  payoutAddresses: Array<DeveloperAppPayoutAddressItem>;
1927
2425
  keys: Array<DeveloperAppKeyItem>;
1928
2426
  pendingProductionRequestId: string | null;
@@ -1977,9 +2475,18 @@ type AppPageDraft = {
1977
2475
  hiddenAt: string | null;
1978
2476
  hiddenReasonPublic: string | null;
1979
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;
1980
2488
  };
1981
2489
  type UpdateAppPage = {
1982
- slug?: AppPageSlug | null;
1983
2490
  categories?: AppPageCategories;
1984
2491
  tagline?: AppPageTagline | null;
1985
2492
  bannerUrl?: string | null;
@@ -2002,6 +2509,9 @@ type UpdateAppPage = {
2002
2509
  type AppPageGalleryUploadResponse = {
2003
2510
  url: string;
2004
2511
  };
2512
+ type AppPageBipToggle = {
2513
+ enabled: boolean;
2514
+ };
2005
2515
  type AdminActivePlayersResponse = {
2006
2516
  players: Array<AdminActivePlayer>;
2007
2517
  total: number;
@@ -2140,6 +2650,11 @@ type AdminAppPageItem = {
2140
2650
  hiddenAt: string | null;
2141
2651
  hiddenReasonInternal: string | null;
2142
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;
2143
2658
  };
2144
2659
  type AdminAppPageStatusResponse = {
2145
2660
  status: "draft" | "pending_review" | "published" | "hidden";
@@ -2165,6 +2680,25 @@ type AdminAppPageDiffField = {
2165
2680
  from: string;
2166
2681
  to: string;
2167
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
+ };
2168
2702
  type PlatformFeesResponse = {
2169
2703
  purchaseFeeBps: number;
2170
2704
  stakeFeeBps: number;
@@ -2454,7 +2988,7 @@ declare function listActivePlayers(context: TransportContext, input: {
2454
2988
  //#region src/admin/app-pages.d.ts
2455
2989
  declare function listAppPages(context: TransportContext, input: {
2456
2990
  readonly bearer: string;
2457
- readonly status?: "draft" | "pending_review" | "published" | "hidden" | "all" | "pending_changes";
2991
+ readonly status?: "draft" | "pending_review" | "published" | "hidden" | "all" | "pending_changes" | "bip_pending_review";
2458
2992
  }): Promise<AdminAppPageListResponse>;
2459
2993
  declare function getAppPageChanges(context: TransportContext, input: {
2460
2994
  readonly bearer: string;
@@ -2479,6 +3013,20 @@ declare function reviewAppPage(context: TransportContext, input: {
2479
3013
  readonly appId: string;
2480
3014
  readonly body: ReviewAppPage;
2481
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>;
2482
3030
  //#endregion
2483
3031
  //#region src/admin/appeals.d.ts
2484
3032
  declare function listAppealQueue(context: TransportContext, input: {
@@ -2510,6 +3058,19 @@ declare function resolveAppeal(context: TransportContext, input: {
2510
3058
  readonly body: AppealResolveRequest;
2511
3059
  }): Promise<AppealResolveSignedResponse>;
2512
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
2513
3074
  //#region src/admin/developers.d.ts
2514
3075
  declare function listDeveloperRequests(context: TransportContext, input: {
2515
3076
  readonly bearer: string;
@@ -2525,6 +3086,12 @@ declare function listDevelopers(context: TransportContext, input: {
2525
3086
  readonly bearer: string;
2526
3087
  }): Promise<AdminDeveloperListResponse>;
2527
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
2528
3095
  //#region src/admin/payments.d.ts
2529
3096
  declare function getPlatformFees(context: TransportContext, input: {
2530
3097
  readonly bearer: string;
@@ -2643,6 +3210,102 @@ declare function getAppPage(context: TransportContext, input: {
2643
3210
  readonly slug: string;
2644
3211
  }): Promise<PublicAppPage>;
2645
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
2646
3309
  //#region src/catalog/content-reports.d.ts
2647
3310
  declare function submitAppContentReport(context: TransportContext, input: {
2648
3311
  readonly appId: string;
@@ -2944,6 +3607,53 @@ declare function updateDeveloperAppContentReportStatus(context: TransportContext
2944
3607
  readonly status: "acknowledged" | "dismissed";
2945
3608
  }): Promise<AppContentReport>;
2946
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
2947
3657
  //#region src/developer/pages.d.ts
2948
3658
  declare function getDeveloperAppPage(context: TransportContext, input: {
2949
3659
  readonly bearer: string;
@@ -3002,6 +3712,19 @@ declare function unpublishAppPage(context: TransportContext, input: {
3002
3712
  readonly bearer: string;
3003
3713
  readonly appId: string;
3004
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>;
3005
3728
  //#endregion
3006
3729
  //#region src/developer/participants.d.ts
3007
3730
  declare function listDeveloperAppParticipants(context: TransportContext, input: {
@@ -3068,6 +3791,20 @@ declare function uploadMultipart(context: TransportContext, input: {
3068
3791
  readonly contentType: string;
3069
3792
  }): Promise<unknown>;
3070
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
3071
3808
  //#region src/inventory/list.d.ts
3072
3809
  declare function listInventory(context: TransportContext, input: {
3073
3810
  readonly bearer: string;
@@ -3076,12 +3813,55 @@ declare function listInventoryForApp(context: TransportContext, input: {
3076
3813
  readonly bearer: string;
3077
3814
  }): Promise<InventoryListResponse>;
3078
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
3079
3835
  //#region src/inventory/request-mint.d.ts
3080
3836
  declare function requestMint(context: TransportContext, input: {
3081
3837
  readonly appBearer: string;
3082
3838
  readonly body: MintRequestInput;
3083
3839
  }): Promise<MintRequestResult>;
3084
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
3085
3865
  //#region src/messaging/dm-key-backup.d.ts
3086
3866
  declare function getDmKeyBackupStatus(context: TransportContext, input: {
3087
3867
  readonly bearer: string;
@@ -3363,6 +4143,17 @@ declare function createTronTransfer(context: TransportContext, input: {
3363
4143
  readonly body: TronTransferRequest;
3364
4144
  readonly idempotencyKey?: string;
3365
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>;
3366
4157
  declare function createTronConnectOnboarding(context: TransportContext, input: {
3367
4158
  readonly bearer: string;
3368
4159
  }): Promise<TronConnectOnboardingResponse>;
@@ -3499,6 +4290,10 @@ declare function sendFriendRequest(context: TransportContext, input: {
3499
4290
  readonly bearer: string;
3500
4291
  readonly userId: string;
3501
4292
  }): Promise<void>;
4293
+ declare function removeFriend(context: TransportContext, input: {
4294
+ readonly bearer: string;
4295
+ readonly userId: string;
4296
+ }): Promise<void>;
3502
4297
  declare function decideFriendRequest(context: TransportContext, input: {
3503
4298
  readonly bearer: string;
3504
4299
  readonly requestId: string;
@@ -3511,6 +4306,9 @@ declare function cancelFriendRequest(context: TransportContext, input: {
3511
4306
  declare function listFriends(context: TransportContext, input: {
3512
4307
  readonly bearer: string;
3513
4308
  }): Promise<FriendListResponse>;
4309
+ declare function listFriendsForApp(context: TransportContext, input: {
4310
+ readonly bearer: string;
4311
+ }): Promise<AppFriendListResponse>;
3514
4312
  //#endregion
3515
4313
  //#region src/reads/socials.d.ts
3516
4314
  declare function listSocials(context: TransportContext, input: {
@@ -3802,4 +4600,4 @@ type CookieTokenStoreOptions = {
3802
4600
  };
3803
4601
  declare function createCookieTokenStore(options?: CookieTokenStoreOptions): TokenStore;
3804
4602
  //#endregion
3805
- export { AuthorizeUrl, type BrowserClientConfig, BuildAuthorizeUrlInput, ChargeResult, CookieTokenStoreOptions, type FetchLike, InflightDedup, type Logger, MountPresenceWidgetOptions, NOOP_RATE_LIMITER, OauthErrorCode, OauthPaymentWebhookBody, type OauthScope, PkcePair, PresenceStatus, PresenceWidgetHandle, RateLimitOptions, RateLimiter, SERVER_RATE_LIMIT_MAX_MUTATING, SERVER_RATE_LIMIT_MAX_READ, SERVER_RATE_LIMIT_WINDOW_MS, type SdkBaseConfig, TRON_WS_CLOSE_CODES, type TokenSet, type TokenStore, TronBrowserClient, TronError, TronOauthError, TronWsCloseCode, TronWsCloseError, VerifyWebhookFailure, VerifyWebhookInput, VerifyWebhookResult, VerifyWebhookSuccess, WEBHOOK_SIGNATURE_HEADER, WEBHOOK_TIMESTAMP_HEADER, acceptDeveloperInvite, addAdmin, addAppealBlacklist, addReaction, approveTronCashout, batchThreadDmKeys, bindReferral, buildAuthorizeUrl, cancelFriendRequest, charge, commentOnGameReview, completePaymentIntent, consolidateDeveloperAppWallet, createConsoleLogger, createCookieTokenStore, createDelegation, createDeveloperApiKey, createDeveloperApp, createDirectThread, createInMemoryTokenStore, createInflightDedup, createNoopLogger, createRateLimiter, createReferralCode, createTronCashout, createTronConnectOnboarding, createTronDeposit, createTronTransfer, decideFriendRequest, declineDeveloperInvite, defaultEndpoints, deleteAppPageBanner, deleteAppPageThumbnail, deleteAppPageThumbnailVideo, deleteAvatar, deleteDelegation, deleteDeveloperApp, deleteDeveloperAppLogo, deleteDeveloperProfileLogo, deleteDeveloperRequestLogo, deleteGameReviewComment, 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, getMyGameReviewReactions, 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, listGameReviewComments, 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, setMyGameReviewReaction, setProcessorWhitelist, setVaultOperator, setVaultPause, setVaultWithdrawLockDefault, setVaultWithdrawLockOverride, setupDmKeyBackup, sha256Base64Url, signPaymentIntent, submitAppContentReport, submitAppPageForReview, submitDeveloperRequest, tipGameReview, toTokenSet, unfollowUser, unhideAppPage, unlockDmKeyBackup, unpinThread, unpublishAppPage, updateAdminRole, updateAppFeeConfig, updateAppPage, updateDeveloperApp, updateDeveloperAppAutoSweep, updateDeveloperAppContentReportStatus, updateDeveloperProfile, updateNotification, updateParticipantRole, updatePaymentAuthorization, updatePlatformFees, updateProfile, updateThreadSettings, updateUserBan, updateWalletLabel, uploadAdminAppealRoomAttachment, uploadAppPageBanner, uploadAppPageGallery, uploadAppPageThumbnail, uploadAppPageThumbnailVideo, uploadAppealRoomAttachment, uploadAttachment, uploadAvatar, 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 };