@camstack/types 1.2.68 → 1.2.70

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.js CHANGED
@@ -1,6 +1,6 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
2
  const require_event_category = require("./event-category-DxZbWydC.js");
3
- const require_sleep = require("./sleep-Dh1EJSqF.js");
3
+ const require_sleep = require("./sleep-YuacOD41.js");
4
4
  const require_err_msg = require("./err-msg-COpsHMw2.js");
5
5
  //#region src/generated/collection-array-methods.ts
6
6
  /**
package/dist/addon.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  import { t as EventCategory } from "./event-category-Cv9dO26A.mjs";
2
- import { C as DeviceType, F as nodePin, H as scopeKey, I as readNodePin, R as ReadinessRegistry, _t as normalizeAddonInitResult, a as asJsonObject, bt as emitReadiness, d as DEVICE_SCOPED_CAPS, f as isDeviceScopedCap, gt as BaseAddon, ht as DisposerChain, k as expandCapMethods, mt as DATAPLANE_SECRET_HEADER, p as createDeviceProxy, s as asString, t as sleep, u as parseJsonUnknown, v as deviceOpsCapability, w as adminUiCapability, y as viewerUiCapability, z as ReadinessTimeoutError } from "./sleep-CSgK0rNX.mjs";
2
+ import { C as DeviceType, F as nodePin, H as scopeKey, I as readNodePin, R as ReadinessRegistry, _t as normalizeAddonInitResult, a as asJsonObject, bt as emitReadiness, d as DEVICE_SCOPED_CAPS, f as isDeviceScopedCap, gt as BaseAddon, ht as DisposerChain, k as expandCapMethods, mt as DATAPLANE_SECRET_HEADER, p as createDeviceProxy, s as asString, t as sleep, u as parseJsonUnknown, v as deviceOpsCapability, w as adminUiCapability, y as viewerUiCapability, z as ReadinessTimeoutError } from "./sleep-CwERnGrD.mjs";
3
3
  import { t as errMsg } from "./err-msg-IQTHeDzc.mjs";
4
4
  //#region src/generated/collection-array-methods.ts
5
5
  /**
@@ -177,5 +177,51 @@ export declare const intercomCapability: {
177
177
  }, z.core.$strip>;
178
178
  readonly kind: "command-driven";
179
179
  };
180
+ /**
181
+ * Runtime-state slice — mirrored by the kernel.
182
+ *
183
+ * The cap declared `status` and nothing else, so the only two sources an
184
+ * exporter has for a value — the `device.state-changed` slice event and the
185
+ * `deviceState.getAllSnapshots` snapshot, both built from runtime state —
186
+ * carried nothing for `intercom`. A talk-back entity in Home Assistant would
187
+ * have been published and never received a value, which is the defect the
188
+ * export's two classification tables exist to prevent (177 of them, once), so
189
+ * `intercom` was excluded rather than exported.
190
+ *
191
+ * The shape is the status shape: there is exactly one truth about talk-back
192
+ * and duplicating it into a second schema is how two halves of one capability
193
+ * come to disagree. Providers write it through
194
+ * `this.runtimeState.setCapState('intercom', …)` at the four points that open
195
+ * and close a session, and seed it at registration so the slice exists before
196
+ * the first session rather than after it.
197
+ *
198
+ * **Bound, named rather than hidden:** `talking` mirrors the provider's own
199
+ * session handle, so a session torn down by a transport death that never
200
+ * reaches `stopSession` / `endTalkSession` leaves it latched until the next
201
+ * session or the next restart. That is why the slice is `session` and not
202
+ * `restored` — a restart must never restore "talking".
203
+ */
204
+ readonly runtimeState: z.ZodObject<{
205
+ talking: z.ZodBoolean;
206
+ lastSessionAt: z.ZodNullable<z.ZodNumber>;
207
+ ability: z.ZodNullable<z.ZodObject<{
208
+ codecs: z.ZodArray<z.ZodString>;
209
+ sampleRate: z.ZodNumber;
210
+ duplex: z.ZodEnum<{
211
+ full: "full";
212
+ half: "half";
213
+ }>;
214
+ maxBacklogMs: z.ZodNumber;
215
+ }, z.core.$strip>>;
216
+ }, z.core.$strip>;
217
+ /**
218
+ * Runtime-state durability: **session** — `talking` describes a live audio
219
+ * session, which by definition does not survive the process that held it.
220
+ * Restoring it would publish a camera as talking to nobody.
221
+ *
222
+ * See `RuntimeStateDurability`. Enforced by
223
+ * `scripts/check-runtime-state-durability.ts`.
224
+ */
225
+ readonly durability: "session";
180
226
  };
