@structured-id/proto 0.15.0 → 0.16.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.
- package/CHANGELOG.md +9 -0
- package/dist/generated/sid/v1/admin/admin.d.ts +48 -17
- package/dist/generated/sid/v1/admin/admin.js +55 -62
- package/dist/generated/sid/v1/admin/admin.js.map +1 -1
- package/dist/generated/sid/v1/admin/branding.d.ts +54 -26
- package/dist/generated/sid/v1/admin/branding.js +87 -98
- package/dist/generated/sid/v1/admin/branding.js.map +1 -1
- package/dist/generated/sid/v1/admin/enrollment.d.ts +63 -44
- package/dist/generated/sid/v1/admin/enrollment.js +109 -107
- package/dist/generated/sid/v1/admin/enrollment.js.map +1 -1
- package/dist/generated/sid/v1/admin/flow.d.ts +90 -42
- package/dist/generated/sid/v1/admin/flow.js +143 -155
- package/dist/generated/sid/v1/admin/flow.js.map +1 -1
- package/dist/generated/sid/v1/admin/security.d.ts +11 -4
- package/dist/generated/sid/v1/admin/security.js +14 -14
- package/dist/generated/sid/v1/admin/security.js.map +1 -1
- package/dist/generated/sid/v1/admin/sessions.d.ts +18 -8
- package/dist/generated/sid/v1/admin/sessions.js +27 -29
- package/dist/generated/sid/v1/admin/sessions.js.map +1 -1
- package/dist/generated/sid/v1/authn/auth.d.ts +13 -7
- package/dist/generated/sid/v1/authn/auth.js +20 -20
- package/dist/generated/sid/v1/authn/auth.js.map +1 -1
- package/dist/generated/sid/v1/common/types.d.ts +29 -0
- package/dist/generated/sid/v1/common/types.js +47 -0
- package/dist/generated/sid/v1/common/types.js.map +1 -1
- package/dist/generated/sid/v1/federation/upstream.d.ts +34 -16
- package/dist/generated/sid/v1/federation/upstream.js +53 -59
- package/dist/generated/sid/v1/federation/upstream.js.map +1 -1
- package/dist/generated/sid/v1/ids/ids.d.ts +8 -0
- package/dist/generated/sid/v1/ids/ids.js +4 -0
- package/dist/generated/sid/v1/ids/ids.js.map +1 -1
- package/dist/ip.d.ts +31 -0
- package/dist/ip.js +84 -0
- package/dist/ip.js.map +1 -0
- package/package.json +6 -2
|
@@ -5,7 +5,9 @@ import type { BinaryReadOptions } from "@protobuf-ts/runtime";
|
|
|
5
5
|
import type { IBinaryReader } from "@protobuf-ts/runtime";
|
|
6
6
|
import type { PartialMessage } from "@protobuf-ts/runtime";
|
|
7
7
|
import { MessageType } from "@protobuf-ts/runtime";
|
|
8
|
+
import { FlowActionId } from "../ids/ids.js";
|
|
8
9
|
import { Timestamp } from "../../../google/protobuf/timestamp.js";
|
|
10
|
+
import { ProjectId } from "../ids/ids.js";
|
|
9
11
|
import { Struct } from "../../../google/protobuf/struct.js";
|
|
10
12
|
/**
|
|
11
13
|
* @generated from protobuf message sid.v1.admin.StepConfig
|
|
@@ -35,9 +37,11 @@ export interface StepConfig {
|
|
|
35
37
|
*/
|
|
36
38
|
export interface FlowConfig {
|
|
37
39
|
/**
|
|
38
|
-
*
|
|
40
|
+
* Project the configuration belongs to.
|
|
41
|
+
*
|
|
42
|
+
* @generated from protobuf field: sid.v1.ids.ProjectId project_id = 1
|
|
39
43
|
*/
|
|
40
|
-
projectId
|
|
44
|
+
projectId?: ProjectId;
|
|
41
45
|
/**
|
|
42
46
|
* @generated from protobuf field: sid.v1.admin.FlowType flow_type = 2
|
|
43
47
|
*/
|
|
@@ -95,13 +99,17 @@ export interface WebhookConfig {
|
|
|
95
99
|
*/
|
|
96
100
|
export interface FlowAction {
|
|
97
101
|
/**
|
|
98
|
-
*
|
|
102
|
+
* The action.
|
|
103
|
+
*
|
|
104
|
+
* @generated from protobuf field: sid.v1.ids.FlowActionId action_id = 1
|
|
99
105
|
*/
|
|
100
|
-
actionId
|
|
106
|
+
actionId?: FlowActionId;
|
|
101
107
|
/**
|
|
102
|
-
*
|
|
108
|
+
* Project whose flows run the action.
|
|
109
|
+
*
|
|
110
|
+
* @generated from protobuf field: sid.v1.ids.ProjectId project_id = 2
|
|
103
111
|
*/
|
|
104
|
-
projectId
|
|
112
|
+
projectId?: ProjectId;
|
|
105
113
|
/**
|
|
106
114
|
* @generated from protobuf field: sid.v1.admin.FlowType flow_type = 3
|
|
107
115
|
*/
|
|
@@ -162,31 +170,43 @@ export interface FlowAction {
|
|
|
162
170
|
*/
|
|
163
171
|
export interface GetFlowConfigRequest {
|
|
164
172
|
/**
|
|
165
|
-
*
|
|
173
|
+
* Project the configuration belongs to.
|
|
174
|
+
*
|
|
175
|
+
* @generated from protobuf field: sid.v1.ids.ProjectId project_id = 1
|
|
166
176
|
*/
|
|
167
|
-
projectId
|
|
177
|
+
projectId?: ProjectId;
|
|
168
178
|
/**
|
|
169
|
-
*
|
|
179
|
+
* Flow whose configuration is read.
|
|
180
|
+
*
|
|
181
|
+
* @generated from protobuf field: sid.v1.admin.FlowType flow_type = 2
|
|
170
182
|
*/
|
|
171
|
-
flowType:
|
|
183
|
+
flowType: FlowType;
|
|
172
184
|
}
|
|
173
185
|
/**
|
|
174
186
|
* @generated from protobuf message sid.v1.admin.SaveFlowConfigRequest
|
|
175
187
|
*/
|
|
176
188
|
export interface SaveFlowConfigRequest {
|
|
177
189
|
/**
|
|
178
|
-
*
|
|
190
|
+
* Project the configuration belongs to.
|
|
191
|
+
*
|
|
192
|
+
* @generated from protobuf field: sid.v1.ids.ProjectId project_id = 1
|
|
179
193
|
*/
|
|
180
|
-
projectId
|
|
194
|
+
projectId?: ProjectId;
|
|
181
195
|
/**
|
|
182
|
-
*
|
|
196
|
+
* Flow whose configuration is replaced.
|
|
197
|
+
*
|
|
198
|
+
* @generated from protobuf field: sid.v1.admin.FlowType flow_type = 2
|
|
183
199
|
*/
|
|
184
|
-
flowType:
|
|
200
|
+
flowType: FlowType;
|
|
185
201
|
/**
|
|
202
|
+
* Step settings; a step not listed keeps the built-in default.
|
|
203
|
+
*
|
|
186
204
|
* @generated from protobuf field: repeated sid.v1.admin.StepConfig steps = 3
|
|
187
205
|
*/
|
|
188
206
|
steps: StepConfig[];
|
|
189
207
|
/**
|
|
208
|
+
* Flow-level timeout in seconds; 0 uses the default of 300.
|
|
209
|
+
*
|
|
190
210
|
* @generated from protobuf field: uint32 timeout_seconds = 4
|
|
191
211
|
*/
|
|
192
212
|
timeoutSeconds: number;
|
|
@@ -196,9 +216,11 @@ export interface SaveFlowConfigRequest {
|
|
|
196
216
|
*/
|
|
197
217
|
export interface ListFlowConfigsRequest {
|
|
198
218
|
/**
|
|
199
|
-
*
|
|
219
|
+
* Project whose configurations are listed.
|
|
220
|
+
*
|
|
221
|
+
* @generated from protobuf field: sid.v1.ids.ProjectId project_id = 1
|
|
200
222
|
*/
|
|
201
|
-
projectId
|
|
223
|
+
projectId?: ProjectId;
|
|
202
224
|
}
|
|
203
225
|
/**
|
|
204
226
|
* @generated from protobuf message sid.v1.admin.ListFlowConfigsResponse
|
|
@@ -214,13 +236,17 @@ export interface ListFlowConfigsResponse {
|
|
|
214
236
|
*/
|
|
215
237
|
export interface CreateFlowActionRequest {
|
|
216
238
|
/**
|
|
217
|
-
*
|
|
239
|
+
* Project whose flow runs the action.
|
|
240
|
+
*
|
|
241
|
+
* @generated from protobuf field: sid.v1.ids.ProjectId project_id = 1
|
|
218
242
|
*/
|
|
219
|
-
projectId
|
|
243
|
+
projectId?: ProjectId;
|
|
220
244
|
/**
|
|
221
|
-
*
|
|
245
|
+
* Flow the action hooks into.
|
|
246
|
+
*
|
|
247
|
+
* @generated from protobuf field: sid.v1.admin.FlowType flow_type = 2
|
|
222
248
|
*/
|
|
223
|
-
flowType:
|
|
249
|
+
flowType: FlowType;
|
|
224
250
|
/**
|
|
225
251
|
* @generated from protobuf field: sid.v1.admin.ActionPoint action_point = 3
|
|
226
252
|
*/
|
|
@@ -263,30 +289,40 @@ export interface CreateFlowActionRequest {
|
|
|
263
289
|
*/
|
|
264
290
|
export interface GetFlowActionRequest {
|
|
265
291
|
/**
|
|
266
|
-
*
|
|
292
|
+
* Project the action belongs to.
|
|
293
|
+
*
|
|
294
|
+
* @generated from protobuf field: sid.v1.ids.ProjectId project_id = 1
|
|
267
295
|
*/
|
|
268
|
-
projectId
|
|
296
|
+
projectId?: ProjectId;
|
|
269
297
|
/**
|
|
270
|
-
*
|
|
298
|
+
* Flow the action hooks into.
|
|
299
|
+
*
|
|
300
|
+
* @generated from protobuf field: sid.v1.admin.FlowType flow_type = 2
|
|
271
301
|
*/
|
|
272
|
-
flowType:
|
|
302
|
+
flowType: FlowType;
|
|
273
303
|
/**
|
|
274
|
-
*
|
|
304
|
+
* Action to read.
|
|
305
|
+
*
|
|
306
|
+
* @generated from protobuf field: sid.v1.ids.FlowActionId action_id = 3
|
|
275
307
|
*/
|
|
276
|
-
actionId
|
|
308
|
+
actionId?: FlowActionId;
|
|
277
309
|
}
|
|
278
310
|
/**
|
|
279
311
|
* @generated from protobuf message sid.v1.admin.ListFlowActionsRequest
|
|
280
312
|
*/
|
|
281
313
|
export interface ListFlowActionsRequest {
|
|
282
314
|
/**
|
|
283
|
-
*
|
|
315
|
+
* Project whose actions are listed.
|
|
316
|
+
*
|
|
317
|
+
* @generated from protobuf field: sid.v1.ids.ProjectId project_id = 1
|
|
284
318
|
*/
|
|
285
|
-
projectId
|
|
319
|
+
projectId?: ProjectId;
|
|
286
320
|
/**
|
|
287
|
-
*
|
|
321
|
+
* Flow whose actions are listed.
|
|
322
|
+
*
|
|
323
|
+
* @generated from protobuf field: sid.v1.admin.FlowType flow_type = 2
|
|
288
324
|
*/
|
|
289
|
-
flowType:
|
|
325
|
+
flowType: FlowType;
|
|
290
326
|
/**
|
|
291
327
|
* Optional filter by action point.
|
|
292
328
|
*
|
|
@@ -308,17 +344,23 @@ export interface ListFlowActionsResponse {
|
|
|
308
344
|
*/
|
|
309
345
|
export interface UpdateFlowActionRequest {
|
|
310
346
|
/**
|
|
311
|
-
*
|
|
347
|
+
* Project the action belongs to.
|
|
348
|
+
*
|
|
349
|
+
* @generated from protobuf field: sid.v1.ids.ProjectId project_id = 1
|
|
312
350
|
*/
|
|
313
|
-
projectId
|
|
351
|
+
projectId?: ProjectId;
|
|
314
352
|
/**
|
|
315
|
-
*
|
|
353
|
+
* Flow the action hooks into.
|
|
354
|
+
*
|
|
355
|
+
* @generated from protobuf field: sid.v1.admin.FlowType flow_type = 2
|
|
316
356
|
*/
|
|
317
|
-
flowType:
|
|
357
|
+
flowType: FlowType;
|
|
318
358
|
/**
|
|
319
|
-
*
|
|
359
|
+
* Action to update.
|
|
360
|
+
*
|
|
361
|
+
* @generated from protobuf field: sid.v1.ids.FlowActionId action_id = 3
|
|
320
362
|
*/
|
|
321
|
-
actionId
|
|
363
|
+
actionId?: FlowActionId;
|
|
322
364
|
/**
|
|
323
365
|
* Fields to update (all optional — only set fields are applied).
|
|
324
366
|
*
|
|
@@ -359,17 +401,23 @@ export interface UpdateFlowActionRequest {
|
|
|
359
401
|
*/
|
|
360
402
|
export interface DeleteFlowActionRequest {
|
|
361
403
|
/**
|
|
362
|
-
*
|
|
404
|
+
* Project the action belongs to.
|
|
405
|
+
*
|
|
406
|
+
* @generated from protobuf field: sid.v1.ids.ProjectId project_id = 1
|
|
363
407
|
*/
|
|
364
|
-
projectId
|
|
408
|
+
projectId?: ProjectId;
|
|
365
409
|
/**
|
|
366
|
-
*
|
|
410
|
+
* Flow the action hooks into.
|
|
411
|
+
*
|
|
412
|
+
* @generated from protobuf field: sid.v1.admin.FlowType flow_type = 2
|
|
367
413
|
*/
|
|
368
|
-
flowType:
|
|
414
|
+
flowType: FlowType;
|
|
369
415
|
/**
|
|
370
|
-
*
|
|
416
|
+
* Action to delete.
|
|
417
|
+
*
|
|
418
|
+
* @generated from protobuf field: sid.v1.ids.FlowActionId action_id = 3
|
|
371
419
|
*/
|
|
372
|
-
actionId
|
|
420
|
+
actionId?: FlowActionId;
|
|
373
421
|
}
|
|
374
422
|
/**
|
|
375
423
|
* @generated from protobuf enum sid.v1.admin.FlowType
|