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 AccountingExpensesOneGlobals = { /** * 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 AccountingExpensesOneRequest = { /** * 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; }; export type AccountingExpensesOneResponse = { httpMeta: components.HTTPMetadata; /** * Expenses */ getExpenseResponse?: components.GetExpenseResponse | undefined; /** * Unexpected error */ unexpectedErrorResponse?: components.UnexpectedErrorResponse | undefined; }; /** @internal */ export declare const AccountingExpensesOneGlobals$inboundSchema: z.ZodType; /** @internal */ export type AccountingExpensesOneGlobals$Outbound = { consumerId?: string | undefined; appId?: string | undefined; }; /** @internal */ export declare const AccountingExpensesOneGlobals$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 AccountingExpensesOneGlobals$ { /** @deprecated use `AccountingExpensesOneGlobals$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AccountingExpensesOneGlobals$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AccountingExpensesOneGlobals$Outbound` instead. */ type Outbound = AccountingExpensesOneGlobals$Outbound; } export declare function accountingExpensesOneGlobalsToJSON(accountingExpensesOneGlobals: AccountingExpensesOneGlobals): string; export declare function accountingExpensesOneGlobalsFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const AccountingExpensesOneRequest$inboundSchema: z.ZodType; /** @internal */ export type AccountingExpensesOneRequest$Outbound = { id: string; serviceId?: string | undefined; raw: boolean; }; /** @internal */ export declare const AccountingExpensesOneRequest$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 AccountingExpensesOneRequest$ { /** @deprecated use `AccountingExpensesOneRequest$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AccountingExpensesOneRequest$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AccountingExpensesOneRequest$Outbound` instead. */ type Outbound = AccountingExpensesOneRequest$Outbound; } export declare function accountingExpensesOneRequestToJSON(accountingExpensesOneRequest: AccountingExpensesOneRequest): string; export declare function accountingExpensesOneRequestFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const AccountingExpensesOneResponse$inboundSchema: z.ZodType; /** @internal */ export type AccountingExpensesOneResponse$Outbound = { HttpMeta: components.HTTPMetadata$Outbound; GetExpenseResponse?: components.GetExpenseResponse$Outbound | undefined; UnexpectedErrorResponse?: components.UnexpectedErrorResponse$Outbound | undefined; }; /** @internal */ export declare const AccountingExpensesOneResponse$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 AccountingExpensesOneResponse$ { /** @deprecated use `AccountingExpensesOneResponse$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AccountingExpensesOneResponse$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AccountingExpensesOneResponse$Outbound` instead. */ type Outbound = AccountingExpensesOneResponse$Outbound; } export declare function accountingExpensesOneResponseToJSON(accountingExpensesOneResponse: AccountingExpensesOneResponse): string; export declare function accountingExpensesOneResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=accountingexpensesone.d.ts.map