Variable AIModelCostSchemaConst
AIModelCostSchema: ZodObject<{
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;
__mj_CreatedAt: ZodDate;
__mj_UpdatedAt: ZodDate;
}, "strip", ZodTypeAny, {
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;
}, {
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;
}> = ...
Type declaration
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
__mj_CreatedAt: ZodDate
__mj_UpdatedAt: ZodDate
Type declaration
Optional Comments?: string
Optional Currency?: string
Optional EndedAt?: Date
Optional ID?: string
Optional InputPricePerUnit?: number
Optional Model?: string
Optional ModelID?: string
Optional OutputPricePerUnit?: number
Optional PriceType?: string
Optional PriceTypeID?: string
Optional ProcessingType?: "Batch" | "Realtime"
Optional StartedAt?: Date
Optional Status?: "Active" | "Pending" | "Expired" | "Invalid"
Optional UnitType?: string
Optional UnitTypeID?: string
Optional Vendor?: string
Optional VendorID?: string
Optional __mj_CreatedAt?: Date
Optional __mj_UpdatedAt?: Date
Type declaration
Optional Comments?: string
Optional Currency?: string
Optional EndedAt?: Date
Optional ID?: string
Optional InputPricePerUnit?: number
Optional Model?: string
Optional ModelID?: string
Optional OutputPricePerUnit?: number
Optional PriceType?: string
Optional PriceTypeID?: string
Optional ProcessingType?: "Batch" | "Realtime"
Optional StartedAt?: Date
Optional Status?: "Active" | "Pending" | "Expired" | "Invalid"
Optional UnitType?: string
Optional UnitTypeID?: string
Optional Vendor?: string
Optional VendorID?: string
Optional __mj_CreatedAt?: Date
Optional __mj_UpdatedAt?: Date
zod schema definition for the entity MJ: AI Model Costs