@qlever-llc/trellis 0.10.8 → 0.10.10

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 (210) hide show
  1. package/esm/contract_support/mod.d.ts +1 -1
  2. package/esm/contract_support/mod.d.ts.map +1 -1
  3. package/esm/contract_support/mod.js +1 -1
  4. package/esm/contract_support/protocol.d.ts +67 -0
  5. package/esm/contract_support/protocol.d.ts.map +1 -1
  6. package/esm/contract_support/protocol.js +90 -0
  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/index.d.ts +2 -2
  74. package/esm/index.d.ts.map +1 -1
  75. package/esm/index.js +1 -1
  76. package/esm/server/service.d.ts +40 -9
  77. package/esm/server/service.d.ts.map +1 -1
  78. package/esm/server/service.js +28 -4
  79. package/esm/service/deno.d.ts +1 -1
  80. package/esm/service/deno.d.ts.map +1 -1
  81. package/esm/service/mod.d.ts +1 -1
  82. package/esm/service/mod.d.ts.map +1 -1
  83. package/esm/service/node.d.ts +1 -1
  84. package/esm/service/node.d.ts.map +1 -1
  85. package/package.json +2 -2
  86. package/script/contract_support/mod.d.ts +1 -1
  87. package/script/contract_support/mod.d.ts.map +1 -1
  88. package/script/contract_support/mod.js +8 -1
  89. package/script/contract_support/protocol.d.ts +67 -0
  90. package/script/contract_support/protocol.d.ts.map +1 -1
  91. package/script/contract_support/protocol.js +96 -1
  92. package/script/generated-sdk/auth/api.d.ts.map +1 -1
  93. package/script/generated-sdk/auth/client.d.ts.map +1 -1
  94. package/script/generated-sdk/auth/contract.d.ts.map +1 -1
  95. package/script/generated-sdk/auth/contract.js +9590 -7
  96. package/script/generated-sdk/auth/mod.d.ts +3 -3
  97. package/script/generated-sdk/auth/mod.d.ts.map +1 -1
  98. package/script/generated-sdk/auth/mod.js +2 -2
  99. package/script/generated-sdk/auth/owned_api.d.ts.map +1 -1
  100. package/script/generated-sdk/auth/owned_api.js +304 -61
  101. package/script/generated-sdk/auth/schemas.d.ts.map +1 -1
  102. package/script/generated-sdk/auth/schemas.js +6492 -139
  103. package/script/generated-sdk/auth/types.d.ts +254 -254
  104. package/script/generated-sdk/auth/types.d.ts.map +1 -1
  105. package/script/generated-sdk/health/api.d.ts.map +1 -1
  106. package/script/generated-sdk/health/client.d.ts.map +1 -1
  107. package/script/generated-sdk/health/contract.d.ts.map +1 -1
  108. package/script/generated-sdk/health/contract.js +117 -7
  109. package/script/generated-sdk/health/mod.d.ts +2 -2
  110. package/script/generated-sdk/health/mod.d.ts.map +1 -1
  111. package/script/generated-sdk/health/mod.js +2 -2
  112. package/script/generated-sdk/health/owned_api.d.ts.map +1 -1
  113. package/script/generated-sdk/health/schemas.d.ts.map +1 -1
  114. package/script/generated-sdk/health/schemas.js +79 -1
  115. package/script/generated-sdk/health/types.d.ts +4 -4
  116. package/script/generated-sdk/health/types.d.ts.map +1 -1
  117. package/script/generated-sdk/jobs/api.d.ts.map +1 -1
  118. package/script/generated-sdk/jobs/api.js +12 -4
  119. package/script/generated-sdk/jobs/client.d.ts.map +1 -1
  120. package/script/generated-sdk/jobs/contract.d.ts.map +1 -1
  121. package/script/generated-sdk/jobs/contract.js +1080 -7
  122. package/script/generated-sdk/jobs/mod.d.ts +2 -2
  123. package/script/generated-sdk/jobs/mod.d.ts.map +1 -1
  124. package/script/generated-sdk/jobs/mod.js +2 -2
  125. package/script/generated-sdk/jobs/owned_api.d.ts.map +1 -1
  126. package/script/generated-sdk/jobs/owned_api.js +25 -5
  127. package/script/generated-sdk/jobs/schemas.d.ts.map +1 -1
  128. package/script/generated-sdk/jobs/schemas.js +768 -18
  129. package/script/generated-sdk/jobs/types.d.ts +14 -14
  130. package/script/generated-sdk/jobs/types.d.ts.map +1 -1
  131. package/script/generated-sdk/state/api.d.ts.map +1 -1
  132. package/script/generated-sdk/state/api.js +3 -1
  133. package/script/generated-sdk/state/client.d.ts.map +1 -1
  134. package/script/generated-sdk/state/contract.d.ts.map +1 -1
  135. package/script/generated-sdk/state/contract.js +638 -7
  136. package/script/generated-sdk/state/mod.d.ts +2 -2
  137. package/script/generated-sdk/state/mod.d.ts.map +1 -1
  138. package/script/generated-sdk/state/mod.js +2 -2
  139. package/script/generated-sdk/state/owned_api.d.ts.map +1 -1
  140. package/script/generated-sdk/state/owned_api.js +35 -7
  141. package/script/generated-sdk/state/schemas.d.ts.map +1 -1
  142. package/script/generated-sdk/state/schemas.js +441 -14
  143. package/script/generated-sdk/state/types.d.ts +15 -15
  144. package/script/generated-sdk/state/types.d.ts.map +1 -1
  145. package/script/generated-sdk/trellis-core/api.d.ts.map +1 -1
  146. package/script/generated-sdk/trellis-core/client.d.ts.map +1 -1
  147. package/script/generated-sdk/trellis-core/contract.d.ts.map +1 -1
  148. package/script/generated-sdk/trellis-core/contract.js +744 -7
  149. package/script/generated-sdk/trellis-core/mod.d.ts +2 -2
  150. package/script/generated-sdk/trellis-core/mod.d.ts.map +1 -1
  151. package/script/generated-sdk/trellis-core/mod.js +2 -2
  152. package/script/generated-sdk/trellis-core/owned_api.d.ts.map +1 -1
  153. package/script/generated-sdk/trellis-core/schemas.d.ts.map +1 -1
  154. package/script/generated-sdk/trellis-core/schemas.js +626 -8
  155. package/script/generated-sdk/trellis-core/types.d.ts +14 -14
  156. package/script/generated-sdk/trellis-core/types.d.ts.map +1 -1
  157. package/script/index.d.ts +2 -2
  158. package/script/index.d.ts.map +1 -1
  159. package/script/index.js +9 -2
  160. package/script/server/service.d.ts +40 -9
  161. package/script/server/service.d.ts.map +1 -1
  162. package/script/server/service.js +27 -3
  163. package/script/service/deno.d.ts +1 -1
  164. package/script/service/deno.d.ts.map +1 -1
  165. package/script/service/mod.d.ts +1 -1
  166. package/script/service/mod.d.ts.map +1 -1
  167. package/script/service/node.d.ts +1 -1
  168. package/script/service/node.d.ts.map +1 -1
  169. package/src/contract_support/mod.ts +12 -0
  170. package/src/contract_support/protocol.ts +137 -0
  171. package/src/index.ts +12 -0
  172. package/src/sdk/_generated/auth/api.ts +10 -21
  173. package/src/sdk/_generated/auth/client.ts +1178 -160
  174. package/src/sdk/_generated/auth/contract.ts +9637 -13
  175. package/src/sdk/_generated/auth/mod.ts +22 -3
  176. package/src/sdk/_generated/auth/owned_api.ts +897 -264
  177. package/src/sdk/_generated/auth/schemas.ts +6630 -278
  178. package/src/sdk/_generated/auth/types.ts +2950 -359
  179. package/src/sdk/_generated/core/api.ts +10 -21
  180. package/src/sdk/_generated/core/client.ts +105 -12
  181. package/src/sdk/_generated/core/contract.ts +774 -13
  182. package/src/sdk/_generated/core/mod.ts +17 -2
  183. package/src/sdk/_generated/core/owned_api.ts +40 -24
  184. package/src/sdk/_generated/core/schemas.ts +626 -9
  185. package/src/sdk/_generated/core/types.ts +233 -18
  186. package/src/sdk/_generated/health/api.ts +10 -21
  187. package/src/sdk/_generated/health/client.ts +104 -8
  188. package/src/sdk/_generated/health/contract.ts +144 -13
  189. package/src/sdk/_generated/health/mod.ts +17 -2
  190. package/src/sdk/_generated/health/owned_api.ts +4 -9
  191. package/src/sdk/_generated/health/schemas.ts +79 -2
  192. package/src/sdk/_generated/health/types.ts +31 -4
  193. package/src/sdk/_generated/jobs/api.ts +20 -18
  194. package/src/sdk/_generated/jobs/client.ts +199 -28
  195. package/src/sdk/_generated/jobs/contract.ts +1119 -13
  196. package/src/sdk/_generated/jobs/mod.ts +17 -2
  197. package/src/sdk/_generated/jobs/owned_api.ts +64 -27
  198. package/src/sdk/_generated/jobs/schemas.ts +776 -20
  199. package/src/sdk/_generated/jobs/types.ts +407 -34
  200. package/src/sdk/_generated/state/api.ts +11 -18
  201. package/src/sdk/_generated/state/client.ts +169 -22
  202. package/src/sdk/_generated/state/contract.ts +670 -13
  203. package/src/sdk/_generated/state/mod.ts +17 -2
  204. package/src/sdk/_generated/state/owned_api.ts +65 -25
  205. package/src/sdk/_generated/state/schemas.ts +441 -15
  206. package/src/sdk/_generated/state/types.ts +229 -26
  207. package/src/server/service.ts +133 -7
  208. package/src/service/deno.ts +4 -0
  209. package/src/service/mod.ts +4 -0
  210. package/src/service/node.ts +4 -0
@@ -2,289 +2,703 @@
2
2
  import type { TrellisAPI } from "../../../contracts.js";
3
3
  import { schema } from "../../../contracts.js";
4
4
  import type * as Types from "./types.js";
