@qlever-llc/trellis 0.10.9 → 0.10.11

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 (220) hide show
  1. package/esm/client.d.ts +2 -0
  2. package/esm/client.d.ts.map +1 -1
  3. package/esm/client.js +2 -0
  4. package/esm/client_connect.d.ts +3 -2
  5. package/esm/client_connect.d.ts.map +1 -1
  6. package/esm/client_connect.js +4 -1
  7. package/esm/generated-sdk/auth/api.d.ts.map +1 -1
  8. package/esm/generated-sdk/auth/client.d.ts.map +1 -1
  9. package/esm/generated-sdk/auth/contract.d.ts.map +1 -1
  10. package/esm/generated-sdk/auth/contract.js +9590 -7
  11. package/esm/generated-sdk/auth/mod.d.ts +3 -3
  12. package/esm/generated-sdk/auth/mod.d.ts.map +1 -1
  13. package/esm/generated-sdk/auth/mod.js +1 -1
  14. package/esm/generated-sdk/auth/owned_api.d.ts.map +1 -1
  15. package/esm/generated-sdk/auth/owned_api.js +305 -62
  16. package/esm/generated-sdk/auth/schemas.d.ts.map +1 -1
  17. package/esm/generated-sdk/auth/schemas.js +6492 -139
  18. package/esm/generated-sdk/auth/types.d.ts +254 -254
  19. package/esm/generated-sdk/auth/types.d.ts.map +1 -1
  20. package/esm/generated-sdk/health/api.d.ts.map +1 -1
  21. package/esm/generated-sdk/health/client.d.ts.map +1 -1
  22. package/esm/generated-sdk/health/contract.d.ts.map +1 -1
  23. package/esm/generated-sdk/health/contract.js +117 -7
  24. package/esm/generated-sdk/health/mod.d.ts +2 -2
  25. package/esm/generated-sdk/health/mod.d.ts.map +1 -1
  26. package/esm/generated-sdk/health/mod.js +1 -1
  27. package/esm/generated-sdk/health/owned_api.d.ts.map +1 -1
  28. package/esm/generated-sdk/health/schemas.d.ts.map +1 -1
  29. package/esm/generated-sdk/health/schemas.js +79 -1
  30. package/esm/generated-sdk/health/types.d.ts +4 -4
  31. package/esm/generated-sdk/health/types.d.ts.map +1 -1
  32. package/esm/generated-sdk/jobs/api.d.ts.map +1 -1
  33. package/esm/generated-sdk/jobs/api.js +12 -4
  34. package/esm/generated-sdk/jobs/client.d.ts.map +1 -1
  35. package/esm/generated-sdk/jobs/contract.d.ts.map +1 -1
  36. package/esm/generated-sdk/jobs/contract.js +1080 -7
  37. package/esm/generated-sdk/jobs/mod.d.ts +2 -2
  38. package/esm/generated-sdk/jobs/mod.d.ts.map +1 -1
  39. package/esm/generated-sdk/jobs/mod.js +1 -1
  40. package/esm/generated-sdk/jobs/owned_api.d.ts.map +1 -1
  41. package/esm/generated-sdk/jobs/owned_api.js +26 -6
  42. package/esm/generated-sdk/jobs/schemas.d.ts.map +1 -1
  43. package/esm/generated-sdk/jobs/schemas.js +768 -18
  44. package/esm/generated-sdk/jobs/types.d.ts +14 -14
  45. package/esm/generated-sdk/jobs/types.d.ts.map +1 -1
  46. package/esm/generated-sdk/state/api.d.ts.map +1 -1
  47. package/esm/generated-sdk/state/api.js +3 -1
  48. package/esm/generated-sdk/state/client.d.ts.map +1 -1
  49. package/esm/generated-sdk/state/contract.d.ts.map +1 -1
  50. package/esm/generated-sdk/state/contract.js +638 -7
  51. package/esm/generated-sdk/state/mod.d.ts +2 -2
  52. package/esm/generated-sdk/state/mod.d.ts.map +1 -1
  53. package/esm/generated-sdk/state/mod.js +1 -1
  54. package/esm/generated-sdk/state/owned_api.d.ts.map +1 -1
  55. package/esm/generated-sdk/state/owned_api.js +36 -8
  56. package/esm/generated-sdk/state/schemas.d.ts.map +1 -1
  57. package/esm/generated-sdk/state/schemas.js +441 -14
  58. package/esm/generated-sdk/state/types.d.ts +15 -15
  59. package/esm/generated-sdk/state/types.d.ts.map +1 -1
  60. package/esm/generated-sdk/trellis-core/api.d.ts.map +1 -1
  61. package/esm/generated-sdk/trellis-core/client.d.ts.map +1 -1
  62. package/esm/generated-sdk/trellis-core/contract.d.ts.map +1 -1
  63. package/esm/generated-sdk/trellis-core/contract.js +744 -7
  64. package/esm/generated-sdk/trellis-core/mod.d.ts +2 -2
  65. package/esm/generated-sdk/trellis-core/mod.d.ts.map +1 -1
  66. package/esm/generated-sdk/trellis-core/mod.js +1 -1
  67. package/esm/generated-sdk/trellis-core/owned_api.d.ts.map +1 -1
  68. package/esm/generated-sdk/trellis-core/owned_api.js +1 -1
  69. package/esm/generated-sdk/trellis-core/schemas.d.ts.map +1 -1
  70. package/esm/generated-sdk/trellis-core/schemas.js +626 -8
  71. package/esm/generated-sdk/trellis-core/types.d.ts +14 -14
  72. package/esm/generated-sdk/trellis-core/types.d.ts.map +1 -1
  73. package/esm/server/health.d.ts.map +1 -1
  74. package/esm/server/health.js +34 -3
  75. package/esm/server/service.d.ts +35 -13
  76. package/esm/server/service.d.ts.map +1 -1
  77. package/esm/server/service.js +33 -3
  78. package/esm/server.d.ts.map +1 -1
  79. package/esm/server.js +49 -8
  80. package/esm/service/deno.d.ts +1 -1
  81. package/esm/service/deno.d.ts.map +1 -1
  82. package/esm/service/mod.d.ts +1 -1
  83. package/esm/service/mod.d.ts.map +1 -1
  84. package/esm/service/node.d.ts +1 -1
  85. package/esm/service/node.d.ts.map +1 -1
  86. package/esm/trellis.d.ts +28 -4
  87. package/esm/trellis.d.ts.map +1 -1
  88. package/esm/trellis.js +117 -26
  89. package/package.json +2 -2
  90. package/script/client.d.ts +2 -0
  91. package/script/client.d.ts.map +1 -1
  92. package/script/client.js +2 -0
  93. package/script/client_connect.d.ts +3 -2
  94. package/script/client_connect.d.ts.map +1 -1
  95. package/script/client_connect.js +4 -1
  96. package/script/generated-sdk/auth/api.d.ts.map +1 -1
  97. package/script/generated-sdk/auth/client.d.ts.map +1 -1
  98. package/script/generated-sdk/auth/contract.d.ts.map +1 -1
  99. package/script/generated-sdk/auth/contract.js +9590 -7
  100. package/script/generated-sdk/auth/mod.d.ts +3 -3
  101. package/script/generated-sdk/auth/mod.d.ts.map +1 -1
  102. package/script/generated-sdk/auth/mod.js +2 -2
  103. package/script/generated-sdk/auth/owned_api.d.ts.map +1 -1
  104. package/script/generated-sdk/auth/owned_api.js +304 -61
  105. package/script/generated-sdk/auth/schemas.d.ts.map +1 -1
  106. package/script/generated-sdk/auth/schemas.js +6492 -139
  107. package/script/generated-sdk/auth/types.d.ts +254 -254
  108. package/script/generated-sdk/auth/types.d.ts.map +1 -1
  109. package/script/generated-sdk/health/api.d.ts.map +1 -1
  110. package/script/generated-sdk/health/client.d.ts.map +1 -1
  111. package/script/generated-sdk/health/contract.d.ts.map +1 -1
  112. package/script/generated-sdk/health/contract.js +117 -7
  113. package/script/generated-sdk/health/mod.d.ts +2 -2
  114. package/script/generated-sdk/health/mod.d.ts.map +1 -1
  115. package/script/generated-sdk/health/mod.js +2 -2
  116. package/script/generated-sdk/health/owned_api.d.ts.map +1 -1
  117. package/script/generated-sdk/health/schemas.d.ts.map +1 -1
  118. package/script/generated-sdk/health/schemas.js +79 -1
  119. package/script/generated-sdk/health/types.d.ts +4 -4
  120. package/script/generated-sdk/health/types.d.ts.map +1 -1
  121. package/script/generated-sdk/jobs/api.d.ts.map +1 -1
  122. package/script/generated-sdk/jobs/api.js +12 -4
  123. package/script/generated-sdk/jobs/client.d.ts.map +1 -1
  124. package/script/generated-sdk/jobs/contract.d.ts.map +1 -1
  125. package/script/generated-sdk/jobs/contract.js +1080 -7
  126. package/script/generated-sdk/jobs/mod.d.ts +2 -2
  127. package/script/generated-sdk/jobs/mod.d.ts.map +1 -1
  128. package/script/generated-sdk/jobs/mod.js +2 -2
  129. package/script/generated-sdk/jobs/owned_api.d.ts.map +1 -1
  130. package/script/generated-sdk/jobs/owned_api.js +25 -5
  131. package/script/generated-sdk/jobs/schemas.d.ts.map +1 -1
  132. package/script/generated-sdk/jobs/schemas.js +768 -18
  133. package/script/generated-sdk/jobs/types.d.ts +14 -14
  134. package/script/generated-sdk/jobs/types.d.ts.map +1 -1
  135. package/script/generated-sdk/state/api.d.ts.map +1 -1
  136. package/script/generated-sdk/state/api.js +3 -1
  137. package/script/generated-sdk/state/client.d.ts.map +1 -1
  138. package/script/generated-sdk/state/contract.d.ts.map +1 -1
  139. package/script/generated-sdk/state/contract.js +638 -7
  140. package/script/generated-sdk/state/mod.d.ts +2 -2
  141. package/script/generated-sdk/state/mod.d.ts.map +1 -1
  142. package/script/generated-sdk/state/mod.js +2 -2
  143. package/script/generated-sdk/state/owned_api.d.ts.map +1 -1
  144. package/script/generated-sdk/state/owned_api.js +35 -7
  145. package/script/generated-sdk/state/schemas.d.ts.map +1 -1
  146. package/script/generated-sdk/state/schemas.js +441 -14
  147. package/script/generated-sdk/state/types.d.ts +15 -15
  148. package/script/generated-sdk/state/types.d.ts.map +1 -1
  149. package/script/generated-sdk/trellis-core/api.d.ts.map +1 -1
  150. package/script/generated-sdk/trellis-core/client.d.ts.map +1 -1
  151. package/script/generated-sdk/trellis-core/contract.d.ts.map +1 -1
  152. package/script/generated-sdk/trellis-core/contract.js +744 -7
  153. package/script/generated-sdk/trellis-core/mod.d.ts +2 -2
  154. package/script/generated-sdk/trellis-core/mod.d.ts.map +1 -1
  155. package/script/generated-sdk/trellis-core/mod.js +2 -2
  156. package/script/generated-sdk/trellis-core/owned_api.d.ts.map +1 -1
  157. package/script/generated-sdk/trellis-core/schemas.d.ts.map +1 -1
  158. package/script/generated-sdk/trellis-core/schemas.js +626 -8
  159. package/script/generated-sdk/trellis-core/types.d.ts +14 -14
  160. package/script/generated-sdk/trellis-core/types.d.ts.map +1 -1
  161. package/script/server/health.d.ts.map +1 -1
  162. package/script/server/health.js +34 -3
  163. package/script/server/service.d.ts +35 -13
  164. package/script/server/service.d.ts.map +1 -1
  165. package/script/server/service.js +32 -2
  166. package/script/server.d.ts.map +1 -1
  167. package/script/server.js +48 -7
  168. package/script/service/deno.d.ts +1 -1
  169. package/script/service/deno.d.ts.map +1 -1
  170. package/script/service/mod.d.ts +1 -1
  171. package/script/service/mod.d.ts.map +1 -1
  172. package/script/service/node.d.ts +1 -1
  173. package/script/service/node.d.ts.map +1 -1
  174. package/script/trellis.d.ts +28 -4
  175. package/script/trellis.d.ts.map +1 -1
  176. package/script/trellis.js +118 -26
  177. package/src/client.ts +4 -0
  178. package/src/client_connect.ts +11 -9
  179. package/src/sdk/_generated/auth/api.ts +10 -21
  180. package/src/sdk/_generated/auth/client.ts +1178 -160
  181. package/src/sdk/_generated/auth/contract.ts +9637 -13
  182. package/src/sdk/_generated/auth/mod.ts +22 -3
  183. package/src/sdk/_generated/auth/owned_api.ts +897 -264
  184. package/src/sdk/_generated/auth/schemas.ts +6630 -278
  185. package/src/sdk/_generated/auth/types.ts +2950 -359
  186. package/src/sdk/_generated/core/api.ts +10 -21
  187. package/src/sdk/_generated/core/client.ts +105 -12
  188. package/src/sdk/_generated/core/contract.ts +774 -13
  189. package/src/sdk/_generated/core/mod.ts +17 -2
  190. package/src/sdk/_generated/core/owned_api.ts +40 -24
  191. package/src/sdk/_generated/core/schemas.ts +626 -9
  192. package/src/sdk/_generated/core/types.ts +233 -18
  193. package/src/sdk/_generated/health/api.ts +10 -21
  194. package/src/sdk/_generated/health/client.ts +104 -8
  195. package/src/sdk/_generated/health/contract.ts +144 -13
  196. package/src/sdk/_generated/health/mod.ts +17 -2
  197. package/src/sdk/_generated/health/owned_api.ts +4 -9
  198. package/src/sdk/_generated/health/schemas.ts +79 -2
  199. package/src/sdk/_generated/health/types.ts +31 -4
  200. package/src/sdk/_generated/jobs/api.ts +20 -18
  201. package/src/sdk/_generated/jobs/client.ts +199 -28
  202. package/src/sdk/_generated/jobs/contract.ts +1119 -13
  203. package/src/sdk/_generated/jobs/mod.ts +17 -2
  204. package/src/sdk/_generated/jobs/owned_api.ts +64 -27
  205. package/src/sdk/_generated/jobs/schemas.ts +776 -20
  206. package/src/sdk/_generated/jobs/types.ts +407 -34
  207. package/src/sdk/_generated/state/api.ts +11 -18
  208. package/src/sdk/_generated/state/client.ts +169 -22
  209. package/src/sdk/_generated/state/contract.ts +670 -13
  210. package/src/sdk/_generated/state/mod.ts +17 -2
  211. package/src/sdk/_generated/state/owned_api.ts +65 -25
  212. package/src/sdk/_generated/state/schemas.ts +441 -15
  213. package/src/sdk/_generated/state/types.ts +229 -26
  214. package/src/server/health.ts +41 -3
  215. package/src/server/service.ts +140 -18
  216. package/src/server.ts +62 -7
  217. package/src/service/deno.ts +4 -0
  218. package/src/service/mod.ts +4 -0
  219. package/src/service/node.ts +4 -0
  220. package/src/trellis.ts +167 -55
