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 AccountingInvoiceItemsAddGlobals = { /** * 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 AccountingInvoiceItemsAddRequest = { /** * 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; invoiceItem: components.InvoiceItemInput; }; export type AccountingInvoiceItemsAddResponse = { httpMeta: components.HTTPMetadata; /** * InvoiceItems */ createInvoiceItemResponse?: components.CreateInvoiceItemResponse | undefined; /** * Unexpected error */ unexpectedErrorResponse?: components.UnexpectedErrorResponse | undefined; }; /** @internal */ export declare const AccountingInvoiceItemsAddGlobals$inboundSchema: z.ZodType; /** @internal */ export type AccountingInvoiceItemsAddGlobals$Outbound = { consumerId?: string | undefined; appId?: string | undefined; }; /** @internal */ export declare const AccountingInvoiceItemsAddGlobals$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 AccountingInvoiceItemsAddGlobals$ { /** @deprecated use `AccountingInvoiceItemsAddGlobals$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AccountingInvoiceItemsAddGlobals$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AccountingInvoiceItemsAddGlobals$Outbound` instead. */ type Outbound = AccountingInvoiceItemsAddGlobals$Outbound; } export declare function accountingInvoiceItemsAddGlobalsToJSON(accountingInvoiceItemsAddGlobals: AccountingInvoiceItemsAddGlobals): string; export declare function accountingInvoiceItemsAddGlobalsFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const AccountingInvoiceItemsAddRequest$inboundSchema: z.ZodType; /** @internal */ export type AccountingInvoiceItemsAddRequest$Outbound = { raw: boolean; serviceId?: string | undefined; InvoiceItem: components.InvoiceItemInput$Outbound; }; /** @internal */ export declare const AccountingInvoiceItemsAddRequest$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 AccountingInvoiceItemsAddRequest$ { /** @deprecated use `AccountingInvoiceItemsAddRequest$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AccountingInvoiceItemsAddRequest$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AccountingInvoiceItemsAddRequest$Outbound` instead. */ type Outbound = AccountingInvoiceItemsAddRequest$Outbound; } export declare function accountingInvoiceItemsAddRequestToJSON(accountingInvoiceItemsAddRequest: AccountingInvoiceItemsAddRequest): string; export declare function accountingInvoiceItemsAddRequestFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const AccountingInvoiceItemsAddResponse$inboundSchema: z.ZodType; /** @internal */ export type AccountingInvoiceItemsAddResponse$Outbound = { HttpMeta: components.HTTPMetadata$Outbound; CreateInvoiceItemResponse?: components.CreateInvoiceItemResponse$Outbound | undefined; UnexpectedErrorResponse?: components.UnexpectedErrorResponse$Outbound | undefined; }; /** @internal */ export declare const AccountingInvoiceItemsAddResponse$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 AccountingInvoiceItemsAddResponse$ { /** @deprecated use `AccountingInvoiceItemsAddResponse$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AccountingInvoiceItemsAddResponse$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AccountingInvoiceItemsAddResponse$Outbound` instead. */ type Outbound = AccountingInvoiceItemsAddResponse$Outbound; } export declare function accountingInvoiceItemsAddResponseToJSON(accountingInvoiceItemsAddResponse: AccountingInvoiceItemsAddResponse): string; export declare function accountingInvoiceItemsAddResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=accountinginvoiceitemsadd.d.ts.map