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 AccountingBillsAddGlobals = { /** * 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 AccountingBillsAddRequest = { /** * 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; bill: components.BillInput; }; export type AccountingBillsAddResponse = { httpMeta: components.HTTPMetadata; /** * Bill created */ createBillResponse?: components.CreateBillResponse | undefined; /** * Unexpected error */ unexpectedErrorResponse?: components.UnexpectedErrorResponse | undefined; }; /** @internal */ export declare const AccountingBillsAddGlobals$inboundSchema: z.ZodType; /** @internal */ export type AccountingBillsAddGlobals$Outbound = { consumerId?: string | undefined; appId?: string | undefined; }; /** @internal */ export declare const AccountingBillsAddGlobals$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 AccountingBillsAddGlobals$ { /** @deprecated use `AccountingBillsAddGlobals$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AccountingBillsAddGlobals$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AccountingBillsAddGlobals$Outbound` instead. */ type Outbound = AccountingBillsAddGlobals$Outbound; } export declare function accountingBillsAddGlobalsToJSON(accountingBillsAddGlobals: AccountingBillsAddGlobals): string; export declare function accountingBillsAddGlobalsFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const AccountingBillsAddRequest$inboundSchema: z.ZodType; /** @internal */ export type AccountingBillsAddRequest$Outbound = { raw: boolean; serviceId?: string | undefined; Bill: components.BillInput$Outbound; }; /** @internal */ export declare const AccountingBillsAddRequest$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 AccountingBillsAddRequest$ { /** @deprecated use `AccountingBillsAddRequest$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AccountingBillsAddRequest$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AccountingBillsAddRequest$Outbound` instead. */ type Outbound = AccountingBillsAddRequest$Outbound; } export declare function accountingBillsAddRequestToJSON(accountingBillsAddRequest: AccountingBillsAddRequest): string; export declare function accountingBillsAddRequestFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const AccountingBillsAddResponse$inboundSchema: z.ZodType; /** @internal */ export type AccountingBillsAddResponse$Outbound = { HttpMeta: components.HTTPMetadata$Outbound; CreateBillResponse?: components.CreateBillResponse$Outbound | undefined; UnexpectedErrorResponse?: components.UnexpectedErrorResponse$Outbound | undefined; }; /** @internal */ export declare const AccountingBillsAddResponse$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 AccountingBillsAddResponse$ { /** @deprecated use `AccountingBillsAddResponse$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AccountingBillsAddResponse$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AccountingBillsAddResponse$Outbound` instead. */ type Outbound = AccountingBillsAddResponse$Outbound; } export declare function accountingBillsAddResponseToJSON(accountingBillsAddResponse: AccountingBillsAddResponse): string; export declare function accountingBillsAddResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=accountingbillsadd.d.ts.map