@camstack/types 0.1.32 → 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 (33) hide show
  1. package/dist/capabilities/mesh-network.cap.d.ts +54 -2
  2. package/dist/capabilities/mesh-network.cap.d.ts.map +1 -1
  3. package/dist/capabilities/mesh-orchestrator.cap.d.ts +67 -0
  4. package/dist/capabilities/mesh-orchestrator.cap.d.ts.map +1 -1
  5. package/dist/capabilities/nodes.cap.d.ts +23 -1
  6. package/dist/capabilities/nodes.cap.d.ts.map +1 -1
  7. package/dist/capabilities/user-management.cap.d.ts +4 -0
  8. package/dist/capabilities/user-management.cap.d.ts.map +1 -1
  9. package/dist/generated/addon-api.d.ts +266 -0
  10. package/dist/generated/addon-api.d.ts.map +1 -1
  11. package/dist/generated/method-access-map.d.ts +1 -1
  12. package/dist/generated/method-access-map.d.ts.map +1 -1
  13. package/dist/generated/system-proxy.d.ts +3 -3
  14. package/dist/generated/system-proxy.d.ts.map +1 -1
  15. package/dist/{index-BUBhoPUu.js → index-DRWlYskM.js} +161 -6
  16. package/dist/{index-BUBhoPUu.js.map → index-DRWlYskM.js.map} +1 -1
  17. package/dist/{index-BBVUwOlZ.mjs → index-YnRVILXN.mjs} +161 -6
  18. package/dist/{index-BBVUwOlZ.mjs.map → index-YnRVILXN.mjs.map} +1 -1
  19. package/dist/index.js +12 -2
  20. package/dist/index.js.map +1 -1
  21. package/dist/index.mjs +13 -3
  22. package/dist/index.mjs.map +1 -1
  23. package/dist/interfaces/api-responses.d.ts +6 -0
  24. package/dist/interfaces/api-responses.d.ts.map +1 -1
  25. package/dist/interfaces/storage.d.ts +1 -1
  26. package/dist/interfaces/storage.d.ts.map +1 -1
  27. package/dist/node.js +6 -6
  28. package/dist/node.js.map +1 -1
  29. package/dist/node.mjs +6 -6
  30. package/dist/node.mjs.map +1 -1
  31. package/dist/storage/filesystem-storage-provider.d.ts +1 -1
  32. package/dist/storage/filesystem-storage-provider.d.ts.map +1 -1
  33. package/package.json +1 -1
@@ -37,14 +37,29 @@ declare const MeshEndpointSchema: z.ZodObject<{
37
37
  }>;
38
38
  }, z.core.$strip>;
39
39
  export type MeshEndpoint = z.infer<typeof MeshEndpointSchema>;
40
- declare const MeshPeerSchema: z.ZodObject<{
40
+ export declare const MeshPeerSchema: z.ZodObject<{
41
41
  id: z.ZodString;
42
42
  hostname: z.ZodString;
43
+ magicDns: z.ZodString;
43
44
  addresses: z.ZodReadonly<z.ZodArray<z.ZodString>>;
44
45
  os: z.ZodOptional<z.ZodString>;
45
46
  online: z.ZodBoolean;
46
47
  lastSeenMs: z.ZodNumber;
47
48
  isSelf: z.ZodBoolean;
49
+ connection: z.ZodEnum<{
50
+ idle: "idle";
51
+ direct: "direct";
52
+ relay: "relay";
53
+ }>;
54
+ relay: z.ZodNullable<z.ZodString>;
55
+ lastHandshakeMs: z.ZodNumber;
56
+ rxBytes: z.ZodNumber;
57
+ txBytes: z.ZodNumber;
58
+ tags: z.ZodReadonly<z.ZodArray<z.ZodString>>;
59
+ exitNodeOption: z.ZodBoolean;
60
+ advertisedRoutes: z.ZodReadonly<z.ZodArray<z.ZodString>>;
61
+ userLogin: z.ZodNullable<z.ZodString>;
62
+ keyExpiry: z.ZodNullable<z.ZodNumber>;
48
63
  }, z.core.$strip>;
49
64
  export type MeshPeer = z.infer<typeof MeshPeerSchema>;
50
65
  declare const MeshStatusSchema: z.ZodObject<{
@@ -68,6 +83,11 @@ declare const MeshStatusSchema: z.ZodObject<{
68
83
  }>;
69
84
  }, z.core.$strip>>>;
70
85
  error: z.ZodOptional<z.ZodString>;
86
+ tenantName: z.ZodString;
87
+ magicDnsSuffix: z.ZodString;
88
+ userLogin: z.ZodNullable<z.ZodString>;
89
+ controlPlaneUrl: z.ZodString;
90
+ keyExpiry: z.ZodNullable<z.ZodNumber>;
71
91
  }, z.core.$strip>;
