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 AccountingExpensesAllGlobals = { /** * 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 AccountingExpensesAllRequest = { /** * 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; /** * Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. */ cursor?: string | null | undefined; /** * Number of results to return. Minimum 1, Maximum 200, Default 20 */ limit?: number | undefined; }; export type AccountingExpensesAllResponse = { httpMeta: components.HTTPMetadata; /** * Expenses */ getExpensesResponse?: components.GetExpensesResponse | undefined; /** * Unexpected error */ unexpectedErrorResponse?: components.UnexpectedErrorResponse | undefined; }; /** @internal */ export declare const AccountingExpensesAllGlobals$inboundSchema: z.ZodType; /** @internal */ export type AccountingExpensesAllGlobals$Outbound = { consumerId?: string | undefined; appId?: string | undefined; }; /** @internal */ export declare const AccountingExpensesAllGlobals$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 AccountingExpensesAllGlobals$ { /** @deprecated use `AccountingExpensesAllGlobals$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AccountingExpensesAllGlobals$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AccountingExpensesAllGlobals$Outbound` instead. */ type Outbound = AccountingExpensesAllGlobals$Outbound; } export declare function accountingExpensesAllGlobalsToJSON(accountingExpensesAllGlobals: AccountingExpensesAllGlobals): string; export declare function accountingExpensesAllGlobalsFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const AccountingExpensesAllRequest$inboundSchema: z.ZodType; /** @internal */ export type AccountingExpensesAllRequest$Outbound = { raw: boolean; serviceId?: string | undefined; cursor?: string | null | undefined; limit: number; }; /** @internal */ export declare const AccountingExpensesAllRequest$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 AccountingExpensesAllRequest$ { /** @deprecated use `AccountingExpensesAllRequest$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AccountingExpensesAllRequest$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AccountingExpensesAllRequest$Outbound` instead. */ type Outbound = AccountingExpensesAllRequest$Outbound; } export declare function accountingExpensesAllRequestToJSON(accountingExpensesAllRequest: AccountingExpensesAllRequest): string; export declare function accountingExpensesAllRequestFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const AccountingExpensesAllResponse$inboundSchema: z.ZodType; /** @internal */ export type AccountingExpensesAllResponse$Outbound = { HttpMeta: components.HTTPMetadata$Outbound; GetExpensesResponse?: components.GetExpensesResponse$Outbound | undefined; UnexpectedErrorResponse?: components.UnexpectedErrorResponse$Outbound | undefined; }; /** @internal */ export declare const AccountingExpensesAllResponse$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 AccountingExpensesAllResponse$ { /** @deprecated use `AccountingExpensesAllResponse$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AccountingExpensesAllResponse$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AccountingExpensesAllResponse$Outbound` instead. */ type Outbound = AccountingExpensesAllResponse$Outbound; } export declare function accountingExpensesAllResponseToJSON(accountingExpensesAllResponse: AccountingExpensesAllResponse): string; export declare function accountingExpensesAllResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=accountingexpensesall.d.ts.map