import * as z from "zod"; import { Result as SafeParseResult } from "../../types/fp.js"; import * as components from "../components/index.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export type AccountingSubsidiariesAddGlobals = { /** * ID of the consumer which you want to get or push data from */ consumerId?: string | undefined; /** * The ID of your Unify application */ appId?: string | undefined; }; export type AccountingSubsidiariesAddRequest = { /** * Include raw response. Mostly used for debugging purposes */ raw?: boolean | undefined; /** * Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. */ serviceId?: string | undefined; subsidiary: components.SubsidiaryInput; }; export type AccountingSubsidiariesAddResponse = { httpMeta: components.HTTPMetadata; /** * Subsidiaries */ createSubsidiaryResponse?: components.CreateSubsidiaryResponse | undefined; /** * Unexpected error */ unexpectedErrorResponse?: components.UnexpectedErrorResponse | undefined; }; /** @internal */ export declare const AccountingSubsidiariesAddGlobals$inboundSchema: z.ZodType; /** @internal */ export type AccountingSubsidiariesAddGlobals$Outbound = { consumerId?: string | undefined; appId?: string | undefined; }; /** @internal */ export declare const AccountingSubsidiariesAddGlobals$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace AccountingSubsidiariesAddGlobals$ { /** @deprecated use `AccountingSubsidiariesAddGlobals$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AccountingSubsidiariesAddGlobals$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AccountingSubsidiariesAddGlobals$Outbound` instead. */ type Outbound = AccountingSubsidiariesAddGlobals$Outbound; } export declare function accountingSubsidiariesAddGlobalsToJSON(accountingSubsidiariesAddGlobals: AccountingSubsidiariesAddGlobals): string; export declare function accountingSubsidiariesAddGlobalsFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const AccountingSubsidiariesAddRequest$inboundSchema: z.ZodType; /** @internal */ export type AccountingSubsidiariesAddRequest$Outbound = { raw: boolean; serviceId?: string | undefined; Subsidiary: components.SubsidiaryInput$Outbound; }; /** @internal */ export declare const AccountingSubsidiariesAddRequest$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace AccountingSubsidiariesAddRequest$ { /** @deprecated use `AccountingSubsidiariesAddRequest$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AccountingSubsidiariesAddRequest$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AccountingSubsidiariesAddRequest$Outbound` instead. */ type Outbound = AccountingSubsidiariesAddRequest$Outbound; } export declare function accountingSubsidiariesAddRequestToJSON(accountingSubsidiariesAddRequest: AccountingSubsidiariesAddRequest): string; export declare function accountingSubsidiariesAddRequestFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const AccountingSubsidiariesAddResponse$inboundSchema: z.ZodType; /** @internal */ export type AccountingSubsidiariesAddResponse$Outbound = { HttpMeta: components.HTTPMetadata$Outbound; CreateSubsidiaryResponse?: components.CreateSubsidiaryResponse$Outbound | undefined; UnexpectedErrorResponse?: components.UnexpectedErrorResponse$Outbound | undefined; }; /** @internal */ export declare const AccountingSubsidiariesAddResponse$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace AccountingSubsidiariesAddResponse$ { /** @deprecated use `AccountingSubsidiariesAddResponse$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AccountingSubsidiariesAddResponse$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AccountingSubsidiariesAddResponse$Outbound` instead. */ type Outbound = AccountingSubsidiariesAddResponse$Outbound; } export declare function accountingSubsidiariesAddResponseToJSON(accountingSubsidiariesAddResponse: AccountingSubsidiariesAddResponse): string; export declare function accountingSubsidiariesAddResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=accountingsubsidiariesadd.d.ts.map