@camstack/types 0.1.33 → 0.1.35
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/addons.cap.d.ts +176 -3
- package/dist/capabilities/addons.cap.d.ts.map +1 -1
- package/dist/capabilities/device-export.cap.d.ts +55 -1
- package/dist/capabilities/device-export.cap.d.ts.map +1 -1
- package/dist/capabilities/index.d.ts +4 -11
- 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 +8 -2
- package/dist/capabilities/mesh-network.cap.d.ts.map +1 -1
- 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 +13 -0
- package/dist/capabilities/nodes.cap.d.ts.map +1 -1
- package/dist/enums/event-category.d.ts +10 -0
- package/dist/enums/event-category.d.ts.map +1 -1
- package/dist/generated/addon-api.d.ts +356 -516
- package/dist/generated/addon-api.d.ts.map +1 -1
- package/dist/generated/capability-router-map.d.ts +2 -14
- package/dist/generated/capability-router-map.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 +3 -9
- package/dist/generated/system-proxy.d.ts.map +1 -1
- package/dist/{index-DRWlYskM.js → index-BkSgJYP7.js} +202 -257
- package/dist/index-BkSgJYP7.js.map +1 -0
- package/dist/{index-YnRVILXN.mjs → index-CWhQOnm9.mjs} +521 -576
- package/dist/index-CWhQOnm9.mjs.map +1 -0
- package/dist/index.js +24 -69
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +294 -339
- package/dist/index.mjs.map +1 -1
- package/dist/interfaces/addon.d.ts +21 -0
- package/dist/interfaces/addon.d.ts.map +1 -1
- package/dist/interfaces/capability.d.ts +1 -6
- package/dist/interfaces/capability.d.ts.map +1 -1
- package/dist/interfaces/event-bus.d.ts +21 -1
- package/dist/interfaces/event-bus.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/node.js +1 -1
- package/dist/node.mjs +1 -1
- package/package.json +6 -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-DRWlYskM.js.map +0 -1
- package/dist/index-YnRVILXN.mjs.map +0 -1
|
@@ -1350,8 +1350,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
1350
1350
|
}>;
|
|
1351
1351
|
listUpdates: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
1352
1352
|
input: {
|
|
1353
|
+
[x: string]: unknown;
|
|
1353
1354
|
nodeId?: string | undefined;
|
|
1354
|
-
}
|
|
1355
|
+
};
|
|
1355
1356
|
output: readonly {
|
|
1356
1357
|
name: string;
|
|
1357
1358
|
currentVersion: string;
|
|
@@ -1366,6 +1367,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
1366
1367
|
[x: string]: unknown;
|
|
1367
1368
|
name: string;
|
|
1368
1369
|
version?: string | undefined;
|
|
1370
|
+
nodeId?: string | undefined;
|
|
1369
1371
|
};
|
|
1370
1372
|
output: unknown;
|
|
1371
1373
|
meta: object;
|
|
@@ -1382,8 +1384,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
1382
1384
|
}>;
|
|
1383
1385
|
forceRefresh: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
1384
1386
|
input: {
|
|
1387
|
+
[x: string]: unknown;
|
|
1385
1388
|
nodeId?: string | undefined;
|
|
1386
|
-
}
|
|
1389
|
+
};
|
|
1387
1390
|
output: unknown;
|
|
1388
1391
|
meta: object;
|
|
1389
1392
|
}>;
|
|
@@ -1395,6 +1398,71 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
1395
1398
|
output: unknown;
|
|
1396
1399
|
meta: object;
|
|
1397
1400
|
}>;
|
|
1401
|
+
getLastRestart: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
1402
|
+
input: {
|
|
1403
|
+
nodeId?: string | undefined;
|
|
1404
|
+
} | undefined;
|
|
1405
|
+
output: {
|
|
1406
|
+
kind: "system" | "manual" | "framework-update";
|
|
1407
|
+
requestedAt: number;
|
|
1408
|
+
packageName?: string | undefined;
|
|
1409
|
+
fromVersion?: string | undefined;
|
|
1410
|
+
toVersion?: string | undefined;
|
|
1411
|
+
requestedBy?: string | undefined;
|
|
1412
|
+
} | null;
|
|
1413
|
+
meta: object;
|
|
1414
|
+
}>;
|
|
1415
|
+
listFrameworkPackages: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
1416
|
+
input: {
|
|
1417
|
+
nodeId?: string | undefined;
|
|
1418
|
+
} | undefined;
|
|
1419
|
+
output: readonly {
|
|
1420
|
+
packageName: string;
|
|
1421
|
+
currentVersion: string;
|
|
1422
|
+
latestVersion: string | null;
|
|
1423
|
+
hasUpdate: boolean;
|
|
1424
|
+
description?: string | undefined;
|
|
1425
|
+
}[];
|
|
1426
|
+
meta: object;
|
|
1427
|
+
}>;
|
|
1428
|
+
listCapabilityProviders: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
1429
|
+
input: {
|
|
1430
|
+
[x: string]: unknown;
|
|
1431
|
+
capName: string;
|
|
1432
|
+
};
|
|
1433
|
+
output: readonly {
|
|
1434
|
+
addonId: string;
|
|
1435
|
+
mode: "collection" | "singleton";
|
|
1436
|
+
isActive: boolean;
|
|
1437
|
+
}[];
|
|
1438
|
+
meta: object;
|
|
1439
|
+
}>;
|
|
1440
|
+
setCapabilityProviderEnabled: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
1441
|
+
input: {
|
|
1442
|
+
[x: string]: unknown;
|
|
1443
|
+
capName: string;
|
|
1444
|
+
addonId: string;
|
|
1445
|
+
enabled: boolean;
|
|
1446
|
+
};
|
|
1447
|
+
output: {
|
|
1448
|
+
success: true;
|
|
1449
|
+
};
|
|
1450
|
+
meta: object;
|
|
1451
|
+
}>;
|
|
1452
|
+
updateFrameworkPackage: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
1453
|
+
input: {
|
|
1454
|
+
[x: string]: unknown;
|
|
1455
|
+
packageName: string;
|
|
1456
|
+
version?: string | undefined;
|
|
1457
|
+
};
|
|
1458
|
+
output: {
|
|
1459
|
+
packageName: string;
|
|
1460
|
+
fromVersion: string;
|
|
1461
|
+
toVersion: string;
|
|
1462
|
+
restartingAt: number;
|
|
1463
|
+
};
|
|
1464
|
+
meta: object;
|
|
1465
|
+
}>;
|
|
1398
1466
|
getVersions: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
1399
1467
|
input: {
|
|
1400
1468
|
[x: string]: unknown;
|
|
@@ -2286,7 +2354,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
2286
2354
|
deviceId: number;
|
|
2287
2355
|
agentNodeId: string;
|
|
2288
2356
|
pinned: boolean;
|
|
2289
|
-
reason: "
|
|
2357
|
+
reason: "manual" | "rebalance" | "capacity" | "hardware-affinity" | "failover";
|
|
2290
2358
|
assignedAt: number;
|
|
2291
2359
|
}[];
|
|
2292
2360
|
meta: object;
|
|
@@ -2300,7 +2368,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
2300
2368
|
deviceId: number;
|
|
2301
2369
|
agentNodeId: string;
|
|
2302
2370
|
pinned: boolean;
|
|
2303
|
-
reason: "
|
|
2371
|
+
reason: "manual" | "rebalance" | "capacity" | "hardware-affinity" | "failover";
|
|
2304
2372
|
assignedAt: number;
|
|
2305
2373
|
} | null;
|
|
2306
2374
|
meta: object;
|
|
@@ -3349,7 +3417,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
3349
3417
|
netmask: string;
|
|
3350
3418
|
internal: boolean;
|
|
3351
3419
|
mac: string;
|
|
3352
|
-
kind: "other" | "lan" | "
|
|
3420
|
+
kind: "other" | "lan" | "wifi" | "docker" | "vpn" | "loopback";
|
|
3353
3421
|
preferred: boolean;
|
|
3354
3422
|
plausible: boolean;
|
|
3355
3423
|
plausibleReason: string;
|
|
@@ -3370,7 +3438,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
3370
3438
|
netmask: string;
|
|
3371
3439
|
internal: boolean;
|
|
3372
3440
|
mac: string;
|
|
3373
|
-
kind: "other" | "lan" | "
|
|
3441
|
+
kind: "other" | "lan" | "wifi" | "docker" | "vpn" | "loopback";
|
|
3374
3442
|
preferred: boolean;
|
|
3375
3443
|
plausible: boolean;
|
|
3376
3444
|
plausibleReason: string;
|
|
@@ -3390,7 +3458,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
3390
3458
|
label: string;
|
|
3391
3459
|
baseUrl: string;
|
|
3392
3460
|
kind: "public" | "loopback" | "lan-ipv4" | "lan-ipv6";
|
|
3393
|
-
interfaceKind: "other" | "public" | "lan" | "
|
|
3461
|
+
interfaceKind: "other" | "public" | "lan" | "wifi" | "docker" | "vpn" | "loopback";
|
|
3394
3462
|
plausible: boolean;
|
|
3395
3463
|
plausibleReason: string;
|
|
3396
3464
|
priority: number;
|
|
@@ -3427,24 +3495,6 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
3427
3495
|
meta: object;
|
|
3428
3496
|
}>;
|
|
3429
3497
|
}>>;
|
|
3430
|
-
turnProvider: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
|
|
3431
|
-
ctx: import("@camstack/types").TrpcContext;
|
|
3432
|
-
meta: object;
|
|
3433
|
-
errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
|
|
3434
|
-
transformer: true;
|
|
3435
|
-
}, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
|
|
3436
|
-
getTurnServers: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
3437
|
-
input: {
|
|
3438
|
-
nodeId?: string | undefined;
|
|
3439
|
-
} | undefined;
|
|
3440
|
-
output: readonly {
|
|
3441
|
-
urls: string | string[];
|
|
3442
|
-
username?: string | undefined;
|
|
3443
|
-
credential?: string | undefined;
|
|
3444
|
-
}[];
|
|
3445
|
-
meta: object;
|
|
3446
|
-
}>;
|
|
3447
|
-
}>>;
|
|
3448
3498
|
snapshotProvider: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
|
|
3449
3499
|
ctx: import("@camstack/types").TrpcContext;
|
|
3450
3500
|
meta: object;
|
|
@@ -3521,6 +3571,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
3521
3571
|
listPages: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
3522
3572
|
input: {
|
|
3523
3573
|
nodeId?: string | undefined;
|
|
3574
|
+
addonId?: string | undefined;
|
|
3524
3575
|
} | undefined;
|
|
3525
3576
|
output: readonly {
|
|
3526
3577
|
id: string;
|
|
@@ -3664,6 +3715,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
3664
3715
|
listWidgets: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
3665
3716
|
input: {
|
|
3666
3717
|
nodeId?: string | undefined;
|
|
3718
|
+
addonId?: string | undefined;
|
|
3667
3719
|
} | undefined;
|
|
3668
3720
|
output: readonly {
|
|
3669
3721
|
stableId: string;
|
|
@@ -4085,41 +4137,6 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
4085
4137
|
meta: object;
|
|
4086
4138
|
}>;
|
|
4087
4139
|
}>>;
|
|
4088
|
-
authentication: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
|
|
4089
|
-
ctx: import("@camstack/types").TrpcContext;
|
|
4090
|
-
meta: object;
|
|
4091
|
-
errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
|
|
4092
|
-
transformer: true;
|
|
4093
|
-
}, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
|
|
4094
|
-
listProviders: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
4095
|
-
input: {
|
|
4096
|
-
nodeId?: string | undefined;
|
|
4097
|
-
} | undefined;
|
|
4098
|
-
output: readonly {
|
|
4099
|
-
addonId: string;
|
|
4100
|
-
displayName: string;
|
|
4101
|
-
hasRedirectFlow: boolean;
|
|
4102
|
-
hasCredentialFlow: boolean;
|
|
4103
|
-
enabled: boolean;
|
|
4104
|
-
instanceId?: string | undefined;
|
|
4105
|
-
icon?: string | undefined;
|
|
4106
|
-
kind?: string | undefined;
|
|
4107
|
-
status?: string | undefined;
|
|
4108
|
-
}[];
|
|
4109
|
-
meta: object;
|
|
4110
|
-
}>;
|
|
4111
|
-
setProviderEnabled: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
4112
|
-
input: {
|
|
4113
|
-
[x: string]: unknown;
|
|
4114
|
-
addonId: string;
|
|
4115
|
-
enabled: boolean;
|
|
4116
|
-
};
|
|
4117
|
-
output: {
|
|
4118
|
-
success: true;
|
|
4119
|
-
};
|
|
4120
|
-
meta: object;
|
|
4121
|
-
}>;
|
|
4122
|
-
}>>;
|
|
4123
4140
|
backup: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
|
|
4124
4141
|
ctx: import("@camstack/types").TrpcContext;
|
|
4125
4142
|
meta: object;
|
|
@@ -4576,6 +4593,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
4576
4593
|
getStatus: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
4577
4594
|
input: {
|
|
4578
4595
|
nodeId?: string | undefined;
|
|
4596
|
+
addonId?: string | undefined;
|
|
4579
4597
|
} | undefined;
|
|
4580
4598
|
output: unknown;
|
|
4581
4599
|
meta: object;
|
|
@@ -4648,6 +4666,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
4648
4666
|
listSupportedDeviceKinds: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
4649
4667
|
input: {
|
|
4650
4668
|
nodeId?: string | undefined;
|
|
4669
|
+
addonId?: string | undefined;
|
|
4651
4670
|
} | undefined;
|
|
4652
4671
|
output: string[];
|
|
4653
4672
|
meta: object;
|
|
@@ -4655,6 +4674,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
4655
4674
|
listExposedDevices: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
4656
4675
|
input: {
|
|
4657
4676
|
nodeId?: string | undefined;
|
|
4677
|
+
addonId?: string | undefined;
|
|
4658
4678
|
} | undefined;
|
|
4659
4679
|
output: {
|
|
4660
4680
|
deviceId: string;
|
|
@@ -5410,6 +5430,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
5410
5430
|
start: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
5411
5431
|
input: {
|
|
5412
5432
|
nodeId?: string | undefined;
|
|
5433
|
+
addonId?: string | undefined;
|
|
5413
5434
|
} | undefined;
|
|
5414
5435
|
output: void;
|
|
5415
5436
|
meta: object;
|
|
@@ -5417,6 +5438,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
5417
5438
|
stop: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
5418
5439
|
input: {
|
|
5419
5440
|
nodeId?: string | undefined;
|
|
5441
|
+
addonId?: string | undefined;
|
|
5420
5442
|
} | undefined;
|
|
5421
5443
|
output: void;
|
|
5422
5444
|
meta: object;
|
|
@@ -5424,6 +5446,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
5424
5446
|
getStatus: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
5425
5447
|
input: {
|
|
5426
5448
|
nodeId?: string | undefined;
|
|
5449
|
+
addonId?: string | undefined;
|
|
5427
5450
|
} | undefined;
|
|
5428
5451
|
output: unknown;
|
|
5429
5452
|
meta: object;
|
|
@@ -5431,6 +5454,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
5431
5454
|
getDevices: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
5432
5455
|
input: {
|
|
5433
5456
|
nodeId?: string | undefined;
|
|
5457
|
+
addonId?: string | undefined;
|
|
5434
5458
|
} | undefined;
|
|
5435
5459
|
output: {
|
|
5436
5460
|
id: string;
|
|
@@ -5635,6 +5659,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
5635
5659
|
getInfo: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
5636
5660
|
input: {
|
|
5637
5661
|
nodeId?: string | undefined;
|
|
5662
|
+
addonId?: string | undefined;
|
|
5638
5663
|
} | undefined;
|
|
5639
5664
|
output: {
|
|
5640
5665
|
modelId: string;
|
|
@@ -5790,6 +5815,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
5790
5815
|
getStatus: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
5791
5816
|
input: {
|
|
5792
5817
|
nodeId?: string | undefined;
|
|
5818
|
+
addonId?: string | undefined;
|
|
5793
5819
|
} | undefined;
|
|
5794
5820
|
output: unknown;
|
|
5795
5821
|
meta: object;
|
|
@@ -5818,6 +5844,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
5818
5844
|
leave: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
5819
5845
|
input: {
|
|
5820
5846
|
nodeId?: string | undefined;
|
|
5847
|
+
addonId?: string | undefined;
|
|
5821
5848
|
} | undefined;
|
|
5822
5849
|
output: {
|
|
5823
5850
|
left: true;
|
|
@@ -5827,6 +5854,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
5827
5854
|
logout: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
5828
5855
|
input: {
|
|
5829
5856
|
nodeId?: string | undefined;
|
|
5857
|
+
addonId?: string | undefined;
|
|
5830
5858
|
} | undefined;
|
|
5831
5859
|
output: {
|
|
5832
5860
|
loggedOut: true;
|
|
@@ -5836,6 +5864,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
5836
5864
|
listPeers: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
5837
5865
|
input: {
|
|
5838
5866
|
nodeId?: string | undefined;
|
|
5867
|
+
addonId?: string | undefined;
|
|
5839
5868
|
} | undefined;
|
|
5840
5869
|
output: {
|
|
5841
5870
|
peers: readonly {
|
|
@@ -5846,7 +5875,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
5846
5875
|
online: boolean;
|
|
5847
5876
|
lastSeenMs: number;
|
|
5848
5877
|
isSelf: boolean;
|
|
5849
|
-
connection: "idle" | "
|
|
5878
|
+
connection: "idle" | "direct" | "relay";
|
|
5850
5879
|
relay: string | null;
|
|
5851
5880
|
lastHandshakeMs: number;
|
|
5852
5881
|
rxBytes: number;
|
|
@@ -5875,114 +5904,6 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
5875
5904
|
meta: object;
|
|
5876
5905
|
}>;
|
|
5877
5906
|
}>>;
|
|
5878
|
-
meshOrchestrator: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
|
|
5879
|
-
ctx: import("@camstack/types").TrpcContext;
|
|
5880
|
-
meta: object;
|
|
5881
|
-
errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
|
|
5882
|
-
transformer: true;
|
|
5883
|
-
}, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
|
|
5884
|
-
listProviders: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
5885
|
-
input: {
|
|
5886
|
-
nodeId?: string | undefined;
|
|
5887
|
-
} | undefined;
|
|
5888
|
-
output: readonly {
|
|
5889
|
-
addonId: string;
|
|
5890
|
-
displayName: string;
|
|
5891
|
-
joined: boolean;
|
|
5892
|
-
meshIp: string;
|
|
5893
|
-
magicDnsHostname: string;
|
|
5894
|
-
peerCount: number;
|
|
5895
|
-
endpoints: readonly {
|
|
5896
|
-
id: string;
|
|
5897
|
-
label: string;
|
|
5898
|
-
scope: "public" | "mesh";
|
|
5899
|
-
url: string;
|
|
5900
|
-
hostname: string;
|
|
5901
|
-
port: number;
|
|
5902
|
-
protocol: "https" | "http";
|
|
5903
|
-
}[];
|
|
5904
|
-
tenantName: string;
|
|
5905
|
-
magicDnsSuffix: string;
|
|
5906
|
-
userLogin: string | null;
|
|
5907
|
-
controlPlaneUrl: string;
|
|
5908
|
-
keyExpiry: number | null;
|
|
5909
|
-
error?: string | undefined;
|
|
5910
|
-
}[];
|
|
5911
|
-
meta: object;
|
|
5912
|
-
}>;
|
|
5913
|
-
joinProvider: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
5914
|
-
input: {
|
|
5915
|
-
[x: string]: unknown;
|
|
5916
|
-
addonId: string;
|
|
5917
|
-
authKey: string;
|
|
5918
|
-
hostname?: string | undefined;
|
|
5919
|
-
};
|
|
5920
|
-
output: {
|
|
5921
|
-
joined: true;
|
|
5922
|
-
};
|
|
5923
|
-
meta: object;
|
|
5924
|
-
}>;
|
|
5925
|
-
leaveProvider: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
5926
|
-
input: {
|
|
5927
|
-
[x: string]: unknown;
|
|
5928
|
-
addonId: string;
|
|
5929
|
-
};
|
|
5930
|
-
output: {
|
|
5931
|
-
success: true;
|
|
5932
|
-
};
|
|
5933
|
-
meta: object;
|
|
5934
|
-
}>;
|
|
5935
|
-
startLoginProvider: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
5936
|
-
input: {
|
|
5937
|
-
[x: string]: unknown;
|
|
5938
|
-
addonId: string;
|
|
5939
|
-
hostname?: string | undefined;
|
|
5940
|
-
};
|
|
5941
|
-
output: {
|
|
5942
|
-
loginUrl: string;
|
|
5943
|
-
};
|
|
5944
|
-
meta: object;
|
|
5945
|
-
}>;
|
|
5946
|
-
logoutProvider: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
5947
|
-
input: {
|
|
5948
|
-
[x: string]: unknown;
|
|
5949
|
-
addonId: string;
|
|
5950
|
-
};
|
|
5951
|
-
output: {
|
|
5952
|
-
loggedOut: true;
|
|
5953
|
-
};
|
|
5954
|
-
meta: object;
|
|
5955
|
-
}>;
|
|
5956
|
-
listProviderPeers: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
5957
|
-
input: {
|
|
5958
|
-
[x: string]: unknown;
|
|
5959
|
-
addonId: string;
|
|
5960
|
-
};
|
|
5961
|
-
output: {
|
|
5962
|
-
peers: readonly {
|
|
5963
|
-
id: string;
|
|
5964
|
-
hostname: string;
|
|
5965
|
-
magicDns: string;
|
|
5966
|
-
addresses: readonly string[];
|
|
5967
|
-
online: boolean;
|
|
5968
|
-
lastSeenMs: number;
|
|
5969
|
-
isSelf: boolean;
|
|
5970
|
-
connection: "idle" | "relay" | "direct";
|
|
5971
|
-
relay: string | null;
|
|
5972
|
-
lastHandshakeMs: number;
|
|
5973
|
-
rxBytes: number;
|
|
5974
|
-
txBytes: number;
|
|
5975
|
-
tags: readonly string[];
|
|
5976
|
-
exitNodeOption: boolean;
|
|
5977
|
-
advertisedRoutes: readonly string[];
|
|
5978
|
-
userLogin: string | null;
|
|
5979
|
-
keyExpiry: number | null;
|
|
5980
|
-
os?: string | undefined;
|
|
5981
|
-
}[];
|
|
5982
|
-
};
|
|
5983
|
-
meta: object;
|
|
5984
|
-
}>;
|
|
5985
|
-
}>>;
|
|
5986
5907
|
metricsProvider: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
|
|
5987
5908
|
ctx: import("@camstack/types").TrpcContext;
|
|
5988
5909
|
meta: object;
|
|
@@ -6482,6 +6403,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
6482
6403
|
getStatus: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
6483
6404
|
input: {
|
|
6484
6405
|
nodeId?: string | undefined;
|
|
6406
|
+
addonId?: string | undefined;
|
|
6485
6407
|
} | undefined;
|
|
6486
6408
|
output: unknown;
|
|
6487
6409
|
meta: object;
|
|
@@ -6489,6 +6411,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
6489
6411
|
listBrokers: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
6490
6412
|
input: {
|
|
6491
6413
|
nodeId?: string | undefined;
|
|
6414
|
+
addonId?: string | undefined;
|
|
6492
6415
|
} | undefined;
|
|
6493
6416
|
output: {
|
|
6494
6417
|
id: string;
|
|
@@ -6590,54 +6513,121 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
6590
6513
|
meta: object;
|
|
6591
6514
|
}>;
|
|
6592
6515
|
}>>;
|
|
6593
|
-
|
|
6516
|
+
networkAccess: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
|
|
6594
6517
|
ctx: import("@camstack/types").TrpcContext;
|
|
6595
6518
|
meta: object;
|
|
6596
6519
|
errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
|
|
6597
6520
|
transformer: true;
|
|
6598
6521
|
}, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
|
|
6599
|
-
|
|
6522
|
+
start: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
6600
6523
|
input: {
|
|
6601
|
-
|
|
6602
|
-
|
|
6603
|
-
|
|
6604
|
-
|
|
6605
|
-
|
|
6606
|
-
|
|
6607
|
-
|
|
6608
|
-
|
|
6524
|
+
nodeId?: string | undefined;
|
|
6525
|
+
addonId?: string | undefined;
|
|
6526
|
+
} | undefined;
|
|
6527
|
+
output: {
|
|
6528
|
+
url: string;
|
|
6529
|
+
hostname: string;
|
|
6530
|
+
port: number;
|
|
6531
|
+
protocol: "https" | "http";
|
|
6609
6532
|
};
|
|
6533
|
+
meta: object;
|
|
6534
|
+
}>;
|
|
6535
|
+
stop: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
6536
|
+
input: {
|
|
6537
|
+
nodeId?: string | undefined;
|
|
6538
|
+
addonId?: string | undefined;
|
|
6539
|
+
} | undefined;
|
|
6610
6540
|
output: void;
|
|
6611
6541
|
meta: object;
|
|
6612
6542
|
}>;
|
|
6613
|
-
|
|
6543
|
+
getEndpoint: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
6614
6544
|
input: {
|
|
6615
6545
|
nodeId?: string | undefined;
|
|
6546
|
+
addonId?: string | undefined;
|
|
6616
6547
|
} | undefined;
|
|
6617
6548
|
output: {
|
|
6618
|
-
|
|
6619
|
-
|
|
6620
|
-
|
|
6549
|
+
url: string;
|
|
6550
|
+
hostname: string;
|
|
6551
|
+
port: number;
|
|
6552
|
+
protocol: "https" | "http";
|
|
6553
|
+
} | null;
|
|
6621
6554
|
meta: object;
|
|
6622
6555
|
}>;
|
|
6623
|
-
}>>;
|
|
6624
|
-
osd: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
|
|
6625
|
-
ctx: import("@camstack/types").TrpcContext;
|
|
6626
|
-
meta: object;
|
|
6627
|
-
errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
|
|
6628
|
-
transformer: true;
|
|
6629
|
-
}, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
|
|
6630
6556
|
getStatus: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
6631
6557
|
input: {
|
|
6632
|
-
|
|
6633
|
-
|
|
6634
|
-
};
|
|
6558
|
+
nodeId?: string | undefined;
|
|
6559
|
+
addonId?: string | undefined;
|
|
6560
|
+
} | undefined;
|
|
6635
6561
|
output: unknown;
|
|
6636
6562
|
meta: object;
|
|
6637
6563
|
}>;
|
|
6638
|
-
|
|
6564
|
+
listEndpoints: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
6639
6565
|
input: {
|
|
6640
|
-
|
|
6566
|
+
nodeId?: string | undefined;
|
|
6567
|
+
addonId?: string | undefined;
|
|
6568
|
+
} | undefined;
|
|
6569
|
+
output: readonly {
|
|
6570
|
+
url: string;
|
|
6571
|
+
hostname: string;
|
|
6572
|
+
port: number;
|
|
6573
|
+
protocol: "https" | "http";
|
|
6574
|
+
id: string;
|
|
6575
|
+
label: string;
|
|
6576
|
+
mode?: string | undefined;
|
|
6577
|
+
sourcePort?: number | undefined;
|
|
6578
|
+
}[];
|
|
6579
|
+
meta: object;
|
|
6580
|
+
}>;
|
|
6581
|
+
}>>;
|
|
6582
|
+
notificationOutput: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
|
|
6583
|
+
ctx: import("@camstack/types").TrpcContext;
|
|
6584
|
+
meta: object;
|
|
6585
|
+
errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
|
|
6586
|
+
transformer: true;
|
|
6587
|
+
}, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
|
|
6588
|
+
send: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
6589
|
+
input: {
|
|
6590
|
+
[x: string]: unknown;
|
|
6591
|
+
title: string;
|
|
6592
|
+
body: string;
|
|
6593
|
+
imageUrl?: string | undefined;
|
|
6594
|
+
deviceId?: number | undefined;
|
|
6595
|
+
eventId?: string | undefined;
|
|
6596
|
+
priority?: "high" | "low" | "normal" | "critical" | undefined;
|
|
6597
|
+
metadata?: Record<string, unknown> | undefined;
|
|
6598
|
+
};
|
|
6599
|
+
output: void;
|
|
6600
|
+
meta: object;
|
|
6601
|
+
}>;
|
|
6602
|
+
sendTest: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
6603
|
+
input: {
|
|
6604
|
+
nodeId?: string | undefined;
|
|
6605
|
+
addonId?: string | undefined;
|
|
6606
|
+
} | undefined;
|
|
6607
|
+
output: {
|
|
6608
|
+
success: boolean;
|
|
6609
|
+
error?: string | undefined;
|
|
6610
|
+
};
|
|
6611
|
+
meta: object;
|
|
6612
|
+
}>;
|
|
6613
|
+
}>>;
|
|
6614
|
+
osd: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
|
|
6615
|
+
ctx: import("@camstack/types").TrpcContext;
|
|
6616
|
+
meta: object;
|
|
6617
|
+
errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
|
|
6618
|
+
transformer: true;
|
|
6619
|
+
}, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
|
|
6620
|
+
getStatus: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
6621
|
+
input: {
|
|
6622
|
+
[x: string]: unknown;
|
|
6623
|
+
deviceId: number;
|
|
6624
|
+
};
|
|
6625
|
+
output: unknown;
|
|
6626
|
+
meta: object;
|
|
6627
|
+
}>;
|
|
6628
|
+
setOverlay: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
6629
|
+
input: {
|
|
6630
|
+
[x: string]: unknown;
|
|
6641
6631
|
deviceId: number;
|
|
6642
6632
|
overlayId: string;
|
|
6643
6633
|
patch: {
|
|
@@ -7517,55 +7507,6 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
7517
7507
|
meta: object;
|
|
7518
7508
|
}>;
|
|
7519
7509
|
}>>;
|
|
7520
|
-
remoteAccess: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
|
|
7521
|
-
ctx: import("@camstack/types").TrpcContext;
|
|
7522
|
-
meta: object;
|
|
7523
|
-
errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
|
|
7524
|
-
transformer: true;
|
|
7525
|
-
}, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
|
|
7526
|
-
listProviders: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
7527
|
-
input: {
|
|
7528
|
-
nodeId?: string | undefined;
|
|
7529
|
-
} | undefined;
|
|
7530
|
-
output: readonly {
|
|
7531
|
-
addonId: string;
|
|
7532
|
-
displayName: string;
|
|
7533
|
-
enabled: boolean;
|
|
7534
|
-
connected: boolean;
|
|
7535
|
-
endpoint: {
|
|
7536
|
-
url: string;
|
|
7537
|
-
hostname: string;
|
|
7538
|
-
port: number;
|
|
7539
|
-
protocol: "https" | "http";
|
|
7540
|
-
} | null;
|
|
7541
|
-
error?: string | undefined;
|
|
7542
|
-
}[];
|
|
7543
|
-
meta: object;
|
|
7544
|
-
}>;
|
|
7545
|
-
startProvider: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
7546
|
-
input: {
|
|
7547
|
-
[x: string]: unknown;
|
|
7548
|
-
addonId: string;
|
|
7549
|
-
};
|
|
7550
|
-
output: {
|
|
7551
|
-
url: string;
|
|
7552
|
-
hostname: string;
|
|
7553
|
-
port: number;
|
|
7554
|
-
protocol: "https" | "http";
|
|
7555
|
-
};
|
|
7556
|
-
meta: object;
|
|
7557
|
-
}>;
|
|
7558
|
-
stopProvider: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
7559
|
-
input: {
|
|
7560
|
-
[x: string]: unknown;
|
|
7561
|
-
addonId: string;
|
|
7562
|
-
};
|
|
7563
|
-
output: {
|
|
7564
|
-
success: true;
|
|
7565
|
-
};
|
|
7566
|
-
meta: object;
|
|
7567
|
-
}>;
|
|
7568
|
-
}>>;
|
|
7569
7510
|
settingsStore: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
|
|
7570
7511
|
ctx: import("@camstack/types").TrpcContext;
|
|
7571
7512
|
meta: object;
|
|
@@ -7729,6 +7670,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
7729
7670
|
verify: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
7730
7671
|
input: {
|
|
7731
7672
|
nodeId?: string | undefined;
|
|
7673
|
+
addonId?: string | undefined;
|
|
7732
7674
|
} | undefined;
|
|
7733
7675
|
output: {
|
|
7734
7676
|
ready: boolean;
|
|
@@ -7741,6 +7683,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
7741
7683
|
getStatus: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
7742
7684
|
input: {
|
|
7743
7685
|
nodeId?: string | undefined;
|
|
7686
|
+
addonId?: string | undefined;
|
|
7744
7687
|
} | undefined;
|
|
7745
7688
|
output: unknown;
|
|
7746
7689
|
meta: object;
|
|
@@ -8139,6 +8082,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
8139
8082
|
getProviderInfo: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
8140
8083
|
input: {
|
|
8141
8084
|
nodeId?: string | undefined;
|
|
8085
|
+
addonId?: string | undefined;
|
|
8142
8086
|
} | undefined;
|
|
8143
8087
|
output: {
|
|
8144
8088
|
providerId: string;
|
|
@@ -8799,29 +8743,16 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
8799
8743
|
meta: object;
|
|
8800
8744
|
}>;
|
|
8801
8745
|
}>>;
|
|
8802
|
-
|
|
8746
|
+
turnProvider: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
|
|
8803
8747
|
ctx: import("@camstack/types").TrpcContext;
|
|
8804
8748
|
meta: object;
|
|
8805
8749
|
errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
|
|
8806
8750
|
transformer: true;
|
|
8807
8751
|
}, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
|
|
8808
|
-
|
|
8809
|
-
input: {
|
|
8810
|
-
nodeId?: string | undefined;
|
|
8811
|
-
} | undefined;
|
|
8812
|
-
output: readonly {
|
|
8813
|
-
addonId: string;
|
|
8814
|
-
displayName: string;
|
|
8815
|
-
enabled: boolean;
|
|
8816
|
-
serverCount: number;
|
|
8817
|
-
urls: readonly string[];
|
|
8818
|
-
error?: string | undefined;
|
|
8819
|
-
}[];
|
|
8820
|
-
meta: object;
|
|
8821
|
-
}>;
|
|
8822
|
-
getAllServers: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
8752
|
+
getTurnServers: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
8823
8753
|
input: {
|
|
8824
8754
|
nodeId?: string | undefined;
|
|
8755
|
+
addonId?: string | undefined;
|
|
8825
8756
|
} | undefined;
|
|
8826
8757
|
output: readonly {
|
|
8827
8758
|
urls: string | string[];
|
|
@@ -8830,17 +8761,6 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
8830
8761
|
}[];
|
|
8831
8762
|
meta: object;
|
|
8832
8763
|
}>;
|
|
8833
|
-
setProviderEnabled: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
8834
|
-
input: {
|
|
8835
|
-
[x: string]: unknown;
|
|
8836
|
-
addonId: string;
|
|
8837
|
-
enabled: boolean;
|
|
8838
|
-
};
|
|
8839
|
-
output: {
|
|
8840
|
-
success: true;
|
|
8841
|
-
};
|
|
8842
|
-
meta: object;
|
|
8843
|
-
}>;
|
|
8844
8764
|
}>>;
|
|
8845
8765
|
userManagement: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
|
|
8846
8766
|
ctx: import("@camstack/types").TrpcContext;
|
|
@@ -11032,8 +10952,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
11032
10952
|
}>;
|
|
11033
10953
|
listUpdates: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
11034
10954
|
input: {
|
|
10955
|
+
[x: string]: unknown;
|
|
11035
10956
|
nodeId?: string | undefined;
|
|
11036
|
-
}
|
|
10957
|
+
};
|
|
11037
10958
|
output: readonly {
|
|
11038
10959
|
name: string;
|
|
11039
10960
|
currentVersion: string;
|
|
@@ -11048,6 +10969,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
11048
10969
|
[x: string]: unknown;
|
|
11049
10970
|
name: string;
|
|
11050
10971
|
version?: string | undefined;
|
|
10972
|
+
nodeId?: string | undefined;
|
|
11051
10973
|
};
|
|
11052
10974
|
output: unknown;
|
|
11053
10975
|
meta: object;
|
|
@@ -11064,8 +10986,9 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
11064
10986
|
}>;
|
|
11065
10987
|
forceRefresh: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
11066
10988
|
input: {
|
|
10989
|
+
[x: string]: unknown;
|
|
11067
10990
|
nodeId?: string | undefined;
|
|
11068
|
-
}
|
|
10991
|
+
};
|
|
11069
10992
|
output: unknown;
|
|
11070
10993
|
meta: object;
|
|
11071
10994
|
}>;
|
|
@@ -11077,6 +11000,71 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
11077
11000
|
output: unknown;
|
|
11078
11001
|
meta: object;
|
|
11079
11002
|
}>;
|
|
11003
|
+
getLastRestart: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
11004
|
+
input: {
|
|
11005
|
+
nodeId?: string | undefined;
|
|
11006
|
+
} | undefined;
|
|
11007
|
+
output: {
|
|
11008
|
+
kind: "system" | "manual" | "framework-update";
|
|
11009
|
+
requestedAt: number;
|
|
11010
|
+
packageName?: string | undefined;
|
|
11011
|
+
fromVersion?: string | undefined;
|
|
11012
|
+
toVersion?: string | undefined;
|
|
11013
|
+
requestedBy?: string | undefined;
|
|
11014
|
+
} | null;
|
|
11015
|
+
meta: object;
|
|
11016
|
+
}>;
|
|
11017
|
+
listFrameworkPackages: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
11018
|
+
input: {
|
|
11019
|
+
nodeId?: string | undefined;
|
|
11020
|
+
} | undefined;
|
|
11021
|
+
output: readonly {
|
|
11022
|
+
packageName: string;
|
|
11023
|
+
currentVersion: string;
|
|
11024
|
+
latestVersion: string | null;
|
|
11025
|
+
hasUpdate: boolean;
|
|
11026
|
+
description?: string | undefined;
|
|
11027
|
+
}[];
|
|
11028
|
+
meta: object;
|
|
11029
|
+
}>;
|
|
11030
|
+
listCapabilityProviders: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
11031
|
+
input: {
|
|
11032
|
+
[x: string]: unknown;
|
|
11033
|
+
capName: string;
|
|
11034
|
+
};
|
|
11035
|
+
output: readonly {
|
|
11036
|
+
addonId: string;
|
|
11037
|
+
mode: "collection" | "singleton";
|
|
11038
|
+
isActive: boolean;
|
|
11039
|
+
}[];
|
|
11040
|
+
meta: object;
|
|
11041
|
+
}>;
|
|
11042
|
+
setCapabilityProviderEnabled: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
11043
|
+
input: {
|
|
11044
|
+
[x: string]: unknown;
|
|
11045
|
+
capName: string;
|
|
11046
|
+
addonId: string;
|
|
11047
|
+
enabled: boolean;
|
|
11048
|
+
};
|
|
11049
|
+
output: {
|
|
11050
|
+
success: true;
|
|
11051
|
+
};
|
|
11052
|
+
meta: object;
|
|
11053
|
+
}>;
|
|
11054
|
+
updateFrameworkPackage: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
11055
|
+
input: {
|
|
11056
|
+
[x: string]: unknown;
|
|
11057
|
+
packageName: string;
|
|
11058
|
+
version?: string | undefined;
|
|
11059
|
+
};
|
|
11060
|
+
output: {
|
|
11061
|
+
packageName: string;
|
|
11062
|
+
fromVersion: string;
|
|
11063
|
+
toVersion: string;
|
|
11064
|
+
restartingAt: number;
|
|
11065
|
+
};
|
|
11066
|
+
meta: object;
|
|
11067
|
+
}>;
|
|
11080
11068
|
getVersions: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
11081
11069
|
input: {
|
|
11082
11070
|
[x: string]: unknown;
|
|
@@ -11968,7 +11956,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
11968
11956
|
deviceId: number;
|
|
11969
11957
|
agentNodeId: string;
|
|
11970
11958
|
pinned: boolean;
|
|
11971
|
-
reason: "
|
|
11959
|
+
reason: "manual" | "rebalance" | "capacity" | "hardware-affinity" | "failover";
|
|
11972
11960
|
assignedAt: number;
|
|
11973
11961
|
}[];
|
|
11974
11962
|
meta: object;
|
|
@@ -11982,7 +11970,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
11982
11970
|
deviceId: number;
|
|
11983
11971
|
agentNodeId: string;
|
|
11984
11972
|
pinned: boolean;
|
|
11985
|
-
reason: "
|
|
11973
|
+
reason: "manual" | "rebalance" | "capacity" | "hardware-affinity" | "failover";
|
|
11986
11974
|
assignedAt: number;
|
|
11987
11975
|
} | null;
|
|
11988
11976
|
meta: object;
|
|
@@ -13031,7 +13019,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
13031
13019
|
netmask: string;
|
|
13032
13020
|
internal: boolean;
|
|
13033
13021
|
mac: string;
|
|
13034
|
-
kind: "other" | "lan" | "
|
|
13022
|
+
kind: "other" | "lan" | "wifi" | "docker" | "vpn" | "loopback";
|
|
13035
13023
|
preferred: boolean;
|
|
13036
13024
|
plausible: boolean;
|
|
13037
13025
|
plausibleReason: string;
|
|
@@ -13052,7 +13040,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
13052
13040
|
netmask: string;
|
|
13053
13041
|
internal: boolean;
|
|
13054
13042
|
mac: string;
|
|
13055
|
-
kind: "other" | "lan" | "
|
|
13043
|
+
kind: "other" | "lan" | "wifi" | "docker" | "vpn" | "loopback";
|
|
13056
13044
|
preferred: boolean;
|
|
13057
13045
|
plausible: boolean;
|
|
13058
13046
|
plausibleReason: string;
|
|
@@ -13072,7 +13060,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
13072
13060
|
label: string;
|
|
13073
13061
|
baseUrl: string;
|
|
13074
13062
|
kind: "public" | "loopback" | "lan-ipv4" | "lan-ipv6";
|
|
13075
|
-
interfaceKind: "other" | "public" | "lan" | "
|
|
13063
|
+
interfaceKind: "other" | "public" | "lan" | "wifi" | "docker" | "vpn" | "loopback";
|
|
13076
13064
|
plausible: boolean;
|
|
13077
13065
|
plausibleReason: string;
|
|
13078
13066
|
priority: number;
|
|
@@ -13109,24 +13097,6 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
13109
13097
|
meta: object;
|
|
13110
13098
|
}>;
|
|
13111
13099
|
}>>;
|
|
13112
|
-
turnProvider: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
|
|
13113
|
-
ctx: import("@camstack/types").TrpcContext;
|
|
13114
|
-
meta: object;
|
|
13115
|
-
errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
|
|
13116
|
-
transformer: true;
|
|
13117
|
-
}, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
|
|
13118
|
-
getTurnServers: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
13119
|
-
input: {
|
|
13120
|
-
nodeId?: string | undefined;
|
|
13121
|
-
} | undefined;
|
|
13122
|
-
output: readonly {
|
|
13123
|
-
urls: string | string[];
|
|
13124
|
-
username?: string | undefined;
|
|
13125
|
-
credential?: string | undefined;
|
|
13126
|
-
}[];
|
|
13127
|
-
meta: object;
|
|
13128
|
-
}>;
|
|
13129
|
-
}>>;
|
|
13130
13100
|
snapshotProvider: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
|
|
13131
13101
|
ctx: import("@camstack/types").TrpcContext;
|
|
13132
13102
|
meta: object;
|
|
@@ -13203,6 +13173,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
13203
13173
|
listPages: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
13204
13174
|
input: {
|
|
13205
13175
|
nodeId?: string | undefined;
|
|
13176
|
+
addonId?: string | undefined;
|
|
13206
13177
|
} | undefined;
|
|
13207
13178
|
output: readonly {
|
|
13208
13179
|
id: string;
|
|
@@ -13346,6 +13317,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
13346
13317
|
listWidgets: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
13347
13318
|
input: {
|
|
13348
13319
|
nodeId?: string | undefined;
|
|
13320
|
+
addonId?: string | undefined;
|
|
13349
13321
|
} | undefined;
|
|
13350
13322
|
output: readonly {
|
|
13351
13323
|
stableId: string;
|
|
@@ -13767,41 +13739,6 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
13767
13739
|
meta: object;
|
|
13768
13740
|
}>;
|
|
13769
13741
|
}>>;
|
|
13770
|
-
authentication: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
|
|
13771
|
-
ctx: import("@camstack/types").TrpcContext;
|
|
13772
|
-
meta: object;
|
|
13773
|
-
errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
|
|
13774
|
-
transformer: true;
|
|
13775
|
-
}, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
|
|
13776
|
-
listProviders: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
13777
|
-
input: {
|
|
13778
|
-
nodeId?: string | undefined;
|
|
13779
|
-
} | undefined;
|
|
13780
|
-
output: readonly {
|
|
13781
|
-
addonId: string;
|
|
13782
|
-
displayName: string;
|
|
13783
|
-
hasRedirectFlow: boolean;
|
|
13784
|
-
hasCredentialFlow: boolean;
|
|
13785
|
-
enabled: boolean;
|
|
13786
|
-
instanceId?: string | undefined;
|
|
13787
|
-
icon?: string | undefined;
|
|
13788
|
-
kind?: string | undefined;
|
|
13789
|
-
status?: string | undefined;
|
|
13790
|
-
}[];
|
|
13791
|
-
meta: object;
|
|
13792
|
-
}>;
|
|
13793
|
-
setProviderEnabled: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
13794
|
-
input: {
|
|
13795
|
-
[x: string]: unknown;
|
|
13796
|
-
addonId: string;
|
|
13797
|
-
enabled: boolean;
|
|
13798
|
-
};
|
|
13799
|
-
output: {
|
|
13800
|
-
success: true;
|
|
13801
|
-
};
|
|
13802
|
-
meta: object;
|
|
13803
|
-
}>;
|
|
13804
|
-
}>>;
|
|
13805
13742
|
backup: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
|
|
13806
13743
|
ctx: import("@camstack/types").TrpcContext;
|
|
13807
13744
|
meta: object;
|
|
@@ -14258,6 +14195,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
14258
14195
|
getStatus: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
14259
14196
|
input: {
|
|
14260
14197
|
nodeId?: string | undefined;
|
|
14198
|
+
addonId?: string | undefined;
|
|
14261
14199
|
} | undefined;
|
|
14262
14200
|
output: unknown;
|
|
14263
14201
|
meta: object;
|
|
@@ -14330,6 +14268,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
14330
14268
|
listSupportedDeviceKinds: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
14331
14269
|
input: {
|
|
14332
14270
|
nodeId?: string | undefined;
|
|
14271
|
+
addonId?: string | undefined;
|
|
14333
14272
|
} | undefined;
|
|
14334
14273
|
output: string[];
|
|
14335
14274
|
meta: object;
|
|
@@ -14337,6 +14276,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
14337
14276
|
listExposedDevices: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
14338
14277
|
input: {
|
|
14339
14278
|
nodeId?: string | undefined;
|
|
14279
|
+
addonId?: string | undefined;
|
|
14340
14280
|
} | undefined;
|
|
14341
14281
|
output: {
|
|
14342
14282
|
deviceId: string;
|
|
@@ -15092,6 +15032,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
15092
15032
|
start: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
15093
15033
|
input: {
|
|
15094
15034
|
nodeId?: string | undefined;
|
|
15035
|
+
addonId?: string | undefined;
|
|
15095
15036
|
} | undefined;
|
|
15096
15037
|
output: void;
|
|
15097
15038
|
meta: object;
|
|
@@ -15099,6 +15040,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
15099
15040
|
stop: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
15100
15041
|
input: {
|
|
15101
15042
|
nodeId?: string | undefined;
|
|
15043
|
+
addonId?: string | undefined;
|
|
15102
15044
|
} | undefined;
|
|
15103
15045
|
output: void;
|
|
15104
15046
|
meta: object;
|
|
@@ -15106,6 +15048,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
15106
15048
|
getStatus: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
15107
15049
|
input: {
|
|
15108
15050
|
nodeId?: string | undefined;
|
|
15051
|
+
addonId?: string | undefined;
|
|
15109
15052
|
} | undefined;
|
|
15110
15053
|
output: unknown;
|
|
15111
15054
|
meta: object;
|
|
@@ -15113,6 +15056,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
15113
15056
|
getDevices: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
15114
15057
|
input: {
|
|
15115
15058
|
nodeId?: string | undefined;
|
|
15059
|
+
addonId?: string | undefined;
|
|
15116
15060
|
} | undefined;
|
|
15117
15061
|
output: {
|
|
15118
15062
|
id: string;
|
|
@@ -15317,6 +15261,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
15317
15261
|
getInfo: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
15318
15262
|
input: {
|
|
15319
15263
|
nodeId?: string | undefined;
|
|
15264
|
+
addonId?: string | undefined;
|
|
15320
15265
|
} | undefined;
|
|
15321
15266
|
output: {
|
|
15322
15267
|
modelId: string;
|
|
@@ -15472,6 +15417,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
15472
15417
|
getStatus: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
15473
15418
|
input: {
|
|
15474
15419
|
nodeId?: string | undefined;
|
|
15420
|
+
addonId?: string | undefined;
|
|
15475
15421
|
} | undefined;
|
|
15476
15422
|
output: unknown;
|
|
15477
15423
|
meta: object;
|
|
@@ -15500,6 +15446,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
15500
15446
|
leave: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
15501
15447
|
input: {
|
|
15502
15448
|
nodeId?: string | undefined;
|
|
15449
|
+
addonId?: string | undefined;
|
|
15503
15450
|
} | undefined;
|
|
15504
15451
|
output: {
|
|
15505
15452
|
left: true;
|
|
@@ -15509,6 +15456,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
15509
15456
|
logout: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
15510
15457
|
input: {
|
|
15511
15458
|
nodeId?: string | undefined;
|
|
15459
|
+
addonId?: string | undefined;
|
|
15512
15460
|
} | undefined;
|
|
15513
15461
|
output: {
|
|
15514
15462
|
loggedOut: true;
|
|
@@ -15518,6 +15466,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
15518
15466
|
listPeers: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
15519
15467
|
input: {
|
|
15520
15468
|
nodeId?: string | undefined;
|
|
15469
|
+
addonId?: string | undefined;
|
|
15521
15470
|
} | undefined;
|
|
15522
15471
|
output: {
|
|
15523
15472
|
peers: readonly {
|
|
@@ -15528,7 +15477,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
15528
15477
|
online: boolean;
|
|
15529
15478
|
lastSeenMs: number;
|
|
15530
15479
|
isSelf: boolean;
|
|
15531
|
-
connection: "idle" | "
|
|
15480
|
+
connection: "idle" | "direct" | "relay";
|
|
15532
15481
|
relay: string | null;
|
|
15533
15482
|
lastHandshakeMs: number;
|
|
15534
15483
|
rxBytes: number;
|
|
@@ -15557,114 +15506,6 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
15557
15506
|
meta: object;
|
|
15558
15507
|
}>;
|
|
15559
15508
|
}>>;
|
|
15560
|
-
meshOrchestrator: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
|
|
15561
|
-
ctx: import("@camstack/types").TrpcContext;
|
|
15562
|
-
meta: object;
|
|
15563
|
-
errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
|
|
15564
|
-
transformer: true;
|
|
15565
|
-
}, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
|
|
15566
|
-
listProviders: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
15567
|
-
input: {
|
|
15568
|
-
nodeId?: string | undefined;
|
|
15569
|
-
} | undefined;
|
|
15570
|
-
output: readonly {
|
|
15571
|
-
addonId: string;
|
|
15572
|
-
displayName: string;
|
|
15573
|
-
joined: boolean;
|
|
15574
|
-
meshIp: string;
|
|
15575
|
-
magicDnsHostname: string;
|
|
15576
|
-
peerCount: number;
|
|
15577
|
-
endpoints: readonly {
|
|
15578
|
-
id: string;
|
|
15579
|
-
label: string;
|
|
15580
|
-
scope: "public" | "mesh";
|
|
15581
|
-
url: string;
|
|
15582
|
-
hostname: string;
|
|
15583
|
-
port: number;
|
|
15584
|
-
protocol: "https" | "http";
|
|
15585
|
-
}[];
|
|
15586
|
-
tenantName: string;
|
|
15587
|
-
magicDnsSuffix: string;
|
|
15588
|
-
userLogin: string | null;
|
|
15589
|
-
controlPlaneUrl: string;
|
|
15590
|
-
keyExpiry: number | null;
|
|
15591
|
-
error?: string | undefined;
|
|
15592
|
-
}[];
|
|
15593
|
-
meta: object;
|
|
15594
|
-
}>;
|
|
15595
|
-
joinProvider: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
15596
|
-
input: {
|
|
15597
|
-
[x: string]: unknown;
|
|
15598
|
-
addonId: string;
|
|
15599
|
-
authKey: string;
|
|
15600
|
-
hostname?: string | undefined;
|
|
15601
|
-
};
|
|
15602
|
-
output: {
|
|
15603
|
-
joined: true;
|
|
15604
|
-
};
|
|
15605
|
-
meta: object;
|
|
15606
|
-
}>;
|
|
15607
|
-
leaveProvider: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
15608
|
-
input: {
|
|
15609
|
-
[x: string]: unknown;
|
|
15610
|
-
addonId: string;
|
|
15611
|
-
};
|
|
15612
|
-
output: {
|
|
15613
|
-
success: true;
|
|
15614
|
-
};
|
|
15615
|
-
meta: object;
|
|
15616
|
-
}>;
|
|
15617
|
-
startLoginProvider: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
15618
|
-
input: {
|
|
15619
|
-
[x: string]: unknown;
|
|
15620
|
-
addonId: string;
|
|
15621
|
-
hostname?: string | undefined;
|
|
15622
|
-
};
|
|
15623
|
-
output: {
|
|
15624
|
-
loginUrl: string;
|
|
15625
|
-
};
|
|
15626
|
-
meta: object;
|
|
15627
|
-
}>;
|
|
15628
|
-
logoutProvider: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
15629
|
-
input: {
|
|
15630
|
-
[x: string]: unknown;
|
|
15631
|
-
addonId: string;
|
|
15632
|
-
};
|
|
15633
|
-
output: {
|
|
15634
|
-
loggedOut: true;
|
|
15635
|
-
};
|
|
15636
|
-
meta: object;
|
|
15637
|
-
}>;
|
|
15638
|
-
listProviderPeers: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
15639
|
-
input: {
|
|
15640
|
-
[x: string]: unknown;
|
|
15641
|
-
addonId: string;
|
|
15642
|
-
};
|
|
15643
|
-
output: {
|
|
15644
|
-
peers: readonly {
|
|
15645
|
-
id: string;
|
|
15646
|
-
hostname: string;
|
|
15647
|
-
magicDns: string;
|
|
15648
|
-
addresses: readonly string[];
|
|
15649
|
-
online: boolean;
|
|
15650
|
-
lastSeenMs: number;
|
|
15651
|
-
isSelf: boolean;
|
|
15652
|
-
connection: "idle" | "relay" | "direct";
|
|
15653
|
-
relay: string | null;
|
|
15654
|
-
lastHandshakeMs: number;
|
|
15655
|
-
rxBytes: number;
|
|
15656
|
-
txBytes: number;
|
|
15657
|
-
tags: readonly string[];
|
|
15658
|
-
exitNodeOption: boolean;
|
|
15659
|
-
advertisedRoutes: readonly string[];
|
|
15660
|
-
userLogin: string | null;
|
|
15661
|
-
keyExpiry: number | null;
|
|
15662
|
-
os?: string | undefined;
|
|
15663
|
-
}[];
|
|
15664
|
-
};
|
|
15665
|
-
meta: object;
|
|
15666
|
-
}>;
|
|
15667
|
-
}>>;
|
|
15668
15509
|
metricsProvider: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
|
|
15669
15510
|
ctx: import("@camstack/types").TrpcContext;
|
|
15670
15511
|
meta: object;
|
|
@@ -16164,6 +16005,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
16164
16005
|
getStatus: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
16165
16006
|
input: {
|
|
16166
16007
|
nodeId?: string | undefined;
|
|
16008
|
+
addonId?: string | undefined;
|
|
16167
16009
|
} | undefined;
|
|
16168
16010
|
output: unknown;
|
|
16169
16011
|
meta: object;
|
|
@@ -16171,6 +16013,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
16171
16013
|
listBrokers: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
16172
16014
|
input: {
|
|
16173
16015
|
nodeId?: string | undefined;
|
|
16016
|
+
addonId?: string | undefined;
|
|
16174
16017
|
} | undefined;
|
|
16175
16018
|
output: {
|
|
16176
16019
|
id: string;
|
|
@@ -16272,6 +16115,72 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
16272
16115
|
meta: object;
|
|
16273
16116
|
}>;
|
|
16274
16117
|
}>>;
|
|
16118
|
+
networkAccess: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
|
|
16119
|
+
ctx: import("@camstack/types").TrpcContext;
|
|
16120
|
+
meta: object;
|
|
16121
|
+
errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
|
|
16122
|
+
transformer: true;
|
|
16123
|
+
}, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
|
|
16124
|
+
start: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
16125
|
+
input: {
|
|
16126
|
+
nodeId?: string | undefined;
|
|
16127
|
+
addonId?: string | undefined;
|
|
16128
|
+
} | undefined;
|
|
16129
|
+
output: {
|
|
16130
|
+
url: string;
|
|
16131
|
+
hostname: string;
|
|
16132
|
+
port: number;
|
|
16133
|
+
protocol: "https" | "http";
|
|
16134
|
+
};
|
|
16135
|
+
meta: object;
|
|
16136
|
+
}>;
|
|
16137
|
+
stop: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
16138
|
+
input: {
|
|
16139
|
+
nodeId?: string | undefined;
|
|
16140
|
+
addonId?: string | undefined;
|
|
16141
|
+
} | undefined;
|
|
16142
|
+
output: void;
|
|
16143
|
+
meta: object;
|
|
16144
|
+
}>;
|
|
16145
|
+
getEndpoint: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
16146
|
+
input: {
|
|
16147
|
+
nodeId?: string | undefined;
|
|
16148
|
+
addonId?: string | undefined;
|
|
16149
|
+
} | undefined;
|
|
16150
|
+
output: {
|
|
16151
|
+
url: string;
|
|
16152
|
+
hostname: string;
|
|
16153
|
+
port: number;
|
|
16154
|
+
protocol: "https" | "http";
|
|
16155
|
+
} | null;
|
|
16156
|
+
meta: object;
|
|
16157
|
+
}>;
|
|
16158
|
+
getStatus: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
16159
|
+
input: {
|
|
16160
|
+
nodeId?: string | undefined;
|
|
16161
|
+
addonId?: string | undefined;
|
|
16162
|
+
} | undefined;
|
|
16163
|
+
output: unknown;
|
|
16164
|
+
meta: object;
|
|
16165
|
+
}>;
|
|
16166
|
+
listEndpoints: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
16167
|
+
input: {
|
|
16168
|
+
nodeId?: string | undefined;
|
|
16169
|
+
addonId?: string | undefined;
|
|
16170
|
+
} | undefined;
|
|
16171
|
+
output: readonly {
|
|
16172
|
+
url: string;
|
|
16173
|
+
hostname: string;
|
|
16174
|
+
port: number;
|
|
16175
|
+
protocol: "https" | "http";
|
|
16176
|
+
id: string;
|
|
16177
|
+
label: string;
|
|
16178
|
+
mode?: string | undefined;
|
|
16179
|
+
sourcePort?: number | undefined;
|
|
16180
|
+
}[];
|
|
16181
|
+
meta: object;
|
|
16182
|
+
}>;
|
|
16183
|
+
}>>;
|
|
16275
16184
|
notificationOutput: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
|
|
16276
16185
|
ctx: import("@camstack/types").TrpcContext;
|
|
16277
16186
|
meta: object;
|
|
@@ -16295,6 +16204,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
16295
16204
|
sendTest: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
16296
16205
|
input: {
|
|
16297
16206
|
nodeId?: string | undefined;
|
|
16207
|
+
addonId?: string | undefined;
|
|
16298
16208
|
} | undefined;
|
|
16299
16209
|
output: {
|
|
16300
16210
|
success: boolean;
|
|
@@ -17199,55 +17109,6 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
17199
17109
|
meta: object;
|
|
17200
17110
|
}>;
|
|
17201
17111
|
}>>;
|
|
17202
|
-
remoteAccess: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
|
|
17203
|
-
ctx: import("@camstack/types").TrpcContext;
|
|
17204
|
-
meta: object;
|
|
17205
|
-
errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
|
|
17206
|
-
transformer: true;
|
|
17207
|
-
}, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
|
|
17208
|
-
listProviders: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
17209
|
-
input: {
|
|
17210
|
-
nodeId?: string | undefined;
|
|
17211
|
-
} | undefined;
|
|
17212
|
-
output: readonly {
|
|
17213
|
-
addonId: string;
|
|
17214
|
-
displayName: string;
|
|
17215
|
-
enabled: boolean;
|
|
17216
|
-
connected: boolean;
|
|
17217
|
-
endpoint: {
|
|
17218
|
-
url: string;
|
|
17219
|
-
hostname: string;
|
|
17220
|
-
port: number;
|
|
17221
|
-
protocol: "https" | "http";
|
|
17222
|
-
} | null;
|
|
17223
|
-
error?: string | undefined;
|
|
17224
|
-
}[];
|
|
17225
|
-
meta: object;
|
|
17226
|
-
}>;
|
|
17227
|
-
startProvider: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
17228
|
-
input: {
|
|
17229
|
-
[x: string]: unknown;
|
|
17230
|
-
addonId: string;
|
|
17231
|
-
};
|
|
17232
|
-
output: {
|
|
17233
|
-
url: string;
|
|
17234
|
-
hostname: string;
|
|
17235
|
-
port: number;
|
|
17236
|
-
protocol: "https" | "http";
|
|
17237
|
-
};
|
|
17238
|
-
meta: object;
|
|
17239
|
-
}>;
|
|
17240
|
-
stopProvider: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
17241
|
-
input: {
|
|
17242
|
-
[x: string]: unknown;
|
|
17243
|
-
addonId: string;
|
|
17244
|
-
};
|
|
17245
|
-
output: {
|
|
17246
|
-
success: true;
|
|
17247
|
-
};
|
|
17248
|
-
meta: object;
|
|
17249
|
-
}>;
|
|
17250
|
-
}>>;
|
|
17251
17112
|
settingsStore: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
|
|
17252
17113
|
ctx: import("@camstack/types").TrpcContext;
|
|
17253
17114
|
meta: object;
|
|
@@ -17411,6 +17272,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
17411
17272
|
verify: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
17412
17273
|
input: {
|
|
17413
17274
|
nodeId?: string | undefined;
|
|
17275
|
+
addonId?: string | undefined;
|
|
17414
17276
|
} | undefined;
|
|
17415
17277
|
output: {
|
|
17416
17278
|
ready: boolean;
|
|
@@ -17423,6 +17285,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
17423
17285
|
getStatus: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
17424
17286
|
input: {
|
|
17425
17287
|
nodeId?: string | undefined;
|
|
17288
|
+
addonId?: string | undefined;
|
|
17426
17289
|
} | undefined;
|
|
17427
17290
|
output: unknown;
|
|
17428
17291
|
meta: object;
|
|
@@ -17821,6 +17684,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
17821
17684
|
getProviderInfo: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
17822
17685
|
input: {
|
|
17823
17686
|
nodeId?: string | undefined;
|
|
17687
|
+
addonId?: string | undefined;
|
|
17824
17688
|
} | undefined;
|
|
17825
17689
|
output: {
|
|
17826
17690
|
providerId: string;
|
|
@@ -18481,29 +18345,16 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
18481
18345
|
meta: object;
|
|
18482
18346
|
}>;
|
|
18483
18347
|
}>>;
|
|
18484
|
-
|
|
18348
|
+
turnProvider: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
|
|
18485
18349
|
ctx: import("@camstack/types").TrpcContext;
|
|
18486
18350
|
meta: object;
|
|
18487
18351
|
errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
|
|
18488
18352
|
transformer: true;
|
|
18489
18353
|
}, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
|
|
18490
|
-
|
|
18491
|
-
input: {
|
|
18492
|
-
nodeId?: string | undefined;
|
|
18493
|
-
} | undefined;
|
|
18494
|
-
output: readonly {
|
|
18495
|
-
addonId: string;
|
|
18496
|
-
displayName: string;
|
|
18497
|
-
enabled: boolean;
|
|
18498
|
-
serverCount: number;
|
|
18499
|
-
urls: readonly string[];
|
|
18500
|
-
error?: string | undefined;
|
|
18501
|
-
}[];
|
|
18502
|
-
meta: object;
|
|
18503
|
-
}>;
|
|
18504
|
-
getAllServers: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
18354
|
+
getTurnServers: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
18505
18355
|
input: {
|
|
18506
18356
|
nodeId?: string | undefined;
|
|
18357
|
+
addonId?: string | undefined;
|
|
18507
18358
|
} | undefined;
|
|
18508
18359
|
output: readonly {
|
|
18509
18360
|
urls: string | string[];
|
|
@@ -18512,17 +18363,6 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
18512
18363
|
}[];
|
|
18513
18364
|
meta: object;
|
|
18514
18365
|
}>;
|
|
18515
|
-
setProviderEnabled: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
18516
|
-
input: {
|
|
18517
|
-
[x: string]: unknown;
|
|
18518
|
-
addonId: string;
|
|
18519
|
-
enabled: boolean;
|
|
18520
|
-
};
|
|
18521
|
-
output: {
|
|
18522
|
-
success: true;
|
|
18523
|
-
};
|
|
18524
|
-
meta: object;
|
|
18525
|
-
}>;
|
|
18526
18366
|
}>>;
|
|
18527
18367
|
userManagement: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
|
|
18528
18368
|
ctx: import("@camstack/types").TrpcContext;
|