181
227
  export type IIntercomProvider = InferProvider<typeof intercomCapability>;
@@ -951,6 +951,7 @@ export declare const NcRuleInputSchema: z.ZodObject<{
951
951
  }>>;
952
952
  maxImagePx: z.ZodDefault<z.ZodNumber>;
953
953
  }, z.core.$strip>>;
954
+ waitForEnhancement: z.ZodOptional<z.ZodBoolean>;
954
955
  }, z.core.$strip>;
955
956
  export type NcRuleInput = z.infer<typeof NcRuleInputSchema>;
956
957
  /**
@@ -1056,6 +1057,7 @@ export declare const NcRulePatchSchema: z.ZodObject<{
1056
1057
  }>>;
1057
1058
  maxImagePx: z.ZodDefault<z.ZodNumber>;
1058
1059
  }, z.core.$strip>>>;
1060
+ waitForEnhancement: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
1059
1061
  disabledTargetIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
1060
1062
  enabled: z.ZodOptional<z.ZodBoolean>;
1061
1063
  conditions: z.ZodOptional<z.ZodObject<{
@@ -1426,6 +1428,7 @@ export declare const NcRuleSchema: z.ZodObject<{
1426
1428
  }>>;
1427
1429
  maxImagePx: z.ZodDefault<z.ZodNumber>;
1428
1430
  }, z.core.$strip>>;
1431
+ waitForEnhancement: z.ZodOptional<z.ZodBoolean>;
1429
1432
  id: z.ZodString;
1430
1433
  createdBy: z.ZodString;
1431
1434
  createdAt: z.ZodNumber;
@@ -2083,6 +2086,7 @@ export declare const notificationRulesCapability: {
2083
2086
  }>>;
2084
2087
  maxImagePx: z.ZodDefault<z.ZodNumber>;
2085
2088
  }, z.core.$strip>>;
2089
+ waitForEnhancement: z.ZodOptional<z.ZodBoolean>;
2086
2090
  id: z.ZodString;
2087
2091
  createdBy: z.ZodString;
2088
2092
  createdAt: z.ZodNumber;
@@ -2323,6 +2327,7 @@ export declare const notificationRulesCapability: {
2323
2327
  }>>;
2324
2328
  maxImagePx: z.ZodDefault<z.ZodNumber>;
2325
2329
  }, z.core.$strip>>;
2330
+ waitForEnhancement: z.ZodOptional<z.ZodBoolean>;
2326
2331
  id: z.ZodString;
2327
2332
  createdBy: z.ZodString;
2328
2333
  createdAt: z.ZodNumber;
@@ -2561,6 +2566,7 @@ export declare const notificationRulesCapability: {
2561
2566
  }>>;
2562
2567
  maxImagePx: z.ZodDefault<z.ZodNumber>;
2563
2568
  }, z.core.$strip>>;
2569
+ waitForEnhancement: z.ZodOptional<z.ZodBoolean>;
2564
2570
  }, z.core.$strip>;
2565
2571
  }, z.core.$strip>, z.ZodObject<{
2566
2572
  rule: z.ZodObject<{
@@ -2793,6 +2799,7 @@ export declare const notificationRulesCapability: {
2793
2799
  }>>;
2794
2800
  maxImagePx: z.ZodDefault<z.ZodNumber>;
2795
2801
  }, z.core.$strip>>;
2802
+ waitForEnhancement: z.ZodOptional<z.ZodBoolean>;
2796
2803
  id: z.ZodString;
2797
2804
  createdBy: z.ZodString;
2798
2805
  createdAt: z.ZodNumber;
@@ -2898,6 +2905,7 @@ export declare const notificationRulesCapability: {
2898
2905
  }>>;
2899
2906
  maxImagePx: z.ZodDefault<z.ZodNumber>;
2900
2907
  }, z.core.$strip>>>;
2908
+ waitForEnhancement: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
2901
2909
  disabledTargetIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
2902
2910
  enabled: z.ZodOptional<z.ZodBoolean>;
2903
2911
  conditions: z.ZodOptional<z.ZodObject<{
@@ -3267,6 +3275,7 @@ export declare const notificationRulesCapability: {
3267
3275
  }>>;
3268
3276
  maxImagePx: z.ZodDefault<z.ZodNumber>;
3269
3277
  }, z.core.$strip>>;
3278
+ waitForEnhancement: z.ZodOptional<z.ZodBoolean>;
3270
3279
  id: z.ZodString;
3271
3280
  createdBy: z.ZodString;
3272
3281
  createdAt: z.ZodNumber;
@@ -3553,6 +3562,7 @@ export declare const notificationRulesCapability: {
3553
3562
  }>>;
3554
3563
  maxImagePx: z.ZodDefault<z.ZodNumber>;
3555
3564
  }, z.core.$strip>>;
3565
+ waitForEnhancement: z.ZodOptional<z.ZodBoolean>;
3556
3566
  }, z.core.$strip>;
3557
3567
  lookbackMinutes: z.ZodDefault<z.ZodNumber>;
3558
3568
  }, z.core.$strip>, z.ZodObject<{
@@ -80,7 +80,7 @@ import { type InferProvider } from './capability-definition.js';
80
80
  declare const OauthIntegrationDescriptorSchema: z.ZodObject<{
81
81
  integrationId: z.ZodString;
82
82
  displayName: z.ZodString;
83
- requestedScopes: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
83
+ requestedScopes: z.ZodArray<z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
84
84
  type: z.ZodLiteral<"category">;
85
85
  target: z.ZodEnum<{
86
86
  system: "system";
@@ -109,13 +109,25 @@ declare const OauthIntegrationDescriptorSchema: z.ZodObject<{
109
109
  }>>;
110
110
  }, z.core.$strip>, z.ZodObject<{
111
111
  type: z.ZodLiteral<"device">;
112
- targets: z.ZodArray<z.ZodString>;
112
+ selector: z.ZodDiscriminatedUnion<[z.ZodObject<{
113
+ kind: z.ZodLiteral<"all">;
114
+ }, z.core.$strip>, z.ZodObject<{
115
+ kind: z.ZodLiteral<"ids">;
116
+ ids: z.ZodArray<z.ZodNumber>;
117
+ }, z.core.$strip>, z.ZodObject<{
118
+ kind: z.ZodLiteral<"types">;
119
+ types: z.ZodArray<z.ZodEnum<typeof import("../addon.js").DeviceType>>;
120
+ }, z.core.$strip>, z.ZodObject<{
121
+ kind: z.ZodLiteral<"locations">;
122
+ locations: z.ZodArray<z.ZodString>;
123
+ }, z.core.$strip>], "kind">;
113
124
  access: z.ZodArray<z.ZodEnum<{
114
125
  view: "view";
115
126
  create: "create";
116
127
  delete: "delete";
117
128
  }>>;
118
- }, z.core.$strip>], "type">>;
129
+ includeLinked: z.ZodOptional<z.ZodBoolean>;
130
+ }, z.core.$strip>], "type">>>;
119
131
  allowedRedirectPrefixes: z.ZodArray<z.ZodString>;
120
132
  allowedPrivateHostPaths: z.ZodOptional<z.ZodArray<z.ZodString>>;
121
133
  requiresPkce: z.ZodOptional<z.ZodBoolean>;
@@ -131,7 +143,7 @@ export declare const oauthIntegrationCapability: {
131
143
  readonly getDescriptor: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodObject<{
132
144
  integrationId: z.ZodString;
133
145
  displayName: z.ZodString;
134
- requestedScopes: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
146
+ requestedScopes: z.ZodArray<z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
135
147
  type: z.ZodLiteral<"category">;
136
148
  target: z.ZodEnum<{
137
149
  system: "system";
@@ -160,13 +172,25 @@ export declare const oauthIntegrationCapability: {
160
172
  }>>;
161
173
  }, z.core.$strip>, z.ZodObject<{
162
174
  type: z.ZodLiteral<"device">;
163
- targets: z.ZodArray<z.ZodString>;
175
+ selector: z.ZodDiscriminatedUnion<[z.ZodObject<{
176
+ kind: z.ZodLiteral<"all">;
177
+ }, z.core.$strip>, z.ZodObject<{
178
+ kind: z.ZodLiteral<"ids">;
179
+ ids: z.ZodArray<z.ZodNumber>;
180
+ }, z.core.$strip>, z.ZodObject<{
181
+ kind: z.ZodLiteral<"types">;
182
+ types: z.ZodArray<z.ZodEnum<typeof import("../addon.js").DeviceType>>;
183
+ }, z.core.$strip>, z.ZodObject<{
184
+ kind: z.ZodLiteral<"locations">;
185
+ locations: z.ZodArray<z.ZodString>;
186
+ }, z.core.$strip>], "kind">;
164
187
  access: z.ZodArray<z.ZodEnum<{
165
188
  view: "view";
166
189
  create: "create";
167
190
  delete: "delete";
168
191
  }>>;
169
- }, z.core.$strip>], "type">>;
192
+ includeLinked: z.ZodOptional<z.ZodBoolean>;
193
+ }, z.core.$strip>], "type">>>;
170
194
  allowedRedirectPrefixes: z.ZodArray<z.ZodString>;
171
195
  allowedPrivateHostPaths: z.ZodOptional<z.ZodArray<z.ZodString>>;
172
196
  requiresPkce: z.ZodOptional<z.ZodBoolean>;
@@ -332,6 +332,7 @@ export declare const LabelAttributionSchema: z.ZodObject<{
332
332
  stepId: z.ZodString;
333
333
  modelId: z.ZodOptional<z.ZodString>;
334
334
  decidedAt: z.ZodNumber;
335
+ identityId: z.ZodOptional<z.ZodString>;
335
336
  }, z.core.$strip>;
336
337
  export type LabelAttribution = z.infer<typeof LabelAttributionSchema>;
337
338
  /** Per-camera slice of a training-export estimate. */
