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 AccountingPurchaseOrdersUpdateGlobals = { /** * 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 AccountingPurchaseOrdersUpdateRequest = { /** * 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; purchaseOrder: components.PurchaseOrderInput; }; export type AccountingPurchaseOrdersUpdateResponse = { httpMeta: components.HTTPMetadata; /** * PurchaseOrders */ updatePurchaseOrderResponse?: components.UpdatePurchaseOrderResponse | undefined; /** * Unexpected error */ unexpectedErrorResponse?: components.UnexpectedErrorResponse | undefined; }; /** @internal */ export declare const AccountingPurchaseOrdersUpdateGlobals$inboundSchema: z.ZodType; /** @internal */ export type AccountingPurchaseOrdersUpdateGlobals$Outbound = { consumerId?: string | undefined; appId?: string | undefined; }; /** @internal */ export declare const AccountingPurchaseOrdersUpdateGlobals$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 AccountingPurchaseOrdersUpdateGlobals$ { /** @deprecated use `AccountingPurchaseOrdersUpdateGlobals$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AccountingPurchaseOrdersUpdateGlobals$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AccountingPurchaseOrdersUpdateGlobals$Outbound` instead. */ type Outbound = AccountingPurchaseOrdersUpdateGlobals$Outbound; } export declare function accountingPurchaseOrdersUpdateGlobalsToJSON(accountingPurchaseOrdersUpdateGlobals: AccountingPurchaseOrdersUpdateGlobals): string; export declare function accountingPurchaseOrdersUpdateGlobalsFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const AccountingPurchaseOrdersUpdateRequest$inboundSchema: z.ZodType; /** @internal */ export type AccountingPurchaseOrdersUpdateRequest$Outbound = { id: string; serviceId?: string | undefined; raw: boolean; PurchaseOrder: components.PurchaseOrderInput$Outbound; }; /** @internal */ export declare const AccountingPurchaseOrdersUpdateRequest$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 AccountingPurchaseOrdersUpdateRequest$ { /** @deprecated use `AccountingPurchaseOrdersUpdateRequest$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AccountingPurchaseOrdersUpdateRequest$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AccountingPurchaseOrdersUpdateRequest$Outbound` instead. */ type Outbound = AccountingPurchaseOrdersUpdateRequest$Outbound; } export declare function accountingPurchaseOrdersUpdateRequestToJSON(accountingPurchaseOrdersUpdateRequest: AccountingPurchaseOrdersUpdateRequest): string; export declare function accountingPurchaseOrdersUpdateRequestFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const AccountingPurchaseOrdersUpdateResponse$inboundSchema: z.ZodType; /** @internal */ export type AccountingPurchaseOrdersUpdateResponse$Outbound = { HttpMeta: components.HTTPMetadata$Outbound; UpdatePurchaseOrderResponse?: components.UpdatePurchaseOrderResponse$Outbound | undefined; UnexpectedErrorResponse?: components.UnexpectedErrorResponse$Outbound | undefined; }; /** @internal */ export declare const AccountingPurchaseOrdersUpdateResponse$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 AccountingPurchaseOrdersUpdateResponse$ { /** @deprecated use `AccountingPurchaseOrdersUpdateResponse$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AccountingPurchaseOrdersUpdateResponse$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AccountingPurchaseOrdersUpdateResponse$Outbound` instead. */ type Outbound = AccountingPurchaseOrdersUpdateResponse$Outbound; } export declare function accountingPurchaseOrdersUpdateResponseToJSON(accountingPurchaseOrdersUpdateResponse: AccountingPurchaseOrdersUpdateResponse): string; export declare function accountingPurchaseOrdersUpdateResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=accountingpurchaseordersupdate.d.ts.map