/
githubmirror
/
novu
Обзор
Документация
Войти
/
githubmirror
/
novu
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
next
libs/internal-sdk/src/models/operations/activitycontrollergetrequesttraces.ts
46 строк
1 KB
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"; import { remap as remap$ } from "../../lib/primitives.js"; export type ActivityControllerGetRequestTracesRequest = { requestId: string; /** * A header for idempotency purposes */ idempotencyKey?: string | undefined; }; /** @internal */ export type ActivityControllerGetRequestTracesRequest$Outbound = { requestId: string; "idempotency-key"?: string | undefined; }; /** @internal */ export const ActivityControllerGetRequestTracesRequest$outboundSchema: z.ZodType< ActivityControllerGetRequestTracesRequest$Outbound, z.ZodTypeDef, ActivityControllerGetRequestTracesRequest > = z.object({ requestId: z.string(), idempotencyKey: z.string().optional(), }).transform((v) => { return remap$(v, { idempotencyKey: "idempotency-key", }); }); export function activityControllerGetRequestTracesRequestToJSON( activityControllerGetRequestTracesRequest: ActivityControllerGetRequestTracesRequest, ): string { return JSON.stringify( ActivityControllerGetRequestTracesRequest$outboundSchema.parse( activityControllerGetRequestTracesRequest, ), ); }