Skip to main content

TypeAlias.SharedBudgetWriteResult

type SharedBudgetWriteResult = {
allocation: AllocationViewJson;
currency: string;
maxAmountPerMonthRef: string | null;
overEnvelope: {
alerts: {
reachedAt: string;
threshold: 80 | 100;
}[];
allocatedRef: string;
capMonthRef: string | null;
freeShareAlerts: {
reachedAt: string;
threshold: 80 | 100;
}[];
freeShareRef: string | null;
freeShareSpentRef: string | null;
guaranteed: boolean;
id: string;
level: "application" | "wallet" | "organization";
overEnvelope: boolean;
spentRef: string;
}[];
scope: "application" | "organization";
scopeId: string;
timezone: string;
usage: {
month: {
cap: string | null;
spent: string;
};
};
};

Type Declaration​

NameType
allocationAllocationViewJson
currencystring
maxAmountPerMonthRefstring
overEnvelope{ alerts: { reachedAt: string; threshold: 80
scope"application"
scopeIdstring
timezonestring
usage{ month: { cap: string
usage.month{ cap: string
usage.month.capstring
usage.month.spentstring