@metatrongg/sdk 0.8.0-dev.db52340 → 0.8.0-dev.dd9b4fd

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -91,7 +91,7 @@ type Username = string;
91
91
  type DisplayName = string | null;
92
92
  type Bio = string | null;
93
93
  type WebsiteUrl = string | null;
94
- type BannerVariant = "yellow" | "green" | "blue" | "white" | "black";
94
+ type BannerVariant = "yellow" | "green" | "blue" | "white" | "black" | "red";
95
95
  type AdminRole = "super-admin" | "admin" | "read-only" | null;
96
96
  type PresenceStatusMode = "auto" | "online" | "offline";
97
97
  type PlatformEnvironment = "development" | "production";
@@ -106,7 +106,7 @@ type OauthAuthorizationServerMetadata = {
106
106
  grant_types_supported: Array<"authorization_code" | "refresh_token" | "client_credentials">;
107
107
  code_challenge_methods_supported: Array<"S256">;
108
108
  token_endpoint_auth_methods_supported: Array<"client_secret_basic" | "client_secret_post" | "none">;
109
- scopes_supported: Array<"openid" | "profile" | "payments:charge" | "inventory:read" | "developer:read" | "developer:apps" | "developer:pages">;
109
+ scopes_supported: Array<"openid" | "profile" | "payments:charge" | "inventory:read" | "social:read" | "developer:read" | "developer:apps" | "developer:pages">;
110
110
  };
111
111
  type OauthScopeString = string;
112
112
  type OauthState = string;
