@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
@@ -1,5 +1,5 @@
1
1
  import { schema } from "@qlever-llc/trellis/contracts";
2
- import { AuthCapabilitiesListRequestSchema, AuthCapabilitiesListResponseSchema, AuthCapabilityGroupsDeleteRequestSchema, AuthCapabilityGroupsDeleteResponseSchema, AuthCapabilityGroupsGetRequestSchema, AuthCapabilityGroupsGetResponseSchema, AuthCapabilityGroupsListRequestSchema, AuthCapabilityGroupsListResponseSchema, AuthCapabilityGroupsPutRequestSchema, AuthCapabilityGroupsPutResponseSchema, AuthCatalogIssuesResolveRequestSchema, AuthCatalogIssuesResolveResponseSchema, AuthConnectionsClosedEventSchema, AuthConnectionsKickRequestSchema, AuthConnectionsKickResponseSchema, AuthConnectionsKickedEventSchema, AuthConnectionsListRequestSchema, AuthConnectionsListResponseSchema, AuthConnectionsOpenedEventSchema, AuthDeploymentAuthorityAcceptMigrationRequestSchema, AuthDeploymentAuthorityAcceptResponseSchema, AuthDeploymentAuthorityAcceptUpdateRequestSchema, AuthDeploymentAuthorityGetRequestSchema, AuthDeploymentAuthorityGetResponseSchema, AuthDeploymentAuthorityGrantOverridesListRequestSchema, AuthDeploymentAuthorityGrantOverridesListResponseSchema, AuthDeploymentAuthorityGrantOverridesPutRequestSchema, AuthDeploymentAuthorityGrantOverridesRemoveRequestSchema, AuthDeploymentAuthorityGrantOverridesResponseSchema, AuthDeploymentAuthorityListRequestSchema, AuthDeploymentAuthorityListResponseSchema, AuthDeploymentAuthorityPlanRequestSchema, AuthDeploymentAuthorityPlanResponseSchema, AuthDeploymentAuthorityPlansGetRequestSchema, AuthDeploymentAuthorityPlansGetResponseSchema, AuthDeploymentAuthorityPlansListRequestSchema, AuthDeploymentAuthorityPlansListResponseSchema, AuthDeploymentAuthorityReconcileRequestSchema, AuthDeploymentAuthorityReconcileResponseSchema, AuthDeploymentAuthorityRejectRequestSchema, AuthDeploymentAuthorityRejectResponseSchema, AuthDeploymentsCreateRequestSchema, AuthDeploymentsCreateResponseSchema, AuthDeploymentsDisableRequestSchema, AuthDeploymentsDisableResponseSchema, AuthDeploymentsEnableRequestSchema, AuthDeploymentsEnableResponseSchema, AuthDeploymentsListRequestSchema, AuthDeploymentsListResponseSchema, AuthDeploymentsRemoveRequestSchema, AuthDeploymentsRemoveResponseSchema, AuthDeviceUserAuthoritiesApprovedEventSchema, AuthDeviceUserAuthoritiesListRequestSchema, AuthDeviceUserAuthoritiesListResponseSchema, AuthDeviceUserAuthoritiesRequestedEventSchema, AuthDeviceUserAuthoritiesResolvedEventSchema, AuthDeviceUserAuthoritiesReviewRequestedEventSchema, AuthDeviceUserAuthoritiesReviewsDecideRequestSchema, AuthDeviceUserAuthoritiesReviewsDecideResponseSchema, AuthDeviceUserAuthoritiesReviewsListRequestSchema, AuthDeviceUserAuthoritiesReviewsListResponseSchema, AuthDeviceUserAuthoritiesRevokeRequestSchema, AuthDeviceUserAuthoritiesRevokeResponseSchema, AuthDevicesConnectInfoGetRequestSchema, AuthDevicesConnectInfoGetResponseSchema, AuthDevicesDisableRequestSchema, AuthDevicesDisableResponseSchema, AuthDevicesEnableRequestSchema, AuthDevicesEnableResponseSchema, AuthDevicesListRequestSchema, AuthDevicesListResponseSchema, AuthDevicesProvisionRequestSchema, AuthDevicesProvisionResponseSchema, AuthDevicesRemoveRequestSchema, AuthDevicesRemoveResponseSchema, AuthIdentitiesListRequestSchema, AuthIdentitiesListResponseSchema, AuthIdentityGrantsListRequestSchema, AuthIdentityGrantsListResponseSchema, AuthIdentityGrantsRevokeRequestSchema, AuthIdentityGrantsRevokeResponseSchema, AuthPortalsGetRequestSchema, AuthPortalsGetResponseSchema, AuthPortalsListRequestSchema, AuthPortalsListResponseSchema, AuthPortalsLoginSettingsGetRequestSchema, AuthPortalsLoginSettingsResponseSchema, AuthPortalsLoginSettingsUpdateRequestSchema, AuthPortalsPutRequestSchema, AuthPortalsPutResponseSchema, AuthPortalsRemoveRequestSchema, AuthPortalsRemoveResponseSchema, AuthPortalsRoutesPutRequestSchema, AuthPortalsRoutesPutResponseSchema, AuthPortalsRoutesRemoveRequestSchema, AuthPortalsRoutesRemoveResponseSchema, AuthRequestsValidateRequestSchema, AuthRequestsValidateResponseSchema, AuthResolveDeviceUserAuthoritiesProgressSchema, AuthResolveDeviceUserAuthoritiesRequestSchema, AuthResolveDeviceUserAuthoritiesResponseSchema, AuthServiceInstancesDisableRequestSchema, AuthServiceInstancesDisableResponseSchema, AuthServiceInstancesEnableRequestSchema, AuthServiceInstancesEnableResponseSchema, AuthServiceInstancesListRequestSchema, AuthServiceInstancesListResponseSchema, AuthServiceInstancesProvisionRequestSchema, AuthServiceInstancesProvisionResponseSchema, AuthServiceInstancesRemoveRequestSchema, AuthServiceInstancesRemoveResponseSchema, AuthSessionsListRequestSchema, AuthSessionsListResponseSchema, AuthSessionsLogoutRequestSchema, AuthSessionsLogoutResponseSchema, AuthSessionsMeRequestSchema, AuthSessionsMeResponseSchema, AuthSessionsRevokeRequestSchema, AuthSessionsRevokeResponseSchema, AuthSessionsRevokedEventSchema, AuthUserIdentitiesListRequestSchema, AuthUserIdentitiesListResponseSchema, AuthUserIdentitiesUnlinkRequestSchema, AuthUserIdentitiesUnlinkResponseSchema, AuthUsersAccountFlowCreateResponseSchema, AuthUsersCreateRequestSchema, AuthUsersCreateResponseSchema, AuthUsersGetRequestSchema, AuthUsersGetResponseSchema, AuthUsersIdentityLinkCreateRequestSchema, AuthUsersListRequestSchema, AuthUsersListResponseSchema, AuthUsersPasswordChangeRequestSchema, AuthUsersPasswordChangeResponseSchema, AuthUsersPasswordResetCreateRequestSchema, AuthUsersUpdateRequestSchema, AuthUsersUpdateResponseSchema, HealthRequestSchema, HealthResponseSchema } from "./schemas.js";
2
+ import { AuthCapabilitiesListRequestSchema, AuthCapabilitiesListResponseSchema, AuthCapabilityGroupsDeleteRequestSchema, AuthCapabilityGroupsDeleteResponseSchema, AuthCapabilityGroupsGetRequestSchema, AuthCapabilityGroupsGetResponseSchema, AuthCapabilityGroupsListRequestSchema, AuthCapabilityGroupsListResponseSchema, AuthCapabilityGroupsPutRequestSchema, AuthCapabilityGroupsPutResponseSchema, AuthCatalogIssuesResolveRequestSchema, AuthCatalogIssuesResolveResponseSchema, AuthConnectionsClosedEventSchema, AuthConnectionsKickedEventSchema, AuthConnectionsKickRequestSchema, AuthConnectionsKickResponseSchema, AuthConnectionsListRequestSchema, AuthConnectionsListResponseSchema, AuthConnectionsOpenedEventSchema, AuthDeploymentAuthorityAcceptMigrationRequestSchema, AuthDeploymentAuthorityAcceptResponseSchema, AuthDeploymentAuthorityAcceptUpdateRequestSchema, AuthDeploymentAuthorityGetRequestSchema, AuthDeploymentAuthorityGetResponseSchema, AuthDeploymentAuthorityGrantOverridesListRequestSchema, AuthDeploymentAuthorityGrantOverridesListResponseSchema, AuthDeploymentAuthorityGrantOverridesPutRequestSchema, AuthDeploymentAuthorityGrantOverridesRemoveRequestSchema, AuthDeploymentAuthorityGrantOverridesResponseSchema, AuthDeploymentAuthorityListRequestSchema, AuthDeploymentAuthorityListResponseSchema, AuthDeploymentAuthorityPlanRequestSchema, AuthDeploymentAuthorityPlanResponseSchema, AuthDeploymentAuthorityPlansGetRequestSchema, AuthDeploymentAuthorityPlansGetResponseSchema, AuthDeploymentAuthorityPlansListRequestSchema, AuthDeploymentAuthorityPlansListResponseSchema, AuthDeploymentAuthorityReconcileRequestSchema, AuthDeploymentAuthorityReconcileResponseSchema, AuthDeploymentAuthorityRejectRequestSchema, AuthDeploymentAuthorityRejectResponseSchema, AuthDeploymentsCreateRequestSchema, AuthDeploymentsCreateResponseSchema, AuthDeploymentsDisableRequestSchema, AuthDeploymentsDisableResponseSchema, AuthDeploymentsEnableRequestSchema, AuthDeploymentsEnableResponseSchema, AuthDeploymentsListRequestSchema, AuthDeploymentsListResponseSchema, AuthDeploymentsRemoveRequestSchema, AuthDeploymentsRemoveResponseSchema, AuthDevicesConnectInfoGetRequestSchema, AuthDevicesConnectInfoGetResponseSchema, AuthDevicesDisableRequestSchema, AuthDevicesDisableResponseSchema, AuthDevicesEnableRequestSchema, AuthDevicesEnableResponseSchema, AuthDevicesListRequestSchema, AuthDevicesListResponseSchema, AuthDevicesProvisionRequestSchema, AuthDevicesProvisionResponseSchema, AuthDevicesRemoveRequestSchema, AuthDevicesRemoveResponseSchema, AuthDeviceUserAuthoritiesApprovedEventSchema, AuthDeviceUserAuthoritiesListRequestSchema, AuthDeviceUserAuthoritiesListResponseSchema, AuthDeviceUserAuthoritiesRequestedEventSchema, AuthDeviceUserAuthoritiesResolvedEventSchema, AuthDeviceUserAuthoritiesReviewRequestedEventSchema, AuthDeviceUserAuthoritiesReviewsDecideRequestSchema, AuthDeviceUserAuthoritiesReviewsDecideResponseSchema, AuthDeviceUserAuthoritiesReviewsListRequestSchema, AuthDeviceUserAuthoritiesReviewsListResponseSchema, AuthDeviceUserAuthoritiesRevokeRequestSchema, AuthDeviceUserAuthoritiesRevokeResponseSchema, AuthIdentitiesListRequestSchema, AuthIdentitiesListResponseSchema, AuthIdentityGrantsListRequestSchema, AuthIdentityGrantsListResponseSchema, AuthIdentityGrantsRevokeRequestSchema, AuthIdentityGrantsRevokeResponseSchema, AuthPortalsGetRequestSchema, AuthPortalsGetResponseSchema, AuthPortalsListRequestSchema, AuthPortalsListResponseSchema, AuthPortalsLoginSettingsGetRequestSchema, AuthPortalsLoginSettingsResponseSchema, AuthPortalsLoginSettingsUpdateRequestSchema, AuthPortalsPutRequestSchema, AuthPortalsPutResponseSchema, AuthPortalsRemoveRequestSchema, AuthPortalsRemoveResponseSchema, AuthPortalsRoutesPutRequestSchema, AuthPortalsRoutesPutResponseSchema, AuthPortalsRoutesRemoveRequestSchema, AuthPortalsRoutesRemoveResponseSchema, AuthRequestsValidateRequestSchema, AuthRequestsValidateResponseSchema, AuthResolveDeviceUserAuthoritiesProgressSchema, AuthResolveDeviceUserAuthoritiesRequestSchema, AuthResolveDeviceUserAuthoritiesResponseSchema, AuthServiceInstancesDisableRequestSchema, AuthServiceInstancesDisableResponseSchema, AuthServiceInstancesEnableRequestSchema, AuthServiceInstancesEnableResponseSchema, AuthServiceInstancesListRequestSchema, AuthServiceInstancesListResponseSchema, AuthServiceInstancesProvisionRequestSchema, AuthServiceInstancesProvisionResponseSchema, AuthServiceInstancesRemoveRequestSchema, AuthServiceInstancesRemoveResponseSchema, AuthSessionsListRequestSchema, AuthSessionsListResponseSchema, AuthSessionsLogoutRequestSchema, AuthSessionsLogoutResponseSchema, AuthSessionsMeRequestSchema, AuthSessionsMeResponseSchema, AuthSessionsRevokedEventSchema, AuthSessionsRevokeRequestSchema, AuthSessionsRevokeResponseSchema, AuthUserIdentitiesListRequestSchema, AuthUserIdentitiesListResponseSchema, AuthUserIdentitiesUnlinkRequestSchema, AuthUserIdentitiesUnlinkResponseSchema, AuthUsersAccountFlowCreateResponseSchema, AuthUsersCreateRequestSchema, AuthUsersCreateResponseSchema, AuthUsersGetRequestSchema, AuthUsersGetResponseSchema, AuthUsersIdentityLinkCreateRequestSchema, AuthUsersListRequestSchema, AuthUsersListResponseSchema, AuthUsersPasswordChangeRequestSchema, AuthUsersPasswordChangeResponseSchema, AuthUsersPasswordResetCreateRequestSchema, AuthUsersUpdateRequestSchema, AuthUsersUpdateResponseSchema, HealthRequestSchema, HealthResponseSchema, } from "./schemas.js";
3
3
  export const OWNED_API = {
4
4
  rpc: {
5
5
  "Auth.Capabilities.List": {
@@ -8,7 +8,11 @@ export const OWNED_API = {
8
8
  output: schema(AuthCapabilitiesListResponseSchema),
9
9
  callerCapabilities: ["admin"],
10
10
  errors: ["AuthError", "UnexpectedError", "ValidationError"],
11
- declaredErrorTypes: ["AuthError", "UnexpectedError", "ValidationError"],
11
+ declaredErrorTypes: [
12
+ "AuthError",
13
+ "UnexpectedError",
14
+ "ValidationError",
15
+ ],
12
16
  },
13
17
  "Auth.CapabilityGroups.Delete": {
14
18
  subject: "rpc.v1.Auth.CapabilityGroups.Delete",
@@ -16,7 +20,11 @@ export const OWNED_API = {
16
20
  output: schema(AuthCapabilityGroupsDeleteResponseSchema),
17
21
  callerCapabilities: ["admin"],
18
22
  errors: ["AuthError", "UnexpectedError", "ValidationError"],
19
- declaredErrorTypes: ["AuthError", "UnexpectedError", "ValidationError"],
23
+ declaredErrorTypes: [
24
+ "AuthError",
25
+ "UnexpectedError",
26
+ "ValidationError",
27
+ ],
20
28
  },
21
29
  "Auth.CapabilityGroups.Get": {
22
30
  subject: "rpc.v1.Auth.CapabilityGroups.Get",
@@ -24,7 +32,11 @@ export const OWNED_API = {
24
32
  output: schema(AuthCapabilityGroupsGetResponseSchema),
25
33
  callerCapabilities: ["admin"],
26
34
  errors: ["AuthError", "UnexpectedError", "ValidationError"],
27
- declaredErrorTypes: ["AuthError", "UnexpectedError", "ValidationError"],
35
+ declaredErrorTypes: [
36
+ "AuthError",
37
+ "UnexpectedError",
38
+ "ValidationError",
39
+ ],
28
40
  },
29
41
  "Auth.CapabilityGroups.List": {
30
42
  subject: "rpc.v1.Auth.CapabilityGroups.List",
@@ -32,7 +44,11 @@ export const OWNED_API = {
32
44
  output: schema(AuthCapabilityGroupsListResponseSchema),
33
45
  callerCapabilities: ["admin"],
34
46
  errors: ["AuthError", "UnexpectedError", "ValidationError"],
35
- declaredErrorTypes: ["AuthError", "UnexpectedError", "ValidationError"],
47
+ declaredErrorTypes: [
48
+ "AuthError",
49
+ "UnexpectedError",
50
+ "ValidationError",
51
+ ],
36
52
  },
37
53
  "Auth.CapabilityGroups.Put": {
38
54
  subject: "rpc.v1.Auth.CapabilityGroups.Put",
@@ -40,7 +56,11 @@ export const OWNED_API = {
40
56
  output: schema(AuthCapabilityGroupsPutResponseSchema),
41
57
  callerCapabilities: ["admin"],
42
58
  errors: ["AuthError", "UnexpectedError", "ValidationError"],
43
- declaredErrorTypes: ["AuthError", "UnexpectedError", "ValidationError"],
59
+ declaredErrorTypes: [
60
+ "AuthError",
61
+ "UnexpectedError",
62
+ "ValidationError",
63
+ ],
44
64
  },
45
65
  "Auth.CatalogIssues.Resolve": {
46
66
  subject: "rpc.v1.Auth.CatalogIssues.Resolve",
@@ -48,7 +68,11 @@ export const OWNED_API = {
48
68
  output: schema(AuthCatalogIssuesResolveResponseSchema),
49
69
  callerCapabilities: ["admin"],
50
70
  errors: ["AuthError", "UnexpectedError", "ValidationError"],
51
- declaredErrorTypes: ["AuthError", "UnexpectedError", "ValidationError"],
71
+ declaredErrorTypes: [
72
+ "AuthError",
73
+ "UnexpectedError",
74
+ "ValidationError",
75
+ ],
52
76
  },
53
77
  "Auth.Connections.Kick": {
54
78
  subject: "rpc.v1.Auth.Connections.Kick",
@@ -56,7 +80,11 @@ export const OWNED_API = {
56
80
  output: schema(AuthConnectionsKickResponseSchema),
57
81
  callerCapabilities: ["admin"],
58
82
  errors: ["AuthError", "UnexpectedError", "ValidationError"],
59
- declaredErrorTypes: ["AuthError", "UnexpectedError", "ValidationError"],
83
+ declaredErrorTypes: [
84
+ "AuthError",
85
+ "UnexpectedError",
86
+ "ValidationError",
87
+ ],
60
88
  },
61
89
  "Auth.Connections.List": {
62
90
  subject: "rpc.v1.Auth.Connections.List",
@@ -64,7 +92,11 @@ export const OWNED_API = {
64
92
  output: schema(AuthConnectionsListResponseSchema),
65
93
  callerCapabilities: ["admin"],
66
94
  errors: ["AuthError", "UnexpectedError", "ValidationError"],
67
- declaredErrorTypes: ["AuthError", "UnexpectedError", "ValidationError"],
95
+ declaredErrorTypes: [
96
+ "AuthError",
97
+ "UnexpectedError",
98
+ "ValidationError",
99
+ ],
68
100
  },
69
101
  "Auth.DeploymentAuthority.AcceptMigration": {
70
102
  subject: "rpc.v1.Auth.DeploymentAuthority.AcceptMigration",
@@ -72,7 +104,11 @@ export const OWNED_API = {
72
104
  output: schema(AuthDeploymentAuthorityAcceptResponseSchema),
73
105
  callerCapabilities: ["admin"],
74
106
  errors: ["AuthError", "UnexpectedError", "ValidationError"],
75
- declaredErrorTypes: ["AuthError", "UnexpectedError", "ValidationError"],
107
+ declaredErrorTypes: [
108
+ "AuthError",
109
+ "UnexpectedError",
110
+ "ValidationError",
111
+ ],
76
112
  },
77
113
  "Auth.DeploymentAuthority.AcceptUpdate": {
78
114
  subject: "rpc.v1.Auth.DeploymentAuthority.AcceptUpdate",
@@ -80,7 +116,11 @@ export const OWNED_API = {
80
116
  output: schema(AuthDeploymentAuthorityAcceptResponseSchema),
81
117
  callerCapabilities: ["admin"],
82
118
  errors: ["AuthError", "UnexpectedError", "ValidationError"],
83
- declaredErrorTypes: ["AuthError", "UnexpectedError", "ValidationError"],
119
+ declaredErrorTypes: [
120
+ "AuthError",
121
+ "UnexpectedError",
122
+ "ValidationError",
123
+ ],
84
124
  },
85
125
  "Auth.DeploymentAuthority.Get": {
86
126
  subject: "rpc.v1.Auth.DeploymentAuthority.Get",
@@ -88,7 +128,11 @@ export const OWNED_API = {
88
128
  output: schema(AuthDeploymentAuthorityGetResponseSchema),
89
129
  callerCapabilities: ["admin"],
90
130
  errors: ["AuthError", "UnexpectedError", "ValidationError"],
91
- declaredErrorTypes: ["AuthError", "UnexpectedError", "ValidationError"],
131
+ declaredErrorTypes: [
132
+ "AuthError",
133
+ "UnexpectedError",
134
+ "ValidationError",
135
+ ],
92
136
  },
93
137
  "Auth.DeploymentAuthority.GrantOverrides.List": {
94
138
  subject: "rpc.v1.Auth.DeploymentAuthority.GrantOverrides.List",
@@ -96,7 +140,11 @@ export const OWNED_API = {
96
140
  output: schema(AuthDeploymentAuthorityGrantOverridesListResponseSchema),
97
141
  callerCapabilities: ["admin"],
98
142
  errors: ["AuthError", "UnexpectedError", "ValidationError"],
99
- declaredErrorTypes: ["AuthError", "UnexpectedError", "ValidationError"],
143
+ declaredErrorTypes: [
144
+ "AuthError",
145
+ "UnexpectedError",
146
+ "ValidationError",
147
+ ],
100
148
  },
101
149
  "Auth.DeploymentAuthority.GrantOverrides.Put": {
102
150
  subject: "rpc.v1.Auth.DeploymentAuthority.GrantOverrides.Put",
@@ -104,7 +152,11 @@ export const OWNED_API = {
104
152
  output: schema(AuthDeploymentAuthorityGrantOverridesResponseSchema),
105
153
  callerCapabilities: ["admin"],
106
154
  errors: ["AuthError", "UnexpectedError", "ValidationError"],
107
- declaredErrorTypes: ["AuthError", "UnexpectedError", "ValidationError"],
155
+ declaredErrorTypes: [
156
+ "AuthError",
157
+ "UnexpectedError",
158
+ "ValidationError",
159
+ ],
108
160
  },
109
161
  "Auth.DeploymentAuthority.GrantOverrides.Remove": {
110
162
  subject: "rpc.v1.Auth.DeploymentAuthority.GrantOverrides.Remove",
@@ -112,7 +164,11 @@ export const OWNED_API = {
112
164
  output: schema(AuthDeploymentAuthorityGrantOverridesResponseSchema),
113
165
  callerCapabilities: ["admin"],
114
166
  errors: ["AuthError", "UnexpectedError", "ValidationError"],
115
- declaredErrorTypes: ["AuthError", "UnexpectedError", "ValidationError"],
167
+ declaredErrorTypes: [
168
+ "AuthError",
169
+ "UnexpectedError",
170
+ "ValidationError",
171
+ ],
116
172
  },
117
173
  "Auth.DeploymentAuthority.List": {
118
174
  subject: "rpc.v1.Auth.DeploymentAuthority.List",
@@ -120,7 +176,11 @@ export const OWNED_API = {
120
176
  output: schema(AuthDeploymentAuthorityListResponseSchema),
121
177
  callerCapabilities: ["admin"],
122
178
  errors: ["AuthError", "UnexpectedError", "ValidationError"],
123
- declaredErrorTypes: ["AuthError", "UnexpectedError", "ValidationError"],
179
+ declaredErrorTypes: [
180
+ "AuthError",
181
+ "UnexpectedError",
182
+ "ValidationError",
183
+ ],
124
184
  },
125
185
  "Auth.DeploymentAuthority.Plan": {
126
186
  subject: "rpc.v1.Auth.DeploymentAuthority.Plan",
@@ -128,7 +188,11 @@ export const OWNED_API = {
128
188
  output: schema(AuthDeploymentAuthorityPlanResponseSchema),
129
189
  callerCapabilities: ["admin"],
130
190
  errors: ["AuthError", "UnexpectedError", "ValidationError"],
131
- declaredErrorTypes: ["AuthError", "UnexpectedError", "ValidationError"],
191
+ declaredErrorTypes: [
192
+ "AuthError",
193
+ "UnexpectedError",
194
+ "ValidationError",
195
+ ],
132
196
  },
133
197
  "Auth.DeploymentAuthority.Plans.Get": {
134
198
  subject: "rpc.v1.Auth.DeploymentAuthority.Plans.Get",
@@ -136,7 +200,11 @@ export const OWNED_API = {
136
200
  output: schema(AuthDeploymentAuthorityPlansGetResponseSchema),
137
201
  callerCapabilities: ["admin"],
138
202
  errors: ["AuthError", "UnexpectedError", "ValidationError"],
139
- declaredErrorTypes: ["AuthError", "UnexpectedError", "ValidationError"],
203
+ declaredErrorTypes: [
204
+ "AuthError",
205
+ "UnexpectedError",
206
+ "ValidationError",
207
+ ],
140
208
  },
141
209
  "Auth.DeploymentAuthority.Plans.List": {
142
210
  subject: "rpc.v1.Auth.DeploymentAuthority.Plans.List",
@@ -152,7 +220,11 @@ export const OWNED_API = {
152
220
  output: schema(AuthDeploymentAuthorityReconcileResponseSchema),
153
221
  callerCapabilities: ["admin"],
154
222
  errors: ["AuthError", "UnexpectedError", "ValidationError"],
155
- declaredErrorTypes: ["AuthError", "UnexpectedError", "ValidationError"],
223
+ declaredErrorTypes: [
224
+ "AuthError",
225
+ "UnexpectedError",
226
+ "ValidationError",
227
+ ],
156
228
  },
157
229
  "Auth.DeploymentAuthority.Reject": {
158
230
  subject: "rpc.v1.Auth.DeploymentAuthority.Reject",
@@ -160,7 +232,11 @@ export const OWNED_API = {
160
232
  output: schema(AuthDeploymentAuthorityRejectResponseSchema),
161
233
  callerCapabilities: ["admin"],
162
234
  errors: ["AuthError", "UnexpectedError", "ValidationError"],
163
- declaredErrorTypes: ["AuthError", "UnexpectedError", "ValidationError"],
235
+ declaredErrorTypes: [
236
+ "AuthError",
237
+ "UnexpectedError",
238
+ "ValidationError",
239
+ ],
164
240
  },
165
241
  "Auth.Deployments.Create": {
166
242
  subject: "rpc.v1.Auth.Deployments.Create",
@@ -168,7 +244,11 @@ export const OWNED_API = {
168
244
  output: schema(AuthDeploymentsCreateResponseSchema),
169
245
  callerCapabilities: ["admin"],
170
246
  errors: ["AuthError", "UnexpectedError", "ValidationError"],
171
- declaredErrorTypes: ["AuthError", "UnexpectedError", "ValidationError"],
247
+ declaredErrorTypes: [
248
+ "AuthError",
249
+ "UnexpectedError",
250
+ "ValidationError",
251
+ ],
172
252
  },
173
253
  "Auth.Deployments.Disable": {
174
254
  subject: "rpc.v1.Auth.Deployments.Disable",
@@ -176,7 +256,11 @@ export const OWNED_API = {
176
256
  output: schema(AuthDeploymentsDisableResponseSchema),
177
257
  callerCapabilities: ["admin"],
178
258
  errors: ["AuthError", "UnexpectedError", "ValidationError"],
179
- declaredErrorTypes: ["AuthError", "UnexpectedError", "ValidationError"],
259
+ declaredErrorTypes: [
260
+ "AuthError",
261
+ "UnexpectedError",
262
+ "ValidationError",
263
+ ],
180
264
  },
181
265
  "Auth.Deployments.Enable": {
182
266
  subject: "rpc.v1.Auth.Deployments.Enable",
@@ -184,7 +268,11 @@ export const OWNED_API = {
184
268
  output: schema(AuthDeploymentsEnableResponseSchema),
185
269
  callerCapabilities: ["admin"],
186
270
  errors: ["AuthError", "UnexpectedError", "ValidationError"],
187
- declaredErrorTypes: ["AuthError", "UnexpectedError", "ValidationError"],
271
+ declaredErrorTypes: [
272
+ "AuthError",
273
+ "UnexpectedError",
274
+ "ValidationError",
275
+ ],
188
276
  },
189
277
  "Auth.Deployments.List": {
190
278
  subject: "rpc.v1.Auth.Deployments.List",
@@ -192,7 +280,11 @@ export const OWNED_API = {
192
280
  output: schema(AuthDeploymentsListResponseSchema),
193
281
  callerCapabilities: ["admin"],
194
282
  errors: ["AuthError", "UnexpectedError", "ValidationError"],
195
- declaredErrorTypes: ["AuthError", "UnexpectedError", "ValidationError"],
283
+ declaredErrorTypes: [
284
+ "AuthError",
285
+ "UnexpectedError",
286
+ "ValidationError",
287
+ ],
196
288
  },
197
289
  "Auth.Deployments.Remove": {
198
290
  subject: "rpc.v1.Auth.Deployments.Remove",
@@ -200,7 +292,11 @@ export const OWNED_API = {
200
292
  output: schema(AuthDeploymentsRemoveResponseSchema),
201
293
  callerCapabilities: ["admin"],
202
294
  errors: ["AuthError", "UnexpectedError", "ValidationError"],
203
- declaredErrorTypes: ["AuthError", "UnexpectedError", "ValidationError"],
295
+ declaredErrorTypes: [
296
+ "AuthError",
297
+ "UnexpectedError",
298
+ "ValidationError",
299
+ ],
204
300
  },
205
301
  "Auth.DeviceUserAuthorities.List": {
206
302
  subject: "rpc.v1.Auth.DeviceUserAuthorities.List",
@@ -208,7 +304,11 @@ export const OWNED_API = {
208
304
  output: schema(AuthDeviceUserAuthoritiesListResponseSchema),
209
305
  callerCapabilities: ["admin"],
210
306
  errors: ["AuthError", "UnexpectedError", "ValidationError"],
211
- declaredErrorTypes: ["AuthError", "UnexpectedError", "ValidationError"],
307
+ declaredErrorTypes: [
308
+ "AuthError",
309
+ "UnexpectedError",
310
+ "ValidationError",
311
+ ],
212
312
  },
213
313
  "Auth.DeviceUserAuthorities.Reviews.Decide": {
214
314
  subject: "rpc.v1.Auth.DeviceUserAuthorities.Reviews.Decide",
@@ -216,7 +316,11 @@ export const OWNED_API = {
216
316
  output: schema(AuthDeviceUserAuthoritiesReviewsDecideResponseSchema),
217
317
  callerCapabilities: ["trellis.auth::device.review"],
218
318
  errors: ["AuthError", "UnexpectedError", "ValidationError"],
219
- declaredErrorTypes: ["AuthError", "UnexpectedError", "ValidationError"],
319
+ declaredErrorTypes: [
320
+ "AuthError",
321
+ "UnexpectedError",
322
+ "ValidationError",
323
+ ],
220
324
  },
221
325
  "Auth.DeviceUserAuthorities.Reviews.List": {
222
326
  subject: "rpc.v1.Auth.DeviceUserAuthorities.Reviews.List",
@@ -224,7 +328,11 @@ export const OWNED_API = {
224
328
  output: schema(AuthDeviceUserAuthoritiesReviewsListResponseSchema),
225
329
  callerCapabilities: ["trellis.auth::device.review"],
226
330
  errors: ["AuthError", "UnexpectedError", "ValidationError"],
227
- declaredErrorTypes: ["AuthError", "UnexpectedError", "ValidationError"],
331
+ declaredErrorTypes: [
332
+ "AuthError",
333
+ "UnexpectedError",
334
+ "ValidationError",
335
+ ],
228
336
  },
229
337
  "Auth.DeviceUserAuthorities.Revoke": {
230
338
  subject: "rpc.v1.Auth.DeviceUserAuthorities.Revoke",
@@ -232,7 +340,11 @@ export const OWNED_API = {
232
340
  output: schema(AuthDeviceUserAuthoritiesRevokeResponseSchema),
233
341
  callerCapabilities: ["admin"],
234
342
  errors: ["AuthError", "UnexpectedError", "ValidationError"],
235
- declaredErrorTypes: ["AuthError", "UnexpectedError", "ValidationError"],
343
+ declaredErrorTypes: [
344
+ "AuthError",
345
+ "UnexpectedError",
346
+ "ValidationError",
347
+ ],
236
348
  },
237
349
  "Auth.Devices.ConnectInfo.Get": {
238
350
  subject: "rpc.v1.Auth.Devices.ConnectInfo.Get",
@@ -240,7 +352,11 @@ export const OWNED_API = {
240
352
  output: schema(AuthDevicesConnectInfoGetResponseSchema),
241
353
  callerCapabilities: [],
242
354
  errors: ["AuthError", "UnexpectedError", "ValidationError"],
243
- declaredErrorTypes: ["AuthError", "UnexpectedError", "ValidationError"],
355
+ declaredErrorTypes: [
356
+ "AuthError",
357
+ "UnexpectedError",
358
+ "ValidationError",
359
+ ],
244
360
  },
245
361
  "Auth.Devices.Disable": {
246
362
  subject: "rpc.v1.Auth.Devices.Disable",
@@ -248,7 +364,11 @@ export const OWNED_API = {
248
364
  output: schema(AuthDevicesDisableResponseSchema),
249
365
  callerCapabilities: ["admin"],
250
366
  errors: ["AuthError", "UnexpectedError", "ValidationError"],
251
- declaredErrorTypes: ["AuthError", "UnexpectedError", "ValidationError"],
367
+ declaredErrorTypes: [
368
+ "AuthError",
369
+ "UnexpectedError",
370
+ "ValidationError",
371
+ ],
252
372
  },
253
373
  "Auth.Devices.Enable": {
254
374
  subject: "rpc.v1.Auth.Devices.Enable",
@@ -256,7 +376,11 @@ export const OWNED_API = {
256
376
  output: schema(AuthDevicesEnableResponseSchema),
257
377
  callerCapabilities: ["admin"],
258
378
  errors: ["AuthError", "UnexpectedError", "ValidationError"],
259
- declaredErrorTypes: ["AuthError", "UnexpectedError", "ValidationError"],
379
+ declaredErrorTypes: [
380
+ "AuthError",
381
+ "UnexpectedError",
382
+ "ValidationError",
383
+ ],
260
384
  },
261
385
  "Auth.Devices.List": {
262
386
  subject: "rpc.v1.Auth.Devices.List",
@@ -264,7 +388,11 @@ export const OWNED_API = {
264
388
  output: schema(AuthDevicesListResponseSchema),
265
389
  callerCapabilities: ["admin"],
266
390
  errors: ["AuthError", "UnexpectedError", "ValidationError"],
267
- declaredErrorTypes: ["AuthError", "UnexpectedError", "ValidationError"],
391
+ declaredErrorTypes: [
392
+ "AuthError",
393
+ "UnexpectedError",
394
+ "ValidationError",
395
+ ],
268
396
  },
269
397
  "Auth.Devices.Provision": {
270
398
  subject: "rpc.v1.Auth.Devices.Provision",
@@ -272,7 +400,11 @@ export const OWNED_API = {
272
400
  output: schema(AuthDevicesProvisionResponseSchema),
273
401
  callerCapabilities: ["admin"],
274
402
  errors: ["AuthError", "UnexpectedError", "ValidationError"],
275
- declaredErrorTypes: ["AuthError", "UnexpectedError", "ValidationError"],
403
+ declaredErrorTypes: [
404
+ "AuthError",
405
+ "UnexpectedError",
406
+ "ValidationError",
407
+ ],
276
408
  },
277
409
  "Auth.Devices.Remove": {
278
410
  subject: "rpc.v1.Auth.Devices.Remove",
@@ -280,7 +412,11 @@ export const OWNED_API = {
280
412
  output: schema(AuthDevicesRemoveResponseSchema),
281
413
  callerCapabilities: ["admin"],
282
414
  errors: ["AuthError", "UnexpectedError", "ValidationError"],
283
- declaredErrorTypes: ["AuthError", "UnexpectedError", "ValidationError"],
415
+ declaredErrorTypes: [
416
+ "AuthError",
417
+ "UnexpectedError",
418
+ "ValidationError",
419
+ ],
284
420
  },
285
421
  "Auth.Health": {
286
422
  subject: "rpc.v1.Auth.Health",
@@ -296,7 +432,11 @@ export const OWNED_API = {
296
432
  output: schema(AuthIdentitiesListResponseSchema),
297
433
  callerCapabilities: [],
298
434
  errors: ["AuthError", "UnexpectedError", "ValidationError"],
299
- declaredErrorTypes: ["AuthError", "UnexpectedError", "ValidationError"],
435
+ declaredErrorTypes: [
436
+ "AuthError",
437
+ "UnexpectedError",
438
+ "ValidationError",
439
+ ],
300
440
  },
301
441
  "Auth.IdentityGrants.List": {
302
442
  subject: "rpc.v1.Auth.IdentityGrants.List",
@@ -312,7 +452,11 @@ export const OWNED_API = {
312
452
  output: schema(AuthIdentityGrantsRevokeResponseSchema),
313
453
  callerCapabilities: [],
314
454
  errors: ["AuthError", "UnexpectedError", "ValidationError"],
315
- declaredErrorTypes: ["AuthError", "UnexpectedError", "ValidationError"],
455
+ declaredErrorTypes: [
456
+ "AuthError",
457
+ "UnexpectedError",
458
+ "ValidationError",
459
+ ],
316
460
  },
317
461
  "Auth.Portals.Get": {
318
462
  subject: "rpc.v1.Auth.Portals.Get",
@@ -320,7 +464,11 @@ export const OWNED_API = {
320
464
  output: schema(AuthPortalsGetResponseSchema),
321
465
  callerCapabilities: ["admin"],
322
466
  errors: ["AuthError", "UnexpectedError", "ValidationError"],
323
- declaredErrorTypes: ["AuthError", "UnexpectedError", "ValidationError"],
467
+ declaredErrorTypes: [
468
+ "AuthError",
469
+ "UnexpectedError",
470
+ "ValidationError",
471
+ ],
324
472
  },
325
473
  "Auth.Portals.List": {
326
474
  subject: "rpc.v1.Auth.Portals.List",
@@ -336,7 +484,11 @@ export const OWNED_API = {
336
484
  output: schema(AuthPortalsLoginSettingsResponseSchema),
337
485
  callerCapabilities: ["admin"],
338
486
  errors: ["AuthError", "UnexpectedError", "ValidationError"],
339
- declaredErrorTypes: ["AuthError", "UnexpectedError", "ValidationError"],
487
+ declaredErrorTypes: [
488
+ "AuthError",
489
+ "UnexpectedError",
490
+ "ValidationError",
491
+ ],
340
492
  },
341
493
  "Auth.Portals.LoginSettings.Update": {
342
494
  subject: "rpc.v1.Auth.Portals.LoginSettings.Update",
@@ -344,7 +496,11 @@ export const OWNED_API = {
344
496
  output: schema(AuthPortalsLoginSettingsResponseSchema),
345
497
  callerCapabilities: ["admin"],
346
498
  errors: ["AuthError", "UnexpectedError", "ValidationError"],
347
- declaredErrorTypes: ["AuthError", "UnexpectedError", "ValidationError"],
499
+ declaredErrorTypes: [
500
+ "AuthError",
501
+ "UnexpectedError",
502
+ "ValidationError",
503
+ ],
348
504
  },
349
505
  "Auth.Portals.Put": {
350
506
  subject: "rpc.v1.Auth.Portals.Put",
@@ -352,7 +508,11 @@ export const OWNED_API = {
352
508
  output: schema(AuthPortalsPutResponseSchema),
353
509
  callerCapabilities: ["admin"],
354
510
  errors: ["AuthError", "UnexpectedError", "ValidationError"],
355
- declaredErrorTypes: ["AuthError", "UnexpectedError", "ValidationError"],
511
+ declaredErrorTypes: [
512
+ "AuthError",
513
+ "UnexpectedError",
514
+ "ValidationError",
515
+ ],
356
516
  },
357
517
  "Auth.Portals.Remove": {
358
518
  subject: "rpc.v1.Auth.Portals.Remove",
@@ -360,7 +520,11 @@ export const OWNED_API = {
360
520
  output: schema(AuthPortalsRemoveResponseSchema),
361
521
  callerCapabilities: ["admin"],
362
522
  errors: ["AuthError", "UnexpectedError", "ValidationError"],
363
- declaredErrorTypes: ["AuthError", "UnexpectedError", "ValidationError"],
523
+ declaredErrorTypes: [
524
+ "AuthError",
525
+ "UnexpectedError",
526
+ "ValidationError",
527
+ ],
364
528
  },
365
529
  "Auth.Portals.Routes.Put": {
366
530
  subject: "rpc.v1.Auth.Portals.Routes.Put",
@@ -368,7 +532,11 @@ export const OWNED_API = {
368
532
  output: schema(AuthPortalsRoutesPutResponseSchema),
369
533
  callerCapabilities: ["admin"],
370
534
  errors: ["AuthError", "UnexpectedError", "ValidationError"],
371
- declaredErrorTypes: ["AuthError", "UnexpectedError", "ValidationError"],
535
+ declaredErrorTypes: [
536
+ "AuthError",
537
+ "UnexpectedError",
538
+ "ValidationError",
539
+ ],
372
540
  },
373
541
  "Auth.Portals.Routes.Remove": {
374
542
  subject: "rpc.v1.Auth.Portals.Routes.Remove",
@@ -376,7 +544,11 @@ export const OWNED_API = {
376
544
  output: schema(AuthPortalsRoutesRemoveResponseSchema),
377
545
  callerCapabilities: ["admin"],
378
546
  errors: ["AuthError", "UnexpectedError", "ValidationError"],
379
- declaredErrorTypes: ["AuthError", "UnexpectedError", "ValidationError"],
547
+ declaredErrorTypes: [
548
+ "AuthError",
549
+ "UnexpectedError",
550
+ "ValidationError",
551
+ ],
380
552
  },
381
553
  "Auth.Requests.Validate": {
382
554
  subject: "rpc.v1.Auth.Requests.Validate",
@@ -384,7 +556,11 @@ export const OWNED_API = {
384
556
  output: schema(AuthRequestsValidateResponseSchema),
385
557
  callerCapabilities: ["service"],
386
558
  errors: ["AuthError", "UnexpectedError", "ValidationError"],
387
- declaredErrorTypes: ["AuthError", "UnexpectedError", "ValidationError"],
559
+ declaredErrorTypes: [
560
+ "AuthError",
561
+ "UnexpectedError",
562
+ "ValidationError",
563
+ ],
388
564
  },
389
565
  "Auth.ServiceInstances.Disable": {
390
566
  subject: "rpc.v1.Auth.ServiceInstances.Disable",
@@ -392,7 +568,11 @@ export const OWNED_API = {
392
568
  output: schema(AuthServiceInstancesDisableResponseSchema),
393
569
  callerCapabilities: ["admin"],
394
570
  errors: ["AuthError", "UnexpectedError", "ValidationError"],
395
- declaredErrorTypes: ["AuthError", "UnexpectedError", "ValidationError"],
571
+ declaredErrorTypes: [
572
+ "AuthError",
573
+ "UnexpectedError",
574
+ "ValidationError",
575
+ ],
396
576
  },
397
577
  "Auth.ServiceInstances.Enable": {
398
578
  subject: "rpc.v1.Auth.ServiceInstances.Enable",
@@ -400,7 +580,11 @@ export const OWNED_API = {
400
580
  output: schema(AuthServiceInstancesEnableResponseSchema),
401
581
  callerCapabilities: ["admin"],
402
582
  errors: ["AuthError", "UnexpectedError", "ValidationError"],
403
- declaredErrorTypes: ["AuthError", "UnexpectedError", "ValidationError"],
583
+ declaredErrorTypes: [
584
+ "AuthError",
585
+ "UnexpectedError",
586
+ "ValidationError",
587
+ ],
404
588
  },
405
589
  "Auth.ServiceInstances.List": {
406
590
  subject: "rpc.v1.Auth.ServiceInstances.List",
@@ -408,7 +592,11 @@ export const OWNED_API = {
408
592
  output: schema(AuthServiceInstancesListResponseSchema),
409
593
  callerCapabilities: ["admin"],
410
594
  errors: ["AuthError", "UnexpectedError", "ValidationError"],
411
- declaredErrorTypes: ["AuthError", "UnexpectedError", "ValidationError"],
595
+ declaredErrorTypes: [
596
+ "AuthError",
597
+ "UnexpectedError",
598
+ "ValidationError",
599
+ ],
412
600
  },
413
601
  "Auth.ServiceInstances.Provision": {
414
602
  subject: "rpc.v1.Auth.ServiceInstances.Provision",
@@ -416,7 +604,11 @@ export const OWNED_API = {
416
604
  output: schema(AuthServiceInstancesProvisionResponseSchema),
417
605
  callerCapabilities: ["admin"],
418
606
  errors: ["AuthError", "UnexpectedError", "ValidationError"],
419
- declaredErrorTypes: ["AuthError", "UnexpectedError", "ValidationError"],
607
+ declaredErrorTypes: [
608
+ "AuthError",
609
+ "UnexpectedError",
610
+ "ValidationError",
611
+ ],
420
612
  },
421
613
  "Auth.ServiceInstances.Remove": {
422
614
  subject: "rpc.v1.Auth.ServiceInstances.Remove",
@@ -424,7 +616,11 @@ export const OWNED_API = {
424
616
  output: schema(AuthServiceInstancesRemoveResponseSchema),
425
617
  callerCapabilities: ["admin"],
426
618
  errors: ["AuthError", "UnexpectedError", "ValidationError"],
427
- declaredErrorTypes: ["AuthError", "UnexpectedError", "ValidationError"],
619
+ declaredErrorTypes: [
620
+ "AuthError",
621
+ "UnexpectedError",
622
+ "ValidationError",
623
+ ],
428
624
  },
429
625
  "Auth.Sessions.List": {
430
626
  subject: "rpc.v1.Auth.Sessions.List",
@@ -432,7 +628,11 @@ export const OWNED_API = {
432
628
  output: schema(AuthSessionsListResponseSchema),
433
629
  callerCapabilities: ["admin"],
434
630
  errors: ["AuthError", "UnexpectedError", "ValidationError"],
435
- declaredErrorTypes: ["AuthError", "UnexpectedError", "ValidationError"],
631
+ declaredErrorTypes: [
632
+ "AuthError",
633
+ "UnexpectedError",
634
+ "ValidationError",
635
+ ],
436
636
  },
437
637
  "Auth.Sessions.Logout": {
438
638
  subject: "rpc.v1.Auth.Sessions.Logout",
@@ -456,7 +656,11 @@ export const OWNED_API = {
456
656
  output: schema(AuthSessionsRevokeResponseSchema),
457
657
  callerCapabilities: ["admin"],
458
658
  errors: ["AuthError", "UnexpectedError", "ValidationError"],
459
- declaredErrorTypes: ["AuthError", "UnexpectedError", "ValidationError"],
659
+ declaredErrorTypes: [
660
+ "AuthError",
661
+ "UnexpectedError",
662
+ "ValidationError",
663
+ ],
460
664
  },
461
665
  "Auth.UserIdentities.List": {
462
666
  subject: "rpc.v1.Auth.UserIdentities.List",
@@ -464,7 +668,11 @@ export const OWNED_API = {
464
668
  output: schema(AuthUserIdentitiesListResponseSchema),
465
669
  callerCapabilities: ["admin"],
466
670
  errors: ["AuthError", "UnexpectedError", "ValidationError"],
467
- declaredErrorTypes: ["AuthError", "UnexpectedError", "ValidationError"],
671
+ declaredErrorTypes: [
672
+ "AuthError",
673
+ "UnexpectedError",
674
+ "ValidationError",
675
+ ],
468
676
  },
469
677
  "Auth.UserIdentities.Unlink": {
470
678
  subject: "rpc.v1.Auth.UserIdentities.Unlink",
@@ -472,7 +680,11 @@ export const OWNED_API = {
472
680
  output: schema(AuthUserIdentitiesUnlinkResponseSchema),
473
681
  callerCapabilities: ["admin"],
474
682
  errors: ["AuthError", "UnexpectedError", "ValidationError"],
475
- declaredErrorTypes: ["AuthError", "UnexpectedError", "ValidationError"],
683
+ declaredErrorTypes: [
684
+ "AuthError",
685
+ "UnexpectedError",
686
+ "ValidationError",
687
+ ],
476
688
  },
477
689
  "Auth.Users.Create": {
478
690
  subject: "rpc.v1.Auth.Users.Create",
@@ -480,7 +692,11 @@ export const OWNED_API = {
480
692
  output: schema(AuthUsersCreateResponseSchema),
481
693
  callerCapabilities: ["admin"],
482
694
  errors: ["AuthError", "UnexpectedError", "ValidationError"],
483
- declaredErrorTypes: ["AuthError", "UnexpectedError", "ValidationError"],
695
+ declaredErrorTypes: [
696
+ "AuthError",
697
+ "UnexpectedError",
698
+ "ValidationError",
699
+ ],
484
700
  },
485
701
  "Auth.Users.Get": {
486
702
  subject: "rpc.v1.Auth.Users.Get",
@@ -488,7 +704,11 @@ export const OWNED_API = {
488
704
  output: schema(AuthUsersGetResponseSchema),
489
705
  callerCapabilities: ["admin"],
490
706
  errors: ["AuthError", "UnexpectedError", "ValidationError"],
491
- declaredErrorTypes: ["AuthError", "UnexpectedError", "ValidationError"],
707
+ declaredErrorTypes: [
708
+ "AuthError",
709
+ "UnexpectedError",
710
+ "ValidationError",
711
+ ],
492
712
  },
493
713
  "Auth.Users.IdentityLink.Create": {
494
714
  subject: "rpc.v1.Auth.Users.IdentityLink.Create",
@@ -496,7 +716,11 @@ export const OWNED_API = {
496
716
  output: schema(AuthUsersAccountFlowCreateResponseSchema),
497
717
  callerCapabilities: [],
498
718
  errors: ["AuthError", "UnexpectedError", "ValidationError"],
499
- declaredErrorTypes: ["AuthError", "UnexpectedError", "ValidationError"],
719
+ declaredErrorTypes: [
720
+ "AuthError",
721
+ "UnexpectedError",
722
+ "ValidationError",
723
+ ],
500
724
  },
501
725
  "Auth.Users.List": {
502
726
  subject: "rpc.v1.Auth.Users.List",
@@ -504,7 +728,11 @@ export const OWNED_API = {
504
728
  output: schema(AuthUsersListResponseSchema),
505
729
  callerCapabilities: ["admin"],
506
730
  errors: ["AuthError", "UnexpectedError", "ValidationError"],
507
- declaredErrorTypes: ["AuthError", "UnexpectedError", "ValidationError"],
731
+ declaredErrorTypes: [
732
+ "AuthError",
733
+ "UnexpectedError",
734
+ "ValidationError",
735
+ ],
508
736
  },
509
737
  "Auth.Users.Password.Change": {
510
738
  subject: "rpc.v1.Auth.Users.Password.Change",
@@ -512,7 +740,11 @@ export const OWNED_API = {
512
740
  output: schema(AuthUsersPasswordChangeResponseSchema),
513
741
  callerCapabilities: [],
514
742
  errors: ["AuthError", "UnexpectedError", "ValidationError"],
515
- declaredErrorTypes: ["AuthError", "UnexpectedError", "ValidationError"],
743
+ declaredErrorTypes: [
744
+ "AuthError",
745
+ "UnexpectedError",
746
+ "ValidationError",
747
+ ],
516
748
  },
517
749
  "Auth.Users.PasswordReset.Create": {
518
750
  subject: "rpc.v1.Auth.Users.PasswordReset.Create",
@@ -520,7 +752,11 @@ export const OWNED_API = {
520
752
  output: schema(AuthUsersAccountFlowCreateResponseSchema),
521
753
  callerCapabilities: ["admin"],
522
754
  errors: ["AuthError", "UnexpectedError", "ValidationError"],
523
- declaredErrorTypes: ["AuthError", "UnexpectedError", "ValidationError"],
755
+ declaredErrorTypes: [
756
+ "AuthError",
757
+ "UnexpectedError",
758
+ "ValidationError",
759
+ ],
524
760
  },
525
761
  "Auth.Users.Update": {
526
762
  subject: "rpc.v1.Auth.Users.Update",
@@ -528,7 +764,11 @@ export const OWNED_API = {
528
764
  output: schema(AuthUsersUpdateResponseSchema),
529
765
  callerCapabilities: ["admin"],
530
766
  errors: ["AuthError", "UnexpectedError", "ValidationError"],
531
- declaredErrorTypes: ["AuthError", "UnexpectedError", "ValidationError"],
767
+ declaredErrorTypes: [
768
+ "AuthError",
769
+ "UnexpectedError",
770
+ "ValidationError",
771
+ ],
532
772
  },
533
773
  },
534
774
  operations: {
@@ -581,7 +821,10 @@ export const OWNED_API = {
581
821
  params: ["/deploymentId"],
582
822
  event: schema(AuthDeviceUserAuthoritiesResolvedEventSchema),
583
823
  publishCapabilities: ["trellis.auth::events.auth"],
584
- subscribeCapabilities: ["trellis.auth::device.review", "trellis.auth::events.auth"],
824
+ subscribeCapabilities: [
825
+ "trellis.auth::device.review",
826
+ "trellis.auth::events.auth",
827
+ ],
585
828
  },
586
829
  "Auth.DeviceUserAuthorities.ReviewRequested": {
587
830
  subject: "events.v1.Auth.DeviceUserAuthorities.ReviewRequested.{/deploymentId}",