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 AccountingCustomersAddGlobals = { /** * 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 AccountingCustomersAddRequest = { /** * 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; customer: components.CustomerInput; }; export type AccountingCustomersAddResponse = { httpMeta: components.HTTPMetadata; /** * Customers */ createCustomerResponse?: components.CreateCustomerResponse | undefined; /** * Unexpected error */ unexpectedErrorResponse?: components.UnexpectedErrorResponse | undefined; }; /** @internal */ export declare const AccountingCustomersAddGlobals$inboundSchema: z.ZodType; /** @internal */ export type AccountingCustomersAddGlobals$Outbound = { consumerId?: string | undefined; appId?: string | undefined; }; /** @internal */ export declare const AccountingCustomersAddGlobals$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 AccountingCustomersAddGlobals$ { /** @deprecated use `AccountingCustomersAddGlobals$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AccountingCustomersAddGlobals$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AccountingCustomersAddGlobals$Outbound` instead. */ type Outbound = AccountingCustomersAddGlobals$Outbound; } export declare function accountingCustomersAddGlobalsToJSON(accountingCustomersAddGlobals: AccountingCustomersAddGlobals): string; export declare function accountingCustomersAddGlobalsFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const AccountingCustomersAddRequest$inboundSchema: z.ZodType; /** @internal */ export type AccountingCustomersAddRequest$Outbound = { raw: boolean; serviceId?: string | undefined; Customer: components.CustomerInput$Outbound; }; /** @internal */ export declare const AccountingCustomersAddRequest$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 AccountingCustomersAddRequest$ { /** @deprecated use `AccountingCustomersAddRequest$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AccountingCustomersAddRequest$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AccountingCustomersAddRequest$Outbound` instead. */ type Outbound = AccountingCustomersAddRequest$Outbound; } export declare function accountingCustomersAddRequestToJSON(accountingCustomersAddRequest: AccountingCustomersAddRequest): string; export declare function accountingCustomersAddRequestFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const AccountingCustomersAddResponse$inboundSchema: z.ZodType; /** @internal */ export type AccountingCustomersAddResponse$Outbound = { HttpMeta: components.HTTPMetadata$Outbound; CreateCustomerResponse?: components.CreateCustomerResponse$Outbound | undefined; UnexpectedErrorResponse?: components.UnexpectedErrorResponse$Outbound | undefined; }; /** @internal */ export declare const AccountingCustomersAddResponse$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 AccountingCustomersAddResponse$ { /** @deprecated use `AccountingCustomersAddResponse$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AccountingCustomersAddResponse$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AccountingCustomersAddResponse$Outbound` instead. */ type Outbound = AccountingCustomersAddResponse$Outbound; } export declare function accountingCustomersAddResponseToJSON(accountingCustomersAddResponse: AccountingCustomersAddResponse): string; export declare function accountingCustomersAddResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=accountingcustomersadd.d.ts.map