72
92
  export type MeshStatus = z.infer<typeof MeshStatusSchema>;
73
93
  /**
@@ -104,6 +124,11 @@ export declare const meshNetworkCapability: {
104
124
  }>;
105
125
  }, z.core.$strip>>>;
106
126
  error: z.ZodOptional<z.ZodString>;
127
+ tenantName: z.ZodString;
128
+ magicDnsSuffix: z.ZodString;
129
+ userLogin: z.ZodNullable<z.ZodString>;
130
+ controlPlaneUrl: z.ZodString;
131
+ keyExpiry: z.ZodNullable<z.ZodNumber>;
107
132
  }, z.core.$strip>, import("./capability-definition.js").CapabilityMethodKind>;
108
133
  /**
109
134
  * Join the host to the provider's mesh using a one-time auth key
@@ -135,20 +160,47 @@ export declare const meshNetworkCapability: {
135
160
  loginUrl: z.ZodString;
136
161
  }, z.core.$strip>, "mutation">;
137
162
  /** Leave the mesh. After this the meshIp/magicDnsHostname/etc.
138
- * vanish until the next `join`. */
163
+ * vanish until the next `join`. The bound account stays — a
164
+ * subsequent `join` reuses it without prompting for a new login. */
139
165
  readonly leave: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodObject<{
140
166
  left: z.ZodLiteral<true>;
141
167
  }, z.core.$strip>, "mutation">;
168
+ /**
169
+ * Sign out of the mesh account entirely. Distinct from `leave`:
170
+ * `leave` only takes the host off-mesh (`tailscale down`) while the
171
+ * account binding survives, so the next `join` reconnects silently.
172
+ * `logout` (`tailscale logout`) wipes the daemon's stored
173
+ * credentials — the next `startLogin` MUST go through a fresh
174
+ * browser-redirect flow to bind a new account.
175
+ */
176
+ readonly logout: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodObject<{
177
+ loggedOut: z.ZodLiteral<true>;
178
+ }, z.core.$strip>, "mutation">;
142
179
  /** Enumerate every peer the daemon currently knows about. */
143
180
  readonly listPeers: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodObject<{
144
181
  peers: z.ZodReadonly<z.ZodArray<z.ZodObject<{
145
182
  id: z.ZodString;
146
183
  hostname: z.ZodString;
184
+ magicDns: z.ZodString;
147
185
  addresses: z.ZodReadonly<z.ZodArray<z.ZodString>>;
148
186
  os: z.ZodOptional<z.ZodString>;
149
187
  online: z.ZodBoolean;
150
188
  lastSeenMs: z.ZodNumber;
151
189
  isSelf: z.ZodBoolean;
190
+ connection: z.ZodEnum<{
191
+ idle: "idle";
192
+ direct: "direct";
193
+ relay: "relay";
194
+ }>;
195
+ relay: z.ZodNullable<z.ZodString>;
196
+ lastHandshakeMs: z.ZodNumber;
197
+ rxBytes: z.ZodNumber;
198
+ txBytes: z.ZodNumber;
199
+ tags: z.ZodReadonly<z.ZodArray<z.ZodString>>;
200
+ exitNodeOption: z.ZodBoolean;
201
+ advertisedRoutes: z.ZodReadonly<z.ZodArray<z.ZodString>>;
202
+ userLogin: z.ZodNullable<z.ZodString>;
203
+ keyExpiry: z.ZodNullable<z.ZodNumber>;
152
204
  }, z.core.$strip>>>;
153
205
  }, z.core.$strip>, import("./capability-definition.js").CapabilityMethodKind>;
