nyx-bot-client 0.0.2

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.
Files changed (288) hide show
  1. package/.env.sample +4 -0
  2. package/.vscode/extensions.json +11 -0
  3. package/.vscode/settings.json +17 -0
  4. package/.zed/settings.json +20 -0
  5. package/@types/AcceptedGiftTypes.ts +26 -0
  6. package/@types/AffiliateInfo.ts +35 -0
  7. package/@types/Animation.ts +56 -0
  8. package/@types/Audio.ts +56 -0
  9. package/@types/BackgroundFill.ts +18 -0
  10. package/@types/BackgroundFillFreeformGradient.ts +16 -0
  11. package/@types/BackgroundFillGradient.ts +26 -0
  12. package/@types/BackgroundFillSolid.ts +16 -0
  13. package/@types/BackgroundType.ts +21 -0
  14. package/@types/BackgroundTypeChatTheme.ts +16 -0
  15. package/@types/BackgroundTypeFill.ts +23 -0
  16. package/@types/BackgroundTypePattern.ts +40 -0
  17. package/@types/BackgroundTypeWallpaper.ts +33 -0
  18. package/@types/Birthdate.ts +21 -0
  19. package/@types/BotCommand.ts +16 -0
  20. package/@types/BotCommandScope.ts +30 -0
  21. package/@types/BotCommandScopeAllChatAdministrators.ts +11 -0
  22. package/@types/BotCommandScopeAllGroupChats.ts +11 -0
  23. package/@types/BotCommandScopeAllPrivateChats.ts +11 -0
  24. package/@types/BotCommandScopeChat.ts +16 -0
  25. package/@types/BotCommandScopeChatAdministrators.ts +16 -0
  26. package/@types/BotCommandScopeChatMember.ts +21 -0
  27. package/@types/BotCommandScopeDefault.ts +12 -0
  28. package/@types/BotDescription.ts +11 -0
  29. package/@types/BotName.ts +11 -0
  30. package/@types/BotShortDescription.ts +11 -0
  31. package/@types/BusinessBotRights.ts +65 -0
  32. package/@types/BusinessConnection.ts +41 -0
  33. package/@types/BusinessIntro.ts +23 -0
  34. package/@types/BusinessLocation.ts +18 -0
  35. package/@types/BusinessMessagesDeleted.ts +24 -0
  36. package/@types/BusinessOpeningHours.ts +18 -0
  37. package/@types/BusinessOpeningHoursInterval.ts +18 -0
  38. package/@types/CallbackGame.ts +6 -0
  39. package/@types/CallbackQuery.ts +49 -0
  40. package/@types/Chat.ts +43 -0
  41. package/@types/ChatAdministratorRights.ts +84 -0
  42. package/@types/ChatBackground.ts +13 -0
  43. package/@types/ChatBoost.ts +29 -0
  44. package/@types/ChatBoostAdded.ts +11 -0
  45. package/@types/ChatBoostRemoved.ts +28 -0
  46. package/@types/ChatBoostSource.ts +18 -0
  47. package/@types/ChatBoostSourceGiftCode.ts +19 -0
  48. package/@types/ChatBoostSourceGiveaway.ts +35 -0
  49. package/@types/ChatBoostSourcePremium.ts +19 -0
  50. package/@types/ChatBoostUpdated.ts +18 -0
  51. package/@types/ChatFullInfo.ts +260 -0
  52. package/@types/ChatInviteLink.ts +66 -0
  53. package/@types/ChatJoinRequest.ts +42 -0
  54. package/@types/ChatLocation.ts +16 -0
  55. package/@types/ChatMember.ts +28 -0
  56. package/@types/ChatMemberAdministrator.ts +107 -0
  57. package/@types/ChatMemberBanned.ts +23 -0
  58. package/@types/ChatMemberLeft.ts +18 -0
  59. package/@types/ChatMemberMember.ts +23 -0
  60. package/@types/ChatMemberOwner.ts +28 -0
  61. package/@types/ChatMemberRestricted.ts +99 -0
  62. package/@types/ChatMemberUpdated.ts +49 -0
  63. package/@types/ChatPermissions.ts +78 -0
  64. package/@types/ChatPhoto.ts +30 -0
  65. package/@types/ChatShared.ts +36 -0
  66. package/@types/Checklist.ts +33 -0
  67. package/@types/ChecklistTask.ts +33 -0
  68. package/@types/ChecklistTasksAdded.ts +19 -0
  69. package/@types/ChecklistTasksDone.ts +24 -0
  70. package/@types/ChosenInlineResult.ts +34 -0
  71. package/@types/Contact.ts +33 -0
  72. package/@types/CopyTextButton.ts +11 -0
  73. package/@types/Dice.ts +17 -0
  74. package/@types/DirectMessagePriceChanged.ts +17 -0
  75. package/@types/Document.ts +41 -0
  76. package/@types/EncryptedCredentials.ts +23 -0
  77. package/@types/EncryptedPassportElement.ts +357 -0
  78. package/@types/ExternalReplyInfo.ts +159 -0
  79. package/@types/File.ts +33 -0
  80. package/@types/ForceReply.ts +26 -0
  81. package/@types/ForumTopic.ts +26 -0
  82. package/@types/ForumTopicClosed.ts +6 -0
  83. package/@types/ForumTopicCreated.ts +21 -0
  84. package/@types/ForumTopicEdited.ts +17 -0
  85. package/@types/ForumTopicReopened.ts +6 -0
  86. package/@types/Game.ts +41 -0
  87. package/@types/GameHighScore.ts +23 -0
  88. package/@types/GeneralForumTopicHidden.ts +7 -0
  89. package/@types/GeneralForumTopicUnhidden.ts +7 -0
  90. package/@types/Gift.ts +38 -0
  91. package/@types/GiftInfo.ts +52 -0
  92. package/@types/Gifts.ts +13 -0
  93. package/@types/Giveaway.ts +55 -0
  94. package/@types/GiveawayCompleted.ts +29 -0
  95. package/@types/GiveawayCreated.ts +11 -0
  96. package/@types/GiveawayWinners.ts +68 -0
  97. package/@types/InaccessibleMessage.ts +23 -0
  98. package/@types/InlineKeyboardButton.ts +88 -0
  99. package/@types/InlineKeyboardMarkup.ts +13 -0
  100. package/@types/InlineQuery.ts +41 -0
  101. package/@types/InlineQueryResult.ts +70 -0
  102. package/@types/InlineQueryResultArticle.ts +58 -0
  103. package/@types/InlineQueryResultAudio.ts +69 -0
  104. package/@types/InlineQueryResultCachedAudio.ts +55 -0
  105. package/@types/InlineQueryResultCachedDocument.ts +65 -0
  106. package/@types/InlineQueryResultCachedGif.ts +65 -0
  107. package/@types/InlineQueryResultCachedMpeg4Gif.ts +65 -0
  108. package/@types/InlineQueryResultCachedPhoto.ts +70 -0
  109. package/@types/InlineQueryResultCachedSticker.ts +34 -0
  110. package/@types/InlineQueryResultCachedVideo.ts +70 -0
  111. package/@types/InlineQueryResultCachedVoice.ts +60 -0
  112. package/@types/InlineQueryResultContact.ts +64 -0
  113. package/@types/InlineQueryResultDocument.ts +85 -0
  114. package/@types/InlineQueryResultGame.ts +29 -0
  115. package/@types/InlineQueryResultGif.ts +91 -0
  116. package/@types/InlineQueryResultLocation.ts +82 -0
  117. package/@types/InlineQueryResultMpeg4Gif.ts +91 -0
  118. package/@types/InlineQueryResultPhoto.ts +84 -0
  119. package/@types/InlineQueryResultVenue.ts +80 -0
  120. package/@types/InlineQueryResultVideo.ts +98 -0
  121. package/@types/InlineQueryResultVoice.ts +65 -0
  122. package/@types/InlineQueryResultsButton.ts +34 -0
  123. package/@types/InputChecklist.ts +39 -0
  124. package/@types/InputChecklistTask.ts +30 -0
  125. package/@types/InputContactMessageContent.ts +27 -0
  126. package/@types/InputFile.ts +10 -0
  127. package/@types/InputInvoiceMessageContent.ts +120 -0
  128. package/@types/InputLocationMessageContent.ts +39 -0
  129. package/@types/InputMedia.ts +24 -0
  130. package/@types/InputMediaAnimation.ts +68 -0
  131. package/@types/InputMediaAudio.ts +58 -0
  132. package/@types/InputMediaDocument.ts +49 -0
  133. package/@types/InputMediaPhoto.ts +45 -0
  134. package/@types/InputMediaVideo.ts +85 -0
  135. package/@types/InputMessageContent.ts +25 -0
  136. package/@types/InputPaidMedia.ts +11 -0
  137. package/@types/InputPaidMediaPhoto.ts +21 -0
  138. package/@types/InputPaidMediaVideo.ts +64 -0
  139. package/@types/InputPollOption.ts +25 -0
  140. package/@types/InputProfilePhoto.ts +10 -0
  141. package/@types/InputProfilePhotoAnimated.ts +23 -0
  142. package/@types/InputProfilePhotoStatic.ts +18 -0
  143. package/@types/InputSticker.ts +38 -0
  144. package/@types/InputStoryContent.ts +11 -0
  145. package/@types/InputStoryContentPhoto.ts +29 -0
  146. package/@types/InputStoryContentVideo.ts +49 -0
  147. package/@types/InputTextMessageContent.ts +28 -0
  148. package/@types/InputVenueMessageContent.ts +47 -0
  149. package/@types/Invoice.ts +35 -0
  150. package/@types/KeyboardButton.ts +61 -0
  151. package/@types/KeyboardButtonPollType.ts +13 -0
  152. package/@types/KeyboardButtonRequestChat.ts +68 -0
  153. package/@types/KeyboardButtonRequestUsers.ts +45 -0
  154. package/@types/LabeledPrice.ts +18 -0
  155. package/@types/LinkPreviewOptions.ts +32 -0
  156. package/@types/Location.ts +38 -0
  157. package/@types/LocationAddress.ts +26 -0
  158. package/@types/LoginUrl.ts +37 -0
  159. package/@types/MaskPosition.ts +28 -0
  160. package/@types/MaybeInaccessibleMessage.ts +8 -0
  161. package/@types/MenuButton.ts +20 -0
  162. package/@types/MenuButtonCommands.ts +11 -0
  163. package/@types/MenuButtonDefault.ts +11 -0
  164. package/@types/MenuButtonWebApp.ts +26 -0
  165. package/@types/Message.ts +608 -0
  166. package/@types/MessageAutoDeleteTimerChanged.ts +11 -0
  167. package/@types/MessageEntity.ts +109 -0
  168. package/@types/MessageId.ts +11 -0
  169. package/@types/MessageOrigin.ts +21 -0
  170. package/@types/MessageOriginChannel.ts +33 -0
  171. package/@types/MessageOriginChat.ts +28 -0
  172. package/@types/MessageOriginHiddenUser.ts +21 -0
  173. package/@types/MessageOriginUser.ts +23 -0
  174. package/@types/MessageReactionCountUpdated.ts +28 -0
  175. package/@types/MessageReactionUpdated.ts +43 -0
  176. package/@types/OrderInfo.ts +28 -0
  177. package/@types/OwnedGift.ts +11 -0
  178. package/@types/OwnedGiftRegular.ts +77 -0
  179. package/@types/OwnedGiftUnique.ts +57 -0
  180. package/@types/OwnedGifts.ts +23 -0
  181. package/@types/PaidMedia.ts +13 -0
  182. package/@types/PaidMediaInfo.ts +18 -0
  183. package/@types/PaidMediaPhoto.ts +18 -0
  184. package/@types/PaidMediaPreview.ts +26 -0
  185. package/@types/PaidMediaPurchased.ts +18 -0
  186. package/@types/PaidMediaVideo.ts +18 -0
  187. package/@types/PaidMessagePriceChanged.ts +16 -0
  188. package/@types/PassportData.ts +18 -0
  189. package/@types/PassportElementError.ts +37 -0
  190. package/@types/PassportElementErrorDataField.ts +39 -0
  191. package/@types/PassportElementErrorFile.ts +33 -0
  192. package/@types/PassportElementErrorFiles.ts +33 -0
  193. package/@types/PassportElementErrorFrontSide.ts +28 -0
  194. package/@types/PassportElementErrorReverseSide.ts +27 -0
  195. package/@types/PassportElementErrorSelfie.ts +28 -0
  196. package/@types/PassportElementErrorTranslationFile.ts +38 -0
  197. package/@types/PassportElementErrorTranslationFiles.ts +38 -0
  198. package/@types/PassportElementErrorUnspecified.ts +49 -0
  199. package/@types/PassportFile.ts +28 -0
  200. package/@types/PhotoSize.ts +32 -0
  201. package/@types/Poll.ts +81 -0
  202. package/@types/PollAnswer.ts +28 -0
  203. package/@types/PollOption.ts +24 -0
  204. package/@types/PreCheckoutQuery.ts +45 -0
  205. package/@types/ProximityAlertTriggered.ts +24 -0
  206. package/@types/ReactionCount.ts +18 -0
  207. package/@types/ReactionType.ts +18 -0
  208. package/@types/ReactionTypeCustomEmoji.ts +16 -0
  209. package/@types/ReactionTypeEmoji.ts +92 -0
  210. package/@types/ReactionTypePaid.ts +11 -0
  211. package/@types/RefundedPayment.ts +35 -0
  212. package/@types/ReplyKeyboardMarkup.ts +49 -0
  213. package/@types/ReplyKeyboardRemove.ts +25 -0
  214. package/@types/ReplyParameters.ts +48 -0
  215. package/@types/ResponseParameters.ts +19 -0
  216. package/@types/RevenueWithdrawalState.ts +13 -0
  217. package/@types/RevenueWithdrawalStateFailed.ts +11 -0
  218. package/@types/RevenueWithdrawalStatePending.ts +10 -0
  219. package/@types/RevenueWithdrawalStateSucceeded.ts +21 -0
  220. package/@types/SentWebAppMessage.ts +12 -0
  221. package/@types/SharedUser.ts +36 -0
  222. package/@types/ShippingAddress.ts +36 -0
  223. package/@types/ShippingOption.ts +23 -0
  224. package/@types/ShippingQuery.ts +28 -0
  225. package/@types/StarAmount.ts +17 -0
  226. package/@types/StarTransaction.ts +42 -0
  227. package/@types/StarTransactions.ts +13 -0
  228. package/@types/Sticker.ts +86 -0
  229. package/@types/StickerSet.ts +33 -0
  230. package/@types/Story.ts +18 -0
  231. package/@types/StoryArea.ts +18 -0
  232. package/@types/StoryAreaPosition.ts +36 -0
  233. package/@types/StoryAreaType.ts +24 -0
  234. package/@types/StoryAreaTypeLink.ts +16 -0
  235. package/@types/StoryAreaTypeLocation.ts +28 -0
  236. package/@types/StoryAreaTypeSuggestedReaction.ts +29 -0
  237. package/@types/StoryAreaTypeUniqueGift.ts +16 -0
  238. package/@types/StoryAreaTypeWeather.ts +26 -0
  239. package/@types/SuccessfulPayment.ts +60 -0
  240. package/@types/SwitchInlineQueryChosenChat.ts +33 -0
  241. package/@types/TextQuote.ts +30 -0
  242. package/@types/TransactionPartner.ts +31 -0
  243. package/@types/TransactionPartnerAffiliateProgram.ts +24 -0
  244. package/@types/TransactionPartnerChat.ts +21 -0
  245. package/@types/TransactionPartnerFragment.ts +18 -0
  246. package/@types/TransactionPartnerOther.ts +11 -0
  247. package/@types/TransactionPartnerTelegramAds.ts +11 -0
  248. package/@types/TransactionPartnerTelegramApi.ts +16 -0
  249. package/@types/TransactionPartnerUser.ts +70 -0
  250. package/@types/UniqueGift.ts +38 -0
  251. package/@types/UniqueGiftBackdrop.ts +23 -0
  252. package/@types/UniqueGiftBackdropColors.ts +26 -0
  253. package/@types/UniqueGiftInfo.ts +42 -0
  254. package/@types/UniqueGiftModel.ts +23 -0
  255. package/@types/UniqueGiftSymbol.ts +23 -0
  256. package/@types/Update.ts +177 -0
  257. package/@types/User.ts +74 -0
  258. package/@types/UserProfilePhotos.ts +18 -0
  259. package/@types/UsersShared.ts +19 -0
  260. package/@types/Venue.ts +48 -0
  261. package/@types/Video.ts +66 -0
  262. package/@types/VideoChatEnded.ts +11 -0
  263. package/@types/VideoChatParticipantsInvited.ts +13 -0
  264. package/@types/VideoChatScheduled.ts +11 -0
  265. package/@types/VideoChatStarted.ts +6 -0
  266. package/@types/VideoNote.ts +39 -0
  267. package/@types/Voice.ts +34 -0
  268. package/@types/WebAppData.ts +17 -0
  269. package/@types/WebAppInfo.ts +11 -0
  270. package/@types/WebhookInfo.ts +54 -0
  271. package/@types/WriteAccessAllowed.ts +23 -0
  272. package/@types/index.ts +395 -0
  273. package/@types/utils.ts +17 -0
  274. package/biome.json +58 -0
  275. package/bun.lock +105 -0
  276. package/cron/actions-server.ts +87 -0
  277. package/index.ts +9 -0
  278. package/nyx-client.ts +133 -0
  279. package/package.json +22 -0
  280. package/tsconfig.json +28 -0
  281. package/types.d.ts +35 -0
  282. package/utils/actions.ts +30 -0
  283. package/utils/api.ts +27 -0
  284. package/utils/enum.ts +5 -0
  285. package/utils/helpers.ts +71 -0
  286. package/utils/methods.ts +1943 -0
  287. package/utils/objects.ts +37 -0
  288. package/utils/table.ts +72 -0
