@runtypelabs/sdk 10.2.1 → 10.2.2
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.cjs +1 -1
- package/dist/index.d.cts +26 -61
- package/dist/index.d.ts +26 -61
- package/dist/index.mjs +1 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -14149,7 +14149,7 @@ function transformQueryParams(params) {
|
|
|
14149
14149
|
|
|
14150
14150
|
// src/version.ts
|
|
14151
14151
|
var FALLBACK_VERSION = "0.0.0";
|
|
14152
|
-
var SDK_VERSION = "10.2.
|
|
14152
|
+
var SDK_VERSION = "10.2.2".length > 0 ? "10.2.2" : FALLBACK_VERSION;
|
|
14153
14153
|
var RUNTYPE_CLIENT_KIND = "sdk";
|
|
14154
14154
|
var SDK_USER_AGENT = `runtype-sdk/${SDK_VERSION} (typescript)`;
|
|
14155
14155
|
|
package/dist/index.d.cts
CHANGED
|
@@ -25207,9 +25207,7 @@ interface paths {
|
|
|
25207
25207
|
content: {
|
|
25208
25208
|
"application/json": {
|
|
25209
25209
|
data: {
|
|
25210
|
-
/** @description True when the
|
|
25211
|
-
dedupeFallback?: boolean;
|
|
25212
|
-
/** @description True when part of the window could not be read, so entries may be missing. Evicted ordinary rows are recovered from R2 when old enough; receipt-backed recovery remains degraded when source time cannot prove ingestion. Absent on healthy responses. */
|
|
25210
|
+
/** @description True when the live overlay or the audit plane could not be read, so entries from that source are missing. Absent on healthy responses. */
|
|
25213
25211
|
degraded?: boolean;
|
|
25214
25212
|
entries: {
|
|
25215
25213
|
[key: string]: unknown;
|
|
@@ -25280,59 +25278,8 @@ interface paths {
|
|
|
25280
25278
|
"application/json": components["schemas"]["Error"];
|
|
25281
25279
|
};
|
|
25282
25280
|
};
|
|
25283
|
-
|
|
25284
|
-
|
|
25285
|
-
put?: never;
|
|
25286
|
-
post?: never;
|
|
25287
|
-
delete?: never;
|
|
25288
|
-
options?: never;
|
|
25289
|
-
head?: never;
|
|
25290
|
-
patch?: never;
|
|
25291
|
-
trace?: never;
|
|
25292
|
-
};
|
|
25293
|
-
"/v1/logs/debug": {
|
|
25294
|
-
parameters: {
|
|
25295
|
-
query?: never;
|
|
25296
|
-
header?: never;
|
|
25297
|
-
path?: never;
|
|
25298
|
-
cookie?: never;
|
|
25299
|
-
};
|
|
25300
|
-
/**
|
|
25301
|
-
* Debug R2 SQL diagnostics
|
|
25302
|
-
* @description R2 SQL diagnostic endpoint for troubleshooting log queries. Non-production only.
|
|
25303
|
-
*/
|
|
25304
|
-
get: {
|
|
25305
|
-
parameters: {
|
|
25306
|
-
query?: never;
|
|
25307
|
-
header?: never;
|
|
25308
|
-
path?: never;
|
|
25309
|
-
cookie?: never;
|
|
25310
|
-
};
|
|
25311
|
-
requestBody?: never;
|
|
25312
|
-
responses: {
|
|
25313
|
-
/** @description Diagnostics returned */
|
|
25314
|
-
200: {
|
|
25315
|
-
headers: {
|
|
25316
|
-
[name: string]: unknown;
|
|
25317
|
-
};
|
|
25318
|
-
content: {
|
|
25319
|
-
"application/json": {
|
|
25320
|
-
data?: unknown;
|
|
25321
|
-
success: boolean;
|
|
25322
|
-
};
|
|
25323
|
-
};
|
|
25324
|
-
};
|
|
25325
|
-
/** @description Unauthorized */
|
|
25326
|
-
401: {
|
|
25327
|
-
headers: {
|
|
25328
|
-
[name: string]: unknown;
|
|
25329
|
-
};
|
|
25330
|
-
content: {
|
|
25331
|
-
"application/json": components["schemas"]["Error"];
|
|
25332
|
-
};
|
|
25333
|
-
};
|
|
25334
|
-
/** @description Not found */
|
|
25335
|
-
404: {
|
|
25281
|
+
/** @description Log store temporarily unavailable; no entries or counts could be read */
|
|
25282
|
+
503: {
|
|
25336
25283
|
headers: {
|
|
25337
25284
|
[name: string]: unknown;
|
|
25338
25285
|
};
|
|
@@ -25503,15 +25450,20 @@ interface paths {
|
|
|
25503
25450
|
byType: {
|
|
25504
25451
|
[key: string]: number;
|
|
25505
25452
|
};
|
|
25506
|
-
/** @description
|
|
25507
|
-
|
|
25508
|
-
/** @description True when
|
|
25453
|
+
/** @description The span plane’s earliest certified hour for this organization (ISO 8601). Counts before it are not in the store. Null when no hour is certified yet. */
|
|
25454
|
+
coveredFrom?: string | null;
|
|
25455
|
+
/** @description True when the live overlay or the audit plane could not be read, so counts are partial. Absent on healthy responses, which are the only ones cached. */
|
|
25509
25456
|
degraded?: boolean;
|
|
25510
25457
|
histogram: {
|
|
25511
25458
|
bucket: string;
|
|
25512
25459
|
count: number;
|
|
25513
25460
|
errors: number;
|
|
25514
25461
|
}[];
|
|
25462
|
+
/**
|
|
25463
|
+
* @description Which tier answered these counts. Always store today; the field exists so a granularity discontinuity is a labeled one rather than an unexplained drop in total.
|
|
25464
|
+
* @enum {string}
|
|
25465
|
+
*/
|
|
25466
|
+
statsSource?: "store" | "legacy" | "mixed";
|
|
25515
25467
|
total: number;
|
|
25516
25468
|
};
|
|
25517
25469
|
success: boolean;
|
|
@@ -25565,6 +25517,15 @@ interface paths {
|
|
|
25565
25517
|
"application/json": components["schemas"]["Error"];
|
|
25566
25518
|
};
|
|
25567
25519
|
};
|
|
25520
|
+
/** @description Log store temporarily unavailable; no entries or counts could be read */
|
|
25521
|
+
503: {
|
|
25522
|
+
headers: {
|
|
25523
|
+
[name: string]: unknown;
|
|
25524
|
+
};
|
|
25525
|
+
content: {
|
|
25526
|
+
"application/json": components["schemas"]["Error"];
|
|
25527
|
+
};
|
|
25528
|
+
};
|
|
25568
25529
|
};
|
|
25569
25530
|
};
|
|
25570
25531
|
put?: never;
|
|
@@ -54256,7 +54217,7 @@ interface LogQueryResult {
|
|
|
54256
54217
|
cursor: string | null;
|
|
54257
54218
|
hasMore: boolean;
|
|
54258
54219
|
};
|
|
54259
|
-
/** True when
|
|
54220
|
+
/** True when the live overlay or the audit plane could not be read, so some entries are missing. */
|
|
54260
54221
|
degraded?: boolean;
|
|
54261
54222
|
}
|
|
54262
54223
|
/** The `from`/`to` the API resolved for a logs query, after defaults and aliases. */
|
|
@@ -54283,8 +54244,12 @@ interface LogStatsResult {
|
|
|
54283
54244
|
count: number;
|
|
54284
54245
|
errors: number;
|
|
54285
54246
|
}>;
|
|
54286
|
-
/** True when
|
|
54247
|
+
/** True when the live overlay or the audit plane could not be read, so counts are partial. */
|
|
54287
54248
|
degraded?: boolean;
|
|
54249
|
+
/** Which tier answered these counts. Always `store` today. */
|
|
54250
|
+
statsSource?: 'store' | 'legacy' | 'mixed';
|
|
54251
|
+
/** The span plane's earliest certified hour; counts before it are not in the store. */
|
|
54252
|
+
coveredFrom?: string | null;
|
|
54288
54253
|
}
|
|
54289
54254
|
interface LogStatsResponse {
|
|
54290
54255
|
success: boolean;
|
package/dist/index.d.ts
CHANGED
|
@@ -25207,9 +25207,7 @@ interface paths {
|
|
|
25207
25207
|
content: {
|
|
25208
25208
|
"application/json": {
|
|
25209
25209
|
data: {
|
|
25210
|
-
/** @description True when the
|
|
25211
|
-
dedupeFallback?: boolean;
|
|
25212
|
-
/** @description True when part of the window could not be read, so entries may be missing. Evicted ordinary rows are recovered from R2 when old enough; receipt-backed recovery remains degraded when source time cannot prove ingestion. Absent on healthy responses. */
|
|
25210
|
+
/** @description True when the live overlay or the audit plane could not be read, so entries from that source are missing. Absent on healthy responses. */
|
|
25213
25211
|
degraded?: boolean;
|
|
25214
25212
|
entries: {
|
|
25215
25213
|
[key: string]: unknown;
|
|
@@ -25280,59 +25278,8 @@ interface paths {
|
|
|
25280
25278
|
"application/json": components["schemas"]["Error"];
|
|
25281
25279
|
};
|
|
25282
25280
|
};
|
|
25283
|
-
|
|
25284
|
-
|
|
25285
|
-
put?: never;
|
|
25286
|
-
post?: never;
|
|
25287
|
-
delete?: never;
|
|
25288
|
-
options?: never;
|
|
25289
|
-
head?: never;
|
|
25290
|
-
patch?: never;
|
|
25291
|
-
trace?: never;
|
|
25292
|
-
};
|
|
25293
|
-
"/v1/logs/debug": {
|
|
25294
|
-
parameters: {
|
|
25295
|
-
query?: never;
|
|
25296
|
-
header?: never;
|
|
25297
|
-
path?: never;
|
|
25298
|
-
cookie?: never;
|
|
25299
|
-
};
|
|
25300
|
-
/**
|
|
25301
|
-
* Debug R2 SQL diagnostics
|
|
25302
|
-
* @description R2 SQL diagnostic endpoint for troubleshooting log queries. Non-production only.
|
|
25303
|
-
*/
|
|
25304
|
-
get: {
|
|
25305
|
-
parameters: {
|
|
25306
|
-
query?: never;
|
|
25307
|
-
header?: never;
|
|
25308
|
-
path?: never;
|
|
25309
|
-
cookie?: never;
|
|
25310
|
-
};
|
|
25311
|
-
requestBody?: never;
|
|
25312
|
-
responses: {
|
|
25313
|
-
/** @description Diagnostics returned */
|
|
25314
|
-
200: {
|
|
25315
|
-
headers: {
|
|
25316
|
-
[name: string]: unknown;
|
|
25317
|
-
};
|
|
25318
|
-
content: {
|
|
25319
|
-
"application/json": {
|
|
25320
|
-
data?: unknown;
|
|
25321
|
-
success: boolean;
|
|
25322
|
-
};
|
|
25323
|
-
};
|
|
25324
|
-
};
|
|
25325
|
-
/** @description Unauthorized */
|
|
25326
|
-
401: {
|
|
25327
|
-
headers: {
|
|
25328
|
-
[name: string]: unknown;
|
|
25329
|
-
};
|
|
25330
|
-
content: {
|
|
25331
|
-
"application/json": components["schemas"]["Error"];
|
|
25332
|
-
};
|
|
25333
|
-
};
|
|
25334
|
-
/** @description Not found */
|
|
25335
|
-
404: {
|
|
25281
|
+
/** @description Log store temporarily unavailable; no entries or counts could be read */
|
|
25282
|
+
503: {
|
|
25336
25283
|
headers: {
|
|
25337
25284
|
[name: string]: unknown;
|
|
25338
25285
|
};
|
|
@@ -25503,15 +25450,20 @@ interface paths {
|
|
|
25503
25450
|
byType: {
|
|
25504
25451
|
[key: string]: number;
|
|
25505
25452
|
};
|
|
25506
|
-
/** @description
|
|
25507
|
-
|
|
25508
|
-
/** @description True when
|
|
25453
|
+
/** @description The span plane’s earliest certified hour for this organization (ISO 8601). Counts before it are not in the store. Null when no hour is certified yet. */
|
|
25454
|
+
coveredFrom?: string | null;
|
|
25455
|
+
/** @description True when the live overlay or the audit plane could not be read, so counts are partial. Absent on healthy responses, which are the only ones cached. */
|
|
25509
25456
|
degraded?: boolean;
|
|
25510
25457
|
histogram: {
|
|
25511
25458
|
bucket: string;
|
|
25512
25459
|
count: number;
|
|
25513
25460
|
errors: number;
|
|
25514
25461
|
}[];
|
|
25462
|
+
/**
|
|
25463
|
+
* @description Which tier answered these counts. Always store today; the field exists so a granularity discontinuity is a labeled one rather than an unexplained drop in total.
|
|
25464
|
+
* @enum {string}
|
|
25465
|
+
*/
|
|
25466
|
+
statsSource?: "store" | "legacy" | "mixed";
|
|
25515
25467
|
total: number;
|
|
25516
25468
|
};
|
|
25517
25469
|
success: boolean;
|
|
@@ -25565,6 +25517,15 @@ interface paths {
|
|
|
25565
25517
|
"application/json": components["schemas"]["Error"];
|
|
25566
25518
|
};
|
|
25567
25519
|
};
|
|
25520
|
+
/** @description Log store temporarily unavailable; no entries or counts could be read */
|
|
25521
|
+
503: {
|
|
25522
|
+
headers: {
|
|
25523
|
+
[name: string]: unknown;
|
|
25524
|
+
};
|
|
25525
|
+
content: {
|
|
25526
|
+
"application/json": components["schemas"]["Error"];
|
|
25527
|
+
};
|
|
25528
|
+
};
|
|
25568
25529
|
};
|
|
25569
25530
|
};
|
|
25570
25531
|
put?: never;
|
|
@@ -54256,7 +54217,7 @@ interface LogQueryResult {
|
|
|
54256
54217
|
cursor: string | null;
|
|
54257
54218
|
hasMore: boolean;
|
|
54258
54219
|
};
|
|
54259
|
-
/** True when
|
|
54220
|
+
/** True when the live overlay or the audit plane could not be read, so some entries are missing. */
|
|
54260
54221
|
degraded?: boolean;
|
|
54261
54222
|
}
|
|
54262
54223
|
/** The `from`/`to` the API resolved for a logs query, after defaults and aliases. */
|
|
@@ -54283,8 +54244,12 @@ interface LogStatsResult {
|
|
|
54283
54244
|
count: number;
|
|
54284
54245
|
errors: number;
|
|
54285
54246
|
}>;
|
|
54286
|
-
/** True when
|
|
54247
|
+
/** True when the live overlay or the audit plane could not be read, so counts are partial. */
|
|
54287
54248
|
degraded?: boolean;
|
|
54249
|
+
/** Which tier answered these counts. Always `store` today. */
|
|
54250
|
+
statsSource?: 'store' | 'legacy' | 'mixed';
|
|
54251
|
+
/** The span plane's earliest certified hour; counts before it are not in the store. */
|
|
54252
|
+
coveredFrom?: string | null;
|
|
54288
54253
|
}
|
|
54289
54254
|
interface LogStatsResponse {
|
|
54290
54255
|
success: boolean;
|
package/dist/index.mjs
CHANGED
|
@@ -13934,7 +13934,7 @@ function transformQueryParams(params) {
|
|
|
13934
13934
|
|
|
13935
13935
|
// src/version.ts
|
|
13936
13936
|
var FALLBACK_VERSION = "0.0.0";
|
|
13937
|
-
var SDK_VERSION = "10.2.
|
|
13937
|
+
var SDK_VERSION = "10.2.2".length > 0 ? "10.2.2" : FALLBACK_VERSION;
|
|
13938
13938
|
var RUNTYPE_CLIENT_KIND = "sdk";
|
|
13939
13939
|
var SDK_USER_AGENT = `runtype-sdk/${SDK_VERSION} (typescript)`;
|
|
13940
13940
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@runtypelabs/sdk",
|
|
3
|
-
"version": "10.2.
|
|
3
|
+
"version": "10.2.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "TypeScript SDK for the Runtype API with fluent methods. Use it to quickly realize AI products, agents, and workflows.",
|
|
6
6
|
"main": "dist/index.cjs",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
],
|
|
25
25
|
"dependencies": {},
|
|
26
26
|
"devDependencies": {
|
|
27
|
-
"@runtypelabs/shared": "3.59.
|
|
27
|
+
"@runtypelabs/shared": "3.59.1",
|
|
28
28
|
"openapi-typescript": "^7.13.0",
|
|
29
29
|
"tsup": "^8.0.2",
|
|
30
30
|
"typescript": "^6.0.3",
|