changedOutput schema / properties / after / anyOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "alertPercent": {
- "anyOf": [
- {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- {
- "type": "null"
- }
- ],
- "description": "The alert email goes out at this percent of the amount; null for none."
- },
- "amountUsd": {
- "type": "number"
- },
- "guid": {
- "type": "string"
- },
- "heldUsd": {
- "description": "Held by work that is still running, until it is charged or ends.",
- "type": "number"
- },
- "leftUsd": {
- "description": "What new work can still use: the amount less what was spent and what is held.",
- "type": "number"
- },
- "period": {
- "description": "A monthly limit runs from the 1st at 00:00 UTC, a daily one from 00:00 UTC.",
- "enum": [
- "month",
- "day"
- ],
- "type": "string"
- },
- "periodStart": {
- "type": "string"
- },
- "resetsAt": {
- "type": "string"
- },
- "scope": {
- "description": "What the limit caps: the whole wallet (account), one team member, one API key (project), one way in (surface) or one agent.",
- "enum": [
- "account",
- "member",
- "project",
- "surface",
- "agent"
- ],
- "type": "string"
- },
- "spentUsd": {
- "description": "Spent in the current period, including what was spent before the limit was set.",
- "type": "number"
- },
- "target": {
- "description": "The member's user id, the project id, the surface or the agent guid; absent for the whole wallet.",
- "type": "string"
- },
- "targetName": {
- "type": "string"
- },
- "thisConnection": {
- "description": "True for the API key this connection uses, the surface it counts as, or in a team the member it acts as.",
- "type": "boolean"
- },
- "updatedAt": {
- "description": "When the limit last changed, in Unix seconds.",
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- "usedUp": {
- "description": "True when what was spent reached the amount: new work it covers is refused with error code 93.",
- "type": "boolean"
- }
- },
- "required": [
- "scope",
- "period",
- "amountUsd",
- "spentUsd",
- "leftUsd",
- "usedUp",
- "alertPercent"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "alertPercent": {
+ "anyOf": [
+ {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "The alert email goes out at this percent of the amount; null for none."
+ },
+ "amountUsd": {
+ "type": "number"
+ },
+ "guid": {
+ "type": "string"
+ },
+ "heldUsd": {
+ "description": "Held by work that is still running, until it is charged or ends.",
+ "type": "number"
+ },
+ "leftUsd": {
+ "description": "What new work can still use: the amount less what was spent and what is held.",
+ "type": "number"
+ },
+ "period": {
+ "description": "A monthly limit runs from the 1st at 00:00 UTC, a daily one from 00:00 UTC.",
+ "enum": [
+ "month",
+ "day"
+ ],
+ "type": "string"
+ },
+ "periodStart": {
+ "type": "string"
+ },
+ "resetsAt": {
+ "type": "string"
+ },
+ "scope": {
+ "description": "What the limit caps: the whole wallet (account), one team member, one API key (project), one way in (surface) or one agent.",
+ "enum": [
+ "account",
+ "member",
+ "project",
+ "surface",
+ "agent"
+ ],
+ "type": "string"
+ },
+ "spentUsd": {
+ "description": "Spent in the current period, including what was spent before the limit was set.",
+ "type": "number"
+ },
+ "target": {
+ "description": "The member's user id, the project id, the surface or the agent guid; absent for the whole wallet.",
+ "type": "string"
+ },
+ "targetName": {
+ "type": "string"
+ },
+ "thisConnection": {
+ "description": "True for the API key this connection uses, the surface it counts as, or in a team the member it acts as.",
+ "type": "boolean"
+ },
+ "updatedAt": {
+ "description": "When the limit last changed, in Unix seconds.",
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "updatedBy": {
+ "additionalProperties": false,
+ "description": "Who changed it last. Absent when Wiro did not say, or when a change Wiro made itself was the last.",
+ "properties": {
+ "name": {
+ "description": "Their name or e-mail, or \"the organization owner\"; absent for someone who is no longer in the team.",
+ "type": "string"
+ },
+ "useruuid": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "useruuid"
+ ],
+ "type": "object"
+ },
+ "usedUp": {
+ "description": "True when what was spent reached the amount: new work it covers is refused with error code 93.",
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "scope",
+ "period",
+ "amountUsd",
+ "spentUsd",
+ "leftUsd",
+ "usedUp",
+ "alertPercent"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+]
changedOutput schema / properties / before / anyOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "alertPercent": {
- "anyOf": [
- {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- {
- "type": "null"
- }
- ],
- "description": "The alert email goes out at this percent of the amount; null for none."
- },
- "amountUsd": {
- "type": "number"
- },
- "guid": {
- "type": "string"
- },
- "heldUsd": {
- "description": "Held by work that is still running, until it is charged or ends.",
- "type": "number"
- },
- "leftUsd": {
- "description": "What new work can still use: the amount less what was spent and what is held.",
- "type": "number"
- },
- "period": {
- "description": "A monthly limit runs from the 1st at 00:00 UTC, a daily one from 00:00 UTC.",
- "enum": [
- "month",
- "day"
- ],
- "type": "string"
- },
- "periodStart": {
- "type": "string"
- },
- "resetsAt": {
- "type": "string"
- },
- "scope": {
- "description": "What the limit caps: the whole wallet (account), one team member, one API key (project), one way in (surface) or one agent.",
- "enum": [
- "account",
- "member",
- "project",
- "surface",
- "agent"
- ],
- "type": "string"
- },
- "spentUsd": {
- "description": "Spent in the current period, including what was spent before the limit was set.",
- "type": "number"
- },
- "target": {
- "description": "The member's user id, the project id, the surface or the agent guid; absent for the whole wallet.",
- "type": "string"
- },
- "targetName": {
- "type": "string"
- },
- "thisConnection": {
- "description": "True for the API key this connection uses, the surface it counts as, or in a team the member it acts as.",
- "type": "boolean"
- },
- "updatedAt": {
- "description": "When the limit last changed, in Unix seconds.",
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- "usedUp": {
- "description": "True when what was spent reached the amount: new work it covers is refused with error code 93.",
- "type": "boolean"
- }
- },
- "required": [
- "scope",
- "period",
- "amountUsd",
- "spentUsd",
- "leftUsd",
- "usedUp",
- "alertPercent"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "alertPercent": {
+ "anyOf": [
+ {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "The alert email goes out at this percent of the amount; null for none."
+ },
+ "amountUsd": {
+ "type": "number"
+ },
+ "guid": {
+ "type": "string"
+ },
+ "heldUsd": {
+ "description": "Held by work that is still running, until it is charged or ends.",
+ "type": "number"
+ },
+ "leftUsd": {
+ "description": "What new work can still use: the amount less what was spent and what is held.",
+ "type": "number"
+ },
+ "period": {
+ "description": "A monthly limit runs from the 1st at 00:00 UTC, a daily one from 00:00 UTC.",
+ "enum": [
+ "month",
+ "day"
+ ],
+ "type": "string"
+ },
+ "periodStart": {
+ "type": "string"
+ },
+ "resetsAt": {
+ "type": "string"
+ },
+ "scope": {
+ "description": "What the limit caps: the whole wallet (account), one team member, one API key (project), one way in (surface) or one agent.",
+ "enum": [
+ "account",
+ "member",
+ "project",
+ "surface",
+ "agent"
+ ],
+ "type": "string"
+ },
+ "spentUsd": {
+ "description": "Spent in the current period, including what was spent before the limit was set.",
+ "type": "number"
+ },
+ "target": {
+ "description": "The member's user id, the project id, the surface or the agent guid; absent for the whole wallet.",
+ "type": "string"
+ },
+ "targetName": {
+ "type": "string"
+ },
+ "thisConnection": {
+ "description": "True for the API key this connection uses, the surface it counts as, or in a team the member it acts as.",
+ "type": "boolean"
+ },
+ "updatedAt": {
+ "description": "When the limit last changed, in Unix seconds.",
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "updatedBy": {
+ "additionalProperties": false,
+ "description": "Who changed it last. Absent when Wiro did not say, or when a change Wiro made itself was the last.",
+ "properties": {
+ "name": {
+ "description": "Their name or e-mail, or \"the organization owner\"; absent for someone who is no longer in the team.",
+ "type": "string"
+ },
+ "useruuid": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "useruuid"
+ ],
+ "type": "object"
+ },
+ "usedUp": {
+ "description": "True when what was spent reached the amount: new work it covers is refused with error code 93.",
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "scope",
+ "period",
+ "amountUsd",
+ "spentUsd",
+ "leftUsd",
+ "usedUp",
+ "alertPercent"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+]