@soat/sdk 0.16.0 → 0.16.1
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.
- package/dist/index.d.cts +8 -4
- package/dist/index.d.mts +8 -4
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1576,7 +1576,7 @@ type ExceptionItem = {
|
|
|
1576
1576
|
/**
|
|
1577
1577
|
* How the exception was filed
|
|
1578
1578
|
*/
|
|
1579
|
-
kind?: 'run_failed' | 'guardrail_tripwire' | 'approval_expired' | 'manual';
|
|
1579
|
+
kind?: 'run_failed' | 'guardrail_tripwire' | 'approval_expired' | 'quota_unpriced' | 'manual';
|
|
1580
1580
|
/**
|
|
1581
1581
|
* Human-readable one-line summary
|
|
1582
1582
|
*/
|
|
@@ -6506,6 +6506,10 @@ type ListAuditEntriesData = {
|
|
|
6506
6506
|
url: '/api/v1/audit-log';
|
|
6507
6507
|
};
|
|
6508
6508
|
type ListAuditEntriesErrors = {
|
|
6509
|
+
/**
|
|
6510
|
+
* `from` or `to` is present but not a valid ISO 8601 date
|
|
6511
|
+
*/
|
|
6512
|
+
400: unknown;
|
|
6509
6513
|
/**
|
|
6510
6514
|
* Unauthorized
|
|
6511
6515
|
*/
|
|
@@ -6568,7 +6572,7 @@ type ExportAuditEntriesData = {
|
|
|
6568
6572
|
};
|
|
6569
6573
|
type ExportAuditEntriesErrors = {
|
|
6570
6574
|
/**
|
|
6571
|
-
* project_id is required
|
|
6575
|
+
* `project_id` is required, or `from`/`to` is present but not a valid ISO 8601 date
|
|
6572
6576
|
*/
|
|
6573
6577
|
400: unknown;
|
|
6574
6578
|
/**
|
|
@@ -8251,7 +8255,7 @@ type ListExceptionsData = {
|
|
|
8251
8255
|
/**
|
|
8252
8256
|
* Filter by how the exception was filed
|
|
8253
8257
|
*/
|
|
8254
|
-
kind?: 'run_failed' | 'guardrail_tripwire' | 'approval_expired' | 'manual';
|
|
8258
|
+
kind?: 'run_failed' | 'guardrail_tripwire' | 'approval_expired' | 'quota_unpriced' | 'manual';
|
|
8255
8259
|
/**
|
|
8256
8260
|
* Maximum number of results to return
|
|
8257
8261
|
*/
|
|
@@ -11303,7 +11307,7 @@ type CreateQuotaData = {
|
|
|
11303
11307
|
*/
|
|
11304
11308
|
limit: number;
|
|
11305
11309
|
/**
|
|
11306
|
-
* enforce blocks with 429 (requests at the middleware, tokens/cost_usd at the pre-generation check); monitor
|
|
11310
|
+
* enforce blocks with 429 (requests at the middleware, tokens/cost_usd at the pre-generation check); monitor observes without blocking — a breach fires the quota.exceeded webhook and writes a quotas:MonitorBreach audit entry, but the request is let through.
|
|
11307
11311
|
*/
|
|
11308
11312
|
mode?: 'enforce' | 'monitor';
|
|
11309
11313
|
};
|
package/dist/index.d.mts
CHANGED
|
@@ -1576,7 +1576,7 @@ type ExceptionItem = {
|
|
|
1576
1576
|
/**
|
|
1577
1577
|
* How the exception was filed
|
|
1578
1578
|
*/
|
|
1579
|
-
kind?: 'run_failed' | 'guardrail_tripwire' | 'approval_expired' | 'manual';
|
|
1579
|
+
kind?: 'run_failed' | 'guardrail_tripwire' | 'approval_expired' | 'quota_unpriced' | 'manual';
|
|
1580
1580
|
/**
|
|
1581
1581
|
* Human-readable one-line summary
|
|
1582
1582
|
*/
|
|
@@ -6506,6 +6506,10 @@ type ListAuditEntriesData = {
|
|
|
6506
6506
|
url: '/api/v1/audit-log';
|
|
6507
6507
|
};
|
|
6508
6508
|
type ListAuditEntriesErrors = {
|
|
6509
|
+
/**
|
|
6510
|
+
* `from` or `to` is present but not a valid ISO 8601 date
|
|
6511
|
+
*/
|
|
6512
|
+
400: unknown;
|
|
6509
6513
|
/**
|
|
6510
6514
|
* Unauthorized
|
|
6511
6515
|
*/
|
|
@@ -6568,7 +6572,7 @@ type ExportAuditEntriesData = {
|
|
|
6568
6572
|
};
|
|
6569
6573
|
type ExportAuditEntriesErrors = {
|
|
6570
6574
|
/**
|
|
6571
|
-
* project_id is required
|
|
6575
|
+
* `project_id` is required, or `from`/`to` is present but not a valid ISO 8601 date
|
|
6572
6576
|
*/
|
|
6573
6577
|
400: unknown;
|
|
6574
6578
|
/**
|
|
@@ -8251,7 +8255,7 @@ type ListExceptionsData = {
|
|
|
8251
8255
|
/**
|
|
8252
8256
|
* Filter by how the exception was filed
|
|
8253
8257
|
*/
|
|
8254
|
-
kind?: 'run_failed' | 'guardrail_tripwire' | 'approval_expired' | 'manual';
|
|
8258
|
+
kind?: 'run_failed' | 'guardrail_tripwire' | 'approval_expired' | 'quota_unpriced' | 'manual';
|
|
8255
8259
|
/**
|
|
8256
8260
|
* Maximum number of results to return
|
|
8257
8261
|
*/
|
|
@@ -11303,7 +11307,7 @@ type CreateQuotaData = {
|
|
|
11303
11307
|
*/
|
|
11304
11308
|
limit: number;
|
|
11305
11309
|
/**
|
|
11306
|
-
* enforce blocks with 429 (requests at the middleware, tokens/cost_usd at the pre-generation check); monitor
|
|
11310
|
+
* enforce blocks with 429 (requests at the middleware, tokens/cost_usd at the pre-generation check); monitor observes without blocking — a breach fires the quota.exceeded webhook and writes a quotas:MonitorBreach audit entry, but the request is let through.
|
|
11307
11311
|
*/
|
|
11308
11312
|
mode?: 'enforce' | 'monitor';
|
|
11309
11313
|
};
|