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 AccountingExpensesUpdateGlobals = { /** * 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 AccountingExpensesUpdateRequest = { /** * 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; expense: components.ExpenseInput; }; export type AccountingExpensesUpdateResponse = { httpMeta: components.HTTPMetadata; /** * Expenses */ updateExpenseResponse?: components.UpdateExpenseResponse | undefined; /** * Unexpected error */ unexpectedErrorResponse?: components.UnexpectedErrorResponse | undefined; }; /** @internal */ export declare const AccountingExpensesUpdateGlobals$inboundSchema: z.ZodType; /** @internal */ export type AccountingExpensesUpdateGlobals$Outbound = { consumerId?: string | undefined; appId?: string | undefined; }; /** @internal */ export declare const AccountingExpensesUpdateGlobals$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 AccountingExpensesUpdateGlobals$ { /** @deprecated use `AccountingExpensesUpdateGlobals$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AccountingExpensesUpdateGlobals$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AccountingExpensesUpdateGlobals$Outbound` instead. */ type Outbound = AccountingExpensesUpdateGlobals$Outbound; } export declare function accountingExpensesUpdateGlobalsToJSON(accountingExpensesUpdateGlobals: AccountingExpensesUpdateGlobals): string; export declare function accountingExpensesUpdateGlobalsFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const AccountingExpensesUpdateRequest$inboundSchema: z.ZodType; /** @internal */ export type AccountingExpensesUpdateRequest$Outbound = { id: string; serviceId?: string | undefined; raw: boolean; Expense: components.ExpenseInput$Outbound; }; /** @internal */ export declare const AccountingExpensesUpdateRequest$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 AccountingExpensesUpdateRequest$ { /** @deprecated use `AccountingExpensesUpdateRequest$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AccountingExpensesUpdateRequest$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AccountingExpensesUpdateRequest$Outbound` instead. */ type Outbound = AccountingExpensesUpdateRequest$Outbound; } export declare function accountingExpensesUpdateRequestToJSON(accountingExpensesUpdateRequest: AccountingExpensesUpdateRequest): string; export declare function accountingExpensesUpdateRequestFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const AccountingExpensesUpdateResponse$inboundSchema: z.ZodType; /** @internal */ export type AccountingExpensesUpdateResponse$Outbound = { HttpMeta: components.HTTPMetadata$Outbound; UpdateExpenseResponse?: components.UpdateExpenseResponse$Outbound | undefined; UnexpectedErrorResponse?: components.UnexpectedErrorResponse$Outbound | undefined; }; /** @internal */ export declare const AccountingExpensesUpdateResponse$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 AccountingExpensesUpdateResponse$ { /** @deprecated use `AccountingExpensesUpdateResponse$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AccountingExpensesUpdateResponse$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AccountingExpensesUpdateResponse$Outbound` instead. */ type Outbound = AccountingExpensesUpdateResponse$Outbound; } export declare function accountingExpensesUpdateResponseToJSON(accountingExpensesUpdateResponse: AccountingExpensesUpdateResponse): string; export declare function accountingExpensesUpdateResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=accountingexpensesupdate.d.ts.map