@camstack/types 0.1.31 → 0.1.33

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.
Files changed (90) hide show
  1. package/dist/capabilities/admin-ui.cap.d.ts +6 -2
  2. package/dist/capabilities/admin-ui.cap.d.ts.map +1 -1
  3. package/dist/capabilities/advanced-notifier.cap.d.ts +202 -29
  4. package/dist/capabilities/advanced-notifier.cap.d.ts.map +1 -1
  5. package/dist/capabilities/audio-codec.cap.d.ts +2 -2
  6. package/dist/capabilities/capability-definition.d.ts +22 -0
  7. package/dist/capabilities/capability-definition.d.ts.map +1 -1
  8. package/dist/capabilities/device-export.cap.d.ts +77 -0
  9. package/dist/capabilities/device-export.cap.d.ts.map +1 -0
  10. package/dist/capabilities/embedding-encoder.cap.d.ts +14 -7
  11. package/dist/capabilities/embedding-encoder.cap.d.ts.map +1 -1
  12. package/dist/capabilities/index.d.ts +15 -11
  13. package/dist/capabilities/index.d.ts.map +1 -1
  14. package/dist/capabilities/intercom.cap.d.ts +34 -0
  15. package/dist/capabilities/intercom.cap.d.ts.map +1 -1
  16. package/dist/capabilities/mesh-network.cap.d.ts +72 -22
  17. package/dist/capabilities/mesh-network.cap.d.ts.map +1 -1
  18. package/dist/capabilities/mesh-orchestrator.cap.d.ts +67 -0
  19. package/dist/capabilities/mesh-orchestrator.cap.d.ts.map +1 -1
  20. package/dist/capabilities/mqtt-broker.cap.d.ts +153 -0
  21. package/dist/capabilities/mqtt-broker.cap.d.ts.map +1 -0
  22. package/dist/capabilities/network-access.cap.d.ts +41 -1
  23. package/dist/capabilities/network-access.cap.d.ts.map +1 -1
  24. package/dist/capabilities/nodes.cap.d.ts +23 -1
  25. package/dist/capabilities/nodes.cap.d.ts.map +1 -1
  26. package/dist/capabilities/platform-probe.cap.d.ts +234 -15
  27. package/dist/capabilities/platform-probe.cap.d.ts.map +1 -1
  28. package/dist/capabilities/smtp-provider.cap.d.ts +11 -10
  29. package/dist/capabilities/smtp-provider.cap.d.ts.map +1 -1
  30. package/dist/capabilities/sso-bridge.cap.d.ts +3 -0
  31. package/dist/capabilities/sso-bridge.cap.d.ts.map +1 -1
  32. package/dist/capabilities/stream-broker.cap.d.ts +90 -85
  33. package/dist/capabilities/stream-broker.cap.d.ts.map +1 -1
  34. package/dist/capabilities/user-management.cap.d.ts +4 -0
  35. package/dist/capabilities/user-management.cap.d.ts.map +1 -1
  36. package/dist/capabilities/webrtc-session.cap.d.ts +34 -0
  37. package/dist/capabilities/webrtc-session.cap.d.ts.map +1 -1
  38. package/dist/enums/event-category.d.ts +1 -8
  39. package/dist/enums/event-category.d.ts.map +1 -1
  40. package/dist/generated/addon-api.d.ts +13377 -10829
  41. package/dist/generated/addon-api.d.ts.map +1 -1
  42. package/dist/generated/cap-status-types.d.ts +5 -1
  43. package/dist/generated/cap-status-types.d.ts.map +1 -1
  44. package/dist/generated/capability-router-map.d.ts +7 -7
  45. package/dist/generated/capability-router-map.d.ts.map +1 -1
  46. package/dist/generated/device-proxy.d.ts +2 -0
  47. package/dist/generated/device-proxy.d.ts.map +1 -1
  48. package/dist/generated/method-access-map.d.ts +1 -1
  49. package/dist/generated/method-access-map.d.ts.map +1 -1
  50. package/dist/generated/provider-kind-map.d.ts +22 -0
  51. package/dist/generated/provider-kind-map.d.ts.map +1 -0
  52. package/dist/generated/system-proxy.d.ts +9 -5
  53. package/dist/generated/system-proxy.d.ts.map +1 -1
  54. package/dist/{index-BKifir_y.js → index-DRWlYskM.js} +541 -355
  55. package/dist/index-DRWlYskM.js.map +1 -0
  56. package/dist/{index-BKnvgAep.mjs → index-YnRVILXN.mjs} +801 -615
  57. package/dist/index-YnRVILXN.mjs.map +1 -0
  58. package/dist/index.d.ts +2 -0
  59. package/dist/index.d.ts.map +1 -1
  60. package/dist/index.js +119 -40
  61. package/dist/index.js.map +1 -1
  62. package/dist/index.mjs +376 -297
  63. package/dist/index.mjs.map +1 -1
  64. package/dist/interfaces/addon.d.ts +14 -3
  65. package/dist/interfaces/addon.d.ts.map +1 -1
  66. package/dist/interfaces/advanced-notifier.d.ts +8 -7
  67. package/dist/interfaces/advanced-notifier.d.ts.map +1 -1
  68. package/dist/interfaces/api-responses.d.ts +6 -0
  69. package/dist/interfaces/api-responses.d.ts.map +1 -1
  70. package/dist/interfaces/capability.d.ts +6 -6
  71. package/dist/interfaces/capability.d.ts.map +1 -1
  72. package/dist/interfaces/embedding-encoder.d.ts +16 -7
  73. package/dist/interfaces/embedding-encoder.d.ts.map +1 -1
  74. package/dist/interfaces/rtp-egress.d.ts +45 -0
  75. package/dist/interfaces/rtp-egress.d.ts.map +1 -0
  76. package/dist/interfaces/storage.d.ts +1 -1
  77. package/dist/interfaces/storage.d.ts.map +1 -1
  78. package/dist/node.js +6 -6
  79. package/dist/node.js.map +1 -1
  80. package/dist/node.mjs +6 -6
  81. package/dist/node.mjs.map +1 -1
  82. package/dist/storage/filesystem-storage-provider.d.ts +1 -1
  83. package/dist/storage/filesystem-storage-provider.d.ts.map +1 -1
  84. package/package.json +1 -1
  85. package/dist/capabilities/home-assistant.cap.d.ts +0 -138
  86. package/dist/capabilities/home-assistant.cap.d.ts.map +0 -1
  87. package/dist/capabilities/mqtt-provider.cap.d.ts +0 -91
  88. package/dist/capabilities/mqtt-provider.cap.d.ts.map +0 -1
  89. package/dist/index-BKifir_y.js.map +0 -1
  90. package/dist/index-BKnvgAep.mjs.map +0 -1