5
- 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";
5
+ import {
6
+ AuthCapabilitiesListRequestSchema,
7
+ AuthCapabilitiesListResponseSchema,
8
+ AuthCapabilityGroupsDeleteRequestSchema,
9
+ AuthCapabilityGroupsDeleteResponseSchema,
10
+ AuthCapabilityGroupsGetRequestSchema,
11
+ AuthCapabilityGroupsGetResponseSchema,
12
+ AuthCapabilityGroupsListRequestSchema,
13
+ AuthCapabilityGroupsListResponseSchema,
14
+ AuthCapabilityGroupsPutRequestSchema,
15
+ AuthCapabilityGroupsPutResponseSchema,
16
+ AuthCatalogIssuesResolveRequestSchema,
17
+ AuthCatalogIssuesResolveResponseSchema,
18
+ AuthConnectionsClosedEventSchema,
19
+ AuthConnectionsKickedEventSchema,
20
+ AuthConnectionsKickRequestSchema,
21
+ AuthConnectionsKickResponseSchema,
22
+ AuthConnectionsListRequestSchema,
23
+ AuthConnectionsListResponseSchema,
24
+ AuthConnectionsOpenedEventSchema,
25
+ AuthDeploymentAuthorityAcceptMigrationRequestSchema,
26
+ AuthDeploymentAuthorityAcceptResponseSchema,
27
+ AuthDeploymentAuthorityAcceptUpdateRequestSchema,
28
+ AuthDeploymentAuthorityGetRequestSchema,
29
+ AuthDeploymentAuthorityGetResponseSchema,
30
+ AuthDeploymentAuthorityGrantOverridesListRequestSchema,
31
+ AuthDeploymentAuthorityGrantOverridesListResponseSchema,
32
+ AuthDeploymentAuthorityGrantOverridesPutRequestSchema,
33
+ AuthDeploymentAuthorityGrantOverridesRemoveRequestSchema,
34
+ AuthDeploymentAuthorityGrantOverridesResponseSchema,
35
+ AuthDeploymentAuthorityListRequestSchema,
36
+ AuthDeploymentAuthorityListResponseSchema,
37
+ AuthDeploymentAuthorityPlanRequestSchema,
38
+ AuthDeploymentAuthorityPlanResponseSchema,
39
+ AuthDeploymentAuthorityPlansGetRequestSchema,
40
+ AuthDeploymentAuthorityPlansGetResponseSchema,
41
+ AuthDeploymentAuthorityPlansListRequestSchema,
42
+ AuthDeploymentAuthorityPlansListResponseSchema,
43
+ AuthDeploymentAuthorityReconcileRequestSchema,
44
+ AuthDeploymentAuthorityReconcileResponseSchema,
45
+ AuthDeploymentAuthorityRejectRequestSchema,
46
+ AuthDeploymentAuthorityRejectResponseSchema,
47
+ AuthDeploymentsCreateRequestSchema,
48
+ AuthDeploymentsCreateResponseSchema,
49
+ AuthDeploymentsDisableRequestSchema,
50
+ AuthDeploymentsDisableResponseSchema,
51
+ AuthDeploymentsEnableRequestSchema,
52
+ AuthDeploymentsEnableResponseSchema,
53
+ AuthDeploymentsListRequestSchema,
54
+ AuthDeploymentsListResponseSchema,
55
+ AuthDeploymentsRemoveRequestSchema,
56
+ AuthDeploymentsRemoveResponseSchema,
57
+ AuthDevicesConnectInfoGetRequestSchema,
58
+ AuthDevicesConnectInfoGetResponseSchema,
59
+ AuthDevicesDisableRequestSchema,
60
+ AuthDevicesDisableResponseSchema,
61
+ AuthDevicesEnableRequestSchema,
62
+ AuthDevicesEnableResponseSchema,
63
+ AuthDevicesListRequestSchema,
64
+ AuthDevicesListResponseSchema,
65
+ AuthDevicesProvisionRequestSchema,
66
+ AuthDevicesProvisionResponseSchema,
67
+ AuthDevicesRemoveRequestSchema,
68
+ AuthDevicesRemoveResponseSchema,
69
+ AuthDeviceUserAuthoritiesApprovedEventSchema,
70
+ AuthDeviceUserAuthoritiesListRequestSchema,
71
+ AuthDeviceUserAuthoritiesListResponseSchema,
72
+ AuthDeviceUserAuthoritiesRequestedEventSchema,
73
+ AuthDeviceUserAuthoritiesResolvedEventSchema,
74
+ AuthDeviceUserAuthoritiesReviewRequestedEventSchema,
75
+ AuthDeviceUserAuthoritiesReviewsDecideRequestSchema,
76
+ AuthDeviceUserAuthoritiesReviewsDecideResponseSchema,
77
+ AuthDeviceUserAuthoritiesReviewsListRequestSchema,
78
+ AuthDeviceUserAuthoritiesReviewsListResponseSchema,
79
+ AuthDeviceUserAuthoritiesRevokeRequestSchema,
80
+ AuthDeviceUserAuthoritiesRevokeResponseSchema,
81
+ AuthIdentitiesListRequestSchema,
82
+ AuthIdentitiesListResponseSchema,
83
+ AuthIdentityGrantsListRequestSchema,
84
+ AuthIdentityGrantsListResponseSchema,
85
+ AuthIdentityGrantsRevokeRequestSchema,
86
+ AuthIdentityGrantsRevokeResponseSchema,
87
+ AuthPortalsGetRequestSchema,
88
+ AuthPortalsGetResponseSchema,
89
+ AuthPortalsListRequestSchema,
90
+ AuthPortalsListResponseSchema,
91
+ AuthPortalsLoginSettingsGetRequestSchema,
92
+ AuthPortalsLoginSettingsResponseSchema,
93
+ AuthPortalsLoginSettingsUpdateRequestSchema,
94
+ AuthPortalsPutRequestSchema,
95
+ AuthPortalsPutResponseSchema,
96
+ AuthPortalsRemoveRequestSchema,
97
+ AuthPortalsRemoveResponseSchema,
98
+ AuthPortalsRoutesPutRequestSchema,
99
+ AuthPortalsRoutesPutResponseSchema,
100
+ AuthPortalsRoutesRemoveRequestSchema,
101
+ AuthPortalsRoutesRemoveResponseSchema,
102
+ AuthRequestsValidateRequestSchema,
103
+ AuthRequestsValidateResponseSchema,
104
+ AuthResolveDeviceUserAuthoritiesProgressSchema,
105
+ AuthResolveDeviceUserAuthoritiesRequestSchema,
106
+ AuthResolveDeviceUserAuthoritiesResponseSchema,
107
+ AuthServiceInstancesDisableRequestSchema,
108
+ AuthServiceInstancesDisableResponseSchema,
109
+ AuthServiceInstancesEnableRequestSchema,
110
+ AuthServiceInstancesEnableResponseSchema,
111
+ AuthServiceInstancesListRequestSchema,
112
+ AuthServiceInstancesListResponseSchema,
113
+ AuthServiceInstancesProvisionRequestSchema,
114
+ AuthServiceInstancesProvisionResponseSchema,
115
+ AuthServiceInstancesRemoveRequestSchema,
116
+ AuthServiceInstancesRemoveResponseSchema,
117
+ AuthSessionsListRequestSchema,
118
+ AuthSessionsListResponseSchema,
119
+ AuthSessionsLogoutRequestSchema,
120
+ AuthSessionsLogoutResponseSchema,
121
+ AuthSessionsMeRequestSchema,
122
+ AuthSessionsMeResponseSchema,
123
+ AuthSessionsRevokedEventSchema,
124
+ AuthSessionsRevokeRequestSchema,
125
+ AuthSessionsRevokeResponseSchema,
126
+ AuthUserIdentitiesListRequestSchema,
127
+ AuthUserIdentitiesListResponseSchema,
128
+ AuthUserIdentitiesUnlinkRequestSchema,
129
+ AuthUserIdentitiesUnlinkResponseSchema,
130
+ AuthUsersAccountFlowCreateResponseSchema,
131
+ AuthUsersCreateRequestSchema,
132
+ AuthUsersCreateResponseSchema,
133
+ AuthUsersGetRequestSchema,
134
+ AuthUsersGetResponseSchema,
135
+ AuthUsersIdentityLinkCreateRequestSchema,
136
+ AuthUsersListRequestSchema,
137
+ AuthUsersListResponseSchema,
138
+ AuthUsersPasswordChangeRequestSchema,
139
+ AuthUsersPasswordChangeResponseSchema,
140
+ AuthUsersPasswordResetCreateRequestSchema,
141
+ AuthUsersUpdateRequestSchema,
142
+ AuthUsersUpdateResponseSchema,
143
+ HealthRequestSchema,
144
+ HealthResponseSchema,
145
+ } from "./schemas.js";
6
146
 
