@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
@@ -11,7 +11,11 @@ exports.OWNED_API = {
11
11
  output: (0, contracts_js_1.schema)(schemas_js_1.AuthCapabilitiesListResponseSchema),
12
12
  callerCapabilities: ["admin"],
13
13
  errors: ["AuthError", "UnexpectedError", "ValidationError"],
14
- declaredErrorTypes: ["AuthError", "UnexpectedError", "ValidationError"],
14
+ declaredErrorTypes: [
15
+ "AuthError",
16
+ "UnexpectedError",
17
+ "ValidationError",
18
+ ],
15
19
  },
16
20
  "Auth.CapabilityGroups.Delete": {
17
21
  subject: "rpc.v1.Auth.CapabilityGroups.Delete",
@@ -19,7 +23,11 @@ exports.OWNED_API = {
19
23
  output: (0, contracts_js_1.schema)(schemas_js_1.AuthCapabilityGroupsDeleteResponseSchema),
20
24
  callerCapabilities: ["admin"],
21
25
  errors: ["AuthError", "UnexpectedError", "ValidationError"],
22
- declaredErrorTypes: ["AuthError", "UnexpectedError", "ValidationError"],
26
+ declaredErrorTypes: [
27
+ "AuthError",
28
+ "UnexpectedError",
29
+ "ValidationError",
30
+ ],
23
31
  },
24
32
  "Auth.CapabilityGroups.Get": {
25
33
  subject: "rpc.v1.Auth.CapabilityGroups.Get",
@@ -27,7 +35,11 @@ exports.OWNED_API = {
27
35
  output: (0, contracts_js_1.schema)(schemas_js_1.AuthCapabilityGroupsGetResponseSchema),
28
36
  callerCapabilities: ["admin"],
29
37
  errors: ["AuthError", "UnexpectedError", "ValidationError"],
30
- declaredErrorTypes: ["AuthError", "UnexpectedError", "ValidationError"],
38
+ declaredErrorTypes: [
39
+ "AuthError",
40
+ "UnexpectedError",
41
+ "ValidationError",
42
+ ],
31
43
  },
32
44
  "Auth.CapabilityGroups.List": {
33
45
  subject: "rpc.v1.Auth.CapabilityGroups.List",
@@ -35,7 +47,11 @@ exports.OWNED_API = {
35
47
  output: (0, contracts_js_1.schema)(schemas_js_1.AuthCapabilityGroupsListResponseSchema),
36
48
  callerCapabilities: ["admin"],
37
49
  errors: ["AuthError", "UnexpectedError", "ValidationError"],
38
- declaredErrorTypes: ["AuthError", "UnexpectedError", "ValidationError"],
50
+ declaredErrorTypes: [
51
+ "AuthError",
52
+ "UnexpectedError",
53
+ "ValidationError",
54
+ ],
39
55
  },
40
56
  "Auth.CapabilityGroups.Put": {
41
57
  subject: "rpc.v1.Auth.CapabilityGroups.Put",
@@ -43,7 +59,11 @@ exports.OWNED_API = {
43
59
  output: (0, contracts_js_1.schema)(schemas_js_1.AuthCapabilityGroupsPutResponseSchema),
44
60
  callerCapabilities: ["admin"],
45
61
  errors: ["AuthError", "UnexpectedError", "ValidationError"],
46
- declaredErrorTypes: ["AuthError", "UnexpectedError", "ValidationError"],
62
+ declaredErrorTypes: [
63
+ "AuthError",
64
+ "UnexpectedError",
65
+ "ValidationError",
66
+ ],
47
67
  },
48
68
  "Auth.CatalogIssues.Resolve": {
49
69
  subject: "rpc.v1.Auth.CatalogIssues.Resolve",
@@ -51,7 +71,11 @@ exports.OWNED_API = {
51
71
  output: (0, contracts_js_1.schema)(schemas_js_1.AuthCatalogIssuesResolveResponseSchema),
52
72
  callerCapabilities: ["admin"],
53
73
  errors: ["AuthError", "UnexpectedError", "ValidationError"],
54
- declaredErrorTypes: ["AuthError", "UnexpectedError", "ValidationError"],
74
+ declaredErrorTypes: [
75
+ "AuthError",
76
+ "UnexpectedError",
77
+ "ValidationError",
78
+ ],
55
79
  },
56
80
  "Auth.Connections.Kick": {
57
81
  subject: "rpc.v1.Auth.Connections.Kick",
@@ -59,7 +83,11 @@ exports.OWNED_API = {
59
83
  output: (0, contracts_js_1.schema)(schemas_js_1.AuthConnectionsKickResponseSchema),
60
84
  callerCapabilities: ["admin"],
61
85
  errors: ["AuthError", "UnexpectedError", "ValidationError"],
62
- declaredErrorTypes: ["AuthError", "UnexpectedError", "ValidationError"],
86
+ declaredErrorTypes: [
87
+ "AuthError",
88
+ "UnexpectedError",
89
+ "ValidationError",
90
+ ],
63
91
  },
64
92
  "Auth.Connections.List": {
65
93
  subject: "rpc.v1.Auth.Connections.List",
@@ -67,7 +95,11 @@ exports.OWNED_API = {
67
95
  output: (0, contracts_js_1.schema)(schemas_js_1.AuthConnectionsListResponseSchema),
68
96
  callerCapabilities: ["admin"],
69
97
  errors: ["AuthError", "UnexpectedError", "ValidationError"],
70
- declaredErrorTypes: ["AuthError", "UnexpectedError", "ValidationError"],
98
+ declaredErrorTypes: [
99
+ "AuthError",
100
+ "UnexpectedError",
101
+ "ValidationError",
102
+ ],
71
103
  },
72
104
  "Auth.DeploymentAuthority.AcceptMigration": {
73
105
  subject: "rpc.v1.Auth.DeploymentAuthority.AcceptMigration",
@@ -75,7 +107,11 @@ exports.OWNED_API = {
75
107
  output: (0, contracts_js_1.schema)(schemas_js_1.AuthDeploymentAuthorityAcceptResponseSchema),
76
108
  callerCapabilities: ["admin"],
77
109
  errors: ["AuthError", "UnexpectedError", "ValidationError"],
78
- declaredErrorTypes: ["AuthError", "UnexpectedError", "ValidationError"],
110
+ declaredErrorTypes: [
111
+ "AuthError",
112
+ "UnexpectedError",
113
+ "ValidationError",
114
+ ],
79
115
  },
80
116
  "Auth.DeploymentAuthority.AcceptUpdate": {
81
117
  subject: "rpc.v1.Auth.DeploymentAuthority.AcceptUpdate",
@@ -83,7 +119,11 @@ exports.OWNED_API = {
83
119
  output: (0, contracts_js_1.schema)(schemas_js_1.AuthDeploymentAuthorityAcceptResponseSchema),
84
120
  callerCapabilities: ["admin"],
85
121
  errors: ["AuthError", "UnexpectedError", "ValidationError"],
86
- declaredErrorTypes: ["AuthError", "UnexpectedError", "ValidationError"],
122
+ declaredErrorTypes: [
123
+ "AuthError",
124
+ "UnexpectedError",
125
+ "ValidationError",
126
+ ],
87
127
  },
88
128
  "Auth.DeploymentAuthority.Get": {
89
129
  subject: "rpc.v1.Auth.DeploymentAuthority.Get",
@@ -91,7 +131,11 @@ exports.OWNED_API = {
91
131
  output: (0, contracts_js_1.schema)(schemas_js_1.AuthDeploymentAuthorityGetResponseSchema),
92
132
  callerCapabilities: ["admin"],
93
133
  errors: ["AuthError", "UnexpectedError", "ValidationError"],
94
- declaredErrorTypes: ["AuthError", "UnexpectedError", "ValidationError"],
134
+ declaredErrorTypes: [
135
+ "AuthError",
136
+ "UnexpectedError",
137
+ "ValidationError",
138
+ ],
95
139
  },
96
140
  "Auth.DeploymentAuthority.GrantOverrides.List": {
97
141
  subject: "rpc.v1.Auth.DeploymentAuthority.GrantOverrides.List",
@@ -99,7 +143,11 @@ exports.OWNED_API = {
99
143
  output: (0, contracts_js_1.schema)(schemas_js_1.AuthDeploymentAuthorityGrantOverridesListResponseSchema),
100
144
  callerCapabilities: ["admin"],
101
145
  errors: ["AuthError", "UnexpectedError", "ValidationError"],
102
- declaredErrorTypes: ["AuthError", "UnexpectedError", "ValidationError"],
146
+ declaredErrorTypes: [
147
+ "AuthError",
148
+ "UnexpectedError",
149
+ "ValidationError",
150
+ ],
103
151
  },
104
152
  "Auth.DeploymentAuthority.GrantOverrides.Put": {
105
153
  subject: "rpc.v1.Auth.DeploymentAuthority.GrantOverrides.Put",
@@ -107,7 +155,11 @@ exports.OWNED_API = {
107
155
  output: (0, contracts_js_1.schema)(schemas_js_1.AuthDeploymentAuthorityGrantOverridesResponseSchema),
108
156
  callerCapabilities: ["admin"],
109
157
  errors: ["AuthError", "UnexpectedError", "ValidationError"],
110
- declaredErrorTypes: ["AuthError", "UnexpectedError", "ValidationError"],
158
+ declaredErrorTypes: [
159
+ "AuthError",
160
+ "UnexpectedError",
161
+ "ValidationError",
162
+ ],
111
163
  },
112
164
  "Auth.DeploymentAuthority.GrantOverrides.Remove": {
113
165
  subject: "rpc.v1.Auth.DeploymentAuthority.GrantOverrides.Remove",
@@ -115,7 +167,11 @@ exports.OWNED_API = {
115
167
  output: (0, contracts_js_1.schema)(schemas_js_1.AuthDeploymentAuthorityGrantOverridesResponseSchema),
116
168
  callerCapabilities: ["admin"],
117
169
  errors: ["AuthError", "UnexpectedError", "ValidationError"],
118
- declaredErrorTypes: ["AuthError", "UnexpectedError", "ValidationError"],
170
+ declaredErrorTypes: [
171
+ "AuthError",
172
+ "UnexpectedError",
173
+ "ValidationError",
174
+ ],
119
175
  },
120
176
  "Auth.DeploymentAuthority.List": {
121
177
  subject: "rpc.v1.Auth.DeploymentAuthority.List",
@@ -123,7 +179,11 @@ exports.OWNED_API = {
123
179
  output: (0, contracts_js_1.schema)(schemas_js_1.AuthDeploymentAuthorityListResponseSchema),
124
180
  callerCapabilities: ["admin"],
125
181
  errors: ["AuthError", "UnexpectedError", "ValidationError"],
126
- declaredErrorTypes: ["AuthError", "UnexpectedError", "ValidationError"],
182
+ declaredErrorTypes: [
183
+ "AuthError",
184
+ "UnexpectedError",
185
+ "ValidationError",
186
+ ],
127
187
  },
128
188
  "Auth.DeploymentAuthority.Plan": {
129
189
  subject: "rpc.v1.Auth.DeploymentAuthority.Plan",
@@ -131,7 +191,11 @@ exports.OWNED_API = {
131
191
  output: (0, contracts_js_1.schema)(schemas_js_1.AuthDeploymentAuthorityPlanResponseSchema),
132
192
  callerCapabilities: ["admin"],
133
193
  errors: ["AuthError", "UnexpectedError", "ValidationError"],
134
- declaredErrorTypes: ["AuthError", "UnexpectedError", "ValidationError"],
194
+ declaredErrorTypes: [
195
+ "AuthError",
196
+ "UnexpectedError",
197
+ "ValidationError",
198
+ ],
135
199
  },
136
200
  "Auth.DeploymentAuthority.Plans.Get": {
137
201
  subject: "rpc.v1.Auth.DeploymentAuthority.Plans.Get",
@@ -139,7 +203,11 @@ exports.OWNED_API = {
139
203
  output: (0, contracts_js_1.schema)(schemas_js_1.AuthDeploymentAuthorityPlansGetResponseSchema),
140
204
  callerCapabilities: ["admin"],
141
205
  errors: ["AuthError", "UnexpectedError", "ValidationError"],
142
- declaredErrorTypes: ["AuthError", "UnexpectedError", "ValidationError"],
206
+ declaredErrorTypes: [
207
+ "AuthError",
208
+ "UnexpectedError",
209
+ "ValidationError",
210
+ ],
143
211
  },
144
212
  "Auth.DeploymentAuthority.Plans.List": {
145
213
  subject: "rpc.v1.Auth.DeploymentAuthority.Plans.List",
@@ -155,7 +223,11 @@ exports.OWNED_API = {
155
223
  output: (0, contracts_js_1.schema)(schemas_js_1.AuthDeploymentAuthorityReconcileResponseSchema),
156
224
  callerCapabilities: ["admin"],
157
225
  errors: ["AuthError", "UnexpectedError", "ValidationError"],
158
- declaredErrorTypes: ["AuthError", "UnexpectedError", "ValidationError"],
226
+ declaredErrorTypes: [
227
+ "AuthError",
228
+ "UnexpectedError",
229
+ "ValidationError",
230
+ ],
159
231
  },
160
232
  "Auth.DeploymentAuthority.Reject": {
161
233
  subject: "rpc.v1.Auth.DeploymentAuthority.Reject",
@@ -163,7 +235,11 @@ exports.OWNED_API = {
163
235
  output: (0, contracts_js_1.schema)(schemas_js_1.AuthDeploymentAuthorityRejectResponseSchema),
164
236
  callerCapabilities: ["admin"],
165
237
  errors: ["AuthError", "UnexpectedError", "ValidationError"],
166
- declaredErrorTypes: ["AuthError", "UnexpectedError", "ValidationError"],
238
+ declaredErrorTypes: [
239
+ "AuthError",
240
+ "UnexpectedError",
241
+ "ValidationError",
242
+ ],
167
243
  },
168
244
  "Auth.Deployments.Create": {
169
245
  subject: "rpc.v1.Auth.Deployments.Create",
@@ -171,7 +247,11 @@ exports.OWNED_API = {
171
247
  output: (0, contracts_js_1.schema)(schemas_js_1.AuthDeploymentsCreateResponseSchema),
172
248
  callerCapabilities: ["admin"],
173
249
  errors: ["AuthError", "UnexpectedError", "ValidationError"],
174
- declaredErrorTypes: ["AuthError", "UnexpectedError", "ValidationError"],
250
+ declaredErrorTypes: [
251
+ "AuthError",
252
+ "UnexpectedError",
253
+ "ValidationError",
254
+ ],
175
255
  },
176
256
  "Auth.Deployments.Disable": {
177
257
  subject: "rpc.v1.Auth.Deployments.Disable",
@@ -179,7 +259,11 @@ exports.OWNED_API = {
179
259
  output: (0, contracts_js_1.schema)(schemas_js_1.AuthDeploymentsDisableResponseSchema),
180
260
  callerCapabilities: ["admin"],
181
261
  errors: ["AuthError", "UnexpectedError", "ValidationError"],
182
- declaredErrorTypes: ["AuthError", "UnexpectedError", "ValidationError"],
262
+ declaredErrorTypes: [
263
+ "AuthError",
264
+ "UnexpectedError",
265
+ "ValidationError",
266
+ ],
183
267
  },
184
268
  "Auth.Deployments.Enable": {
185
269
  subject: "rpc.v1.Auth.Deployments.Enable",
@@ -187,7 +271,11 @@ exports.OWNED_API = {
187
271
  output: (0, contracts_js_1.schema)(schemas_js_1.AuthDeploymentsEnableResponseSchema),
188
272
  callerCapabilities: ["admin"],
189
273
  errors: ["AuthError", "UnexpectedError", "ValidationError"],
190
- declaredErrorTypes: ["AuthError", "UnexpectedError", "ValidationError"],
274
+ declaredErrorTypes: [
275
+ "AuthError",
276
+ "UnexpectedError",
277
+ "ValidationError",
278
+ ],
191
279
  },
192
280
  "Auth.Deployments.List": {
193
281
  subject: "rpc.v1.Auth.Deployments.List",
@@ -195,7 +283,11 @@ exports.OWNED_API = {
195
283
  output: (0, contracts_js_1.schema)(schemas_js_1.AuthDeploymentsListResponseSchema),
196
284
  callerCapabilities: ["admin"],
197
285
  errors: ["AuthError", "UnexpectedError", "ValidationError"],
198
- declaredErrorTypes: ["AuthError", "UnexpectedError", "ValidationError"],
286
+ declaredErrorTypes: [
287
+ "AuthError",
288
+ "UnexpectedError",
289
+ "ValidationError",
290
+ ],
199
291
  },
200
292
  "Auth.Deployments.Remove": {
201
293
  subject: "rpc.v1.Auth.Deployments.Remove",
@@ -203,7 +295,11 @@ exports.OWNED_API = {
203
295
  output: (0, contracts_js_1.schema)(schemas_js_1.AuthDeploymentsRemoveResponseSchema),
204
296
  callerCapabilities: ["admin"],
205
297
  errors: ["AuthError", "UnexpectedError", "ValidationError"],
206
- declaredErrorTypes: ["AuthError", "UnexpectedError", "ValidationError"],
298
+ declaredErrorTypes: [
299
+ "AuthError",
300
+ "UnexpectedError",
301
+ "ValidationError",
302
+ ],
207
303
  },
208
304
  "Auth.DeviceUserAuthorities.List": {
209
305
  subject: "rpc.v1.Auth.DeviceUserAuthorities.List",
@@ -211,7 +307,11 @@ exports.OWNED_API = {
211
307
  output: (0, contracts_js_1.schema)(schemas_js_1.AuthDeviceUserAuthoritiesListResponseSchema),
212
308
  callerCapabilities: ["admin"],
213
309
  errors: ["AuthError", "UnexpectedError", "ValidationError"],
214
- declaredErrorTypes: ["AuthError", "UnexpectedError", "ValidationError"],
310
+ declaredErrorTypes: [
311
+ "AuthError",
312
+ "UnexpectedError",
313
+ "ValidationError",
314
+ ],
215
315
  },
216
316
  "Auth.DeviceUserAuthorities.Reviews.Decide": {
217
317
  subject: "rpc.v1.Auth.DeviceUserAuthorities.Reviews.Decide",
@@ -219,7 +319,11 @@ exports.OWNED_API = {
219
319
  output: (0, contracts_js_1.schema)(schemas_js_1.AuthDeviceUserAuthoritiesReviewsDecideResponseSchema),
220
320
  callerCapabilities: ["trellis.auth::device.review"],
221
321
  errors: ["AuthError", "UnexpectedError", "ValidationError"],
222
- declaredErrorTypes: ["AuthError", "UnexpectedError", "ValidationError"],
322
+ declaredErrorTypes: [
323
+ "AuthError",
324
+ "UnexpectedError",
325
+ "ValidationError",
326
+ ],
223
327
  },
224
328
  "Auth.DeviceUserAuthorities.Reviews.List": {
225
329
  subject: "rpc.v1.Auth.DeviceUserAuthorities.Reviews.List",
@@ -227,7 +331,11 @@ exports.OWNED_API = {
227
331
  output: (0, contracts_js_1.schema)(schemas_js_1.AuthDeviceUserAuthoritiesReviewsListResponseSchema),
228
332
  callerCapabilities: ["trellis.auth::device.review"],
229
333
  errors: ["AuthError", "UnexpectedError", "ValidationError"],
230
- declaredErrorTypes: ["AuthError", "UnexpectedError", "ValidationError"],
334
+ declaredErrorTypes: [
335
+ "AuthError",
336
+ "UnexpectedError",
337
+ "ValidationError",
338
+ ],
231
339
  },
232
340
  "Auth.DeviceUserAuthorities.Revoke": {
233
341
  subject: "rpc.v1.Auth.DeviceUserAuthorities.Revoke",
@@ -235,7 +343,11 @@ exports.OWNED_API = {
235
343
  output: (0, contracts_js_1.schema)(schemas_js_1.AuthDeviceUserAuthoritiesRevokeResponseSchema),
236
344
  callerCapabilities: ["admin"],
237
345
  errors: ["AuthError", "UnexpectedError", "ValidationError"],
238
- declaredErrorTypes: ["AuthError", "UnexpectedError", "ValidationError"],
346
+ declaredErrorTypes: [
347
+ "AuthError",
348
+ "UnexpectedError",
349
+ "ValidationError",
350
+ ],
239
351
  },
240
352
  "Auth.Devices.ConnectInfo.Get": {
241
353
  subject: "rpc.v1.Auth.Devices.ConnectInfo.Get",
@@ -243,7 +355,11 @@ exports.OWNED_API = {
243
355
  output: (0, contracts_js_1.schema)(schemas_js_1.AuthDevicesConnectInfoGetResponseSchema),
244
356
  callerCapabilities: [],
245
357
  errors: ["AuthError", "UnexpectedError", "ValidationError"],
246
- declaredErrorTypes: ["AuthError", "UnexpectedError", "ValidationError"],
358
+ declaredErrorTypes: [
359
+ "AuthError",
360
+ "UnexpectedError",
361
+ "ValidationError",
362
+ ],
247
363
  },
248
364
  "Auth.Devices.Disable": {
249
365
  subject: "rpc.v1.Auth.Devices.Disable",
@@ -251,7 +367,11 @@ exports.OWNED_API = {
251
367
  output: (0, contracts_js_1.schema)(schemas_js_1.AuthDevicesDisableResponseSchema),
252
368
  callerCapabilities: ["admin"],
253
369
  errors: ["AuthError", "UnexpectedError", "ValidationError"],
254
- declaredErrorTypes: ["AuthError", "UnexpectedError", "ValidationError"],
370
+ declaredErrorTypes: [
371
+ "AuthError",
372
+ "UnexpectedError",
373
+ "ValidationError",
374
+ ],
255
375
  },
256
376
  "Auth.Devices.Enable": {
257
377
  subject: "rpc.v1.Auth.Devices.Enable",
@@ -259,7 +379,11 @@ exports.OWNED_API = {
259
379
  output: (0, contracts_js_1.schema)(schemas_js_1.AuthDevicesEnableResponseSchema),
260
380
  callerCapabilities: ["admin"],
261
381
  errors: ["AuthError", "UnexpectedError", "ValidationError"],
262
- declaredErrorTypes: ["AuthError", "UnexpectedError", "ValidationError"],
382
+ declaredErrorTypes: [
383
+ "AuthError",
384
+ "UnexpectedError",
385
+ "ValidationError",
386
+ ],
263
387
  },
264
388
  "Auth.Devices.List": {
265
389
  subject: "rpc.v1.Auth.Devices.List",
@@ -267,7 +391,11 @@ exports.OWNED_API = {
267
391
  output: (0, contracts_js_1.schema)(schemas_js_1.AuthDevicesListResponseSchema),
268
392
  callerCapabilities: ["admin"],
269
393
  errors: ["AuthError", "UnexpectedError", "ValidationError"],
270
- declaredErrorTypes: ["AuthError", "UnexpectedError", "ValidationError"],
394
+ declaredErrorTypes: [
395
+ "AuthError",
396
+ "UnexpectedError",
397
+ "ValidationError",
398
+ ],
271
399
  },
272
400
  "Auth.Devices.Provision": {
273
401
  subject: "rpc.v1.Auth.Devices.Provision",
@@ -275,7 +403,11 @@ exports.OWNED_API = {
275
403
  output: (0, contracts_js_1.schema)(schemas_js_1.AuthDevicesProvisionResponseSchema),
276
404
  callerCapabilities: ["admin"],
277
405
  errors: ["AuthError", "UnexpectedError", "ValidationError"],
278
- declaredErrorTypes: ["AuthError", "UnexpectedError", "ValidationError"],
406
+ declaredErrorTypes: [
407
+ "AuthError",
408
+ "UnexpectedError",
409
+ "ValidationError",
410
+ ],
279
411
  },
280
412
  "Auth.Devices.Remove": {
281
413
  subject: "rpc.v1.Auth.Devices.Remove",
@@ -283,7 +415,11 @@ exports.OWNED_API = {
283
415
  output: (0, contracts_js_1.schema)(schemas_js_1.AuthDevicesRemoveResponseSchema),
284
416
  callerCapabilities: ["admin"],
285
417
  errors: ["AuthError", "UnexpectedError", "ValidationError"],
286
- declaredErrorTypes: ["AuthError", "UnexpectedError", "ValidationError"],
418
+ declaredErrorTypes: [
419
+ "AuthError",
420
+ "UnexpectedError",
421
+ "ValidationError",
422
+ ],
287
423
  },
288
424
  "Auth.Health": {
289
425
  subject: "rpc.v1.Auth.Health",
@@ -299,7 +435,11 @@ exports.OWNED_API = {
299
435
  output: (0, contracts_js_1.schema)(schemas_js_1.AuthIdentitiesListResponseSchema),
300
436
  callerCapabilities: [],
301
437
  errors: ["AuthError", "UnexpectedError", "ValidationError"],
302
- declaredErrorTypes: ["AuthError", "UnexpectedError", "ValidationError"],
438
+ declaredErrorTypes: [
439
+ "AuthError",
440
+ "UnexpectedError",
441
+ "ValidationError",
442
+ ],
303
443
  },
304
444
  "Auth.IdentityGrants.List": {
305
445
  subject: "rpc.v1.Auth.IdentityGrants.List",
@@ -315,7 +455,11 @@ exports.OWNED_API = {
315
455
  output: (0, contracts_js_1.schema)(schemas_js_1.AuthIdentityGrantsRevokeResponseSchema),
316
456
  callerCapabilities: [],
317
457
  errors: ["AuthError", "UnexpectedError", "ValidationError"],
318
- declaredErrorTypes: ["AuthError", "UnexpectedError", "ValidationError"],
458
+ declaredErrorTypes: [
459
+ "AuthError",
460
+ "UnexpectedError",
461
+ "ValidationError",
462
+ ],
319
463
  },
320
464
  "Auth.Portals.Get": {
321
465
  subject: "rpc.v1.Auth.Portals.Get",
@@ -323,7 +467,11 @@ exports.OWNED_API = {
323
467
  output: (0, contracts_js_1.schema)(schemas_js_1.AuthPortalsGetResponseSchema),
324
468
  callerCapabilities: ["admin"],
325
469
  errors: ["AuthError", "UnexpectedError", "ValidationError"],
326
- declaredErrorTypes: ["AuthError", "UnexpectedError", "ValidationError"],
470
+ declaredErrorTypes: [
471
+ "AuthError",
472
+ "UnexpectedError",
473
+ "ValidationError",
474
+ ],
327
475
  },
328
476
  "Auth.Portals.List": {
329
477
  subject: "rpc.v1.Auth.Portals.List",
@@ -339,7 +487,11 @@ exports.OWNED_API = {
339
487
  output: (0, contracts_js_1.schema)(schemas_js_1.AuthPortalsLoginSettingsResponseSchema),
340
488
  callerCapabilities: ["admin"],
341
489
  errors: ["AuthError", "UnexpectedError", "ValidationError"],
342
- declaredErrorTypes: ["AuthError", "UnexpectedError", "ValidationError"],
490
+ declaredErrorTypes: [
491
+ "AuthError",
492
+ "UnexpectedError",
493
+ "ValidationError",
494
+ ],
343
495
  },
344
496
  "Auth.Portals.LoginSettings.Update": {
345
497
  subject: "rpc.v1.Auth.Portals.LoginSettings.Update",
@@ -347,7 +499,11 @@ exports.OWNED_API = {
347
499
  output: (0, contracts_js_1.schema)(schemas_js_1.AuthPortalsLoginSettingsResponseSchema),
348
500
  callerCapabilities: ["admin"],
349
501
  errors: ["AuthError", "UnexpectedError", "ValidationError"],
350
- declaredErrorTypes: ["AuthError", "UnexpectedError", "ValidationError"],
502
+ declaredErrorTypes: [
503
+ "AuthError",
504
+ "UnexpectedError",
505
+ "ValidationError",
506
+ ],
351
507
  },
352
508
  "Auth.Portals.Put": {
353
509
  subject: "rpc.v1.Auth.Portals.Put",
@@ -355,7 +511,11 @@ exports.OWNED_API = {
355
511
  output: (0, contracts_js_1.schema)(schemas_js_1.AuthPortalsPutResponseSchema),
356
512
  callerCapabilities: ["admin"],
357
513
  errors: ["AuthError", "UnexpectedError", "ValidationError"],
358
- declaredErrorTypes: ["AuthError", "UnexpectedError", "ValidationError"],
514
+ declaredErrorTypes: [
515
+ "AuthError",
516
+ "UnexpectedError",
517
+ "ValidationError",
518
+ ],
359
519
  },
360
520
  "Auth.Portals.Remove": {
361
521
  subject: "rpc.v1.Auth.Portals.Remove",
@@ -363,7 +523,11 @@ exports.OWNED_API = {
363
523
  output: (0, contracts_js_1.schema)(schemas_js_1.AuthPortalsRemoveResponseSchema),
364
524
  callerCapabilities: ["admin"],
365
525
  errors: ["AuthError", "UnexpectedError", "ValidationError"],
366
- declaredErrorTypes: ["AuthError", "UnexpectedError", "ValidationError"],
526
+ declaredErrorTypes: [
527
+ "AuthError",
528
+ "UnexpectedError",
529
+ "ValidationError",
530
+ ],
367
531
  },
368
532
  "Auth.Portals.Routes.Put": {
369
533
  subject: "rpc.v1.Auth.Portals.Routes.Put",
@@ -371,7 +535,11 @@ exports.OWNED_API = {
371
535
  output: (0, contracts_js_1.schema)(schemas_js_1.AuthPortalsRoutesPutResponseSchema),
372
536
  callerCapabilities: ["admin"],
373
537
  errors: ["AuthError", "UnexpectedError", "ValidationError"],
374
- declaredErrorTypes: ["AuthError", "UnexpectedError", "ValidationError"],
538
+ declaredErrorTypes: [
539
+ "AuthError",
540
+ "UnexpectedError",
541
+ "ValidationError",
542
+ ],
375
543
  },
376
544
  "Auth.Portals.Routes.Remove": {
377
545
  subject: "rpc.v1.Auth.Portals.Routes.Remove",
@@ -379,7 +547,11 @@ exports.OWNED_API = {
379
547
  output: (0, contracts_js_1.schema)(schemas_js_1.AuthPortalsRoutesRemoveResponseSchema),
380
548
  callerCapabilities: ["admin"],
381
549
  errors: ["AuthError", "UnexpectedError", "ValidationError"],
382
- declaredErrorTypes: ["AuthError", "UnexpectedError", "ValidationError"],
550
+ declaredErrorTypes: [
551
+ "AuthError",
552
+ "UnexpectedError",
553
+ "ValidationError",
554
+ ],
383
555
  },
384
556
  "Auth.Requests.Validate": {
385
557
  subject: "rpc.v1.Auth.Requests.Validate",
@@ -387,7 +559,11 @@ exports.OWNED_API = {
387
559
  output: (0, contracts_js_1.schema)(schemas_js_1.AuthRequestsValidateResponseSchema),
388
560
  callerCapabilities: ["service"],
389
561
  errors: ["AuthError", "UnexpectedError", "ValidationError"],
390
- declaredErrorTypes: ["AuthError", "UnexpectedError", "ValidationError"],
562
+ declaredErrorTypes: [
563
+ "AuthError",
564
+ "UnexpectedError",
565
+ "ValidationError",
566
+ ],
391
567
  },
392
568
  "Auth.ServiceInstances.Disable": {
393
569
  subject: "rpc.v1.Auth.ServiceInstances.Disable",
@@ -395,7 +571,11 @@ exports.OWNED_API = {
395
571
  output: (0, contracts_js_1.schema)(schemas_js_1.AuthServiceInstancesDisableResponseSchema),
396
572
  callerCapabilities: ["admin"],
397
573
  errors: ["AuthError", "UnexpectedError", "ValidationError"],
398
- declaredErrorTypes: ["AuthError", "UnexpectedError", "ValidationError"],
574
+ declaredErrorTypes: [
575
+ "AuthError",
576
+ "UnexpectedError",
577
+ "ValidationError",
578
+ ],
399
579
  },
400
580
  "Auth.ServiceInstances.Enable": {
401
581
  subject: "rpc.v1.Auth.ServiceInstances.Enable",
@@ -403,7 +583,11 @@ exports.OWNED_API = {
403
583
  output: (0, contracts_js_1.schema)(schemas_js_1.AuthServiceInstancesEnableResponseSchema),
404
584
  callerCapabilities: ["admin"],
405
585
  errors: ["AuthError", "UnexpectedError", "ValidationError"],
406
- declaredErrorTypes: ["AuthError", "UnexpectedError", "ValidationError"],
586
+ declaredErrorTypes: [
587
+ "AuthError",
588
+ "UnexpectedError",
589
+ "ValidationError",
590
+ ],
407
591
  },
408
592
  "Auth.ServiceInstances.List": {
409
593
  subject: "rpc.v1.Auth.ServiceInstances.List",
@@ -411,7 +595,11 @@ exports.OWNED_API = {
411
595
  output: (0, contracts_js_1.schema)(schemas_js_1.AuthServiceInstancesListResponseSchema),
412
596
  callerCapabilities: ["admin"],
413
597
  errors: ["AuthError", "UnexpectedError", "ValidationError"],
414
- declaredErrorTypes: ["AuthError", "UnexpectedError", "ValidationError"],
598
+ declaredErrorTypes: [
599
+ "AuthError",
600
+ "UnexpectedError",
601
+ "ValidationError",
602
+ ],
415
603
  },
416
604
  "Auth.ServiceInstances.Provision": {
417
605
  subject: "rpc.v1.Auth.ServiceInstances.Provision",
@@ -419,7 +607,11 @@ exports.OWNED_API = {
419
607
  output: (0, contracts_js_1.schema)(schemas_js_1.AuthServiceInstancesProvisionResponseSchema),
420
608
  callerCapabilities: ["admin"],
421
609
  errors: ["AuthError", "UnexpectedError", "ValidationError"],
422
- declaredErrorTypes: ["AuthError", "UnexpectedError", "ValidationError"],
610
+ declaredErrorTypes: [
611
+ "AuthError",
612
+ "UnexpectedError",
613
+ "ValidationError",
614
+ ],
423
615
  },
424
616
  "Auth.ServiceInstances.Remove": {
425
617
  subject: "rpc.v1.Auth.ServiceInstances.Remove",
@@ -427,7 +619,11 @@ exports.OWNED_API = {
427
619
  output: (0, contracts_js_1.schema)(schemas_js_1.AuthServiceInstancesRemoveResponseSchema),
428
620
  callerCapabilities: ["admin"],
429
621
  errors: ["AuthError", "UnexpectedError", "ValidationError"],
430
- declaredErrorTypes: ["AuthError", "UnexpectedError", "ValidationError"],
622
+ declaredErrorTypes: [
623
+ "AuthError",
624
+ "UnexpectedError",
625
+ "ValidationError",
626
+ ],
431
627
  },
432
628
  "Auth.Sessions.List": {
433
629
  subject: "rpc.v1.Auth.Sessions.List",
@@ -435,7 +631,11 @@ exports.OWNED_API = {
435
631
  output: (0, contracts_js_1.schema)(schemas_js_1.AuthSessionsListResponseSchema),
436
632
  callerCapabilities: ["admin"],
437
633
  errors: ["AuthError", "UnexpectedError", "ValidationError"],
438
- declaredErrorTypes: ["AuthError", "UnexpectedError", "ValidationError"],
634
+ declaredErrorTypes: [
635
+ "AuthError",
636
+ "UnexpectedError",
637
+ "ValidationError",
638
+ ],
439
639
  },
440
640
  "Auth.Sessions.Logout": {
441
641
  subject: "rpc.v1.Auth.Sessions.Logout",
@@ -459,7 +659,11 @@ exports.OWNED_API = {
459
659
  output: (0, contracts_js_1.schema)(schemas_js_1.AuthSessionsRevokeResponseSchema),
460
660
  callerCapabilities: ["admin"],
461
661
  errors: ["AuthError", "UnexpectedError", "ValidationError"],
462
- declaredErrorTypes: ["AuthError", "UnexpectedError", "ValidationError"],
662
+ declaredErrorTypes: [
663
+ "AuthError",
664
+ "UnexpectedError",
665
+ "ValidationError",
666
+ ],
463
667
  },
464
668
  "Auth.UserIdentities.List": {
465
669
  subject: "rpc.v1.Auth.UserIdentities.List",
@@ -467,7 +671,11 @@ exports.OWNED_API = {
467
671
  output: (0, contracts_js_1.schema)(schemas_js_1.AuthUserIdentitiesListResponseSchema),
468
672
  callerCapabilities: ["admin"],
469
673
  errors: ["AuthError", "UnexpectedError", "ValidationError"],
470
- declaredErrorTypes: ["AuthError", "UnexpectedError", "ValidationError"],
674
+ declaredErrorTypes: [
675
+ "AuthError",
676
+ "UnexpectedError",
677
+ "ValidationError",
678
+ ],
471
679
  },
472
680
  "Auth.UserIdentities.Unlink": {
473
681
  subject: "rpc.v1.Auth.UserIdentities.Unlink",
@@ -475,7 +683,11 @@ exports.OWNED_API = {
475
683
  output: (0, contracts_js_1.schema)(schemas_js_1.AuthUserIdentitiesUnlinkResponseSchema),
476
684
  callerCapabilities: ["admin"],
477
685
  errors: ["AuthError", "UnexpectedError", "ValidationError"],
478
- declaredErrorTypes: ["AuthError", "UnexpectedError", "ValidationError"],
686
+ declaredErrorTypes: [
687
+ "AuthError",
688
+ "UnexpectedError",
689
+ "ValidationError",
690
+ ],
479
691
  },
480
692
  "Auth.Users.Create": {
481
693
  subject: "rpc.v1.Auth.Users.Create",
@@ -483,7 +695,11 @@ exports.OWNED_API = {
483
695
  output: (0, contracts_js_1.schema)(schemas_js_1.AuthUsersCreateResponseSchema),
484
696
  callerCapabilities: ["admin"],
485
697
  errors: ["AuthError", "UnexpectedError", "ValidationError"],
486
- declaredErrorTypes: ["AuthError", "UnexpectedError", "ValidationError"],
698
+ declaredErrorTypes: [
699
+ "AuthError",
700
+ "UnexpectedError",
701
+ "ValidationError",
702
+ ],
487
703
  },
488
704
  "Auth.Users.Get": {
489
705
  subject: "rpc.v1.Auth.Users.Get",
@@ -491,7 +707,11 @@ exports.OWNED_API = {
491
707
  output: (0, contracts_js_1.schema)(schemas_js_1.AuthUsersGetResponseSchema),
492
708
  callerCapabilities: ["admin"],
493
709
  errors: ["AuthError", "UnexpectedError", "ValidationError"],
494
- declaredErrorTypes: ["AuthError", "UnexpectedError", "ValidationError"],
710
+ declaredErrorTypes: [
711
+ "AuthError",
712
+ "UnexpectedError",
713
+ "ValidationError",
714
+ ],
495
715
  },
496
716
  "Auth.Users.IdentityLink.Create": {
497
717
  subject: "rpc.v1.Auth.Users.IdentityLink.Create",
@@ -499,7 +719,11 @@ exports.OWNED_API = {
499
719
  output: (0, contracts_js_1.schema)(schemas_js_1.AuthUsersAccountFlowCreateResponseSchema),
500
720
  callerCapabilities: [],
501
721
  errors: ["AuthError", "UnexpectedError", "ValidationError"],
502
- declaredErrorTypes: ["AuthError", "UnexpectedError", "ValidationError"],
722
+ declaredErrorTypes: [
723
+ "AuthError",
724
+ "UnexpectedError",
725
+ "ValidationError",
726
+ ],
503
727
  },
504
728
  "Auth.Users.List": {
505
729
  subject: "rpc.v1.Auth.Users.List",
@@ -507,7 +731,11 @@ exports.OWNED_API = {
507
731
  output: (0, contracts_js_1.schema)(schemas_js_1.AuthUsersListResponseSchema),
508
732
  callerCapabilities: ["admin"],
509
733
  errors: ["AuthError", "UnexpectedError", "ValidationError"],
510
- declaredErrorTypes: ["AuthError", "UnexpectedError", "ValidationError"],
734
+ declaredErrorTypes: [
735
+ "AuthError",
736
+ "UnexpectedError",
737
+ "ValidationError",
738
+ ],
511
739
  },
512
740
  "Auth.Users.Password.Change": {
513
741
  subject: "rpc.v1.Auth.Users.Password.Change",
@@ -515,7 +743,11 @@ exports.OWNED_API = {
515
743
  output: (0, contracts_js_1.schema)(schemas_js_1.AuthUsersPasswordChangeResponseSchema),
516
744
  callerCapabilities: [],
517
745
  errors: ["AuthError", "UnexpectedError", "ValidationError"],
518
- declaredErrorTypes: ["AuthError", "UnexpectedError", "ValidationError"],
746
+ declaredErrorTypes: [
747
+ "AuthError",
748
+ "UnexpectedError",
749
+ "ValidationError",
750
+ ],
519
751
  },
520
752
  "Auth.Users.PasswordReset.Create": {
521
753
  subject: "rpc.v1.Auth.Users.PasswordReset.Create",
@@ -523,7 +755,11 @@ exports.OWNED_API = {
523
755
  output: (0, contracts_js_1.schema)(schemas_js_1.AuthUsersAccountFlowCreateResponseSchema),
524
756
  callerCapabilities: ["admin"],
525
757
  errors: ["AuthError", "UnexpectedError", "ValidationError"],
526
- declaredErrorTypes: ["AuthError", "UnexpectedError", "ValidationError"],
758
+ declaredErrorTypes: [
759
+ "AuthError",
760
+ "UnexpectedError",
761
+ "ValidationError",
762
+ ],
527
763
  },
528
764
  "Auth.Users.Update": {
529
765
  subject: "rpc.v1.Auth.Users.Update",
@@ -531,7 +767,11 @@ exports.OWNED_API = {
531
767
  output: (0, contracts_js_1.schema)(schemas_js_1.AuthUsersUpdateResponseSchema),
532
768
  callerCapabilities: ["admin"],
533
769
  errors: ["AuthError", "UnexpectedError", "ValidationError"],
534
- declaredErrorTypes: ["AuthError", "UnexpectedError", "ValidationError"],
770
+ declaredErrorTypes: [
771
+ "AuthError",
772
+ "UnexpectedError",
773
+ "ValidationError",
774
+ ],
535
775
  },
536
776
  },
537
777
  operations: {
@@ -584,7 +824,10 @@ exports.OWNED_API = {
584
824
  params: ["/deploymentId"],
585
825
  event: (0, contracts_js_1.schema)(schemas_js_1.AuthDeviceUserAuthoritiesResolvedEventSchema),
586
826
  publishCapabilities: ["trellis.auth::events.auth"],
587
- subscribeCapabilities: ["trellis.auth::device.review", "trellis.auth::events.auth"],
827
+ subscribeCapabilities: [
828
+ "trellis.auth::device.review",
829
+ "trellis.auth::events.auth",
830
+ ],
588
831
  },
589
832
  "Auth.DeviceUserAuthorities.ReviewRequested": {
590
833
  subject: "events.v1.Auth.DeviceUserAuthorities.ReviewRequested.{/deploymentId}",