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 AccountingExpensesAddGlobals = { /** * 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 AccountingExpensesAddRequest = { /** * 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; expense: components.ExpenseInput; }; export type AccountingExpensesAddResponse = { httpMeta: components.HTTPMetadata; /** * Expenses */ createExpenseResponse?: components.CreateExpenseResponse | undefined; /** * Unexpected error */ unexpectedErrorResponse?: components.UnexpectedErrorResponse | undefined; }; /** @internal */ export declare const AccountingExpensesAddGlobals$inboundSchema: z.ZodType; /** @internal */ export type AccountingExpensesAddGlobals$Outbound = { consumerId?: string | undefined; appId?: string | undefined; }; /** @internal */ export declare const AccountingExpensesAddGlobals$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 AccountingExpensesAddGlobals$ { /** @deprecated use `AccountingExpensesAddGlobals$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AccountingExpensesAddGlobals$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AccountingExpensesAddGlobals$Outbound` instead. */ type Outbound = AccountingExpensesAddGlobals$Outbound; } export declare function accountingExpensesAddGlobalsToJSON(accountingExpensesAddGlobals: AccountingExpensesAddGlobals): string; export declare function accountingExpensesAddGlobalsFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const AccountingExpensesAddRequest$inboundSchema: z.ZodType; /** @internal */ export type AccountingExpensesAddRequest$Outbound = { raw: boolean; serviceId?: string | undefined; Expense: components.ExpenseInput$Outbound; }; /** @internal */ export declare const AccountingExpensesAddRequest$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 AccountingExpensesAddRequest$ { /** @deprecated use `AccountingExpensesAddRequest$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AccountingExpensesAddRequest$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AccountingExpensesAddRequest$Outbound` instead. */ type Outbound = AccountingExpensesAddRequest$Outbound; } export declare function accountingExpensesAddRequestToJSON(accountingExpensesAddRequest: AccountingExpensesAddRequest): string; export declare function accountingExpensesAddRequestFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const AccountingExpensesAddResponse$inboundSchema: z.ZodType; /** @internal */ export type AccountingExpensesAddResponse$Outbound = { HttpMeta: components.HTTPMetadata$Outbound; CreateExpenseResponse?: components.CreateExpenseResponse$Outbound | undefined; UnexpectedErrorResponse?: components.UnexpectedErrorResponse$Outbound | undefined; }; /** @internal */ export declare const AccountingExpensesAddResponse$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 AccountingExpensesAddResponse$ { /** @deprecated use `AccountingExpensesAddResponse$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AccountingExpensesAddResponse$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AccountingExpensesAddResponse$Outbound` instead. */ type Outbound = AccountingExpensesAddResponse$Outbound; } export declare function accountingExpensesAddResponseToJSON(accountingExpensesAddResponse: AccountingExpensesAddResponse): string; export declare function accountingExpensesAddResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=accountingexpensesadd.d.ts.map