154
206
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"mesh-network.cap.d.ts","sourceRoot":"","sources":["../../src/capabilities/mesh-network.cap.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AACH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AACvB,OAAO,EAAqC,KAAK,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAElG;;;GAGG;AACH,QAAA,MAAM,kBAAkB;;;;;;;;;;;;;;iBAmBtB,CAAA;AAEF,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAA;AAE7D,QAAA,MAAM,cAAc;;;;;;;;iBAelB,CAAA;AAEF,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAA;AAErD,QAAA,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;iBAapB,CAAA;AAEF,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAA;AAEzD;;;;GAIG;A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;;;;;;;;;CA+BkC,CAAA;AAEzC,MAAM,MAAM,oBAAoB,GAAG,aAAa,CAAC,OAAO,qBAAqB,CAAC,CAAA"}
@@ -29,6 +29,11 @@ declare const MeshProviderInfoSchema: z.ZodObject<{
29
29
  }>;
30
30
  }, z.core.$strip>>>;
31
31
  error: z.ZodOptional<z.ZodString>;
32
+ tenantName: z.ZodString;
33
+ magicDnsSuffix: z.ZodString;
34
+ userLogin: z.ZodNullable<z.ZodString>;
35
+ controlPlaneUrl: z.ZodString;
36
+ keyExpiry: z.ZodNullable<z.ZodNumber>;
32
37
  }, z.core.$strip>;
33
38
  export type MeshProviderInfo = z.infer<typeof MeshProviderInfoSchema>;
34
39
  export declare const meshOrchestratorCapability: {
@@ -60,6 +65,11 @@ export declare const meshOrchestratorCapability: {
60
65
  }>;
61
66
  }, z.core.$strip>>>;
62
67
  error: z.ZodOptional<z.ZodString>;
68
+ tenantName: z.ZodString;
69
+ magicDnsSuffix: z.ZodString;
70
+ userLogin: z.ZodNullable<z.ZodString>;
71
+ controlPlaneUrl: z.ZodString;
72
+ keyExpiry: z.ZodNullable<z.ZodNumber>;
63
73
  }, z.core.$strip>>>, import("./capability-definition.js").CapabilityMethodKind>;
