@camstack/types 1.2.530 → 1.2.532

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 CHANGED
@@ -7,6 +7,20 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [1.2.532] - 2026-11-09
11
+
12
+ ### Changed
13
+
14
+ - A calendar names the integration-instances record that owns it (calendar-source CalendarInfo.instanceId, passed through the calendars listing)
15
+ - Remote: an infrared source may leave its emitter out (the remote's default one is used), the power mode setting is gone, and the colour keys have one set of roles
16
+
17
+ ## [1.2.531] - 2026-11-08
18
+
19
+ ### Changed
20
+
21
+ - The integrations.create method is gone: every instance is created through integrationInstances.createInstance, and an addon seeds its own fixed integration with its seed field
22
+ - Removed the LegacyStorageLocationDefault schema (the retired isDefault key is migrated in the ledger)
23
+
10
24
  ## [1.2.530] - 2026-11-08
11
25
 
12
26
  ### Changed
package/dist/addon.js CHANGED
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_sleep = require("./sleep-CqsZMKxq.js");
2
+ const require_sleep = require("./sleep-ComzlWyT.js");
3
3
  const require_event_category = require("./event-category-BC4RRerT.js");
4
4
  const require_device_type = require("./device-type-BaYa0UGS.js");
5
5
  //#region src/generated/cap-input-defaults.ts
package/dist/addon.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { $ as PipelineRunResultBridge, $r as RECORD_MAX_DATA_BYTES, A as isCommand, Ai as RevConflictError, An as PEER_BYTES_STALL_MS, B as withoutCallerStamp, Bn as RecordFieldPathSchema, Br as mapSecretLeaves, C as addonSliceHandleApi, Ci as PlaintextSecretError, Cn as forgetKnownSecret, Di as RecordTooLargeError, Dn as shortSecretRefHash, Dr as resolveDeviceSettings, Ei as RecordSecretUnavailableError, En as scrubKnownSecrets, Er as nodeIdOfScopedKey, F as CAP_ADVANCE_FIELDS, Fi as recordsErrorFromMessage, Gi as createEvent, Gn as StoredRecordKindDeclarationSchema, Gr as secretArrayPrefixes, H as defineCustomActions, Hn as RecordKindDeclarationSchema, Hr as recordArrayItemPath, I as CAP_METHOD_TIMEOUTS_MS, In as DisposerChain, J as nodePin, Jn as defineRecordKinds, Jr as RECORD_CLASSES, Ki as emitReadiness, Kn as assertValidDeclaration, Kr as RECORD_BATCH_MAX, Ln as defineEntryKind, Lr as secretViewsOf, Mi as UnindexedFilterError, N as HF_REPO, Ni as UnknownRecordKindError, Nn as CALLER_USERNAME_HEADER, Oi as RecordUniqueViolationError, On as PEER_BYTES_CHUNK_BYTES, Or as resolvedValues, Ot as createDebugEmitter, Pi as asRecordsError, Pn as DATAPLANE_SECRET_HEADER, Q as viewerUiCapability, Qr as RECORD_ID_MAX_LENGTH, R as CAP_STATE_LEAVES, Rn as entryBody, Rr as REMOVE_LEAF, Si as NoCallerError, Sn as clearKnownSecrets, Ti as RecordNotFoundError, Tn as registerKnownSecret, Tr as SCOPED_SETTINGS_SCOPES, U as describeCustomActions, Un as RecordKindNameSchema, Ur as recordSecretCollection, V as customAction, Vn as RecordIndexSchema, Vr as parseSecretPath, Wn as RecordRetentionSchema, Wr as recordSecretRef, X as readNodePin, Xn as collectZodSecretPaths, Xr as RECORD_DEFAULT_MAX_DATA_BYTES, Y as readCommandOrigin, Yr as RECORD_DATABASES, Zn as isZodSecret, Zr as RECORD_DELETE_BATCH, _ as readErrorI18n, _a as AddonMigrationsBlockedError, _i as BatchTooLargeError, _n as assertTransactScope, _t as ReadinessTimeoutError, aa as isSecretFieldView, ai as RECORD_SWEEP_INTERVAL_MS, ar as expandCapMethods, at as adminUiCapability, b as isDeviceScopedCap, bi as ForeignSecretMarkerError, bn as createSecretsAccess, bt as scopeKey, c as asString, ca as makeSecretMarker, ci as buildSecretRef, d as parseJsonUnknown, di as isSecretRef, ei as RECORD_MAX_INDEXES, et as PipelineStepInputSchema, f as hfModelUrl, fi as normalizeSecretOwner, fr as BaseAddon, g as ErrorI18nPayloadSchema, gn as createRecordsAccess, gt as ReadinessRegistry, hn as makeInMemoryRecords, hr as normalizeAddonInitResult, ht as MODEL_FORMATS, ia as isSecretClear, ii as RECORD_SETTINGS_MAX_ROWS, it as DEVICE_CHILDREN_BATCH_MAX, ji as TransactRefusedError, jn as PEER_BYTES_TICKET_TTL_MS, ki as RecordsError, kn as PEER_BYTES_MAX_OUTSTANDING, la as toSecretFieldView, li as formatSecretScope, mn as CommandOriginClaimSchema, na as SECRET_CLEAR, ni as RECORD_QUERY_MAX, o as asJsonObject, oa as isSecretMarker, oi as SECRET_REF_SCHEME, p as BOOT_RECOVERY_BACKOFF_MS, pi as parseSecretRef, q as commandOrigin, qn as declarationsOf, qr as RECORD_BATCH_MAX_BYTES, r as maskUrlCredentials, ra as classifySecretWrite, ri as RECORD_SECRET_COLLECTION_PREFIX, rt as deviceOpsCapability, sa as isSecretMarkerLike, si as arrayItemFieldPath, st as addonPagesSourceCapability, t as sleep, ti as RECORD_MAX_INDEX_FIELDS, tt as MIGRATION_API_VERSION, ui as globalSecretScope, va as findMigrationsBlocked, vi as DeclarationRefusedError, vn as resolveSecretViewsIn, w as createEventBusSliceSource, wi as RECORDS_ERROR_CODES, wn as knownSecretCount, x as createDeviceProxy, xi as InvalidRecordError, xn as MIN_SCRUBBED_LENGTH, y as DEVICE_SCOPED_CAPS, yi as FilterRequiredError, yn as REVALIDATE_AFTER_MS, z as CALLER_STAMPED_CAPABILITIES, zn as EntryDescriptorSchema, zr as collectSecretLeaves } from "./sleep-CfYvHNFz.mjs";
1
+ import { $ as PipelineRunResultBridge, $r as RECORD_MAX_DATA_BYTES, A as isCommand, Ai as RevConflictError, An as PEER_BYTES_STALL_MS, B as withoutCallerStamp, Bn as RecordFieldPathSchema, Br as mapSecretLeaves, C as addonSliceHandleApi, Ci as PlaintextSecretError, Cn as forgetKnownSecret, Di as RecordTooLargeError, Dn as shortSecretRefHash, Dr as resolveDeviceSettings, Ei as RecordSecretUnavailableError, En as scrubKnownSecrets, Er as nodeIdOfScopedKey, F as CAP_ADVANCE_FIELDS, Fi as recordsErrorFromMessage, Gi as createEvent, Gn as StoredRecordKindDeclarationSchema, Gr as secretArrayPrefixes, H as defineCustomActions, Hn as RecordKindDeclarationSchema, Hr as recordArrayItemPath, I as CAP_METHOD_TIMEOUTS_MS, In as DisposerChain, J as nodePin, Jn as defineRecordKinds, Jr as RECORD_CLASSES, Ki as emitReadiness, Kn as assertValidDeclaration, Kr as RECORD_BATCH_MAX, Ln as defineEntryKind, Lr as secretViewsOf, Mi as UnindexedFilterError, N as HF_REPO, Ni as UnknownRecordKindError, Nn as CALLER_USERNAME_HEADER, Oi as RecordUniqueViolationError, On as PEER_BYTES_CHUNK_BYTES, Or as resolvedValues, Ot as createDebugEmitter, Pi as asRecordsError, Pn as DATAPLANE_SECRET_HEADER, Q as viewerUiCapability, Qr as RECORD_ID_MAX_LENGTH, R as CAP_STATE_LEAVES, Rn as entryBody, Rr as REMOVE_LEAF, Si as NoCallerError, Sn as clearKnownSecrets, Ti as RecordNotFoundError, Tn as registerKnownSecret, Tr as SCOPED_SETTINGS_SCOPES, U as describeCustomActions, Un as RecordKindNameSchema, Ur as recordSecretCollection, V as customAction, Vn as RecordIndexSchema, Vr as parseSecretPath, Wn as RecordRetentionSchema, Wr as recordSecretRef, X as readNodePin, Xn as collectZodSecretPaths, Xr as RECORD_DEFAULT_MAX_DATA_BYTES, Y as readCommandOrigin, Yr as RECORD_DATABASES, Zn as isZodSecret, Zr as RECORD_DELETE_BATCH, _ as readErrorI18n, _a as AddonMigrationsBlockedError, _i as BatchTooLargeError, _n as assertTransactScope, _t as ReadinessTimeoutError, aa as isSecretFieldView, ai as RECORD_SWEEP_INTERVAL_MS, ar as expandCapMethods, at as adminUiCapability, b as isDeviceScopedCap, bi as ForeignSecretMarkerError, bn as createSecretsAccess, bt as scopeKey, c as asString, ca as makeSecretMarker, ci as buildSecretRef, d as parseJsonUnknown, di as isSecretRef, ei as RECORD_MAX_INDEXES, et as PipelineStepInputSchema, f as hfModelUrl, fi as normalizeSecretOwner, fr as BaseAddon, g as ErrorI18nPayloadSchema, gn as createRecordsAccess, gt as ReadinessRegistry, hn as makeInMemoryRecords, hr as normalizeAddonInitResult, ht as MODEL_FORMATS, ia as isSecretClear, ii as RECORD_SETTINGS_MAX_ROWS, it as DEVICE_CHILDREN_BATCH_MAX, ji as TransactRefusedError, jn as PEER_BYTES_TICKET_TTL_MS, ki as RecordsError, kn as PEER_BYTES_MAX_OUTSTANDING, la as toSecretFieldView, li as formatSecretScope, mn as CommandOriginClaimSchema, na as SECRET_CLEAR, ni as RECORD_QUERY_MAX, o as asJsonObject, oa as isSecretMarker, oi as SECRET_REF_SCHEME, p as BOOT_RECOVERY_BACKOFF_MS, pi as parseSecretRef, q as commandOrigin, qn as declarationsOf, qr as RECORD_BATCH_MAX_BYTES, r as maskUrlCredentials, ra as classifySecretWrite, ri as RECORD_SECRET_COLLECTION_PREFIX, rt as deviceOpsCapability, sa as isSecretMarkerLike, si as arrayItemFieldPath, st as addonPagesSourceCapability, t as sleep, ti as RECORD_MAX_INDEX_FIELDS, tt as MIGRATION_API_VERSION, ui as globalSecretScope, va as findMigrationsBlocked, vi as DeclarationRefusedError, vn as resolveSecretViewsIn, w as createEventBusSliceSource, wi as RECORDS_ERROR_CODES, wn as knownSecretCount, x as createDeviceProxy, xi as InvalidRecordError, xn as MIN_SCRUBBED_LENGTH, y as DEVICE_SCOPED_CAPS, yi as FilterRequiredError, yn as REVALIDATE_AFTER_MS, z as CALLER_STAMPED_CAPABILITIES, zn as EntryDescriptorSchema, zr as collectSecretLeaves } from "./sleep-CS5Xp1iQ.mjs";
2
2
  import { t as EventCategory } from "./event-category-78tcBemo.mjs";
3
3
  import { i as DeviceType, o as errMsg } from "./device-type-CbDhVwFP.mjs";
4
4
  //#region src/generated/cap-input-defaults.ts
@@ -22,6 +22,7 @@ export declare const CalendarInfoSchema: z.ZodObject<{
22
22
  ha: "ha";
23
23
  }>;
24
24
  enabled: z.ZodBoolean;
25
+ instanceId: z.ZodOptional<z.ZodString>;
25
26
  }, z.core.$strip>;
