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 CreditsCancelCreditRequest = { /** * The account id. */ accountId: string; /** * The credit id. */ creditId: string; cancelCreditRequestCreate: components.CancelCreditRequestCreate; }; export type CreditsCancelCreditResponse = { httpMeta: components.HTTPMetadata; /** * OK */ transfersCredit?: components.TransfersCredit | undefined; /** * INVALID_ARGUMENT: The request has an invalid argument. */ status?: components.Status | undefined; }; /** @internal */ export declare const CreditsCancelCreditRequest$inboundSchema: z.ZodType; /** @internal */ export type CreditsCancelCreditRequest$Outbound = { account_id: string; credit_id: string; CancelCreditRequestCreate: components.CancelCreditRequestCreate$Outbound; }; /** @internal */ export declare const CreditsCancelCreditRequest$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 CreditsCancelCreditRequest$ { /** @deprecated use `CreditsCancelCreditRequest$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `CreditsCancelCreditRequest$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `CreditsCancelCreditRequest$Outbound` instead. */ type Outbound = CreditsCancelCreditRequest$Outbound; } export declare function creditsCancelCreditRequestToJSON(creditsCancelCreditRequest: CreditsCancelCreditRequest): string; export declare function creditsCancelCreditRequestFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const CreditsCancelCreditResponse$inboundSchema: z.ZodType; /** @internal */ export type CreditsCancelCreditResponse$Outbound = { HttpMeta: components.HTTPMetadata$Outbound; TransfersCredit?: components.TransfersCredit$Outbound | undefined; Status?: components.Status$Outbound | undefined; }; /** @internal */ export declare const CreditsCancelCreditResponse$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 CreditsCancelCreditResponse$ { /** @deprecated use `CreditsCancelCreditResponse$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `CreditsCancelCreditResponse$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `CreditsCancelCreditResponse$Outbound` instead. */ type Outbound = CreditsCancelCreditResponse$Outbound; } export declare function creditsCancelCreditResponseToJSON(creditsCancelCreditResponse: CreditsCancelCreditResponse): string; export declare function creditsCancelCreditResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=creditscancelcredit.d.ts.map