@structured-id/ui-core 0.1.5

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 (156) hide show
  1. package/LICENSE +661 -0
  2. package/README.md +47 -0
  3. package/dist/browser-vp/index.cjs +349 -0
  4. package/dist/browser-vp/index.d.cts +287 -0
  5. package/dist/browser-vp/index.d.ts +287 -0
  6. package/dist/browser-vp/index.js +349 -0
  7. package/dist/chunk-C3Q766CY.cjs +125 -0
  8. package/dist/chunk-J5YXRXB5.js +125 -0
  9. package/dist/index.cjs +19360 -0
  10. package/dist/index.d.cts +9536 -0
  11. package/dist/index.d.ts +9536 -0
  12. package/dist/index.js +19360 -0
  13. package/dist/storage-4CB2JTLW.cjs +22 -0
  14. package/dist/storage-THRWREZP.js +22 -0
  15. package/package.json +93 -0
  16. package/src/browser-vp/crypto.ts +254 -0
  17. package/src/browser-vp/index.test.ts +10 -0
  18. package/src/browser-vp/index.ts +118 -0
  19. package/src/browser-vp/prf.ts +181 -0
  20. package/src/browser-vp/storage.test.ts +9 -0
  21. package/src/browser-vp/storage.ts +165 -0
  22. package/src/browser-vp/types.ts +97 -0
  23. package/src/browser-vp/vp.test.ts +43 -0
  24. package/src/browser-vp/vp.ts +113 -0
  25. package/src/components/SidAvatar.vue +106 -0
  26. package/src/components/SidConfirmDialog.vue +125 -0
  27. package/src/components/SidStatusBadge.vue +71 -0
  28. package/src/components/index.ts +5 -0
  29. package/src/composables/index.ts +10 -0
  30. package/src/composables/useAuth.ts +40 -0
  31. package/src/composables/useBffAuth.ts +147 -0
  32. package/src/composables/useGrpc.test.ts +196 -0
  33. package/src/composables/useGrpc.ts +120 -0
  34. package/src/composables/useSession.ts +80 -0
  35. package/src/generated/google/api/http.ts +687 -0
  36. package/src/generated/google/protobuf/descriptor.ts +4865 -0
  37. package/src/generated/google/protobuf/duration.ts +230 -0
  38. package/src/generated/google/protobuf/empty.ts +94 -0
  39. package/src/generated/google/protobuf/struct.ts +484 -0
  40. package/src/generated/google/protobuf/timestamp.ts +287 -0
  41. package/src/generated/sid/v1/account/account.client.ts +527 -0
  42. package/src/generated/sid/v1/account/account.ts +3261 -0
  43. package/src/generated/sid/v1/admin/admin.client.ts +136 -0
  44. package/src/generated/sid/v1/admin/admin.ts +846 -0
  45. package/src/generated/sid/v1/admin/admin_roles.client.ts +181 -0
  46. package/src/generated/sid/v1/admin/admin_roles.ts +1606 -0
  47. package/src/generated/sid/v1/admin/analytics.client.ts +106 -0
  48. package/src/generated/sid/v1/admin/analytics.ts +1017 -0
  49. package/src/generated/sid/v1/admin/branding.client.ts +166 -0
  50. package/src/generated/sid/v1/admin/branding.ts +1906 -0
  51. package/src/generated/sid/v1/admin/enrollment.client.ts +165 -0
  52. package/src/generated/sid/v1/admin/enrollment.ts +1704 -0
  53. package/src/generated/sid/v1/admin/events.client.ts +195 -0
  54. package/src/generated/sid/v1/admin/events.ts +1900 -0
  55. package/src/generated/sid/v1/admin/flow.client.ts +183 -0
  56. package/src/generated/sid/v1/admin/flow.ts +1552 -0
  57. package/src/generated/sid/v1/admin/keys.client.ts +107 -0
  58. package/src/generated/sid/v1/admin/keys.ts +931 -0
  59. package/src/generated/sid/v1/admin/login_experience.client.ts +160 -0
  60. package/src/generated/sid/v1/admin/login_experience.ts +1061 -0
  61. package/src/generated/sid/v1/admin/migration.client.ts +127 -0
  62. package/src/generated/sid/v1/admin/migration.ts +1948 -0
  63. package/src/generated/sid/v1/admin/notifications.client.ts +128 -0
  64. package/src/generated/sid/v1/admin/notifications.ts +1332 -0
  65. package/src/generated/sid/v1/admin/operations.client.ts +241 -0
  66. package/src/generated/sid/v1/admin/operations.ts +2648 -0
  67. package/src/generated/sid/v1/admin/organizations.client.ts +57 -0
  68. package/src/generated/sid/v1/admin/organizations.ts +349 -0
  69. package/src/generated/sid/v1/admin/scopes.client.ts +171 -0
  70. package/src/generated/sid/v1/admin/scopes.ts +1324 -0
  71. package/src/generated/sid/v1/admin/security.client.ts +412 -0
  72. package/src/generated/sid/v1/admin/security.ts +4086 -0
  73. package/src/generated/sid/v1/admin/sessions.client.ts +114 -0
  74. package/src/generated/sid/v1/admin/sessions.ts +923 -0
  75. package/src/generated/sid/v1/admin/settings.client.ts +340 -0
  76. package/src/generated/sid/v1/admin/settings.ts +2395 -0
  77. package/src/generated/sid/v1/admin/user_profile.client.ts +57 -0
  78. package/src/generated/sid/v1/admin/user_profile.ts +730 -0
  79. package/src/generated/sid/v1/admin/webhooks.client.ts +269 -0
  80. package/src/generated/sid/v1/admin/webhooks.ts +2804 -0
  81. package/src/generated/sid/v1/attestation/attestation.client.ts +115 -0
  82. package/src/generated/sid/v1/attestation/attestation.ts +813 -0
  83. package/src/generated/sid/v1/authn/auth.client.ts +900 -0
  84. package/src/generated/sid/v1/authn/auth.ts +9287 -0
  85. package/src/generated/sid/v1/authn/flows.client.ts +413 -0
  86. package/src/generated/sid/v1/authn/flows.ts +3217 -0
  87. package/src/generated/sid/v1/authz/authz.client.ts +459 -0
  88. package/src/generated/sid/v1/authz/authz.ts +5343 -0
  89. package/src/generated/sid/v1/authz/governance.client.ts +102 -0
  90. package/src/generated/sid/v1/authz/governance.ts +818 -0
  91. package/src/generated/sid/v1/common/errors.ts +184 -0
  92. package/src/generated/sid/v1/common/pagination.ts +152 -0
  93. package/src/generated/sid/v1/common/transport.ts +227 -0
  94. package/src/generated/sid/v1/common/types.ts +151 -0
  95. package/src/generated/sid/v1/events/event_stream.client.ts +67 -0
  96. package/src/generated/sid/v1/events/event_stream.ts +374 -0
  97. package/src/generated/sid/v1/federation/upstream.client.ts +142 -0
  98. package/src/generated/sid/v1/federation/upstream.ts +1736 -0
  99. package/src/generated/sid/v1/identity/identity.client.ts +467 -0
  100. package/src/generated/sid/v1/identity/identity.ts +5613 -0
  101. package/src/generated/sid/v1/machine/machine_user.client.ts +219 -0
  102. package/src/generated/sid/v1/machine/machine_user.ts +2400 -0
  103. package/src/generated/sid/v1/machine/pat.client.ts +147 -0
  104. package/src/generated/sid/v1/machine/pat.ts +1268 -0
  105. package/src/generated/sid/v1/projects/projects.client.ts +286 -0
  106. package/src/generated/sid/v1/projects/projects.ts +2714 -0
  107. package/src/generated/sid/v1/scim/scim.client.ts +274 -0
  108. package/src/generated/sid/v1/scim/scim.ts +3043 -0
  109. package/src/generated/sid/v1/test/test.client.ts +232 -0
  110. package/src/generated/sid/v1/test/test.ts +1136 -0
  111. package/src/i18n/index.ts +40 -0
  112. package/src/index.ts +157 -0
  113. package/src/profile/auth.ts +15 -0
  114. package/src/profile/components/ConsentManager.vue +88 -0
  115. package/src/profile/components/ProfileEditor.vue +146 -0
  116. package/src/profile/components/SecuritySettings.vue +170 -0
  117. package/src/profile/components/SessionList.vue +100 -0
  118. package/src/profile/components/SidLoginForm.test.ts +80 -0
  119. package/src/profile/components/SidLoginForm.vue +230 -0
  120. package/src/profile/components/SidMfaChallenge.test.ts +127 -0
  121. package/src/profile/components/SidMfaChallenge.vue +243 -0
  122. package/src/profile/components/SidRegistrationForm.test.ts +79 -0
  123. package/src/profile/components/SidRegistrationForm.vue +317 -0
  124. package/src/profile/components/index.ts +11 -0
  125. package/src/profile/composables/index.ts +6 -0
  126. package/src/profile/composables/useAccountApi.ts +203 -0
  127. package/src/profile/composables/useAuthApi.opaque.test.ts +140 -0
  128. package/src/profile/composables/useAuthApi.ts +617 -0
  129. package/src/profile/composables/useIdentityApi.ts +123 -0
  130. package/src/profile/composables/useLoginSuccess.test.ts +112 -0
  131. package/src/profile/composables/useLoginSuccess.ts +65 -0
  132. package/src/profile/composables/useOpaqueAuth.test.ts +290 -0
  133. package/src/profile/composables/useOpaqueAuth.ts +191 -0
  134. package/src/profile/composables/useSecurityLevel.test.ts +198 -0
  135. package/src/profile/composables/useSecurityLevel.ts +324 -0
  136. package/src/profile/index.ts +18 -0
  137. package/src/quasar/SidPrincipalInput.vue +209 -0
  138. package/src/quasar/index.ts +8 -0
  139. package/src/stores/auth.test.ts +83 -0
  140. package/src/stores/auth.ts +92 -0
  141. package/src/stores/index.ts +1 -0
  142. package/src/transport/adaptive.test.ts +728 -0
  143. package/src/transport/adaptive.ts +308 -0
  144. package/src/transport/framing.test.ts +227 -0
  145. package/src/transport/framing.ts +98 -0
  146. package/src/transport/webtransport.test.ts +728 -0
  147. package/src/transport/webtransport.ts +323 -0
  148. package/src/types/auth.ts +58 -0
  149. package/src/types/index.ts +1 -0
  150. package/src/utils/formatters.test.ts +26 -0
  151. package/src/utils/formatters.ts +69 -0
  152. package/src/utils/index.ts +16 -0
  153. package/src/utils/normalizePrincipal.test.ts +188 -0
  154. package/src/utils/normalizePrincipal.ts +159 -0
  155. package/src/utils/validators.test.ts +75 -0
  156. package/src/utils/validators.ts +36 -0
