@remnawave/backend-contract 2.8.18 → 2.8.20

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.
Files changed (53) hide show
  1. package/build/backend/commands/infra-billing/create-billing-node.command.d.ts +2 -0
  2. package/build/backend/commands/infra-billing/create-billing-node.command.d.ts.map +1 -1
  3. package/build/backend/commands/infra-billing/delete-billing-node-by-uuid.command.d.ts +2 -0
  4. package/build/backend/commands/infra-billing/delete-billing-node-by-uuid.command.d.ts.map +1 -1
  5. package/build/backend/commands/infra-billing/get-billing-nodes.command.d.ts +2 -0
  6. package/build/backend/commands/infra-billing/get-billing-nodes.command.d.ts.map +1 -1
  7. package/build/backend/commands/infra-billing/update-billing-node.command.d.ts +2 -0
  8. package/build/backend/commands/infra-billing/update-billing-node.command.d.ts.map +1 -1
  9. package/build/backend/commands/node-plugins/torrent-blocker/get-torrent-blocker-reports.command.d.ts +1 -0
  10. package/build/backend/commands/node-plugins/torrent-blocker/get-torrent-blocker-reports.command.d.ts.map +1 -1
  11. package/build/backend/commands/node-plugins/torrent-blocker/truncate-torrent-blocker-reports.command.d.ts +1 -0
  12. package/build/backend/commands/node-plugins/torrent-blocker/truncate-torrent-blocker-reports.command.d.ts.map +1 -1
  13. package/build/backend/commands/nodes/actions/disable.command.d.ts +5 -0
  14. package/build/backend/commands/nodes/actions/disable.command.d.ts.map +1 -1
  15. package/build/backend/commands/nodes/actions/enable.command.d.ts +5 -0
  16. package/build/backend/commands/nodes/actions/enable.command.d.ts.map +1 -1
  17. package/build/backend/commands/nodes/actions/reorder.command.d.ts +6 -0
  18. package/build/backend/commands/nodes/actions/reorder.command.d.ts.map +1 -1
  19. package/build/backend/commands/nodes/bulk-actions/bulk-update.command.d.ts +5 -0
  20. package/build/backend/commands/nodes/bulk-actions/bulk-update.command.d.ts.map +1 -1
  21. package/build/backend/commands/nodes/bulk-actions/bulk-update.command.js +5 -0
  22. package/build/backend/commands/nodes/create.command.d.ts +8 -0
  23. package/build/backend/commands/nodes/create.command.d.ts.map +1 -1
  24. package/build/backend/commands/nodes/create.command.js +5 -0
  25. package/build/backend/commands/nodes/get-all.command.d.ts +5 -0
  26. package/build/backend/commands/nodes/get-all.command.d.ts.map +1 -1
  27. package/build/backend/commands/nodes/get-one.command.d.ts +5 -0
  28. package/build/backend/commands/nodes/get-one.command.d.ts.map +1 -1
  29. package/build/backend/commands/nodes/update.command.d.ts +9 -0
  30. package/build/backend/commands/nodes/update.command.d.ts.map +1 -1
  31. package/build/backend/commands/nodes/update.command.js +5 -0
  32. package/build/backend/constants/events/events.d.ts +6 -4
  33. package/build/backend/constants/events/events.d.ts.map +1 -1
  34. package/build/backend/constants/events/events.js +6 -4
  35. package/build/backend/models/infra-billing-available-node.schema.d.ts +1 -0
  36. package/build/backend/models/infra-billing-available-node.schema.d.ts.map +1 -1
  37. package/build/backend/models/infra-billing-node.schema.d.ts +1 -0
  38. package/build/backend/models/infra-billing-node.schema.d.ts.map +1 -1
  39. package/build/backend/models/nodes.schema.d.ts +3 -0
  40. package/build/backend/models/nodes.schema.d.ts.map +1 -1
  41. package/build/backend/models/nodes.schema.js +1 -0
  42. package/build/backend/models/torrent-blocker-report.schema.d.ts +1 -0
  43. package/build/backend/models/torrent-blocker-report.schema.d.ts.map +1 -1
  44. package/build/backend/models/webhook/webhook.schema.d.ts +40 -6
  45. package/build/backend/models/webhook/webhook.schema.d.ts.map +1 -1
  46. package/build/backend/models/webhook/webhook.schema.js +2 -1
  47. package/build/frontend/commands/nodes/bulk-actions/bulk-update.command.js +5 -0
  48. package/build/frontend/commands/nodes/create.command.js +5 -0
  49. package/build/frontend/commands/nodes/update.command.js +5 -0
  50. package/build/frontend/constants/events/events.js +6 -4
  51. package/build/frontend/models/nodes.schema.js +1 -0
  52. package/build/frontend/models/webhook/webhook.schema.js +2 -1
  53. package/package.json +1 -1
