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 AccountingTaxRatesAddGlobals = { /** * 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 AccountingTaxRatesAddRequest = { /** * 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; taxRate: components.TaxRateInput; }; export type AccountingTaxRatesAddResponse = { httpMeta: components.HTTPMetadata; /** * TaxRate created */ createTaxRateResponse?: components.CreateTaxRateResponse | undefined; /** * Unexpected error */ unexpectedErrorResponse?: components.UnexpectedErrorResponse | undefined; }; /** @internal */ export declare const AccountingTaxRatesAddGlobals$inboundSchema: z.ZodType; /** @internal */ export type AccountingTaxRatesAddGlobals$Outbound = { consumerId?: string | undefined; appId?: string | undefined; }; /** @internal */ export declare const AccountingTaxRatesAddGlobals$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 AccountingTaxRatesAddGlobals$ { /** @deprecated use `AccountingTaxRatesAddGlobals$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AccountingTaxRatesAddGlobals$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AccountingTaxRatesAddGlobals$Outbound` instead. */ type Outbound = AccountingTaxRatesAddGlobals$Outbound; } export declare function accountingTaxRatesAddGlobalsToJSON(accountingTaxRatesAddGlobals: AccountingTaxRatesAddGlobals): string; export declare function accountingTaxRatesAddGlobalsFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const AccountingTaxRatesAddRequest$inboundSchema: z.ZodType; /** @internal */ export type AccountingTaxRatesAddRequest$Outbound = { raw: boolean; serviceId?: string | undefined; TaxRate: components.TaxRateInput$Outbound; }; /** @internal */ export declare const AccountingTaxRatesAddRequest$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 AccountingTaxRatesAddRequest$ { /** @deprecated use `AccountingTaxRatesAddRequest$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AccountingTaxRatesAddRequest$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AccountingTaxRatesAddRequest$Outbound` instead. */ type Outbound = AccountingTaxRatesAddRequest$Outbound; } export declare function accountingTaxRatesAddRequestToJSON(accountingTaxRatesAddRequest: AccountingTaxRatesAddRequest): string; export declare function accountingTaxRatesAddRequestFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const AccountingTaxRatesAddResponse$inboundSchema: z.ZodType; /** @internal */ export type AccountingTaxRatesAddResponse$Outbound = { HttpMeta: components.HTTPMetadata$Outbound; CreateTaxRateResponse?: components.CreateTaxRateResponse$Outbound | undefined; UnexpectedErrorResponse?: components.UnexpectedErrorResponse$Outbound | undefined; }; /** @internal */ export declare const AccountingTaxRatesAddResponse$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 AccountingTaxRatesAddResponse$ { /** @deprecated use `AccountingTaxRatesAddResponse$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AccountingTaxRatesAddResponse$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AccountingTaxRatesAddResponse$Outbound` instead. */ type Outbound = AccountingTaxRatesAddResponse$Outbound; } export declare function accountingTaxRatesAddResponseToJSON(accountingTaxRatesAddResponse: AccountingTaxRatesAddResponse): string; export declare function accountingTaxRatesAddResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=accountingtaxratesadd.d.ts.map