/
githubmirror
/
novu
Обзор
Документация
Войти
/
githubmirror
/
novu
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
next
libs/internal-sdk/src/models/components/security.ts
30 строк
665 B
George Djabarov
feat(api-service): add multi subscription per topic and trigger condition parsing fixes NV-6810 (#9472)
25 ноя 2025, 14:55
Не верифицирован
25 ноя 2025, 14:55
a352a21
Код
Авторство
О чём код?
/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import * as z from "zod/v3"; export type Security = { secretKey?: string | undefined; bearerAuth?: string | undefined; }; /** @internal */ export type Security$Outbound = { secretKey?: string | undefined; bearerAuth?: string | undefined; }; /** @internal */ export const Security$outboundSchema: z.ZodType< Security$Outbound, z.ZodTypeDef, Security > = z.object({ secretKey: z.string().optional(), bearerAuth: z.string().optional(), }); export function securityToJSON(security: Security): string { return JSON.stringify(Security$outboundSchema.parse(security)); }