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 AccountTransfersRejectTransferRequest = { /** * The correspondent id. */ correspondentId: string; /** * The account id. */ accountId: string; /** * The transfer id. */ transferId: string; rejectTransferRequestCreate: components.RejectTransferRequestCreate; }; export type AccountTransfersRejectTransferResponse = { httpMeta: components.HTTPMetadata; /** * OK */ rejectTransferResponse?: components.RejectTransferResponse | undefined; /** * INVALID_ARGUMENT: The request has an invalid argument. * * @remarks * FAILED_PRECONDITION: The transfer resource is not in the correct state for this operation. */ status?: components.Status | undefined; }; /** @internal */ export declare const AccountTransfersRejectTransferRequest$inboundSchema: z.ZodType; /** @internal */ export type AccountTransfersRejectTransferRequest$Outbound = { correspondent_id: string; account_id: string; transfer_id: string; RejectTransferRequestCreate: components.RejectTransferRequestCreate$Outbound; }; /** @internal */ export declare const AccountTransfersRejectTransferRequest$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 AccountTransfersRejectTransferRequest$ { /** @deprecated use `AccountTransfersRejectTransferRequest$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AccountTransfersRejectTransferRequest$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AccountTransfersRejectTransferRequest$Outbound` instead. */ type Outbound = AccountTransfersRejectTransferRequest$Outbound; } export declare function accountTransfersRejectTransferRequestToJSON(accountTransfersRejectTransferRequest: AccountTransfersRejectTransferRequest): string; export declare function accountTransfersRejectTransferRequestFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const AccountTransfersRejectTransferResponse$inboundSchema: z.ZodType; /** @internal */ export type AccountTransfersRejectTransferResponse$Outbound = { HttpMeta: components.HTTPMetadata$Outbound; RejectTransferResponse?: components.RejectTransferResponse$Outbound | undefined; Status?: components.Status$Outbound | undefined; }; /** @internal */ export declare const AccountTransfersRejectTransferResponse$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 AccountTransfersRejectTransferResponse$ { /** @deprecated use `AccountTransfersRejectTransferResponse$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AccountTransfersRejectTransferResponse$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AccountTransfersRejectTransferResponse$Outbound` instead. */ type Outbound = AccountTransfersRejectTransferResponse$Outbound; } export declare function accountTransfersRejectTransferResponseToJSON(accountTransfersRejectTransferResponse: AccountTransfersRejectTransferResponse): string; export declare function accountTransfersRejectTransferResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=accounttransfersrejecttransfer.d.ts.map