@qlever-llc/trellis 0.6.1 → 0.7.0-rc.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (244) hide show
  1. package/README.md +6 -2
  2. package/esm/auth/device_activation.d.ts +194 -0
  3. package/esm/auth/device_activation.d.ts.map +1 -0
  4. package/esm/auth/{workload_activation.js → device_activation.js} +85 -60
  5. package/esm/auth/mod.d.ts +2 -2
  6. package/esm/auth/mod.d.ts.map +1 -1
  7. package/esm/auth/mod.js +2 -2
  8. package/esm/auth/protocol.d.ts +175 -72
  9. package/esm/auth/protocol.d.ts.map +1 -1
  10. package/esm/auth/protocol.js +126 -78
  11. package/esm/contracts/mod.d.ts +19 -3
  12. package/esm/contracts/mod.d.ts.map +1 -1
  13. package/esm/contracts/mod.js +28 -4
  14. package/esm/contracts/protocol.d.ts +34 -0
  15. package/esm/contracts/protocol.d.ts.map +1 -1
  16. package/esm/contracts/protocol.js +15 -0
  17. package/esm/server/deno.d.ts +1 -6
  18. package/esm/server/deno.d.ts.map +1 -1
  19. package/esm/server/deno.js +1 -16
  20. package/esm/server/mod.d.ts +3 -2
  21. package/esm/server/mod.d.ts.map +1 -1
  22. package/esm/server/mod.js +2 -2
  23. package/esm/server/node.d.ts +1 -6
  24. package/esm/server/node.d.ts.map +1 -1
  25. package/esm/server/node.js +1 -16
  26. package/esm/server/service.d.ts +32 -10
  27. package/esm/server/service.d.ts.map +1 -1
  28. package/esm/server/service.js +188 -41
  29. package/esm/server/transfer.d.ts +41 -0
  30. package/esm/server/transfer.d.ts.map +1 -0
  31. package/esm/server/transfer.js +418 -0
  32. package/esm/telemetry/init.d.ts +4 -0
  33. package/esm/telemetry/init.d.ts.map +1 -0
  34. package/esm/telemetry/init.js +7 -0
  35. package/esm/telemetry/mod.d.ts +1 -2
  36. package/esm/telemetry/mod.d.ts.map +1 -1
  37. package/esm/telemetry/mod.js +1 -2
  38. package/esm/telemetry/runtime.d.ts.map +1 -1
  39. package/esm/telemetry/runtime.js +9 -5
  40. package/esm/telemetry/trellis.d.ts +0 -1
  41. package/esm/telemetry/trellis.d.ts.map +1 -1
  42. package/esm/telemetry/trellis.js +0 -6
  43. package/esm/trellis/_sdk/auth/api.d.ts.map +1 -1
  44. package/esm/trellis/_sdk/auth/api.js +132 -110
  45. package/esm/trellis/_sdk/auth/contract.d.ts +1 -1
  46. package/esm/trellis/_sdk/auth/contract.d.ts.map +1 -1
  47. package/esm/trellis/_sdk/auth/contract.js +2 -2
  48. package/esm/trellis/_sdk/auth/schemas.d.ts +4212 -3069
  49. package/esm/trellis/_sdk/auth/schemas.d.ts.map +1 -1
  50. package/esm/trellis/_sdk/auth/schemas.js +144 -125
  51. package/esm/trellis/_sdk/auth/types.d.ts +417 -267
  52. package/esm/trellis/_sdk/auth/types.d.ts.map +1 -1
  53. package/esm/trellis/_sdk/auth/types.js +1 -1
  54. package/esm/trellis/_sdk/core/contract.d.ts +1 -1
  55. package/esm/trellis/_sdk/core/contract.d.ts.map +1 -1
  56. package/esm/trellis/_sdk/core/contract.js +2 -2
  57. package/esm/trellis/_sdk/core/schemas.d.ts +122 -0
  58. package/esm/trellis/_sdk/core/schemas.d.ts.map +1 -1
  59. package/esm/trellis/_sdk/core/schemas.js +4 -4
  60. package/esm/trellis/_sdk/core/types.d.ts +18 -1
  61. package/esm/trellis/_sdk/core/types.d.ts.map +1 -1
  62. package/esm/trellis/_sdk/core/types.js +1 -1
  63. package/esm/trellis/_sdk/state/_dnt.polyfills.d.ts +12 -0
  64. package/esm/trellis/_sdk/state/_dnt.polyfills.d.ts.map +1 -0
  65. package/esm/trellis/_sdk/state/_dnt.polyfills.js +15 -0
  66. package/esm/trellis/_sdk/state/api.d.ts +10 -0
  67. package/esm/trellis/_sdk/state/api.d.ts.map +1 -0
  68. package/esm/trellis/_sdk/state/api.js +71 -0
  69. package/esm/trellis/_sdk/state/contract.d.ts +8 -0
  70. package/esm/trellis/_sdk/state/contract.d.ts.map +1 -0
  71. package/esm/trellis/_sdk/state/contract.js +59 -0
  72. package/esm/trellis/_sdk/state/mod.d.ts +7 -0
  73. package/esm/trellis/_sdk/state/mod.d.ts.map +1 -0
  74. package/esm/trellis/_sdk/state/mod.js +5 -0
  75. package/esm/trellis/_sdk/state/package.json +3 -0
  76. package/esm/trellis/_sdk/state/schemas.d.ts +1437 -0
  77. package/esm/trellis/_sdk/state/schemas.d.ts.map +1 -0
  78. package/esm/trellis/_sdk/state/schemas.js +62 -0
  79. package/esm/trellis/_sdk/state/types.d.ts +206 -0
  80. package/esm/trellis/_sdk/state/types.d.ts.map +1 -0
  81. package/esm/trellis/_sdk/state/types.js +3 -0
  82. package/esm/trellis/client_connect.d.ts +53 -0
  83. package/esm/trellis/client_connect.d.ts.map +1 -0
  84. package/esm/trellis/client_connect.js +300 -0
  85. package/esm/trellis/contract.d.ts +1 -7
  86. package/esm/trellis/contract.d.ts.map +1 -1
  87. package/esm/trellis/contract.js +1 -12
  88. package/esm/trellis/device.d.ts +41 -0
  89. package/esm/trellis/device.d.ts.map +1 -0
  90. package/esm/trellis/device.js +209 -0
  91. package/esm/trellis/errors/AuthError.d.ts +1 -1
  92. package/esm/trellis/errors/AuthError.js +9 -9
  93. package/esm/trellis/errors/StoreError.d.ts +22 -0
  94. package/esm/trellis/errors/StoreError.d.ts.map +1 -0
  95. package/esm/trellis/errors/StoreError.js +41 -0
  96. package/esm/trellis/errors/TransferError.d.ts +22 -0
  97. package/esm/trellis/errors/TransferError.d.ts.map +1 -0
  98. package/esm/trellis/errors/TransferError.js +41 -0
  99. package/esm/trellis/errors/index.d.ts +8 -0
  100. package/esm/trellis/errors/index.d.ts.map +1 -1
  101. package/esm/trellis/errors/index.js +8 -0
  102. package/esm/trellis/index.d.ts +10 -4
  103. package/esm/trellis/index.d.ts.map +1 -1
  104. package/esm/trellis/index.js +6 -4
  105. package/esm/trellis/kv.d.ts +2 -0
  106. package/esm/trellis/kv.d.ts.map +1 -1
  107. package/esm/trellis/kv.js +6 -0
  108. package/esm/trellis/models/trellis/TrellisError.d.ts +15 -1
  109. package/esm/trellis/models/trellis/TrellisError.d.ts.map +1 -1
  110. package/esm/trellis/models/trellis/TrellisError.js +4 -0
  111. package/esm/trellis/runtime_transport.d.ts +12 -0
  112. package/esm/trellis/runtime_transport.d.ts.map +1 -0
  113. package/esm/trellis/runtime_transport.js +35 -0
  114. package/esm/trellis/sdk/state.d.ts +4 -0
  115. package/esm/trellis/sdk/state.d.ts.map +1 -0
  116. package/esm/trellis/sdk/state.js +3 -0
  117. package/esm/trellis/store.d.ts +51 -0
  118. package/esm/trellis/store.d.ts.map +1 -0
  119. package/esm/trellis/store.js +310 -0
  120. package/esm/trellis/tracing.js +1 -1
  121. package/esm/trellis/transfer.d.ts +118 -0
  122. package/esm/trellis/transfer.d.ts.map +1 -0
  123. package/esm/trellis/transfer.js +357 -0
  124. package/esm/trellis/trellis.d.ts +3 -0
  125. package/esm/trellis/trellis.d.ts.map +1 -1
  126. package/esm/trellis/trellis.js +48 -17
  127. package/package.json +7 -2
  128. package/script/auth/device_activation.d.ts +194 -0
  129. package/script/auth/device_activation.d.ts.map +1 -0
  130. package/script/auth/{workload_activation.js → device_activation.js} +99 -74
  131. package/script/auth/mod.d.ts +2 -2
  132. package/script/auth/mod.d.ts.map +1 -1
  133. package/script/auth/mod.js +84 -76
  134. package/script/auth/protocol.d.ts +175 -72
  135. package/script/auth/protocol.d.ts.map +1 -1
  136. package/script/auth/protocol.js +129 -81
  137. package/script/contracts/mod.d.ts +19 -3
  138. package/script/contracts/mod.d.ts.map +1 -1
  139. package/script/contracts/mod.js +30 -4
  140. package/script/contracts/protocol.d.ts +34 -0
  141. package/script/contracts/protocol.d.ts.map +1 -1
  142. package/script/contracts/protocol.js +16 -1
  143. package/script/telemetry/init.d.ts +4 -0
  144. package/script/telemetry/init.d.ts.map +1 -0
  145. package/script/telemetry/init.js +11 -0
  146. package/script/telemetry/mod.d.ts +1 -2
  147. package/script/telemetry/mod.d.ts.map +1 -1
  148. package/script/telemetry/mod.js +1 -4
  149. package/script/telemetry/runtime.d.ts.map +1 -1
  150. package/script/telemetry/runtime.js +9 -28
  151. package/script/telemetry/trellis.d.ts +0 -1
  152. package/script/telemetry/trellis.d.ts.map +1 -1
  153. package/script/telemetry/trellis.js +0 -7
  154. package/script/trellis/_sdk/auth/api.d.ts.map +1 -1
  155. package/script/trellis/_sdk/auth/api.js +132 -110
  156. package/script/trellis/_sdk/auth/contract.d.ts +1 -1
  157. package/script/trellis/_sdk/auth/contract.d.ts.map +1 -1
  158. package/script/trellis/_sdk/auth/contract.js +2 -2
  159. package/script/trellis/_sdk/auth/schemas.d.ts +4212 -3069
  160. package/script/trellis/_sdk/auth/schemas.d.ts.map +1 -1
  161. package/script/trellis/_sdk/auth/schemas.js +144 -125
  162. package/script/trellis/_sdk/auth/types.d.ts +417 -267
  163. package/script/trellis/_sdk/auth/types.d.ts.map +1 -1
  164. package/script/trellis/_sdk/auth/types.js +1 -1
  165. package/script/trellis/_sdk/core/contract.d.ts +1 -1
  166. package/script/trellis/_sdk/core/contract.d.ts.map +1 -1
  167. package/script/trellis/_sdk/core/contract.js +2 -2
  168. package/script/trellis/_sdk/core/schemas.d.ts +122 -0
  169. package/script/trellis/_sdk/core/schemas.d.ts.map +1 -1
  170. package/script/trellis/_sdk/core/schemas.js +4 -4
  171. package/script/trellis/_sdk/core/types.d.ts +18 -1
  172. package/script/trellis/_sdk/core/types.d.ts.map +1 -1
  173. package/script/trellis/_sdk/core/types.js +1 -1
  174. package/script/trellis/_sdk/state/_dnt.polyfills.d.ts +12 -0
  175. package/script/trellis/_sdk/state/_dnt.polyfills.d.ts.map +1 -0
  176. package/script/trellis/_sdk/state/_dnt.polyfills.js +16 -0
  177. package/script/trellis/_sdk/state/api.d.ts +10 -0
  178. package/script/trellis/_sdk/state/api.d.ts.map +1 -0
  179. package/script/trellis/_sdk/state/api.js +74 -0
  180. package/script/trellis/_sdk/state/contract.d.ts +8 -0
  181. package/script/trellis/_sdk/state/contract.d.ts.map +1 -0
  182. package/script/trellis/_sdk/state/contract.js +62 -0
  183. package/script/trellis/_sdk/state/mod.d.ts +7 -0
  184. package/script/trellis/_sdk/state/mod.d.ts.map +1 -0
  185. package/script/trellis/_sdk/state/mod.js +30 -0
  186. package/script/trellis/_sdk/state/package.json +3 -0
  187. package/script/trellis/_sdk/state/schemas.d.ts +1437 -0
  188. package/script/trellis/_sdk/state/schemas.d.ts.map +1 -0
  189. package/script/trellis/_sdk/state/schemas.js +65 -0
  190. package/script/trellis/_sdk/state/types.d.ts +206 -0
  191. package/script/trellis/_sdk/state/types.d.ts.map +1 -0
  192. package/script/trellis/_sdk/state/types.js +6 -0
  193. package/script/trellis/client_connect.d.ts +53 -0
  194. package/script/trellis/client_connect.d.ts.map +1 -0
  195. package/script/trellis/client_connect.js +304 -0
  196. package/script/trellis/contract.d.ts +1 -7
  197. package/script/trellis/contract.d.ts.map +1 -1
  198. package/script/trellis/contract.js +1 -12
  199. package/script/trellis/device.d.ts +41 -0
  200. package/script/trellis/device.d.ts.map +1 -0
  201. package/script/trellis/device.js +213 -0
  202. package/script/trellis/errors/AuthError.d.ts +1 -1
  203. package/script/trellis/errors/AuthError.js +9 -9
  204. package/script/trellis/errors/StoreError.d.ts +22 -0
  205. package/script/trellis/errors/StoreError.d.ts.map +1 -0
  206. package/script/trellis/errors/StoreError.js +48 -0
  207. package/script/trellis/errors/TransferError.d.ts +22 -0
  208. package/script/trellis/errors/TransferError.d.ts.map +1 -0
  209. package/script/trellis/errors/TransferError.js +48 -0
  210. package/script/trellis/errors/index.d.ts +8 -0
  211. package/script/trellis/errors/index.d.ts.map +1 -1
  212. package/script/trellis/errors/index.js +13 -1
  213. package/script/trellis/index.d.ts +10 -4
  214. package/script/trellis/index.d.ts.map +1 -1
  215. package/script/trellis/index.js +17 -6
  216. package/script/trellis/kv.d.ts +2 -0
  217. package/script/trellis/kv.d.ts.map +1 -1
  218. package/script/trellis/kv.js +6 -0
  219. package/script/trellis/models/trellis/TrellisError.d.ts +15 -1
  220. package/script/trellis/models/trellis/TrellisError.d.ts.map +1 -1
  221. package/script/trellis/models/trellis/TrellisError.js +4 -0
  222. package/script/trellis/runtime_transport.d.ts +12 -0
  223. package/script/trellis/runtime_transport.d.ts.map +1 -0
  224. package/script/trellis/runtime_transport.js +37 -0
  225. package/script/trellis/store.d.ts +51 -0
  226. package/script/trellis/store.d.ts.map +1 -0
  227. package/script/trellis/store.js +316 -0
  228. package/script/trellis/tracing.js +1 -1
  229. package/script/trellis/transfer.d.ts +118 -0
  230. package/script/trellis/transfer.d.ts.map +1 -0
  231. package/script/trellis/transfer.js +367 -0
  232. package/script/trellis/trellis.d.ts +3 -0
  233. package/script/trellis/trellis.d.ts.map +1 -1
  234. package/script/trellis/trellis.js +48 -17
  235. package/esm/auth/workload_activation.d.ts +0 -192
  236. package/esm/auth/workload_activation.d.ts.map +0 -1
  237. package/esm/trellis/workload.d.ts +0 -45
  238. package/esm/trellis/workload.d.ts.map +0 -1
  239. package/esm/trellis/workload.js +0 -144
  240. package/script/auth/workload_activation.d.ts +0 -192
  241. package/script/auth/workload_activation.d.ts.map +0 -1
  242. package/script/trellis/workload.d.ts +0 -45
  243. package/script/trellis/workload.d.ts.map +0 -1
  244. package/script/trellis/workload.js +0 -172
