import * as z from "zod/v3"; import { ClosedEnum } from "../../types/enums.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { CreateFlowRequest, CreateFlowRequest$Outbound } from "../components/createflowrequest.js"; import { Flow } from "../components/flow.js"; import { HTTPMetadata } from "../components/httpmetadata.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; /** * Determines the date-based API version associated with your API call. If none is provided, your application's [minimum API version](https://docs.gusto.com/embedded-payroll/docs/api-versioning#minimum-api-version) is used. */ export declare const PostV1CompanyFlowsHeaderXGustoAPIVersion: { readonly TwoThousandAndTwentyFiveMinus06Minus15: "2025-06-15"; }; /** * Determines the date-based API version associated with your API call. If none is provided, your application's [minimum API version](https://docs.gusto.com/embedded-payroll/docs/api-versioning#minimum-api-version) is used. */ export type PostV1CompanyFlowsHeaderXGustoAPIVersion = ClosedEnum; export type PostV1CompanyFlowsRequest = { /** * Determines the date-based API version associated with your API call. If none is provided, your application's [minimum API version](https://docs.gusto.com/embedded-payroll/docs/api-versioning#minimum-api-version) is used. */ xGustoAPIVersion?: PostV1CompanyFlowsHeaderXGustoAPIVersion | undefined; /** * The UUID of the company */ companyUuid: string; createFlowRequest: CreateFlowRequest; }; export type PostV1CompanyFlowsResponse = { httpMeta: HTTPMetadata; /** * Created */ flow?: Flow | undefined; }; /** @internal */ export declare const PostV1CompanyFlowsHeaderXGustoAPIVersion$outboundSchema: z.ZodNativeEnum; /** @internal */ export type PostV1CompanyFlowsRequest$Outbound = { "X-Gusto-API-Version": string; company_uuid: string; "Create-Flow-Request": CreateFlowRequest$Outbound; }; /** @internal */ export declare const PostV1CompanyFlowsRequest$outboundSchema: z.ZodType; export declare function postV1CompanyFlowsRequestToJSON(postV1CompanyFlowsRequest: PostV1CompanyFlowsRequest): string; /** @internal */ export declare const PostV1CompanyFlowsResponse$inboundSchema: z.ZodType; export declare function postV1CompanyFlowsResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=postv1companyflows.d.ts.map