CostGroupRow
Example Usage
typescript
import { CostGroupRow } from "@meetkai/mka1/models/components";
let value: CostGroupRow = {
model: "Colorado",
apiKeyId: "<id>",
teamId: "<id>",
externalUserId: "<id>",
orgId: "<id>",
cost: 7898.13,
costNano: "<value>",
};Fields
| Field | Type | Required | Description |
|---|---|---|---|
model | string | ✔️ | N/A |
apiKeyId | string | ✔️ | N/A |
teamId | string | ✔️ | N/A |
externalUserId | string | ✔️ | N/A |
orgId | string | ✔️ | N/A |
cost | number | ✔️ | Cost in major currency units (e.g. dollars) |
costNano | string | ✔️ | Cost in integer NANO-units — 1e9 per major currency unit (NOT cents). Divide by 1e9 for the major amount; use cost for the ready-made major value. |