@@ -15,10 +15,10 @@ export type AuthCapabilitiesListOutput = {
15
15
  contractId?: string;
16
16
  deploymentId?: string;
17
17
  description: string;
18
- direction?: ("creates" | "given");
18
+ direction?: "creates" | "given";
19
19
  displayName: string;
20
20
  key: string;
21
- source: ("contract" | "platform");
21
+ source: "contract" | "platform";
22
22
  }>;
23
23
  limit: number;
24
24
  nextOffset?: number;
@@ -82,11 +82,11 @@ export type AuthCapabilityGroupsPutOutput = {
82
82
  };
83
83
  };
84
84
  export type AuthCatalogIssuesResolveInput = {
85
- action: ("keep-current" | "force-replace");
85
+ action: "keep-current" | "force-replace";
86
86
  issueId: string;
87
87
  };
88
88
  export type AuthCatalogIssuesResolveOutput = {
89
- action: ("keep-current" | "force-replace");
89
+ action: "keep-current" | "force-replace";
90
90
  issueId: string;
91
91
  success: true;
92
92
  };
@@ -200,9 +200,9 @@ export type AuthDeploymentAuthorityAcceptMigrationOutput = {
200
200
  kind: "surface";
201
201
  required: boolean;
202
202
  surface: {
203
- action?: ("call" | "publish" | "subscribe" | "observe" | "cancel");
203
+ action?: "call" | "publish" | "subscribe" | "observe" | "cancel";
204
204
  contractId: string;
205
- kind: ("rpc" | "operation" | "event" | "feed");
205
+ kind: "rpc" | "operation" | "event" | "feed";
206
206
  name: string;
207
207
  };
208
208
  } | {
@@ -215,25 +215,25 @@ export type AuthDeploymentAuthorityAcceptMigrationOutput = {
215
215
  resource: {
216
216
  alias: string;
217
217
  definition?: {};
218
- kind: ("kv" | "store" | "jobs" | "event-consumer" | "transfer");
218
+ kind: "kv" | "store" | "jobs" | "event-consumer" | "transfer";
219
219
  required: boolean;
220
220
  };
221
221
  })>;
222
222
  resources: Array<{
223
223
  alias: string;
224
224
  definition?: {};
225
- kind: ("kv" | "store" | "jobs" | "event-consumer" | "transfer");
225
+ kind: "kv" | "store" | "jobs" | "event-consumer" | "transfer";
226
226
  required: boolean;
227
227
  }>;
228
228
  surfaces: Array<{
229
- action?: ("call" | "publish" | "subscribe" | "observe" | "cancel");
229
+ action?: "call" | "publish" | "subscribe" | "observe" | "cancel";
230
230
  contractId: string;
231
- kind: ("rpc" | "operation" | "event" | "feed");
231
+ kind: "rpc" | "operation" | "event" | "feed";
232
232
  name: string;
233
233
  }>;
234
234
  };
235
235
  disabled: boolean;
236
- kind: ("service" | "device" | "app" | "cli" | "native" | "device-user");
236
+ kind: "service" | "device" | "app" | "cli" | "native" | "device-user";
237
237
  updatedAt: string;
238
238
  version: string;
239
239
  };
@@ -256,9 +256,9 @@ export type AuthDeploymentAuthorityAcceptUpdateOutput = {
256
256
  kind: "surface";
257
257
  required: boolean;
258
258
  surface: {
259
- action?: ("call" | "publish" | "subscribe" | "observe" | "cancel");
259
+ action?: "call" | "publish" | "subscribe" | "observe" | "cancel";
260
260
  contractId: string;
261
- kind: ("rpc" | "operation" | "event" | "feed");
261
+ kind: "rpc" | "operation" | "event" | "feed";
262
262
  name: string;
263
263
  };
264
264
  } | {
@@ -271,25 +271,25 @@ export type AuthDeploymentAuthorityAcceptUpdateOutput = {
271
271
  resource: {
272
272
  alias: string;
273
273
  definition?: {};
274
- kind: ("kv" | "store" | "jobs" | "event-consumer" | "transfer");
274
+ kind: "kv" | "store" | "jobs" | "event-consumer" | "transfer";
275
275
  required: boolean;
276
276
  };
277
277
  })>;
278
278
  resources: Array<{
279
279
  alias: string;
280
280
  definition?: {};
281
- kind: ("kv" | "store" | "jobs" | "event-consumer" | "transfer");
281
+ kind: "kv" | "store" | "jobs" | "event-consumer" | "transfer";
282
282
  required: boolean;
283
283
  }>;
284
284
  surfaces: Array<{
285
- action?: ("call" | "publish" | "subscribe" | "observe" | "cancel");
285
+ action?: "call" | "publish" | "subscribe" | "observe" | "cancel";
286
286
  contractId: string;
287
- kind: ("rpc" | "operation" | "event" | "feed");
287
+ kind: "rpc" | "operation" | "event" | "feed";
288
288
  name: string;
289
289
  }>;
290
290
  };
291
291
  disabled: boolean;