@@ -1,9 +1,10 @@
1
1
  export declare const CONTRACT_ID: "trellis.auth@v1";
2
- export declare const CONTRACT_DIGEST: "PPC-QGjAoN2EdQhzlPGXvJxj7Ilj7Ksx3OAt2nGvKlE";
3
- export type AuthActivateWorkloadInput = {
2
+ export declare const CONTRACT_DIGEST: "dBWD48FOHG2R_AEBJ12qvODGydooKoRjRsJO0y-d4hc";
3
+ export type AuthActivateDeviceInput = {
4
4
  handoffId: string;
5
+ linkRequestId: string;
5
6
  };
6
- export type AuthActivateWorkloadOutput = ({
7
+ export type AuthActivateDeviceOutput = ({
7
8
  activatedAt: string;
8
9
  confirmationCode?: string;
9
10
  instanceId: string;
@@ -11,6 +12,7 @@ export type AuthActivateWorkloadOutput = ({
11
12
  status: "activated";
12
13
  } | {
13
14
  instanceId: string;
15
+ linkRequestId: string;
14
16
  profileId: string;
15
17
  requestedAt: string;
16
18
  reviewId: string;
@@ -19,32 +21,19 @@ export type AuthActivateWorkloadOutput = ({
19
21
  reason?: string;
20
22
  status: "rejected";
21
23
  });
22
- export type AuthClearLoginPortalSelectionInput = {
23
- contractId: string;
24
- };
25
- export type AuthClearLoginPortalSelectionOutput = {
26
- success: boolean;
27
- };
28
- export type AuthClearWorkloadPortalSelectionInput = {
24
+ export type AuthClearDevicePortalSelectionInput = {
29
25
  profileId: string;
30
26
  };
31
- export type AuthClearWorkloadPortalSelectionOutput = {
27
+ export type AuthClearDevicePortalSelectionOutput = {
32
28
  success: boolean;
33
29
  };
34
- export type AuthCreatePortalInput = {
35
- appContractId?: string;
36
- entryUrl: string;
37
- portalId: string;
30
+ export type AuthClearLoginPortalSelectionInput = {
31
+ contractId: string;
38
32
  };
39
- export type AuthCreatePortalOutput = {
40
- portal: {
41
- appContractId?: string;
42
- disabled: boolean;
43
- entryUrl: string;
44
- portalId: string;
45
- };
33
+ export type AuthClearLoginPortalSelectionOutput = {
34
+ success: boolean;
46
35
  };
47
- export type AuthCreateWorkloadProfileInput = {
36
+ export type AuthCreateDeviceProfileInput = {
48
37
  allowedDigests: Array<string>;
49
38
  contract?: {
50
39
  [k: string]: unknown;
@@ -53,7 +42,7 @@ export type AuthCreateWorkloadProfileInput = {
53
42
  profileId: string;
54
43
  reviewMode?: ("none" | "required");
55
44
  };
56
- export type AuthCreateWorkloadProfileOutput = {
45
+ export type AuthCreateDeviceProfileOutput = {
57
46
  profile: {
58
47
  allowedDigests: Array<string>;
59
48
  contractId: string;
@@ -62,12 +51,25 @@ export type AuthCreateWorkloadProfileOutput = {
62
51
  reviewMode?: ("none" | "required");
63
52
  };
64
53
  };
65
- export type AuthDecideWorkloadActivationReviewInput = {
54
+ export type AuthCreatePortalInput = {
55
+ appContractId?: string;
56
+ entryUrl: string;
57
+ portalId: string;
58
+ };
59
+ export type AuthCreatePortalOutput = {
60
+ portal: {
61
+ appContractId?: string;
62
+ disabled: boolean;
63
+ entryUrl: string;
64
+ portalId: string;
65
+ };
66
+ };
67
+ export type AuthDecideDeviceActivationReviewInput = {
66
68
  decision: ("approve" | "reject");
67
69
  reason?: string;
68
70
  reviewId: string;
69
71
  };
70
- export type AuthDecideWorkloadActivationReviewOutput = {
72
+ export type AuthDecideDeviceActivationReviewOutput = {
71
73
  activation?: {
72
74
  activatedAt: string;
73
75
  activatedBy?: {
@@ -84,6 +86,7 @@ export type AuthDecideWorkloadActivationReviewOutput = {
84
86
  review: {
85
87
  decidedAt: (string | null);
86
88
  instanceId: string;
89
+ linkRequestId: string;
87
90
  profileId: string;
88
91
  publicIdentityKey: string;
89
92
  reason?: string;
@@ -92,23 +95,99 @@ export type AuthDecideWorkloadActivationReviewOutput = {
92
95
  state: ("pending" | "approved" | "rejected");
93
96
  };
94
97
  };
98
+ export type AuthDisableDeviceInstanceInput = {
99
+ instanceId: string;
100
+ };
101
+ export type AuthDisableDeviceInstanceOutput = {
102
+ success: boolean;
103
+ };
104
+ export type AuthDisableDeviceProfileInput = {
105
+ profileId: string;
106
+ };
107
+ export type AuthDisableDeviceProfileOutput = {
108
+ success: boolean;
109
+ };
110
+ export type AuthDisableInstanceGrantPolicyInput = {
111
+ contractId: string;
112
+ };
113
+ export type AuthDisableInstanceGrantPolicyOutput = {
114
+ policy: {
115
+ allowedOrigins?: Array<string>;
116
+ contractId: string;
117
+ createdAt: string;
118
+ disabled: boolean;
119
+ impliedCapabilities: Array<string>;
120
+ source: {
121
+ createdBy?: {
122
+ id: string;
123
+ origin: string;
124
+ };
125
+ kind: "admin_policy";
126
+ updatedBy?: {
127
+ id: string;
128
+ origin: string;
129
+ };
130
+ };
131
+ updatedAt: string;
132
+ };
133
+ };
95
134
  export type AuthDisablePortalInput = {
96
135
  portalId: string;
97
136
  };
98
137
  export type AuthDisablePortalOutput = {
99
138
  success: boolean;
100
139
  };
101
- export type AuthDisableWorkloadInstanceInput = {
102
- instanceId: string;
103
- };
104
- export type AuthDisableWorkloadInstanceOutput = {
105
- success: boolean;
140
+ export type AuthGetDeviceActivationStatusInput = {
141
+ handoffId: string;
106
142
  };
107
- export type AuthDisableWorkloadProfileInput = {
143
+ export type AuthGetDeviceActivationStatusOutput = ({
144
+ activatedAt: string;
145
+ confirmationCode?: string;
146
+ instanceId: string;
108
147
  profileId: string;
148
+ status: "activated";
149
+ } | {
150
+ instanceId: string;
151
+ linkRequestId: string;
152
+ profileId: string;
153
+ requestedAt: string;
154
+ reviewId: string;
155
+ status: "pending_review";
156
+ } | {
157
+ reason?: string;
158
+ status: "rejected";
159
+ });
160
+ export type AuthGetDeviceConnectInfoInput = {
161
+ contractDigest: string;
162
+ iat: number;
163
+ publicIdentityKey: string;
164
+ sig: string;
109
165
  };
110
- export type AuthDisableWorkloadProfileOutput = {
111
- success: boolean;
166
+ export type AuthGetDeviceConnectInfoOutput = {
167
+ connectInfo: {
168
+ auth: {
169
+ iatSkewSeconds: number;
170
+ mode: "device_identity";
171
+ };
172
+ contractDigest: string;
173
+ contractId: string;
174
+ instanceId: string;
175
+ profileId: string;
176
+ transport: {
177
+ natsServers: Array<string>;
178
+ sentinel: {
179
+ jwt: string;
180
+ seed: string;
181
+ };
182
+ };
183
+ };
184
+ status: "ready";
185
+ };
186
+ export type AuthGetDevicePortalDefaultInput = {};
187
+ export type AuthGetDevicePortalDefaultOutput = {
188
+ defaultPortal: {
189
+ portalId: (string | null);
190
+ };
112
191
  };
113
192
  export type AuthGetInstalledContractInput = {
114
193
  digest: string;
@@ -253,6 +332,14 @@ export type AuthGetInstalledContractOutput = {
253
332
  ttlMs: number;
254
333
  };
255
334
  };
335
+ store?: {
336
+ [k: string]: {
337
+ maxObjectBytes?: number;
338
+ maxTotalBytes?: number;
339
+ name: string;
340
+ ttlMs: number;
341
+ };
342
+ };
256
343
  streams?: {
257
344
  [k: string]: {
258
345
  discard?: string;
@@ -303,6 +390,15 @@ export type AuthGetInstalledContractOutput = {
303
390
  ttlMs?: number;
304
391
  };
305
392
  };
393
+ store?: {
394
+ [k: string]: {
395
+ maxObjectBytes?: number;
396
+ maxTotalBytes?: number;
397
+ purpose: string;
398
+ required?: boolean;
399
+ ttlMs?: number;
400
+ };
401
+ };
306
402
  streams?: {
307
403
  [k: string]: {
308
404
  discard?: string;
@@ -332,57 +428,6 @@ export type AuthGetLoginPortalDefaultOutput = {
332
428
  portalId: (string | null);
333
429
  };
334
430
  };
335
- export type AuthGetWorkloadActivationStatusInput = {
336
- handoffId: string;
337
- };
338
- export type AuthGetWorkloadActivationStatusOutput = ({
339
- activatedAt: string;
340
- confirmationCode?: string;
341
- instanceId: string;
342
- profileId: string;
343
- status: "activated";
344
- } | {
345
- instanceId: string;
346
- profileId: string;
347
- requestedAt: string;
348
- reviewId: string;
349
- status: "pending_review";
350
- } | {
351
- reason?: string;
352
- status: "rejected";
353
- });
354
- export type AuthGetWorkloadConnectInfoInput = {
355
- contractDigest: string;
356
- iat: number;
357
- publicIdentityKey: string;
358
- sig: string;
359
- };
360
- export type AuthGetWorkloadConnectInfoOutput = {
361
- connectInfo: {
362
- auth: {
363
- iatSkewSeconds: number;
364
- mode: "workload_identity";
365
- };
366
- contractDigest: string;
367
- contractId: string;
368
- instanceId: string;
369
- profileId: string;
370
- transport: {
371
- natsServers: Array<string>;
372
- sentinel: {
373
- jwt: string;
374
- seed: string;
375
- };
376
- };
377
- };
378
- status: "ready";
379
- };
380
- export type AuthGetWorkloadPortalDefaultInput = {};
381
- export type AuthGetWorkloadPortalDefaultOutput = {
382
- defaultPortal: {
383
- portalId: (string | null);
384
- };
385
- };
386
431
  export type AuthHealthInput = {};
387
432
  export type AuthHealthOutput = {
388
433
  checks: Array<{
@@ -440,6 +485,14 @@ export type AuthInstallServiceOutput = {
440
485
  ttlMs: number;
441
486
  };
442
487
  };
488
+ store?: {
489
+ [k: string]: {
490
+ maxObjectBytes?: number;
491
+ maxTotalBytes?: number;
492
+ name: string;
493
+ ttlMs: number;
494
+ };
495
+ };
443
496
  streams?: {
444
497
  [k: string]: {
445
498
  discard?: string;
@@ -500,6 +553,81 @@ export type AuthListConnectionsOutput = {
500
553
  serverId: string;
501
554
  }>;
502
555
  };
556
+ export type AuthListDeviceActivationReviewsInput = {
557
+ instanceId?: string;
558
+ profileId?: string;
559
+ state?: ("pending" | "approved" | "rejected");
560
+ };
561
+ export type AuthListDeviceActivationReviewsOutput = {
562
+ reviews: Array<{
563
+ decidedAt: (string | null);
564
+ instanceId: string;
565
+ linkRequestId: string;
566
+ profileId: string;
567
+ publicIdentityKey: string;
568
+ reason?: string;
569
+ requestedAt: string;
570
+ reviewId: string;
571
+ state: ("pending" | "approved" | "rejected");
572
+ }>;
573
+ };
574
+ export type AuthListDeviceActivationsInput = {
575
+ instanceId?: string;
576
+ profileId?: string;
577
+ state?: ("activated" | "revoked");
578
+ };
579
+ export type AuthListDeviceActivationsOutput = {
580
+ activations: Array<{
581
+ activatedAt: string;
582
+ activatedBy?: {
583
+ id: string;
584
+ origin: string;
585
+ };
586
+ instanceId: string;
587
+ profileId: string;
588
+ publicIdentityKey: string;
589
+ revokedAt: (string | null);
590
+ state: ("activated" | "revoked");
591
+ }>;
592
+ };
593
+ export type AuthListDeviceInstancesInput = {
594
+ profileId?: string;
595
+ state?: ("registered" | "activated" | "revoked" | "disabled");
596
+ };
597
+ export type AuthListDeviceInstancesOutput = {
598
+ instances: Array<{
599
+ activatedAt: (string | null);
600
+ createdAt: string;
601
+ instanceId: string;
602
+ metadata?: {
603
+ [k: string]: string;
604
+ };
605
+ profileId: string;
606
+ publicIdentityKey: string;
607
+ revokedAt: (string | null);
608
+ state: ("registered" | "activated" | "revoked" | "disabled");
609
+ }>;
610
+ };
611
+ export type AuthListDevicePortalSelectionsInput = {};
612
+ export type AuthListDevicePortalSelectionsOutput = {
613
+ selections: Array<{
614
+ portalId: (string | null);
615
+ profileId: string;
616
+ }>;
617
+ };
618
+ export type AuthListDeviceProfilesInput = {
619
+ contractId?: string;
620
+ disabled?: boolean;
621
+ };
622
+ export type AuthListDeviceProfilesOutput = {
623
+ profiles: Array<{
624
+ allowedDigests: Array<string>;
625
+ contractId: string;
626
+ disabled: boolean;
627
+ profileId: string;
628
+ reviewMode?: ("none" | "required");
629
+ }>;
630
+ };
503
631
  export type AuthListInstalledContractsInput = {
504
632
  sessionKey?: string;
505
633
  };
@@ -554,6 +682,14 @@ export type AuthListInstalledContractsOutput = {
554
682
  ttlMs: number;
555
683
  };
556
684
  };
685
+ store?: {
686
+ [k: string]: {
687
+ maxObjectBytes?: number;
688
+ maxTotalBytes?: number;
689
+ name: string;
690
+ ttlMs: number;
691
+ };
692
+ };
557
693
  streams?: {
558
694
  [k: string]: {
559
695
  discard?: string;
@@ -577,6 +713,28 @@ export type AuthListInstalledContractsOutput = {
577
713
  sessionKey?: string;
578
714
  }>;
579
715
  };
716
+ export type AuthListInstanceGrantPoliciesInput = {};
717
+ export type AuthListInstanceGrantPoliciesOutput = {
718
+ policies: Array<{
719
+ allowedOrigins?: Array<string>;
720
+ contractId: string;
721
+ createdAt: string;
722
+ disabled: boolean;
723
+ impliedCapabilities: Array<string>;
724
+ source: {
725
+ createdBy?: {
726
+ id: string;
727
+ origin: string;
728
+ };
729
+ kind: "admin_policy";
730
+ updatedBy?: {
731
+ id: string;
732
+ origin: string;
733
+ };
734
+ };
735
+ updatedAt: string;
736
+ }>;
737
+ };
580
738
  export type AuthListLoginPortalSelectionsInput = {};
581
739
  export type AuthListLoginPortalSelectionsOutput = {
582
740
  selections: Array<{
@@ -638,6 +796,14 @@ export type AuthListServicesOutput = {
638
796
  ttlMs: number;
639
797
  };
640
798
  };
799
+ store?: {
800
+ [k: string]: {
801
+ maxObjectBytes?: number;
802
+ maxTotalBytes?: number;
803
+ name: string;
804
+ ttlMs: number;
805
+ };
806
+ };
641
807
  streams?: {
642
808
  [k: string]: {
643
809
  discard?: string;
@@ -669,7 +835,7 @@ export type AuthListSessionsOutput = {
669
835
  createdAt: string;
670
836
  key: string;
671
837
  lastAuth: string;
672
- type: ("user" | "service" | "workload");
838
+ type: ("user" | "service" | "device");
673
839
  }>;
674
840
  };
675
841
  export type AuthListUsersInput = {};
@@ -683,83 +849,21 @@ export type AuthListUsersOutput = {
683
849
  origin: string;
684
850
  }>;
685
851
  };
686
- export type AuthListWorkloadActivationReviewsInput = {
687
- instanceId?: string;
688
- profileId?: string;
689
- state?: ("pending" | "approved" | "rejected");
690
- };
691
- export type AuthListWorkloadActivationReviewsOutput = {
692
- reviews: Array<{
693
- decidedAt: (string | null);
694
- instanceId: string;
695
- profileId: string;
696
- publicIdentityKey: string;
697
- reason?: string;
698
- requestedAt: string;
699
- reviewId: string;
700
- state: ("pending" | "approved" | "rejected");
701
- }>;
702
- };
703
- export type AuthListWorkloadActivationsInput = {
704
- instanceId?: string;
705
- profileId?: string;
706
- state?: ("activated" | "revoked");
707
- };
708
- export type AuthListWorkloadActivationsOutput = {
709
- activations: Array<{
710
- activatedAt: string;
711
- activatedBy?: {
712
- id: string;
713
- origin: string;
714
- };
715
- instanceId: string;
716
- profileId: string;
717
- publicIdentityKey: string;
718
- revokedAt: (string | null);
719
- state: ("activated" | "revoked");
720
- }>;
721
- };
722
- export type AuthListWorkloadInstancesInput = {
723
- profileId?: string;
724
- state?: ("registered" | "activated" | "revoked" | "disabled");
725
- };
726
- export type AuthListWorkloadInstancesOutput = {
727
- instances: Array<{
728
- activatedAt: (string | null);
729
- createdAt: string;
730
- instanceId: string;
731
- profileId: string;
732
- publicIdentityKey: string;
733
- revokedAt: (string | null);
734
- state: ("registered" | "activated" | "revoked" | "disabled");
735
- }>;
736
- };
737
- export type AuthListWorkloadPortalSelectionsInput = {};
738
- export type AuthListWorkloadPortalSelectionsOutput = {
739
- selections: Array<{
740
- portalId: (string | null);
741
- profileId: string;
742
- }>;
743
- };
744
- export type AuthListWorkloadProfilesInput = {
745
- contractId?: string;
746
- disabled?: boolean;
747
- };
748
- export type AuthListWorkloadProfilesOutput = {
749
- profiles: Array<{
750
- allowedDigests: Array<string>;
751
- contractId: string;
752
- disabled: boolean;
753
- profileId: string;
754
- reviewMode?: ("none" | "required");
755
- }>;
756
- };
757
852
  export type AuthLogoutInput = {};
758
853
  export type AuthLogoutOutput = {
759
854
  success: boolean;
760
855
  };
761
856
  export type AuthMeInput = {};
762
857
  export type AuthMeOutput = {
858
+ device: ({
859
+ active: boolean;
860
+ capabilities: Array<string>;
861
+ deviceId: string;
862
+ deviceType: string;
863
+ profileId: string;
864
+ runtimePublicKey: string;
865
+ type: "device";
866
+ } | null);
763
867
  service: ({
764
868
  active: boolean;
765
869
  capabilities: Array<string>;
@@ -777,25 +881,23 @@ export type AuthMeOutput = {
777
881
  name: string;
778
882
  origin: string;
779
883
  } | null);
780
- workload: ({
781
- active: boolean;
782
- capabilities: Array<string>;
783
- instanceId: string;
784
- profileId: string;
785
- publicIdentityKey: string;
786
- type: "workload";
787
- } | null);
788
884
  };
789
- export type AuthProvisionWorkloadInstanceInput = {
885
+ export type AuthProvisionDeviceInstanceInput = {
790
886
  activationKey: string;
887
+ metadata?: {
888
+ [k: string]: string;
889
+ };
791
890
  profileId: string;
792
891
  publicIdentityKey: string;
793
892
  };
794
- export type AuthProvisionWorkloadInstanceOutput = {
893
+ export type AuthProvisionDeviceInstanceOutput = {
795
894
  instance: {
796
895
  activatedAt: (string | null);
797
896
  createdAt: string;
798
897
  instanceId: string;
898
+ metadata?: {
899
+ [k: string]: string;
900
+ };
799
901
  profileId: string;
800
902
  publicIdentityKey: string;
801
903
  revokedAt: (string | null);
@@ -821,52 +923,52 @@ export type AuthRevokeApprovalInput = {
821
923
  export type AuthRevokeApprovalOutput = {
822
924
  success: boolean;
823
925
  };
824
- export type AuthRevokeSessionInput = {
825
- sessionKey: string;
926
+ export type AuthRevokeDeviceActivationInput = {
927
+ instanceId: string;
826
928
  };
827
- export type AuthRevokeSessionOutput = {
929
+ export type AuthRevokeDeviceActivationOutput = {
828
930
  success: boolean;
829
931
  };
830
- export type AuthRevokeWorkloadActivationInput = {
831
- instanceId: string;
932
+ export type AuthRevokeSessionInput = {
933
+ sessionKey: string;
832
934
  };
833
- export type AuthRevokeWorkloadActivationOutput = {
935
+ export type AuthRevokeSessionOutput = {
834
936
  success: boolean;
835
937
  };
836
- export type AuthSetLoginPortalDefaultInput = {
938
+ export type AuthSetDevicePortalDefaultInput = {
837
939
  portalId: (string | null);
838
940
  };
839
- export type AuthSetLoginPortalDefaultOutput = {
941
+ export type AuthSetDevicePortalDefaultOutput = {
840
942
  defaultPortal: {
841
943
  portalId: (string | null);
842
944
  };
843
945
  };
844
- export type AuthSetLoginPortalSelectionInput = {
845
- contractId: string;
946
+ export type AuthSetDevicePortalSelectionInput = {
846
947
  portalId: (string | null);
948
+ profileId: string;
847
949
  };
848
- export type AuthSetLoginPortalSelectionOutput = {
950
+ export type AuthSetDevicePortalSelectionOutput = {
849
951
  selection: {
850
- contractId: string;
851
952
  portalId: (string | null);
953
+ profileId: string;
852
954
  };
853
955
  };
854
- export type AuthSetWorkloadPortalDefaultInput = {
956
+ export type AuthSetLoginPortalDefaultInput = {
855
957
  portalId: (string | null);
856
958
  };
857
- export type AuthSetWorkloadPortalDefaultOutput = {
959
+ export type AuthSetLoginPortalDefaultOutput = {
858
960
  defaultPortal: {
859
961
  portalId: (string | null);
860
962
  };
861
963
  };
862
- export type AuthSetWorkloadPortalSelectionInput = {
964
+ export type AuthSetLoginPortalSelectionInput = {
965
+ contractId: string;
863
966
  portalId: (string | null);
864
- profileId: string;
865
967
  };
866
- export type AuthSetWorkloadPortalSelectionOutput = {
968
+ export type AuthSetLoginPortalSelectionOutput = {
867
969
  selection: {
970
+ contractId: string;
868
971
  portalId: (string | null);
869
- profileId: string;
870
972
  };
871
973
  };
872
974
  export type AuthUpdateUserInput = {
@@ -919,6 +1021,14 @@ export type AuthUpgradeServiceContractOutput = {
919
1021
  ttlMs: number;
920
1022
  };
921
1023
  };
1024
+ store?: {
1025
+ [k: string]: {
1026
+ maxObjectBytes?: number;
1027
+ maxTotalBytes?: number;
1028
+ name: string;
1029
+ ttlMs: number;
1030
+ };
1031
+ };
922
1032
  streams?: {
923
1033
  [k: string]: {
924
1034
  discard?: string;
@@ -942,6 +1052,32 @@ export type AuthUpgradeServiceContractOutput = {
942
1052
  sessionKey: string;
943
1053
  success: boolean;
944
1054
  };
1055
+ export type AuthUpsertInstanceGrantPolicyInput = {
1056
+ allowedOrigins?: Array<string>;
1057
+ contractId: string;
1058
+ impliedCapabilities: Array<string>;
1059
+ };
1060
+ export type AuthUpsertInstanceGrantPolicyOutput = {
1061
+ policy: {
1062
+ allowedOrigins?: Array<string>;
1063
+ contractId: string;
1064
+ createdAt: string;
1065
+ disabled: boolean;
1066
+ impliedCapabilities: Array<string>;
1067
+ source: {
1068
+ createdBy?: {
1069
+ id: string;
1070
+ origin: string;
1071
+ };
1072
+ kind: "admin_policy";
1073
+ updatedBy?: {
1074
+ id: string;
1075
+ origin: string;
1076
+ };
1077
+ };
1078
+ updatedAt: string;
1079
+ };
1080
+ };
945
1081
  export type AuthValidateRequestInput = {
946
1082
  capabilities?: Array<string>;
947
1083
  payloadHash: string;
@@ -969,10 +1105,11 @@ export type AuthValidateRequestOutput = {
969
1105
  } | {
970
1106
  active: boolean;
971
1107
  capabilities: Array<string>;
972
- instanceId: string;
1108
+ deviceId: string;
1109
+ deviceType: string;
973
1110
  profileId: string;
974
- publicIdentityKey: string;
975
- type: "workload";
1111
+ runtimePublicKey: string;
1112
+ type: "device";
976
1113
  });
977
1114
  inboxPrefix: string;
978
1115
  };
@@ -998,6 +1135,19 @@ export type AuthConnectionKickedEvent = ({
998
1135
  origin: string;
999
1136
  userNkey: string;
1000
1137
  });
1138
+ export type AuthDeviceActivationReviewRequestedEvent = {
1139
+ handoffId: string;
1140
+ instanceId: string;
1141
+ linkRequestId: string;
1142
+ profileId: string;
1143
+ publicIdentityKey: string;
1144
+ requestedAt: string;
1145
+ requestedBy: {
1146
+ id: string;
1147
+ origin: string;
1148
+ };
1149
+ reviewId: string;
1150
+ };
1001
1151
  export type AuthDisconnectEvent = ({
1002
1152
  header: {
1003
1153
  id: string;
@@ -1020,54 +1170,58 @@ export type AuthSessionRevokedEvent = ({
1020
1170
  revokedBy: string;
1021
1171
  sessionKey: string;
1022
1172
  });
1023
- export type AuthWorkloadActivationReviewRequestedEvent = {
1024
- handoffId: string;
1025
- instanceId: string;
1026
- profileId: string;
1027
- publicIdentityKey: string;
1028
- requestedAt: string;
1029
- requestedBy: {
1030
- id: string;
1031
- origin: string;
1032
- };
1033
- reviewId: string;
1034
- };
1035
1173
  export interface RpcMap {
1036
- "Auth.ActivateWorkload": {
1037
- input: AuthActivateWorkloadInput;
1038
- output: AuthActivateWorkloadOutput;
1174
+ "Auth.ActivateDevice": {
1175
+ input: AuthActivateDeviceInput;
1176
+ output: AuthActivateDeviceOutput;
1177
+ };
1178
+ "Auth.ClearDevicePortalSelection": {
1179
+ input: AuthClearDevicePortalSelectionInput;
1180
+ output: AuthClearDevicePortalSelectionOutput;
1039
1181
  };
1040
1182
  "Auth.ClearLoginPortalSelection": {
1041
1183
  input: AuthClearLoginPortalSelectionInput;
1042
1184
  output: AuthClearLoginPortalSelectionOutput;
1043
1185
  };
1044
- "Auth.ClearWorkloadPortalSelection": {
1045
- input: AuthClearWorkloadPortalSelectionInput;
1046
- output: AuthClearWorkloadPortalSelectionOutput;
1186
+ "Auth.CreateDeviceProfile": {
1187
+ input: AuthCreateDeviceProfileInput;
1188
+ output: AuthCreateDeviceProfileOutput;
1047
1189
  };
1048
1190
  "Auth.CreatePortal": {
1049
1191
  input: AuthCreatePortalInput;
1050
1192
  output: AuthCreatePortalOutput;
1051
1193
  };
1052
- "Auth.CreateWorkloadProfile": {
1053
- input: AuthCreateWorkloadProfileInput;
1054
- output: AuthCreateWorkloadProfileOutput;
1194
+ "Auth.DecideDeviceActivationReview": {
1195
+ input: AuthDecideDeviceActivationReviewInput;
1196
+ output: AuthDecideDeviceActivationReviewOutput;
1197
+ };
1198
+ "Auth.DisableDeviceInstance": {
1199
+ input: AuthDisableDeviceInstanceInput;
1200
+ output: AuthDisableDeviceInstanceOutput;
1055
1201
  };
1056
- "Auth.DecideWorkloadActivationReview": {
1057
- input: AuthDecideWorkloadActivationReviewInput;
1058
- output: AuthDecideWorkloadActivationReviewOutput;
1202
+ "Auth.DisableDeviceProfile": {
1203
+ input: AuthDisableDeviceProfileInput;
1204
+ output: AuthDisableDeviceProfileOutput;
1205
+ };
1206
+ "Auth.DisableInstanceGrantPolicy": {
1207
+ input: AuthDisableInstanceGrantPolicyInput;
1208
+ output: AuthDisableInstanceGrantPolicyOutput;
1059
1209
  };
1060
1210
  "Auth.DisablePortal": {
1061
1211
  input: AuthDisablePortalInput;
1062
1212
  output: AuthDisablePortalOutput;
1063
1213
  };
1064
- "Auth.DisableWorkloadInstance": {
1065
- input: AuthDisableWorkloadInstanceInput;
1066
- output: AuthDisableWorkloadInstanceOutput;
1214
+ "Auth.GetDeviceActivationStatus": {
1215
+ input: AuthGetDeviceActivationStatusInput;
1216
+ output: AuthGetDeviceActivationStatusOutput;
1217
+ };
1218
+ "Auth.GetDeviceConnectInfo": {
1219
+ input: AuthGetDeviceConnectInfoInput;
1220
+ output: AuthGetDeviceConnectInfoOutput;
1067
1221
  };
1068
- "Auth.DisableWorkloadProfile": {
1069
- input: AuthDisableWorkloadProfileInput;
1070
- output: AuthDisableWorkloadProfileOutput;
1222
+ "Auth.GetDevicePortalDefault": {
1223
+ input: AuthGetDevicePortalDefaultInput;
1224
+ output: AuthGetDevicePortalDefaultOutput;
1071
1225
  };
1072
1226
  "Auth.GetInstalledContract": {
1073
1227
  input: AuthGetInstalledContractInput;
@@ -1077,18 +1231,6 @@ export interface RpcMap {
1077
1231
  input: AuthGetLoginPortalDefaultInput;
1078
1232
  output: AuthGetLoginPortalDefaultOutput;
1079
1233
  };
1080
- "Auth.GetWorkloadActivationStatus": {
1081
- input: AuthGetWorkloadActivationStatusInput;
1082
- output: AuthGetWorkloadActivationStatusOutput;
1083
- };
1084
- "Auth.GetWorkloadConnectInfo": {
1085
- input: AuthGetWorkloadConnectInfoInput;
1086
- output: AuthGetWorkloadConnectInfoOutput;
1087
- };
1088
- "Auth.GetWorkloadPortalDefault": {
1089
- input: AuthGetWorkloadPortalDefaultInput;
1090
- output: AuthGetWorkloadPortalDefaultOutput;
1091
- };
1092
1234
  "Auth.Health": {
1093
1235
  input: AuthHealthInput;
1094
1236
  output: AuthHealthOutput;
@@ -1109,10 +1251,34 @@ export interface RpcMap {
1109
1251
  input: AuthListConnectionsInput;
1110
1252
  output: AuthListConnectionsOutput;
1111
1253
  };
1254
+ "Auth.ListDeviceActivationReviews": {
1255
+ input: AuthListDeviceActivationReviewsInput;
1256
+ output: AuthListDeviceActivationReviewsOutput;
1257
+ };
1258
+ "Auth.ListDeviceActivations": {
1259
+ input: AuthListDeviceActivationsInput;
1260
+ output: AuthListDeviceActivationsOutput;
1261
+ };
1262
+ "Auth.ListDeviceInstances": {
1263
+ input: AuthListDeviceInstancesInput;
1264
+ output: AuthListDeviceInstancesOutput;
1265
+ };
1266
+ "Auth.ListDevicePortalSelections": {
1267
+ input: AuthListDevicePortalSelectionsInput;
1268
+ output: AuthListDevicePortalSelectionsOutput;
1269
+ };
1270
+ "Auth.ListDeviceProfiles": {
1271
+ input: AuthListDeviceProfilesInput;
1272
+ output: AuthListDeviceProfilesOutput;
1273
+ };
1112
1274
  "Auth.ListInstalledContracts": {
1113
1275
  input: AuthListInstalledContractsInput;
1114
1276
  output: AuthListInstalledContractsOutput;
1115
1277
  };
1278
+ "Auth.ListInstanceGrantPolicies": {
1279
+ input: AuthListInstanceGrantPoliciesInput;
1280
+ output: AuthListInstanceGrantPoliciesOutput;
1281
+ };
1116
1282
  "Auth.ListLoginPortalSelections": {
1117
1283
  input: AuthListLoginPortalSelectionsInput;
1118
1284
  output: AuthListLoginPortalSelectionsOutput;
@@ -1133,26 +1299,6 @@ export interface RpcMap {
1133
1299
  input: AuthListUsersInput;
1134
1300
  output: AuthListUsersOutput;
1135
1301
  };
1136
- "Auth.ListWorkloadActivationReviews": {
1137
- input: AuthListWorkloadActivationReviewsInput;
1138
- output: AuthListWorkloadActivationReviewsOutput;
1139
- };
1140
- "Auth.ListWorkloadActivations": {
1141
- input: AuthListWorkloadActivationsInput;
1142
- output: AuthListWorkloadActivationsOutput;
1143
- };
1144
- "Auth.ListWorkloadInstances": {
1145
- input: AuthListWorkloadInstancesInput;
1146
- output: AuthListWorkloadInstancesOutput;
1147
- };
1148
- "Auth.ListWorkloadPortalSelections": {
1149
- input: AuthListWorkloadPortalSelectionsInput;
1150
- output: AuthListWorkloadPortalSelectionsOutput;
1151
- };
1152
- "Auth.ListWorkloadProfiles": {
1153
- input: AuthListWorkloadProfilesInput;
1154
- output: AuthListWorkloadProfilesOutput;
1155
- };
1156
1302
  "Auth.Logout": {
1157
1303
  input: AuthLogoutInput;
1158
1304
  output: AuthLogoutOutput;
@@ -1161,9 +1307,9 @@ export interface RpcMap {
1161
1307
  input: AuthMeInput;
1162
1308
  output: AuthMeOutput;
1163
1309
  };
1164
- "Auth.ProvisionWorkloadInstance": {
1165
- input: AuthProvisionWorkloadInstanceInput;
1166
- output: AuthProvisionWorkloadInstanceOutput;
1310
+ "Auth.ProvisionDeviceInstance": {
1311
+ input: AuthProvisionDeviceInstanceInput;
1312
+ output: AuthProvisionDeviceInstanceOutput;
1167
1313
  };
1168
1314
  "Auth.RenewBindingToken": {
1169
1315
  input: AuthRenewBindingTokenInput;
@@ -1173,13 +1319,21 @@ export interface RpcMap {
1173
1319
  input: AuthRevokeApprovalInput;
1174
1320
  output: AuthRevokeApprovalOutput;
1175
1321
  };
1322
+ "Auth.RevokeDeviceActivation": {
1323
+ input: AuthRevokeDeviceActivationInput;
1324
+ output: AuthRevokeDeviceActivationOutput;
1325
+ };
1176
1326
  "Auth.RevokeSession": {
1177
1327
  input: AuthRevokeSessionInput;
1178
1328
  output: AuthRevokeSessionOutput;
1179
1329
  };
1180
- "Auth.RevokeWorkloadActivation": {
1181
- input: AuthRevokeWorkloadActivationInput;
1182
- output: AuthRevokeWorkloadActivationOutput;
1330
+ "Auth.SetDevicePortalDefault": {
1331
+ input: AuthSetDevicePortalDefaultInput;
1332
+ output: AuthSetDevicePortalDefaultOutput;
1333
+ };
1334
+ "Auth.SetDevicePortalSelection": {
1335
+ input: AuthSetDevicePortalSelectionInput;
1336
+ output: AuthSetDevicePortalSelectionOutput;
1183
1337
  };
1184
1338
  "Auth.SetLoginPortalDefault": {
1185
1339
  input: AuthSetLoginPortalDefaultInput;
@@ -1189,14 +1343,6 @@ export interface RpcMap {
1189
1343
  input: AuthSetLoginPortalSelectionInput;
1190
1344
  output: AuthSetLoginPortalSelectionOutput;
1191
1345
  };
1192
- "Auth.SetWorkloadPortalDefault": {
1193
- input: AuthSetWorkloadPortalDefaultInput;
1194
- output: AuthSetWorkloadPortalDefaultOutput;
1195
- };
1196
- "Auth.SetWorkloadPortalSelection": {
1197
- input: AuthSetWorkloadPortalSelectionInput;
1198
- output: AuthSetWorkloadPortalSelectionOutput;
1199
- };
1200
1346
  "Auth.UpdateUser": {
1201
1347
  input: AuthUpdateUserInput;
1202
1348
  output: AuthUpdateUserOutput;
@@ -1205,6 +1351,10 @@ export interface RpcMap {
1205
1351
  input: AuthUpgradeServiceContractInput;
1206
1352
  output: AuthUpgradeServiceContractOutput;
1207
1353
  };
1354
+ "Auth.UpsertInstanceGrantPolicy": {
1355
+ input: AuthUpsertInstanceGrantPolicyInput;
1356
+ output: AuthUpsertInstanceGrantPolicyOutput;
1357
+ };
1208
1358
  "Auth.ValidateRequest": {
1209
1359
  input: AuthValidateRequestInput;
1210
1360
  output: AuthValidateRequestOutput;
@@ -1217,15 +1367,15 @@ export interface EventMap {
1217
1367
  "Auth.ConnectionKicked": {
1218
1368
  event: AuthConnectionKickedEvent;
1219
1369
  };
1370
+ "Auth.DeviceActivationReviewRequested": {
1371
+ event: AuthDeviceActivationReviewRequestedEvent;
1372
+ };
1220
1373
  "Auth.Disconnect": {
1221
1374
  event: AuthDisconnectEvent;
1222
1375
  };
1223
1376
  "Auth.SessionRevoked": {
1224
1377
  event: AuthSessionRevokedEvent;
1225
1378
  };
1226
- "Auth.WorkloadActivationReviewRequested": {
1227
- event: AuthWorkloadActivationReviewRequestedEvent;
1228
- };
1229
1379
  }
1230
1380
  export interface SubjectMap {
1231
1381
  }