@structured-id/ui-core 2.0.0 → 3.0.0

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 (152) hide show
  1. package/README.md +22 -10
  2. package/package.json +25 -43
  3. package/src/components/SidStatusBadge.vue +1 -5
  4. package/src/composables/useAccountTransport.test.ts +2 -1
  5. package/src/composables/useGrpc.test.ts +17 -14
  6. package/src/composables/useGrpc.ts +4 -2
  7. package/src/index.ts +2 -120
  8. package/src/profile/components/ConsentManager.vue +5 -1
  9. package/src/profile/components/ProfileEditor.vue +1 -1
  10. package/src/profile/components/SecuritySettings.vue +5 -1
  11. package/src/profile/components/SessionList.vue +2 -1
  12. package/src/profile/components/SidRegistrationForm.test.ts +173 -1
  13. package/src/profile/components/SidRegistrationForm.vue +88 -32
  14. package/src/profile/components/index.ts +1 -4
  15. package/src/profile/composables/index.ts +1 -0
  16. package/src/profile/composables/operationPlan.test.ts +155 -0
  17. package/src/profile/composables/operationPlan.ts +218 -0
  18. package/src/profile/composables/useAccountApi.ts +4 -4
  19. package/src/profile/composables/useAuth.test.ts +312 -31
  20. package/src/profile/composables/useAuth.ts +176 -30
  21. package/src/profile/composables/useAuthApi.opaque.test.ts +13 -6
  22. package/src/profile/composables/useAuthApi.ts +40 -18
  23. package/src/profile/composables/useCurrentPasswordRequirement.test.ts +196 -0
  24. package/src/profile/composables/useCurrentPasswordRequirement.ts +95 -0
  25. package/src/profile/composables/useEnrollmentApi.test.ts +7 -3
  26. package/src/profile/composables/useEnrollmentApi.ts +3 -5
  27. package/src/profile/composables/useIdentityApi.ts +4 -4
  28. package/src/profile/composables/useSecurityLevel.test.ts +1 -1
  29. package/src/profile/composables/useSecurityLevel.ts +1 -1
  30. package/src/quasar/SidPasswordCeremony.test.ts +253 -0
  31. package/src/quasar/SidPasswordCeremony.vue +456 -0
  32. package/src/quasar/index.ts +2 -0
  33. package/src/utils/rpcRefusal.test.ts +4 -4
  34. package/src/utils/rpcRefusal.ts +8 -4
  35. package/dist/browser-vp/index.cjs +0 -349
  36. package/dist/browser-vp/index.d.cts +0 -276
  37. package/dist/browser-vp/index.d.ts +0 -276
  38. package/dist/browser-vp/index.js +0 -349
  39. package/dist/chunk-C3Q766CY.cjs +0 -125
  40. package/dist/chunk-J5YXRXB5.js +0 -125
  41. package/dist/index.cjs +0 -23581
  42. package/dist/index.d.cts +0 -11539
  43. package/dist/index.d.ts +0 -11539
  44. package/dist/index.js +0 -23581
  45. package/dist/storage-4CB2JTLW.cjs +0 -22
  46. package/dist/storage-THRWREZP.js +0 -22
  47. package/src/browser-vp/crypto.ts +0 -253
  48. package/src/browser-vp/index.test.ts +0 -10
  49. package/src/browser-vp/index.ts +0 -116
  50. package/src/browser-vp/prf.ts +0 -179
  51. package/src/browser-vp/storage.test.ts +0 -9
  52. package/src/browser-vp/storage.ts +0 -163
  53. package/src/browser-vp/types.ts +0 -95
  54. package/src/browser-vp/vp.test.ts +0 -43
  55. package/src/browser-vp/vp.ts +0 -111
  56. package/src/generated/google/api/http.ts +0 -687
  57. package/src/generated/google/api/httpbody.ts +0 -159
  58. package/src/generated/google/protobuf/any.ts +0 -326
  59. package/src/generated/google/protobuf/descriptor.ts +0 -4865
  60. package/src/generated/google/protobuf/duration.ts +0 -230
  61. package/src/generated/google/protobuf/empty.ts +0 -94
  62. package/src/generated/google/protobuf/struct.ts +0 -484
  63. package/src/generated/google/protobuf/timestamp.ts +0 -287
  64. package/src/generated/google/rpc/error_details.ts +0 -1386
  65. package/src/generated/google/rpc/status.ts +0 -127
  66. package/src/generated/sid/v1/account/account.client.ts +0 -527
  67. package/src/generated/sid/v1/account/account.ts +0 -3261
  68. package/src/generated/sid/v1/admin/admin.client.ts +0 -139
  69. package/src/generated/sid/v1/admin/admin.ts +0 -781
  70. package/src/generated/sid/v1/admin/admin_roles.client.ts +0 -181
  71. package/src/generated/sid/v1/admin/admin_roles.ts +0 -1606
  72. package/src/generated/sid/v1/admin/analytics.client.ts +0 -106
  73. package/src/generated/sid/v1/admin/analytics.ts +0 -1017
  74. package/src/generated/sid/v1/admin/branding.client.ts +0 -166
  75. package/src/generated/sid/v1/admin/branding.ts +0 -1906
  76. package/src/generated/sid/v1/admin/enrollment.client.ts +0 -177
  77. package/src/generated/sid/v1/admin/enrollment.ts +0 -1766
  78. package/src/generated/sid/v1/admin/events.client.ts +0 -195
  79. package/src/generated/sid/v1/admin/events.ts +0 -1900
  80. package/src/generated/sid/v1/admin/flow.client.ts +0 -183
  81. package/src/generated/sid/v1/admin/flow.ts +0 -1552
  82. package/src/generated/sid/v1/admin/keys.client.ts +0 -107
  83. package/src/generated/sid/v1/admin/keys.ts +0 -931
  84. package/src/generated/sid/v1/admin/login_experience.client.ts +0 -160
  85. package/src/generated/sid/v1/admin/login_experience.ts +0 -1061
  86. package/src/generated/sid/v1/admin/migration.client.ts +0 -127
  87. package/src/generated/sid/v1/admin/migration.ts +0 -1948
  88. package/src/generated/sid/v1/admin/notifications.client.ts +0 -134
  89. package/src/generated/sid/v1/admin/notifications.ts +0 -1273
  90. package/src/generated/sid/v1/admin/operations.client.ts +0 -241
  91. package/src/generated/sid/v1/admin/operations.ts +0 -2633
  92. package/src/generated/sid/v1/admin/organizations.client.ts +0 -57
  93. package/src/generated/sid/v1/admin/organizations.ts +0 -332
  94. package/src/generated/sid/v1/admin/provisioning.client.ts +0 -232
  95. package/src/generated/sid/v1/admin/provisioning.ts +0 -1383
  96. package/src/generated/sid/v1/admin/scopes.client.ts +0 -171
  97. package/src/generated/sid/v1/admin/scopes.ts +0 -1324
  98. package/src/generated/sid/v1/admin/security.client.ts +0 -410
  99. package/src/generated/sid/v1/admin/security.ts +0 -4077
  100. package/src/generated/sid/v1/admin/sessions.client.ts +0 -114
  101. package/src/generated/sid/v1/admin/sessions.ts +0 -923
  102. package/src/generated/sid/v1/admin/settings.client.ts +0 -351
  103. package/src/generated/sid/v1/admin/settings.ts +0 -2458
  104. package/src/generated/sid/v1/admin/user_profile.client.ts +0 -57
  105. package/src/generated/sid/v1/admin/user_profile.ts +0 -730
  106. package/src/generated/sid/v1/admin/webhooks.client.ts +0 -269
  107. package/src/generated/sid/v1/admin/webhooks.ts +0 -2804
  108. package/src/generated/sid/v1/attestation/attestation.client.ts +0 -115
  109. package/src/generated/sid/v1/attestation/attestation.ts +0 -813
  110. package/src/generated/sid/v1/authn/auth.client.ts +0 -943
  111. package/src/generated/sid/v1/authn/auth.ts +0 -9719
  112. package/src/generated/sid/v1/authn/flows.client.ts +0 -413
  113. package/src/generated/sid/v1/authn/flows.ts +0 -3205
  114. package/src/generated/sid/v1/authn/issuer.client.ts +0 -489
  115. package/src/generated/sid/v1/authn/issuer.ts +0 -1600
  116. package/src/generated/sid/v1/authn/password_history.client.ts +0 -57
  117. package/src/generated/sid/v1/authn/password_history.ts +0 -578
  118. package/src/generated/sid/v1/authn/system_integration.client.ts +0 -73
  119. package/src/generated/sid/v1/authn/system_integration.ts +0 -218
  120. package/src/generated/sid/v1/authz/authz.client.ts +0 -459
  121. package/src/generated/sid/v1/authz/authz.ts +0 -6524
  122. package/src/generated/sid/v1/authz/forward_auth.client.ts +0 -97
  123. package/src/generated/sid/v1/authz/forward_auth.ts +0 -79
  124. package/src/generated/sid/v1/authz/governance.client.ts +0 -102
  125. package/src/generated/sid/v1/authz/governance.ts +0 -875
  126. package/src/generated/sid/v1/common/errors.ts +0 -710
  127. package/src/generated/sid/v1/common/pagination.ts +0 -152
  128. package/src/generated/sid/v1/common/transport.ts +0 -227
  129. package/src/generated/sid/v1/common/types.ts +0 -151
  130. package/src/generated/sid/v1/events/event_stream.client.ts +0 -67
  131. package/src/generated/sid/v1/events/event_stream.ts +0 -375
  132. package/src/generated/sid/v1/federation/upstream.client.ts +0 -142
  133. package/src/generated/sid/v1/federation/upstream.ts +0 -1736
  134. package/src/generated/sid/v1/identity/identity.client.ts +0 -467
  135. package/src/generated/sid/v1/identity/identity.ts +0 -5676
  136. package/src/generated/sid/v1/ids/ids.ts +0 -395
  137. package/src/generated/sid/v1/machine/machine_user.client.ts +0 -219
  138. package/src/generated/sid/v1/machine/machine_user.ts +0 -2364
  139. package/src/generated/sid/v1/machine/pat.client.ts +0 -130
  140. package/src/generated/sid/v1/machine/pat.ts +0 -1083
  141. package/src/generated/sid/v1/projects/projects.client.ts +0 -404
  142. package/src/generated/sid/v1/projects/projects.ts +0 -4446
  143. package/src/generated/sid/v1/scim/scim.client.ts +0 -520
  144. package/src/generated/sid/v1/scim/scim.ts +0 -3182
  145. package/src/generated/sid/v1/test/test.client.ts +0 -232
  146. package/src/generated/sid/v1/test/test.ts +0 -1136
  147. package/src/transport/adaptive.test.ts +0 -728
  148. package/src/transport/adaptive.ts +0 -308
  149. package/src/transport/framing.test.ts +0 -227
  150. package/src/transport/framing.ts +0 -98
  151. package/src/transport/webtransport.test.ts +0 -728
  152. package/src/transport/webtransport.ts +0 -323