292
- kind: ("service" | "device" | "app" | "cli" | "native" | "device-user");
292
+ kind: "service" | "device" | "app" | "cli" | "native" | "device-user";
293
293
  updatedAt: string;
294
294
  version: string;
295
295
  };
@@ -311,9 +311,9 @@ export type AuthDeploymentAuthorityGetOutput = {
311
311
  kind: "surface";
312
312
  required: boolean;
313
313
  surface: {
314
- action?: ("call" | "publish" | "subscribe" | "observe" | "cancel");
314
+ action?: "call" | "publish" | "subscribe" | "observe" | "cancel";
315
315
  contractId: string;
316
- kind: ("rpc" | "operation" | "event" | "feed");
316
+ kind: "rpc" | "operation" | "event" | "feed";
317
317
  name: string;
318
318
  };
319
319
  } | {
@@ -326,25 +326,25 @@ export type AuthDeploymentAuthorityGetOutput = {
326
326
  resource: {
327
327
  alias: string;
328
328
  definition?: {};
329
- kind: ("kv" | "store" | "jobs" | "event-consumer" | "transfer");
329
+ kind: "kv" | "store" | "jobs" | "event-consumer" | "transfer";
330
330
  required: boolean;
331
331
  };
332
332
  })>;
333
333
  resources: Array<{
334
334
  alias: string;
335
335
  definition?: {};
336
- kind: ("kv" | "store" | "jobs" | "event-consumer" | "transfer");
336
+ kind: "kv" | "store" | "jobs" | "event-consumer" | "transfer";
337
337
  required: boolean;
338
338
  }>;
339
339
  surfaces: Array<{
340
- action?: ("call" | "publish" | "subscribe" | "observe" | "cancel");
340
+ action?: "call" | "publish" | "subscribe" | "observe" | "cancel";
341
341
  contractId: string;
342
- kind: ("rpc" | "operation" | "event" | "feed");
342
+ kind: "rpc" | "operation" | "event" | "feed";
343
343
  name: string;
344
344
  }>;
345
345
  };
346
346
  disabled: boolean;
347
- kind: ("service" | "device" | "app" | "cli" | "native" | "device-user");
347
+ kind: "service" | "device" | "app" | "cli" | "native" | "device-user";
348
348
  updatedAt: string;
349
349
  version: string;
350
350
  };
@@ -385,7 +385,7 @@ export type AuthDeploymentAuthorityGetOutput = {
385
385
  origin: null;
386
386
  sessionPublicKey: string;
387
387
  })>;
388
- materializedAuthority: ({
388
+ materializedAuthority: {
389
389
  deploymentId: string;
390
390
  desiredVersion: string;
391
391
  error?: string;
@@ -393,25 +393,25 @@ export type AuthDeploymentAuthorityGetOutput = {
393
393
  capability: string;
394
394
  kind: "capability";
395
395
  } | {
396
- action?: ("call" | "publish" | "subscribe" | "observe" | "cancel");
396
+ action?: "call" | "publish" | "subscribe" | "observe" | "cancel";
397
397
  contractId: string;
398
398
  kind: "surface";
399
399
  name: string;
400
- surfaceKind: ("rpc" | "operation" | "event" | "feed");
400
+ surfaceKind: "rpc" | "operation" | "event" | "feed";
401
401
  } | {
402
- direction: ("publish" | "subscribe");
403
- grantSource: ("owned-surface" | "used-surface" | "resource-binding" | "platform-service" | "transfer");
402
+ direction: "publish" | "subscribe";
403
+ grantSource: "owned-surface" | "used-surface" | "resource-binding" | "platform-service" | "transfer";
404
404
  kind: "nats";
405
405
  requiredCapabilities: Array<string>;
406
406
  subject: string;
407
407
  surface?: {
408
- action?: ("call" | "publish" | "subscribe" | "observe" | "cancel");
408
+ action?: "call" | "publish" | "subscribe" | "observe" | "cancel";
409
409
  contractId: string;
410
- kind: ("rpc" | "operation" | "event" | "feed");
410
+ kind: "rpc" | "operation" | "event" | "feed";
411
411
  name: string;
412
412
  };
413
413
  })>;
414
- reconciledAt: (string | null);
414
+ reconciledAt: string | null;
415
415
  resourceBindings: Array<{
416
416
  alias: string;
417
417
  binding: {
@@ -419,21 +419,21 @@ export type AuthDeploymentAuthorityGetOutput = {
419
419
  };
420
420
  createdAt: string;
421
421
  deploymentId: string;
422
- kind: ("kv" | "store" | "jobs" | "event-consumer" | "transfer");
423
- limits: ({
422
+ kind: "kv" | "store" | "jobs" | "event-consumer" | "transfer";
423
+ limits: {
424
424
  [k: string]: unknown;
425
- } | null);
425
+ } | null;
426
426
  updatedAt: string;
427
427
  }>;
428
- status: ("current" | "pending" | "failed");
429
- } | null);
430
- portalRoute: ({
428
+ status: "current" | "pending" | "failed";
429
+ } | null;
430
+ portalRoute: {
431
431
  deploymentId: string;
432
432
  disabled: boolean;
433
- entryUrl: (string | null);
434
- portalId: (string | null);
433
+ entryUrl: string | null;
434
+ portalId: string | null;
435
435
  updatedAt: string;
436
- } | null);
436
+ } | null;
437
437
  };
438
438
  export type AuthDeploymentAuthorityGrantOverridesListInput = {
439
439
  limit: number;
@@ -642,7 +642,7 @@ export type AuthDeploymentAuthorityGrantOverridesRemoveOutput = {
642
642
  };
643
643
  export type AuthDeploymentAuthorityListInput = {
644
644
  disabled?: boolean;
645
- kind?: ("service" | "device" | "app" | "cli" | "native" | "device-user");
645
+ kind?: "service" | "device" | "app" | "cli" | "native" | "device-user";
646
646
  limit: number;
647
647
  offset?: number;
648
648
  };
@@ -661,9 +661,9 @@ export type AuthDeploymentAuthorityListOutput = {
661
661
  kind: "surface";
662
662
  required: boolean;
663
663
  surface: {
664
- action?: ("call" | "publish" | "subscribe" | "observe" | "cancel");
664
+ action?: "call" | "publish" | "subscribe" | "observe" | "cancel";
665
665
  contractId: string;
666
- kind: ("rpc" | "operation" | "event" | "feed");
666
+ kind: "rpc" | "operation" | "event" | "feed";
667
667
  name: string;
668
668
  };
669
669
  } | {
@@ -676,25 +676,25 @@ export type AuthDeploymentAuthorityListOutput = {
676
676
  resource: {
677
677
  alias: string;
678
678
  definition?: {};
679
- kind: ("kv" | "store" | "jobs" | "event-consumer" | "transfer");
679
+ kind: "kv" | "store" | "jobs" | "event-consumer" | "transfer";
680
680
  required: boolean;
681
681
  };
682
682
  })>;
683
683
  resources: Array<{
684
684
  alias: string;
685
685
  definition?: {};
686
- kind: ("kv" | "store" | "jobs" | "event-consumer" | "transfer");
686
+ kind: "kv" | "store" | "jobs" | "event-consumer" | "transfer";
687
687
  required: boolean;
688
688
  }>;
689
689
  surfaces: Array<{
690
- action?: ("call" | "publish" | "subscribe" | "observe" | "cancel");
690
+ action?: "call" | "publish" | "subscribe" | "observe" | "cancel";
691
691
  contractId: string;
692
- kind: ("rpc" | "operation" | "event" | "feed");
692
+ kind: "rpc" | "operation" | "event" | "feed";
693
693
  name: string;
694
694
  }>;
695
695
  };
696
696
  disabled: boolean;
697
- kind: ("service" | "device" | "app" | "cli" | "native" | "device-user");
697
+ kind: "service" | "device" | "app" | "cli" | "native" | "device-user";
698
698
  updatedAt: string;
699
699
  version: string;
700
700
  }>;
@@ -708,14 +708,14 @@ export type AuthDeploymentAuthorityPlanInput = {
708
708
  expectedDigest: string;
709
709
  };