64
74
  /**
65
75
  * Join the mesh of a specific provider. Per-provider config still
@@ -77,6 +87,63 @@ export declare const meshOrchestratorCapability: {
77
87
  }, z.core.$strip>, z.ZodObject<{
78
88
  success: z.ZodLiteral<true>;
79
89
  }, z.core.$strip>, "mutation">;
90
+ /**
91
+ * Browser-redirect login flow. Forwards to the named provider's
92
+ * `mesh-network.startLogin` and returns the URL the daemon
93
+ * prints. UI opens it in a new tab, then polls `listProviders`
94
+ * for `joined: true`.
95
+ */
96
+ readonly startLoginProvider: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
97
+ addonId: z.ZodString;
98
+ hostname: z.ZodOptional<z.ZodString>;
99
+ }, z.core.$strip>, z.ZodObject<{
100
+ loginUrl: z.ZodString;
101
+ }, z.core.$strip>, "mutation">;
102
+ /**
103
+ * Sign out of the provider's account entirely (`mesh-network.logout`).
104
+ * Distinct from `leaveProvider` which only takes the host off-mesh;
105
+ * `logoutProvider` wipes credentials so the next start requires a
106
+ * fresh login.
107
+ */
108
+ readonly logoutProvider: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
109
+ addonId: z.ZodString;
110
+ }, z.core.$strip>, z.ZodObject<{
111
+ loggedOut: z.ZodLiteral<true>;
112
+ }, z.core.$strip>, "mutation">;
113
+ /**
114
+ * Per-provider peer list. Forwards to `mesh-network.listPeers` on
115
+ * the addressed provider. Separate from `listProviders` because
116
+ * peer payloads can be large on a heavily-populated tailnet —
117
+ * fetch only when the operator opens the Peers tab.
118
+ */
119
+ readonly listProviderPeers: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
120
+ addonId: z.ZodString;
121
+ }, z.core.$strip>, z.ZodObject<{
122
+ peers: z.ZodReadonly<z.ZodArray<z.ZodObject<{
123
+ id: z.ZodString;
124
+ hostname: z.ZodString;
125
+ magicDns: z.ZodString;
126
+ addresses: z.ZodReadonly<z.ZodArray<z.ZodString>>;
127
+ os: z.ZodOptional<z.ZodString>;
128
+ online: z.ZodBoolean;
129
+ lastSeenMs: z.ZodNumber;
130
+ isSelf: z.ZodBoolean;
131
+ connection: z.ZodEnum<{
132
+ idle: "idle";
133
+ direct: "direct";
134
+ relay: "relay";
135
+ }>;
136
+ relay: z.ZodNullable<z.ZodString>;
137
+ lastHandshakeMs: z.ZodNumber;
138
+ rxBytes: z.ZodNumber;
139
+ txBytes: z.ZodNumber;
140
+ tags: z.ZodReadonly<z.ZodArray<z.ZodString>>;
141
+ exitNodeOption: z.ZodBoolean;
142
+ advertisedRoutes: z.ZodReadonly<z.ZodArray<z.ZodString>>;
143
+ userLogin: z.ZodNullable<z.ZodString>;
144
+ keyExpiry: z.ZodNullable<z.ZodNumber>;
145
+ }, z.core.$strip>>>;
146
+ }, z.core.$strip>, import("./capability-definition.js").CapabilityMethodKind>;
80
147
  };
81
148
  };
82
149
  export type IMeshOrchestrator = InferProvider<typeof meshOrchestratorCapability>;
