@camstack/types 1.2.332 → 1.2.334
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/dist/addon/base-addon.d.ts +32 -0
- package/dist/addon/secret-aware-context.d.ts +49 -6
- package/dist/addon/secret-settings-view.d.ts +23 -1
- package/dist/addon/secret-write-back.d.ts +40 -0
- package/dist/addon.js +5 -7
- package/dist/addon.mjs +5 -7
- package/dist/auth/app-callback.d.ts +28 -0
- package/dist/auth/sso-state.d.ts +16 -0
- package/dist/capabilities/addon-routes.cap.d.ts +3 -0
- package/dist/capabilities/addons.cap.d.ts +4 -4
- package/dist/capabilities/backup.cap.d.ts +101 -1
- package/dist/capabilities/broker.cap.d.ts +4 -4
- package/dist/capabilities/custom-model-registry.cap.d.ts +520 -0
- package/dist/capabilities/device-manager.cap.d.ts +4 -4
- package/dist/capabilities/hub-address.d.ts +2 -2
- package/dist/capabilities/index.d.ts +12 -6
- package/dist/capabilities/keychain-admin.cap.d.ts +83 -0
- package/dist/capabilities/login-method.cap.d.ts +5 -6
- package/dist/capabilities/nodes.cap.d.ts +8 -0
- package/dist/capabilities/notification-output.cap.d.ts +4 -4
- package/dist/capabilities/notification-rules.cap.d.ts +6 -6
- package/dist/capabilities/osd-manager.cap.d.ts +5 -5
- package/dist/capabilities/pipeline-analytics.cap.d.ts +39 -8
- package/dist/capabilities/recording.cap.d.ts +3 -3
- package/dist/capabilities/server-management.cap.d.ts +5 -5
- package/dist/capabilities/snapshot.cap.d.ts +2 -2
- package/dist/capabilities/sso-bridge.cap.d.ts +5 -2
- package/dist/capabilities/training-provider.cap.d.ts +373 -0
- package/dist/capabilities/training.cap.d.ts +1896 -0
- package/dist/capabilities/user-management.cap.d.ts +1 -64
- package/dist/capabilities/videoclips.cap.d.ts +3 -3
- package/dist/client.js +33 -5
- package/dist/client.mjs +33 -5
- package/dist/generated/addon-api.d.ts +872 -173
- package/dist/generated/cap-input-defaults.d.ts +1 -1
- package/dist/generated/capability-router-map.d.ts +10 -4
- package/dist/generated/collection-array-methods.d.ts +1 -1
- package/dist/generated/method-access-map.d.ts +1 -1
- package/dist/generated/method-device-selectors.d.ts +2 -2
- package/dist/generated/system-proxy.d.ts +5 -3
- package/dist/index.d.ts +3 -0
- package/dist/index.js +1469 -94
- package/dist/index.mjs +1420 -93
- package/dist/interfaces/addon-routes.d.ts +7 -0
- package/dist/interfaces/addon.d.ts +8 -0
- package/dist/interfaces/auth.d.ts +6 -3
- package/dist/interfaces/event-bus.d.ts +5 -0
- package/dist/schemas/auth-records.d.ts +1 -2
- package/dist/{sleep-ClNXPpWR.js → sleep-DiQYrfm9.js} +425 -75
- package/dist/{sleep-DujUvOcb.mjs → sleep-r3RWkGVx.mjs} +425 -75
- package/dist/training/index.d.ts +1 -0
- package/dist/training/trainer-contract.d.ts +468 -0
- package/package.json +1 -1
|
@@ -125,6 +125,8 @@ import type { switchCapability } from '../capabilities/switch.cap.js';
|
|
|
125
125
|
import type { systemCapability } from '../capabilities/system.cap.js';
|
|
126
126
|
import type { terminalSessionCapability } from '../capabilities/terminal-session.cap.js';
|
|
127
127
|
import type { toastCapability } from '../capabilities/toast.cap.js';
|
|
128
|
+
import type { trainingProviderCapability } from '../capabilities/training-provider.cap.js';
|
|
129
|
+
import type { trainingCapability } from '../capabilities/training.cap.js';
|
|
128
130
|
import type { turnProviderCapability } from '../capabilities/turn-provider.cap.js';
|
|
129
131
|
import type { updateCapability } from '../capabilities/update.cap.js';
|
|
130
132
|
import type { userManagementCapability } from '../capabilities/user-management.cap.js';
|
|
@@ -947,6 +949,34 @@ export type AppRouter = TrpcCoreRouter<{
|
|
|
947
949
|
output: z.infer<typeof backupCapability.methods.restore.output>;
|
|
948
950
|
meta: object;
|
|
949
951
|
}>;
|
|
952
|
+
getEncryption: TRPCQueryProcedure<{
|
|
953
|
+
input: {
|
|
954
|
+
nodeId?: string | undefined;
|
|
955
|
+
} | undefined;
|
|
956
|
+
output: z.infer<typeof backupCapability.methods.getEncryption.output>;
|
|
957
|
+
meta: object;
|
|
958
|
+
}>;
|
|
959
|
+
setupEncryption: TRPCMutationProcedure<{
|
|
960
|
+
input: {
|
|
961
|
+
[x: string]: unknown;
|
|
962
|
+
} & z.input<typeof backupCapability.methods.setupEncryption.input>;
|
|
963
|
+
output: z.infer<typeof backupCapability.methods.setupEncryption.output>;
|
|
964
|
+
meta: object;
|
|
965
|
+
}>;
|
|
966
|
+
disableEncryption: TRPCMutationProcedure<{
|
|
967
|
+
input: {
|
|
968
|
+
[x: string]: unknown;
|
|
969
|
+
} & z.input<typeof backupCapability.methods.disableEncryption.input>;
|
|
970
|
+
output: z.infer<typeof backupCapability.methods.disableEncryption.output>;
|
|
971
|
+
meta: object;
|
|
972
|
+
}>;
|
|
973
|
+
checkBackupKey: TRPCMutationProcedure<{
|
|
974
|
+
input: {
|
|
975
|
+
[x: string]: unknown;
|
|
976
|
+
} & z.input<typeof backupCapability.methods.checkBackupKey.input>;
|
|
977
|
+
output: z.infer<typeof backupCapability.methods.checkBackupKey.output>;
|
|
978
|
+
meta: object;
|
|
979
|
+
}>;
|
|
950
980
|
delete: TRPCMutationProcedure<{
|
|
951
981
|
input: {
|
|
952
982
|
[x: string]: unknown;
|
|
@@ -1792,6 +1822,13 @@ export type AppRouter = TrpcCoreRouter<{
|
|
|
1792
1822
|
output: z.infer<typeof customModelRegistryCapability.methods.listModels.output>;
|
|
1793
1823
|
meta: object;
|
|
1794
1824
|
}>;
|
|
1825
|
+
importModelBundle: TRPCMutationProcedure<{
|
|
1826
|
+
input: {
|
|
1827
|
+
[x: string]: unknown;
|
|
1828
|
+
} & z.input<typeof customModelRegistryCapability.methods.importModelBundle.input>;
|
|
1829
|
+
output: z.infer<typeof customModelRegistryCapability.methods.importModelBundle.output>;
|
|
1830
|
+
meta: object;
|
|
1831
|
+
}>;
|
|
1795
1832
|
}>>;
|
|
1796
1833
|
dataStoreProvider: TRPCBuiltRouter<{
|
|
1797
1834
|
ctx: TrpcContext;
|
|
@@ -3777,6 +3814,20 @@ export type AppRouter = TrpcCoreRouter<{
|
|
|
3777
3814
|
output: z.infer<typeof keychainAdminCapability.methods.resetKeychain.output>;
|
|
3778
3815
|
meta: object;
|
|
3779
3816
|
}>;
|
|
3817
|
+
resetReport: TRPCQueryProcedure<{
|
|
3818
|
+
input: {
|
|
3819
|
+
[x: string]: unknown;
|
|
3820
|
+
} & z.input<typeof keychainAdminCapability.methods.resetReport.input>;
|
|
3821
|
+
output: z.infer<typeof keychainAdminCapability.methods.resetReport.output>;
|
|
3822
|
+
meta: object;
|
|
3823
|
+
}>;
|
|
3824
|
+
acknowledgeReset: TRPCMutationProcedure<{
|
|
3825
|
+
input: {
|
|
3826
|
+
[x: string]: unknown;
|
|
3827
|
+
} & z.input<typeof keychainAdminCapability.methods.acknowledgeReset.input>;
|
|
3828
|
+
output: z.infer<typeof keychainAdminCapability.methods.acknowledgeReset.output>;
|
|
3829
|
+
meta: object;
|
|
3830
|
+
}>;
|
|
3780
3831
|
}>>;
|
|
3781
3832
|
lawnMowerControl: TRPCBuiltRouter<{
|
|
3782
3833
|
ctx: TrpcContext;
|
|
@@ -6058,6 +6109,13 @@ export type AppRouter = TrpcCoreRouter<{
|
|
|
6058
6109
|
output: z.infer<typeof pipelineAnalyticsCapability.methods.writeRetrainArchive.output>;
|
|
6059
6110
|
meta: object;
|
|
6060
6111
|
}>;
|
|
6112
|
+
offerRetrainArchive: TRPCMutationProcedure<{
|
|
6113
|
+
input: {
|
|
6114
|
+
[x: string]: unknown;
|
|
6115
|
+
} & z.input<typeof pipelineAnalyticsCapability.methods.offerRetrainArchive.input>;
|
|
6116
|
+
output: z.infer<typeof pipelineAnalyticsCapability.methods.offerRetrainArchive.output>;
|
|
6117
|
+
meta: object;
|
|
6118
|
+
}>;
|
|
6061
6119
|
previewRetrainDataset: TRPCQueryProcedure<{
|
|
6062
6120
|
input: {
|
|
6063
6121
|
[x: string]: unknown;
|
|
@@ -9249,6 +9307,216 @@ export type AppRouter = TrpcCoreRouter<{
|
|
|
9249
9307
|
meta: object;
|
|
9250
9308
|
}>;
|
|
9251
9309
|
}>>;
|
|
9310
|
+
training: TRPCBuiltRouter<{
|
|
9311
|
+
ctx: TrpcContext;
|
|
9312
|
+
meta: object;
|
|
9313
|
+
errorShape: AugmentedErrorShape;
|
|
9314
|
+
transformer: true;
|
|
9315
|
+
}, TRPCDecorateCreateRouterOptions<{
|
|
9316
|
+
putDatasetVersion: TRPCMutationProcedure<{
|
|
9317
|
+
input: {
|
|
9318
|
+
[x: string]: unknown;
|
|
9319
|
+
} & z.input<typeof trainingCapability.methods.putDatasetVersion.input>;
|
|
9320
|
+
output: z.infer<typeof trainingCapability.methods.putDatasetVersion.output>;
|
|
9321
|
+
meta: object;
|
|
9322
|
+
}>;
|
|
9323
|
+
getDatasetVersion: TRPCQueryProcedure<{
|
|
9324
|
+
input: {
|
|
9325
|
+
[x: string]: unknown;
|
|
9326
|
+
} & z.input<typeof trainingCapability.methods.getDatasetVersion.input>;
|
|
9327
|
+
output: z.infer<typeof trainingCapability.methods.getDatasetVersion.output>;
|
|
9328
|
+
meta: object;
|
|
9329
|
+
}>;
|
|
9330
|
+
listDatasetVersions: TRPCQueryProcedure<{
|
|
9331
|
+
input: {
|
|
9332
|
+
[x: string]: unknown;
|
|
9333
|
+
} & z.input<typeof trainingCapability.methods.listDatasetVersions.input>;
|
|
9334
|
+
output: z.infer<typeof trainingCapability.methods.listDatasetVersions.output>;
|
|
9335
|
+
meta: object;
|
|
9336
|
+
}>;
|
|
9337
|
+
findDatasetVersionIdByName: TRPCQueryProcedure<{
|
|
9338
|
+
input: {
|
|
9339
|
+
[x: string]: unknown;
|
|
9340
|
+
} & z.input<typeof trainingCapability.methods.findDatasetVersionIdByName.input>;
|
|
9341
|
+
output: z.infer<typeof trainingCapability.methods.findDatasetVersionIdByName.output>;
|
|
9342
|
+
meta: object;
|
|
9343
|
+
}>;
|
|
9344
|
+
removeDatasetVersion: TRPCMutationProcedure<{
|
|
9345
|
+
input: {
|
|
9346
|
+
[x: string]: unknown;
|
|
9347
|
+
} & z.input<typeof trainingCapability.methods.removeDatasetVersion.input>;
|
|
9348
|
+
output: z.infer<typeof trainingCapability.methods.removeDatasetVersion.output>;
|
|
9349
|
+
meta: object;
|
|
9350
|
+
}>;
|
|
9351
|
+
listBaseModels: TRPCQueryProcedure<{
|
|
9352
|
+
input: {
|
|
9353
|
+
[x: string]: unknown;
|
|
9354
|
+
} & z.input<typeof trainingCapability.methods.listBaseModels.input>;
|
|
9355
|
+
output: z.infer<typeof trainingCapability.methods.listBaseModels.output>;
|
|
9356
|
+
meta: object;
|
|
9357
|
+
}>;
|
|
9358
|
+
planJob: TRPCQueryProcedure<{
|
|
9359
|
+
input: {
|
|
9360
|
+
[x: string]: unknown;
|
|
9361
|
+
} & z.input<typeof trainingCapability.methods.planJob.input>;
|
|
9362
|
+
output: z.infer<typeof trainingCapability.methods.planJob.output>;
|
|
9363
|
+
meta: object;
|
|
9364
|
+
}>;
|
|
9365
|
+
startJob: TRPCMutationProcedure<{
|
|
9366
|
+
input: {
|
|
9367
|
+
[x: string]: unknown;
|
|
9368
|
+
} & z.input<typeof trainingCapability.methods.startJob.input>;
|
|
9369
|
+
output: z.infer<typeof trainingCapability.methods.startJob.output>;
|
|
9370
|
+
meta: object;
|
|
9371
|
+
}>;
|
|
9372
|
+
listJobs: TRPCQueryProcedure<{
|
|
9373
|
+
input: {
|
|
9374
|
+
[x: string]: unknown;
|
|
9375
|
+
} & z.input<typeof trainingCapability.methods.listJobs.input>;
|
|
9376
|
+
output: z.infer<typeof trainingCapability.methods.listJobs.output>;
|
|
9377
|
+
meta: object;
|
|
9378
|
+
}>;
|
|
9379
|
+
getJob: TRPCQueryProcedure<{
|
|
9380
|
+
input: {
|
|
9381
|
+
[x: string]: unknown;
|
|
9382
|
+
} & z.input<typeof trainingCapability.methods.getJob.input>;
|
|
9383
|
+
output: z.infer<typeof trainingCapability.methods.getJob.output>;
|
|
9384
|
+
meta: object;
|
|
9385
|
+
}>;
|
|
9386
|
+
cancelJob: TRPCMutationProcedure<{
|
|
9387
|
+
input: {
|
|
9388
|
+
[x: string]: unknown;
|
|
9389
|
+
} & z.input<typeof trainingCapability.methods.cancelJob.input>;
|
|
9390
|
+
output: z.infer<typeof trainingCapability.methods.cancelJob.output>;
|
|
9391
|
+
meta: object;
|
|
9392
|
+
}>;
|
|
9393
|
+
getJobResult: TRPCQueryProcedure<{
|
|
9394
|
+
input: {
|
|
9395
|
+
[x: string]: unknown;
|
|
9396
|
+
} & z.input<typeof trainingCapability.methods.getJobResult.input>;
|
|
9397
|
+
output: z.infer<typeof trainingCapability.methods.getJobResult.output>;
|
|
9398
|
+
meta: object;
|
|
9399
|
+
}>;
|
|
9400
|
+
registerResult: TRPCMutationProcedure<{
|
|
9401
|
+
input: {
|
|
9402
|
+
[x: string]: unknown;
|
|
9403
|
+
} & z.input<typeof trainingCapability.methods.registerResult.input>;
|
|
9404
|
+
output: z.infer<typeof trainingCapability.methods.registerResult.output>;
|
|
9405
|
+
meta: object;
|
|
9406
|
+
}>;
|
|
9407
|
+
canaryResult: TRPCMutationProcedure<{
|
|
9408
|
+
input: {
|
|
9409
|
+
[x: string]: unknown;
|
|
9410
|
+
} & z.input<typeof trainingCapability.methods.canaryResult.input>;
|
|
9411
|
+
output: z.infer<typeof trainingCapability.methods.canaryResult.output>;
|
|
9412
|
+
meta: object;
|
|
9413
|
+
}>;
|
|
9414
|
+
rollbackCanary: TRPCMutationProcedure<{
|
|
9415
|
+
input: {
|
|
9416
|
+
[x: string]: unknown;
|
|
9417
|
+
} & z.input<typeof trainingCapability.methods.rollbackCanary.input>;
|
|
9418
|
+
output: z.infer<typeof trainingCapability.methods.rollbackCanary.output>;
|
|
9419
|
+
meta: object;
|
|
9420
|
+
}>;
|
|
9421
|
+
discardResult: TRPCMutationProcedure<{
|
|
9422
|
+
input: {
|
|
9423
|
+
[x: string]: unknown;
|
|
9424
|
+
} & z.input<typeof trainingCapability.methods.discardResult.input>;
|
|
9425
|
+
output: z.infer<typeof trainingCapability.methods.discardResult.output>;
|
|
9426
|
+
meta: object;
|
|
9427
|
+
}>;
|
|
9428
|
+
}>>;
|
|
9429
|
+
trainingProvider: TRPCBuiltRouter<{
|
|
9430
|
+
ctx: TrpcContext;
|
|
9431
|
+
meta: object;
|
|
9432
|
+
errorShape: AugmentedErrorShape;
|
|
9433
|
+
transformer: true;
|
|
9434
|
+
}, TRPCDecorateCreateRouterOptions<{
|
|
9435
|
+
describe: TRPCQueryProcedure<{
|
|
9436
|
+
input: {
|
|
9437
|
+
[x: string]: unknown;
|
|
9438
|
+
} & z.input<typeof trainingProviderCapability.methods.describe.input>;
|
|
9439
|
+
output: z.infer<typeof trainingProviderCapability.methods.describe.output>;
|
|
9440
|
+
meta: object;
|
|
9441
|
+
}>;
|
|
9442
|
+
validateCredentials: TRPCMutationProcedure<{
|
|
9443
|
+
input: {
|
|
9444
|
+
[x: string]: unknown;
|
|
9445
|
+
} & z.input<typeof trainingProviderCapability.methods.validateCredentials.input>;
|
|
9446
|
+
output: z.infer<typeof trainingProviderCapability.methods.validateCredentials.output>;
|
|
9447
|
+
meta: object;
|
|
9448
|
+
}>;
|
|
9449
|
+
estimateJob: TRPCQueryProcedure<{
|
|
9450
|
+
input: {
|
|
9451
|
+
[x: string]: unknown;
|
|
9452
|
+
} & z.input<typeof trainingProviderCapability.methods.estimateJob.input>;
|
|
9453
|
+
output: z.infer<typeof trainingProviderCapability.methods.estimateJob.output>;
|
|
9454
|
+
meta: object;
|
|
9455
|
+
}>;
|
|
9456
|
+
uploadDataset: TRPCMutationProcedure<{
|
|
9457
|
+
input: {
|
|
9458
|
+
[x: string]: unknown;
|
|
9459
|
+
} & z.input<typeof trainingProviderCapability.methods.uploadDataset.input>;
|
|
9460
|
+
output: z.infer<typeof trainingProviderCapability.methods.uploadDataset.output>;
|
|
9461
|
+
meta: object;
|
|
9462
|
+
}>;
|
|
9463
|
+
submitJob: TRPCMutationProcedure<{
|
|
9464
|
+
input: {
|
|
9465
|
+
[x: string]: unknown;
|
|
9466
|
+
} & z.input<typeof trainingProviderCapability.methods.submitJob.input>;
|
|
9467
|
+
output: z.infer<typeof trainingProviderCapability.methods.submitJob.output>;
|
|
9468
|
+
meta: object;
|
|
9469
|
+
}>;
|
|
9470
|
+
getJob: TRPCQueryProcedure<{
|
|
9471
|
+
input: {
|
|
9472
|
+
[x: string]: unknown;
|
|
9473
|
+
} & z.input<typeof trainingProviderCapability.methods.getJob.input>;
|
|
9474
|
+
output: z.infer<typeof trainingProviderCapability.methods.getJob.output>;
|
|
9475
|
+
meta: object;
|
|
9476
|
+
}>;
|
|
9477
|
+
listJobEvents: TRPCQueryProcedure<{
|
|
9478
|
+
input: {
|
|
9479
|
+
[x: string]: unknown;
|
|
9480
|
+
} & z.input<typeof trainingProviderCapability.methods.listJobEvents.input>;
|
|
9481
|
+
output: z.infer<typeof trainingProviderCapability.methods.listJobEvents.output>;
|
|
9482
|
+
meta: object;
|
|
9483
|
+
}>;
|
|
9484
|
+
cancelJob: TRPCMutationProcedure<{
|
|
9485
|
+
input: {
|
|
9486
|
+
[x: string]: unknown;
|
|
9487
|
+
} & z.input<typeof trainingProviderCapability.methods.cancelJob.input>;
|
|
9488
|
+
output: z.infer<typeof trainingProviderCapability.methods.cancelJob.output>;
|
|
9489
|
+
meta: object;
|
|
9490
|
+
}>;
|
|
9491
|
+
readResult: TRPCMutationProcedure<{
|
|
9492
|
+
input: {
|
|
9493
|
+
[x: string]: unknown;
|
|
9494
|
+
} & z.input<typeof trainingProviderCapability.methods.readResult.input>;
|
|
9495
|
+
output: z.infer<typeof trainingProviderCapability.methods.readResult.output>;
|
|
9496
|
+
meta: object;
|
|
9497
|
+
}>;
|
|
9498
|
+
offerArtifact: TRPCMutationProcedure<{
|
|
9499
|
+
input: {
|
|
9500
|
+
[x: string]: unknown;
|
|
9501
|
+
} & z.input<typeof trainingProviderCapability.methods.offerArtifact.input>;
|
|
9502
|
+
output: z.infer<typeof trainingProviderCapability.methods.offerArtifact.output>;
|
|
9503
|
+
meta: object;
|
|
9504
|
+
}>;
|
|
9505
|
+
cleanupJob: TRPCMutationProcedure<{
|
|
9506
|
+
input: {
|
|
9507
|
+
[x: string]: unknown;
|
|
9508
|
+
} & z.input<typeof trainingProviderCapability.methods.cleanupJob.input>;
|
|
9509
|
+
output: z.infer<typeof trainingProviderCapability.methods.cleanupJob.output>;
|
|
9510
|
+
meta: object;
|
|
9511
|
+
}>;
|
|
9512
|
+
listJobs: TRPCQueryProcedure<{
|
|
9513
|
+
input: {
|
|
9514
|
+
[x: string]: unknown;
|
|
9515
|
+
} & z.input<typeof trainingProviderCapability.methods.listJobs.input>;
|
|
9516
|
+
output: z.infer<typeof trainingProviderCapability.methods.listJobs.output>;
|
|
9517
|
+
meta: object;
|
|
9518
|
+
}>;
|
|
9519
|
+
}>>;
|
|
9252
9520
|
turnProvider: TRPCBuiltRouter<{
|
|
9253
9521
|
ctx: TrpcContext;
|
|
9254
9522
|
meta: object;
|
|
@@ -9347,13 +9615,6 @@ export type AppRouter = TrpcCoreRouter<{
|
|
|
9347
9615
|
output: z.infer<typeof userManagementCapability.methods.listApiKeys.output>;
|
|
9348
9616
|
meta: object;
|
|
9349
9617
|
}>;
|
|
9350
|
-
createApiKey: TRPCMutationProcedure<{
|
|
9351
|
-
input: {
|
|
9352
|
-
[x: string]: unknown;
|
|
9353
|
-
} & z.input<typeof userManagementCapability.methods.createApiKey.input>;
|
|
9354
|
-
output: z.infer<typeof userManagementCapability.methods.createApiKey.output>;
|
|
9355
|
-
meta: object;
|
|
9356
|
-
}>;
|
|
9357
9618
|
revokeApiKey: TRPCMutationProcedure<{
|
|
9358
9619
|
input: {
|
|
9359
9620
|
[x: string]: unknown;
|
|
@@ -9361,13 +9622,6 @@ export type AppRouter = TrpcCoreRouter<{
|
|
|
9361
9622
|
output: z.infer<typeof userManagementCapability.methods.revokeApiKey.output>;
|
|
9362
9623
|
meta: object;
|
|
9363
9624
|
}>;
|
|
9364
|
-
validateApiKey: TRPCMutationProcedure<{
|
|
9365
|
-
input: {
|
|
9366
|
-
[x: string]: unknown;
|
|
9367
|
-
} & z.input<typeof userManagementCapability.methods.validateApiKey.input>;
|
|
9368
|
-
output: z.infer<typeof userManagementCapability.methods.validateApiKey.output>;
|
|
9369
|
-
meta: object;
|
|
9370
|
-
}>;
|
|
9371
9625
|
createScopedToken: TRPCMutationProcedure<{
|
|
9372
9626
|
input: {
|
|
9373
9627
|
[x: string]: unknown;
|
|
@@ -9473,13 +9727,6 @@ export type AppRouter = TrpcCoreRouter<{
|
|
|
9473
9727
|
output: z.infer<typeof userManagementCapability.methods.findUserByExternalIdentity.output>;
|
|
9474
9728
|
meta: object;
|
|
9475
9729
|
}>;
|
|
9476
|
-
linkExternalIdentity: TRPCMutationProcedure<{
|
|
9477
|
-
input: {
|
|
9478
|
-
[x: string]: unknown;
|
|
9479
|
-
} & z.input<typeof userManagementCapability.methods.linkExternalIdentity.input>;
|
|
9480
|
-
output: z.infer<typeof userManagementCapability.methods.linkExternalIdentity.output>;
|
|
9481
|
-
meta: object;
|
|
9482
|
-
}>;
|
|
9483
9730
|
unlinkExternalIdentity: TRPCMutationProcedure<{
|
|
9484
9731
|
input: {
|
|
9485
9732
|
[x: string]: unknown;
|
|
@@ -10945,92 +11192,280 @@ export type AppRouter = TrpcCoreRouter<{
|
|
|
10945
11192
|
errorShape: AugmentedErrorShape;
|
|
10946
11193
|
transformer: true;
|
|
10947
11194
|
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
10948
|
-
|
|
10949
|
-
input:
|
|
10950
|
-
username: string;
|
|
10951
|
-
password: string;
|
|
10952
|
-
};
|
|
11195
|
+
listLinkableProviders: import("@trpc/server").TRPCQueryProcedure<{
|
|
11196
|
+
input: void;
|
|
10953
11197
|
output: {
|
|
10954
|
-
|
|
10955
|
-
|
|
10956
|
-
|
|
10957
|
-
username: string;
|
|
10958
|
-
isAdmin: boolean;
|
|
10959
|
-
};
|
|
10960
|
-
requiresTotp?: boolean | undefined;
|
|
10961
|
-
secondFactors?: ("totp" | "passkey")[] | undefined;
|
|
10962
|
-
};
|
|
11198
|
+
provider: string;
|
|
11199
|
+
label: string;
|
|
11200
|
+
}[];
|
|
10963
11201
|
meta: object;
|
|
10964
11202
|
}>;
|
|
10965
|
-
|
|
11203
|
+
beginExternalLink: import("@trpc/server").TRPCMutationProcedure<{
|
|
10966
11204
|
input: {
|
|
10967
|
-
|
|
10968
|
-
|
|
11205
|
+
provider: string;
|
|
11206
|
+
returnTo?: string | undefined;
|
|
11207
|
+
reauthToken?: string | undefined;
|
|
10969
11208
|
};
|
|
10970
11209
|
output: {
|
|
10971
|
-
|
|
10972
|
-
user: {
|
|
10973
|
-
id: string;
|
|
10974
|
-
username: string;
|
|
10975
|
-
isAdmin: boolean;
|
|
10976
|
-
};
|
|
10977
|
-
requiresTotp?: boolean | undefined;
|
|
10978
|
-
secondFactors?: ("totp" | "passkey")[] | undefined;
|
|
11210
|
+
url: string;
|
|
10979
11211
|
};
|
|
10980
11212
|
meta: object;
|
|
10981
11213
|
}>;
|
|
10982
|
-
|
|
11214
|
+
completeExternalLink: import("@trpc/server").TRPCMutationProcedure<{
|
|
10983
11215
|
input: {
|
|
10984
|
-
|
|
11216
|
+
code: string;
|
|
10985
11217
|
};
|
|
10986
11218
|
output: {
|
|
10987
|
-
|
|
11219
|
+
outcome: "session" | "linked" | "conflict" | "expired";
|
|
11220
|
+
provider?: string | undefined;
|
|
10988
11221
|
};
|
|
10989
11222
|
meta: object;
|
|
10990
11223
|
}>;
|
|
10991
|
-
|
|
10992
|
-
input:
|
|
10993
|
-
challengeToken: string;
|
|
10994
|
-
response: Record<string, unknown>;
|
|
10995
|
-
};
|
|
11224
|
+
createBrowserHandoff: import("@trpc/server").TRPCMutationProcedure<{
|
|
11225
|
+
input: void;
|
|
10996
11226
|
output: {
|
|
10997
|
-
|
|
10998
|
-
|
|
10999
|
-
id: string;
|
|
11000
|
-
username: string;
|
|
11001
|
-
isAdmin: boolean;
|
|
11002
|
-
};
|
|
11003
|
-
requiresTotp?: boolean | undefined;
|
|
11004
|
-
secondFactors?: ("totp" | "passkey")[] | undefined;
|
|
11227
|
+
path: string;
|
|
11228
|
+
expiresAt: number;
|
|
11005
11229
|
};
|
|
11006
11230
|
meta: object;
|
|
11007
11231
|
}>;
|
|
11008
|
-
|
|
11232
|
+
listOwnExternalIdentities: import("@trpc/server").TRPCQueryProcedure<{
|
|
11009
11233
|
input: void;
|
|
11010
11234
|
output: {
|
|
11011
|
-
|
|
11012
|
-
|
|
11235
|
+
provider: string;
|
|
11236
|
+
subject: string;
|
|
11237
|
+
linkedAt: number;
|
|
11238
|
+
providerLabel: string | null;
|
|
11239
|
+
available: boolean;
|
|
11240
|
+
label?: string | undefined;
|
|
11241
|
+
}[];
|
|
11013
11242
|
meta: object;
|
|
11014
11243
|
}>;
|
|
11015
|
-
|
|
11244
|
+
unlinkOwnExternalIdentity: import("@trpc/server").TRPCMutationProcedure<{
|
|
11016
11245
|
input: {
|
|
11017
|
-
|
|
11246
|
+
provider: string;
|
|
11247
|
+
subject: string;
|
|
11018
11248
|
};
|
|
11019
11249
|
output: {
|
|
11020
|
-
|
|
11021
|
-
user: {
|
|
11022
|
-
id: string;
|
|
11023
|
-
username: string;
|
|
11024
|
-
isAdmin: boolean;
|
|
11025
|
-
};
|
|
11026
|
-
requiresTotp?: boolean | undefined;
|
|
11027
|
-
secondFactors?: ("totp" | "passkey")[] | undefined;
|
|
11250
|
+
success: boolean;
|
|
11028
11251
|
};
|
|
11029
11252
|
meta: object;
|
|
11030
11253
|
}>;
|
|
11031
|
-
|
|
11032
|
-
input:
|
|
11033
|
-
output: {
|
|
11254
|
+
listLoginMethods: import("@trpc/server").TRPCQueryProcedure<{
|
|
11255
|
+
input: void;
|
|
11256
|
+
output: readonly ({
|
|
11257
|
+
kind: "redirect";
|
|
11258
|
+
id: string;
|
|
11259
|
+
label: string;
|
|
11260
|
+
startUrl: string;
|
|
11261
|
+
stage: "primary" | "second-factor";
|
|
11262
|
+
icon?: string | undefined;
|
|
11263
|
+
linkable?: boolean | undefined;
|
|
11264
|
+
} | {
|
|
11265
|
+
kind: "widget";
|
|
11266
|
+
id: string;
|
|
11267
|
+
addonId: string;
|
|
11268
|
+
bundle: string;
|
|
11269
|
+
remote: {
|
|
11270
|
+
remoteName: string;
|
|
11271
|
+
exposedModule: string;
|
|
11272
|
+
componentKey?: string | undefined;
|
|
11273
|
+
};
|
|
11274
|
+
stage: "primary" | "second-factor";
|
|
11275
|
+
bundleUrl: string;
|
|
11276
|
+
} | {
|
|
11277
|
+
kind: "passkey";
|
|
11278
|
+
id: string;
|
|
11279
|
+
label: string;
|
|
11280
|
+
stage: "primary" | "second-factor";
|
|
11281
|
+
rpId: string;
|
|
11282
|
+
origin: string | null;
|
|
11283
|
+
})[];
|
|
11284
|
+
meta: object;
|
|
11285
|
+
}>;
|
|
11286
|
+
revokeCredentials: import("@trpc/server").TRPCMutationProcedure<{
|
|
11287
|
+
input: {
|
|
11288
|
+
kind: "share-link" | "admin-token" | "login-session";
|
|
11289
|
+
ids: string[];
|
|
11290
|
+
confirmCount: number;
|
|
11291
|
+
};
|
|
11292
|
+
output: {
|
|
11293
|
+
revoked: string[];
|
|
11294
|
+
skipped: {
|
|
11295
|
+
id: string;
|
|
11296
|
+
reason: "current-session" | "not-active";
|
|
11297
|
+
}[];
|
|
11298
|
+
};
|
|
11299
|
+
meta: object;
|
|
11300
|
+
}>;
|
|
11301
|
+
createAdminToken: import("@trpc/server").TRPCMutationProcedure<{
|
|
11302
|
+
input: {
|
|
11303
|
+
name: string;
|
|
11304
|
+
expiresInDays?: number | undefined;
|
|
11305
|
+
reauthToken?: string | undefined;
|
|
11306
|
+
};
|
|
11307
|
+
output: {
|
|
11308
|
+
token: string;
|
|
11309
|
+
record: {
|
|
11310
|
+
id: string;
|
|
11311
|
+
createdBy: string;
|
|
11312
|
+
name: string;
|
|
11313
|
+
tokenPrefix: string;
|
|
11314
|
+
createdAt: number;
|
|
11315
|
+
expiresAt: number;
|
|
11316
|
+
lastUsedAt: number | null;
|
|
11317
|
+
revokedAt: number | null;
|
|
11318
|
+
};
|
|
11319
|
+
};
|
|
11320
|
+
meta: object;
|
|
11321
|
+
}>;
|
|
11322
|
+
listAdminTokens: import("@trpc/server").TRPCQueryProcedure<{
|
|
11323
|
+
input: void;
|
|
11324
|
+
output: {
|
|
11325
|
+
id: string;
|
|
11326
|
+
createdBy: string;
|
|
11327
|
+
name: string;
|
|
11328
|
+
tokenPrefix: string;
|
|
11329
|
+
createdAt: number;
|
|
11330
|
+
expiresAt: number;
|
|
11331
|
+
lastUsedAt: number | null;
|
|
11332
|
+
revokedAt: number | null;
|
|
11333
|
+
}[];
|
|
11334
|
+
meta: object;
|
|
11335
|
+
}>;
|
|
11336
|
+
revokeAdminToken: import("@trpc/server").TRPCMutationProcedure<{
|
|
11337
|
+
input: {
|
|
11338
|
+
id: string;
|
|
11339
|
+
};
|
|
11340
|
+
output: {
|
|
11341
|
+
success: boolean;
|
|
11342
|
+
};
|
|
11343
|
+
meta: object;
|
|
11344
|
+
}>;
|
|
11345
|
+
listAuthAudit: import("@trpc/server").TRPCQueryProcedure<{
|
|
11346
|
+
input: {
|
|
11347
|
+
limit?: number | undefined;
|
|
11348
|
+
userId?: string | undefined;
|
|
11349
|
+
} | undefined;
|
|
11350
|
+
output: {
|
|
11351
|
+
id: string;
|
|
11352
|
+
at: number;
|
|
11353
|
+
action: string;
|
|
11354
|
+
userId?: string | undefined;
|
|
11355
|
+
ip?: string | undefined;
|
|
11356
|
+
detail?: Record<string, string | number | boolean> | undefined;
|
|
11357
|
+
}[];
|
|
11358
|
+
meta: object;
|
|
11359
|
+
}>;
|
|
11360
|
+
reauthBeginPasskey: import("@trpc/server").TRPCMutationProcedure<{
|
|
11361
|
+
input: void;
|
|
11362
|
+
output: {
|
|
11363
|
+
optionsJSON: Record<string, unknown>;
|
|
11364
|
+
};
|
|
11365
|
+
meta: object;
|
|
11366
|
+
}>;
|
|
11367
|
+
reauthenticate: import("@trpc/server").TRPCMutationProcedure<{
|
|
11368
|
+
input: {
|
|
11369
|
+
password: string;
|
|
11370
|
+
} | {
|
|
11371
|
+
passkeyResponse: Record<string, unknown>;
|
|
11372
|
+
};
|
|
11373
|
+
output: {
|
|
11374
|
+
reauthToken: string;
|
|
11375
|
+
expiresAt: number;
|
|
11376
|
+
method: "password" | "passkey";
|
|
11377
|
+
};
|
|
11378
|
+
meta: object;
|
|
11379
|
+
}>;
|
|
11380
|
+
refreshSession: import("@trpc/server").TRPCMutationProcedure<{
|
|
11381
|
+
input: {
|
|
11382
|
+
refreshToken: string;
|
|
11383
|
+
};
|
|
11384
|
+
output: {
|
|
11385
|
+
token: string;
|
|
11386
|
+
refreshToken: string;
|
|
11387
|
+
expiresAt: number;
|
|
11388
|
+
sessionId: string;
|
|
11389
|
+
sessionExpiresAt: number;
|
|
11390
|
+
user: {
|
|
11391
|
+
id: string;
|
|
11392
|
+
username: string;
|
|
11393
|
+
isAdmin: boolean;
|
|
11394
|
+
};
|
|
11395
|
+
};
|
|
11396
|
+
meta: object;
|
|
11397
|
+
}>;
|
|
11398
|
+
logout: import("@trpc/server").TRPCMutationProcedure<{
|
|
11399
|
+
input: {
|
|
11400
|
+
everywhere?: boolean | undefined;
|
|
11401
|
+
} | undefined;
|
|
11402
|
+
output: {
|
|
11403
|
+
success: true;
|
|
11404
|
+
revoked: number;
|
|
11405
|
+
};
|
|
11406
|
+
meta: object;
|
|
11407
|
+
}>;
|
|
11408
|
+
listOwnSessions: import("@trpc/server").TRPCQueryProcedure<{
|
|
11409
|
+
input: void;
|
|
11410
|
+
output: {
|
|
11411
|
+
id: string;
|
|
11412
|
+
userId: string;
|
|
11413
|
+
method: string;
|
|
11414
|
+
refreshable: boolean;
|
|
11415
|
+
createdAt: number;
|
|
11416
|
+
lastUsedAt: number;
|
|
11417
|
+
expiresAt: number;
|
|
11418
|
+
client: string | null;
|
|
11419
|
+
ip: string | null;
|
|
11420
|
+
current: boolean;
|
|
11421
|
+
}[];
|
|
11422
|
+
meta: object;
|
|
11423
|
+
}>;
|
|
11424
|
+
revokeOwnSession: import("@trpc/server").TRPCMutationProcedure<{
|
|
11425
|
+
input: {
|
|
11426
|
+
id: string;
|
|
11427
|
+
};
|
|
11428
|
+
output: {
|
|
11429
|
+
success: boolean;
|
|
11430
|
+
};
|
|
11431
|
+
meta: object;
|
|
11432
|
+
}>;
|
|
11433
|
+
listSessions: import("@trpc/server").TRPCQueryProcedure<{
|
|
11434
|
+
input: {
|
|
11435
|
+
userId?: string | undefined;
|
|
11436
|
+
} | undefined;
|
|
11437
|
+
output: {
|
|
11438
|
+
id: string;
|
|
11439
|
+
userId: string;
|
|
11440
|
+
method: string;
|
|
11441
|
+
refreshable: boolean;
|
|
11442
|
+
createdAt: number;
|
|
11443
|
+
lastUsedAt: number;
|
|
11444
|
+
expiresAt: number;
|
|
11445
|
+
client: string | null;
|
|
11446
|
+
ip: string | null;
|
|
11447
|
+
current: boolean;
|
|
11448
|
+
}[];
|
|
11449
|
+
meta: object;
|
|
11450
|
+
}>;
|
|
11451
|
+
revokeSessions: import("@trpc/server").TRPCMutationProcedure<{
|
|
11452
|
+
input: {
|
|
11453
|
+
id: string;
|
|
11454
|
+
} | {
|
|
11455
|
+
userId: string;
|
|
11456
|
+
};
|
|
11457
|
+
output: {
|
|
11458
|
+
revoked: number;
|
|
11459
|
+
};
|
|
11460
|
+
meta: object;
|
|
11461
|
+
}>;
|
|
11462
|
+
login: import("@trpc/server").TRPCMutationProcedure<{
|
|
11463
|
+
input: {
|
|
11464
|
+
username: string;
|
|
11465
|
+
password: string;
|
|
11466
|
+
refreshable?: boolean | undefined;
|
|
11467
|
+
};
|
|
11468
|
+
output: {
|
|
11034
11469
|
token: string;
|
|
11035
11470
|
user: {
|
|
11036
11471
|
id: string;
|
|
@@ -11039,11 +11474,118 @@ export type AppRouter = TrpcCoreRouter<{
|
|
|
11039
11474
|
};
|
|
11040
11475
|
requiresTotp?: boolean | undefined;
|
|
11041
11476
|
secondFactors?: ("totp" | "passkey")[] | undefined;
|
|
11477
|
+
expiresAt?: number | undefined;
|
|
11478
|
+
sessionId?: string | undefined;
|
|
11479
|
+
sessionExpiresAt?: number | undefined;
|
|
11480
|
+
refreshToken?: string | undefined;
|
|
11042
11481
|
};
|
|
11043
11482
|
meta: object;
|
|
11044
11483
|
}>;
|
|
11045
|
-
|
|
11484
|
+
loginVerifyTotp: import("@trpc/server").TRPCMutationProcedure<{
|
|
11485
|
+
input: {
|
|
11486
|
+
challengeToken: string;
|
|
11487
|
+
code: string;
|
|
11488
|
+
refreshable?: boolean | undefined;
|
|
11489
|
+
};
|
|
11490
|
+
output: {
|
|
11491
|
+
token: string;
|
|
11492
|
+
user: {
|
|
11493
|
+
id: string;
|
|
11494
|
+
username: string;
|
|
11495
|
+
isAdmin: boolean;
|
|
11496
|
+
};
|
|
11497
|
+
requiresTotp?: boolean | undefined;
|
|
11498
|
+
secondFactors?: ("totp" | "passkey")[] | undefined;
|
|
11499
|
+
expiresAt?: number | undefined;
|
|
11500
|
+
sessionId?: string | undefined;
|
|
11501
|
+
sessionExpiresAt?: number | undefined;
|
|
11502
|
+
refreshToken?: string | undefined;
|
|
11503
|
+
};
|
|
11504
|
+
meta: object;
|
|
11505
|
+
}>;
|
|
11506
|
+
loginBeginPasskey: import("@trpc/server").TRPCMutationProcedure<{
|
|
11507
|
+
input: {
|
|
11508
|
+
challengeToken: string;
|
|
11509
|
+
};
|
|
11510
|
+
output: {
|
|
11511
|
+
optionsJSON: Record<string, unknown>;
|
|
11512
|
+
};
|
|
11513
|
+
meta: object;
|
|
11514
|
+
}>;
|
|
11515
|
+
loginVerifyPasskey: import("@trpc/server").TRPCMutationProcedure<{
|
|
11516
|
+
input: {
|
|
11517
|
+
challengeToken: string;
|
|
11518
|
+
response: Record<string, unknown>;
|
|
11519
|
+
refreshable?: boolean | undefined;
|
|
11520
|
+
};
|
|
11521
|
+
output: {
|
|
11522
|
+
token: string;
|
|
11523
|
+
user: {
|
|
11524
|
+
id: string;
|
|
11525
|
+
username: string;
|
|
11526
|
+
isAdmin: boolean;
|
|
11527
|
+
};
|
|
11528
|
+
requiresTotp?: boolean | undefined;
|
|
11529
|
+
secondFactors?: ("totp" | "passkey")[] | undefined;
|
|
11530
|
+
expiresAt?: number | undefined;
|
|
11531
|
+
sessionId?: string | undefined;
|
|
11532
|
+
sessionExpiresAt?: number | undefined;
|
|
11533
|
+
refreshToken?: string | undefined;
|
|
11534
|
+
};
|
|
11535
|
+
meta: object;
|
|
11536
|
+
}>;
|
|
11537
|
+
passkeyLoginBegin: import("@trpc/server").TRPCMutationProcedure<{
|
|
11046
11538
|
input: void;
|
|
11539
|
+
output: {
|
|
11540
|
+
optionsJSON: Record<string, unknown>;
|
|
11541
|
+
};
|
|
11542
|
+
meta: object;
|
|
11543
|
+
}>;
|
|
11544
|
+
passkeyLoginFinish: import("@trpc/server").TRPCMutationProcedure<{
|
|
11545
|
+
input: {
|
|
11546
|
+
response: Record<string, unknown>;
|
|
11547
|
+
refreshable?: boolean | undefined;
|
|
11548
|
+
};
|
|
11549
|
+
output: {
|
|
11550
|
+
token: string;
|
|
11551
|
+
user: {
|
|
11552
|
+
id: string;
|
|
11553
|
+
username: string;
|
|
11554
|
+
isAdmin: boolean;
|
|
11555
|
+
};
|
|
11556
|
+
requiresTotp?: boolean | undefined;
|
|
11557
|
+
secondFactors?: ("totp" | "passkey")[] | undefined;
|
|
11558
|
+
expiresAt?: number | undefined;
|
|
11559
|
+
sessionId?: string | undefined;
|
|
11560
|
+
sessionExpiresAt?: number | undefined;
|
|
11561
|
+
refreshToken?: string | undefined;
|
|
11562
|
+
};
|
|
11563
|
+
meta: object;
|
|
11564
|
+
}>;
|
|
11565
|
+
exchangeSession: import("@trpc/server").TRPCMutationProcedure<{
|
|
11566
|
+
input: {
|
|
11567
|
+
refreshable?: boolean | undefined;
|
|
11568
|
+
} | undefined;
|
|
11569
|
+
output: {
|
|
11570
|
+
token: string;
|
|
11571
|
+
user: {
|
|
11572
|
+
id: string;
|
|
11573
|
+
username: string;
|
|
11574
|
+
isAdmin: boolean;
|
|
11575
|
+
};
|
|
11576
|
+
requiresTotp?: boolean | undefined;
|
|
11577
|
+
secondFactors?: ("totp" | "passkey")[] | undefined;
|
|
11578
|
+
expiresAt?: number | undefined;
|
|
11579
|
+
sessionId?: string | undefined;
|
|
11580
|
+
sessionExpiresAt?: number | undefined;
|
|
11581
|
+
refreshToken?: string | undefined;
|
|
11582
|
+
};
|
|
11583
|
+
meta: object;
|
|
11584
|
+
}>;
|
|
11585
|
+
createHandoffCode: import("@trpc/server").TRPCMutationProcedure<{
|
|
11586
|
+
input: {
|
|
11587
|
+
purpose?: "renew" | "new-session" | undefined;
|
|
11588
|
+
} | undefined;
|
|
11047
11589
|
output: {
|
|
11048
11590
|
code: string;
|
|
11049
11591
|
expiresAt: number;
|
|
@@ -11053,6 +11595,7 @@ export type AppRouter = TrpcCoreRouter<{
|
|
|
11053
11595
|
redeemHandoffCode: import("@trpc/server").TRPCMutationProcedure<{
|
|
11054
11596
|
input: {
|
|
11055
11597
|
code: string;
|
|
11598
|
+
refreshable?: boolean | undefined;
|
|
11056
11599
|
};
|
|
11057
11600
|
output: {
|
|
11058
11601
|
token: string;
|
|
@@ -11063,6 +11606,10 @@ export type AppRouter = TrpcCoreRouter<{
|
|
|
11063
11606
|
};
|
|
11064
11607
|
requiresTotp?: boolean | undefined;
|
|
11065
11608
|
secondFactors?: ("totp" | "passkey")[] | undefined;
|
|
11609
|
+
expiresAt?: number | undefined;
|
|
11610
|
+
sessionId?: string | undefined;
|
|
11611
|
+
sessionExpiresAt?: number | undefined;
|
|
11612
|
+
refreshToken?: string | undefined;
|
|
11066
11613
|
};
|
|
11067
11614
|
meta: object;
|
|
11068
11615
|
}>;
|
|
@@ -11078,7 +11625,6 @@ export type AppRouter = TrpcCoreRouter<{
|
|
|
11078
11625
|
allowedDevices: Record<string, unknown>;
|
|
11079
11626
|
};
|
|
11080
11627
|
isApiKey: boolean;
|
|
11081
|
-
agentId?: string | undefined;
|
|
11082
11628
|
scope?: {
|
|
11083
11629
|
isAdmin: boolean;
|
|
11084
11630
|
allDevicesViewable: boolean;
|
|
@@ -11173,7 +11719,9 @@ export type AppRouter = TrpcCoreRouter<{
|
|
|
11173
11719
|
meta: object;
|
|
11174
11720
|
}>;
|
|
11175
11721
|
disableOwnTotp: import("@trpc/server").TRPCMutationProcedure<{
|
|
11176
|
-
input:
|
|
11722
|
+
input: {
|
|
11723
|
+
reauthToken: string;
|
|
11724
|
+
} | undefined;
|
|
11177
11725
|
output: {
|
|
11178
11726
|
success: true;
|
|
11179
11727
|
};
|
|
@@ -11219,6 +11767,7 @@ export type AppRouter = TrpcCoreRouter<{
|
|
|
11219
11767
|
removeOwnPasskey: import("@trpc/server").TRPCMutationProcedure<{
|
|
11220
11768
|
input: {
|
|
11221
11769
|
credentialId: string;
|
|
11770
|
+
reauthToken?: string | undefined;
|
|
11222
11771
|
};
|
|
11223
11772
|
output: {
|
|
11224
11773
|
success: true;
|
|
@@ -11267,7 +11816,9 @@ export type AppRouter = TrpcCoreRouter<{
|
|
|
11267
11816
|
meta: object;
|
|
11268
11817
|
}>;
|
|
11269
11818
|
listShareTokens: import("@trpc/server").TRPCQueryProcedure<{
|
|
11270
|
-
input:
|
|
11819
|
+
input: {
|
|
11820
|
+
owner?: "all" | "self" | undefined;
|
|
11821
|
+
} | undefined;
|
|
11271
11822
|
output: {
|
|
11272
11823
|
id: string;
|
|
11273
11824
|
userId: string;
|
|
@@ -11284,13 +11835,7 @@ export type AppRouter = TrpcCoreRouter<{
|
|
|
11284
11835
|
}[];
|
|
11285
11836
|
meta: object;
|
|
11286
11837
|
}>;
|
|
11287
|
-
|
|
11288
|
-
input: void;
|
|
11289
|
-
output: {
|
|
11290
|
-
success: true;
|
|
11291
|
-
};
|
|
11292
|
-
meta: object;
|
|
11293
|
-
}>;
|
|
11838
|
+
}>> & import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
11294
11839
|
listLinkableProviders: import("@trpc/server").TRPCQueryProcedure<{
|
|
11295
11840
|
input: void;
|
|
11296
11841
|
output: {
|
|
@@ -11302,12 +11847,32 @@ export type AppRouter = TrpcCoreRouter<{
|
|
|
11302
11847
|
beginExternalLink: import("@trpc/server").TRPCMutationProcedure<{
|
|
11303
11848
|
input: {
|
|
11304
11849
|
provider: string;
|
|
11850
|
+
returnTo?: string | undefined;
|
|
11851
|
+
reauthToken?: string | undefined;
|
|
11305
11852
|
};
|
|
11306
11853
|
output: {
|
|
11307
11854
|
url: string;
|
|
11308
11855
|
};
|
|
11309
11856
|
meta: object;
|
|
11310
11857
|
}>;
|
|
11858
|
+
completeExternalLink: import("@trpc/server").TRPCMutationProcedure<{
|
|
11859
|
+
input: {
|
|
11860
|
+
code: string;
|
|
11861
|
+
};
|
|
11862
|
+
output: {
|
|
11863
|
+
outcome: "session" | "linked" | "conflict" | "expired";
|
|
11864
|
+
provider?: string | undefined;
|
|
11865
|
+
};
|
|
11866
|
+
meta: object;
|
|
11867
|
+
}>;
|
|
11868
|
+
createBrowserHandoff: import("@trpc/server").TRPCMutationProcedure<{
|
|
11869
|
+
input: void;
|
|
11870
|
+
output: {
|
|
11871
|
+
path: string;
|
|
11872
|
+
expiresAt: number;
|
|
11873
|
+
};
|
|
11874
|
+
meta: object;
|
|
11875
|
+
}>;
|
|
11311
11876
|
listOwnExternalIdentities: import("@trpc/server").TRPCQueryProcedure<{
|
|
11312
11877
|
input: void;
|
|
11313
11878
|
output: {
|
|
@@ -11362,11 +11927,187 @@ export type AppRouter = TrpcCoreRouter<{
|
|
|
11362
11927
|
})[];
|
|
11363
11928
|
meta: object;
|
|
11364
11929
|
}>;
|
|
11365
|
-
|
|
11930
|
+
revokeCredentials: import("@trpc/server").TRPCMutationProcedure<{
|
|
11931
|
+
input: {
|
|
11932
|
+
kind: "share-link" | "admin-token" | "login-session";
|
|
11933
|
+
ids: string[];
|
|
11934
|
+
confirmCount: number;
|
|
11935
|
+
};
|
|
11936
|
+
output: {
|
|
11937
|
+
revoked: string[];
|
|
11938
|
+
skipped: {
|
|
11939
|
+
id: string;
|
|
11940
|
+
reason: "current-session" | "not-active";
|
|
11941
|
+
}[];
|
|
11942
|
+
};
|
|
11943
|
+
meta: object;
|
|
11944
|
+
}>;
|
|
11945
|
+
createAdminToken: import("@trpc/server").TRPCMutationProcedure<{
|
|
11946
|
+
input: {
|
|
11947
|
+
name: string;
|
|
11948
|
+
expiresInDays?: number | undefined;
|
|
11949
|
+
reauthToken?: string | undefined;
|
|
11950
|
+
};
|
|
11951
|
+
output: {
|
|
11952
|
+
token: string;
|
|
11953
|
+
record: {
|
|
11954
|
+
id: string;
|
|
11955
|
+
createdBy: string;
|
|
11956
|
+
name: string;
|
|
11957
|
+
tokenPrefix: string;
|
|
11958
|
+
createdAt: number;
|
|
11959
|
+
expiresAt: number;
|
|
11960
|
+
lastUsedAt: number | null;
|
|
11961
|
+
revokedAt: number | null;
|
|
11962
|
+
};
|
|
11963
|
+
};
|
|
11964
|
+
meta: object;
|
|
11965
|
+
}>;
|
|
11966
|
+
listAdminTokens: import("@trpc/server").TRPCQueryProcedure<{
|
|
11967
|
+
input: void;
|
|
11968
|
+
output: {
|
|
11969
|
+
id: string;
|
|
11970
|
+
createdBy: string;
|
|
11971
|
+
name: string;
|
|
11972
|
+
tokenPrefix: string;
|
|
11973
|
+
createdAt: number;
|
|
11974
|
+
expiresAt: number;
|
|
11975
|
+
lastUsedAt: number | null;
|
|
11976
|
+
revokedAt: number | null;
|
|
11977
|
+
}[];
|
|
11978
|
+
meta: object;
|
|
11979
|
+
}>;
|
|
11980
|
+
revokeAdminToken: import("@trpc/server").TRPCMutationProcedure<{
|
|
11981
|
+
input: {
|
|
11982
|
+
id: string;
|
|
11983
|
+
};
|
|
11984
|
+
output: {
|
|
11985
|
+
success: boolean;
|
|
11986
|
+
};
|
|
11987
|
+
meta: object;
|
|
11988
|
+
}>;
|
|
11989
|
+
listAuthAudit: import("@trpc/server").TRPCQueryProcedure<{
|
|
11990
|
+
input: {
|
|
11991
|
+
limit?: number | undefined;
|
|
11992
|
+
userId?: string | undefined;
|
|
11993
|
+
} | undefined;
|
|
11994
|
+
output: {
|
|
11995
|
+
id: string;
|
|
11996
|
+
at: number;
|
|
11997
|
+
action: string;
|
|
11998
|
+
userId?: string | undefined;
|
|
11999
|
+
ip?: string | undefined;
|
|
12000
|
+
detail?: Record<string, string | number | boolean> | undefined;
|
|
12001
|
+
}[];
|
|
12002
|
+
meta: object;
|
|
12003
|
+
}>;
|
|
12004
|
+
reauthBeginPasskey: import("@trpc/server").TRPCMutationProcedure<{
|
|
12005
|
+
input: void;
|
|
12006
|
+
output: {
|
|
12007
|
+
optionsJSON: Record<string, unknown>;
|
|
12008
|
+
};
|
|
12009
|
+
meta: object;
|
|
12010
|
+
}>;
|
|
12011
|
+
reauthenticate: import("@trpc/server").TRPCMutationProcedure<{
|
|
12012
|
+
input: {
|
|
12013
|
+
password: string;
|
|
12014
|
+
} | {
|
|
12015
|
+
passkeyResponse: Record<string, unknown>;
|
|
12016
|
+
};
|
|
12017
|
+
output: {
|
|
12018
|
+
reauthToken: string;
|
|
12019
|
+
expiresAt: number;
|
|
12020
|
+
method: "password" | "passkey";
|
|
12021
|
+
};
|
|
12022
|
+
meta: object;
|
|
12023
|
+
}>;
|
|
12024
|
+
refreshSession: import("@trpc/server").TRPCMutationProcedure<{
|
|
12025
|
+
input: {
|
|
12026
|
+
refreshToken: string;
|
|
12027
|
+
};
|
|
12028
|
+
output: {
|
|
12029
|
+
token: string;
|
|
12030
|
+
refreshToken: string;
|
|
12031
|
+
expiresAt: number;
|
|
12032
|
+
sessionId: string;
|
|
12033
|
+
sessionExpiresAt: number;
|
|
12034
|
+
user: {
|
|
12035
|
+
id: string;
|
|
12036
|
+
username: string;
|
|
12037
|
+
isAdmin: boolean;
|
|
12038
|
+
};
|
|
12039
|
+
};
|
|
12040
|
+
meta: object;
|
|
12041
|
+
}>;
|
|
12042
|
+
logout: import("@trpc/server").TRPCMutationProcedure<{
|
|
12043
|
+
input: {
|
|
12044
|
+
everywhere?: boolean | undefined;
|
|
12045
|
+
} | undefined;
|
|
12046
|
+
output: {
|
|
12047
|
+
success: true;
|
|
12048
|
+
revoked: number;
|
|
12049
|
+
};
|
|
12050
|
+
meta: object;
|
|
12051
|
+
}>;
|
|
12052
|
+
listOwnSessions: import("@trpc/server").TRPCQueryProcedure<{
|
|
12053
|
+
input: void;
|
|
12054
|
+
output: {
|
|
12055
|
+
id: string;
|
|
12056
|
+
userId: string;
|
|
12057
|
+
method: string;
|
|
12058
|
+
refreshable: boolean;
|
|
12059
|
+
createdAt: number;
|
|
12060
|
+
lastUsedAt: number;
|
|
12061
|
+
expiresAt: number;
|
|
12062
|
+
client: string | null;
|
|
12063
|
+
ip: string | null;
|
|
12064
|
+
current: boolean;
|
|
12065
|
+
}[];
|
|
12066
|
+
meta: object;
|
|
12067
|
+
}>;
|
|
12068
|
+
revokeOwnSession: import("@trpc/server").TRPCMutationProcedure<{
|
|
12069
|
+
input: {
|
|
12070
|
+
id: string;
|
|
12071
|
+
};
|
|
12072
|
+
output: {
|
|
12073
|
+
success: boolean;
|
|
12074
|
+
};
|
|
12075
|
+
meta: object;
|
|
12076
|
+
}>;
|
|
12077
|
+
listSessions: import("@trpc/server").TRPCQueryProcedure<{
|
|
12078
|
+
input: {
|
|
12079
|
+
userId?: string | undefined;
|
|
12080
|
+
} | undefined;
|
|
12081
|
+
output: {
|
|
12082
|
+
id: string;
|
|
12083
|
+
userId: string;
|
|
12084
|
+
method: string;
|
|
12085
|
+
refreshable: boolean;
|
|
12086
|
+
createdAt: number;
|
|
12087
|
+
lastUsedAt: number;
|
|
12088
|
+
expiresAt: number;
|
|
12089
|
+
client: string | null;
|
|
12090
|
+
ip: string | null;
|
|
12091
|
+
current: boolean;
|
|
12092
|
+
}[];
|
|
12093
|
+
meta: object;
|
|
12094
|
+
}>;
|
|
12095
|
+
revokeSessions: import("@trpc/server").TRPCMutationProcedure<{
|
|
12096
|
+
input: {
|
|
12097
|
+
id: string;
|
|
12098
|
+
} | {
|
|
12099
|
+
userId: string;
|
|
12100
|
+
};
|
|
12101
|
+
output: {
|
|
12102
|
+
revoked: number;
|
|
12103
|
+
};
|
|
12104
|
+
meta: object;
|
|
12105
|
+
}>;
|
|
11366
12106
|
login: import("@trpc/server").TRPCMutationProcedure<{
|
|
11367
12107
|
input: {
|
|
11368
12108
|
username: string;
|
|
11369
12109
|
password: string;
|
|
12110
|
+
refreshable?: boolean | undefined;
|
|
11370
12111
|
};
|
|
11371
12112
|
output: {
|
|
11372
12113
|
token: string;
|
|
@@ -11377,6 +12118,10 @@ export type AppRouter = TrpcCoreRouter<{
|
|
|
11377
12118
|
};
|
|
11378
12119
|
requiresTotp?: boolean | undefined;
|
|
11379
12120
|
secondFactors?: ("totp" | "passkey")[] | undefined;
|
|
12121
|
+
expiresAt?: number | undefined;
|
|
12122
|
+
sessionId?: string | undefined;
|
|
12123
|
+
sessionExpiresAt?: number | undefined;
|
|
12124
|
+
refreshToken?: string | undefined;
|
|
11380
12125
|
};
|
|
11381
12126
|
meta: object;
|
|
11382
12127
|
}>;
|
|
@@ -11384,6 +12129,7 @@ export type AppRouter = TrpcCoreRouter<{
|
|
|
11384
12129
|
input: {
|
|
11385
12130
|
challengeToken: string;
|
|
11386
12131
|
code: string;
|
|
12132
|
+
refreshable?: boolean | undefined;
|
|
11387
12133
|
};
|
|
11388
12134
|
output: {
|
|
11389
12135
|
token: string;
|
|
@@ -11394,6 +12140,10 @@ export type AppRouter = TrpcCoreRouter<{
|
|
|
11394
12140
|
};
|
|
11395
12141
|
requiresTotp?: boolean | undefined;
|
|
11396
12142
|
secondFactors?: ("totp" | "passkey")[] | undefined;
|
|
12143
|
+
expiresAt?: number | undefined;
|
|
12144
|
+
sessionId?: string | undefined;
|
|
12145
|
+
sessionExpiresAt?: number | undefined;
|
|
12146
|
+
refreshToken?: string | undefined;
|
|
11397
12147
|
};
|
|
11398
12148
|
meta: object;
|
|
11399
12149
|
}>;
|
|
@@ -11410,6 +12160,7 @@ export type AppRouter = TrpcCoreRouter<{
|
|
|
11410
12160
|
input: {
|
|
11411
12161
|
challengeToken: string;
|
|
11412
12162
|
response: Record<string, unknown>;
|
|
12163
|
+
refreshable?: boolean | undefined;
|
|
11413
12164
|
};
|
|
11414
12165
|
output: {
|
|
11415
12166
|
token: string;
|
|
@@ -11420,6 +12171,10 @@ export type AppRouter = TrpcCoreRouter<{
|
|
|
11420
12171
|
};
|
|
11421
12172
|
requiresTotp?: boolean | undefined;
|
|
11422
12173
|
secondFactors?: ("totp" | "passkey")[] | undefined;
|
|
12174
|
+
expiresAt?: number | undefined;
|
|
12175
|
+
sessionId?: string | undefined;
|
|
12176
|
+
sessionExpiresAt?: number | undefined;
|
|
12177
|
+
refreshToken?: string | undefined;
|
|
11423
12178
|
};
|
|
11424
12179
|
meta: object;
|
|
11425
12180
|
}>;
|
|
@@ -11433,6 +12188,7 @@ export type AppRouter = TrpcCoreRouter<{
|
|
|
11433
12188
|
passkeyLoginFinish: import("@trpc/server").TRPCMutationProcedure<{
|
|
11434
12189
|
input: {
|
|
11435
12190
|
response: Record<string, unknown>;
|
|
12191
|
+
refreshable?: boolean | undefined;
|
|
11436
12192
|
};
|
|
11437
12193
|
output: {
|
|
11438
12194
|
token: string;
|
|
@@ -11443,11 +12199,17 @@ export type AppRouter = TrpcCoreRouter<{
|
|
|
11443
12199
|
};
|
|
11444
12200
|
requiresTotp?: boolean | undefined;
|
|
11445
12201
|
secondFactors?: ("totp" | "passkey")[] | undefined;
|
|
12202
|
+
expiresAt?: number | undefined;
|
|
12203
|
+
sessionId?: string | undefined;
|
|
12204
|
+
sessionExpiresAt?: number | undefined;
|
|
12205
|
+
refreshToken?: string | undefined;
|
|
11446
12206
|
};
|
|
11447
12207
|
meta: object;
|
|
11448
12208
|
}>;
|
|
11449
12209
|
exchangeSession: import("@trpc/server").TRPCMutationProcedure<{
|
|
11450
|
-
input:
|
|
12210
|
+
input: {
|
|
12211
|
+
refreshable?: boolean | undefined;
|
|
12212
|
+
} | undefined;
|
|
11451
12213
|
output: {
|
|
11452
12214
|
token: string;
|
|
11453
12215
|
user: {
|
|
@@ -11457,11 +12219,17 @@ export type AppRouter = TrpcCoreRouter<{
|
|
|
11457
12219
|
};
|
|
11458
12220
|
requiresTotp?: boolean | undefined;
|
|
11459
12221
|
secondFactors?: ("totp" | "passkey")[] | undefined;
|
|
12222
|
+
expiresAt?: number | undefined;
|
|
12223
|
+
sessionId?: string | undefined;
|
|
12224
|
+
sessionExpiresAt?: number | undefined;
|
|
12225
|
+
refreshToken?: string | undefined;
|
|
11460
12226
|
};
|
|
11461
12227
|
meta: object;
|
|
11462
12228
|
}>;
|
|
11463
12229
|
createHandoffCode: import("@trpc/server").TRPCMutationProcedure<{
|
|
11464
|
-
input:
|
|
12230
|
+
input: {
|
|
12231
|
+
purpose?: "renew" | "new-session" | undefined;
|
|
12232
|
+
} | undefined;
|
|
11465
12233
|
output: {
|
|
11466
12234
|
code: string;
|
|
11467
12235
|
expiresAt: number;
|
|
@@ -11471,6 +12239,7 @@ export type AppRouter = TrpcCoreRouter<{
|
|
|
11471
12239
|
redeemHandoffCode: import("@trpc/server").TRPCMutationProcedure<{
|
|
11472
12240
|
input: {
|
|
11473
12241
|
code: string;
|
|
12242
|
+
refreshable?: boolean | undefined;
|
|
11474
12243
|
};
|
|
11475
12244
|
output: {
|
|
11476
12245
|
token: string;
|
|
@@ -11481,6 +12250,10 @@ export type AppRouter = TrpcCoreRouter<{
|
|
|
11481
12250
|
};
|
|
11482
12251
|
requiresTotp?: boolean | undefined;
|
|
11483
12252
|
secondFactors?: ("totp" | "passkey")[] | undefined;
|
|
12253
|
+
expiresAt?: number | undefined;
|
|
12254
|
+
sessionId?: string | undefined;
|
|
12255
|
+
sessionExpiresAt?: number | undefined;
|
|
12256
|
+
refreshToken?: string | undefined;
|
|
11484
12257
|
};
|
|
11485
12258
|
meta: object;
|
|
11486
12259
|
}>;
|
|
@@ -11496,7 +12269,6 @@ export type AppRouter = TrpcCoreRouter<{
|
|
|
11496
12269
|
allowedDevices: Record<string, unknown>;
|
|
11497
12270
|
};
|
|
11498
12271
|
isApiKey: boolean;
|
|
11499
|
-
agentId?: string | undefined;
|
|
11500
12272
|
scope?: {
|
|
11501
12273
|
isAdmin: boolean;
|
|
11502
12274
|
allDevicesViewable: boolean;
|
|
@@ -11591,7 +12363,9 @@ export type AppRouter = TrpcCoreRouter<{
|
|
|
11591
12363
|
meta: object;
|
|
11592
12364
|
}>;
|
|
11593
12365
|
disableOwnTotp: import("@trpc/server").TRPCMutationProcedure<{
|
|
11594
|
-
input:
|
|
12366
|
+
input: {
|
|
12367
|
+
reauthToken: string;
|
|
12368
|
+
} | undefined;
|
|
11595
12369
|
output: {
|
|
11596
12370
|
success: true;
|
|
11597
12371
|
};
|
|
@@ -11637,6 +12411,7 @@ export type AppRouter = TrpcCoreRouter<{
|
|
|
11637
12411
|
removeOwnPasskey: import("@trpc/server").TRPCMutationProcedure<{
|
|
11638
12412
|
input: {
|
|
11639
12413
|
credentialId: string;
|
|
12414
|
+
reauthToken?: string | undefined;
|
|
11640
12415
|
};
|
|
11641
12416
|
output: {
|
|
11642
12417
|
success: true;
|
|
@@ -11685,7 +12460,9 @@ export type AppRouter = TrpcCoreRouter<{
|
|
|
11685
12460
|
meta: object;
|
|
11686
12461
|
}>;
|
|
11687
12462
|
listShareTokens: import("@trpc/server").TRPCQueryProcedure<{
|
|
11688
|
-
input:
|
|
12463
|
+
input: {
|
|
12464
|
+
owner?: "all" | "self" | undefined;
|
|
12465
|
+
} | undefined;
|
|
11689
12466
|
output: {
|
|
11690
12467
|
id: string;
|
|
11691
12468
|
userId: string;
|
|
@@ -11702,84 +12479,6 @@ export type AppRouter = TrpcCoreRouter<{
|
|
|
11702
12479
|
}[];
|
|
11703
12480
|
meta: object;
|
|
11704
12481
|
}>;
|
|
11705
|
-
logout: import("@trpc/server").TRPCMutationProcedure<{
|
|
11706
|
-
input: void;
|
|
11707
|
-
output: {
|
|
11708
|
-
success: true;
|
|
11709
|
-
};
|
|
11710
|
-
meta: object;
|
|
11711
|
-
}>;
|
|
11712
|
-
listLinkableProviders: import("@trpc/server").TRPCQueryProcedure<{
|
|
11713
|
-
input: void;
|
|
11714
|
-
output: {
|
|
11715
|
-
provider: string;
|
|
11716
|
-
label: string;
|
|
11717
|
-
}[];
|
|
11718
|
-
meta: object;
|
|
11719
|
-
}>;
|
|
11720
|
-
beginExternalLink: import("@trpc/server").TRPCMutationProcedure<{
|
|
11721
|
-
input: {
|
|
11722
|
-
provider: string;
|
|
11723
|
-
};
|
|
11724
|
-
output: {
|
|
11725
|
-
url: string;
|
|
11726
|
-
};
|
|
11727
|
-
meta: object;
|
|
11728
|
-
}>;
|
|
11729
|
-
listOwnExternalIdentities: import("@trpc/server").TRPCQueryProcedure<{
|
|
11730
|
-
input: void;
|
|
11731
|
-
output: {
|
|
11732
|
-
provider: string;
|
|
11733
|
-
subject: string;
|
|
11734
|
-
linkedAt: number;
|
|
11735
|
-
providerLabel: string | null;
|
|
11736
|
-
available: boolean;
|
|
11737
|
-
label?: string | undefined;
|
|
11738
|
-
}[];
|
|
11739
|
-
meta: object;
|
|
11740
|
-
}>;
|
|
11741
|
-
unlinkOwnExternalIdentity: import("@trpc/server").TRPCMutationProcedure<{
|
|
11742
|
-
input: {
|
|
11743
|
-
provider: string;
|
|
11744
|
-
subject: string;
|
|
11745
|
-
};
|
|
11746
|
-
output: {
|
|
11747
|
-
success: boolean;
|
|
11748
|
-
};
|
|
11749
|
-
meta: object;
|
|
11750
|
-
}>;
|
|
11751
|
-
listLoginMethods: import("@trpc/server").TRPCQueryProcedure<{
|
|
11752
|
-
input: void;
|
|
11753
|
-
output: readonly ({
|
|
11754
|
-
kind: "redirect";
|
|
11755
|
-
id: string;
|
|
11756
|
-
label: string;
|
|
11757
|
-
startUrl: string;
|
|
11758
|
-
stage: "primary" | "second-factor";
|
|
11759
|
-
icon?: string | undefined;
|
|
11760
|
-
linkable?: boolean | undefined;
|
|
11761
|
-
} | {
|
|
11762
|
-
kind: "widget";
|
|
11763
|
-
id: string;
|
|
11764
|
-
addonId: string;
|
|
11765
|
-
bundle: string;
|
|
11766
|
-
remote: {
|
|
11767
|
-
remoteName: string;
|
|
11768
|
-
exposedModule: string;
|
|
11769
|
-
componentKey?: string | undefined;
|
|
11770
|
-
};
|
|
11771
|
-
stage: "primary" | "second-factor";
|
|
11772
|
-
bundleUrl: string;
|
|
11773
|
-
} | {
|
|
11774
|
-
kind: "passkey";
|
|
11775
|
-
id: string;
|
|
11776
|
-
label: string;
|
|
11777
|
-
stage: "primary" | "second-factor";
|
|
11778
|
-
rpId: string;
|
|
11779
|
-
origin: string | null;
|
|
11780
|
-
})[];
|
|
11781
|
-
meta: object;
|
|
11782
|
-
}>;
|
|
11783
12482
|
}>;
|
|
11784
12483
|
}>>;
|
|
11785
12484
|
/**
|