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