@@ -437,6 +438,7 @@ declare const TrackSchema: z.ZodObject<{
437
438
  stepId: z.ZodString;
438
439
  modelId: z.ZodOptional<z.ZodString>;
439
440
  decidedAt: z.ZodNumber;
441
+ identityId: z.ZodOptional<z.ZodString>;
440
442
  }, z.core.$strip>>;
441
443
  subLabel: z.ZodOptional<z.ZodString>;
442
444
  subLabelScore: z.ZodOptional<z.ZodNumber>;
@@ -444,6 +446,7 @@ declare const TrackSchema: z.ZodObject<{
444
446
  stepId: z.ZodString;
445
447
  modelId: z.ZodOptional<z.ZodString>;
446
448
  decidedAt: z.ZodNumber;
449
+ identityId: z.ZodOptional<z.ZodString>;
447
450
  }, z.core.$strip>>;
448
451
  trackId: z.ZodString;
449
452
  deviceId: z.ZodNumber;
@@ -557,6 +560,7 @@ declare const ObjectEventSchema: z.ZodObject<{
557
560
  stepId: z.ZodString;
558
561
  modelId: z.ZodOptional<z.ZodString>;
559
562
  decidedAt: z.ZodNumber;
563
+ identityId: z.ZodOptional<z.ZodString>;
560
564
  }, z.core.$strip>>;
