@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
|
@@ -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: [
|
|
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: [
|
|
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: [
|
|
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: [
|
|
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: [
|
|
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: [
|
|
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: [
|
|
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: [
|
|
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: [
|
|
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: [
|
|
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: [
|
|
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: [
|
|
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: [
|
|
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: [
|
|
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: [
|
|
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: [
|
|
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: [
|
|
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: [
|
|
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: [
|
|
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: [
|
|
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: [
|
|
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: [
|
|
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: [
|
|
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: [
|
|
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: [
|
|
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: [
|
|
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: [
|
|
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: [
|
|
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: [
|
|
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: [
|
|
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: [
|
|
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: [
|
|
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: [
|
|
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: [
|
|
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: [
|
|
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: [
|
|
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: [
|
|
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: [
|
|
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: [
|
|
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: [
|
|
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: [
|
|
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: [
|
|
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: [
|
|
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: [
|
|
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: [
|
|
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: [
|
|
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: [
|
|
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: [
|
|
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: [
|
|
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: [
|
|
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: [
|
|
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: [
|
|
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: [
|
|
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: [
|
|
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: [
|
|
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: [
|
|
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: [
|
|
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: [
|
|
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: [
|
|
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: [
|
|
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: [
|
|
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}",
|