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 AccountingInvoiceItemsUpdateGlobals = { /** * 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 AccountingInvoiceItemsUpdateRequest = { /** * 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; invoiceItem: components.InvoiceItemInput; }; export type AccountingInvoiceItemsUpdateResponse = { httpMeta: components.HTTPMetadata; /** * InvoiceItems */ updateInvoiceItemsResponse?: components.UpdateInvoiceItemsResponse | undefined; /** * Unexpected error */ unexpectedErrorResponse?: components.UnexpectedErrorResponse | undefined; }; /** @internal */ export declare const AccountingInvoiceItemsUpdateGlobals$inboundSchema: z.ZodType; /** @internal */ export type AccountingInvoiceItemsUpdateGlobals$Outbound = { consumerId?: string | undefined; appId?: string | undefined; }; /** @internal */ export declare const AccountingInvoiceItemsUpdateGlobals$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 AccountingInvoiceItemsUpdateGlobals$ { /** @deprecated use `AccountingInvoiceItemsUpdateGlobals$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AccountingInvoiceItemsUpdateGlobals$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AccountingInvoiceItemsUpdateGlobals$Outbound` instead. */ type Outbound = AccountingInvoiceItemsUpdateGlobals$Outbound; } export declare function accountingInvoiceItemsUpdateGlobalsToJSON(accountingInvoiceItemsUpdateGlobals: AccountingInvoiceItemsUpdateGlobals): string; export declare function accountingInvoiceItemsUpdateGlobalsFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const AccountingInvoiceItemsUpdateRequest$inboundSchema: z.ZodType; /** @internal */ export type AccountingInvoiceItemsUpdateRequest$Outbound = { id: string; serviceId?: string | undefined; raw: boolean; InvoiceItem: components.InvoiceItemInput$Outbound; }; /** @internal */ export declare const AccountingInvoiceItemsUpdateRequest$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 AccountingInvoiceItemsUpdateRequest$ { /** @deprecated use `AccountingInvoiceItemsUpdateRequest$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AccountingInvoiceItemsUpdateRequest$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AccountingInvoiceItemsUpdateRequest$Outbound` instead. */ type Outbound = AccountingInvoiceItemsUpdateRequest$Outbound; } export declare function accountingInvoiceItemsUpdateRequestToJSON(accountingInvoiceItemsUpdateRequest: AccountingInvoiceItemsUpdateRequest): string; export declare function accountingInvoiceItemsUpdateRequestFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const AccountingInvoiceItemsUpdateResponse$inboundSchema: z.ZodType; /** @internal */ export type AccountingInvoiceItemsUpdateResponse$Outbound = { HttpMeta: components.HTTPMetadata$Outbound; UpdateInvoiceItemsResponse?: components.UpdateInvoiceItemsResponse$Outbound | undefined; UnexpectedErrorResponse?: components.UnexpectedErrorResponse$Outbound | undefined; }; /** @internal */ export declare const AccountingInvoiceItemsUpdateResponse$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 AccountingInvoiceItemsUpdateResponse$ { /** @deprecated use `AccountingInvoiceItemsUpdateResponse$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AccountingInvoiceItemsUpdateResponse$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AccountingInvoiceItemsUpdateResponse$Outbound` instead. */ type Outbound = AccountingInvoiceItemsUpdateResponse$Outbound; } export declare function accountingInvoiceItemsUpdateResponseToJSON(accountingInvoiceItemsUpdateResponse: AccountingInvoiceItemsUpdateResponse): string; export declare function accountingInvoiceItemsUpdateResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=accountinginvoiceitemsupdate.d.ts.map