@camstack/types 1.2.326 → 1.2.327
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/addon.d.ts +1 -0
- package/dist/addon.js +3 -1
- package/dist/addon.mjs +2 -2
- package/dist/capabilities/addon-routes.cap.d.ts +2 -2
- package/dist/capabilities/device-manager.cap.d.ts +7 -0
- package/dist/capabilities/index.d.ts +2 -2
- package/dist/capabilities/local-network.cap.d.ts +2 -2
- package/dist/capabilities/login-method.cap.d.ts +3 -0
- package/dist/capabilities/mesh-network.cap.d.ts +3 -3
- package/dist/capabilities/network-access.cap.d.ts +7 -7
- package/dist/capabilities/pipeline-analytics.cap.d.ts +145 -0
- package/dist/capabilities/sso-bridge.cap.d.ts +6 -0
- package/dist/capabilities/system.cap.d.ts +5 -5
- package/dist/capabilities/user-management.cap.d.ts +53 -1
- package/dist/client.js +6 -0
- package/dist/client.mjs +6 -0
- package/dist/device/display-icon-vocabulary.d.ts +7 -0
- package/dist/device/index.d.ts +1 -0
- package/dist/device/zod-secret.d.ts +35 -0
- package/dist/generated/addon-api.d.ts +122 -0
- package/dist/generated/method-access-map.d.ts +1 -1
- package/dist/generated/method-device-selectors.d.ts +1 -1
- package/dist/generated/system-proxy.d.ts +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +237 -12
- package/dist/index.mjs +228 -13
- package/dist/interfaces/config-ui.d.ts +31 -2
- package/dist/{sleep-BNeXenvr.mjs → sleep-B0JG7-_F.mjs} +91 -1
- package/dist/{sleep-DPar9AHl.js → sleep-az1qiFzK.js} +108 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_sleep = require("./sleep-
|
|
2
|
+
const require_sleep = require("./sleep-az1qiFzK.js");
|
|
3
3
|
const require_event_category = require("./event-category-CtBAl88K.js");
|
|
4
4
|
const require_composition = require("./composition-BLWAivB2.js");
|
|
5
5
|
const require_err_msg = require("./err-msg-Dx2Kor0g.js");
|
|
@@ -14084,6 +14084,10 @@ var DeviceInfoSchema = zod.z.object({
|
|
|
14084
14084
|
isCamera: zod.z.boolean(),
|
|
14085
14085
|
/** Current config values — serializable snapshot */
|
|
14086
14086
|
config: zod.z.record(zod.z.string(), zod.z.unknown()),
|
|
14087
|
+
/** Paths inside `config` the device's schema declares secret (D783) —
|
|
14088
|
+
* what the non-admin redaction withholds. Paths, never values. Absent
|
|
14089
|
+
* when the owning runner has not reported them. */
|
|
14090
|
+
secretConfigPaths: zod.z.array(zod.z.string()).optional(),
|
|
14087
14091
|
/** Hardware + identity blob (manufacturer / model / firmware / sn /
|
|
14088
14092
|
* uid / mac / …). Populated by drivers; editable via setMetadata. */
|
|
14089
14093
|
metadata: zod.z.record(zod.z.string(), zod.z.unknown()).nullable().optional(),
|
|
@@ -14304,7 +14308,13 @@ var DeviceRegisterPayloadSchema = zod.z.object({
|
|
|
14304
14308
|
* call (workers re-register on init), so probe-driven updates
|
|
14305
14309
|
* (e.g. PTZ flag flipping after the abilities probe) propagate. */
|
|
14306
14310
|
features: zod.z.array(zod.z.string()).optional(),
|
|
14307
|
-
config: zod.z.record(zod.z.string(), zod.z.unknown())
|
|
14311
|
+
config: zod.z.record(zod.z.string(), zod.z.unknown()),
|
|
14312
|
+
/** Config paths the device's own schema DECLARES secret
|
|
14313
|
+
* (`.meta({ secret: true })` — dotted, `[]` for array items, e.g.
|
|
14314
|
+
* `connection.password`). Re-published on every register; the non-admin
|
|
14315
|
+
* redaction withholds them at any depth (D783). Optional: an older runner
|
|
14316
|
+
* omits it and the keyword backstop applies. */
|
|
14317
|
+
secretConfigPaths: zod.z.array(zod.z.string()).optional()
|
|
14308
14318
|
});
|
|
14309
14319
|
var DeviceRemovePayloadSchema = zod.z.object({ deviceId: zod.z.number() });
|
|
14310
14320
|
var DevicePersistConfigPayloadSchema = zod.z.object({
|
|
@@ -17538,7 +17548,14 @@ var RedirectLoginMethodSchema = zod.z.object({
|
|
|
17538
17548
|
icon: zod.z.string().optional(),
|
|
17539
17549
|
/** Addon-owned HTTP route the button navigates to (GET). */
|
|
17540
17550
|
startUrl: zod.z.string(),
|
|
17541
|
-
stage: LoginStageEnum
|
|
17551
|
+
stage: LoginStageEnum,
|
|
17552
|
+
/**
|
|
17553
|
+
* The provider names an external identity a signed-in user can link to
|
|
17554
|
+
* their own account (D782): `auth.listLinkableProviders` /
|
|
17555
|
+
* `beginExternalLink` offer exactly the redirect methods that set this,
|
|
17556
|
+
* whatever their id. Absent / false — a login button only (magic-link).
|
|
17557
|
+
*/
|
|
17558
|
+
linkable: zod.z.boolean().optional()
|
|
17542
17559
|
});
|
|
17543
17560
|
/**
|
|
17544
17561
|
* A Module-Federation widget the login page mounts for an in-page
|
|
@@ -24768,7 +24785,13 @@ var RetrainFrameSchema = zod.z.object({
|
|
|
24768
24785
|
sizeBytes: zod.z.number().int(),
|
|
24769
24786
|
width: zod.z.number().int(),
|
|
24770
24787
|
height: zod.z.number().int(),
|
|
24771
|
-
copiedAt: zod.z.number()
|
|
24788
|
+
copiedAt: zod.z.number(),
|
|
24789
|
+
/** When the CAMERA captured the frame. Absent on a copy taken before D785. */
|
|
24790
|
+
capturedAt: zod.z.number().optional(),
|
|
24791
|
+
/** The operator's "every subject in this frame is boxed". Detector
|
|
24792
|
+
* evaluation keeps only complete frames: an unboxed subject would count as
|
|
24793
|
+
* a false positive. */
|
|
24794
|
+
complete: zod.z.boolean()
|
|
24772
24795
|
});
|
|
24773
24796
|
/** Why a copy-on-select could not be honoured — named, never a silent skip. */
|
|
24774
24797
|
var RetrainCopyRefusalSchema = zod.z.enum([
|
|
@@ -24789,6 +24812,51 @@ var RetrainFrameListSchema = zod.z.object({
|
|
|
24789
24812
|
/** What the page pre-selects — the native key frame when one survives. */
|
|
24790
24813
|
autoPickMediaId: zod.z.number().int().optional()
|
|
24791
24814
|
});
|
|
24815
|
+
/**
|
|
24816
|
+
* Which frames an annotated export carries. Every field narrows; an empty
|
|
24817
|
+
* filter is every annotated copy. A dataset VERSION is a frozen `frameIds`
|
|
24818
|
+
* list owned by whoever trains (the training orchestrator), so `frameIds` is
|
|
24819
|
+
* the primitive a version export uses; `batchId` re-selects what an earlier
|
|
24820
|
+
* export carried (`exportedInBatch`).
|
|
24821
|
+
*/
|
|
24822
|
+
var RetrainExportFilterSchema = zod.z.object({
|
|
24823
|
+
deviceIds: zod.z.array(zod.z.number()).optional(),
|
|
24824
|
+
frameIds: zod.z.array(zod.z.string()).max(2e4).optional(),
|
|
24825
|
+
batchId: zod.z.string().optional(),
|
|
24826
|
+
/** Only frames the operator marked complete (all subjects boxed). */
|
|
24827
|
+
completeOnly: zod.z.boolean().optional()
|
|
24828
|
+
});
|
|
24829
|
+
/**
|
|
24830
|
+
* `frames`: the full frame copies, boxes in `annotations.json`.
|
|
24831
|
+
* `crops`: additionally one JPEG per subject, cut with the runtime detail-crop
|
|
24832
|
+
* convention — the classifier layout.
|
|
24833
|
+
*/
|
|
24834
|
+
var RetrainExportLayoutSchema = zod.z.enum(["frames", "crops"]);
|
|
24835
|
+
/**
|
|
24836
|
+
* Where `writeRetrainArchive` streams the tar: one HTTP request whose body is
|
|
24837
|
+
* the archive, sent chunk by chunk. Covers a presigned PUT and a provider
|
|
24838
|
+
* addon's data-plane upload route alike. Headers are sent verbatim and never
|
|
24839
|
+
* logged.
|
|
24840
|
+
*/
|
|
24841
|
+
var RetrainArchiveTargetSchema = zod.z.object({
|
|
24842
|
+
kind: zod.z.literal("http"),
|
|
24843
|
+
method: zod.z.enum(["PUT", "POST"]),
|
|
24844
|
+
url: zod.z.string().url(),
|
|
24845
|
+
headers: zod.z.record(zod.z.string(), zod.z.string()).optional()
|
|
24846
|
+
});
|
|
24847
|
+
var RetrainArchiveResultSchema = zod.z.object({
|
|
24848
|
+
batchId: zod.z.string(),
|
|
24849
|
+
frames: zod.z.number().int(),
|
|
24850
|
+
crops: zod.z.number().int(),
|
|
24851
|
+
annotations: zod.z.number().int(),
|
|
24852
|
+
/** Frames planned but not shipped (unreadable copy, path too long). */
|
|
24853
|
+
missing: zod.z.number().int(),
|
|
24854
|
+
bytes: zod.z.number().int(),
|
|
24855
|
+
/** sha256 of the exact bytes sent. */
|
|
24856
|
+
sha256: zod.z.string(),
|
|
24857
|
+
/** The target's HTTP status. */
|
|
24858
|
+
status: zod.z.number().int()
|
|
24859
|
+
});
|
|
24792
24860
|
/** What the operator asked the assist to look for. */
|
|
24793
24861
|
var RetrainAssistSubjectSchema = zod.z.discriminatedUnion("kind", [zod.z.object({
|
|
24794
24862
|
kind: zod.z.literal("package"),
|
|
@@ -26177,11 +26245,41 @@ var pipelineAnalyticsCapability = {
|
|
|
26177
26245
|
* out, so two crops of the same subject can never end up in one feature
|
|
26178
26246
|
* space (D52).
|
|
26179
26247
|
*/
|
|
26180
|
-
getRetrainExportUrl: require_sleep.method(
|
|
26248
|
+
getRetrainExportUrl: require_sleep.method(RetrainExportFilterSchema.extend({ layout: RetrainExportLayoutSchema.optional() }), zod.z.object({ url: zod.z.string() }), {
|
|
26181
26249
|
kind: "query",
|
|
26182
26250
|
auth: "admin"
|
|
26183
26251
|
}),
|
|
26184
26252
|
/**
|
|
26253
|
+
* The operator's "every subject in this frame is boxed" — set and cleared
|
|
26254
|
+
* by hand, never derived: a frame with no box may be a complete hard
|
|
26255
|
+
* negative, and a frame with three boxes may still miss a fourth person.
|
|
26256
|
+
*/
|
|
26257
|
+
setRetrainFrameComplete: require_sleep.method(zod.z.object({
|
|
26258
|
+
deviceId: zod.z.number(),
|
|
26259
|
+
trackId: zod.z.string(),
|
|
26260
|
+
frameId: zod.z.string(),
|
|
26261
|
+
complete: zod.z.boolean()
|
|
26262
|
+
}), RetrainFrameSchema, {
|
|
26263
|
+
kind: "mutation",
|
|
26264
|
+
auth: "admin"
|
|
26265
|
+
}),
|
|
26266
|
+
/**
|
|
26267
|
+
* Stream the annotated archive to a TARGET instead of a browser — the
|
|
26268
|
+
* same tar `getRetrainExportUrl` serves (manifest first, one JPEG in
|
|
26269
|
+
* memory at a time, paced), written chunk by chunk into one HTTP request.
|
|
26270
|
+
* The bytes never cross this cap and never land on the hub's disk; the
|
|
26271
|
+
* answer is what was sent, with its sha256.
|
|
26272
|
+
*/
|
|
26273
|
+
writeRetrainArchive: require_sleep.method(zod.z.object({
|
|
26274
|
+
filter: RetrainExportFilterSchema,
|
|
26275
|
+
layout: RetrainExportLayoutSchema,
|
|
26276
|
+
target: RetrainArchiveTargetSchema
|
|
26277
|
+
}), RetrainArchiveResultSchema, {
|
|
26278
|
+
kind: "mutation",
|
|
26279
|
+
auth: "admin",
|
|
26280
|
+
timeoutMs: 60 * 6e4
|
|
26281
|
+
}),
|
|
26282
|
+
/**
|
|
26185
26283
|
* The media an EVENT owns.
|
|
26186
26284
|
*
|
|
26187
26285
|
* `ownerType` is REQUIRED, and that is the whole correction (D482). An
|
|
@@ -30951,7 +31049,19 @@ var SsoBridgeClaimsSchema = zod.z.object({
|
|
|
30951
31049
|
* editing a descriptor must not retroactively extend or shorten a link the
|
|
30952
31050
|
* operator already consented to.
|
|
30953
31051
|
*/
|
|
30954
|
-
refreshTtl: zod.z.union([zod.z.number().int().positive(), zod.z.literal("never")]).optional()
|
|
31052
|
+
refreshTtl: zod.z.union([zod.z.number().int().positive(), zod.z.literal("never")]).optional(),
|
|
31053
|
+
/**
|
|
31054
|
+
* Opaque handle of a hub-side LINK intent (D782). Set by an OIDC callback
|
|
31055
|
+
* that was started from a signed-in user's "Link" button: the finish then
|
|
31056
|
+
* links this identity to the intent's user instead of signing anyone in.
|
|
31057
|
+
* The handle carries no user id — the hub resolves it, single-use.
|
|
31058
|
+
*/
|
|
31059
|
+
linkIntent: zod.z.string().optional(),
|
|
31060
|
+
/**
|
|
31061
|
+
* Verified `iss` of the id_token behind an OIDC login bridge (D782). A
|
|
31062
|
+
* subject is unique only per issuer, so a link is bound to it.
|
|
31063
|
+
*/
|
|
31064
|
+
issuer: zod.z.string().optional()
|
|
30955
31065
|
});
|
|
30956
31066
|
var ssoBridgeCapability = {
|
|
30957
31067
|
name: "sso-bridge",
|
|
@@ -47165,6 +47275,22 @@ var TotpStatusSchema = zod.z.object({
|
|
|
47165
47275
|
* delegation, structural caller-scope subset check goes inside the
|
|
47166
47276
|
* provider.
|
|
47167
47277
|
*/
|
|
47278
|
+
var ExternalIdentitySchema = zod.z.object({
|
|
47279
|
+
/** Login-method id of the provider instance, e.g. `auth-oidc/authentik`. */
|
|
47280
|
+
provider: zod.z.string(),
|
|
47281
|
+
/** The IdP's stable subject (`sub`) for this account. */
|
|
47282
|
+
subject: zod.z.string(),
|
|
47283
|
+
/** The verified `iss` of the IdP the identity was linked under — `sub` is unique only per issuer. */
|
|
47284
|
+
issuer: zod.z.string(),
|
|
47285
|
+
userId: zod.z.string(),
|
|
47286
|
+
/** What the IdP called the account at link time (username / email) — display only. */
|
|
47287
|
+
label: zod.z.string().optional(),
|
|
47288
|
+
linkedAt: zod.z.number()
|
|
47289
|
+
});
|
|
47290
|
+
var ExternalIdentityKeySchema = zod.z.object({
|
|
47291
|
+
provider: zod.z.string().min(1),
|
|
47292
|
+
subject: zod.z.string().min(1)
|
|
47293
|
+
});
|
|
47168
47294
|
var userManagementCapability = {
|
|
47169
47295
|
name: "user-management",
|
|
47170
47296
|
scope: "system",
|
|
@@ -47307,6 +47433,32 @@ var userManagementCapability = {
|
|
|
47307
47433
|
username: zod.z.string(),
|
|
47308
47434
|
scopes: zod.z.array(TokenScopeSchema)
|
|
47309
47435
|
}).nullable(), { access: "view" }),
|
|
47436
|
+
listExternalIdentities: require_sleep.method(zod.z.object({ userId: zod.z.string() }), zod.z.array(ExternalIdentitySchema), { auth: "admin" }),
|
|
47437
|
+
/** The user an identity is linked to, or `null`. */
|
|
47438
|
+
findUserByExternalIdentity: require_sleep.method(ExternalIdentityKeySchema, zod.z.object({
|
|
47439
|
+
userId: zod.z.string(),
|
|
47440
|
+
issuer: zod.z.string()
|
|
47441
|
+
}).nullable(), { auth: "admin" }),
|
|
47442
|
+
/**
|
|
47443
|
+
* Link `(provider, subject)` to `userId`. Idempotent for the same user;
|
|
47444
|
+
* REFUSES (throws) an identity already linked to another user, and a
|
|
47445
|
+
* user that does not exist.
|
|
47446
|
+
*/
|
|
47447
|
+
linkExternalIdentity: require_sleep.method(ExternalIdentityKeySchema.extend({
|
|
47448
|
+
userId: zod.z.string(),
|
|
47449
|
+
issuer: zod.z.string().min(1),
|
|
47450
|
+
label: zod.z.string().optional()
|
|
47451
|
+
}), zod.z.object({ success: zod.z.literal(true) }), {
|
|
47452
|
+
kind: "mutation",
|
|
47453
|
+
auth: "admin",
|
|
47454
|
+
access: "create"
|
|
47455
|
+
}),
|
|
47456
|
+
/** Remove one link of `userId`. `success: false` when it was not linked to that user. */
|
|
47457
|
+
unlinkExternalIdentity: require_sleep.method(ExternalIdentityKeySchema.extend({ userId: zod.z.string() }), zod.z.object({ success: zod.z.boolean() }), {
|
|
47458
|
+
kind: "mutation",
|
|
47459
|
+
auth: "admin",
|
|
47460
|
+
access: "delete"
|
|
47461
|
+
}),
|
|
47310
47462
|
listOauthSessions: require_sleep.method(zod.z.void(), zod.z.array(OauthSessionSummarySchema), { auth: "admin" }),
|
|
47311
47463
|
revokeOauthSession: require_sleep.method(zod.z.object({ id: zod.z.string() }), zod.z.object({ success: zod.z.boolean() }), {
|
|
47312
47464
|
kind: "mutation",
|
|
@@ -56007,6 +56159,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
56007
56159
|
addonId: null,
|
|
56008
56160
|
access: "create"
|
|
56009
56161
|
},
|
|
56162
|
+
"pipelineAnalytics.setRetrainFrameComplete": {
|
|
56163
|
+
capName: "pipeline-analytics",
|
|
56164
|
+
capScope: "device",
|
|
56165
|
+
addonId: null,
|
|
56166
|
+
access: "create"
|
|
56167
|
+
},
|
|
56010
56168
|
"pipelineAnalytics.setTrackFlags": {
|
|
56011
56169
|
capName: "pipeline-analytics",
|
|
56012
56170
|
capScope: "device",
|
|
@@ -56043,6 +56201,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
56043
56201
|
addonId: null,
|
|
56044
56202
|
access: "delete"
|
|
56045
56203
|
},
|
|
56204
|
+
"pipelineAnalytics.writeRetrainArchive": {
|
|
56205
|
+
capName: "pipeline-analytics",
|
|
56206
|
+
capScope: "device",
|
|
56207
|
+
addonId: null,
|
|
56208
|
+
access: "create"
|
|
56209
|
+
},
|
|
56046
56210
|
"pipelineExecutor.cacheFrameInPool": {
|
|
56047
56211
|
capName: "pipeline-executor",
|
|
56048
56212
|
capScope: "system",
|
|
@@ -58395,18 +58559,36 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
58395
58559
|
addonId: null,
|
|
58396
58560
|
access: "delete"
|
|
58397
58561
|
},
|
|
58562
|
+
"userManagement.findUserByExternalIdentity": {
|
|
58563
|
+
capName: "user-management",
|
|
58564
|
+
capScope: "system",
|
|
58565
|
+
addonId: null,
|
|
58566
|
+
access: "view"
|
|
58567
|
+
},
|
|
58398
58568
|
"userManagement.getTotpStatus": {
|
|
58399
58569
|
capName: "user-management",
|
|
58400
58570
|
capScope: "system",
|
|
58401
58571
|
addonId: null,
|
|
58402
58572
|
access: "view"
|
|
58403
58573
|
},
|
|
58574
|
+
"userManagement.linkExternalIdentity": {
|
|
58575
|
+
capName: "user-management",
|
|
58576
|
+
capScope: "system",
|
|
58577
|
+
addonId: null,
|
|
58578
|
+
access: "create"
|
|
58579
|
+
},
|
|
58404
58580
|
"userManagement.listApiKeys": {
|
|
58405
58581
|
capName: "user-management",
|
|
58406
58582
|
capScope: "system",
|
|
58407
58583
|
addonId: null,
|
|
58408
58584
|
access: "view"
|
|
58409
58585
|
},
|
|
58586
|
+
"userManagement.listExternalIdentities": {
|
|
58587
|
+
capName: "user-management",
|
|
58588
|
+
capScope: "system",
|
|
58589
|
+
addonId: null,
|
|
58590
|
+
access: "view"
|
|
58591
|
+
},
|
|
58410
58592
|
"userManagement.listOauthSessions": {
|
|
58411
58593
|
capName: "user-management",
|
|
58412
58594
|
capScope: "system",
|
|
@@ -58485,6 +58667,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
58485
58667
|
addonId: null,
|
|
58486
58668
|
access: "create"
|
|
58487
58669
|
},
|
|
58670
|
+
"userManagement.unlinkExternalIdentity": {
|
|
58671
|
+
capName: "user-management",
|
|
58672
|
+
capScope: "system",
|
|
58673
|
+
addonId: null,
|
|
58674
|
+
access: "delete"
|
|
58675
|
+
},
|
|
58488
58676
|
"userManagement.updateUser": {
|
|
58489
58677
|
capName: "user-management",
|
|
58490
58678
|
capScope: "system",
|
|
@@ -61350,6 +61538,15 @@ var ENTRY_BY_KEY = new Map(DISPLAY_ICON_VOCABULARY.map((e) => [e.key, e]));
|
|
|
61350
61538
|
function isDisplayIconKey(value) {
|
|
61351
61539
|
return typeof value === "string" && ENTRY_BY_KEY.has(value);
|
|
61352
61540
|
}
|
|
61541
|
+
/**
|
|
61542
|
+
* A stored icon value as a vocabulary key: `value` when it IS one, `fallback`
|
|
61543
|
+
* otherwise. For an `icon` settings field (D780) whose stored value may
|
|
61544
|
+
* predate the vocabulary (a free-text lucide name) — the field's default is
|
|
61545
|
+
* drawn rather than nothing.
|
|
61546
|
+
*/
|
|
61547
|
+
function resolveDisplayIconKey(value, fallback) {
|
|
61548
|
+
return typeof value === "string" && isDisplayIconKey(value) ? value : fallback;
|
|
61549
|
+
}
|
|
61353
61550
|
/** The entry for a key, or `undefined` — never a guessed one. */
|
|
61354
61551
|
function displayIconEntry(key) {
|
|
61355
61552
|
return ENTRY_BY_KEY.get(key);
|
|
@@ -62438,6 +62635,11 @@ function zodToConfigField(key, schema, description) {
|
|
|
62438
62635
|
description,
|
|
62439
62636
|
default: defaultValue
|
|
62440
62637
|
};
|
|
62638
|
+
if (inner instanceof zod.z.ZodString && require_sleep.isZodSecret(schema)) return {
|
|
62639
|
+
...base,
|
|
62640
|
+
type: "password",
|
|
62641
|
+
showToggle: true
|
|
62642
|
+
};
|
|
62441
62643
|
if (inner instanceof zod.z.ZodString) return buildStringField(key, base);
|
|
62442
62644
|
if (inner instanceof zod.z.ZodNumber) return buildNumberField(inner, base);
|
|
62443
62645
|
if (inner instanceof zod.z.ZodBoolean) return {
|
|
@@ -62445,12 +62647,16 @@ function zodToConfigField(key, schema, description) {
|
|
|
62445
62647
|
type: "boolean"
|
|
62446
62648
|
};
|
|
62447
62649
|
if (inner instanceof zod.z.ZodEnum) return buildEnumField(inner, base);
|
|
62448
|
-
if (inner instanceof zod.z.ZodArray || inner instanceof zod.z.ZodObject)
|
|
62449
|
-
|
|
62450
|
-
|
|
62451
|
-
|
|
62452
|
-
|
|
62453
|
-
|
|
62650
|
+
if (inner instanceof zod.z.ZodArray || inner instanceof zod.z.ZodObject) {
|
|
62651
|
+
const holdsSecret = require_sleep.isZodSecret(schema) || require_sleep.collectZodSecretPaths(schema).length > 0;
|
|
62652
|
+
return {
|
|
62653
|
+
...base,
|
|
62654
|
+
type: "textarea",
|
|
62655
|
+
rows: 6,
|
|
62656
|
+
isJson: true,
|
|
62657
|
+
...holdsSecret ? { secret: true } : {}
|
|
62658
|
+
};
|
|
62659
|
+
}
|
|
62454
62660
|
return {
|
|
62455
62661
|
...base,
|
|
62456
62662
|
type: "text"
|
|
@@ -65176,6 +65382,11 @@ var METHOD_DEVICE_SELECTORS = Object.freeze({
|
|
|
65176
65382
|
form: "single",
|
|
65177
65383
|
optional: false
|
|
65178
65384
|
}],
|
|
65385
|
+
"pipelineAnalytics.setRetrainFrameComplete": [{
|
|
65386
|
+
name: "deviceId",
|
|
65387
|
+
form: "single",
|
|
65388
|
+
optional: false
|
|
65389
|
+
}],
|
|
65179
65390
|
"pipelineAnalytics.setTrackFlags": [{
|
|
65180
65391
|
name: "deviceId",
|
|
65181
65392
|
form: "single",
|
|
@@ -67512,6 +67723,10 @@ function createSystemProxy(api) {
|
|
|
67512
67723
|
oauthExchangeCode: (input) => dispatch("userManagement", "oauthExchangeCode", "mutation", input),
|
|
67513
67724
|
oauthRefresh: (input) => dispatch("userManagement", "oauthRefresh", "mutation", input),
|
|
67514
67725
|
oauthVerifyAccessToken: (input) => dispatch("userManagement", "oauthVerifyAccessToken", "query", input),
|
|
67726
|
+
listExternalIdentities: (input) => dispatch("userManagement", "listExternalIdentities", "query", input),
|
|
67727
|
+
findUserByExternalIdentity: (input) => dispatch("userManagement", "findUserByExternalIdentity", "query", input),
|
|
67728
|
+
linkExternalIdentity: (input) => dispatch("userManagement", "linkExternalIdentity", "mutation", input),
|
|
67729
|
+
unlinkExternalIdentity: (input) => dispatch("userManagement", "unlinkExternalIdentity", "mutation", input),
|
|
67515
67730
|
listOauthSessions: (input) => dispatch("userManagement", "listOauthSessions", "query", input),
|
|
67516
67731
|
revokeOauthSession: (input) => dispatch("userManagement", "revokeOauthSession", "mutation", input)
|
|
67517
67732
|
}
|
|
@@ -76051,6 +76266,8 @@ exports.ExtensionSlotValueSchema = ExtensionSlotValueSchema;
|
|
|
76051
76266
|
exports.ExtensionSourceAvailabilitySchema = ExtensionSourceAvailabilitySchema;
|
|
76052
76267
|
exports.ExtensionSourceHealthSchema = ExtensionSourceHealthSchema;
|
|
76053
76268
|
exports.ExtensionSourceSchema = ExtensionSourceSchema;
|
|
76269
|
+
exports.ExternalIdentityKeySchema = ExternalIdentityKeySchema;
|
|
76270
|
+
exports.ExternalIdentitySchema = ExternalIdentitySchema;
|
|
76054
76271
|
exports.FEEDER_EXAMPLE_ADDON_ID = FEEDER_EXAMPLE_ADDON_ID;
|
|
76055
76272
|
exports.FEEDER_EXAMPLE_HA_DEVICE_ID = FEEDER_EXAMPLE_HA_DEVICE_ID;
|
|
76056
76273
|
exports.FFMPEG_PATH_ENV = require_composition.FFMPEG_PATH_ENV;
|
|
@@ -76741,9 +76958,13 @@ exports.RetrainAnnotationDraftSchema = RetrainAnnotationDraftSchema;
|
|
|
76741
76958
|
exports.RetrainAnnotationKindSchema = RetrainAnnotationKindSchema;
|
|
76742
76959
|
exports.RetrainAnnotationSchema = RetrainAnnotationSchema;
|
|
76743
76960
|
exports.RetrainAnnotationSourceSchema = RetrainAnnotationSourceSchema;
|
|
76961
|
+
exports.RetrainArchiveResultSchema = RetrainArchiveResultSchema;
|
|
76962
|
+
exports.RetrainArchiveTargetSchema = RetrainArchiveTargetSchema;
|
|
76744
76963
|
exports.RetrainAssistResultSchema = RetrainAssistResultSchema;
|
|
76745
76964
|
exports.RetrainAssistSubjectSchema = RetrainAssistSubjectSchema;
|
|
76746
76965
|
exports.RetrainCopyRefusalSchema = RetrainCopyRefusalSchema;
|
|
76966
|
+
exports.RetrainExportFilterSchema = RetrainExportFilterSchema;
|
|
76967
|
+
exports.RetrainExportLayoutSchema = RetrainExportLayoutSchema;
|
|
76747
76968
|
exports.RetrainFrameCandidateSchema = RetrainFrameCandidateSchema;
|
|
76748
76969
|
exports.RetrainFrameListSchema = RetrainFrameListSchema;
|
|
76749
76970
|
exports.RetrainFrameSchema = RetrainFrameSchema;
|
|
@@ -76774,6 +76995,7 @@ exports.SCENE_DEFAULT_UNCOVERED_POLICY = SCENE_DEFAULT_UNCOVERED_POLICY;
|
|
|
76774
76995
|
exports.SCENE_DIVERGED = SCENE_DIVERGED;
|
|
76775
76996
|
exports.SCENE_RESET_RECAPTURES = SCENE_RESET_RECAPTURES;
|
|
76776
76997
|
exports.SCOPE_PRESETS = SCOPE_PRESETS;
|
|
76998
|
+
exports.SECRET_META = require_sleep.SECRET_META;
|
|
76777
76999
|
exports.SENSOR_FEATURES = SENSOR_FEATURES;
|
|
76778
77000
|
exports.SENSOR_MAP = SENSOR_MAP;
|
|
76779
77001
|
exports.SESSION_PLACEMENT_SETTING_KEY = SESSION_PLACEMENT_SETTING_KEY;
|
|
@@ -77160,6 +77382,7 @@ exports.collectHydratedFieldEntries = require_sleep.collectHydratedFieldEntries;
|
|
|
77160
77382
|
exports.collectHydratedFieldValues = require_sleep.collectHydratedFieldValues;
|
|
77161
77383
|
exports.collectModelBoundKeys = collectModelBoundKeys;
|
|
77162
77384
|
exports.collectSecretConfigKeys = collectSecretConfigKeys;
|
|
77385
|
+
exports.collectZodSecretPaths = require_sleep.collectZodSecretPaths;
|
|
77163
77386
|
exports.colorCapability = colorCapability;
|
|
77164
77387
|
exports.colorForKind = colorForKind;
|
|
77165
77388
|
exports.commitWatchdogRestart = commitWatchdogRestart;
|
|
@@ -77430,6 +77653,7 @@ exports.isSystemEventSummaryRule = isSystemEventSummaryRule;
|
|
|
77430
77653
|
exports.isSystemRuleKind = isSystemRuleKind;
|
|
77431
77654
|
exports.isVectorIndexDimConflict = isVectorIndexDimConflict;
|
|
77432
77655
|
exports.isVoidInput = isVoidInput;
|
|
77656
|
+
exports.isZodSecret = require_sleep.isZodSecret;
|
|
77433
77657
|
exports.ituDbfsFromPreEpoch = ituDbfsFromPreEpoch;
|
|
77434
77658
|
exports.jobKindSchema = jobKindSchema;
|
|
77435
77659
|
exports.kebabToCamel = kebabToCamel;
|
|
@@ -77611,6 +77835,7 @@ exports.resolveCoreBlockFiles = resolveCoreBlockFiles;
|
|
|
77611
77835
|
exports.resolveCreateExportSubject = resolveCreateExportSubject;
|
|
77612
77836
|
exports.resolveDeviceControlKind = resolveDeviceControlKind;
|
|
77613
77837
|
exports.resolveDeviceProfile = resolveDeviceProfile;
|
|
77838
|
+
exports.resolveDisplayIconKey = resolveDisplayIconKey;
|
|
77614
77839
|
exports.resolveEffectiveShares = resolveEffectiveShares;
|
|
77615
77840
|
exports.resolveEgressDecodeHwAccel = resolveEgressDecodeHwAccel;
|
|
77616
77841
|
exports.resolveExportProfiles = resolveExportProfiles;
|