26
27
  export type CalendarInfo = z.infer<typeof CalendarInfoSchema>;
27
28
  /**
@@ -68,6 +69,7 @@ export declare const calendarSourceCapability: {
68
69
  ha: "ha";
69
70
  }>;
70
71
  enabled: z.ZodBoolean;
72
+ instanceId: z.ZodOptional<z.ZodString>;
71
73
  }, z.core.$strip>>>, import("./capability-definition.js").CapabilityMethodKind>;
72
74
  readonly listEvents: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
73
75
  calendarIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -24,6 +24,7 @@ export declare const CalendarEntrySchema: z.ZodObject<{
24
24
  ha: "ha";
25
25
  }>;
26
26
  enabled: z.ZodBoolean;
27
+ instanceId: z.ZodOptional<z.ZodString>;
27
28
  id: z.ZodString;
28
29
  providerAddonId: z.ZodOptional<z.ZodString>;
29
30
  defaultColor: z.ZodString;
@@ -61,6 +62,7 @@ export declare const calendarsCapability: {
61
62
  ha: "ha";
62
63
  }>;
63
64
  enabled: z.ZodBoolean;
65
+ instanceId: z.ZodOptional<z.ZodString>;
64
66
  id: z.ZodString;
65
67
  providerAddonId: z.ZodOptional<z.ZodString>;
66
68
  defaultColor: z.ZodString;
@@ -211,7 +211,7 @@ export { type HumidifierStatus, HumidifierStatusSchema, humidifierCapability, ty
211
211
  export { type HumiditySensorStatus, HumiditySensorStatusSchema, humiditySensorCapability, type IHumiditySensorProvider, } from './humidity-sensor.cap.js';
212
212
  export { type IImageProvider, type ImageStatus, ImageStatusSchema, imageCapability, } from './image.cap.js';
213
213
  export { type BacklightMode, BacklightModeSchema, type ExposureMode, ExposureModeSchema, type IImageSettingsProvider, type ImageRotate, ImageRotateSchema, type ImageSettingsOptions, ImageSettingsOptionsSchema, type ImageSettingsPatch, ImageSettingsPatchSchema, type ImageSettingsStatus, ImageSettingsStatusSchema, imageSettingsCapability, type WhiteBalanceMode, WhiteBalanceModeSchema, } from './image-settings.cap.js';
214
- export { AvailableIntegrationTypeSchema, CreateIntegrationInputSchema, DeleteIntegrationResultSchema, type IIntegrationsProvider, IntegrationLiteSchema, type IntegrationTestConnectionResult, type IntegrationTestConnectionStatus, IntegrationWithStateSchema, integrationsCapability, TestConnectionResultSchema, TestConnectionStatusEnum, UpdateIntegrationInputSchema, } from './integrations.cap.js';
214
+ export { AvailableIntegrationTypeSchema, DeleteIntegrationResultSchema, type IIntegrationsProvider, IntegrationLiteSchema, type IntegrationTestConnectionResult, type IntegrationTestConnectionStatus, IntegrationWithStateSchema, integrationsCapability, TestConnectionResultSchema, TestConnectionStatusEnum, UpdateIntegrationInputSchema, } from './integrations.cap.js';
215
215
  export { type IIntercomProvider, type IntercomAbility, IntercomAbilitySchema, type IntercomStatus, IntercomStatusSchema, intercomCapability, } from './intercom.cap.js';
216
216
  export { type DeviceCodeSeverity, DeviceCodeSeveritySchema, type ILawnMowerControlProvider, type LawnMowerActivity, LawnMowerActivitySchema, type LawnMowerControlStatus, LawnMowerControlStatusSchema, lawnMowerControlCapability, } from './lawn-mower-control.cap.js';
217
217
  export { type AdvertisedLocalPort, type ConnectionEndpoint, type HubAddressBook, type HubAddresses, HubAddressRoleSchema, type HubAddressRow, type HubAddressSnapshot, type ILocalNetworkProvider, type LocalInterface, localNetworkCapability, type NotificationEndpoint, type ScanNetworkResult, type ScanRequest, type ScanStats, } from './local-network.cap.js';
@@ -306,6 +306,9 @@ export declare const integrationInstancesCapability: {
306
306
  kind: z.ZodOptional<z.ZodString>;
307
307
  values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
308
308
  originStableId: z.ZodOptional<z.ZodString>;
309
+ seed: z.ZodOptional<z.ZodObject<{
310
+ info: z.ZodRecord<z.ZodString, z.ZodUnknown>;
311
+ }, z.core.$strip>>;
309
312
  }, z.core.$strip>, z.ZodObject<{
310
313
  id: z.ZodString;
311
314
  }, z.core.$strip>, "mutation">;
@@ -13,7 +13,7 @@ import { type InferProvider } from './capability-definition.js';
13
13
  *
14
14
  * Phase E of the API consolidation: previously a hand-written core
15
15
  * router. Cap conversion lets `useIntegrationsList`,
16
- * `useIntegrationsCreate`, `useIntegrationsTestConnection` and
16
+ * `useIntegrationsTestConnection` and
17
17
  * friends flow through the same codegen pipeline as every other cap.
18
18
  */