@@ -0,0 +1,54 @@
1
+ /**
2
+ * ## getWebhookInfo
3
+ * Use this method to get current webhook status. Requires no parameters. On success, returns a WebhookInfo object. If
4
+ * the bot is using getUpdates, will return an object with the url field empty.
5
+ * @see https://core.telegram.org/bots/api#getwebhookinfo
6
+ */
7
+ export type WebhookInfo = {
8
+ /**
9
+ * Webhook URL, may be empty if webhook is not set up
10
+ */
11
+ url: string;
12
+
13
+ /**
14
+ * True, if a custom certificate was provided for webhook certificate checks
15
+ */
16
+ has_custom_certificate: boolean;
17
+
18
+ /**
19
+ * Number of updates awaiting delivery
20
+ */
21
+ pending_update_count: number;
22
+
23
+ /**
24
+ * Optional. Currently used webhook IP address
25
+ */
26
+ ip_address?: string;
27
+
28
+ /**
29
+ * Optional. Unix time for the most recent error that happened when trying to deliver an update via webhook
30
+ */
31
+ last_error_date?: number;
32
+
33
+ /**
34
+ * Optional. Error message in human-readable format for the most recent error that happened when trying to deliver an
35
+ * update via webhook
36
+ */
37
+ last_error_message?: string;
38
+
39
+ /**
40
+ * Optional. Unix time of the most recent error that happened when trying to synchronize available updates with
41
+ * Telegram datacenters
42
+ */
43
+ last_synchronization_error_date?: number;
44
+
45
+ /**
46
+ * Optional. The maximum allowed number of simultaneous HTTPS connections to the webhook for update delivery
47
+ */
48
+ max_connections?: string;
49
+
50
+ /**
51
+ * Optional. A list of update types the bot is subscribed to. Defaults to all update types except chat_member
52
+ */
53
+ allowed_updates?: string[];
54
+ };
@@ -0,0 +1,23 @@
1
+ /**
2
+ * ## WriteAccessAllowed
3
+ * This object represents a service message about a user allowing a bot to write messages after adding it to the
4
+ * attachment menu, launching a Web App from a link, or accepting an explicit request from a Web App sent by the method
5
+ * requestWriteAccess.
6
+ * @see https://core.telegram.org/bots/api#writeaccessallowed
7
+ */
8
+ export type WriteAccessAllowed = {
9
+ /**
10
+ * True, if the user can write custom messages
11
+ */
12
+ from_request?: boolean;
13
+
14
+ /**
15
+ * Optional. Name of the Web App, if the access was granted when the Web App was launched from a link
16
+ */
17
+ web_app_name?: string;
18
+
19
+ /**
20
+ * Optional. True, if the access was granted when the bot was added to the attachment or side menu
21
+ */
22
+ from_attachment_menu?: boolean;
23
+ };
@@ -0,0 +1,395 @@
1
+ export * from "./AcceptedGiftTypes";
2
+ export * from "./AffiliateInfo";
3
+ export * from "./Animation";
4
+ export * from "./Audio";
5
+ export * from "./BackgroundFill";
6
+ export * from "./BackgroundFillFreeformGradient";
7
+ export * from "./BackgroundFillGradient";
8
+ export * from "./BackgroundFillSolid";
9
+ export * from "./BackgroundType";
10
+ export * from "./BackgroundTypeChatTheme";
11
+ export * from "./BackgroundTypeFill";
12
+ export * from "./BackgroundTypePattern";
13
+ export * from "./BackgroundTypeWallpaper";
14
+ export * from "./Birthdate";
15
+ export * from "./BotCommand";
16
+ export * from "./BotCommandScope";
17
+ export * from "./BotCommandScopeAllChatAdministrators";
18
+ export * from "./BotCommandScopeAllGroupChats";
19
+ export * from "./BotCommandScopeAllPrivateChats";
20
+ export * from "./BotCommandScopeChat";
21
+ export * from "./BotCommandScopeChatAdministrators";
22
+ export * from "./BotCommandScopeChatMember";
23
+ export * from "./BotCommandScopeDefault";
24
+ export * from "./BotDescription";
25
+ export * from "./BotName";
26
+ export * from "./BotShortDescription";
27
+ export * from "./BusinessBotRights";
28
+ export * from "./BusinessConnection";
29
+ export * from "./BusinessIntro";
30
+ export * from "./BusinessLocation";
31
+ export * from "./BusinessMessagesDeleted";
32
+ export * from "./BusinessOpeningHours";
33
+ export * from "./BusinessOpeningHoursInterval";
34
+ export * from "./CallbackGame";
35
+ export * from "./CallbackQuery";
36
+ export * from "./Chat";
37
+ export * from "./ChatAdministratorRights";
38
+ export * from "./ChatBackground";
39
+ export * from "./ChatBoost";
40
+ export * from "./ChatBoostAdded";
41
+ export * from "./ChatBoostRemoved";
42
+ export * from "./ChatBoostSource";
43
+ export * from "./ChatBoostSourceGiftCode";
44
+ export * from "./ChatBoostSourceGiveaway";
45
+ export * from "./ChatBoostSourcePremium";
46
+ export * from "./ChatBoostUpdated";
47
+ export * from "./ChatFullInfo";
48
+ export * from "./ChatInviteLink";
49
+ export * from "./ChatJoinRequest";
50
+ export * from "./ChatLocation";
51
+ export * from "./ChatMember";
52
+ export * from "./ChatMemberAdministrator";
53
+ export * from "./ChatMemberBanned";
54
+ export * from "./ChatMemberLeft";
55
+ export * from "./ChatMemberMember";
56
+ export * from "./ChatMemberOwner";
57
+ export * from "./ChatMemberRestricted";
58
+ export * from "./ChatMemberUpdated";
59
+ export * from "./ChatPermissions";
60
+ export * from "./ChatPhoto";
61
+ export * from "./ChatShared";
62
+ export * from "./Checklist";
63
+ export * from "./ChecklistTask";
64
+ export * from "./ChecklistTasksAdded";
65
+ export * from "./ChecklistTasksDone";
66
+ export * from "./ChosenInlineResult";
67
+ export * from "./Contact";
68
+ export * from "./CopyTextButton";
69
+ export * from "./Dice";
70
+ export * from "./DirectMessagePriceChanged";
71
+ export * from "./Document";
72
+ export * from "./EncryptedCredentials";
73
+ export * from "./EncryptedPassportElement";
74
+ export * from "./ExternalReplyInfo";
75
+ export * from "./File";
76
+ export * from "./ForceReply";
77
+ export * from "./ForumTopic";
78
+ export * from "./ForumTopicClosed";
79
+ export * from "./ForumTopicCreated";
80
+ export * from "./ForumTopicEdited";
81
+ export * from "./ForumTopicReopened";
82
+ export * from "./Game";
83
+ export * from "./GameHighScore";
84
+ export * from "./GeneralForumTopicHidden";
85
+ export * from "./GeneralForumTopicUnhidden";
86
+ export * from "./Gift";
87
+ export * from "./GiftInfo";
88
+ export * from "./Gifts";
89
+ export * from "./Giveaway";
90
+ export * from "./GiveawayCompleted";
91
+ export * from "./GiveawayCreated";
92
+ export * from "./GiveawayWinners";
93
+ export * from "./InaccessibleMessage";
94
+ export * from "./InlineKeyboardButton";
95
+ export * from "./InlineKeyboardMarkup";
96
+ export * from "./InlineQuery";
97
+ export * from "./InlineQueryResult";
98
+ export * from "./InlineQueryResultArticle";
99
+ export * from "./InlineQueryResultAudio";
100
+ export * from "./InlineQueryResultCachedAudio";
101
+ export * from "./InlineQueryResultCachedDocument";
102
+ export * from "./InlineQueryResultCachedGif";
103
+ export * from "./InlineQueryResultCachedMpeg4Gif";
104
+ export * from "./InlineQueryResultCachedPhoto";
105
+ export * from "./InlineQueryResultCachedSticker";
106
+ export * from "./InlineQueryResultCachedVideo";
107
+ export * from "./InlineQueryResultCachedVoice";
108
+ export * from "./InlineQueryResultContact";
109
+ export * from "./InlineQueryResultDocument";
110
+ export * from "./InlineQueryResultGame";
111
+ export * from "./InlineQueryResultGif";
112
+ export * from "./InlineQueryResultLocation";
113
+ export * from "./InlineQueryResultMpeg4Gif";
114
+ export * from "./InlineQueryResultPhoto";
115
+ export * from "./InlineQueryResultsButton";
116
+ export * from "./InlineQueryResultVenue";
117
+ export * from "./InlineQueryResultVideo";
118
+ export * from "./InlineQueryResultVoice";
119
+ export * from "./InputChecklist";
120
+ export * from "./InputChecklistTask";
121
+ export * from "./InputContactMessageContent";
122
+ export * from "./InputFile";
123
+ export * from "./InputInvoiceMessageContent";
124
+ export * from "./InputLocationMessageContent";
125
+ export * from "./InputMedia";
126
+ export * from "./InputMediaAnimation";
127
+ export * from "./InputMediaAudio";
128
+ export * from "./InputMediaDocument";
129
+ export * from "./InputMediaPhoto";
130
+ export * from "./InputMediaVideo";
131
+ export * from "./InputMessageContent";
132
+ export * from "./InputPaidMedia";
133
+ export * from "./InputPaidMediaPhoto";
134
+ export * from "./InputPaidMediaVideo";
135
+ export * from "./InputPollOption";
136
+ export * from "./InputProfilePhoto";
137
+ export * from "./InputProfilePhotoAnimated";
138
+ export * from "./InputProfilePhotoStatic";
139
+ export * from "./InputSticker";
140
+ export * from "./InputStoryContent";
141
+ export * from "./InputStoryContentPhoto";
142
+ export * from "./InputStoryContentVideo";
143
+ export * from "./InputTextMessageContent";
144
+ export * from "./InputVenueMessageContent";
145
+ export * from "./Invoice";
146
+ export * from "./index";
147
+ export * from "./KeyboardButton";
148
+ export * from "./KeyboardButtonPollType";
149
+ export * from "./KeyboardButtonRequestChat";
150
+ export * from "./KeyboardButtonRequestUsers";
151
+ export * from "./LabeledPrice";
152
+ export * from "./LinkPreviewOptions";
153
+ export * from "./Location";
154
+ export * from "./LocationAddress";
155
+ export * from "./LoginUrl";
156
+ export * from "./MaskPosition";
157
+ export * from "./MaybeInaccessibleMessage";
158
+ export * from "./MenuButton";
159
+ export * from "./MenuButtonCommands";
160
+ export * from "./MenuButtonDefault";
161
+ export * from "./MenuButtonWebApp";
162
+ export * from "./Message";
163
+ export * from "./MessageAutoDeleteTimerChanged";
164
+ export * from "./MessageEntity";
165
+ export * from "./MessageId";
166
+ export * from "./MessageOrigin";
167
+ export * from "./MessageOriginChannel";
168
+ export * from "./MessageOriginChat";
169
+ export * from "./MessageOriginHiddenUser";
170
+ export * from "./MessageOriginUser";
171
+ export * from "./MessageReactionCountUpdated";
172
+ export * from "./MessageReactionUpdated";
173
+ export * from "./OrderInfo";
174
+ export * from "./OwnedGift";
175
+ export * from "./OwnedGiftRegular";
176
+ export * from "./OwnedGifts";
177
+ export * from "./OwnedGiftUnique";
178
+ export * from "./PaidMedia";
179
+ export * from "./PaidMedia";
180
+ export * from "./PaidMediaInfo";
181
+ export * from "./PaidMediaInfo";
182
+ export * from "./PaidMediaPhoto";
183
+ export * from "./PaidMediaPhoto";
184
+ export * from "./PaidMediaPreview";
185
+ export * from "./PaidMediaPreview";
186
+ export * from "./PaidMediaPurchased";
187
+ export * from "./PaidMediaVideo";
188
+ export * from "./PaidMediaVideo";
189
+ export * from "./PaidMessagePriceChanged";
190
+ export * from "./PassportData";
191
+ export * from "./PassportElementError";
192
+ export * from "./PassportElementErrorDataField";
193
+ export * from "./PassportElementErrorFile";
194
+ export * from "./PassportElementErrorFiles";
195
+ export * from "./PassportElementErrorFrontSide";
196
+ export * from "./PassportElementErrorReverseSide";
197
+ export * from "./PassportElementErrorSelfie";
198
+ export * from "./PassportElementErrorTranslationFile";
199
+ export * from "./PassportElementErrorTranslationFiles";
200
+ export * from "./PassportElementErrorUnspecified";
201
+ export * from "./PassportFile";
202
+ export * from "./PhotoSize";
203
+ export * from "./Poll";
204
+ export * from "./PollAnswer";
205
+ export * from "./PollOption";
206
+ export * from "./PreCheckoutQuery";
207
+ export * from "./ProximityAlertTriggered";
208
+ export * from "./ReactionCount";
209
+ export * from "./ReactionType";
210
+ export * from "./ReactionTypeCustomEmoji";
211
+ export * from "./ReactionTypeEmoji";
212
+ export * from "./ReactionTypePaid";
213
+ export * from "./RefundedPayment";
214
+ export * from "./ReplyKeyboardMarkup";
215
+ export * from "./ReplyKeyboardRemove";
216
+ export * from "./ReplyParameters";
217
+ export * from "./ResponseParameters";
218
+ export * from "./SentWebAppMessage";
219
+ export * from "./SharedUser";
220
+ export * from "./ShippingAddress";
221
+ export * from "./ShippingOption";
222
+ export * from "./ShippingQuery";
223
+ export * from "./StarAmount";
224
+ export * from "./StarTransaction";
225
+ export * from "./StarTransactions";
226
+ export * from "./Sticker";
227
+ export * from "./StickerSet";
228
+ export * from "./Story";
229
+ export * from "./StoryArea";
230
+ export * from "./StoryAreaPosition";
231
+ export * from "./StoryAreaType";
232
+ export * from "./StoryAreaTypeLink";
233
+ export * from "./StoryAreaTypeLocation";
234
+ export * from "./StoryAreaTypeSuggestedReaction";
235
+ export * from "./StoryAreaTypeUniqueGift";
236
+ export * from "./StoryAreaTypeWeather";
237
+ export * from "./SuccessfulPayment";
238
+ export * from "./SwitchInlineQueryChosenChat";
239
+ export * from "./TextQuote";
240
+ export * from "./TransactionPartner";
241
+ export * from "./TransactionPartnerAffiliateProgram";
242
+ export * from "./TransactionPartnerChat";
243
+ export * from "./TransactionPartnerFragment";
244
+ export * from "./TransactionPartnerOther";
245
+ export * from "./TransactionPartnerTelegramAds";
246
+ export * from "./TransactionPartnerTelegramApi";
247
+ export * from "./TransactionPartnerUser";
248
+ export * from "./UniqueGift";
249
+ export * from "./UniqueGiftBackdrop";
250
+ export * from "./UniqueGiftBackdropColors";
251
+ export * from "./UniqueGiftInfo";
252
+ export * from "./UniqueGiftModel";
253
+ export * from "./UniqueGiftSymbol";
254
+ export * from "./Update";
255
+ export * from "./User";
256
+ export * from "./UserProfilePhotos";
257
+ export * from "./UsersShared";
258
+ export * from "./Venue";
259
+ export * from "./Video";
260
+ export * from "./VideoChatEnded";
261
+ export * from "./VideoChatParticipantsInvited";
262
+ export * from "./VideoChatScheduled";
263
+ export * from "./VideoChatStarted";
264
+ export * from "./VideoNote";
265
+ export * from "./Voice";
266
+ export * from "./WebAppData";
267
+ export * from "./WebAppInfo";
268
+ export * from "./WebhookInfo";
269
+ export * from "./WriteAccessAllowed";
270
+
271
+ import type { InputFile } from "./InputFile";
272
+ import type { ResponseParameters } from "./ResponseParameters";
273
+
274
+ export interface SuccessResponse {
275
+ ok: true;
276
+ result: unknown;
277
+ description?: string;
278
+ }
279
+ export interface ErrorResponse {
280
+ ok: false;
281
+ description: string;
282
+ error_code: number;
283
+ parameters?: ResponseParameters;
284
+ }
285
+
286
+ /**
287
+ * @see https://core.telegram.org/bots/api#making-requests
288
+ */
289
+ export type Response = SuccessResponse | ErrorResponse;
290
+
291
+ /**
292
+ * ## Formatting options
293
+ * @see https://core.telegram.org/bots/api#formatting-options
294
+ */
295
+ export type ParseMode = "Markdown" | "MarkdownV2" | "HTML";
296
+
297
+ /**
298
+ * ## Attachment
299
+ * alias for InputFile
300
+ */
301
+ export type Attachment = InputFile;
302
+
303
+ /**
304
+ * ## Supported Currencies
305
+ * @see https://core.telegram.org/bots/payments#supported-currencies
306
+ */
307
+ export type Currencies =
308
+ | "AED"
309
+ | "AFN"
310
+ | "ALL"
311
+ | "AMD"
312
+ | "ARS"
313
+ | "AUD"
314
+ | "AZN"
315
+ | "BAM"
316
+ | "BDT"
317
+ | "BGN"
318
+ | "BND"
319
+ | "BOB"
320
+ | "BRL"
321
+ | "BYN"
322
+ | "CAD"
323
+ | "CHF"
324
+ | "CLP"
325
+ | "CNY"
326
+ | "COP"
327
+ | "CRC"
328
+ | "CZK"
329
+ | "DKK"
330
+ | "DOP"
331
+ | "DZD"
332
+ | "EGP"
333
+ | "ETB"
334
+ | "EUR"
335
+ | "GBP"
336
+ | "GEL"
337
+ | "GTQ"
338
+ | "HKD"
339
+ | "HNL"
340
+ | "HRK"
341
+ | "HUF"
342
+ | "IDR"
343
+ | "ILS"
344
+ | "INR"
345
+ | "ISK"
346
+ | "JMD"
347
+ | "JPY"
348
+ | "KES"
349
+ | "KGS"
350
+ | "KRW"
351
+ | "KZT"
352
+ | "LBP"
353
+ | "LKR"
354
+ | "MAD"
355
+ | "MDL"
356
+ | "MMK"
357
+ | "MNT"
358
+ | "MOP"
359
+ | "MUR"
360
+ | "MVR"
361
+ | "MXN"
362
+ | "MYR"
363
+ | "MZN"
364
+ | "NGN"
365
+ | "NIO"
366
+ | "NOK"
367
+ | "NPR"
368
+ | "NZD"
369
+ | "PAB"
370
+ | "PEN"
371
+ | "PHP"
372
+ | "PKR"
373
+ | "PLN"
374
+ | "PYG"
375
+ | "QAR"
376
+ | "RON"
377
+ | "RSD"
378
+ | "RUB"
379
+ | "SAR"
380
+ | "SEK"
381
+ | "SGD"
382
+ | "THB"
383
+ | "TJS"
384
+ | "TRY"
385
+ | "TTD"
386
+ | "TWD"
387
+ | "TZS"
388
+ | "UAH"
389
+ | "UGX"
390
+ | "USD"
391
+ | "UYU"
392
+ | "UZS"
393
+ | "VND"
394
+ | "YER"
395
+ | "ZAR";
@@ -0,0 +1,17 @@
1
+ /**
2
+ * A TypeScript utility type that enforces only one or none specified properties of a given type to be present.
3
+ */
4
+ export type AtMostOne<T, Keys extends keyof T = keyof T> = {
5
+ [K in Keys]: { [P in K]: T[K] } & Partial<Record<Exclude<Keys, K>, never>>;
6
+ }[Keys];
7
+
8
+ /**
9
+ * A TypeScript utility type that enforces exactly one specified property of a given type to be present.
10
+ */
11
+ export type ExactlyOne<T, Keys extends keyof T = keyof T> = {
12
+ [K in Keys]: {
13
+ [P in K]-?: T[P];
14
+ } & {
15
+ [P in Exclude<Keys, K>]?: never;
16
+ } & Omit<T, Keys>;
17
+ }[Keys];
package/biome.json ADDED
@@ -0,0 +1,58 @@
1
+ {
2
+ "$schema": "https://biomejs.dev/schemas/2.0.6/schema.json",
3
+ "formatter": {
4
+ "enabled": true,
5
+ "indentStyle": "tab",
6
+ "bracketSpacing": true
7
+ },
8
+ "linter": {
9
+ "enabled": true,
10
+ "rules": {
11
+ "recommended": true,
12
+ "a11y": {
13
+ "noSvgWithoutTitle": "off",
14
+ "useMediaCaption": "off",
15
+ "useKeyWithClickEvents": "off"
16
+ },
17
+ "suspicious": {
18
+ "noExplicitAny": "off"
19
+ },
20
+ "style": {
21
+ "noNonNullAssertion": "off",
22
+ "noParameterAssign": "off"
23
+ },
24
+ "performance": {
25
+ "noDelete": "off"
26
+ }
27
+ }
28
+ },
29
+ "javascript": {
30
+ "formatter": {
31
+ "quoteStyle": "double",
32
+ "jsxQuoteStyle": "double",
33
+ "arrowParentheses": "always",
34
+ "indentStyle": "tab",
35
+ "semicolons": "always",
36
+ "trailingCommas": "all"
37
+ }
38
+ },
39
+ "json": {
40
+ "formatter": {
41
+ "enabled": true,
42
+ "indentStyle": "tab"
43
+ },
44
+ "linter": {
45
+ "enabled": true
46
+ }
47
+ },
48
+ "css": {
49
+ "formatter": {
50
+ "enabled": true,
51
+ "indentStyle": "tab",
52
+ "quoteStyle": "double"
53
+ },
54
+ "linter": {
55
+ "enabled": true
56
+ }
57
+ }
58
+ }
package/bun.lock ADDED
@@ -0,0 +1,105 @@
1
+ {
2
+ "lockfileVersion": 1,
3
+ "workspaces": {
4
+ "": {
5
+ "name": "nyx-bot-client",
6
+ "dependencies": {
7
+ "@biomejs/biome": "^2.2.4",
8
+ "@types/node": "^24.5.2",
9
+ "dotenv": "^17.2.2",
10
+ "kysely": "^0.28.7",
11
+ "mysql2": "^3.15.0",
12
+ "redis": "^5.8.2",
13
+ "ts-debounce": "^4.0.0",
14
+ "zod": "^4.1.9",
15
+ },
16
+ "devDependencies": {
17
+ "@types/bun": "latest",
18
+ },
19
+ "peerDependencies": {
20
+ "typescript": "^5",
21
+ },
22
+ },
23
+ },
24
+ "packages": {
25
+ "@biomejs/biome": ["@biomejs/biome@2.2.4", "", { "optionalDependencies": { "@biomejs/cli-darwin-arm64": "2.2.4", "@biomejs/cli-darwin-x64": "2.2.4", "@biomejs/cli-linux-arm64": "2.2.4", "@biomejs/cli-linux-arm64-musl": "2.2.4", "@biomejs/cli-linux-x64": "2.2.4", "@biomejs/cli-linux-x64-musl": "2.2.4", "@biomejs/cli-win32-arm64": "2.2.4", "@biomejs/cli-win32-x64": "2.2.4" }, "bin": { "biome": "bin/biome" } }, "sha512-TBHU5bUy/Ok6m8c0y3pZiuO/BZoY/OcGxoLlrfQof5s8ISVwbVBdFINPQZyFfKwil8XibYWb7JMwnT8wT4WVPg=="],
26
+
27
+ "@biomejs/cli-darwin-arm64": ["@biomejs/cli-darwin-arm64@2.2.4", "", { "os": "darwin", "cpu": "arm64" }, "sha512-RJe2uiyaloN4hne4d2+qVj3d3gFJFbmrr5PYtkkjei1O9c+BjGXgpUPVbi8Pl8syumhzJjFsSIYkcLt2VlVLMA=="],
28
+
29
+ "@biomejs/cli-darwin-x64": ["@biomejs/cli-darwin-x64@2.2.4", "", { "os": "darwin", "cpu": "x64" }, "sha512-cFsdB4ePanVWfTnPVaUX+yr8qV8ifxjBKMkZwN7gKb20qXPxd/PmwqUH8mY5wnM9+U0QwM76CxFyBRJhC9tQwg=="],
30
+
31
+ "@biomejs/cli-linux-arm64": ["@biomejs/cli-linux-arm64@2.2.4", "", { "os": "linux", "cpu": "arm64" }, "sha512-M/Iz48p4NAzMXOuH+tsn5BvG/Jb07KOMTdSVwJpicmhN309BeEyRyQX+n1XDF0JVSlu28+hiTQ2L4rZPvu7nMw=="],
32
+
33
+ "@biomejs/cli-linux-arm64-musl": ["@biomejs/cli-linux-arm64-musl@2.2.4", "", { "os": "linux", "cpu": "arm64" }, "sha512-7TNPkMQEWfjvJDaZRSkDCPT/2r5ESFPKx+TEev+I2BXDGIjfCZk2+b88FOhnJNHtksbOZv8ZWnxrA5gyTYhSsQ=="],
34
+
35
+ "@biomejs/cli-linux-x64": ["@biomejs/cli-linux-x64@2.2.4", "", { "os": "linux", "cpu": "x64" }, "sha512-orr3nnf2Dpb2ssl6aihQtvcKtLySLta4E2UcXdp7+RTa7mfJjBgIsbS0B9GC8gVu0hjOu021aU8b3/I1tn+pVQ=="],
36
+
37
+ "@biomejs/cli-linux-x64-musl": ["@biomejs/cli-linux-x64-musl@2.2.4", "", { "os": "linux", "cpu": "x64" }, "sha512-m41nFDS0ksXK2gwXL6W6yZTYPMH0LughqbsxInSKetoH6morVj43szqKx79Iudkp8WRT5SxSh7qVb8KCUiewGg=="],
38
+
39
+ "@biomejs/cli-win32-arm64": ["@biomejs/cli-win32-arm64@2.2.4", "", { "os": "win32", "cpu": "arm64" }, "sha512-NXnfTeKHDFUWfxAefa57DiGmu9VyKi0cDqFpdI+1hJWQjGJhJutHPX0b5m+eXvTKOaf+brU+P0JrQAZMb5yYaQ=="],
40
+
41
+ "@biomejs/cli-win32-x64": ["@biomejs/cli-win32-x64@2.2.4", "", { "os": "win32", "cpu": "x64" }, "sha512-3Y4V4zVRarVh/B/eSHczR4LYoSVyv3Dfuvm3cWs5w/HScccS0+Wt/lHOcDTRYeHjQmMYVC3rIRWqyN2EI52+zg=="],
42
+
43
+ "@redis/bloom": ["@redis/bloom@5.8.2", "", { "peerDependencies": { "@redis/client": "^5.8.2" } }, "sha512-855DR0ChetZLarblio5eM0yLwxA9Dqq50t8StXKp5bAtLT0G+rZ+eRzzqxl37sPqQKjUudSYypz55o6nNhbz0A=="],
44
+
45
+ "@redis/client": ["@redis/client@5.8.2", "", { "dependencies": { "cluster-key-slot": "1.1.2" } }, "sha512-WtMScno3+eBpTac1Uav2zugXEoXqaU23YznwvFgkPwBQVwEHTDgOG7uEAObtZ/Nyn8SmAMbqkEubJaMOvnqdsQ=="],
46
+
47
+ "@redis/json": ["@redis/json@5.8.2", "", { "peerDependencies": { "@redis/client": "^5.8.2" } }, "sha512-uxpVfas3I0LccBX9rIfDgJ0dBrUa3+0Gc8sEwmQQH0vHi7C1Rx1Qn8Nv1QWz5bohoeIXMICFZRcyDONvum2l/w=="],
48
+
49
+ "@redis/search": ["@redis/search@5.8.2", "", { "peerDependencies": { "@redis/client": "^5.8.2" } }, "sha512-cNv7HlgayavCBXqPXgaS97DRPVWFznuzsAmmuemi2TMCx5scwLiP50TeZvUS06h/MG96YNPe6A0Zt57yayfxwA=="],
50
+
51
+ "@redis/time-series": ["@redis/time-series@5.8.2", "", { "peerDependencies": { "@redis/client": "^5.8.2" } }, "sha512-g2NlHM07fK8H4k+613NBsk3y70R2JIM2dPMSkhIjl2Z17SYvaYKdusz85d7VYOrZBWtDrHV/WD2E3vGu+zni8A=="],
52
+
53
+ "@types/bun": ["@types/bun@1.2.17", "", { "dependencies": { "bun-types": "1.2.17" } }, "sha512-l/BYs/JYt+cXA/0+wUhulYJB6a6p//GTPiJ7nV+QHa8iiId4HZmnu/3J/SowP5g0rTiERY2kfGKXEK5Ehltx4Q=="],
54
+
55
+ "@types/node": ["@types/node@24.5.2", "", { "dependencies": { "undici-types": "~7.12.0" } }, "sha512-FYxk1I7wPv3K2XBaoyH2cTnocQEu8AOZ60hPbsyukMPLv5/5qr7V1i8PLHdl6Zf87I+xZXFvPCXYjiTFq+YSDQ=="],
56
+
57
+ "aws-ssl-profiles": ["aws-ssl-profiles@1.1.2", "", {}, "sha512-NZKeq9AfyQvEeNlN0zSYAaWrmBffJh3IELMZfRpJVWgrpEbtEpnjvzqBPf+mxoI287JohRDoa+/nsfqqiZmF6g=="],
58
+
59
+ "bun-types": ["bun-types@1.2.17", "", { "dependencies": { "@types/node": "*" } }, "sha512-ElC7ItwT3SCQwYZDYoAH+q6KT4Fxjl8DtZ6qDulUFBmXA8YB4xo+l54J9ZJN+k2pphfn9vk7kfubeSd5QfTVJQ=="],
60
+
61
+ "cluster-key-slot": ["cluster-key-slot@1.1.2", "", {}, "sha512-RMr0FhtfXemyinomL4hrWcYJxmX6deFdCxpJzhDttxgO1+bcCnkk+9drydLVDmAMG7NE6aN/fl4F7ucU/90gAA=="],
62
+
63
+ "denque": ["denque@2.1.0", "", {}, "sha512-HVQE3AAb/pxF8fQAoiqpvg9i3evqug3hoiwakOyZAwJm+6vZehbkYXZ0l4JxS+I3QxM97v5aaRNhj8v5oBhekw=="],
64
+
65
+ "dotenv": ["dotenv@17.2.2", "", {}, "sha512-Sf2LSQP+bOlhKWWyhFsn0UsfdK/kCWRv1iuA2gXAwt3dyNabr6QSj00I2V10pidqz69soatm9ZwZvpQMTIOd5Q=="],
66
+
67
+ "generate-function": ["generate-function@2.3.1", "", { "dependencies": { "is-property": "^1.0.2" } }, "sha512-eeB5GfMNeevm/GRYq20ShmsaGcmI81kIX2K9XQx5miC8KdHaC6Jm0qQ8ZNeGOi7wYB8OsdxKs+Y2oVuTFuVwKQ=="],
68
+
69
+ "iconv-lite": ["iconv-lite@0.7.0", "", { "dependencies": { "safer-buffer": ">= 2.1.2 < 3.0.0" } }, "sha512-cf6L2Ds3h57VVmkZe+Pn+5APsT7FpqJtEhhieDCvrE2MK5Qk9MyffgQyuxQTm6BChfeZNtcOLHp9IcWRVcIcBQ=="],
70
+
71
+ "is-property": ["is-property@1.0.2", "", {}, "sha512-Ks/IoX00TtClbGQr4TWXemAnktAQvYB7HzcCxDGqEZU6oCmb2INHuOoKxbtR+HFkmYWBKv/dOZtGRiAjDhj92g=="],
72
+
73
+ "kysely": ["kysely@0.28.7", "", {}, "sha512-u/cAuTL4DRIiO2/g4vNGRgklEKNIj5Q3CG7RoUB5DV5SfEC2hMvPxKi0GWPmnzwL2ryIeud2VTcEEmqzTzEPNw=="],
74
+
75
+ "long": ["long@5.3.2", "", {}, "sha512-mNAgZ1GmyNhD7AuqnTG3/VQ26o760+ZYBPKjPvugO8+nLbYfX6TVpJPseBvopbdY+qpZ/lKUnmEc1LeZYS3QAA=="],
76
+
77
+ "lru-cache": ["lru-cache@7.18.3", "", {}, "sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA=="],
78
+
79
+ "lru.min": ["lru.min@1.1.2", "", {}, "sha512-Nv9KddBcQSlQopmBHXSsZVY5xsdlZkdH/Iey0BlcBYggMd4two7cZnKOK9vmy3nY0O5RGH99z1PCeTpPqszUYg=="],
80
+
81
+ "mysql2": ["mysql2@3.15.0", "", { "dependencies": { "aws-ssl-profiles": "^1.1.1", "denque": "^2.1.0", "generate-function": "^2.3.1", "iconv-lite": "^0.7.0", "long": "^5.2.1", "lru.min": "^1.0.0", "named-placeholders": "^1.1.3", "seq-queue": "^0.0.5", "sqlstring": "^2.3.2" } }, "sha512-tT6pomf5Z/I7Jzxu8sScgrYBMK9bUFWd7Kbo6Fs1L0M13OOIJ/ZobGKS3Z7tQ8Re4lj+LnLXIQVZZxa3fhYKzA=="],
82
+
83
+ "named-placeholders": ["named-placeholders@1.1.3", "", { "dependencies": { "lru-cache": "^7.14.1" } }, "sha512-eLoBxg6wE/rZkJPhU/xRX1WTpkFEwDJEN96oxFrTsqBdbT5ec295Q+CoHrL9IT0DipqKhmGcaZmwOt8OON5x1w=="],
84
+
85
+ "redis": ["redis@5.8.2", "", { "dependencies": { "@redis/bloom": "5.8.2", "@redis/client": "5.8.2", "@redis/json": "5.8.2", "@redis/search": "5.8.2", "@redis/time-series": "5.8.2" } }, "sha512-31vunZj07++Y1vcFGcnNWEf5jPoTkGARgfWI4+Tk55vdwHxhAvug8VEtW7Cx+/h47NuJTEg/JL77zAwC6E0OeA=="],
86
+
87
+ "safer-buffer": ["safer-buffer@2.1.2", "", {}, "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg=="],
88
+
89
+ "seq-queue": ["seq-queue@0.0.5", "", {}, "sha512-hr3Wtp/GZIc/6DAGPDcV4/9WoZhjrkXsi5B/07QgX8tsdc6ilr7BFM6PM6rbdAX1kFSDYeZGLipIZZKyQP0O5Q=="],
90
+
91
+ "sqlstring": ["sqlstring@2.3.3", "", {}, "sha512-qC9iz2FlN7DQl3+wjwn3802RTyjCx7sDvfQEXchwa6CWOx07/WVfh91gBmQ9fahw8snwGEWU3xGzOt4tFyHLxg=="],
92
+
93
+ "ts-debounce": ["ts-debounce@4.0.0", "", {}, "sha512-+1iDGY6NmOGidq7i7xZGA4cm8DAa6fqdYcvO5Z6yBevH++Bdo9Qt/mN0TzHUgcCcKv1gmh9+W5dHqz8pMWbCbg=="],
94
+
95
+ "typescript": ["typescript@5.8.3", "", { "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" } }, "sha512-p1diW6TqL9L07nNxvRMM7hMMw4c5XOo/1ibL4aAIGmSAt9slTE1Xgw5KWuof2uTOvCg9BY7ZRi+GaF+7sfgPeQ=="],
96
+
97
+ "undici-types": ["undici-types@7.12.0", "", {}, "sha512-goOacqME2GYyOZZfb5Lgtu+1IDmAlAEu5xnD3+xTzS10hT0vzpf0SPjkXwAw9Jm+4n/mQGDP3LO8CPbYROeBfQ=="],
98
+
99
+ "zod": ["zod@4.1.9", "", {}, "sha512-HI32jTq0AUAC125z30E8bQNz0RQ+9Uc+4J7V97gLYjZVKRjeydPgGt6dvQzFrav7MYOUGFqqOGiHpA/fdbd0cQ=="],
100
+
101
+ "bun-types/@types/node": ["@types/node@24.0.4", "", { "dependencies": { "undici-types": "~7.8.0" } }, "sha512-ulyqAkrhnuNq9pB76DRBTkcS6YsmDALy6Ua63V8OhrOBgbcYt6IOdzpw5P1+dyRIyMerzLkeYWBeOXPpA9GMAA=="],
102
+
103
+ "bun-types/@types/node/undici-types": ["undici-types@7.8.0", "", {}, "sha512-9UJ2xGDvQ43tYyVMpuHlsgApydB8ZKfVYTsLDhXkFL/6gfkp+U8xTGdh8pMJv1SpZna0zxG1DwsKZsreLbXBxw=="],
104
+ }
105
+ }