@camstack/server 1.2.174 → 1.2.175

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.
@@ -5391,6 +5391,15 @@ function createCapRouter_notificationRules(getProvider, createRemoteProxy) {
5391
5391
  // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
5392
5392
  return p.getHistory(methodInput);
5393
5393
  }),
5394
+ resolveArtifactUrl: trpc_middleware_js_1.adminProcedure
5395
+ .input(types_76.notificationRulesCapability.methods.resolveArtifactUrl.input.loose())
5396
+ .output(types_76.notificationRulesCapability.methods.resolveArtifactUrl.output)
5397
+ .query(async ({ input, ctx }) => {
5398
+ const { nodeId, ...methodInput } = input;
5399
+ const p = resolveProvider('notification-rules', nodeId, () => getProvider(ctx), createRemoteProxy);
5400
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
5401
+ return p.resolveArtifactUrl(methodInput);
5402
+ }),
5394
5403
  listSnoozes: trpc_middleware_js_1.protectedProcedure
5395
5404
  .input(types_76.notificationRulesCapability.methods.listSnoozes.input.loose())
5396
5405
  .output(types_76.notificationRulesCapability.methods.listSnoozes.output)
@@ -7568,6 +7577,15 @@ function createCapRouter_recording(getProvider, createRemoteProxy) {
7568
7577
  // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
7569
7578
  return p.readGopBytes(methodInput);
7570
7579
  }),
7580
+ readWindowBytes: trpc_middleware_js_1.adminProcedure
7581
+ .input(types_92.recordingCapability.methods.readWindowBytes.input.loose())
7582
+ .output(types_92.recordingCapability.methods.readWindowBytes.output)
7583
+ .query(async ({ input, ctx }) => {
7584
+ const { nodeId, ...methodInput } = input;
7585
+ const p = resolveProvider('recording', nodeId, () => getProvider(ctx), createRemoteProxy);
7586
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
7587
+ return p.readWindowBytes(methodInput);
7588
+ }),
7571
7589
  setDeviceConfig: trpc_middleware_js_1.adminProcedure
7572
7590
  .input(types_92.recordingCapability.methods.setDeviceConfig.input.loose())
7573
7591
  .output(types_92.recordingCapability.methods.setDeviceConfig.output)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/server",
3
- "version": "1.2.174",
3
+ "version": "1.2.175",
4
4
  "private": false,
5
5
  "files": [
6
6
  "dist",