@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.
- package/LICENSE +661 -0
- package/README.md +47 -0
- package/dist/browser-vp/index.cjs +349 -0
- package/dist/browser-vp/index.d.cts +287 -0
- package/dist/browser-vp/index.d.ts +287 -0
- package/dist/browser-vp/index.js +349 -0
- package/dist/chunk-C3Q766CY.cjs +125 -0
- package/dist/chunk-J5YXRXB5.js +125 -0
- package/dist/index.cjs +19360 -0
- package/dist/index.d.cts +9536 -0
- package/dist/index.d.ts +9536 -0
- package/dist/index.js +19360 -0
- package/dist/storage-4CB2JTLW.cjs +22 -0
- package/dist/storage-THRWREZP.js +22 -0
- package/package.json +93 -0
- package/src/browser-vp/crypto.ts +254 -0
- package/src/browser-vp/index.test.ts +10 -0
- package/src/browser-vp/index.ts +118 -0
- package/src/browser-vp/prf.ts +181 -0
- package/src/browser-vp/storage.test.ts +9 -0
- package/src/browser-vp/storage.ts +165 -0
- package/src/browser-vp/types.ts +97 -0
- package/src/browser-vp/vp.test.ts +43 -0
- package/src/browser-vp/vp.ts +113 -0
- package/src/components/SidAvatar.vue +106 -0
- package/src/components/SidConfirmDialog.vue +125 -0
- package/src/components/SidStatusBadge.vue +71 -0
- package/src/components/index.ts +5 -0
- package/src/composables/index.ts +10 -0
- package/src/composables/useAuth.ts +40 -0
- package/src/composables/useBffAuth.ts +147 -0
- package/src/composables/useGrpc.test.ts +196 -0
- package/src/composables/useGrpc.ts +120 -0
- package/src/composables/useSession.ts +80 -0
- package/src/generated/google/api/http.ts +687 -0
- package/src/generated/google/protobuf/descriptor.ts +4865 -0
- package/src/generated/google/protobuf/duration.ts +230 -0
- package/src/generated/google/protobuf/empty.ts +94 -0
- package/src/generated/google/protobuf/struct.ts +484 -0
- package/src/generated/google/protobuf/timestamp.ts +287 -0
- package/src/generated/sid/v1/account/account.client.ts +527 -0
- package/src/generated/sid/v1/account/account.ts +3261 -0
- package/src/generated/sid/v1/admin/admin.client.ts +136 -0
- package/src/generated/sid/v1/admin/admin.ts +846 -0
- package/src/generated/sid/v1/admin/admin_roles.client.ts +181 -0
- package/src/generated/sid/v1/admin/admin_roles.ts +1606 -0
- package/src/generated/sid/v1/admin/analytics.client.ts +106 -0
- package/src/generated/sid/v1/admin/analytics.ts +1017 -0
- package/src/generated/sid/v1/admin/branding.client.ts +166 -0
- package/src/generated/sid/v1/admin/branding.ts +1906 -0
- package/src/generated/sid/v1/admin/enrollment.client.ts +165 -0
- package/src/generated/sid/v1/admin/enrollment.ts +1704 -0
- package/src/generated/sid/v1/admin/events.client.ts +195 -0
- package/src/generated/sid/v1/admin/events.ts +1900 -0
- package/src/generated/sid/v1/admin/flow.client.ts +183 -0
- package/src/generated/sid/v1/admin/flow.ts +1552 -0
- package/src/generated/sid/v1/admin/keys.client.ts +107 -0
- package/src/generated/sid/v1/admin/keys.ts +931 -0
- package/src/generated/sid/v1/admin/login_experience.client.ts +160 -0
- package/src/generated/sid/v1/admin/login_experience.ts +1061 -0
- package/src/generated/sid/v1/admin/migration.client.ts +127 -0
- package/src/generated/sid/v1/admin/migration.ts +1948 -0
- package/src/generated/sid/v1/admin/notifications.client.ts +128 -0
- package/src/generated/sid/v1/admin/notifications.ts +1332 -0
- package/src/generated/sid/v1/admin/operations.client.ts +241 -0
- package/src/generated/sid/v1/admin/operations.ts +2648 -0
- package/src/generated/sid/v1/admin/organizations.client.ts +57 -0
- package/src/generated/sid/v1/admin/organizations.ts +349 -0
- package/src/generated/sid/v1/admin/scopes.client.ts +171 -0
- package/src/generated/sid/v1/admin/scopes.ts +1324 -0
- package/src/generated/sid/v1/admin/security.client.ts +412 -0
- package/src/generated/sid/v1/admin/security.ts +4086 -0
- package/src/generated/sid/v1/admin/sessions.client.ts +114 -0
- package/src/generated/sid/v1/admin/sessions.ts +923 -0
- package/src/generated/sid/v1/admin/settings.client.ts +340 -0
- package/src/generated/sid/v1/admin/settings.ts +2395 -0
- package/src/generated/sid/v1/admin/user_profile.client.ts +57 -0
- package/src/generated/sid/v1/admin/user_profile.ts +730 -0
- package/src/generated/sid/v1/admin/webhooks.client.ts +269 -0
- package/src/generated/sid/v1/admin/webhooks.ts +2804 -0
- package/src/generated/sid/v1/attestation/attestation.client.ts +115 -0
- package/src/generated/sid/v1/attestation/attestation.ts +813 -0
- package/src/generated/sid/v1/authn/auth.client.ts +900 -0
- package/src/generated/sid/v1/authn/auth.ts +9287 -0
- package/src/generated/sid/v1/authn/flows.client.ts +413 -0
- package/src/generated/sid/v1/authn/flows.ts +3217 -0
- package/src/generated/sid/v1/authz/authz.client.ts +459 -0
- package/src/generated/sid/v1/authz/authz.ts +5343 -0
- package/src/generated/sid/v1/authz/governance.client.ts +102 -0
- package/src/generated/sid/v1/authz/governance.ts +818 -0
- package/src/generated/sid/v1/common/errors.ts +184 -0
- package/src/generated/sid/v1/common/pagination.ts +152 -0
- package/src/generated/sid/v1/common/transport.ts +227 -0
- package/src/generated/sid/v1/common/types.ts +151 -0
- package/src/generated/sid/v1/events/event_stream.client.ts +67 -0
- package/src/generated/sid/v1/events/event_stream.ts +374 -0
- package/src/generated/sid/v1/federation/upstream.client.ts +142 -0
- package/src/generated/sid/v1/federation/upstream.ts +1736 -0
- package/src/generated/sid/v1/identity/identity.client.ts +467 -0
- package/src/generated/sid/v1/identity/identity.ts +5613 -0
- package/src/generated/sid/v1/machine/machine_user.client.ts +219 -0
- package/src/generated/sid/v1/machine/machine_user.ts +2400 -0
- package/src/generated/sid/v1/machine/pat.client.ts +147 -0
- package/src/generated/sid/v1/machine/pat.ts +1268 -0
- package/src/generated/sid/v1/projects/projects.client.ts +286 -0
- package/src/generated/sid/v1/projects/projects.ts +2714 -0
- package/src/generated/sid/v1/scim/scim.client.ts +274 -0
- package/src/generated/sid/v1/scim/scim.ts +3043 -0
- package/src/generated/sid/v1/test/test.client.ts +232 -0
- package/src/generated/sid/v1/test/test.ts +1136 -0
- package/src/i18n/index.ts +40 -0
- package/src/index.ts +157 -0
- package/src/profile/auth.ts +15 -0
- package/src/profile/components/ConsentManager.vue +88 -0
- package/src/profile/components/ProfileEditor.vue +146 -0
- package/src/profile/components/SecuritySettings.vue +170 -0
- package/src/profile/components/SessionList.vue +100 -0
- package/src/profile/components/SidLoginForm.test.ts +80 -0
- package/src/profile/components/SidLoginForm.vue +230 -0
- package/src/profile/components/SidMfaChallenge.test.ts +127 -0
- package/src/profile/components/SidMfaChallenge.vue +243 -0
- package/src/profile/components/SidRegistrationForm.test.ts +79 -0
- package/src/profile/components/SidRegistrationForm.vue +317 -0
- package/src/profile/components/index.ts +11 -0
- package/src/profile/composables/index.ts +6 -0
- package/src/profile/composables/useAccountApi.ts +203 -0
- package/src/profile/composables/useAuthApi.opaque.test.ts +140 -0
- package/src/profile/composables/useAuthApi.ts +617 -0
- package/src/profile/composables/useIdentityApi.ts +123 -0
- package/src/profile/composables/useLoginSuccess.test.ts +112 -0
- package/src/profile/composables/useLoginSuccess.ts +65 -0
- package/src/profile/composables/useOpaqueAuth.test.ts +290 -0
- package/src/profile/composables/useOpaqueAuth.ts +191 -0
- package/src/profile/composables/useSecurityLevel.test.ts +198 -0
- package/src/profile/composables/useSecurityLevel.ts +324 -0
- package/src/profile/index.ts +18 -0
- package/src/quasar/SidPrincipalInput.vue +209 -0
- package/src/quasar/index.ts +8 -0
- package/src/stores/auth.test.ts +83 -0
- package/src/stores/auth.ts +92 -0
- package/src/stores/index.ts +1 -0
- package/src/transport/adaptive.test.ts +728 -0
- package/src/transport/adaptive.ts +308 -0
- package/src/transport/framing.test.ts +227 -0
- package/src/transport/framing.ts +98 -0
- package/src/transport/webtransport.test.ts +728 -0
- package/src/transport/webtransport.ts +323 -0
- package/src/types/auth.ts +58 -0
- package/src/types/index.ts +1 -0
- package/src/utils/formatters.test.ts +26 -0
- package/src/utils/formatters.ts +69 -0
- package/src/utils/index.ts +16 -0
- package/src/utils/normalizePrincipal.test.ts +188 -0
- package/src/utils/normalizePrincipal.ts +159 -0
- package/src/utils/validators.test.ts +75 -0
- package/src/utils/validators.ts +36 -0
|
@@ -0,0 +1,340 @@
|
|
|
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 { TestEmailResponse } from "./settings";
|
|
25
|
+
import type { EmailSettings } from "./settings";
|
|
26
|
+
import type { Empty } from "../../../google/protobuf/empty";
|
|
27
|
+
import type { UpdateLoginSettingsRequest } from "./settings";
|
|
28
|
+
import type { LoginSettings } from "./settings";
|
|
29
|
+
import type { GetLoginSettingsRequest } from "./settings";
|
|
30
|
+
import type { UpdateRealmRequest } from "./settings";
|
|
31
|
+
import { stackIntercept } from "@protobuf-ts/runtime-rpc";
|
|
32
|
+
import type { RealmSettings } from "./settings";
|
|
33
|
+
import type { GetRealmRequest } from "./settings";
|
|
34
|
+
import type { UnaryCall } from "@protobuf-ts/runtime-rpc";
|
|
35
|
+
import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
|
|
36
|
+
// ────────────────────────────────────────────────────────────────────────────
|
|
37
|
+
// RealmService — General instance settings, login config, session & token config
|
|
38
|
+
// ────────────────────────────────────────────────────────────────────────────
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* ── General Settings (Page 10.1) ──
|
|
42
|
+
*
|
|
43
|
+
* @generated from protobuf service sid.v1.admin.RealmService
|
|
44
|
+
*/
|
|
45
|
+
export interface IRealmServiceClient {
|
|
46
|
+
/**
|
|
47
|
+
* @generated from protobuf rpc: GetRealm
|
|
48
|
+
*/
|
|
49
|
+
getRealm(input: GetRealmRequest, options?: RpcOptions): UnaryCall<GetRealmRequest, RealmSettings>;
|
|
50
|
+
/**
|
|
51
|
+
* @generated from protobuf rpc: UpdateRealm
|
|
52
|
+
*/
|
|
53
|
+
updateRealm(input: UpdateRealmRequest, options?: RpcOptions): UnaryCall<UpdateRealmRequest, RealmSettings>;
|
|
54
|
+
// ── Login Configuration (Page 10.2) ──
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* @generated from protobuf rpc: GetLoginSettings
|
|
58
|
+
*/
|
|
59
|
+
getLoginSettings(input: GetLoginSettingsRequest, options?: RpcOptions): UnaryCall<GetLoginSettingsRequest, LoginSettings>;
|
|
60
|
+
/**
|
|
61
|
+
* @generated from protobuf rpc: UpdateLoginSettings
|
|
62
|
+
*/
|
|
63
|
+
updateLoginSettings(input: UpdateLoginSettingsRequest, options?: RpcOptions): UnaryCall<UpdateLoginSettingsRequest, LoginSettings>;
|
|
64
|
+
// ── Email Configuration (Page 10.3) ──
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* @generated from protobuf rpc: GetEmailSettings
|
|
68
|
+
*/
|
|
69
|
+
getEmailSettings(input: Empty, options?: RpcOptions): UnaryCall<Empty, EmailSettings>;
|
|
70
|
+
/**
|
|
71
|
+
* @generated from protobuf rpc: UpdateEmailSettings
|
|
72
|
+
*/
|
|
73
|
+
updateEmailSettings(input: EmailSettings, options?: RpcOptions): UnaryCall<EmailSettings, EmailSettings>;
|
|
74
|
+
/**
|
|
75
|
+
* @generated from protobuf rpc: TestEmailConnection
|
|
76
|
+
*/
|
|
77
|
+
testEmailConnection(input: Empty, options?: RpcOptions): UnaryCall<Empty, TestEmailResponse>;
|
|
78
|
+
// ── Localization (Page 10.5) ──
|
|
79
|
+
|
|
80
|
+
/**
|
|
81
|
+
* @generated from protobuf rpc: GetLocalizationSettings
|
|
82
|
+
*/
|
|
83
|
+
getLocalizationSettings(input: Empty, options?: RpcOptions): UnaryCall<Empty, LocalizationSettings>;
|
|
84
|
+
/**
|
|
85
|
+
* @generated from protobuf rpc: UpdateLocalizationSettings
|
|
86
|
+
*/
|
|
87
|
+
updateLocalizationSettings(input: LocalizationSettings, options?: RpcOptions): UnaryCall<LocalizationSettings, LocalizationSettings>;
|
|
88
|
+
/**
|
|
89
|
+
* @generated from protobuf rpc: ListTranslationOverrides
|
|
90
|
+
*/
|
|
91
|
+
listTranslationOverrides(input: ListTranslationOverridesRequest, options?: RpcOptions): UnaryCall<ListTranslationOverridesRequest, ListTranslationOverridesResponse>;
|
|
92
|
+
/**
|
|
93
|
+
* @generated from protobuf rpc: SetTranslationOverride
|
|
94
|
+
*/
|
|
95
|
+
setTranslationOverride(input: SetTranslationOverrideRequest, options?: RpcOptions): UnaryCall<SetTranslationOverrideRequest, TranslationOverride>;
|
|
96
|
+
/**
|
|
97
|
+
* @generated from protobuf rpc: DeleteTranslationOverride
|
|
98
|
+
*/
|
|
99
|
+
deleteTranslationOverride(input: DeleteTranslationOverrideRequest, options?: RpcOptions): UnaryCall<DeleteTranslationOverrideRequest, Empty>;
|
|
100
|
+
// ── Import / Export (Page 10.10) ──
|
|
101
|
+
|
|
102
|
+
/**
|
|
103
|
+
* @generated from protobuf rpc: ExportRealm
|
|
104
|
+
*/
|
|
105
|
+
exportRealm(input: ExportRealmRequest, options?: RpcOptions): UnaryCall<ExportRealmRequest, ExportRealmResponse>;
|
|
106
|
+
/**
|
|
107
|
+
* @generated from protobuf rpc: ImportRealm
|
|
108
|
+
*/
|
|
109
|
+
importRealm(input: ImportRealmRequest, options?: RpcOptions): UnaryCall<ImportRealmRequest, ImportRealmResponse>;
|
|
110
|
+
/**
|
|
111
|
+
* @generated from protobuf rpc: PreviewImport
|
|
112
|
+
*/
|
|
113
|
+
previewImport(input: ImportRealmRequest, options?: RpcOptions): UnaryCall<ImportRealmRequest, ImportPreviewResponse>;
|
|
114
|
+
// ── Session Configuration (Page 10.8) ──
|
|
115
|
+
|
|
116
|
+
/**
|
|
117
|
+
* @generated from protobuf rpc: GetSessionConfig
|
|
118
|
+
*/
|
|
119
|
+
getSessionConfig(input: Empty, options?: RpcOptions): UnaryCall<Empty, SessionConfig>;
|
|
120
|
+
/**
|
|
121
|
+
* @generated from protobuf rpc: UpdateSessionConfig
|
|
122
|
+
*/
|
|
123
|
+
updateSessionConfig(input: SessionConfig, options?: RpcOptions): UnaryCall<SessionConfig, SessionConfig>;
|
|
124
|
+
// ── Token Configuration (Page 10.8) ──
|
|
125
|
+
|
|
126
|
+
/**
|
|
127
|
+
* @generated from protobuf rpc: GetTokenConfig
|
|
128
|
+
*/
|
|
129
|
+
getTokenConfig(input: Empty, options?: RpcOptions): UnaryCall<Empty, TokenConfig>;
|
|
130
|
+
/**
|
|
131
|
+
* @generated from protobuf rpc: UpdateTokenConfig
|
|
132
|
+
*/
|
|
133
|
+
updateTokenConfig(input: TokenConfig, options?: RpcOptions): UnaryCall<TokenConfig, TokenConfig>;
|
|
134
|
+
}
|
|
135
|
+
// ────────────────────────────────────────────────────────────────────────────
|
|
136
|
+
// RealmService — General instance settings, login config, session & token config
|
|
137
|
+
// ────────────────────────────────────────────────────────────────────────────
|
|
138
|
+
|
|
139
|
+
/**
|
|
140
|
+
* ── General Settings (Page 10.1) ──
|
|
141
|
+
*
|
|
142
|
+
* @generated from protobuf service sid.v1.admin.RealmService
|
|
143
|
+
*/
|
|
144
|
+
export class RealmServiceClient implements IRealmServiceClient, ServiceInfo {
|
|
145
|
+
typeName = RealmService.typeName;
|
|
146
|
+
methods = RealmService.methods;
|
|
147
|
+
options = RealmService.options;
|
|
148
|
+
constructor(private readonly _transport: RpcTransport) {
|
|
149
|
+
}
|
|
150
|
+
/**
|
|
151
|
+
* @generated from protobuf rpc: GetRealm
|
|
152
|
+
*/
|
|
153
|
+
getRealm(input: GetRealmRequest, options?: RpcOptions): UnaryCall<GetRealmRequest, RealmSettings> {
|
|
154
|
+
const method = this.methods[0], opt = this._transport.mergeOptions(options);
|
|
155
|
+
return stackIntercept<GetRealmRequest, RealmSettings>("unary", this._transport, method, opt, input);
|
|
156
|
+
}
|
|
157
|
+
/**
|
|
158
|
+
* @generated from protobuf rpc: UpdateRealm
|
|
159
|
+
*/
|
|
160
|
+
updateRealm(input: UpdateRealmRequest, options?: RpcOptions): UnaryCall<UpdateRealmRequest, RealmSettings> {
|
|
161
|
+
const method = this.methods[1], opt = this._transport.mergeOptions(options);
|
|
162
|
+
return stackIntercept<UpdateRealmRequest, RealmSettings>("unary", this._transport, method, opt, input);
|
|
163
|
+
}
|
|
164
|
+
// ── Login Configuration (Page 10.2) ──
|
|
165
|
+
|
|
166
|
+
/**
|
|
167
|
+
* @generated from protobuf rpc: GetLoginSettings
|
|
168
|
+
*/
|
|
169
|
+
getLoginSettings(input: GetLoginSettingsRequest, options?: RpcOptions): UnaryCall<GetLoginSettingsRequest, LoginSettings> {
|
|
170
|
+
const method = this.methods[2], opt = this._transport.mergeOptions(options);
|
|
171
|
+
return stackIntercept<GetLoginSettingsRequest, LoginSettings>("unary", this._transport, method, opt, input);
|
|
172
|
+
}
|
|
173
|
+
/**
|
|
174
|
+
* @generated from protobuf rpc: UpdateLoginSettings
|
|
175
|
+
*/
|
|
176
|
+
updateLoginSettings(input: UpdateLoginSettingsRequest, options?: RpcOptions): UnaryCall<UpdateLoginSettingsRequest, LoginSettings> {
|
|
177
|
+
const method = this.methods[3], opt = this._transport.mergeOptions(options);
|
|
178
|
+
return stackIntercept<UpdateLoginSettingsRequest, LoginSettings>("unary", this._transport, method, opt, input);
|
|
179
|
+
}
|
|
180
|
+
// ── Email Configuration (Page 10.3) ──
|
|
181
|
+
|
|
182
|
+
/**
|
|
183
|
+
* @generated from protobuf rpc: GetEmailSettings
|
|
184
|
+
*/
|
|
185
|
+
getEmailSettings(input: Empty, options?: RpcOptions): UnaryCall<Empty, EmailSettings> {
|
|
186
|
+
const method = this.methods[4], opt = this._transport.mergeOptions(options);
|
|
187
|
+
return stackIntercept<Empty, EmailSettings>("unary", this._transport, method, opt, input);
|
|
188
|
+
}
|
|
189
|
+
/**
|
|
190
|
+
* @generated from protobuf rpc: UpdateEmailSettings
|
|
191
|
+
*/
|
|
192
|
+
updateEmailSettings(input: EmailSettings, options?: RpcOptions): UnaryCall<EmailSettings, EmailSettings> {
|
|
193
|
+
const method = this.methods[5], opt = this._transport.mergeOptions(options);
|
|
194
|
+
return stackIntercept<EmailSettings, EmailSettings>("unary", this._transport, method, opt, input);
|
|
195
|
+
}
|
|
196
|
+
/**
|
|
197
|
+
* @generated from protobuf rpc: TestEmailConnection
|
|
198
|
+
*/
|
|
199
|
+
testEmailConnection(input: Empty, options?: RpcOptions): UnaryCall<Empty, TestEmailResponse> {
|
|
200
|
+
const method = this.methods[6], opt = this._transport.mergeOptions(options);
|
|
201
|
+
return stackIntercept<Empty, TestEmailResponse>("unary", this._transport, method, opt, input);
|
|
202
|
+
}
|
|
203
|
+
// ── Localization (Page 10.5) ──
|
|
204
|
+
|
|
205
|
+
/**
|
|
206
|
+
* @generated from protobuf rpc: GetLocalizationSettings
|
|
207
|
+
*/
|
|
208
|
+
getLocalizationSettings(input: Empty, options?: RpcOptions): UnaryCall<Empty, LocalizationSettings> {
|
|
209
|
+
const method = this.methods[7], opt = this._transport.mergeOptions(options);
|
|
210
|
+
return stackIntercept<Empty, LocalizationSettings>("unary", this._transport, method, opt, input);
|
|
211
|
+
}
|
|
212
|
+
/**
|
|
213
|
+
* @generated from protobuf rpc: UpdateLocalizationSettings
|
|
214
|
+
*/
|
|
215
|
+
updateLocalizationSettings(input: LocalizationSettings, options?: RpcOptions): UnaryCall<LocalizationSettings, LocalizationSettings> {
|
|
216
|
+
const method = this.methods[8], opt = this._transport.mergeOptions(options);
|
|
217
|
+
return stackIntercept<LocalizationSettings, LocalizationSettings>("unary", this._transport, method, opt, input);
|
|
218
|
+
}
|
|
219
|
+
/**
|
|
220
|
+
* @generated from protobuf rpc: ListTranslationOverrides
|
|
221
|
+
*/
|
|
222
|
+
listTranslationOverrides(input: ListTranslationOverridesRequest, options?: RpcOptions): UnaryCall<ListTranslationOverridesRequest, ListTranslationOverridesResponse> {
|
|
223
|
+
const method = this.methods[9], opt = this._transport.mergeOptions(options);
|
|
224
|
+
return stackIntercept<ListTranslationOverridesRequest, ListTranslationOverridesResponse>("unary", this._transport, method, opt, input);
|
|
225
|
+
}
|
|
226
|
+
/**
|
|
227
|
+
* @generated from protobuf rpc: SetTranslationOverride
|
|
228
|
+
*/
|
|
229
|
+
setTranslationOverride(input: SetTranslationOverrideRequest, options?: RpcOptions): UnaryCall<SetTranslationOverrideRequest, TranslationOverride> {
|
|
230
|
+
const method = this.methods[10], opt = this._transport.mergeOptions(options);
|
|
231
|
+
return stackIntercept<SetTranslationOverrideRequest, TranslationOverride>("unary", this._transport, method, opt, input);
|
|
232
|
+
}
|
|
233
|
+
/**
|
|
234
|
+
* @generated from protobuf rpc: DeleteTranslationOverride
|
|
235
|
+
*/
|
|
236
|
+
deleteTranslationOverride(input: DeleteTranslationOverrideRequest, options?: RpcOptions): UnaryCall<DeleteTranslationOverrideRequest, Empty> {
|
|
237
|
+
const method = this.methods[11], opt = this._transport.mergeOptions(options);
|
|
238
|
+
return stackIntercept<DeleteTranslationOverrideRequest, Empty>("unary", this._transport, method, opt, input);
|
|
239
|
+
}
|
|
240
|
+
// ── Import / Export (Page 10.10) ──
|
|
241
|
+
|
|
242
|
+
/**
|
|
243
|
+
* @generated from protobuf rpc: ExportRealm
|
|
244
|
+
*/
|
|
245
|
+
exportRealm(input: ExportRealmRequest, options?: RpcOptions): UnaryCall<ExportRealmRequest, ExportRealmResponse> {
|
|
246
|
+
const method = this.methods[12], opt = this._transport.mergeOptions(options);
|
|
247
|
+
return stackIntercept<ExportRealmRequest, ExportRealmResponse>("unary", this._transport, method, opt, input);
|
|
248
|
+
}
|
|
249
|
+
/**
|
|
250
|
+
* @generated from protobuf rpc: ImportRealm
|
|
251
|
+
*/
|
|
252
|
+
importRealm(input: ImportRealmRequest, options?: RpcOptions): UnaryCall<ImportRealmRequest, ImportRealmResponse> {
|
|
253
|
+
const method = this.methods[13], opt = this._transport.mergeOptions(options);
|
|
254
|
+
return stackIntercept<ImportRealmRequest, ImportRealmResponse>("unary", this._transport, method, opt, input);
|
|
255
|
+
}
|
|
256
|
+
/**
|
|
257
|
+
* @generated from protobuf rpc: PreviewImport
|
|
258
|
+
*/
|
|
259
|
+
previewImport(input: ImportRealmRequest, options?: RpcOptions): UnaryCall<ImportRealmRequest, ImportPreviewResponse> {
|
|
260
|
+
const method = this.methods[14], opt = this._transport.mergeOptions(options);
|
|
261
|
+
return stackIntercept<ImportRealmRequest, ImportPreviewResponse>("unary", this._transport, method, opt, input);
|
|
262
|
+
}
|
|
263
|
+
// ── Session Configuration (Page 10.8) ──
|
|
264
|
+
|
|
265
|
+
/**
|
|
266
|
+
* @generated from protobuf rpc: GetSessionConfig
|
|
267
|
+
*/
|
|
268
|
+
getSessionConfig(input: Empty, options?: RpcOptions): UnaryCall<Empty, SessionConfig> {
|
|
269
|
+
const method = this.methods[15], opt = this._transport.mergeOptions(options);
|
|
270
|
+
return stackIntercept<Empty, SessionConfig>("unary", this._transport, method, opt, input);
|
|
271
|
+
}
|
|
272
|
+
/**
|
|
273
|
+
* @generated from protobuf rpc: UpdateSessionConfig
|
|
274
|
+
*/
|
|
275
|
+
updateSessionConfig(input: SessionConfig, options?: RpcOptions): UnaryCall<SessionConfig, SessionConfig> {
|
|
276
|
+
const method = this.methods[16], opt = this._transport.mergeOptions(options);
|
|
277
|
+
return stackIntercept<SessionConfig, SessionConfig>("unary", this._transport, method, opt, input);
|
|
278
|
+
}
|
|
279
|
+
// ── Token Configuration (Page 10.8) ──
|
|
280
|
+
|
|
281
|
+
/**
|
|
282
|
+
* @generated from protobuf rpc: GetTokenConfig
|
|
283
|
+
*/
|
|
284
|
+
getTokenConfig(input: Empty, options?: RpcOptions): UnaryCall<Empty, TokenConfig> {
|
|
285
|
+
const method = this.methods[17], opt = this._transport.mergeOptions(options);
|
|
286
|
+
return stackIntercept<Empty, TokenConfig>("unary", this._transport, method, opt, input);
|
|
287
|
+
}
|
|
288
|
+
/**
|
|
289
|
+
* @generated from protobuf rpc: UpdateTokenConfig
|
|
290
|
+
*/
|
|
291
|
+
updateTokenConfig(input: TokenConfig, options?: RpcOptions): UnaryCall<TokenConfig, TokenConfig> {
|
|
292
|
+
const method = this.methods[18], opt = this._transport.mergeOptions(options);
|
|
293
|
+
return stackIntercept<TokenConfig, TokenConfig>("unary", this._transport, method, opt, input);
|
|
294
|
+
}
|
|
295
|
+
}
|
|
296
|
+
// ────────────────────────────────────────────────────────────────────────────
|
|
297
|
+
// FeatureService — optional feature toggles
|
|
298
|
+
// ────────────────────────────────────────────────────────────────────────────
|
|
299
|
+
|
|
300
|
+
/**
|
|
301
|
+
* @generated from protobuf service sid.v1.admin.FeatureService
|
|
302
|
+
*/
|
|
303
|
+
export interface IFeatureServiceClient {
|
|
304
|
+
/**
|
|
305
|
+
* @generated from protobuf rpc: ListFeatures
|
|
306
|
+
*/
|
|
307
|
+
listFeatures(input: Empty, options?: RpcOptions): UnaryCall<Empty, ListFeaturesResponse>;
|
|
308
|
+
/**
|
|
309
|
+
* @generated from protobuf rpc: SetFeature
|
|
310
|
+
*/
|
|
311
|
+
setFeature(input: SetFeatureRequest, options?: RpcOptions): UnaryCall<SetFeatureRequest, Feature>;
|
|
312
|
+
}
|
|
313
|
+
// ────────────────────────────────────────────────────────────────────────────
|
|
314
|
+
// FeatureService — optional feature toggles
|
|
315
|
+
// ────────────────────────────────────────────────────────────────────────────
|
|
316
|
+
|
|
317
|
+
/**
|
|
318
|
+
* @generated from protobuf service sid.v1.admin.FeatureService
|
|
319
|
+
*/
|
|
320
|
+
export class FeatureServiceClient implements IFeatureServiceClient, ServiceInfo {
|
|
321
|
+
typeName = FeatureService.typeName;
|
|
322
|
+
methods = FeatureService.methods;
|
|
323
|
+
options = FeatureService.options;
|
|
324
|
+
constructor(private readonly _transport: RpcTransport) {
|
|
325
|
+
}
|
|
326
|
+
/**
|
|
327
|
+
* @generated from protobuf rpc: ListFeatures
|
|
328
|
+
*/
|
|
329
|
+
listFeatures(input: Empty, options?: RpcOptions): UnaryCall<Empty, ListFeaturesResponse> {
|
|
330
|
+
const method = this.methods[0], opt = this._transport.mergeOptions(options);
|
|
331
|
+
return stackIntercept<Empty, ListFeaturesResponse>("unary", this._transport, method, opt, input);
|
|
332
|
+
}
|
|
333
|
+
/**
|
|
334
|
+
* @generated from protobuf rpc: SetFeature
|
|
335
|
+
*/
|
|
336
|
+
setFeature(input: SetFeatureRequest, options?: RpcOptions): UnaryCall<SetFeatureRequest, Feature> {
|
|
337
|
+
const method = this.methods[1], opt = this._transport.mergeOptions(options);
|
|
338
|
+
return stackIntercept<SetFeatureRequest, Feature>("unary", this._transport, method, opt, input);
|
|
339
|
+
}
|
|
340
|
+
}
|