@@ -9,10 +9,6 @@ export declare const EVENTS: {
9
9
  readonly LIMITED: "user.limited";
10
10
  readonly EXPIRED: "user.expired";
11
11
  readonly TRAFFIC_RESET: "user.traffic_reset";
12
- readonly EXPIRE_NOTIFY_EXPIRES_IN_72_HOURS: "user.expires_in_72_hours";
13
- readonly EXPIRE_NOTIFY_EXPIRES_IN_48_HOURS: "user.expires_in_48_hours";
14
- readonly EXPIRE_NOTIFY_EXPIRES_IN_24_HOURS: "user.expires_in_24_hours";
15
- readonly EXPIRE_NOTIFY_EXPIRED_24_HOURS_AGO: "user.expired_24_hours_ago";
16
12
  readonly FIRST_CONNECTED: "user.first_connected";
17
13
  readonly BANDWIDTH_USAGE_THRESHOLD_REACHED: "user.bandwidth_usage_threshold_reached";
18
14
  /**
@@ -22,6 +18,12 @@ export declare const EVENTS: {
22
18
  * Includes additional meta object with notConnectedAfterHours field.
23
19
  */
24
20
  readonly NOT_CONNECTED: "user.not_connected";
21
+ /**
22
+ * Emitted when a user is not connected to the panel for a certain amount of time.
23
+ * Active only when EXPIRATION_NOTIFICATIONS_ENABLED is true in .env.
24
+ * Includes additional meta object with expiration field.
25
+ */
26
+ readonly EXPIRATION: "user.expiration";
25
27
  };
26
28
  /**
27
29
  * HWID events are emitted only when HWID Device Limit feature is enabled.
@@ -1 +1 @@
1
- {"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../../../../constants/events/events.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;QAmBX;;;;;WAKG;;;IAGP;;;;;;OAMG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6CG,CAAC;AAEX,MAAM,MAAM,WAAW,GAAG,CAAC,OAAO,MAAM,CAAC,IAAI,CAAC,CAAC,MAAM,OAAO,MAAM,CAAC,IAAI,CAAC,CAAC;AACzE,MAAM,MAAM,WAAW,GAAG,CAAC,OAAO,MAAM,CAAC,IAAI,CAAC,CAAC,MAAM,OAAO,MAAM,CAAC,IAAI,CAAC,CAAC;AACzE,MAAM,MAAM,cAAc,GAAG,CAAC,OAAO,MAAM,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AAa,CAAC,CAAC,MAAM,OAAO,aAAa,CAAC,CAAC;AAE9E,KAAK,YAAY,CAAC,CAAC,IAAI,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC;AAClC,KAAK,aAAa,CAAC,CAAC,IAAI,CAAC,CAAC,EAAE,GAAG,CAAC,EAAE,CAAC,CAAC;AAEpC,eAAO,MAAM,SAAS,GAAI,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,EAAE,KAAK,CAAC,KACxC,aAAa,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,CAAC"}
@@ -12,10 +12,6 @@ exports.EVENTS = {
12
12
  LIMITED: 'user.limited',
13
13
  EXPIRED: 'user.expired',
14
14
  TRAFFIC_RESET: 'user.traffic_reset',
15
- EXPIRE_NOTIFY_EXPIRES_IN_72_HOURS: 'user.expires_in_72_hours',
16
- EXPIRE_NOTIFY_EXPIRES_IN_48_HOURS: 'user.expires_in_48_hours',
17
- EXPIRE_NOTIFY_EXPIRES_IN_24_HOURS: 'user.expires_in_24_hours',
18
- EXPIRE_NOTIFY_EXPIRED_24_HOURS_AGO: 'user.expired_24_hours_ago',
19
15
  FIRST_CONNECTED: 'user.first_connected',
20
16
  BANDWIDTH_USAGE_THRESHOLD_REACHED: 'user.bandwidth_usage_threshold_reached',
21
17
  /**
@@ -25,6 +21,12 @@ exports.EVENTS = {
25
21
  * Includes additional meta object with notConnectedAfterHours field.
26
22
  */
27
23
  NOT_CONNECTED: 'user.not_connected',
24
+ /**
25
+ * Emitted when a user is not connected to the panel for a certain amount of time.
26
+ * Active only when EXPIRATION_NOTIFICATIONS_ENABLED is true in .env.
27
+ * Includes additional meta object with expiration field.
28
+ */
29
+ EXPIRATION: 'user.expiration',
28
30
  },
