@fleetless/sdk 5.2.0 → 5.2.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/CHANGELOG.md +6 -0
- package/README.md +3 -1
- package/dist/index.cjs +132 -68
- package/dist/index.d.cts +57 -2
- package/dist/index.d.ts +57 -2
- package/dist/index.js +132 -68
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -449,16 +449,16 @@ function createAssetsApi(http) {
|
|
|
449
449
|
};
|
|
450
450
|
}
|
|
451
451
|
|
|
452
|
-
// node_modules/.pnpm/@fleetless+contracts@18.
|
|
452
|
+
// node_modules/.pnpm/@fleetless+contracts@18.2.0/node_modules/@fleetless/contracts/dist/journal-restore.js
|
|
453
453
|
var import_zod6 = require("zod");
|
|
454
454
|
|
|
455
|
-
// node_modules/.pnpm/@fleetless+contracts@18.
|
|
455
|
+
// node_modules/.pnpm/@fleetless+contracts@18.2.0/node_modules/@fleetless/contracts/dist/journal-intents.js
|
|
456
456
|
var import_zod5 = require("zod");
|
|
457
457
|
|
|
458
|
-
// node_modules/.pnpm/@fleetless+contracts@18.
|
|
458
|
+
// node_modules/.pnpm/@fleetless+contracts@18.2.0/node_modules/@fleetless/contracts/dist/app-users.js
|
|
459
459
|
var import_zod4 = require("zod");
|
|
460
460
|
|
|
461
|
-
// node_modules/.pnpm/@fleetless+contracts@18.
|
|
461
|
+
// node_modules/.pnpm/@fleetless+contracts@18.2.0/node_modules/@fleetless/contracts/dist/identity.js
|
|
462
462
|
var import_zod = require("zod");
|
|
463
463
|
var password = import_zod.z.string().min(12).max(256);
|
|
464
464
|
var USER_DISPLAY_NAME_MAX = 120;
|
|
@@ -681,7 +681,7 @@ var recoveryCodesResponse = import_zod.z.object({
|
|
|
681
681
|
recovery_codes: recoveryCodesList.meta({ description: "The ten new recovery codes, lowercase, shown once. Every earlier code is void." })
|
|
682
682
|
});
|
|
683
683
|
|
|
684
|
-
// node_modules/.pnpm/@fleetless+contracts@18.
|
|
684
|
+
// node_modules/.pnpm/@fleetless+contracts@18.2.0/node_modules/@fleetless/contracts/dist/app-mail-html.js
|
|
685
685
|
var DEFAULT_MAIL_HTML = {
|
|
686
686
|
"invite": `<!doctype html>
|
|
687
687
|
<html lang="en">
|
|
@@ -769,7 +769,7 @@ var DEFAULT_MAIL_HTML = {
|
|
|
769
769
|
`
|
|
770
770
|
};
|
|
771
771
|
|
|
772
|
-
// node_modules/.pnpm/@fleetless+contracts@18.
|
|
772
|
+
// node_modules/.pnpm/@fleetless+contracts@18.2.0/node_modules/@fleetless/contracts/dist/legal.js
|
|
773
773
|
var import_zod2 = require("zod");
|
|
774
774
|
var httpsLegalUrl = import_zod2.z.url().max(2048).regex(/^https:\/\/(?=[A-Za-z0-9.-]{1,253}(?::[0-9]{1,5})?(?:[/?#]|$))[A-Za-z0-9](?:[A-Za-z0-9-]{0,61}[A-Za-z0-9])?(?:\.[A-Za-z0-9](?:[A-Za-z0-9-]{0,61}[A-Za-z0-9])?)*(?::(?:[0-5]?[0-9]{1,4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-5]))?(?:[/?#]|$)/).refine((value) => {
|
|
775
775
|
try {
|
|
@@ -789,7 +789,7 @@ var legalTextReferences = import_zod2.z.object({
|
|
|
789
789
|
dpa: legalDocumentReference.nullable()
|
|
790
790
|
}).strict();
|
|
791
791
|
|
|
792
|
-
// node_modules/.pnpm/@fleetless+contracts@18.
|
|
792
|
+
// node_modules/.pnpm/@fleetless+contracts@18.2.0/node_modules/@fleetless/contracts/dist/rights.js
|
|
793
793
|
var import_zod3 = require("zod");
|
|
794
794
|
var ROLE_KEY_PATTERN = /^(?!defaults$)[a-z][a-z0-9_]{0,62}$/;
|
|
795
795
|
var ROLE_KEY_RULE = "A role key is lower-case: it starts with a letter and continues with letters, digits and underscores, up to 63 characters in all \u2014 `operate`, `night_shift`. A capital, a dash, a dot, a space or a leading digit is refused, and `defaults` is reserved.";
|
|
@@ -827,7 +827,7 @@ var ENTRY_KIND_OF = {
|
|
|
827
827
|
};
|
|
828
828
|
var SECTIONS = Object.keys(ENTRY_KIND_OF);
|
|
829
829
|
|
|
830
|
-
// node_modules/.pnpm/@fleetless+contracts@18.
|
|
830
|
+
// node_modules/.pnpm/@fleetless+contracts@18.2.0/node_modules/@fleetless/contracts/dist/app-users.js
|
|
831
831
|
var APP_USER_DISPLAY_NAME_MAX = 120;
|
|
832
832
|
var providerSlug = import_zod4.z.string().max(40).regex(/^[a-z][a-z0-9]*(?:-[a-z0-9]+)*$/, "must be lowercase and hyphen-separated, starting with a letter");
|
|
833
833
|
var appUserStatus = import_zod4.z.enum(["pending_verification", "active", "blocked"]);
|
|
@@ -1215,7 +1215,7 @@ var mailOutcome = import_zod4.z.object({
|
|
|
1215
1215
|
})
|
|
1216
1216
|
});
|
|
1217
1217
|
|
|
1218
|
-
// node_modules/.pnpm/@fleetless+contracts@18.
|
|
1218
|
+
// node_modules/.pnpm/@fleetless+contracts@18.2.0/node_modules/@fleetless/contracts/dist/journal-intents.js
|
|
1219
1219
|
var hash = import_zod5.z.string().regex(/^[0-9a-f]{64}$/);
|
|
1220
1220
|
var uuid = import_zod5.z.string().regex(/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/);
|
|
1221
1221
|
var opaqueId = import_zod5.z.string().min(1);
|
|
@@ -1313,7 +1313,7 @@ var journalIntentV2 = import_zod5.z.discriminatedUnion("kind", [
|
|
|
1313
1313
|
...branches.slice(1).map((branch) => branch.extend(envelope))
|
|
1314
1314
|
]);
|
|
1315
1315
|
|
|
1316
|
-
// node_modules/.pnpm/@fleetless+contracts@18.
|
|
1316
|
+
// node_modules/.pnpm/@fleetless+contracts@18.2.0/node_modules/@fleetless/contracts/dist/journal-restore.js
|
|
1317
1317
|
var hash2 = import_zod6.z.string().regex(/^[0-9a-f]{64}$/);
|
|
1318
1318
|
var uuid2 = import_zod6.z.string().regex(/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/);
|
|
1319
1319
|
var opaqueId2 = import_zod6.z.string().min(1);
|
|
@@ -1733,7 +1733,7 @@ var journalReplayReceiptBody = import_zod6.z.strictObject(receiptFields).superRe
|
|
|
1733
1733
|
}).describe("JSON Schema consumers must also verify counts, exact erase-proof set, reference bindings, kind/registry surface applicability and pass outcomes, signatures and protected-version readbacks.");
|
|
1734
1734
|
var journalReplayReceipt = journalReplayReceiptBody.safeExtend({ receipt_hash: hash2, signature: signature2 });
|
|
1735
1735
|
|
|
1736
|
-
// node_modules/.pnpm/@fleetless+contracts@18.
|
|
1736
|
+
// node_modules/.pnpm/@fleetless+contracts@18.2.0/node_modules/@fleetless/contracts/dist/journal-manifests.js
|
|
1737
1737
|
var import_zod7 = require("zod");
|
|
1738
1738
|
var uuid3 = import_zod7.z.string().regex(/^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/);
|
|
1739
1739
|
var hash3 = import_zod7.z.string().regex(/^[0-9a-f]{64}$/);
|
|
@@ -2089,7 +2089,7 @@ var journalManifestBinding = import_zod7.z.strictObject({
|
|
|
2089
2089
|
problem("Unexpected batch", ["manifest", "batches"]);
|
|
2090
2090
|
}).describe("JSON Schema consumers must also verify exact intent/scope/batch binding, sorted physical membership, original bytes and protected readbacks.");
|
|
2091
2091
|
|
|
2092
|
-
// node_modules/.pnpm/@fleetless+contracts@18.
|
|
2092
|
+
// node_modules/.pnpm/@fleetless+contracts@18.2.0/node_modules/@fleetless/contracts/dist/journal-seals.js
|
|
2093
2093
|
var import_zod8 = require("zod");
|
|
2094
2094
|
var hash4 = import_zod8.z.string().regex(/^[0-9a-f]{64}$/);
|
|
2095
2095
|
var uuid4 = import_zod8.z.string().regex(/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/);
|
|
@@ -2171,7 +2171,7 @@ var journalFinalSealBody = import_zod8.z.strictObject({
|
|
|
2171
2171
|
}, { path: ["cutoff_utc"], message: "Must equal max(ceil_to_second(T + E_max + W_max), previous C + 1 second)" }).describe("JSON Schema consumers must also verify C = max(ceil_to_second(T + E_max + W_max), previous C + 1 second), original signatures and complete drain/admission evidence.");
|
|
2172
2172
|
var journalFinalSeal = journalFinalSealBody.safeExtend({ seal_hash: hash4, signature: signature3 });
|
|
2173
2173
|
|
|
2174
|
-
// node_modules/.pnpm/@fleetless+contracts@18.
|
|
2174
|
+
// node_modules/.pnpm/@fleetless+contracts@18.2.0/node_modules/@fleetless/contracts/dist/journal-controls.js
|
|
2175
2175
|
var import_zod9 = require("zod");
|
|
2176
2176
|
var hash5 = import_zod9.z.string().regex(/^[0-9a-f]{64}$/);
|
|
2177
2177
|
var zeroHash = import_zod9.z.literal("0".repeat(64));
|
|
@@ -2274,23 +2274,23 @@ var journalRegistryActivationReceipt = import_zod9.z.union([
|
|
|
2274
2274
|
laterActivationBody.extend({ receipt_hash: hash5, signature: signature4 })
|
|
2275
2275
|
]);
|
|
2276
2276
|
|
|
2277
|
-
// node_modules/.pnpm/@fleetless+contracts@18.
|
|
2277
|
+
// node_modules/.pnpm/@fleetless+contracts@18.2.0/node_modules/@fleetless/contracts/dist/legal-offers.js
|
|
2278
2278
|
var import_zod13 = require("zod");
|
|
2279
2279
|
|
|
2280
|
-
// node_modules/.pnpm/@fleetless+contracts@18.
|
|
2280
|
+
// node_modules/.pnpm/@fleetless+contracts@18.2.0/node_modules/@fleetless/contracts/dist/plans.js
|
|
2281
2281
|
var import_zod12 = require("zod");
|
|
2282
2282
|
|
|
2283
|
-
// node_modules/.pnpm/@fleetless+contracts@18.
|
|
2283
|
+
// node_modules/.pnpm/@fleetless+contracts@18.2.0/node_modules/@fleetless/contracts/dist/purchase-operation-key.js
|
|
2284
2284
|
var import_zod10 = require("zod");
|
|
2285
2285
|
var purchaseOperationKey = import_zod10.z.uuid().meta({ description: "Client-generated UUID persisted before the start request. Unique per org and reused only for identical input." });
|
|
2286
2286
|
|
|
2287
|
-
// node_modules/.pnpm/@fleetless+contracts@18.
|
|
2287
|
+
// node_modules/.pnpm/@fleetless+contracts@18.2.0/node_modules/@fleetless/contracts/dist/confirmation-proof.js
|
|
2288
2288
|
var import_zod11 = require("zod");
|
|
2289
2289
|
var confirmationProof = import_zod11.z.string().regex(/^[A-Za-z0-9_-]{43}$/).meta({
|
|
2290
2290
|
description: "Opaque 32-byte Cloud proof, unpadded base64url. Syntax alone is not evidence."
|
|
2291
2291
|
});
|
|
2292
2292
|
|
|
2293
|
-
// node_modules/.pnpm/@fleetless+contracts@18.
|
|
2293
|
+
// node_modules/.pnpm/@fleetless+contracts@18.2.0/node_modules/@fleetless/contracts/dist/plans.js
|
|
2294
2294
|
var planId = import_zod12.z.enum(["basic", "plus", "pro", "enterprise"]);
|
|
2295
2295
|
var PLAN_ORDER = ["basic", "plus", "pro", "enterprise"];
|
|
2296
2296
|
var planLimitKey = import_zod12.z.enum([
|
|
@@ -2599,7 +2599,7 @@ var adminPlanChangeRequest = import_zod12.z.object({
|
|
|
2599
2599
|
})
|
|
2600
2600
|
}).strict();
|
|
2601
2601
|
|
|
2602
|
-
// node_modules/.pnpm/@fleetless+contracts@18.
|
|
2602
|
+
// node_modules/.pnpm/@fleetless+contracts@18.2.0/node_modules/@fleetless/contracts/dist/legal-offers.js
|
|
2603
2603
|
var utc = import_zod13.z.iso.datetime().regex(/Z$/);
|
|
2604
2604
|
var text = import_zod13.z.string().min(1).regex(/\S/);
|
|
2605
2605
|
var cents2 = import_zod13.z.number().int().min(0).max(Number.MAX_SAFE_INTEGER);
|
|
@@ -2735,7 +2735,7 @@ var legalOfferConflictDetails = import_zod13.z.strictObject({
|
|
|
2735
2735
|
rule: import_zod13.z.enum(["withdrawn", "stale", "expired", "reused", "boundary_changed", "deadline_unavailable"])
|
|
2736
2736
|
});
|
|
2737
2737
|
|
|
2738
|
-
// node_modules/.pnpm/@fleetless+contracts@18.
|
|
2738
|
+
// node_modules/.pnpm/@fleetless+contracts@18.2.0/node_modules/@fleetless/contracts/dist/common.js
|
|
2739
2739
|
var import_zod14 = require("zod");
|
|
2740
2740
|
var SLUG_RULE = "A name is lower-case: it starts with a letter, continues with letters and digits, and joins further words with a single underscore \u2014 `battery_voltage`. Capitals, dashes, dots, spaces, a leading digit and a doubled or trailing underscore are all refused.";
|
|
2741
2741
|
var slug = import_zod14.z.string().min(2).max(63).regex(/^[a-z][a-z0-9]*(?:_[a-z0-9]+)*$/, SLUG_RULE);
|
|
@@ -2766,7 +2766,7 @@ var applyError = import_zod14.z.object({
|
|
|
2766
2766
|
details: import_zod14.z.record(import_zod14.z.string(), import_zod14.z.unknown()).optional()
|
|
2767
2767
|
});
|
|
2768
2768
|
|
|
2769
|
-
// node_modules/.pnpm/@fleetless+contracts@18.
|
|
2769
|
+
// node_modules/.pnpm/@fleetless+contracts@18.2.0/node_modules/@fleetless/contracts/dist/mcp.js
|
|
2770
2770
|
var import_zod15 = require("zod");
|
|
2771
2771
|
function mcpAppEndpointPath(appIdentifier2) {
|
|
2772
2772
|
return `/mcp/${appIdentifier2}`;
|
|
@@ -2811,13 +2811,13 @@ var mcpRobotDatasheet = import_zod15.z.object({
|
|
|
2811
2811
|
});
|
|
2812
2812
|
var MCP_ASSET_LINK_TTL_MS = 15 * 60 * 1e3;
|
|
2813
2813
|
|
|
2814
|
-
// node_modules/.pnpm/@fleetless+contracts@18.
|
|
2814
|
+
// node_modules/.pnpm/@fleetless+contracts@18.2.0/node_modules/@fleetless/contracts/dist/protocol.js
|
|
2815
2815
|
var import_zod22 = require("zod");
|
|
2816
2816
|
|
|
2817
|
-
// node_modules/.pnpm/@fleetless+contracts@18.
|
|
2817
|
+
// node_modules/.pnpm/@fleetless+contracts@18.2.0/node_modules/@fleetless/contracts/dist/assets.js
|
|
2818
2818
|
var import_zod17 = require("zod");
|
|
2819
2819
|
|
|
2820
|
-
// node_modules/.pnpm/@fleetless+contracts@18.
|
|
2820
|
+
// node_modules/.pnpm/@fleetless+contracts@18.2.0/node_modules/@fleetless/contracts/dist/file-too-large-details.js
|
|
2821
2821
|
var import_zod16 = require("zod");
|
|
2822
2822
|
var fileTooLargeDetails = import_zod16.z.object({
|
|
2823
2823
|
max_bytes: import_zod16.z.number().int().positive().meta({
|
|
@@ -2828,7 +2828,7 @@ var fileTooLargeDetails = import_zod16.z.object({
|
|
|
2828
2828
|
})
|
|
2829
2829
|
});
|
|
2830
2830
|
|
|
2831
|
-
// node_modules/.pnpm/@fleetless+contracts@18.
|
|
2831
|
+
// node_modules/.pnpm/@fleetless+contracts@18.2.0/node_modules/@fleetless/contracts/dist/assets.js
|
|
2832
2832
|
var assetKind = import_zod17.z.enum(["urdf", "mesh", "texture"]);
|
|
2833
2833
|
var asset = import_zod17.z.object({
|
|
2834
2834
|
id: import_zod17.z.uuid().meta({ description: "The asset's id in the store." }),
|
|
@@ -3168,10 +3168,10 @@ var assetSyncBusyDetails = import_zod17.z.object({
|
|
|
3168
3168
|
started_at_ms: import_zod17.z.number().int().nonnegative()
|
|
3169
3169
|
});
|
|
3170
3170
|
|
|
3171
|
-
// node_modules/.pnpm/@fleetless+contracts@18.
|
|
3171
|
+
// node_modules/.pnpm/@fleetless+contracts@18.2.0/node_modules/@fleetless/contracts/dist/config.js
|
|
3172
3172
|
var import_zod19 = require("zod");
|
|
3173
3173
|
|
|
3174
|
-
// node_modules/.pnpm/@fleetless+contracts@18.
|
|
3174
|
+
// node_modules/.pnpm/@fleetless+contracts@18.2.0/node_modules/@fleetless/contracts/dist/alerts.js
|
|
3175
3175
|
var import_zod18 = require("zod");
|
|
3176
3176
|
var alertRowCondition = import_zod18.z.discriminatedUnion("kind", [
|
|
3177
3177
|
import_zod18.z.strictObject({
|
|
@@ -3241,7 +3241,7 @@ var putDatapointDisplayRequest = import_zod18.z.object({
|
|
|
3241
3241
|
y_max: import_zod18.z.number().finite().nullable()
|
|
3242
3242
|
}).strict();
|
|
3243
3243
|
|
|
3244
|
-
// node_modules/.pnpm/@fleetless+contracts@18.
|
|
3244
|
+
// node_modules/.pnpm/@fleetless+contracts@18.2.0/node_modules/@fleetless/contracts/dist/config.js
|
|
3245
3245
|
var RTSP_URL_RULE = "The URL has to begin with `rtsp://` or `rtsps://` \u2014 `rtsp://cam-1.plant.local/stream1`. No other scheme is accepted: the bridge opens this with a library that would equally honour `file:`.";
|
|
3246
3246
|
var MJPEG_URL_RULE = "The URL has to begin with `http://` or `https://` \u2014 `http://cam-1.plant.local/video.mjpg`. No other scheme is accepted: the bridge opens this with a library that would equally serve `file:`.";
|
|
3247
3247
|
var DEVICE_PATH_RULE = "A capture device is a path under `/dev/`, and the character straight after it is a letter or a digit \u2014 `/dev/video0`, or a stable `/dev/v4l/by-id/...` symlink. Nothing outside `/dev/` is accepted: the string reaches OpenCV, which would as happily open an ordinary file.";
|
|
@@ -4464,7 +4464,7 @@ var configState = import_zod19.z.object({
|
|
|
4464
4464
|
applied_errors: import_zod19.z.array(applyError).nullable()
|
|
4465
4465
|
});
|
|
4466
4466
|
|
|
4467
|
-
// node_modules/.pnpm/@fleetless+contracts@18.
|
|
4467
|
+
// node_modules/.pnpm/@fleetless+contracts@18.2.0/node_modules/@fleetless/contracts/dist/introspection.js
|
|
4468
4468
|
var import_zod20 = require("zod");
|
|
4469
4469
|
var rosGraphEntry = import_zod20.z.object({
|
|
4470
4470
|
name: rosName,
|
|
@@ -4474,7 +4474,22 @@ var rosGraph = import_zod20.z.object({
|
|
|
4474
4474
|
topics: import_zod20.z.array(rosGraphEntry),
|
|
4475
4475
|
services: import_zod20.z.array(rosGraphEntry),
|
|
4476
4476
|
actions: import_zod20.z.array(rosGraphEntry),
|
|
4477
|
-
captured_at_ms: import_zod20.z.number().int().nonnegative()
|
|
4477
|
+
captured_at_ms: import_zod20.z.number().int().nonnegative(),
|
|
4478
|
+
/**
|
|
4479
|
+
* How many entries of each list the bridge left out because the graph did
|
|
4480
|
+
* not fit `BRIDGE_FRAME_MAX_BYTES` (fleetless/fleetless#1222); absent when
|
|
4481
|
+
* the graph is complete. The bridge keeps first every name the applied
|
|
4482
|
+
* configuration references, then fills up in name order, so a validation
|
|
4483
|
+
* against the published config stays exact; a name that is missing may
|
|
4484
|
+
* still exist on the robot.
|
|
4485
|
+
*/
|
|
4486
|
+
omitted: import_zod20.z.object({
|
|
4487
|
+
topics: import_zod20.z.number().int().nonnegative(),
|
|
4488
|
+
services: import_zod20.z.number().int().nonnegative(),
|
|
4489
|
+
actions: import_zod20.z.number().int().nonnegative()
|
|
4490
|
+
}).optional().meta({
|
|
4491
|
+
description: "How many entries of each list the bridge left out because the graph did not fit `BRIDGE_FRAME_MAX_BYTES`; absent when the graph is complete."
|
|
4492
|
+
})
|
|
4478
4493
|
});
|
|
4479
4494
|
var typeField = import_zod20.z.lazy(() => import_zod20.z.object({
|
|
4480
4495
|
name: import_zod20.z.string().min(1).max(128),
|
|
@@ -4503,11 +4518,25 @@ var typeDefinition = import_zod20.z.discriminatedUnion("kind", [
|
|
|
4503
4518
|
})
|
|
4504
4519
|
]);
|
|
4505
4520
|
|
|
4506
|
-
// node_modules/.pnpm/@fleetless+contracts@18.
|
|
4521
|
+
// node_modules/.pnpm/@fleetless+contracts@18.2.0/node_modules/@fleetless/contracts/dist/jobs.js
|
|
4507
4522
|
var import_zod21 = require("zod");
|
|
4508
4523
|
var jobState = import_zod21.z.enum(["running", "unknown", "succeeded", "failed", "cancelled", "lost"]);
|
|
4509
4524
|
var reportedJobState = jobState.exclude(["unknown"]);
|
|
4510
4525
|
var jobOrigin = import_zod21.z.enum(["fleetless", "external"]);
|
|
4526
|
+
var resultOmitted = import_zod21.z.object({
|
|
4527
|
+
reason: import_zod21.z.enum(["too_large"]).meta({
|
|
4528
|
+
description: "Why the result was left out. `too_large`: its frame would have exceeded the robot's frame limit."
|
|
4529
|
+
}),
|
|
4530
|
+
bytes: import_zod21.z.number().int().positive().meta({
|
|
4531
|
+
description: "The size of the result alone, serialised as JSON, in bytes."
|
|
4532
|
+
}),
|
|
4533
|
+
limit_bytes: import_zod21.z.number().int().positive().meta({
|
|
4534
|
+
description: "The frame limit the robot applied, in bytes (`BRIDGE_FRAME_MAX_BYTES`, 1.5 MiB)."
|
|
4535
|
+
})
|
|
4536
|
+
}).meta({
|
|
4537
|
+
description: "The robot had a result and did not send it because it was too large; `result` is `null`. The state is unchanged, and the result cannot be fetched later."
|
|
4538
|
+
});
|
|
4539
|
+
var RESULT_OMITTED_DESCRIPTION = "Present when the robot had a result and did not send it because it was too large; `result` is `null` then. The state is unchanged: a goal that succeeded is still `succeeded`. Absent otherwise.";
|
|
4511
4540
|
var job = import_zod21.z.object({
|
|
4512
4541
|
id: import_zod21.z.uuid().meta({
|
|
4513
4542
|
description: "The job's id, minted by the cloud when the invocation is accepted. Informative \u2014 state is observed by slug; a cancel names this id to stop one specific job rather than whatever is running."
|
|
@@ -4550,6 +4579,7 @@ var job = import_zod21.z.object({
|
|
|
4550
4579
|
result: import_zod21.z.unknown().nullable().meta({
|
|
4551
4580
|
description: "What the call returned once it succeeded, shaped by the ROS action or service itself. `null` until then, and for a job that did not succeed."
|
|
4552
4581
|
}),
|
|
4582
|
+
result_omitted: resultOmitted.optional().meta({ description: RESULT_OMITTED_DESCRIPTION }),
|
|
4553
4583
|
/**
|
|
4554
4584
|
* Present on `failed`; a human message, plus a code where one exists.
|
|
4555
4585
|
*
|
|
@@ -4586,6 +4616,8 @@ var jobEvent = import_zod21.z.object({
|
|
|
4586
4616
|
feedback: import_zod21.z.unknown().nullable(),
|
|
4587
4617
|
/** 0..1 when the action reports progress; null when it does not. */
|
|
4588
4618
|
progress: import_zod21.z.number().min(0).max(1).nullable(),
|
|
4619
|
+
/** The job's own `result_omitted`, repeated so a consumer of the event alone sees it — see `resultOmitted`. */
|
|
4620
|
+
result_omitted: resultOmitted.optional().meta({ description: RESULT_OMITTED_DESCRIPTION }),
|
|
4589
4621
|
timestamp_ms: import_zod21.z.number().int().nonnegative()
|
|
4590
4622
|
});
|
|
4591
4623
|
var busyDetails = import_zod21.z.object({
|
|
@@ -4661,6 +4693,7 @@ var jobRun = import_zod21.z.object({
|
|
|
4661
4693
|
result: import_zod21.z.unknown().nullable().meta({
|
|
4662
4694
|
description: "What the action or service returned once it succeeded, shaped by ROS itself. `null` otherwise."
|
|
4663
4695
|
}),
|
|
4696
|
+
result_omitted: resultOmitted.optional().meta({ description: RESULT_OMITTED_DESCRIPTION }),
|
|
4664
4697
|
error: import_zod21.z.object({
|
|
4665
4698
|
code: import_zod21.z.string().min(1).meta({
|
|
4666
4699
|
description: "A machine-readable code for the failure, such as `job_queue_full`, where one exists for it."
|
|
@@ -4740,7 +4773,7 @@ var jobRunSummary = import_zod21.z.object({
|
|
|
4740
4773
|
since_ms: import_zod21.z.number().int().nonnegative()
|
|
4741
4774
|
});
|
|
4742
4775
|
|
|
4743
|
-
// node_modules/.pnpm/@fleetless+contracts@18.
|
|
4776
|
+
// node_modules/.pnpm/@fleetless+contracts@18.2.0/node_modules/@fleetless/contracts/dist/protocol.js
|
|
4744
4777
|
var DAY_MS = 24 * 60 * 60 * 1e3;
|
|
4745
4778
|
var MAX_PATIENCE_MS = 12e4;
|
|
4746
4779
|
var MIN_PATIENCE_MS = 1e3;
|
|
@@ -4802,6 +4835,17 @@ var datapointFrame = import_zod22.z.object({
|
|
|
4802
4835
|
timestamp_ms: import_zod22.z.number().int().nonnegative(),
|
|
4803
4836
|
backfill: import_zod22.z.boolean().optional().meta({ description: "true when the sample was captured while the bridge was disconnected and is being replayed after the reconnect. The cloud keeps such a sample out of its lag measure; absent means live." })
|
|
4804
4837
|
});
|
|
4838
|
+
var bridgeDatapointDropped = import_zod22.z.object({
|
|
4839
|
+
type: import_zod22.z.literal("datapoint_dropped"),
|
|
4840
|
+
slug,
|
|
4841
|
+
reason: import_zod22.z.enum(["too_large"]),
|
|
4842
|
+
/** The size of the frame that was not sent, in bytes. */
|
|
4843
|
+
bytes: import_zod22.z.number().int().positive(),
|
|
4844
|
+
/** `BRIDGE_FRAME_MAX_BYTES` as the bridge applied it. */
|
|
4845
|
+
limit_bytes: import_zod22.z.number().int().positive(),
|
|
4846
|
+
/** Bridge capture time of the dropped sample, like `datapointFrame.timestamp_ms`. */
|
|
4847
|
+
timestamp_ms: import_zod22.z.number().int().nonnegative()
|
|
4848
|
+
});
|
|
4805
4849
|
var cloudPing = import_zod22.z.object({
|
|
4806
4850
|
type: import_zod22.z.literal("ping"),
|
|
4807
4851
|
ts_ms: import_zod22.z.number().int().nonnegative(),
|
|
@@ -4921,6 +4965,8 @@ var bridgeJobUpdate = import_zod22.z.object({
|
|
|
4921
4965
|
feedback: import_zod22.z.unknown().nullable(),
|
|
4922
4966
|
progress: import_zod22.z.number().min(0).max(1).nullable(),
|
|
4923
4967
|
result: import_zod22.z.unknown().nullable(),
|
|
4968
|
+
/** The robot had a result and did not send it because it was too large; `result` is `null`. See `resultOmitted`. */
|
|
4969
|
+
result_omitted: resultOmitted.optional(),
|
|
4924
4970
|
/** Same shape as `job.error`, `details` included — see `jobs.ts`. */
|
|
4925
4971
|
error: import_zod22.z.object({ code: import_zod22.z.string().min(1), message: import_zod22.z.string().min(1), details: import_zod22.z.unknown().optional() }).nullable(),
|
|
4926
4972
|
timestamp_ms: import_zod22.z.number().int().nonnegative()
|
|
@@ -4942,6 +4988,8 @@ var bridgeJobStatusEntry = import_zod22.z.object({
|
|
|
4942
4988
|
feedback: import_zod22.z.unknown().nullable(),
|
|
4943
4989
|
progress: import_zod22.z.number().min(0).max(1).nullable(),
|
|
4944
4990
|
result: import_zod22.z.unknown().nullable(),
|
|
4991
|
+
/** The robot had a result and did not send it because it was too large; `result` is `null`. See `resultOmitted`. */
|
|
4992
|
+
result_omitted: resultOmitted.optional(),
|
|
4945
4993
|
/** Same shape as `job.error`, `details` included — see `jobs.ts`. */
|
|
4946
4994
|
error: import_zod22.z.object({ code: import_zod22.z.string().min(1), message: import_zod22.z.string().min(1), details: import_zod22.z.unknown().optional() }).nullable()
|
|
4947
4995
|
});
|
|
@@ -5139,11 +5187,11 @@ var bridgeCameraState = import_zod22.z.object({
|
|
|
5139
5187
|
request_id: import_zod22.z.string().min(1).max(64).nullable()
|
|
5140
5188
|
});
|
|
5141
5189
|
|
|
5142
|
-
// node_modules/.pnpm/@fleetless+contracts@18.
|
|
5190
|
+
// node_modules/.pnpm/@fleetless+contracts@18.2.0/node_modules/@fleetless/contracts/dist/config-issues.js
|
|
5143
5191
|
var EXPOSURE_SECTIONS = ["datapoints", "actions", "services", "publishers", "cameras"];
|
|
5144
5192
|
var EXPOSURE_SECTION_NAMES = new Set(EXPOSURE_SECTIONS);
|
|
5145
5193
|
|
|
5146
|
-
// node_modules/.pnpm/@fleetless+contracts@18.
|
|
5194
|
+
// node_modules/.pnpm/@fleetless+contracts@18.2.0/node_modules/@fleetless/contracts/dist/org-roles.js
|
|
5147
5195
|
var import_zod23 = require("zod");
|
|
5148
5196
|
var roleName = import_zod23.z.string().trim().min(1).max(ROLE_NAME_MAX);
|
|
5149
5197
|
var referencePlace = import_zod23.z.object({
|
|
@@ -5282,7 +5330,7 @@ var putRoleDefaultsRequest = import_zod23.z.object({
|
|
|
5282
5330
|
})
|
|
5283
5331
|
}).strict();
|
|
5284
5332
|
|
|
5285
|
-
// node_modules/.pnpm/@fleetless+contracts@18.
|
|
5333
|
+
// node_modules/.pnpm/@fleetless+contracts@18.2.0/node_modules/@fleetless/contracts/dist/rest.js
|
|
5286
5334
|
var import_zod24 = require("zod");
|
|
5287
5335
|
var robot2 = import_zod24.z.object({
|
|
5288
5336
|
id: import_zod24.z.uuid().meta({
|
|
@@ -5518,6 +5566,15 @@ var invokeResponse = import_zod24.z.object({
|
|
|
5518
5566
|
var serviceCallResponse = import_zod24.z.object({
|
|
5519
5567
|
result: import_zod24.z.unknown().meta({
|
|
5520
5568
|
description: "What the service returned, shaped by the ROS service. A service call is awaited to completion, so there is no job to observe afterwards and no id to hold on to."
|
|
5569
|
+
}),
|
|
5570
|
+
/**
|
|
5571
|
+
* The service answered, and its response did not fit the robot's frame
|
|
5572
|
+
* limit (fleetless/fleetless#1222): `result` is `null` and this says why.
|
|
5573
|
+
* Without it, an omitted response would read as a service that returned
|
|
5574
|
+
* nothing.
|
|
5575
|
+
*/
|
|
5576
|
+
result_omitted: resultOmitted.optional().meta({
|
|
5577
|
+
description: "Present when the service answered and the robot did not send the response because it was too large; `result` is `null` then. Absent otherwise."
|
|
5521
5578
|
})
|
|
5522
5579
|
});
|
|
5523
5580
|
var invokeOrServiceResponse = import_zod24.z.union([invokeResponse, serviceCallResponse]);
|
|
@@ -5880,6 +5937,7 @@ var robotDeleteQuery = import_zod24.z.object({
|
|
|
5880
5937
|
description: "Pass `true` to delete a robot that has a live session open; without it that is `409 robot_in_use`. **`true` and nothing else** \u2014 any other value is `400 validation_error`, reported against the field `force` with rule `invalid_value`, so a caller is never left believing they forced a deletion they did not. The deletion is a full cascade, which is why saying it is the whole decision."
|
|
5881
5938
|
})
|
|
5882
5939
|
}).meta({ description: "The one optional parameter of `DELETE /api/robots/:id`, and it is the difference between a refusal and a cascade. It accepts the exact string `true`, or its own absence, and refuses everything else." });
|
|
5940
|
+
var RESOURCE_HEALTH_KINDS = ["camera", "datapoint"];
|
|
5883
5941
|
var RESOURCE_HEALTH_STATES = [
|
|
5884
5942
|
"ok",
|
|
5885
5943
|
/** The host did not answer. Not the same as refusing the password. */
|
|
@@ -5911,6 +5969,12 @@ var RESOURCE_HEALTH_STATES = [
|
|
|
5911
5969
|
"stopped_by_config_change",
|
|
5912
5970
|
/** Publishing failed after the session was already granted. */
|
|
5913
5971
|
"publish_failed",
|
|
5972
|
+
/**
|
|
5973
|
+
* The robot dropped the last value because its frame exceeded
|
|
5974
|
+
* `BRIDGE_FRAME_MAX_BYTES` (a datapoint only, fleetless/fleetless#1222).
|
|
5975
|
+
* `reason` names the size and the limit, built from numbers only.
|
|
5976
|
+
*/
|
|
5977
|
+
"too_large",
|
|
5914
5978
|
/**
|
|
5915
5979
|
* Something is wrong and this platform cannot say what.
|
|
5916
5980
|
*
|
|
@@ -5925,8 +5989,8 @@ var RESOURCE_HEALTH_STATES = [
|
|
|
5925
5989
|
];
|
|
5926
5990
|
var resourceHealthState = import_zod24.z.object({
|
|
5927
5991
|
robot_id: import_zod24.z.uuid(),
|
|
5928
|
-
kind: import_zod24.z.enum(
|
|
5929
|
-
/** The camera
|
|
5992
|
+
kind: import_zod24.z.enum(RESOURCE_HEALTH_KINDS),
|
|
5993
|
+
/** The camera or datapoint slug. */
|
|
5930
5994
|
ref: import_zod24.z.string().min(1).max(64),
|
|
5931
5995
|
/**
|
|
5932
5996
|
* **Which of two questions this entry answers.**
|
|
@@ -6090,19 +6154,19 @@ var slugUsageResponse = import_zod24.z.object({
|
|
|
6090
6154
|
alert_count: import_zod24.z.number().int().nonnegative()
|
|
6091
6155
|
});
|
|
6092
6156
|
|
|
6093
|
-
// node_modules/.pnpm/@fleetless+contracts@18.
|
|
6157
|
+
// node_modules/.pnpm/@fleetless+contracts@18.2.0/node_modules/@fleetless/contracts/dist/realtime.js
|
|
6094
6158
|
var import_zod30 = require("zod");
|
|
6095
6159
|
|
|
6096
|
-
// node_modules/.pnpm/@fleetless+contracts@18.
|
|
6160
|
+
// node_modules/.pnpm/@fleetless+contracts@18.2.0/node_modules/@fleetless/contracts/dist/client-auth.js
|
|
6097
6161
|
var import_zod28 = require("zod");
|
|
6098
6162
|
|
|
6099
|
-
// node_modules/.pnpm/@fleetless+contracts@18.
|
|
6163
|
+
// node_modules/.pnpm/@fleetless+contracts@18.2.0/node_modules/@fleetless/contracts/dist/apps.js
|
|
6100
6164
|
var import_zod27 = require("zod");
|
|
6101
6165
|
|
|
6102
|
-
// node_modules/.pnpm/@fleetless+contracts@18.
|
|
6166
|
+
// node_modules/.pnpm/@fleetless+contracts@18.2.0/node_modules/@fleetless/contracts/dist/collections-rights.js
|
|
6103
6167
|
var import_zod26 = require("zod");
|
|
6104
6168
|
|
|
6105
|
-
// node_modules/.pnpm/@fleetless+contracts@18.
|
|
6169
|
+
// node_modules/.pnpm/@fleetless+contracts@18.2.0/node_modules/@fleetless/contracts/dist/collections.js
|
|
6106
6170
|
var import_zod25 = require("zod");
|
|
6107
6171
|
var COLLECTIONS_FORMAT_VERSION = 1;
|
|
6108
6172
|
var COLLECTION_LIMITS = {
|
|
@@ -6280,7 +6344,7 @@ var collectionsDocument = import_zod25.z.object({
|
|
|
6280
6344
|
collections: import_zod25.z.codec(collectionsMap.nullable(), collectionsMap, { decode: (value) => value ?? {}, encode: (value) => value }).meta({ description: `The collections of the app by key, at most ${COLLECTION_LIMITS.collections}. Nothing under \`collections:\` (null) means none.` })
|
|
6281
6345
|
}).strict().meta({ description: "The data model of an app: its collections, their fields, and who may use them." });
|
|
6282
6346
|
|
|
6283
|
-
// node_modules/.pnpm/@fleetless+contracts@18.
|
|
6347
|
+
// node_modules/.pnpm/@fleetless+contracts@18.2.0/node_modules/@fleetless/contracts/dist/collections-rights.js
|
|
6284
6348
|
var records = import_zod26.z.union([import_zod26.z.literal("all"), import_zod26.z.literal("own"), import_zod26.z.literal(false)]);
|
|
6285
6349
|
var roleCollectionRights = import_zod26.z.object({
|
|
6286
6350
|
collection: collectionKey.meta({ description: "The collection's key." }),
|
|
@@ -6299,7 +6363,7 @@ var roleCollectionRights = import_zod26.z.object({
|
|
|
6299
6363
|
})
|
|
6300
6364
|
}).meta({ description: "What one role may do with the records of one collection." });
|
|
6301
6365
|
|
|
6302
|
-
// node_modules/.pnpm/@fleetless+contracts@18.
|
|
6366
|
+
// node_modules/.pnpm/@fleetless+contracts@18.2.0/node_modules/@fleetless/contracts/dist/apps.js
|
|
6303
6367
|
var appIdentifier = slug;
|
|
6304
6368
|
var app2 = import_zod27.z.object({
|
|
6305
6369
|
id: import_zod27.z.uuid().meta({
|
|
@@ -6538,7 +6602,7 @@ var effectiveRightsResponse = import_zod27.z.object({
|
|
|
6538
6602
|
})
|
|
6539
6603
|
});
|
|
6540
6604
|
|
|
6541
|
-
// node_modules/.pnpm/@fleetless+contracts@18.
|
|
6605
|
+
// node_modules/.pnpm/@fleetless+contracts@18.2.0/node_modules/@fleetless/contracts/dist/client-auth.js
|
|
6542
6606
|
var clientLoginRequest = import_zod28.z.object({
|
|
6543
6607
|
app_identifier: appIdentifier.meta({
|
|
6544
6608
|
description: "The app being logged in to: its globally unique, lowercase, underscore-separated identifier, chosen by the developer at creation. There is no organisation context at login, so this is what decides which app the credentials are checked for."
|
|
@@ -6801,7 +6865,7 @@ var clientIdentity = import_zod28.z.object({
|
|
|
6801
6865
|
})
|
|
6802
6866
|
});
|
|
6803
6867
|
|
|
6804
|
-
// node_modules/.pnpm/@fleetless+contracts@18.
|
|
6868
|
+
// node_modules/.pnpm/@fleetless+contracts@18.2.0/node_modules/@fleetless/contracts/dist/collections-records.js
|
|
6805
6869
|
var import_zod29 = require("zod");
|
|
6806
6870
|
var timestamp = import_zod29.z.iso.datetime();
|
|
6807
6871
|
var count3 = import_zod29.z.number().int().min(0);
|
|
@@ -6948,7 +7012,7 @@ var collectionDefinitionsResponse = import_zod29.z.object({
|
|
|
6948
7012
|
}))
|
|
6949
7013
|
}).meta({ description: "The collections the caller may read, with their field definitions and the caller's rights." });
|
|
6950
7014
|
|
|
6951
|
-
// node_modules/.pnpm/@fleetless+contracts@18.
|
|
7015
|
+
// node_modules/.pnpm/@fleetless+contracts@18.2.0/node_modules/@fleetless/contracts/dist/realtime.js
|
|
6952
7016
|
var clientAuth = import_zod30.z.object({
|
|
6953
7017
|
type: import_zod30.z.literal("auth"),
|
|
6954
7018
|
token: import_zod30.z.string().min(1)
|
|
@@ -7157,7 +7221,7 @@ var liveSessionEvent = import_zod30.z.object({
|
|
|
7157
7221
|
var resourceHealthCleared = import_zod30.z.object({
|
|
7158
7222
|
type: import_zod30.z.literal("resource_health_cleared"),
|
|
7159
7223
|
robot_id: import_zod30.z.uuid(),
|
|
7160
|
-
kind: import_zod30.z.enum(
|
|
7224
|
+
kind: import_zod30.z.enum(RESOURCE_HEALTH_KINDS),
|
|
7161
7225
|
ref: import_zod30.z.string().min(1).max(64),
|
|
7162
7226
|
facet: import_zod30.z.enum(["source", "publish"]),
|
|
7163
7227
|
cleared_at_ms: import_zod30.z.number().int().nonnegative()
|
|
@@ -7165,7 +7229,7 @@ var resourceHealthCleared = import_zod30.z.object({
|
|
|
7165
7229
|
var resourceHealthEvent = import_zod30.z.object({
|
|
7166
7230
|
type: import_zod30.z.literal("resource_health"),
|
|
7167
7231
|
robot_id: import_zod30.z.uuid(),
|
|
7168
|
-
kind: import_zod30.z.enum(
|
|
7232
|
+
kind: import_zod30.z.enum(RESOURCE_HEALTH_KINDS),
|
|
7169
7233
|
ref: import_zod30.z.string().min(1).max(64),
|
|
7170
7234
|
/** Which of the two questions this entry answers — see `resourceHealthState.facet`. */
|
|
7171
7235
|
facet: import_zod30.z.enum(["source", "publish"]),
|
|
@@ -7278,7 +7342,7 @@ var collectionsSchemaPublished = import_zod30.z.object({
|
|
|
7278
7342
|
version: import_zod30.z.number().int().min(1).meta({ description: "The version that is in force now." })
|
|
7279
7343
|
}).strict().meta({ description: "A new schema version is in force for the app." });
|
|
7280
7344
|
|
|
7281
|
-
// node_modules/.pnpm/@fleetless+contracts@18.
|
|
7345
|
+
// node_modules/.pnpm/@fleetless+contracts@18.2.0/node_modules/@fleetless/contracts/dist/feedback.js
|
|
7282
7346
|
var import_zod31 = require("zod");
|
|
7283
7347
|
var FEEDBACK_KINDS = ["idea", "problem", "question", "other"];
|
|
7284
7348
|
var feedbackKind = import_zod31.z.enum(FEEDBACK_KINDS);
|
|
@@ -7303,7 +7367,7 @@ var feedbackResponse = import_zod31.z.object({
|
|
|
7303
7367
|
})
|
|
7304
7368
|
}).strict();
|
|
7305
7369
|
|
|
7306
|
-
// node_modules/.pnpm/@fleetless+contracts@18.
|
|
7370
|
+
// node_modules/.pnpm/@fleetless+contracts@18.2.0/node_modules/@fleetless/contracts/dist/support.js
|
|
7307
7371
|
var import_zod32 = require("zod");
|
|
7308
7372
|
var supportSessionInfo = import_zod32.z.object({
|
|
7309
7373
|
session_id: import_zod32.z.uuid().meta({
|
|
@@ -7359,7 +7423,7 @@ var supportRenewFailRefusal = import_zod32.z.union([
|
|
|
7359
7423
|
]);
|
|
7360
7424
|
var authMeSupportResponse = authMeResponse.extend({ support: supportSessionInfo.optional() });
|
|
7361
7425
|
|
|
7362
|
-
// node_modules/.pnpm/@fleetless+contracts@18.
|
|
7426
|
+
// node_modules/.pnpm/@fleetless+contracts@18.2.0/node_modules/@fleetless/contracts/dist/client-robots.js
|
|
7363
7427
|
var import_zod33 = require("zod");
|
|
7364
7428
|
var clientRobotListItem = import_zod33.z.object({
|
|
7365
7429
|
...robot2.shape,
|
|
@@ -7376,7 +7440,7 @@ var clientRobotListResponse = import_zod33.z.object({
|
|
|
7376
7440
|
})
|
|
7377
7441
|
});
|
|
7378
7442
|
|
|
7379
|
-
// node_modules/.pnpm/@fleetless+contracts@18.
|
|
7443
|
+
// node_modules/.pnpm/@fleetless+contracts@18.2.0/node_modules/@fleetless/contracts/dist/legal-acceptances.js
|
|
7380
7444
|
var import_zod34 = require("zod");
|
|
7381
7445
|
var legalAcceptanceCursor = import_zod34.z.string().min(1).max(512).regex(/^[A-Za-z0-9_-]+$/);
|
|
7382
7446
|
var legalAcceptanceListQuery = import_zod34.z.object({
|
|
@@ -7403,7 +7467,7 @@ var legalAcceptanceListResponse = import_zod34.z.object({
|
|
|
7403
7467
|
next_cursor: legalAcceptanceCursor.nullable()
|
|
7404
7468
|
}).strict();
|
|
7405
7469
|
|
|
7406
|
-
// node_modules/.pnpm/@fleetless+contracts@18.
|
|
7470
|
+
// node_modules/.pnpm/@fleetless+contracts@18.2.0/node_modules/@fleetless/contracts/dist/audit.js
|
|
7407
7471
|
var import_zod35 = require("zod");
|
|
7408
7472
|
var auditActor = import_zod35.z.object({
|
|
7409
7473
|
kind: import_zod35.z.enum(["developer", "end_user", "app_user", "server_key", "bridge", "fleetless"]),
|
|
@@ -7545,7 +7609,7 @@ var auditListResponse = import_zod35.z.object({
|
|
|
7545
7609
|
next_cursor: import_zod35.z.number().int().positive().nullable()
|
|
7546
7610
|
});
|
|
7547
7611
|
|
|
7548
|
-
// node_modules/.pnpm/@fleetless+contracts@18.
|
|
7612
|
+
// node_modules/.pnpm/@fleetless+contracts@18.2.0/node_modules/@fleetless/contracts/dist/errors.js
|
|
7549
7613
|
var import_zod36 = require("zod");
|
|
7550
7614
|
var apiError = import_zod36.z.object({
|
|
7551
7615
|
code: import_zod36.z.string().min(1),
|
|
@@ -7642,7 +7706,7 @@ var roleCycleDetails = import_zod36.z.object({
|
|
|
7642
7706
|
})
|
|
7643
7707
|
});
|
|
7644
7708
|
|
|
7645
|
-
// node_modules/.pnpm/@fleetless+contracts@18.
|
|
7709
|
+
// node_modules/.pnpm/@fleetless+contracts@18.2.0/node_modules/@fleetless/contracts/dist/oauth.js
|
|
7646
7710
|
var import_zod37 = require("zod");
|
|
7647
7711
|
var oauthErrorCode = import_zod37.z.enum([
|
|
7648
7712
|
"invalid_request",
|
|
@@ -7885,13 +7949,13 @@ var oauthAuthorizeQuery = import_zod37.z.object({
|
|
|
7885
7949
|
description: "The authorization request an MCP client sends, per RFC 6749 \xA74.1.1 with mandatory PKCE. The handler reads it parameter by parameter rather than through one parse, because the answers differ: `client_id` and `redirect_uri` are refused flat, with no redirect, since until both are confirmed there is no trusted target to bounce a browser to, and everything after them is reported to the client's own callback as query parameters."
|
|
7886
7950
|
});
|
|
7887
7951
|
|
|
7888
|
-
// node_modules/.pnpm/@fleetless+contracts@18.
|
|
7952
|
+
// node_modules/.pnpm/@fleetless+contracts@18.2.0/node_modules/@fleetless/contracts/dist/collections-schema.js
|
|
7889
7953
|
var import_zod40 = require("zod");
|
|
7890
7954
|
|
|
7891
|
-
// node_modules/.pnpm/@fleetless+contracts@18.
|
|
7955
|
+
// node_modules/.pnpm/@fleetless+contracts@18.2.0/node_modules/@fleetless/contracts/dist/collections-issues.js
|
|
7892
7956
|
var import_zod39 = require("zod");
|
|
7893
7957
|
|
|
7894
|
-
// node_modules/.pnpm/@fleetless+contracts@18.
|
|
7958
|
+
// node_modules/.pnpm/@fleetless+contracts@18.2.0/node_modules/@fleetless/contracts/dist/collections-templates.js
|
|
7895
7959
|
var import_zod38 = require("zod");
|
|
7896
7960
|
var collectionJsonTemplateName = import_zod38.z.enum(["pose2d", "point2d", "polygon2d", "range1d"]).meta({ description: "The name of a built-in JSON template: `pose2d`, `point2d`, `polygon2d` or `range1d`." });
|
|
7897
7961
|
function deepFreeze(value) {
|
|
@@ -7949,10 +8013,10 @@ var COLLECTION_JSON_TEMPLATES = deepFreeze({
|
|
|
7949
8013
|
}
|
|
7950
8014
|
});
|
|
7951
8015
|
|
|
7952
|
-
// node_modules/.pnpm/@fleetless+contracts@18.
|
|
8016
|
+
// node_modules/.pnpm/@fleetless+contracts@18.2.0/node_modules/@fleetless/contracts/dist/collections-values.js
|
|
7953
8017
|
var TOO_DEEP_JSON = `The value nests arrays and objects more than ${COLLECTION_LIMITS.jsonDepth} levels deep.`;
|
|
7954
8018
|
|
|
7955
|
-
// node_modules/.pnpm/@fleetless+contracts@18.
|
|
8019
|
+
// node_modules/.pnpm/@fleetless+contracts@18.2.0/node_modules/@fleetless/contracts/dist/collections-issues.js
|
|
7956
8020
|
var collectionsIssue = import_zod39.z.object({
|
|
7957
8021
|
path: import_zod39.z.string().min(1).meta({ description: "Where in the document, with dots between the keys: `collections.chargers.fields.location.to`." }),
|
|
7958
8022
|
code: import_zod39.z.string().meta({ description: "A stable name for the kind of finding, for code to branch on." }),
|
|
@@ -7962,7 +8026,7 @@ var collectionsIssue = import_zod39.z.object({
|
|
|
7962
8026
|
})
|
|
7963
8027
|
}).meta({ description: "One finding about a collections document." });
|
|
7964
8028
|
|
|
7965
|
-
// node_modules/.pnpm/@fleetless+contracts@18.
|
|
8029
|
+
// node_modules/.pnpm/@fleetless+contracts@18.2.0/node_modules/@fleetless/contracts/dist/collections-schema.js
|
|
7966
8030
|
var timestamp2 = import_zod40.z.iso.datetime();
|
|
7967
8031
|
var count4 = import_zod40.z.number().int().min(0);
|
|
7968
8032
|
var schemaVersion2 = import_zod40.z.number().int().min(1);
|
|
@@ -8205,7 +8269,7 @@ var collectionsPurgeResponse = import_zod40.z.object({
|
|
|
8205
8269
|
purged_at: timestamp2
|
|
8206
8270
|
}).meta({ description: "What a purge removed." });
|
|
8207
8271
|
|
|
8208
|
-
// node_modules/.pnpm/@fleetless+contracts@18.
|
|
8272
|
+
// node_modules/.pnpm/@fleetless+contracts@18.2.0/node_modules/@fleetless/contracts/dist/collections-transfer.js
|
|
8209
8273
|
var import_zod41 = require("zod");
|
|
8210
8274
|
var IMPORT_ERRORS_LISTED = 1e3;
|
|
8211
8275
|
var count5 = import_zod41.z.number().int().min(0);
|
|
@@ -8301,7 +8365,7 @@ var collectionExportQuery = import_zod41.z.object({
|
|
|
8301
8365
|
}).optional()
|
|
8302
8366
|
}).strict();
|
|
8303
8367
|
|
|
8304
|
-
// node_modules/.pnpm/@fleetless+contracts@18.
|
|
8368
|
+
// node_modules/.pnpm/@fleetless+contracts@18.2.0/node_modules/@fleetless/contracts/dist/controller-register.js
|
|
8305
8369
|
var import_zod42 = require("zod");
|
|
8306
8370
|
var text2 = (max) => import_zod42.z.string().regex(/^\P{Cc}*$/u).trim().min(1).max(max);
|
|
8307
8371
|
var email = import_zod42.z.string().regex(/^\P{Cc}*$/u).trim().email().max(320);
|
|
@@ -8341,10 +8405,10 @@ var controllerRegisterOrgResponse = import_zod42.z.object({
|
|
|
8341
8405
|
details: controllerRegisterOrgRecord.nullable()
|
|
8342
8406
|
}).strict();
|
|
8343
8407
|
|
|
8344
|
-
// node_modules/.pnpm/@fleetless+contracts@18.
|
|
8408
|
+
// node_modules/.pnpm/@fleetless+contracts@18.2.0/node_modules/@fleetless/contracts/dist/billing.js
|
|
8345
8409
|
var import_zod43 = require("zod");
|
|
8346
8410
|
|
|
8347
|
-
// node_modules/.pnpm/@fleetless+contracts@18.
|
|
8411
|
+
// node_modules/.pnpm/@fleetless+contracts@18.2.0/node_modules/@fleetless/contracts/dist/iana-time-zones.js
|
|
8348
8412
|
var ianaTimeZones = [
|
|
8349
8413
|
"UTC",
|
|
8350
8414
|
"Etc/UTC",
|
|
@@ -8769,7 +8833,7 @@ var ianaTimeZones = [
|
|
|
8769
8833
|
"Pacific/Wallis"
|
|
8770
8834
|
];
|
|
8771
8835
|
|
|
8772
|
-
// node_modules/.pnpm/@fleetless+contracts@18.
|
|
8836
|
+
// node_modules/.pnpm/@fleetless+contracts@18.2.0/node_modules/@fleetless/contracts/dist/billing.js
|
|
8773
8837
|
var countryCode = import_zod43.z.string().regex(/^[A-Z]{2}$/);
|
|
8774
8838
|
var EU_COUNTRIES = [
|
|
8775
8839
|
"AT",
|
|
@@ -9645,7 +9709,7 @@ var purchaseIntentResponse = import_zod43.z.union([
|
|
|
9645
9709
|
acceptedNoPaymentChange
|
|
9646
9710
|
]);
|
|
9647
9711
|
|
|
9648
|
-
// node_modules/.pnpm/@fleetless+contracts@18.
|
|
9712
|
+
// node_modules/.pnpm/@fleetless+contracts@18.2.0/node_modules/@fleetless/contracts/dist/routes.js
|
|
9649
9713
|
var MCP_APP = MCP_APP_PATHS(":appIdentifier");
|
|
9650
9714
|
var APP_IDENTIFIER = {
|
|
9651
9715
|
name: "appIdentifier",
|