561
565
  subLabel: z.ZodOptional<z.ZodString>;
562
566
  subLabelScore: z.ZodOptional<z.ZodNumber>;
@@ -564,6 +568,7 @@ declare const ObjectEventSchema: z.ZodObject<{
564
568
  stepId: z.ZodString;
565
569
  modelId: z.ZodOptional<z.ZodString>;
566
570
  decidedAt: z.ZodNumber;
571
+ identityId: z.ZodOptional<z.ZodString>;
567
572
  }, z.core.$strip>>;
568
573
  kind: z.ZodLiteral<"object">;
569
574
  source: z.ZodOptional<z.ZodEnum<{
@@ -1082,6 +1087,7 @@ declare const RecentTracksPageSchema: z.ZodObject<{
1082
1087
  stepId: z.ZodString;
1083
1088
  modelId: z.ZodOptional<z.ZodString>;
1084
1089
  decidedAt: z.ZodNumber;
1090
+ identityId: z.ZodOptional<z.ZodString>;
1085
1091
  }, z.core.$strip>>;
1086
1092
  subLabel: z.ZodOptional<z.ZodString>;
1087
1093
  subLabelScore: z.ZodOptional<z.ZodNumber>;
@@ -1089,6 +1095,7 @@ declare const RecentTracksPageSchema: z.ZodObject<{
1089
1095
  stepId: z.ZodString;
1090
1096
  modelId: z.ZodOptional<z.ZodString>;
1091
1097
  decidedAt: z.ZodNumber;
1098
+ identityId: z.ZodOptional<z.ZodString>;
1092
1099
  }, z.core.$strip>>;
1093
1100
  trackId: z.ZodString;
1094
1101
  deviceId: z.ZodNumber;
@@ -1114,6 +1121,7 @@ declare const KeyEventSchema: z.ZodObject<{
1114
1121
  stepId: z.ZodString;
1115
1122
  modelId: z.ZodOptional<z.ZodString>;
1116
1123
  decidedAt: z.ZodNumber;
1124
+ identityId: z.ZodOptional<z.ZodString>;
1117
1125
  }, z.core.$strip>>;
1118
1126
  subLabel: z.ZodOptional<z.ZodString>;
1119
1127
  subLabelScore: z.ZodOptional<z.ZodNumber>;
@@ -1121,6 +1129,7 @@ declare const KeyEventSchema: z.ZodObject<{
1121
1129
  stepId: z.ZodString;
1122
1130
  modelId: z.ZodOptional<z.ZodString>;
1123
1131
  decidedAt: z.ZodNumber;
1132
+ identityId: z.ZodOptional<z.ZodString>;
1124
1133
  }, z.core.$strip>>;
1125
1134
  id: z.ZodString;
1126
1135
  trackId: z.ZodString;
@@ -1183,6 +1192,7 @@ export declare const ScoredObjectEventSchema: z.ZodObject<{
1183
1192
  stepId: z.ZodString;
1184
1193
  modelId: z.ZodOptional<z.ZodString>;
1185
1194
  decidedAt: z.ZodNumber;
1195
+ identityId: z.ZodOptional<z.ZodString>;
1186
1196
  }, z.core.$strip>>;
1187
1197
  subLabel: z.ZodOptional<z.ZodString>;
1188
1198
  subLabelScore: z.ZodOptional<z.ZodNumber>;
@@ -1190,6 +1200,7 @@ export declare const ScoredObjectEventSchema: z.ZodObject<{
1190
1200
  stepId: z.ZodString;
1191
1201
  modelId: z.ZodOptional<z.ZodString>;
1192
1202
  decidedAt: z.ZodNumber;
1203
+ identityId: z.ZodOptional<z.ZodString>;
1193
1204
  }, z.core.$strip>>;
1194
1205
  kind: z.ZodLiteral<"object">;
1195
1206
  source: z.ZodOptional<z.ZodEnum<{
@@ -1327,6 +1338,7 @@ export declare const pipelineAnalyticsCapability: {
1327
1338
  stepId: z.ZodString;
1328
1339
  modelId: z.ZodOptional<z.ZodString>;
1329
1340
  decidedAt: z.ZodNumber;
1341
+ identityId: z.ZodOptional<z.ZodString>;
1330
1342
  }, z.core.$strip>>;
1331
1343
  subLabel: z.ZodOptional<z.ZodString>;
1332
1344
  subLabelScore: z.ZodOptional<z.ZodNumber>;
@@ -1334,6 +1346,7 @@ export declare const pipelineAnalyticsCapability: {
1334
1346
  stepId: z.ZodString;
1335
1347
  modelId: z.ZodOptional<z.ZodString>;
1336
1348
  decidedAt: z.ZodNumber;
1349
+ identityId: z.ZodOptional<z.ZodString>;
1337
1350
  }, z.core.$strip>>;
1338
1351
  trackId: z.ZodString;
1339
1352
  deviceId: z.ZodNumber;
@@ -1419,6 +1432,7 @@ export declare const pipelineAnalyticsCapability: {
1419
1432
  stepId: z.ZodString;
1420
1433
  modelId: z.ZodOptional<z.ZodString>;
1421
1434
  decidedAt: z.ZodNumber;
1435
+ identityId: z.ZodOptional<z.ZodString>;
1422
1436
  }, z.core.$strip>>;
1423
1437
  subLabel: z.ZodOptional<z.ZodString>;
1424
1438
  subLabelScore: z.ZodOptional<z.ZodNumber>;
@@ -1426,6 +1440,7 @@ export declare const pipelineAnalyticsCapability: {
1426
1440
  stepId: z.ZodString;
1427
1441
  modelId: z.ZodOptional<z.ZodString>;
1428
1442
  decidedAt: z.ZodNumber;
1443
+ identityId: z.ZodOptional<z.ZodString>;
1429
1444
  }, z.core.$strip>>;
1430
1445
  trackId: z.ZodString;
1431
1446
  deviceId: z.ZodNumber;
@@ -1533,6 +1548,7 @@ export declare const pipelineAnalyticsCapability: {
1533
1548
  stepId: z.ZodString;
1534
1549
  modelId: z.ZodOptional<z.ZodString>;
1535
1550
  decidedAt: z.ZodNumber;
1551
+ identityId: z.ZodOptional<z.ZodString>;
1536
1552
  }, z.core.$strip>>;
1537
1553
  subLabel: z.ZodOptional<z.ZodString>;
1538
1554
  subLabelScore: z.ZodOptional<z.ZodNumber>;
@@ -1540,6 +1556,7 @@ export declare const pipelineAnalyticsCapability: {
1540
1556
  stepId: z.ZodString;
1541
1557
  modelId: z.ZodOptional<z.ZodString>;
1542
1558
  decidedAt: z.ZodNumber;
1559
+ identityId: z.ZodOptional<z.ZodString>;
1543
1560
  }, z.core.$strip>>;
1544
1561
  trackId: z.ZodString;
1545
1562
  deviceId: z.ZodNumber;
@@ -1643,6 +1660,7 @@ export declare const pipelineAnalyticsCapability: {
1643
1660
  stepId: z.ZodString;
1644
1661
  modelId: z.ZodOptional<z.ZodString>;
1645
1662
  decidedAt: z.ZodNumber;
1663
+ identityId: z.ZodOptional<z.ZodString>;
1646
1664
  }, z.core.$strip>>;
1647
1665
  subLabel: z.ZodOptional<z.ZodString>;
1648
1666
  subLabelScore: z.ZodOptional<z.ZodNumber>;
@@ -1650,6 +1668,7 @@ export declare const pipelineAnalyticsCapability: {
1650
1668
  stepId: z.ZodString;
1651
1669
  modelId: z.ZodOptional<z.ZodString>;
1652
1670
  decidedAt: z.ZodNumber;
1671
+ identityId: z.ZodOptional<z.ZodString>;
1653
1672
  }, z.core.$strip>>;
1654
1673
  trackId: z.ZodString;
1655
1674
  deviceId: z.ZodNumber;
@@ -1735,6 +1754,7 @@ export declare const pipelineAnalyticsCapability: {
1735
1754
  stepId: z.ZodString;
1736
1755
  modelId: z.ZodOptional<z.ZodString>;
1737
1756
  decidedAt: z.ZodNumber;
1757
+ identityId: z.ZodOptional<z.ZodString>;
1738
1758
  }, z.core.$strip>>;
1739
1759
  subLabel: z.ZodOptional<z.ZodString>;
1740
1760
  subLabelScore: z.ZodOptional<z.ZodNumber>;
@@ -1742,6 +1762,7 @@ export declare const pipelineAnalyticsCapability: {
1742
1762
  stepId: z.ZodString;
1743
1763
  modelId: z.ZodOptional<z.ZodString>;
1744
1764
  decidedAt: z.ZodNumber;
1765
+ identityId: z.ZodOptional<z.ZodString>;
1745
1766
  }, z.core.$strip>>;
1746
1767
  kind: z.ZodLiteral<"object">;
1747
1768
  source: z.ZodOptional<z.ZodEnum<{
@@ -1939,6 +1960,7 @@ export declare const pipelineAnalyticsCapability: {
1939
1960
  stepId: z.ZodString;
1940
1961
  modelId: z.ZodOptional<z.ZodString>;
1941
1962
  decidedAt: z.ZodNumber;
1963
+ identityId: z.ZodOptional<z.ZodString>;
1942
1964
  }, z.core.$strip>>;
1943
1965
  subLabel: z.ZodOptional<z.ZodString>;
1944
1966
  subLabelScore: z.ZodOptional<z.ZodNumber>;
@@ -1946,6 +1968,7 @@ export declare const pipelineAnalyticsCapability: {
1946
1968
  stepId: z.ZodString;
1947
1969
  modelId: z.ZodOptional<z.ZodString>;
1948
1970
  decidedAt: z.ZodNumber;
1971
+ identityId: z.ZodOptional<z.ZodString>;
1949
1972
  }, z.core.$strip>>;
1950
1973
  id: z.ZodString;
1951
1974
  trackId: z.ZodString;
@@ -2868,6 +2891,7 @@ export declare const pipelineAnalyticsCapability: {
2868
2891
  stepId: z.ZodString;
2869
2892
  modelId: z.ZodOptional<z.ZodString>;
2870
2893
  decidedAt: z.ZodNumber;
2894
+ identityId: z.ZodOptional<z.ZodString>;
2871
2895
  }, z.core.$strip>>;
2872
2896
  subLabel: z.ZodOptional<z.ZodString>;
2873
2897
  subLabelScore: z.ZodOptional<z.ZodNumber>;
@@ -2875,6 +2899,7 @@ export declare const pipelineAnalyticsCapability: {
2875
2899
  stepId: z.ZodString;
2876
2900
  modelId: z.ZodOptional<z.ZodString>;
2877
2901
  decidedAt: z.ZodNumber;
2902
+ identityId: z.ZodOptional<z.ZodString>;
2878
2903
  }, z.core.$strip>>;
2879
2904
  kind: z.ZodLiteral<"object">;
2880
2905
  source: z.ZodOptional<z.ZodEnum<{
@@ -22,7 +22,7 @@ declare const SsoBridgeClaimsSchema: z.ZodObject<{
22
22
  email: z.ZodOptional<z.ZodString>;
23
23
  displayName: z.ZodOptional<z.ZodString>;
24
24
  hubUrl: z.ZodOptional<z.ZodString>;
25
- scopes: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
25
+ scopes: z.ZodOptional<z.ZodArray<z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
26
26
  type: z.ZodLiteral<"category">;
27
27
  target: z.ZodEnum<{
28
28
  system: "system";
@@ -51,13 +51,25 @@ declare const SsoBridgeClaimsSchema: z.ZodObject<{
51
51
  }>>;
52
52
  }, z.core.$strip>, z.ZodObject<{
53
53
  type: z.ZodLiteral<"device">;
54
- targets: z.ZodArray<z.ZodString>;
54
+ selector: z.ZodDiscriminatedUnion<[z.ZodObject<{
55
+ kind: z.ZodLiteral<"all">;
56
+ }, z.core.$strip>, z.ZodObject<{
57
+ kind: z.ZodLiteral<"ids">;
58
+ ids: z.ZodArray<z.ZodNumber>;
59
+ }, z.core.$strip>, z.ZodObject<{
60
+ kind: z.ZodLiteral<"types">;
61
+ types: z.ZodArray<z.ZodEnum<typeof import("../addon.js").DeviceType>>;
62
+ }, z.core.$strip>, z.ZodObject<{
63
+ kind: z.ZodLiteral<"locations">;
64
+ locations: z.ZodArray<z.ZodString>;
65
+ }, z.core.$strip>], "kind">;
55
66
  access: z.ZodArray<z.ZodEnum<{
56
67
  view: "view";
57
68
  create: "create";
58
69
  delete: "delete";
59
70
  }>>;
60
- }, z.core.$strip>], "type">>>;
71
+ includeLinked: z.ZodOptional<z.ZodBoolean>;
72
+ }, z.core.$strip>], "type">>>>;
61
73
  redirectUri: z.ZodOptional<z.ZodString>;
62
74
  integrationId: z.ZodOptional<z.ZodString>;
63
75
  jti: z.ZodOptional<z.ZodString>;
@@ -80,7 +92,7 @@ export declare const ssoBridgeCapability: {
80
92
  email: z.ZodOptional<z.ZodString>;
81
93
  displayName: z.ZodOptional<z.ZodString>;
82
94
  hubUrl: z.ZodOptional<z.ZodString>;
83
- scopes: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
95
+ scopes: z.ZodOptional<z.ZodArray<z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
84
96
  type: z.ZodLiteral<"category">;
85
97
  target: z.ZodEnum<{
86
98
  system: "system";
@@ -109,13 +121,25 @@ export declare const ssoBridgeCapability: {
109
121
  }>>;
110
122
  }, z.core.$strip>, z.ZodObject<{
111
123
  type: z.ZodLiteral<"device">;
112
- targets: z.ZodArray<z.ZodString>;
124
+ selector: z.ZodDiscriminatedUnion<[z.ZodObject<{
125
+ kind: z.ZodLiteral<"all">;
126
+ }, z.core.$strip>, z.ZodObject<{
127
+ kind: z.ZodLiteral<"ids">;
128
+ ids: z.ZodArray<z.ZodNumber>;
129
+ }, z.core.$strip>, z.ZodObject<{
130
+ kind: z.ZodLiteral<"types">;
131
+ types: z.ZodArray<z.ZodEnum<typeof import("../addon.js").DeviceType>>;
132
+ }, z.core.$strip>, z.ZodObject<{
133
+ kind: z.ZodLiteral<"locations">;
134
+ locations: z.ZodArray<z.ZodString>;
135
+ }, z.core.$strip>], "kind">;
113
136
  access: z.ZodArray<z.ZodEnum<{
114
137
  view: "view";
115
138
  create: "create";
116
139
  delete: "delete";
117
140
  }>>;
118
- }, z.core.$strip>], "type">>>;
141
+ includeLinked: z.ZodOptional<z.ZodBoolean>;
142
+ }, z.core.$strip>], "type">>>>;
119
143
  redirectUri: z.ZodOptional<z.ZodString>;
