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

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
  };
@@ -342,6 +360,7 @@ type PublicAppPage = {
342
360
  paymentsMode: AppPagePaymentsMode;
343
361
  oauthScopes: Array<string>;
344
362
  chains: Array<string>;
363
+ devlog: boolean;
345
364
  publishedAt: string;
346
365
  updatedAt: string;
347
366
  };
@@ -379,6 +398,121 @@ type AppPageAgeRating = "everyone" | "13_plus" | "16_plus" | "18_plus" | null;
379
398
  type AppPageLanguages = Array<"en" | "es" | "fr" | "de" | "pt" | "it" | "ru" | "ja" | "ko" | "zh" | "hi" | "ar" | "tr" | "vi" | "id" | "th" | "pl" | "nl">;
380
399
  type AppPageReleaseStatus = "live" | "open_beta" | "coming_soon";
381
400
  type AppPagePaymentsMode = "tron" | "onchain" | "both" | null;
401
+ type PublicBipPage = {
402
+ appId: string;
403
+ slug: AppPageSlug;
404
+ appName: string;
405
+ appLogoUrl: string | null;
406
+ categories: AppPageCategories;
407
+ tagline: AppPageTagline;
408
+ bannerUrl: string | null;
409
+ discordUrl: string | null;
410
+ twitterUrl: string | null;
411
+ redditUrl: string | null;
412
+ telegramUrl: string | null;
413
+ gallery: AppPageGallery;
414
+ chapters: AppPageChapters;
415
+ links: AppPageLinks;
416
+ studio: PublicAppPageStudio;
417
+ platforms: AppPagePlatforms;
418
+ gameType: AppPageGameType;
419
+ ageRating: AppPageAgeRating;
420
+ languages: AppPageLanguages;
421
+ releaseStatus: AppPageReleaseStatus;
422
+ publishedAt: string;
423
+ updatedAt: string;
424
+ };
425
+ type BipUpdateListResponse = {
426
+ updates: Array<BipUpdate>;
427
+ total: number;
428
+ hasMore: boolean;
429
+ pinned: BipUpdate | null;
430
+ };
431
+ type BipUpdate = {
432
+ id: string;
433
+ appId: string;
434
+ body: BipUpdateBody;
435
+ attachments: BipUpdateAttachments;
436
+ reactions: BipUpdateReactionCounts;
437
+ commentCount: number;
438
+ createdAt: string;
439
+ updatedAt: string;
440
+ pinnedAt: string | null;
441
+ };
442
+ type BipUpdateBody = string;
443
+ type BipUpdateAttachments = Array<BipUpdateAttachment>;
444
+ type BipUpdateAttachment = {
445
+ url: string;
446
+ kind: "image" | "video";
447
+ order: number;
448
+ };
449
+ type BipUpdateReactionCounts = {
450
+ up: number;
451
+ down: number;
452
+ };
453
+ type BipUpdateCommentListResponse = {
454
+ comments: Array<BipUpdateComment>;
455
+ total: number;
456
+ hasMore: boolean;
457
+ };
458
+ type BipUpdateComment = {
459
+ id: string;
460
+ body: BipUpdateCommentBody;
461
+ author: ReviewAuthor;
462
+ createdAt: string;
463
+ };
464
+ type BipUpdateCommentBody = string;
465
+ type ReviewAuthor = {
466
+ userId: string;
467
+ handle: string | null;
468
+ name: string | null;
469
+ avatarUrl: string | null;
470
+ };
471
+ type BipInterestCountResponse = {
472
+ interestCount: number;
473
+ };
474
+ type BipEngagementResponse = {
475
+ interested: boolean;
476
+ subscribed: boolean;
477
+ interestCount: number;
478
+ };
479
+ type MyBipUpdateReactionsResponse = {
480
+ reactions: Array<MyBipUpdateReaction>;
481
+ };
482
+ type MyBipUpdateReaction = {
483
+ updateId: string;
484
+ vote: "up" | "down";
485
+ };
486
+ type SetBipUpdateReactionResponse = {
487
+ reactions: BipUpdateReactionCounts;
488
+ vote: BipUpdateVote;
489
+ };
490
+ type BipUpdateVote = "up" | "down" | null;
491
+ type SetBipUpdateReactionRequest = {
492
+ vote: BipUpdateVote;
493
+ };
494
+ type CreateBipUpdateCommentResponse = {
495
+ comment: BipUpdateComment;
496
+ commentCount: number;
497
+ };
498
+ type DeleteBipUpdateCommentResponse = {
499
+ commentCount: number;
500
+ };
501
+ type CreateBipUpdateRequest = {
502
+ body: BipUpdateBody;
503
+ attachments?: BipUpdateAttachments;
504
+ };
505
+ type UpdateBipUpdateRequest = {
506
+ body?: BipUpdateBody;
507
+ attachments?: BipUpdateAttachments;
508
+ };
509
+ type DeleteBipUpdateResponse = {
510
+ deleted: true;
511
+ };
512
+ type BipUpdateMediaUploadResponse = {
513
+ url: string;
514
+ kind: "image" | "video";
515
+ };
382
516
  type ReviewListResponse = {
383
517
  aggregate: ReviewAggregate;
384
518
  reviews: Array<Review>;
@@ -412,12 +546,6 @@ type ReviewReactionCounts = {
412
546
  unhelpful: number;
413
547
  funny: number;
414
548
  };
415
- type ReviewAuthor = {
416
- userId: string;
417
- handle: string | null;
418
- name: string | null;
419
- avatarUrl: string | null;
420
- };
421
549
  type ReviewerStats = {
422
550
  playtimeSecondsThisGame: number;
423
551
  gamesPlayed: number;
@@ -474,6 +602,8 @@ type TipReviewResponse = {
474
602
  type TipReviewRequest = {
475
603
  amountCents: number;
476
604
  note?: string;
605
+ challengeId?: string;
606
+ signature?: string;
477
607
  };
478
608
  type ReviewCommentListResponse = {
479
609
  comments: Array<ReviewComment>;
@@ -604,7 +734,13 @@ type ActivityRow = ({
604
734
  kind: "tron_transfer";
605
735
  } & ActivityRowTronTransfer) | ({
606
736
  kind: "referral_earning";
607
- } & ActivityRowReferralEarning);
737
+ } & ActivityRowReferralEarning) | ({
738
+ kind: "nft_charge";
739
+ } & ActivityRowNftCharge) | ({
740
+ kind: "solana_stake";
741
+ } & ActivityRowSolanaStake) | ({
742
+ kind: "solana_pot_leg";
743
+ } & ActivityRowSolanaPotLeg);
608
744
  type ActivityRowPayment = {
609
745
  kind: "payment";
610
746
  groupId: string | null;
@@ -916,6 +1052,72 @@ type ActivityRowReferralEarning = {
916
1052
  logIndex: number;
917
1053
  usdCents: number | null;
918
1054
  };
1055
+ type ActivityRowNftCharge = {
1056
+ kind: "nft_charge";
1057
+ groupId: string | null;
1058
+ id: string;
1059
+ occurredAt: string;
1060
+ role: "outgoing";
1061
+ chargeKind: "registration" | "mint" | "transfer_gas";
1062
+ amountCents: number;
1063
+ usdCents: number;
1064
+ status: "settled";
1065
+ collectionAddress: string | null;
1066
+ tokenId: string | null;
1067
+ counterpartyUserId: string | null;
1068
+ counterpartyHandle: string | null;
1069
+ counterpartyDisplayName: string | null;
1070
+ };
1071
+ type ActivityRowSolanaStake = {
1072
+ kind: "solana_stake";
1073
+ groupId: string | null;
1074
+ id: string;
1075
+ chain: string;
1076
+ occurredAt: string;
1077
+ role: "outgoing" | "incoming";
1078
+ amount: string;
1079
+ token: string;
1080
+ potId: string | null;
1081
+ usdCents: number;
1082
+ status: "completed";
1083
+ txHash: string | null;
1084
+ app: {
1085
+ id: string;
1086
+ name: string;
1087
+ logoUrl: string | null;
1088
+ slug: string | null;
1089
+ bannerUrl: string | null;
1090
+ } | null;
1091
+ stakerUserId?: string | null;
1092
+ stakerHandle?: string | null;
1093
+ stakerDisplayName?: string | null;
1094
+ metadata?: PaymentMetadata | null;
1095
+ };
1096
+ type ActivityRowSolanaPotLeg = {
1097
+ kind: "solana_pot_leg";
1098
+ groupId: string | null;
1099
+ id: string;
1100
+ chain: string;
1101
+ occurredAt: string;
1102
+ role: "outgoing" | "incoming";
1103
+ beneficiary: string;
1104
+ potId: string | null;
1105
+ amount: string;
1106
+ token: string;
1107
+ usdCents: number | null;
1108
+ status: "settled";
1109
+ app: {
1110
+ id: string;
1111
+ name: string;
1112
+ logoUrl: string | null;
1113
+ slug: string | null;
1114
+ bannerUrl: string | null;
1115
+ } | null;
1116
+ txHash: string | null;
1117
+ recipientUserId?: string | null;
1118
+ recipientHandle?: string | null;
1119
+ recipientDisplayName?: string | null;
1120
+ };
919
1121
  type OutstandingResponse = {
920
1122
  rows: Array<OutstandingByToken>;
921
1123
  };
@@ -965,7 +1167,7 @@ type TronLedgerResponse = {
965
1167
  };
966
1168
  type TronLedgerEntry = {
967
1169
  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";
1170
+ kind: "deposit" | "pot_stake" | "pot_payout" | "dev_earning" | "cashout_hold" | "cashout_release" | "dispute_freeze" | "dispute_unfreeze" | "hosted_billing" | "store_purchase" | "referral_earning" | "peer_transfer" | "nft_registration" | "nft_mint" | "nft_gas";
969
1171
  amountCents: number;
970
1172
  currency: string;
971
1173
  createdAt: string;
@@ -994,6 +1196,30 @@ type TronTransferRequest = {
994
1196
  recipientUserId: string;
995
1197
  amountCents: number;
996
1198
  note?: string;
1199
+ challengeId?: string;
1200
+ signature?: string;
1201
+ threadId?: string;
1202
+ };
1203
+ type TronSecuritySetting = {
1204
+ requireSignature: boolean;
1205
+ };
1206
+ type TronTransferChallengeResponse = ({
1207
+ required: false;
1208
+ } & TronTransferChallengeNotRequired) | ({
1209
+ required: true;
1210
+ } & TronTransferChallengeRequired);
1211
+ type TronTransferChallengeNotRequired = {
1212
+ required: false;
1213
+ };
1214
+ type TronTransferChallengeRequired = {
1215
+ required: true;
1216
+ challengeId: string;
1217
+ message: string;
1218
+ expiresAt: string;
1219
+ };
1220
+ type TronTransferChallengeRequest = {
1221
+ recipientUserId: string;
1222
+ amountCents: number;
997
1223
  };
998
1224
  type TronConnectOnboardingResponse = {
999
1225
  url: string;
@@ -1051,12 +1277,15 @@ type WalletListResponse = {
1051
1277
  wallets: Array<WalletItem>;
1052
1278
  };
1053
1279
  type WalletChainList = Array<{
1054
- id: "ethereum-mainnet" | "base-mainnet" | "ethereum-sepolia";
1280
+ id: "ethereum-mainnet" | "base-mainnet" | "ethereum-sepolia" | "base-sepolia" | "solana-mainnet" | "solana-devnet";
1055
1281
  displayName: string;
1056
- chainId: number;
1282
+ family: "evm" | "solana";
1283
+ nativeSymbol: string;
1284
+ chainId?: number;
1057
1285
  }>;
1058
1286
  type WalletItem = {
1059
- address: string;
1287
+ address: string | string;
1288
+ family: "evm" | "solana";
1060
1289
  label: WalletLabel;
1061
1290
  kind: "personal" | "app";
1062
1291
  app: WalletAppLink;
@@ -1073,6 +1302,9 @@ type WalletBalances = {
1073
1302
  "ethereum-mainnet"?: WalletChainBalance;
1074
1303
  "base-mainnet"?: WalletChainBalance;
1075
1304
  "ethereum-sepolia"?: WalletChainBalance;
1305
+ "base-sepolia"?: WalletChainBalance;
1306
+ "solana-mainnet"?: WalletChainBalance;
1307
+ "solana-devnet"?: WalletChainBalance;
1076
1308
  };
1077
1309
  type WalletChainBalance = {
1078
1310
  native: string;
@@ -1082,12 +1314,14 @@ type WalletDelegationStatus = {
1082
1314
  mode: WalletDelegationMode;
1083
1315
  caps: WalletDelegationCaps;
1084
1316
  policyId: string | null;
1317
+ slippageBps: DelegationSlippageBps;
1085
1318
  };
1086
1319
  type WalletDelegationMode = "infinite" | "custom" | "scoped" | null;
1087
1320
  type WalletDelegationCaps = {
1088
1321
  native: string;
1089
1322
  usdc: string;
1090
1323
  } | null;
1324
+ type DelegationSlippageBps = number | null;
1091
1325
  type WalletLabelUpdateResponse = {
1092
1326
  address: string;
1093
1327
  label: WalletLabel;
@@ -1161,6 +1395,7 @@ type ThreadLastMessagePreview = {
1161
1395
  url: string;
1162
1396
  count: number;
1163
1397
  } | null;
1398
+ transaction?: MessageTransactionTronTransfer | MessageTransactionNftTransfer | null;
1164
1399
  sentAt: string;
1165
1400
  } | null;
1166
1401
  type MessageEnvelope = {
@@ -1172,6 +1407,20 @@ type MessageEnvelope = {
1172
1407
  iv: string;
1173
1408
  ct: string;
1174
1409
  } | null;
1410
+ type MessageTransactionTronTransfer = {
1411
+ kind: "tron_transfer";
1412
+ amountCents: number;
1413
+ recipientUserId: string;
1414
+ };
1415
+ type MessageTransactionNftTransfer = {
1416
+ kind: "nft_transfer";
1417
+ recipientUserId: string;
1418
+ collectionAddress: string;
1419
+ tokenId: string;
1420
+ amount: string;
1421
+ itemName: string | null;
1422
+ imageAssetId?: string | null;
1423
+ };
1175
1424
  type GroupThreadSummary = {
1176
1425
  kind: "group";
1177
1426
  id: string;
@@ -1218,6 +1467,7 @@ type MessageItem = {
1218
1467
  id: string;
1219
1468
  threadId: string;
1220
1469
  senderUserId: string;
1470
+ transaction?: MessageTransactionTronTransfer | MessageTransactionNftTransfer | null;
1221
1471
  body: string;
1222
1472
  envelope?: MessageEnvelope;
1223
1473
  sentAt: string;
@@ -1429,11 +1679,45 @@ type InventoryHolding = {
1429
1679
  tokenId: string;
1430
1680
  amount: string;
1431
1681
  name: string | null;
1682
+ description: string | null;
1432
1683
  imageAssetId: string | null;
1433
1684
  bannerAssetId: string | null;
1434
1685
  devMetadata: {
1435
1686
  [key: string]: unknown;
1436
1687
  };
1688
+ appId: string | null;
1689
+ appName: string | null;
1690
+ appLogoUrl: string | null;
1691
+ };
1692
+ type InventoryPendingPermitListResponse = {
1693
+ permits: Array<InventoryPendingPermit>;
1694
+ };
1695
+ type InventoryPendingPermit = {
1696
+ id: string;
1697
+ appId: string;
1698
+ itemId: string;
1699
+ amount: string;
1700
+ priceCents: number | null;
1701
+ gasSponsored: boolean;
1702
+ environment: "development" | "production";
1703
+ createdAt: string;
1704
+ tokenId: string;
1705
+ name: string | null;
1706
+ description: string | null;
1707
+ imageAssetId: string | null;
1708
+ chain: string;
1709
+ collectionAddress: string;
1710
+ kind: "erc721" | "erc1155";
1711
+ };
1712
+ type InventoryPermitRedeemResult = {
1713
+ mint: MintRequestResult;
1714
+ charge: {
1715
+ currency: "tron";
1716
+ gasCents: number;
1717
+ priceCents: number;
1718
+ totalCents: number;
1719
+ gasPaidBy: "user" | "developer";
1720
+ };
1437
1721
  };
1438
1722
  type MintRequestResult = {
1439
1723
  mintRequestId: string;
@@ -1449,6 +1733,247 @@ type MintRequestInput = {
1449
1733
  tokenId?: string;
1450
1734
  amount?: string;
1451
1735
  };
1736
+ type InventoryCollectionListResponse = {
1737
+ collections: Array<InventoryCollectionSummary>;
1738
+ };
1739
+ type InventoryCollectionSummary = {
1740
+ id: string;
1741
+ chain: string;
1742
+ collectionAddress: string;
1743
+ kind: "erc721" | "erc1155";
1744
+ name: string | null;
1745
+ environment: "development" | "production";
1746
+ };
1747
+ type InventoryRegistrationQuote = {
1748
+ itemCount: number;
1749
+ baselineUsdCents: number;
1750
+ gasUsdCents: number;
1751
+ tron: {
1752
+ baselineCents: number;
1753
+ gasCents: number;
1754
+ totalCents: number;
1755
+ };
1756
+ eth: {
1757
+ baselineWei: string;
1758
+ gasWei: string;
1759
+ totalWei: string;
1760
+ };
1761
+ };
1762
+ type InventoryItemRegistrationInput = {
1763
+ collectionAddress: string;
1764
+ chain: string;
1765
+ items: Array<InventoryItemRegistrationSpec>;
1766
+ };
1767
+ type InventoryItemRegistrationSpec = {
1768
+ name?: string | null;
1769
+ description?: string | null;
1770
+ devMetadata?: {
1771
+ [key: string]: unknown;
1772
+ };
1773
+ supplyType?: InventorySupplyType;
1774
+ maxSupply?: string | null;
1775
+ active?: boolean;
1776
+ };
1777
+ type InventorySupplyType = "capped" | "flexible" | "unlimited";
1778
+ type InventoryItemRegistrationResult = {
1779
+ items: Array<InventoryItemRecord>;
1780
+ charge: {
1781
+ currency: "tron";
1782
+ amountCents: number;
1783
+ baselineCents: number;
1784
+ gasCents: number;
1785
+ addItemTxHash: string;
1786
+ };
1787
+ };
1788
+ type InventoryItemRecord = {
1789
+ id: string;
1790
+ collectionId: string;
1791
+ collectionAddress: string;
1792
+ chain: string;
1793
+ kind: "erc721" | "erc1155";
1794
+ tokenId: string;
1795
+ name: string | null;
1796
+ description: string | null;
1797
+ imageAssetId: string | null;
1798
+ bannerAssetId: string | null;
1799
+ devMetadata: {
1800
+ [key: string]: unknown;
1801
+ };
1802
+ supplyType: InventorySupplyType | null;
1803
+ maxSupply: string | null;
1804
+ active: boolean;
1805
+ };
1806
+ type InventoryItemListResponse = {
1807
+ items: Array<InventoryItemRecord>;
1808
+ };
1809
+ type InventoryMintPermitRecord = {
1810
+ id: string;
1811
+ appId: string;
1812
+ itemId: string;
1813
+ userId: string;
1814
+ amount: string;
1815
+ priceCents: number | null;
1816
+ gasSponsored: boolean;
1817
+ status: "pending" | "redeemed" | "revoked";
1818
+ createdAt: string;
1819
+ };
1820
+ type InventoryMintPermitCreateInput = {
1821
+ toUserId: string;
1822
+ amount?: string;
1823
+ priceCents?: number | null;
1824
+ gasSponsored?: boolean;
1825
+ };
1826
+ type InventoryItemHoldersResponse = {
1827
+ stats: InventoryItemStats;
1828
+ holders: Array<InventoryItemHolder>;
1829
+ };
1830
+ type InventoryItemStats = {
1831
+ holderCount: number;
1832
+ walletCount: number;
1833
+ totalHeld: string;
1834
+ };
1835
+ type InventoryItemHolder = {
1836
+ walletAddress: string;
1837
+ userId: string | null;
1838
+ amount: string;
1839
+ };
1840
+ type InventoryVaultPermitRecord = {
1841
+ id: string;
1842
+ appId: string;
1843
+ itemId: string;
1844
+ userId: string;
1845
+ direction: "vault_in" | "withdraw";
1846
+ lockKind: "vault" | "burn" | null;
1847
+ amount: string;
1848
+ gasSponsored: boolean;
1849
+ status: "pending" | "redeemed" | "revoked";
1850
+ custodyId: string | null;
1851
+ createdAt: string;
1852
+ };
1853
+ type InventoryVaultPermitCreateInput = {
1854
+ toUserId: string;
1855
+ lockKind: "vault" | "burn";
1856
+ amount?: string;
1857
+ gasSponsored?: boolean;
1858
+ };
1859
+ type InventoryWithdrawPermitCreateInput = {
1860
+ custodyId: string;
1861
+ };
1862
+ type InventoryPendingVaultPermitListResponse = {
1863
+ permits: Array<InventoryPendingVaultPermit>;
1864
+ };
1865
+ type InventoryPendingVaultPermit = {
1866
+ id: string;
1867
+ appId: string;
1868
+ itemId: string;
1869
+ direction: "vault_in" | "withdraw";
1870
+ lockKind: "vault" | "burn" | null;
1871
+ amount: string;
1872
+ gasSponsored: boolean;
1873
+ environment: "development" | "production";
1874
+ custodyId: string | null;
1875
+ createdAt: string;
1876
+ tokenId: string;
1877
+ name: string | null;
1878
+ description: string | null;
1879
+ imageAssetId: string | null;
1880
+ chain: string;
1881
+ collectionAddress: string;
1882
+ kind: "erc721" | "erc1155";
1883
+ };
1884
+ type InventorySignedVaultPermit = {
1885
+ permitId: string;
1886
+ direction: "vault_in" | "withdraw";
1887
+ vault: string;
1888
+ collection: string;
1889
+ user: string;
1890
+ tokenId: string;
1891
+ amount: string;
1892
+ lockKind: "vault" | "burn" | null;
1893
+ destination: string | null;
1894
+ deadline: number;
1895
+ signature: string;
1896
+ };
1897
+ type InventoryRelayedVaultQuoteResponse = {
1898
+ direction: "vault_in" | "withdraw";
1899
+ collection: string;
1900
+ vault: string;
1901
+ chainId: number;
1902
+ user: string;
1903
+ tokenId: string;
1904
+ amount: string;
1905
+ nonce: string | null;
1906
+ deadline: number;
1907
+ feeCents: number;
1908
+ gasWei: string;
1909
+ gasPaidBy: "developer" | "user";
1910
+ requiresUserSignature: boolean;
1911
+ };
1912
+ type InventoryRelayedVaultSubmitResponse = {
1913
+ ok: boolean;
1914
+ txHash: string;
1915
+ chargedCents: number;
1916
+ gasPaidBy: "developer" | "user";
1917
+ };
1918
+ type InventoryRelayedVaultSubmitRequest = {
1919
+ userSignature?: string;
1920
+ deadline?: number;
1921
+ };
1922
+ type InventoryNftTransferQuoteResponse = {
1923
+ collection: string;
1924
+ chainId: number;
1925
+ from: string;
1926
+ to: string;
1927
+ tokenId: string;
1928
+ amount: string;
1929
+ nonce: string;
1930
+ deadline: number;
1931
+ feeCents: number;
1932
+ gasWei: string;
1933
+ selfPayAvailable: boolean;
1934
+ };
1935
+ type InventoryNftTransferQuoteRequest = {
1936
+ toUserId: string;
1937
+ collection: string;
1938
+ tokenId: string;
1939
+ amount?: string;
1940
+ };
1941
+ type InventoryNftTransferResponse = {
1942
+ ok: boolean;
1943
+ txHash: string;
1944
+ chargedCents: number;
1945
+ };
1946
+ type InventoryNftTransferRequest = {
1947
+ toUserId: string;
1948
+ collection: string;
1949
+ tokenId: string;
1950
+ amount?: string;
1951
+ deadline: number;
1952
+ userSignature: string;
1953
+ threadId?: string;
1954
+ };
1955
+ type InventoryVaultCustodyListResponse = {
1956
+ custody: Array<InventoryVaultCustody>;
1957
+ };
1958
+ type InventoryVaultCustody = {
1959
+ id: string;
1960
+ collectionId: string;
1961
+ collectionAddress: string;
1962
+ chain: string;
1963
+ kind: "erc721" | "erc1155";
1964
+ tokenId: string;
1965
+ amount: string;
1966
+ lockKind: "vault" | "burn";
1967
+ vaultAddress: string;
1968
+ createdAt: string;
1969
+ name: string | null;
1970
+ description: string | null;
1971
+ imageAssetId: string | null;
1972
+ };
1973
+ type InventoryVaultForceWithdrawResponse = {
1974
+ ok: boolean;
1975
+ txHash: string;
1976
+ };
1452
1977
  type NotificationListResponse = {
1453
1978
  notifications: Array<NotificationItem>;
1454
1979
  unreadCount: number;
@@ -1477,6 +2002,18 @@ type NotificationItem = {
1477
2002
  payload: AppPageRejectedNotificationPayload;
1478
2003
  read: boolean;
1479
2004
  createdAt: string;
2005
+ } | {
2006
+ id: string;
2007
+ kind: "bip_update_published";
2008
+ payload: BipUpdatePublishedNotificationPayload;
2009
+ read: boolean;
2010
+ createdAt: string;
2011
+ } | {
2012
+ id: string;
2013
+ kind: "bip_now_playable";
2014
+ payload: BipNowPlayableNotificationPayload;
2015
+ read: boolean;
2016
+ createdAt: string;
1480
2017
  } | {
1481
2018
  id: string;
1482
2019
  kind: "app_participant_invite";
@@ -1507,14 +2044,25 @@ type FriendAcceptedNotificationPayload = {
1507
2044
  type AppPageApprovedNotificationPayload = {
1508
2045
  appId: string;
1509
2046
  appName: string;
1510
- scope: "publish" | "changes";
2047
+ scope: "publish" | "changes" | "bip_publish";
1511
2048
  };
1512
2049
  type AppPageRejectedNotificationPayload = {
1513
2050
  appId: string;
1514
2051
  appName: string;
1515
- scope: "publish" | "changes";
2052
+ scope: "publish" | "changes" | "bip_publish";
1516
2053
  notes: string;
1517
2054
  };
2055
+ type BipUpdatePublishedNotificationPayload = {
2056
+ appId: string;
2057
+ appName: string;
2058
+ appSlug: string | null;
2059
+ updateId: string;
2060
+ };
2061
+ type BipNowPlayableNotificationPayload = {
2062
+ appId: string;
2063
+ appName: string;
2064
+ appSlug: string | null;
2065
+ };
1518
2066
  type AppParticipantInviteNotificationPayload = {
1519
2067
  appId: string;
1520
2068
  appName: string;
@@ -1544,6 +2092,9 @@ type FriendListItem = {
1544
2092
  onlineStatus: OnlineStatus;
1545
2093
  };
1546
2094
  type OnlineStatus = "online" | "offline";
2095
+ type AppFriendListResponse = {
2096
+ friends: Array<ThreadParticipant>;
2097
+ };
1547
2098
  type FriendRequestDecision = {
1548
2099
  decision: "accept" | "reject";
1549
2100
  };
@@ -1673,17 +2224,20 @@ type CreateDeveloperAppChain = {
1673
2224
  };
1674
2225
  type UpdateDeveloperApp = {
1675
2226
  name?: DeveloperAppName;
2227
+ slug?: AppPageSlug | null;
1676
2228
  logoUrl?: string | null;
1677
2229
  testAccess?: "private" | "public";
1678
2230
  redirectUris?: Array<string>;
1679
2231
  embedOrigins?: Array<EmbedOrigin>;
1680
2232
  acceptedCurrencies?: AcceptedCurrencies;
2233
+ acceptedNetworks?: AcceptedNetworks;
1681
2234
  paymentStatusWebhookUrl?: string | null;
1682
2235
  paymentStatusWebhookUrlTest?: string | null;
1683
2236
  };
1684
2237
  type EmbedOrigin = string;
1685
2238
  type AcceptedCurrencies = Array<PlatformCurrency>;
1686
2239
  type PlatformCurrency = "eth" | "tron";
2240
+ type AcceptedNetworks = Array<PaymentNetwork> | null;
1687
2241
  type DeveloperLogoUploadResponse = {
1688
2242
  logoUrl: string | null;
1689
2243
  };
@@ -1746,7 +2300,7 @@ type DeveloperAppWalletsResponse = {
1746
2300
  };
1747
2301
  type DeveloperAppWalletItem = {
1748
2302
  chain: string;
1749
- address: string;
2303
+ address: string | string;
1750
2304
  custody: "server" | null;
1751
2305
  walletId: string | null;
1752
2306
  autoSweepEnabled: boolean;
@@ -1767,7 +2321,7 @@ type DeveloperAppProvisionWalletResponse = {
1767
2321
  chain: string;
1768
2322
  custody: "server";
1769
2323
  walletId: string;
1770
- address: string;
2324
+ address: string | string;
1771
2325
  };
1772
2326
  type DeveloperAppWithdrawResponse = {
1773
2327
  appId: string;
@@ -1921,6 +2475,7 @@ type DeveloperProductionRequestPayload = {
1921
2475
  type DeveloperAppItem = {
1922
2476
  id: string;
1923
2477
  name: DeveloperAppName;
2478
+ slug: AppPageSlug | null;
1924
2479
  logoUrl: string | null;
1925
2480
  environment: "development" | "production";
1926
2481
  productionApprovedAt: string | null;
@@ -1929,6 +2484,7 @@ type DeveloperAppItem = {
1929
2484
  redirectUris: Array<string>;
1930
2485
  embedOrigins: Array<EmbedOrigin>;
1931
2486
  acceptedCurrencies: AcceptedCurrencies;
2487
+ acceptedNetworks: AcceptedNetworks;
1932
2488
  payoutAddresses: Array<DeveloperAppPayoutAddressItem>;
1933
2489
  keys: Array<DeveloperAppKeyItem>;
1934
2490
  pendingProductionRequestId: string | null;
@@ -1983,9 +2539,18 @@ type AppPageDraft = {
1983
2539
  hiddenAt: string | null;
1984
2540
  hiddenReasonPublic: string | null;
1985
2541
  pendingReview: boolean;
2542
+ bip: AppPageBipState;
2543
+ };
2544
+ type AppPageBipState = {
2545
+ enabled: boolean;
2546
+ status: "draft" | "pending_review" | "published" | "hidden";
2547
+ firstPublishedAt: string | null;
2548
+ reviewedAt: string | null;
2549
+ reviewNotes: string | null;
2550
+ hiddenAt: string | null;
2551
+ hiddenReasonPublic: string | null;
1986
2552
  };
1987
2553
  type UpdateAppPage = {
1988
- slug?: AppPageSlug | null;
1989
2554
  categories?: AppPageCategories;
1990
2555
  tagline?: AppPageTagline | null;
1991
2556
  bannerUrl?: string | null;
@@ -2008,6 +2573,9 @@ type UpdateAppPage = {
2008
2573
  type AppPageGalleryUploadResponse = {
2009
2574
  url: string;
2010
2575
  };
2576
+ type AppPageBipToggle = {
2577
+ enabled: boolean;
2578
+ };
2011
2579
  type AdminActivePlayersResponse = {
2012
2580
  players: Array<AdminActivePlayer>;
2013
2581
  total: number;
@@ -2146,6 +2714,11 @@ type AdminAppPageItem = {
2146
2714
  hiddenAt: string | null;
2147
2715
  hiddenReasonInternal: string | null;
2148
2716
  pendingChangesSubmittedAt: string | null;
2717
+ bipEnabled: boolean;
2718
+ bipStatus: "draft" | "pending_review" | "published" | "hidden";
2719
+ bipFirstPublishedAt: string | null;
2720
+ bipHiddenAt: string | null;
2721
+ openReportCount: number;
2149
2722
  };
2150
2723
  type AdminAppPageStatusResponse = {
2151
2724
  status: "draft" | "pending_review" | "published" | "hidden";
@@ -2171,6 +2744,25 @@ type AdminAppPageDiffField = {
2171
2744
  from: string;
2172
2745
  to: string;
2173
2746
  };
2747
+ type AdminAppPageBipStatusResponse = {
2748
+ bipStatus: "draft" | "pending_review" | "published" | "hidden";
2749
+ };
2750
+ type AdminAppContentReportListResponse = {
2751
+ reports: Array<AdminAppContentReportItem>;
2752
+ total: number;
2753
+ hasMore: boolean;
2754
+ };
2755
+ type AdminAppContentReportItem = {
2756
+ id: string;
2757
+ category: AppContentReportCategory;
2758
+ details: string | null;
2759
+ status: AppContentReportStatus;
2760
+ acknowledgedAt: string | null;
2761
+ createdAt: string;
2762
+ appId: string;
2763
+ appName: string;
2764
+ appSlug: string | null;
2765
+ };
2174
2766
  type PlatformFeesResponse = {
2175
2767
  purchaseFeeBps: number;
2176
2768
  stakeFeeBps: number;
@@ -2351,6 +2943,13 @@ type AppealResolveRequest = {
2351
2943
  decision: "refund" | "dismiss";
2352
2944
  notes?: string;
2353
2945
  };
2946
+ type PaymentRatesResponse = {
2947
+ asOf: string;
2948
+ ethUsd: number | null;
2949
+ solUsd: number | null;
2950
+ solLamportsPerCent: number | null;
2951
+ tronUsdPerToken: number;
2952
+ };
2354
2953
  type AppealFileResponse = {
2355
2954
  appealId: string;
2356
2955
  paymentId: string;
@@ -2460,7 +3059,7 @@ declare function listActivePlayers(context: TransportContext, input: {
2460
3059
  //#region src/admin/app-pages.d.ts
2461
3060
  declare function listAppPages(context: TransportContext, input: {
2462
3061
  readonly bearer: string;
2463
- readonly status?: "draft" | "pending_review" | "published" | "hidden" | "all" | "pending_changes";
3062
+ readonly status?: "draft" | "pending_review" | "published" | "hidden" | "all" | "pending_changes" | "bip_pending_review";
2464
3063
  }): Promise<AdminAppPageListResponse>;
2465
3064
  declare function getAppPageChanges(context: TransportContext, input: {
2466
3065
  readonly bearer: string;
@@ -2485,6 +3084,20 @@ declare function reviewAppPage(context: TransportContext, input: {
2485
3084
  readonly appId: string;
2486
3085
  readonly body: ReviewAppPage;
2487
3086
  }): Promise<AdminAppPageStatusResponse>;
3087
+ declare function reviewAppPageBip(context: TransportContext, input: {
3088
+ readonly bearer: string;
3089
+ readonly appId: string;
3090
+ readonly body: ReviewAppPage;
3091
+ }): Promise<AdminAppPageBipStatusResponse>;
3092
+ declare function hideAppPageBip(context: TransportContext, input: {
3093
+ readonly bearer: string;
3094
+ readonly appId: string;
3095
+ readonly body: HideAppPage;
3096
+ }): Promise<AdminAppPageBipStatusResponse>;
3097
+ declare function unhideAppPageBip(context: TransportContext, input: {
3098
+ readonly bearer: string;
3099
+ readonly appId: string;
3100
+ }): Promise<AdminAppPageBipStatusResponse>;
2488
3101
  //#endregion
2489
3102
  //#region src/admin/appeals.d.ts
2490
3103
  declare function listAppealQueue(context: TransportContext, input: {
@@ -2516,6 +3129,19 @@ declare function resolveAppeal(context: TransportContext, input: {
2516
3129
  readonly body: AppealResolveRequest;
2517
3130
  }): Promise<AppealResolveSignedResponse>;
2518
3131
  //#endregion
3132
+ //#region src/admin/content-reports.d.ts
3133
+ declare function listAdminContentReports(context: TransportContext, input: {
3134
+ readonly bearer: string;
3135
+ readonly status?: "open" | "acknowledged" | "dismissed" | "all";
3136
+ readonly limit?: number;
3137
+ readonly offset?: number;
3138
+ }): Promise<AdminAppContentReportListResponse>;
3139
+ declare function triageAdminContentReport(context: TransportContext, input: {
3140
+ readonly bearer: string;
3141
+ readonly reportId: string;
3142
+ readonly status: "acknowledged" | "dismissed";
3143
+ }): Promise<AppContentReport>;
3144
+ //#endregion
2519
3145
  //#region src/admin/developers.d.ts
2520
3146
  declare function listDeveloperRequests(context: TransportContext, input: {
2521
3147
  readonly bearer: string;
@@ -2531,6 +3157,12 @@ declare function listDevelopers(context: TransportContext, input: {
2531
3157
  readonly bearer: string;
2532
3158
  }): Promise<AdminDeveloperListResponse>;
2533
3159
  //#endregion
3160
+ //#region src/admin/inventory-vault.d.ts
3161
+ declare function forceWithdrawVaultCustody(context: TransportContext, input: {
3162
+ readonly bearer: string;
3163
+ readonly custodyId: string;
3164
+ }): Promise<InventoryVaultForceWithdrawResponse>;
3165
+ //#endregion
2534
3166
  //#region src/admin/payments.d.ts
2535
3167
  declare function getPlatformFees(context: TransportContext, input: {
2536
3168
  readonly bearer: string;
@@ -2649,6 +3281,113 @@ declare function getAppPage(context: TransportContext, input: {
2649
3281
  readonly slug: string;
2650
3282
  }): Promise<PublicAppPage>;
2651
3283
  //#endregion
3284
+ //#region src/catalog/bip-updates.d.ts
3285
+ declare function listBipUpdates(context: TransportContext, input: {
3286
+ readonly bearer?: string;
3287
+ readonly slug: string;
3288
+ readonly limit?: number;
3289
+ readonly offset?: number;
3290
+ }): Promise<BipUpdateListResponse>;
3291
+ declare function listBipUpdateComments(context: TransportContext, input: {
3292
+ readonly bearer?: string;
3293
+ readonly slug: string;
3294
+ readonly updateId: string;
3295
+ readonly limit?: number;
3296
+ readonly offset?: number;
3297
+ }): Promise<BipUpdateCommentListResponse>;
3298
+ declare function getMyBipUpdateReactions(context: TransportContext, input: {
3299
+ readonly bearer: string;
3300
+ readonly slug: string;
3301
+ }): Promise<MyBipUpdateReactionsResponse>;
3302
+ declare function setBipUpdateReaction(context: TransportContext, input: {
3303
+ readonly bearer: string;
3304
+ readonly slug: string;
3305
+ readonly updateId: string;
3306
+ readonly body: SetBipUpdateReactionRequest;
3307
+ }): Promise<SetBipUpdateReactionResponse>;
3308
+ declare function commentOnBipUpdate(context: TransportContext, input: {
3309
+ readonly bearer: string;
3310
+ readonly slug: string;
3311
+ readonly updateId: string;
3312
+ readonly body: string;
3313
+ }): Promise<CreateBipUpdateCommentResponse>;
3314
+ declare function deleteBipUpdateComment(context: TransportContext, input: {
3315
+ readonly bearer: string;
3316
+ readonly slug: string;
3317
+ readonly commentId: string;
3318
+ }): Promise<DeleteBipUpdateCommentResponse>;
3319
+ declare function listDeveloperBipUpdates(context: TransportContext, input: {
3320
+ readonly bearer: string;
3321
+ readonly appId: string;
3322
+ readonly limit?: number;
3323
+ readonly offset?: number;
3324
+ }): Promise<BipUpdateListResponse>;
3325
+ declare function createBipUpdate(context: TransportContext, input: {
3326
+ readonly bearer: string;
3327
+ readonly appId: string;
3328
+ readonly body: CreateBipUpdateRequest;
3329
+ }): Promise<BipUpdate>;
3330
+ declare function updateBipUpdate(context: TransportContext, input: {
3331
+ readonly bearer: string;
3332
+ readonly appId: string;
3333
+ readonly updateId: string;
3334
+ readonly body: UpdateBipUpdateRequest;
3335
+ }): Promise<BipUpdate>;
3336
+ declare function deleteBipUpdate(context: TransportContext, input: {
3337
+ readonly bearer: string;
3338
+ readonly appId: string;
3339
+ readonly updateId: string;
3340
+ }): Promise<DeleteBipUpdateResponse>;
3341
+ declare function pinBipUpdate(context: TransportContext, input: {
3342
+ readonly bearer: string;
3343
+ readonly appId: string;
3344
+ readonly updateId: string;
3345
+ }): Promise<BipUpdate>;
3346
+ declare function unpinBipUpdate(context: TransportContext, input: {
3347
+ readonly bearer: string;
3348
+ readonly appId: string;
3349
+ readonly updateId: string;
3350
+ }): Promise<BipUpdate>;
3351
+ declare function uploadBipUpdateMedia(context: TransportContext, input: {
3352
+ readonly bearer: string;
3353
+ readonly appId: string;
3354
+ readonly file: Blob;
3355
+ readonly filename: string;
3356
+ readonly contentType: string;
3357
+ }): Promise<BipUpdateMediaUploadResponse>;
3358
+ declare function getBipInterestCount(context: TransportContext, input: {
3359
+ readonly bearer?: string;
3360
+ readonly slug: string;
3361
+ }): Promise<BipInterestCountResponse>;
3362
+ declare function getMyBipEngagement(context: TransportContext, input: {
3363
+ readonly bearer: string;
3364
+ readonly slug: string;
3365
+ }): Promise<BipEngagementResponse>;
3366
+ declare function registerBipInterest(context: TransportContext, input: {
3367
+ readonly bearer: string;
3368
+ readonly slug: string;
3369
+ readonly interested: boolean;
3370
+ }): Promise<BipEngagementResponse>;
3371
+ declare function subscribeBipUpdates(context: TransportContext, input: {
3372
+ readonly bearer: string;
3373
+ readonly slug: string;
3374
+ readonly subscribed: boolean;
3375
+ }): Promise<BipEngagementResponse>;
3376
+ //#endregion
3377
+ //#region src/catalog/build-in-public.d.ts
3378
+ declare function getBipDirectory(context: TransportContext, input: {
3379
+ readonly bearer?: string;
3380
+ readonly genre?: string;
3381
+ readonly q?: string;
3382
+ readonly sort?: "newest" | "top";
3383
+ readonly before?: string;
3384
+ readonly limit?: number;
3385
+ }): Promise<LibraryListResponse>;
3386
+ declare function getBipPage(context: TransportContext, input: {
3387
+ readonly bearer?: string;
3388
+ readonly slug: string;
3389
+ }): Promise<PublicBipPage>;
3390
+ //#endregion
2652
3391
  //#region src/catalog/content-reports.d.ts
2653
3392
  declare function submitAppContentReport(context: TransportContext, input: {
2654
3393
  readonly appId: string;
@@ -2661,6 +3400,7 @@ declare function getLibrary(context: TransportContext, input: {
2661
3400
  readonly bearer?: string;
2662
3401
  readonly genre?: string;
2663
3402
  readonly q?: string;
3403
+ readonly sort?: "newest" | "top";
2664
3404
  readonly before?: string;
2665
3405
  readonly limit?: number;
2666
3406
  }): Promise<LibraryListResponse>;
@@ -2813,6 +3553,9 @@ declare function getPaymentHistory(context: TransportContext, input: {
2813
3553
  readonly before?: string;
2814
3554
  }): Promise<PaymentHistoryResponse>;
2815
3555
  //#endregion
3556
+ //#region src/dashboard/rates.d.ts
3557
+ declare function getPaymentRates(context: TransportContext): Promise<PaymentRatesResponse>;
3558
+ //#endregion
2816
3559
  //#region src/developer/api-keys.d.ts
2817
3560
  declare function createDeveloperApiKey(context: TransportContext, input: {
2818
3561
  readonly bearer: string;
@@ -2950,6 +3693,53 @@ declare function updateDeveloperAppContentReportStatus(context: TransportContext
2950
3693
  readonly status: "acknowledged" | "dismissed";
2951
3694
  }): Promise<AppContentReport>;
2952
3695
  //#endregion
3696
+ //#region src/developer/inventory.d.ts
3697
+ declare function quoteDeveloperAppInventoryRegistration(context: TransportContext, input: {
3698
+ readonly bearer: string;
3699
+ readonly appId: string;
3700
+ readonly registration: InventoryItemRegistrationInput;
3701
+ }): Promise<InventoryRegistrationQuote>;
3702
+ declare function registerDeveloperAppInventoryItem(context: TransportContext, input: {
3703
+ readonly bearer: string;
3704
+ readonly appId: string;
3705
+ readonly registration: InventoryItemRegistrationInput;
3706
+ }): Promise<InventoryItemRegistrationResult>;
3707
+ declare function listDeveloperAppInventoryCollections(context: TransportContext, input: {
3708
+ readonly bearer: string;
3709
+ readonly appId: string;
3710
+ }): Promise<InventoryCollectionListResponse>;
3711
+ declare function listDeveloperAppInventoryItems(context: TransportContext, input: {
3712
+ readonly bearer: string;
3713
+ readonly appId: string;
3714
+ }): Promise<InventoryItemListResponse>;
3715
+ declare function createDeveloperAppMintPermit(context: TransportContext, input: {
3716
+ readonly bearer: string;
3717
+ readonly appId: string;
3718
+ readonly itemId: string;
3719
+ readonly grant: InventoryMintPermitCreateInput;
3720
+ }): Promise<InventoryMintPermitRecord>;
3721
+ declare function getDeveloperAppInventoryItemHolders(context: TransportContext, input: {
3722
+ readonly bearer: string;
3723
+ readonly appId: string;
3724
+ readonly itemId: string;
3725
+ }): Promise<InventoryItemHoldersResponse>;
3726
+ declare function uploadDeveloperAppInventoryItemImage(context: TransportContext, input: {
3727
+ readonly bearer: string;
3728
+ readonly appId: string;
3729
+ readonly itemId: string;
3730
+ readonly file: Blob | ArrayBufferView | ArrayBuffer;
3731
+ readonly filename: string;
3732
+ readonly contentType: string;
3733
+ }): Promise<InventoryItemRecord>;
3734
+ declare function uploadDeveloperAppInventoryItemBanner(context: TransportContext, input: {
3735
+ readonly bearer: string;
3736
+ readonly appId: string;
3737
+ readonly itemId: string;
3738
+ readonly file: Blob | ArrayBufferView | ArrayBuffer;
3739
+ readonly filename: string;
3740
+ readonly contentType: string;
3741
+ }): Promise<InventoryItemRecord>;
3742
+ //#endregion
2953
3743
  //#region src/developer/pages.d.ts
2954
3744
  declare function getDeveloperAppPage(context: TransportContext, input: {
2955
3745
  readonly bearer: string;
@@ -3008,6 +3798,19 @@ declare function unpublishAppPage(context: TransportContext, input: {
3008
3798
  readonly bearer: string;
3009
3799
  readonly appId: string;
3010
3800
  }): Promise<AppPageDraft>;
3801
+ declare function setAppPageBip(context: TransportContext, input: {
3802
+ readonly bearer: string;
3803
+ readonly appId: string;
3804
+ readonly body: AppPageBipToggle;
3805
+ }): Promise<AppPageDraft>;
3806
+ declare function submitAppPageBipForReview(context: TransportContext, input: {
3807
+ readonly bearer: string;
3808
+ readonly appId: string;
3809
+ }): Promise<AppPageDraft>;
3810
+ declare function unpublishAppPageBip(context: TransportContext, input: {
3811
+ readonly bearer: string;
3812
+ readonly appId: string;
3813
+ }): Promise<AppPageDraft>;
3011
3814
  //#endregion
3012
3815
  //#region src/developer/participants.d.ts
3013
3816
  declare function listDeveloperAppParticipants(context: TransportContext, input: {
@@ -3074,6 +3877,20 @@ declare function uploadMultipart(context: TransportContext, input: {
3074
3877
  readonly contentType: string;
3075
3878
  }): Promise<unknown>;
3076
3879
  //#endregion
3880
+ //#region src/developer/vault.d.ts
3881
+ declare function createDeveloperVaultPermit(context: TransportContext, input: {
3882
+ readonly bearer: string;
3883
+ readonly appId: string;
3884
+ readonly itemId: string;
3885
+ readonly grant: InventoryVaultPermitCreateInput;
3886
+ }): Promise<InventoryVaultPermitRecord>;
3887
+ declare function createDeveloperWithdrawPermit(context: TransportContext, input: {
3888
+ readonly bearer: string;
3889
+ readonly appId: string;
3890
+ readonly itemId: string;
3891
+ readonly grant: InventoryWithdrawPermitCreateInput;
3892
+ }): Promise<InventoryVaultPermitRecord>;
3893
+ //#endregion
3077
3894
  //#region src/inventory/list.d.ts
3078
3895
  declare function listInventory(context: TransportContext, input: {
3079
3896
  readonly bearer: string;
@@ -3082,12 +3899,55 @@ declare function listInventoryForApp(context: TransportContext, input: {
3082
3899
  readonly bearer: string;
3083
3900
  }): Promise<InventoryListResponse>;
3084
3901
  //#endregion
3902
+ //#region src/inventory/nft-transfer.d.ts
3903
+ declare function quoteNftTransfer(context: TransportContext, input: {
3904
+ readonly bearer: string;
3905
+ readonly body: InventoryNftTransferQuoteRequest;
3906
+ }): Promise<InventoryNftTransferQuoteResponse>;
3907
+ declare function executeNftTransfer(context: TransportContext, input: {
3908
+ readonly bearer: string;
3909
+ readonly body: InventoryNftTransferRequest;
3910
+ }): Promise<InventoryNftTransferResponse>;
3911
+ //#endregion
3912
+ //#region src/inventory/permits.d.ts
3913
+ declare function listInventoryMintPermits(context: TransportContext, input: {
3914
+ readonly bearer: string;
3915
+ }): Promise<InventoryPendingPermitListResponse>;
3916
+ declare function redeemInventoryMintPermit(context: TransportContext, input: {
3917
+ readonly bearer: string;
3918
+ readonly permitId: string;
3919
+ }): Promise<InventoryPermitRedeemResult>;
3920
+ //#endregion
3085
3921
  //#region src/inventory/request-mint.d.ts
3086
3922
  declare function requestMint(context: TransportContext, input: {
3087
3923
  readonly appBearer: string;
3088
3924
  readonly body: MintRequestInput;
3089
3925
  }): Promise<MintRequestResult>;
3090
3926
  //#endregion
3927
+ //#region src/inventory/vault.d.ts
3928
+ declare function listInventoryVaultPermits(context: TransportContext, input: {
3929
+ readonly bearer: string;
3930
+ }): Promise<InventoryPendingVaultPermitListResponse>;
3931
+ declare function signInventoryVaultPermit(context: TransportContext, input: {
3932
+ readonly bearer: string;
3933
+ readonly permitId: string;
3934
+ }): Promise<InventorySignedVaultPermit>;
3935
+ declare function quoteRelayedVaultPermit(context: TransportContext, input: {
3936
+ readonly bearer: string;
3937
+ readonly permitId: string;
3938
+ }): Promise<InventoryRelayedVaultQuoteResponse>;
3939
+ declare function submitRelayedVaultPermit(context: TransportContext, input: {
3940
+ readonly bearer: string;
3941
+ readonly permitId: string;
3942
+ readonly body: InventoryRelayedVaultSubmitRequest;
3943
+ }): Promise<InventoryRelayedVaultSubmitResponse>;
3944
+ declare function listInventoryVaulted(context: TransportContext, input: {
3945
+ readonly bearer: string;
3946
+ }): Promise<InventoryVaultCustodyListResponse>;
3947
+ declare function listOauthInventoryVaulted(context: TransportContext, input: {
3948
+ readonly bearer: string;
3949
+ }): Promise<InventoryVaultCustodyListResponse>;
3950
+ //#endregion
3091
3951
  //#region src/messaging/dm-key-backup.d.ts
3092
3952
  declare function getDmKeyBackupStatus(context: TransportContext, input: {
3093
3953
  readonly bearer: string;
@@ -3322,6 +4182,15 @@ declare function denyPaymentIntent(context: TransportContext, input: {
3322
4182
  readonly bearer: string;
3323
4183
  readonly intentId: string;
3324
4184
  }): Promise<OauthPaymentIntentResolveResponse>;
4185
+ declare function preparePaymentIntentSolana(context: TransportContext, input: {
4186
+ readonly bearer: string;
4187
+ readonly intentId: string;
4188
+ }): Promise<OauthPaymentIntentSolanaPrepareResponse>;
4189
+ declare function completePaymentIntentSolana(context: TransportContext, input: {
4190
+ readonly bearer: string;
4191
+ readonly intentId: string;
4192
+ readonly body: OauthPaymentIntentSolanaCompleteRequest;
4193
+ }): Promise<OauthPaymentIntentResolveResponse>;
3325
4194
  //#endregion
3326
4195
  //#region src/payments/limits.d.ts
3327
4196
  declare function getPaymentLimits(context: TransportContext, input: {
@@ -3369,6 +4238,17 @@ declare function createTronTransfer(context: TransportContext, input: {
3369
4238
  readonly body: TronTransferRequest;
3370
4239
  readonly idempotencyKey?: string;
3371
4240
  }): Promise<TronTransferResponse>;
4241
+ declare function getTronSecurity(context: TransportContext, input: {
4242
+ readonly bearer: string;
4243
+ }): Promise<TronSecuritySetting>;
4244
+ declare function setTronSecurity(context: TransportContext, input: {
4245
+ readonly bearer: string;
4246
+ readonly setting: TronSecuritySetting;
4247
+ }): Promise<TronSecuritySetting>;
4248
+ declare function createTronTransferChallenge(context: TransportContext, input: {
4249
+ readonly bearer: string;
4250
+ readonly body: TronTransferChallengeRequest;
4251
+ }): Promise<TronTransferChallengeResponse>;
3372
4252
  declare function createTronConnectOnboarding(context: TransportContext, input: {
3373
4253
  readonly bearer: string;
3374
4254
  }): Promise<TronConnectOnboardingResponse>;
@@ -3505,6 +4385,10 @@ declare function sendFriendRequest(context: TransportContext, input: {
3505
4385
  readonly bearer: string;
3506
4386
  readonly userId: string;
3507
4387
  }): Promise<void>;
4388
+ declare function removeFriend(context: TransportContext, input: {
4389
+ readonly bearer: string;
4390
+ readonly userId: string;
4391
+ }): Promise<void>;
3508
4392
  declare function decideFriendRequest(context: TransportContext, input: {
3509
4393
  readonly bearer: string;
3510
4394
  readonly requestId: string;
@@ -3517,6 +4401,9 @@ declare function cancelFriendRequest(context: TransportContext, input: {
3517
4401
  declare function listFriends(context: TransportContext, input: {
3518
4402
  readonly bearer: string;
3519
4403
  }): Promise<FriendListResponse>;
4404
+ declare function listFriendsForApp(context: TransportContext, input: {
4405
+ readonly bearer: string;
4406
+ }): Promise<AppFriendListResponse>;
3520
4407
  //#endregion
3521
4408
  //#region src/reads/socials.d.ts
3522
4409
  declare function listSocials(context: TransportContext, input: {
@@ -3808,4 +4695,4 @@ type CookieTokenStoreOptions = {
3808
4695
  };
3809
4696
  declare function createCookieTokenStore(options?: CookieTokenStoreOptions): TokenStore;
3810
4697
  //#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 };
4698
+ 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, pinBipUpdate, pinThread, postAdminAppealRoomMessage, postAppealRoomMessage, preparePaymentIntentSolana, previewReferral, provisionDeveloperAppWallet, publishDmKey, quoteDeveloperAppInventoryRegistration, quoteNftTransfer, quoteRelayedVaultPermit, redeemInventoryMintPermit, refreshAccessToken, registerBipInterest, registerDeveloperAppInventoryItem, rejectTronCashout, removeAdmin, removeAppealBlacklist, removeFriend, removeParticipant, removeReaction, replyToGameReview, requestDeveloperAppProduction, requestMint, resolveAppeal, reviewAppPage, reviewAppPageBip, reviewAppPageChanges, reviewDeveloperRequest, revokeDeveloperApiKey, revokeDeveloperAppParticipant, revokePaymentAuthorization, revokeToken, rotateDeveloperAppKey, rotateDeveloperAppPaymentWebhookSecret, rotateProcessorTreasury, searchGiphy, searchUsers, sendFriendRequest, sendMessage, sendPresenceHeartbeat, setAppPageBip, setBipUpdateReaction, setMyGameReviewReaction, setProcessorWhitelist, setTronSecurity, setVaultOperator, setVaultPause, setVaultWithdrawLockDefault, setVaultWithdrawLockOverride, setupDmKeyBackup, sha256Base64Url, signInventoryVaultPermit, signPaymentIntent, submitAppContentReport, submitAppPageBipForReview, submitAppPageForReview, submitDeveloperRequest, submitRelayedVaultPermit, subscribeBipUpdates, tipGameReview, toTokenSet, triageAdminContentReport, unfollowUser, unhideAppPage, unhideAppPageBip, unlockDmKeyBackup, unpinBipUpdate, unpinThread, unpublishAppPage, unpublishAppPageBip, updateAdminRole, updateAppFeeConfig, updateAppPage, updateBipUpdate, updateDeveloperApp, updateDeveloperAppAutoSweep, updateDeveloperAppContentReportStatus, updateDeveloperProfile, updateNotification, updateParticipantRole, updatePaymentAuthorization, updatePlatformFees, updateProfile, updateThreadSettings, updateUserBan, updateWalletLabel, uploadAdminAppealRoomAttachment, uploadAppPageBanner, uploadAppPageGallery, uploadAppPageThumbnail, uploadAppPageThumbnailVideo, uploadAppealRoomAttachment, uploadAttachment, uploadAvatar, uploadBipUpdateMedia, uploadDeveloperAppInventoryItemBanner, uploadDeveloperAppInventoryItemImage, uploadDeveloperAppLogo, uploadDeveloperProfileLogo, uploadDeveloperRequestLogo, uploadMultipart, uploadThreadLogo, upsertMyGameReview, verifyWebhook, withdrawDeveloperAppWallet };