19
19
  declare const IntegrationWithStateSchema: z.ZodObject<{
@@ -72,7 +72,7 @@ declare const AvailableIntegrationTypeSchema: z.ZodObject<{
72
72
  *
73
73
  * - `validated` — a provider-declared test ran and the remote ACCEPTED.
74
74
  * - `rejected` — a provider-declared test ran and the remote REFUSED.
75
- * The only status that blocks `integrations.create`.
75
+ * The only status that blocks `integrationInstances.createInstance`.
76
76
  * - `inconclusive` — a test IS declared but could not complete (timeout,
77
77
  * DNS, 5xx). Nothing was observed; not a failure.
78
78
  * - `unsupported` — this integration declares NO test. Nothing was
@@ -101,14 +101,6 @@ declare const TestConnectionResultSchema: z.ZodObject<{
101
101
  latencyMs: z.ZodOptional<z.ZodNumber>;
102
102
  detail: z.ZodOptional<z.ZodString>;
103
103
  }, z.core.$strip>;
104
- declare const CreateIntegrationInputSchema: z.ZodObject<{
105
- addonId: z.ZodString;
106
- name: z.ZodString;
107
- info: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
108
- originStableId: z.ZodOptional<z.ZodString>;
109
- settings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
110
- kind: z.ZodOptional<z.ZodString>;
111
- }, z.core.$strip>;
112
104
  declare const UpdateIntegrationInputSchema: z.ZodObject<{
113
105
  id: z.ZodString;
114
106
  name: z.ZodOptional<z.ZodString>;
@@ -160,23 +152,6 @@ export declare const integrationsCapability: {
160
152
  createdAt: z.ZodNumber;
161
153
  updatedAt: z.ZodNumber;
162
154
  }, z.core.$strip>>, import("./capability-definition.js").CapabilityMethodKind>;
163
- readonly create: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
164
- addonId: z.ZodString;
165
- name: z.ZodString;
166
- info: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
167
- originStableId: z.ZodOptional<z.ZodString>;
168
- settings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
169
- kind: z.ZodOptional<z.ZodString>;
170
- }, z.core.$strip>, z.ZodObject<{
171
- id: z.ZodString;
172
- addonId: z.ZodString;
173
- name: z.ZodString;
174
- enabled: z.ZodBoolean;
175
- info: z.ZodReadonly<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
176
- originStableId: z.ZodOptional<z.ZodString>;
177
- createdAt: z.ZodNumber;
178
- updatedAt: z.ZodNumber;
179
- }, z.core.$strip>, "mutation">;
180
155
  readonly update: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
181
156
  id: z.ZodString;
182
157
  name: z.ZodOptional<z.ZodString>;
@@ -233,4 +208,4 @@ export declare const integrationsCapability: {
233
208
  export type IIntegrationsProvider = InferProvider<typeof integrationsCapability>;
234
209
  export type IntegrationTestConnectionStatus = z.infer<typeof TestConnectionStatusEnum>;
235
210
  export type IntegrationTestConnectionResult = z.infer<typeof TestConnectionResultSchema>;
236
- export { AvailableIntegrationTypeSchema, CreateIntegrationInputSchema, DeleteIntegrationResultSchema, IntegrationLiteSchema, IntegrationWithStateSchema, TestConnectionResultSchema, TestConnectionStatusEnum, UpdateIntegrationInputSchema, };
211
+ export { AvailableIntegrationTypeSchema, DeleteIntegrationResultSchema, IntegrationLiteSchema, IntegrationWithStateSchema, TestConnectionResultSchema, TestConnectionStatusEnum, UpdateIntegrationInputSchema, };
@@ -74,6 +74,7 @@ export declare const remoteLayoutComponentsCapability: {
74
74
  red: "red";
75
75
  yellow: "yellow";
76
76
  }>>;
77
+ showLegend: z.ZodOptional<z.ZodBoolean>;
77
78
  }, z.core.$strip>>;
78
79
  }, z.core.$strip>>, import("./capability-definition.js").CapabilityMethodKind>;
79
80
  };