120
144
  integrationId: z.ZodOptional<z.ZodString>;
121
145
  jti: z.ZodOptional<z.ZodString>;
@@ -137,7 +161,7 @@ export declare const ssoBridgeCapability: {
137
161
  email: z.ZodOptional<z.ZodString>;
138
162
  displayName: z.ZodOptional<z.ZodString>;
139
163
  hubUrl: z.ZodOptional<z.ZodString>;
140
- scopes: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
164
+ scopes: z.ZodOptional<z.ZodArray<z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
141
165
  type: z.ZodLiteral<"category">;
142
166
  target: z.ZodEnum<{
143
167
  system: "system";
@@ -166,13 +190,25 @@ export declare const ssoBridgeCapability: {
166
190
  }>>;
167
191
  }, z.core.$strip>, z.ZodObject<{
168
192
  type: z.ZodLiteral<"device">;
169
- targets: z.ZodArray<z.ZodString>;
193
+ selector: z.ZodDiscriminatedUnion<[z.ZodObject<{
194
+ kind: z.ZodLiteral<"all">;
195
+ }, z.core.$strip>, z.ZodObject<{
196
+ kind: z.ZodLiteral<"ids">;
197
+ ids: z.ZodArray<z.ZodNumber>;
198
+ }, z.core.$strip>, z.ZodObject<{
199
+ kind: z.ZodLiteral<"types">;
200
+ types: z.ZodArray<z.ZodEnum<typeof import("../addon.js").DeviceType>>;
201
+ }, z.core.$strip>, z.ZodObject<{
202
+ kind: z.ZodLiteral<"locations">;
203
+ locations: z.ZodArray<z.ZodString>;
204
+ }, z.core.$strip>], "kind">;
170
205
  access: z.ZodArray<z.ZodEnum<{
171
206
  view: "view";
172
207
  create: "create";
173
208
  delete: "delete";
174
209
  }>>;
175
- }, z.core.$strip>], "type">>>;
210
+ includeLinked: z.ZodOptional<z.ZodBoolean>;
211
+ }, z.core.$strip>], "type">>>>;
176
212
  redirectUri: z.ZodOptional<z.ZodString>;
177
213
  integrationId: z.ZodOptional<z.ZodString>;
178
214
  jti: z.ZodOptional<z.ZodString>;