@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,413 @@
1
+ // @generated by protobuf-ts 2.11.1 with parameter client_generic,generate_dependencies
2
+ // @generated from protobuf file "sid/v1/authn/flows.proto" (package "sid.v1.authn", syntax proto3)
3
+ // tslint:disable
4
+ import { ActionService } from "./flows";
5
+ import type { ListEventTypesResponse } from "./flows";
6
+ import type { BuiltinAction } from "./flows";
7
+ import type { ConfigureBuiltinActionRequest } from "./flows";
8
+ import type { ListBuiltinActionsResponse } from "./flows";
9
+ import type { TestActionResponse } from "./flows";
10
+ import type { TestActionRequest } from "./flows";
11
+ import type { DeleteActionRequest } from "./flows";
12
+ import type { UpdateActionRequest } from "./flows";
13
+ import type { CreateActionRequest } from "./flows";
14
+ import type { Action } from "./flows";
15
+ import type { GetActionRequest } from "./flows";
16
+ import type { ListActionsResponse } from "./flows";
17
+ import { StepService } from "./flows";
18
+ import type { UpdateStepConfigRequest } from "./flows";
19
+ import type { StepConfig } from "./flows";
20
+ import type { GetStepConfigRequest } from "./flows";
21
+ import type { ListStepTypesResponse } from "./flows";
22
+ import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
23
+ import type { ServiceInfo } from "@protobuf-ts/runtime-rpc";
24
+ import { FlowService } from "./flows";
25
+ import type { ReorderStepBindingsRequest } from "./flows";
26
+ import type { RemoveStepBindingRequest } from "./flows";
27
+ import type { UpdateStepBindingRequest } from "./flows";
28
+ import type { StepBinding } from "./flows";
29
+ import type { AddStepBindingRequest } from "./flows";
30
+ import type { ListStepBindingsResponse } from "./flows";
31
+ import type { ListStepBindingsRequest } from "./flows";
32
+ import type { ImportBlueprintRequest } from "./flows";
33
+ import type { BlueprintResponse } from "./flows";
34
+ import type { ExportBlueprintRequest } from "./flows";
35
+ import type { BindFlowRequest } from "./flows";
36
+ import type { DuplicateFlowRequest } from "./flows";
37
+ import type { DeleteFlowRequest } from "./flows";
38
+ import type { UpdateFlowRequest } from "./flows";
39
+ import type { CreateFlowRequest } from "./flows";
40
+ import type { Flow } from "./flows";
41
+ import type { GetFlowRequest } from "./flows";
42
+ import { stackIntercept } from "@protobuf-ts/runtime-rpc";
43
+ import type { ListFlowsResponse } from "./flows";
44
+ import type { Empty } from "../../../google/protobuf/empty";
45
+ import type { UnaryCall } from "@protobuf-ts/runtime-rpc";
46
+ import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
47
+ // ────────────────────────────────────────────────────────────────────────────
48
+ // FlowService — auth flow CRUD, step bindings, blueprint import/export
49
+ // ────────────────────────────────────────────────────────────────────────────
50
+
51
+ /**
52
+ * ── Flow CRUD ──
53
+ *
54
+ * @generated from protobuf service sid.v1.authn.FlowService
55
+ */
56
+ export interface IFlowServiceClient {
57
+ /**
58
+ * @generated from protobuf rpc: ListFlows
59
+ */
60
+ listFlows(input: Empty, options?: RpcOptions): UnaryCall<Empty, ListFlowsResponse>;
61
+ /**
62
+ * @generated from protobuf rpc: GetFlow
63
+ */
64
+ getFlow(input: GetFlowRequest, options?: RpcOptions): UnaryCall<GetFlowRequest, Flow>;
65
+ /**
66
+ * @generated from protobuf rpc: CreateFlow
67
+ */
68
+ createFlow(input: CreateFlowRequest, options?: RpcOptions): UnaryCall<CreateFlowRequest, Flow>;
69
+ /**
70
+ * @generated from protobuf rpc: UpdateFlow
71
+ */
72
+ updateFlow(input: UpdateFlowRequest, options?: RpcOptions): UnaryCall<UpdateFlowRequest, Flow>;
73
+ /**
74
+ * @generated from protobuf rpc: DeleteFlow
75
+ */
76
+ deleteFlow(input: DeleteFlowRequest, options?: RpcOptions): UnaryCall<DeleteFlowRequest, Empty>;
77
+ /**
78
+ * @generated from protobuf rpc: DuplicateFlow
79
+ */
80
+ duplicateFlow(input: DuplicateFlowRequest, options?: RpcOptions): UnaryCall<DuplicateFlowRequest, Flow>;
81
+ /**
82
+ * @generated from protobuf rpc: BindFlow
83
+ */
84
+ bindFlow(input: BindFlowRequest, options?: RpcOptions): UnaryCall<BindFlowRequest, Empty>;
85
+ // ── Blueprint Import/Export ──
86
+
87
+ /**
88
+ * @generated from protobuf rpc: ExportBlueprint
89
+ */
90
+ exportBlueprint(input: ExportBlueprintRequest, options?: RpcOptions): UnaryCall<ExportBlueprintRequest, BlueprintResponse>;
91
+ /**
92
+ * @generated from protobuf rpc: ImportBlueprint
93
+ */
94
+ importBlueprint(input: ImportBlueprintRequest, options?: RpcOptions): UnaryCall<ImportBlueprintRequest, Flow>;
95
+ // ── Step Bindings ──
96
+
97
+ /**
98
+ * @generated from protobuf rpc: ListStepBindings
99
+ */
100
+ listStepBindings(input: ListStepBindingsRequest, options?: RpcOptions): UnaryCall<ListStepBindingsRequest, ListStepBindingsResponse>;
101
+ /**
102
+ * @generated from protobuf rpc: AddStepBinding
103
+ */
104
+ addStepBinding(input: AddStepBindingRequest, options?: RpcOptions): UnaryCall<AddStepBindingRequest, StepBinding>;
105
+ /**
106
+ * @generated from protobuf rpc: UpdateStepBinding
107
+ */
108
+ updateStepBinding(input: UpdateStepBindingRequest, options?: RpcOptions): UnaryCall<UpdateStepBindingRequest, StepBinding>;
109
+ /**
110
+ * @generated from protobuf rpc: RemoveStepBinding
111
+ */
112
+ removeStepBinding(input: RemoveStepBindingRequest, options?: RpcOptions): UnaryCall<RemoveStepBindingRequest, Empty>;
113
+ /**
114
+ * @generated from protobuf rpc: ReorderStepBindings
115
+ */
116
+ reorderStepBindings(input: ReorderStepBindingsRequest, options?: RpcOptions): UnaryCall<ReorderStepBindingsRequest, ListStepBindingsResponse>;
117
+ }
118
+ // ────────────────────────────────────────────────────────────────────────────
119
+ // FlowService — auth flow CRUD, step bindings, blueprint import/export
120
+ // ────────────────────────────────────────────────────────────────────────────
121
+
122
+ /**
123
+ * ── Flow CRUD ──
124
+ *
125
+ * @generated from protobuf service sid.v1.authn.FlowService
126
+ */
127
+ export class FlowServiceClient implements IFlowServiceClient, ServiceInfo {
128
+ typeName = FlowService.typeName;
129
+ methods = FlowService.methods;
130
+ options = FlowService.options;
131
+ constructor(private readonly _transport: RpcTransport) {
132
+ }
133
+ /**
134
+ * @generated from protobuf rpc: ListFlows
135
+ */
136
+ listFlows(input: Empty, options?: RpcOptions): UnaryCall<Empty, ListFlowsResponse> {
137
+ const method = this.methods[0], opt = this._transport.mergeOptions(options);
138
+ return stackIntercept<Empty, ListFlowsResponse>("unary", this._transport, method, opt, input);
139
+ }
140
+ /**
141
+ * @generated from protobuf rpc: GetFlow
142
+ */
143
+ getFlow(input: GetFlowRequest, options?: RpcOptions): UnaryCall<GetFlowRequest, Flow> {
144
+ const method = this.methods[1], opt = this._transport.mergeOptions(options);
145
+ return stackIntercept<GetFlowRequest, Flow>("unary", this._transport, method, opt, input);
146
+ }
147
+ /**
148
+ * @generated from protobuf rpc: CreateFlow
149
+ */
150
+ createFlow(input: CreateFlowRequest, options?: RpcOptions): UnaryCall<CreateFlowRequest, Flow> {
151
+ const method = this.methods[2], opt = this._transport.mergeOptions(options);
152
+ return stackIntercept<CreateFlowRequest, Flow>("unary", this._transport, method, opt, input);
153
+ }
154
+ /**
155
+ * @generated from protobuf rpc: UpdateFlow
156
+ */
157
+ updateFlow(input: UpdateFlowRequest, options?: RpcOptions): UnaryCall<UpdateFlowRequest, Flow> {
158
+ const method = this.methods[3], opt = this._transport.mergeOptions(options);
159
+ return stackIntercept<UpdateFlowRequest, Flow>("unary", this._transport, method, opt, input);
160
+ }
161
+ /**
162
+ * @generated from protobuf rpc: DeleteFlow
163
+ */
164
+ deleteFlow(input: DeleteFlowRequest, options?: RpcOptions): UnaryCall<DeleteFlowRequest, Empty> {
165
+ const method = this.methods[4], opt = this._transport.mergeOptions(options);
166
+ return stackIntercept<DeleteFlowRequest, Empty>("unary", this._transport, method, opt, input);
167
+ }
168
+ /**
169
+ * @generated from protobuf rpc: DuplicateFlow
170
+ */
171
+ duplicateFlow(input: DuplicateFlowRequest, options?: RpcOptions): UnaryCall<DuplicateFlowRequest, Flow> {
172
+ const method = this.methods[5], opt = this._transport.mergeOptions(options);
173
+ return stackIntercept<DuplicateFlowRequest, Flow>("unary", this._transport, method, opt, input);
174
+ }
175
+ /**
176
+ * @generated from protobuf rpc: BindFlow
177
+ */
178
+ bindFlow(input: BindFlowRequest, options?: RpcOptions): UnaryCall<BindFlowRequest, Empty> {
179
+ const method = this.methods[6], opt = this._transport.mergeOptions(options);
180
+ return stackIntercept<BindFlowRequest, Empty>("unary", this._transport, method, opt, input);
181
+ }
182
+ // ── Blueprint Import/Export ──
183
+
184
+ /**
185
+ * @generated from protobuf rpc: ExportBlueprint
186
+ */
187
+ exportBlueprint(input: ExportBlueprintRequest, options?: RpcOptions): UnaryCall<ExportBlueprintRequest, BlueprintResponse> {
188
+ const method = this.methods[7], opt = this._transport.mergeOptions(options);
189
+ return stackIntercept<ExportBlueprintRequest, BlueprintResponse>("unary", this._transport, method, opt, input);
190
+ }
191
+ /**
192
+ * @generated from protobuf rpc: ImportBlueprint
193
+ */
194
+ importBlueprint(input: ImportBlueprintRequest, options?: RpcOptions): UnaryCall<ImportBlueprintRequest, Flow> {
195
+ const method = this.methods[8], opt = this._transport.mergeOptions(options);
196
+ return stackIntercept<ImportBlueprintRequest, Flow>("unary", this._transport, method, opt, input);
197
+ }
198
+ // ── Step Bindings ──
199
+
200
+ /**
201
+ * @generated from protobuf rpc: ListStepBindings
202
+ */
203
+ listStepBindings(input: ListStepBindingsRequest, options?: RpcOptions): UnaryCall<ListStepBindingsRequest, ListStepBindingsResponse> {
204
+ const method = this.methods[9], opt = this._transport.mergeOptions(options);
205
+ return stackIntercept<ListStepBindingsRequest, ListStepBindingsResponse>("unary", this._transport, method, opt, input);
206
+ }
207
+ /**
208
+ * @generated from protobuf rpc: AddStepBinding
209
+ */
210
+ addStepBinding(input: AddStepBindingRequest, options?: RpcOptions): UnaryCall<AddStepBindingRequest, StepBinding> {
211
+ const method = this.methods[10], opt = this._transport.mergeOptions(options);
212
+ return stackIntercept<AddStepBindingRequest, StepBinding>("unary", this._transport, method, opt, input);
213
+ }
214
+ /**
215
+ * @generated from protobuf rpc: UpdateStepBinding
216
+ */
217
+ updateStepBinding(input: UpdateStepBindingRequest, options?: RpcOptions): UnaryCall<UpdateStepBindingRequest, StepBinding> {
218
+ const method = this.methods[11], opt = this._transport.mergeOptions(options);
219
+ return stackIntercept<UpdateStepBindingRequest, StepBinding>("unary", this._transport, method, opt, input);
220
+ }
221
+ /**
222
+ * @generated from protobuf rpc: RemoveStepBinding
223
+ */
224
+ removeStepBinding(input: RemoveStepBindingRequest, options?: RpcOptions): UnaryCall<RemoveStepBindingRequest, Empty> {
225
+ const method = this.methods[12], opt = this._transport.mergeOptions(options);
226
+ return stackIntercept<RemoveStepBindingRequest, Empty>("unary", this._transport, method, opt, input);
227
+ }
228
+ /**
229
+ * @generated from protobuf rpc: ReorderStepBindings
230
+ */
231
+ reorderStepBindings(input: ReorderStepBindingsRequest, options?: RpcOptions): UnaryCall<ReorderStepBindingsRequest, ListStepBindingsResponse> {
232
+ const method = this.methods[13], opt = this._transport.mergeOptions(options);
233
+ return stackIntercept<ReorderStepBindingsRequest, ListStepBindingsResponse>("unary", this._transport, method, opt, input);
234
+ }
235
+ }
236
+ // ────────────────────────────────────────────────────────────────────────────
237
+ // StepService — step type catalog and global step config
238
+ // ────────────────────────────────────────────────────────────────────────────
239
+
240
+ /**
241
+ * @generated from protobuf service sid.v1.authn.StepService
242
+ */
243
+ export interface IStepServiceClient {
244
+ /**
245
+ * @generated from protobuf rpc: ListStepTypes
246
+ */
247
+ listStepTypes(input: Empty, options?: RpcOptions): UnaryCall<Empty, ListStepTypesResponse>;
248
+ /**
249
+ * @generated from protobuf rpc: GetStepConfig
250
+ */
251
+ getStepConfig(input: GetStepConfigRequest, options?: RpcOptions): UnaryCall<GetStepConfigRequest, StepConfig>;
252
+ /**
253
+ * @generated from protobuf rpc: UpdateStepConfig
254
+ */
255
+ updateStepConfig(input: UpdateStepConfigRequest, options?: RpcOptions): UnaryCall<UpdateStepConfigRequest, StepConfig>;
256
+ }
257
+ // ────────────────────────────────────────────────────────────────────────────
258
+ // StepService — step type catalog and global step config
259
+ // ────────────────────────────────────────────────────────────────────────────
260
+
261
+ /**
262
+ * @generated from protobuf service sid.v1.authn.StepService
263
+ */
264
+ export class StepServiceClient implements IStepServiceClient, ServiceInfo {
265
+ typeName = StepService.typeName;
266
+ methods = StepService.methods;
267
+ options = StepService.options;
268
+ constructor(private readonly _transport: RpcTransport) {
269
+ }
270
+ /**
271
+ * @generated from protobuf rpc: ListStepTypes
272
+ */
273
+ listStepTypes(input: Empty, options?: RpcOptions): UnaryCall<Empty, ListStepTypesResponse> {
274
+ const method = this.methods[0], opt = this._transport.mergeOptions(options);
275
+ return stackIntercept<Empty, ListStepTypesResponse>("unary", this._transport, method, opt, input);
276
+ }
277
+ /**
278
+ * @generated from protobuf rpc: GetStepConfig
279
+ */
280
+ getStepConfig(input: GetStepConfigRequest, options?: RpcOptions): UnaryCall<GetStepConfigRequest, StepConfig> {
281
+ const method = this.methods[1], opt = this._transport.mergeOptions(options);
282
+ return stackIntercept<GetStepConfigRequest, StepConfig>("unary", this._transport, method, opt, input);
283
+ }
284
+ /**
285
+ * @generated from protobuf rpc: UpdateStepConfig
286
+ */
287
+ updateStepConfig(input: UpdateStepConfigRequest, options?: RpcOptions): UnaryCall<UpdateStepConfigRequest, StepConfig> {
288
+ const method = this.methods[2], opt = this._transport.mergeOptions(options);
289
+ return stackIntercept<UpdateStepConfigRequest, StepConfig>("unary", this._transport, method, opt, input);
290
+ }
291
+ }
292
+ // ────────────────────────────────────────────────────────────────────────────
293
+ // ActionService — webhook/action hooks at flow points
294
+ // ────────────────────────────────────────────────────────────────────────────
295
+
296
+ /**
297
+ * @generated from protobuf service sid.v1.authn.ActionService
298
+ */
299
+ export interface IActionServiceClient {
300
+ /**
301
+ * @generated from protobuf rpc: ListActions
302
+ */
303
+ listActions(input: Empty, options?: RpcOptions): UnaryCall<Empty, ListActionsResponse>;
304
+ /**
305
+ * @generated from protobuf rpc: GetAction
306
+ */
307
+ getAction(input: GetActionRequest, options?: RpcOptions): UnaryCall<GetActionRequest, Action>;
308
+ /**
309
+ * @generated from protobuf rpc: CreateAction
310
+ */
311
+ createAction(input: CreateActionRequest, options?: RpcOptions): UnaryCall<CreateActionRequest, Action>;
312
+ /**
313
+ * @generated from protobuf rpc: UpdateAction
314
+ */
315
+ updateAction(input: UpdateActionRequest, options?: RpcOptions): UnaryCall<UpdateActionRequest, Action>;
316
+ /**
317
+ * @generated from protobuf rpc: DeleteAction
318
+ */
319
+ deleteAction(input: DeleteActionRequest, options?: RpcOptions): UnaryCall<DeleteActionRequest, Empty>;
320
+ /**
321
+ * @generated from protobuf rpc: TestAction
322
+ */
323
+ testAction(input: TestActionRequest, options?: RpcOptions): UnaryCall<TestActionRequest, TestActionResponse>;
324
+ /**
325
+ * @generated from protobuf rpc: ListBuiltinActions
326
+ */
327
+ listBuiltinActions(input: Empty, options?: RpcOptions): UnaryCall<Empty, ListBuiltinActionsResponse>;
328
+ /**
329
+ * @generated from protobuf rpc: ConfigureBuiltinAction
330
+ */
331
+ configureBuiltinAction(input: ConfigureBuiltinActionRequest, options?: RpcOptions): UnaryCall<ConfigureBuiltinActionRequest, BuiltinAction>;
332
+ /**
333
+ * @generated from protobuf rpc: ListEventTypes
334
+ */
335
+ listEventTypes(input: Empty, options?: RpcOptions): UnaryCall<Empty, ListEventTypesResponse>;
336
+ }
337
+ // ────────────────────────────────────────────────────────────────────────────
338
+ // ActionService — webhook/action hooks at flow points
339
+ // ────────────────────────────────────────────────────────────────────────────
340
+
341
+ /**
342
+ * @generated from protobuf service sid.v1.authn.ActionService
343
+ */
344
+ export class ActionServiceClient implements IActionServiceClient, ServiceInfo {
345
+ typeName = ActionService.typeName;
346
+ methods = ActionService.methods;
347
+ options = ActionService.options;
348
+ constructor(private readonly _transport: RpcTransport) {
349
+ }
350
+ /**
351
+ * @generated from protobuf rpc: ListActions
352
+ */
353
+ listActions(input: Empty, options?: RpcOptions): UnaryCall<Empty, ListActionsResponse> {
354
+ const method = this.methods[0], opt = this._transport.mergeOptions(options);
355
+ return stackIntercept<Empty, ListActionsResponse>("unary", this._transport, method, opt, input);
356
+ }
357
+ /**
358
+ * @generated from protobuf rpc: GetAction
359
+ */
360
+ getAction(input: GetActionRequest, options?: RpcOptions): UnaryCall<GetActionRequest, Action> {
361
+ const method = this.methods[1], opt = this._transport.mergeOptions(options);
362
+ return stackIntercept<GetActionRequest, Action>("unary", this._transport, method, opt, input);
363
+ }
364
+ /**
365
+ * @generated from protobuf rpc: CreateAction
366
+ */
367
+ createAction(input: CreateActionRequest, options?: RpcOptions): UnaryCall<CreateActionRequest, Action> {
368
+ const method = this.methods[2], opt = this._transport.mergeOptions(options);
369
+ return stackIntercept<CreateActionRequest, Action>("unary", this._transport, method, opt, input);
370
+ }
371
+ /**
372
+ * @generated from protobuf rpc: UpdateAction
373
+ */
374
+ updateAction(input: UpdateActionRequest, options?: RpcOptions): UnaryCall<UpdateActionRequest, Action> {
375
+ const method = this.methods[3], opt = this._transport.mergeOptions(options);
376
+ return stackIntercept<UpdateActionRequest, Action>("unary", this._transport, method, opt, input);
377
+ }
378
+ /**
379
+ * @generated from protobuf rpc: DeleteAction
380
+ */
381
+ deleteAction(input: DeleteActionRequest, options?: RpcOptions): UnaryCall<DeleteActionRequest, Empty> {
382
+ const method = this.methods[4], opt = this._transport.mergeOptions(options);
383
+ return stackIntercept<DeleteActionRequest, Empty>("unary", this._transport, method, opt, input);
384
+ }
385
+ /**
386
+ * @generated from protobuf rpc: TestAction
387
+ */
388
+ testAction(input: TestActionRequest, options?: RpcOptions): UnaryCall<TestActionRequest, TestActionResponse> {
389
+ const method = this.methods[5], opt = this._transport.mergeOptions(options);
390
+ return stackIntercept<TestActionRequest, TestActionResponse>("unary", this._transport, method, opt, input);
391
+ }
392
+ /**
393
+ * @generated from protobuf rpc: ListBuiltinActions
394
+ */
395
+ listBuiltinActions(input: Empty, options?: RpcOptions): UnaryCall<Empty, ListBuiltinActionsResponse> {
396
+ const method = this.methods[6], opt = this._transport.mergeOptions(options);
397
+ return stackIntercept<Empty, ListBuiltinActionsResponse>("unary", this._transport, method, opt, input);
398
+ }
399
+ /**
400
+ * @generated from protobuf rpc: ConfigureBuiltinAction
401
+ */
402
+ configureBuiltinAction(input: ConfigureBuiltinActionRequest, options?: RpcOptions): UnaryCall<ConfigureBuiltinActionRequest, BuiltinAction> {
403
+ const method = this.methods[7], opt = this._transport.mergeOptions(options);
404
+ return stackIntercept<ConfigureBuiltinActionRequest, BuiltinAction>("unary", this._transport, method, opt, input);
405
+ }
406
+ /**
407
+ * @generated from protobuf rpc: ListEventTypes
408
+ */
409
+ listEventTypes(input: Empty, options?: RpcOptions): UnaryCall<Empty, ListEventTypesResponse> {
410
+ const method = this.methods[8], opt = this._transport.mergeOptions(options);
411
+ return stackIntercept<Empty, ListEventTypesResponse>("unary", this._transport, method, opt, input);
412
+ }
413
+ }