29
31
  /**
30
32
  * HWID events are emitted only when HWID Device Limit feature is enabled.
@@ -17,6 +17,7 @@ export declare const InfraBillingAvailableNodeSchema: import("zod").ZodObject<Pi
17
17
  viewPosition: import("zod").ZodNumber;
18
18
  countryCode: import("zod").ZodString;
19
19
  consumptionMultiplier: import("zod").ZodNumber;
20
+ nodeConsumptionMultiplier: import("zod").ZodNumber;
20
21
  tags: import("zod").ZodArray<import("zod").ZodString, "many">;
21
22
  createdAt: import("zod").ZodEffects<import("zod").ZodString, Date, string>;
22
23
  updatedAt: import("zod").ZodEffects<import("zod").ZodString, Date, string>;
@@ -1 +1 @@
1
- {"version":3,"file":"infra-billing-available-node.schema.d.ts","sourceRoot":"","sources":["../../../models/infra-billing-available-node.schema.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAI1C,CAAC"}
1
+ {"version":3,"file":"infra-billing-available-node.schema.d.ts","sourceRoot":"","sources":["../../../models/infra-billing-available-node.schema.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAI1C,CAAC"}
@@ -40,6 +40,7 @@ export declare const InfraBillingNodeSchema: z.ZodObject<{
40
40
  viewPosition: z.ZodNumber;
41
41
  countryCode: z.ZodString;
42
42
  consumptionMultiplier: z.ZodNumber;
43
+ nodeConsumptionMultiplier: z.ZodNumber;
43
44
  tags: z.ZodArray<z.ZodString, "many">;
44
45
  createdAt: z.ZodEffects<z.ZodString, Date, string>;
45
46
  updatedAt: z.ZodEffects<z.ZodString, Date, string>;
@@ -1 +1 @@
1
- {"version":3,"file":"infra-billing-node.schema.d.ts","sourceRoot":"","sources":["../../../models/infra-billing-node.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA6BjC,CAAC"}
1
+ {"version":3,"file":"infra-billing-node.schema.d.ts","sourceRoot":"","sources":["../../../models/infra-billing-node.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA6BjC,CAAC"}
@@ -18,6 +18,7 @@ export declare const NodesSchema: z.ZodObject<{
18
18
  viewPosition: z.ZodNumber;
19
19
  countryCode: z.ZodString;
20
20
  consumptionMultiplier: z.ZodNumber;
21
+ nodeConsumptionMultiplier: z.ZodNumber;
21
22
  tags: z.ZodArray<z.ZodString, "many">;
22
23
  createdAt: z.ZodEffects<z.ZodString, Date, string>;
23
24
  updatedAt: z.ZodEffects<z.ZodString, Date, string>;
@@ -307,6 +308,7 @@ export declare const NodesSchema: z.ZodObject<{
307
308
  trafficUsedBytes: number | null;
308
309
  notifyPercent: number | null;
309
310
  consumptionMultiplier: number;
311
+ nodeConsumptionMultiplier: number;
310
312
  configProfile: {
311
313
  activeConfigProfileUuid: string | null;
312
314
  activeInbounds: {
@@ -386,6 +388,7 @@ export declare const NodesSchema: z.ZodObject<{
386
388
  trafficUsedBytes: number | null;
387
389
  notifyPercent: number | null;
388
390
  consumptionMultiplier: number;
391
+ nodeConsumptionMultiplier: number;
389
392
  configProfile: {
390
393
  activeConfigProfileUuid: string | null;
391
394
  activeInbounds: {
@@ -1 +1 @@
1
- {"version":3,"file":"nodes.schema.d.ts","sourceRoot":"","sources":["../../../models/nodes.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqDtB,CAAC"}
1
+ {"version":3,"file":"nodes.schema.d.ts","sourceRoot":"","sources":["../../../models/nodes.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAsDtB,CAAC"}
@@ -27,6 +27,7 @@ exports.NodesSchema = zod_1.z.object({
27
27
  viewPosition: zod_1.z.number().int(),
28
28
  countryCode: zod_1.z.string(),
29
29
  consumptionMultiplier: zod_1.z.number(),
30
+ nodeConsumptionMultiplier: zod_1.z.number(),
30
31
  tags: zod_1.z.array(zod_1.z.string()),
31
32
  createdAt: zod_1.z
32
33
  .string()
@@ -94,6 +94,7 @@ export declare const TorrentBlockerReportSchema: z.ZodObject<{
94
94
  viewPosition: z.ZodNumber;
95
95
  countryCode: z.ZodString;
96
96
  consumptionMultiplier: z.ZodNumber;
97
+ nodeConsumptionMultiplier: z.ZodNumber;
97
98
  tags: z.ZodArray<z.ZodString, "many">;
98
99
  createdAt: z.ZodEffects<z.ZodString, Date, string>;
99
100
  updatedAt: z.ZodEffects<z.ZodString, Date, string>;
@@ -1 +1 @@
1
- {"version":3,"file":"torrent-blocker-report.schema.d.ts","sourceRoot":"","sources":["../../../models/torrent-blocker-report.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgDrC,CAAC"}
1
+ {"version":3,"file":"torrent-blocker-report.schema.d.ts","sourceRoot":"","sources":["../../../models/torrent-blocker-report.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgDrC,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import z from 'zod';
2
2
  export declare const RemnawaveWebhookUserEvents: z.ZodObject<{
3
3
  scope: z.ZodLiteral<"user">;
4
- event: z.ZodEnum<["user.created" | "user.modified" | "user.deleted" | "user.revoked" | "user.disabled" | "user.enabled" | "user.limited" | "user.expired" | "user.traffic_reset" | "user.expires_in_72_hours" | "user.expires_in_48_hours" | "user.expires_in_24_hours" | "user.expired_24_hours_ago" | "user.first_connected" | "user.bandwidth_usage_threshold_reached" | "user.not_connected", ...("user.created" | "user.modified" | "user.deleted" | "user.revoked" | "user.disabled" | "user.enabled" | "user.limited" | "user.expired" | "user.traffic_reset" | "user.expires_in_72_hours" | "user.expires_in_48_hours" | "user.expires_in_24_hours" | "user.expired_24_hours_ago" | "user.first_connected" | "user.bandwidth_usage_threshold_reached" | "user.not_connected")[]]>;
4
+ event: z.ZodEnum<["user.created" | "user.modified" | "user.deleted" | "user.revoked" | "user.disabled" | "user.enabled" | "user.limited" | "user.expired" | "user.traffic_reset" | "user.first_connected" | "user.bandwidth_usage_threshold_reached" | "user.not_connected" | "user.expiration", ...("user.created" | "user.modified" | "user.deleted" | "user.revoked" | "user.disabled" | "user.enabled" | "user.limited" | "user.expired" | "user.traffic_reset" | "user.first_connected" | "user.bandwidth_usage_threshold_reached" | "user.not_connected" | "user.expiration")[]]>;
5
5
  timestamp: z.ZodEffects<z.ZodString, Date, string>;
6
6
  data: z.ZodObject<{
7
7
  uuid: z.ZodString;
@@ -141,10 +141,13 @@ export declare const RemnawaveWebhookUserEvents: z.ZodObject<{
141
141
  }>;
142
142
  meta: z.ZodNullable<z.ZodObject<{
143
143
  notConnectedAfterHours: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
144
+ expiration: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
144
145
  }, "strip", z.ZodTypeAny, {
145
146
  notConnectedAfterHours?: number | null | undefined;
147
+ expiration?: number | null | undefined;
146
148
  }, {
147
149
  notConnectedAfterHours?: number | null | undefined;
150
+ expiration?: number | null | undefined;
148
151
  }>>;
149
152
  }, "strip", z.ZodTypeAny, {
150
153
  data: {
@@ -184,10 +187,11 @@ export declare const RemnawaveWebhookUserEvents: z.ZodObject<{
184
187
  };
185
188
  };
186
189
  scope: "user";
187
- event: "user.created" | "user.modified" | "user.deleted" | "user.revoked" | "user.disabled" | "user.enabled" | "user.limited" | "user.expired" | "user.traffic_reset" | "user.expires_in_72_hours" | "user.expires_in_48_hours" | "user.expires_in_24_hours" | "user.expired_24_hours_ago" | "user.first_connected" | "user.bandwidth_usage_threshold_reached" | "user.not_connected";
190
+ event: "user.created" | "user.modified" | "user.deleted" | "user.revoked" | "user.disabled" | "user.enabled" | "user.limited" | "user.expired" | "user.traffic_reset" | "user.first_connected" | "user.bandwidth_usage_threshold_reached" | "user.not_connected" | "user.expiration";
188
191
  timestamp: Date;
189
192
  meta: {
190
193
  notConnectedAfterHours?: number | null | undefined;
194
+ expiration?: number | null | undefined;
191
195
  } | null;
192
196
  }, {
193
197
  data: {
@@ -227,10 +231,11 @@ export declare const RemnawaveWebhookUserEvents: z.ZodObject<{
227
231
  lastTriggeredThreshold?: number | undefined;
228
232
  };
229
233
  scope: "user";
230
- event: "user.created" | "user.modified" | "user.deleted" | "user.revoked" | "user.disabled" | "user.enabled" | "user.limited" | "user.expired" | "user.traffic_reset" | "user.expires_in_72_hours" | "user.expires_in_48_hours" | "user.expires_in_24_hours" | "user.expired_24_hours_ago" | "user.first_connected" | "user.bandwidth_usage_threshold_reached" | "user.not_connected";
234
+ event: "user.created" | "user.modified" | "user.deleted" | "user.revoked" | "user.disabled" | "user.enabled" | "user.limited" | "user.expired" | "user.traffic_reset" | "user.first_connected" | "user.bandwidth_usage_threshold_reached" | "user.not_connected" | "user.expiration";
231
235
  timestamp: string;
232
236
  meta: {
233
237
  notConnectedAfterHours?: number | null | undefined;
238
+ expiration?: number | null | undefined;
234
239
  } | null;
235
240
  }>;
236
241
  export declare const RemnawaveWebhookUserHwidDevicesEvents: z.ZodObject<{
@@ -632,6 +637,7 @@ export declare const RemnawaveWebhookNodeEvents: z.ZodObject<{
632
637
  viewPosition: z.ZodNumber;
633
638
  countryCode: z.ZodString;
634
639
  consumptionMultiplier: z.ZodNumber;
640
+ nodeConsumptionMultiplier: z.ZodNumber;
635
641
  tags: z.ZodArray<z.ZodString, "many">;
636
642
  createdAt: z.ZodEffects<z.ZodString, Date, string>;
637
643
  updatedAt: z.ZodEffects<z.ZodString, Date, string>;
@@ -921,6 +927,7 @@ export declare const RemnawaveWebhookNodeEvents: z.ZodObject<{
921
927
  trafficUsedBytes: number | null;
922
928
  notifyPercent: number | null;
923
929
  consumptionMultiplier: number;
930
+ nodeConsumptionMultiplier: number;
924
931
  configProfile: {
925
932
  activeConfigProfileUuid: string | null;
926
933
  activeInbounds: {
@@ -1000,6 +1007,7 @@ export declare const RemnawaveWebhookNodeEvents: z.ZodObject<{
1000
1007
  trafficUsedBytes: number | null;
1001
1008
  notifyPercent: number | null;
1002
1009
  consumptionMultiplier: number;
1010
+ nodeConsumptionMultiplier: number;
1003
1011
  configProfile: {
1004
1012
  activeConfigProfileUuid: string | null;
1005
1013
  activeInbounds: {
@@ -1081,6 +1089,7 @@ export declare const RemnawaveWebhookNodeEvents: z.ZodObject<{
1081
1089
  trafficUsedBytes: number | null;
1082
1090
  notifyPercent: number | null;
1083
1091
  consumptionMultiplier: number;
1092
+ nodeConsumptionMultiplier: number;
1084
1093
  configProfile: {
1085
1094
  activeConfigProfileUuid: string | null;
1086
1095
  activeInbounds: {
@@ -1165,6 +1174,7 @@ export declare const RemnawaveWebhookNodeEvents: z.ZodObject<{
1165
1174
  trafficUsedBytes: number | null;
1166
1175
  notifyPercent: number | null;
1167
1176
  consumptionMultiplier: number;
1177
+ nodeConsumptionMultiplier: number;
1168
1178
  configProfile: {
1169
1179
  activeConfigProfileUuid: string | null;
1170
1180
  activeInbounds: {
@@ -1382,6 +1392,7 @@ export declare const RemnawaveWebhookTorrentBlockerEvents: z.ZodObject<{
1382
1392
  viewPosition: z.ZodNumber;
1383
1393
  countryCode: z.ZodString;
1384
1394
  consumptionMultiplier: z.ZodNumber;
1395
+ nodeConsumptionMultiplier: z.ZodNumber;
1385
1396
  tags: z.ZodArray<z.ZodString, "many">;
1386
1397
  createdAt: z.ZodEffects<z.ZodString, Date, string>;
1387
1398
  updatedAt: z.ZodEffects<z.ZodString, Date, string>;
@@ -1671,6 +1682,7 @@ export declare const RemnawaveWebhookTorrentBlockerEvents: z.ZodObject<{
1671
1682
  trafficUsedBytes: number | null;
1672
1683
  notifyPercent: number | null;
1673
1684
  consumptionMultiplier: number;
1685
+ nodeConsumptionMultiplier: number;
1674
1686
  configProfile: {
1675
1687
  activeConfigProfileUuid: string | null;
1676
1688
  activeInbounds: {
@@ -1750,6 +1762,7 @@ export declare const RemnawaveWebhookTorrentBlockerEvents: z.ZodObject<{
1750
1762
  trafficUsedBytes: number | null;
1751
1763
  notifyPercent: number | null;
1752
1764
  consumptionMultiplier: number;
1765
+ nodeConsumptionMultiplier: number;
1753
1766
  configProfile: {
1754
1767
  activeConfigProfileUuid: string | null;
1755
1768
  activeInbounds: {
@@ -2118,6 +2131,7 @@ export declare const RemnawaveWebhookTorrentBlockerEvents: z.ZodObject<{
2118
2131
  trafficUsedBytes: number | null;
2119
2132
  notifyPercent: number | null;
2120
2133
  consumptionMultiplier: number;
2134
+ nodeConsumptionMultiplier: number;
2121
2135
  configProfile: {
2122
2136
  activeConfigProfileUuid: string | null;
2123
2137
  activeInbounds: {
@@ -2260,6 +2274,7 @@ export declare const RemnawaveWebhookTorrentBlockerEvents: z.ZodObject<{
2260
2274
  trafficUsedBytes: number | null;
2261
2275
  notifyPercent: number | null;
2262
2276
  consumptionMultiplier: number;
2277
+ nodeConsumptionMultiplier: number;
2263
2278
  configProfile: {
2264
2279
  activeConfigProfileUuid: string | null;
2265
2280
  activeInbounds: {
@@ -2404,6 +2419,7 @@ export declare const RemnawaveWebhookTorrentBlockerEvents: z.ZodObject<{
2404
2419
  trafficUsedBytes: number | null;
2405
2420
  notifyPercent: number | null;
2406
2421
  consumptionMultiplier: number;
2422
+ nodeConsumptionMultiplier: number;
2407
2423
  configProfile: {
2408
2424
  activeConfigProfileUuid: string | null;
2409
2425
  activeInbounds: {
@@ -2551,6 +2567,7 @@ export declare const RemnawaveWebhookTorrentBlockerEvents: z.ZodObject<{
2551
2567
  trafficUsedBytes: number | null;
2552
2568
  notifyPercent: number | null;
2553
2569
  consumptionMultiplier: number;
2570
+ nodeConsumptionMultiplier: number;
2554
2571
  configProfile: {
2555
2572
  activeConfigProfileUuid: string | null;
2556
2573
  activeInbounds: {
@@ -2606,7 +2623,7 @@ export declare const RemnawaveWebhookTorrentBlockerEvents: z.ZodObject<{
2606
2623
  }>;
2607
2624
  export declare const RemnawaveWebhookEventSchema: z.ZodDiscriminatedUnion<"scope", [z.ZodObject<{
2608
2625
  scope: z.ZodLiteral<"user">;
2609
- event: z.ZodEnum<["user.created" | "user.modified" | "user.deleted" | "user.revoked" | "user.disabled" | "user.enabled" | "user.limited" | "user.expired" | "user.traffic_reset" | "user.expires_in_72_hours" | "user.expires_in_48_hours" | "user.expires_in_24_hours" | "user.expired_24_hours_ago" | "user.first_connected" | "user.bandwidth_usage_threshold_reached" | "user.not_connected", ...("user.created" | "user.modified" | "user.deleted" | "user.revoked" | "user.disabled" | "user.enabled" | "user.limited" | "user.expired" | "user.traffic_reset" | "user.expires_in_72_hours" | "user.expires_in_48_hours" | "user.expires_in_24_hours" | "user.expired_24_hours_ago" | "user.first_connected" | "user.bandwidth_usage_threshold_reached" | "user.not_connected")[]]>;
2626
+ event: z.ZodEnum<["user.created" | "user.modified" | "user.deleted" | "user.revoked" | "user.disabled" | "user.enabled" | "user.limited" | "user.expired" | "user.traffic_reset" | "user.first_connected" | "user.bandwidth_usage_threshold_reached" | "user.not_connected" | "user.expiration", ...("user.created" | "user.modified" | "user.deleted" | "user.revoked" | "user.disabled" | "user.enabled" | "user.limited" | "user.expired" | "user.traffic_reset" | "user.first_connected" | "user.bandwidth_usage_threshold_reached" | "user.not_connected" | "user.expiration")[]]>;
2610
2627
  timestamp: z.ZodEffects<z.ZodString, Date, string>;
2611
2628
  data: z.ZodObject<{
2612
2629
  uuid: z.ZodString;
@@ -2746,10 +2763,13 @@ export declare const RemnawaveWebhookEventSchema: z.ZodDiscriminatedUnion<"scope
2746
2763
  }>;
2747
2764
  meta: z.ZodNullable<z.ZodObject<{
2748
2765
  notConnectedAfterHours: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2766
+ expiration: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2749
2767
  }, "strip", z.ZodTypeAny, {
2750
2768
  notConnectedAfterHours?: number | null | undefined;
2769
+ expiration?: number | null | undefined;
2751
2770
  }, {
2752
2771
  notConnectedAfterHours?: number | null | undefined;
2772
+ expiration?: number | null | undefined;
2753
2773
  }>>;
2754
2774
  }, "strip", z.ZodTypeAny, {
2755
2775
  data: {
@@ -2789,10 +2809,11 @@ export declare const RemnawaveWebhookEventSchema: z.ZodDiscriminatedUnion<"scope
2789
2809
  };
2790
2810
  };
2791
2811
  scope: "user";
2792
- event: "user.created" | "user.modified" | "user.deleted" | "user.revoked" | "user.disabled" | "user.enabled" | "user.limited" | "user.expired" | "user.traffic_reset" | "user.expires_in_72_hours" | "user.expires_in_48_hours" | "user.expires_in_24_hours" | "user.expired_24_hours_ago" | "user.first_connected" | "user.bandwidth_usage_threshold_reached" | "user.not_connected";
2812
+ event: "user.created" | "user.modified" | "user.deleted" | "user.revoked" | "user.disabled" | "user.enabled" | "user.limited" | "user.expired" | "user.traffic_reset" | "user.first_connected" | "user.bandwidth_usage_threshold_reached" | "user.not_connected" | "user.expiration";
2793
2813
  timestamp: Date;
2794
2814
  meta: {
2795
2815
  notConnectedAfterHours?: number | null | undefined;
2816
+ expiration?: number | null | undefined;
2796
2817
  } | null;
2797
2818
  }, {
2798
2819
  data: {
@@ -2832,10 +2853,11 @@ export declare const RemnawaveWebhookEventSchema: z.ZodDiscriminatedUnion<"scope
2832
2853
  lastTriggeredThreshold?: number | undefined;
2833
2854
  };
2834
2855
  scope: "user";
2835
- event: "user.created" | "user.modified" | "user.deleted" | "user.revoked" | "user.disabled" | "user.enabled" | "user.limited" | "user.expired" | "user.traffic_reset" | "user.expires_in_72_hours" | "user.expires_in_48_hours" | "user.expires_in_24_hours" | "user.expired_24_hours_ago" | "user.first_connected" | "user.bandwidth_usage_threshold_reached" | "user.not_connected";
2856
+ event: "user.created" | "user.modified" | "user.deleted" | "user.revoked" | "user.disabled" | "user.enabled" | "user.limited" | "user.expired" | "user.traffic_reset" | "user.first_connected" | "user.bandwidth_usage_threshold_reached" | "user.not_connected" | "user.expiration";
2836
2857
  timestamp: string;
2837
2858
  meta: {
2838
2859
  notConnectedAfterHours?: number | null | undefined;
2860
+ expiration?: number | null | undefined;
2839
2861
  } | null;
2840
2862
  }>, z.ZodObject<{
2841
2863
  scope: z.ZodLiteral<"user_hwid_devices">;
@@ -3235,6 +3257,7 @@ export declare const RemnawaveWebhookEventSchema: z.ZodDiscriminatedUnion<"scope
3235
3257
  viewPosition: z.ZodNumber;
3236
3258
  countryCode: z.ZodString;
3237
3259
  consumptionMultiplier: z.ZodNumber;
3260
+ nodeConsumptionMultiplier: z.ZodNumber;
3238
3261
  tags: z.ZodArray<z.ZodString, "many">;
3239
3262
  createdAt: z.ZodEffects<z.ZodString, Date, string>;
3240
3263
  updatedAt: z.ZodEffects<z.ZodString, Date, string>;
@@ -3524,6 +3547,7 @@ export declare const RemnawaveWebhookEventSchema: z.ZodDiscriminatedUnion<"scope
3524
3547
  trafficUsedBytes: number | null;
3525
3548
  notifyPercent: number | null;
3526
3549
  consumptionMultiplier: number;
3550
+ nodeConsumptionMultiplier: number;
3527
3551
  configProfile: {
3528
3552
  activeConfigProfileUuid: string | null;
3529
3553
  activeInbounds: {
@@ -3603,6 +3627,7 @@ export declare const RemnawaveWebhookEventSchema: z.ZodDiscriminatedUnion<"scope
3603
3627
  trafficUsedBytes: number | null;
3604
3628
  notifyPercent: number | null;
3605
3629
  consumptionMultiplier: number;
3630
+ nodeConsumptionMultiplier: number;
3606
3631
  configProfile: {
3607
3632
  activeConfigProfileUuid: string | null;
3608
3633
  activeInbounds: {
@@ -3684,6 +3709,7 @@ export declare const RemnawaveWebhookEventSchema: z.ZodDiscriminatedUnion<"scope
3684
3709
  trafficUsedBytes: number | null;
3685
3710
  notifyPercent: number | null;
3686
3711
  consumptionMultiplier: number;
3712
+ nodeConsumptionMultiplier: number;
3687
3713
  configProfile: {
3688
3714
  activeConfigProfileUuid: string | null;
3689
3715
  activeInbounds: {
@@ -3768,6 +3794,7 @@ export declare const RemnawaveWebhookEventSchema: z.ZodDiscriminatedUnion<"scope
3768
3794
  trafficUsedBytes: number | null;
3769
3795
  notifyPercent: number | null;
3770
3796
  consumptionMultiplier: number;
3797
+ nodeConsumptionMultiplier: number;
3771
3798
  configProfile: {
3772
3799
  activeConfigProfileUuid: string | null;
3773
3800
  activeInbounds: {
@@ -3981,6 +4008,7 @@ export declare const RemnawaveWebhookEventSchema: z.ZodDiscriminatedUnion<"scope
3981
4008
  viewPosition: z.ZodNumber;
3982
4009
  countryCode: z.ZodString;
3983
4010
  consumptionMultiplier: z.ZodNumber;
4011
+ nodeConsumptionMultiplier: z.ZodNumber;
3984
4012
  tags: z.ZodArray<z.ZodString, "many">;
3985
4013
  createdAt: z.ZodEffects<z.ZodString, Date, string>;
3986
4014
  updatedAt: z.ZodEffects<z.ZodString, Date, string>;
@@ -4270,6 +4298,7 @@ export declare const RemnawaveWebhookEventSchema: z.ZodDiscriminatedUnion<"scope
4270
4298
  trafficUsedBytes: number | null;
4271
4299
  notifyPercent: number | null;
4272
4300
  consumptionMultiplier: number;
4301
+ nodeConsumptionMultiplier: number;
4273
4302
  configProfile: {
4274
4303
  activeConfigProfileUuid: string | null;
4275
4304
  activeInbounds: {
@@ -4349,6 +4378,7 @@ export declare const RemnawaveWebhookEventSchema: z.ZodDiscriminatedUnion<"scope
4349
4378
  trafficUsedBytes: number | null;
4350
4379
  notifyPercent: number | null;
4351
4380
  consumptionMultiplier: number;
4381
+ nodeConsumptionMultiplier: number;
4352
4382
  configProfile: {
4353
4383
  activeConfigProfileUuid: string | null;
4354
4384
  activeInbounds: {
@@ -4717,6 +4747,7 @@ export declare const RemnawaveWebhookEventSchema: z.ZodDiscriminatedUnion<"scope
4717
4747
  trafficUsedBytes: number | null;
4718
4748
  notifyPercent: number | null;
4719
4749
  consumptionMultiplier: number;
4750
+ nodeConsumptionMultiplier: number;
4720
4751
  configProfile: {
4721
4752
  activeConfigProfileUuid: string | null;
4722
4753
  activeInbounds: {
@@ -4859,6 +4890,7 @@ export declare const RemnawaveWebhookEventSchema: z.ZodDiscriminatedUnion<"scope
4859
4890
  trafficUsedBytes: number | null;
4860
4891
  notifyPercent: number | null;
4861
4892
  consumptionMultiplier: number;
4893
+ nodeConsumptionMultiplier: number;
4862
4894
  configProfile: {
4863
4895
  activeConfigProfileUuid: string | null;
4864
4896
  activeInbounds: {
@@ -5003,6 +5035,7 @@ export declare const RemnawaveWebhookEventSchema: z.ZodDiscriminatedUnion<"scope
5003
5035
  trafficUsedBytes: number | null;
5004
5036
  notifyPercent: number | null;
5005
5037
  consumptionMultiplier: number;
5038
+ nodeConsumptionMultiplier: number;
5006
5039
  configProfile: {
5007
5040
  activeConfigProfileUuid: string | null;
5008
5041
  activeInbounds: {
@@ -5150,6 +5183,7 @@ export declare const RemnawaveWebhookEventSchema: z.ZodDiscriminatedUnion<"scope
5150
5183
  trafficUsedBytes: number | null;
5151
5184
  notifyPercent: number | null;
5152
5185
  consumptionMultiplier: number;
5186
+ nodeConsumptionMultiplier: number;
5153
5187
  configProfile: {
5154
5188
  activeConfigProfileUuid: string | null;
5155
5189
  activeInbounds: {
@@ -1 +1 @@
1
- {"version":3,"file":"webhook.schema.d.ts","sourceRoot":"","sources":["../../../../models/webhook/webhook.schema.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAOpB,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAarC,CAAC;AAEH,eAAO,MAAM,qCAAqC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AM,6BAA6B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6BAA6B,CAAC,CAAC;AAC1F,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAC;AACxF,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAClF,MAAM,MAAM,qCAAqC,GAAG,CAAC,CAAC,KAAK,CACvD,OAAO,qCAAqC,CAC/C,CAAC;AACF,MAAM,MAAM,oCAAoC,GAAG,CAAC,CAAC,KAAK,CACtD,OAAO,oCAAoC,CAC9C,CAAC"}
@@ -19,7 +19,8 @@ exports.RemnawaveWebhookUserEvents = zod_1.default.object({
19
19
  data: extended_users_schema_1.ExtendedUsersSchema,
20
20
  meta: zod_1.default
21
21
  .object({
22
- notConnectedAfterHours: zod_1.default.number().int().nullable().optional(),
22
+ notConnectedAfterHours: zod_1.default.number().nullish(),
23
+ expiration: zod_1.default.number().nullish(),
23
24
  })
24
25
  .nullable(),
25
26
  });
@@ -18,6 +18,11 @@ var BulkNodesUpdateCommand;
18
18
  .min(0.0, 'Consumption multiplier must be greater than 0.0')
19
19
  .max(100.0, 'Consumption multiplier must be less than 100.0')
20
20
  .transform((n) => Number(n.toFixed(1)))),
21
+ nodeConsumptionMultiplier: zod_1.z.optional(zod_1.z
22
+ .number()
23
+ .min(0.0, 'Node consumption multiplier must be greater than 0.0')
24
+ .max(100.0, 'Node consumption multiplier must be less than 100.0')
25
+ .transform((n) => Number(n.toFixed(1)))),
21
26
  providerUuid: zod_1.z.optional(zod_1.z.nullable(zod_1.z.string().uuid())),
22
27
  tags: zod_1.z.optional(zod_1.z
23
28
  .array(zod_1.z
@@ -46,6 +46,11 @@ var CreateNodeCommand;
46
46
  .min(0.0, 'Consumption multiplier must be greater than 0.0')
47
47
  .max(100.0, 'Consumption multiplier must be less than 100.0')
48
48
  .transform((n) => Number(n.toFixed(1)))),
49
+ nodeConsumptionMultiplier: zod_1.z.optional(zod_1.z
50
+ .number()
51
+ .min(0.0, 'Node consumption multiplier must be greater than 0.0')
52
+ .max(100.0, 'Node consumption multiplier must be less than 100.0')
53
+ .transform((n) => Number(n.toFixed(1)))),
49
54
  configProfile: zod_1.z.object({
50
55
  activeConfigProfileUuid: zod_1.z.string().uuid(),
51
56
  activeInbounds: zod_1.z.array(zod_1.z.string().uuid(), {
@@ -40,6 +40,11 @@ var UpdateNodeCommand;
40
40
  .min(0.0, 'Consumption multiplier must be greater than 0.0')
41
41
  .max(100.0, 'Consumption multiplier must be less than 100.0')
42
42
  .transform((n) => Number(n.toFixed(1)))),
43
+ nodeConsumptionMultiplier: zod_1.z.optional(zod_1.z
44
+ .number()
45
+ .min(0.0, 'Node consumption multiplier must be greater than 0.0')
46
+ .max(100.0, 'Node consumption multiplier must be less than 100.0')
47
+ .transform((n) => Number(n.toFixed(1)))),
43
48
  configProfile: zod_1.z
44
49
  .object({
45
50
  activeConfigProfileUuid: zod_1.z.string().uuid(),
@@ -12,10 +12,6 @@ exports.EVENTS = {
12
12
  LIMITED: 'user.limited',
13
13
  EXPIRED: 'user.expired',
14
14
  TRAFFIC_RESET: 'user.traffic_reset',
15
- EXPIRE_NOTIFY_EXPIRES_IN_72_HOURS: 'user.expires_in_72_hours',
16
- EXPIRE_NOTIFY_EXPIRES_IN_48_HOURS: 'user.expires_in_48_hours',
17
- EXPIRE_NOTIFY_EXPIRES_IN_24_HOURS: 'user.expires_in_24_hours',
18
- EXPIRE_NOTIFY_EXPIRED_24_HOURS_AGO: 'user.expired_24_hours_ago',
19
15
  FIRST_CONNECTED: 'user.first_connected',
20
16
  BANDWIDTH_USAGE_THRESHOLD_REACHED: 'user.bandwidth_usage_threshold_reached',
21
17
  /**
@@ -25,6 +21,12 @@ exports.EVENTS = {
25
21
  * Includes additional meta object with notConnectedAfterHours field.
26
22
  */
