Variable MJAIModelCostSchemaConst
MJAIModelCostSchema: ZodObject<
{
__mj_CreatedAt: ZodDate;
__mj_UpdatedAt: ZodDate;
CacheReadPricePerUnit: ZodNullable<ZodNumber>;
CacheWritePricePerUnit: ZodNullable<ZodNumber>;
Comments: ZodNullable<ZodString>;
Currency: ZodString;
EndedAt: ZodNullable<ZodDate>;
ID: ZodString;
InputPricePerUnit: ZodNumber;
Model: ZodString;
ModelID: ZodString;
OutputPricePerUnit: ZodNumber;
PriceType: ZodString;
PriceTypeID: ZodString;
ProcessingType: ZodUnion<[ZodLiteral<"Batch">, ZodLiteral<"Realtime">]>;
StartedAt: ZodNullable<ZodDate>;
Status: ZodUnion<
[
ZodLiteral<"Active">,
ZodLiteral<"Expired">,
ZodLiteral<"Invalid">,
ZodLiteral<"Pending">,
],
>;
UnitType: ZodString;
UnitTypeID: ZodString;
Vendor: ZodString;
VendorID: ZodString;
},
"strip",
ZodTypeAny,
{
__mj_CreatedAt?: Date;
__mj_UpdatedAt?: Date;
CacheReadPricePerUnit?: number;
CacheWritePricePerUnit?: number;
Comments?: string;
Currency?: string;
EndedAt?: Date;
ID?: string;
InputPricePerUnit?: number;
Model?: string;
ModelID?: string;
OutputPricePerUnit?: number;
PriceType?: string;
PriceTypeID?: string;
ProcessingType?: "Batch"
| "Realtime";
StartedAt?: Date;
Status?: "Active" | "Pending" | "Expired" | "Invalid";
UnitType?: string;
UnitTypeID?: string;
Vendor?: string;
VendorID?: string;
},
{
__mj_CreatedAt?: Date;
__mj_UpdatedAt?: Date;
CacheReadPricePerUnit?: number;
CacheWritePricePerUnit?: number;
Comments?: string;
Currency?: string;
EndedAt?: Date;
ID?: string;
InputPricePerUnit?: number;
Model?: string;
ModelID?: string;
OutputPricePerUnit?: number;
PriceType?: string;
PriceTypeID?: string;
ProcessingType?: "Batch"
| "Realtime";
StartedAt?: Date;
Status?: "Active" | "Pending" | "Expired" | "Invalid";
UnitType?: string;
UnitTypeID?: string;
Vendor?: string;
VendorID?: string;
},
> = ...
zod schema definition for the entity MJ: AI Model Costs