@camstack/types 0.1.34 → 0.1.36
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/capabilities/addon-widgets-source.cap.d.ts +73 -5
- package/dist/capabilities/addon-widgets-source.cap.d.ts.map +1 -1
- package/dist/capabilities/addon-widgets.cap.d.ts +22 -4
- package/dist/capabilities/addon-widgets.cap.d.ts.map +1 -1
- package/dist/capabilities/addons.cap.d.ts +21 -0
- package/dist/capabilities/addons.cap.d.ts.map +1 -1
- package/dist/capabilities/audio-analysis.cap.d.ts +7 -4
- package/dist/capabilities/audio-analysis.cap.d.ts.map +1 -1
- package/dist/capabilities/camera-streams.cap.d.ts +7 -5
- package/dist/capabilities/camera-streams.cap.d.ts.map +1 -1
- package/dist/capabilities/capability-definition.d.ts +114 -0
- package/dist/capabilities/capability-definition.d.ts.map +1 -1
- package/dist/capabilities/decoder.cap.d.ts +90 -0
- package/dist/capabilities/decoder.cap.d.ts.map +1 -1
- package/dist/capabilities/detection-pipeline.cap.d.ts +6 -4
- package/dist/capabilities/detection-pipeline.cap.d.ts.map +1 -1
- package/dist/capabilities/device-manager.cap.d.ts +3 -3
- package/dist/capabilities/device-ops.cap.d.ts +1 -1
- package/dist/capabilities/index.d.ts +20 -20
- package/dist/capabilities/index.d.ts.map +1 -1
- package/dist/capabilities/local-network.cap.d.ts +5 -5
- package/dist/capabilities/mesh-network.cap.d.ts +4 -2
- package/dist/capabilities/mesh-network.cap.d.ts.map +1 -1
- package/dist/capabilities/motion-detection.cap.d.ts +2 -0
- package/dist/capabilities/motion-detection.cap.d.ts.map +1 -1
- package/dist/capabilities/motion-zones.cap.d.ts +83 -0
- package/dist/capabilities/motion-zones.cap.d.ts.map +1 -0
- package/dist/capabilities/network-access.cap.d.ts +5 -4
- package/dist/capabilities/network-access.cap.d.ts.map +1 -1
- package/dist/capabilities/nodes.cap.d.ts +9 -0
- package/dist/capabilities/nodes.cap.d.ts.map +1 -1
- package/dist/capabilities/oauth-integration.cap.d.ts +103 -0
- package/dist/capabilities/oauth-integration.cap.d.ts.map +1 -0
- package/dist/capabilities/pipeline-analytics.cap.d.ts +2 -0
- package/dist/capabilities/pipeline-analytics.cap.d.ts.map +1 -1
- package/dist/capabilities/ptz-autotrack.cap.d.ts +10 -0
- package/dist/capabilities/ptz-autotrack.cap.d.ts.map +1 -1
- package/dist/capabilities/ptz.cap.d.ts +57 -1
- package/dist/capabilities/ptz.cap.d.ts.map +1 -1
- package/dist/capabilities/schemas/streaming-shared.d.ts +110 -3
- package/dist/capabilities/schemas/streaming-shared.d.ts.map +1 -1
- package/dist/capabilities/snapshot.cap.d.ts +2 -0
- package/dist/capabilities/snapshot.cap.d.ts.map +1 -1
- package/dist/capabilities/sso-bridge.cap.d.ts +120 -0
- package/dist/capabilities/sso-bridge.cap.d.ts.map +1 -1
- package/dist/capabilities/stream-broker.cap.d.ts +97 -4
- package/dist/capabilities/stream-broker.cap.d.ts.map +1 -1
- package/dist/capabilities/stream-params-config-schema.d.ts +56 -0
- package/dist/capabilities/stream-params-config-schema.d.ts.map +1 -0
- package/dist/capabilities/stream-params.cap.d.ts +482 -0
- package/dist/capabilities/stream-params.cap.d.ts.map +1 -0
- package/dist/capabilities/user-management.cap.d.ts +198 -1
- package/dist/capabilities/user-management.cap.d.ts.map +1 -1
- package/dist/capabilities/webrtc-session.cap.d.ts +2 -0
- package/dist/capabilities/webrtc-session.cap.d.ts.map +1 -1
- package/dist/generated/addon-api.d.ts +1396 -544
- package/dist/generated/addon-api.d.ts.map +1 -1
- package/dist/generated/cap-status-types.d.ts +7 -3
- package/dist/generated/cap-status-types.d.ts.map +1 -1
- package/dist/generated/capability-router-map.d.ts +13 -16
- package/dist/generated/capability-router-map.d.ts.map +1 -1
- package/dist/generated/device-local-state.d.ts +6 -0
- package/dist/generated/device-local-state.d.ts.map +1 -1
- package/dist/generated/device-proxy.d.ts +6 -0
- package/dist/generated/device-proxy.d.ts.map +1 -1
- package/dist/generated/method-access-map.d.ts +1 -1
- package/dist/generated/method-access-map.d.ts.map +1 -1
- package/dist/generated/system-proxy.d.ts +7 -13
- package/dist/generated/system-proxy.d.ts.map +1 -1
- package/dist/{index-DS7418lf.js → index-BblD92Si.js} +630 -349
- package/dist/index-BblD92Si.js.map +1 -0
- package/dist/{index-Ce7RZWP4.mjs → index-CgPd35k5.mjs} +957 -676
- package/dist/index-CgPd35k5.mjs.map +1 -0
- package/dist/index.d.ts +2 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +325 -75
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +597 -347
- package/dist/index.mjs.map +1 -1
- package/dist/interfaces/addon.d.ts +123 -29
- package/dist/interfaces/addon.d.ts.map +1 -1
- package/dist/interfaces/capability.d.ts +7 -29
- package/dist/interfaces/capability.d.ts.map +1 -1
- package/dist/interfaces/config-ui.d.ts +4 -101
- package/dist/interfaces/config-ui.d.ts.map +1 -1
- package/dist/interfaces/decoder.d.ts +12 -0
- package/dist/interfaces/decoder.d.ts.map +1 -1
- package/dist/interfaces/device-provider.d.ts +0 -4
- package/dist/interfaces/device-provider.d.ts.map +1 -1
- package/dist/interfaces/event-bus.d.ts +15 -0
- package/dist/interfaces/event-bus.d.ts.map +1 -1
- package/dist/interfaces/frame-handle.d.ts +40 -0
- package/dist/interfaces/frame-handle.d.ts.map +1 -0
- package/dist/interfaces/kernel-abstractions.d.ts +6 -0
- package/dist/interfaces/kernel-abstractions.d.ts.map +1 -1
- package/dist/interfaces/server-network.d.ts +8 -33
- package/dist/interfaces/server-network.d.ts.map +1 -1
- package/dist/interfaces/stream-broker.d.ts +40 -21
- package/dist/interfaces/stream-broker.d.ts.map +1 -1
- package/dist/node.js +1 -1
- package/dist/node.mjs +1 -1
- package/package.json +1 -1
- package/dist/capabilities/authentication.cap.d.ts +0 -73
- package/dist/capabilities/authentication.cap.d.ts.map +0 -1
- package/dist/capabilities/mesh-orchestrator.cap.d.ts +0 -151
- package/dist/capabilities/mesh-orchestrator.cap.d.ts.map +0 -1
- package/dist/capabilities/remote-access.cap.d.ts +0 -91
- package/dist/capabilities/remote-access.cap.d.ts.map +0 -1
- package/dist/capabilities/turn-orchestrator.cap.d.ts +0 -64
- package/dist/capabilities/turn-orchestrator.cap.d.ts.map +0 -1
- package/dist/index-Ce7RZWP4.mjs.map +0 -1
- package/dist/index-DS7418lf.js.map +0 -1
|
@@ -1171,6 +1171,20 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
1171
1171
|
}>;
|
|
1172
1172
|
meta: object;
|
|
1173
1173
|
}>;
|
|
1174
|
+
getCapUsageGraph: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
1175
|
+
input: {
|
|
1176
|
+
[x: string]: unknown;
|
|
1177
|
+
windowSeconds?: number | undefined;
|
|
1178
|
+
};
|
|
1179
|
+
output: readonly {
|
|
1180
|
+
callerAddonId: string;
|
|
1181
|
+
providerAddonId: string;
|
|
1182
|
+
capName: string;
|
|
1183
|
+
callsPerMin: number;
|
|
1184
|
+
lastCallAtMs: number;
|
|
1185
|
+
}[];
|
|
1186
|
+
meta: object;
|
|
1187
|
+
}>;
|
|
1174
1188
|
getNodeAddons: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
1175
1189
|
input: {
|
|
1176
1190
|
[x: string]: unknown;
|
|
@@ -1432,11 +1446,23 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
1432
1446
|
};
|
|
1433
1447
|
output: readonly {
|
|
1434
1448
|
addonId: string;
|
|
1435
|
-
mode: "
|
|
1449
|
+
mode: "collection" | "singleton";
|
|
1436
1450
|
isActive: boolean;
|
|
1437
1451
|
}[];
|
|
1438
1452
|
meta: object;
|
|
1439
1453
|
}>;
|
|
1454
|
+
setCapabilityProviderEnabled: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
1455
|
+
input: {
|
|
1456
|
+
[x: string]: unknown;
|
|
1457
|
+
capName: string;
|
|
1458
|
+
addonId: string;
|
|
1459
|
+
enabled: boolean;
|
|
1460
|
+
};
|
|
1461
|
+
output: {
|
|
1462
|
+
success: true;
|
|
1463
|
+
};
|
|
1464
|
+
meta: object;
|
|
1465
|
+
}>;
|
|
1440
1466
|
updateFrameworkPackage: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
1441
1467
|
input: {
|
|
1442
1468
|
[x: string]: unknown;
|
|
@@ -3141,6 +3167,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
3141
3167
|
height?: number | undefined;
|
|
3142
3168
|
deviceId?: number | undefined;
|
|
3143
3169
|
tag?: string | undefined;
|
|
3170
|
+
frameSink?: "callback" | "shm" | undefined;
|
|
3144
3171
|
};
|
|
3145
3172
|
output: {
|
|
3146
3173
|
sessionId: string;
|
|
@@ -3196,6 +3223,68 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
3196
3223
|
}[];
|
|
3197
3224
|
meta: object;
|
|
3198
3225
|
}>;
|
|
3226
|
+
pullHandles: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
3227
|
+
input: {
|
|
3228
|
+
[x: string]: unknown;
|
|
3229
|
+
sessionId: string;
|
|
3230
|
+
maxCount?: number | undefined;
|
|
3231
|
+
};
|
|
3232
|
+
output: {
|
|
3233
|
+
shmId: string;
|
|
3234
|
+
slot: number;
|
|
3235
|
+
seq: number;
|
|
3236
|
+
width: number;
|
|
3237
|
+
height: number;
|
|
3238
|
+
format: "jpeg" | "rgb" | "bgr" | "yuv420" | "gray";
|
|
3239
|
+
pts: number;
|
|
3240
|
+
byteLength: number;
|
|
3241
|
+
nodeId: string;
|
|
3242
|
+
slotCount: number;
|
|
3243
|
+
}[];
|
|
3244
|
+
meta: object;
|
|
3245
|
+
}>;
|
|
3246
|
+
getFrame: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
3247
|
+
input: {
|
|
3248
|
+
[x: string]: unknown;
|
|
3249
|
+
handle: {
|
|
3250
|
+
shmId: string;
|
|
3251
|
+
slot: number;
|
|
3252
|
+
seq: number;
|
|
3253
|
+
width: number;
|
|
3254
|
+
height: number;
|
|
3255
|
+
format: "jpeg" | "rgb" | "bgr" | "yuv420" | "gray";
|
|
3256
|
+
pts: number;
|
|
3257
|
+
byteLength: number;
|
|
3258
|
+
nodeId: string;
|
|
3259
|
+
slotCount: number;
|
|
3260
|
+
};
|
|
3261
|
+
};
|
|
3262
|
+
output: {
|
|
3263
|
+
data: Uint8Array<ArrayBuffer>;
|
|
3264
|
+
width: number;
|
|
3265
|
+
height: number;
|
|
3266
|
+
format: "jpeg" | "rgb" | "bgr" | "yuv420" | "gray";
|
|
3267
|
+
timestamp: number;
|
|
3268
|
+
} | null;
|
|
3269
|
+
meta: object;
|
|
3270
|
+
}>;
|
|
3271
|
+
getShmStats: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
3272
|
+
input: {
|
|
3273
|
+
[x: string]: unknown;
|
|
3274
|
+
sessionId: string;
|
|
3275
|
+
};
|
|
3276
|
+
output: {
|
|
3277
|
+
sessionId: string;
|
|
3278
|
+
slotCount: number;
|
|
3279
|
+
slotByteLength: number;
|
|
3280
|
+
segmentBytes: number;
|
|
3281
|
+
budgetMb: number;
|
|
3282
|
+
framesWritten: number;
|
|
3283
|
+
getFrameHits: number;
|
|
3284
|
+
getFrameMisses: number;
|
|
3285
|
+
} | null;
|
|
3286
|
+
meta: object;
|
|
3287
|
+
}>;
|
|
3199
3288
|
updateConfig: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
3200
3289
|
input: {
|
|
3201
3290
|
[x: string]: unknown;
|
|
@@ -3209,6 +3298,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
3209
3298
|
height?: number | undefined;
|
|
3210
3299
|
deviceId?: number | undefined;
|
|
3211
3300
|
tag?: string | undefined;
|
|
3301
|
+
frameSink?: "callback" | "shm" | undefined;
|
|
3212
3302
|
};
|
|
3213
3303
|
};
|
|
3214
3304
|
output: void;
|
|
@@ -3405,7 +3495,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
3405
3495
|
netmask: string;
|
|
3406
3496
|
internal: boolean;
|
|
3407
3497
|
mac: string;
|
|
3408
|
-
kind: "other" | "lan" | "
|
|
3498
|
+
kind: "other" | "lan" | "wifi" | "docker" | "vpn" | "loopback";
|
|
3409
3499
|
preferred: boolean;
|
|
3410
3500
|
plausible: boolean;
|
|
3411
3501
|
plausibleReason: string;
|
|
@@ -3426,7 +3516,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
3426
3516
|
netmask: string;
|
|
3427
3517
|
internal: boolean;
|
|
3428
3518
|
mac: string;
|
|
3429
|
-
kind: "other" | "lan" | "
|
|
3519
|
+
kind: "other" | "lan" | "wifi" | "docker" | "vpn" | "loopback";
|
|
3430
3520
|
preferred: boolean;
|
|
3431
3521
|
plausible: boolean;
|
|
3432
3522
|
plausibleReason: string;
|
|
@@ -3446,7 +3536,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
3446
3536
|
label: string;
|
|
3447
3537
|
baseUrl: string;
|
|
3448
3538
|
kind: "public" | "loopback" | "lan-ipv4" | "lan-ipv6";
|
|
3449
|
-
interfaceKind: "other" | "public" | "lan" | "
|
|
3539
|
+
interfaceKind: "other" | "public" | "lan" | "wifi" | "docker" | "vpn" | "loopback";
|
|
3450
3540
|
plausible: boolean;
|
|
3451
3541
|
plausibleReason: string;
|
|
3452
3542
|
priority: number;
|
|
@@ -3483,24 +3573,6 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
3483
3573
|
meta: object;
|
|
3484
3574
|
}>;
|
|
3485
3575
|
}>>;
|
|
3486
|
-
turnProvider: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
|
|
3487
|
-
ctx: import("@camstack/types").TrpcContext;
|
|
3488
|
-
meta: object;
|
|
3489
|
-
errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
|
|
3490
|
-
transformer: true;
|
|
3491
|
-
}, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
|
|
3492
|
-
getTurnServers: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
3493
|
-
input: {
|
|
3494
|
-
nodeId?: string | undefined;
|
|
3495
|
-
} | undefined;
|
|
3496
|
-
output: readonly {
|
|
3497
|
-
urls: string | string[];
|
|
3498
|
-
username?: string | undefined;
|
|
3499
|
-
credential?: string | undefined;
|
|
3500
|
-
}[];
|
|
3501
|
-
meta: object;
|
|
3502
|
-
}>;
|
|
3503
|
-
}>>;
|
|
3504
3576
|
snapshotProvider: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
|
|
3505
3577
|
ctx: import("@camstack/types").TrpcContext;
|
|
3506
3578
|
meta: object;
|
|
@@ -3577,6 +3649,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
3577
3649
|
listPages: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
3578
3650
|
input: {
|
|
3579
3651
|
nodeId?: string | undefined;
|
|
3652
|
+
addonId?: string | undefined;
|
|
3580
3653
|
} | undefined;
|
|
3581
3654
|
output: readonly {
|
|
3582
3655
|
id: string;
|
|
@@ -3690,9 +3763,15 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
3690
3763
|
nodeId?: string | undefined;
|
|
3691
3764
|
} | undefined;
|
|
3692
3765
|
output: readonly {
|
|
3693
|
-
|
|
3766
|
+
tab: string;
|
|
3694
3767
|
label: string;
|
|
3695
|
-
|
|
3768
|
+
kind: "remote";
|
|
3769
|
+
remote: {
|
|
3770
|
+
remoteName: string;
|
|
3771
|
+
exposedModule: string;
|
|
3772
|
+
componentKey?: string | undefined;
|
|
3773
|
+
};
|
|
3774
|
+
stableId: string;
|
|
3696
3775
|
bundle: string;
|
|
3697
3776
|
hosts: readonly ("device-tab" | "dashboard" | "integration-detail")[];
|
|
3698
3777
|
requires: {
|
|
@@ -3705,6 +3784,8 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
3705
3784
|
defaultRows: number;
|
|
3706
3785
|
addonId: string;
|
|
3707
3786
|
bundleUrl: string;
|
|
3787
|
+
subTab?: string | undefined;
|
|
3788
|
+
order?: number | undefined;
|
|
3708
3789
|
description?: string | undefined;
|
|
3709
3790
|
icon?: string | undefined;
|
|
3710
3791
|
}[];
|
|
@@ -3720,11 +3801,18 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
3720
3801
|
listWidgets: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
3721
3802
|
input: {
|
|
3722
3803
|
nodeId?: string | undefined;
|
|
3804
|
+
addonId?: string | undefined;
|
|
3723
3805
|
} | undefined;
|
|
3724
3806
|
output: readonly {
|
|
3725
|
-
|
|
3807
|
+
tab: string;
|
|
3726
3808
|
label: string;
|
|
3727
|
-
|
|
3809
|
+
kind: "remote";
|
|
3810
|
+
remote: {
|
|
3811
|
+
remoteName: string;
|
|
3812
|
+
exposedModule: string;
|
|
3813
|
+
componentKey?: string | undefined;
|
|
3814
|
+
};
|
|
3815
|
+
stableId: string;
|
|
3728
3816
|
bundle: string;
|
|
3729
3817
|
hosts: readonly ("device-tab" | "dashboard" | "integration-detail")[];
|
|
3730
3818
|
requires: {
|
|
@@ -3735,6 +3823,8 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
3735
3823
|
allowedSizes: readonly ("xs" | "sm" | "md" | "lg" | "xl")[];
|
|
3736
3824
|
defaultColumns: number;
|
|
3737
3825
|
defaultRows: number;
|
|
3826
|
+
subTab?: string | undefined;
|
|
3827
|
+
order?: number | undefined;
|
|
3738
3828
|
description?: string | undefined;
|
|
3739
3829
|
icon?: string | undefined;
|
|
3740
3830
|
}[];
|
|
@@ -4141,41 +4231,6 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
4141
4231
|
meta: object;
|
|
4142
4232
|
}>;
|
|
4143
4233
|
}>>;
|
|
4144
|
-
authentication: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
|
|
4145
|
-
ctx: import("@camstack/types").TrpcContext;
|
|
4146
|
-
meta: object;
|
|
4147
|
-
errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
|
|
4148
|
-
transformer: true;
|
|
4149
|
-
}, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
|
|
4150
|
-
listProviders: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
4151
|
-
input: {
|
|
4152
|
-
nodeId?: string | undefined;
|
|
4153
|
-
} | undefined;
|
|
4154
|
-
output: readonly {
|
|
4155
|
-
addonId: string;
|
|
4156
|
-
displayName: string;
|
|
4157
|
-
hasRedirectFlow: boolean;
|
|
4158
|
-
hasCredentialFlow: boolean;
|
|
4159
|
-
enabled: boolean;
|
|
4160
|
-
instanceId?: string | undefined;
|
|
4161
|
-
icon?: string | undefined;
|
|
4162
|
-
kind?: string | undefined;
|
|
4163
|
-
status?: string | undefined;
|
|
4164
|
-
}[];
|
|
4165
|
-
meta: object;
|
|
4166
|
-
}>;
|
|
4167
|
-
setProviderEnabled: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
4168
|
-
input: {
|
|
4169
|
-
[x: string]: unknown;
|
|
4170
|
-
addonId: string;
|
|
4171
|
-
enabled: boolean;
|
|
4172
|
-
};
|
|
4173
|
-
output: {
|
|
4174
|
-
success: true;
|
|
4175
|
-
};
|
|
4176
|
-
meta: object;
|
|
4177
|
-
}>;
|
|
4178
|
-
}>>;
|
|
4179
4234
|
backup: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
|
|
4180
4235
|
ctx: import("@camstack/types").TrpcContext;
|
|
4181
4236
|
meta: object;
|
|
@@ -4440,7 +4495,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
4440
4495
|
profile: "high" | "low" | "mid";
|
|
4441
4496
|
brokerId: string;
|
|
4442
4497
|
sourceCamStreamId: string | null;
|
|
4443
|
-
status: "error" | "streaming" | "
|
|
4498
|
+
status: "error" | "streaming" | "unassigned" | "idle" | "connecting";
|
|
4444
4499
|
resolution?: {
|
|
4445
4500
|
width: number;
|
|
4446
4501
|
height: number;
|
|
@@ -4632,6 +4687,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
4632
4687
|
getStatus: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
4633
4688
|
input: {
|
|
4634
4689
|
nodeId?: string | undefined;
|
|
4690
|
+
addonId?: string | undefined;
|
|
4635
4691
|
} | undefined;
|
|
4636
4692
|
output: unknown;
|
|
4637
4693
|
meta: object;
|
|
@@ -4704,6 +4760,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
4704
4760
|
listSupportedDeviceKinds: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
4705
4761
|
input: {
|
|
4706
4762
|
nodeId?: string | undefined;
|
|
4763
|
+
addonId?: string | undefined;
|
|
4707
4764
|
} | undefined;
|
|
4708
4765
|
output: string[];
|
|
4709
4766
|
meta: object;
|
|
@@ -4711,6 +4768,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
4711
4768
|
listExposedDevices: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
4712
4769
|
input: {
|
|
4713
4770
|
nodeId?: string | undefined;
|
|
4771
|
+
addonId?: string | undefined;
|
|
4714
4772
|
} | undefined;
|
|
4715
4773
|
output: {
|
|
4716
4774
|
deviceId: string;
|
|
@@ -5466,6 +5524,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
5466
5524
|
start: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
5467
5525
|
input: {
|
|
5468
5526
|
nodeId?: string | undefined;
|
|
5527
|
+
addonId?: string | undefined;
|
|
5469
5528
|
} | undefined;
|
|
5470
5529
|
output: void;
|
|
5471
5530
|
meta: object;
|
|
@@ -5473,6 +5532,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
5473
5532
|
stop: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
5474
5533
|
input: {
|
|
5475
5534
|
nodeId?: string | undefined;
|
|
5535
|
+
addonId?: string | undefined;
|
|
5476
5536
|
} | undefined;
|
|
5477
5537
|
output: void;
|
|
5478
5538
|
meta: object;
|
|
@@ -5480,6 +5540,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
5480
5540
|
getStatus: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
5481
5541
|
input: {
|
|
5482
5542
|
nodeId?: string | undefined;
|
|
5543
|
+
addonId?: string | undefined;
|
|
5483
5544
|
} | undefined;
|
|
5484
5545
|
output: unknown;
|
|
5485
5546
|
meta: object;
|
|
@@ -5487,6 +5548,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
5487
5548
|
getDevices: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
5488
5549
|
input: {
|
|
5489
5550
|
nodeId?: string | undefined;
|
|
5551
|
+
addonId?: string | undefined;
|
|
5490
5552
|
} | undefined;
|
|
5491
5553
|
output: {
|
|
5492
5554
|
id: string;
|
|
@@ -5691,6 +5753,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
5691
5753
|
getInfo: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
5692
5754
|
input: {
|
|
5693
5755
|
nodeId?: string | undefined;
|
|
5756
|
+
addonId?: string | undefined;
|
|
5694
5757
|
} | undefined;
|
|
5695
5758
|
output: {
|
|
5696
5759
|
modelId: string;
|
|
@@ -5846,6 +5909,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
5846
5909
|
getStatus: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
5847
5910
|
input: {
|
|
5848
5911
|
nodeId?: string | undefined;
|
|
5912
|
+
addonId?: string | undefined;
|
|
5849
5913
|
} | undefined;
|
|
5850
5914
|
output: unknown;
|
|
5851
5915
|
meta: object;
|
|
@@ -5874,6 +5938,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
5874
5938
|
leave: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
5875
5939
|
input: {
|
|
5876
5940
|
nodeId?: string | undefined;
|
|
5941
|
+
addonId?: string | undefined;
|
|
5877
5942
|
} | undefined;
|
|
5878
5943
|
output: {
|
|
5879
5944
|
left: true;
|
|
@@ -5883,6 +5948,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
5883
5948
|
logout: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
5884
5949
|
input: {
|
|
5885
5950
|
nodeId?: string | undefined;
|
|
5951
|
+
addonId?: string | undefined;
|
|
5886
5952
|
} | undefined;
|
|
5887
5953
|
output: {
|
|
5888
5954
|
loggedOut: true;
|
|
@@ -5892,6 +5958,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
5892
5958
|
listPeers: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
5893
5959
|
input: {
|
|
5894
5960
|
nodeId?: string | undefined;
|
|
5961
|
+
addonId?: string | undefined;
|
|
5895
5962
|
} | undefined;
|
|
5896
5963
|
output: {
|
|
5897
5964
|
peers: readonly {
|
|
@@ -5931,114 +5998,6 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
5931
5998
|
meta: object;
|
|
5932
5999
|
}>;
|
|
5933
6000
|
}>>;
|
|
5934
|
-
meshOrchestrator: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
|
|
5935
|
-
ctx: import("@camstack/types").TrpcContext;
|
|
5936
|
-
meta: object;
|
|
5937
|
-
errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
|
|
5938
|
-
transformer: true;
|
|
5939
|
-
}, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
|
|
5940
|
-
listProviders: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
5941
|
-
input: {
|
|
5942
|
-
nodeId?: string | undefined;
|
|
5943
|
-
} | undefined;
|
|
5944
|
-
output: readonly {
|
|
5945
|
-
addonId: string;
|
|
5946
|
-
displayName: string;
|
|
5947
|
-
joined: boolean;
|
|
5948
|
-
meshIp: string;
|
|
5949
|
-
magicDnsHostname: string;
|
|
5950
|
-
peerCount: number;
|
|
5951
|
-
endpoints: readonly {
|
|
5952
|
-
id: string;
|
|
5953
|
-
label: string;
|
|
5954
|
-
scope: "public" | "mesh";
|
|
5955
|
-
url: string;
|
|
5956
|
-
hostname: string;
|
|
5957
|
-
port: number;
|
|
5958
|
-
protocol: "https" | "http";
|
|
5959
|
-
}[];
|
|
5960
|
-
tenantName: string;
|
|
5961
|
-
magicDnsSuffix: string;
|
|
5962
|
-
userLogin: string | null;
|
|
5963
|
-
controlPlaneUrl: string;
|
|
5964
|
-
keyExpiry: number | null;
|
|
5965
|
-
error?: string | undefined;
|
|
5966
|
-
}[];
|
|
5967
|
-
meta: object;
|
|
5968
|
-
}>;
|
|
5969
|
-
joinProvider: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
5970
|
-
input: {
|
|
5971
|
-
[x: string]: unknown;
|
|
5972
|
-
addonId: string;
|
|
5973
|
-
authKey: string;
|
|
5974
|
-
hostname?: string | undefined;
|
|
5975
|
-
};
|
|
5976
|
-
output: {
|
|
5977
|
-
joined: true;
|
|
5978
|
-
};
|
|
5979
|
-
meta: object;
|
|
5980
|
-
}>;
|
|
5981
|
-
leaveProvider: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
5982
|
-
input: {
|
|
5983
|
-
[x: string]: unknown;
|
|
5984
|
-
addonId: string;
|
|
5985
|
-
};
|
|
5986
|
-
output: {
|
|
5987
|
-
success: true;
|
|
5988
|
-
};
|
|
5989
|
-
meta: object;
|
|
5990
|
-
}>;
|
|
5991
|
-
startLoginProvider: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
5992
|
-
input: {
|
|
5993
|
-
[x: string]: unknown;
|
|
5994
|
-
addonId: string;
|
|
5995
|
-
hostname?: string | undefined;
|
|
5996
|
-
};
|
|
5997
|
-
output: {
|
|
5998
|
-
loginUrl: string;
|
|
5999
|
-
};
|
|
6000
|
-
meta: object;
|
|
6001
|
-
}>;
|
|
6002
|
-
logoutProvider: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
6003
|
-
input: {
|
|
6004
|
-
[x: string]: unknown;
|
|
6005
|
-
addonId: string;
|
|
6006
|
-
};
|
|
6007
|
-
output: {
|
|
6008
|
-
loggedOut: true;
|
|
6009
|
-
};
|
|
6010
|
-
meta: object;
|
|
6011
|
-
}>;
|
|
6012
|
-
listProviderPeers: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
6013
|
-
input: {
|
|
6014
|
-
[x: string]: unknown;
|
|
6015
|
-
addonId: string;
|
|
6016
|
-
};
|
|
6017
|
-
output: {
|
|
6018
|
-
peers: readonly {
|
|
6019
|
-
id: string;
|
|
6020
|
-
hostname: string;
|
|
6021
|
-
magicDns: string;
|
|
6022
|
-
addresses: readonly string[];
|
|
6023
|
-
online: boolean;
|
|
6024
|
-
lastSeenMs: number;
|
|
6025
|
-
isSelf: boolean;
|
|
6026
|
-
connection: "idle" | "relay" | "direct";
|
|
6027
|
-
relay: string | null;
|
|
6028
|
-
lastHandshakeMs: number;
|
|
6029
|
-
rxBytes: number;
|
|
6030
|
-
txBytes: number;
|
|
6031
|
-
tags: readonly string[];
|
|
6032
|
-
exitNodeOption: boolean;
|
|
6033
|
-
advertisedRoutes: readonly string[];
|
|
6034
|
-
userLogin: string | null;
|
|
6035
|
-
keyExpiry: number | null;
|
|
6036
|
-
os?: string | undefined;
|
|
6037
|
-
}[];
|
|
6038
|
-
};
|
|
6039
|
-
meta: object;
|
|
6040
|
-
}>;
|
|
6041
|
-
}>>;
|
|
6042
6001
|
metricsProvider: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
|
|
6043
6002
|
ctx: import("@camstack/types").TrpcContext;
|
|
6044
6003
|
meta: object;
|
|
@@ -6529,6 +6488,50 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
6529
6488
|
meta: object;
|
|
6530
6489
|
}>;
|
|
6531
6490
|
}>>;
|
|
6491
|
+
motionZones: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
|
|
6492
|
+
ctx: import("@camstack/types").TrpcContext;
|
|
6493
|
+
meta: object;
|
|
6494
|
+
errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
|
|
6495
|
+
transformer: true;
|
|
6496
|
+
}, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
|
|
6497
|
+
getStatus: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
6498
|
+
input: {
|
|
6499
|
+
[x: string]: unknown;
|
|
6500
|
+
deviceId: number;
|
|
6501
|
+
};
|
|
6502
|
+
output: unknown;
|
|
6503
|
+
meta: object;
|
|
6504
|
+
}>;
|
|
6505
|
+
getOptions: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
6506
|
+
input: {
|
|
6507
|
+
[x: string]: unknown;
|
|
6508
|
+
deviceId: number;
|
|
6509
|
+
};
|
|
6510
|
+
output: {
|
|
6511
|
+
gridWidth: number;
|
|
6512
|
+
gridHeight: number;
|
|
6513
|
+
sensitivity: {
|
|
6514
|
+
min: number;
|
|
6515
|
+
max: number;
|
|
6516
|
+
step: number;
|
|
6517
|
+
};
|
|
6518
|
+
};
|
|
6519
|
+
meta: object;
|
|
6520
|
+
}>;
|
|
6521
|
+
setZone: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
6522
|
+
input: {
|
|
6523
|
+
[x: string]: unknown;
|
|
6524
|
+
deviceId: number;
|
|
6525
|
+
patch: {
|
|
6526
|
+
enabled?: boolean | undefined;
|
|
6527
|
+
sensitivity?: number | undefined;
|
|
6528
|
+
cells?: boolean[] | undefined;
|
|
6529
|
+
};
|
|
6530
|
+
};
|
|
6531
|
+
output: void;
|
|
6532
|
+
meta: object;
|
|
6533
|
+
}>;
|
|
6534
|
+
}>>;
|
|
6532
6535
|
mqttBroker: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
|
|
6533
6536
|
ctx: import("@camstack/types").TrpcContext;
|
|
6534
6537
|
meta: object;
|
|
@@ -6538,6 +6541,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
6538
6541
|
getStatus: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
6539
6542
|
input: {
|
|
6540
6543
|
nodeId?: string | undefined;
|
|
6544
|
+
addonId?: string | undefined;
|
|
6541
6545
|
} | undefined;
|
|
6542
6546
|
output: unknown;
|
|
6543
6547
|
meta: object;
|
|
@@ -6545,6 +6549,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
6545
6549
|
listBrokers: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
6546
6550
|
input: {
|
|
6547
6551
|
nodeId?: string | undefined;
|
|
6552
|
+
addonId?: string | undefined;
|
|
6548
6553
|
} | undefined;
|
|
6549
6554
|
output: {
|
|
6550
6555
|
id: string;
|
|
@@ -6646,13 +6651,79 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
6646
6651
|
meta: object;
|
|
6647
6652
|
}>;
|
|
6648
6653
|
}>>;
|
|
6649
|
-
|
|
6654
|
+
networkAccess: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
|
|
6650
6655
|
ctx: import("@camstack/types").TrpcContext;
|
|
6651
6656
|
meta: object;
|
|
6652
6657
|
errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
|
|
6653
6658
|
transformer: true;
|
|
6654
6659
|
}, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
|
|
6655
|
-
|
|
6660
|
+
start: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
6661
|
+
input: {
|
|
6662
|
+
nodeId?: string | undefined;
|
|
6663
|
+
addonId?: string | undefined;
|
|
6664
|
+
} | undefined;
|
|
6665
|
+
output: {
|
|
6666
|
+
url: string;
|
|
6667
|
+
hostname: string;
|
|
6668
|
+
port: number;
|
|
6669
|
+
protocol: "https" | "http";
|
|
6670
|
+
};
|
|
6671
|
+
meta: object;
|
|
6672
|
+
}>;
|
|
6673
|
+
stop: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
6674
|
+
input: {
|
|
6675
|
+
nodeId?: string | undefined;
|
|
6676
|
+
addonId?: string | undefined;
|
|
6677
|
+
} | undefined;
|
|
6678
|
+
output: void;
|
|
6679
|
+
meta: object;
|
|
6680
|
+
}>;
|
|
6681
|
+
getEndpoint: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
6682
|
+
input: {
|
|
6683
|
+
nodeId?: string | undefined;
|
|
6684
|
+
addonId?: string | undefined;
|
|
6685
|
+
} | undefined;
|
|
6686
|
+
output: {
|
|
6687
|
+
url: string;
|
|
6688
|
+
hostname: string;
|
|
6689
|
+
port: number;
|
|
6690
|
+
protocol: "https" | "http";
|
|
6691
|
+
} | null;
|
|
6692
|
+
meta: object;
|
|
6693
|
+
}>;
|
|
6694
|
+
getStatus: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
6695
|
+
input: {
|
|
6696
|
+
nodeId?: string | undefined;
|
|
6697
|
+
addonId?: string | undefined;
|
|
6698
|
+
} | undefined;
|
|
6699
|
+
output: unknown;
|
|
6700
|
+
meta: object;
|
|
6701
|
+
}>;
|
|
6702
|
+
listEndpoints: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
6703
|
+
input: {
|
|
6704
|
+
nodeId?: string | undefined;
|
|
6705
|
+
addonId?: string | undefined;
|
|
6706
|
+
} | undefined;
|
|
6707
|
+
output: readonly {
|
|
6708
|
+
url: string;
|
|
6709
|
+
hostname: string;
|
|
6710
|
+
port: number;
|
|
6711
|
+
protocol: "https" | "http";
|
|
6712
|
+
id: string;
|
|
6713
|
+
label: string;
|
|
6714
|
+
mode?: string | undefined;
|
|
6715
|
+
sourcePort?: number | undefined;
|
|
6716
|
+
}[];
|
|
6717
|
+
meta: object;
|
|
6718
|
+
}>;
|
|
6719
|
+
}>>;
|
|
6720
|
+
notificationOutput: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
|
|
6721
|
+
ctx: import("@camstack/types").TrpcContext;
|
|
6722
|
+
meta: object;
|
|
6723
|
+
errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
|
|
6724
|
+
transformer: true;
|
|
6725
|
+
}, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
|
|
6726
|
+
send: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
6656
6727
|
input: {
|
|
6657
6728
|
[x: string]: unknown;
|
|
6658
6729
|
title: string;
|
|
@@ -6669,6 +6740,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
6669
6740
|
sendTest: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
6670
6741
|
input: {
|
|
6671
6742
|
nodeId?: string | undefined;
|
|
6743
|
+
addonId?: string | undefined;
|
|
6672
6744
|
} | undefined;
|
|
6673
6745
|
output: {
|
|
6674
6746
|
success: boolean;
|
|
@@ -6677,6 +6749,42 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
6677
6749
|
meta: object;
|
|
6678
6750
|
}>;
|
|
6679
6751
|
}>>;
|
|
6752
|
+
oauthIntegration: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
|
|
6753
|
+
ctx: import("@camstack/types").TrpcContext;
|
|
6754
|
+
meta: object;
|
|
6755
|
+
errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
|
|
6756
|
+
transformer: true;
|
|
6757
|
+
}, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
|
|
6758
|
+
getDescriptor: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
6759
|
+
input: {
|
|
6760
|
+
nodeId?: string | undefined;
|
|
6761
|
+
addonId?: string | undefined;
|
|
6762
|
+
} | undefined;
|
|
6763
|
+
output: {
|
|
6764
|
+
integrationId: string;
|
|
6765
|
+
displayName: string;
|
|
6766
|
+
requestedScopes: ({
|
|
6767
|
+
type: "category";
|
|
6768
|
+
target: "system" | "device";
|
|
6769
|
+
access: ("delete" | "create" | "view")[];
|
|
6770
|
+
} | {
|
|
6771
|
+
type: "capability";
|
|
6772
|
+
target: string;
|
|
6773
|
+
access: ("delete" | "create" | "view")[];
|
|
6774
|
+
} | {
|
|
6775
|
+
type: "addon";
|
|
6776
|
+
target: string;
|
|
6777
|
+
access: ("delete" | "create" | "view")[];
|
|
6778
|
+
} | {
|
|
6779
|
+
type: "device";
|
|
6780
|
+
targets: string[];
|
|
6781
|
+
access: ("delete" | "create" | "view")[];
|
|
6782
|
+
})[];
|
|
6783
|
+
allowedRedirectPrefixes: string[];
|
|
6784
|
+
};
|
|
6785
|
+
meta: object;
|
|
6786
|
+
}>;
|
|
6787
|
+
}>>;
|
|
6680
6788
|
osd: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
|
|
6681
6789
|
ctx: import("@camstack/types").TrpcContext;
|
|
6682
6790
|
meta: object;
|
|
@@ -7101,6 +7209,40 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
7101
7209
|
output: void;
|
|
7102
7210
|
meta: object;
|
|
7103
7211
|
}>;
|
|
7212
|
+
savePreset: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
7213
|
+
input: {
|
|
7214
|
+
[x: string]: unknown;
|
|
7215
|
+
deviceId: number;
|
|
7216
|
+
presetId: string;
|
|
7217
|
+
name: string;
|
|
7218
|
+
};
|
|
7219
|
+
output: void;
|
|
7220
|
+
meta: object;
|
|
7221
|
+
}>;
|
|
7222
|
+
deletePreset: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
7223
|
+
input: {
|
|
7224
|
+
[x: string]: unknown;
|
|
7225
|
+
deviceId: number;
|
|
7226
|
+
presetId: string;
|
|
7227
|
+
};
|
|
7228
|
+
output: void;
|
|
7229
|
+
meta: object;
|
|
7230
|
+
}>;
|
|
7231
|
+
getOptions: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
7232
|
+
input: {
|
|
7233
|
+
[x: string]: unknown;
|
|
7234
|
+
deviceId: number;
|
|
7235
|
+
};
|
|
7236
|
+
output: {
|
|
7237
|
+
hasPan: boolean;
|
|
7238
|
+
hasTilt: boolean;
|
|
7239
|
+
hasZoom: boolean;
|
|
7240
|
+
supportsPresets: boolean;
|
|
7241
|
+
hasAutofocus: boolean;
|
|
7242
|
+
maxPresets?: number | undefined;
|
|
7243
|
+
};
|
|
7244
|
+
meta: object;
|
|
7245
|
+
}>;
|
|
7104
7246
|
goHome: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
7105
7247
|
input: {
|
|
7106
7248
|
[x: string]: unknown;
|
|
@@ -7121,6 +7263,15 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
7121
7263
|
};
|
|
7122
7264
|
meta: object;
|
|
7123
7265
|
}>;
|
|
7266
|
+
setAutofocus: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
7267
|
+
input: {
|
|
7268
|
+
[x: string]: unknown;
|
|
7269
|
+
deviceId: number;
|
|
7270
|
+
enabled: boolean;
|
|
7271
|
+
};
|
|
7272
|
+
output: void;
|
|
7273
|
+
meta: object;
|
|
7274
|
+
}>;
|
|
7124
7275
|
}>>;
|
|
7125
7276
|
ptzAutotrack: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
|
|
7126
7277
|
ctx: import("@camstack/types").TrpcContext;
|
|
@@ -7573,55 +7724,6 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
7573
7724
|
meta: object;
|
|
7574
7725
|
}>;
|
|
7575
7726
|
}>>;
|
|
7576
|
-
remoteAccess: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
|
|
7577
|
-
ctx: import("@camstack/types").TrpcContext;
|
|
7578
|
-
meta: object;
|
|
7579
|
-
errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
|
|
7580
|
-
transformer: true;
|
|
7581
|
-
}, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
|
|
7582
|
-
listProviders: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
7583
|
-
input: {
|
|
7584
|
-
nodeId?: string | undefined;
|
|
7585
|
-
} | undefined;
|
|
7586
|
-
output: readonly {
|
|
7587
|
-
addonId: string;
|
|
7588
|
-
displayName: string;
|
|
7589
|
-
enabled: boolean;
|
|
7590
|
-
connected: boolean;
|
|
7591
|
-
endpoint: {
|
|
7592
|
-
url: string;
|
|
7593
|
-
hostname: string;
|
|
7594
|
-
port: number;
|
|
7595
|
-
protocol: "https" | "http";
|
|
7596
|
-
} | null;
|
|
7597
|
-
error?: string | undefined;
|
|
7598
|
-
}[];
|
|
7599
|
-
meta: object;
|
|
7600
|
-
}>;
|
|
7601
|
-
startProvider: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
7602
|
-
input: {
|
|
7603
|
-
[x: string]: unknown;
|
|
7604
|
-
addonId: string;
|
|
7605
|
-
};
|
|
7606
|
-
output: {
|
|
7607
|
-
url: string;
|
|
7608
|
-
hostname: string;
|
|
7609
|
-
port: number;
|
|
7610
|
-
protocol: "https" | "http";
|
|
7611
|
-
};
|
|
7612
|
-
meta: object;
|
|
7613
|
-
}>;
|
|
7614
|
-
stopProvider: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
7615
|
-
input: {
|
|
7616
|
-
[x: string]: unknown;
|
|
7617
|
-
addonId: string;
|
|
7618
|
-
};
|
|
7619
|
-
output: {
|
|
7620
|
-
success: true;
|
|
7621
|
-
};
|
|
7622
|
-
meta: object;
|
|
7623
|
-
}>;
|
|
7624
|
-
}>>;
|
|
7625
7727
|
settingsStore: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
|
|
7626
7728
|
ctx: import("@camstack/types").TrpcContext;
|
|
7627
7729
|
meta: object;
|
|
@@ -7785,6 +7887,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
7785
7887
|
verify: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
7786
7888
|
input: {
|
|
7787
7889
|
nodeId?: string | undefined;
|
|
7890
|
+
addonId?: string | undefined;
|
|
7788
7891
|
} | undefined;
|
|
7789
7892
|
output: {
|
|
7790
7893
|
ready: boolean;
|
|
@@ -7797,6 +7900,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
7797
7900
|
getStatus: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
7798
7901
|
input: {
|
|
7799
7902
|
nodeId?: string | undefined;
|
|
7903
|
+
addonId?: string | undefined;
|
|
7800
7904
|
} | undefined;
|
|
7801
7905
|
output: unknown;
|
|
7802
7906
|
meta: object;
|
|
@@ -7920,6 +8024,27 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
7920
8024
|
email?: string | undefined;
|
|
7921
8025
|
displayName?: string | undefined;
|
|
7922
8026
|
hubUrl?: string | undefined;
|
|
8027
|
+
scopes?: ({
|
|
8028
|
+
type: "category";
|
|
8029
|
+
target: "system" | "device";
|
|
8030
|
+
access: ("delete" | "create" | "view")[];
|
|
8031
|
+
} | {
|
|
8032
|
+
type: "capability";
|
|
8033
|
+
target: string;
|
|
8034
|
+
access: ("delete" | "create" | "view")[];
|
|
8035
|
+
} | {
|
|
8036
|
+
type: "addon";
|
|
8037
|
+
target: string;
|
|
8038
|
+
access: ("delete" | "create" | "view")[];
|
|
8039
|
+
} | {
|
|
8040
|
+
type: "device";
|
|
8041
|
+
targets: string[];
|
|
8042
|
+
access: ("delete" | "create" | "view")[];
|
|
8043
|
+
})[] | undefined;
|
|
8044
|
+
redirectUri?: string | undefined;
|
|
8045
|
+
integrationId?: string | undefined;
|
|
8046
|
+
jti?: string | undefined;
|
|
8047
|
+
sessionId?: string | undefined;
|
|
7923
8048
|
};
|
|
7924
8049
|
ttlSec?: number | undefined;
|
|
7925
8050
|
};
|
|
@@ -7941,6 +8066,27 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
7941
8066
|
email?: string | undefined;
|
|
7942
8067
|
displayName?: string | undefined;
|
|
7943
8068
|
hubUrl?: string | undefined;
|
|
8069
|
+
scopes?: ({
|
|
8070
|
+
type: "category";
|
|
8071
|
+
target: "system" | "device";
|
|
8072
|
+
access: ("delete" | "create" | "view")[];
|
|
8073
|
+
} | {
|
|
8074
|
+
type: "capability";
|
|
8075
|
+
target: string;
|
|
8076
|
+
access: ("delete" | "create" | "view")[];
|
|
8077
|
+
} | {
|
|
8078
|
+
type: "addon";
|
|
8079
|
+
target: string;
|
|
8080
|
+
access: ("delete" | "create" | "view")[];
|
|
8081
|
+
} | {
|
|
8082
|
+
type: "device";
|
|
8083
|
+
targets: string[];
|
|
8084
|
+
access: ("delete" | "create" | "view")[];
|
|
8085
|
+
})[] | undefined;
|
|
8086
|
+
redirectUri?: string | undefined;
|
|
8087
|
+
integrationId?: string | undefined;
|
|
8088
|
+
jti?: string | undefined;
|
|
8089
|
+
sessionId?: string | undefined;
|
|
7944
8090
|
} | null;
|
|
7945
8091
|
meta: object;
|
|
7946
8092
|
}>;
|
|
@@ -8195,6 +8341,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
8195
8341
|
getProviderInfo: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
8196
8342
|
input: {
|
|
8197
8343
|
nodeId?: string | undefined;
|
|
8344
|
+
addonId?: string | undefined;
|
|
8198
8345
|
} | undefined;
|
|
8199
8346
|
output: {
|
|
8200
8347
|
providerId: string;
|
|
@@ -8596,7 +8743,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
8596
8743
|
profile: "high" | "low" | "mid";
|
|
8597
8744
|
brokerId: string;
|
|
8598
8745
|
sourceCamStreamId: string | null;
|
|
8599
|
-
status: "error" | "streaming" | "
|
|
8746
|
+
status: "error" | "streaming" | "unassigned" | "idle" | "connecting";
|
|
8600
8747
|
resolution?: {
|
|
8601
8748
|
width: number;
|
|
8602
8749
|
height: number;
|
|
@@ -8742,65 +8889,136 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
8742
8889
|
};
|
|
8743
8890
|
meta: object;
|
|
8744
8891
|
}>;
|
|
8745
|
-
|
|
8892
|
+
subscribeAudioChunks: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
8746
8893
|
input: {
|
|
8747
8894
|
[x: string]: unknown;
|
|
8748
8895
|
brokerId: string;
|
|
8896
|
+
tag?: string | undefined;
|
|
8897
|
+
};
|
|
8898
|
+
output: {
|
|
8899
|
+
subscriptionId: string;
|
|
8749
8900
|
};
|
|
8750
|
-
output: import("@camstack/types").IStreamBroker | null;
|
|
8751
8901
|
meta: object;
|
|
8752
8902
|
}>;
|
|
8753
|
-
|
|
8903
|
+
pullAudioChunks: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
8754
8904
|
input: {
|
|
8755
8905
|
[x: string]: unknown;
|
|
8756
|
-
|
|
8757
|
-
|
|
8906
|
+
subscriptionId: string;
|
|
8907
|
+
maxCount?: number | undefined;
|
|
8758
8908
|
};
|
|
8759
|
-
output:
|
|
8909
|
+
output: readonly {
|
|
8910
|
+
data: Uint8Array<ArrayBuffer>;
|
|
8911
|
+
sampleRate: number;
|
|
8912
|
+
channels: number;
|
|
8913
|
+
timestamp: number;
|
|
8914
|
+
}[];
|
|
8760
8915
|
meta: object;
|
|
8761
8916
|
}>;
|
|
8762
|
-
|
|
8917
|
+
unsubscribeAudioChunks: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
8763
8918
|
input: {
|
|
8764
8919
|
[x: string]: unknown;
|
|
8765
|
-
|
|
8920
|
+
subscriptionId: string;
|
|
8766
8921
|
};
|
|
8767
8922
|
output: {
|
|
8768
|
-
|
|
8769
|
-
bufferedMs: number;
|
|
8770
|
-
packetCount: number;
|
|
8923
|
+
released: boolean;
|
|
8771
8924
|
};
|
|
8772
8925
|
meta: object;
|
|
8773
8926
|
}>;
|
|
8774
|
-
|
|
8927
|
+
subscribeFrames: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
8775
8928
|
input: {
|
|
8776
|
-
|
|
8777
|
-
|
|
8778
|
-
|
|
8929
|
+
[x: string]: unknown;
|
|
8930
|
+
brokerId: string;
|
|
8931
|
+
format: "rgb" | "bgr" | "yuv420" | "gray";
|
|
8932
|
+
maxFps?: number | undefined;
|
|
8933
|
+
tag?: string | undefined;
|
|
8934
|
+
};
|
|
8935
|
+
output: {
|
|
8936
|
+
subscriptionId: string;
|
|
8937
|
+
maxFps: number;
|
|
8938
|
+
};
|
|
8779
8939
|
meta: object;
|
|
8780
8940
|
}>;
|
|
8781
|
-
|
|
8941
|
+
pullFrameHandles: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
8782
8942
|
input: {
|
|
8783
8943
|
[x: string]: unknown;
|
|
8784
|
-
|
|
8944
|
+
subscriptionId: string;
|
|
8945
|
+
maxCount?: number | undefined;
|
|
8785
8946
|
};
|
|
8786
8947
|
output: readonly {
|
|
8787
|
-
|
|
8788
|
-
|
|
8789
|
-
|
|
8790
|
-
|
|
8948
|
+
shmId: string;
|
|
8949
|
+
slot: number;
|
|
8950
|
+
seq: number;
|
|
8951
|
+
width: number;
|
|
8952
|
+
height: number;
|
|
8953
|
+
format: "jpeg" | "rgb" | "bgr" | "yuv420" | "gray";
|
|
8954
|
+
pts: number;
|
|
8955
|
+
byteLength: number;
|
|
8956
|
+
nodeId: string;
|
|
8957
|
+
slotCount: number;
|
|
8791
8958
|
}[];
|
|
8792
8959
|
meta: object;
|
|
8793
8960
|
}>;
|
|
8794
|
-
|
|
8961
|
+
unsubscribeFrames: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
8795
8962
|
input: {
|
|
8796
8963
|
[x: string]: unknown;
|
|
8797
|
-
|
|
8798
|
-
hostname?: string | undefined;
|
|
8964
|
+
subscriptionId: string;
|
|
8799
8965
|
};
|
|
8800
8966
|
output: {
|
|
8801
|
-
|
|
8802
|
-
|
|
8803
|
-
|
|
8967
|
+
released: boolean;
|
|
8968
|
+
};
|
|
8969
|
+
meta: object;
|
|
8970
|
+
}>;
|
|
8971
|
+
setPreBufferDuration: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
8972
|
+
input: {
|
|
8973
|
+
[x: string]: unknown;
|
|
8974
|
+
brokerId: string;
|
|
8975
|
+
seconds: number;
|
|
8976
|
+
};
|
|
8977
|
+
output: void;
|
|
8978
|
+
meta: object;
|
|
8979
|
+
}>;
|
|
8980
|
+
getPreBufferInfo: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
8981
|
+
input: {
|
|
8982
|
+
[x: string]: unknown;
|
|
8983
|
+
brokerId: string;
|
|
8984
|
+
};
|
|
8985
|
+
output: {
|
|
8986
|
+
configuredSec: number;
|
|
8987
|
+
bufferedMs: number;
|
|
8988
|
+
packetCount: number;
|
|
8989
|
+
};
|
|
8990
|
+
meta: object;
|
|
8991
|
+
}>;
|
|
8992
|
+
getRtspPort: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
8993
|
+
input: {
|
|
8994
|
+
nodeId?: string | undefined;
|
|
8995
|
+
} | undefined;
|
|
8996
|
+
output: number;
|
|
8997
|
+
meta: object;
|
|
8998
|
+
}>;
|
|
8999
|
+
getAllRtspEntries: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
9000
|
+
input: {
|
|
9001
|
+
[x: string]: unknown;
|
|
9002
|
+
hostname?: string | undefined;
|
|
9003
|
+
};
|
|
9004
|
+
output: readonly {
|
|
9005
|
+
brokerId: string;
|
|
9006
|
+
url: string;
|
|
9007
|
+
mutedUrl: string;
|
|
9008
|
+
enabled: boolean;
|
|
9009
|
+
}[];
|
|
9010
|
+
meta: object;
|
|
9011
|
+
}>;
|
|
9012
|
+
getRtspEntry: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
9013
|
+
input: {
|
|
9014
|
+
[x: string]: unknown;
|
|
9015
|
+
brokerId: string;
|
|
9016
|
+
hostname?: string | undefined;
|
|
9017
|
+
};
|
|
9018
|
+
output: {
|
|
9019
|
+
brokerId: string;
|
|
9020
|
+
url: string;
|
|
9021
|
+
mutedUrl: string;
|
|
8804
9022
|
enabled: boolean;
|
|
8805
9023
|
} | null;
|
|
8806
9024
|
meta: object;
|
|
@@ -8831,7 +9049,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
8831
9049
|
meta: object;
|
|
8832
9050
|
}>;
|
|
8833
9051
|
}>>;
|
|
8834
|
-
|
|
9052
|
+
streamParams: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
|
|
8835
9053
|
ctx: import("@camstack/types").TrpcContext;
|
|
8836
9054
|
meta: object;
|
|
8837
9055
|
errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
|
|
@@ -8845,39 +9063,132 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
8845
9063
|
output: unknown;
|
|
8846
9064
|
meta: object;
|
|
8847
9065
|
}>;
|
|
8848
|
-
|
|
9066
|
+
getOptions: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
8849
9067
|
input: {
|
|
8850
9068
|
[x: string]: unknown;
|
|
8851
9069
|
deviceId: number;
|
|
8852
|
-
|
|
9070
|
+
};
|
|
9071
|
+
output: {
|
|
9072
|
+
main?: {
|
|
9073
|
+
resolutions: {
|
|
9074
|
+
width: number;
|
|
9075
|
+
height: number;
|
|
9076
|
+
}[];
|
|
9077
|
+
codecs: ("h264" | "h265")[];
|
|
9078
|
+
framerates: number[];
|
|
9079
|
+
bitrates: number[];
|
|
9080
|
+
supportsBitrateMode: boolean;
|
|
9081
|
+
supportsEncoderProfile: boolean;
|
|
9082
|
+
supportsGop: boolean;
|
|
9083
|
+
bitrateRange?: [number, number] | undefined;
|
|
9084
|
+
gop?: {
|
|
9085
|
+
min: number;
|
|
9086
|
+
max: number;
|
|
9087
|
+
step: number;
|
|
9088
|
+
} | undefined;
|
|
9089
|
+
} | undefined;
|
|
9090
|
+
sub?: {
|
|
9091
|
+
resolutions: {
|
|
9092
|
+
width: number;
|
|
9093
|
+
height: number;
|
|
9094
|
+
}[];
|
|
9095
|
+
codecs: ("h264" | "h265")[];
|
|
9096
|
+
framerates: number[];
|
|
9097
|
+
bitrates: number[];
|
|
9098
|
+
supportsBitrateMode: boolean;
|
|
9099
|
+
supportsEncoderProfile: boolean;
|
|
9100
|
+
supportsGop: boolean;
|
|
9101
|
+
bitrateRange?: [number, number] | undefined;
|
|
9102
|
+
gop?: {
|
|
9103
|
+
min: number;
|
|
9104
|
+
max: number;
|
|
9105
|
+
step: number;
|
|
9106
|
+
} | undefined;
|
|
9107
|
+
} | undefined;
|
|
9108
|
+
ext?: {
|
|
9109
|
+
resolutions: {
|
|
9110
|
+
width: number;
|
|
9111
|
+
height: number;
|
|
9112
|
+
}[];
|
|
9113
|
+
codecs: ("h264" | "h265")[];
|
|
9114
|
+
framerates: number[];
|
|
9115
|
+
bitrates: number[];
|
|
9116
|
+
supportsBitrateMode: boolean;
|
|
9117
|
+
supportsEncoderProfile: boolean;
|
|
9118
|
+
supportsGop: boolean;
|
|
9119
|
+
bitrateRange?: [number, number] | undefined;
|
|
9120
|
+
gop?: {
|
|
9121
|
+
min: number;
|
|
9122
|
+
max: number;
|
|
9123
|
+
step: number;
|
|
9124
|
+
} | undefined;
|
|
9125
|
+
} | undefined;
|
|
9126
|
+
};
|
|
9127
|
+
meta: object;
|
|
9128
|
+
}>;
|
|
9129
|
+
setProfile: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
9130
|
+
input: {
|
|
9131
|
+
[x: string]: unknown;
|
|
9132
|
+
deviceId: number;
|
|
9133
|
+
profile: "sub" | "main" | "ext";
|
|
9134
|
+
patch: {
|
|
9135
|
+
width?: number | undefined;
|
|
9136
|
+
height?: number | undefined;
|
|
9137
|
+
codec?: "h264" | "h265" | undefined;
|
|
9138
|
+
framerate?: number | undefined;
|
|
9139
|
+
bitrate?: number | undefined;
|
|
9140
|
+
bitrateMode?: "vbr" | "cbr" | undefined;
|
|
9141
|
+
encoderProfile?: "main" | "high" | "baseline" | undefined;
|
|
9142
|
+
gop?: number | undefined;
|
|
9143
|
+
audio?: boolean | undefined;
|
|
9144
|
+
};
|
|
8853
9145
|
};
|
|
8854
9146
|
output: void;
|
|
8855
9147
|
meta: object;
|
|
8856
9148
|
}>;
|
|
9149
|
+
getConfigSchema: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
9150
|
+
input: {
|
|
9151
|
+
[x: string]: unknown;
|
|
9152
|
+
deviceId: number;
|
|
9153
|
+
};
|
|
9154
|
+
output: unknown;
|
|
9155
|
+
meta: object;
|
|
9156
|
+
}>;
|
|
8857
9157
|
}>>;
|
|
8858
|
-
|
|
9158
|
+
switch: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
|
|
8859
9159
|
ctx: import("@camstack/types").TrpcContext;
|
|
8860
9160
|
meta: object;
|
|
8861
9161
|
errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
|
|
8862
9162
|
transformer: true;
|
|
8863
9163
|
}, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
|
|
8864
|
-
|
|
9164
|
+
getStatus: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
8865
9165
|
input: {
|
|
8866
|
-
|
|
8867
|
-
|
|
8868
|
-
|
|
8869
|
-
|
|
8870
|
-
|
|
8871
|
-
|
|
8872
|
-
|
|
8873
|
-
|
|
8874
|
-
|
|
8875
|
-
|
|
9166
|
+
[x: string]: unknown;
|
|
9167
|
+
deviceId: number;
|
|
9168
|
+
};
|
|
9169
|
+
output: unknown;
|
|
9170
|
+
meta: object;
|
|
9171
|
+
}>;
|
|
9172
|
+
setState: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
9173
|
+
input: {
|
|
9174
|
+
[x: string]: unknown;
|
|
9175
|
+
deviceId: number;
|
|
9176
|
+
on: boolean;
|
|
9177
|
+
};
|
|
9178
|
+
output: void;
|
|
8876
9179
|
meta: object;
|
|
8877
9180
|
}>;
|
|
8878
|
-
|
|
9181
|
+
}>>;
|
|
9182
|
+
turnProvider: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
|
|
9183
|
+
ctx: import("@camstack/types").TrpcContext;
|
|
9184
|
+
meta: object;
|
|
9185
|
+
errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
|
|
9186
|
+
transformer: true;
|
|
9187
|
+
}, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
|
|
9188
|
+
getTurnServers: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
8879
9189
|
input: {
|
|
8880
9190
|
nodeId?: string | undefined;
|
|
9191
|
+
addonId?: string | undefined;
|
|
8881
9192
|
} | undefined;
|
|
8882
9193
|
output: readonly {
|
|
8883
9194
|
urls: string | string[];
|
|
@@ -8886,17 +9197,6 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
8886
9197
|
}[];
|
|
8887
9198
|
meta: object;
|
|
8888
9199
|
}>;
|
|
8889
|
-
setProviderEnabled: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
8890
|
-
input: {
|
|
8891
|
-
[x: string]: unknown;
|
|
8892
|
-
addonId: string;
|
|
8893
|
-
enabled: boolean;
|
|
8894
|
-
};
|
|
8895
|
-
output: {
|
|
8896
|
-
success: true;
|
|
8897
|
-
};
|
|
8898
|
-
meta: object;
|
|
8899
|
-
}>;
|
|
8900
9200
|
}>>;
|
|
8901
9201
|
userManagement: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
|
|
8902
9202
|
ctx: import("@camstack/types").TrpcContext;
|
|
@@ -9357,6 +9657,132 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
9357
9657
|
};
|
|
9358
9658
|
meta: object;
|
|
9359
9659
|
}>;
|
|
9660
|
+
oauthIssueCode: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
9661
|
+
input: {
|
|
9662
|
+
[x: string]: unknown;
|
|
9663
|
+
integrationId: string;
|
|
9664
|
+
userId: string;
|
|
9665
|
+
username: string;
|
|
9666
|
+
scopes: ({
|
|
9667
|
+
type: "category";
|
|
9668
|
+
target: "system" | "device";
|
|
9669
|
+
access: ("delete" | "create" | "view")[];
|
|
9670
|
+
} | {
|
|
9671
|
+
type: "capability";
|
|
9672
|
+
target: string;
|
|
9673
|
+
access: ("delete" | "create" | "view")[];
|
|
9674
|
+
} | {
|
|
9675
|
+
type: "addon";
|
|
9676
|
+
target: string;
|
|
9677
|
+
access: ("delete" | "create" | "view")[];
|
|
9678
|
+
} | {
|
|
9679
|
+
type: "device";
|
|
9680
|
+
targets: string[];
|
|
9681
|
+
access: ("delete" | "create" | "view")[];
|
|
9682
|
+
})[];
|
|
9683
|
+
redirectUri: string;
|
|
9684
|
+
hubUrl: string;
|
|
9685
|
+
};
|
|
9686
|
+
output: {
|
|
9687
|
+
code: string;
|
|
9688
|
+
};
|
|
9689
|
+
meta: object;
|
|
9690
|
+
}>;
|
|
9691
|
+
oauthExchangeCode: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
9692
|
+
input: {
|
|
9693
|
+
[x: string]: unknown;
|
|
9694
|
+
code: string;
|
|
9695
|
+
redirectUri: string;
|
|
9696
|
+
};
|
|
9697
|
+
output: {
|
|
9698
|
+
accessToken: string;
|
|
9699
|
+
refreshToken: string;
|
|
9700
|
+
expiresIn: number;
|
|
9701
|
+
} | null;
|
|
9702
|
+
meta: object;
|
|
9703
|
+
}>;
|
|
9704
|
+
oauthRefresh: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
9705
|
+
input: {
|
|
9706
|
+
[x: string]: unknown;
|
|
9707
|
+
refreshToken: string;
|
|
9708
|
+
};
|
|
9709
|
+
output: {
|
|
9710
|
+
accessToken: string;
|
|
9711
|
+
refreshToken: string;
|
|
9712
|
+
expiresIn: number;
|
|
9713
|
+
} | null;
|
|
9714
|
+
meta: object;
|
|
9715
|
+
}>;
|
|
9716
|
+
oauthVerifyAccessToken: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
9717
|
+
input: {
|
|
9718
|
+
[x: string]: unknown;
|
|
9719
|
+
token: string;
|
|
9720
|
+
};
|
|
9721
|
+
output: {
|
|
9722
|
+
userId: string;
|
|
9723
|
+
username: string;
|
|
9724
|
+
scopes: ({
|
|
9725
|
+
type: "category";
|
|
9726
|
+
target: "system" | "device";
|
|
9727
|
+
access: ("delete" | "create" | "view")[];
|
|
9728
|
+
} | {
|
|
9729
|
+
type: "capability";
|
|
9730
|
+
target: string;
|
|
9731
|
+
access: ("delete" | "create" | "view")[];
|
|
9732
|
+
} | {
|
|
9733
|
+
type: "addon";
|
|
9734
|
+
target: string;
|
|
9735
|
+
access: ("delete" | "create" | "view")[];
|
|
9736
|
+
} | {
|
|
9737
|
+
type: "device";
|
|
9738
|
+
targets: string[];
|
|
9739
|
+
access: ("delete" | "create" | "view")[];
|
|
9740
|
+
})[];
|
|
9741
|
+
} | null;
|
|
9742
|
+
meta: object;
|
|
9743
|
+
}>;
|
|
9744
|
+
listOauthSessions: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
9745
|
+
input: {
|
|
9746
|
+
nodeId?: string | undefined;
|
|
9747
|
+
} | undefined;
|
|
9748
|
+
output: {
|
|
9749
|
+
id: string;
|
|
9750
|
+
userId: string;
|
|
9751
|
+
username: string;
|
|
9752
|
+
integrationId: string;
|
|
9753
|
+
scopes: ({
|
|
9754
|
+
type: "category";
|
|
9755
|
+
target: "system" | "device";
|
|
9756
|
+
access: ("delete" | "create" | "view")[];
|
|
9757
|
+
} | {
|
|
9758
|
+
type: "capability";
|
|
9759
|
+
target: string;
|
|
9760
|
+
access: ("delete" | "create" | "view")[];
|
|
9761
|
+
} | {
|
|
9762
|
+
type: "addon";
|
|
9763
|
+
target: string;
|
|
9764
|
+
access: ("delete" | "create" | "view")[];
|
|
9765
|
+
} | {
|
|
9766
|
+
type: "device";
|
|
9767
|
+
targets: string[];
|
|
9768
|
+
access: ("delete" | "create" | "view")[];
|
|
9769
|
+
})[];
|
|
9770
|
+
createdAt: number;
|
|
9771
|
+
lastUsedAt: number;
|
|
9772
|
+
revokedAt: number | null;
|
|
9773
|
+
}[];
|
|
9774
|
+
meta: object;
|
|
9775
|
+
}>;
|
|
9776
|
+
revokeOauthSession: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
9777
|
+
input: {
|
|
9778
|
+
[x: string]: unknown;
|
|
9779
|
+
id: string;
|
|
9780
|
+
};
|
|
9781
|
+
output: {
|
|
9782
|
+
success: boolean;
|
|
9783
|
+
};
|
|
9784
|
+
meta: object;
|
|
9785
|
+
}>;
|
|
9360
9786
|
}>>;
|
|
9361
9787
|
userPasskeys: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
|
|
9362
9788
|
ctx: import("@camstack/types").TrpcContext;
|
|
@@ -10909,6 +11335,20 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
10909
11335
|
}>;
|
|
10910
11336
|
meta: object;
|
|
10911
11337
|
}>;
|
|
11338
|
+
getCapUsageGraph: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
11339
|
+
input: {
|
|
11340
|
+
[x: string]: unknown;
|
|
11341
|
+
windowSeconds?: number | undefined;
|
|
11342
|
+
};
|
|
11343
|
+
output: readonly {
|
|
11344
|
+
callerAddonId: string;
|
|
11345
|
+
providerAddonId: string;
|
|
11346
|
+
capName: string;
|
|
11347
|
+
callsPerMin: number;
|
|
11348
|
+
lastCallAtMs: number;
|
|
11349
|
+
}[];
|
|
11350
|
+
meta: object;
|
|
11351
|
+
}>;
|
|
10912
11352
|
getNodeAddons: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
10913
11353
|
input: {
|
|
10914
11354
|
[x: string]: unknown;
|
|
@@ -11170,11 +11610,23 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
11170
11610
|
};
|
|
11171
11611
|
output: readonly {
|
|
11172
11612
|
addonId: string;
|
|
11173
|
-
mode: "
|
|
11613
|
+
mode: "collection" | "singleton";
|
|
11174
11614
|
isActive: boolean;
|
|
11175
11615
|
}[];
|
|
11176
11616
|
meta: object;
|
|
11177
11617
|
}>;
|
|
11618
|
+
setCapabilityProviderEnabled: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
11619
|
+
input: {
|
|
11620
|
+
[x: string]: unknown;
|
|
11621
|
+
capName: string;
|
|
11622
|
+
addonId: string;
|
|
11623
|
+
enabled: boolean;
|
|
11624
|
+
};
|
|
11625
|
+
output: {
|
|
11626
|
+
success: true;
|
|
11627
|
+
};
|
|
11628
|
+
meta: object;
|
|
11629
|
+
}>;
|
|
11178
11630
|
updateFrameworkPackage: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
11179
11631
|
input: {
|
|
11180
11632
|
[x: string]: unknown;
|
|
@@ -12879,6 +13331,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
12879
13331
|
height?: number | undefined;
|
|
12880
13332
|
deviceId?: number | undefined;
|
|
12881
13333
|
tag?: string | undefined;
|
|
13334
|
+
frameSink?: "callback" | "shm" | undefined;
|
|
12882
13335
|
};
|
|
12883
13336
|
output: {
|
|
12884
13337
|
sessionId: string;
|
|
@@ -12934,7 +13387,69 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
12934
13387
|
}[];
|
|
12935
13388
|
meta: object;
|
|
12936
13389
|
}>;
|
|
12937
|
-
|
|
13390
|
+
pullHandles: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
13391
|
+
input: {
|
|
13392
|
+
[x: string]: unknown;
|
|
13393
|
+
sessionId: string;
|
|
13394
|
+
maxCount?: number | undefined;
|
|
13395
|
+
};
|
|
13396
|
+
output: {
|
|
13397
|
+
shmId: string;
|
|
13398
|
+
slot: number;
|
|
13399
|
+
seq: number;
|
|
13400
|
+
width: number;
|
|
13401
|
+
height: number;
|
|
13402
|
+
format: "jpeg" | "rgb" | "bgr" | "yuv420" | "gray";
|
|
13403
|
+
pts: number;
|
|
13404
|
+
byteLength: number;
|
|
13405
|
+
nodeId: string;
|
|
13406
|
+
slotCount: number;
|
|
13407
|
+
}[];
|
|
13408
|
+
meta: object;
|
|
13409
|
+
}>;
|
|
13410
|
+
getFrame: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
13411
|
+
input: {
|
|
13412
|
+
[x: string]: unknown;
|
|
13413
|
+
handle: {
|
|
13414
|
+
shmId: string;
|
|
13415
|
+
slot: number;
|
|
13416
|
+
seq: number;
|
|
13417
|
+
width: number;
|
|
13418
|
+
height: number;
|
|
13419
|
+
format: "jpeg" | "rgb" | "bgr" | "yuv420" | "gray";
|
|
13420
|
+
pts: number;
|
|
13421
|
+
byteLength: number;
|
|
13422
|
+
nodeId: string;
|
|
13423
|
+
slotCount: number;
|
|
13424
|
+
};
|
|
13425
|
+
};
|
|
13426
|
+
output: {
|
|
13427
|
+
data: Uint8Array<ArrayBuffer>;
|
|
13428
|
+
width: number;
|
|
13429
|
+
height: number;
|
|
13430
|
+
format: "jpeg" | "rgb" | "bgr" | "yuv420" | "gray";
|
|
13431
|
+
timestamp: number;
|
|
13432
|
+
} | null;
|
|
13433
|
+
meta: object;
|
|
13434
|
+
}>;
|
|
13435
|
+
getShmStats: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
13436
|
+
input: {
|
|
13437
|
+
[x: string]: unknown;
|
|
13438
|
+
sessionId: string;
|
|
13439
|
+
};
|
|
13440
|
+
output: {
|
|
13441
|
+
sessionId: string;
|
|
13442
|
+
slotCount: number;
|
|
13443
|
+
slotByteLength: number;
|
|
13444
|
+
segmentBytes: number;
|
|
13445
|
+
budgetMb: number;
|
|
13446
|
+
framesWritten: number;
|
|
13447
|
+
getFrameHits: number;
|
|
13448
|
+
getFrameMisses: number;
|
|
13449
|
+
} | null;
|
|
13450
|
+
meta: object;
|
|
13451
|
+
}>;
|
|
13452
|
+
updateConfig: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
12938
13453
|
input: {
|
|
12939
13454
|
[x: string]: unknown;
|
|
12940
13455
|
sessionId: string;
|
|
@@ -12947,6 +13462,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
12947
13462
|
height?: number | undefined;
|
|
12948
13463
|
deviceId?: number | undefined;
|
|
12949
13464
|
tag?: string | undefined;
|
|
13465
|
+
frameSink?: "callback" | "shm" | undefined;
|
|
12950
13466
|
};
|
|
12951
13467
|
};
|
|
12952
13468
|
output: void;
|
|
@@ -13143,7 +13659,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
13143
13659
|
netmask: string;
|
|
13144
13660
|
internal: boolean;
|
|
13145
13661
|
mac: string;
|
|
13146
|
-
kind: "other" | "lan" | "
|
|
13662
|
+
kind: "other" | "lan" | "wifi" | "docker" | "vpn" | "loopback";
|
|
13147
13663
|
preferred: boolean;
|
|
13148
13664
|
plausible: boolean;
|
|
13149
13665
|
plausibleReason: string;
|
|
@@ -13164,7 +13680,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
13164
13680
|
netmask: string;
|
|
13165
13681
|
internal: boolean;
|
|
13166
13682
|
mac: string;
|
|
13167
|
-
kind: "other" | "lan" | "
|
|
13683
|
+
kind: "other" | "lan" | "wifi" | "docker" | "vpn" | "loopback";
|
|
13168
13684
|
preferred: boolean;
|
|
13169
13685
|
plausible: boolean;
|
|
13170
13686
|
plausibleReason: string;
|
|
@@ -13184,7 +13700,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
13184
13700
|
label: string;
|
|
13185
13701
|
baseUrl: string;
|
|
13186
13702
|
kind: "public" | "loopback" | "lan-ipv4" | "lan-ipv6";
|
|
13187
|
-
interfaceKind: "other" | "public" | "lan" | "
|
|
13703
|
+
interfaceKind: "other" | "public" | "lan" | "wifi" | "docker" | "vpn" | "loopback";
|
|
13188
13704
|
plausible: boolean;
|
|
13189
13705
|
plausibleReason: string;
|
|
13190
13706
|
priority: number;
|
|
@@ -13221,24 +13737,6 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
13221
13737
|
meta: object;
|
|
13222
13738
|
}>;
|
|
13223
13739
|
}>>;
|
|
13224
|
-
turnProvider: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
|
|
13225
|
-
ctx: import("@camstack/types").TrpcContext;
|
|
13226
|
-
meta: object;
|
|
13227
|
-
errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
|
|
13228
|
-
transformer: true;
|
|
13229
|
-
}, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
|
|
13230
|
-
getTurnServers: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
13231
|
-
input: {
|
|
13232
|
-
nodeId?: string | undefined;
|
|
13233
|
-
} | undefined;
|
|
13234
|
-
output: readonly {
|
|
13235
|
-
urls: string | string[];
|
|
13236
|
-
username?: string | undefined;
|
|
13237
|
-
credential?: string | undefined;
|
|
13238
|
-
}[];
|
|
13239
|
-
meta: object;
|
|
13240
|
-
}>;
|
|
13241
|
-
}>>;
|
|
13242
13740
|
snapshotProvider: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
|
|
13243
13741
|
ctx: import("@camstack/types").TrpcContext;
|
|
13244
13742
|
meta: object;
|
|
@@ -13315,6 +13813,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
13315
13813
|
listPages: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
13316
13814
|
input: {
|
|
13317
13815
|
nodeId?: string | undefined;
|
|
13816
|
+
addonId?: string | undefined;
|
|
13318
13817
|
} | undefined;
|
|
13319
13818
|
output: readonly {
|
|
13320
13819
|
id: string;
|
|
@@ -13428,9 +13927,15 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
13428
13927
|
nodeId?: string | undefined;
|
|
13429
13928
|
} | undefined;
|
|
13430
13929
|
output: readonly {
|
|
13431
|
-
|
|
13930
|
+
tab: string;
|
|
13432
13931
|
label: string;
|
|
13433
|
-
|
|
13932
|
+
kind: "remote";
|
|
13933
|
+
remote: {
|
|
13934
|
+
remoteName: string;
|
|
13935
|
+
exposedModule: string;
|
|
13936
|
+
componentKey?: string | undefined;
|
|
13937
|
+
};
|
|
13938
|
+
stableId: string;
|
|
13434
13939
|
bundle: string;
|
|
13435
13940
|
hosts: readonly ("device-tab" | "dashboard" | "integration-detail")[];
|
|
13436
13941
|
requires: {
|
|
@@ -13443,6 +13948,8 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
13443
13948
|
defaultRows: number;
|
|
13444
13949
|
addonId: string;
|
|
13445
13950
|
bundleUrl: string;
|
|
13951
|
+
subTab?: string | undefined;
|
|
13952
|
+
order?: number | undefined;
|
|
13446
13953
|
description?: string | undefined;
|
|
13447
13954
|
icon?: string | undefined;
|
|
13448
13955
|
}[];
|
|
@@ -13458,11 +13965,18 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
13458
13965
|
listWidgets: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
13459
13966
|
input: {
|
|
13460
13967
|
nodeId?: string | undefined;
|
|
13968
|
+
addonId?: string | undefined;
|
|
13461
13969
|
} | undefined;
|
|
13462
13970
|
output: readonly {
|
|
13463
|
-
|
|
13971
|
+
tab: string;
|
|
13464
13972
|
label: string;
|
|
13465
|
-
|
|
13973
|
+
kind: "remote";
|
|
13974
|
+
remote: {
|
|
13975
|
+
remoteName: string;
|
|
13976
|
+
exposedModule: string;
|
|
13977
|
+
componentKey?: string | undefined;
|
|
13978
|
+
};
|
|
13979
|
+
stableId: string;
|
|
13466
13980
|
bundle: string;
|
|
13467
13981
|
hosts: readonly ("device-tab" | "dashboard" | "integration-detail")[];
|
|
13468
13982
|
requires: {
|
|
@@ -13473,6 +13987,8 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
13473
13987
|
allowedSizes: readonly ("xs" | "sm" | "md" | "lg" | "xl")[];
|
|
13474
13988
|
defaultColumns: number;
|
|
13475
13989
|
defaultRows: number;
|
|
13990
|
+
subTab?: string | undefined;
|
|
13991
|
+
order?: number | undefined;
|
|
13476
13992
|
description?: string | undefined;
|
|
13477
13993
|
icon?: string | undefined;
|
|
13478
13994
|
}[];
|
|
@@ -13879,41 +14395,6 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
13879
14395
|
meta: object;
|
|
13880
14396
|
}>;
|
|
13881
14397
|
}>>;
|
|
13882
|
-
authentication: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
|
|
13883
|
-
ctx: import("@camstack/types").TrpcContext;
|
|
13884
|
-
meta: object;
|
|
13885
|
-
errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
|
|
13886
|
-
transformer: true;
|
|
13887
|
-
}, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
|
|
13888
|
-
listProviders: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
13889
|
-
input: {
|
|
13890
|
-
nodeId?: string | undefined;
|
|
13891
|
-
} | undefined;
|
|
13892
|
-
output: readonly {
|
|
13893
|
-
addonId: string;
|
|
13894
|
-
displayName: string;
|
|
13895
|
-
hasRedirectFlow: boolean;
|
|
13896
|
-
hasCredentialFlow: boolean;
|
|
13897
|
-
enabled: boolean;
|
|
13898
|
-
instanceId?: string | undefined;
|
|
13899
|
-
icon?: string | undefined;
|
|
13900
|
-
kind?: string | undefined;
|
|
13901
|
-
status?: string | undefined;
|
|
13902
|
-
}[];
|
|
13903
|
-
meta: object;
|
|
13904
|
-
}>;
|
|
13905
|
-
setProviderEnabled: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
13906
|
-
input: {
|
|
13907
|
-
[x: string]: unknown;
|
|
13908
|
-
addonId: string;
|
|
13909
|
-
enabled: boolean;
|
|
13910
|
-
};
|
|
13911
|
-
output: {
|
|
13912
|
-
success: true;
|
|
13913
|
-
};
|
|
13914
|
-
meta: object;
|
|
13915
|
-
}>;
|
|
13916
|
-
}>>;
|
|
13917
14398
|
backup: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
|
|
13918
14399
|
ctx: import("@camstack/types").TrpcContext;
|
|
13919
14400
|
meta: object;
|
|
@@ -14178,7 +14659,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
14178
14659
|
profile: "high" | "low" | "mid";
|
|
14179
14660
|
brokerId: string;
|
|
14180
14661
|
sourceCamStreamId: string | null;
|
|
14181
|
-
status: "error" | "streaming" | "
|
|
14662
|
+
status: "error" | "streaming" | "unassigned" | "idle" | "connecting";
|
|
14182
14663
|
resolution?: {
|
|
14183
14664
|
width: number;
|
|
14184
14665
|
height: number;
|
|
@@ -14370,6 +14851,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
14370
14851
|
getStatus: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
14371
14852
|
input: {
|
|
14372
14853
|
nodeId?: string | undefined;
|
|
14854
|
+
addonId?: string | undefined;
|
|
14373
14855
|
} | undefined;
|
|
14374
14856
|
output: unknown;
|
|
14375
14857
|
meta: object;
|
|
@@ -14442,6 +14924,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
14442
14924
|
listSupportedDeviceKinds: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
14443
14925
|
input: {
|
|
14444
14926
|
nodeId?: string | undefined;
|
|
14927
|
+
addonId?: string | undefined;
|
|
14445
14928
|
} | undefined;
|
|
14446
14929
|
output: string[];
|
|
14447
14930
|
meta: object;
|
|
@@ -14449,6 +14932,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
14449
14932
|
listExposedDevices: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
14450
14933
|
input: {
|
|
14451
14934
|
nodeId?: string | undefined;
|
|
14935
|
+
addonId?: string | undefined;
|
|
14452
14936
|
} | undefined;
|
|
14453
14937
|
output: {
|
|
14454
14938
|
deviceId: string;
|
|
@@ -15204,6 +15688,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
15204
15688
|
start: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
15205
15689
|
input: {
|
|
15206
15690
|
nodeId?: string | undefined;
|
|
15691
|
+
addonId?: string | undefined;
|
|
15207
15692
|
} | undefined;
|
|
15208
15693
|
output: void;
|
|
15209
15694
|
meta: object;
|
|
@@ -15211,6 +15696,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
15211
15696
|
stop: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
15212
15697
|
input: {
|
|
15213
15698
|
nodeId?: string | undefined;
|
|
15699
|
+
addonId?: string | undefined;
|
|
15214
15700
|
} | undefined;
|
|
15215
15701
|
output: void;
|
|
15216
15702
|
meta: object;
|
|
@@ -15218,6 +15704,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
15218
15704
|
getStatus: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
15219
15705
|
input: {
|
|
15220
15706
|
nodeId?: string | undefined;
|
|
15707
|
+
addonId?: string | undefined;
|
|
15221
15708
|
} | undefined;
|
|
15222
15709
|
output: unknown;
|
|
15223
15710
|
meta: object;
|
|
@@ -15225,6 +15712,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
15225
15712
|
getDevices: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
15226
15713
|
input: {
|
|
15227
15714
|
nodeId?: string | undefined;
|
|
15715
|
+
addonId?: string | undefined;
|
|
15228
15716
|
} | undefined;
|
|
15229
15717
|
output: {
|
|
15230
15718
|
id: string;
|
|
@@ -15429,6 +15917,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
15429
15917
|
getInfo: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
15430
15918
|
input: {
|
|
15431
15919
|
nodeId?: string | undefined;
|
|
15920
|
+
addonId?: string | undefined;
|
|
15432
15921
|
} | undefined;
|
|
15433
15922
|
output: {
|
|
15434
15923
|
modelId: string;
|
|
@@ -15584,6 +16073,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
15584
16073
|
getStatus: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
15585
16074
|
input: {
|
|
15586
16075
|
nodeId?: string | undefined;
|
|
16076
|
+
addonId?: string | undefined;
|
|
15587
16077
|
} | undefined;
|
|
15588
16078
|
output: unknown;
|
|
15589
16079
|
meta: object;
|
|
@@ -15612,6 +16102,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
15612
16102
|
leave: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
15613
16103
|
input: {
|
|
15614
16104
|
nodeId?: string | undefined;
|
|
16105
|
+
addonId?: string | undefined;
|
|
15615
16106
|
} | undefined;
|
|
15616
16107
|
output: {
|
|
15617
16108
|
left: true;
|
|
@@ -15621,6 +16112,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
15621
16112
|
logout: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
15622
16113
|
input: {
|
|
15623
16114
|
nodeId?: string | undefined;
|
|
16115
|
+
addonId?: string | undefined;
|
|
15624
16116
|
} | undefined;
|
|
15625
16117
|
output: {
|
|
15626
16118
|
loggedOut: true;
|
|
@@ -15630,6 +16122,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
15630
16122
|
listPeers: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
15631
16123
|
input: {
|
|
15632
16124
|
nodeId?: string | undefined;
|
|
16125
|
+
addonId?: string | undefined;
|
|
15633
16126
|
} | undefined;
|
|
15634
16127
|
output: {
|
|
15635
16128
|
peers: readonly {
|
|
@@ -15669,114 +16162,6 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
15669
16162
|
meta: object;
|
|
15670
16163
|
}>;
|
|
15671
16164
|
}>>;
|
|
15672
|
-
meshOrchestrator: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
|
|
15673
|
-
ctx: import("@camstack/types").TrpcContext;
|
|
15674
|
-
meta: object;
|
|
15675
|
-
errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
|
|
15676
|
-
transformer: true;
|
|
15677
|
-
}, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
|
|
15678
|
-
listProviders: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
15679
|
-
input: {
|
|
15680
|
-
nodeId?: string | undefined;
|
|
15681
|
-
} | undefined;
|
|
15682
|
-
output: readonly {
|
|
15683
|
-
addonId: string;
|
|
15684
|
-
displayName: string;
|
|
15685
|
-
joined: boolean;
|
|
15686
|
-
meshIp: string;
|
|
15687
|
-
magicDnsHostname: string;
|
|
15688
|
-
peerCount: number;
|
|
15689
|
-
endpoints: readonly {
|
|
15690
|
-
id: string;
|
|
15691
|
-
label: string;
|
|
15692
|
-
scope: "public" | "mesh";
|
|
15693
|
-
url: string;
|
|
15694
|
-
hostname: string;
|
|
15695
|
-
port: number;
|
|
15696
|
-
protocol: "https" | "http";
|
|
15697
|
-
}[];
|
|
15698
|
-
tenantName: string;
|
|
15699
|
-
magicDnsSuffix: string;
|
|
15700
|
-
userLogin: string | null;
|
|
15701
|
-
controlPlaneUrl: string;
|
|
15702
|
-
keyExpiry: number | null;
|
|
15703
|
-
error?: string | undefined;
|
|
15704
|
-
}[];
|
|
15705
|
-
meta: object;
|
|
15706
|
-
}>;
|
|
15707
|
-
joinProvider: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
15708
|
-
input: {
|
|
15709
|
-
[x: string]: unknown;
|
|
15710
|
-
addonId: string;
|
|
15711
|
-
authKey: string;
|
|
15712
|
-
hostname?: string | undefined;
|
|
15713
|
-
};
|
|
15714
|
-
output: {
|
|
15715
|
-
joined: true;
|
|
15716
|
-
};
|
|
15717
|
-
meta: object;
|
|
15718
|
-
}>;
|
|
15719
|
-
leaveProvider: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
15720
|
-
input: {
|
|
15721
|
-
[x: string]: unknown;
|
|
15722
|
-
addonId: string;
|
|
15723
|
-
};
|
|
15724
|
-
output: {
|
|
15725
|
-
success: true;
|
|
15726
|
-
};
|
|
15727
|
-
meta: object;
|
|
15728
|
-
}>;
|
|
15729
|
-
startLoginProvider: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
15730
|
-
input: {
|
|
15731
|
-
[x: string]: unknown;
|
|
15732
|
-
addonId: string;
|
|
15733
|
-
hostname?: string | undefined;
|
|
15734
|
-
};
|
|
15735
|
-
output: {
|
|
15736
|
-
loginUrl: string;
|
|
15737
|
-
};
|
|
15738
|
-
meta: object;
|
|
15739
|
-
}>;
|
|
15740
|
-
logoutProvider: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
15741
|
-
input: {
|
|
15742
|
-
[x: string]: unknown;
|
|
15743
|
-
addonId: string;
|
|
15744
|
-
};
|
|
15745
|
-
output: {
|
|
15746
|
-
loggedOut: true;
|
|
15747
|
-
};
|
|
15748
|
-
meta: object;
|
|
15749
|
-
}>;
|
|
15750
|
-
listProviderPeers: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
15751
|
-
input: {
|
|
15752
|
-
[x: string]: unknown;
|
|
15753
|
-
addonId: string;
|
|
15754
|
-
};
|
|
15755
|
-
output: {
|
|
15756
|
-
peers: readonly {
|
|
15757
|
-
id: string;
|
|
15758
|
-
hostname: string;
|
|
15759
|
-
magicDns: string;
|
|
15760
|
-
addresses: readonly string[];
|
|
15761
|
-
online: boolean;
|
|
15762
|
-
lastSeenMs: number;
|
|
15763
|
-
isSelf: boolean;
|
|
15764
|
-
connection: "idle" | "relay" | "direct";
|
|
15765
|
-
relay: string | null;
|
|
15766
|
-
lastHandshakeMs: number;
|
|
15767
|
-
rxBytes: number;
|
|
15768
|
-
txBytes: number;
|
|
15769
|
-
tags: readonly string[];
|
|
15770
|
-
exitNodeOption: boolean;
|
|
15771
|
-
advertisedRoutes: readonly string[];
|
|
15772
|
-
userLogin: string | null;
|
|
15773
|
-
keyExpiry: number | null;
|
|
15774
|
-
os?: string | undefined;
|
|
15775
|
-
}[];
|
|
15776
|
-
};
|
|
15777
|
-
meta: object;
|
|
15778
|
-
}>;
|
|
15779
|
-
}>>;
|
|
15780
16165
|
metricsProvider: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
|
|
15781
16166
|
ctx: import("@camstack/types").TrpcContext;
|
|
15782
16167
|
meta: object;
|
|
@@ -16267,6 +16652,50 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
16267
16652
|
meta: object;
|
|
16268
16653
|
}>;
|
|
16269
16654
|
}>>;
|
|
16655
|
+
motionZones: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
|
|
16656
|
+
ctx: import("@camstack/types").TrpcContext;
|
|
16657
|
+
meta: object;
|
|
16658
|
+
errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
|
|
16659
|
+
transformer: true;
|
|
16660
|
+
}, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
|
|
16661
|
+
getStatus: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
16662
|
+
input: {
|
|
16663
|
+
[x: string]: unknown;
|
|
16664
|
+
deviceId: number;
|
|
16665
|
+
};
|
|
16666
|
+
output: unknown;
|
|
16667
|
+
meta: object;
|
|
16668
|
+
}>;
|
|
16669
|
+
getOptions: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
16670
|
+
input: {
|
|
16671
|
+
[x: string]: unknown;
|
|
16672
|
+
deviceId: number;
|
|
16673
|
+
};
|
|
16674
|
+
output: {
|
|
16675
|
+
gridWidth: number;
|
|
16676
|
+
gridHeight: number;
|
|
16677
|
+
sensitivity: {
|
|
16678
|
+
min: number;
|
|
16679
|
+
max: number;
|
|
16680
|
+
step: number;
|
|
16681
|
+
};
|
|
16682
|
+
};
|
|
16683
|
+
meta: object;
|
|
16684
|
+
}>;
|
|
16685
|
+
setZone: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
16686
|
+
input: {
|
|
16687
|
+
[x: string]: unknown;
|
|
16688
|
+
deviceId: number;
|
|
16689
|
+
patch: {
|
|
16690
|
+
enabled?: boolean | undefined;
|
|
16691
|
+
sensitivity?: number | undefined;
|
|
16692
|
+
cells?: boolean[] | undefined;
|
|
16693
|
+
};
|
|
16694
|
+
};
|
|
16695
|
+
output: void;
|
|
16696
|
+
meta: object;
|
|
16697
|
+
}>;
|
|
16698
|
+
}>>;
|
|
16270
16699
|
mqttBroker: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
|
|
16271
16700
|
ctx: import("@camstack/types").TrpcContext;
|
|
16272
16701
|
meta: object;
|
|
@@ -16276,6 +16705,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
16276
16705
|
getStatus: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
16277
16706
|
input: {
|
|
16278
16707
|
nodeId?: string | undefined;
|
|
16708
|
+
addonId?: string | undefined;
|
|
16279
16709
|
} | undefined;
|
|
16280
16710
|
output: unknown;
|
|
16281
16711
|
meta: object;
|
|
@@ -16283,6 +16713,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
16283
16713
|
listBrokers: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
16284
16714
|
input: {
|
|
16285
16715
|
nodeId?: string | undefined;
|
|
16716
|
+
addonId?: string | undefined;
|
|
16286
16717
|
} | undefined;
|
|
16287
16718
|
output: {
|
|
16288
16719
|
id: string;
|
|
@@ -16384,33 +16815,136 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
16384
16815
|
meta: object;
|
|
16385
16816
|
}>;
|
|
16386
16817
|
}>>;
|
|
16387
|
-
|
|
16818
|
+
networkAccess: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
|
|
16388
16819
|
ctx: import("@camstack/types").TrpcContext;
|
|
16389
16820
|
meta: object;
|
|
16390
16821
|
errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
|
|
16391
16822
|
transformer: true;
|
|
16392
16823
|
}, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
|
|
16393
|
-
|
|
16394
|
-
input: {
|
|
16395
|
-
[x: string]: unknown;
|
|
16396
|
-
title: string;
|
|
16397
|
-
body: string;
|
|
16398
|
-
imageUrl?: string | undefined;
|
|
16399
|
-
deviceId?: number | undefined;
|
|
16400
|
-
eventId?: string | undefined;
|
|
16401
|
-
priority?: "high" | "low" | "normal" | "critical" | undefined;
|
|
16402
|
-
metadata?: Record<string, unknown> | undefined;
|
|
16403
|
-
};
|
|
16404
|
-
output: void;
|
|
16405
|
-
meta: object;
|
|
16406
|
-
}>;
|
|
16407
|
-
sendTest: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
16824
|
+
start: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
16408
16825
|
input: {
|
|
16409
16826
|
nodeId?: string | undefined;
|
|
16827
|
+
addonId?: string | undefined;
|
|
16410
16828
|
} | undefined;
|
|
16411
16829
|
output: {
|
|
16412
|
-
|
|
16413
|
-
|
|
16830
|
+
url: string;
|
|
16831
|
+
hostname: string;
|
|
16832
|
+
port: number;
|
|
16833
|
+
protocol: "https" | "http";
|
|
16834
|
+
};
|
|
16835
|
+
meta: object;
|
|
16836
|
+
}>;
|
|
16837
|
+
stop: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
16838
|
+
input: {
|
|
16839
|
+
nodeId?: string | undefined;
|
|
16840
|
+
addonId?: string | undefined;
|
|
16841
|
+
} | undefined;
|
|
16842
|
+
output: void;
|
|
16843
|
+
meta: object;
|
|
16844
|
+
}>;
|
|
16845
|
+
getEndpoint: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
16846
|
+
input: {
|
|
16847
|
+
nodeId?: string | undefined;
|
|
16848
|
+
addonId?: string | undefined;
|
|
16849
|
+
} | undefined;
|
|
16850
|
+
output: {
|
|
16851
|
+
url: string;
|
|
16852
|
+
hostname: string;
|
|
16853
|
+
port: number;
|
|
16854
|
+
protocol: "https" | "http";
|
|
16855
|
+
} | null;
|
|
16856
|
+
meta: object;
|
|
16857
|
+
}>;
|
|
16858
|
+
getStatus: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
16859
|
+
input: {
|
|
16860
|
+
nodeId?: string | undefined;
|
|
16861
|
+
addonId?: string | undefined;
|
|
16862
|
+
} | undefined;
|
|
16863
|
+
output: unknown;
|
|
16864
|
+
meta: object;
|
|
16865
|
+
}>;
|
|
16866
|
+
listEndpoints: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
16867
|
+
input: {
|
|
16868
|
+
nodeId?: string | undefined;
|
|
16869
|
+
addonId?: string | undefined;
|
|
16870
|
+
} | undefined;
|
|
16871
|
+
output: readonly {
|
|
16872
|
+
url: string;
|
|
16873
|
+
hostname: string;
|
|
16874
|
+
port: number;
|
|
16875
|
+
protocol: "https" | "http";
|
|
16876
|
+
id: string;
|
|
16877
|
+
label: string;
|
|
16878
|
+
mode?: string | undefined;
|
|
16879
|
+
sourcePort?: number | undefined;
|
|
16880
|
+
}[];
|
|
16881
|
+
meta: object;
|
|
16882
|
+
}>;
|
|
16883
|
+
}>>;
|
|
16884
|
+
notificationOutput: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
|
|
16885
|
+
ctx: import("@camstack/types").TrpcContext;
|
|
16886
|
+
meta: object;
|
|
16887
|
+
errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
|
|
16888
|
+
transformer: true;
|
|
16889
|
+
}, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
|
|
16890
|
+
send: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
16891
|
+
input: {
|
|
16892
|
+
[x: string]: unknown;
|
|
16893
|
+
title: string;
|
|
16894
|
+
body: string;
|
|
16895
|
+
imageUrl?: string | undefined;
|
|
16896
|
+
deviceId?: number | undefined;
|
|
16897
|
+
eventId?: string | undefined;
|
|
16898
|
+
priority?: "high" | "low" | "normal" | "critical" | undefined;
|
|
16899
|
+
metadata?: Record<string, unknown> | undefined;
|
|
16900
|
+
};
|
|
16901
|
+
output: void;
|
|
16902
|
+
meta: object;
|
|
16903
|
+
}>;
|
|
16904
|
+
sendTest: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
16905
|
+
input: {
|
|
16906
|
+
nodeId?: string | undefined;
|
|
16907
|
+
addonId?: string | undefined;
|
|
16908
|
+
} | undefined;
|
|
16909
|
+
output: {
|
|
16910
|
+
success: boolean;
|
|
16911
|
+
error?: string | undefined;
|
|
16912
|
+
};
|
|
16913
|
+
meta: object;
|
|
16914
|
+
}>;
|
|
16915
|
+
}>>;
|
|
16916
|
+
oauthIntegration: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
|
|
16917
|
+
ctx: import("@camstack/types").TrpcContext;
|
|
16918
|
+
meta: object;
|
|
16919
|
+
errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
|
|
16920
|
+
transformer: true;
|
|
16921
|
+
}, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
|
|
16922
|
+
getDescriptor: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
16923
|
+
input: {
|
|
16924
|
+
nodeId?: string | undefined;
|
|
16925
|
+
addonId?: string | undefined;
|
|
16926
|
+
} | undefined;
|
|
16927
|
+
output: {
|
|
16928
|
+
integrationId: string;
|
|
16929
|
+
displayName: string;
|
|
16930
|
+
requestedScopes: ({
|
|
16931
|
+
type: "category";
|
|
16932
|
+
target: "system" | "device";
|
|
16933
|
+
access: ("delete" | "create" | "view")[];
|
|
16934
|
+
} | {
|
|
16935
|
+
type: "capability";
|
|
16936
|
+
target: string;
|
|
16937
|
+
access: ("delete" | "create" | "view")[];
|
|
16938
|
+
} | {
|
|
16939
|
+
type: "addon";
|
|
16940
|
+
target: string;
|
|
16941
|
+
access: ("delete" | "create" | "view")[];
|
|
16942
|
+
} | {
|
|
16943
|
+
type: "device";
|
|
16944
|
+
targets: string[];
|
|
16945
|
+
access: ("delete" | "create" | "view")[];
|
|
16946
|
+
})[];
|
|
16947
|
+
allowedRedirectPrefixes: string[];
|
|
16414
16948
|
};
|
|
16415
16949
|
meta: object;
|
|
16416
16950
|
}>;
|
|
@@ -16839,6 +17373,40 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
16839
17373
|
output: void;
|
|
16840
17374
|
meta: object;
|
|
16841
17375
|
}>;
|
|
17376
|
+
savePreset: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
17377
|
+
input: {
|
|
17378
|
+
[x: string]: unknown;
|
|
17379
|
+
deviceId: number;
|
|
17380
|
+
presetId: string;
|
|
17381
|
+
name: string;
|
|
17382
|
+
};
|
|
17383
|
+
output: void;
|
|
17384
|
+
meta: object;
|
|
17385
|
+
}>;
|
|
17386
|
+
deletePreset: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
17387
|
+
input: {
|
|
17388
|
+
[x: string]: unknown;
|
|
17389
|
+
deviceId: number;
|
|
17390
|
+
presetId: string;
|
|
17391
|
+
};
|
|
17392
|
+
output: void;
|
|
17393
|
+
meta: object;
|
|
17394
|
+
}>;
|
|
17395
|
+
getOptions: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
17396
|
+
input: {
|
|
17397
|
+
[x: string]: unknown;
|
|
17398
|
+
deviceId: number;
|
|
17399
|
+
};
|
|
17400
|
+
output: {
|
|
17401
|
+
hasPan: boolean;
|
|
17402
|
+
hasTilt: boolean;
|
|
17403
|
+
hasZoom: boolean;
|
|
17404
|
+
supportsPresets: boolean;
|
|
17405
|
+
hasAutofocus: boolean;
|
|
17406
|
+
maxPresets?: number | undefined;
|
|
17407
|
+
};
|
|
17408
|
+
meta: object;
|
|
17409
|
+
}>;
|
|
16842
17410
|
goHome: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
16843
17411
|
input: {
|
|
16844
17412
|
[x: string]: unknown;
|
|
@@ -16859,6 +17427,15 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
16859
17427
|
};
|
|
16860
17428
|
meta: object;
|
|
16861
17429
|
}>;
|
|
17430
|
+
setAutofocus: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
17431
|
+
input: {
|
|
17432
|
+
[x: string]: unknown;
|
|
17433
|
+
deviceId: number;
|
|
17434
|
+
enabled: boolean;
|
|
17435
|
+
};
|
|
17436
|
+
output: void;
|
|
17437
|
+
meta: object;
|
|
17438
|
+
}>;
|
|
16862
17439
|
}>>;
|
|
16863
17440
|
ptzAutotrack: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
|
|
16864
17441
|
ctx: import("@camstack/types").TrpcContext;
|
|
@@ -17311,55 +17888,6 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
17311
17888
|
meta: object;
|
|
17312
17889
|
}>;
|
|
17313
17890
|
}>>;
|
|
17314
|
-
remoteAccess: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
|
|
17315
|
-
ctx: import("@camstack/types").TrpcContext;
|
|
17316
|
-
meta: object;
|
|
17317
|
-
errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
|
|
17318
|
-
transformer: true;
|
|
17319
|
-
}, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
|
|
17320
|
-
listProviders: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
17321
|
-
input: {
|
|
17322
|
-
nodeId?: string | undefined;
|
|
17323
|
-
} | undefined;
|
|
17324
|
-
output: readonly {
|
|
17325
|
-
addonId: string;
|
|
17326
|
-
displayName: string;
|
|
17327
|
-
enabled: boolean;
|
|
17328
|
-
connected: boolean;
|
|
17329
|
-
endpoint: {
|
|
17330
|
-
url: string;
|
|
17331
|
-
hostname: string;
|
|
17332
|
-
port: number;
|
|
17333
|
-
protocol: "https" | "http";
|
|
17334
|
-
} | null;
|
|
17335
|
-
error?: string | undefined;
|
|
17336
|
-
}[];
|
|
17337
|
-
meta: object;
|
|
17338
|
-
}>;
|
|
17339
|
-
startProvider: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
17340
|
-
input: {
|
|
17341
|
-
[x: string]: unknown;
|
|
17342
|
-
addonId: string;
|
|
17343
|
-
};
|
|
17344
|
-
output: {
|
|
17345
|
-
url: string;
|
|
17346
|
-
hostname: string;
|
|
17347
|
-
port: number;
|
|
17348
|
-
protocol: "https" | "http";
|
|
17349
|
-
};
|
|
17350
|
-
meta: object;
|
|
17351
|
-
}>;
|
|
17352
|
-
stopProvider: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
17353
|
-
input: {
|
|
17354
|
-
[x: string]: unknown;
|
|
17355
|
-
addonId: string;
|
|
17356
|
-
};
|
|
17357
|
-
output: {
|
|
17358
|
-
success: true;
|
|
17359
|
-
};
|
|
17360
|
-
meta: object;
|
|
17361
|
-
}>;
|
|
17362
|
-
}>>;
|
|
17363
17891
|
settingsStore: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
|
|
17364
17892
|
ctx: import("@camstack/types").TrpcContext;
|
|
17365
17893
|
meta: object;
|
|
@@ -17523,6 +18051,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
17523
18051
|
verify: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
17524
18052
|
input: {
|
|
17525
18053
|
nodeId?: string | undefined;
|
|
18054
|
+
addonId?: string | undefined;
|
|
17526
18055
|
} | undefined;
|
|
17527
18056
|
output: {
|
|
17528
18057
|
ready: boolean;
|
|
@@ -17535,6 +18064,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
17535
18064
|
getStatus: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
17536
18065
|
input: {
|
|
17537
18066
|
nodeId?: string | undefined;
|
|
18067
|
+
addonId?: string | undefined;
|
|
17538
18068
|
} | undefined;
|
|
17539
18069
|
output: unknown;
|
|
17540
18070
|
meta: object;
|
|
@@ -17658,6 +18188,27 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
17658
18188
|
email?: string | undefined;
|
|
17659
18189
|
displayName?: string | undefined;
|
|
17660
18190
|
hubUrl?: string | undefined;
|
|
18191
|
+
scopes?: ({
|
|
18192
|
+
type: "category";
|
|
18193
|
+
target: "system" | "device";
|
|
18194
|
+
access: ("delete" | "create" | "view")[];
|
|
18195
|
+
} | {
|
|
18196
|
+
type: "capability";
|
|
18197
|
+
target: string;
|
|
18198
|
+
access: ("delete" | "create" | "view")[];
|
|
18199
|
+
} | {
|
|
18200
|
+
type: "addon";
|
|
18201
|
+
target: string;
|
|
18202
|
+
access: ("delete" | "create" | "view")[];
|
|
18203
|
+
} | {
|
|
18204
|
+
type: "device";
|
|
18205
|
+
targets: string[];
|
|
18206
|
+
access: ("delete" | "create" | "view")[];
|
|
18207
|
+
})[] | undefined;
|
|
18208
|
+
redirectUri?: string | undefined;
|
|
18209
|
+
integrationId?: string | undefined;
|
|
18210
|
+
jti?: string | undefined;
|
|
18211
|
+
sessionId?: string | undefined;
|
|
17661
18212
|
};
|
|
17662
18213
|
ttlSec?: number | undefined;
|
|
17663
18214
|
};
|
|
@@ -17679,6 +18230,27 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
17679
18230
|
email?: string | undefined;
|
|
17680
18231
|
displayName?: string | undefined;
|
|
17681
18232
|
hubUrl?: string | undefined;
|
|
18233
|
+
scopes?: ({
|
|
18234
|
+
type: "category";
|
|
18235
|
+
target: "system" | "device";
|
|
18236
|
+
access: ("delete" | "create" | "view")[];
|
|
18237
|
+
} | {
|
|
18238
|
+
type: "capability";
|
|
18239
|
+
target: string;
|
|
18240
|
+
access: ("delete" | "create" | "view")[];
|
|
18241
|
+
} | {
|
|
18242
|
+
type: "addon";
|
|
18243
|
+
target: string;
|
|
18244
|
+
access: ("delete" | "create" | "view")[];
|
|
18245
|
+
} | {
|
|
18246
|
+
type: "device";
|
|
18247
|
+
targets: string[];
|
|
18248
|
+
access: ("delete" | "create" | "view")[];
|
|
18249
|
+
})[] | undefined;
|
|
18250
|
+
redirectUri?: string | undefined;
|
|
18251
|
+
integrationId?: string | undefined;
|
|
18252
|
+
jti?: string | undefined;
|
|
18253
|
+
sessionId?: string | undefined;
|
|
17682
18254
|
} | null;
|
|
17683
18255
|
meta: object;
|
|
17684
18256
|
}>;
|
|
@@ -17933,6 +18505,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
17933
18505
|
getProviderInfo: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
17934
18506
|
input: {
|
|
17935
18507
|
nodeId?: string | undefined;
|
|
18508
|
+
addonId?: string | undefined;
|
|
17936
18509
|
} | undefined;
|
|
17937
18510
|
output: {
|
|
17938
18511
|
providerId: string;
|
|
@@ -18334,7 +18907,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
18334
18907
|
profile: "high" | "low" | "mid";
|
|
18335
18908
|
brokerId: string;
|
|
18336
18909
|
sourceCamStreamId: string | null;
|
|
18337
|
-
status: "error" | "streaming" | "
|
|
18910
|
+
status: "error" | "streaming" | "unassigned" | "idle" | "connecting";
|
|
18338
18911
|
resolution?: {
|
|
18339
18912
|
width: number;
|
|
18340
18913
|
height: number;
|
|
@@ -18480,12 +19053,83 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
18480
19053
|
};
|
|
18481
19054
|
meta: object;
|
|
18482
19055
|
}>;
|
|
18483
|
-
|
|
19056
|
+
subscribeAudioChunks: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
19057
|
+
input: {
|
|
19058
|
+
[x: string]: unknown;
|
|
19059
|
+
brokerId: string;
|
|
19060
|
+
tag?: string | undefined;
|
|
19061
|
+
};
|
|
19062
|
+
output: {
|
|
19063
|
+
subscriptionId: string;
|
|
19064
|
+
};
|
|
19065
|
+
meta: object;
|
|
19066
|
+
}>;
|
|
19067
|
+
pullAudioChunks: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
19068
|
+
input: {
|
|
19069
|
+
[x: string]: unknown;
|
|
19070
|
+
subscriptionId: string;
|
|
19071
|
+
maxCount?: number | undefined;
|
|
19072
|
+
};
|
|
19073
|
+
output: readonly {
|
|
19074
|
+
data: Uint8Array<ArrayBuffer>;
|
|
19075
|
+
sampleRate: number;
|
|
19076
|
+
channels: number;
|
|
19077
|
+
timestamp: number;
|
|
19078
|
+
}[];
|
|
19079
|
+
meta: object;
|
|
19080
|
+
}>;
|
|
19081
|
+
unsubscribeAudioChunks: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
19082
|
+
input: {
|
|
19083
|
+
[x: string]: unknown;
|
|
19084
|
+
subscriptionId: string;
|
|
19085
|
+
};
|
|
19086
|
+
output: {
|
|
19087
|
+
released: boolean;
|
|
19088
|
+
};
|
|
19089
|
+
meta: object;
|
|
19090
|
+
}>;
|
|
19091
|
+
subscribeFrames: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
18484
19092
|
input: {
|
|
18485
19093
|
[x: string]: unknown;
|
|
18486
19094
|
brokerId: string;
|
|
19095
|
+
format: "rgb" | "bgr" | "yuv420" | "gray";
|
|
19096
|
+
maxFps?: number | undefined;
|
|
19097
|
+
tag?: string | undefined;
|
|
19098
|
+
};
|
|
19099
|
+
output: {
|
|
19100
|
+
subscriptionId: string;
|
|
19101
|
+
maxFps: number;
|
|
19102
|
+
};
|
|
19103
|
+
meta: object;
|
|
19104
|
+
}>;
|
|
19105
|
+
pullFrameHandles: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
19106
|
+
input: {
|
|
19107
|
+
[x: string]: unknown;
|
|
19108
|
+
subscriptionId: string;
|
|
19109
|
+
maxCount?: number | undefined;
|
|
19110
|
+
};
|
|
19111
|
+
output: readonly {
|
|
19112
|
+
shmId: string;
|
|
19113
|
+
slot: number;
|
|
19114
|
+
seq: number;
|
|
19115
|
+
width: number;
|
|
19116
|
+
height: number;
|
|
19117
|
+
format: "jpeg" | "rgb" | "bgr" | "yuv420" | "gray";
|
|
19118
|
+
pts: number;
|
|
19119
|
+
byteLength: number;
|
|
19120
|
+
nodeId: string;
|
|
19121
|
+
slotCount: number;
|
|
19122
|
+
}[];
|
|
19123
|
+
meta: object;
|
|
19124
|
+
}>;
|
|
19125
|
+
unsubscribeFrames: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
19126
|
+
input: {
|
|
19127
|
+
[x: string]: unknown;
|
|
19128
|
+
subscriptionId: string;
|
|
19129
|
+
};
|
|
19130
|
+
output: {
|
|
19131
|
+
released: boolean;
|
|
18487
19132
|
};
|
|
18488
|
-
output: import("@camstack/types").IStreamBroker | null;
|
|
18489
19133
|
meta: object;
|
|
18490
19134
|
}>;
|
|
18491
19135
|
setPreBufferDuration: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
@@ -18569,7 +19213,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
18569
19213
|
meta: object;
|
|
18570
19214
|
}>;
|
|
18571
19215
|
}>>;
|
|
18572
|
-
|
|
19216
|
+
streamParams: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
|
|
18573
19217
|
ctx: import("@camstack/types").TrpcContext;
|
|
18574
19218
|
meta: object;
|
|
18575
19219
|
errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
|
|
@@ -18583,39 +19227,132 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
18583
19227
|
output: unknown;
|
|
18584
19228
|
meta: object;
|
|
18585
19229
|
}>;
|
|
18586
|
-
|
|
19230
|
+
getOptions: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
18587
19231
|
input: {
|
|
18588
19232
|
[x: string]: unknown;
|
|
18589
19233
|
deviceId: number;
|
|
18590
|
-
|
|
19234
|
+
};
|
|
19235
|
+
output: {
|
|
19236
|
+
main?: {
|
|
19237
|
+
resolutions: {
|
|
19238
|
+
width: number;
|
|
19239
|
+
height: number;
|
|
19240
|
+
}[];
|
|
19241
|
+
codecs: ("h264" | "h265")[];
|
|
19242
|
+
framerates: number[];
|
|
19243
|
+
bitrates: number[];
|
|
19244
|
+
supportsBitrateMode: boolean;
|
|
19245
|
+
supportsEncoderProfile: boolean;
|
|
19246
|
+
supportsGop: boolean;
|
|
19247
|
+
bitrateRange?: [number, number] | undefined;
|
|
19248
|
+
gop?: {
|
|
19249
|
+
min: number;
|
|
19250
|
+
max: number;
|
|
19251
|
+
step: number;
|
|
19252
|
+
} | undefined;
|
|
19253
|
+
} | undefined;
|
|
19254
|
+
sub?: {
|
|
19255
|
+
resolutions: {
|
|
19256
|
+
width: number;
|
|
19257
|
+
height: number;
|
|
19258
|
+
}[];
|
|
19259
|
+
codecs: ("h264" | "h265")[];
|
|
19260
|
+
framerates: number[];
|
|
19261
|
+
bitrates: number[];
|
|
19262
|
+
supportsBitrateMode: boolean;
|
|
19263
|
+
supportsEncoderProfile: boolean;
|
|
19264
|
+
supportsGop: boolean;
|
|
19265
|
+
bitrateRange?: [number, number] | undefined;
|
|
19266
|
+
gop?: {
|
|
19267
|
+
min: number;
|
|
19268
|
+
max: number;
|
|
19269
|
+
step: number;
|
|
19270
|
+
} | undefined;
|
|
19271
|
+
} | undefined;
|
|
19272
|
+
ext?: {
|
|
19273
|
+
resolutions: {
|
|
19274
|
+
width: number;
|
|
19275
|
+
height: number;
|
|
19276
|
+
}[];
|
|
19277
|
+
codecs: ("h264" | "h265")[];
|
|
19278
|
+
framerates: number[];
|
|
19279
|
+
bitrates: number[];
|
|
19280
|
+
supportsBitrateMode: boolean;
|
|
19281
|
+
supportsEncoderProfile: boolean;
|
|
19282
|
+
supportsGop: boolean;
|
|
19283
|
+
bitrateRange?: [number, number] | undefined;
|
|
19284
|
+
gop?: {
|
|
19285
|
+
min: number;
|
|
19286
|
+
max: number;
|
|
19287
|
+
step: number;
|
|
19288
|
+
} | undefined;
|
|
19289
|
+
} | undefined;
|
|
19290
|
+
};
|
|
19291
|
+
meta: object;
|
|
19292
|
+
}>;
|
|
19293
|
+
setProfile: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
19294
|
+
input: {
|
|
19295
|
+
[x: string]: unknown;
|
|
19296
|
+
deviceId: number;
|
|
19297
|
+
profile: "sub" | "main" | "ext";
|
|
19298
|
+
patch: {
|
|
19299
|
+
width?: number | undefined;
|
|
19300
|
+
height?: number | undefined;
|
|
19301
|
+
codec?: "h264" | "h265" | undefined;
|
|
19302
|
+
framerate?: number | undefined;
|
|
19303
|
+
bitrate?: number | undefined;
|
|
19304
|
+
bitrateMode?: "vbr" | "cbr" | undefined;
|
|
19305
|
+
encoderProfile?: "main" | "high" | "baseline" | undefined;
|
|
19306
|
+
gop?: number | undefined;
|
|
19307
|
+
audio?: boolean | undefined;
|
|
19308
|
+
};
|
|
18591
19309
|
};
|
|
18592
19310
|
output: void;
|
|
18593
19311
|
meta: object;
|
|
18594
19312
|
}>;
|
|
19313
|
+
getConfigSchema: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
19314
|
+
input: {
|
|
19315
|
+
[x: string]: unknown;
|
|
19316
|
+
deviceId: number;
|
|
19317
|
+
};
|
|
19318
|
+
output: unknown;
|
|
19319
|
+
meta: object;
|
|
19320
|
+
}>;
|
|
18595
19321
|
}>>;
|
|
18596
|
-
|
|
19322
|
+
switch: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
|
|
18597
19323
|
ctx: import("@camstack/types").TrpcContext;
|
|
18598
19324
|
meta: object;
|
|
18599
19325
|
errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
|
|
18600
19326
|
transformer: true;
|
|
18601
19327
|
}, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
|
|
18602
|
-
|
|
19328
|
+
getStatus: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
18603
19329
|
input: {
|
|
18604
|
-
|
|
18605
|
-
|
|
18606
|
-
|
|
18607
|
-
|
|
18608
|
-
|
|
18609
|
-
|
|
18610
|
-
|
|
18611
|
-
|
|
18612
|
-
|
|
18613
|
-
|
|
19330
|
+
[x: string]: unknown;
|
|
19331
|
+
deviceId: number;
|
|
19332
|
+
};
|
|
19333
|
+
output: unknown;
|
|
19334
|
+
meta: object;
|
|
19335
|
+
}>;
|
|
19336
|
+
setState: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
19337
|
+
input: {
|
|
19338
|
+
[x: string]: unknown;
|
|
19339
|
+
deviceId: number;
|
|
19340
|
+
on: boolean;
|
|
19341
|
+
};
|
|
19342
|
+
output: void;
|
|
18614
19343
|
meta: object;
|
|
18615
19344
|
}>;
|
|
18616
|
-
|
|
19345
|
+
}>>;
|
|
19346
|
+
turnProvider: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
|
|
19347
|
+
ctx: import("@camstack/types").TrpcContext;
|
|
19348
|
+
meta: object;
|
|
19349
|
+
errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
|
|
19350
|
+
transformer: true;
|
|
19351
|
+
}, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
|
|
19352
|
+
getTurnServers: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
18617
19353
|
input: {
|
|
18618
19354
|
nodeId?: string | undefined;
|
|
19355
|
+
addonId?: string | undefined;
|
|
18619
19356
|
} | undefined;
|
|
18620
19357
|
output: readonly {
|
|
18621
19358
|
urls: string | string[];
|
|
@@ -18624,17 +19361,6 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
18624
19361
|
}[];
|
|
18625
19362
|
meta: object;
|
|
18626
19363
|
}>;
|
|
18627
|
-
setProviderEnabled: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
18628
|
-
input: {
|
|
18629
|
-
[x: string]: unknown;
|
|
18630
|
-
addonId: string;
|
|
18631
|
-
enabled: boolean;
|
|
18632
|
-
};
|
|
18633
|
-
output: {
|
|
18634
|
-
success: true;
|
|
18635
|
-
};
|
|
18636
|
-
meta: object;
|
|
18637
|
-
}>;
|
|
18638
19364
|
}>>;
|
|
18639
19365
|
userManagement: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
|
|
18640
19366
|
ctx: import("@camstack/types").TrpcContext;
|
|
@@ -19095,6 +19821,132 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
19095
19821
|
};
|
|
19096
19822
|
meta: object;
|
|
19097
19823
|
}>;
|
|
19824
|
+
oauthIssueCode: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
19825
|
+
input: {
|
|
19826
|
+
[x: string]: unknown;
|
|
19827
|
+
integrationId: string;
|
|
19828
|
+
userId: string;
|
|
19829
|
+
username: string;
|
|
19830
|
+
scopes: ({
|
|
19831
|
+
type: "category";
|
|
19832
|
+
target: "system" | "device";
|
|
19833
|
+
access: ("delete" | "create" | "view")[];
|
|
19834
|
+
} | {
|
|
19835
|
+
type: "capability";
|
|
19836
|
+
target: string;
|
|
19837
|
+
access: ("delete" | "create" | "view")[];
|
|
19838
|
+
} | {
|
|
19839
|
+
type: "addon";
|
|
19840
|
+
target: string;
|
|
19841
|
+
access: ("delete" | "create" | "view")[];
|
|
19842
|
+
} | {
|
|
19843
|
+
type: "device";
|
|
19844
|
+
targets: string[];
|
|
19845
|
+
access: ("delete" | "create" | "view")[];
|
|
19846
|
+
})[];
|
|
19847
|
+
redirectUri: string;
|
|
19848
|
+
hubUrl: string;
|
|
19849
|
+
};
|
|
19850
|
+
output: {
|
|
19851
|
+
code: string;
|
|
19852
|
+
};
|
|
19853
|
+
meta: object;
|
|
19854
|
+
}>;
|
|
19855
|
+
oauthExchangeCode: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
19856
|
+
input: {
|
|
19857
|
+
[x: string]: unknown;
|
|
19858
|
+
code: string;
|
|
19859
|
+
redirectUri: string;
|
|
19860
|
+
};
|
|
19861
|
+
output: {
|
|
19862
|
+
accessToken: string;
|
|
19863
|
+
refreshToken: string;
|
|
19864
|
+
expiresIn: number;
|
|
19865
|
+
} | null;
|
|
19866
|
+
meta: object;
|
|
19867
|
+
}>;
|
|
19868
|
+
oauthRefresh: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
19869
|
+
input: {
|
|
19870
|
+
[x: string]: unknown;
|
|
19871
|
+
refreshToken: string;
|
|
19872
|
+
};
|
|
19873
|
+
output: {
|
|
19874
|
+
accessToken: string;
|
|
19875
|
+
refreshToken: string;
|
|
19876
|
+
expiresIn: number;
|
|
19877
|
+
} | null;
|
|
19878
|
+
meta: object;
|
|
19879
|
+
}>;
|
|
19880
|
+
oauthVerifyAccessToken: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
19881
|
+
input: {
|
|
19882
|
+
[x: string]: unknown;
|
|
19883
|
+
token: string;
|
|
19884
|
+
};
|
|
19885
|
+
output: {
|
|
19886
|
+
userId: string;
|
|
19887
|
+
username: string;
|
|
19888
|
+
scopes: ({
|
|
19889
|
+
type: "category";
|
|
19890
|
+
target: "system" | "device";
|
|
19891
|
+
access: ("delete" | "create" | "view")[];
|
|
19892
|
+
} | {
|
|
19893
|
+
type: "capability";
|
|
19894
|
+
target: string;
|
|
19895
|
+
access: ("delete" | "create" | "view")[];
|
|
19896
|
+
} | {
|
|
19897
|
+
type: "addon";
|
|
19898
|
+
target: string;
|
|
19899
|
+
access: ("delete" | "create" | "view")[];
|
|
19900
|
+
} | {
|
|
19901
|
+
type: "device";
|
|
19902
|
+
targets: string[];
|
|
19903
|
+
access: ("delete" | "create" | "view")[];
|
|
19904
|
+
})[];
|
|
19905
|
+
} | null;
|
|
19906
|
+
meta: object;
|
|
19907
|
+
}>;
|
|
19908
|
+
listOauthSessions: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
19909
|
+
input: {
|
|
19910
|
+
nodeId?: string | undefined;
|
|
19911
|
+
} | undefined;
|
|
19912
|
+
output: {
|
|
19913
|
+
id: string;
|
|
19914
|
+
userId: string;
|
|
19915
|
+
username: string;
|
|
19916
|
+
integrationId: string;
|
|
19917
|
+
scopes: ({
|
|
19918
|
+
type: "category";
|
|
19919
|
+
target: "system" | "device";
|
|
19920
|
+
access: ("delete" | "create" | "view")[];
|
|
19921
|
+
} | {
|
|
19922
|
+
type: "capability";
|
|
19923
|
+
target: string;
|
|
19924
|
+
access: ("delete" | "create" | "view")[];
|
|
19925
|
+
} | {
|
|
19926
|
+
type: "addon";
|
|
19927
|
+
target: string;
|
|
19928
|
+
access: ("delete" | "create" | "view")[];
|
|
19929
|
+
} | {
|
|
19930
|
+
type: "device";
|
|
19931
|
+
targets: string[];
|
|
19932
|
+
access: ("delete" | "create" | "view")[];
|
|
19933
|
+
})[];
|
|
19934
|
+
createdAt: number;
|
|
19935
|
+
lastUsedAt: number;
|
|
19936
|
+
revokedAt: number | null;
|
|
19937
|
+
}[];
|
|
19938
|
+
meta: object;
|
|
19939
|
+
}>;
|
|
19940
|
+
revokeOauthSession: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
19941
|
+
input: {
|
|
19942
|
+
[x: string]: unknown;
|
|
19943
|
+
id: string;
|
|
19944
|
+
};
|
|
19945
|
+
output: {
|
|
19946
|
+
success: boolean;
|
|
19947
|
+
};
|
|
19948
|
+
meta: object;
|
|
19949
|
+
}>;
|
|
19098
19950
|
}>>;
|
|
19099
19951
|
userPasskeys: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
|
|
19100
19952
|
ctx: import("@camstack/types").TrpcContext;
|