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 BankRelationshipsUpdateBankRelationshipRequest = { /** * The account id. */ accountId: string; /** * The bankRelationship id. */ bankRelationshipId: string; /** * The field of the bank relationship to update. Only `nickname` is supported. */ updateMask?: string | undefined; bankRelationshipUpdate: components.BankRelationshipUpdate; }; export type BankRelationshipsUpdateBankRelationshipResponse = { httpMeta: components.HTTPMetadata; /** * OK */ bankRelationship?: components.BankRelationship | undefined; /** * INVALID_ARGUMENT: The request has an invalid argument. */ status?: components.Status | undefined; }; /** @internal */ export declare const BankRelationshipsUpdateBankRelationshipRequest$inboundSchema: z.ZodType; /** @internal */ export type BankRelationshipsUpdateBankRelationshipRequest$Outbound = { account_id: string; bankRelationship_id: string; update_mask?: string | undefined; BankRelationshipUpdate: components.BankRelationshipUpdate$Outbound; }; /** @internal */ export declare const BankRelationshipsUpdateBankRelationshipRequest$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 BankRelationshipsUpdateBankRelationshipRequest$ { /** @deprecated use `BankRelationshipsUpdateBankRelationshipRequest$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `BankRelationshipsUpdateBankRelationshipRequest$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `BankRelationshipsUpdateBankRelationshipRequest$Outbound` instead. */ type Outbound = BankRelationshipsUpdateBankRelationshipRequest$Outbound; } export declare function bankRelationshipsUpdateBankRelationshipRequestToJSON(bankRelationshipsUpdateBankRelationshipRequest: BankRelationshipsUpdateBankRelationshipRequest): string; export declare function bankRelationshipsUpdateBankRelationshipRequestFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const BankRelationshipsUpdateBankRelationshipResponse$inboundSchema: z.ZodType; /** @internal */ export type BankRelationshipsUpdateBankRelationshipResponse$Outbound = { HttpMeta: components.HTTPMetadata$Outbound; BankRelationship?: components.BankRelationship$Outbound | undefined; Status?: components.Status$Outbound | undefined; }; /** @internal */ export declare const BankRelationshipsUpdateBankRelationshipResponse$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 BankRelationshipsUpdateBankRelationshipResponse$ { /** @deprecated use `BankRelationshipsUpdateBankRelationshipResponse$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `BankRelationshipsUpdateBankRelationshipResponse$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `BankRelationshipsUpdateBankRelationshipResponse$Outbound` instead. */ type Outbound = BankRelationshipsUpdateBankRelationshipResponse$Outbound; } export declare function bankRelationshipsUpdateBankRelationshipResponseToJSON(bankRelationshipsUpdateBankRelationshipResponse: BankRelationshipsUpdateBankRelationshipResponse): string; export declare function bankRelationshipsUpdateBankRelationshipResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=bankrelationshipsupdatebankrelationship.d.ts.map