@camstack/types 1.2.347 → 1.2.348

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.
@@ -46,6 +46,7 @@ export declare const calendarSourceCapability: {
46
46
  readonly scope: 'system';
47
47
  readonly mode: 'collection';
48
48
  readonly internal: true;
49
+ readonly providerKind: 'calendar';
49
50
  readonly methods: {
50
51
  readonly listCalendars: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodReadonly<z.ZodArray<z.ZodObject<{
51
52
  id: z.ZodString;
@@ -61,11 +61,12 @@ export type CapabilityMethodCaller = 'required';
61
61
  *
62
62
  * - `broker` — message brokers (MQTT, future Kafka)
63
63
  * - `device-export` — outbound exporters (HomeKit, Alexa, HA-MQTT)
64
- * - `email` — email delivery relays (SMTP, future SendGrid)
64
+ * - `email` — email delivery relays (SMTP, Gmail API, …)
65
+ * - `calendar` — calendar sources (Google Calendar, waste, HA, …)
65
66
  * - `mesh` — mesh-VPN providers (Tailscale, Headscale, …)
66
67
  * - `ingress` — public-ingress tunnels (Cloudflare Tunnel, …)
67
68
  */
68
- export type ProviderKind = 'broker' | 'device-export' | 'email' | 'mesh' | 'ingress' | 'ai';
69
+ export type ProviderKind = 'broker' | 'device-export' | 'email' | 'calendar' | 'mesh' | 'ingress' | 'ai';
69
70
  /**
70
71
  * Access flavour for a capability method. Drives the scope-access check
71
72
  * in `protectedProcedure`. Default inferred at codegen time:
@@ -8,7 +8,7 @@
8
8
  * `providerKind` set lights up its section on that page automatically
9
9
  * — no manual registry edit required.
10
10
  *
11
- * Coverage: 7 capabilities tagged with providerKind.
11
+ * Coverage: 8 capabilities tagged with providerKind.
12
12
  */
13
13
  import type { ProviderKind } from '../capabilities/capability-definition.js';
14
14
  export declare const CAP_PROVIDER_KIND_MAP: Readonly<Record<string, ProviderKind>>;
package/dist/index.js CHANGED
@@ -37233,6 +37233,7 @@ var calendarSourceCapability = {
37233
37233
  scope: "system",
37234
37234
  mode: "collection",
37235
37235
  internal: true,
37236
+ providerKind: "calendar",
37236
37237
  methods: {
37237
37238
  listCalendars: require_sleep.method(zod.z.void(), zod.z.array(CalendarInfoSchema).readonly(), { auth: "admin" }),
37238
37239
  listEvents: require_sleep.method(CalendarListEventsInputSchema, zod.z.array(CalendarEventSchema).readonly(), { auth: "admin" })
@@ -69452,6 +69453,7 @@ var SYSTEM_SCOPE_DEVICE_METHODS = [
69452
69453
  //#region src/generated/provider-kind-map.ts
69453
69454
  var CAP_PROVIDER_KIND_MAP = Object.freeze({
69454
69455
  "broker": "broker",
69456
+ "calendar-source": "calendar",
69455
69457
  "device-export": "device-export",
69456
69458
  "llm": "ai",
69457
69459
  "mesh-network": "mesh",
@@ -69462,6 +69464,7 @@ var CAP_PROVIDER_KIND_MAP = Object.freeze({
69462
69464
  /** Every cap name tagged with a `providerKind`. */
69463
69465
  var PROVIDER_KIND_CAP_NAMES = [
69464
69466
  "broker",
69467
+ "calendar-source",
69465
69468
  "device-export",
69466
69469
  "llm",
69467
69470
  "mesh-network",
package/dist/index.mjs CHANGED
@@ -37232,6 +37232,7 @@ var calendarSourceCapability = {
37232
37232
  scope: "system",
37233
37233
  mode: "collection",
37234
37234
  internal: true,
37235
+ providerKind: "calendar",
37235
37236
  methods: {
37236
37237
  listCalendars: method(z.void(), z.array(CalendarInfoSchema).readonly(), { auth: "admin" }),
37237
37238
  listEvents: method(CalendarListEventsInputSchema, z.array(CalendarEventSchema).readonly(), { auth: "admin" })
@@ -69451,6 +69452,7 @@ var SYSTEM_SCOPE_DEVICE_METHODS = [
69451
69452
  //#region src/generated/provider-kind-map.ts
69452
69453
  var CAP_PROVIDER_KIND_MAP = Object.freeze({
69453
69454
  "broker": "broker",
69455
+ "calendar-source": "calendar",
69454
69456
  "device-export": "device-export",
69455
69457
  "llm": "ai",
69456
69458
  "mesh-network": "mesh",
@@ -69461,6 +69463,7 @@ var CAP_PROVIDER_KIND_MAP = Object.freeze({
69461
69463
  /** Every cap name tagged with a `providerKind`. */
69462
69464
  var PROVIDER_KIND_CAP_NAMES = [
69463
69465
  "broker",
69466
+ "calendar-source",
69464
69467
  "device-export",
69465
69468
  "llm",
69466
69469
  "mesh-network",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/types",
3
- "version": "1.2.347",
3
+ "version": "1.2.348",
4
4
  "description": "Shared types, interfaces, and model catalogs for the CamStack detection ecosystem",
5
5
  "keywords": [
6
6
  "camstack",