@numen-crypto/contract 0.16.0 → 0.17.1
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.
- package/dist/index.cjs +15 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +85 -61
- package/dist/index.d.ts +85 -61
- package/dist/index.js +16 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -986,6 +986,7 @@ var WheelStatusSchema = zod.z.object({
|
|
|
986
986
|
paidSpinEnabled: zod.z.boolean(),
|
|
987
987
|
freeSpinAvailable: zod.z.boolean(),
|
|
988
988
|
nextFreeSpinAt: zod.z.string().nullable(),
|
|
989
|
+
freeSpinEveryDays: zod.z.number().int().positive(),
|
|
989
990
|
paidSpinPriceUsd: MoneyStringSchema,
|
|
990
991
|
paidSpinPriceNmn: MoneyStringSchema,
|
|
991
992
|
paidSpinsLeftToday: zod.z.number().int().nonnegative(),
|
|
@@ -1103,6 +1104,19 @@ exports.UnlinkAccountCommand = void 0;
|
|
|
1103
1104
|
UnlinkAccountCommand2.ParamsSchema = zod.z.object({ provider: LinkProviderSchema });
|
|
1104
1105
|
UnlinkAccountCommand2.ResponseSchema = zod.z.void();
|
|
1105
1106
|
})(exports.UnlinkAccountCommand || (exports.UnlinkAccountCommand = {}));
|
|
1107
|
+
exports.TelegramLinkCodeCommand = void 0;
|
|
1108
|
+
((TelegramLinkCodeCommand2) => {
|
|
1109
|
+
TelegramLinkCodeCommand2.endpointDetails = endpoint(
|
|
1110
|
+
"POST",
|
|
1111
|
+
"/settings/link/telegram/code",
|
|
1112
|
+
"Issue a one-time deep-link code for linking via the Telegram bot"
|
|
1113
|
+
);
|
|
1114
|
+
TelegramLinkCodeCommand2.ResponseSchema = zod.z.object({
|
|
1115
|
+
code: zod.z.string(),
|
|
1116
|
+
url: zod.z.string().url(),
|
|
1117
|
+
expiresInSec: zod.z.number().int().positive()
|
|
1118
|
+
});
|
|
1119
|
+
})(exports.TelegramLinkCodeCommand || (exports.TelegramLinkCodeCommand = {}));
|
|
1106
1120
|
var TICKET_CATEGORIES = ["account", "deposit", "withdrawal", "trading", "partners", "other"];
|
|
1107
1121
|
var TicketCategorySchema = zod.z.enum(TICKET_CATEGORIES);
|
|
1108
1122
|
var TicketStatusSchema = zod.z.enum(["open", "pending", "answered", "resolved", "closed"]);
|
|
@@ -1321,6 +1335,7 @@ var REST_API = {
|
|
|
1321
1335
|
PREFERENCES: "/settings",
|
|
1322
1336
|
LINKS: "/settings/links",
|
|
1323
1337
|
LINK_TELEGRAM: "/settings/link/telegram",
|
|
1338
|
+
LINK_TELEGRAM_CODE: "/settings/link/telegram/code",
|
|
1324
1339
|
LINK_GOOGLE: "/settings/link/google",
|
|
1325
1340
|
UNLINK: "/settings/link/:provider"
|
|
1326
1341
|
},
|