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 AccountingSuppliersUpdateGlobals = { /** * 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 AccountingSuppliersUpdateRequest = { /** * 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; supplier: components.SupplierInput; }; export type AccountingSuppliersUpdateResponse = { httpMeta: components.HTTPMetadata; /** * Supplier updated */ updateSupplierResponse?: components.UpdateSupplierResponse | undefined; /** * Unexpected error */ unexpectedErrorResponse?: components.UnexpectedErrorResponse | undefined; }; /** @internal */ export declare const AccountingSuppliersUpdateGlobals$inboundSchema: z.ZodType; /** @internal */ export type AccountingSuppliersUpdateGlobals$Outbound = { consumerId?: string | undefined; appId?: string | undefined; }; /** @internal */ export declare const AccountingSuppliersUpdateGlobals$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 AccountingSuppliersUpdateGlobals$ { /** @deprecated use `AccountingSuppliersUpdateGlobals$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AccountingSuppliersUpdateGlobals$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AccountingSuppliersUpdateGlobals$Outbound` instead. */ type Outbound = AccountingSuppliersUpdateGlobals$Outbound; } export declare function accountingSuppliersUpdateGlobalsToJSON(accountingSuppliersUpdateGlobals: AccountingSuppliersUpdateGlobals): string; export declare function accountingSuppliersUpdateGlobalsFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const AccountingSuppliersUpdateRequest$inboundSchema: z.ZodType; /** @internal */ export type AccountingSuppliersUpdateRequest$Outbound = { id: string; serviceId?: string | undefined; raw: boolean; Supplier: components.SupplierInput$Outbound; }; /** @internal */ export declare const AccountingSuppliersUpdateRequest$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 AccountingSuppliersUpdateRequest$ { /** @deprecated use `AccountingSuppliersUpdateRequest$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AccountingSuppliersUpdateRequest$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AccountingSuppliersUpdateRequest$Outbound` instead. */ type Outbound = AccountingSuppliersUpdateRequest$Outbound; } export declare function accountingSuppliersUpdateRequestToJSON(accountingSuppliersUpdateRequest: AccountingSuppliersUpdateRequest): string; export declare function accountingSuppliersUpdateRequestFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const AccountingSuppliersUpdateResponse$inboundSchema: z.ZodType; /** @internal */ export type AccountingSuppliersUpdateResponse$Outbound = { HttpMeta: components.HTTPMetadata$Outbound; UpdateSupplierResponse?: components.UpdateSupplierResponse$Outbound | undefined; UnexpectedErrorResponse?: components.UnexpectedErrorResponse$Outbound | undefined; }; /** @internal */ export declare const AccountingSuppliersUpdateResponse$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 AccountingSuppliersUpdateResponse$ { /** @deprecated use `AccountingSuppliersUpdateResponse$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AccountingSuppliersUpdateResponse$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AccountingSuppliersUpdateResponse$Outbound` instead. */ type Outbound = AccountingSuppliersUpdateResponse$Outbound; } export declare function accountingSuppliersUpdateResponseToJSON(accountingSuppliersUpdateResponse: AccountingSuppliersUpdateResponse): string; export declare function accountingSuppliersUpdateResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=accountingsuppliersupdate.d.ts.map