@@ -0,0 +1,467 @@
1
+ // @generated by protobuf-ts 2.11.1 with parameter client_generic,generate_dependencies
2
+ // @generated from protobuf file "sid/v1/identity/identity.proto" (package "sid.v1.identity", syntax proto3)
3
+ // tslint:disable
4
+ import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
5
+ import type { ServiceInfo } from "@protobuf-ts/runtime-rpc";
6
+ import { IdentityService } from "./identity";
7
+ import type { RevokeDeviceTrustRequest } from "./identity";
8
+ import type { TrustDeviceRequest } from "./identity";
9
+ import type { RemoveDeviceRequest } from "./identity";
10
+ import type { UpdateDeviceRequest } from "./identity";
11
+ import type { Device } from "./identity";
12
+ import type { GetDeviceRequest } from "./identity";
13
+ import type { ListDevicesResponse } from "./identity";
14
+ import type { ListDevicesRequest } from "./identity";
15
+ import type { GetCurrentProfileRequest } from "./identity";
16
+ import type { Empty } from "../../../google/protobuf/empty";
17
+ import type { AcknowledgeExportRequest } from "./identity";
18
+ import type { DownloadExportChunk } from "./identity";
19
+ import type { DownloadExportRequest } from "./identity";
20
+ import type { ServerStreamingCall } from "@protobuf-ts/runtime-rpc";
21
+ import type { GetExportStatusResponse } from "./identity";
22
+ import type { GetExportStatusRequest } from "./identity";
23
+ import type { PrepareExportResponse } from "./identity";
24
+ import type { PrepareExportRequest } from "./identity";
25
+ import type { GetClosureStatusResponse } from "./identity";
26
+ import type { GetClosureStatusRequest } from "./identity";
27
+ import type { CancelClosureResponse } from "./identity";
28
+ import type { CancelClosureRequest } from "./identity";
29
+ import type { RequestClosureResponse } from "./identity";
30
+ import type { RequestClosureRequest } from "./identity";
31
+ import type { RevokeProfileResponse } from "./identity";
32
+ import type { RevokeProfileRequest } from "./identity";
33
+ import type { RecordPasskeyPromptDismissalResponse } from "./identity";
34
+ import type { RecordPasskeyPromptDismissalRequest } from "./identity";
35
+ import type { GetPasskeyPromptStateResponse } from "./identity";
36
+ import type { GetPasskeyPromptStateRequest } from "./identity";
37
+ import type { RevokeSessionResponse } from "./identity";
38
+ import type { RevokeSessionRequest } from "./identity";
39
+ import type { ListSessionsResponse } from "./identity";
40
+ import type { ListSessionsRequest } from "./identity";
41
+ import type { RemovePrincipalResponse } from "./identity";
42
+ import type { RemovePrincipalRequest } from "./identity";
43
+ import type { ListPrincipalsResponse } from "./identity";
44
+ import type { ListPrincipalsRequest } from "./identity";
45
+ import type { AddPrincipalResponse } from "./identity";
46
+ import type { AddPrincipalRequest } from "./identity";
47
+ import type { RevokeCredentialResponse } from "./identity";
48
+ import type { RevokeCredentialRequest } from "./identity";
49
+ import type { UpdateCredentialResponse } from "./identity";
50
+ import type { UpdateCredentialRequest } from "./identity";
51
+ import type { ListCredentialsResponse } from "./identity";
52
+ import type { ListCredentialsRequest } from "./identity";
53
+ import type { AddCredentialResponse } from "./identity";
54
+ import type { AddCredentialRequest } from "./identity";
55
+ import type { ListProfilesResponse } from "./identity";
56
+ import type { ListProfilesRequest } from "./identity";
57
+ import type { DeleteProfileResponse } from "./identity";
58
+ import type { DeleteProfileRequest } from "./identity";
59
+ import type { UpdateProfileResponse } from "./identity";
60
+ import type { UpdateProfileRequest } from "./identity";
61
+ import type { GetProfileResponse } from "./identity";
62
+ import type { GetProfileRequest } from "./identity";
63
+ import { stackIntercept } from "@protobuf-ts/runtime-rpc";
64
+ import type { CreateProfileResponse } from "./identity";
65
+ import type { CreateProfileRequest } from "./identity";
66
+ import type { UnaryCall } from "@protobuf-ts/runtime-rpc";
67
+ import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
68
+ /**
69
+ * IdentityService manages profile lifecycle.
70
+ *
71
+ * @generated from protobuf service sid.v1.identity.IdentityService
72
+ */
73
+ export interface IIdentityServiceClient {
74
+ /**
75
+ * Profile management.
76
+ *
77
+ * @generated from protobuf rpc: CreateProfile
78
+ */
79
+ createProfile(input: CreateProfileRequest, options?: RpcOptions): UnaryCall<CreateProfileRequest, CreateProfileResponse>;
80
+ /**
81
+ * @generated from protobuf rpc: GetProfile
82
+ */
83
+ getProfile(input: GetProfileRequest, options?: RpcOptions): UnaryCall<GetProfileRequest, GetProfileResponse>;
84
+ /**
85
+ * @generated from protobuf rpc: UpdateProfile
86
+ */
87
+ updateProfile(input: UpdateProfileRequest, options?: RpcOptions): UnaryCall<UpdateProfileRequest, UpdateProfileResponse>;
88
+ /**
89
+ * @generated from protobuf rpc: DeleteProfile
90
+ */
91
+ deleteProfile(input: DeleteProfileRequest, options?: RpcOptions): UnaryCall<DeleteProfileRequest, DeleteProfileResponse>;
92
+ /**
93
+ * @generated from protobuf rpc: ListProfiles
94
+ */
95
+ listProfiles(input: ListProfilesRequest, options?: RpcOptions): UnaryCall<ListProfilesRequest, ListProfilesResponse>;
96
+ /**
97
+ * Credential management.
98
+ *
99
+ * @generated from protobuf rpc: AddCredential
100
+ */
101
+ addCredential(input: AddCredentialRequest, options?: RpcOptions): UnaryCall<AddCredentialRequest, AddCredentialResponse>;
102
+ /**
103
+ * @generated from protobuf rpc: ListCredentials
104
+ */
105
+ listCredentials(input: ListCredentialsRequest, options?: RpcOptions): UnaryCall<ListCredentialsRequest, ListCredentialsResponse>;
106
+ /**
107
+ * @generated from protobuf rpc: UpdateCredential
108
+ */
109
+ updateCredential(input: UpdateCredentialRequest, options?: RpcOptions): UnaryCall<UpdateCredentialRequest, UpdateCredentialResponse>;
110
+ /**
111
+ * @generated from protobuf rpc: RevokeCredential
112
+ */
113
+ revokeCredential(input: RevokeCredentialRequest, options?: RpcOptions): UnaryCall<RevokeCredentialRequest, RevokeCredentialResponse>;
114
+ /**
115
+ * Principal management.
116
+ *
117
+ * @generated from protobuf rpc: AddPrincipal
118
+ */
119
+ addPrincipal(input: AddPrincipalRequest, options?: RpcOptions): UnaryCall<AddPrincipalRequest, AddPrincipalResponse>;
120
+ /**
121
+ * @generated from protobuf rpc: ListPrincipals
122
+ */
123
+ listPrincipals(input: ListPrincipalsRequest, options?: RpcOptions): UnaryCall<ListPrincipalsRequest, ListPrincipalsResponse>;
124
+ /**
125
+ * @generated from protobuf rpc: RemovePrincipal
126
+ */
127
+ removePrincipal(input: RemovePrincipalRequest, options?: RpcOptions): UnaryCall<RemovePrincipalRequest, RemovePrincipalResponse>;
128
+ /**
129
+ * Session management.
130
+ *
131
+ * @generated from protobuf rpc: ListSessions
132
+ */
133
+ listSessions(input: ListSessionsRequest, options?: RpcOptions): UnaryCall<ListSessionsRequest, ListSessionsResponse>;
134
+ /**
135
+ * @generated from protobuf rpc: RevokeSession
136
+ */
137
+ revokeSession(input: RevokeSessionRequest, options?: RpcOptions): UnaryCall<RevokeSessionRequest, RevokeSessionResponse>;
138
+ /**
139
+ * Passkey registration prompts.
140
+ *
141
+ * @generated from protobuf rpc: GetPasskeyPromptState
142
+ */
143
+ getPasskeyPromptState(input: GetPasskeyPromptStateRequest, options?: RpcOptions): UnaryCall<GetPasskeyPromptStateRequest, GetPasskeyPromptStateResponse>;
144
+ /**
145
+ * @generated from protobuf rpc: RecordPasskeyPromptDismissal
146
+ */
147
+ recordPasskeyPromptDismissal(input: RecordPasskeyPromptDismissalRequest, options?: RpcOptions): UnaryCall<RecordPasskeyPromptDismissalRequest, RecordPasskeyPromptDismissalResponse>;
148
+ /**
149
+ * Revocation cascade.
150
+ *
151
+ * @generated from protobuf rpc: RevokeProfile
152
+ */
153
+ revokeProfile(input: RevokeProfileRequest, options?: RpcOptions): UnaryCall<RevokeProfileRequest, RevokeProfileResponse>;
154
+ /**
155
+ * Account closure.
156
+ *
157
+ * @generated from protobuf rpc: RequestClosure
158
+ */
159
+ requestClosure(input: RequestClosureRequest, options?: RpcOptions): UnaryCall<RequestClosureRequest, RequestClosureResponse>;
160
+ /**
161
+ * @generated from protobuf rpc: CancelClosure
162
+ */
163
+ cancelClosure(input: CancelClosureRequest, options?: RpcOptions): UnaryCall<CancelClosureRequest, CancelClosureResponse>;
164
+ /**
165
+ * @generated from protobuf rpc: GetClosureStatus
166
+ */
167
+ getClosureStatus(input: GetClosureStatusRequest, options?: RpcOptions): UnaryCall<GetClosureStatusRequest, GetClosureStatusResponse>;
168
+ /**
169
+ * Data export (GDPR Art. 20).
170
+ *
171
+ * @generated from protobuf rpc: PrepareExport
172
+ */
173
+ prepareExport(input: PrepareExportRequest, options?: RpcOptions): UnaryCall<PrepareExportRequest, PrepareExportResponse>;
174
+ /**
175
+ * @generated from protobuf rpc: GetExportStatus
176
+ */
177
+ getExportStatus(input: GetExportStatusRequest, options?: RpcOptions): UnaryCall<GetExportStatusRequest, GetExportStatusResponse>;
178
+ /**
179
+ * @generated from protobuf rpc: DownloadExport
180
+ */
181
+ downloadExport(input: DownloadExportRequest, options?: RpcOptions): ServerStreamingCall<DownloadExportRequest, DownloadExportChunk>;
182
+ /**
183
+ * @generated from protobuf rpc: AcknowledgeExport
184
+ */
185
+ acknowledgeExport(input: AcknowledgeExportRequest, options?: RpcOptions): UnaryCall<AcknowledgeExportRequest, Empty>;
186
+ /**
187
+ * Current profile (from Bearer token subject).
188
+ *
189
+ * @generated from protobuf rpc: GetCurrentProfile
190
+ */
191
+ getCurrentProfile(input: GetCurrentProfileRequest, options?: RpcOptions): UnaryCall<GetCurrentProfileRequest, GetProfileResponse>;
192
+ /**
193
+ * Device management.
194
+ *
195
+ * @generated from protobuf rpc: ListDevices
196
+ */
197
+ listDevices(input: ListDevicesRequest, options?: RpcOptions): UnaryCall<ListDevicesRequest, ListDevicesResponse>;
198
+ /**
199
+ * @generated from protobuf rpc: GetDevice
200
+ */
201
+ getDevice(input: GetDeviceRequest, options?: RpcOptions): UnaryCall<GetDeviceRequest, Device>;
202
+ /**
203
+ * @generated from protobuf rpc: UpdateDevice
204
+ */
205
+ updateDevice(input: UpdateDeviceRequest, options?: RpcOptions): UnaryCall<UpdateDeviceRequest, Device>;
206
+ /**
207
+ * @generated from protobuf rpc: RemoveDevice
208
+ */
209
+ removeDevice(input: RemoveDeviceRequest, options?: RpcOptions): UnaryCall<RemoveDeviceRequest, Empty>;
210
+ /**
211
+ * @generated from protobuf rpc: TrustDevice
212
+ */
213
+ trustDevice(input: TrustDeviceRequest, options?: RpcOptions): UnaryCall<TrustDeviceRequest, Device>;
214
+ /**
215
+ * @generated from protobuf rpc: RevokeDeviceTrust
216
+ */
217
+ revokeDeviceTrust(input: RevokeDeviceTrustRequest, options?: RpcOptions): UnaryCall<RevokeDeviceTrustRequest, Device>;
218
+ }
219
+ /**
220
+ * IdentityService manages profile lifecycle.
221
+ *
222
+ * @generated from protobuf service sid.v1.identity.IdentityService
223
+ */
224
+ export class IdentityServiceClient implements IIdentityServiceClient, ServiceInfo {
225
+ typeName = IdentityService.typeName;
226
+ methods = IdentityService.methods;
227
+ options = IdentityService.options;
228
+ constructor(private readonly _transport: RpcTransport) {
229
+ }
230
+ /**
231
+ * Profile management.
232
+ *
233
+ * @generated from protobuf rpc: CreateProfile
234
+ */
235
+ createProfile(input: CreateProfileRequest, options?: RpcOptions): UnaryCall<CreateProfileRequest, CreateProfileResponse> {
236
+ const method = this.methods[0], opt = this._transport.mergeOptions(options);
237
+ return stackIntercept<CreateProfileRequest, CreateProfileResponse>("unary", this._transport, method, opt, input);
238
+ }
239
+ /**
240
+ * @generated from protobuf rpc: GetProfile
241
+ */
242
+ getProfile(input: GetProfileRequest, options?: RpcOptions): UnaryCall<GetProfileRequest, GetProfileResponse> {
243
+ const method = this.methods[1], opt = this._transport.mergeOptions(options);
244
+ return stackIntercept<GetProfileRequest, GetProfileResponse>("unary", this._transport, method, opt, input);
245
+ }
246
+ /**
247
+ * @generated from protobuf rpc: UpdateProfile
248
+ */
249
+ updateProfile(input: UpdateProfileRequest, options?: RpcOptions): UnaryCall<UpdateProfileRequest, UpdateProfileResponse> {
250
+ const method = this.methods[2], opt = this._transport.mergeOptions(options);
251
+ return stackIntercept<UpdateProfileRequest, UpdateProfileResponse>("unary", this._transport, method, opt, input);
252
+ }
253
+ /**
254
+ * @generated from protobuf rpc: DeleteProfile
255
+ */
256
+ deleteProfile(input: DeleteProfileRequest, options?: RpcOptions): UnaryCall<DeleteProfileRequest, DeleteProfileResponse> {
257
+ const method = this.methods[3], opt = this._transport.mergeOptions(options);
258
+ return stackIntercept<DeleteProfileRequest, DeleteProfileResponse>("unary", this._transport, method, opt, input);
259
+ }
260
+ /**
261
+ * @generated from protobuf rpc: ListProfiles
262
+ */
263
+ listProfiles(input: ListProfilesRequest, options?: RpcOptions): UnaryCall<ListProfilesRequest, ListProfilesResponse> {
264
+ const method = this.methods[4], opt = this._transport.mergeOptions(options);
265
+ return stackIntercept<ListProfilesRequest, ListProfilesResponse>("unary", this._transport, method, opt, input);
266
+ }
267
+ /**
268
+ * Credential management.
269
+ *
270
+ * @generated from protobuf rpc: AddCredential
271
+ */
272
+ addCredential(input: AddCredentialRequest, options?: RpcOptions): UnaryCall<AddCredentialRequest, AddCredentialResponse> {
273
+ const method = this.methods[5], opt = this._transport.mergeOptions(options);
274
+ return stackIntercept<AddCredentialRequest, AddCredentialResponse>("unary", this._transport, method, opt, input);
275
+ }
276
+ /**
277
+ * @generated from protobuf rpc: ListCredentials
278
+ */
279
+ listCredentials(input: ListCredentialsRequest, options?: RpcOptions): UnaryCall<ListCredentialsRequest, ListCredentialsResponse> {
280
+ const method = this.methods[6], opt = this._transport.mergeOptions(options);
281
+ return stackIntercept<ListCredentialsRequest, ListCredentialsResponse>("unary", this._transport, method, opt, input);
282
+ }
283
+ /**
284
+ * @generated from protobuf rpc: UpdateCredential
285
+ */
286
+ updateCredential(input: UpdateCredentialRequest, options?: RpcOptions): UnaryCall<UpdateCredentialRequest, UpdateCredentialResponse> {
287
+ const method = this.methods[7], opt = this._transport.mergeOptions(options);
288
+ return stackIntercept<UpdateCredentialRequest, UpdateCredentialResponse>("unary", this._transport, method, opt, input);
289
+ }
290
+ /**
291
+ * @generated from protobuf rpc: RevokeCredential
292
+ */
293
+ revokeCredential(input: RevokeCredentialRequest, options?: RpcOptions): UnaryCall<RevokeCredentialRequest, RevokeCredentialResponse> {
294
+ const method = this.methods[8], opt = this._transport.mergeOptions(options);
295
+ return stackIntercept<RevokeCredentialRequest, RevokeCredentialResponse>("unary", this._transport, method, opt, input);
296
+ }
297
+ /**
298
+ * Principal management.
299
+ *
300
+ * @generated from protobuf rpc: AddPrincipal
301
+ */
302
+ addPrincipal(input: AddPrincipalRequest, options?: RpcOptions): UnaryCall<AddPrincipalRequest, AddPrincipalResponse> {
303
+ const method = this.methods[9], opt = this._transport.mergeOptions(options);
304
+ return stackIntercept<AddPrincipalRequest, AddPrincipalResponse>("unary", this._transport, method, opt, input);
305
+ }
306
+ /**
307
+ * @generated from protobuf rpc: ListPrincipals
308
+ */
309
+ listPrincipals(input: ListPrincipalsRequest, options?: RpcOptions): UnaryCall<ListPrincipalsRequest, ListPrincipalsResponse> {
310
+ const method = this.methods[10], opt = this._transport.mergeOptions(options);
311
+ return stackIntercept<ListPrincipalsRequest, ListPrincipalsResponse>("unary", this._transport, method, opt, input);
312
+ }
313
+ /**
314
+ * @generated from protobuf rpc: RemovePrincipal
315
+ */
316
+ removePrincipal(input: RemovePrincipalRequest, options?: RpcOptions): UnaryCall<RemovePrincipalRequest, RemovePrincipalResponse> {
317
+ const method = this.methods[11], opt = this._transport.mergeOptions(options);
318
+ return stackIntercept<RemovePrincipalRequest, RemovePrincipalResponse>("unary", this._transport, method, opt, input);
319
+ }
320
+ /**
321
+ * Session management.
322
+ *
323
+ * @generated from protobuf rpc: ListSessions
324
+ */
325
+ listSessions(input: ListSessionsRequest, options?: RpcOptions): UnaryCall<ListSessionsRequest, ListSessionsResponse> {
326
+ const method = this.methods[12], opt = this._transport.mergeOptions(options);
327
+ return stackIntercept<ListSessionsRequest, ListSessionsResponse>("unary", this._transport, method, opt, input);
328
+ }
329
+ /**
330
+ * @generated from protobuf rpc: RevokeSession
331
+ */
332
+ revokeSession(input: RevokeSessionRequest, options?: RpcOptions): UnaryCall<RevokeSessionRequest, RevokeSessionResponse> {
333
+ const method = this.methods[13], opt = this._transport.mergeOptions(options);
334
+ return stackIntercept<RevokeSessionRequest, RevokeSessionResponse>("unary", this._transport, method, opt, input);
335
+ }
336
+ /**
337
+ * Passkey registration prompts.
338
+ *
339
+ * @generated from protobuf rpc: GetPasskeyPromptState
340
+ */
341
+ getPasskeyPromptState(input: GetPasskeyPromptStateRequest, options?: RpcOptions): UnaryCall<GetPasskeyPromptStateRequest, GetPasskeyPromptStateResponse> {
342
+ const method = this.methods[14], opt = this._transport.mergeOptions(options);
343
+ return stackIntercept<GetPasskeyPromptStateRequest, GetPasskeyPromptStateResponse>("unary", this._transport, method, opt, input);
344
+ }
345
+ /**
346
+ * @generated from protobuf rpc: RecordPasskeyPromptDismissal
347
+ */
348
+ recordPasskeyPromptDismissal(input: RecordPasskeyPromptDismissalRequest, options?: RpcOptions): UnaryCall<RecordPasskeyPromptDismissalRequest, RecordPasskeyPromptDismissalResponse> {
349
+ const method = this.methods[15], opt = this._transport.mergeOptions(options);
350
+ return stackIntercept<RecordPasskeyPromptDismissalRequest, RecordPasskeyPromptDismissalResponse>("unary", this._transport, method, opt, input);
351
+ }
352
+ /**
353
+ * Revocation cascade.
354
+ *
355
+ * @generated from protobuf rpc: RevokeProfile
356
+ */
357
+ revokeProfile(input: RevokeProfileRequest, options?: RpcOptions): UnaryCall<RevokeProfileRequest, RevokeProfileResponse> {
358
+ const method = this.methods[16], opt = this._transport.mergeOptions(options);
359
+ return stackIntercept<RevokeProfileRequest, RevokeProfileResponse>("unary", this._transport, method, opt, input);
360
+ }
361
+ /**
362
+ * Account closure.
363
+ *
364
+ * @generated from protobuf rpc: RequestClosure
365
+ */
366
+ requestClosure(input: RequestClosureRequest, options?: RpcOptions): UnaryCall<RequestClosureRequest, RequestClosureResponse> {
367
+ const method = this.methods[17], opt = this._transport.mergeOptions(options);
368
+ return stackIntercept<RequestClosureRequest, RequestClosureResponse>("unary", this._transport, method, opt, input);
369
+ }
370
+ /**
371
+ * @generated from protobuf rpc: CancelClosure
372
+ */
373
+ cancelClosure(input: CancelClosureRequest, options?: RpcOptions): UnaryCall<CancelClosureRequest, CancelClosureResponse> {
374
+ const method = this.methods[18], opt = this._transport.mergeOptions(options);
375
+ return stackIntercept<CancelClosureRequest, CancelClosureResponse>("unary", this._transport, method, opt, input);
376
+ }
377
+ /**
378
+ * @generated from protobuf rpc: GetClosureStatus
379
+ */
380
+ getClosureStatus(input: GetClosureStatusRequest, options?: RpcOptions): UnaryCall<GetClosureStatusRequest, GetClosureStatusResponse> {
381
+ const method = this.methods[19], opt = this._transport.mergeOptions(options);
382
+ return stackIntercept<GetClosureStatusRequest, GetClosureStatusResponse>("unary", this._transport, method, opt, input);
383
+ }
384
+ /**
385
+ * Data export (GDPR Art. 20).
386
+ *
387
+ * @generated from protobuf rpc: PrepareExport
388
+ */
389
+ prepareExport(input: PrepareExportRequest, options?: RpcOptions): UnaryCall<PrepareExportRequest, PrepareExportResponse> {
390
+ const method = this.methods[20], opt = this._transport.mergeOptions(options);
391
+ return stackIntercept<PrepareExportRequest, PrepareExportResponse>("unary", this._transport, method, opt, input);
392
+ }
393
+ /**
394
+ * @generated from protobuf rpc: GetExportStatus
395
+ */
396
+ getExportStatus(input: GetExportStatusRequest, options?: RpcOptions): UnaryCall<GetExportStatusRequest, GetExportStatusResponse> {
397
+ const method = this.methods[21], opt = this._transport.mergeOptions(options);
398
+ return stackIntercept<GetExportStatusRequest, GetExportStatusResponse>("unary", this._transport, method, opt, input);
399
+ }
400
+ /**
401
+ * @generated from protobuf rpc: DownloadExport
402
+ */
403
+ downloadExport(input: DownloadExportRequest, options?: RpcOptions): ServerStreamingCall<DownloadExportRequest, DownloadExportChunk> {
404
+ const method = this.methods[22], opt = this._transport.mergeOptions(options);
405
+ return stackIntercept<DownloadExportRequest, DownloadExportChunk>("serverStreaming", this._transport, method, opt, input);
406
+ }
407
+ /**
408
+ * @generated from protobuf rpc: AcknowledgeExport
409
+ */
410
+ acknowledgeExport(input: AcknowledgeExportRequest, options?: RpcOptions): UnaryCall<AcknowledgeExportRequest, Empty> {
411
+ const method = this.methods[23], opt = this._transport.mergeOptions(options);
412
+ return stackIntercept<AcknowledgeExportRequest, Empty>("unary", this._transport, method, opt, input);
413
+ }
414
+ /**
415
+ * Current profile (from Bearer token subject).
416
+ *
417
+ * @generated from protobuf rpc: GetCurrentProfile
418
+ */
419
+ getCurrentProfile(input: GetCurrentProfileRequest, options?: RpcOptions): UnaryCall<GetCurrentProfileRequest, GetProfileResponse> {
420
+ const method = this.methods[24], opt = this._transport.mergeOptions(options);
421
+ return stackIntercept<GetCurrentProfileRequest, GetProfileResponse>("unary", this._transport, method, opt, input);
422
+ }
423
+ /**
424
+ * Device management.
425
+ *
426
+ * @generated from protobuf rpc: ListDevices
427
+ */
428
+ listDevices(input: ListDevicesRequest, options?: RpcOptions): UnaryCall<ListDevicesRequest, ListDevicesResponse> {
429
+ const method = this.methods[25], opt = this._transport.mergeOptions(options);
430
+ return stackIntercept<ListDevicesRequest, ListDevicesResponse>("unary", this._transport, method, opt, input);
431
+ }
432
+ /**
433
+ * @generated from protobuf rpc: GetDevice
434
+ */
435
+ getDevice(input: GetDeviceRequest, options?: RpcOptions): UnaryCall<GetDeviceRequest, Device> {
436
+ const method = this.methods[26], opt = this._transport.mergeOptions(options);
437
+ return stackIntercept<GetDeviceRequest, Device>("unary", this._transport, method, opt, input);
438
+ }
439
+ /**
440
+ * @generated from protobuf rpc: UpdateDevice
441
+ */
442
+ updateDevice(input: UpdateDeviceRequest, options?: RpcOptions): UnaryCall<UpdateDeviceRequest, Device> {
443
+ const method = this.methods[27], opt = this._transport.mergeOptions(options);
444
+ return stackIntercept<UpdateDeviceRequest, Device>("unary", this._transport, method, opt, input);
445
+ }
446
+ /**
447
+ * @generated from protobuf rpc: RemoveDevice
448
+ */
449
+ removeDevice(input: RemoveDeviceRequest, options?: RpcOptions): UnaryCall<RemoveDeviceRequest, Empty> {
450
+ const method = this.methods[28], opt = this._transport.mergeOptions(options);
451
+ return stackIntercept<RemoveDeviceRequest, Empty>("unary", this._transport, method, opt, input);
452
+ }
453
+ /**
454
+ * @generated from protobuf rpc: TrustDevice
455
+ */
456
+ trustDevice(input: TrustDeviceRequest, options?: RpcOptions): UnaryCall<TrustDeviceRequest, Device> {
457
+ const method = this.methods[29], opt = this._transport.mergeOptions(options);
458
+ return stackIntercept<TrustDeviceRequest, Device>("unary", this._transport, method, opt, input);
459
+ }
460
+ /**
461
+ * @generated from protobuf rpc: RevokeDeviceTrust
462
+ */
463
+ revokeDeviceTrust(input: RevokeDeviceTrustRequest, options?: RpcOptions): UnaryCall<RevokeDeviceTrustRequest, Device> {
464
+ const method = this.methods[30], opt = this._transport.mergeOptions(options);
465
+ return stackIntercept<RevokeDeviceTrustRequest, Device>("unary", this._transport, method, opt, input);
466
+ }
467
+ }