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