@numen-crypto/contract 0.16.0 → 0.17.0

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 CHANGED
@@ -1103,6 +1103,19 @@ exports.UnlinkAccountCommand = void 0;
1103
1103
  UnlinkAccountCommand2.ParamsSchema = zod.z.object({ provider: LinkProviderSchema });
1104
1104
  UnlinkAccountCommand2.ResponseSchema = zod.z.void();
1105
1105
  })(exports.UnlinkAccountCommand || (exports.UnlinkAccountCommand = {}));
1106
+ exports.TelegramLinkCodeCommand = void 0;
1107
+ ((TelegramLinkCodeCommand2) => {
1108
+ TelegramLinkCodeCommand2.endpointDetails = endpoint(
1109
+ "POST",
1110
+ "/settings/link/telegram/code",
1111
+ "Issue a one-time deep-link code for linking via the Telegram bot"
1112
+ );
1113
+ TelegramLinkCodeCommand2.ResponseSchema = zod.z.object({
1114
+ code: zod.z.string(),
1115
+ url: zod.z.string().url(),
1116
+ expiresInSec: zod.z.number().int().positive()
1117
+ });
1118
+ })(exports.TelegramLinkCodeCommand || (exports.TelegramLinkCodeCommand = {}));
1106
1119
  var TICKET_CATEGORIES = ["account", "deposit", "withdrawal", "trading", "partners", "other"];
1107
1120
  var TicketCategorySchema = zod.z.enum(TICKET_CATEGORIES);
1108
1121
  var TicketStatusSchema = zod.z.enum(["open", "pending", "answered", "resolved", "closed"]);
@@ -1321,6 +1334,7 @@ var REST_API = {
1321
1334
  PREFERENCES: "/settings",
1322
1335
  LINKS: "/settings/links",
1323
1336
  LINK_TELEGRAM: "/settings/link/telegram",
1337
+ LINK_TELEGRAM_CODE: "/settings/link/telegram/code",
1324
1338
  LINK_GOOGLE: "/settings/link/google",
1325
1339
  UNLINK: "/settings/link/:provider"
1326
1340
  },