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 AccountingPurchaseOrdersAllGlobals = { /** * 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 AccountingPurchaseOrdersAllRequest = { /** * 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; /** * Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads */ passThrough?: { [k: string]: any; } | undefined; /** * Number of results to return. Minimum 1, Maximum 200, Default 20 */ limit?: number | undefined; /** * Apply filters */ filter?: components.PurchaseOrdersFilter | undefined; /** * Apply sorting */ sort?: components.PurchaseOrdersSort | undefined; }; export type AccountingPurchaseOrdersAllResponse = { httpMeta: components.HTTPMetadata; /** * PurchaseOrders */ getPurchaseOrdersResponse?: components.GetPurchaseOrdersResponse | undefined; /** * Unexpected error */ unexpectedErrorResponse?: components.UnexpectedErrorResponse | undefined; }; /** @internal */ export declare const AccountingPurchaseOrdersAllGlobals$inboundSchema: z.ZodType; /** @internal */ export type AccountingPurchaseOrdersAllGlobals$Outbound = { consumerId?: string | undefined; appId?: string | undefined; }; /** @internal */ export declare const AccountingPurchaseOrdersAllGlobals$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 AccountingPurchaseOrdersAllGlobals$ { /** @deprecated use `AccountingPurchaseOrdersAllGlobals$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AccountingPurchaseOrdersAllGlobals$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AccountingPurchaseOrdersAllGlobals$Outbound` instead. */ type Outbound = AccountingPurchaseOrdersAllGlobals$Outbound; } export declare function accountingPurchaseOrdersAllGlobalsToJSON(accountingPurchaseOrdersAllGlobals: AccountingPurchaseOrdersAllGlobals): string; export declare function accountingPurchaseOrdersAllGlobalsFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const AccountingPurchaseOrdersAllRequest$inboundSchema: z.ZodType; /** @internal */ export type AccountingPurchaseOrdersAllRequest$Outbound = { raw: boolean; serviceId?: string | undefined; cursor?: string | null | undefined; pass_through?: { [k: string]: any; } | undefined; limit: number; filter?: components.PurchaseOrdersFilter$Outbound | undefined; sort?: components.PurchaseOrdersSort$Outbound | undefined; }; /** @internal */ export declare const AccountingPurchaseOrdersAllRequest$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 AccountingPurchaseOrdersAllRequest$ { /** @deprecated use `AccountingPurchaseOrdersAllRequest$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AccountingPurchaseOrdersAllRequest$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AccountingPurchaseOrdersAllRequest$Outbound` instead. */ type Outbound = AccountingPurchaseOrdersAllRequest$Outbound; } export declare function accountingPurchaseOrdersAllRequestToJSON(accountingPurchaseOrdersAllRequest: AccountingPurchaseOrdersAllRequest): string; export declare function accountingPurchaseOrdersAllRequestFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const AccountingPurchaseOrdersAllResponse$inboundSchema: z.ZodType; /** @internal */ export type AccountingPurchaseOrdersAllResponse$Outbound = { HttpMeta: components.HTTPMetadata$Outbound; GetPurchaseOrdersResponse?: components.GetPurchaseOrdersResponse$Outbound | undefined; UnexpectedErrorResponse?: components.UnexpectedErrorResponse$Outbound | undefined; }; /** @internal */ export declare const AccountingPurchaseOrdersAllResponse$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 AccountingPurchaseOrdersAllResponse$ { /** @deprecated use `AccountingPurchaseOrdersAllResponse$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AccountingPurchaseOrdersAllResponse$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AccountingPurchaseOrdersAllResponse$Outbound` instead. */ type Outbound = AccountingPurchaseOrdersAllResponse$Outbound; } export declare function accountingPurchaseOrdersAllResponseToJSON(accountingPurchaseOrdersAllResponse: AccountingPurchaseOrdersAllResponse): string; export declare function accountingPurchaseOrdersAllResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=accountingpurchaseordersall.d.ts.map