710
710
  export type AuthDeploymentAuthorityPlanOutput = {
711
- plan: ({
711
+ plan: {
712
712
  classification: "update";
713
713
  createdAt: string;
714
- decisionAt?: (string | null);
715
- decisionBy?: ({
714
+ decisionAt?: string | null;
715
+ decisionBy?: {
716
716
  [k: string]: unknown;
717
- } | null);
718
- decisionReason?: (string | null);
717
+ } | null;
718
+ decisionReason?: string | null;
719
719
  deploymentId: string;
720
720
  desiredChange: {};
721
721
  expiresAt?: string;
@@ -728,9 +728,9 @@ export type AuthDeploymentAuthorityPlanOutput = {
728
728
  deploymentId: string;
729
729
  proposalId?: string;
730
730
  providedSurfaces: Array<{
731
- action?: ("call" | "publish" | "subscribe" | "observe" | "cancel");
731
+ action?: "call" | "publish" | "subscribe" | "observe" | "cancel";
732
732
  contractId: string;
733
- kind: ("rpc" | "operation" | "event" | "feed");
733
+ kind: "rpc" | "operation" | "event" | "feed";
734
734
  name: string;
735
735
  }>;
736
736
  requestedNeeds: Array<({
@@ -741,9 +741,9 @@ export type AuthDeploymentAuthorityPlanOutput = {
741
741
  kind: "surface";
742
742
  required: boolean;
743
743
  surface: {
744
- action?: ("call" | "publish" | "subscribe" | "observe" | "cancel");
744
+ action?: "call" | "publish" | "subscribe" | "observe" | "cancel";
745
745
  contractId: string;
746
- kind: ("rpc" | "operation" | "event" | "feed");
746
+ kind: "rpc" | "operation" | "event" | "feed";
747
747
  name: string;
748
748
  };
749
749
  } | {
@@ -756,23 +756,23 @@ export type AuthDeploymentAuthorityPlanOutput = {
756
756
  resource: {
757
757
  alias: string;
758
758
  definition?: {};
759
- kind: ("kv" | "store" | "jobs" | "event-consumer" | "transfer");
759
+ kind: "kv" | "store" | "jobs" | "event-consumer" | "transfer";
760
760
  required: boolean;
761
761
  };
762
762
  })>;
763
763
  summary?: {};
764
764
  };
765
- state?: ("pending" | "accepted" | "rejected" | "expired");
765
+ state?: "pending" | "accepted" | "rejected" | "expired";
766
766
  warnings: Array<string>;
767
767
  } | {
768
768
  acknowledgementRequired: boolean;
769
769
  classification: "migration";
770
770
  createdAt: string;
771
- decisionAt?: (string | null);
772
- decisionBy?: ({
771
+ decisionAt?: string | null;
772
+ decisionBy?: {
773
773
  [k: string]: unknown;
774
- } | null);
775
- decisionReason?: (string | null);
774
+ } | null;
775
+ decisionReason?: string | null;
776
776
  deploymentId: string;
777
777
  desiredChange: {};
778
778
  expiresAt?: string;
@@ -785,9 +785,9 @@ export type AuthDeploymentAuthorityPlanOutput = {
785
785
  deploymentId: string;
786
786
  proposalId?: string;
787
787
  providedSurfaces: Array<{
788
- action?: ("call" | "publish" | "subscribe" | "observe" | "cancel");
788
+ action?: "call" | "publish" | "subscribe" | "observe" | "cancel";
789
789
  contractId: string;
790
- kind: ("rpc" | "operation" | "event" | "feed");
790
+ kind: "rpc" | "operation" | "event" | "feed";
791
791
  name: string;
792
792
  }>;
793
793
  requestedNeeds: Array<({
@@ -798,9 +798,9 @@ export type AuthDeploymentAuthorityPlanOutput = {
798
798
  kind: "surface";
799
799
  required: boolean;
800
800
  surface: {
801
- action?: ("call" | "publish" | "subscribe" | "observe" | "cancel");
801
+ action?: "call" | "publish" | "subscribe" | "observe" | "cancel";
802
802
  contractId: string;
803
- kind: ("rpc" | "operation" | "event" | "feed");
803
+ kind: "rpc" | "operation" | "event" | "feed";
804
804
  name: string;
805
805
  };
806
806
  } | {
@@ -813,28 +813,28 @@ export type AuthDeploymentAuthorityPlanOutput = {
813
813
  resource: {
814
814
  alias: string;
815
815
  definition?: {};
816
- kind: ("kv" | "store" | "jobs" | "event-consumer" | "transfer");
816
+ kind: "kv" | "store" | "jobs" | "event-consumer" | "transfer";
817
817
  required: boolean;
818
818
  };
819
819
  })>;
820
820
  summary?: {};
821
821
  };
822
- state?: ("pending" | "accepted" | "rejected" | "expired");
822
+ state?: "pending" | "accepted" | "rejected" | "expired";
823
823
  warnings: Array<string>;
824
- });
824
+ };
825
825
  };
826
826
  export type AuthDeploymentAuthorityPlansGetInput = {
827
827
  planId: string;
828
828
  };
829
829
  export type AuthDeploymentAuthorityPlansGetOutput = {
830
- plan: ({
830
+ plan: {
831
831
  classification: "update";
832
832
  createdAt: string;
833
- decisionAt?: (string | null);
834
- decisionBy?: ({
833
+ decisionAt?: string | null;
834
+ decisionBy?: {
835
835
  [k: string]: unknown;
836
- } | null);
837
- decisionReason?: (string | null);
836
+ } | null;
837
+ decisionReason?: string | null;
838
838
  deploymentId: string;
839
839
  desiredChange: {};
840
840
  expiresAt?: string;
@@ -847,9 +847,9 @@ export type AuthDeploymentAuthorityPlansGetOutput = {
847
847
  deploymentId: string;
848
848
  proposalId?: string;
849
849
  providedSurfaces: Array<{
850
- action?: ("call" | "publish" | "subscribe" | "observe" | "cancel");
850
+ action?: "call" | "publish" | "subscribe" | "observe" | "cancel";
851
851
  contractId: string;
852
- kind: ("rpc" | "operation" | "event" | "feed");
852
+ kind: "rpc" | "operation" | "event" | "feed";
853
853
  name: string;
854
854
  }>;
855
855
  requestedNeeds: Array<({
@@ -860,9 +860,9 @@ export type AuthDeploymentAuthorityPlansGetOutput = {
860
860
  kind: "surface";
861
861
  required: boolean;
862
862
  surface: {
863
- action?: ("call" | "publish" | "subscribe" | "observe" | "cancel");
863
+ action?: "call" | "publish" | "subscribe" | "observe" | "cancel";
864
864
  contractId: string;
865
- kind: ("rpc" | "operation" | "event" | "feed");
865
+ kind: "rpc" | "operation" | "event" | "feed";
866
866
  name: string;
867
867
  };
868
868
  } | {
@@ -875,23 +875,23 @@ export type AuthDeploymentAuthorityPlansGetOutput = {
875
875
  resource: {
876
876
  alias: string;
877
877
  definition?: {};
878
- kind: ("kv" | "store" | "jobs" | "event-consumer" | "transfer");
878
+ kind: "kv" | "store" | "jobs" | "event-consumer" | "transfer";
879
879
  required: boolean;
880
880
  };
881
881
  })>;
882
882
  summary?: {};
883
883
  };
884
- state?: ("pending" | "accepted" | "rejected" | "expired");
884
+ state?: "pending" | "accepted" | "rejected" | "expired";
885
885
  warnings: Array<string>;
886
886
  } | {
887
887
  acknowledgementRequired: boolean;
888
888
  classification: "migration";
889
889
  createdAt: string;
890
- decisionAt?: (string | null);
891
- decisionBy?: ({
890
+ decisionAt?: string | null;
891
+ decisionBy?: {
892
892
  [k: string]: unknown;
893
- } | null);
894
- decisionReason?: (string | null);
893
+ } | null;
894
+ decisionReason?: string | null;
895
895
  deploymentId: string;
896
896
  desiredChange: {};
897
897
  expiresAt?: string;
@@ -904,9 +904,9 @@ export type AuthDeploymentAuthorityPlansGetOutput = {
904
904
  deploymentId: string;
905
905
  proposalId?: string;
906
906
  providedSurfaces: Array<{
907
- action?: ("call" | "publish" | "subscribe" | "observe" | "cancel");
907
+ action?: "call" | "publish" | "subscribe" | "observe" | "cancel";
908
908
  contractId: string;
909
- kind: ("rpc" | "operation" | "event" | "feed");
909
+ kind: "rpc" | "operation" | "event" | "feed";
910
910
  name: string;
911
911
  }>;
912
912
  requestedNeeds: Array<({
@@ -917,9 +917,9 @@ export type AuthDeploymentAuthorityPlansGetOutput = {
917
917
  kind: "surface";
918
918
  required: boolean;
919
919
  surface: {
920
- action?: ("call" | "publish" | "subscribe" | "observe" | "cancel");
920
+ action?: "call" | "publish" | "subscribe" | "observe" | "cancel";
921
921
  contractId: string;
922
- kind: ("rpc" | "operation" | "event" | "feed");
922
+ kind: "rpc" | "operation" | "event" | "feed";
923
923
  name: string;
924
924
  };
925
925
  } | {
@@ -932,34 +932,34 @@ export type AuthDeploymentAuthorityPlansGetOutput = {
932
932
  resource: {
933
933
  alias: string;
934
934
  definition?: {};
935
- kind: ("kv" | "store" | "jobs" | "event-consumer" | "transfer");
935
+ kind: "kv" | "store" | "jobs" | "event-consumer" | "transfer";
936
936
  required: boolean;
937
937
  };
938
938
  })>;
939
939
  summary?: {};
940
940
  };
941
- state?: ("pending" | "accepted" | "rejected" | "expired");
941
+ state?: "pending" | "accepted" | "rejected" | "expired";
942
942
  warnings: Array<string>;
943
- });
943
+ };
944
944
  };
945
945
  export type AuthDeploymentAuthorityPlansListInput = {
946
- classification?: ("update" | "migration");
946
+ classification?: "update" | "migration";
947
947
  deploymentId?: string;
948
- kind?: ("service" | "device" | "app" | "cli" | "native" | "device-user");
948
+ kind?: "service" | "device" | "app" | "cli" | "native" | "device-user";
949
949
  limit: number;
950
950
  offset?: number;
951
- state?: ("pending" | "accepted" | "rejected" | "expired");
951
+ state?: "pending" | "accepted" | "rejected" | "expired";
952
952
  };
953
953
  export type AuthDeploymentAuthorityPlansListOutput = {
954
954
  count: number;
955
955
  entries: Array<({
956
956
  classification: "update";
957
957
  createdAt: string;
958
- decisionAt?: (string | null);
959
- decisionBy?: ({
958
+ decisionAt?: string | null;
959
+ decisionBy?: {
960
960
  [k: string]: unknown;
961
- } | null);
962
- decisionReason?: (string | null);
961
+ } | null;
962
+ decisionReason?: string | null;
963
963
  deploymentId: string;
964
964
  desiredChange: {};
965
965
  expiresAt?: string;
@@ -972,9 +972,9 @@ export type AuthDeploymentAuthorityPlansListOutput = {
972
972
  deploymentId: string;
973
973
  proposalId?: string;
974
974
  providedSurfaces: Array<{
975
- action?: ("call" | "publish" | "subscribe" | "observe" | "cancel");
975
+ action?: "call" | "publish" | "subscribe" | "observe" | "cancel";
976
976
  contractId: string;
977
- kind: ("rpc" | "operation" | "event" | "feed");
977
+ kind: "rpc" | "operation" | "event" | "feed";
978
978
  name: string;
979
979
  }>;
980
980
  requestedNeeds: Array<({
@@ -985,9 +985,9 @@ export type AuthDeploymentAuthorityPlansListOutput = {
985
985
  kind: "surface";
986
986
  required: boolean;
987
987
  surface: {
988
- action?: ("call" | "publish" | "subscribe" | "observe" | "cancel");
988
+ action?: "call" | "publish" | "subscribe" | "observe" | "cancel";
989
989
  contractId: string;
990
- kind: ("rpc" | "operation" | "event" | "feed");
990
+ kind: "rpc" | "operation" | "event" | "feed";
991
991
  name: string;
992
992
  };
993
993
  } | {
@@ -1000,23 +1000,23 @@ export type AuthDeploymentAuthorityPlansListOutput = {
1000
1000
  resource: {
1001
1001
  alias: string;
1002
1002
  definition?: {};
1003
- kind: ("kv" | "store" | "jobs" | "event-consumer" | "transfer");
1003
+ kind: "kv" | "store" | "jobs" | "event-consumer" | "transfer";
1004
1004
  required: boolean;
1005
1005
  };
1006
1006
  })>;
1007
1007
  summary?: {};
1008
1008
  };
1009
- state?: ("pending" | "accepted" | "rejected" | "expired");
1009
+ state?: "pending" | "accepted" | "rejected" | "expired";
1010
1010
  warnings: Array<string>;
1011
1011
  } | {
1012
1012
  acknowledgementRequired: boolean;
1013
1013
  classification: "migration";
1014
1014
  createdAt: string;
1015
- decisionAt?: (string | null);
1016
- decisionBy?: ({
1015
+ decisionAt?: string | null;
1016
+ decisionBy?: {
1017
1017
  [k: string]: unknown;
1018
- } | null);
1019
- decisionReason?: (string | null);
1018
+ } | null;
1019
+ decisionReason?: string | null;
1020
1020
  deploymentId: string;
1021
1021
  desiredChange: {};
1022
1022
  expiresAt?: string;
@@ -1029,9 +1029,9 @@ export type AuthDeploymentAuthorityPlansListOutput = {
1029
1029
  deploymentId: string;
1030
1030
  proposalId?: string;
1031
1031
  providedSurfaces: Array<{
1032
- action?: ("call" | "publish" | "subscribe" | "observe" | "cancel");
1032
+ action?: "call" | "publish" | "subscribe" | "observe" | "cancel";
1033
1033
  contractId: string;
1034
- kind: ("rpc" | "operation" | "event" | "feed");
1034
+ kind: "rpc" | "operation" | "event" | "feed";
1035
1035
  name: string;
1036
1036
  }>;
1037
1037
  requestedNeeds: Array<({
@@ -1042,9 +1042,9 @@ export type AuthDeploymentAuthorityPlansListOutput = {
1042
1042
  kind: "surface";
1043
1043
  required: boolean;
1044
1044
  surface: {
1045
- action?: ("call" | "publish" | "subscribe" | "observe" | "cancel");
1045
+ action?: "call" | "publish" | "subscribe" | "observe" | "cancel";
1046
1046
  contractId: string;
1047
- kind: ("rpc" | "operation" | "event" | "feed");
1047
+ kind: "rpc" | "operation" | "event" | "feed";
1048
1048
  name: string;
1049
1049
  };
1050
1050
  } | {
@@ -1057,13 +1057,13 @@ export type AuthDeploymentAuthorityPlansListOutput = {
1057
1057
  resource: {
1058
1058
  alias: string;
1059
1059
  definition?: {};
1060
- kind: ("kv" | "store" | "jobs" | "event-consumer" | "transfer");
1060
+ kind: "kv" | "store" | "jobs" | "event-consumer" | "transfer";
1061
1061
  required: boolean;
1062
1062
  };
1063
1063
  })>;
1064
1064
  summary?: {};
1065
1065
  };
1066
- state?: ("pending" | "accepted" | "rejected" | "expired");
1066
+ state?: "pending" | "accepted" | "rejected" | "expired";
1067
1067
  warnings: Array<string>;
1068
1068
  })>;
1069
1069
  limit: number;
@@ -1088,9 +1088,9 @@ export type AuthDeploymentAuthorityReconcileOutput = {
1088
1088
  kind: "surface";
1089
1089
  required: boolean;
1090
1090
  surface: {
1091
- action?: ("call" | "publish" | "subscribe" | "observe" | "cancel");
1091
+ action?: "call" | "publish" | "subscribe" | "observe" | "cancel";
1092
1092
  contractId: string;
1093
- kind: ("rpc" | "operation" | "event" | "feed");
1093
+ kind: "rpc" | "operation" | "event" | "feed";
1094
1094
  name: string;
1095
1095
  };
1096
1096
  } | {
@@ -1103,25 +1103,25 @@ export type AuthDeploymentAuthorityReconcileOutput = {
1103
1103
  resource: {
1104
1104
  alias: string;
1105
1105
  definition?: {};
1106
- kind: ("kv" | "store" | "jobs" | "event-consumer" | "transfer");
1106
+ kind: "kv" | "store" | "jobs" | "event-consumer" | "transfer";
1107
1107
  required: boolean;
1108
1108
  };
1109
1109
  })>;
1110
1110
  resources: Array<{
1111
1111
  alias: string;
1112
1112
  definition?: {};
1113
- kind: ("kv" | "store" | "jobs" | "event-consumer" | "transfer");
1113
+ kind: "kv" | "store" | "jobs" | "event-consumer" | "transfer";
1114
1114
  required: boolean;
1115
1115
  }>;
1116
1116
  surfaces: Array<{
1117
- action?: ("call" | "publish" | "subscribe" | "observe" | "cancel");
1117
+ action?: "call" | "publish" | "subscribe" | "observe" | "cancel";
1118
1118
  contractId: string;
1119
- kind: ("rpc" | "operation" | "event" | "feed");
1119
+ kind: "rpc" | "operation" | "event" | "feed";
1120
1120
  name: string;
1121
1121
  }>;
1122
1122
  };
1123
1123
  disabled: boolean;
1124
- kind: ("service" | "device" | "app" | "cli" | "native" | "device-user");
1124
+ kind: "service" | "device" | "app" | "cli" | "native" | "device-user";
1125
1125
  updatedAt: string;
1126
1126
  version: string;
1127
1127
  };
@@ -1133,25 +1133,25 @@ export type AuthDeploymentAuthorityReconcileOutput = {
1133
1133
  capability: string;
1134
1134
  kind: "capability";
1135
1135
  } | {
1136
- action?: ("call" | "publish" | "subscribe" | "observe" | "cancel");
1136
+ action?: "call" | "publish" | "subscribe" | "observe" | "cancel";
1137
1137
  contractId: string;
1138
1138
  kind: "surface";
1139
1139
  name: string;
1140
- surfaceKind: ("rpc" | "operation" | "event" | "feed");
1140
+ surfaceKind: "rpc" | "operation" | "event" | "feed";
1141
1141
  } | {
1142
- direction: ("publish" | "subscribe");
1143
- grantSource: ("owned-surface" | "used-surface" | "resource-binding" | "platform-service" | "transfer");
1142
+ direction: "publish" | "subscribe";
1143
+ grantSource: "owned-surface" | "used-surface" | "resource-binding" | "platform-service" | "transfer";
1144
1144
  kind: "nats";
1145
1145
  requiredCapabilities: Array<string>;
1146
1146
  subject: string;
1147
1147
  surface?: {
1148
- action?: ("call" | "publish" | "subscribe" | "observe" | "cancel");
1148
+ action?: "call" | "publish" | "subscribe" | "observe" | "cancel";
1149
1149
  contractId: string;
1150
- kind: ("rpc" | "operation" | "event" | "feed");
1150
+ kind: "rpc" | "operation" | "event" | "feed";
1151
1151
  name: string;
1152
1152
  };
1153
1153
  })>;
1154
- reconciledAt: (string | null);
1154
+ reconciledAt: string | null;
1155
1155
  resourceBindings: Array<{
1156
1156
  alias: string;
1157
1157
  binding: {
@@ -1159,21 +1159,21 @@ export type AuthDeploymentAuthorityReconcileOutput = {
1159
1159
  };
1160
1160
  createdAt: string;
1161
1161
  deploymentId: string;
1162
- kind: ("kv" | "store" | "jobs" | "event-consumer" | "transfer");
1163
- limits: ({
1162
+ kind: "kv" | "store" | "jobs" | "event-consumer" | "transfer";
1163
+ limits: {
1164
1164
  [k: string]: unknown;
1165
- } | null);
1165
+ } | null;
1166
1166
  updatedAt: string;
1167
1167
  }>;
1168
- status: ("current" | "pending" | "failed");
1168
+ status: "current" | "pending" | "failed";
1169
1169
  };
1170
1170
  reconciliation?: {
1171
1171
  deploymentId: string;
1172
1172
  desiredVersion: string;
1173
- finishedAt: (string | null);
1173
+ finishedAt: string | null;
1174
1174
  message?: string;
1175
- startedAt: (string | null);
1176
- state: ("idle" | "running" | "succeeded" | "failed");
1175
+ startedAt: string | null;
1176
+ state: "idle" | "running" | "succeeded" | "failed";
1177
1177
  };
1178
1178
  };
1179
1179
  export type AuthDeploymentAuthorityRejectInput = {
@@ -1183,19 +1183,19 @@ export type AuthDeploymentAuthorityRejectInput = {
1183
1183
  export type AuthDeploymentAuthorityRejectOutput = {
1184
1184
  success: boolean;
1185
1185
  };
1186
- export type AuthDeploymentsCreateInput = ({
1187
- contractCompatibilityMode?: ("strict" | "mutable-dev");
1186
+ export type AuthDeploymentsCreateInput = {
1187
+ contractCompatibilityMode?: "strict" | "mutable-dev";
1188
1188
  deploymentId: string;
1189
1189
  kind: "service";
1190
1190
  namespaces: Array<string>;
1191
1191
  } | {
1192
1192
  deploymentId: string;
1193
1193
  kind: "device";
1194
- reviewMode?: ("none" | "required");
1195
- });
1194
+ reviewMode?: "none" | "required";
1195
+ };
1196
1196
  export type AuthDeploymentsCreateOutput = {
1197
- deployment: ({
1198
- contractCompatibilityMode?: ("strict" | "mutable-dev");
1197
+ deployment: {
1198
+ contractCompatibilityMode?: "strict" | "mutable-dev";
1199
1199
  deploymentId: string;
1200
1200
  disabled: boolean;
1201
1201
  kind: "service";
@@ -1204,16 +1204,16 @@ export type AuthDeploymentsCreateOutput = {
1204
1204
  deploymentId: string;
1205
1205
  disabled: boolean;
1206
1206
  kind: "device";
1207
- reviewMode?: ("none" | "required");
1208
- });
1207
+ reviewMode?: "none" | "required";
1208
+ };
1209
1209
  };
1210
1210
  export type AuthDeploymentsDisableInput = {
1211
1211
  deploymentId: string;
1212
- kind: ("service" | "device");
1212
+ kind: "service" | "device";
1213
1213
  };
1214
1214
  export type AuthDeploymentsDisableOutput = {
1215
- deployment: ({
1216
- contractCompatibilityMode?: ("strict" | "mutable-dev");
1215
+ deployment: {
1216
+ contractCompatibilityMode?: "strict" | "mutable-dev";
1217
1217
  deploymentId: string;
1218
1218
  disabled: boolean;
1219
1219
  kind: "service";
@@ -1222,16 +1222,16 @@ export type AuthDeploymentsDisableOutput = {
1222
1222
  deploymentId: string;
1223
1223
  disabled: boolean;
1224
1224
  kind: "device";
1225
- reviewMode?: ("none" | "required");
1226
- });
1225
+ reviewMode?: "none" | "required";
1226
+ };
1227
1227
  };
1228
1228
  export type AuthDeploymentsEnableInput = {
1229
1229
  deploymentId: string;
1230
- kind: ("service" | "device");
1230
+ kind: "service" | "device";
1231
1231
  };
1232
1232
  export type AuthDeploymentsEnableOutput = {
1233
- deployment: ({
1234
- contractCompatibilityMode?: ("strict" | "mutable-dev");
1233
+ deployment: {
1234
+ contractCompatibilityMode?: "strict" | "mutable-dev";
1235
1235
  deploymentId: string;
1236
1236
  disabled: boolean;
1237
1237
  kind: "service";
@@ -1240,19 +1240,19 @@ export type AuthDeploymentsEnableOutput = {
1240
1240
  deploymentId: string;
1241
1241
  disabled: boolean;
1242
1242
  kind: "device";
1243
- reviewMode?: ("none" | "required");
1244
- });
1243
+ reviewMode?: "none" | "required";
1244
+ };
1245
1245
  };
1246
1246
  export type AuthDeploymentsListInput = {
1247
1247
  disabled?: boolean;
1248
- kind?: ("service" | "device");
1248
+ kind?: "service" | "device";
1249
1249
  limit: number;
1250
1250
  offset?: number;
1251
1251
  };
1252
1252
  export type AuthDeploymentsListOutput = {
1253
1253
  count: number;
1254
1254
  entries: Array<({
1255
- contractCompatibilityMode?: ("strict" | "mutable-dev");
1255
+ contractCompatibilityMode?: "strict" | "mutable-dev";
1256
1256
  deploymentId: string;
1257
1257
  disabled: boolean;
1258
1258
  kind: "service";
@@ -1261,7 +1261,7 @@ export type AuthDeploymentsListOutput = {
1261
1261
  deploymentId: string;
1262
1262
  disabled: boolean;
1263
1263
  kind: "device";
1264
- reviewMode?: ("none" | "required");
1264
+ reviewMode?: "none" | "required";
1265
1265
  })>;
1266
1266
  limit: number;
1267
1267
  nextOffset?: number;
@@ -1270,7 +1270,7 @@ export type AuthDeploymentsListOutput = {
1270
1270
  export type AuthDeploymentsRemoveInput = {
1271
1271
  cascade?: boolean;
1272
1272
  deploymentId: string;
1273
- kind: ("service" | "device");
1273
+ kind: "service" | "device";
1274
1274
  purgeUnusedContracts?: boolean;
1275
1275
  };
1276
1276
  export type AuthDeploymentsRemoveOutput = {
@@ -1281,7 +1281,7 @@ export type AuthDeviceUserAuthoritiesListInput = {
1281
1281
  instanceId?: string;
1282
1282
  limit: number;
1283
1283
  offset?: number;
1284
- state?: ("activated" | "revoked");
1284
+ state?: "activated" | "revoked";
1285
1285
  };
1286
1286
  export type AuthDeviceUserAuthoritiesListOutput = {
1287
1287
  count: number;
@@ -1293,21 +1293,21 @@ export type AuthDeviceUserAuthoritiesListOutput = {
1293
1293
  provider: string;
1294
1294
  subject: string;
1295
1295
  };
1296
- participantKind: ("app" | "agent");
1296
+ participantKind: "app" | "agent";
1297
1297
  userId: string;
1298
1298
  };
1299
1299
  deploymentId: string;
1300
1300
  instanceId: string;
1301
1301
  publicIdentityKey: string;
1302
- revokedAt: (string | null);
1303
- state: ("activated" | "revoked");
1302
+ revokedAt: string | null;
1303
+ state: "activated" | "revoked";
1304
1304
  }>;
1305
1305
  limit: number;
1306
1306
  nextOffset?: number;
1307
1307
  offset: number;
1308
1308
  };
1309
1309
  export type AuthDeviceUserAuthoritiesReviewsDecideInput = {
1310
- decision: ("approve" | "reject");
1310
+ decision: "approve" | "reject";
1311
1311
  reason?: string;
1312
1312
  reviewId: string;
1313
1313
  };
@@ -1320,25 +1320,25 @@ export type AuthDeviceUserAuthoritiesReviewsDecideOutput = {
1320
1320
  provider: string;
1321
1321
  subject: string;
1322
1322
  };
1323
- participantKind: ("app" | "agent");
1323
+ participantKind: "app" | "agent";
1324
1324
  userId: string;
1325
1325
  };
1326
1326
  deploymentId: string;
1327
1327
  instanceId: string;
1328
1328
  publicIdentityKey: string;
1329
- revokedAt: (string | null);
1330
- state: ("activated" | "revoked");
1329
+ revokedAt: string | null;
1330
+ state: "activated" | "revoked";
1331
1331
  };
1332
1332
  confirmationCode?: string;
1333
1333
  review: {
1334
- decidedAt: (string | null);
1334
+ decidedAt: string | null;
1335
1335
  deploymentId: string;
1336
1336
  instanceId: string;
1337
1337
  publicIdentityKey: string;
1338
1338
  reason?: string;
1339
1339
  requestedAt: string;
1340
1340
  reviewId: string;
1341
- state: ("pending" | "approved" | "rejected");
1341
+ state: "pending" | "approved" | "rejected";
1342
1342
  };
1343
1343
  };
1344
1344
  export type AuthDeviceUserAuthoritiesReviewsListInput = {
@@ -1346,19 +1346,19 @@ export type AuthDeviceUserAuthoritiesReviewsListInput = {
1346
1346
  instanceId?: string;
1347
1347
  limit: number;
1348
1348
  offset?: number;
1349
- state?: ("pending" | "approved" | "rejected");
1349
+ state?: "pending" | "approved" | "rejected";
1350
1350
  };
1351
1351
  export type AuthDeviceUserAuthoritiesReviewsListOutput = {
1352
1352
  count: number;
1353
1353
  entries: Array<{
1354
- decidedAt: (string | null);
1354
+ decidedAt: string | null;
1355
1355
  deploymentId: string;
1356
1356
  instanceId: string;
1357
1357
  publicIdentityKey: string;
1358
1358
  reason?: string;
1359
1359
  requestedAt: string;
1360
1360
  reviewId: string;
1361
- state: ("pending" | "approved" | "rejected");
1361
+ state: "pending" | "approved" | "rejected";
1362
1362
  }>;
1363
1363
  limit: number;
1364
1364
  nextOffset?: number;
@@ -1379,7 +1379,7 @@ export type AuthDevicesConnectInfoGetInput = {
1379
1379
  export type AuthDevicesConnectInfoGetOutput = {
1380
1380
  connectInfo: {
1381
1381
  auth: {
1382
- authority: ("admin_reviewed" | "user_delegated");
1382
+ authority: "admin_reviewed" | "user_delegated";
1383
1383
  iatSkewSeconds: number;
1384
1384
  mode: "device_identity";
1385
1385
  };
@@ -1409,7 +1409,7 @@ export type AuthDevicesDisableInput = {
1409
1409
  };
1410
1410
  export type AuthDevicesDisableOutput = {
1411
1411
  instance: {
1412
- activatedAt: (string | null);
1412
+ activatedAt: string | null;
1413
1413
  createdAt: string;
1414
1414
  deploymentId: string;
1415
1415
  instanceId: string;
@@ -1417,8 +1417,8 @@ export type AuthDevicesDisableOutput = {
1417
1417
  [k: string]: string;
1418
1418
  };
1419
1419
  publicIdentityKey: string;
1420
- revokedAt: (string | null);
1421
- state: ("registered" | "activated" | "revoked" | "disabled");
1420
+ revokedAt: string | null;
1421
+ state: "registered" | "activated" | "revoked" | "disabled";
1422
1422
  };
1423
1423
  };
1424
1424
  export type AuthDevicesEnableInput = {
@@ -1426,7 +1426,7 @@ export type AuthDevicesEnableInput = {
1426
1426
  };
1427
1427
  export type AuthDevicesEnableOutput = {
1428
1428
  instance: {
1429
- activatedAt: (string | null);
1429
+ activatedAt: string | null;
1430
1430
  createdAt: string;
1431
1431
  deploymentId: string;
1432
1432
  instanceId: string;
@@ -1434,20 +1434,20 @@ export type AuthDevicesEnableOutput = {
1434
1434
  [k: string]: string;
1435
1435
  };
1436
1436
  publicIdentityKey: string;
1437
- revokedAt: (string | null);
1438
- state: ("registered" | "activated" | "revoked" | "disabled");
1437
+ revokedAt: string | null;
1438
+ state: "registered" | "activated" | "revoked" | "disabled";
1439
1439
  };
1440
1440
  };
1441
1441
  export type AuthDevicesListInput = {
1442
1442
  deploymentId?: string;
1443
1443
  limit: number;
1444
1444
  offset?: number;
1445
- state?: ("registered" | "activated" | "revoked" | "disabled");
1445
+ state?: "registered" | "activated" | "revoked" | "disabled";
1446
1446
  };
1447
1447
  export type AuthDevicesListOutput = {
1448
1448
  count: number;
1449
1449
  entries: Array<{
1450
- activatedAt: (string | null);
1450
+ activatedAt: string | null;
1451
1451
  createdAt: string;
1452
1452
  deploymentId: string;
1453
1453
  instanceId: string;
@@ -1455,8 +1455,8 @@ export type AuthDevicesListOutput = {
1455
1455
  [k: string]: string;
1456
1456
  };
1457
1457
  publicIdentityKey: string;
1458
- revokedAt: (string | null);
1459
- state: ("registered" | "activated" | "revoked" | "disabled");
1458
+ revokedAt: string | null;
1459
+ state: "registered" | "activated" | "revoked" | "disabled";
1460
1460
  }>;
1461
1461
  limit: number;
1462
1462
  nextOffset?: number;
@@ -1472,7 +1472,7 @@ export type AuthDevicesProvisionInput = {
1472
1472
  };
1473
1473
  export type AuthDevicesProvisionOutput = {
1474
1474
  instance: {
1475
- activatedAt: (string | null);
1475
+ activatedAt: string | null;
1476
1476
  createdAt: string;
1477
1477
  deploymentId: string;
1478
1478
  instanceId: string;
@@ -1480,8 +1480,8 @@ export type AuthDevicesProvisionOutput = {
1480
1480
  [k: string]: string;
1481
1481
  };
1482
1482
  publicIdentityKey: string;
1483
- revokedAt: (string | null);
1484
- state: ("registered" | "activated" | "revoked" | "disabled");
1483
+ revokedAt: string | null;
1484
+ state: "registered" | "activated" | "revoked" | "disabled";
1485
1485
  };
1486
1486
  };
1487
1487
  export type AuthDevicesRemoveInput = {
@@ -1499,11 +1499,11 @@ export type AuthHealthOutput = {
1499
1499
  };
1500
1500
  latencyMs: number;
1501
1501
  name: string;
1502
- status: ("ok" | "failed");
1502
+ status: "ok" | "failed";
1503
1503
  summary?: string;
1504
1504
  }>;
1505
1505
  service: string;
1506
- status: ("healthy" | "unhealthy" | "degraded");
1506
+ status: "healthy" | "unhealthy" | "degraded";
1507
1507
  timestamp: string;
1508
1508
  };
1509
1509
  export type AuthIdentitiesListInput = {
@@ -1514,7 +1514,7 @@ export type AuthIdentitiesListInput = {
1514
1514
  export type AuthIdentitiesListOutput = {
1515
1515
  count: number;
1516
1516
  entries: Array<{
1517
- answer: ("approved" | "denied");
1517
+ answer: "approved" | "denied";
1518
1518
  answeredAt: string;
1519
1519
  capabilities: {
1520
1520
  [k: string]: {
@@ -1529,7 +1529,7 @@ export type AuthIdentitiesListOutput = {
1529
1529
  };
1530
1530
  description: string;
1531
1531
  displayName: string;
1532
- identityAnchor: ({
1532
+ identityAnchor: {
1533
1533
  contractId: string;
1534
1534
  kind: "web";
1535
1535
  origin: string;
@@ -1545,9 +1545,9 @@ export type AuthIdentitiesListOutput = {
1545
1545
  contractId: string;
1546
1546
  devicePublicKey: string;
1547
1547
  kind: "device-user";
1548
- });
1548
+ };
1549
1549
  identityGrantId: string;
1550
- participantKind: ("app" | "agent");
1550
+ participantKind: "app" | "agent";
1551
1551
  updatedAt: string;
1552
1552
  user: string;
1553
1553
  }>;
@@ -1571,7 +1571,7 @@ export type AuthIdentityGrantsListOutput = {
1571
1571
  description: string;
1572
1572
  displayName: string;
1573
1573
  grantedAt: string;
1574
- identityAnchor: ({
1574
+ identityAnchor: {
1575
1575
  contractId: string;
1576
1576
  kind: "web";
1577
1577
  origin: string;
@@ -1587,9 +1587,9 @@ export type AuthIdentityGrantsListOutput = {
1587
1587
  contractId: string;
1588
1588
  devicePublicKey: string;
1589
1589
  kind: "device-user";
1590
- });
1590
+ };
1591
1591
  identityGrantId: string;
1592
- participantKind: ("app" | "agent");
1592
+ participantKind: "app" | "agent";
1593
1593
  updatedAt: string;
1594
1594
  }>;
1595
1595
  limit: number;
@@ -1619,20 +1619,20 @@ export type AuthPortalsGetOutput = {
1619
1619
  createdAt: string;
1620
1620
  disabled: boolean;
1621
1621
  displayName: string;
1622
- entryUrl: (string | null);
1622
+ entryUrl: string | null;
1623
1623
  portalId: string;
1624
1624
  updatedAt: string;
1625
1625
  };
1626
1626
  routes: Array<{
1627
- contractId: (string | null);
1627
+ contractId: string | null;
1628
1628
  disabled: boolean;
1629
- origin: (string | null);
1629
+ origin: string | null;
1630
1630
  portalId: string;
1631
1631
  routeKey: string;
1632
1632
  updatedAt: string;
1633
1633
  }>;
1634
1634
  settings: {
1635
- allowedFederatedProviders: (Array<string> | null);
1635
+ allowedFederatedProviders: Array<string> | null;
1636
1636
  federatedRegistrationEnabled: boolean;
1637
1637
  localRegistrationEnabled: boolean;
1638
1638
  portalId: string;
@@ -1652,7 +1652,7 @@ export type AuthPortalsListOutput = {
1652
1652
  createdAt: string;
1653
1653
  disabled: boolean;
1654
1654
  displayName: string;
1655
- entryUrl: (string | null);
1655
+ entryUrl: string | null;
1656
1656
  portalId: string;
1657
1657
  routeCount: number;
1658
1658
  updatedAt: string;
@@ -1677,12 +1677,12 @@ export type AuthPortalsLoginSettingsGetOutput = {
1677
1677
  createdAt: string;
1678
1678
  disabled: boolean;
1679
1679
  displayName: string;
1680
- entryUrl: (string | null);
1680
+ entryUrl: string | null;
1681
1681
  portalId: string;
1682
1682
  updatedAt: string;
1683
1683
  };
1684
1684
  settings: {
1685
- allowedFederatedProviders: (Array<string> | null);
1685
+ allowedFederatedProviders: Array<string> | null;
1686
1686
  federatedRegistrationEnabled: boolean;
1687
1687
  localRegistrationEnabled: boolean;
1688
1688
  portalId: string;
@@ -1691,7 +1691,7 @@ export type AuthPortalsLoginSettingsGetOutput = {
1691
1691
  };
1692
1692
  };
1693
1693
  export type AuthPortalsLoginSettingsUpdateInput = {
1694
- allowedFederatedProviders: (Array<string> | null);
1694
+ allowedFederatedProviders: Array<string> | null;
1695
1695
  defaultCapabilities: Array<string>;
1696
1696
  defaultCapabilityGroups: Array<string>;
1697
1697
  federatedRegistrationEnabled: boolean;
@@ -1712,12 +1712,12 @@ export type AuthPortalsLoginSettingsUpdateOutput = {
1712
1712
  createdAt: string;
1713
1713
  disabled: boolean;
1714
1714
  displayName: string;
1715
- entryUrl: (string | null);
1715
+ entryUrl: string | null;
1716
1716
  portalId: string;
1717
1717
  updatedAt: string;
1718
1718
  };
1719
1719
  settings: {
1720
- allowedFederatedProviders: (Array<string> | null);
1720
+ allowedFederatedProviders: Array<string> | null;
1721
1721
  federatedRegistrationEnabled: boolean;
1722
1722
  localRegistrationEnabled: boolean;
1723
1723
  portalId: string;
@@ -1737,7 +1737,7 @@ export type AuthPortalsPutOutput = {
1737
1737
  createdAt: string;
1738
1738
  disabled: boolean;
1739
1739
  displayName: string;
1740
- entryUrl: (string | null);
1740
+ entryUrl: string | null;
1741
1741
  portalId: string;
1742
1742
  updatedAt: string;
1743
1743
  };
@@ -1749,24 +1749,24 @@ export type AuthPortalsRemoveOutput = {
1749
1749
  success: boolean;
1750
1750
  };
1751
1751
  export type AuthPortalsRoutesPutInput = {
1752
- contractId?: (string | null);
1752
+ contractId?: string | null;
1753
1753
  disabled?: boolean;
1754
- origin?: (string | null);
1754
+ origin?: string | null;
1755
1755
  portalId: string;
1756
1756
  };
1757
1757
  export type AuthPortalsRoutesPutOutput = {
1758
1758
  route: {
1759
- contractId: (string | null);
1759
+ contractId: string | null;
1760
1760
  disabled: boolean;
1761
- origin: (string | null);
1761
+ origin: string | null;
1762
1762
  portalId: string;
1763
1763
  routeKey: string;
1764
1764
  updatedAt: string;
1765
1765
  };
1766
1766
  };
1767
1767
  export type AuthPortalsRoutesRemoveInput = {
1768
- contractId?: (string | null);
1769
- origin?: (string | null);
1768
+ contractId?: string | null;
1769
+ origin?: string | null;
1770
1770
  portalId: string;
1771
1771
  };
1772
1772
  export type AuthPortalsRoutesRemoveOutput = {
@@ -1783,7 +1783,7 @@ export type AuthRequestsValidateInput = {
1783
1783
  };
1784
1784
  export type AuthRequestsValidateOutput = {
1785
1785
  allowed: boolean;
1786
- caller: ({
1786
+ caller: {
1787
1787
  active: boolean;
1788
1788
  capabilities: Array<string>;
1789
1789
  email: string;
@@ -1795,7 +1795,7 @@ export type AuthRequestsValidateOutput = {
1795
1795
  image?: string;
1796
1796
  lastAuth: string;
1797
1797
  name: string;
1798
- participantKind: ("app" | "agent");
1798
+ participantKind: "app" | "agent";
1799
1799
  type: "user";
1800
1800
  userId: string;
1801
1801
  } | {
@@ -1812,7 +1812,7 @@ export type AuthRequestsValidateOutput = {
1812
1812
  deviceType: string;
1813
1813
  runtimePublicKey: string;
1814
1814
  type: "device";
1815
- });
1815
+ };
1816
1816
  inboxPrefix: string;
1817
1817
  };
1818
1818
  export type AuthServiceInstancesDisableInput = {
@@ -1836,7 +1836,7 @@ export type AuthServiceInstancesDisableOutput = {
1836
1836
  filterSubjects: Array<string>;
1837
1837
  maxDeliver: number;
1838
1838
  ordering: "strict";
1839
- replay: ("new" | "all");
1839
+ replay: "new" | "all";
1840
1840
  stream: string;
1841
1841
  };
1842
1842
  };
@@ -1906,7 +1906,7 @@ export type AuthServiceInstancesEnableOutput = {
1906
1906
  filterSubjects: Array<string>;
1907
1907
  maxDeliver: number;
1908
1908
  ordering: "strict";
1909
- replay: ("new" | "all");
1909
+ replay: "new" | "all";
1910
1910
  stream: string;
1911
1911
  };
1912
1912
  };
@@ -1980,7 +1980,7 @@ export type AuthServiceInstancesListOutput = {
1980
1980
  filterSubjects: Array<string>;
1981
1981
  maxDeliver: number;
1982
1982
  ordering: "strict";
1983
- replay: ("new" | "all");
1983
+ replay: "new" | "all";
1984
1984
  stream: string;
1985
1985
  };
1986
1986
  };
@@ -2054,7 +2054,7 @@ export type AuthServiceInstancesProvisionOutput = {
2054
2054
  filterSubjects: Array<string>;
2055
2055
  maxDeliver: number;
2056
2056
  ordering: "strict";
2057
- replay: ("new" | "all");
2057
+ replay: "new" | "all";
2058
2058
  stream: string;
2059
2059
  };
2060
2060
  };
@@ -2191,7 +2191,7 @@ export type AuthSessionsLogoutOutput = {
2191
2191
  };
2192
2192
  export type AuthSessionsMeInput = {};
2193
2193
  export type AuthSessionsMeOutput = {
2194
- device: ({
2194
+ device: {
2195
2195
  active: boolean;
2196
2196
  capabilities: Array<string>;
2197
2197
  deploymentId: string;
@@ -2199,16 +2199,16 @@ export type AuthSessionsMeOutput = {
2199
2199
  deviceType: string;
2200
2200
  runtimePublicKey: string;
2201
2201
  type: "device";
2202
- } | null);
2203
- participantKind: (("app" | "agent") | "device" | "service");
2204
- service: ({
2202
+ } | null;
2203
+ participantKind: ("app" | "agent") | "device" | "service";
2204
+ service: {
2205
2205
  active: boolean;
2206
2206
  capabilities: Array<string>;
2207
2207
  id: string;
2208
2208
  name: string;
2209
2209
  type: "service";
2210
- } | null);
2211
- user: ({
2210
+ } | null;
2211
+ user: {
2212
2212
  active: boolean;
2213
2213
  capabilities: Array<string>;
2214
2214
  email: string;
@@ -2221,7 +2221,7 @@ export type AuthSessionsMeOutput = {
2221
2221
  lastLogin?: string;
2222
2222
  name: string;
2223
2223
  userId: string;
2224
- } | null);
2224
+ } | null;
2225
2225
  };
2226
2226
  export type AuthSessionsRevokeInput = {
2227
2227
  sessionKey: string;
@@ -2237,11 +2237,11 @@ export type AuthUserIdentitiesListInput = {
2237
2237
  export type AuthUserIdentitiesListOutput = {
2238
2238
  count: number;
2239
2239
  entries: Array<{
2240
- displayName: (string | null);
2241
- email: (string | null);
2240
+ displayName: string | null;
2241
+ email: string | null;
2242
2242
  emailVerified: boolean;
2243
2243
  identityId: string;
2244
- lastLoginAt: (string | null);
2244
+ lastLoginAt: string | null;
2245
2245
  linkedAt: string;
2246
2246
  provider: string;
2247
2247
  subject: string;
@@ -2272,11 +2272,11 @@ export type AuthUsersCreateOutput = {
2272
2272
  capabilityGroups: Array<string>;
2273
2273
  email?: string;
2274
2274
  identities: Array<{
2275
- displayName: (string | null);
2276
- email: (string | null);
2275
+ displayName: string | null;
2276
+ email: string | null;
2277
2277
  emailVerified: boolean;
2278
2278
  identityId: string;
2279
- lastLoginAt: (string | null);
2279
+ lastLoginAt: string | null;
2280
2280
  linkedAt: string;
2281
2281
  provider: string;
2282
2282
  subject: string;
@@ -2295,11 +2295,11 @@ export type AuthUsersGetOutput = {
2295
2295
  capabilityGroups: Array<string>;
2296
2296
  email?: string;
2297
2297
  identities: Array<{
2298
- displayName: (string | null);
2299
- email: (string | null);
2298
+ displayName: string | null;
2299
+ email: string | null;
2300
2300
  emailVerified: boolean;
2301
2301
  identityId: string;
2302
- lastLoginAt: (string | null);
2302
+ lastLoginAt: string | null;
2303
2303
  linkedAt: string;
2304
2304
  provider: string;
2305
2305
  subject: string;
@@ -2328,11 +2328,11 @@ export type AuthUsersListOutput = {
2328
2328
  capabilityGroups: Array<string>;
2329
2329
  email?: string;
2330
2330
  identities: Array<{
2331
- displayName: (string | null);
2332
- email: (string | null);
2331
+ displayName: string | null;
2332
+ email: string | null;
2333
2333
  emailVerified: boolean;
2334
2334
  identityId: string;
2335
- lastLoginAt: (string | null);
2335
+ lastLoginAt: string | null;
2336
2336
  linkedAt: string;
2337
2337
  provider: string;
2338
2338
  subject: string;
@@ -2381,7 +2381,7 @@ export type AuthDeviceUserAuthoritiesResolveProgress = {
2381
2381
  reviewId: string;
2382
2382
  status: "pending_review";
2383
2383
  };
2384
- export type AuthDeviceUserAuthoritiesResolveOutput = ({
2384
+ export type AuthDeviceUserAuthoritiesResolveOutput = {
2385
2385
  activatedAt: string;
2386
2386
  confirmationCode?: string;
2387
2387
  deploymentId: string;
@@ -2390,8 +2390,8 @@ export type AuthDeviceUserAuthoritiesResolveOutput = ({
2390
2390
  } | {
2391
2391
  reason?: string;
2392
2392
  status: "rejected";
2393
- });
2394
- export type AuthConnectionsClosedEvent = ({
2393
+ };
2394
+ export type AuthConnectionsClosedEvent = {
2395
2395
  header: {
2396
2396
  id: string;
2397
2397
  time: string;
@@ -2401,8 +2401,8 @@ export type AuthConnectionsClosedEvent = ({
2401
2401
  origin: string;
2402
2402
  sessionKey: string;
2403
2403
  userNkey: string;
2404
- });
2405
- export type AuthConnectionsKickedEvent = ({
2404
+ };
2405
+ export type AuthConnectionsKickedEvent = {
2406
2406
  header: {
2407
2407
  id: string;
2408
2408
  time: string;
@@ -2412,8 +2412,8 @@ export type AuthConnectionsKickedEvent = ({
2412
2412
  kickedBy: string;
2413
2413
  origin: string;
2414
2414
  userNkey: string;
2415
- });
2416
- export type AuthConnectionsOpenedEvent = ({
2415
+ };
2416
+ export type AuthConnectionsOpenedEvent = {
2417
2417
  header: {
2418
2418
  id: string;
2419
2419
  time: string;
@@ -2423,7 +2423,7 @@ export type AuthConnectionsOpenedEvent = ({
2423
2423
  origin: string;
2424
2424
  sessionKey: string;
2425
2425
  userNkey: string;
2426
- });
2426
+ };
2427
2427
  export type AuthDeviceUserAuthoritiesApprovedEvent = {
2428
2428
  approvedAt: string;
2429
2429
  approvedBy: {
@@ -2432,7 +2432,7 @@ export type AuthDeviceUserAuthoritiesApprovedEvent = {
2432
2432
  provider: string;
2433
2433
  subject: string;
2434
2434
  };
2435
- participantKind: ("app" | "agent");
2435
+ participantKind: "app" | "agent";
2436
2436
  userId: string;
2437
2437
  };
2438
2438
  deploymentId: string;
@@ -2446,7 +2446,7 @@ export type AuthDeviceUserAuthoritiesApprovedEvent = {
2446
2446
  provider: string;
2447
2447
  subject: string;
2448
2448
  };
2449
- participantKind: ("app" | "agent");
2449
+ participantKind: "app" | "agent";
2450
2450
  userId: string;
2451
2451
  };
2452
2452
  reviewId: string;
@@ -2463,7 +2463,7 @@ export type AuthDeviceUserAuthoritiesRequestedEvent = {
2463
2463
  provider: string;
2464
2464
  subject: string;
2465
2465
  };
2466
- participantKind: ("app" | "agent");
2466
+ participantKind: "app" | "agent";
2467
2467
  userId: string;
2468
2468
  };
2469
2469
  };
@@ -2479,7 +2479,7 @@ export type AuthDeviceUserAuthoritiesResolvedEvent = {
2479
2479
  provider: string;
2480
2480
  subject: string;
2481
2481
  };
2482
- participantKind: ("app" | "agent");
2482
+ participantKind: "app" | "agent";
2483
2483
  userId: string;
2484
2484
  };
2485
2485
  reviewId?: string;
@@ -2496,12 +2496,12 @@ export type AuthDeviceUserAuthoritiesReviewRequestedEvent = {
2496
2496
  provider: string;
2497
2497
  subject: string;
2498
2498
  };
2499
- participantKind: ("app" | "agent");
2499
+ participantKind: "app" | "agent";
2500
2500
  userId: string;
2501
2501
  };
2502
2502
  reviewId: string;
2503
2503
  };
2504
- export type AuthSessionsRevokedEvent = ({
2504
+ export type AuthSessionsRevokedEvent = {
2505
2505
  header: {
2506
2506
  id: string;
2507
2507
  time: string;
@@ -2511,7 +2511,7 @@ export type AuthSessionsRevokedEvent = ({
2511
2511
  origin: string;
2512
2512
  revokedBy: string;
2513
2513
  sessionKey: string;
2514
- });
2514
+ };
2515
2515
  export interface RpcMap {
2516
2516
  "Auth.Capabilities.List": {
2517
2517
  input: AuthCapabilitiesListInput;