@@ -127,7 +127,9 @@ type OauthErrorResponse = {
127
127
  type OauthUserInfoResponse = {
128
128
  sub: string;
129
129
  name: string | null;
130
+ preferred_username: string | null;
130
131
  picture: string | null;
132
+ wallet_address: string | null;
131
133
  };
132
134
  type OauthPaymentChargeResponse = ({
133
135
  status: "completed";
@@ -246,7 +248,16 @@ type OauthPaymentIntentContext = {
246
248
  studioXHandle: string | null;
247
249
  };
248
250
  } | null;
251
+ environment: "development" | "production";
252
+ onramp?: {
253
+ kind: "bridge";
254
+ from: PaymentNetwork;
255
+ to: PaymentNetwork;
256
+ } | {
257
+ kind: "insufficient";
258
+ };
249
259
  };
260
+ type PaymentNetwork = "ethereum" | "base" | "solana";
250
261
  type OauthPaymentIntentSignResponse = {
251
262
  chain: string;
252
263
  chainId: number;
@@ -276,6 +287,13 @@ type OauthPaymentIntentCompleteSigned = {
276
287
  type OauthPaymentIntentCompleteOffline = {
277
288
  method: "offline";
278
289
  };
290
+ type OauthPaymentIntentSolanaPrepareResponse = {
291
+ transaction: string;
292
+ payer: string;
293
+ };
294
+ type OauthPaymentIntentSolanaCompleteRequest = {
295
+ signedTransaction: string;
296
+ };
279
297
  type ListAppPaymentAuthorizationsResponse = {
280
298
  authorizations: Array<AppPaymentAuthorizationItem>;
281
299
  };
@@ -379,6 +397,119 @@ type AppPageAgeRating = "everyone" | "13_plus" | "16_plus" | "18_plus" | null;
379
397
  type AppPageLanguages = Array<"en" | "es" | "fr" | "de" | "pt" | "it" | "ru" | "ja" | "ko" | "zh" | "hi" | "ar" | "tr" | "vi" | "id" | "th" | "pl" | "nl">;
380
398
  type AppPageReleaseStatus = "live" | "open_beta" | "coming_soon";
381
399
  type AppPagePaymentsMode = "tron" | "onchain" | "both" | null;
400
+ type PublicBipPage = {
401
+ appId: string;
402
+ slug: AppPageSlug;
403
+ appName: string;
404
+ appLogoUrl: string | null;
405
+ categories: AppPageCategories;
406
+ tagline: AppPageTagline;
407
+ bannerUrl: string | null;
408
+ discordUrl: string | null;
409
+ twitterUrl: string | null;
410
+ redditUrl: string | null;
411
+ telegramUrl: string | null;
412
+ gallery: AppPageGallery;
413
+ chapters: AppPageChapters;
414
+ links: AppPageLinks;
415
+ studio: PublicAppPageStudio;
416
+ platforms: AppPagePlatforms;
417
+ gameType: AppPageGameType;
418
+ ageRating: AppPageAgeRating;
419
+ languages: AppPageLanguages;
420
+ releaseStatus: AppPageReleaseStatus;
421
+ publishedAt: string;
422
+ updatedAt: string;
423
+ };
424
+ type BipUpdateListResponse = {
425
+ updates: Array<BipUpdate>;
426
+ total: number;
427
+ hasMore: boolean;
428
+ };
429
+ type BipUpdate = {
430
+ id: string;
431
+ appId: string;
432
+ body: BipUpdateBody;
433
+ attachments: BipUpdateAttachments;
434
+ reactions: BipUpdateReactionCounts;
435
+ commentCount: number;
436
+ createdAt: string;
437
+ updatedAt: string;
438
+ };
439
+ type BipUpdateBody = string;
440
+ type BipUpdateAttachments = Array<BipUpdateAttachment>;
441
+ type BipUpdateAttachment = {
442
+ url: string;
443
+ kind: "image" | "video";
444
+ order: number;
445
+ };
446
+ type BipUpdateReactionCounts = {
447
+ up: number;
448
+ down: number;
449
+ };
450
+ type BipUpdateCommentListResponse = {
451
+ comments: Array<BipUpdateComment>;
452
+ total: number;
453
+ hasMore: boolean;
454
+ };
455
+ type BipUpdateComment = {
456
+ id: string;
457
+ body: BipUpdateCommentBody;
458
+ author: ReviewAuthor;
459
+ createdAt: string;
460
+ };
461
+ type BipUpdateCommentBody = string;
462
+ type ReviewAuthor = {
463
+ userId: string;
464
+ handle: string | null;
465
+ name: string | null;
466
+ avatarUrl: string | null;
467
+ };
468
+ type BipInterestCountResponse = {
469
+ interestCount: number;
470
+ };
471
+ type BipEngagementResponse = {
472
+ interested: boolean;
473
+ subscribed: boolean;
474
+ interestCount: number;
475
+ };
476
+ type MyBipUpdateReactionsResponse = {
477
+ reactions: Array<MyBipUpdateReaction>;
478
+ };
479
+ type MyBipUpdateReaction = {
480
+ updateId: string;
481
+ vote: "up" | "down";
482
+ };
483
+ type SetBipUpdateReactionResponse = {
484
+ reactions: BipUpdateReactionCounts;
485
+ vote: BipUpdateVote;
486
+ };
487
+ type BipUpdateVote = "up" | "down" | null;
488
+ type SetBipUpdateReactionRequest = {
489
+ vote: BipUpdateVote;
490
+ };
491
+ type CreateBipUpdateCommentResponse = {
492
+ comment: BipUpdateComment;
493
+ commentCount: number;
494
+ };
495
+ type DeleteBipUpdateCommentResponse = {
496
+ commentCount: number;
497
+ };
498
+ type CreateBipUpdateRequest = {
499
+ body: BipUpdateBody;
500
+ attachments?: BipUpdateAttachments;
501
+ };
502
+ type UpdateBipUpdateRequest = {
503
+ body?: BipUpdateBody;
504
+ attachments?: BipUpdateAttachments;
505
+ };
506
+ type DeleteBipUpdateResponse = {
507
+ deleted: true;
508
+ };
509
+ type BipUpdateMediaUploadResponse = {
510
+ url: string;
511
+ kind: "image" | "video";
512
+ };
382
513
  type ReviewListResponse = {
383
514
  aggregate: ReviewAggregate;
384
515
  reviews: Array<Review>;
@@ -412,12 +543,6 @@ type ReviewReactionCounts = {
412
543
  unhelpful: number;
413
544
  funny: number;
414
545
  };
415
- type ReviewAuthor = {
416
- userId: string;
417
- handle: string | null;
418
- name: string | null;
419
- avatarUrl: string | null;
420
- };
421
546
  type ReviewerStats = {
422
547
  playtimeSecondsThisGame: number;
423
548
  gamesPlayed: number;
@@ -474,6 +599,8 @@ type TipReviewResponse = {
474
599
  type TipReviewRequest = {
475
600
  amountCents: number;
476
601
  note?: string;
602
+ challengeId?: string;
603
+ signature?: string;
477
604
  };
478
605
  type ReviewCommentListResponse = {
479
606
  comments: Array<ReviewComment>;
@@ -604,7 +731,9 @@ type ActivityRow = ({
604
731
  kind: "tron_transfer";
605
732
  } & ActivityRowTronTransfer) | ({
606
733
  kind: "referral_earning";
607
- } & ActivityRowReferralEarning);
734
+ } & ActivityRowReferralEarning) | ({
735
+ kind: "nft_charge";
736
+ } & ActivityRowNftCharge);
608
737
  type ActivityRowPayment = {
609
738
  kind: "payment";
610
739
  groupId: string | null;
@@ -916,6 +1045,22 @@ type ActivityRowReferralEarning = {
916
1045
  logIndex: number;
917
1046
  usdCents: number | null;
918
1047
  };
1048
+ type ActivityRowNftCharge = {
1049
+ kind: "nft_charge";
1050
+ groupId: string | null;
1051
+ id: string;
1052
+ occurredAt: string;
1053
+ role: "outgoing";
1054
+ chargeKind: "registration" | "mint" | "transfer_gas";
1055
+ amountCents: number;
1056
+ usdCents: number;
1057
+ status: "settled";
1058
+ collectionAddress: string | null;
1059
+ tokenId: string | null;
1060
+ counterpartyUserId: string | null;
1061
+ counterpartyHandle: string | null;
1062
+ counterpartyDisplayName: string | null;
1063
+ };
919
1064
  type OutstandingResponse = {
920
1065
  rows: Array<OutstandingByToken>;
921
1066
  };
@@ -965,7 +1110,7 @@ type TronLedgerResponse = {
965
1110
  };
966
1111
  type TronLedgerEntry = {
967
1112
  id: string;
968
- kind: "deposit" | "pot_stake" | "pot_payout" | "dev_earning" | "cashout_hold" | "cashout_release" | "dispute_freeze" | "dispute_unfreeze" | "hosted_billing" | "store_purchase" | "referral_earning" | "peer_transfer";
1113
+ 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";
969
1114
  amountCents: number;
970
1115
  currency: string;
971
1116
  createdAt: string;
@@ -994,6 +1139,30 @@ type TronTransferRequest = {
994
1139
  recipientUserId: string;
995
1140
  amountCents: number;
996
1141
  note?: string;
1142
+ challengeId?: string;
1143
+ signature?: string;
1144
+ threadId?: string;
1145
+ };
1146
+ type TronSecuritySetting = {
1147
+ requireSignature: boolean;
1148
+ };
1149
+ type TronTransferChallengeResponse = ({
1150
+ required: false;
1151
+ } & TronTransferChallengeNotRequired) | ({
1152
+ required: true;
1153
+ } & TronTransferChallengeRequired);
1154
+ type TronTransferChallengeNotRequired = {
1155
+ required: false;
1156
+ };
1157
+ type TronTransferChallengeRequired = {
1158
+ required: true;
1159
+ challengeId: string;
1160
+ message: string;
1161
+ expiresAt: string;
1162
+ };
1163
+ type TronTransferChallengeRequest = {
1164
+ recipientUserId: string;
1165
+ amountCents: number;
997
1166
  };
998
1167
  type TronConnectOnboardingResponse = {
999
1168
  url: string;
@@ -1051,12 +1220,15 @@ type WalletListResponse = {
1051
1220
  wallets: Array<WalletItem>;
1052
1221
  };
1053
1222
  type WalletChainList = Array<{
1054
- id: "ethereum-mainnet" | "base-mainnet" | "ethereum-sepolia";
1223
+ id: "ethereum-mainnet" | "base-mainnet" | "ethereum-sepolia" | "base-sepolia" | "solana-mainnet" | "solana-devnet";
1055
1224
  displayName: string;
1056
- chainId: number;
1225
+ family: "evm" | "solana";
1226
+ nativeSymbol: string;
1227
+ chainId?: number;
1057
1228
  }>;
1058
1229
  type WalletItem = {
1059
- address: string;
1230
+ address: string | string;
1231
+ family: "evm" | "solana";
1060
1232
  label: WalletLabel;
1061
1233
  kind: "personal" | "app";
1062
1234
  app: WalletAppLink;
@@ -1073,6 +1245,9 @@ type WalletBalances = {
1073
1245
  "ethereum-mainnet"?: WalletChainBalance;
1074
1246
  "base-mainnet"?: WalletChainBalance;
1075
1247
  "ethereum-sepolia"?: WalletChainBalance;
1248
+ "base-sepolia"?: WalletChainBalance;
1249
+ "solana-mainnet"?: WalletChainBalance;
1250
+ "solana-devnet"?: WalletChainBalance;
1076
1251
  };
1077
1252
  type WalletChainBalance = {
1078
1253
  native: string;
@@ -1082,12 +1257,14 @@ type WalletDelegationStatus = {
1082
1257
  mode: WalletDelegationMode;
1083
1258
  caps: WalletDelegationCaps;
1084
1259
  policyId: string | null;
1260
+ slippageBps: DelegationSlippageBps;
1085
1261
  };
1086
1262
  type WalletDelegationMode = "infinite" | "custom" | "scoped" | null;
1087
1263
  type WalletDelegationCaps = {
1088
1264
  native: string;
1089
1265
  usdc: string;
1090
1266
  } | null;
1267
+ type DelegationSlippageBps = number | null;
1091
1268
  type WalletLabelUpdateResponse = {
1092
1269
  address: string;
1093
1270
  label: WalletLabel;
@@ -1161,6 +1338,7 @@ type ThreadLastMessagePreview = {
1161
1338
  url: string;
1162
1339
  count: number;
1163
1340
  } | null;
1341
+ transaction?: MessageTransactionTronTransfer | MessageTransactionNftTransfer | null;
1164
1342
  sentAt: string;
1165
1343
  } | null;
1166
1344
  type MessageEnvelope = {
@@ -1172,6 +1350,20 @@ type MessageEnvelope = {
1172
1350
  iv: string;
1173
1351
  ct: string;
1174
1352
  } | null;
1353
+ type MessageTransactionTronTransfer = {
1354
+ kind: "tron_transfer";
1355
+ amountCents: number;
1356
+ recipientUserId: string;
1357
+ };
1358
+ type MessageTransactionNftTransfer = {
1359
+ kind: "nft_transfer";
1360
+ recipientUserId: string;
1361
+ collectionAddress: string;
1362
+ tokenId: string;
1363
+ amount: string;
1364
+ itemName: string | null;
1365
+ imageAssetId?: string | null;
1366
+ };
1175
1367
  type GroupThreadSummary = {
1176
1368
  kind: "group";
1177
1369
  id: string;
@@ -1218,6 +1410,7 @@ type MessageItem = {
1218
1410
  id: string;
1219
1411
  threadId: string;
1220
1412
  senderUserId: string;
1413
+ transaction?: MessageTransactionTronTransfer | MessageTransactionNftTransfer | null;
1221
1414
  body: string;
1222
1415
  envelope?: MessageEnvelope;
1223
1416
  sentAt: string;
@@ -1429,11 +1622,45 @@ type InventoryHolding = {
1429
1622
  tokenId: string;
1430
1623
  amount: string;
1431
1624
  name: string | null;
1625
+ description: string | null;
1432
1626
  imageAssetId: string | null;
1433
1627
  bannerAssetId: string | null;
1434
1628
  devMetadata: {
1435
1629
  [key: string]: unknown;
1436
1630
  };
1631
+ appId: string | null;
1632
+ appName: string | null;
1633
+ appLogoUrl: string | null;
1634
+ };
1635
+ type InventoryPendingPermitListResponse = {
1636
+ permits: Array<InventoryPendingPermit>;
1637
+ };
1638
+ type InventoryPendingPermit = {
1639
+ id: string;
1640
+ appId: string;
1641
+ itemId: string;
1642
+ amount: string;
1643
+ priceCents: number | null;
1644
+ gasSponsored: boolean;
1645
+ environment: "development" | "production";
1646
+ createdAt: string;
1647
+ tokenId: string;
1648
+ name: string | null;
1649
+ description: string | null;
1650
+ imageAssetId: string | null;
1651
+ chain: string;
1652
+ collectionAddress: string;
1653
+ kind: "erc721" | "erc1155";
1654
+ };
1655
+ type InventoryPermitRedeemResult = {
1656
+ mint: MintRequestResult;
1657
+ charge: {
1658
+ currency: "tron";
1659
+ gasCents: number;
1660
+ priceCents: number;
1661
+ totalCents: number;
1662
+ gasPaidBy: "user" | "developer";
1663
+ };
1437
1664
  };
1438
1665
  type MintRequestResult = {
1439
1666
  mintRequestId: string;
@@ -1449,6 +1676,247 @@ type MintRequestInput = {
1449
1676
  tokenId?: string;
1450
1677
  amount?: string;
1451
1678
  };
1679
+ type InventoryCollectionListResponse = {
1680
+ collections: Array<InventoryCollectionSummary>;
1681
+ };
1682
+ type InventoryCollectionSummary = {
1683
+ id: string;
1684
+ chain: string;
1685
+ collectionAddress: string;
1686
+ kind: "erc721" | "erc1155";
1687
+ name: string | null;
1688
+ environment: "development" | "production";
1689
+ };
1690
+ type InventoryRegistrationQuote = {
1691
+ itemCount: number;
1692
+ baselineUsdCents: number;
1693
+ gasUsdCents: number;
1694
+ tron: {
1695
+ baselineCents: number;
1696
+ gasCents: number;
1697
+ totalCents: number;
1698
+ };
1699
+ eth: {
1700
+ baselineWei: string;
1701
+ gasWei: string;
1702
+ totalWei: string;
1703
+ };
1704
+ };
1705
+ type InventoryItemRegistrationInput = {
1706
+ collectionAddress: string;
1707
+ chain: string;
1708
+ items: Array<InventoryItemRegistrationSpec>;
1709
+ };
1710
+ type InventoryItemRegistrationSpec = {
1711
+ name?: string | null;
1712
+ description?: string | null;
1713
+ devMetadata?: {
1714
+ [key: string]: unknown;
1715
+ };
1716
+ supplyType?: InventorySupplyType;
1717
+ maxSupply?: string | null;
1718
+ active?: boolean;
1719
+ };
1720
+ type InventorySupplyType = "capped" | "flexible" | "unlimited";
1721
+ type InventoryItemRegistrationResult = {
1722
+ items: Array<InventoryItemRecord>;
1723
+ charge: {
1724
+ currency: "tron";
1725
+ amountCents: number;
1726
+ baselineCents: number;
1727
+ gasCents: number;
1728
+ addItemTxHash: string;
1729
+ };
1730
+ };
1731
+ type InventoryItemRecord = {
1732
+ id: string;
1733
+ collectionId: string;
1734
+ collectionAddress: string;
1735
+ chain: string;
1736
+ kind: "erc721" | "erc1155";
1737
+ tokenId: string;
1738
+ name: string | null;
1739
+ description: string | null;
1740
+ imageAssetId: string | null;
1741
+ bannerAssetId: string | null;
1742
+ devMetadata: {
1743
+ [key: string]: unknown;
1744
+ };
1745
+ supplyType: InventorySupplyType | null;
1746
+ maxSupply: string | null;
1747
+ active: boolean;
1748
+ };
1749
+ type InventoryItemListResponse = {
1750
+ items: Array<InventoryItemRecord>;
1751
+ };
1752
+ type InventoryMintPermitRecord = {
1753
+ id: string;
1754
+ appId: string;
1755
+ itemId: string;
1756
+ userId: string;
1757
+ amount: string;
1758
+ priceCents: number | null;
1759
+ gasSponsored: boolean;
1760
+ status: "pending" | "redeemed" | "revoked";
1761
+ createdAt: string;
1762
+ };
1763
+ type InventoryMintPermitCreateInput = {
1764
+ toUserId: string;
1765
+ amount?: string;
1766
+ priceCents?: number | null;
1767
+ gasSponsored?: boolean;
1768
+ };
1769
+ type InventoryItemHoldersResponse = {
1770
+ stats: InventoryItemStats;
1771
+ holders: Array<InventoryItemHolder>;
1772
+ };
1773
+ type InventoryItemStats = {
1774
+ holderCount: number;
1775
+ walletCount: number;
1776
+ totalHeld: string;
1777
+ };
1778
+ type InventoryItemHolder = {
1779
+ walletAddress: string;
1780
+ userId: string | null;
1781
+ amount: string;
1782
+ };
1783
+ type InventoryVaultPermitRecord = {
1784
+ id: string;
1785
+ appId: string;
1786
+ itemId: string;
1787
+ userId: string;
1788
+ direction: "vault_in" | "withdraw";
1789
+ lockKind: "vault" | "burn" | null;
1790
+ amount: string;
1791
+ gasSponsored: boolean;
1792
+ status: "pending" | "redeemed" | "revoked";
1793
+ custodyId: string | null;
1794
+ createdAt: string;
1795
+ };
1796
+ type InventoryVaultPermitCreateInput = {
1797
+ toUserId: string;
1798
+ lockKind: "vault" | "burn";
1799
+ amount?: string;
1800
+ gasSponsored?: boolean;
1801
+ };
1802
+ type InventoryWithdrawPermitCreateInput = {
1803
+ custodyId: string;
1804
+ };
1805
+ type InventoryPendingVaultPermitListResponse = {
1806
+ permits: Array<InventoryPendingVaultPermit>;
1807
+ };
1808
+ type InventoryPendingVaultPermit = {
1809
+ id: string;
1810
+ appId: string;
1811
+ itemId: string;
1812
+ direction: "vault_in" | "withdraw";
1813
+ lockKind: "vault" | "burn" | null;
1814
+ amount: string;
1815
+ gasSponsored: boolean;
1816
+ environment: "development" | "production";
1817
+ custodyId: string | null;
1818
+ createdAt: string;
1819
+ tokenId: string;
1820
+ name: string | null;
1821
+ description: string | null;
1822
+ imageAssetId: string | null;
1823
+ chain: string;
1824
+ collectionAddress: string;
1825
+ kind: "erc721" | "erc1155";
1826
+ };
1827
+ type InventorySignedVaultPermit = {
1828
+ permitId: string;
1829
+ direction: "vault_in" | "withdraw";
1830
+ vault: string;
1831
+ collection: string;
1832
+ user: string;
1833
+ tokenId: string;
1834
+ amount: string;
1835
+ lockKind: "vault" | "burn" | null;
1836
+ destination: string | null;
1837
+ deadline: number;
1838
+ signature: string;
1839
+ };
1840
+ type InventoryRelayedVaultQuoteResponse = {
1841
+ direction: "vault_in" | "withdraw";
1842
+ collection: string;
1843
+ vault: string;
1844
+ chainId: number;
1845
+ user: string;
1846
+ tokenId: string;
1847
+ amount: string;
1848
+ nonce: string | null;
1849
+ deadline: number;
1850
+ feeCents: number;
1851
+ gasWei: string;
1852
+ gasPaidBy: "developer" | "user";
1853
+ requiresUserSignature: boolean;
1854
+ };
1855
+ type InventoryRelayedVaultSubmitResponse = {
1856
+ ok: boolean;
1857
+ txHash: string;
1858
+ chargedCents: number;
1859
+ gasPaidBy: "developer" | "user";
1860
+ };
1861
+ type InventoryRelayedVaultSubmitRequest = {
1862
+ userSignature?: string;
1863
+ deadline?: number;
1864
+ };
1865
+ type InventoryNftTransferQuoteResponse = {
1866
+ collection: string;
1867
+ chainId: number;
1868
+ from: string;
1869
+ to: string;
1870
+ tokenId: string;
1871
+ amount: string;
1872
+ nonce: string;
1873
+ deadline: number;
1874
+ feeCents: number;
1875
+ gasWei: string;
1876
+ selfPayAvailable: boolean;
1877
+ };
1878
+ type InventoryNftTransferQuoteRequest = {
1879
+ toUserId: string;
1880
+ collection: string;
1881
+ tokenId: string;
1882
+ amount?: string;
1883
+ };
1884
+ type InventoryNftTransferResponse = {
1885
+ ok: boolean;
1886
+ txHash: string;
1887
+ chargedCents: number;
1888
+ };
1889
+ type InventoryNftTransferRequest = {
1890
+ toUserId: string;
1891
+ collection: string;
1892
+ tokenId: string;
1893
+ amount?: string;
1894
+ deadline: number;
1895
+ userSignature: string;
1896
+ threadId?: string;
1897
+ };
1898
+ type InventoryVaultCustodyListResponse = {
1899
+ custody: Array<InventoryVaultCustody>;
1900
+ };
1901
+ type InventoryVaultCustody = {
1902
+ id: string;
1903
+ collectionId: string;
1904
+ collectionAddress: string;
1905
+ chain: string;
1906
+ kind: "erc721" | "erc1155";
1907
+ tokenId: string;
1908
+ amount: string;
1909
+ lockKind: "vault" | "burn";
1910
+ vaultAddress: string;
1911
+ createdAt: string;
1912
+ name: string | null;
1913
+ description: string | null;
1914
+ imageAssetId: string | null;
1915
+ };
1916
+ type InventoryVaultForceWithdrawResponse = {
1917
+ ok: boolean;
1918
+ txHash: string;
1919
+ };
1452
1920
  type NotificationListResponse = {
1453
1921
  notifications: Array<NotificationItem>;
1454
1922
  unreadCount: number;
@@ -1477,6 +1945,18 @@ type NotificationItem = {
1477
1945
  payload: AppPageRejectedNotificationPayload;
1478
1946
  read: boolean;
1479
1947
  createdAt: string;
1948
+ } | {
1949
+ id: string;
1950
+ kind: "bip_update_published";
1951
+ payload: BipUpdatePublishedNotificationPayload;
1952
+ read: boolean;
1953
+ createdAt: string;
1954
+ } | {
1955
+ id: string;
1956
+ kind: "bip_now_playable";
1957
+ payload: BipNowPlayableNotificationPayload;
1958
+ read: boolean;
1959
+ createdAt: string;
1480
1960
  } | {
1481
1961
  id: string;
1482
1962
  kind: "app_participant_invite";
@@ -1507,14 +1987,25 @@ type FriendAcceptedNotificationPayload = {
1507
1987
  type AppPageApprovedNotificationPayload = {
1508
1988
  appId: string;
1509
1989
  appName: string;
1510
- scope: "publish" | "changes";
1990
+ scope: "publish" | "changes" | "bip_publish";
1511
1991
  };
1512
1992
  type AppPageRejectedNotificationPayload = {
1513
1993
  appId: string;
1514
1994
  appName: string;
1515
- scope: "publish" | "changes";
1995
+ scope: "publish" | "changes" | "bip_publish";
1516
1996
  notes: string;
1517
1997
  };
1998
+ type BipUpdatePublishedNotificationPayload = {
1999
+ appId: string;
2000
+ appName: string;
2001
+ appSlug: string | null;
2002
+ updateId: string;
2003
+ };
2004
+ type BipNowPlayableNotificationPayload = {
2005
+ appId: string;
2006
+ appName: string;
2007
+ appSlug: string | null;
2008
+ };
1518
2009
  type AppParticipantInviteNotificationPayload = {
1519
2010
  appId: string;
1520
2011
  appName: string;
@@ -1544,6 +2035,9 @@ type FriendListItem = {
1544
2035
  onlineStatus: OnlineStatus;
1545
2036
  };
1546
2037
  type OnlineStatus = "online" | "offline";
2038
+ type AppFriendListResponse = {
2039
+ friends: Array<ThreadParticipant>;
2040
+ };
1547
2041
  type FriendRequestDecision = {
1548
2042
  decision: "accept" | "reject";
1549
2043
  };
@@ -1673,17 +2167,20 @@ type CreateDeveloperAppChain = {
1673
2167
  };
1674
2168
  type UpdateDeveloperApp = {
1675
2169
  name?: DeveloperAppName;
2170
+ slug?: AppPageSlug | null;
1676
2171
  logoUrl?: string | null;
1677
2172
  testAccess?: "private" | "public";
1678
2173
  redirectUris?: Array<string>;
1679
2174
  embedOrigins?: Array<EmbedOrigin>;
1680
2175
  acceptedCurrencies?: AcceptedCurrencies;
2176
+ acceptedNetworks?: AcceptedNetworks;
1681
2177
  paymentStatusWebhookUrl?: string | null;
1682
2178
  paymentStatusWebhookUrlTest?: string | null;
1683
2179
  };
1684
2180
  type EmbedOrigin = string;
1685
2181
  type AcceptedCurrencies = Array<PlatformCurrency>;
1686
2182
  type PlatformCurrency = "eth" | "tron";
2183
+ type AcceptedNetworks = Array<PaymentNetwork> | null;
1687
2184
  type DeveloperLogoUploadResponse = {
1688
2185
  logoUrl: string | null;
1689
2186
  };
@@ -1921,6 +2418,7 @@ type DeveloperProductionRequestPayload = {
1921
2418
  type DeveloperAppItem = {
1922
2419
  id: string;
1923
2420
  name: DeveloperAppName;
2421
+ slug: AppPageSlug | null;
1924
2422
  logoUrl: string | null;
1925
2423
  environment: "development" | "production";
1926
2424
  productionApprovedAt: string | null;
@@ -1929,6 +2427,7 @@ type DeveloperAppItem = {
1929
2427
  redirectUris: Array<string>;
1930
2428
  embedOrigins: Array<EmbedOrigin>;
1931
2429
  acceptedCurrencies: AcceptedCurrencies;
2430
+ acceptedNetworks: AcceptedNetworks;
1932
2431
  payoutAddresses: Array<DeveloperAppPayoutAddressItem>;
1933
2432
  keys: Array<DeveloperAppKeyItem>;
1934
2433
  pendingProductionRequestId: string | null;
@@ -1983,9 +2482,18 @@ type AppPageDraft = {
1983
2482
  hiddenAt: string | null;
1984
2483
  hiddenReasonPublic: string | null;
1985
2484
  pendingReview: boolean;
2485
+ bip: AppPageBipState;
2486
+ };
2487
+ type AppPageBipState = {
2488
+ enabled: boolean;
2489
+ status: "draft" | "pending_review" | "published" | "hidden";
2490
+ firstPublishedAt: string | null;
2491
+ reviewedAt: string | null;
2492
+ reviewNotes: string | null;
2493
+ hiddenAt: string | null;
2494
+ hiddenReasonPublic: string | null;
1986
2495
  };
1987
2496
  type UpdateAppPage = {
1988
- slug?: AppPageSlug | null;
1989
2497
  categories?: AppPageCategories;
1990
2498
  tagline?: AppPageTagline | null;
1991
2499
  bannerUrl?: string | null;
@@ -2008,6 +2516,9 @@ type UpdateAppPage = {
2008
2516
  type AppPageGalleryUploadResponse = {
2009
2517
  url: string;
2010
2518
  };
2519
+ type AppPageBipToggle = {
2520
+ enabled: boolean;
2521
+ };
2011
2522
  type AdminActivePlayersResponse = {
2012
2523
  players: Array<AdminActivePlayer>;
2013
2524
  total: number;
@@ -2146,6 +2657,11 @@ type AdminAppPageItem = {
2146
2657
  hiddenAt: string | null;
2147
2658
  hiddenReasonInternal: string | null;
2148
2659
  pendingChangesSubmittedAt: string | null;
2660
+ bipEnabled: boolean;
2661
+ bipStatus: "draft" | "pending_review" | "published" | "hidden";
2662
+ bipFirstPublishedAt: string | null;
2663
+ bipHiddenAt: string | null;
2664
+ openReportCount: number;
2149
2665
  };
2150
2666
  type AdminAppPageStatusResponse = {
2151
2667
  status: "draft" | "pending_review" | "published" | "hidden";
@@ -2171,6 +2687,25 @@ type AdminAppPageDiffField = {
2171
2687
  from: string;
2172
2688
  to: string;
2173
2689
  };
2690
+ type AdminAppPageBipStatusResponse = {
2691
+ bipStatus: "draft" | "pending_review" | "published" | "hidden";
2692
+ };
2693
+ type AdminAppContentReportListResponse = {
2694
+ reports: Array<AdminAppContentReportItem>;
2695
+ total: number;
2696
+ hasMore: boolean;
2697
+ };
2698
+ type AdminAppContentReportItem = {
2699
+ id: string;
2700
+ category: AppContentReportCategory;
2701
+ details: string | null;
2702
+ status: AppContentReportStatus;
2703
+ acknowledgedAt: string | null;
2704
+ createdAt: string;
2705
+ appId: string;
2706
+ appName: string;
2707
+ appSlug: string | null;
2708
+ };
2174
2709
  type PlatformFeesResponse = {
2175
2710
  purchaseFeeBps: number;
2176
2711
  stakeFeeBps: number;
@@ -2351,6 +2886,13 @@ type AppealResolveRequest = {
2351
2886
  decision: "refund" | "dismiss";
2352
2887
  notes?: string;
2353
2888
  };
2889
+ type PaymentRatesResponse = {
2890
+ asOf: string;
2891
+ ethUsd: number | null;
2892
+ solUsd: number | null;
2893
+ solLamportsPerCent: number | null;
2894
+ tronUsdPerToken: number;
2895
+ };
2354
2896
  type AppealFileResponse = {
2355
2897
  appealId: string;
2356
2898
  paymentId: string;
@@ -2460,7 +3002,7 @@ declare function listActivePlayers(context: TransportContext, input: {
2460
3002
  //#region src/admin/app-pages.d.ts
2461
3003
  declare function listAppPages(context: TransportContext, input: {
2462
3004
  readonly bearer: string;
2463
- readonly status?: "draft" | "pending_review" | "published" | "hidden" | "all" | "pending_changes";
3005
+ readonly status?: "draft" | "pending_review" | "published" | "hidden" | "all" | "pending_changes" | "bip_pending_review";
2464
3006
  }): Promise<AdminAppPageListResponse>;
2465
3007
  declare function getAppPageChanges(context: TransportContext, input: {
2466
3008
  readonly bearer: string;
@@ -2485,6 +3027,20 @@ declare function reviewAppPage(context: TransportContext, input: {
2485
3027
  readonly appId: string;
2486
3028
  readonly body: ReviewAppPage;
2487
3029
  }): Promise<AdminAppPageStatusResponse>;
3030
+ declare function reviewAppPageBip(context: TransportContext, input: {
3031
+ readonly bearer: string;
3032
+ readonly appId: string;
3033
+ readonly body: ReviewAppPage;
3034
+ }): Promise<AdminAppPageBipStatusResponse>;
3035
+ declare function hideAppPageBip(context: TransportContext, input: {
3036
+ readonly bearer: string;
3037
+ readonly appId: string;
3038
+ readonly body: HideAppPage;
3039
+ }): Promise<AdminAppPageBipStatusResponse>;
3040
+ declare function unhideAppPageBip(context: TransportContext, input: {
3041
+ readonly bearer: string;
3042
+ readonly appId: string;
3043
+ }): Promise<AdminAppPageBipStatusResponse>;
2488
3044
  //#endregion
2489
3045
  //#region src/admin/appeals.d.ts
2490
3046
  declare function listAppealQueue(context: TransportContext, input: {
@@ -2516,6 +3072,19 @@ declare function resolveAppeal(context: TransportContext, input: {
2516
3072
  readonly body: AppealResolveRequest;
2517
3073
  }): Promise<AppealResolveSignedResponse>;
2518
3074
  //#endregion
3075
+ //#region src/admin/content-reports.d.ts
3076
+ declare function listAdminContentReports(context: TransportContext, input: {
3077
+ readonly bearer: string;
3078
+ readonly status?: "open" | "acknowledged" | "dismissed" | "all";
3079
+ readonly limit?: number;
3080
+ readonly offset?: number;
3081
+ }): Promise<AdminAppContentReportListResponse>;
3082
+ declare function triageAdminContentReport(context: TransportContext, input: {
3083
+ readonly bearer: string;
3084
+ readonly reportId: string;
3085
+ readonly status: "acknowledged" | "dismissed";
3086
+ }): Promise<AppContentReport>;
3087
+ //#endregion
2519
3088
  //#region src/admin/developers.d.ts
2520
3089
  declare function listDeveloperRequests(context: TransportContext, input: {
2521
3090
  readonly bearer: string;
@@ -2531,6 +3100,12 @@ declare function listDevelopers(context: TransportContext, input: {
2531
3100
  readonly bearer: string;
2532
3101
  }): Promise<AdminDeveloperListResponse>;
2533
3102
  //#endregion
3103
+ //#region src/admin/inventory-vault.d.ts
3104
+ declare function forceWithdrawVaultCustody(context: TransportContext, input: {
3105
+ readonly bearer: string;
3106
+ readonly custodyId: string;
3107
+ }): Promise<InventoryVaultForceWithdrawResponse>;
3108
+ //#endregion
2534
3109
  //#region src/admin/payments.d.ts
2535
3110
  declare function getPlatformFees(context: TransportContext, input: {
2536
3111
  readonly bearer: string;
@@ -2649,6 +3224,102 @@ declare function getAppPage(context: TransportContext, input: {
2649
3224
  readonly slug: string;
2650
3225
  }): Promise<PublicAppPage>;
2651
3226
  //#endregion
3227
+ //#region src/catalog/bip-updates.d.ts
3228
+ declare function listBipUpdates(context: TransportContext, input: {
3229
+ readonly bearer?: string;
3230
+ readonly slug: string;
3231
+ readonly limit?: number;
3232
+ readonly offset?: number;
3233
+ }): Promise<BipUpdateListResponse>;
3234
+ declare function listBipUpdateComments(context: TransportContext, input: {
3235
+ readonly bearer?: string;
3236
+ readonly slug: string;
3237
+ readonly updateId: string;
3238
+ readonly limit?: number;
3239
+ readonly offset?: number;
3240
+ }): Promise<BipUpdateCommentListResponse>;
3241
+ declare function getMyBipUpdateReactions(context: TransportContext, input: {
3242
+ readonly bearer: string;
3243
+ readonly slug: string;
3244
+ }): Promise<MyBipUpdateReactionsResponse>;
3245
+ declare function setBipUpdateReaction(context: TransportContext, input: {
3246
+ readonly bearer: string;
3247
+ readonly slug: string;
3248
+ readonly updateId: string;
3249
+ readonly body: SetBipUpdateReactionRequest;
3250
+ }): Promise<SetBipUpdateReactionResponse>;
3251
+ declare function commentOnBipUpdate(context: TransportContext, input: {
3252
+ readonly bearer: string;
3253
+ readonly slug: string;
3254
+ readonly updateId: string;
3255
+ readonly body: string;
3256
+ }): Promise<CreateBipUpdateCommentResponse>;
3257
+ declare function deleteBipUpdateComment(context: TransportContext, input: {
3258
+ readonly bearer: string;
3259
+ readonly slug: string;
3260
+ readonly commentId: string;
3261
+ }): Promise<DeleteBipUpdateCommentResponse>;
3262
+ declare function listDeveloperBipUpdates(context: TransportContext, input: {
3263
+ readonly bearer: string;
3264
+ readonly appId: string;
3265
+ readonly limit?: number;
3266
+ readonly offset?: number;
3267
+ }): Promise<BipUpdateListResponse>;
3268
+ declare function createBipUpdate(context: TransportContext, input: {
3269
+ readonly bearer: string;
3270
+ readonly appId: string;
3271
+ readonly body: CreateBipUpdateRequest;
3272
+ }): Promise<BipUpdate>;
3273
+ declare function updateBipUpdate(context: TransportContext, input: {
3274
+ readonly bearer: string;
3275
+ readonly appId: string;
3276
+ readonly updateId: string;
3277
+ readonly body: UpdateBipUpdateRequest;
3278
+ }): Promise<BipUpdate>;
3279
+ declare function deleteBipUpdate(context: TransportContext, input: {
3280
+ readonly bearer: string;
3281
+ readonly appId: string;
3282
+ readonly updateId: string;
3283
+ }): Promise<DeleteBipUpdateResponse>;
3284
+ declare function uploadBipUpdateMedia(context: TransportContext, input: {
3285
+ readonly bearer: string;
3286
+ readonly appId: string;
3287
+ readonly file: Blob;
3288
+ readonly filename: string;
3289
+ readonly contentType: string;
3290
+ }): Promise<BipUpdateMediaUploadResponse>;
3291
+ declare function getBipInterestCount(context: TransportContext, input: {
3292
+ readonly bearer?: string;
3293
+ readonly slug: string;
3294
+ }): Promise<BipInterestCountResponse>;
3295
+ declare function getMyBipEngagement(context: TransportContext, input: {
3296
+ readonly bearer: string;
3297
+ readonly slug: string;
3298
+ }): Promise<BipEngagementResponse>;
3299
+ declare function registerBipInterest(context: TransportContext, input: {
3300
+ readonly bearer: string;
3301
+ readonly slug: string;
3302
+ readonly interested: boolean;
3303
+ }): Promise<BipEngagementResponse>;
3304
+ declare function subscribeBipUpdates(context: TransportContext, input: {
3305
+ readonly bearer: string;
3306
+ readonly slug: string;
3307
+ readonly subscribed: boolean;
3308
+ }): Promise<BipEngagementResponse>;
3309
+ //#endregion
3310
+ //#region src/catalog/build-in-public.d.ts
3311
+ declare function getBipDirectory(context: TransportContext, input: {
3312
+ readonly bearer?: string;
3313
+ readonly genre?: string;
3314
+ readonly q?: string;
3315
+ readonly before?: string;
3316
+ readonly limit?: number;
3317
+ }): Promise<LibraryListResponse>;
3318
+ declare function getBipPage(context: TransportContext, input: {
3319
+ readonly bearer?: string;
3320
+ readonly slug: string;
3321
+ }): Promise<PublicBipPage>;
3322
+ //#endregion
2652
3323
  //#region src/catalog/content-reports.d.ts
2653
3324
  declare function submitAppContentReport(context: TransportContext, input: {
2654
3325
  readonly appId: string;
@@ -2813,6 +3484,9 @@ declare function getPaymentHistory(context: TransportContext, input: {
2813
3484
  readonly before?: string;
2814
3485
  }): Promise<PaymentHistoryResponse>;
2815
3486
  //#endregion
3487
+ //#region src/dashboard/rates.d.ts
3488
+ declare function getPaymentRates(context: TransportContext): Promise<PaymentRatesResponse>;
3489
+ //#endregion
2816
3490
  //#region src/developer/api-keys.d.ts
2817
3491
  declare function createDeveloperApiKey(context: TransportContext, input: {
2818
3492
  readonly bearer: string;
@@ -2950,6 +3624,53 @@ declare function updateDeveloperAppContentReportStatus(context: TransportContext
2950
3624
  readonly status: "acknowledged" | "dismissed";
2951
3625
  }): Promise<AppContentReport>;
2952
3626
  //#endregion
3627
+ //#region src/developer/inventory.d.ts
3628
+ declare function quoteDeveloperAppInventoryRegistration(context: TransportContext, input: {
3629
+ readonly bearer: string;
3630
+ readonly appId: string;
3631
+ readonly registration: InventoryItemRegistrationInput;
3632
+ }): Promise<InventoryRegistrationQuote>;
3633
+ declare function registerDeveloperAppInventoryItem(context: TransportContext, input: {
3634
+ readonly bearer: string;
3635
+ readonly appId: string;
3636
+ readonly registration: InventoryItemRegistrationInput;
3637
+ }): Promise<InventoryItemRegistrationResult>;
3638
+ declare function listDeveloperAppInventoryCollections(context: TransportContext, input: {
3639
+ readonly bearer: string;
3640
+ readonly appId: string;
3641
+ }): Promise<InventoryCollectionListResponse>;
3642
+ declare function listDeveloperAppInventoryItems(context: TransportContext, input: {
3643
+ readonly bearer: string;
3644
+ readonly appId: string;
3645
+ }): Promise<InventoryItemListResponse>;
3646
+ declare function createDeveloperAppMintPermit(context: TransportContext, input: {
3647
+ readonly bearer: string;
3648
+ readonly appId: string;
3649
+ readonly itemId: string;
3650
+ readonly grant: InventoryMintPermitCreateInput;
3651
+ }): Promise<InventoryMintPermitRecord>;
3652
+ declare function getDeveloperAppInventoryItemHolders(context: TransportContext, input: {
3653
+ readonly bearer: string;
3654
+ readonly appId: string;
3655
+ readonly itemId: string;
3656
+ }): Promise<InventoryItemHoldersResponse>;
3657
+ declare function uploadDeveloperAppInventoryItemImage(context: TransportContext, input: {
3658
+ readonly bearer: string;
3659
+ readonly appId: string;
3660
+ readonly itemId: string;
3661
+ readonly file: Blob | ArrayBufferView | ArrayBuffer;
3662
+ readonly filename: string;
3663
+ readonly contentType: string;
3664
+ }): Promise<InventoryItemRecord>;
3665
+ declare function uploadDeveloperAppInventoryItemBanner(context: TransportContext, input: {
3666
+ readonly bearer: string;
3667
+ readonly appId: string;
3668
+ readonly itemId: string;
3669
+ readonly file: Blob | ArrayBufferView | ArrayBuffer;
3670
+ readonly filename: string;
3671
+ readonly contentType: string;
3672
+ }): Promise<InventoryItemRecord>;
3673
+ //#endregion
2953
3674
  //#region src/developer/pages.d.ts
2954
3675
  declare function getDeveloperAppPage(context: TransportContext, input: {
2955
3676
  readonly bearer: string;
@@ -3008,6 +3729,19 @@ declare function unpublishAppPage(context: TransportContext, input: {
3008
3729
  readonly bearer: string;
3009
3730
  readonly appId: string;
3010
3731
  }): Promise<AppPageDraft>;
3732
+ declare function setAppPageBip(context: TransportContext, input: {
3733
+ readonly bearer: string;
3734
+ readonly appId: string;
3735
+ readonly body: AppPageBipToggle;
3736
+ }): Promise<AppPageDraft>;
3737
+ declare function submitAppPageBipForReview(context: TransportContext, input: {
3738
+ readonly bearer: string;
3739
+ readonly appId: string;
3740
+ }): Promise<AppPageDraft>;
3741
+ declare function unpublishAppPageBip(context: TransportContext, input: {
3742
+ readonly bearer: string;
3743
+ readonly appId: string;
3744
+ }): Promise<AppPageDraft>;
3011
3745
  //#endregion
3012
3746
  //#region src/developer/participants.d.ts
3013
3747
  declare function listDeveloperAppParticipants(context: TransportContext, input: {
@@ -3074,6 +3808,20 @@ declare function uploadMultipart(context: TransportContext, input: {
3074
3808
  readonly contentType: string;
3075
3809
  }): Promise<unknown>;
3076
3810
  //#endregion
3811
+ //#region src/developer/vault.d.ts
3812
+ declare function createDeveloperVaultPermit(context: TransportContext, input: {
3813
+ readonly bearer: string;
3814
+ readonly appId: string;
3815
+ readonly itemId: string;
3816
+ readonly grant: InventoryVaultPermitCreateInput;
3817
+ }): Promise<InventoryVaultPermitRecord>;
3818
+ declare function createDeveloperWithdrawPermit(context: TransportContext, input: {
3819
+ readonly bearer: string;
3820
+ readonly appId: string;
3821
+ readonly itemId: string;
3822
+ readonly grant: InventoryWithdrawPermitCreateInput;
3823
+ }): Promise<InventoryVaultPermitRecord>;
3824
+ //#endregion
3077
3825
  //#region src/inventory/list.d.ts
3078
3826
  declare function listInventory(context: TransportContext, input: {
3079
3827
  readonly bearer: string;
@@ -3082,12 +3830,55 @@ declare function listInventoryForApp(context: TransportContext, input: {
3082
3830
  readonly bearer: string;
3083
3831
  }): Promise<InventoryListResponse>;
3084
3832
  //#endregion
3833
+ //#region src/inventory/nft-transfer.d.ts
3834
+ declare function quoteNftTransfer(context: TransportContext, input: {
3835
+ readonly bearer: string;
3836
+ readonly body: InventoryNftTransferQuoteRequest;
3837
+ }): Promise<InventoryNftTransferQuoteResponse>;
3838
+ declare function executeNftTransfer(context: TransportContext, input: {
3839
+ readonly bearer: string;
3840
+ readonly body: InventoryNftTransferRequest;
3841
+ }): Promise<InventoryNftTransferResponse>;
3842
+ //#endregion
3843
+ //#region src/inventory/permits.d.ts
3844
+ declare function listInventoryMintPermits(context: TransportContext, input: {
3845
+ readonly bearer: string;
3846
+ }): Promise<InventoryPendingPermitListResponse>;
3847
+ declare function redeemInventoryMintPermit(context: TransportContext, input: {
3848
+ readonly bearer: string;
3849
+ readonly permitId: string;
3850
+ }): Promise<InventoryPermitRedeemResult>;
3851
+ //#endregion
3085
3852
  //#region src/inventory/request-mint.d.ts
3086
3853
  declare function requestMint(context: TransportContext, input: {
3087
3854
  readonly appBearer: string;
3088
3855
  readonly body: MintRequestInput;
3089
3856
  }): Promise<MintRequestResult>;
3090
3857
  //#endregion
3858
+ //#region src/inventory/vault.d.ts
3859
+ declare function listInventoryVaultPermits(context: TransportContext, input: {
3860
+ readonly bearer: string;
3861
+ }): Promise<InventoryPendingVaultPermitListResponse>;
3862
+ declare function signInventoryVaultPermit(context: TransportContext, input: {
3863
+ readonly bearer: string;
3864
+ readonly permitId: string;
3865
+ }): Promise<InventorySignedVaultPermit>;
3866
+ declare function quoteRelayedVaultPermit(context: TransportContext, input: {
3867
+ readonly bearer: string;
3868
+ readonly permitId: string;
3869
+ }): Promise<InventoryRelayedVaultQuoteResponse>;
3870
+ declare function submitRelayedVaultPermit(context: TransportContext, input: {
3871
+ readonly bearer: string;
3872
+ readonly permitId: string;
3873
+ readonly body: InventoryRelayedVaultSubmitRequest;
3874
+ }): Promise<InventoryRelayedVaultSubmitResponse>;
3875
+ declare function listInventoryVaulted(context: TransportContext, input: {
3876
+ readonly bearer: string;
3877
+ }): Promise<InventoryVaultCustodyListResponse>;
3878
+ declare function listOauthInventoryVaulted(context: TransportContext, input: {
3879
+ readonly bearer: string;
3880
+ }): Promise<InventoryVaultCustodyListResponse>;
3881
+ //#endregion
3091
3882
  //#region src/messaging/dm-key-backup.d.ts
3092
3883
  declare function getDmKeyBackupStatus(context: TransportContext, input: {
3093
3884
  readonly bearer: string;
@@ -3322,6 +4113,15 @@ declare function denyPaymentIntent(context: TransportContext, input: {
3322
4113
  readonly bearer: string;
3323
4114
  readonly intentId: string;
3324
4115
  }): Promise<OauthPaymentIntentResolveResponse>;
4116
+ declare function preparePaymentIntentSolana(context: TransportContext, input: {
4117
+ readonly bearer: string;
4118
+ readonly intentId: string;
4119
+ }): Promise<OauthPaymentIntentSolanaPrepareResponse>;
4120
+ declare function completePaymentIntentSolana(context: TransportContext, input: {
4121
+ readonly bearer: string;
4122
+ readonly intentId: string;
4123
+ readonly body: OauthPaymentIntentSolanaCompleteRequest;
4124
+ }): Promise<OauthPaymentIntentResolveResponse>;
3325
4125
  //#endregion
3326
4126
  //#region src/payments/limits.d.ts
3327
4127
  declare function getPaymentLimits(context: TransportContext, input: {
@@ -3369,6 +4169,17 @@ declare function createTronTransfer(context: TransportContext, input: {
3369
4169
  readonly body: TronTransferRequest;
3370
4170
  readonly idempotencyKey?: string;
3371
4171
  }): Promise<TronTransferResponse>;
4172
+ declare function getTronSecurity(context: TransportContext, input: {
4173
+ readonly bearer: string;
4174
+ }): Promise<TronSecuritySetting>;
4175
+ declare function setTronSecurity(context: TransportContext, input: {
4176
+ readonly bearer: string;
4177
+ readonly setting: TronSecuritySetting;
4178
+ }): Promise<TronSecuritySetting>;
4179
+ declare function createTronTransferChallenge(context: TransportContext, input: {
4180
+ readonly bearer: string;
4181
+ readonly body: TronTransferChallengeRequest;
4182
+ }): Promise<TronTransferChallengeResponse>;
3372
4183
  declare function createTronConnectOnboarding(context: TransportContext, input: {
3373
4184
  readonly bearer: string;
3374
4185
  }): Promise<TronConnectOnboardingResponse>;
@@ -3505,6 +4316,10 @@ declare function sendFriendRequest(context: TransportContext, input: {
3505
4316
  readonly bearer: string;
3506
4317
  readonly userId: string;
3507
4318
  }): Promise<void>;
4319
+ declare function removeFriend(context: TransportContext, input: {
4320
+ readonly bearer: string;
4321
+ readonly userId: string;
4322
+ }): Promise<void>;
3508
4323
  declare function decideFriendRequest(context: TransportContext, input: {
3509
4324
  readonly bearer: string;
3510
4325
  readonly requestId: string;
@@ -3517,6 +4332,9 @@ declare function cancelFriendRequest(context: TransportContext, input: {
3517
4332
  declare function listFriends(context: TransportContext, input: {
3518
4333
  readonly bearer: string;
3519
4334
  }): Promise<FriendListResponse>;
4335
+ declare function listFriendsForApp(context: TransportContext, input: {
4336
+ readonly bearer: string;
4337
+ }): Promise<AppFriendListResponse>;
3520
4338
  //#endregion
3521
4339
  //#region src/reads/socials.d.ts
3522
4340
  declare function listSocials(context: TransportContext, input: {
@@ -3808,4 +4626,4 @@ type CookieTokenStoreOptions = {
3808
4626
  };
3809
4627
  declare function createCookieTokenStore(options?: CookieTokenStoreOptions): TokenStore;
3810
4628
  //#endregion
3811
- 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 };
4629
+ export { AuthorizeUrl, type BrowserClientConfig, BuildAuthorizeUrlInput, ChargeResult, CookieTokenStoreOptions, type FetchLike, InflightDedup, type Logger, MountPresenceWidgetOptions, NOOP_RATE_LIMITER, OauthErrorCode, OauthPaymentWebhookBody, type OauthScope, PkcePair, PresenceStatus, PresenceWidgetHandle, RateLimitOptions, RateLimiter, SERVER_RATE_LIMIT_MAX_MUTATING, SERVER_RATE_LIMIT_MAX_READ, SERVER_RATE_LIMIT_WINDOW_MS, type SdkBaseConfig, TRON_WS_CLOSE_CODES, type TokenSet, type TokenStore, TronBrowserClient, TronError, TronOauthError, TronWsCloseCode, TronWsCloseError, VerifyWebhookFailure, VerifyWebhookInput, VerifyWebhookResult, VerifyWebhookSuccess, WEBHOOK_SIGNATURE_HEADER, WEBHOOK_TIMESTAMP_HEADER, acceptDeveloperInvite, addAdmin, addAppealBlacklist, addReaction, approveTronCashout, batchThreadDmKeys, bindReferral, buildAuthorizeUrl, cancelFriendRequest, charge, commentOnBipUpdate, commentOnGameReview, completePaymentIntent, completePaymentIntentSolana, consolidateDeveloperAppWallet, createBipUpdate, createConsoleLogger, createCookieTokenStore, createDelegation, createDeveloperApiKey, createDeveloperApp, createDeveloperAppMintPermit, createDeveloperVaultPermit, createDeveloperWithdrawPermit, createDirectThread, createInMemoryTokenStore, createInflightDedup, createNoopLogger, createRateLimiter, createReferralCode, createTronCashout, createTronConnectOnboarding, createTronDeposit, createTronTransfer, createTronTransferChallenge, decideFriendRequest, declineDeveloperInvite, defaultEndpoints, deleteAppPageBanner, deleteAppPageThumbnail, deleteAppPageThumbnailVideo, deleteAvatar, deleteBipUpdate, deleteBipUpdateComment, deleteDelegation, deleteDeveloperApp, deleteDeveloperAppLogo, deleteDeveloperProfileLogo, deleteDeveloperRequestLogo, deleteGameReviewComment, deleteGameReviewReply, deleteMessage, deleteMyGameReview, deleteThread, deleteThreadLogo, denyPaymentIntent, editMessage, exchangeAuthorizationCode, executeNftTransfer, fetchAuthorizationServerMetadata, fetchUserInfo, fileAppeal, fileAppealPotLeg, followUser, forceWithdrawVaultCustody, generatePkce, generateState, getActivity, getActivityGroup, getAdminAppealRoom, getAppFeeConfig, getAppPage, getAppPageChanges, getAppealRoom, getBipDirectory, getBipInterestCount, getBipPage, getDelegation, getDeveloperAppActivity, getDeveloperAppBalances, getDeveloperAppEarnings, getDeveloperAppInventoryItemHolders, getDeveloperAppOverview, getDeveloperAppPage, getDeveloperAppPlaytime, getDeveloperAppTronBalance, getDeveloperAppWallets, getDeveloperPaymentAppeals, getDeveloperPaymentPendingDeposits, getDeveloperStatus, getDeveloperTronBalanceSummary, getDmKeyBackupStatus, getEarningsTimeseries, getIntentStatus, getLibrary, getMeStats, getMoonpayAvailability, getMyBipEngagement, getMyBipUpdateReactions, getMyDmKey, getMyGameReview, getMyGameReviewReactions, getOutstanding, getPaymentChains, getPaymentHistory, getPaymentIntent, getPaymentLimits, getPaymentPrice, getPaymentRates, getPlatformFees, getPlaytime, getPlaytimeTimeseries, getPublicProfile, getReferral, getThreadDmKey, getTronBalance, getTronSecurity, hideAppPage, hideAppPageBip, hideThread, inviteDeveloperAppParticipant, inviteParticipants, leaveThread, listActivePlayers, listAdminContentReports, listAdmins, listAppPages, listAppealBlacklist, listAppealQueue, listAudit, listBipUpdateComments, listBipUpdates, listDeveloperApiKeys, listDeveloperAppContentReports, listDeveloperAppInventoryCollections, listDeveloperAppInventoryItems, listDeveloperAppParticipants, listDeveloperAppReviews, listDeveloperBipUpdates, listDeveloperInvites, listDeveloperRequests, listDevelopers, listFriends, listFriendsForApp, listGameReviewComments, listGameReviews, listInventory, listInventoryForApp, listInventoryMintPermits, listInventoryVaultPermits, listInventoryVaulted, listNotifications, listOauthInventoryVaulted, listPaymentAuthorizations, listSocials, listThreadMessages, listThreads, listTronCashoutQueue, listTronCashouts, listTronLedger, listUsers, listWalletManager, listWallets, markAllNotificationsRead, markThreadRead, mintMoonpayBuyUrl, mintMoonpaySellUrl, mountPresenceWidget, oauthPaymentWebhookBodySchema, pinThread, postAdminAppealRoomMessage, postAppealRoomMessage, preparePaymentIntentSolana, previewReferral, provisionDeveloperAppWallet, publishDmKey, quoteDeveloperAppInventoryRegistration, quoteNftTransfer, quoteRelayedVaultPermit, redeemInventoryMintPermit, refreshAccessToken, registerBipInterest, registerDeveloperAppInventoryItem, rejectTronCashout, removeAdmin, removeAppealBlacklist, removeFriend, removeParticipant, removeReaction, replyToGameReview, requestDeveloperAppProduction, requestMint, resolveAppeal, reviewAppPage, reviewAppPageBip, reviewAppPageChanges, reviewDeveloperRequest, revokeDeveloperApiKey, revokeDeveloperAppParticipant, revokePaymentAuthorization, revokeToken, rotateDeveloperAppKey, rotateDeveloperAppPaymentWebhookSecret, rotateProcessorTreasury, searchGiphy, searchUsers, sendFriendRequest, sendMessage, sendPresenceHeartbeat, setAppPageBip, setBipUpdateReaction, setMyGameReviewReaction, setProcessorWhitelist, setTronSecurity, setVaultOperator, setVaultPause, setVaultWithdrawLockDefault, setVaultWithdrawLockOverride, setupDmKeyBackup, sha256Base64Url, signInventoryVaultPermit, signPaymentIntent, submitAppContentReport, submitAppPageBipForReview, submitAppPageForReview, submitDeveloperRequest, submitRelayedVaultPermit, subscribeBipUpdates, tipGameReview, toTokenSet, triageAdminContentReport, unfollowUser, unhideAppPage, unhideAppPageBip, unlockDmKeyBackup, 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 };