@@ -29,12 +29,6 @@ export declare const RemoteBoundCommandSchema: z.ZodObject<{
29
29
  export type RemoteBoundCommand = z.infer<typeof RemoteBoundCommandSchema>;
30
30
  export declare const RemoteCommandListSchema: z.ZodObject<{
31
31
  layoutTemplateId: z.ZodNullable<z.ZodString>;
32
- power: z.ZodObject<{
33
- mode: z.ZodEnum<{
34
- discrete: "discrete";
35
- toggle: "toggle";
36
- }>;
37
- }, z.core.$strip>;
38
32
  commands: z.ZodArray<z.ZodObject<{
39
33
  role: z.ZodString;
40
34
  label: z.ZodOptional<z.ZodString>;
@@ -54,7 +48,7 @@ export declare const RemoteCommandListSchema: z.ZodObject<{
54
48
  id: z.ZodString;
55
49
  name: z.ZodString;
56
50
  kind: z.ZodLiteral<"ir">;
57
- transmitterId: z.ZodNumber;
51
+ transmitterId: z.ZodOptional<z.ZodNumber>;
58
52
  payload: z.ZodDiscriminatedUnion<[z.ZodObject<{
59
53
  kind: z.ZodLiteral<"raw">;
60
54
  timings: z.ZodArray<z.ZodNumber>;
@@ -77,11 +71,13 @@ export type RemoteCommandList = z.infer<typeof RemoteCommandListSchema>;
77
71
  * `unbound-step`: a step of the source has no binding (named in `step`).
78
72
  * `press-timeout`: a press never finished within the bound, so it was given up
79
73
  * and the device's later presses are not held behind it.
74
+ * `no-transmitter`: an infrared source names no emitter and the remote has no default one.
80
75
  */
81
- export declare const REMOTE_REFUSAL_REASONS: readonly ['no-remote', 'unbound-role', 'action-failed', 'unknown-source', 'unbound-step', 'undeclared-channel', 'press-timeout'];
76
+ export declare const REMOTE_REFUSAL_REASONS: readonly ['no-remote', 'unbound-role', 'action-failed', 'unknown-source', 'unbound-step', 'undeclared-channel', 'press-timeout', 'no-transmitter'];
82
77
  export declare const RemoteRefusalReasonSchema: z.ZodEnum<{
83
78
  "action-failed": "action-failed";
84
79
  "no-remote": "no-remote";
80
+ "no-transmitter": "no-transmitter";
85
81
  "press-timeout": "press-timeout";
86
82
  "unbound-role": "unbound-role";
87
83
  "unbound-step": "unbound-step";
@@ -100,6 +96,7 @@ export declare const RemoteSendResultSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
100
96
  reason: z.ZodEnum<{
101
97
  "action-failed": "action-failed";
102
98
  "no-remote": "no-remote";
99
+ "no-transmitter": "no-transmitter";
103
100
  "press-timeout": "press-timeout";
104
101
  "unbound-role": "unbound-role";
105
102
  "unbound-step": "unbound-step";
@@ -144,6 +141,7 @@ export declare const RemoteMediaCommandResultSchema: z.ZodDiscriminatedUnion<[z.
144
141
  reason: z.ZodEnum<{
145
142
  "action-failed": "action-failed";
146
143
  "no-remote": "no-remote";
144
+ "no-transmitter": "no-transmitter";
147
145
  "press-timeout": "press-timeout";
148
146
  "unbound-role": "unbound-role";
149
147
  "unbound-step": "unbound-step";
@@ -209,7 +207,7 @@ export declare const remoteCapability: {
209
207
  id: z.ZodString;
210
208
  name: z.ZodString;
211
209
  kind: z.ZodLiteral<"ir">;
212
- transmitterId: z.ZodNumber;
210
+ transmitterId: z.ZodOptional<z.ZodNumber>;
213
211
  payload: z.ZodDiscriminatedUnion<[z.ZodObject<{
214
212
  kind: z.ZodLiteral<"raw">;
215
213
  timings: z.ZodArray<z.ZodNumber>;
@@ -225,12 +223,6 @@ export declare const remoteCapability: {
225
223
  }, z.core.$strip>], "kind">;
226
224
  }, z.core.$strip>], "kind">>>;
227
225
  stepDelayMs: z.ZodDefault<z.ZodNumber>;
228
- power: z.ZodObject<{
229
- mode: z.ZodEnum<{
230
- discrete: "discrete";
231
- toggle: "toggle";
232
- }>;
233
- }, z.core.$strip>;
234
226
  refusedSources: z.ZodOptional<z.ZodArray<z.ZodObject<{
235
227
  index: z.ZodNumber;
236
228
  id: z.ZodNullable<z.ZodString>;
@@ -271,7 +263,7 @@ export declare const remoteCapability: {
271
263
  id: z.ZodString;
272
264
  name: z.ZodString;
273
265
  kind: z.ZodLiteral<"ir">;
274
- transmitterId: z.ZodNumber;
266
+ transmitterId: z.ZodOptional<z.ZodNumber>;
275
267
  payload: z.ZodDiscriminatedUnion<[z.ZodObject<{
276
268
  kind: z.ZodLiteral<"raw">;
277
269
  timings: z.ZodArray<z.ZodNumber>;
@@ -287,12 +279,6 @@ export declare const remoteCapability: {
287
279
  }, z.core.$strip>], "kind">;
288
280
  }, z.core.$strip>], "kind">>>;
289
281
  stepDelayMs: z.ZodDefault<z.ZodNumber>;
290
- power: z.ZodObject<{
291
- mode: z.ZodEnum<{
292
- discrete: "discrete";
293
- toggle: "toggle";
294
- }>;
295
- }, z.core.$strip>;
296
282
  refusedSources: z.ZodOptional<z.ZodArray<z.ZodObject<{
297
283
  index: z.ZodNumber;
298
284
  id: z.ZodNullable<z.ZodString>;
@@ -314,12 +300,6 @@ export declare const remoteCapability: {
314
300
  deviceId: z.ZodNumber;
315
301
  }, z.core.$strip>, z.ZodObject<{
316
302
  layoutTemplateId: z.ZodNullable<z.ZodString>;
317
- power: z.ZodObject<{
318
- mode: z.ZodEnum<{
319
- discrete: "discrete";
320
- toggle: "toggle";
321
- }>;
322
- }, z.core.$strip>;
323
303
  commands: z.ZodArray<z.ZodObject<{
324
304
  role: z.ZodString;
325
305
  label: z.ZodOptional<z.ZodString>;
@@ -339,7 +319,7 @@ export declare const remoteCapability: {
339
319
  id: z.ZodString;
340
320
  name: z.ZodString;
341
321
  kind: z.ZodLiteral<"ir">;
342
- transmitterId: z.ZodNumber;
322
+ transmitterId: z.ZodOptional<z.ZodNumber>;
343
323
  payload: z.ZodDiscriminatedUnion<[z.ZodObject<{
344
324
  kind: z.ZodLiteral<"raw">;
345
325
  timings: z.ZodArray<z.ZodNumber>;
@@ -370,6 +350,7 @@ export declare const remoteCapability: {
370
350
  reason: z.ZodEnum<{
371
351
  "action-failed": "action-failed";
372
352
  "no-remote": "no-remote";
353
+ "no-transmitter": "no-transmitter";
373
354
  "press-timeout": "press-timeout";
374
355
  "unbound-role": "unbound-role";
375
356
  "unbound-step": "unbound-step";
@@ -480,6 +461,7 @@ export declare const remoteCapability: {
480
461
  reason: z.ZodEnum<{
481
462
  "action-failed": "action-failed";
482
463
  "no-remote": "no-remote";
464
+ "no-transmitter": "no-transmitter";
483
465
  "press-timeout": "press-timeout";
484
466
  "unbound-role": "unbound-role";
485
467
  "unbound-step": "unbound-step";
package/dist/client.js CHANGED
@@ -29849,7 +29849,6 @@ function createSystemProxy(api) {
29849
29849
  list: (input) => dispatch("integrations", "list", "query", input),
29850
29850
  get: (input) => dispatch("integrations", "get", "query", input),
29851
29851
  getByAddonId: (input) => dispatch("integrations", "getByAddonId", "query", input),
29852
- create: (input) => dispatch("integrations", "create", "mutation", input),
29853
29852
  update: (input) => dispatch("integrations", "update", "mutation", input),
29854
29853
  delete: (input) => dispatch("integrations", "delete", "mutation", input),
29855
29854
  getAvailableTypes: (input) => dispatch("integrations", "getAvailableTypes", "query", input)
package/dist/client.mjs CHANGED
@@ -29848,7 +29848,6 @@ function createSystemProxy(api) {
29848
29848
  list: (input) => dispatch("integrations", "list", "query", input),
29849
29849
  get: (input) => dispatch("integrations", "get", "query", input),
29850
29850
  getByAddonId: (input) => dispatch("integrations", "getByAddonId", "query", input),
29851
- create: (input) => dispatch("integrations", "create", "mutation", input),
29852
29851
  update: (input) => dispatch("integrations", "update", "mutation", input),
29853
29852
  delete: (input) => dispatch("integrations", "delete", "mutation", input),
29854
29853
  getAvailableTypes: (input) => dispatch("integrations", "getAvailableTypes", "query", input)
@@ -4434,13 +4434,6 @@ export type AppRouter = TrpcCoreRouter<{
4434
4434
  output: z.infer<typeof integrationsCapability.methods.getByAddonId.output>;
4435
4435
  meta: object;
4436
4436
  }>;
4437
- create: TRPCMutationProcedure<{
4438
- input: {
4439
- [x: string]: unknown;
4440
- } & z.input<typeof integrationsCapability.methods.create.input>;
4441
- output: z.infer<typeof integrationsCapability.methods.create.output>;
4442
- meta: object;
4443
- }>;
4444
4437
  update: TRPCMutationProcedure<{
4445
4438
  input: {
4446
4439
  [x: string]: unknown;
@@ -6,7 +6,7 @@
6
6
  * scope+access check inside `protectedProcedure` (see
7
7
  * `server/backend/src/api/trpc/trpc.middleware.ts`).
8
8
  *
9
- * Coverage: 1473 method paths across 203 capabilities.
9
+ * Coverage: 1472 method paths across 203 capabilities.
10
10
  */
11
11
  import type { MethodRole } from '../auth/viewer-access.js';
12
12
  import type { CapabilityMethodAccess } from '../capabilities/capability-definition.js';
@@ -99,7 +99,7 @@ export interface SystemProxy {
99
99
  readonly fanPresets: Pick<InferProvider<typeof fanPresetsCapability>, 'getPresets' | 'setPresets' | 'applyPreset' | 'capturePreset'>;
100
100
  readonly heroLayout: Pick<InferProvider<typeof heroLayoutCapability>, 'getHeroModel' | 'getRowModels' | 'getLayout'>;
101
101
  readonly integrationInstances: Pick<InferProvider<typeof integrationInstancesCapability>, 'describe' | 'instanceFormSchema' | 'listInstances' | 'getInstance' | 'createInstance' | 'updateInstance' | 'setInstanceEnabled' | 'deleteInstance' | 'testInstance'>;
102
- readonly integrations: Pick<InferProvider<typeof integrationsCapability>, 'list' | 'get' | 'getByAddonId' | 'create' | 'update' | 'delete' | 'getAvailableTypes'>;
102
+ readonly integrations: Pick<InferProvider<typeof integrationsCapability>, 'list' | 'get' | 'getByAddonId' | 'update' | 'delete' | 'getAvailableTypes'>;
103
103
  readonly keychainAdmin: Pick<InferProvider<typeof keychainAdminCapability>, 'status' | 'listSecrets' | 'listAudit' | 'reveal' | 'setSystemSecret' | 'importSecret' | 'deleteOrphans' | 'rotateMasterKey' | 'purgeRetiredKeys' | 'downloadRecoveryKey' | 'resetKeychain' | 'resetReport' | 'acknowledgeReset'>;
104
104
  readonly llm: Pick<InferProvider<typeof llmCapability>, 'generate' | 'generateVision' | 'cancel' | 'listModels' | 'getDefaults' | 'setDefault' | 'getUsage' | 'listModelCatalog' | 'listRuntimeNodes' | 'listNodeModels' | 'resolveModelRef' | 'installModel' | 'deleteModel' | 'getRuntimeStatus' | 'startRuntime' | 'stopRuntime'>;
105
105
  readonly localNetwork: Pick<InferProvider<typeof localNetworkCapability>, 'list' | 'getPreferred' | 'getConnectionEndpoints' | 'getNotificationEndpoint' | 'setNotificationEndpoint' | 'getViewerEndpoints' | 'setViewerEndpoints' | 'getAddresses' | 'addCustomAddress' | 'removeCustomAddress' | 'setAddressRole' | 'getHubAddresses' | 'getAllowedAddresses' | 'setAllowedAddresses' | 'resetAllowlistToBestMatch' | 'getTlsStatus' | 'regenerateCertificate' | 'uploadCertificate' | 'downloadCa' | 'useStoredUploadedCertificate' | 'scanNetwork' | 'getScanSubnets' | 'setScanSubnets' | 'revertToGeneratedCertificate'>;
package/dist/index.d.ts CHANGED
@@ -136,8 +136,8 @@ export type * from './interfaces/server-network.js';
136
136
  export type * from './interfaces/status-overlay.js';
137
137
  export type * from './interfaces/device-call-redirect.js';
138
138
  export type * from './interfaces/storage.js';
139
- export type { LegacyStorageLocationDefault, StorageDrainProgress, StorageLocation, StorageLocationRef, } from './interfaces/storage-location.js';
140
- export { gbToBytes, isLocationEnabled, LegacyStorageLocationDefaultSchema, STORAGE_BYTES_PER_GB, StorageDrainProgressSchema, StorageLocationRefSchema, StorageLocationSchema, StorageLocationTypeSchema, } from './interfaces/storage-location.js';
139
+ export type { StorageDrainProgress, StorageLocation, StorageLocationRef, } from './interfaces/storage-location.js';
140
+ export { gbToBytes, isLocationEnabled, STORAGE_BYTES_PER_GB, StorageDrainProgressSchema, StorageLocationRefSchema, StorageLocationSchema, StorageLocationTypeSchema, } from './interfaces/storage-location.js';
141
141
  export type { StorageAccess, StorageLocationDeclaration, StorageLocationDeclarer, } from './interfaces/storage-location-declaration.js';
142
142
  export { STORAGE_ACCESS_FALLBACK, StorageAccessSchema, StorageLocationDeclarationSchema, } from './interfaces/storage-location-declaration.js';
143
143
  export type { StorageEvictionPolicy, StorageLocationMode, StorageLocationModePatch, StorageLocationStateSource, SwitchMove, } from './interfaces/storage-location-mode.js';