@metatrongg/sdk 0.8.0-dev.8f88ba8 → 0.8.0-dev.91af108

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,6 +248,7 @@ type OauthPaymentIntentContext = {
246
248
  studioXHandle: string | null;
247
249
  };
248
250
  } | null;
251
+ environment: "development" | "production";
249
252
  };
250
253
  type OauthPaymentIntentSignResponse = {
251
254
  chain: string;
@@ -334,9 +337,16 @@ type PublicAppPage = {
334
337
  chapters: AppPageChapters;
335
338
  links: AppPageLinks;
336
339
  studio: PublicAppPageStudio;
340
+ platforms: AppPagePlatforms;
341
+ gameType: AppPageGameType;
342
+ ageRating: AppPageAgeRating;
343
+ languages: AppPageLanguages;
344
+ releaseStatus: AppPageReleaseStatus;
345
+ paymentsMode: AppPagePaymentsMode;
337
346
  oauthScopes: Array<string>;
338
347
  chains: Array<string>;
339
348
  publishedAt: string;
349
+ updatedAt: string;
340
350
  };
341
351
  type AppPageCategories = Array<"adventure" | "battle_royale" | "board" | "cards" | "casino" | "casual" | "fighting" | "idle" | "mmo" | "moba" | "platformer" | "prediction" | "puzzle" | "racing" | "rhythm" | "roguelike" | "rpg" | "rts" | "sandbox" | "shooter" | "simulation" | "sports" | "strategy" | "survival" | "tools" | "tower_defense" | "visual_novel" | "other">;
342
352
  type AppPageTagline = string;
@@ -359,12 +369,124 @@ type AppPageLink = {
359
369
  order: number;
360
370
  };
361
371
  type PublicAppPageStudio = {
372
+ ownerUserId: string | null;
362
373
  name: string | null;
363
374
  logoUrl: string | null;
364
375
  websiteUrl: string | null;
365
376
  xHandle: string | null;
366
377
  githubUrl: string | null;
367
378
  };
379
+ type AppPagePlatforms = Array<"web" | "ios" | "android" | "pc" | "playstation" | "xbox" | "switch">;
380
+ type AppPageGameType = "single_player" | "multiplayer" | "both" | null;
381
+ type AppPageAgeRating = "everyone" | "13_plus" | "16_plus" | "18_plus" | null;
382
+ type AppPageLanguages = Array<"en" | "es" | "fr" | "de" | "pt" | "it" | "ru" | "ja" | "ko" | "zh" | "hi" | "ar" | "tr" | "vi" | "id" | "th" | "pl" | "nl">;
383
+ type AppPageReleaseStatus = "live" | "open_beta" | "coming_soon";
384
+ type AppPagePaymentsMode = "tron" | "onchain" | "both" | null;
385
+ type PublicBipPage = {
386
+ appId: string;
387
+ slug: AppPageSlug;
388
+ appName: string;
389
+ appLogoUrl: string | null;
390
+ categories: AppPageCategories;
391
+ tagline: AppPageTagline;
392
+ bannerUrl: string | null;
393
+ discordUrl: string | null;
394
+ twitterUrl: string | null;
395
+ redditUrl: string | null;
396
+ telegramUrl: string | null;
397
+ gallery: AppPageGallery;
398
+ chapters: AppPageChapters;
399
+ links: AppPageLinks;
400
+ studio: PublicAppPageStudio;
401
+ platforms: AppPagePlatforms;
402
+ gameType: AppPageGameType;
403
+ ageRating: AppPageAgeRating;
404
+ languages: AppPageLanguages;
405
+ releaseStatus: AppPageReleaseStatus;
406
+ publishedAt: string;
407
+ updatedAt: string;
408
+ };
409
+ type BipUpdateListResponse = {
410
+ updates: Array<BipUpdate>;
411
+ total: number;
412
+ hasMore: boolean;
413
+ };
414
+ type BipUpdate = {
415
+ id: string;
416
+ appId: string;
417
+ body: BipUpdateBody;
418
+ attachments: BipUpdateAttachments;
419
+ reactions: BipUpdateReactionCounts;
420
+ commentCount: number;
421
+ createdAt: string;
422
+ updatedAt: string;
423
+ };
424
+ type BipUpdateBody = string;
425
+ type BipUpdateAttachments = Array<BipUpdateAttachment>;
426
+ type BipUpdateAttachment = {
427
+ url: string;
428
+ kind: "image" | "video";
429
+ order: number;
430
+ };
431
+ type BipUpdateReactionCounts = {
432
+ up: number;
433
+ down: number;
434
+ };
435
+ type BipUpdateCommentListResponse = {
436
+ comments: Array<BipUpdateComment>;
437
+ total: number;
438
+ hasMore: boolean;
439
+ };
440
+ type BipUpdateComment = {
441
+ id: string;
442
+ body: BipUpdateCommentBody;
443
+ author: ReviewAuthor;
444
+ createdAt: string;
445
+ };
446
+ type BipUpdateCommentBody = string;
447
+ type ReviewAuthor = {
448
+ userId: string;
449
+ handle: string | null;
450
+ name: string | null;
451
+ avatarUrl: string | null;
452
+ };
453
+ type MyBipUpdateReactionsResponse = {
454
+ reactions: Array<MyBipUpdateReaction>;
455
+ };
456
+ type MyBipUpdateReaction = {
457
+ updateId: string;
458
+ vote: "up" | "down";
459
+ };
460
+ type SetBipUpdateReactionResponse = {
461
+ reactions: BipUpdateReactionCounts;
462
+ vote: BipUpdateVote;
463
+ };
464
+ type BipUpdateVote = "up" | "down" | null;
465
+ type SetBipUpdateReactionRequest = {
466
+ vote: BipUpdateVote;
467
+ };
468
+ type CreateBipUpdateCommentResponse = {
469
+ comment: BipUpdateComment;
470
+ commentCount: number;
471
+ };
472
+ type DeleteBipUpdateCommentResponse = {
473
+ commentCount: number;
474
+ };
475
+ type CreateBipUpdateRequest = {
476
+ body: BipUpdateBody;
477
+ attachments?: BipUpdateAttachments;
478
+ };
479
+ type UpdateBipUpdateRequest = {
480
+ body?: BipUpdateBody;
481
+ attachments?: BipUpdateAttachments;
482
+ };
483
+ type DeleteBipUpdateResponse = {
484
+ deleted: true;
485
+ };
486
+ type BipUpdateMediaUploadResponse = {
487
+ url: string;
488
+ kind: "image" | "video";
489
+ };
368
490
  type ReviewListResponse = {
369
491
  aggregate: ReviewAggregate;
370
492
  reviews: Array<Review>;
@@ -372,38 +494,43 @@ type ReviewListResponse = {
372
494
  hasMore: boolean;
373
495
  };
374
496
  type ReviewAggregate = {
375
- average: number | null;
376
497
  count: number;
377
- distribution: ReviewDistribution;
378
- };
379
- type ReviewDistribution = {
380
- 1: number;
381
- 2: number;
382
- 3: number;
383
- 4: number;
384
- 5: number;
498
+ recommendedCount: number;
499
+ recommendedPct: number | null;
500
+ summaryLabel: ReviewSummaryLabel;
385
501
  };
502
+ type ReviewSummaryLabel = "overwhelmingly_positive" | "very_positive" | "positive" | "mostly_positive" | "mixed" | "mostly_negative" | "negative" | "overwhelmingly_negative" | null;
386
503
  type Review = {
387
504
  id: string;
388
- rating: ReviewRating;
505
+ recommended: ReviewRecommended;
389
506
  body: ReviewBody;
507
+ reactions: ReviewReactionCounts;
508
+ tippedCents: number;
509
+ commentCount: number;
390
510
  author: ReviewAuthor;
511
+ authorStats: ReviewerStats;
391
512
  developerReply: ReviewReply;
392
513
  createdAt: string;
393
514
  updatedAt: string;
394
515
  };
395
- type ReviewRating = number;
516
+ type ReviewRecommended = boolean;
396
517
  type ReviewBody = string;
397
- type ReviewAuthor = {
398
- name: string | null;
399
- avatarUrl: string | null;
518
+ type ReviewReactionCounts = {
519
+ helpful: number;
520
+ unhelpful: number;
521
+ funny: number;
522
+ };
523
+ type ReviewerStats = {
524
+ playtimeSecondsThisGame: number;
525
+ gamesPlayed: number;
526
+ reviewsWritten: number;
400
527
  };
401
528
  type ReviewReply = {
402
529
  body: ReviewReplyBody;
403
530
  repliedAt: string;
404
531
  } | null;
405
532
  type ReviewReplyBody = string;
406
- type ReviewSort = "newest" | "oldest" | "highest" | "lowest";
533
+ type ReviewSort = "newest" | "oldest" | "helpful";
407
534
  type MyReviewResponse = {
408
535
  eligible: boolean;
409
536
  eligibleVia: ReviewEligibilityReason;
@@ -413,15 +540,67 @@ type MyReviewResponse = {
413
540
  type ReviewEligibilityReason = "payment" | "reward" | null;
414
541
  type OwnReview = {
415
542
  id: string;
416
- rating: ReviewRating;
543
+ recommended: ReviewRecommended;
417
544
  body: ReviewBody;
418
545
  createdAt: string;
419
546
  updatedAt: string;
420
547
  } | null;
421
548
  type UpsertReviewRequest = {
422
- rating: ReviewRating;
549
+ recommended: ReviewRecommended;
423
550
  body: ReviewBody;
424
551
  };
552
+ type MyReviewReactionsResponse = {
553
+ reactions: Array<MyReviewReaction>;
554
+ };
555
+ type MyReviewReaction = {
556
+ reviewId: string;
557
+ vote: ReviewVote;
558
+ funny: boolean;
559
+ };
560
+ type ReviewVote = "helpful" | "unhelpful" | null;
561
+ type SetReviewReactionResponse = {
562
+ reactions: ReviewReactionCounts;
563
+ vote: ReviewVote;
564
+ funny: boolean;
565
+ };
566
+ type SetReviewReactionRequest = {
567
+ vote: ReviewVote;
568
+ funny: boolean;
569
+ };
570
+ type TipReviewResponse = {
571
+ status: "completed";
572
+ amountCents: number;
573
+ balanceCents: number;
574
+ tippedCents: number;
575
+ };
576
+ type TipReviewRequest = {
577
+ amountCents: number;
578
+ note?: string;
579
+ challengeId?: string;
580
+ signature?: string;
581
+ };
582
+ type ReviewCommentListResponse = {
583
+ comments: Array<ReviewComment>;
584
+ total: number;
585
+ hasMore: boolean;
586
+ };
587
+ type ReviewComment = {
588
+ id: string;
589
+ body: ReviewCommentBody;
590
+ author: ReviewAuthor;
591
+ createdAt: string;
592
+ };
593
+ type ReviewCommentBody = string;
594
+ type CreateReviewCommentResponse = {
595
+ comment: ReviewComment;
596
+ commentCount: number;
597
+ };
598
+ type CreateReviewCommentRequest = {
599
+ body: ReviewCommentBody;
600
+ };
601
+ type DeleteReviewCommentResponse = {
602
+ commentCount: number;
603
+ };
425
604
  type ReviewReplyResponse = {
426
605
  developerReply: ReviewReply;
427
606
  };
@@ -526,8 +705,12 @@ type ActivityRow = ({
526
705
  } & ActivityRowTronPot) | ({
527
706
  kind: "tron_cashout";
528
707
  } & ActivityRowTronCashout) | ({
708
+ kind: "tron_transfer";
709
+ } & ActivityRowTronTransfer) | ({
529
710
  kind: "referral_earning";
530
- } & ActivityRowReferralEarning);
711
+ } & ActivityRowReferralEarning) | ({
712
+ kind: "nft_charge";
713
+ } & ActivityRowNftCharge);
531
714
  type ActivityRowPayment = {
532
715
  kind: "payment";
533
716
  groupId: string | null;
@@ -773,6 +956,8 @@ type ActivityRowTronPot = {
773
956
  role: "incoming" | "outgoing";
774
957
  leg: "stake" | "payout" | "dev_cut" | "purchase" | "referral";
775
958
  amountCents: number;
959
+ usdCents: number;
960
+ status: "settled";
776
961
  app: {
777
962
  id: string;
778
963
  name: string;
@@ -780,8 +965,16 @@ type ActivityRowTronPot = {
780
965
  slug: string | null;
781
966
  bannerUrl: string | null;
782
967
  } | null;
968
+ involvedUsers?: Array<ActivityTronInvolvedUser> | null;
783
969
  metadata?: PaymentMetadata | null;
784
970
  };
971
+ type ActivityTronInvolvedUser = {
972
+ userId: string;
973
+ handle: string | null;
974
+ displayName: string | null;
975
+ role: "stake" | "payout" | "dev_cut" | "purchase" | "referral";
976
+ amountCents: number;
977
+ };
785
978
  type ActivityRowTronCashout = {
786
979
  kind: "tron_cashout";
787
980
  groupId: string | null;
@@ -799,6 +992,20 @@ type ActivityRowTronCashout = {
799
992
  rejectionReason: string | null;
800
993
  settledAt: string | null;
801
994
  };
995
+ type ActivityRowTronTransfer = {
996
+ kind: "tron_transfer";
997
+ groupId: string | null;
998
+ id: string;
999
+ occurredAt: string;
1000
+ role: "incoming" | "outgoing";
1001
+ amountCents: number;
1002
+ usdCents: number;
1003
+ status: "settled";
1004
+ counterpartyUserId: string | null;
1005
+ counterpartyHandle: string | null;
1006
+ counterpartyDisplayName: string | null;
1007
+ note: string | null;
1008
+ };
802
1009
  type ActivityRowReferralEarning = {
803
1010
  kind: "referral_earning";
804
1011
  groupId: string | null;
@@ -815,6 +1022,22 @@ type ActivityRowReferralEarning = {
815
1022
  logIndex: number;
816
1023
  usdCents: number | null;
817
1024
  };
1025
+ type ActivityRowNftCharge = {
1026
+ kind: "nft_charge";
1027
+ groupId: string | null;
1028
+ id: string;
1029
+ occurredAt: string;
1030
+ role: "outgoing";
1031
+ chargeKind: "registration" | "mint" | "transfer_gas";
1032
+ amountCents: number;
1033
+ usdCents: number;
1034
+ status: "settled";
1035
+ collectionAddress: string | null;
1036
+ tokenId: string | null;
1037
+ counterpartyUserId: string | null;
1038
+ counterpartyHandle: string | null;
1039
+ counterpartyDisplayName: string | null;
1040
+ };
818
1041
  type OutstandingResponse = {
819
1042
  rows: Array<OutstandingByToken>;
820
1043
  };
@@ -864,7 +1087,7 @@ type TronLedgerResponse = {
864
1087
  };
865
1088
  type TronLedgerEntry = {
866
1089
  id: string;
867
- kind: "deposit" | "pot_stake" | "pot_payout" | "dev_earning" | "cashout_hold" | "cashout_release" | "dispute_freeze" | "dispute_unfreeze" | "hosted_billing" | "store_purchase" | "referral_earning";
1090
+ 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";
868
1091
  amountCents: number;
869
1092
  currency: string;
870
1093
  createdAt: string;
@@ -879,6 +1102,45 @@ type TronDepositResponse = {
879
1102
  type TronDepositRequest = {
880
1103
  amountCents: number;
881
1104
  };
1105
+ type TronTransferResponse = {
1106
+ status: "completed";
1107
+ amountCents: number;
1108
+ balanceCents: number;
1109
+ recipient: {
1110
+ userId: string;
1111
+ handle: string | null;
1112
+ displayName: string | null;
1113
+ };
1114
+ };
1115
+ type TronTransferRequest = {
1116
+ recipientUserId: string;
1117
+ amountCents: number;
1118
+ note?: string;
1119
+ challengeId?: string;
1120
+ signature?: string;
1121
+ threadId?: string;
1122
+ };
1123
+ type TronSecuritySetting = {
1124
+ requireSignature: boolean;
1125
+ };
1126
+ type TronTransferChallengeResponse = ({
1127
+ required: false;
1128
+ } & TronTransferChallengeNotRequired) | ({
1129
+ required: true;
1130
+ } & TronTransferChallengeRequired);
1131
+ type TronTransferChallengeNotRequired = {
1132
+ required: false;
1133
+ };
1134
+ type TronTransferChallengeRequired = {
1135
+ required: true;
1136
+ challengeId: string;
1137
+ message: string;
1138
+ expiresAt: string;
1139
+ };
1140
+ type TronTransferChallengeRequest = {
1141
+ recipientUserId: string;
1142
+ amountCents: number;
1143
+ };
882
1144
  type TronConnectOnboardingResponse = {
883
1145
  url: string;
884
1146
  };
@@ -1045,6 +1307,7 @@ type ThreadLastMessagePreview = {
1045
1307
  url: string;
1046
1308
  count: number;
1047
1309
  } | null;
1310
+ transaction?: MessageTransactionTronTransfer | MessageTransactionNftTransfer | null;
1048
1311
  sentAt: string;
1049
1312
  } | null;
1050
1313
  type MessageEnvelope = {
@@ -1056,6 +1319,20 @@ type MessageEnvelope = {
1056
1319
  iv: string;
1057
1320
  ct: string;
1058
1321
  } | null;
1322
+ type MessageTransactionTronTransfer = {
1323
+ kind: "tron_transfer";
1324
+ amountCents: number;
1325
+ recipientUserId: string;
1326
+ };
1327
+ type MessageTransactionNftTransfer = {
1328
+ kind: "nft_transfer";
1329
+ recipientUserId: string;
1330
+ collectionAddress: string;
1331
+ tokenId: string;
1332
+ amount: string;
1333
+ itemName: string | null;
1334
+ imageAssetId?: string | null;
1335
+ };
1059
1336
  type GroupThreadSummary = {
1060
1337
  kind: "group";
1061
1338
  id: string;
@@ -1102,6 +1379,7 @@ type MessageItem = {
1102
1379
  id: string;
1103
1380
  threadId: string;
1104
1381
  senderUserId: string;
1382
+ transaction?: MessageTransactionTronTransfer | MessageTransactionNftTransfer | null;
1105
1383
  body: string;
1106
1384
  envelope?: MessageEnvelope;
1107
1385
  sentAt: string;
@@ -1313,11 +1591,45 @@ type InventoryHolding = {
1313
1591
  tokenId: string;
1314
1592
  amount: string;
1315
1593
  name: string | null;
1594
+ description: string | null;
1316
1595
  imageAssetId: string | null;
1317
1596
  bannerAssetId: string | null;
1318
1597
  devMetadata: {
1319
1598
  [key: string]: unknown;
1320
1599
  };
1600
+ appId: string | null;
1601
+ appName: string | null;
1602
+ appLogoUrl: string | null;
1603
+ };
1604
+ type InventoryPendingPermitListResponse = {
1605
+ permits: Array<InventoryPendingPermit>;
1606
+ };
1607
+ type InventoryPendingPermit = {
1608
+ id: string;
1609
+ appId: string;
1610
+ itemId: string;
1611
+ amount: string;
1612
+ priceCents: number | null;
1613
+ gasSponsored: boolean;
1614
+ environment: "development" | "production";
1615
+ createdAt: string;
1616
+ tokenId: string;
1617
+ name: string | null;
1618
+ description: string | null;
1619
+ imageAssetId: string | null;
1620
+ chain: string;
1621
+ collectionAddress: string;
1622
+ kind: "erc721" | "erc1155";
1623
+ };
1624
+ type InventoryPermitRedeemResult = {
1625
+ mint: MintRequestResult;
1626
+ charge: {
1627
+ currency: "tron";
1628
+ gasCents: number;
1629
+ priceCents: number;
1630
+ totalCents: number;
1631
+ gasPaidBy: "user" | "developer";
1632
+ };
1321
1633
  };
1322
1634
  type MintRequestResult = {
1323
1635
  mintRequestId: string;
@@ -1333,6 +1645,247 @@ type MintRequestInput = {
1333
1645
  tokenId?: string;
1334
1646
  amount?: string;
1335
1647
  };
1648
+ type InventoryCollectionListResponse = {
1649
+ collections: Array<InventoryCollectionSummary>;
1650
+ };
1651
+ type InventoryCollectionSummary = {
1652
+ id: string;
1653
+ chain: string;
1654
+ collectionAddress: string;
1655
+ kind: "erc721" | "erc1155";
1656
+ name: string | null;
1657
+ environment: "development" | "production";
1658
+ };
1659
+ type InventoryRegistrationQuote = {
1660
+ itemCount: number;
1661
+ baselineUsdCents: number;
1662
+ gasUsdCents: number;
1663
+ tron: {
1664
+ baselineCents: number;
1665
+ gasCents: number;
1666
+ totalCents: number;
1667
+ };
1668
+ eth: {
1669
+ baselineWei: string;
1670
+ gasWei: string;
1671
+ totalWei: string;
1672
+ };
1673
+ };
1674
+ type InventoryItemRegistrationInput = {
1675
+ collectionAddress: string;
1676
+ chain: string;
1677
+ items: Array<InventoryItemRegistrationSpec>;
1678
+ };
1679
+ type InventoryItemRegistrationSpec = {
1680
+ name?: string | null;
1681
+ description?: string | null;
1682
+ devMetadata?: {
1683
+ [key: string]: unknown;
1684
+ };
1685
+ supplyType?: InventorySupplyType;
1686
+ maxSupply?: string | null;
1687
+ active?: boolean;
1688
+ };
1689
+ type InventorySupplyType = "capped" | "flexible" | "unlimited";
1690
+ type InventoryItemRegistrationResult = {
1691
+ items: Array<InventoryItemRecord>;
1692
+ charge: {
1693
+ currency: "tron";
1694
+ amountCents: number;
1695
+ baselineCents: number;
1696
+ gasCents: number;
1697
+ addItemTxHash: string;
1698
+ };
1699
+ };
1700
+ type InventoryItemRecord = {
1701
+ id: string;
1702
+ collectionId: string;
1703
+ collectionAddress: string;
1704
+ chain: string;
1705
+ kind: "erc721" | "erc1155";
1706
+ tokenId: string;
1707
+ name: string | null;
1708
+ description: string | null;
1709
+ imageAssetId: string | null;
1710
+ bannerAssetId: string | null;
1711
+ devMetadata: {
1712
+ [key: string]: unknown;
1713
+ };
1714
+ supplyType: InventorySupplyType | null;
1715
+ maxSupply: string | null;
1716
+ active: boolean;
1717
+ };
1718
+ type InventoryItemListResponse = {
1719
+ items: Array<InventoryItemRecord>;
1720
+ };
1721
+ type InventoryMintPermitRecord = {
1722
+ id: string;
1723
+ appId: string;
1724
+ itemId: string;
1725
+ userId: string;
1726
+ amount: string;
1727
+ priceCents: number | null;
1728
+ gasSponsored: boolean;
1729
+ status: "pending" | "redeemed" | "revoked";
1730
+ createdAt: string;
1731
+ };
1732
+ type InventoryMintPermitCreateInput = {
1733
+ toUserId: string;
1734
+ amount?: string;
1735
+ priceCents?: number | null;
1736
+ gasSponsored?: boolean;
1737
+ };
1738
+ type InventoryItemHoldersResponse = {
1739
+ stats: InventoryItemStats;
1740
+ holders: Array<InventoryItemHolder>;
1741
+ };
1742
+ type InventoryItemStats = {
1743
+ holderCount: number;
1744
+ walletCount: number;
1745
+ totalHeld: string;
1746
+ };
1747
+ type InventoryItemHolder = {
1748
+ walletAddress: string;
1749
+ userId: string | null;
1750
+ amount: string;
1751
+ };
1752
+ type InventoryVaultPermitRecord = {
1753
+ id: string;
1754
+ appId: string;
1755
+ itemId: string;
1756
+ userId: string;
1757
+ direction: "vault_in" | "withdraw";
1758
+ lockKind: "vault" | "burn" | null;
1759
+ amount: string;
1760
+ gasSponsored: boolean;
1761
+ status: "pending" | "redeemed" | "revoked";
1762
+ custodyId: string | null;
1763
+ createdAt: string;
1764
+ };
1765
+ type InventoryVaultPermitCreateInput = {
1766
+ toUserId: string;
1767
+ lockKind: "vault" | "burn";
1768
+ amount?: string;
1769
+ gasSponsored?: boolean;
1770
+ };
1771
+ type InventoryWithdrawPermitCreateInput = {
1772
+ custodyId: string;
1773
+ };
1774
+ type InventoryPendingVaultPermitListResponse = {
1775
+ permits: Array<InventoryPendingVaultPermit>;
1776
+ };
1777
+ type InventoryPendingVaultPermit = {
1778
+ id: string;
1779
+ appId: string;
1780
+ itemId: string;
1781
+ direction: "vault_in" | "withdraw";
1782
+ lockKind: "vault" | "burn" | null;
1783
+ amount: string;
1784
+ gasSponsored: boolean;
1785
+ environment: "development" | "production";
1786
+ custodyId: string | null;
1787
+ createdAt: string;
1788
+ tokenId: string;
1789
+ name: string | null;
1790
+ description: string | null;
1791
+ imageAssetId: string | null;
1792
+ chain: string;
1793
+ collectionAddress: string;
1794
+ kind: "erc721" | "erc1155";
1795
+ };
1796
+ type InventorySignedVaultPermit = {
1797
+ permitId: string;
1798
+ direction: "vault_in" | "withdraw";
1799
+ vault: string;
1800
+ collection: string;
1801
+ user: string;
1802
+ tokenId: string;
1803
+ amount: string;
1804
+ lockKind: "vault" | "burn" | null;
1805
+ destination: string | null;
1806
+ deadline: number;
1807
+ signature: string;
1808
+ };
1809
+ type InventoryRelayedVaultQuoteResponse = {
1810
+ direction: "vault_in" | "withdraw";
1811
+ collection: string;
1812
+ vault: string;
1813
+ chainId: number;
1814
+ user: string;
1815
+ tokenId: string;
1816
+ amount: string;
1817
+ nonce: string | null;
1818
+ deadline: number;
1819
+ feeCents: number;
1820
+ gasWei: string;
1821
+ gasPaidBy: "developer" | "user";
1822
+ requiresUserSignature: boolean;
1823
+ };
1824
+ type InventoryRelayedVaultSubmitResponse = {
1825
+ ok: boolean;
1826
+ txHash: string;
1827
+ chargedCents: number;
1828
+ gasPaidBy: "developer" | "user";
1829
+ };
1830
+ type InventoryRelayedVaultSubmitRequest = {
1831
+ userSignature?: string;
1832
+ deadline?: number;
1833
+ };
1834
+ type InventoryNftTransferQuoteResponse = {
1835
+ collection: string;
1836
+ chainId: number;
1837
+ from: string;
1838
+ to: string;
1839
+ tokenId: string;
1840
+ amount: string;
1841
+ nonce: string;
1842
+ deadline: number;
1843
+ feeCents: number;
1844
+ gasWei: string;
1845
+ selfPayAvailable: boolean;
1846
+ };
1847
+ type InventoryNftTransferQuoteRequest = {
1848
+ toUserId: string;
1849
+ collection: string;
1850
+ tokenId: string;
1851
+ amount?: string;
1852
+ };
1853
+ type InventoryNftTransferResponse = {
1854
+ ok: boolean;
1855
+ txHash: string;
1856
+ chargedCents: number;
1857
+ };
1858
+ type InventoryNftTransferRequest = {
1859
+ toUserId: string;
1860
+ collection: string;
1861
+ tokenId: string;
1862
+ amount?: string;
1863
+ deadline: number;
1864
+ userSignature: string;
1865
+ threadId?: string;
1866
+ };
1867
+ type InventoryVaultCustodyListResponse = {
1868
+ custody: Array<InventoryVaultCustody>;
1869
+ };
1870
+ type InventoryVaultCustody = {
1871
+ id: string;
1872
+ collectionId: string;
1873
+ collectionAddress: string;
1874
+ chain: string;
1875
+ kind: "erc721" | "erc1155";
1876
+ tokenId: string;
1877
+ amount: string;
1878
+ lockKind: "vault" | "burn";
1879
+ vaultAddress: string;
1880
+ createdAt: string;
1881
+ name: string | null;
1882
+ description: string | null;
1883
+ imageAssetId: string | null;
1884
+ };
1885
+ type InventoryVaultForceWithdrawResponse = {
1886
+ ok: boolean;
1887
+ txHash: string;
1888
+ };
1336
1889
  type NotificationListResponse = {
1337
1890
  notifications: Array<NotificationItem>;
1338
1891
  unreadCount: number;
@@ -1391,12 +1944,12 @@ type FriendAcceptedNotificationPayload = {
1391
1944
  type AppPageApprovedNotificationPayload = {
1392
1945
  appId: string;
1393
1946
  appName: string;
1394
- scope: "publish" | "changes";
1947
+ scope: "publish" | "changes" | "bip_publish";
1395
1948
  };
1396
1949
  type AppPageRejectedNotificationPayload = {
1397
1950
  appId: string;
1398
1951
  appName: string;
1399
- scope: "publish" | "changes";
1952
+ scope: "publish" | "changes" | "bip_publish";
1400
1953
  notes: string;
1401
1954
  };
1402
1955
  type AppParticipantInviteNotificationPayload = {
@@ -1428,6 +1981,9 @@ type FriendListItem = {
1428
1981
  onlineStatus: OnlineStatus;
1429
1982
  };
1430
1983
  type OnlineStatus = "online" | "offline";
1984
+ type AppFriendListResponse = {
1985
+ friends: Array<ThreadParticipant>;
1986
+ };
1431
1987
  type FriendRequestDecision = {
1432
1988
  decision: "accept" | "reject";
1433
1989
  };
@@ -1500,7 +2056,7 @@ type ProfileRecentReview = {
1500
2056
  appId: string;
1501
2057
  appName: string;
1502
2058
  appLogoUrl: string | null;
1503
- rating: number;
2059
+ recommended: boolean;
1504
2060
  body: string;
1505
2061
  createdAt: string;
1506
2062
  };
@@ -1557,6 +2113,7 @@ type CreateDeveloperAppChain = {
1557
2113
  };
1558
2114
  type UpdateDeveloperApp = {
1559
2115
  name?: DeveloperAppName;
2116
+ slug?: AppPageSlug | null;
1560
2117
  logoUrl?: string | null;
1561
2118
  testAccess?: "private" | "public";
1562
2119
  redirectUris?: Array<string>;
@@ -1805,6 +2362,7 @@ type DeveloperProductionRequestPayload = {
1805
2362
  type DeveloperAppItem = {
1806
2363
  id: string;
1807
2364
  name: DeveloperAppName;
2365
+ slug: AppPageSlug | null;
1808
2366
  logoUrl: string | null;
1809
2367
  environment: "development" | "production";
1810
2368
  productionApprovedAt: string | null;
@@ -1856,15 +2414,29 @@ type AppPageDraft = {
1856
2414
  gallery: AppPageGallery;
1857
2415
  chapters: AppPageChapters;
1858
2416
  links: AppPageLinks;
2417
+ platforms: AppPagePlatforms;
2418
+ gameType: AppPageGameType;
2419
+ ageRating: AppPageAgeRating;
2420
+ languages: AppPageLanguages;
2421
+ releaseStatus: AppPageReleaseStatus;
1859
2422
  firstPublishedAt: string | null;
1860
2423
  reviewedAt: string | null;
1861
2424
  reviewNotes: string | null;
1862
2425
  hiddenAt: string | null;
1863
2426
  hiddenReasonPublic: string | null;
1864
2427
  pendingReview: boolean;
2428
+ bip: AppPageBipState;
2429
+ };
2430
+ type AppPageBipState = {
2431
+ enabled: boolean;
2432
+ status: "draft" | "pending_review" | "published" | "hidden";
2433
+ firstPublishedAt: string | null;
2434
+ reviewedAt: string | null;
2435
+ reviewNotes: string | null;
2436
+ hiddenAt: string | null;
2437
+ hiddenReasonPublic: string | null;
1865
2438
  };
1866
2439
  type UpdateAppPage = {
1867
- slug?: AppPageSlug | null;
1868
2440
  categories?: AppPageCategories;
1869
2441
  tagline?: AppPageTagline | null;
1870
2442
  bannerUrl?: string | null;
@@ -1878,10 +2450,18 @@ type UpdateAppPage = {
1878
2450
  gallery?: AppPageGallery;
1879
2451
  chapters?: AppPageChapters;
1880
2452
  links?: AppPageLinks;
2453
+ platforms?: AppPagePlatforms;
2454
+ gameType?: AppPageGameType;
2455
+ ageRating?: AppPageAgeRating;
2456
+ languages?: AppPageLanguages;
2457
+ releaseStatus?: AppPageReleaseStatus;
1881
2458
  };
1882
2459
  type AppPageGalleryUploadResponse = {
1883
2460
  url: string;
1884
2461
  };
2462
+ type AppPageBipToggle = {
2463
+ enabled: boolean;
2464
+ };
1885
2465
  type AdminActivePlayersResponse = {
1886
2466
  players: Array<AdminActivePlayer>;
1887
2467
  total: number;
@@ -2020,6 +2600,10 @@ type AdminAppPageItem = {
2020
2600
  hiddenAt: string | null;
2021
2601
  hiddenReasonInternal: string | null;
2022
2602
  pendingChangesSubmittedAt: string | null;
2603
+ bipEnabled: boolean;
2604
+ bipStatus: "draft" | "pending_review" | "published" | "hidden";
2605
+ bipFirstPublishedAt: string | null;
2606
+ bipHiddenAt: string | null;
2023
2607
  };
2024
2608
  type AdminAppPageStatusResponse = {
2025
2609
  status: "draft" | "pending_review" | "published" | "hidden";
@@ -2045,6 +2629,25 @@ type AdminAppPageDiffField = {
2045
2629
  from: string;
2046
2630
  to: string;
2047
2631
  };
2632
+ type AdminAppPageBipStatusResponse = {
2633
+ bipStatus: "draft" | "pending_review" | "published" | "hidden";
2634
+ };
2635
+ type AdminAppContentReportListResponse = {
2636
+ reports: Array<AdminAppContentReportItem>;
2637
+ total: number;
2638
+ hasMore: boolean;
2639
+ };
2640
+ type AdminAppContentReportItem = {
2641
+ id: string;
2642
+ category: AppContentReportCategory;
2643
+ details: string | null;
2644
+ status: AppContentReportStatus;
2645
+ acknowledgedAt: string | null;
2646
+ createdAt: string;
2647
+ appId: string;
2648
+ appName: string;
2649
+ appSlug: string | null;
2650
+ };
2048
2651
  type PlatformFeesResponse = {
2049
2652
  purchaseFeeBps: number;
2050
2653
  stakeFeeBps: number;
@@ -2334,7 +2937,7 @@ declare function listActivePlayers(context: TransportContext, input: {
2334
2937
  //#region src/admin/app-pages.d.ts
2335
2938
  declare function listAppPages(context: TransportContext, input: {
2336
2939
  readonly bearer: string;
2337
- readonly status?: "draft" | "pending_review" | "published" | "hidden" | "all" | "pending_changes";
2940
+ readonly status?: "draft" | "pending_review" | "published" | "hidden" | "all" | "pending_changes" | "bip_pending_review";
2338
2941
  }): Promise<AdminAppPageListResponse>;
2339
2942
  declare function getAppPageChanges(context: TransportContext, input: {
2340
2943
  readonly bearer: string;
@@ -2359,6 +2962,20 @@ declare function reviewAppPage(context: TransportContext, input: {
2359
2962
  readonly appId: string;
2360
2963
  readonly body: ReviewAppPage;
2361
2964
  }): Promise<AdminAppPageStatusResponse>;
2965
+ declare function reviewAppPageBip(context: TransportContext, input: {
2966
+ readonly bearer: string;
2967
+ readonly appId: string;
2968
+ readonly body: ReviewAppPage;
2969
+ }): Promise<AdminAppPageBipStatusResponse>;
2970
+ declare function hideAppPageBip(context: TransportContext, input: {
2971
+ readonly bearer: string;
2972
+ readonly appId: string;
2973
+ readonly body: HideAppPage;
2974
+ }): Promise<AdminAppPageBipStatusResponse>;
2975
+ declare function unhideAppPageBip(context: TransportContext, input: {
2976
+ readonly bearer: string;
2977
+ readonly appId: string;
2978
+ }): Promise<AdminAppPageBipStatusResponse>;
2362
2979
  //#endregion
2363
2980
  //#region src/admin/appeals.d.ts
2364
2981
  declare function listAppealQueue(context: TransportContext, input: {
@@ -2390,6 +3007,19 @@ declare function resolveAppeal(context: TransportContext, input: {
2390
3007
  readonly body: AppealResolveRequest;
2391
3008
  }): Promise<AppealResolveSignedResponse>;
2392
3009
  //#endregion
3010
+ //#region src/admin/content-reports.d.ts
3011
+ declare function listAdminContentReports(context: TransportContext, input: {
3012
+ readonly bearer: string;
3013
+ readonly status?: "open" | "acknowledged" | "dismissed" | "all";
3014
+ readonly limit?: number;
3015
+ readonly offset?: number;
3016
+ }): Promise<AdminAppContentReportListResponse>;
3017
+ declare function triageAdminContentReport(context: TransportContext, input: {
3018
+ readonly bearer: string;
3019
+ readonly reportId: string;
3020
+ readonly status: "acknowledged" | "dismissed";
3021
+ }): Promise<AppContentReport>;
3022
+ //#endregion
2393
3023
  //#region src/admin/developers.d.ts
2394
3024
  declare function listDeveloperRequests(context: TransportContext, input: {
2395
3025
  readonly bearer: string;
@@ -2405,6 +3035,12 @@ declare function listDevelopers(context: TransportContext, input: {
2405
3035
  readonly bearer: string;
2406
3036
  }): Promise<AdminDeveloperListResponse>;
2407
3037
  //#endregion
3038
+ //#region src/admin/inventory-vault.d.ts
3039
+ declare function forceWithdrawVaultCustody(context: TransportContext, input: {
3040
+ readonly bearer: string;
3041
+ readonly custodyId: string;
3042
+ }): Promise<InventoryVaultForceWithdrawResponse>;
3043
+ //#endregion
2408
3044
  //#region src/admin/payments.d.ts
2409
3045
  declare function getPlatformFees(context: TransportContext, input: {
2410
3046
  readonly bearer: string;
@@ -2523,6 +3159,84 @@ declare function getAppPage(context: TransportContext, input: {
2523
3159
  readonly slug: string;
2524
3160
  }): Promise<PublicAppPage>;
2525
3161
  //#endregion
3162
+ //#region src/catalog/bip-updates.d.ts
3163
+ declare function listBipUpdates(context: TransportContext, input: {
3164
+ readonly bearer?: string;
3165
+ readonly slug: string;
3166
+ readonly limit?: number;
3167
+ readonly offset?: number;
3168
+ }): Promise<BipUpdateListResponse>;
3169
+ declare function listBipUpdateComments(context: TransportContext, input: {
3170
+ readonly bearer?: string;
3171
+ readonly slug: string;
3172
+ readonly updateId: string;
3173
+ readonly limit?: number;
3174
+ readonly offset?: number;
3175
+ }): Promise<BipUpdateCommentListResponse>;
3176
+ declare function getMyBipUpdateReactions(context: TransportContext, input: {
3177
+ readonly bearer: string;
3178
+ readonly slug: string;
3179
+ }): Promise<MyBipUpdateReactionsResponse>;
3180
+ declare function setBipUpdateReaction(context: TransportContext, input: {
3181
+ readonly bearer: string;
3182
+ readonly slug: string;
3183
+ readonly updateId: string;
3184
+ readonly body: SetBipUpdateReactionRequest;
3185
+ }): Promise<SetBipUpdateReactionResponse>;
3186
+ declare function commentOnBipUpdate(context: TransportContext, input: {
3187
+ readonly bearer: string;
3188
+ readonly slug: string;
3189
+ readonly updateId: string;
3190
+ readonly body: string;
3191
+ }): Promise<CreateBipUpdateCommentResponse>;
3192
+ declare function deleteBipUpdateComment(context: TransportContext, input: {
3193
+ readonly bearer: string;
3194
+ readonly slug: string;
3195
+ readonly commentId: string;
3196
+ }): Promise<DeleteBipUpdateCommentResponse>;
3197
+ declare function listDeveloperBipUpdates(context: TransportContext, input: {
3198
+ readonly bearer: string;
3199
+ readonly appId: string;
3200
+ readonly limit?: number;
3201
+ readonly offset?: number;
3202
+ }): Promise<BipUpdateListResponse>;
3203
+ declare function createBipUpdate(context: TransportContext, input: {
3204
+ readonly bearer: string;
3205
+ readonly appId: string;
3206
+ readonly body: CreateBipUpdateRequest;
3207
+ }): Promise<BipUpdate>;
3208
+ declare function updateBipUpdate(context: TransportContext, input: {
3209
+ readonly bearer: string;
3210
+ readonly appId: string;
3211
+ readonly updateId: string;
3212
+ readonly body: UpdateBipUpdateRequest;
3213
+ }): Promise<BipUpdate>;
3214
+ declare function deleteBipUpdate(context: TransportContext, input: {
3215
+ readonly bearer: string;
3216
+ readonly appId: string;
3217
+ readonly updateId: string;
3218
+ }): Promise<DeleteBipUpdateResponse>;
3219
+ declare function uploadBipUpdateMedia(context: TransportContext, input: {
3220
+ readonly bearer: string;
3221
+ readonly appId: string;
3222
+ readonly file: Blob;
3223
+ readonly filename: string;
3224
+ readonly contentType: string;
3225
+ }): Promise<BipUpdateMediaUploadResponse>;
3226
+ //#endregion
3227
+ //#region src/catalog/build-in-public.d.ts
3228
+ declare function getBipDirectory(context: TransportContext, input: {
3229
+ readonly bearer?: string;
3230
+ readonly genre?: string;
3231
+ readonly q?: string;
3232
+ readonly before?: string;
3233
+ readonly limit?: number;
3234
+ }): Promise<LibraryListResponse>;
3235
+ declare function getBipPage(context: TransportContext, input: {
3236
+ readonly bearer?: string;
3237
+ readonly slug: string;
3238
+ }): Promise<PublicBipPage>;
3239
+ //#endregion
2526
3240
  //#region src/catalog/content-reports.d.ts
2527
3241
  declare function submitAppContentReport(context: TransportContext, input: {
2528
3242
  readonly appId: string;
@@ -2567,6 +3281,41 @@ declare function deleteMyGameReview(context: TransportContext, input: {
2567
3281
  readonly slug: string;
2568
3282
  readonly bearer: string;
2569
3283
  }): Promise<MyReviewResponse>;
3284
+ declare function getMyGameReviewReactions(context: TransportContext, input: {
3285
+ readonly slug: string;
3286
+ readonly bearer: string;
3287
+ }): Promise<MyReviewReactionsResponse>;
3288
+ declare function setMyGameReviewReaction(context: TransportContext, input: {
3289
+ readonly slug: string;
3290
+ readonly reviewId: string;
3291
+ readonly bearer: string;
3292
+ readonly reaction: SetReviewReactionRequest;
3293
+ }): Promise<SetReviewReactionResponse>;
3294
+ declare function tipGameReview(context: TransportContext, input: {
3295
+ readonly slug: string;
3296
+ readonly reviewId: string;
3297
+ readonly bearer: string;
3298
+ readonly tip: TipReviewRequest;
3299
+ readonly idempotencyKey?: string;
3300
+ }): Promise<TipReviewResponse>;
3301
+ declare function listGameReviewComments(context: TransportContext, input: {
3302
+ readonly slug: string;
3303
+ readonly reviewId: string;
3304
+ readonly bearer?: string;
3305
+ readonly limit?: number;
3306
+ readonly offset?: number;
3307
+ }): Promise<ReviewCommentListResponse>;
3308
+ declare function commentOnGameReview(context: TransportContext, input: {
3309
+ readonly slug: string;
3310
+ readonly reviewId: string;
3311
+ readonly bearer: string;
3312
+ readonly comment: CreateReviewCommentRequest;
3313
+ }): Promise<CreateReviewCommentResponse>;
3314
+ declare function deleteGameReviewComment(context: TransportContext, input: {
3315
+ readonly slug: string;
3316
+ readonly commentId: string;
3317
+ readonly bearer: string;
3318
+ }): Promise<DeleteReviewCommentResponse>;
2570
3319
  declare function replyToGameReview(context: TransportContext, input: {
2571
3320
  readonly appId: string;
2572
3321
  readonly reviewId: string;
@@ -2789,6 +3538,53 @@ declare function updateDeveloperAppContentReportStatus(context: TransportContext
2789
3538
  readonly status: "acknowledged" | "dismissed";
2790
3539
  }): Promise<AppContentReport>;
2791
3540
  //#endregion
3541
+ //#region src/developer/inventory.d.ts
3542
+ declare function quoteDeveloperAppInventoryRegistration(context: TransportContext, input: {
3543
+ readonly bearer: string;
3544
+ readonly appId: string;
3545
+ readonly registration: InventoryItemRegistrationInput;
3546
+ }): Promise<InventoryRegistrationQuote>;
3547
+ declare function registerDeveloperAppInventoryItem(context: TransportContext, input: {
3548
+ readonly bearer: string;
3549
+ readonly appId: string;
3550
+ readonly registration: InventoryItemRegistrationInput;
3551
+ }): Promise<InventoryItemRegistrationResult>;
3552
+ declare function listDeveloperAppInventoryCollections(context: TransportContext, input: {
3553
+ readonly bearer: string;
3554
+ readonly appId: string;
3555
+ }): Promise<InventoryCollectionListResponse>;
3556
+ declare function listDeveloperAppInventoryItems(context: TransportContext, input: {
3557
+ readonly bearer: string;
3558
+ readonly appId: string;
3559
+ }): Promise<InventoryItemListResponse>;
3560
+ declare function createDeveloperAppMintPermit(context: TransportContext, input: {
3561
+ readonly bearer: string;
3562
+ readonly appId: string;
3563
+ readonly itemId: string;
3564
+ readonly grant: InventoryMintPermitCreateInput;
3565
+ }): Promise<InventoryMintPermitRecord>;
3566
+ declare function getDeveloperAppInventoryItemHolders(context: TransportContext, input: {
3567
+ readonly bearer: string;
3568
+ readonly appId: string;
3569
+ readonly itemId: string;
3570
+ }): Promise<InventoryItemHoldersResponse>;
3571
+ declare function uploadDeveloperAppInventoryItemImage(context: TransportContext, input: {
3572
+ readonly bearer: string;
3573
+ readonly appId: string;
3574
+ readonly itemId: string;
3575
+ readonly file: Blob | ArrayBufferView | ArrayBuffer;
3576
+ readonly filename: string;
3577
+ readonly contentType: string;
3578
+ }): Promise<InventoryItemRecord>;
3579
+ declare function uploadDeveloperAppInventoryItemBanner(context: TransportContext, input: {
3580
+ readonly bearer: string;
3581
+ readonly appId: string;
3582
+ readonly itemId: string;
3583
+ readonly file: Blob | ArrayBufferView | ArrayBuffer;
3584
+ readonly filename: string;
3585
+ readonly contentType: string;
3586
+ }): Promise<InventoryItemRecord>;
3587
+ //#endregion
2792
3588
  //#region src/developer/pages.d.ts
2793
3589
  declare function getDeveloperAppPage(context: TransportContext, input: {
2794
3590
  readonly bearer: string;
@@ -2847,6 +3643,19 @@ declare function unpublishAppPage(context: TransportContext, input: {
2847
3643
  readonly bearer: string;
2848
3644
  readonly appId: string;
2849
3645
  }): Promise<AppPageDraft>;
3646
+ declare function setAppPageBip(context: TransportContext, input: {
3647
+ readonly bearer: string;
3648
+ readonly appId: string;
3649
+ readonly body: AppPageBipToggle;
3650
+ }): Promise<AppPageDraft>;
3651
+ declare function submitAppPageBipForReview(context: TransportContext, input: {
3652
+ readonly bearer: string;
3653
+ readonly appId: string;
3654
+ }): Promise<AppPageDraft>;
3655
+ declare function unpublishAppPageBip(context: TransportContext, input: {
3656
+ readonly bearer: string;
3657
+ readonly appId: string;
3658
+ }): Promise<AppPageDraft>;
2850
3659
  //#endregion
2851
3660
  //#region src/developer/participants.d.ts
2852
3661
  declare function listDeveloperAppParticipants(context: TransportContext, input: {
@@ -2913,6 +3722,20 @@ declare function uploadMultipart(context: TransportContext, input: {
2913
3722
  readonly contentType: string;
2914
3723
  }): Promise<unknown>;
2915
3724
  //#endregion
3725
+ //#region src/developer/vault.d.ts
3726
+ declare function createDeveloperVaultPermit(context: TransportContext, input: {
3727
+ readonly bearer: string;
3728
+ readonly appId: string;
3729
+ readonly itemId: string;
3730
+ readonly grant: InventoryVaultPermitCreateInput;
3731
+ }): Promise<InventoryVaultPermitRecord>;
3732
+ declare function createDeveloperWithdrawPermit(context: TransportContext, input: {
3733
+ readonly bearer: string;
3734
+ readonly appId: string;
3735
+ readonly itemId: string;
3736
+ readonly grant: InventoryWithdrawPermitCreateInput;
3737
+ }): Promise<InventoryVaultPermitRecord>;
3738
+ //#endregion
2916
3739
  //#region src/inventory/list.d.ts
2917
3740
  declare function listInventory(context: TransportContext, input: {
2918
3741
  readonly bearer: string;
@@ -2921,12 +3744,55 @@ declare function listInventoryForApp(context: TransportContext, input: {
2921
3744
  readonly bearer: string;
2922
3745
  }): Promise<InventoryListResponse>;
2923
3746
  //#endregion
3747
+ //#region src/inventory/nft-transfer.d.ts
3748
+ declare function quoteNftTransfer(context: TransportContext, input: {
3749
+ readonly bearer: string;
3750
+ readonly body: InventoryNftTransferQuoteRequest;
3751
+ }): Promise<InventoryNftTransferQuoteResponse>;
3752
+ declare function executeNftTransfer(context: TransportContext, input: {
3753
+ readonly bearer: string;
3754
+ readonly body: InventoryNftTransferRequest;
3755
+ }): Promise<InventoryNftTransferResponse>;
3756
+ //#endregion
3757
+ //#region src/inventory/permits.d.ts
3758
+ declare function listInventoryMintPermits(context: TransportContext, input: {
3759
+ readonly bearer: string;
3760
+ }): Promise<InventoryPendingPermitListResponse>;
3761
+ declare function redeemInventoryMintPermit(context: TransportContext, input: {
3762
+ readonly bearer: string;
3763
+ readonly permitId: string;
3764
+ }): Promise<InventoryPermitRedeemResult>;
3765
+ //#endregion
2924
3766
  //#region src/inventory/request-mint.d.ts
2925
3767
  declare function requestMint(context: TransportContext, input: {
2926
3768
  readonly appBearer: string;
2927
3769
  readonly body: MintRequestInput;
2928
3770
  }): Promise<MintRequestResult>;
2929
3771
  //#endregion
3772
+ //#region src/inventory/vault.d.ts
3773
+ declare function listInventoryVaultPermits(context: TransportContext, input: {
3774
+ readonly bearer: string;
3775
+ }): Promise<InventoryPendingVaultPermitListResponse>;
3776
+ declare function signInventoryVaultPermit(context: TransportContext, input: {
3777
+ readonly bearer: string;
3778
+ readonly permitId: string;
3779
+ }): Promise<InventorySignedVaultPermit>;
3780
+ declare function quoteRelayedVaultPermit(context: TransportContext, input: {
3781
+ readonly bearer: string;
3782
+ readonly permitId: string;
3783
+ }): Promise<InventoryRelayedVaultQuoteResponse>;
3784
+ declare function submitRelayedVaultPermit(context: TransportContext, input: {
3785
+ readonly bearer: string;
3786
+ readonly permitId: string;
3787
+ readonly body: InventoryRelayedVaultSubmitRequest;
3788
+ }): Promise<InventoryRelayedVaultSubmitResponse>;
3789
+ declare function listInventoryVaulted(context: TransportContext, input: {
3790
+ readonly bearer: string;
3791
+ }): Promise<InventoryVaultCustodyListResponse>;
3792
+ declare function listOauthInventoryVaulted(context: TransportContext, input: {
3793
+ readonly bearer: string;
3794
+ }): Promise<InventoryVaultCustodyListResponse>;
3795
+ //#endregion
2930
3796
  //#region src/messaging/dm-key-backup.d.ts
2931
3797
  declare function getDmKeyBackupStatus(context: TransportContext, input: {
2932
3798
  readonly bearer: string;
@@ -3203,6 +4069,22 @@ declare function createTronDeposit(context: TransportContext, input: {
3203
4069
  readonly bearer: string;
3204
4070
  readonly body: TronDepositRequest;
3205
4071
  }): Promise<TronDepositResponse>;
4072
+ declare function createTronTransfer(context: TransportContext, input: {
4073
+ readonly bearer: string;
4074
+ readonly body: TronTransferRequest;
4075
+ readonly idempotencyKey?: string;
4076
+ }): Promise<TronTransferResponse>;
4077
+ declare function getTronSecurity(context: TransportContext, input: {
4078
+ readonly bearer: string;
4079
+ }): Promise<TronSecuritySetting>;
4080
+ declare function setTronSecurity(context: TransportContext, input: {
4081
+ readonly bearer: string;
4082
+ readonly setting: TronSecuritySetting;
4083
+ }): Promise<TronSecuritySetting>;
4084
+ declare function createTronTransferChallenge(context: TransportContext, input: {
4085
+ readonly bearer: string;
4086
+ readonly body: TronTransferChallengeRequest;
4087
+ }): Promise<TronTransferChallengeResponse>;
3206
4088
  declare function createTronConnectOnboarding(context: TransportContext, input: {
3207
4089
  readonly bearer: string;
3208
4090
  }): Promise<TronConnectOnboardingResponse>;
@@ -3339,6 +4221,10 @@ declare function sendFriendRequest(context: TransportContext, input: {
3339
4221
  readonly bearer: string;
3340
4222
  readonly userId: string;
3341
4223
  }): Promise<void>;
4224
+ declare function removeFriend(context: TransportContext, input: {
4225
+ readonly bearer: string;
4226
+ readonly userId: string;
4227
+ }): Promise<void>;
3342
4228
  declare function decideFriendRequest(context: TransportContext, input: {
3343
4229
  readonly bearer: string;
3344
4230
  readonly requestId: string;
@@ -3351,6 +4237,9 @@ declare function cancelFriendRequest(context: TransportContext, input: {
3351
4237
  declare function listFriends(context: TransportContext, input: {
3352
4238
  readonly bearer: string;
3353
4239
  }): Promise<FriendListResponse>;
4240
+ declare function listFriendsForApp(context: TransportContext, input: {
4241
+ readonly bearer: string;
4242
+ }): Promise<AppFriendListResponse>;
3354
4243
  //#endregion
3355
4244
  //#region src/reads/socials.d.ts
3356
4245
  declare function listSocials(context: TransportContext, input: {
@@ -3642,4 +4531,4 @@ type CookieTokenStoreOptions = {
3642
4531
  };
3643
4532
  declare function createCookieTokenStore(options?: CookieTokenStoreOptions): TokenStore;
3644
4533
  //#endregion
3645
- export { AuthorizeUrl, type BrowserClientConfig, BuildAuthorizeUrlInput, ChargeResult, CookieTokenStoreOptions, type FetchLike, InflightDedup, type Logger, MountPresenceWidgetOptions, NOOP_RATE_LIMITER, OauthErrorCode, OauthPaymentWebhookBody, type OauthScope, PkcePair, PresenceStatus, PresenceWidgetHandle, RateLimitOptions, RateLimiter, SERVER_RATE_LIMIT_MAX_MUTATING, SERVER_RATE_LIMIT_MAX_READ, SERVER_RATE_LIMIT_WINDOW_MS, type SdkBaseConfig, TRON_WS_CLOSE_CODES, type TokenSet, type TokenStore, TronBrowserClient, TronError, TronOauthError, TronWsCloseCode, TronWsCloseError, VerifyWebhookFailure, VerifyWebhookInput, VerifyWebhookResult, VerifyWebhookSuccess, WEBHOOK_SIGNATURE_HEADER, WEBHOOK_TIMESTAMP_HEADER, acceptDeveloperInvite, addAdmin, addAppealBlacklist, addReaction, approveTronCashout, batchThreadDmKeys, bindReferral, buildAuthorizeUrl, cancelFriendRequest, charge, completePaymentIntent, consolidateDeveloperAppWallet, createConsoleLogger, createCookieTokenStore, createDelegation, createDeveloperApiKey, createDeveloperApp, createDirectThread, createInMemoryTokenStore, createInflightDedup, createNoopLogger, createRateLimiter, createReferralCode, createTronCashout, createTronConnectOnboarding, createTronDeposit, decideFriendRequest, declineDeveloperInvite, defaultEndpoints, deleteAppPageBanner, deleteAppPageThumbnail, deleteAppPageThumbnailVideo, deleteAvatar, deleteDelegation, deleteDeveloperApp, deleteDeveloperAppLogo, deleteDeveloperProfileLogo, deleteDeveloperRequestLogo, deleteGameReviewReply, deleteMessage, deleteMyGameReview, deleteThread, deleteThreadLogo, denyPaymentIntent, editMessage, exchangeAuthorizationCode, fetchAuthorizationServerMetadata, fetchUserInfo, fileAppeal, fileAppealPotLeg, followUser, generatePkce, generateState, getActivity, getActivityGroup, getAdminAppealRoom, getAppFeeConfig, getAppPage, getAppPageChanges, getAppealRoom, getDelegation, getDeveloperAppActivity, getDeveloperAppBalances, getDeveloperAppEarnings, getDeveloperAppOverview, getDeveloperAppPage, getDeveloperAppPlaytime, getDeveloperAppTronBalance, getDeveloperAppWallets, getDeveloperPaymentAppeals, getDeveloperPaymentPendingDeposits, getDeveloperStatus, getDeveloperTronBalanceSummary, getDmKeyBackupStatus, getEarningsTimeseries, getIntentStatus, getLibrary, getMeStats, getMoonpayAvailability, getMyDmKey, getMyGameReview, getOutstanding, getPaymentChains, getPaymentHistory, getPaymentIntent, getPaymentLimits, getPaymentPrice, getPlatformFees, getPlaytime, getPlaytimeTimeseries, getPublicProfile, getReferral, getThreadDmKey, getTronBalance, hideAppPage, hideThread, inviteDeveloperAppParticipant, inviteParticipants, leaveThread, listActivePlayers, listAdmins, listAppPages, listAppealBlacklist, listAppealQueue, listAudit, listDeveloperApiKeys, listDeveloperAppContentReports, listDeveloperAppParticipants, listDeveloperAppReviews, listDeveloperInvites, listDeveloperRequests, listDevelopers, listFriends, listGameReviews, listInventory, listInventoryForApp, listNotifications, listPaymentAuthorizations, listSocials, listThreadMessages, listThreads, listTronCashoutQueue, listTronCashouts, listTronLedger, listUsers, listWalletManager, listWallets, markAllNotificationsRead, markThreadRead, mintMoonpayBuyUrl, mintMoonpaySellUrl, mountPresenceWidget, oauthPaymentWebhookBodySchema, pinThread, postAdminAppealRoomMessage, postAppealRoomMessage, previewReferral, provisionDeveloperAppWallet, publishDmKey, refreshAccessToken, rejectTronCashout, removeAdmin, removeAppealBlacklist, removeParticipant, removeReaction, replyToGameReview, requestDeveloperAppProduction, requestMint, resolveAppeal, reviewAppPage, reviewAppPageChanges, reviewDeveloperRequest, revokeDeveloperApiKey, revokeDeveloperAppParticipant, revokePaymentAuthorization, revokeToken, rotateDeveloperAppKey, rotateDeveloperAppPaymentWebhookSecret, rotateProcessorTreasury, searchGiphy, searchUsers, sendFriendRequest, sendMessage, sendPresenceHeartbeat, setProcessorWhitelist, setVaultOperator, setVaultPause, setVaultWithdrawLockDefault, setVaultWithdrawLockOverride, setupDmKeyBackup, sha256Base64Url, signPaymentIntent, submitAppContentReport, submitAppPageForReview, submitDeveloperRequest, toTokenSet, unfollowUser, unhideAppPage, unlockDmKeyBackup, unpinThread, unpublishAppPage, updateAdminRole, updateAppFeeConfig, updateAppPage, updateDeveloperApp, updateDeveloperAppAutoSweep, updateDeveloperAppContentReportStatus, updateDeveloperProfile, updateNotification, updateParticipantRole, updatePaymentAuthorization, updatePlatformFees, updateProfile, updateThreadSettings, updateUserBan, updateWalletLabel, uploadAdminAppealRoomAttachment, uploadAppPageBanner, uploadAppPageGallery, uploadAppPageThumbnail, uploadAppPageThumbnailVideo, uploadAppealRoomAttachment, uploadAttachment, uploadAvatar, uploadDeveloperAppLogo, uploadDeveloperProfileLogo, uploadDeveloperRequestLogo, uploadMultipart, uploadThreadLogo, upsertMyGameReview, verifyWebhook, withdrawDeveloperAppWallet };
4534
+ export { AuthorizeUrl, type BrowserClientConfig, BuildAuthorizeUrlInput, ChargeResult, CookieTokenStoreOptions, type FetchLike, InflightDedup, type Logger, MountPresenceWidgetOptions, NOOP_RATE_LIMITER, OauthErrorCode, OauthPaymentWebhookBody, type OauthScope, PkcePair, PresenceStatus, PresenceWidgetHandle, RateLimitOptions, RateLimiter, SERVER_RATE_LIMIT_MAX_MUTATING, SERVER_RATE_LIMIT_MAX_READ, SERVER_RATE_LIMIT_WINDOW_MS, type SdkBaseConfig, TRON_WS_CLOSE_CODES, type TokenSet, type TokenStore, TronBrowserClient, TronError, TronOauthError, TronWsCloseCode, TronWsCloseError, VerifyWebhookFailure, VerifyWebhookInput, VerifyWebhookResult, VerifyWebhookSuccess, WEBHOOK_SIGNATURE_HEADER, WEBHOOK_TIMESTAMP_HEADER, acceptDeveloperInvite, addAdmin, addAppealBlacklist, addReaction, approveTronCashout, batchThreadDmKeys, bindReferral, buildAuthorizeUrl, cancelFriendRequest, charge, commentOnBipUpdate, commentOnGameReview, completePaymentIntent, consolidateDeveloperAppWallet, createBipUpdate, createConsoleLogger, createCookieTokenStore, createDelegation, createDeveloperApiKey, createDeveloperApp, createDeveloperAppMintPermit, createDeveloperVaultPermit, createDeveloperWithdrawPermit, createDirectThread, createInMemoryTokenStore, createInflightDedup, createNoopLogger, createRateLimiter, createReferralCode, createTronCashout, createTronConnectOnboarding, createTronDeposit, createTronTransfer, createTronTransferChallenge, decideFriendRequest, declineDeveloperInvite, defaultEndpoints, deleteAppPageBanner, deleteAppPageThumbnail, deleteAppPageThumbnailVideo, deleteAvatar, deleteBipUpdate, deleteBipUpdateComment, deleteDelegation, deleteDeveloperApp, deleteDeveloperAppLogo, deleteDeveloperProfileLogo, deleteDeveloperRequestLogo, deleteGameReviewComment, deleteGameReviewReply, deleteMessage, deleteMyGameReview, deleteThread, deleteThreadLogo, denyPaymentIntent, editMessage, exchangeAuthorizationCode, executeNftTransfer, fetchAuthorizationServerMetadata, fetchUserInfo, fileAppeal, fileAppealPotLeg, followUser, forceWithdrawVaultCustody, generatePkce, generateState, getActivity, getActivityGroup, getAdminAppealRoom, getAppFeeConfig, getAppPage, getAppPageChanges, getAppealRoom, getBipDirectory, getBipPage, getDelegation, getDeveloperAppActivity, getDeveloperAppBalances, getDeveloperAppEarnings, getDeveloperAppInventoryItemHolders, getDeveloperAppOverview, getDeveloperAppPage, getDeveloperAppPlaytime, getDeveloperAppTronBalance, getDeveloperAppWallets, getDeveloperPaymentAppeals, getDeveloperPaymentPendingDeposits, getDeveloperStatus, getDeveloperTronBalanceSummary, getDmKeyBackupStatus, getEarningsTimeseries, getIntentStatus, getLibrary, getMeStats, getMoonpayAvailability, getMyBipUpdateReactions, getMyDmKey, getMyGameReview, getMyGameReviewReactions, getOutstanding, getPaymentChains, getPaymentHistory, getPaymentIntent, getPaymentLimits, getPaymentPrice, getPlatformFees, getPlaytime, getPlaytimeTimeseries, getPublicProfile, getReferral, getThreadDmKey, getTronBalance, getTronSecurity, hideAppPage, hideAppPageBip, hideThread, inviteDeveloperAppParticipant, inviteParticipants, leaveThread, listActivePlayers, listAdminContentReports, listAdmins, listAppPages, listAppealBlacklist, listAppealQueue, listAudit, listBipUpdateComments, listBipUpdates, listDeveloperApiKeys, listDeveloperAppContentReports, listDeveloperAppInventoryCollections, listDeveloperAppInventoryItems, listDeveloperAppParticipants, listDeveloperAppReviews, listDeveloperBipUpdates, listDeveloperInvites, listDeveloperRequests, listDevelopers, listFriends, listFriendsForApp, listGameReviewComments, listGameReviews, listInventory, listInventoryForApp, listInventoryMintPermits, listInventoryVaultPermits, listInventoryVaulted, listNotifications, listOauthInventoryVaulted, listPaymentAuthorizations, listSocials, listThreadMessages, listThreads, listTronCashoutQueue, listTronCashouts, listTronLedger, listUsers, listWalletManager, listWallets, markAllNotificationsRead, markThreadRead, mintMoonpayBuyUrl, mintMoonpaySellUrl, mountPresenceWidget, oauthPaymentWebhookBodySchema, pinThread, postAdminAppealRoomMessage, postAppealRoomMessage, previewReferral, provisionDeveloperAppWallet, publishDmKey, quoteDeveloperAppInventoryRegistration, quoteNftTransfer, quoteRelayedVaultPermit, redeemInventoryMintPermit, refreshAccessToken, 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, 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 };