GetExternalUserBudgetsData
Example Usage
typescript
import { GetExternalUserBudgetsData } from "@meetkai/mka1/models/operations";
let value: GetExternalUserBudgetsData = {
id: "<id>",
scope: "org",
scopeId: "<id>",
scopeOrgId: null,
owner: "org",
period: "weekly",
limit: 8723.31,
thresholds: [],
alertWebhookUrl: null,
spend: {
window: "<value>",
costSpent: 5897.27,
limit: 6721.26,
pct: 906779,
status: "blocked",
},
};Fields
| Field | Type | Required | Description |
|---|---|---|---|
id | string | ✔️ | N/A |
scope | operations.GetExternalUserBudgetsScope | ✔️ | N/A |
scopeId | string | ✔️ | N/A |
scopeOrgId | string | ✔️ | N/A |
owner | operations.GetExternalUserBudgetsOwner | ✔️ | N/A |
period | operations.GetExternalUserBudgetsPeriod | ✔️ | N/A |
limit | number | ✔️ | N/A |
thresholds | operations.GetExternalUserBudgetsThresholds[] | ✔️ | N/A |
alertWebhookUrl | string | ✔️ | N/A |
spend | operations.GetExternalUserBudgetsSpend | ✔️ | N/A |