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 AccountingTaxRatesUpdateGlobals = { /** * 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 AccountingTaxRatesUpdateRequest = { /** * ID of the record you are acting upon. */ id: string; /** * 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; /** * Include raw response. Mostly used for debugging purposes */ raw?: boolean | undefined; taxRate: components.TaxRateInput; }; export type AccountingTaxRatesUpdateResponse = { httpMeta: components.HTTPMetadata; /** * TaxRate updated */ updateTaxRateResponse?: components.UpdateTaxRateResponse | undefined; /** * Unexpected error */ unexpectedErrorResponse?: components.UnexpectedErrorResponse | undefined; }; /** @internal */ export declare const AccountingTaxRatesUpdateGlobals$inboundSchema: z.ZodType; /** @internal */ export type AccountingTaxRatesUpdateGlobals$Outbound = { consumerId?: string | undefined; appId?: string | undefined; }; /** @internal */ export declare const AccountingTaxRatesUpdateGlobals$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 AccountingTaxRatesUpdateGlobals$ { /** @deprecated use `AccountingTaxRatesUpdateGlobals$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AccountingTaxRatesUpdateGlobals$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AccountingTaxRatesUpdateGlobals$Outbound` instead. */ type Outbound = AccountingTaxRatesUpdateGlobals$Outbound; } export declare function accountingTaxRatesUpdateGlobalsToJSON(accountingTaxRatesUpdateGlobals: AccountingTaxRatesUpdateGlobals): string; export declare function accountingTaxRatesUpdateGlobalsFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const AccountingTaxRatesUpdateRequest$inboundSchema: z.ZodType; /** @internal */ export type AccountingTaxRatesUpdateRequest$Outbound = { id: string; serviceId?: string | undefined; raw: boolean; TaxRate: components.TaxRateInput$Outbound; }; /** @internal */ export declare const AccountingTaxRatesUpdateRequest$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 AccountingTaxRatesUpdateRequest$ { /** @deprecated use `AccountingTaxRatesUpdateRequest$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AccountingTaxRatesUpdateRequest$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AccountingTaxRatesUpdateRequest$Outbound` instead. */ type Outbound = AccountingTaxRatesUpdateRequest$Outbound; } export declare function accountingTaxRatesUpdateRequestToJSON(accountingTaxRatesUpdateRequest: AccountingTaxRatesUpdateRequest): string; export declare function accountingTaxRatesUpdateRequestFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const AccountingTaxRatesUpdateResponse$inboundSchema: z.ZodType; /** @internal */ export type AccountingTaxRatesUpdateResponse$Outbound = { HttpMeta: components.HTTPMetadata$Outbound; UpdateTaxRateResponse?: components.UpdateTaxRateResponse$Outbound | undefined; UnexpectedErrorResponse?: components.UnexpectedErrorResponse$Outbound | undefined; }; /** @internal */ export declare const AccountingTaxRatesUpdateResponse$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 AccountingTaxRatesUpdateResponse$ { /** @deprecated use `AccountingTaxRatesUpdateResponse$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AccountingTaxRatesUpdateResponse$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AccountingTaxRatesUpdateResponse$Outbound` instead. */ type Outbound = AccountingTaxRatesUpdateResponse$Outbound; } export declare function accountingTaxRatesUpdateResponseToJSON(accountingTaxRatesUpdateResponse: AccountingTaxRatesUpdateResponse): string; export declare function accountingTaxRatesUpdateResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=accountingtaxratesupdate.d.ts.map