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 AccountingSubsidiariesUpdateGlobals = { /** * 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 AccountingSubsidiariesUpdateRequest = { /** * ID of the record you are acting upon. */ id: string; /** * 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; /** * Include raw response. Mostly used for debugging purposes */ raw?: boolean | undefined; subsidiary: components.SubsidiaryInput; }; export type AccountingSubsidiariesUpdateResponse = { httpMeta: components.HTTPMetadata; /** * Subsidiaries */ updateSubsidiaryResponse?: components.UpdateSubsidiaryResponse | undefined; /** * Unexpected error */ unexpectedErrorResponse?: components.UnexpectedErrorResponse | undefined; }; /** @internal */ export declare const AccountingSubsidiariesUpdateGlobals$inboundSchema: z.ZodType; /** @internal */ export type AccountingSubsidiariesUpdateGlobals$Outbound = { consumerId?: string | undefined; appId?: string | undefined; }; /** @internal */ export declare const AccountingSubsidiariesUpdateGlobals$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 AccountingSubsidiariesUpdateGlobals$ { /** @deprecated use `AccountingSubsidiariesUpdateGlobals$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AccountingSubsidiariesUpdateGlobals$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AccountingSubsidiariesUpdateGlobals$Outbound` instead. */ type Outbound = AccountingSubsidiariesUpdateGlobals$Outbound; } export declare function accountingSubsidiariesUpdateGlobalsToJSON(accountingSubsidiariesUpdateGlobals: AccountingSubsidiariesUpdateGlobals): string; export declare function accountingSubsidiariesUpdateGlobalsFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const AccountingSubsidiariesUpdateRequest$inboundSchema: z.ZodType; /** @internal */ export type AccountingSubsidiariesUpdateRequest$Outbound = { id: string; serviceId?: string | undefined; raw: boolean; Subsidiary: components.SubsidiaryInput$Outbound; }; /** @internal */ export declare const AccountingSubsidiariesUpdateRequest$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 AccountingSubsidiariesUpdateRequest$ { /** @deprecated use `AccountingSubsidiariesUpdateRequest$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AccountingSubsidiariesUpdateRequest$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AccountingSubsidiariesUpdateRequest$Outbound` instead. */ type Outbound = AccountingSubsidiariesUpdateRequest$Outbound; } export declare function accountingSubsidiariesUpdateRequestToJSON(accountingSubsidiariesUpdateRequest: AccountingSubsidiariesUpdateRequest): string; export declare function accountingSubsidiariesUpdateRequestFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const AccountingSubsidiariesUpdateResponse$inboundSchema: z.ZodType; /** @internal */ export type AccountingSubsidiariesUpdateResponse$Outbound = { HttpMeta: components.HTTPMetadata$Outbound; UpdateSubsidiaryResponse?: components.UpdateSubsidiaryResponse$Outbound | undefined; UnexpectedErrorResponse?: components.UnexpectedErrorResponse$Outbound | undefined; }; /** @internal */ export declare const AccountingSubsidiariesUpdateResponse$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 AccountingSubsidiariesUpdateResponse$ { /** @deprecated use `AccountingSubsidiariesUpdateResponse$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AccountingSubsidiariesUpdateResponse$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AccountingSubsidiariesUpdateResponse$Outbound` instead. */ type Outbound = AccountingSubsidiariesUpdateResponse$Outbound; } export declare function accountingSubsidiariesUpdateResponseToJSON(accountingSubsidiariesUpdateResponse: AccountingSubsidiariesUpdateResponse): string; export declare function accountingSubsidiariesUpdateResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=accountingsubsidiariesupdate.d.ts.map