@zuplo/lint-win32-x64 7.7.9 → 7.7.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -9315,17 +9315,19 @@
9315
9315
  "properties": {
9316
9316
  "budgetBy": {
9317
9317
  "type": "string",
9318
- "enum": ["app", "expression"]
9318
+ "enum": ["app", "expression"],
9319
+ "description": "Budget the application as a whole (\"app\"), or give every distinct value of an expression its own budget (\"expression\")."
9319
9320
  },
9320
9321
  "expression": {
9321
9322
  "type": "string",
9322
9323
  "minLength": 1,
9323
- "description": "Required when budgetBy is \"expression\"; forbidden for \"app\". Each distinct value gets its own budget."
9324
+ "description": "Required when budgetBy is \"expression\"; forbidden for \"app\". Each distinct value gets its own budget. Select one value from the request or its context: request.headers.get(\"x-user-id\"), request.query.tenant, request.params.customerId, request.user.sub, request.user.data.organizationId, request.method, request.url, context.custom.tenantId, context.route.path, or context.incomingRequestProperties.country. Comparisons, arithmetic, string methods, and request body values are not supported."
9324
9325
  },
9325
9326
  "meters": {
9326
9327
  "type": "array",
9327
9328
  "minItems": 1,
9328
9329
  "maxItems": 24,
9330
+ "description": "Thresholds this rule enforces. Add one entry per meter, period, and action you want.",
9329
9331
  "items": {
9330
9332
  "$ref": "#/$defs/ai-gateway-metering-v2/meteringBudgetRuleMeter"
9331
9333
  }
@@ -9339,19 +9341,23 @@
9339
9341
  "properties": {
9340
9342
  "meter": {
9341
9343
  "type": "string",
9342
- "enum": ["cost", "requests", "tokens"]
9344
+ "enum": ["cost", "requests", "tokens"],
9345
+ "description": "What to measure: US dollars spent (\"cost\"), requests made (\"requests\"), or tokens used (\"tokens\")."
9343
9346
  },
9344
9347
  "period": {
9345
9348
  "type": "string",
9346
- "enum": ["hourly", "daily", "weekly", "monthly"]
9349
+ "enum": ["hourly", "daily", "weekly", "monthly"],
9350
+ "description": "How often usage resets."
9347
9351
  },
9348
9352
  "value": {
9349
9353
  "type": "number",
9350
- "exclusiveMinimum": 0
9354
+ "exclusiveMinimum": 0,
9355
+ "description": "The threshold for this meter and period. Cost is in US dollars."
9351
9356
  },
9352
9357
  "action": {
9353
9358
  "type": "string",
9354
- "enum": ["warn", "block"]
9359
+ "enum": ["warn", "block"],
9360
+ "description": "What happens at the threshold: \"warn\" notifies and lets the request through, \"block\" uses the configured quota fallback model or returns 429 Too Many Requests."
9355
9361
  }
9356
9362
  }
9357
9363
  },
package/bin/version.txt CHANGED
@@ -1 +1 @@
1
- 7.7.9
1
+ 7.7.11
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zuplo/lint-win32-x64",
3
- "version": "7.7.9",
3
+ "version": "7.7.11",
4
4
  "description": "The win32-x64 binary for zuplo-lint, the Zuplo API linter.",
5
5
  "repository": "https://github.com/zuplo/zuplo",
6
6
  "author": "Zuplo, Inc.",