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 AccountingBillsUpdateGlobals = { /** * 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 AccountingBillsUpdateRequest = { /** * 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; bill: components.BillInput; }; export type AccountingBillsUpdateResponse = { httpMeta: components.HTTPMetadata; /** * Bill Updated */ updateBillResponse?: components.UpdateBillResponse | undefined; /** * Unexpected error */ unexpectedErrorResponse?: components.UnexpectedErrorResponse | undefined; }; /** @internal */ export declare const AccountingBillsUpdateGlobals$inboundSchema: z.ZodType; /** @internal */ export type AccountingBillsUpdateGlobals$Outbound = { consumerId?: string | undefined; appId?: string | undefined; }; /** @internal */ export declare const AccountingBillsUpdateGlobals$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 AccountingBillsUpdateGlobals$ { /** @deprecated use `AccountingBillsUpdateGlobals$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AccountingBillsUpdateGlobals$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AccountingBillsUpdateGlobals$Outbound` instead. */ type Outbound = AccountingBillsUpdateGlobals$Outbound; } export declare function accountingBillsUpdateGlobalsToJSON(accountingBillsUpdateGlobals: AccountingBillsUpdateGlobals): string; export declare function accountingBillsUpdateGlobalsFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const AccountingBillsUpdateRequest$inboundSchema: z.ZodType; /** @internal */ export type AccountingBillsUpdateRequest$Outbound = { id: string; serviceId?: string | undefined; raw: boolean; Bill: components.BillInput$Outbound; }; /** @internal */ export declare const AccountingBillsUpdateRequest$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 AccountingBillsUpdateRequest$ { /** @deprecated use `AccountingBillsUpdateRequest$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AccountingBillsUpdateRequest$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AccountingBillsUpdateRequest$Outbound` instead. */ type Outbound = AccountingBillsUpdateRequest$Outbound; } export declare function accountingBillsUpdateRequestToJSON(accountingBillsUpdateRequest: AccountingBillsUpdateRequest): string; export declare function accountingBillsUpdateRequestFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const AccountingBillsUpdateResponse$inboundSchema: z.ZodType; /** @internal */ export type AccountingBillsUpdateResponse$Outbound = { HttpMeta: components.HTTPMetadata$Outbound; UpdateBillResponse?: components.UpdateBillResponse$Outbound | undefined; UnexpectedErrorResponse?: components.UnexpectedErrorResponse$Outbound | undefined; }; /** @internal */ export declare const AccountingBillsUpdateResponse$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 AccountingBillsUpdateResponse$ { /** @deprecated use `AccountingBillsUpdateResponse$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AccountingBillsUpdateResponse$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AccountingBillsUpdateResponse$Outbound` instead. */ type Outbound = AccountingBillsUpdateResponse$Outbound; } export declare function accountingBillsUpdateResponseToJSON(accountingBillsUpdateResponse: AccountingBillsUpdateResponse): string; export declare function accountingBillsUpdateResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=accountingbillsupdate.d.ts.map