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 AccountingLocationsAddGlobals = { /** * 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 AccountingLocationsAddRequest = { /** * 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; accountingLocation: components.AccountingLocationInput; }; export type AccountingLocationsAddResponse = { httpMeta: components.HTTPMetadata; /** * Location */ createAccountingLocationResponse?: components.CreateAccountingLocationResponse | undefined; /** * Unexpected error */ unexpectedErrorResponse?: components.UnexpectedErrorResponse | undefined; }; /** @internal */ export declare const AccountingLocationsAddGlobals$inboundSchema: z.ZodType; /** @internal */ export type AccountingLocationsAddGlobals$Outbound = { consumerId?: string | undefined; appId?: string | undefined; }; /** @internal */ export declare const AccountingLocationsAddGlobals$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 AccountingLocationsAddGlobals$ { /** @deprecated use `AccountingLocationsAddGlobals$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AccountingLocationsAddGlobals$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AccountingLocationsAddGlobals$Outbound` instead. */ type Outbound = AccountingLocationsAddGlobals$Outbound; } export declare function accountingLocationsAddGlobalsToJSON(accountingLocationsAddGlobals: AccountingLocationsAddGlobals): string; export declare function accountingLocationsAddGlobalsFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const AccountingLocationsAddRequest$inboundSchema: z.ZodType; /** @internal */ export type AccountingLocationsAddRequest$Outbound = { raw: boolean; serviceId?: string | undefined; AccountingLocation: components.AccountingLocationInput$Outbound; }; /** @internal */ export declare const AccountingLocationsAddRequest$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 AccountingLocationsAddRequest$ { /** @deprecated use `AccountingLocationsAddRequest$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AccountingLocationsAddRequest$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AccountingLocationsAddRequest$Outbound` instead. */ type Outbound = AccountingLocationsAddRequest$Outbound; } export declare function accountingLocationsAddRequestToJSON(accountingLocationsAddRequest: AccountingLocationsAddRequest): string; export declare function accountingLocationsAddRequestFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const AccountingLocationsAddResponse$inboundSchema: z.ZodType; /** @internal */ export type AccountingLocationsAddResponse$Outbound = { HttpMeta: components.HTTPMetadata$Outbound; CreateAccountingLocationResponse?: components.CreateAccountingLocationResponse$Outbound | undefined; UnexpectedErrorResponse?: components.UnexpectedErrorResponse$Outbound | undefined; }; /** @internal */ export declare const AccountingLocationsAddResponse$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 AccountingLocationsAddResponse$ { /** @deprecated use `AccountingLocationsAddResponse$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AccountingLocationsAddResponse$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AccountingLocationsAddResponse$Outbound` instead. */ type Outbound = AccountingLocationsAddResponse$Outbound; } export declare function accountingLocationsAddResponseToJSON(accountingLocationsAddResponse: AccountingLocationsAddResponse): string; export declare function accountingLocationsAddResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=accountinglocationsadd.d.ts.map