@@ -1,91 +0,0 @@
1
- import { z } from 'zod';
2
- import { type InferProvider } from './capability-definition.js';
3
- declare const PublishInputSchema: z.ZodObject<{
4
- topic: z.ZodString;
5
- payload: z.ZodString;
6
- qos: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
7
- retain: z.ZodDefault<z.ZodBoolean>;
8
- }, z.core.$strip>;
9
- declare const SubscribeInputSchema: z.ZodObject<{
10
- topic: z.ZodString;
11
- qos: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
12
- owner: z.ZodOptional<z.ZodString>;
13
- }, z.core.$strip>;
14
- declare const SubscribeResultSchema: z.ZodObject<{
15
- success: z.ZodLiteral<true>;
16
- subscriptionId: z.ZodString;
17
- }, z.core.$strip>;
18
- declare const UnsubscribeInputSchema: z.ZodObject<{
19
- subscriptionId: z.ZodString;
20
- }, z.core.$strip>;
21
- declare const MqttStatusSchema: z.ZodObject<{
22
- connected: z.ZodBoolean;
23
- brokerUrl: z.ZodString;
24
- subscriptionCount: z.ZodNumber;
25
- error: z.ZodOptional<z.ZodString>;
26
- connectedAt: z.ZodOptional<z.ZodNumber>;
27
- }, z.core.$strip>;
28
- declare const SubscriptionInfoSchema: z.ZodObject<{
29
- subscriptionId: z.ZodString;
30
- topic: z.ZodString;
31
- qos: z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>]>;
32
- owner: z.ZodString;
33
- createdAt: z.ZodNumber;
34
- }, z.core.$strip>;
35
- export declare const mqttProviderCapability: {
36
- readonly name: "mqtt-provider";
37
- readonly scope: "system";
38
- readonly mode: "collection";
39
- readonly internal: true;
40
- readonly methods: {
41
- /** Publish a message. Lazy-opens the connection if not yet active. */
42
- readonly publish: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
43
- topic: z.ZodString;
44
- payload: z.ZodString;
45
- qos: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
46
- retain: z.ZodDefault<z.ZodBoolean>;
47
- }, z.core.$strip>, z.ZodObject<{
48
- success: z.ZodLiteral<true>;
49
- }, z.core.$strip>, "mutation">;
50
- /**
51
- * Subscribe to a topic. Returns a `subscriptionId` to pass to
52
- * `unsubscribe`. The addon refcounts broker subscriptions —
53
- * multiple consumers on the same topic share one upstream sub.
54
- * Messages arrive on `mqtt.message` events with `subscriptionIds[]`
55
- * listing which subscriptions matched.
56
- */
57
- readonly subscribe: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
58
- topic: z.ZodString;
59
- qos: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
60
- owner: z.ZodOptional<z.ZodString>;
61
- }, z.core.$strip>, z.ZodObject<{
62
- success: z.ZodLiteral<true>;
63
- subscriptionId: z.ZodString;
64
- }, z.core.$strip>, "mutation">;
65
- /** Release a specific subscription. Tears down the broker sub
66
- * only when the last owner releases. Idempotent. */
67
- readonly unsubscribe: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
68
- subscriptionId: z.ZodString;
69
- }, z.core.$strip>, z.ZodObject<{
70
- success: z.ZodLiteral<true>;
71
- }, z.core.$strip>, "mutation">;
72
- /** List active per-owner subscriptions on this provider. */
73
- readonly listSubscriptions: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodArray<z.ZodObject<{
74
- subscriptionId: z.ZodString;
75
- topic: z.ZodString;
76
- qos: z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>]>;
77
- owner: z.ZodString;
78
- createdAt: z.ZodNumber;
79
- }, z.core.$strip>>, import("./capability-definition.js").CapabilityMethodKind>;
80
- readonly getStatus: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodObject<{
81
- connected: z.ZodBoolean;
82
- brokerUrl: z.ZodString;
83
- subscriptionCount: z.ZodNumber;
84
- error: z.ZodOptional<z.ZodString>;
85
- connectedAt: z.ZodOptional<z.ZodNumber>;
86
- }, z.core.$strip>, import("./capability-definition.js").CapabilityMethodKind>;
87
- };
88
- };
89
- export type IMqttProvider = InferProvider<typeof mqttProviderCapability>;
90
- export { PublishInputSchema, SubscribeInputSchema, SubscribeResultSchema, UnsubscribeInputSchema, MqttStatusSchema, SubscriptionInfoSchema, };
91
- //# sourceMappingURL=mqtt-provider.cap.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"mqtt-provider.cap.d.ts","sourceRoot":"","sources":["../../src/capabilities/mqtt-provider.cap.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AACvB,OAAO,EAAqC,KAAK,aAAa,EAAE,MAAM,4BAA4B,CAAA;AA6BlG,QAAA,MAAM,kBAAkB;;;;;iBAMtB,CAAA;AAEF,QAAA,MAAM,oBAAoB;;;;iBAUxB,CAAA;AAEF,QAAA,MAAM,qBAAqB;;;iBAIzB,CAAA;AAEF,QAAA,MAAM,sBAAsB;;iBAG1B,CAAA;AAEF,QAAA,MAAM,gBAAgB;;;;;;iBAWpB,CAAA;AAEF,QAAA,MAAM,sBAAsB;;;;;;iBAO1B,CAAA;AAEF,eAAO,MAAM,sBAAsB;;;;;;QAM/B,sEAAsE;;;;;;;;;QAMtE;;;;;;WAMG;;;;;;;;;QAMH;6DACqD;;;;;;QAMrD,4DAA4D;;;;;;;;;;;;;;;;CAYvB,CAAA;AAEzC,MAAM,MAAM,aAAa,GAAG,aAAa,CAAC,OAAO,sBAAsB,CAAC,CAAA;AACxE,OAAO,EACL,kBAAkB,EAClB,oBAAoB,EACpB,qBAAqB,EACrB,sBAAsB,EACtB,gBAAgB,EAChB,sBAAsB,GACvB,CAAA"}