7
147
  export const OWNED_API = {
8
148
  rpc: {
9
149
  "Auth.Capabilities.List": {
10
150
  subject: "rpc.v1.Auth.Capabilities.List",
11
- input: schema<Types.AuthCapabilitiesListInput>(AuthCapabilitiesListRequestSchema),
12
- output: schema<Types.AuthCapabilitiesListOutput>(AuthCapabilitiesListResponseSchema),
151
+ input: schema<Types.AuthCapabilitiesListInput>(
152
+ AuthCapabilitiesListRequestSchema,
153
+ ),
154
+ output: schema<Types.AuthCapabilitiesListOutput>(
155
+ AuthCapabilitiesListResponseSchema,
156
+ ),
13
157
  callerCapabilities: ["admin"],
14
- errors: ["AuthError","UnexpectedError","ValidationError"] as const,
15
- declaredErrorTypes: ["AuthError","UnexpectedError","ValidationError"] as const,
158
+ errors: ["AuthError", "UnexpectedError", "ValidationError"] as const,
159
+ declaredErrorTypes: [
160
+ "AuthError",
161
+ "UnexpectedError",
162
+ "ValidationError",
163
+ ] as const,
16
164
  },
17
165
  "Auth.CapabilityGroups.Delete": {
18
166
  subject: "rpc.v1.Auth.CapabilityGroups.Delete",
19
- input: schema<Types.AuthCapabilityGroupsDeleteInput>(AuthCapabilityGroupsDeleteRequestSchema),
20
- output: schema<Types.AuthCapabilityGroupsDeleteOutput>(AuthCapabilityGroupsDeleteResponseSchema),
167
+ input: schema<Types.AuthCapabilityGroupsDeleteInput>(
168
+ AuthCapabilityGroupsDeleteRequestSchema,
169
+ ),
170
+ output: schema<Types.AuthCapabilityGroupsDeleteOutput>(
171
+ AuthCapabilityGroupsDeleteResponseSchema,
172
+ ),
21
173
  callerCapabilities: ["admin"],
22
- errors: ["AuthError","UnexpectedError","ValidationError"] as const,
23
- declaredErrorTypes: ["AuthError","UnexpectedError","ValidationError"] as const,
174
+ errors: ["AuthError", "UnexpectedError", "ValidationError"] as const,
175
+ declaredErrorTypes: [
176
+ "AuthError",
177
+ "UnexpectedError",
178
+ "ValidationError",
179
+ ] as const,
24
180
  },
25
181
  "Auth.CapabilityGroups.Get": {
26
182
  subject: "rpc.v1.Auth.CapabilityGroups.Get",
27
- input: schema<Types.AuthCapabilityGroupsGetInput>(AuthCapabilityGroupsGetRequestSchema),
28
- output: schema<Types.AuthCapabilityGroupsGetOutput>(AuthCapabilityGroupsGetResponseSchema),
183
+ input: schema<Types.AuthCapabilityGroupsGetInput>(
184
+ AuthCapabilityGroupsGetRequestSchema,
185
+ ),
186
+ output: schema<Types.AuthCapabilityGroupsGetOutput>(
187
+ AuthCapabilityGroupsGetResponseSchema,
188
+ ),
29
189
  callerCapabilities: ["admin"],
30
- errors: ["AuthError","UnexpectedError","ValidationError"] as const,
31
- declaredErrorTypes: ["AuthError","UnexpectedError","ValidationError"] as const,
190
+ errors: ["AuthError", "UnexpectedError", "ValidationError"] as const,
191
+ declaredErrorTypes: [
192
+ "AuthError",
193
+ "UnexpectedError",
194
+ "ValidationError",
195
+ ] as const,
32
196
  },
33
197
  "Auth.CapabilityGroups.List": {
34
198
  subject: "rpc.v1.Auth.CapabilityGroups.List",
35
- input: schema<Types.AuthCapabilityGroupsListInput>(AuthCapabilityGroupsListRequestSchema),
36
- output: schema<Types.AuthCapabilityGroupsListOutput>(AuthCapabilityGroupsListResponseSchema),
199
+ input: schema<Types.AuthCapabilityGroupsListInput>(
200
+ AuthCapabilityGroupsListRequestSchema,
201
+ ),
202
+ output: schema<Types.AuthCapabilityGroupsListOutput>(
203
+ AuthCapabilityGroupsListResponseSchema,
204
+ ),
37
205
  callerCapabilities: ["admin"],
38
- errors: ["AuthError","UnexpectedError","ValidationError"] as const,
39
- declaredErrorTypes: ["AuthError","UnexpectedError","ValidationError"] as const,
206
+ errors: ["AuthError", "UnexpectedError", "ValidationError"] as const,
207
+ declaredErrorTypes: [
208
+ "AuthError",
209
+ "UnexpectedError",
210
+ "ValidationError",
211
+ ] as const,
40
212
  },
41
213
  "Auth.CapabilityGroups.Put": {
42
214
  subject: "rpc.v1.Auth.CapabilityGroups.Put",
43
- input: schema<Types.AuthCapabilityGroupsPutInput>(AuthCapabilityGroupsPutRequestSchema),
44
- output: schema<Types.AuthCapabilityGroupsPutOutput>(AuthCapabilityGroupsPutResponseSchema),
215
+ input: schema<Types.AuthCapabilityGroupsPutInput>(
216
+ AuthCapabilityGroupsPutRequestSchema,
217
+ ),
218
+ output: schema<Types.AuthCapabilityGroupsPutOutput>(
219
+ AuthCapabilityGroupsPutResponseSchema,
220
+ ),
45
221
  callerCapabilities: ["admin"],
46
- errors: ["AuthError","UnexpectedError","ValidationError"] as const,
47
- declaredErrorTypes: ["AuthError","UnexpectedError","ValidationError"] as const,
222
+ errors: ["AuthError", "UnexpectedError", "ValidationError"] as const,
223
+ declaredErrorTypes: [
224
+ "AuthError",
225
+ "UnexpectedError",
226
+ "ValidationError",
227
+ ] as const,
48
228
  },
49
229
  "Auth.CatalogIssues.Resolve": {
50
230
  subject: "rpc.v1.Auth.CatalogIssues.Resolve",
51
- input: schema<Types.AuthCatalogIssuesResolveInput>(AuthCatalogIssuesResolveRequestSchema),
52
- output: schema<Types.AuthCatalogIssuesResolveOutput>(AuthCatalogIssuesResolveResponseSchema),
231
+ input: schema<Types.AuthCatalogIssuesResolveInput>(
232
+ AuthCatalogIssuesResolveRequestSchema,
233
+ ),
234
+ output: schema<Types.AuthCatalogIssuesResolveOutput>(
235
+ AuthCatalogIssuesResolveResponseSchema,
236
+ ),
53
237
  callerCapabilities: ["admin"],
54
- errors: ["AuthError","UnexpectedError","ValidationError"] as const,
55
- declaredErrorTypes: ["AuthError","UnexpectedError","ValidationError"] as const,
238
+ errors: ["AuthError", "UnexpectedError", "ValidationError"] as const,
239
+ declaredErrorTypes: [
240
+ "AuthError",
241
+ "UnexpectedError",
242
+ "ValidationError",
243
+ ] as const,
56
244
  },
57
245
  "Auth.Connections.Kick": {
58
246
  subject: "rpc.v1.Auth.Connections.Kick",
59
- input: schema<Types.AuthConnectionsKickInput>(AuthConnectionsKickRequestSchema),
60
- output: schema<Types.AuthConnectionsKickOutput>(AuthConnectionsKickResponseSchema),
247
+ input: schema<Types.AuthConnectionsKickInput>(
248
+ AuthConnectionsKickRequestSchema,
249
+ ),
250
+ output: schema<Types.AuthConnectionsKickOutput>(
251
+ AuthConnectionsKickResponseSchema,
252
+ ),
61
253
  callerCapabilities: ["admin"],
62
- errors: ["AuthError","UnexpectedError","ValidationError"] as const,
63
- declaredErrorTypes: ["AuthError","UnexpectedError","ValidationError"] as const,
254
+ errors: ["AuthError", "UnexpectedError", "ValidationError"] as const,
255
+ declaredErrorTypes: [
256
+ "AuthError",
257
+ "UnexpectedError",
258
+ "ValidationError",
259
+ ] as const,
64
260
  },
65
261
  "Auth.Connections.List": {
66
262
  subject: "rpc.v1.Auth.Connections.List",
67
- input: schema<Types.AuthConnectionsListInput>(AuthConnectionsListRequestSchema),
68
- output: schema<Types.AuthConnectionsListOutput>(AuthConnectionsListResponseSchema),
263
+ input: schema<Types.AuthConnectionsListInput>(
264
+ AuthConnectionsListRequestSchema,
265
+ ),
266
+ output: schema<Types.AuthConnectionsListOutput>(
267
+ AuthConnectionsListResponseSchema,
268
+ ),
69
269
  callerCapabilities: ["admin"],
70
- errors: ["AuthError","UnexpectedError","ValidationError"] as const,
71
- declaredErrorTypes: ["AuthError","UnexpectedError","ValidationError"] as const,
270
+ errors: ["AuthError", "UnexpectedError", "ValidationError"] as const,
271
+ declaredErrorTypes: [
272
+ "AuthError",
273
+ "UnexpectedError",
274
+ "ValidationError",
275
+ ] as const,
72
276
  },
73
277
  "Auth.DeploymentAuthority.AcceptMigration": {
74
278
  subject: "rpc.v1.Auth.DeploymentAuthority.AcceptMigration",
75
- input: schema<Types.AuthDeploymentAuthorityAcceptMigrationInput>(AuthDeploymentAuthorityAcceptMigrationRequestSchema),
76
- output: schema<Types.AuthDeploymentAuthorityAcceptMigrationOutput>(AuthDeploymentAuthorityAcceptResponseSchema),
279
+ input: schema<Types.AuthDeploymentAuthorityAcceptMigrationInput>(
280
+ AuthDeploymentAuthorityAcceptMigrationRequestSchema,
281
+ ),
282
+ output: schema<Types.AuthDeploymentAuthorityAcceptMigrationOutput>(
283
+ AuthDeploymentAuthorityAcceptResponseSchema,
284
+ ),
77
285
  callerCapabilities: ["admin"],
78
- errors: ["AuthError","UnexpectedError","ValidationError"] as const,
79
- declaredErrorTypes: ["AuthError","UnexpectedError","ValidationError"] as const,
286
+ errors: ["AuthError", "UnexpectedError", "ValidationError"] as const,
287
+ declaredErrorTypes: [
288
+ "AuthError",
289
+ "UnexpectedError",
290
+ "ValidationError",
291
+ ] as const,
80
292
  },
81
293
  "Auth.DeploymentAuthority.AcceptUpdate": {
82
294
  subject: "rpc.v1.Auth.DeploymentAuthority.AcceptUpdate",
83
- input: schema<Types.AuthDeploymentAuthorityAcceptUpdateInput>(AuthDeploymentAuthorityAcceptUpdateRequestSchema),
84
- output: schema<Types.AuthDeploymentAuthorityAcceptUpdateOutput>(AuthDeploymentAuthorityAcceptResponseSchema),
295
+ input: schema<Types.AuthDeploymentAuthorityAcceptUpdateInput>(
296
+ AuthDeploymentAuthorityAcceptUpdateRequestSchema,
297
+ ),
298
+ output: schema<Types.AuthDeploymentAuthorityAcceptUpdateOutput>(
299
+ AuthDeploymentAuthorityAcceptResponseSchema,
300
+ ),
85
301
  callerCapabilities: ["admin"],
86
- errors: ["AuthError","UnexpectedError","ValidationError"] as const,
87
- declaredErrorTypes: ["AuthError","UnexpectedError","ValidationError"] as const,
302
+ errors: ["AuthError", "UnexpectedError", "ValidationError"] as const,
303
+ declaredErrorTypes: [
304
+ "AuthError",
305
+ "UnexpectedError",
306
+ "ValidationError",
307
+ ] as const,
88
308
  },
89
309
  "Auth.DeploymentAuthority.Get": {
90
310
  subject: "rpc.v1.Auth.DeploymentAuthority.Get",
91
- input: schema<Types.AuthDeploymentAuthorityGetInput>(AuthDeploymentAuthorityGetRequestSchema),
92
- output: schema<Types.AuthDeploymentAuthorityGetOutput>(AuthDeploymentAuthorityGetResponseSchema),
311
+ input: schema<Types.AuthDeploymentAuthorityGetInput>(
312
+ AuthDeploymentAuthorityGetRequestSchema,
313
+ ),
314
+ output: schema<Types.AuthDeploymentAuthorityGetOutput>(
315
+ AuthDeploymentAuthorityGetResponseSchema,
316
+ ),
93
317
  callerCapabilities: ["admin"],
94
- errors: ["AuthError","UnexpectedError","ValidationError"] as const,
95
- declaredErrorTypes: ["AuthError","UnexpectedError","ValidationError"] as const,
318
+ errors: ["AuthError", "UnexpectedError", "ValidationError"] as const,
319
+ declaredErrorTypes: [
320
+ "AuthError",
321
+ "UnexpectedError",
322
+ "ValidationError",
323
+ ] as const,
96
324
  },
97
325
  "Auth.DeploymentAuthority.GrantOverrides.List": {
98
326
  subject: "rpc.v1.Auth.DeploymentAuthority.GrantOverrides.List",
99
- input: schema<Types.AuthDeploymentAuthorityGrantOverridesListInput>(AuthDeploymentAuthorityGrantOverridesListRequestSchema),
100
- output: schema<Types.AuthDeploymentAuthorityGrantOverridesListOutput>(AuthDeploymentAuthorityGrantOverridesListResponseSchema),
327
+ input: schema<Types.AuthDeploymentAuthorityGrantOverridesListInput>(
328
+ AuthDeploymentAuthorityGrantOverridesListRequestSchema,
329
+ ),
330
+ output: schema<Types.AuthDeploymentAuthorityGrantOverridesListOutput>(
331
+ AuthDeploymentAuthorityGrantOverridesListResponseSchema,
332
+ ),
101
333
  callerCapabilities: ["admin"],
102
- errors: ["AuthError","UnexpectedError","ValidationError"] as const,
103
- declaredErrorTypes: ["AuthError","UnexpectedError","ValidationError"] as const,
334
+ errors: ["AuthError", "UnexpectedError", "ValidationError"] as const,
335
+ declaredErrorTypes: [
336
+ "AuthError",
337
+ "UnexpectedError",
338
+ "ValidationError",
339
+ ] as const,
104
340
  },
105
341
  "Auth.DeploymentAuthority.GrantOverrides.Put": {
106
342
  subject: "rpc.v1.Auth.DeploymentAuthority.GrantOverrides.Put",
107
- input: schema<Types.AuthDeploymentAuthorityGrantOverridesPutInput>(AuthDeploymentAuthorityGrantOverridesPutRequestSchema),
108
- output: schema<Types.AuthDeploymentAuthorityGrantOverridesPutOutput>(AuthDeploymentAuthorityGrantOverridesResponseSchema),
343
+ input: schema<Types.AuthDeploymentAuthorityGrantOverridesPutInput>(
344
+ AuthDeploymentAuthorityGrantOverridesPutRequestSchema,
345
+ ),
346
+ output: schema<Types.AuthDeploymentAuthorityGrantOverridesPutOutput>(
347
+ AuthDeploymentAuthorityGrantOverridesResponseSchema,
348
+ ),
109
349
  callerCapabilities: ["admin"],
110
- errors: ["AuthError","UnexpectedError","ValidationError"] as const,
111
- declaredErrorTypes: ["AuthError","UnexpectedError","ValidationError"] as const,
350
+ errors: ["AuthError", "UnexpectedError", "ValidationError"] as const,
351
+ declaredErrorTypes: [
352
+ "AuthError",
353
+ "UnexpectedError",
354
+ "ValidationError",
355
+ ] as const,
112
356
  },
113
357
  "Auth.DeploymentAuthority.GrantOverrides.Remove": {
114
358
  subject: "rpc.v1.Auth.DeploymentAuthority.GrantOverrides.Remove",
115
- input: schema<Types.AuthDeploymentAuthorityGrantOverridesRemoveInput>(AuthDeploymentAuthorityGrantOverridesRemoveRequestSchema),
116
- output: schema<Types.AuthDeploymentAuthorityGrantOverridesRemoveOutput>(AuthDeploymentAuthorityGrantOverridesResponseSchema),
359
+ input: schema<Types.AuthDeploymentAuthorityGrantOverridesRemoveInput>(
360
+ AuthDeploymentAuthorityGrantOverridesRemoveRequestSchema,
361
+ ),
362
+ output: schema<Types.AuthDeploymentAuthorityGrantOverridesRemoveOutput>(
363
+ AuthDeploymentAuthorityGrantOverridesResponseSchema,
364
+ ),
117
365
  callerCapabilities: ["admin"],
118
- errors: ["AuthError","UnexpectedError","ValidationError"] as const,
119
- declaredErrorTypes: ["AuthError","UnexpectedError","ValidationError"] as const,
366
+ errors: ["AuthError", "UnexpectedError", "ValidationError"] as const,
367
+ declaredErrorTypes: [
368
+ "AuthError",
369
+ "UnexpectedError",
370
+ "ValidationError",
371
+ ] as const,
120
372
  },
121
373
  "Auth.DeploymentAuthority.List": {
122
374
  subject: "rpc.v1.Auth.DeploymentAuthority.List",
123
- input: schema<Types.AuthDeploymentAuthorityListInput>(AuthDeploymentAuthorityListRequestSchema),
124
- output: schema<Types.AuthDeploymentAuthorityListOutput>(AuthDeploymentAuthorityListResponseSchema),
375
+ input: schema<Types.AuthDeploymentAuthorityListInput>(
376
+ AuthDeploymentAuthorityListRequestSchema,
377
+ ),
378
+ output: schema<Types.AuthDeploymentAuthorityListOutput>(
379
+ AuthDeploymentAuthorityListResponseSchema,
380
+ ),
125
381
  callerCapabilities: ["admin"],
126
- errors: ["AuthError","UnexpectedError","ValidationError"] as const,
127
- declaredErrorTypes: ["AuthError","UnexpectedError","ValidationError"] as const,
382
+ errors: ["AuthError", "UnexpectedError", "ValidationError"] as const,
383
+ declaredErrorTypes: [
384
+ "AuthError",
385
+ "UnexpectedError",
386
+ "ValidationError",
387
+ ] as const,
128
388
  },
129
389
  "Auth.DeploymentAuthority.Plan": {
130
390
  subject: "rpc.v1.Auth.DeploymentAuthority.Plan",
131
- input: schema<Types.AuthDeploymentAuthorityPlanInput>(AuthDeploymentAuthorityPlanRequestSchema),
132
- output: schema<Types.AuthDeploymentAuthorityPlanOutput>(AuthDeploymentAuthorityPlanResponseSchema),
391
+ input: schema<Types.AuthDeploymentAuthorityPlanInput>(
392
+ AuthDeploymentAuthorityPlanRequestSchema,
393
+ ),
394
+ output: schema<Types.AuthDeploymentAuthorityPlanOutput>(
395
+ AuthDeploymentAuthorityPlanResponseSchema,
396
+ ),
133
397
  callerCapabilities: ["admin"],
134
- errors: ["AuthError","UnexpectedError","ValidationError"] as const,
135
- declaredErrorTypes: ["AuthError","UnexpectedError","ValidationError"] as const,
398
+ errors: ["AuthError", "UnexpectedError", "ValidationError"] as const,
399
+ declaredErrorTypes: [
400
+ "AuthError",
401
+ "UnexpectedError",
402
+ "ValidationError",
403
+ ] as const,
136
404
  },
137
405
  "Auth.DeploymentAuthority.Plans.Get": {
138
406
  subject: "rpc.v1.Auth.DeploymentAuthority.Plans.Get",
139
- input: schema<Types.AuthDeploymentAuthorityPlansGetInput>(AuthDeploymentAuthorityPlansGetRequestSchema),
140
- output: schema<Types.AuthDeploymentAuthorityPlansGetOutput>(AuthDeploymentAuthorityPlansGetResponseSchema),
407
+ input: schema<Types.AuthDeploymentAuthorityPlansGetInput>(
408
+ AuthDeploymentAuthorityPlansGetRequestSchema,
409
+ ),
410
+ output: schema<Types.AuthDeploymentAuthorityPlansGetOutput>(
411
+ AuthDeploymentAuthorityPlansGetResponseSchema,
412
+ ),
141
413
  callerCapabilities: ["admin"],
142
- errors: ["AuthError","UnexpectedError","ValidationError"] as const,
143
- declaredErrorTypes: ["AuthError","UnexpectedError","ValidationError"] as const,
414
+ errors: ["AuthError", "UnexpectedError", "ValidationError"] as const,
415
+ declaredErrorTypes: [
416
+ "AuthError",
417
+ "UnexpectedError",
418
+ "ValidationError",
419
+ ] as const,
144
420
  },
145
421
  "Auth.DeploymentAuthority.Plans.List": {
146
422
  subject: "rpc.v1.Auth.DeploymentAuthority.Plans.List",
147
- input: schema<Types.AuthDeploymentAuthorityPlansListInput>(AuthDeploymentAuthorityPlansListRequestSchema),
148
- output: schema<Types.AuthDeploymentAuthorityPlansListOutput>(AuthDeploymentAuthorityPlansListResponseSchema),
423
+ input: schema<Types.AuthDeploymentAuthorityPlansListInput>(
424
+ AuthDeploymentAuthorityPlansListRequestSchema,
425
+ ),
426
+ output: schema<Types.AuthDeploymentAuthorityPlansListOutput>(
427
+ AuthDeploymentAuthorityPlansListResponseSchema,
428
+ ),
149
429
  callerCapabilities: ["admin"],
150
- errors: ["AuthError","UnexpectedError"] as const,
151
- declaredErrorTypes: ["AuthError","UnexpectedError"] as const,
430
+ errors: ["AuthError", "UnexpectedError"] as const,
431
+ declaredErrorTypes: ["AuthError", "UnexpectedError"] as const,
152
432
  },
153
433
  "Auth.DeploymentAuthority.Reconcile": {
154
434
  subject: "rpc.v1.Auth.DeploymentAuthority.Reconcile",
155
- input: schema<Types.AuthDeploymentAuthorityReconcileInput>(AuthDeploymentAuthorityReconcileRequestSchema),
156
- output: schema<Types.AuthDeploymentAuthorityReconcileOutput>(AuthDeploymentAuthorityReconcileResponseSchema),
435
+ input: schema<Types.AuthDeploymentAuthorityReconcileInput>(
436
+ AuthDeploymentAuthorityReconcileRequestSchema,
437
+ ),
438
+ output: schema<Types.AuthDeploymentAuthorityReconcileOutput>(
439
+ AuthDeploymentAuthorityReconcileResponseSchema,
440
+ ),
157
441
  callerCapabilities: ["admin"],
158
- errors: ["AuthError","UnexpectedError","ValidationError"] as const,
159
- declaredErrorTypes: ["AuthError","UnexpectedError","ValidationError"] as const,
442
+ errors: ["AuthError", "UnexpectedError", "ValidationError"] as const,
443
+ declaredErrorTypes: [
444
+ "AuthError",
445
+ "UnexpectedError",
446
+ "ValidationError",
447
+ ] as const,
160
448
  },
161
449
  "Auth.DeploymentAuthority.Reject": {
162
450
  subject: "rpc.v1.Auth.DeploymentAuthority.Reject",
163
- input: schema<Types.AuthDeploymentAuthorityRejectInput>(AuthDeploymentAuthorityRejectRequestSchema),
164
- output: schema<Types.AuthDeploymentAuthorityRejectOutput>(AuthDeploymentAuthorityRejectResponseSchema),
451
+ input: schema<Types.AuthDeploymentAuthorityRejectInput>(
452
+ AuthDeploymentAuthorityRejectRequestSchema,
453
+ ),
454
+ output: schema<Types.AuthDeploymentAuthorityRejectOutput>(
455
+ AuthDeploymentAuthorityRejectResponseSchema,
456
+ ),
165
457
  callerCapabilities: ["admin"],
166
- errors: ["AuthError","UnexpectedError","ValidationError"] as const,
167
- declaredErrorTypes: ["AuthError","UnexpectedError","ValidationError"] as const,
458
+ errors: ["AuthError", "UnexpectedError", "ValidationError"] as const,
459
+ declaredErrorTypes: [
460
+ "AuthError",
461
+ "UnexpectedError",
462
+ "ValidationError",
463
+ ] as const,
168
464
  },
169
465
  "Auth.Deployments.Create": {
170
466
  subject: "rpc.v1.Auth.Deployments.Create",
171
- input: schema<Types.AuthDeploymentsCreateInput>(AuthDeploymentsCreateRequestSchema),
172
- output: schema<Types.AuthDeploymentsCreateOutput>(AuthDeploymentsCreateResponseSchema),
467
+ input: schema<Types.AuthDeploymentsCreateInput>(
468
+ AuthDeploymentsCreateRequestSchema,
469
+ ),
470
+ output: schema<Types.AuthDeploymentsCreateOutput>(
471
+ AuthDeploymentsCreateResponseSchema,
472
+ ),
173
473
  callerCapabilities: ["admin"],
174
- errors: ["AuthError","UnexpectedError","ValidationError"] as const,
175
- declaredErrorTypes: ["AuthError","UnexpectedError","ValidationError"] as const,
474
+ errors: ["AuthError", "UnexpectedError", "ValidationError"] as const,
475
+ declaredErrorTypes: [
476
+ "AuthError",
477
+ "UnexpectedError",
478
+ "ValidationError",
479
+ ] as const,
176
480
  },
177
481
  "Auth.Deployments.Disable": {
178
482
  subject: "rpc.v1.Auth.Deployments.Disable",
179
- input: schema<Types.AuthDeploymentsDisableInput>(AuthDeploymentsDisableRequestSchema),
180
- output: schema<Types.AuthDeploymentsDisableOutput>(AuthDeploymentsDisableResponseSchema),
483
+ input: schema<Types.AuthDeploymentsDisableInput>(
484
+ AuthDeploymentsDisableRequestSchema,
485
+ ),
486
+ output: schema<Types.AuthDeploymentsDisableOutput>(
487
+ AuthDeploymentsDisableResponseSchema,
488
+ ),
181
489
  callerCapabilities: ["admin"],
182
- errors: ["AuthError","UnexpectedError","ValidationError"] as const,
183
- declaredErrorTypes: ["AuthError","UnexpectedError","ValidationError"] as const,
490
+ errors: ["AuthError", "UnexpectedError", "ValidationError"] as const,
491
+ declaredErrorTypes: [
492
+ "AuthError",
493
+ "UnexpectedError",
494
+ "ValidationError",
495
+ ] as const,
184
496
  },
185
497
  "Auth.Deployments.Enable": {
186
498
  subject: "rpc.v1.Auth.Deployments.Enable",
187
- input: schema<Types.AuthDeploymentsEnableInput>(AuthDeploymentsEnableRequestSchema),
188
- output: schema<Types.AuthDeploymentsEnableOutput>(AuthDeploymentsEnableResponseSchema),
499
+ input: schema<Types.AuthDeploymentsEnableInput>(
500
+ AuthDeploymentsEnableRequestSchema,
501
+ ),
502
+ output: schema<Types.AuthDeploymentsEnableOutput>(
503
+ AuthDeploymentsEnableResponseSchema,
504
+ ),
189
505
  callerCapabilities: ["admin"],
190
- errors: ["AuthError","UnexpectedError","ValidationError"] as const,
191
- declaredErrorTypes: ["AuthError","UnexpectedError","ValidationError"] as const,
506
+ errors: ["AuthError", "UnexpectedError", "ValidationError"] as const,
507
+ declaredErrorTypes: [
508
+ "AuthError",
509
+ "UnexpectedError",
510
+ "ValidationError",
511
+ ] as const,
192
512
  },
193
513
  "Auth.Deployments.List": {
194
514
  subject: "rpc.v1.Auth.Deployments.List",
195
- input: schema<Types.AuthDeploymentsListInput>(AuthDeploymentsListRequestSchema),
196
- output: schema<Types.AuthDeploymentsListOutput>(AuthDeploymentsListResponseSchema),
515
+ input: schema<Types.AuthDeploymentsListInput>(
516
+ AuthDeploymentsListRequestSchema,
517
+ ),
518
+ output: schema<Types.AuthDeploymentsListOutput>(
519
+ AuthDeploymentsListResponseSchema,
520
+ ),
197
521
  callerCapabilities: ["admin"],
198
- errors: ["AuthError","UnexpectedError","ValidationError"] as const,
199
- declaredErrorTypes: ["AuthError","UnexpectedError","ValidationError"] as const,
522
+ errors: ["AuthError", "UnexpectedError", "ValidationError"] as const,
523
+ declaredErrorTypes: [
524
+ "AuthError",
525
+ "UnexpectedError",
526
+ "ValidationError",
527
+ ] as const,
200
528
  },
201
529
  "Auth.Deployments.Remove": {
202
530
  subject: "rpc.v1.Auth.Deployments.Remove",
203
- input: schema<Types.AuthDeploymentsRemoveInput>(AuthDeploymentsRemoveRequestSchema),
204
- output: schema<Types.AuthDeploymentsRemoveOutput>(AuthDeploymentsRemoveResponseSchema),
531
+ input: schema<Types.AuthDeploymentsRemoveInput>(
532
+ AuthDeploymentsRemoveRequestSchema,
533
+ ),
534
+ output: schema<Types.AuthDeploymentsRemoveOutput>(
535
+ AuthDeploymentsRemoveResponseSchema,
536
+ ),
205
537
  callerCapabilities: ["admin"],
206
- errors: ["AuthError","UnexpectedError","ValidationError"] as const,
207
- declaredErrorTypes: ["AuthError","UnexpectedError","ValidationError"] as const,
538
+ errors: ["AuthError", "UnexpectedError", "ValidationError"] as const,
539
+ declaredErrorTypes: [
540
+ "AuthError",
541
+ "UnexpectedError",
542
+ "ValidationError",
543
+ ] as const,
208
544
  },
209
545
  "Auth.DeviceUserAuthorities.List": {
210
546
  subject: "rpc.v1.Auth.DeviceUserAuthorities.List",
211
- input: schema<Types.AuthDeviceUserAuthoritiesListInput>(AuthDeviceUserAuthoritiesListRequestSchema),
212
- output: schema<Types.AuthDeviceUserAuthoritiesListOutput>(AuthDeviceUserAuthoritiesListResponseSchema),
547
+ input: schema<Types.AuthDeviceUserAuthoritiesListInput>(
548
+ AuthDeviceUserAuthoritiesListRequestSchema,
549
+ ),
550
+ output: schema<Types.AuthDeviceUserAuthoritiesListOutput>(
551
+ AuthDeviceUserAuthoritiesListResponseSchema,
552
+ ),
213
553
  callerCapabilities: ["admin"],
214
- errors: ["AuthError","UnexpectedError","ValidationError"] as const,
215
- declaredErrorTypes: ["AuthError","UnexpectedError","ValidationError"] as const,
554
+ errors: ["AuthError", "UnexpectedError", "ValidationError"] as const,
555
+ declaredErrorTypes: [
556
+ "AuthError",
557
+ "UnexpectedError",
558
+ "ValidationError",
559
+ ] as const,
216
560
  },
217
561
  "Auth.DeviceUserAuthorities.Reviews.Decide": {
218
562
  subject: "rpc.v1.Auth.DeviceUserAuthorities.Reviews.Decide",
219
- input: schema<Types.AuthDeviceUserAuthoritiesReviewsDecideInput>(AuthDeviceUserAuthoritiesReviewsDecideRequestSchema),
220
- output: schema<Types.AuthDeviceUserAuthoritiesReviewsDecideOutput>(AuthDeviceUserAuthoritiesReviewsDecideResponseSchema),
563
+ input: schema<Types.AuthDeviceUserAuthoritiesReviewsDecideInput>(
564
+ AuthDeviceUserAuthoritiesReviewsDecideRequestSchema,
565
+ ),
566
+ output: schema<Types.AuthDeviceUserAuthoritiesReviewsDecideOutput>(
567
+ AuthDeviceUserAuthoritiesReviewsDecideResponseSchema,
568
+ ),
221
569
  callerCapabilities: ["trellis.auth::device.review"],
222
- errors: ["AuthError","UnexpectedError","ValidationError"] as const,
223
- declaredErrorTypes: ["AuthError","UnexpectedError","ValidationError"] as const,
570
+ errors: ["AuthError", "UnexpectedError", "ValidationError"] as const,
571
+ declaredErrorTypes: [
572
+ "AuthError",
573
+ "UnexpectedError",
574
+ "ValidationError",
575
+ ] as const,
224
576
  },
225
577
  "Auth.DeviceUserAuthorities.Reviews.List": {
226
578
  subject: "rpc.v1.Auth.DeviceUserAuthorities.Reviews.List",
227
- input: schema<Types.AuthDeviceUserAuthoritiesReviewsListInput>(AuthDeviceUserAuthoritiesReviewsListRequestSchema),
228
- output: schema<Types.AuthDeviceUserAuthoritiesReviewsListOutput>(AuthDeviceUserAuthoritiesReviewsListResponseSchema),
579
+ input: schema<Types.AuthDeviceUserAuthoritiesReviewsListInput>(
580
+ AuthDeviceUserAuthoritiesReviewsListRequestSchema,
581
+ ),
582
+ output: schema<Types.AuthDeviceUserAuthoritiesReviewsListOutput>(
583
+ AuthDeviceUserAuthoritiesReviewsListResponseSchema,
584
+ ),
229
585
  callerCapabilities: ["trellis.auth::device.review"],
230
- errors: ["AuthError","UnexpectedError","ValidationError"] as const,
231
- declaredErrorTypes: ["AuthError","UnexpectedError","ValidationError"] as const,
586
+ errors: ["AuthError", "UnexpectedError", "ValidationError"] as const,
587
+ declaredErrorTypes: [
588
+ "AuthError",
589
+ "UnexpectedError",
590
+ "ValidationError",
591
+ ] as const,
232
592
  },
233
593
  "Auth.DeviceUserAuthorities.Revoke": {
234
594
  subject: "rpc.v1.Auth.DeviceUserAuthorities.Revoke",
235
- input: schema<Types.AuthDeviceUserAuthoritiesRevokeInput>(AuthDeviceUserAuthoritiesRevokeRequestSchema),
236
- output: schema<Types.AuthDeviceUserAuthoritiesRevokeOutput>(AuthDeviceUserAuthoritiesRevokeResponseSchema),
595
+ input: schema<Types.AuthDeviceUserAuthoritiesRevokeInput>(
596
+ AuthDeviceUserAuthoritiesRevokeRequestSchema,
597
+ ),
598
+ output: schema<Types.AuthDeviceUserAuthoritiesRevokeOutput>(
599
+ AuthDeviceUserAuthoritiesRevokeResponseSchema,
600
+ ),
237
601
  callerCapabilities: ["admin"],
238
- errors: ["AuthError","UnexpectedError","ValidationError"] as const,
239
- declaredErrorTypes: ["AuthError","UnexpectedError","ValidationError"] as const,
602
+ errors: ["AuthError", "UnexpectedError", "ValidationError"] as const,
603
+ declaredErrorTypes: [
604
+ "AuthError",
605
+ "UnexpectedError",
606
+ "ValidationError",
607
+ ] as const,
240
608
  },
241
609
  "Auth.Devices.ConnectInfo.Get": {
242
610
  subject: "rpc.v1.Auth.Devices.ConnectInfo.Get",
243
- input: schema<Types.AuthDevicesConnectInfoGetInput>(AuthDevicesConnectInfoGetRequestSchema),
244
- output: schema<Types.AuthDevicesConnectInfoGetOutput>(AuthDevicesConnectInfoGetResponseSchema),
611
+ input: schema<Types.AuthDevicesConnectInfoGetInput>(
612
+ AuthDevicesConnectInfoGetRequestSchema,
613
+ ),
614
+ output: schema<Types.AuthDevicesConnectInfoGetOutput>(
615
+ AuthDevicesConnectInfoGetResponseSchema,
616
+ ),
245
617
  callerCapabilities: [],
246
- errors: ["AuthError","UnexpectedError","ValidationError"] as const,
247
- declaredErrorTypes: ["AuthError","UnexpectedError","ValidationError"] as const,
618
+ errors: ["AuthError", "UnexpectedError", "ValidationError"] as const,
619
+ declaredErrorTypes: [
620
+ "AuthError",
621
+ "UnexpectedError",
622
+ "ValidationError",
623
+ ] as const,
248
624
  },
249
625
  "Auth.Devices.Disable": {
250
626
  subject: "rpc.v1.Auth.Devices.Disable",
251
- input: schema<Types.AuthDevicesDisableInput>(AuthDevicesDisableRequestSchema),
252
- output: schema<Types.AuthDevicesDisableOutput>(AuthDevicesDisableResponseSchema),
627
+ input: schema<Types.AuthDevicesDisableInput>(
628
+ AuthDevicesDisableRequestSchema,
629
+ ),
630
+ output: schema<Types.AuthDevicesDisableOutput>(
631
+ AuthDevicesDisableResponseSchema,
632
+ ),
253
633
  callerCapabilities: ["admin"],
254
- errors: ["AuthError","UnexpectedError","ValidationError"] as const,
255
- declaredErrorTypes: ["AuthError","UnexpectedError","ValidationError"] as const,
634
+ errors: ["AuthError", "UnexpectedError", "ValidationError"] as const,
635
+ declaredErrorTypes: [
636
+ "AuthError",
637
+ "UnexpectedError",
638
+ "ValidationError",
639
+ ] as const,
256
640
  },
257
641
  "Auth.Devices.Enable": {
258
642
  subject: "rpc.v1.Auth.Devices.Enable",
259
- input: schema<Types.AuthDevicesEnableInput>(AuthDevicesEnableRequestSchema),
260
- output: schema<Types.AuthDevicesEnableOutput>(AuthDevicesEnableResponseSchema),
643
+ input: schema<Types.AuthDevicesEnableInput>(
644
+ AuthDevicesEnableRequestSchema,
645
+ ),
646
+ output: schema<Types.AuthDevicesEnableOutput>(
647
+ AuthDevicesEnableResponseSchema,
648
+ ),
261
649
  callerCapabilities: ["admin"],
262
- errors: ["AuthError","UnexpectedError","ValidationError"] as const,
263
- declaredErrorTypes: ["AuthError","UnexpectedError","ValidationError"] as const,
650
+ errors: ["AuthError", "UnexpectedError", "ValidationError"] as const,
651
+ declaredErrorTypes: [
652
+ "AuthError",
653
+ "UnexpectedError",
654
+ "ValidationError",
655
+ ] as const,
264
656
  },
265
657
  "Auth.Devices.List": {
266
658
  subject: "rpc.v1.Auth.Devices.List",
267
659
  input: schema<Types.AuthDevicesListInput>(AuthDevicesListRequestSchema),
268
- output: schema<Types.AuthDevicesListOutput>(AuthDevicesListResponseSchema),
660
+ output: schema<Types.AuthDevicesListOutput>(
661
+ AuthDevicesListResponseSchema,
662
+ ),
269
663
  callerCapabilities: ["admin"],
270
- errors: ["AuthError","UnexpectedError","ValidationError"] as const,
271
- declaredErrorTypes: ["AuthError","UnexpectedError","ValidationError"] as const,
664
+ errors: ["AuthError", "UnexpectedError", "ValidationError"] as const,
665
+ declaredErrorTypes: [
666
+ "AuthError",
667
+ "UnexpectedError",
668
+ "ValidationError",
669
+ ] as const,
272
670
  },
273
671
  "Auth.Devices.Provision": {
274
672
  subject: "rpc.v1.Auth.Devices.Provision",
275
- input: schema<Types.AuthDevicesProvisionInput>(AuthDevicesProvisionRequestSchema),
276
- output: schema<Types.AuthDevicesProvisionOutput>(AuthDevicesProvisionResponseSchema),
673
+ input: schema<Types.AuthDevicesProvisionInput>(
674
+ AuthDevicesProvisionRequestSchema,
675
+ ),
676
+ output: schema<Types.AuthDevicesProvisionOutput>(
677
+ AuthDevicesProvisionResponseSchema,
678
+ ),
277
679
  callerCapabilities: ["admin"],
278
- errors: ["AuthError","UnexpectedError","ValidationError"] as const,
279
- declaredErrorTypes: ["AuthError","UnexpectedError","ValidationError"] as const,
680
+ errors: ["AuthError", "UnexpectedError", "ValidationError"] as const,
681
+ declaredErrorTypes: [
682
+ "AuthError",
683
+ "UnexpectedError",
684
+ "ValidationError",
685
+ ] as const,
280
686
  },
281
687
  "Auth.Devices.Remove": {
282
688
  subject: "rpc.v1.Auth.Devices.Remove",
283
- input: schema<Types.AuthDevicesRemoveInput>(AuthDevicesRemoveRequestSchema),
284
- output: schema<Types.AuthDevicesRemoveOutput>(AuthDevicesRemoveResponseSchema),
689
+ input: schema<Types.AuthDevicesRemoveInput>(
690
+ AuthDevicesRemoveRequestSchema,
691
+ ),
692
+ output: schema<Types.AuthDevicesRemoveOutput>(
693
+ AuthDevicesRemoveResponseSchema,
694
+ ),
285
695
  callerCapabilities: ["admin"],
286
- errors: ["AuthError","UnexpectedError","ValidationError"] as const,
287
- declaredErrorTypes: ["AuthError","UnexpectedError","ValidationError"] as const,
696
+ errors: ["AuthError", "UnexpectedError", "ValidationError"] as const,
697
+ declaredErrorTypes: [
698
+ "AuthError",
699
+ "UnexpectedError",
700
+ "ValidationError",
701
+ ] as const,
288
702
  },
289
703
  "Auth.Health": {
290
704
  subject: "rpc.v1.Auth.Health",
@@ -296,251 +710,453 @@ export const OWNED_API = {
296
710
  },
297
711
  "Auth.Identities.List": {
298
712
  subject: "rpc.v1.Auth.Identities.List",
299
- input: schema<Types.AuthIdentitiesListInput>(AuthIdentitiesListRequestSchema),
300
- output: schema<Types.AuthIdentitiesListOutput>(AuthIdentitiesListResponseSchema),
713
+ input: schema<Types.AuthIdentitiesListInput>(
714
+ AuthIdentitiesListRequestSchema,
715
+ ),
716
+ output: schema<Types.AuthIdentitiesListOutput>(
717
+ AuthIdentitiesListResponseSchema,
718
+ ),
301
719
  callerCapabilities: [],
302
- errors: ["AuthError","UnexpectedError","ValidationError"] as const,
303
- declaredErrorTypes: ["AuthError","UnexpectedError","ValidationError"] as const,
720
+ errors: ["AuthError", "UnexpectedError", "ValidationError"] as const,
721
+ declaredErrorTypes: [
722
+ "AuthError",
723
+ "UnexpectedError",
724
+ "ValidationError",
725
+ ] as const,
304
726
  },
305
727
  "Auth.IdentityGrants.List": {
306
728
  subject: "rpc.v1.Auth.IdentityGrants.List",
307
- input: schema<Types.AuthIdentityGrantsListInput>(AuthIdentityGrantsListRequestSchema),
308
- output: schema<Types.AuthIdentityGrantsListOutput>(AuthIdentityGrantsListResponseSchema),
729
+ input: schema<Types.AuthIdentityGrantsListInput>(
730
+ AuthIdentityGrantsListRequestSchema,
731
+ ),
732
+ output: schema<Types.AuthIdentityGrantsListOutput>(
733
+ AuthIdentityGrantsListResponseSchema,
734
+ ),
309
735
  callerCapabilities: [],
310
- errors: ["AuthError","UnexpectedError"] as const,
311
- declaredErrorTypes: ["AuthError","UnexpectedError"] as const,
736
+ errors: ["AuthError", "UnexpectedError"] as const,
737
+ declaredErrorTypes: ["AuthError", "UnexpectedError"] as const,
312
738
  },
313
739
  "Auth.IdentityGrants.Revoke": {
314
740
  subject: "rpc.v1.Auth.IdentityGrants.Revoke",
315
- input: schema<Types.AuthIdentityGrantsRevokeInput>(AuthIdentityGrantsRevokeRequestSchema),
316
- output: schema<Types.AuthIdentityGrantsRevokeOutput>(AuthIdentityGrantsRevokeResponseSchema),
741
+ input: schema<Types.AuthIdentityGrantsRevokeInput>(
742
+ AuthIdentityGrantsRevokeRequestSchema,
743
+ ),
744
+ output: schema<Types.AuthIdentityGrantsRevokeOutput>(
745
+ AuthIdentityGrantsRevokeResponseSchema,
746
+ ),
317
747
  callerCapabilities: [],
318
- errors: ["AuthError","UnexpectedError","ValidationError"] as const,
319
- declaredErrorTypes: ["AuthError","UnexpectedError","ValidationError"] as const,
748
+ errors: ["AuthError", "UnexpectedError", "ValidationError"] as const,
749
+ declaredErrorTypes: [
750
+ "AuthError",
751
+ "UnexpectedError",
752
+ "ValidationError",
753
+ ] as const,
320
754
  },
321
755
  "Auth.Portals.Get": {
322
756
  subject: "rpc.v1.Auth.Portals.Get",
323
757
  input: schema<Types.AuthPortalsGetInput>(AuthPortalsGetRequestSchema),
324
758
  output: schema<Types.AuthPortalsGetOutput>(AuthPortalsGetResponseSchema),
325
759
  callerCapabilities: ["admin"],
326
- errors: ["AuthError","UnexpectedError","ValidationError"] as const,
327
- declaredErrorTypes: ["AuthError","UnexpectedError","ValidationError"] as const,
760
+ errors: ["AuthError", "UnexpectedError", "ValidationError"] as const,
761
+ declaredErrorTypes: [
762
+ "AuthError",
763
+ "UnexpectedError",
764
+ "ValidationError",
765
+ ] as const,
328
766
  },
329
767
  "Auth.Portals.List": {
330
768
  subject: "rpc.v1.Auth.Portals.List",
331
769
  input: schema<Types.AuthPortalsListInput>(AuthPortalsListRequestSchema),
332
- output: schema<Types.AuthPortalsListOutput>(AuthPortalsListResponseSchema),
770
+ output: schema<Types.AuthPortalsListOutput>(
771
+ AuthPortalsListResponseSchema,
772
+ ),
333
773
  callerCapabilities: ["admin"],
334
- errors: ["AuthError","UnexpectedError"] as const,
335
- declaredErrorTypes: ["AuthError","UnexpectedError"] as const,
774
+ errors: ["AuthError", "UnexpectedError"] as const,
775
+ declaredErrorTypes: ["AuthError", "UnexpectedError"] as const,
336
776
  },
337
777
  "Auth.Portals.LoginSettings.Get": {
338
778
  subject: "rpc.v1.Auth.Portals.LoginSettings.Get",
339
- input: schema<Types.AuthPortalsLoginSettingsGetInput>(AuthPortalsLoginSettingsGetRequestSchema),
340
- output: schema<Types.AuthPortalsLoginSettingsGetOutput>(AuthPortalsLoginSettingsResponseSchema),
779
+ input: schema<Types.AuthPortalsLoginSettingsGetInput>(
780
+ AuthPortalsLoginSettingsGetRequestSchema,
781
+ ),
782
+ output: schema<Types.AuthPortalsLoginSettingsGetOutput>(
783
+ AuthPortalsLoginSettingsResponseSchema,
784
+ ),
341
785
  callerCapabilities: ["admin"],
342
- errors: ["AuthError","UnexpectedError","ValidationError"] as const,
343
- declaredErrorTypes: ["AuthError","UnexpectedError","ValidationError"] as const,
786
+ errors: ["AuthError", "UnexpectedError", "ValidationError"] as const,
787
+ declaredErrorTypes: [
788
+ "AuthError",
789
+ "UnexpectedError",
790
+ "ValidationError",
791
+ ] as const,
344
792
  },
345
793
  "Auth.Portals.LoginSettings.Update": {
346
794
  subject: "rpc.v1.Auth.Portals.LoginSettings.Update",
347
- input: schema<Types.AuthPortalsLoginSettingsUpdateInput>(AuthPortalsLoginSettingsUpdateRequestSchema),
348
- output: schema<Types.AuthPortalsLoginSettingsUpdateOutput>(AuthPortalsLoginSettingsResponseSchema),
795
+ input: schema<Types.AuthPortalsLoginSettingsUpdateInput>(
796
+ AuthPortalsLoginSettingsUpdateRequestSchema,
797
+ ),
798
+ output: schema<Types.AuthPortalsLoginSettingsUpdateOutput>(
799
+ AuthPortalsLoginSettingsResponseSchema,
800
+ ),
349
801
  callerCapabilities: ["admin"],
350
- errors: ["AuthError","UnexpectedError","ValidationError"] as const,
351
- declaredErrorTypes: ["AuthError","UnexpectedError","ValidationError"] as const,
802
+ errors: ["AuthError", "UnexpectedError", "ValidationError"] as const,
803
+ declaredErrorTypes: [
804
+ "AuthError",
805
+ "UnexpectedError",
806
+ "ValidationError",
807
+ ] as const,
352
808
  },
353
809
  "Auth.Portals.Put": {
354
810
  subject: "rpc.v1.Auth.Portals.Put",
355
811
  input: schema<Types.AuthPortalsPutInput>(AuthPortalsPutRequestSchema),
356
812
  output: schema<Types.AuthPortalsPutOutput>(AuthPortalsPutResponseSchema),
357
813
  callerCapabilities: ["admin"],
358
- errors: ["AuthError","UnexpectedError","ValidationError"] as const,
359
- declaredErrorTypes: ["AuthError","UnexpectedError","ValidationError"] as const,
814
+ errors: ["AuthError", "UnexpectedError", "ValidationError"] as const,
815
+ declaredErrorTypes: [
816
+ "AuthError",
817
+ "UnexpectedError",
818
+ "ValidationError",
819
+ ] as const,
360
820
  },
361
821
  "Auth.Portals.Remove": {
362
822
  subject: "rpc.v1.Auth.Portals.Remove",
363
- input: schema<Types.AuthPortalsRemoveInput>(AuthPortalsRemoveRequestSchema),
364
- output: schema<Types.AuthPortalsRemoveOutput>(AuthPortalsRemoveResponseSchema),
823
+ input: schema<Types.AuthPortalsRemoveInput>(
824
+ AuthPortalsRemoveRequestSchema,
825
+ ),
826
+ output: schema<Types.AuthPortalsRemoveOutput>(
827
+ AuthPortalsRemoveResponseSchema,
828
+ ),
365
829
  callerCapabilities: ["admin"],
366
- errors: ["AuthError","UnexpectedError","ValidationError"] as const,
367
- declaredErrorTypes: ["AuthError","UnexpectedError","ValidationError"] as const,
830
+ errors: ["AuthError", "UnexpectedError", "ValidationError"] as const,
831
+ declaredErrorTypes: [
832
+ "AuthError",
833
+ "UnexpectedError",
834
+ "ValidationError",
835
+ ] as const,
368
836
  },
369
837
  "Auth.Portals.Routes.Put": {
370
838
  subject: "rpc.v1.Auth.Portals.Routes.Put",
371
- input: schema<Types.AuthPortalsRoutesPutInput>(AuthPortalsRoutesPutRequestSchema),
372
- output: schema<Types.AuthPortalsRoutesPutOutput>(AuthPortalsRoutesPutResponseSchema),
839
+ input: schema<Types.AuthPortalsRoutesPutInput>(
840
+ AuthPortalsRoutesPutRequestSchema,
841
+ ),
842
+ output: schema<Types.AuthPortalsRoutesPutOutput>(
843
+ AuthPortalsRoutesPutResponseSchema,
844
+ ),
373
845
  callerCapabilities: ["admin"],
374
- errors: ["AuthError","UnexpectedError","ValidationError"] as const,
375
- declaredErrorTypes: ["AuthError","UnexpectedError","ValidationError"] as const,
846
+ errors: ["AuthError", "UnexpectedError", "ValidationError"] as const,
847
+ declaredErrorTypes: [
848
+ "AuthError",
849
+ "UnexpectedError",
850
+ "ValidationError",
851
+ ] as const,
376
852
  },
377
853
  "Auth.Portals.Routes.Remove": {
378
854
  subject: "rpc.v1.Auth.Portals.Routes.Remove",
379
- input: schema<Types.AuthPortalsRoutesRemoveInput>(AuthPortalsRoutesRemoveRequestSchema),
380
- output: schema<Types.AuthPortalsRoutesRemoveOutput>(AuthPortalsRoutesRemoveResponseSchema),
855
+ input: schema<Types.AuthPortalsRoutesRemoveInput>(
856
+ AuthPortalsRoutesRemoveRequestSchema,
857
+ ),
858
+ output: schema<Types.AuthPortalsRoutesRemoveOutput>(
859
+ AuthPortalsRoutesRemoveResponseSchema,
860
+ ),
381
861
  callerCapabilities: ["admin"],
382
- errors: ["AuthError","UnexpectedError","ValidationError"] as const,
383
- declaredErrorTypes: ["AuthError","UnexpectedError","ValidationError"] as const,
862
+ errors: ["AuthError", "UnexpectedError", "ValidationError"] as const,
863
+ declaredErrorTypes: [
864
+ "AuthError",
865
+ "UnexpectedError",
866
+ "ValidationError",
867
+ ] as const,
384
868
  },
385
869
  "Auth.Requests.Validate": {
386
870
  subject: "rpc.v1.Auth.Requests.Validate",
387
- input: schema<Types.AuthRequestsValidateInput>(AuthRequestsValidateRequestSchema),
388
- output: schema<Types.AuthRequestsValidateOutput>(AuthRequestsValidateResponseSchema),
871
+ input: schema<Types.AuthRequestsValidateInput>(
872
+ AuthRequestsValidateRequestSchema,
873
+ ),
874
+ output: schema<Types.AuthRequestsValidateOutput>(
875
+ AuthRequestsValidateResponseSchema,
876
+ ),
389
877
  callerCapabilities: ["service"],
390
- errors: ["AuthError","UnexpectedError","ValidationError"] as const,
391
- declaredErrorTypes: ["AuthError","UnexpectedError","ValidationError"] as const,
878
+ errors: ["AuthError", "UnexpectedError", "ValidationError"] as const,
879
+ declaredErrorTypes: [
880
+ "AuthError",
881
+ "UnexpectedError",
882
+ "ValidationError",
883
+ ] as const,
392
884
  },
393
885
  "Auth.ServiceInstances.Disable": {
394
886
  subject: "rpc.v1.Auth.ServiceInstances.Disable",
395
- input: schema<Types.AuthServiceInstancesDisableInput>(AuthServiceInstancesDisableRequestSchema),
396
- output: schema<Types.AuthServiceInstancesDisableOutput>(AuthServiceInstancesDisableResponseSchema),
887
+ input: schema<Types.AuthServiceInstancesDisableInput>(
888
+ AuthServiceInstancesDisableRequestSchema,
889
+ ),
890
+ output: schema<Types.AuthServiceInstancesDisableOutput>(
891
+ AuthServiceInstancesDisableResponseSchema,
892
+ ),
397
893
  callerCapabilities: ["admin"],
398
- errors: ["AuthError","UnexpectedError","ValidationError"] as const,
399
- declaredErrorTypes: ["AuthError","UnexpectedError","ValidationError"] as const,
894
+ errors: ["AuthError", "UnexpectedError", "ValidationError"] as const,
895
+ declaredErrorTypes: [
896
+ "AuthError",
897
+ "UnexpectedError",
898
+ "ValidationError",
899
+ ] as const,
400
900
  },
401
901
  "Auth.ServiceInstances.Enable": {
402
902
  subject: "rpc.v1.Auth.ServiceInstances.Enable",
403
- input: schema<Types.AuthServiceInstancesEnableInput>(AuthServiceInstancesEnableRequestSchema),
404
- output: schema<Types.AuthServiceInstancesEnableOutput>(AuthServiceInstancesEnableResponseSchema),
903
+ input: schema<Types.AuthServiceInstancesEnableInput>(
904
+ AuthServiceInstancesEnableRequestSchema,
905
+ ),
906
+ output: schema<Types.AuthServiceInstancesEnableOutput>(
907
+ AuthServiceInstancesEnableResponseSchema,
908
+ ),
405
909
  callerCapabilities: ["admin"],
406
- errors: ["AuthError","UnexpectedError","ValidationError"] as const,
407
- declaredErrorTypes: ["AuthError","UnexpectedError","ValidationError"] as const,
910
+ errors: ["AuthError", "UnexpectedError", "ValidationError"] as const,
911
+ declaredErrorTypes: [
912
+ "AuthError",
913
+ "UnexpectedError",
914
+ "ValidationError",
915
+ ] as const,
408
916
  },
409
917
  "Auth.ServiceInstances.List": {
410
918
  subject: "rpc.v1.Auth.ServiceInstances.List",
411
- input: schema<Types.AuthServiceInstancesListInput>(AuthServiceInstancesListRequestSchema),
412
- output: schema<Types.AuthServiceInstancesListOutput>(AuthServiceInstancesListResponseSchema),
919
+ input: schema<Types.AuthServiceInstancesListInput>(
920
+ AuthServiceInstancesListRequestSchema,
921
+ ),
922
+ output: schema<Types.AuthServiceInstancesListOutput>(
923
+ AuthServiceInstancesListResponseSchema,
924
+ ),
413
925
  callerCapabilities: ["admin"],
414
- errors: ["AuthError","UnexpectedError","ValidationError"] as const,
415
- declaredErrorTypes: ["AuthError","UnexpectedError","ValidationError"] as const,
926
+ errors: ["AuthError", "UnexpectedError", "ValidationError"] as const,
927
+ declaredErrorTypes: [
928
+ "AuthError",
929
+ "UnexpectedError",
930
+ "ValidationError",
931
+ ] as const,
416
932
  },
417
933
  "Auth.ServiceInstances.Provision": {
418
934
  subject: "rpc.v1.Auth.ServiceInstances.Provision",
419
- input: schema<Types.AuthServiceInstancesProvisionInput>(AuthServiceInstancesProvisionRequestSchema),
420
- output: schema<Types.AuthServiceInstancesProvisionOutput>(AuthServiceInstancesProvisionResponseSchema),
935
+ input: schema<Types.AuthServiceInstancesProvisionInput>(
936
+ AuthServiceInstancesProvisionRequestSchema,
937
+ ),
938
+ output: schema<Types.AuthServiceInstancesProvisionOutput>(
939
+ AuthServiceInstancesProvisionResponseSchema,
940
+ ),
421
941
  callerCapabilities: ["admin"],
422
- errors: ["AuthError","UnexpectedError","ValidationError"] as const,
423
- declaredErrorTypes: ["AuthError","UnexpectedError","ValidationError"] as const,
942
+ errors: ["AuthError", "UnexpectedError", "ValidationError"] as const,
943
+ declaredErrorTypes: [
944
+ "AuthError",
945
+ "UnexpectedError",
946
+ "ValidationError",
947
+ ] as const,
424
948
  },
425
949
  "Auth.ServiceInstances.Remove": {
426
950
  subject: "rpc.v1.Auth.ServiceInstances.Remove",
427
- input: schema<Types.AuthServiceInstancesRemoveInput>(AuthServiceInstancesRemoveRequestSchema),
428
- output: schema<Types.AuthServiceInstancesRemoveOutput>(AuthServiceInstancesRemoveResponseSchema),
951
+ input: schema<Types.AuthServiceInstancesRemoveInput>(
952
+ AuthServiceInstancesRemoveRequestSchema,
953
+ ),
954
+ output: schema<Types.AuthServiceInstancesRemoveOutput>(
955
+ AuthServiceInstancesRemoveResponseSchema,
956
+ ),
429
957
  callerCapabilities: ["admin"],
430
- errors: ["AuthError","UnexpectedError","ValidationError"] as const,
431
- declaredErrorTypes: ["AuthError","UnexpectedError","ValidationError"] as const,
958
+ errors: ["AuthError", "UnexpectedError", "ValidationError"] as const,
959
+ declaredErrorTypes: [
960
+ "AuthError",
961
+ "UnexpectedError",
962
+ "ValidationError",
963
+ ] as const,
432
964
  },
433
965
  "Auth.Sessions.List": {
434
966
  subject: "rpc.v1.Auth.Sessions.List",
435
967
  input: schema<Types.AuthSessionsListInput>(AuthSessionsListRequestSchema),
436
- output: schema<Types.AuthSessionsListOutput>(AuthSessionsListResponseSchema),
968
+ output: schema<Types.AuthSessionsListOutput>(
969
+ AuthSessionsListResponseSchema,
970
+ ),
437
971
  callerCapabilities: ["admin"],
438
- errors: ["AuthError","UnexpectedError","ValidationError"] as const,
439
- declaredErrorTypes: ["AuthError","UnexpectedError","ValidationError"] as const,
972
+ errors: ["AuthError", "UnexpectedError", "ValidationError"] as const,
973
+ declaredErrorTypes: [
974
+ "AuthError",
975
+ "UnexpectedError",
976
+ "ValidationError",
977
+ ] as const,
440
978
  },
441
979
  "Auth.Sessions.Logout": {
442
980
  subject: "rpc.v1.Auth.Sessions.Logout",
443
- input: schema<Types.AuthSessionsLogoutInput>(AuthSessionsLogoutRequestSchema),
444
- output: schema<Types.AuthSessionsLogoutOutput>(AuthSessionsLogoutResponseSchema),
981
+ input: schema<Types.AuthSessionsLogoutInput>(
982
+ AuthSessionsLogoutRequestSchema,
983
+ ),
984
+ output: schema<Types.AuthSessionsLogoutOutput>(
985
+ AuthSessionsLogoutResponseSchema,
986
+ ),
445
987
  callerCapabilities: [],
446
- errors: ["AuthError","UnexpectedError"] as const,
447
- declaredErrorTypes: ["AuthError","UnexpectedError"] as const,
988
+ errors: ["AuthError", "UnexpectedError"] as const,
989
+ declaredErrorTypes: ["AuthError", "UnexpectedError"] as const,
448
990
  },
449
991
  "Auth.Sessions.Me": {
450
992
  subject: "rpc.v1.Auth.Sessions.Me",
451
993
  input: schema<Types.AuthSessionsMeInput>(AuthSessionsMeRequestSchema),
452
994
  output: schema<Types.AuthSessionsMeOutput>(AuthSessionsMeResponseSchema),
453
995
  callerCapabilities: [],
454
- errors: ["AuthError","UnexpectedError"] as const,
455
- declaredErrorTypes: ["AuthError","UnexpectedError"] as const,
996
+ errors: ["AuthError", "UnexpectedError"] as const,
997
+ declaredErrorTypes: ["AuthError", "UnexpectedError"] as const,
456
998
  },
457
999
  "Auth.Sessions.Revoke": {
458
1000
  subject: "rpc.v1.Auth.Sessions.Revoke",
459
- input: schema<Types.AuthSessionsRevokeInput>(AuthSessionsRevokeRequestSchema),
460
- output: schema<Types.AuthSessionsRevokeOutput>(AuthSessionsRevokeResponseSchema),
1001
+ input: schema<Types.AuthSessionsRevokeInput>(
1002
+ AuthSessionsRevokeRequestSchema,
1003
+ ),
1004
+ output: schema<Types.AuthSessionsRevokeOutput>(
1005
+ AuthSessionsRevokeResponseSchema,
1006
+ ),
461
1007
  callerCapabilities: ["admin"],
462
- errors: ["AuthError","UnexpectedError","ValidationError"] as const,
463
- declaredErrorTypes: ["AuthError","UnexpectedError","ValidationError"] as const,
1008
+ errors: ["AuthError", "UnexpectedError", "ValidationError"] as const,
1009
+ declaredErrorTypes: [
1010
+ "AuthError",
1011
+ "UnexpectedError",
1012
+ "ValidationError",
1013
+ ] as const,
464
1014
  },
465
1015
  "Auth.UserIdentities.List": {
466
1016
  subject: "rpc.v1.Auth.UserIdentities.List",
467
- input: schema<Types.AuthUserIdentitiesListInput>(AuthUserIdentitiesListRequestSchema),
468
- output: schema<Types.AuthUserIdentitiesListOutput>(AuthUserIdentitiesListResponseSchema),
1017
+ input: schema<Types.AuthUserIdentitiesListInput>(
1018
+ AuthUserIdentitiesListRequestSchema,
1019
+ ),
1020
+ output: schema<Types.AuthUserIdentitiesListOutput>(
1021
+ AuthUserIdentitiesListResponseSchema,
1022
+ ),
469
1023
  callerCapabilities: ["admin"],
470
- errors: ["AuthError","UnexpectedError","ValidationError"] as const,
471
- declaredErrorTypes: ["AuthError","UnexpectedError","ValidationError"] as const,
1024
+ errors: ["AuthError", "UnexpectedError", "ValidationError"] as const,
1025
+ declaredErrorTypes: [
1026
+ "AuthError",
1027
+ "UnexpectedError",
1028
+ "ValidationError",
1029
+ ] as const,
472
1030
  },
473
1031
  "Auth.UserIdentities.Unlink": {
474
1032
  subject: "rpc.v1.Auth.UserIdentities.Unlink",
475
- input: schema<Types.AuthUserIdentitiesUnlinkInput>(AuthUserIdentitiesUnlinkRequestSchema),
476
- output: schema<Types.AuthUserIdentitiesUnlinkOutput>(AuthUserIdentitiesUnlinkResponseSchema),
1033
+ input: schema<Types.AuthUserIdentitiesUnlinkInput>(
1034
+ AuthUserIdentitiesUnlinkRequestSchema,
1035
+ ),
1036
+ output: schema<Types.AuthUserIdentitiesUnlinkOutput>(
1037
+ AuthUserIdentitiesUnlinkResponseSchema,
1038
+ ),
477
1039
  callerCapabilities: ["admin"],
478
- errors: ["AuthError","UnexpectedError","ValidationError"] as const,
479
- declaredErrorTypes: ["AuthError","UnexpectedError","ValidationError"] as const,
1040
+ errors: ["AuthError", "UnexpectedError", "ValidationError"] as const,
1041
+ declaredErrorTypes: [
1042
+ "AuthError",
1043
+ "UnexpectedError",
1044
+ "ValidationError",
1045
+ ] as const,
480
1046
  },
481
1047
  "Auth.Users.Create": {
482
1048
  subject: "rpc.v1.Auth.Users.Create",
483
1049
  input: schema<Types.AuthUsersCreateInput>(AuthUsersCreateRequestSchema),
484
- output: schema<Types.AuthUsersCreateOutput>(AuthUsersCreateResponseSchema),
1050
+ output: schema<Types.AuthUsersCreateOutput>(
1051
+ AuthUsersCreateResponseSchema,
1052
+ ),
485
1053
  callerCapabilities: ["admin"],
486
- errors: ["AuthError","UnexpectedError","ValidationError"] as const,
487
- declaredErrorTypes: ["AuthError","UnexpectedError","ValidationError"] as const,
1054
+ errors: ["AuthError", "UnexpectedError", "ValidationError"] as const,
1055
+ declaredErrorTypes: [
1056
+ "AuthError",
1057
+ "UnexpectedError",
1058
+ "ValidationError",
1059
+ ] as const,
488
1060
  },
489
1061
  "Auth.Users.Get": {
490
1062
  subject: "rpc.v1.Auth.Users.Get",
491
1063
  input: schema<Types.AuthUsersGetInput>(AuthUsersGetRequestSchema),
492
1064
  output: schema<Types.AuthUsersGetOutput>(AuthUsersGetResponseSchema),
493
1065
  callerCapabilities: ["admin"],
494
- errors: ["AuthError","UnexpectedError","ValidationError"] as const,
495
- declaredErrorTypes: ["AuthError","UnexpectedError","ValidationError"] as const,
1066
+ errors: ["AuthError", "UnexpectedError", "ValidationError"] as const,
1067
+ declaredErrorTypes: [
1068
+ "AuthError",
1069
+ "UnexpectedError",
1070
+ "ValidationError",
1071
+ ] as const,
496
1072
  },
497
1073
  "Auth.Users.IdentityLink.Create": {
498
1074
  subject: "rpc.v1.Auth.Users.IdentityLink.Create",
499
- input: schema<Types.AuthUsersIdentityLinkCreateInput>(AuthUsersIdentityLinkCreateRequestSchema),
500
- output: schema<Types.AuthUsersIdentityLinkCreateOutput>(AuthUsersAccountFlowCreateResponseSchema),
1075
+ input: schema<Types.AuthUsersIdentityLinkCreateInput>(
1076
+ AuthUsersIdentityLinkCreateRequestSchema,
1077
+ ),
1078
+ output: schema<Types.AuthUsersIdentityLinkCreateOutput>(
1079
+ AuthUsersAccountFlowCreateResponseSchema,
1080
+ ),
501
1081
  callerCapabilities: [],
502
- errors: ["AuthError","UnexpectedError","ValidationError"] as const,
503
- declaredErrorTypes: ["AuthError","UnexpectedError","ValidationError"] as const,
1082
+ errors: ["AuthError", "UnexpectedError", "ValidationError"] as const,
1083
+ declaredErrorTypes: [
1084
+ "AuthError",
1085
+ "UnexpectedError",
1086
+ "ValidationError",
1087
+ ] as const,
504
1088
  },
505
1089
  "Auth.Users.List": {
506
1090
  subject: "rpc.v1.Auth.Users.List",
507
1091
  input: schema<Types.AuthUsersListInput>(AuthUsersListRequestSchema),
508
1092
  output: schema<Types.AuthUsersListOutput>(AuthUsersListResponseSchema),
509
1093
  callerCapabilities: ["admin"],
510
- errors: ["AuthError","UnexpectedError","ValidationError"] as const,
511
- declaredErrorTypes: ["AuthError","UnexpectedError","ValidationError"] as const,
1094
+ errors: ["AuthError", "UnexpectedError", "ValidationError"] as const,
1095
+ declaredErrorTypes: [
1096
+ "AuthError",
1097
+ "UnexpectedError",
1098
+ "ValidationError",
1099
+ ] as const,
512
1100
  },
513
1101
  "Auth.Users.Password.Change": {
514
1102
  subject: "rpc.v1.Auth.Users.Password.Change",
515
- input: schema<Types.AuthUsersPasswordChangeInput>(AuthUsersPasswordChangeRequestSchema),
516
- output: schema<Types.AuthUsersPasswordChangeOutput>(AuthUsersPasswordChangeResponseSchema),
1103
+ input: schema<Types.AuthUsersPasswordChangeInput>(
1104
+ AuthUsersPasswordChangeRequestSchema,
1105
+ ),
1106
+ output: schema<Types.AuthUsersPasswordChangeOutput>(
1107
+ AuthUsersPasswordChangeResponseSchema,
1108
+ ),
517
1109
  callerCapabilities: [],
518
- errors: ["AuthError","UnexpectedError","ValidationError"] as const,
519
- declaredErrorTypes: ["AuthError","UnexpectedError","ValidationError"] as const,
1110
+ errors: ["AuthError", "UnexpectedError", "ValidationError"] as const,
1111
+ declaredErrorTypes: [
1112
+ "AuthError",
1113
+ "UnexpectedError",
1114
+ "ValidationError",
1115
+ ] as const,
520
1116
  },
521
1117
  "Auth.Users.PasswordReset.Create": {
522
1118
  subject: "rpc.v1.Auth.Users.PasswordReset.Create",
523
- input: schema<Types.AuthUsersPasswordResetCreateInput>(AuthUsersPasswordResetCreateRequestSchema),
524
- output: schema<Types.AuthUsersPasswordResetCreateOutput>(AuthUsersAccountFlowCreateResponseSchema),
1119
+ input: schema<Types.AuthUsersPasswordResetCreateInput>(
1120
+ AuthUsersPasswordResetCreateRequestSchema,
1121
+ ),
1122
+ output: schema<Types.AuthUsersPasswordResetCreateOutput>(
1123
+ AuthUsersAccountFlowCreateResponseSchema,
1124
+ ),
525
1125
  callerCapabilities: ["admin"],
526
- errors: ["AuthError","UnexpectedError","ValidationError"] as const,
527
- declaredErrorTypes: ["AuthError","UnexpectedError","ValidationError"] as const,
1126
+ errors: ["AuthError", "UnexpectedError", "ValidationError"] as const,
1127
+ declaredErrorTypes: [
1128
+ "AuthError",
1129
+ "UnexpectedError",
1130
+ "ValidationError",
1131
+ ] as const,
528
1132
  },
529
1133
  "Auth.Users.Update": {
530
1134
  subject: "rpc.v1.Auth.Users.Update",
531
1135
  input: schema<Types.AuthUsersUpdateInput>(AuthUsersUpdateRequestSchema),
532
- output: schema<Types.AuthUsersUpdateOutput>(AuthUsersUpdateResponseSchema),
1136
+ output: schema<Types.AuthUsersUpdateOutput>(
1137
+ AuthUsersUpdateResponseSchema,
1138
+ ),
533
1139
  callerCapabilities: ["admin"],
534
- errors: ["AuthError","UnexpectedError","ValidationError"] as const,
535
- declaredErrorTypes: ["AuthError","UnexpectedError","ValidationError"] as const,
1140
+ errors: ["AuthError", "UnexpectedError", "ValidationError"] as const,
1141
+ declaredErrorTypes: [
1142
+ "AuthError",
1143
+ "UnexpectedError",
1144
+ "ValidationError",
1145
+ ] as const,
536
1146
  },
537
1147
  },
538
1148
  operations: {
539
1149
  "Auth.DeviceUserAuthorities.Resolve": {
540
1150
  subject: "operations.v1.Auth.DeviceUserAuthorities.Resolve",
541
- input: schema<Types.AuthDeviceUserAuthoritiesResolveInput>(AuthResolveDeviceUserAuthoritiesRequestSchema),
542
- progress: schema<Types.AuthDeviceUserAuthoritiesResolveProgress>(AuthResolveDeviceUserAuthoritiesProgressSchema),
543
- output: schema<Types.AuthDeviceUserAuthoritiesResolveOutput>(AuthResolveDeviceUserAuthoritiesResponseSchema),
1151
+ input: schema<Types.AuthDeviceUserAuthoritiesResolveInput>(
1152
+ AuthResolveDeviceUserAuthoritiesRequestSchema,
1153
+ ),
1154
+ progress: schema<Types.AuthDeviceUserAuthoritiesResolveProgress>(
1155
+ AuthResolveDeviceUserAuthoritiesProgressSchema,
1156
+ ),
1157
+ output: schema<Types.AuthDeviceUserAuthoritiesResolveOutput>(
1158
+ AuthResolveDeviceUserAuthoritiesResponseSchema,
1159
+ ),
544
1160
  callerCapabilities: [],
545
1161
  observeCapabilities: [],
546
1162
  cancelCapabilities: [],
@@ -550,60 +1166,77 @@ export const OWNED_API = {
550
1166
  events: {
551
1167
  "Auth.Connections.Closed": {
552
1168
  subject: "events.v1.Auth.Connections.Closed",
553
- event: schema<Types.AuthConnectionsClosedEvent>(AuthConnectionsClosedEventSchema),
1169
+ event: schema<Types.AuthConnectionsClosedEvent>(
1170
+ AuthConnectionsClosedEventSchema,
1171
+ ),
554
1172
  publishCapabilities: ["trellis.auth::events.auth"],
555
1173
  subscribeCapabilities: ["trellis.auth::events.auth"],
556
1174
  },
557
1175
  "Auth.Connections.Kicked": {
558
1176
  subject: "events.v1.Auth.Connections.Kicked",
559
- event: schema<Types.AuthConnectionsKickedEvent>(AuthConnectionsKickedEventSchema),
1177
+ event: schema<Types.AuthConnectionsKickedEvent>(
1178
+ AuthConnectionsKickedEventSchema,
1179
+ ),
560
1180
  publishCapabilities: ["trellis.auth::events.auth"],
561
1181
  subscribeCapabilities: ["trellis.auth::events.auth"],
562
1182
  },
563
1183
  "Auth.Connections.Opened": {
564
1184
  subject: "events.v1.Auth.Connections.Opened",
565
- event: schema<Types.AuthConnectionsOpenedEvent>(AuthConnectionsOpenedEventSchema),
1185
+ event: schema<Types.AuthConnectionsOpenedEvent>(
1186
+ AuthConnectionsOpenedEventSchema,
1187
+ ),
566
1188
  publishCapabilities: ["trellis.auth::events.auth"],
567
1189
  subscribeCapabilities: ["trellis.auth::events.auth"],
568
1190
  },
569
1191
  "Auth.DeviceUserAuthorities.Approved": {
570
1192
  subject: "events.v1.Auth.DeviceUserAuthorities.Approved.{/deploymentId}",
571
1193
  params: ["/deploymentId"] as const,
572
- event: schema<Types.AuthDeviceUserAuthoritiesApprovedEvent>(AuthDeviceUserAuthoritiesApprovedEventSchema),
1194
+ event: schema<Types.AuthDeviceUserAuthoritiesApprovedEvent>(
1195
+ AuthDeviceUserAuthoritiesApprovedEventSchema,
1196
+ ),
573
1197
  publishCapabilities: ["trellis.auth::events.auth"],
574
1198
  subscribeCapabilities: ["trellis.auth::device.review"],
575
1199
  },
576
1200
  "Auth.DeviceUserAuthorities.Requested": {
577
1201
  subject: "events.v1.Auth.DeviceUserAuthorities.Requested.{/deploymentId}",
578
1202
  params: ["/deploymentId"] as const,
579
- event: schema<Types.AuthDeviceUserAuthoritiesRequestedEvent>(AuthDeviceUserAuthoritiesRequestedEventSchema),
1203
+ event: schema<Types.AuthDeviceUserAuthoritiesRequestedEvent>(
1204
+ AuthDeviceUserAuthoritiesRequestedEventSchema,
1205
+ ),
580
1206
  publishCapabilities: ["trellis.auth::events.auth"],
581
1207
  subscribeCapabilities: ["trellis.auth::device.review"],
582
1208
  },
583
1209
  "Auth.DeviceUserAuthorities.Resolved": {
584
1210
  subject: "events.v1.Auth.DeviceUserAuthorities.Resolved.{/deploymentId}",
585
1211
  params: ["/deploymentId"] as const,
586
- event: schema<Types.AuthDeviceUserAuthoritiesResolvedEvent>(AuthDeviceUserAuthoritiesResolvedEventSchema),
1212
+ event: schema<Types.AuthDeviceUserAuthoritiesResolvedEvent>(
1213
+ AuthDeviceUserAuthoritiesResolvedEventSchema,
1214
+ ),
587
1215
  publishCapabilities: ["trellis.auth::events.auth"],
588
- subscribeCapabilities: ["trellis.auth::device.review","trellis.auth::events.auth"],
1216
+ subscribeCapabilities: [
1217
+ "trellis.auth::device.review",
1218
+ "trellis.auth::events.auth",
1219
+ ],
589
1220
  },
590
1221
  "Auth.DeviceUserAuthorities.ReviewRequested": {
591
- subject: "events.v1.Auth.DeviceUserAuthorities.ReviewRequested.{/deploymentId}",
1222
+ subject:
1223
+ "events.v1.Auth.DeviceUserAuthorities.ReviewRequested.{/deploymentId}",
592
1224
  params: ["/deploymentId"] as const,
593
- event: schema<Types.AuthDeviceUserAuthoritiesReviewRequestedEvent>(AuthDeviceUserAuthoritiesReviewRequestedEventSchema),
1225
+ event: schema<Types.AuthDeviceUserAuthoritiesReviewRequestedEvent>(
1226
+ AuthDeviceUserAuthoritiesReviewRequestedEventSchema,
1227
+ ),
594
1228
  publishCapabilities: ["trellis.auth::events.auth"],
595
1229
  subscribeCapabilities: ["trellis.auth::device.review"],
596
1230
  },
597
1231
  "Auth.Sessions.Revoked": {
598
1232
  subject: "events.v1.Auth.Sessions.Revoked",
599
- event: schema<Types.AuthSessionsRevokedEvent>(AuthSessionsRevokedEventSchema),
1233
+ event: schema<Types.AuthSessionsRevokedEvent>(
1234
+ AuthSessionsRevokedEventSchema,
1235
+ ),
600
1236
  publishCapabilities: ["trellis.auth::events.auth"],
601
1237
  subscribeCapabilities: ["trellis.auth::events.auth"],
602
1238
  },
603
1239
  },
604
- feeds: {
605
- },
606
- subjects: {
607
- },
1240
+ feeds: {},
1241
+ subjects: {},
608
1242
  } satisfies TrellisAPI;
609
-