import * as z from "zod"; import { OpenEnum } from "../../types/enums.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { DecimalCreate, DecimalCreate$Outbound } from "./decimalcreate.js"; /** * The type of asset being evaluated in cost calculations */ export declare enum RetrieveQuoteRequestCreateAssetType { FixedIncome = "FIXED_INCOME" } /** * The type of asset being evaluated in cost calculations */ export type RetrieveQuoteRequestCreateAssetTypeOpen = OpenEnum; /** * Capacity used in determining bid and ask prices. Defaults to "AGENCY" if no value specified. */ export declare enum RetrieveQuoteRequestCreateBrokerCapacity { BrokerCapacityUnspecified = "BROKER_CAPACITY_UNSPECIFIED", Agency = "AGENCY", Principal = "PRINCIPAL" } /** * Capacity used in determining bid and ask prices. Defaults to "AGENCY" if no value specified. */ export type RetrieveQuoteRequestCreateBrokerCapacityOpen = OpenEnum; /** * The identifier type of the asset being sought */ export declare enum RetrieveQuoteRequestCreateIdentifierType { AssetId = "ASSET_ID", Cusip = "CUSIP", Isin = "ISIN" } /** * The identifier type of the asset being sought */ export type RetrieveQuoteRequestCreateIdentifierTypeOpen = OpenEnum; /** * Request object for retrieving fixed income quotes */ export type RetrieveQuoteRequestCreate = { /** * The type of asset being evaluated in cost calculations */ assetType: RetrieveQuoteRequestCreateAssetTypeOpen; /** * Capacity used in determining bid and ask prices. Defaults to "AGENCY" if no value specified. */ brokerCapacity?: RetrieveQuoteRequestCreateBrokerCapacityOpen | undefined; /** * Identifier of the asset (of the type specified in `identifier_type`). */ identifier: string; /** * The identifier type of the asset being sought */ identifierType: RetrieveQuoteRequestCreateIdentifierTypeOpen; /** * A representation of a decimal value, such as 2.5. Clients may convert values into language-native decimal formats, such as Java's [BigDecimal][] or Python's [decimal.Decimal][]. * * @remarks * * [BigDecimal]: * https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/math/BigDecimal.html * [decimal.Decimal]: https://docs.python.org/3/library/decimal.html */ minimumQuantity?: DecimalCreate | undefined; /** * The parent resource where this order will be created. Format: accounts/{account_id} */ parent: string; }; /** @internal */ export declare const RetrieveQuoteRequestCreateAssetType$inboundSchema: z.ZodType; /** @internal */ export declare const RetrieveQuoteRequestCreateAssetType$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 RetrieveQuoteRequestCreateAssetType$ { /** @deprecated use `RetrieveQuoteRequestCreateAssetType$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `RetrieveQuoteRequestCreateAssetType$outboundSchema` instead. */ const outboundSchema: z.ZodType; } /** @internal */ export declare const RetrieveQuoteRequestCreateBrokerCapacity$inboundSchema: z.ZodType; /** @internal */ export declare const RetrieveQuoteRequestCreateBrokerCapacity$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 RetrieveQuoteRequestCreateBrokerCapacity$ { /** @deprecated use `RetrieveQuoteRequestCreateBrokerCapacity$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `RetrieveQuoteRequestCreateBrokerCapacity$outboundSchema` instead. */ const outboundSchema: z.ZodType; } /** @internal */ export declare const RetrieveQuoteRequestCreateIdentifierType$inboundSchema: z.ZodType; /** @internal */ export declare const RetrieveQuoteRequestCreateIdentifierType$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 RetrieveQuoteRequestCreateIdentifierType$ { /** @deprecated use `RetrieveQuoteRequestCreateIdentifierType$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `RetrieveQuoteRequestCreateIdentifierType$outboundSchema` instead. */ const outboundSchema: z.ZodType; } /** @internal */ export declare const RetrieveQuoteRequestCreate$inboundSchema: z.ZodType; /** @internal */ export type RetrieveQuoteRequestCreate$Outbound = { asset_type: string; broker_capacity?: string | undefined; identifier: string; identifier_type: string; minimum_quantity?: DecimalCreate$Outbound | undefined; parent: string; }; /** @internal */ export declare const RetrieveQuoteRequestCreate$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 RetrieveQuoteRequestCreate$ { /** @deprecated use `RetrieveQuoteRequestCreate$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `RetrieveQuoteRequestCreate$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `RetrieveQuoteRequestCreate$Outbound` instead. */ type Outbound = RetrieveQuoteRequestCreate$Outbound; } export declare function retrieveQuoteRequestCreateToJSON(retrieveQuoteRequestCreate: RetrieveQuoteRequestCreate): string; export declare function retrieveQuoteRequestCreateFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=retrievequoterequestcreate.d.ts.map