@@ -1 +1 @@
1
- {"version":3,"file":"mesh-orchestrator.cap.d.ts","sourceRoot":"","sources":["../../src/capabilities/mesh-orchestrator.cap.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AACvB,OAAO,EAAqC,KAAK,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAYlG,QAAA,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;iBAiB1B,CAAA;AAEF,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAA;AAErE,eAAO,MAAM,0BAA0B;;;;;QAKnC,2DAA2D;;;;;;;;;;;;;;;;;;;;;;;;;QAE3D;;;WAGG;;;;;;;;;;;;;;CAgBkC,CAAA;AAEzC,MAAM,MAAM,iBAAiB,GAAG,aAAa,CAAC,OAAO,0BAA0B,CAAC,CAAA"}
1
+ {"version":3,"file":"mesh-orchestrator.cap.d.ts","sourceRoot":"","sources":["../../src/capabilities/mesh-orchestrator.cap.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AACvB,OAAO,EAAqC,KAAK,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAalG,QAAA,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA6B1B,CAAA;AAEF,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAA;AAErE,eAAO,MAAM,0BAA0B;;;;;QAKnC,2DAA2D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAE3D;;;WAGG;;;;;;;;;;;;;QAgBH;;;;;WAKG;;;;;;;QAUH;;;;;WAKG;;;;;;QAOH;;;;;WAKG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAQkC,CAAA;AAEzC,MAAM,MAAM,iBAAiB,GAAG,aAAa,CAAC,OAAO,0BAA0B,CAAC,CAAA"}
@@ -86,6 +86,12 @@ declare const ClusterAddonStatusEntrySchema: z.ZodObject<{
86
86
  synced: z.ZodBoolean;
87
87
  }, z.core.$strip>>;
88
88
  }, z.core.$strip>;
89
+ declare const NodeAddonEntrySchema: z.ZodObject<{
90
+ id: z.ZodString;
91
+ status: z.ZodString;
92
+ version: z.ZodOptional<z.ZodString>;
93
+ packageName: z.ZodOptional<z.ZodString>;
94
+ }, z.core.$strip>;
89
95
  export declare const nodesCapability: {
90
96
  readonly name: "nodes";
91
97
  readonly scope: "system";
@@ -181,6 +187,22 @@ export declare const nodesCapability: {
181
187
  synced: z.ZodBoolean;
182
188
  }, z.core.$strip>>;
183
189
  }, z.core.$strip>>, import("./capability-definition.js").CapabilityMethodKind>;
190
+ /**
191
+ * Direct per-node addon listing — calls `$agent.status` on the target
192
+ * node (or returns the hub registry for `nodeId === 'hub'`) and surfaces
193
+ * the full addon roster including `version` + `packageName`. The
194
+ * `topology` cap also includes addons but strips them down to
195
+ * `{id, capabilities, status}` for the cluster diagram; this method
196
+ * is the one the per-node "Addons" tab should call.
197
+ */
198
+ readonly getNodeAddons: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
199
+ nodeId: z.ZodString;
200
+ }, z.core.$strip>, z.ZodReadonly<z.ZodArray<z.ZodObject<{
201
+ id: z.ZodString;
202
+ status: z.ZodString;
203
+ version: z.ZodOptional<z.ZodString>;
204
+ packageName: z.ZodOptional<z.ZodString>;
205
+ }, z.core.$strip>>>, import("./capability-definition.js").CapabilityMethodKind>;
184
206
  readonly setProcessLogLevel: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
185
207
  nodeId: z.ZodString;
186
208
  level: z.ZodString;
@@ -196,5 +218,5 @@ export declare const nodesCapability: {
196
218
  };
197
219
  };
198
220
  export type INodesProvider = InferProvider<typeof nodesCapability>;
199
- export { TopologyNodeSchema, TopologyProcessSchema, TopologyServiceSchema, ClusterAddonStatusEntrySchema, ClusterAddonNodeDeploymentSchema, };
221
+ export { TopologyNodeSchema, TopologyProcessSchema, TopologyServiceSchema, ClusterAddonStatusEntrySchema, ClusterAddonNodeDeploymentSchema, NodeAddonEntrySchema, };
200
222
  //# sourceMappingURL=nodes.cap.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"nodes.cap.d.ts","sourceRoot":"","sources":["../../src/capabilities/nodes.cap.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AACvB,OAAO,EAAqC,KAAK,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAElG;;;;;;;;;;;;GAYG;AAIH,QAAA,MAAM,qBAAqB;;;;iBAIzB,CAAA;AAEF,QAAA,MAAM,qBAAqB;;;;;;;;;;;;;iBASzB,CAAA;AAEF,QAAA,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAyBtB,CAAA;AAIF,QAAA,MAAM,gCAAgC;;;;;;iBAMpC,CAAA;AAEF,QAAA,MAAM,6BAA6B;;;;;;;;;iBAGjC,CAAA;AA0BF,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+Da,CAAA;AAEzC,MAAM,MAAM,cAAc,GAAG,aAAa,CAAC,OAAO,eAAe,CAAC,CAAA;AAElE,OAAO,EACL,kBAAkB,EAClB,qBAAqB,EACrB,qBAAqB,EACrB,6BAA6B,EAC7B,gCAAgC,GACjC,CAAA"}
