@remnawave/backend-contract 2.8.5 → 2.8.7

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 (52) 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 +1 -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 +1 -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 +1 -0
  32. package/build/backend/commands/subscriptions/get-by/get-raw-subscription-by-short-uuid.command.d.ts +15 -15
  33. package/build/backend/models/infra-billing-available-node.schema.d.ts +1 -0
  34. package/build/backend/models/infra-billing-available-node.schema.d.ts.map +1 -1
  35. package/build/backend/models/infra-billing-node.schema.d.ts +1 -0
  36. package/build/backend/models/infra-billing-node.schema.d.ts.map +1 -1
  37. package/build/backend/models/nodes.schema.d.ts +3 -0
  38. package/build/backend/models/nodes.schema.d.ts.map +1 -1
  39. package/build/backend/models/nodes.schema.js +1 -0
  40. package/build/backend/models/resolved-proxy-config.schema.d.ts +11 -31
  41. package/build/backend/models/resolved-proxy-config.schema.d.ts.map +1 -1
  42. package/build/backend/models/resolved-proxy-config.schema.js +1 -1
  43. package/build/backend/models/torrent-blocker-report.schema.d.ts +1 -0
  44. package/build/backend/models/torrent-blocker-report.schema.d.ts.map +1 -1
  45. package/build/backend/models/webhook/webhook.schema.d.ts +24 -0
  46. package/build/backend/models/webhook/webhook.schema.d.ts.map +1 -1
  47. package/build/frontend/commands/nodes/bulk-actions/bulk-update.command.js +1 -0
  48. package/build/frontend/commands/nodes/create.command.js +1 -0
  49. package/build/frontend/commands/nodes/update.command.js +1 -0
  50. package/build/frontend/models/nodes.schema.js +1 -0
  51. package/build/frontend/models/resolved-proxy-config.schema.js +1 -1
  52. package/package.json +1 -1
@@ -55,6 +55,7 @@ var CreateNodeCommand;
55
55
  .max(36, 'Each tag must be less than 36 characters'))
56
56
  .max(10, 'Maximum 10 tags')),
57
57
  activePluginUuid: zod_1.z.optional(zod_1.z.nullable(zod_1.z.string().uuid())),
58
+ note: zod_1.z.optional(zod_1.z.string().max(255, 'Note must be less than 255 characters')),
58
59
  });
59
60
  CreateNodeCommand.ResponseSchema = zod_1.z.object({
60
61
  response: models_1.NodesSchema,
@@ -51,6 +51,7 @@ var UpdateNodeCommand;
51
51
  .max(36, 'Each tag must be less than 36 characters'))
52
52
  .max(10, 'Maximum 10 tags')),
53
53
  activePluginUuid: zod_1.z.optional(zod_1.z.nullable(zod_1.z.string().uuid())),
54
+ note: zod_1.z.optional(zod_1.z.string().max(255, 'Note must be less than 255 characters').nullable()),
54
55
  });
55
56
  UpdateNodeCommand.ResponseSchema = zod_1.z.object({
56
57
  response: models_1.NodesSchema,
@@ -49,4 +49,5 @@ exports.NodesSchema = zod_1.z.object({
49
49
  })),
50
50
  xrayUptime: zod_1.z.number(),
51
51
  usersOnline: zod_1.z.number(),
52
+ note: zod_1.z.nullable(zod_1.z.string()),
52
53
  });
@@ -78,7 +78,6 @@ exports.HysteriaTransportOptionsSchema = zod_1.z.object({
78
78
  exports.TlsSecurityOptionsSchema = zod_1.z.object({
79
79
  pinnedPeerCertSha256: zod_1.z.string().nullable(),
80
80
  verifyPeerCertByName: zod_1.z.string().nullable(),
81
- mihomoIpVersion: zod_1.z.nativeEnum(constants_1.MIHOMO_IP_VERSION).nullable(),
82
81
  alpn: zod_1.z.string().nullable(),
83
82
  enableSessionResumption: zod_1.z.boolean(),
84
83
  fingerprint: zod_1.z.string().nullable(),
@@ -214,6 +213,7 @@ exports.ResolvedProxyConfigSchema = zod_1.z.object({
214
213
  clientOverrides: zod_1.z.object({
215
214
  shuffleHost: zod_1.z.boolean(),
216
215
  mihomoX25519: zod_1.z.boolean(),
216
+ mihomoIpVersion: zod_1.z.nativeEnum(constants_1.MIHOMO_IP_VERSION).nullable(),
217
217
  serverDescription: zod_1.z.string().nullable(),
218
218
  xrayJsonTemplate: zod_1.z.nullable(zod_1.z.unknown()),
219
219
  }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remnawave/backend-contract",
3
- "version": "2.8.5",
3
+ "version": "2.8.7",
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.",