27
23
  NOT_CONNECTED: 'user.not_connected',
24
+ /**
25
+ * Emitted when a user is not connected to the panel for a certain amount of time.
26
+ * Active only when EXPIRATION_NOTIFICATIONS_ENABLED is true in .env.
27
+ * Includes additional meta object with expiration field.
28
+ */
29
+ EXPIRATION: 'user.expiration',
28
30
  },
29
31
  /**
30
32
  * HWID events are emitted only when HWID Device Limit feature is enabled.
@@ -27,6 +27,7 @@ exports.NodesSchema = zod_1.z.object({
27
27
  viewPosition: zod_1.z.number().int(),
28
28
  countryCode: zod_1.z.string(),
29
29
  consumptionMultiplier: zod_1.z.number(),
30
+ nodeConsumptionMultiplier: zod_1.z.number(),
30
31
  tags: zod_1.z.array(zod_1.z.string()),
31
32
  createdAt: zod_1.z
32
33
  .string()
@@ -19,7 +19,8 @@ exports.RemnawaveWebhookUserEvents = zod_1.default.object({
19
19
  data: extended_users_schema_1.ExtendedUsersSchema,
20
20
  meta: zod_1.default
21
21
  .object({
22
- notConnectedAfterHours: zod_1.default.number().int().nullable().optional(),
22
+ notConnectedAfterHours: zod_1.default.number().nullish(),
23
+ expiration: zod_1.default.number().nullish(),
23
24
  })
24
25
  .nullable(),
25
26
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remnawave/backend-contract",
3
- "version": "2.8.18",
3
+ "version": "2.8.20",
4
4
  "public": true,
5
5
  "license": "AGPL-3.0-only",
6
6
  "description": "A contract library for Remnawave Backend. It can be used in backend and frontend.",