1
+ {"version":3,"file":"nodes.cap.d.ts","sourceRoot":"","sources":["../../src/capabilities/nodes.cap.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AACvB,OAAO,EAAqC,KAAK,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAElG;;;;;;;;;;;;GAYG;AAIH,QAAA,MAAM,qBAAqB;;;;iBAIzB,CAAA;AAEF,QAAA,MAAM,qBAAqB;;;;;;;;;;;;;iBASzB,CAAA;AAEF,QAAA,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAyBtB,CAAA;AAIF,QAAA,MAAM,gCAAgC;;;;;;iBAMpC,CAAA;AAEF,QAAA,MAAM,6BAA6B;;;;;;;;;iBAGjC,CAAA;AASF,QAAA,MAAM,oBAAoB;;;;;iBAKxB,CAAA;AAmBF,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QA+CxB;;;;;;;WAOG;;;;;;;;;;;;;;;;;;;;;;CAsBkC,CAAA;AAEzC,MAAM,MAAM,cAAc,GAAG,aAAa,CAAC,OAAO,eAAe,CAAC,CAAA;AAElE,OAAO,EACL,kBAAkB,EAClB,qBAAqB,EACrB,qBAAqB,EACrB,6BAA6B,EAC7B,gCAAgC,EAChC,oBAAoB,GACrB,CAAA"}
@@ -42,6 +42,7 @@ declare const UserSummarySchema: z.ZodObject<{
42
42
  delete: "delete";
43
43
  }>>;
44
44
  }, z.core.$strip>], "type">>>;
45
+ totpEnabled: z.ZodDefault<z.ZodBoolean>;
45
46
  createdAt: z.ZodNumber;
46
47
  updatedAt: z.ZodNumber;
47
48
  }, z.core.$strip>;
@@ -350,6 +351,7 @@ export declare const userManagementCapability: {
350
351
  delete: "delete";
351
352
  }>>;
352
353
  }, z.core.$strip>], "type">>>;
354
+ totpEnabled: z.ZodDefault<z.ZodBoolean>;
353
355
  createdAt: z.ZodNumber;
354
356
  updatedAt: z.ZodNumber;
355
357
  }, z.core.$strip>>, import("./capability-definition.js").CapabilityMethodKind>;
@@ -437,6 +439,7 @@ export declare const userManagementCapability: {
437
439
  delete: "delete";
438
440
  }>>;
439
441
  }, z.core.$strip>], "type">>>;
442
+ totpEnabled: z.ZodDefault<z.ZodBoolean>;
440
443
  createdAt: z.ZodNumber;
441
444
  updatedAt: z.ZodNumber;
442
445
  }, z.core.$strip>, "mutation">;
@@ -581,6 +584,7 @@ export declare const userManagementCapability: {
581
584
  delete: "delete";
582
585
  }>>;
583
586
  }, z.core.$strip>], "type">>>;
587
+ totpEnabled: z.ZodDefault<z.ZodBoolean>;
584
588
  createdAt: z.ZodNumber;
585
589
  updatedAt: z.ZodNumber;
586
590
  passwordHash: z.ZodString;
@@ -1 +1 @@
1
- {"version":3,"file":"user-management.cap.d.ts","sourceRoot":"","sources":["../../src/capabilities/user-management.cap.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AACvB,OAAO,EAAqC,KAAK,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAMlG,QAAA,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBASrB,CAAA;AAEF,QAAA,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAOzB,CAAA;AAEF,QAAA,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAMzB,CAAA;AAEF,QAAA,MAAM,mBAAmB;;;;;;;;;iBASvB,CAAA;AAEF,QAAA,MAAM,uBAAuB;;;;;iBAK3B,CAAA;AAEF,QAAA,MAAM,wBAAwB;;;;;;;;;;;;iBAG5B,CAAA;AAEF,QAAA,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAS5B,CAAA;AAEF,QAAA,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAKhC,CAAA;AAEF,QAAA,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;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