@@ -1,351 +0,0 @@
1
- // @generated by protobuf-ts 2.11.1 with parameter client_generic,generate_dependencies
2
- // @generated from protobuf file "sid/v1/admin/settings.proto" (package "sid.v1.admin", syntax proto3)
3
- // tslint:disable
4
- import { FeatureService } from "./settings";
5
- import type { Feature } from "./settings";
6
- import type { SetFeatureRequest } from "./settings";
7
- import type { ListFeaturesResponse } from "./settings";
8
- import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
9
- import type { ServiceInfo } from "@protobuf-ts/runtime-rpc";
10
- import { RealmService } from "./settings";
11
- import type { TokenConfig } from "./settings";
12
- import type { SessionConfig } from "./settings";
13
- import type { ImportPreviewResponse } from "./settings";
14
- import type { ImportRealmResponse } from "./settings";
15
- import type { ImportRealmRequest } from "./settings";
16
- import type { ExportRealmResponse } from "./settings";
17
- import type { ExportRealmRequest } from "./settings";
18
- import type { DeleteTranslationOverrideRequest } from "./settings";
19
- import type { TranslationOverride } from "./settings";
20
- import type { SetTranslationOverrideRequest } from "./settings";
21
- import type { ListTranslationOverridesResponse } from "./settings";
22
- import type { ListTranslationOverridesRequest } from "./settings";
23
- import type { LocalizationSettings } from "./settings";
24
- import type { EmailSettings } from "./settings";
25
- import type { Empty } from "../../../google/protobuf/empty";
26
- import type { UpdateLoginSettingsRequest } from "./settings";
27
- import type { LoginSettings } from "./settings";
28
- import type { GetLoginSettingsRequest } from "./settings";
29
- import type { UpdateRealmRequest } from "./settings";
30
- import { stackIntercept } from "@protobuf-ts/runtime-rpc";
31
- import type { RealmSettings } from "./settings";
32
- import type { GetRealmRequest } from "./settings";
33
- import type { UnaryCall } from "@protobuf-ts/runtime-rpc";
34
- import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
35
- // ────────────────────────────────────────────────────────────────────────────
36
- // RealmService — General instance settings, login config, session & token config
37
- // ────────────────────────────────────────────────────────────────────────────
38
-
39
- /**
40
- * ── General Settings ──
41
- *
42
- * @generated from protobuf service sid.v1.admin.RealmService
43
- */
44
- export interface IRealmServiceClient {
45
- /**
46
- * @generated from protobuf rpc: GetRealm
47
- */
48
- getRealm(input: GetRealmRequest, options?: RpcOptions): UnaryCall<GetRealmRequest, RealmSettings>;
49
- /**
50
- * @generated from protobuf rpc: UpdateRealm
51
- */
52
- updateRealm(input: UpdateRealmRequest, options?: RpcOptions): UnaryCall<UpdateRealmRequest, RealmSettings>;
53
- // ── Login Configuration ──
54
-
55
- /**
56
- * @generated from protobuf rpc: GetLoginSettings
57
- */
58
- getLoginSettings(input: GetLoginSettingsRequest, options?: RpcOptions): UnaryCall<GetLoginSettingsRequest, LoginSettings>;
59
- /**
60
- * @generated from protobuf rpc: UpdateLoginSettings
61
- */
62
- updateLoginSettings(input: UpdateLoginSettingsRequest, options?: RpcOptions): UnaryCall<UpdateLoginSettingsRequest, LoginSettings>;
63
- // ── Email Configuration ──
64
-
65
- /**
66
- * @generated from protobuf rpc: GetEmailSettings
67
- */
68
- getEmailSettings(input: Empty, options?: RpcOptions): UnaryCall<Empty, EmailSettings>;
69
- /**
70
- * @generated from protobuf rpc: UpdateEmailSettings
71
- */
72
- updateEmailSettings(input: EmailSettings, options?: RpcOptions): UnaryCall<EmailSettings, EmailSettings>;
73
- /**
74
- * Connect to the configured email provider and authenticate, sending
75
- * nothing. Succeeds when the provider accepts the connection. No provider
76
- * configured is FEATURE_NOT_CONFIGURED; a stored configuration that cannot
77
- * be used is INVALID_STATE; a provider that refuses or does not answer is
78
- * DEPENDENCY_UNAVAILABLE with a RetryInfo delay.
79
- *
80
- * @generated from protobuf rpc: TestEmailConnection
81
- */
82
- testEmailConnection(input: Empty, options?: RpcOptions): UnaryCall<Empty, Empty>;
83
- // ── Localization ──
84
-
85
- /**
86
- * @generated from protobuf rpc: GetLocalizationSettings
87
- */
88
- getLocalizationSettings(input: Empty, options?: RpcOptions): UnaryCall<Empty, LocalizationSettings>;
89
- /**
90
- * @generated from protobuf rpc: UpdateLocalizationSettings
91
- */
92
- updateLocalizationSettings(input: LocalizationSettings, options?: RpcOptions): UnaryCall<LocalizationSettings, LocalizationSettings>;
93
- /**
94
- * @generated from protobuf rpc: ListTranslationOverrides
95
- */
96
- listTranslationOverrides(input: ListTranslationOverridesRequest, options?: RpcOptions): UnaryCall<ListTranslationOverridesRequest, ListTranslationOverridesResponse>;
97
- /**
98
- * @generated from protobuf rpc: SetTranslationOverride
99
- */
100
- setTranslationOverride(input: SetTranslationOverrideRequest, options?: RpcOptions): UnaryCall<SetTranslationOverrideRequest, TranslationOverride>;
101
- /**
102
- * @generated from protobuf rpc: DeleteTranslationOverride
103
- */
104
- deleteTranslationOverride(input: DeleteTranslationOverrideRequest, options?: RpcOptions): UnaryCall<DeleteTranslationOverrideRequest, Empty>;
105
- // ── Import / Export ──
106
-
107
- /**
108
- * @generated from protobuf rpc: ExportRealm
109
- */
110
- exportRealm(input: ExportRealmRequest, options?: RpcOptions): UnaryCall<ExportRealmRequest, ExportRealmResponse>;
111
- /**
112
- * @generated from protobuf rpc: ImportRealm
113
- */
114
- importRealm(input: ImportRealmRequest, options?: RpcOptions): UnaryCall<ImportRealmRequest, ImportRealmResponse>;
115
- /**
116
- * @generated from protobuf rpc: PreviewImport
117
- */
118
- previewImport(input: ImportRealmRequest, options?: RpcOptions): UnaryCall<ImportRealmRequest, ImportPreviewResponse>;
119
- // ── Session Configuration ──
120
-
121
- /**
122
- * @generated from protobuf rpc: GetSessionConfig
123
- */
124
- getSessionConfig(input: Empty, options?: RpcOptions): UnaryCall<Empty, SessionConfig>;
125
- /**
126
- * @generated from protobuf rpc: UpdateSessionConfig
127
- */
128
- updateSessionConfig(input: SessionConfig, options?: RpcOptions): UnaryCall<SessionConfig, SessionConfig>;
129
- // ── Token Configuration ──
130
-
131
- /**
132
- * @generated from protobuf rpc: GetTokenConfig
133
- */
134
- getTokenConfig(input: Empty, options?: RpcOptions): UnaryCall<Empty, TokenConfig>;
135
- /**
136
- * @generated from protobuf rpc: UpdateTokenConfig
137
- */
138
- updateTokenConfig(input: TokenConfig, options?: RpcOptions): UnaryCall<TokenConfig, TokenConfig>;
139
- }
140
- // ────────────────────────────────────────────────────────────────────────────
141
- // RealmService — General instance settings, login config, session & token config
142
- // ────────────────────────────────────────────────────────────────────────────
143
-
144
- /**
145
- * ── General Settings ──
146
- *
147
- * @generated from protobuf service sid.v1.admin.RealmService
148
- */
149
- export class RealmServiceClient implements IRealmServiceClient, ServiceInfo {
150
- typeName = RealmService.typeName;
151
- methods = RealmService.methods;
152
- options = RealmService.options;
153
- constructor(private readonly _transport: RpcTransport) {
154
- }
155
- /**
156
- * @generated from protobuf rpc: GetRealm
157
- */
158
- getRealm(input: GetRealmRequest, options?: RpcOptions): UnaryCall<GetRealmRequest, RealmSettings> {
159
- const method = this.methods[0], opt = this._transport.mergeOptions(options);
160
- return stackIntercept<GetRealmRequest, RealmSettings>("unary", this._transport, method, opt, input);
161
- }
162
- /**
163
- * @generated from protobuf rpc: UpdateRealm
164
- */
165
- updateRealm(input: UpdateRealmRequest, options?: RpcOptions): UnaryCall<UpdateRealmRequest, RealmSettings> {
166
- const method = this.methods[1], opt = this._transport.mergeOptions(options);
167
- return stackIntercept<UpdateRealmRequest, RealmSettings>("unary", this._transport, method, opt, input);
168
- }
169
- // ── Login Configuration ──
170
-
171
- /**
172
- * @generated from protobuf rpc: GetLoginSettings
173
- */
174
- getLoginSettings(input: GetLoginSettingsRequest, options?: RpcOptions): UnaryCall<GetLoginSettingsRequest, LoginSettings> {
175
- const method = this.methods[2], opt = this._transport.mergeOptions(options);
176
- return stackIntercept<GetLoginSettingsRequest, LoginSettings>("unary", this._transport, method, opt, input);
177
- }
178
- /**
179
- * @generated from protobuf rpc: UpdateLoginSettings
180
- */
181
- updateLoginSettings(input: UpdateLoginSettingsRequest, options?: RpcOptions): UnaryCall<UpdateLoginSettingsRequest, LoginSettings> {
182
- const method = this.methods[3], opt = this._transport.mergeOptions(options);
183
- return stackIntercept<UpdateLoginSettingsRequest, LoginSettings>("unary", this._transport, method, opt, input);
184
- }
185
- // ── Email Configuration ──
186
-
187
- /**
188
- * @generated from protobuf rpc: GetEmailSettings
189
- */
190
- getEmailSettings(input: Empty, options?: RpcOptions): UnaryCall<Empty, EmailSettings> {
191
- const method = this.methods[4], opt = this._transport.mergeOptions(options);
192
- return stackIntercept<Empty, EmailSettings>("unary", this._transport, method, opt, input);
193
- }
194
- /**
195
- * @generated from protobuf rpc: UpdateEmailSettings
196
- */
197
- updateEmailSettings(input: EmailSettings, options?: RpcOptions): UnaryCall<EmailSettings, EmailSettings> {
198
- const method = this.methods[5], opt = this._transport.mergeOptions(options);
199
- return stackIntercept<EmailSettings, EmailSettings>("unary", this._transport, method, opt, input);
200
- }
201
- /**
202
- * Connect to the configured email provider and authenticate, sending
203
- * nothing. Succeeds when the provider accepts the connection. No provider
204
- * configured is FEATURE_NOT_CONFIGURED; a stored configuration that cannot
205
- * be used is INVALID_STATE; a provider that refuses or does not answer is
206
- * DEPENDENCY_UNAVAILABLE with a RetryInfo delay.
207
- *
208
- * @generated from protobuf rpc: TestEmailConnection
209
- */
210
- testEmailConnection(input: Empty, options?: RpcOptions): UnaryCall<Empty, Empty> {
211
- const method = this.methods[6], opt = this._transport.mergeOptions(options);
212
- return stackIntercept<Empty, Empty>("unary", this._transport, method, opt, input);
213
- }
214
- // ── Localization ──
215
-
216
- /**
217
- * @generated from protobuf rpc: GetLocalizationSettings
218
- */
219
- getLocalizationSettings(input: Empty, options?: RpcOptions): UnaryCall<Empty, LocalizationSettings> {
220
- const method = this.methods[7], opt = this._transport.mergeOptions(options);
221
- return stackIntercept<Empty, LocalizationSettings>("unary", this._transport, method, opt, input);
222
- }
223
- /**
224
- * @generated from protobuf rpc: UpdateLocalizationSettings
225
- */
226
- updateLocalizationSettings(input: LocalizationSettings, options?: RpcOptions): UnaryCall<LocalizationSettings, LocalizationSettings> {
227
- const method = this.methods[8], opt = this._transport.mergeOptions(options);
228
- return stackIntercept<LocalizationSettings, LocalizationSettings>("unary", this._transport, method, opt, input);
229
- }
230
- /**
231
- * @generated from protobuf rpc: ListTranslationOverrides
232
- */
233
- listTranslationOverrides(input: ListTranslationOverridesRequest, options?: RpcOptions): UnaryCall<ListTranslationOverridesRequest, ListTranslationOverridesResponse> {
234
- const method = this.methods[9], opt = this._transport.mergeOptions(options);
235
- return stackIntercept<ListTranslationOverridesRequest, ListTranslationOverridesResponse>("unary", this._transport, method, opt, input);
236
- }
237
- /**
238
- * @generated from protobuf rpc: SetTranslationOverride
239
- */
240
- setTranslationOverride(input: SetTranslationOverrideRequest, options?: RpcOptions): UnaryCall<SetTranslationOverrideRequest, TranslationOverride> {
241
- const method = this.methods[10], opt = this._transport.mergeOptions(options);
242
- return stackIntercept<SetTranslationOverrideRequest, TranslationOverride>("unary", this._transport, method, opt, input);
243
- }
244
- /**
245
- * @generated from protobuf rpc: DeleteTranslationOverride
246
- */
247
- deleteTranslationOverride(input: DeleteTranslationOverrideRequest, options?: RpcOptions): UnaryCall<DeleteTranslationOverrideRequest, Empty> {
248
- const method = this.methods[11], opt = this._transport.mergeOptions(options);
249
- return stackIntercept<DeleteTranslationOverrideRequest, Empty>("unary", this._transport, method, opt, input);
250
- }
251
- // ── Import / Export ──
252
-
253
- /**
254
- * @generated from protobuf rpc: ExportRealm
255
- */
256
- exportRealm(input: ExportRealmRequest, options?: RpcOptions): UnaryCall<ExportRealmRequest, ExportRealmResponse> {
257
- const method = this.methods[12], opt = this._transport.mergeOptions(options);
258
- return stackIntercept<ExportRealmRequest, ExportRealmResponse>("unary", this._transport, method, opt, input);
259
- }
260
- /**
261
- * @generated from protobuf rpc: ImportRealm
262
- */
263
- importRealm(input: ImportRealmRequest, options?: RpcOptions): UnaryCall<ImportRealmRequest, ImportRealmResponse> {
264
- const method = this.methods[13], opt = this._transport.mergeOptions(options);
265
- return stackIntercept<ImportRealmRequest, ImportRealmResponse>("unary", this._transport, method, opt, input);
266
- }
267
- /**
268
- * @generated from protobuf rpc: PreviewImport
269
- */
270
- previewImport(input: ImportRealmRequest, options?: RpcOptions): UnaryCall<ImportRealmRequest, ImportPreviewResponse> {
271
- const method = this.methods[14], opt = this._transport.mergeOptions(options);
272
- return stackIntercept<ImportRealmRequest, ImportPreviewResponse>("unary", this._transport, method, opt, input);
273
- }
274
- // ── Session Configuration ──
275
-
276
- /**
277
- * @generated from protobuf rpc: GetSessionConfig
278
- */
279
- getSessionConfig(input: Empty, options?: RpcOptions): UnaryCall<Empty, SessionConfig> {
280
- const method = this.methods[15], opt = this._transport.mergeOptions(options);
281
- return stackIntercept<Empty, SessionConfig>("unary", this._transport, method, opt, input);
282
- }
283
- /**
284
- * @generated from protobuf rpc: UpdateSessionConfig
285
- */
286
- updateSessionConfig(input: SessionConfig, options?: RpcOptions): UnaryCall<SessionConfig, SessionConfig> {
287
- const method = this.methods[16], opt = this._transport.mergeOptions(options);
288
- return stackIntercept<SessionConfig, SessionConfig>("unary", this._transport, method, opt, input);
289
- }
290
- // ── Token Configuration ──
291
-
292
- /**
293
- * @generated from protobuf rpc: GetTokenConfig
294
- */
295
- getTokenConfig(input: Empty, options?: RpcOptions): UnaryCall<Empty, TokenConfig> {
296
- const method = this.methods[17], opt = this._transport.mergeOptions(options);
297
- return stackIntercept<Empty, TokenConfig>("unary", this._transport, method, opt, input);
298
- }
299
- /**
300
- * @generated from protobuf rpc: UpdateTokenConfig
301
- */
302
- updateTokenConfig(input: TokenConfig, options?: RpcOptions): UnaryCall<TokenConfig, TokenConfig> {
303
- const method = this.methods[18], opt = this._transport.mergeOptions(options);
304
- return stackIntercept<TokenConfig, TokenConfig>("unary", this._transport, method, opt, input);
305
- }
306
- }
307
- // ────────────────────────────────────────────────────────────────────────────
308
- // FeatureService — optional feature toggles
309
- // ────────────────────────────────────────────────────────────────────────────
310
-
311
- /**
312
- * @generated from protobuf service sid.v1.admin.FeatureService
313
- */
314
- export interface IFeatureServiceClient {
315
- /**
316
- * @generated from protobuf rpc: ListFeatures
317
- */
318
- listFeatures(input: Empty, options?: RpcOptions): UnaryCall<Empty, ListFeaturesResponse>;
319
- /**
320
- * @generated from protobuf rpc: SetFeature
321
- */
322
- setFeature(input: SetFeatureRequest, options?: RpcOptions): UnaryCall<SetFeatureRequest, Feature>;
323
- }
324
- // ────────────────────────────────────────────────────────────────────────────
325
- // FeatureService — optional feature toggles
326
- // ────────────────────────────────────────────────────────────────────────────
327
-
328
- /**
329
- * @generated from protobuf service sid.v1.admin.FeatureService
330
- */
331
- export class FeatureServiceClient implements IFeatureServiceClient, ServiceInfo {
332
- typeName = FeatureService.typeName;
333
- methods = FeatureService.methods;
334
- options = FeatureService.options;
335
- constructor(private readonly _transport: RpcTransport) {
336
- }
337
- /**
338
- * @generated from protobuf rpc: ListFeatures
339
- */
340
- listFeatures(input: Empty, options?: RpcOptions): UnaryCall<Empty, ListFeaturesResponse> {
341
- const method = this.methods[0], opt = this._transport.mergeOptions(options);
342
- return stackIntercept<Empty, ListFeaturesResponse>("unary", this._transport, method, opt, input);
343
- }
344
- /**
345
- * @generated from protobuf rpc: SetFeature
346
- */
347
- setFeature(input: SetFeatureRequest, options?: RpcOptions): UnaryCall<SetFeatureRequest, Feature> {
348
- const method = this.methods[1], opt = this._transport.mergeOptions(options);
349
- return stackIntercept<SetFeatureRequest, Feature>("unary", this._transport, method, opt, input);
350
- }
351
- }