@camstack/server 1.2.53 → 1.2.54

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.
@@ -5256,6 +5256,24 @@ function createCapRouter_notificationRules(getProvider, createRemoteProxy) {
5256
5256
  // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
5257
5257
  return p.cancelSnooze(methodInput);
5258
5258
  }),
5259
+ getAlarmConfig: trpc_middleware_js_1.adminProcedure
5260
+ .input(types_75.notificationRulesCapability.methods.getAlarmConfig.input.loose())
5261
+ .output(types_75.notificationRulesCapability.methods.getAlarmConfig.output)
5262
+ .query(async ({ input, ctx }) => {
5263
+ const { nodeId, ...methodInput } = input;
5264
+ const p = resolveProvider('notification-rules', nodeId, () => getProvider(ctx), createRemoteProxy);
5265
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
5266
+ return p.getAlarmConfig(methodInput);
5267
+ }),
5268
+ setAlarmConfig: trpc_middleware_js_1.adminProcedure
5269
+ .input(types_75.notificationRulesCapability.methods.setAlarmConfig.input.loose())
5270
+ .output(types_75.notificationRulesCapability.methods.setAlarmConfig.output)
5271
+ .mutation(async ({ input, ctx }) => {
5272
+ const { nodeId, ...methodInput } = input;
5273
+ const p = resolveProvider('notification-rules', nodeId, () => getProvider(ctx), createRemoteProxy);
5274
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-argument
5275
+ return p.setAlarmConfig(methodInput);
5276
+ }),
5259
5277
  });
5260
5278
  }
5261
5279
  function createCapRouter_notifier(getProvider, createRemoteProxy) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/server",
3
- "version": "1.2.53",
3
+ "version": "1.2.54",
4
4
  "private": false,
5
5
  "files": [
6
6
  "dist",
@@ -33,19 +33,19 @@
33
33
  ]
34
34
  },
35
35
  "dependencies": {
36
- "@camstack/addon-admin-ui": "1.2.29",
36
+ "@camstack/addon-admin-ui": "1.2.30",
37
37
  "@camstack/addon-agent-ui": "1.2.10",
38
38
  "@camstack/addon-auth": "1.2.11",
39
39
  "@camstack/addon-decoder-nodeav": "1.2.9",
40
40
  "@camstack/addon-notifiers": "1.2.13",
41
41
  "@camstack/addon-pipeline": "1.2.41",
42
42
  "@camstack/addon-pipeline-orchestrator": "1.2.24",
43
- "@camstack/addon-post-analysis": "1.2.34",
43
+ "@camstack/addon-post-analysis": "1.2.35",
44
44
  "@camstack/sdk": "1.2.10",
45
45
  "@camstack/shm-ring": "1.1.9",
46
- "@camstack/system": "1.2.44",
47
- "@camstack/types": "1.2.33",
48
- "@camstack/ui-library": "1.2.25",
46
+ "@camstack/system": "1.2.45",
47
+ "@camstack/types": "1.2.34",
48
+ "@camstack/ui-library": "1.2.26",
49
49
  "@fastify/compress": "^9.0.0",
50
50
  "@fastify/cookie": "^11.0.2",
51
51
  "@fastify/cors": "^11.2.0",